@ckeditor/ckeditor5-operations-compressor 47.2.0-alpha.7 → 47.3.0-alpha.0
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/LICENSE.md +7 -7
- 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
|
+
const _0x44c9e6=_0x5c87;function _0x5c87(_0x14c3cd,_0x26e245){const _0xd67752=_0xd677();return _0x5c87=function(_0x5c8731,_0x1b4a10){_0x5c8731=_0x5c8731-0x131;let _0x4b6ad4=_0xd67752[_0x5c8731];return _0x4b6ad4;},_0x5c87(_0x14c3cd,_0x26e245);}(function(_0x5162bc,_0x40b86f){const _0x1c0a47=_0x5c87,_0x56cab6=_0x5162bc();while(!![]){try{const _0xdb6292=parseInt(_0x1c0a47(0x145))/0x1+-parseInt(_0x1c0a47(0x141))/0x2*(-parseInt(_0x1c0a47(0x142))/0x3)+parseInt(_0x1c0a47(0x13d))/0x4*(parseInt(_0x1c0a47(0x143))/0x5)+parseInt(_0x1c0a47(0x13c))/0x6*(-parseInt(_0x1c0a47(0x135))/0x7)+-parseInt(_0x1c0a47(0x132))/0x8+-parseInt(_0x1c0a47(0x138))/0x9+-parseInt(_0x1c0a47(0x147))/0xa;if(_0xdb6292===_0x40b86f)break;else _0x56cab6['push'](_0x56cab6['shift']());}catch(_0x3ee94d){_0x56cab6['push'](_0x56cab6['shift']());}}}(_0xd677,0x2434f));import{cloneDeep as _0xec34e0}from'es-toolkit/compat';export class ActionCompressor{[_0x44c9e6(0x134)];[_0x44c9e6(0x146)];constructor(_0x55850e,_0x2d1a58){const _0x4c017b=_0x44c9e6;this[_0x4c017b(0x134)]=_0x55850e,this[_0x4c017b(0x146)]=_0x2d1a58;}[_0x44c9e6(0x13b)](_0x112e19,_0x5e1639){const _0x63d3ce=_0x44c9e6;let _0x1efebc;for(;_0x5e1639[_0x63d3ce(0x13a)]>0x1&&this[_0x63d3ce(0x148)](_0x5e1639[0x0],_0x5e1639[0x1]);)_0x1efebc?(_0x1efebc=this[_0x63d3ce(0x136)](_0x5e1639[_0x63d3ce(0x137)](),_0x1efebc),_0x112e19[_0x63d3ce(0x133)][_0x63d3ce(0x144)](0x0)):(_0x1efebc=_0xec34e0(_0x5e1639[_0x63d3ce(0x137)]()),_0x112e19[_0x63d3ce(0x133)][_0x63d3ce(0x144)](this[_0x63d3ce(0x134)]));return!!_0x1efebc&&(_0x1efebc=this[_0x63d3ce(0x136)](_0x5e1639[_0x63d3ce(0x137)](),_0x1efebc),_0x112e19[_0x63d3ce(0x133)][_0x63d3ce(0x144)](0x0),_0x112e19[_0x63d3ce(0x139)][_0x63d3ce(0x144)](this[_0x63d3ce(0x140)](_0x1efebc)),!0x0);}[_0x44c9e6(0x13f)](_0x267b09,_0x811110){const _0x276105=_0x44c9e6,_0x748fe3=this[_0x276105(0x13e)](_0x811110);for(;0x0==_0x811110[_0x276105(0x133)][0x0];)_0x811110[_0x276105(0x133)][_0x276105(0x137)](),_0x267b09[_0x276105(0x144)](this[_0x276105(0x131)](_0x748fe3));_0x267b09[_0x276105(0x144)](_0x748fe3);}}function _0xd677(){const _0x274fdb=['79405kWnfCJ','push','182586GlJuUe','_context','1166390iilWBg','_compareOperations','_splitCurrent','127408iMLoEw','types','_id','7oOQAdm','_combineNext','shift','2271033SHcybu','buffers','length','compress','1149846LrxeBz','68zpxjvy','_decompressSingleOperation','decompress','_compressSingleOperation','222PEnblY','7359wIRhsI'];_0xd677=function(){return _0x274fdb;};return _0xd677();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2d7620=_0x1e24;(function(_0xdd2815,_0x18085a){const _0xef5c3a=_0x1e24,_0x4fc24c=_0xdd2815();while(!![]){try{const _0x49ba9d=-parseInt(_0xef5c3a(0x8e))/0x1+parseInt(_0xef5c3a(0x80))/0x2*(-parseInt(_0xef5c3a(0x89))/0x3)+parseInt(_0xef5c3a(0x7a))/0x4*(parseInt(_0xef5c3a(0x85))/0x5)+-parseInt(_0xef5c3a(0x95))/0x6*(-parseInt(_0xef5c3a(0x7f))/0x7)+-parseInt(_0xef5c3a(0x8b))/0x8+-parseInt(_0xef5c3a(0x92))/0x9+-parseInt(_0xef5c3a(0x8c))/0xa*(-parseInt(_0xef5c3a(0x87))/0xb);if(_0x49ba9d===_0x18085a)break;else _0x4fc24c['push'](_0x4fc24c['shift']());}catch(_0x34864a){_0x4fc24c['push'](_0x4fc24c['shift']());}}}(_0x5240,0xce54a));function _0x5240(){const _0x5cb0de=['5umiXXm','howMany','11TPxgRq','_combineNext','4550457wJRuCv','_context','1600120VqjzVe','38870610TweBUB','decompress','1112216yvTLwV','_splitCurrent','_getCompressorByName','compress','14498550rEfLJw','targetPosition','sourcePosition','432oyThlJ','root','MoveOperation','3901716NSQDuc','_checkOperation','_compressSingleOperation','_compareOperations','$graveyard','41090tHFTaV','2kUcQQu','wasUndone','__className','_decompressSingleOperation','buffers'];_0x5240=function(){return _0x5cb0de;};return _0x5240();}import{ActionCompressor as _0xcdaec5}from'./actioncompressor.js';import{arePositionsEqual as _0x2e7f11,getPositionShiftedBy as _0x4d67d3}from'../utils.js';import{cloneDeep as _0x2efc02}from'es-toolkit/compat';function _0x1e24(_0x2250c9,_0x3d54d2){const _0x524029=_0x5240();return _0x1e24=function(_0x1e24b1,_0x58fa88){_0x1e24b1=_0x1e24b1-0x78;let _0x2c078e=_0x524029[_0x1e24b1];return _0x2c078e;},_0x1e24(_0x2250c9,_0x3d54d2);}export class DeletingActionCompressor extends _0xcdaec5{[_0x2d7620(0x88)](_0x559ef0,_0x2f8659){const _0x13b399=_0x2d7620;return _0x2f8659[_0x13b399(0x86)]++,_0x2f8659[_0x13b399(0x94)]=_0x2efc02(_0x559ef0[_0x13b399(0x94)]),_0x2f8659;}[_0x2d7620(0x8f)](_0x4d4e76){const _0x500e3d=_0x2d7620,_0x2802ca=_0x2efc02(_0x4d4e76);return _0x4d4e76[_0x500e3d(0x86)]--,_0x2802ca[_0x500e3d(0x86)]=0x1,_0x2802ca[_0x500e3d(0x94)]=_0x4d67d3(_0x2802ca[_0x500e3d(0x94)],_0x4d4e76[_0x500e3d(0x86)]),_0x2802ca;}[_0x2d7620(0x7d)](_0x154fc7,_0x2d7b7a){const _0x56614f=_0x2d7620;return!(!this[_0x56614f(0x7b)](_0x154fc7)||!this[_0x56614f(0x7b)](_0x2d7b7a))&&(_0x2e7f11(_0x4d67d3(_0x154fc7[_0x56614f(0x94)],-0x1),_0x2d7b7a[_0x56614f(0x94)])&&_0x2e7f11(_0x154fc7[_0x56614f(0x93)],_0x2d7b7a[_0x56614f(0x93)]));}[_0x2d7620(0x7c)](_0x51a437){const _0xdeb3ed=_0x2d7620,_0x2ec671={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xdeb3ed(0x8a)][_0xdeb3ed(0x90)](_0xdeb3ed(0x79))[_0xdeb3ed(0x91)](_0x2ec671,[_0x51a437]),_0x2ec671[_0xdeb3ed(0x84)][0x0];}[_0x2d7620(0x83)](_0x3326df){const _0x30d1ee=_0x2d7620,_0x44d33a=[];return this[_0x30d1ee(0x8a)][_0x30d1ee(0x90)](_0x30d1ee(0x79))[_0x30d1ee(0x8d)](_0x44d33a,_0x3326df),_0x44d33a[0x0];}[_0x2d7620(0x7b)](_0x1eb7b8){const _0x3e7bf3=_0x2d7620;return _0x3e7bf3(0x79)==_0x1eb7b8[_0x3e7bf3(0x82)]&&_0x3e7bf3(0x7e)==_0x1eb7b8[_0x3e7bf3(0x93)][_0x3e7bf3(0x78)]&&0x1==_0x1eb7b8[_0x3e7bf3(0x86)]&&!_0x1eb7b8[_0x3e7bf3(0x81)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x50f6fc=_0x5883;(function(_0xc28a37,_0x4b743a){const _0x3ea0a6=_0x5883,_0x1fc039=_0xc28a37();while(!![]){try{const _0x273a94=-parseInt(_0x3ea0a6(0xee))/0x1+parseInt(_0x3ea0a6(0xf9))/0x2+parseInt(_0x3ea0a6(0xe6))/0x3*(-parseInt(_0x3ea0a6(0xfb))/0x4)+parseInt(_0x3ea0a6(0xe7))/0x5*(parseInt(_0x3ea0a6(0xf2))/0x6)+-parseInt(_0x3ea0a6(0xf6))/0x7+parseInt(_0x3ea0a6(0xf3))/0x8*(parseInt(_0x3ea0a6(0xe1))/0x9)+parseInt(_0x3ea0a6(0xf0))/0xa;if(_0x273a94===_0x4b743a)break;else _0x1fc039['push'](_0x1fc039['shift']());}catch(_0x16eef3){_0x1fc039['push'](_0x1fc039['shift']());}}}(_0xdac8,0xa09dd));import{ActionCompressor as _0x147526}from'./actioncompressor.js';import{arePositionsEqual as _0x5bcb99}from'../utils.js';function _0xdac8(){const _0x5a1dbe=['buffers','444270vPfbac','5283248QRzkCc','$graveyard','wasUndone','7612521RSTVia','sourcePosition','_checkOperation','247074PXlZds','_compressSingleOperation','4OAlXvR','_context','MoveOperation','9leTeIw','howMany','_getCompressorByName','_splitCurrent','compress','3516903wyhceB','5BwXNzv','_compareOperations','root','_combineNext','_decompressSingleOperation','targetPosition','__className','1239717vijOWF','decompress','32994180jCoKfy'];_0xdac8=function(){return _0x5a1dbe;};return _0xdac8();}import{cloneDeep as _0x8f29d}from'es-toolkit/compat';function _0x5883(_0x16c7be,_0x518811){const _0xdac832=_0xdac8();return _0x5883=function(_0x5883de,_0x3132b3){_0x5883de=_0x5883de-0xdf;let _0x182615=_0xdac832[_0x5883de];return _0x182615;},_0x5883(_0x16c7be,_0x518811);}export class ForwardDeletingActionCompressor extends _0x147526{[_0x50f6fc(0xea)](_0x36d9f0,_0x2dbf92){const _0xc36cb7=_0x50f6fc;return _0x2dbf92[_0xc36cb7(0xe2)]++,_0x2dbf92;}[_0x50f6fc(0xe4)](_0x3a0bc9){const _0xd762c8=_0x50f6fc,_0xfdc30=_0x8f29d(_0x3a0bc9);return _0xfdc30[_0xd762c8(0xe2)]=0x1,_0x3a0bc9[_0xd762c8(0xe2)]--,_0xfdc30;}[_0x50f6fc(0xe8)](_0x23db51,_0x3e2d97){const _0x4fd81b=_0x50f6fc;return!(!this[_0x4fd81b(0xf8)](_0x23db51)||!this[_0x4fd81b(0xf8)](_0x3e2d97))&&(_0x5bcb99(_0x23db51[_0x4fd81b(0xf7)],_0x3e2d97[_0x4fd81b(0xf7)])&&_0x5bcb99(_0x23db51[_0x4fd81b(0xec)],_0x3e2d97[_0x4fd81b(0xec)]));}[_0x50f6fc(0xfa)](_0x28446e){const _0x3af5f7=_0x50f6fc,_0x4bdb43={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x3af5f7(0xdf)][_0x3af5f7(0xe3)](_0x3af5f7(0xe0))[_0x3af5f7(0xe5)](_0x4bdb43,[_0x28446e]),_0x4bdb43[_0x3af5f7(0xf1)][0x0];}[_0x50f6fc(0xeb)](_0x32c449){const _0xe99b34=_0x50f6fc,_0x914d5a=[];return this[_0xe99b34(0xdf)][_0xe99b34(0xe3)](_0xe99b34(0xe0))[_0xe99b34(0xef)](_0x914d5a,_0x32c449),_0x914d5a[0x0];}[_0x50f6fc(0xf8)](_0x175623){const _0x50bfd4=_0x50f6fc;return _0x50bfd4(0xe0)==_0x175623[_0x50bfd4(0xed)]&&_0x50bfd4(0xf4)==_0x175623[_0x50bfd4(0xec)][_0x50bfd4(0xe9)]&&0x1==_0x175623[_0x50bfd4(0xe2)]&&!_0x175623[_0x50bfd4(0xf5)];}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x29477d=_0x3a20;(function(_0x33dbfd,_0x337b57){const _0x4773d0=_0x3a20,_0x46b98d=_0x33dbfd();while(!![]){try{const _0x19f174=-parseInt(_0x4773d0(0x187))/0x1+-parseInt(_0x4773d0(0x180))/0x2+parseInt(_0x4773d0(0x181))/0x3+parseInt(_0x4773d0(0x177))/0x4+-parseInt(_0x4773d0(0x18f))/0x5*(-parseInt(_0x4773d0(0x17b))/0x6)+parseInt(_0x4773d0(0x17e))/0x7*(parseInt(_0x4773d0(0x172))/0x8)+parseInt(_0x4773d0(0x18c))/0x9*(parseInt(_0x4773d0(0x176))/0xa);if(_0x19f174===_0x337b57)break;else _0x46b98d['push'](_0x46b98d['shift']());}catch(_0x417a83){_0x46b98d['push'](_0x46b98d['shift']());}}}(_0x1739,0x82acd));import{ActionCompressor as _0x2b6e91}from'./actioncompressor.js';import{arePositionsEqual as _0x2ee0a5,getPositionShiftedBy as _0x3819b2}from'../utils.js';function _0x1739(){const _0x112a84=['attributes','45sJAGFp','_combineNext','_checkOperation','65MqanoU','next','_context','length','_decompressSingleOperation','wasUndone','keys','_compareAttributes','107920hGKtTa','_compressSingleOperation','compress','_splitCurrent','408340GROtaP','1654208KGHegz','InsertOperation','decompress','iterator','55308JfyOFe','_compareOperations','data','287mhUgKQ','every','1160232YuhjrD','2234097UaDFsU','buffers','from','_getCompressorByName','__className','nodes','919984LVuPNU','value','position','substr'];_0x1739=function(){return _0x112a84;};return _0x1739();}function _0x3a20(_0x4f1de5,_0x583289){const _0x173907=_0x1739();return _0x3a20=function(_0x3a204a,_0x5700b){_0x3a204a=_0x3a204a-0x172;let _0x5c7fc3=_0x173907[_0x3a204a];return _0x5c7fc3;},_0x3a20(_0x4f1de5,_0x583289);}import{cloneDeep as _0x1955af}from'es-toolkit/compat';export class TypingActionCompressor extends _0x2b6e91{[_0x29477d(0x18d)](_0x46e987,_0x1ccc6e){const _0x25dbe2=_0x29477d;return _0x1ccc6e[_0x25dbe2(0x186)][0x0][_0x25dbe2(0x17d)]+=_0x46e987[_0x25dbe2(0x186)][0x0][_0x25dbe2(0x17d)],_0x1ccc6e;}[_0x29477d(0x175)](_0x21ea3a){const _0x38bb0d=_0x29477d,_0x3be9fb=_0x1955af(_0x21ea3a),_0x102e70=_0x3be9fb[_0x38bb0d(0x186)][0x0],_0x34612b=_0x21ea3a[_0x38bb0d(0x186)][0x0],_0x239846=_0x34612b[_0x38bb0d(0x17d)][Symbol[_0x38bb0d(0x17a)]]()[_0x38bb0d(0x190)]()[_0x38bb0d(0x188)],_0x342cc7=_0x239846[_0x38bb0d(0x192)];return _0x102e70[_0x38bb0d(0x17d)]=_0x239846,_0x34612b[_0x38bb0d(0x17d)]=_0x34612b[_0x38bb0d(0x17d)][_0x38bb0d(0x18a)](_0x342cc7),_0x21ea3a[_0x38bb0d(0x189)]=_0x3819b2(_0x21ea3a[_0x38bb0d(0x189)],_0x342cc7),_0x3be9fb;}[_0x29477d(0x17c)](_0x19bd64,_0x503438){const _0x1d3390=_0x29477d;if(this[_0x1d3390(0x18e)](_0x19bd64)&&this[_0x1d3390(0x18e)](_0x503438)){const _0x15802f=_0x19bd64[_0x1d3390(0x186)][0x0][_0x1d3390(0x17d)][_0x1d3390(0x192)],_0x511eb6=_0x2ee0a5(_0x3819b2(_0x19bd64[_0x1d3390(0x189)],_0x15802f),_0x503438[_0x1d3390(0x189)]),_0x2c3854=_0x19bd64[_0x1d3390(0x186)][0x0],_0x20e1f6=_0x503438[_0x1d3390(0x186)][0x0];return _0x511eb6&&this[_0x1d3390(0x196)](_0x2c3854,_0x20e1f6);}return!0x1;}[_0x29477d(0x173)](_0x4e0643){const _0xc4b1e0=_0x29477d,_0x37c698={'types':[],'buffers':[],'baseVersion':0x0};return this[_0xc4b1e0(0x191)][_0xc4b1e0(0x184)](_0xc4b1e0(0x178))[_0xc4b1e0(0x174)](_0x37c698,[_0x4e0643]),_0x37c698[_0xc4b1e0(0x182)][0x0];}[_0x29477d(0x193)](_0x4e89ec){const _0x204c6d=_0x29477d,_0x246f2d=[];return this[_0x204c6d(0x191)][_0x204c6d(0x184)](_0x204c6d(0x178))[_0x204c6d(0x179)](_0x246f2d,_0x4e89ec),_0x246f2d[0x0];}[_0x29477d(0x18e)](_0x565827){const _0x1659c9=_0x29477d;return _0x1659c9(0x178)==_0x565827[_0x1659c9(0x185)]&&0x1==_0x565827[_0x1659c9(0x186)][_0x1659c9(0x192)]&&_0x565827[_0x1659c9(0x186)][0x0][_0x1659c9(0x17d)]&&!_0x565827[_0x1659c9(0x194)]&&0x1==Array[_0x1659c9(0x183)](_0x565827[_0x1659c9(0x186)][0x0][_0x1659c9(0x17d)])[_0x1659c9(0x192)];}[_0x29477d(0x196)](_0x16c376,_0x982ebd){const _0x142257=_0x29477d,_0x45bc01=Object[_0x142257(0x195)](_0x16c376[_0x142257(0x18b)]||{}),_0x57baf8=Object[_0x142257(0x195)](_0x982ebd[_0x142257(0x18b)]||{});return _0x45bc01[_0x142257(0x192)]===_0x57baf8[_0x142257(0x192)]&&_0x45bc01[_0x142257(0x17f)](_0xf3afa1=>_0x982ebd[_0x142257(0x18b)][_0xf3afa1]&&_0x982ebd[_0x142257(0x18b)][_0xf3afa1]===_0x16c376[_0x142257(0x18b)][_0xf3afa1]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x266f(){const _0x1e1716=['322QBgPoe','decompress','oldRange','user:position:','236fhoqNV','toNone','2728060vEzCaD','__className','buffers','4660056MkdsfY','shift','10HjgKwA','MarkerOperation','types','8643204xNluqC','compress','start','_decompressSingleOperation','11913253onMORs','_getCompressorByName','startsWith','user:','30357jDjpAv','name','175400tTpmBq','push','4542LnwWrS','_compareOperations','stickiness','split','newRange','_context','end','_compressSingleOperation','_id','8EeGiOo'];_0x266f=function(){return _0x1e1716;};return _0x266f();}const _0x45b838=_0x3956;(function(_0x582b8f,_0x74acbd){const _0xc3faab=_0x3956,_0x2cc2d3=_0x582b8f();while(!![]){try{const _0x5e2d26=-parseInt(_0xc3faab(0x1e6))/0x1+-parseInt(_0xc3faab(0x1d2))/0x2*(-parseInt(_0xc3faab(0x1e4))/0x3)+-parseInt(_0xc3faab(0x1cd))/0x4*(-parseInt(_0xc3faab(0x1d4))/0x5)+parseInt(_0xc3faab(0x1e8))/0x6*(parseInt(_0xc3faab(0x1ce))/0x7)+parseInt(_0xc3faab(0x1d7))/0x8+-parseInt(_0xc3faab(0x1dc))/0x9*(parseInt(_0xc3faab(0x1d9))/0xa)+-parseInt(_0xc3faab(0x1e0))/0xb;if(_0x5e2d26===_0x74acbd)break;else _0x2cc2d3['push'](_0x2cc2d3['shift']());}catch(_0x45b81b){_0x2cc2d3['push'](_0x2cc2d3['shift']());}}}(_0x266f,0xa6f28));function _0x3956(_0x29322d,_0x3b5b8e){const _0x266f37=_0x266f();return _0x3956=function(_0x39564c,_0xa38f9b){_0x39564c=_0x39564c-0x1c7;let _0x9a0e9b=_0x266f37[_0x39564c];return _0x9a0e9b;},_0x3956(_0x29322d,_0x3b5b8e);}import{ActionCompressor as _0x797ab8}from'./actioncompressor.js';import{arePositionsEqual as _0x4720aa}from'../utils.js';import{cloneDeep as _0x182c70}from'es-toolkit/compat';export class UserSelectionActionCompressor extends _0x797ab8{[_0x45b838(0x1dd)](_0x15eb66,_0x128fa1){const _0x3629f0=_0x45b838;if(!this[_0x3629f0(0x1e9)](_0x128fa1[0x0],_0x128fa1[0x1]))return!0x1;const _0x5079d6=_0x128fa1[_0x3629f0(0x1d8)]();return _0x5079d6[_0x3629f0(0x1d0)]=null,_0x5079d6[_0x3629f0(0x1c8)]&&_0x4720aa(_0x5079d6[_0x3629f0(0x1c8)][_0x3629f0(0x1de)],_0x5079d6[_0x3629f0(0x1c8)][_0x3629f0(0x1ca)])&&(_0x5079d6[_0x3629f0(0x1c8)][_0x3629f0(0x1ca)]=null),_0x128fa1[_0x3629f0(0x1d8)](),_0x15eb66[_0x3629f0(0x1db)][_0x3629f0(0x1e7)](this[_0x3629f0(0x1cc)]),_0x15eb66[_0x3629f0(0x1db)][_0x3629f0(0x1e7)](0x0),_0x15eb66[_0x3629f0(0x1d6)][_0x3629f0(0x1e7)](this[_0x3629f0(0x1cb)](_0x5079d6)),!0x0;}[_0x45b838(0x1cf)](_0x44846e,_0x2d4e46){const _0x1ca0a1=_0x45b838,_0x2bed50=this[_0x1ca0a1(0x1df)](_0x2d4e46);_0x2bed50[_0x1ca0a1(0x1c8)]&&!_0x2bed50[_0x1ca0a1(0x1c8)][_0x1ca0a1(0x1ca)]&&(_0x2bed50[_0x1ca0a1(0x1c8)][_0x1ca0a1(0x1ca)]=_0x182c70(_0x2bed50[_0x1ca0a1(0x1c8)][_0x1ca0a1(0x1de)]));const _0x193302=_0x182c70(_0x2bed50);_0x193302[_0x1ca0a1(0x1c8)]&&(_0x193302[_0x1ca0a1(0x1c8)][_0x1ca0a1(0x1de)][_0x1ca0a1(0x1ea)]=_0x1ca0a1(0x1d3),_0x193302[_0x1ca0a1(0x1c8)][_0x1ca0a1(0x1ca)]=_0x182c70(_0x193302[_0x1ca0a1(0x1c8)][_0x1ca0a1(0x1de)])),_0x193302[_0x1ca0a1(0x1e5)]=_0x1ca0a1(0x1d1)+_0x193302[_0x1ca0a1(0x1e5)][_0x1ca0a1(0x1c7)](':')[0x2],_0x2d4e46[_0x1ca0a1(0x1db)][_0x1ca0a1(0x1d8)](),_0x44846e[_0x1ca0a1(0x1e7)](_0x2bed50),_0x44846e[_0x1ca0a1(0x1e7)](_0x193302);}[_0x45b838(0x1cb)](_0x1bdba3){const _0x41fab7=_0x45b838,_0x40b33f={'types':[],'buffers':[],'baseVersion':0x0};return this[_0x41fab7(0x1c9)][_0x41fab7(0x1e1)](_0x41fab7(0x1da))[_0x41fab7(0x1dd)](_0x40b33f,[_0x1bdba3]),_0x40b33f[_0x41fab7(0x1d6)][0x0];}[_0x45b838(0x1df)](_0x2cadc6){const _0x51e72f=_0x45b838,_0x4f8714=[];return this[_0x51e72f(0x1c9)][_0x51e72f(0x1e1)](_0x51e72f(0x1da))[_0x51e72f(0x1cf)](_0x4f8714,_0x2cadc6),_0x4f8714[0x0];}[_0x45b838(0x1e9)](_0x190dcc,_0xd057c4){const _0x38512c=_0x45b838;return!(!_0x190dcc||!_0xd057c4)&&(_0x38512c(0x1da)==_0x190dcc[_0x38512c(0x1d5)]&&_0x38512c(0x1da)==_0xd057c4[_0x38512c(0x1d5)]&&!(!_0x190dcc[_0x38512c(0x1e5)][_0x38512c(0x1e2)](_0x38512c(0x1e3))||!_0xd057c4[_0x38512c(0x1e5)][_0x38512c(0x1e2)](_0x38512c(0x1e3))||_0x190dcc[_0x38512c(0x1e5)]==_0xd057c4[_0x38512c(0x1e5)]));}}
|
package/src/compressor.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x317b20=_0x461e;function _0x461e(_0x1439d7,_0x572fdf){const _0x50d7ef=_0x50d7();return _0x461e=function(_0x461eac,_0x14ae25){_0x461eac=_0x461eac-0x1ce;let _0x27221c=_0x50d7ef[_0x461eac];return _0x27221c;},_0x461e(_0x1439d7,_0x572fdf);}(function(_0x279d0f,_0x582266){const _0xaf712=_0x461e,_0x304490=_0x279d0f();while(!![]){try{const _0x454352=-parseInt(_0xaf712(0x1e6))/0x1+parseInt(_0xaf712(0x1db))/0x2+-parseInt(_0xaf712(0x1e2))/0x3+parseInt(_0xaf712(0x1f0))/0x4+-parseInt(_0xaf712(0x1f6))/0x5*(-parseInt(_0xaf712(0x1ce))/0x6)+-parseInt(_0xaf712(0x1d3))/0x7*(parseInt(_0xaf712(0x1e4))/0x8)+parseInt(_0xaf712(0x1e8))/0x9;if(_0x454352===_0x582266)break;else _0x304490['push'](_0x304490['shift']());}catch(_0x3d7e46){_0x304490['push'](_0x304490['shift']());}}}(_0x50d7,0xe6d2c));import{CKEditorError as _0x3fef23}from'ckeditor5/src/utils.js';import{ProtobufFactory as _0x3ec61d}from'./protobuffactory.js';import{OperationCompressor as _0x38fed5}from'./operationcompressor/operationcompressor.js';import{AttributeOperationCompressor as _0x129faa}from'./operationcompressor/attributeoperationcompressor.js';import{InsertOperationCompressor as _0xbc7087}from'./operationcompressor/insertoperationcompressor.js';import{MarkerOperationCompressor as _0x573a88}from'./operationcompressor/markeroperationcompressor.js';import{NoOperationCompressor as _0x3c7b9c}from'./operationcompressor/nooperationcompressor.js';import{AnnotationMarkerOperationCompressor as _0x40890d}from'./operationcompressor/annotationmarkeroperationcompressor.js';import{TypingActionCompressor as _0x4ebf0d}from'./actioncompressor/typingactioncompressor.js';import{DeletingActionCompressor as _0x98dfdf}from'./actioncompressor/deletingactioncompressor.js';import{ForwardDeletingActionCompressor as _0x66af36}from'./actioncompressor/forwarddeletingactioncompressor.js';import{UserSelectionActionCompressor as _0x4fcfb3}from'./actioncompressor/userselectionactioncompressor.js';function _0x50d7(){const _0x2349ab=['SplitOperation','3540352yPAkQp','NoOperation','DeletingAction','_protobufFactory','decompress-compressor-not-found','SuggestionMarkerOperation','AttributeOperation','4719465pBFIyc','getDescriptor','104VEsQPG','RootAttributeOperation','1847417ipiFaB','MoveOperation','14626890SlDRJa','suggestion','_registerOperationCompressor','set','compress','_compressorById','_getCompressorByName','MergeOperation','3302564CINbQm','RenameOperation','baseVersion','InsertOperation','decompress','_compressorByName','960yTKOYf','CommentMarkerOperation','TypingAction','_registerCompressor','get','no-operations-provided','30378KAOAtE','MarkerOperation','_registerActionCompressor','length','RootOperation','445361lkuipI','forEach','UserSelectionAction','comment','ForwardDeletingAction','__className','types'];_0x50d7=function(){return _0x2349ab;};return _0x50d7();}export class Compressor{[_0x317b20(0x1ed)];[_0x317b20(0x1f5)];[_0x317b20(0x1de)];constructor(){const _0x165336=_0x317b20;this[_0x165336(0x1ed)]=new Map(),this[_0x165336(0x1f5)]=new Map(),this[_0x165336(0x1de)]=new _0x3ec61d();const _0x3be73c=this[_0x165336(0x1de)][_0x165336(0x1e3)](_0x165336(0x1cf));this[_0x165336(0x1f9)](0x1,_0x165336(0x1dc),new _0x3c7b9c(0x1,_0x165336(0x1dc),void 0x0)),this[_0x165336(0x1ea)](0xa,_0x165336(0x1e1),_0x129faa),this[_0x165336(0x1ea)](0xb,_0x165336(0x1f3),_0xbc7087),this[_0x165336(0x1ea)](0xc,_0x165336(0x1cf),_0x573a88),this[_0x165336(0x1ea)](0xd,_0x165336(0x1ef),_0x38fed5),this[_0x165336(0x1ea)](0xe,_0x165336(0x1e7),_0x38fed5),this[_0x165336(0x1ea)](0xf,_0x165336(0x1f1),_0x38fed5),this[_0x165336(0x1ea)](0x10,_0x165336(0x1e5),_0x129faa),this[_0x165336(0x1ea)](0x11,_0x165336(0x1da),_0x38fed5),this[_0x165336(0x1f9)](0x12,_0x165336(0x1f7),new _0x40890d(0x12,_0x165336(0x1cf),_0x3be73c,_0x165336(0x1d6))),this[_0x165336(0x1f9)](0x13,_0x165336(0x1e0),new _0x40890d(0x13,_0x165336(0x1cf),_0x3be73c,_0x165336(0x1e9))),this[_0x165336(0x1ea)](0x14,_0x165336(0x1d2),_0x38fed5),this[_0x165336(0x1d0)](0x64,_0x165336(0x1f8),_0x4ebf0d),this[_0x165336(0x1d0)](0x65,_0x165336(0x1dd),_0x98dfdf),this[_0x165336(0x1d0)](0x66,_0x165336(0x1d7),_0x66af36),this[_0x165336(0x1d0)](0x67,_0x165336(0x1d5),_0x4fcfb3);}[_0x317b20(0x1ec)](_0x10c798){const _0x27e064=_0x317b20;if(!_0x10c798||!_0x10c798[0x0])throw new _0x3fef23(_0x27e064(0x1fb),this);const _0x2bf98f={'types':[],'buffers':[],'baseVersion':_0x10c798[0x0][_0x27e064(0x1f2)]};for(;_0x10c798[_0x27e064(0x1d1)];)this[_0x27e064(0x1ee)](_0x27e064(0x1d5))[_0x27e064(0x1ec)](_0x2bf98f,_0x10c798)||this[_0x27e064(0x1ee)](_0x27e064(0x1f8))[_0x27e064(0x1ec)](_0x2bf98f,_0x10c798)||this[_0x27e064(0x1ee)](_0x27e064(0x1dd))[_0x27e064(0x1ec)](_0x2bf98f,_0x10c798)||this[_0x27e064(0x1ee)](_0x27e064(0x1d7))[_0x27e064(0x1ec)](_0x2bf98f,_0x10c798)||this[_0x27e064(0x1ee)](_0x27e064(0x1f7))[_0x27e064(0x1ec)](_0x2bf98f,_0x10c798)||this[_0x27e064(0x1ee)](_0x27e064(0x1e0))[_0x27e064(0x1ec)](_0x2bf98f,_0x10c798)||this[_0x27e064(0x1ee)](_0x10c798[0x0][_0x27e064(0x1d8)])[_0x27e064(0x1ec)](_0x2bf98f,_0x10c798);return _0x2bf98f;}[_0x317b20(0x1f4)](_0x56ade4){const _0x366c2b=_0x317b20,_0xb89b3a=[];for(;_0x56ade4[_0x366c2b(0x1d9)][_0x366c2b(0x1d1)];){const _0x1e7377=this[_0x366c2b(0x1ed)][_0x366c2b(0x1fa)](_0x56ade4[_0x366c2b(0x1d9)][0x0]);if(!_0x1e7377)throw new _0x3fef23(_0x366c2b(0x1df),this,{'type':_0x56ade4[_0x366c2b(0x1d9)][0x0]});_0x1e7377[_0x366c2b(0x1f4)](_0xb89b3a,_0x56ade4);}return _0xb89b3a[_0x366c2b(0x1d4)]((_0xe1b70,_0x43545a)=>_0xe1b70[_0x366c2b(0x1f2)]=_0x56ade4[_0x366c2b(0x1f2)]+_0x43545a),_0xb89b3a;}[_0x317b20(0x1ee)](_0x50b049){const _0x2249a9=_0x317b20;return this[_0x2249a9(0x1f5)][_0x2249a9(0x1fa)](_0x50b049);}[_0x317b20(0x1ea)](_0xdcc730,_0xbc34ef,_0xba384a){const _0x177467=_0x317b20,_0x2bd003=new _0xba384a(_0xdcc730,_0xbc34ef,this[_0x177467(0x1de)][_0x177467(0x1e3)](_0xbc34ef));this[_0x177467(0x1f9)](_0xdcc730,_0xbc34ef,_0x2bd003);}[_0x317b20(0x1d0)](_0x576e01,_0x3029b3,_0x34f157){const _0x489e26=_0x317b20,_0x31e036=new _0x34f157(_0x576e01,this);this[_0x489e26(0x1f9)](_0x576e01,_0x3029b3,_0x31e036);}[_0x317b20(0x1f9)](_0x57ebaa,_0x1cee62,_0x36886b){const _0x1e8aa8=_0x317b20;this[_0x1e8aa8(0x1ed)][_0x1e8aa8(0x1eb)](_0x57ebaa,_0x36886b),this[_0x1e8aa8(0x1f5)][_0x1e8aa8(0x1eb)](_0x1cee62,_0x36886b);}}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x3b3bf8,_0x1a88cd){var _0x5ced51=_0x4c94,_0x4bac36=_0x3b3bf8();while(!![]){try{var _0x44c86d=-parseInt(_0x5ced51(0x166))/0x1*(-parseInt(_0x5ced51(0x173))/0x2)+parseInt(_0x5ced51(0x16f))/0x3*(parseInt(_0x5ced51(0x168))/0x4)+-parseInt(_0x5ced51(0x172))/0x5*(parseInt(_0x5ced51(0x16b))/0x6)+parseInt(_0x5ced51(0x167))/0x7*(parseInt(_0x5ced51(0x16a))/0x8)+-parseInt(_0x5ced51(0x171))/0x9*(parseInt(_0x5ced51(0x16e))/0xa)+-parseInt(_0x5ced51(0x169))/0xb*(parseInt(_0x5ced51(0x16c))/0xc)+parseInt(_0x5ced51(0x16d))/0xd*(parseInt(_0x5ced51(0x170))/0xe);if(_0x44c86d===_0x1a88cd)break;else _0x4bac36['push'](_0x4bac36['shift']());}catch(_0x23f6b1){_0x4bac36['push'](_0x4bac36['shift']());}}}(_0xdd22,0x1f7ce));function _0xdd22(){var _0x2daf5a=['35plupJe','869572Rbwmqv','506fplQZn','229192ZHFako','544614WwcQBf','33492AOoMOc','1118481xtLKOA','630wdCGqA','3EoCCGi','14GdtWYl','6093WSMMSk','10awuMby','106XjQQWe','658kbeXFb'];_0xdd22=function(){return _0x2daf5a;};return _0xdd22();}function _0x4c94(_0x4ba861,_0x29a18d){var _0xdd2229=_0xdd22();return _0x4c94=function(_0x4c94fa,_0x340422){_0x4c94fa=_0x4c94fa-0x166;var _0x5a559d=_0xdd2229[_0x4c94fa];return _0x5a559d;},_0x4c94(_0x4ba861,_0x29a18d);}export{Compressor}from'./compressor.js';
|