@ckeditor/ckeditor5-operations-compressor 41.4.1 → 41.4.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 +1 -1
- 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 +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/protobufdescriptions.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
|
-
'use strict';
|
|
23
|
+
'use strict';var _0x4962ef=_0x7d15;(function(_0x41c732,_0x2a7588){var _0x11c34a=_0x7d15,_0xb09b25=_0x41c732();while(!![]){try{var _0x4aa7c5=parseInt(_0x11c34a(0x141))/0x1+parseInt(_0x11c34a(0x142))/0x2+parseInt(_0x11c34a(0x144))/0x3*(parseInt(_0x11c34a(0x13d))/0x4)+-parseInt(_0x11c34a(0x145))/0x5+parseInt(_0x11c34a(0x13c))/0x6*(-parseInt(_0x11c34a(0x14a))/0x7)+parseInt(_0x11c34a(0x13f))/0x8+parseInt(_0x11c34a(0x147))/0x9*(-parseInt(_0x11c34a(0x140))/0xa);if(_0x4aa7c5===_0x2a7588)break;else _0xb09b25['push'](_0xb09b25['shift']());}catch(_0x438cf5){_0xb09b25['push'](_0xb09b25['shift']());}}}(_0x334e,0x46eec));function _0x7d15(_0x53ee85,_0x4a3040){var _0x334e15=_0x334e();return _0x7d15=function(_0x7d158c,_0x288e04){_0x7d158c=_0x7d158c-0x13c;var _0x1a56e0=_0x334e15[_0x7d158c];return _0x1a56e0;},_0x7d15(_0x53ee85,_0x4a3040);}function _0x334e(){var _0x1a3af2=['823838iEORpn','bool','13773PAnGdM','823480MkdaZA','Position','9RVaadC','string','Range','6125LkSkyK','repeated','uint32','Element','2316hMnDSk','464KhwgxA','exports','2789856DadYWv','9733490cXSYyN','473128IbhyAO'];_0x334e=function(){return _0x1a3af2;};return _0x334e();}module[_0x4962ef(0x13e)]={'AttributeOperation':{'fields':{'range':{'type':_0x4962ef(0x149),'id':0x1},'key':{'type':_0x4962ef(0x148),'id':0x2},'oldValueBoolean':{'type':_0x4962ef(0x143),'id':0x3},'oldValueJson':{'type':_0x4962ef(0x148),'id':0x4},'newValueBoolean':{'type':_0x4962ef(0x143),'id':0x5},'newValueJson':{'type':_0x4962ef(0x148),'id':0x6},'wasUndone':{'type':_0x4962ef(0x143),'id':0x7}}},'InsertOperation':{'fields':{'position':{'type':_0x4962ef(0x146),'id':0x1},'nodes':{'rule':_0x4962ef(0x14b),'type':_0x4962ef(0x14d),'id':0x2},'shouldReceiveAttributes':{'type':_0x4962ef(0x143),'id':0x3},'wasUndone':{'type':_0x4962ef(0x143),'id':0x4}}},'MarkerOperation':{'fields':{'name':{'type':_0x4962ef(0x148),'id':0x1},'oldRange':{'type':_0x4962ef(0x149),'id':0x2},'newRange':{'type':_0x4962ef(0x149),'id':0x3},'affectsData':{'type':_0x4962ef(0x143),'id':0x4},'wasUndone':{'type':_0x4962ef(0x143),'id':0x5}}},'MergeOperation':{'fields':{'sourcePosition':{'type':_0x4962ef(0x146),'id':0x1},'targetPosition':{'type':_0x4962ef(0x146),'id':0x2},'graveyardPosition':{'type':_0x4962ef(0x146),'id':0x3},'howMany':{'type':_0x4962ef(0x14c),'id':0x4},'wasUndone':{'type':_0x4962ef(0x143),'id':0x5}}},'MoveOperation':{'fields':{'sourcePosition':{'type':_0x4962ef(0x146),'id':0x1},'howMany':{'type':_0x4962ef(0x14c),'id':0x2},'targetPosition':{'type':_0x4962ef(0x146),'id':0x3},'wasUndone':{'type':_0x4962ef(0x143),'id':0x4}}},'RenameOperation':{'fields':{'position':{'type':_0x4962ef(0x146),'id':0x1},'oldName':{'type':_0x4962ef(0x148),'id':0x2},'newName':{'type':_0x4962ef(0x148),'id':0x3},'wasUndone':{'type':_0x4962ef(0x143),'id':0x4}}},'RootAttributeOperation':{'fields':{'root':{'type':_0x4962ef(0x148),'id':0x1},'key':{'type':_0x4962ef(0x148),'id':0x2},'oldValueBoolean':{'type':_0x4962ef(0x143),'id':0x3},'oldValueJson':{'type':_0x4962ef(0x148),'id':0x4},'newValueBoolean':{'type':_0x4962ef(0x143),'id':0x5},'newValueJson':{'type':_0x4962ef(0x148),'id':0x6},'wasUndone':{'type':_0x4962ef(0x143),'id':0x7}}},'RootOperation':{'fields':{'rootName':{'type':_0x4962ef(0x148),'id':0x1},'elementName':{'type':_0x4962ef(0x148),'id':0x2},'isAdd':{'type':_0x4962ef(0x143),'id':0x3},'wasUndone':{'type':_0x4962ef(0x143),'id':0x4}}},'SplitOperation':{'fields':{'splitPosition':{'type':_0x4962ef(0x146),'id':0x1},'graveyardPosition':{'type':_0x4962ef(0x146),'id':0x2},'howMany':{'type':_0x4962ef(0x14c),'id':0x3},'insertionPosition':{'type':_0x4962ef(0x146),'id':0x4},'wasUndone':{'type':_0x4962ef(0x143),'id':0x5}}},'Position':{'fields':{'root':{'type':_0x4962ef(0x148),'id':0x1},'rootMain':{'type':_0x4962ef(0x143),'id':0x2},'rootGraveyard':{'type':_0x4962ef(0x143),'id':0x3},'path':{'rule':_0x4962ef(0x14b),'type':_0x4962ef(0x14c),'id':0x4},'stickiness':{'type':_0x4962ef(0x148),'id':0x5}}},'Range':{'fields':{'start':{'type':_0x4962ef(0x146),'id':0x1},'end':{'type':_0x4962ef(0x146),'id':0x2}}},'Element':{'fields':{'name':{'type':_0x4962ef(0x148),'id':0x1},'children':{'rule':_0x4962ef(0x14b),'type':_0x4962ef(0x14d),'id':0x2},'data':{'type':_0x4962ef(0x148),'id':0x3},'attributesBoolean':{'keyType':_0x4962ef(0x148),'type':_0x4962ef(0x143),'id':0x4},'attributesJson':{'type':_0x4962ef(0x148),'id':0x5}}}};
|
package/src/protobuffactory.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x346cec=_0x133e;(function(_0x559204,_0x3b787e){const _0x388eba=_0x133e,_0x4ee92a=_0x559204();while(!![]){try{const _0x4c5e63=parseInt(_0x388eba(0x103))/0x1*(-parseInt(_0x388eba(0x109))/0x2)+parseInt(_0x388eba(0x112))/0x3+parseInt(_0x388eba(0x10f))/0x4+-parseInt(_0x388eba(0x111))/0x5*(-parseInt(_0x388eba(0x10e))/0x6)+parseInt(_0x388eba(0x10c))/0x7*(-parseInt(_0x388eba(0x102))/0x8)+-parseInt(_0x388eba(0x105))/0x9+parseInt(_0x388eba(0x110))/0xa*(-parseInt(_0x388eba(0x100))/0xb);if(_0x4c5e63===_0x3b787e)break;else _0x4ee92a['push'](_0x4ee92a['shift']());}catch(_0x17a3f3){_0x4ee92a['push'](_0x4ee92a['shift']());}}}(_0x445f,0x90cb2));import*as _0x77fa42 from'./lib/compiledmessages.js';function _0x133e(_0x4c7a0d,_0x588eba){const _0x445fea=_0x445f();return _0x133e=function(_0x133e02,_0x2f39e7){_0x133e02=_0x133e02-0xfd;let _0x15378e=_0x445fea[_0x133e02];return _0x15378e;},_0x133e(_0x4c7a0d,_0x588eba);}export default class r{constructor(){const _0x242942=_0x133e;this[_0x242942(0x108)]=_0x77fa42;}[_0x346cec(0x10a)](_0x1d5cc1){const _0xcad2d=_0x346cec;return new ProtobufDescriptor(this[_0xcad2d(0x108)][_0x1d5cc1]);}}export class ProtobufDescriptor{constructor(_0x4ccc4f){const _0x5b872d=_0x346cec;this[_0x5b872d(0x10b)]=_0x4ccc4f;}[_0x346cec(0xfd)](_0x1022b6){const _0x3e7501=_0x346cec,_0x1d0562=this[_0x3e7501(0x10b)][_0x3e7501(0x106)](_0x1022b6);if(_0x1d0562)throw Error(_0x1d0562);return this[_0x3e7501(0x10b)][_0x3e7501(0x107)](this[_0x3e7501(0x10b)][_0x3e7501(0x10d)](_0x1022b6))[_0x3e7501(0xff)]();}[_0x346cec(0x101)](_0xc60784){const _0x2d4ccc=_0x346cec;return this[_0x2d4ccc(0x10b)][_0x2d4ccc(0xfe)](this[_0x2d4ccc(0x10b)][_0x2d4ccc(0x104)](_0xc60784),{'oneofs':!0x0});}}function _0x445f(){const _0x34ad0f=['14DjnqcX','decode','1111554yIwnQQ','verify','encode','_protobufRoot','111172apoVeT','getDescriptor','_protobuf','3206OXNXej','create','35874BNyqZM','4297052THdswY','50SzlzXT','835shdNqt','1470435heKzCJ','compress','toObject','finish','1217315ufLsix','decompress','8992hihsIa'];_0x445f=function(){return _0x34ad0f;};return _0x445f();}
|
package/src/utils.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2109(_0x39344c,_0x75bb35){const _0x48ede9=_0x48ed();return _0x2109=function(_0x21090c,_0x28493f){_0x21090c=_0x21090c-0x12b;let _0x2957ea=_0x48ede9[_0x21090c];return _0x2957ea;},_0x2109(_0x39344c,_0x75bb35);}(function(_0x43b678,_0x4e63a8){const _0x3440a4=_0x2109,_0x50bceb=_0x43b678();while(!![]){try{const _0x847ef6=parseInt(_0x3440a4(0x12e))/0x1*(-parseInt(_0x3440a4(0x135))/0x2)+parseInt(_0x3440a4(0x13a))/0x3*(parseInt(_0x3440a4(0x138))/0x4)+parseInt(_0x3440a4(0x12b))/0x5+parseInt(_0x3440a4(0x13c))/0x6*(-parseInt(_0x3440a4(0x13f))/0x7)+parseInt(_0x3440a4(0x130))/0x8*(-parseInt(_0x3440a4(0x133))/0x9)+parseInt(_0x3440a4(0x12d))/0xa*(parseInt(_0x3440a4(0x13d))/0xb)+parseInt(_0x3440a4(0x136))/0xc*(parseInt(_0x3440a4(0x13b))/0xd);if(_0x847ef6===_0x4e63a8)break;else _0x50bceb['push'](_0x50bceb['shift']());}catch(_0x11b6e2){_0x50bceb['push'](_0x50bceb['shift']());}}}(_0x48ed,0xb272b));import{cloneDeep as _0x3e8e00,isEqual as _0x36dc1c,isObject as _0xae2472}from'lodash-es';export function getPositionShiftedBy(_0x590ed9,_0x1db107){const _0x42137e=_0x2109,_0x244a14=_0x3e8e00(_0x590ed9);return _0x244a14[_0x42137e(0x134)][_0x244a14[_0x42137e(0x134)][_0x42137e(0x12c)]-0x1]+=_0x1db107,_0x244a14;}export function arePositionsEqual(_0x1eeca6,_0x2b2cd4){const _0x5b3c47=_0x2109;return _0x1eeca6[_0x5b3c47(0x132)]===_0x2b2cd4[_0x5b3c47(0x132)]&&_0x36dc1c(_0x1eeca6[_0x5b3c47(0x134)],_0x2b2cd4[_0x5b3c47(0x134)]);}export function parsePositionBeforeCompression(_0x1b7466){const _0x159f39=_0x2109;P(_0x1b7466,_0x4e51a4=>(_0x159f39(0x137)==_0x4e51a4[_0x159f39(0x132)]?(_0x4e51a4[_0x159f39(0x131)]=!0x0,delete _0x4e51a4[_0x159f39(0x132)]):_0x159f39(0x139)==_0x4e51a4[_0x159f39(0x132)]&&(_0x4e51a4[_0x159f39(0x13e)]=!0x0,delete _0x4e51a4[_0x159f39(0x132)]),_0x4e51a4));}export function parsePositionAfterCompression(_0x449cbb){const _0x141b30=_0x2109;P(_0x449cbb,_0x34d2fd=>(_0x34d2fd[_0x141b30(0x131)]?(_0x34d2fd[_0x141b30(0x132)]=_0x141b30(0x137),delete _0x34d2fd[_0x141b30(0x131)]):_0x34d2fd[_0x141b30(0x13e)]&&(_0x34d2fd[_0x141b30(0x132)]=_0x141b30(0x139),delete _0x34d2fd[_0x141b30(0x13e)]),_0x34d2fd));}function _0x48ed(){const _0x5e7352=['2785210ZIbxMK','length','2663090eadgRc','154091VltRBo','nodes','6432952feBRLV','rootMain','root','9VEIjCq','path','14pObuGQ','12quGWXy','main','5266628zKQoeJ','$graveyard','3hIFcsV','3388918DGodFS','23106SpCUAp','33LcpPQm','rootGraveyard','581KLLAUD'];_0x48ed=function(){return _0x5e7352;};return _0x48ed();}function P(_0x57f453,_0x111d69){const _0x1e23df=_0x2109;for(const _0x4efcc0 in _0x57f453){const _0xd0fe2d=_0x57f453[_0x4efcc0];_0x1e23df(0x12f)!==_0x4efcc0&&_0xae2472(_0xd0fe2d)&&(_0xd0fe2d[_0x1e23df(0x134)]&&(_0xd0fe2d[_0x1e23df(0x132)]||_0xd0fe2d[_0x1e23df(0x131)]||_0xd0fe2d[_0x1e23df(0x13e)])?_0x57f453[_0x4efcc0]=_0x111d69(_0xd0fe2d):P(_0xd0fe2d,_0x111d69));}return _0x57f453;}
|