@ckeditor/ckeditor5-operations-compressor 44.0.0-alpha.5 → 44.0.0-alpha.6
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 _0x5a9ce3=_0x2f39;function _0x2f39(_0x1baf10,_0x766f4c){var _0x21d87e=_0x21d8();return _0x2f39=function(_0x2f39a1,_0x509443){_0x2f39a1=_0x2f39a1-0x6c;var _0x3d9384=_0x21d87e[_0x2f39a1];return _0x3d9384;},_0x2f39(_0x1baf10,_0x766f4c);}(function(_0x45e006,_0xf2ad2){var _0xbb3cd8=_0x2f39,_0x151b4f=_0x45e006();while(!![]){try{var _0x77ed6f=-parseInt(_0xbb3cd8(0x77))/0x1*(-parseInt(_0xbb3cd8(0x7b))/0x2)+-parseInt(_0xbb3cd8(0x6c))/0x3*(parseInt(_0xbb3cd8(0x6f))/0x4)+-parseInt(_0xbb3cd8(0x78))/0x5+-parseInt(_0xbb3cd8(0x7d))/0x6+-parseInt(_0xbb3cd8(0x74))/0x7*(parseInt(_0xbb3cd8(0x6d))/0x8)+parseInt(_0xbb3cd8(0x6e))/0x9+-parseInt(_0xbb3cd8(0x79))/0xa*(-parseInt(_0xbb3cd8(0x7c))/0xb);if(_0x77ed6f===_0xf2ad2)break;else _0x151b4f['push'](_0x151b4f['shift']());}catch(_0x660d0b){_0x151b4f['push'](_0x151b4f['shift']());}}}(_0x21d8,0x24b2d));import _0x3941cb from'./operationcompressor.js';export default class p extends _0x3941cb{[_0x5a9ce3(0x7a)](_0x436a81,_0x17c2bf){var _0x407026=_0x5a9ce3;return _0x17c2bf[_0x407026(0x70)](),_0x436a81[_0x407026(0x76)][_0x407026(0x72)](this[_0x407026(0x73)]),!0x0;}[_0x5a9ce3(0x71)](_0x1eb01b,_0x500b81){var _0x35d133=_0x5a9ce3;_0x500b81[_0x35d133(0x76)][_0x35d133(0x70)](),_0x1eb01b[_0x35d133(0x72)]({'__className':this[_0x35d133(0x75)]});}}function _0x21d8(){var _0x53b44c=['11zRFGNu','703542IfjePx','3bJEuQm','10304yzDnSG','830592hmYhYl','40lpBQRX','shift','decompress','push','_id','49QZcPlr','_operationName','types','26859roYsiK','992975Qpmpbl','874580GBLJGj','compress','22FFOehQ'];_0x21d8=function(){return _0x53b44c;};return _0x21d8();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1629(){const _0x4920f6=['compress','_id','313520XiPcKK','3605528eLaHPq','push','294xlgsRB','decompress','475uuLKkj','558780MpjQNM','shift','1823762aZKVMh','_protobufDescriptor','154217BVfqrS','types','__className','275xpMXxK','buffers','18yRoXbZ','55376nlCbNT','_operationName','738288HvmDDQ'];_0x1629=function(){return _0x4920f6;};return _0x1629();}const _0x4ce875=_0x2603;function _0x2603(_0x2b61d8,_0x3a39c0){const _0x1629d9=_0x1629();return _0x2603=function(_0x2603ee,_0x45076a){_0x2603ee=_0x2603ee-0x1b5;let _0x2230fe=_0x1629d9[_0x2603ee];return _0x2230fe;},_0x2603(_0x2b61d8,_0x3a39c0);}(function(_0x32c871,_0x127fae){const _0x3cad19=_0x2603,_0x288597=_0x32c871();while(!![]){try{const _0x5786e8=-parseInt(_0x3cad19(0x1b8))/0x1+parseInt(_0x3cad19(0x1ba))/0x2+-parseInt(_0x3cad19(0x1c4))/0x3+parseInt(_0x3cad19(0x1c2))/0x4*(parseInt(_0x3cad19(0x1b7))/0x5)+-parseInt(_0x3cad19(0x1b5))/0x6*(-parseInt(_0x3cad19(0x1bc))/0x7)+-parseInt(_0x3cad19(0x1c8))/0x8*(parseInt(_0x3cad19(0x1c1))/0x9)+-parseInt(_0x3cad19(0x1c7))/0xa*(parseInt(_0x3cad19(0x1bf))/0xb);if(_0x5786e8===_0x127fae)break;else _0x288597['push'](_0x288597['shift']());}catch(_0x296ff3){_0x288597['push'](_0x288597['shift']());}}}(_0x1629,0xc758a));import{parsePositionBeforeCompression as _0x52c5d9,parsePositionAfterCompression as _0x485375}from'../utils.js';export default class e{constructor(_0x48d0ae,_0x125992,_0x441fc3){const _0x34f510=_0x2603;this[_0x34f510(0x1c6)]=_0x48d0ae,this[_0x34f510(0x1c3)]=_0x125992,this[_0x34f510(0x1bb)]=_0x441fc3;}[_0x4ce875(0x1c5)](_0xf749f4,_0x296b98){const _0x1eb475=_0x4ce875,_0x23e43c=_0x296b98[_0x1eb475(0x1b9)]();return _0x52c5d9(_0x23e43c),_0xf749f4[_0x1eb475(0x1c0)][_0x1eb475(0x1c9)](this[_0x1eb475(0x1bb)][_0x1eb475(0x1c5)](_0x23e43c)),_0xf749f4[_0x1eb475(0x1bd)][_0x1eb475(0x1c9)](this[_0x1eb475(0x1c6)]),!0x0;}[_0x4ce875(0x1b6)](_0x1def78,_0x29eb24){const _0x1c418c=_0x4ce875;_0x29eb24[_0x1c418c(0x1bd)][_0x1c418c(0x1b9)]();const _0x5f5a8a=this[_0x1c418c(0x1bb)][_0x1c418c(0x1b6)](_0x29eb24[_0x1c418c(0x1c0)][_0x1c418c(0x1b9)]());_0x485375(_0x5f5a8a),_0x5f5a8a[_0x1c418c(0x1be)]=this[_0x1c418c(0x1c3)],_0x1def78[_0x1c418c(0x1c9)](_0x5f5a8a);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c5b8c=_0x2f3b;function _0x4079(){const _0x5f26e0=['verify','getDescriptor','17997EqtLLA','4FStRwt','_protobuf','decode','decompress','encode','toObject','228zjzPjz','create','65121AlgDia','finish','14908670izFSWQ','_protobufRoot','582934swlbrj','1299177gqWEhc','963585YpvcWz','compress','204dwHisO','24924NCHZVl','615RkCjCm','8ARvWcw'];_0x4079=function(){return _0x5f26e0;};return _0x4079();}(function(_0x4a8360,_0x38f8af){const _0x4db91f=_0x2f3b,_0x1f152e=_0x4a8360();while(!![]){try{const _0x55c924=parseInt(_0x4db91f(0x1e3))/0x1+-parseInt(_0x4db91f(0x1ec))/0x2*(parseInt(_0x4db91f(0x1eb))/0x3)+parseInt(_0x4db91f(0x1e6))/0x4*(parseInt(_0x4db91f(0x1e7))/0x5)+-parseInt(_0x4db91f(0x1e5))/0x6*(parseInt(_0x4db91f(0x1dd))/0x7)+-parseInt(_0x4db91f(0x1e8))/0x8*(parseInt(_0x4db91f(0x1e2))/0x9)+-parseInt(_0x4db91f(0x1df))/0xa+parseInt(_0x4db91f(0x1e1))/0xb*(parseInt(_0x4db91f(0x1db))/0xc);if(_0x55c924===_0x38f8af)break;else _0x1f152e['push'](_0x1f152e['shift']());}catch(_0xb335ff){_0x1f152e['push'](_0x1f152e['shift']());}}}(_0x4079,0xbccf4));function _0x2f3b(_0x259de8,_0x335781){const _0x4079c5=_0x4079();return _0x2f3b=function(_0x2f3b4c,_0x25e766){_0x2f3b4c=_0x2f3b4c-0x1db;let _0x872ad0=_0x4079c5[_0x2f3b4c];return _0x872ad0;},_0x2f3b(_0x259de8,_0x335781);}import{messages as _0x5b578d}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x47b67a=_0x2f3b;this[_0x47b67a(0x1e0)]=_0x5b578d;}[_0x3c5b8c(0x1ea)](_0x1040bd){const _0x4daec0=_0x3c5b8c;return new ProtobufDescriptor(this[_0x4daec0(0x1e0)][_0x1040bd]);}}export class ProtobufDescriptor{constructor(_0x445f15){const _0x374e8b=_0x3c5b8c;this[_0x374e8b(0x1ed)]=_0x445f15;}[_0x3c5b8c(0x1e4)](_0x33de4d){const _0x78f1e8=_0x3c5b8c,_0xf5d49c=this[_0x78f1e8(0x1ed)][_0x78f1e8(0x1e9)](_0x33de4d);if(_0xf5d49c)throw Error(_0xf5d49c);return this[_0x78f1e8(0x1ed)][_0x78f1e8(0x1f0)](this[_0x78f1e8(0x1ed)][_0x78f1e8(0x1dc)](_0x33de4d))[_0x78f1e8(0x1de)]();}[_0x3c5b8c(0x1ef)](_0x1b8077){const _0x3688ca=_0x3c5b8c;return this[_0x3688ca(0x1ed)][_0x3688ca(0x1f1)](this[_0x3688ca(0x1ed)][_0x3688ca(0x1ee)](_0x1b8077),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x4e3b9a,_0x2a8549){const _0x2b8e9c=_0x2225,_0xf9ceac=_0x4e3b9a();while(!![]){try{const _0x10b706=parseInt(_0x2b8e9c(0x13c))/0x1*(-parseInt(_0x2b8e9c(0x135))/0x2)+parseInt(_0x2b8e9c(0x144))/0x3+parseInt(_0x2b8e9c(0x138))/0x4*(-parseInt(_0x2b8e9c(0x140))/0x5)+-parseInt(_0x2b8e9c(0x143))/0x6+-parseInt(_0x2b8e9c(0x13f))/0x7+parseInt(_0x2b8e9c(0x13d))/0x8*(-parseInt(_0x2b8e9c(0x13b))/0x9)+-parseInt(_0x2b8e9c(0x134))/0xa*(-parseInt(_0x2b8e9c(0x137))/0xb);if(_0x10b706===_0x2a8549)break;else _0xf9ceac['push'](_0xf9ceac['shift']());}catch(_0x33f42a){_0xf9ceac['push'](_0xf9ceac['shift']());}}}(_0x1173,0xf16d6));import{cloneDeep as _0x3cb193,isEqual as _0x328528,isObject as _0x2a7fd3}from'lodash-es';export function getPositionShiftedBy(_0x4898a9,_0x74477c){const _0x58c3b4=_0x2225,_0x8b0887=_0x3cb193(_0x4898a9);return _0x8b0887[_0x58c3b4(0x139)][_0x8b0887[_0x58c3b4(0x139)][_0x58c3b4(0x145)]-0x1]+=_0x74477c,_0x8b0887;}function _0x1173(){const _0xcf3482=['121fObXmp','36afcJFd','path','rootMain','9GGajXe','13562PqrwwM','1383896UixGqT','root','13771695pqaehE','164875EjUIGH','main','nodes','1886244ejSXDj','3373587jwkDpj','length','$graveyard','2797260QZpoKj','68kMdFAh','rootGraveyard'];_0x1173=function(){return _0xcf3482;};return _0x1173();}export function arePositionsEqual(_0x59498f,_0x1bd34d){const _0x722448=_0x2225;return _0x59498f[_0x722448(0x13e)]===_0x1bd34d[_0x722448(0x13e)]&&_0x328528(_0x59498f[_0x722448(0x139)],_0x1bd34d[_0x722448(0x139)]);}export function parsePositionBeforeCompression(_0x95d42d){const _0x3fae65=_0x2225;P(_0x95d42d,_0x576871=>(_0x3fae65(0x141)==_0x576871[_0x3fae65(0x13e)]?(_0x576871[_0x3fae65(0x13a)]=!0x0,delete _0x576871[_0x3fae65(0x13e)]):_0x3fae65(0x133)==_0x576871[_0x3fae65(0x13e)]&&(_0x576871[_0x3fae65(0x136)]=!0x0,delete _0x576871[_0x3fae65(0x13e)]),_0x576871));}export function parsePositionAfterCompression(_0x19c29a){const _0x51f1fe=_0x2225;P(_0x19c29a,_0x506f12=>(_0x506f12[_0x51f1fe(0x13a)]?(_0x506f12[_0x51f1fe(0x13e)]=_0x51f1fe(0x141),delete _0x506f12[_0x51f1fe(0x13a)]):_0x506f12[_0x51f1fe(0x136)]&&(_0x506f12[_0x51f1fe(0x13e)]=_0x51f1fe(0x133),delete _0x506f12[_0x51f1fe(0x136)]),_0x506f12));}function _0x2225(_0x11a669,_0x4bdf0c){const _0x1173e1=_0x1173();return _0x2225=function(_0x22258c,_0x13d673){_0x22258c=_0x22258c-0x133;let _0x557b2c=_0x1173e1[_0x22258c];return _0x557b2c;},_0x2225(_0x11a669,_0x4bdf0c);}function P(_0x46bda6,_0x35e763){const _0x23c647=_0x2225;for(const _0x54b9c1 in _0x46bda6){const _0x29a59b=_0x46bda6[_0x54b9c1];_0x23c647(0x142)!==_0x54b9c1&&_0x2a7fd3(_0x29a59b)&&(_0x29a59b[_0x23c647(0x139)]&&(_0x29a59b[_0x23c647(0x13e)]||_0x29a59b[_0x23c647(0x13a)]||_0x29a59b[_0x23c647(0x136)])?_0x46bda6[_0x54b9c1]=_0x35e763(_0x29a59b):P(_0x29a59b,_0x35e763));}return _0x46bda6;}
|