@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.6 → 47.3.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 _0x451f(){var _0xa70682=['309518XLAXoq','types','3100405yHxbQU','shift','481080VFCndC','1917368uyYgGK','968859kuRgkT','push','1263568DPsXRP','3lphYxe','90294FAvOYB','compress','_operationName','50RsAxvK','_id','decompress','15LgYRws'];_0x451f=function(){return _0xa70682;};return _0x451f();}var _0xe4c71f=_0x35c0;function _0x35c0(_0xa2ee2e,_0x4ccc62){var _0x451f16=_0x451f();return _0x35c0=function(_0x35c0e3,_0x30e758){_0x35c0e3=_0x35c0e3-0xad;var _0x4017e7=_0x451f16[_0x35c0e3];return _0x4017e7;},_0x35c0(_0xa2ee2e,_0x4ccc62);}(function(_0x1fcb3d,_0x1824a1){var _0x83f431=_0x35c0,_0x25f4e6=_0x1fcb3d();while(!![]){try{var _0xd9223a=-parseInt(_0x83f431(0xad))/0x1+-parseInt(_0x83f431(0xba))/0x2*(-parseInt(_0x83f431(0xb2))/0x3)+parseInt(_0x83f431(0xae))/0x4+parseInt(_0x83f431(0xb9))/0x5*(parseInt(_0x83f431(0xb3))/0x6)+parseInt(_0x83f431(0xbc))/0x7+parseInt(_0x83f431(0xb1))/0x8+-parseInt(_0x83f431(0xaf))/0x9*(parseInt(_0x83f431(0xb6))/0xa);if(_0xd9223a===_0x1824a1)break;else _0x25f4e6['push'](_0x25f4e6['shift']());}catch(_0x5b882b){_0x25f4e6['push'](_0x25f4e6['shift']());}}}(_0x451f,0x3faa6));import{OperationCompressor as _0x3b82aa}from'./operationcompressor.js';export class NoOperationCompressor extends _0x3b82aa{[_0xe4c71f(0xb4)](_0xf7d87d,_0x2e39c7){var _0x2304e7=_0xe4c71f;return _0x2e39c7[_0x2304e7(0xbd)](),_0xf7d87d[_0x2304e7(0xbb)][_0x2304e7(0xb0)](this[_0x2304e7(0xb7)]),!0x0;}[_0xe4c71f(0xb8)](_0x3cf374,_0x3008a8){var _0x5a892b=_0xe4c71f;_0x3008a8[_0x5a892b(0xbb)][_0x5a892b(0xbd)](),_0x3cf374[_0x5a892b(0xb0)]({'__className':this[_0x5a892b(0xb5)]});}}
23
+ var _0x2adcb9=_0x4433;function _0x4433(_0x17f59a,_0x17111e){var _0xbcbaf3=_0xbcba();return _0x4433=function(_0x4433d7,_0x44dd9c){_0x4433d7=_0x4433d7-0x11f;var _0x59a3bb=_0xbcbaf3[_0x4433d7];return _0x59a3bb;},_0x4433(_0x17f59a,_0x17111e);}(function(_0x1d2c63,_0x524a9c){var _0x4ca1fd=_0x4433,_0x2113be=_0x1d2c63();while(!![]){try{var _0x3930a8=parseInt(_0x4ca1fd(0x121))/0x1*(-parseInt(_0x4ca1fd(0x12e))/0x2)+-parseInt(_0x4ca1fd(0x129))/0x3*(parseInt(_0x4ca1fd(0x123))/0x4)+parseInt(_0x4ca1fd(0x12c))/0x5+parseInt(_0x4ca1fd(0x126))/0x6*(-parseInt(_0x4ca1fd(0x128))/0x7)+parseInt(_0x4ca1fd(0x130))/0x8*(-parseInt(_0x4ca1fd(0x124))/0x9)+parseInt(_0x4ca1fd(0x12d))/0xa+parseInt(_0x4ca1fd(0x12f))/0xb;if(_0x3930a8===_0x524a9c)break;else _0x2113be['push'](_0x2113be['shift']());}catch(_0x16a604){_0x2113be['push'](_0x2113be['shift']());}}}(_0xbcba,0x9cb79));import{OperationCompressor as _0x40b709}from'./operationcompressor.js';export class NoOperationCompressor extends _0x40b709{[_0x2adcb9(0x120)](_0x1f8b3e,_0x3ef6ad){var _0x471e30=_0x2adcb9;return _0x3ef6ad[_0x471e30(0x125)](),_0x1f8b3e[_0x471e30(0x12b)][_0x471e30(0x122)](this[_0x471e30(0x11f)]),!0x0;}[_0x2adcb9(0x127)](_0x173e1f,_0xc0dc7c){var _0x3d6e5c=_0x2adcb9;_0xc0dc7c[_0x3d6e5c(0x12b)][_0x3d6e5c(0x125)](),_0x173e1f[_0x3d6e5c(0x122)]({'__className':this[_0x3d6e5c(0x12a)]});}}function _0xbcba(){var _0x9ad210=['2961JvkDky','21PPFMUD','_operationName','types','347255ZqjJsW','15460gyVsIJ','6PEDrSP','28007111FRuZDQ','1169104bsvijZ','_id','compress','206783NCpIdN','push','273244kLchoO','9rdJavS','shift','10362YZtfqM','decompress'];_0xbcba=function(){return _0x9ad210;};return _0xbcba();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x11cb(){const _0x30fe15=['7038696UChRHy','1058807gQxFrO','_operationName','24712330svmbbb','buffers','_id','18gzJIJt','decompress','__className','6631144vQzlWN','push','1798410tSZCUJ','compress','11618852zTPeic','853116iXZkJO','55vqoUnz','types','_protobufDescriptor','shift','2rVtAub'];_0x11cb=function(){return _0x30fe15;};return _0x11cb();}function _0x5d77(_0x46aa38,_0x5ced02){const _0x11cb6c=_0x11cb();return _0x5d77=function(_0x5d77f0,_0x958f1){_0x5d77f0=_0x5d77f0-0x1b6;let _0x21a5ff=_0x11cb6c[_0x5d77f0];return _0x21a5ff;},_0x5d77(_0x46aa38,_0x5ced02);}const _0x1b661e=_0x5d77;(function(_0x18aafa,_0x2015ea){const _0x83ea5c=_0x5d77,_0x3c41fc=_0x18aafa();while(!![]){try{const _0x2b5880=-parseInt(_0x83ea5c(0x1c7))/0x1*(parseInt(_0x83ea5c(0x1c5))/0x2)+-parseInt(_0x83ea5c(0x1bd))/0x3+parseInt(_0x83ea5c(0x1bb))/0x4+parseInt(_0x83ea5c(0x1c1))/0x5*(-parseInt(_0x83ea5c(0x1c0))/0x6)+-parseInt(_0x83ea5c(0x1bf))/0x7+-parseInt(_0x83ea5c(0x1c6))/0x8+-parseInt(_0x83ea5c(0x1b8))/0x9*(-parseInt(_0x83ea5c(0x1c9))/0xa);if(_0x2b5880===_0x2015ea)break;else _0x3c41fc['push'](_0x3c41fc['shift']());}catch(_0x53b6cb){_0x3c41fc['push'](_0x3c41fc['shift']());}}}(_0x11cb,0xcca70));import{parsePositionBeforeCompression as _0x4327d7,parsePositionAfterCompression as _0x5de042}from'../utils.js';export class OperationCompressor{[_0x1b661e(0x1b7)];[_0x1b661e(0x1c8)];[_0x1b661e(0x1c3)];constructor(_0x43d964,_0xb59252,_0x4d0ad2){const _0x486b85=_0x1b661e;this[_0x486b85(0x1b7)]=_0x43d964,this[_0x486b85(0x1c8)]=_0xb59252,this[_0x486b85(0x1c3)]=_0x4d0ad2;}[_0x1b661e(0x1be)](_0x131c27,_0x4423cb){const _0x5d9bd2=_0x1b661e,_0x228446=_0x4423cb[_0x5d9bd2(0x1c4)]();return _0x4327d7(_0x228446),_0x131c27[_0x5d9bd2(0x1b6)][_0x5d9bd2(0x1bc)](this[_0x5d9bd2(0x1c3)][_0x5d9bd2(0x1be)](_0x228446)),_0x131c27[_0x5d9bd2(0x1c2)][_0x5d9bd2(0x1bc)](this[_0x5d9bd2(0x1b7)]),!0x0;}[_0x1b661e(0x1b9)](_0x1b4bae,_0xaac2b8){const _0x40fa9f=_0x1b661e;_0xaac2b8[_0x40fa9f(0x1c2)][_0x40fa9f(0x1c4)]();const _0x54263c=this[_0x40fa9f(0x1c3)][_0x40fa9f(0x1b9)](_0xaac2b8[_0x40fa9f(0x1b6)][_0x40fa9f(0x1c4)]());_0x5de042(_0x54263c),_0x54263c[_0x40fa9f(0x1ba)]=this[_0x40fa9f(0x1c8)],_0x1b4bae[_0x40fa9f(0x1bc)](_0x54263c);}}
23
+ function _0x364b(_0x26d8c2,_0x736978){const _0x5afe3b=_0x5afe();return _0x364b=function(_0x364b71,_0x3ff8a2){_0x364b71=_0x364b71-0x133;let _0x394562=_0x5afe3b[_0x364b71];return _0x394562;},_0x364b(_0x26d8c2,_0x736978);}const _0x14e381=_0x364b;(function(_0x1cd6ff,_0x5358b3){const _0x2c8520=_0x364b,_0x454709=_0x1cd6ff();while(!![]){try{const _0x1a2ba3=parseInt(_0x2c8520(0x141))/0x1+parseInt(_0x2c8520(0x13f))/0x2*(-parseInt(_0x2c8520(0x133))/0x3)+parseInt(_0x2c8520(0x142))/0x4*(-parseInt(_0x2c8520(0x144))/0x5)+parseInt(_0x2c8520(0x13a))/0x6+-parseInt(_0x2c8520(0x140))/0x7*(parseInt(_0x2c8520(0x13e))/0x8)+parseInt(_0x2c8520(0x13d))/0x9+parseInt(_0x2c8520(0x143))/0xa*(-parseInt(_0x2c8520(0x13c))/0xb);if(_0x1a2ba3===_0x5358b3)break;else _0x454709['push'](_0x454709['shift']());}catch(_0x4ffd19){_0x454709['push'](_0x454709['shift']());}}}(_0x5afe,0x5650d));import{parsePositionBeforeCompression as _0x17df6a,parsePositionAfterCompression as _0x56e80a}from'../utils.js';export class OperationCompressor{[_0x14e381(0x147)];[_0x14e381(0x134)];[_0x14e381(0x138)];constructor(_0x59f423,_0x1a5aa8,_0x36d943){const _0x3ebd9e=_0x14e381;this[_0x3ebd9e(0x147)]=_0x59f423,this[_0x3ebd9e(0x134)]=_0x1a5aa8,this[_0x3ebd9e(0x138)]=_0x36d943;}[_0x14e381(0x145)](_0x2688ce,_0x156b14){const _0x82456c=_0x14e381,_0x1c39a5=_0x156b14[_0x82456c(0x139)]();return _0x17df6a(_0x1c39a5),_0x2688ce[_0x82456c(0x13b)][_0x82456c(0x137)](this[_0x82456c(0x138)][_0x82456c(0x145)](_0x1c39a5)),_0x2688ce[_0x82456c(0x136)][_0x82456c(0x137)](this[_0x82456c(0x147)]),!0x0;}[_0x14e381(0x135)](_0x5892f5,_0x2e778f){const _0x36ef14=_0x14e381;_0x2e778f[_0x36ef14(0x136)][_0x36ef14(0x139)]();const _0x39a739=this[_0x36ef14(0x138)][_0x36ef14(0x135)](_0x2e778f[_0x36ef14(0x13b)][_0x36ef14(0x139)]());_0x56e80a(_0x39a739),_0x39a739[_0x36ef14(0x146)]=this[_0x36ef14(0x134)],_0x5892f5[_0x36ef14(0x137)](_0x39a739);}}function _0x5afe(){const _0x925535=['10KjkiGz','55KNCOOg','compress','__className','_id','69sKkBCG','_operationName','decompress','types','push','_protobufDescriptor','shift','2623560neAaTI','buffers','1098493PwqwKg','1293858mKZqXF','8WVxAVl','7538fMTxHR','1546090wyKCbe','266319hUOfFG','31408vVjfMZ'];_0x5afe=function(){return _0x925535;};return _0x5afe();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c9ca2=_0x38f4;function _0x38f4(_0x1fdc44,_0x5a1a99){const _0xb16b7c=_0xb16b();return _0x38f4=function(_0x38f42d,_0x299c87){_0x38f42d=_0x38f42d-0xd1;let _0x42795c=_0xb16b7c[_0x38f42d];return _0x42795c;},_0x38f4(_0x1fdc44,_0x5a1a99);}function _0xb16b(){const _0x52dcca=['verify','2qdsRQq','452652JKIDmu','getDescriptor','finish','2796294OlHNNG','decode','8261967obnYAv','encode','compress','_protobuf','1815459DQQnfi','23398740bHGRpv','toObject','decompress','547672vUbTBt','_protobufRoot','1056215vSKcij','create','12mcMDMP'];_0xb16b=function(){return _0x52dcca;};return _0xb16b();}(function(_0x48adaa,_0x1663de){const _0x252795=_0x38f4,_0x15d54f=_0x48adaa();while(!![]){try{const _0x352949=-parseInt(_0x252795(0xd9))/0x1+-parseInt(_0x252795(0xd8))/0x2*(parseInt(_0x252795(0xe2))/0x3)+parseInt(_0x252795(0xd6))/0x4*(parseInt(_0x252795(0xd4))/0x5)+-parseInt(_0x252795(0xdc))/0x6+-parseInt(_0x252795(0xde))/0x7+parseInt(_0x252795(0xd2))/0x8+parseInt(_0x252795(0xe3))/0x9;if(_0x352949===_0x1663de)break;else _0x15d54f['push'](_0x15d54f['shift']());}catch(_0x4562d7){_0x15d54f['push'](_0x15d54f['shift']());}}}(_0xb16b,0x91f99));import{messages as _0x14786c}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x1c9ca2(0xd3)];constructor(){const _0xb50662=_0x1c9ca2;this[_0xb50662(0xd3)]=_0x14786c;}[_0x1c9ca2(0xda)](_0x537d2e){const _0x226782=_0x1c9ca2;return new ProtobufDescriptor(this[_0x226782(0xd3)][_0x537d2e]);}}export class ProtobufDescriptor{[_0x1c9ca2(0xe1)];constructor(_0x2123af){const _0x177c5f=_0x1c9ca2;this[_0x177c5f(0xe1)]=_0x2123af;}[_0x1c9ca2(0xe0)](_0x4b1c33){const _0x3d8341=_0x1c9ca2,_0x21d823=this[_0x3d8341(0xe1)][_0x3d8341(0xd7)](_0x4b1c33);if(_0x21d823)throw Error(_0x21d823);return this[_0x3d8341(0xe1)][_0x3d8341(0xdf)](this[_0x3d8341(0xe1)][_0x3d8341(0xd5)](_0x4b1c33))[_0x3d8341(0xdb)]();}[_0x1c9ca2(0xd1)](_0x9ff52e){const _0x194f83=_0x1c9ca2;return this[_0x194f83(0xe1)][_0x194f83(0xe4)](this[_0x194f83(0xe1)][_0x194f83(0xdd)](_0x9ff52e),{'oneofs':!0x0});}}
23
+ const _0x3a2271=_0x51be;function _0x2092(){const _0x3cbe15=['encode','compress','finish','verify','4578910OTETbE','decompress','4678866MxenTt','decode','_protobuf','1164663AZacGY','18022712iawCmC','getDescriptor','3277594lWnxLQ','7008885IWgvwm','2392344HROgJV','toObject','_protobufRoot','6ArRAqC','create'];_0x2092=function(){return _0x3cbe15;};return _0x2092();}(function(_0x704364,_0x341eee){const _0x5cad26=_0x51be,_0x5960c4=_0x704364();while(!![]){try{const _0xa49675=-parseInt(_0x5cad26(0x9e))/0x1+-parseInt(_0x5cad26(0xa1))/0x2+parseInt(_0x5cad26(0x9b))/0x3+parseInt(_0x5cad26(0xa3))/0x4+-parseInt(_0x5cad26(0xa2))/0x5*(parseInt(_0x5cad26(0xa6))/0x6)+parseInt(_0x5cad26(0xac))/0x7+parseInt(_0x5cad26(0x9f))/0x8;if(_0xa49675===_0x341eee)break;else _0x5960c4['push'](_0x5960c4['shift']());}catch(_0xda1fcf){_0x5960c4['push'](_0x5960c4['shift']());}}}(_0x2092,0xd1d30));import{messages as _0x48ca88}from'./lib/compiledmessages.js';function _0x51be(_0x4f5033,_0x543c51){const _0x209234=_0x2092();return _0x51be=function(_0x51befc,_0x45ba93){_0x51befc=_0x51befc-0x9a;let _0x2d12ce=_0x209234[_0x51befc];return _0x2d12ce;},_0x51be(_0x4f5033,_0x543c51);}export class ProtobufFactory{[_0x3a2271(0xa5)];constructor(){const _0xcc350c=_0x3a2271;this[_0xcc350c(0xa5)]=_0x48ca88;}[_0x3a2271(0xa0)](_0x116dce){const _0x3f2d9c=_0x3a2271;return new ProtobufDescriptor(this[_0x3f2d9c(0xa5)][_0x116dce]);}}export class ProtobufDescriptor{[_0x3a2271(0x9d)];constructor(_0x2acca2){const _0xbd91e2=_0x3a2271;this[_0xbd91e2(0x9d)]=_0x2acca2;}[_0x3a2271(0xa9)](_0x37d923){const _0x168d1a=_0x3a2271,_0x183ef0=this[_0x168d1a(0x9d)][_0x168d1a(0xab)](_0x37d923);if(_0x183ef0)throw Error(_0x183ef0);return this[_0x168d1a(0x9d)][_0x168d1a(0xa8)](this[_0x168d1a(0x9d)][_0x168d1a(0xa7)](_0x37d923))[_0x168d1a(0xaa)]();}[_0x3a2271(0x9a)](_0x33d6ec){const _0x29582a=_0x3a2271;return this[_0x29582a(0x9d)][_0x29582a(0xa4)](this[_0x29582a(0x9d)][_0x29582a(0x9c)](_0x33d6ec),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x145b(){const _0xca8bc3=['nodes','main','9590iFQgEt','27lWxDTY','1944536tvwued','rootMain','2736942JQNXFe','rootGraveyard','$graveyard','667630TRoXIX','2283KMgddf','380cnUpXT','path','length','21NKlYkR','579019nXHNIa','root','10452772QuvxhP','928TDueEq'];_0x145b=function(){return _0xca8bc3;};return _0x145b();}(function(_0xcf3731,_0x43d33){const _0x143f12=_0x5bc0,_0x925bf6=_0xcf3731();while(!![]){try{const _0x2253f7=-parseInt(_0x143f12(0x1c9))/0x1+-parseInt(_0x143f12(0x1c5))/0x2*(parseInt(_0x143f12(0x1c4))/0x3)+-parseInt(_0x143f12(0x1cc))/0x4*(parseInt(_0x143f12(0x1bc))/0x5)+-parseInt(_0x143f12(0x1c0))/0x6*(-parseInt(_0x143f12(0x1c8))/0x7)+-parseInt(_0x143f12(0x1be))/0x8+-parseInt(_0x143f12(0x1bd))/0x9*(parseInt(_0x143f12(0x1c3))/0xa)+parseInt(_0x143f12(0x1cb))/0xb;if(_0x2253f7===_0x43d33)break;else _0x925bf6['push'](_0x925bf6['shift']());}catch(_0x374bb9){_0x925bf6['push'](_0x925bf6['shift']());}}}(_0x145b,0xac8de));import{cloneDeep as _0x211967,isEqual as _0x128a0e,isObject as _0x64ef8}from'es-toolkit/compat';export function getPositionShiftedBy(_0x1dfe6c,_0x45941a){const _0x5543e8=_0x5bc0,_0x8325b1=_0x211967(_0x1dfe6c);return _0x8325b1[_0x5543e8(0x1c6)][_0x8325b1[_0x5543e8(0x1c6)][_0x5543e8(0x1c7)]-0x1]+=_0x45941a,_0x8325b1;}function _0x5bc0(_0x2e7c4f,_0x1e2b77){const _0x145b5c=_0x145b();return _0x5bc0=function(_0x5bc07b,_0x3079d2){_0x5bc07b=_0x5bc07b-0x1bb;let _0x5621c5=_0x145b5c[_0x5bc07b];return _0x5621c5;},_0x5bc0(_0x2e7c4f,_0x1e2b77);}export function arePositionsEqual(_0xda4671,_0xd2b395){const _0x309a1c=_0x5bc0;return _0xda4671[_0x309a1c(0x1ca)]===_0xd2b395[_0x309a1c(0x1ca)]&&_0x128a0e(_0xda4671[_0x309a1c(0x1c6)],_0xd2b395[_0x309a1c(0x1c6)]);}export function parsePositionBeforeCompression(_0x179323){const _0x840aff=_0x5bc0;P(_0x179323,_0x363f99=>(_0x840aff(0x1bb)==_0x363f99[_0x840aff(0x1ca)]?(_0x363f99[_0x840aff(0x1bf)]=!0x0,delete _0x363f99[_0x840aff(0x1ca)]):_0x840aff(0x1c2)==_0x363f99[_0x840aff(0x1ca)]&&(_0x363f99[_0x840aff(0x1c1)]=!0x0,delete _0x363f99[_0x840aff(0x1ca)]),_0x363f99));}export function parsePositionAfterCompression(_0x8369df){const _0x1c94f6=_0x5bc0;P(_0x8369df,_0x3167ed=>(_0x3167ed[_0x1c94f6(0x1bf)]?(_0x3167ed[_0x1c94f6(0x1ca)]=_0x1c94f6(0x1bb),delete _0x3167ed[_0x1c94f6(0x1bf)]):_0x3167ed[_0x1c94f6(0x1c1)]&&(_0x3167ed[_0x1c94f6(0x1ca)]=_0x1c94f6(0x1c2),delete _0x3167ed[_0x1c94f6(0x1c1)]),_0x3167ed));}function P(_0x3603ba,_0x56fcc3){const _0x28ac78=_0x5bc0;for(const _0x1fef83 in _0x3603ba){const _0x2e7a83=_0x3603ba[_0x1fef83];_0x28ac78(0x1cd)!==_0x1fef83&&_0x64ef8(_0x2e7a83)&&(_0x2e7a83[_0x28ac78(0x1c6)]&&(_0x2e7a83[_0x28ac78(0x1ca)]||_0x2e7a83[_0x28ac78(0x1bf)]||_0x2e7a83[_0x28ac78(0x1c1)])?_0x3603ba[_0x1fef83]=_0x56fcc3(_0x2e7a83):P(_0x2e7a83,_0x56fcc3));}return _0x3603ba;}
23
+ (function(_0x1ea78a,_0x1d7f43){const _0xe9a29d=_0x2aff,_0x564b50=_0x1ea78a();while(!![]){try{const _0x3da27b=parseInt(_0xe9a29d(0x184))/0x1+parseInt(_0xe9a29d(0x188))/0x2+-parseInt(_0xe9a29d(0x185))/0x3+parseInt(_0xe9a29d(0x186))/0x4+parseInt(_0xe9a29d(0x191))/0x5+parseInt(_0xe9a29d(0x182))/0x6*(-parseInt(_0xe9a29d(0x18c))/0x7)+parseInt(_0xe9a29d(0x189))/0x8*(parseInt(_0xe9a29d(0x18f))/0x9);if(_0x3da27b===_0x1d7f43)break;else _0x564b50['push'](_0x564b50['shift']());}catch(_0x2cb5a4){_0x564b50['push'](_0x564b50['shift']());}}}(_0x593f,0x81725));import{cloneDeep as _0x1ba99a,isEqual as _0x4bb023,isObject as _0x12c583}from'es-toolkit/compat';function _0x593f(){const _0x529f4c=['$graveyard','302385fwOsuu','main','3798HjdEgS','path','888077bcPnAO','1718598pwloaz','1455144YNlEkg','rootMain','44164zMgMDE','8BTQJEM','root','nodes','4613tbfsNs','rootGraveyard','length','1672236uSzYlL'];_0x593f=function(){return _0x529f4c;};return _0x593f();}export function getPositionShiftedBy(_0x518c3a,_0x53961a){const _0x5980b6=_0x2aff,_0x5e62f4=_0x1ba99a(_0x518c3a);return _0x5e62f4[_0x5980b6(0x183)][_0x5e62f4[_0x5980b6(0x183)][_0x5980b6(0x18e)]-0x1]+=_0x53961a,_0x5e62f4;}function _0x2aff(_0x2d9916,_0x379ed5){const _0x593f8b=_0x593f();return _0x2aff=function(_0x2aff40,_0x32c085){_0x2aff40=_0x2aff40-0x182;let _0x85ac32=_0x593f8b[_0x2aff40];return _0x85ac32;},_0x2aff(_0x2d9916,_0x379ed5);}export function arePositionsEqual(_0x223dcd,_0x4c1b99){const _0x9cecf3=_0x2aff;return _0x223dcd[_0x9cecf3(0x18a)]===_0x4c1b99[_0x9cecf3(0x18a)]&&_0x4bb023(_0x223dcd[_0x9cecf3(0x183)],_0x4c1b99[_0x9cecf3(0x183)]);}export function parsePositionBeforeCompression(_0x13da94){const _0x227425=_0x2aff;P(_0x13da94,_0x541a4b=>(_0x227425(0x192)==_0x541a4b[_0x227425(0x18a)]?(_0x541a4b[_0x227425(0x187)]=!0x0,delete _0x541a4b[_0x227425(0x18a)]):_0x227425(0x190)==_0x541a4b[_0x227425(0x18a)]&&(_0x541a4b[_0x227425(0x18d)]=!0x0,delete _0x541a4b[_0x227425(0x18a)]),_0x541a4b));}export function parsePositionAfterCompression(_0x3e8f76){const _0x3ef12f=_0x2aff;P(_0x3e8f76,_0x13f4bb=>(_0x13f4bb[_0x3ef12f(0x187)]?(_0x13f4bb[_0x3ef12f(0x18a)]=_0x3ef12f(0x192),delete _0x13f4bb[_0x3ef12f(0x187)]):_0x13f4bb[_0x3ef12f(0x18d)]&&(_0x13f4bb[_0x3ef12f(0x18a)]=_0x3ef12f(0x190),delete _0x13f4bb[_0x3ef12f(0x18d)]),_0x13f4bb));}function P(_0x364e54,_0x415893){const _0x50e2be=_0x2aff;for(const _0x340034 in _0x364e54){const _0x191239=_0x364e54[_0x340034];_0x50e2be(0x18b)!==_0x340034&&_0x12c583(_0x191239)&&(_0x191239[_0x50e2be(0x183)]&&(_0x191239[_0x50e2be(0x18a)]||_0x191239[_0x50e2be(0x187)]||_0x191239[_0x50e2be(0x18d)])?_0x364e54[_0x340034]=_0x415893(_0x191239):P(_0x191239,_0x415893));}return _0x364e54;}