@ckeditor/ckeditor5-operations-compressor 47.3.0-alpha.0 → 47.3.0-alpha.2
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 _0x3952bd=_0x2648;function _0x2648(_0x4e4dc8,_0x4bc834){var _0x1adb7d=_0x1adb();return _0x2648=function(_0x2648d7,_0x44e265){_0x2648d7=_0x2648d7-0x73;var _0x2da674=_0x1adb7d[_0x2648d7];return _0x2da674;},_0x2648(_0x4e4dc8,_0x4bc834);}(function(_0x5ec292,_0x3626ef){var _0x59acdf=_0x2648,_0x3b8945=_0x5ec292();while(!![]){try{var _0x4466cd=parseInt(_0x59acdf(0x7e))/0x1+parseInt(_0x59acdf(0x74))/0x2*(parseInt(_0x59acdf(0x80))/0x3)+-parseInt(_0x59acdf(0x81))/0x4*(-parseInt(_0x59acdf(0x78))/0x5)+parseInt(_0x59acdf(0x7d))/0x6+parseInt(_0x59acdf(0x75))/0x7*(-parseInt(_0x59acdf(0x83))/0x8)+parseInt(_0x59acdf(0x82))/0x9+-parseInt(_0x59acdf(0x7a))/0xa*(parseInt(_0x59acdf(0x7b))/0xb);if(_0x4466cd===_0x3626ef)break;else _0x3b8945['push'](_0x3b8945['shift']());}catch(_0xa4ed62){_0x3b8945['push'](_0x3b8945['shift']());}}}(_0x1adb,0x6c202));import{OperationCompressor as _0x68e662}from'./operationcompressor.js';function _0x1adb(){var _0x341ca6=['315220XhXMwz','1228392iuEXUB','8bPfEtw','_id','_operationName','518kvSZRW','1275722ldHWCZ','push','shift','35PqzaFO','compress','7323580DJzzVv','22ipKMsR','types','3447924FFcmdm','778375IbfOIG','decompress','564XQGoeE'];_0x1adb=function(){return _0x341ca6;};return _0x1adb();}export class NoOperationCompressor extends _0x68e662{[_0x3952bd(0x79)](_0x287666,_0x257855){var _0x72bb96=_0x3952bd;return _0x257855[_0x72bb96(0x77)](),_0x287666[_0x72bb96(0x7c)][_0x72bb96(0x76)](this[_0x72bb96(0x84)]),!0x0;}[_0x3952bd(0x7f)](_0x2d600d,_0xd107b1){var _0xafba67=_0x3952bd;_0xd107b1[_0xafba67(0x7c)][_0xafba67(0x77)](),_0x2d600d[_0xafba67(0x76)]({'__className':this[_0xafba67(0x73)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5ccc(){const _0x2aa7e4=['push','__className','_id','_operationName','buffers','types','134451MNHvpN','9xqjTWU','288rkZXXF','_protobufDescriptor','1231481GYfBxh','24xcPfIG','compress','138ZBkcgv','decompress','254675Lxgzqu','6031140wDvIeD','210749EbikiZ','shift','27968259gOzTDI','1759168XnNSMq'];_0x5ccc=function(){return _0x2aa7e4;};return _0x5ccc();}const _0x4e9270=_0x3d3f;function _0x3d3f(_0x540367,_0x3bc728){const _0x5ccc13=_0x5ccc();return _0x3d3f=function(_0x3d3f48,_0x33579b){_0x3d3f48=_0x3d3f48-0xa7;let _0x362bdf=_0x5ccc13[_0x3d3f48];return _0x362bdf;},_0x3d3f(_0x540367,_0x3bc728);}(function(_0x4fa1fa,_0x5caada){const _0x10be62=_0x3d3f,_0x1ef49c=_0x4fa1fa();while(!![]){try{const _0x39b58f=parseInt(_0x10be62(0xb5))/0x1+-parseInt(_0x10be62(0xaa))/0x2+-parseInt(_0x10be62(0xb1))/0x3*(parseInt(_0x10be62(0xb6))/0x4)+-parseInt(_0x10be62(0xba))/0x5*(parseInt(_0x10be62(0xb8))/0x6)+-parseInt(_0x10be62(0xa7))/0x7*(parseInt(_0x10be62(0xb3))/0x8)+-parseInt(_0x10be62(0xb2))/0x9*(-parseInt(_0x10be62(0xbb))/0xa)+parseInt(_0x10be62(0xa9))/0xb;if(_0x39b58f===_0x5caada)break;else _0x1ef49c['push'](_0x1ef49c['shift']());}catch(_0x443afd){_0x1ef49c['push'](_0x1ef49c['shift']());}}}(_0x5ccc,0xeda09));import{parsePositionBeforeCompression as _0x3ac7ce,parsePositionAfterCompression as _0x15a1b1}from'../utils.js';export class OperationCompressor{[_0x4e9270(0xad)];[_0x4e9270(0xae)];[_0x4e9270(0xb4)];constructor(_0x5ef28d,_0xa2e7db,_0xdd88db){const _0x143bc7=_0x4e9270;this[_0x143bc7(0xad)]=_0x5ef28d,this[_0x143bc7(0xae)]=_0xa2e7db,this[_0x143bc7(0xb4)]=_0xdd88db;}[_0x4e9270(0xb7)](_0xaf2ebb,_0x2f9241){const _0x25c4f3=_0x4e9270,_0x6c11fd=_0x2f9241[_0x25c4f3(0xa8)]();return _0x3ac7ce(_0x6c11fd),_0xaf2ebb[_0x25c4f3(0xaf)][_0x25c4f3(0xab)](this[_0x25c4f3(0xb4)][_0x25c4f3(0xb7)](_0x6c11fd)),_0xaf2ebb[_0x25c4f3(0xb0)][_0x25c4f3(0xab)](this[_0x25c4f3(0xad)]),!0x0;}[_0x4e9270(0xb9)](_0xbf4ddd,_0x4142b1){const _0x5d6a0b=_0x4e9270;_0x4142b1[_0x5d6a0b(0xb0)][_0x5d6a0b(0xa8)]();const _0xf44f96=this[_0x5d6a0b(0xb4)][_0x5d6a0b(0xb9)](_0x4142b1[_0x5d6a0b(0xaf)][_0x5d6a0b(0xa8)]());_0x15a1b1(_0xf44f96),_0xf44f96[_0x5d6a0b(0xac)]=this[_0x5d6a0b(0xae)],_0xbf4ddd[_0x5d6a0b(0xab)](_0xf44f96);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x532b13=_0x3e14;(function(_0x4c1d2c,_0x5875bf){const _0x8a3236=_0x3e14,_0x3f7486=_0x4c1d2c();while(!![]){try{const _0x1e8fe4=parseInt(_0x8a3236(0x192))/0x1*(-parseInt(_0x8a3236(0x199))/0x2)+parseInt(_0x8a3236(0x18d))/0x3*(-parseInt(_0x8a3236(0x19a))/0x4)+-parseInt(_0x8a3236(0x195))/0x5+-parseInt(_0x8a3236(0x18f))/0x6*(parseInt(_0x8a3236(0x191))/0x7)+parseInt(_0x8a3236(0x198))/0x8+parseInt(_0x8a3236(0x193))/0x9*(-parseInt(_0x8a3236(0x188))/0xa)+parseInt(_0x8a3236(0x18b))/0xb;if(_0x1e8fe4===_0x5875bf)break;else _0x3f7486['push'](_0x3f7486['shift']());}catch(_0x3c327a){_0x3f7486['push'](_0x3f7486['shift']());}}}(_0x229b,0xf16ef));import{messages as _0x183ba2}from'./lib/compiledmessages.js';export class ProtobufFactory{[_0x532b13(0x189)];constructor(){const _0x4873a4=_0x532b13;this[_0x4873a4(0x189)]=_0x183ba2;}[_0x532b13(0x19b)](_0x540823){const _0x399368=_0x532b13;return new ProtobufDescriptor(this[_0x399368(0x189)][_0x540823]);}}export class ProtobufDescriptor{[_0x532b13(0x194)];constructor(_0x40a8bc){const _0x516571=_0x532b13;this[_0x516571(0x194)]=_0x40a8bc;}[_0x532b13(0x196)](_0x1c5316){const _0x48d061=_0x532b13,_0x475cc8=this[_0x48d061(0x194)][_0x48d061(0x190)](_0x1c5316);if(_0x475cc8)throw Error(_0x475cc8);return this[_0x48d061(0x194)][_0x48d061(0x18a)](this[_0x48d061(0x194)][_0x48d061(0x187)](_0x1c5316))[_0x48d061(0x18e)]();}[_0x532b13(0x18c)](_0x28152d){const _0x214ea1=_0x532b13;return this[_0x214ea1(0x194)][_0x214ea1(0x186)](this[_0x214ea1(0x194)][_0x214ea1(0x197)](_0x28152d),{'oneofs':!0x0});}}function _0x3e14(_0x3a4d38,_0x3e5e13){const _0x229bee=_0x229b();return _0x3e14=function(_0x3e149b,_0x2ee3b7){_0x3e149b=_0x3e149b-0x186;let _0x49fec0=_0x229bee[_0x3e149b];return _0x49fec0;},_0x3e14(_0x3a4d38,_0x3e5e13);}function _0x229b(){const _0x35c8cf=['118221scqYJe','finish','2192718kojppV','verify','14zvTjQu','823291oWYDbr','33021FDAQZn','_protobuf','7916135XYbWLp','compress','decode','14122056luCFXI','2LNVqLs','20ChpIXc','getDescriptor','toObject','create','590cWehTf','_protobufRoot','encode','30520424vbmojk','decompress'];_0x229b=function(){return _0x35c8cf;};return _0x229b();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0x2b3ce5,_0x3b233e){const _0x3cdf82=_0xa7ca,_0x257de0=_0x2b3ce5();while(!![]){try{const _0xed2152=-parseInt(_0x3cdf82(0x112))/0x1*(-parseInt(_0x3cdf82(0x11f))/0x2)+-parseInt(_0x3cdf82(0x11b))/0x3*(parseInt(_0x3cdf82(0x11e))/0x4)+parseInt(_0x3cdf82(0x115))/0x5*(-parseInt(_0x3cdf82(0x116))/0x6)+parseInt(_0x3cdf82(0x11c))/0x7+parseInt(_0x3cdf82(0x117))/0x8+-parseInt(_0x3cdf82(0x118))/0x9+-parseInt(_0x3cdf82(0x11d))/0xa*(-parseInt(_0x3cdf82(0x119))/0xb);if(_0xed2152===_0x3b233e)break;else _0x257de0['push'](_0x257de0['shift']());}catch(_0x318084){_0x257de0['push'](_0x257de0['shift']());}}}(_0x2f83,0x6e7cb));import{cloneDeep as _0x4fdf5b,isEqual as _0x9c7bf6,isObject as _0x3e062e}from'es-toolkit/compat';export function getPositionShiftedBy(_0x3c8adc,_0xe43578){const _0x235d15=_0xa7ca,_0x4d835d=_0x4fdf5b(_0x3c8adc);return _0x4d835d[_0x235d15(0x113)][_0x4d835d[_0x235d15(0x113)][_0x235d15(0x122)]-0x1]+=_0xe43578,_0x4d835d;}export function arePositionsEqual(_0x2ea28c,_0x39d9d3){const _0x23ffc9=_0xa7ca;return _0x2ea28c[_0x23ffc9(0x121)]===_0x39d9d3[_0x23ffc9(0x121)]&&_0x9c7bf6(_0x2ea28c[_0x23ffc9(0x113)],_0x39d9d3[_0x23ffc9(0x113)]);}export function parsePositionBeforeCompression(_0x5642af){const _0x449802=_0xa7ca;P(_0x5642af,_0x5c794e=>(_0x449802(0x111)==_0x5c794e[_0x449802(0x121)]?(_0x5c794e[_0x449802(0x110)]=!0x0,delete _0x5c794e[_0x449802(0x121)]):_0x449802(0x114)==_0x5c794e[_0x449802(0x121)]&&(_0x5c794e[_0x449802(0x11a)]=!0x0,delete _0x5c794e[_0x449802(0x121)]),_0x5c794e));}export function parsePositionAfterCompression(_0x4bb6b9){const _0x5f54f4=_0xa7ca;P(_0x4bb6b9,_0x598182=>(_0x598182[_0x5f54f4(0x110)]?(_0x598182[_0x5f54f4(0x121)]=_0x5f54f4(0x111),delete _0x598182[_0x5f54f4(0x110)]):_0x598182[_0x5f54f4(0x11a)]&&(_0x598182[_0x5f54f4(0x121)]=_0x5f54f4(0x114),delete _0x598182[_0x5f54f4(0x11a)]),_0x598182));}function P(_0x5755f7,_0x2284d4){const _0x4a14e2=_0xa7ca;for(const _0x54545c in _0x5755f7){const _0x25d3f2=_0x5755f7[_0x54545c];_0x4a14e2(0x120)!==_0x54545c&&_0x3e062e(_0x25d3f2)&&(_0x25d3f2[_0x4a14e2(0x113)]&&(_0x25d3f2[_0x4a14e2(0x121)]||_0x25d3f2[_0x4a14e2(0x110)]||_0x25d3f2[_0x4a14e2(0x11a)])?_0x5755f7[_0x54545c]=_0x2284d4(_0x25d3f2):P(_0x25d3f2,_0x2284d4));}return _0x5755f7;}function _0xa7ca(_0x1393cd,_0x5df5d1){const _0x2f832f=_0x2f83();return _0xa7ca=function(_0xa7ca09,_0x2472c4){_0xa7ca09=_0xa7ca09-0x110;let _0x4ad857=_0x2f832f[_0xa7ca09];return _0x4ad857;},_0xa7ca(_0x1393cd,_0x5df5d1);}function _0x2f83(){const _0x44f179=['22qIvTkg','rootGraveyard','1355217ILXCdM','3788848DZfBVr','3689110YcPCEB','4XMuAkI','335678IRGzvE','nodes','root','length','rootMain','main','1dsuRhi','path','$graveyard','315195hNSYgE','48xiXiPt','842992JIhRkZ','1293237BfhISS'];_0x2f83=function(){return _0x44f179;};return _0x2f83();}
|