@ckeditor/ckeditor5-operations-compressor 43.2.0-alpha.7 → 43.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
|
-
var
|
|
23
|
+
function _0x511b(){var _0x31799a=['push','8FuHmND','720702otdBTE','12jxateO','compress','12PIbDxJ','4742822ktGqdR','259440gsFEEu','_operationName','30msGRnV','decompress','_id','shift','218750XOLyqG','types','959664MrBeoq','10289323JciSRP','38yomkpL','82ukBPgK'];_0x511b=function(){return _0x31799a;};return _0x511b();}function _0x1fa8(_0x3d9f63,_0x501e9f){var _0x511b52=_0x511b();return _0x1fa8=function(_0x1fa8b7,_0x544771){_0x1fa8b7=_0x1fa8b7-0x1e7;var _0x247cbc=_0x511b52[_0x1fa8b7];return _0x247cbc;},_0x1fa8(_0x3d9f63,_0x501e9f);}var _0x17f3a8=_0x1fa8;(function(_0x18a0ff,_0x585dd5){var _0xcb82e6=_0x1fa8,_0x5bb1e9=_0x18a0ff();while(!![]){try{var _0x25e470=parseInt(_0xcb82e6(0x1f3))/0x1*(-parseInt(_0xcb82e6(0x1f4))/0x2)+-parseInt(_0xcb82e6(0x1e9))/0x3*(-parseInt(_0xcb82e6(0x1f8))/0x4)+-parseInt(_0xcb82e6(0x1ef))/0x5+parseInt(_0xcb82e6(0x1f1))/0x6+-parseInt(_0xcb82e6(0x1e8))/0x7*(-parseInt(_0xcb82e6(0x1f6))/0x8)+-parseInt(_0xcb82e6(0x1f7))/0x9*(-parseInt(_0xcb82e6(0x1eb))/0xa)+parseInt(_0xcb82e6(0x1f2))/0xb*(-parseInt(_0xcb82e6(0x1e7))/0xc);if(_0x25e470===_0x585dd5)break;else _0x5bb1e9['push'](_0x5bb1e9['shift']());}catch(_0x49a881){_0x5bb1e9['push'](_0x5bb1e9['shift']());}}}(_0x511b,0x5706f));import _0x1d6510 from'./operationcompressor.js';export default class p extends _0x1d6510{[_0x17f3a8(0x1f9)](_0x3f78b7,_0x2f48ed){var _0x3eae29=_0x17f3a8;return _0x2f48ed[_0x3eae29(0x1ee)](),_0x3f78b7[_0x3eae29(0x1f0)][_0x3eae29(0x1f5)](this[_0x3eae29(0x1ed)]),!0x0;}[_0x17f3a8(0x1ec)](_0x401da1,_0xfdd192){var _0x5b0018=_0x17f3a8;_0xfdd192[_0x5b0018(0x1f0)][_0x5b0018(0x1ee)](),_0x401da1[_0x5b0018(0x1f5)]({'__className':this[_0x5b0018(0x1ea)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x9112(){const _0x146e5d=['types','buffers','253458gKrPDh','36856MOdMSw','compress','1344BtOvrh','shift','__className','985548iAIwVP','_protobufDescriptor','1552135oPkBCg','decompress','_operationName','push','1653400hBqxuG','7512QIlqaJ','247716DmqMsm','_id'];_0x9112=function(){return _0x146e5d;};return _0x9112();}const _0x172046=_0x70b2;function _0x70b2(_0x358a62,_0x53ab6a){const _0x9112f3=_0x9112();return _0x70b2=function(_0x70b221,_0x121b12){_0x70b221=_0x70b221-0x71;let _0x4e97c2=_0x9112f3[_0x70b221];return _0x4e97c2;},_0x70b2(_0x358a62,_0x53ab6a);}(function(_0x12a6b8,_0x1b88ce){const _0x207735=_0x70b2,_0x180784=_0x12a6b8();while(!![]){try{const _0x20ae51=-parseInt(_0x207735(0x7e))/0x1+parseInt(_0x207735(0x7d))/0x2+parseInt(_0x207735(0x76))/0x3+-parseInt(_0x207735(0x7c))/0x4+-parseInt(_0x207735(0x78))/0x5+parseInt(_0x207735(0x82))/0x6+-parseInt(_0x207735(0x73))/0x7*(-parseInt(_0x207735(0x71))/0x8);if(_0x20ae51===_0x1b88ce)break;else _0x180784['push'](_0x180784['shift']());}catch(_0x472f03){_0x180784['push'](_0x180784['shift']());}}}(_0x9112,0x4634e));import{parsePositionBeforeCompression as _0x49f159,parsePositionAfterCompression as _0x425f6e}from'../utils.js';export default class e{constructor(_0x4f95c8,_0x728576,_0x20393b){const _0x2a60f7=_0x70b2;this[_0x2a60f7(0x7f)]=_0x4f95c8,this[_0x2a60f7(0x7a)]=_0x728576,this[_0x2a60f7(0x77)]=_0x20393b;}[_0x172046(0x72)](_0x4c7b39,_0x90f8f4){const _0x2e0cc6=_0x172046,_0x3c9d2d=_0x90f8f4[_0x2e0cc6(0x74)]();return _0x49f159(_0x3c9d2d),_0x4c7b39[_0x2e0cc6(0x81)][_0x2e0cc6(0x7b)](this[_0x2e0cc6(0x77)][_0x2e0cc6(0x72)](_0x3c9d2d)),_0x4c7b39[_0x2e0cc6(0x80)][_0x2e0cc6(0x7b)](this[_0x2e0cc6(0x7f)]),!0x0;}[_0x172046(0x79)](_0x2a34f7,_0x5e3edb){const _0x48b4e1=_0x172046;_0x5e3edb[_0x48b4e1(0x80)][_0x48b4e1(0x74)]();const _0x2a5f94=this[_0x48b4e1(0x77)][_0x48b4e1(0x79)](_0x5e3edb[_0x48b4e1(0x81)][_0x48b4e1(0x74)]());_0x425f6e(_0x2a5f94),_0x2a5f94[_0x48b4e1(0x75)]=this[_0x48b4e1(0x7a)],_0x2a34f7[_0x48b4e1(0x7b)](_0x2a5f94);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5984(_0x3de2d4,_0x22c1c6){const _0x470960=_0x4709();return _0x5984=function(_0x5984c7,_0x1738ed){_0x5984c7=_0x5984c7-0xc2;let _0x132a32=_0x470960[_0x5984c7];return _0x132a32;},_0x5984(_0x3de2d4,_0x22c1c6);}const _0x509899=_0x5984;(function(_0x5318ab,_0x6e7da9){const _0x152173=_0x5984,_0x497dff=_0x5318ab();while(!![]){try{const _0xf2265=-parseInt(_0x152173(0xd8))/0x1*(-parseInt(_0x152173(0xcb))/0x2)+-parseInt(_0x152173(0xd7))/0x3*(-parseInt(_0x152173(0xd9))/0x4)+parseInt(_0x152173(0xc7))/0x5*(-parseInt(_0x152173(0xd0))/0x6)+-parseInt(_0x152173(0xd5))/0x7*(-parseInt(_0x152173(0xc4))/0x8)+-parseInt(_0x152173(0xca))/0x9*(-parseInt(_0x152173(0xc5))/0xa)+-parseInt(_0x152173(0xc8))/0xb*(-parseInt(_0x152173(0xcc))/0xc)+-parseInt(_0x152173(0xd3))/0xd;if(_0xf2265===_0x6e7da9)break;else _0x497dff['push'](_0x497dff['shift']());}catch(_0x1cd51c){_0x497dff['push'](_0x497dff['shift']());}}}(_0x4709,0x9db84));import{messages as _0x12d19e}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x51ced2=_0x5984;this[_0x51ced2(0xc3)]=_0x12d19e;}[_0x509899(0xd2)](_0x2c5d14){const _0x4db07f=_0x509899;return new ProtobufDescriptor(this[_0x4db07f(0xc3)][_0x2c5d14]);}}function _0x4709(){const _0x4821f9=['45621953wSnMcn','verify','4179hnJlMz','create','3584850vOReou','25297QrHXzd','4JyLlXO','encode','_protobufRoot','7352cnIiSS','24350BBVQXq','_protobuf','5DJAHia','704mVNEYi','compress','4086LUVTsS','94pRvpCv','229368JShRhU','decode','finish','toObject','6635622HZXDBB','decompress','getDescriptor'];_0x4709=function(){return _0x4821f9;};return _0x4709();}export class ProtobufDescriptor{constructor(_0x22b636){const _0x50c9f0=_0x509899;this[_0x50c9f0(0xc6)]=_0x22b636;}[_0x509899(0xc9)](_0x29f355){const _0x3f364f=_0x509899,_0x935e32=this[_0x3f364f(0xc6)][_0x3f364f(0xd4)](_0x29f355);if(_0x935e32)throw Error(_0x935e32);return this[_0x3f364f(0xc6)][_0x3f364f(0xc2)](this[_0x3f364f(0xc6)][_0x3f364f(0xd6)](_0x29f355))[_0x3f364f(0xce)]();}[_0x509899(0xd1)](_0x54645e){const _0x4098d3=_0x509899;return this[_0x4098d3(0xc6)][_0x4098d3(0xcf)](this[_0x4098d3(0xc6)][_0x4098d3(0xcd)](_0x54645e),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2a16fc,_0x5eb12f){const _0x39bccf=_0x162a,_0x57ce73=_0x2a16fc();while(!![]){try{const _0x424f22=-parseInt(_0x39bccf(0x143))/0x1+-parseInt(_0x39bccf(0x138))/0x2*(parseInt(_0x39bccf(0x139))/0x3)+parseInt(_0x39bccf(0x137))/0x4*(-parseInt(_0x39bccf(0x13d))/0x5)+parseInt(_0x39bccf(0x144))/0x6+-parseInt(_0x39bccf(0x145))/0x7*(parseInt(_0x39bccf(0x13b))/0x8)+parseInt(_0x39bccf(0x147))/0x9*(parseInt(_0x39bccf(0x142))/0xa)+-parseInt(_0x39bccf(0x13a))/0xb*(-parseInt(_0x39bccf(0x141))/0xc);if(_0x424f22===_0x5eb12f)break;else _0x57ce73['push'](_0x57ce73['shift']());}catch(_0x364944){_0x57ce73['push'](_0x57ce73['shift']());}}}(_0x3c9f,0x947c1));import{cloneDeep as _0x4d2a7d,isEqual as _0x2bd557,isObject as _0xb8dc5f}from'lodash-es';function _0x3c9f(){const _0x81e9b=['rootMain','length','3291204YawbQQ','10RnmgIq','202282VPqUdD','6262104IHYLev','73227YQpqBc','main','1327716yOuSSh','root','$graveyard','path','4IitcBS','4QQDyOf','850503NXuBon','77sWKrUb','856dgwNtV','nodes','3071365GrpFcK','rootGraveyard'];_0x3c9f=function(){return _0x81e9b;};return _0x3c9f();}export function getPositionShiftedBy(_0x1825a8,_0x301294){const _0x53374a=_0x162a,_0x39e052=_0x4d2a7d(_0x1825a8);return _0x39e052[_0x53374a(0x136)][_0x39e052[_0x53374a(0x136)][_0x53374a(0x140)]-0x1]+=_0x301294,_0x39e052;}function _0x162a(_0x1f00c6,_0x381f86){const _0x3c9faa=_0x3c9f();return _0x162a=function(_0x162a46,_0x352232){_0x162a46=_0x162a46-0x135;let _0x244077=_0x3c9faa[_0x162a46];return _0x244077;},_0x162a(_0x1f00c6,_0x381f86);}export function arePositionsEqual(_0x6c471e,_0x59e904){const _0x2c731f=_0x162a;return _0x6c471e[_0x2c731f(0x148)]===_0x59e904[_0x2c731f(0x148)]&&_0x2bd557(_0x6c471e[_0x2c731f(0x136)],_0x59e904[_0x2c731f(0x136)]);}export function parsePositionBeforeCompression(_0x1cabd8){const _0xafb601=_0x162a;P(_0x1cabd8,_0x3e1782=>(_0xafb601(0x146)==_0x3e1782[_0xafb601(0x148)]?(_0x3e1782[_0xafb601(0x13f)]=!0x0,delete _0x3e1782[_0xafb601(0x148)]):_0xafb601(0x135)==_0x3e1782[_0xafb601(0x148)]&&(_0x3e1782[_0xafb601(0x13e)]=!0x0,delete _0x3e1782[_0xafb601(0x148)]),_0x3e1782));}export function parsePositionAfterCompression(_0x54cf57){const _0x41782e=_0x162a;P(_0x54cf57,_0x3ae9a6=>(_0x3ae9a6[_0x41782e(0x13f)]?(_0x3ae9a6[_0x41782e(0x148)]=_0x41782e(0x146),delete _0x3ae9a6[_0x41782e(0x13f)]):_0x3ae9a6[_0x41782e(0x13e)]&&(_0x3ae9a6[_0x41782e(0x148)]=_0x41782e(0x135),delete _0x3ae9a6[_0x41782e(0x13e)]),_0x3ae9a6));}function P(_0xae2240,_0x488cdd){const _0x3f1277=_0x162a;for(const _0x3dfdf2 in _0xae2240){const _0x283f95=_0xae2240[_0x3dfdf2];_0x3f1277(0x13c)!==_0x3dfdf2&&_0xb8dc5f(_0x283f95)&&(_0x283f95[_0x3f1277(0x136)]&&(_0x283f95[_0x3f1277(0x148)]||_0x283f95[_0x3f1277(0x13f)]||_0x283f95[_0x3f1277(0x13e)])?_0xae2240[_0x3dfdf2]=_0x488cdd(_0x283f95):P(_0x283f95,_0x488cdd));}return _0xae2240;}
|