@ckeditor/ckeditor5-operations-compressor 44.0.0-alpha.7 → 44.0.0-alpha.8
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/LICENSE.md +8 -8
- package/README.md +8 -6
- 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 _0x3ae125=_0x5838;(function(_0x297b83,_0x3c12f0){var _0x4b9d4e=_0x5838,_0x32ca54=_0x297b83();while(!![]){try{var _0x12367e=parseInt(_0x4b9d4e(0x1ec))/0x1*(parseInt(_0x4b9d4e(0x1ea))/0x2)+-parseInt(_0x4b9d4e(0x1e3))/0x3*(-parseInt(_0x4b9d4e(0x1e9))/0x4)+-parseInt(_0x4b9d4e(0x1e8))/0x5*(-parseInt(_0x4b9d4e(0x1e4))/0x6)+-parseInt(_0x4b9d4e(0x1ee))/0x7+-parseInt(_0x4b9d4e(0x1e2))/0x8+parseInt(_0x4b9d4e(0x1e7))/0x9*(parseInt(_0x4b9d4e(0x1f0))/0xa)+parseInt(_0x4b9d4e(0x1ef))/0xb*(parseInt(_0x4b9d4e(0x1eb))/0xc);if(_0x12367e===_0x3c12f0)break;else _0x32ca54['push'](_0x32ca54['shift']());}catch(_0x11747b){_0x32ca54['push'](_0x32ca54['shift']());}}}(_0x3ced,0x604bb));import _0x34632d from'./operationcompressor.js';function _0x5838(_0x33a1e9,_0x1681a0){var _0x3ced5d=_0x3ced();return _0x5838=function(_0x5838fe,_0x4ca87b){_0x5838fe=_0x5838fe-0x1e0;var _0x49115e=_0x3ced5d[_0x5838fe];return _0x49115e;},_0x5838(_0x33a1e9,_0x1681a0);}function _0x3ced(){var _0xc2c75c=['153bNtTTl','729905awxLxh','981608WonvGt','191254OuHoqH','911664SFIxMR','1dUIjlL','_id','5168401JeLrBC','110dTxiET','204410NJsQis','push','types','shift','compress','5654872MHKsnw','6qOLgNi','6pFnDwa','_operationName','decompress'];_0x3ced=function(){return _0xc2c75c;};return _0x3ced();}export default class p extends _0x34632d{[_0x3ae125(0x1e1)](_0x5a76b7,_0x4976ea){var _0x4e1765=_0x3ae125;return _0x4976ea[_0x4e1765(0x1e0)](),_0x5a76b7[_0x4e1765(0x1f2)][_0x4e1765(0x1f1)](this[_0x4e1765(0x1ed)]),!0x0;}[_0x3ae125(0x1e6)](_0x3b1104,_0x290d8b){var _0x2f5e48=_0x3ae125;_0x290d8b[_0x2f5e48(0x1f2)][_0x2f5e48(0x1e0)](),_0x3b1104[_0x2f5e48(0x1f1)]({'__className':this[_0x2f5e48(0x1e5)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3b53(_0xb04a45,_0x1e3065){const _0x17413e=_0x1741();return _0x3b53=function(_0x3b5395,_0x1e53c1){_0x3b5395=_0x3b5395-0x15b;let _0x33ea28=_0x17413e[_0x3b5395];return _0x33ea28;},_0x3b53(_0xb04a45,_0x1e3065);}const _0x59a05c=_0x3b53;(function(_0x5875b4,_0x2dd78c){const _0x37d8f2=_0x3b53,_0x5a192d=_0x5875b4();while(!![]){try{const _0x40575a=-parseInt(_0x37d8f2(0x16e))/0x1*(-parseInt(_0x37d8f2(0x15e))/0x2)+-parseInt(_0x37d8f2(0x16f))/0x3*(-parseInt(_0x37d8f2(0x164))/0x4)+-parseInt(_0x37d8f2(0x15c))/0x5*(-parseInt(_0x37d8f2(0x160))/0x6)+-parseInt(_0x37d8f2(0x165))/0x7+parseInt(_0x37d8f2(0x168))/0x8*(parseInt(_0x37d8f2(0x162))/0x9)+parseInt(_0x37d8f2(0x169))/0xa*(parseInt(_0x37d8f2(0x15b))/0xb)+-parseInt(_0x37d8f2(0x170))/0xc;if(_0x40575a===_0x2dd78c)break;else _0x5a192d['push'](_0x5a192d['shift']());}catch(_0xa4d92e){_0x5a192d['push'](_0x5a192d['shift']());}}}(_0x1741,0x9d5bb));import{parsePositionBeforeCompression as _0x13fd2d,parsePositionAfterCompression as _0x1b4fc3}from'../utils.js';function _0x1741(){const _0xb237bb=['593483feSdWz','5vBnYeF','_id','789056GnxoRv','buffers','4752246eAjzOG','decompress','2619QZwXze','push','48tUxdUd','8283156dBrXyF','_protobufDescriptor','_operationName','23752kbhpzA','50OikaEg','shift','types','__className','compress','2PDTHlC','86493wtMDfH','14795592XYXCaG'];_0x1741=function(){return _0xb237bb;};return _0x1741();}export default class e{constructor(_0xf25aad,_0x1b548b,_0xad59fc){const _0x2da80f=_0x3b53;this[_0x2da80f(0x15d)]=_0xf25aad,this[_0x2da80f(0x167)]=_0x1b548b,this[_0x2da80f(0x166)]=_0xad59fc;}[_0x59a05c(0x16d)](_0x5dbdb0,_0x3c3a26){const _0x4c3929=_0x59a05c,_0x5abb28=_0x3c3a26[_0x4c3929(0x16a)]();return _0x13fd2d(_0x5abb28),_0x5dbdb0[_0x4c3929(0x15f)][_0x4c3929(0x163)](this[_0x4c3929(0x166)][_0x4c3929(0x16d)](_0x5abb28)),_0x5dbdb0[_0x4c3929(0x16b)][_0x4c3929(0x163)](this[_0x4c3929(0x15d)]),!0x0;}[_0x59a05c(0x161)](_0x15c8ce,_0x5517f9){const _0x32afb6=_0x59a05c;_0x5517f9[_0x32afb6(0x16b)][_0x32afb6(0x16a)]();const _0x4cde13=this[_0x32afb6(0x166)][_0x32afb6(0x161)](_0x5517f9[_0x32afb6(0x15f)][_0x32afb6(0x16a)]());_0x1b4fc3(_0x4cde13),_0x4cde13[_0x32afb6(0x16c)]=this[_0x32afb6(0x167)],_0x15c8ce[_0x32afb6(0x163)](_0x4cde13);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x9e9f(){const _0x4fc0de=['_protobufRoot','120856yVMzUU','verify','728jjGCOs','3oLIvYO','compress','848610uorcMc','10022010INJVNW','_protobuf','1797050IcKKBc','46010xYkXzz','2130662xLUEeC','15282261GOJfxF','create','getDescriptor','decode','368EWMAqS','finish','toObject','encode','decompress'];_0x9e9f=function(){return _0x4fc0de;};return _0x9e9f();}const _0x48d60d=_0x141e;function _0x141e(_0x22f189,_0x358e68){const _0x141ec7=_0x9e9f();return _0x141e=function(_0x4e6fd6,_0x102aae){_0x4e6fd6=_0x4e6fd6-0xeb;let _0x28bdb5=_0x141ec7[_0x4e6fd6];return _0x28bdb5;},_0x141e(_0x22f189,_0x358e68);}(function(_0x2e79dd,_0x44603f){const _0x3ca799=_0x141e,_0x19ce4a=_0x2e79dd();while(!![]){try{const _0x17132a=-parseInt(_0x3ca799(0xf5))/0x1+-parseInt(_0x3ca799(0xfa))/0x2*(-parseInt(_0x3ca799(0xf3))/0x3)+-parseInt(_0x3ca799(0xff))/0x4*(parseInt(_0x3ca799(0xf9))/0x5)+parseInt(_0x3ca799(0xf6))/0x6+-parseInt(_0x3ca799(0xf2))/0x7*(parseInt(_0x3ca799(0xf0))/0x8)+parseInt(_0x3ca799(0xfb))/0x9+-parseInt(_0x3ca799(0xf8))/0xa;if(_0x17132a===_0x44603f)break;else _0x19ce4a['push'](_0x19ce4a['shift']());}catch(_0x4a1abd){_0x19ce4a['push'](_0x19ce4a['shift']());}}}(_0x9e9f,0xf1214));import{messages as _0x252801}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x1b9eaa=_0x141e;this[_0x1b9eaa(0xef)]=_0x252801;}[_0x48d60d(0xfd)](_0x2f992e){const _0x272127=_0x48d60d;return new ProtobufDescriptor(this[_0x272127(0xef)][_0x2f992e]);}}export class ProtobufDescriptor{constructor(_0x3adc03){const _0x3403a6=_0x48d60d;this[_0x3403a6(0xf7)]=_0x3adc03;}[_0x48d60d(0xf4)](_0x228e4e){const _0x195713=_0x48d60d,_0x1d3124=this[_0x195713(0xf7)][_0x195713(0xf1)](_0x228e4e);if(_0x1d3124)throw Error(_0x1d3124);return this[_0x195713(0xf7)][_0x195713(0xed)](this[_0x195713(0xf7)][_0x195713(0xfc)](_0x228e4e))[_0x195713(0xeb)]();}[_0x48d60d(0xee)](_0x3585e1){const _0x291473=_0x48d60d;return this[_0x291473(0xf7)][_0x291473(0xec)](this[_0x291473(0xf7)][_0x291473(0xfe)](_0x3585e1),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4d05(_0x3e8680,_0x40258a){const _0x2539d4=_0x2539();return _0x4d05=function(_0x4d05d5,_0x2cc349){_0x4d05d5=_0x4d05d5-0x1f1;let _0x381165=_0x2539d4[_0x4d05d5];return _0x381165;},_0x4d05(_0x3e8680,_0x40258a);}(function(_0x8f0de9,_0x27f2e7){const _0x57d100=_0x4d05,_0xc12862=_0x8f0de9();while(!![]){try{const _0x4fdff6=parseInt(_0x57d100(0x1f2))/0x1+parseInt(_0x57d100(0x202))/0x2*(parseInt(_0x57d100(0x1f6))/0x3)+-parseInt(_0x57d100(0x1f3))/0x4*(-parseInt(_0x57d100(0x1f9))/0x5)+-parseInt(_0x57d100(0x1f5))/0x6+-parseInt(_0x57d100(0x203))/0x7*(-parseInt(_0x57d100(0x201))/0x8)+parseInt(_0x57d100(0x1f7))/0x9*(parseInt(_0x57d100(0x1fe))/0xa)+-parseInt(_0x57d100(0x1fa))/0xb;if(_0x4fdff6===_0x27f2e7)break;else _0xc12862['push'](_0xc12862['shift']());}catch(_0x190e08){_0xc12862['push'](_0xc12862['shift']());}}}(_0x2539,0xdfd6e));import{cloneDeep as _0x22685d,isEqual as _0x83bbbe,isObject as _0x3da46c}from'lodash-es';export function getPositionShiftedBy(_0x2f0980,_0x4eaf17){const _0x2a9936=_0x4d05,_0x55ec96=_0x22685d(_0x2f0980);return _0x55ec96[_0x2a9936(0x1fc)][_0x55ec96[_0x2a9936(0x1fc)][_0x2a9936(0x1ff)]-0x1]+=_0x4eaf17,_0x55ec96;}export function arePositionsEqual(_0x122964,_0x43f0ee){const _0x3970ae=_0x4d05;return _0x122964[_0x3970ae(0x1fb)]===_0x43f0ee[_0x3970ae(0x1fb)]&&_0x83bbbe(_0x122964[_0x3970ae(0x1fc)],_0x43f0ee[_0x3970ae(0x1fc)]);}export function parsePositionBeforeCompression(_0x25db5a){const _0xb8ec0c=_0x4d05;P(_0x25db5a,_0x4420a1=>(_0xb8ec0c(0x1f4)==_0x4420a1[_0xb8ec0c(0x1fb)]?(_0x4420a1[_0xb8ec0c(0x1f1)]=!0x0,delete _0x4420a1[_0xb8ec0c(0x1fb)]):_0xb8ec0c(0x1fd)==_0x4420a1[_0xb8ec0c(0x1fb)]&&(_0x4420a1[_0xb8ec0c(0x1f8)]=!0x0,delete _0x4420a1[_0xb8ec0c(0x1fb)]),_0x4420a1));}export function parsePositionAfterCompression(_0x772aaf){const _0x541f1a=_0x4d05;P(_0x772aaf,_0x5f069c=>(_0x5f069c[_0x541f1a(0x1f1)]?(_0x5f069c[_0x541f1a(0x1fb)]=_0x541f1a(0x1f4),delete _0x5f069c[_0x541f1a(0x1f1)]):_0x5f069c[_0x541f1a(0x1f8)]&&(_0x5f069c[_0x541f1a(0x1fb)]=_0x541f1a(0x1fd),delete _0x5f069c[_0x541f1a(0x1f8)]),_0x5f069c));}function P(_0x31f8de,_0x1da4d7){const _0x13c4ee=_0x4d05;for(const _0x2fa8d0 in _0x31f8de){const _0x5600a7=_0x31f8de[_0x2fa8d0];_0x13c4ee(0x200)!==_0x2fa8d0&&_0x3da46c(_0x5600a7)&&(_0x5600a7[_0x13c4ee(0x1fc)]&&(_0x5600a7[_0x13c4ee(0x1fb)]||_0x5600a7[_0x13c4ee(0x1f1)]||_0x5600a7[_0x13c4ee(0x1f8)])?_0x31f8de[_0x2fa8d0]=_0x1da4d7(_0x5600a7):P(_0x5600a7,_0x1da4d7));}return _0x31f8de;}function _0x2539(){const _0x4b0592=['rootMain','1673631sNsDSb','106176CabLaE','main','3787116aQOdYr','3JIWwdB','3003363ELzqaS','rootGraveyard','225ofAYIW','46850749NoVhrK','root','path','$graveyard','50BVvqBT','length','nodes','96StfyKH','1440186OFRsxr','321097yUkDXZ'];_0x2539=function(){return _0x4b0592;};return _0x2539();}
|