@ckeditor/ckeditor5-operations-compressor 47.6.1 → 47.6.2-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/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
|
-
const
|
|
23
|
+
const _0x594323=_0x20ee;(function(_0x44beea,_0x51c833){const _0x5e3ced=_0x20ee,_0x407c12=_0x44beea();while(!![]){try{const _0x19c857=-parseInt(_0x5e3ced(0x7c))/0x1+-parseInt(_0x5e3ced(0x78))/0x2*(parseInt(_0x5e3ced(0x7f))/0x3)+parseInt(_0x5e3ced(0x81))/0x4*(parseInt(_0x5e3ced(0x7e))/0x5)+-parseInt(_0x5e3ced(0x7b))/0x6+-parseInt(_0x5e3ced(0x77))/0x7+-parseInt(_0x5e3ced(0x84))/0x8+parseInt(_0x5e3ced(0x79))/0x9*(parseInt(_0x5e3ced(0x80))/0xa);if(_0x19c857===_0x51c833)break;else _0x407c12['push'](_0x407c12['shift']());}catch(_0x4fb5e6){_0x407c12['push'](_0x407c12['shift']());}}}(_0x3939,0x21610));import{OperationCompressor as _0x2e502a}from'./operationcompressor.js';function _0x20ee(_0x998d79,_0x4550a1){const _0x393915=_0x3939();return _0x20ee=function(_0x20eefd,_0x10ce25){_0x20eefd=_0x20eefd-0x77;let _0x6ce520=_0x393915[_0x20eefd];return _0x6ce520;},_0x20ee(_0x998d79,_0x4550a1);}export class MarkerOperationCompressor extends _0x2e502a{[_0x594323(0x83)](_0x1ea405,_0x2efbe3){const _0x713a80=_0x594323;super[_0x713a80(0x83)](_0x1ea405,_0x2efbe3);const _0x1178f4=_0x1ea405[_0x1ea405[_0x713a80(0x7a)]-0x1];_0x1178f4[_0x713a80(0x82)]||(_0x1178f4[_0x713a80(0x82)]=null),_0x1178f4[_0x713a80(0x7d)]||(_0x1178f4[_0x713a80(0x7d)]=null);}}function _0x3939(){const _0x302cdc=['oldRange','decompress','645232wlXZEq','769818uSZnXI','242geONiV','1634211CXHoQL','length','62892tLaWLN','85429psPZDg','newRange','75225eitNlI','6369CqBTKi','30inccka','36YqTRax'];_0x3939=function(){return _0x302cdc;};return _0x3939();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x40177a=_0x1a30;(function(_0x478eab,_0x412f3c){var _0x7f5d9=_0x1a30,_0x510729=_0x478eab();while(!![]){try{var _0x1eaa25=-parseInt(_0x7f5d9(0xd0))/0x1+parseInt(_0x7f5d9(0xc5))/0x2*(-parseInt(_0x7f5d9(0xd2))/0x3)+parseInt(_0x7f5d9(0xcc))/0x4+parseInt(_0x7f5d9(0xc7))/0x5+parseInt(_0x7f5d9(0xd1))/0x6*(parseInt(_0x7f5d9(0xcf))/0x7)+-parseInt(_0x7f5d9(0xc9))/0x8*(-parseInt(_0x7f5d9(0xd4))/0x9)+-parseInt(_0x7f5d9(0xcd))/0xa;if(_0x1eaa25===_0x412f3c)break;else _0x510729['push'](_0x510729['shift']());}catch(_0x113c2c){_0x510729['push'](_0x510729['shift']());}}}(_0x1b38,0x57c91));function _0x1a30(_0x4662a3,_0x26b533){var _0x1b388b=_0x1b38();return _0x1a30=function(_0x1a3046,_0x46c541){_0x1a3046=_0x1a3046-0xc5;var _0x5d0c65=_0x1b388b[_0x1a3046];return _0x5d0c65;},_0x1a30(_0x4662a3,_0x26b533);}import{OperationCompressor as _0x488f59}from'./operationcompressor.js';function _0x1b38(){var _0x59372e=['1668121bDnMXi','487862cIUYjD','6JWQQlk','2709RUZYzC','_operationName','4527gXgcFz','index','compress','124AdRgaN','decompress','2094535oZLGLP','types','5072eupuwM','push','typeIndex','317540whlajW','1520800JTpGKD','_id'];_0x1b38=function(){return _0x59372e;};return _0x1b38();}export class NoOperationCompressor extends _0x488f59{[_0x40177a(0xd6)](_0x12d0c4,_0x1e54f3){var _0x41404d=_0x40177a;return _0x1e54f3[_0x41404d(0xd5)]++,_0x12d0c4[_0x41404d(0xc8)][_0x41404d(0xca)](this[_0x41404d(0xce)]),!0x0;}[_0x40177a(0xc6)](_0x3a3fc9,_0x5e8f58){var _0x5b0d94=_0x40177a;_0x5e8f58[_0x5b0d94(0xcb)]++,_0x3a3fc9[_0x5b0d94(0xca)]({'__className':this[_0x5b0d94(0xd3)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2a2312=_0x2686;(function(_0x215938,_0x405972){const _0x3167ea=_0x2686,_0x111c37=_0x215938();while(!![]){try{const _0xf00296=parseInt(_0x3167ea(0xc4))/0x1*(parseInt(_0x3167ea(0xb6))/0x2)+-parseInt(_0x3167ea(0xbb))/0x3*(-parseInt(_0x3167ea(0xb4))/0x4)+-parseInt(_0x3167ea(0xba))/0x5+parseInt(_0x3167ea(0xbe))/0x6+-parseInt(_0x3167ea(0xc1))/0x7*(-parseInt(_0x3167ea(0xc2))/0x8)+parseInt(_0x3167ea(0xb7))/0x9*(parseInt(_0x3167ea(0xc8))/0xa)+-parseInt(_0x3167ea(0xc7))/0xb;if(_0xf00296===_0x405972)break;else _0x111c37['push'](_0x111c37['shift']());}catch(_0x5bf38e){_0x111c37['push'](_0x111c37['shift']());}}}(_0xfef7,0x752dd));function _0xfef7(){const _0x5511d0=['216SRypjy','_id','1bpRtVL','__className','bufferIndex','1059971wDbwNB','6286750xnvhhj','operations','buffers','index','64bRKDLp','types','592376dxKaML','9nTqzfb','typeIndex','compress','4249895OwAPKw','27609BFwyEI','_protobufDescriptor','decompress','1419168uBXaJR','push','_operationName','30506NFulfL'];_0xfef7=function(){return _0x5511d0;};return _0xfef7();}function _0x2686(_0x51c76e,_0x389eaf){const _0xfef78e=_0xfef7();return _0x2686=function(_0x268676,_0x581dd5){_0x268676=_0x268676-0xb4;let _0x22b686=_0xfef78e[_0x268676];return _0x22b686;},_0x2686(_0x51c76e,_0x389eaf);}import{parsePositionBeforeCompression as _0x350760,parsePositionAfterCompression as _0x44ffca}from'../utils.js';export class OperationCompressor{[_0x2a2312(0xc3)];[_0x2a2312(0xc0)];[_0x2a2312(0xbc)];constructor(_0x27c482,_0xb11b69,_0x709198){const _0x41323c=_0x2a2312;this[_0x41323c(0xc3)]=_0x27c482,this[_0x41323c(0xc0)]=_0xb11b69,this[_0x41323c(0xbc)]=_0x709198;}[_0x2a2312(0xb9)](_0x52abab,_0x384208){const _0x46d4ba=_0x2a2312,_0x4b86fd=_0x384208[_0x46d4ba(0xc9)][_0x384208[_0x46d4ba(0xcb)]++];return _0x350760(_0x4b86fd),_0x52abab[_0x46d4ba(0xca)][_0x46d4ba(0xbf)](this[_0x46d4ba(0xbc)][_0x46d4ba(0xb9)](_0x4b86fd)),_0x52abab[_0x46d4ba(0xb5)][_0x46d4ba(0xbf)](this[_0x46d4ba(0xc3)]),!0x0;}[_0x2a2312(0xbd)](_0x1a6058,_0x3b36d2){const _0x40c46a=_0x2a2312;_0x3b36d2[_0x40c46a(0xb8)]++;const _0x3880f0=_0x3b36d2[_0x40c46a(0xca)][_0x3b36d2[_0x40c46a(0xc6)]++],_0x22daa3=this[_0x40c46a(0xbc)][_0x40c46a(0xbd)](_0x3880f0);_0x44ffca(_0x22daa3),_0x22daa3[_0x40c46a(0xc5)]=this[_0x40c46a(0xc0)],_0x1a6058[_0x40c46a(0xbf)](_0x22daa3);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1f5dea=_0x5549;(function(_0x2535de,_0xc40c12){const _0x1a1d34=_0x5549,_0x14ab3f=_0x2535de();while(!![]){try{const _0x4540da=-parseInt(_0x1a1d34(0x141))/0x1*(parseInt(_0x1a1d34(0x13d))/0x2)+-parseInt(_0x1a1d34(0x140))/0x3+parseInt(_0x1a1d34(0x130))/0x4*(-parseInt(_0x1a1d34(0x132))/0x5)+parseInt(_0x1a1d34(0x139))/0x6*(-parseInt(_0x1a1d34(0x138))/0x7)+-parseInt(_0x1a1d34(0x136))/0x8+-parseInt(_0x1a1d34(0x12c))/0x9*(parseInt(_0x1a1d34(0x137))/0xa)+parseInt(_0x1a1d34(0x12b))/0xb*(parseInt(_0x1a1d34(0x12d))/0xc);if(_0x4540da===_0xc40c12)break;else _0x14ab3f['push'](_0x14ab3f['shift']());}catch(_0x475859){_0x14ab3f['push'](_0x14ab3f['shift']());}}}(_0x1494,0x3c8d1));function _0x5549(_0x419b40,_0x427753){const _0x149448=_0x1494();return _0x5549=function(_0x554980,_0x443402){_0x554980=_0x554980-0x12b;let _0x2bcfa7=_0x149448[_0x554980];return _0x2bcfa7;},_0x5549(_0x419b40,_0x427753);}import{messages as _0x29afd3}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x1f5dea(0x13c)];constructor(){const _0x151075=_0x1f5dea;this[_0x151075(0x13c)]=_0x29afd3;}[_0x1f5dea(0x12f)](_0x574340){const _0x4b33b3=_0x1f5dea;return new ProtobufDescriptor(this[_0x4b33b3(0x13c)][_0x574340]);}}function _0x1494(){const _0x5bd84a=['encode','finish','_protobufRoot','125372rLlzaA','verify','create','90843cpXGJZ','6UUuUTf','11vPWiEx','1732761MIPPqN','21774360YgYlev','decode','getDescriptor','13216owwmXb','decompress','440yFKklO','_protobuf','toObject','compress','717400vvrhUa','20TMgWPt','7tIoqhh','2367786ShIEdX'];_0x1494=function(){return _0x5bd84a;};return _0x1494();}export class ProtobufDescriptor{[_0x1f5dea(0x133)];constructor(_0x2721fa){const _0x4c6186=_0x1f5dea;this[_0x4c6186(0x133)]=_0x2721fa;}[_0x1f5dea(0x135)](_0x404b82){const _0x54b659=_0x1f5dea,_0x145bb8=this[_0x54b659(0x133)][_0x54b659(0x13e)](_0x404b82);if(_0x145bb8)throw Error(_0x145bb8);return this[_0x54b659(0x133)][_0x54b659(0x13a)](this[_0x54b659(0x133)][_0x54b659(0x13f)](_0x404b82))[_0x54b659(0x13b)]();}[_0x1f5dea(0x131)](_0x2f0b19){const _0x4e4e97=_0x1f5dea;return this[_0x4e4e97(0x133)][_0x4e4e97(0x134)](this[_0x4e4e97(0x133)][_0x4e4e97(0x12e)](_0x2f0b19),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x1a0943,_0x5140c8){const _0x38bd3f=_0x5628,_0x3752c6=_0x1a0943();while(!![]){try{const _0x2d422f=parseInt(_0x38bd3f(0xac))/0x1+parseInt(_0x38bd3f(0x9d))/0x2*(-parseInt(_0x38bd3f(0xa1))/0x3)+-parseInt(_0x38bd3f(0x9e))/0x4+parseInt(_0x38bd3f(0xa9))/0x5*(-parseInt(_0x38bd3f(0xa7))/0x6)+parseInt(_0x38bd3f(0xaa))/0x7+parseInt(_0x38bd3f(0xa6))/0x8+parseInt(_0x38bd3f(0xab))/0x9;if(_0x2d422f===_0x5140c8)break;else _0x3752c6['push'](_0x3752c6['shift']());}catch(_0x44527c){_0x3752c6['push'](_0x3752c6['shift']());}}}(_0x4e52,0xf0aac));import{cloneDeep as _0x169ce3,isEqual as _0x24b798,isObject as _0x5c1c60}from'es-toolkit/compat';function _0x5628(_0x384b60,_0x4daf3f){const _0x4e5206=_0x4e52();return _0x5628=function(_0x562899,_0x599bd6){_0x562899=_0x562899-0x9d;let _0x14ebc2=_0x4e5206[_0x562899];return _0x14ebc2;},_0x5628(_0x384b60,_0x4daf3f);}export function getPositionShiftedBy(_0x3e305e,_0x4eac74){const _0x42f4c6=_0x5628,_0x313d38=_0x169ce3(_0x3e305e);return _0x313d38[_0x42f4c6(0xa4)][_0x313d38[_0x42f4c6(0xa4)][_0x42f4c6(0xa8)]-0x1]+=_0x4eac74,_0x313d38;}export function arePositionsEqual(_0x3349c3,_0x1e4e1a){const _0x456794=_0x5628;return _0x3349c3[_0x456794(0x9f)]===_0x1e4e1a[_0x456794(0x9f)]&&_0x24b798(_0x3349c3[_0x456794(0xa4)],_0x1e4e1a[_0x456794(0xa4)]);}export function parsePositionBeforeCompression(_0xb92eba){const _0x5c6ed4=_0x5628;P(_0xb92eba,_0x3dd4e0=>(_0x5c6ed4(0xa3)==_0x3dd4e0[_0x5c6ed4(0x9f)]?(_0x3dd4e0[_0x5c6ed4(0xa2)]=!0x0,delete _0x3dd4e0[_0x5c6ed4(0x9f)]):_0x5c6ed4(0xad)==_0x3dd4e0[_0x5c6ed4(0x9f)]&&(_0x3dd4e0[_0x5c6ed4(0xa0)]=!0x0,delete _0x3dd4e0[_0x5c6ed4(0x9f)]),_0x3dd4e0));}export function parsePositionAfterCompression(_0x381e18){const _0x2673ab=_0x5628;P(_0x381e18,_0x9ef52a=>(_0x9ef52a[_0x2673ab(0xa2)]?(_0x9ef52a[_0x2673ab(0x9f)]=_0x2673ab(0xa3),delete _0x9ef52a[_0x2673ab(0xa2)]):_0x9ef52a[_0x2673ab(0xa0)]&&(_0x9ef52a[_0x2673ab(0x9f)]=_0x2673ab(0xad),delete _0x9ef52a[_0x2673ab(0xa0)]),_0x9ef52a));}function P(_0x547dae,_0xcb453a){const _0x54beb0=_0x5628;for(const _0x407d4a in _0x547dae){const _0x562e60=_0x547dae[_0x407d4a];_0x54beb0(0xa5)!==_0x407d4a&&_0x5c1c60(_0x562e60)&&(_0x562e60[_0x54beb0(0xa4)]&&(_0x562e60[_0x54beb0(0x9f)]||_0x562e60[_0x54beb0(0xa2)]||_0x562e60[_0x54beb0(0xa0)])?_0x547dae[_0x407d4a]=_0xcb453a(_0x562e60):P(_0x562e60,_0xcb453a));}return _0x547dae;}function _0x4e52(){const _0x3f5c29=['2CJwagP','5110068gImPTC','root','rootGraveyard','5730204BVLwAQ','rootMain','main','path','nodes','1135664AoliQv','210ETEsWw','length','43855PQmSYf','2883846sogAWx','26387073EXOtrA','994509ghCwGx','$graveyard'];_0x4e52=function(){return _0x3f5c29;};return _0x4e52();}
|