@ckeditor/ckeditor5-operations-compressor 43.2.0-alpha.5 → 43.2.0-alpha.7
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/index.js +2 -2
- package/package.json +3 -3
- 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.js +1 -1
- package/src/lib/compiledmessages.js +2 -2
- package/src/lib/protobufdescriptions.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/protobuffactory.js +1 -1
- package/src/utils.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x30664d=_0x4f1e;(function(_0x2cf9bb,_0x2fbd97){var _0x3e0367=_0x4f1e,_0x57983b=_0x2cf9bb();while(!![]){try{var _0x2d1892=parseInt(_0x3e0367(0x1ae))/0x1*(-parseInt(_0x3e0367(0x1b1))/0x2)+parseInt(_0x3e0367(0x1ad))/0x3*(-parseInt(_0x3e0367(0x1b0))/0x4)+parseInt(_0x3e0367(0x1ac))/0x5*(parseInt(_0x3e0367(0x1ab))/0x6)+-parseInt(_0x3e0367(0x1b2))/0x7+parseInt(_0x3e0367(0x1a5))/0x8+-parseInt(_0x3e0367(0x1a9))/0x9+-parseInt(_0x3e0367(0x1a4))/0xa*(-parseInt(_0x3e0367(0x1a6))/0xb);if(_0x2d1892===_0x2fbd97)break;else _0x57983b['push'](_0x57983b['shift']());}catch(_0x5e0947){_0x57983b['push'](_0x57983b['shift']());}}}(_0x3b7f,0x252c2));import _0x2b2357 from'./operationcompressor.js';export default class p extends _0x2b2357{[_0x30664d(0x1b4)](_0x2a82ce,_0x18ff9a){var _0x2d80e1=_0x30664d;return _0x18ff9a[_0x2d80e1(0x1a8)](),_0x2a82ce[_0x2d80e1(0x1aa)][_0x2d80e1(0x1a7)](this[_0x2d80e1(0x1af)]),!0x0;}[_0x30664d(0x1a3)](_0x5bec0d,_0x19170b){var _0x6c7c35=_0x30664d;_0x19170b[_0x6c7c35(0x1aa)][_0x6c7c35(0x1a8)](),_0x5bec0d[_0x6c7c35(0x1a7)]({'__className':this[_0x6c7c35(0x1b3)]});}}function _0x4f1e(_0x452fb0,_0x34093e){var _0x3b7ffb=_0x3b7f();return _0x4f1e=function(_0x4f1e62,_0x24146a){_0x4f1e62=_0x4f1e62-0x1a3;var _0x1d96c5=_0x3b7ffb[_0x4f1e62];return _0x1d96c5;},_0x4f1e(_0x452fb0,_0x34093e);}function _0x3b7f(){var _0x5667c1=['330NFxxzC','14101JkoepY','_id','1636FfyCpe','4DHwkfO','16436BtssBe','_operationName','compress','decompress','541280nhXlHr','1546976SOnUuF','11ttcoSk','push','shift','1839528zeNVsN','types','110814AruzKv','50yzbxAB'];_0x3b7f=function(){return _0x5667c1;};return _0x3b7f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x16ea58=_0x30ea;function _0x30ea(_0x12ab97,_0xfd01ec){const _0xaccea1=_0xacce();return _0x30ea=function(_0x30eaf7,_0xf5f51f){_0x30eaf7=_0x30eaf7-0x167;let _0x531938=_0xaccea1[_0x30eaf7];return _0x531938;},_0x30ea(_0x12ab97,_0xfd01ec);}(function(_0x10980b,_0x1315cd){const _0x57b8ef=_0x30ea,_0x5dd77c=_0x10980b();while(!![]){try{const _0x4a6024=-parseInt(_0x57b8ef(0x174))/0x1+-parseInt(_0x57b8ef(0x17b))/0x2*(-parseInt(_0x57b8ef(0x16a))/0x3)+parseInt(_0x57b8ef(0x168))/0x4*(-parseInt(_0x57b8ef(0x17a))/0x5)+parseInt(_0x57b8ef(0x16d))/0x6*(parseInt(_0x57b8ef(0x16b))/0x7)+-parseInt(_0x57b8ef(0x172))/0x8*(parseInt(_0x57b8ef(0x176))/0x9)+-parseInt(_0x57b8ef(0x16f))/0xa*(-parseInt(_0x57b8ef(0x170))/0xb)+parseInt(_0x57b8ef(0x16c))/0xc;if(_0x4a6024===_0x1315cd)break;else _0x5dd77c['push'](_0x5dd77c['shift']());}catch(_0x2a2618){_0x5dd77c['push'](_0x5dd77c['shift']());}}}(_0xacce,0x9f8cf));function _0xacce(){const _0x43295b=['12176088uDZRNf','30FMlUHn','__className','30230XwMZkH','2937bBnriI','compress','229512JAmLlj','_operationName','69336sXAfCp','_protobufDescriptor','117CoUKWQ','shift','push','decompress','547745zzjxxG','2wyIKEV','buffers','types','44KNzEvt','_id','555273KVKgiq','411523WilNOZ'];_0xacce=function(){return _0x43295b;};return _0xacce();}import{parsePositionBeforeCompression as _0x1853e2,parsePositionAfterCompression as _0x48e6c0}from'../utils.js';export default class e{constructor(_0x3a138f,_0xe9d4ca,_0x53100e){const _0x3bb508=_0x30ea;this[_0x3bb508(0x169)]=_0x3a138f,this[_0x3bb508(0x173)]=_0xe9d4ca,this[_0x3bb508(0x175)]=_0x53100e;}[_0x16ea58(0x171)](_0x48001c,_0x26a2bf){const _0x5bf8e2=_0x16ea58,_0x5d6ac7=_0x26a2bf[_0x5bf8e2(0x177)]();return _0x1853e2(_0x5d6ac7),_0x48001c[_0x5bf8e2(0x17c)][_0x5bf8e2(0x178)](this[_0x5bf8e2(0x175)][_0x5bf8e2(0x171)](_0x5d6ac7)),_0x48001c[_0x5bf8e2(0x167)][_0x5bf8e2(0x178)](this[_0x5bf8e2(0x169)]),!0x0;}[_0x16ea58(0x179)](_0x5edbcc,_0x409582){const _0x232f01=_0x16ea58;_0x409582[_0x232f01(0x167)][_0x232f01(0x177)]();const _0xf3a094=this[_0x232f01(0x175)][_0x232f01(0x179)](_0x409582[_0x232f01(0x17c)][_0x232f01(0x177)]());_0x48e6c0(_0xf3a094),_0xf3a094[_0x232f01(0x16e)]=this[_0x232f01(0x173)],_0x5edbcc[_0x232f01(0x178)](_0xf3a094);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x38c7(){const _0x3f6e5a=['1953595SVjYJK','toObject','2269278Vnjtsp','6DZPABS','create','1CPMGJj','2137200yjMMSQ','_protobufRoot','959524AFQNte','verify','6cQIQtk','encode','compress','1193158UmhRRH','433810KoPobe','_protobuf','88lAenoZ','decompress','decode','5045304HEGZDD','finish','getDescriptor'];_0x38c7=function(){return _0x3f6e5a;};return _0x38c7();}const _0x3634b2=_0x37cb;(function(_0x25f610,_0x557851){const _0x48c78e=_0x37cb,_0xef2616=_0x25f610();while(!![]){try{const _0x2c818a=-parseInt(_0x48c78e(0x119))/0x1*(-parseInt(_0x48c78e(0x10b))/0x2)+parseInt(_0x48c78e(0x117))/0x3*(-parseInt(_0x48c78e(0x11c))/0x4)+-parseInt(_0x48c78e(0x11a))/0x5+-parseInt(_0x48c78e(0x108))/0x6*(-parseInt(_0x48c78e(0x114))/0x7)+parseInt(_0x48c78e(0x111))/0x8+parseInt(_0x48c78e(0x116))/0x9+-parseInt(_0x48c78e(0x10c))/0xa*(parseInt(_0x48c78e(0x10e))/0xb);if(_0x2c818a===_0x557851)break;else _0xef2616['push'](_0xef2616['shift']());}catch(_0x599057){_0xef2616['push'](_0xef2616['shift']());}}}(_0x38c7,0x7b19b));import{messages as _0x3f7ebb}from'./lib/compiledmessages.js';function _0x37cb(_0x1b868d,_0x709448){const _0x38c78c=_0x38c7();return _0x37cb=function(_0x37cb3a,_0x3302e6){_0x37cb3a=_0x37cb3a-0x107;let _0x398f33=_0x38c78c[_0x37cb3a];return _0x398f33;},_0x37cb(_0x1b868d,_0x709448);}export default class r{constructor(){const _0x520d56=_0x37cb;this[_0x520d56(0x11b)]=_0x3f7ebb;}[_0x3634b2(0x113)](_0x521ce7){const _0x199d43=_0x3634b2;return new ProtobufDescriptor(this[_0x199d43(0x11b)][_0x521ce7]);}}export class ProtobufDescriptor{constructor(_0x306374){const _0x3f80e5=_0x3634b2;this[_0x3f80e5(0x10d)]=_0x306374;}[_0x3634b2(0x10a)](_0x421c1a){const _0x5b2fbf=_0x3634b2,_0x22d3e7=this[_0x5b2fbf(0x10d)][_0x5b2fbf(0x107)](_0x421c1a);if(_0x22d3e7)throw Error(_0x22d3e7);return this[_0x5b2fbf(0x10d)][_0x5b2fbf(0x109)](this[_0x5b2fbf(0x10d)][_0x5b2fbf(0x118)](_0x421c1a))[_0x5b2fbf(0x112)]();}[_0x3634b2(0x10f)](_0x427058){const _0x411277=_0x3634b2;return this[_0x411277(0x10d)][_0x411277(0x115)](this[_0x411277(0x10d)][_0x411277(0x110)](_0x427058),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x56ca91,_0x480833){const _0x24eb25=_0x23af,_0x1aa169=_0x56ca91();while(!![]){try{const _0x3c0daf=parseInt(_0x24eb25(0x9d))/0x1+parseInt(_0x24eb25(0x96))/0x2*(-parseInt(_0x24eb25(0xa1))/0x3)+parseInt(_0x24eb25(0x9b))/0x4*(parseInt(_0x24eb25(0x93))/0x5)+-parseInt(_0x24eb25(0xa5))/0x6*(-parseInt(_0x24eb25(0x9f))/0x7)+parseInt(_0x24eb25(0xa7))/0x8*(-parseInt(_0x24eb25(0xa3))/0x9)+parseInt(_0x24eb25(0xa6))/0xa*(parseInt(_0x24eb25(0x9a))/0xb)+parseInt(_0x24eb25(0x99))/0xc*(-parseInt(_0x24eb25(0xa2))/0xd);if(_0x3c0daf===_0x480833)break;else _0x1aa169['push'](_0x1aa169['shift']());}catch(_0x7b6e55){_0x1aa169['push'](_0x1aa169['shift']());}}}(_0x27fe,0x91384));import{cloneDeep as _0x393dca,isEqual as _0x468d66,isObject as _0x1bc521}from'lodash-es';export function getPositionShiftedBy(_0xfd4d10,_0x5c9f77){const _0x38dc7e=_0x23af,_0x38aa2b=_0x393dca(_0xfd4d10);return _0x38aa2b[_0x38dc7e(0x94)][_0x38aa2b[_0x38dc7e(0x94)][_0x38dc7e(0x9e)]-0x1]+=_0x5c9f77,_0x38aa2b;}export function arePositionsEqual(_0x5c6c62,_0x572c32){const _0x43a6e5=_0x23af;return _0x5c6c62[_0x43a6e5(0x97)]===_0x572c32[_0x43a6e5(0x97)]&&_0x468d66(_0x5c6c62[_0x43a6e5(0x94)],_0x572c32[_0x43a6e5(0x94)]);}export function parsePositionBeforeCompression(_0x20b7ce){const _0x5478f1=_0x23af;P(_0x20b7ce,_0x1096e9=>(_0x5478f1(0xa4)==_0x1096e9[_0x5478f1(0x97)]?(_0x1096e9[_0x5478f1(0xa0)]=!0x0,delete _0x1096e9[_0x5478f1(0x97)]):_0x5478f1(0x95)==_0x1096e9[_0x5478f1(0x97)]&&(_0x1096e9[_0x5478f1(0x9c)]=!0x0,delete _0x1096e9[_0x5478f1(0x97)]),_0x1096e9));}function _0x23af(_0x5cb103,_0xe473be){const _0x27fe29=_0x27fe();return _0x23af=function(_0x23af0f,_0x57208e){_0x23af0f=_0x23af0f-0x93;let _0x3f3df6=_0x27fe29[_0x23af0f];return _0x3f3df6;},_0x23af(_0x5cb103,_0xe473be);}function _0x27fe(){const _0x508719=['3984EsXsCf','3581715FAtqPk','path','$graveyard','34580LGLHCq','root','nodes','33324ijefaS','5467cyLwqA','4WiiYXQ','rootGraveyard','791732fluFVe','length','126xpImNq','rootMain','165MpLvpB','78JGXZcP','16983cMlEvs','main','298062jmGrWG','2010XpKebn'];_0x27fe=function(){return _0x508719;};return _0x27fe();}export function parsePositionAfterCompression(_0x5c5bda){const _0x48c14e=_0x23af;P(_0x5c5bda,_0xc95d16=>(_0xc95d16[_0x48c14e(0xa0)]?(_0xc95d16[_0x48c14e(0x97)]=_0x48c14e(0xa4),delete _0xc95d16[_0x48c14e(0xa0)]):_0xc95d16[_0x48c14e(0x9c)]&&(_0xc95d16[_0x48c14e(0x97)]=_0x48c14e(0x95),delete _0xc95d16[_0x48c14e(0x9c)]),_0xc95d16));}function P(_0x222c12,_0x1a6d7b){const _0x342fde=_0x23af;for(const _0x335497 in _0x222c12){const _0x12c7fa=_0x222c12[_0x335497];_0x342fde(0x98)!==_0x335497&&_0x1bc521(_0x12c7fa)&&(_0x12c7fa[_0x342fde(0x94)]&&(_0x12c7fa[_0x342fde(0x97)]||_0x12c7fa[_0x342fde(0xa0)]||_0x12c7fa[_0x342fde(0x9c)])?_0x222c12[_0x335497]=_0x1a6d7b(_0x12c7fa):P(_0x12c7fa,_0x1a6d7b));}return _0x222c12;}
|