@ckeditor/ckeditor5-real-time-collaboration 43.2.0-alpha.6 → 43.2.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/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55fa9d=_0x3ae2;(function(_0x466f91,_0x5f28ed){const _0x1f9330=_0x3ae2,_0x543eae=_0x466f91();while(!![]){try{const _0x3c13e2=-parseInt(_0x1f9330(0x194))/0x1*(-parseInt(_0x1f9330(0x16e))/0x2)+-parseInt(_0x1f9330(0x172))/0x3*(parseInt(_0x1f9330(0x204))/0x4)+-parseInt(_0x1f9330(0x19e))/0x5+-parseInt(_0x1f9330(0x145))/0x6*(-parseInt(_0x1f9330(0x1c2))/0x7)+parseInt(_0x1f9330(0x1eb))/0x8+-parseInt(_0x1f9330(0x22f))/0x9*(-parseInt(_0x1f9330(0x1d1))/0xa)+parseInt(_0x1f9330(0x17d))/0xb;if(_0x3c13e2===_0x5f28ed)break;else _0x543eae['push'](_0x543eae['shift']());}catch(_0x2c9b71){_0x543eae['push'](_0x543eae['shift']());}}}(_0x3e14,0x1c554));import{Plugin as _0x590c32,PendingActions as _0x3b8acb}from'ckeditor5/src/core.js';import{CKEditorError as _0x1075a7,version as _0xfc972a,uid as _0x5dd9a4}from'ckeditor5/src/utils.js';import{Notification as _0xe5f911}from'ckeditor5/src/ui.js';import{transformSets as _0x2eed1a,NoOperation as _0x3494dc,InsertOperation as _0x434b5c,MarkerOperation as _0x4eccb4,RootAttributeOperation as _0x5c443b,OperationFactory as _0x106fc6,History as _0x30d5c6}from'ckeditor5/src/engine.js';import _0x789517 from'./websocketgateway.js';function _0x3e14(){const _0x5ef342=['forEach','destroy','currentDocumentSession','getOperations','realtimecollaborationclient-init-non-existent-root','Synchronization\x20issue','editing','60lJiLdQ','map','affectsData','_setPendingAction','end','connect','_handleInitialConnectionData','enableReadOnlyMode','decompress','connected','baseVersion','change:range','Permissions','_connectAfterSessionHasBeenFlushed','sessionId','CollaborativeEditingService','_handleReconnectionError','from','then','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_compressor','init','_operationToId','operationsReceived','isUndoneOperation','parse','1491504jnTqbh','reconnection:\x20flushed\x20session','collaboration','409','realtimecollaborationclient-initservice-internal-error','batch','finally','push','_sendBufferedOperationsDelayId','_applyOperationsSet','model','_addKnownRoot','_channelId','_connectService','set','lastOperationAcceptedAt','_shouldSendUpdate','_offset','_bufferedOperations','getMany','_refreshUserSelectionMarkers','_service','_crash','_lastServerVersion','message','40GHllBy','_clearPendingAction','roots','compress','size','wasUndone','listenTo','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectedSelectable','permissions','setIdForTheLastOperation','history','getDocumentDetails','realtimecollaborationclient-init-document-already-initialized','change:_isPendingUpdate','version','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','userId','root','get','offset','createPositionAt','_ignoredOperations','createPositionFromPath','_updateServerHistory','length','position','entries','lastSyncVersion','createUserMarkerOperations','_isConnected','addOperation','_isLoaded','keys','lastOperationId','Notification','loadRoot','realtimecollaborationclient-sendbufferedoperations','rootsAttributes','config','metadata','realtimecollaborationclient-initservice-incorrect-server-operation','27549xALVNp','mySessionId','PENDING_ACTION_SENDING_DATA','pluginName','attributes','fire','realtimecollaborationclient-init-session-connection-error','addRoot','path','_document','apply','_knownOperations','addUser','_operationIdentifier','getRoot','_handleReconnectionResponse','sessionCreatedAt','_sendBufferedOperationsDelayed','_isAttached','setPermissions','createdAt','return','_saveOperationInBuffer','type','differ','175632bJpETC','startsWith','_isPendingUpdate','string','document:write','selection','document','remove','_handleServerResponse','_disconnectService','_isDisconnection','data','rootName','ready','_hasSynchronizationProblem','sendOperations','bind','initData','connection','isEnabled','removeFromReconnectionStack','showWarning','cloud-services-internal-error:\x20Not\x20connected.','CommentsOnly','isDocumentOperation','_baseBufferDelay','targetPosition','multi-root-editor-root-attributes-no-root','__className','_isInit','directChange','enqueueChange','_getAffectedRoot','catch','insert','_pendingAction','code','_handleSendingSelectionMarkers','getIdOfTheLastOperation','requires','_waitUntilSynced','160946HbfSCw','has','isReadOnly','includes','55779GvJcxS','_setUpDataInit','state','_initSessionsHandling','lastDocumentSession','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','InsertOperation','_lastSyncedOperationId','getConnectedSessions','rtc-offline','wereChangesApplied','1580909pstHQR','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','toJSON','cloudServices.bundleVersion','_getOperationsFromInitData','slice','disconnected','_decompressOperations','collaboration-missing-channelid','_handleReceivedOperations','_loadRoot','add','suppressErrorInCollaboration','_knownRootNames','start','cs:removeUser','applyOperation','_bufferRootLoad','real-time-collaboration','view','_initThrowingOnDataSet','cloud-services-internal-error:\x20Request\x20timeout.','plugins','1TpXPYg','realtimecollaborationclient-handleserverresponse','disconnect','off','realtimecollaborationclient-init-connection-failed','_fetchMissingUsers','unregister','_sendBufferedOperations','_hasSelectionChanged','reconnect','781430LOSaPL','error','reset','_disconnectionOperations','createRoot','change:hasDomSelection','_isEditingAllowed','addToReconnectionStack','getOperationAuthor','_compressOperations','sessionAdd:','fromJSON','channelSessions','_shouldSendSelectionUpdate','disableReadOnlyMode','collaboration.channelId','stopListening','markers','_authorId','RealTimeCollaborationClient','serverHistory','locale','_currentBufferDelay','addRootAttribute','register','filter','clone','define','newRange','high','$root','change:_isEditingAllowed','createRange','404','cloudDocumentVersion','move','7RMvRrd','marker','_handleExternalOperations','stop','round','editor','rtc-destroyed','getUser'];_0x3e14=function(){return _0x5ef342;};return _0x3e14();}import _0x27aeba from'./sessions.js';function _0x3ae2(_0x3e8da9,_0x4b604c){const _0x3e1443=_0x3e14();return _0x3ae2=function(_0x3ae2cb,_0x415e80){_0x3ae2cb=_0x3ae2cb-0x139;let _0x50dae0=_0x3e1443[_0x3ae2cb];return _0x50dae0;},_0x3ae2(_0x3e8da9,_0x4b604c);}import _0x369b98 from'./usermarkers.js';import{getTranslation as _0x4864c6}from'../common-translations.js';import{Compressor as _0x2101f7}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x47d8b1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1d3c0d,CollaborativeEditingService as _0xe093e1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x590c32{static get[_0x55fa9d(0x16c)](){return[_0x789517,_0x27aeba,_0x369b98,_0x3b8acb,_0x47d8b1,_0xe5f911];}static get[_0x55fa9d(0x232)](){const _0x5e9ac9=_0x55fa9d;return _0x5e9ac9(0x1b1);}get[_0x55fa9d(0x1c0)](){const _0x2a2136=_0x55fa9d;return this[_0x2a2136(0x202)]+this[_0x2a2136(0x1fc)];}get[_0x55fa9d(0x202)](){const _0x1199c8=_0x55fa9d;return this[_0x1199c8(0x1b2)][_0x1199c8(0x214)]-this[_0x1199c8(0x1fc)];}get[_0x55fa9d(0x221)](){const _0xd139fc=_0x55fa9d,_0x4ca563=this[_0xd139fc(0x1b2)][_0xd139fc(0x1cd)]();for(let _0x582920=_0x4ca563[_0xd139fc(0x21e)]-0x1;_0x582920>=0x0;_0x582920--){const _0x4ed002=_0x4ca563[_0x582920];if(!this[_0xd139fc(0x1a1)][_0xd139fc(0x16f)](_0x4ed002))return _0x4ed002[_0xd139fc(0x1db)]+0x1-this[_0xd139fc(0x1fc)];}return 0x0;}constructor(_0x40b3b6){const _0x31324b=_0x55fa9d;if(super(_0x40b3b6),this[_0x31324b(0x1fc)]=0x0,this[_0x31324b(0x1df)]=null,this[_0x31324b(0x1b2)]=new _0x30d5c6(),this[_0x31324b(0x1c7)][_0x31324b(0x22c)][_0x31324b(0x1b9)](_0x31324b(0x1ed),{}),this[_0x31324b(0x1f7)]=this[_0x31324b(0x1c7)][_0x31324b(0x22c)][_0x31324b(0x218)](_0x31324b(0x1ad)),!this[_0x31324b(0x1f7)])throw new _0x1075a7(_0x31324b(0x185),this);const _0x1d9e0a=_0x40b3b6[_0x31324b(0x22c)][_0x31324b(0x218)](_0x31324b(0x180))||_0xfc972a;this[_0x31324b(0x200)]=new l[(_0x31324b(0x1e0))](_0x1d9e0a,this[_0x31324b(0x1f7)]),this[_0x31324b(0x238)]=this[_0x31324b(0x1c7)][_0x31324b(0x1f5)][_0x31324b(0x14b)],this[_0x31324b(0x1e5)]=new _0x2101f7(),this[_0x31324b(0x1fd)]=[],this[_0x31324b(0x23a)]=new WeakSet(),this[_0x31324b(0x18a)]=new Set(),this[_0x31324b(0x1f9)](_0x31324b(0x147),!0x1),this[_0x31324b(0x1f9)](_0x31324b(0x153),!0x1),this[_0x31324b(0x168)]=null,this[_0x31324b(0x19c)]=!0x1,this[_0x31324b(0x1f3)]=null,this[_0x31324b(0x15e)]=0x12c,this[_0x31324b(0x1b4)]=this[_0x31324b(0x15e)],this[_0x31324b(0x179)]=null,this[_0x31324b(0x1a1)]=new WeakSet(),this[_0x31324b(0x139)]=new X(this[_0x31324b(0x1a1)]);}[_0x55fa9d(0x1e6)](){const _0x1363af=_0x55fa9d,_0xca2410=this[_0x1363af(0x1c7)],_0x3302f0=_0xca2410[_0x1363af(0x193)][_0x1363af(0x218)](_0x47d8b1),_0x58e6c2=_0xca2410[_0x1363af(0x193)][_0x1363af(0x218)](_0x789517);this[_0x1363af(0x20a)](_0x3302f0,_0x1363af(0x1a6),(_0x2b9602,_0x3f988c)=>{const _0x2e2933=_0x1363af,_0x10a6f3=_0x3f988c[0x0];_0x10a6f3[_0x2e2933(0x1b0)]&&(_0x2b9602[_0x2e2933(0x141)]=_0x3302f0[_0x2e2933(0x1c9)](_0x10a6f3[_0x2e2933(0x1b0)]),_0x2b9602[_0x2e2933(0x1c5)]()),null===_0x10a6f3[_0x2e2933(0x1b0)]&&(_0x2b9602[_0x2e2933(0x141)]=null,_0x2b9602[_0x2e2933(0x1c5)]());},{'priority':_0x1363af(0x1bb)}),this[_0x1363af(0x20a)](_0xca2410[_0x1363af(0x1f5)][_0x1363af(0x14b)][_0x1363af(0x14a)],_0x1363af(0x1dc),(_0x4c4d84,_0x401372)=>{const _0x14480b=_0x1363af;_0x401372[_0x14480b(0x163)]&&this[_0x14480b(0x1ff)]();}),this[_0x1363af(0x20a)](_0xca2410[_0x1363af(0x1d0)][_0x1363af(0x190)],_0x1363af(0x1a3),()=>{const _0x2e4409=_0x1363af;this[_0x2e4409(0x1ff)]();}),this[_0x1363af(0x191)](),_0xca2410[_0x1363af(0x1f5)]['on'](_0x1363af(0x18d),(_0x5f2b2a,_0x270289)=>{const _0x860f8e=_0x1363af,_0x47a4ac=_0x270289[0x0];_0x47a4ac[_0x860f8e(0x15d)]&&(this[_0x860f8e(0x142)](_0x47a4ac),this[_0x860f8e(0x1fb)]()&&this[_0x860f8e(0x13d)]());}),this[_0x1363af(0x173)](),this[_0x1363af(0x155)](_0x1363af(0x1a4))['to'](_0x58e6c2,_0x1363af(0x174),this,_0x1363af(0x153),(_0x2165c7,_0x1256d9)=>_0x1363af(0x1da)===_0x2165c7&&!_0x1256d9),this['on'](_0x1363af(0x1bd),()=>{const _0x2277ff=_0x1363af;this[_0x2277ff(0x1a4)]?_0xca2410[_0x2277ff(0x1ac)](_0x2277ff(0x17b)):_0xca2410[_0x2277ff(0x1d8)](_0x2277ff(0x17b));}),this[_0x1363af(0x1a4)]?_0xca2410[_0x1363af(0x1ac)](_0x1363af(0x17b)):_0xca2410[_0x1363af(0x1d8)](_0x1363af(0x17b)),this[_0x1363af(0x1f9)](_0x1363af(0x223),!0x1);}async[_0x55fa9d(0x19d)](){const _0x53c628=_0x55fa9d,_0x581bab=this[_0x53c628(0x1c7)][_0x53c628(0x193)][_0x53c628(0x218)](_0x27aeba),_0x3ffdac=this[_0x53c628(0x1c7)][_0x53c628(0x193)][_0x53c628(0x218)](_0x789517);try{this[_0x53c628(0x147)]=!0x0,_0x581bab[_0x53c628(0x19a)](this[_0x53c628(0x1f7)]);const _0x24e2ea=await this[_0x53c628(0x200)][_0x53c628(0x19d)](_0x3ffdac[_0x53c628(0x157)],this[_0x53c628(0x221)]);await this[_0x53c628(0x13b)](_0x24e2ea)&&(this[_0x53c628(0x147)]=!0x1,this[_0x53c628(0x205)]());const _0x5eb599=await this[_0x53c628(0x200)][_0x53c628(0x17a)]();_0x581bab[_0x53c628(0x1b6)](this[_0x53c628(0x1f7)],_0x5eb599),this[_0x53c628(0x16a)](),this[_0x53c628(0x223)]=!0x0;}catch(_0x19be09){if(function(_0x204009){const _0x175ba8=_0x53c628;return _0x175ba8(0x1bf)===_0x204009[_0x175ba8(0x169)];}(_0x19be09)&&this[_0x53c628(0x1df)])await this[_0x53c628(0x1de)]();else{if(function(_0x53c3e6){const _0x268893=_0x53c628;return _0x268893(0x1ee)===_0x53c3e6[_0x268893(0x169)];}(_0x19be09)){const _0xb6fc1f=_0x4864c6(this[_0x53c628(0x1c7)][_0x53c628(0x1b3)],_0x53c628(0x215));this[_0x53c628(0x1e1)](_0xb6fc1f);}else{if(!(_0x19be09 instanceof J))throw _0x19be09;this[_0x53c628(0x1e1)]();}}}}[_0x55fa9d(0x1cb)](){const _0x387675=_0x55fa9d,_0x2a603f=this[_0x387675(0x1c7)][_0x387675(0x193)][_0x387675(0x218)](_0x789517),_0x54b77d=this[_0x387675(0x1c7)][_0x387675(0x193)][_0x387675(0x218)](_0x27aeba);this[_0x387675(0x1c7)][_0x387675(0x1d8)](_0x387675(0x1c8)),_0x54b77d[_0x387675(0x1aa)][_0x387675(0x16f)](this[_0x387675(0x1f7)])&&_0x54b77d[_0x387675(0x19a)](this[_0x387675(0x1f7)]),_0x2a603f[_0x387675(0x159)](this),this[_0x387675(0x14e)](),super[_0x387675(0x1cb)]();}async[_0x55fa9d(0x13b)](_0x2ce517){const _0xfe2fc4=_0x55fa9d;if(this[_0xfe2fc4(0x1df)]!==_0x2ce517[_0xfe2fc4(0x1df)]&&this[_0xfe2fc4(0x179)]!==_0x2ce517[_0xfe2fc4(0x227)])throw new J();return this[_0xfe2fc4(0x1df)]=_0x2ce517[_0xfe2fc4(0x1df)],this[_0xfe2fc4(0x14d)]([],{..._0x2ce517,'wereChangesApplied':!0x1,'data':_0x2ce517[_0xfe2fc4(0x150)]},_0xfe2fc4(0x19d));}async[_0x55fa9d(0x1f8)](_0x2b9f74,_0x580c03=!0x1){const _0x214305=_0x55fa9d,{connection:_0x1cd564}=this[_0x214305(0x1c7)][_0x214305(0x193)][_0x214305(0x218)](_0x789517);l[_0x214305(0x1e0)][_0x214305(0x17a)](_0x1cd564,this[_0x214305(0x1f7)])[_0x214305(0x1e3)](_0x3ddaf4=>this[_0x214305(0x175)](_0x3ddaf4))[_0x214305(0x166)](_0x379fa8=>{const _0x47f28e=_0x214305;this[_0x47f28e(0x201)](_0x47f28e(0x235),_0x379fa8);}),this[_0x214305(0x20a)](this[_0x214305(0x200)],_0x214305(0x1e8),this[_0x214305(0x186)][_0x214305(0x155)](this)),this[_0x214305(0x20a)](this[_0x214305(0x200)],_0x214305(0x19f),(_0x8d27c9,_0x3f5119)=>{const _0xdb38ed=_0x214305;this[_0xdb38ed(0x201)](_0xdb38ed(0x1ef),_0x3f5119);}),this[_0x214305(0x20a)](this[_0x214305(0x200)],_0x214305(0x183),()=>{const _0x424734=_0x214305;this[_0x424734(0x223)]=!0x1;});const _0x4a7f55=this[_0x214305(0x139)][_0x214305(0x16b)](_0x2b9f74);this[_0x214305(0x147)]=!0x0;const _0x380df1=await this[_0x214305(0x200)][_0x214305(0x1d6)](_0x1cd564,this[_0x214305(0x1a7)](_0x2b9f74),_0x4a7f55);if(this[_0x214305(0x1df)]=_0x380df1[_0x214305(0x1df)],_0x580c03){if(!_0x380df1[_0x214305(0x17c)])return void this[_0x214305(0x1e1)]();this[_0x214305(0x147)]=!0x1,this[_0x214305(0x205)](),this[_0x214305(0x1b2)][_0x214305(0x1a0)](),this[_0x214305(0x1fc)]=_0x380df1[_0x214305(0x219)],this[_0x214305(0x1b2)][_0x214305(0x214)]=this[_0x214305(0x1fc)],await this[_0x214305(0x14d)](_0x2b9f74,_0x380df1,_0x214305(0x1ec));}else await this[_0x214305(0x1d7)](_0x380df1,_0x2b9f74);this[_0x214305(0x16a)](),this[_0x214305(0x223)]=!0x0;}[_0x55fa9d(0x16a)](){const _0x13e746=_0x55fa9d,_0x50ffee=this[_0x13e746(0x1c7)][_0x13e746(0x193)][_0x13e746(0x218)](_0x27aeba),_0x1711df=this[_0x13e746(0x1c7)][_0x13e746(0x193)][_0x13e746(0x218)](_0x369b98),_0x4601b9=_0x50ffee[_0x13e746(0x1aa)][_0x13e746(0x218)](this[_0x13e746(0x1f7)]);_0x4601b9&&_0x4601b9[_0x13e746(0x21e)]>0x1?_0x1711df[_0x13e746(0x222)]():this[_0x13e746(0x20a)](_0x50ffee,_0x13e746(0x1a8)+this[_0x13e746(0x1f7)],()=>{const _0x4e12ee=_0x13e746;0x2===_0x50ffee[_0x4e12ee(0x1aa)][_0x4e12ee(0x218)](this[_0x4e12ee(0x1f7)])[_0x4e12ee(0x21e)]&&_0x1711df[_0x4e12ee(0x222)]();});}async[_0x55fa9d(0x186)](_0x2067df,_0x471756,_0x2c10fa,_0x1acd1d){const _0x60a917=_0x55fa9d;if(!this[_0x60a917(0x147)]&&this[_0x60a917(0x238)][_0x60a917(0x214)]==_0x471756){const _0x1542cf=this[_0x60a917(0x184)](_0x2c10fa,_0x1acd1d);await this[_0x60a917(0x199)](_0x1542cf),this[_0x60a917(0x1c4)](_0x1542cf,_0x471756,_0x2c10fa[_0x60a917(0x227)])||this[_0x60a917(0x201)](_0x60a917(0x22e));}}async[_0x55fa9d(0x1de)](){const _0x5e9634=_0x55fa9d;this[_0x5e9634(0x14e)]();const {locale:_0x36c4a9}=this[_0x5e9634(0x1c7)];let _0x43bd35;try{_0x43bd35=await this[_0x5e9634(0x200)][_0x5e9634(0x211)]();}catch(_0x38057b){const _0x1ff3e8=_0x4864c6(_0x36c4a9,_0x5e9634(0x177));return void this[_0x5e9634(0x1e1)](_0x1ff3e8);}const _0x2a1147=_0x43bd35[_0x5e9634(0x1cc)]||_0x43bd35[_0x5e9634(0x176)];if(this[_0x5e9634(0x179)]===_0x2a1147[_0x5e9634(0x227)])await this[_0x5e9634(0x1f8)](this[_0x5e9634(0x1c7)][_0x5e9634(0x1f5)][_0x5e9634(0x14b)][_0x5e9634(0x210)][_0x5e9634(0x1cd)](),!0x0);else{const _0x43286e=_0x4864c6(_0x36c4a9,_0x5e9634(0x17e));this[_0x5e9634(0x1e1)](_0x43286e);}}[_0x55fa9d(0x14e)](){const _0x389cbb=_0x55fa9d;this[_0x389cbb(0x200)][_0x389cbb(0x196)](),this[_0x389cbb(0x1fd)]=[],clearTimeout(this[_0x389cbb(0x1f3)]),this[_0x389cbb(0x1ae)](this[_0x389cbb(0x200)]);}[_0x55fa9d(0x175)](_0x1b6705){const _0x458b73=_0x55fa9d,_0x1f20b2=this[_0x458b73(0x1c7)][_0x458b73(0x193)][_0x458b73(0x218)](_0x27aeba);this[_0x458b73(0x20a)](_0x1f20b2,_0x458b73(0x1a8)+this[_0x458b73(0x1f7)],(_0xdf80a6,{session:_0x5bb904})=>{const _0x318237=_0x458b73;if(_0x5bb904['id']===_0x1f20b2[_0x318237(0x230)]){_0xdf80a6[_0x318237(0x197)]();const _0x382b61=this[_0x318237(0x1c7)][_0x318237(0x193)][_0x318237(0x16f)](_0x318237(0x15c))&&this[_0x318237(0x1c7)][_0x318237(0x193)][_0x318237(0x218)](_0x318237(0x15c));let _0x343b6b=_0x5bb904[_0x318237(0x20e)];_0x382b61&&_0x382b61[_0x318237(0x158)]&&(_0x343b6b=_0x343b6b[_0x318237(0x1b7)](_0x1cc343=>_0x318237(0x149)!==_0x1cc343)),this[_0x318237(0x1c7)][_0x318237(0x193)][_0x318237(0x218)](_0x318237(0x1dd))[_0x318237(0x13f)](_0x343b6b,this[_0x318237(0x1f7)]);}}),_0x1f20b2[_0x458b73(0x1b6)](this[_0x458b73(0x1f7)],_0x1b6705);}[_0x55fa9d(0x191)](){const _0x54612d=_0x55fa9d,_0x565d5a=this[_0x54612d(0x1c7)][_0x54612d(0x150)][_0x54612d(0x1f9)];this[_0x54612d(0x1c7)][_0x54612d(0x150)][_0x54612d(0x1f9)]=(..._0x1fba7b)=>{const _0x11f220=_0x54612d;if(!_0x1fba7b[_0x1fba7b[_0x11f220(0x21e)]-0x1][_0x11f220(0x189)])throw new _0x1075a7(_0x11f220(0x1e4),this);_0x565d5a[_0x11f220(0x239)](this[_0x11f220(0x1c7)][_0x11f220(0x150)],_0x1fba7b);};}[_0x55fa9d(0x173)](){const _0x61078e=_0x55fa9d;this[_0x61078e(0x1c7)][_0x61078e(0x150)]['on'](_0x61078e(0x1e6),(_0x4dae28,[_0x2f1c90])=>{const _0x2be2e6=_0x61078e;if(this[_0x2be2e6(0x238)][_0x2be2e6(0x214)])throw new _0x1075a7(_0x2be2e6(0x212),this);_0x4dae28[_0x2be2e6(0x1c5)](),this[_0x2be2e6(0x1d4)]();const _0x237968=this[_0x2be2e6(0x1c7)][_0x2be2e6(0x22c)][_0x2be2e6(0x218)](_0x2be2e6(0x22b)),_0x2e37c8=this[_0x2be2e6(0x181)](_0x2f1c90,_0x237968);0x0==_0x2e37c8[_0x2be2e6(0x21e)]&&_0x2e37c8[_0x2be2e6(0x1f2)](new _0x3494dc(0x0)),_0x4dae28[_0x2be2e6(0x141)]=this[_0x2be2e6(0x1f8)](_0x2e37c8)[_0x2be2e6(0x1e3)](()=>{const _0x330607=_0x2be2e6;this[_0x330607(0x1c7)][_0x330607(0x193)][_0x330607(0x218)](_0x789517)[_0x330607(0x1a5)](this),this[_0x330607(0x1c7)][_0x330607(0x150)][_0x330607(0x234)](_0x330607(0x152));})[_0x2be2e6(0x166)](_0x804d3e=>this[_0x2be2e6(0x201)](_0x2be2e6(0x198),_0x804d3e))[_0x2be2e6(0x1f1)](()=>this[_0x2be2e6(0x205)]());},{'priority':_0x61078e(0x1bb)}),this[_0x61078e(0x1c7)]['on'](_0x61078e(0x229),async(_0x3d08d7,[_0x1a0e5b,_0x9e57a2])=>{const _0x17a0c6=_0x61078e;_0x3d08d7[_0x17a0c6(0x1c5)]();const _0x199800=this[_0x17a0c6(0x1c7)][_0x17a0c6(0x1f5)][_0x17a0c6(0x14b)][_0x17a0c6(0x13a)](_0x1a0e5b);if(!this[_0x17a0c6(0x18a)][_0x17a0c6(0x16f)](_0x1a0e5b)){const _0x4dfa92=_0x9e57a2&&_0x9e57a2[_0x17a0c6(0x150)]?_0x9e57a2[_0x17a0c6(0x150)]:'',_0x41718b=_0x9e57a2&&_0x9e57a2[_0x17a0c6(0x233)]?_0x9e57a2[_0x17a0c6(0x233)]:{};await this[_0x17a0c6(0x187)](_0x1a0e5b,_0x4dfa92,_0x41718b);}this[_0x17a0c6(0x1c7)][_0x17a0c6(0x1f5)][_0x17a0c6(0x164)]({'isUndoable':!0x1},()=>{const _0x5eab4c=_0x17a0c6;_0x199800[_0x5eab4c(0x225)]=!0x0,this[_0x5eab4c(0x1c7)][_0x5eab4c(0x1f5)][_0x5eab4c(0x14b)][_0x5eab4c(0x144)][_0x5eab4c(0x18e)](_0x199800);});},{'priority':_0x61078e(0x1bb)});}async[_0x55fa9d(0x199)](_0x5c4b4d){const _0x2b481e=_0x55fa9d,_0x4a3604=this[_0x2b481e(0x1c7)][_0x2b481e(0x193)][_0x2b481e(0x218)](_0x47d8b1),{connection:_0x138270}=this[_0x2b481e(0x1c7)][_0x2b481e(0x193)][_0x2b481e(0x218)](_0x789517),_0x2f4510=new Set();for(const _0x239418 of _0x5c4b4d){const _0x1cb206=_0x239418[_0x2b481e(0x1b0)];_0x1cb206&&!_0x4a3604[_0x2b481e(0x1c9)](_0x1cb206)&&_0x2f4510[_0x2b481e(0x188)](_0x1cb206);}if(0x0===_0x2f4510[_0x2b481e(0x208)])return;const _0x5670f2=await _0x1d3c0d[_0x2b481e(0x1fe)](_0x138270,Array[_0x2b481e(0x1e2)](_0x2f4510));for(const _0x55f4de of _0x5670f2)_0x4a3604[_0x2b481e(0x1c9)](_0x55f4de['id'])||_0x4a3604[_0x2b481e(0x23b)](_0x55f4de);}[_0x55fa9d(0x181)](_0x2eb0eb,_0x38f315={}){const _0x2e4591=_0x55fa9d,_0x13c8a5=this[_0x2e4591(0x1c7)][_0x2e4591(0x1f5)],_0x4b2bce=[];let _0x3f4af4=0x0;const _0x40dcec=_0x2e4591(0x148)==typeof _0x2eb0eb?{'main':_0x2eb0eb}:_0x2eb0eb;for(const _0x22b996 of Object[_0x2e4591(0x226)](_0x40dcec)){if(!this[_0x2e4591(0x238)][_0x2e4591(0x206)][_0x2e4591(0x16f)](_0x22b996))throw new _0x1075a7(_0x2e4591(0x1ce),this);const _0x3bdc13=this[_0x2e4591(0x1c7)][_0x2e4591(0x150)][_0x2e4591(0x1ea)](_0x40dcec[_0x22b996]),_0x28b15e=this[_0x2e4591(0x238)][_0x2e4591(0x13a)](_0x22b996),_0x56af4d=new _0x434b5c(_0x13c8a5[_0x2e4591(0x21a)](_0x28b15e,0x0),_0x3bdc13,_0x3f4af4++);_0x4b2bce[_0x2e4591(0x1f2)](_0x56af4d);for(const [_0x25b7b9,_0x1b87c5]of _0x3bdc13[_0x2e4591(0x1af)]){const _0x3906b4=_0x13c8a5[_0x2e4591(0x1be)](_0x13c8a5[_0x2e4591(0x21c)](_0x28b15e,_0x1b87c5[_0x2e4591(0x18b)][_0x2e4591(0x237)][_0x2e4591(0x182)]()),_0x13c8a5[_0x2e4591(0x21c)](_0x28b15e,_0x1b87c5[_0x2e4591(0x1d5)][_0x2e4591(0x237)][_0x2e4591(0x182)]())),_0x3014be=new _0x4eccb4(_0x25b7b9,null,_0x3906b4,_0x13c8a5[_0x2e4591(0x1af)],!0x0,_0x3f4af4++);_0x4b2bce[_0x2e4591(0x1f2)](_0x3014be);}}if(_0x38f315)for(const [_0x5bec46,_0x3ed166]of Object[_0x2e4591(0x220)](_0x38f315)){const _0x4ae96d=_0x13c8a5[_0x2e4591(0x14b)][_0x2e4591(0x13a)](_0x5bec46);if(!_0x4ae96d)throw new _0x1075a7(_0x2e4591(0x160),null);for(const [_0x589a08,_0x407d70]of Object[_0x2e4591(0x220)](_0x3ed166))if(null!==_0x407d70){const _0x186b73=new _0x5c443b(_0x4ae96d,_0x589a08,null,_0x407d70,_0x3f4af4++);_0x4b2bce[_0x2e4591(0x1f2)](_0x186b73);}}return _0x4b2bce;}async[_0x55fa9d(0x187)](_0x10e5fd,_0x5c8323,_0x5edb8e){const _0x1f347d=_0x55fa9d;this[_0x1f347d(0x181)]({[_0x10e5fd]:_0x5c8323},{[_0x10e5fd]:_0x5edb8e})[_0x1f347d(0x1ca)]((_0x36eeaf,_0x30fb9f)=>{const _0x1ae864=_0x1f347d;_0x36eeaf[_0x1ae864(0x1db)]=this[_0x1ae864(0x238)][_0x1ae864(0x214)]+_0x30fb9f,_0x36eeaf[_0x1ae864(0x162)]=!0x0,this[_0x1ae864(0x142)](_0x36eeaf);}),this[_0x1f347d(0x13d)](),await this[_0x1f347d(0x16d)]();}async[_0x55fa9d(0x1d7)](_0x386b82,_0x2b362d){const _0x2ff5f1=_0x55fa9d;let _0x677efd;this[_0x2ff5f1(0x1fc)]=_0x386b82[_0x2ff5f1(0x219)];const _0x52f013=_0x386b82[_0x2ff5f1(0x17c)]&&!_0x386b82[_0x2ff5f1(0x156)],_0x4ebaec=_0x52f013?0x0:_0x386b82[_0x2ff5f1(0x150)][_0x2ff5f1(0x1db)];if(_0x2b362d[_0x2ff5f1(0x1ca)](_0x27dfd0=>{const _0x46dd5f=_0x2ff5f1;_0x27dfd0[_0x46dd5f(0x162)]=!0x0,_0x27dfd0[_0x46dd5f(0x140)]=_0x386b82[_0x46dd5f(0x13c)],_0x27dfd0[_0x46dd5f(0x1b0)]=null;}),_0x52f013)_0x677efd=_0x2b362d,this[_0x2ff5f1(0x1f4)](_0x677efd,_0x52f013);else{if(_0x386b82[_0x2ff5f1(0x156)]){const _0x212045=this[_0x2ff5f1(0x181)](_0x386b82[_0x2ff5f1(0x156)]);this[_0x2ff5f1(0x238)][_0x2ff5f1(0x210)][_0x2ff5f1(0x214)]=-_0x212045[_0x2ff5f1(0x21e)],_0x212045[_0x2ff5f1(0x1ca)](_0x508e04=>{const _0x2e5d4c=_0x2ff5f1;_0x508e04[_0x2e5d4c(0x1db)]-=_0x212045[_0x2e5d4c(0x21e)],_0x508e04[_0x2e5d4c(0x140)]=_0x386b82[_0x2e5d4c(0x13c)],_0x508e04[_0x2e5d4c(0x162)]=!0x0,_0x508e04[_0x2e5d4c(0x1b0)]=null;}),this[_0x2ff5f1(0x1f4)](_0x212045,!0x0),this[_0x2ff5f1(0x1b2)][_0x2ff5f1(0x214)]=-_0x212045[_0x2ff5f1(0x21e)]+this[_0x2ff5f1(0x1fc)],this[_0x2ff5f1(0x21d)](_0x212045);}this[_0x2ff5f1(0x238)][_0x2ff5f1(0x210)][_0x2ff5f1(0x214)]=_0x4ebaec,_0x677efd=this[_0x2ff5f1(0x184)](_0x386b82[_0x2ff5f1(0x150)],_0x386b82[_0x2ff5f1(0x22d)]),await this[_0x2ff5f1(0x199)](_0x677efd),this[_0x2ff5f1(0x1f4)](_0x677efd,_0x52f013);}_0x386b82[_0x2ff5f1(0x227)]&&(this[_0x2ff5f1(0x139)][_0x2ff5f1(0x20f)](_0x677efd,_0x386b82[_0x2ff5f1(0x227)]),this[_0x2ff5f1(0x179)]=_0x386b82[_0x2ff5f1(0x227)]),this[_0x2ff5f1(0x1b2)][_0x2ff5f1(0x214)]=_0x4ebaec+this[_0x2ff5f1(0x1fc)],this[_0x2ff5f1(0x21d)](_0x677efd),_0x2b362d[_0x2ff5f1(0x1b7)](_0x2ab607=>{const _0x42624b=_0x2ff5f1,_0x397d6b=this[_0x42624b(0x165)](_0x2ab607);return _0x397d6b&&!this[_0x42624b(0x18a)][_0x42624b(0x16f)](_0x397d6b);})[_0x2ff5f1(0x1ca)]((_0xdf8ace,_0x2c229c)=>{const _0x37c725=_0x2ff5f1;_0xdf8ace[_0x37c725(0x1db)]=this[_0x37c725(0x238)][_0x37c725(0x214)]+_0x2c229c,this[_0x37c725(0x142)](_0xdf8ace);}),this[_0x2ff5f1(0x1fb)]()?(this[_0x2ff5f1(0x1b4)]=0x0,this[_0x2ff5f1(0x13d)](!0x0),await this[_0x2ff5f1(0x16d)]()):(this[_0x2ff5f1(0x147)]=!0x1,this[_0x2ff5f1(0x205)]());}[_0x55fa9d(0x201)](_0x474aff,_0x4c9d44){const _0x262cea=_0x55fa9d;throw this[_0x262cea(0x147)]=!0x0,_0x4c9d44&&console[_0x262cea(0x19f)](_0x4c9d44),new _0x1075a7(_0x474aff,this[_0x262cea(0x1c7)]);}[_0x55fa9d(0x142)](_0x3767ed){const _0x5ca85c=_0x55fa9d;this[_0x5ca85c(0x23a)][_0x5ca85c(0x16f)](_0x3767ed)||(this[_0x5ca85c(0x23a)][_0x5ca85c(0x188)](_0x3767ed),this[_0x5ca85c(0x1fd)][_0x5ca85c(0x1f2)](_0x3767ed),this[_0x5ca85c(0x168)]||_0x5ca85c(0x1c3)==_0x3767ed[_0x5ca85c(0x143)]&&!_0x3767ed[_0x5ca85c(0x1d3)]||this[_0x5ca85c(0x1d4)]());}[_0x55fa9d(0x13d)](_0x3bcc73=!0x1){const _0x517085=_0x55fa9d;!_0x3bcc73&&this[_0x517085(0x147)]||(this[_0x517085(0x147)]=!0x0,clearTimeout(this[_0x517085(0x1f3)]),this[_0x517085(0x1f3)]=setTimeout(()=>{const _0xe523f7=_0x517085;this[_0xe523f7(0x19b)]()[_0xe523f7(0x1e3)](_0x36f747=>{const _0x36f696=_0xe523f7;_0x36f747&&(this[_0x36f696(0x205)](),this[_0x36f696(0x147)]=!0x1);})[_0xe523f7(0x166)](_0x1d96bf=>{const _0x138ab6=_0xe523f7;if(this[_0x138ab6(0x205)](),this[_0x138ab6(0x147)]=!0x1,!function(_0x45fed1){const _0x54ff19=_0x138ab6;return _0x45fed1[_0x54ff19(0x203)][_0x54ff19(0x146)](_0x54ff19(0x15b))||_0x45fed1[_0x54ff19(0x203)][_0x54ff19(0x146)](_0x54ff19(0x20b))||_0x45fed1[_0x54ff19(0x203)][_0x54ff19(0x146)](_0x54ff19(0x192));}(_0x1d96bf))throw _0x1d96bf;});},this[_0x517085(0x1b4)]));}[_0x55fa9d(0x16d)](){return new Promise(_0x4628ce=>{const _0x3c4762=_0x3ae2;this['on'](_0x3c4762(0x213),()=>{_0x4628ce();});});}async[_0x55fa9d(0x19b)](){const _0x3da2ca=_0x55fa9d,_0x46f148=this[_0x3da2ca(0x1c7)][_0x3da2ca(0x193)][_0x3da2ca(0x218)](_0x369b98);if(this[_0x3da2ca(0x1ab)]()&&(_0x46f148[_0x3da2ca(0x222)](),this[_0x3da2ca(0x19c)]=!0x1),!this[_0x3da2ca(0x1fb)]())return!0x0;const _0x1ff743=[...this[_0x3da2ca(0x1fd)]];for(const _0x297fbc of _0x1ff743)_0x297fbc[_0x3da2ca(0x209)]=this[_0x3da2ca(0x238)][_0x3da2ca(0x210)][_0x3da2ca(0x1e9)](_0x297fbc);const _0x38ed4e=this[_0x3da2ca(0x139)][_0x3da2ca(0x16b)](_0x1ff743),_0x1a6366=K++,_0x2821e7=this[_0x3da2ca(0x1a7)](_0x1ff743),_0x4c6396=await this[_0x3da2ca(0x200)][_0x3da2ca(0x154)](_0x2821e7,_0x2821e7[_0x3da2ca(0x1db)],_0x38ed4e);try{return await this[_0x3da2ca(0x14d)](_0x1ff743,_0x4c6396,_0x1a6366);}catch(_0x308146){return this[_0x3da2ca(0x201)](_0x3da2ca(0x22a),_0x308146);}}async[_0x55fa9d(0x14d)](_0x3a4284,_0x2cb3b8,_0x225ee2){const _0x43c742=_0x55fa9d;if(_0x43c742(0x19f)in _0x2cb3b8)throw _0x2cb3b8[_0x43c742(0x19f)];let _0x590ab0=!0x1;if(_0x2cb3b8[_0x43c742(0x17c)]){_0x2cb3b8[_0x43c742(0x227)]&&(this[_0x43c742(0x179)]=_0x2cb3b8[_0x43c742(0x227)]),this[_0x43c742(0x1fd)]=this[_0x43c742(0x1fd)][_0x43c742(0x1b7)](_0x452db3=>!_0x3a4284[_0x43c742(0x171)](_0x452db3));for(const _0x44118a of _0x3a4284)_0x44118a[_0x43c742(0x140)]=_0x43c742(0x1fa)in _0x2cb3b8&&_0x2cb3b8[_0x43c742(0x1fa)]||void 0x0;Q(_0x3a4284,_0x2cb3b8[_0x43c742(0x214)]-_0x3a4284[_0x43c742(0x21e)]),this[_0x43c742(0x21d)](_0x3a4284);const _0x320f34=_0x3a4284[_0x43c742(0x1b7)](_0x4a81ff=>{const _0x22add3=_0x43c742;if(!_0x4a81ff[_0x22add3(0x162)])return!0x1;const _0xbe3e68=this[_0x22add3(0x165)](_0x4a81ff);return _0xbe3e68&&!this[_0x22add3(0x18a)][_0x22add3(0x16f)](_0xbe3e68);});Q(_0x320f34,this[_0x43c742(0x238)][_0x43c742(0x214)]),this[_0x43c742(0x1f4)](_0x320f34),_0x590ab0=!0x0,this[_0x43c742(0x1b4)]=this[_0x43c742(0x15e)];}else{const _0x4c2d1b=this[_0x43c742(0x184)](_0x2cb3b8[_0x43c742(0x150)],_0x2cb3b8[_0x43c742(0x22d)])[_0x43c742(0x1b7)](_0x23ae0e=>_0x23ae0e[_0x43c742(0x1db)]>=this[_0x43c742(0x202)]);_0x4c2d1b[_0x43c742(0x1ca)](_0xb1f22f=>this[_0x43c742(0x1f6)](_0xb1f22f)),this[_0x43c742(0x1fd)]=this[_0x43c742(0x1fd)][_0x43c742(0x1b7)](_0x30d0ce=>!_0x30d0ce[_0x43c742(0x162)]||!this[_0x43c742(0x18a)][_0x43c742(0x16f)](this[_0x43c742(0x165)](_0x30d0ce))),this[_0x43c742(0x1fd)][_0x43c742(0x21e)]&&Q(this[_0x43c742(0x1fd)],this[_0x43c742(0x1fd)][0x0][_0x43c742(0x1db)]),await this[_0x43c742(0x199)](_0x4c2d1b),_0x590ab0=this[_0x43c742(0x1c4)](_0x4c2d1b,_0x2cb3b8[_0x43c742(0x214)],_0x2cb3b8[_0x43c742(0x227)]),this[_0x43c742(0x1b4)]=Math[_0x43c742(0x1c6)](this[_0x43c742(0x1b4)]/0x2);}return _0x590ab0?!this[_0x43c742(0x1fb)]()||(this[_0x43c742(0x13d)](!0x0),!0x1):this[_0x43c742(0x201)](_0x43c742(0x195));}[_0x55fa9d(0x1c4)](_0x526fb9,_0x4593cd,_0x5e7de7){const _0x53f990=_0x55fa9d;try{const _0x22bb08={'document':this[_0x53f990(0x238)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x427134,operationsB:_0x2f87ea,originalOperations:_0x53413}=_0x2eed1a(_0x526fb9,this[_0x53f990(0x1fd)],_0x22bb08);Q(_0x427134,this[_0x53f990(0x238)][_0x53f990(0x214)]),Q(_0x2f87ea,_0x4593cd);for(const _0x4f15f5 of _0x427134){const _0x2acb9f=_0x53413[_0x53f990(0x218)](_0x4f15f5);_0x4f15f5[_0x53f990(0x1b0)]=_0x2acb9f?_0x2acb9f[_0x53f990(0x1b0)]:null;}_0x5e7de7&&(this[_0x53f990(0x139)][_0x53f990(0x20f)](_0x526fb9,_0x5e7de7),this[_0x53f990(0x179)]=_0x5e7de7),this[_0x53f990(0x1fd)]=[..._0x2f87ea],this[_0x53f990(0x1f4)](_0x427134),this[_0x53f990(0x21d)](_0x526fb9);}catch(_0x12c3e3){return console[_0x53f990(0x19f)](_0x12c3e3),!0x1;}return!0x0;}[_0x55fa9d(0x1f4)](_0x262cae,_0x5204d8=!0x1){const _0x1b5f31=_0x55fa9d;this[_0x1b5f31(0x1c7)][_0x1b5f31(0x1f5)][_0x1b5f31(0x164)]({'isUndoable':!0x1,'isLocal':!0x1},_0x59956c=>{const _0x456388=_0x1b5f31;for(const _0x137ef7 of _0x262cae)this[_0x456388(0x23a)][_0x456388(0x188)](_0x137ef7),this[_0x456388(0x1f6)](_0x137ef7),_0x59956c[_0x456388(0x1f0)][_0x456388(0x224)](_0x137ef7),this[_0x456388(0x1c7)][_0x456388(0x1f5)][_0x456388(0x18d)](_0x137ef7);});}[_0x55fa9d(0x1f6)](_0x475319){const _0x41f395=_0x55fa9d,_0x1abab0=this[_0x41f395(0x165)](_0x475319);_0x1abab0&&this[_0x41f395(0x18a)][_0x41f395(0x188)](_0x1abab0);}[_0x55fa9d(0x165)](_0x4d4b26){const _0x3567aa=_0x55fa9d;let _0x233598,_0x1cf1c8;switch(_0x4d4b26[_0x3567aa(0x143)]){case _0x3567aa(0x167):_0x233598=_0x4d4b26[_0x3567aa(0x21f)][_0x3567aa(0x217)];break;case _0x3567aa(0x1c3):if(_0x1cf1c8=_0x4d4b26[_0x3567aa(0x1ba)],!_0x1cf1c8)return null;_0x233598=_0x1cf1c8[_0x3567aa(0x217)];break;case _0x3567aa(0x1b5):_0x233598=_0x4d4b26[_0x3567aa(0x217)];break;case _0x3567aa(0x236):_0x233598=_0x4d4b26[_0x3567aa(0x20d)];break;case _0x3567aa(0x1c1):_0x233598=_0x4d4b26[_0x3567aa(0x15f)][_0x3567aa(0x217)];break;default:return null;}return _0x233598[_0x3567aa(0x151)];}[_0x55fa9d(0x21d)](_0x23911a){const _0x2b62d7=_0x55fa9d;_0x23911a[_0x2b62d7(0x1ca)](_0x187958=>{const _0x51813f=_0x2b62d7,_0x2f3c67=_0x187958[_0x51813f(0x1b8)]();_0x2f3c67[_0x51813f(0x1b0)]=_0x187958[_0x51813f(0x1b0)],_0x2f3c67[_0x51813f(0x162)]=!!_0x187958[_0x51813f(0x162)],_0x2f3c67[_0x51813f(0x140)]=_0x187958[_0x51813f(0x140)],_0x2f3c67[_0x51813f(0x1db)]+=this[_0x51813f(0x1fc)],_0x187958[_0x51813f(0x14f)]&&this[_0x51813f(0x1a1)][_0x51813f(0x188)](_0x2f3c67),this[_0x51813f(0x1b2)][_0x51813f(0x224)](_0x2f3c67);});}[_0x55fa9d(0x1e1)](_0x37c3c7){const _0x26aeb6=_0x55fa9d,_0x5c7a27=this[_0x26aeb6(0x1c7)][_0x26aeb6(0x193)][_0x26aeb6(0x218)](_0x26aeb6(0x228)),_0x23fb71=this[_0x26aeb6(0x1c7)][_0x26aeb6(0x1b3)];_0x37c3c7||(_0x37c3c7=_0x4864c6(_0x23fb71,_0x26aeb6(0x20c))),_0x5c7a27[_0x26aeb6(0x15a)](_0x37c3c7,{'title':_0x4864c6(_0x23fb71,_0x26aeb6(0x1cf)),'namespace':_0x26aeb6(0x18f)}),this[_0x26aeb6(0x153)]=!0x0,clearTimeout(this[_0x26aeb6(0x1f3)]),this[_0x26aeb6(0x1fd)]=[],this[_0x26aeb6(0x1c7)][_0x26aeb6(0x193)][_0x26aeb6(0x218)](_0x789517)[_0x26aeb6(0x1cb)]();}[_0x55fa9d(0x1d4)](){const _0x4e0f40=_0x55fa9d;this[_0x4e0f40(0x168)]||(this[_0x4e0f40(0x168)]=this[_0x4e0f40(0x1c7)][_0x4e0f40(0x193)][_0x4e0f40(0x218)](_0x3b8acb)[_0x4e0f40(0x188)](_0x4864c6(this[_0x4e0f40(0x1c7)][_0x4e0f40(0x1b3)],_0x4e0f40(0x231))));}[_0x55fa9d(0x205)](){const _0x2e602b=_0x55fa9d;this[_0x2e602b(0x168)]&&(this[_0x2e602b(0x1c7)][_0x2e602b(0x193)][_0x2e602b(0x218)](_0x3b8acb)[_0x2e602b(0x14c)](this[_0x2e602b(0x168)]),this[_0x2e602b(0x168)]=null);}[_0x55fa9d(0x1a7)](_0x13d148){const _0x22bd0f=_0x55fa9d,_0x46884c=_0x13d148[_0x22bd0f(0x1d2)](_0x1f0b1a=>_0x1f0b1a[_0x22bd0f(0x17f)]());return this[_0x22bd0f(0x1e5)][_0x22bd0f(0x207)](_0x46884c);}[_0x55fa9d(0x184)](_0x109e07,_0x3a7758){const _0x12a629=_0x55fa9d;return this[_0x12a629(0x1e5)][_0x12a629(0x1d9)](_0x109e07)[_0x12a629(0x1d2)]((_0x15db70,_0x177d48)=>{const _0x385289=_0x12a629,_0x3b3825=_0x385289(0x1e6)==_0x3a7758[_0x177d48][_0x385289(0x143)];if(_0x385289(0x178)==_0x15db70[_0x385289(0x161)]){const _0x56bd3b=_0x15db70[_0x385289(0x21f)][_0x385289(0x217)];!this[_0x385289(0x238)][_0x385289(0x13a)](_0x56bd3b)&&(this[_0x385289(0x238)][_0x385289(0x1a2)](_0x385289(0x1bc),_0x56bd3b)[_0x385289(0x13e)]=!0x1);}const _0x4cac5d=_0x106fc6[_0x385289(0x1a9)](_0x15db70,this[_0x385289(0x238)]);return _0x4cac5d[_0x385289(0x209)]=_0x15db70[_0x385289(0x209)],_0x4cac5d[_0x385289(0x162)]=_0x3b3825,_0x4cac5d[_0x385289(0x1b0)]=_0x3b3825?null:_0x3a7758[_0x177d48][_0x385289(0x216)],_0x4cac5d[_0x385289(0x14f)]=_0x385289(0x18c)===_0x3a7758[_0x177d48][_0x385289(0x143)],_0x4cac5d[_0x385289(0x140)]=_0x3a7758[_0x177d48][_0x385289(0x140)],_0x4cac5d;});}[_0x55fa9d(0x1ff)](){const _0x1a9271=_0x55fa9d;this[_0x1a9271(0x19c)]=!0x0,this[_0x1a9271(0x1ab)]()?this[_0x1a9271(0x13d)]():this[_0x1a9271(0x19c)]=!0x1;}[_0x55fa9d(0x1ab)](){const _0x269ebc=_0x55fa9d,_0x402a9e=this[_0x269ebc(0x1c7)][_0x269ebc(0x193)][_0x269ebc(0x218)](_0x27aeba)[_0x269ebc(0x1aa)][_0x269ebc(0x218)](this[_0x269ebc(0x1f7)]);return!this[_0x269ebc(0x1c7)][_0x269ebc(0x170)]&&!!_0x402a9e&&_0x402a9e[_0x269ebc(0x21e)]>0x1&&this[_0x269ebc(0x19c)];}[_0x55fa9d(0x1fb)](){const _0x5ca019=_0x55fa9d;return this[_0x5ca019(0x1fd)][_0x5ca019(0x21e)]>0x0||this[_0x5ca019(0x1ab)]();}}l[_0x55fa9d(0x1e0)]=_0xe093e1;export default l;class J extends Error{}function Q(_0x250966,_0x482818){const _0x1b6fd9=_0x55fa9d;for(const _0x3c5e0e of _0x250966)_0x3c5e0e[_0x1b6fd9(0x1db)]=_0x482818++;}class X{constructor(_0x2c645f){const _0x350259=_0x55fa9d;this[_0x350259(0x21b)]=_0x2c645f,this[_0x350259(0x1e7)]=new WeakMap();}[_0x55fa9d(0x16b)](_0xf6ec7a){const _0x5cc788=_0x55fa9d;let _0x5b74de=_0xf6ec7a[_0x5cc788(0x21e)];for(;_0x5b74de--;){const _0x13bd79=_0xf6ec7a[_0x5b74de];if(!this[_0x5cc788(0x21b)][_0x5cc788(0x16f)](_0x13bd79)){if(!this[_0x5cc788(0x1e7)][_0x5cc788(0x16f)](_0x13bd79)){const _0x109107=_0x5dd9a4()[_0x5cc788(0x182)](0x1,0x12);this[_0x5cc788(0x1e7)][_0x5cc788(0x1f9)](_0x13bd79,_0x109107);}return this[_0x5cc788(0x1e7)][_0x5cc788(0x218)](_0x13bd79);}}}[_0x55fa9d(0x20f)](_0x587107,_0x5b5b6d){const _0x1ba738=_0x55fa9d;if(!_0x5b5b6d)return;let _0x1c1875=_0x587107[_0x1ba738(0x21e)];for(;_0x1c1875--;){const _0x5d27bc=_0x587107[_0x1c1875];this[_0x1ba738(0x21b)][_0x1ba738(0x16f)](_0x5d27bc)||this[_0x1ba738(0x1e7)][_0x1ba738(0x1f9)](_0x5d27bc,_0x5b5b6d);}}}
|
|
23
|
+
const _0x577cff=_0x1798;(function(_0x4dfad9,_0x299a13){const _0x301273=_0x1798,_0x17cf5a=_0x4dfad9();while(!![]){try{const _0x131ce7=parseInt(_0x301273(0x2cb))/0x1+-parseInt(_0x301273(0x24a))/0x2+parseInt(_0x301273(0x240))/0x3+parseInt(_0x301273(0x21b))/0x4*(parseInt(_0x301273(0x2be))/0x5)+-parseInt(_0x301273(0x222))/0x6+-parseInt(_0x301273(0x239))/0x7*(-parseInt(_0x301273(0x2de))/0x8)+-parseInt(_0x301273(0x204))/0x9;if(_0x131ce7===_0x299a13)break;else _0x17cf5a['push'](_0x17cf5a['shift']());}catch(_0xd96086){_0x17cf5a['push'](_0x17cf5a['shift']());}}}(_0x10c9,0xc95f7));import{Plugin as _0x4060cf,PendingActions as _0x58f2ae}from'ckeditor5/src/core.js';import{CKEditorError as _0x36d6fc,version as _0xa2d16c,uid as _0x539982}from'ckeditor5/src/utils.js';import{Notification as _0x3bb4d0}from'ckeditor5/src/ui.js';import{transformSets as _0x3904d4,NoOperation as _0x3d34d3,InsertOperation as _0x3d9bac,MarkerOperation as _0x38d09f,RootAttributeOperation as _0x4dfc93,OperationFactory as _0x51892a,History as _0x1d595f}from'ckeditor5/src/engine.js';import _0x516d32 from'./websocketgateway.js';import _0x2c9f62 from'./sessions.js';import _0x1326f6 from'./usermarkers.js';import{getTranslation as _0x52fbd2}from'../common-translations.js';function _0x1798(_0x4b383e,_0x29c0b5){const _0x10c999=_0x10c9();return _0x1798=function(_0x179846,_0x2ddecf){_0x179846=_0x179846-0x1ec;let _0x17a7df=_0x10c999[_0x179846];return _0x17a7df;},_0x1798(_0x4b383e,_0x29c0b5);}import{Compressor as _0x2cccfe}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xfe7f32}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x58bdef,CollaborativeEditingService as _0x2d57fe}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x4060cf{static get[_0x577cff(0x2cd)](){return[_0x516d32,_0x2c9f62,_0x1326f6,_0x58f2ae,_0xfe7f32,_0x3bb4d0];}static get[_0x577cff(0x2d4)](){const _0x15d33a=_0x577cff;return _0x15d33a(0x236);}get[_0x577cff(0x23f)](){const _0x244a7b=_0x577cff;return this[_0x244a7b(0x258)]+this[_0x244a7b(0x24b)];}get[_0x577cff(0x258)](){const _0x58240e=_0x577cff;return this[_0x58240e(0x27d)][_0x58240e(0x217)]-this[_0x58240e(0x24b)];}get[_0x577cff(0x211)](){const _0x507268=_0x577cff,_0x2fc81e=this[_0x507268(0x27d)][_0x507268(0x255)]();for(let _0x48d286=_0x2fc81e[_0x507268(0x292)]-0x1;_0x48d286>=0x0;_0x48d286--){const _0x5a5441=_0x2fc81e[_0x48d286];if(!this[_0x507268(0x282)][_0x507268(0x22e)](_0x5a5441))return _0x5a5441[_0x507268(0x245)]+0x1-this[_0x507268(0x24b)];}return 0x0;}constructor(_0x88d458){const _0xd9ade3=_0x577cff;if(super(_0x88d458),this[_0xd9ade3(0x24b)]=0x0,this[_0xd9ade3(0x2d7)]=null,this[_0xd9ade3(0x27d)]=new _0x1d595f(),this[_0xd9ade3(0x248)][_0xd9ade3(0x280)][_0xd9ade3(0x233)](_0xd9ade3(0x2e8),{}),this[_0xd9ade3(0x20f)]=this[_0xd9ade3(0x248)][_0xd9ade3(0x280)][_0xd9ade3(0x242)](_0xd9ade3(0x2e3)),!this[_0xd9ade3(0x20f)])throw new _0x36d6fc(_0xd9ade3(0x22a),this);const _0x4052c9=_0x88d458[_0xd9ade3(0x280)][_0xd9ade3(0x242)](_0xd9ade3(0x21a))||_0xa2d16c;this[_0xd9ade3(0x293)]=new l[(_0xd9ade3(0x22f))](_0x4052c9,this[_0xd9ade3(0x20f)]),this[_0xd9ade3(0x20a)]=this[_0xd9ade3(0x248)][_0xd9ade3(0x2b9)][_0xd9ade3(0x1f2)],this[_0xd9ade3(0x29d)]=new _0x2cccfe(),this[_0xd9ade3(0x1ef)]=[],this[_0xd9ade3(0x1f9)]=new WeakSet(),this[_0xd9ade3(0x2dc)]=new Set(),this[_0xd9ade3(0x2aa)](_0xd9ade3(0x232),!0x1),this[_0xd9ade3(0x2aa)](_0xd9ade3(0x256),!0x1),this[_0xd9ade3(0x276)]=null,this[_0xd9ade3(0x2c3)]=!0x1,this[_0xd9ade3(0x294)]=null,this[_0xd9ade3(0x254)]=0x12c,this[_0xd9ade3(0x27f)]=this[_0xd9ade3(0x254)],this[_0xd9ade3(0x1f7)]=null,this[_0xd9ade3(0x282)]=new WeakSet(),this[_0xd9ade3(0x250)]=new X(this[_0xd9ade3(0x282)]);}[_0x577cff(0x287)](){const _0x57e8f1=_0x577cff,_0x5c0f93=this[_0x57e8f1(0x248)],_0x23e510=_0x5c0f93[_0x57e8f1(0x267)][_0x57e8f1(0x242)](_0xfe7f32),_0x146981=_0x5c0f93[_0x57e8f1(0x267)][_0x57e8f1(0x242)](_0x516d32);this[_0x57e8f1(0x25f)](_0x23e510,_0x57e8f1(0x24f),(_0x57ffcf,_0x46ff1d)=>{const _0x30ee12=_0x57e8f1,_0x15f356=_0x46ff1d[0x0];_0x15f356[_0x30ee12(0x24c)]&&(_0x57ffcf[_0x30ee12(0x2af)]=_0x23e510[_0x30ee12(0x1f8)](_0x15f356[_0x30ee12(0x24c)]),_0x57ffcf[_0x30ee12(0x25e)]()),null===_0x15f356[_0x30ee12(0x24c)]&&(_0x57ffcf[_0x30ee12(0x2af)]=null,_0x57ffcf[_0x30ee12(0x25e)]());},{'priority':_0x57e8f1(0x1f3)}),this[_0x57e8f1(0x25f)](_0x5c0f93[_0x57e8f1(0x2b9)][_0x57e8f1(0x1f2)][_0x57e8f1(0x286)],_0x57e8f1(0x234),(_0x34214d,_0x19b9fc)=>{const _0x25329b=_0x57e8f1;_0x19b9fc[_0x25329b(0x26e)]&&this[_0x25329b(0x298)]();}),this[_0x57e8f1(0x25f)](_0x5c0f93[_0x57e8f1(0x223)][_0x57e8f1(0x2a2)],_0x57e8f1(0x279),()=>{const _0xdcf597=_0x57e8f1;this[_0xdcf597(0x298)]();}),this[_0x57e8f1(0x272)](),_0x5c0f93[_0x57e8f1(0x2b9)]['on'](_0x57e8f1(0x1fc),(_0x5b669c,_0x139dcb)=>{const _0xc69978=_0x57e8f1,_0x2ec704=_0x139dcb[0x0];_0x2ec704[_0xc69978(0x2cf)]&&(this[_0xc69978(0x1f4)](_0x2ec704),this[_0xc69978(0x2e4)]()&&this[_0xc69978(0x299)]());}),this[_0x57e8f1(0x1f5)](),this[_0x57e8f1(0x2b2)](_0x57e8f1(0x2db))['to'](_0x146981,_0x57e8f1(0x20b),this,_0x57e8f1(0x256),(_0x1fc937,_0x5cdb45)=>_0x57e8f1(0x29f)===_0x1fc937&&!_0x5cdb45),this['on'](_0x57e8f1(0x21c),()=>{const _0x35c4a7=_0x57e8f1;this[_0x35c4a7(0x2db)]?_0x5c0f93[_0x35c4a7(0x23d)](_0x35c4a7(0x2da)):_0x5c0f93[_0x35c4a7(0x270)](_0x35c4a7(0x2da));}),this[_0x57e8f1(0x2db)]?_0x5c0f93[_0x57e8f1(0x23d)](_0x57e8f1(0x2da)):_0x5c0f93[_0x57e8f1(0x270)](_0x57e8f1(0x2da)),this[_0x57e8f1(0x2aa)](_0x57e8f1(0x265),!0x1);}async[_0x577cff(0x274)](){const _0x544af5=_0x577cff,_0x208d92=this[_0x544af5(0x248)][_0x544af5(0x267)][_0x544af5(0x242)](_0x2c9f62),_0x2fb439=this[_0x544af5(0x248)][_0x544af5(0x267)][_0x544af5(0x242)](_0x516d32);try{this[_0x544af5(0x232)]=!0x0,_0x208d92[_0x544af5(0x1ed)](this[_0x544af5(0x20f)]);const _0x21ad89=await this[_0x544af5(0x293)][_0x544af5(0x274)](_0x2fb439[_0x544af5(0x283)],this[_0x544af5(0x211)]);await this[_0x544af5(0x247)](_0x21ad89)&&(this[_0x544af5(0x232)]=!0x1,this[_0x544af5(0x295)]());const _0x187e02=await this[_0x544af5(0x293)][_0x544af5(0x206)]();_0x208d92[_0x544af5(0x23c)](this[_0x544af5(0x20f)],_0x187e02),this[_0x544af5(0x28a)](),this[_0x544af5(0x265)]=!0x0;}catch(_0xc1d9d9){if(function(_0x54a34d){const _0x9362b2=_0x544af5;return _0x9362b2(0x289)===_0x54a34d[_0x9362b2(0x2c6)];}(_0xc1d9d9)&&this[_0x544af5(0x2d7)])await this[_0x544af5(0x2c0)]();else{if(function(_0x2a441a){const _0x4cd24a=_0x544af5;return _0x4cd24a(0x2ce)===_0x2a441a[_0x4cd24a(0x2c6)];}(_0xc1d9d9)){const _0x4d45ac=_0x52fbd2(this[_0x544af5(0x248)][_0x544af5(0x27c)],_0x544af5(0x2ad));this[_0x544af5(0x1fa)](_0x4d45ac);}else{if(!(_0xc1d9d9 instanceof J))throw _0xc1d9d9;this[_0x544af5(0x1fa)]();}}}}[_0x577cff(0x2b3)](){const _0x336c60=_0x577cff,_0x975b32=this[_0x336c60(0x248)][_0x336c60(0x267)][_0x336c60(0x242)](_0x516d32),_0x16e471=this[_0x336c60(0x248)][_0x336c60(0x267)][_0x336c60(0x242)](_0x2c9f62);this[_0x336c60(0x248)][_0x336c60(0x270)](_0x336c60(0x2bd)),_0x16e471[_0x336c60(0x209)][_0x336c60(0x22e)](this[_0x336c60(0x20f)])&&_0x16e471[_0x336c60(0x1ed)](this[_0x336c60(0x20f)]),_0x975b32[_0x336c60(0x1ee)](this),this[_0x336c60(0x2a8)](),super[_0x336c60(0x2b3)]();}async[_0x577cff(0x247)](_0x38e965){const _0x4f997f=_0x577cff;if(this[_0x4f997f(0x2d7)]!==_0x38e965[_0x4f997f(0x2d7)]&&this[_0x4f997f(0x1f7)]!==_0x38e965[_0x4f997f(0x2e6)])throw new J();return this[_0x4f997f(0x2d7)]=_0x38e965[_0x4f997f(0x2d7)],this[_0x4f997f(0x2a1)]([],{..._0x38e965,'wereChangesApplied':!0x1,'data':_0x38e965[_0x4f997f(0x29e)]},_0x4f997f(0x274));}async[_0x577cff(0x2d2)](_0x54a9d8,_0x1057c8=!0x1){const _0x34f15a=_0x577cff,{connection:_0x5b8e91}=this[_0x34f15a(0x248)][_0x34f15a(0x267)][_0x34f15a(0x242)](_0x516d32);l[_0x34f15a(0x22f)][_0x34f15a(0x206)](_0x5b8e91,this[_0x34f15a(0x20f)])[_0x34f15a(0x200)](_0x26a13b=>this[_0x34f15a(0x207)](_0x26a13b))[_0x34f15a(0x213)](_0xbbd3da=>{const _0x1999d2=_0x34f15a;this[_0x1999d2(0x214)](_0x1999d2(0x220),_0xbbd3da);}),this[_0x34f15a(0x25f)](this[_0x34f15a(0x293)],_0x34f15a(0x249),this[_0x34f15a(0x21d)][_0x34f15a(0x2b2)](this)),this[_0x34f15a(0x25f)](this[_0x34f15a(0x293)],_0x34f15a(0x1fb),(_0x2a4c7a,_0x283702)=>{const _0x5a5f10=_0x34f15a;this[_0x5a5f10(0x214)](_0x5a5f10(0x2b6),_0x283702);}),this[_0x34f15a(0x25f)](this[_0x34f15a(0x293)],_0x34f15a(0x235),()=>{const _0x4f3cd1=_0x34f15a;this[_0x4f3cd1(0x265)]=!0x1;});const _0x5aafbd=this[_0x34f15a(0x250)][_0x34f15a(0x244)](_0x54a9d8);this[_0x34f15a(0x232)]=!0x0;const _0x53c09c=await this[_0x34f15a(0x293)][_0x34f15a(0x1ec)](_0x5b8e91,this[_0x34f15a(0x29c)](_0x54a9d8),_0x5aafbd);if(this[_0x34f15a(0x2d7)]=_0x53c09c[_0x34f15a(0x2d7)],_0x1057c8){if(!_0x53c09c[_0x34f15a(0x28d)])return void this[_0x34f15a(0x1fa)]();this[_0x34f15a(0x232)]=!0x1,this[_0x34f15a(0x295)](),this[_0x34f15a(0x27d)][_0x34f15a(0x2a6)](),this[_0x34f15a(0x24b)]=_0x53c09c[_0x34f15a(0x2b4)],this[_0x34f15a(0x27d)][_0x34f15a(0x217)]=this[_0x34f15a(0x24b)],await this[_0x34f15a(0x2a1)](_0x54a9d8,_0x53c09c,_0x34f15a(0x271));}else await this[_0x34f15a(0x253)](_0x53c09c,_0x54a9d8);this[_0x34f15a(0x28a)](),this[_0x34f15a(0x265)]=!0x0;}[_0x577cff(0x28a)](){const _0x38034f=_0x577cff,_0x97d463=this[_0x38034f(0x248)][_0x38034f(0x267)][_0x38034f(0x242)](_0x2c9f62),_0x5752fb=this[_0x38034f(0x248)][_0x38034f(0x267)][_0x38034f(0x242)](_0x1326f6),_0x253488=_0x97d463[_0x38034f(0x209)][_0x38034f(0x242)](this[_0x38034f(0x20f)]);_0x253488&&_0x253488[_0x38034f(0x292)]>0x1?_0x5752fb[_0x38034f(0x2d3)]():this[_0x38034f(0x25f)](_0x97d463,_0x38034f(0x2c1)+this[_0x38034f(0x20f)],()=>{const _0x4e9fd7=_0x38034f;0x2===_0x97d463[_0x4e9fd7(0x209)][_0x4e9fd7(0x242)](this[_0x4e9fd7(0x20f)])[_0x4e9fd7(0x292)]&&_0x5752fb[_0x4e9fd7(0x2d3)]();});}async[_0x577cff(0x21d)](_0x36f4d8,_0x3f9ddb,_0x276b77,_0x1ed004){const _0x58d74a=_0x577cff;if(!this[_0x58d74a(0x232)]&&this[_0x58d74a(0x20a)][_0x58d74a(0x217)]==_0x3f9ddb){const _0x247b68=this[_0x58d74a(0x226)](_0x276b77,_0x1ed004);await this[_0x58d74a(0x2e0)](_0x247b68),this[_0x58d74a(0x212)](_0x247b68,_0x3f9ddb,_0x276b77[_0x58d74a(0x2e6)])||this[_0x58d74a(0x214)](_0x58d74a(0x2c5));}}async[_0x577cff(0x2c0)](){const _0x19505a=_0x577cff;this[_0x19505a(0x2a8)]();const {locale:_0xf38f78}=this[_0x19505a(0x248)];let _0x1b8444;try{_0x1b8444=await this[_0x19505a(0x293)][_0x19505a(0x2c4)]();}catch(_0x4ada04){const _0x246ce6=_0x52fbd2(_0xf38f78,_0x19505a(0x2ec));return void this[_0x19505a(0x1fa)](_0x246ce6);}const _0x581e4f=_0x1b8444[_0x19505a(0x268)]||_0x1b8444[_0x19505a(0x24e)];if(this[_0x19505a(0x1f7)]===_0x581e4f[_0x19505a(0x2e6)])await this[_0x19505a(0x2d2)](this[_0x19505a(0x248)][_0x19505a(0x2b9)][_0x19505a(0x1f2)][_0x19505a(0x26c)][_0x19505a(0x255)](),!0x0);else{const _0x35e7e9=_0x52fbd2(_0xf38f78,_0x19505a(0x26f));this[_0x19505a(0x1fa)](_0x35e7e9);}}[_0x577cff(0x2a8)](){const _0x65be32=_0x577cff;this[_0x65be32(0x293)][_0x65be32(0x23b)](),this[_0x65be32(0x1ef)]=[],clearTimeout(this[_0x65be32(0x294)]),this[_0x65be32(0x2cc)](this[_0x65be32(0x293)]);}[_0x577cff(0x207)](_0x2d0805){const _0x18475c=_0x577cff,_0x1bf1c3=this[_0x18475c(0x248)][_0x18475c(0x267)][_0x18475c(0x242)](_0x2c9f62);this[_0x18475c(0x25f)](_0x1bf1c3,_0x18475c(0x2c1)+this[_0x18475c(0x20f)],(_0x2b198e,{session:_0x2cc631})=>{const _0x254821=_0x18475c;if(_0x2cc631['id']===_0x1bf1c3[_0x254821(0x21f)]){_0x2b198e[_0x254821(0x227)]();const _0x3d6dd0=this[_0x254821(0x248)][_0x254821(0x267)][_0x254821(0x22e)](_0x254821(0x297))&&this[_0x254821(0x248)][_0x254821(0x267)][_0x254821(0x242)](_0x254821(0x297));let _0x2a8813=_0x2cc631[_0x254821(0x25b)];_0x3d6dd0&&_0x3d6dd0[_0x254821(0x2e2)]&&(_0x2a8813=_0x2a8813[_0x254821(0x238)](_0x24dfb4=>_0x254821(0x2ae)!==_0x24dfb4)),this[_0x254821(0x248)][_0x254821(0x267)][_0x254821(0x242)](_0x254821(0x22b))[_0x254821(0x27a)](_0x2a8813,this[_0x254821(0x20f)]);}}),_0x1bf1c3[_0x18475c(0x23c)](this[_0x18475c(0x20f)],_0x2d0805);}[_0x577cff(0x272)](){const _0x3f53b8=_0x577cff,_0x21e38c=this[_0x3f53b8(0x248)][_0x3f53b8(0x29e)][_0x3f53b8(0x2aa)];this[_0x3f53b8(0x248)][_0x3f53b8(0x29e)][_0x3f53b8(0x2aa)]=(..._0x4d917c)=>{const _0x6f0f0d=_0x3f53b8;if(!_0x4d917c[_0x4d917c[_0x6f0f0d(0x292)]-0x1][_0x6f0f0d(0x296)])throw new _0x36d6fc(_0x6f0f0d(0x23e),this);_0x21e38c[_0x6f0f0d(0x2b5)](this[_0x6f0f0d(0x248)][_0x6f0f0d(0x29e)],_0x4d917c);};}[_0x577cff(0x1f5)](){const _0x15c01b=_0x577cff;this[_0x15c01b(0x248)][_0x15c01b(0x29e)]['on'](_0x15c01b(0x287),(_0x157aae,[_0x282f56])=>{const _0xf9d17=_0x15c01b;if(this[_0xf9d17(0x20a)][_0xf9d17(0x217)])throw new _0x36d6fc(_0xf9d17(0x205),this);_0x157aae[_0xf9d17(0x25e)](),this[_0xf9d17(0x224)]();const _0x27dc7c=this[_0xf9d17(0x248)][_0xf9d17(0x280)][_0xf9d17(0x242)](_0xf9d17(0x215)),_0x4b4318=this[_0xf9d17(0x2a3)](_0x282f56,_0x27dc7c);0x0==_0x4b4318[_0xf9d17(0x292)]&&_0x4b4318[_0xf9d17(0x2e9)](new _0x3d34d3(0x0)),_0x157aae[_0xf9d17(0x2af)]=this[_0xf9d17(0x2d2)](_0x4b4318)[_0xf9d17(0x200)](()=>{const _0x270877=_0xf9d17;this[_0x270877(0x248)][_0x270877(0x267)][_0x270877(0x242)](_0x516d32)[_0x270877(0x291)](this),this[_0x270877(0x248)][_0x270877(0x29e)][_0x270877(0x2a0)](_0x270877(0x2d0));})[_0xf9d17(0x213)](_0x8a7f3b=>this[_0xf9d17(0x214)](_0xf9d17(0x20c),_0x8a7f3b))[_0xf9d17(0x1fe)](()=>this[_0xf9d17(0x295)]());},{'priority':_0x15c01b(0x1f3)}),this[_0x15c01b(0x248)]['on'](_0x15c01b(0x2ba),async(_0x547d76,[_0x5d8ab3,_0x219821])=>{const _0x472e3f=_0x15c01b;_0x547d76[_0x472e3f(0x25e)]();const _0x594b03=this[_0x472e3f(0x248)][_0x472e3f(0x2b9)][_0x472e3f(0x1f2)][_0x472e3f(0x2c2)](_0x5d8ab3);if(!this[_0x472e3f(0x2dc)][_0x472e3f(0x22e)](_0x5d8ab3)){const _0x201758=_0x219821&&_0x219821[_0x472e3f(0x29e)]?_0x219821[_0x472e3f(0x29e)]:'',_0x2f79c5=_0x219821&&_0x219821[_0x472e3f(0x285)]?_0x219821[_0x472e3f(0x285)]:{};await this[_0x472e3f(0x23a)](_0x5d8ab3,_0x201758,_0x2f79c5);}this[_0x472e3f(0x248)][_0x472e3f(0x2b9)][_0x472e3f(0x241)]({'isUndoable':!0x1},()=>{const _0x39a6a2=_0x472e3f;_0x594b03[_0x39a6a2(0x2d5)]=!0x0,this[_0x39a6a2(0x248)][_0x39a6a2(0x2b9)][_0x39a6a2(0x1f2)][_0x39a6a2(0x2bf)][_0x39a6a2(0x273)](_0x594b03);});},{'priority':_0x15c01b(0x1f3)});}async[_0x577cff(0x2e0)](_0xec43c9){const _0x4e2d1b=_0x577cff,_0xca0d57=this[_0x4e2d1b(0x248)][_0x4e2d1b(0x267)][_0x4e2d1b(0x242)](_0xfe7f32),{connection:_0x137692}=this[_0x4e2d1b(0x248)][_0x4e2d1b(0x267)][_0x4e2d1b(0x242)](_0x516d32),_0xde279d=new Set();for(const _0x36df26 of _0xec43c9){const _0x5ad061=_0x36df26[_0x4e2d1b(0x24c)];_0x5ad061&&!_0xca0d57[_0x4e2d1b(0x1f8)](_0x5ad061)&&_0xde279d[_0x4e2d1b(0x25a)](_0x5ad061);}if(0x0===_0xde279d[_0x4e2d1b(0x261)])return;const _0x590a63=await _0x58bdef[_0x4e2d1b(0x259)](_0x137692,Array[_0x4e2d1b(0x26b)](_0xde279d));for(const _0xb57532 of _0x590a63)_0xca0d57[_0x4e2d1b(0x1f8)](_0xb57532['id'])||_0xca0d57[_0x4e2d1b(0x25c)](_0xb57532);}[_0x577cff(0x2a3)](_0x19a254,_0x2f9684={}){const _0x4dfd8d=_0x577cff,_0x59e098=this[_0x4dfd8d(0x248)][_0x4dfd8d(0x2b9)],_0xcdaad5=[];let _0x2e9257=0x0;const _0x5b41e2=_0x4dfd8d(0x2c9)==typeof _0x19a254?{'main':_0x19a254}:_0x19a254;for(const _0x30a451 of Object[_0x4dfd8d(0x243)](_0x5b41e2)){if(!this[_0x4dfd8d(0x20a)][_0x4dfd8d(0x22c)][_0x4dfd8d(0x22e)](_0x30a451))throw new _0x36d6fc(_0x4dfd8d(0x2d1),this);const _0x47e38e=this[_0x4dfd8d(0x248)][_0x4dfd8d(0x29e)][_0x4dfd8d(0x2e7)](_0x5b41e2[_0x30a451]),_0x5bf4cf=this[_0x4dfd8d(0x20a)][_0x4dfd8d(0x2c2)](_0x30a451),_0x13494a=new _0x3d9bac(_0x59e098[_0x4dfd8d(0x27b)](_0x5bf4cf,0x0),_0x47e38e,_0x2e9257++);_0xcdaad5[_0x4dfd8d(0x2e9)](_0x13494a);for(const [_0x3f3608,_0x427b2c]of _0x47e38e[_0x4dfd8d(0x266)]){const _0x46fdb6=_0x59e098[_0x4dfd8d(0x21e)](_0x59e098[_0x4dfd8d(0x277)](_0x5bf4cf,_0x427b2c[_0x4dfd8d(0x2ea)][_0x4dfd8d(0x2ac)][_0x4dfd8d(0x2a5)]()),_0x59e098[_0x4dfd8d(0x277)](_0x5bf4cf,_0x427b2c[_0x4dfd8d(0x2b1)][_0x4dfd8d(0x2ac)][_0x4dfd8d(0x2a5)]())),_0x4e3ef7=new _0x38d09f(_0x3f3608,null,_0x46fdb6,_0x59e098[_0x4dfd8d(0x266)],!0x0,_0x2e9257++);_0xcdaad5[_0x4dfd8d(0x2e9)](_0x4e3ef7);}}if(_0x2f9684)for(const [_0x5a1677,_0x4328a6]of Object[_0x4dfd8d(0x2a7)](_0x2f9684)){const _0x5aa50a=_0x59e098[_0x4dfd8d(0x1f2)][_0x4dfd8d(0x2c2)](_0x5a1677);if(!_0x5aa50a)throw new _0x36d6fc(_0x4dfd8d(0x1f6),null);for(const [_0x40bcfb,_0x267510]of Object[_0x4dfd8d(0x2a7)](_0x4328a6))if(null!==_0x267510){const _0x37779e=new _0x4dfc93(_0x5aa50a,_0x40bcfb,null,_0x267510,_0x2e9257++);_0xcdaad5[_0x4dfd8d(0x2e9)](_0x37779e);}}return _0xcdaad5;}async[_0x577cff(0x23a)](_0x59d271,_0x69ad2d,_0x11e2e1){const _0x25cd7a=_0x577cff;this[_0x25cd7a(0x2a3)]({[_0x59d271]:_0x69ad2d},{[_0x59d271]:_0x11e2e1})[_0x25cd7a(0x201)]((_0x11179f,_0x4348b3)=>{const _0xbd4753=_0x25cd7a;_0x11179f[_0xbd4753(0x245)]=this[_0xbd4753(0x20a)][_0xbd4753(0x217)]+_0x4348b3,_0x11179f[_0xbd4753(0x281)]=!0x0,this[_0xbd4753(0x1f4)](_0x11179f);}),this[_0x25cd7a(0x299)](),await this[_0x25cd7a(0x2b7)]();}async[_0x577cff(0x253)](_0x32e76f,_0x1d51ad){const _0x2cffe6=_0x577cff;let _0x7b234;this[_0x2cffe6(0x24b)]=_0x32e76f[_0x2cffe6(0x2b4)];const _0x62abe1=_0x32e76f[_0x2cffe6(0x28d)]&&!_0x32e76f[_0x2cffe6(0x218)],_0x386abc=_0x62abe1?0x0:_0x32e76f[_0x2cffe6(0x29e)][_0x2cffe6(0x245)];if(_0x1d51ad[_0x2cffe6(0x201)](_0x47ddac=>{const _0x403884=_0x2cffe6;_0x47ddac[_0x403884(0x281)]=!0x0,_0x47ddac[_0x403884(0x2ab)]=_0x32e76f[_0x403884(0x203)],_0x47ddac[_0x403884(0x24c)]=null;}),_0x62abe1)_0x7b234=_0x1d51ad,this[_0x2cffe6(0x22d)](_0x7b234,_0x62abe1);else{if(_0x32e76f[_0x2cffe6(0x218)]){const _0x13f37e=this[_0x2cffe6(0x2a3)](_0x32e76f[_0x2cffe6(0x218)]);this[_0x2cffe6(0x20a)][_0x2cffe6(0x26c)][_0x2cffe6(0x217)]=-_0x13f37e[_0x2cffe6(0x292)],_0x13f37e[_0x2cffe6(0x201)](_0x436c4e=>{const _0x2b5cef=_0x2cffe6;_0x436c4e[_0x2b5cef(0x245)]-=_0x13f37e[_0x2b5cef(0x292)],_0x436c4e[_0x2b5cef(0x2ab)]=_0x32e76f[_0x2b5cef(0x203)],_0x436c4e[_0x2b5cef(0x281)]=!0x0,_0x436c4e[_0x2b5cef(0x24c)]=null;}),this[_0x2cffe6(0x22d)](_0x13f37e,!0x0),this[_0x2cffe6(0x27d)][_0x2cffe6(0x217)]=-_0x13f37e[_0x2cffe6(0x292)]+this[_0x2cffe6(0x24b)],this[_0x2cffe6(0x1f0)](_0x13f37e);}this[_0x2cffe6(0x20a)][_0x2cffe6(0x26c)][_0x2cffe6(0x217)]=_0x386abc,_0x7b234=this[_0x2cffe6(0x226)](_0x32e76f[_0x2cffe6(0x29e)],_0x32e76f[_0x2cffe6(0x2c7)]),await this[_0x2cffe6(0x2e0)](_0x7b234),this[_0x2cffe6(0x22d)](_0x7b234,_0x62abe1);}_0x32e76f[_0x2cffe6(0x2e6)]&&(this[_0x2cffe6(0x250)][_0x2cffe6(0x29a)](_0x7b234,_0x32e76f[_0x2cffe6(0x2e6)]),this[_0x2cffe6(0x1f7)]=_0x32e76f[_0x2cffe6(0x2e6)]),this[_0x2cffe6(0x27d)][_0x2cffe6(0x217)]=_0x386abc+this[_0x2cffe6(0x24b)],this[_0x2cffe6(0x1f0)](_0x7b234),_0x1d51ad[_0x2cffe6(0x238)](_0x17930b=>{const _0x4e4336=_0x2cffe6,_0x162963=this[_0x4e4336(0x26d)](_0x17930b);return _0x162963&&!this[_0x4e4336(0x2dc)][_0x4e4336(0x22e)](_0x162963);})[_0x2cffe6(0x201)]((_0x50c783,_0x37bc64)=>{const _0x545646=_0x2cffe6;_0x50c783[_0x545646(0x245)]=this[_0x545646(0x20a)][_0x545646(0x217)]+_0x37bc64,this[_0x545646(0x1f4)](_0x50c783);}),this[_0x2cffe6(0x2e4)]()?(this[_0x2cffe6(0x27f)]=0x0,this[_0x2cffe6(0x299)](!0x0),await this[_0x2cffe6(0x2b7)]()):(this[_0x2cffe6(0x232)]=!0x1,this[_0x2cffe6(0x295)]());}[_0x577cff(0x214)](_0x34c4af,_0x21a533){const _0x306ff2=_0x577cff;throw this[_0x306ff2(0x232)]=!0x0,_0x21a533&&console[_0x306ff2(0x1fb)](_0x21a533),new _0x36d6fc(_0x34c4af,this[_0x306ff2(0x248)]);}[_0x577cff(0x1f4)](_0x2fc17c){const _0xa23f79=_0x577cff;this[_0xa23f79(0x1f9)][_0xa23f79(0x22e)](_0x2fc17c)||(this[_0xa23f79(0x1f9)][_0xa23f79(0x25a)](_0x2fc17c),this[_0xa23f79(0x1ef)][_0xa23f79(0x2e9)](_0x2fc17c),this[_0xa23f79(0x276)]||_0xa23f79(0x228)==_0x2fc17c[_0xa23f79(0x290)]&&!_0x2fc17c[_0xa23f79(0x257)]||this[_0xa23f79(0x224)]());}[_0x577cff(0x299)](_0x128a3e=!0x1){const _0x54fb60=_0x577cff;!_0x128a3e&&this[_0x54fb60(0x232)]||(this[_0x54fb60(0x232)]=!0x0,clearTimeout(this[_0x54fb60(0x294)]),this[_0x54fb60(0x294)]=setTimeout(()=>{const _0x1f0014=_0x54fb60;this[_0x1f0014(0x28c)]()[_0x1f0014(0x200)](_0x3acae0=>{const _0x24e5be=_0x1f0014;_0x3acae0&&(this[_0x24e5be(0x295)](),this[_0x24e5be(0x232)]=!0x1);})[_0x1f0014(0x213)](_0x4643bd=>{const _0x57f973=_0x1f0014;if(this[_0x57f973(0x295)](),this[_0x57f973(0x232)]=!0x1,!function(_0xf3dc8){const _0x3fd8bc=_0x57f973;return _0xf3dc8[_0x3fd8bc(0x202)][_0x3fd8bc(0x2a4)](_0x3fd8bc(0x231))||_0xf3dc8[_0x3fd8bc(0x202)][_0x3fd8bc(0x2a4)](_0x3fd8bc(0x2d6))||_0xf3dc8[_0x3fd8bc(0x202)][_0x3fd8bc(0x2a4)](_0x3fd8bc(0x1f1));}(_0x4643bd))throw _0x4643bd;});},this[_0x54fb60(0x27f)]));}[_0x577cff(0x2b7)](){return new Promise(_0x1344b9=>{const _0x5582f0=_0x1798;this['on'](_0x5582f0(0x1fd),()=>{_0x1344b9();});});}async[_0x577cff(0x28c)](){const _0x349b19=_0x577cff,_0x128cbe=this[_0x349b19(0x248)][_0x349b19(0x267)][_0x349b19(0x242)](_0x1326f6);if(this[_0x349b19(0x246)]()&&(_0x128cbe[_0x349b19(0x2d3)](),this[_0x349b19(0x2c3)]=!0x1),!this[_0x349b19(0x2e4)]())return!0x0;const _0x507a7b=[...this[_0x349b19(0x1ef)]];for(const _0x5c00b8 of _0x507a7b)_0x5c00b8[_0x349b19(0x275)]=this[_0x349b19(0x20a)][_0x349b19(0x26c)][_0x349b19(0x221)](_0x5c00b8);const _0x43d4ca=this[_0x349b19(0x250)][_0x349b19(0x244)](_0x507a7b),_0x359546=K++,_0x2667ad=this[_0x349b19(0x29c)](_0x507a7b),_0x1819ac=await this[_0x349b19(0x293)][_0x349b19(0x2ca)](_0x2667ad,_0x2667ad[_0x349b19(0x245)],_0x43d4ca);try{return await this[_0x349b19(0x2a1)](_0x507a7b,_0x1819ac,_0x359546);}catch(_0x4132c9){return this[_0x349b19(0x214)](_0x349b19(0x25d),_0x4132c9);}}async[_0x577cff(0x2a1)](_0x5455c9,_0x42dcf6,_0x340d3c){const _0x111bbb=_0x577cff;if(_0x111bbb(0x1fb)in _0x42dcf6)throw _0x42dcf6[_0x111bbb(0x1fb)];let _0x55a221=!0x1;if(_0x42dcf6[_0x111bbb(0x28d)]){_0x42dcf6[_0x111bbb(0x2e6)]&&(this[_0x111bbb(0x1f7)]=_0x42dcf6[_0x111bbb(0x2e6)]),this[_0x111bbb(0x1ef)]=this[_0x111bbb(0x1ef)][_0x111bbb(0x238)](_0x3a8a7f=>!_0x5455c9[_0x111bbb(0x263)](_0x3a8a7f));for(const _0x38b3ac of _0x5455c9)_0x38b3ac[_0x111bbb(0x2ab)]=_0x111bbb(0x27e)in _0x42dcf6&&_0x42dcf6[_0x111bbb(0x27e)]||void 0x0;Q(_0x5455c9,_0x42dcf6[_0x111bbb(0x217)]-_0x5455c9[_0x111bbb(0x292)]),this[_0x111bbb(0x1f0)](_0x5455c9);const _0x4d18f7=_0x5455c9[_0x111bbb(0x238)](_0x534be8=>{const _0x508b8a=_0x111bbb;if(!_0x534be8[_0x508b8a(0x281)])return!0x1;const _0x475811=this[_0x508b8a(0x26d)](_0x534be8);return _0x475811&&!this[_0x508b8a(0x2dc)][_0x508b8a(0x22e)](_0x475811);});Q(_0x4d18f7,this[_0x111bbb(0x20a)][_0x111bbb(0x217)]),this[_0x111bbb(0x22d)](_0x4d18f7),_0x55a221=!0x0,this[_0x111bbb(0x27f)]=this[_0x111bbb(0x254)];}else{const _0x33710a=this[_0x111bbb(0x226)](_0x42dcf6[_0x111bbb(0x29e)],_0x42dcf6[_0x111bbb(0x2c7)])[_0x111bbb(0x238)](_0x1fc0ee=>_0x1fc0ee[_0x111bbb(0x245)]>=this[_0x111bbb(0x258)]);_0x33710a[_0x111bbb(0x201)](_0x5a5eb6=>this[_0x111bbb(0x2e5)](_0x5a5eb6)),this[_0x111bbb(0x1ef)]=this[_0x111bbb(0x1ef)][_0x111bbb(0x238)](_0x430bcb=>!_0x430bcb[_0x111bbb(0x281)]||!this[_0x111bbb(0x2dc)][_0x111bbb(0x22e)](this[_0x111bbb(0x26d)](_0x430bcb))),this[_0x111bbb(0x1ef)][_0x111bbb(0x292)]&&Q(this[_0x111bbb(0x1ef)],this[_0x111bbb(0x1ef)][0x0][_0x111bbb(0x245)]),await this[_0x111bbb(0x2e0)](_0x33710a),_0x55a221=this[_0x111bbb(0x212)](_0x33710a,_0x42dcf6[_0x111bbb(0x217)],_0x42dcf6[_0x111bbb(0x2e6)]),this[_0x111bbb(0x27f)]=Math[_0x111bbb(0x2e1)](this[_0x111bbb(0x27f)]/0x2);}return _0x55a221?!this[_0x111bbb(0x2e4)]()||(this[_0x111bbb(0x299)](!0x0),!0x1):this[_0x111bbb(0x214)](_0x111bbb(0x251));}[_0x577cff(0x212)](_0x445554,_0x4b05c0,_0xe46138){const _0x955280=_0x577cff;try{const _0x1c5279={'document':this[_0x955280(0x20a)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4468a7,operationsB:_0x4ab99b,originalOperations:_0xcfd7f6}=_0x3904d4(_0x445554,this[_0x955280(0x1ef)],_0x1c5279);Q(_0x4468a7,this[_0x955280(0x20a)][_0x955280(0x217)]),Q(_0x4ab99b,_0x4b05c0);for(const _0x8c5c5a of _0x4468a7){const _0xf69bd=_0xcfd7f6[_0x955280(0x242)](_0x8c5c5a);_0x8c5c5a[_0x955280(0x24c)]=_0xf69bd?_0xf69bd[_0x955280(0x24c)]:null;}_0xe46138&&(this[_0x955280(0x250)][_0x955280(0x29a)](_0x445554,_0xe46138),this[_0x955280(0x1f7)]=_0xe46138),this[_0x955280(0x1ef)]=[..._0x4ab99b],this[_0x955280(0x22d)](_0x4468a7),this[_0x955280(0x1f0)](_0x445554);}catch(_0x254f04){return console[_0x955280(0x1fb)](_0x254f04),!0x1;}return!0x0;}[_0x577cff(0x22d)](_0x5f5843,_0x7d5fa6=!0x1){const _0x39dea8=_0x577cff;this[_0x39dea8(0x248)][_0x39dea8(0x2b9)][_0x39dea8(0x241)]({'isUndoable':!0x1,'isLocal':!0x1},_0x454a54=>{const _0x23283a=_0x39dea8;for(const _0xd1e57e of _0x5f5843)this[_0x23283a(0x1f9)][_0x23283a(0x25a)](_0xd1e57e),this[_0x23283a(0x2e5)](_0xd1e57e),_0x454a54[_0x23283a(0x2b0)][_0x23283a(0x237)](_0xd1e57e),this[_0x23283a(0x248)][_0x23283a(0x2b9)][_0x23283a(0x1fc)](_0xd1e57e);});}[_0x577cff(0x2e5)](_0x2eff1e){const _0x3f7fb0=_0x577cff,_0x4186c5=this[_0x3f7fb0(0x26d)](_0x2eff1e);_0x4186c5&&this[_0x3f7fb0(0x2dc)][_0x3f7fb0(0x25a)](_0x4186c5);}[_0x577cff(0x26d)](_0x4b7deb){const _0x11bab9=_0x577cff;let _0x71210f,_0x5274ad;switch(_0x4b7deb[_0x11bab9(0x290)]){case _0x11bab9(0x24d):_0x71210f=_0x4b7deb[_0x11bab9(0x216)][_0x11bab9(0x229)];break;case _0x11bab9(0x228):if(_0x5274ad=_0x4b7deb[_0x11bab9(0x219)],!_0x5274ad)return null;_0x71210f=_0x5274ad[_0x11bab9(0x229)];break;case _0x11bab9(0x2c8):_0x71210f=_0x4b7deb[_0x11bab9(0x229)];break;case _0x11bab9(0x230):_0x71210f=_0x4b7deb[_0x11bab9(0x262)];break;case _0x11bab9(0x208):_0x71210f=_0x4b7deb[_0x11bab9(0x269)][_0x11bab9(0x229)];break;default:return null;}return _0x71210f[_0x11bab9(0x28e)];}[_0x577cff(0x1f0)](_0x3ec0e1){const _0x159d04=_0x577cff;_0x3ec0e1[_0x159d04(0x201)](_0x57f575=>{const _0x18f9c2=_0x159d04,_0x29a460=_0x57f575[_0x18f9c2(0x2eb)]();_0x29a460[_0x18f9c2(0x24c)]=_0x57f575[_0x18f9c2(0x24c)],_0x29a460[_0x18f9c2(0x281)]=!!_0x57f575[_0x18f9c2(0x281)],_0x29a460[_0x18f9c2(0x2ab)]=_0x57f575[_0x18f9c2(0x2ab)],_0x29a460[_0x18f9c2(0x245)]+=this[_0x18f9c2(0x24b)],_0x57f575[_0x18f9c2(0x278)]&&this[_0x18f9c2(0x282)][_0x18f9c2(0x25a)](_0x29a460),this[_0x18f9c2(0x27d)][_0x18f9c2(0x237)](_0x29a460);});}[_0x577cff(0x1fa)](_0x5ee7d1){const _0x381487=_0x577cff,_0x125581=this[_0x381487(0x248)][_0x381487(0x267)][_0x381487(0x242)](_0x381487(0x2b8)),_0x3d048b=this[_0x381487(0x248)][_0x381487(0x27c)];_0x5ee7d1||(_0x5ee7d1=_0x52fbd2(_0x3d048b,_0x381487(0x20d))),_0x125581[_0x381487(0x29b)](_0x5ee7d1,{'title':_0x52fbd2(_0x3d048b,_0x381487(0x2d9)),'namespace':_0x381487(0x2bc)}),this[_0x381487(0x256)]=!0x0,clearTimeout(this[_0x381487(0x294)]),this[_0x381487(0x1ef)]=[],this[_0x381487(0x248)][_0x381487(0x267)][_0x381487(0x242)](_0x516d32)[_0x381487(0x2b3)]();}[_0x577cff(0x224)](){const _0x514a5a=_0x577cff;this[_0x514a5a(0x276)]||(this[_0x514a5a(0x276)]=this[_0x514a5a(0x248)][_0x514a5a(0x267)][_0x514a5a(0x242)](_0x58f2ae)[_0x514a5a(0x25a)](_0x52fbd2(this[_0x514a5a(0x248)][_0x514a5a(0x27c)],_0x514a5a(0x28f))));}[_0x577cff(0x295)](){const _0x32b7f3=_0x577cff;this[_0x32b7f3(0x276)]&&(this[_0x32b7f3(0x248)][_0x32b7f3(0x267)][_0x32b7f3(0x242)](_0x58f2ae)[_0x32b7f3(0x225)](this[_0x32b7f3(0x276)]),this[_0x32b7f3(0x276)]=null);}[_0x577cff(0x29c)](_0x3bba84){const _0x5f1d50=_0x577cff,_0x78a6f6=_0x3bba84[_0x5f1d50(0x28b)](_0x11606c=>_0x11606c[_0x5f1d50(0x2bb)]());return this[_0x5f1d50(0x29d)][_0x5f1d50(0x252)](_0x78a6f6);}[_0x577cff(0x226)](_0x5a2323,_0x11d9f8){const _0x423744=_0x577cff;return this[_0x423744(0x29d)][_0x423744(0x26a)](_0x5a2323)[_0x423744(0x28b)]((_0x135bec,_0x13cd4f)=>{const _0x1dc2a3=_0x423744,_0x2572fc=_0x1dc2a3(0x287)==_0x11d9f8[_0x13cd4f][_0x1dc2a3(0x290)];if(_0x1dc2a3(0x2dd)==_0x135bec[_0x1dc2a3(0x2d8)]){const _0x3f611a=_0x135bec[_0x1dc2a3(0x216)][_0x1dc2a3(0x229)];!this[_0x1dc2a3(0x20a)][_0x1dc2a3(0x2c2)](_0x3f611a)&&(this[_0x1dc2a3(0x20a)][_0x1dc2a3(0x2a9)](_0x1dc2a3(0x264),_0x3f611a)[_0x1dc2a3(0x288)]=!0x1);}const _0x1c6fd7=_0x51892a[_0x1dc2a3(0x210)](_0x135bec,this[_0x1dc2a3(0x20a)]);return _0x1c6fd7[_0x1dc2a3(0x275)]=_0x135bec[_0x1dc2a3(0x275)],_0x1c6fd7[_0x1dc2a3(0x281)]=_0x2572fc,_0x1c6fd7[_0x1dc2a3(0x24c)]=_0x2572fc?null:_0x11d9f8[_0x13cd4f][_0x1dc2a3(0x284)],_0x1c6fd7[_0x1dc2a3(0x278)]=_0x1dc2a3(0x2df)===_0x11d9f8[_0x13cd4f][_0x1dc2a3(0x290)],_0x1c6fd7[_0x1dc2a3(0x2ab)]=_0x11d9f8[_0x13cd4f][_0x1dc2a3(0x2ab)],_0x1c6fd7;});}[_0x577cff(0x298)](){const _0x3a21e1=_0x577cff;this[_0x3a21e1(0x2c3)]=!0x0,this[_0x3a21e1(0x246)]()?this[_0x3a21e1(0x299)]():this[_0x3a21e1(0x2c3)]=!0x1;}[_0x577cff(0x246)](){const _0x44c8bc=_0x577cff,_0x7a3c59=this[_0x44c8bc(0x248)][_0x44c8bc(0x267)][_0x44c8bc(0x242)](_0x2c9f62)[_0x44c8bc(0x209)][_0x44c8bc(0x242)](this[_0x44c8bc(0x20f)]);return!this[_0x44c8bc(0x248)][_0x44c8bc(0x1ff)]&&!!_0x7a3c59&&_0x7a3c59[_0x44c8bc(0x292)]>0x1&&this[_0x44c8bc(0x2c3)];}[_0x577cff(0x2e4)](){const _0x2d2021=_0x577cff;return this[_0x2d2021(0x1ef)][_0x2d2021(0x292)]>0x0||this[_0x2d2021(0x246)]();}}l[_0x577cff(0x22f)]=_0x2d57fe;export default l;class J extends Error{}function Q(_0x147635,_0x1de3ff){const _0x51ef5e=_0x577cff;for(const _0x455487 of _0x147635)_0x455487[_0x51ef5e(0x245)]=_0x1de3ff++;}function _0x10c9(){const _0xc680e6=['1022682KNgBJu','editing','_setPendingAction','remove','_decompressOperations','off','marker','root','collaboration-missing-channelid','Permissions','roots','_applyOperationsSet','has','CollaborativeEditingService','addRoot','cloud-services-internal-error:\x20Not\x20connected.','_isPendingUpdate','define','change:range','disconnected','RealTimeCollaborationClient','addOperation','filter','245olihQA','_loadRoot','disconnect','register','disableReadOnlyMode','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','cloudDocumentVersion','4816752IInvCB','enqueueChange','get','keys','getIdOfTheLastOperation','baseVersion','_shouldSendSelectionUpdate','_handleReconnectionResponse','editor','operationsReceived','1560396eGTlOM','_offset','_authorId','insert','lastDocumentSession','getOperationAuthor','_operationIdentifier','realtimecollaborationclient-handleserverresponse','compress','_handleInitialConnectionData','_baseBufferDelay','getOperations','_hasSynchronizationProblem','affectsData','_lastServerVersion','getMany','add','permissions','addUser','realtimecollaborationclient-sendbufferedoperations','stop','listenTo','_ignoredOperations','size','affectedSelectable','includes','$root','_isConnected','markers','plugins','currentDocumentSession','targetPosition','decompress','from','history','_getAffectedRoot','directChange','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enableReadOnlyMode','reconnection:\x20flushed\x20session','_initThrowingOnDataSet','_bufferRootLoad','reconnect','wasUndone','_pendingAction','createPositionFromPath','_isDisconnection','change:hasDomSelection','setPermissions','createPositionAt','locale','serverHistory','lastOperationAcceptedAt','_currentBufferDelay','config','_isInit','_disconnectionOperations','connection','userId','attributes','selection','init','_isAttached','404','_handleSendingSelectionMarkers','map','_sendBufferedOperations','wereChangesApplied','rootName','PENDING_ACTION_SENDING_DATA','type','addToReconnectionStack','length','_service','_sendBufferedOperationsDelayId','_clearPendingAction','suppressErrorInCollaboration','CommentsOnly','_refreshUserSelectionMarkers','_sendBufferedOperationsDelayed','setIdForTheLastOperation','showWarning','_compressOperations','_compressor','data','connected','fire','_handleServerResponse','view','_getOperationsFromInitData','startsWith','slice','reset','entries','_disconnectService','createRoot','set','createdAt','path','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','document:write','return','batch','end','bind','destroy','offset','apply','realtimecollaborationclient-initservice-internal-error','_waitUntilSynced','Notification','model','loadRoot','toJSON','real-time-collaboration','rtc-destroyed','3186865XMwmVu','differ','_connectAfterSessionHasBeenFlushed','sessionAdd:','getRoot','_hasSelectionChanged','getDocumentDetails','realtimecollaborationclient-initservice-incorrect-server-operation','code','metadata','addRootAttribute','string','sendOperations','196305NwFUWh','stopListening','requires','409','isDocumentOperation','ready','realtimecollaborationclient-init-non-existent-root','_connectService','createUserMarkerOperations','pluginName','_isLoaded','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','sessionId','__className','Synchronization\x20issue','rtc-offline','_isEditingAllowed','_knownRootNames','InsertOperation','293864xGXTyh','cs:removeUser','_fetchMissingUsers','round','isEnabled','collaboration.channelId','_shouldSendUpdate','_addKnownRoot','lastOperationId','parse','collaboration','push','start','clone','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connect','unregister','removeFromReconnectionStack','_bufferedOperations','_updateServerHistory','cloud-services-internal-error:\x20Request\x20timeout.','document','high','_saveOperationInBuffer','_setUpDataInit','multi-root-editor-root-attributes-no-root','_lastSyncedOperationId','getUser','_knownOperations','_handleReconnectionError','error','applyOperation','change:_isPendingUpdate','finally','isReadOnly','then','forEach','message','sessionCreatedAt','17545041MFoRYC','realtimecollaborationclient-init-document-already-initialized','getConnectedSessions','_initSessionsHandling','move','channelSessions','_document','state','realtimecollaborationclient-init-connection-failed','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_operationToId','_channelId','fromJSON','lastSyncVersion','_handleExternalOperations','catch','_crash','rootsAttributes','position','version','initData','newRange','cloudServices.bundleVersion','4JwzViW','change:_isEditingAllowed','_handleReceivedOperations','createRange','mySessionId','realtimecollaborationclient-init-session-connection-error','isUndoneOperation'];_0x10c9=function(){return _0xc680e6;};return _0x10c9();}class X{constructor(_0x12bbc1){const _0x98ad41=_0x577cff;this[_0x98ad41(0x260)]=_0x12bbc1,this[_0x98ad41(0x20e)]=new WeakMap();}[_0x577cff(0x244)](_0x1a5415){const _0x2ac19f=_0x577cff;let _0xa1614f=_0x1a5415[_0x2ac19f(0x292)];for(;_0xa1614f--;){const _0x4f4d45=_0x1a5415[_0xa1614f];if(!this[_0x2ac19f(0x260)][_0x2ac19f(0x22e)](_0x4f4d45)){if(!this[_0x2ac19f(0x20e)][_0x2ac19f(0x22e)](_0x4f4d45)){const _0x484b66=_0x539982()[_0x2ac19f(0x2a5)](0x1,0x12);this[_0x2ac19f(0x20e)][_0x2ac19f(0x2aa)](_0x4f4d45,_0x484b66);}return this[_0x2ac19f(0x20e)][_0x2ac19f(0x242)](_0x4f4d45);}}}[_0x577cff(0x29a)](_0x1b45c0,_0x3bc39a){const _0x10c5b9=_0x577cff;if(!_0x3bc39a)return;let _0x585454=_0x1b45c0[_0x10c5b9(0x292)];for(;_0x585454--;){const _0x4baab6=_0x1b45c0[_0x585454];this[_0x10c5b9(0x260)][_0x10c5b9(0x22e)](_0x4baab6)||this[_0x10c5b9(0x20e)][_0x10c5b9(0x2aa)](_0x4baab6,_0x3bc39a);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x1b8a2a=_0x5cad;function _0x5cad(_0xf0ead7,_0x1572ed){const _0x4eaf8b=_0x4eaf();return _0x5cad=function(_0x5cad02,_0x58c539){_0x5cad02=_0x5cad02-0xd0;let _0x4416d0=_0x4eaf8b[_0x5cad02];return _0x4416d0;},_0x5cad(_0xf0ead7,_0x1572ed);}(function(_0x4f0d31,_0x547234){const _0x42b812=_0x5cad,_0x6e190c=_0x4f0d31();while(!![]){try{const _0x2c5644=-parseInt(_0x42b812(0xe1))/0x1*(-parseInt(_0x42b812(0xd8))/0x2)+parseInt(_0x42b812(0xf1))/0x3*(-parseInt(_0x42b812(0x103))/0x4)+-parseInt(_0x42b812(0x102))/0x5+parseInt(_0x42b812(0xd1))/0x6+-parseInt(_0x42b812(0xe8))/0x7+parseInt(_0x42b812(0xfd))/0x8*(-parseInt(_0x42b812(0xe6))/0x9)+parseInt(_0x42b812(0xd5))/0xa;if(_0x2c5644===_0x547234)break;else _0x6e190c['push'](_0x6e190c['shift']());}catch(_0x1850d5){_0x6e190c['push'](_0x6e190c['shift']());}}}(_0x4eaf,0xbd4d3));function _0x4eaf(){const _0x4f1fb6=['_handleSessionRemove','getUserSessions','fire','requires','3296QPLVcg','change:state','isMe','sessions-unregister-not-exist','connection','6516075kAvPbj','4RreMss','listenTo','forEach','remove','role','orderNumber','_createUser','get','plugins','clear','8054712VYwhkO','allConnectedUsers','mySessionId','_registeredSessions','27204910VTGcMR','getUserRole','sessionId','15884ktVkAZ','sessionAdd:','_handleSessionAdd','channelSessions','defineMe','state','unregister','stopListening','connected','71AvDOAj','has','set','register','getUserBySessionId','20223TBRkbi','delete','5079284tlivdp','add','context','Sessions','values','size','_users','pluginName','channelConnectedUsers','2690565TTHmaW','addUser','sessions-register-already-registered','user','init','getUser','assign','_uniqueUsersCount'];_0x4eaf=function(){return _0x4f1fb6;};return _0x4eaf();}import{ContextPlugin as _0x1be24d}from'ckeditor5/src/core.js';import{Collection as _0x35d0dd,CKEditorError as _0x2e7f33}from'ckeditor5/src/utils.js';import _0x24b5ee from'./websocketgateway.js';import{Users as _0x499b62}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x1be24d{static get[_0x1b8a2a(0xef)](){const _0x1d147c=_0x1b8a2a;return _0x1d147c(0xeb);}static get[_0x1b8a2a(0xfc)](){return[_0x24b5ee,_0x499b62];}constructor(_0x2e2cec){const _0x4cd4bb=_0x1b8a2a;super(_0x2e2cec),this[_0x4cd4bb(0xdb)]=new Map(),this[_0x4cd4bb(0xf0)]=new Map(),this[_0x4cd4bb(0xd2)]=new _0x35d0dd(),this[_0x4cd4bb(0xd4)]=new Map(),this[_0x4cd4bb(0xf8)]=0x0,this[_0x4cd4bb(0xee)]=this[_0x4cd4bb(0xea)][_0x4cd4bb(0x10b)][_0x4cd4bb(0x10a)](_0x499b62);}[_0x1b8a2a(0xf5)](){const _0x5c472e=_0x1b8a2a,_0x3343b2=this[_0x5c472e(0xea)][_0x5c472e(0x10b)][_0x5c472e(0x10a)](_0x24b5ee);this[_0x5c472e(0x104)](_0x3343b2,_0x5c472e(0xfe),(_0xb7debf,_0xd45812,_0x105f10)=>{const _0x1455f6=_0x5c472e;if(_0x1455f6(0xe0)!==_0x105f10)this[_0x1455f6(0xdb)][_0x1455f6(0x105)](_0x2b1ff8=>_0x2b1ff8[_0x1455f6(0xd0)]()),this[_0x1455f6(0xf0)][_0x1455f6(0x105)](_0x1b0f1c=>_0x1b0f1c[_0x1455f6(0xd0)]()),this[_0x1455f6(0xd2)][_0x1455f6(0xd0)]();else{for(const [_0x5be172,_0x55ee2e]of this[_0x1455f6(0xd4)])for(const _0x62ba99 of _0x55ee2e)this[_0x1455f6(0xda)](_0x5be172,_0x62ba99);}}),this[_0x5c472e(0x109)](_0x3343b2[_0x5c472e(0x101)]['me'],!0x0);}[_0x1b8a2a(0xe4)](_0x4ff9d5,_0x5a2bf4){const _0x1fd0d0=_0x1b8a2a;if(this[_0x1fd0d0(0xd4)][_0x1fd0d0(0xe2)](_0x4ff9d5))throw new _0x2e7f33(_0x1fd0d0(0xf3),null,{'channelId':_0x4ff9d5});this[_0x1fd0d0(0xd4)][_0x1fd0d0(0xe3)](_0x4ff9d5,_0x5a2bf4),this[_0x1fd0d0(0xdb)][_0x1fd0d0(0xe3)](_0x4ff9d5,new _0x35d0dd()),this[_0x1fd0d0(0xf0)][_0x1fd0d0(0xe3)](_0x4ff9d5,new _0x35d0dd()),this[_0x1fd0d0(0x104)](_0x5a2bf4,_0x1fd0d0(0xe9),(_0x10fe72,_0x4a5227)=>this[_0x1fd0d0(0xda)](_0x4ff9d5,_0x4a5227)),this[_0x1fd0d0(0x104)](_0x5a2bf4,_0x1fd0d0(0x106),(_0xbdb504,_0x390842)=>this[_0x1fd0d0(0xf9)](_0x4ff9d5,_0x390842));for(const _0x12e44f of _0x5a2bf4)this[_0x1fd0d0(0xda)](_0x4ff9d5,_0x12e44f);}[_0x1b8a2a(0xde)](_0x22dd35){const _0x5dc7d0=_0x1b8a2a;if(!this[_0x5dc7d0(0xd4)][_0x5dc7d0(0xe2)](_0x22dd35))throw new _0x2e7f33(_0x5dc7d0(0x100),null,{'channelId':_0x22dd35});const _0x564aa7=this[_0x5dc7d0(0xd4)][_0x5dc7d0(0x10a)](_0x22dd35);this[_0x5dc7d0(0xdf)](_0x564aa7);for(const _0x4d0575 of _0x564aa7)_0x5dc7d0(0xe0)===this[_0x5dc7d0(0xea)][_0x5dc7d0(0x10b)][_0x5dc7d0(0x10a)](_0x24b5ee)[_0x5dc7d0(0xdd)]&&this[_0x5dc7d0(0xf9)](_0x22dd35,_0x4d0575);this[_0x5dc7d0(0xd4)][_0x5dc7d0(0xe7)](_0x22dd35),this[_0x5dc7d0(0xdb)][_0x5dc7d0(0xe7)](_0x22dd35),this[_0x5dc7d0(0xf0)][_0x5dc7d0(0xe7)](_0x22dd35);}get[_0x1b8a2a(0xd3)](){const _0x1d29ab=_0x1b8a2a;return this[_0x1d29ab(0xea)][_0x1d29ab(0x10b)][_0x1d29ab(0x10a)](_0x24b5ee)[_0x1d29ab(0x101)][_0x1d29ab(0xd7)];}[_0x1b8a2a(0xe5)](_0x4cf241){const _0x406182=_0x1b8a2a;for(const _0x23ea22 of this[_0x406182(0xdb)][_0x406182(0xec)]())for(const _0x32f01c of _0x23ea22)if(_0x32f01c['id']===_0x4cf241)return _0x32f01c[_0x406182(0xf4)];}[_0x1b8a2a(0xfa)](_0xf2a047,_0x10e736){const _0xa92964=_0x1b8a2a,_0x1987cf=_0x10e736?[this[_0xa92964(0xdb)][_0xa92964(0x10a)](_0x10e736)]:this[_0xa92964(0xdb)][_0xa92964(0xec)](),_0x16239c=new Set();for(const _0x2a8245 of _0x1987cf)for(const _0x5304f7 of _0x2a8245)_0x5304f7[_0xa92964(0xf4)]['id']===_0xf2a047['id']&&_0x16239c[_0xa92964(0xe9)](_0x5304f7['id']);return _0x16239c;}[_0x1b8a2a(0xd6)](_0x152b22){const _0x5d96bc=_0x1b8a2a;for(const _0x8d2fcf of this[_0x5d96bc(0xdb)][_0x5d96bc(0xec)]())for(const _0x5c014e of _0x8d2fcf)if(_0x5c014e[_0x5d96bc(0xf4)]===_0x152b22)return _0x5c014e[_0x5d96bc(0x107)];}[_0x1b8a2a(0xda)](_0x1b065b,_0x1de221){const _0xc98506=_0x1b8a2a;if(_0xc98506(0xe0)!==this[_0xc98506(0xea)][_0xc98506(0x10b)][_0xc98506(0x10a)](_0x24b5ee)[_0xc98506(0xdd)])return;const _0x3b875d=_0x1de221[_0xc98506(0xf4)],_0x2b8d96=this[_0xc98506(0xee)][_0xc98506(0xf6)](_0x3b875d['id'])||this[_0xc98506(0x109)](_0x3b875d),_0xf24b31=Object[_0xc98506(0xf7)]({},_0x1de221,{'user':_0x2b8d96});this[_0xc98506(0xdb)][_0xc98506(0x10a)](_0x1b065b)[_0xc98506(0xe9)](_0xf24b31);const _0x4e489c=this[_0xc98506(0xf0)][_0xc98506(0x10a)](_0x1b065b);_0x4e489c[_0xc98506(0xe2)](_0x2b8d96['id'])||_0x4e489c[_0xc98506(0xe9)](_0x2b8d96),this[_0xc98506(0xd2)][_0xc98506(0xe2)](_0x2b8d96['id'])||this[_0xc98506(0xd2)][_0xc98506(0xe9)](_0x2b8d96,_0x2b8d96[_0xc98506(0xff)]?0x0:void 0x0),this[_0xc98506(0xfb)](_0xc98506(0xd9)+_0x1b065b,{'channelId':_0x1b065b,'session':_0xf24b31});}[_0x1b8a2a(0xf9)](_0x48f1be,_0x2b2ba5){const _0x15f09a=_0x1b8a2a;if(_0x15f09a(0xe0)!==this[_0x15f09a(0xea)][_0x15f09a(0x10b)][_0x15f09a(0x10a)](_0x24b5ee)[_0x15f09a(0xdd)])return;const _0x3087ba=this[_0x15f09a(0xf0)][_0x15f09a(0x10a)](_0x48f1be),_0x22368e=_0x2b2ba5[_0x15f09a(0xf4)];_0x22368e['id']&&(this[_0x15f09a(0xdb)][_0x15f09a(0x10a)](_0x48f1be)[_0x15f09a(0x106)](_0x2b2ba5['id']),_0x3087ba[_0x15f09a(0xe2)](_0x22368e['id'])&&!this[_0x15f09a(0xfa)](_0x22368e,_0x48f1be)[_0x15f09a(0xed)]&&_0x3087ba[_0x15f09a(0x106)](_0x22368e['id']),this[_0x15f09a(0xd2)][_0x15f09a(0x10a)](_0x22368e['id'])&&!this[_0x15f09a(0xfa)](_0x22368e)[_0x15f09a(0xed)]&&this[_0x15f09a(0xd2)][_0x15f09a(0x106)](_0x22368e['id']));}[_0x1b8a2a(0x109)](_0x43776f,_0x57d1a7){const _0x5f345e=_0x1b8a2a,_0x52f962=this[_0x5f345e(0xee)][_0x5f345e(0xf2)](_0x43776f);return _0x57d1a7&&this[_0x5f345e(0xee)][_0x5f345e(0xdc)](_0x43776f['id']),_0x52f962[_0x5f345e(0x108)]=this[_0x5f345e(0xf8)]++,_0x52f962;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x529c40=_0x2876;(function(_0x25dbd3,_0x56b65c){const _0x594d93=_0x2876,_0x5223b4=_0x25dbd3();while(!![]){try{const _0x41ee37=-parseInt(_0x594d93(0x142))/0x1*(-parseInt(_0x594d93(0x154))/0x2)+-parseInt(_0x594d93(0x124))/0x3+-parseInt(_0x594d93(0x106))/0x4*(parseInt(_0x594d93(0x158))/0x5)+parseInt(_0x594d93(0x15b))/0x6+-parseInt(_0x594d93(0x169))/0x7+-parseInt(_0x594d93(0x12e))/0x8+parseInt(_0x594d93(0x12c))/0x9;if(_0x41ee37===_0x56b65c)break;else _0x5223b4['push'](_0x5223b4['shift']());}catch(_0x18eee9){_0x5223b4['push'](_0x5223b4['shift']());}}}(_0x1c85,0xb2535));import{Plugin as _0x570add}from'ckeditor5/src/core.js';import{global as _0x44acf2,DomEmitterMixin as _0x1e2ace}from'ckeditor5/src/utils.js';function _0x1c85(){const _0x472ac7=['mapper','createUserMarkerOperations','pluginName','916hpEcKG','ck-user__marker_hovered','reconvertMarker','highest','document','getAttribute','for','marker','isCollapsed','user:','toRange','listenTo','commands','start','view','mouseleave','contenteditable','toDomElement','update:user:range','add','span','newRange','size','stopListening','root','afterInit','markers','getContainedElement','markerNameToElements','classList','4045452zpdcma','user:position','isInline','$text','removeMarker','markerName','isSimilar','deletionPosition','26588196NihxRi','orderNumber','3262448WNmUmY','editing','UserMarkers','requires','destroy','addEventListener','getStart','applyOperation','markerToElement','Escape','set','getRange','nodeAfter','has','getPositions','enqueueChange','get','change:range','hasDomSelection','parent','2GehICO','setCustomProperty','delete','init','user:range','mouseenter','$graveyard','isObject','undo','getSelectionClass','editor','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','change','createRange','plugins','hasContent','tableCell','removeClass','732280tbvmVt','createUIElement','</span>','color','10765YGrMjP','mySessionId','split','2834154tkOhfS','_domEmitter','ck-user__marker\x20','render','userPositionMarker','user:position:','model','updateMarker','startsWith','_createdBatches','ck-user__selection','batch','getUserBySessionId','markerToHighlight','8253945pVfNVk','addMarker','end','innerHTML','selection','getMarkerClass','fromRange','schema','clear','rootName','name','element','getNearestSelectionRange','remove','getCustomProperty','data-session-id','type','isLimit','editingDowncast','detach','conversion','user:range:','markerRange','getFirstRange','keydown','checkChild','oldRange'];_0x1c85=function(){return _0x472ac7;};return _0x1c85();}import _0x2d0a69 from'./sessions.js';function _0x2876(_0x254897,_0x7723e7){const _0x1c85ec=_0x1c85();return _0x2876=function(_0x28761c,_0x1dab1c){_0x28761c=_0x28761c-0xfd;let _0x588189=_0x1c85ec[_0x28761c];return _0x588189;},_0x2876(_0x254897,_0x7723e7);}import{LiveRange as _0x4eb9dc}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x570add{constructor(){const _0x392020=_0x2876;super(...arguments),this[_0x392020(0x15c)]=new(_0x1e2ace())();}static get[_0x529c40(0x131)](){return[_0x2d0a69];}static get[_0x529c40(0x105)](){const _0x42588b=_0x529c40;return _0x42588b(0x130);}[_0x529c40(0x145)](){const _0x19b6b1=_0x529c40,_0x2c3142=this[_0x19b6b1(0x14c)],_0x53ffb9=_0x2c3142[_0x19b6b1(0x150)][_0x19b6b1(0x13e)](_0x2d0a69);_0x2c3142[_0x19b6b1(0x17d)][_0x19b6b1(0x10c)](_0x19b6b1(0x17b))[_0x19b6b1(0x136)]({'model':_0x19b6b1(0x125),'view':(_0x238a23,{writer:_0x2df9c6})=>function(_0x413f84,_0x2b5aa7,_0x23531e,_0xaebc0c){const _0x472c38=_0x19b6b1,_0x3d6628=_0x413f84[_0x472c38(0x129)][_0x472c38(0x15a)](':')[0x2],_0x40a88f=_0x23531e[_0x472c38(0x167)](_0x3d6628);if(!_0x40a88f||_0x3d6628===_0x23531e[_0x472c38(0x159)])return;if(!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)][_0x472c38(0x101)](_0x413f84[_0x472c38(0xfe)][_0x472c38(0x113)],_0x472c38(0x127)))return;const _0x5c62f5={'class':_0x472c38(0x15d)+_0x40a88f[_0x472c38(0x157)][_0x472c38(0x16e)](),'data-name':_0x40a88f[_0x472c38(0x173)],'data-session-id':_0x3d6628},_0x4a78a7=_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x120)][_0x472c38(0x13e)](_0x413f84[_0x472c38(0x129)]),_0x299d02=_0x4a78a7[_0x472c38(0x134)](),_0x4b2858=_0x299d02[_0x472c38(0x13a)],_0x138cca=_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)];if(_0x4b2858&&_0x138cca[_0x472c38(0x149)](_0x4b2858)&&_0x138cca[_0x472c38(0x126)](_0x4b2858)&&!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x120)][_0x472c38(0x13e)](_0x472c38(0xfd)+_0x3d6628)[_0x472c38(0x139)]()[_0x472c38(0x10e)])return;const _0xaec685=_0x299d02[_0x472c38(0x141)];return _0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)][_0x472c38(0x17a)](_0xaec685)&&!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x151)](_0xaec685)&&(_0x5c62f5[_0x472c38(0x116)]=!0x1),function(_0x4e9e6c,_0x43fc50,_0x40fa31){const _0x45d2bb=_0x472c38,_0x25f68f=_0x4e9e6c[_0x45d2bb(0x155)](_0x45d2bb(0x11a),_0x43fc50);return _0x4e9e6c[_0x45d2bb(0x143)](_0x45d2bb(0x15f),!0x0,_0x25f68f),_0x25f68f[_0x45d2bb(0x15e)]=function(_0x5cb057){const _0xd951ea=_0x45d2bb,_0x396c16=this[_0xd951ea(0x117)](_0x5cb057);return _0x396c16[_0xd951ea(0x16c)]=_0xd951ea(0x14d)+_0x40fa31[_0xd951ea(0x173)]+_0xd951ea(0x156),_0x396c16[_0xd951ea(0x133)](_0xd951ea(0x147),()=>{const _0xae1ad4=_0xd951ea;_0x396c16[_0xae1ad4(0x123)][_0xae1ad4(0x119)](_0xae1ad4(0x107));}),_0x396c16[_0xd951ea(0x133)](_0xd951ea(0x115),()=>{const _0x51f0ff=_0xd951ea;_0x396c16[_0x51f0ff(0x123)][_0x51f0ff(0x176)](_0x51f0ff(0x107));}),_0x396c16;},_0x25f68f[_0x45d2bb(0x12a)]=function(_0xd822d7){const _0x239f96=_0x45d2bb;return!(!this[_0x239f96(0x177)](_0x239f96(0x15f))||!_0xd822d7[_0x239f96(0x177)](_0x239f96(0x15f))||this[_0x239f96(0x10b)](_0x239f96(0x178))!=_0xd822d7[_0x239f96(0x10b)](_0x239f96(0x178)));},_0x25f68f;}(_0x2b5aa7,_0x5c62f5,_0x40a88f);}(_0x238a23,_0x2df9c6,_0x53ffb9,_0x2c3142)}),_0x2c3142[_0x19b6b1(0x17d)][_0x19b6b1(0x10c)](_0x19b6b1(0x17b))[_0x19b6b1(0x168)]({'model':_0x19b6b1(0x146),'view':_0x505ceb=>function(_0x4765dc,_0xeb3069){const _0x4c424a=_0x19b6b1,_0x126af9=_0x4765dc[_0x4c424a(0x129)][_0x4c424a(0x15a)](':')[0x2];if(_0x126af9===_0xeb3069[_0x4c424a(0x159)])return null;const _0x231058=_0xeb3069[_0x4c424a(0x167)](_0x126af9);if(!_0x231058)return{'id':_0x126af9,'classes':[]};return{'id':_0x126af9,'classes':[_0x4c424a(0x165),_0x231058[_0x4c424a(0x157)][_0x4c424a(0x14b)]()],'attributes':{'data-session-id':_0x126af9},'priority':0x7d0+_0x231058[_0x4c424a(0x12d)]};}(_0x505ceb,_0x53ffb9)}),function(_0x18ff99){const _0x1fd161=_0x19b6b1,_0x677990=_0x18ff99[_0x1fd161(0x161)],_0x19edb7=new Map(),_0x5e9d6d=_0x18ff99[_0x1fd161(0x150)][_0x1fd161(0x13e)](_0x2d0a69);_0x677990[_0x1fd161(0x120)]['on'](_0x1fd161(0x118),(_0x125bf6,_0x5ae094,_0xbb0994,_0x4d0832)=>{const _0x247c26=_0x1fd161;if(!_0x4d0832&&_0x19edb7[_0x247c26(0x13e)](_0x5ae094[_0x247c26(0x173)]))return _0x19edb7[_0x247c26(0x13e)](_0x5ae094[_0x247c26(0x173)])[_0x247c26(0x17c)](),void _0x19edb7[_0x247c26(0x144)](_0x5ae094[_0x247c26(0x173)]);const _0x1a1d82=_0x5ae094[_0x247c26(0x173)][_0x247c26(0x15a)](':')[0x2];if(_0x1a1d82===_0x5e9d6d[_0x247c26(0x159)])return;const _0x155843=_0x247c26(0x160)+_0x1a1d82;_0x677990[_0x247c26(0x120)][_0x247c26(0x13b)](_0x155843)&&_0x18ff99[_0x247c26(0x12f)][_0x247c26(0x108)](_0x155843),_0x5ae094['on'](_0x247c26(0x13f),(_0x5e39bf,_0x2cc54f,_0x433246)=>{const _0x4463ac=_0x247c26;if(_0x4463ac(0x148)!=_0x2cc54f[_0x4463ac(0x11e)][_0x4463ac(0x172)]&&_0x4463ac(0x148)==_0x5ae094[_0x4463ac(0x139)]()[_0x4463ac(0x11e)][_0x4463ac(0x172)]&&!_0x19edb7[_0x4463ac(0x13b)](_0x5ae094[_0x4463ac(0x173)])){const _0x46e56e=_0x677990[_0x4463ac(0x170)][_0x4463ac(0x175)](_0x433246[_0x4463ac(0x12b)]);if(_0x46e56e){const _0x3ba3ba=_0x4eb9dc[_0x4463ac(0x16f)](_0x46e56e);_0x19edb7[_0x4463ac(0x138)](_0x5ae094[_0x4463ac(0x173)],_0x3ba3ba),_0x3ba3ba['on'](_0x4463ac(0x13f),(_0x293619,_0x582239,_0x5477a7)=>{const _0x43f8fe=_0x4463ac;if(_0x43f8fe(0x148)==_0x3ba3ba[_0x43f8fe(0x11e)][_0x43f8fe(0x172)]){const _0x35af2b=_0x677990[_0x43f8fe(0x170)][_0x43f8fe(0x175)](_0x5477a7[_0x43f8fe(0x12b)]);_0x35af2b?(_0x3ba3ba[_0x43f8fe(0x113)]=_0x35af2b[_0x43f8fe(0x113)],_0x3ba3ba[_0x43f8fe(0x16b)]=_0x35af2b[_0x43f8fe(0x16b)]):(_0x19edb7[_0x43f8fe(0x144)](_0x5ae094[_0x43f8fe(0x173)]),_0x3ba3ba[_0x43f8fe(0x17c)]());}});}}});}),_0x677990[_0x1fd161(0x10a)]['on'](_0x1fd161(0x14e),()=>{const _0x4972f6=_0x1fd161;_0x19edb7[_0x4972f6(0x11c)]>0x0&&_0x677990[_0x4972f6(0x13d)]({'isUndoable':!0x1},_0x3b81ef=>{const _0x4ea66b=_0x4972f6;for(const [_0x1640eb,_0x480899]of _0x19edb7)_0x4ea66b(0x148)==_0x677990[_0x4ea66b(0x120)][_0x4ea66b(0x13e)](_0x1640eb)[_0x4ea66b(0x139)]()[_0x4ea66b(0x11e)][_0x4ea66b(0x172)]&&(re(_0x1640eb[_0x4ea66b(0x15a)](':')[0x2],_0x480899[_0x4ea66b(0x110)](),_0x677990,_0x3b81ef),_0x480899[_0x4ea66b(0x17c)]());_0x19edb7[_0x4ea66b(0x171)]();});});}(_0x2c3142),this[_0x19b6b1(0x15c)][_0x19b6b1(0x111)](_0x44acf2[_0x19b6b1(0x10a)],_0x19b6b1(0x100),(_0x18c09e,{key:_0x41ee12})=>{const _0x4b4864=_0x19b6b1;_0x4b4864(0x137)===_0x41ee12&&function(_0x73e965){const _0x11c1b1=_0x4b4864;_0x73e965[_0x11c1b1(0x12f)][_0x11c1b1(0x114)][_0x11c1b1(0x14e)](_0x270534=>{const _0x362e58=_0x11c1b1;for(const _0x3d39f9 of _0x73e965[_0x362e58(0x161)][_0x362e58(0x120)]){if(!_0x3d39f9[_0x362e58(0x173)][_0x362e58(0x163)](_0x362e58(0x125)))continue;const _0x2288d0=_0x73e965[_0x362e58(0x12f)][_0x362e58(0x103)][_0x362e58(0x122)](_0x3d39f9[_0x362e58(0x173)]);if(_0x2288d0){for(const _0xa5840e of _0x2288d0)_0x270534[_0x362e58(0x153)](_0x362e58(0x107),_0xa5840e);}}});}(_0x2c3142);},{'useCapture':!0x0});}[_0x529c40(0x11f)](){const _0x338ba5=_0x529c40,_0x526b46=this[_0x338ba5(0x14c)],_0x4b0809=_0x526b46[_0x338ba5(0x112)][_0x338ba5(0x13e)](_0x338ba5(0x14a));_0x4b0809&&_0x526b46[_0x338ba5(0x161)]['on'](_0x338ba5(0x135),(_0x2f0fc3,_0x1806da)=>{const _0x639b5=_0x338ba5,_0x5a35a1=_0x1806da[0x0];if(_0x639b5(0x10d)!=_0x5a35a1[_0x639b5(0x179)]||!_0x5a35a1[_0x639b5(0x173)][_0x639b5(0x163)](_0x639b5(0x10f)))return;const _0x432dcc=_0x5a35a1[_0x639b5(0x166)];_0x4b0809[_0x639b5(0x164)][_0x639b5(0x13b)](_0x432dcc)&&(_0x5a35a1[_0x639b5(0x11b)]=_0x5a35a1[_0x639b5(0x102)]?_0x526b46[_0x639b5(0x161)][_0x639b5(0x14f)](_0x5a35a1[_0x639b5(0x102)][_0x639b5(0x113)],_0x5a35a1[_0x639b5(0x102)][_0x639b5(0x16b)]):null);},{'priority':_0x338ba5(0x109)});}[_0x529c40(0x132)](){const _0x2b2e0d=_0x529c40;return this[_0x2b2e0d(0x15c)][_0x2b2e0d(0x11d)](),super[_0x2b2e0d(0x132)]();}[_0x529c40(0x104)](){const _0x585dc4=_0x529c40,_0x1cbffb=this[_0x585dc4(0x14c)],_0x34ed09=_0x1cbffb[_0x585dc4(0x161)][_0x585dc4(0x10a)],_0x292ab4=_0x1cbffb[_0x585dc4(0x150)][_0x585dc4(0x13e)](_0x2d0a69);_0x1cbffb[_0x585dc4(0x161)][_0x585dc4(0x13d)]({'isUndoable':!0x1},_0x58b38e=>{const _0x68bebd=_0x585dc4,_0x384a57=_0x68bebd(0xfd)+_0x292ab4[_0x68bebd(0x159)],_0x29f376=_0x68bebd(0x160)+_0x292ab4[_0x68bebd(0x159)],_0x5df109=_0x1cbffb[_0x68bebd(0x161)][_0x68bebd(0x120)][_0x68bebd(0x13b)](_0x384a57);_0x1cbffb[_0x68bebd(0x12f)][_0x68bebd(0x114)][_0x68bebd(0x140)]?re(_0x292ab4[_0x68bebd(0x159)],_0x34ed09[_0x68bebd(0x16d)][_0x68bebd(0xff)](),_0x1cbffb[_0x68bebd(0x161)],_0x58b38e):_0x5df109&&(_0x58b38e[_0x68bebd(0x128)](_0x384a57),_0x58b38e[_0x68bebd(0x128)](_0x29f376));});}}function re(_0xcd1ae7,_0x51444a,_0x4a60af,_0x8990fb){const _0x48a3b5=_0x529c40,_0x95e293=_0x48a3b5(0xfd)+_0xcd1ae7,_0x26195b=_0x48a3b5(0x160)+_0xcd1ae7,_0x8d8db=_0x51444a[_0x48a3b5(0x121)]();let _0x5cdcc0=_0x51444a[_0x48a3b5(0x113)];_0x8d8db&&_0x8d8db['is'](_0x48a3b5(0x174),_0x48a3b5(0x152))&&(_0x5cdcc0=function(_0x8c76bf,_0x427196){const _0x113eaa=_0x48a3b5;for(const _0x3713ef of _0x8c76bf[_0x113eaa(0x13c)]())if(_0x427196[_0x113eaa(0x170)][_0x113eaa(0x101)](_0x3713ef,_0x113eaa(0x127)))return _0x3713ef;}(_0x51444a,_0x4a60af),_0x51444a=_0x8990fb[_0x48a3b5(0x14f)](_0x5cdcc0));const _0x2b038e=_0x8990fb[_0x48a3b5(0x14f)](_0x5cdcc0);_0x4a60af[_0x48a3b5(0x120)][_0x48a3b5(0x13b)](_0x95e293)?(_0x8990fb[_0x48a3b5(0x162)](_0x95e293,{'range':_0x51444a}),_0x8990fb[_0x48a3b5(0x162)](_0x26195b,{'range':_0x2b038e})):(_0x8990fb[_0x48a3b5(0x16a)](_0x95e293,{'range':_0x51444a,'usingOperation':!0x0}),_0x8990fb[_0x48a3b5(0x16a)](_0x26195b,{'range':_0x2b038e,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x1bb9f5=_0x562c;(function(_0x45b63e,_0x124f72){const _0x4ccc49=_0x562c,_0x5928d2=_0x45b63e();while(!![]){try{const _0x830a1b=parseInt(_0x4ccc49(0x108))/0x1+-parseInt(_0x4ccc49(0x132))/0x2+parseInt(_0x4ccc49(0x128))/0x3*(parseInt(_0x4ccc49(0xdc))/0x4)+parseInt(_0x4ccc49(0xd9))/0x5*(-parseInt(_0x4ccc49(0xf2))/0x6)+parseInt(_0x4ccc49(0x129))/0x7*(parseInt(_0x4ccc49(0x111))/0x8)+-parseInt(_0x4ccc49(0x11e))/0x9+-parseInt(_0x4ccc49(0x139))/0xa*(parseInt(_0x4ccc49(0xfd))/0xb);if(_0x830a1b===_0x124f72)break;else _0x5928d2['push'](_0x5928d2['shift']());}catch(_0x3b60b8){_0x5928d2['push'](_0x5928d2['shift']());}}}(_0x1412,0xb3382));import{Plugin as _0x4c6b0f}from'ckeditor5/src/core.js';function _0x562c(_0x4d13c4,_0x537c6c){const _0x141212=_0x1412();return _0x562c=function(_0x562c78,_0x545743){_0x562c78=_0x562c78-0xbf;let _0x44e5b1=_0x141212[_0x562c78];return _0x44e5b1;},_0x562c(_0x4d13c4,_0x537c6c);}import{global as _0x245e74,DomEmitterMixin as _0x6f310f}from'ckeditor5/src/utils.js';import _0x2f67d9 from'./sessions.js';import{LiveRange as _0xe22571}from'ckeditor5/src/engine.js';function _0x1412(){const _0x2c7add=['getMarkerClass','schema','getAttribute','getPositions','1170676rbSOKQ','requires','update:user:range','color','isInline','change','getRange','model','plugins','8bJTEps','createUserMarkerOperations','removeMarker','nodeAfter','newRange','addEventListener','name','editor','updateMarker','batch','$text','_createdBatches','for','1202895MiBaIG','isObject','data-session-id','createRange','render','editing','markerRange','setCustomProperty','selection','isLimit','3793791LYNAhV','4850503mXYHBq','oldRange','markerToElement','markerNameToElements','user:position','getContainedElement','fromRange','$graveyard','ck-user__marker\x20','1775674ULHdfI','addMarker','startsWith','clear','Escape','markers','markerToHighlight','4992670XEVYZB','user:range','span','detach','end','removeClass','pluginName','innerHTML','highest','_domEmitter','getStart','marker','toRange','mapper','createUIElement','</span>','mySessionId','getFirstRange','orderNumber','deletionPosition','remove','isCollapsed','toDomElement','delete','UserMarkers','get','userPositionMarker','enqueueChange','markerName','add','change:range','afterInit','has','mouseenter','destroy','207830DbAYpn','root','hasDomSelection','4wLPrSw','isSimilar','getSelectionClass','checkChild','editingDowncast','applyOperation','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','reconvertMarker','size','user:position:','split','tableCell','classList','init','mouseleave','contenteditable','conversion','user:','hasContent','getCustomProperty','view','stopListening','54fazVHJ','element','commands','set','getNearestSelectionRange','document','user:range:','getUserBySessionId','ck-user__selection','ck-user__marker_hovered','undo','22hpWUtD','parent','listenTo','keydown','rootName','type','start'];_0x1412=function(){return _0x2c7add;};return _0x1412();}import'../../theme/usermarkers.css';export default class H extends _0x4c6b0f{constructor(){const _0x1db1e5=_0x562c;super(...arguments),this[_0x1db1e5(0xbf)]=new(_0x6f310f())();}static get[_0x1bb9f5(0x109)](){return[_0x2f67d9];}static get[_0x1bb9f5(0x13f)](){const _0x52386f=_0x1bb9f5;return _0x52386f(0xce);}[_0x1bb9f5(0xe9)](){const _0xd2e9bd=_0x1bb9f5,_0x4cd568=this[_0xd2e9bd(0x118)],_0x50dee7=_0x4cd568[_0xd2e9bd(0x110)][_0xd2e9bd(0xcf)](_0x2f67d9);_0x4cd568[_0xd2e9bd(0xec)][_0xd2e9bd(0x11d)](_0xd2e9bd(0xe0))[_0xd2e9bd(0x12b)]({'model':_0xd2e9bd(0x12d),'view':(_0x1fe7b6,{writer:_0x1e64a0})=>function(_0x59e7a7,_0x35b227,_0x17507c,_0x25e028){const _0x1eb33d=_0xd2e9bd,_0x39984e=_0x59e7a7[_0x1eb33d(0xd2)][_0x1eb33d(0xe6)](':')[0x2],_0x4dbb95=_0x17507c[_0x1eb33d(0xf9)](_0x39984e);if(!_0x4dbb95||_0x39984e===_0x17507c[_0x1eb33d(0xc6)])return;if(!_0x25e028[_0x1eb33d(0x10f)][_0x1eb33d(0x105)][_0x1eb33d(0xdf)](_0x59e7a7[_0x1eb33d(0x124)][_0x1eb33d(0x103)],_0x1eb33d(0x11b)))return;const _0x571fc5={'class':_0x1eb33d(0x131)+_0x4dbb95[_0x1eb33d(0x10b)][_0x1eb33d(0x104)](),'data-name':_0x4dbb95[_0x1eb33d(0x117)],'data-session-id':_0x39984e},_0x34c966=_0x25e028[_0x1eb33d(0x10f)][_0x1eb33d(0x137)][_0x1eb33d(0xcf)](_0x59e7a7[_0x1eb33d(0xd2)]),_0x586f42=_0x34c966[_0x1eb33d(0xc0)](),_0x39030c=_0x586f42[_0x1eb33d(0x114)],_0x188cef=_0x25e028[_0x1eb33d(0x10f)][_0x1eb33d(0x105)];if(_0x39030c&&_0x188cef[_0x1eb33d(0x11f)](_0x39030c)&&_0x188cef[_0x1eb33d(0x10c)](_0x39030c)&&!_0x25e028[_0x1eb33d(0x10f)][_0x1eb33d(0x137)][_0x1eb33d(0xcf)](_0x1eb33d(0xf8)+_0x39984e)[_0x1eb33d(0x10e)]()[_0x1eb33d(0xcb)])return;const _0x3e6e87=_0x586f42[_0x1eb33d(0xfe)];return _0x25e028[_0x1eb33d(0x10f)][_0x1eb33d(0x105)][_0x1eb33d(0x127)](_0x3e6e87)&&!_0x25e028[_0x1eb33d(0x10f)][_0x1eb33d(0xee)](_0x3e6e87)&&(_0x571fc5[_0x1eb33d(0xeb)]=!0x1),function(_0x14acbc,_0x76ba18,_0xe17dac){const _0x2ed268=_0x1eb33d,_0x97ccb1=_0x14acbc[_0x2ed268(0xc4)](_0x2ed268(0x13b),_0x76ba18);return _0x14acbc[_0x2ed268(0x125)](_0x2ed268(0xd0),!0x0,_0x97ccb1),_0x97ccb1[_0x2ed268(0x122)]=function(_0x316c6d){const _0x74bc41=_0x2ed268,_0x2b0478=this[_0x74bc41(0xcc)](_0x316c6d);return _0x2b0478[_0x74bc41(0x140)]=_0x74bc41(0xe2)+_0xe17dac[_0x74bc41(0x117)]+_0x74bc41(0xc5),_0x2b0478[_0x74bc41(0x116)](_0x74bc41(0xd7),()=>{const _0x5d7c40=_0x74bc41;_0x2b0478[_0x5d7c40(0xe8)][_0x5d7c40(0xd3)](_0x5d7c40(0xfb));}),_0x2b0478[_0x74bc41(0x116)](_0x74bc41(0xea),()=>{const _0x2840d5=_0x74bc41;_0x2b0478[_0x2840d5(0xe8)][_0x2840d5(0xca)](_0x2840d5(0xfb));}),_0x2b0478;},_0x97ccb1[_0x2ed268(0xdd)]=function(_0x1e8c45){const _0x5dcaab=_0x2ed268;return!(!this[_0x5dcaab(0xef)](_0x5dcaab(0xd0))||!_0x1e8c45[_0x5dcaab(0xef)](_0x5dcaab(0xd0))||this[_0x5dcaab(0x106)](_0x5dcaab(0x120))!=_0x1e8c45[_0x5dcaab(0x106)](_0x5dcaab(0x120)));},_0x97ccb1;}(_0x35b227,_0x571fc5,_0x4dbb95);}(_0x1fe7b6,_0x1e64a0,_0x50dee7,_0x4cd568)}),_0x4cd568[_0xd2e9bd(0xec)][_0xd2e9bd(0x11d)](_0xd2e9bd(0xe0))[_0xd2e9bd(0x138)]({'model':_0xd2e9bd(0x13a),'view':_0x26fc43=>function(_0xf420b5,_0x425689){const _0x3ddfd6=_0xd2e9bd,_0x380bb8=_0xf420b5[_0x3ddfd6(0xd2)][_0x3ddfd6(0xe6)](':')[0x2];if(_0x380bb8===_0x425689[_0x3ddfd6(0xc6)])return null;const _0x3bfe97=_0x425689[_0x3ddfd6(0xf9)](_0x380bb8);if(!_0x3bfe97)return{'id':_0x380bb8,'classes':[]};return{'id':_0x380bb8,'classes':[_0x3ddfd6(0xfa),_0x3bfe97[_0x3ddfd6(0x10b)][_0x3ddfd6(0xde)]()],'attributes':{'data-session-id':_0x380bb8},'priority':0x7d0+_0x3bfe97[_0x3ddfd6(0xc8)]};}(_0x26fc43,_0x50dee7)}),function(_0x53d044){const _0xf5e3b0=_0xd2e9bd,_0x2b785d=_0x53d044[_0xf5e3b0(0x10f)],_0x4b508f=new Map(),_0x365f7d=_0x53d044[_0xf5e3b0(0x110)][_0xf5e3b0(0xcf)](_0x2f67d9);_0x2b785d[_0xf5e3b0(0x137)]['on'](_0xf5e3b0(0x10a),(_0xcdc73,_0x11403e,_0x272743,_0x4d62aa)=>{const _0x3f96a8=_0xf5e3b0;if(!_0x4d62aa&&_0x4b508f[_0x3f96a8(0xcf)](_0x11403e[_0x3f96a8(0x117)]))return _0x4b508f[_0x3f96a8(0xcf)](_0x11403e[_0x3f96a8(0x117)])[_0x3f96a8(0x13c)](),void _0x4b508f[_0x3f96a8(0xcd)](_0x11403e[_0x3f96a8(0x117)]);const _0x2dfd56=_0x11403e[_0x3f96a8(0x117)][_0x3f96a8(0xe6)](':')[0x2];if(_0x2dfd56===_0x365f7d[_0x3f96a8(0xc6)])return;const _0x159b52=_0x3f96a8(0xe5)+_0x2dfd56;_0x2b785d[_0x3f96a8(0x137)][_0x3f96a8(0xd6)](_0x159b52)&&_0x53d044[_0x3f96a8(0x123)][_0x3f96a8(0xe3)](_0x159b52),_0x11403e['on'](_0x3f96a8(0xd4),(_0x4f715b,_0x4d7bee,_0x4581d3)=>{const _0x420541=_0x3f96a8;if(_0x420541(0x130)!=_0x4d7bee[_0x420541(0xda)][_0x420541(0x101)]&&_0x420541(0x130)==_0x11403e[_0x420541(0x10e)]()[_0x420541(0xda)][_0x420541(0x101)]&&!_0x4b508f[_0x420541(0xd6)](_0x11403e[_0x420541(0x117)])){const _0x5333db=_0x2b785d[_0x420541(0x105)][_0x420541(0xf6)](_0x4581d3[_0x420541(0xc9)]);if(_0x5333db){const _0xc7a3b0=_0xe22571[_0x420541(0x12f)](_0x5333db);_0x4b508f[_0x420541(0xf5)](_0x11403e[_0x420541(0x117)],_0xc7a3b0),_0xc7a3b0['on'](_0x420541(0xd4),(_0x45e565,_0x4564bc,_0x52e984)=>{const _0x2c8a98=_0x420541;if(_0x2c8a98(0x130)==_0xc7a3b0[_0x2c8a98(0xda)][_0x2c8a98(0x101)]){const _0xd5c210=_0x2b785d[_0x2c8a98(0x105)][_0x2c8a98(0xf6)](_0x52e984[_0x2c8a98(0xc9)]);_0xd5c210?(_0xc7a3b0[_0x2c8a98(0x103)]=_0xd5c210[_0x2c8a98(0x103)],_0xc7a3b0[_0x2c8a98(0x13d)]=_0xd5c210[_0x2c8a98(0x13d)]):(_0x4b508f[_0x2c8a98(0xcd)](_0x11403e[_0x2c8a98(0x117)]),_0xc7a3b0[_0x2c8a98(0x13c)]());}});}}});}),_0x2b785d[_0xf5e3b0(0xf7)]['on'](_0xf5e3b0(0x10d),()=>{const _0x50cf3c=_0xf5e3b0;_0x4b508f[_0x50cf3c(0xe4)]>0x0&&_0x2b785d[_0x50cf3c(0xd1)]({'isUndoable':!0x1},_0x433596=>{const _0x203b6d=_0x50cf3c;for(const [_0x161881,_0x23d156]of _0x4b508f)_0x203b6d(0x130)==_0x2b785d[_0x203b6d(0x137)][_0x203b6d(0xcf)](_0x161881)[_0x203b6d(0x10e)]()[_0x203b6d(0xda)][_0x203b6d(0x101)]&&(re(_0x161881[_0x203b6d(0xe6)](':')[0x2],_0x23d156[_0x203b6d(0xc2)](),_0x2b785d,_0x433596),_0x23d156[_0x203b6d(0x13c)]());_0x4b508f[_0x203b6d(0x135)]();});});}(_0x4cd568),this[_0xd2e9bd(0xbf)][_0xd2e9bd(0xff)](_0x245e74[_0xd2e9bd(0xf7)],_0xd2e9bd(0x100),(_0x4cbd80,{key:_0x159169})=>{const _0x447854=_0xd2e9bd;_0x447854(0x136)===_0x159169&&function(_0x5a5ce9){const _0x16e1ae=_0x447854;_0x5a5ce9[_0x16e1ae(0x123)][_0x16e1ae(0xf0)][_0x16e1ae(0x10d)](_0x348a8f=>{const _0x2f1cf0=_0x16e1ae;for(const _0x33e9ee of _0x5a5ce9[_0x2f1cf0(0x10f)][_0x2f1cf0(0x137)]){if(!_0x33e9ee[_0x2f1cf0(0x117)][_0x2f1cf0(0x134)](_0x2f1cf0(0x12d)))continue;const _0x4711d8=_0x5a5ce9[_0x2f1cf0(0x123)][_0x2f1cf0(0xc3)][_0x2f1cf0(0x12c)](_0x33e9ee[_0x2f1cf0(0x117)]);if(_0x4711d8){for(const _0x3e234c of _0x4711d8)_0x348a8f[_0x2f1cf0(0x13e)](_0x2f1cf0(0xfb),_0x3e234c);}}});}(_0x4cd568);},{'useCapture':!0x0});}[_0x1bb9f5(0xd5)](){const _0x3bd21a=_0x1bb9f5,_0x47b311=this[_0x3bd21a(0x118)],_0x206f89=_0x47b311[_0x3bd21a(0xf4)][_0x3bd21a(0xcf)](_0x3bd21a(0xfc));_0x206f89&&_0x47b311[_0x3bd21a(0x10f)]['on'](_0x3bd21a(0xe1),(_0x15c441,_0x50afdf)=>{const _0x11f19c=_0x3bd21a,_0x156d5a=_0x50afdf[0x0];if(_0x11f19c(0xc1)!=_0x156d5a[_0x11f19c(0x102)]||!_0x156d5a[_0x11f19c(0x117)][_0x11f19c(0x134)](_0x11f19c(0xed)))return;const _0x115adc=_0x156d5a[_0x11f19c(0x11a)];_0x206f89[_0x11f19c(0x11c)][_0x11f19c(0xd6)](_0x115adc)&&(_0x156d5a[_0x11f19c(0x115)]=_0x156d5a[_0x11f19c(0x12a)]?_0x47b311[_0x11f19c(0x10f)][_0x11f19c(0x121)](_0x156d5a[_0x11f19c(0x12a)][_0x11f19c(0x103)],_0x156d5a[_0x11f19c(0x12a)][_0x11f19c(0x13d)]):null);},{'priority':_0x3bd21a(0x141)});}[_0x1bb9f5(0xd8)](){const _0x402472=_0x1bb9f5;return this[_0x402472(0xbf)][_0x402472(0xf1)](),super[_0x402472(0xd8)]();}[_0x1bb9f5(0x112)](){const _0x562c2d=_0x1bb9f5,_0x22882c=this[_0x562c2d(0x118)],_0x4a0ff2=_0x22882c[_0x562c2d(0x10f)][_0x562c2d(0xf7)],_0x27f4b8=_0x22882c[_0x562c2d(0x110)][_0x562c2d(0xcf)](_0x2f67d9);_0x22882c[_0x562c2d(0x10f)][_0x562c2d(0xd1)]({'isUndoable':!0x1},_0x5d90d3=>{const _0x1bf767=_0x562c2d,_0x536fd0=_0x1bf767(0xf8)+_0x27f4b8[_0x1bf767(0xc6)],_0x11e58a=_0x1bf767(0xe5)+_0x27f4b8[_0x1bf767(0xc6)],_0x3d4a82=_0x22882c[_0x1bf767(0x10f)][_0x1bf767(0x137)][_0x1bf767(0xd6)](_0x536fd0);_0x22882c[_0x1bf767(0x123)][_0x1bf767(0xf0)][_0x1bf767(0xdb)]?re(_0x27f4b8[_0x1bf767(0xc6)],_0x4a0ff2[_0x1bf767(0x126)][_0x1bf767(0xc7)](),_0x22882c[_0x1bf767(0x10f)],_0x5d90d3):_0x3d4a82&&(_0x5d90d3[_0x1bf767(0x113)](_0x536fd0),_0x5d90d3[_0x1bf767(0x113)](_0x11e58a));});}}function re(_0x1812fa,_0x5d9b71,_0x1427fe,_0x39d386){const _0x421154=_0x1bb9f5,_0x9ae610=_0x421154(0xf8)+_0x1812fa,_0x32ae43=_0x421154(0xe5)+_0x1812fa,_0x44d5d4=_0x5d9b71[_0x421154(0x12e)]();let _0x1946bb=_0x5d9b71[_0x421154(0x103)];_0x44d5d4&&_0x44d5d4['is'](_0x421154(0xf3),_0x421154(0xe7))&&(_0x1946bb=function(_0x2ac073,_0x43ac21){const _0x47f0b9=_0x421154;for(const _0x1693a4 of _0x2ac073[_0x47f0b9(0x107)]())if(_0x43ac21[_0x47f0b9(0x105)][_0x47f0b9(0xdf)](_0x1693a4,_0x47f0b9(0x11b)))return _0x1693a4;}(_0x5d9b71,_0x1427fe),_0x5d9b71=_0x39d386[_0x421154(0x121)](_0x1946bb));const _0x24fb75=_0x39d386[_0x421154(0x121)](_0x1946bb);_0x1427fe[_0x421154(0x137)][_0x421154(0xd6)](_0x9ae610)?(_0x39d386[_0x421154(0x119)](_0x9ae610,{'range':_0x5d9b71}),_0x39d386[_0x421154(0x119)](_0x32ae43,{'range':_0x24fb75})):(_0x39d386[_0x421154(0x133)](_0x9ae610,{'range':_0x5d9b71,'usingOperation':!0x0}),_0x39d386[_0x421154(0x133)](_0x32ae43,{'range':_0x24fb75,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2de4c6=_0x45e3;function _0x2637(){const _0x30be9d=['pluginName','offline','from','showWarning','real-time-collaboration','websocketgateway-invalid-plugin-interface','56366cBGgiM','cloudServices.requestTimeout','_domEmitter','config','_shouldPluginsReconnect','cloudservices-init','cloudservices-reconnection-error','state','error','9hvtdUR','WebSocketGateway','code','connect','create','limitExceeded','set','listenTo','stopListening','requires','catch','65AUtJXM','plugins','connected','8634mKdxEB','_reconnect','delete','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','websocketgateway-missing-token','websocketgateway-plugin-already-registered','define','webSocketUrl','9xHSGue','connection','add','CONNECTING','9096787OPUhrn','change:me','has','reconnect','isInReconnectionStack','CloudServices','initialReconnectionInterval','DISCONNECTED','removeFromReconnectionStack','cloudServices.connectionTimeout','_reconnectionStack','disconnect','destroy','get','_isBrowserOffline','5891787BwZrtn','then','init','context','10419189qhAmyi','CONNECTED','10OHBFgQ','constructor','addToReconnectionStack','bind','function','Connected\x20users\x20limit\x20exceeded','813456iMCHZi','websocketgateway-missing-websocket-url','426080wYaRuJ','online','token','all'];_0x2637=function(){return _0x30be9d;};return _0x2637();}(function(_0x2c5baa,_0xef9452){const _0xaa4bf1=_0x45e3,_0x2514c9=_0x2c5baa();while(!![]){try{const _0x573016=parseInt(_0xaa4bf1(0x159))/0x1*(parseInt(_0xaa4bf1(0x13a))/0x2)+-parseInt(_0xaa4bf1(0x143))/0x3*(parseInt(_0xaa4bf1(0x178))/0x4)+-parseInt(_0xaa4bf1(0x14e))/0x5*(-parseInt(_0xaa4bf1(0x151))/0x6)+parseInt(_0xaa4bf1(0x15d))/0x7+parseInt(_0xaa4bf1(0x17a))/0x8+parseInt(_0xaa4bf1(0x16c))/0x9*(parseInt(_0xaa4bf1(0x172))/0xa)+-parseInt(_0xaa4bf1(0x170))/0xb;if(_0x573016===_0xef9452)break;else _0x2514c9['push'](_0x2514c9['shift']());}catch(_0x251a3c){_0x2514c9['push'](_0x2514c9['shift']());}}}(_0x2637,0xb064b));import{ContextPlugin as _0xbe8e48}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4811da,CKEditorError as _0x5d5d16}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xd20528,WEB_SOCKET_GATEWAY_STATES as _0x367656}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x45e3(_0x25db9f,_0x462945){const _0x2637f8=_0x2637();return _0x45e3=function(_0x45e3cb,_0xb451e0){_0x45e3cb=_0x45e3cb-0x138;let _0x2a95c1=_0x2637f8[_0x45e3cb];return _0x2a95c1;},_0x45e3(_0x25db9f,_0x462945);}import{Notification as _0x4959bd}from'ckeditor5/src/ui.js';class c extends _0xbe8e48{static get[_0x2de4c6(0x14c)](){const _0x4345bc=_0x2de4c6;return[_0x4345bc(0x162),_0x4959bd];}static get[_0x2de4c6(0x17e)](){const _0x94144a=_0x2de4c6;return _0x94144a(0x144);}constructor(_0x1f7b39){const _0x4429ce=_0x2de4c6;super(_0x1f7b39),this[_0x4429ce(0x149)](_0x4429ce(0x141),_0x367656[_0x4429ce(0x171)]),this[_0x4429ce(0x149)](_0x4429ce(0x16b),!0x1),this[_0x4429ce(0x167)]=new Set(),this[_0x4429ce(0x13e)]=!0x1,this[_0x4429ce(0x13c)]=Object[_0x4429ce(0x147)](_0x4811da);}[_0x2de4c6(0x16e)](){const _0x4760a6=_0x2de4c6,_0x16a496=this[_0x4760a6(0x16f)],_0x5d66fe=_0x16a496[_0x4760a6(0x14f)][_0x4760a6(0x16a)](_0x4760a6(0x162)),_0x177ce1=_0x16a496[_0x4760a6(0x14f)][_0x4760a6(0x16a)](_0x4959bd);if(!_0x5d66fe[_0x4760a6(0x17c)])throw new _0x5d5d16(_0x4760a6(0x155),this);if(!_0x5d66fe[_0x4760a6(0x158)])throw new _0x5d5d16(_0x4760a6(0x179),this);return this[_0x4760a6(0x13c)][_0x4760a6(0x14a)](window,_0x4760a6(0x17f),()=>this[_0x4760a6(0x16b)]=!0x0),this[_0x4760a6(0x13c)][_0x4760a6(0x14a)](window,_0x4760a6(0x17b),()=>this[_0x4760a6(0x16b)]=!0x1),this[_0x4760a6(0x16f)][_0x4760a6(0x13d)][_0x4760a6(0x157)](_0x4760a6(0x166),0xa),this[_0x4760a6(0x16f)][_0x4760a6(0x13d)][_0x4760a6(0x157)](_0x4760a6(0x13b),0x14),c[_0x4760a6(0x144)][_0x4760a6(0x146)](_0x5d66fe[_0x4760a6(0x17c)],_0x5d66fe[_0x4760a6(0x158)],{'timeout':0x3e8*this[_0x4760a6(0x16f)][_0x4760a6(0x13d)][_0x4760a6(0x16a)](_0x4760a6(0x166)),'requestTimeout':0x3e8*this[_0x4760a6(0x16f)][_0x4760a6(0x13d)][_0x4760a6(0x16a)](_0x4760a6(0x13b))})[_0x4760a6(0x16d)](_0x3a08e7=>{const _0x330b76=_0x4760a6;if(this[_0x330b76(0x15a)]=_0x3a08e7,this[_0x330b76(0x175)](_0x330b76(0x141))['to'](_0x3a08e7,_0x330b76(0x141),this,_0x330b76(0x16b),(_0x101430,_0x120c97)=>(_0x330b76(0x150)!==_0x101430&&(this[_0x330b76(0x13e)]=!0x0),_0x120c97||_0x101430!==_0x367656[_0x330b76(0x171)]?_0x367656[_0x330b76(0x164)]:this[_0x330b76(0x141)]==_0x367656[_0x330b76(0x164)]&&this[_0x330b76(0x13e)]?(this[_0x330b76(0x13e)]=!0x1,this[_0x330b76(0x152)](),_0x367656[_0x330b76(0x15c)]):_0x367656[_0x330b76(0x171)])),this[_0x330b76(0x15a)]['on'](_0x330b76(0x142),(_0x2a6c05,_0x4bfa78)=>{const _0x282631=_0x330b76;if(_0x282631(0x148)!==_0x4bfa78[_0x282631(0x145)])throw console[_0x282631(0x142)](_0x4bfa78),new _0x5d5d16(_0x282631(0x13f),null,{'originalError':_0x4bfa78});_0x177ce1[_0x282631(0x181)](_0x282631(0x154),{'title':_0x282631(0x177),'namespace':_0x282631(0x138)});}),!_0x3a08e7['me'])return new Promise(_0x3fac71=>_0x3a08e7['on'](_0x330b76(0x15e),_0x3fac71));})[_0x4760a6(0x14d)](_0x523047=>{const _0x7da4f9=_0x4760a6;throw console[_0x7da4f9(0x142)](_0x523047),new _0x5d5d16(_0x7da4f9(0x13f),null,{'originalError':_0x523047});});}[_0x2de4c6(0x174)](_0x4d9882){const _0x3124b8=_0x2de4c6;if(_0x3124b8(0x176)!=typeof _0x4d9882[_0x3124b8(0x160)])throw new _0x5d5d16(_0x3124b8(0x139),this);if(this[_0x3124b8(0x161)](_0x4d9882))throw new _0x5d5d16(_0x3124b8(0x156),this,{'name':_0x4d9882[_0x3124b8(0x173)][_0x3124b8(0x17e)]});this[_0x3124b8(0x167)][_0x3124b8(0x15b)](_0x4d9882);}[_0x2de4c6(0x165)](_0x639b3){const _0x401a3c=_0x2de4c6;this[_0x401a3c(0x167)][_0x401a3c(0x153)](_0x639b3);}[_0x2de4c6(0x161)](_0x406f60){const _0x51229f=_0x2de4c6;return this[_0x51229f(0x167)][_0x51229f(0x15f)](_0x406f60);}[_0x2de4c6(0x152)](){const _0x361091=_0x2de4c6;return this[_0x361091(0x15a)][_0x361091(0x160)]()[_0x361091(0x16d)](()=>Promise[_0x361091(0x17d)](Array[_0x361091(0x180)](this[_0x361091(0x167)],_0x2cffc9=>_0x2cffc9[_0x361091(0x160)]())))[_0x361091(0x16d)](()=>this[_0x361091(0x141)]=_0x367656[_0x361091(0x171)])[_0x361091(0x14d)](_0x974d68=>{const _0x56ade8=_0x361091;throw console[_0x56ade8(0x142)](_0x974d68),new _0x5d5d16(_0x56ade8(0x140),this[_0x56ade8(0x16f)]);});}[_0x2de4c6(0x169)](){const _0x34b61f=_0x2de4c6;this[_0x34b61f(0x15a)]&&this[_0x34b61f(0x15a)][_0x34b61f(0x168)](),this[_0x34b61f(0x141)]=_0x367656[_0x34b61f(0x164)],this[_0x34b61f(0x13c)][_0x34b61f(0x14b)](),super[_0x34b61f(0x169)]();}}c[_0x2de4c6(0x144)]=_0xd20528,c[_0x2de4c6(0x163)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x5d0c80=_0x5e3b;(function(_0x319d2c,_0x3c0f8a){var _0x1a2962=_0x5e3b,_0x542605=_0x319d2c();while(!![]){try{var _0x4a5f45=-parseInt(_0x1a2962(0x91))/0x1*(parseInt(_0x1a2962(0x96))/0x2)+parseInt(_0x1a2962(0x98))/0x3+-parseInt(_0x1a2962(0x92))/0x4*(parseInt(_0x1a2962(0x99))/0x5)+-parseInt(_0x1a2962(0x97))/0x6+-parseInt(_0x1a2962(0x9c))/0x7*(-parseInt(_0x1a2962(0x93))/0x8)+parseInt(_0x1a2962(0x94))/0x9+-parseInt(_0x1a2962(0x8f))/0xa*(parseInt(_0x1a2962(0x9b))/0xb);if(_0x4a5f45===_0x3c0f8a)break;else _0x542605['push'](_0x542605['shift']());}catch(_0x3441be){_0x542605['push'](_0x542605['shift']());}}}(_0x531e,0x204ea));function _0x5e3b(_0x283221,_0x274010){var _0x531eda=_0x531e();return _0x5e3b=function(_0x5e3b2c,_0x4a7ea2){_0x5e3b2c=_0x5e3b2c-0x8f;var _0x2272e9=_0x531eda[_0x5e3b2c];return _0x2272e9;},_0x5e3b(_0x283221,_0x274010);}import{Plugin as _0x212b2f}from'ckeditor5/src/core.js';import _0x28be71 from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x531e(){var _0x49d0d4=['pluginName','418rylUNr','203tHbBih','4630YzKkmZ','RealTimeCollaborativeEditing','1uTFfuv','52JkHrib','66184mfezth','5220HUDsWk','requires','119318DnlEtW','87714SyhKzg','561231NNkzqG','78220DfNqNK'];_0x531e=function(){return _0x49d0d4;};return _0x531e();}export default class n extends _0x212b2f{static get[_0x5d0c80(0x95)](){return[_0x28be71];}static get[_0x5d0c80(0x9a)](){var _0x58d32c=_0x5d0c80;return _0x58d32c(0x90);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x20b2e5=_0x21ac;(function(_0x30ab7e,_0x16c5ef){const _0x5f5369=_0x21ac,_0x5cd1dc=_0x30ab7e();while(!![]){try{const _0x67c2fc=-parseInt(_0x5f5369(0x198))/0x1+parseInt(_0x5f5369(0x18c))/0x2+parseInt(_0x5f5369(0x190))/0x3+-parseInt(_0x5f5369(0x19a))/0x4+parseInt(_0x5f5369(0x1d6))/0x5*(-parseInt(_0x5f5369(0x18d))/0x6)+parseInt(_0x5f5369(0x1af))/0x7*(-parseInt(_0x5f5369(0x1c5))/0x8)+parseInt(_0x5f5369(0x177))/0x9*(parseInt(_0x5f5369(0x185))/0xa);if(_0x67c2fc===_0x16c5ef)break;else _0x5cd1dc['push'](_0x5cd1dc['shift']());}catch(_0x15031c){_0x5cd1dc['push'](_0x5cd1dc['shift']());}}}(_0x22f5,0x87ae4));import{Plugin as _0x4e5b13}from'ckeditor5/src/core.js';import{version as _0x2b0da1}from'ckeditor5/src/utils.js';import{Users as _0x20d387}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x21ac(_0x47699b,_0x5ddd0f){const _0x22f50e=_0x22f5();return _0x21ac=function(_0x21acf5,_0x3f71b6){_0x21acf5=_0x21acf5-0x16c;let _0x7aa8c9=_0x22f50e[_0x21acf5];return _0x7aa8c9;},_0x21ac(_0x47699b,_0x5ddd0f);}import _0x3168df from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x5c6170 from'../realtimecollaborativeediting/websocketgateway.js';function _0x22f5(){const _0x383d99=['off','reInit','cloud-services-internal-error:\x20Not\x20connected.','state','remove','_revisionDataBuilder','cloudServices.bundleVersion','isEnabled','_revisionHistoryService','catch','updateRevisions','setSource','_handleReconnectionError','config','getRevisions','once','change:_isConnected','RevisionTracker','baseVersion','112asnuEx','getRevision','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','createdAt','requires','_handleRevisionsUpdate','creatorId','add','fromVersion','_startingVersion','_bufferUpdate','connection','code','_lastRequestId','reconnect','_fixRevision','type','45YGZtQw','RevisionHistoryService','get','_revisions','editor','startsWith','_waitForServiceReady','bind','_getLatestVersion','sessionId','marker','diffData','toVersion','cloud-services-internal-error:\x20Request\x20timeout.','authorsIds','from','118089IoTVjL','max','CONNECTED','length','addUser','listenTo','getOperations','currentRevision','authors','_getLatestVersionFromServerOperations','_revisionTracker','destroy','400','_bufferedUpdates','1370WAlpjg','repository','data','change:_isPendingUpdate','affectsData','connect','isBundleUploaded','1133580txzrYi','10938gnfmtK','connected','plugins','991098SQnBph','size','_offset','has','_createCurrentRevision','addRevisionData','isConnected','_update','1048029MyLoCz','_oldOffset','480116PlqFaA','_preventResendingRevisionData','getMany','init','serverHistory','sendBufferedUpdates','_isConnected','message','collaboration.channelId','isEmptyCurrent','then','keys','revisionsUpdated','_fetchMissingUsers','wrongRequestId','getUser','map','addToReconnectionStack','setRevisionData','_isPendingUpdate','reverse','477260ZesUVy','adapter','buildRevisionData'];_0x22f5=function(){return _0x383d99;};return _0x22f5();}import _0x1a167e from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x137bf4,RevisionHistoryService as _0x58d2d2,User as _0x4facd3,WEB_SOCKET_GATEWAY_STATES as _0xc33336}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x4e5b13{static get[_0x20b2e5(0x1c9)](){const _0x41bace=_0x20b2e5;return[_0x5c6170,_0x3168df,_0x41bace(0x1c3),_0x1a167e,_0x20d387];}constructor(_0x2c7518){const _0x541fc0=_0x20b2e5;super(_0x2c7518);const _0x4deefc=this[_0x541fc0(0x1da)][_0x541fc0(0x1bf)][_0x541fc0(0x1d8)](_0x541fc0(0x1a2));this[_0x541fc0(0x1d2)]=null,this[_0x541fc0(0x181)]=this[_0x541fc0(0x1da)][_0x541fc0(0x18f)][_0x541fc0(0x1d8)](_0x541fc0(0x1c3)),this[_0x541fc0(0x1ba)]=new v[(_0x541fc0(0x1d7))](_0x4deefc);}async[_0x20b2e5(0x19d)](){const _0x2ff44e=_0x20b2e5,_0x302de4=this[_0x2ff44e(0x1da)][_0x2ff44e(0x18f)][_0x2ff44e(0x1d8)](_0x3168df),_0x18cba5=_0x302de4[_0x2ff44e(0x19e)],_0x2e1604=this[_0x2ff44e(0x1da)][_0x2ff44e(0x18f)][_0x2ff44e(0x1d8)](_0x5c6170);this[_0x2ff44e(0x181)][_0x2ff44e(0x1bd)]({'history':_0x18cba5,'getLatestVersion':()=>this[_0x2ff44e(0x16f)](),'getCurrentRevisionId':()=>_0x302de4[_0x2ff44e(0x170)]});const _0x5879ff=this[_0x2ff44e(0x1da)][_0x2ff44e(0x1bf)][_0x2ff44e(0x1d8)](_0x2ff44e(0x1b8))||_0x2b0da1,_0x5685ec=await _0x137bf4[_0x2ff44e(0x18b)](_0x2e1604[_0x2ff44e(0x1d0)],_0x5879ff);this[_0x2ff44e(0x181)][_0x2ff44e(0x1b0)]={'getRevision':async({revisionId:_0x4f02c0})=>(await this[_0x2ff44e(0x16d)](),await this[_0x2ff44e(0x1ba)][_0x2ff44e(0x1c6)](_0x4f02c0)),'updateRevisions':async _0x3acd64=>{const _0x411b47=_0x2ff44e;await this[_0x411b47(0x16d)]();const _0x1278c5=this[_0x411b47(0x181)][_0x411b47(0x17e)];if(_0x5685ec&&0x1===_0x3acd64[_0x411b47(0x17a)]&&_0x3acd64[0x0]['id']===_0x1278c5['id'])return _0x3acd64;for(const _0x507777 of _0x3acd64)_0x507777['id']===_0x1278c5['id']&&(_0x507777[_0x411b47(0x1a3)]=_0x507777[_0x411b47(0x1cd)]===_0x507777[_0x411b47(0x173)]);return this[_0x411b47(0x1ba)][_0x411b47(0x1bc)](_0x3acd64,this[_0x411b47(0x1d2)])[_0x411b47(0x1a4)](_0x2433a0=>(this[_0x411b47(0x1d2)]=_0x2433a0,_0x3acd64))[_0x411b47(0x1bb)](_0x342421=>{const _0x1739a4=_0x411b47;if(st(_0x342421)||_0x1739a4(0x183)===_0x342421[_0x1739a4(0x1d1)]&&void 0x0!==_0x342421[_0x1739a4(0x187)][_0x1739a4(0x1a8)]){for(const _0x2dd69d of _0x3acd64){!this[_0x1739a4(0x181)][_0x1739a4(0x186)][_0x1739a4(0x1c6)](_0x2dd69d['id'])||this[_0x1739a4(0x181)][_0x1739a4(0x1cf)](_0x2dd69d['id'],_0x2dd69d,!0x1);}if(st(_0x342421))throw _0x342421;return _0x3acd64;}throw _0x342421;});}},this[_0x2ff44e(0x17c)](this[_0x2ff44e(0x1ba)],_0x2ff44e(0x1a6),(_0x139d54,{revisionsData:_0x463805,requestId:_0x1dc4aa})=>{const _0x1d2099=_0x2ff44e;Math[_0x1d2099(0x178)](..._0x463805[_0x1d2099(0x1aa)](_0x1a47ca=>_0x1a47ca[_0x1d2099(0x173)]))>this[_0x1d2099(0x180)]()-0x1?this[_0x1d2099(0x16f)]()[_0x1d2099(0x1a4)](()=>{const _0x5bd0a8=_0x1d2099;this[_0x5bd0a8(0x1ca)](_0x463805,_0x1dc4aa);}):this[_0x1d2099(0x1ca)](_0x463805,_0x1dc4aa);});const {revisions:_0x3f631e,requestId:_0x24e731}=await this[_0x2ff44e(0x1ba)][_0x2ff44e(0x18a)](_0x2e1604[_0x2ff44e(0x1d0)]);_0x2e1604[_0x2ff44e(0x1ab)](this),this[_0x2ff44e(0x1d2)]=_0x24e731,await this[_0x2ff44e(0x1a7)](_0x3f631e);for(const _0x13acb5 of _0x3f631e)this[_0x2ff44e(0x181)][_0x2ff44e(0x195)](_0x13acb5);this[_0x2ff44e(0x17c)](_0x302de4,_0x2ff44e(0x1c2),(_0x1fee3d,_0x12e13e,_0x388972)=>{const _0x51bfdb=_0x2ff44e;_0x388972&&(this[_0x51bfdb(0x199)]=_0x302de4[_0x51bfdb(0x192)],_0x1fee3d[_0x51bfdb(0x1b2)]());}),this[_0x2ff44e(0x181)][_0x2ff44e(0x16e)](_0x2ff44e(0x1b9))['to'](_0x2e1604,_0x2ff44e(0x1b5),_0x38554e=>_0x38554e===_0xc33336[_0x2ff44e(0x179)]);}async[_0x20b2e5(0x1d3)](){const _0x4bdb71=_0x20b2e5,_0x48ea27=this[_0x4bdb71(0x1da)][_0x4bdb71(0x18f)][_0x4bdb71(0x1d8)](_0x5c6170),_0x193810=this[_0x4bdb71(0x1da)][_0x4bdb71(0x18f)][_0x4bdb71(0x1d8)](_0x3168df),_0x4977e9=async()=>{const _0x1817bb=_0x4bdb71,_0x3cf621=this[_0x1817bb(0x181)][_0x1817bb(0x17e)],_0x404103=_0x3cf621['id'],_0x518133=_0x404103!==_0x193810[_0x1817bb(0x170)];if(_0x518133){const _0x4e54df=_0x193810[_0x1817bb(0x192)]-this[_0x1817bb(0x199)],_0x54f6c8=this[_0x1817bb(0x180)]();this[_0x1817bb(0x181)][_0x1817bb(0x1b7)][_0x1817bb(0x1b3)]();if(_0x3cf621[_0x1817bb(0x173)]+_0x4e54df!==_0x54f6c8){const _0xef4526=_0x3cf621[_0x1817bb(0x1cd)]+_0x4e54df,_0x190d48=this[_0x1817bb(0x1da)][_0x1817bb(0x18f)][_0x1817bb(0x1d8)](_0x20d387),_0x3d6670=this[_0x1817bb(0x181)][_0x1817bb(0x1b1)]({'revision':_0x3cf621,'from':_0xef4526,'to':_0x54f6c8});_0x3d6670['id']=_0x3cf621['id'];const _0x5e0e80=_0x3d6670[_0x1817bb(0x175)][_0x1817bb(0x1aa)](_0x3b0d87=>_0x190d48[_0x1817bb(0x1a9)](_0x3b0d87));_0x3cf621[_0x1817bb(0x197)]({..._0x3d6670,'authors':_0x5e0e80},!0x0),this[_0x1817bb(0x181)][_0x1817bb(0x1cf)](_0x3cf621['id'],_0x3d6670,!0x0);}this[_0x1817bb(0x181)][_0x1817bb(0x1ce)]=_0x54f6c8,(_0x3cf621[_0x1817bb(0x173)]===_0x3cf621[_0x1817bb(0x1cd)]&&!this[_0x1817bb(0x181)][_0x1817bb(0x184)][_0x1817bb(0x193)](_0x404103)&&this[_0x1817bb(0x181)][_0x1817bb(0x186)][_0x1817bb(0x1d9)][_0x1817bb(0x1b6)](_0x404103),this[_0x1817bb(0x181)][_0x1817bb(0x194)](_0x54f6c8));}const {revisions:_0xd9da91,requestId:_0x31c313}=await this[_0x1817bb(0x1ba)][_0x1817bb(0x1d3)](_0x48ea27[_0x1817bb(0x1d0)],this[_0x1817bb(0x1d2)]);_0x518133&&_0xd9da91[_0x1817bb(0x17a)]>0x0?_0x193810[_0x1817bb(0x1be)]():(await this[_0x1817bb(0x1a7)](_0xd9da91),this[_0x1817bb(0x1ca)](_0xd9da91,_0x31c313),this[_0x1817bb(0x181)][_0x1817bb(0x19f)]());};return _0x193810[_0x4bdb71(0x1a0)]?_0x4977e9():new Promise((_0x57ebf4,_0x3c28ad)=>{const _0x1adfaf=_0x4bdb71;_0x193810[_0x1adfaf(0x1c1)](_0x1adfaf(0x1c2),()=>{const _0x33e5b6=_0x1adfaf;_0x4977e9()[_0x33e5b6(0x1a4)](_0x57ebf4)[_0x33e5b6(0x1bb)](_0x3c28ad);});});}[_0x20b2e5(0x182)](){const _0x2b8f1e=_0x20b2e5;super[_0x2b8f1e(0x182)]();}async[_0x20b2e5(0x16d)](){const _0x4d2c7a=_0x20b2e5;this[_0x4d2c7a(0x1ba)][_0x4d2c7a(0x196)]||await new Promise(_0x57d2d0=>{const _0x27165a=_0x4d2c7a;this[_0x27165a(0x17c)](this[_0x27165a(0x1ba)],_0x27165a(0x18e),_0x11330f=>{const _0x494f9e=_0x27165a;_0x11330f[_0x494f9e(0x1b2)](),_0x57d2d0();});});}[_0x20b2e5(0x180)](){const _0x51527c=_0x20b2e5,_0x28b073=this[_0x51527c(0x1da)][_0x51527c(0x18f)][_0x51527c(0x1d8)](_0x3168df)[_0x51527c(0x19e)][_0x51527c(0x17d)]()[_0x51527c(0x1ae)]();for(const _0x2caae9 of _0x28b073)if(_0x51527c(0x171)!==_0x2caae9[_0x51527c(0x1d5)]||_0x2caae9[_0x51527c(0x189)])return _0x2caae9[_0x51527c(0x1c4)]+0x1;}[_0x20b2e5(0x16f)](){const _0x4d10b9=_0x20b2e5,_0x45ec65=this[_0x4d10b9(0x1da)][_0x4d10b9(0x18f)][_0x4d10b9(0x1d8)](_0x3168df);return new Promise(_0x3736e2=>{const _0x5d6eef=_0x4d10b9;_0x45ec65[_0x5d6eef(0x1ad)]?_0x45ec65[_0x5d6eef(0x1c1)](_0x5d6eef(0x188),()=>{const _0x54c359=_0x5d6eef;_0x3736e2(this[_0x54c359(0x180)]());}):_0x3736e2(this[_0x5d6eef(0x180)]());});}[_0x20b2e5(0x1ca)](_0x380529,_0x29cf4a){const _0x4ec3d2=_0x20b2e5,_0xc90c58=this[_0x4ec3d2(0x181)][_0x4ec3d2(0x186)];this[_0x4ec3d2(0x1d2)]=_0x29cf4a;for(const _0x508208 of _0x380529){const _0x321f28=_0xc90c58[_0x4ec3d2(0x1c6)](_0x508208['id']);if(_0x321f28){if((_0x508208[_0x4ec3d2(0x1cd)]||_0x508208[_0x4ec3d2(0x173)])&&(_0x508208[_0x4ec3d2(0x172)]=null),_0x321f28===this[_0x4ec3d2(0x181)][_0x4ec3d2(0x17e)]){const _0x230555=Math[_0x4ec3d2(0x178)](_0x321f28[_0x4ec3d2(0x173)],_0x508208[_0x4ec3d2(0x173)]),_0x35e703=Math[_0x4ec3d2(0x178)](_0x321f28[_0x4ec3d2(0x1cd)],_0x508208[_0x4ec3d2(0x1cd)]);let _0x155f21;_0x321f28[_0x4ec3d2(0x173)]===_0x508208[_0x4ec3d2(0x173)]&&_0x321f28[_0x4ec3d2(0x1cd)]===_0x508208[_0x4ec3d2(0x1cd)]?(_0x155f21=!0x0,this[_0x4ec3d2(0x19b)](_0x508208)):_0x508208[_0x4ec3d2(0x173)]===_0x230555&&_0x508208[_0x4ec3d2(0x1cd)]===_0x35e703?_0x155f21=!0x1:(_0x321f28[_0x4ec3d2(0x173)]===_0x230555&&_0x321f28[_0x4ec3d2(0x1cd)]===_0x35e703||this[_0x4ec3d2(0x1d4)]({'revision':_0x321f28,'from':_0x35e703,'to':_0x230555}),_0x155f21=!0x0),_0x155f21&&(delete _0x508208[_0x4ec3d2(0x1cd)],delete _0x508208[_0x4ec3d2(0x173)],delete _0x508208[_0x4ec3d2(0x172)],delete _0x508208[_0x4ec3d2(0x1c8)],delete _0x508208[_0x4ec3d2(0x175)]);}this[_0x4ec3d2(0x181)][_0x4ec3d2(0x1ac)](_0x508208),this[_0x4ec3d2(0x19b)](_0x508208);}else this[_0x4ec3d2(0x181)][_0x4ec3d2(0x195)](_0x508208);}const _0x4adecc=_0xc90c58[_0x4ec3d2(0x1c0)]();_0x4adecc[_0x4ec3d2(0x1ae)]();for(let _0x1a7fa3=0x0;_0x1a7fa3<_0x4adecc[_0x4ec3d2(0x17a)]-0x1;_0x1a7fa3++){const _0xacb779=_0x4adecc[_0x1a7fa3],_0x204f82=_0x4adecc[_0x1a7fa3+0x1];if(_0xacb779[_0x4ec3d2(0x1cd)]<_0x204f82[_0x4ec3d2(0x173)]){const _0x1497e2=_0x204f82[_0x4ec3d2(0x173)],_0x507a03=Math[_0x4ec3d2(0x178)](_0x1497e2,_0xacb779[_0x4ec3d2(0x173)]);this[_0x4ec3d2(0x1d4)]({'revision':_0xacb779,'from':_0x1497e2,'to':_0x507a03});}}}[_0x20b2e5(0x1d4)]({revision:_0x52db1a,from:_0xa3931e,to:_0x14fa7d}={}){const _0x4bed4c=_0x20b2e5,_0xbe0bfd=this[_0x4bed4c(0x1da)][_0x4bed4c(0x18f)][_0x4bed4c(0x1d8)](_0x20d387),_0x1223f3=this[_0x4bed4c(0x181)][_0x4bed4c(0x1b1)]({'revision':_0x52db1a,'from':_0xa3931e,'to':_0x14fa7d});_0x1223f3[_0x4bed4c(0x17f)]=_0x1223f3[_0x4bed4c(0x175)][_0x4bed4c(0x1aa)](_0x5838e3=>_0xbe0bfd[_0x4bed4c(0x1a9)](_0x5838e3)),_0x52db1a[_0x4bed4c(0x197)](_0x1223f3);}[_0x20b2e5(0x19b)](_0x12812e){const _0x58cca8=_0x20b2e5,_0xa70cbb={};_0xa70cbb['id']=_0x12812e['id'];for(const _0x2cc5ff of Object[_0x58cca8(0x1a5)](_0x12812e))'id'!==_0x2cc5ff&&(_0xa70cbb[_0x2cc5ff]=void 0x0);this[_0x58cca8(0x181)][_0x58cca8(0x1cf)](_0xa70cbb['id'],_0xa70cbb,!0x0);}async[_0x20b2e5(0x1a7)](_0xa5f9f8){const _0x9b9ce6=_0x20b2e5,_0x9e746c=this[_0x9b9ce6(0x1da)][_0x9b9ce6(0x18f)][_0x9b9ce6(0x1d8)](_0x20d387),{connection:_0x356c00}=this[_0x9b9ce6(0x1da)][_0x9b9ce6(0x18f)][_0x9b9ce6(0x1d8)](_0x5c6170),_0xa4f714=new Set();for(const _0x3fe958 of _0xa5f9f8){for(const _0x5b9d10 of _0x3fe958[_0x9b9ce6(0x175)])_0x872cee(_0x5b9d10);_0x3fe958[_0x9b9ce6(0x1cb)]&&_0x872cee(_0x3fe958[_0x9b9ce6(0x1cb)]);}if(0x0===_0xa4f714[_0x9b9ce6(0x191)])return;const _0x3d476d=await _0x4facd3[_0x9b9ce6(0x19c)](_0x356c00,Array[_0x9b9ce6(0x176)](_0xa4f714));for(const _0x432efa of _0x3d476d)_0x9e746c[_0x9b9ce6(0x1a9)](_0x432efa['id'])||_0x9e746c[_0x9b9ce6(0x17b)](_0x432efa);function _0x872cee(_0x545001){const _0x3e2b9c=_0x9b9ce6;_0x9e746c[_0x3e2b9c(0x1a9)](_0x545001)||_0xa4f714[_0x3e2b9c(0x1cc)](_0x545001);}}}v[_0x20b2e5(0x1d7)]=_0x58d2d2;export default v;function st(_0x22f91b){const _0x2a21ee=_0x20b2e5;return _0x22f91b[_0x2a21ee(0x1a1)][_0x2a21ee(0x16c)](_0x2a21ee(0x1c7))||_0x22f91b[_0x2a21ee(0x1a1)][_0x2a21ee(0x16c)](_0x2a21ee(0x1b4))||_0x22f91b[_0x2a21ee(0x1a1)][_0x2a21ee(0x16c)](_0x2a21ee(0x174));}
|
|
23
|
+
const _0x1e2be8=_0x229f;function _0x229f(_0x5169b8,_0x4abd51){const _0x1ee38c=_0x1ee3();return _0x229f=function(_0x229f98,_0x5918f1){_0x229f98=_0x229f98-0x137;let _0x4a1933=_0x1ee38c[_0x229f98];return _0x4a1933;},_0x229f(_0x5169b8,_0x4abd51);}(function(_0x4c0955,_0x262f45){const _0x519f82=_0x229f,_0x5f4c1f=_0x4c0955();while(!![]){try{const _0x32f648=-parseInt(_0x519f82(0x15c))/0x1*(-parseInt(_0x519f82(0x176))/0x2)+parseInt(_0x519f82(0x16e))/0x3*(parseInt(_0x519f82(0x13f))/0x4)+parseInt(_0x519f82(0x19d))/0x5*(-parseInt(_0x519f82(0x18d))/0x6)+-parseInt(_0x519f82(0x149))/0x7*(-parseInt(_0x519f82(0x1a1))/0x8)+-parseInt(_0x519f82(0x15e))/0x9*(parseInt(_0x519f82(0x183))/0xa)+-parseInt(_0x519f82(0x143))/0xb*(parseInt(_0x519f82(0x193))/0xc)+-parseInt(_0x519f82(0x19c))/0xd*(-parseInt(_0x519f82(0x154))/0xe);if(_0x32f648===_0x262f45)break;else _0x5f4c1f['push'](_0x5f4c1f['shift']());}catch(_0x2c0fa0){_0x5f4c1f['push'](_0x5f4c1f['shift']());}}}(_0x1ee3,0x28516));import{Plugin as _0x472e05}from'ckeditor5/src/core.js';import{version as _0x5e0249}from'ckeditor5/src/utils.js';import{Users as _0x185e13}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x41d478 from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x1ee3(){const _0x2c8bd5=['getMany','14lvWhZJ','adapter','reverse','toVersion','get','connected','state','max','cloud-services-internal-error:\x20Request\x20timeout.','_createCurrentRevision','_revisionHistoryService','532TjYBtt','setRevisionData','from','addRevisionData','_revisionTracker','baseVersion','connection','RevisionTracker','7lNIxto','_getLatestVersionFromServerOperations','373482rGxaBe','getUser','updateRevisions','diffData','_fetchMissingUsers','setSource','init','sessionId','_handleReconnectionError','connect','_revisions','isBundleUploaded','cloudServices.bundleVersion','message','addUser','isEmptyCurrent','3ApoQIR','startsWith','_isConnected','getRevision','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','add','_lastRequestId','authors','89398mOAmSP','remove','revisionsUpdated','has','_getLatestVersion','_bufferUpdate','plugins','sendBufferedUpdates','buildRevisionData','repository','affectsData','getOperations','_update','20DQomAv','reconnect','destroy','bind','_waitForServiceReady','editor','authorsIds','data','change:_isPendingUpdate','size','6hHqmXk','marker','serverHistory','creatorId','_fixRevision','map','24nxdjUq','isEnabled','RevisionHistoryService','code','_revisionDataBuilder','_handleRevisionsUpdate','collaboration.channelId','keys','then','70135qOpHHG','1646815KJOPXU','catch','type','isConnected','1054136GJthGM','off','_preventResendingRevisionData','createdAt','CONNECTED','_startingVersion','requires','fromVersion','config','change:_isConnected','currentRevision','listenTo','cloud-services-internal-error:\x20Not\x20connected.','_bufferedUpdates','_oldOffset','_isPendingUpdate','once','412048YwTFOo','wrongRequestId','length','reInit','1688214nGHbrS','_offset','400','addToReconnectionStack','getRevisions'];_0x1ee3=function(){return _0x2c8bd5;};return _0x1ee3();}import _0x3e8d1e from'../realtimecollaborativeediting/websocketgateway.js';import _0x1863ec from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x144bdb,RevisionHistoryService as _0x9d22d8,User as _0x6a1853,WEB_SOCKET_GATEWAY_STATES as _0x33bc71}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x472e05{static get[_0x1e2be8(0x1a7)](){const _0xc0bfbb=_0x1e2be8;return[_0x3e8d1e,_0x41d478,_0xc0bfbb(0x15b),_0x1863ec,_0x185e13];}constructor(_0x1cf23b){const _0x266b70=_0x1e2be8;super(_0x1cf23b);const _0x1e1a18=this[_0x266b70(0x188)][_0x266b70(0x1a9)][_0x266b70(0x14d)](_0x266b70(0x199));this[_0x266b70(0x174)]=null,this[_0x266b70(0x158)]=this[_0x266b70(0x188)][_0x266b70(0x17c)][_0x266b70(0x14d)](_0x266b70(0x15b)),this[_0x266b70(0x153)]=new v[(_0x266b70(0x195))](_0x1e1a18);}async[_0x1e2be8(0x164)](){const _0x597e09=_0x1e2be8,_0x2eeef3=this[_0x597e09(0x188)][_0x597e09(0x17c)][_0x597e09(0x14d)](_0x41d478),_0x1bc6fe=_0x2eeef3[_0x597e09(0x18f)],_0x169e6e=this[_0x597e09(0x188)][_0x597e09(0x17c)][_0x597e09(0x14d)](_0x3e8d1e);this[_0x597e09(0x158)][_0x597e09(0x163)]({'history':_0x1bc6fe,'getLatestVersion':()=>this[_0x597e09(0x17a)](),'getCurrentRevisionId':()=>_0x2eeef3[_0x597e09(0x165)]});const _0x2b28b5=this[_0x597e09(0x188)][_0x597e09(0x1a9)][_0x597e09(0x14d)](_0x597e09(0x16a))||_0x5e0249,_0x5a08eb=await _0x144bdb[_0x597e09(0x169)](_0x169e6e[_0x597e09(0x15a)],_0x2b28b5);this[_0x597e09(0x158)][_0x597e09(0x14a)]={'getRevision':async({revisionId:_0x376b6c})=>(await this[_0x597e09(0x187)](),await this[_0x597e09(0x153)][_0x597e09(0x171)](_0x376b6c)),'updateRevisions':async _0x3e5c9d=>{const _0x4227cf=_0x597e09;await this[_0x4227cf(0x187)]();const _0x5534a1=this[_0x4227cf(0x158)][_0x4227cf(0x138)];if(_0x5a08eb&&0x1===_0x3e5c9d[_0x4227cf(0x141)]&&_0x3e5c9d[0x0]['id']===_0x5534a1['id'])return _0x3e5c9d;for(const _0x54367f of _0x3e5c9d)_0x54367f['id']===_0x5534a1['id']&&(_0x54367f[_0x4227cf(0x16d)]=_0x54367f[_0x4227cf(0x1a8)]===_0x54367f[_0x4227cf(0x14c)]);return this[_0x4227cf(0x153)][_0x4227cf(0x160)](_0x3e5c9d,this[_0x4227cf(0x174)])[_0x4227cf(0x19b)](_0x5078f5=>(this[_0x4227cf(0x174)]=_0x5078f5,_0x3e5c9d))[_0x4227cf(0x19e)](_0x1dc45e=>{const _0x56c131=_0x4227cf;if(st(_0x1dc45e)||_0x56c131(0x145)===_0x1dc45e[_0x56c131(0x196)]&&void 0x0!==_0x1dc45e[_0x56c131(0x18a)][_0x56c131(0x140)]){for(const _0x108f30 of _0x3e5c9d){!this[_0x56c131(0x158)][_0x56c131(0x17f)][_0x56c131(0x171)](_0x108f30['id'])||this[_0x56c131(0x158)][_0x56c131(0x17b)](_0x108f30['id'],_0x108f30,!0x1);}if(st(_0x1dc45e))throw _0x1dc45e;return _0x3e5c9d;}throw _0x1dc45e;});}},this[_0x597e09(0x139)](this[_0x597e09(0x153)],_0x597e09(0x178),(_0x4af40b,{revisionsData:_0x2e78e0,requestId:_0x14d14f})=>{const _0xc138aa=_0x597e09;Math[_0xc138aa(0x150)](..._0x2e78e0[_0xc138aa(0x192)](_0x2a7761=>_0x2a7761[_0xc138aa(0x14c)]))>this[_0xc138aa(0x15d)]()-0x1?this[_0xc138aa(0x17a)]()[_0xc138aa(0x19b)](()=>{const _0x433a96=_0xc138aa;this[_0x433a96(0x198)](_0x2e78e0,_0x14d14f);}):this[_0xc138aa(0x198)](_0x2e78e0,_0x14d14f);});const {revisions:_0x513c69,requestId:_0x1d2aca}=await this[_0x597e09(0x153)][_0x597e09(0x167)](_0x169e6e[_0x597e09(0x15a)]);_0x169e6e[_0x597e09(0x146)](this),this[_0x597e09(0x174)]=_0x1d2aca,await this[_0x597e09(0x162)](_0x513c69);for(const _0x5199cd of _0x513c69)this[_0x597e09(0x158)][_0x597e09(0x157)](_0x5199cd);this[_0x597e09(0x139)](_0x2eeef3,_0x597e09(0x137),(_0xe9b438,_0x4a1b62,_0xe4e6ac)=>{const _0x1e20c4=_0x597e09;_0xe4e6ac&&(this[_0x1e20c4(0x13c)]=_0x2eeef3[_0x1e20c4(0x144)],_0xe9b438[_0x1e20c4(0x1a2)]());}),this[_0x597e09(0x158)][_0x597e09(0x186)](_0x597e09(0x194))['to'](_0x169e6e,_0x597e09(0x14f),_0x5cb6fe=>_0x5cb6fe===_0x33bc71[_0x597e09(0x1a5)]);}async[_0x1e2be8(0x184)](){const _0xd956e4=_0x1e2be8,_0x2dc6ad=this[_0xd956e4(0x188)][_0xd956e4(0x17c)][_0xd956e4(0x14d)](_0x3e8d1e),_0x1bb818=this[_0xd956e4(0x188)][_0xd956e4(0x17c)][_0xd956e4(0x14d)](_0x41d478),_0x4591f9=async()=>{const _0x20eb95=_0xd956e4,_0x1db4c3=this[_0x20eb95(0x158)][_0x20eb95(0x138)],_0x38addb=_0x1db4c3['id'],_0x13cc99=_0x38addb!==_0x1bb818[_0x20eb95(0x165)];if(_0x13cc99){const _0x481c25=_0x1bb818[_0x20eb95(0x144)]-this[_0x20eb95(0x13c)],_0x4b2f8b=this[_0x20eb95(0x15d)]();this[_0x20eb95(0x158)][_0x20eb95(0x197)][_0x20eb95(0x142)]();if(_0x1db4c3[_0x20eb95(0x14c)]+_0x481c25!==_0x4b2f8b){const _0x45e1c4=_0x1db4c3[_0x20eb95(0x1a8)]+_0x481c25,_0x35b284=this[_0x20eb95(0x188)][_0x20eb95(0x17c)][_0x20eb95(0x14d)](_0x185e13),_0x214297=this[_0x20eb95(0x158)][_0x20eb95(0x17e)]({'revision':_0x1db4c3,'from':_0x45e1c4,'to':_0x4b2f8b});_0x214297['id']=_0x1db4c3['id'];const _0x17a3ba=_0x214297[_0x20eb95(0x189)][_0x20eb95(0x192)](_0x20169f=>_0x35b284[_0x20eb95(0x15f)](_0x20169f));_0x1db4c3[_0x20eb95(0x182)]({..._0x214297,'authors':_0x17a3ba},!0x0),this[_0x20eb95(0x158)][_0x20eb95(0x17b)](_0x1db4c3['id'],_0x214297,!0x0);}this[_0x20eb95(0x158)][_0x20eb95(0x1a6)]=_0x4b2f8b,(_0x1db4c3[_0x20eb95(0x14c)]===_0x1db4c3[_0x20eb95(0x1a8)]&&!this[_0x20eb95(0x158)][_0x20eb95(0x13b)][_0x20eb95(0x179)](_0x38addb)&&this[_0x20eb95(0x158)][_0x20eb95(0x17f)][_0x20eb95(0x168)][_0x20eb95(0x177)](_0x38addb),this[_0x20eb95(0x158)][_0x20eb95(0x152)](_0x4b2f8b));}const {revisions:_0x70e807,requestId:_0x5b5c9b}=await this[_0x20eb95(0x153)][_0x20eb95(0x184)](_0x2dc6ad[_0x20eb95(0x15a)],this[_0x20eb95(0x174)]);_0x13cc99&&_0x70e807[_0x20eb95(0x141)]>0x0?_0x1bb818[_0x20eb95(0x166)]():(await this[_0x20eb95(0x162)](_0x70e807),this[_0x20eb95(0x198)](_0x70e807,_0x5b5c9b),this[_0x20eb95(0x158)][_0x20eb95(0x17d)]());};return _0x1bb818[_0xd956e4(0x170)]?_0x4591f9():new Promise((_0x466a66,_0x297a77)=>{const _0x23de9b=_0xd956e4;_0x1bb818[_0x23de9b(0x13e)](_0x23de9b(0x137),()=>{const _0x4487d1=_0x23de9b;_0x4591f9()[_0x4487d1(0x19b)](_0x466a66)[_0x4487d1(0x19e)](_0x297a77);});});}[_0x1e2be8(0x185)](){const _0x40c35b=_0x1e2be8;super[_0x40c35b(0x185)]();}async[_0x1e2be8(0x187)](){const _0x4db164=_0x1e2be8;this[_0x4db164(0x153)][_0x4db164(0x1a0)]||await new Promise(_0x954b6d=>{const _0x4db179=_0x4db164;this[_0x4db179(0x139)](this[_0x4db179(0x153)],_0x4db179(0x14e),_0x38afd2=>{const _0x143776=_0x4db179;_0x38afd2[_0x143776(0x1a2)](),_0x954b6d();});});}[_0x1e2be8(0x15d)](){const _0x19c006=_0x1e2be8,_0x2862c5=this[_0x19c006(0x188)][_0x19c006(0x17c)][_0x19c006(0x14d)](_0x41d478)[_0x19c006(0x18f)][_0x19c006(0x181)]()[_0x19c006(0x14b)]();for(const _0x2e54b8 of _0x2862c5)if(_0x19c006(0x18e)!==_0x2e54b8[_0x19c006(0x19f)]||_0x2e54b8[_0x19c006(0x180)])return _0x2e54b8[_0x19c006(0x159)]+0x1;}[_0x1e2be8(0x17a)](){const _0x1b5c4a=_0x1e2be8,_0x514c08=this[_0x1b5c4a(0x188)][_0x1b5c4a(0x17c)][_0x1b5c4a(0x14d)](_0x41d478);return new Promise(_0x5b6c0e=>{const _0x55b3ae=_0x1b5c4a;_0x514c08[_0x55b3ae(0x13d)]?_0x514c08[_0x55b3ae(0x13e)](_0x55b3ae(0x18b),()=>{const _0x360cbc=_0x55b3ae;_0x5b6c0e(this[_0x360cbc(0x15d)]());}):_0x5b6c0e(this[_0x55b3ae(0x15d)]());});}[_0x1e2be8(0x198)](_0x3a68af,_0x2ec63d){const _0x4ad059=_0x1e2be8,_0x54a011=this[_0x4ad059(0x158)][_0x4ad059(0x17f)];this[_0x4ad059(0x174)]=_0x2ec63d;for(const _0x3137b4 of _0x3a68af){const _0x25531a=_0x54a011[_0x4ad059(0x171)](_0x3137b4['id']);if(_0x25531a){if((_0x3137b4[_0x4ad059(0x1a8)]||_0x3137b4[_0x4ad059(0x14c)])&&(_0x3137b4[_0x4ad059(0x161)]=null),_0x25531a===this[_0x4ad059(0x158)][_0x4ad059(0x138)]){const _0x4591ce=Math[_0x4ad059(0x150)](_0x25531a[_0x4ad059(0x14c)],_0x3137b4[_0x4ad059(0x14c)]),_0x59bece=Math[_0x4ad059(0x150)](_0x25531a[_0x4ad059(0x1a8)],_0x3137b4[_0x4ad059(0x1a8)]);let _0x12f090;_0x25531a[_0x4ad059(0x14c)]===_0x3137b4[_0x4ad059(0x14c)]&&_0x25531a[_0x4ad059(0x1a8)]===_0x3137b4[_0x4ad059(0x1a8)]?(_0x12f090=!0x0,this[_0x4ad059(0x1a3)](_0x3137b4)):_0x3137b4[_0x4ad059(0x14c)]===_0x4591ce&&_0x3137b4[_0x4ad059(0x1a8)]===_0x59bece?_0x12f090=!0x1:(_0x25531a[_0x4ad059(0x14c)]===_0x4591ce&&_0x25531a[_0x4ad059(0x1a8)]===_0x59bece||this[_0x4ad059(0x191)]({'revision':_0x25531a,'from':_0x59bece,'to':_0x4591ce}),_0x12f090=!0x0),_0x12f090&&(delete _0x3137b4[_0x4ad059(0x1a8)],delete _0x3137b4[_0x4ad059(0x14c)],delete _0x3137b4[_0x4ad059(0x161)],delete _0x3137b4[_0x4ad059(0x1a4)],delete _0x3137b4[_0x4ad059(0x189)]);}this[_0x4ad059(0x158)][_0x4ad059(0x155)](_0x3137b4),this[_0x4ad059(0x1a3)](_0x3137b4);}else this[_0x4ad059(0x158)][_0x4ad059(0x157)](_0x3137b4);}const _0x4b8fa8=_0x54a011[_0x4ad059(0x147)]();_0x4b8fa8[_0x4ad059(0x14b)]();for(let _0x3bf15c=0x0;_0x3bf15c<_0x4b8fa8[_0x4ad059(0x141)]-0x1;_0x3bf15c++){const _0x36ec15=_0x4b8fa8[_0x3bf15c],_0x4c31e5=_0x4b8fa8[_0x3bf15c+0x1];if(_0x36ec15[_0x4ad059(0x1a8)]<_0x4c31e5[_0x4ad059(0x14c)]){const _0x2af7b9=_0x4c31e5[_0x4ad059(0x14c)],_0x344bf1=Math[_0x4ad059(0x150)](_0x2af7b9,_0x36ec15[_0x4ad059(0x14c)]);this[_0x4ad059(0x191)]({'revision':_0x36ec15,'from':_0x2af7b9,'to':_0x344bf1});}}}[_0x1e2be8(0x191)]({revision:_0x4a0bbc,from:_0xcaf6f7,to:_0x191981}={}){const _0x17a12a=_0x1e2be8,_0x58f01f=this[_0x17a12a(0x188)][_0x17a12a(0x17c)][_0x17a12a(0x14d)](_0x185e13),_0x1da0db=this[_0x17a12a(0x158)][_0x17a12a(0x17e)]({'revision':_0x4a0bbc,'from':_0xcaf6f7,'to':_0x191981});_0x1da0db[_0x17a12a(0x175)]=_0x1da0db[_0x17a12a(0x189)][_0x17a12a(0x192)](_0x2e4472=>_0x58f01f[_0x17a12a(0x15f)](_0x2e4472)),_0x4a0bbc[_0x17a12a(0x182)](_0x1da0db);}[_0x1e2be8(0x1a3)](_0x2f51a7){const _0x98b762=_0x1e2be8,_0x4d7e44={};_0x4d7e44['id']=_0x2f51a7['id'];for(const _0xc7894 of Object[_0x98b762(0x19a)](_0x2f51a7))'id'!==_0xc7894&&(_0x4d7e44[_0xc7894]=void 0x0);this[_0x98b762(0x158)][_0x98b762(0x17b)](_0x4d7e44['id'],_0x4d7e44,!0x0);}async[_0x1e2be8(0x162)](_0x249228){const _0x3f2047=_0x1e2be8,_0x5baf8e=this[_0x3f2047(0x188)][_0x3f2047(0x17c)][_0x3f2047(0x14d)](_0x185e13),{connection:_0x5b1776}=this[_0x3f2047(0x188)][_0x3f2047(0x17c)][_0x3f2047(0x14d)](_0x3e8d1e),_0x515cbf=new Set();for(const _0x4c6244 of _0x249228){for(const _0x500075 of _0x4c6244[_0x3f2047(0x189)])_0x34ccc8(_0x500075);_0x4c6244[_0x3f2047(0x190)]&&_0x34ccc8(_0x4c6244[_0x3f2047(0x190)]);}if(0x0===_0x515cbf[_0x3f2047(0x18c)])return;const _0x29e1bf=await _0x6a1853[_0x3f2047(0x148)](_0x5b1776,Array[_0x3f2047(0x156)](_0x515cbf));for(const _0x4e395a of _0x29e1bf)_0x5baf8e[_0x3f2047(0x15f)](_0x4e395a['id'])||_0x5baf8e[_0x3f2047(0x16c)](_0x4e395a);function _0x34ccc8(_0x17a716){const _0x5b1801=_0x3f2047;_0x5baf8e[_0x5b1801(0x15f)](_0x17a716)||_0x515cbf[_0x5b1801(0x173)](_0x17a716);}}}v[_0x1e2be8(0x195)]=_0x9d22d8;export default v;function st(_0x544efd){const _0x29b393=_0x1e2be8;return _0x544efd[_0x29b393(0x16b)][_0x29b393(0x16f)](_0x29b393(0x172))||_0x544efd[_0x29b393(0x16b)][_0x29b393(0x16f)](_0x29b393(0x13a))||_0x544efd[_0x29b393(0x16b)][_0x29b393(0x16f)](_0x29b393(0x151));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3fb812=_0x4c96;(function(_0x19015b,_0x18bc97){var _0x46abca=_0x4c96,_0x50a31f=_0x19015b();while(!![]){try{var _0x3d1df0=parseInt(_0x46abca(0x128))/0x1*(-parseInt(_0x46abca(0x132))/0x2)+parseInt(_0x46abca(0x133))/0x3+-parseInt(_0x46abca(0x12a))/0x4+parseInt(_0x46abca(0x12d))/0x5*(parseInt(_0x46abca(0x131))/0x6)+parseInt(_0x46abca(0x12b))/0x7+parseInt(_0x46abca(0x126))/0x8+parseInt(_0x46abca(0x12e))/0x9*(parseInt(_0x46abca(0x130))/0xa);if(_0x3d1df0===_0x18bc97)break;else _0x50a31f['push'](_0x50a31f['shift']());}catch(_0x12db6c){_0x50a31f['push'](_0x50a31f['shift']());}}}(_0x11a8,0x3a5c2));import{Plugin as _0x9c31f5}from'ckeditor5/src/core.js';import _0x4c76b7 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';function _0x4c96(_0x5b4553,_0x5bb582){var _0x11a8fe=_0x11a8();return _0x4c96=function(_0x4c9659,_0x2e26a0){_0x4c9659=_0x4c9659-0x126;var _0x362726=_0x11a8fe[_0x4c9659];return _0x362726;},_0x4c96(_0x5b4553,_0x5bb582);}import _0x2621e3 from'./realtimecollaborativeediting.js';function _0x11a8(){var _0x25b42d=['255494YDzDHa','1048908WElRNY','2026840UIGuzD','RevisionHistory','3SdSWey','pluginName','1721044KCYrUp','512113ZFpPsF','requires','55sMRJLZ','8928rqTtzl','RealTimeCollaborativeRevisionHistory','970NPCKOf','152820yEDbvh'];_0x11a8=function(){return _0x25b42d;};return _0x11a8();}export default class d extends _0x9c31f5{static get[_0x3fb812(0x12c)](){var _0x4905a4=_0x3fb812;return[_0x4905a4(0x127),_0x4c76b7,_0x2621e3];}static get[_0x3fb812(0x129)](){var _0x55062a=_0x3fb812;return _0x55062a(0x12f);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27cd7a=_0xd6d3;(function(_0x55165c,_0x4b4c0e){const _0x26f475=_0xd6d3,_0xf250fc=_0x55165c();while(!![]){try{const _0xe520f6=parseInt(_0x26f475(0x151))/0x1*(-parseInt(_0x26f475(0x15a))/0x2)+parseInt(_0x26f475(0x13e))/0x3*(parseInt(_0x26f475(0x120))/0x4)+parseInt(_0x26f475(0x136))/0x5+-parseInt(_0x26f475(0x12d))/0x6+-parseInt(_0x26f475(0x158))/0x7*(parseInt(_0x26f475(0x145))/0x8)+-parseInt(_0x26f475(0x13d))/0x9*(parseInt(_0x26f475(0x14b))/0xa)+-parseInt(_0x26f475(0x149))/0xb*(-parseInt(_0x26f475(0x142))/0xc);if(_0xe520f6===_0x4b4c0e)break;else _0xf250fc['push'](_0xf250fc['shift']());}catch(_0x15435c){_0xf250fc['push'](_0xf250fc['shift']());}}}(_0x1311,0x43c52));import{Plugin as _0x339e3e}from'ckeditor5/src/core.js';import{User as _0x565e60,TrackChangesService as _0xb30f5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x5e9246 from'../realtimecollaborativeediting/websocketgateway.js';import _0xc3ef21 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xd79048}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x339e3e{static get[_0x27cd7a(0x152)](){const _0x1e41e9=_0x27cd7a;return[_0xc3ef21,_0x1e41e9(0x155),_0x5e9246];}constructor(_0x2918d4){const _0x427edf=_0x27cd7a;super(_0x2918d4);const _0x5bc88f=this[_0x427edf(0x159)][_0x427edf(0x148)][_0x427edf(0x138)](_0x427edf(0x133));this[_0x427edf(0x12e)]=new Map(),this[_0x427edf(0x140)]=new g[(_0x427edf(0x139))](_0x5bc88f);}[_0x27cd7a(0x127)](){const _0xbc75f1=_0x27cd7a,_0x2d9576=this[_0xbc75f1(0x159)][_0xbc75f1(0x154)][_0xbc75f1(0x138)](_0x5e9246),_0x7b6834=this[_0xbc75f1(0x159)][_0xbc75f1(0x154)][_0xbc75f1(0x138)](_0xbc75f1(0x155));return _0x7b6834[_0xbc75f1(0x153)]={'getSuggestion':async _0x4c9b90=>{const _0x3f10ca=_0xbc75f1;await this[_0x3f10ca(0x11f)]();const _0x4c4deb=await this[_0x3f10ca(0x140)][_0x3f10ca(0x138)](_0x4c9b90)[_0x3f10ca(0x134)](w);return await this[_0x3f10ca(0x122)]([_0x4c4deb]),_0x4c4deb;},'addSuggestion':async({id:_0x8e7c1a,type:_0x479281,data:_0x57986d,originalSuggestionId:_0x2e605a,attributes:_0x522528})=>{const _0xdf1ac=_0xbc75f1;await this[_0xdf1ac(0x11f)]();const _0x4967a7={'id':_0x8e7c1a,'type':_0x479281,'data':_0x57986d,'originalSuggestionId':_0x2e605a,'attributes':_0x522528},_0x34dd16=await this[_0xdf1ac(0x140)][_0xdf1ac(0x141)](_0x8e7c1a,_0x479281,_0x57986d,_0x2e605a,_0x522528)[_0xdf1ac(0x134)](_0x26a4a5=>{if(st(_0x26a4a5))return new Promise(_0x24517a=>{const _0x57cac5=_0xd6d3;this[_0x57cac5(0x12e)][_0x57cac5(0x150)](_0x8e7c1a,{'resolve':_0x24517a,'suggestionData':_0x4967a7});});throw _0x26a4a5;});return this[_0xdf1ac(0x12e)][_0xdf1ac(0x137)](_0x8e7c1a),_0x34dd16;},'updateSuggestion':async(_0x571e60,_0x1d3064)=>{const _0x11dee4=_0xbc75f1;if(await this[_0x11dee4(0x11f)](),_0x11dee4(0x14f)!==_0x1d3064[_0x11dee4(0x156)])return this[_0x11dee4(0x140)][_0x11dee4(0x129)](_0x571e60,_0x1d3064)[_0x11dee4(0x134)](w);}},this[_0xbc75f1(0x147)](this[_0xbc75f1(0x140)],_0xbc75f1(0x12f),(_0x44aff6,_0x5727c2)=>{const _0x387390=_0xbc75f1;_0x7b6834[_0x387390(0x146)](_0x5727c2['id'])&&(_0x7b6834[_0x387390(0x128)](_0x5727c2['id'])[_0x387390(0x143)]=_0x5727c2[_0x387390(0x143)]);}),this[_0xbc75f1(0x140)][_0xbc75f1(0x125)](_0x2d9576[_0xbc75f1(0x157)])[_0xbc75f1(0x121)](_0x595bb7=>(_0x2d9576[_0xbc75f1(0x132)](this),this[_0xbc75f1(0x122)](_0x595bb7)[_0xbc75f1(0x121)](()=>{const _0x20d5ef=_0xbc75f1;for(const _0xacbb63 of _0x595bb7){_0x7b6834[_0x20d5ef(0x13f)](_0xacbb63)[_0x20d5ef(0x12a)]=!0x0;}})));}async[_0x27cd7a(0x130)](){const _0x15745b=_0x27cd7a,_0x11380d=this[_0x15745b(0x159)][_0x15745b(0x154)][_0x15745b(0x138)](_0x15745b(0x155)),{connection:_0x405671}=this[_0x15745b(0x159)][_0x15745b(0x154)][_0x15745b(0x138)](_0x5e9246),_0x3b2940=await this[_0x15745b(0x140)][_0x15745b(0x125)](_0x405671);await this[_0x15745b(0x122)](_0x3b2940);for(const {suggestionData:_0x3401bf,resolve:_0x14e9bb}of this[_0x15745b(0x12e)][_0x15745b(0x13b)]()){let _0xa13a88=_0x3b2940[_0x15745b(0x14a)](_0x19d33e=>_0x19d33e['id']===_0x3401bf['id']);_0xa13a88||(_0xa13a88=await this[_0x15745b(0x140)][_0x15745b(0x141)](_0x3401bf['id'],_0x3401bf[_0x15745b(0x13a)],_0x3401bf[_0x15745b(0x131)],_0x3401bf[_0x15745b(0x14c)])),_0x14e9bb(_0xa13a88);}for(const _0x9de725 of _0x3b2940)_0x11380d[_0x15745b(0x146)](_0x9de725['id'])||_0x11380d[_0x15745b(0x13f)](_0x9de725);}async[_0x27cd7a(0x11f)](){const _0x30b76f=_0x27cd7a;this[_0x30b76f(0x140)][_0x30b76f(0x123)]||await new Promise(_0x307bc2=>{const _0x48fde3=_0x30b76f;this[_0x48fde3(0x147)](this[_0x48fde3(0x140)],_0x48fde3(0x12c),_0x1dc01b=>{const _0x387aaf=_0x48fde3;_0x1dc01b[_0x387aaf(0x14d)](),_0x307bc2();});});}async[_0x27cd7a(0x122)](_0x127184){const _0x1a092e=_0x27cd7a,_0x359ae2=this[_0x1a092e(0x159)][_0x1a092e(0x154)][_0x1a092e(0x138)](_0xd79048),{connection:_0x4929b0}=this[_0x1a092e(0x159)][_0x1a092e(0x154)][_0x1a092e(0x138)](_0x5e9246),_0x3ba793=new Set();for(const {authorId:_0x5535b5}of _0x127184)_0x359ae2[_0x1a092e(0x13c)](_0x5535b5)||_0x3ba793[_0x1a092e(0x141)](_0x5535b5);if(0x0===_0x3ba793[_0x1a092e(0x124)])return;const _0x34442f=await _0x565e60[_0x1a092e(0x135)](_0x4929b0,Array[_0x1a092e(0x14e)](_0x3ba793));for(const _0x46759a of _0x34442f)_0x359ae2[_0x1a092e(0x13c)](_0x46759a['id'])||_0x359ae2[_0x1a092e(0x144)](_0x46759a);}}g[_0x27cd7a(0x139)]=_0xb30f5;export default g;function _0x1311(){const _0x211769=['6167mWbdjf','editor','4BeXyzT','cloud-services-internal-error:\x20Request\x20timeout.','message','_waitForServiceReady','866516buxIjZ','then','_fetchMissingUsersForThreads','isConnected','size','connect','startsWith','init','getSuggestion','update','_saved','cloud-services-internal-error:\x20Not\x20connected.','connected','2324502icISVR','_bufferedRequests','suggestionUpdated','reconnect','data','addToReconnectionStack','collaboration.channelId','catch','getMany','1913275sWyEfd','delete','get','TrackChangesService','type','values','getUser','1087929KaBHcW','3eTQUPy','addSuggestionData','_trackChangesService','add','7602456JiAJmf','attributes','addUser','4440NUCfce','hasSuggestion','listenTo','config','22Wztxgj','find','40QndUVV','originalSuggestionId','off','from','open','set','114439mTNiWf','requires','adapter','plugins','TrackChangesEditing','state','connection'];_0x1311=function(){return _0x211769;};return _0x1311();}function w(_0x441ee0){if(st(_0x441ee0))return new Promise(()=>{});throw _0x441ee0;}function _0xd6d3(_0x4df449,_0x490feb){const _0x1311ae=_0x1311();return _0xd6d3=function(_0xd6d3c4,_0x347b2f){_0xd6d3c4=_0xd6d3c4-0x11e;let _0x13d235=_0x1311ae[_0xd6d3c4];return _0x13d235;},_0xd6d3(_0x4df449,_0x490feb);}function st(_0x5f39ea){const _0x35ecf2=_0x27cd7a;return _0x5f39ea[_0x35ecf2(0x11e)][_0x35ecf2(0x126)](_0x35ecf2(0x12b))||_0x5f39ea[_0x35ecf2(0x11e)][_0x35ecf2(0x126)](_0x35ecf2(0x15b));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3d558a=_0x5dc1;(function(_0x55a155,_0x4bccba){var _0x259062=_0x5dc1,_0x4e3541=_0x55a155();while(!![]){try{var _0x16e7e4=parseInt(_0x259062(0x133))/0x1+parseInt(_0x259062(0x137))/0x2+parseInt(_0x259062(0x134))/0x3*(parseInt(_0x259062(0x135))/0x4)+parseInt(_0x259062(0x130))/0x5+parseInt(_0x259062(0x13a))/0x6+parseInt(_0x259062(0x131))/0x7*(parseInt(_0x259062(0x136))/0x8)+-parseInt(_0x259062(0x138))/0x9*(parseInt(_0x259062(0x139))/0xa);if(_0x16e7e4===_0x4bccba)break;else _0x4e3541['push'](_0x4e3541['shift']());}catch(_0x57d94b){_0x4e3541['push'](_0x4e3541['shift']());}}}(_0x12fc,0xe4bdb));function _0x12fc(){var _0x361559=['1097079lIboNO','89247TYeKhs','212utQEYk','8LRMfVW','756250upZMJo','2799tsipRW','172420TCcLBq','5828148OIImhU','pluginName','requires','RealTimeCollaborativeTrackChanges','5483365Eajjks','8254771vCyMsQ','TrackChanges'];_0x12fc=function(){return _0x361559;};return _0x12fc();}import{Plugin as _0x3695c2}from'ckeditor5/src/core.js';import _0x17d157 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x5dc1(_0x4c3b34,_0x27816f){var _0x12fc5a=_0x12fc();return _0x5dc1=function(_0x5dc186,_0x499ba0){_0x5dc186=_0x5dc186-0x12d;var _0x310913=_0x12fc5a[_0x5dc186];return _0x310913;},_0x5dc1(_0x4c3b34,_0x27816f);}import _0x1c9580 from'./realtimecollaborativecomments.js';export default class p extends _0x3695c2{static get[_0x3d558a(0x12e)](){var _0x164da2=_0x3d558a;return[_0x1c9580,_0x17d157,_0x164da2(0x132)];}static get[_0x3d558a(0x12d)](){var _0x1468ae=_0x3d558a;return _0x1468ae(0x12f);}}
|