@ckeditor/ckeditor5-operations-compressor 43.1.0-alpha.8 → 43.1.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
|
+
function _0x2eff(_0x273a3b,_0x5dce7d){const _0x5efb63=_0x5efb();return _0x2eff=function(_0x2effc1,_0x21fde8){_0x2effc1=_0x2effc1-0x124;let _0x3533c7=_0x5efb63[_0x2effc1];return _0x3533c7;},_0x2eff(_0x273a3b,_0x5dce7d);}const _0x43b6ab=_0x2eff;(function(_0x2f8cc9,_0x33d3ce){const _0x48fb0c=_0x2eff,_0x425073=_0x2f8cc9();while(!![]){try{const _0x321e02=-parseInt(_0x48fb0c(0x131))/0x1*(-parseInt(_0x48fb0c(0x12a))/0x2)+parseInt(_0x48fb0c(0x12e))/0x3+parseInt(_0x48fb0c(0x124))/0x4+parseInt(_0x48fb0c(0x129))/0x5+-parseInt(_0x48fb0c(0x12b))/0x6*(-parseInt(_0x48fb0c(0x126))/0x7)+-parseInt(_0x48fb0c(0x12c))/0x8+parseInt(_0x48fb0c(0x12f))/0x9*(-parseInt(_0x48fb0c(0x12d))/0xa);if(_0x321e02===_0x33d3ce)break;else _0x425073['push'](_0x425073['shift']());}catch(_0x1b906f){_0x425073['push'](_0x425073['shift']());}}}(_0x5efb,0xe9e28));import _0x2a802d from'./operationcompressor.js';function _0x5efb(){const _0x44419a=['2020PiuxlP','465027wBipqG','29871kTxHvP','decompress','72830bWSnkB','6285016xQFbuC','oldRange','357595JnYXhQ','length','newRange','3091940vvEntN','2nlCerQ','66JfxMVr','10807888fNSRbh'];_0x5efb=function(){return _0x44419a;};return _0x5efb();}export default class n extends _0x2a802d{[_0x43b6ab(0x130)](_0x124f69,_0x98aa19){const _0x3e3a67=_0x43b6ab;super[_0x3e3a67(0x130)](_0x124f69,_0x98aa19);const _0x5b6364=_0x124f69[_0x124f69[_0x3e3a67(0x127)]-0x1];_0x5b6364[_0x3e3a67(0x125)]||(_0x5b6364[_0x3e3a67(0x125)]=null),_0x5b6364[_0x3e3a67(0x128)]||(_0x5b6364[_0x3e3a67(0x128)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2e9b32=_0x5898;(function(_0x1c013c,_0x11817f){var _0x2195dc=_0x5898,_0x5e97b8=_0x1c013c();while(!![]){try{var _0x4df967=parseInt(_0x2195dc(0x19d))/0x1*(-parseInt(_0x2195dc(0x1a1))/0x2)+parseInt(_0x2195dc(0x195))/0x3+-parseInt(_0x2195dc(0x19e))/0x4+parseInt(_0x2195dc(0x19f))/0x5*(parseInt(_0x2195dc(0x19c))/0x6)+parseInt(_0x2195dc(0x1a2))/0x7+parseInt(_0x2195dc(0x197))/0x8+-parseInt(_0x2195dc(0x19b))/0x9*(parseInt(_0x2195dc(0x1a0))/0xa);if(_0x4df967===_0x11817f)break;else _0x5e97b8['push'](_0x5e97b8['shift']());}catch(_0xcc406c){_0x5e97b8['push'](_0x5e97b8['shift']());}}}(_0xbd6a,0x27110));function _0x5898(_0x2aee9d,_0x5bf2a2){var _0xbd6a9c=_0xbd6a();return _0x5898=function(_0x589882,_0x54dc04){_0x589882=_0x589882-0x194;var _0x184524=_0xbd6a9c[_0x589882];return _0x184524;},_0x5898(_0x2aee9d,_0x5bf2a2);}import _0x82020d from'./operationcompressor.js';function _0xbd6a(){var _0x59f903=['185OEoQdc','27480PBsWXd','125OiAiRG','32210DMTjaM','1492eHfHib','1511930ARIqjf','types','_operationName','compress','852126oVZdSW','decompress','603376RBKRqV','shift','_id','push','1557pepHMe','68802bZuMsF'];_0xbd6a=function(){return _0x59f903;};return _0xbd6a();}export default class p extends _0x82020d{[_0x2e9b32(0x194)](_0xe1a03a,_0x30b90a){var _0x3555b9=_0x2e9b32;return _0x30b90a[_0x3555b9(0x198)](),_0xe1a03a[_0x3555b9(0x1a3)][_0x3555b9(0x19a)](this[_0x3555b9(0x199)]),!0x0;}[_0x2e9b32(0x196)](_0x252b25,_0x35e471){var _0x88c5d=_0x2e9b32;_0x35e471[_0x88c5d(0x1a3)][_0x88c5d(0x198)](),_0x252b25[_0x88c5d(0x19a)]({'__className':this[_0x88c5d(0x1a4)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x3032(_0x35bd28,_0x424649){const _0x38cc7b=_0x38cc();return _0x3032=function(_0x30325d,_0x2d8184){_0x30325d=_0x30325d-0x170;let _0x3d66f5=_0x38cc7b[_0x30325d];return _0x3d66f5;},_0x3032(_0x35bd28,_0x424649);}function _0x38cc(){const _0x280ae0=['_protobufDescriptor','4VjdAMx','_operationName','types','_id','decompress','36VrSCVf','buffers','shift','18704FiUKlm','3087zlVVty','1730197QnvgUb','compress','479058OSQtrq','60VNueoO','12270863PzpcJu','3250090iqXrvv','94702hoZTYQ','__className','push','2902602QiIfUp','2jHOhbd'];_0x38cc=function(){return _0x280ae0;};return _0x38cc();}const _0x3341fc=_0x3032;(function(_0x5e466f,_0x5dd0ef){const _0x4ad61f=_0x3032,_0x17e7be=_0x5e466f();while(!![]){try{const _0x7a5e50=parseInt(_0x4ad61f(0x172))/0x1*(parseInt(_0x4ad61f(0x184))/0x2)+parseInt(_0x4ad61f(0x171))/0x3*(-parseInt(_0x4ad61f(0x174))/0x4)+parseInt(_0x4ad61f(0x181))/0x5*(-parseInt(_0x4ad61f(0x180))/0x6)+-parseInt(_0x4ad61f(0x17e))/0x7+parseInt(_0x4ad61f(0x17c))/0x8*(-parseInt(_0x4ad61f(0x17d))/0x9)+parseInt(_0x4ad61f(0x183))/0xa+-parseInt(_0x4ad61f(0x182))/0xb*(-parseInt(_0x4ad61f(0x179))/0xc);if(_0x7a5e50===_0x5dd0ef)break;else _0x17e7be['push'](_0x17e7be['shift']());}catch(_0x27aaa1){_0x17e7be['push'](_0x17e7be['shift']());}}}(_0x38cc,0xc1403));import{parsePositionBeforeCompression as _0x8765f8,parsePositionAfterCompression as _0x83428b}from'../utils.js';export default class e{constructor(_0x12a874,_0x4fa072,_0x49daf9){const _0x317617=_0x3032;this[_0x317617(0x177)]=_0x12a874,this[_0x317617(0x175)]=_0x4fa072,this[_0x317617(0x173)]=_0x49daf9;}[_0x3341fc(0x17f)](_0x4c69f9,_0x4bcfd1){const _0x2be524=_0x3341fc,_0x31fa3c=_0x4bcfd1[_0x2be524(0x17b)]();return _0x8765f8(_0x31fa3c),_0x4c69f9[_0x2be524(0x17a)][_0x2be524(0x170)](this[_0x2be524(0x173)][_0x2be524(0x17f)](_0x31fa3c)),_0x4c69f9[_0x2be524(0x176)][_0x2be524(0x170)](this[_0x2be524(0x177)]),!0x0;}[_0x3341fc(0x178)](_0x4cb55e,_0xeb2a0d){const _0x677b21=_0x3341fc;_0xeb2a0d[_0x677b21(0x176)][_0x677b21(0x17b)]();const _0x2c4415=this[_0x677b21(0x173)][_0x677b21(0x178)](_0xeb2a0d[_0x677b21(0x17a)][_0x677b21(0x17b)]());_0x83428b(_0x2c4415),_0x2c4415[_0x677b21(0x185)]=this[_0x677b21(0x175)],_0x4cb55e[_0x677b21(0x170)](_0x2c4415);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1bbe43=_0x3673;(function(_0x1f5622,_0x3276e4){const _0xcc5416=_0x3673,_0x282d72=_0x1f5622();while(!![]){try{const _0x5610c7=-parseInt(_0xcc5416(0xdf))/0x1*(-parseInt(_0xcc5416(0xe0))/0x2)+-parseInt(_0xcc5416(0xe8))/0x3+parseInt(_0xcc5416(0xdc))/0x4+parseInt(_0xcc5416(0xe3))/0x5*(parseInt(_0xcc5416(0xde))/0x6)+-parseInt(_0xcc5416(0xe1))/0x7+-parseInt(_0xcc5416(0xe9))/0x8*(parseInt(_0xcc5416(0xe2))/0x9)+-parseInt(_0xcc5416(0xdd))/0xa;if(_0x5610c7===_0x3276e4)break;else _0x282d72['push'](_0x282d72['shift']());}catch(_0x4fbf36){_0x282d72['push'](_0x282d72['shift']());}}}(_0x12dd,0xad65c));import{messages as _0x12e556}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x37a84d=_0x3673;this[_0x37a84d(0xe4)]=_0x12e556;}[_0x1bbe43(0xea)](_0xcd5623){const _0x1acdf7=_0x1bbe43;return new ProtobufDescriptor(this[_0x1acdf7(0xe4)][_0xcd5623]);}}function _0x12dd(){const _0x16b07e=['decode','finish','_protobuf','create','decompress','toObject','4213680AfxniV','5037210kQNFnU','5516454MUjvxs','13049CsaDam','182mQwDrQ','5558154ZCWqCz','72ShfsKP','5JyjETB','_protobufRoot','compress','verify','encode','3263583Zygugn','64448HPqOzE','getDescriptor'];_0x12dd=function(){return _0x16b07e;};return _0x12dd();}function _0x3673(_0x31b372,_0x4d0e29){const _0x12dd24=_0x12dd();return _0x3673=function(_0x367334,_0x4ff131){_0x367334=_0x367334-0xd7;let _0x37ea5e=_0x12dd24[_0x367334];return _0x37ea5e;},_0x3673(_0x31b372,_0x4d0e29);}export class ProtobufDescriptor{constructor(_0x31d1b9){const _0x52d8a3=_0x1bbe43;this[_0x52d8a3(0xd8)]=_0x31d1b9;}[_0x1bbe43(0xe5)](_0x4efd7f){const _0x3ec17f=_0x1bbe43,_0x5cbf55=this[_0x3ec17f(0xd8)][_0x3ec17f(0xe6)](_0x4efd7f);if(_0x5cbf55)throw Error(_0x5cbf55);return this[_0x3ec17f(0xd8)][_0x3ec17f(0xe7)](this[_0x3ec17f(0xd8)][_0x3ec17f(0xd9)](_0x4efd7f))[_0x3ec17f(0xd7)]();}[_0x1bbe43(0xda)](_0x1a3f05){const _0x12b4a6=_0x1bbe43;return this[_0x12b4a6(0xd8)][_0x12b4a6(0xdb)](this[_0x12b4a6(0xd8)][_0x12b4a6(0xeb)](_0x1a3f05),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x403c(_0x35f698,_0x3baeb9){const _0x44afa8=_0x44af();return _0x403c=function(_0x403c29,_0x3239b4){_0x403c29=_0x403c29-0x1d2;let _0x261ab8=_0x44afa8[_0x403c29];return _0x261ab8;},_0x403c(_0x35f698,_0x3baeb9);}(function(_0x32a2cf,_0xa7e203){const _0x1cd0a0=_0x403c,_0x5133f4=_0x32a2cf();while(!![]){try{const _0x20b5cb=-parseInt(_0x1cd0a0(0x1dd))/0x1+-parseInt(_0x1cd0a0(0x1db))/0x2+-parseInt(_0x1cd0a0(0x1e0))/0x3+parseInt(_0x1cd0a0(0x1da))/0x4+parseInt(_0x1cd0a0(0x1d8))/0x5+parseInt(_0x1cd0a0(0x1d4))/0x6*(-parseInt(_0x1cd0a0(0x1d3))/0x7)+parseInt(_0x1cd0a0(0x1d5))/0x8*(parseInt(_0x1cd0a0(0x1e2))/0x9);if(_0x20b5cb===_0xa7e203)break;else _0x5133f4['push'](_0x5133f4['shift']());}catch(_0x3bbac3){_0x5133f4['push'](_0x5133f4['shift']());}}}(_0x44af,0xc3905));import{cloneDeep as _0x45a632,isEqual as _0x20c7fe,isObject as _0x5c2647}from'lodash-es';function _0x44af(){const _0x42f90c=['rootGraveyard','126GvgUEu','length','2338385tHOAup','12EVFwQc','450424EeWIZI','$graveyard','root','7431740YWJhgl','main','460912mMzRFa','609942jEyJrC','rootMain','416217WYBOEl','path','nodes','598473cPtZsY'];_0x44af=function(){return _0x42f90c;};return _0x44af();}export function getPositionShiftedBy(_0xadc71a,_0x44267c){const _0x1d7485=_0x403c,_0x40dbbb=_0x45a632(_0xadc71a);return _0x40dbbb[_0x1d7485(0x1de)][_0x40dbbb[_0x1d7485(0x1de)][_0x1d7485(0x1d2)]-0x1]+=_0x44267c,_0x40dbbb;}export function arePositionsEqual(_0x58714c,_0x4f9ac7){const _0x4421f9=_0x403c;return _0x58714c[_0x4421f9(0x1d7)]===_0x4f9ac7[_0x4421f9(0x1d7)]&&_0x20c7fe(_0x58714c[_0x4421f9(0x1de)],_0x4f9ac7[_0x4421f9(0x1de)]);}export function parsePositionBeforeCompression(_0x4a72f3){const _0x513223=_0x403c;P(_0x4a72f3,_0x55dfb5=>(_0x513223(0x1d9)==_0x55dfb5[_0x513223(0x1d7)]?(_0x55dfb5[_0x513223(0x1dc)]=!0x0,delete _0x55dfb5[_0x513223(0x1d7)]):_0x513223(0x1d6)==_0x55dfb5[_0x513223(0x1d7)]&&(_0x55dfb5[_0x513223(0x1e1)]=!0x0,delete _0x55dfb5[_0x513223(0x1d7)]),_0x55dfb5));}export function parsePositionAfterCompression(_0x28e3b2){const _0x42706f=_0x403c;P(_0x28e3b2,_0x4296f4=>(_0x4296f4[_0x42706f(0x1dc)]?(_0x4296f4[_0x42706f(0x1d7)]=_0x42706f(0x1d9),delete _0x4296f4[_0x42706f(0x1dc)]):_0x4296f4[_0x42706f(0x1e1)]&&(_0x4296f4[_0x42706f(0x1d7)]=_0x42706f(0x1d6),delete _0x4296f4[_0x42706f(0x1e1)]),_0x4296f4));}function P(_0x4d6583,_0x52bd92){const _0x3c3b7b=_0x403c;for(const _0x37e63a in _0x4d6583){const _0x3ce1ab=_0x4d6583[_0x37e63a];_0x3c3b7b(0x1df)!==_0x37e63a&&_0x5c2647(_0x3ce1ab)&&(_0x3ce1ab[_0x3c3b7b(0x1de)]&&(_0x3ce1ab[_0x3c3b7b(0x1d7)]||_0x3ce1ab[_0x3c3b7b(0x1dc)]||_0x3ce1ab[_0x3c3b7b(0x1e1)])?_0x4d6583[_0x37e63a]=_0x52bd92(_0x3ce1ab):P(_0x3ce1ab,_0x52bd92));}return _0x4d6583;}
|