UNPKG

@ckeditor/ckeditor5-collaboration-core

Version:

Base utilities used by CKEditor 5 collaboration features to support multiple users working together in a rich text editor.

23 lines 3.71 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. | * | | * | | * +---------------------------------------------------------------------------------+ * * * * */ (function(_0x35e365,_0x22ba42){const _0x530cd8=_0x23e6,_0x164612=_0x35e365();while(!![]){try{const _0x36ed16=parseInt(_0x530cd8(0x1e3))/0x1+-parseInt(_0x530cd8(0x1e4))/0x2*(-parseInt(_0x530cd8(0x1df))/0x3)+-parseInt(_0x530cd8(0x1e8))/0x4*(-parseInt(_0x530cd8(0x1ec))/0x5)+parseInt(_0x530cd8(0x1eb))/0x6*(-parseInt(_0x530cd8(0x1e5))/0x7)+parseInt(_0x530cd8(0x1da))/0x8*(parseInt(_0x530cd8(0x1dc))/0x9)+-parseInt(_0x530cd8(0x1ed))/0xa*(-parseInt(_0x530cd8(0x1e1))/0xb)+-parseInt(_0x530cd8(0x1e2))/0xc;if(_0x36ed16===_0x22ba42)break;else _0x164612['push'](_0x164612['shift']());}catch(_0x1196aa){_0x164612['push'](_0x164612['shift']());}}}(_0x2027,0xab901));function _0x2027(){const _0x2eafe3=['string','charCodeAt','5433mNOQzo','sort','127039OaXyDs','34325892qUclIB','981677hlEEUf','916lKoXZS','7cFvDnH','isArray','sign','52816LzpYti','number','keys','1330302kcMkUy','5HuSGBD','1070dimORv','object','8JKBlWt','toString','6523803upKUiX'];_0x2027=function(){return _0x2eafe3;};return _0x2027();}export default function j(_0x5299a4){let _0x30c232=0x0,_0x56cca7=0x0;for(const _0x557bd9 of M(_0x5299a4))_0x30c232=(_0x30c232<<0x5)-_0x30c232+_0x557bd9,_0x30c232&=_0x30c232,[_0x30c232,_0x56cca7]=[_0x56cca7,_0x30c232];return w(_0x30c232)+w(_0x56cca7);}function*g(_0x2ba691){const _0x22a85d=_0x23e6;null==_0x2ba691||null==_0x2ba691?yield 0x12b9b0a1:0x0===_0x2ba691||!0x1===_0x2ba691?yield 0x0:0x1===_0x2ba691||0x1==_0x2ba691?yield 0x1:Array[_0x22a85d(0x1e6)](_0x2ba691)?yield*function*(_0x3523f8){for(const _0x477fc7 of _0x3523f8)yield*g(_0x477fc7);}(_0x2ba691):_0x22a85d(0x1d9)==typeof _0x2ba691?yield*M(_0x2ba691):_0x22a85d(0x1dd)==typeof _0x2ba691?yield*O(_0x2ba691):_0x22a85d(0x1e9)==typeof _0x2ba691&&(yield _0x2ba691);}function*M(_0x3c7017){const _0x22fe44=_0x23e6;if(yield q('{'),_0x3c7017){const _0x29cd0e=Object[_0x22fe44(0x1ea)](_0x3c7017)[_0x22fe44(0x1e0)]();for(const _0x37006a of _0x29cd0e){yield*O(_0x37006a),yield q(':');const _0xd3ed79=_0x3c7017[_0x37006a];yield*g(_0xd3ed79);}}yield q('}');}function*O(_0x5586da){yield q('\x22');for(const _0x20e996 of _0x5586da)yield q(_0x20e996);yield q('\x22');}function q(_0x3c0cb8){const _0x9452f8=_0x23e6;return _0x3c0cb8[_0x9452f8(0x1de)](0x0);}function _0x23e6(_0x107694,_0x34744a){const _0x2027ac=_0x2027();return _0x23e6=function(_0x23e6af,_0x1ba4d7){_0x23e6af=_0x23e6af-0x1d9;let _0x3fd64c=_0x2027ac[_0x23e6af];return _0x3fd64c;},_0x23e6(_0x107694,_0x34744a);}function w(_0x3af14c){const _0x240fe2=_0x23e6;return(_0x3af14c*=Math[_0x240fe2(0x1e7)](_0x3af14c))[_0x240fe2(0x1db)](0x24);}