@ckeditor/ckeditor5-operations-compressor 43.0.0-alpha.1 → 43.0.0-alpha.3

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 _0x5be605=_0x58ec;function _0x214b(){var _0x3c6c5f=['126wXLjbU','14tHFNCD','_operationName','2081416ORfkFq','3372681JCzWEB','70HCfhlE','types','9EbrhfN','2OAovoN','compress','10314eyTEOJ','2915385EWWmCL','decompress','_id','shift','1080584REuCUo','1276043rEmQgQ','24XeSBrf','4910Sekgvu','push','711582zFRPTY'];_0x214b=function(){return _0x3c6c5f;};return _0x214b();}(function(_0x4ce9fa,_0x458b04){var _0x15f0e=_0x58ec,_0x40c36=_0x4ce9fa();while(!![]){try{var _0x25c959=parseInt(_0x15f0e(0x117))/0x1*(-parseInt(_0x15f0e(0x10f))/0x2)+parseInt(_0x15f0e(0x10e))/0x3*(-parseInt(_0x15f0e(0x10a))/0x4)+parseInt(_0x15f0e(0x10c))/0x5*(parseInt(_0x15f0e(0x11b))/0x6)+parseInt(_0x15f0e(0x11d))/0x7*(-parseInt(_0x15f0e(0x116))/0x8)+parseInt(_0x15f0e(0x111))/0x9*(-parseInt(_0x15f0e(0x119))/0xa)+parseInt(_0x15f0e(0x112))/0xb*(parseInt(_0x15f0e(0x118))/0xc)+parseInt(_0x15f0e(0x10b))/0xd*(parseInt(_0x15f0e(0x11c))/0xe);if(_0x25c959===_0x458b04)break;else _0x40c36['push'](_0x40c36['shift']());}catch(_0xfcac52){_0x40c36['push'](_0x40c36['shift']());}}}(_0x214b,0xd0d80));function _0x58ec(_0x52623d,_0x16665a){var _0x214bd0=_0x214b();return _0x58ec=function(_0x58ec94,_0x28f774){_0x58ec94=_0x58ec94-0x109;var _0x1344a9=_0x214bd0[_0x58ec94];return _0x1344a9;},_0x58ec(_0x52623d,_0x16665a);}import _0x29d5d0 from'./operationcompressor.js';export default class p extends _0x29d5d0{[_0x5be605(0x110)](_0x448ce0,_0x253094){var _0x3caf15=_0x5be605;return _0x253094[_0x3caf15(0x115)](),_0x448ce0[_0x3caf15(0x10d)][_0x3caf15(0x11a)](this[_0x3caf15(0x114)]),!0x0;}[_0x5be605(0x113)](_0x4216c6,_0x3b67f2){var _0x2f2273=_0x5be605;_0x3b67f2[_0x2f2273(0x10d)][_0x2f2273(0x115)](),_0x4216c6[_0x2f2273(0x11a)]({'__className':this[_0x2f2273(0x109)]});}}
23
+ var _0x309293=_0x5d79;(function(_0x37b0da,_0x2ba223){var _0x3e6361=_0x5d79,_0x38bf91=_0x37b0da();while(!![]){try{var _0x4bcfc1=-parseInt(_0x3e6361(0x196))/0x1*(-parseInt(_0x3e6361(0x18f))/0x2)+parseInt(_0x3e6361(0x18e))/0x3+-parseInt(_0x3e6361(0x18d))/0x4+-parseInt(_0x3e6361(0x18c))/0x5*(-parseInt(_0x3e6361(0x197))/0x6)+-parseInt(_0x3e6361(0x199))/0x7*(-parseInt(_0x3e6361(0x194))/0x8)+-parseInt(_0x3e6361(0x192))/0x9+-parseInt(_0x3e6361(0x195))/0xa;if(_0x4bcfc1===_0x2ba223)break;else _0x38bf91['push'](_0x38bf91['shift']());}catch(_0x2abb5d){_0x38bf91['push'](_0x38bf91['shift']());}}}(_0x46c3,0x84025));import _0x4d79e1 from'./operationcompressor.js';function _0x5d79(_0x32ce1a,_0x25f5c5){var _0x46c3ce=_0x46c3();return _0x5d79=function(_0x5d79a2,_0x57f08e){_0x5d79a2=_0x5d79a2-0x18a;var _0x3d1f18=_0x46c3ce[_0x5d79a2];return _0x3d1f18;},_0x5d79(_0x32ce1a,_0x25f5c5);}function _0x46c3(){var _0x453ea7=['decompress','_operationName','3983103TwPpFc','types','232PHZzqq','3883540rfOCIA','10587SxhQFa','150rRoMUO','push','213871UTCAWP','shift','compress','_id','27955obcxFT','3511504fyjgqj','558504GAwOxx','196PEhaKY'];_0x46c3=function(){return _0x453ea7;};return _0x46c3();}export default class p extends _0x4d79e1{[_0x309293(0x18a)](_0x2b6ef9,_0x1bad1a){var _0x3d7ce7=_0x309293;return _0x1bad1a[_0x3d7ce7(0x19a)](),_0x2b6ef9[_0x3d7ce7(0x193)][_0x3d7ce7(0x198)](this[_0x3d7ce7(0x18b)]),!0x0;}[_0x309293(0x190)](_0x1f854d,_0x5f2614){var _0x1a6836=_0x309293;_0x5f2614[_0x1a6836(0x193)][_0x1a6836(0x19a)](),_0x1f854d[_0x1a6836(0x198)]({'__className':this[_0x1a6836(0x191)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a34d9=_0x4865;(function(_0x5560e6,_0x13d5c2){const _0x354f63=_0x4865,_0x3cfdc6=_0x5560e6();while(!![]){try{const _0xd9b8a6=parseInt(_0x354f63(0xa4))/0x1+-parseInt(_0x354f63(0xb2))/0x2+-parseInt(_0x354f63(0xa9))/0x3*(-parseInt(_0x354f63(0xb0))/0x4)+-parseInt(_0x354f63(0xa3))/0x5+-parseInt(_0x354f63(0xa5))/0x6+-parseInt(_0x354f63(0xad))/0x7+-parseInt(_0x354f63(0xb1))/0x8*(-parseInt(_0x354f63(0xae))/0x9);if(_0xd9b8a6===_0x13d5c2)break;else _0x3cfdc6['push'](_0x3cfdc6['shift']());}catch(_0xde1b28){_0x3cfdc6['push'](_0x3cfdc6['shift']());}}}(_0x2a40,0x586cc));function _0x2a40(){const _0x1dc31a=['80RYLVGx','346758fONoPa','decompress','_operationName','shift','3078485nlniGK','79968gFQzXP','3500064ZYWQYi','compress','push','buffers','19101IeQbjQ','__className','_id','types','4655903CPHsEs','1531953iCAluc','_protobufDescriptor','388izSebJ'];_0x2a40=function(){return _0x1dc31a;};return _0x2a40();}import{parsePositionBeforeCompression as _0x5afe92,parsePositionAfterCompression as _0x76d488}from'../utils.js';function _0x4865(_0x2b706e,_0x103f41){const _0x2a4095=_0x2a40();return _0x4865=function(_0x48659b,_0x2cb998){_0x48659b=_0x48659b-0xa0;let _0x100ecf=_0x2a4095[_0x48659b];return _0x100ecf;},_0x4865(_0x2b706e,_0x103f41);}export default class e{constructor(_0x4cf96c,_0xeeaef2,_0x4fe9ec){const _0x53cb5d=_0x4865;this[_0x53cb5d(0xab)]=_0x4cf96c,this[_0x53cb5d(0xa1)]=_0xeeaef2,this[_0x53cb5d(0xaf)]=_0x4fe9ec;}[_0x2a34d9(0xa6)](_0x1306f7,_0x1878cd){const _0xc49a88=_0x2a34d9,_0x107d3b=_0x1878cd[_0xc49a88(0xa2)]();return _0x5afe92(_0x107d3b),_0x1306f7[_0xc49a88(0xa8)][_0xc49a88(0xa7)](this[_0xc49a88(0xaf)][_0xc49a88(0xa6)](_0x107d3b)),_0x1306f7[_0xc49a88(0xac)][_0xc49a88(0xa7)](this[_0xc49a88(0xab)]),!0x0;}[_0x2a34d9(0xa0)](_0x5813f4,_0x56f46b){const _0x34a59b=_0x2a34d9;_0x56f46b[_0x34a59b(0xac)][_0x34a59b(0xa2)]();const _0x30c1de=this[_0x34a59b(0xaf)][_0x34a59b(0xa0)](_0x56f46b[_0x34a59b(0xa8)][_0x34a59b(0xa2)]());_0x76d488(_0x30c1de),_0x30c1de[_0x34a59b(0xaa)]=this[_0x34a59b(0xa1)],_0x5813f4[_0x34a59b(0xa7)](_0x30c1de);}}
23
+ const _0x3c819f=_0x23ea;(function(_0x86134c,_0x5ef9ab){const _0x5e3898=_0x23ea,_0x11c31d=_0x86134c();while(!![]){try{const _0x5cb9c9=-parseInt(_0x5e3898(0x95))/0x1+-parseInt(_0x5e3898(0x87))/0x2*(parseInt(_0x5e3898(0x8b))/0x3)+-parseInt(_0x5e3898(0x99))/0x4*(parseInt(_0x5e3898(0x97))/0x5)+parseInt(_0x5e3898(0x88))/0x6*(-parseInt(_0x5e3898(0x86))/0x7)+-parseInt(_0x5e3898(0x8c))/0x8+parseInt(_0x5e3898(0x93))/0x9*(-parseInt(_0x5e3898(0x98))/0xa)+parseInt(_0x5e3898(0x91))/0xb;if(_0x5cb9c9===_0x5ef9ab)break;else _0x11c31d['push'](_0x11c31d['shift']());}catch(_0x242b07){_0x11c31d['push'](_0x11c31d['shift']());}}}(_0x3d81,0x54f81));import{parsePositionBeforeCompression as _0x400027,parsePositionAfterCompression as _0x132b2b}from'../utils.js';function _0x3d81(){const _0x1b720a=['decompress','__className','_protobufDescriptor','shift','24748119jyFlLg','buffers','439299YnFQbY','_id','637616BPYUMg','push','10mLJJzj','50JaTLEi','279164NBWNKW','types','7jhojyy','10mTwirq','3765210qgcONt','compress','_operationName','39570EspnMJ','1496464HRmjvO'];_0x3d81=function(){return _0x1b720a;};return _0x3d81();}function _0x23ea(_0x5a4718,_0x5b872a){const _0x3d8108=_0x3d81();return _0x23ea=function(_0x23eaf2,_0xaed7cd){_0x23eaf2=_0x23eaf2-0x85;let _0xa0fb4f=_0x3d8108[_0x23eaf2];return _0xa0fb4f;},_0x23ea(_0x5a4718,_0x5b872a);}export default class e{constructor(_0x2aec13,_0xf3f8f,_0x8c3fd7){const _0x229b98=_0x23ea;this[_0x229b98(0x94)]=_0x2aec13,this[_0x229b98(0x8a)]=_0xf3f8f,this[_0x229b98(0x8f)]=_0x8c3fd7;}[_0x3c819f(0x89)](_0xa9ee90,_0x3ad746){const _0x37222f=_0x3c819f,_0x200f77=_0x3ad746[_0x37222f(0x90)]();return _0x400027(_0x200f77),_0xa9ee90[_0x37222f(0x92)][_0x37222f(0x96)](this[_0x37222f(0x8f)][_0x37222f(0x89)](_0x200f77)),_0xa9ee90[_0x37222f(0x85)][_0x37222f(0x96)](this[_0x37222f(0x94)]),!0x0;}[_0x3c819f(0x8d)](_0x388ad1,_0x59d642){const _0x4439a4=_0x3c819f;_0x59d642[_0x4439a4(0x85)][_0x4439a4(0x90)]();const _0x58b1a5=this[_0x4439a4(0x8f)][_0x4439a4(0x8d)](_0x59d642[_0x4439a4(0x92)][_0x4439a4(0x90)]());_0x132b2b(_0x58b1a5),_0x58b1a5[_0x4439a4(0x8e)]=this[_0x4439a4(0x8a)],_0x388ad1[_0x4439a4(0x96)](_0x58b1a5);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x454b(_0x4a4279,_0x3732dc){const _0x3b9ccc=_0x3b9c();return _0x454b=function(_0x454b7d,_0x981aa3){_0x454b7d=_0x454b7d-0x1a5;let _0x3f5da6=_0x3b9ccc[_0x454b7d];return _0x3f5da6;},_0x454b(_0x4a4279,_0x3732dc);}const _0x14d600=_0x454b;(function(_0x10bffd,_0x5afbeb){const _0xdc2e96=_0x454b,_0x124ab6=_0x10bffd();while(!![]){try{const _0x1b8eb1=-parseInt(_0xdc2e96(0x1a6))/0x1+parseInt(_0xdc2e96(0x1b4))/0x2*(-parseInt(_0xdc2e96(0x1b7))/0x3)+-parseInt(_0xdc2e96(0x1a5))/0x4+parseInt(_0xdc2e96(0x1a8))/0x5+parseInt(_0xdc2e96(0x1af))/0x6+parseInt(_0xdc2e96(0x1b3))/0x7+parseInt(_0xdc2e96(0x1ad))/0x8;if(_0x1b8eb1===_0x5afbeb)break;else _0x124ab6['push'](_0x124ab6['shift']());}catch(_0x17ac3b){_0x124ab6['push'](_0x124ab6['shift']());}}}(_0x3b9c,0x46067));import{messages as _0x4a157e}from'./lib/compiledmessages.js';function _0x3b9c(){const _0x5c5c53=['3238188sSvoOu','compress','getDescriptor','_protobuf','1676626VXWSrN','6IcoVTu','toObject','decode','150981eNuAHy','1461300DilAbo','448637WLpHcV','create','1014050lblMtM','verify','decompress','_protobufRoot','finish','2157920vWJBWo','encode'];_0x3b9c=function(){return _0x5c5c53;};return _0x3b9c();}export default class r{constructor(){const _0x14462c=_0x454b;this[_0x14462c(0x1ab)]=_0x4a157e;}[_0x14d600(0x1b1)](_0x460ca5){const _0x24a43f=_0x14d600;return new ProtobufDescriptor(this[_0x24a43f(0x1ab)][_0x460ca5]);}}export class ProtobufDescriptor{constructor(_0x4b107b){const _0x175f1a=_0x14d600;this[_0x175f1a(0x1b2)]=_0x4b107b;}[_0x14d600(0x1b0)](_0x3e2cd9){const _0x10b3b4=_0x14d600,_0x23cfd5=this[_0x10b3b4(0x1b2)][_0x10b3b4(0x1a9)](_0x3e2cd9);if(_0x23cfd5)throw Error(_0x23cfd5);return this[_0x10b3b4(0x1b2)][_0x10b3b4(0x1ae)](this[_0x10b3b4(0x1b2)][_0x10b3b4(0x1a7)](_0x3e2cd9))[_0x10b3b4(0x1ac)]();}[_0x14d600(0x1aa)](_0x441f04){const _0x559d96=_0x14d600;return this[_0x559d96(0x1b2)][_0x559d96(0x1b5)](this[_0x559d96(0x1b2)][_0x559d96(0x1b6)](_0x441f04),{'oneofs':!0x0});}}
23
+ function _0x1baa(){const _0x20f9b5=['verify','getDescriptor','225720EMUknI','decompress','finish','toObject','encode','736452WYLxLb','decode','_protobufRoot','826296szfnfU','2PzyUet','compress','688624VwreWZ','32261mGqTNI','726348khvLMj','90516wnOANu','_protobuf','create'];_0x1baa=function(){return _0x20f9b5;};return _0x1baa();}const _0x1d6ab9=_0x2242;function _0x2242(_0x137589,_0xf70017){const _0x1baa2f=_0x1baa();return _0x2242=function(_0x224234,_0x903cb0){_0x224234=_0x224234-0x65;let _0x553fcb=_0x1baa2f[_0x224234];return _0x553fcb;},_0x2242(_0x137589,_0xf70017);}(function(_0x16104a,_0x2e6dc4){const _0x31242f=_0x2242,_0x21549f=_0x16104a();while(!![]){try{const _0x4728b0=parseInt(_0x31242f(0x6b))/0x1+parseInt(_0x31242f(0x68))/0x2*(parseInt(_0x31242f(0x6d))/0x3)+parseInt(_0x31242f(0x77))/0x4+-parseInt(_0x31242f(0x72))/0x5+parseInt(_0x31242f(0x67))/0x6+-parseInt(_0x31242f(0x6c))/0x7+-parseInt(_0x31242f(0x6a))/0x8;if(_0x4728b0===_0x2e6dc4)break;else _0x21549f['push'](_0x21549f['shift']());}catch(_0x39bbd5){_0x21549f['push'](_0x21549f['shift']());}}}(_0x1baa,0x2471c));import{messages as _0x44875d}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x20ce31=_0x2242;this[_0x20ce31(0x66)]=_0x44875d;}[_0x1d6ab9(0x71)](_0x5bd61a){const _0x401944=_0x1d6ab9;return new ProtobufDescriptor(this[_0x401944(0x66)][_0x5bd61a]);}}export class ProtobufDescriptor{constructor(_0x1c1453){const _0x5adda6=_0x1d6ab9;this[_0x5adda6(0x6e)]=_0x1c1453;}[_0x1d6ab9(0x69)](_0x16896a){const _0x5acf2d=_0x1d6ab9,_0x24a087=this[_0x5acf2d(0x6e)][_0x5acf2d(0x70)](_0x16896a);if(_0x24a087)throw Error(_0x24a087);return this[_0x5acf2d(0x6e)][_0x5acf2d(0x76)](this[_0x5acf2d(0x6e)][_0x5acf2d(0x6f)](_0x16896a))[_0x5acf2d(0x74)]();}[_0x1d6ab9(0x73)](_0xfe92bc){const _0xc14ff7=_0x1d6ab9;return this[_0xc14ff7(0x6e)][_0xc14ff7(0x75)](this[_0xc14ff7(0x6e)][_0xc14ff7(0x65)](_0xfe92bc),{'oneofs':!0x0});}}
package/src/utils.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1b37f4,_0x3564ee){const _0x19e4be=_0x59fd,_0x159654=_0x1b37f4();while(!![]){try{const _0x3e7144=parseInt(_0x19e4be(0x171))/0x1+parseInt(_0x19e4be(0x16d))/0x2*(parseInt(_0x19e4be(0x17a))/0x3)+parseInt(_0x19e4be(0x16e))/0x4+-parseInt(_0x19e4be(0x179))/0x5+parseInt(_0x19e4be(0x175))/0x6*(parseInt(_0x19e4be(0x176))/0x7)+parseInt(_0x19e4be(0x177))/0x8+parseInt(_0x19e4be(0x178))/0x9*(-parseInt(_0x19e4be(0x170))/0xa);if(_0x3e7144===_0x3564ee)break;else _0x159654['push'](_0x159654['shift']());}catch(_0x4e1351){_0x159654['push'](_0x159654['shift']());}}}(_0x58db,0xee534));import{cloneDeep as _0x2c55e0,isEqual as _0x9677cb,isObject as _0x2efb09}from'lodash-es';function _0x58db(){const _0x128b68=['rootGraveyard','length','$graveyard','rootMain','2611372fhnfnr','2634280GcQbWs','main','40890wjkWtX','279719gcWioY','path','nodes','root','9154578sGVaWU','7rIzBOt','15457784aIKhuQ','9171bcYdje','2795450YIjKtI','3AFMrCd'];_0x58db=function(){return _0x128b68;};return _0x58db();}export function getPositionShiftedBy(_0x9599ff,_0x319864){const _0x2d8b83=_0x59fd,_0x46f815=_0x2c55e0(_0x9599ff);return _0x46f815[_0x2d8b83(0x172)][_0x46f815[_0x2d8b83(0x172)][_0x2d8b83(0x17c)]-0x1]+=_0x319864,_0x46f815;}export function arePositionsEqual(_0x744414,_0x4cd92c){const _0x7bbb8a=_0x59fd;return _0x744414[_0x7bbb8a(0x174)]===_0x4cd92c[_0x7bbb8a(0x174)]&&_0x9677cb(_0x744414[_0x7bbb8a(0x172)],_0x4cd92c[_0x7bbb8a(0x172)]);}function _0x59fd(_0x58f9a7,_0x285aa4){const _0x58dbee=_0x58db();return _0x59fd=function(_0x59fd17,_0x1d586f){_0x59fd17=_0x59fd17-0x16d;let _0x204d48=_0x58dbee[_0x59fd17];return _0x204d48;},_0x59fd(_0x58f9a7,_0x285aa4);}export function parsePositionBeforeCompression(_0x4034a8){const _0x2f81f5=_0x59fd;P(_0x4034a8,_0x113b32=>(_0x2f81f5(0x16f)==_0x113b32[_0x2f81f5(0x174)]?(_0x113b32[_0x2f81f5(0x17e)]=!0x0,delete _0x113b32[_0x2f81f5(0x174)]):_0x2f81f5(0x17d)==_0x113b32[_0x2f81f5(0x174)]&&(_0x113b32[_0x2f81f5(0x17b)]=!0x0,delete _0x113b32[_0x2f81f5(0x174)]),_0x113b32));}export function parsePositionAfterCompression(_0x4585d5){const _0xef2c35=_0x59fd;P(_0x4585d5,_0x47138a=>(_0x47138a[_0xef2c35(0x17e)]?(_0x47138a[_0xef2c35(0x174)]=_0xef2c35(0x16f),delete _0x47138a[_0xef2c35(0x17e)]):_0x47138a[_0xef2c35(0x17b)]&&(_0x47138a[_0xef2c35(0x174)]=_0xef2c35(0x17d),delete _0x47138a[_0xef2c35(0x17b)]),_0x47138a));}function P(_0x37f6a5,_0x2d1d5b){const _0x481414=_0x59fd;for(const _0x552b56 in _0x37f6a5){const _0x478582=_0x37f6a5[_0x552b56];_0x481414(0x173)!==_0x552b56&&_0x2efb09(_0x478582)&&(_0x478582[_0x481414(0x172)]&&(_0x478582[_0x481414(0x174)]||_0x478582[_0x481414(0x17e)]||_0x478582[_0x481414(0x17b)])?_0x37f6a5[_0x552b56]=_0x2d1d5b(_0x478582):P(_0x478582,_0x2d1d5b));}return _0x37f6a5;}
23
+ (function(_0xee596e,_0x484f06){const _0xcaab06=_0x2a56,_0x2fc1e4=_0xee596e();while(!![]){try{const _0x5682ca=parseInt(_0xcaab06(0x1be))/0x1*(parseInt(_0xcaab06(0x1aa))/0x2)+-parseInt(_0xcaab06(0x1b9))/0x3+-parseInt(_0xcaab06(0x1ab))/0x4*(-parseInt(_0xcaab06(0x1af))/0x5)+parseInt(_0xcaab06(0x1b3))/0x6*(-parseInt(_0xcaab06(0x1b4))/0x7)+-parseInt(_0xcaab06(0x1b5))/0x8*(parseInt(_0xcaab06(0x1b1))/0x9)+-parseInt(_0xcaab06(0x1bd))/0xa*(-parseInt(_0xcaab06(0x1bc))/0xb)+-parseInt(_0xcaab06(0x1b6))/0xc*(-parseInt(_0xcaab06(0x1b8))/0xd);if(_0x5682ca===_0x484f06)break;else _0x2fc1e4['push'](_0x2fc1e4['shift']());}catch(_0x13437d){_0x2fc1e4['push'](_0x2fc1e4['shift']());}}}(_0x491f,0xabaef));function _0x491f(){const _0x3ce451=['1340uSmVMf','main','$graveyard','nodes','18805zLeCql','rootGraveyard','387VKKnlL','length','556302VaoWhX','7tGZlAR','181848Mltzvz','9450924BsWpDU','root','13gMlQRR','3473001THzBRk','rootMain','path','22253DvApJO','560hLKkXF','1608coIJCR','958FbvVFt'];_0x491f=function(){return _0x3ce451;};return _0x491f();}function _0x2a56(_0x251ca7,_0x57e181){const _0x491f66=_0x491f();return _0x2a56=function(_0x2a565b,_0x332e97){_0x2a565b=_0x2a565b-0x1aa;let _0x44f8a7=_0x491f66[_0x2a565b];return _0x44f8a7;},_0x2a56(_0x251ca7,_0x57e181);}import{cloneDeep as _0x34a6c3,isEqual as _0x4045ed,isObject as _0x1035e7}from'lodash-es';export function getPositionShiftedBy(_0x34e674,_0x181e14){const _0x549ac8=_0x2a56,_0x2ad1b7=_0x34a6c3(_0x34e674);return _0x2ad1b7[_0x549ac8(0x1bb)][_0x2ad1b7[_0x549ac8(0x1bb)][_0x549ac8(0x1b2)]-0x1]+=_0x181e14,_0x2ad1b7;}export function arePositionsEqual(_0x41d71f,_0x36675e){const _0x410331=_0x2a56;return _0x41d71f[_0x410331(0x1b7)]===_0x36675e[_0x410331(0x1b7)]&&_0x4045ed(_0x41d71f[_0x410331(0x1bb)],_0x36675e[_0x410331(0x1bb)]);}export function parsePositionBeforeCompression(_0x401f0d){const _0x516524=_0x2a56;P(_0x401f0d,_0x243780=>(_0x516524(0x1ac)==_0x243780[_0x516524(0x1b7)]?(_0x243780[_0x516524(0x1ba)]=!0x0,delete _0x243780[_0x516524(0x1b7)]):_0x516524(0x1ad)==_0x243780[_0x516524(0x1b7)]&&(_0x243780[_0x516524(0x1b0)]=!0x0,delete _0x243780[_0x516524(0x1b7)]),_0x243780));}export function parsePositionAfterCompression(_0x407dfc){const _0x11662f=_0x2a56;P(_0x407dfc,_0x2e6c6c=>(_0x2e6c6c[_0x11662f(0x1ba)]?(_0x2e6c6c[_0x11662f(0x1b7)]=_0x11662f(0x1ac),delete _0x2e6c6c[_0x11662f(0x1ba)]):_0x2e6c6c[_0x11662f(0x1b0)]&&(_0x2e6c6c[_0x11662f(0x1b7)]=_0x11662f(0x1ad),delete _0x2e6c6c[_0x11662f(0x1b0)]),_0x2e6c6c));}function P(_0x1264d0,_0x387732){const _0x4dc1c6=_0x2a56;for(const _0x377079 in _0x1264d0){const _0x2eb2e4=_0x1264d0[_0x377079];_0x4dc1c6(0x1ae)!==_0x377079&&_0x1035e7(_0x2eb2e4)&&(_0x2eb2e4[_0x4dc1c6(0x1bb)]&&(_0x2eb2e4[_0x4dc1c6(0x1b7)]||_0x2eb2e4[_0x4dc1c6(0x1ba)]||_0x2eb2e4[_0x4dc1c6(0x1b0)])?_0x1264d0[_0x377079]=_0x387732(_0x2eb2e4):P(_0x2eb2e4,_0x387732));}return _0x1264d0;}