@ckeditor/ckeditor5-operations-compressor 45.1.0-alpha.6 → 45.1.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
|
-
|
|
23
|
+
function _0x302b(_0x1d465d,_0x3fa57f){var _0x565de9=_0x565d();return _0x302b=function(_0x302b49,_0x27473d){_0x302b49=_0x302b49-0x179;var _0x51945a=_0x565de9[_0x302b49];return _0x51945a;},_0x302b(_0x1d465d,_0x3fa57f);}function _0x565d(){var _0x455b7e=['shift','11931216HaxuTc','push','compress','1632837bCaEFn','decompress','797728DuMwzR','types','_operationName','1343110kvPXxV','_id','3pAxHKn','1903650wQPAmS','242332UEKHLY','587814eflufm'];_0x565d=function(){return _0x455b7e;};return _0x565d();}var _0x33929f=_0x302b;(function(_0x2a0cd2,_0x372047){var _0x2a6a90=_0x302b,_0xa84d49=_0x2a0cd2();while(!![]){try{var _0x18decf=parseInt(_0x2a6a90(0x17a))/0x1*(-parseInt(_0x2a6a90(0x17c))/0x2)+-parseInt(_0x2a6a90(0x182))/0x3+-parseInt(_0x2a6a90(0x184))/0x4+-parseInt(_0x2a6a90(0x187))/0x5+-parseInt(_0x2a6a90(0x17d))/0x6+parseInt(_0x2a6a90(0x17b))/0x7+parseInt(_0x2a6a90(0x17f))/0x8;if(_0x18decf===_0x372047)break;else _0xa84d49['push'](_0xa84d49['shift']());}catch(_0x406b40){_0xa84d49['push'](_0xa84d49['shift']());}}}(_0x565d,0x46b10));import _0xb04436 from'./operationcompressor.js';export default class p extends _0xb04436{[_0x33929f(0x181)](_0xc0a44b,_0x52e759){var _0x9ce8a6=_0x33929f;return _0x52e759[_0x9ce8a6(0x17e)](),_0xc0a44b[_0x9ce8a6(0x185)][_0x9ce8a6(0x180)](this[_0x9ce8a6(0x179)]),!0x0;}[_0x33929f(0x183)](_0x20059a,_0x2c9089){var _0x436cb0=_0x33929f;_0x2c9089[_0x436cb0(0x185)][_0x436cb0(0x17e)](),_0x20059a[_0x436cb0(0x180)]({'__className':this[_0x436cb0(0x186)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8e20e4=_0x1dab;function _0x1c71(){const _0x5327f3=['_operationName','3308418GPlpNh','push','837710ucAaZv','692573boTIrE','722875nJYDgl','types','compress','97809jUAmti','buffers','377446NlmZoS','shift','__className','36fRWCqG','_id','_protobufDescriptor','decompress','1208888rbYAnQ'];_0x1c71=function(){return _0x5327f3;};return _0x1c71();}function _0x1dab(_0x1fa3e3,_0x140bc5){const _0x1c715d=_0x1c71();return _0x1dab=function(_0x1dabac,_0xe1cf2e){_0x1dabac=_0x1dabac-0x1ac;let _0x365416=_0x1c715d[_0x1dabac];return _0x365416;},_0x1dab(_0x1fa3e3,_0x140bc5);}(function(_0x4a5ac8,_0x5a7175){const _0x3f89d7=_0x1dab,_0x41f008=_0x4a5ac8();while(!![]){try{const _0x41bb30=parseInt(_0x3f89d7(0x1ad))/0x1+-parseInt(_0x3f89d7(0x1b8))/0x2+-parseInt(_0x3f89d7(0x1bd))/0x3*(parseInt(_0x3f89d7(0x1b0))/0x4)+parseInt(_0x3f89d7(0x1ba))/0x5+parseInt(_0x3f89d7(0x1b6))/0x6+parseInt(_0x3f89d7(0x1b9))/0x7+-parseInt(_0x3f89d7(0x1b4))/0x8;if(_0x41bb30===_0x5a7175)break;else _0x41f008['push'](_0x41f008['shift']());}catch(_0x18c551){_0x41f008['push'](_0x41f008['shift']());}}}(_0x1c71,0x4b6ea));import{parsePositionBeforeCompression as _0x39324e,parsePositionAfterCompression as _0x506322}from'../utils.js';export default class e{[_0x8e20e4(0x1b1)];[_0x8e20e4(0x1b5)];[_0x8e20e4(0x1b2)];constructor(_0xd6b156,_0x3d943f,_0x20eede){const _0x15ae27=_0x8e20e4;this[_0x15ae27(0x1b1)]=_0xd6b156,this[_0x15ae27(0x1b5)]=_0x3d943f,this[_0x15ae27(0x1b2)]=_0x20eede;}[_0x8e20e4(0x1bc)](_0x33b47e,_0x3bd235){const _0x5b93c7=_0x8e20e4,_0x3eb05f=_0x3bd235[_0x5b93c7(0x1ae)]();return _0x39324e(_0x3eb05f),_0x33b47e[_0x5b93c7(0x1ac)][_0x5b93c7(0x1b7)](this[_0x5b93c7(0x1b2)][_0x5b93c7(0x1bc)](_0x3eb05f)),_0x33b47e[_0x5b93c7(0x1bb)][_0x5b93c7(0x1b7)](this[_0x5b93c7(0x1b1)]),!0x0;}[_0x8e20e4(0x1b3)](_0x1c8d30,_0x16eed9){const _0x3147fd=_0x8e20e4;_0x16eed9[_0x3147fd(0x1bb)][_0x3147fd(0x1ae)]();const _0x364995=this[_0x3147fd(0x1b2)][_0x3147fd(0x1b3)](_0x16eed9[_0x3147fd(0x1ac)][_0x3147fd(0x1ae)]());_0x506322(_0x364995),_0x364995[_0x3147fd(0x1af)]=this[_0x3147fd(0x1b5)],_0x1c8d30[_0x3147fd(0x1b7)](_0x364995);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x23e3(_0xaf204b,_0x569752){const _0x377d1d=_0x377d();return _0x23e3=function(_0x23e3f8,_0x504dc4){_0x23e3f8=_0x23e3f8-0xba;let _0x912cdf=_0x377d1d[_0x23e3f8];return _0x912cdf;},_0x23e3(_0xaf204b,_0x569752);}function _0x377d(){const _0x1f808a=['decode','4038NnkPuL','1068232qhmbAK','3486PbImel','getDescriptor','50QkASee','127648DUlYSr','create','_protobuf','27DFlWvT','encode','_protobufRoot','1164042ogQMJD','compress','finish','641964MgikMZ','2707302BXGLqu','decompress','261nzoHyA','verify','toObject','2450930BFswPd'];_0x377d=function(){return _0x1f808a;};return _0x377d();}const _0x3ba391=_0x23e3;(function(_0x93f3b5,_0x2dcb6e){const _0x4d1412=_0x23e3,_0x2e102c=_0x93f3b5();while(!![]){try{const _0x3673d0=-parseInt(_0x4d1412(0xbf))/0x1+parseInt(_0x4d1412(0xc3))/0x2+-parseInt(_0x4d1412(0xbc))/0x3*(-parseInt(_0x4d1412(0xc2))/0x4)+-parseInt(_0x4d1412(0xc8))/0x5+parseInt(_0x4d1412(0xca))/0x6*(-parseInt(_0x4d1412(0xcc))/0x7)+parseInt(_0x4d1412(0xcf))/0x8*(-parseInt(_0x4d1412(0xc5))/0x9)+-parseInt(_0x4d1412(0xce))/0xa*(-parseInt(_0x4d1412(0xcb))/0xb);if(_0x3673d0===_0x2dcb6e)break;else _0x2e102c['push'](_0x2e102c['shift']());}catch(_0x380657){_0x2e102c['push'](_0x2e102c['shift']());}}}(_0x377d,0xcb024));import{messages as _0xd20ef4}from'./lib/compiledmessages.js';export default class r{[_0x3ba391(0xbe)];constructor(){const _0x451480=_0x3ba391;this[_0x451480(0xbe)]=_0xd20ef4;}[_0x3ba391(0xcd)](_0x26df74){const _0x2fd6a7=_0x3ba391;return new ProtobufDescriptor(this[_0x2fd6a7(0xbe)][_0x26df74]);}}export class ProtobufDescriptor{[_0x3ba391(0xbb)];constructor(_0x33bc27){const _0x36bd9e=_0x3ba391;this[_0x36bd9e(0xbb)]=_0x33bc27;}[_0x3ba391(0xc0)](_0x4c41be){const _0x3ecc7e=_0x3ba391,_0x5e2b5d=this[_0x3ecc7e(0xbb)][_0x3ecc7e(0xc6)](_0x4c41be);if(_0x5e2b5d)throw Error(_0x5e2b5d);return this[_0x3ecc7e(0xbb)][_0x3ecc7e(0xbd)](this[_0x3ecc7e(0xbb)][_0x3ecc7e(0xba)](_0x4c41be))[_0x3ecc7e(0xc1)]();}[_0x3ba391(0xc4)](_0x26d826){const _0x385c17=_0x3ba391;return this[_0x385c17(0xbb)][_0x385c17(0xc7)](this[_0x385c17(0xbb)][_0x385c17(0xc9)](_0x26d826),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x518663,_0x541e2e){const _0x30b605=_0x4a85,_0x2c6ee8=_0x518663();while(!![]){try{const _0x44969e=-parseInt(_0x30b605(0x13c))/0x1+-parseInt(_0x30b605(0x142))/0x2*(-parseInt(_0x30b605(0x140))/0x3)+parseInt(_0x30b605(0x137))/0x4+-parseInt(_0x30b605(0x135))/0x5*(-parseInt(_0x30b605(0x130))/0x6)+parseInt(_0x30b605(0x13e))/0x7*(parseInt(_0x30b605(0x132))/0x8)+parseInt(_0x30b605(0x141))/0x9*(parseInt(_0x30b605(0x131))/0xa)+parseInt(_0x30b605(0x136))/0xb*(-parseInt(_0x30b605(0x13f))/0xc);if(_0x44969e===_0x541e2e)break;else _0x2c6ee8['push'](_0x2c6ee8['shift']());}catch(_0x51b653){_0x2c6ee8['push'](_0x2c6ee8['shift']());}}}(_0x36ee,0x2ad8b));import{cloneDeep as _0x346581,isEqual as _0x465a45,isObject as _0x557a20}from'es-toolkit/compat';export function getPositionShiftedBy(_0x4a9290,_0x15014e){const _0x4abd39=_0x4a85,_0x30ea5b=_0x346581(_0x4a9290);return _0x30ea5b[_0x4abd39(0x13a)][_0x30ea5b[_0x4abd39(0x13a)][_0x4abd39(0x13b)]-0x1]+=_0x15014e,_0x30ea5b;}export function arePositionsEqual(_0x1343dc,_0x5bfb05){const _0x49a4b4=_0x4a85;return _0x1343dc[_0x49a4b4(0x133)]===_0x5bfb05[_0x49a4b4(0x133)]&&_0x465a45(_0x1343dc[_0x49a4b4(0x13a)],_0x5bfb05[_0x49a4b4(0x13a)]);}export function parsePositionBeforeCompression(_0x3c7cfc){const _0x2add33=_0x4a85;P(_0x3c7cfc,_0x4819cf=>(_0x2add33(0x13d)==_0x4819cf[_0x2add33(0x133)]?(_0x4819cf[_0x2add33(0x139)]=!0x0,delete _0x4819cf[_0x2add33(0x133)]):_0x2add33(0x134)==_0x4819cf[_0x2add33(0x133)]&&(_0x4819cf[_0x2add33(0x138)]=!0x0,delete _0x4819cf[_0x2add33(0x133)]),_0x4819cf));}function _0x4a85(_0x40931f,_0x20a7fa){const _0x36eefd=_0x36ee();return _0x4a85=function(_0x4a85bb,_0x3add2e){_0x4a85bb=_0x4a85bb-0x12f;let _0x41b17d=_0x36eefd[_0x4a85bb];return _0x41b17d;},_0x4a85(_0x40931f,_0x20a7fa);}function _0x36ee(){const _0x1c33f0=['124YBjUsz','nodes','141096kcgwzE','10eAMORN','40OOwVXp','root','$graveyard','25MUnVQO','55dTPVqe','270148gfyrMo','rootGraveyard','rootMain','path','length','350190OzaZCY','main','230601HulRUm','534216YmHIYr','13050xyZlDN','1158723moVpvm'];_0x36ee=function(){return _0x1c33f0;};return _0x36ee();}export function parsePositionAfterCompression(_0x3bd96f){const _0xdb62d0=_0x4a85;P(_0x3bd96f,_0x50f4e8=>(_0x50f4e8[_0xdb62d0(0x139)]?(_0x50f4e8[_0xdb62d0(0x133)]=_0xdb62d0(0x13d),delete _0x50f4e8[_0xdb62d0(0x139)]):_0x50f4e8[_0xdb62d0(0x138)]&&(_0x50f4e8[_0xdb62d0(0x133)]=_0xdb62d0(0x134),delete _0x50f4e8[_0xdb62d0(0x138)]),_0x50f4e8));}function P(_0x1e1f1b,_0x1457d2){const _0x5ea405=_0x4a85;for(const _0x50a756 in _0x1e1f1b){const _0x26e489=_0x1e1f1b[_0x50a756];_0x5ea405(0x12f)!==_0x50a756&&_0x557a20(_0x26e489)&&(_0x26e489[_0x5ea405(0x13a)]&&(_0x26e489[_0x5ea405(0x133)]||_0x26e489[_0x5ea405(0x139)]||_0x26e489[_0x5ea405(0x138)])?_0x1e1f1b[_0x50a756]=_0x1457d2(_0x26e489):P(_0x26e489,_0x1457d2));}return _0x1e1f1b;}
|