@ckeditor/ckeditor5-operations-compressor 42.0.0-alpha.16 → 42.0.0-alpha.18
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
|
-
|
|
23
|
+
var _0xed7499=_0x58bb;(function(_0x2ebd35,_0x25c5ed){var _0x4fd221=_0x58bb,_0x3b7d4f=_0x2ebd35();while(!![]){try{var _0x268c54=-parseInt(_0x4fd221(0x10f))/0x1+-parseInt(_0x4fd221(0x113))/0x2*(parseInt(_0x4fd221(0x10c))/0x3)+-parseInt(_0x4fd221(0x107))/0x4+-parseInt(_0x4fd221(0x110))/0x5+parseInt(_0x4fd221(0x116))/0x6+parseInt(_0x4fd221(0x112))/0x7*(-parseInt(_0x4fd221(0x10e))/0x8)+parseInt(_0x4fd221(0x10a))/0x9;if(_0x268c54===_0x25c5ed)break;else _0x3b7d4f['push'](_0x3b7d4f['shift']());}catch(_0x38f77d){_0x3b7d4f['push'](_0x3b7d4f['shift']());}}}(_0x2372,0x601bf));function _0x58bb(_0x1a318b,_0x42e3ef){var _0x2372ed=_0x2372();return _0x58bb=function(_0x58bb9f,_0x1d2856){_0x58bb9f=_0x58bb9f-0x107;var _0x27fc9e=_0x2372ed[_0x58bb9f];return _0x27fc9e;},_0x58bb(_0x1a318b,_0x42e3ef);}import _0x5d2e9c from'./operationcompressor.js';export default class p extends _0x5d2e9c{[_0xed7499(0x111)](_0x4fc0b2,_0x1f61f4){var _0x2013d0=_0xed7499;return _0x1f61f4[_0x2013d0(0x109)](),_0x4fc0b2[_0x2013d0(0x115)][_0x2013d0(0x10b)](this[_0x2013d0(0x108)]),!0x0;}[_0xed7499(0x114)](_0x4e4a77,_0x812fa8){var _0x3c1369=_0xed7499;_0x812fa8[_0x3c1369(0x115)][_0x3c1369(0x109)](),_0x4e4a77[_0x3c1369(0x10b)]({'__className':this[_0x3c1369(0x10d)]});}}function _0x2372(){var _0x4afb97=['2VGSSUE','decompress','types','564984kNWSpl','2292024zwrzeB','_id','shift','23457276miWOdr','push','672369asfzxm','_operationName','383976IDQOWN','754026PYWNJb','3058595DEsZMO','compress','21JSURqT'];_0x2372=function(){return _0x4afb97;};return _0x2372();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x481141=_0x41f1;(function(_0x33d509,_0x27ced5){const _0x43813f=_0x41f1,_0x2915b8=_0x33d509();while(!![]){try{const _0x3e8a3d=-parseInt(_0x43813f(0x152))/0x1*(-parseInt(_0x43813f(0x14d))/0x2)+-parseInt(_0x43813f(0x14a))/0x3*(-parseInt(_0x43813f(0x146))/0x4)+-parseInt(_0x43813f(0x151))/0x5+-parseInt(_0x43813f(0x147))/0x6+parseInt(_0x43813f(0x149))/0x7+-parseInt(_0x43813f(0x14b))/0x8*(parseInt(_0x43813f(0x153))/0x9)+parseInt(_0x43813f(0x150))/0xa;if(_0x3e8a3d===_0x27ced5)break;else _0x2915b8['push'](_0x2915b8['shift']());}catch(_0x285737){_0x2915b8['push'](_0x2915b8['shift']());}}}(_0x5de6,0x44f90));import{parsePositionBeforeCompression as _0x3eb6a7,parsePositionAfterCompression as _0x511023}from'../utils.js';export default class e{constructor(_0x46605b,_0x3014d0,_0x2018f7){const _0x1146f7=_0x41f1;this[_0x1146f7(0x142)]=_0x46605b,this[_0x1146f7(0x143)]=_0x3014d0,this[_0x1146f7(0x154)]=_0x2018f7;}[_0x481141(0x155)](_0x29f07d,_0x4c0bf5){const _0x464fcd=_0x481141,_0x28c385=_0x4c0bf5[_0x464fcd(0x145)]();return _0x3eb6a7(_0x28c385),_0x29f07d[_0x464fcd(0x144)][_0x464fcd(0x148)](this[_0x464fcd(0x154)][_0x464fcd(0x155)](_0x28c385)),_0x29f07d[_0x464fcd(0x14e)][_0x464fcd(0x148)](this[_0x464fcd(0x142)]),!0x0;}[_0x481141(0x14f)](_0x33cc3e,_0x334dbe){const _0xff4d4d=_0x481141;_0x334dbe[_0xff4d4d(0x14e)][_0xff4d4d(0x145)]();const _0x1cb977=this[_0xff4d4d(0x154)][_0xff4d4d(0x14f)](_0x334dbe[_0xff4d4d(0x144)][_0xff4d4d(0x145)]());_0x511023(_0x1cb977),_0x1cb977[_0xff4d4d(0x14c)]=this[_0xff4d4d(0x143)],_0x33cc3e[_0xff4d4d(0x148)](_0x1cb977);}}function _0x41f1(_0x3d39da,_0x32c673){const _0x5de6c7=_0x5de6();return _0x41f1=function(_0x41f1a1,_0x4cf0d3){_0x41f1a1=_0x41f1a1-0x142;let _0x1b4ea4=_0x5de6c7[_0x41f1a1];return _0x1b4ea4;},_0x41f1(_0x3d39da,_0x32c673);}function _0x5de6(){const _0x3995f7=['273iZgarD','111056XYBsOW','__className','11014cpVlBh','types','decompress','3325830evCzwM','220375CTmObw','68YeJvGR','333UOqaoQ','_protobufDescriptor','compress','_id','_operationName','buffers','shift','21752kjFsoZ','3052596lHVxJE','push','1029490HuihEC'];_0x5de6=function(){return _0x3995f7;};return _0x5de6();}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3e9522=_0xf67a;function _0xf67a(_0x3900d9,_0x347df0){const _0x45eba7=_0x45eb();return _0xf67a=function(_0xf67a79,_0x118283){_0xf67a79=_0xf67a79-0xab;let _0x3e7e59=_0x45eba7[_0xf67a79];return _0x3e7e59;},_0xf67a(_0x3900d9,_0x347df0);}(function(_0x1c4969,_0x47e829){const _0x45e290=_0xf67a,_0x1ca4dd=_0x1c4969();while(!![]){try{const _0x1139d9=parseInt(_0x45e290(0xbe))/0x1*(parseInt(_0x45e290(0xbc))/0x2)+-parseInt(_0x45e290(0xb4))/0x3+-parseInt(_0x45e290(0xc0))/0x4+-parseInt(_0x45e290(0xbf))/0x5*(-parseInt(_0x45e290(0xac))/0x6)+parseInt(_0x45e290(0xb2))/0x7*(-parseInt(_0x45e290(0xb5))/0x8)+-parseInt(_0x45e290(0xae))/0x9*(-parseInt(_0x45e290(0xb8))/0xa)+parseInt(_0x45e290(0xb9))/0xb;if(_0x1139d9===_0x47e829)break;else _0x1ca4dd['push'](_0x1ca4dd['shift']());}catch(_0x575056){_0x1ca4dd['push'](_0x1ca4dd['shift']());}}}(_0x45eb,0x1f422));import{messages as _0x1a500a}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x24b84e=_0xf67a;this[_0x24b84e(0xb0)]=_0x1a500a;}[_0x3e9522(0xad)](_0x989d00){const _0x2062db=_0x3e9522;return new ProtobufDescriptor(this[_0x2062db(0xb0)][_0x989d00]);}}function _0x45eb(){const _0x3da454=['693360pSoVCJ','248WqmAiR','create','toObject','10OAgxbm','5893910GzjNDy','compress','finish','14iiFAuj','_protobuf','19336EzNfmj','445oVZgDU','480104CQHiDL','verify','786cYarWu','getDescriptor','240201JxZXCf','encode','_protobufRoot','decompress','52010cJghZZ','decode'];_0x45eb=function(){return _0x3da454;};return _0x45eb();}export class ProtobufDescriptor{constructor(_0xf2abff){const _0x495136=_0x3e9522;this[_0x495136(0xbd)]=_0xf2abff;}[_0x3e9522(0xba)](_0x1ba2a2){const _0x3801ad=_0x3e9522,_0x1097d0=this[_0x3801ad(0xbd)][_0x3801ad(0xab)](_0x1ba2a2);if(_0x1097d0)throw Error(_0x1097d0);return this[_0x3801ad(0xbd)][_0x3801ad(0xaf)](this[_0x3801ad(0xbd)][_0x3801ad(0xb6)](_0x1ba2a2))[_0x3801ad(0xbb)]();}[_0x3e9522(0xb1)](_0x1d8579){const _0x2bc9f5=_0x3e9522;return this[_0x2bc9f5(0xbd)][_0x2bc9f5(0xb7)](this[_0x2bc9f5(0xbd)][_0x2bc9f5(0xb3)](_0x1d8579),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
(function(_0xbcb806,_0xe827d9){const _0x2e3003=_0x1250,_0x43fe81=_0xbcb806();while(!![]){try{const _0x3e8109=parseInt(_0x2e3003(0x18f))/0x1+-parseInt(_0x2e3003(0x197))/0x2+parseInt(_0x2e3003(0x18b))/0x3*(-parseInt(_0x2e3003(0x18e))/0x4)+-parseInt(_0x2e3003(0x18c))/0x5+-parseInt(_0x2e3003(0x198))/0x6*(parseInt(_0x2e3003(0x19b))/0x7)+parseInt(_0x2e3003(0x196))/0x8+-parseInt(_0x2e3003(0x18d))/0x9;if(_0x3e8109===_0xe827d9)break;else _0x43fe81['push'](_0x43fe81['shift']());}catch(_0x5c1960){_0x43fe81['push'](_0x43fe81['shift']());}}}(_0x1872,0xbd6a4));function _0x1872(){const _0xeb10f3=['66598pOLiOQ','726rCENyB','main','length','26369wEPuHs','3CWyijG','2457145yjlQpM','7523892ZfGgmL','1495112zQJEon','1484155ZNXmOV','$graveyard','root','rootGraveyard','path','rootMain','nodes','11855920wkyzEX'];_0x1872=function(){return _0xeb10f3;};return _0x1872();}import{cloneDeep as _0x59cbbf,isEqual as _0x288ba3,isObject as _0x1aa220}from'lodash-es';export function getPositionShiftedBy(_0x3e224b,_0x411db7){const _0x38f33e=_0x1250,_0x5e0a5d=_0x59cbbf(_0x3e224b);return _0x5e0a5d[_0x38f33e(0x193)][_0x5e0a5d[_0x38f33e(0x193)][_0x38f33e(0x19a)]-0x1]+=_0x411db7,_0x5e0a5d;}export function arePositionsEqual(_0x1ad27f,_0x46b697){const _0x25e85d=_0x1250;return _0x1ad27f[_0x25e85d(0x191)]===_0x46b697[_0x25e85d(0x191)]&&_0x288ba3(_0x1ad27f[_0x25e85d(0x193)],_0x46b697[_0x25e85d(0x193)]);}function _0x1250(_0x4abed4,_0x3e5f95){const _0x18725e=_0x1872();return _0x1250=function(_0x12506b,_0x4b8d3b){_0x12506b=_0x12506b-0x18b;let _0x4f0402=_0x18725e[_0x12506b];return _0x4f0402;},_0x1250(_0x4abed4,_0x3e5f95);}export function parsePositionBeforeCompression(_0x1a18ac){const _0x5c8dbc=_0x1250;P(_0x1a18ac,_0x22426b=>(_0x5c8dbc(0x199)==_0x22426b[_0x5c8dbc(0x191)]?(_0x22426b[_0x5c8dbc(0x194)]=!0x0,delete _0x22426b[_0x5c8dbc(0x191)]):_0x5c8dbc(0x190)==_0x22426b[_0x5c8dbc(0x191)]&&(_0x22426b[_0x5c8dbc(0x192)]=!0x0,delete _0x22426b[_0x5c8dbc(0x191)]),_0x22426b));}export function parsePositionAfterCompression(_0x1a451c){const _0xbd3bcb=_0x1250;P(_0x1a451c,_0x47163a=>(_0x47163a[_0xbd3bcb(0x194)]?(_0x47163a[_0xbd3bcb(0x191)]=_0xbd3bcb(0x199),delete _0x47163a[_0xbd3bcb(0x194)]):_0x47163a[_0xbd3bcb(0x192)]&&(_0x47163a[_0xbd3bcb(0x191)]=_0xbd3bcb(0x190),delete _0x47163a[_0xbd3bcb(0x192)]),_0x47163a));}function P(_0x3e622c,_0x17fb6c){const _0x418741=_0x1250;for(const _0x568815 in _0x3e622c){const _0x9db235=_0x3e622c[_0x568815];_0x418741(0x195)!==_0x568815&&_0x1aa220(_0x9db235)&&(_0x9db235[_0x418741(0x193)]&&(_0x9db235[_0x418741(0x191)]||_0x9db235[_0x418741(0x194)]||_0x9db235[_0x418741(0x192)])?_0x3e622c[_0x568815]=_0x17fb6c(_0x9db235):P(_0x9db235,_0x17fb6c));}return _0x3e622c;}
|