@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.5 → 43.1.0-alpha.7
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
|
-
function _0x13bb(){const _0x30dcd5=['_bufferedOperations','getDocumentDetails','_isEditingAllowed','connection','init','requires','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_updateServerHistory','sessionAdd:','config','7QZExKa','enableReadOnlyMode','enqueueChange','fire','_isLoaded','$root','getRoot','move','start','_initThrowingOnDataSet','_hasSelectionChanged','lastOperationAcceptedAt','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isDocumentOperation','addToReconnectionStack','_disconnectService','bind','isReadOnly','_setUpDataInit','InsertOperation','filter','24dPPOFw','end','409','_document','stopListening','disconnect','loadRoot','reconnection:\x20flushed\x20session','sendOperations','getUser','_service','realtimecollaborationclient-init-connection-failed','_currentBufferDelay','addOperation','set','define','parse','getMany','isEnabled','createRange','_isAttached','_operationToId','404','message','_operationIdentifier','fromJSON','metadata','wereChangesApplied','sessionCreatedAt','getConnectedSessions','size','document:write','rootsAttributes','_ignoredOperations','forEach','editing','attributes','CommentsOnly','cloudDocumentVersion','length','createPositionAt','get','suppressErrorInCollaboration','_lastServerVersion','marker','permissions','type','channelSessions','isUndoneOperation','locale','initData','pluginName','path','addRootAttribute','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleReconnectionResponse','add','createdAt','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','showWarning','_shouldSendSelectionUpdate','_clearPendingAction','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.','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.','directChange','_refreshUserSelectionMarkers','version','CollaborativeEditingService','connected','rtc-destroyed','slice','getIdOfTheLastOperation','baseVersion','rootName','realtimecollaborationclient-sendbufferedoperations','disconnected','19722870GVcbSg','remove','_decompressOperations','push','finally','createUserMarkerOperations','PENDING_ACTION_SENDING_DATA','catch','code','Synchronization\x20issue','_shouldSendUpdate','offset','differ','_getOperationsFromInitData','_pendingAction','plugins','realtimecollaborationclient-init-session-connection-error','1492385Rqkoge','_compressOperations','createRoot','serverHistory','roots','disableReadOnlyMode','_channelId','_sendBufferedOperationsDelayed','editor','document','_getAffectedRoot','_addKnownRoot','_handleServerResponse','addUser','_knownRootNames','wasUndone','_bufferRootLoad','realtimecollaborationclient-initservice-incorrect-server-operation','view','_disconnectionOperations','newRange','listenTo','_knownOperations','map','_handleExternalOperations','_handleReconnectionError','entries','string','insert','_isConnected','_handleReceivedOperations','_baseBufferDelay','693852dSedJh','root','destroy','getOperationAuthor','_applyOperationsSet','selection','RealTimeCollaborationClient','batch','__className','_handleInitialConnectionData','change:range','decompress','_handleSendingSelectionMarkers','lastSyncVersion','change:_isPendingUpdate','4ExXWPP','_connectAfterSessionHasBeenFlushed','keys','cloudServices.bundleVersion','_loadRoot','position','_hasSynchronizationProblem','high','state','lastOperationId','mySessionId','includes','targetPosition','cs:removeUser','_sendBufferedOperations','history','reconnect','removeFromReconnectionStack','clone','getOperations','lastDocumentSession','_setPendingAction','sessionId','realtimecollaborationclient-initservice-internal-error','_fetchMissingUsers','apply','261278xmEIwu','toJSON','markers','affectsData','error','createPositionFromPath','affectedSelectable','setIdForTheLastOperation','6936584NDfAXR','realtimecollaborationclient-handleserverresponse','rtc-offline','applyOperation','4937973FQZnCZ','multi-root-editor-root-attributes-no-root','model','_compressor','11560293MumcPp','reset','_connectService','_authorId','collaboration-missing-channelid','Permissions','register','_crash','connect','real-time-collaboration','stop','Notification','operationsReceived','_waitUntilSynced','then','addRoot','userId','ready','return','_isPendingUpdate','_sendBufferedOperationsDelayId','_lastSyncedOperationId','change:_isEditingAllowed','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','round','compress','unregister','change:hasDomSelection','_isDisconnection','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-document-already-initialized','collaboration.channelId','startsWith','_offset','_isInit','data','from','_initSessionsHandling','currentDocumentSession','collaboration','off','has','_saveOperationInBuffer'];_0x13bb=function(){return _0x30dcd5;};return _0x13bb();}const _0x3c1cd9=_0x1013;(function(_0x2ff4c3,_0x56f6df){const _0x42f4b1=_0x1013,_0x597ca1=_0x2ff4c3();while(!![]){try{const _0x2a5574=-parseInt(_0x42f4b1(0x1d1))/0x1*(-parseInt(_0x42f4b1(0x1b7))/0x2)+-parseInt(_0x42f4b1(0x1dd))/0x3+-parseInt(_0x42f4b1(0x22b))/0x4*(-parseInt(_0x42f4b1(0x188))/0x5)+parseInt(_0x42f4b1(0x1a8))/0x6*(parseInt(_0x42f4b1(0x216))/0x7)+parseInt(_0x42f4b1(0x1d9))/0x8+parseInt(_0x42f4b1(0x1e1))/0x9+-parseInt(_0x42f4b1(0x177))/0xa;if(_0x2a5574===_0x56f6df)break;else _0x597ca1['push'](_0x597ca1['shift']());}catch(_0x532568){_0x597ca1['push'](_0x597ca1['shift']());}}}(_0x13bb,0xeaf1c));import{Plugin as _0x2b7eb6,PendingActions as _0x5892c1}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e963f,version as _0x41c13d,uid as _0x23f074}from'ckeditor5/src/utils.js';import{Notification as _0x2c7439}from'ckeditor5/src/ui.js';import{transformSets as _0x12efd5,NoOperation as _0x2ac866,InsertOperation as _0xb3b87a,MarkerOperation as _0x297f3e,RootAttributeOperation as _0x3db5d7,OperationFactory as _0x3fb671,History as _0x557a3b}from'ckeditor5/src/engine.js';import _0x52e6e4 from'./websocketgateway.js';import _0xd100e5 from'./sessions.js';import _0x722cb8 from'./usermarkers.js';import{getTranslation as _0x448702}from'../common-translations.js';function _0x1013(_0x2af7e3,_0x4b9737){const _0x13bb26=_0x13bb();return _0x1013=function(_0x101359,_0x150f02){_0x101359=_0x101359-0x165;let _0x10906f=_0x13bb26[_0x101359];return _0x10906f;},_0x1013(_0x2af7e3,_0x4b9737);}import{Compressor as _0x1a6295}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x9a6531}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4c25f7,CollaborativeEditingService as _0x57dc9a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Y=0x1;class l extends _0x2b7eb6{static get[_0x3c1cd9(0x211)](){return[_0x52e6e4,_0xd100e5,_0x722cb8,_0x5892c1,_0x9a6531,_0x2c7439];}static get[_0x3c1cd9(0x25e)](){const _0x1e873c=_0x3c1cd9;return _0x1e873c(0x1ae);}get[_0x3c1cd9(0x251)](){const _0x23ff58=_0x3c1cd9;return this[_0x23ff58(0x256)]+this[_0x23ff58(0x202)];}get[_0x3c1cd9(0x256)](){const _0x4bb94f=_0x3c1cd9;return this[_0x4bb94f(0x18b)][_0x4bb94f(0x16d)]-this[_0x4bb94f(0x202)];}get[_0x3c1cd9(0x1b5)](){const _0x2c77ec=_0x3c1cd9,_0x165fe6=this[_0x2c77ec(0x18b)][_0x2c77ec(0x1ca)]();for(let _0xd82e4e=_0x165fe6[_0x2c77ec(0x252)]-0x1;_0xd82e4e>=0x0;_0xd82e4e--){const _0xd4b394=_0x165fe6[_0xd82e4e];if(!this[_0x2c77ec(0x19b)][_0x2c77ec(0x20a)](_0xd4b394))return _0xd4b394[_0x2c77ec(0x173)]+0x1-this[_0x2c77ec(0x202)];}return 0x0;}constructor(_0x2f37e0){const _0x4bfc45=_0x3c1cd9;if(super(_0x2f37e0),this[_0x4bfc45(0x202)]=0x0,this[_0x4bfc45(0x1cd)]=null,this[_0x4bfc45(0x18b)]=new _0x557a3b(),this[_0x4bfc45(0x190)][_0x4bfc45(0x215)][_0x4bfc45(0x23a)](_0x4bfc45(0x208),{}),this[_0x4bfc45(0x18e)]=this[_0x4bfc45(0x190)][_0x4bfc45(0x215)][_0x4bfc45(0x254)](_0x4bfc45(0x200)),!this[_0x4bfc45(0x18e)])throw new _0x3e963f(_0x4bfc45(0x1e5),this);const _0x2212d0=_0x2f37e0[_0x4bfc45(0x215)][_0x4bfc45(0x254)](_0x4bfc45(0x1ba))||_0x41c13d;this[_0x4bfc45(0x235)]=new l[(_0x4bfc45(0x16e))](_0x2212d0,this[_0x4bfc45(0x18e)]),this[_0x4bfc45(0x22e)]=this[_0x4bfc45(0x190)][_0x4bfc45(0x1df)][_0x4bfc45(0x191)],this[_0x4bfc45(0x1e0)]=new _0x1a6295(),this[_0x4bfc45(0x20c)]=[],this[_0x4bfc45(0x19e)]=new WeakSet(),this[_0x4bfc45(0x196)]=new Set(),this[_0x4bfc45(0x239)](_0x4bfc45(0x1f4),!0x1),this[_0x4bfc45(0x239)](_0x4bfc45(0x1bd),!0x1),this[_0x4bfc45(0x185)]=null,this[_0x4bfc45(0x220)]=!0x1,this[_0x4bfc45(0x1f5)]=null,this[_0x4bfc45(0x1a7)]=0x12c,this[_0x4bfc45(0x237)]=this[_0x4bfc45(0x1a7)],this[_0x4bfc45(0x1f6)]=null,this[_0x4bfc45(0x19b)]=new WeakSet(),this[_0x4bfc45(0x243)]=new it(this[_0x4bfc45(0x19b)]);}[_0x3c1cd9(0x210)](){const _0x1055d9=_0x3c1cd9,_0x1f1786=this[_0x1055d9(0x190)],_0x3f03eb=_0x1f1786[_0x1055d9(0x186)][_0x1055d9(0x254)](_0x9a6531),_0x5b1f1c=_0x1f1786[_0x1055d9(0x186)][_0x1055d9(0x254)](_0x52e6e4);this[_0x1055d9(0x19d)](_0x3f03eb,_0x1055d9(0x1ab),(_0xbe2541,_0x17bbd5)=>{const _0x4277f6=_0x1055d9,_0x453f89=_0x17bbd5[0x0];_0x453f89[_0x4277f6(0x1e4)]&&(_0xbe2541[_0x4277f6(0x1f3)]=_0x3f03eb[_0x4277f6(0x234)](_0x453f89[_0x4277f6(0x1e4)]),_0xbe2541[_0x4277f6(0x1eb)]()),null===_0x453f89[_0x4277f6(0x1e4)]&&(_0xbe2541[_0x4277f6(0x1f3)]=null,_0xbe2541[_0x4277f6(0x1eb)]());},{'priority':_0x1055d9(0x1be)}),this[_0x1055d9(0x19d)](_0x1f1786[_0x1055d9(0x1df)][_0x1055d9(0x191)][_0x1055d9(0x1ad)],_0x1055d9(0x1b2),(_0x4032b8,_0x4d924d)=>{const _0x36c261=_0x1055d9;_0x4d924d[_0x36c261(0x16b)]&&this[_0x36c261(0x16c)]();}),this[_0x1055d9(0x19d)](_0x1f1786[_0x1055d9(0x24e)][_0x1055d9(0x19a)],_0x1055d9(0x1fc),()=>{const _0x387d3f=_0x1055d9;this[_0x387d3f(0x16c)]();}),this[_0x1055d9(0x21f)](),_0x1f1786[_0x1055d9(0x1df)]['on'](_0x1055d9(0x1dc),(_0x4201e1,_0x39a110)=>{const _0x10eb6e=_0x1055d9,_0x36b211=_0x39a110[0x0];_0x36b211[_0x10eb6e(0x223)]&&(this[_0x10eb6e(0x20b)](_0x36b211),this[_0x10eb6e(0x181)]()&&this[_0x10eb6e(0x18f)]());}),this[_0x1055d9(0x228)](),this[_0x1055d9(0x226)](_0x1055d9(0x20e))['to'](_0x5b1f1c,_0x1055d9(0x1bf),this,_0x1055d9(0x1bd),(_0x24dc86,_0x10da76)=>_0x1055d9(0x16f)===_0x24dc86&&!_0x10da76),this['on'](_0x1055d9(0x1f7),()=>{const _0x5e44ec=_0x1055d9;this[_0x5e44ec(0x20e)]?_0x1f1786[_0x5e44ec(0x18d)](_0x5e44ec(0x1db)):_0x1f1786[_0x5e44ec(0x217)](_0x5e44ec(0x1db));}),this[_0x1055d9(0x20e)]?_0x1f1786[_0x1055d9(0x18d)](_0x1055d9(0x1db)):_0x1f1786[_0x1055d9(0x217)](_0x1055d9(0x1db)),this[_0x1055d9(0x239)](_0x1055d9(0x1a5),!0x1);}async[_0x3c1cd9(0x1c7)](){const _0x26a0ad=_0x3c1cd9,_0x583118=this[_0x26a0ad(0x190)][_0x26a0ad(0x186)][_0x26a0ad(0x254)](_0xd100e5),_0x44c1da=this[_0x26a0ad(0x190)][_0x26a0ad(0x186)][_0x26a0ad(0x254)](_0x52e6e4);try{this[_0x26a0ad(0x1f4)]=!0x0,_0x583118[_0x26a0ad(0x1fb)](this[_0x26a0ad(0x18e)]);const _0x4d7ae3=await this[_0x26a0ad(0x235)][_0x26a0ad(0x1c7)](_0x44c1da[_0x26a0ad(0x20f)],this[_0x26a0ad(0x1b5)]);await this[_0x26a0ad(0x263)](_0x4d7ae3)&&(this[_0x26a0ad(0x1f4)]=!0x1,this[_0x26a0ad(0x168)]());const _0x4d1bf1=await this[_0x26a0ad(0x235)][_0x26a0ad(0x248)]();_0x583118[_0x26a0ad(0x1e7)](this[_0x26a0ad(0x18e)],_0x4d1bf1),this[_0x26a0ad(0x1b4)](),this[_0x26a0ad(0x1a5)]=!0x0;}catch(_0xc3e397){if(function(_0x3eb957){const _0xaef17c=_0x26a0ad;return _0xaef17c(0x241)===_0x3eb957[_0xaef17c(0x17f)];}(_0xc3e397)&&this[_0x26a0ad(0x1cd)])await this[_0x26a0ad(0x1b8)]();else{if(function(_0x1752cc){const _0x3cdb2a=_0x26a0ad;return _0x3cdb2a(0x22d)===_0x1752cc[_0x3cdb2a(0x17f)];}(_0xc3e397)){const _0x41b237=_0x448702(this[_0x26a0ad(0x190)][_0x26a0ad(0x25c)],_0x26a0ad(0x1f8));this[_0x26a0ad(0x1a1)](_0x41b237);}else{if(!(_0xc3e397 instanceof Z))throw _0xc3e397;this[_0x26a0ad(0x1a1)]();}}}}[_0x3c1cd9(0x1aa)](){const _0xcb024c=_0x3c1cd9,_0x54efcb=this[_0xcb024c(0x190)][_0xcb024c(0x186)][_0xcb024c(0x254)](_0x52e6e4),_0x1fa214=this[_0xcb024c(0x190)][_0xcb024c(0x186)][_0xcb024c(0x254)](_0xd100e5);this[_0xcb024c(0x190)][_0xcb024c(0x217)](_0xcb024c(0x170)),_0x1fa214[_0xcb024c(0x25a)][_0xcb024c(0x20a)](this[_0xcb024c(0x18e)])&&_0x1fa214[_0xcb024c(0x1fb)](this[_0xcb024c(0x18e)]),_0x54efcb[_0xcb024c(0x1c8)](this),this[_0xcb024c(0x225)](),super[_0xcb024c(0x1aa)]();}async[_0x3c1cd9(0x263)](_0x5d104c){const _0x2402ad=_0x3c1cd9;if(this[_0x2402ad(0x1cd)]!==_0x5d104c[_0x2402ad(0x1cd)]&&this[_0x2402ad(0x1f6)]!==_0x5d104c[_0x2402ad(0x1c0)])throw new Z();return this[_0x2402ad(0x1cd)]=_0x5d104c[_0x2402ad(0x1cd)],this[_0x2402ad(0x194)]([],{..._0x5d104c,'wereChangesApplied':!0x1,'data':_0x5d104c[_0x2402ad(0x204)]},_0x2402ad(0x1c7));}async[_0x3c1cd9(0x1e3)](_0xb6b6e2,_0x275905=!0x1){const _0x24234b=_0x3c1cd9,{connection:_0x260877}=this[_0x24234b(0x190)][_0x24234b(0x186)][_0x24234b(0x254)](_0x52e6e4);l[_0x24234b(0x16e)][_0x24234b(0x248)](_0x260877,this[_0x24234b(0x18e)])[_0x24234b(0x1ef)](_0x186a41=>this[_0x24234b(0x206)](_0x186a41))[_0x24234b(0x17e)](_0x541c2d=>{const _0x4dd726=_0x24234b;this[_0x4dd726(0x1e8)](_0x4dd726(0x187),_0x541c2d);}),this[_0x24234b(0x19d)](this[_0x24234b(0x235)],_0x24234b(0x1ed),this[_0x24234b(0x1a6)][_0x24234b(0x226)](this)),this[_0x24234b(0x19d)](this[_0x24234b(0x235)],_0x24234b(0x1d5),(_0x16b728,_0x3b299b)=>{const _0x3acdfc=_0x24234b;this[_0x3acdfc(0x1e8)](_0x3acdfc(0x1ce),_0x3b299b);}),this[_0x24234b(0x19d)](this[_0x24234b(0x235)],_0x24234b(0x176),()=>{const _0x597134=_0x24234b;this[_0x597134(0x1a5)]=!0x1;});const _0x14bb4b=this[_0x24234b(0x243)][_0x24234b(0x172)](_0xb6b6e2);this[_0x24234b(0x1f4)]=!0x0;const _0x1ad920=await this[_0x24234b(0x235)][_0x24234b(0x1e9)](_0x260877,this[_0x24234b(0x189)](_0xb6b6e2),_0x14bb4b);if(this[_0x24234b(0x1cd)]=_0x1ad920[_0x24234b(0x1cd)],_0x275905){if(!_0x1ad920[_0x24234b(0x246)])return void this[_0x24234b(0x1a1)]();this[_0x24234b(0x1f4)]=!0x1,this[_0x24234b(0x168)](),this[_0x24234b(0x18b)][_0x24234b(0x1e2)](),this[_0x24234b(0x202)]=_0x1ad920[_0x24234b(0x182)],this[_0x24234b(0x18b)][_0x24234b(0x16d)]=this[_0x24234b(0x202)],await this[_0x24234b(0x194)](_0xb6b6e2,_0x1ad920,_0x24234b(0x232));}else await this[_0x24234b(0x1b1)](_0x1ad920,_0xb6b6e2);this[_0x24234b(0x1b4)](),this[_0x24234b(0x1a5)]=!0x0;}[_0x3c1cd9(0x1b4)](){const _0x4e8057=_0x3c1cd9,_0x2e6252=this[_0x4e8057(0x190)][_0x4e8057(0x186)][_0x4e8057(0x254)](_0xd100e5),_0x2b2eac=this[_0x4e8057(0x190)][_0x4e8057(0x186)][_0x4e8057(0x254)](_0x722cb8),_0x2cc098=_0x2e6252[_0x4e8057(0x25a)][_0x4e8057(0x254)](this[_0x4e8057(0x18e)]);_0x2cc098&&_0x2cc098[_0x4e8057(0x252)]>0x1?_0x2b2eac[_0x4e8057(0x17c)]():this[_0x4e8057(0x19d)](_0x2e6252,_0x4e8057(0x214)+this[_0x4e8057(0x18e)],()=>{const _0x1850fa=_0x4e8057;0x2===_0x2e6252[_0x1850fa(0x25a)][_0x1850fa(0x254)](this[_0x1850fa(0x18e)])[_0x1850fa(0x252)]&&_0x2b2eac[_0x1850fa(0x17c)]();});}async[_0x3c1cd9(0x1a6)](_0x4d7880,_0x23f856,_0x3c1c7e,_0x524a4f){const _0x21c340=_0x3c1cd9;if(!this[_0x21c340(0x1f4)]&&this[_0x21c340(0x22e)][_0x21c340(0x16d)]==_0x23f856){const _0xb6fd53=this[_0x21c340(0x179)](_0x3c1c7e,_0x524a4f);await this[_0x21c340(0x1cf)](_0xb6fd53),this[_0x21c340(0x1a0)](_0xb6fd53,_0x23f856,_0x3c1c7e[_0x21c340(0x1c0)])||this[_0x21c340(0x1e8)](_0x21c340(0x199));}}async[_0x3c1cd9(0x1b8)](){const _0x358756=_0x3c1cd9;this[_0x358756(0x225)]();const {locale:_0x2da0e8}=this[_0x358756(0x190)];let _0x30e5ef;try{_0x30e5ef=await this[_0x358756(0x235)][_0x358756(0x20d)]();}catch(_0x219bf6){const _0x1a1a21=_0x448702(_0x2da0e8,_0x358756(0x222));return void this[_0x358756(0x1a1)](_0x1a1a21);}const _0x206cb9=_0x30e5ef[_0x358756(0x207)]||_0x30e5ef[_0x358756(0x1cb)];if(this[_0x358756(0x1f6)]===_0x206cb9[_0x358756(0x1c0)])await this[_0x358756(0x1e3)](this[_0x358756(0x190)][_0x358756(0x1df)][_0x358756(0x191)][_0x358756(0x1c6)][_0x358756(0x1ca)](),!0x0);else{const _0x9804e9=_0x448702(_0x2da0e8,_0x358756(0x169));this[_0x358756(0x1a1)](_0x9804e9);}}[_0x3c1cd9(0x225)](){const _0x3056c7=_0x3c1cd9;this[_0x3056c7(0x235)][_0x3056c7(0x230)](),this[_0x3056c7(0x20c)]=[],clearTimeout(this[_0x3056c7(0x1f5)]),this[_0x3056c7(0x22f)](this[_0x3056c7(0x235)]);}[_0x3c1cd9(0x206)](_0x37bddb){const _0x5573c8=_0x3c1cd9,_0x1e5096=this[_0x5573c8(0x190)][_0x5573c8(0x186)][_0x5573c8(0x254)](_0xd100e5);this[_0x5573c8(0x19d)](_0x1e5096,_0x5573c8(0x214)+this[_0x5573c8(0x18e)],(_0x5eeb10,{session:_0x14f5ef})=>{const _0x965609=_0x5573c8;if(_0x14f5ef['id']===_0x1e5096[_0x965609(0x1c1)]){_0x5eeb10[_0x965609(0x209)]();const _0x303306=this[_0x965609(0x190)][_0x965609(0x186)][_0x965609(0x20a)](_0x965609(0x250))&&this[_0x965609(0x190)][_0x965609(0x186)][_0x965609(0x254)](_0x965609(0x250));let _0x23ed2a=_0x14f5ef[_0x965609(0x258)];_0x303306&&_0x303306[_0x965609(0x23d)]&&(_0x23ed2a=_0x23ed2a[_0x965609(0x22a)](_0x445481=>_0x965609(0x24a)!==_0x445481)),this[_0x965609(0x190)][_0x965609(0x186)][_0x965609(0x254)](_0x965609(0x1e6))[_0x965609(0x165)](_0x23ed2a,this[_0x965609(0x18e)]);}}),_0x1e5096[_0x5573c8(0x1e7)](this[_0x5573c8(0x18e)],_0x37bddb);}[_0x3c1cd9(0x21f)](){const _0x3373df=_0x3c1cd9,_0xf17cbf=this[_0x3373df(0x190)][_0x3373df(0x204)][_0x3373df(0x239)];this[_0x3373df(0x190)][_0x3373df(0x204)][_0x3373df(0x239)]=(..._0x218cc6)=>{const _0x5d9352=_0x3373df;if(!_0x218cc6[_0x218cc6[_0x5d9352(0x252)]-0x1][_0x5d9352(0x255)])throw new _0x3e963f(_0x5d9352(0x262),this);_0xf17cbf[_0x5d9352(0x1d0)](this[_0x5d9352(0x190)][_0x5d9352(0x204)],_0x218cc6);};}[_0x3c1cd9(0x228)](){const _0x1c3388=_0x3c1cd9;this[_0x1c3388(0x190)][_0x1c3388(0x204)]['on'](_0x1c3388(0x210),(_0x4081c0,[_0x2c484b])=>{const _0x5cb5d1=_0x1c3388;if(this[_0x5cb5d1(0x22e)][_0x5cb5d1(0x16d)])throw new _0x3e963f(_0x5cb5d1(0x1ff),this);_0x4081c0[_0x5cb5d1(0x1eb)](),this[_0x5cb5d1(0x1cc)]();const _0x5bcb87=this[_0x5cb5d1(0x190)][_0x5cb5d1(0x215)][_0x5cb5d1(0x254)](_0x5cb5d1(0x24b)),_0xf20f85=this[_0x5cb5d1(0x184)](_0x2c484b,_0x5bcb87);0x0==_0xf20f85[_0x5cb5d1(0x252)]&&_0xf20f85[_0x5cb5d1(0x17a)](new _0x2ac866(0x0)),_0x4081c0[_0x5cb5d1(0x1f3)]=this[_0x5cb5d1(0x1e3)](_0xf20f85)[_0x5cb5d1(0x1ef)](()=>{const _0x56820e=_0x5cb5d1;this[_0x56820e(0x190)][_0x56820e(0x186)][_0x56820e(0x254)](_0x52e6e4)[_0x56820e(0x224)](this),this[_0x56820e(0x190)][_0x56820e(0x204)][_0x56820e(0x219)](_0x56820e(0x1f2));})[_0x5cb5d1(0x17e)](_0x1f809e=>this[_0x5cb5d1(0x1e8)](_0x5cb5d1(0x236),_0x1f809e))[_0x5cb5d1(0x17b)](()=>this[_0x5cb5d1(0x168)]());},{'priority':_0x1c3388(0x1be)}),this[_0x1c3388(0x190)]['on'](_0x1c3388(0x231),async(_0x28542a,[_0x431f29,_0x3d518c])=>{const _0x1143ac=_0x1c3388;_0x28542a[_0x1143ac(0x1eb)]();const _0xf0c82a=this[_0x1143ac(0x190)][_0x1143ac(0x1df)][_0x1143ac(0x191)][_0x1143ac(0x21c)](_0x431f29);if(!this[_0x1143ac(0x196)][_0x1143ac(0x20a)](_0x431f29)){const _0x53e571=_0x3d518c&&_0x3d518c[_0x1143ac(0x204)]?_0x3d518c[_0x1143ac(0x204)]:'',_0x23c2bc=_0x3d518c&&_0x3d518c[_0x1143ac(0x24f)]?_0x3d518c[_0x1143ac(0x24f)]:{};await this[_0x1143ac(0x1bb)](_0x431f29,_0x53e571,_0x23c2bc);}this[_0x1143ac(0x190)][_0x1143ac(0x1df)][_0x1143ac(0x218)]({'isUndoable':!0x1},()=>{const _0x19ceaf=_0x1143ac;_0xf0c82a[_0x19ceaf(0x21a)]=!0x0,this[_0x19ceaf(0x190)][_0x19ceaf(0x1df)][_0x19ceaf(0x191)][_0x19ceaf(0x183)][_0x19ceaf(0x198)](_0xf0c82a);});},{'priority':_0x1c3388(0x1be)});}async[_0x3c1cd9(0x1cf)](_0x457748){const _0x29dadc=_0x3c1cd9,_0x1fd485=this[_0x29dadc(0x190)][_0x29dadc(0x186)][_0x29dadc(0x254)](_0x9a6531),{connection:_0x23f96f}=this[_0x29dadc(0x190)][_0x29dadc(0x186)][_0x29dadc(0x254)](_0x52e6e4),_0x6cfb72=new Set();for(const _0x40db34 of _0x457748){const _0x7e86fc=_0x40db34[_0x29dadc(0x1e4)];_0x7e86fc&&!_0x1fd485[_0x29dadc(0x234)](_0x7e86fc)&&_0x6cfb72[_0x29dadc(0x264)](_0x7e86fc);}if(0x0===_0x6cfb72[_0x29dadc(0x249)])return;const _0x39059f=await _0x4c25f7[_0x29dadc(0x23c)](_0x23f96f,Array[_0x29dadc(0x205)](_0x6cfb72));for(const _0x1e12a3 of _0x39059f)_0x1fd485[_0x29dadc(0x234)](_0x1e12a3['id'])||_0x1fd485[_0x29dadc(0x195)](_0x1e12a3);}[_0x3c1cd9(0x184)](_0x30987c,_0x5608c3={}){const _0x108e46=_0x3c1cd9,_0x15a604=this[_0x108e46(0x190)][_0x108e46(0x1df)],_0x48222d=[];let _0x46a6a2=0x0;const _0x2d0885=_0x108e46(0x1a3)==typeof _0x30987c?{'main':_0x30987c}:_0x30987c;for(const _0x53d39c of Object[_0x108e46(0x1b9)](_0x2d0885)){if(!this[_0x108e46(0x22e)][_0x108e46(0x18c)][_0x108e46(0x20a)](_0x53d39c))throw new _0x3e963f(_0x108e46(0x261),this);const _0xe9d9a7=this[_0x108e46(0x190)][_0x108e46(0x204)][_0x108e46(0x23b)](_0x2d0885[_0x53d39c]),_0x5c7574=this[_0x108e46(0x22e)][_0x108e46(0x21c)](_0x53d39c),_0x387081=new _0xb3b87a(_0x15a604[_0x108e46(0x253)](_0x5c7574,0x0),_0xe9d9a7,_0x46a6a2++);_0x48222d[_0x108e46(0x17a)](_0x387081);for(const [_0x2d34a3,_0x34e6b9]of _0xe9d9a7[_0x108e46(0x1d3)]){const _0x402fc7=_0x15a604[_0x108e46(0x23e)](_0x15a604[_0x108e46(0x1d6)](_0x5c7574,_0x34e6b9[_0x108e46(0x21e)][_0x108e46(0x25f)][_0x108e46(0x171)]()),_0x15a604[_0x108e46(0x1d6)](_0x5c7574,_0x34e6b9[_0x108e46(0x22c)][_0x108e46(0x25f)][_0x108e46(0x171)]())),_0x5cfd6e=new _0x297f3e(_0x2d34a3,null,_0x402fc7,_0x15a604[_0x108e46(0x1d3)],!0x0,_0x46a6a2++);_0x48222d[_0x108e46(0x17a)](_0x5cfd6e);}}if(_0x5608c3)for(const [_0x1ad0d6,_0x1a1922]of Object[_0x108e46(0x1a2)](_0x5608c3)){const _0x5cbd0a=_0x15a604[_0x108e46(0x191)][_0x108e46(0x21c)](_0x1ad0d6);if(!_0x5cbd0a)throw new _0x3e963f(_0x108e46(0x1de),null);for(const [_0x2ebd38,_0x13cf7a]of Object[_0x108e46(0x1a2)](_0x1a1922))if(null!==_0x13cf7a){const _0x194a7e=new _0x3db5d7(_0x5cbd0a,_0x2ebd38,null,_0x13cf7a,_0x46a6a2++);_0x48222d[_0x108e46(0x17a)](_0x194a7e);}}return _0x48222d;}async[_0x3c1cd9(0x1bb)](_0xfacfd9,_0x583fe9,_0x522a7d){const _0xa56340=_0x3c1cd9;this[_0xa56340(0x184)]({[_0xfacfd9]:_0x583fe9},{[_0xfacfd9]:_0x522a7d})[_0xa56340(0x24d)]((_0x459929,_0x312a2f)=>{const _0x3acc27=_0xa56340;_0x459929[_0x3acc27(0x173)]=this[_0x3acc27(0x22e)][_0x3acc27(0x16d)]+_0x312a2f,_0x459929[_0x3acc27(0x203)]=!0x0,this[_0x3acc27(0x20b)](_0x459929);}),this[_0xa56340(0x18f)](),await this[_0xa56340(0x1ee)]();}async[_0x3c1cd9(0x1b1)](_0x2ef60e,_0x202480){const _0x5a2244=_0x3c1cd9;let _0x1b9737;this[_0x5a2244(0x202)]=_0x2ef60e[_0x5a2244(0x182)];const _0x2ad94f=_0x2ef60e[_0x5a2244(0x246)]&&!_0x2ef60e[_0x5a2244(0x25d)],_0x22cfbc=_0x2ad94f?0x0:_0x2ef60e[_0x5a2244(0x204)][_0x5a2244(0x173)];if(_0x202480[_0x5a2244(0x24d)](_0x35562a=>{const _0x3f6a22=_0x5a2244;_0x35562a[_0x3f6a22(0x203)]=!0x0,_0x35562a[_0x3f6a22(0x265)]=_0x2ef60e[_0x3f6a22(0x247)],_0x35562a[_0x3f6a22(0x1e4)]=null;}),_0x2ad94f)_0x1b9737=_0x202480,this[_0x5a2244(0x1ac)](_0x1b9737,_0x2ad94f);else{if(_0x2ef60e[_0x5a2244(0x25d)]){const _0x2dbb16=this[_0x5a2244(0x184)](_0x2ef60e[_0x5a2244(0x25d)]);this[_0x5a2244(0x22e)][_0x5a2244(0x1c6)][_0x5a2244(0x16d)]=-_0x2dbb16[_0x5a2244(0x252)],_0x2dbb16[_0x5a2244(0x24d)](_0x1ef85b=>{const _0x5c03f4=_0x5a2244;_0x1ef85b[_0x5c03f4(0x173)]-=_0x2dbb16[_0x5c03f4(0x252)],_0x1ef85b[_0x5c03f4(0x265)]=_0x2ef60e[_0x5c03f4(0x247)],_0x1ef85b[_0x5c03f4(0x203)]=!0x0,_0x1ef85b[_0x5c03f4(0x1e4)]=null;}),this[_0x5a2244(0x1ac)](_0x2dbb16,!0x0),this[_0x5a2244(0x18b)][_0x5a2244(0x16d)]=-_0x2dbb16[_0x5a2244(0x252)]+this[_0x5a2244(0x202)],this[_0x5a2244(0x213)](_0x2dbb16);}this[_0x5a2244(0x22e)][_0x5a2244(0x1c6)][_0x5a2244(0x16d)]=_0x22cfbc,_0x1b9737=this[_0x5a2244(0x179)](_0x2ef60e[_0x5a2244(0x204)],_0x2ef60e[_0x5a2244(0x245)]),await this[_0x5a2244(0x1cf)](_0x1b9737),this[_0x5a2244(0x1ac)](_0x1b9737,_0x2ad94f);}_0x2ef60e[_0x5a2244(0x1c0)]&&(this[_0x5a2244(0x243)][_0x5a2244(0x1d8)](_0x1b9737,_0x2ef60e[_0x5a2244(0x1c0)]),this[_0x5a2244(0x1f6)]=_0x2ef60e[_0x5a2244(0x1c0)]),this[_0x5a2244(0x18b)][_0x5a2244(0x16d)]=_0x22cfbc+this[_0x5a2244(0x202)],this[_0x5a2244(0x213)](_0x1b9737),_0x202480[_0x5a2244(0x22a)](_0x5e486a=>{const _0x32804b=_0x5a2244,_0x541c44=this[_0x32804b(0x192)](_0x5e486a);return _0x541c44&&!this[_0x32804b(0x196)][_0x32804b(0x20a)](_0x541c44);})[_0x5a2244(0x24d)]((_0x1e23b6,_0x59f214)=>{const _0x151212=_0x5a2244;_0x1e23b6[_0x151212(0x173)]=this[_0x151212(0x22e)][_0x151212(0x16d)]+_0x59f214,this[_0x151212(0x20b)](_0x1e23b6);}),this[_0x5a2244(0x181)]()?(this[_0x5a2244(0x237)]=0x0,this[_0x5a2244(0x18f)](!0x0),await this[_0x5a2244(0x1ee)]()):(this[_0x5a2244(0x1f4)]=!0x1,this[_0x5a2244(0x168)]());}[_0x3c1cd9(0x1e8)](_0x428156,_0x236c1a){const _0x44a61d=_0x3c1cd9;throw this[_0x44a61d(0x1f4)]=!0x0,_0x236c1a&&console[_0x44a61d(0x1d5)](_0x236c1a),new _0x3e963f(_0x428156,this[_0x44a61d(0x190)]);}[_0x3c1cd9(0x20b)](_0x1715ac){const _0x4e2eb8=_0x3c1cd9;this[_0x4e2eb8(0x19e)][_0x4e2eb8(0x20a)](_0x1715ac)||(this[_0x4e2eb8(0x19e)][_0x4e2eb8(0x264)](_0x1715ac),this[_0x4e2eb8(0x20c)][_0x4e2eb8(0x17a)](_0x1715ac),this[_0x4e2eb8(0x185)]||_0x4e2eb8(0x257)==_0x1715ac[_0x4e2eb8(0x259)]&&!_0x1715ac[_0x4e2eb8(0x1d4)]||this[_0x4e2eb8(0x1cc)]());}[_0x3c1cd9(0x18f)](_0x29eaec=!0x1){const _0x2ac546=_0x3c1cd9;!_0x29eaec&&this[_0x2ac546(0x1f4)]||(this[_0x2ac546(0x1f4)]=!0x0,clearTimeout(this[_0x2ac546(0x1f5)]),this[_0x2ac546(0x1f5)]=setTimeout(()=>{const _0x182a3=_0x2ac546;this[_0x182a3(0x1c5)]()[_0x182a3(0x1ef)](_0x662626=>{const _0xba3141=_0x182a3;_0x662626&&(this[_0xba3141(0x168)](),this[_0xba3141(0x1f4)]=!0x1);})[_0x182a3(0x17e)](_0x2a7548=>{const _0x201baa=_0x182a3;if(this[_0x201baa(0x168)](),this[_0x201baa(0x1f4)]=!0x1,!function(_0x15d45d){const _0x2321ef=_0x201baa;return _0x15d45d[_0x2321ef(0x242)][_0x2321ef(0x201)](_0x2321ef(0x266))||_0x15d45d[_0x2321ef(0x242)][_0x2321ef(0x201)](_0x2321ef(0x212))||_0x15d45d[_0x2321ef(0x242)][_0x2321ef(0x201)](_0x2321ef(0x1fe));}(_0x2a7548))throw _0x2a7548;});},this[_0x2ac546(0x237)]));}[_0x3c1cd9(0x1ee)](){return new Promise(_0x15076e=>{const _0x450696=_0x1013;this['on'](_0x450696(0x1b6),()=>{_0x15076e();});});}async[_0x3c1cd9(0x1c5)](){const _0x4b33c2=_0x3c1cd9,_0x5d53a7=this[_0x4b33c2(0x190)][_0x4b33c2(0x186)][_0x4b33c2(0x254)](_0x722cb8);if(this[_0x4b33c2(0x167)]()&&(_0x5d53a7[_0x4b33c2(0x17c)](),this[_0x4b33c2(0x220)]=!0x1),!this[_0x4b33c2(0x181)]())return!0x0;const _0xf07a9f=[...this[_0x4b33c2(0x20c)]];for(const _0xacd410 of _0xf07a9f)_0xacd410[_0x4b33c2(0x197)]=this[_0x4b33c2(0x22e)][_0x4b33c2(0x1c6)][_0x4b33c2(0x25b)](_0xacd410);const _0x311328=this[_0x4b33c2(0x243)][_0x4b33c2(0x172)](_0xf07a9f),_0x1d502a=Y++,_0x48bd95=this[_0x4b33c2(0x189)](_0xf07a9f),_0x2252e1=await this[_0x4b33c2(0x235)][_0x4b33c2(0x233)](_0x48bd95,_0x48bd95[_0x4b33c2(0x173)],_0x311328);try{return await this[_0x4b33c2(0x194)](_0xf07a9f,_0x2252e1,_0x1d502a);}catch(_0x140e92){return this[_0x4b33c2(0x1e8)](_0x4b33c2(0x175),_0x140e92);}}async[_0x3c1cd9(0x194)](_0x18c84c,_0x12175d,_0x420d50){const _0x19c1a0=_0x3c1cd9;if(_0x19c1a0(0x1d5)in _0x12175d)throw _0x12175d[_0x19c1a0(0x1d5)];let _0x41970b=!0x1;if(_0x12175d[_0x19c1a0(0x246)]){_0x12175d[_0x19c1a0(0x1c0)]&&(this[_0x19c1a0(0x1f6)]=_0x12175d[_0x19c1a0(0x1c0)]),this[_0x19c1a0(0x20c)]=this[_0x19c1a0(0x20c)][_0x19c1a0(0x22a)](_0x4bc572=>!_0x18c84c[_0x19c1a0(0x1c2)](_0x4bc572));for(const _0x2df506 of _0x18c84c)_0x2df506[_0x19c1a0(0x265)]=_0x19c1a0(0x221)in _0x12175d&&_0x12175d[_0x19c1a0(0x221)]||void 0x0;tt(_0x18c84c,_0x12175d[_0x19c1a0(0x16d)]-_0x18c84c[_0x19c1a0(0x252)]),this[_0x19c1a0(0x213)](_0x18c84c);const _0x1d0ae0=_0x18c84c[_0x19c1a0(0x22a)](_0x14f2e7=>{const _0x26d24a=_0x19c1a0;if(!_0x14f2e7[_0x26d24a(0x203)])return!0x1;const _0x4b20da=this[_0x26d24a(0x192)](_0x14f2e7);return _0x4b20da&&!this[_0x26d24a(0x196)][_0x26d24a(0x20a)](_0x4b20da);});tt(_0x1d0ae0,this[_0x19c1a0(0x22e)][_0x19c1a0(0x16d)]),this[_0x19c1a0(0x1ac)](_0x1d0ae0),_0x41970b=!0x0,this[_0x19c1a0(0x237)]=this[_0x19c1a0(0x1a7)];}else{const _0x54bba2=this[_0x19c1a0(0x179)](_0x12175d[_0x19c1a0(0x204)],_0x12175d[_0x19c1a0(0x245)])[_0x19c1a0(0x22a)](_0xf608c4=>_0xf608c4[_0x19c1a0(0x173)]>=this[_0x19c1a0(0x256)]);_0x54bba2[_0x19c1a0(0x24d)](_0x465d18=>this[_0x19c1a0(0x193)](_0x465d18)),this[_0x19c1a0(0x20c)]=this[_0x19c1a0(0x20c)][_0x19c1a0(0x22a)](_0xa46324=>!_0xa46324[_0x19c1a0(0x203)]||!this[_0x19c1a0(0x196)][_0x19c1a0(0x20a)](this[_0x19c1a0(0x192)](_0xa46324))),this[_0x19c1a0(0x20c)][_0x19c1a0(0x252)]&&tt(this[_0x19c1a0(0x20c)],this[_0x19c1a0(0x20c)][0x0][_0x19c1a0(0x173)]),await this[_0x19c1a0(0x1cf)](_0x54bba2),_0x41970b=this[_0x19c1a0(0x1a0)](_0x54bba2,_0x12175d[_0x19c1a0(0x16d)],_0x12175d[_0x19c1a0(0x1c0)]),this[_0x19c1a0(0x237)]=Math[_0x19c1a0(0x1f9)](this[_0x19c1a0(0x237)]/0x2);}return _0x41970b?!this[_0x19c1a0(0x181)]()||(this[_0x19c1a0(0x18f)](!0x0),!0x1):this[_0x19c1a0(0x1e8)](_0x19c1a0(0x1da));}[_0x3c1cd9(0x1a0)](_0x459ae3,_0x555bd3,_0x10dd1e){const _0x1080c8=_0x3c1cd9;try{const _0x228e6a={'document':this[_0x1080c8(0x22e)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1e3255,operationsB:_0xde53b3,originalOperations:_0x55c648}=_0x12efd5(_0x459ae3,this[_0x1080c8(0x20c)],_0x228e6a);tt(_0x1e3255,this[_0x1080c8(0x22e)][_0x1080c8(0x16d)]),tt(_0xde53b3,_0x555bd3);for(const _0xf73be9 of _0x1e3255){const _0x29f039=_0x55c648[_0x1080c8(0x254)](_0xf73be9);_0xf73be9[_0x1080c8(0x1e4)]=_0x29f039?_0x29f039[_0x1080c8(0x1e4)]:null;}_0x10dd1e&&(this[_0x1080c8(0x243)][_0x1080c8(0x1d8)](_0x459ae3,_0x10dd1e),this[_0x1080c8(0x1f6)]=_0x10dd1e),this[_0x1080c8(0x20c)]=[..._0xde53b3],this[_0x1080c8(0x1ac)](_0x1e3255),this[_0x1080c8(0x213)](_0x459ae3);}catch(_0x5ac263){return console[_0x1080c8(0x1d5)](_0x5ac263),!0x1;}return!0x0;}[_0x3c1cd9(0x1ac)](_0x286ab7,_0x4d2e92=!0x1){const _0x459fa5=_0x3c1cd9;this[_0x459fa5(0x190)][_0x459fa5(0x1df)][_0x459fa5(0x218)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3d3109=>{const _0x4752c6=_0x459fa5;for(const _0x3c0bd4 of _0x286ab7)this[_0x4752c6(0x19e)][_0x4752c6(0x264)](_0x3c0bd4),this[_0x4752c6(0x193)](_0x3c0bd4),_0x3d3109[_0x4752c6(0x1af)][_0x4752c6(0x238)](_0x3c0bd4),this[_0x4752c6(0x190)][_0x4752c6(0x1df)][_0x4752c6(0x1dc)](_0x3c0bd4);});}[_0x3c1cd9(0x193)](_0x1adef5){const _0x249dc4=_0x3c1cd9,_0x514644=this[_0x249dc4(0x192)](_0x1adef5);_0x514644&&this[_0x249dc4(0x196)][_0x249dc4(0x264)](_0x514644);}[_0x3c1cd9(0x192)](_0x245a85){const _0x8cb390=_0x3c1cd9;let _0x30b0de,_0x11c8e0;switch(_0x245a85[_0x8cb390(0x259)]){case _0x8cb390(0x1a4):_0x30b0de=_0x245a85[_0x8cb390(0x1bc)][_0x8cb390(0x1a9)];break;case _0x8cb390(0x257):if(_0x11c8e0=_0x245a85[_0x8cb390(0x19c)],!_0x11c8e0)return null;_0x30b0de=_0x11c8e0[_0x8cb390(0x1a9)];break;case _0x8cb390(0x260):_0x30b0de=_0x245a85[_0x8cb390(0x1a9)];break;case _0x8cb390(0x1f0):_0x30b0de=_0x245a85[_0x8cb390(0x1d7)];break;case _0x8cb390(0x21d):_0x30b0de=_0x245a85[_0x8cb390(0x1c3)][_0x8cb390(0x1a9)];break;default:return null;}return _0x30b0de[_0x8cb390(0x174)];}[_0x3c1cd9(0x213)](_0x28fdbc){const _0x379259=_0x3c1cd9;_0x28fdbc[_0x379259(0x24d)](_0x26aeb7=>{const _0x22a739=_0x379259,_0x5745d5=_0x26aeb7[_0x22a739(0x1c9)]();_0x5745d5[_0x22a739(0x1e4)]=_0x26aeb7[_0x22a739(0x1e4)],_0x5745d5[_0x22a739(0x203)]=!!_0x26aeb7[_0x22a739(0x203)],_0x5745d5[_0x22a739(0x265)]=_0x26aeb7[_0x22a739(0x265)],_0x5745d5[_0x22a739(0x173)]+=this[_0x22a739(0x202)],_0x26aeb7[_0x22a739(0x1fd)]&&this[_0x22a739(0x19b)][_0x22a739(0x264)](_0x5745d5),this[_0x22a739(0x18b)][_0x22a739(0x238)](_0x5745d5);});}[_0x3c1cd9(0x1a1)](_0x533b93){const _0x3d1cc2=_0x3c1cd9,_0x5bb2ed=this[_0x3d1cc2(0x190)][_0x3d1cc2(0x186)][_0x3d1cc2(0x254)](_0x3d1cc2(0x1ec)),_0x493f98=this[_0x3d1cc2(0x190)][_0x3d1cc2(0x25c)];_0x533b93||(_0x533b93=_0x448702(_0x493f98,_0x3d1cc2(0x16a))),_0x5bb2ed[_0x3d1cc2(0x166)](_0x533b93,{'title':_0x448702(_0x493f98,_0x3d1cc2(0x180)),'namespace':_0x3d1cc2(0x1ea)}),this[_0x3d1cc2(0x1bd)]=!0x0,clearTimeout(this[_0x3d1cc2(0x1f5)]),this[_0x3d1cc2(0x20c)]=[],this[_0x3d1cc2(0x190)][_0x3d1cc2(0x186)][_0x3d1cc2(0x254)](_0x52e6e4)[_0x3d1cc2(0x1aa)]();}[_0x3c1cd9(0x1cc)](){const _0x48bd84=_0x3c1cd9;this[_0x48bd84(0x185)]||(this[_0x48bd84(0x185)]=this[_0x48bd84(0x190)][_0x48bd84(0x186)][_0x48bd84(0x254)](_0x5892c1)[_0x48bd84(0x264)](_0x448702(this[_0x48bd84(0x190)][_0x48bd84(0x25c)],_0x48bd84(0x17d))));}[_0x3c1cd9(0x168)](){const _0x586c8d=_0x3c1cd9;this[_0x586c8d(0x185)]&&(this[_0x586c8d(0x190)][_0x586c8d(0x186)][_0x586c8d(0x254)](_0x5892c1)[_0x586c8d(0x178)](this[_0x586c8d(0x185)]),this[_0x586c8d(0x185)]=null);}[_0x3c1cd9(0x189)](_0x158f3a){const _0x3b66e2=_0x3c1cd9,_0x3154f8=_0x158f3a[_0x3b66e2(0x19f)](_0x2f21e6=>_0x2f21e6[_0x3b66e2(0x1d2)]());return this[_0x3b66e2(0x1e0)][_0x3b66e2(0x1fa)](_0x3154f8);}[_0x3c1cd9(0x179)](_0x2eca22,_0x54d6fb){const _0x46da92=_0x3c1cd9;return this[_0x46da92(0x1e0)][_0x46da92(0x1b3)](_0x2eca22)[_0x46da92(0x19f)]((_0x4c99e8,_0x234f5a)=>{const _0x3166d7=_0x46da92,_0x36e2f1=_0x3166d7(0x210)==_0x54d6fb[_0x234f5a][_0x3166d7(0x259)];if(_0x3166d7(0x229)==_0x4c99e8[_0x3166d7(0x1b0)]){const _0x869b8f=_0x4c99e8[_0x3166d7(0x1bc)][_0x3166d7(0x1a9)];!this[_0x3166d7(0x22e)][_0x3166d7(0x21c)](_0x869b8f)&&(this[_0x3166d7(0x22e)][_0x3166d7(0x18a)](_0x3166d7(0x21b),_0x869b8f)[_0x3166d7(0x23f)]=!0x1);}const _0xc61f6c=_0x3fb671[_0x3166d7(0x244)](_0x4c99e8,this[_0x3166d7(0x22e)]);return _0xc61f6c[_0x3166d7(0x197)]=_0x4c99e8[_0x3166d7(0x197)],_0xc61f6c[_0x3166d7(0x203)]=_0x36e2f1,_0xc61f6c[_0x3166d7(0x1e4)]=_0x36e2f1?null:_0x54d6fb[_0x234f5a][_0x3166d7(0x1f1)],_0xc61f6c[_0x3166d7(0x1fd)]=_0x3166d7(0x1c4)===_0x54d6fb[_0x234f5a][_0x3166d7(0x259)],_0xc61f6c[_0x3166d7(0x265)]=_0x54d6fb[_0x234f5a][_0x3166d7(0x265)],_0xc61f6c;});}[_0x3c1cd9(0x16c)](){const _0x2da2a4=_0x3c1cd9;this[_0x2da2a4(0x220)]=!0x0,this[_0x2da2a4(0x167)]()?this[_0x2da2a4(0x18f)]():this[_0x2da2a4(0x220)]=!0x1;}[_0x3c1cd9(0x167)](){const _0x2aef09=_0x3c1cd9,_0x2967d5=this[_0x2aef09(0x190)][_0x2aef09(0x186)][_0x2aef09(0x254)](_0xd100e5)[_0x2aef09(0x25a)][_0x2aef09(0x254)](this[_0x2aef09(0x18e)]);return!this[_0x2aef09(0x190)][_0x2aef09(0x227)]&&!!_0x2967d5&&_0x2967d5[_0x2aef09(0x252)]>0x1&&this[_0x2aef09(0x220)];}[_0x3c1cd9(0x181)](){const _0x36c0d6=_0x3c1cd9;return this[_0x36c0d6(0x20c)][_0x36c0d6(0x252)]>0x0||this[_0x36c0d6(0x167)]();}}l[_0x3c1cd9(0x16e)]=_0x57dc9a;export default l;class Z extends Error{}function tt(_0x458cbe,_0x31d1bb){const _0x17fe2e=_0x3c1cd9;for(const _0xbc4c54 of _0x458cbe)_0xbc4c54[_0x17fe2e(0x173)]=_0x31d1bb++;}class it{constructor(_0x48ef43){const _0x403786=_0x3c1cd9;this[_0x403786(0x24c)]=_0x48ef43,this[_0x403786(0x240)]=new WeakMap();}[_0x3c1cd9(0x172)](_0x51e0f0){const _0x37ce0b=_0x3c1cd9;let _0x51ae41=_0x51e0f0[_0x37ce0b(0x252)];for(;_0x51ae41--;){const _0x273290=_0x51e0f0[_0x51ae41];if(!this[_0x37ce0b(0x24c)][_0x37ce0b(0x20a)](_0x273290)){if(!this[_0x37ce0b(0x240)][_0x37ce0b(0x20a)](_0x273290)){const _0x31cc5c=_0x23f074()[_0x37ce0b(0x171)](0x1,0x12);this[_0x37ce0b(0x240)][_0x37ce0b(0x239)](_0x273290,_0x31cc5c);}return this[_0x37ce0b(0x240)][_0x37ce0b(0x254)](_0x273290);}}}[_0x3c1cd9(0x1d8)](_0x4287cf,_0x4c5781){const _0x4a55ac=_0x3c1cd9;if(!_0x4c5781)return;let _0x150382=_0x4287cf[_0x4a55ac(0x252)];for(;_0x150382--;){const _0x518259=_0x4287cf[_0x150382];this[_0x4a55ac(0x24c)][_0x4a55ac(0x20a)](_0x518259)||this[_0x4a55ac(0x240)][_0x4a55ac(0x239)](_0x518259,_0x4c5781);}}}
|
|
23
|
+
const _0x568c1f=_0x1506;function _0x1506(_0x482817,_0x29eff2){const _0x263e93=_0x263e();return _0x1506=function(_0x1506f1,_0x4b18b2){_0x1506f1=_0x1506f1-0x18d;let _0x2b9933=_0x263e93[_0x1506f1];return _0x2b9933;},_0x1506(_0x482817,_0x29eff2);}(function(_0x4d028d,_0x2f324d){const _0x40aa30=_0x1506,_0x497767=_0x4d028d();while(!![]){try{const _0x20d302=-parseInt(_0x40aa30(0x24c))/0x1+parseInt(_0x40aa30(0x1b8))/0x2*(-parseInt(_0x40aa30(0x1e0))/0x3)+parseInt(_0x40aa30(0x206))/0x4*(parseInt(_0x40aa30(0x279))/0x5)+parseInt(_0x40aa30(0x1fe))/0x6+parseInt(_0x40aa30(0x190))/0x7*(-parseInt(_0x40aa30(0x1a5))/0x8)+-parseInt(_0x40aa30(0x1e3))/0x9*(parseInt(_0x40aa30(0x1f2))/0xa)+parseInt(_0x40aa30(0x1aa))/0xb*(parseInt(_0x40aa30(0x1d8))/0xc);if(_0x20d302===_0x2f324d)break;else _0x497767['push'](_0x497767['shift']());}catch(_0x1260c8){_0x497767['push'](_0x497767['shift']());}}}(_0x263e,0xdb22b));import{Plugin as _0x85d1a8,PendingActions as _0x9948c6}from'ckeditor5/src/core.js';import{CKEditorError as _0x3467c9,version as _0x37832f,uid as _0x10dba0}from'ckeditor5/src/utils.js';import{Notification as _0x399aac}from'ckeditor5/src/ui.js';import{transformSets as _0x5cc9ea,NoOperation as _0x1f03e1,InsertOperation as _0x58e3bd,MarkerOperation as _0x259612,RootAttributeOperation as _0x25df91,OperationFactory as _0x110c9d,History as _0x174c27}from'ckeditor5/src/engine.js';import _0x7d6585 from'./websocketgateway.js';import _0x49efa1 from'./sessions.js';import _0xea54d from'./usermarkers.js';import{getTranslation as _0x3bb02b}from'../common-translations.js';import{Compressor as _0x133ebc}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x586f75}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xdfd2e6,CollaborativeEditingService as _0x5c8b32}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x85d1a8{static get[_0x568c1f(0x24a)](){return[_0x7d6585,_0x49efa1,_0xea54d,_0x9948c6,_0x586f75,_0x399aac];}static get[_0x568c1f(0x260)](){const _0x110e7f=_0x568c1f;return _0x110e7f(0x197);}get[_0x568c1f(0x24d)](){const _0x3ecd3c=_0x568c1f;return this[_0x3ecd3c(0x230)]+this[_0x3ecd3c(0x1a9)];}get[_0x568c1f(0x230)](){const _0x50a247=_0x568c1f;return this[_0x50a247(0x235)][_0x50a247(0x284)]-this[_0x50a247(0x1a9)];}get[_0x568c1f(0x1fd)](){const _0x591000=_0x568c1f,_0x10c1ac=this[_0x591000(0x235)][_0x591000(0x1b5)]();for(let _0x2d14ce=_0x10c1ac[_0x591000(0x195)]-0x1;_0x2d14ce>=0x0;_0x2d14ce--){const _0x23a37d=_0x10c1ac[_0x2d14ce];if(!this[_0x591000(0x223)][_0x591000(0x1c1)](_0x23a37d))return _0x23a37d[_0x591000(0x26a)]+0x1-this[_0x591000(0x1a9)];}return 0x0;}constructor(_0xf00329){const _0x4f9035=_0x568c1f;if(super(_0xf00329),this[_0x4f9035(0x1a9)]=0x0,this[_0x4f9035(0x229)]=null,this[_0x4f9035(0x235)]=new _0x174c27(),this[_0x4f9035(0x1c3)][_0x4f9035(0x281)][_0x4f9035(0x221)](_0x4f9035(0x1b4),{}),this[_0x4f9035(0x1ad)]=this[_0x4f9035(0x1c3)][_0x4f9035(0x281)][_0x4f9035(0x19c)](_0x4f9035(0x1bb)),!this[_0x4f9035(0x1ad)])throw new _0x3467c9(_0x4f9035(0x1f4),this);const _0x29a202=_0xf00329[_0x4f9035(0x281)][_0x4f9035(0x19c)](_0x4f9035(0x278))||_0x37832f;this[_0x4f9035(0x1a7)]=new l[(_0x4f9035(0x1ac))](_0x29a202,this[_0x4f9035(0x1ad)]),this[_0x4f9035(0x240)]=this[_0x4f9035(0x1c3)][_0x4f9035(0x245)][_0x4f9035(0x255)],this[_0x4f9035(0x1a8)]=new _0x133ebc(),this[_0x4f9035(0x192)]=[],this[_0x4f9035(0x272)]=new WeakSet(),this[_0x4f9035(0x208)]=new Set(),this[_0x4f9035(0x19b)](_0x4f9035(0x1eb),!0x1),this[_0x4f9035(0x19b)](_0x4f9035(0x277),!0x1),this[_0x4f9035(0x1f8)]=null,this[_0x4f9035(0x1e1)]=!0x1,this[_0x4f9035(0x27c)]=null,this[_0x4f9035(0x264)]=0x12c,this[_0x4f9035(0x26e)]=this[_0x4f9035(0x264)],this[_0x4f9035(0x22e)]=null,this[_0x4f9035(0x223)]=new WeakSet(),this[_0x4f9035(0x26d)]=new X(this[_0x4f9035(0x223)]);}[_0x568c1f(0x1fc)](){const _0x4e8325=_0x568c1f,_0x5e30b3=this[_0x4e8325(0x1c3)],_0x2a156e=_0x5e30b3[_0x4e8325(0x23e)][_0x4e8325(0x19c)](_0x586f75),_0x1b16f7=_0x5e30b3[_0x4e8325(0x23e)][_0x4e8325(0x19c)](_0x7d6585);this[_0x4e8325(0x213)](_0x2a156e,_0x4e8325(0x1a2),(_0x2e12e9,_0x4d245a)=>{const _0x139dc3=_0x4e8325,_0x4a7c47=_0x4d245a[0x0];_0x4a7c47[_0x139dc3(0x1cc)]&&(_0x2e12e9[_0x139dc3(0x288)]=_0x2a156e[_0x139dc3(0x1a3)](_0x4a7c47[_0x139dc3(0x1cc)]),_0x2e12e9[_0x139dc3(0x191)]()),null===_0x4a7c47[_0x139dc3(0x1cc)]&&(_0x2e12e9[_0x139dc3(0x288)]=null,_0x2e12e9[_0x139dc3(0x191)]());},{'priority':_0x4e8325(0x22a)}),this[_0x4e8325(0x213)](_0x5e30b3[_0x4e8325(0x245)][_0x4e8325(0x255)][_0x4e8325(0x1ef)],_0x4e8325(0x1e8),(_0x40043f,_0xf44293)=>{const _0xff446f=_0x4e8325;_0xf44293[_0xff446f(0x225)]&&this[_0xff446f(0x244)]();}),this[_0x4e8325(0x213)](_0x5e30b3[_0x4e8325(0x1d7)][_0x4e8325(0x1d6)],_0x4e8325(0x232),()=>{const _0x5ebaf9=_0x4e8325;this[_0x5ebaf9(0x244)]();}),this[_0x4e8325(0x1f7)](),_0x5e30b3[_0x4e8325(0x245)]['on'](_0x4e8325(0x28b),(_0x138fc7,_0x2536ad)=>{const _0x1f66b7=_0x4e8325,_0x5d466b=_0x2536ad[0x0];_0x5d466b[_0x1f66b7(0x23b)]&&(this[_0x1f66b7(0x27e)](_0x5d466b),this[_0x1f66b7(0x271)]()&&this[_0x1f66b7(0x27a)]());}),this[_0x4e8325(0x209)](),this[_0x4e8325(0x19d)](_0x4e8325(0x18e))['to'](_0x1b16f7,_0x4e8325(0x1d3),this,_0x4e8325(0x277),(_0x2a9da0,_0x14aed6)=>_0x4e8325(0x1dd)===_0x2a9da0&&!_0x14aed6),this['on'](_0x4e8325(0x1e6),()=>{const _0x177975=_0x4e8325;this[_0x177975(0x18e)]?_0x5e30b3[_0x177975(0x1c4)](_0x177975(0x231)):_0x5e30b3[_0x177975(0x28e)](_0x177975(0x231));}),this[_0x4e8325(0x18e)]?_0x5e30b3[_0x4e8325(0x1c4)](_0x4e8325(0x231)):_0x5e30b3[_0x4e8325(0x28e)](_0x4e8325(0x231)),this[_0x4e8325(0x19b)](_0x4e8325(0x219),!0x1);}async[_0x568c1f(0x1ca)](){const _0x5bef31=_0x568c1f,_0x43c59e=this[_0x5bef31(0x1c3)][_0x5bef31(0x23e)][_0x5bef31(0x19c)](_0x49efa1),_0x24aad5=this[_0x5bef31(0x1c3)][_0x5bef31(0x23e)][_0x5bef31(0x19c)](_0x7d6585);try{this[_0x5bef31(0x1eb)]=!0x0,_0x43c59e[_0x5bef31(0x1c8)](this[_0x5bef31(0x1ad)]);const _0x290f3d=await this[_0x5bef31(0x1a7)][_0x5bef31(0x1ca)](_0x24aad5[_0x5bef31(0x270)],this[_0x5bef31(0x1fd)]);await this[_0x5bef31(0x224)](_0x290f3d)&&(this[_0x5bef31(0x1eb)]=!0x1,this[_0x5bef31(0x25d)]());const _0x1b818c=await this[_0x5bef31(0x1a7)][_0x5bef31(0x1bd)]();_0x43c59e[_0x5bef31(0x212)](this[_0x5bef31(0x1ad)],_0x1b818c),this[_0x5bef31(0x243)](),this[_0x5bef31(0x219)]=!0x0;}catch(_0x49842c){if(function(_0x2dc74d){const _0x2a61d8=_0x5bef31;return _0x2a61d8(0x248)===_0x2dc74d[_0x2a61d8(0x20b)];}(_0x49842c)&&this[_0x5bef31(0x229)])await this[_0x5bef31(0x1e7)]();else{if(function(_0x34491c){const _0x3f50da=_0x5bef31;return _0x3f50da(0x204)===_0x34491c[_0x3f50da(0x20b)];}(_0x49842c)){const _0x460ae7=_0x3bb02b(this[_0x5bef31(0x1c3)][_0x5bef31(0x282)],_0x5bef31(0x252));this[_0x5bef31(0x1be)](_0x460ae7);}else{if(!(_0x49842c instanceof J))throw _0x49842c;this[_0x5bef31(0x1be)]();}}}}[_0x568c1f(0x25e)](){const _0x23d101=_0x568c1f,_0x4223e9=this[_0x23d101(0x1c3)][_0x23d101(0x23e)][_0x23d101(0x19c)](_0x7d6585),_0x27498b=this[_0x23d101(0x1c3)][_0x23d101(0x23e)][_0x23d101(0x19c)](_0x49efa1);this[_0x23d101(0x1c3)][_0x23d101(0x28e)](_0x23d101(0x283)),_0x27498b[_0x23d101(0x234)][_0x23d101(0x1c1)](this[_0x23d101(0x1ad)])&&_0x27498b[_0x23d101(0x1c8)](this[_0x23d101(0x1ad)]),_0x4223e9[_0x23d101(0x20d)](this),this[_0x23d101(0x263)](),super[_0x23d101(0x25e)]();}async[_0x568c1f(0x224)](_0x340dc2){const _0x1f571a=_0x568c1f;if(this[_0x1f571a(0x229)]!==_0x340dc2[_0x1f571a(0x229)]&&this[_0x1f571a(0x22e)]!==_0x340dc2[_0x1f571a(0x1de)])throw new J();return this[_0x1f571a(0x229)]=_0x340dc2[_0x1f571a(0x229)],this[_0x1f571a(0x1b2)]([],{..._0x340dc2,'wereChangesApplied':!0x1,'data':_0x340dc2[_0x1f571a(0x22b)]},_0x1f571a(0x1ca));}async[_0x568c1f(0x1e2)](_0x3dc7bc,_0x15f49b=!0x1){const _0x1b56e8=_0x568c1f,{connection:_0x1034d5}=this[_0x1b56e8(0x1c3)][_0x1b56e8(0x23e)][_0x1b56e8(0x19c)](_0x7d6585);l[_0x1b56e8(0x1ac)][_0x1b56e8(0x1bd)](_0x1034d5,this[_0x1b56e8(0x1ad)])[_0x1b56e8(0x24b)](_0x2146d0=>this[_0x1b56e8(0x214)](_0x2146d0))[_0x1b56e8(0x1e4)](_0x4c24f6=>{const _0x467ca1=_0x1b56e8;this[_0x467ca1(0x250)](_0x467ca1(0x1ec),_0x4c24f6);}),this[_0x1b56e8(0x213)](this[_0x1b56e8(0x1a7)],_0x1b56e8(0x1da),this[_0x1b56e8(0x1f1)][_0x1b56e8(0x19d)](this)),this[_0x1b56e8(0x213)](this[_0x1b56e8(0x1a7)],_0x1b56e8(0x25f),(_0x493aab,_0x3ddd48)=>{const _0x1bc7b5=_0x1b56e8;this[_0x1bc7b5(0x250)](_0x1bc7b5(0x276),_0x3ddd48);}),this[_0x1b56e8(0x213)](this[_0x1b56e8(0x1a7)],_0x1b56e8(0x211),()=>{const _0x80a963=_0x1b56e8;this[_0x80a963(0x219)]=!0x1;});const _0x577b8a=this[_0x1b56e8(0x26d)][_0x1b56e8(0x1dc)](_0x3dc7bc);this[_0x1b56e8(0x1eb)]=!0x0;const _0x5d4a73=await this[_0x1b56e8(0x1a7)][_0x1b56e8(0x28d)](_0x1034d5,this[_0x1b56e8(0x239)](_0x3dc7bc),_0x577b8a);if(this[_0x1b56e8(0x229)]=_0x5d4a73[_0x1b56e8(0x229)],_0x15f49b){if(!_0x5d4a73[_0x1b56e8(0x18d)])return void this[_0x1b56e8(0x1be)]();this[_0x1b56e8(0x1eb)]=!0x1,this[_0x1b56e8(0x25d)](),this[_0x1b56e8(0x235)][_0x1b56e8(0x1ed)](),this[_0x1b56e8(0x1a9)]=_0x5d4a73[_0x1b56e8(0x266)],this[_0x1b56e8(0x235)][_0x1b56e8(0x284)]=this[_0x1b56e8(0x1a9)],await this[_0x1b56e8(0x1b2)](_0x3dc7bc,_0x5d4a73,_0x1b56e8(0x28f));}else await this[_0x1b56e8(0x285)](_0x5d4a73,_0x3dc7bc);this[_0x1b56e8(0x243)](),this[_0x1b56e8(0x219)]=!0x0;}[_0x568c1f(0x243)](){const _0x5bd8d8=_0x568c1f,_0x3f839c=this[_0x5bd8d8(0x1c3)][_0x5bd8d8(0x23e)][_0x5bd8d8(0x19c)](_0x49efa1),_0x1a362d=this[_0x5bd8d8(0x1c3)][_0x5bd8d8(0x23e)][_0x5bd8d8(0x19c)](_0xea54d),_0x467355=_0x3f839c[_0x5bd8d8(0x234)][_0x5bd8d8(0x19c)](this[_0x5bd8d8(0x1ad)]);_0x467355&&_0x467355[_0x5bd8d8(0x195)]>0x1?_0x1a362d[_0x5bd8d8(0x20c)]():this[_0x5bd8d8(0x213)](_0x3f839c,_0x5bd8d8(0x251)+this[_0x5bd8d8(0x1ad)],()=>{const _0x274684=_0x5bd8d8;0x2===_0x3f839c[_0x274684(0x234)][_0x274684(0x19c)](this[_0x274684(0x1ad)])[_0x274684(0x195)]&&_0x1a362d[_0x274684(0x20c)]();});}async[_0x568c1f(0x1f1)](_0x2ac380,_0x1a8c6d,_0x35e731,_0x398d58){const _0x11a855=_0x568c1f;if(!this[_0x11a855(0x1eb)]&&this[_0x11a855(0x240)][_0x11a855(0x284)]==_0x1a8c6d){const _0x10cadb=this[_0x11a855(0x28c)](_0x35e731,_0x398d58);await this[_0x11a855(0x1b0)](_0x10cadb),this[_0x11a855(0x258)](_0x10cadb,_0x1a8c6d,_0x35e731[_0x11a855(0x1de)])||this[_0x11a855(0x250)](_0x11a855(0x205));}}async[_0x568c1f(0x1e7)](){const _0xa313f7=_0x568c1f;this[_0xa313f7(0x263)]();const {locale:_0x6ac834}=this[_0xa313f7(0x1c3)];let _0x2161a1;try{_0x2161a1=await this[_0xa313f7(0x1a7)][_0xa313f7(0x26f)]();}catch(_0x582687){const _0x55e710=_0x3bb02b(_0x6ac834,_0xa313f7(0x1b6));return void this[_0xa313f7(0x1be)](_0x55e710);}const _0x4e9be5=_0x2161a1[_0xa313f7(0x262)]||_0x2161a1[_0xa313f7(0x254)];if(this[_0xa313f7(0x22e)]===_0x4e9be5[_0xa313f7(0x1de)])await this[_0xa313f7(0x1e2)](this[_0xa313f7(0x1c3)][_0xa313f7(0x245)][_0xa313f7(0x255)][_0xa313f7(0x1f6)][_0xa313f7(0x1b5)](),!0x0);else{const _0x355da3=_0x3bb02b(_0x6ac834,_0xa313f7(0x24e));this[_0xa313f7(0x1be)](_0x355da3);}}[_0x568c1f(0x263)](){const _0x3f9670=_0x568c1f;this[_0x3f9670(0x1a7)][_0x3f9670(0x227)](),this[_0x3f9670(0x192)]=[],clearTimeout(this[_0x3f9670(0x27c)]),this[_0x3f9670(0x242)](this[_0x3f9670(0x1a7)]);}[_0x568c1f(0x214)](_0x3fcdf3){const _0x1bda31=_0x568c1f,_0x8fdcf7=this[_0x1bda31(0x1c3)][_0x1bda31(0x23e)][_0x1bda31(0x19c)](_0x49efa1);this[_0x1bda31(0x213)](_0x8fdcf7,_0x1bda31(0x251)+this[_0x1bda31(0x1ad)],(_0x4acf72,{session:_0x2ac508})=>{const _0x746baf=_0x1bda31;if(_0x2ac508['id']===_0x8fdcf7[_0x746baf(0x216)]){_0x4acf72[_0x746baf(0x1a6)]();const _0x36457d=this[_0x746baf(0x1c3)][_0x746baf(0x23e)][_0x746baf(0x1c1)](_0x746baf(0x1c7))&&this[_0x746baf(0x1c3)][_0x746baf(0x23e)][_0x746baf(0x19c)](_0x746baf(0x1c7));let _0x1ed3c1=_0x2ac508[_0x746baf(0x22c)];_0x36457d&&_0x36457d[_0x746baf(0x203)]&&(_0x1ed3c1=_0x1ed3c1[_0x746baf(0x25b)](_0x220a08=>_0x746baf(0x193)!==_0x220a08)),this[_0x746baf(0x1c3)][_0x746baf(0x23e)][_0x746baf(0x19c)](_0x746baf(0x1f9))[_0x746baf(0x1e5)](_0x1ed3c1,this[_0x746baf(0x1ad)]);}}),_0x8fdcf7[_0x1bda31(0x212)](this[_0x1bda31(0x1ad)],_0x3fcdf3);}[_0x568c1f(0x1f7)](){const _0x2ee2da=_0x568c1f,_0x57974e=this[_0x2ee2da(0x1c3)][_0x2ee2da(0x22b)][_0x2ee2da(0x19b)];this[_0x2ee2da(0x1c3)][_0x2ee2da(0x22b)][_0x2ee2da(0x19b)]=(..._0x1f63c3)=>{const _0x283337=_0x2ee2da;if(!_0x1f63c3[_0x1f63c3[_0x283337(0x195)]-0x1][_0x283337(0x1c5)])throw new _0x3467c9(_0x283337(0x25a),this);_0x57974e[_0x283337(0x21f)](this[_0x283337(0x1c3)][_0x283337(0x22b)],_0x1f63c3);};}[_0x568c1f(0x209)](){const _0x116756=_0x568c1f;this[_0x116756(0x1c3)][_0x116756(0x22b)]['on'](_0x116756(0x1fc),(_0x43abd2,[_0x13c646])=>{const _0x3db20e=_0x116756;if(this[_0x3db20e(0x240)][_0x3db20e(0x284)])throw new _0x3467c9(_0x3db20e(0x257),this);_0x43abd2[_0x3db20e(0x191)](),this[_0x3db20e(0x24f)]();const _0x4a3927=this[_0x3db20e(0x1c3)][_0x3db20e(0x281)][_0x3db20e(0x19c)](_0x3db20e(0x28a)),_0x121078=this[_0x3db20e(0x207)](_0x13c646,_0x4a3927);0x0==_0x121078[_0x3db20e(0x195)]&&_0x121078[_0x3db20e(0x1a4)](new _0x1f03e1(0x0)),_0x43abd2[_0x3db20e(0x288)]=this[_0x3db20e(0x1e2)](_0x121078)[_0x3db20e(0x24b)](()=>{const _0x2587c7=_0x3db20e;this[_0x2587c7(0x1c3)][_0x2587c7(0x23e)][_0x2587c7(0x19c)](_0x7d6585)[_0x2587c7(0x27b)](this),this[_0x2587c7(0x1c3)][_0x2587c7(0x22b)][_0x2587c7(0x1c9)](_0x2587c7(0x1f3));})[_0x3db20e(0x1e4)](_0x2237a0=>this[_0x3db20e(0x250)](_0x3db20e(0x1a0),_0x2237a0))[_0x3db20e(0x1d1)](()=>this[_0x3db20e(0x25d)]());},{'priority':_0x116756(0x22a)}),this[_0x116756(0x1c3)]['on'](_0x116756(0x21c),async(_0x2e6831,[_0x304612,_0x169988])=>{const _0x33c855=_0x116756;_0x2e6831[_0x33c855(0x191)]();const _0x43be81=this[_0x33c855(0x1c3)][_0x33c855(0x245)][_0x33c855(0x255)][_0x33c855(0x253)](_0x304612);if(!this[_0x33c855(0x208)][_0x33c855(0x1c1)](_0x304612)){const _0x5cb75c=_0x169988&&_0x169988[_0x33c855(0x22b)]?_0x169988[_0x33c855(0x22b)]:'',_0x38527c=_0x169988&&_0x169988[_0x33c855(0x1bf)]?_0x169988[_0x33c855(0x1bf)]:{};await this[_0x33c855(0x1c0)](_0x304612,_0x5cb75c,_0x38527c);}this[_0x33c855(0x1c3)][_0x33c855(0x245)][_0x33c855(0x233)]({'isUndoable':!0x1},()=>{const _0x58e65d=_0x33c855;_0x43be81[_0x58e65d(0x289)]=!0x0,this[_0x58e65d(0x1c3)][_0x58e65d(0x245)][_0x58e65d(0x255)][_0x58e65d(0x215)][_0x58e65d(0x26b)](_0x43be81);});},{'priority':_0x116756(0x22a)});}async[_0x568c1f(0x1b0)](_0x3301a4){const _0xf460cd=_0x568c1f,_0x275979=this[_0xf460cd(0x1c3)][_0xf460cd(0x23e)][_0xf460cd(0x19c)](_0x586f75),{connection:_0x117482}=this[_0xf460cd(0x1c3)][_0xf460cd(0x23e)][_0xf460cd(0x19c)](_0x7d6585),_0xa36e90=new Set();for(const _0x212d53 of _0x3301a4){const _0x31f98e=_0x212d53[_0xf460cd(0x1cc)];_0x31f98e&&!_0x275979[_0xf460cd(0x1a3)](_0x31f98e)&&_0xa36e90[_0xf460cd(0x22d)](_0x31f98e);}if(0x0===_0xa36e90[_0xf460cd(0x269)])return;const _0x927e7=await _0xdfd2e6[_0xf460cd(0x25c)](_0x117482,Array[_0xf460cd(0x198)](_0xa36e90));for(const _0x2d283f of _0x927e7)_0x275979[_0xf460cd(0x1a3)](_0x2d283f['id'])||_0x275979[_0xf460cd(0x1c6)](_0x2d283f);}[_0x568c1f(0x207)](_0x406ce9,_0x4266a4={}){const _0x33b7b7=_0x568c1f,_0x151c17=this[_0x33b7b7(0x1c3)][_0x33b7b7(0x245)],_0x5951c7=[];let _0x5f026d=0x0;const _0x4d57c0=_0x33b7b7(0x23f)==typeof _0x406ce9?{'main':_0x406ce9}:_0x406ce9;for(const _0x323953 of Object[_0x33b7b7(0x1d5)](_0x4d57c0)){if(!this[_0x33b7b7(0x240)][_0x33b7b7(0x1cb)][_0x33b7b7(0x1c1)](_0x323953))throw new _0x3467c9(_0x33b7b7(0x247),this);const _0x395f5a=this[_0x33b7b7(0x1c3)][_0x33b7b7(0x22b)][_0x33b7b7(0x26c)](_0x4d57c0[_0x323953]),_0x282de8=this[_0x33b7b7(0x240)][_0x33b7b7(0x253)](_0x323953),_0x132b25=new _0x58e3bd(_0x151c17[_0x33b7b7(0x286)](_0x282de8,0x0),_0x395f5a,_0x5f026d++);_0x5951c7[_0x33b7b7(0x1a4)](_0x132b25);for(const [_0x373502,_0x20a360]of _0x395f5a[_0x33b7b7(0x202)]){const _0x2c75ec=_0x151c17[_0x33b7b7(0x237)](_0x151c17[_0x33b7b7(0x1b7)](_0x282de8,_0x20a360[_0x33b7b7(0x20e)][_0x33b7b7(0x261)][_0x33b7b7(0x23c)]()),_0x151c17[_0x33b7b7(0x1b7)](_0x282de8,_0x20a360[_0x33b7b7(0x290)][_0x33b7b7(0x261)][_0x33b7b7(0x23c)]())),_0x215c31=new _0x259612(_0x373502,null,_0x2c75ec,_0x151c17[_0x33b7b7(0x202)],!0x0,_0x5f026d++);_0x5951c7[_0x33b7b7(0x1a4)](_0x215c31);}}if(_0x4266a4)for(const [_0x2cb4f5,_0x3f47a9]of Object[_0x33b7b7(0x196)](_0x4266a4)){const _0x4343a8=_0x151c17[_0x33b7b7(0x255)][_0x33b7b7(0x253)](_0x2cb4f5);if(!_0x4343a8)throw new _0x3467c9(_0x33b7b7(0x1bc),null);for(const [_0xed4eaa,_0x1e7d60]of Object[_0x33b7b7(0x196)](_0x3f47a9))if(null!==_0x1e7d60){const _0x4e9013=new _0x25df91(_0x4343a8,_0xed4eaa,null,_0x1e7d60,_0x5f026d++);_0x5951c7[_0x33b7b7(0x1a4)](_0x4e9013);}}return _0x5951c7;}async[_0x568c1f(0x1c0)](_0x36331a,_0x38261f,_0x4bc05f){const _0x1c775e=_0x568c1f;this[_0x1c775e(0x207)]({[_0x36331a]:_0x38261f},{[_0x36331a]:_0x4bc05f})[_0x1c775e(0x21a)]((_0x1ead24,_0x1f507c)=>{const _0x87a982=_0x1c775e;_0x1ead24[_0x87a982(0x26a)]=this[_0x87a982(0x240)][_0x87a982(0x284)]+_0x1f507c,_0x1ead24[_0x87a982(0x228)]=!0x0,this[_0x87a982(0x27e)](_0x1ead24);}),this[_0x1c775e(0x27a)](),await this[_0x1c775e(0x19e)]();}async[_0x568c1f(0x285)](_0x3b6661,_0x163e02){const _0x20efa0=_0x568c1f;let _0x3820d0;this[_0x20efa0(0x1a9)]=_0x3b6661[_0x20efa0(0x266)];const _0x32097b=_0x3b6661[_0x20efa0(0x18d)]&&!_0x3b6661[_0x20efa0(0x273)],_0x1b01b0=_0x32097b?0x0:_0x3b6661[_0x20efa0(0x22b)][_0x20efa0(0x26a)];if(_0x163e02[_0x20efa0(0x21a)](_0xdf1a9d=>{const _0x717d05=_0x20efa0;_0xdf1a9d[_0x717d05(0x228)]=!0x0,_0xdf1a9d[_0x717d05(0x1d2)]=_0x3b6661[_0x717d05(0x1a1)],_0xdf1a9d[_0x717d05(0x1cc)]=null;}),_0x32097b)_0x3820d0=_0x163e02,this[_0x20efa0(0x220)](_0x3820d0,_0x32097b);else{if(_0x3b6661[_0x20efa0(0x273)]){const _0xecc0d1=this[_0x20efa0(0x207)](_0x3b6661[_0x20efa0(0x273)]);this[_0x20efa0(0x240)][_0x20efa0(0x1f6)][_0x20efa0(0x284)]=-_0xecc0d1[_0x20efa0(0x195)],_0xecc0d1[_0x20efa0(0x21a)](_0x308a31=>{const _0x3a2d3e=_0x20efa0;_0x308a31[_0x3a2d3e(0x26a)]-=_0xecc0d1[_0x3a2d3e(0x195)],_0x308a31[_0x3a2d3e(0x1d2)]=_0x3b6661[_0x3a2d3e(0x1a1)],_0x308a31[_0x3a2d3e(0x228)]=!0x0,_0x308a31[_0x3a2d3e(0x1cc)]=null;}),this[_0x20efa0(0x220)](_0xecc0d1,!0x0),this[_0x20efa0(0x235)][_0x20efa0(0x284)]=-_0xecc0d1[_0x20efa0(0x195)]+this[_0x20efa0(0x1a9)],this[_0x20efa0(0x201)](_0xecc0d1);}this[_0x20efa0(0x240)][_0x20efa0(0x1f6)][_0x20efa0(0x284)]=_0x1b01b0,_0x3820d0=this[_0x20efa0(0x28c)](_0x3b6661[_0x20efa0(0x22b)],_0x3b6661[_0x20efa0(0x1ae)]),await this[_0x20efa0(0x1b0)](_0x3820d0),this[_0x20efa0(0x220)](_0x3820d0,_0x32097b);}_0x3b6661[_0x20efa0(0x1de)]&&(this[_0x20efa0(0x26d)][_0x20efa0(0x275)](_0x3820d0,_0x3b6661[_0x20efa0(0x1de)]),this[_0x20efa0(0x22e)]=_0x3b6661[_0x20efa0(0x1de)]),this[_0x20efa0(0x235)][_0x20efa0(0x284)]=_0x1b01b0+this[_0x20efa0(0x1a9)],this[_0x20efa0(0x201)](_0x3820d0),_0x163e02[_0x20efa0(0x25b)](_0x22470e=>{const _0x5cbb6c=_0x20efa0,_0x469a4d=this[_0x5cbb6c(0x241)](_0x22470e);return _0x469a4d&&!this[_0x5cbb6c(0x208)][_0x5cbb6c(0x1c1)](_0x469a4d);})[_0x20efa0(0x21a)]((_0x2f086e,_0x31fc08)=>{const _0x4a5b34=_0x20efa0;_0x2f086e[_0x4a5b34(0x26a)]=this[_0x4a5b34(0x240)][_0x4a5b34(0x284)]+_0x31fc08,this[_0x4a5b34(0x27e)](_0x2f086e);}),this[_0x20efa0(0x271)]()?(this[_0x20efa0(0x26e)]=0x0,this[_0x20efa0(0x27a)](!0x0),await this[_0x20efa0(0x19e)]()):(this[_0x20efa0(0x1eb)]=!0x1,this[_0x20efa0(0x25d)]());}[_0x568c1f(0x250)](_0x33944e,_0x4807d2){const _0x48acca=_0x568c1f;throw this[_0x48acca(0x1eb)]=!0x0,_0x4807d2&&console[_0x48acca(0x25f)](_0x4807d2),new _0x3467c9(_0x33944e,this[_0x48acca(0x1c3)]);}[_0x568c1f(0x27e)](_0x3d208d){const _0x12f319=_0x568c1f;this[_0x12f319(0x272)][_0x12f319(0x1c1)](_0x3d208d)||(this[_0x12f319(0x272)][_0x12f319(0x22d)](_0x3d208d),this[_0x12f319(0x192)][_0x12f319(0x1a4)](_0x3d208d),this[_0x12f319(0x1f8)]||_0x12f319(0x1d9)==_0x3d208d[_0x12f319(0x1b3)]&&!_0x3d208d[_0x12f319(0x1b1)]||this[_0x12f319(0x24f)]());}[_0x568c1f(0x27a)](_0x50d876=!0x1){const _0x348b49=_0x568c1f;!_0x50d876&&this[_0x348b49(0x1eb)]||(this[_0x348b49(0x1eb)]=!0x0,clearTimeout(this[_0x348b49(0x27c)]),this[_0x348b49(0x27c)]=setTimeout(()=>{const _0x5c4137=_0x348b49;this[_0x5c4137(0x21b)]()[_0x5c4137(0x24b)](_0x5d70af=>{const _0x3169d6=_0x5c4137;_0x5d70af&&(this[_0x3169d6(0x25d)](),this[_0x3169d6(0x1eb)]=!0x1);})[_0x5c4137(0x1e4)](_0x302f4f=>{const _0x5495b4=_0x5c4137;if(this[_0x5495b4(0x25d)](),this[_0x5495b4(0x1eb)]=!0x1,!function(_0x29946a){const _0x4c3a66=_0x5495b4;return _0x29946a[_0x4c3a66(0x265)][_0x4c3a66(0x200)](_0x4c3a66(0x23a))||_0x29946a[_0x4c3a66(0x265)][_0x4c3a66(0x200)](_0x4c3a66(0x1cf))||_0x29946a[_0x4c3a66(0x265)][_0x4c3a66(0x200)](_0x4c3a66(0x246));}(_0x302f4f))throw _0x302f4f;});},this[_0x348b49(0x26e)]));}[_0x568c1f(0x19e)](){return new Promise(_0xdc7e01=>{const _0x3705b3=_0x1506;this['on'](_0x3705b3(0x1ce),()=>{_0xdc7e01();});});}async[_0x568c1f(0x21b)](){const _0x545348=_0x568c1f,_0x2e9815=this[_0x545348(0x1c3)][_0x545348(0x23e)][_0x545348(0x19c)](_0xea54d);if(this[_0x545348(0x1ff)]()&&(_0x2e9815[_0x545348(0x20c)](),this[_0x545348(0x1e1)]=!0x1),!this[_0x545348(0x271)]())return!0x0;const _0x3a2636=[...this[_0x545348(0x192)]];for(const _0x4733ab of _0x3a2636)_0x4733ab[_0x545348(0x1b9)]=this[_0x545348(0x240)][_0x545348(0x1f6)][_0x545348(0x210)](_0x4733ab);const _0x1c8479=this[_0x545348(0x26d)][_0x545348(0x1dc)](_0x3a2636),_0x2890c0=K++,_0x3903db=this[_0x545348(0x239)](_0x3a2636),_0x123ee8=await this[_0x545348(0x1a7)][_0x545348(0x256)](_0x3903db,_0x3903db[_0x545348(0x26a)],_0x1c8479);try{return await this[_0x545348(0x1b2)](_0x3a2636,_0x123ee8,_0x2890c0);}catch(_0x15f620){return this[_0x545348(0x250)](_0x545348(0x1f5),_0x15f620);}}async[_0x568c1f(0x1b2)](_0x12c224,_0x3223f7,_0x6c4107){const _0x517b28=_0x568c1f;if(_0x517b28(0x25f)in _0x3223f7)throw _0x3223f7[_0x517b28(0x25f)];let _0x10fca0=!0x1;if(_0x3223f7[_0x517b28(0x18d)]){_0x3223f7[_0x517b28(0x1de)]&&(this[_0x517b28(0x22e)]=_0x3223f7[_0x517b28(0x1de)]),this[_0x517b28(0x192)]=this[_0x517b28(0x192)][_0x517b28(0x25b)](_0x24a8c9=>!_0x12c224[_0x517b28(0x287)](_0x24a8c9));for(const _0x290bc6 of _0x12c224)_0x290bc6[_0x517b28(0x1d2)]=_0x517b28(0x274)in _0x3223f7&&_0x3223f7[_0x517b28(0x274)]||void 0x0;Q(_0x12c224,_0x3223f7[_0x517b28(0x284)]-_0x12c224[_0x517b28(0x195)]),this[_0x517b28(0x201)](_0x12c224);const _0x2b55d8=_0x12c224[_0x517b28(0x25b)](_0x492163=>{const _0x5e3c3d=_0x517b28;if(!_0x492163[_0x5e3c3d(0x228)])return!0x1;const _0x18cab7=this[_0x5e3c3d(0x241)](_0x492163);return _0x18cab7&&!this[_0x5e3c3d(0x208)][_0x5e3c3d(0x1c1)](_0x18cab7);});Q(_0x2b55d8,this[_0x517b28(0x240)][_0x517b28(0x284)]),this[_0x517b28(0x220)](_0x2b55d8),_0x10fca0=!0x0,this[_0x517b28(0x26e)]=this[_0x517b28(0x264)];}else{const _0x577923=this[_0x517b28(0x28c)](_0x3223f7[_0x517b28(0x22b)],_0x3223f7[_0x517b28(0x1ae)])[_0x517b28(0x25b)](_0x2c90f3=>_0x2c90f3[_0x517b28(0x26a)]>=this[_0x517b28(0x230)]);_0x577923[_0x517b28(0x21a)](_0x51a652=>this[_0x517b28(0x249)](_0x51a652)),this[_0x517b28(0x192)]=this[_0x517b28(0x192)][_0x517b28(0x25b)](_0x25e006=>!_0x25e006[_0x517b28(0x228)]||!this[_0x517b28(0x208)][_0x517b28(0x1c1)](this[_0x517b28(0x241)](_0x25e006))),this[_0x517b28(0x192)][_0x517b28(0x195)]&&Q(this[_0x517b28(0x192)],this[_0x517b28(0x192)][0x0][_0x517b28(0x26a)]),await this[_0x517b28(0x1b0)](_0x577923),_0x10fca0=this[_0x517b28(0x258)](_0x577923,_0x3223f7[_0x517b28(0x284)],_0x3223f7[_0x517b28(0x1de)]),this[_0x517b28(0x26e)]=Math[_0x517b28(0x280)](this[_0x517b28(0x26e)]/0x2);}return _0x10fca0?!this[_0x517b28(0x271)]()||(this[_0x517b28(0x27a)](!0x0),!0x1):this[_0x517b28(0x250)](_0x517b28(0x1f0));}[_0x568c1f(0x258)](_0x2ef9af,_0xcaeaa3,_0x5cd0a5){const _0x640c07=_0x568c1f;try{const _0x173dc0={'document':this[_0x640c07(0x240)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1f39ee,operationsB:_0xc056a6,originalOperations:_0x1ab730}=_0x5cc9ea(_0x2ef9af,this[_0x640c07(0x192)],_0x173dc0);Q(_0x1f39ee,this[_0x640c07(0x240)][_0x640c07(0x284)]),Q(_0xc056a6,_0xcaeaa3);for(const _0x56c5dc of _0x1f39ee){const _0x11b65d=_0x1ab730[_0x640c07(0x19c)](_0x56c5dc);_0x56c5dc[_0x640c07(0x1cc)]=_0x11b65d?_0x11b65d[_0x640c07(0x1cc)]:null;}_0x5cd0a5&&(this[_0x640c07(0x26d)][_0x640c07(0x275)](_0x2ef9af,_0x5cd0a5),this[_0x640c07(0x22e)]=_0x5cd0a5),this[_0x640c07(0x192)]=[..._0xc056a6],this[_0x640c07(0x220)](_0x1f39ee),this[_0x640c07(0x201)](_0x2ef9af);}catch(_0xa5895a){return console[_0x640c07(0x25f)](_0xa5895a),!0x1;}return!0x0;}[_0x568c1f(0x220)](_0x1b31f4,_0x2aeb47=!0x1){const _0x3e9189=_0x568c1f;this[_0x3e9189(0x1c3)][_0x3e9189(0x245)][_0x3e9189(0x233)]({'isUndoable':!0x1,'isLocal':!0x1},_0x44eb9c=>{const _0xf90635=_0x3e9189;for(const _0x2dc99d of _0x1b31f4)this[_0xf90635(0x272)][_0xf90635(0x22d)](_0x2dc99d),this[_0xf90635(0x249)](_0x2dc99d),_0x44eb9c[_0xf90635(0x199)][_0xf90635(0x1cd)](_0x2dc99d),this[_0xf90635(0x1c3)][_0xf90635(0x245)][_0xf90635(0x28b)](_0x2dc99d);});}[_0x568c1f(0x249)](_0x45c7eb){const _0x2e7eb0=_0x568c1f,_0xed0896=this[_0x2e7eb0(0x241)](_0x45c7eb);_0xed0896&&this[_0x2e7eb0(0x208)][_0x2e7eb0(0x22d)](_0xed0896);}[_0x568c1f(0x241)](_0x43fb68){const _0x2430f5=_0x568c1f;let _0x10f0c8,_0xa56017;switch(_0x43fb68[_0x2430f5(0x1b3)]){case _0x2430f5(0x20f):_0x10f0c8=_0x43fb68[_0x2430f5(0x27f)][_0x2430f5(0x194)];break;case _0x2430f5(0x1d9):if(_0xa56017=_0x43fb68[_0x2430f5(0x1ba)],!_0xa56017)return null;_0x10f0c8=_0xa56017[_0x2430f5(0x194)];break;case _0x2430f5(0x20a):_0x10f0c8=_0x43fb68[_0x2430f5(0x194)];break;case _0x2430f5(0x19a):_0x10f0c8=_0x43fb68[_0x2430f5(0x1d4)];break;case _0x2430f5(0x238):_0x10f0c8=_0x43fb68[_0x2430f5(0x267)][_0x2430f5(0x194)];break;default:return null;}return _0x10f0c8[_0x2430f5(0x23d)];}[_0x568c1f(0x201)](_0x388eb3){const _0x51622e=_0x568c1f;_0x388eb3[_0x51622e(0x21a)](_0x183e6=>{const _0x54e3c9=_0x51622e,_0x32e142=_0x183e6[_0x54e3c9(0x1e9)]();_0x32e142[_0x54e3c9(0x1cc)]=_0x183e6[_0x54e3c9(0x1cc)],_0x32e142[_0x54e3c9(0x228)]=!!_0x183e6[_0x54e3c9(0x228)],_0x32e142[_0x54e3c9(0x1d2)]=_0x183e6[_0x54e3c9(0x1d2)],_0x32e142[_0x54e3c9(0x26a)]+=this[_0x54e3c9(0x1a9)],_0x183e6[_0x54e3c9(0x27d)]&&this[_0x54e3c9(0x223)][_0x54e3c9(0x22d)](_0x32e142),this[_0x54e3c9(0x235)][_0x54e3c9(0x1cd)](_0x32e142);});}[_0x568c1f(0x1be)](_0x320469){const _0x12e43d=_0x568c1f,_0xaa26ad=this[_0x12e43d(0x1c3)][_0x12e43d(0x23e)][_0x12e43d(0x19c)](_0x12e43d(0x1db)),_0x276ca2=this[_0x12e43d(0x1c3)][_0x12e43d(0x282)];_0x320469||(_0x320469=_0x3bb02b(_0x276ca2,_0x12e43d(0x1d0))),_0xaa26ad[_0x12e43d(0x218)](_0x320469,{'title':_0x3bb02b(_0x276ca2,_0x12e43d(0x18f)),'namespace':_0x12e43d(0x1ab)}),this[_0x12e43d(0x277)]=!0x0,clearTimeout(this[_0x12e43d(0x27c)]),this[_0x12e43d(0x192)]=[],this[_0x12e43d(0x1c3)][_0x12e43d(0x23e)][_0x12e43d(0x19c)](_0x7d6585)[_0x12e43d(0x25e)]();}[_0x568c1f(0x24f)](){const _0x1cb811=_0x568c1f;this[_0x1cb811(0x1f8)]||(this[_0x1cb811(0x1f8)]=this[_0x1cb811(0x1c3)][_0x1cb811(0x23e)][_0x1cb811(0x19c)](_0x9948c6)[_0x1cb811(0x22d)](_0x3bb02b(this[_0x1cb811(0x1c3)][_0x1cb811(0x282)],_0x1cb811(0x1df))));}[_0x568c1f(0x25d)](){const _0x1ffc1f=_0x568c1f;this[_0x1ffc1f(0x1f8)]&&(this[_0x1ffc1f(0x1c3)][_0x1ffc1f(0x23e)][_0x1ffc1f(0x19c)](_0x9948c6)[_0x1ffc1f(0x1ee)](this[_0x1ffc1f(0x1f8)]),this[_0x1ffc1f(0x1f8)]=null);}[_0x568c1f(0x239)](_0x1bd374){const _0x36b3ec=_0x568c1f,_0x4076dc=_0x1bd374[_0x36b3ec(0x226)](_0x627b11=>_0x627b11[_0x36b3ec(0x21e)]());return this[_0x36b3ec(0x1a8)][_0x36b3ec(0x1af)](_0x4076dc);}[_0x568c1f(0x28c)](_0x25c0a4,_0x5b5af0){const _0x4f7efb=_0x568c1f;return this[_0x4f7efb(0x1a8)][_0x4f7efb(0x1ea)](_0x25c0a4)[_0x4f7efb(0x226)]((_0x4d0397,_0x48bbea)=>{const _0x462074=_0x4f7efb,_0x14899a=_0x462074(0x1fc)==_0x5b5af0[_0x48bbea][_0x462074(0x1b3)];if(_0x462074(0x1fb)==_0x4d0397[_0x462074(0x19f)]){const _0x266e64=_0x4d0397[_0x462074(0x27f)][_0x462074(0x194)];!this[_0x462074(0x240)][_0x462074(0x253)](_0x266e64)&&(this[_0x462074(0x240)][_0x462074(0x217)](_0x462074(0x21d),_0x266e64)[_0x462074(0x268)]=!0x1);}const _0x623273=_0x110c9d[_0x462074(0x1c2)](_0x4d0397,this[_0x462074(0x240)]);return _0x623273[_0x462074(0x1b9)]=_0x4d0397[_0x462074(0x1b9)],_0x623273[_0x462074(0x228)]=_0x14899a,_0x623273[_0x462074(0x1cc)]=_0x14899a?null:_0x5b5af0[_0x48bbea][_0x462074(0x259)],_0x623273[_0x462074(0x27d)]=_0x462074(0x1fa)===_0x5b5af0[_0x48bbea][_0x462074(0x1b3)],_0x623273[_0x462074(0x1d2)]=_0x5b5af0[_0x48bbea][_0x462074(0x1d2)],_0x623273;});}[_0x568c1f(0x244)](){const _0x3f60d7=_0x568c1f;this[_0x3f60d7(0x1e1)]=!0x0,this[_0x3f60d7(0x1ff)]()?this[_0x3f60d7(0x27a)]():this[_0x3f60d7(0x1e1)]=!0x1;}[_0x568c1f(0x1ff)](){const _0x362efe=_0x568c1f,_0x2520f0=this[_0x362efe(0x1c3)][_0x362efe(0x23e)][_0x362efe(0x19c)](_0x49efa1)[_0x362efe(0x234)][_0x362efe(0x19c)](this[_0x362efe(0x1ad)]);return!this[_0x362efe(0x1c3)][_0x362efe(0x222)]&&!!_0x2520f0&&_0x2520f0[_0x362efe(0x195)]>0x1&&this[_0x362efe(0x1e1)];}[_0x568c1f(0x271)](){const _0x4f3ecd=_0x568c1f;return this[_0x4f3ecd(0x192)][_0x4f3ecd(0x195)]>0x0||this[_0x4f3ecd(0x1ff)]();}}l[_0x568c1f(0x1ac)]=_0x5c8b32;export default l;function _0x263e(){const _0x16364b=['define','isReadOnly','_disconnectionOperations','_handleReconnectionResponse','directChange','map','disconnect','_isInit','sessionId','high','data','permissions','add','_lastSyncedOperationId','_ignoredOperations','_lastServerVersion','rtc-offline','change:hasDomSelection','enqueueChange','channelSessions','serverHistory','_operationToId','createRange','move','_compressOperations','cloud-services-internal-error:\x20Not\x20connected.','isDocumentOperation','slice','rootName','plugins','string','_document','_getAffectedRoot','stopListening','_handleSendingSelectionMarkers','_refreshUserSelectionMarkers','model','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-init-non-existent-root','404','_addKnownRoot','requires','then','243493WCitpf','cloudDocumentVersion','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.','_setPendingAction','_crash','sessionAdd:','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getRoot','lastDocumentSession','document','sendOperations','realtimecollaborationclient-init-document-already-initialized','_handleExternalOperations','userId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','filter','getMany','_clearPendingAction','destroy','error','pluginName','path','currentDocumentSession','_disconnectService','_baseBufferDelay','message','offset','targetPosition','_isAttached','size','baseVersion','_bufferRootLoad','parse','_operationIdentifier','_currentBufferDelay','getDocumentDetails','connection','_shouldSendUpdate','_knownOperations','initData','lastOperationAcceptedAt','setIdForTheLastOperation','realtimecollaborationclient-initservice-internal-error','_hasSynchronizationProblem','cloudServices.bundleVersion','65LykkHn','_sendBufferedOperationsDelayed','addToReconnectionStack','_sendBufferedOperationsDelayId','_isDisconnection','_saveOperationInBuffer','position','round','config','locale','rtc-destroyed','version','_handleInitialConnectionData','createPositionAt','includes','return','_isLoaded','rootsAttributes','applyOperation','_decompressOperations','connect','enableReadOnlyMode','reconnection:\x20flushed\x20session','end','wereChangesApplied','_isEditingAllowed','Synchronization\x20issue','21HtwHjf','stop','_bufferedOperations','document:write','root','length','entries','RealTimeCollaborationClient','from','batch','addRoot','set','get','bind','_waitUntilSynced','__className','realtimecollaborationclient-init-connection-failed','sessionCreatedAt','getOperationAuthor','getUser','push','3168408vvmpCI','off','_service','_compressor','_offset','308869oSCyHK','real-time-collaboration','CollaborativeEditingService','_channelId','metadata','compress','_fetchMissingUsers','affectsData','_handleServerResponse','type','collaboration','getOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createPositionFromPath','2SEzkJD','wasUndone','newRange','collaboration.channelId','multi-root-editor-root-attributes-no-root','getConnectedSessions','_handleReconnectionError','attributes','_loadRoot','has','fromJSON','editor','disableReadOnlyMode','suppressErrorInCollaboration','addUser','CommentsOnly','unregister','fire','reconnect','roots','_authorId','addOperation','change:_isPendingUpdate','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.','finally','createdAt','state','affectedSelectable','keys','view','editing','912pehvWQ','marker','operationsReceived','Notification','getIdOfTheLastOperation','connected','lastOperationId','PENDING_ACTION_SENDING_DATA','1751034xmhbHg','_hasSelectionChanged','_connectService','63vbbyyW','catch','setPermissions','change:_isEditingAllowed','_connectAfterSessionHasBeenFlushed','change:range','clone','decompress','_isPendingUpdate','realtimecollaborationclient-init-session-connection-error','reset','remove','selection','realtimecollaborationclient-handleserverresponse','_handleReceivedOperations','1518140nDmuKK','ready','collaboration-missing-channelid','realtimecollaborationclient-sendbufferedoperations','history','_initThrowingOnDataSet','_pendingAction','Permissions','cs:removeUser','InsertOperation','init','lastSyncVersion','9265020nGIred','_shouldSendSelectionUpdate','startsWith','_updateServerHistory','markers','isEnabled','409','realtimecollaborationclient-initservice-incorrect-server-operation','91516DjzrLI','_getOperationsFromInitData','_knownRootNames','_setUpDataInit','addRootAttribute','code','createUserMarkerOperations','removeFromReconnectionStack','start','insert','isUndoneOperation','disconnected','register','listenTo','_initSessionsHandling','differ','mySessionId','createRoot','showWarning','_isConnected','forEach','_sendBufferedOperations','loadRoot','$root','toJSON','apply','_applyOperationsSet'];_0x263e=function(){return _0x16364b;};return _0x263e();}class J extends Error{}function Q(_0x19b15e,_0x1fa17b){const _0x29f6a9=_0x568c1f;for(const _0x598ce1 of _0x19b15e)_0x598ce1[_0x29f6a9(0x26a)]=_0x1fa17b++;}class X{constructor(_0x252630){const _0x5b2d71=_0x568c1f;this[_0x5b2d71(0x22f)]=_0x252630,this[_0x5b2d71(0x236)]=new WeakMap();}[_0x568c1f(0x1dc)](_0x3cfc58){const _0x4c0540=_0x568c1f;let _0x3eb639=_0x3cfc58[_0x4c0540(0x195)];for(;_0x3eb639--;){const _0x1bb92d=_0x3cfc58[_0x3eb639];if(!this[_0x4c0540(0x22f)][_0x4c0540(0x1c1)](_0x1bb92d)){if(!this[_0x4c0540(0x236)][_0x4c0540(0x1c1)](_0x1bb92d)){const _0x234ca9=_0x10dba0()[_0x4c0540(0x23c)](0x1,0x12);this[_0x4c0540(0x236)][_0x4c0540(0x19b)](_0x1bb92d,_0x234ca9);}return this[_0x4c0540(0x236)][_0x4c0540(0x19c)](_0x1bb92d);}}}[_0x568c1f(0x275)](_0x5da25f,_0x353187){const _0x29b284=_0x568c1f;if(!_0x353187)return;let _0x47c831=_0x5da25f[_0x29b284(0x195)];for(;_0x47c831--;){const _0x5e9e92=_0x5da25f[_0x47c831];this[_0x29b284(0x22f)][_0x29b284(0x1c1)](_0x5e9e92)||this[_0x29b284(0x236)][_0x29b284(0x19b)](_0x5e9e92,_0x353187);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x41df01=_0x2e4a;(function(_0xdd8d1e,_0x1ebfc7){const _0x402d62=_0x2e4a,_0x47fc46=_0xdd8d1e();while(!![]){try{const _0x1586bf=-parseInt(_0x402d62(0x164))/0x1+-parseInt(_0x402d62(0x168))/0x2*(parseInt(_0x402d62(0x154))/0x3)+-parseInt(_0x402d62(0x17b))/0x4*(-parseInt(_0x402d62(0x167))/0x5)+-parseInt(_0x402d62(0x160))/0x6*(-parseInt(_0x402d62(0x15c))/0x7)+-parseInt(_0x402d62(0x14a))/0x8*(parseInt(_0x402d62(0x156))/0x9)+parseInt(_0x402d62(0x171))/0xa+-parseInt(_0x402d62(0x159))/0xb;if(_0x1586bf===_0x1ebfc7)break;else _0x47fc46['push'](_0x47fc46['shift']());}catch(_0x3e9d78){_0x47fc46['push'](_0x47fc46['shift']());}}}(_0x2733,0x2bff2));function _0x2733(){const _0x567498=['stopListening','add','pluginName','plugins','6495nncNMn','set','483687wjCZIw','sessionAdd:','_handleSessionAdd','113036htzYIz','allConnectedUsers','clear','7JCJSwd','channelConnectedUsers','getUserSessions','context','977058RQGSBV','assign','_createUser','_uniqueUsersCount','116789uzyQcE','unregister','requires','5waiPBk','254wjNdNE','getUserBySessionId','addUser','listenTo','sessions-register-already-registered','mySessionId','_handleSessionRemove','user','connection','3347860RXVxVm','size','remove','values','has','Sessions','getUserRole','delete','connected','sessions-unregister-not-exist','768348cvwiqs','fire','_registeredSessions','sessionId','defineMe','init','change:state','role','getUser','forEach','_users','isMe','16ektPvZ','orderNumber','channelSessions','register','get','state'];_0x2733=function(){return _0x567498;};return _0x2733();}import{ContextPlugin as _0x329bd1}from'ckeditor5/src/core.js';import{Collection as _0x1aded0,CKEditorError as _0x3b975a}from'ckeditor5/src/utils.js';import _0x2f7838 from'./websocketgateway.js';function _0x2e4a(_0x1d2b27,_0x17405d){const _0x273300=_0x2733();return _0x2e4a=function(_0x2e4a55,_0x3c60b4){_0x2e4a55=_0x2e4a55-0x13f;let _0x165cfb=_0x273300[_0x2e4a55];return _0x165cfb;},_0x2e4a(_0x1d2b27,_0x17405d);}import{Users as _0x3d1640}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x329bd1{static get[_0x41df01(0x152)](){const _0x123d8a=_0x41df01;return _0x123d8a(0x176);}static get[_0x41df01(0x166)](){return[_0x2f7838,_0x3d1640];}constructor(_0xb03271){const _0x46a40b=_0x41df01;super(_0xb03271),this[_0x46a40b(0x14c)]=new Map(),this[_0x46a40b(0x15d)]=new Map(),this[_0x46a40b(0x15a)]=new _0x1aded0(),this[_0x46a40b(0x140)]=new Map(),this[_0x46a40b(0x163)]=0x0,this[_0x46a40b(0x148)]=this[_0x46a40b(0x15f)][_0x46a40b(0x153)][_0x46a40b(0x14e)](_0x3d1640);}[_0x41df01(0x143)](){const _0x4dc0e6=_0x41df01,_0xdebc26=this[_0x4dc0e6(0x15f)][_0x4dc0e6(0x153)][_0x4dc0e6(0x14e)](_0x2f7838);this[_0x4dc0e6(0x16b)](_0xdebc26,_0x4dc0e6(0x144),(_0x5a8077,_0x27a8b5,_0x2823aa)=>{const _0x56ff2d=_0x4dc0e6;if(_0x56ff2d(0x179)!==_0x2823aa)this[_0x56ff2d(0x14c)][_0x56ff2d(0x147)](_0xe1c31b=>_0xe1c31b[_0x56ff2d(0x15b)]()),this[_0x56ff2d(0x15d)][_0x56ff2d(0x147)](_0x5d0d27=>_0x5d0d27[_0x56ff2d(0x15b)]()),this[_0x56ff2d(0x15a)][_0x56ff2d(0x15b)]();else{for(const [_0x3917e6,_0x12fc4b]of this[_0x56ff2d(0x140)])for(const _0x3e9aca of _0x12fc4b)this[_0x56ff2d(0x158)](_0x3917e6,_0x3e9aca);}}),this[_0x4dc0e6(0x162)](_0xdebc26[_0x4dc0e6(0x170)]['me'],!0x0);}[_0x41df01(0x14d)](_0x3dbf26,_0x5dcb6c){const _0x4df688=_0x41df01;if(this[_0x4df688(0x140)][_0x4df688(0x175)](_0x3dbf26))throw new _0x3b975a(_0x4df688(0x16c),null,{'channelId':_0x3dbf26});this[_0x4df688(0x140)][_0x4df688(0x155)](_0x3dbf26,_0x5dcb6c),this[_0x4df688(0x14c)][_0x4df688(0x155)](_0x3dbf26,new _0x1aded0()),this[_0x4df688(0x15d)][_0x4df688(0x155)](_0x3dbf26,new _0x1aded0()),this[_0x4df688(0x16b)](_0x5dcb6c,_0x4df688(0x151),(_0x3a6603,_0x9f132c)=>this[_0x4df688(0x158)](_0x3dbf26,_0x9f132c)),this[_0x4df688(0x16b)](_0x5dcb6c,_0x4df688(0x173),(_0x41fb71,_0x4167d7)=>this[_0x4df688(0x16e)](_0x3dbf26,_0x4167d7));for(const _0x20a028 of _0x5dcb6c)this[_0x4df688(0x158)](_0x3dbf26,_0x20a028);}[_0x41df01(0x165)](_0x123764){const _0x5bc487=_0x41df01;if(!this[_0x5bc487(0x140)][_0x5bc487(0x175)](_0x123764))throw new _0x3b975a(_0x5bc487(0x17a),null,{'channelId':_0x123764});const _0x294f01=this[_0x5bc487(0x140)][_0x5bc487(0x14e)](_0x123764);this[_0x5bc487(0x150)](_0x294f01);for(const _0x108013 of _0x294f01)_0x5bc487(0x179)===this[_0x5bc487(0x15f)][_0x5bc487(0x153)][_0x5bc487(0x14e)](_0x2f7838)[_0x5bc487(0x14f)]&&this[_0x5bc487(0x16e)](_0x123764,_0x108013);this[_0x5bc487(0x140)][_0x5bc487(0x178)](_0x123764),this[_0x5bc487(0x14c)][_0x5bc487(0x178)](_0x123764),this[_0x5bc487(0x15d)][_0x5bc487(0x178)](_0x123764);}get[_0x41df01(0x16d)](){const _0x4be44d=_0x41df01;return this[_0x4be44d(0x15f)][_0x4be44d(0x153)][_0x4be44d(0x14e)](_0x2f7838)[_0x4be44d(0x170)][_0x4be44d(0x141)];}[_0x41df01(0x169)](_0x2ed975){const _0x56a83d=_0x41df01;for(const _0xcde9f9 of this[_0x56a83d(0x14c)][_0x56a83d(0x174)]())for(const _0x5e4423 of _0xcde9f9)if(_0x5e4423['id']===_0x2ed975)return _0x5e4423[_0x56a83d(0x16f)];}[_0x41df01(0x15e)](_0x5b38ef,_0x29ecd6){const _0x57b149=_0x41df01,_0x6eb668=_0x29ecd6?[this[_0x57b149(0x14c)][_0x57b149(0x14e)](_0x29ecd6)]:this[_0x57b149(0x14c)][_0x57b149(0x174)](),_0x4a1700=new Set();for(const _0x3a8d40 of _0x6eb668)for(const _0x4be87d of _0x3a8d40)_0x4be87d[_0x57b149(0x16f)]['id']===_0x5b38ef['id']&&_0x4a1700[_0x57b149(0x151)](_0x4be87d['id']);return _0x4a1700;}[_0x41df01(0x177)](_0x18430a){const _0xea0ce5=_0x41df01;for(const _0x22f935 of this[_0xea0ce5(0x14c)][_0xea0ce5(0x174)]())for(const _0x36a0ec of _0x22f935)if(_0x36a0ec[_0xea0ce5(0x16f)]===_0x18430a)return _0x36a0ec[_0xea0ce5(0x145)];}[_0x41df01(0x158)](_0x53eb3c,_0x160ec0){const _0x8b78b0=_0x41df01;if(_0x8b78b0(0x179)!==this[_0x8b78b0(0x15f)][_0x8b78b0(0x153)][_0x8b78b0(0x14e)](_0x2f7838)[_0x8b78b0(0x14f)])return;const _0x1cd641=_0x160ec0[_0x8b78b0(0x16f)],_0x36ddac=this[_0x8b78b0(0x148)][_0x8b78b0(0x146)](_0x1cd641['id'])||this[_0x8b78b0(0x162)](_0x1cd641),_0x2f9748=Object[_0x8b78b0(0x161)]({},_0x160ec0,{'user':_0x36ddac});this[_0x8b78b0(0x14c)][_0x8b78b0(0x14e)](_0x53eb3c)[_0x8b78b0(0x151)](_0x2f9748);const _0x43d9e3=this[_0x8b78b0(0x15d)][_0x8b78b0(0x14e)](_0x53eb3c);_0x43d9e3[_0x8b78b0(0x175)](_0x36ddac['id'])||_0x43d9e3[_0x8b78b0(0x151)](_0x36ddac),this[_0x8b78b0(0x15a)][_0x8b78b0(0x175)](_0x36ddac['id'])||this[_0x8b78b0(0x15a)][_0x8b78b0(0x151)](_0x36ddac,_0x36ddac[_0x8b78b0(0x149)]?0x0:void 0x0),this[_0x8b78b0(0x13f)](_0x8b78b0(0x157)+_0x53eb3c,{'channelId':_0x53eb3c,'session':_0x2f9748});}[_0x41df01(0x16e)](_0x22284,_0x316946){const _0x5ec3d0=_0x41df01;if(_0x5ec3d0(0x179)!==this[_0x5ec3d0(0x15f)][_0x5ec3d0(0x153)][_0x5ec3d0(0x14e)](_0x2f7838)[_0x5ec3d0(0x14f)])return;const _0x378430=this[_0x5ec3d0(0x15d)][_0x5ec3d0(0x14e)](_0x22284),_0x421e4a=_0x316946[_0x5ec3d0(0x16f)];_0x421e4a['id']&&(this[_0x5ec3d0(0x14c)][_0x5ec3d0(0x14e)](_0x22284)[_0x5ec3d0(0x173)](_0x316946['id']),_0x378430[_0x5ec3d0(0x175)](_0x421e4a['id'])&&!this[_0x5ec3d0(0x15e)](_0x421e4a,_0x22284)[_0x5ec3d0(0x172)]&&_0x378430[_0x5ec3d0(0x173)](_0x421e4a['id']),this[_0x5ec3d0(0x15a)][_0x5ec3d0(0x14e)](_0x421e4a['id'])&&!this[_0x5ec3d0(0x15e)](_0x421e4a)[_0x5ec3d0(0x172)]&&this[_0x5ec3d0(0x15a)][_0x5ec3d0(0x173)](_0x421e4a['id']));}[_0x41df01(0x162)](_0x336e0a,_0x485337){const _0x3f1580=_0x41df01,_0x319415=this[_0x3f1580(0x148)][_0x3f1580(0x16a)](_0x336e0a);return _0x485337&&this[_0x3f1580(0x148)][_0x3f1580(0x142)](_0x336e0a['id']),_0x319415[_0x3f1580(0x14b)]=this[_0x3f1580(0x163)]++,_0x319415;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x40d8f0=_0x1dcc;(function(_0xc322c8,_0x4980c4){const _0x427ea1=_0x1dcc,_0x8d4d64=_0xc322c8();while(!![]){try{const _0x15336c=-parseInt(_0x427ea1(0xc1))/0x1*(-parseInt(_0x427ea1(0x10a))/0x2)+-parseInt(_0x427ea1(0x104))/0x3*(-parseInt(_0x427ea1(0xaa))/0x4)+parseInt(_0x427ea1(0x120))/0x5*(parseInt(_0x427ea1(0xb2))/0x6)+parseInt(_0x427ea1(0x118))/0x7+-parseInt(_0x427ea1(0xb0))/0x8+parseInt(_0x427ea1(0xdc))/0x9+-parseInt(_0x427ea1(0x11b))/0xa*(parseInt(_0x427ea1(0xd6))/0xb);if(_0x15336c===_0x4980c4)break;else _0x8d4d64['push'](_0x8d4d64['shift']());}catch(_0x14fb5b){_0x8d4d64['push'](_0x8d4d64['shift']());}}}(_0x3d3a,0x6f3dc));import{Plugin as _0x3df8e9}from'ckeditor5/src/core.js';import{global as _0x2a3677,DomEmitterMixin as _0x345247}from'ckeditor5/src/utils.js';function _0x1dcc(_0x542004,_0x18f476){const _0x3d3a7c=_0x3d3a();return _0x1dcc=function(_0x1dccff,_0x26cc04){_0x1dccff=_0x1dccff-0xaa;let _0x152595=_0x3d3a7c[_0x1dccff];return _0x152595;},_0x1dcc(_0x542004,_0x18f476);}import _0x2b754d from'./sessions.js';import{LiveRange as _0x31698b}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class K extends _0x3df8e9{constructor(){const _0x6c35bd=_0x1dcc;super(...arguments),this[_0x6c35bd(0xca)]=new(_0x345247())();}static get[_0x40d8f0(0xea)](){return[_0x2b754d];}static get[_0x40d8f0(0x105)](){const _0x1c7112=_0x40d8f0;return _0x1c7112(0xee);}[_0x40d8f0(0xfb)](){const _0x33f133=_0x40d8f0,_0x3ad78a=this[_0x33f133(0x112)],_0x224b34=_0x3ad78a[_0x33f133(0xc2)][_0x33f133(0xb7)](_0x2b754d);_0x3ad78a[_0x33f133(0xcd)][_0x33f133(0xd8)](_0x33f133(0x11a))[_0x33f133(0xc0)]({'model':_0x33f133(0xad),'view':(_0x4f01d8,{writer:_0x320855})=>function(_0xd69813,_0x444166,_0x5d0258,_0x439cb6){const _0x2b68d1=_0x33f133,_0x17ad45=_0xd69813[_0x2b68d1(0xf4)][_0x2b68d1(0xf9)](':')[0x2],_0x448bc0=_0x5d0258[_0x2b68d1(0xbe)](_0x17ad45);if(!_0x448bc0||_0x17ad45===_0x5d0258[_0x2b68d1(0x119)])return;if(!_0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0x122)][_0x2b68d1(0x11d)](_0xd69813[_0x2b68d1(0xe6)][_0x2b68d1(0x103)],_0x2b68d1(0xcf)))return;const _0x2dca07={'class':_0x2b68d1(0xed)+_0x448bc0[_0x2b68d1(0xe1)][_0x2b68d1(0xe4)](),'data-name':_0x448bc0[_0x2b68d1(0xf1)],'data-session-id':_0x17ad45},_0xd043fa=_0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0xb9)][_0x2b68d1(0xb7)](_0xd69813[_0x2b68d1(0xf4)]),_0x45f366=_0xd043fa[_0x2b68d1(0x111)](),_0x58e72c=_0x45f366[_0x2b68d1(0x128)],_0x5909c5=_0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0x122)];if(_0x58e72c&&_0x5909c5[_0x2b68d1(0x127)](_0x58e72c)&&_0x5909c5[_0x2b68d1(0xf0)](_0x58e72c)&&!_0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0xb9)][_0x2b68d1(0xb7)](_0x2b68d1(0x11c)+_0x17ad45)[_0x2b68d1(0x123)]()[_0x2b68d1(0xef)])return;const _0x5e10bc=_0x45f366[_0x2b68d1(0x124)];return _0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0x122)][_0x2b68d1(0xb6)](_0x5e10bc)&&!_0x439cb6[_0x2b68d1(0x110)][_0x2b68d1(0x12c)](_0x5e10bc)&&(_0x2dca07[_0x2b68d1(0x10b)]=!0x1),function(_0x599b55,_0x65294b,_0x5f3fe7){const _0x5948af=_0x2b68d1,_0x478eee=_0x599b55[_0x5948af(0xdb)](_0x5948af(0xf5),_0x65294b);return _0x599b55[_0x5948af(0x10d)](_0x5948af(0xd3),!0x0,_0x478eee),_0x478eee[_0x5948af(0x12a)]=function(_0xc66ad1){const _0x429ffc=_0x5948af,_0x3cd5fe=this[_0x429ffc(0x10e)](_0xc66ad1);return _0x3cd5fe[_0x429ffc(0xff)]=_0x429ffc(0xb3)+_0x5f3fe7[_0x429ffc(0xf1)]+_0x429ffc(0xae),_0x3cd5fe[_0x429ffc(0xac)](_0x429ffc(0xbb),()=>{const _0x534c40=_0x429ffc;_0x3cd5fe[_0x534c40(0xaf)][_0x534c40(0x129)](_0x534c40(0xb4));}),_0x3cd5fe[_0x429ffc(0xac)](_0x429ffc(0xd9),()=>{const _0x325110=_0x429ffc;_0x3cd5fe[_0x325110(0xaf)][_0x325110(0xde)](_0x325110(0xb4));}),_0x3cd5fe;},_0x478eee[_0x5948af(0xe3)]=function(_0x48e4f5){const _0x1b81d5=_0x5948af;return!(!this[_0x1b81d5(0xe0)](_0x1b81d5(0xd3))||!_0x48e4f5[_0x1b81d5(0xe0)](_0x1b81d5(0xd3))||this[_0x1b81d5(0xd2)](_0x1b81d5(0xe8))!=_0x48e4f5[_0x1b81d5(0xd2)](_0x1b81d5(0xe8)));},_0x478eee;}(_0x444166,_0x2dca07,_0x448bc0);}(_0x4f01d8,_0x320855,_0x224b34,_0x3ad78a)}),_0x3ad78a[_0x33f133(0xcd)][_0x33f133(0xd8)](_0x33f133(0x11a))[_0x33f133(0xc5)]({'model':_0x33f133(0x102),'view':_0x49cbc7=>function(_0x28c751,_0x3b0510){const _0x5d9518=_0x33f133,_0xbdb2ef=_0x28c751[_0x5d9518(0xf4)][_0x5d9518(0xf9)](':')[0x2];if(_0xbdb2ef===_0x3b0510[_0x5d9518(0x119)])return null;const _0x5492d7=_0x3b0510[_0x5d9518(0xbe)](_0xbdb2ef);if(!_0x5492d7)return{'id':_0xbdb2ef,'classes':[]};return{'id':_0xbdb2ef,'classes':[_0x5d9518(0xf2),_0x5492d7[_0x5d9518(0xe1)][_0x5d9518(0xb5)]()],'attributes':{'data-session-id':_0xbdb2ef},'priority':0x7d0+_0x5492d7[_0x5d9518(0xec)]};}(_0x49cbc7,_0x224b34)}),function(_0x1bafe8){const _0x57b2ce=_0x33f133,_0x2d808b=_0x1bafe8[_0x57b2ce(0x110)],_0x5b1782=new Map(),_0x2e50df=_0x1bafe8[_0x57b2ce(0xc2)][_0x57b2ce(0xb7)](_0x2b754d);_0x2d808b[_0x57b2ce(0xb9)]['on'](_0x57b2ce(0xfa),(_0x462833,_0x3fbe02,_0x5ee0da,_0x27b2e4)=>{const _0x47096f=_0x57b2ce;if(!_0x27b2e4&&_0x5b1782[_0x47096f(0xb7)](_0x3fbe02[_0x47096f(0xf1)]))return _0x5b1782[_0x47096f(0xb7)](_0x3fbe02[_0x47096f(0xf1)])[_0x47096f(0xdf)](),void _0x5b1782[_0x47096f(0xc9)](_0x3fbe02[_0x47096f(0xf1)]);const _0x41c674=_0x3fbe02[_0x47096f(0xf1)][_0x47096f(0xf9)](':')[0x2];if(_0x41c674===_0x2e50df[_0x47096f(0x119)])return;const _0x2c6d4d=_0x47096f(0x11e)+_0x41c674;_0x2d808b[_0x47096f(0xb9)][_0x47096f(0xd1)](_0x2c6d4d)&&_0x1bafe8[_0x47096f(0xbf)][_0x47096f(0xcc)](_0x2c6d4d),_0x3fbe02['on'](_0x47096f(0x114),(_0x14fb34,_0x1eccaa,_0x42bd9d)=>{const _0x1f5237=_0x47096f;if(_0x1f5237(0xd7)!=_0x1eccaa[_0x1f5237(0xb1)][_0x1f5237(0xda)]&&_0x1f5237(0xd7)==_0x3fbe02[_0x1f5237(0x123)]()[_0x1f5237(0xb1)][_0x1f5237(0xda)]&&!_0x5b1782[_0x1f5237(0xd1)](_0x3fbe02[_0x1f5237(0xf1)])){const _0x2d29cb=_0x2d808b[_0x1f5237(0x122)][_0x1f5237(0xe5)](_0x42bd9d[_0x1f5237(0xfe)]);if(_0x2d29cb){const _0x26e607=_0x31698b[_0x1f5237(0xf7)](_0x2d29cb);_0x5b1782[_0x1f5237(0xc7)](_0x3fbe02[_0x1f5237(0xf1)],_0x26e607),_0x26e607['on'](_0x1f5237(0x114),(_0xf4eaaa,_0x244ce3,_0x20b055)=>{const _0x33f916=_0x1f5237;if(_0x33f916(0xd7)==_0x26e607[_0x33f916(0xb1)][_0x33f916(0xda)]){const _0x40abfc=_0x2d808b[_0x33f916(0x122)][_0x33f916(0xe5)](_0x20b055[_0x33f916(0xfe)]);_0x40abfc?(_0x26e607[_0x33f916(0x103)]=_0x40abfc[_0x33f916(0x103)],_0x26e607[_0x33f916(0xbd)]=_0x40abfc[_0x33f916(0xbd)]):(_0x5b1782[_0x33f916(0xc9)](_0x3fbe02[_0x33f916(0xf1)]),_0x26e607[_0x33f916(0xdf)]());}});}}});}),_0x2d808b[_0x57b2ce(0xe7)]['on'](_0x57b2ce(0xcb),()=>{const _0x1f8b9d=_0x57b2ce;_0x5b1782[_0x1f8b9d(0x106)]>0x0&&_0x2d808b[_0x1f8b9d(0xbc)]({'isUndoable':!0x1},_0x2d2c6a=>{const _0x2dcbfc=_0x1f8b9d;for(const [_0x9a0ff0,_0x1dec97]of _0x5b1782)_0x2dcbfc(0xd7)==_0x2d808b[_0x2dcbfc(0xb9)][_0x2dcbfc(0xb7)](_0x9a0ff0)[_0x2dcbfc(0x123)]()[_0x2dcbfc(0xb1)][_0x2dcbfc(0xda)]&&(te(_0x9a0ff0[_0x2dcbfc(0xf9)](':')[0x2],_0x1dec97[_0x2dcbfc(0x100)](),_0x2d808b,_0x2d2c6a),_0x1dec97[_0x2dcbfc(0xdf)]());_0x5b1782[_0x2dcbfc(0xd4)]();});});}(_0x3ad78a),this[_0x33f133(0xca)][_0x33f133(0x115)](_0x2a3677[_0x33f133(0xe7)],_0x33f133(0xab),(_0x5f09b6,{key:_0x287929})=>{const _0x1b9b97=_0x33f133;_0x1b9b97(0xe9)===_0x287929&&function(_0x465eec){const _0x4f53f0=_0x1b9b97;_0x465eec[_0x4f53f0(0xbf)][_0x4f53f0(0xc6)][_0x4f53f0(0xcb)](_0x4b0a1d=>{const _0x208796=_0x4f53f0;for(const _0x4e83b8 of _0x465eec[_0x208796(0x110)][_0x208796(0xb9)]){if(!_0x4e83b8[_0x208796(0xf1)][_0x208796(0x116)](_0x208796(0xad)))continue;const _0xf0512c=_0x465eec[_0x208796(0xbf)][_0x208796(0xe2)][_0x208796(0x109)](_0x4e83b8[_0x208796(0xf1)]);if(_0xf0512c){for(const _0x59a680 of _0xf0512c)_0x4b0a1d[_0x208796(0x12b)](_0x208796(0xb4),_0x59a680);}}});}(_0x3ad78a);},{'useCapture':!0x0});}[_0x40d8f0(0x10f)](){const _0x2aba57=_0x40d8f0,_0x20e48c=this[_0x2aba57(0x112)],_0x434f61=_0x20e48c[_0x2aba57(0x113)][_0x2aba57(0xb7)](_0x2aba57(0xf3));_0x434f61&&_0x20e48c[_0x2aba57(0x110)]['on'](_0x2aba57(0xeb),(_0x2b47c1,_0x58eee1)=>{const _0x5e7b70=_0x2aba57,_0x519e28=_0x58eee1[0x0];if(_0x5e7b70(0xc4)!=_0x519e28[_0x5e7b70(0xd0)]||!_0x519e28[_0x5e7b70(0xf1)][_0x5e7b70(0x116)](_0x5e7b70(0x101)))return;const _0x57abdc=_0x519e28[_0x5e7b70(0xb8)];_0x434f61[_0x5e7b70(0xf6)][_0x5e7b70(0xd1)](_0x57abdc)&&(_0x519e28[_0x5e7b70(0x121)]=_0x519e28[_0x5e7b70(0x125)]?_0x20e48c[_0x5e7b70(0x110)][_0x5e7b70(0xce)](_0x519e28[_0x5e7b70(0x125)][_0x5e7b70(0x103)],_0x519e28[_0x5e7b70(0x125)][_0x5e7b70(0xbd)]):null);},{'priority':_0x2aba57(0x108)});}[_0x40d8f0(0x11f)](){const _0x1b2d37=_0x40d8f0;return this[_0x1b2d37(0xca)][_0x1b2d37(0x126)](),super[_0x1b2d37(0x11f)]();}[_0x40d8f0(0xfc)](){const _0x32525d=_0x40d8f0,_0x3836ae=this[_0x32525d(0x112)],_0x4824d6=_0x3836ae[_0x32525d(0x110)][_0x32525d(0xe7)],_0x1a9e8e=_0x3836ae[_0x32525d(0xc2)][_0x32525d(0xb7)](_0x2b754d);_0x3836ae[_0x32525d(0x110)][_0x32525d(0xbc)]({'isUndoable':!0x1},_0x30a884=>{const _0x29f376=_0x32525d,_0x341599=_0x29f376(0x11c)+_0x1a9e8e[_0x29f376(0x119)],_0x42ee6e=_0x29f376(0x11e)+_0x1a9e8e[_0x29f376(0x119)],_0x37e4b4=_0x3836ae[_0x29f376(0x110)][_0x29f376(0xb9)][_0x29f376(0xd1)](_0x341599);_0x3836ae[_0x29f376(0xbf)][_0x29f376(0xc6)][_0x29f376(0x117)]?te(_0x1a9e8e[_0x29f376(0x119)],_0x4824d6[_0x29f376(0xc3)][_0x29f376(0xf8)](),_0x3836ae[_0x29f376(0x110)],_0x30a884):_0x37e4b4&&(_0x30a884[_0x29f376(0xdd)](_0x341599),_0x30a884[_0x29f376(0xdd)](_0x42ee6e));});}}function _0x3d3a(){const _0x4454dc=['isLimit','get','batch','markers','addMarker','mouseenter','enqueueChange','end','getUserBySessionId','editing','markerToElement','50394ucEwYm','plugins','selection','marker','markerToHighlight','view','set','element','delete','_domEmitter','change','reconvertMarker','conversion','createRange','$text','type','has','getAttribute','userPositionMarker','clear','updateMarker','15070ecQEqQ','$graveyard','for','mouseleave','rootName','createUIElement','3052611xQMuDz','removeMarker','remove','detach','getCustomProperty','color','mapper','isSimilar','getMarkerClass','getNearestSelectionRange','markerRange','document','data-session-id','Escape','requires','applyOperation','orderNumber','ck-user__marker\x20','UserMarkers','isCollapsed','isInline','name','ck-user__selection','undo','markerName','span','_createdBatches','fromRange','getFirstRange','split','update:user:range','init','createUserMarkerOperations','getContainedElement','deletionPosition','innerHTML','toRange','user:','user:range','start','521349PMYWor','pluginName','size','getPositions','highest','markerNameToElements','34mdLGKU','contenteditable','tableCell','setCustomProperty','toDomElement','afterInit','model','getStart','editor','commands','change:range','listenTo','startsWith','hasDomSelection','6374179WfphZK','mySessionId','editingDowncast','14470iPaTtz','user:range:','checkChild','user:position:','destroy','31945gVEQcA','newRange','schema','getRange','parent','oldRange','stopListening','isObject','nodeAfter','add','render','removeClass','hasContent','4NuhuAb','keydown','addEventListener','user:position','</span>','classList','4666776mALhXG','root','696ceABYi','<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>','ck-user__marker_hovered','getSelectionClass'];_0x3d3a=function(){return _0x4454dc;};return _0x3d3a();}function te(_0x3a50c6,_0x5817f1,_0xf44375,_0x27ba64){const _0x28e1eb=_0x40d8f0,_0x2b8938=_0x28e1eb(0x11c)+_0x3a50c6,_0x454cdb=_0x28e1eb(0x11e)+_0x3a50c6,_0x204773=_0x5817f1[_0x28e1eb(0xfd)]();let _0x566c03=_0x5817f1[_0x28e1eb(0x103)];_0x204773&&_0x204773['is'](_0x28e1eb(0xc8),_0x28e1eb(0x10c))&&(_0x566c03=function(_0x21e28b,_0x194cbc){const _0x5f53f5=_0x28e1eb;for(const _0x2939ee of _0x21e28b[_0x5f53f5(0x107)]())if(_0x194cbc[_0x5f53f5(0x122)][_0x5f53f5(0x11d)](_0x2939ee,_0x5f53f5(0xcf)))return _0x2939ee;}(_0x5817f1,_0xf44375),_0x5817f1=_0x27ba64[_0x28e1eb(0xce)](_0x566c03));const _0xefd8bd=_0x27ba64[_0x28e1eb(0xce)](_0x566c03);_0xf44375[_0x28e1eb(0xb9)][_0x28e1eb(0xd1)](_0x2b8938)?(_0x27ba64[_0x28e1eb(0xd5)](_0x2b8938,{'range':_0x5817f1}),_0x27ba64[_0x28e1eb(0xd5)](_0x454cdb,{'range':_0xefd8bd})):(_0x27ba64[_0x28e1eb(0xba)](_0x2b8938,{'range':_0x5817f1,'usingOperation':!0x0}),_0x27ba64[_0x28e1eb(0xba)](_0x454cdb,{'range':_0xefd8bd,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x2dd9(){const _0x3c7267=['commands','requires','delete','set','checkChild','1238550wJSSTN','get','detach','add','markerName','addEventListener','markerNameToElements','start','954656CMaiXW','remove','data-session-id','plugins','split','has','color','marker','for','reconvertMarker','getCustomProperty','contenteditable','mouseenter','user:position:','change','end','user:position','removeClass','batch','<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>','parent','document','view','22542vpElzr','getFirstRange','addMarker','init','update:user:range','change:range','innerHTML','230nYzcVg','isInline','getSelectionClass','type','classList','ck-user__marker_hovered','isObject','userPositionMarker','getStart','</span>','markerToElement','markers','ck-user__selection','root','startsWith','createRange','applyOperation','enqueueChange','pluginName','Escape','stopListening','_createdBatches','markerRange','newRange','nodeAfter','editing','oldRange','toDomElement','user:','clear','listenTo','getPositions','rootName','createUserMarkerOperations','$text','getRange','size','fromRange','render','editor','$graveyard','schema','toRange','editingDowncast','destroy','model','highest','isCollapsed','tableCell','element','setCustomProperty','undo','getAttribute','30VgOUXe','removeMarker','deletionPosition','updateMarker','18hnLQsw','hasDomSelection','303972YxtioH','span','getMarkerClass','460450BhFlhy','markerToHighlight','afterInit','isLimit','getContainedElement','848522aIRHnW','keydown','isSimilar','mapper','_domEmitter','orderNumber','640387iJQhnV','name','getNearestSelectionRange','ck-user__marker\x20','selection','getUserBySessionId','user:range:','hasContent','conversion','mouseleave','createUIElement','user:range','UserMarkers','112NZDJQV','mySessionId'];_0x2dd9=function(){return _0x3c7267;};return _0x2dd9();}const _0x3b00d3=_0x35e2;(function(_0x525dcd,_0x2185d8){const _0x11d84c=_0x35e2,_0x2ce301=_0x525dcd();while(!![]){try{const _0x231939=-parseInt(_0x11d84c(0x1f3))/0x1+-parseInt(_0x11d84c(0x1f8))/0x2+parseInt(_0x11d84c(0x18f))/0x3+-parseInt(_0x11d84c(0x1f0))/0x4*(parseInt(_0x11d84c(0x1ea))/0x5)+-parseInt(_0x11d84c(0x1ae))/0x6*(-parseInt(_0x11d84c(0x188))/0x7)+-parseInt(_0x11d84c(0x197))/0x8*(parseInt(_0x11d84c(0x1ee))/0x9)+parseInt(_0x11d84c(0x1b5))/0xa*(parseInt(_0x11d84c(0x1fe))/0xb);if(_0x231939===_0x2185d8)break;else _0x2ce301['push'](_0x2ce301['shift']());}catch(_0x7efe60){_0x2ce301['push'](_0x2ce301['shift']());}}}(_0x2dd9,0x38cac));import{Plugin as _0x31bbbf}from'ckeditor5/src/core.js';function _0x35e2(_0x2cc931,_0x5b78c9){const _0x2dd9f2=_0x2dd9();return _0x35e2=function(_0x35e230,_0x459892){_0x35e230=_0x35e230-0x17f;let _0x56aadb=_0x2dd9f2[_0x35e230];return _0x56aadb;},_0x35e2(_0x2cc931,_0x5b78c9);}import{global as _0x4e51a7,DomEmitterMixin as _0x3312a7}from'ckeditor5/src/utils.js';import _0x41b25c from'./sessions.js';import{LiveRange as _0x4a9172}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x31bbbf{constructor(){const _0x16cb6c=_0x35e2;super(...arguments),this[_0x16cb6c(0x1fc)]=new(_0x3312a7())();}static get[_0x3b00d3(0x18b)](){return[_0x41b25c];}static get[_0x3b00d3(0x1c7)](){const _0x14bf45=_0x3b00d3;return _0x14bf45(0x187);}[_0x3b00d3(0x1b1)](){const _0x5a92f4=_0x3b00d3,_0x21f9d8=this[_0x5a92f4(0x1dc)],_0x5893eb=_0x21f9d8[_0x5a92f4(0x19a)][_0x5a92f4(0x190)](_0x41b25c);_0x21f9d8[_0x5a92f4(0x183)][_0x5a92f4(0x19f)](_0x5a92f4(0x1e0))[_0x5a92f4(0x1bf)]({'model':_0x5a92f4(0x1a7),'view':(_0x226cdb,{writer:_0x22fd55})=>function(_0x91e57,_0x471019,_0x3aeef7,_0x488502){const _0x79eca5=_0x5a92f4,_0x28c3bb=_0x91e57[_0x79eca5(0x193)][_0x79eca5(0x19b)](':')[0x2],_0x12b347=_0x3aeef7[_0x79eca5(0x180)](_0x28c3bb);if(!_0x12b347||_0x28c3bb===_0x3aeef7[_0x79eca5(0x189)])return;if(!_0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x1de)][_0x79eca5(0x18e)](_0x91e57[_0x79eca5(0x1cb)][_0x79eca5(0x196)],_0x79eca5(0x1d7)))return;const _0xdeab20={'class':_0x79eca5(0x201)+_0x12b347[_0x79eca5(0x19d)][_0x79eca5(0x1f2)](),'data-name':_0x12b347[_0x79eca5(0x1ff)],'data-session-id':_0x28c3bb},_0x33d59e=_0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x1c0)][_0x79eca5(0x190)](_0x91e57[_0x79eca5(0x193)]),_0x134b72=_0x33d59e[_0x79eca5(0x1bd)](),_0x373448=_0x134b72[_0x79eca5(0x1cd)],_0x5b6f0d=_0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x1de)];if(_0x373448&&_0x5b6f0d[_0x79eca5(0x1bb)](_0x373448)&&_0x5b6f0d[_0x79eca5(0x1b6)](_0x373448)&&!_0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x1c0)][_0x79eca5(0x190)](_0x79eca5(0x181)+_0x28c3bb)[_0x79eca5(0x1d8)]()[_0x79eca5(0x1e4)])return;const _0x123d9d=_0x134b72[_0x79eca5(0x1ab)];return _0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x1de)][_0x79eca5(0x1f6)](_0x123d9d)&&!_0x488502[_0x79eca5(0x1e2)][_0x79eca5(0x182)](_0x123d9d)&&(_0xdeab20[_0x79eca5(0x1a2)]=!0x1),function(_0x4477dc,_0x50cf4c,_0x2ec21a){const _0xf749a6=_0x79eca5,_0x3da604=_0x4477dc[_0xf749a6(0x185)](_0xf749a6(0x1f1),_0x50cf4c);return _0x4477dc[_0xf749a6(0x1e7)](_0xf749a6(0x1bc),!0x0,_0x3da604),_0x3da604[_0xf749a6(0x1db)]=function(_0x2c0b51){const _0x243ce2=_0xf749a6,_0x2ef376=this[_0x243ce2(0x1d0)](_0x2c0b51);return _0x2ef376[_0x243ce2(0x1b4)]=_0x243ce2(0x1aa)+_0x2ec21a[_0x243ce2(0x1ff)]+_0x243ce2(0x1be),_0x2ef376[_0x243ce2(0x194)](_0x243ce2(0x1a3),()=>{const _0x18042f=_0x243ce2;_0x2ef376[_0x18042f(0x1b9)][_0x18042f(0x192)](_0x18042f(0x1ba));}),_0x2ef376[_0x243ce2(0x194)](_0x243ce2(0x184),()=>{const _0x357d9c=_0x243ce2;_0x2ef376[_0x357d9c(0x1b9)][_0x357d9c(0x198)](_0x357d9c(0x1ba));}),_0x2ef376;},_0x3da604[_0xf749a6(0x1fa)]=function(_0x49d35c){const _0x14726a=_0xf749a6;return!(!this[_0x14726a(0x1a1)](_0x14726a(0x1bc))||!_0x49d35c[_0x14726a(0x1a1)](_0x14726a(0x1bc))||this[_0x14726a(0x1e9)](_0x14726a(0x199))!=_0x49d35c[_0x14726a(0x1e9)](_0x14726a(0x199)));},_0x3da604;}(_0x471019,_0xdeab20,_0x12b347);}(_0x226cdb,_0x22fd55,_0x5893eb,_0x21f9d8)}),_0x21f9d8[_0x5a92f4(0x183)][_0x5a92f4(0x19f)](_0x5a92f4(0x1e0))[_0x5a92f4(0x1f4)]({'model':_0x5a92f4(0x186),'view':_0x3ac664=>function(_0x543df,_0x550bbe){const _0x648b17=_0x5a92f4,_0x4802d0=_0x543df[_0x648b17(0x193)][_0x648b17(0x19b)](':')[0x2];if(_0x4802d0===_0x550bbe[_0x648b17(0x189)])return null;const _0x5ba4de=_0x550bbe[_0x648b17(0x180)](_0x4802d0);if(!_0x5ba4de)return{'id':_0x4802d0,'classes':[]};return{'id':_0x4802d0,'classes':[_0x648b17(0x1c1),_0x5ba4de[_0x648b17(0x19d)][_0x648b17(0x1b7)]()],'attributes':{'data-session-id':_0x4802d0},'priority':0x7d0+_0x5ba4de[_0x648b17(0x1fd)]};}(_0x3ac664,_0x5893eb)}),function(_0x5f4d35){const _0x2c7aad=_0x5a92f4,_0x16d74f=_0x5f4d35[_0x2c7aad(0x1e2)],_0x2663c7=new Map(),_0x2e1c00=_0x5f4d35[_0x2c7aad(0x19a)][_0x2c7aad(0x190)](_0x41b25c);_0x16d74f[_0x2c7aad(0x1c0)]['on'](_0x2c7aad(0x1b2),(_0x558f93,_0x57088b,_0x1fcabe,_0x544604)=>{const _0x1930e0=_0x2c7aad;if(!_0x544604&&_0x2663c7[_0x1930e0(0x190)](_0x57088b[_0x1930e0(0x1ff)]))return _0x2663c7[_0x1930e0(0x190)](_0x57088b[_0x1930e0(0x1ff)])[_0x1930e0(0x191)](),void _0x2663c7[_0x1930e0(0x18c)](_0x57088b[_0x1930e0(0x1ff)]);const _0x2a4e6e=_0x57088b[_0x1930e0(0x1ff)][_0x1930e0(0x19b)](':')[0x2];if(_0x2a4e6e===_0x2e1c00[_0x1930e0(0x189)])return;const _0x3d50c6=_0x1930e0(0x1a4)+_0x2a4e6e;_0x16d74f[_0x1930e0(0x1c0)][_0x1930e0(0x19c)](_0x3d50c6)&&_0x5f4d35[_0x1930e0(0x1ce)][_0x1930e0(0x1a0)](_0x3d50c6),_0x57088b['on'](_0x1930e0(0x1b3),(_0x1145f5,_0x498ff7,_0x3a6a55)=>{const _0x49afd2=_0x1930e0;if(_0x49afd2(0x1dd)!=_0x498ff7[_0x49afd2(0x1c2)][_0x49afd2(0x1d5)]&&_0x49afd2(0x1dd)==_0x57088b[_0x49afd2(0x1d8)]()[_0x49afd2(0x1c2)][_0x49afd2(0x1d5)]&&!_0x2663c7[_0x49afd2(0x19c)](_0x57088b[_0x49afd2(0x1ff)])){const _0x11c7e0=_0x16d74f[_0x49afd2(0x1de)][_0x49afd2(0x200)](_0x3a6a55[_0x49afd2(0x1ec)]);if(_0x11c7e0){const _0x5ae59d=_0x4a9172[_0x49afd2(0x1da)](_0x11c7e0);_0x2663c7[_0x49afd2(0x18d)](_0x57088b[_0x49afd2(0x1ff)],_0x5ae59d),_0x5ae59d['on'](_0x49afd2(0x1b3),(_0x12cfc9,_0x325cdc,_0x747d0e)=>{const _0x5c228b=_0x49afd2;if(_0x5c228b(0x1dd)==_0x5ae59d[_0x5c228b(0x1c2)][_0x5c228b(0x1d5)]){const _0x3c7606=_0x16d74f[_0x5c228b(0x1de)][_0x5c228b(0x200)](_0x747d0e[_0x5c228b(0x1ec)]);_0x3c7606?(_0x5ae59d[_0x5c228b(0x196)]=_0x3c7606[_0x5c228b(0x196)],_0x5ae59d[_0x5c228b(0x1a6)]=_0x3c7606[_0x5c228b(0x1a6)]):(_0x2663c7[_0x5c228b(0x18c)](_0x57088b[_0x5c228b(0x1ff)]),_0x5ae59d[_0x5c228b(0x191)]());}});}}});}),_0x16d74f[_0x2c7aad(0x1ac)]['on'](_0x2c7aad(0x1a5),()=>{const _0x105b58=_0x2c7aad;_0x2663c7[_0x105b58(0x1d9)]>0x0&&_0x16d74f[_0x105b58(0x1c6)]({'isUndoable':!0x1},_0x31af9c=>{const _0x48b41a=_0x105b58;for(const [_0x2a014b,_0x1056ca]of _0x2663c7)_0x48b41a(0x1dd)==_0x16d74f[_0x48b41a(0x1c0)][_0x48b41a(0x190)](_0x2a014b)[_0x48b41a(0x1d8)]()[_0x48b41a(0x1c2)][_0x48b41a(0x1d5)]&&(re(_0x2a014b[_0x48b41a(0x19b)](':')[0x2],_0x1056ca[_0x48b41a(0x1df)](),_0x16d74f,_0x31af9c),_0x1056ca[_0x48b41a(0x191)]());_0x2663c7[_0x48b41a(0x1d2)]();});});}(_0x21f9d8),this[_0x5a92f4(0x1fc)][_0x5a92f4(0x1d3)](_0x4e51a7[_0x5a92f4(0x1ac)],_0x5a92f4(0x1f9),(_0x128803,{key:_0x2fcb56})=>{const _0x1cfded=_0x5a92f4;_0x1cfded(0x1c8)===_0x2fcb56&&function(_0x1b520d){const _0x553463=_0x1cfded;_0x1b520d[_0x553463(0x1ce)][_0x553463(0x1ad)][_0x553463(0x1a5)](_0x2f0e30=>{const _0x224ee3=_0x553463;for(const _0x47259c of _0x1b520d[_0x224ee3(0x1e2)][_0x224ee3(0x1c0)]){if(!_0x47259c[_0x224ee3(0x1ff)][_0x224ee3(0x1c3)](_0x224ee3(0x1a7)))continue;const _0x3eaeef=_0x1b520d[_0x224ee3(0x1ce)][_0x224ee3(0x1fb)][_0x224ee3(0x195)](_0x47259c[_0x224ee3(0x1ff)]);if(_0x3eaeef){for(const _0x15aea3 of _0x3eaeef)_0x2f0e30[_0x224ee3(0x1a8)](_0x224ee3(0x1ba),_0x15aea3);}}});}(_0x21f9d8);},{'useCapture':!0x0});}[_0x3b00d3(0x1f5)](){const _0x4104e1=_0x3b00d3,_0x29f155=this[_0x4104e1(0x1dc)],_0x47b6cb=_0x29f155[_0x4104e1(0x18a)][_0x4104e1(0x190)](_0x4104e1(0x1e8));_0x47b6cb&&_0x29f155[_0x4104e1(0x1e2)]['on'](_0x4104e1(0x1c5),(_0x250fad,_0x589104)=>{const _0x2f6b97=_0x4104e1,_0x2288ba=_0x589104[0x0];if(_0x2f6b97(0x19e)!=_0x2288ba[_0x2f6b97(0x1b8)]||!_0x2288ba[_0x2f6b97(0x1ff)][_0x2f6b97(0x1c3)](_0x2f6b97(0x1d1)))return;const _0x5e885f=_0x2288ba[_0x2f6b97(0x1a9)];_0x47b6cb[_0x2f6b97(0x1ca)][_0x2f6b97(0x19c)](_0x5e885f)&&(_0x2288ba[_0x2f6b97(0x1cc)]=_0x2288ba[_0x2f6b97(0x1cf)]?_0x29f155[_0x2f6b97(0x1e2)][_0x2f6b97(0x1c4)](_0x2288ba[_0x2f6b97(0x1cf)][_0x2f6b97(0x196)],_0x2288ba[_0x2f6b97(0x1cf)][_0x2f6b97(0x1a6)]):null);},{'priority':_0x4104e1(0x1e3)});}[_0x3b00d3(0x1e1)](){const _0x27cb3c=_0x3b00d3;return this[_0x27cb3c(0x1fc)][_0x27cb3c(0x1c9)](),super[_0x27cb3c(0x1e1)]();}[_0x3b00d3(0x1d6)](){const _0x200288=_0x3b00d3,_0x117da0=this[_0x200288(0x1dc)],_0x408899=_0x117da0[_0x200288(0x1e2)][_0x200288(0x1ac)],_0x1fe847=_0x117da0[_0x200288(0x19a)][_0x200288(0x190)](_0x41b25c);_0x117da0[_0x200288(0x1e2)][_0x200288(0x1c6)]({'isUndoable':!0x1},_0xb46e17=>{const _0x5ec555=_0x200288,_0x4855db=_0x5ec555(0x181)+_0x1fe847[_0x5ec555(0x189)],_0x174506=_0x5ec555(0x1a4)+_0x1fe847[_0x5ec555(0x189)],_0x26254a=_0x117da0[_0x5ec555(0x1e2)][_0x5ec555(0x1c0)][_0x5ec555(0x19c)](_0x4855db);_0x117da0[_0x5ec555(0x1ce)][_0x5ec555(0x1ad)][_0x5ec555(0x1ef)]?re(_0x1fe847[_0x5ec555(0x189)],_0x408899[_0x5ec555(0x17f)][_0x5ec555(0x1af)](),_0x117da0[_0x5ec555(0x1e2)],_0xb46e17):_0x26254a&&(_0xb46e17[_0x5ec555(0x1eb)](_0x4855db),_0xb46e17[_0x5ec555(0x1eb)](_0x174506));});}}function re(_0x2db520,_0xf87800,_0x229388,_0xcd66be){const _0xa9bafa=_0x3b00d3,_0x1b5143=_0xa9bafa(0x181)+_0x2db520,_0x64c001=_0xa9bafa(0x1a4)+_0x2db520,_0x32d3d9=_0xf87800[_0xa9bafa(0x1f7)]();let _0x243306=_0xf87800[_0xa9bafa(0x196)];_0x32d3d9&&_0x32d3d9['is'](_0xa9bafa(0x1e6),_0xa9bafa(0x1e5))&&(_0x243306=function(_0x1bf5a6,_0x4deac5){const _0x1bb705=_0xa9bafa;for(const _0x5cbdf3 of _0x1bf5a6[_0x1bb705(0x1d4)]())if(_0x4deac5[_0x1bb705(0x1de)][_0x1bb705(0x18e)](_0x5cbdf3,_0x1bb705(0x1d7)))return _0x5cbdf3;}(_0xf87800,_0x229388),_0xf87800=_0xcd66be[_0xa9bafa(0x1c4)](_0x243306));const _0x171b47=_0xcd66be[_0xa9bafa(0x1c4)](_0x243306);_0x229388[_0xa9bafa(0x1c0)][_0xa9bafa(0x19c)](_0x1b5143)?(_0xcd66be[_0xa9bafa(0x1ed)](_0x1b5143,{'range':_0xf87800}),_0xcd66be[_0xa9bafa(0x1ed)](_0x64c001,{'range':_0x171b47})):(_0xcd66be[_0xa9bafa(0x1b0)](_0x1b5143,{'range':_0xf87800,'usingOperation':!0x0}),_0xcd66be[_0xa9bafa(0x1b0)](_0x64c001,{'range':_0x171b47,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5537a6=_0x4fd4;(function(_0x2744eb,_0x386a5a){const _0x4ef397=_0x4fd4,_0x18190d=_0x2744eb();while(!![]){try{const _0x948dc6=-parseInt(_0x4ef397(0x1b3))/0x1*(-parseInt(_0x4ef397(0x1b9))/0x2)+-parseInt(_0x4ef397(0x1aa))/0x3*(-parseInt(_0x4ef397(0x1e0))/0x4)+parseInt(_0x4ef397(0x19d))/0x5*(parseInt(_0x4ef397(0x1b5))/0x6)+parseInt(_0x4ef397(0x1ca))/0x7+parseInt(_0x4ef397(0x1b2))/0x8*(-parseInt(_0x4ef397(0x19b))/0x9)+-parseInt(_0x4ef397(0x1e1))/0xa*(-parseInt(_0x4ef397(0x1af))/0xb)+-parseInt(_0x4ef397(0x19f))/0xc;if(_0x948dc6===_0x386a5a)break;else _0x18190d['push'](_0x18190d['shift']());}catch(_0x32758e){_0x18190d['push'](_0x18190d['shift']());}}}(_0x17df,0x445bf));import{ContextPlugin as _0x1d6f77}from'ckeditor5/src/core.js';function _0x17df(){const _0x1cdc74=['get','984392kvcimY','21jWZtnM','connected','297870TqDLBm','addToReconnectionStack','token','showWarning','9470fvUUIT','disconnect','limitExceeded','pluginName','destroy','websocketgateway-plugin-already-registered','set','websocketgateway-invalid-plugin-interface','webSocketUrl','change:me','bind','add','plugins','from','catch','online','connect','3416245SerkCg','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.','_reconnectionStack','cloudServices.connectionTimeout','cloudservices-reconnection-error','removeFromReconnectionStack','_shouldPluginsReconnect','reconnect','connection','websocketgateway-missing-token','cloudservices-init','function','initialReconnectionInterval','all','_domEmitter','CONNECTING','code','create','CONNECTED','WebSocketGateway','init','requires','940FdOVkf','10980horzUO','then','define','delete','DISCONNECTED','18rCCBTH','_isBrowserOffline','10TjaBPK','config','12337788NxTfJE','real-time-collaboration','websocketgateway-missing-websocket-url','context','has','CloudServices','offline','_reconnect','stopListening','constructor','error','4248rMpqiy','isInReconnectionStack','listenTo','Connected\x20users\x20limit\x20exceeded','state','5357tAcevc','cloudServices.requestTimeout'];_0x17df=function(){return _0x1cdc74;};return _0x17df();}import{DomEmitterMixin as _0x958b71,CKEditorError as _0x34043e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x17513b,WEB_SOCKET_GATEWAY_STATES as _0x5ce2a4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x302dcb}from'ckeditor5/src/ui.js';class c extends _0x1d6f77{static get[_0x5537a6(0x1df)](){const _0x1ddbbf=_0x5537a6;return[_0x1ddbbf(0x1a4),_0x302dcb];}static get[_0x5537a6(0x1bc)](){const _0x348394=_0x5537a6;return _0x348394(0x1dd);}constructor(_0x28ab40){const _0x264a1d=_0x5537a6;super(_0x28ab40),this[_0x264a1d(0x1bf)](_0x264a1d(0x1ae),_0x5ce2a4[_0x264a1d(0x1dc)]),this[_0x264a1d(0x1bf)](_0x264a1d(0x19c),!0x1),this[_0x264a1d(0x1cc)]=new Set(),this[_0x264a1d(0x1d0)]=!0x1,this[_0x264a1d(0x1d8)]=Object[_0x264a1d(0x1db)](_0x958b71);}[_0x5537a6(0x1de)](){const _0x315687=_0x5537a6,_0x107ff7=this[_0x315687(0x1a2)],_0x212327=_0x107ff7[_0x315687(0x1c5)][_0x315687(0x1b1)](_0x315687(0x1a4)),_0x3a65da=_0x107ff7[_0x315687(0x1c5)][_0x315687(0x1b1)](_0x302dcb);if(!_0x212327[_0x315687(0x1b7)])throw new _0x34043e(_0x315687(0x1d3),this);if(!_0x212327[_0x315687(0x1c1)])throw new _0x34043e(_0x315687(0x1a1),this);return this[_0x315687(0x1d8)][_0x315687(0x1ac)](window,_0x315687(0x1a5),()=>this[_0x315687(0x19c)]=!0x0),this[_0x315687(0x1d8)][_0x315687(0x1ac)](window,_0x315687(0x1c8),()=>this[_0x315687(0x19c)]=!0x1),this[_0x315687(0x1a2)][_0x315687(0x19e)][_0x315687(0x1e3)](_0x315687(0x1cd),0xa),this[_0x315687(0x1a2)][_0x315687(0x19e)][_0x315687(0x1e3)](_0x315687(0x1b0),0x14),c[_0x315687(0x1dd)][_0x315687(0x1c9)](_0x212327[_0x315687(0x1b7)],_0x212327[_0x315687(0x1c1)],{'timeout':0x3e8*this[_0x315687(0x1a2)][_0x315687(0x19e)][_0x315687(0x1b1)](_0x315687(0x1cd)),'requestTimeout':0x3e8*this[_0x315687(0x1a2)][_0x315687(0x19e)][_0x315687(0x1b1)](_0x315687(0x1b0))})[_0x315687(0x1e2)](_0x13f261=>{const _0x316d22=_0x315687;if(this[_0x316d22(0x1d2)]=_0x13f261,this[_0x316d22(0x1c3)](_0x316d22(0x1ae))['to'](_0x13f261,_0x316d22(0x1ae),this,_0x316d22(0x19c),(_0x5f23a8,_0x416e78)=>(_0x316d22(0x1b4)!==_0x5f23a8&&(this[_0x316d22(0x1d0)]=!0x0),_0x416e78||_0x5f23a8!==_0x5ce2a4[_0x316d22(0x1dc)]?_0x5ce2a4[_0x316d22(0x19a)]:this[_0x316d22(0x1ae)]==_0x5ce2a4[_0x316d22(0x19a)]&&this[_0x316d22(0x1d0)]?(this[_0x316d22(0x1d0)]=!0x1,this[_0x316d22(0x1a6)](),_0x5ce2a4[_0x316d22(0x1d9)]):_0x5ce2a4[_0x316d22(0x1dc)])),this[_0x316d22(0x1d2)]['on'](_0x316d22(0x1a9),(_0xd329b6,_0x2baf04)=>{const _0x5bb1c2=_0x316d22;if(_0x5bb1c2(0x1bb)!==_0x2baf04[_0x5bb1c2(0x1da)])throw console[_0x5bb1c2(0x1a9)](_0x2baf04),new _0x34043e(_0x5bb1c2(0x1d4),null,{'originalError':_0x2baf04});_0x3a65da[_0x5bb1c2(0x1b8)](_0x5bb1c2(0x1cb),{'title':_0x5bb1c2(0x1ad),'namespace':_0x5bb1c2(0x1a0)});}),!_0x13f261['me'])return new Promise(_0x1b1585=>_0x13f261['on'](_0x316d22(0x1c2),_0x1b1585));})[_0x315687(0x1c7)](_0xf5b2a2=>{const _0x16e1a8=_0x315687;throw console[_0x16e1a8(0x1a9)](_0xf5b2a2),new _0x34043e(_0x16e1a8(0x1d4),null,{'originalError':_0xf5b2a2});});}[_0x5537a6(0x1b6)](_0x31882d){const _0x5b3e91=_0x5537a6;if(_0x5b3e91(0x1d5)!=typeof _0x31882d[_0x5b3e91(0x1d1)])throw new _0x34043e(_0x5b3e91(0x1c0),this);if(this[_0x5b3e91(0x1ab)](_0x31882d))throw new _0x34043e(_0x5b3e91(0x1be),this,{'name':_0x31882d[_0x5b3e91(0x1a8)][_0x5b3e91(0x1bc)]});this[_0x5b3e91(0x1cc)][_0x5b3e91(0x1c4)](_0x31882d);}[_0x5537a6(0x1cf)](_0x43cc9b){const _0x8f4c0b=_0x5537a6;this[_0x8f4c0b(0x1cc)][_0x8f4c0b(0x199)](_0x43cc9b);}[_0x5537a6(0x1ab)](_0x470ccb){const _0x399ffc=_0x5537a6;return this[_0x399ffc(0x1cc)][_0x399ffc(0x1a3)](_0x470ccb);}[_0x5537a6(0x1a6)](){const _0x38d923=_0x5537a6;return this[_0x38d923(0x1d2)][_0x38d923(0x1d1)]()[_0x38d923(0x1e2)](()=>Promise[_0x38d923(0x1d7)](Array[_0x38d923(0x1c6)](this[_0x38d923(0x1cc)],_0x375287=>_0x375287[_0x38d923(0x1d1)]())))[_0x38d923(0x1e2)](()=>this[_0x38d923(0x1ae)]=_0x5ce2a4[_0x38d923(0x1dc)])[_0x38d923(0x1c7)](_0x228042=>{const _0x1695dc=_0x38d923;throw console[_0x1695dc(0x1a9)](_0x228042),new _0x34043e(_0x1695dc(0x1ce),this[_0x1695dc(0x1a2)]);});}[_0x5537a6(0x1bd)](){const _0x2e91ad=_0x5537a6;this[_0x2e91ad(0x1d2)]&&this[_0x2e91ad(0x1d2)][_0x2e91ad(0x1ba)](),this[_0x2e91ad(0x1ae)]=_0x5ce2a4[_0x2e91ad(0x19a)],this[_0x2e91ad(0x1d8)][_0x2e91ad(0x1a7)](),super[_0x2e91ad(0x1bd)]();}}function _0x4fd4(_0x3a810a,_0x30b000){const _0x17df38=_0x17df();return _0x4fd4=function(_0x4fd46d,_0x303022){_0x4fd46d=_0x4fd46d-0x199;let _0xfc817d=_0x17df38[_0x4fd46d];return _0xfc817d;},_0x4fd4(_0x3a810a,_0x30b000);}c[_0x5537a6(0x1dd)]=_0x17513b,c[_0x5537a6(0x1d6)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x3f9b(_0x155be3,_0x108d39){var _0x12ef6=_0x12ef();return _0x3f9b=function(_0x3f9b8c,_0x3e64fa){_0x3f9b8c=_0x3f9b8c-0x1b1;var _0x81a09=_0x12ef6[_0x3f9b8c];return _0x81a09;},_0x3f9b(_0x155be3,_0x108d39);}var _0x850d50=_0x3f9b;function _0x12ef(){var _0x1b1df7=['189ocVBtE','313224TmFIfc','264592UxqwQc','requires','pluginName','RealTimeCollaborativeEditing','99470zyEcyU','12630wzvplD','71918qKAhev','2FmJPlr','4860eoKTBl','4uQCTDn','865518TdwasA'];_0x12ef=function(){return _0x1b1df7;};return _0x12ef();}(function(_0x17ade0,_0x48b64c){var _0x1d6c3e=_0x3f9b,_0x1fe4ae=_0x17ade0();while(!![]){try{var _0x2c625d=-parseInt(_0x1d6c3e(0x1ba))/0x1*(-parseInt(_0x1d6c3e(0x1bc))/0x2)+-parseInt(_0x1d6c3e(0x1b4))/0x3+-parseInt(_0x1d6c3e(0x1b1))/0x4*(-parseInt(_0x1d6c3e(0x1b9))/0x5)+parseInt(_0x1d6c3e(0x1b2))/0x6+parseInt(_0x1d6c3e(0x1bb))/0x7+parseInt(_0x1d6c3e(0x1b5))/0x8+-parseInt(_0x1d6c3e(0x1b3))/0x9*(parseInt(_0x1d6c3e(0x1bd))/0xa);if(_0x2c625d===_0x48b64c)break;else _0x1fe4ae['push'](_0x1fe4ae['shift']());}catch(_0x590f69){_0x1fe4ae['push'](_0x1fe4ae['shift']());}}}(_0x12ef,0x19c27));import{Plugin as _0xe4aa44}from'ckeditor5/src/core.js';import _0x20f992 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0xe4aa44{static get[_0x850d50(0x1b6)](){return[_0x20f992];}static get[_0x850d50(0x1b7)](){var _0x4537e1=_0x850d50;return _0x4537e1(0x1b8);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x27e1b7=_0x2591;(function(_0x5a434e,_0x15de7){const _0x26b996=_0x2591,_0x4b0787=_0x5a434e();while(!![]){try{const _0x3d6f6c=parseInt(_0x26b996(0x22e))/0x1+-parseInt(_0x26b996(0x21a))/0x2*(parseInt(_0x26b996(0x22a))/0x3)+-parseInt(_0x26b996(0x201))/0x4+-parseInt(_0x26b996(0x240))/0x5+-parseInt(_0x26b996(0x24b))/0x6*(parseInt(_0x26b996(0x22d))/0x7)+-parseInt(_0x26b996(0x23e))/0x8+-parseInt(_0x26b996(0x244))/0x9*(-parseInt(_0x26b996(0x1e9))/0xa);if(_0x3d6f6c===_0x15de7)break;else _0x4b0787['push'](_0x4b0787['shift']());}catch(_0x41cdd4){_0x4b0787['push'](_0x4b0787['shift']());}}}(_0x19fc,0x7c6ab));function _0x19fc(){const _0x362bb0=['isBundleUploaded','plugins','_bufferedUpdates','creatorId','getMany','once','currentRevision','37726gAMfnW','RevisionHistoryService','from','sendBufferedUpdates','length','add','remove','connect','getRevisions','isConnected','code','cloud-services-internal-error:\x20Request\x20timeout.','_revisionDataBuilder','sessionId','off','get','3mbbfVN','change:_isConnected','setRevisionData','778211UanpTK','651700kVZwYu','_fetchMissingUsers','repository','listenTo','CONNECTED','config','_revisionTracker','reverse','fromVersion','max','_isPendingUpdate','_bufferUpdate','requires','getOperations','authors','change:_isPendingUpdate','5098904ytPxqT','reInit','61785mStcFq','getUser','addRevisionData','serverHistory','2394bTGbPT','marker','isEmptyCurrent','has','_lastRequestId','affectsData','data','24EBaeQT','getRevision','diffData','map','_startingVersion','cloud-services-internal-error:\x20Not\x20connected.','addUser','addToReconnectionStack','_isConnected','_preventResendingRevisionData','_revisionHistoryService','type','createdAt','66970lbcKsh','connected','revisionsUpdated','RevisionTracker','buildRevisionData','size','_createCurrentRevision','message','isEnabled','400','connection','wrongRequestId','catch','updateRevisions','startsWith','authorsIds','_fixRevision','_oldOffset','_handleReconnectionError','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','then','_handleRevisionsUpdate','bind','state','3240864ddbAms','toVersion','_waitForServiceReady','_update','collaboration.channelId','_getLatestVersion','_getLatestVersionFromServerOperations','destroy','reconnect','init','keys','editor','setSource','_offset','baseVersion','adapter','_revisions','cloudServices.bundleVersion'];_0x19fc=function(){return _0x362bb0;};return _0x19fc();}import{Plugin as _0x26ac21}from'ckeditor5/src/core.js';import{version as _0x277928}from'ckeditor5/src/utils.js';import{Users as _0x1617f9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2591(_0x593867,_0x2510a9){const _0x19fc32=_0x19fc();return _0x2591=function(_0x259106,_0xc33e28){_0x259106=_0x259106-0x1de;let _0x1f68f8=_0x19fc32[_0x259106];return _0x1f68f8;},_0x2591(_0x593867,_0x2510a9);}import _0x989fe9 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x47c426 from'../realtimecollaborativeediting/websocketgateway.js';import _0x47b164 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x11d0a4,RevisionHistoryService as _0x4e01de,User as _0xf42156,WEB_SOCKET_GATEWAY_STATES as _0x45a924}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x26ac21{static get[_0x27e1b7(0x23a)](){const _0x357041=_0x27e1b7;return[_0x47c426,_0x989fe9,_0x357041(0x1ec),_0x47b164,_0x1617f9];}constructor(_0x5d1478){const _0x29795b=_0x27e1b7;super(_0x5d1478);const _0x48ad2e=this[_0x29795b(0x20c)][_0x29795b(0x233)][_0x29795b(0x229)](_0x29795b(0x205));this[_0x29795b(0x248)]=null,this[_0x29795b(0x234)]=this[_0x29795b(0x20c)][_0x29795b(0x214)][_0x29795b(0x229)](_0x29795b(0x1ec)),this[_0x29795b(0x1e6)]=new v[(_0x29795b(0x21b))](_0x48ad2e);}async[_0x27e1b7(0x20a)](){const _0x504f3d=_0x27e1b7,_0x5f1f9f=this[_0x504f3d(0x20c)][_0x504f3d(0x214)][_0x504f3d(0x229)](_0x989fe9),_0x5a63aa=_0x5f1f9f[_0x504f3d(0x243)],_0x2bb9c1=this[_0x504f3d(0x20c)][_0x504f3d(0x214)][_0x504f3d(0x229)](_0x47c426);this[_0x504f3d(0x234)][_0x504f3d(0x20d)]({'history':_0x5a63aa,'getLatestVersion':()=>this[_0x504f3d(0x206)](),'getCurrentRevisionId':()=>_0x5f1f9f[_0x504f3d(0x227)]});const _0x1f4d46=this[_0x504f3d(0x20c)][_0x504f3d(0x233)][_0x504f3d(0x229)](_0x504f3d(0x212))||_0x277928,_0x8ff6b5=await _0x11d0a4[_0x504f3d(0x213)](_0x2bb9c1[_0x504f3d(0x1f3)],_0x1f4d46);this[_0x504f3d(0x234)][_0x504f3d(0x210)]={'getRevision':async({revisionId:_0x112cfb})=>(await this[_0x504f3d(0x203)](),await this[_0x504f3d(0x1e6)][_0x504f3d(0x24c)](_0x112cfb)),'updateRevisions':async _0xb4bc5=>{const _0x40881d=_0x504f3d;await this[_0x40881d(0x203)]();const _0x2cbf92=this[_0x40881d(0x234)][_0x40881d(0x219)];if(_0x8ff6b5&&0x1===_0xb4bc5[_0x40881d(0x21e)]&&_0xb4bc5[0x0]['id']===_0x2cbf92['id'])return _0xb4bc5;for(const _0x21b7df of _0xb4bc5)_0x21b7df['id']===_0x2cbf92['id']&&(_0x21b7df[_0x40881d(0x246)]=_0x21b7df[_0x40881d(0x236)]===_0x21b7df[_0x40881d(0x202)]);return this[_0x40881d(0x1e6)][_0x40881d(0x1f6)](_0xb4bc5,this[_0x40881d(0x248)])[_0x40881d(0x1fd)](_0x2f8cca=>(this[_0x40881d(0x248)]=_0x2f8cca,_0xb4bc5))[_0x40881d(0x1f5)](_0x4dca82=>{const _0x15b89d=_0x40881d;if(P(_0x4dca82)||_0x15b89d(0x1f2)===_0x4dca82[_0x15b89d(0x224)]&&void 0x0!==_0x4dca82[_0x15b89d(0x24a)][_0x15b89d(0x1f4)]){for(const _0x1ba69b of _0xb4bc5){!this[_0x15b89d(0x234)][_0x15b89d(0x230)][_0x15b89d(0x24c)](_0x1ba69b['id'])||this[_0x15b89d(0x234)][_0x15b89d(0x239)](_0x1ba69b['id'],_0x1ba69b,!0x1);}if(P(_0x4dca82))throw _0x4dca82;return _0xb4bc5;}throw _0x4dca82;});}},this[_0x504f3d(0x231)](this[_0x504f3d(0x1e6)],_0x504f3d(0x1eb),(_0x1a13d1,{revisionsData:_0x2b6050,requestId:_0x584a71})=>{const _0xc150e3=_0x504f3d;Math[_0xc150e3(0x237)](..._0x2b6050[_0xc150e3(0x1df)](_0x4b0fbf=>_0x4b0fbf[_0xc150e3(0x202)]))>this[_0xc150e3(0x207)]()-0x1?this[_0xc150e3(0x206)]()[_0xc150e3(0x1fd)](()=>{const _0x2fe5ab=_0xc150e3;this[_0x2fe5ab(0x1fe)](_0x2b6050,_0x584a71);}):this[_0xc150e3(0x1fe)](_0x2b6050,_0x584a71);});const {revisions:_0xbf3ae3,requestId:_0x495a03}=await this[_0x504f3d(0x1e6)][_0x504f3d(0x221)](_0x2bb9c1[_0x504f3d(0x1f3)]);_0x2bb9c1[_0x504f3d(0x1e3)](this),this[_0x504f3d(0x248)]=_0x495a03,await this[_0x504f3d(0x22f)](_0xbf3ae3);for(const _0x17c665 of _0xbf3ae3)this[_0x504f3d(0x234)][_0x504f3d(0x242)](_0x17c665);this[_0x504f3d(0x231)](_0x5f1f9f,_0x504f3d(0x22b),(_0x57cd4b,_0x3e7024,_0x44a1e9)=>{const _0x6733f2=_0x504f3d;_0x44a1e9&&(this[_0x6733f2(0x1fa)]=_0x5f1f9f[_0x6733f2(0x20e)],_0x57cd4b[_0x6733f2(0x228)]());}),this[_0x504f3d(0x234)][_0x504f3d(0x1ff)](_0x504f3d(0x1f1))['to'](_0x2bb9c1,_0x504f3d(0x200),_0x572364=>_0x572364===_0x45a924[_0x504f3d(0x232)]);}async[_0x27e1b7(0x209)](){const _0x9c9c35=_0x27e1b7,_0x57823c=this[_0x9c9c35(0x20c)][_0x9c9c35(0x214)][_0x9c9c35(0x229)](_0x47c426),_0x8c66eb=this[_0x9c9c35(0x20c)][_0x9c9c35(0x214)][_0x9c9c35(0x229)](_0x989fe9),_0x3064f6=async()=>{const _0x15ba5a=_0x9c9c35,_0x3d8a47=this[_0x15ba5a(0x234)][_0x15ba5a(0x219)],_0x5237e8=_0x3d8a47['id'],_0x40253e=_0x5237e8!==_0x8c66eb[_0x15ba5a(0x227)];if(_0x40253e){const _0x355f26=_0x8c66eb[_0x15ba5a(0x20e)]-this[_0x15ba5a(0x1fa)],_0x55f276=this[_0x15ba5a(0x207)]();this[_0x15ba5a(0x234)][_0x15ba5a(0x226)][_0x15ba5a(0x23f)]();if(_0x3d8a47[_0x15ba5a(0x202)]+_0x355f26!==_0x55f276){const _0x328369=_0x3d8a47[_0x15ba5a(0x236)]+_0x355f26,_0x5c48b1=this[_0x15ba5a(0x20c)][_0x15ba5a(0x214)][_0x15ba5a(0x229)](_0x1617f9),_0x66d205=this[_0x15ba5a(0x234)][_0x15ba5a(0x1ed)]({'revision':_0x3d8a47,'from':_0x328369,'to':_0x55f276});_0x66d205['id']=_0x3d8a47['id'];const _0x1161bb=_0x66d205[_0x15ba5a(0x1f8)][_0x15ba5a(0x1df)](_0x1b6532=>_0x5c48b1[_0x15ba5a(0x241)](_0x1b6532));_0x3d8a47[_0x15ba5a(0x204)]({..._0x66d205,'authors':_0x1161bb},!0x0),this[_0x15ba5a(0x234)][_0x15ba5a(0x239)](_0x3d8a47['id'],_0x66d205,!0x0);}this[_0x15ba5a(0x234)][_0x15ba5a(0x1e0)]=_0x55f276,(_0x3d8a47[_0x15ba5a(0x202)]===_0x3d8a47[_0x15ba5a(0x236)]&&!this[_0x15ba5a(0x234)][_0x15ba5a(0x215)][_0x15ba5a(0x247)](_0x5237e8)&&this[_0x15ba5a(0x234)][_0x15ba5a(0x230)][_0x15ba5a(0x211)][_0x15ba5a(0x220)](_0x5237e8),this[_0x15ba5a(0x234)][_0x15ba5a(0x1ef)](_0x55f276));}const {revisions:_0x33819a,requestId:_0x5c6019}=await this[_0x15ba5a(0x1e6)][_0x15ba5a(0x209)](_0x57823c[_0x15ba5a(0x1f3)],this[_0x15ba5a(0x248)]);_0x40253e&&_0x33819a[_0x15ba5a(0x21e)]>0x0?_0x8c66eb[_0x15ba5a(0x1fb)]():(await this[_0x15ba5a(0x22f)](_0x33819a),this[_0x15ba5a(0x1fe)](_0x33819a,_0x5c6019),this[_0x15ba5a(0x234)][_0x15ba5a(0x21d)]());};return _0x8c66eb[_0x9c9c35(0x1e4)]?_0x3064f6():new Promise((_0x2e4d50,_0x49614d)=>{const _0x14e1b5=_0x9c9c35;_0x8c66eb[_0x14e1b5(0x218)](_0x14e1b5(0x22b),()=>{const _0x2ff159=_0x14e1b5;_0x3064f6()[_0x2ff159(0x1fd)](_0x2e4d50)[_0x2ff159(0x1f5)](_0x49614d);});});}[_0x27e1b7(0x208)](){const _0x1356f7=_0x27e1b7;super[_0x1356f7(0x208)]();}async[_0x27e1b7(0x203)](){const _0x2bdc3f=_0x27e1b7;this[_0x2bdc3f(0x1e6)][_0x2bdc3f(0x223)]||await new Promise(_0x21f60d=>{const _0x3b178c=_0x2bdc3f;this[_0x3b178c(0x231)](this[_0x3b178c(0x1e6)],_0x3b178c(0x1ea),_0x568ca5=>{const _0x333286=_0x3b178c;_0x568ca5[_0x333286(0x228)](),_0x21f60d();});});}[_0x27e1b7(0x207)](){const _0x4e2a2e=_0x27e1b7,_0x19a27e=this[_0x4e2a2e(0x20c)][_0x4e2a2e(0x214)][_0x4e2a2e(0x229)](_0x989fe9)[_0x4e2a2e(0x243)][_0x4e2a2e(0x23b)]()[_0x4e2a2e(0x235)]();for(const _0x144a15 of _0x19a27e)if(_0x4e2a2e(0x245)!==_0x144a15[_0x4e2a2e(0x1e7)]||_0x144a15[_0x4e2a2e(0x249)])return _0x144a15[_0x4e2a2e(0x20f)]+0x1;}[_0x27e1b7(0x206)](){const _0x466425=_0x27e1b7,_0x36f2eb=this[_0x466425(0x20c)][_0x466425(0x214)][_0x466425(0x229)](_0x989fe9);return new Promise(_0x3ebed6=>{const _0x3f7c68=_0x466425;_0x36f2eb[_0x3f7c68(0x238)]?_0x36f2eb[_0x3f7c68(0x218)](_0x3f7c68(0x23d),()=>{const _0x34de8c=_0x3f7c68;_0x3ebed6(this[_0x34de8c(0x207)]());}):_0x3ebed6(this[_0x3f7c68(0x207)]());});}[_0x27e1b7(0x1fe)](_0x2459d1,_0x5e094b){const _0x1cb1ef=_0x27e1b7,_0x53cf02=this[_0x1cb1ef(0x234)][_0x1cb1ef(0x230)];this[_0x1cb1ef(0x248)]=_0x5e094b;for(const _0xe2ca2e of _0x2459d1){const _0x53211f=_0x53cf02[_0x1cb1ef(0x24c)](_0xe2ca2e['id']);if(_0x53211f){if((_0xe2ca2e[_0x1cb1ef(0x236)]||_0xe2ca2e[_0x1cb1ef(0x202)])&&(_0xe2ca2e[_0x1cb1ef(0x1de)]=null),_0x53211f===this[_0x1cb1ef(0x234)][_0x1cb1ef(0x219)]){const _0x8cb5d7=Math[_0x1cb1ef(0x237)](_0x53211f[_0x1cb1ef(0x202)],_0xe2ca2e[_0x1cb1ef(0x202)]),_0x137cad=Math[_0x1cb1ef(0x237)](_0x53211f[_0x1cb1ef(0x236)],_0xe2ca2e[_0x1cb1ef(0x236)]);let _0x482c78;_0x53211f[_0x1cb1ef(0x202)]===_0xe2ca2e[_0x1cb1ef(0x202)]&&_0x53211f[_0x1cb1ef(0x236)]===_0xe2ca2e[_0x1cb1ef(0x236)]?(_0x482c78=!0x0,this[_0x1cb1ef(0x1e5)](_0xe2ca2e)):_0xe2ca2e[_0x1cb1ef(0x202)]===_0x8cb5d7&&_0xe2ca2e[_0x1cb1ef(0x236)]===_0x137cad?_0x482c78=!0x1:(_0x53211f[_0x1cb1ef(0x202)]===_0x8cb5d7&&_0x53211f[_0x1cb1ef(0x236)]===_0x137cad||this[_0x1cb1ef(0x1f9)]({'revision':_0x53211f,'from':_0x137cad,'to':_0x8cb5d7}),_0x482c78=!0x0),_0x482c78&&(delete _0xe2ca2e[_0x1cb1ef(0x236)],delete _0xe2ca2e[_0x1cb1ef(0x202)],delete _0xe2ca2e[_0x1cb1ef(0x1de)],delete _0xe2ca2e[_0x1cb1ef(0x1e8)],delete _0xe2ca2e[_0x1cb1ef(0x1f8)]);}this[_0x1cb1ef(0x234)][_0x1cb1ef(0x22c)](_0xe2ca2e),this[_0x1cb1ef(0x1e5)](_0xe2ca2e);}else this[_0x1cb1ef(0x234)][_0x1cb1ef(0x242)](_0xe2ca2e);}const _0x5b80d9=_0x53cf02[_0x1cb1ef(0x222)]();_0x5b80d9[_0x1cb1ef(0x235)]();for(let _0x276bb4=0x0;_0x276bb4<_0x5b80d9[_0x1cb1ef(0x21e)]-0x1;_0x276bb4++){const _0x12de7a=_0x5b80d9[_0x276bb4],_0xe52a9e=_0x5b80d9[_0x276bb4+0x1];if(_0x12de7a[_0x1cb1ef(0x236)]<_0xe52a9e[_0x1cb1ef(0x202)]){const _0x4adaa4=_0xe52a9e[_0x1cb1ef(0x202)],_0x1d973e=Math[_0x1cb1ef(0x237)](_0x4adaa4,_0x12de7a[_0x1cb1ef(0x202)]);this[_0x1cb1ef(0x1f9)]({'revision':_0x12de7a,'from':_0x4adaa4,'to':_0x1d973e});}}}[_0x27e1b7(0x1f9)]({revision:_0x11a7e4,from:_0x4a7d3c,to:_0x55bba8}={}){const _0x1be1d1=_0x27e1b7,_0x5b9f7f=this[_0x1be1d1(0x20c)][_0x1be1d1(0x214)][_0x1be1d1(0x229)](_0x1617f9),_0x30636e=this[_0x1be1d1(0x234)][_0x1be1d1(0x1ed)]({'revision':_0x11a7e4,'from':_0x4a7d3c,'to':_0x55bba8});_0x30636e[_0x1be1d1(0x23c)]=_0x30636e[_0x1be1d1(0x1f8)][_0x1be1d1(0x1df)](_0xf62ccc=>_0x5b9f7f[_0x1be1d1(0x241)](_0xf62ccc)),_0x11a7e4[_0x1be1d1(0x204)](_0x30636e);}[_0x27e1b7(0x1e5)](_0x409048){const _0x24b0f0=_0x27e1b7,_0x151f9c={};_0x151f9c['id']=_0x409048['id'];for(const _0x59ea33 of Object[_0x24b0f0(0x20b)](_0x409048))'id'!==_0x59ea33&&(_0x151f9c[_0x59ea33]=void 0x0);this[_0x24b0f0(0x234)][_0x24b0f0(0x239)](_0x151f9c['id'],_0x151f9c,!0x0);}async[_0x27e1b7(0x22f)](_0x4f24ef){const _0x35a445=_0x27e1b7,_0xc98501=this[_0x35a445(0x20c)][_0x35a445(0x214)][_0x35a445(0x229)](_0x1617f9),{connection:_0x3a8a22}=this[_0x35a445(0x20c)][_0x35a445(0x214)][_0x35a445(0x229)](_0x47c426),_0x301c36=new Set();for(const _0xba45c9 of _0x4f24ef){for(const _0x263717 of _0xba45c9[_0x35a445(0x1f8)])_0xfb21b4(_0x263717);_0xba45c9[_0x35a445(0x216)]&&_0xfb21b4(_0xba45c9[_0x35a445(0x216)]);}if(0x0===_0x301c36[_0x35a445(0x1ee)])return;const _0x846bfa=await _0xf42156[_0x35a445(0x217)](_0x3a8a22,Array[_0x35a445(0x21c)](_0x301c36));for(const _0x38a229 of _0x846bfa)_0xc98501[_0x35a445(0x241)](_0x38a229['id'])||_0xc98501[_0x35a445(0x1e2)](_0x38a229);function _0xfb21b4(_0x3f85fd){const _0x529f7c=_0x35a445;_0xc98501[_0x529f7c(0x241)](_0x3f85fd)||_0x301c36[_0x529f7c(0x21f)](_0x3f85fd);}}}v[_0x27e1b7(0x21b)]=_0x4e01de;export default v;function P(_0x5cf8f6){const _0x210aae=_0x27e1b7;return _0x5cf8f6[_0x210aae(0x1f0)][_0x210aae(0x1f7)](_0x210aae(0x1fc))||_0x5cf8f6[_0x210aae(0x1f0)][_0x210aae(0x1f7)](_0x210aae(0x1e1))||_0x5cf8f6[_0x210aae(0x1f0)][_0x210aae(0x1f7)](_0x210aae(0x225));}
|
|
23
|
+
const _0x960670=_0x9f33;(function(_0x54f5ea,_0x429849){const _0x1459f8=_0x9f33,_0x3e2575=_0x54f5ea();while(!![]){try{const _0x5da4a6=parseInt(_0x1459f8(0x1b6))/0x1+parseInt(_0x1459f8(0x1a5))/0x2+parseInt(_0x1459f8(0x1b8))/0x3+parseInt(_0x1459f8(0x190))/0x4*(parseInt(_0x1459f8(0x183))/0x5)+parseInt(_0x1459f8(0x192))/0x6+parseInt(_0x1459f8(0x1d0))/0x7+-parseInt(_0x1459f8(0x19b))/0x8;if(_0x5da4a6===_0x429849)break;else _0x3e2575['push'](_0x3e2575['shift']());}catch(_0xbc4396){_0x3e2575['push'](_0x3e2575['shift']());}}}(_0x414d,0x9c00e));import{Plugin as _0x3276bd}from'ckeditor5/src/core.js';import{version as _0x75f6d4}from'ckeditor5/src/utils.js';function _0x414d(){const _0xdec427=['affectsData','connected','reverse','_revisionDataBuilder','getOperations','722634CvxAgP','isBundleUploaded','246849FkMapM','has','_revisions','isEnabled','_preventResendingRevisionData','addRevisionData','_oldOffset','connect','from','catch','fromVersion','RevisionTracker','reInit','CONNECTED','destroy','config','_startingVersion','_getLatestVersion','adapter','_bufferUpdate','addUser','marker','off','init','6219892nDOudo','getRevision','getMany','_bufferedUpdates','cloud-services-internal-error:\x20Request\x20timeout.','requires','change:_isConnected','isEmptyCurrent','addToReconnectionStack','diffData','get','serverHistory','wrongRequestId','_update','createdAt','setSource','once','currentRevision','type','length','_fixRevision','cloud-services-internal-error:\x20Not\x20connected.','map','size','remove','revisionsUpdated','getUser','baseVersion','editor','connection','RevisionHistoryService','repository','2165435deOROK','_createCurrentRevision','sessionId','sendBufferedUpdates','listenTo','_revisionHistoryService','_revisionTracker','reconnect','_lastRequestId','change:_isPendingUpdate','_isConnected','getRevisions','authorsIds','4JradMg','isConnected','1673064zbzMXC','_isPendingUpdate','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','buildRevisionData','setRevisionData','toVersion','cloudServices.bundleVersion','_offset','plugins','18318192UIVhYr','collaboration.channelId','_handleRevisionsUpdate','_waitForServiceReady','400','add','_getLatestVersionFromServerOperations','creatorId','data','then','1046720lIMiEn','max','bind','authors','_handleReconnectionError','keys','startsWith','_fetchMissingUsers','code','updateRevisions','state','message'];_0x414d=function(){return _0xdec427;};return _0x414d();}import{Users as _0x39106a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x9f33(_0x5a299d,_0x3b024f){const _0x414d07=_0x414d();return _0x9f33=function(_0x9f336b,_0x1db652){_0x9f336b=_0x9f336b-0x175;let _0x4e6ba1=_0x414d07[_0x9f336b];return _0x4e6ba1;},_0x9f33(_0x5a299d,_0x3b024f);}import _0x46ad6e from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x564b2e from'../realtimecollaborativeediting/websocketgateway.js';import _0x2109d0 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0xa11f22,RevisionHistoryService as _0x2a4982,User as _0x28d333,WEB_SOCKET_GATEWAY_STATES as _0x2519d9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x3276bd{static get[_0x960670(0x1d5)](){const _0x1745fb=_0x960670;return[_0x564b2e,_0x46ad6e,_0x1745fb(0x1c3),_0x2109d0,_0x39106a];}constructor(_0x2959c4){const _0x1f9834=_0x960670;super(_0x2959c4);const _0x11c400=this[_0x1f9834(0x17f)][_0x1f9834(0x1c7)][_0x1f9834(0x1da)](_0x1f9834(0x19c));this[_0x1f9834(0x18b)]=null,this[_0x1f9834(0x189)]=this[_0x1f9834(0x17f)][_0x1f9834(0x19a)][_0x1f9834(0x1da)](_0x1f9834(0x1c3)),this[_0x1f9834(0x188)]=new v[(_0x1f9834(0x181))](_0x11c400);}async[_0x960670(0x1cf)](){const _0x3bd748=_0x960670,_0x51d79d=this[_0x3bd748(0x17f)][_0x3bd748(0x19a)][_0x3bd748(0x1da)](_0x46ad6e),_0x15912b=_0x51d79d[_0x3bd748(0x1db)],_0x5b1793=this[_0x3bd748(0x17f)][_0x3bd748(0x19a)][_0x3bd748(0x1da)](_0x564b2e);this[_0x3bd748(0x189)][_0x3bd748(0x1df)]({'history':_0x15912b,'getLatestVersion':()=>this[_0x3bd748(0x1c9)](),'getCurrentRevisionId':()=>_0x51d79d[_0x3bd748(0x185)]});const _0x50207c=this[_0x3bd748(0x17f)][_0x3bd748(0x1c7)][_0x3bd748(0x1da)](_0x3bd748(0x198))||_0x75f6d4,_0x70b074=await _0xa11f22[_0x3bd748(0x1b7)](_0x5b1793[_0x3bd748(0x180)],_0x50207c);this[_0x3bd748(0x189)][_0x3bd748(0x1ca)]={'getRevision':async({revisionId:_0x10ae25})=>(await this[_0x3bd748(0x19e)](),await this[_0x3bd748(0x188)][_0x3bd748(0x1d1)](_0x10ae25)),'updateRevisions':async _0x3345f3=>{const _0x2e590b=_0x3bd748;await this[_0x2e590b(0x19e)]();const _0x247f2d=this[_0x2e590b(0x189)][_0x2e590b(0x1e1)];if(_0x70b074&&0x1===_0x3345f3[_0x2e590b(0x176)]&&_0x3345f3[0x0]['id']===_0x247f2d['id'])return _0x3345f3;for(const _0x17bf14 of _0x3345f3)_0x17bf14['id']===_0x247f2d['id']&&(_0x17bf14[_0x2e590b(0x1d7)]=_0x17bf14[_0x2e590b(0x1c2)]===_0x17bf14[_0x2e590b(0x197)]);return this[_0x2e590b(0x188)][_0x2e590b(0x1ae)](_0x3345f3,this[_0x2e590b(0x18b)])[_0x2e590b(0x1a4)](_0x2f5f7a=>(this[_0x2e590b(0x18b)]=_0x2f5f7a,_0x3345f3))[_0x2e590b(0x1c1)](_0x54ae3f=>{const _0x768c73=_0x2e590b;if(st(_0x54ae3f)||_0x768c73(0x19f)===_0x54ae3f[_0x768c73(0x1ad)]&&void 0x0!==_0x54ae3f[_0x768c73(0x1a3)][_0x768c73(0x1dc)]){for(const _0x1d96a9 of _0x3345f3){!this[_0x768c73(0x189)][_0x768c73(0x182)][_0x768c73(0x1d1)](_0x1d96a9['id'])||this[_0x768c73(0x189)][_0x768c73(0x1cb)](_0x1d96a9['id'],_0x1d96a9,!0x1);}if(st(_0x54ae3f))throw _0x54ae3f;return _0x3345f3;}throw _0x54ae3f;});}},this[_0x3bd748(0x187)](this[_0x3bd748(0x188)],_0x3bd748(0x17c),(_0x317422,{revisionsData:_0x52f828,requestId:_0x3a47d4})=>{const _0x2bb04d=_0x3bd748;Math[_0x2bb04d(0x1a6)](..._0x52f828[_0x2bb04d(0x179)](_0x5b9b75=>_0x5b9b75[_0x2bb04d(0x197)]))>this[_0x2bb04d(0x1a1)]()-0x1?this[_0x2bb04d(0x1c9)]()[_0x2bb04d(0x1a4)](()=>{const _0x2b5cd3=_0x2bb04d;this[_0x2b5cd3(0x19d)](_0x52f828,_0x3a47d4);}):this[_0x2bb04d(0x19d)](_0x52f828,_0x3a47d4);});const {revisions:_0x373386,requestId:_0x14e2af}=await this[_0x3bd748(0x188)][_0x3bd748(0x1bf)](_0x5b1793[_0x3bd748(0x180)]);_0x5b1793[_0x3bd748(0x1d8)](this),this[_0x3bd748(0x18b)]=_0x14e2af,await this[_0x3bd748(0x1ac)](_0x373386);for(const _0x580d6c of _0x373386)this[_0x3bd748(0x189)][_0x3bd748(0x1bd)](_0x580d6c);this[_0x3bd748(0x187)](_0x51d79d,_0x3bd748(0x1d6),(_0x5c2698,_0x524f9b,_0x5dfaa0)=>{const _0x169771=_0x3bd748;_0x5dfaa0&&(this[_0x169771(0x1be)]=_0x51d79d[_0x169771(0x199)],_0x5c2698[_0x169771(0x1ce)]());}),this[_0x3bd748(0x189)][_0x3bd748(0x1a7)](_0x3bd748(0x1bb))['to'](_0x5b1793,_0x3bd748(0x1af),_0x4df8f7=>_0x4df8f7===_0x2519d9[_0x3bd748(0x1c5)]);}async[_0x960670(0x18a)](){const _0x1d3925=_0x960670,_0x31c289=this[_0x1d3925(0x17f)][_0x1d3925(0x19a)][_0x1d3925(0x1da)](_0x564b2e),_0x16fbe8=this[_0x1d3925(0x17f)][_0x1d3925(0x19a)][_0x1d3925(0x1da)](_0x46ad6e),_0x429f39=async()=>{const _0x5c7b53=_0x1d3925,_0x3f1658=this[_0x5c7b53(0x189)][_0x5c7b53(0x1e1)],_0x31874e=_0x3f1658['id'],_0x2a2120=_0x31874e!==_0x16fbe8[_0x5c7b53(0x185)];if(_0x2a2120){const _0x3d843a=_0x16fbe8[_0x5c7b53(0x199)]-this[_0x5c7b53(0x1be)],_0x28baff=this[_0x5c7b53(0x1a1)]();this[_0x5c7b53(0x189)][_0x5c7b53(0x1b4)][_0x5c7b53(0x1c4)]();if(_0x3f1658[_0x5c7b53(0x197)]+_0x3d843a!==_0x28baff){const _0x591b7d=_0x3f1658[_0x5c7b53(0x1c2)]+_0x3d843a,_0x5d4a03=this[_0x5c7b53(0x17f)][_0x5c7b53(0x19a)][_0x5c7b53(0x1da)](_0x39106a),_0x46b379=this[_0x5c7b53(0x189)][_0x5c7b53(0x195)]({'revision':_0x3f1658,'from':_0x591b7d,'to':_0x28baff});_0x46b379['id']=_0x3f1658['id'];const _0x3c6f5c=_0x46b379[_0x5c7b53(0x18f)][_0x5c7b53(0x179)](_0x132385=>_0x5d4a03[_0x5c7b53(0x17d)](_0x132385));_0x3f1658[_0x5c7b53(0x1dd)]({..._0x46b379,'authors':_0x3c6f5c},!0x0),this[_0x5c7b53(0x189)][_0x5c7b53(0x1cb)](_0x3f1658['id'],_0x46b379,!0x0);}this[_0x5c7b53(0x189)][_0x5c7b53(0x1c8)]=_0x28baff,(_0x3f1658[_0x5c7b53(0x197)]===_0x3f1658[_0x5c7b53(0x1c2)]&&!this[_0x5c7b53(0x189)][_0x5c7b53(0x1d3)][_0x5c7b53(0x1b9)](_0x31874e)&&this[_0x5c7b53(0x189)][_0x5c7b53(0x182)][_0x5c7b53(0x1ba)][_0x5c7b53(0x17b)](_0x31874e),this[_0x5c7b53(0x189)][_0x5c7b53(0x184)](_0x28baff));}const {revisions:_0x119f12,requestId:_0x5d8540}=await this[_0x5c7b53(0x188)][_0x5c7b53(0x18a)](_0x31c289[_0x5c7b53(0x180)],this[_0x5c7b53(0x18b)]);_0x2a2120&&_0x119f12[_0x5c7b53(0x176)]>0x0?_0x16fbe8[_0x5c7b53(0x1a9)]():(await this[_0x5c7b53(0x1ac)](_0x119f12),this[_0x5c7b53(0x19d)](_0x119f12,_0x5d8540),this[_0x5c7b53(0x189)][_0x5c7b53(0x186)]());};return _0x16fbe8[_0x1d3925(0x18d)]?_0x429f39():new Promise((_0x31d4f7,_0x1588fb)=>{const _0x29929b=_0x1d3925;_0x16fbe8[_0x29929b(0x1e0)](_0x29929b(0x1d6),()=>{const _0x3a2e8c=_0x29929b;_0x429f39()[_0x3a2e8c(0x1a4)](_0x31d4f7)[_0x3a2e8c(0x1c1)](_0x1588fb);});});}[_0x960670(0x1c6)](){const _0x2d3c18=_0x960670;super[_0x2d3c18(0x1c6)]();}async[_0x960670(0x19e)](){const _0x252257=_0x960670;this[_0x252257(0x188)][_0x252257(0x191)]||await new Promise(_0x18b730=>{const _0x4a3d0e=_0x252257;this[_0x4a3d0e(0x187)](this[_0x4a3d0e(0x188)],_0x4a3d0e(0x1b2),_0x3ef227=>{const _0x4ae1d5=_0x4a3d0e;_0x3ef227[_0x4ae1d5(0x1ce)](),_0x18b730();});});}[_0x960670(0x1a1)](){const _0x5ceda1=_0x960670,_0x27b3de=this[_0x5ceda1(0x17f)][_0x5ceda1(0x19a)][_0x5ceda1(0x1da)](_0x46ad6e)[_0x5ceda1(0x1db)][_0x5ceda1(0x1b5)]()[_0x5ceda1(0x1b3)]();for(const _0x262fb5 of _0x27b3de)if(_0x5ceda1(0x1cd)!==_0x262fb5[_0x5ceda1(0x175)]||_0x262fb5[_0x5ceda1(0x1b1)])return _0x262fb5[_0x5ceda1(0x17e)]+0x1;}[_0x960670(0x1c9)](){const _0xa8b449=_0x960670,_0x32f38a=this[_0xa8b449(0x17f)][_0xa8b449(0x19a)][_0xa8b449(0x1da)](_0x46ad6e);return new Promise(_0x1c1a3c=>{const _0x4e17e8=_0xa8b449;_0x32f38a[_0x4e17e8(0x193)]?_0x32f38a[_0x4e17e8(0x1e0)](_0x4e17e8(0x18c),()=>{const _0x4d5be1=_0x4e17e8;_0x1c1a3c(this[_0x4d5be1(0x1a1)]());}):_0x1c1a3c(this[_0x4e17e8(0x1a1)]());});}[_0x960670(0x19d)](_0x36409e,_0x3e2e8e){const _0x3e5516=_0x960670,_0x168b29=this[_0x3e5516(0x189)][_0x3e5516(0x182)];this[_0x3e5516(0x18b)]=_0x3e2e8e;for(const _0x3b37e7 of _0x36409e){const _0x1c1456=_0x168b29[_0x3e5516(0x1d1)](_0x3b37e7['id']);if(_0x1c1456){if((_0x3b37e7[_0x3e5516(0x1c2)]||_0x3b37e7[_0x3e5516(0x197)])&&(_0x3b37e7[_0x3e5516(0x1d9)]=null),_0x1c1456===this[_0x3e5516(0x189)][_0x3e5516(0x1e1)]){const _0x5a04=Math[_0x3e5516(0x1a6)](_0x1c1456[_0x3e5516(0x197)],_0x3b37e7[_0x3e5516(0x197)]),_0x821c22=Math[_0x3e5516(0x1a6)](_0x1c1456[_0x3e5516(0x1c2)],_0x3b37e7[_0x3e5516(0x1c2)]);let _0x21f9cf;_0x1c1456[_0x3e5516(0x197)]===_0x3b37e7[_0x3e5516(0x197)]&&_0x1c1456[_0x3e5516(0x1c2)]===_0x3b37e7[_0x3e5516(0x1c2)]?(_0x21f9cf=!0x0,this[_0x3e5516(0x1bc)](_0x3b37e7)):_0x3b37e7[_0x3e5516(0x197)]===_0x5a04&&_0x3b37e7[_0x3e5516(0x1c2)]===_0x821c22?_0x21f9cf=!0x1:(_0x1c1456[_0x3e5516(0x197)]===_0x5a04&&_0x1c1456[_0x3e5516(0x1c2)]===_0x821c22||this[_0x3e5516(0x177)]({'revision':_0x1c1456,'from':_0x821c22,'to':_0x5a04}),_0x21f9cf=!0x0),_0x21f9cf&&(delete _0x3b37e7[_0x3e5516(0x1c2)],delete _0x3b37e7[_0x3e5516(0x197)],delete _0x3b37e7[_0x3e5516(0x1d9)],delete _0x3b37e7[_0x3e5516(0x1de)],delete _0x3b37e7[_0x3e5516(0x18f)]);}this[_0x3e5516(0x189)][_0x3e5516(0x196)](_0x3b37e7),this[_0x3e5516(0x1bc)](_0x3b37e7);}else this[_0x3e5516(0x189)][_0x3e5516(0x1bd)](_0x3b37e7);}const _0x2c7218=_0x168b29[_0x3e5516(0x18e)]();_0x2c7218[_0x3e5516(0x1b3)]();for(let _0x408779=0x0;_0x408779<_0x2c7218[_0x3e5516(0x176)]-0x1;_0x408779++){const _0x1cac7a=_0x2c7218[_0x408779],_0xf4d368=_0x2c7218[_0x408779+0x1];if(_0x1cac7a[_0x3e5516(0x1c2)]<_0xf4d368[_0x3e5516(0x197)]){const _0x47767e=_0xf4d368[_0x3e5516(0x197)],_0x29da48=Math[_0x3e5516(0x1a6)](_0x47767e,_0x1cac7a[_0x3e5516(0x197)]);this[_0x3e5516(0x177)]({'revision':_0x1cac7a,'from':_0x47767e,'to':_0x29da48});}}}[_0x960670(0x177)]({revision:_0x3212cf,from:_0x237ea9,to:_0x545f6e}={}){const _0x1f346b=_0x960670,_0x466359=this[_0x1f346b(0x17f)][_0x1f346b(0x19a)][_0x1f346b(0x1da)](_0x39106a),_0x3f1e64=this[_0x1f346b(0x189)][_0x1f346b(0x195)]({'revision':_0x3212cf,'from':_0x237ea9,'to':_0x545f6e});_0x3f1e64[_0x1f346b(0x1a8)]=_0x3f1e64[_0x1f346b(0x18f)][_0x1f346b(0x179)](_0x907adf=>_0x466359[_0x1f346b(0x17d)](_0x907adf)),_0x3212cf[_0x1f346b(0x1dd)](_0x3f1e64);}[_0x960670(0x1bc)](_0x280f98){const _0x2ffeb0=_0x960670,_0x583031={};_0x583031['id']=_0x280f98['id'];for(const _0x20539d of Object[_0x2ffeb0(0x1aa)](_0x280f98))'id'!==_0x20539d&&(_0x583031[_0x20539d]=void 0x0);this[_0x2ffeb0(0x189)][_0x2ffeb0(0x1cb)](_0x583031['id'],_0x583031,!0x0);}async[_0x960670(0x1ac)](_0x1ebb3a){const _0x2ed6a0=_0x960670,_0x3be02d=this[_0x2ed6a0(0x17f)][_0x2ed6a0(0x19a)][_0x2ed6a0(0x1da)](_0x39106a),{connection:_0x363275}=this[_0x2ed6a0(0x17f)][_0x2ed6a0(0x19a)][_0x2ed6a0(0x1da)](_0x564b2e),_0x1750bd=new Set();for(const _0x3be4a5 of _0x1ebb3a){for(const _0x4e6627 of _0x3be4a5[_0x2ed6a0(0x18f)])_0xe8c979(_0x4e6627);_0x3be4a5[_0x2ed6a0(0x1a2)]&&_0xe8c979(_0x3be4a5[_0x2ed6a0(0x1a2)]);}if(0x0===_0x1750bd[_0x2ed6a0(0x17a)])return;const _0x4d6567=await _0x28d333[_0x2ed6a0(0x1d2)](_0x363275,Array[_0x2ed6a0(0x1c0)](_0x1750bd));for(const _0x312205 of _0x4d6567)_0x3be02d[_0x2ed6a0(0x17d)](_0x312205['id'])||_0x3be02d[_0x2ed6a0(0x1cc)](_0x312205);function _0xe8c979(_0x43eecd){const _0x1f1fa9=_0x2ed6a0;_0x3be02d[_0x1f1fa9(0x17d)](_0x43eecd)||_0x1750bd[_0x1f1fa9(0x1a0)](_0x43eecd);}}}v[_0x960670(0x181)]=_0x2a4982;export default v;function st(_0x23accb){const _0x5d44b8=_0x960670;return _0x23accb[_0x5d44b8(0x1b0)][_0x5d44b8(0x1ab)](_0x5d44b8(0x194))||_0x23accb[_0x5d44b8(0x1b0)][_0x5d44b8(0x1ab)](_0x5d44b8(0x178))||_0x23accb[_0x5d44b8(0x1b0)][_0x5d44b8(0x1ab)](_0x5d44b8(0x1d4));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2468bb=_0x4d98;function _0x4d98(_0x590e57,_0x4089a2){var _0x58b27b=_0x58b2();return _0x4d98=function(_0x4d98fb,_0x22eccb){_0x4d98fb=_0x4d98fb-0x113;var _0x5f0437=_0x58b27b[_0x4d98fb];return _0x5f0437;},_0x4d98(_0x590e57,_0x4089a2);}(function(_0x39a29d,_0x5111bf){var _0x57f78a=_0x4d98,_0x4e7fa4=_0x39a29d();while(!![]){try{var _0x571c03=parseInt(_0x57f78a(0x113))/0x1*(-parseInt(_0x57f78a(0x11c))/0x2)+-parseInt(_0x57f78a(0x11f))/0x3+-parseInt(_0x57f78a(0x114))/0x4+parseInt(_0x57f78a(0x11b))/0x5+-parseInt(_0x57f78a(0x11e))/0x6*(parseInt(_0x57f78a(0x116))/0x7)+-parseInt(_0x57f78a(0x115))/0x8*(parseInt(_0x57f78a(0x11a))/0x9)+parseInt(_0x57f78a(0x117))/0xa;if(_0x571c03===_0x5111bf)break;else _0x4e7fa4['push'](_0x4e7fa4['shift']());}catch(_0x1661de){_0x4e7fa4['push'](_0x4e7fa4['shift']());}}}(_0x58b2,0xe812c));import{Plugin as _0x7456}from'ckeditor5/src/core.js';import _0x156e51 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x4a11c3 from'./realtimecollaborativeediting.js';function _0x58b2(){var _0x37a57e=['77874eNACts','1259916cftyPJ','RevisionHistory','1055661LEwVxs','1411148OXUOSn','40JSKhrm','679HWxbgz','30753740wxHMYJ','RealTimeCollaborativeRevisionHistory','pluginName','687303evqWlJ','6722080WhMgCl','2MLwfPm','requires'];_0x58b2=function(){return _0x37a57e;};return _0x58b2();}export default class d extends _0x7456{static get[_0x2468bb(0x11d)](){var _0x12ce3c=_0x2468bb;return[_0x12ce3c(0x120),_0x156e51,_0x4a11c3];}static get[_0x2468bb(0x119)](){var _0x2b1d10=_0x2468bb;return _0x2b1d10(0x118);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1502(){const _0x280d18=['addUser','size','find','5900980hyyFZp','connect','691146bIxXwo','cloud-services-internal-error:\x20Request\x20timeout.','getMany','listenTo','TrackChangesEditing','startsWith','config','_fetchMissingUsersForThreads','then','_waitForServiceReady','TrackChangesService','354088yVOzFN','_saved','open','type','addToReconnectionStack','values','attributes','get','originalSuggestionId','adapter','from','isConnected','requires','hasSuggestion','_trackChangesService','message','plugins','3443025klDLes','state','delete','reconnect','add','init','connected','editor','connection','collaboration.channelId','suggestionUpdated','set','cloud-services-internal-error:\x20Not\x20connected.','4900660LglrjU','getUser','catch','174urmMJP','_bufferedRequests','getSuggestion','addSuggestionData','9690800JUVfrN','update','data','2834440qQLCwr','off'];_0x1502=function(){return _0x280d18;};return _0x1502();}const _0x1f8467=_0x360c;(function(_0x2c6019,_0x4bc0d9){const _0x4cf96e=_0x360c,_0x5bdad8=_0x2c6019();while(!![]){try{const _0x4d10e5=parseInt(_0x4cf96e(0x1de))/0x1+parseInt(_0x4cf96e(0x1d7))/0x2+-parseInt(_0x4cf96e(0x1fa))/0x3+parseInt(_0x4cf96e(0x1dc))/0x4+parseInt(_0x4cf96e(0x1cd))/0x5+-parseInt(_0x4cf96e(0x1d0))/0x6*(parseInt(_0x4cf96e(0x1e9))/0x7)+-parseInt(_0x4cf96e(0x1d4))/0x8;if(_0x4d10e5===_0x4bc0d9)break;else _0x5bdad8['push'](_0x5bdad8['shift']());}catch(_0x5e70ae){_0x5bdad8['push'](_0x5bdad8['shift']());}}}(_0x1502,0xb41f6));import{Plugin as _0x3da7bd}from'ckeditor5/src/core.js';import{User as _0x3c3d3f,TrackChangesService as _0x192914}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x30532d from'../realtimecollaborativeediting/websocketgateway.js';import _0x5605b1 from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x3f438b}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x3da7bd{static get[_0x1f8467(0x1f5)](){const _0x45c409=_0x1f8467;return[_0x5605b1,_0x45c409(0x1e2),_0x30532d];}constructor(_0x254b2d){const _0x1caf32=_0x1f8467;super(_0x254b2d);const _0x64859d=this[_0x1caf32(0x201)][_0x1caf32(0x1e4)][_0x1caf32(0x1f0)](_0x1caf32(0x203));this[_0x1caf32(0x1d1)]=new Map(),this[_0x1caf32(0x1f7)]=new g[(_0x1caf32(0x1e8))](_0x64859d);}[_0x1f8467(0x1ff)](){const _0x3fd7ff=_0x1f8467,_0x55a8cb=this[_0x3fd7ff(0x201)][_0x3fd7ff(0x1f9)][_0x3fd7ff(0x1f0)](_0x30532d),_0x3d31b2=this[_0x3fd7ff(0x201)][_0x3fd7ff(0x1f9)][_0x3fd7ff(0x1f0)](_0x3fd7ff(0x1e2));return _0x3d31b2[_0x3fd7ff(0x1f2)]={'getSuggestion':async _0xc5ad60=>{const _0x25e418=_0x3fd7ff;await this[_0x25e418(0x1e7)]();const _0x5b98dd=await this[_0x25e418(0x1f7)][_0x25e418(0x1f0)](_0xc5ad60)[_0x25e418(0x1cf)](R);return await this[_0x25e418(0x1e5)]([_0x5b98dd]),_0x5b98dd;},'addSuggestion':async({id:_0x1bc40d,type:_0x220f29,data:_0x39462d,originalSuggestionId:_0x44d564,attributes:_0x4ba1e3})=>{const _0x24173f=_0x3fd7ff;await this[_0x24173f(0x1e7)]();const _0x430636={'id':_0x1bc40d,'type':_0x220f29,'data':_0x39462d,'originalSuggestionId':_0x44d564,'attributes':_0x4ba1e3},_0x3bdbea=await this[_0x24173f(0x1f7)][_0x24173f(0x1fe)](_0x1bc40d,_0x220f29,_0x39462d,_0x44d564,_0x4ba1e3)[_0x24173f(0x1cf)](_0x551bd7=>{if(st(_0x551bd7))return new Promise(_0xf19851=>{const _0x336a14=_0x360c;this[_0x336a14(0x1d1)][_0x336a14(0x205)](_0x1bc40d,{'resolve':_0xf19851,'suggestionData':_0x430636});});throw _0x551bd7;});return this[_0x24173f(0x1d1)][_0x24173f(0x1fc)](_0x1bc40d),_0x3bdbea;},'updateSuggestion':async(_0x52341f,_0x366f86)=>{const _0x2165bb=_0x3fd7ff;if(await this[_0x2165bb(0x1e7)](),_0x2165bb(0x1eb)!==_0x366f86[_0x2165bb(0x1fb)])return this[_0x2165bb(0x1f7)][_0x2165bb(0x1d5)](_0x52341f,_0x366f86)[_0x2165bb(0x1cf)](R);}},this[_0x3fd7ff(0x1e1)](this[_0x3fd7ff(0x1f7)],_0x3fd7ff(0x204),(_0x13a0fc,_0x405ade)=>{const _0x2200e4=_0x3fd7ff;_0x3d31b2[_0x2200e4(0x1f6)](_0x405ade['id'])&&(_0x3d31b2[_0x2200e4(0x1d2)](_0x405ade['id'])[_0x2200e4(0x1ef)]=_0x405ade[_0x2200e4(0x1ef)]);}),this[_0x3fd7ff(0x1f7)][_0x3fd7ff(0x1dd)](_0x55a8cb[_0x3fd7ff(0x202)])[_0x3fd7ff(0x1e6)](_0xb8488e=>(_0x55a8cb[_0x3fd7ff(0x1ed)](this),this[_0x3fd7ff(0x1e5)](_0xb8488e)[_0x3fd7ff(0x1e6)](()=>{const _0x13af05=_0x3fd7ff;for(const _0xcad24b of _0xb8488e){_0x3d31b2[_0x13af05(0x1d3)](_0xcad24b)[_0x13af05(0x1ea)]=!0x0;}})));}async[_0x1f8467(0x1fd)](){const _0x405e7f=_0x1f8467,_0x48ea10=this[_0x405e7f(0x201)][_0x405e7f(0x1f9)][_0x405e7f(0x1f0)](_0x405e7f(0x1e2)),{connection:_0x17fe62}=this[_0x405e7f(0x201)][_0x405e7f(0x1f9)][_0x405e7f(0x1f0)](_0x30532d),_0x43b343=await this[_0x405e7f(0x1f7)][_0x405e7f(0x1dd)](_0x17fe62);await this[_0x405e7f(0x1e5)](_0x43b343);for(const {suggestionData:_0x2631eb,resolve:_0x34d116}of this[_0x405e7f(0x1d1)][_0x405e7f(0x1ee)]()){let _0xea6269=_0x43b343[_0x405e7f(0x1db)](_0x4bed32=>_0x4bed32['id']===_0x2631eb['id']);_0xea6269||(_0xea6269=await this[_0x405e7f(0x1f7)][_0x405e7f(0x1fe)](_0x2631eb['id'],_0x2631eb[_0x405e7f(0x1ec)],_0x2631eb[_0x405e7f(0x1d6)],_0x2631eb[_0x405e7f(0x1f1)])),_0x34d116(_0xea6269);}for(const _0x272ec1 of _0x43b343)_0x48ea10[_0x405e7f(0x1f6)](_0x272ec1['id'])||_0x48ea10[_0x405e7f(0x1d3)](_0x272ec1);}async[_0x1f8467(0x1e7)](){const _0x18b243=_0x1f8467;this[_0x18b243(0x1f7)][_0x18b243(0x1f4)]||await new Promise(_0x4ce695=>{const _0x11f3e0=_0x18b243;this[_0x11f3e0(0x1e1)](this[_0x11f3e0(0x1f7)],_0x11f3e0(0x200),_0x5d4393=>{const _0x5e5ec1=_0x11f3e0;_0x5d4393[_0x5e5ec1(0x1d8)](),_0x4ce695();});});}async[_0x1f8467(0x1e5)](_0x36b91d){const _0x2046b9=_0x1f8467,_0x1a93e7=this[_0x2046b9(0x201)][_0x2046b9(0x1f9)][_0x2046b9(0x1f0)](_0x3f438b),{connection:_0x20e1cc}=this[_0x2046b9(0x201)][_0x2046b9(0x1f9)][_0x2046b9(0x1f0)](_0x30532d),_0xdb3445=new Set();for(const {authorId:_0x757ea9}of _0x36b91d)_0x1a93e7[_0x2046b9(0x1ce)](_0x757ea9)||_0xdb3445[_0x2046b9(0x1fe)](_0x757ea9);if(0x0===_0xdb3445[_0x2046b9(0x1da)])return;const _0x357440=await _0x3c3d3f[_0x2046b9(0x1e0)](_0x20e1cc,Array[_0x2046b9(0x1f3)](_0xdb3445));for(const _0x141018 of _0x357440)_0x1a93e7[_0x2046b9(0x1ce)](_0x141018['id'])||_0x1a93e7[_0x2046b9(0x1d9)](_0x141018);}}g[_0x1f8467(0x1e8)]=_0x192914;export default g;function _0x360c(_0x78f37f,_0x3d98df){const _0x1502ee=_0x1502();return _0x360c=function(_0x360cb4,_0x22448b){_0x360cb4=_0x360cb4-0x1cc;let _0x3a5a86=_0x1502ee[_0x360cb4];return _0x3a5a86;},_0x360c(_0x78f37f,_0x3d98df);}function R(_0x41cbf6){if(st(_0x41cbf6))return new Promise(()=>{});throw _0x41cbf6;}function st(_0x4fdfc8){const _0x38c4f6=_0x1f8467;return _0x4fdfc8[_0x38c4f6(0x1f8)][_0x38c4f6(0x1e3)](_0x38c4f6(0x1cc))||_0x4fdfc8[_0x38c4f6(0x1f8)][_0x38c4f6(0x1e3)](_0x38c4f6(0x1df));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5713cc=_0x2009;(function(_0x30df7c,_0xfb4d1e){var _0x54d0d7=_0x2009,_0x3630f8=_0x30df7c();while(!![]){try{var _0x1b33c4=parseInt(_0x54d0d7(0xba))/0x1*(parseInt(_0x54d0d7(0xbc))/0x2)+parseInt(_0x54d0d7(0xb5))/0x3+parseInt(_0x54d0d7(0xbb))/0x4+parseInt(_0x54d0d7(0xc1))/0x5+-parseInt(_0x54d0d7(0xbd))/0x6+parseInt(_0x54d0d7(0xb9))/0x7+parseInt(_0x54d0d7(0xbf))/0x8*(-parseInt(_0x54d0d7(0xbe))/0x9);if(_0x1b33c4===_0xfb4d1e)break;else _0x3630f8['push'](_0x3630f8['shift']());}catch(_0x16b0b1){_0x3630f8['push'](_0x3630f8['shift']());}}}(_0x2409,0x2f499));import{Plugin as _0x435f70}from'ckeditor5/src/core.js';function _0x2009(_0x5ecdc4,_0xa02778){var _0x2409e0=_0x2409();return _0x2009=function(_0x20095f,_0x23ea9c){_0x20095f=_0x20095f-0xb5;var _0x287bbd=_0x2409e0[_0x20095f];return _0x287bbd;},_0x2009(_0x5ecdc4,_0xa02778);}function _0x2409(){var _0x14db1a=['278570KaeDQx','841890NqKITk','TrackChanges','RealTimeCollaborativeTrackChanges','pluginName','1073737YIuWKB','752jzLwHM','227928RhuLeW','898WDjkcr','868524ORgofq','117VhVkTA','335952tVINti','requires'];_0x2409=function(){return _0x14db1a;};return _0x2409();}import _0x40f70e from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x5e5ca7 from'./realtimecollaborativecomments.js';export default class p extends _0x435f70{static get[_0x5713cc(0xc0)](){var _0x654204=_0x5713cc;return[_0x5e5ca7,_0x40f70e,_0x654204(0xb6)];}static get[_0x5713cc(0xb8)](){var _0x14aa48=_0x5713cc;return _0x14aa48(0xb7);}}
|