@ckeditor/ckeditor5-operations-compressor 42.0.2-alpha.1 → 42.0.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/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
|
-
const
|
|
23
|
+
const _0x5acfe4=_0x37b2;(function(_0x5e2397,_0x269198){const _0x5b06ed=_0x37b2,_0x284181=_0x5e2397();while(!![]){try{const _0x25903b=-parseInt(_0x5b06ed(0x164))/0x1*(-parseInt(_0x5b06ed(0x172))/0x2)+parseInt(_0x5b06ed(0x16f))/0x3*(parseInt(_0x5b06ed(0x169))/0x4)+parseInt(_0x5b06ed(0x166))/0x5*(-parseInt(_0x5b06ed(0x168))/0x6)+parseInt(_0x5b06ed(0x16b))/0x7*(parseInt(_0x5b06ed(0x165))/0x8)+parseInt(_0x5b06ed(0x16e))/0x9+-parseInt(_0x5b06ed(0x163))/0xa*(parseInt(_0x5b06ed(0x16c))/0xb)+-parseInt(_0x5b06ed(0x171))/0xc;if(_0x25903b===_0x269198)break;else _0x284181['push'](_0x284181['shift']());}catch(_0x9dd0f4){_0x284181['push'](_0x284181['shift']());}}}(_0xd3e1,0x29d1e));function _0x37b2(_0x5a7809,_0x46cd70){const _0xd3e156=_0xd3e1();return _0x37b2=function(_0x37b268,_0x354b43){_0x37b268=_0x37b268-0x163;let _0x49d48c=_0xd3e156[_0x37b268];return _0x49d48c;},_0x37b2(_0x5a7809,_0x46cd70);}function _0xd3e1(){const _0x753187=['2vOLkfA','18530tqiCwc','177301eRNtGK','184gjUcLk','829245PXeDwm','newRange','6kfLLOi','4QrVLHG','decompress','96943IGKJER','1507aFggtg','oldRange','2858193hcDxaq','279768LBCUjL','length','3787884IeBovo'];_0xd3e1=function(){return _0x753187;};return _0xd3e1();}import _0x598fe8 from'./operationcompressor.js';export default class n extends _0x598fe8{[_0x5acfe4(0x16a)](_0x112aea,_0xd1eb51){const _0x5a8438=_0x5acfe4;super[_0x5a8438(0x16a)](_0x112aea,_0xd1eb51);const _0x308e85=_0x112aea[_0x112aea[_0x5a8438(0x170)]-0x1];_0x308e85[_0x5a8438(0x16d)]||(_0x308e85[_0x5a8438(0x16d)]=null),_0x308e85[_0x5a8438(0x167)]||(_0x308e85[_0x5a8438(0x167)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5a1703=_0x2acc;(function(_0x515c18,_0x7816f2){var _0x14dff9=_0x2acc,_0x30412a=_0x515c18();while(!![]){try{var _0x259f6d=-parseInt(_0x14dff9(0x127))/0x1*(-parseInt(_0x14dff9(0x11e))/0x2)+parseInt(_0x14dff9(0x122))/0x3*(parseInt(_0x14dff9(0x11d))/0x4)+-parseInt(_0x14dff9(0x123))/0x5+parseInt(_0x14dff9(0x12b))/0x6*(parseInt(_0x14dff9(0x12c))/0x7)+-parseInt(_0x14dff9(0x125))/0x8+parseInt(_0x14dff9(0x128))/0x9+-parseInt(_0x14dff9(0x124))/0xa;if(_0x259f6d===_0x7816f2)break;else _0x30412a['push'](_0x30412a['shift']());}catch(_0x597614){_0x30412a['push'](_0x30412a['shift']());}}}(_0x158f,0x3ae0a));function _0x2acc(_0x3cac0f,_0x35112d){var _0x158f4a=_0x158f();return _0x2acc=function(_0x2acc8b,_0x19153e){_0x2acc8b=_0x2acc8b-0x11c;var _0x1a8285=_0x158f4a[_0x2acc8b];return _0x1a8285;},_0x2acc(_0x3cac0f,_0x35112d);}import _0x2e9671 from'./operationcompressor.js';export default class p extends _0x2e9671{[_0x5a1703(0x12a)](_0x1b0f49,_0x161df1){var _0x23813b=_0x5a1703;return _0x161df1[_0x23813b(0x126)](),_0x1b0f49[_0x23813b(0x121)][_0x23813b(0x11c)](this[_0x23813b(0x129)]),!0x0;}[_0x5a1703(0x11f)](_0x89bfef,_0x9fe9d2){var _0x179781=_0x5a1703;_0x9fe9d2[_0x179781(0x121)][_0x179781(0x126)](),_0x89bfef[_0x179781(0x11c)]({'__className':this[_0x179781(0x120)]});}}function _0x158f(){var _0xfd098d=['3663200zyulzH','1558672jqOqdb','shift','2SIstVN','1603818UJewQx','_id','compress','12WrwVrq','268737JMqERS','push','1476eSxfSy','259442PiWngj','decompress','_operationName','types','3714SVcOyb','844660tjvTdT'];_0x158f=function(){return _0xfd098d;};return _0x158f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5c25(){const _0xdbb9df=['640863AqwsUz','7uxVigS','_operationName','types','1VNlkZo','compress','384760lIlnto','decompress','shift','36546CqwPiF','40452sQZQlv','buffers','87jTMoCB','9183024tyfSGF','_protobufDescriptor','push','__className','558856IIhngY','65eXxniw','_id','44fLjvat','478474NAVBhK'];_0x5c25=function(){return _0xdbb9df;};return _0x5c25();}const _0x38909b=_0x4e8a;(function(_0x44ea5e,_0x9effaa){const _0x52cdc5=_0x4e8a,_0x172925=_0x44ea5e();while(!![]){try{const _0x2579c3=parseInt(_0x52cdc5(0x12d))/0x1*(-parseInt(_0x52cdc5(0x13e))/0x2)+-parseInt(_0x52cdc5(0x135))/0x3*(parseInt(_0x52cdc5(0x133))/0x4)+-parseInt(_0x52cdc5(0x13b))/0x5*(-parseInt(_0x52cdc5(0x132))/0x6)+parseInt(_0x52cdc5(0x140))/0x7*(-parseInt(_0x52cdc5(0x13a))/0x8)+parseInt(_0x52cdc5(0x13f))/0x9+parseInt(_0x52cdc5(0x12f))/0xa*(-parseInt(_0x52cdc5(0x13d))/0xb)+parseInt(_0x52cdc5(0x136))/0xc;if(_0x2579c3===_0x9effaa)break;else _0x172925['push'](_0x172925['shift']());}catch(_0x4b2fb5){_0x172925['push'](_0x172925['shift']());}}}(_0x5c25,0x26e87));function _0x4e8a(_0x78d1c6,_0x49e7bd){const _0x5c2538=_0x5c25();return _0x4e8a=function(_0x4e8a28,_0x58df8c){_0x4e8a28=_0x4e8a28-0x12c;let _0x5ec0bf=_0x5c2538[_0x4e8a28];return _0x5ec0bf;},_0x4e8a(_0x78d1c6,_0x49e7bd);}import{parsePositionBeforeCompression as _0x1e1004,parsePositionAfterCompression as _0x5f06f5}from'../utils.js';export default class e{constructor(_0x5292f7,_0x2c10d6,_0x9952ec){const _0xe6ddc8=_0x4e8a;this[_0xe6ddc8(0x13c)]=_0x5292f7,this[_0xe6ddc8(0x141)]=_0x2c10d6,this[_0xe6ddc8(0x137)]=_0x9952ec;}[_0x38909b(0x12e)](_0x33bfc6,_0x4647e1){const _0x10d9fc=_0x38909b,_0x309bfb=_0x4647e1[_0x10d9fc(0x131)]();return _0x1e1004(_0x309bfb),_0x33bfc6[_0x10d9fc(0x134)][_0x10d9fc(0x138)](this[_0x10d9fc(0x137)][_0x10d9fc(0x12e)](_0x309bfb)),_0x33bfc6[_0x10d9fc(0x12c)][_0x10d9fc(0x138)](this[_0x10d9fc(0x13c)]),!0x0;}[_0x38909b(0x130)](_0x3a547a,_0x3c525f){const _0x2467de=_0x38909b;_0x3c525f[_0x2467de(0x12c)][_0x2467de(0x131)]();const _0x38b317=this[_0x2467de(0x137)][_0x2467de(0x130)](_0x3c525f[_0x2467de(0x134)][_0x2467de(0x131)]());_0x5f06f5(_0x38b317),_0x38b317[_0x2467de(0x139)]=this[_0x2467de(0x141)],_0x3a547a[_0x2467de(0x138)](_0x38b317);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4974ce=_0x48b2;(function(_0x441f79,_0x374b81){const _0x322430=_0x48b2,_0x138153=_0x441f79();while(!![]){try{const _0x1a3404=-parseInt(_0x322430(0x1f6))/0x1*(parseInt(_0x322430(0x1f1))/0x2)+parseInt(_0x322430(0x1f4))/0x3+parseInt(_0x322430(0x1fd))/0x4+-parseInt(_0x322430(0x1f9))/0x5+parseInt(_0x322430(0x1fe))/0x6+parseInt(_0x322430(0x1f0))/0x7*(parseInt(_0x322430(0x201))/0x8)+parseInt(_0x322430(0x1fa))/0x9;if(_0x1a3404===_0x374b81)break;else _0x138153['push'](_0x138153['shift']());}catch(_0x3dd578){_0x138153['push'](_0x138153['shift']());}}}(_0x584f,0x514a3));import{messages as _0x1a6977}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x229996=_0x48b2;this[_0x229996(0x200)]=_0x1a6977;}[_0x4974ce(0x1f3)](_0x3b6cb0){const _0x44b2f6=_0x4974ce;return new ProtobufDescriptor(this[_0x44b2f6(0x200)][_0x3b6cb0]);}}function _0x48b2(_0x372e15,_0x13cca5){const _0x584f8c=_0x584f();return _0x48b2=function(_0x48b218,_0x6e668b){_0x48b218=_0x48b218-0x1ef;let _0x38ceb7=_0x584f8c[_0x48b218];return _0x38ceb7;},_0x48b2(_0x372e15,_0x13cca5);}export class ProtobufDescriptor{constructor(_0x38f63d){const _0x3c382b=_0x4974ce;this[_0x3c382b(0x1f8)]=_0x38f63d;}[_0x4974ce(0x1ff)](_0x339c8){const _0x2355a=_0x4974ce,_0x3a7d19=this[_0x2355a(0x1f8)][_0x2355a(0x1f5)](_0x339c8);if(_0x3a7d19)throw Error(_0x3a7d19);return this[_0x2355a(0x1f8)][_0x2355a(0x1f7)](this[_0x2355a(0x1f8)][_0x2355a(0x202)](_0x339c8))[_0x2355a(0x1f2)]();}[_0x4974ce(0x1fb)](_0x2d91e0){const _0x111edc=_0x4974ce;return this[_0x111edc(0x1f8)][_0x111edc(0x1ef)](this[_0x111edc(0x1f8)][_0x111edc(0x1fc)](_0x2d91e0),{'oneofs':!0x0});}}function _0x584f(){const _0x25b998=['674zSzVii','encode','_protobuf','2602110olXDZz','99630ltCEoa','decompress','decode','1343808wHacmt','3424464CqJsnT','compress','_protobufRoot','44872cqUZRd','create','toObject','175XxMXRF','1336BoCBrz','finish','getDescriptor','736878EDUrym','verify'];_0x584f=function(){return _0x25b998;};return _0x584f();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4d2fd4,_0x5e1935){const _0xffbd84=_0x4840,_0x29dbac=_0x4d2fd4();while(!![]){try{const _0x19a3b5=-parseInt(_0xffbd84(0xd4))/0x1*(-parseInt(_0xffbd84(0xd6))/0x2)+-parseInt(_0xffbd84(0xcf))/0x3*(parseInt(_0xffbd84(0xdd))/0x4)+parseInt(_0xffbd84(0xd7))/0x5*(parseInt(_0xffbd84(0xdc))/0x6)+-parseInt(_0xffbd84(0xcb))/0x7*(-parseInt(_0xffbd84(0xd1))/0x8)+-parseInt(_0xffbd84(0xd0))/0x9*(parseInt(_0xffbd84(0xd2))/0xa)+-parseInt(_0xffbd84(0xdb))/0xb+parseInt(_0xffbd84(0xd8))/0xc*(-parseInt(_0xffbd84(0xd9))/0xd);if(_0x19a3b5===_0x5e1935)break;else _0x29dbac['push'](_0x29dbac['shift']());}catch(_0x79aebb){_0x29dbac['push'](_0x29dbac['shift']());}}}(_0x2360,0x72825));import{cloneDeep as _0x3386cc,isEqual as _0x3cd0a4,isObject as _0xeb272b}from'lodash-es';function _0x2360(){const _0x54e246=['3qtfsdB','162dghNob','16ciewDL','31690OkpOfi','length','646LWdXJB','nodes','962EgJjkV','3147135rutQWz','196632oOvoge','377rLMhsK','root','608069VBrRVi','6NnDtMu','2886452UJhCog','main','rootGraveyard','2933014ymHFQH','rootMain','$graveyard','path'];_0x2360=function(){return _0x54e246;};return _0x2360();}export function getPositionShiftedBy(_0x59de43,_0x1783ae){const _0x49d4d2=_0x4840,_0x5b0995=_0x3386cc(_0x59de43);return _0x5b0995[_0x49d4d2(0xce)][_0x5b0995[_0x49d4d2(0xce)][_0x49d4d2(0xd3)]-0x1]+=_0x1783ae,_0x5b0995;}export function arePositionsEqual(_0x22961d,_0x573255){const _0x1d4e2e=_0x4840;return _0x22961d[_0x1d4e2e(0xda)]===_0x573255[_0x1d4e2e(0xda)]&&_0x3cd0a4(_0x22961d[_0x1d4e2e(0xce)],_0x573255[_0x1d4e2e(0xce)]);}function _0x4840(_0x379324,_0x5a0430){const _0x2360cf=_0x2360();return _0x4840=function(_0x484094,_0x57417f){_0x484094=_0x484094-0xc9;let _0x3e679b=_0x2360cf[_0x484094];return _0x3e679b;},_0x4840(_0x379324,_0x5a0430);}export function parsePositionBeforeCompression(_0x3d14d9){const _0x41646b=_0x4840;P(_0x3d14d9,_0x37198d=>(_0x41646b(0xc9)==_0x37198d[_0x41646b(0xda)]?(_0x37198d[_0x41646b(0xcc)]=!0x0,delete _0x37198d[_0x41646b(0xda)]):_0x41646b(0xcd)==_0x37198d[_0x41646b(0xda)]&&(_0x37198d[_0x41646b(0xca)]=!0x0,delete _0x37198d[_0x41646b(0xda)]),_0x37198d));}export function parsePositionAfterCompression(_0x579d15){const _0x3dc500=_0x4840;P(_0x579d15,_0x3bb43a=>(_0x3bb43a[_0x3dc500(0xcc)]?(_0x3bb43a[_0x3dc500(0xda)]=_0x3dc500(0xc9),delete _0x3bb43a[_0x3dc500(0xcc)]):_0x3bb43a[_0x3dc500(0xca)]&&(_0x3bb43a[_0x3dc500(0xda)]=_0x3dc500(0xcd),delete _0x3bb43a[_0x3dc500(0xca)]),_0x3bb43a));}function P(_0x30c842,_0x430d47){const _0x4458d0=_0x4840;for(const _0x46d7e1 in _0x30c842){const _0x4fbae2=_0x30c842[_0x46d7e1];_0x4458d0(0xd5)!==_0x46d7e1&&_0xeb272b(_0x4fbae2)&&(_0x4fbae2[_0x4458d0(0xce)]&&(_0x4fbae2[_0x4458d0(0xda)]||_0x4fbae2[_0x4458d0(0xcc)]||_0x4fbae2[_0x4458d0(0xca)])?_0x30c842[_0x46d7e1]=_0x430d47(_0x4fbae2):P(_0x4fbae2,_0x430d47));}return _0x30c842;}
|