@ckeditor/ckeditor5-operations-compressor 42.0.0-alpha.8 → 42.0.0-alpha.9
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 +2 -2
- 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
|
+
function _0x2b1e(){var _0xc778e4=['compress','119PApKYX','types','_operationName','880449dhorhk','shift','7215741NFVYsm','4mwSnSd','_id','464248tdOycb','decompress','3448280hoJBIV','491542zUNQKQ','push','4721460elCCfO','404040AZuZnn'];_0x2b1e=function(){return _0xc778e4;};return _0x2b1e();}var _0x5952af=_0x5291;(function(_0x59a339,_0x164ab0){var _0xf2d56d=_0x5291,_0x48afcf=_0x59a339();while(!![]){try{var _0x4a9e8c=-parseInt(_0xf2d56d(0x176))/0x1*(-parseInt(_0xf2d56d(0x17b))/0x2)+-parseInt(_0xf2d56d(0x183))/0x3+-parseInt(_0xf2d56d(0x17a))/0x4+parseInt(_0xf2d56d(0x17e))/0x5+parseInt(_0xf2d56d(0x17d))/0x6+-parseInt(_0xf2d56d(0x180))/0x7*(parseInt(_0xf2d56d(0x178))/0x8)+parseInt(_0xf2d56d(0x175))/0x9;if(_0x4a9e8c===_0x164ab0)break;else _0x48afcf['push'](_0x48afcf['shift']());}catch(_0x5c886a){_0x48afcf['push'](_0x48afcf['shift']());}}}(_0x2b1e,0x7ca07));function _0x5291(_0x517f93,_0x4b2923){var _0x2b1e81=_0x2b1e();return _0x5291=function(_0x52919a,_0x39b24a){_0x52919a=_0x52919a-0x175;var _0x9a3b5=_0x2b1e81[_0x52919a];return _0x9a3b5;},_0x5291(_0x517f93,_0x4b2923);}import _0x85cbd9 from'./operationcompressor.js';export default class p extends _0x85cbd9{[_0x5952af(0x17f)](_0x3c2d82,_0x25e6f5){var _0x5b0de3=_0x5952af;return _0x25e6f5[_0x5b0de3(0x184)](),_0x3c2d82[_0x5b0de3(0x181)][_0x5b0de3(0x17c)](this[_0x5b0de3(0x177)]),!0x0;}[_0x5952af(0x179)](_0x3bddc1,_0x4af4c6){var _0x37c380=_0x5952af;_0x4af4c6[_0x37c380(0x181)][_0x37c380(0x184)](),_0x3bddc1[_0x37c380(0x17c)]({'__className':this[_0x37c380(0x182)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5380(){const _0x480f2e=['1wDHTrb','__className','compress','60925194UbbYXm','2584126FKmFpn','14641870CYQnIF','_protobufDescriptor','types','shift','8wukeeM','5MgoeVA','decompress','1200088GiqjPk','buffers','_operationName','_id','7504784wqDSuM','5971650yyTwWk','10686033mPlIiZ','3yImBZk','push'];_0x5380=function(){return _0x480f2e;};return _0x5380();}const _0x3665fa=_0x456c;(function(_0x35b25f,_0x32f035){const _0x330805=_0x456c,_0x476dfd=_0x35b25f();while(!![]){try{const _0x24e25f=-parseInt(_0x330805(0x125))/0x1*(-parseInt(_0x330805(0x129))/0x2)+parseInt(_0x330805(0x123))/0x3*(parseInt(_0x330805(0x131))/0x4)+-parseInt(_0x330805(0x12f))/0x5*(-parseInt(_0x330805(0x136))/0x6)+-parseInt(_0x330805(0x135))/0x7*(-parseInt(_0x330805(0x12e))/0x8)+parseInt(_0x330805(0x122))/0x9+parseInt(_0x330805(0x12a))/0xa+-parseInt(_0x330805(0x128))/0xb;if(_0x24e25f===_0x32f035)break;else _0x476dfd['push'](_0x476dfd['shift']());}catch(_0x5e486e){_0x476dfd['push'](_0x476dfd['shift']());}}}(_0x5380,0xbc8f6));function _0x456c(_0xa1a5a,_0x91c710){const _0x538044=_0x5380();return _0x456c=function(_0x456cdf,_0x588c55){_0x456cdf=_0x456cdf-0x122;let _0x234272=_0x538044[_0x456cdf];return _0x234272;},_0x456c(_0xa1a5a,_0x91c710);}import{parsePositionBeforeCompression as _0x2c5598,parsePositionAfterCompression as _0x9592c3}from'../utils.js';export default class e{constructor(_0x3c930b,_0x281111,_0x256b92){const _0x8f75da=_0x456c;this[_0x8f75da(0x134)]=_0x3c930b,this[_0x8f75da(0x133)]=_0x281111,this[_0x8f75da(0x12b)]=_0x256b92;}[_0x3665fa(0x127)](_0x1427f0,_0x115d09){const _0x2cf77e=_0x3665fa,_0x5044ed=_0x115d09[_0x2cf77e(0x12d)]();return _0x2c5598(_0x5044ed),_0x1427f0[_0x2cf77e(0x132)][_0x2cf77e(0x124)](this[_0x2cf77e(0x12b)][_0x2cf77e(0x127)](_0x5044ed)),_0x1427f0[_0x2cf77e(0x12c)][_0x2cf77e(0x124)](this[_0x2cf77e(0x134)]),!0x0;}[_0x3665fa(0x130)](_0x23cb38,_0x5efa11){const _0x2b40ef=_0x3665fa;_0x5efa11[_0x2b40ef(0x12c)][_0x2b40ef(0x12d)]();const _0x353eb3=this[_0x2b40ef(0x12b)][_0x2b40ef(0x130)](_0x5efa11[_0x2b40ef(0x132)][_0x2b40ef(0x12d)]());_0x9592c3(_0x353eb3),_0x353eb3[_0x2b40ef(0x126)]=this[_0x2b40ef(0x133)],_0x23cb38[_0x2b40ef(0x124)](_0x353eb3);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x46a5(){const _0x13561b=['toObject','decompress','getDescriptor','5707716uVdKRL','4428297SOJvsI','compress','finish','_protobufRoot','105622lWuJHB','1114115ncVlUt','36BigmYn','_protobuf','3754806RDaogB','39324730fcbkYy','decode','24ttrdEk','encode','create','verify','2902963FxpQYU','4VfYtUR'];_0x46a5=function(){return _0x13561b;};return _0x46a5();}function _0x3f0f(_0x459dba,_0x21f21e){const _0x46a5e0=_0x46a5();return _0x3f0f=function(_0x3f0f22,_0x594b9b){_0x3f0f22=_0x3f0f22-0x9d;let _0x14887b=_0x46a5e0[_0x3f0f22];return _0x14887b;},_0x3f0f(_0x459dba,_0x21f21e);}const _0x2af5a4=_0x3f0f;(function(_0x156b1c,_0x5cafe0){const _0x3740cd=_0x3f0f,_0x5f969b=_0x156b1c();while(!![]){try{const _0x25f276=-parseInt(_0x3740cd(0xb0))/0x1*(parseInt(_0x3740cd(0xa4))/0x2)+parseInt(_0x3740cd(0xa8))/0x3+parseInt(_0x3740cd(0x9f))/0x4+parseInt(_0x3740cd(0xa5))/0x5*(parseInt(_0x3740cd(0xa6))/0x6)+-parseInt(_0x3740cd(0xaf))/0x7+-parseInt(_0x3740cd(0xab))/0x8*(-parseInt(_0x3740cd(0xa0))/0x9)+-parseInt(_0x3740cd(0xa9))/0xa;if(_0x25f276===_0x5cafe0)break;else _0x5f969b['push'](_0x5f969b['shift']());}catch(_0x2918a0){_0x5f969b['push'](_0x5f969b['shift']());}}}(_0x46a5,0xe3d16));import{messages as _0x42fa3c}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x575cbb=_0x3f0f;this[_0x575cbb(0xa3)]=_0x42fa3c;}[_0x2af5a4(0x9e)](_0x58d569){const _0xe7f6be=_0x2af5a4;return new ProtobufDescriptor(this[_0xe7f6be(0xa3)][_0x58d569]);}}export class ProtobufDescriptor{constructor(_0x27442b){const _0x46a033=_0x2af5a4;this[_0x46a033(0xa7)]=_0x27442b;}[_0x2af5a4(0xa1)](_0x386a26){const _0x4a4bc8=_0x2af5a4,_0x17c1ee=this[_0x4a4bc8(0xa7)][_0x4a4bc8(0xae)](_0x386a26);if(_0x17c1ee)throw Error(_0x17c1ee);return this[_0x4a4bc8(0xa7)][_0x4a4bc8(0xac)](this[_0x4a4bc8(0xa7)][_0x4a4bc8(0xad)](_0x386a26))[_0x4a4bc8(0xa2)]();}[_0x2af5a4(0x9d)](_0x57168a){const _0x2f670c=_0x2af5a4;return this[_0x2f670c(0xa7)][_0x2f670c(0xb1)](this[_0x2f670c(0xa7)][_0x2f670c(0xaa)](_0x57168a),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3ef871,_0xeb1ec1){const _0x5c8a7d=_0x21a5,_0x21aaff=_0x3ef871();while(!![]){try{const _0x523f64=parseInt(_0x5c8a7d(0x8e))/0x1*(-parseInt(_0x5c8a7d(0x84))/0x2)+-parseInt(_0x5c8a7d(0x80))/0x3*(parseInt(_0x5c8a7d(0x8a))/0x4)+-parseInt(_0x5c8a7d(0x7d))/0x5*(parseInt(_0x5c8a7d(0x81))/0x6)+parseInt(_0x5c8a7d(0x89))/0x7+parseInt(_0x5c8a7d(0x85))/0x8+parseInt(_0x5c8a7d(0x90))/0x9*(parseInt(_0x5c8a7d(0x86))/0xa)+parseInt(_0x5c8a7d(0x88))/0xb*(parseInt(_0x5c8a7d(0x7e))/0xc);if(_0x523f64===_0xeb1ec1)break;else _0x21aaff['push'](_0x21aaff['shift']());}catch(_0xee4574){_0x21aaff['push'](_0x21aaff['shift']());}}}(_0x4553,0x7e89b));import{cloneDeep as _0x4637f3,isEqual as _0x40d398,isObject as _0xbe54c}from'lodash-es';export function getPositionShiftedBy(_0x3bb0b1,_0x47717b){const _0x25b013=_0x21a5,_0x19ef3b=_0x4637f3(_0x3bb0b1);return _0x19ef3b[_0x25b013(0x8c)][_0x19ef3b[_0x25b013(0x8c)][_0x25b013(0x8f)]-0x1]+=_0x47717b,_0x19ef3b;}export function arePositionsEqual(_0x4c37fa,_0x58d5b5){const _0x30f87e=_0x21a5;return _0x4c37fa[_0x30f87e(0x87)]===_0x58d5b5[_0x30f87e(0x87)]&&_0x40d398(_0x4c37fa[_0x30f87e(0x8c)],_0x58d5b5[_0x30f87e(0x8c)]);}export function parsePositionBeforeCompression(_0x36966f){const _0x8a5788=_0x21a5;P(_0x36966f,_0x4cc26e=>(_0x8a5788(0x7f)==_0x4cc26e[_0x8a5788(0x87)]?(_0x4cc26e[_0x8a5788(0x82)]=!0x0,delete _0x4cc26e[_0x8a5788(0x87)]):_0x8a5788(0x83)==_0x4cc26e[_0x8a5788(0x87)]&&(_0x4cc26e[_0x8a5788(0x8b)]=!0x0,delete _0x4cc26e[_0x8a5788(0x87)]),_0x4cc26e));}export function parsePositionAfterCompression(_0x292906){const _0x500205=_0x21a5;P(_0x292906,_0x135b42=>(_0x135b42[_0x500205(0x82)]?(_0x135b42[_0x500205(0x87)]=_0x500205(0x7f),delete _0x135b42[_0x500205(0x82)]):_0x135b42[_0x500205(0x8b)]&&(_0x135b42[_0x500205(0x87)]=_0x500205(0x83),delete _0x135b42[_0x500205(0x8b)]),_0x135b42));}function _0x21a5(_0x57050d,_0x3e7cc4){const _0x4553a9=_0x4553();return _0x21a5=function(_0x21a560,_0x3f53e0){_0x21a560=_0x21a560-0x7d;let _0x53b62a=_0x4553a9[_0x21a560];return _0x53b62a;},_0x21a5(_0x57050d,_0x3e7cc4);}function _0x4553(){const _0x140152=['rootMain','$graveyard','24IpEFIu','3659848eGQtLx','10kkXxUp','root','246675WKvwCt','1124326xmRHbJ','4HJjjqk','rootGraveyard','path','nodes','62597hEaXLS','length','1750131sEzqAU','335gTxcIW','684LLLPbX','main','201303iBKEqN','67542ZxovTK'];_0x4553=function(){return _0x140152;};return _0x4553();}function P(_0x5656b9,_0x1a3bf8){const _0x45d1af=_0x21a5;for(const _0x52c69c in _0x5656b9){const _0x4f9351=_0x5656b9[_0x52c69c];_0x45d1af(0x8d)!==_0x52c69c&&_0xbe54c(_0x4f9351)&&(_0x4f9351[_0x45d1af(0x8c)]&&(_0x4f9351[_0x45d1af(0x87)]||_0x4f9351[_0x45d1af(0x82)]||_0x4f9351[_0x45d1af(0x8b)])?_0x5656b9[_0x52c69c]=_0x1a3bf8(_0x4f9351):P(_0x4f9351,_0x1a3bf8));}return _0x5656b9;}
|