@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.0 → 47.3.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x41085b=_0x30c4;function _0x30c4(_0x5eb01f,_0x1e858a){var _0x3a8442=_0x3a84();return _0x30c4=function(_0x30c487,_0xd5b26a){_0x30c487=_0x30c487-0x77;var _0x10700f=_0x3a8442[_0x30c487];return _0x10700f;},_0x30c4(_0x5eb01f,_0x1e858a);}function _0x3a84(){var _0x160403=['_id','compress','450EKkFUX','1405JdDbtj','decompress','30856MdftkQ','_operationName','types','988149hkrekN','shift','315124GmUkPq','200612IKdcOE','31734khpKjB','push','6673012aOGooi','6883135tmPtLO'];_0x3a84=function(){return _0x160403;};return _0x3a84();}(function(_0x4993e9,_0x2754e4){var _0x5dc37d=_0x30c4,_0x1a9014=_0x4993e9();while(!![]){try{var _0x159f5d=-parseInt(_0x5dc37d(0x83))/0x1+-parseInt(_0x5dc37d(0x82))/0x2+parseInt(_0x5dc37d(0x80))/0x3+-parseInt(_0x5dc37d(0x86))/0x4+parseInt(_0x5dc37d(0x7b))/0x5*(parseInt(_0x5dc37d(0x84))/0x6)+parseInt(_0x5dc37d(0x77))/0x7+-parseInt(_0x5dc37d(0x7d))/0x8*(-parseInt(_0x5dc37d(0x7a))/0x9);if(_0x159f5d===_0x2754e4)break;else _0x1a9014['push'](_0x1a9014['shift']());}catch(_0x52c512){_0x1a9014['push'](_0x1a9014['shift']());}}}(_0x3a84,0xebac8));import{OperationCompressor as _0x5d38e1}from'./operationcompressor.js';export class NoOperationCompressor extends _0x5d38e1{[_0x41085b(0x79)](_0x2916f7,_0x294416){var _0x522d0b=_0x41085b;return _0x294416[_0x522d0b(0x81)](),_0x2916f7[_0x522d0b(0x7f)][_0x522d0b(0x85)](this[_0x522d0b(0x78)]),!0x0;}[_0x41085b(0x7c)](_0x52e30e,_0x22aa6d){var _0x348943=_0x41085b;_0x22aa6d[_0x348943(0x7f)][_0x348943(0x81)](),_0x52e30e[_0x348943(0x85)]({'__className':this[_0x348943(0x7e)]});}}
23
+ var _0x3952bd=_0x2648;function _0x2648(_0x4e4dc8,_0x4bc834){var _0x1adb7d=_0x1adb();return _0x2648=function(_0x2648d7,_0x44e265){_0x2648d7=_0x2648d7-0x73;var _0x2da674=_0x1adb7d[_0x2648d7];return _0x2da674;},_0x2648(_0x4e4dc8,_0x4bc834);}(function(_0x5ec292,_0x3626ef){var _0x59acdf=_0x2648,_0x3b8945=_0x5ec292();while(!![]){try{var _0x4466cd=parseInt(_0x59acdf(0x7e))/0x1+parseInt(_0x59acdf(0x74))/0x2*(parseInt(_0x59acdf(0x80))/0x3)+-parseInt(_0x59acdf(0x81))/0x4*(-parseInt(_0x59acdf(0x78))/0x5)+parseInt(_0x59acdf(0x7d))/0x6+parseInt(_0x59acdf(0x75))/0x7*(-parseInt(_0x59acdf(0x83))/0x8)+parseInt(_0x59acdf(0x82))/0x9+-parseInt(_0x59acdf(0x7a))/0xa*(parseInt(_0x59acdf(0x7b))/0xb);if(_0x4466cd===_0x3626ef)break;else _0x3b8945['push'](_0x3b8945['shift']());}catch(_0xa4ed62){_0x3b8945['push'](_0x3b8945['shift']());}}}(_0x1adb,0x6c202));import{OperationCompressor as _0x68e662}from'./operationcompressor.js';function _0x1adb(){var _0x341ca6=['315220XhXMwz','1228392iuEXUB','8bPfEtw','_id','_operationName','518kvSZRW','1275722ldHWCZ','push','shift','35PqzaFO','compress','7323580DJzzVv','22ipKMsR','types','3447924FFcmdm','778375IbfOIG','decompress','564XQGoeE'];_0x1adb=function(){return _0x341ca6;};return _0x1adb();}export class NoOperationCompressor extends _0x68e662{[_0x3952bd(0x79)](_0x287666,_0x257855){var _0x72bb96=_0x3952bd;return _0x257855[_0x72bb96(0x77)](),_0x287666[_0x72bb96(0x7c)][_0x72bb96(0x76)](this[_0x72bb96(0x84)]),!0x0;}[_0x3952bd(0x7f)](_0x2d600d,_0xd107b1){var _0xafba67=_0x3952bd;_0xd107b1[_0xafba67(0x7c)][_0xafba67(0x77)](),_0x2d600d[_0xafba67(0x76)]({'__className':this[_0xafba67(0x73)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39a6b3=_0x508b;function _0x508b(_0x409796,_0x2d030b){const _0x1c01e5=_0x1c01();return _0x508b=function(_0x508baf,_0x460fac){_0x508baf=_0x508baf-0x16e;let _0x11f6c1=_0x1c01e5[_0x508baf];return _0x11f6c1;},_0x508b(_0x409796,_0x2d030b);}(function(_0x3304fa,_0x593ff8){const _0x4476e0=_0x508b,_0x51304a=_0x3304fa();while(!![]){try{const _0x2be0ad=-parseInt(_0x4476e0(0x17a))/0x1+-parseInt(_0x4476e0(0x178))/0x2+-parseInt(_0x4476e0(0x17f))/0x3+parseInt(_0x4476e0(0x17c))/0x4+-parseInt(_0x4476e0(0x16e))/0x5*(parseInt(_0x4476e0(0x175))/0x6)+parseInt(_0x4476e0(0x180))/0x7*(parseInt(_0x4476e0(0x174))/0x8)+parseInt(_0x4476e0(0x171))/0x9;if(_0x2be0ad===_0x593ff8)break;else _0x51304a['push'](_0x51304a['shift']());}catch(_0x3857b4){_0x51304a['push'](_0x51304a['shift']());}}}(_0x1c01,0xc7cbf));import{parsePositionBeforeCompression as _0x591eff,parsePositionAfterCompression as _0x5ceafd}from'../utils.js';export class OperationCompressor{[_0x39a6b3(0x17e)];[_0x39a6b3(0x173)];[_0x39a6b3(0x17d)];constructor(_0xf4f558,_0x5763f8,_0x3dfcb7){const _0x205d6c=_0x39a6b3;this[_0x205d6c(0x17e)]=_0xf4f558,this[_0x205d6c(0x173)]=_0x5763f8,this[_0x205d6c(0x17d)]=_0x3dfcb7;}[_0x39a6b3(0x17b)](_0x35b3c4,_0x30c3ec){const _0x180c25=_0x39a6b3,_0x290d4f=_0x30c3ec[_0x180c25(0x179)]();return _0x591eff(_0x290d4f),_0x35b3c4[_0x180c25(0x170)][_0x180c25(0x16f)](this[_0x180c25(0x17d)][_0x180c25(0x17b)](_0x290d4f)),_0x35b3c4[_0x180c25(0x177)][_0x180c25(0x16f)](this[_0x180c25(0x17e)]),!0x0;}[_0x39a6b3(0x176)](_0x172f98,_0x4f0b21){const _0x2b0eaf=_0x39a6b3;_0x4f0b21[_0x2b0eaf(0x177)][_0x2b0eaf(0x179)]();const _0x9f0213=this[_0x2b0eaf(0x17d)][_0x2b0eaf(0x176)](_0x4f0b21[_0x2b0eaf(0x170)][_0x2b0eaf(0x179)]());_0x5ceafd(_0x9f0213),_0x9f0213[_0x2b0eaf(0x172)]=this[_0x2b0eaf(0x173)],_0x172f98[_0x2b0eaf(0x16f)](_0x9f0213);}}function _0x1c01(){const _0x1e3c88=['1279304gAroCp','210kndfAJ','decompress','types','1818740qGFpKy','shift','1489535WVGVxs','compress','6459876lxJDAx','_protobufDescriptor','_id','429840trUaJX','49OlnzUm','156105QvZdqF','push','buffers','15470343nGMxvf','__className','_operationName'];_0x1c01=function(){return _0x1e3c88;};return _0x1c01();}
23
+ function _0x5ccc(){const _0x2aa7e4=['push','__className','_id','_operationName','buffers','types','134451MNHvpN','9xqjTWU','288rkZXXF','_protobufDescriptor','1231481GYfBxh','24xcPfIG','compress','138ZBkcgv','decompress','254675Lxgzqu','6031140wDvIeD','210749EbikiZ','shift','27968259gOzTDI','1759168XnNSMq'];_0x5ccc=function(){return _0x2aa7e4;};return _0x5ccc();}const _0x4e9270=_0x3d3f;function _0x3d3f(_0x540367,_0x3bc728){const _0x5ccc13=_0x5ccc();return _0x3d3f=function(_0x3d3f48,_0x33579b){_0x3d3f48=_0x3d3f48-0xa7;let _0x362bdf=_0x5ccc13[_0x3d3f48];return _0x362bdf;},_0x3d3f(_0x540367,_0x3bc728);}(function(_0x4fa1fa,_0x5caada){const _0x10be62=_0x3d3f,_0x1ef49c=_0x4fa1fa();while(!![]){try{const _0x39b58f=parseInt(_0x10be62(0xb5))/0x1+-parseInt(_0x10be62(0xaa))/0x2+-parseInt(_0x10be62(0xb1))/0x3*(parseInt(_0x10be62(0xb6))/0x4)+-parseInt(_0x10be62(0xba))/0x5*(parseInt(_0x10be62(0xb8))/0x6)+-parseInt(_0x10be62(0xa7))/0x7*(parseInt(_0x10be62(0xb3))/0x8)+-parseInt(_0x10be62(0xb2))/0x9*(-parseInt(_0x10be62(0xbb))/0xa)+parseInt(_0x10be62(0xa9))/0xb;if(_0x39b58f===_0x5caada)break;else _0x1ef49c['push'](_0x1ef49c['shift']());}catch(_0x443afd){_0x1ef49c['push'](_0x1ef49c['shift']());}}}(_0x5ccc,0xeda09));import{parsePositionBeforeCompression as _0x3ac7ce,parsePositionAfterCompression as _0x15a1b1}from'../utils.js';export class OperationCompressor{[_0x4e9270(0xad)];[_0x4e9270(0xae)];[_0x4e9270(0xb4)];constructor(_0x5ef28d,_0xa2e7db,_0xdd88db){const _0x143bc7=_0x4e9270;this[_0x143bc7(0xad)]=_0x5ef28d,this[_0x143bc7(0xae)]=_0xa2e7db,this[_0x143bc7(0xb4)]=_0xdd88db;}[_0x4e9270(0xb7)](_0xaf2ebb,_0x2f9241){const _0x25c4f3=_0x4e9270,_0x6c11fd=_0x2f9241[_0x25c4f3(0xa8)]();return _0x3ac7ce(_0x6c11fd),_0xaf2ebb[_0x25c4f3(0xaf)][_0x25c4f3(0xab)](this[_0x25c4f3(0xb4)][_0x25c4f3(0xb7)](_0x6c11fd)),_0xaf2ebb[_0x25c4f3(0xb0)][_0x25c4f3(0xab)](this[_0x25c4f3(0xad)]),!0x0;}[_0x4e9270(0xb9)](_0xbf4ddd,_0x4142b1){const _0x5d6a0b=_0x4e9270;_0x4142b1[_0x5d6a0b(0xb0)][_0x5d6a0b(0xa8)]();const _0xf44f96=this[_0x5d6a0b(0xb4)][_0x5d6a0b(0xb9)](_0x4142b1[_0x5d6a0b(0xaf)][_0x5d6a0b(0xa8)]());_0x15a1b1(_0xf44f96),_0xf44f96[_0x5d6a0b(0xac)]=this[_0x5d6a0b(0xae)],_0xbf4ddd[_0x5d6a0b(0xab)](_0xf44f96);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4cd6(_0x3c743f,_0x2c0b4c){const _0x910591=_0x9105();return _0x4cd6=function(_0x4cd676,_0x1d28d2){_0x4cd676=_0x4cd676-0x104;let _0x14385c=_0x910591[_0x4cd676];return _0x14385c;},_0x4cd6(_0x3c743f,_0x2c0b4c);}function _0x9105(){const _0x13cbd9=['454068tHrmCT','decode','create','3766728RTszaT','_protobuf','182XoBnnm','70842EloxwZ','50FhmHVe','45DzTenx','93822LrhbpI','verify','28urFMgO','_protobufRoot','decompress','getDescriptor','1771264UanssO','encode','finish','toObject','136720bJrqXN','638597hPnNpq','compress'];_0x9105=function(){return _0x13cbd9;};return _0x9105();}const _0x529e2e=_0x4cd6;(function(_0x58075d,_0x136ebc){const _0x1f4b06=_0x4cd6,_0x4cffa8=_0x58075d();while(!![]){try{const _0x2ebaa8=parseInt(_0x1f4b06(0x110))/0x1+parseInt(_0x1f4b06(0x107))/0x2*(parseInt(_0x1f4b06(0x105))/0x3)+-parseInt(_0x1f4b06(0x10f))/0x4*(parseInt(_0x1f4b06(0x104))/0x5)+-parseInt(_0x1f4b06(0x118))/0x6*(parseInt(_0x1f4b06(0x117))/0x7)+-parseInt(_0x1f4b06(0x115))/0x8+parseInt(_0x1f4b06(0x112))/0x9*(parseInt(_0x1f4b06(0x119))/0xa)+parseInt(_0x1f4b06(0x10b))/0xb;if(_0x2ebaa8===_0x136ebc)break;else _0x4cffa8['push'](_0x4cffa8['shift']());}catch(_0xbb1f12){_0x4cffa8['push'](_0x4cffa8['shift']());}}}(_0x9105,0x62b32));import{messages as _0x2af40f}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x529e2e(0x108)];constructor(){const _0x18efa0=_0x529e2e;this[_0x18efa0(0x108)]=_0x2af40f;}[_0x529e2e(0x10a)](_0x1c5509){const _0xcca1c4=_0x529e2e;return new ProtobufDescriptor(this[_0xcca1c4(0x108)][_0x1c5509]);}}export class ProtobufDescriptor{[_0x529e2e(0x116)];constructor(_0x23c943){const _0x3488ee=_0x529e2e;this[_0x3488ee(0x116)]=_0x23c943;}[_0x529e2e(0x111)](_0xe1d43c){const _0x460b1f=_0x529e2e,_0x3c10aa=this[_0x460b1f(0x116)][_0x460b1f(0x106)](_0xe1d43c);if(_0x3c10aa)throw Error(_0x3c10aa);return this[_0x460b1f(0x116)][_0x460b1f(0x10c)](this[_0x460b1f(0x116)][_0x460b1f(0x114)](_0xe1d43c))[_0x460b1f(0x10d)]();}[_0x529e2e(0x109)](_0x2f5bc0){const _0x113546=_0x529e2e;return this[_0x113546(0x116)][_0x113546(0x10e)](this[_0x113546(0x116)][_0x113546(0x113)](_0x2f5bc0),{'oneofs':!0x0});}}
23
+ const _0x532b13=_0x3e14;(function(_0x4c1d2c,_0x5875bf){const _0x8a3236=_0x3e14,_0x3f7486=_0x4c1d2c();while(!![]){try{const _0x1e8fe4=parseInt(_0x8a3236(0x192))/0x1*(-parseInt(_0x8a3236(0x199))/0x2)+parseInt(_0x8a3236(0x18d))/0x3*(-parseInt(_0x8a3236(0x19a))/0x4)+-parseInt(_0x8a3236(0x195))/0x5+-parseInt(_0x8a3236(0x18f))/0x6*(parseInt(_0x8a3236(0x191))/0x7)+parseInt(_0x8a3236(0x198))/0x8+parseInt(_0x8a3236(0x193))/0x9*(-parseInt(_0x8a3236(0x188))/0xa)+parseInt(_0x8a3236(0x18b))/0xb;if(_0x1e8fe4===_0x5875bf)break;else _0x3f7486['push'](_0x3f7486['shift']());}catch(_0x3c327a){_0x3f7486['push'](_0x3f7486['shift']());}}}(_0x229b,0xf16ef));import{messages as _0x183ba2}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x532b13(0x189)];constructor(){const _0x4873a4=_0x532b13;this[_0x4873a4(0x189)]=_0x183ba2;}[_0x532b13(0x19b)](_0x540823){const _0x399368=_0x532b13;return new ProtobufDescriptor(this[_0x399368(0x189)][_0x540823]);}}export class ProtobufDescriptor{[_0x532b13(0x194)];constructor(_0x40a8bc){const _0x516571=_0x532b13;this[_0x516571(0x194)]=_0x40a8bc;}[_0x532b13(0x196)](_0x1c5316){const _0x48d061=_0x532b13,_0x475cc8=this[_0x48d061(0x194)][_0x48d061(0x190)](_0x1c5316);if(_0x475cc8)throw Error(_0x475cc8);return this[_0x48d061(0x194)][_0x48d061(0x18a)](this[_0x48d061(0x194)][_0x48d061(0x187)](_0x1c5316))[_0x48d061(0x18e)]();}[_0x532b13(0x18c)](_0x28152d){const _0x214ea1=_0x532b13;return this[_0x214ea1(0x194)][_0x214ea1(0x186)](this[_0x214ea1(0x194)][_0x214ea1(0x197)](_0x28152d),{'oneofs':!0x0});}}function _0x3e14(_0x3a4d38,_0x3e5e13){const _0x229bee=_0x229b();return _0x3e14=function(_0x3e149b,_0x2ee3b7){_0x3e149b=_0x3e149b-0x186;let _0x49fec0=_0x229bee[_0x3e149b];return _0x49fec0;},_0x3e14(_0x3a4d38,_0x3e5e13);}function _0x229b(){const _0x35c8cf=['118221scqYJe','finish','2192718kojppV','verify','14zvTjQu','823291oWYDbr','33021FDAQZn','_protobuf','7916135XYbWLp','compress','decode','14122056luCFXI','2LNVqLs','20ChpIXc','getDescriptor','toObject','create','590cWehTf','_protobufRoot','encode','30520424vbmojk','decompress'];_0x229b=function(){return _0x35c8cf;};return _0x229b();}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3bec(_0x8d622,_0x9deaea){const _0x495d30=_0x495d();return _0x3bec=function(_0x3bec82,_0x5d2d75){_0x3bec82=_0x3bec82-0xf8;let _0x31026a=_0x495d30[_0x3bec82];return _0x31026a;},_0x3bec(_0x8d622,_0x9deaea);}(function(_0x229eb9,_0x2c87bb){const _0x3564ce=_0x3bec,_0x4d2616=_0x229eb9();while(!![]){try{const _0x46c4bd=-parseInt(_0x3564ce(0xf9))/0x1+parseInt(_0x3564ce(0x109))/0x2*(-parseInt(_0x3564ce(0x107))/0x3)+parseInt(_0x3564ce(0x101))/0x4*(-parseInt(_0x3564ce(0x108))/0x5)+-parseInt(_0x3564ce(0x106))/0x6+-parseInt(_0x3564ce(0xfb))/0x7*(-parseInt(_0x3564ce(0x10a))/0x8)+-parseInt(_0x3564ce(0xfc))/0x9*(-parseInt(_0x3564ce(0x105))/0xa)+-parseInt(_0x3564ce(0xff))/0xb*(-parseInt(_0x3564ce(0xfa))/0xc);if(_0x46c4bd===_0x2c87bb)break;else _0x4d2616['push'](_0x4d2616['shift']());}catch(_0x347696){_0x4d2616['push'](_0x4d2616['shift']());}}}(_0x495d,0xccf49));import{cloneDeep as _0x2a5b3e,isEqual as _0x21829f,isObject as _0x9dca25}from'es-toolkit/compat';export function getPositionShiftedBy(_0x292fdf,_0x3296c9){const _0x44682b=_0x3bec,_0x57685f=_0x2a5b3e(_0x292fdf);return _0x57685f[_0x44682b(0xfe)][_0x57685f[_0x44682b(0xfe)][_0x44682b(0x103)]-0x1]+=_0x3296c9,_0x57685f;}export function arePositionsEqual(_0x311fd8,_0x211dcd){const _0x2704d1=_0x3bec;return _0x311fd8[_0x2704d1(0x102)]===_0x211dcd[_0x2704d1(0x102)]&&_0x21829f(_0x311fd8[_0x2704d1(0xfe)],_0x211dcd[_0x2704d1(0xfe)]);}export function parsePositionBeforeCompression(_0x23fa4a){const _0x3a8b90=_0x3bec;P(_0x23fa4a,_0x2ca398=>(_0x3a8b90(0x104)==_0x2ca398[_0x3a8b90(0x102)]?(_0x2ca398[_0x3a8b90(0x10b)]=!0x0,delete _0x2ca398[_0x3a8b90(0x102)]):_0x3a8b90(0xfd)==_0x2ca398[_0x3a8b90(0x102)]&&(_0x2ca398[_0x3a8b90(0xf8)]=!0x0,delete _0x2ca398[_0x3a8b90(0x102)]),_0x2ca398));}function _0x495d(){const _0x191a17=['length','main','3079670rdiUsy','5373174QRBCKo','834189TtSZqx','5515QAdDpi','12IErVzZ','8xuzJnM','rootMain','rootGraveyard','409971SVXANo','11472VMyXyo','9557639wMNaSM','18vcjMNE','$graveyard','path','21131zfdepD','nodes','16nhZYcv','root'];_0x495d=function(){return _0x191a17;};return _0x495d();}export function parsePositionAfterCompression(_0x20993a){const _0x360720=_0x3bec;P(_0x20993a,_0x384a2d=>(_0x384a2d[_0x360720(0x10b)]?(_0x384a2d[_0x360720(0x102)]=_0x360720(0x104),delete _0x384a2d[_0x360720(0x10b)]):_0x384a2d[_0x360720(0xf8)]&&(_0x384a2d[_0x360720(0x102)]=_0x360720(0xfd),delete _0x384a2d[_0x360720(0xf8)]),_0x384a2d));}function P(_0x31dec4,_0x677b77){const _0x38e990=_0x3bec;for(const _0xdc653b in _0x31dec4){const _0x308395=_0x31dec4[_0xdc653b];_0x38e990(0x100)!==_0xdc653b&&_0x9dca25(_0x308395)&&(_0x308395[_0x38e990(0xfe)]&&(_0x308395[_0x38e990(0x102)]||_0x308395[_0x38e990(0x10b)]||_0x308395[_0x38e990(0xf8)])?_0x31dec4[_0xdc653b]=_0x677b77(_0x308395):P(_0x308395,_0x677b77));}return _0x31dec4;}
23
+ (function(_0x2b3ce5,_0x3b233e){const _0x3cdf82=_0xa7ca,_0x257de0=_0x2b3ce5();while(!![]){try{const _0xed2152=-parseInt(_0x3cdf82(0x112))/0x1*(-parseInt(_0x3cdf82(0x11f))/0x2)+-parseInt(_0x3cdf82(0x11b))/0x3*(parseInt(_0x3cdf82(0x11e))/0x4)+parseInt(_0x3cdf82(0x115))/0x5*(-parseInt(_0x3cdf82(0x116))/0x6)+parseInt(_0x3cdf82(0x11c))/0x7+parseInt(_0x3cdf82(0x117))/0x8+-parseInt(_0x3cdf82(0x118))/0x9+-parseInt(_0x3cdf82(0x11d))/0xa*(-parseInt(_0x3cdf82(0x119))/0xb);if(_0xed2152===_0x3b233e)break;else _0x257de0['push'](_0x257de0['shift']());}catch(_0x318084){_0x257de0['push'](_0x257de0['shift']());}}}(_0x2f83,0x6e7cb));import{cloneDeep as _0x4fdf5b,isEqual as _0x9c7bf6,isObject as _0x3e062e}from'es-toolkit/compat';export function getPositionShiftedBy(_0x3c8adc,_0xe43578){const _0x235d15=_0xa7ca,_0x4d835d=_0x4fdf5b(_0x3c8adc);return _0x4d835d[_0x235d15(0x113)][_0x4d835d[_0x235d15(0x113)][_0x235d15(0x122)]-0x1]+=_0xe43578,_0x4d835d;}export function arePositionsEqual(_0x2ea28c,_0x39d9d3){const _0x23ffc9=_0xa7ca;return _0x2ea28c[_0x23ffc9(0x121)]===_0x39d9d3[_0x23ffc9(0x121)]&&_0x9c7bf6(_0x2ea28c[_0x23ffc9(0x113)],_0x39d9d3[_0x23ffc9(0x113)]);}export function parsePositionBeforeCompression(_0x5642af){const _0x449802=_0xa7ca;P(_0x5642af,_0x5c794e=>(_0x449802(0x111)==_0x5c794e[_0x449802(0x121)]?(_0x5c794e[_0x449802(0x110)]=!0x0,delete _0x5c794e[_0x449802(0x121)]):_0x449802(0x114)==_0x5c794e[_0x449802(0x121)]&&(_0x5c794e[_0x449802(0x11a)]=!0x0,delete _0x5c794e[_0x449802(0x121)]),_0x5c794e));}export function parsePositionAfterCompression(_0x4bb6b9){const _0x5f54f4=_0xa7ca;P(_0x4bb6b9,_0x598182=>(_0x598182[_0x5f54f4(0x110)]?(_0x598182[_0x5f54f4(0x121)]=_0x5f54f4(0x111),delete _0x598182[_0x5f54f4(0x110)]):_0x598182[_0x5f54f4(0x11a)]&&(_0x598182[_0x5f54f4(0x121)]=_0x5f54f4(0x114),delete _0x598182[_0x5f54f4(0x11a)]),_0x598182));}function P(_0x5755f7,_0x2284d4){const _0x4a14e2=_0xa7ca;for(const _0x54545c in _0x5755f7){const _0x25d3f2=_0x5755f7[_0x54545c];_0x4a14e2(0x120)!==_0x54545c&&_0x3e062e(_0x25d3f2)&&(_0x25d3f2[_0x4a14e2(0x113)]&&(_0x25d3f2[_0x4a14e2(0x121)]||_0x25d3f2[_0x4a14e2(0x110)]||_0x25d3f2[_0x4a14e2(0x11a)])?_0x5755f7[_0x54545c]=_0x2284d4(_0x25d3f2):P(_0x25d3f2,_0x2284d4));}return _0x5755f7;}function _0xa7ca(_0x1393cd,_0x5df5d1){const _0x2f832f=_0x2f83();return _0xa7ca=function(_0xa7ca09,_0x2472c4){_0xa7ca09=_0xa7ca09-0x110;let _0x4ad857=_0x2f832f[_0xa7ca09];return _0x4ad857;},_0xa7ca(_0x1393cd,_0x5df5d1);}function _0x2f83(){const _0x44f179=['22qIvTkg','rootGraveyard','1355217ILXCdM','3788848DZfBVr','3689110YcPCEB','4XMuAkI','335678IRGzvE','nodes','root','length','rootMain','main','1dsuRhi','path','$graveyard','315195hNSYgE','48xiXiPt','842992JIhRkZ','1293237BfhISS'];_0x2f83=function(){return _0x44f179;};return _0x2f83();}