@ckeditor/ckeditor5-operations-compressor 47.0.0 → 47.1.0-alpha.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 _0x3709(_0x1afee0,_0x437b94){var _0x5ccb3b=_0x5ccb();return _0x3709=function(_0x370927,_0x3010d3){_0x370927=_0x370927-0xcf;var _0x3a951c=_0x5ccb3b[_0x370927];return _0x3a951c;},_0x3709(_0x1afee0,_0x437b94);}var _0x1a0704=_0x3709;(function(_0x1cf6af,_0x191c67){var _0x2da6e3=_0x3709,_0x1e7d72=_0x1cf6af();while(!![]){try{var _0x32d73d=-parseInt(_0x2da6e3(0xd0))/0x1*(parseInt(_0x2da6e3(0xd9))/0x2)+-parseInt(_0x2da6e3(0xd6))/0x3*(-parseInt(_0x2da6e3(0xdf))/0x4)+parseInt(_0x2da6e3(0xd2))/0x5*(-parseInt(_0x2da6e3(0xd8))/0x6)+parseInt(_0x2da6e3(0xcf))/0x7+-parseInt(_0x2da6e3(0xd5))/0x8*(-parseInt(_0x2da6e3(0xde))/0x9)+-parseInt(_0x2da6e3(0xdb))/0xa+parseInt(_0x2da6e3(0xd3))/0xb;if(_0x32d73d===_0x191c67)break;else _0x1e7d72['push'](_0x1e7d72['shift']());}catch(_0x526981){_0x1e7d72['push'](_0x1e7d72['shift']());}}}(_0x5ccb,0x278f5));function _0x5ccb(){var _0x4a7933=['types','compress','657BlCPXV','48VARNEd','_id','451374CXdgvN','9khOQWi','decompress','240hPyKMk','2093696OPWECe','_operationName','20456fXCbWM','50733wFeTjU','push','4584uIdHWb','54018ResGRf','shift','2026210BeFOYG'];_0x5ccb=function(){return _0x4a7933;};return _0x5ccb();}import{OperationCompressor as _0x3b3b91}from'./operationcompressor.js';export class NoOperationCompressor extends _0x3b3b91{[_0x1a0704(0xdd)](_0x46679a,_0x683618){var _0x3e2532=_0x1a0704;return _0x683618[_0x3e2532(0xda)](),_0x46679a[_0x3e2532(0xdc)][_0x3e2532(0xd7)](this[_0x3e2532(0xe0)]),!0x0;}[_0x1a0704(0xd1)](_0x27e457,_0x908b25){var _0x3139cb=_0x1a0704;_0x908b25[_0x3139cb(0xdc)][_0x3139cb(0xda)](),_0x27e457[_0x3139cb(0xd7)]({'__className':this[_0x3139cb(0xd4)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x553221=_0x26bc;function _0x3779(){const _0x3afd76=['1595151qkLuud','7HZxeDN','787980utbOVy','_id','349637exHJlB','35736EmLlpy','compress','shift','buffers','__className','2XAnwDo','decompress','1630986ZctiMp','push','_operationName','195ZXCAmK','types','17065390YCxGpe','_protobufDescriptor','4752632gZeHxf'];_0x3779=function(){return _0x3afd76;};return _0x3779();}(function(_0x2590d6,_0x249c0c){const _0x29a35f=_0x26bc,_0x525e2e=_0x2590d6();while(!![]){try{const _0x3ef4fb=parseInt(_0x29a35f(0x12d))/0x1*(-parseInt(_0x29a35f(0x133))/0x2)+-parseInt(_0x29a35f(0x121))/0x3+parseInt(_0x29a35f(0x12b))/0x4+-parseInt(_0x29a35f(0x124))/0x5*(parseInt(_0x29a35f(0x12e))/0x6)+-parseInt(_0x29a35f(0x12a))/0x7*(parseInt(_0x29a35f(0x128))/0x8)+parseInt(_0x29a35f(0x129))/0x9+parseInt(_0x29a35f(0x126))/0xa;if(_0x3ef4fb===_0x249c0c)break;else _0x525e2e['push'](_0x525e2e['shift']());}catch(_0x3eceb8){_0x525e2e['push'](_0x525e2e['shift']());}}}(_0x3779,0x58297));function _0x26bc(_0x192d4b,_0x3f1989){const _0x37794d=_0x3779();return _0x26bc=function(_0x26bc65,_0x3f65f4){_0x26bc65=_0x26bc65-0x121;let _0x417a52=_0x37794d[_0x26bc65];return _0x417a52;},_0x26bc(_0x192d4b,_0x3f1989);}import{parsePositionBeforeCompression as _0x2aea67,parsePositionAfterCompression as _0x2224b1}from'../utils.js';export class OperationCompressor{[_0x553221(0x12c)];[_0x553221(0x123)];[_0x553221(0x127)];constructor(_0x3625ca,_0x265096,_0x5e242d){const _0x3bf29b=_0x553221;this[_0x3bf29b(0x12c)]=_0x3625ca,this[_0x3bf29b(0x123)]=_0x265096,this[_0x3bf29b(0x127)]=_0x5e242d;}[_0x553221(0x12f)](_0x45a27a,_0x3c77a2){const _0x457017=_0x553221,_0x226b12=_0x3c77a2[_0x457017(0x130)]();return _0x2aea67(_0x226b12),_0x45a27a[_0x457017(0x131)][_0x457017(0x122)](this[_0x457017(0x127)][_0x457017(0x12f)](_0x226b12)),_0x45a27a[_0x457017(0x125)][_0x457017(0x122)](this[_0x457017(0x12c)]),!0x0;}[_0x553221(0x134)](_0xfca191,_0x2691d4){const _0x12668a=_0x553221;_0x2691d4[_0x12668a(0x125)][_0x12668a(0x130)]();const _0x157872=this[_0x12668a(0x127)][_0x12668a(0x134)](_0x2691d4[_0x12668a(0x131)][_0x12668a(0x130)]());_0x2224b1(_0x157872),_0x157872[_0x12668a(0x132)]=this[_0x12668a(0x123)],_0xfca191[_0x12668a(0x122)](_0x157872);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x22c210=_0x14f9;(function(_0xd96c2d,_0x409d7b){const _0x1e0dfe=_0x14f9,_0x5bbcd2=_0xd96c2d();while(!![]){try{const _0x6f9e96=-parseInt(_0x1e0dfe(0x14d))/0x1*(-parseInt(_0x1e0dfe(0x13b))/0x2)+-parseInt(_0x1e0dfe(0x13d))/0x3*(parseInt(_0x1e0dfe(0x14a))/0x4)+parseInt(_0x1e0dfe(0x143))/0x5+parseInt(_0x1e0dfe(0x149))/0x6+parseInt(_0x1e0dfe(0x14c))/0x7*(parseInt(_0x1e0dfe(0x145))/0x8)+-parseInt(_0x1e0dfe(0x144))/0x9+parseInt(_0x1e0dfe(0x138))/0xa*(-parseInt(_0x1e0dfe(0x146))/0xb);if(_0x6f9e96===_0x409d7b)break;else _0x5bbcd2['push'](_0x5bbcd2['shift']());}catch(_0x444017){_0x5bbcd2['push'](_0x5bbcd2['shift']());}}}(_0x592c,0x1b36d));import{messages as _0x5b8b71}from'./lib/compiledmessages.js';function _0x14f9(_0x895cf7,_0x14959c){const _0x592c8b=_0x592c();return _0x14f9=function(_0x14f98b,_0x49185c){_0x14f98b=_0x14f98b-0x138;let _0x180c44=_0x592c8b[_0x14f98b];return _0x180c44;},_0x14f9(_0x895cf7,_0x14959c);}export class ProtobufFactory{[_0x22c210(0x147)];constructor(){const _0x223526=_0x22c210;this[_0x223526(0x147)]=_0x5b8b71;}[_0x22c210(0x13f)](_0x2e5874){const _0x226e2d=_0x22c210;return new ProtobufDescriptor(this[_0x226e2d(0x147)][_0x2e5874]);}}export class ProtobufDescriptor{[_0x22c210(0x13c)];constructor(_0x25b176){const _0x527a31=_0x22c210;this[_0x527a31(0x13c)]=_0x25b176;}[_0x22c210(0x139)](_0x2a0bf0){const _0x4f7916=_0x22c210,_0x100123=this[_0x4f7916(0x13c)][_0x4f7916(0x140)](_0x2a0bf0);if(_0x100123)throw Error(_0x100123);return this[_0x4f7916(0x13c)][_0x4f7916(0x148)](this[_0x4f7916(0x13c)][_0x4f7916(0x142)](_0x2a0bf0))[_0x4f7916(0x141)]();}[_0x22c210(0x13a)](_0x5272d8){const _0x5ac74c=_0x22c210;return this[_0x5ac74c(0x13c)][_0x5ac74c(0x13e)](this[_0x5ac74c(0x13c)][_0x5ac74c(0x14b)](_0x5272d8),{'oneofs':!0x0});}}function _0x592c(){const _0x31bf92=['_protobuf','669QSYAIE','toObject','getDescriptor','verify','finish','create','149885JBWiqC','429003bgnmHB','40296jkJImj','92081cCagUY','_protobufRoot','encode','1168926GshAOx','536TkGTzM','decode','21zQJlSG','312gqJkzW','170jwTeWr','compress','decompress','586ksGxlQ'];_0x592c=function(){return _0x31bf92;};return _0x592c();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x58481,_0x8eef1c){const _0x288ae8=_0x58e6,_0x288018=_0x58481();while(!![]){try{const _0x31e7dc=parseInt(_0x288ae8(0x1c6))/0x1*(-parseInt(_0x288ae8(0x1c0))/0x2)+parseInt(_0x288ae8(0x1ca))/0x3*(-parseInt(_0x288ae8(0x1bf))/0x4)+parseInt(_0x288ae8(0x1c2))/0x5+parseInt(_0x288ae8(0x1bd))/0x6+parseInt(_0x288ae8(0x1c3))/0x7+parseInt(_0x288ae8(0x1c7))/0x8*(parseInt(_0x288ae8(0x1bb))/0x9)+parseInt(_0x288ae8(0x1be))/0xa;if(_0x31e7dc===_0x8eef1c)break;else _0x288018['push'](_0x288018['shift']());}catch(_0x1f3a8c){_0x288018['push'](_0x288018['shift']());}}}(_0x369e,0x3ef1f));import{cloneDeep as _0x18204c,isEqual as _0x21d1f4,isObject as _0x3664f5}from'es-toolkit/compat';export function getPositionShiftedBy(_0x52e487,_0x22b9c3){const _0x2770ce=_0x58e6,_0x14822b=_0x18204c(_0x52e487);return _0x14822b[_0x2770ce(0x1ba)][_0x14822b[_0x2770ce(0x1ba)][_0x2770ce(0x1bc)]-0x1]+=_0x22b9c3,_0x14822b;}function _0x369e(){const _0x24ae2d=['14LxRyCs','rootGraveyard','66930FkjvlV','176785ArrHBB','main','rootMain','38417ZSYDJo','32YCzXQE','root','nodes','208851XmmAuv','$graveyard','path','312813wCncvl','length','2238078etqSlL','4633790yQCkdH','28hvluzV'];_0x369e=function(){return _0x24ae2d;};return _0x369e();}function _0x58e6(_0x3c42c2,_0x4f9742){const _0x369e26=_0x369e();return _0x58e6=function(_0x58e666,_0x17a337){_0x58e666=_0x58e666-0x1ba;let _0x359879=_0x369e26[_0x58e666];return _0x359879;},_0x58e6(_0x3c42c2,_0x4f9742);}export function arePositionsEqual(_0x2df624,_0x45bbef){const _0xb5798b=_0x58e6;return _0x2df624[_0xb5798b(0x1c8)]===_0x45bbef[_0xb5798b(0x1c8)]&&_0x21d1f4(_0x2df624[_0xb5798b(0x1ba)],_0x45bbef[_0xb5798b(0x1ba)]);}export function parsePositionBeforeCompression(_0x34384d){const _0x232d44=_0x58e6;P(_0x34384d,_0x481c89=>(_0x232d44(0x1c4)==_0x481c89[_0x232d44(0x1c8)]?(_0x481c89[_0x232d44(0x1c5)]=!0x0,delete _0x481c89[_0x232d44(0x1c8)]):_0x232d44(0x1cb)==_0x481c89[_0x232d44(0x1c8)]&&(_0x481c89[_0x232d44(0x1c1)]=!0x0,delete _0x481c89[_0x232d44(0x1c8)]),_0x481c89));}export function parsePositionAfterCompression(_0x1cb7a1){const _0x695683=_0x58e6;P(_0x1cb7a1,_0xdb510c=>(_0xdb510c[_0x695683(0x1c5)]?(_0xdb510c[_0x695683(0x1c8)]=_0x695683(0x1c4),delete _0xdb510c[_0x695683(0x1c5)]):_0xdb510c[_0x695683(0x1c1)]&&(_0xdb510c[_0x695683(0x1c8)]=_0x695683(0x1cb),delete _0xdb510c[_0x695683(0x1c1)]),_0xdb510c));}function P(_0x581490,_0x370738){const _0x29e2d7=_0x58e6;for(const _0x34d34a in _0x581490){const _0x3fc330=_0x581490[_0x34d34a];_0x29e2d7(0x1c9)!==_0x34d34a&&_0x3664f5(_0x3fc330)&&(_0x3fc330[_0x29e2d7(0x1ba)]&&(_0x3fc330[_0x29e2d7(0x1c8)]||_0x3fc330[_0x29e2d7(0x1c5)]||_0x3fc330[_0x29e2d7(0x1c1)])?_0x581490[_0x34d34a]=_0x370738(_0x3fc330):P(_0x3fc330,_0x370738));}return _0x581490;}
|