@ckeditor/ckeditor5-operations-compressor 43.1.1 → 43.2.0-alpha.1

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 _0x2e9b32=_0x5898;(function(_0x1c013c,_0x11817f){var _0x2195dc=_0x5898,_0x5e97b8=_0x1c013c();while(!![]){try{var _0x4df967=parseInt(_0x2195dc(0x19d))/0x1*(-parseInt(_0x2195dc(0x1a1))/0x2)+parseInt(_0x2195dc(0x195))/0x3+-parseInt(_0x2195dc(0x19e))/0x4+parseInt(_0x2195dc(0x19f))/0x5*(parseInt(_0x2195dc(0x19c))/0x6)+parseInt(_0x2195dc(0x1a2))/0x7+parseInt(_0x2195dc(0x197))/0x8+-parseInt(_0x2195dc(0x19b))/0x9*(parseInt(_0x2195dc(0x1a0))/0xa);if(_0x4df967===_0x11817f)break;else _0x5e97b8['push'](_0x5e97b8['shift']());}catch(_0xcc406c){_0x5e97b8['push'](_0x5e97b8['shift']());}}}(_0xbd6a,0x27110));function _0x5898(_0x2aee9d,_0x5bf2a2){var _0xbd6a9c=_0xbd6a();return _0x5898=function(_0x589882,_0x54dc04){_0x589882=_0x589882-0x194;var _0x184524=_0xbd6a9c[_0x589882];return _0x184524;},_0x5898(_0x2aee9d,_0x5bf2a2);}import _0x82020d from'./operationcompressor.js';function _0xbd6a(){var _0x59f903=['185OEoQdc','27480PBsWXd','125OiAiRG','32210DMTjaM','1492eHfHib','1511930ARIqjf','types','_operationName','compress','852126oVZdSW','decompress','603376RBKRqV','shift','_id','push','1557pepHMe','68802bZuMsF'];_0xbd6a=function(){return _0x59f903;};return _0xbd6a();}export default class p extends _0x82020d{[_0x2e9b32(0x194)](_0xe1a03a,_0x30b90a){var _0x3555b9=_0x2e9b32;return _0x30b90a[_0x3555b9(0x198)](),_0xe1a03a[_0x3555b9(0x1a3)][_0x3555b9(0x19a)](this[_0x3555b9(0x199)]),!0x0;}[_0x2e9b32(0x196)](_0x252b25,_0x35e471){var _0x88c5d=_0x2e9b32;_0x35e471[_0x88c5d(0x1a3)][_0x88c5d(0x198)](),_0x252b25[_0x88c5d(0x19a)]({'__className':this[_0x88c5d(0x1a4)]});}}
23
+ var _0x31629e=_0x5f3c;function _0x5f3c(_0x41cd93,_0x481fab){var _0x9bd877=_0x9bd8();return _0x5f3c=function(_0x5f3cd2,_0x5374af){_0x5f3cd2=_0x5f3cd2-0x1cd;var _0x4e19af=_0x9bd877[_0x5f3cd2];return _0x4e19af;},_0x5f3c(_0x41cd93,_0x481fab);}function _0x9bd8(){var _0x549ba8=['shift','5815285lVcVpg','push','5230578MrPuYq','_id','6PPcakI','4415170pRtcfz','types','17058880dyQdMk','642147XSrpbA','decompress','6981596fbWxlf','198309DODiwE','_operationName','compress'];_0x9bd8=function(){return _0x549ba8;};return _0x9bd8();}(function(_0xed628a,_0x4b0aa7){var _0xd6fc5b=_0x5f3c,_0x659578=_0xed628a();while(!![]){try{var _0x58b849=-parseInt(_0xd6fc5b(0x1d5))/0x1*(parseInt(_0xd6fc5b(0x1ce))/0x2)+parseInt(_0xd6fc5b(0x1d2))/0x3+-parseInt(_0xd6fc5b(0x1d4))/0x4+parseInt(_0xd6fc5b(0x1cf))/0x5+parseInt(_0xd6fc5b(0x1db))/0x6+-parseInt(_0xd6fc5b(0x1d9))/0x7+parseInt(_0xd6fc5b(0x1d1))/0x8;if(_0x58b849===_0x4b0aa7)break;else _0x659578['push'](_0x659578['shift']());}catch(_0x1ca2ed){_0x659578['push'](_0x659578['shift']());}}}(_0x9bd8,0xe314d));import _0x37fd96 from'./operationcompressor.js';export default class p extends _0x37fd96{[_0x31629e(0x1d7)](_0x4e543e,_0x38b686){var _0x200553=_0x31629e;return _0x38b686[_0x200553(0x1d8)](),_0x4e543e[_0x200553(0x1d0)][_0x200553(0x1da)](this[_0x200553(0x1cd)]),!0x0;}[_0x31629e(0x1d3)](_0x5e4645,_0x1079ea){var _0x3d145c=_0x31629e;_0x1079ea[_0x3d145c(0x1d0)][_0x3d145c(0x1d8)](),_0x5e4645[_0x3d145c(0x1da)]({'__className':this[_0x3d145c(0x1d6)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3032(_0x35bd28,_0x424649){const _0x38cc7b=_0x38cc();return _0x3032=function(_0x30325d,_0x2d8184){_0x30325d=_0x30325d-0x170;let _0x3d66f5=_0x38cc7b[_0x30325d];return _0x3d66f5;},_0x3032(_0x35bd28,_0x424649);}function _0x38cc(){const _0x280ae0=['_protobufDescriptor','4VjdAMx','_operationName','types','_id','decompress','36VrSCVf','buffers','shift','18704FiUKlm','3087zlVVty','1730197QnvgUb','compress','479058OSQtrq','60VNueoO','12270863PzpcJu','3250090iqXrvv','94702hoZTYQ','__className','push','2902602QiIfUp','2jHOhbd'];_0x38cc=function(){return _0x280ae0;};return _0x38cc();}const _0x3341fc=_0x3032;(function(_0x5e466f,_0x5dd0ef){const _0x4ad61f=_0x3032,_0x17e7be=_0x5e466f();while(!![]){try{const _0x7a5e50=parseInt(_0x4ad61f(0x172))/0x1*(parseInt(_0x4ad61f(0x184))/0x2)+parseInt(_0x4ad61f(0x171))/0x3*(-parseInt(_0x4ad61f(0x174))/0x4)+parseInt(_0x4ad61f(0x181))/0x5*(-parseInt(_0x4ad61f(0x180))/0x6)+-parseInt(_0x4ad61f(0x17e))/0x7+parseInt(_0x4ad61f(0x17c))/0x8*(-parseInt(_0x4ad61f(0x17d))/0x9)+parseInt(_0x4ad61f(0x183))/0xa+-parseInt(_0x4ad61f(0x182))/0xb*(-parseInt(_0x4ad61f(0x179))/0xc);if(_0x7a5e50===_0x5dd0ef)break;else _0x17e7be['push'](_0x17e7be['shift']());}catch(_0x27aaa1){_0x17e7be['push'](_0x17e7be['shift']());}}}(_0x38cc,0xc1403));import{parsePositionBeforeCompression as _0x8765f8,parsePositionAfterCompression as _0x83428b}from'../utils.js';export default class e{constructor(_0x12a874,_0x4fa072,_0x49daf9){const _0x317617=_0x3032;this[_0x317617(0x177)]=_0x12a874,this[_0x317617(0x175)]=_0x4fa072,this[_0x317617(0x173)]=_0x49daf9;}[_0x3341fc(0x17f)](_0x4c69f9,_0x4bcfd1){const _0x2be524=_0x3341fc,_0x31fa3c=_0x4bcfd1[_0x2be524(0x17b)]();return _0x8765f8(_0x31fa3c),_0x4c69f9[_0x2be524(0x17a)][_0x2be524(0x170)](this[_0x2be524(0x173)][_0x2be524(0x17f)](_0x31fa3c)),_0x4c69f9[_0x2be524(0x176)][_0x2be524(0x170)](this[_0x2be524(0x177)]),!0x0;}[_0x3341fc(0x178)](_0x4cb55e,_0xeb2a0d){const _0x677b21=_0x3341fc;_0xeb2a0d[_0x677b21(0x176)][_0x677b21(0x17b)]();const _0x2c4415=this[_0x677b21(0x173)][_0x677b21(0x178)](_0xeb2a0d[_0x677b21(0x17a)][_0x677b21(0x17b)]());_0x83428b(_0x2c4415),_0x2c4415[_0x677b21(0x185)]=this[_0x677b21(0x175)],_0x4cb55e[_0x677b21(0x170)](_0x2c4415);}}
23
+ const _0x194dd3=_0x8468;function _0x8468(_0x51cb7c,_0x475616){const _0x11d759=_0x11d7();return _0x8468=function(_0x846810,_0x49ecef){_0x846810=_0x846810-0x8b;let _0x371335=_0x11d759[_0x846810];return _0x371335;},_0x8468(_0x51cb7c,_0x475616);}(function(_0x175c8b,_0x268ebc){const _0x112636=_0x8468,_0x3b7121=_0x175c8b();while(!![]){try{const _0x534c93=parseInt(_0x112636(0x8f))/0x1+-parseInt(_0x112636(0x9c))/0x2*(-parseInt(_0x112636(0x93))/0x3)+-parseInt(_0x112636(0x92))/0x4+-parseInt(_0x112636(0x95))/0x5*(parseInt(_0x112636(0x8c))/0x6)+-parseInt(_0x112636(0x9e))/0x7+parseInt(_0x112636(0x90))/0x8+-parseInt(_0x112636(0x9a))/0x9*(parseInt(_0x112636(0x9b))/0xa);if(_0x534c93===_0x268ebc)break;else _0x3b7121['push'](_0x3b7121['shift']());}catch(_0x15524a){_0x3b7121['push'](_0x3b7121['shift']());}}}(_0x11d7,0xd8e31));import{parsePositionBeforeCompression as _0x11cb06,parsePositionAfterCompression as _0x91b221}from'../utils.js';function _0x11d7(){const _0x1733b6=['buffers','754187SsgrKx','types','1434BUtKYr','shift','_protobufDescriptor','640317hSlMvx','13084608zDLqgj','decompress','2333500PjwXHB','327qEaQdz','_id','265JgadNQ','compress','push','_operationName','__className','243VfqziC','796340LCqAYU','26906VjZZhE'];_0x11d7=function(){return _0x1733b6;};return _0x11d7();}export default class e{constructor(_0x34e723,_0x561323,_0x3fff78){const _0x4fca5b=_0x8468;this[_0x4fca5b(0x94)]=_0x34e723,this[_0x4fca5b(0x98)]=_0x561323,this[_0x4fca5b(0x8e)]=_0x3fff78;}[_0x194dd3(0x96)](_0x1d862f,_0x2a55d2){const _0x79d55d=_0x194dd3,_0x18b224=_0x2a55d2[_0x79d55d(0x8d)]();return _0x11cb06(_0x18b224),_0x1d862f[_0x79d55d(0x9d)][_0x79d55d(0x97)](this[_0x79d55d(0x8e)][_0x79d55d(0x96)](_0x18b224)),_0x1d862f[_0x79d55d(0x8b)][_0x79d55d(0x97)](this[_0x79d55d(0x94)]),!0x0;}[_0x194dd3(0x91)](_0x4387cb,_0x1d6e35){const _0x1053be=_0x194dd3;_0x1d6e35[_0x1053be(0x8b)][_0x1053be(0x8d)]();const _0x4480f1=this[_0x1053be(0x8e)][_0x1053be(0x91)](_0x1d6e35[_0x1053be(0x9d)][_0x1053be(0x8d)]());_0x91b221(_0x4480f1),_0x4480f1[_0x1053be(0x99)]=this[_0x1053be(0x98)],_0x4387cb[_0x1053be(0x97)](_0x4480f1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bbe43=_0x3673;(function(_0x1f5622,_0x3276e4){const _0xcc5416=_0x3673,_0x282d72=_0x1f5622();while(!![]){try{const _0x5610c7=-parseInt(_0xcc5416(0xdf))/0x1*(-parseInt(_0xcc5416(0xe0))/0x2)+-parseInt(_0xcc5416(0xe8))/0x3+parseInt(_0xcc5416(0xdc))/0x4+parseInt(_0xcc5416(0xe3))/0x5*(parseInt(_0xcc5416(0xde))/0x6)+-parseInt(_0xcc5416(0xe1))/0x7+-parseInt(_0xcc5416(0xe9))/0x8*(parseInt(_0xcc5416(0xe2))/0x9)+-parseInt(_0xcc5416(0xdd))/0xa;if(_0x5610c7===_0x3276e4)break;else _0x282d72['push'](_0x282d72['shift']());}catch(_0x4fbf36){_0x282d72['push'](_0x282d72['shift']());}}}(_0x12dd,0xad65c));import{messages as _0x12e556}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x37a84d=_0x3673;this[_0x37a84d(0xe4)]=_0x12e556;}[_0x1bbe43(0xea)](_0xcd5623){const _0x1acdf7=_0x1bbe43;return new ProtobufDescriptor(this[_0x1acdf7(0xe4)][_0xcd5623]);}}function _0x12dd(){const _0x16b07e=['decode','finish','_protobuf','create','decompress','toObject','4213680AfxniV','5037210kQNFnU','5516454MUjvxs','13049CsaDam','182mQwDrQ','5558154ZCWqCz','72ShfsKP','5JyjETB','_protobufRoot','compress','verify','encode','3263583Zygugn','64448HPqOzE','getDescriptor'];_0x12dd=function(){return _0x16b07e;};return _0x12dd();}function _0x3673(_0x31b372,_0x4d0e29){const _0x12dd24=_0x12dd();return _0x3673=function(_0x367334,_0x4ff131){_0x367334=_0x367334-0xd7;let _0x37ea5e=_0x12dd24[_0x367334];return _0x37ea5e;},_0x3673(_0x31b372,_0x4d0e29);}export class ProtobufDescriptor{constructor(_0x31d1b9){const _0x52d8a3=_0x1bbe43;this[_0x52d8a3(0xd8)]=_0x31d1b9;}[_0x1bbe43(0xe5)](_0x4efd7f){const _0x3ec17f=_0x1bbe43,_0x5cbf55=this[_0x3ec17f(0xd8)][_0x3ec17f(0xe6)](_0x4efd7f);if(_0x5cbf55)throw Error(_0x5cbf55);return this[_0x3ec17f(0xd8)][_0x3ec17f(0xe7)](this[_0x3ec17f(0xd8)][_0x3ec17f(0xd9)](_0x4efd7f))[_0x3ec17f(0xd7)]();}[_0x1bbe43(0xda)](_0x1a3f05){const _0x12b4a6=_0x1bbe43;return this[_0x12b4a6(0xd8)][_0x12b4a6(0xdb)](this[_0x12b4a6(0xd8)][_0x12b4a6(0xeb)](_0x1a3f05),{'oneofs':!0x0});}}
23
+ const _0x15bc79=_0x5a67;(function(_0x521468,_0x122d6e){const _0x5cef56=_0x5a67,_0x3d332a=_0x521468();while(!![]){try{const _0x48f7f9=-parseInt(_0x5cef56(0x1e1))/0x1*(parseInt(_0x5cef56(0x1df))/0x2)+parseInt(_0x5cef56(0x1db))/0x3+parseInt(_0x5cef56(0x1e4))/0x4+parseInt(_0x5cef56(0x1e0))/0x5+parseInt(_0x5cef56(0x1dc))/0x6+parseInt(_0x5cef56(0x1e9))/0x7+-parseInt(_0x5cef56(0x1ea))/0x8;if(_0x48f7f9===_0x122d6e)break;else _0x3d332a['push'](_0x3d332a['shift']());}catch(_0xf5d7b4){_0x3d332a['push'](_0x3d332a['shift']());}}}(_0x36a9,0xe8fdb));function _0x36a9(){const _0x59e1dc=['decompress','decode','3895936lgxNlN','_protobufRoot','encode','create','compress','4624340QeKvIt','12707000dpZcSj','toObject','finish','getDescriptor','1633680aDkDpT','7447932ZfxECz','_protobuf','verify','2696492byrTxy','2352330nUpOHB','1tpGUAT'];_0x36a9=function(){return _0x59e1dc;};return _0x36a9();}function _0x5a67(_0x4243ca,_0x1d6c55){const _0x36a913=_0x36a9();return _0x5a67=function(_0x5a67cd,_0x3cd353){_0x5a67cd=_0x5a67cd-0x1d8;let _0x1de01a=_0x36a913[_0x5a67cd];return _0x1de01a;},_0x5a67(_0x4243ca,_0x1d6c55);}import{messages as _0x35ee2f}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x33493f=_0x5a67;this[_0x33493f(0x1e5)]=_0x35ee2f;}[_0x15bc79(0x1da)](_0x454a62){const _0x1cb9ce=_0x15bc79;return new ProtobufDescriptor(this[_0x1cb9ce(0x1e5)][_0x454a62]);}}export class ProtobufDescriptor{constructor(_0x428a80){const _0x474d58=_0x15bc79;this[_0x474d58(0x1dd)]=_0x428a80;}[_0x15bc79(0x1e8)](_0x7a981f){const _0x12c26a=_0x15bc79,_0x498bc6=this[_0x12c26a(0x1dd)][_0x12c26a(0x1de)](_0x7a981f);if(_0x498bc6)throw Error(_0x498bc6);return this[_0x12c26a(0x1dd)][_0x12c26a(0x1e6)](this[_0x12c26a(0x1dd)][_0x12c26a(0x1e7)](_0x7a981f))[_0x12c26a(0x1d9)]();}[_0x15bc79(0x1e2)](_0x5b5a33){const _0x1f6134=_0x15bc79;return this[_0x1f6134(0x1dd)][_0x1f6134(0x1d8)](this[_0x1f6134(0x1dd)][_0x1f6134(0x1e3)](_0x5b5a33),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x403c(_0x35f698,_0x3baeb9){const _0x44afa8=_0x44af();return _0x403c=function(_0x403c29,_0x3239b4){_0x403c29=_0x403c29-0x1d2;let _0x261ab8=_0x44afa8[_0x403c29];return _0x261ab8;},_0x403c(_0x35f698,_0x3baeb9);}(function(_0x32a2cf,_0xa7e203){const _0x1cd0a0=_0x403c,_0x5133f4=_0x32a2cf();while(!![]){try{const _0x20b5cb=-parseInt(_0x1cd0a0(0x1dd))/0x1+-parseInt(_0x1cd0a0(0x1db))/0x2+-parseInt(_0x1cd0a0(0x1e0))/0x3+parseInt(_0x1cd0a0(0x1da))/0x4+parseInt(_0x1cd0a0(0x1d8))/0x5+parseInt(_0x1cd0a0(0x1d4))/0x6*(-parseInt(_0x1cd0a0(0x1d3))/0x7)+parseInt(_0x1cd0a0(0x1d5))/0x8*(parseInt(_0x1cd0a0(0x1e2))/0x9);if(_0x20b5cb===_0xa7e203)break;else _0x5133f4['push'](_0x5133f4['shift']());}catch(_0x3bbac3){_0x5133f4['push'](_0x5133f4['shift']());}}}(_0x44af,0xc3905));import{cloneDeep as _0x45a632,isEqual as _0x20c7fe,isObject as _0x5c2647}from'lodash-es';function _0x44af(){const _0x42f90c=['rootGraveyard','126GvgUEu','length','2338385tHOAup','12EVFwQc','450424EeWIZI','$graveyard','root','7431740YWJhgl','main','460912mMzRFa','609942jEyJrC','rootMain','416217WYBOEl','path','nodes','598473cPtZsY'];_0x44af=function(){return _0x42f90c;};return _0x44af();}export function getPositionShiftedBy(_0xadc71a,_0x44267c){const _0x1d7485=_0x403c,_0x40dbbb=_0x45a632(_0xadc71a);return _0x40dbbb[_0x1d7485(0x1de)][_0x40dbbb[_0x1d7485(0x1de)][_0x1d7485(0x1d2)]-0x1]+=_0x44267c,_0x40dbbb;}export function arePositionsEqual(_0x58714c,_0x4f9ac7){const _0x4421f9=_0x403c;return _0x58714c[_0x4421f9(0x1d7)]===_0x4f9ac7[_0x4421f9(0x1d7)]&&_0x20c7fe(_0x58714c[_0x4421f9(0x1de)],_0x4f9ac7[_0x4421f9(0x1de)]);}export function parsePositionBeforeCompression(_0x4a72f3){const _0x513223=_0x403c;P(_0x4a72f3,_0x55dfb5=>(_0x513223(0x1d9)==_0x55dfb5[_0x513223(0x1d7)]?(_0x55dfb5[_0x513223(0x1dc)]=!0x0,delete _0x55dfb5[_0x513223(0x1d7)]):_0x513223(0x1d6)==_0x55dfb5[_0x513223(0x1d7)]&&(_0x55dfb5[_0x513223(0x1e1)]=!0x0,delete _0x55dfb5[_0x513223(0x1d7)]),_0x55dfb5));}export function parsePositionAfterCompression(_0x28e3b2){const _0x42706f=_0x403c;P(_0x28e3b2,_0x4296f4=>(_0x4296f4[_0x42706f(0x1dc)]?(_0x4296f4[_0x42706f(0x1d7)]=_0x42706f(0x1d9),delete _0x4296f4[_0x42706f(0x1dc)]):_0x4296f4[_0x42706f(0x1e1)]&&(_0x4296f4[_0x42706f(0x1d7)]=_0x42706f(0x1d6),delete _0x4296f4[_0x42706f(0x1e1)]),_0x4296f4));}function P(_0x4d6583,_0x52bd92){const _0x3c3b7b=_0x403c;for(const _0x37e63a in _0x4d6583){const _0x3ce1ab=_0x4d6583[_0x37e63a];_0x3c3b7b(0x1df)!==_0x37e63a&&_0x5c2647(_0x3ce1ab)&&(_0x3ce1ab[_0x3c3b7b(0x1de)]&&(_0x3ce1ab[_0x3c3b7b(0x1d7)]||_0x3ce1ab[_0x3c3b7b(0x1dc)]||_0x3ce1ab[_0x3c3b7b(0x1e1)])?_0x4d6583[_0x37e63a]=_0x52bd92(_0x3ce1ab):P(_0x3ce1ab,_0x52bd92));}return _0x4d6583;}
23
+ function _0x35e4(){const _0x383ff2=['315iOwTqZ','rootMain','110910XcnYTU','3107cixPsW','main','32585mAlaIA','123468WXyUuA','rootGraveyard','$graveyard','463625jDvTHb','2ohHvCg','4kFArwk','154fCkVSQ','10216TmlvNW','1147161FqBkGF','length','root','path','549XylBYT','37772hyTWFB','318KinxYz','nodes'];_0x35e4=function(){return _0x383ff2;};return _0x35e4();}function _0xa28b(_0x5472eb,_0x5f468f){const _0x35e4d1=_0x35e4();return _0xa28b=function(_0xa28b6c,_0x561ed7){_0xa28b6c=_0xa28b6c-0x185;let _0x47f622=_0x35e4d1[_0xa28b6c];return _0x47f622;},_0xa28b(_0x5472eb,_0x5f468f);}(function(_0x3b29a8,_0x10ee8f){const _0x52f46c=_0xa28b,_0x2defdb=_0x3b29a8();while(!![]){try{const _0x28fe18=-parseInt(_0x52f46c(0x190))/0x1*(-parseInt(_0x52f46c(0x191))/0x2)+parseInt(_0x52f46c(0x195))/0x3*(parseInt(_0x52f46c(0x192))/0x4)+parseInt(_0x52f46c(0x18c))/0x5*(-parseInt(_0x52f46c(0x185))/0x6)+parseInt(_0x52f46c(0x187))/0x7*(parseInt(_0x52f46c(0x194))/0x8)+parseInt(_0x52f46c(0x199))/0x9*(-parseInt(_0x52f46c(0x189))/0xa)+parseInt(_0x52f46c(0x193))/0xb*(-parseInt(_0x52f46c(0x18d))/0xc)+-parseInt(_0x52f46c(0x18a))/0xd*(-parseInt(_0x52f46c(0x19a))/0xe);if(_0x28fe18===_0x10ee8f)break;else _0x2defdb['push'](_0x2defdb['shift']());}catch(_0x598059){_0x2defdb['push'](_0x2defdb['shift']());}}}(_0x35e4,0x5d55d));import{cloneDeep as _0x49c781,isEqual as _0x4141b3,isObject as _0x56d7b6}from'lodash-es';export function getPositionShiftedBy(_0x5068ec,_0x47954a){const _0x9c49cc=_0xa28b,_0x5f1acb=_0x49c781(_0x5068ec);return _0x5f1acb[_0x9c49cc(0x198)][_0x5f1acb[_0x9c49cc(0x198)][_0x9c49cc(0x196)]-0x1]+=_0x47954a,_0x5f1acb;}export function arePositionsEqual(_0x30a3b8,_0x48082f){const _0x1408f2=_0xa28b;return _0x30a3b8[_0x1408f2(0x197)]===_0x48082f[_0x1408f2(0x197)]&&_0x4141b3(_0x30a3b8[_0x1408f2(0x198)],_0x48082f[_0x1408f2(0x198)]);}export function parsePositionBeforeCompression(_0x321171){const _0x2cefe0=_0xa28b;P(_0x321171,_0x41cf53=>(_0x2cefe0(0x18b)==_0x41cf53[_0x2cefe0(0x197)]?(_0x41cf53[_0x2cefe0(0x188)]=!0x0,delete _0x41cf53[_0x2cefe0(0x197)]):_0x2cefe0(0x18f)==_0x41cf53[_0x2cefe0(0x197)]&&(_0x41cf53[_0x2cefe0(0x18e)]=!0x0,delete _0x41cf53[_0x2cefe0(0x197)]),_0x41cf53));}export function parsePositionAfterCompression(_0x261127){const _0x3437e9=_0xa28b;P(_0x261127,_0x3caad3=>(_0x3caad3[_0x3437e9(0x188)]?(_0x3caad3[_0x3437e9(0x197)]=_0x3437e9(0x18b),delete _0x3caad3[_0x3437e9(0x188)]):_0x3caad3[_0x3437e9(0x18e)]&&(_0x3caad3[_0x3437e9(0x197)]=_0x3437e9(0x18f),delete _0x3caad3[_0x3437e9(0x18e)]),_0x3caad3));}function P(_0x5912fc,_0x45fcd2){const _0x50e3d8=_0xa28b;for(const _0x4e3848 in _0x5912fc){const _0x540ade=_0x5912fc[_0x4e3848];_0x50e3d8(0x186)!==_0x4e3848&&_0x56d7b6(_0x540ade)&&(_0x540ade[_0x50e3d8(0x198)]&&(_0x540ade[_0x50e3d8(0x197)]||_0x540ade[_0x50e3d8(0x188)]||_0x540ade[_0x50e3d8(0x18e)])?_0x5912fc[_0x4e3848]=_0x45fcd2(_0x540ade):P(_0x540ade,_0x45fcd2));}return _0x5912fc;}