@ckeditor/ckeditor5-operations-compressor 46.0.1-alpha.1 → 46.0.1-alpha.3
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/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
|
-
|
|
23
|
+
const _0x41ca80=_0x3aa0;(function(_0x217868,_0xee2234){const _0x1bee30=_0x3aa0,_0x4d9c3b=_0x217868();while(!![]){try{const _0x37232b=parseInt(_0x1bee30(0xe1))/0x1+-parseInt(_0x1bee30(0xd3))/0x2*(parseInt(_0x1bee30(0xef))/0x3)+-parseInt(_0x1bee30(0xd5))/0x4*(-parseInt(_0x1bee30(0xdf))/0x5)+parseInt(_0x1bee30(0xdb))/0x6+-parseInt(_0x1bee30(0xe7))/0x7*(parseInt(_0x1bee30(0xda))/0x8)+-parseInt(_0x1bee30(0xe5))/0x9*(-parseInt(_0x1bee30(0xe9))/0xa)+parseInt(_0x1bee30(0xd9))/0xb*(-parseInt(_0x1bee30(0xdc))/0xc);if(_0x37232b===_0xee2234)break;else _0x4d9c3b['push'](_0x4d9c3b['shift']());}catch(_0x51d981){_0x4d9c3b['push'](_0x4d9c3b['shift']());}}}(_0x3f06,0x97b8e));import{ActionCompressor as _0x1a0623}from'./actioncompressor.js';import{arePositionsEqual as _0x156a9e,getPositionShiftedBy as _0x1f7e40}from'../utils.js';import{cloneDeep as _0x54f960}from'es-toolkit/compat';function _0x3f06(){const _0x1b17f7=['1061341PJqFHr','_checkOperation','decompress','__className','337563WgbppE','buffers','343OadEQO','sourcePosition','160uuxgQA','_compareOperations','compress','_decompressSingleOperation','_getCompressorByName','_combineNext','9nzvzQd','$graveyard','targetPosition','654668uozmhR','root','1135248WNRjdt','howMany','_context','_splitCurrent','44YVxjSm','142408EMWeKa','4313496lGAIFl','3119736bJTfuH','_compressSingleOperation','wasUndone','20yUeHOg','MoveOperation'];_0x3f06=function(){return _0x1b17f7;};return _0x3f06();}function _0x3aa0(_0x4e2864,_0x4775fd){const _0x3f06cf=_0x3f06();return _0x3aa0=function(_0x3aa08a,_0x485ea4){_0x3aa08a=_0x3aa08a-0xd1;let _0x21fec2=_0x3f06cf[_0x3aa08a];return _0x21fec2;},_0x3aa0(_0x4e2864,_0x4775fd);}export class DeletingActionCompressor extends _0x1a0623{[_0x41ca80(0xee)](_0x40bc8a,_0x5157f8){const _0x4cce6f=_0x41ca80;return _0x5157f8[_0x4cce6f(0xd6)]++,_0x5157f8[_0x4cce6f(0xe8)]=_0x54f960(_0x40bc8a[_0x4cce6f(0xe8)]),_0x5157f8;}[_0x41ca80(0xd8)](_0x2bcfd6){const _0x1277f6=_0x41ca80,_0x1d99c8=_0x54f960(_0x2bcfd6);return _0x2bcfd6[_0x1277f6(0xd6)]--,_0x1d99c8[_0x1277f6(0xd6)]=0x1,_0x1d99c8[_0x1277f6(0xe8)]=_0x1f7e40(_0x1d99c8[_0x1277f6(0xe8)],_0x2bcfd6[_0x1277f6(0xd6)]),_0x1d99c8;}[_0x41ca80(0xea)](_0x156125,_0x4204b1){const _0x342ec9=_0x41ca80;return!(!this[_0x342ec9(0xe2)](_0x156125)||!this[_0x342ec9(0xe2)](_0x4204b1))&&(_0x156a9e(_0x1f7e40(_0x156125[_0x342ec9(0xe8)],-0x1),_0x4204b1[_0x342ec9(0xe8)])&&_0x156a9e(_0x156125[_0x342ec9(0xd2)],_0x4204b1[_0x342ec9(0xd2)]));}[_0x41ca80(0xdd)](_0x121e79){const _0x452307=_0x41ca80,_0x49412a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x452307(0xd7)][_0x452307(0xed)](_0x452307(0xe0))[_0x452307(0xeb)](_0x49412a,[_0x121e79]),_0x49412a[_0x452307(0xe6)][0x0];}[_0x41ca80(0xec)](_0x3dda27){const _0x2ec681=_0x41ca80,_0x3a5bb0=[];return this[_0x2ec681(0xd7)][_0x2ec681(0xed)](_0x2ec681(0xe0))[_0x2ec681(0xe3)](_0x3a5bb0,_0x3dda27),_0x3a5bb0[0x0];}[_0x41ca80(0xe2)](_0x57debc){const _0xee4e4f=_0x41ca80;return _0xee4e4f(0xe0)==_0x57debc[_0xee4e4f(0xe4)]&&_0xee4e4f(0xd1)==_0x57debc[_0xee4e4f(0xd2)][_0xee4e4f(0xd4)]&&0x1==_0x57debc[_0xee4e4f(0xd6)]&&!_0x57debc[_0xee4e4f(0xde)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x154579=_0x970f;(function(_0x5b85d6,_0x334fc9){const _0x206572=_0x970f,_0x5edf99=_0x5b85d6();while(!![]){try{const _0x4f8535=-parseInt(_0x206572(0x162))/0x1*(-parseInt(_0x206572(0x15d))/0x2)+parseInt(_0x206572(0x15c))/0x3+-parseInt(_0x206572(0x161))/0x4*(parseInt(_0x206572(0x16f))/0x5)+-parseInt(_0x206572(0x16c))/0x6*(parseInt(_0x206572(0x165))/0x7)+-parseInt(_0x206572(0x15a))/0x8+-parseInt(_0x206572(0x16e))/0x9+parseInt(_0x206572(0x16a))/0xa;if(_0x4f8535===_0x334fc9)break;else _0x5edf99['push'](_0x5edf99['shift']());}catch(_0x6e9480){_0x5edf99['push'](_0x5edf99['shift']());}}}(_0x7b70,0xcc89b));import{ActionCompressor as _0x230990}from'./actioncompressor.js';function _0x7b70(){const _0x10a222=['sourcePosition','$graveyard','25107190nDZrPf','buffers','618uWgULC','decompress','13011309AEiAxG','10hYHncQ','wasUndone','_checkOperation','__className','_combineNext','_compressSingleOperation','compress','MoveOperation','4748008pluWOj','_decompressSingleOperation','2861337UCBPKO','4rvOkgZ','_context','_splitCurrent','howMany','908216rlCbdT','475543kjYnaD','_getCompressorByName','root','73703FQltMU','targetPosition','_compareOperations'];_0x7b70=function(){return _0x10a222;};return _0x7b70();}import{arePositionsEqual as _0x3586bc}from'../utils.js';import{cloneDeep as _0x47215}from'es-toolkit/compat';function _0x970f(_0x49caab,_0x2f3bbb){const _0x7b708b=_0x7b70();return _0x970f=function(_0x970f37,_0x3ff4fb){_0x970f37=_0x970f37-0x155;let _0x245df7=_0x7b708b[_0x970f37];return _0x245df7;},_0x970f(_0x49caab,_0x2f3bbb);}export class ForwardDeletingActionCompressor extends _0x230990{[_0x154579(0x156)](_0x35d54f,_0x3177b8){const _0x209116=_0x154579;return _0x3177b8[_0x209116(0x160)]++,_0x3177b8;}[_0x154579(0x15f)](_0x27f641){const _0x4e4603=_0x154579,_0x2dedeb=_0x47215(_0x27f641);return _0x2dedeb[_0x4e4603(0x160)]=0x1,_0x27f641[_0x4e4603(0x160)]--,_0x2dedeb;}[_0x154579(0x167)](_0x43b2c8,_0x10713b){const _0x49d00=_0x154579;return!(!this[_0x49d00(0x171)](_0x43b2c8)||!this[_0x49d00(0x171)](_0x10713b))&&(_0x3586bc(_0x43b2c8[_0x49d00(0x168)],_0x10713b[_0x49d00(0x168)])&&_0x3586bc(_0x43b2c8[_0x49d00(0x166)],_0x10713b[_0x49d00(0x166)]));}[_0x154579(0x157)](_0x32ebe9){const _0x290411=_0x154579,_0x2f18b7={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x290411(0x15e)][_0x290411(0x163)](_0x290411(0x159))[_0x290411(0x158)](_0x2f18b7,[_0x32ebe9]),_0x2f18b7[_0x290411(0x16b)][0x0];}[_0x154579(0x15b)](_0x505f55){const _0x45cecf=_0x154579,_0x22661e=[];return this[_0x45cecf(0x15e)][_0x45cecf(0x163)](_0x45cecf(0x159))[_0x45cecf(0x16d)](_0x22661e,_0x505f55),_0x22661e[0x0];}[_0x154579(0x171)](_0x45e7fd){const _0x2dc81e=_0x154579;return _0x2dc81e(0x159)==_0x45e7fd[_0x2dc81e(0x155)]&&_0x2dc81e(0x169)==_0x45e7fd[_0x2dc81e(0x166)][_0x2dc81e(0x164)]&&0x1==_0x45e7fd[_0x2dc81e(0x160)]&&!_0x45e7fd[_0x2dc81e(0x170)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x44e13c=_0x81aa;function _0x1f4e(){const _0x2c5d05=['keys','InsertOperation','590022nweTwD','_getCompressorByName','iterator','data','from','decompress','11819990AnPWBp','5115eGRmtS','12CXLOrz','_compareOperations','_checkOperation','substr','length','_combineNext','__className','next','42530279aBOraU','49wWcbGc','value','_decompressSingleOperation','2629740dxBbVW','127oraujY','_compareAttributes','6514jAIVuU','position','9KbVpYv','buffers','wasUndone','_splitCurrent','_context','every','1772eivohj','attributes','nodes','compress','_compressSingleOperation','9706072gZsXMI'];_0x1f4e=function(){return _0x2c5d05;};return _0x1f4e();}(function(_0x9b4349,_0x44f2f){const _0x1f8fc4=_0x81aa,_0x25648d=_0x9b4349();while(!![]){try{const _0x813d7c=parseInt(_0x1f8fc4(0x9f))/0x1*(parseInt(_0x1f8fc4(0xa1))/0x2)+-parseInt(_0x1f8fc4(0x9e))/0x3+parseInt(_0x1f8fc4(0xa9))/0x4*(parseInt(_0x1f8fc4(0x91))/0x5)+-parseInt(_0x1f8fc4(0xb1))/0x6*(parseInt(_0x1f8fc4(0x9b))/0x7)+-parseInt(_0x1f8fc4(0xae))/0x8*(parseInt(_0x1f8fc4(0xa3))/0x9)+-parseInt(_0x1f8fc4(0x90))/0xa+parseInt(_0x1f8fc4(0x9a))/0xb*(parseInt(_0x1f8fc4(0x92))/0xc);if(_0x813d7c===_0x44f2f)break;else _0x25648d['push'](_0x25648d['shift']());}catch(_0x3cb41e){_0x25648d['push'](_0x25648d['shift']());}}}(_0x1f4e,0xbcb9c));function _0x81aa(_0x36f34c,_0x54449f){const _0x1f4e45=_0x1f4e();return _0x81aa=function(_0x81aaff,_0x59a65e){_0x81aaff=_0x81aaff-0x8b;let _0x2bff0a=_0x1f4e45[_0x81aaff];return _0x2bff0a;},_0x81aa(_0x36f34c,_0x54449f);}import{ActionCompressor as _0x15952c}from'./actioncompressor.js';import{arePositionsEqual as _0x1c0f36,getPositionShiftedBy as _0x4bb7a7}from'../utils.js';import{cloneDeep as _0x49ad8d}from'es-toolkit/compat';export class TypingActionCompressor extends _0x15952c{[_0x44e13c(0x97)](_0x1deac7,_0x495f5b){const _0x15c1fe=_0x44e13c;return _0x495f5b[_0x15c1fe(0xab)][0x0][_0x15c1fe(0x8d)]+=_0x1deac7[_0x15c1fe(0xab)][0x0][_0x15c1fe(0x8d)],_0x495f5b;}[_0x44e13c(0xa6)](_0x5291d3){const _0x2cc5cf=_0x44e13c,_0x41694d=_0x49ad8d(_0x5291d3),_0x429adb=_0x41694d[_0x2cc5cf(0xab)][0x0],_0x209a01=_0x5291d3[_0x2cc5cf(0xab)][0x0],_0x4ae4a7=_0x209a01[_0x2cc5cf(0x8d)][Symbol[_0x2cc5cf(0x8c)]]()[_0x2cc5cf(0x99)]()[_0x2cc5cf(0x9c)],_0x5be8ae=_0x4ae4a7[_0x2cc5cf(0x96)];return _0x429adb[_0x2cc5cf(0x8d)]=_0x4ae4a7,_0x209a01[_0x2cc5cf(0x8d)]=_0x209a01[_0x2cc5cf(0x8d)][_0x2cc5cf(0x95)](_0x5be8ae),_0x5291d3[_0x2cc5cf(0xa2)]=_0x4bb7a7(_0x5291d3[_0x2cc5cf(0xa2)],_0x5be8ae),_0x41694d;}[_0x44e13c(0x93)](_0x2b0749,_0x36c584){const _0x174dac=_0x44e13c;if(this[_0x174dac(0x94)](_0x2b0749)&&this[_0x174dac(0x94)](_0x36c584)){const _0xe70f35=_0x2b0749[_0x174dac(0xab)][0x0][_0x174dac(0x8d)][_0x174dac(0x96)],_0x76d00c=_0x1c0f36(_0x4bb7a7(_0x2b0749[_0x174dac(0xa2)],_0xe70f35),_0x36c584[_0x174dac(0xa2)]),_0x13d83e=_0x2b0749[_0x174dac(0xab)][0x0],_0x424c5c=_0x36c584[_0x174dac(0xab)][0x0];return _0x76d00c&&this[_0x174dac(0xa0)](_0x13d83e,_0x424c5c);}return!0x1;}[_0x44e13c(0xad)](_0x2e5698){const _0x398ffd=_0x44e13c,_0x5112c7={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x398ffd(0xa7)][_0x398ffd(0x8b)](_0x398ffd(0xb0))[_0x398ffd(0xac)](_0x5112c7,[_0x2e5698]),_0x5112c7[_0x398ffd(0xa4)][0x0];}[_0x44e13c(0x9d)](_0x34c3ee){const _0x5f0a3f=_0x44e13c,_0x197bb3=[];return this[_0x5f0a3f(0xa7)][_0x5f0a3f(0x8b)](_0x5f0a3f(0xb0))[_0x5f0a3f(0x8f)](_0x197bb3,_0x34c3ee),_0x197bb3[0x0];}[_0x44e13c(0x94)](_0x2d38a6){const _0x30c89f=_0x44e13c;return _0x30c89f(0xb0)==_0x2d38a6[_0x30c89f(0x98)]&&0x1==_0x2d38a6[_0x30c89f(0xab)][_0x30c89f(0x96)]&&_0x2d38a6[_0x30c89f(0xab)][0x0][_0x30c89f(0x8d)]&&!_0x2d38a6[_0x30c89f(0xa5)]&&0x1==Array[_0x30c89f(0x8e)](_0x2d38a6[_0x30c89f(0xab)][0x0][_0x30c89f(0x8d)])[_0x30c89f(0x96)];}[_0x44e13c(0xa0)](_0x39ae54,_0x4a24b4){const _0x167053=_0x44e13c,_0x20eb09=Object[_0x167053(0xaf)](_0x39ae54[_0x167053(0xaa)]||{}),_0xe756a6=Object[_0x167053(0xaf)](_0x4a24b4[_0x167053(0xaa)]||{});return _0x20eb09[_0x167053(0x96)]===_0xe756a6[_0x167053(0x96)]&&_0x20eb09[_0x167053(0xa8)](_0x3379f7=>_0x4a24b4[_0x167053(0xaa)][_0x3379f7]&&_0x4a24b4[_0x167053(0xaa)][_0x3379f7]===_0x39ae54[_0x167053(0xaa)][_0x3379f7]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x15d7(){const _0x4a1bd2=['compress','__className','oldRange','_compareOperations','buffers','_decompressSingleOperation','push','user:position:','startsWith','split','stickiness','decompress','388378rCdyjA','MarkerOperation','10gwRIEv','newRange','5548854sZUfZJ','287255lfGqpl','_id','user:','_getCompressorByName','_context','types','2450583eJofNZ','_compressSingleOperation','6NSvJAf','toNone','9578000XUDmrn','shift','name','start','end','7ExZltj','4444AJxfHt','42384CykQQY','4pGHeYV','1840188JQudBQ'];_0x15d7=function(){return _0x4a1bd2;};return _0x15d7();}const _0x3d35a3=_0x3b6d;(function(_0x174fbf,_0x5bc734){const _0x28fd5f=_0x3b6d,_0x39b279=_0x174fbf();while(!![]){try{const _0x161a47=-parseInt(_0x28fd5f(0xea))/0x1*(parseInt(_0x28fd5f(0xdd))/0x2)+parseInt(_0x28fd5f(0xf5))/0x3+parseInt(_0x28fd5f(0xf4))/0x4*(-parseInt(_0x28fd5f(0xe2))/0x5)+-parseInt(_0x28fd5f(0xe1))/0x6*(parseInt(_0x28fd5f(0xf1))/0x7)+parseInt(_0x28fd5f(0xec))/0x8+-parseInt(_0x28fd5f(0xe8))/0x9*(parseInt(_0x28fd5f(0xdf))/0xa)+parseInt(_0x28fd5f(0xf2))/0xb*(parseInt(_0x28fd5f(0xf3))/0xc);if(_0x161a47===_0x5bc734)break;else _0x39b279['push'](_0x39b279['shift']());}catch(_0x188e77){_0x39b279['push'](_0x39b279['shift']());}}}(_0x15d7,0xc7ae5));import{ActionCompressor as _0x16366b}from'./actioncompressor.js';import{arePositionsEqual as _0x443211}from'../utils.js';function _0x3b6d(_0x578df2,_0x49d95c){const _0x15d7e3=_0x15d7();return _0x3b6d=function(_0x3b6de9,_0x67d24a){_0x3b6de9=_0x3b6de9-0xd2;let _0x3b6309=_0x15d7e3[_0x3b6de9];return _0x3b6309;},_0x3b6d(_0x578df2,_0x49d95c);}import{cloneDeep as _0x42f419}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x16366b{[_0x3d35a3(0xf6)](_0x304cb5,_0x4022a5){const _0x2bc2fd=_0x3d35a3;if(!this[_0x2bc2fd(0xd4)](_0x4022a5[0x0],_0x4022a5[0x1]))return!0x1;const _0x20c277=_0x4022a5[_0x2bc2fd(0xed)]();return _0x20c277[_0x2bc2fd(0xd3)]=null,_0x20c277[_0x2bc2fd(0xe0)]&&_0x443211(_0x20c277[_0x2bc2fd(0xe0)][_0x2bc2fd(0xef)],_0x20c277[_0x2bc2fd(0xe0)][_0x2bc2fd(0xf0)])&&(_0x20c277[_0x2bc2fd(0xe0)][_0x2bc2fd(0xf0)]=null),_0x4022a5[_0x2bc2fd(0xed)](),_0x304cb5[_0x2bc2fd(0xe7)][_0x2bc2fd(0xd7)](this[_0x2bc2fd(0xe3)]),_0x304cb5[_0x2bc2fd(0xe7)][_0x2bc2fd(0xd7)](0x0),_0x304cb5[_0x2bc2fd(0xd5)][_0x2bc2fd(0xd7)](this[_0x2bc2fd(0xe9)](_0x20c277)),!0x0;}[_0x3d35a3(0xdc)](_0x3a6f7e,_0xb17051){const _0x42b783=_0x3d35a3,_0x585e20=this[_0x42b783(0xd6)](_0xb17051);_0x585e20[_0x42b783(0xe0)]&&!_0x585e20[_0x42b783(0xe0)][_0x42b783(0xf0)]&&(_0x585e20[_0x42b783(0xe0)][_0x42b783(0xf0)]=_0x42f419(_0x585e20[_0x42b783(0xe0)][_0x42b783(0xef)]));const _0x374c25=_0x42f419(_0x585e20);_0x374c25[_0x42b783(0xe0)]&&(_0x374c25[_0x42b783(0xe0)][_0x42b783(0xef)][_0x42b783(0xdb)]=_0x42b783(0xeb),_0x374c25[_0x42b783(0xe0)][_0x42b783(0xf0)]=_0x42f419(_0x374c25[_0x42b783(0xe0)][_0x42b783(0xef)])),_0x374c25[_0x42b783(0xee)]=_0x42b783(0xd8)+_0x374c25[_0x42b783(0xee)][_0x42b783(0xda)](':')[0x2],_0xb17051[_0x42b783(0xe7)][_0x42b783(0xed)](),_0x3a6f7e[_0x42b783(0xd7)](_0x585e20),_0x3a6f7e[_0x42b783(0xd7)](_0x374c25);}[_0x3d35a3(0xe9)](_0xc99325){const _0x242e3c=_0x3d35a3,_0x3113be={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x242e3c(0xe6)][_0x242e3c(0xe5)](_0x242e3c(0xde))[_0x242e3c(0xf6)](_0x3113be,[_0xc99325]),_0x3113be[_0x242e3c(0xd5)][0x0];}[_0x3d35a3(0xd6)](_0x34dcc8){const _0xc863b4=_0x3d35a3,_0x534d7b=[];return this[_0xc863b4(0xe6)][_0xc863b4(0xe5)](_0xc863b4(0xde))[_0xc863b4(0xdc)](_0x534d7b,_0x34dcc8),_0x534d7b[0x0];}[_0x3d35a3(0xd4)](_0x1963d5,_0x32f715){const _0x57dfb6=_0x3d35a3;return!(!_0x1963d5||!_0x32f715)&&(_0x57dfb6(0xde)==_0x1963d5[_0x57dfb6(0xd2)]&&_0x57dfb6(0xde)==_0x32f715[_0x57dfb6(0xd2)]&&!(!_0x1963d5[_0x57dfb6(0xee)][_0x57dfb6(0xd9)](_0x57dfb6(0xe4))||!_0x32f715[_0x57dfb6(0xee)][_0x57dfb6(0xd9)](_0x57dfb6(0xe4))||_0x1963d5[_0x57dfb6(0xee)]==_0x32f715[_0x57dfb6(0xee)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13fdb8=_0x1c24;(function(_0x2961aa,_0x306959){const _0x3142f3=_0x1c24,_0x3c0e47=_0x2961aa();while(!![]){try{const _0x57ef6e=parseInt(_0x3142f3(0x1a5))/0x1+-parseInt(_0x3142f3(0x1bd))/0x2*(-parseInt(_0x3142f3(0x1b2))/0x3)+-parseInt(_0x3142f3(0x1cb))/0x4*(-parseInt(_0x3142f3(0x1a9))/0x5)+parseInt(_0x3142f3(0x1c1))/0x6*(-parseInt(_0x3142f3(0x1a3))/0x7)+parseInt(_0x3142f3(0x1be))/0x8*(-parseInt(_0x3142f3(0x1c9))/0x9)+-parseInt(_0x3142f3(0x1a8))/0xa+parseInt(_0x3142f3(0x1b1))/0xb;if(_0x57ef6e===_0x306959)break;else _0x3c0e47['push'](_0x3c0e47['shift']());}catch(_0x588c0d){_0x3c0e47['push'](_0x3c0e47['shift']());}}}(_0x1fdf,0x8563f));import{CKEditorError as _0x3d8b3b}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x4cc919}from'./protobuffactory.js';import{OperationCompressor as _0x528109}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x321fec}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0x75b79f}from'./operationcompressor/insertoperationcompressor.js';function _0x1fdf(){const _0x561c48=['_registerCompressor','RootOperation','baseVersion','2SPYCof','8KWDSqm','_registerOperationCompressor','RootAttributeOperation','18bNQYzM','compress','getDescriptor','TypingAction','decompress-compressor-not-found','NoOperation','length','set','2961351TxlcGD','MarkerOperation','12XAVduV','AttributeOperation','_compressorByName','InsertOperation','RenameOperation','MoveOperation','no-operations-provided','suggestion','934444ZwwyGF','decompress','796623mrzeiI','forEach','DeletingAction','10757360XgxmCi','352345sxCqRR','SplitOperation','types','_getCompressorByName','_protobufFactory','UserSelectionAction','_registerActionCompressor','_compressorById','3801149bcGnvh','2994087NTEoIW','comment','__className','CommentMarkerOperation','ForwardDeletingAction','get','MergeOperation','SuggestionMarkerOperation'];_0x1fdf=function(){return _0x561c48;};return _0x1fdf();}import{MarkerOperationCompressor as _0x5bdc69}from'./operationcompressor/markeroperationcompressor.js';function _0x1c24(_0x59c93c,_0x5f3db4){const _0x1fdf31=_0x1fdf();return _0x1c24=function(_0x1c242b,_0x1b3d97){_0x1c242b=_0x1c242b-0x19f;let _0x4b2ad5=_0x1fdf31[_0x1c242b];return _0x4b2ad5;},_0x1c24(_0x59c93c,_0x5f3db4);}import{NoOperationCompressor as _0x4c1c8f}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x5b6910}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x22de67}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x5252b9}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x414a6b}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x25e253}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x13fdb8(0x1b0)];[_0x13fdb8(0x1cd)];[_0x13fdb8(0x1ad)];constructor(){const _0x110485=_0x13fdb8;this[_0x110485(0x1b0)]=new Map(),this[_0x110485(0x1cd)]=new Map(),this[_0x110485(0x1ad)]=new _0x4cc919();const _0x8ef81d=this[_0x110485(0x1ad)][_0x110485(0x1c3)](_0x110485(0x1ca));this[_0x110485(0x1ba)](0x1,_0x110485(0x1c6),new _0x4c1c8f(0x1,_0x110485(0x1c6),void 0x0)),this[_0x110485(0x1bf)](0xa,_0x110485(0x1cc),_0x321fec),this[_0x110485(0x1bf)](0xb,_0x110485(0x1ce),_0x75b79f),this[_0x110485(0x1bf)](0xc,_0x110485(0x1ca),_0x5bdc69),this[_0x110485(0x1bf)](0xd,_0x110485(0x1b8),_0x528109),this[_0x110485(0x1bf)](0xe,_0x110485(0x1a0),_0x528109),this[_0x110485(0x1bf)](0xf,_0x110485(0x19f),_0x528109),this[_0x110485(0x1bf)](0x10,_0x110485(0x1c0),_0x321fec),this[_0x110485(0x1bf)](0x11,_0x110485(0x1aa),_0x528109),this[_0x110485(0x1ba)](0x12,_0x110485(0x1b5),new _0x5b6910(0x12,_0x110485(0x1ca),_0x8ef81d,_0x110485(0x1b3))),this[_0x110485(0x1ba)](0x13,_0x110485(0x1b9),new _0x5b6910(0x13,_0x110485(0x1ca),_0x8ef81d,_0x110485(0x1a2))),this[_0x110485(0x1bf)](0x14,_0x110485(0x1bb),_0x528109),this[_0x110485(0x1af)](0x64,_0x110485(0x1c4),_0x22de67),this[_0x110485(0x1af)](0x65,_0x110485(0x1a7),_0x5252b9),this[_0x110485(0x1af)](0x66,_0x110485(0x1b6),_0x414a6b),this[_0x110485(0x1af)](0x67,_0x110485(0x1ae),_0x25e253);}[_0x13fdb8(0x1c2)](_0x3220c7){const _0x35afd1=_0x13fdb8;if(!_0x3220c7||!_0x3220c7[0x0])throw new _0x3d8b3b(_0x35afd1(0x1a1),this);const _0x15b888={'types':[],'buffers':[],'baseVersion':_0x3220c7[0x0][_0x35afd1(0x1bc)]};for(;_0x3220c7[_0x35afd1(0x1c7)];)this[_0x35afd1(0x1ac)](_0x35afd1(0x1ae))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1c4))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1a7))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1b6))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1b5))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x35afd1(0x1b9))[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7)||this[_0x35afd1(0x1ac)](_0x3220c7[0x0][_0x35afd1(0x1b4)])[_0x35afd1(0x1c2)](_0x15b888,_0x3220c7);return _0x15b888;}[_0x13fdb8(0x1a4)](_0x4e0b3c){const _0x3fe7f0=_0x13fdb8,_0x30ea9f=[];for(;_0x4e0b3c[_0x3fe7f0(0x1ab)][_0x3fe7f0(0x1c7)];){const _0x550f52=this[_0x3fe7f0(0x1b0)][_0x3fe7f0(0x1b7)](_0x4e0b3c[_0x3fe7f0(0x1ab)][0x0]);if(!_0x550f52)throw new _0x3d8b3b(_0x3fe7f0(0x1c5),this,{'type':_0x4e0b3c[_0x3fe7f0(0x1ab)][0x0]});_0x550f52[_0x3fe7f0(0x1a4)](_0x30ea9f,_0x4e0b3c);}return _0x30ea9f[_0x3fe7f0(0x1a6)]((_0x504e3d,_0x36743f)=>_0x504e3d[_0x3fe7f0(0x1bc)]=_0x4e0b3c[_0x3fe7f0(0x1bc)]+_0x36743f),_0x30ea9f;}[_0x13fdb8(0x1ac)](_0x446c05){const _0x3067a2=_0x13fdb8;return this[_0x3067a2(0x1cd)][_0x3067a2(0x1b7)](_0x446c05);}[_0x13fdb8(0x1bf)](_0x290a33,_0x50f61f,_0x9aa86a){const _0x3a9221=_0x13fdb8,_0x2348c5=new _0x9aa86a(_0x290a33,_0x50f61f,this[_0x3a9221(0x1ad)][_0x3a9221(0x1c3)](_0x50f61f));this[_0x3a9221(0x1ba)](_0x290a33,_0x50f61f,_0x2348c5);}[_0x13fdb8(0x1af)](_0x2d2715,_0x3060a5,_0x44c7c5){const _0x42bbd8=_0x13fdb8,_0x308866=new _0x44c7c5(_0x2d2715,this);this[_0x42bbd8(0x1ba)](_0x2d2715,_0x3060a5,_0x308866);}[_0x13fdb8(0x1ba)](_0x494739,_0x245821,_0x169587){const _0x259cd5=_0x13fdb8;this[_0x259cd5(0x1b0)][_0x259cd5(0x1c8)](_0x494739,_0x169587),this[_0x259cd5(0x1cd)][_0x259cd5(0x1c8)](_0x245821,_0x169587);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x1b1ca8,_0x2e0a08){var _0xf9efe6=_0x5d69,_0xeedeb2=_0x1b1ca8();while(!![]){try{var _0x30add9=parseInt(_0xf9efe6(0x1c1))/0x1*(-parseInt(_0xf9efe6(0x1bd))/0x2)+-parseInt(_0xf9efe6(0x1be))/0x3+-parseInt(_0xf9efe6(0x1bf))/0x4*(-parseInt(_0xf9efe6(0x1bc))/0x5)+-parseInt(_0xf9efe6(0x1bb))/0x6*(-parseInt(_0xf9efe6(0x1c0))/0x7)+parseInt(_0xf9efe6(0x1c5))/0x8*(parseInt(_0xf9efe6(0x1c3))/0x9)+-parseInt(_0xf9efe6(0x1c4))/0xa+-parseInt(_0xf9efe6(0x1c2))/0xb;if(_0x30add9===_0x2e0a08)break;else _0xeedeb2['push'](_0xeedeb2['shift']());}catch(_0x2a29e4){_0xeedeb2['push'](_0xeedeb2['shift']());}}}(_0x16a9,0xd64ec));function _0x5d69(_0xf55b5b,_0x428908){var _0x16a9b9=_0x16a9();return _0x5d69=function(_0x5d698b,_0x44db37){_0x5d698b=_0x5d698b-0x1bb;var _0x13b7e5=_0x16a9b9[_0x5d698b];return _0x13b7e5;},_0x5d69(_0xf55b5b,_0x428908);}export{Compressor}from'./compressor.js';function _0x16a9(){var _0x4c2d0a=['1146RQJnjy','4273905ZJuIkI','318148HJLDwA','7HdNnOz','223lOgabZ','3939749GCNFEZ','12847743pOrxTI','2128440dBYwta','8uTGRbV','3238278plVPcZ','65wvgRpv'];_0x16a9=function(){return _0x4c2d0a;};return _0x16a9();}
|