@ckeditor/ckeditor5-operations-compressor 44.1.0-alpha.4 → 44.1.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.
- 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
|
-
var
|
|
23
|
+
var _0x3869fb=_0x4756;(function(_0x1c764d,_0x690924){var _0x14ab02=_0x4756,_0x323f21=_0x1c764d();while(!![]){try{var _0xad0263=-parseInt(_0x14ab02(0x1bf))/0x1*(-parseInt(_0x14ab02(0x1c2))/0x2)+parseInt(_0x14ab02(0x1b4))/0x3+parseInt(_0x14ab02(0x1bb))/0x4+-parseInt(_0x14ab02(0x1be))/0x5*(parseInt(_0x14ab02(0x1b8))/0x6)+parseInt(_0x14ab02(0x1c1))/0x7+-parseInt(_0x14ab02(0x1bd))/0x8+-parseInt(_0x14ab02(0x1b9))/0x9;if(_0xad0263===_0x690924)break;else _0x323f21['push'](_0x323f21['shift']());}catch(_0x2995c9){_0x323f21['push'](_0x323f21['shift']());}}}(_0x27d4,0x83d58));function _0x4756(_0x113abd,_0x42152f){var _0x27d4e6=_0x27d4();return _0x4756=function(_0x4756a5,_0x1f1899){_0x4756a5=_0x4756a5-0x1b4;var _0x329aaa=_0x27d4e6[_0x4756a5];return _0x329aaa;},_0x4756(_0x113abd,_0x42152f);}function _0x27d4(){var _0x156973=['decompress','types','compress','234PevRjO','11851524maATjA','_id','2188028nfNNxh','_operationName','6379208UJPCqZ','34665GdrEnU','16429HHBQIu','push','4374608VcAtNk','108mgGQJw','shift','2596497PRHlpK'];_0x27d4=function(){return _0x156973;};return _0x27d4();}import _0x465622 from'./operationcompressor.js';export default class p extends _0x465622{[_0x3869fb(0x1b7)](_0x171c11,_0xeb00ef){var _0x30b768=_0x3869fb;return _0xeb00ef[_0x30b768(0x1c3)](),_0x171c11[_0x30b768(0x1b6)][_0x30b768(0x1c0)](this[_0x30b768(0x1ba)]),!0x0;}[_0x3869fb(0x1b5)](_0x16ecd5,_0x3bfbbe){var _0x2265d3=_0x3869fb;_0x3bfbbe[_0x2265d3(0x1b6)][_0x2265d3(0x1c3)](),_0x16ecd5[_0x2265d3(0x1c0)]({'__className':this[_0x2265d3(0x1bc)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x184a60=_0x4a3e;(function(_0x5f169c,_0x569a5b){const _0x1887ef=_0x4a3e,_0x1770dd=_0x5f169c();while(!![]){try{const _0x35b29a=-parseInt(_0x1887ef(0xf8))/0x1*(parseInt(_0x1887ef(0xf3))/0x2)+parseInt(_0x1887ef(0xef))/0x3+parseInt(_0x1887ef(0xf1))/0x4*(parseInt(_0x1887ef(0xfc))/0x5)+-parseInt(_0x1887ef(0xff))/0x6*(parseInt(_0x1887ef(0xf5))/0x7)+-parseInt(_0x1887ef(0xf6))/0x8+parseInt(_0x1887ef(0x101))/0x9+parseInt(_0x1887ef(0xf7))/0xa*(-parseInt(_0x1887ef(0xf2))/0xb);if(_0x35b29a===_0x569a5b)break;else _0x1770dd['push'](_0x1770dd['shift']());}catch(_0xc142b){_0x1770dd['push'](_0x1770dd['shift']());}}}(_0x54f9,0xa2da4));function _0x4a3e(_0x1ad3c7,_0x2c88c2){const _0x54f9d6=_0x54f9();return _0x4a3e=function(_0x4a3ea4,_0x2a3817){_0x4a3ea4=_0x4a3ea4-0xef;let _0x5230d3=_0x54f9d6[_0x4a3ea4];return _0x5230d3;},_0x4a3e(_0x1ad3c7,_0x2c88c2);}function _0x54f9(){const _0x12f50f=['11353662BDGeUY','_protobufDescriptor','_operationName','2512842bLNZOj','push','93408oAKGMR','209YKHVSR','2513848kCgfAL','buffers','119yZNEjX','108032RwBRUx','168020GIYAkZ','1fEoLDN','_id','types','__className','180ZcXhqF','compress','decompress','241092bJAshl','shift'];_0x54f9=function(){return _0x12f50f;};return _0x54f9();}import{parsePositionBeforeCompression as _0x42dac9,parsePositionAfterCompression as _0x38bb9f}from'../utils.js';export default class e{constructor(_0x9dedaf,_0x565b58,_0x17bb35){const _0x4e4b8b=_0x4a3e;this[_0x4e4b8b(0xf9)]=_0x9dedaf,this[_0x4e4b8b(0x103)]=_0x565b58,this[_0x4e4b8b(0x102)]=_0x17bb35;}[_0x184a60(0xfd)](_0xcfcf6,_0x2c27f1){const _0xd753aa=_0x184a60,_0x16bab7=_0x2c27f1[_0xd753aa(0x100)]();return _0x42dac9(_0x16bab7),_0xcfcf6[_0xd753aa(0xf4)][_0xd753aa(0xf0)](this[_0xd753aa(0x102)][_0xd753aa(0xfd)](_0x16bab7)),_0xcfcf6[_0xd753aa(0xfa)][_0xd753aa(0xf0)](this[_0xd753aa(0xf9)]),!0x0;}[_0x184a60(0xfe)](_0x34c931,_0x5a1844){const _0x4af2c9=_0x184a60;_0x5a1844[_0x4af2c9(0xfa)][_0x4af2c9(0x100)]();const _0x5c11d0=this[_0x4af2c9(0x102)][_0x4af2c9(0xfe)](_0x5a1844[_0x4af2c9(0xf4)][_0x4af2c9(0x100)]());_0x38bb9f(_0x5c11d0),_0x5c11d0[_0x4af2c9(0xfb)]=this[_0x4af2c9(0x103)],_0x34c931[_0x4af2c9(0xf0)](_0x5c11d0);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4bff71=_0x33f4;function _0x33f4(_0x4b7466,_0x4d01d3){const _0x102a60=_0x102a();return _0x33f4=function(_0x33f42c,_0x2f2e47){_0x33f42c=_0x33f42c-0x162;let _0x22a4b5=_0x102a60[_0x33f42c];return _0x22a4b5;},_0x33f4(_0x4b7466,_0x4d01d3);}(function(_0x490539,_0x2a6e0d){const _0x419a36=_0x33f4,_0x4c5f58=_0x490539();while(!![]){try{const _0x190410=-parseInt(_0x419a36(0x165))/0x1*(-parseInt(_0x419a36(0x164))/0x2)+-parseInt(_0x419a36(0x16f))/0x3+-parseInt(_0x419a36(0x173))/0x4+parseInt(_0x419a36(0x175))/0x5+parseInt(_0x419a36(0x170))/0x6+parseInt(_0x419a36(0x16d))/0x7*(parseInt(_0x419a36(0x16a))/0x8)+-parseInt(_0x419a36(0x16c))/0x9*(parseInt(_0x419a36(0x16e))/0xa);if(_0x190410===_0x2a6e0d)break;else _0x4c5f58['push'](_0x4c5f58['shift']());}catch(_0x17da23){_0x4c5f58['push'](_0x4c5f58['shift']());}}}(_0x102a,0xac5f2));import{messages as _0x51f2e5}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x27ff61=_0x33f4;this[_0x27ff61(0x16b)]=_0x51f2e5;}[_0x4bff71(0x174)](_0x12d28e){const _0x1d2084=_0x4bff71;return new ProtobufDescriptor(this[_0x1d2084(0x16b)][_0x12d28e]);}}export class ProtobufDescriptor{constructor(_0x1e2a41){const _0x38f087=_0x4bff71;this[_0x38f087(0x172)]=_0x1e2a41;}[_0x4bff71(0x163)](_0x108a58){const _0x35127e=_0x4bff71,_0x2cc9ac=this[_0x35127e(0x172)][_0x35127e(0x166)](_0x108a58);if(_0x2cc9ac)throw Error(_0x2cc9ac);return this[_0x35127e(0x172)][_0x35127e(0x162)](this[_0x35127e(0x172)][_0x35127e(0x167)](_0x108a58))[_0x35127e(0x176)]();}[_0x4bff71(0x169)](_0x211c78){const _0x4ac589=_0x4bff71;return this[_0x4ac589(0x172)][_0x4ac589(0x168)](this[_0x4ac589(0x172)][_0x4ac589(0x171)](_0x211c78),{'oneofs':!0x0});}}function _0x102a(){const _0x4b2103=['toObject','decompress','539048wKxqzS','_protobufRoot','759357SpAyLc','112yJqaBq','110HtEgpp','2177229gGrvup','2410110gQmNht','decode','_protobuf','1823052itQioX','getDescriptor','6638495ryusCI','finish','encode','compress','2CYidVO','8163pKjQpk','verify','create'];_0x102a=function(){return _0x4b2103;};return _0x102a();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x10a57d,_0x59d072){const _0x3ebe08=_0x8eb2,_0x11a1aa=_0x10a57d();while(!![]){try{const _0x5f2852=-parseInt(_0x3ebe08(0xac))/0x1+-parseInt(_0x3ebe08(0xab))/0x2+parseInt(_0x3ebe08(0xb7))/0x3+-parseInt(_0x3ebe08(0xaa))/0x4+parseInt(_0x3ebe08(0xb4))/0x5*(-parseInt(_0x3ebe08(0xb0))/0x6)+parseInt(_0x3ebe08(0xad))/0x7*(parseInt(_0x3ebe08(0xb5))/0x8)+parseInt(_0x3ebe08(0xb3))/0x9;if(_0x5f2852===_0x59d072)break;else _0x11a1aa['push'](_0x11a1aa['shift']());}catch(_0x52c16f){_0x11a1aa['push'](_0x11a1aa['shift']());}}}(_0x3c19,0x9d582));import{cloneDeep as _0xb2a8de,isEqual as _0x9ace48,isObject as _0xb7b936}from'lodash-es';export function getPositionShiftedBy(_0x3f3766,_0x5c79a0){const _0x18108e=_0x8eb2,_0x22d4be=_0xb2a8de(_0x3f3766);return _0x22d4be[_0x18108e(0xb9)][_0x22d4be[_0x18108e(0xb9)][_0x18108e(0xb1)]-0x1]+=_0x5c79a0,_0x22d4be;}export function arePositionsEqual(_0x3e1c57,_0x2aa12b){const _0x7a75dc=_0x8eb2;return _0x3e1c57[_0x7a75dc(0xb8)]===_0x2aa12b[_0x7a75dc(0xb8)]&&_0x9ace48(_0x3e1c57[_0x7a75dc(0xb9)],_0x2aa12b[_0x7a75dc(0xb9)]);}export function parsePositionBeforeCompression(_0x408e6a){const _0x3286da=_0x8eb2;P(_0x408e6a,_0x2cd6ad=>(_0x3286da(0xae)==_0x2cd6ad[_0x3286da(0xb8)]?(_0x2cd6ad[_0x3286da(0xaf)]=!0x0,delete _0x2cd6ad[_0x3286da(0xb8)]):_0x3286da(0xb2)==_0x2cd6ad[_0x3286da(0xb8)]&&(_0x2cd6ad[_0x3286da(0xb6)]=!0x0,delete _0x2cd6ad[_0x3286da(0xb8)]),_0x2cd6ad));}export function parsePositionAfterCompression(_0x383d05){const _0x6b3dcb=_0x8eb2;P(_0x383d05,_0x21fc81=>(_0x21fc81[_0x6b3dcb(0xaf)]?(_0x21fc81[_0x6b3dcb(0xb8)]=_0x6b3dcb(0xae),delete _0x21fc81[_0x6b3dcb(0xaf)]):_0x21fc81[_0x6b3dcb(0xb6)]&&(_0x21fc81[_0x6b3dcb(0xb8)]=_0x6b3dcb(0xb2),delete _0x21fc81[_0x6b3dcb(0xb6)]),_0x21fc81));}function _0x8eb2(_0xa2cbd7,_0x1bef06){const _0x3c1937=_0x3c19();return _0x8eb2=function(_0x8eb2e5,_0x42044e){_0x8eb2e5=_0x8eb2e5-0xaa;let _0x50a775=_0x3c1937[_0x8eb2e5];return _0x50a775;},_0x8eb2(_0xa2cbd7,_0x1bef06);}function P(_0x5e85dd,_0x2776dd){const _0x15ce07=_0x8eb2;for(const _0x34077e in _0x5e85dd){const _0x23515a=_0x5e85dd[_0x34077e];_0x15ce07(0xba)!==_0x34077e&&_0xb7b936(_0x23515a)&&(_0x23515a[_0x15ce07(0xb9)]&&(_0x23515a[_0x15ce07(0xb8)]||_0x23515a[_0x15ce07(0xaf)]||_0x23515a[_0x15ce07(0xb6)])?_0x5e85dd[_0x34077e]=_0x2776dd(_0x23515a):P(_0x23515a,_0x2776dd));}return _0x5e85dd;}function _0x3c19(){const _0x55b4f6=['nodes','1400480qRsOkC','1259108lYQJwo','622537jPefEV','14rzWRJT','main','rootMain','1734rMdhHJ','length','$graveyard','9292203FKikaH','3090tORTQB','1851368fRbmLu','rootGraveyard','2789958OIKHmO','root','path'];_0x3c19=function(){return _0x55b4f6;};return _0x3c19();}
|