@ckeditor/ckeditor5-operations-compressor 46.0.1-alpha.4 → 46.0.1-alpha.6
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
|
-
const
|
|
23
|
+
function _0x144e(_0x34143e,_0x2d1a7c){const _0x123a62=_0x123a();return _0x144e=function(_0x144e75,_0x2b36dc){_0x144e75=_0x144e75-0x1ee;let _0x59e642=_0x123a62[_0x144e75];return _0x59e642;},_0x144e(_0x34143e,_0x2d1a7c);}const _0x2b134c=_0x144e;(function(_0x44cef6,_0x5352bc){const _0x13123d=_0x144e,_0x29ada0=_0x44cef6();while(!![]){try{const _0x566218=-parseInt(_0x13123d(0x1ef))/0x1*(-parseInt(_0x13123d(0x208))/0x2)+parseInt(_0x13123d(0x20c))/0x3*(-parseInt(_0x13123d(0x1fe))/0x4)+parseInt(_0x13123d(0x204))/0x5*(-parseInt(_0x13123d(0x1ee))/0x6)+parseInt(_0x13123d(0x1f8))/0x7*(parseInt(_0x13123d(0x1f4))/0x8)+parseInt(_0x13123d(0x1f0))/0x9+-parseInt(_0x13123d(0x205))/0xa*(parseInt(_0x13123d(0x1f5))/0xb)+parseInt(_0x13123d(0x1f1))/0xc;if(_0x566218===_0x5352bc)break;else _0x29ada0['push'](_0x29ada0['shift']());}catch(_0x23d123){_0x29ada0['push'](_0x29ada0['shift']());}}}(_0x123a,0x2c73d));import{ActionCompressor as _0x36a13d}from'./actioncompressor.js';import{arePositionsEqual as _0x493d8d,getPositionShiftedBy as _0x379ff6}from'../utils.js';import{cloneDeep as _0x169722}from'es-toolkit/compat';function _0x123a(){const _0x18e0d2=['targetPosition','9TdGYQQ','13158maNyrr','1693YrRdNQ','957717wpIdLb','3367860IFNwHw','buffers','MoveOperation','1164056sVuDIc','913IGskzo','_compressSingleOperation','sourcePosition','14nGsDAw','_splitCurrent','compress','root','__className','_decompressSingleOperation','427888QJnRCU','_checkOperation','_context','_getCompressorByName','howMany','$graveyard','775vWOXdK','9310QusPPy','wasUndone','decompress','286iMKuqk','_combineNext','_compareOperations'];_0x123a=function(){return _0x18e0d2;};return _0x123a();}export class DeletingActionCompressor extends _0x36a13d{[_0x2b134c(0x209)](_0x164f5f,_0x48f988){const _0x3a74bc=_0x2b134c;return _0x48f988[_0x3a74bc(0x202)]++,_0x48f988[_0x3a74bc(0x1f7)]=_0x169722(_0x164f5f[_0x3a74bc(0x1f7)]),_0x48f988;}[_0x2b134c(0x1f9)](_0x1b7858){const _0x410a61=_0x2b134c,_0x126c0d=_0x169722(_0x1b7858);return _0x1b7858[_0x410a61(0x202)]--,_0x126c0d[_0x410a61(0x202)]=0x1,_0x126c0d[_0x410a61(0x1f7)]=_0x379ff6(_0x126c0d[_0x410a61(0x1f7)],_0x1b7858[_0x410a61(0x202)]),_0x126c0d;}[_0x2b134c(0x20a)](_0x4a06c0,_0x4dc529){const _0x3a2088=_0x2b134c;return!(!this[_0x3a2088(0x1ff)](_0x4a06c0)||!this[_0x3a2088(0x1ff)](_0x4dc529))&&(_0x493d8d(_0x379ff6(_0x4a06c0[_0x3a2088(0x1f7)],-0x1),_0x4dc529[_0x3a2088(0x1f7)])&&_0x493d8d(_0x4a06c0[_0x3a2088(0x20b)],_0x4dc529[_0x3a2088(0x20b)]));}[_0x2b134c(0x1f6)](_0x1eada2){const _0x14f1ec=_0x2b134c,_0x470a49={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x14f1ec(0x200)][_0x14f1ec(0x201)](_0x14f1ec(0x1f3))[_0x14f1ec(0x1fa)](_0x470a49,[_0x1eada2]),_0x470a49[_0x14f1ec(0x1f2)][0x0];}[_0x2b134c(0x1fd)](_0x42c27c){const _0x4e6825=_0x2b134c,_0x430d9e=[];return this[_0x4e6825(0x200)][_0x4e6825(0x201)](_0x4e6825(0x1f3))[_0x4e6825(0x207)](_0x430d9e,_0x42c27c),_0x430d9e[0x0];}[_0x2b134c(0x1ff)](_0xa2c35){const _0xccf987=_0x2b134c;return _0xccf987(0x1f3)==_0xa2c35[_0xccf987(0x1fc)]&&_0xccf987(0x203)==_0xa2c35[_0xccf987(0x20b)][_0xccf987(0x1fb)]&&0x1==_0xa2c35[_0xccf987(0x202)]&&!_0xa2c35[_0xccf987(0x206)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x465a(_0x23f042,_0x2e203e){const _0xd30599=_0xd305();return _0x465a=function(_0x465a3f,_0x29c62c){_0x465a3f=_0x465a3f-0xf0;let _0x517ca4=_0xd30599[_0x465a3f];return _0x517ca4;},_0x465a(_0x23f042,_0x2e203e);}const _0x56e571=_0x465a;function _0xd305(){const _0x2aa48b=['_getCompressorByName','588776aJXPfX','MoveOperation','howMany','buffers','173820MLirzq','$graveyard','decompress','5FUBpRU','_decompressSingleOperation','_checkOperation','_combineNext','_compareOperations','sourcePosition','_context','8797644SaWyCR','wasUndone','1729836LNrJgG','_splitCurrent','__className','554066JJbsbd','416904AYfdPy','compress','targetPosition','326205QLxVwv','_compressSingleOperation','root','91dvILDE'];_0xd305=function(){return _0x2aa48b;};return _0xd305();}(function(_0x29070b,_0x3baeef){const _0x3c8709=_0x465a,_0x56e316=_0x29070b();while(!![]){try{const _0x1d7c8e=-parseInt(_0x3c8709(0xff))/0x1+parseInt(_0x3c8709(0xfb))/0x2+parseInt(_0x3c8709(0xf8))/0x3+parseInt(_0x3c8709(0x108))/0x4+parseInt(_0x3c8709(0x10b))/0x5*(-parseInt(_0x3c8709(0xfc))/0x6)+parseInt(_0x3c8709(0x102))/0x7*(parseInt(_0x3c8709(0x104))/0x8)+-parseInt(_0x3c8709(0xf6))/0x9;if(_0x1d7c8e===_0x3baeef)break;else _0x56e316['push'](_0x56e316['shift']());}catch(_0x373837){_0x56e316['push'](_0x56e316['shift']());}}}(_0xd305,0x75590));import{ActionCompressor as _0x1def9a}from'./actioncompressor.js';import{arePositionsEqual as _0x53933d}from'../utils.js';import{cloneDeep as _0xd60cda}from'es-toolkit/compat';export class ForwardDeletingActionCompressor extends _0x1def9a{[_0x56e571(0xf2)](_0x1b9ac5,_0x37285f){const _0x4b7c32=_0x56e571;return _0x37285f[_0x4b7c32(0x106)]++,_0x37285f;}[_0x56e571(0xf9)](_0x4dc0aa){const _0x1335bf=_0x56e571,_0x2c717e=_0xd60cda(_0x4dc0aa);return _0x2c717e[_0x1335bf(0x106)]=0x1,_0x4dc0aa[_0x1335bf(0x106)]--,_0x2c717e;}[_0x56e571(0xf3)](_0x386ad3,_0x505bbf){const _0x5649f2=_0x56e571;return!(!this[_0x5649f2(0xf1)](_0x386ad3)||!this[_0x5649f2(0xf1)](_0x505bbf))&&(_0x53933d(_0x386ad3[_0x5649f2(0xf4)],_0x505bbf[_0x5649f2(0xf4)])&&_0x53933d(_0x386ad3[_0x5649f2(0xfe)],_0x505bbf[_0x5649f2(0xfe)]));}[_0x56e571(0x100)](_0x704237){const _0x408ef8=_0x56e571,_0x2d53d8={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x408ef8(0xf5)][_0x408ef8(0x103)](_0x408ef8(0x105))[_0x408ef8(0xfd)](_0x2d53d8,[_0x704237]),_0x2d53d8[_0x408ef8(0x107)][0x0];}[_0x56e571(0xf0)](_0xa909e5){const _0x1e5f74=_0x56e571,_0x3686a6=[];return this[_0x1e5f74(0xf5)][_0x1e5f74(0x103)](_0x1e5f74(0x105))[_0x1e5f74(0x10a)](_0x3686a6,_0xa909e5),_0x3686a6[0x0];}[_0x56e571(0xf1)](_0x4a1b67){const _0x4454ba=_0x56e571;return _0x4454ba(0x105)==_0x4a1b67[_0x4454ba(0xfa)]&&_0x4454ba(0x109)==_0x4a1b67[_0x4454ba(0xfe)][_0x4454ba(0x101)]&&0x1==_0x4a1b67[_0x4454ba(0x106)]&&!_0x4a1b67[_0x4454ba(0xf7)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x26d518=_0x2f94;(function(_0x231679,_0x49f2a6){const _0x349bb2=_0x2f94,_0x1eb9b0=_0x231679();while(!![]){try{const _0x171c4f=parseInt(_0x349bb2(0x17c))/0x1*(-parseInt(_0x349bb2(0x178))/0x2)+-parseInt(_0x349bb2(0x17e))/0x3+-parseInt(_0x349bb2(0x16f))/0x4+-parseInt(_0x349bb2(0x163))/0x5+-parseInt(_0x349bb2(0x182))/0x6+parseInt(_0x349bb2(0x16c))/0x7+-parseInt(_0x349bb2(0x164))/0x8*(-parseInt(_0x349bb2(0x17a))/0x9);if(_0x171c4f===_0x49f2a6)break;else _0x1eb9b0['push'](_0x1eb9b0['shift']());}catch(_0x292ca3){_0x1eb9b0['push'](_0x1eb9b0['shift']());}}}(_0x3d10,0x3ca8c));function _0x2f94(_0x57e6d5,_0x341c9c){const _0x3d1091=_0x3d10();return _0x2f94=function(_0x2f9446,_0x8d8056){_0x2f9446=_0x2f9446-0x161;let _0x1bbdbb=_0x3d1091[_0x2f9446];return _0x1bbdbb;},_0x2f94(_0x57e6d5,_0x341c9c);}import{ActionCompressor as _0x15b47c}from'./actioncompressor.js';function _0x3d10(){const _0xcd228=['9nweeMq','every','18133lNuUCg','_splitCurrent','1287276YfLFsH','next','InsertOperation','_decompressSingleOperation','1138566qmCYZy','__className','length','_getCompressorByName','decompress','493980ExdTjy','7851224ynjwtp','_combineNext','value','keys','_compressSingleOperation','iterator','_compareOperations','compress','2782017ACyPqz','_context','_checkOperation','1288240ZFwXfc','substr','_compareAttributes','wasUndone','attributes','data','position','buffers','from','10rzZXVB','nodes'];_0x3d10=function(){return _0xcd228;};return _0x3d10();}import{arePositionsEqual as _0x43c5a7,getPositionShiftedBy as _0x3a206f}from'../utils.js';import{cloneDeep as _0x4805f7}from'es-toolkit/compat';export class TypingActionCompressor extends _0x15b47c{[_0x26d518(0x165)](_0x12e23f,_0x4c66e9){const _0x2a1fba=_0x26d518;return _0x4c66e9[_0x2a1fba(0x179)][0x0][_0x2a1fba(0x174)]+=_0x12e23f[_0x2a1fba(0x179)][0x0][_0x2a1fba(0x174)],_0x4c66e9;}[_0x26d518(0x17d)](_0x4e90da){const _0x4c9c8b=_0x26d518,_0x28deaf=_0x4805f7(_0x4e90da),_0x4b923f=_0x28deaf[_0x4c9c8b(0x179)][0x0],_0x1b5125=_0x4e90da[_0x4c9c8b(0x179)][0x0],_0x969ed9=_0x1b5125[_0x4c9c8b(0x174)][Symbol[_0x4c9c8b(0x169)]]()[_0x4c9c8b(0x17f)]()[_0x4c9c8b(0x166)],_0xf2c65d=_0x969ed9[_0x4c9c8b(0x184)];return _0x4b923f[_0x4c9c8b(0x174)]=_0x969ed9,_0x1b5125[_0x4c9c8b(0x174)]=_0x1b5125[_0x4c9c8b(0x174)][_0x4c9c8b(0x170)](_0xf2c65d),_0x4e90da[_0x4c9c8b(0x175)]=_0x3a206f(_0x4e90da[_0x4c9c8b(0x175)],_0xf2c65d),_0x28deaf;}[_0x26d518(0x16a)](_0x1b3832,_0x5b70b5){const _0x594111=_0x26d518;if(this[_0x594111(0x16e)](_0x1b3832)&&this[_0x594111(0x16e)](_0x5b70b5)){const _0x112285=_0x1b3832[_0x594111(0x179)][0x0][_0x594111(0x174)][_0x594111(0x184)],_0x9159bf=_0x43c5a7(_0x3a206f(_0x1b3832[_0x594111(0x175)],_0x112285),_0x5b70b5[_0x594111(0x175)]),_0x2f75b5=_0x1b3832[_0x594111(0x179)][0x0],_0x4ca8d3=_0x5b70b5[_0x594111(0x179)][0x0];return _0x9159bf&&this[_0x594111(0x171)](_0x2f75b5,_0x4ca8d3);}return!0x1;}[_0x26d518(0x168)](_0x5699fa){const _0xfcc9a1=_0x26d518,_0x382e94={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xfcc9a1(0x16d)][_0xfcc9a1(0x161)](_0xfcc9a1(0x180))[_0xfcc9a1(0x16b)](_0x382e94,[_0x5699fa]),_0x382e94[_0xfcc9a1(0x176)][0x0];}[_0x26d518(0x181)](_0x4b513d){const _0x5c4cac=_0x26d518,_0x36d348=[];return this[_0x5c4cac(0x16d)][_0x5c4cac(0x161)](_0x5c4cac(0x180))[_0x5c4cac(0x162)](_0x36d348,_0x4b513d),_0x36d348[0x0];}[_0x26d518(0x16e)](_0x3ad69b){const _0x1d777a=_0x26d518;return _0x1d777a(0x180)==_0x3ad69b[_0x1d777a(0x183)]&&0x1==_0x3ad69b[_0x1d777a(0x179)][_0x1d777a(0x184)]&&_0x3ad69b[_0x1d777a(0x179)][0x0][_0x1d777a(0x174)]&&!_0x3ad69b[_0x1d777a(0x172)]&&0x1==Array[_0x1d777a(0x177)](_0x3ad69b[_0x1d777a(0x179)][0x0][_0x1d777a(0x174)])[_0x1d777a(0x184)];}[_0x26d518(0x171)](_0x55166b,_0x5ab531){const _0x45316a=_0x26d518,_0xb40d05=Object[_0x45316a(0x167)](_0x55166b[_0x45316a(0x173)]||{}),_0x5731ca=Object[_0x45316a(0x167)](_0x5ab531[_0x45316a(0x173)]||{});return _0xb40d05[_0x45316a(0x184)]===_0x5731ca[_0x45316a(0x184)]&&_0xb40d05[_0x45316a(0x17b)](_0x148786=>_0x5ab531[_0x45316a(0x173)][_0x148786]&&_0x5ab531[_0x45316a(0x173)][_0x148786]===_0x55166b[_0x45316a(0x173)][_0x148786]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5527dd=_0x1aa1;function _0x5075(){const _0x993cff=['end','toNone','3622797PjdTbP','compress','2504368MsFIMs','32fryATo','1520272vmqByQ','startsWith','push','user:position:','oldRange','split','decompress','MarkerOperation','1614570pSyyjQ','__className','start','name','newRange','buffers','5KdYXcD','types','_context','_decompressSingleOperation','_getCompressorByName','shift','157041BhplIi','3641890DZDcDu','_id','user:','_compressSingleOperation','stickiness','694408KeewNg','_compareOperations'];_0x5075=function(){return _0x993cff;};return _0x5075();}(function(_0x240252,_0x2668ae){const _0x532178=_0x1aa1,_0x5d288d=_0x240252();while(!![]){try{const _0x1e5102=parseInt(_0x532178(0x1dd))/0x1+parseInt(_0x532178(0x1e4))/0x2*(parseInt(_0x532178(0x1d7))/0x3)+-parseInt(_0x532178(0x1e3))/0x4+parseInt(_0x532178(0x1d1))/0x5*(parseInt(_0x532178(0x1cb))/0x6)+-parseInt(_0x532178(0x1d8))/0x7+parseInt(_0x532178(0x1e5))/0x8+-parseInt(_0x532178(0x1e1))/0x9;if(_0x1e5102===_0x2668ae)break;else _0x5d288d['push'](_0x5d288d['shift']());}catch(_0x5c9966){_0x5d288d['push'](_0x5d288d['shift']());}}}(_0x5075,0x6bf52));import{ActionCompressor as _0x181cfa}from'./actioncompressor.js';import{arePositionsEqual as _0x1eca71}from'../utils.js';function _0x1aa1(_0x10199e,_0x5ed217){const _0x50758e=_0x5075();return _0x1aa1=function(_0x1aa122,_0x37c92c){_0x1aa122=_0x1aa122-0x1c8;let _0x1d195e=_0x50758e[_0x1aa122];return _0x1d195e;},_0x1aa1(_0x10199e,_0x5ed217);}import{cloneDeep as _0x8256ae}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x181cfa{[_0x5527dd(0x1e2)](_0x474d4b,_0x58a91d){const _0x4ac961=_0x5527dd;if(!this[_0x4ac961(0x1de)](_0x58a91d[0x0],_0x58a91d[0x1]))return!0x1;const _0x2ba15f=_0x58a91d[_0x4ac961(0x1d6)]();return _0x2ba15f[_0x4ac961(0x1e9)]=null,_0x2ba15f[_0x4ac961(0x1cf)]&&_0x1eca71(_0x2ba15f[_0x4ac961(0x1cf)][_0x4ac961(0x1cd)],_0x2ba15f[_0x4ac961(0x1cf)][_0x4ac961(0x1df)])&&(_0x2ba15f[_0x4ac961(0x1cf)][_0x4ac961(0x1df)]=null),_0x58a91d[_0x4ac961(0x1d6)](),_0x474d4b[_0x4ac961(0x1d2)][_0x4ac961(0x1e7)](this[_0x4ac961(0x1d9)]),_0x474d4b[_0x4ac961(0x1d2)][_0x4ac961(0x1e7)](0x0),_0x474d4b[_0x4ac961(0x1d0)][_0x4ac961(0x1e7)](this[_0x4ac961(0x1db)](_0x2ba15f)),!0x0;}[_0x5527dd(0x1c9)](_0x492e6f,_0x2c4bbf){const _0x3a44a7=_0x5527dd,_0x544b5c=this[_0x3a44a7(0x1d4)](_0x2c4bbf);_0x544b5c[_0x3a44a7(0x1cf)]&&!_0x544b5c[_0x3a44a7(0x1cf)][_0x3a44a7(0x1df)]&&(_0x544b5c[_0x3a44a7(0x1cf)][_0x3a44a7(0x1df)]=_0x8256ae(_0x544b5c[_0x3a44a7(0x1cf)][_0x3a44a7(0x1cd)]));const _0x2e354a=_0x8256ae(_0x544b5c);_0x2e354a[_0x3a44a7(0x1cf)]&&(_0x2e354a[_0x3a44a7(0x1cf)][_0x3a44a7(0x1cd)][_0x3a44a7(0x1dc)]=_0x3a44a7(0x1e0),_0x2e354a[_0x3a44a7(0x1cf)][_0x3a44a7(0x1df)]=_0x8256ae(_0x2e354a[_0x3a44a7(0x1cf)][_0x3a44a7(0x1cd)])),_0x2e354a[_0x3a44a7(0x1ce)]=_0x3a44a7(0x1e8)+_0x2e354a[_0x3a44a7(0x1ce)][_0x3a44a7(0x1c8)](':')[0x2],_0x2c4bbf[_0x3a44a7(0x1d2)][_0x3a44a7(0x1d6)](),_0x492e6f[_0x3a44a7(0x1e7)](_0x544b5c),_0x492e6f[_0x3a44a7(0x1e7)](_0x2e354a);}[_0x5527dd(0x1db)](_0x4ab526){const _0x5cd355=_0x5527dd,_0x2bef6a={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x5cd355(0x1d3)][_0x5cd355(0x1d5)](_0x5cd355(0x1ca))[_0x5cd355(0x1e2)](_0x2bef6a,[_0x4ab526]),_0x2bef6a[_0x5cd355(0x1d0)][0x0];}[_0x5527dd(0x1d4)](_0x2d832c){const _0xac4c18=_0x5527dd,_0x49b975=[];return this[_0xac4c18(0x1d3)][_0xac4c18(0x1d5)](_0xac4c18(0x1ca))[_0xac4c18(0x1c9)](_0x49b975,_0x2d832c),_0x49b975[0x0];}[_0x5527dd(0x1de)](_0x5546fa,_0x444cd3){const _0xedc920=_0x5527dd;return!(!_0x5546fa||!_0x444cd3)&&(_0xedc920(0x1ca)==_0x5546fa[_0xedc920(0x1cc)]&&_0xedc920(0x1ca)==_0x444cd3[_0xedc920(0x1cc)]&&!(!_0x5546fa[_0xedc920(0x1ce)][_0xedc920(0x1e6)](_0xedc920(0x1da))||!_0x444cd3[_0xedc920(0x1ce)][_0xedc920(0x1e6)](_0xedc920(0x1da))||_0x5546fa[_0xedc920(0x1ce)]==_0x444cd3[_0xedc920(0x1ce)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1936c7=_0x433e;(function(_0x505b30,_0x2c8cc8){const _0x1ac5cf=_0x433e,_0x28c351=_0x505b30();while(!![]){try{const _0x27d434=parseInt(_0x1ac5cf(0xa0))/0x1*(-parseInt(_0x1ac5cf(0xb7))/0x2)+-parseInt(_0x1ac5cf(0xa9))/0x3*(-parseInt(_0x1ac5cf(0xa5))/0x4)+-parseInt(_0x1ac5cf(0xad))/0x5*(parseInt(_0x1ac5cf(0xae))/0x6)+parseInt(_0x1ac5cf(0xa2))/0x7*(parseInt(_0x1ac5cf(0x97))/0x8)+parseInt(_0x1ac5cf(0xa4))/0x9*(parseInt(_0x1ac5cf(0xaf))/0xa)+parseInt(_0x1ac5cf(0x9f))/0xb+-parseInt(_0x1ac5cf(0x9a))/0xc*(parseInt(_0x1ac5cf(0xb0))/0xd);if(_0x27d434===_0x2c8cc8)break;else _0x28c351['push'](_0x28c351['shift']());}catch(_0x225bd0){_0x28c351['push'](_0x28c351['shift']());}}}(_0x38b6,0xb9036));import{CKEditorError as _0x24b07c}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x10d0c8}from'./protobuffactory.js';import{OperationCompressor as _0x305152}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x384a98}from'./operationcompressor/attributeoperationcompressor.js';function _0x433e(_0x5ca652,_0x40580e){const _0x38b60e=_0x38b6();return _0x433e=function(_0x433e89,_0xba640f){_0x433e89=_0x433e89-0x92;let _0x290379=_0x38b60e[_0x433e89];return _0x290379;},_0x433e(_0x5ca652,_0x40580e);}function _0x38b6(){const _0x9b6c67=['AttributeOperation','_registerActionCompressor','MarkerOperation','MoveOperation','CommentMarkerOperation','RootAttributeOperation','forEach','_registerCompressor','no-operations-provided','length','DeletingAction','_compressorById','209240lRZLTW','decompress-compressor-not-found','baseVersion','84LxASFk','RenameOperation','_compressorByName','ForwardDeletingAction','types','15077744DSOXMD','42eLxXzS','InsertOperation','63pwlONE','_registerOperationCompressor','18tAMZIG','3220804wvngME','NoOperation','decompress','comment','3oQupIO','getDescriptor','_protobufFactory','set','545995SDvSyF','6tiZoIA','1690940MrlCWm','3193151PGKMYL','RootOperation','TypingAction','compress','MergeOperation','__className','suggestion','7766CQmlyB','_getCompressorByName','UserSelectionAction','get','SuggestionMarkerOperation','SplitOperation'];_0x38b6=function(){return _0x9b6c67;};return _0x38b6();}import{InsertOperationCompressor as _0x3d005b}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x574379}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x5d88ed}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x12f998}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x81ceb9}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x360e58}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x38bbd}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x54f221}from'./actioncompressor/userselectionactioncompressor.js';export class Compressor{[_0x1936c7(0x96)];[_0x1936c7(0x9c)];[_0x1936c7(0xab)];constructor(){const _0x30e534=_0x1936c7;this[_0x30e534(0x96)]=new Map(),this[_0x30e534(0x9c)]=new Map(),this[_0x30e534(0xab)]=new _0x10d0c8();const _0x2053b9=this[_0x30e534(0xab)][_0x30e534(0xaa)](_0x30e534(0xbf));this[_0x30e534(0x92)](0x1,_0x30e534(0xa6),new _0x5d88ed(0x1,_0x30e534(0xa6),void 0x0)),this[_0x30e534(0xa3)](0xa,_0x30e534(0xbd),_0x384a98),this[_0x30e534(0xa3)](0xb,_0x30e534(0xa1),_0x3d005b),this[_0x30e534(0xa3)](0xc,_0x30e534(0xbf),_0x574379),this[_0x30e534(0xa3)](0xd,_0x30e534(0xb4),_0x305152),this[_0x30e534(0xa3)](0xe,_0x30e534(0xc0),_0x305152),this[_0x30e534(0xa3)](0xf,_0x30e534(0x9b),_0x305152),this[_0x30e534(0xa3)](0x10,_0x30e534(0xc2),_0x384a98),this[_0x30e534(0xa3)](0x11,_0x30e534(0xbc),_0x305152),this[_0x30e534(0x92)](0x12,_0x30e534(0xc1),new _0x12f998(0x12,_0x30e534(0xbf),_0x2053b9,_0x30e534(0xa8))),this[_0x30e534(0x92)](0x13,_0x30e534(0xbb),new _0x12f998(0x13,_0x30e534(0xbf),_0x2053b9,_0x30e534(0xb6))),this[_0x30e534(0xa3)](0x14,_0x30e534(0xb1),_0x305152),this[_0x30e534(0xbe)](0x64,_0x30e534(0xb2),_0x81ceb9),this[_0x30e534(0xbe)](0x65,_0x30e534(0x95),_0x360e58),this[_0x30e534(0xbe)](0x66,_0x30e534(0x9d),_0x38bbd),this[_0x30e534(0xbe)](0x67,_0x30e534(0xb9),_0x54f221);}[_0x1936c7(0xb3)](_0x463809){const _0x27d43e=_0x1936c7;if(!_0x463809||!_0x463809[0x0])throw new _0x24b07c(_0x27d43e(0x93),this);const _0x320961={'types':[],'buffers':[],'baseVersion':_0x463809[0x0][_0x27d43e(0x99)]};for(;_0x463809[_0x27d43e(0x94)];)this[_0x27d43e(0xb8)](_0x27d43e(0xb9))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x27d43e(0xb2))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x27d43e(0x95))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x27d43e(0x9d))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x27d43e(0xc1))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x27d43e(0xbb))[_0x27d43e(0xb3)](_0x320961,_0x463809)||this[_0x27d43e(0xb8)](_0x463809[0x0][_0x27d43e(0xb5)])[_0x27d43e(0xb3)](_0x320961,_0x463809);return _0x320961;}[_0x1936c7(0xa7)](_0x1065f4){const _0x2c8613=_0x1936c7,_0x2fe0eb=[];for(;_0x1065f4[_0x2c8613(0x9e)][_0x2c8613(0x94)];){const _0x4b5dfc=this[_0x2c8613(0x96)][_0x2c8613(0xba)](_0x1065f4[_0x2c8613(0x9e)][0x0]);if(!_0x4b5dfc)throw new _0x24b07c(_0x2c8613(0x98),this,{'type':_0x1065f4[_0x2c8613(0x9e)][0x0]});_0x4b5dfc[_0x2c8613(0xa7)](_0x2fe0eb,_0x1065f4);}return _0x2fe0eb[_0x2c8613(0xc3)]((_0x1ab694,_0x543726)=>_0x1ab694[_0x2c8613(0x99)]=_0x1065f4[_0x2c8613(0x99)]+_0x543726),_0x2fe0eb;}[_0x1936c7(0xb8)](_0x7a9a3a){const _0x533677=_0x1936c7;return this[_0x533677(0x9c)][_0x533677(0xba)](_0x7a9a3a);}[_0x1936c7(0xa3)](_0x801a70,_0x2df668,_0x3fa874){const _0xc535b5=_0x1936c7,_0x47e5f2=new _0x3fa874(_0x801a70,_0x2df668,this[_0xc535b5(0xab)][_0xc535b5(0xaa)](_0x2df668));this[_0xc535b5(0x92)](_0x801a70,_0x2df668,_0x47e5f2);}[_0x1936c7(0xbe)](_0x169192,_0x65ea81,_0x2bc980){const _0x1adb48=_0x1936c7,_0x83cdd0=new _0x2bc980(_0x169192,this);this[_0x1adb48(0x92)](_0x169192,_0x65ea81,_0x83cdd0);}[_0x1936c7(0x92)](_0x5667cf,_0x50e79e,_0x1be76){const _0x5d2a84=_0x1936c7;this[_0x5d2a84(0x96)][_0x5d2a84(0xac)](_0x5667cf,_0x1be76),this[_0x5d2a84(0x9c)][_0x5d2a84(0xac)](_0x50e79e,_0x1be76);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x37936c,_0x4dc6cd){var _0x34e514=_0x55d0,_0x84ca02=_0x37936c();while(!![]){try{var _0xa75e0=parseInt(_0x34e514(0xb2))/0x1*(-parseInt(_0x34e514(0xba))/0x2)+parseInt(_0x34e514(0xb8))/0x3+-parseInt(_0x34e514(0xb6))/0x4+parseInt(_0x34e514(0xb0))/0x5*(-parseInt(_0x34e514(0xb1))/0x6)+parseInt(_0x34e514(0xb7))/0x7*(-parseInt(_0x34e514(0xb3))/0x8)+parseInt(_0x34e514(0xb9))/0x9*(-parseInt(_0x34e514(0xb5))/0xa)+parseInt(_0x34e514(0xb4))/0xb;if(_0xa75e0===_0x4dc6cd)break;else _0x84ca02['push'](_0x84ca02['shift']());}catch(_0xf71e9e){_0x84ca02['push'](_0x84ca02['shift']());}}}(_0x4ecb,0x6fbc1));function _0x4ecb(){var _0x5a2bd9=['1279925AOAQno','6JzopJL','7870TCdjpq','2459672kWaGjX','24828837RcNimt','20aMOaoC','2196416aYHjhI','7UVHHwV','726108QuwzGs','2551365kCmpoy','92bZMmRs'];_0x4ecb=function(){return _0x5a2bd9;};return _0x4ecb();}function _0x55d0(_0x185e18,_0x1d4a5b){var _0x4ecbde=_0x4ecb();return _0x55d0=function(_0x55d0d3,_0x28957){_0x55d0d3=_0x55d0d3-0xb0;var _0x3d40de=_0x4ecbde[_0x55d0d3];return _0x3d40de;},_0x55d0(_0x185e18,_0x1d4a5b);}export{Compressor}from'./compressor.js';
|