@ckeditor/ckeditor5-operations-compressor 47.7.0-alpha.1 → 47.7.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +3 -3
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/errors.js +1 -1
- package/src/index.js +1 -1
- package/src/lib/compiledmessages.js +2 -2
- package/src/lib/protobufdescriptions.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5b3f(_0xc042e6,_0x5549ec){const _0x18d3e5=_0x18d3();return _0x5b3f=function(_0x5b3fd0,_0x5b523){_0x5b3fd0=_0x5b3fd0-0xfa;let _0x5575b2=_0x18d3e5[_0x5b3fd0];return _0x5575b2;},_0x5b3f(_0xc042e6,_0x5549ec);}const _0x2d2a05=_0x5b3f;(function(_0x215250,_0x2419ad){const _0x4005c9=_0x5b3f,_0x2d30a4=_0x215250();while(!![]){try{const _0x49a579=parseInt(_0x4005c9(0xfd))/0x1*(-parseInt(_0x4005c9(0x109))/0x2)+parseInt(_0x4005c9(0x106))/0x3+parseInt(_0x4005c9(0x10c))/0x4*(-parseInt(_0x4005c9(0x113))/0x5)+parseInt(_0x4005c9(0x111))/0x6*(-parseInt(_0x4005c9(0x101))/0x7)+parseInt(_0x4005c9(0xfa))/0x8*(-parseInt(_0x4005c9(0x107))/0x9)+parseInt(_0x4005c9(0x10b))/0xa+parseInt(_0x4005c9(0x105))/0xb;if(_0x49a579===_0x2419ad)break;else _0x2d30a4['push'](_0x2d30a4['shift']());}catch(_0x115ecf){_0x2d30a4['push'](_0x2d30a4['shift']());}}}(_0x18d3,0x67b2c));function _0x18d3(){const _0xa313b2=['1731478gBuTOc','decompress','_compressSingleOperation','_combineNext','11981222iXFfUg','1138158qpagWw','14463nFGKYM','types','451838KupYMJ','_context','7375190POZQea','916392rrHJCW','operations','index','_compareOperations','typeIndex','18GnnZSr','compress','5CBaRVb','1784fbCwBC','_decompressSingleOperation','_splitCurrent','2HQeHWp','_id','push','buffers'];_0x18d3=function(){return _0xa313b2;};return _0x18d3();}import{cloneDeep as _0x2fbdb9}from'es-toolkit/compat';export class ActionCompressor{[_0x2d2a05(0xfe)];[_0x2d2a05(0x10a)];constructor(_0x16ed49,_0x526b73){const _0x5aba03=_0x2d2a05;this[_0x5aba03(0xfe)]=_0x16ed49,this[_0x5aba03(0x10a)]=_0x526b73;}[_0x2d2a05(0x112)](_0x22e5d8,_0x3c9bd3){const _0x5cdd82=_0x2d2a05;let _0x3091dd,_0x2242be=_0x3c9bd3[_0x5cdd82(0x10d)][_0x3c9bd3[_0x5cdd82(0x10e)]],_0x23aca2=_0x3c9bd3[_0x5cdd82(0x10d)][_0x3c9bd3[_0x5cdd82(0x10e)]+0x1];for(;_0x23aca2&&this[_0x5cdd82(0x10f)](_0x2242be,_0x23aca2);)_0x3091dd?(_0x3091dd=this[_0x5cdd82(0x104)](_0x2242be,_0x3091dd),_0x22e5d8[_0x5cdd82(0x108)][_0x5cdd82(0xff)](0x0)):(_0x3091dd=_0x2fbdb9(_0x2242be),_0x22e5d8[_0x5cdd82(0x108)][_0x5cdd82(0xff)](this[_0x5cdd82(0xfe)])),_0x3c9bd3[_0x5cdd82(0x10e)]++,_0x2242be=_0x3c9bd3[_0x5cdd82(0x10d)][_0x3c9bd3[_0x5cdd82(0x10e)]],_0x23aca2=_0x3c9bd3[_0x5cdd82(0x10d)][_0x3c9bd3[_0x5cdd82(0x10e)]+0x1];return!!_0x3091dd&&(_0x3091dd=this[_0x5cdd82(0x104)](_0x3c9bd3[_0x5cdd82(0x10d)][_0x3c9bd3[_0x5cdd82(0x10e)]++],_0x3091dd),_0x22e5d8[_0x5cdd82(0x108)][_0x5cdd82(0xff)](0x0),_0x22e5d8[_0x5cdd82(0x100)][_0x5cdd82(0xff)](this[_0x5cdd82(0x103)](_0x3091dd)),!0x0);}[_0x2d2a05(0x102)](_0x3be541,_0x164724){const _0x3cc910=_0x2d2a05,_0xce93ab=this[_0x3cc910(0xfb)](_0x164724);for(;0x0==_0x164724[_0x3cc910(0x108)][_0x164724[_0x3cc910(0x110)]];)_0x164724[_0x3cc910(0x110)]++,_0x3be541[_0x3cc910(0xff)](this[_0x3cc910(0xfc)](_0xce93ab));_0x3be541[_0x3cc910(0xff)](_0xce93ab);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x55b293=_0xa3f0;function _0xa3f0(_0x4380a4,_0xccf18c){const _0x3b5bc3=_0x3b5b();return _0xa3f0=function(_0xa3f04b,_0x365ea9){_0xa3f04b=_0xa3f04b-0xfb;let _0x462609=_0x3b5bc3[_0xa3f04b];return _0x462609;},_0xa3f0(_0x4380a4,_0xccf18c);}(function(_0x2b6b76,_0x6a0c3a){const _0x233678=_0xa3f0,_0x3eb663=_0x2b6b76();while(!![]){try{const _0x420154=parseInt(_0x233678(0x10e))/0x1*(-parseInt(_0x233678(0xfc))/0x2)+parseInt(_0x233678(0x10f))/0x3+-parseInt(_0x233678(0x102))/0x4*(parseInt(_0x233678(0x106))/0x5)+parseInt(_0x233678(0xfe))/0x6+-parseInt(_0x233678(0x103))/0x7*(parseInt(_0x233678(0x109))/0x8)+parseInt(_0x233678(0x107))/0x9+parseInt(_0x233678(0x111))/0xa*(-parseInt(_0x233678(0x114))/0xb);if(_0x420154===_0x6a0c3a)break;else _0x3eb663['push'](_0x3eb663['shift']());}catch(_0x4bcfba){_0x3eb663['push'](_0x3eb663['shift']());}}}(_0x3b5b,0xce02f));import{ActionCompressor as _0x55c30b}from'./actioncompressor.js';import{arePositionsEqual as _0x1896ac,getPositionShiftedBy as _0x2ca8b1}from'../utils.js';function _0x3b5b(){const _0x45e1a7=['79IFTIsE','4976898Ntoitd','compress','20RTVUDU','_decompressSingleOperation','_context','1061643BrNymf','MoveOperation','_checkOperation','wasUndone','howMany','root','25076jbGkTA','targetPosition','8689122fggvDU','buffers','_compressSingleOperation','_compareOperations','76lekouK','77119aRLMqL','_combineNext','_splitCurrent','42455QzqrfO','4326174fXRIbk','sourcePosition','1016JbjmTS','__className','$graveyard','decompress','_getCompressorByName'];_0x3b5b=function(){return _0x45e1a7;};return _0x3b5b();}import{cloneDeep as _0x77e2e0}from'es-toolkit/compat';export class DeletingActionCompressor extends _0x55c30b{[_0x55b293(0x104)](_0x353d08,_0x5eecf3){const _0x5a1cbc=_0x55b293;return _0x5eecf3[_0x5a1cbc(0x118)]++,_0x5eecf3[_0x5a1cbc(0x108)]=_0x77e2e0(_0x353d08[_0x5a1cbc(0x108)]),_0x5eecf3;}[_0x55b293(0x105)](_0x3f7d39){const _0x4ad8c3=_0x55b293,_0x52ec09=_0x77e2e0(_0x3f7d39);return _0x3f7d39[_0x4ad8c3(0x118)]--,_0x52ec09[_0x4ad8c3(0x118)]=0x1,_0x52ec09[_0x4ad8c3(0x108)]=_0x2ca8b1(_0x52ec09[_0x4ad8c3(0x108)],_0x3f7d39[_0x4ad8c3(0x118)]),_0x52ec09;}[_0x55b293(0x101)](_0x1f7b57,_0x2f4487){const _0x3fe836=_0x55b293;return!(!this[_0x3fe836(0x116)](_0x1f7b57)||!this[_0x3fe836(0x116)](_0x2f4487))&&(_0x1896ac(_0x2ca8b1(_0x1f7b57[_0x3fe836(0x108)],-0x1),_0x2f4487[_0x3fe836(0x108)])&&_0x1896ac(_0x1f7b57[_0x3fe836(0xfd)],_0x2f4487[_0x3fe836(0xfd)]));}[_0x55b293(0x100)](_0x1efa7e){const _0x57642d=_0x55b293,_0x5dedc0={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x57642d(0x113)][_0x57642d(0x10d)](_0x57642d(0x115))[_0x57642d(0x110)](_0x5dedc0,{'operations':[_0x1efa7e],'index':0x0}),_0x5dedc0[_0x57642d(0xff)][0x0];}[_0x55b293(0x112)](_0x2b1fc0){const _0x526c3c=_0x55b293,_0x2e3655=[];return this[_0x526c3c(0x113)][_0x526c3c(0x10d)](_0x526c3c(0x115))[_0x526c3c(0x10c)](_0x2e3655,_0x2b1fc0),_0x2e3655[0x0];}[_0x55b293(0x116)](_0x43a80e){const _0x47fc6d=_0x55b293;return _0x47fc6d(0x115)==_0x43a80e[_0x47fc6d(0x10a)]&&_0x47fc6d(0x10b)==_0x43a80e[_0x47fc6d(0xfd)][_0x47fc6d(0xfb)]&&0x1==_0x43a80e[_0x47fc6d(0x118)]&&!_0x43a80e[_0x47fc6d(0x117)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c5d61=_0xcd29;function _0xcd29(_0x33fb62,_0x5a278f){const _0x4cba19=_0x4cba();return _0xcd29=function(_0xcd29aa,_0x34151f){_0xcd29aa=_0xcd29aa-0x76;let _0x22c625=_0x4cba19[_0xcd29aa];return _0x22c625;},_0xcd29(_0x33fb62,_0x5a278f);}function _0x4cba(){const _0x3015b5=['compress','125598mTZUeG','333aphgLN','_context','_compressSingleOperation','_getCompressorByName','buffers','$graveyard','20Qvetbs','howMany','21296650chNSjq','1029590esrqgO','targetPosition','1002URLyTf','sourcePosition','wasUndone','_combineNext','_compareOperations','decompress','1177338LXCZZU','_checkOperation','4246296jgNfqd','__className','55678JdUaEY','237512aiSRga','root','_splitCurrent','_decompressSingleOperation','MoveOperation'];_0x4cba=function(){return _0x3015b5;};return _0x4cba();}(function(_0x5f2ab4,_0x945737){const _0x4cb82e=_0xcd29,_0x44a52=_0x5f2ab4();while(!![]){try{const _0x51d90f=-parseInt(_0x4cb82e(0x8c))/0x1+-parseInt(_0x4cb82e(0x7a))/0x2+-parseInt(_0x4cb82e(0x8e))/0x3+parseInt(_0x4cb82e(0x81))/0x4*(-parseInt(_0x4cb82e(0x84))/0x5)+-parseInt(_0x4cb82e(0x86))/0x6*(-parseInt(_0x4cb82e(0x90))/0x7)+-parseInt(_0x4cb82e(0x91))/0x8*(-parseInt(_0x4cb82e(0x7b))/0x9)+parseInt(_0x4cb82e(0x83))/0xa;if(_0x51d90f===_0x945737)break;else _0x44a52['push'](_0x44a52['shift']());}catch(_0x1387c5){_0x44a52['push'](_0x44a52['shift']());}}}(_0x4cba,0xd4b95));import{ActionCompressor as _0xc0d1eb}from'./actioncompressor.js';import{arePositionsEqual as _0xe9c2ee}from'../utils.js';import{cloneDeep as _0x4b3acd}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0xc0d1eb{[_0x1c5d61(0x89)](_0x2165e9,_0x3255d5){const _0x20472f=_0x1c5d61;return _0x3255d5[_0x20472f(0x82)]++,_0x3255d5;}[_0x1c5d61(0x76)](_0x561265){const _0x22924c=_0x1c5d61,_0x7f04b4=_0x4b3acd(_0x561265);return _0x7f04b4[_0x22924c(0x82)]=0x1,_0x561265[_0x22924c(0x82)]--,_0x7f04b4;}[_0x1c5d61(0x8a)](_0x458e66,_0x6c2b54){const _0x288091=_0x1c5d61;return!(!this[_0x288091(0x8d)](_0x458e66)||!this[_0x288091(0x8d)](_0x6c2b54))&&(_0xe9c2ee(_0x458e66[_0x288091(0x87)],_0x6c2b54[_0x288091(0x87)])&&_0xe9c2ee(_0x458e66[_0x288091(0x85)],_0x6c2b54[_0x288091(0x85)]));}[_0x1c5d61(0x7d)](_0x10f593){const _0x35e2ff=_0x1c5d61,_0x2f827e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x35e2ff(0x7c)][_0x35e2ff(0x7e)](_0x35e2ff(0x78))[_0x35e2ff(0x79)](_0x2f827e,{'operations':[_0x10f593],'index':0x0}),_0x2f827e[_0x35e2ff(0x7f)][0x0];}[_0x1c5d61(0x77)](_0x39e7f4){const _0x21643e=_0x1c5d61,_0x4b1062=[];return this[_0x21643e(0x7c)][_0x21643e(0x7e)](_0x21643e(0x78))[_0x21643e(0x8b)](_0x4b1062,_0x39e7f4),_0x4b1062[0x0];}[_0x1c5d61(0x8d)](_0x5164e5){const _0x35b777=_0x1c5d61;return _0x35b777(0x78)==_0x5164e5[_0x35b777(0x8f)]&&_0x35b777(0x80)==_0x5164e5[_0x35b777(0x85)][_0x35b777(0x92)]&&0x1==_0x5164e5[_0x35b777(0x82)]&&!_0x5164e5[_0x35b777(0x88)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xe566(_0x1380f9,_0x3dcfd6){const _0x28218a=_0x2821();return _0xe566=function(_0xe566fc,_0x5977b9){_0xe566fc=_0xe566fc-0x18f;let _0xed5f21=_0x28218a[_0xe566fc];return _0xed5f21;},_0xe566(_0x1380f9,_0x3dcfd6);}const _0x11c76d=_0xe566;function _0x2821(){const _0x4d4c5f=['115fZefbM','position','_combineNext','_compareAttributes','from','data','3fAKPRw','_decompressSingleOperation','iterator','_checkOperation','5951110yCZBKn','77824RwuvID','wasUndone','15078jzPIot','504994PmpInv','keys','next','_splitCurrent','substr','buffers','_compareOperations','length','21130uXbKVz','__className','1267SGDmjG','4290TMzlCg','3923192CBxsta','compress','_getCompressorByName','attributes','_compressSingleOperation','every','_context','value','nodes','decompress','1224lAEzxn','InsertOperation'];_0x2821=function(){return _0x4d4c5f;};return _0x2821();}(function(_0x257595,_0x4fa291){const _0x9a51e4=_0xe566,_0x46f15c=_0x257595();while(!![]){try{const _0x25dd0=parseInt(_0x9a51e4(0x197))/0x1+-parseInt(_0x9a51e4(0x196))/0x2*(parseInt(_0x9a51e4(0x18f))/0x3)+-parseInt(_0x9a51e4(0x194))/0x4*(parseInt(_0x9a51e4(0x1af))/0x5)+-parseInt(_0x9a51e4(0x1a2))/0x6*(parseInt(_0x9a51e4(0x1a1))/0x7)+-parseInt(_0x9a51e4(0x1a3))/0x8+parseInt(_0x9a51e4(0x1ad))/0x9*(parseInt(_0x9a51e4(0x19f))/0xa)+parseInt(_0x9a51e4(0x193))/0xb;if(_0x25dd0===_0x4fa291)break;else _0x46f15c['push'](_0x46f15c['shift']());}catch(_0x2007bf){_0x46f15c['push'](_0x46f15c['shift']());}}}(_0x2821,0x3f1e3));import{ActionCompressor as _0x5eb1d4}from'./actioncompressor.js';import{arePositionsEqual as _0x30f290,getPositionShiftedBy as _0x41e915}from'../utils.js';import{cloneDeep as _0x78c3f9}from'es-toolkit/compat';export class TypingActionCompressor extends _0x5eb1d4{[_0x11c76d(0x1b1)](_0x49a97f,_0x4a0de5){const _0x36725a=_0x11c76d;return _0x4a0de5[_0x36725a(0x1ab)][0x0][_0x36725a(0x1b4)]+=_0x49a97f[_0x36725a(0x1ab)][0x0][_0x36725a(0x1b4)],_0x4a0de5;}[_0x11c76d(0x19a)](_0x493020){const _0x253529=_0x11c76d,_0x8851a2=_0x78c3f9(_0x493020),_0x3a83b1=_0x8851a2[_0x253529(0x1ab)][0x0],_0x37b2f7=_0x493020[_0x253529(0x1ab)][0x0],_0x50ac02=_0x37b2f7[_0x253529(0x1b4)][Symbol[_0x253529(0x191)]]()[_0x253529(0x199)]()[_0x253529(0x1aa)],_0x3f3612=_0x50ac02[_0x253529(0x19e)];return _0x3a83b1[_0x253529(0x1b4)]=_0x50ac02,_0x37b2f7[_0x253529(0x1b4)]=_0x37b2f7[_0x253529(0x1b4)][_0x253529(0x19b)](_0x3f3612),_0x493020[_0x253529(0x1b0)]=_0x41e915(_0x493020[_0x253529(0x1b0)],_0x3f3612),_0x8851a2;}[_0x11c76d(0x19d)](_0x34b836,_0x2caf06){const _0x472653=_0x11c76d;if(this[_0x472653(0x192)](_0x34b836)&&this[_0x472653(0x192)](_0x2caf06)){const _0x1109ba=_0x34b836[_0x472653(0x1ab)][0x0][_0x472653(0x1b4)][_0x472653(0x19e)],_0x3fe214=_0x30f290(_0x41e915(_0x34b836[_0x472653(0x1b0)],_0x1109ba),_0x2caf06[_0x472653(0x1b0)]),_0x47c038=_0x34b836[_0x472653(0x1ab)][0x0],_0x78f89f=_0x2caf06[_0x472653(0x1ab)][0x0];return _0x3fe214&&this[_0x472653(0x1b2)](_0x47c038,_0x78f89f);}return!0x1;}[_0x11c76d(0x1a7)](_0x55a912){const _0x49f089=_0x11c76d,_0x365ad4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x49f089(0x1a9)][_0x49f089(0x1a5)](_0x49f089(0x1ae))[_0x49f089(0x1a4)](_0x365ad4,{'operations':[_0x55a912],'index':0x0}),_0x365ad4[_0x49f089(0x19c)][0x0];}[_0x11c76d(0x190)](_0x43796){const _0x4445a1=_0x11c76d,_0x18ebb0=[];return this[_0x4445a1(0x1a9)][_0x4445a1(0x1a5)](_0x4445a1(0x1ae))[_0x4445a1(0x1ac)](_0x18ebb0,_0x43796),_0x18ebb0[0x0];}[_0x11c76d(0x192)](_0xeaf9c2){const _0x198d45=_0x11c76d;return _0x198d45(0x1ae)==_0xeaf9c2[_0x198d45(0x1a0)]&&0x1==_0xeaf9c2[_0x198d45(0x1ab)][_0x198d45(0x19e)]&&_0xeaf9c2[_0x198d45(0x1ab)][0x0][_0x198d45(0x1b4)]&&!_0xeaf9c2[_0x198d45(0x195)]&&0x1==Array[_0x198d45(0x1b3)](_0xeaf9c2[_0x198d45(0x1ab)][0x0][_0x198d45(0x1b4)])[_0x198d45(0x19e)];}[_0x11c76d(0x1b2)](_0x424621,_0xb6e9c2){const _0x1cdfac=_0x11c76d,_0x425d7a=Object[_0x1cdfac(0x198)](_0x424621[_0x1cdfac(0x1a6)]||{}),_0x3a93dd=Object[_0x1cdfac(0x198)](_0xb6e9c2[_0x1cdfac(0x1a6)]||{});return _0x425d7a[_0x1cdfac(0x19e)]===_0x3a93dd[_0x1cdfac(0x19e)]&&_0x425d7a[_0x1cdfac(0x1a8)](_0x53efbe=>_0xb6e9c2[_0x1cdfac(0x1a6)][_0x53efbe]&&_0xb6e9c2[_0x1cdfac(0x1a6)][_0x53efbe]===_0x424621[_0x1cdfac(0x1a6)][_0x53efbe]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x3ed67c=_0x4daf;function _0x4daf(_0x2b56af,_0x2e91b6){const _0x1bd10d=_0x1bd1();return _0x4daf=function(_0x4daf80,_0x14bd09){_0x4daf80=_0x4daf80-0xeb;let _0x3aae63=_0x1bd10d[_0x4daf80];return _0x3aae63;},_0x4daf(_0x2b56af,_0x2e91b6);}function _0x1bd1(){const _0x4f1a48=['index','stickiness','308901hjCWye','6652266PfkLPX','types','end','typeIndex','push','start','_id','split','compress','user:','buffers','_compareOperations','MarkerOperation','_context','10fdmIPr','oldRange','14938bkcQpY','decompress','_compressSingleOperation','__className','2264108tlvsgk','9033664iHgTyI','user:position:','551002VEjRcM','newRange','startsWith','1867592zVPmrV','_getCompressorByName','operations','name','_decompressSingleOperation','toNone'];_0x1bd1=function(){return _0x4f1a48;};return _0x1bd1();}(function(_0x73c79b,_0x126f15){const _0x31c216=_0x4daf,_0xbe416=_0x73c79b();while(!![]){try{const _0x5306b4=-parseInt(_0x31c216(0xf6))/0x1+parseInt(_0x31c216(0xef))/0x2+-parseInt(_0x31c216(0x101))/0x3+-parseInt(_0x31c216(0xf9))/0x4*(-parseInt(_0x31c216(0xed))/0x5)+parseInt(_0x31c216(0x102))/0x6+parseInt(_0x31c216(0xf3))/0x7+-parseInt(_0x31c216(0xf4))/0x8;if(_0x5306b4===_0x126f15)break;else _0xbe416['push'](_0xbe416['shift']());}catch(_0x2736bc){_0xbe416['push'](_0xbe416['shift']());}}}(_0x1bd1,0x901a3));import{ActionCompressor as _0x340fa5}from'./actioncompressor.js';import{arePositionsEqual as _0x20a7ae}from'../utils.js';import{cloneDeep as _0x4b985d}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x340fa5{[_0x3ed67c(0x10a)](_0x30c178,_0xa453c){const _0x30de06=_0x3ed67c;if(!this[_0x30de06(0x10d)](_0xa453c[_0x30de06(0xfb)][_0xa453c[_0x30de06(0xff)]],_0xa453c[_0x30de06(0xfb)][_0xa453c[_0x30de06(0xff)]+0x1]))return!0x1;const _0x191a3a=_0xa453c[_0x30de06(0xfb)][_0xa453c[_0x30de06(0xff)]++];return _0x191a3a[_0x30de06(0xee)]=null,_0x191a3a[_0x30de06(0xf7)]&&_0x20a7ae(_0x191a3a[_0x30de06(0xf7)][_0x30de06(0x107)],_0x191a3a[_0x30de06(0xf7)][_0x30de06(0x104)])&&(_0x191a3a[_0x30de06(0xf7)][_0x30de06(0x104)]=null),_0xa453c[_0x30de06(0xff)]++,_0x30c178[_0x30de06(0x103)][_0x30de06(0x106)](this[_0x30de06(0x108)]),_0x30c178[_0x30de06(0x103)][_0x30de06(0x106)](0x0),_0x30c178[_0x30de06(0x10c)][_0x30de06(0x106)](this[_0x30de06(0xf1)](_0x191a3a)),!0x0;}[_0x3ed67c(0xf0)](_0x1e4d8f,_0x26a723){const _0x3a6178=_0x3ed67c,_0x56248a=this[_0x3a6178(0xfd)](_0x26a723);_0x56248a[_0x3a6178(0xf7)]&&!_0x56248a[_0x3a6178(0xf7)][_0x3a6178(0x104)]&&(_0x56248a[_0x3a6178(0xf7)][_0x3a6178(0x104)]=_0x4b985d(_0x56248a[_0x3a6178(0xf7)][_0x3a6178(0x107)]));const _0x48e689=_0x4b985d(_0x56248a);_0x48e689[_0x3a6178(0xf7)]&&(_0x48e689[_0x3a6178(0xf7)][_0x3a6178(0x107)][_0x3a6178(0x100)]=_0x3a6178(0xfe),_0x48e689[_0x3a6178(0xf7)][_0x3a6178(0x104)]=_0x4b985d(_0x48e689[_0x3a6178(0xf7)][_0x3a6178(0x107)])),_0x48e689[_0x3a6178(0xfc)]=_0x3a6178(0xf5)+_0x48e689[_0x3a6178(0xfc)][_0x3a6178(0x109)](':')[0x2],_0x26a723[_0x3a6178(0x105)]++,_0x1e4d8f[_0x3a6178(0x106)](_0x56248a),_0x1e4d8f[_0x3a6178(0x106)](_0x48e689);}[_0x3ed67c(0xf1)](_0x43f4f2){const _0x11ebb5=_0x3ed67c,_0x11789e={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x11ebb5(0xec)][_0x11ebb5(0xfa)](_0x11ebb5(0xeb))[_0x11ebb5(0x10a)](_0x11789e,{'operations':[_0x43f4f2],'index':0x0}),_0x11789e[_0x11ebb5(0x10c)][0x0];}[_0x3ed67c(0xfd)](_0x45ec46){const _0x34d830=_0x3ed67c,_0x59df49=[];return this[_0x34d830(0xec)][_0x34d830(0xfa)](_0x34d830(0xeb))[_0x34d830(0xf0)](_0x59df49,_0x45ec46),_0x59df49[0x0];}[_0x3ed67c(0x10d)](_0x1c32c1,_0x1aa5be){const _0x1968e0=_0x3ed67c;return!(!_0x1c32c1||!_0x1aa5be)&&(_0x1968e0(0xeb)==_0x1c32c1[_0x1968e0(0xf2)]&&_0x1968e0(0xeb)==_0x1aa5be[_0x1968e0(0xf2)]&&!(!_0x1c32c1[_0x1968e0(0xfc)][_0x1968e0(0xf8)](_0x1968e0(0x10b))||!_0x1aa5be[_0x1968e0(0xfc)][_0x1968e0(0xf8)](_0x1968e0(0x10b))||_0x1c32c1[_0x1968e0(0xfc)]==_0x1aa5be[_0x1968e0(0xfc)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x559313=_0x1d25;(function(_0x39b992,_0x3ae3eb){const _0x149fe7=_0x1d25,_0x2750dc=_0x39b992();while(!![]){try{const _0x23b63c=-parseInt(_0x149fe7(0xfe))/0x1+parseInt(_0x149fe7(0xe6))/0x2*(parseInt(_0x149fe7(0xe3))/0x3)+parseInt(_0x149fe7(0xd4))/0x4+parseInt(_0x149fe7(0xd9))/0x5+parseInt(_0x149fe7(0xd2))/0x6+parseInt(_0x149fe7(0xec))/0x7*(parseInt(_0x149fe7(0xe1))/0x8)+-parseInt(_0x149fe7(0x101))/0x9;if(_0x23b63c===_0x3ae3eb)break;else _0x2750dc['push'](_0x2750dc['shift']());}catch(_0x5f5555){_0x2750dc['push'](_0x2750dc['shift']());}}}(_0x230f,0xece6c));import{CKEditorError as _0x234751}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0xf388eb}from'./protobuffactory.js';import{OperationCompressor as _0x50ed1b}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x2bee1e}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x4b52e7}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x304c1f}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x156294}from'./operationcompressor/nooperationcompressor.js';function _0x230f(){const _0x2fca1f=['_compressorById','compress','baseVersion','4368512vMKaSB','CommentMarkerOperation','3wXiTeV','_registerActionCompressor','comment','2881794bsAuOE','index','RenameOperation','RootOperation','SplitOperation','InsertOperation','14IUdKYF','MoveOperation','buffers','types','MarkerOperation','suggestion','decompress-compressor-not-found','forEach','TypingAction','_registerCompressor','SuggestionMarkerOperation','getDescriptor','length','NoOperation','_compressorByName','set','decompress','_protobufFactory','494143TPxoam','no-operations-provided','MergeOperation','25157511txKEZX','AttributeOperation','get','1244736bCIHBO','_registerOperationCompressor','3663072wolPNy','UserSelectionAction','typeIndex','__className','DeletingAction','3017605zqfuvu','operations','RootAttributeOperation','_getCompressorByName','ForwardDeletingAction'];_0x230f=function(){return _0x2fca1f;};return _0x230f();}function _0x1d25(_0x5d8054,_0x39ccac){const _0x230f5e=_0x230f();return _0x1d25=function(_0x1d259e,_0x4ad00){_0x1d259e=_0x1d259e-0xd0;let _0x546b69=_0x230f5e[_0x1d259e];return _0x546b69;},_0x1d25(_0x5d8054,_0x39ccac);}import{AnnotationMarkerOperationCompressor as _0x5b2058}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x55a0dd}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x34dd59}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x33d8a4}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x287c93}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x559313(0xde)];[_0x559313(0xfa)];[_0x559313(0xfd)];constructor(){const _0x16e040=_0x559313;this[_0x16e040(0xde)]=new Map(),this[_0x16e040(0xfa)]=new Map(),this[_0x16e040(0xfd)]=new _0xf388eb();const _0x289414=this[_0x16e040(0xfd)][_0x16e040(0xf7)](_0x16e040(0xf0));this[_0x16e040(0xf5)](0x1,_0x16e040(0xf9),new _0x156294(0x1,_0x16e040(0xf9),void 0x0)),this[_0x16e040(0xd3)](0xa,_0x16e040(0xd0),_0x2bee1e),this[_0x16e040(0xd3)](0xb,_0x16e040(0xeb),_0x4b52e7),this[_0x16e040(0xd3)](0xc,_0x16e040(0xf0),_0x304c1f),this[_0x16e040(0xd3)](0xd,_0x16e040(0x100),_0x50ed1b),this[_0x16e040(0xd3)](0xe,_0x16e040(0xed),_0x50ed1b),this[_0x16e040(0xd3)](0xf,_0x16e040(0xe8),_0x50ed1b),this[_0x16e040(0xd3)](0x10,_0x16e040(0xdb),_0x2bee1e),this[_0x16e040(0xd3)](0x11,_0x16e040(0xea),_0x50ed1b),this[_0x16e040(0xf5)](0x12,_0x16e040(0xe2),new _0x5b2058(0x12,_0x16e040(0xf0),_0x289414,_0x16e040(0xe5))),this[_0x16e040(0xf5)](0x13,_0x16e040(0xf6),new _0x5b2058(0x13,_0x16e040(0xf0),_0x289414,_0x16e040(0xf1))),this[_0x16e040(0xd3)](0x14,_0x16e040(0xe9),_0x50ed1b),this[_0x16e040(0xe4)](0x64,_0x16e040(0xf4),_0x55a0dd),this[_0x16e040(0xe4)](0x65,_0x16e040(0xd8),_0x34dd59),this[_0x16e040(0xe4)](0x66,_0x16e040(0xdd),_0x33d8a4),this[_0x16e040(0xe4)](0x67,_0x16e040(0xd5),_0x287c93);}[_0x559313(0xdf)](_0x41db7e){const _0x55c7e3=_0x559313;if(!_0x41db7e||!_0x41db7e[0x0])throw new _0x234751(_0x55c7e3(0xff),this);const _0x42f318={'operations':_0x41db7e,'index':0x0},_0x2e63e4={'types':[],'buffers':[],'baseVersion':_0x41db7e[0x0][_0x55c7e3(0xe0)]};for(;_0x42f318[_0x55c7e3(0xe7)]<_0x42f318[_0x55c7e3(0xda)][_0x55c7e3(0xf8)];){if(this[_0x55c7e3(0xdc)](_0x55c7e3(0xd5))[_0x55c7e3(0xdf)](_0x2e63e4,_0x42f318))continue;if(this[_0x55c7e3(0xdc)](_0x55c7e3(0xf4))[_0x55c7e3(0xdf)](_0x2e63e4,_0x42f318))continue;if(this[_0x55c7e3(0xdc)](_0x55c7e3(0xd8))[_0x55c7e3(0xdf)](_0x2e63e4,_0x42f318))continue;if(this[_0x55c7e3(0xdc)](_0x55c7e3(0xdd))[_0x55c7e3(0xdf)](_0x2e63e4,_0x42f318))continue;if(this[_0x55c7e3(0xdc)](_0x55c7e3(0xe2))[_0x55c7e3(0xdf)](_0x2e63e4,_0x42f318))continue;if(this[_0x55c7e3(0xdc)](_0x55c7e3(0xf6))[_0x55c7e3(0xdf)](_0x2e63e4,_0x42f318))continue;const _0x176351=_0x42f318[_0x55c7e3(0xda)][_0x42f318[_0x55c7e3(0xe7)]][_0x55c7e3(0xd7)];this[_0x55c7e3(0xdc)](_0x176351)[_0x55c7e3(0xdf)](_0x2e63e4,_0x42f318);}return _0x2e63e4;}[_0x559313(0xfc)](_0x2f0feb){const _0x561f66=_0x559313,_0x50ed8e=[],_0x184d3d={'types':_0x2f0feb[_0x561f66(0xef)],'buffers':_0x2f0feb[_0x561f66(0xee)],'baseVersion':_0x2f0feb[_0x561f66(0xe0)],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x184d3d[_0x561f66(0xd6)]<_0x184d3d[_0x561f66(0xef)][_0x561f66(0xf8)];){const _0x1f5448=_0x184d3d[_0x561f66(0xef)][_0x184d3d[_0x561f66(0xd6)]],_0x3631b0=this[_0x561f66(0xde)][_0x561f66(0xd1)](_0x1f5448);if(!_0x3631b0)throw new _0x234751(_0x561f66(0xf2),this,{'type':_0x1f5448});_0x3631b0[_0x561f66(0xfc)](_0x50ed8e,_0x184d3d);}return _0x50ed8e[_0x561f66(0xf3)]((_0x138063,_0x31b2fb)=>_0x138063[_0x561f66(0xe0)]=_0x2f0feb[_0x561f66(0xe0)]+_0x31b2fb),_0x50ed8e;}[_0x559313(0xdc)](_0x25c557){const _0x53d1c9=_0x559313;return this[_0x53d1c9(0xfa)][_0x53d1c9(0xd1)](_0x25c557);}[_0x559313(0xd3)](_0x3dde91,_0x3bc60a,_0x5e5ca0){const _0x27754d=_0x559313,_0x468a43=new _0x5e5ca0(_0x3dde91,_0x3bc60a,this[_0x27754d(0xfd)][_0x27754d(0xf7)](_0x3bc60a));this[_0x27754d(0xf5)](_0x3dde91,_0x3bc60a,_0x468a43);}[_0x559313(0xe4)](_0x1138f5,_0x1755f4,_0x42b89d){const _0x414e7f=_0x559313,_0x364b45=new _0x42b89d(_0x1138f5,this);this[_0x414e7f(0xf5)](_0x1138f5,_0x1755f4,_0x364b45);}[_0x559313(0xf5)](_0x118627,_0x48fa68,_0x1182eb){const _0xbaa376=_0x559313;this[_0xbaa376(0xde)][_0xbaa376(0xfb)](_0x118627,_0x1182eb),this[_0xbaa376(0xfa)][_0xbaa376(0xfb)](_0x48fa68,_0x1182eb);}}
|
package/src/errors.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2976(){var _0x42daac=['65476OxxNvk','726108EekrsU','169312REGAmf','1741698otPTQU','1299496KpNnEA','339686tdjaqF','2010666VcPGzU','110PniDAv'];_0x2976=function(){return _0x42daac;};return _0x2976();}function _0x2d3d(_0x4395e0,_0x544b3c){var _0x297683=_0x2976();return _0x2d3d=function(_0x2d3dea,_0x7c714e){_0x2d3dea=_0x2d3dea-0x188;var _0x2b2fe7=_0x297683[_0x2d3dea];return _0x2b2fe7;},_0x2d3d(_0x4395e0,_0x544b3c);}(function(_0x5b604b,_0x195b19){var _0x251d7a=_0x2d3d,_0x2de1f1=_0x5b604b();while(!![]){try{var _0xd7b552=parseInt(_0x251d7a(0x18f))/0x1+parseInt(_0x251d7a(0x18c))/0x2+parseInt(_0x251d7a(0x18b))/0x3+-parseInt(_0x251d7a(0x18a))/0x4*(parseInt(_0x251d7a(0x189))/0x5)+parseInt(_0x251d7a(0x188))/0x6+-parseInt(_0x251d7a(0x18d))/0x7+-parseInt(_0x251d7a(0x18e))/0x8;if(_0xd7b552===_0x195b19)break;else _0x2de1f1['push'](_0x2de1f1['shift']());}catch(_0x3a97c8){_0x2de1f1['push'](_0x2de1f1['shift']());}}}(_0x2976,0x382e8));import{CKEditorError as _0x214783}from'ckeditor5/src/utils.js';
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x3ea415,_0x529e6f){var _0x35f5ed=_0x1d55,_0x22867e=_0x3ea415();while(!![]){try{var _0x1779a6=-parseInt(_0x35f5ed(0x96))/0x1+parseInt(_0x35f5ed(0x9a))/0x2*(-parseInt(_0x35f5ed(0x98))/0x3)+parseInt(_0x35f5ed(0x94))/0x4+-parseInt(_0x35f5ed(0x9d))/0x5*(-parseInt(_0x35f5ed(0x9b))/0x6)+-parseInt(_0x35f5ed(0x95))/0x7*(parseInt(_0x35f5ed(0x9e))/0x8)+-parseInt(_0x35f5ed(0x99))/0x9+parseInt(_0x35f5ed(0x9c))/0xa*(parseInt(_0x35f5ed(0x97))/0xb);if(_0x1779a6===_0x529e6f)break;else _0x22867e['push'](_0x22867e['shift']());}catch(_0x2d4ac4){_0x22867e['push'](_0x22867e['shift']());}}}(_0x3111,0xf20cd));export{Compressor}from'./compressor.js';function _0x1d55(_0x5075e6,_0x120797){var _0x3111d1=_0x3111();return _0x1d55=function(_0x1d5573,_0x85827e){_0x1d5573=_0x1d5573-0x94;var _0x2fa6bc=_0x3111d1[_0x1d5573];return _0x2fa6bc;},_0x1d55(_0x5075e6,_0x120797);}function _0x3111(){var _0x5f1b9b=['3347451dhZEcR','15568NiFdzF','1403664FTakIO','29351930driaPD','5NdozWw','8oGQloh','715136IPgGFH','7747138npVneD','262875qbQCaT','11FNwpTy','237cdBmEO'];_0x3111=function(){return _0x5f1b9b;};return _0x3111();}
|