@ckeditor/ckeditor5-operations-compressor 44.0.0-alpha.0 → 44.0.0-alpha.2
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
|
-
|
|
23
|
+
var _0x326b8a=_0x5896;function _0x5896(_0x3be838,_0x4a89c0){var _0x1e6335=_0x1e63();return _0x5896=function(_0x589699,_0x1f92a7){_0x589699=_0x589699-0x8a;var _0x1d1d0f=_0x1e6335[_0x589699];return _0x1d1d0f;},_0x5896(_0x3be838,_0x4a89c0);}(function(_0x20fafc,_0x15a739){var _0x725fa=_0x5896,_0x31ca5a=_0x20fafc();while(!![]){try{var _0x4abced=-parseInt(_0x725fa(0x91))/0x1+parseInt(_0x725fa(0x93))/0x2+-parseInt(_0x725fa(0x8d))/0x3+parseInt(_0x725fa(0x8a))/0x4*(-parseInt(_0x725fa(0x94))/0x5)+parseInt(_0x725fa(0x95))/0x6*(-parseInt(_0x725fa(0x99))/0x7)+parseInt(_0x725fa(0x9a))/0x8*(parseInt(_0x725fa(0x92))/0x9)+parseInt(_0x725fa(0x8b))/0xa;if(_0x4abced===_0x15a739)break;else _0x31ca5a['push'](_0x31ca5a['shift']());}catch(_0x1d11a2){_0x31ca5a['push'](_0x31ca5a['shift']());}}}(_0x1e63,0x9510c));function _0x1e63(){var _0x4f1ae7=['3458337cSpjSf','_id','types','_operationName','47858CbJgaq','3386547xCYNVz','916004TaSAQn','1405YsdMwm','12JqxVfN','compress','decompress','shift','889889PkOYrP','16SQMwiW','4456RkINhI','11679290zTLheH','push'];_0x1e63=function(){return _0x4f1ae7;};return _0x1e63();}import _0x1cf63f from'./operationcompressor.js';export default class p extends _0x1cf63f{[_0x326b8a(0x96)](_0x1afdb5,_0x1ec680){var _0x33e0ce=_0x326b8a;return _0x1ec680[_0x33e0ce(0x98)](),_0x1afdb5[_0x33e0ce(0x8f)][_0x33e0ce(0x8c)](this[_0x33e0ce(0x8e)]),!0x0;}[_0x326b8a(0x97)](_0x1d3929,_0x3bc580){var _0x3331e8=_0x326b8a;_0x3bc580[_0x3331e8(0x8f)][_0x3331e8(0x98)](),_0x1d3929[_0x3331e8(0x8c)]({'__className':this[_0x3331e8(0x90)]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x66e99c=_0x9f27;(function(_0x30f997,_0x5bd2b9){const _0x4d86aa=_0x9f27,_0x44455e=_0x30f997();while(!![]){try{const _0x265a38=parseInt(_0x4d86aa(0x14a))/0x1*(parseInt(_0x4d86aa(0x146))/0x2)+-parseInt(_0x4d86aa(0x154))/0x3*(-parseInt(_0x4d86aa(0x15b))/0x4)+parseInt(_0x4d86aa(0x150))/0x5*(parseInt(_0x4d86aa(0x14c))/0x6)+parseInt(_0x4d86aa(0x147))/0x7*(parseInt(_0x4d86aa(0x152))/0x8)+parseInt(_0x4d86aa(0x14e))/0x9+-parseInt(_0x4d86aa(0x149))/0xa*(parseInt(_0x4d86aa(0x148))/0xb)+parseInt(_0x4d86aa(0x158))/0xc*(-parseInt(_0x4d86aa(0x145))/0xd);if(_0x265a38===_0x5bd2b9)break;else _0x44455e['push'](_0x44455e['shift']());}catch(_0x4924d8){_0x44455e['push'](_0x44455e['shift']());}}}(_0x4890,0xbb97a));function _0x4890(){const _0x26a2bb=['10193084owyzqC','10hJgOjZ','1680tMljRA','compress','12234byhgas','_protobufDescriptor','5891472ravUuj','_operationName','1555mvdaVi','push','24MdtEFU','decompress','14142YjTjrS','types','buffers','shift','19265136VOejUd','__className','_id','848iFbaCl','26fjodqX','1604MfcpFM','2964297AKCkkN'];_0x4890=function(){return _0x26a2bb;};return _0x4890();}import{parsePositionBeforeCompression as _0x4def46,parsePositionAfterCompression as _0x398589}from'../utils.js';function _0x9f27(_0x561df1,_0x318833){const _0x48904f=_0x4890();return _0x9f27=function(_0x9f27ea,_0x4c76e0){_0x9f27ea=_0x9f27ea-0x145;let _0x4134aa=_0x48904f[_0x9f27ea];return _0x4134aa;},_0x9f27(_0x561df1,_0x318833);}export default class e{constructor(_0x45b0e6,_0x3ccb54,_0x42ae78){const _0x58acfd=_0x9f27;this[_0x58acfd(0x15a)]=_0x45b0e6,this[_0x58acfd(0x14f)]=_0x3ccb54,this[_0x58acfd(0x14d)]=_0x42ae78;}[_0x66e99c(0x14b)](_0x589e7c,_0x175815){const _0x52e803=_0x66e99c,_0x52e8e7=_0x175815[_0x52e803(0x157)]();return _0x4def46(_0x52e8e7),_0x589e7c[_0x52e803(0x156)][_0x52e803(0x151)](this[_0x52e803(0x14d)][_0x52e803(0x14b)](_0x52e8e7)),_0x589e7c[_0x52e803(0x155)][_0x52e803(0x151)](this[_0x52e803(0x15a)]),!0x0;}[_0x66e99c(0x153)](_0x3be65e,_0x3b5bc1){const _0x43b6da=_0x66e99c;_0x3b5bc1[_0x43b6da(0x155)][_0x43b6da(0x157)]();const _0x165df1=this[_0x43b6da(0x14d)][_0x43b6da(0x153)](_0x3b5bc1[_0x43b6da(0x156)][_0x43b6da(0x157)]());_0x398589(_0x165df1),_0x165df1[_0x43b6da(0x159)]=this[_0x43b6da(0x14f)],_0x3be65e[_0x43b6da(0x151)](_0x165df1);}}
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5780ec=_0x52d3;(function(_0x568a12,_0x3a619b){const _0xaa1dfa=_0x52d3,_0x5cd0b2=_0x568a12();while(!![]){try{const _0x5a3421=parseInt(_0xaa1dfa(0x195))/0x1*(parseInt(_0xaa1dfa(0x199))/0x2)+parseInt(_0xaa1dfa(0x1a7))/0x3+-parseInt(_0xaa1dfa(0x197))/0x4*(parseInt(_0xaa1dfa(0x19a))/0x5)+-parseInt(_0xaa1dfa(0x1a1))/0x6+parseInt(_0xaa1dfa(0x198))/0x7*(-parseInt(_0xaa1dfa(0x19c))/0x8)+-parseInt(_0xaa1dfa(0x19f))/0x9+parseInt(_0xaa1dfa(0x19d))/0xa*(parseInt(_0xaa1dfa(0x19e))/0xb);if(_0x5a3421===_0x3a619b)break;else _0x5cd0b2['push'](_0x5cd0b2['shift']());}catch(_0x32142e){_0x5cd0b2['push'](_0x5cd0b2['shift']());}}}(_0x50c0,0xabff3));import{messages as _0x585ff7}from'./lib/compiledmessages.js';function _0x50c0(){const _0x52eff3=['11525436YcqOAV','create','3789276DaMGFf','finish','compress','decompress','decode','encode','2609928othekq','getDescriptor','verify','_protobuf','23793cyDNue','_protobufRoot','1633796OGwAKu','34272BVEjoR','2NRjsVC','15BGqwds','toObject','2208KSlGld','10AuTLHI','47294753DjmCdv'];_0x50c0=function(){return _0x52eff3;};return _0x50c0();}export default class r{constructor(){const _0x47b4c7=_0x52d3;this[_0x47b4c7(0x196)]=_0x585ff7;}[_0x5780ec(0x1a8)](_0x1f2711){const _0x5b6915=_0x5780ec;return new ProtobufDescriptor(this[_0x5b6915(0x196)][_0x1f2711]);}}function _0x52d3(_0x3f02d1,_0x22594d){const _0x50c028=_0x50c0();return _0x52d3=function(_0x52d3c7,_0x554f2c){_0x52d3c7=_0x52d3c7-0x193;let _0x144400=_0x50c028[_0x52d3c7];return _0x144400;},_0x52d3(_0x3f02d1,_0x22594d);}export class ProtobufDescriptor{constructor(_0x29996e){const _0x14d0ba=_0x5780ec;this[_0x14d0ba(0x194)]=_0x29996e;}[_0x5780ec(0x1a3)](_0x14c259){const _0x5c3a5a=_0x5780ec,_0xca7301=this[_0x5c3a5a(0x194)][_0x5c3a5a(0x193)](_0x14c259);if(_0xca7301)throw Error(_0xca7301);return this[_0x5c3a5a(0x194)][_0x5c3a5a(0x1a6)](this[_0x5c3a5a(0x194)][_0x5c3a5a(0x1a0)](_0x14c259))[_0x5c3a5a(0x1a2)]();}[_0x5780ec(0x1a4)](_0x91ca2d){const _0x15adc7=_0x5780ec;return this[_0x15adc7(0x194)][_0x15adc7(0x19b)](this[_0x15adc7(0x194)][_0x15adc7(0x1a5)](_0x91ca2d),{'oneofs':!0x0});}}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x2ed7e8,_0x10f9ef){const _0x39db5f=_0x2633,_0x3ac416=_0x2ed7e8();while(!![]){try{const _0x681621=-parseInt(_0x39db5f(0xe7))/0x1+parseInt(_0x39db5f(0xe3))/0x2+parseInt(_0x39db5f(0xec))/0x3+-parseInt(_0x39db5f(0xe4))/0x4+-parseInt(_0x39db5f(0xea))/0x5*(-parseInt(_0x39db5f(0xe0))/0x6)+-parseInt(_0x39db5f(0xe9))/0x7*(parseInt(_0x39db5f(0xe8))/0x8)+parseInt(_0x39db5f(0xdd))/0x9;if(_0x681621===_0x10f9ef)break;else _0x3ac416['push'](_0x3ac416['shift']());}catch(_0x1705b7){_0x3ac416['push'](_0x3ac416['shift']());}}}(_0x55a0,0xc8d2b));import{cloneDeep as _0x41291c,isEqual as _0x1624ba,isObject as _0x1d8046}from'lodash-es';export function getPositionShiftedBy(_0xa4b98d,_0x3616d7){const _0x1d29f0=_0x2633,_0x317a48=_0x41291c(_0xa4b98d);return _0x317a48[_0x1d29f0(0xe5)][_0x317a48[_0x1d29f0(0xe5)][_0x1d29f0(0xdc)]-0x1]+=_0x3616d7,_0x317a48;}function _0x2633(_0x452135,_0x1e7ed2){const _0x55a0f3=_0x55a0();return _0x2633=function(_0x2633ef,_0x4c55af){_0x2633ef=_0x2633ef-0xdc;let _0x4316dd=_0x55a0f3[_0x2633ef];return _0x4316dd;},_0x2633(_0x452135,_0x1e7ed2);}export function arePositionsEqual(_0x4e8837,_0x3a0d52){const _0x1ffefd=_0x2633;return _0x4e8837[_0x1ffefd(0xeb)]===_0x3a0d52[_0x1ffefd(0xeb)]&&_0x1624ba(_0x4e8837[_0x1ffefd(0xe5)],_0x3a0d52[_0x1ffefd(0xe5)]);}function _0x55a0(){const _0x1b4bb9=['550212qZORTp','9610904JkirGC','7elymEl','20tzWDhH','root','1419105IyDUpU','length','24710220bjnUDv','rootMain','nodes','339426fXKiZa','main','$graveyard','1091676YdHzji','5666364ewegqw','path','rootGraveyard'];_0x55a0=function(){return _0x1b4bb9;};return _0x55a0();}export function parsePositionBeforeCompression(_0x1e4d5d){const _0x1eb18b=_0x2633;P(_0x1e4d5d,_0x23072a=>(_0x1eb18b(0xe1)==_0x23072a[_0x1eb18b(0xeb)]?(_0x23072a[_0x1eb18b(0xde)]=!0x0,delete _0x23072a[_0x1eb18b(0xeb)]):_0x1eb18b(0xe2)==_0x23072a[_0x1eb18b(0xeb)]&&(_0x23072a[_0x1eb18b(0xe6)]=!0x0,delete _0x23072a[_0x1eb18b(0xeb)]),_0x23072a));}export function parsePositionAfterCompression(_0x3a2d5e){const _0x49f02c=_0x2633;P(_0x3a2d5e,_0x1fd155=>(_0x1fd155[_0x49f02c(0xde)]?(_0x1fd155[_0x49f02c(0xeb)]=_0x49f02c(0xe1),delete _0x1fd155[_0x49f02c(0xde)]):_0x1fd155[_0x49f02c(0xe6)]&&(_0x1fd155[_0x49f02c(0xeb)]=_0x49f02c(0xe2),delete _0x1fd155[_0x49f02c(0xe6)]),_0x1fd155));}function P(_0x4a10db,_0x3ca066){const _0x45569b=_0x2633;for(const _0x34d88d in _0x4a10db){const _0x50848c=_0x4a10db[_0x34d88d];_0x45569b(0xdf)!==_0x34d88d&&_0x1d8046(_0x50848c)&&(_0x50848c[_0x45569b(0xe5)]&&(_0x50848c[_0x45569b(0xeb)]||_0x50848c[_0x45569b(0xde)]||_0x50848c[_0x45569b(0xe6)])?_0x4a10db[_0x34d88d]=_0x3ca066(_0x50848c):P(_0x50848c,_0x3ca066));}return _0x4a10db;}
|