@ckeditor/ckeditor5-operations-compressor 47.2.0 → 47.3.0-alpha.1

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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3524(){var _0x14086=['18iOHKgX','126jNylWH','_id','4672RmrNkR','types','shift','_operationName','43170thOIFt','25TgSofW','66828DjKcUs','169HMUvsG','compress','decompress','1072vVpVtA','138FJxIEC','492396hsGYga','755777sMRCRJ','3990790vLhxKV','5558ZaVtEC','push'];_0x3524=function(){return _0x14086;};return _0x3524();}var _0x3d777e=_0x17af;(function(_0x345448,_0x61db7f){var _0x332e31=_0x17af,_0x38f0d8=_0x345448();while(!![]){try{var _0x33cad9=-parseInt(_0x332e31(0x138))/0x1*(parseInt(_0x332e31(0x12d))/0x2)+-parseInt(_0x332e31(0x12b))/0x3*(-parseInt(_0x332e31(0x133))/0x4)+-parseInt(_0x332e31(0x132))/0x5*(parseInt(_0x332e31(0x131))/0x6)+parseInt(_0x332e31(0x128))/0x7*(-parseInt(_0x332e31(0x137))/0x8)+parseInt(_0x332e31(0x12a))/0x9*(parseInt(_0x332e31(0x13b))/0xa)+-parseInt(_0x332e31(0x13a))/0xb+-parseInt(_0x332e31(0x139))/0xc*(parseInt(_0x332e31(0x134))/0xd);if(_0x33cad9===_0x61db7f)break;else _0x38f0d8['push'](_0x38f0d8['shift']());}catch(_0xe1c254){_0x38f0d8['push'](_0x38f0d8['shift']());}}}(_0x3524,0x69b51));function _0x17af(_0x4d46bf,_0xa4fd16){var _0x352465=_0x3524();return _0x17af=function(_0x17afff,_0x3700a7){_0x17afff=_0x17afff-0x128;var _0xf7b57e=_0x352465[_0x17afff];return _0xf7b57e;},_0x17af(_0x4d46bf,_0xa4fd16);}import{OperationCompressor as _0x4ddad6}from'./operationcompressor.js';export class NoOperationCompressor extends _0x4ddad6{[_0x3d777e(0x135)](_0x8e063,_0x16a382){var _0x3c76dc=_0x3d777e;return _0x16a382[_0x3c76dc(0x12f)](),_0x8e063[_0x3c76dc(0x12e)][_0x3c76dc(0x129)](this[_0x3c76dc(0x12c)]),!0x0;}[_0x3d777e(0x136)](_0xe33c6b,_0xa52977){var _0x1a17c9=_0x3d777e;_0xa52977[_0x1a17c9(0x12e)][_0x1a17c9(0x12f)](),_0xe33c6b[_0x1a17c9(0x129)]({'__className':this[_0x1a17c9(0x130)]});}}
23
+ var _0x254b90=_0x3c75;(function(_0x4f400b,_0x1be3a8){var _0x4779ec=_0x3c75,_0x4f1e7d=_0x4f400b();while(!![]){try{var _0x109525=-parseInt(_0x4779ec(0x1de))/0x1+parseInt(_0x4779ec(0x1d8))/0x2*(-parseInt(_0x4779ec(0x1da))/0x3)+-parseInt(_0x4779ec(0x1e0))/0x4*(parseInt(_0x4779ec(0x1e1))/0x5)+-parseInt(_0x4779ec(0x1e4))/0x6+parseInt(_0x4779ec(0x1e5))/0x7+-parseInt(_0x4779ec(0x1db))/0x8*(-parseInt(_0x4779ec(0x1e2))/0x9)+parseInt(_0x4779ec(0x1d9))/0xa*(parseInt(_0x4779ec(0x1d7))/0xb);if(_0x109525===_0x1be3a8)break;else _0x4f1e7d['push'](_0x4f1e7d['shift']());}catch(_0x50f518){_0x4f1e7d['push'](_0x4f1e7d['shift']());}}}(_0x208e,0x2d7ff));import{OperationCompressor as _0x11578b}from'./operationcompressor.js';function _0x208e(){var _0x4e0cdc=['shift','compress','173408Gywgqr','push','72HtbUtX','38945caOwzx','827451vcACNB','types','44664JBWchI','1279635PoaAmD','_operationName','_id','decompress','11VvamtO','72NjmQtj','509230WzmbdS','177dyyJyy','24acYgjz'];_0x208e=function(){return _0x4e0cdc;};return _0x208e();}function _0x3c75(_0x4e420b,_0x482804){var _0x208edd=_0x208e();return _0x3c75=function(_0x3c7547,_0x2fc39d){_0x3c7547=_0x3c7547-0x1d4;var _0x312ed5=_0x208edd[_0x3c7547];return _0x312ed5;},_0x3c75(_0x4e420b,_0x482804);}export class NoOperationCompressor extends _0x11578b{[_0x254b90(0x1dd)](_0x256bf2,_0x592f59){var _0x468914=_0x254b90;return _0x592f59[_0x468914(0x1dc)](),_0x256bf2[_0x468914(0x1e3)][_0x468914(0x1df)](this[_0x468914(0x1d5)]),!0x0;}[_0x254b90(0x1d6)](_0x441e41,_0x54fd00){var _0x51ac63=_0x254b90;_0x54fd00[_0x51ac63(0x1e3)][_0x51ac63(0x1dc)](),_0x441e41[_0x51ac63(0x1df)]({'__className':this[_0x51ac63(0x1d4)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x348598=_0x56b0;(function(_0x58adcd,_0x1e6ded){const _0x72f79e=_0x56b0,_0xebcfb3=_0x58adcd();while(!![]){try{const _0x18ab1b=parseInt(_0x72f79e(0x19e))/0x1+-parseInt(_0x72f79e(0x19a))/0x2+parseInt(_0x72f79e(0x198))/0x3*(parseInt(_0x72f79e(0x1a4))/0x4)+-parseInt(_0x72f79e(0x1a3))/0x5*(parseInt(_0x72f79e(0x1a1))/0x6)+-parseInt(_0x72f79e(0x1a7))/0x7+parseInt(_0x72f79e(0x1a8))/0x8+-parseInt(_0x72f79e(0x1a5))/0x9*(-parseInt(_0x72f79e(0x19b))/0xa);if(_0x18ab1b===_0x1e6ded)break;else _0xebcfb3['push'](_0xebcfb3['shift']());}catch(_0x1f0f68){_0xebcfb3['push'](_0xebcfb3['shift']());}}}(_0x18a7,0x61705));import{parsePositionBeforeCompression as _0x50c81f,parsePositionAfterCompression as _0x14084e}from'../utils.js';function _0x56b0(_0x1925d6,_0x1c2656){const _0x18a7c1=_0x18a7();return _0x56b0=function(_0x56b01a,_0x529730){_0x56b01a=_0x56b01a-0x196;let _0x24bd00=_0x18a7c1[_0x56b01a];return _0x24bd00;},_0x56b0(_0x1925d6,_0x1c2656);}function _0x18a7(){const _0x5e43d1=['569225TchnwO','22844fOXZdr','90sZLNFT','__className','3317272Heqjrm','4227744KRPzDL','_protobufDescriptor','decompress','types','303DglfeI','shift','1547582VkIEFb','565340PEybid','_id','buffers','317712JAUZIl','push','_operationName','18uYKHIG','compress'];_0x18a7=function(){return _0x5e43d1;};return _0x18a7();}export class OperationCompressor{[_0x348598(0x19c)];[_0x348598(0x1a0)];[_0x348598(0x1a9)];constructor(_0x3560e2,_0x5289dd,_0x187e2f){const _0xfef284=_0x348598;this[_0xfef284(0x19c)]=_0x3560e2,this[_0xfef284(0x1a0)]=_0x5289dd,this[_0xfef284(0x1a9)]=_0x187e2f;}[_0x348598(0x1a2)](_0x18d023,_0x2e6813){const _0x13bfe3=_0x348598,_0x3ab0d0=_0x2e6813[_0x13bfe3(0x199)]();return _0x50c81f(_0x3ab0d0),_0x18d023[_0x13bfe3(0x19d)][_0x13bfe3(0x19f)](this[_0x13bfe3(0x1a9)][_0x13bfe3(0x1a2)](_0x3ab0d0)),_0x18d023[_0x13bfe3(0x197)][_0x13bfe3(0x19f)](this[_0x13bfe3(0x19c)]),!0x0;}[_0x348598(0x196)](_0x29fe33,_0x47596e){const _0x1d36e5=_0x348598;_0x47596e[_0x1d36e5(0x197)][_0x1d36e5(0x199)]();const _0xed6e9f=this[_0x1d36e5(0x1a9)][_0x1d36e5(0x196)](_0x47596e[_0x1d36e5(0x19d)][_0x1d36e5(0x199)]());_0x14084e(_0xed6e9f),_0xed6e9f[_0x1d36e5(0x1a6)]=this[_0x1d36e5(0x1a0)],_0x29fe33[_0x1d36e5(0x19f)](_0xed6e9f);}}
23
+ const _0x1b9c78=_0x33c7;function _0x5263(){const _0x46f191=['__className','_protobufDescriptor','compress','buffers','40qXLrwu','decompress','6835653loKcCb','78803Jdpnjg','types','4ReJrov','594549Dxxauy','_id','10lBEwQY','push','761446djNyMS','1315719SGcAgZ','1101300eZRVuU','395710mELRUq','_operationName','shift','6qBGkjb'];_0x5263=function(){return _0x46f191;};return _0x5263();}function _0x33c7(_0x29af13,_0x1e4997){const _0x52638c=_0x5263();return _0x33c7=function(_0x33c73f,_0x1b90d8){_0x33c73f=_0x33c73f-0x124;let _0x48ed40=_0x52638c[_0x33c73f];return _0x48ed40;},_0x33c7(_0x29af13,_0x1e4997);}(function(_0x35d18a,_0x308c93){const _0x2b6710=_0x33c7,_0x2b5e7c=_0x35d18a();while(!![]){try{const _0x599697=-parseInt(_0x2b6710(0x134))/0x1*(parseInt(_0x2b6710(0x136))/0x2)+parseInt(_0x2b6710(0x127))/0x3+-parseInt(_0x2b6710(0x128))/0x4+parseInt(_0x2b6710(0x129))/0x5+-parseInt(_0x2b6710(0x12c))/0x6*(parseInt(_0x2b6710(0x126))/0x7)+-parseInt(_0x2b6710(0x131))/0x8*(parseInt(_0x2b6710(0x137))/0x9)+parseInt(_0x2b6710(0x124))/0xa*(parseInt(_0x2b6710(0x133))/0xb);if(_0x599697===_0x308c93)break;else _0x2b5e7c['push'](_0x2b5e7c['shift']());}catch(_0x411fe8){_0x2b5e7c['push'](_0x2b5e7c['shift']());}}}(_0x5263,0x41374));import{parsePositionBeforeCompression as _0x3229b7,parsePositionAfterCompression as _0x15817d}from'../utils.js';export class OperationCompressor{[_0x1b9c78(0x138)];[_0x1b9c78(0x12a)];[_0x1b9c78(0x12e)];constructor(_0xab2d85,_0x297da9,_0x5ea6bc){const _0xf815c0=_0x1b9c78;this[_0xf815c0(0x138)]=_0xab2d85,this[_0xf815c0(0x12a)]=_0x297da9,this[_0xf815c0(0x12e)]=_0x5ea6bc;}[_0x1b9c78(0x12f)](_0xe9ec2,_0x1fde4a){const _0x15c192=_0x1b9c78,_0x5a8510=_0x1fde4a[_0x15c192(0x12b)]();return _0x3229b7(_0x5a8510),_0xe9ec2[_0x15c192(0x130)][_0x15c192(0x125)](this[_0x15c192(0x12e)][_0x15c192(0x12f)](_0x5a8510)),_0xe9ec2[_0x15c192(0x135)][_0x15c192(0x125)](this[_0x15c192(0x138)]),!0x0;}[_0x1b9c78(0x132)](_0x516c13,_0x2d3535){const _0x146094=_0x1b9c78;_0x2d3535[_0x146094(0x135)][_0x146094(0x12b)]();const _0x377382=this[_0x146094(0x12e)][_0x146094(0x132)](_0x2d3535[_0x146094(0x130)][_0x146094(0x12b)]());_0x15817d(_0x377382),_0x377382[_0x146094(0x12d)]=this[_0x146094(0x12a)],_0x516c13[_0x146094(0x125)](_0x377382);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25af61=_0xe44f;function _0x40ef(){const _0x5c8494=['decode','939474wNoctQ','_protobufRoot','finish','compress','verify','getDescriptor','218895Poostn','32264odZlCJ','1519476TCNyRq','_protobuf','toObject','encode','create','39WDkSzQ','2005241CEVWhw','170074GdYgUo','decompress','2osaiNn','1530528TwjRBk'];_0x40ef=function(){return _0x5c8494;};return _0x40ef();}function _0xe44f(_0x50a687,_0x360614){const _0x40ef3b=_0x40ef();return _0xe44f=function(_0xe44fdb,_0x52f306){_0xe44fdb=_0xe44fdb-0x17f;let _0x4b9279=_0x40ef3b[_0xe44fdb];return _0x4b9279;},_0xe44f(_0x50a687,_0x360614);}(function(_0x445878,_0x155543){const _0x503bb3=_0xe44f,_0x2365fd=_0x445878();while(!![]){try{const _0x84d6eb=parseInt(_0x503bb3(0x185))/0x1*(parseInt(_0x503bb3(0x187))/0x2)+-parseInt(_0x503bb3(0x183))/0x3*(parseInt(_0x503bb3(0x191))/0x4)+parseInt(_0x503bb3(0x190))/0x5+parseInt(_0x503bb3(0x192))/0x6+-parseInt(_0x503bb3(0x184))/0x7+parseInt(_0x503bb3(0x188))/0x8+-parseInt(_0x503bb3(0x18a))/0x9;if(_0x84d6eb===_0x155543)break;else _0x2365fd['push'](_0x2365fd['shift']());}catch(_0x143b7a){_0x2365fd['push'](_0x2365fd['shift']());}}}(_0x40ef,0x27b94));import{messages as _0x44064a}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x25af61(0x18b)];constructor(){const _0x479f4e=_0x25af61;this[_0x479f4e(0x18b)]=_0x44064a;}[_0x25af61(0x18f)](_0x472c39){const _0x34afed=_0x25af61;return new ProtobufDescriptor(this[_0x34afed(0x18b)][_0x472c39]);}}export class ProtobufDescriptor{[_0x25af61(0x17f)];constructor(_0x55855c){const _0x3ed1d8=_0x25af61;this[_0x3ed1d8(0x17f)]=_0x55855c;}[_0x25af61(0x18d)](_0x4e7fab){const _0x3b4efe=_0x25af61,_0xae1060=this[_0x3b4efe(0x17f)][_0x3b4efe(0x18e)](_0x4e7fab);if(_0xae1060)throw Error(_0xae1060);return this[_0x3b4efe(0x17f)][_0x3b4efe(0x181)](this[_0x3b4efe(0x17f)][_0x3b4efe(0x182)](_0x4e7fab))[_0x3b4efe(0x18c)]();}[_0x25af61(0x186)](_0x1763c2){const _0x20d565=_0x25af61;return this[_0x20d565(0x17f)][_0x20d565(0x180)](this[_0x20d565(0x17f)][_0x20d565(0x189)](_0x1763c2),{'oneofs':!0x0});}}
23
+ const _0x4cfd11=_0x4ed0;(function(_0xd08c4b,_0x73bc3e){const _0x5a7ad9=_0x4ed0,_0x24fbf8=_0xd08c4b();while(!![]){try{const _0x262a0e=parseInt(_0x5a7ad9(0xd3))/0x1*(parseInt(_0x5a7ad9(0xdc))/0x2)+parseInt(_0x5a7ad9(0xd8))/0x3+-parseInt(_0x5a7ad9(0xdd))/0x4+parseInt(_0x5a7ad9(0xda))/0x5+-parseInt(_0x5a7ad9(0xdf))/0x6+-parseInt(_0x5a7ad9(0xd7))/0x7*(parseInt(_0x5a7ad9(0xe2))/0x8)+parseInt(_0x5a7ad9(0xd4))/0x9*(parseInt(_0x5a7ad9(0xde))/0xa);if(_0x262a0e===_0x73bc3e)break;else _0x24fbf8['push'](_0x24fbf8['shift']());}catch(_0x27f14b){_0x24fbf8['push'](_0x24fbf8['shift']());}}}(_0x55e7,0x20fe6));function _0x4ed0(_0x3c4018,_0x27fc1e){const _0x55e702=_0x55e7();return _0x4ed0=function(_0x4ed0bf,_0x272aa1){_0x4ed0bf=_0x4ed0bf-0xd2;let _0x3788fe=_0x55e702[_0x4ed0bf];return _0x3788fe;},_0x4ed0(_0x3c4018,_0x27fc1e);}function _0x55e7(){const _0x5cc45f=['verify','toObject','543PNQySM','93591PTXZeq','create','getDescriptor','7mVwRZm','49791QCaVRb','encode','680205TgvzvU','_protobufRoot','562oMCBwn','191744fvvhot','130MakIcl','1463118HYqVfr','finish','decode','107816tzboYp','_protobuf','decompress','compress'];_0x55e7=function(){return _0x5cc45f;};return _0x55e7();}import{messages as _0x1316cc}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x4cfd11(0xdb)];constructor(){const _0x10f8db=_0x4cfd11;this[_0x10f8db(0xdb)]=_0x1316cc;}[_0x4cfd11(0xd6)](_0x5c52eb){const _0x1d61b0=_0x4cfd11;return new ProtobufDescriptor(this[_0x1d61b0(0xdb)][_0x5c52eb]);}}export class ProtobufDescriptor{[_0x4cfd11(0xe3)];constructor(_0x49256b){const _0x687429=_0x4cfd11;this[_0x687429(0xe3)]=_0x49256b;}[_0x4cfd11(0xe5)](_0x1037fd){const _0x33086e=_0x4cfd11,_0x41c113=this[_0x33086e(0xe3)][_0x33086e(0xe6)](_0x1037fd);if(_0x41c113)throw Error(_0x41c113);return this[_0x33086e(0xe3)][_0x33086e(0xd9)](this[_0x33086e(0xe3)][_0x33086e(0xd5)](_0x1037fd))[_0x33086e(0xe0)]();}[_0x4cfd11(0xe4)](_0x11ef0b){const _0x2d6df3=_0x4cfd11;return this[_0x2d6df3(0xe3)][_0x2d6df3(0xd2)](this[_0x2d6df3(0xe3)][_0x2d6df3(0xe1)](_0x11ef0b),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x27bc(){const _0x1b565d=['rootMain','$graveyard','103465ETgGsv','12tyqWQM','1324815UdWaIf','length','8648654hquoOE','8wtphbM','36hAHhPE','rootGraveyard','7585602IlklHy','11070851WJvsKF','root','84vsEflf','8131112PjZdNC','nodes','2781490UkMywd','path','main','5EKXWNF'];_0x27bc=function(){return _0x1b565d;};return _0x27bc();}(function(_0x1f34d6,_0x1551c9){const _0x10f5d7=_0x3d82,_0x747350=_0x1f34d6();while(!![]){try{const _0x1db888=parseInt(_0x10f5d7(0x159))/0x1*(-parseInt(_0x10f5d7(0x15e))/0x2)+-parseInt(_0x10f5d7(0x15b))/0x3*(parseInt(_0x10f5d7(0x15a))/0x4)+parseInt(_0x10f5d7(0x156))/0x5*(-parseInt(_0x10f5d7(0x161))/0x6)+-parseInt(_0x10f5d7(0x15d))/0x7+-parseInt(_0x10f5d7(0x165))/0x8+parseInt(_0x10f5d7(0x15f))/0x9*(-parseInt(_0x10f5d7(0x153))/0xa)+parseInt(_0x10f5d7(0x162))/0xb*(parseInt(_0x10f5d7(0x164))/0xc);if(_0x1db888===_0x1551c9)break;else _0x747350['push'](_0x747350['shift']());}catch(_0x1327dd){_0x747350['push'](_0x747350['shift']());}}}(_0x27bc,0xa5706));import{cloneDeep as _0x1b3e8a,isEqual as _0x3fdf20,isObject as _0x3f8aac}from'es-toolkit/compat';function _0x3d82(_0x41d6aa,_0x206c44){const _0x27bcfe=_0x27bc();return _0x3d82=function(_0x3d8201,_0x1ff38e){_0x3d8201=_0x3d8201-0x153;let _0x52e073=_0x27bcfe[_0x3d8201];return _0x52e073;},_0x3d82(_0x41d6aa,_0x206c44);}export function getPositionShiftedBy(_0x652077,_0x5827af){const _0x5bb4e9=_0x3d82,_0x545bbd=_0x1b3e8a(_0x652077);return _0x545bbd[_0x5bb4e9(0x154)][_0x545bbd[_0x5bb4e9(0x154)][_0x5bb4e9(0x15c)]-0x1]+=_0x5827af,_0x545bbd;}export function arePositionsEqual(_0x9704d7,_0xce01aa){const _0x4a5eb7=_0x3d82;return _0x9704d7[_0x4a5eb7(0x163)]===_0xce01aa[_0x4a5eb7(0x163)]&&_0x3fdf20(_0x9704d7[_0x4a5eb7(0x154)],_0xce01aa[_0x4a5eb7(0x154)]);}export function parsePositionBeforeCompression(_0x56de8c){const _0x1e120f=_0x3d82;P(_0x56de8c,_0xf87adf=>(_0x1e120f(0x155)==_0xf87adf[_0x1e120f(0x163)]?(_0xf87adf[_0x1e120f(0x157)]=!0x0,delete _0xf87adf[_0x1e120f(0x163)]):_0x1e120f(0x158)==_0xf87adf[_0x1e120f(0x163)]&&(_0xf87adf[_0x1e120f(0x160)]=!0x0,delete _0xf87adf[_0x1e120f(0x163)]),_0xf87adf));}export function parsePositionAfterCompression(_0x4be05c){const _0x224785=_0x3d82;P(_0x4be05c,_0x8bf1ad=>(_0x8bf1ad[_0x224785(0x157)]?(_0x8bf1ad[_0x224785(0x163)]=_0x224785(0x155),delete _0x8bf1ad[_0x224785(0x157)]):_0x8bf1ad[_0x224785(0x160)]&&(_0x8bf1ad[_0x224785(0x163)]=_0x224785(0x158),delete _0x8bf1ad[_0x224785(0x160)]),_0x8bf1ad));}function P(_0x461d77,_0x15d7e0){const _0x4e850d=_0x3d82;for(const _0x1d95b7 in _0x461d77){const _0x229600=_0x461d77[_0x1d95b7];_0x4e850d(0x166)!==_0x1d95b7&&_0x3f8aac(_0x229600)&&(_0x229600[_0x4e850d(0x154)]&&(_0x229600[_0x4e850d(0x163)]||_0x229600[_0x4e850d(0x157)]||_0x229600[_0x4e850d(0x160)])?_0x461d77[_0x1d95b7]=_0x15d7e0(_0x229600):P(_0x229600,_0x15d7e0));}return _0x461d77;}
23
+ (function(_0x23f300,_0x24483f){const _0x351695=_0x5beb,_0x1b938e=_0x23f300();while(!![]){try{const _0x317427=parseInt(_0x351695(0x173))/0x1*(-parseInt(_0x351695(0x16e))/0x2)+-parseInt(_0x351695(0x172))/0x3*(-parseInt(_0x351695(0x16a))/0x4)+-parseInt(_0x351695(0x16b))/0x5+parseInt(_0x351695(0x167))/0x6+-parseInt(_0x351695(0x169))/0x7+parseInt(_0x351695(0x171))/0x8*(-parseInt(_0x351695(0x164))/0x9)+-parseInt(_0x351695(0x16c))/0xa*(-parseInt(_0x351695(0x175))/0xb);if(_0x317427===_0x24483f)break;else _0x1b938e['push'](_0x1b938e['shift']());}catch(_0xe12829){_0x1b938e['push'](_0x1b938e['shift']());}}}(_0x53ed,0xc4ecc));import{cloneDeep as _0x150f5b,isEqual as _0x459dc0,isObject as _0x398a5c}from'es-toolkit/compat';function _0x53ed(){const _0x2610c7=['24NffidM','2007215SHleXz','10KQIKGl','path','310zdllSh','main','rootGraveyard','103352QGhRUo','564099OQgvtH','1949OOuSOs','nodes','30536099ZYLvLw','$graveyard','774uiBlrk','length','root','1270836HJhQHO','rootMain','10463859KFKVFw'];_0x53ed=function(){return _0x2610c7;};return _0x53ed();}export function getPositionShiftedBy(_0x1102e9,_0x2777de){const _0x41d427=_0x5beb,_0x4f8dea=_0x150f5b(_0x1102e9);return _0x4f8dea[_0x41d427(0x16d)][_0x4f8dea[_0x41d427(0x16d)][_0x41d427(0x165)]-0x1]+=_0x2777de,_0x4f8dea;}export function arePositionsEqual(_0xd68120,_0x3eadb8){const _0x2737b0=_0x5beb;return _0xd68120[_0x2737b0(0x166)]===_0x3eadb8[_0x2737b0(0x166)]&&_0x459dc0(_0xd68120[_0x2737b0(0x16d)],_0x3eadb8[_0x2737b0(0x16d)]);}function _0x5beb(_0x49bfca,_0x4e3d6a){const _0x53ed05=_0x53ed();return _0x5beb=function(_0x5bebd9,_0xa58412){_0x5bebd9=_0x5bebd9-0x163;let _0x1f5125=_0x53ed05[_0x5bebd9];return _0x1f5125;},_0x5beb(_0x49bfca,_0x4e3d6a);}export function parsePositionBeforeCompression(_0x3321af){const _0x35c748=_0x5beb;P(_0x3321af,_0x5ceec4=>(_0x35c748(0x16f)==_0x5ceec4[_0x35c748(0x166)]?(_0x5ceec4[_0x35c748(0x168)]=!0x0,delete _0x5ceec4[_0x35c748(0x166)]):_0x35c748(0x163)==_0x5ceec4[_0x35c748(0x166)]&&(_0x5ceec4[_0x35c748(0x170)]=!0x0,delete _0x5ceec4[_0x35c748(0x166)]),_0x5ceec4));}export function parsePositionAfterCompression(_0x493c10){const _0x5c06d4=_0x5beb;P(_0x493c10,_0x31946c=>(_0x31946c[_0x5c06d4(0x168)]?(_0x31946c[_0x5c06d4(0x166)]=_0x5c06d4(0x16f),delete _0x31946c[_0x5c06d4(0x168)]):_0x31946c[_0x5c06d4(0x170)]&&(_0x31946c[_0x5c06d4(0x166)]=_0x5c06d4(0x163),delete _0x31946c[_0x5c06d4(0x170)]),_0x31946c));}function P(_0x52098d,_0x40e3e7){const _0x116c2e=_0x5beb;for(const _0xb21629 in _0x52098d){const _0x5cc1a4=_0x52098d[_0xb21629];_0x116c2e(0x174)!==_0xb21629&&_0x398a5c(_0x5cc1a4)&&(_0x5cc1a4[_0x116c2e(0x16d)]&&(_0x5cc1a4[_0x116c2e(0x166)]||_0x5cc1a4[_0x116c2e(0x168)]||_0x5cc1a4[_0x116c2e(0x170)])?_0x52098d[_0xb21629]=_0x40e3e7(_0x5cc1a4):P(_0x5cc1a4,_0x40e3e7));}return _0x52098d;}