@ckeditor/ckeditor5-operations-compressor 42.0.0-alpha.9 → 42.0.1-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 _0x2b1e(){var _0xc778e4=['compress','119PApKYX','types','_operationName','880449dhorhk','shift','7215741NFVYsm','4mwSnSd','_id','464248tdOycb','decompress','3448280hoJBIV','491542zUNQKQ','push','4721460elCCfO','404040AZuZnn'];_0x2b1e=function(){return _0xc778e4;};return _0x2b1e();}var _0x5952af=_0x5291;(function(_0x59a339,_0x164ab0){var _0xf2d56d=_0x5291,_0x48afcf=_0x59a339();while(!![]){try{var _0x4a9e8c=-parseInt(_0xf2d56d(0x176))/0x1*(-parseInt(_0xf2d56d(0x17b))/0x2)+-parseInt(_0xf2d56d(0x183))/0x3+-parseInt(_0xf2d56d(0x17a))/0x4+parseInt(_0xf2d56d(0x17e))/0x5+parseInt(_0xf2d56d(0x17d))/0x6+-parseInt(_0xf2d56d(0x180))/0x7*(parseInt(_0xf2d56d(0x178))/0x8)+parseInt(_0xf2d56d(0x175))/0x9;if(_0x4a9e8c===_0x164ab0)break;else _0x48afcf['push'](_0x48afcf['shift']());}catch(_0x5c886a){_0x48afcf['push'](_0x48afcf['shift']());}}}(_0x2b1e,0x7ca07));function _0x5291(_0x517f93,_0x4b2923){var _0x2b1e81=_0x2b1e();return _0x5291=function(_0x52919a,_0x39b24a){_0x52919a=_0x52919a-0x175;var _0x9a3b5=_0x2b1e81[_0x52919a];return _0x9a3b5;},_0x5291(_0x517f93,_0x4b2923);}import _0x85cbd9 from'./operationcompressor.js';export default class p extends _0x85cbd9{[_0x5952af(0x17f)](_0x3c2d82,_0x25e6f5){var _0x5b0de3=_0x5952af;return _0x25e6f5[_0x5b0de3(0x184)](),_0x3c2d82[_0x5b0de3(0x181)][_0x5b0de3(0x17c)](this[_0x5b0de3(0x177)]),!0x0;}[_0x5952af(0x179)](_0x3bddc1,_0x4af4c6){var _0x37c380=_0x5952af;_0x4af4c6[_0x37c380(0x181)][_0x37c380(0x184)](),_0x3bddc1[_0x37c380(0x17c)]({'__className':this[_0x37c380(0x182)]});}}
23
+ var _0x4808c2=_0x3076;function _0x1f93(){var _0xcf7141=['compress','types','407477AeAskm','99729NSNcOP','_id','_operationName','10421360nCHKYs','shift','7210889TrSTrS','932766VnjRZJ','push','316915qqeLUx','28oaMjrX','1497684bJljtg','decompress'];_0x1f93=function(){return _0xcf7141;};return _0x1f93();}function _0x3076(_0x5b23ac,_0xe3f2a8){var _0x1f93b4=_0x1f93();return _0x3076=function(_0x30767e,_0x3b30f5){_0x30767e=_0x30767e-0x1c3;var _0x3586cb=_0x1f93b4[_0x30767e];return _0x3586cb;},_0x3076(_0x5b23ac,_0xe3f2a8);}(function(_0x49b8b5,_0x325b67){var _0x5a4752=_0x3076,_0x433699=_0x49b8b5();while(!![]){try{var _0x51a086=parseInt(_0x5a4752(0x1c4))/0x1+parseInt(_0x5a4752(0x1cb))/0x2+parseInt(_0x5a4752(0x1c5))/0x3*(parseInt(_0x5a4752(0x1ce))/0x4)+-parseInt(_0x5a4752(0x1cd))/0x5+-parseInt(_0x5a4752(0x1cf))/0x6+parseInt(_0x5a4752(0x1ca))/0x7+-parseInt(_0x5a4752(0x1c8))/0x8;if(_0x51a086===_0x325b67)break;else _0x433699['push'](_0x433699['shift']());}catch(_0x3fc155){_0x433699['push'](_0x433699['shift']());}}}(_0x1f93,0x7f33d));import _0x5cc523 from'./operationcompressor.js';export default class p extends _0x5cc523{[_0x4808c2(0x1d1)](_0x1d0465,_0x5e4175){var _0x4903d7=_0x4808c2;return _0x5e4175[_0x4903d7(0x1c9)](),_0x1d0465[_0x4903d7(0x1c3)][_0x4903d7(0x1cc)](this[_0x4903d7(0x1c6)]),!0x0;}[_0x4808c2(0x1d0)](_0x3965aa,_0x3860cd){var _0x5d2b9a=_0x4808c2;_0x3860cd[_0x5d2b9a(0x1c3)][_0x5d2b9a(0x1c9)](),_0x3965aa[_0x5d2b9a(0x1cc)]({'__className':this[_0x5d2b9a(0x1c7)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5380(){const _0x480f2e=['1wDHTrb','__className','compress','60925194UbbYXm','2584126FKmFpn','14641870CYQnIF','_protobufDescriptor','types','shift','8wukeeM','5MgoeVA','decompress','1200088GiqjPk','buffers','_operationName','_id','7504784wqDSuM','5971650yyTwWk','10686033mPlIiZ','3yImBZk','push'];_0x5380=function(){return _0x480f2e;};return _0x5380();}const _0x3665fa=_0x456c;(function(_0x35b25f,_0x32f035){const _0x330805=_0x456c,_0x476dfd=_0x35b25f();while(!![]){try{const _0x24e25f=-parseInt(_0x330805(0x125))/0x1*(-parseInt(_0x330805(0x129))/0x2)+parseInt(_0x330805(0x123))/0x3*(parseInt(_0x330805(0x131))/0x4)+-parseInt(_0x330805(0x12f))/0x5*(-parseInt(_0x330805(0x136))/0x6)+-parseInt(_0x330805(0x135))/0x7*(-parseInt(_0x330805(0x12e))/0x8)+parseInt(_0x330805(0x122))/0x9+parseInt(_0x330805(0x12a))/0xa+-parseInt(_0x330805(0x128))/0xb;if(_0x24e25f===_0x32f035)break;else _0x476dfd['push'](_0x476dfd['shift']());}catch(_0x5e486e){_0x476dfd['push'](_0x476dfd['shift']());}}}(_0x5380,0xbc8f6));function _0x456c(_0xa1a5a,_0x91c710){const _0x538044=_0x5380();return _0x456c=function(_0x456cdf,_0x588c55){_0x456cdf=_0x456cdf-0x122;let _0x234272=_0x538044[_0x456cdf];return _0x234272;},_0x456c(_0xa1a5a,_0x91c710);}import{parsePositionBeforeCompression as _0x2c5598,parsePositionAfterCompression as _0x9592c3}from'../utils.js';export default class e{constructor(_0x3c930b,_0x281111,_0x256b92){const _0x8f75da=_0x456c;this[_0x8f75da(0x134)]=_0x3c930b,this[_0x8f75da(0x133)]=_0x281111,this[_0x8f75da(0x12b)]=_0x256b92;}[_0x3665fa(0x127)](_0x1427f0,_0x115d09){const _0x2cf77e=_0x3665fa,_0x5044ed=_0x115d09[_0x2cf77e(0x12d)]();return _0x2c5598(_0x5044ed),_0x1427f0[_0x2cf77e(0x132)][_0x2cf77e(0x124)](this[_0x2cf77e(0x12b)][_0x2cf77e(0x127)](_0x5044ed)),_0x1427f0[_0x2cf77e(0x12c)][_0x2cf77e(0x124)](this[_0x2cf77e(0x134)]),!0x0;}[_0x3665fa(0x130)](_0x23cb38,_0x5efa11){const _0x2b40ef=_0x3665fa;_0x5efa11[_0x2b40ef(0x12c)][_0x2b40ef(0x12d)]();const _0x353eb3=this[_0x2b40ef(0x12b)][_0x2b40ef(0x130)](_0x5efa11[_0x2b40ef(0x132)][_0x2b40ef(0x12d)]());_0x9592c3(_0x353eb3),_0x353eb3[_0x2b40ef(0x126)]=this[_0x2b40ef(0x133)],_0x23cb38[_0x2b40ef(0x124)](_0x353eb3);}}
23
+ function _0x1fa9(_0x37050f,_0x593ede){const _0x3ea3a8=_0x3ea3();return _0x1fa9=function(_0x1fa986,_0x207ec6){_0x1fa986=_0x1fa986-0xb7;let _0x5050f6=_0x3ea3a8[_0x1fa986];return _0x5050f6;},_0x1fa9(_0x37050f,_0x593ede);}const _0x385812=_0x1fa9;(function(_0x24c00a,_0xeccef){const _0x2d4ae9=_0x1fa9,_0x57279e=_0x24c00a();while(!![]){try{const _0x2b1f98=parseInt(_0x2d4ae9(0xbc))/0x1*(parseInt(_0x2d4ae9(0xb8))/0x2)+-parseInt(_0x2d4ae9(0xc6))/0x3+-parseInt(_0x2d4ae9(0xc0))/0x4*(-parseInt(_0x2d4ae9(0xc7))/0x5)+-parseInt(_0x2d4ae9(0xc4))/0x6*(-parseInt(_0x2d4ae9(0xc2))/0x7)+-parseInt(_0x2d4ae9(0xc8))/0x8*(parseInt(_0x2d4ae9(0xb7))/0x9)+parseInt(_0x2d4ae9(0xbb))/0xa*(parseInt(_0x2d4ae9(0xc5))/0xb)+-parseInt(_0x2d4ae9(0xbd))/0xc;if(_0x2b1f98===_0xeccef)break;else _0x57279e['push'](_0x57279e['shift']());}catch(_0x446c77){_0x57279e['push'](_0x57279e['shift']());}}}(_0x3ea3,0x6ee9f));import{parsePositionBeforeCompression as _0x2fe79b,parsePositionAfterCompression as _0x2bf705}from'../utils.js';function _0x3ea3(){const _0x3bc7cb=['6746688sHFECX','types','__className','4sJWewE','_id','2673881mHHlNK','_protobufDescriptor','6aXhCXV','11xZRqJv','93570InzxRn','2658715yrvGij','400KCtIIU','shift','push','decompress','compress','109602NiLUEe','98dbNCrZ','_operationName','buffers','4068980GmRhfI','6857SBRYKm'];_0x3ea3=function(){return _0x3bc7cb;};return _0x3ea3();}export default class e{constructor(_0x4cb19a,_0x13fa2b,_0x11c7cb){const _0x2d944a=_0x1fa9;this[_0x2d944a(0xc1)]=_0x4cb19a,this[_0x2d944a(0xb9)]=_0x13fa2b,this[_0x2d944a(0xc3)]=_0x11c7cb;}[_0x385812(0xcc)](_0x48402f,_0x1d98a4){const _0x522b10=_0x385812,_0x4b1033=_0x1d98a4[_0x522b10(0xc9)]();return _0x2fe79b(_0x4b1033),_0x48402f[_0x522b10(0xba)][_0x522b10(0xca)](this[_0x522b10(0xc3)][_0x522b10(0xcc)](_0x4b1033)),_0x48402f[_0x522b10(0xbe)][_0x522b10(0xca)](this[_0x522b10(0xc1)]),!0x0;}[_0x385812(0xcb)](_0x520633,_0x13544a){const _0x19fce4=_0x385812;_0x13544a[_0x19fce4(0xbe)][_0x19fce4(0xc9)]();const _0x2ed279=this[_0x19fce4(0xc3)][_0x19fce4(0xcb)](_0x13544a[_0x19fce4(0xba)][_0x19fce4(0xc9)]());_0x2bf705(_0x2ed279),_0x2ed279[_0x19fce4(0xbf)]=this[_0x19fce4(0xb9)],_0x520633[_0x19fce4(0xca)](_0x2ed279);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x46a5(){const _0x13561b=['toObject','decompress','getDescriptor','5707716uVdKRL','4428297SOJvsI','compress','finish','_protobufRoot','105622lWuJHB','1114115ncVlUt','36BigmYn','_protobuf','3754806RDaogB','39324730fcbkYy','decode','24ttrdEk','encode','create','verify','2902963FxpQYU','4VfYtUR'];_0x46a5=function(){return _0x13561b;};return _0x46a5();}function _0x3f0f(_0x459dba,_0x21f21e){const _0x46a5e0=_0x46a5();return _0x3f0f=function(_0x3f0f22,_0x594b9b){_0x3f0f22=_0x3f0f22-0x9d;let _0x14887b=_0x46a5e0[_0x3f0f22];return _0x14887b;},_0x3f0f(_0x459dba,_0x21f21e);}const _0x2af5a4=_0x3f0f;(function(_0x156b1c,_0x5cafe0){const _0x3740cd=_0x3f0f,_0x5f969b=_0x156b1c();while(!![]){try{const _0x25f276=-parseInt(_0x3740cd(0xb0))/0x1*(parseInt(_0x3740cd(0xa4))/0x2)+parseInt(_0x3740cd(0xa8))/0x3+parseInt(_0x3740cd(0x9f))/0x4+parseInt(_0x3740cd(0xa5))/0x5*(parseInt(_0x3740cd(0xa6))/0x6)+-parseInt(_0x3740cd(0xaf))/0x7+-parseInt(_0x3740cd(0xab))/0x8*(-parseInt(_0x3740cd(0xa0))/0x9)+-parseInt(_0x3740cd(0xa9))/0xa;if(_0x25f276===_0x5cafe0)break;else _0x5f969b['push'](_0x5f969b['shift']());}catch(_0x2918a0){_0x5f969b['push'](_0x5f969b['shift']());}}}(_0x46a5,0xe3d16));import{messages as _0x42fa3c}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x575cbb=_0x3f0f;this[_0x575cbb(0xa3)]=_0x42fa3c;}[_0x2af5a4(0x9e)](_0x58d569){const _0xe7f6be=_0x2af5a4;return new ProtobufDescriptor(this[_0xe7f6be(0xa3)][_0x58d569]);}}export class ProtobufDescriptor{constructor(_0x27442b){const _0x46a033=_0x2af5a4;this[_0x46a033(0xa7)]=_0x27442b;}[_0x2af5a4(0xa1)](_0x386a26){const _0x4a4bc8=_0x2af5a4,_0x17c1ee=this[_0x4a4bc8(0xa7)][_0x4a4bc8(0xae)](_0x386a26);if(_0x17c1ee)throw Error(_0x17c1ee);return this[_0x4a4bc8(0xa7)][_0x4a4bc8(0xac)](this[_0x4a4bc8(0xa7)][_0x4a4bc8(0xad)](_0x386a26))[_0x4a4bc8(0xa2)]();}[_0x2af5a4(0x9d)](_0x57168a){const _0x2f670c=_0x2af5a4;return this[_0x2f670c(0xa7)][_0x2f670c(0xb1)](this[_0x2f670c(0xa7)][_0x2f670c(0xaa)](_0x57168a),{'oneofs':!0x0});}}
23
+ const _0x3af760=_0x430d;function _0x4805(){const _0xa9a2bc=['14KSmCox','2276nhaiyg','_protobufRoot','4813560uovOKa','toObject','15311608ylxyfL','92779ahObxb','verify','11oAZxcj','create','_protobuf','36enJYBA','534hXETYg','36omBIsh','encode','2024872ouqBVA','35zAcrnT','decode','compress','1473096cDBNDT','finish','4184370bIUoZb','decompress','getDescriptor'];_0x4805=function(){return _0xa9a2bc;};return _0x4805();}function _0x430d(_0x41cec8,_0x29f4ed){const _0x48054c=_0x4805();return _0x430d=function(_0x430dbd,_0x3e101c){_0x430dbd=_0x430dbd-0xf3;let _0x86e73e=_0x48054c[_0x430dbd];return _0x86e73e;},_0x430d(_0x41cec8,_0x29f4ed);}(function(_0x3e6db2,_0x3560af){const _0x19f2fc=_0x430d,_0x140b74=_0x3e6db2();while(!![]){try{const _0x1805ba=-parseInt(_0x19f2fc(0xf6))/0x1*(-parseInt(_0x19f2fc(0x108))/0x2)+-parseInt(_0x19f2fc(0xfc))/0x3*(-parseInt(_0x19f2fc(0x109))/0x4)+parseInt(_0x19f2fc(0x105))/0x5+parseInt(_0x19f2fc(0x103))/0x6*(parseInt(_0x19f2fc(0x100))/0x7)+parseInt(_0x19f2fc(0xff))/0x8*(parseInt(_0x19f2fc(0xfd))/0x9)+-parseInt(_0x19f2fc(0xf3))/0xa*(-parseInt(_0x19f2fc(0xf8))/0xb)+parseInt(_0x19f2fc(0xfb))/0xc*(-parseInt(_0x19f2fc(0xf5))/0xd);if(_0x1805ba===_0x3560af)break;else _0x140b74['push'](_0x140b74['shift']());}catch(_0x26bea2){_0x140b74['push'](_0x140b74['shift']());}}}(_0x4805,0xbd56d));import{messages as _0x284b72}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x393d09=_0x430d;this[_0x393d09(0x10a)]=_0x284b72;}[_0x3af760(0x107)](_0xdf2994){const _0x4c2aeb=_0x3af760;return new ProtobufDescriptor(this[_0x4c2aeb(0x10a)][_0xdf2994]);}}export class ProtobufDescriptor{constructor(_0x302d07){const _0x4ffc77=_0x3af760;this[_0x4ffc77(0xfa)]=_0x302d07;}[_0x3af760(0x102)](_0x3c155a){const _0x30697f=_0x3af760,_0x27e62e=this[_0x30697f(0xfa)][_0x30697f(0xf7)](_0x3c155a);if(_0x27e62e)throw Error(_0x27e62e);return this[_0x30697f(0xfa)][_0x30697f(0xfe)](this[_0x30697f(0xfa)][_0x30697f(0xf9)](_0x3c155a))[_0x30697f(0x104)]();}[_0x3af760(0x106)](_0x57fb4e){const _0x498f2f=_0x3af760;return this[_0x498f2f(0xfa)][_0x498f2f(0xf4)](this[_0x498f2f(0xfa)][_0x498f2f(0x101)](_0x57fb4e),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3ef871,_0xeb1ec1){const _0x5c8a7d=_0x21a5,_0x21aaff=_0x3ef871();while(!![]){try{const _0x523f64=parseInt(_0x5c8a7d(0x8e))/0x1*(-parseInt(_0x5c8a7d(0x84))/0x2)+-parseInt(_0x5c8a7d(0x80))/0x3*(parseInt(_0x5c8a7d(0x8a))/0x4)+-parseInt(_0x5c8a7d(0x7d))/0x5*(parseInt(_0x5c8a7d(0x81))/0x6)+parseInt(_0x5c8a7d(0x89))/0x7+parseInt(_0x5c8a7d(0x85))/0x8+parseInt(_0x5c8a7d(0x90))/0x9*(parseInt(_0x5c8a7d(0x86))/0xa)+parseInt(_0x5c8a7d(0x88))/0xb*(parseInt(_0x5c8a7d(0x7e))/0xc);if(_0x523f64===_0xeb1ec1)break;else _0x21aaff['push'](_0x21aaff['shift']());}catch(_0xee4574){_0x21aaff['push'](_0x21aaff['shift']());}}}(_0x4553,0x7e89b));import{cloneDeep as _0x4637f3,isEqual as _0x40d398,isObject as _0xbe54c}from'lodash-es';export function getPositionShiftedBy(_0x3bb0b1,_0x47717b){const _0x25b013=_0x21a5,_0x19ef3b=_0x4637f3(_0x3bb0b1);return _0x19ef3b[_0x25b013(0x8c)][_0x19ef3b[_0x25b013(0x8c)][_0x25b013(0x8f)]-0x1]+=_0x47717b,_0x19ef3b;}export function arePositionsEqual(_0x4c37fa,_0x58d5b5){const _0x30f87e=_0x21a5;return _0x4c37fa[_0x30f87e(0x87)]===_0x58d5b5[_0x30f87e(0x87)]&&_0x40d398(_0x4c37fa[_0x30f87e(0x8c)],_0x58d5b5[_0x30f87e(0x8c)]);}export function parsePositionBeforeCompression(_0x36966f){const _0x8a5788=_0x21a5;P(_0x36966f,_0x4cc26e=>(_0x8a5788(0x7f)==_0x4cc26e[_0x8a5788(0x87)]?(_0x4cc26e[_0x8a5788(0x82)]=!0x0,delete _0x4cc26e[_0x8a5788(0x87)]):_0x8a5788(0x83)==_0x4cc26e[_0x8a5788(0x87)]&&(_0x4cc26e[_0x8a5788(0x8b)]=!0x0,delete _0x4cc26e[_0x8a5788(0x87)]),_0x4cc26e));}export function parsePositionAfterCompression(_0x292906){const _0x500205=_0x21a5;P(_0x292906,_0x135b42=>(_0x135b42[_0x500205(0x82)]?(_0x135b42[_0x500205(0x87)]=_0x500205(0x7f),delete _0x135b42[_0x500205(0x82)]):_0x135b42[_0x500205(0x8b)]&&(_0x135b42[_0x500205(0x87)]=_0x500205(0x83),delete _0x135b42[_0x500205(0x8b)]),_0x135b42));}function _0x21a5(_0x57050d,_0x3e7cc4){const _0x4553a9=_0x4553();return _0x21a5=function(_0x21a560,_0x3f53e0){_0x21a560=_0x21a560-0x7d;let _0x53b62a=_0x4553a9[_0x21a560];return _0x53b62a;},_0x21a5(_0x57050d,_0x3e7cc4);}function _0x4553(){const _0x140152=['rootMain','$graveyard','24IpEFIu','3659848eGQtLx','10kkXxUp','root','246675WKvwCt','1124326xmRHbJ','4HJjjqk','rootGraveyard','path','nodes','62597hEaXLS','length','1750131sEzqAU','335gTxcIW','684LLLPbX','main','201303iBKEqN','67542ZxovTK'];_0x4553=function(){return _0x140152;};return _0x4553();}function P(_0x5656b9,_0x1a3bf8){const _0x45d1af=_0x21a5;for(const _0x52c69c in _0x5656b9){const _0x4f9351=_0x5656b9[_0x52c69c];_0x45d1af(0x8d)!==_0x52c69c&&_0xbe54c(_0x4f9351)&&(_0x4f9351[_0x45d1af(0x8c)]&&(_0x4f9351[_0x45d1af(0x87)]||_0x4f9351[_0x45d1af(0x82)]||_0x4f9351[_0x45d1af(0x8b)])?_0x5656b9[_0x52c69c]=_0x1a3bf8(_0x4f9351):P(_0x4f9351,_0x1a3bf8));}return _0x5656b9;}
23
+ function _0x3954(){const _0x3149c2=['733689XUfRGO','rootMain','rootGraveyard','root','nodes','27gZCXIF','1045168cZWvpU','$graveyard','16843LSoMGh','185432eOvTec','path','141659QiDfsq','532990xxFaWk','2uKUITI','main','length','126015gPwAak','90HEIhTx'];_0x3954=function(){return _0x3149c2;};return _0x3954();}(function(_0x55ebe9,_0x2a7cb4){const _0x342cd1=_0x181c,_0x40ca59=_0x55ebe9();while(!![]){try{const _0x122cea=parseInt(_0x342cd1(0x1c9))/0x1*(parseInt(_0x342cd1(0x1ce))/0x2)+parseInt(_0x342cd1(0x1d3))/0x3+-parseInt(_0x342cd1(0x1ca))/0x4+parseInt(_0x342cd1(0x1d1))/0x5+parseInt(_0x342cd1(0x1d2))/0x6*(parseInt(_0x342cd1(0x1cc))/0x7)+-parseInt(_0x342cd1(0x1c7))/0x8+parseInt(_0x342cd1(0x1c6))/0x9*(-parseInt(_0x342cd1(0x1cd))/0xa);if(_0x122cea===_0x2a7cb4)break;else _0x40ca59['push'](_0x40ca59['shift']());}catch(_0x5b62fe){_0x40ca59['push'](_0x40ca59['shift']());}}}(_0x3954,0x3dd4f));import{cloneDeep as _0x1a352f,isEqual as _0x2564df,isObject as _0x8ec8be}from'lodash-es';export function getPositionShiftedBy(_0x2b5946,_0x467d9d){const _0x2afc9c=_0x181c,_0x12beb7=_0x1a352f(_0x2b5946);return _0x12beb7[_0x2afc9c(0x1cb)][_0x12beb7[_0x2afc9c(0x1cb)][_0x2afc9c(0x1d0)]-0x1]+=_0x467d9d,_0x12beb7;}export function arePositionsEqual(_0x2feb03,_0x19b6b5){const _0x37d94a=_0x181c;return _0x2feb03[_0x37d94a(0x1c4)]===_0x19b6b5[_0x37d94a(0x1c4)]&&_0x2564df(_0x2feb03[_0x37d94a(0x1cb)],_0x19b6b5[_0x37d94a(0x1cb)]);}export function parsePositionBeforeCompression(_0x4d22e2){const _0x5c17e6=_0x181c;P(_0x4d22e2,_0xa321c3=>(_0x5c17e6(0x1cf)==_0xa321c3[_0x5c17e6(0x1c4)]?(_0xa321c3[_0x5c17e6(0x1c2)]=!0x0,delete _0xa321c3[_0x5c17e6(0x1c4)]):_0x5c17e6(0x1c8)==_0xa321c3[_0x5c17e6(0x1c4)]&&(_0xa321c3[_0x5c17e6(0x1c3)]=!0x0,delete _0xa321c3[_0x5c17e6(0x1c4)]),_0xa321c3));}function _0x181c(_0x59c937,_0x7154cd){const _0x3954bb=_0x3954();return _0x181c=function(_0x181ccd,_0x291de9){_0x181ccd=_0x181ccd-0x1c2;let _0x3c6e94=_0x3954bb[_0x181ccd];return _0x3c6e94;},_0x181c(_0x59c937,_0x7154cd);}export function parsePositionAfterCompression(_0x6a4228){const _0x286835=_0x181c;P(_0x6a4228,_0x4619ed=>(_0x4619ed[_0x286835(0x1c2)]?(_0x4619ed[_0x286835(0x1c4)]=_0x286835(0x1cf),delete _0x4619ed[_0x286835(0x1c2)]):_0x4619ed[_0x286835(0x1c3)]&&(_0x4619ed[_0x286835(0x1c4)]=_0x286835(0x1c8),delete _0x4619ed[_0x286835(0x1c3)]),_0x4619ed));}function P(_0x1638fe,_0x3a269b){const _0x5496f7=_0x181c;for(const _0x3acc5d in _0x1638fe){const _0x1c48ad=_0x1638fe[_0x3acc5d];_0x5496f7(0x1c5)!==_0x3acc5d&&_0x8ec8be(_0x1c48ad)&&(_0x1c48ad[_0x5496f7(0x1cb)]&&(_0x1c48ad[_0x5496f7(0x1c4)]||_0x1c48ad[_0x5496f7(0x1c2)]||_0x1c48ad[_0x5496f7(0x1c3)])?_0x1638fe[_0x3acc5d]=_0x3a269b(_0x1c48ad):P(_0x1c48ad,_0x3a269b));}return _0x1638fe;}