@ckeditor/ckeditor5-operations-compressor 45.2.0-alpha.7 → 45.2.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
|
-
const
|
|
23
|
+
const _0x27645a=_0xb0fe;(function(_0x43aa51,_0xea024d){const _0x936916=_0xb0fe,_0x4d235a=_0x43aa51();while(!![]){try{const _0x26cf3b=-parseInt(_0x936916(0x11b))/0x1*(parseInt(_0x936916(0x117))/0x2)+parseInt(_0x936916(0x11a))/0x3+-parseInt(_0x936916(0x113))/0x4*(-parseInt(_0x936916(0x118))/0x5)+parseInt(_0x936916(0x120))/0x6+parseInt(_0x936916(0x115))/0x7+-parseInt(_0x936916(0x11e))/0x8+-parseInt(_0x936916(0x119))/0x9*(-parseInt(_0x936916(0x114))/0xa);if(_0x26cf3b===_0xea024d)break;else _0x4d235a['push'](_0x4d235a['shift']());}catch(_0x299ddd){_0x4d235a['push'](_0x4d235a['shift']());}}}(_0x52a0,0x2582f));import _0xd749e6 from'./operationcompressor.js';function _0xb0fe(_0x4c7394,_0x22aaa8){const _0x52a06b=_0x52a0();return _0xb0fe=function(_0xb0fea7,_0x526235){_0xb0fea7=_0xb0fea7-0x113;let _0x4f71a9=_0x52a06b[_0xb0fea7];return _0x4f71a9;},_0xb0fe(_0x4c7394,_0x22aaa8);}function _0x52a0(){const _0x561c65=['487209UNvdqy','3vMVlVY','newRange','oldRange','1152776Zdqohw','decompress','725406UpYsaf','177124LaahoI','77950NTkjhm','674926wosIQI','length','172516kPzjhm','5XsfmiR','153mmzoza'];_0x52a0=function(){return _0x561c65;};return _0x52a0();}export default class n extends _0xd749e6{[_0x27645a(0x11f)](_0x4fa847,_0x2d26f6){const _0x88ef44=_0x27645a;super[_0x88ef44(0x11f)](_0x4fa847,_0x2d26f6);const _0x1f566c=_0x4fa847[_0x4fa847[_0x88ef44(0x116)]-0x1];_0x1f566c[_0x88ef44(0x11d)]||(_0x1f566c[_0x88ef44(0x11d)]=null),_0x1f566c[_0x88ef44(0x11c)]||(_0x1f566c[_0x88ef44(0x11c)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5c2e(){var _0x1cb3b4=['12ASDXjl','compress','6WDtWxi','decompress','shift','_operationName','288205XckYeB','types','14124734hEcOxa','9958004eRGBqe','8KwqTrm','24nIcCIR','6vEyGZW','_id','13636458tSQOOd','55tRdyrE','push','1231220VipFlf','1561184JePvga','8709540HsVdGf'];_0x5c2e=function(){return _0x1cb3b4;};return _0x5c2e();}function _0x30c5(_0x20dfed,_0x430bc8){var _0x5c2eb4=_0x5c2e();return _0x30c5=function(_0x30c5fb,_0x5af3e1){_0x30c5fb=_0x30c5fb-0x181;var _0x2f4d13=_0x5c2eb4[_0x30c5fb];return _0x2f4d13;},_0x30c5(_0x20dfed,_0x430bc8);}var _0x11a6e6=_0x30c5;(function(_0x24caf0,_0x4f6dfa){var _0x5a92a6=_0x30c5,_0x4241fe=_0x24caf0();while(!![]){try{var _0x450746=parseInt(_0x5a92a6(0x181))/0x1*(parseInt(_0x5a92a6(0x18f))/0x2)+parseInt(_0x5a92a6(0x191))/0x3*(parseInt(_0x5a92a6(0x18d))/0x4)+-parseInt(_0x5a92a6(0x18e))/0x5+parseInt(_0x5a92a6(0x187))/0x6*(parseInt(_0x5a92a6(0x184))/0x7)+parseInt(_0x5a92a6(0x185))/0x8*(parseInt(_0x5a92a6(0x189))/0x9)+parseInt(_0x5a92a6(0x18c))/0xa*(-parseInt(_0x5a92a6(0x18a))/0xb)+-parseInt(_0x5a92a6(0x186))/0xc*(parseInt(_0x5a92a6(0x183))/0xd);if(_0x450746===_0x4f6dfa)break;else _0x4241fe['push'](_0x4241fe['shift']());}catch(_0x2a12d4){_0x4241fe['push'](_0x4241fe['shift']());}}}(_0x5c2e,0xdfe0a));import _0x345f91 from'./operationcompressor.js';export default class p extends _0x345f91{[_0x11a6e6(0x190)](_0x2b2c4a,_0x2960ba){var _0x21e72b=_0x11a6e6;return _0x2960ba[_0x21e72b(0x193)](),_0x2b2c4a[_0x21e72b(0x182)][_0x21e72b(0x18b)](this[_0x21e72b(0x188)]),!0x0;}[_0x11a6e6(0x192)](_0x2dac0a,_0x18f3ee){var _0x204a9b=_0x11a6e6;_0x18f3ee[_0x204a9b(0x182)][_0x204a9b(0x193)](),_0x2dac0a[_0x204a9b(0x18b)]({'__className':this[_0x204a9b(0x194)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x177e(_0x9ed633,_0x4c43ef){const _0xa8a54a=_0xa8a5();return _0x177e=function(_0x177e4f,_0x32e773){_0x177e4f=_0x177e4f-0x158;let _0x54ed1b=_0xa8a54a[_0x177e4f];return _0x54ed1b;},_0x177e(_0x9ed633,_0x4c43ef);}const _0x2ea940=_0x177e;(function(_0x533a1a,_0x2dce38){const _0xc952e3=_0x177e,_0x115c92=_0x533a1a();while(!![]){try{const _0x297099=-parseInt(_0xc952e3(0x168))/0x1*(parseInt(_0xc952e3(0x16a))/0x2)+-parseInt(_0xc952e3(0x165))/0x3+-parseInt(_0xc952e3(0x160))/0x4+parseInt(_0xc952e3(0x164))/0x5*(parseInt(_0xc952e3(0x15e))/0x6)+parseInt(_0xc952e3(0x15c))/0x7+parseInt(_0xc952e3(0x15b))/0x8+parseInt(_0xc952e3(0x163))/0x9*(-parseInt(_0xc952e3(0x161))/0xa);if(_0x297099===_0x2dce38)break;else _0x115c92['push'](_0x115c92['shift']());}catch(_0x2b6574){_0x115c92['push'](_0x115c92['shift']());}}}(_0xa8a5,0x61d02));function _0xa8a5(){const _0x41216d=['push','345915JexWCs','buffers','2iTqJDg','types','compress','__className','decompress','312608LDNypj','5397308wPuUFP','_operationName','299616dhiBYZ','_id','1416652rbKukD','1439410mmVvYi','shift','9zomAkw','60jphGVj','494073qeCCVx','_protobufDescriptor'];_0xa8a5=function(){return _0x41216d;};return _0xa8a5();}import{parsePositionBeforeCompression as _0x412c9f,parsePositionAfterCompression as _0x408e35}from'../utils.js';export default class e{[_0x2ea940(0x15f)];[_0x2ea940(0x15d)];[_0x2ea940(0x166)];constructor(_0x1c8a1b,_0x557f51,_0x470eec){const _0x597ce8=_0x2ea940;this[_0x597ce8(0x15f)]=_0x1c8a1b,this[_0x597ce8(0x15d)]=_0x557f51,this[_0x597ce8(0x166)]=_0x470eec;}[_0x2ea940(0x158)](_0x3c247a,_0xd34c60){const _0x57ffbc=_0x2ea940,_0x14294c=_0xd34c60[_0x57ffbc(0x162)]();return _0x412c9f(_0x14294c),_0x3c247a[_0x57ffbc(0x169)][_0x57ffbc(0x167)](this[_0x57ffbc(0x166)][_0x57ffbc(0x158)](_0x14294c)),_0x3c247a[_0x57ffbc(0x16b)][_0x57ffbc(0x167)](this[_0x57ffbc(0x15f)]),!0x0;}[_0x2ea940(0x15a)](_0x190c74,_0xc7e960){const _0x5771ce=_0x2ea940;_0xc7e960[_0x5771ce(0x16b)][_0x5771ce(0x162)]();const _0xaa5684=this[_0x5771ce(0x166)][_0x5771ce(0x15a)](_0xc7e960[_0x5771ce(0x169)][_0x5771ce(0x162)]());_0x408e35(_0xaa5684),_0xaa5684[_0x5771ce(0x159)]=this[_0x5771ce(0x15d)],_0x190c74[_0x5771ce(0x167)](_0xaa5684);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5f03(_0xef4364,_0x51cb9f){const _0x1eb5bd=_0x1eb5();return _0x5f03=function(_0x5f0355,_0x25171a){_0x5f0355=_0x5f0355-0x185;let _0x2efa12=_0x1eb5bd[_0x5f0355];return _0x2efa12;},_0x5f03(_0xef4364,_0x51cb9f);}const _0x4a829f=_0x5f03;(function(_0x15b822,_0x10d2d1){const _0x2c066a=_0x5f03,_0x2ddfa3=_0x15b822();while(!![]){try{const _0x10616d=parseInt(_0x2c066a(0x18f))/0x1+parseInt(_0x2c066a(0x18d))/0x2*(parseInt(_0x2c066a(0x189))/0x3)+-parseInt(_0x2c066a(0x195))/0x4+-parseInt(_0x2c066a(0x197))/0x5*(parseInt(_0x2c066a(0x199))/0x6)+-parseInt(_0x2c066a(0x18b))/0x7+-parseInt(_0x2c066a(0x18c))/0x8*(-parseInt(_0x2c066a(0x193))/0x9)+-parseInt(_0x2c066a(0x186))/0xa;if(_0x10616d===_0x10d2d1)break;else _0x2ddfa3['push'](_0x2ddfa3['shift']());}catch(_0x4191ce){_0x2ddfa3['push'](_0x2ddfa3['shift']());}}}(_0x1eb5,0x2200f));import{messages as _0x53bf93}from'./lib/compiledmessages.js';export default class r{[_0x4a829f(0x185)];constructor(){const _0x4963b1=_0x4a829f;this[_0x4963b1(0x185)]=_0x53bf93;}[_0x4a829f(0x196)](_0x14cfd9){const _0x6f667a=_0x4a829f;return new ProtobufDescriptor(this[_0x6f667a(0x185)][_0x14cfd9]);}}function _0x1eb5(){const _0x177e7b=['create','136662HlFmpM','_protobufRoot','204600ajKfts','verify','decompress','3lgjxhs','toObject','1142799nrqEvJ','8kRRmeC','352202WjqgjT','compress','193628ZrzRjV','encode','_protobuf','decode','481311vXRcxl','finish','36416OjJuyH','getDescriptor','20aXfCHq'];_0x1eb5=function(){return _0x177e7b;};return _0x1eb5();}export class ProtobufDescriptor{[_0x4a829f(0x191)];constructor(_0x51c958){const _0x493efd=_0x4a829f;this[_0x493efd(0x191)]=_0x51c958;}[_0x4a829f(0x18e)](_0x4b5387){const _0xb8c6c4=_0x4a829f,_0x262710=this[_0xb8c6c4(0x191)][_0xb8c6c4(0x187)](_0x4b5387);if(_0x262710)throw Error(_0x262710);return this[_0xb8c6c4(0x191)][_0xb8c6c4(0x190)](this[_0xb8c6c4(0x191)][_0xb8c6c4(0x198)](_0x4b5387))[_0xb8c6c4(0x194)]();}[_0x4a829f(0x188)](_0x4265f1){const _0x3bfedf=_0x4a829f;return this[_0x3bfedf(0x191)][_0x3bfedf(0x18a)](this[_0x3bfedf(0x191)][_0x3bfedf(0x192)](_0x4265f1),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3c6179,_0x3f2e6f){const _0x57b390=_0x10d6,_0x1edff4=_0x3c6179();while(!![]){try{const _0x332492=-parseInt(_0x57b390(0x19f))/0x1+-parseInt(_0x57b390(0x191))/0x2+parseInt(_0x57b390(0x192))/0x3*(-parseInt(_0x57b390(0x199))/0x4)+parseInt(_0x57b390(0x19c))/0x5*(parseInt(_0x57b390(0x197))/0x6)+parseInt(_0x57b390(0x190))/0x7+-parseInt(_0x57b390(0x194))/0x8+-parseInt(_0x57b390(0x193))/0x9*(-parseInt(_0x57b390(0x19d))/0xa);if(_0x332492===_0x3f2e6f)break;else _0x1edff4['push'](_0x1edff4['shift']());}catch(_0x283292){_0x1edff4['push'](_0x1edff4['shift']());}}}(_0x13b0,0xd4cd9));function _0x13b0(){const _0x5c6838=['887411DdiyJN','93370Fgxqrt','63978ApZmXR','87174VqhieM','135000qbMSxT','path','root','9756510FHIRtY','rootGraveyard','244jrDDCo','$graveyard','length','5qrfHZQ','760ztDFCW','main','252907QFIpBS','nodes','rootMain'];_0x13b0=function(){return _0x5c6838;};return _0x13b0();}import{cloneDeep as _0x1efccf,isEqual as _0x4a5f4b,isObject as _0x215b71}from'es-toolkit/compat';export function getPositionShiftedBy(_0xfdf406,_0x24b031){const _0x36c096=_0x10d6,_0x3646d2=_0x1efccf(_0xfdf406);return _0x3646d2[_0x36c096(0x195)][_0x3646d2[_0x36c096(0x195)][_0x36c096(0x19b)]-0x1]+=_0x24b031,_0x3646d2;}function _0x10d6(_0x3ea9ef,_0x392fb7){const _0x13b00f=_0x13b0();return _0x10d6=function(_0x10d6ce,_0x25fb66){_0x10d6ce=_0x10d6ce-0x18e;let _0x15e4bd=_0x13b00f[_0x10d6ce];return _0x15e4bd;},_0x10d6(_0x3ea9ef,_0x392fb7);}export function arePositionsEqual(_0x1d5836,_0x1244c1){const _0xc47e32=_0x10d6;return _0x1d5836[_0xc47e32(0x196)]===_0x1244c1[_0xc47e32(0x196)]&&_0x4a5f4b(_0x1d5836[_0xc47e32(0x195)],_0x1244c1[_0xc47e32(0x195)]);}export function parsePositionBeforeCompression(_0x28c3d6){const _0x135012=_0x10d6;P(_0x28c3d6,_0x341a67=>(_0x135012(0x19e)==_0x341a67[_0x135012(0x196)]?(_0x341a67[_0x135012(0x18f)]=!0x0,delete _0x341a67[_0x135012(0x196)]):_0x135012(0x19a)==_0x341a67[_0x135012(0x196)]&&(_0x341a67[_0x135012(0x198)]=!0x0,delete _0x341a67[_0x135012(0x196)]),_0x341a67));}export function parsePositionAfterCompression(_0x1b0e4c){const _0x185e72=_0x10d6;P(_0x1b0e4c,_0x437b7f=>(_0x437b7f[_0x185e72(0x18f)]?(_0x437b7f[_0x185e72(0x196)]=_0x185e72(0x19e),delete _0x437b7f[_0x185e72(0x18f)]):_0x437b7f[_0x185e72(0x198)]&&(_0x437b7f[_0x185e72(0x196)]=_0x185e72(0x19a),delete _0x437b7f[_0x185e72(0x198)]),_0x437b7f));}function P(_0x32df7d,_0x4473ba){const _0x1c2726=_0x10d6;for(const _0x52d02c in _0x32df7d){const _0x5cafc8=_0x32df7d[_0x52d02c];_0x1c2726(0x18e)!==_0x52d02c&&_0x215b71(_0x5cafc8)&&(_0x5cafc8[_0x1c2726(0x195)]&&(_0x5cafc8[_0x1c2726(0x196)]||_0x5cafc8[_0x1c2726(0x18f)]||_0x5cafc8[_0x1c2726(0x198)])?_0x32df7d[_0x52d02c]=_0x4473ba(_0x5cafc8):P(_0x5cafc8,_0x4473ba));}return _0x32df7d;}
|