@ckeditor/ckeditor5-operations-compressor 46.0.2-alpha.0 → 46.0.2-alpha.1
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 _0x31ec(_0x5cca99,_0x3367b3){var _0x3ecb04=_0x3ecb();return _0x31ec=function(_0x31ec8d,_0x3b69d0){_0x31ec8d=_0x31ec8d-0xcc;var _0x48d7a1=_0x3ecb04[_0x31ec8d];return _0x48d7a1;},_0x31ec(_0x5cca99,_0x3367b3);}var _0x147efd=_0x31ec;(function(_0x432b48,_0x4c2854){var _0x236937=_0x31ec,_0x14b071=_0x432b48();while(!![]){try{var _0x5864c7=-parseInt(_0x236937(0xdb))/0x1*(-parseInt(_0x236937(0xd9))/0x2)+-parseInt(_0x236937(0xdc))/0x3+parseInt(_0x236937(0xd6))/0x4+-parseInt(_0x236937(0xd8))/0x5*(parseInt(_0x236937(0xd3))/0x6)+-parseInt(_0x236937(0xda))/0x7*(-parseInt(_0x236937(0xcc))/0x8)+parseInt(_0x236937(0xd1))/0x9+-parseInt(_0x236937(0xd5))/0xa;if(_0x5864c7===_0x4c2854)break;else _0x14b071['push'](_0x14b071['shift']());}catch(_0x139ddb){_0x14b071['push'](_0x14b071['shift']());}}}(_0x3ecb,0xa06a5));import{OperationCompressor as _0x291e1a}from'./operationcompressor.js';function _0x3ecb(){var _0xb04dbd=['1039004ewYoAe','decompress','55zKFdqe','3604CdTdCx','3493kMCiYj','479lguzdg','3116115uvGXEY','4792ChjKtO','compress','types','shift','push','9560673JmUwmG','_operationName','107052PkTjhn','_id','5920790NYjtrR'];_0x3ecb=function(){return _0xb04dbd;};return _0x3ecb();}export class NoOperationCompressor extends _0x291e1a{[_0x147efd(0xcd)](_0x4beb8d,_0x4cc85b){var _0x275c31=_0x147efd;return _0x4cc85b[_0x275c31(0xcf)](),_0x4beb8d[_0x275c31(0xce)][_0x275c31(0xd0)](this[_0x275c31(0xd4)]),!0x0;}[_0x147efd(0xd7)](_0x2f8422,_0x4dd1f4){var _0x5ef1ba=_0x147efd;_0x4dd1f4[_0x5ef1ba(0xce)][_0x5ef1ba(0xcf)](),_0x2f8422[_0x5ef1ba(0xd0)]({'__className':this[_0x5ef1ba(0xd2)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x56cfb6=_0x2435;(function(_0x32e5b2,_0x12976f){const _0x116290=_0x2435,_0x634de5=_0x32e5b2();while(!![]){try{const _0x144fe7=-parseInt(_0x116290(0x1be))/0x1*(parseInt(_0x116290(0x1c1))/0x2)+-parseInt(_0x116290(0x1b1))/0x3*(parseInt(_0x116290(0x1b6))/0x4)+parseInt(_0x116290(0x1b3))/0x5*(-parseInt(_0x116290(0x1b4))/0x6)+parseInt(_0x116290(0x1b0))/0x7*(-parseInt(_0x116290(0x1c2))/0x8)+-parseInt(_0x116290(0x1bf))/0x9+-parseInt(_0x116290(0x1c4))/0xa+parseInt(_0x116290(0x1ba))/0xb;if(_0x144fe7===_0x12976f)break;else _0x634de5['push'](_0x634de5['shift']());}catch(_0xe5874d){_0x634de5['push'](_0x634de5['shift']());}}}(_0x1bf0,0x8c1ae));function _0x1bf0(){const _0x43cafe=['45pkCMwr','10043424SaECAP','_protobufDescriptor','47820RPRolu','104HGWMrG','_id','6769640sUtamZ','239302BWUOul','270UevAqV','shift','30735RkqmSL','1056ACbYPV','compress','15848EgljQs','buffers','types','decompress','58581490aGRHiU','push','_operationName','__className'];_0x1bf0=function(){return _0x43cafe;};return _0x1bf0();}import{parsePositionBeforeCompression as _0x597078,parsePositionAfterCompression as _0x4c8426}from'../utils.js';function _0x2435(_0x66b885,_0x163fc2){const _0x1bf0de=_0x1bf0();return _0x2435=function(_0x243556,_0xe2e19d){_0x243556=_0x243556-0x1b0;let _0x13a473=_0x1bf0de[_0x243556];return _0x13a473;},_0x2435(_0x66b885,_0x163fc2);}export class OperationCompressor{[_0x56cfb6(0x1c3)];[_0x56cfb6(0x1bc)];[_0x56cfb6(0x1c0)];constructor(_0x42f7bd,_0x5c4f0c,_0x1ceb3b){const _0x812c2c=_0x56cfb6;this[_0x812c2c(0x1c3)]=_0x42f7bd,this[_0x812c2c(0x1bc)]=_0x5c4f0c,this[_0x812c2c(0x1c0)]=_0x1ceb3b;}[_0x56cfb6(0x1b5)](_0x7e85f2,_0x75129c){const _0x3a4e86=_0x56cfb6,_0x443cae=_0x75129c[_0x3a4e86(0x1b2)]();return _0x597078(_0x443cae),_0x7e85f2[_0x3a4e86(0x1b7)][_0x3a4e86(0x1bb)](this[_0x3a4e86(0x1c0)][_0x3a4e86(0x1b5)](_0x443cae)),_0x7e85f2[_0x3a4e86(0x1b8)][_0x3a4e86(0x1bb)](this[_0x3a4e86(0x1c3)]),!0x0;}[_0x56cfb6(0x1b9)](_0x5467c0,_0x562586){const _0x4f3a59=_0x56cfb6;_0x562586[_0x4f3a59(0x1b8)][_0x4f3a59(0x1b2)]();const _0x25dbf7=this[_0x4f3a59(0x1c0)][_0x4f3a59(0x1b9)](_0x562586[_0x4f3a59(0x1b7)][_0x4f3a59(0x1b2)]());_0x4c8426(_0x25dbf7),_0x25dbf7[_0x4f3a59(0x1bd)]=this[_0x4f3a59(0x1bc)],_0x5467c0[_0x4f3a59(0x1bb)](_0x25dbf7);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x35ee(_0x24bcc1,_0x3ddc59){const _0x4a861c=_0x4a86();return _0x35ee=function(_0x35ee84,_0x39cc43){_0x35ee84=_0x35ee84-0x10d;let _0x1dc7eb=_0x4a861c[_0x35ee84];return _0x1dc7eb;},_0x35ee(_0x24bcc1,_0x3ddc59);}const _0x4bf187=_0x35ee;function _0x4a86(){const _0x4b00ec=['toObject','4167351RINPsj','encode','71812JXDPwY','4427640QDxtwW','6atdSXk','decode','3242KmKmdr','create','7hCGwZA','_protobuf','decompress','3770576EeYngr','194887QmcoEt','_protobufRoot','110LHuEAF','compress','18rTtLxb','251pkqEdT','finish','907810Asjikg','getDescriptor','verify'];_0x4a86=function(){return _0x4b00ec;};return _0x4a86();}(function(_0x3dcb9c,_0x368545){const _0x5d4d18=_0x35ee,_0x56f046=_0x3dcb9c();while(!![]){try{const _0x35c52f=parseInt(_0x5d4d18(0x11a))/0x1*(parseInt(_0x5d4d18(0x10f))/0x2)+-parseInt(_0x5d4d18(0x119))/0x3*(parseInt(_0x5d4d18(0x122))/0x4)+-parseInt(_0x5d4d18(0x11c))/0x5*(parseInt(_0x5d4d18(0x10d))/0x6)+parseInt(_0x5d4d18(0x111))/0x7*(-parseInt(_0x5d4d18(0x114))/0x8)+parseInt(_0x5d4d18(0x120))/0x9+-parseInt(_0x5d4d18(0x117))/0xa*(parseInt(_0x5d4d18(0x115))/0xb)+parseInt(_0x5d4d18(0x123))/0xc;if(_0x35c52f===_0x368545)break;else _0x56f046['push'](_0x56f046['shift']());}catch(_0x63031d){_0x56f046['push'](_0x56f046['shift']());}}}(_0x4a86,0x452ff));import{messages as _0x35e1e9}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x4bf187(0x116)];constructor(){const _0x514759=_0x4bf187;this[_0x514759(0x116)]=_0x35e1e9;}[_0x4bf187(0x11d)](_0x3552bd){const _0x29a1b3=_0x4bf187;return new ProtobufDescriptor(this[_0x29a1b3(0x116)][_0x3552bd]);}}export class ProtobufDescriptor{[_0x4bf187(0x112)];constructor(_0x1f9009){const _0x12e91d=_0x4bf187;this[_0x12e91d(0x112)]=_0x1f9009;}[_0x4bf187(0x118)](_0x3892db){const _0x2f0502=_0x4bf187,_0x5e48f0=this[_0x2f0502(0x112)][_0x2f0502(0x11e)](_0x3892db);if(_0x5e48f0)throw Error(_0x5e48f0);return this[_0x2f0502(0x112)][_0x2f0502(0x121)](this[_0x2f0502(0x112)][_0x2f0502(0x110)](_0x3892db))[_0x2f0502(0x11b)]();}[_0x4bf187(0x113)](_0x4b36c3){const _0x1da2a2=_0x4bf187;return this[_0x1da2a2(0x112)][_0x1da2a2(0x11f)](this[_0x1da2a2(0x112)][_0x1da2a2(0x10e)](_0x4b36c3),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2494a3,_0x56c52b){const _0x88d21=_0x3a42,_0x5326=_0x2494a3();while(!![]){try{const _0x3aa379=parseInt(_0x88d21(0x144))/0x1*(parseInt(_0x88d21(0x146))/0x2)+-parseInt(_0x88d21(0x141))/0x3+-parseInt(_0x88d21(0x140))/0x4*(-parseInt(_0x88d21(0x14b))/0x5)+-parseInt(_0x88d21(0x14c))/0x6*(-parseInt(_0x88d21(0x14a))/0x7)+-parseInt(_0x88d21(0x143))/0x8+-parseInt(_0x88d21(0x14d))/0x9+parseInt(_0x88d21(0x145))/0xa;if(_0x3aa379===_0x56c52b)break;else _0x5326['push'](_0x5326['shift']());}catch(_0x438c91){_0x5326['push'](_0x5326['shift']());}}}(_0x2342,0xb8a9e));import{cloneDeep as _0x47cb20,isEqual as _0x515a4e,isObject as _0xaa1b7d}from'es-toolkit/compat';export function getPositionShiftedBy(_0x301eee,_0x35967e){const _0x440bd7=_0x3a42,_0x3dedb4=_0x47cb20(_0x301eee);return _0x3dedb4[_0x440bd7(0x14e)][_0x3dedb4[_0x440bd7(0x14e)][_0x440bd7(0x149)]-0x1]+=_0x35967e,_0x3dedb4;}export function arePositionsEqual(_0x31ffdb,_0x439679){const _0x235d70=_0x3a42;return _0x31ffdb[_0x235d70(0x147)]===_0x439679[_0x235d70(0x147)]&&_0x515a4e(_0x31ffdb[_0x235d70(0x14e)],_0x439679[_0x235d70(0x14e)]);}function _0x2342(){const _0xbf33c=['2909942cEkUJE','root','rootMain','length','945931MuxFof','308320DdCcuz','12UACRMh','13128048jVBZRF','path','$graveyard','main','nodes','76OrzYIP','3428433YrZXaH','rootGraveyard','7586120wFaSeN','1Kvgdtj','14092770ANQEjU'];_0x2342=function(){return _0xbf33c;};return _0x2342();}export function parsePositionBeforeCompression(_0xecea71){const _0x4f1855=_0x3a42;P(_0xecea71,_0x3ea15e=>(_0x4f1855(0x13e)==_0x3ea15e[_0x4f1855(0x147)]?(_0x3ea15e[_0x4f1855(0x148)]=!0x0,delete _0x3ea15e[_0x4f1855(0x147)]):_0x4f1855(0x14f)==_0x3ea15e[_0x4f1855(0x147)]&&(_0x3ea15e[_0x4f1855(0x142)]=!0x0,delete _0x3ea15e[_0x4f1855(0x147)]),_0x3ea15e));}export function parsePositionAfterCompression(_0x219a1b){const _0x4bc424=_0x3a42;P(_0x219a1b,_0x524340=>(_0x524340[_0x4bc424(0x148)]?(_0x524340[_0x4bc424(0x147)]=_0x4bc424(0x13e),delete _0x524340[_0x4bc424(0x148)]):_0x524340[_0x4bc424(0x142)]&&(_0x524340[_0x4bc424(0x147)]=_0x4bc424(0x14f),delete _0x524340[_0x4bc424(0x142)]),_0x524340));}function _0x3a42(_0x31c0a1,_0x263c34){const _0x2342d6=_0x2342();return _0x3a42=function(_0x3a427d,_0x3c8805){_0x3a427d=_0x3a427d-0x13e;let _0x56b533=_0x2342d6[_0x3a427d];return _0x56b533;},_0x3a42(_0x31c0a1,_0x263c34);}function P(_0x1e6e51,_0x5b63c9){const _0x1d865c=_0x3a42;for(const _0x2eeed4 in _0x1e6e51){const _0x414b41=_0x1e6e51[_0x2eeed4];_0x1d865c(0x13f)!==_0x2eeed4&&_0xaa1b7d(_0x414b41)&&(_0x414b41[_0x1d865c(0x14e)]&&(_0x414b41[_0x1d865c(0x147)]||_0x414b41[_0x1d865c(0x148)]||_0x414b41[_0x1d865c(0x142)])?_0x1e6e51[_0x2eeed4]=_0x5b63c9(_0x414b41):P(_0x414b41,_0x5b63c9));}return _0x1e6e51;}
|