@ckeditor/ckeditor5-operations-compressor 46.0.2 → 46.1.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x31ec(_0x5cca99,_0x3367b3){var _0x3ecb04=_0x3ecb();return _0x31ec=function(_0x31ec8d,_0x3b69d0){_0x31ec8d=_0x31ec8d-0xcc;var _0x48d7a1=_0x3ecb04[_0x31ec8d];return _0x48d7a1;},_0x31ec(_0x5cca99,_0x3367b3);}var _0x147efd=_0x31ec;(function(_0x432b48,_0x4c2854){var _0x236937=_0x31ec,_0x14b071=_0x432b48();while(!![]){try{var _0x5864c7=-parseInt(_0x236937(0xdb))/0x1*(-parseInt(_0x236937(0xd9))/0x2)+-parseInt(_0x236937(0xdc))/0x3+parseInt(_0x236937(0xd6))/0x4+-parseInt(_0x236937(0xd8))/0x5*(parseInt(_0x236937(0xd3))/0x6)+-parseInt(_0x236937(0xda))/0x7*(-parseInt(_0x236937(0xcc))/0x8)+parseInt(_0x236937(0xd1))/0x9+-parseInt(_0x236937(0xd5))/0xa;if(_0x5864c7===_0x4c2854)break;else _0x14b071['push'](_0x14b071['shift']());}catch(_0x139ddb){_0x14b071['push'](_0x14b071['shift']());}}}(_0x3ecb,0xa06a5));import{OperationCompressor as _0x291e1a}from'./operationcompressor.js';function _0x3ecb(){var _0xb04dbd=['1039004ewYoAe','decompress','55zKFdqe','3604CdTdCx','3493kMCiYj','479lguzdg','3116115uvGXEY','4792ChjKtO','compress','types','shift','push','9560673JmUwmG','_operationName','107052PkTjhn','_id','5920790NYjtrR'];_0x3ecb=function(){return _0xb04dbd;};return _0x3ecb();}export class NoOperationCompressor extends _0x291e1a{[_0x147efd(0xcd)](_0x4beb8d,_0x4cc85b){var _0x275c31=_0x147efd;return _0x4cc85b[_0x275c31(0xcf)](),_0x4beb8d[_0x275c31(0xce)][_0x275c31(0xd0)](this[_0x275c31(0xd4)]),!0x0;}[_0x147efd(0xd7)](_0x2f8422,_0x4dd1f4){var _0x5ef1ba=_0x147efd;_0x4dd1f4[_0x5ef1ba(0xce)][_0x5ef1ba(0xcf)](),_0x2f8422[_0x5ef1ba(0xd0)]({'__className':this[_0x5ef1ba(0xd2)]});}}
23
+ var _0x24caad=_0x4c00;(function(_0x2c2f8f,_0x126106){var _0x4b7f32=_0x4c00,_0x52a9c9=_0x2c2f8f();while(!![]){try{var _0x307a01=parseInt(_0x4b7f32(0xa4))/0x1*(parseInt(_0x4b7f32(0xac))/0x2)+-parseInt(_0x4b7f32(0xaf))/0x3+parseInt(_0x4b7f32(0xb0))/0x4+-parseInt(_0x4b7f32(0xa8))/0x5*(-parseInt(_0x4b7f32(0xb3))/0x6)+parseInt(_0x4b7f32(0xab))/0x7+-parseInt(_0x4b7f32(0xa6))/0x8*(parseInt(_0x4b7f32(0xae))/0x9)+-parseInt(_0x4b7f32(0xad))/0xa;if(_0x307a01===_0x126106)break;else _0x52a9c9['push'](_0x52a9c9['shift']());}catch(_0x1e730d){_0x52a9c9['push'](_0x52a9c9['shift']());}}}(_0x419d,0x8d54e));function _0x4c00(_0x170fe8,_0x370a80){var _0x419d07=_0x419d();return _0x4c00=function(_0x4c0040,_0x288459){_0x4c0040=_0x4c0040-0xa3;var _0x392d1c=_0x419d07[_0x4c0040];return _0x392d1c;},_0x4c00(_0x170fe8,_0x370a80);}import{OperationCompressor as _0x84c892}from'./operationcompressor.js';export class NoOperationCompressor extends _0x84c892{[_0x24caad(0xa9)](_0x5eb548,_0x440d1f){var _0x36d8ce=_0x24caad;return _0x440d1f[_0x36d8ce(0xb1)](),_0x5eb548[_0x36d8ce(0xa5)][_0x36d8ce(0xa7)](this[_0x36d8ce(0xb2)]),!0x0;}[_0x24caad(0xa3)](_0x18d92d,_0x1da7aa){var _0x4523aa=_0x24caad;_0x1da7aa[_0x4523aa(0xa5)][_0x4523aa(0xb1)](),_0x18d92d[_0x4523aa(0xa7)]({'__className':this[_0x4523aa(0xaa)]});}}function _0x419d(){var _0x53edb2=['4327012wNvjoI','shift','_id','4164540khcuxQ','decompress','307ppRkyX','types','136YGRtyd','push','5Jdjzkt','compress','_operationName','2637677rMwxfH','2288QePKxh','12465450DICbvE','349803EoSUVB','53052RnlmFY'];_0x419d=function(){return _0x53edb2;};return _0x419d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56cfb6=_0x2435;(function(_0x32e5b2,_0x12976f){const _0x116290=_0x2435,_0x634de5=_0x32e5b2();while(!![]){try{const _0x144fe7=-parseInt(_0x116290(0x1be))/0x1*(parseInt(_0x116290(0x1c1))/0x2)+-parseInt(_0x116290(0x1b1))/0x3*(parseInt(_0x116290(0x1b6))/0x4)+parseInt(_0x116290(0x1b3))/0x5*(-parseInt(_0x116290(0x1b4))/0x6)+parseInt(_0x116290(0x1b0))/0x7*(-parseInt(_0x116290(0x1c2))/0x8)+-parseInt(_0x116290(0x1bf))/0x9+-parseInt(_0x116290(0x1c4))/0xa+parseInt(_0x116290(0x1ba))/0xb;if(_0x144fe7===_0x12976f)break;else _0x634de5['push'](_0x634de5['shift']());}catch(_0xe5874d){_0x634de5['push'](_0x634de5['shift']());}}}(_0x1bf0,0x8c1ae));function _0x1bf0(){const _0x43cafe=['45pkCMwr','10043424SaECAP','_protobufDescriptor','47820RPRolu','104HGWMrG','_id','6769640sUtamZ','239302BWUOul','270UevAqV','shift','30735RkqmSL','1056ACbYPV','compress','15848EgljQs','buffers','types','decompress','58581490aGRHiU','push','_operationName','__className'];_0x1bf0=function(){return _0x43cafe;};return _0x1bf0();}import{parsePositionBeforeCompression as _0x597078,parsePositionAfterCompression as _0x4c8426}from'../utils.js';function _0x2435(_0x66b885,_0x163fc2){const _0x1bf0de=_0x1bf0();return _0x2435=function(_0x243556,_0xe2e19d){_0x243556=_0x243556-0x1b0;let _0x13a473=_0x1bf0de[_0x243556];return _0x13a473;},_0x2435(_0x66b885,_0x163fc2);}export class OperationCompressor{[_0x56cfb6(0x1c3)];[_0x56cfb6(0x1bc)];[_0x56cfb6(0x1c0)];constructor(_0x42f7bd,_0x5c4f0c,_0x1ceb3b){const _0x812c2c=_0x56cfb6;this[_0x812c2c(0x1c3)]=_0x42f7bd,this[_0x812c2c(0x1bc)]=_0x5c4f0c,this[_0x812c2c(0x1c0)]=_0x1ceb3b;}[_0x56cfb6(0x1b5)](_0x7e85f2,_0x75129c){const _0x3a4e86=_0x56cfb6,_0x443cae=_0x75129c[_0x3a4e86(0x1b2)]();return _0x597078(_0x443cae),_0x7e85f2[_0x3a4e86(0x1b7)][_0x3a4e86(0x1bb)](this[_0x3a4e86(0x1c0)][_0x3a4e86(0x1b5)](_0x443cae)),_0x7e85f2[_0x3a4e86(0x1b8)][_0x3a4e86(0x1bb)](this[_0x3a4e86(0x1c3)]),!0x0;}[_0x56cfb6(0x1b9)](_0x5467c0,_0x562586){const _0x4f3a59=_0x56cfb6;_0x562586[_0x4f3a59(0x1b8)][_0x4f3a59(0x1b2)]();const _0x25dbf7=this[_0x4f3a59(0x1c0)][_0x4f3a59(0x1b9)](_0x562586[_0x4f3a59(0x1b7)][_0x4f3a59(0x1b2)]());_0x4c8426(_0x25dbf7),_0x25dbf7[_0x4f3a59(0x1bd)]=this[_0x4f3a59(0x1bc)],_0x5467c0[_0x4f3a59(0x1bb)](_0x25dbf7);}}
23
+ const _0x5a441b=_0x53df;function _0x53df(_0xe3545e,_0x34becc){const _0x43d95a=_0x43d9();return _0x53df=function(_0x53df46,_0xe40e68){_0x53df46=_0x53df46-0x146;let _0x130aa8=_0x43d95a[_0x53df46];return _0x130aa8;},_0x53df(_0xe3545e,_0x34becc);}(function(_0x13a262,_0x4d82fc){const _0x52637d=_0x53df,_0x2a2258=_0x13a262();while(!![]){try{const _0x219733=parseInt(_0x52637d(0x14a))/0x1*(parseInt(_0x52637d(0x151))/0x2)+parseInt(_0x52637d(0x148))/0x3*(parseInt(_0x52637d(0x155))/0x4)+-parseInt(_0x52637d(0x15b))/0x5*(parseInt(_0x52637d(0x153))/0x6)+-parseInt(_0x52637d(0x14f))/0x7*(-parseInt(_0x52637d(0x14d))/0x8)+-parseInt(_0x52637d(0x146))/0x9*(parseInt(_0x52637d(0x150))/0xa)+parseInt(_0x52637d(0x158))/0xb+-parseInt(_0x52637d(0x152))/0xc;if(_0x219733===_0x4d82fc)break;else _0x2a2258['push'](_0x2a2258['shift']());}catch(_0x4de95b){_0x2a2258['push'](_0x2a2258['shift']());}}}(_0x43d9,0x4db73));import{parsePositionBeforeCompression as _0x3c880f,parsePositionAfterCompression as _0x329b42}from'../utils.js';export class OperationCompressor{[_0x5a441b(0x149)];[_0x5a441b(0x14b)];[_0x5a441b(0x159)];constructor(_0xd13016,_0x4e3c70,_0x300496){const _0x89b540=_0x5a441b;this[_0x89b540(0x149)]=_0xd13016,this[_0x89b540(0x14b)]=_0x4e3c70,this[_0x89b540(0x159)]=_0x300496;}[_0x5a441b(0x157)](_0x1c9008,_0x3ed8bd){const _0x270a35=_0x5a441b,_0x41afb9=_0x3ed8bd[_0x270a35(0x14c)]();return _0x3c880f(_0x41afb9),_0x1c9008[_0x270a35(0x14e)][_0x270a35(0x154)](this[_0x270a35(0x159)][_0x270a35(0x157)](_0x41afb9)),_0x1c9008[_0x270a35(0x15a)][_0x270a35(0x154)](this[_0x270a35(0x149)]),!0x0;}[_0x5a441b(0x147)](_0x4e10bd,_0x366bdb){const _0x58aebe=_0x5a441b;_0x366bdb[_0x58aebe(0x15a)][_0x58aebe(0x14c)]();const _0x3e4d55=this[_0x58aebe(0x159)][_0x58aebe(0x147)](_0x366bdb[_0x58aebe(0x14e)][_0x58aebe(0x14c)]());_0x329b42(_0x3e4d55),_0x3e4d55[_0x58aebe(0x156)]=this[_0x58aebe(0x14b)],_0x4e10bd[_0x58aebe(0x154)](_0x3e4d55);}}function _0x43d9(){const _0x3042b3=['_id','2IgZFik','_operationName','shift','674296hktwym','buffers','49CpBCTs','20KHVHgE','138152TFdVdI','7006848AiRvbH','6gedqGW','push','1965224FdrBdb','__className','compress','4505941RidRli','_protobufDescriptor','types','1631985EjUoqO','1802133cgJxOW','decompress','3faxCSH'];_0x43d9=function(){return _0x3042b3;};return _0x43d9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x35ee(_0x24bcc1,_0x3ddc59){const _0x4a861c=_0x4a86();return _0x35ee=function(_0x35ee84,_0x39cc43){_0x35ee84=_0x35ee84-0x10d;let _0x1dc7eb=_0x4a861c[_0x35ee84];return _0x1dc7eb;},_0x35ee(_0x24bcc1,_0x3ddc59);}const _0x4bf187=_0x35ee;function _0x4a86(){const _0x4b00ec=['toObject','4167351RINPsj','encode','71812JXDPwY','4427640QDxtwW','6atdSXk','decode','3242KmKmdr','create','7hCGwZA','_protobuf','decompress','3770576EeYngr','194887QmcoEt','_protobufRoot','110LHuEAF','compress','18rTtLxb','251pkqEdT','finish','907810Asjikg','getDescriptor','verify'];_0x4a86=function(){return _0x4b00ec;};return _0x4a86();}(function(_0x3dcb9c,_0x368545){const _0x5d4d18=_0x35ee,_0x56f046=_0x3dcb9c();while(!![]){try{const _0x35c52f=parseInt(_0x5d4d18(0x11a))/0x1*(parseInt(_0x5d4d18(0x10f))/0x2)+-parseInt(_0x5d4d18(0x119))/0x3*(parseInt(_0x5d4d18(0x122))/0x4)+-parseInt(_0x5d4d18(0x11c))/0x5*(parseInt(_0x5d4d18(0x10d))/0x6)+parseInt(_0x5d4d18(0x111))/0x7*(-parseInt(_0x5d4d18(0x114))/0x8)+parseInt(_0x5d4d18(0x120))/0x9+-parseInt(_0x5d4d18(0x117))/0xa*(parseInt(_0x5d4d18(0x115))/0xb)+parseInt(_0x5d4d18(0x123))/0xc;if(_0x35c52f===_0x368545)break;else _0x56f046['push'](_0x56f046['shift']());}catch(_0x63031d){_0x56f046['push'](_0x56f046['shift']());}}}(_0x4a86,0x452ff));import{messages as _0x35e1e9}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x4bf187(0x116)];constructor(){const _0x514759=_0x4bf187;this[_0x514759(0x116)]=_0x35e1e9;}[_0x4bf187(0x11d)](_0x3552bd){const _0x29a1b3=_0x4bf187;return new ProtobufDescriptor(this[_0x29a1b3(0x116)][_0x3552bd]);}}export class ProtobufDescriptor{[_0x4bf187(0x112)];constructor(_0x1f9009){const _0x12e91d=_0x4bf187;this[_0x12e91d(0x112)]=_0x1f9009;}[_0x4bf187(0x118)](_0x3892db){const _0x2f0502=_0x4bf187,_0x5e48f0=this[_0x2f0502(0x112)][_0x2f0502(0x11e)](_0x3892db);if(_0x5e48f0)throw Error(_0x5e48f0);return this[_0x2f0502(0x112)][_0x2f0502(0x121)](this[_0x2f0502(0x112)][_0x2f0502(0x110)](_0x3892db))[_0x2f0502(0x11b)]();}[_0x4bf187(0x113)](_0x4b36c3){const _0x1da2a2=_0x4bf187;return this[_0x1da2a2(0x112)][_0x1da2a2(0x11f)](this[_0x1da2a2(0x112)][_0x1da2a2(0x10e)](_0x4b36c3),{'oneofs':!0x0});}}
23
+ const _0x215695=_0x2457;function _0x2457(_0x1f815b,_0x506436){const _0x544d2a=_0x544d();return _0x2457=function(_0x24571c,_0x5663b2){_0x24571c=_0x24571c-0x14e;let _0x388d34=_0x544d2a[_0x24571c];return _0x388d34;},_0x2457(_0x1f815b,_0x506436);}(function(_0x488035,_0x2785e7){const _0x5e6c88=_0x2457,_0x4629e8=_0x488035();while(!![]){try{const _0x376beb=parseInt(_0x5e6c88(0x153))/0x1*(parseInt(_0x5e6c88(0x14e))/0x2)+-parseInt(_0x5e6c88(0x159))/0x3*(parseInt(_0x5e6c88(0x160))/0x4)+parseInt(_0x5e6c88(0x15d))/0x5+-parseInt(_0x5e6c88(0x154))/0x6+parseInt(_0x5e6c88(0x150))/0x7*(parseInt(_0x5e6c88(0x157))/0x8)+-parseInt(_0x5e6c88(0x15e))/0x9+parseInt(_0x5e6c88(0x15b))/0xa;if(_0x376beb===_0x2785e7)break;else _0x4629e8['push'](_0x4629e8['shift']());}catch(_0x14fc33){_0x4629e8['push'](_0x4629e8['shift']());}}}(_0x544d,0x68a2b));function _0x544d(){const _0x3ba247=['5546331CRbAqt','finish','24jXMpsK','decompress','encode','534356qexZNZ','toObject','8855kNQVhG','decode','_protobufRoot','3qQbdim','4009980dLktCn','getDescriptor','_protobuf','1096LiPREI','create','247497wjbwTZ','verify','5949860aprgPK','compress','3191725XtPMPz'];_0x544d=function(){return _0x3ba247;};return _0x544d();}import{messages as _0x2e0599}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x215695(0x152)];constructor(){const _0x58733d=_0x215695;this[_0x58733d(0x152)]=_0x2e0599;}[_0x215695(0x155)](_0xda2160){const _0x5a38ef=_0x215695;return new ProtobufDescriptor(this[_0x5a38ef(0x152)][_0xda2160]);}}export class ProtobufDescriptor{[_0x215695(0x156)];constructor(_0x178507){const _0x42afb8=_0x215695;this[_0x42afb8(0x156)]=_0x178507;}[_0x215695(0x15c)](_0x46855f){const _0xc28dea=_0x215695,_0x885c50=this[_0xc28dea(0x156)][_0xc28dea(0x15a)](_0x46855f);if(_0x885c50)throw Error(_0x885c50);return this[_0xc28dea(0x156)][_0xc28dea(0x162)](this[_0xc28dea(0x156)][_0xc28dea(0x158)](_0x46855f))[_0xc28dea(0x15f)]();}[_0x215695(0x161)](_0x418f4f){const _0x68f373=_0x215695;return this[_0x68f373(0x156)][_0x68f373(0x14f)](this[_0x68f373(0x156)][_0x68f373(0x151)](_0x418f4f),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2494a3,_0x56c52b){const _0x88d21=_0x3a42,_0x5326=_0x2494a3();while(!![]){try{const _0x3aa379=parseInt(_0x88d21(0x144))/0x1*(parseInt(_0x88d21(0x146))/0x2)+-parseInt(_0x88d21(0x141))/0x3+-parseInt(_0x88d21(0x140))/0x4*(-parseInt(_0x88d21(0x14b))/0x5)+-parseInt(_0x88d21(0x14c))/0x6*(-parseInt(_0x88d21(0x14a))/0x7)+-parseInt(_0x88d21(0x143))/0x8+-parseInt(_0x88d21(0x14d))/0x9+parseInt(_0x88d21(0x145))/0xa;if(_0x3aa379===_0x56c52b)break;else _0x5326['push'](_0x5326['shift']());}catch(_0x438c91){_0x5326['push'](_0x5326['shift']());}}}(_0x2342,0xb8a9e));import{cloneDeep as _0x47cb20,isEqual as _0x515a4e,isObject as _0xaa1b7d}from'es-toolkit/compat';export function getPositionShiftedBy(_0x301eee,_0x35967e){const _0x440bd7=_0x3a42,_0x3dedb4=_0x47cb20(_0x301eee);return _0x3dedb4[_0x440bd7(0x14e)][_0x3dedb4[_0x440bd7(0x14e)][_0x440bd7(0x149)]-0x1]+=_0x35967e,_0x3dedb4;}export function arePositionsEqual(_0x31ffdb,_0x439679){const _0x235d70=_0x3a42;return _0x31ffdb[_0x235d70(0x147)]===_0x439679[_0x235d70(0x147)]&&_0x515a4e(_0x31ffdb[_0x235d70(0x14e)],_0x439679[_0x235d70(0x14e)]);}function _0x2342(){const _0xbf33c=['2909942cEkUJE','root','rootMain','length','945931MuxFof','308320DdCcuz','12UACRMh','13128048jVBZRF','path','$graveyard','main','nodes','76OrzYIP','3428433YrZXaH','rootGraveyard','7586120wFaSeN','1Kvgdtj','14092770ANQEjU'];_0x2342=function(){return _0xbf33c;};return _0x2342();}export function parsePositionBeforeCompression(_0xecea71){const _0x4f1855=_0x3a42;P(_0xecea71,_0x3ea15e=>(_0x4f1855(0x13e)==_0x3ea15e[_0x4f1855(0x147)]?(_0x3ea15e[_0x4f1855(0x148)]=!0x0,delete _0x3ea15e[_0x4f1855(0x147)]):_0x4f1855(0x14f)==_0x3ea15e[_0x4f1855(0x147)]&&(_0x3ea15e[_0x4f1855(0x142)]=!0x0,delete _0x3ea15e[_0x4f1855(0x147)]),_0x3ea15e));}export function parsePositionAfterCompression(_0x219a1b){const _0x4bc424=_0x3a42;P(_0x219a1b,_0x524340=>(_0x524340[_0x4bc424(0x148)]?(_0x524340[_0x4bc424(0x147)]=_0x4bc424(0x13e),delete _0x524340[_0x4bc424(0x148)]):_0x524340[_0x4bc424(0x142)]&&(_0x524340[_0x4bc424(0x147)]=_0x4bc424(0x14f),delete _0x524340[_0x4bc424(0x142)]),_0x524340));}function _0x3a42(_0x31c0a1,_0x263c34){const _0x2342d6=_0x2342();return _0x3a42=function(_0x3a427d,_0x3c8805){_0x3a427d=_0x3a427d-0x13e;let _0x56b533=_0x2342d6[_0x3a427d];return _0x56b533;},_0x3a42(_0x31c0a1,_0x263c34);}function P(_0x1e6e51,_0x5b63c9){const _0x1d865c=_0x3a42;for(const _0x2eeed4 in _0x1e6e51){const _0x414b41=_0x1e6e51[_0x2eeed4];_0x1d865c(0x13f)!==_0x2eeed4&&_0xaa1b7d(_0x414b41)&&(_0x414b41[_0x1d865c(0x14e)]&&(_0x414b41[_0x1d865c(0x147)]||_0x414b41[_0x1d865c(0x148)]||_0x414b41[_0x1d865c(0x142)])?_0x1e6e51[_0x2eeed4]=_0x5b63c9(_0x414b41):P(_0x414b41,_0x5b63c9));}return _0x1e6e51;}
23
+ (function(_0x5a08f6,_0x2f7424){const _0x2660c6=_0x571f,_0x41c561=_0x5a08f6();while(!![]){try{const _0x463f5a=parseInt(_0x2660c6(0x1ac))/0x1*(-parseInt(_0x2660c6(0x1ae))/0x2)+-parseInt(_0x2660c6(0x1ab))/0x3+-parseInt(_0x2660c6(0x1a5))/0x4*(parseInt(_0x2660c6(0x1af))/0x5)+-parseInt(_0x2660c6(0x1ad))/0x6+-parseInt(_0x2660c6(0x1b5))/0x7*(-parseInt(_0x2660c6(0x1a9))/0x8)+-parseInt(_0x2660c6(0x1a6))/0x9*(-parseInt(_0x2660c6(0x1a4))/0xa)+parseInt(_0x2660c6(0x1b1))/0xb;if(_0x463f5a===_0x2f7424)break;else _0x41c561['push'](_0x41c561['shift']());}catch(_0x1df18c){_0x41c561['push'](_0x41c561['shift']());}}}(_0xf692,0x7c5f7));import{cloneDeep as _0x158d6c,isEqual as _0x359b79,isObject as _0x24e19f}from'es-toolkit/compat';export function getPositionShiftedBy(_0x2cd29e,_0x57f7ea){const _0x244cd3=_0x571f,_0x52a6f6=_0x158d6c(_0x2cd29e);return _0x52a6f6[_0x244cd3(0x1a8)][_0x52a6f6[_0x244cd3(0x1a8)][_0x244cd3(0x1a7)]-0x1]+=_0x57f7ea,_0x52a6f6;}function _0x571f(_0x12ea85,_0x4cb5db){const _0xf69240=_0xf692();return _0x571f=function(_0x571f30,_0x347c6f){_0x571f30=_0x571f30-0x1a4;let _0x4b3fd1=_0xf69240[_0x571f30];return _0x4b3fd1;},_0x571f(_0x12ea85,_0x4cb5db);}function _0xf692(){const _0x3aa518=['length','path','1304poOdHs','nodes','489207pGLxYV','1OyLVVr','692400XJzdbc','989402YctEdi','10aLNalc','rootGraveyard','12335158hctpmj','main','$graveyard','rootMain','37758mggSBD','root','25390eynfKd','1562948hlRsld','225myXmsj'];_0xf692=function(){return _0x3aa518;};return _0xf692();}export function arePositionsEqual(_0x300f0a,_0x4a818c){const _0x4ebbe8=_0x571f;return _0x300f0a[_0x4ebbe8(0x1b6)]===_0x4a818c[_0x4ebbe8(0x1b6)]&&_0x359b79(_0x300f0a[_0x4ebbe8(0x1a8)],_0x4a818c[_0x4ebbe8(0x1a8)]);}export function parsePositionBeforeCompression(_0x4da0bf){const _0xdcbf40=_0x571f;P(_0x4da0bf,_0x316ab5=>(_0xdcbf40(0x1b2)==_0x316ab5[_0xdcbf40(0x1b6)]?(_0x316ab5[_0xdcbf40(0x1b4)]=!0x0,delete _0x316ab5[_0xdcbf40(0x1b6)]):_0xdcbf40(0x1b3)==_0x316ab5[_0xdcbf40(0x1b6)]&&(_0x316ab5[_0xdcbf40(0x1b0)]=!0x0,delete _0x316ab5[_0xdcbf40(0x1b6)]),_0x316ab5));}export function parsePositionAfterCompression(_0x3f49a1){const _0x5869b4=_0x571f;P(_0x3f49a1,_0x36491d=>(_0x36491d[_0x5869b4(0x1b4)]?(_0x36491d[_0x5869b4(0x1b6)]=_0x5869b4(0x1b2),delete _0x36491d[_0x5869b4(0x1b4)]):_0x36491d[_0x5869b4(0x1b0)]&&(_0x36491d[_0x5869b4(0x1b6)]=_0x5869b4(0x1b3),delete _0x36491d[_0x5869b4(0x1b0)]),_0x36491d));}function P(_0x2deb80,_0x272978){const _0x4e7f80=_0x571f;for(const _0x296199 in _0x2deb80){const _0x541b86=_0x2deb80[_0x296199];_0x4e7f80(0x1aa)!==_0x296199&&_0x24e19f(_0x541b86)&&(_0x541b86[_0x4e7f80(0x1a8)]&&(_0x541b86[_0x4e7f80(0x1b6)]||_0x541b86[_0x4e7f80(0x1b4)]||_0x541b86[_0x4e7f80(0x1b0)])?_0x2deb80[_0x296199]=_0x272978(_0x541b86):P(_0x541b86,_0x272978));}return _0x2deb80;}