@ckeditor/ckeditor5-operations-compressor 43.3.0-alpha.7 → 43.3.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
|
-
var
|
|
23
|
+
var _0x5897f6=_0x5a8d;function _0x5a8d(_0x72a3d5,_0x23bff2){var _0x4f6780=_0x4f67();return _0x5a8d=function(_0x5a8de0,_0x358843){_0x5a8de0=_0x5a8de0-0x155;var _0x55a235=_0x4f6780[_0x5a8de0];return _0x55a235;},_0x5a8d(_0x72a3d5,_0x23bff2);}(function(_0x15b337,_0x26a5c7){var _0x56e696=_0x5a8d,_0x562a67=_0x15b337();while(!![]){try{var _0x49d95e=parseInt(_0x56e696(0x165))/0x1*(-parseInt(_0x56e696(0x161))/0x2)+parseInt(_0x56e696(0x15f))/0x3*(parseInt(_0x56e696(0x157))/0x4)+-parseInt(_0x56e696(0x162))/0x5*(parseInt(_0x56e696(0x159))/0x6)+-parseInt(_0x56e696(0x166))/0x7+parseInt(_0x56e696(0x158))/0x8+-parseInt(_0x56e696(0x15c))/0x9*(parseInt(_0x56e696(0x163))/0xa)+-parseInt(_0x56e696(0x160))/0xb*(-parseInt(_0x56e696(0x15e))/0xc);if(_0x49d95e===_0x26a5c7)break;else _0x562a67['push'](_0x562a67['shift']());}catch(_0x28da39){_0x562a67['push'](_0x562a67['shift']());}}}(_0x4f67,0x1ebb3));import _0x538c00 from'./operationcompressor.js';function _0x4f67(){var _0x1e0bd0=['shift','48588sdZcFX','1987224aNeIam','33636beiITC','compress','decompress','558RayLpA','push','86508tSwNkS','30sGoaUR','297EzCnGk','9226zwXWKC','30TNgkKi','11260oUEaGg','_id','48amcLhf','796383BKLwsZ','types','_operationName'];_0x4f67=function(){return _0x1e0bd0;};return _0x4f67();}export default class p extends _0x538c00{[_0x5897f6(0x15a)](_0xd716d7,_0x194a10){var _0xea419b=_0x5897f6;return _0x194a10[_0xea419b(0x156)](),_0xd716d7[_0xea419b(0x167)][_0xea419b(0x15d)](this[_0xea419b(0x164)]),!0x0;}[_0x5897f6(0x15b)](_0x2a13e2,_0x346006){var _0x3b7446=_0x5897f6;_0x346006[_0x3b7446(0x167)][_0x3b7446(0x156)](),_0x2a13e2[_0x3b7446(0x15d)]({'__className':this[_0x3b7446(0x155)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x24d55a=_0x305b;function _0x305b(_0x1ddba9,_0x28bfab){const _0x18b516=_0x18b5();return _0x305b=function(_0x305bb7,_0x2fc0d2){_0x305bb7=_0x305bb7-0x8a;let _0x5e8511=_0x18b516[_0x305bb7];return _0x5e8511;},_0x305b(_0x1ddba9,_0x28bfab);}function _0x18b5(){const _0x574224=['6wJEKDH','types','__className','_protobufDescriptor','shift','17355252wWUhmB','168392dNLnYs','_operationName','_id','2986unXqrI','compress','7567065nIydos','1498605fUqljb','18igIXwH','172377JCgLfE','1477932zTLLpN','decompress','buffers','push','6QiIrZp','140iSuHTt','49vkGikT'];_0x18b5=function(){return _0x574224;};return _0x18b5();}(function(_0x1e8db5,_0x4ce21d){const _0x5e19e5=_0x305b,_0x2107c0=_0x1e8db5();while(!![]){try{const _0x39a637=-parseInt(_0x5e19e5(0x94))/0x1*(parseInt(_0x5e19e5(0x8b))/0x2)+-parseInt(_0x5e19e5(0x9e))/0x3*(-parseInt(_0x5e19e5(0x9a))/0x4)+-parseInt(_0x5e19e5(0x97))/0x5*(parseInt(_0x5e19e5(0x98))/0x6)+parseInt(_0x5e19e5(0x8a))/0x7*(parseInt(_0x5e19e5(0x91))/0x8)+-parseInt(_0x5e19e5(0x99))/0x9*(parseInt(_0x5e19e5(0x9f))/0xa)+-parseInt(_0x5e19e5(0x96))/0xb+parseInt(_0x5e19e5(0x90))/0xc;if(_0x39a637===_0x4ce21d)break;else _0x2107c0['push'](_0x2107c0['shift']());}catch(_0x57a573){_0x2107c0['push'](_0x2107c0['shift']());}}}(_0x18b5,0x725b2));import{parsePositionBeforeCompression as _0xffc3b3,parsePositionAfterCompression as _0x568752}from'../utils.js';export default class e{constructor(_0x22ad6a,_0x51b175,_0x2caaf4){const _0x45349e=_0x305b;this[_0x45349e(0x93)]=_0x22ad6a,this[_0x45349e(0x92)]=_0x51b175,this[_0x45349e(0x8e)]=_0x2caaf4;}[_0x24d55a(0x95)](_0x46ef66,_0x5caf08){const _0x2a75d3=_0x24d55a,_0x1b5274=_0x5caf08[_0x2a75d3(0x8f)]();return _0xffc3b3(_0x1b5274),_0x46ef66[_0x2a75d3(0x9c)][_0x2a75d3(0x9d)](this[_0x2a75d3(0x8e)][_0x2a75d3(0x95)](_0x1b5274)),_0x46ef66[_0x2a75d3(0x8c)][_0x2a75d3(0x9d)](this[_0x2a75d3(0x93)]),!0x0;}[_0x24d55a(0x9b)](_0x525130,_0x46b27b){const _0x258396=_0x24d55a;_0x46b27b[_0x258396(0x8c)][_0x258396(0x8f)]();const _0x22c1c8=this[_0x258396(0x8e)][_0x258396(0x9b)](_0x46b27b[_0x258396(0x9c)][_0x258396(0x8f)]());_0x568752(_0x22c1c8),_0x22c1c8[_0x258396(0x8d)]=this[_0x258396(0x92)],_0x525130[_0x258396(0x9d)](_0x22c1c8);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2e834e=_0x3748;(function(_0x58917b,_0x2c0ba8){const _0x10f516=_0x3748,_0x57a228=_0x58917b();while(!![]){try{const _0x52bab8=parseInt(_0x10f516(0xfb))/0x1*(-parseInt(_0x10f516(0x108))/0x2)+-parseInt(_0x10f516(0x10a))/0x3*(parseInt(_0x10f516(0xf8))/0x4)+-parseInt(_0x10f516(0xfa))/0x5+parseInt(_0x10f516(0x106))/0x6+parseInt(_0x10f516(0xfe))/0x7+parseInt(_0x10f516(0x103))/0x8*(-parseInt(_0x10f516(0x102))/0x9)+parseInt(_0x10f516(0x101))/0xa;if(_0x52bab8===_0x2c0ba8)break;else _0x57a228['push'](_0x57a228['shift']());}catch(_0x20e3fa){_0x57a228['push'](_0x57a228['shift']());}}}(_0x3939,0xdccc5));function _0x3748(_0x3fff4b,_0x2f0134){const _0x393982=_0x3939();return _0x3748=function(_0x37480c,_0x38c2a6){_0x37480c=_0x37480c-0xf7;let _0x47d160=_0x393982[_0x37480c];return _0x47d160;},_0x3748(_0x3fff4b,_0x2f0134);}import{messages as _0x1912ca}from'./lib/compiledmessages.js';function _0x3939(){const _0x44589e=['3429333AexMiH','16FwZbZV','verify','create','1844268EnAIDE','decode','34jzaLNN','_protobufRoot','13968qGGZjq','decompress','toObject','8RGfeZP','encode','8304910BjJOPA','56401cAtrTA','_protobuf','getDescriptor','12152819BwhGux','finish','compress','22520790CZUJHl'];_0x3939=function(){return _0x44589e;};return _0x3939();}export default class r{constructor(){const _0x123c3e=_0x3748;this[_0x123c3e(0x109)]=_0x1912ca;}[_0x2e834e(0xfd)](_0x5d393d){const _0x9fd107=_0x2e834e;return new ProtobufDescriptor(this[_0x9fd107(0x109)][_0x5d393d]);}}export class ProtobufDescriptor{constructor(_0xc7dec0){const _0x2e40ba=_0x2e834e;this[_0x2e40ba(0xfc)]=_0xc7dec0;}[_0x2e834e(0x100)](_0x17645a){const _0x3099c8=_0x2e834e,_0x35c913=this[_0x3099c8(0xfc)][_0x3099c8(0x104)](_0x17645a);if(_0x35c913)throw Error(_0x35c913);return this[_0x3099c8(0xfc)][_0x3099c8(0xf9)](this[_0x3099c8(0xfc)][_0x3099c8(0x105)](_0x17645a))[_0x3099c8(0xff)]();}[_0x2e834e(0x10b)](_0x500b35){const _0x4d85e1=_0x2e834e;return this[_0x4d85e1(0xfc)][_0x4d85e1(0xf7)](this[_0x4d85e1(0xfc)][_0x4d85e1(0x107)](_0x500b35),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x518205,_0x316ffc){const _0x394064=_0x4107,_0xea491=_0x518205();while(!![]){try{const _0x8c8184=parseInt(_0x394064(0x1bf))/0x1*(-parseInt(_0x394064(0x1c1))/0x2)+-parseInt(_0x394064(0x1c3))/0x3+parseInt(_0x394064(0x1c4))/0x4+-parseInt(_0x394064(0x1b9))/0x5+parseInt(_0x394064(0x1b5))/0x6+parseInt(_0x394064(0x1b8))/0x7*(-parseInt(_0x394064(0x1c5))/0x8)+parseInt(_0x394064(0x1bd))/0x9;if(_0x8c8184===_0x316ffc)break;else _0xea491['push'](_0xea491['shift']());}catch(_0x4de15f){_0xea491['push'](_0xea491['shift']());}}}(_0x5d49,0x81d38));import{cloneDeep as _0x426dd2,isEqual as _0x261612,isObject as _0x1280af}from'lodash-es';export function getPositionShiftedBy(_0x315093,_0x22b9da){const _0x540029=_0x4107,_0x18e5b4=_0x426dd2(_0x315093);return _0x18e5b4[_0x540029(0x1b6)][_0x18e5b4[_0x540029(0x1b6)][_0x540029(0x1bb)]-0x1]+=_0x22b9da,_0x18e5b4;}function _0x5d49(){const _0x499cf4=['3286528MOcnQM','4730896VrEpBk','439266yGvaAB','path','$graveyard','7RPaUxZ','1687925aVxxIg','rootMain','length','root','10558143glYDQe','rootGraveyard','18PiWWON','main','63958iwQUlw','nodes','94899bcSxQw'];_0x5d49=function(){return _0x499cf4;};return _0x5d49();}export function arePositionsEqual(_0x1c2107,_0x156326){const _0x455ac0=_0x4107;return _0x1c2107[_0x455ac0(0x1bc)]===_0x156326[_0x455ac0(0x1bc)]&&_0x261612(_0x1c2107[_0x455ac0(0x1b6)],_0x156326[_0x455ac0(0x1b6)]);}export function parsePositionBeforeCompression(_0x5b3f6c){const _0x383df4=_0x4107;P(_0x5b3f6c,_0x3f2e00=>(_0x383df4(0x1c0)==_0x3f2e00[_0x383df4(0x1bc)]?(_0x3f2e00[_0x383df4(0x1ba)]=!0x0,delete _0x3f2e00[_0x383df4(0x1bc)]):_0x383df4(0x1b7)==_0x3f2e00[_0x383df4(0x1bc)]&&(_0x3f2e00[_0x383df4(0x1be)]=!0x0,delete _0x3f2e00[_0x383df4(0x1bc)]),_0x3f2e00));}export function parsePositionAfterCompression(_0x4a1185){const _0x267c84=_0x4107;P(_0x4a1185,_0x1007e7=>(_0x1007e7[_0x267c84(0x1ba)]?(_0x1007e7[_0x267c84(0x1bc)]=_0x267c84(0x1c0),delete _0x1007e7[_0x267c84(0x1ba)]):_0x1007e7[_0x267c84(0x1be)]&&(_0x1007e7[_0x267c84(0x1bc)]=_0x267c84(0x1b7),delete _0x1007e7[_0x267c84(0x1be)]),_0x1007e7));}function _0x4107(_0x2c0830,_0x150a92){const _0x5d491f=_0x5d49();return _0x4107=function(_0x4107b7,_0x31aeb0){_0x4107b7=_0x4107b7-0x1b5;let _0x5f03d1=_0x5d491f[_0x4107b7];return _0x5f03d1;},_0x4107(_0x2c0830,_0x150a92);}function P(_0x1d9a95,_0x1abc38){const _0x45b860=_0x4107;for(const _0xe63653 in _0x1d9a95){const _0x2933b9=_0x1d9a95[_0xe63653];_0x45b860(0x1c2)!==_0xe63653&&_0x1280af(_0x2933b9)&&(_0x2933b9[_0x45b860(0x1b6)]&&(_0x2933b9[_0x45b860(0x1bc)]||_0x2933b9[_0x45b860(0x1ba)]||_0x2933b9[_0x45b860(0x1be)])?_0x1d9a95[_0xe63653]=_0x1abc38(_0x2933b9):P(_0x2933b9,_0x1abc38));}return _0x1d9a95;}
|