@ckeditor/ckeditor5-operations-compressor 45.0.0-alpha.1 → 45.0.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/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
|
+
const _0x270d44=_0x34d2;(function(_0x2128d4,_0x29b391){const _0x4e346c=_0x34d2,_0x1ac850=_0x2128d4();while(!![]){try{const _0x5150ba=parseInt(_0x4e346c(0xd0))/0x1+-parseInt(_0x4e346c(0xd5))/0x2*(-parseInt(_0x4e346c(0xcf))/0x3)+-parseInt(_0x4e346c(0xd1))/0x4*(-parseInt(_0x4e346c(0xcd))/0x5)+-parseInt(_0x4e346c(0xd8))/0x6*(-parseInt(_0x4e346c(0xcb))/0x7)+-parseInt(_0x4e346c(0xca))/0x8+-parseInt(_0x4e346c(0xd6))/0x9*(-parseInt(_0x4e346c(0xd9))/0xa)+-parseInt(_0x4e346c(0xcc))/0xb*(parseInt(_0x4e346c(0xd3))/0xc);if(_0x5150ba===_0x29b391)break;else _0x1ac850['push'](_0x1ac850['shift']());}catch(_0x1e319e){_0x1ac850['push'](_0x1ac850['shift']());}}}(_0x3c2c,0x41c16));function _0x3c2c(){const _0x12c7e0=['399400kbEQXT','204244KQcCMz','decompress','9116256bYeqoZ','length','6QefLlI','81dqPrev','newRange','19194tEPOCL','173080BKeJvM','1023056VdaZGO','721CxGoYX','11xsnoPe','15FikNxn','oldRange','119052ASAuxr'];_0x3c2c=function(){return _0x12c7e0;};return _0x3c2c();}import _0x1b565a from'./operationcompressor.js';function _0x34d2(_0x3aa864,_0x27aa09){const _0x3c2cad=_0x3c2c();return _0x34d2=function(_0x34d2f1,_0x2d13b1){_0x34d2f1=_0x34d2f1-0xca;let _0x3d00dc=_0x3c2cad[_0x34d2f1];return _0x3d00dc;},_0x34d2(_0x3aa864,_0x27aa09);}export default class n extends _0x1b565a{[_0x270d44(0xd2)](_0x148801,_0x2c72af){const _0x1b2bf5=_0x270d44;super[_0x1b2bf5(0xd2)](_0x148801,_0x2c72af);const _0x5a35cc=_0x148801[_0x148801[_0x1b2bf5(0xd4)]-0x1];_0x5a35cc[_0x1b2bf5(0xce)]||(_0x5a35cc[_0x1b2bf5(0xce)]=null),_0x5a35cc[_0x1b2bf5(0xd7)]||(_0x5a35cc[_0x1b2bf5(0xd7)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1af941=_0x3ffe;function _0x3ffe(_0x2b1386,_0x547b07){var _0x3b440b=_0x3b44();return _0x3ffe=function(_0x3ffe76,_0x13267c){_0x3ffe76=_0x3ffe76-0x1da;var _0x17f158=_0x3b440b[_0x3ffe76];return _0x17f158;},_0x3ffe(_0x2b1386,_0x547b07);}(function(_0x9b0df0,_0x608afa){var _0x5d2388=_0x3ffe,_0x1c300e=_0x9b0df0();while(!![]){try{var _0x5659af=parseInt(_0x5d2388(0x1e7))/0x1+-parseInt(_0x5d2388(0x1e0))/0x2+parseInt(_0x5d2388(0x1e5))/0x3*(parseInt(_0x5d2388(0x1da))/0x4)+-parseInt(_0x5d2388(0x1e9))/0x5*(parseInt(_0x5d2388(0x1e1))/0x6)+-parseInt(_0x5d2388(0x1db))/0x7+-parseInt(_0x5d2388(0x1df))/0x8+parseInt(_0x5d2388(0x1e8))/0x9;if(_0x5659af===_0x608afa)break;else _0x1c300e['push'](_0x1c300e['shift']());}catch(_0x4a8181){_0x1c300e['push'](_0x1c300e['shift']());}}}(_0x3b44,0x242b4));function _0x3b44(){var _0x2de52c=['40wfClhi','1940211aYqzNp','compress','types','_operationName','811016HHRtCQ','518462JofSqL','1384662fyrlWR','shift','_id','decompress','18015qkNRHJ','push','174271sVhIdY','7041465VwONAr','5SaXpiT'];_0x3b44=function(){return _0x2de52c;};return _0x3b44();}import _0x5dd79f from'./operationcompressor.js';export default class p extends _0x5dd79f{[_0x1af941(0x1dc)](_0x56bf44,_0x2b263d){var _0x1be83b=_0x1af941;return _0x2b263d[_0x1be83b(0x1e2)](),_0x56bf44[_0x1be83b(0x1dd)][_0x1be83b(0x1e6)](this[_0x1be83b(0x1e3)]),!0x0;}[_0x1af941(0x1e4)](_0x121faa,_0x3886f8){var _0x424f13=_0x1af941;_0x3886f8[_0x424f13(0x1dd)][_0x424f13(0x1e2)](),_0x121faa[_0x424f13(0x1e6)]({'__className':this[_0x424f13(0x1de)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5d15c0=_0x3c84;function _0x1b31(){const _0x459363=['310Fcljus','decompress','3106232eThqOy','5833236fEKiRL','_protobufDescriptor','8zJfrQI','__className','compress','shift','buffers','_id','18970947IsJEkV','617428FyDgOV','types','_operationName','push','786DzrhOm','2475429YugoHw','1489480KnUPbv'];_0x1b31=function(){return _0x459363;};return _0x1b31();}function _0x3c84(_0x12a1e5,_0x2f512f){const _0x1b314c=_0x1b31();return _0x3c84=function(_0x3c840a,_0x35f9e4){_0x3c840a=_0x3c840a-0x158;let _0x2f3933=_0x1b314c[_0x3c840a];return _0x2f3933;},_0x3c84(_0x12a1e5,_0x2f512f);}(function(_0x584b0d,_0x41a6fb){const _0x58c7dd=_0x3c84,_0x4979ba=_0x584b0d();while(!![]){try{const _0xa3829e=-parseInt(_0x58c7dd(0x167))/0x1*(parseInt(_0x58c7dd(0x164))/0x2)+parseInt(_0x58c7dd(0x165))/0x3+-parseInt(_0x58c7dd(0x169))/0x4+-parseInt(_0x58c7dd(0x166))/0x5+-parseInt(_0x58c7dd(0x16a))/0x6+parseInt(_0x58c7dd(0x160))/0x7*(-parseInt(_0x58c7dd(0x159))/0x8)+parseInt(_0x58c7dd(0x15f))/0x9;if(_0xa3829e===_0x41a6fb)break;else _0x4979ba['push'](_0x4979ba['shift']());}catch(_0x3e443e){_0x4979ba['push'](_0x4979ba['shift']());}}}(_0x1b31,0xa51ec));import{parsePositionBeforeCompression as _0x22f13a,parsePositionAfterCompression as _0x314aa1}from'../utils.js';export default class e{[_0x5d15c0(0x15e)];[_0x5d15c0(0x162)];[_0x5d15c0(0x158)];constructor(_0x39996e,_0x3bb4e0,_0x353fd6){const _0x4dd0f0=_0x5d15c0;this[_0x4dd0f0(0x15e)]=_0x39996e,this[_0x4dd0f0(0x162)]=_0x3bb4e0,this[_0x4dd0f0(0x158)]=_0x353fd6;}[_0x5d15c0(0x15b)](_0x46f088,_0xfac1d3){const _0x5b7b5e=_0x5d15c0,_0x1f11b2=_0xfac1d3[_0x5b7b5e(0x15c)]();return _0x22f13a(_0x1f11b2),_0x46f088[_0x5b7b5e(0x15d)][_0x5b7b5e(0x163)](this[_0x5b7b5e(0x158)][_0x5b7b5e(0x15b)](_0x1f11b2)),_0x46f088[_0x5b7b5e(0x161)][_0x5b7b5e(0x163)](this[_0x5b7b5e(0x15e)]),!0x0;}[_0x5d15c0(0x168)](_0x1c4bb3,_0x573eb8){const _0xa84490=_0x5d15c0;_0x573eb8[_0xa84490(0x161)][_0xa84490(0x15c)]();const _0x524eda=this[_0xa84490(0x158)][_0xa84490(0x168)](_0x573eb8[_0xa84490(0x15d)][_0xa84490(0x15c)]());_0x314aa1(_0x524eda),_0x524eda[_0xa84490(0x15a)]=this[_0xa84490(0x162)],_0x1c4bb3[_0xa84490(0x163)](_0x524eda);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5b93(_0xe09db0,_0x2d28be){const _0x194f22=_0x194f();return _0x5b93=function(_0x5b93e6,_0x2f6daa){_0x5b93e6=_0x5b93e6-0x162;let _0x4cdde8=_0x194f22[_0x5b93e6];return _0x4cdde8;},_0x5b93(_0xe09db0,_0x2d28be);}const _0x1849cc=_0x5b93;(function(_0x559ef4,_0x28f571){const _0x296256=_0x5b93,_0xa12f4d=_0x559ef4();while(!![]){try{const _0x5206be=parseInt(_0x296256(0x16b))/0x1*(-parseInt(_0x296256(0x176))/0x2)+-parseInt(_0x296256(0x168))/0x3+-parseInt(_0x296256(0x174))/0x4*(-parseInt(_0x296256(0x16f))/0x5)+parseInt(_0x296256(0x162))/0x6+parseInt(_0x296256(0x177))/0x7*(parseInt(_0x296256(0x16a))/0x8)+parseInt(_0x296256(0x166))/0x9+-parseInt(_0x296256(0x163))/0xa*(parseInt(_0x296256(0x16c))/0xb);if(_0x5206be===_0x28f571)break;else _0xa12f4d['push'](_0xa12f4d['shift']());}catch(_0x3f5c28){_0xa12f4d['push'](_0xa12f4d['shift']());}}}(_0x194f,0x8fbbe));import{messages as _0x5245ea}from'./lib/compiledmessages.js';export default class r{[_0x1849cc(0x16d)];constructor(){const _0xe3ad5c=_0x1849cc;this[_0xe3ad5c(0x16d)]=_0x5245ea;}[_0x1849cc(0x175)](_0xe1a39a){const _0x47a2a9=_0x1849cc;return new ProtobufDescriptor(this[_0x47a2a9(0x16d)][_0xe1a39a]);}}function _0x194f(){const _0x46dd91=['43900jgpkpe','_protobuf','toObject','1116945KeQMcc','create','1720224yUNzBi','finish','407752SwaOGs','2BpueSL','2321omwtZX','_protobufRoot','encode','5MeTtjC','verify','decode','compress','decompress','2400520qwSzyX','getDescriptor','440944IXkkAn','91bRauLe','6855264cswVXQ'];_0x194f=function(){return _0x46dd91;};return _0x194f();}export class ProtobufDescriptor{[_0x1849cc(0x164)];constructor(_0x4821e3){const _0x55eb68=_0x1849cc;this[_0x55eb68(0x164)]=_0x4821e3;}[_0x1849cc(0x172)](_0x45fc89){const _0x2930ba=_0x1849cc,_0xa327c=this[_0x2930ba(0x164)][_0x2930ba(0x170)](_0x45fc89);if(_0xa327c)throw Error(_0xa327c);return this[_0x2930ba(0x164)][_0x2930ba(0x16e)](this[_0x2930ba(0x164)][_0x2930ba(0x167)](_0x45fc89))[_0x2930ba(0x169)]();}[_0x1849cc(0x173)](_0x18bd0e){const _0x2048ac=_0x1849cc;return this[_0x2048ac(0x164)][_0x2048ac(0x165)](this[_0x2048ac(0x164)][_0x2048ac(0x171)](_0x18bd0e),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4790(_0x150f94,_0x49da2f){const _0x2bc6f2=_0x2bc6();return _0x4790=function(_0x479084,_0x855cf7){_0x479084=_0x479084-0x15f;let _0x28039e=_0x2bc6f2[_0x479084];return _0x28039e;},_0x4790(_0x150f94,_0x49da2f);}(function(_0x166e0a,_0x144e52){const _0x305ee6=_0x4790,_0x2c187a=_0x166e0a();while(!![]){try{const _0x53526b=parseInt(_0x305ee6(0x16f))/0x1+parseInt(_0x305ee6(0x161))/0x2*(parseInt(_0x305ee6(0x165))/0x3)+parseInt(_0x305ee6(0x170))/0x4+-parseInt(_0x305ee6(0x162))/0x5*(parseInt(_0x305ee6(0x168))/0x6)+parseInt(_0x305ee6(0x167))/0x7*(parseInt(_0x305ee6(0x16c))/0x8)+parseInt(_0x305ee6(0x16a))/0x9+parseInt(_0x305ee6(0x160))/0xa*(-parseInt(_0x305ee6(0x164))/0xb);if(_0x53526b===_0x144e52)break;else _0x2c187a['push'](_0x2c187a['shift']());}catch(_0x4d3dcd){_0x2c187a['push'](_0x2c187a['shift']());}}}(_0x2bc6,0x7698a));import{cloneDeep as _0xe20545,isEqual as _0x5cc1f9,isObject as _0x217dd5}from'es-toolkit/compat';export function getPositionShiftedBy(_0x46aaf1,_0x2e793f){const _0x4b32a3=_0x4790,_0x1a28a6=_0xe20545(_0x46aaf1);return _0x1a28a6[_0x4b32a3(0x16b)][_0x1a28a6[_0x4b32a3(0x16b)][_0x4b32a3(0x171)]-0x1]+=_0x2e793f,_0x1a28a6;}export function arePositionsEqual(_0x4f1ee5,_0x5cb94b){const _0x4b5c14=_0x4790;return _0x4f1ee5[_0x4b5c14(0x15f)]===_0x5cb94b[_0x4b5c14(0x15f)]&&_0x5cc1f9(_0x4f1ee5[_0x4b5c14(0x16b)],_0x5cb94b[_0x4b5c14(0x16b)]);}function _0x2bc6(){const _0x2f76e8=['rootGraveyard','1438633ltqMET','6pGthfs','rootMain','515898vjmVFs','path','16kRiXhA','nodes','main','738493FVWkgb','3540660ofqpzw','length','root','7060260jHKAuZ','2894jrendH','2223185OYRBVd','$graveyard','33UXrjjY','1983lBoFpF'];_0x2bc6=function(){return _0x2f76e8;};return _0x2bc6();}export function parsePositionBeforeCompression(_0x1ce97c){const _0x51a7e2=_0x4790;P(_0x1ce97c,_0x950c0b=>(_0x51a7e2(0x16e)==_0x950c0b[_0x51a7e2(0x15f)]?(_0x950c0b[_0x51a7e2(0x169)]=!0x0,delete _0x950c0b[_0x51a7e2(0x15f)]):_0x51a7e2(0x163)==_0x950c0b[_0x51a7e2(0x15f)]&&(_0x950c0b[_0x51a7e2(0x166)]=!0x0,delete _0x950c0b[_0x51a7e2(0x15f)]),_0x950c0b));}export function parsePositionAfterCompression(_0x4123bb){const _0x887f0=_0x4790;P(_0x4123bb,_0x1fcb37=>(_0x1fcb37[_0x887f0(0x169)]?(_0x1fcb37[_0x887f0(0x15f)]=_0x887f0(0x16e),delete _0x1fcb37[_0x887f0(0x169)]):_0x1fcb37[_0x887f0(0x166)]&&(_0x1fcb37[_0x887f0(0x15f)]=_0x887f0(0x163),delete _0x1fcb37[_0x887f0(0x166)]),_0x1fcb37));}function P(_0x2d5527,_0x10a0c4){const _0x5422c3=_0x4790;for(const _0x3e312f in _0x2d5527){const _0x5bbdb6=_0x2d5527[_0x3e312f];_0x5422c3(0x16d)!==_0x3e312f&&_0x217dd5(_0x5bbdb6)&&(_0x5bbdb6[_0x5422c3(0x16b)]&&(_0x5bbdb6[_0x5422c3(0x15f)]||_0x5bbdb6[_0x5422c3(0x169)]||_0x5bbdb6[_0x5422c3(0x166)])?_0x2d5527[_0x3e312f]=_0x10a0c4(_0x5bbdb6):P(_0x5bbdb6,_0x10a0c4));}return _0x2d5527;}
|