@ckeditor/ckeditor5-operations-compressor 43.3.0-alpha.10 → 43.3.0-alpha.12
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 _0x1b1371=_0x487b;(function(_0x5ba503,_0x23f53){var _0x36decb=_0x487b,_0x4be954=_0x5ba503();while(!![]){try{var _0x472fc8=-parseInt(_0x36decb(0x17a))/0x1+parseInt(_0x36decb(0x17b))/0x2*(parseInt(_0x36decb(0x177))/0x3)+parseInt(_0x36decb(0x186))/0x4*(-parseInt(_0x36decb(0x187))/0x5)+-parseInt(_0x36decb(0x176))/0x6*(parseInt(_0x36decb(0x17f))/0x7)+-parseInt(_0x36decb(0x183))/0x8*(-parseInt(_0x36decb(0x17d))/0x9)+-parseInt(_0x36decb(0x189))/0xa*(parseInt(_0x36decb(0x182))/0xb)+parseInt(_0x36decb(0x185))/0xc*(parseInt(_0x36decb(0x17e))/0xd);if(_0x472fc8===_0x23f53)break;else _0x4be954['push'](_0x4be954['shift']());}catch(_0x298477){_0x4be954['push'](_0x4be954['shift']());}}}(_0x31ee,0x3f367));function _0x487b(_0x2694ba,_0x4aaae8){var _0x31eea7=_0x31ee();return _0x487b=function(_0x487b2c,_0x48b55f){_0x487b2c=_0x487b2c-0x176;var _0xa6c2c9=_0x31eea7[_0x487b2c];return _0xa6c2c9;},_0x487b(_0x2694ba,_0x4aaae8);}function _0x31ee(){var _0x4c202e=['decompress','198CHTHMA','848naEnbt','types','1287804HKLVAa','36RcQUiI','268715vkcYBo','_id','280490gkFDBm','17682jsnEiB','1252023JfnZTk','push','_operationName','246529QRLoPq','2cqywVN','shift','34389MFfOEd','91mGFzhq','189hLtkzT','compress'];_0x31ee=function(){return _0x4c202e;};return _0x31ee();}import _0x4dda95 from'./operationcompressor.js';export default class p extends _0x4dda95{[_0x1b1371(0x180)](_0x57ff1d,_0x1c29b6){var _0x4a1400=_0x1b1371;return _0x1c29b6[_0x4a1400(0x17c)](),_0x57ff1d[_0x4a1400(0x184)][_0x4a1400(0x178)](this[_0x4a1400(0x188)]),!0x0;}[_0x1b1371(0x181)](_0x159a1c,_0x51a6a6){var _0x5aeea4=_0x1b1371;_0x51a6a6[_0x5aeea4(0x184)][_0x5aeea4(0x17c)](),_0x159a1c[_0x5aeea4(0x178)]({'__className':this[_0x5aeea4(0x179)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x2e735c=_0x2e16;function _0x46b0(){const _0x4fad27=['2567354bnTvdL','types','3634690FJYgiO','buffers','compress','2892ZZkeox','__className','21154ckkIRW','shift','77vRWvRF','decompress','1294245GTQbEc','_protobufDescriptor','942822lskavx','1VUhHUj','_id','push','1600856HMRGki','_operationName','2108frvtBX','1884DFPUft'];_0x46b0=function(){return _0x4fad27;};return _0x46b0();}(function(_0x3a68c3,_0x2d9dd3){const _0x525604=_0x2e16,_0x3edb2f=_0x3a68c3();while(!![]){try{const _0x43557c=parseInt(_0x525604(0xeb))/0x1*(-parseInt(_0x525604(0xf2))/0x2)+parseInt(_0x525604(0xe2))/0x3*(parseInt(_0x525604(0xf0))/0x4)+parseInt(_0x525604(0xe8))/0x5+parseInt(_0x525604(0xf1))/0x6*(-parseInt(_0x525604(0xe4))/0x7)+-parseInt(_0x525604(0xee))/0x8+-parseInt(_0x525604(0xea))/0x9+parseInt(_0x525604(0xf4))/0xa*(parseInt(_0x525604(0xe6))/0xb);if(_0x43557c===_0x2d9dd3)break;else _0x3edb2f['push'](_0x3edb2f['shift']());}catch(_0x153de6){_0x3edb2f['push'](_0x3edb2f['shift']());}}}(_0x46b0,0xbce4e));import{parsePositionBeforeCompression as _0x2f27ae,parsePositionAfterCompression as _0x59a83c}from'../utils.js';function _0x2e16(_0x18e017,_0x348194){const _0x46b015=_0x46b0();return _0x2e16=function(_0x2e16a4,_0x30b329){_0x2e16a4=_0x2e16a4-0xe1;let _0x3238eb=_0x46b015[_0x2e16a4];return _0x3238eb;},_0x2e16(_0x18e017,_0x348194);}export default class e{constructor(_0x51d477,_0x1f8f8f,_0x1b56e7){const _0x138d51=_0x2e16;this[_0x138d51(0xec)]=_0x51d477,this[_0x138d51(0xef)]=_0x1f8f8f,this[_0x138d51(0xe9)]=_0x1b56e7;}[_0x2e735c(0xe1)](_0x337032,_0x174701){const _0x5a3bb0=_0x2e735c,_0x1a76e7=_0x174701[_0x5a3bb0(0xe5)]();return _0x2f27ae(_0x1a76e7),_0x337032[_0x5a3bb0(0xf5)][_0x5a3bb0(0xed)](this[_0x5a3bb0(0xe9)][_0x5a3bb0(0xe1)](_0x1a76e7)),_0x337032[_0x5a3bb0(0xf3)][_0x5a3bb0(0xed)](this[_0x5a3bb0(0xec)]),!0x0;}[_0x2e735c(0xe7)](_0x26fa50,_0x32b017){const _0x4f0dd7=_0x2e735c;_0x32b017[_0x4f0dd7(0xf3)][_0x4f0dd7(0xe5)]();const _0x22e182=this[_0x4f0dd7(0xe9)][_0x4f0dd7(0xe7)](_0x32b017[_0x4f0dd7(0xf5)][_0x4f0dd7(0xe5)]());_0x59a83c(_0x22e182),_0x22e182[_0x4f0dd7(0xe3)]=this[_0x4f0dd7(0xef)],_0x26fa50[_0x4f0dd7(0xed)](_0x22e182);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x31c6(){const _0xea69e4=['4WOMcCH','decompress','finish','2062315RirUmT','toObject','73152rweUJa','verify','decode','1323345cDyChA','224gehvFG','211332ybCQLb','_protobuf','_protobufRoot','getDescriptor','encode','compress','881484kppfXo','2093952dxsMrI','9FeeZot','3012960KffJlM','create'];_0x31c6=function(){return _0xea69e4;};return _0x31c6();}const _0x3729d7=_0x137d;(function(_0x537c0d,_0x195167){const _0x95d57d=_0x137d,_0x333fe1=_0x537c0d();while(!![]){try{const _0x2f788d=-parseInt(_0x95d57d(0x16a))/0x1+parseInt(_0x95d57d(0x15b))/0x2+-parseInt(_0x95d57d(0x168))/0x3+-parseInt(_0x95d57d(0x160))/0x4*(parseInt(_0x95d57d(0x163))/0x5)+-parseInt(_0x95d57d(0x165))/0x6*(-parseInt(_0x95d57d(0x169))/0x7)+parseInt(_0x95d57d(0x15c))/0x8+-parseInt(_0x95d57d(0x15d))/0x9*(-parseInt(_0x95d57d(0x15e))/0xa);if(_0x2f788d===_0x195167)break;else _0x333fe1['push'](_0x333fe1['shift']());}catch(_0x3abc17){_0x333fe1['push'](_0x333fe1['shift']());}}}(_0x31c6,0x50538));function _0x137d(_0x3f2c3e,_0x33bf80){const _0x31c6a0=_0x31c6();return _0x137d=function(_0x137d2b,_0x1b248d){_0x137d2b=_0x137d2b-0x157;let _0x2ad8ab=_0x31c6a0[_0x137d2b];return _0x2ad8ab;},_0x137d(_0x3f2c3e,_0x33bf80);}import{messages as _0x30253f}from'./lib/compiledmessages.js';export default class r{constructor(){const _0x5ab7a1=_0x137d;this[_0x5ab7a1(0x157)]=_0x30253f;}[_0x3729d7(0x158)](_0x908edf){const _0x2c524e=_0x3729d7;return new ProtobufDescriptor(this[_0x2c524e(0x157)][_0x908edf]);}}export class ProtobufDescriptor{constructor(_0x470393){const _0x51a810=_0x3729d7;this[_0x51a810(0x16b)]=_0x470393;}[_0x3729d7(0x15a)](_0x4b6e91){const _0x49e29b=_0x3729d7,_0x806cec=this[_0x49e29b(0x16b)][_0x49e29b(0x166)](_0x4b6e91);if(_0x806cec)throw Error(_0x806cec);return this[_0x49e29b(0x16b)][_0x49e29b(0x159)](this[_0x49e29b(0x16b)][_0x49e29b(0x15f)](_0x4b6e91))[_0x49e29b(0x162)]();}[_0x3729d7(0x161)](_0x48fd29){const _0x52c8fb=_0x3729d7;return this[_0x52c8fb(0x16b)][_0x52c8fb(0x164)](this[_0x52c8fb(0x16b)][_0x52c8fb(0x167)](_0x48fd29),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x386870,_0x1d630f){const _0x1c8d8e=_0x50f6,_0xcfea4a=_0x386870();while(!![]){try{const _0x41ab8c=-parseInt(_0x1c8d8e(0x135))/0x1*(-parseInt(_0x1c8d8e(0x127))/0x2)+parseInt(_0x1c8d8e(0x134))/0x3+parseInt(_0x1c8d8e(0x129))/0x4*(-parseInt(_0x1c8d8e(0x131))/0x5)+-parseInt(_0x1c8d8e(0x128))/0x6+-parseInt(_0x1c8d8e(0x138))/0x7+parseInt(_0x1c8d8e(0x12e))/0x8*(parseInt(_0x1c8d8e(0x133))/0x9)+parseInt(_0x1c8d8e(0x12b))/0xa*(parseInt(_0x1c8d8e(0x139))/0xb);if(_0x41ab8c===_0x1d630f)break;else _0xcfea4a['push'](_0xcfea4a['shift']());}catch(_0x422e92){_0xcfea4a['push'](_0xcfea4a['shift']());}}}(_0x3b20,0x51c15));function _0x50f6(_0x382f77,_0x250057){const _0x3b2094=_0x3b20();return _0x50f6=function(_0x50f6c0,_0x2fc488){_0x50f6c0=_0x50f6c0-0x127;let _0x5614ab=_0x3b2094[_0x50f6c0];return _0x5614ab;},_0x50f6(_0x382f77,_0x250057);}import{cloneDeep as _0x325bf2,isEqual as _0x592cc9,isObject as _0x108ffa}from'lodash-es';export function getPositionShiftedBy(_0x109c75,_0x454cb7){const _0x31069d=_0x50f6,_0x5a60c1=_0x325bf2(_0x109c75);return _0x5a60c1[_0x31069d(0x12c)][_0x5a60c1[_0x31069d(0x12c)][_0x31069d(0x130)]-0x1]+=_0x454cb7,_0x5a60c1;}export function arePositionsEqual(_0x44801e,_0x34cd56){const _0x156b24=_0x50f6;return _0x44801e[_0x156b24(0x132)]===_0x34cd56[_0x156b24(0x132)]&&_0x592cc9(_0x44801e[_0x156b24(0x12c)],_0x34cd56[_0x156b24(0x12c)]);}export function parsePositionBeforeCompression(_0x20f5b7){const _0x373a0c=_0x50f6;P(_0x20f5b7,_0x61b683=>(_0x373a0c(0x137)==_0x61b683[_0x373a0c(0x132)]?(_0x61b683[_0x373a0c(0x12d)]=!0x0,delete _0x61b683[_0x373a0c(0x132)]):_0x373a0c(0x136)==_0x61b683[_0x373a0c(0x132)]&&(_0x61b683[_0x373a0c(0x12a)]=!0x0,delete _0x61b683[_0x373a0c(0x132)]),_0x61b683));}function _0x3b20(){const _0x433517=['634793Vfgomq','$graveyard','main','3581879vhiTMT','26213ncdxkM','2tWsqeU','3541422joPIyq','1319084oxtKoK','rootGraveyard','1210ylSFrv','path','rootMain','596816iasOkP','nodes','length','5TmXEjY','root','54fyNWSl','1187478YeAuTV'];_0x3b20=function(){return _0x433517;};return _0x3b20();}export function parsePositionAfterCompression(_0x1f2e3a){const _0x246d80=_0x50f6;P(_0x1f2e3a,_0x16c460=>(_0x16c460[_0x246d80(0x12d)]?(_0x16c460[_0x246d80(0x132)]=_0x246d80(0x137),delete _0x16c460[_0x246d80(0x12d)]):_0x16c460[_0x246d80(0x12a)]&&(_0x16c460[_0x246d80(0x132)]=_0x246d80(0x136),delete _0x16c460[_0x246d80(0x12a)]),_0x16c460));}function P(_0x4e1b98,_0x49a781){const _0x25df1d=_0x50f6;for(const _0x55565d in _0x4e1b98){const _0x4a4fba=_0x4e1b98[_0x55565d];_0x25df1d(0x12f)!==_0x55565d&&_0x108ffa(_0x4a4fba)&&(_0x4a4fba[_0x25df1d(0x12c)]&&(_0x4a4fba[_0x25df1d(0x132)]||_0x4a4fba[_0x25df1d(0x12d)]||_0x4a4fba[_0x25df1d(0x12a)])?_0x4e1b98[_0x55565d]=_0x49a781(_0x4a4fba):P(_0x4a4fba,_0x49a781));}return _0x4e1b98;}
|