UNPKG

@ckeditor/ckeditor5-operations-compressor

Version:

CKEditor 5 operations compressor for real-time collaboration.

23 lines 3.64 kB
/* * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * * * * * +---------------------------------------------------------------------------------+ * | | * | Hello stranger! | * | | * | | * | What you're currently looking at is the source code of a legally protected, | * | proprietary software. Any attempts to deobfuscate / disassemble this code | * | are forbidden and will result in legal consequences. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ const _0xc8bdd2=_0x5cba;(function(_0x2411e6,_0x106eb2){const _0x5ef11c=_0x5cba,_0x44e9a1=_0x2411e6();while(!![]){try{const _0x34174e=parseInt(_0x5ef11c(0x12d))/0x1+-parseInt(_0x5ef11c(0x125))/0x2*(-parseInt(_0x5ef11c(0x128))/0x3)+-parseInt(_0x5ef11c(0x124))/0x4*(-parseInt(_0x5ef11c(0x11e))/0x5)+-parseInt(_0x5ef11c(0x123))/0x6+parseInt(_0x5ef11c(0x11b))/0x7+parseInt(_0x5ef11c(0x117))/0x8*(-parseInt(_0x5ef11c(0x12c))/0x9)+-parseInt(_0x5ef11c(0x120))/0xa;if(_0x34174e===_0x106eb2)break;else _0x44e9a1['push'](_0x44e9a1['shift']());}catch(_0xc24ee4){_0x44e9a1['push'](_0x44e9a1['shift']());}}}(_0x11cf,0x772c5));function _0x5cba(_0x48d0cd,_0x1810e6){const _0x11cf6e=_0x11cf();return _0x5cba=function(_0x5cba20,_0x2b7f03){_0x5cba20=_0x5cba20-0x117;let _0x3bb76a=_0x11cf6e[_0x5cba20];return _0x3bb76a;},_0x5cba(_0x48d0cd,_0x1810e6);}function _0x11cf(){const _0x3aa6d2=['shift','153XQukgp','16555ZHAAyu','types','207672JgIvPp','push','_splitCurrent','_compareOperations','6422171swgzkk','_combineNext','length','29030WjSGpp','_id','9486660SfgTJK','compress','_context','5437326RlGNcW','656mgvBst','6EpJvNg','_compressSingleOperation','_decompressSingleOperation','898131ZnCtcL','decompress','buffers'];_0x11cf=function(){return _0x3aa6d2;};return _0x11cf();}import{cloneDeep as _0x3c572c}from'es-toolkit/compat';export default class _{[_0xc8bdd2(0x11f)];[_0xc8bdd2(0x122)];constructor(_0x1a9569,_0x3cd272){const _0x35aac4=_0xc8bdd2;this[_0x35aac4(0x11f)]=_0x1a9569,this[_0x35aac4(0x122)]=_0x3cd272;}[_0xc8bdd2(0x121)](_0x5152a1,_0x4acbdb){const _0x1880e1=_0xc8bdd2;let _0xbe81aa;for(;_0x4acbdb[_0x1880e1(0x11d)]>0x1&&this[_0x1880e1(0x11a)](_0x4acbdb[0x0],_0x4acbdb[0x1]);)_0xbe81aa?(_0xbe81aa=this[_0x1880e1(0x11c)](_0x4acbdb[_0x1880e1(0x12b)](),_0xbe81aa),_0x5152a1[_0x1880e1(0x12e)][_0x1880e1(0x118)](0x0)):(_0xbe81aa=_0x3c572c(_0x4acbdb[_0x1880e1(0x12b)]()),_0x5152a1[_0x1880e1(0x12e)][_0x1880e1(0x118)](this[_0x1880e1(0x11f)]));return!!_0xbe81aa&&(_0xbe81aa=this[_0x1880e1(0x11c)](_0x4acbdb[_0x1880e1(0x12b)](),_0xbe81aa),_0x5152a1[_0x1880e1(0x12e)][_0x1880e1(0x118)](0x0),_0x5152a1[_0x1880e1(0x12a)][_0x1880e1(0x118)](this[_0x1880e1(0x126)](_0xbe81aa)),!0x0);}[_0xc8bdd2(0x129)](_0x1768af,_0x3b7d46){const _0xb41f9a=_0xc8bdd2,_0x1015f3=this[_0xb41f9a(0x127)](_0x3b7d46);for(;0x0==_0x3b7d46[_0xb41f9a(0x12e)][0x0];)_0x3b7d46[_0xb41f9a(0x12e)][_0xb41f9a(0x12b)](),_0x1768af[_0xb41f9a(0x118)](this[_0xb41f9a(0x119)](_0x1015f3));_0x1768af[_0xb41f9a(0x118)](_0x1015f3);}}