@ckeditor/ckeditor5-operations-compressor 43.3.1-alpha.0 → 44.0.0-alpha.0
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/README.md +12 -6
- 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/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
|
-
const
|
|
23
|
+
function _0x3a7a(){const _0x47807b=['decompress','compress','58840HePoWS','35944pbNquQ','length','buffers','4490448uBvQMw','_compressSingleOperation','shift','_splitCurrent','_compareOperations','4103KEIaVQ','types','899590zSnFsV','_context','171KcNmQu','push','1282407bAGpCr','134129EgOvsY','11517APthHR','432NRbkCl','_combineNext','2lyowyI','_decompressSingleOperation','_id'];_0x3a7a=function(){return _0x47807b;};return _0x3a7a();}function _0x3cc3(_0x4feef9,_0x42755f){const _0x3a7a37=_0x3a7a();return _0x3cc3=function(_0x3cc365,_0x1b11c2){_0x3cc365=_0x3cc365-0x11b;let _0x16e08f=_0x3a7a37[_0x3cc365];return _0x16e08f;},_0x3cc3(_0x4feef9,_0x42755f);}const _0x5dc9fd=_0x3cc3;(function(_0x13da08,_0x3949e4){const _0x5267a6=_0x3cc3,_0x483ca7=_0x13da08();while(!![]){try{const _0x23244b=parseInt(_0x5267a6(0x12e))/0x1*(-parseInt(_0x5267a6(0x132))/0x2)+parseInt(_0x5267a6(0x12f))/0x3*(-parseInt(_0x5267a6(0x130))/0x4)+-parseInt(_0x5267a6(0x129))/0x5+-parseInt(_0x5267a6(0x122))/0x6+-parseInt(_0x5267a6(0x12d))/0x7+parseInt(_0x5267a6(0x11f))/0x8*(-parseInt(_0x5267a6(0x12b))/0x9)+parseInt(_0x5267a6(0x11e))/0xa*(parseInt(_0x5267a6(0x127))/0xb);if(_0x23244b===_0x3949e4)break;else _0x483ca7['push'](_0x483ca7['shift']());}catch(_0x297ac7){_0x483ca7['push'](_0x483ca7['shift']());}}}(_0x3a7a,0x6da49));import{cloneDeep as _0x516e54}from'lodash-es';export default class b{constructor(_0x377ebb,_0x590a3d){const _0x2b3755=_0x3cc3;this[_0x2b3755(0x11b)]=_0x377ebb,this[_0x2b3755(0x12a)]=_0x590a3d;}[_0x5dc9fd(0x11d)](_0x311916,_0x53fe2d){const _0x36c096=_0x5dc9fd;let _0x5ed828;for(;_0x53fe2d[_0x36c096(0x120)]>0x1&&this[_0x36c096(0x126)](_0x53fe2d[0x0],_0x53fe2d[0x1]);)_0x5ed828?(_0x5ed828=this[_0x36c096(0x131)](_0x53fe2d[_0x36c096(0x124)](),_0x5ed828),_0x311916[_0x36c096(0x128)][_0x36c096(0x12c)](0x0)):(_0x5ed828=_0x516e54(_0x53fe2d[_0x36c096(0x124)]()),_0x311916[_0x36c096(0x128)][_0x36c096(0x12c)](this[_0x36c096(0x11b)]));return!!_0x5ed828&&(_0x5ed828=this[_0x36c096(0x131)](_0x53fe2d[_0x36c096(0x124)](),_0x5ed828),_0x311916[_0x36c096(0x128)][_0x36c096(0x12c)](0x0),_0x311916[_0x36c096(0x121)][_0x36c096(0x12c)](this[_0x36c096(0x123)](_0x5ed828)),!0x0);}[_0x5dc9fd(0x11c)](_0x1866fb,_0x2fbe33){const _0x614dbd=_0x5dc9fd,_0x571d07=this[_0x614dbd(0x133)](_0x2fbe33);for(;0x0==_0x2fbe33[_0x614dbd(0x128)][0x0];)_0x2fbe33[_0x614dbd(0x128)][_0x614dbd(0x124)](),_0x1866fb[_0x614dbd(0x12c)](this[_0x614dbd(0x125)](_0x571d07));_0x1866fb[_0x614dbd(0x12c)](_0x571d07);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23be08=_0x592a;(function(_0x372aa9,_0x49937a){const _0x3b7cd6=_0x592a,_0x31eb93=_0x372aa9();while(!![]){try{const _0x4a2da0=parseInt(_0x3b7cd6(0x1c4))/0x1*(parseInt(_0x3b7cd6(0x1d4))/0x2)+parseInt(_0x3b7cd6(0x1c7))/0x3*(-parseInt(_0x3b7cd6(0x1cd))/0x4)+parseInt(_0x3b7cd6(0x1db))/0x5*(-parseInt(_0x3b7cd6(0x1d3))/0x6)+-parseInt(_0x3b7cd6(0x1d1))/0x7+parseInt(_0x3b7cd6(0x1d9))/0x8*(-parseInt(_0x3b7cd6(0x1dd))/0x9)+parseInt(_0x3b7cd6(0x1da))/0xa*(parseInt(_0x3b7cd6(0x1c9))/0xb)+parseInt(_0x3b7cd6(0x1de))/0xc;if(_0x4a2da0===_0x49937a)break;else _0x31eb93['push'](_0x31eb93['shift']());}catch(_0x4369db){_0x31eb93['push'](_0x31eb93['shift']());}}}(_0x7b3f,0x38181));function _0x592a(_0x8d08a9,_0x476bf7){const _0x7b3fdb=_0x7b3f();return _0x592a=function(_0x592a38,_0xd549e0){_0x592a38=_0x592a38-0x1c1;let _0x3090dc=_0x7b3fdb[_0x592a38];return _0x3090dc;},_0x592a(_0x8d08a9,_0x476bf7);}import _0xd3b8cc from'./actioncompressor.js';import{arePositionsEqual as _0x1fbeae,getPositionShiftedBy as _0x573b20}from'../utils.js';import{cloneDeep as _0x5fd37e}from'lodash-es';function _0x7b3f(){const _0x3d0dfe=['_compareOperations','143OXFWox','_decompressSingleOperation','__className','root','4sPDkTu','_checkOperation','_combineNext','targetPosition','617442HzYLbA','_splitCurrent','2726082ZLyGrQ','14FDMWFF','_context','howMany','MoveOperation','_getCompressorByName','24xJHAtT','258830GwACUK','5okcSCw','buffers','1206qlSzHg','5683728jkCprM','wasUndone','decompress','_compressSingleOperation','sourcePosition','3223SPFrTa','compress','$graveyard','179904eABIGX'];_0x7b3f=function(){return _0x3d0dfe;};return _0x7b3f();}export default class c extends _0xd3b8cc{[_0x23be08(0x1cf)](_0x4978b8,_0x2488cb){const _0x3bdb14=_0x23be08;return _0x2488cb[_0x3bdb14(0x1d6)]++,_0x2488cb[_0x3bdb14(0x1c3)]=_0x5fd37e(_0x4978b8[_0x3bdb14(0x1c3)]),_0x2488cb;}[_0x23be08(0x1d2)](_0x211417){const _0xd93324=_0x23be08,_0x4c704a=_0x5fd37e(_0x211417);return _0x211417[_0xd93324(0x1d6)]--,_0x4c704a[_0xd93324(0x1d6)]=0x1,_0x4c704a[_0xd93324(0x1c3)]=_0x573b20(_0x4c704a[_0xd93324(0x1c3)],_0x211417[_0xd93324(0x1d6)]),_0x4c704a;}[_0x23be08(0x1c8)](_0x55d909,_0x28a804){const _0x219c92=_0x23be08;return!(!this[_0x219c92(0x1ce)](_0x55d909)||!this[_0x219c92(0x1ce)](_0x28a804))&&(_0x1fbeae(_0x573b20(_0x55d909[_0x219c92(0x1c3)],-0x1),_0x28a804[_0x219c92(0x1c3)])&&_0x1fbeae(_0x55d909[_0x219c92(0x1d0)],_0x28a804[_0x219c92(0x1d0)]));}[_0x23be08(0x1c2)](_0x39da3b){const _0x4e7df3=_0x23be08,_0xc6974={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x4e7df3(0x1d5)][_0x4e7df3(0x1d8)](_0x4e7df3(0x1d7))[_0x4e7df3(0x1c5)](_0xc6974,[_0x39da3b]),_0xc6974[_0x4e7df3(0x1dc)][0x0];}[_0x23be08(0x1ca)](_0x1c97d7){const _0x1bd287=_0x23be08,_0x12ac22=[];return this[_0x1bd287(0x1d5)][_0x1bd287(0x1d8)](_0x1bd287(0x1d7))[_0x1bd287(0x1c1)](_0x12ac22,_0x1c97d7),_0x12ac22[0x0];}[_0x23be08(0x1ce)](_0x3370b3){const _0x1102ee=_0x23be08;return _0x1102ee(0x1d7)==_0x3370b3[_0x1102ee(0x1cb)]&&_0x1102ee(0x1c6)==_0x3370b3[_0x1102ee(0x1d0)][_0x1102ee(0x1cc)]&&0x1==_0x3370b3[_0x1102ee(0x1d6)]&&!_0x3370b3[_0x1102ee(0x1df)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1c8bf8=_0x3f57;(function(_0x2e7e2c,_0x2b2f36){const _0x30a1a0=_0x3f57,_0x56210e=_0x2e7e2c();while(!![]){try{const _0xa250c7=-parseInt(_0x30a1a0(0x20e))/0x1*(-parseInt(_0x30a1a0(0x20b))/0x2)+-parseInt(_0x30a1a0(0x202))/0x3+-parseInt(_0x30a1a0(0x206))/0x4*(parseInt(_0x30a1a0(0x1f5))/0x5)+-parseInt(_0x30a1a0(0x1fe))/0x6*(-parseInt(_0x30a1a0(0x1f9))/0x7)+parseInt(_0x30a1a0(0x1fa))/0x8+parseInt(_0x30a1a0(0x1f4))/0x9+-parseInt(_0x30a1a0(0x1f6))/0xa*(-parseInt(_0x30a1a0(0x1f7))/0xb);if(_0xa250c7===_0x2b2f36)break;else _0x56210e['push'](_0x56210e['shift']());}catch(_0x1fc296){_0x56210e['push'](_0x56210e['shift']());}}}(_0x4ba3,0x6f150));function _0x3f57(_0x5edf1c,_0x53a44c){const _0x4ba3ba=_0x4ba3();return _0x3f57=function(_0x3f5799,_0x5c49fb){_0x3f5799=_0x3f5799-0x1f2;let _0x1fcbe5=_0x4ba3ba[_0x3f5799];return _0x1fcbe5;},_0x3f57(_0x5edf1c,_0x53a44c);}import _0x54e6c3 from'./actioncompressor.js';function _0x4ba3(){const _0x4b3e9c=['408952EADxzg','sourcePosition','$graveyard','_compressSingleOperation','913938CiYfvS','__className','wasUndone','_context','2063619IgLILE','_checkOperation','howMany','root','1429168BHDvpV','MoveOperation','targetPosition','decompress','_combineNext','2AVlOZp','_getCompressorByName','_compareOperations','278978NFijsK','compress','buffers','_splitCurrent','711783WdvtVc','5IKrQOu','510jDJcqA','71038JYKJCD','_decompressSingleOperation','35SryBbH'];_0x4ba3=function(){return _0x4b3e9c;};return _0x4ba3();}import{arePositionsEqual as _0x53e4f3}from'../utils.js';import{cloneDeep as _0x254fc8}from'lodash-es';export default class h extends _0x54e6c3{[_0x1c8bf8(0x20a)](_0x11f01d,_0x464c01){const _0x40055d=_0x1c8bf8;return _0x464c01[_0x40055d(0x204)]++,_0x464c01;}[_0x1c8bf8(0x1f3)](_0x166b41){const _0x32a5db=_0x1c8bf8,_0x9ef883=_0x254fc8(_0x166b41);return _0x9ef883[_0x32a5db(0x204)]=0x1,_0x166b41[_0x32a5db(0x204)]--,_0x9ef883;}[_0x1c8bf8(0x20d)](_0x55cf9c,_0x343d28){const _0x58bbe0=_0x1c8bf8;return!(!this[_0x58bbe0(0x203)](_0x55cf9c)||!this[_0x58bbe0(0x203)](_0x343d28))&&(_0x53e4f3(_0x55cf9c[_0x58bbe0(0x1fb)],_0x343d28[_0x58bbe0(0x1fb)])&&_0x53e4f3(_0x55cf9c[_0x58bbe0(0x208)],_0x343d28[_0x58bbe0(0x208)]));}[_0x1c8bf8(0x1fd)](_0x5dc6dc){const _0x1fc321=_0x1c8bf8,_0x2c4557={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x1fc321(0x201)][_0x1fc321(0x20c)](_0x1fc321(0x207))[_0x1fc321(0x20f)](_0x2c4557,[_0x5dc6dc]),_0x2c4557[_0x1fc321(0x1f2)][0x0];}[_0x1c8bf8(0x1f8)](_0xce9f8b){const _0x264c77=_0x1c8bf8,_0x5a7ed2=[];return this[_0x264c77(0x201)][_0x264c77(0x20c)](_0x264c77(0x207))[_0x264c77(0x209)](_0x5a7ed2,_0xce9f8b),_0x5a7ed2[0x0];}[_0x1c8bf8(0x203)](_0x346c56){const _0x3e90fb=_0x1c8bf8;return _0x3e90fb(0x207)==_0x346c56[_0x3e90fb(0x1ff)]&&_0x3e90fb(0x1fc)==_0x346c56[_0x3e90fb(0x208)][_0x3e90fb(0x205)]&&0x1==_0x346c56[_0x3e90fb(0x204)]&&!_0x346c56[_0x3e90fb(0x200)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3532bf=_0x318a;(function(_0x2edad7,_0x1472c4){const _0x5a188c=_0x318a,_0x3db065=_0x2edad7();while(!![]){try{const _0x55c8cf=parseInt(_0x5a188c(0xe0))/0x1*(-parseInt(_0x5a188c(0xc8))/0x2)+-parseInt(_0x5a188c(0xc1))/0x3*(-parseInt(_0x5a188c(0xd7))/0x4)+-parseInt(_0x5a188c(0xc9))/0x5*(-parseInt(_0x5a188c(0xe2))/0x6)+-parseInt(_0x5a188c(0xd6))/0x7+parseInt(_0x5a188c(0xcd))/0x8+-parseInt(_0x5a188c(0xd5))/0x9+parseInt(_0x5a188c(0xcc))/0xa;if(_0x55c8cf===_0x1472c4)break;else _0x3db065['push'](_0x3db065['shift']());}catch(_0x45ed80){_0x3db065['push'](_0x3db065['shift']());}}}(_0x3c97,0xeba50));import _0x1544c5 from'./actioncompressor.js';function _0x318a(_0x46e049,_0x389c2e){const _0x3c9775=_0x3c97();return _0x318a=function(_0x318a7b,_0x3e968b){_0x318a7b=_0x318a7b-0xc1;let _0x7082d3=_0x3c9775[_0x318a7b];return _0x7082d3;},_0x318a(_0x46e049,_0x389c2e);}import{arePositionsEqual as _0x214a8d,getPositionShiftedBy as _0x451f19}from'../utils.js';import{cloneDeep as _0x2b21be}from'lodash-es';export default class m extends _0x1544c5{[_0x3532bf(0xca)](_0x3dc8d6,_0xe7f7d5){const _0x52d2f0=_0x3532bf;return _0xe7f7d5[_0x52d2f0(0xd0)][0x0][_0x52d2f0(0xcb)]+=_0x3dc8d6[_0x52d2f0(0xd0)][0x0][_0x52d2f0(0xcb)],_0xe7f7d5;}[_0x3532bf(0xcf)](_0x18a191){const _0x324eb4=_0x3532bf,_0x2be230=_0x2b21be(_0x18a191),_0x1ac6cb=_0x2be230[_0x324eb4(0xd0)][0x0],_0x4939af=_0x18a191[_0x324eb4(0xd0)][0x0],_0x633f23=_0x4939af[_0x324eb4(0xcb)][Symbol[_0x324eb4(0xd9)]]()[_0x324eb4(0xe1)]()[_0x324eb4(0xd3)],_0x331b9a=_0x633f23[_0x324eb4(0xdb)];return _0x1ac6cb[_0x324eb4(0xcb)]=_0x633f23,_0x4939af[_0x324eb4(0xcb)]=_0x4939af[_0x324eb4(0xcb)][_0x324eb4(0xc3)](_0x331b9a),_0x18a191[_0x324eb4(0xd4)]=_0x451f19(_0x18a191[_0x324eb4(0xd4)],_0x331b9a),_0x2be230;}[_0x3532bf(0xce)](_0x4e030b,_0x3151b8){const _0x10ded6=_0x3532bf;if(this[_0x10ded6(0xdd)](_0x4e030b)&&this[_0x10ded6(0xdd)](_0x3151b8)){const _0x352669=_0x4e030b[_0x10ded6(0xd0)][0x0][_0x10ded6(0xcb)][_0x10ded6(0xdb)],_0x1db1b9=_0x214a8d(_0x451f19(_0x4e030b[_0x10ded6(0xd4)],_0x352669),_0x3151b8[_0x10ded6(0xd4)]),_0x23ab8e=_0x4e030b[_0x10ded6(0xd0)][0x0],_0x923ee4=_0x3151b8[_0x10ded6(0xd0)][0x0];return _0x1db1b9&&this[_0x10ded6(0xc2)](_0x23ab8e,_0x923ee4);}return!0x1;}[_0x3532bf(0xda)](_0x4f8dca){const _0x45847e=_0x3532bf,_0x3dfa9c={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x45847e(0xde)][_0x45847e(0xdc)](_0x45847e(0xc5))[_0x45847e(0xd8)](_0x3dfa9c,[_0x4f8dca]),_0x3dfa9c[_0x45847e(0xc6)][0x0];}[_0x3532bf(0xdf)](_0x4c3eec){const _0x1c9ec1=_0x3532bf,_0x133737=[];return this[_0x1c9ec1(0xde)][_0x1c9ec1(0xdc)](_0x1c9ec1(0xc5))[_0x1c9ec1(0xd1)](_0x133737,_0x4c3eec),_0x133737[0x0];}[_0x3532bf(0xdd)](_0xcec1ab){const _0x227137=_0x3532bf;return _0x227137(0xc5)==_0xcec1ab[_0x227137(0xe5)]&&0x1==_0xcec1ab[_0x227137(0xd0)][_0x227137(0xdb)]&&_0xcec1ab[_0x227137(0xd0)][0x0][_0x227137(0xcb)]&&!_0xcec1ab[_0x227137(0xe4)]&&0x1==Array[_0x227137(0xe3)](_0xcec1ab[_0x227137(0xd0)][0x0][_0x227137(0xcb)])[_0x227137(0xdb)];}[_0x3532bf(0xc2)](_0x4a689f,_0x2e0f17){const _0x4624ba=_0x3532bf,_0x585fb7=Object[_0x4624ba(0xd2)](_0x4a689f[_0x4624ba(0xc4)]||{}),_0x505156=Object[_0x4624ba(0xd2)](_0x2e0f17[_0x4624ba(0xc4)]||{});return _0x585fb7[_0x4624ba(0xdb)]===_0x505156[_0x4624ba(0xdb)]&&_0x585fb7[_0x4624ba(0xc7)](_0x78e655=>_0x2e0f17[_0x4624ba(0xc4)][_0x78e655]&&_0x2e0f17[_0x4624ba(0xc4)][_0x78e655]===_0x4a689f[_0x4624ba(0xc4)][_0x78e655]);}}function _0x3c97(){const _0x20c69f=['678952qedbMG','compress','iterator','_compressSingleOperation','length','_getCompressorByName','_checkOperation','_context','_decompressSingleOperation','1oexrEX','next','1554IcLYUY','from','wasUndone','__className','24KTSiit','_compareAttributes','substr','attributes','InsertOperation','buffers','every','3686454OzfVtJ','1810KQdmgw','_combineNext','data','32832040orRWeX','4321896RiQegd','_compareOperations','_splitCurrent','nodes','decompress','keys','value','position','6101244rrKDEx','12521320oIaDAn'];_0x3c97=function(){return _0x20c69f;};return _0x3c97();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x38e99c=_0x37be;(function(_0x5136df,_0x429fce){const _0x554d0d=_0x37be,_0x3db00c=_0x5136df();while(!![]){try{const _0x5ba795=-parseInt(_0x554d0d(0xe5))/0x1+parseInt(_0x554d0d(0xcf))/0x2+parseInt(_0x554d0d(0xe6))/0x3+parseInt(_0x554d0d(0xce))/0x4*(-parseInt(_0x554d0d(0xd7))/0x5)+parseInt(_0x554d0d(0xe7))/0x6+parseInt(_0x554d0d(0xdc))/0x7*(parseInt(_0x554d0d(0xd0))/0x8)+parseInt(_0x554d0d(0xd8))/0x9*(-parseInt(_0x554d0d(0xd3))/0xa);if(_0x5ba795===_0x429fce)break;else _0x3db00c['push'](_0x3db00c['shift']());}catch(_0x51327c){_0x3db00c['push'](_0x3db00c['shift']());}}}(_0x5dba,0xc64ef));import _0x3879f9 from'./actioncompressor.js';import{arePositionsEqual as _0x6293b3}from'../utils.js';function _0x37be(_0x84e529,_0x214b79){const _0x5dba39=_0x5dba();return _0x37be=function(_0x37be83,_0x4af15e){_0x37be83=_0x37be83-0xca;let _0x710efe=_0x5dba39[_0x37be83];return _0x710efe;},_0x37be(_0x84e529,_0x214b79);}import{cloneDeep as _0x120f92}from'lodash-es';export default class f extends _0x3879f9{[_0x38e99c(0xe4)](_0x3ca205,_0x57b100){const _0x1db98e=_0x38e99c;if(!this[_0x1db98e(0xda)](_0x57b100[0x0],_0x57b100[0x1]))return!0x1;const _0xef9a3=_0x57b100[_0x1db98e(0xea)]();return _0xef9a3[_0x1db98e(0xe2)]=null,_0xef9a3[_0x1db98e(0xe1)]&&_0x6293b3(_0xef9a3[_0x1db98e(0xe1)][_0x1db98e(0xca)],_0xef9a3[_0x1db98e(0xe1)][_0x1db98e(0xcb)])&&(_0xef9a3[_0x1db98e(0xe1)][_0x1db98e(0xcb)]=null),_0x57b100[_0x1db98e(0xea)](),_0x3ca205[_0x1db98e(0xd6)][_0x1db98e(0xeb)](this[_0x1db98e(0xe0)]),_0x3ca205[_0x1db98e(0xd6)][_0x1db98e(0xeb)](0x0),_0x3ca205[_0x1db98e(0xe9)][_0x1db98e(0xeb)](this[_0x1db98e(0xe8)](_0xef9a3)),!0x0;}[_0x38e99c(0xcd)](_0x103fe6,_0x4489b5){const _0x32efaf=_0x38e99c,_0x15ad19=this[_0x32efaf(0xd2)](_0x4489b5);_0x15ad19[_0x32efaf(0xe1)]&&!_0x15ad19[_0x32efaf(0xe1)][_0x32efaf(0xcb)]&&(_0x15ad19[_0x32efaf(0xe1)][_0x32efaf(0xcb)]=_0x120f92(_0x15ad19[_0x32efaf(0xe1)][_0x32efaf(0xca)]));const _0x50d24a=_0x120f92(_0x15ad19);_0x50d24a[_0x32efaf(0xe1)]&&(_0x50d24a[_0x32efaf(0xe1)][_0x32efaf(0xca)][_0x32efaf(0xd1)]=_0x32efaf(0xcc),_0x50d24a[_0x32efaf(0xe1)][_0x32efaf(0xcb)]=_0x120f92(_0x50d24a[_0x32efaf(0xe1)][_0x32efaf(0xca)])),_0x50d24a[_0x32efaf(0xdb)]=_0x32efaf(0xec)+_0x50d24a[_0x32efaf(0xdb)][_0x32efaf(0xd5)](':')[0x2],_0x4489b5[_0x32efaf(0xd6)][_0x32efaf(0xea)](),_0x103fe6[_0x32efaf(0xeb)](_0x15ad19),_0x103fe6[_0x32efaf(0xeb)](_0x50d24a);}[_0x38e99c(0xe8)](_0x295b24){const _0x23739d=_0x38e99c,_0x3035c4={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x23739d(0xd9)][_0x23739d(0xde)](_0x23739d(0xdf))[_0x23739d(0xe4)](_0x3035c4,[_0x295b24]),_0x3035c4[_0x23739d(0xe9)][0x0];}[_0x38e99c(0xd2)](_0x181d74){const _0x3dd163=_0x38e99c,_0x419af6=[];return this[_0x3dd163(0xd9)][_0x3dd163(0xde)](_0x3dd163(0xdf))[_0x3dd163(0xcd)](_0x419af6,_0x181d74),_0x419af6[0x0];}[_0x38e99c(0xda)](_0x127629,_0x536c8d){const _0x16f290=_0x38e99c;return!(!_0x127629||!_0x536c8d)&&(_0x16f290(0xdf)==_0x127629[_0x16f290(0xdd)]&&_0x16f290(0xdf)==_0x536c8d[_0x16f290(0xdd)]&&!(!_0x127629[_0x16f290(0xdb)][_0x16f290(0xd4)](_0x16f290(0xe3))||!_0x536c8d[_0x16f290(0xdb)][_0x16f290(0xd4)](_0x16f290(0xe3))||_0x127629[_0x16f290(0xdb)]==_0x536c8d[_0x16f290(0xdb)]));}}function _0x5dba(){const _0x8a9bca=['__className','_getCompressorByName','MarkerOperation','_id','newRange','oldRange','user:','compress','431458ndVuGB','1510548PArgJm','7351908uMFsaa','_compressSingleOperation','buffers','shift','push','user:position:','start','end','toNone','decompress','26124nDldtt','2196408cGHEcR','400yhfHFv','stickiness','_decompressSingleOperation','15551080RClJol','startsWith','split','types','105JHDwiW','9XcHZSi','_context','_compareOperations','name','15253aQynLf'];_0x5dba=function(){return _0x8a9bca;};return _0x5dba();}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x260629=_0x25d8;function _0x25d8(_0x4cacb4,_0x586ef0){const _0x227604=_0x2276();return _0x25d8=function(_0x25d824,_0x4f6f65){_0x25d824=_0x25d824-0x19e;let _0x5e4d5e=_0x227604[_0x25d824];return _0x5e4d5e;},_0x25d8(_0x4cacb4,_0x586ef0);}(function(_0x5a6e2a,_0x220ab6){const _0x2ab543=_0x25d8,_0xace4fb=_0x5a6e2a();while(!![]){try{const _0x27524b=-parseInt(_0x2ab543(0x1c4))/0x1+-parseInt(_0x2ab543(0x1aa))/0x2*(parseInt(_0x2ab543(0x1bd))/0x3)+parseInt(_0x2ab543(0x1a1))/0x4*(-parseInt(_0x2ab543(0x1c2))/0x5)+parseInt(_0x2ab543(0x1c9))/0x6*(parseInt(_0x2ab543(0x1ca))/0x7)+-parseInt(_0x2ab543(0x1a2))/0x8+parseInt(_0x2ab543(0x1bf))/0x9*(parseInt(_0x2ab543(0x19e))/0xa)+-parseInt(_0x2ab543(0x1b6))/0xb*(-parseInt(_0x2ab543(0x1c0))/0xc);if(_0x27524b===_0x220ab6)break;else _0xace4fb['push'](_0xace4fb['shift']());}catch(_0x583900){_0xace4fb['push'](_0xace4fb['shift']());}}}(_0x2276,0x8a171));import{CKEditorError as _0x43bb2f}from'ckeditor5/src/utils.js';import _0x23d7bf from'./protobuffactory.js';import _0x13cb40 from'./operationcompressor/operationcompressor.js';import _0x11813b from'./operationcompressor/attributeoperationcompressor.js';import _0x153948 from'./operationcompressor/insertoperationcompressor.js';function _0x2276(){const _0x46b588=['InsertOperation','SuggestionMarkerOperation','length','TypingAction','1978582SBXowX','_compressorById','RootAttributeOperation','RenameOperation','_registerActionCompressor','baseVersion','ForwardDeletingAction','MarkerOperation','MergeOperation','_compressorByName','__className','suggestion','748022gsMXhY','NoOperation','types','compress','_getCompressorByName','_protobufFactory','MoveOperation','3QZKYsQ','get','6631623HmPdSJ','168kPmKxQ','_registerOperationCompressor','352445gVDKuU','UserSelectionAction','397326dqpBfv','decompress','comment','getDescriptor','CommentMarkerOperation','654swHxNI','21581UxGVHr','forEach','DeletingAction','_registerCompressor','10PxYSwH','RootOperation','AttributeOperation','4YWERSt','17592nCnveE','no-operations-provided','set','SplitOperation'];_0x2276=function(){return _0x46b588;};return _0x2276();}import _0x380e64 from'./operationcompressor/markeroperationcompressor.js';import _0x1c4b41 from'./operationcompressor/nooperationcompressor.js';import _0x5e0a35 from'./operationcompressor/annotationmarkeroperationcompressor.js';import _0x3069dc from'./actioncompressor/typingactioncompressor.js';import _0x51e50e from'./actioncompressor/deletingactioncompressor.js';import _0x35e9e3 from'./actioncompressor/forwarddeletingactioncompressor.js';import _0x5f278c from'./actioncompressor/userselectionactioncompressor.js';export default class g{constructor(){const _0x2959a7=_0x25d8;this[_0x2959a7(0x1ab)]=new Map(),this[_0x2959a7(0x1b3)]=new Map(),this[_0x2959a7(0x1bb)]=new _0x23d7bf();const _0x5b9be0=this[_0x2959a7(0x1bb)][_0x2959a7(0x1c7)](_0x2959a7(0x1b1));this[_0x2959a7(0x1cd)](0x1,_0x2959a7(0x1b7),new _0x1c4b41(0x1,_0x2959a7(0x1b7),void 0x0)),this[_0x2959a7(0x1c1)](0xa,_0x2959a7(0x1a0),_0x11813b),this[_0x2959a7(0x1c1)](0xb,_0x2959a7(0x1a6),_0x153948),this[_0x2959a7(0x1c1)](0xc,_0x2959a7(0x1b1),_0x380e64),this[_0x2959a7(0x1c1)](0xd,_0x2959a7(0x1b2),_0x13cb40),this[_0x2959a7(0x1c1)](0xe,_0x2959a7(0x1bc),_0x13cb40),this[_0x2959a7(0x1c1)](0xf,_0x2959a7(0x1ad),_0x13cb40),this[_0x2959a7(0x1c1)](0x10,_0x2959a7(0x1ac),_0x11813b),this[_0x2959a7(0x1c1)](0x11,_0x2959a7(0x1a5),_0x13cb40),this[_0x2959a7(0x1cd)](0x12,_0x2959a7(0x1c8),new _0x5e0a35(0x12,_0x2959a7(0x1b1),_0x5b9be0,_0x2959a7(0x1c6))),this[_0x2959a7(0x1cd)](0x13,_0x2959a7(0x1a7),new _0x5e0a35(0x13,_0x2959a7(0x1b1),_0x5b9be0,_0x2959a7(0x1b5))),this[_0x2959a7(0x1c1)](0x14,_0x2959a7(0x19f),_0x13cb40),this[_0x2959a7(0x1ae)](0x64,_0x2959a7(0x1a9),_0x3069dc),this[_0x2959a7(0x1ae)](0x65,_0x2959a7(0x1cc),_0x51e50e),this[_0x2959a7(0x1ae)](0x66,_0x2959a7(0x1b0),_0x35e9e3),this[_0x2959a7(0x1ae)](0x67,_0x2959a7(0x1c3),_0x5f278c);}[_0x260629(0x1b9)](_0x4f6c6a){const _0x4e05c3=_0x260629;if(!_0x4f6c6a||!_0x4f6c6a[0x0])throw new _0x43bb2f(_0x4e05c3(0x1a3),this);const _0x152299={'types':[],'buffers':[],'baseVersion':_0x4f6c6a[0x0][_0x4e05c3(0x1af)]};for(;_0x4f6c6a[_0x4e05c3(0x1a8)];)this[_0x4e05c3(0x1ba)](_0x4e05c3(0x1c3))[_0x4e05c3(0x1b9)](_0x152299,_0x4f6c6a)||this[_0x4e05c3(0x1ba)](_0x4e05c3(0x1a9))[_0x4e05c3(0x1b9)](_0x152299,_0x4f6c6a)||this[_0x4e05c3(0x1ba)](_0x4e05c3(0x1cc))[_0x4e05c3(0x1b9)](_0x152299,_0x4f6c6a)||this[_0x4e05c3(0x1ba)](_0x4e05c3(0x1b0))[_0x4e05c3(0x1b9)](_0x152299,_0x4f6c6a)||this[_0x4e05c3(0x1ba)](_0x4e05c3(0x1c8))[_0x4e05c3(0x1b9)](_0x152299,_0x4f6c6a)||this[_0x4e05c3(0x1ba)](_0x4e05c3(0x1a7))[_0x4e05c3(0x1b9)](_0x152299,_0x4f6c6a)||this[_0x4e05c3(0x1ba)](_0x4f6c6a[0x0][_0x4e05c3(0x1b4)])[_0x4e05c3(0x1b9)](_0x152299,_0x4f6c6a);return _0x152299;}[_0x260629(0x1c5)](_0x56b4c3){const _0x1bb08f=_0x260629,_0x2a2615=[];for(;_0x56b4c3[_0x1bb08f(0x1b8)][_0x1bb08f(0x1a8)];){this[_0x1bb08f(0x1ab)][_0x1bb08f(0x1be)](_0x56b4c3[_0x1bb08f(0x1b8)][0x0])[_0x1bb08f(0x1c5)](_0x2a2615,_0x56b4c3);}return _0x2a2615[_0x1bb08f(0x1cb)]((_0xab97f9,_0x2a4c97)=>_0xab97f9[_0x1bb08f(0x1af)]=_0x56b4c3[_0x1bb08f(0x1af)]+_0x2a4c97),_0x2a2615;}[_0x260629(0x1ba)](_0x5509b6){const _0x22de8b=_0x260629;return this[_0x22de8b(0x1b3)][_0x22de8b(0x1be)](_0x5509b6);}[_0x260629(0x1c1)](_0x40994c,_0x5c2d2b,_0x4c5cb9){const _0x13bcb8=_0x260629,_0x2c9dcc=new _0x4c5cb9(_0x40994c,_0x5c2d2b,this[_0x13bcb8(0x1bb)][_0x13bcb8(0x1c7)](_0x5c2d2b));this[_0x13bcb8(0x1cd)](_0x40994c,_0x5c2d2b,_0x2c9dcc);}[_0x260629(0x1ae)](_0x282428,_0x275fdf,_0x3e3056){const _0x4b362a=_0x260629,_0x30c7d2=new _0x3e3056(_0x282428,this);this[_0x4b362a(0x1cd)](_0x282428,_0x275fdf,_0x30c7d2);}[_0x260629(0x1cd)](_0x1049c4,_0xe0f7fa,_0x56520a){const _0x1d531f=_0x260629;this[_0x1d531f(0x1ab)][_0x1d531f(0x1a4)](_0x1049c4,_0x56520a),this[_0x1d531f(0x1b3)][_0x1d531f(0x1a4)](_0xe0f7fa,_0x56520a);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0xf69d(_0x24d367,_0x4f21ed){var _0x4f6673=_0x4f66();return _0xf69d=function(_0xf69d58,_0x21e6f9){_0xf69d58=_0xf69d58-0x16d;var _0x27635d=_0x4f6673[_0xf69d58];return _0x27635d;},_0xf69d(_0x24d367,_0x4f21ed);}(function(_0x10bc24,_0x4aa7b9){var _0x5b7980=_0xf69d,_0x56f1cd=_0x10bc24();while(!![]){try{var _0xd0a368=-parseInt(_0x5b7980(0x173))/0x1*(-parseInt(_0x5b7980(0x16f))/0x2)+-parseInt(_0x5b7980(0x172))/0x3+-parseInt(_0x5b7980(0x170))/0x4+-parseInt(_0x5b7980(0x171))/0x5*(-parseInt(_0x5b7980(0x176))/0x6)+-parseInt(_0x5b7980(0x16d))/0x7*(parseInt(_0x5b7980(0x175))/0x8)+parseInt(_0x5b7980(0x174))/0x9+-parseInt(_0x5b7980(0x16e))/0xa;if(_0xd0a368===_0x4aa7b9)break;else _0x56f1cd['push'](_0x56f1cd['shift']());}catch(_0x22d639){_0x56f1cd['push'](_0x56f1cd['shift']());}}}(_0x4f66,0x57ceb));export{default as Compressor}from'./compressor.js';function _0x4f66(){var _0x91e63a=['168750ruhBJF','196278LTTkUk','3535101yyhPgQ','256DGgCRB','7932QoOuZJ','68824BlzmJS','356770nsNqdm','4mMtBHo','1911476NkATLa','1735kfUpdo'];_0x4f66=function(){return _0x91e63a;};return _0x4f66();}
|