@ckeditor/ckeditor5-operations-compressor 46.1.0-alpha.1 → 46.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
|
-
function
|
|
23
|
+
function _0x3ad2(_0x1db427,_0x41bc06){var _0x2a56f7=_0x2a56();return _0x3ad2=function(_0x3ad2a8,_0x28185f){_0x3ad2a8=_0x3ad2a8-0x1c6;var _0x5ceb49=_0x2a56f7[_0x3ad2a8];return _0x5ceb49;},_0x3ad2(_0x1db427,_0x41bc06);}var _0x46b8fd=_0x3ad2;function _0x2a56(){var _0x2f41f0=['_operationName','types','5020792JUXcus','2245595etlyHI','_id','3813176KcZPjp','shift','compress','2458260zrFNKt','7005498FXTUZK','decompress','360353MWriGk','22ETosvr','push','7nEipYY','51633sZQoFv'];_0x2a56=function(){return _0x2f41f0;};return _0x2a56();}(function(_0x4cd4a4,_0x44812a){var _0x5b4dd2=_0x3ad2,_0x204a9f=_0x4cd4a4();while(!![]){try{var _0x46db7d=-parseInt(_0x5b4dd2(0x1d3))/0x1+parseInt(_0x5b4dd2(0x1d4))/0x2*(-parseInt(_0x5b4dd2(0x1c7))/0x3)+parseInt(_0x5b4dd2(0x1ca))/0x4+-parseInt(_0x5b4dd2(0x1cb))/0x5+-parseInt(_0x5b4dd2(0x1d1))/0x6*(-parseInt(_0x5b4dd2(0x1c6))/0x7)+-parseInt(_0x5b4dd2(0x1cd))/0x8+-parseInt(_0x5b4dd2(0x1d0))/0x9;if(_0x46db7d===_0x44812a)break;else _0x204a9f['push'](_0x204a9f['shift']());}catch(_0x45a1ed){_0x204a9f['push'](_0x204a9f['shift']());}}}(_0x2a56,0xa4999));import{OperationCompressor as _0x305d85}from'./operationcompressor.js';export class NoOperationCompressor extends _0x305d85{[_0x46b8fd(0x1cf)](_0x487665,_0x409eba){var _0x41d448=_0x46b8fd;return _0x409eba[_0x41d448(0x1ce)](),_0x487665[_0x41d448(0x1c9)][_0x41d448(0x1d5)](this[_0x41d448(0x1cc)]),!0x0;}[_0x46b8fd(0x1d2)](_0x2c8cfd,_0x3aafb8){var _0x326e21=_0x46b8fd;_0x3aafb8[_0x326e21(0x1c9)][_0x326e21(0x1ce)](),_0x2c8cfd[_0x326e21(0x1d5)]({'__className':this[_0x326e21(0x1c8)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x455f3f=_0x57e0;function _0x57e0(_0x1944fd,_0x434fa9){const _0x5f4a08=_0x5f4a();return _0x57e0=function(_0x57e0ed,_0x26bd62){_0x57e0ed=_0x57e0ed-0x73;let _0x3b029b=_0x5f4a08[_0x57e0ed];return _0x3b029b;},_0x57e0(_0x1944fd,_0x434fa9);}(function(_0x13417f,_0x56d6c9){const _0x496787=_0x57e0,_0x7827ef=_0x13417f();while(!![]){try{const _0x5648df=parseInt(_0x496787(0x82))/0x1+parseInt(_0x496787(0x7f))/0x2*(parseInt(_0x496787(0x77))/0x3)+parseInt(_0x496787(0x79))/0x4+-parseInt(_0x496787(0x7b))/0x5+parseInt(_0x496787(0x7d))/0x6+parseInt(_0x496787(0x7c))/0x7+-parseInt(_0x496787(0x84))/0x8;if(_0x5648df===_0x56d6c9)break;else _0x7827ef['push'](_0x7827ef['shift']());}catch(_0x4a2424){_0x7827ef['push'](_0x7827ef['shift']());}}}(_0x5f4a,0x6d021));function _0x5f4a(){const _0x55a4a8=['compress','decompress','_id','types','9yGTkbz','push','1967176xfcTRz','__className','4401765dxtBkU','83160CIlsko','3125904hmsoEo','_protobufDescriptor','143142BsogYA','_operationName','shift','820313Qmcfrs','buffers','5862672VqBUpG'];_0x5f4a=function(){return _0x55a4a8;};return _0x5f4a();}import{parsePositionBeforeCompression as _0x16f1d8,parsePositionAfterCompression as _0x52274b}from'../utils.js';export class OperationCompressor{[_0x455f3f(0x75)];[_0x455f3f(0x80)];[_0x455f3f(0x7e)];constructor(_0x347148,_0x286604,_0x5e4f35){const _0xe6359f=_0x455f3f;this[_0xe6359f(0x75)]=_0x347148,this[_0xe6359f(0x80)]=_0x286604,this[_0xe6359f(0x7e)]=_0x5e4f35;}[_0x455f3f(0x73)](_0x409d83,_0x24b442){const _0x58bd09=_0x455f3f,_0x39022a=_0x24b442[_0x58bd09(0x81)]();return _0x16f1d8(_0x39022a),_0x409d83[_0x58bd09(0x83)][_0x58bd09(0x78)](this[_0x58bd09(0x7e)][_0x58bd09(0x73)](_0x39022a)),_0x409d83[_0x58bd09(0x76)][_0x58bd09(0x78)](this[_0x58bd09(0x75)]),!0x0;}[_0x455f3f(0x74)](_0x1c90da,_0x5f4df5){const _0x1be1fe=_0x455f3f;_0x5f4df5[_0x1be1fe(0x76)][_0x1be1fe(0x81)]();const _0x48d6ed=this[_0x1be1fe(0x7e)][_0x1be1fe(0x74)](_0x5f4df5[_0x1be1fe(0x83)][_0x1be1fe(0x81)]());_0x52274b(_0x48d6ed),_0x48d6ed[_0x1be1fe(0x7a)]=this[_0x1be1fe(0x80)],_0x1c90da[_0x1be1fe(0x78)](_0x48d6ed);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1dcb52=_0x3475;(function(_0x13f5b2,_0x182869){const _0x2ec00a=_0x3475,_0x5805b9=_0x13f5b2();while(!![]){try{const _0x46fd61=parseInt(_0x2ec00a(0x1dd))/0x1*(parseInt(_0x2ec00a(0x1d8))/0x2)+parseInt(_0x2ec00a(0x1dc))/0x3*(-parseInt(_0x2ec00a(0x1de))/0x4)+parseInt(_0x2ec00a(0x1d2))/0x5+-parseInt(_0x2ec00a(0x1d1))/0x6*(parseInt(_0x2ec00a(0x1e2))/0x7)+-parseInt(_0x2ec00a(0x1d5))/0x8*(-parseInt(_0x2ec00a(0x1da))/0x9)+parseInt(_0x2ec00a(0x1df))/0xa+parseInt(_0x2ec00a(0x1e6))/0xb;if(_0x46fd61===_0x182869)break;else _0x5805b9['push'](_0x5805b9['shift']());}catch(_0x15d62c){_0x5805b9['push'](_0x5805b9['shift']());}}}(_0x43bf,0x906b3));function _0x43bf(){const _0x2e437a=['_protobuf','35hZEowP','decode','encode','getDescriptor','13750341KmfZcd','1160262XuvhtL','322605sZIHiK','decompress','toObject','128KMMUqR','finish','_protobufRoot','96MDAqnU','compress','4635cyDbwd','create','3HpxcwC','2202ufDpFX','3982516eKshLj','11255650ENKRsx','verify'];_0x43bf=function(){return _0x2e437a;};return _0x43bf();}function _0x3475(_0x9cac8a,_0x422170){const _0x43bfe8=_0x43bf();return _0x3475=function(_0x347561,_0x55341a){_0x347561=_0x347561-0x1d1;let _0x4feefa=_0x43bfe8[_0x347561];return _0x4feefa;},_0x3475(_0x9cac8a,_0x422170);}import{messages as _0x41cd74}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x1dcb52(0x1d7)];constructor(){const _0x33ca05=_0x1dcb52;this[_0x33ca05(0x1d7)]=_0x41cd74;}[_0x1dcb52(0x1e5)](_0x48e69c){const _0x1bc8b3=_0x1dcb52;return new ProtobufDescriptor(this[_0x1bc8b3(0x1d7)][_0x48e69c]);}}export class ProtobufDescriptor{[_0x1dcb52(0x1e1)];constructor(_0x5d2bcc){const _0x3b3eaf=_0x1dcb52;this[_0x3b3eaf(0x1e1)]=_0x5d2bcc;}[_0x1dcb52(0x1d9)](_0x52cb9c){const _0x22fe76=_0x1dcb52,_0x37b535=this[_0x22fe76(0x1e1)][_0x22fe76(0x1e0)](_0x52cb9c);if(_0x37b535)throw Error(_0x37b535);return this[_0x22fe76(0x1e1)][_0x22fe76(0x1e4)](this[_0x22fe76(0x1e1)][_0x22fe76(0x1db)](_0x52cb9c))[_0x22fe76(0x1d6)]();}[_0x1dcb52(0x1d3)](_0x26905c){const _0x2e74c4=_0x1dcb52;return this[_0x2e74c4(0x1e1)][_0x2e74c4(0x1d4)](this[_0x2e74c4(0x1e1)][_0x2e74c4(0x1e3)](_0x26905c),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4998c8,_0x213169){const _0xe7a534=_0x1be0,_0x124f02=_0x4998c8();while(!![]){try{const _0x594388=-parseInt(_0xe7a534(0xb4))/0x1+-parseInt(_0xe7a534(0xad))/0x2+-parseInt(_0xe7a534(0xa7))/0x3+-parseInt(_0xe7a534(0xb5))/0x4*(-parseInt(_0xe7a534(0xb3))/0x5)+parseInt(_0xe7a534(0xb0))/0x6+-parseInt(_0xe7a534(0xab))/0x7+-parseInt(_0xe7a534(0xb1))/0x8*(-parseInt(_0xe7a534(0xa9))/0x9);if(_0x594388===_0x213169)break;else _0x124f02['push'](_0x124f02['shift']());}catch(_0x3476a3){_0x124f02['push'](_0x124f02['shift']());}}}(_0x27c8,0xbb129));import{cloneDeep as _0x51f724,isEqual as _0x4250ec,isObject as _0x1d8ca1}from'es-toolkit/compat';function _0x1be0(_0x1c601b,_0x2b7716){const _0x27c85f=_0x27c8();return _0x1be0=function(_0x1be05d,_0x4109ee){_0x1be05d=_0x1be05d-0xa6;let _0x3470b3=_0x27c85f[_0x1be05d];return _0x3470b3;},_0x1be0(_0x1c601b,_0x2b7716);}export function getPositionShiftedBy(_0x4e031d,_0x302b5c){const _0x26b883=_0x1be0,_0xa7bf58=_0x51f724(_0x4e031d);return _0xa7bf58[_0x26b883(0xaa)][_0xa7bf58[_0x26b883(0xaa)][_0x26b883(0xac)]-0x1]+=_0x302b5c,_0xa7bf58;}export function arePositionsEqual(_0x36ef67,_0x24eb46){const _0x351b31=_0x1be0;return _0x36ef67[_0x351b31(0xa6)]===_0x24eb46[_0x351b31(0xa6)]&&_0x4250ec(_0x36ef67[_0x351b31(0xaa)],_0x24eb46[_0x351b31(0xaa)]);}function _0x27c8(){const _0x3f689e=['path','555478lXbmNh','length','1755032BWzkuC','rootGraveyard','$graveyard','2244426elQDJZ','18266552HkYiWi','rootMain','278680RmbtdE','37329qqWwHD','44KBTMjR','main','root','4530114TcEHlb','nodes','9wlpqOD'];_0x27c8=function(){return _0x3f689e;};return _0x27c8();}export function parsePositionBeforeCompression(_0x78567a){const _0x6ff220=_0x1be0;P(_0x78567a,_0x1e4486=>(_0x6ff220(0xb6)==_0x1e4486[_0x6ff220(0xa6)]?(_0x1e4486[_0x6ff220(0xb2)]=!0x0,delete _0x1e4486[_0x6ff220(0xa6)]):_0x6ff220(0xaf)==_0x1e4486[_0x6ff220(0xa6)]&&(_0x1e4486[_0x6ff220(0xae)]=!0x0,delete _0x1e4486[_0x6ff220(0xa6)]),_0x1e4486));}export function parsePositionAfterCompression(_0x1fd9db){const _0x3dbb=_0x1be0;P(_0x1fd9db,_0x846656=>(_0x846656[_0x3dbb(0xb2)]?(_0x846656[_0x3dbb(0xa6)]=_0x3dbb(0xb6),delete _0x846656[_0x3dbb(0xb2)]):_0x846656[_0x3dbb(0xae)]&&(_0x846656[_0x3dbb(0xa6)]=_0x3dbb(0xaf),delete _0x846656[_0x3dbb(0xae)]),_0x846656));}function P(_0x165e50,_0x5af43f){const _0x2bd439=_0x1be0;for(const _0x29994a in _0x165e50){const _0xee7ee0=_0x165e50[_0x29994a];_0x2bd439(0xa8)!==_0x29994a&&_0x1d8ca1(_0xee7ee0)&&(_0xee7ee0[_0x2bd439(0xaa)]&&(_0xee7ee0[_0x2bd439(0xa6)]||_0xee7ee0[_0x2bd439(0xb2)]||_0xee7ee0[_0x2bd439(0xae)])?_0x165e50[_0x29994a]=_0x5af43f(_0xee7ee0):P(_0xee7ee0,_0x5af43f));}return _0x165e50;}
|