@ckeditor/ckeditor5-operations-compressor 47.0.0-alpha.0 → 47.0.0-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
|
-
function
|
|
23
|
+
var _0x1349d6=_0xd469;function _0xd469(_0x4e80ed,_0x5707cc){var _0x15d9f6=_0x15d9();return _0xd469=function(_0xd46906,_0x138f8b){_0xd46906=_0xd46906-0xf6;var _0x325ade=_0x15d9f6[_0xd46906];return _0x325ade;},_0xd469(_0x4e80ed,_0x5707cc);}(function(_0x47c9b2,_0x1a4588){var _0x16a40d=_0xd469,_0x2fd851=_0x47c9b2();while(!![]){try{var _0x47c866=-parseInt(_0x16a40d(0xfc))/0x1+parseInt(_0x16a40d(0x103))/0x2+parseInt(_0x16a40d(0xf9))/0x3*(-parseInt(_0x16a40d(0xfd))/0x4)+parseInt(_0x16a40d(0xf8))/0x5*(-parseInt(_0x16a40d(0xf7))/0x6)+parseInt(_0x16a40d(0x101))/0x7+parseInt(_0x16a40d(0x106))/0x8*(parseInt(_0x16a40d(0x104))/0x9)+parseInt(_0x16a40d(0x102))/0xa;if(_0x47c866===_0x1a4588)break;else _0x2fd851['push'](_0x2fd851['shift']());}catch(_0x4eb430){_0x2fd851['push'](_0x2fd851['shift']());}}}(_0x15d9,0x628b7));import{OperationCompressor as _0x89292f}from'./operationcompressor.js';export class NoOperationCompressor extends _0x89292f{[_0x1349d6(0xfa)](_0x441017,_0x8280c1){var _0x1e5f63=_0x1349d6;return _0x8280c1[_0x1e5f63(0xfe)](),_0x441017[_0x1e5f63(0xf6)][_0x1e5f63(0x105)](this[_0x1e5f63(0x100)]),!0x0;}[_0x1349d6(0xff)](_0x6d1698,_0x4ae298){var _0x2896ee=_0x1349d6;_0x4ae298[_0x2896ee(0xf6)][_0x2896ee(0xfe)](),_0x6d1698[_0x2896ee(0x105)]({'__className':this[_0x2896ee(0xfb)]});}}function _0x15d9(){var _0x1ef365=['8oMwTnL','types','20466ZJwMcM','405JNjzcz','606468IOtjiL','compress','_operationName','206742zCgzTk','8KpmYYO','shift','decompress','_id','2371467ulfzoc','5393960OUmUaA','321292BnMrdQ','2269449PzMlnp','push'];_0x15d9=function(){return _0x1ef365;};return _0x15d9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2f9f05=_0x3120;function _0x3120(_0x5d9bc6,_0x586bcf){const _0x5b8176=_0x5b81();return _0x3120=function(_0x3120a5,_0x1c57fa){_0x3120a5=_0x3120a5-0xbf;let _0x4d467b=_0x5b8176[_0x3120a5];return _0x4d467b;},_0x3120(_0x5d9bc6,_0x586bcf);}(function(_0x5e1c54,_0x404937){const _0x3c88a2=_0x3120,_0x2cd347=_0x5e1c54();while(!![]){try{const _0x1c36c9=-parseInt(_0x3c88a2(0xc2))/0x1+parseInt(_0x3c88a2(0xc6))/0x2+parseInt(_0x3c88a2(0xc3))/0x3+-parseInt(_0x3c88a2(0xcd))/0x4+parseInt(_0x3c88a2(0xd0))/0x5*(parseInt(_0x3c88a2(0xcf))/0x6)+-parseInt(_0x3c88a2(0xc4))/0x7+parseInt(_0x3c88a2(0xc0))/0x8;if(_0x1c36c9===_0x404937)break;else _0x2cd347['push'](_0x2cd347['shift']());}catch(_0x4ab9d0){_0x2cd347['push'](_0x2cd347['shift']());}}}(_0x5b81,0x5cd54));import{parsePositionBeforeCompression as _0x50162c,parsePositionAfterCompression as _0x351e94}from'../utils.js';export class OperationCompressor{[_0x2f9f05(0xc5)];[_0x2f9f05(0xbf)];[_0x2f9f05(0xce)];constructor(_0x61f810,_0x4576e2,_0x507150){const _0x589f43=_0x2f9f05;this[_0x589f43(0xc5)]=_0x61f810,this[_0x589f43(0xbf)]=_0x4576e2,this[_0x589f43(0xce)]=_0x507150;}[_0x2f9f05(0xcb)](_0xd1cced,_0x1b4d97){const _0x2b3b98=_0x2f9f05,_0x23761e=_0x1b4d97[_0x2b3b98(0xc1)]();return _0x50162c(_0x23761e),_0xd1cced[_0x2b3b98(0xc9)][_0x2b3b98(0xc7)](this[_0x2b3b98(0xce)][_0x2b3b98(0xcb)](_0x23761e)),_0xd1cced[_0x2b3b98(0xca)][_0x2b3b98(0xc7)](this[_0x2b3b98(0xc5)]),!0x0;}[_0x2f9f05(0xc8)](_0x1c63e4,_0x5a8de2){const _0x2dab2e=_0x2f9f05;_0x5a8de2[_0x2dab2e(0xca)][_0x2dab2e(0xc1)]();const _0x5465d1=this[_0x2dab2e(0xce)][_0x2dab2e(0xc8)](_0x5a8de2[_0x2dab2e(0xc9)][_0x2dab2e(0xc1)]());_0x351e94(_0x5465d1),_0x5465d1[_0x2dab2e(0xcc)]=this[_0x2dab2e(0xbf)],_0x1c63e4[_0x2dab2e(0xc7)](_0x5465d1);}}function _0x5b81(){const _0x5d31ab=['372ayfFlk','25455PqBhOv','_operationName','7545288WDtZMF','shift','463916sMDdZr','1065450BouBBk','5257014oGCoYU','_id','1103058ICgPMj','push','decompress','buffers','types','compress','__className','2281280wyJOcx','_protobufDescriptor'];_0x5b81=function(){return _0x5d31ab;};return _0x5b81();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4ce275=_0x29e4;function _0x29e4(_0x3ef061,_0x2bfe58){const _0x13fe66=_0x13fe();return _0x29e4=function(_0x29e415,_0xfdcf1){_0x29e415=_0x29e415-0x1e4;let _0x5e3f54=_0x13fe66[_0x29e415];return _0x5e3f54;},_0x29e4(_0x3ef061,_0x2bfe58);}(function(_0x4b5290,_0x53e70f){const _0x1a51fa=_0x29e4,_0x1c81f8=_0x4b5290();while(!![]){try{const _0x50ee3a=-parseInt(_0x1a51fa(0x1f0))/0x1+parseInt(_0x1a51fa(0x1e5))/0x2*(-parseInt(_0x1a51fa(0x1eb))/0x3)+parseInt(_0x1a51fa(0x1f2))/0x4*(-parseInt(_0x1a51fa(0x1ee))/0x5)+-parseInt(_0x1a51fa(0x1f8))/0x6+-parseInt(_0x1a51fa(0x1ed))/0x7+parseInt(_0x1a51fa(0x1e9))/0x8*(-parseInt(_0x1a51fa(0x1f7))/0x9)+parseInt(_0x1a51fa(0x1e8))/0xa;if(_0x50ee3a===_0x53e70f)break;else _0x1c81f8['push'](_0x1c81f8['shift']());}catch(_0x587d86){_0x1c81f8['push'](_0x1c81f8['shift']());}}}(_0x13fe,0x53422));import{messages as _0x437705}from'./lib/compiledmessages.js';function _0x13fe(){const _0x3c9331=['_protobuf','decompress','59121kmIaMu','2198454odupZD','compress','2amcuUC','encode','_protobufRoot','25934740oBzuhj','488ieUJVw','getDescriptor','563547EkpCGB','create','4430846zqzgEX','15BELnmY','toObject','318501mdiKvw','decode','461336aHgUOW','verify','finish'];_0x13fe=function(){return _0x3c9331;};return _0x13fe();}export class ProtobufFactory{[_0x4ce275(0x1e7)];constructor(){const _0x270e94=_0x4ce275;this[_0x270e94(0x1e7)]=_0x437705;}[_0x4ce275(0x1ea)](_0x878678){const _0x386ecf=_0x4ce275;return new ProtobufDescriptor(this[_0x386ecf(0x1e7)][_0x878678]);}}export class ProtobufDescriptor{[_0x4ce275(0x1f5)];constructor(_0x12e9e3){const _0x116aa6=_0x4ce275;this[_0x116aa6(0x1f5)]=_0x12e9e3;}[_0x4ce275(0x1e4)](_0x24f062){const _0x58d32e=_0x4ce275,_0x7770=this[_0x58d32e(0x1f5)][_0x58d32e(0x1f3)](_0x24f062);if(_0x7770)throw Error(_0x7770);return this[_0x58d32e(0x1f5)][_0x58d32e(0x1e6)](this[_0x58d32e(0x1f5)][_0x58d32e(0x1ec)](_0x24f062))[_0x58d32e(0x1f4)]();}[_0x4ce275(0x1f6)](_0x328cd5){const _0x5de525=_0x4ce275;return this[_0x5de525(0x1f5)][_0x5de525(0x1ef)](this[_0x5de525(0x1f5)][_0x5de525(0x1f1)](_0x328cd5),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x4d798d,_0x43d965){const _0x394dd4=_0x2a43,_0x6a1f55=_0x4d798d();while(!![]){try{const _0x15c02d=parseInt(_0x394dd4(0x126))/0x1+parseInt(_0x394dd4(0x12a))/0x2+parseInt(_0x394dd4(0x122))/0x3*(parseInt(_0x394dd4(0x121))/0x4)+parseInt(_0x394dd4(0x129))/0x5+parseInt(_0x394dd4(0x127))/0x6*(parseInt(_0x394dd4(0x12e))/0x7)+parseInt(_0x394dd4(0x130))/0x8*(-parseInt(_0x394dd4(0x12f))/0x9)+-parseInt(_0x394dd4(0x11f))/0xa*(parseInt(_0x394dd4(0x125))/0xb);if(_0x15c02d===_0x43d965)break;else _0x6a1f55['push'](_0x6a1f55['shift']());}catch(_0x319126){_0x6a1f55['push'](_0x6a1f55['shift']());}}}(_0x1fc8,0x52ea0));import{cloneDeep as _0x5b2367,isEqual as _0x3e96a7,isObject as _0x3c3ea0}from'es-toolkit/compat';export function getPositionShiftedBy(_0xc26d21,_0x7f13d3){const _0x16fc44=_0x2a43,_0x383ab8=_0x5b2367(_0xc26d21);return _0x383ab8[_0x16fc44(0x123)][_0x383ab8[_0x16fc44(0x123)][_0x16fc44(0x131)]-0x1]+=_0x7f13d3,_0x383ab8;}export function arePositionsEqual(_0x44fc24,_0x51c9e0){const _0x55e924=_0x2a43;return _0x44fc24[_0x55e924(0x120)]===_0x51c9e0[_0x55e924(0x120)]&&_0x3e96a7(_0x44fc24[_0x55e924(0x123)],_0x51c9e0[_0x55e924(0x123)]);}function _0x2a43(_0x5dd6bd,_0x36de69){const _0x1fc8af=_0x1fc8();return _0x2a43=function(_0x2a436a,_0x3fbc44){_0x2a436a=_0x2a436a-0x11f;let _0x12cdd1=_0x1fc8af[_0x2a436a];return _0x12cdd1;},_0x2a43(_0x5dd6bd,_0x36de69);}export function parsePositionBeforeCompression(_0x20c4d7){const _0x1171d1=_0x2a43;P(_0x20c4d7,_0x58b151=>(_0x1171d1(0x12c)==_0x58b151[_0x1171d1(0x120)]?(_0x58b151[_0x1171d1(0x128)]=!0x0,delete _0x58b151[_0x1171d1(0x120)]):_0x1171d1(0x124)==_0x58b151[_0x1171d1(0x120)]&&(_0x58b151[_0x1171d1(0x12d)]=!0x0,delete _0x58b151[_0x1171d1(0x120)]),_0x58b151));}function _0x1fc8(){const _0x10e986=['176kundLU','433045gWMmkj','1728708Nsuqld','rootMain','590940fBCxgM','918930ZbtCUQ','nodes','main','rootGraveyard','7ZxOVFz','621TLCtaS','38320cDUowd','length','715660BUYoFi','root','2065464PJRUrd','3VxEMYA','path','$graveyard'];_0x1fc8=function(){return _0x10e986;};return _0x1fc8();}export function parsePositionAfterCompression(_0x186fef){const _0x460e10=_0x2a43;P(_0x186fef,_0x3db4e3=>(_0x3db4e3[_0x460e10(0x128)]?(_0x3db4e3[_0x460e10(0x120)]=_0x460e10(0x12c),delete _0x3db4e3[_0x460e10(0x128)]):_0x3db4e3[_0x460e10(0x12d)]&&(_0x3db4e3[_0x460e10(0x120)]=_0x460e10(0x124),delete _0x3db4e3[_0x460e10(0x12d)]),_0x3db4e3));}function P(_0x21d94c,_0x46817b){const _0x17a1fd=_0x2a43;for(const _0x8a5960 in _0x21d94c){const _0x212ccf=_0x21d94c[_0x8a5960];_0x17a1fd(0x12b)!==_0x8a5960&&_0x3c3ea0(_0x212ccf)&&(_0x212ccf[_0x17a1fd(0x123)]&&(_0x212ccf[_0x17a1fd(0x120)]||_0x212ccf[_0x17a1fd(0x128)]||_0x212ccf[_0x17a1fd(0x12d)])?_0x21d94c[_0x8a5960]=_0x46817b(_0x212ccf):P(_0x212ccf,_0x46817b));}return _0x21d94c;}
|