@ckeditor/ckeditor5-operations-compressor 46.0.0-alpha.7 → 46.0.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 _0x76a8(_0x3a8a6e,_0x51883f){var _0x105936=_0x1059();return _0x76a8=function(_0x76a830,_0x527b77){_0x76a830=_0x76a830-0x141;var _0x162351=_0x105936[_0x76a830];return _0x162351;},_0x76a8(_0x3a8a6e,_0x51883f);}var _0xe5f7c5=_0x76a8;(function(_0x127108,_0x2821){var _0x2fec82=_0x76a8,_0x47ff94=_0x127108();while(!![]){try{var _0x33c3fe=-parseInt(_0x2fec82(0x147))/0x1*(parseInt(_0x2fec82(0x141))/0x2)+-parseInt(_0x2fec82(0x14e))/0x3+parseInt(_0x2fec82(0x14a))/0x4+-parseInt(_0x2fec82(0x143))/0x5*(-parseInt(_0x2fec82(0x149))/0x6)+-parseInt(_0x2fec82(0x144))/0x7+-parseInt(_0x2fec82(0x145))/0x8+parseInt(_0x2fec82(0x14d))/0x9;if(_0x33c3fe===_0x2821)break;else _0x47ff94['push'](_0x47ff94['shift']());}catch(_0x475dca){_0x47ff94['push'](_0x47ff94['shift']());}}}(_0x1059,0xdb0fe));import{OperationCompressor as _0x2edc1a}from'./operationcompressor.js';export class NoOperationCompressor extends _0x2edc1a{[_0xe5f7c5(0x14c)](_0x3bd9b5,_0x1cc102){var _0x42c89c=_0xe5f7c5;return _0x1cc102[_0x42c89c(0x148)](),_0x3bd9b5[_0x42c89c(0x142)][_0x42c89c(0x146)](this[_0x42c89c(0x14f)]),!0x0;}[_0xe5f7c5(0x14b)](_0x28e8f7,_0x7ba1c3){var _0x4469b1=_0xe5f7c5;_0x7ba1c3[_0x4469b1(0x142)][_0x4469b1(0x148)](),_0x28e8f7[_0x4469b1(0x146)]({'__className':this[_0x4469b1(0x150)]});}}function _0x1059(){var _0x10533c=['shift','6546TBNhGN','1522420kbJHgo','decompress','compress','15870042ucVSbH','1538748nRWjPY','_id','_operationName','906sFKIlI','types','7590wTtVGC','10152023xjYBoo','5621432blIsTl','push','523cutlmU'];_0x1059=function(){return _0x10533c;};return _0x1059();}
23
+ var _0x220b39=_0x10db;(function(_0x2da581,_0x440012){var _0x123e96=_0x10db,_0xaff636=_0x2da581();while(!![]){try{var _0x484b19=-parseInt(_0x123e96(0x7b))/0x1+-parseInt(_0x123e96(0x7d))/0x2+parseInt(_0x123e96(0x73))/0x3*(-parseInt(_0x123e96(0x7f))/0x4)+parseInt(_0x123e96(0x79))/0x5+-parseInt(_0x123e96(0x81))/0x6*(-parseInt(_0x123e96(0x7e))/0x7)+-parseInt(_0x123e96(0x77))/0x8+parseInt(_0x123e96(0x75))/0x9*(parseInt(_0x123e96(0x72))/0xa);if(_0x484b19===_0x440012)break;else _0xaff636['push'](_0xaff636['shift']());}catch(_0x225961){_0xaff636['push'](_0xaff636['shift']());}}}(_0x39fd,0xad2e2));import{OperationCompressor as _0x13dc26}from'./operationcompressor.js';export class NoOperationCompressor extends _0x13dc26{[_0x220b39(0x71)](_0x4fe08d,_0xd3efc1){var _0x5994fb=_0x220b39;return _0xd3efc1[_0x5994fb(0x7c)](),_0x4fe08d[_0x5994fb(0x74)][_0x5994fb(0x80)](this[_0x5994fb(0x7a)]),!0x0;}[_0x220b39(0x76)](_0x297f64,_0x3e3930){var _0x324793=_0x220b39;_0x3e3930[_0x324793(0x74)][_0x324793(0x7c)](),_0x297f64[_0x324793(0x80)]({'__className':this[_0x324793(0x78)]});}}function _0x10db(_0x366473,_0x35f372){var _0x39fde5=_0x39fd();return _0x10db=function(_0x10dbc1,_0x1397d8){_0x10dbc1=_0x10dbc1-0x71;var _0x1473d1=_0x39fde5[_0x10dbc1];return _0x1473d1;},_0x10db(_0x366473,_0x35f372);}function _0x39fd(){var _0x570af4=['1361705bSrNOA','shift','2742726pjVhWE','721931FnKcbD','4YUAEDl','push','30snADYX','compress','34850230GwANSN','1338591FznySE','types','9znMKqY','decompress','3575240gbtstC','_operationName','1674140wXbyEm','_id'];_0x39fd=function(){return _0x570af4;};return _0x39fd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1804(){const _0x3fb17e=['6pQvdMt','15465550PwOAWW','511760OXdIxu','shift','201912QbYOkr','push','9eokXRk','2486645iOddHD','decompress','7lQylII','_operationName','1933UACZLj','buffers','types','1601256QtfELV','742uYLrwL','__className','compress','935pAUAij','_id','_protobufDescriptor','5846148vpNkxU'];_0x1804=function(){return _0x3fb17e;};return _0x1804();}const _0xb2ed1e=_0x1076;(function(_0x451327,_0x4cedd5){const _0x588f49=_0x1076,_0x5083bc=_0x451327();while(!![]){try{const _0x175223=-parseInt(_0x588f49(0x1b3))/0x1*(parseInt(_0x588f49(0x1b7))/0x2)+-parseInt(_0x588f49(0x1a8))/0x3*(parseInt(_0x588f49(0x1aa))/0x4)+parseInt(_0x588f49(0x1af))/0x5+parseInt(_0x588f49(0x1a7))/0x6+-parseInt(_0x588f49(0x1b1))/0x7*(-parseInt(_0x588f49(0x1b6))/0x8)+-parseInt(_0x588f49(0x1ae))/0x9*(-parseInt(_0x588f49(0x1a9))/0xa)+-parseInt(_0x588f49(0x1a4))/0xb*(parseInt(_0x588f49(0x1ac))/0xc);if(_0x175223===_0x4cedd5)break;else _0x5083bc['push'](_0x5083bc['shift']());}catch(_0x3b76dd){_0x5083bc['push'](_0x5083bc['shift']());}}}(_0x1804,0xc703e));function _0x1076(_0x1adb21,_0x2ecbf3){const _0x180483=_0x1804();return _0x1076=function(_0x1076c2,_0x2e8528){_0x1076c2=_0x1076c2-0x1a3;let _0x27d344=_0x180483[_0x1076c2];return _0x27d344;},_0x1076(_0x1adb21,_0x2ecbf3);}import{parsePositionBeforeCompression as _0x57d913,parsePositionAfterCompression as _0x15ae6d}from'../utils.js';export class OperationCompressor{[_0xb2ed1e(0x1a5)];[_0xb2ed1e(0x1b2)];[_0xb2ed1e(0x1a6)];constructor(_0x20731e,_0x24d708,_0x873bef){const _0x2e6cdc=_0xb2ed1e;this[_0x2e6cdc(0x1a5)]=_0x20731e,this[_0x2e6cdc(0x1b2)]=_0x24d708,this[_0x2e6cdc(0x1a6)]=_0x873bef;}[_0xb2ed1e(0x1a3)](_0x183536,_0x1c6ddc){const _0x33a970=_0xb2ed1e,_0x7dec3e=_0x1c6ddc[_0x33a970(0x1ab)]();return _0x57d913(_0x7dec3e),_0x183536[_0x33a970(0x1b4)][_0x33a970(0x1ad)](this[_0x33a970(0x1a6)][_0x33a970(0x1a3)](_0x7dec3e)),_0x183536[_0x33a970(0x1b5)][_0x33a970(0x1ad)](this[_0x33a970(0x1a5)]),!0x0;}[_0xb2ed1e(0x1b0)](_0x4b6273,_0x241beb){const _0x31f1b5=_0xb2ed1e;_0x241beb[_0x31f1b5(0x1b5)][_0x31f1b5(0x1ab)]();const _0x43d37b=this[_0x31f1b5(0x1a6)][_0x31f1b5(0x1b0)](_0x241beb[_0x31f1b5(0x1b4)][_0x31f1b5(0x1ab)]());_0x15ae6d(_0x43d37b),_0x43d37b[_0x31f1b5(0x1b8)]=this[_0x31f1b5(0x1b2)],_0x4b6273[_0x31f1b5(0x1ad)](_0x43d37b);}}
23
+ function _0x4259(_0x29fdd5,_0x11b0b1){const _0x1c161c=_0x1c16();return _0x4259=function(_0x4259f3,_0x470a3b){_0x4259f3=_0x4259f3-0x13e;let _0x2d8393=_0x1c161c[_0x4259f3];return _0x2d8393;},_0x4259(_0x29fdd5,_0x11b0b1);}const _0x50b193=_0x4259;(function(_0x1f09cb,_0xff87b1){const _0x4c1ce7=_0x4259,_0x218fe0=_0x1f09cb();while(!![]){try{const _0x5c8a39=parseInt(_0x4c1ce7(0x140))/0x1*(parseInt(_0x4c1ce7(0x14e))/0x2)+-parseInt(_0x4c1ce7(0x144))/0x3+-parseInt(_0x4c1ce7(0x13e))/0x4+-parseInt(_0x4c1ce7(0x14b))/0x5+-parseInt(_0x4c1ce7(0x143))/0x6+parseInt(_0x4c1ce7(0x141))/0x7+-parseInt(_0x4c1ce7(0x148))/0x8*(-parseInt(_0x4c1ce7(0x13f))/0x9);if(_0x5c8a39===_0xff87b1)break;else _0x218fe0['push'](_0x218fe0['shift']());}catch(_0x30b348){_0x218fe0['push'](_0x218fe0['shift']());}}}(_0x1c16,0xb6cfc));import{parsePositionBeforeCompression as _0x2383b3,parsePositionAfterCompression as _0x302b56}from'../utils.js';export class OperationCompressor{[_0x50b193(0x147)];[_0x50b193(0x14c)];[_0x50b193(0x142)];constructor(_0x285160,_0xc3f907,_0x23c538){const _0x2e1205=_0x50b193;this[_0x2e1205(0x147)]=_0x285160,this[_0x2e1205(0x14c)]=_0xc3f907,this[_0x2e1205(0x142)]=_0x23c538;}[_0x50b193(0x14a)](_0x1bd212,_0x612435){const _0x1cca7a=_0x50b193,_0x301d6f=_0x612435[_0x1cca7a(0x14f)]();return _0x2383b3(_0x301d6f),_0x1bd212[_0x1cca7a(0x145)][_0x1cca7a(0x150)](this[_0x1cca7a(0x142)][_0x1cca7a(0x14a)](_0x301d6f)),_0x1bd212[_0x1cca7a(0x146)][_0x1cca7a(0x150)](this[_0x1cca7a(0x147)]),!0x0;}[_0x50b193(0x14d)](_0x10c791,_0x3be3ec){const _0x12a769=_0x50b193;_0x3be3ec[_0x12a769(0x146)][_0x12a769(0x14f)]();const _0x37fe84=this[_0x12a769(0x142)][_0x12a769(0x14d)](_0x3be3ec[_0x12a769(0x145)][_0x12a769(0x14f)]());_0x302b56(_0x37fe84),_0x37fe84[_0x12a769(0x149)]=this[_0x12a769(0x14c)],_0x10c791[_0x12a769(0x150)](_0x37fe84);}}function _0x1c16(){const _0x22fd49=['buffers','types','_id','3411416Wtfaab','__className','compress','3843805yhVTXI','_operationName','decompress','60052BSOhPm','shift','push','3225112vvMQci','72JsoKdH','29bpzsAk','2169398HOpmKN','_protobufDescriptor','8214732UHfsOq','2697381VpfAgC'];_0x1c16=function(){return _0x22fd49;};return _0x1c16();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x40c0(){const _0x2cabf4=['_protobuf','finish','1043zuvDjF','compress','599840AxjUqv','439763zSRMiK','_protobufRoot','encode','4387575lhLqjg','getDescriptor','4eHRdTx','verify','create','decode','4205144IDBLrJ','decompress','10510188ETjqxY','2648Aobphf','35290035sVtauy','toObject'];_0x40c0=function(){return _0x2cabf4;};return _0x40c0();}function _0x306d(_0x50a6fe,_0x12ea10){const _0x40c0c6=_0x40c0();return _0x306d=function(_0x306d3f,_0x3dda18){_0x306d3f=_0x306d3f-0x134;let _0x43d4bf=_0x40c0c6[_0x306d3f];return _0x43d4bf;},_0x306d(_0x50a6fe,_0x12ea10);}const _0x49accc=_0x306d;(function(_0xcd45c6,_0x4d8859){const _0x3cdfd7=_0x306d,_0xb36353=_0xcd45c6();while(!![]){try{const _0x106cb5=parseInt(_0x3cdfd7(0x13e))/0x1*(-parseInt(_0x3cdfd7(0x143))/0x2)+-parseInt(_0x3cdfd7(0x141))/0x3+parseInt(_0x3cdfd7(0x147))/0x4+parseInt(_0x3cdfd7(0x13d))/0x5+-parseInt(_0x3cdfd7(0x135))/0x6+-parseInt(_0x3cdfd7(0x13b))/0x7*(parseInt(_0x3cdfd7(0x136))/0x8)+parseInt(_0x3cdfd7(0x137))/0x9;if(_0x106cb5===_0x4d8859)break;else _0xb36353['push'](_0xb36353['shift']());}catch(_0x1ca2e2){_0xb36353['push'](_0xb36353['shift']());}}}(_0x40c0,0xe7c35));import{messages as _0x21430b}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x49accc(0x13f)];constructor(){const _0x413c86=_0x49accc;this[_0x413c86(0x13f)]=_0x21430b;}[_0x49accc(0x142)](_0x452dde){const _0x641e56=_0x49accc;return new ProtobufDescriptor(this[_0x641e56(0x13f)][_0x452dde]);}}export class ProtobufDescriptor{[_0x49accc(0x139)];constructor(_0x46330f){const _0xe5369f=_0x49accc;this[_0xe5369f(0x139)]=_0x46330f;}[_0x49accc(0x13c)](_0x7e4a6a){const _0x3974e5=_0x49accc,_0x2688d8=this[_0x3974e5(0x139)][_0x3974e5(0x144)](_0x7e4a6a);if(_0x2688d8)throw Error(_0x2688d8);return this[_0x3974e5(0x139)][_0x3974e5(0x140)](this[_0x3974e5(0x139)][_0x3974e5(0x145)](_0x7e4a6a))[_0x3974e5(0x13a)]();}[_0x49accc(0x134)](_0x472962){const _0x49937e=_0x49accc;return this[_0x49937e(0x139)][_0x49937e(0x138)](this[_0x49937e(0x139)][_0x49937e(0x146)](_0x472962),{'oneofs':!0x0});}}
23
+ const _0x501173=_0x4c31;(function(_0x5d136a,_0x2bea05){const _0x5225e6=_0x4c31,_0x4c5a52=_0x5d136a();while(!![]){try{const _0x3bb654=parseInt(_0x5225e6(0x18c))/0x1*(-parseInt(_0x5225e6(0x17a))/0x2)+parseInt(_0x5225e6(0x17c))/0x3*(-parseInt(_0x5225e6(0x183))/0x4)+parseInt(_0x5225e6(0x17f))/0x5+-parseInt(_0x5225e6(0x188))/0x6+parseInt(_0x5225e6(0x187))/0x7+parseInt(_0x5225e6(0x18a))/0x8*(parseInt(_0x5225e6(0x189))/0x9)+-parseInt(_0x5225e6(0x185))/0xa;if(_0x3bb654===_0x2bea05)break;else _0x4c5a52['push'](_0x4c5a52['shift']());}catch(_0x403904){_0x4c5a52['push'](_0x4c5a52['shift']());}}}(_0x329b,0x4ea67));function _0x329b(){const _0x49082f=['compress','finish','_protobufRoot','1156tOkafE','toObject','3613620ABJXmI','create','2343691rzIGGb','1152024nyGZVR','9qcchLm','4654256fmeRNk','verify','143ADHsQA','decompress','decode','2390wvLbsM','_protobuf','3009EuIskd','encode','getDescriptor','2098370dVyTkN'];_0x329b=function(){return _0x49082f;};return _0x329b();}function _0x4c31(_0x1d72a0,_0x11f09e){const _0x329b4a=_0x329b();return _0x4c31=function(_0x4c31fb,_0x3568a3){_0x4c31fb=_0x4c31fb-0x17a;let _0x415f9a=_0x329b4a[_0x4c31fb];return _0x415f9a;},_0x4c31(_0x1d72a0,_0x11f09e);}import{messages as _0x162f43}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x501173(0x182)];constructor(){const _0x1f4c2d=_0x501173;this[_0x1f4c2d(0x182)]=_0x162f43;}[_0x501173(0x17e)](_0x9a4596){const _0x742b2e=_0x501173;return new ProtobufDescriptor(this[_0x742b2e(0x182)][_0x9a4596]);}}export class ProtobufDescriptor{[_0x501173(0x17b)];constructor(_0x59da69){const _0x523592=_0x501173;this[_0x523592(0x17b)]=_0x59da69;}[_0x501173(0x180)](_0x51d0d2){const _0x5da80a=_0x501173,_0x279b6d=this[_0x5da80a(0x17b)][_0x5da80a(0x18b)](_0x51d0d2);if(_0x279b6d)throw Error(_0x279b6d);return this[_0x5da80a(0x17b)][_0x5da80a(0x17d)](this[_0x5da80a(0x17b)][_0x5da80a(0x186)](_0x51d0d2))[_0x5da80a(0x181)]();}[_0x501173(0x18d)](_0x39760f){const _0x4132b1=_0x501173;return this[_0x4132b1(0x17b)][_0x4132b1(0x184)](this[_0x4132b1(0x17b)][_0x4132b1(0x18e)](_0x39760f),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x475ee3,_0x262789){const _0x5006ba=_0x3bff,_0x1de2d0=_0x475ee3();while(!![]){try{const _0x419067=-parseInt(_0x5006ba(0x122))/0x1*(-parseInt(_0x5006ba(0x12b))/0x2)+-parseInt(_0x5006ba(0x12a))/0x3+-parseInt(_0x5006ba(0x129))/0x4*(parseInt(_0x5006ba(0x12c))/0x5)+parseInt(_0x5006ba(0x126))/0x6*(parseInt(_0x5006ba(0x131))/0x7)+-parseInt(_0x5006ba(0x121))/0x8*(parseInt(_0x5006ba(0x128))/0x9)+parseInt(_0x5006ba(0x12d))/0xa+-parseInt(_0x5006ba(0x12e))/0xb;if(_0x419067===_0x262789)break;else _0x1de2d0['push'](_0x1de2d0['shift']());}catch(_0x28fcfe){_0x1de2d0['push'](_0x1de2d0['shift']());}}}(_0x4375,0xc3f53));import{cloneDeep as _0x44805a,isEqual as _0x3a497b,isObject as _0x18be8f}from'es-toolkit/compat';function _0x3bff(_0x1c3fc5,_0x1bcde5){const _0x43757e=_0x4375();return _0x3bff=function(_0x3bff21,_0x187939){_0x3bff21=_0x3bff21-0x120;let _0x26aaaa=_0x43757e[_0x3bff21];return _0x26aaaa;},_0x3bff(_0x1c3fc5,_0x1bcde5);}export function getPositionShiftedBy(_0x11a91a,_0x2945eb){const _0x11f305=_0x3bff,_0x583c52=_0x44805a(_0x11a91a);return _0x583c52[_0x11f305(0x125)][_0x583c52[_0x11f305(0x125)][_0x11f305(0x127)]-0x1]+=_0x2945eb,_0x583c52;}export function arePositionsEqual(_0x5da4ae,_0x3f8365){const _0x12c4fe=_0x3bff;return _0x5da4ae[_0x12c4fe(0x12f)]===_0x3f8365[_0x12c4fe(0x12f)]&&_0x3a497b(_0x5da4ae[_0x12c4fe(0x125)],_0x3f8365[_0x12c4fe(0x125)]);}export function parsePositionBeforeCompression(_0x1c7750){const _0x3b264e=_0x3bff;P(_0x1c7750,_0xac228d=>(_0x3b264e(0x124)==_0xac228d[_0x3b264e(0x12f)]?(_0xac228d[_0x3b264e(0x123)]=!0x0,delete _0xac228d[_0x3b264e(0x12f)]):_0x3b264e(0x120)==_0xac228d[_0x3b264e(0x12f)]&&(_0xac228d[_0x3b264e(0x130)]=!0x0,delete _0xac228d[_0x3b264e(0x12f)]),_0xac228d));}export function parsePositionAfterCompression(_0x28914a){const _0x2eebbe=_0x3bff;P(_0x28914a,_0x396fff=>(_0x396fff[_0x2eebbe(0x123)]?(_0x396fff[_0x2eebbe(0x12f)]=_0x2eebbe(0x124),delete _0x396fff[_0x2eebbe(0x123)]):_0x396fff[_0x2eebbe(0x130)]&&(_0x396fff[_0x2eebbe(0x12f)]=_0x2eebbe(0x120),delete _0x396fff[_0x2eebbe(0x130)]),_0x396fff));}function _0x4375(){const _0x1a98e1=['main','path','6sEZmjS','length','19152QXspNt','172QZTUfn','2764683jVIrfY','4JZVZre','28770UYwzvq','358490ETlNVH','528935PCBcIt','root','rootGraveyard','7387604UuJHXP','nodes','$graveyard','1928QdMAZG','720669tLVwAM','rootMain'];_0x4375=function(){return _0x1a98e1;};return _0x4375();}function P(_0x5cd482,_0x4056af){const _0x2fcb98=_0x3bff;for(const _0x18ecd5 in _0x5cd482){const _0x3a3b3c=_0x5cd482[_0x18ecd5];_0x2fcb98(0x132)!==_0x18ecd5&&_0x18be8f(_0x3a3b3c)&&(_0x3a3b3c[_0x2fcb98(0x125)]&&(_0x3a3b3c[_0x2fcb98(0x12f)]||_0x3a3b3c[_0x2fcb98(0x123)]||_0x3a3b3c[_0x2fcb98(0x130)])?_0x5cd482[_0x18ecd5]=_0x4056af(_0x3a3b3c):P(_0x3a3b3c,_0x4056af));}return _0x5cd482;}
23
+ (function(_0x30e108,_0x536550){const _0x4d3887=_0x3e8b,_0x359372=_0x30e108();while(!![]){try{const _0xed1dd=-parseInt(_0x4d3887(0x1be))/0x1*(parseInt(_0x4d3887(0x1c2))/0x2)+-parseInt(_0x4d3887(0x1c5))/0x3*(parseInt(_0x4d3887(0x1ba))/0x4)+parseInt(_0x4d3887(0x1bd))/0x5+-parseInt(_0x4d3887(0x1c4))/0x6+parseInt(_0x4d3887(0x1c0))/0x7+parseInt(_0x4d3887(0x1b6))/0x8*(parseInt(_0x4d3887(0x1bb))/0x9)+parseInt(_0x4d3887(0x1bc))/0xa;if(_0xed1dd===_0x536550)break;else _0x359372['push'](_0x359372['shift']());}catch(_0x4f5d2d){_0x359372['push'](_0x359372['shift']());}}}(_0xbed0,0xe87ea));function _0x3e8b(_0x5d048c,_0x29435c){const _0xbed03a=_0xbed0();return _0x3e8b=function(_0x3e8ba1,_0x118312){_0x3e8ba1=_0x3e8ba1-0x1b5;let _0x29d0b=_0xbed03a[_0x3e8ba1];return _0x29d0b;},_0x3e8b(_0x5d048c,_0x29435c);}import{cloneDeep as _0x2e6c9e,isEqual as _0x1a327b,isObject as _0x189f04}from'es-toolkit/compat';export function getPositionShiftedBy(_0x46fea6,_0x55e5dc){const _0x2607e1=_0x3e8b,_0x47f871=_0x2e6c9e(_0x46fea6);return _0x47f871[_0x2607e1(0x1bf)][_0x47f871[_0x2607e1(0x1bf)][_0x2607e1(0x1b9)]-0x1]+=_0x55e5dc,_0x47f871;}export function arePositionsEqual(_0x50fd60,_0x4568d3){const _0x332b03=_0x3e8b;return _0x50fd60[_0x332b03(0x1c6)]===_0x4568d3[_0x332b03(0x1c6)]&&_0x1a327b(_0x50fd60[_0x332b03(0x1bf)],_0x4568d3[_0x332b03(0x1bf)]);}export function parsePositionBeforeCompression(_0x3dedec){const _0x3c8de0=_0x3e8b;P(_0x3dedec,_0x5af29e=>(_0x3c8de0(0x1c3)==_0x5af29e[_0x3c8de0(0x1c6)]?(_0x5af29e[_0x3c8de0(0x1b5)]=!0x0,delete _0x5af29e[_0x3c8de0(0x1c6)]):_0x3c8de0(0x1c1)==_0x5af29e[_0x3c8de0(0x1c6)]&&(_0x5af29e[_0x3c8de0(0x1b7)]=!0x0,delete _0x5af29e[_0x3c8de0(0x1c6)]),_0x5af29e));}export function parsePositionAfterCompression(_0x34e8a9){const _0x354ccf=_0x3e8b;P(_0x34e8a9,_0xfba274=>(_0xfba274[_0x354ccf(0x1b5)]?(_0xfba274[_0x354ccf(0x1c6)]=_0x354ccf(0x1c3),delete _0xfba274[_0x354ccf(0x1b5)]):_0xfba274[_0x354ccf(0x1b7)]&&(_0xfba274[_0x354ccf(0x1c6)]=_0x354ccf(0x1c1),delete _0xfba274[_0x354ccf(0x1b7)]),_0xfba274));}function _0xbed0(){const _0x38a24a=['nodes','length','120524lNwkAy','612xMwxJX','32772290IhsJGu','3400855PiHvkW','256242KlIXCp','path','4422677QiZxev','$graveyard','12meQYRR','main','10892040BlcUqB','153BHDZvG','root','rootMain','147360EWHink','rootGraveyard'];_0xbed0=function(){return _0x38a24a;};return _0xbed0();}function P(_0x4a502,_0x58bf7a){const _0x8b60dd=_0x3e8b;for(const _0x3f6a44 in _0x4a502){const _0xbec0ed=_0x4a502[_0x3f6a44];_0x8b60dd(0x1b8)!==_0x3f6a44&&_0x189f04(_0xbec0ed)&&(_0xbec0ed[_0x8b60dd(0x1bf)]&&(_0xbec0ed[_0x8b60dd(0x1c6)]||_0xbec0ed[_0x8b60dd(0x1b5)]||_0xbec0ed[_0x8b60dd(0x1b7)])?_0x4a502[_0x3f6a44]=_0x58bf7a(_0xbec0ed):P(_0xbec0ed,_0x58bf7a));}return _0x4a502;}