@ckeditor/ckeditor5-operations-compressor 41.2.1 → 41.3.0-alpha.2
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.
- package/dist/content-index.css +4 -0
- package/dist/editor-index.css +4 -0
- package/dist/index.css +4 -0
- package/dist/types/actioncompressor/actioncompressor.d.ts +64 -0
- package/dist/types/actioncompressor/deletingactioncompressor.d.ts +32 -0
- package/dist/types/actioncompressor/forwarddeletingactioncompressor.d.ts +32 -0
- package/dist/types/actioncompressor/typingactioncompressor.d.ts +32 -0
- package/dist/types/actioncompressor/userselectionactioncompressor.d.ts +20 -0
- package/dist/types/compressor.d.ts +49 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/operationcompressor/annotationmarkeroperationcompressor.d.ts +26 -0
- package/dist/types/operationcompressor/attributeoperationcompressor.d.ts +21 -0
- package/dist/types/operationcompressor/insertoperationcompressor.d.ts +21 -0
- package/dist/types/operationcompressor/markeroperationcompressor.d.ts +17 -0
- package/dist/types/operationcompressor/nooperationcompressor.d.ts +24 -0
- package/dist/types/operationcompressor/operationcompressor.d.ts +32 -0
- package/dist/types/protobufdescriptions.d.ts +8 -0
- package/dist/types/protobuffactory.d.ts +9 -0
- package/dist/types/utils.d.ts +34 -0
- package/package.json +3 -2
- package/src/actioncompressor/actioncompressor.js +1 -1
- package/src/actioncompressor/deletingactioncompressor.js +1 -1
- package/src/actioncompressor/forwarddeletingactioncompressor.js +1 -1
- package/src/actioncompressor/typingactioncompressor.js +1 -1
- package/src/actioncompressor/userselectionactioncompressor.js +1 -1
- package/src/compressor.js +1 -1
- package/src/index.d.ts +5 -0
- package/src/index.js +23 -0
- package/src/lib/compiledmessages.js +1 -1
- package/src/operationcompressor/annotationmarkeroperationcompressor.js +1 -1
- package/src/operationcompressor/attributeoperationcompressor.js +1 -1
- package/src/operationcompressor/insertoperationcompressor.js +1 -1
- package/src/operationcompressor/markeroperationcompressor.js +1 -1
- package/src/operationcompressor/nooperationcompressor.js +1 -1
- package/src/operationcompressor/operationcompressor.js +1 -1
- package/src/protobufdescriptions.js +1 -1
- package/src/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4823(){const _0x1c70c2=['decompress','__className','Boolean','35358tIFqcG','Json','91TRHZzy','_deserializeOneOf','205959slkRgH','oldValue','newValue','_serializeOneOf','parse','shift','_protobufDescriptor','_operationName','1407764ooYDeb','_id','push','119910ckgsap','777036nrpSwr','buffers','boolean','395073glqJpz','compress','stringify','630792EAyoKy','9EEdWHR','types'];_0x4823=function(){return _0x1c70c2;};return _0x4823();}const _0x223bda=_0x1def;(function(_0x18112a,_0xeda5c){const _0x3e6a49=_0x1def,_0x4161b0=_0x18112a();while(!![]){try{const _0x3002f4=-parseInt(_0x3e6a49(0x17c))/0x1+-parseInt(_0x3e6a49(0x188))/0x2+parseInt(_0x3e6a49(0x18f))/0x3*(parseInt(_0x3e6a49(0x184))/0x4)+-parseInt(_0x3e6a49(0x187))/0x5+-parseInt(_0x3e6a49(0x194))/0x6*(-parseInt(_0x3e6a49(0x17a))/0x7)+parseInt(_0x3e6a49(0x18e))/0x8+-parseInt(_0x3e6a49(0x18b))/0x9;if(_0x3002f4===_0xeda5c)break;else _0x4161b0['push'](_0x4161b0['shift']());}catch(_0x27bf02){_0x4161b0['push'](_0x4161b0['shift']());}}}(_0x4823,0x8603d));import _0x32da7b from'./operationcompressor.js';function _0x1def(_0xd9766e,_0x2f6325){const _0x48238=_0x4823();return _0x1def=function(_0x1def4e,_0x55265e){_0x1def4e=_0x1def4e-0x179;let _0xda3c70=_0x48238[_0x1def4e];return _0xda3c70;},_0x1def(_0xd9766e,_0x2f6325);}import{parsePositionBeforeCompression as _0x213045,parsePositionAfterCompression as _0x388d24}from'../utils.js';export default class s extends _0x32da7b{[_0x223bda(0x18c)](_0x269668,_0x13a6af){const _0x1f3ec6=_0x223bda,_0x16086c=_0x13a6af[_0x1f3ec6(0x181)]();return this[_0x1f3ec6(0x17f)](_0x1f3ec6(0x17d),_0x16086c),this[_0x1f3ec6(0x17f)](_0x1f3ec6(0x17e),_0x16086c),_0x213045(_0x16086c),_0x269668[_0x1f3ec6(0x189)][_0x1f3ec6(0x186)](this[_0x1f3ec6(0x182)][_0x1f3ec6(0x18c)](_0x16086c)),_0x269668[_0x1f3ec6(0x190)][_0x1f3ec6(0x186)](this[_0x1f3ec6(0x185)]),!0x0;}[_0x223bda(0x191)](_0x115d4d,_0x117b98){const _0x52769e=_0x223bda,{types:_0x392a7f,buffers:_0x1caa9f}=_0x117b98,_0x2a52a0=this[_0x52769e(0x182)][_0x52769e(0x191)](_0x1caa9f[_0x52769e(0x181)]());_0x392a7f[_0x52769e(0x181)](),this[_0x52769e(0x17b)](_0x52769e(0x17d),_0x2a52a0),this[_0x52769e(0x17b)](_0x52769e(0x17e),_0x2a52a0),_0x388d24(_0x2a52a0),_0x2a52a0[_0x52769e(0x192)]=this[_0x52769e(0x183)],_0x115d4d[_0x52769e(0x186)](_0x2a52a0);}[_0x223bda(0x17f)](_0x4b879b,_0x50f3f6){const _0x2681de=_0x223bda,_0x3fd0c1=_0x50f3f6[_0x4b879b];_0x2681de(0x18a)==typeof _0x3fd0c1?_0x50f3f6[_0x4b879b+_0x2681de(0x193)]=_0x3fd0c1:_0x50f3f6[_0x4b879b+_0x2681de(0x179)]=JSON[_0x2681de(0x18d)](_0x3fd0c1);}[_0x223bda(0x17b)](_0x45e931,_0x386dc0){const _0x3fda30=_0x223bda,_0x11dd2c=_0x45e931+_0x3fda30(0x179);_0x386dc0[_0x11dd2c]?(_0x386dc0[_0x45e931]=JSON[_0x3fda30(0x180)](_0x386dc0[_0x11dd2c]),delete _0x386dc0[_0x11dd2c]):(_0x386dc0[_0x45e931]=_0x386dc0[_0x45e931+_0x3fda30(0x193)],delete _0x386dc0[_0x45e931+_0x3fda30(0x193)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2da515=_0x5f32;(function(_0x57a40e,_0xe739c1){const _0x15f2c8=_0x5f32,_0x5b7a17=_0x57a40e();while(!![]){try{const _0x11d341=-parseInt(_0x15f2c8(0x1df))/0x1*(parseInt(_0x15f2c8(0x1dd))/0x2)+parseInt(_0x15f2c8(0x1eb))/0x3+-parseInt(_0x15f2c8(0x1ea))/0x4+-parseInt(_0x15f2c8(0x1f5))/0x5*(-parseInt(_0x15f2c8(0x1f1))/0x6)+-parseInt(_0x15f2c8(0x1f8))/0x7+-parseInt(_0x15f2c8(0x1e8))/0x8+-parseInt(_0x15f2c8(0x1e2))/0x9*(-parseInt(_0x15f2c8(0x1de))/0xa);if(_0x11d341===_0xe739c1)break;else _0x5b7a17['push'](_0x5b7a17['shift']());}catch(_0x157747){_0x5b7a17['push'](_0x5b7a17['shift']());}}}(_0x553a,0x43813));import _0x33eaeb from'./operationcompressor.js';import{parsePositionBeforeCompression as _0x27abf7,parsePositionAfterCompression as _0x452e8f}from'../utils.js';function _0x5f32(_0x15869c,_0x4a45fc){const _0x553a3d=_0x553a();return _0x5f32=function(_0x5f32a9,_0xfb693f){_0x5f32a9=_0x5f32a9-0x1d8;let _0x3ef26f=_0x553a3d[_0x5f32a9];return _0x3ef26f;},_0x5f32(_0x15869c,_0x4a45fc);}function _0x553a(){const _0x3c113f=['__className','3852880JlTFvc','push','1446812OfEJIg','1421343xyCzCQ','_serializeNodesAttributes','_operationName','attributes','buffers','stringify','30eBlYpw','types','nodes','children','271325fPyVLJ','shift','every','673799NoqTwD','_id','compress','_areValuesBoolean','_deserializeNodesAttributes','_protobufDescriptor','218WGVUus','124030TQSlGN','2279KZVOxZ','parse','boolean','522mGKMvK','keys','decompress','attributesBoolean','attributesJson'];_0x553a=function(){return _0x3c113f;};return _0x553a();}export default class i extends _0x33eaeb{[_0x2da515(0x1d9)](_0x521198,_0x1d31a6){const _0x166d63=_0x2da515,_0x1a3177=_0x1d31a6[_0x166d63(0x1f6)]();return this[_0x166d63(0x1ec)](_0x1a3177[_0x166d63(0x1f3)]),_0x27abf7(_0x1a3177),_0x521198[_0x166d63(0x1ef)][_0x166d63(0x1e9)](this[_0x166d63(0x1dc)][_0x166d63(0x1d9)](_0x1a3177)),_0x521198[_0x166d63(0x1f2)][_0x166d63(0x1e9)](this[_0x166d63(0x1d8)]),!0x0;}[_0x2da515(0x1e4)](_0xab81c2,_0x256a58){const _0x4e59c3=_0x2da515,{types:_0x53d918,buffers:_0x298f73}=_0x256a58,_0x1b8dfb=this[_0x4e59c3(0x1dc)][_0x4e59c3(0x1e4)](_0x298f73[_0x4e59c3(0x1f6)]());_0x53d918[_0x4e59c3(0x1f6)](),_0x1b8dfb[_0x4e59c3(0x1f3)]||(_0x1b8dfb[_0x4e59c3(0x1f3)]=[]),this[_0x4e59c3(0x1db)](_0x1b8dfb[_0x4e59c3(0x1f3)]),_0x452e8f(_0x1b8dfb),_0x1b8dfb[_0x4e59c3(0x1e7)]=this[_0x4e59c3(0x1ed)],_0xab81c2[_0x4e59c3(0x1e9)](_0x1b8dfb);}[_0x2da515(0x1ec)](_0x2ed9cb){const _0x3eba98=_0x2da515;for(const _0xa08ac2 of _0x2ed9cb){if(_0xa08ac2[_0x3eba98(0x1ee)]){const _0x12e4d9=_0xa08ac2[_0x3eba98(0x1ee)];this[_0x3eba98(0x1da)](_0x12e4d9)?_0xa08ac2[_0x3eba98(0x1e5)]=_0x12e4d9:_0xa08ac2[_0x3eba98(0x1e6)]=JSON[_0x3eba98(0x1f0)](_0x12e4d9);}_0xa08ac2[_0x3eba98(0x1f4)]&&this[_0x3eba98(0x1ec)](_0xa08ac2[_0x3eba98(0x1f4)]);}}[_0x2da515(0x1db)](_0x22445c){const _0x34947c=_0x2da515;for(const _0x513bb5 of _0x22445c)(_0x513bb5[_0x34947c(0x1e5)]||_0x513bb5[_0x34947c(0x1e6)])&&(_0x513bb5[_0x34947c(0x1e5)]?(_0x513bb5[_0x34947c(0x1ee)]=_0x513bb5[_0x34947c(0x1e5)],delete _0x513bb5[_0x34947c(0x1e5)]):(_0x513bb5[_0x34947c(0x1ee)]=JSON[_0x34947c(0x1e0)](_0x513bb5[_0x34947c(0x1e6)]),delete _0x513bb5[_0x34947c(0x1e6)])),_0x513bb5[_0x34947c(0x1f4)]&&this[_0x34947c(0x1db)](_0x513bb5[_0x34947c(0x1f4)]);}[_0x2da515(0x1da)](_0x509b6d){const _0x40fba6=_0x2da515;return Object[_0x40fba6(0x1e3)](_0x509b6d)[_0x40fba6(0x1f7)](_0x35d808=>_0x40fba6(0x1e1)==typeof _0x509b6d[_0x35d808]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x37d4fd=_0x3311;(function(_0x5d9a66,_0x591889){const _0x3d14d5=_0x3311,_0x3c9277=_0x5d9a66();while(!![]){try{const _0x543bf2=parseInt(_0x3d14d5(0x11f))/0x1+-parseInt(_0x3d14d5(0x113))/0x2*(parseInt(_0x3d14d5(0x112))/0x3)+parseInt(_0x3d14d5(0x117))/0x4*(-parseInt(_0x3d14d5(0x11a))/0x5)+parseInt(_0x3d14d5(0x114))/0x6*(-parseInt(_0x3d14d5(0x118))/0x7)+-parseInt(_0x3d14d5(0x11c))/0x8+-parseInt(_0x3d14d5(0x11b))/0x9*(-parseInt(_0x3d14d5(0x110))/0xa)+parseInt(_0x3d14d5(0x119))/0xb*(parseInt(_0x3d14d5(0x116))/0xc);if(_0x543bf2===_0x591889)break;else _0x3c9277['push'](_0x3c9277['shift']());}catch(_0x1ce0c1){_0x3c9277['push'](_0x3c9277['shift']());}}}(_0x5280,0x47d7b));function _0x3311(_0x240fae,_0x81f811){const _0x528061=_0x5280();return _0x3311=function(_0x331110,_0x4ddae1){_0x331110=_0x331110-0x110;let _0x2be287=_0x528061[_0x331110];return _0x2be287;},_0x3311(_0x240fae,_0x81f811);}import _0x580c27 from'./operationcompressor.js';function _0x5280(){const _0x152c47=['60chhdgR','38132zSmPJn','67098yKMicO','newRange','15564ZxPHLK','144JekaRw','140qMCxKm','1661nTizIg','17470YNYzVa','19791CiglSv','1011192DPOTrh','length','decompress','465206nkXGxE','2230HyZWbW','oldRange'];_0x5280=function(){return _0x152c47;};return _0x5280();}export default class n extends _0x580c27{[_0x37d4fd(0x11e)](_0x4f0233,_0x4dfd17){const _0x1fae10=_0x37d4fd;super[_0x1fae10(0x11e)](_0x4f0233,_0x4dfd17);const _0x1565ac=_0x4f0233[_0x4f0233[_0x1fae10(0x11d)]-0x1];_0x1565ac[_0x1fae10(0x111)]||(_0x1565ac[_0x1fae10(0x111)]=null),_0x1565ac[_0x1fae10(0x115)]||(_0x1565ac[_0x1fae10(0x115)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x395e25=_0x1607;function _0x1607(_0x175d48,_0x2bc390){var _0x37005d=_0x3700();return _0x1607=function(_0x1607e4,_0x416039){_0x1607e4=_0x1607e4-0xdf;var _0x4eb9de=_0x37005d[_0x1607e4];return _0x4eb9de;},_0x1607(_0x175d48,_0x2bc390);}(function(_0xe42814,_0x849936){var _0x27bf40=_0x1607,_0x2ffd6f=_0xe42814();while(!![]){try{var _0x5ef5de=-parseInt(_0x27bf40(0xe7))/0x1+-parseInt(_0x27bf40(0xdf))/0x2*(parseInt(_0x27bf40(0xe9))/0x3)+parseInt(_0x27bf40(0xe0))/0x4+-parseInt(_0x27bf40(0xec))/0x5*(-parseInt(_0x27bf40(0xe1))/0x6)+-parseInt(_0x27bf40(0xe8))/0x7+-parseInt(_0x27bf40(0xef))/0x8*(-parseInt(_0x27bf40(0xe3))/0x9)+-parseInt(_0x27bf40(0xed))/0xa*(parseInt(_0x27bf40(0xeb))/0xb);if(_0x5ef5de===_0x849936)break;else _0x2ffd6f['push'](_0x2ffd6f['shift']());}catch(_0x2fc4bd){_0x2ffd6f['push'](_0x2ffd6f['shift']());}}}(_0x3700,0xaec70));import _0x66fb3a from'./operationcompressor.js';function _0x3700(){var _0x29d523=['1642888FuloIu','_operationName','2WQpkgo','2739736GmTMPK','258INxGsX','shift','27Pjfija','compress','push','_id','167271eVnQvm','8644741ZsdqFY','373251xXWGkZ','types','11pPyRKk','134665BAKzaD','2165970SMrZdc','decompress'];_0x3700=function(){return _0x29d523;};return _0x3700();}export default class p extends _0x66fb3a{[_0x395e25(0xe4)](_0x3ed49a,_0x12ae8f){var _0x1ffd2a=_0x395e25;return _0x12ae8f[_0x1ffd2a(0xe2)](),_0x3ed49a[_0x1ffd2a(0xea)][_0x1ffd2a(0xe5)](this[_0x1ffd2a(0xe6)]),!0x0;}[_0x395e25(0xee)](_0x3e0a8a,_0x503c0e){var _0x3a515b=_0x395e25;_0x503c0e[_0x3a515b(0xea)][_0x3a515b(0xe2)](),_0x3e0a8a[_0x3a515b(0xe5)]({'__className':this[_0x3a515b(0xf0)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b0fc8=_0xa6f6;(function(_0x55985a,_0x2ad9ad){const _0x5c828e=_0xa6f6,_0x5d0997=_0x55985a();while(!![]){try{const _0x4cb706=parseInt(_0x5c828e(0x1c4))/0x1*(-parseInt(_0x5c828e(0x1b4))/0x2)+parseInt(_0x5c828e(0x1bf))/0x3*(parseInt(_0x5c828e(0x1c0))/0x4)+-parseInt(_0x5c828e(0x1bb))/0x5*(parseInt(_0x5c828e(0x1bc))/0x6)+-parseInt(_0x5c828e(0x1be))/0x7+parseInt(_0x5c828e(0x1b3))/0x8+parseInt(_0x5c828e(0x1b6))/0x9*(parseInt(_0x5c828e(0x1b8))/0xa)+parseInt(_0x5c828e(0x1c1))/0xb*(parseInt(_0x5c828e(0x1bd))/0xc);if(_0x4cb706===_0x2ad9ad)break;else _0x5d0997['push'](_0x5d0997['shift']());}catch(_0xd4c27b){_0x5d0997['push'](_0x5d0997['shift']());}}}(_0x3310,0x9bfc6));function _0xa6f6(_0x11d69a,_0x5dde6d){const _0x3310ad=_0x3310();return _0xa6f6=function(_0xa6f604,_0x24eea9){_0xa6f604=_0xa6f604-0x1b0;let _0x4db182=_0x3310ad[_0xa6f604];return _0x4db182;},_0xa6f6(_0x11d69a,_0x5dde6d);}import{parsePositionBeforeCompression as _0x3dbf29,parsePositionAfterCompression as _0x4b3227}from'../utils.js';export default class e{constructor(_0x587ea0,_0x5436f2,_0x375fc5){const _0x1eba0c=_0xa6f6;this[_0x1eba0c(0x1b2)]=_0x587ea0,this[_0x1eba0c(0x1c3)]=_0x5436f2,this[_0x1eba0c(0x1b1)]=_0x375fc5;}[_0x2b0fc8(0x1b9)](_0x572fc7,_0x3fd73d){const _0x30d97a=_0x2b0fc8,_0x1ee3f1=_0x3fd73d[_0x30d97a(0x1b5)]();return _0x3dbf29(_0x1ee3f1),_0x572fc7[_0x30d97a(0x1b0)][_0x30d97a(0x1c2)](this[_0x30d97a(0x1b1)][_0x30d97a(0x1b9)](_0x1ee3f1)),_0x572fc7[_0x30d97a(0x1c5)][_0x30d97a(0x1c2)](this[_0x30d97a(0x1b2)]),!0x0;}[_0x2b0fc8(0x1b7)](_0x1c352c,_0x5c03a3){const _0x15ed36=_0x2b0fc8;_0x5c03a3[_0x15ed36(0x1c5)][_0x15ed36(0x1b5)]();const _0x150358=this[_0x15ed36(0x1b1)][_0x15ed36(0x1b7)](_0x5c03a3[_0x15ed36(0x1b0)][_0x15ed36(0x1b5)]());_0x4b3227(_0x150358),_0x150358[_0x15ed36(0x1ba)]=this[_0x15ed36(0x1c3)],_0x1c352c[_0x15ed36(0x1c2)](_0x150358);}}function _0x3310(){const _0x23b691=['4110864oMGGgC','62116dUDndW','shift','690453KELfgI','decompress','20JfMMyl','compress','__className','1365ZAfJDZ','27294jrNiAn','2148akOBqi','1956423oSdgza','10362ApQowv','524PVjcga','75394AZFpeP','push','_operationName','6KYecKb','types','buffers','_protobufDescriptor','_id'];_0x3310=function(){return _0x23b691;};return _0x3310();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
'use strict';
|
|
23
|
+
'use strict';var _0x1e3a54=_0x1f1c;(function(_0x2dd316,_0x1b86cd){var _0x39b0cd=_0x1f1c,_0x7a259e=_0x2dd316();while(!![]){try{var _0x4385e7=-parseInt(_0x39b0cd(0x175))/0x1*(parseInt(_0x39b0cd(0x174))/0x2)+parseInt(_0x39b0cd(0x16f))/0x3*(-parseInt(_0x39b0cd(0x16e))/0x4)+parseInt(_0x39b0cd(0x179))/0x5+parseInt(_0x39b0cd(0x178))/0x6+-parseInt(_0x39b0cd(0x16d))/0x7+parseInt(_0x39b0cd(0x171))/0x8+parseInt(_0x39b0cd(0x17c))/0x9;if(_0x4385e7===_0x1b86cd)break;else _0x7a259e['push'](_0x7a259e['shift']());}catch(_0x5299bb){_0x7a259e['push'](_0x7a259e['shift']());}}}(_0x1ffa,0xba32f));function _0x1ffa(){var _0xb94f2b=['uint32','5788404zeOkoL','repeated','4448675QIGbdG','6724JnNUqh','1905AbXZHQ','Position','3450776LwLbOK','string','exports','30gkKRtV','32378YfoUhC','Element','bool','3833130cFwEiU','6189715bNnibS','Range'];_0x1ffa=function(){return _0xb94f2b;};return _0x1ffa();}function _0x1f1c(_0x289ee9,_0x40fe7d){var _0x1ffac6=_0x1ffa();return _0x1f1c=function(_0x1f1ca3,_0x45214c){_0x1f1ca3=_0x1f1ca3-0x16c;var _0x5af91f=_0x1ffac6[_0x1f1ca3];return _0x5af91f;},_0x1f1c(_0x289ee9,_0x40fe7d);}module[_0x1e3a54(0x173)]={'AttributeOperation':{'fields':{'range':{'type':_0x1e3a54(0x17a),'id':0x1},'key':{'type':_0x1e3a54(0x172),'id':0x2},'oldValueBoolean':{'type':_0x1e3a54(0x177),'id':0x3},'oldValueJson':{'type':_0x1e3a54(0x172),'id':0x4},'newValueBoolean':{'type':_0x1e3a54(0x177),'id':0x5},'newValueJson':{'type':_0x1e3a54(0x172),'id':0x6},'wasUndone':{'type':_0x1e3a54(0x177),'id':0x7}}},'InsertOperation':{'fields':{'position':{'type':_0x1e3a54(0x170),'id':0x1},'nodes':{'rule':_0x1e3a54(0x16c),'type':_0x1e3a54(0x176),'id':0x2},'shouldReceiveAttributes':{'type':_0x1e3a54(0x177),'id':0x3},'wasUndone':{'type':_0x1e3a54(0x177),'id':0x4}}},'MarkerOperation':{'fields':{'name':{'type':_0x1e3a54(0x172),'id':0x1},'oldRange':{'type':_0x1e3a54(0x17a),'id':0x2},'newRange':{'type':_0x1e3a54(0x17a),'id':0x3},'affectsData':{'type':_0x1e3a54(0x177),'id':0x4},'wasUndone':{'type':_0x1e3a54(0x177),'id':0x5}}},'MergeOperation':{'fields':{'sourcePosition':{'type':_0x1e3a54(0x170),'id':0x1},'targetPosition':{'type':_0x1e3a54(0x170),'id':0x2},'graveyardPosition':{'type':_0x1e3a54(0x170),'id':0x3},'howMany':{'type':_0x1e3a54(0x17b),'id':0x4},'wasUndone':{'type':_0x1e3a54(0x177),'id':0x5}}},'MoveOperation':{'fields':{'sourcePosition':{'type':_0x1e3a54(0x170),'id':0x1},'howMany':{'type':_0x1e3a54(0x17b),'id':0x2},'targetPosition':{'type':_0x1e3a54(0x170),'id':0x3},'wasUndone':{'type':_0x1e3a54(0x177),'id':0x4}}},'RenameOperation':{'fields':{'position':{'type':_0x1e3a54(0x170),'id':0x1},'oldName':{'type':_0x1e3a54(0x172),'id':0x2},'newName':{'type':_0x1e3a54(0x172),'id':0x3},'wasUndone':{'type':_0x1e3a54(0x177),'id':0x4}}},'RootAttributeOperation':{'fields':{'root':{'type':_0x1e3a54(0x172),'id':0x1},'key':{'type':_0x1e3a54(0x172),'id':0x2},'oldValueBoolean':{'type':_0x1e3a54(0x177),'id':0x3},'oldValueJson':{'type':_0x1e3a54(0x172),'id':0x4},'newValueBoolean':{'type':_0x1e3a54(0x177),'id':0x5},'newValueJson':{'type':_0x1e3a54(0x172),'id':0x6},'wasUndone':{'type':_0x1e3a54(0x177),'id':0x7}}},'RootOperation':{'fields':{'rootName':{'type':_0x1e3a54(0x172),'id':0x1},'elementName':{'type':_0x1e3a54(0x172),'id':0x2},'isAdd':{'type':_0x1e3a54(0x177),'id':0x3},'wasUndone':{'type':_0x1e3a54(0x177),'id':0x4}}},'SplitOperation':{'fields':{'splitPosition':{'type':_0x1e3a54(0x170),'id':0x1},'graveyardPosition':{'type':_0x1e3a54(0x170),'id':0x2},'howMany':{'type':_0x1e3a54(0x17b),'id':0x3},'insertionPosition':{'type':_0x1e3a54(0x170),'id':0x4},'wasUndone':{'type':_0x1e3a54(0x177),'id':0x5}}},'Position':{'fields':{'root':{'type':_0x1e3a54(0x172),'id':0x1},'rootMain':{'type':_0x1e3a54(0x177),'id':0x2},'rootGraveyard':{'type':_0x1e3a54(0x177),'id':0x3},'path':{'rule':_0x1e3a54(0x16c),'type':_0x1e3a54(0x17b),'id':0x4},'stickiness':{'type':_0x1e3a54(0x172),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x1e3a54(0x170),'id':0x1},'end':{'type':_0x1e3a54(0x170),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x1e3a54(0x172),'id':0x1},'children':{'rule':_0x1e3a54(0x16c),'type':_0x1e3a54(0x176),'id':0x2},'data':{'type':_0x1e3a54(0x172),'id':0x3},'attributesBoolean':{'keyType':_0x1e3a54(0x172),'type':_0x1e3a54(0x177),'id':0x4},'attributesJson':{'type':_0x1e3a54(0x172),'id':0x5}}}};
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4f0fa5=_0x5255;(function(_0x108f48,_0x290cfc){const _0x15658c=_0x5255,_0x3e2503=_0x108f48();while(!![]){try{const _0x8b58b2=parseInt(_0x15658c(0x90))/0x1*(-parseInt(_0x15658c(0x87))/0x2)+parseInt(_0x15658c(0x96))/0x3*(parseInt(_0x15658c(0x8c))/0x4)+parseInt(_0x15658c(0x8a))/0x5+-parseInt(_0x15658c(0x8d))/0x6*(parseInt(_0x15658c(0x94))/0x7)+parseInt(_0x15658c(0x95))/0x8*(-parseInt(_0x15658c(0x8b))/0x9)+parseInt(_0x15658c(0x99))/0xa*(parseInt(_0x15658c(0x82))/0xb)+parseInt(_0x15658c(0x88))/0xc*(-parseInt(_0x15658c(0x8e))/0xd);if(_0x8b58b2===_0x290cfc)break;else _0x3e2503['push'](_0x3e2503['shift']());}catch(_0x5d5f4e){_0x3e2503['push'](_0x3e2503['shift']());}}}(_0x5783,0x9e81d));function _0x5783(){const _0x5ab9e4=['9676870nvgFWd','11SabCbN','compress','_protobuf','create','finish','2vMXHnq','12kJFdKg','decode','5901980tZQSyV','31653vAcirZ','147020XqZFXu','156UYFCqx','1105247MEOFNy','encode','296653xjDdaU','verify','decompress','getDescriptor','96208ZHdHZV','2648FrbLiq','33CpdyRJ','toObject','_protobufRoot'];_0x5783=function(){return _0x5ab9e4;};return _0x5783();}function _0x5255(_0x477807,_0x50eb3c){const _0x5783b9=_0x5783();return _0x5255=function(_0x52552d,_0x47fd09){_0x52552d=_0x52552d-0x82;let _0x210cbc=_0x5783b9[_0x52552d];return _0x210cbc;},_0x5255(_0x477807,_0x50eb3c);}import*as _0x1ea42a from'./lib/compiledmessages.js';export default class r{constructor(){const _0x2f7780=_0x5255;this[_0x2f7780(0x98)]=_0x1ea42a;}[_0x4f0fa5(0x93)](_0x456077){const _0x53282e=_0x4f0fa5;return new ProtobufDescriptor(this[_0x53282e(0x98)][_0x456077]);}}export class ProtobufDescriptor{constructor(_0xde86b6){const _0xffa8d2=_0x4f0fa5;this[_0xffa8d2(0x84)]=_0xde86b6;}[_0x4f0fa5(0x83)](_0x56771b){const _0x120752=_0x4f0fa5,_0x2074c6=this[_0x120752(0x84)][_0x120752(0x91)](_0x56771b);if(_0x2074c6)throw Error(_0x2074c6);return this[_0x120752(0x84)][_0x120752(0x8f)](this[_0x120752(0x84)][_0x120752(0x85)](_0x56771b))[_0x120752(0x86)]();}[_0x4f0fa5(0x92)](_0x14bc20){const _0x35ac62=_0x4f0fa5;return this[_0x35ac62(0x84)][_0x35ac62(0x97)](this[_0x35ac62(0x84)][_0x35ac62(0x89)](_0x14bc20),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2a165e,_0xfc48c5){const _0x11017b=_0xa398,_0x7f524d=_0x2a165e();while(!![]){try{const _0x26949b=parseInt(_0x11017b(0xea))/0x1+parseInt(_0x11017b(0xe1))/0x2*(-parseInt(_0x11017b(0xf3))/0x3)+parseInt(_0x11017b(0xee))/0x4*(-parseInt(_0x11017b(0xe4))/0x5)+parseInt(_0x11017b(0xe8))/0x6*(-parseInt(_0x11017b(0xe3))/0x7)+parseInt(_0x11017b(0xe2))/0x8*(-parseInt(_0x11017b(0xf1))/0x9)+-parseInt(_0x11017b(0xeb))/0xa*(parseInt(_0x11017b(0xed))/0xb)+parseInt(_0x11017b(0xe9))/0xc;if(_0x26949b===_0xfc48c5)break;else _0x7f524d['push'](_0x7f524d['shift']());}catch(_0x2597ad){_0x7f524d['push'](_0x7f524d['shift']());}}}(_0x1142,0x7dd4f));import{cloneDeep as _0x283cd7,isEqual as _0x193914,isObject as _0xbf4b5e}from'lodash-es';function _0xa398(_0x75faab,_0x54b621){const _0x1142d9=_0x1142();return _0xa398=function(_0xa398ee,_0x2d5ce4){_0xa398ee=_0xa398ee-0xe1;let _0x20b881=_0x1142d9[_0xa398ee];return _0x20b881;},_0xa398(_0x75faab,_0x54b621);}export function getPositionShiftedBy(_0x2a10c4,_0x349a3f){const _0x1dfae7=_0xa398,_0x37d68e=_0x283cd7(_0x2a10c4);return _0x37d68e[_0x1dfae7(0xef)][_0x37d68e[_0x1dfae7(0xef)][_0x1dfae7(0xf0)]-0x1]+=_0x349a3f,_0x37d68e;}export function arePositionsEqual(_0x59653b,_0x12eea4){const _0x429a15=_0xa398;return _0x59653b[_0x429a15(0xe5)]===_0x12eea4[_0x429a15(0xe5)]&&_0x193914(_0x59653b[_0x429a15(0xef)],_0x12eea4[_0x429a15(0xef)]);}export function parsePositionBeforeCompression(_0x4d386f){const _0x51cc4c=_0xa398;P(_0x4d386f,_0x434dc0=>(_0x51cc4c(0xec)==_0x434dc0[_0x51cc4c(0xe5)]?(_0x434dc0[_0x51cc4c(0xf4)]=!0x0,delete _0x434dc0[_0x51cc4c(0xe5)]):_0x51cc4c(0xe6)==_0x434dc0[_0x51cc4c(0xe5)]&&(_0x434dc0[_0x51cc4c(0xe7)]=!0x0,delete _0x434dc0[_0x51cc4c(0xe5)]),_0x434dc0));}export function parsePositionAfterCompression(_0x1b72b5){const _0x96e35b=_0xa398;P(_0x1b72b5,_0x2b0c21=>(_0x2b0c21[_0x96e35b(0xf4)]?(_0x2b0c21[_0x96e35b(0xe5)]=_0x96e35b(0xec),delete _0x2b0c21[_0x96e35b(0xf4)]):_0x2b0c21[_0x96e35b(0xe7)]&&(_0x2b0c21[_0x96e35b(0xe5)]=_0x96e35b(0xe6),delete _0x2b0c21[_0x96e35b(0xe7)]),_0x2b0c21));}function P(_0x4009be,_0x4128ff){const _0x1ca043=_0xa398;for(const _0x347fcf in _0x4009be){const _0x138b98=_0x4009be[_0x347fcf];_0x1ca043(0xf2)!==_0x347fcf&&_0xbf4b5e(_0x138b98)&&(_0x138b98[_0x1ca043(0xef)]&&(_0x138b98[_0x1ca043(0xe5)]||_0x138b98[_0x1ca043(0xf4)]||_0x138b98[_0x1ca043(0xe7)])?_0x4009be[_0x347fcf]=_0x4128ff(_0x138b98):P(_0x138b98,_0x4128ff));}return _0x4009be;}function _0x1142(){const _0x52844d=['rootMain','2PuJPcp','8jhaCUL','28XFHytP','3440965JolswA','root','$graveyard','rootGraveyard','19248znNWfq','30108336aCLDiR','609682bAHXYE','40ViKIFc','main','2203223jysZEZ','4XiKAyU','path','length','7383978DHUgYz','nodes','841992ethALq'];_0x1142=function(){return _0x52844d;};return _0x1142();}
|