@ckeditor/ckeditor5-real-time-collaboration 43.1.0 → 43.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x517f36=_0x10bf;(function(_0x18dab9,_0xc0a40d){const _0x220158=_0x10bf,_0x3de79b=_0x18dab9();while(!![]){try{const _0x229206=-parseInt(_0x220158(0x174))/0x1*(-parseInt(_0x220158(0x97))/0x2)+parseInt(_0x220158(0x101))/0x3*(-parseInt(_0x220158(0x125))/0x4)+parseInt(_0x220158(0x157))/0x5*(-parseInt(_0x220158(0x119))/0x6)+-parseInt(_0x220158(0xb0))/0x7+parseInt(_0x220158(0x131))/0x8*(parseInt(_0x220158(0xe2))/0x9)+-parseInt(_0x220158(0x14e))/0xa+parseInt(_0x220158(0x173))/0xb*(parseInt(_0x220158(0xf1))/0xc);if(_0x229206===_0xc0a40d)break;else _0x3de79b['push'](_0x3de79b['shift']());}catch(_0x13925c){_0x3de79b['push'](_0x3de79b['shift']());}}}(_0x492a,0xd4d02));import{Plugin as _0x16edd1,PendingActions as _0x5f8e75}from'ckeditor5/src/core.js';function _0x10bf(_0x4fd74e,_0x205b15){const _0x492af3=_0x492a();return _0x10bf=function(_0x10bf9e,_0x37170a){_0x10bf9e=_0x10bf9e-0x81;let _0x4c5faf=_0x492af3[_0x10bf9e];return _0x4c5faf;},_0x10bf(_0x4fd74e,_0x205b15);}import{CKEditorError as _0x2e3c88,version as _0x59313c,uid as _0x20be7d}from'ckeditor5/src/utils.js';import{Notification as _0xfc33fe}from'ckeditor5/src/ui.js';function _0x492a(){const _0x2c63df=['directChange','entries','rootsAttributes','_baseBufferDelay','change:hasDomSelection','createRange','4740SSsklT','_handleSendingSelectionMarkers','_fetchMissingUsers','_connectService','real-time-collaboration','_compressor','decompress','_ignoredOperations','has','disconnected','sessionAdd:','_isLoaded','finally','409','batch','_lastSyncedOperationId','27PCEYJC','parse','_sendBufferedOperationsDelayed','view','getOperationAuthor','userId','addUser','initData','path','addToReconnectionStack','_setUpDataInit','realtimecollaborationclient-init-connection-failed','return','operationsReceived','connection','InsertOperation','baseVersion','destroy','cloudDocumentVersion','getIdOfTheLastOperation','createPositionAt','_refreshUserSelectionMarkers','_handleServerResponse','lastOperationAcceptedAt','4848cLSVhQ','_initThrowingOnDataSet','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.','setIdForTheLastOperation','_isDisconnection','permissions','sessionId','position','__className','history','reconnect','marker','290216xfNlAc','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_getAffectedRoot','_sendBufferedOperationsDelayId','bind','realtimecollaborationclient-initservice-internal-error','getUser','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','length','_handleReconnectionResponse','stopListening','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','23128EIqIqb','_disconnectionOperations','_applyOperationsSet','metadata','wasUndone','realtimecollaborationclient-init-document-already-initialized','Permissions','rtc-offline','unregister','_connectAfterSessionHasBeenFlushed','differ','_disconnectService','enqueueChange','string','compress','reconnection:\x20flushed\x20session','_sendBufferedOperations','_bufferRootLoad','sendOperations','error','loadRoot','disableReadOnlyMode','mySessionId','connect','listenTo','_shouldSendUpdate','define','clone','createPositionFromPath','15989360cmpidq','_isEditingAllowed','forEach','attributes','_handleInitialConnectionData','affectedSelectable','_clearPendingAction','_document','requires','5430HnMxHK','_initSessionsHandling','addRootAttribute','collaboration','_addKnownRoot','_operationToId','_crash','_hasSelectionChanged','document','_isInit','collaboration-missing-channelid','push','reset','cloudServices.bundleVersion','isUndoneOperation','_loadRoot','serverHistory','_handleExternalOperations','PENDING_ACTION_SENDING_DATA','_isConnected','currentDocumentSession','change:_isEditingAllowed','_offset','fire','catch','CollaborativeEditingService','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.','getConnectedSessions','48917RTTsGw','823hRfSkb','lastSyncVersion','_knownOperations','start','insert','multi-root-editor-root-attributes-no-root','setPermissions','apply','roots','startsWith','_isPendingUpdate','type','_saveOperationInBuffer','ready','createdAt','cloud-services-internal-error:\x20Not\x20connected.','includes','add','realtimecollaborationclient-handleserverresponse','from','high','$root','collaboration.channelId','cs:removeUser','_handleReceivedOperations','isDocumentOperation','realtimecollaborationclient-init-non-existent-root','Synchronization\x20issue','wereChangesApplied','locale','_waitUntilSynced','get','realtimecollaborationclient-init-session-connection-error','_handleReconnectionError','createUserMarkerOperations','_service','_setPendingAction','register','state','4202XgLuaF','move','enableReadOnlyMode','change:_isPendingUpdate','removeFromReconnectionStack','_hasSynchronizationProblem','rtc-destroyed','change:range','_channelId','targetPosition','RealTimeCollaborationClient','offset','round','editor','affectsData','message','_isAttached','getRoot','createRoot','404','suppressErrorInCollaboration','data','set','Notification','getOperations','8190343rNwnSu','isEnabled','keys','_knownRootNames','_pendingAction','sessionCreatedAt','toJSON','map','cloud-services-internal-error:\x20Request\x20timeout.','selection','init','rootName','then','addRoot','getMany','plugins','getDocumentDetails','fromJSON','_operationIdentifier','config','_authorId','_getOperationsFromInitData','stop','version','off','slice','markers','showWarning','remove','channelSessions','realtimecollaborationclient-initservice-incorrect-server-operation','_currentBufferDelay','_lastServerVersion','_shouldSendSelectionUpdate','disconnect','isReadOnly','root','pluginName','newRange','_compressOperations','filter','applyOperation','_bufferedOperations','realtimecollaborationclient-sendbufferedoperations','end','CommentsOnly','model','document:write','addOperation','lastDocumentSession','5247XdAxRh','editing','_updateServerHistory','lastOperationId','size','_decompressOperations','code','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','connected'];_0x492a=function(){return _0x2c63df;};return _0x492a();}import{transformSets as _0x291ece,NoOperation as _0x5f3824,InsertOperation as _0x583d5d,MarkerOperation as _0x138bf2,RootAttributeOperation as _0x1fb4b0,OperationFactory as _0xdd7db5,History as _0x400615}from'ckeditor5/src/engine.js';import _0x3da96e from'./websocketgateway.js';import _0x66e81a from'./sessions.js';import _0x52a180 from'./usermarkers.js';import{getTranslation as _0x4e9508}from'../common-translations.js';import{Compressor as _0x2b3492}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3fc241}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1ec56a,CollaborativeEditingService as _0x4fc1ae}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x16edd1{static get[_0x517f36(0x156)](){return[_0x3da96e,_0x66e81a,_0x52a180,_0x5f8e75,_0x3fc241,_0xfc33fe];}static get[_0x517f36(0xd5)](){const _0x315efa=_0x517f36;return _0x315efa(0xa1);}get[_0x517f36(0x113)](){const _0x14ec81=_0x517f36;return this[_0x14ec81(0xd0)]+this[_0x14ec81(0x16d)];}get[_0x517f36(0xd0)](){const _0x1252cf=_0x517f36;return this[_0x1252cf(0x167)][_0x1252cf(0xc7)]-this[_0x1252cf(0x16d)];}get[_0x517f36(0x175)](){const _0x8fdcee=_0x517f36,_0x19a3fb=this[_0x8fdcee(0x167)][_0x8fdcee(0xaf)]();for(let _0xdc665c=_0x19a3fb[_0x8fdcee(0x12d)]-0x1;_0xdc665c>=0x0;_0xdc665c--){const _0x1897a1=_0x19a3fb[_0xdc665c];if(!this[_0x8fdcee(0x132)][_0x8fdcee(0xf9)](_0x1897a1))return _0x1897a1[_0x8fdcee(0x111)]+0x1-this[_0x8fdcee(0x16d)];}return 0x0;}constructor(_0x50f851){const _0x52038e=_0x517f36;if(super(_0x50f851),this[_0x52038e(0x16d)]=0x0,this[_0x52038e(0x11f)]=null,this[_0x52038e(0x167)]=new _0x400615(),this[_0x52038e(0xa4)][_0x52038e(0xc3)][_0x52038e(0x14b)](_0x52038e(0x15a),{}),this[_0x52038e(0x9f)]=this[_0x52038e(0xa4)][_0x52038e(0xc3)][_0x52038e(0x8f)](_0x52038e(0x86)),!this[_0x52038e(0x9f)])throw new _0x2e3c88(_0x52038e(0x161),this);const _0x3d385b=_0x50f851[_0x52038e(0xc3)][_0x52038e(0x8f)](_0x52038e(0x164))||_0x59313c;this[_0x52038e(0x93)]=new l[(_0x52038e(0x170))](_0x3d385b,this[_0x52038e(0x9f)]),this[_0x52038e(0x155)]=this[_0x52038e(0xa4)][_0x52038e(0xde)][_0x52038e(0x15f)],this[_0x52038e(0xf6)]=new _0x2b3492(),this[_0x52038e(0xda)]=[],this[_0x52038e(0x176)]=new WeakSet(),this[_0x52038e(0xb3)]=new Set(),this[_0x52038e(0xad)](_0x52038e(0x17e),!0x1),this[_0x52038e(0xad)](_0x52038e(0x9c),!0x1),this[_0x52038e(0xb4)]=null,this[_0x52038e(0x15e)]=!0x1,this[_0x52038e(0x128)]=null,this[_0x52038e(0xee)]=0x12c,this[_0x52038e(0xcf)]=this[_0x52038e(0xee)],this[_0x52038e(0x100)]=null,this[_0x52038e(0x132)]=new WeakSet(),this[_0x52038e(0xc2)]=new X(this[_0x52038e(0x132)]);}[_0x517f36(0xba)](){const _0x16f20d=_0x517f36,_0x35199b=this[_0x16f20d(0xa4)],_0x15220d=_0x35199b[_0x16f20d(0xbf)][_0x16f20d(0x8f)](_0x3fc241),_0x2c76cf=_0x35199b[_0x16f20d(0xbf)][_0x16f20d(0x8f)](_0x3da96e);this[_0x16f20d(0x149)](_0x15220d,_0x16f20d(0x105),(_0x115449,_0xb4db1f)=>{const _0x2959cb=_0x16f20d,_0x4a5e03=_0xb4db1f[0x0];_0x4a5e03[_0x2959cb(0xc4)]&&(_0x115449[_0x2959cb(0x10d)]=_0x15220d[_0x2959cb(0x12b)](_0x4a5e03[_0x2959cb(0xc4)]),_0x115449[_0x2959cb(0xc6)]()),null===_0x4a5e03[_0x2959cb(0xc4)]&&(_0x115449[_0x2959cb(0x10d)]=null,_0x115449[_0x2959cb(0xc6)]());},{'priority':_0x16f20d(0x84)}),this[_0x16f20d(0x149)](_0x35199b[_0x16f20d(0xde)][_0x16f20d(0x15f)][_0x16f20d(0xb9)],_0x16f20d(0x9e),(_0x19ad49,_0x3c6e16)=>{const _0x2e5265=_0x16f20d;_0x3c6e16[_0x2e5265(0xeb)]&&this[_0x2e5265(0x116)]();}),this[_0x16f20d(0x149)](_0x35199b[_0x16f20d(0xe3)][_0x16f20d(0x104)],_0x16f20d(0xef),()=>{const _0x4fea62=_0x16f20d;this[_0x4fea62(0x116)]();}),this[_0x16f20d(0x11a)](),_0x35199b[_0x16f20d(0xde)]['on'](_0x16f20d(0xd9),(_0x34ded8,_0x26d722)=>{const _0x4392cb=_0x16f20d,_0x4ec97c=_0x26d722[0x0];_0x4ec97c[_0x4392cb(0x89)]&&(this[_0x4392cb(0x180)](_0x4ec97c),this[_0x4392cb(0x14a)]()&&this[_0x4392cb(0x103)]());}),this[_0x16f20d(0x10b)](),this[_0x16f20d(0x129)](_0x16f20d(0x14f))['to'](_0x2c76cf,_0x16f20d(0x96),this,_0x16f20d(0x9c),(_0x4ec941,_0x17ff92)=>_0x16f20d(0xea)===_0x4ec941&&!_0x17ff92),this['on'](_0x16f20d(0x16c),()=>{const _0x4a7c50=_0x16f20d;this[_0x4a7c50(0x14f)]?_0x35199b[_0x4a7c50(0x146)](_0x4a7c50(0x138)):_0x35199b[_0x4a7c50(0x99)](_0x4a7c50(0x138));}),this[_0x16f20d(0x14f)]?_0x35199b[_0x16f20d(0x146)](_0x16f20d(0x138)):_0x35199b[_0x16f20d(0x99)](_0x16f20d(0x138)),this[_0x16f20d(0xad)](_0x16f20d(0x16a),!0x1);}async[_0x517f36(0x123)](){const _0x5964b1=_0x517f36,_0x2061cc=this[_0x5964b1(0xa4)][_0x5964b1(0xbf)][_0x5964b1(0x8f)](_0x66e81a),_0x475c96=this[_0x5964b1(0xa4)][_0x5964b1(0xbf)][_0x5964b1(0x8f)](_0x3da96e);try{this[_0x5964b1(0x17e)]=!0x0,_0x2061cc[_0x5964b1(0x139)](this[_0x5964b1(0x9f)]);const _0x385e73=await this[_0x5964b1(0x93)][_0x5964b1(0x123)](_0x475c96[_0x5964b1(0x10f)],this[_0x5964b1(0x175)]);await this[_0x5964b1(0x12e)](_0x385e73)&&(this[_0x5964b1(0x17e)]=!0x1,this[_0x5964b1(0x154)]());const _0x530374=await this[_0x5964b1(0x93)][_0x5964b1(0x172)]();_0x2061cc[_0x5964b1(0x95)](this[_0x5964b1(0x9f)],_0x530374),this[_0x5964b1(0xf2)](),this[_0x5964b1(0x16a)]=!0x0;}catch(_0x3f3855){if(function(_0x1b8b59){const _0x4ae0e6=_0x5964b1;return _0x4ae0e6(0xaa)===_0x1b8b59[_0x4ae0e6(0xe8)];}(_0x3f3855)&&this[_0x5964b1(0x11f)])await this[_0x5964b1(0x13a)]();else{if(function(_0x10c949){const _0xf444d4=_0x5964b1;return _0xf444d4(0xfe)===_0x10c949[_0xf444d4(0xe8)];}(_0x3f3855)){const _0x544cbb=_0x4e9508(this[_0x5964b1(0xa4)][_0x5964b1(0x8d)],_0x5964b1(0x12c));this[_0x5964b1(0x91)](_0x544cbb);}else{if(!(_0x3f3855 instanceof J))throw _0x3f3855;this[_0x5964b1(0x91)]();}}}}[_0x517f36(0x112)](){const _0x4c6cc3=_0x517f36,_0x16a839=this[_0x4c6cc3(0xa4)][_0x4c6cc3(0xbf)][_0x4c6cc3(0x8f)](_0x3da96e),_0x40f144=this[_0x4c6cc3(0xa4)][_0x4c6cc3(0xbf)][_0x4c6cc3(0x8f)](_0x66e81a);this[_0x4c6cc3(0xa4)][_0x4c6cc3(0x99)](_0x4c6cc3(0x9d)),_0x40f144[_0x4c6cc3(0xcd)][_0x4c6cc3(0xf9)](this[_0x4c6cc3(0x9f)])&&_0x40f144[_0x4c6cc3(0x139)](this[_0x4c6cc3(0x9f)]),_0x16a839[_0x4c6cc3(0x9b)](this),this[_0x4c6cc3(0x13c)](),super[_0x4c6cc3(0x112)]();}async[_0x517f36(0x12e)](_0xf7d44f){const _0x392afa=_0x517f36;if(this[_0x392afa(0x11f)]!==_0xf7d44f[_0x392afa(0x11f)]&&this[_0x392afa(0x100)]!==_0xf7d44f[_0x392afa(0xe5)])throw new J();return this[_0x392afa(0x11f)]=_0xf7d44f[_0x392afa(0x11f)],this[_0x392afa(0x117)]([],{..._0xf7d44f,'wereChangesApplied':!0x1,'data':_0xf7d44f[_0x392afa(0xac)]},_0x392afa(0x123));}async[_0x517f36(0xf4)](_0x56d311,_0x4544a9=!0x1){const _0x1fb8ea=_0x517f36,{connection:_0xfa02ce}=this[_0x1fb8ea(0xa4)][_0x1fb8ea(0xbf)][_0x1fb8ea(0x8f)](_0x3da96e);l[_0x1fb8ea(0x170)][_0x1fb8ea(0x172)](_0xfa02ce,this[_0x1fb8ea(0x9f)])[_0x1fb8ea(0xbc)](_0x46092a=>this[_0x1fb8ea(0x158)](_0x46092a))[_0x1fb8ea(0x16f)](_0x3a7aba=>{const _0x1de388=_0x1fb8ea;this[_0x1de388(0x15d)](_0x1de388(0x90),_0x3a7aba);}),this[_0x1fb8ea(0x149)](this[_0x1fb8ea(0x93)],_0x1fb8ea(0x10e),this[_0x1fb8ea(0x88)][_0x1fb8ea(0x129)](this)),this[_0x1fb8ea(0x149)](this[_0x1fb8ea(0x93)],_0x1fb8ea(0x144),(_0x90dcbd,_0x36d735)=>{const _0x8bc173=_0x1fb8ea;this[_0x8bc173(0x15d)](_0x8bc173(0x12a),_0x36d735);}),this[_0x1fb8ea(0x149)](this[_0x1fb8ea(0x93)],_0x1fb8ea(0xfa),()=>{const _0x45750c=_0x1fb8ea;this[_0x45750c(0x16a)]=!0x1;});const _0x136e83=this[_0x1fb8ea(0xc2)][_0x1fb8ea(0x114)](_0x56d311);this[_0x1fb8ea(0x17e)]=!0x0;const _0x5839be=await this[_0x1fb8ea(0x93)][_0x1fb8ea(0x148)](_0xfa02ce,this[_0x1fb8ea(0xd7)](_0x56d311),_0x136e83);if(this[_0x1fb8ea(0x11f)]=_0x5839be[_0x1fb8ea(0x11f)],_0x4544a9){if(!_0x5839be[_0x1fb8ea(0x8c)])return void this[_0x1fb8ea(0x91)]();this[_0x1fb8ea(0x17e)]=!0x1,this[_0x1fb8ea(0x154)](),this[_0x1fb8ea(0x167)][_0x1fb8ea(0x163)](),this[_0x1fb8ea(0x16d)]=_0x5839be[_0x1fb8ea(0xa2)],this[_0x1fb8ea(0x167)][_0x1fb8ea(0xc7)]=this[_0x1fb8ea(0x16d)],await this[_0x1fb8ea(0x117)](_0x56d311,_0x5839be,_0x1fb8ea(0x140));}else await this[_0x1fb8ea(0x152)](_0x5839be,_0x56d311);this[_0x1fb8ea(0xf2)](),this[_0x1fb8ea(0x16a)]=!0x0;}[_0x517f36(0xf2)](){const _0x69057=_0x517f36,_0x2102a5=this[_0x69057(0xa4)][_0x69057(0xbf)][_0x69057(0x8f)](_0x66e81a),_0x143d91=this[_0x69057(0xa4)][_0x69057(0xbf)][_0x69057(0x8f)](_0x52a180),_0x4dd700=_0x2102a5[_0x69057(0xcd)][_0x69057(0x8f)](this[_0x69057(0x9f)]);_0x4dd700&&_0x4dd700[_0x69057(0x12d)]>0x1?_0x143d91[_0x69057(0x92)]():this[_0x69057(0x149)](_0x2102a5,_0x69057(0xfb)+this[_0x69057(0x9f)],()=>{const _0x618a26=_0x69057;0x2===_0x2102a5[_0x618a26(0xcd)][_0x618a26(0x8f)](this[_0x618a26(0x9f)])[_0x618a26(0x12d)]&&_0x143d91[_0x618a26(0x92)]();});}async[_0x517f36(0x88)](_0x27abc2,_0x130787,_0xd224a,_0x3cc0bb){const _0x4d293f=_0x517f36;if(!this[_0x4d293f(0x17e)]&&this[_0x4d293f(0x155)][_0x4d293f(0xc7)]==_0x130787){const _0x22e722=this[_0x4d293f(0xe7)](_0xd224a,_0x3cc0bb);await this[_0x4d293f(0xf3)](_0x22e722),this[_0x4d293f(0x168)](_0x22e722,_0x130787,_0xd224a[_0x4d293f(0xe5)])||this[_0x4d293f(0x15d)](_0x4d293f(0xce));}}async[_0x517f36(0x13a)](){const _0x2fc230=_0x517f36;this[_0x2fc230(0x13c)]();const {locale:_0xe2f405}=this[_0x2fc230(0xa4)];let _0xc80579;try{_0xc80579=await this[_0x2fc230(0x93)][_0x2fc230(0xc0)]();}catch(_0x393f73){const _0x5c431f=_0x4e9508(_0xe2f405,_0x2fc230(0x126));return void this[_0x2fc230(0x91)](_0x5c431f);}const _0x22c7da=_0xc80579[_0x2fc230(0x16b)]||_0xc80579[_0x2fc230(0xe1)];if(this[_0x2fc230(0x100)]===_0x22c7da[_0x2fc230(0xe5)])await this[_0x2fc230(0xf4)](this[_0x2fc230(0xa4)][_0x2fc230(0xde)][_0x2fc230(0x15f)][_0x2fc230(0x122)][_0x2fc230(0xaf)](),!0x0);else{const _0x24c997=_0x4e9508(_0xe2f405,_0x2fc230(0x11b));this[_0x2fc230(0x91)](_0x24c997);}}[_0x517f36(0x13c)](){const _0x194c2b=_0x517f36;this[_0x194c2b(0x93)][_0x194c2b(0xd2)](),this[_0x194c2b(0xda)]=[],clearTimeout(this[_0x194c2b(0x128)]),this[_0x194c2b(0x12f)](this[_0x194c2b(0x93)]);}[_0x517f36(0x158)](_0x1d3a17){const _0x253fb7=_0x517f36,_0x2b4d29=this[_0x253fb7(0xa4)][_0x253fb7(0xbf)][_0x253fb7(0x8f)](_0x66e81a);this[_0x253fb7(0x149)](_0x2b4d29,_0x253fb7(0xfb)+this[_0x253fb7(0x9f)],(_0x4c6f2f,{session:_0x385280})=>{const _0x4099b5=_0x253fb7;if(_0x385280['id']===_0x2b4d29[_0x4099b5(0x147)]){_0x4c6f2f[_0x4099b5(0xc8)]();const _0xb11b7d=this[_0x4099b5(0xa4)][_0x4099b5(0xbf)][_0x4099b5(0xf9)](_0x4099b5(0xdd))&&this[_0x4099b5(0xa4)][_0x4099b5(0xbf)][_0x4099b5(0x8f)](_0x4099b5(0xdd));let _0xd6bc60=_0x385280[_0x4099b5(0x11e)];_0xb11b7d&&_0xb11b7d[_0x4099b5(0xb1)]&&(_0xd6bc60=_0xd6bc60[_0x4099b5(0xd8)](_0x19976b=>_0x4099b5(0xdf)!==_0x19976b)),this[_0x4099b5(0xa4)][_0x4099b5(0xbf)][_0x4099b5(0x8f)](_0x4099b5(0x137))[_0x4099b5(0x17a)](_0xd6bc60,this[_0x4099b5(0x9f)]);}}),_0x2b4d29[_0x253fb7(0x95)](this[_0x253fb7(0x9f)],_0x1d3a17);}[_0x517f36(0x11a)](){const _0xb91fda=_0x517f36,_0x2afe97=this[_0xb91fda(0xa4)][_0xb91fda(0xac)][_0xb91fda(0xad)];this[_0xb91fda(0xa4)][_0xb91fda(0xac)][_0xb91fda(0xad)]=(..._0x261998)=>{const _0xc636b6=_0xb91fda;if(!_0x261998[_0x261998[_0xc636b6(0x12d)]-0x1][_0xc636b6(0xab)])throw new _0x2e3c88(_0xc636b6(0xe9),this);_0x2afe97[_0xc636b6(0x17b)](this[_0xc636b6(0xa4)][_0xc636b6(0xac)],_0x261998);};}[_0x517f36(0x10b)](){const _0x3f4e6c=_0x517f36;this[_0x3f4e6c(0xa4)][_0x3f4e6c(0xac)]['on'](_0x3f4e6c(0xba),(_0x19d2cd,[_0x313685])=>{const _0x4f0429=_0x3f4e6c;if(this[_0x4f0429(0x155)][_0x4f0429(0xc7)])throw new _0x2e3c88(_0x4f0429(0x136),this);_0x19d2cd[_0x4f0429(0xc6)](),this[_0x4f0429(0x94)]();const _0x43c987=this[_0x4f0429(0xa4)][_0x4f0429(0xc3)][_0x4f0429(0x8f)](_0x4f0429(0xed)),_0x44b9fd=this[_0x4f0429(0xc5)](_0x313685,_0x43c987);0x0==_0x44b9fd[_0x4f0429(0x12d)]&&_0x44b9fd[_0x4f0429(0x162)](new _0x5f3824(0x0)),_0x19d2cd[_0x4f0429(0x10d)]=this[_0x4f0429(0xf4)](_0x44b9fd)[_0x4f0429(0xbc)](()=>{const _0x5da588=_0x4f0429;this[_0x5da588(0xa4)][_0x5da588(0xbf)][_0x5da588(0x8f)](_0x3da96e)[_0x5da588(0x10a)](this),this[_0x5da588(0xa4)][_0x5da588(0xac)][_0x5da588(0x16e)](_0x5da588(0x181));})[_0x4f0429(0x16f)](_0x1f47c3=>this[_0x4f0429(0x15d)](_0x4f0429(0x10c),_0x1f47c3))[_0x4f0429(0xfd)](()=>this[_0x4f0429(0x154)]());},{'priority':_0x3f4e6c(0x84)}),this[_0x3f4e6c(0xa4)]['on'](_0x3f4e6c(0x145),async(_0x409084,[_0xf5afaa,_0x26036e])=>{const _0x4cc1a2=_0x3f4e6c;_0x409084[_0x4cc1a2(0xc6)]();const _0x253d9e=this[_0x4cc1a2(0xa4)][_0x4cc1a2(0xde)][_0x4cc1a2(0x15f)][_0x4cc1a2(0xa8)](_0xf5afaa);if(!this[_0x4cc1a2(0xb3)][_0x4cc1a2(0xf9)](_0xf5afaa)){const _0xf2321e=_0x26036e&&_0x26036e[_0x4cc1a2(0xac)]?_0x26036e[_0x4cc1a2(0xac)]:'',_0xfbabfa=_0x26036e&&_0x26036e[_0x4cc1a2(0x151)]?_0x26036e[_0x4cc1a2(0x151)]:{};await this[_0x4cc1a2(0x166)](_0xf5afaa,_0xf2321e,_0xfbabfa);}this[_0x4cc1a2(0xa4)][_0x4cc1a2(0xde)][_0x4cc1a2(0x13d)]({'isUndoable':!0x1},()=>{const _0x3bd83d=_0x4cc1a2;_0x253d9e[_0x3bd83d(0xfc)]=!0x0,this[_0x3bd83d(0xa4)][_0x3bd83d(0xde)][_0x3bd83d(0x15f)][_0x3bd83d(0x13b)][_0x3bd83d(0x142)](_0x253d9e);});},{'priority':_0x3f4e6c(0x84)});}async[_0x517f36(0xf3)](_0x2fd4ec){const _0x7da3d7=_0x517f36,_0x989c9f=this[_0x7da3d7(0xa4)][_0x7da3d7(0xbf)][_0x7da3d7(0x8f)](_0x3fc241),{connection:_0x443bd0}=this[_0x7da3d7(0xa4)][_0x7da3d7(0xbf)][_0x7da3d7(0x8f)](_0x3da96e),_0x4570d6=new Set();for(const _0x1edc46 of _0x2fd4ec){const _0x5c67bc=_0x1edc46[_0x7da3d7(0xc4)];_0x5c67bc&&!_0x989c9f[_0x7da3d7(0x12b)](_0x5c67bc)&&_0x4570d6[_0x7da3d7(0x81)](_0x5c67bc);}if(0x0===_0x4570d6[_0x7da3d7(0xe6)])return;const _0x5cbb82=await _0x1ec56a[_0x7da3d7(0xbe)](_0x443bd0,Array[_0x7da3d7(0x83)](_0x4570d6));for(const _0x1f1651 of _0x5cbb82)_0x989c9f[_0x7da3d7(0x12b)](_0x1f1651['id'])||_0x989c9f[_0x7da3d7(0x107)](_0x1f1651);}[_0x517f36(0xc5)](_0x3b106a,_0x23e5b1={}){const _0x5a9b81=_0x517f36,_0x2d6ea8=this[_0x5a9b81(0xa4)][_0x5a9b81(0xde)],_0x34bd94=[];let _0x385d7f=0x0;const _0x3f2df8=_0x5a9b81(0x13e)==typeof _0x3b106a?{'main':_0x3b106a}:_0x3b106a;for(const _0x483aff of Object[_0x5a9b81(0xb2)](_0x3f2df8)){if(!this[_0x5a9b81(0x155)][_0x5a9b81(0x17c)][_0x5a9b81(0xf9)](_0x483aff))throw new _0x2e3c88(_0x5a9b81(0x8a),this);const _0x71b6fc=this[_0x5a9b81(0xa4)][_0x5a9b81(0xac)][_0x5a9b81(0x102)](_0x3f2df8[_0x483aff]),_0x38d68a=this[_0x5a9b81(0x155)][_0x5a9b81(0xa8)](_0x483aff),_0x1b9cde=new _0x583d5d(_0x2d6ea8[_0x5a9b81(0x115)](_0x38d68a,0x0),_0x71b6fc,_0x385d7f++);_0x34bd94[_0x5a9b81(0x162)](_0x1b9cde);for(const [_0x4794c1,_0x552630]of _0x71b6fc[_0x5a9b81(0xca)]){const _0x140170=_0x2d6ea8[_0x5a9b81(0xf0)](_0x2d6ea8[_0x5a9b81(0x14d)](_0x38d68a,_0x552630[_0x5a9b81(0x177)][_0x5a9b81(0x109)][_0x5a9b81(0xc9)]()),_0x2d6ea8[_0x5a9b81(0x14d)](_0x38d68a,_0x552630[_0x5a9b81(0xdc)][_0x5a9b81(0x109)][_0x5a9b81(0xc9)]())),_0x442cda=new _0x138bf2(_0x4794c1,null,_0x140170,_0x2d6ea8[_0x5a9b81(0xca)],!0x0,_0x385d7f++);_0x34bd94[_0x5a9b81(0x162)](_0x442cda);}}if(_0x23e5b1)for(const [_0x198889,_0x17bca0]of Object[_0x5a9b81(0xec)](_0x23e5b1)){const _0x2fece0=_0x2d6ea8[_0x5a9b81(0x15f)][_0x5a9b81(0xa8)](_0x198889);if(!_0x2fece0)throw new _0x2e3c88(_0x5a9b81(0x179),null);for(const [_0x4f2842,_0x1df148]of Object[_0x5a9b81(0xec)](_0x17bca0))if(null!==_0x1df148){const _0x1c2d54=new _0x1fb4b0(_0x2fece0,_0x4f2842,null,_0x1df148,_0x385d7f++);_0x34bd94[_0x5a9b81(0x162)](_0x1c2d54);}}return _0x34bd94;}async[_0x517f36(0x166)](_0x2ec8c4,_0x12f9f3,_0x385410){const _0x4bcb20=_0x517f36;this[_0x4bcb20(0xc5)]({[_0x2ec8c4]:_0x12f9f3},{[_0x2ec8c4]:_0x385410})[_0x4bcb20(0x150)]((_0xcfca08,_0x1201d9)=>{const _0x32fb0b=_0x4bcb20;_0xcfca08[_0x32fb0b(0x111)]=this[_0x32fb0b(0x155)][_0x32fb0b(0xc7)]+_0x1201d9,_0xcfca08[_0x32fb0b(0x160)]=!0x0,this[_0x32fb0b(0x180)](_0xcfca08);}),this[_0x4bcb20(0x103)](),await this[_0x4bcb20(0x8e)]();}async[_0x517f36(0x152)](_0x545311,_0x26d447){const _0xa40367=_0x517f36;let _0x2427eb;this[_0xa40367(0x16d)]=_0x545311[_0xa40367(0xa2)];const _0x194a10=_0x545311[_0xa40367(0x8c)]&&!_0x545311[_0xa40367(0x108)],_0x2d4ddc=_0x194a10?0x0:_0x545311[_0xa40367(0xac)][_0xa40367(0x111)];if(_0x26d447[_0xa40367(0x150)](_0x2016ff=>{const _0x596d4a=_0xa40367;_0x2016ff[_0x596d4a(0x160)]=!0x0,_0x2016ff[_0x596d4a(0x182)]=_0x545311[_0x596d4a(0xb5)],_0x2016ff[_0x596d4a(0xc4)]=null;}),_0x194a10)_0x2427eb=_0x26d447,this[_0xa40367(0x133)](_0x2427eb,_0x194a10);else{if(_0x545311[_0xa40367(0x108)]){const _0x2cc5a5=this[_0xa40367(0xc5)](_0x545311[_0xa40367(0x108)]);this[_0xa40367(0x155)][_0xa40367(0x122)][_0xa40367(0xc7)]=-_0x2cc5a5[_0xa40367(0x12d)],_0x2cc5a5[_0xa40367(0x150)](_0x4b9525=>{const _0x285079=_0xa40367;_0x4b9525[_0x285079(0x111)]-=_0x2cc5a5[_0x285079(0x12d)],_0x4b9525[_0x285079(0x182)]=_0x545311[_0x285079(0xb5)],_0x4b9525[_0x285079(0x160)]=!0x0,_0x4b9525[_0x285079(0xc4)]=null;}),this[_0xa40367(0x133)](_0x2cc5a5,!0x0),this[_0xa40367(0x167)][_0xa40367(0xc7)]=-_0x2cc5a5[_0xa40367(0x12d)]+this[_0xa40367(0x16d)],this[_0xa40367(0xe4)](_0x2cc5a5);}this[_0xa40367(0x155)][_0xa40367(0x122)][_0xa40367(0xc7)]=_0x2d4ddc,_0x2427eb=this[_0xa40367(0xe7)](_0x545311[_0xa40367(0xac)],_0x545311[_0xa40367(0x134)]),await this[_0xa40367(0xf3)](_0x2427eb),this[_0xa40367(0x133)](_0x2427eb,_0x194a10);}_0x545311[_0xa40367(0xe5)]&&(this[_0xa40367(0xc2)][_0xa40367(0x11c)](_0x2427eb,_0x545311[_0xa40367(0xe5)]),this[_0xa40367(0x100)]=_0x545311[_0xa40367(0xe5)]),this[_0xa40367(0x167)][_0xa40367(0xc7)]=_0x2d4ddc+this[_0xa40367(0x16d)],this[_0xa40367(0xe4)](_0x2427eb),_0x26d447[_0xa40367(0xd8)](_0xa0a6a3=>{const _0x250b05=_0xa40367,_0x276d65=this[_0x250b05(0x127)](_0xa0a6a3);return _0x276d65&&!this[_0x250b05(0xb3)][_0x250b05(0xf9)](_0x276d65);})[_0xa40367(0x150)]((_0x37c968,_0x345ba1)=>{const _0x1d2ddc=_0xa40367;_0x37c968[_0x1d2ddc(0x111)]=this[_0x1d2ddc(0x155)][_0x1d2ddc(0xc7)]+_0x345ba1,this[_0x1d2ddc(0x180)](_0x37c968);}),this[_0xa40367(0x14a)]()?(this[_0xa40367(0xcf)]=0x0,this[_0xa40367(0x103)](!0x0),await this[_0xa40367(0x8e)]()):(this[_0xa40367(0x17e)]=!0x1,this[_0xa40367(0x154)]());}[_0x517f36(0x15d)](_0x232226,_0x4abc26){const _0x16933b=_0x517f36;throw this[_0x16933b(0x17e)]=!0x0,_0x4abc26&&console[_0x16933b(0x144)](_0x4abc26),new _0x2e3c88(_0x232226,this[_0x16933b(0xa4)]);}[_0x517f36(0x180)](_0x4a70df){const _0x50f767=_0x517f36;this[_0x50f767(0x176)][_0x50f767(0xf9)](_0x4a70df)||(this[_0x50f767(0x176)][_0x50f767(0x81)](_0x4a70df),this[_0x50f767(0xda)][_0x50f767(0x162)](_0x4a70df),this[_0x50f767(0xb4)]||_0x50f767(0x124)==_0x4a70df[_0x50f767(0x17f)]&&!_0x4a70df[_0x50f767(0xa5)]||this[_0x50f767(0x94)]());}[_0x517f36(0x103)](_0x4a9c51=!0x1){const _0xed7d6e=_0x517f36;!_0x4a9c51&&this[_0xed7d6e(0x17e)]||(this[_0xed7d6e(0x17e)]=!0x0,clearTimeout(this[_0xed7d6e(0x128)]),this[_0xed7d6e(0x128)]=setTimeout(()=>{const _0x13e989=_0xed7d6e;this[_0x13e989(0x141)]()[_0x13e989(0xbc)](_0x4c5bdc=>{const _0x4cf2ac=_0x13e989;_0x4c5bdc&&(this[_0x4cf2ac(0x154)](),this[_0x4cf2ac(0x17e)]=!0x1);})[_0x13e989(0x16f)](_0xe527be=>{const _0x2c765e=_0x13e989;if(this[_0x2c765e(0x154)](),this[_0x2c765e(0x17e)]=!0x1,!function(_0x4eabeb){const _0x52ed58=_0x2c765e;return _0x4eabeb[_0x52ed58(0xa6)][_0x52ed58(0x17d)](_0x52ed58(0x183))||_0x4eabeb[_0x52ed58(0xa6)][_0x52ed58(0x17d)](_0x52ed58(0x130))||_0x4eabeb[_0x52ed58(0xa6)][_0x52ed58(0x17d)](_0x52ed58(0xb8));}(_0xe527be))throw _0xe527be;});},this[_0xed7d6e(0xcf)]));}[_0x517f36(0x8e)](){return new Promise(_0x15b403=>{const _0x553886=_0x10bf;this['on'](_0x553886(0x9a),()=>{_0x15b403();});});}async[_0x517f36(0x141)](){const _0xd1e58b=_0x517f36,_0x508700=this[_0xd1e58b(0xa4)][_0xd1e58b(0xbf)][_0xd1e58b(0x8f)](_0x52a180);if(this[_0xd1e58b(0xd1)]()&&(_0x508700[_0xd1e58b(0x92)](),this[_0xd1e58b(0x15e)]=!0x1),!this[_0xd1e58b(0x14a)]())return!0x0;const _0x50f1ee=[...this[_0xd1e58b(0xda)]];for(const _0x5b430b of _0x50f1ee)_0x5b430b[_0xd1e58b(0x135)]=this[_0xd1e58b(0x155)][_0xd1e58b(0x122)][_0xd1e58b(0x165)](_0x5b430b);const _0x508b9f=this[_0xd1e58b(0xc2)][_0xd1e58b(0x114)](_0x50f1ee),_0xc35e5d=K++,_0x23f407=this[_0xd1e58b(0xd7)](_0x50f1ee),_0x2c34d7=await this[_0xd1e58b(0x93)][_0xd1e58b(0x143)](_0x23f407,_0x23f407[_0xd1e58b(0x111)],_0x508b9f);try{return await this[_0xd1e58b(0x117)](_0x50f1ee,_0x2c34d7,_0xc35e5d);}catch(_0x3f936c){return this[_0xd1e58b(0x15d)](_0xd1e58b(0xdb),_0x3f936c);}}async[_0x517f36(0x117)](_0x58b56f,_0x141e17,_0x1802fa){const _0x4a2b5e=_0x517f36;if(_0x4a2b5e(0x144)in _0x141e17)throw _0x141e17[_0x4a2b5e(0x144)];let _0x519222=!0x1;if(_0x141e17[_0x4a2b5e(0x8c)]){_0x141e17[_0x4a2b5e(0xe5)]&&(this[_0x4a2b5e(0x100)]=_0x141e17[_0x4a2b5e(0xe5)]),this[_0x4a2b5e(0xda)]=this[_0x4a2b5e(0xda)][_0x4a2b5e(0xd8)](_0x4078fe=>!_0x58b56f[_0x4a2b5e(0x184)](_0x4078fe));for(const _0x92e869 of _0x58b56f)_0x92e869[_0x4a2b5e(0x182)]=_0x4a2b5e(0x118)in _0x141e17&&_0x141e17[_0x4a2b5e(0x118)]||void 0x0;Q(_0x58b56f,_0x141e17[_0x4a2b5e(0xc7)]-_0x58b56f[_0x4a2b5e(0x12d)]),this[_0x4a2b5e(0xe4)](_0x58b56f);const _0x8111d4=_0x58b56f[_0x4a2b5e(0xd8)](_0x2c8223=>{const _0x449eb3=_0x4a2b5e;if(!_0x2c8223[_0x449eb3(0x160)])return!0x1;const _0x13e7f5=this[_0x449eb3(0x127)](_0x2c8223);return _0x13e7f5&&!this[_0x449eb3(0xb3)][_0x449eb3(0xf9)](_0x13e7f5);});Q(_0x8111d4,this[_0x4a2b5e(0x155)][_0x4a2b5e(0xc7)]),this[_0x4a2b5e(0x133)](_0x8111d4),_0x519222=!0x0,this[_0x4a2b5e(0xcf)]=this[_0x4a2b5e(0xee)];}else{const _0xbfcb60=this[_0x4a2b5e(0xe7)](_0x141e17[_0x4a2b5e(0xac)],_0x141e17[_0x4a2b5e(0x134)])[_0x4a2b5e(0xd8)](_0xe71b68=>_0xe71b68[_0x4a2b5e(0x111)]>=this[_0x4a2b5e(0xd0)]);_0xbfcb60[_0x4a2b5e(0x150)](_0x2ce187=>this[_0x4a2b5e(0x15b)](_0x2ce187)),this[_0x4a2b5e(0xda)]=this[_0x4a2b5e(0xda)][_0x4a2b5e(0xd8)](_0x5719fd=>!_0x5719fd[_0x4a2b5e(0x160)]||!this[_0x4a2b5e(0xb3)][_0x4a2b5e(0xf9)](this[_0x4a2b5e(0x127)](_0x5719fd))),this[_0x4a2b5e(0xda)][_0x4a2b5e(0x12d)]&&Q(this[_0x4a2b5e(0xda)],this[_0x4a2b5e(0xda)][0x0][_0x4a2b5e(0x111)]),await this[_0x4a2b5e(0xf3)](_0xbfcb60),_0x519222=this[_0x4a2b5e(0x168)](_0xbfcb60,_0x141e17[_0x4a2b5e(0xc7)],_0x141e17[_0x4a2b5e(0xe5)]),this[_0x4a2b5e(0xcf)]=Math[_0x4a2b5e(0xa3)](this[_0x4a2b5e(0xcf)]/0x2);}return _0x519222?!this[_0x4a2b5e(0x14a)]()||(this[_0x4a2b5e(0x103)](!0x0),!0x1):this[_0x4a2b5e(0x15d)](_0x4a2b5e(0x82));}[_0x517f36(0x168)](_0x4c5a1d,_0xb6120d,_0x5729d3){const _0xd6de4f=_0x517f36;try{const _0x3c469c={'document':this[_0xd6de4f(0x155)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2627b0,operationsB:_0x52b876,originalOperations:_0x109c7e}=_0x291ece(_0x4c5a1d,this[_0xd6de4f(0xda)],_0x3c469c);Q(_0x2627b0,this[_0xd6de4f(0x155)][_0xd6de4f(0xc7)]),Q(_0x52b876,_0xb6120d);for(const _0x3196a1 of _0x2627b0){const _0x4da741=_0x109c7e[_0xd6de4f(0x8f)](_0x3196a1);_0x3196a1[_0xd6de4f(0xc4)]=_0x4da741?_0x4da741[_0xd6de4f(0xc4)]:null;}_0x5729d3&&(this[_0xd6de4f(0xc2)][_0xd6de4f(0x11c)](_0x4c5a1d,_0x5729d3),this[_0xd6de4f(0x100)]=_0x5729d3),this[_0xd6de4f(0xda)]=[..._0x52b876],this[_0xd6de4f(0x133)](_0x2627b0),this[_0xd6de4f(0xe4)](_0x4c5a1d);}catch(_0xa41692){return console[_0xd6de4f(0x144)](_0xa41692),!0x1;}return!0x0;}[_0x517f36(0x133)](_0x434124,_0x55d3cb=!0x1){const _0x5d6ec6=_0x517f36;this[_0x5d6ec6(0xa4)][_0x5d6ec6(0xde)][_0x5d6ec6(0x13d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2126aa=>{const _0x26d1d4=_0x5d6ec6;for(const _0xe97378 of _0x434124)this[_0x26d1d4(0x176)][_0x26d1d4(0x81)](_0xe97378),this[_0x26d1d4(0x15b)](_0xe97378),_0x2126aa[_0x26d1d4(0xff)][_0x26d1d4(0xe0)](_0xe97378),this[_0x26d1d4(0xa4)][_0x26d1d4(0xde)][_0x26d1d4(0xd9)](_0xe97378);});}[_0x517f36(0x15b)](_0x4ba2cc){const _0x3cde41=_0x517f36,_0x3ac412=this[_0x3cde41(0x127)](_0x4ba2cc);_0x3ac412&&this[_0x3cde41(0xb3)][_0x3cde41(0x81)](_0x3ac412);}[_0x517f36(0x127)](_0x483a8d){const _0x3d438e=_0x517f36;let _0x145e16,_0x26ebf7;switch(_0x483a8d[_0x3d438e(0x17f)]){case _0x3d438e(0x178):_0x145e16=_0x483a8d[_0x3d438e(0x120)][_0x3d438e(0xd4)];break;case _0x3d438e(0x124):if(_0x26ebf7=_0x483a8d[_0x3d438e(0xd6)],!_0x26ebf7)return null;_0x145e16=_0x26ebf7[_0x3d438e(0xd4)];break;case _0x3d438e(0x159):_0x145e16=_0x483a8d[_0x3d438e(0xd4)];break;case _0x3d438e(0xbd):_0x145e16=_0x483a8d[_0x3d438e(0x153)];break;case _0x3d438e(0x98):_0x145e16=_0x483a8d[_0x3d438e(0xa0)][_0x3d438e(0xd4)];break;default:return null;}return _0x145e16[_0x3d438e(0xbb)];}[_0x517f36(0xe4)](_0x28650c){const _0x6b8446=_0x517f36;_0x28650c[_0x6b8446(0x150)](_0x4cac41=>{const _0x1b3572=_0x6b8446,_0x5f50da=_0x4cac41[_0x1b3572(0x14c)]();_0x5f50da[_0x1b3572(0xc4)]=_0x4cac41[_0x1b3572(0xc4)],_0x5f50da[_0x1b3572(0x160)]=!!_0x4cac41[_0x1b3572(0x160)],_0x5f50da[_0x1b3572(0x182)]=_0x4cac41[_0x1b3572(0x182)],_0x5f50da[_0x1b3572(0x111)]+=this[_0x1b3572(0x16d)],_0x4cac41[_0x1b3572(0x11d)]&&this[_0x1b3572(0x132)][_0x1b3572(0x81)](_0x5f50da),this[_0x1b3572(0x167)][_0x1b3572(0xe0)](_0x5f50da);});}[_0x517f36(0x91)](_0x1bc8b0){const _0x17279c=_0x517f36,_0x1b16a1=this[_0x17279c(0xa4)][_0x17279c(0xbf)][_0x17279c(0x8f)](_0x17279c(0xae)),_0x4f5d11=this[_0x17279c(0xa4)][_0x17279c(0x8d)];_0x1bc8b0||(_0x1bc8b0=_0x4e9508(_0x4f5d11,_0x17279c(0x171))),_0x1b16a1[_0x17279c(0xcb)](_0x1bc8b0,{'title':_0x4e9508(_0x4f5d11,_0x17279c(0x8b)),'namespace':_0x17279c(0xf5)}),this[_0x17279c(0x9c)]=!0x0,clearTimeout(this[_0x17279c(0x128)]),this[_0x17279c(0xda)]=[],this[_0x17279c(0xa4)][_0x17279c(0xbf)][_0x17279c(0x8f)](_0x3da96e)[_0x17279c(0x112)]();}[_0x517f36(0x94)](){const _0x4f4f09=_0x517f36;this[_0x4f4f09(0xb4)]||(this[_0x4f4f09(0xb4)]=this[_0x4f4f09(0xa4)][_0x4f4f09(0xbf)][_0x4f4f09(0x8f)](_0x5f8e75)[_0x4f4f09(0x81)](_0x4e9508(this[_0x4f4f09(0xa4)][_0x4f4f09(0x8d)],_0x4f4f09(0x169))));}[_0x517f36(0x154)](){const _0x3bdacb=_0x517f36;this[_0x3bdacb(0xb4)]&&(this[_0x3bdacb(0xa4)][_0x3bdacb(0xbf)][_0x3bdacb(0x8f)](_0x5f8e75)[_0x3bdacb(0xcc)](this[_0x3bdacb(0xb4)]),this[_0x3bdacb(0xb4)]=null);}[_0x517f36(0xd7)](_0x4b4a0c){const _0x3e34f4=_0x517f36,_0x3e77c1=_0x4b4a0c[_0x3e34f4(0xb7)](_0x5d8369=>_0x5d8369[_0x3e34f4(0xb6)]());return this[_0x3e34f4(0xf6)][_0x3e34f4(0x13f)](_0x3e77c1);}[_0x517f36(0xe7)](_0xcb9d9b,_0x143c5b){const _0x1a2b32=_0x517f36;return this[_0x1a2b32(0xf6)][_0x1a2b32(0xf7)](_0xcb9d9b)[_0x1a2b32(0xb7)]((_0x1bd7c8,_0x29ef39)=>{const _0x396839=_0x1a2b32,_0x3e9650=_0x396839(0xba)==_0x143c5b[_0x29ef39][_0x396839(0x17f)];if(_0x396839(0x110)==_0x1bd7c8[_0x396839(0x121)]){const _0x23bc57=_0x1bd7c8[_0x396839(0x120)][_0x396839(0xd4)];!this[_0x396839(0x155)][_0x396839(0xa8)](_0x23bc57)&&(this[_0x396839(0x155)][_0x396839(0xa9)](_0x396839(0x85),_0x23bc57)[_0x396839(0xa7)]=!0x1);}const _0x2530e4=_0xdd7db5[_0x396839(0xc1)](_0x1bd7c8,this[_0x396839(0x155)]);return _0x2530e4[_0x396839(0x135)]=_0x1bd7c8[_0x396839(0x135)],_0x2530e4[_0x396839(0x160)]=_0x3e9650,_0x2530e4[_0x396839(0xc4)]=_0x3e9650?null:_0x143c5b[_0x29ef39][_0x396839(0x106)],_0x2530e4[_0x396839(0x11d)]=_0x396839(0x87)===_0x143c5b[_0x29ef39][_0x396839(0x17f)],_0x2530e4[_0x396839(0x182)]=_0x143c5b[_0x29ef39][_0x396839(0x182)],_0x2530e4;});}[_0x517f36(0x116)](){const _0x586c60=_0x517f36;this[_0x586c60(0x15e)]=!0x0,this[_0x586c60(0xd1)]()?this[_0x586c60(0x103)]():this[_0x586c60(0x15e)]=!0x1;}[_0x517f36(0xd1)](){const _0x5bc05f=_0x517f36,_0x230448=this[_0x5bc05f(0xa4)][_0x5bc05f(0xbf)][_0x5bc05f(0x8f)](_0x66e81a)[_0x5bc05f(0xcd)][_0x5bc05f(0x8f)](this[_0x5bc05f(0x9f)]);return!this[_0x5bc05f(0xa4)][_0x5bc05f(0xd3)]&&!!_0x230448&&_0x230448[_0x5bc05f(0x12d)]>0x1&&this[_0x5bc05f(0x15e)];}[_0x517f36(0x14a)](){const _0x2d85dd=_0x517f36;return this[_0x2d85dd(0xda)][_0x2d85dd(0x12d)]>0x0||this[_0x2d85dd(0xd1)]();}}l[_0x517f36(0x170)]=_0x4fc1ae;export default l;class J extends Error{}function Q(_0x111762,_0x5620f3){const _0x1bce51=_0x517f36;for(const _0x20a9c3 of _0x111762)_0x20a9c3[_0x1bce51(0x111)]=_0x5620f3++;}class X{constructor(_0x56d60b){const _0x3b90a8=_0x517f36;this[_0x3b90a8(0xf8)]=_0x56d60b,this[_0x3b90a8(0x15c)]=new WeakMap();}[_0x517f36(0x114)](_0x2a3a9e){const _0x5a237a=_0x517f36;let _0x31b0f5=_0x2a3a9e[_0x5a237a(0x12d)];for(;_0x31b0f5--;){const _0x8d1969=_0x2a3a9e[_0x31b0f5];if(!this[_0x5a237a(0xf8)][_0x5a237a(0xf9)](_0x8d1969)){if(!this[_0x5a237a(0x15c)][_0x5a237a(0xf9)](_0x8d1969)){const _0x2e7d34=_0x20be7d()[_0x5a237a(0xc9)](0x1,0x12);this[_0x5a237a(0x15c)][_0x5a237a(0xad)](_0x8d1969,_0x2e7d34);}return this[_0x5a237a(0x15c)][_0x5a237a(0x8f)](_0x8d1969);}}}[_0x517f36(0x11c)](_0x254bb0,_0x18415a){const _0x2fea9a=_0x517f36;if(!_0x18415a)return;let _0x23800e=_0x254bb0[_0x2fea9a(0x12d)];for(;_0x23800e--;){const _0x1179e9=_0x254bb0[_0x23800e];this[_0x2fea9a(0xf8)][_0x2fea9a(0xf9)](_0x1179e9)||this[_0x2fea9a(0x15c)][_0x2fea9a(0xad)](_0x1179e9,_0x18415a);}}}
|
|
23
|
+
const _0x475805=_0x6a62;(function(_0x13fc45,_0x135ccc){const _0x1c4a21=_0x6a62,_0x19bd8a=_0x13fc45();while(!![]){try{const _0xb30667=-parseInt(_0x1c4a21(0x15d))/0x1+parseInt(_0x1c4a21(0x1a0))/0x2*(parseInt(_0x1c4a21(0x1de))/0x3)+-parseInt(_0x1c4a21(0x198))/0x4*(-parseInt(_0x1c4a21(0x126))/0x5)+parseInt(_0x1c4a21(0x1d4))/0x6+-parseInt(_0x1c4a21(0x196))/0x7+parseInt(_0x1c4a21(0x195))/0x8+parseInt(_0x1c4a21(0x186))/0x9*(-parseInt(_0x1c4a21(0x182))/0xa);if(_0xb30667===_0x135ccc)break;else _0x19bd8a['push'](_0x19bd8a['shift']());}catch(_0x3e5f1f){_0x19bd8a['push'](_0x19bd8a['shift']());}}}(_0x1bc7,0xf299a));import{Plugin as _0x3c2e6d,PendingActions as _0x534ad9}from'ckeditor5/src/core.js';import{CKEditorError as _0x55b7af,version as _0x3948ae,uid as _0x3b55c5}from'ckeditor5/src/utils.js';import{Notification as _0x7199d}from'ckeditor5/src/ui.js';import{transformSets as _0x1ddcd5,NoOperation as _0x47b2ca,InsertOperation as _0x953674,MarkerOperation as _0x352f2f,RootAttributeOperation as _0x2aaeca,OperationFactory as _0x40dea2,History as _0x31bbcf}from'ckeditor5/src/engine.js';import _0x360259 from'./websocketgateway.js';import _0x3c63bd from'./sessions.js';import _0x13b07e from'./usermarkers.js';import{getTranslation as _0x10faaf}from'../common-translations.js';import{Compressor as _0x4d20b3}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4f4e43}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1bc7(){const _0x81f8a7=['addToReconnectionStack','_operationToId','_saveOperationInBuffer','14687952bxhLCP','10430679hgCyZj','_bufferedOperations','7436248IAerWV','lastOperationId','_hasSelectionChanged','version','size','collaboration-missing-channelid','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.','suppressErrorInCollaboration','370346AxYAAq','_fetchMissingUsers','_crash','roots','createRoot','_connectAfterSessionHasBeenFlushed','mySessionId','_isDisconnection','end','_shouldSendSelectionUpdate','directChange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','lastDocumentSession','stop','realtimecollaborationclient-sendbufferedoperations','_isConnected','_sendBufferedOperationsDelayed','realtimecollaborationclient-initservice-internal-error','requires','_operationIdentifier','getOperations','loadRoot','connect','showWarning','attributes','filter','multi-root-editor-root-attributes-no-root','_lastSyncedOperationId','history','off','reset','disconnected','collaboration','isEnabled','editing','string','stopListening','Permissions','change:_isEditingAllowed','getDocumentDetails','isReadOnly','disconnect','cloud-services-internal-error:\x20Not\x20connected.','_compressOperations','getMany','ready','forEach','createUserMarkerOperations','then','_handleExternalOperations','type','compress','10333818rmIGGS','rootsAttributes','setIdForTheLastOperation','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.','realtimecollaborationclient-init-non-existent-root','root','startsWith','catch','rtc-offline','_authorId','6rdAjgX','_getOperationsFromInitData','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','real-time-collaboration','reconnection:\x20flushed\x20session','return','CollaborativeEditingService','message','rootName','Notification','offset','toJSON','keys','realtimecollaborationclient-init-session-connection-error','404','listenTo','_knownRootNames','baseVersion','cs:removeUser','state','_sendBufferedOperations','channelSessions','createPositionAt','targetPosition','_sendBufferedOperationsDelayId','getUser','removeFromReconnectionStack','cloudServices.bundleVersion','_ignoredOperations','length','fire','round','change:range','_channelId','destroy','_isEditingAllowed','change:_isPendingUpdate','RealTimeCollaborationClient','_document','document','currentDocumentSession','_service','sendOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_refreshUserSelectionMarkers','enqueueChange','code','409','metadata','connected','_handleServerResponse','move','_baseBufferDelay','operationsReceived','view','lastOperationAcceptedAt','markers','change:hasDomSelection','define','setPermissions','register','reconnect','add','_handleSendingSelectionMarkers','finally','_addKnownRoot','connection','_bufferRootLoad','error','marker','sessionCreatedAt','plugins','remove','batch','5anacZI','enableReadOnlyMode','realtimecollaborationclient-init-connection-failed','disableReadOnlyMode','_shouldSendUpdate','addRoot','editor','cloud-services-internal-error:\x20Request\x20timeout.','getRoot','lastSyncVersion','high','initData','start','config','_clearPendingAction','_isAttached','_handleReceivedOperations','wasUndone','affectsData','position','realtimecollaborationclient-init-document-already-initialized','_waitUntilSynced','_initThrowingOnDataSet','_initSessionsHandling','_offset','insert','document:write','_disconnectService','includes','sessionId','isUndoneOperation','data','cloudDocumentVersion','entries','_loadRoot','createRange','has','getConnectedSessions','_getAffectedRoot','from','createdAt','_knownOperations','applyOperation','unregister','sessionAdd:','_applyOperationsSet','collaboration.channelId','_decompressOperations','$root','InsertOperation','userId','_updateServerHistory','differ','getOperationAuthor','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','798786uthCCf','model','_disconnectionOperations','slice','clone','_handleReconnectionError','_handleReconnectionResponse','__className','_handleInitialConnectionData','_compressor','createPositionFromPath','CommentsOnly','_setPendingAction','serverHistory','PENDING_ACTION_SENDING_DATA','get','_isPendingUpdate','getIdOfTheLastOperation','newRange','_connectService','_pendingAction','_currentBufferDelay','apply','init','selection','pluginName','_setUpDataInit','_lastServerVersion','realtimecollaborationclient-handleserverresponse','set','_isInit','fromJSON','decompress','wereChangesApplied','affectedSelectable','addOperation','_isLoaded','8350440aJYPCO','parse','_hasSynchronizationProblem','Synchronization\x20issue','27MAkGBm','rtc-destroyed','locale','addUser','map','isDocumentOperation','path','addRootAttribute','push','permissions','realtimecollaborationclient-initservice-incorrect-server-operation','bind'];_0x1bc7=function(){return _0x81f8a7;};return _0x1bc7();}import{User as _0x18ff20,CollaborativeEditingService as _0x470d47}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x3c2e6d{static get[_0x475805(0x1b2)](){return[_0x360259,_0x3c63bd,_0x13b07e,_0x534ad9,_0x4f4e43,_0x7199d];}static get[_0x475805(0x176)](){const _0x27c311=_0x475805;return _0x27c311(0x203);}get[_0x475805(0x146)](){const _0x5a48c1=_0x475805;return this[_0x5a48c1(0x178)]+this[_0x5a48c1(0x13e)];}get[_0x475805(0x178)](){const _0x9394e=_0x475805;return this[_0x9394e(0x16a)][_0x9394e(0x19b)]-this[_0x9394e(0x13e)];}get[_0x475805(0x12f)](){const _0x450b18=_0x475805,_0x3975fe=this[_0x450b18(0x16a)][_0x450b18(0x1b4)]();for(let _0x4c7838=_0x3975fe[_0x450b18(0x1fb)]-0x1;_0x4c7838>=0x0;_0x4c7838--){const _0x3f3bac=_0x3975fe[_0x4c7838];if(!this[_0x450b18(0x15f)][_0x450b18(0x14a)](_0x3f3bac))return _0x3f3bac[_0x450b18(0x1ef)]+0x1-this[_0x450b18(0x13e)];}return 0x0;}constructor(_0x40c921){const _0x170df9=_0x475805;if(super(_0x40c921),this[_0x170df9(0x13e)]=0x0,this[_0x170df9(0x143)]=null,this[_0x170df9(0x16a)]=new _0x31bbcf(),this[_0x170df9(0x12c)][_0x170df9(0x133)][_0x170df9(0x218)](_0x170df9(0x1c0),{}),this[_0x170df9(0x1ff)]=this[_0x170df9(0x12c)][_0x170df9(0x133)][_0x170df9(0x16c)](_0x170df9(0x154)),!this[_0x170df9(0x1ff)])throw new _0x55b7af(_0x170df9(0x19d),this);const _0x2be4d4=_0x40c921[_0x170df9(0x133)][_0x170df9(0x16c)](_0x170df9(0x1f9))||_0x3948ae;this[_0x170df9(0x207)]=new l[(_0x170df9(0x1e4))](_0x2be4d4,this[_0x170df9(0x1ff)]),this[_0x170df9(0x204)]=this[_0x170df9(0x12c)][_0x170df9(0x15e)][_0x170df9(0x205)],this[_0x170df9(0x166)]=new _0x4d20b3(),this[_0x170df9(0x197)]=[],this[_0x170df9(0x14f)]=new WeakSet(),this[_0x170df9(0x1ee)]=new Set(),this[_0x170df9(0x17a)](_0x170df9(0x16d),!0x1),this[_0x170df9(0x17a)](_0x170df9(0x184),!0x1),this[_0x170df9(0x171)]=null,this[_0x170df9(0x19a)]=!0x1,this[_0x170df9(0x1f6)]=null,this[_0x170df9(0x212)]=0x12c,this[_0x170df9(0x172)]=this[_0x170df9(0x212)],this[_0x170df9(0x1bb)]=null,this[_0x170df9(0x15f)]=new WeakSet(),this[_0x170df9(0x1b3)]=new X(this[_0x170df9(0x15f)]);}[_0x475805(0x174)](){const _0x4c2205=_0x475805,_0x5a9cfd=this[_0x4c2205(0x12c)],_0x51c9c7=_0x5a9cfd[_0x4c2205(0x225)][_0x4c2205(0x16c)](_0x4f4e43),_0x1c7f89=_0x5a9cfd[_0x4c2205(0x225)][_0x4c2205(0x16c)](_0x360259);this[_0x4c2205(0x1ed)](_0x51c9c7,_0x4c2205(0x15b),(_0x5957db,_0x1c9052)=>{const _0x367135=_0x4c2205,_0x5920b2=_0x1c9052[0x0];_0x5920b2[_0x367135(0x1dd)]&&(_0x5957db[_0x367135(0x1e3)]=_0x51c9c7[_0x367135(0x1f7)](_0x5920b2[_0x367135(0x1dd)]),_0x5957db[_0x367135(0x1ad)]()),null===_0x5920b2[_0x367135(0x1dd)]&&(_0x5957db[_0x367135(0x1e3)]=null,_0x5957db[_0x367135(0x1ad)]());},{'priority':_0x4c2205(0x130)}),this[_0x4c2205(0x1ed)](_0x5a9cfd[_0x4c2205(0x15e)][_0x4c2205(0x205)][_0x4c2205(0x175)],_0x4c2205(0x1fe),(_0x3ffb10,_0x2e4a9a)=>{const _0x4cbbc8=_0x4c2205;_0x2e4a9a[_0x4cbbc8(0x1aa)]&&this[_0x4cbbc8(0x20a)]();}),this[_0x4c2205(0x1ed)](_0x5a9cfd[_0x4c2205(0x1c2)][_0x4c2205(0x214)],_0x4c2205(0x217),()=>{const _0x3fe8a9=_0x4c2205;this[_0x3fe8a9(0x20a)]();}),this[_0x4c2205(0x13c)](),_0x5a9cfd[_0x4c2205(0x15e)]['on'](_0x4c2205(0x150),(_0x218edd,_0x157ce3)=>{const _0x49f08c=_0x4c2205,_0x3ad3c7=_0x157ce3[0x0];_0x3ad3c7[_0x49f08c(0x18b)]&&(this[_0x49f08c(0x194)](_0x3ad3c7),this[_0x49f08c(0x12a)]()&&this[_0x49f08c(0x1b0)]());}),this[_0x4c2205(0x177)](),this[_0x4c2205(0x191)](_0x4c2205(0x201))['to'](_0x1c7f89,_0x4c2205(0x1f1),this,_0x4c2205(0x184),(_0x107ff0,_0x5b3df3)=>_0x4c2205(0x20f)===_0x107ff0&&!_0x5b3df3),this['on'](_0x4c2205(0x1c6),()=>{const _0x52b9c4=_0x4c2205;this[_0x52b9c4(0x201)]?_0x5a9cfd[_0x52b9c4(0x129)](_0x52b9c4(0x1dc)):_0x5a9cfd[_0x52b9c4(0x127)](_0x52b9c4(0x1dc));}),this[_0x4c2205(0x201)]?_0x5a9cfd[_0x4c2205(0x129)](_0x4c2205(0x1dc)):_0x5a9cfd[_0x4c2205(0x127)](_0x4c2205(0x1dc)),this[_0x4c2205(0x17a)](_0x4c2205(0x1af),!0x1);}async[_0x475805(0x21b)](){const _0xf52598=_0x475805,_0x293187=this[_0xf52598(0x12c)][_0xf52598(0x225)][_0xf52598(0x16c)](_0x3c63bd),_0x189069=this[_0xf52598(0x12c)][_0xf52598(0x225)][_0xf52598(0x16c)](_0x360259);try{this[_0xf52598(0x16d)]=!0x0,_0x293187[_0xf52598(0x151)](this[_0xf52598(0x1ff)]);const _0x12c74c=await this[_0xf52598(0x207)][_0xf52598(0x21b)](_0x189069[_0xf52598(0x220)],this[_0xf52598(0x12f)]);await this[_0xf52598(0x163)](_0x12c74c)&&(this[_0xf52598(0x16d)]=!0x1,this[_0xf52598(0x134)]());const _0x989f26=await this[_0xf52598(0x207)][_0xf52598(0x14b)]();_0x293187[_0xf52598(0x21a)](this[_0xf52598(0x1ff)],_0x989f26),this[_0xf52598(0x21d)](),this[_0xf52598(0x1af)]=!0x0;}catch(_0x5030a8){if(function(_0x49d499){const _0x1ae43d=_0xf52598;return _0x1ae43d(0x1ec)===_0x49d499[_0x1ae43d(0x20c)];}(_0x5030a8)&&this[_0xf52598(0x143)])await this[_0xf52598(0x1a5)]();else{if(function(_0x64f95e){const _0x3e91db=_0xf52598;return _0x3e91db(0x20d)===_0x64f95e[_0x3e91db(0x20c)];}(_0x5030a8)){const _0x1e0e42=_0x10faaf(this[_0xf52598(0x12c)][_0xf52598(0x188)],_0xf52598(0x209));this[_0xf52598(0x162)](_0x1e0e42);}else{if(!(_0x5030a8 instanceof J))throw _0x5030a8;this[_0xf52598(0x162)]();}}}}[_0x475805(0x200)](){const _0x5e5ead=_0x475805,_0x26f4e7=this[_0x5e5ead(0x12c)][_0x5e5ead(0x225)][_0x5e5ead(0x16c)](_0x360259),_0x4eb4f3=this[_0x5e5ead(0x12c)][_0x5e5ead(0x225)][_0x5e5ead(0x16c)](_0x3c63bd);this[_0x5e5ead(0x12c)][_0x5e5ead(0x127)](_0x5e5ead(0x187)),_0x4eb4f3[_0x5e5ead(0x1f3)][_0x5e5ead(0x14a)](this[_0x5e5ead(0x1ff)])&&_0x4eb4f3[_0x5e5ead(0x151)](this[_0x5e5ead(0x1ff)]),_0x26f4e7[_0x5e5ead(0x1f8)](this),this[_0x5e5ead(0x141)](),super[_0x5e5ead(0x200)]();}async[_0x475805(0x163)](_0x38459a){const _0xa6b6f=_0x475805;if(this[_0xa6b6f(0x143)]!==_0x38459a[_0xa6b6f(0x143)]&&this[_0xa6b6f(0x1bb)]!==_0x38459a[_0xa6b6f(0x199)])throw new J();return this[_0xa6b6f(0x143)]=_0x38459a[_0xa6b6f(0x143)],this[_0xa6b6f(0x210)]([],{..._0x38459a,'wereChangesApplied':!0x1,'data':_0x38459a[_0xa6b6f(0x145)]},_0xa6b6f(0x21b));}async[_0x475805(0x170)](_0x492b39,_0xa782c6=!0x1){const _0x353eda=_0x475805,{connection:_0xdc0f3e}=this[_0x353eda(0x12c)][_0x353eda(0x225)][_0x353eda(0x16c)](_0x360259);l[_0x353eda(0x1e4)][_0x353eda(0x14b)](_0xdc0f3e,this[_0x353eda(0x1ff)])[_0x353eda(0x1d0)](_0x1c54c4=>this[_0x353eda(0x13d)](_0x1c54c4))[_0x353eda(0x1db)](_0x517447=>{const _0xa00e98=_0x353eda;this[_0xa00e98(0x1a2)](_0xa00e98(0x1eb),_0x517447);}),this[_0x353eda(0x1ed)](this[_0x353eda(0x207)],_0x353eda(0x213),this[_0x353eda(0x136)][_0x353eda(0x191)](this)),this[_0x353eda(0x1ed)](this[_0x353eda(0x207)],_0x353eda(0x222),(_0x3ab45d,_0x3530e6)=>{const _0x4cf406=_0x353eda;this[_0x4cf406(0x1a2)](_0x4cf406(0x1b1),_0x3530e6);}),this[_0x353eda(0x1ed)](this[_0x353eda(0x207)],_0x353eda(0x1bf),()=>{const _0x5bd011=_0x353eda;this[_0x5bd011(0x1af)]=!0x1;});const _0x466eb7=this[_0x353eda(0x1b3)][_0x353eda(0x16e)](_0x492b39);this[_0x353eda(0x16d)]=!0x0;const _0x57d267=await this[_0x353eda(0x207)][_0x353eda(0x1b6)](_0xdc0f3e,this[_0x353eda(0x1cb)](_0x492b39),_0x466eb7);if(this[_0x353eda(0x143)]=_0x57d267[_0x353eda(0x143)],_0xa782c6){if(!_0x57d267[_0x353eda(0x17e)])return void this[_0x353eda(0x162)]();this[_0x353eda(0x16d)]=!0x1,this[_0x353eda(0x134)](),this[_0x353eda(0x16a)][_0x353eda(0x1be)](),this[_0x353eda(0x13e)]=_0x57d267[_0x353eda(0x1e8)],this[_0x353eda(0x16a)][_0x353eda(0x19b)]=this[_0x353eda(0x13e)],await this[_0x353eda(0x210)](_0x492b39,_0x57d267,_0x353eda(0x1e2));}else await this[_0x353eda(0x165)](_0x57d267,_0x492b39);this[_0x353eda(0x21d)](),this[_0x353eda(0x1af)]=!0x0;}[_0x475805(0x21d)](){const _0x18a2f0=_0x475805,_0x5f5d0b=this[_0x18a2f0(0x12c)][_0x18a2f0(0x225)][_0x18a2f0(0x16c)](_0x3c63bd),_0x39c91a=this[_0x18a2f0(0x12c)][_0x18a2f0(0x225)][_0x18a2f0(0x16c)](_0x13b07e),_0x35d125=_0x5f5d0b[_0x18a2f0(0x1f3)][_0x18a2f0(0x16c)](this[_0x18a2f0(0x1ff)]);_0x35d125&&_0x35d125[_0x18a2f0(0x1fb)]>0x1?_0x39c91a[_0x18a2f0(0x1cf)]():this[_0x18a2f0(0x1ed)](_0x5f5d0b,_0x18a2f0(0x152)+this[_0x18a2f0(0x1ff)],()=>{const _0x5cfc9b=_0x18a2f0;0x2===_0x5f5d0b[_0x5cfc9b(0x1f3)][_0x5cfc9b(0x16c)](this[_0x5cfc9b(0x1ff)])[_0x5cfc9b(0x1fb)]&&_0x39c91a[_0x5cfc9b(0x1cf)]();});}async[_0x475805(0x136)](_0x403f3c,_0x5c6539,_0x32066c,_0x6003fb){const _0x23073c=_0x475805;if(!this[_0x23073c(0x16d)]&&this[_0x23073c(0x204)][_0x23073c(0x19b)]==_0x5c6539){const _0x6ee5a8=this[_0x23073c(0x155)](_0x32066c,_0x6003fb);await this[_0x23073c(0x1a1)](_0x6ee5a8),this[_0x23073c(0x1d1)](_0x6ee5a8,_0x5c6539,_0x32066c[_0x23073c(0x199)])||this[_0x23073c(0x1a2)](_0x23073c(0x190));}}async[_0x475805(0x1a5)](){const _0x1330ff=_0x475805;this[_0x1330ff(0x141)]();const {locale:_0x26e539}=this[_0x1330ff(0x12c)];let _0x141996;try{_0x141996=await this[_0x1330ff(0x207)][_0x1330ff(0x1c7)]();}catch(_0x533a59){const _0x535324=_0x10faaf(_0x26e539,_0x1330ff(0x1e0));return void this[_0x1330ff(0x162)](_0x535324);}const _0x3428ff=_0x141996[_0x1330ff(0x206)]||_0x141996[_0x1330ff(0x1ac)];if(this[_0x1330ff(0x1bb)]===_0x3428ff[_0x1330ff(0x199)])await this[_0x1330ff(0x170)](this[_0x1330ff(0x12c)][_0x1330ff(0x15e)][_0x1330ff(0x205)][_0x1330ff(0x1bc)][_0x1330ff(0x1b4)](),!0x0);else{const _0x2204c8=_0x10faaf(_0x26e539,_0x1330ff(0x19e));this[_0x1330ff(0x162)](_0x2204c8);}}[_0x475805(0x141)](){const _0x680302=_0x475805;this[_0x680302(0x207)][_0x680302(0x1c9)](),this[_0x680302(0x197)]=[],clearTimeout(this[_0x680302(0x1f6)]),this[_0x680302(0x1c4)](this[_0x680302(0x207)]);}[_0x475805(0x13d)](_0x4ea2ba){const _0x38af46=_0x475805,_0x449547=this[_0x38af46(0x12c)][_0x38af46(0x225)][_0x38af46(0x16c)](_0x3c63bd);this[_0x38af46(0x1ed)](_0x449547,_0x38af46(0x152)+this[_0x38af46(0x1ff)],(_0x2bf666,{session:_0x54919e})=>{const _0xf641f=_0x38af46;if(_0x54919e['id']===_0x449547[_0xf641f(0x1a6)]){_0x2bf666[_0xf641f(0x1bd)]();const _0x4101b=this[_0xf641f(0x12c)][_0xf641f(0x225)][_0xf641f(0x14a)](_0xf641f(0x168))&&this[_0xf641f(0x12c)][_0xf641f(0x225)][_0xf641f(0x16c)](_0xf641f(0x168));let _0x324cf9=_0x54919e[_0xf641f(0x18f)];_0x4101b&&_0x4101b[_0xf641f(0x1c1)]&&(_0x324cf9=_0x324cf9[_0xf641f(0x1b9)](_0x47ac6f=>_0xf641f(0x140)!==_0x47ac6f)),this[_0xf641f(0x12c)][_0xf641f(0x225)][_0xf641f(0x16c)](_0xf641f(0x1c5))[_0xf641f(0x219)](_0x324cf9,this[_0xf641f(0x1ff)]);}}),_0x449547[_0x38af46(0x21a)](this[_0x38af46(0x1ff)],_0x4ea2ba);}[_0x475805(0x13c)](){const _0x49f417=_0x475805,_0x49ceb0=this[_0x49f417(0x12c)][_0x49f417(0x145)][_0x49f417(0x17a)];this[_0x49f417(0x12c)][_0x49f417(0x145)][_0x49f417(0x17a)]=(..._0x5909c3)=>{const _0x530f9d=_0x49f417;if(!_0x5909c3[_0x5909c3[_0x530f9d(0x1fb)]-0x1][_0x530f9d(0x19f)])throw new _0x55b7af(_0x530f9d(0x15c),this);_0x49ceb0[_0x530f9d(0x173)](this[_0x530f9d(0x12c)][_0x530f9d(0x145)],_0x5909c3);};}[_0x475805(0x177)](){const _0x45ce3f=_0x475805;this[_0x45ce3f(0x12c)][_0x45ce3f(0x145)]['on'](_0x45ce3f(0x174),(_0x55e7e5,[_0x4be6b3])=>{const _0x258298=_0x45ce3f;if(this[_0x258298(0x204)][_0x258298(0x19b)])throw new _0x55b7af(_0x258298(0x13a),this);_0x55e7e5[_0x258298(0x1ad)](),this[_0x258298(0x169)]();const _0xa7c8e3=this[_0x258298(0x12c)][_0x258298(0x133)][_0x258298(0x16c)](_0x258298(0x1d5)),_0x145e97=this[_0x258298(0x1df)](_0x4be6b3,_0xa7c8e3);0x0==_0x145e97[_0x258298(0x1fb)]&&_0x145e97[_0x258298(0x18e)](new _0x47b2ca(0x0)),_0x55e7e5[_0x258298(0x1e3)]=this[_0x258298(0x170)](_0x145e97)[_0x258298(0x1d0)](()=>{const _0x352bb2=_0x258298;this[_0x352bb2(0x12c)][_0x352bb2(0x225)][_0x352bb2(0x16c)](_0x360259)[_0x352bb2(0x192)](this),this[_0x352bb2(0x12c)][_0x352bb2(0x145)][_0x352bb2(0x1fc)](_0x352bb2(0x1cd));})[_0x258298(0x1db)](_0xaa1a75=>this[_0x258298(0x1a2)](_0x258298(0x128),_0xaa1a75))[_0x258298(0x21e)](()=>this[_0x258298(0x134)]());},{'priority':_0x45ce3f(0x130)}),this[_0x45ce3f(0x12c)]['on'](_0x45ce3f(0x1b5),async(_0x3cc030,[_0x376492,_0x20347f])=>{const _0x5d1782=_0x45ce3f;_0x3cc030[_0x5d1782(0x1ad)]();const _0x192c4=this[_0x5d1782(0x12c)][_0x5d1782(0x15e)][_0x5d1782(0x205)][_0x5d1782(0x12e)](_0x376492);if(!this[_0x5d1782(0x1ee)][_0x5d1782(0x14a)](_0x376492)){const _0x2397dd=_0x20347f&&_0x20347f[_0x5d1782(0x145)]?_0x20347f[_0x5d1782(0x145)]:'',_0x5cba35=_0x20347f&&_0x20347f[_0x5d1782(0x1b8)]?_0x20347f[_0x5d1782(0x1b8)]:{};await this[_0x5d1782(0x148)](_0x376492,_0x2397dd,_0x5cba35);}this[_0x5d1782(0x12c)][_0x5d1782(0x15e)][_0x5d1782(0x20b)]({'isUndoable':!0x1},()=>{const _0x325353=_0x5d1782;_0x192c4[_0x325353(0x181)]=!0x0,this[_0x325353(0x12c)][_0x325353(0x15e)][_0x325353(0x205)][_0x325353(0x15a)][_0x325353(0x221)](_0x192c4);});},{'priority':_0x45ce3f(0x130)});}async[_0x475805(0x1a1)](_0x58c32d){const _0x58db39=_0x475805,_0x41ded3=this[_0x58db39(0x12c)][_0x58db39(0x225)][_0x58db39(0x16c)](_0x4f4e43),{connection:_0x31cd75}=this[_0x58db39(0x12c)][_0x58db39(0x225)][_0x58db39(0x16c)](_0x360259),_0x14c4a4=new Set();for(const _0x4c0b42 of _0x58c32d){const _0xf4570=_0x4c0b42[_0x58db39(0x1dd)];_0xf4570&&!_0x41ded3[_0x58db39(0x1f7)](_0xf4570)&&_0x14c4a4[_0x58db39(0x21c)](_0xf4570);}if(0x0===_0x14c4a4[_0x58db39(0x19c)])return;const _0x3c96b9=await _0x18ff20[_0x58db39(0x1cc)](_0x31cd75,Array[_0x58db39(0x14d)](_0x14c4a4));for(const _0x2c7561 of _0x3c96b9)_0x41ded3[_0x58db39(0x1f7)](_0x2c7561['id'])||_0x41ded3[_0x58db39(0x189)](_0x2c7561);}[_0x475805(0x1df)](_0x2f80b8,_0x383c5c={}){const _0x34764d=_0x475805,_0x1e858c=this[_0x34764d(0x12c)][_0x34764d(0x15e)],_0x23eed6=[];let _0xbac270=0x0;const _0x397270=_0x34764d(0x1c3)==typeof _0x2f80b8?{'main':_0x2f80b8}:_0x2f80b8;for(const _0x2a3482 of Object[_0x34764d(0x1ea)](_0x397270)){if(!this[_0x34764d(0x204)][_0x34764d(0x1a3)][_0x34764d(0x14a)](_0x2a3482))throw new _0x55b7af(_0x34764d(0x1d8),this);const _0x424401=this[_0x34764d(0x12c)][_0x34764d(0x145)][_0x34764d(0x183)](_0x397270[_0x2a3482]),_0x1aeee4=this[_0x34764d(0x204)][_0x34764d(0x12e)](_0x2a3482),_0x32eea9=new _0x953674(_0x1e858c[_0x34764d(0x1f4)](_0x1aeee4,0x0),_0x424401,_0xbac270++);_0x23eed6[_0x34764d(0x18e)](_0x32eea9);for(const [_0x4f91e1,_0x3cdf2d]of _0x424401[_0x34764d(0x216)]){const _0x4021bc=_0x1e858c[_0x34764d(0x149)](_0x1e858c[_0x34764d(0x167)](_0x1aeee4,_0x3cdf2d[_0x34764d(0x132)][_0x34764d(0x18c)][_0x34764d(0x160)]()),_0x1e858c[_0x34764d(0x167)](_0x1aeee4,_0x3cdf2d[_0x34764d(0x1a8)][_0x34764d(0x18c)][_0x34764d(0x160)]())),_0x22af45=new _0x352f2f(_0x4f91e1,null,_0x4021bc,_0x1e858c[_0x34764d(0x216)],!0x0,_0xbac270++);_0x23eed6[_0x34764d(0x18e)](_0x22af45);}}if(_0x383c5c)for(const [_0x18697b,_0x517b2f]of Object[_0x34764d(0x147)](_0x383c5c)){const _0x376406=_0x1e858c[_0x34764d(0x205)][_0x34764d(0x12e)](_0x18697b);if(!_0x376406)throw new _0x55b7af(_0x34764d(0x1ba),null);for(const [_0x141588,_0xa13643]of Object[_0x34764d(0x147)](_0x517b2f))if(null!==_0xa13643){const _0x3ae3bd=new _0x2aaeca(_0x376406,_0x141588,null,_0xa13643,_0xbac270++);_0x23eed6[_0x34764d(0x18e)](_0x3ae3bd);}}return _0x23eed6;}async[_0x475805(0x148)](_0x2f339c,_0x9fe835,_0x383d3f){const _0x143fd0=_0x475805;this[_0x143fd0(0x1df)]({[_0x2f339c]:_0x9fe835},{[_0x2f339c]:_0x383d3f})[_0x143fd0(0x1ce)]((_0x5dc573,_0x183f03)=>{const _0x15c436=_0x143fd0;_0x5dc573[_0x15c436(0x1ef)]=this[_0x15c436(0x204)][_0x15c436(0x19b)]+_0x183f03,_0x5dc573[_0x15c436(0x17b)]=!0x0,this[_0x15c436(0x194)](_0x5dc573);}),this[_0x143fd0(0x1b0)](),await this[_0x143fd0(0x13b)]();}async[_0x475805(0x165)](_0x3ed8f8,_0x27c6a0){const _0x3709e4=_0x475805;let _0xeaf931;this[_0x3709e4(0x13e)]=_0x3ed8f8[_0x3709e4(0x1e8)];const _0x456628=_0x3ed8f8[_0x3709e4(0x17e)]&&!_0x3ed8f8[_0x3709e4(0x131)],_0x58c16e=_0x456628?0x0:_0x3ed8f8[_0x3709e4(0x145)][_0x3709e4(0x1ef)];if(_0x27c6a0[_0x3709e4(0x1ce)](_0x447e88=>{const _0x199531=_0x3709e4;_0x447e88[_0x199531(0x17b)]=!0x0,_0x447e88[_0x199531(0x14e)]=_0x3ed8f8[_0x199531(0x224)],_0x447e88[_0x199531(0x1dd)]=null;}),_0x456628)_0xeaf931=_0x27c6a0,this[_0x3709e4(0x153)](_0xeaf931,_0x456628);else{if(_0x3ed8f8[_0x3709e4(0x131)]){const _0x4ccfab=this[_0x3709e4(0x1df)](_0x3ed8f8[_0x3709e4(0x131)]);this[_0x3709e4(0x204)][_0x3709e4(0x1bc)][_0x3709e4(0x19b)]=-_0x4ccfab[_0x3709e4(0x1fb)],_0x4ccfab[_0x3709e4(0x1ce)](_0x13a240=>{const _0x4333be=_0x3709e4;_0x13a240[_0x4333be(0x1ef)]-=_0x4ccfab[_0x4333be(0x1fb)],_0x13a240[_0x4333be(0x14e)]=_0x3ed8f8[_0x4333be(0x224)],_0x13a240[_0x4333be(0x17b)]=!0x0,_0x13a240[_0x4333be(0x1dd)]=null;}),this[_0x3709e4(0x153)](_0x4ccfab,!0x0),this[_0x3709e4(0x16a)][_0x3709e4(0x19b)]=-_0x4ccfab[_0x3709e4(0x1fb)]+this[_0x3709e4(0x13e)],this[_0x3709e4(0x159)](_0x4ccfab);}this[_0x3709e4(0x204)][_0x3709e4(0x1bc)][_0x3709e4(0x19b)]=_0x58c16e,_0xeaf931=this[_0x3709e4(0x155)](_0x3ed8f8[_0x3709e4(0x145)],_0x3ed8f8[_0x3709e4(0x20e)]),await this[_0x3709e4(0x1a1)](_0xeaf931),this[_0x3709e4(0x153)](_0xeaf931,_0x456628);}_0x3ed8f8[_0x3709e4(0x199)]&&(this[_0x3709e4(0x1b3)][_0x3709e4(0x1d6)](_0xeaf931,_0x3ed8f8[_0x3709e4(0x199)]),this[_0x3709e4(0x1bb)]=_0x3ed8f8[_0x3709e4(0x199)]),this[_0x3709e4(0x16a)][_0x3709e4(0x19b)]=_0x58c16e+this[_0x3709e4(0x13e)],this[_0x3709e4(0x159)](_0xeaf931),_0x27c6a0[_0x3709e4(0x1b9)](_0x5f3ff5=>{const _0x143e65=_0x3709e4,_0x371b36=this[_0x143e65(0x14c)](_0x5f3ff5);return _0x371b36&&!this[_0x143e65(0x1ee)][_0x143e65(0x14a)](_0x371b36);})[_0x3709e4(0x1ce)]((_0x2561b5,_0x560dfb)=>{const _0x3fc376=_0x3709e4;_0x2561b5[_0x3fc376(0x1ef)]=this[_0x3fc376(0x204)][_0x3fc376(0x19b)]+_0x560dfb,this[_0x3fc376(0x194)](_0x2561b5);}),this[_0x3709e4(0x12a)]()?(this[_0x3709e4(0x172)]=0x0,this[_0x3709e4(0x1b0)](!0x0),await this[_0x3709e4(0x13b)]()):(this[_0x3709e4(0x16d)]=!0x1,this[_0x3709e4(0x134)]());}[_0x475805(0x1a2)](_0x2b1ec1,_0x5d676c){const _0x36eaae=_0x475805;throw this[_0x36eaae(0x16d)]=!0x0,_0x5d676c&&console[_0x36eaae(0x222)](_0x5d676c),new _0x55b7af(_0x2b1ec1,this[_0x36eaae(0x12c)]);}[_0x475805(0x194)](_0x5a9574){const _0x19cbe1=_0x475805;this[_0x19cbe1(0x14f)][_0x19cbe1(0x14a)](_0x5a9574)||(this[_0x19cbe1(0x14f)][_0x19cbe1(0x21c)](_0x5a9574),this[_0x19cbe1(0x197)][_0x19cbe1(0x18e)](_0x5a9574),this[_0x19cbe1(0x171)]||_0x19cbe1(0x223)==_0x5a9574[_0x19cbe1(0x1d2)]&&!_0x5a9574[_0x19cbe1(0x138)]||this[_0x19cbe1(0x169)]());}[_0x475805(0x1b0)](_0x342b8d=!0x1){const _0x1bb672=_0x475805;!_0x342b8d&&this[_0x1bb672(0x16d)]||(this[_0x1bb672(0x16d)]=!0x0,clearTimeout(this[_0x1bb672(0x1f6)]),this[_0x1bb672(0x1f6)]=setTimeout(()=>{const _0x39ade9=_0x1bb672;this[_0x39ade9(0x1f2)]()[_0x39ade9(0x1d0)](_0x25a789=>{const _0x4a9f54=_0x39ade9;_0x25a789&&(this[_0x4a9f54(0x134)](),this[_0x4a9f54(0x16d)]=!0x1);})[_0x39ade9(0x1db)](_0x183ca1=>{const _0x744c04=_0x39ade9;if(this[_0x744c04(0x134)](),this[_0x744c04(0x16d)]=!0x1,!function(_0x1c7c6d){const _0x2024eb=_0x744c04;return _0x1c7c6d[_0x2024eb(0x1e5)][_0x2024eb(0x1da)](_0x2024eb(0x1ca))||_0x1c7c6d[_0x2024eb(0x1e5)][_0x2024eb(0x1da)](_0x2024eb(0x1ab))||_0x1c7c6d[_0x2024eb(0x1e5)][_0x2024eb(0x1da)](_0x2024eb(0x12d));}(_0x183ca1))throw _0x183ca1;});},this[_0x1bb672(0x172)]));}[_0x475805(0x13b)](){return new Promise(_0x47bd08=>{const _0x26a16b=_0x6a62;this['on'](_0x26a16b(0x202),()=>{_0x47bd08();});});}async[_0x475805(0x1f2)](){const _0x4c0089=_0x475805,_0x44a23d=this[_0x4c0089(0x12c)][_0x4c0089(0x225)][_0x4c0089(0x16c)](_0x13b07e);if(this[_0x4c0089(0x1a9)]()&&(_0x44a23d[_0x4c0089(0x1cf)](),this[_0x4c0089(0x19a)]=!0x1),!this[_0x4c0089(0x12a)]())return!0x0;const _0x2f676c=[...this[_0x4c0089(0x197)]];for(const _0x2e9bb1 of _0x2f676c)_0x2e9bb1[_0x4c0089(0x137)]=this[_0x4c0089(0x204)][_0x4c0089(0x1bc)][_0x4c0089(0x144)](_0x2e9bb1);const _0x2ca54c=this[_0x4c0089(0x1b3)][_0x4c0089(0x16e)](_0x2f676c),_0x363f80=K++,_0x321f81=this[_0x4c0089(0x1cb)](_0x2f676c),_0x2a7ea9=await this[_0x4c0089(0x207)][_0x4c0089(0x208)](_0x321f81,_0x321f81[_0x4c0089(0x1ef)],_0x2ca54c);try{return await this[_0x4c0089(0x210)](_0x2f676c,_0x2a7ea9,_0x363f80);}catch(_0x4d9ff2){return this[_0x4c0089(0x1a2)](_0x4c0089(0x1ae),_0x4d9ff2);}}async[_0x475805(0x210)](_0x378edc,_0xc6a4eb,_0x259e13){const _0x5f45c5=_0x475805;if(_0x5f45c5(0x222)in _0xc6a4eb)throw _0xc6a4eb[_0x5f45c5(0x222)];let _0x2d1ab6=!0x1;if(_0xc6a4eb[_0x5f45c5(0x17e)]){_0xc6a4eb[_0x5f45c5(0x199)]&&(this[_0x5f45c5(0x1bb)]=_0xc6a4eb[_0x5f45c5(0x199)]),this[_0x5f45c5(0x197)]=this[_0x5f45c5(0x197)][_0x5f45c5(0x1b9)](_0x4ce65c=>!_0x378edc[_0x5f45c5(0x142)](_0x4ce65c));for(const _0x25bb2d of _0x378edc)_0x25bb2d[_0x5f45c5(0x14e)]=_0x5f45c5(0x215)in _0xc6a4eb&&_0xc6a4eb[_0x5f45c5(0x215)]||void 0x0;Q(_0x378edc,_0xc6a4eb[_0x5f45c5(0x19b)]-_0x378edc[_0x5f45c5(0x1fb)]),this[_0x5f45c5(0x159)](_0x378edc);const _0x5a0ec2=_0x378edc[_0x5f45c5(0x1b9)](_0x28c66d=>{const _0x408f78=_0x5f45c5;if(!_0x28c66d[_0x408f78(0x17b)])return!0x1;const _0xa32013=this[_0x408f78(0x14c)](_0x28c66d);return _0xa32013&&!this[_0x408f78(0x1ee)][_0x408f78(0x14a)](_0xa32013);});Q(_0x5a0ec2,this[_0x5f45c5(0x204)][_0x5f45c5(0x19b)]),this[_0x5f45c5(0x153)](_0x5a0ec2),_0x2d1ab6=!0x0,this[_0x5f45c5(0x172)]=this[_0x5f45c5(0x212)];}else{const _0x2fa9b6=this[_0x5f45c5(0x155)](_0xc6a4eb[_0x5f45c5(0x145)],_0xc6a4eb[_0x5f45c5(0x20e)])[_0x5f45c5(0x1b9)](_0x51fbe6=>_0x51fbe6[_0x5f45c5(0x1ef)]>=this[_0x5f45c5(0x178)]);_0x2fa9b6[_0x5f45c5(0x1ce)](_0x5381f3=>this[_0x5f45c5(0x21f)](_0x5381f3)),this[_0x5f45c5(0x197)]=this[_0x5f45c5(0x197)][_0x5f45c5(0x1b9)](_0x554b06=>!_0x554b06[_0x5f45c5(0x17b)]||!this[_0x5f45c5(0x1ee)][_0x5f45c5(0x14a)](this[_0x5f45c5(0x14c)](_0x554b06))),this[_0x5f45c5(0x197)][_0x5f45c5(0x1fb)]&&Q(this[_0x5f45c5(0x197)],this[_0x5f45c5(0x197)][0x0][_0x5f45c5(0x1ef)]),await this[_0x5f45c5(0x1a1)](_0x2fa9b6),_0x2d1ab6=this[_0x5f45c5(0x1d1)](_0x2fa9b6,_0xc6a4eb[_0x5f45c5(0x19b)],_0xc6a4eb[_0x5f45c5(0x199)]),this[_0x5f45c5(0x172)]=Math[_0x5f45c5(0x1fd)](this[_0x5f45c5(0x172)]/0x2);}return _0x2d1ab6?!this[_0x5f45c5(0x12a)]()||(this[_0x5f45c5(0x1b0)](!0x0),!0x1):this[_0x5f45c5(0x1a2)](_0x5f45c5(0x179));}[_0x475805(0x1d1)](_0x4927b8,_0x547957,_0x15863f){const _0x588e43=_0x475805;try{const _0x19699b={'document':this[_0x588e43(0x204)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5988f6,operationsB:_0x11cef3,originalOperations:_0x408cb0}=_0x1ddcd5(_0x4927b8,this[_0x588e43(0x197)],_0x19699b);Q(_0x5988f6,this[_0x588e43(0x204)][_0x588e43(0x19b)]),Q(_0x11cef3,_0x547957);for(const _0x23f6b9 of _0x5988f6){const _0xe41c55=_0x408cb0[_0x588e43(0x16c)](_0x23f6b9);_0x23f6b9[_0x588e43(0x1dd)]=_0xe41c55?_0xe41c55[_0x588e43(0x1dd)]:null;}_0x15863f&&(this[_0x588e43(0x1b3)][_0x588e43(0x1d6)](_0x4927b8,_0x15863f),this[_0x588e43(0x1bb)]=_0x15863f),this[_0x588e43(0x197)]=[..._0x11cef3],this[_0x588e43(0x153)](_0x5988f6),this[_0x588e43(0x159)](_0x4927b8);}catch(_0xa2a61f){return console[_0x588e43(0x222)](_0xa2a61f),!0x1;}return!0x0;}[_0x475805(0x153)](_0x5d8df7,_0x8046dd=!0x1){const _0x521edf=_0x475805;this[_0x521edf(0x12c)][_0x521edf(0x15e)][_0x521edf(0x20b)]({'isUndoable':!0x1,'isLocal':!0x1},_0x19f17f=>{const _0x28de5b=_0x521edf;for(const _0x570f35 of _0x5d8df7)this[_0x28de5b(0x14f)][_0x28de5b(0x21c)](_0x570f35),this[_0x28de5b(0x21f)](_0x570f35),_0x19f17f[_0x28de5b(0x227)][_0x28de5b(0x180)](_0x570f35),this[_0x28de5b(0x12c)][_0x28de5b(0x15e)][_0x28de5b(0x150)](_0x570f35);});}[_0x475805(0x21f)](_0x245201){const _0x1020c2=_0x475805,_0x10d46e=this[_0x1020c2(0x14c)](_0x245201);_0x10d46e&&this[_0x1020c2(0x1ee)][_0x1020c2(0x21c)](_0x10d46e);}[_0x475805(0x14c)](_0x450655){const _0x2fe299=_0x475805;let _0x29e97f,_0x5d6e15;switch(_0x450655[_0x2fe299(0x1d2)]){case _0x2fe299(0x13f):_0x29e97f=_0x450655[_0x2fe299(0x139)][_0x2fe299(0x1d9)];break;case _0x2fe299(0x223):if(_0x5d6e15=_0x450655[_0x2fe299(0x16f)],!_0x5d6e15)return null;_0x29e97f=_0x5d6e15[_0x2fe299(0x1d9)];break;case _0x2fe299(0x18d):_0x29e97f=_0x450655[_0x2fe299(0x1d9)];break;case _0x2fe299(0x12b):_0x29e97f=_0x450655[_0x2fe299(0x17f)];break;case _0x2fe299(0x211):_0x29e97f=_0x450655[_0x2fe299(0x1f5)][_0x2fe299(0x1d9)];break;default:return null;}return _0x29e97f[_0x2fe299(0x1e6)];}[_0x475805(0x159)](_0x2d9674){const _0x2009f4=_0x475805;_0x2d9674[_0x2009f4(0x1ce)](_0x212bf1=>{const _0x3a8065=_0x2009f4,_0x2b4d76=_0x212bf1[_0x3a8065(0x161)]();_0x2b4d76[_0x3a8065(0x1dd)]=_0x212bf1[_0x3a8065(0x1dd)],_0x2b4d76[_0x3a8065(0x17b)]=!!_0x212bf1[_0x3a8065(0x17b)],_0x2b4d76[_0x3a8065(0x14e)]=_0x212bf1[_0x3a8065(0x14e)],_0x2b4d76[_0x3a8065(0x1ef)]+=this[_0x3a8065(0x13e)],_0x212bf1[_0x3a8065(0x1a7)]&&this[_0x3a8065(0x15f)][_0x3a8065(0x21c)](_0x2b4d76),this[_0x3a8065(0x16a)][_0x3a8065(0x180)](_0x2b4d76);});}[_0x475805(0x162)](_0x32d5dd){const _0x3e1b03=_0x475805,_0x4f9d35=this[_0x3e1b03(0x12c)][_0x3e1b03(0x225)][_0x3e1b03(0x16c)](_0x3e1b03(0x1e7)),_0x263a16=this[_0x3e1b03(0x12c)][_0x3e1b03(0x188)];_0x32d5dd||(_0x32d5dd=_0x10faaf(_0x263a16,_0x3e1b03(0x1d7))),_0x4f9d35[_0x3e1b03(0x1b7)](_0x32d5dd,{'title':_0x10faaf(_0x263a16,_0x3e1b03(0x185)),'namespace':_0x3e1b03(0x1e1)}),this[_0x3e1b03(0x184)]=!0x0,clearTimeout(this[_0x3e1b03(0x1f6)]),this[_0x3e1b03(0x197)]=[],this[_0x3e1b03(0x12c)][_0x3e1b03(0x225)][_0x3e1b03(0x16c)](_0x360259)[_0x3e1b03(0x200)]();}[_0x475805(0x169)](){const _0x569708=_0x475805;this[_0x569708(0x171)]||(this[_0x569708(0x171)]=this[_0x569708(0x12c)][_0x569708(0x225)][_0x569708(0x16c)](_0x534ad9)[_0x569708(0x21c)](_0x10faaf(this[_0x569708(0x12c)][_0x569708(0x188)],_0x569708(0x16b))));}[_0x475805(0x134)](){const _0x4cdba2=_0x475805;this[_0x4cdba2(0x171)]&&(this[_0x4cdba2(0x12c)][_0x4cdba2(0x225)][_0x4cdba2(0x16c)](_0x534ad9)[_0x4cdba2(0x226)](this[_0x4cdba2(0x171)]),this[_0x4cdba2(0x171)]=null);}[_0x475805(0x1cb)](_0x1f7b24){const _0x2f3d5f=_0x475805,_0x5c2d8f=_0x1f7b24[_0x2f3d5f(0x18a)](_0x8c8aa3=>_0x8c8aa3[_0x2f3d5f(0x1e9)]());return this[_0x2f3d5f(0x166)][_0x2f3d5f(0x1d3)](_0x5c2d8f);}[_0x475805(0x155)](_0x17734d,_0x525002){const _0x319bef=_0x475805;return this[_0x319bef(0x166)][_0x319bef(0x17d)](_0x17734d)[_0x319bef(0x18a)]((_0x35e7c5,_0x3790d6)=>{const _0x1c12eb=_0x319bef,_0x30c76e=_0x1c12eb(0x174)==_0x525002[_0x3790d6][_0x1c12eb(0x1d2)];if(_0x1c12eb(0x157)==_0x35e7c5[_0x1c12eb(0x164)]){const _0x443cd0=_0x35e7c5[_0x1c12eb(0x139)][_0x1c12eb(0x1d9)];!this[_0x1c12eb(0x204)][_0x1c12eb(0x12e)](_0x443cd0)&&(this[_0x1c12eb(0x204)][_0x1c12eb(0x1a4)](_0x1c12eb(0x156),_0x443cd0)[_0x1c12eb(0x135)]=!0x1);}const _0x2ac380=_0x40dea2[_0x1c12eb(0x17c)](_0x35e7c5,this[_0x1c12eb(0x204)]);return _0x2ac380[_0x1c12eb(0x137)]=_0x35e7c5[_0x1c12eb(0x137)],_0x2ac380[_0x1c12eb(0x17b)]=_0x30c76e,_0x2ac380[_0x1c12eb(0x1dd)]=_0x30c76e?null:_0x525002[_0x3790d6][_0x1c12eb(0x158)],_0x2ac380[_0x1c12eb(0x1a7)]=_0x1c12eb(0x1f0)===_0x525002[_0x3790d6][_0x1c12eb(0x1d2)],_0x2ac380[_0x1c12eb(0x14e)]=_0x525002[_0x3790d6][_0x1c12eb(0x14e)],_0x2ac380;});}[_0x475805(0x20a)](){const _0x1746ca=_0x475805;this[_0x1746ca(0x19a)]=!0x0,this[_0x1746ca(0x1a9)]()?this[_0x1746ca(0x1b0)]():this[_0x1746ca(0x19a)]=!0x1;}[_0x475805(0x1a9)](){const _0x4ae8fd=_0x475805,_0x2b04e6=this[_0x4ae8fd(0x12c)][_0x4ae8fd(0x225)][_0x4ae8fd(0x16c)](_0x3c63bd)[_0x4ae8fd(0x1f3)][_0x4ae8fd(0x16c)](this[_0x4ae8fd(0x1ff)]);return!this[_0x4ae8fd(0x12c)][_0x4ae8fd(0x1c8)]&&!!_0x2b04e6&&_0x2b04e6[_0x4ae8fd(0x1fb)]>0x1&&this[_0x4ae8fd(0x19a)];}[_0x475805(0x12a)](){const _0x456b12=_0x475805;return this[_0x456b12(0x197)][_0x456b12(0x1fb)]>0x0||this[_0x456b12(0x1a9)]();}}l[_0x475805(0x1e4)]=_0x470d47;function _0x6a62(_0x343566,_0xeaac65){const _0x1bc7f6=_0x1bc7();return _0x6a62=function(_0x6a62f5,_0x416f50){_0x6a62f5=_0x6a62f5-0x126;let _0x47351a=_0x1bc7f6[_0x6a62f5];return _0x47351a;},_0x6a62(_0x343566,_0xeaac65);}export default l;class J extends Error{}function Q(_0x4cd57a,_0x104112){const _0x489f10=_0x475805;for(const _0x7dd40c of _0x4cd57a)_0x7dd40c[_0x489f10(0x1ef)]=_0x104112++;}class X{constructor(_0x525d3b){const _0x30fdcc=_0x475805;this[_0x30fdcc(0x1fa)]=_0x525d3b,this[_0x30fdcc(0x193)]=new WeakMap();}[_0x475805(0x16e)](_0x2c7e71){const _0x461088=_0x475805;let _0x35a4c1=_0x2c7e71[_0x461088(0x1fb)];for(;_0x35a4c1--;){const _0xc4e82f=_0x2c7e71[_0x35a4c1];if(!this[_0x461088(0x1fa)][_0x461088(0x14a)](_0xc4e82f)){if(!this[_0x461088(0x193)][_0x461088(0x14a)](_0xc4e82f)){const _0x3c8bd0=_0x3b55c5()[_0x461088(0x160)](0x1,0x12);this[_0x461088(0x193)][_0x461088(0x17a)](_0xc4e82f,_0x3c8bd0);}return this[_0x461088(0x193)][_0x461088(0x16c)](_0xc4e82f);}}}[_0x475805(0x1d6)](_0x2a5cba,_0x22c248){const _0x194358=_0x475805;if(!_0x22c248)return;let _0x38eca2=_0x2a5cba[_0x194358(0x1fb)];for(;_0x38eca2--;){const _0x4fd258=_0x2a5cba[_0x38eca2];this[_0x194358(0x1fa)][_0x194358(0x14a)](_0x4fd258)||this[_0x194358(0x193)][_0x194358(0x17a)](_0x4fd258,_0x22c248);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x40fb0c=_0x2e8e;function _0x33ae(){const _0x20194d=['sessionAdd:','assign','context','register','add','sessions-register-already-registered','stopListening','_handleSessionRemove','_uniqueUsersCount','sessionId','_createUser','402170fptPRo','allConnectedUsers','770SSCzBF','values','4msSSoc','get','addUser','delete','role','set','user','listenTo','channelSessions','orderNumber','7tWWjru','unregister','4FHJrPn','defineMe','27WMSZhp','getUserSessions','539285dIyWxZ','getUserRole','_handleSessionAdd','858560wiKdWj','sessions-unregister-not-exist','change:state','requires','139959xALISQ','_registeredSessions','clear','has','_users','getUser','remove','98868YxGAQi','Sessions','size','1068654QpNCej','state','283110waeeXc','plugins','fire','isMe','forEach','channelConnectedUsers','connected','pluginName','connection','getUserBySessionId','init','mySessionId'];_0x33ae=function(){return _0x20194d;};return _0x33ae();}(function(_0x2fb457,_0x43bed4){const _0x37335b=_0x2e8e,_0x629fbe=_0x2fb457();while(!![]){try{const _0x43a9d=-parseInt(_0x37335b(0x14b))/0x1+-parseInt(_0x37335b(0x134))/0x2*(-parseInt(_0x37335b(0x157))/0x3)+-parseInt(_0x37335b(0x140))/0x4*(parseInt(_0x37335b(0x144))/0x5)+-parseInt(_0x37335b(0x155))/0x6+-parseInt(_0x37335b(0x13e))/0x7*(parseInt(_0x37335b(0x147))/0x8)+parseInt(_0x37335b(0x142))/0x9*(-parseInt(_0x37335b(0x130))/0xa)+-parseInt(_0x37335b(0x132))/0xb*(-parseInt(_0x37335b(0x152))/0xc);if(_0x43a9d===_0x43bed4)break;else _0x629fbe['push'](_0x629fbe['shift']());}catch(_0x59298d){_0x629fbe['push'](_0x629fbe['shift']());}}}(_0x33ae,0x1b3d6));import{ContextPlugin as _0x126700}from'ckeditor5/src/core.js';import{Collection as _0x2cac54,CKEditorError as _0x2eb7d5}from'ckeditor5/src/utils.js';import _0x1777e3 from'./websocketgateway.js';import{Users as _0x5d7a75}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2e8e(_0x2cd683,_0x340e40){const _0x33aeff=_0x33ae();return _0x2e8e=function(_0x2e8e2c,_0x350107){_0x2e8e2c=_0x2e8e2c-0x120;let _0x382d07=_0x33aeff[_0x2e8e2c];return _0x382d07;},_0x2e8e(_0x2cd683,_0x340e40);}export default class r extends _0x126700{static get[_0x40fb0c(0x120)](){const _0x384055=_0x40fb0c;return _0x384055(0x153);}static get[_0x40fb0c(0x14a)](){return[_0x1777e3,_0x5d7a75];}constructor(_0x4aa827){const _0x4b342a=_0x40fb0c;super(_0x4aa827),this[_0x4b342a(0x13c)]=new Map(),this[_0x4b342a(0x15c)]=new Map(),this[_0x4b342a(0x131)]=new _0x2cac54(),this[_0x4b342a(0x14c)]=new Map(),this[_0x4b342a(0x12d)]=0x0,this[_0x4b342a(0x14f)]=this[_0x4b342a(0x127)][_0x4b342a(0x158)][_0x4b342a(0x135)](_0x5d7a75);}[_0x40fb0c(0x123)](){const _0x1a4fcf=_0x40fb0c,_0xea029c=this[_0x1a4fcf(0x127)][_0x1a4fcf(0x158)][_0x1a4fcf(0x135)](_0x1777e3);this[_0x1a4fcf(0x13b)](_0xea029c,_0x1a4fcf(0x149),(_0x14a3ab,_0x35120e,_0x4174da)=>{const _0x3dc9d2=_0x1a4fcf;if(_0x3dc9d2(0x15d)!==_0x4174da)this[_0x3dc9d2(0x13c)][_0x3dc9d2(0x15b)](_0x23c84a=>_0x23c84a[_0x3dc9d2(0x14d)]()),this[_0x3dc9d2(0x15c)][_0x3dc9d2(0x15b)](_0x4f5444=>_0x4f5444[_0x3dc9d2(0x14d)]()),this[_0x3dc9d2(0x131)][_0x3dc9d2(0x14d)]();else{for(const [_0x9b8efb,_0xa3ec77]of this[_0x3dc9d2(0x14c)])for(const _0x408410 of _0xa3ec77)this[_0x3dc9d2(0x146)](_0x9b8efb,_0x408410);}}),this[_0x1a4fcf(0x12f)](_0xea029c[_0x1a4fcf(0x121)]['me'],!0x0);}[_0x40fb0c(0x128)](_0x741e02,_0x591175){const _0x3d3314=_0x40fb0c;if(this[_0x3d3314(0x14c)][_0x3d3314(0x14e)](_0x741e02))throw new _0x2eb7d5(_0x3d3314(0x12a),null,{'channelId':_0x741e02});this[_0x3d3314(0x14c)][_0x3d3314(0x139)](_0x741e02,_0x591175),this[_0x3d3314(0x13c)][_0x3d3314(0x139)](_0x741e02,new _0x2cac54()),this[_0x3d3314(0x15c)][_0x3d3314(0x139)](_0x741e02,new _0x2cac54()),this[_0x3d3314(0x13b)](_0x591175,_0x3d3314(0x129),(_0x3d1684,_0x453015)=>this[_0x3d3314(0x146)](_0x741e02,_0x453015)),this[_0x3d3314(0x13b)](_0x591175,_0x3d3314(0x151),(_0x469d05,_0xd38bfd)=>this[_0x3d3314(0x12c)](_0x741e02,_0xd38bfd));for(const _0x291c47 of _0x591175)this[_0x3d3314(0x146)](_0x741e02,_0x291c47);}[_0x40fb0c(0x13f)](_0x46e8e4){const _0x1b648f=_0x40fb0c;if(!this[_0x1b648f(0x14c)][_0x1b648f(0x14e)](_0x46e8e4))throw new _0x2eb7d5(_0x1b648f(0x148),null,{'channelId':_0x46e8e4});const _0x5bc64f=this[_0x1b648f(0x14c)][_0x1b648f(0x135)](_0x46e8e4);this[_0x1b648f(0x12b)](_0x5bc64f);for(const _0x133e19 of _0x5bc64f)_0x1b648f(0x15d)===this[_0x1b648f(0x127)][_0x1b648f(0x158)][_0x1b648f(0x135)](_0x1777e3)[_0x1b648f(0x156)]&&this[_0x1b648f(0x12c)](_0x46e8e4,_0x133e19);this[_0x1b648f(0x14c)][_0x1b648f(0x137)](_0x46e8e4),this[_0x1b648f(0x13c)][_0x1b648f(0x137)](_0x46e8e4),this[_0x1b648f(0x15c)][_0x1b648f(0x137)](_0x46e8e4);}get[_0x40fb0c(0x124)](){const _0x3cf42a=_0x40fb0c;return this[_0x3cf42a(0x127)][_0x3cf42a(0x158)][_0x3cf42a(0x135)](_0x1777e3)[_0x3cf42a(0x121)][_0x3cf42a(0x12e)];}[_0x40fb0c(0x122)](_0x2540e7){const _0x1fbd3e=_0x40fb0c;for(const _0x256e10 of this[_0x1fbd3e(0x13c)][_0x1fbd3e(0x133)]())for(const _0x2eb26a of _0x256e10)if(_0x2eb26a['id']===_0x2540e7)return _0x2eb26a[_0x1fbd3e(0x13a)];}[_0x40fb0c(0x143)](_0x221256,_0x2960a6){const _0x273c4b=_0x40fb0c,_0x2b501d=_0x2960a6?[this[_0x273c4b(0x13c)][_0x273c4b(0x135)](_0x2960a6)]:this[_0x273c4b(0x13c)][_0x273c4b(0x133)](),_0x4cc0c1=new Set();for(const _0x511c86 of _0x2b501d)for(const _0x43f838 of _0x511c86)_0x43f838[_0x273c4b(0x13a)]['id']===_0x221256['id']&&_0x4cc0c1[_0x273c4b(0x129)](_0x43f838['id']);return _0x4cc0c1;}[_0x40fb0c(0x145)](_0x42f8d7){const _0x371f28=_0x40fb0c;for(const _0x337e05 of this[_0x371f28(0x13c)][_0x371f28(0x133)]())for(const _0x25ce87 of _0x337e05)if(_0x25ce87[_0x371f28(0x13a)]===_0x42f8d7)return _0x25ce87[_0x371f28(0x138)];}[_0x40fb0c(0x146)](_0x7e112d,_0xd8f194){const _0x2ee879=_0x40fb0c;if(_0x2ee879(0x15d)!==this[_0x2ee879(0x127)][_0x2ee879(0x158)][_0x2ee879(0x135)](_0x1777e3)[_0x2ee879(0x156)])return;const _0x31a733=_0xd8f194[_0x2ee879(0x13a)],_0x333421=this[_0x2ee879(0x14f)][_0x2ee879(0x150)](_0x31a733['id'])||this[_0x2ee879(0x12f)](_0x31a733),_0xb4c20c=Object[_0x2ee879(0x126)]({},_0xd8f194,{'user':_0x333421});this[_0x2ee879(0x13c)][_0x2ee879(0x135)](_0x7e112d)[_0x2ee879(0x129)](_0xb4c20c);const _0x271cab=this[_0x2ee879(0x15c)][_0x2ee879(0x135)](_0x7e112d);_0x271cab[_0x2ee879(0x14e)](_0x333421['id'])||_0x271cab[_0x2ee879(0x129)](_0x333421),this[_0x2ee879(0x131)][_0x2ee879(0x14e)](_0x333421['id'])||this[_0x2ee879(0x131)][_0x2ee879(0x129)](_0x333421,_0x333421[_0x2ee879(0x15a)]?0x0:void 0x0),this[_0x2ee879(0x159)](_0x2ee879(0x125)+_0x7e112d,{'channelId':_0x7e112d,'session':_0xb4c20c});}[_0x40fb0c(0x12c)](_0x5596cf,_0xba2625){const _0xe8eb49=_0x40fb0c;if(_0xe8eb49(0x15d)!==this[_0xe8eb49(0x127)][_0xe8eb49(0x158)][_0xe8eb49(0x135)](_0x1777e3)[_0xe8eb49(0x156)])return;const _0x6c975=this[_0xe8eb49(0x15c)][_0xe8eb49(0x135)](_0x5596cf),_0xfc6b64=_0xba2625[_0xe8eb49(0x13a)];_0xfc6b64['id']&&(this[_0xe8eb49(0x13c)][_0xe8eb49(0x135)](_0x5596cf)[_0xe8eb49(0x151)](_0xba2625['id']),_0x6c975[_0xe8eb49(0x14e)](_0xfc6b64['id'])&&!this[_0xe8eb49(0x143)](_0xfc6b64,_0x5596cf)[_0xe8eb49(0x154)]&&_0x6c975[_0xe8eb49(0x151)](_0xfc6b64['id']),this[_0xe8eb49(0x131)][_0xe8eb49(0x135)](_0xfc6b64['id'])&&!this[_0xe8eb49(0x143)](_0xfc6b64)[_0xe8eb49(0x154)]&&this[_0xe8eb49(0x131)][_0xe8eb49(0x151)](_0xfc6b64['id']));}[_0x40fb0c(0x12f)](_0x2fb00c,_0x4780b2){const _0x34a92b=_0x40fb0c,_0x5b0d56=this[_0x34a92b(0x14f)][_0x34a92b(0x136)](_0x2fb00c);return _0x4780b2&&this[_0x34a92b(0x14f)][_0x34a92b(0x141)](_0x2fb00c['id']),_0x5b0d56[_0x34a92b(0x13d)]=this[_0x34a92b(0x12d)]++,_0x5b0d56;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x46c3(){const _0x195cff=['clear','getAttribute','isCollapsed','requires','name','split','init','createUserMarkerOperations','user:range:','contenteditable','reconvertMarker','document','hasContent','render','mapper','for','model','markerNameToElements','batch','user:position','undo','UserMarkers','user:position:','pluginName','toDomElement','newRange','highest','markerToHighlight','markerName','innerHTML','set','addMarker','getNearestSelectionRange','updateMarker','nodeAfter','userPositionMarker','marker','Escape','mouseenter','_createdBatches','plugins','</span>','mouseleave','enqueueChange','65010RLXnwy','orderNumber','selection','applyOperation','commands','markers','add','getPositions','setCustomProperty','getSelectionClass','removeMarker','delete','has','mySessionId','getContainedElement','deletionPosition','addEventListener','923073XvNPFt','888292iUifNU','change','isLimit','afterInit','288NVFNmW','ck-user__marker\x20','startsWith','_domEmitter','5265948uxakIK','$graveyard','keydown','$text','ck-user__selection','oldRange','tableCell','ck-user__marker_hovered','detach','change:range','createRange','element','remove','stopListening','isObject','getRange','checkChild','type','4417416iZRuDX','size','destroy','createUIElement','getCustomProperty','classList','editor','schema','885772Yyramp','user:','15moJLNr','getFirstRange','rootName','data-session-id','listenTo','7tjRdLy','isSimilar','12020TqliWR','getStart','start','view','isInline','color','parent','removeClass','markerRange','hasDomSelection','fromRange','root','update:user:range','user:range','<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>','conversion','end','getUserBySessionId','markerToElement','toRange','editingDowncast','editing','get','getMarkerClass','span'];_0x46c3=function(){return _0x195cff;};return _0x46c3();}const _0x471c0a=_0x4670;(function(_0x40fac5,_0x4ffb6f){const _0xec7043=_0x4670,_0x18252b=_0x40fac5();while(!![]){try{const _0x289ea6=parseInt(_0xec7043(0x17b))/0x1+parseInt(_0xec7043(0x184))/0x2+-parseInt(_0xec7043(0x158))/0x3+-parseInt(_0xec7043(0x159))/0x4*(parseInt(_0xec7043(0x17d))/0x5)+-parseInt(_0xec7043(0x161))/0x6*(-parseInt(_0xec7043(0x182))/0x7)+-parseInt(_0xec7043(0x173))/0x8+parseInt(_0xec7043(0x15d))/0x9*(parseInt(_0xec7043(0x147))/0xa);if(_0x289ea6===_0x4ffb6f)break;else _0x18252b['push'](_0x18252b['shift']());}catch(_0x584f6f){_0x18252b['push'](_0x18252b['shift']());}}}(_0x46c3,0x6e339));import{Plugin as _0x27da86}from'ckeditor5/src/core.js';import{global as _0x3776d9,DomEmitterMixin as _0x1f2ac6}from'ckeditor5/src/utils.js';import _0x2205ba from'./sessions.js';function _0x4670(_0x40a699,_0xadcd6e){const _0x46c315=_0x46c3();return _0x4670=function(_0x4670d2,_0x1c180f){_0x4670d2=_0x4670d2-0x136;let _0x5abbe6=_0x46c315[_0x4670d2];return _0x5abbe6;},_0x4670(_0x40a699,_0xadcd6e);}import{LiveRange as _0x56df32}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x27da86{constructor(){const _0xad4ff4=_0x4670;super(...arguments),this[_0xad4ff4(0x160)]=new(_0x1f2ac6())();}static get[_0x471c0a(0x1a0)](){return[_0x2205ba];}static get[_0x471c0a(0x1b4)](){const _0x4b647d=_0x471c0a;return _0x4b647d(0x1b2);}[_0x471c0a(0x1a3)](){const _0x1dcf83=_0x471c0a,_0x31785d=this[_0x1dcf83(0x179)],_0x8852f8=_0x31785d[_0x1dcf83(0x143)][_0x1dcf83(0x19a)](_0x2205ba);_0x31785d[_0x1dcf83(0x193)][_0x1dcf83(0x1ac)](_0x1dcf83(0x198))[_0x1dcf83(0x196)]({'model':_0x1dcf83(0x1b0),'view':(_0x430d72,{writer:_0x2efeaf})=>function(_0x3485ef,_0x15890f,_0x426672,_0x3c961e){const _0x3cbbaf=_0x1dcf83,_0x560c9a=_0x3485ef[_0x3cbbaf(0x137)][_0x3cbbaf(0x1a2)](':')[0x2],_0x488336=_0x426672[_0x3cbbaf(0x195)](_0x560c9a);if(!_0x488336||_0x560c9a===_0x426672[_0x3cbbaf(0x154)])return;if(!_0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x17a)][_0x3cbbaf(0x171)](_0x3485ef[_0x3cbbaf(0x18c)][_0x3cbbaf(0x186)],_0x3cbbaf(0x164)))return;const _0x466da7={'class':_0x3cbbaf(0x15e)+_0x488336[_0x3cbbaf(0x189)][_0x3cbbaf(0x19b)](),'data-name':_0x488336[_0x3cbbaf(0x1a1)],'data-session-id':_0x560c9a},_0x5765b3=_0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x14c)][_0x3cbbaf(0x19a)](_0x3485ef[_0x3cbbaf(0x137)]),_0x39dfb2=_0x5765b3[_0x3cbbaf(0x185)](),_0xbca505=_0x39dfb2[_0x3cbbaf(0x13d)],_0x51b49d=_0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x17a)];if(_0xbca505&&_0x51b49d[_0x3cbbaf(0x16f)](_0xbca505)&&_0x51b49d[_0x3cbbaf(0x188)](_0xbca505)&&!_0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x14c)][_0x3cbbaf(0x19a)](_0x3cbbaf(0x1a5)+_0x560c9a)[_0x3cbbaf(0x170)]()[_0x3cbbaf(0x19f)])return;const _0x24a3c8=_0x39dfb2[_0x3cbbaf(0x18a)];return _0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x17a)][_0x3cbbaf(0x15b)](_0x24a3c8)&&!_0x3c961e[_0x3cbbaf(0x1ad)][_0x3cbbaf(0x1a9)](_0x24a3c8)&&(_0x466da7[_0x3cbbaf(0x1a6)]=!0x1),function(_0x20631e,_0x13a37e,_0x360c8c){const _0x24dcbb=_0x3cbbaf,_0x3ce6e5=_0x20631e[_0x24dcbb(0x176)](_0x24dcbb(0x19c),_0x13a37e);return _0x20631e[_0x24dcbb(0x14f)](_0x24dcbb(0x13e),!0x0,_0x3ce6e5),_0x3ce6e5[_0x24dcbb(0x1aa)]=function(_0x37f2c3){const _0x5a8f55=_0x24dcbb,_0x1e698f=this[_0x5a8f55(0x1b5)](_0x37f2c3);return _0x1e698f[_0x5a8f55(0x138)]=_0x5a8f55(0x192)+_0x360c8c[_0x5a8f55(0x1a1)]+_0x5a8f55(0x144),_0x1e698f[_0x5a8f55(0x157)](_0x5a8f55(0x141),()=>{const _0x4c7efb=_0x5a8f55;_0x1e698f[_0x4c7efb(0x178)][_0x4c7efb(0x14d)](_0x4c7efb(0x168));}),_0x1e698f[_0x5a8f55(0x157)](_0x5a8f55(0x145),()=>{const _0x3b29d7=_0x5a8f55;_0x1e698f[_0x3b29d7(0x178)][_0x3b29d7(0x16d)](_0x3b29d7(0x168));}),_0x1e698f;},_0x3ce6e5[_0x24dcbb(0x183)]=function(_0x2dac38){const _0x25411d=_0x24dcbb;return!(!this[_0x25411d(0x177)](_0x25411d(0x13e))||!_0x2dac38[_0x25411d(0x177)](_0x25411d(0x13e))||this[_0x25411d(0x19e)](_0x25411d(0x180))!=_0x2dac38[_0x25411d(0x19e)](_0x25411d(0x180)));},_0x3ce6e5;}(_0x15890f,_0x466da7,_0x488336);}(_0x430d72,_0x2efeaf,_0x8852f8,_0x31785d)}),_0x31785d[_0x1dcf83(0x193)][_0x1dcf83(0x1ac)](_0x1dcf83(0x198))[_0x1dcf83(0x136)]({'model':_0x1dcf83(0x191),'view':_0x2139aa=>function(_0xf93d80,_0x408e25){const _0x4ed055=_0x1dcf83,_0x227e70=_0xf93d80[_0x4ed055(0x137)][_0x4ed055(0x1a2)](':')[0x2];if(_0x227e70===_0x408e25[_0x4ed055(0x154)])return null;const _0x3c0b32=_0x408e25[_0x4ed055(0x195)](_0x227e70);if(!_0x3c0b32)return{'id':_0x227e70,'classes':[]};return{'id':_0x227e70,'classes':[_0x4ed055(0x165),_0x3c0b32[_0x4ed055(0x189)][_0x4ed055(0x150)]()],'attributes':{'data-session-id':_0x227e70},'priority':0x7d0+_0x3c0b32[_0x4ed055(0x148)]};}(_0x2139aa,_0x8852f8)}),function(_0x54d4e9){const _0x5dc35a=_0x1dcf83,_0x89818f=_0x54d4e9[_0x5dc35a(0x1ad)],_0x421bb0=new Map(),_0x41f76d=_0x54d4e9[_0x5dc35a(0x143)][_0x5dc35a(0x19a)](_0x2205ba);_0x89818f[_0x5dc35a(0x14c)]['on'](_0x5dc35a(0x190),(_0x5d62d7,_0x337472,_0x22938c,_0xa28424)=>{const _0x55a096=_0x5dc35a;if(!_0xa28424&&_0x421bb0[_0x55a096(0x19a)](_0x337472[_0x55a096(0x1a1)]))return _0x421bb0[_0x55a096(0x19a)](_0x337472[_0x55a096(0x1a1)])[_0x55a096(0x169)](),void _0x421bb0[_0x55a096(0x152)](_0x337472[_0x55a096(0x1a1)]);const _0xb7ea7=_0x337472[_0x55a096(0x1a1)][_0x55a096(0x1a2)](':')[0x2];if(_0xb7ea7===_0x41f76d[_0x55a096(0x154)])return;const _0x409b58=_0x55a096(0x1b3)+_0xb7ea7;_0x89818f[_0x55a096(0x14c)][_0x55a096(0x153)](_0x409b58)&&_0x54d4e9[_0x55a096(0x199)][_0x55a096(0x1a7)](_0x409b58),_0x337472['on'](_0x55a096(0x16a),(_0x142b4b,_0x3f2364,_0x246e49)=>{const _0x544ce1=_0x55a096;if(_0x544ce1(0x162)!=_0x3f2364[_0x544ce1(0x18f)][_0x544ce1(0x17f)]&&_0x544ce1(0x162)==_0x337472[_0x544ce1(0x170)]()[_0x544ce1(0x18f)][_0x544ce1(0x17f)]&&!_0x421bb0[_0x544ce1(0x153)](_0x337472[_0x544ce1(0x1a1)])){const _0xe81bc3=_0x89818f[_0x544ce1(0x17a)][_0x544ce1(0x13b)](_0x246e49[_0x544ce1(0x156)]);if(_0xe81bc3){const _0x15e337=_0x56df32[_0x544ce1(0x18e)](_0xe81bc3);_0x421bb0[_0x544ce1(0x139)](_0x337472[_0x544ce1(0x1a1)],_0x15e337),_0x15e337['on'](_0x544ce1(0x16a),(_0x12a373,_0x270d81,_0x5c9112)=>{const _0x35d47f=_0x544ce1;if(_0x35d47f(0x162)==_0x15e337[_0x35d47f(0x18f)][_0x35d47f(0x17f)]){const _0x36765c=_0x89818f[_0x35d47f(0x17a)][_0x35d47f(0x13b)](_0x5c9112[_0x35d47f(0x156)]);_0x36765c?(_0x15e337[_0x35d47f(0x186)]=_0x36765c[_0x35d47f(0x186)],_0x15e337[_0x35d47f(0x194)]=_0x36765c[_0x35d47f(0x194)]):(_0x421bb0[_0x35d47f(0x152)](_0x337472[_0x35d47f(0x1a1)]),_0x15e337[_0x35d47f(0x169)]());}});}}});}),_0x89818f[_0x5dc35a(0x1a8)]['on'](_0x5dc35a(0x15a),()=>{const _0x1ad46e=_0x5dc35a;_0x421bb0[_0x1ad46e(0x174)]>0x0&&_0x89818f[_0x1ad46e(0x146)]({'isUndoable':!0x1},_0x3aa998=>{const _0x1514d6=_0x1ad46e;for(const [_0x21c2c3,_0x1320f7]of _0x421bb0)_0x1514d6(0x162)==_0x89818f[_0x1514d6(0x14c)][_0x1514d6(0x19a)](_0x21c2c3)[_0x1514d6(0x170)]()[_0x1514d6(0x18f)][_0x1514d6(0x17f)]&&(re(_0x21c2c3[_0x1514d6(0x1a2)](':')[0x2],_0x1320f7[_0x1514d6(0x197)](),_0x89818f,_0x3aa998),_0x1320f7[_0x1514d6(0x169)]());_0x421bb0[_0x1514d6(0x19d)]();});});}(_0x31785d),this[_0x1dcf83(0x160)][_0x1dcf83(0x181)](_0x3776d9[_0x1dcf83(0x1a8)],_0x1dcf83(0x163),(_0x48f5e0,{key:_0x4f62c2})=>{const _0x45bf9c=_0x1dcf83;_0x45bf9c(0x140)===_0x4f62c2&&function(_0x4588b0){const _0x219baa=_0x45bf9c;_0x4588b0[_0x219baa(0x199)][_0x219baa(0x187)][_0x219baa(0x15a)](_0x3367df=>{const _0x395e19=_0x219baa;for(const _0x5bfde9 of _0x4588b0[_0x395e19(0x1ad)][_0x395e19(0x14c)]){if(!_0x5bfde9[_0x395e19(0x1a1)][_0x395e19(0x15f)](_0x395e19(0x1b0)))continue;const _0x4fb1ca=_0x4588b0[_0x395e19(0x199)][_0x395e19(0x1ab)][_0x395e19(0x1ae)](_0x5bfde9[_0x395e19(0x1a1)]);if(_0x4fb1ca){for(const _0x4f3f05 of _0x4fb1ca)_0x3367df[_0x395e19(0x18b)](_0x395e19(0x168),_0x4f3f05);}}});}(_0x31785d);},{'useCapture':!0x0});}[_0x471c0a(0x15c)](){const _0x5ccc8a=_0x471c0a,_0x16a15d=this[_0x5ccc8a(0x179)],_0x27d4bd=_0x16a15d[_0x5ccc8a(0x14b)][_0x5ccc8a(0x19a)](_0x5ccc8a(0x1b1));_0x27d4bd&&_0x16a15d[_0x5ccc8a(0x1ad)]['on'](_0x5ccc8a(0x14a),(_0x2bc7bf,_0x592d8f)=>{const _0x3b65d5=_0x5ccc8a,_0x2375ee=_0x592d8f[0x0];if(_0x3b65d5(0x13f)!=_0x2375ee[_0x3b65d5(0x172)]||!_0x2375ee[_0x3b65d5(0x1a1)][_0x3b65d5(0x15f)](_0x3b65d5(0x17c)))return;const _0x588daa=_0x2375ee[_0x3b65d5(0x1af)];_0x27d4bd[_0x3b65d5(0x142)][_0x3b65d5(0x153)](_0x588daa)&&(_0x2375ee[_0x3b65d5(0x1b6)]=_0x2375ee[_0x3b65d5(0x166)]?_0x16a15d[_0x3b65d5(0x1ad)][_0x3b65d5(0x16b)](_0x2375ee[_0x3b65d5(0x166)][_0x3b65d5(0x186)],_0x2375ee[_0x3b65d5(0x166)][_0x3b65d5(0x194)]):null);},{'priority':_0x5ccc8a(0x1b7)});}[_0x471c0a(0x175)](){const _0x38417c=_0x471c0a;return this[_0x38417c(0x160)][_0x38417c(0x16e)](),super[_0x38417c(0x175)]();}[_0x471c0a(0x1a4)](){const _0x1ce38e=_0x471c0a,_0x2f5eca=this[_0x1ce38e(0x179)],_0xf2db7d=_0x2f5eca[_0x1ce38e(0x1ad)][_0x1ce38e(0x1a8)],_0x218381=_0x2f5eca[_0x1ce38e(0x143)][_0x1ce38e(0x19a)](_0x2205ba);_0x2f5eca[_0x1ce38e(0x1ad)][_0x1ce38e(0x146)]({'isUndoable':!0x1},_0x4100a9=>{const _0x58910e=_0x1ce38e,_0x440ef=_0x58910e(0x1a5)+_0x218381[_0x58910e(0x154)],_0x49f5af=_0x58910e(0x1b3)+_0x218381[_0x58910e(0x154)],_0x500dff=_0x2f5eca[_0x58910e(0x1ad)][_0x58910e(0x14c)][_0x58910e(0x153)](_0x440ef);_0x2f5eca[_0x58910e(0x199)][_0x58910e(0x187)][_0x58910e(0x18d)]?re(_0x218381[_0x58910e(0x154)],_0xf2db7d[_0x58910e(0x149)][_0x58910e(0x17e)](),_0x2f5eca[_0x58910e(0x1ad)],_0x4100a9):_0x500dff&&(_0x4100a9[_0x58910e(0x151)](_0x440ef),_0x4100a9[_0x58910e(0x151)](_0x49f5af));});}}function re(_0x2b3cca,_0x3945fe,_0x1d8b10,_0x20fbf8){const _0x3bfbb5=_0x471c0a,_0x42d9e4=_0x3bfbb5(0x1a5)+_0x2b3cca,_0x588e4a=_0x3bfbb5(0x1b3)+_0x2b3cca,_0x1cde16=_0x3945fe[_0x3bfbb5(0x155)]();let _0x47533b=_0x3945fe[_0x3bfbb5(0x186)];_0x1cde16&&_0x1cde16['is'](_0x3bfbb5(0x16c),_0x3bfbb5(0x167))&&(_0x47533b=function(_0x405655,_0xf40ddb){const _0x1ee35d=_0x3bfbb5;for(const _0x42df8a of _0x405655[_0x1ee35d(0x14e)]())if(_0xf40ddb[_0x1ee35d(0x17a)][_0x1ee35d(0x171)](_0x42df8a,_0x1ee35d(0x164)))return _0x42df8a;}(_0x3945fe,_0x1d8b10),_0x3945fe=_0x20fbf8[_0x3bfbb5(0x16b)](_0x47533b));const _0x4b6f08=_0x20fbf8[_0x3bfbb5(0x16b)](_0x47533b);_0x1d8b10[_0x3bfbb5(0x14c)][_0x3bfbb5(0x153)](_0x42d9e4)?(_0x20fbf8[_0x3bfbb5(0x13c)](_0x42d9e4,{'range':_0x3945fe}),_0x20fbf8[_0x3bfbb5(0x13c)](_0x588e4a,{'range':_0x4b6f08})):(_0x20fbf8[_0x3bfbb5(0x13a)](_0x42d9e4,{'range':_0x3945fe,'usingOperation':!0x0}),_0x20fbf8[_0x3bfbb5(0x13a)](_0x588e4a,{'range':_0x4b6f08,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x24eac5=_0x1a0d;(function(_0x3548cb,_0x5982a5){const _0x4d8386=_0x1a0d,_0x23e413=_0x3548cb();while(!![]){try{const _0x1d5a5d=-parseInt(_0x4d8386(0x20a))/0x1+parseInt(_0x4d8386(0x21a))/0x2*(parseInt(_0x4d8386(0x201))/0x3)+parseInt(_0x4d8386(0x200))/0x4+parseInt(_0x4d8386(0x1cf))/0x5+-parseInt(_0x4d8386(0x225))/0x6*(parseInt(_0x4d8386(0x1ec))/0x7)+parseInt(_0x4d8386(0x1e2))/0x8+parseInt(_0x4d8386(0x219))/0x9*(-parseInt(_0x4d8386(0x1d3))/0xa);if(_0x1d5a5d===_0x5982a5)break;else _0x23e413['push'](_0x23e413['shift']());}catch(_0xb035ee){_0x23e413['push'](_0x23e413['shift']());}}}(_0x4765,0x65d7f));import{Plugin as _0x2ff355}from'ckeditor5/src/core.js';import{global as _0x2cb3d2,DomEmitterMixin as _0x1b3977}from'ckeditor5/src/utils.js';import _0x4c8ed8 from'./sessions.js';import{LiveRange as _0x2b3e0f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1a0d(_0x5114ca,_0x34f694){const _0x476511=_0x4765();return _0x1a0d=function(_0x1a0da5,_0x355a71){_0x1a0da5=_0x1a0da5-0x1b7;let _0x56d8ac=_0x476511[_0x1a0da5];return _0x56d8ac;},_0x1a0d(_0x5114ca,_0x34f694);}export default class H extends _0x2ff355{constructor(){const _0x33d964=_0x1a0d;super(...arguments),this[_0x33d964(0x238)]=new(_0x1b3977())();}static get[_0x24eac5(0x209)](){return[_0x4c8ed8];}static get[_0x24eac5(0x1b7)](){const _0x3b6e40=_0x24eac5;return _0x3b6e40(0x1b8);}[_0x24eac5(0x1be)](){const _0x3bd7af=_0x24eac5,_0x241e5e=this[_0x3bd7af(0x1fc)],_0x126efd=_0x241e5e[_0x3bd7af(0x1eb)][_0x3bd7af(0x1f1)](_0x4c8ed8);_0x241e5e[_0x3bd7af(0x1b9)][_0x3bd7af(0x1fd)](_0x3bd7af(0x227))[_0x3bd7af(0x1da)]({'model':_0x3bd7af(0x1df),'view':(_0x3d2d62,{writer:_0x75717a})=>function(_0x368648,_0x5a6b7c,_0x51b6cf,_0x2e6013){const _0x1d3f1e=_0x3bd7af,_0x2dd4a8=_0x368648[_0x1d3f1e(0x1ce)][_0x1d3f1e(0x1e8)](':')[0x2],_0x9a1e20=_0x51b6cf[_0x1d3f1e(0x22f)](_0x2dd4a8);if(!_0x9a1e20||_0x2dd4a8===_0x51b6cf[_0x1d3f1e(0x1ed)])return;if(!_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x1dd)][_0x1d3f1e(0x224)](_0x368648[_0x1d3f1e(0x1e1)][_0x1d3f1e(0x1c0)],_0x1d3f1e(0x1ca)))return;const _0x987059={'class':_0x1d3f1e(0x1e9)+_0x9a1e20[_0x1d3f1e(0x1e0)][_0x1d3f1e(0x1c8)](),'data-name':_0x9a1e20[_0x1d3f1e(0x1e5)],'data-session-id':_0x2dd4a8},_0x93b0fa=_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x237)][_0x1d3f1e(0x1f1)](_0x368648[_0x1d3f1e(0x1ce)]),_0x4c9e8e=_0x93b0fa[_0x1d3f1e(0x233)](),_0x453d6a=_0x4c9e8e[_0x1d3f1e(0x217)],_0x55b5bc=_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x1dd)];if(_0x453d6a&&_0x55b5bc[_0x1d3f1e(0x1d7)](_0x453d6a)&&_0x55b5bc[_0x1d3f1e(0x1c6)](_0x453d6a)&&!_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x237)][_0x1d3f1e(0x1f1)](_0x1d3f1e(0x1f7)+_0x2dd4a8)[_0x1d3f1e(0x230)]()[_0x1d3f1e(0x1ba)])return;const _0x378884=_0x4c9e8e[_0x1d3f1e(0x22d)];return _0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x1dd)][_0x1d3f1e(0x1de)](_0x378884)&&!_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x211)](_0x378884)&&(_0x987059[_0x1d3f1e(0x1ff)]=!0x1),function(_0x264614,_0x9d153e,_0x106c30){const _0x19b040=_0x1d3f1e,_0x88eb85=_0x264614[_0x19b040(0x1d0)](_0x19b040(0x1bd),_0x9d153e);return _0x264614[_0x19b040(0x22a)](_0x19b040(0x1d8),!0x0,_0x88eb85),_0x88eb85[_0x19b040(0x1e3)]=function(_0x150282){const _0x413882=_0x19b040,_0x5c0b29=this[_0x413882(0x1e4)](_0x150282);return _0x5c0b29[_0x413882(0x220)]=_0x413882(0x1cb)+_0x106c30[_0x413882(0x1e5)]+_0x413882(0x1dc),_0x5c0b29[_0x413882(0x203)](_0x413882(0x1d2),()=>{const _0x52b80d=_0x413882;_0x5c0b29[_0x52b80d(0x20c)][_0x52b80d(0x1cd)](_0x52b80d(0x1bc));}),_0x5c0b29[_0x413882(0x203)](_0x413882(0x20d),()=>{const _0x15563c=_0x413882;_0x5c0b29[_0x15563c(0x20c)][_0x15563c(0x232)](_0x15563c(0x1bc));}),_0x5c0b29;},_0x88eb85[_0x19b040(0x223)]=function(_0x393590){const _0x557db7=_0x19b040;return!(!this[_0x557db7(0x21d)](_0x557db7(0x1d8))||!_0x393590[_0x557db7(0x21d)](_0x557db7(0x1d8))||this[_0x557db7(0x1ee)](_0x557db7(0x22e))!=_0x393590[_0x557db7(0x1ee)](_0x557db7(0x22e)));},_0x88eb85;}(_0x5a6b7c,_0x987059,_0x9a1e20);}(_0x3d2d62,_0x75717a,_0x126efd,_0x241e5e)}),_0x241e5e[_0x3bd7af(0x1b9)][_0x3bd7af(0x1fd)](_0x3bd7af(0x227))[_0x3bd7af(0x1cc)]({'model':_0x3bd7af(0x215),'view':_0x5b2166=>function(_0x2d8960,_0x4e7743){const _0xd0ee37=_0x3bd7af,_0x4d9d6d=_0x2d8960[_0xd0ee37(0x1ce)][_0xd0ee37(0x1e8)](':')[0x2];if(_0x4d9d6d===_0x4e7743[_0xd0ee37(0x1ed)])return null;const _0x5c5047=_0x4e7743[_0xd0ee37(0x22f)](_0x4d9d6d);if(!_0x5c5047)return{'id':_0x4d9d6d,'classes':[]};return{'id':_0x4d9d6d,'classes':[_0xd0ee37(0x1c7),_0x5c5047[_0xd0ee37(0x1e0)][_0xd0ee37(0x1f6)]()],'attributes':{'data-session-id':_0x4d9d6d},'priority':0x7d0+_0x5c5047[_0xd0ee37(0x229)]};}(_0x5b2166,_0x126efd)}),function(_0x35282e){const _0x1c16de=_0x3bd7af,_0xef1d3a=_0x35282e[_0x1c16de(0x218)],_0x567d76=new Map(),_0x33cd91=_0x35282e[_0x1c16de(0x1eb)][_0x1c16de(0x1f1)](_0x4c8ed8);_0xef1d3a[_0x1c16de(0x237)]['on'](_0x1c16de(0x21c),(_0x2dd645,_0x174c68,_0x367d08,_0x35f130)=>{const _0x439b30=_0x1c16de;if(!_0x35f130&&_0x567d76[_0x439b30(0x1f1)](_0x174c68[_0x439b30(0x1e5)]))return _0x567d76[_0x439b30(0x1f1)](_0x174c68[_0x439b30(0x1e5)])[_0x439b30(0x21f)](),void _0x567d76[_0x439b30(0x213)](_0x174c68[_0x439b30(0x1e5)]);const _0x11005d=_0x174c68[_0x439b30(0x1e5)][_0x439b30(0x1e8)](':')[0x2];if(_0x11005d===_0x33cd91[_0x439b30(0x1ed)])return;const _0x577ed1=_0x439b30(0x20e)+_0x11005d;_0xef1d3a[_0x439b30(0x237)][_0x439b30(0x1ef)](_0x577ed1)&&_0x35282e[_0x439b30(0x1fb)][_0x439b30(0x202)](_0x577ed1),_0x174c68['on'](_0x439b30(0x206),(_0x495a78,_0x3363f8,_0x5cd639)=>{const _0x57fbb5=_0x439b30;if(_0x57fbb5(0x1c4)!=_0x3363f8[_0x57fbb5(0x205)][_0x57fbb5(0x1d1)]&&_0x57fbb5(0x1c4)==_0x174c68[_0x57fbb5(0x230)]()[_0x57fbb5(0x205)][_0x57fbb5(0x1d1)]&&!_0x567d76[_0x57fbb5(0x1ef)](_0x174c68[_0x57fbb5(0x1e5)])){const _0x3e949f=_0xef1d3a[_0x57fbb5(0x1dd)][_0x57fbb5(0x21e)](_0x5cd639[_0x57fbb5(0x1d5)]);if(_0x3e949f){const _0x2a017b=_0x2b3e0f[_0x57fbb5(0x1ea)](_0x3e949f);_0x567d76[_0x57fbb5(0x1c5)](_0x174c68[_0x57fbb5(0x1e5)],_0x2a017b),_0x2a017b['on'](_0x57fbb5(0x206),(_0x96b829,_0x3392b4,_0x28206)=>{const _0x3b7d3a=_0x57fbb5;if(_0x3b7d3a(0x1c4)==_0x2a017b[_0x3b7d3a(0x205)][_0x3b7d3a(0x1d1)]){const _0x35eb82=_0xef1d3a[_0x3b7d3a(0x1dd)][_0x3b7d3a(0x21e)](_0x28206[_0x3b7d3a(0x1d5)]);_0x35eb82?(_0x2a017b[_0x3b7d3a(0x1c0)]=_0x35eb82[_0x3b7d3a(0x1c0)],_0x2a017b[_0x3b7d3a(0x1f0)]=_0x35eb82[_0x3b7d3a(0x1f0)]):(_0x567d76[_0x3b7d3a(0x213)](_0x174c68[_0x3b7d3a(0x1e5)]),_0x2a017b[_0x3b7d3a(0x21f)]());}});}}});}),_0xef1d3a[_0x1c16de(0x20f)]['on'](_0x1c16de(0x22b),()=>{const _0x4f136e=_0x1c16de;_0x567d76[_0x4f136e(0x236)]>0x0&&_0xef1d3a[_0x4f136e(0x1d9)]({'isUndoable':!0x1},_0x4e2cd6=>{const _0x5a9ac2=_0x4f136e;for(const [_0x3c1ff0,_0x5777f6]of _0x567d76)_0x5a9ac2(0x1c4)==_0xef1d3a[_0x5a9ac2(0x237)][_0x5a9ac2(0x1f1)](_0x3c1ff0)[_0x5a9ac2(0x230)]()[_0x5a9ac2(0x205)][_0x5a9ac2(0x1d1)]&&(re(_0x3c1ff0[_0x5a9ac2(0x1e8)](':')[0x2],_0x5777f6[_0x5a9ac2(0x1f4)](),_0xef1d3a,_0x4e2cd6),_0x5777f6[_0x5a9ac2(0x21f)]());_0x567d76[_0x5a9ac2(0x1f5)]();});});}(_0x241e5e),this[_0x3bd7af(0x238)][_0x3bd7af(0x22c)](_0x2cb3d2[_0x3bd7af(0x20f)],_0x3bd7af(0x210),(_0x473d70,{key:_0x23a9d0})=>{const _0x257175=_0x3bd7af;_0x257175(0x226)===_0x23a9d0&&function(_0x1c409f){const _0x1836b9=_0x257175;_0x1c409f[_0x1836b9(0x1fb)][_0x1836b9(0x20b)][_0x1836b9(0x22b)](_0x1d016d=>{const _0x5d56b0=_0x1836b9;for(const _0x346496 of _0x1c409f[_0x5d56b0(0x218)][_0x5d56b0(0x237)]){if(!_0x346496[_0x5d56b0(0x1e5)][_0x5d56b0(0x235)](_0x5d56b0(0x1df)))continue;const _0x4bf9c6=_0x1c409f[_0x5d56b0(0x1fb)][_0x5d56b0(0x222)][_0x5d56b0(0x234)](_0x346496[_0x5d56b0(0x1e5)]);if(_0x4bf9c6){for(const _0x2830f3 of _0x4bf9c6)_0x1d016d[_0x5d56b0(0x214)](_0x5d56b0(0x1bc),_0x2830f3);}}});}(_0x241e5e);},{'useCapture':!0x0});}[_0x24eac5(0x1e6)](){const _0x429b75=_0x24eac5,_0x4213d1=this[_0x429b75(0x1fc)],_0x4f49c3=_0x4213d1[_0x429b75(0x208)][_0x429b75(0x1f1)](_0x429b75(0x1e7));_0x4f49c3&&_0x4213d1[_0x429b75(0x218)]['on'](_0x429b75(0x221),(_0x2a549c,_0x28599a)=>{const _0x5b9cc8=_0x429b75,_0x46d75a=_0x28599a[0x0];if(_0x5b9cc8(0x1fe)!=_0x46d75a[_0x5b9cc8(0x228)]||!_0x46d75a[_0x5b9cc8(0x1e5)][_0x5b9cc8(0x235)](_0x5b9cc8(0x1f2)))return;const _0x2d61a5=_0x46d75a[_0x5b9cc8(0x1fa)];_0x4f49c3[_0x5b9cc8(0x207)][_0x5b9cc8(0x1ef)](_0x2d61a5)&&(_0x46d75a[_0x5b9cc8(0x216)]=_0x46d75a[_0x5b9cc8(0x212)]?_0x4213d1[_0x5b9cc8(0x218)][_0x5b9cc8(0x1f8)](_0x46d75a[_0x5b9cc8(0x212)][_0x5b9cc8(0x1c0)],_0x46d75a[_0x5b9cc8(0x212)][_0x5b9cc8(0x1f0)]):null);},{'priority':_0x429b75(0x1db)});}[_0x24eac5(0x1c3)](){const _0x582d4a=_0x24eac5;return this[_0x582d4a(0x238)][_0x582d4a(0x1c1)](),super[_0x582d4a(0x1c3)]();}[_0x24eac5(0x1bf)](){const _0x3c9533=_0x24eac5,_0x415433=this[_0x3c9533(0x1fc)],_0x412147=_0x415433[_0x3c9533(0x218)][_0x3c9533(0x20f)],_0x12b5b8=_0x415433[_0x3c9533(0x1eb)][_0x3c9533(0x1f1)](_0x4c8ed8);_0x415433[_0x3c9533(0x218)][_0x3c9533(0x1d9)]({'isUndoable':!0x1},_0x51ae35=>{const _0x4cd8ef=_0x3c9533,_0x57c27a=_0x4cd8ef(0x1f7)+_0x12b5b8[_0x4cd8ef(0x1ed)],_0x4993e9=_0x4cd8ef(0x20e)+_0x12b5b8[_0x4cd8ef(0x1ed)],_0x207b93=_0x415433[_0x4cd8ef(0x218)][_0x4cd8ef(0x237)][_0x4cd8ef(0x1ef)](_0x57c27a);_0x415433[_0x4cd8ef(0x1fb)][_0x4cd8ef(0x20b)][_0x4cd8ef(0x1d6)]?re(_0x12b5b8[_0x4cd8ef(0x1ed)],_0x412147[_0x4cd8ef(0x231)][_0x4cd8ef(0x1f9)](),_0x415433[_0x4cd8ef(0x218)],_0x51ae35):_0x207b93&&(_0x51ae35[_0x4cd8ef(0x21b)](_0x57c27a),_0x51ae35[_0x4cd8ef(0x21b)](_0x4993e9));});}}function _0x4765(){const _0x447ad0=['batch','editing','editor','for','marker','contenteditable','1689876QiJdCG','3FPtGOF','reconvertMarker','addEventListener','addMarker','root','change:range','_createdBatches','commands','requires','533540wlOlaI','view','classList','mouseleave','user:position:','document','keydown','hasContent','oldRange','delete','removeClass','user:range','newRange','nodeAfter','model','1035WxUjaa','1559054cNWCCq','removeMarker','update:user:range','getCustomProperty','getNearestSelectionRange','detach','innerHTML','applyOperation','mapper','isSimilar','checkChild','3228mPZfeO','Escape','editingDowncast','type','orderNumber','setCustomProperty','change','listenTo','parent','data-session-id','getUserBySessionId','getRange','selection','remove','getStart','markerNameToElements','startsWith','size','markers','_domEmitter','pluginName','UserMarkers','conversion','isCollapsed','getPositions','ck-user__marker_hovered','span','init','createUserMarkerOperations','start','stopListening','updateMarker','destroy','$graveyard','set','isInline','ck-user__selection','getMarkerClass','getContainedElement','$text','<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>','markerToHighlight','add','markerName','2685890OssLJb','createUIElement','rootName','mouseenter','99260EpBnmU','tableCell','deletionPosition','hasDomSelection','isObject','userPositionMarker','enqueueChange','markerToElement','highest','</span>','schema','isLimit','user:position','color','markerRange','5944456gncMFR','render','toDomElement','name','afterInit','undo','split','ck-user__marker\x20','fromRange','plugins','5075NVnksB','mySessionId','getAttribute','has','end','get','user:','element','toRange','clear','getSelectionClass','user:range:','createRange','getFirstRange'];_0x4765=function(){return _0x447ad0;};return _0x4765();}function re(_0x1afe04,_0x20f618,_0x4a499b,_0x5cd5e4){const _0x46eb4c=_0x24eac5,_0xe2512e=_0x46eb4c(0x1f7)+_0x1afe04,_0x9da811=_0x46eb4c(0x20e)+_0x1afe04,_0x49b7d0=_0x20f618[_0x46eb4c(0x1c9)]();let _0x1017d5=_0x20f618[_0x46eb4c(0x1c0)];_0x49b7d0&&_0x49b7d0['is'](_0x46eb4c(0x1f3),_0x46eb4c(0x1d4))&&(_0x1017d5=function(_0x49db42,_0x51305a){const _0x20f448=_0x46eb4c;for(const _0x3380bc of _0x49db42[_0x20f448(0x1bb)]())if(_0x51305a[_0x20f448(0x1dd)][_0x20f448(0x224)](_0x3380bc,_0x20f448(0x1ca)))return _0x3380bc;}(_0x20f618,_0x4a499b),_0x20f618=_0x5cd5e4[_0x46eb4c(0x1f8)](_0x1017d5));const _0x3194ea=_0x5cd5e4[_0x46eb4c(0x1f8)](_0x1017d5);_0x4a499b[_0x46eb4c(0x237)][_0x46eb4c(0x1ef)](_0xe2512e)?(_0x5cd5e4[_0x46eb4c(0x1c2)](_0xe2512e,{'range':_0x20f618}),_0x5cd5e4[_0x46eb4c(0x1c2)](_0x9da811,{'range':_0x3194ea})):(_0x5cd5e4[_0x46eb4c(0x204)](_0xe2512e,{'range':_0x20f618,'usingOperation':!0x0}),_0x5cd5e4[_0x46eb4c(0x204)](_0x9da811,{'range':_0x3194ea,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x1933(_0x5a3562,_0x5f1054){const _0x588e5c=_0x588e();return _0x1933=function(_0x193305,_0x2b0034){_0x193305=_0x193305-0x1af;let _0x3ea1c0=_0x588e5c[_0x193305];return _0x3ea1c0;},_0x1933(_0x5a3562,_0x5f1054);}function _0x588e(){const _0x228e74=['initialReconnectionInterval','delete','state','reconnect','function','limitExceeded','offline','bind','has','cloudServices.connectionTimeout','requires','from','then','connection','_shouldPluginsReconnect','CONNECTING','destroy','define','error','_domEmitter','create','addToReconnectionStack','19928583ZMYqVx','token','change:me','all','CloudServices','constructor','4179YARZeM','_reconnectionStack','959400EwEkcg','168890qXmXRu','26725YMRiQt','cloudservices-init','WebSocketGateway','catch','real-time-collaboration','10136BGtbea','connect','1032AZmJdY','3105033MiJefr','disconnect','Connected\x20users\x20limit\x20exceeded','websocketgateway-missing-token','init','set','get','cloudServices.requestTimeout','online','listenTo','websocketgateway-missing-websocket-url','add','connected','cloudservices-reconnection-error','context','removeFromReconnectionStack','config','isInReconnectionStack','pluginName','plugins','webSocketUrl','CONNECTED','_reconnect','stopListening','DISCONNECTED','_isBrowserOffline','websocketgateway-invalid-plugin-interface','showWarning','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.','code','2281324indSgv','websocketgateway-plugin-already-registered'];_0x588e=function(){return _0x228e74;};return _0x588e();}const _0x201b56=_0x1933;(function(_0x20b97d,_0x106e15){const _0x51bd5d=_0x1933,_0x2f58ac=_0x20b97d();while(!![]){try{const _0x4b66d7=-parseInt(_0x51bd5d(0x1ea))/0x1+-parseInt(_0x51bd5d(0x1eb))/0x2+-parseInt(_0x51bd5d(0x1f4))/0x3+parseInt(_0x51bd5d(0x1ca))/0x4+-parseInt(_0x51bd5d(0x1ec))/0x5*(parseInt(_0x51bd5d(0x1f3))/0x6)+-parseInt(_0x51bd5d(0x1e8))/0x7*(-parseInt(_0x51bd5d(0x1f1))/0x8)+parseInt(_0x51bd5d(0x1e2))/0x9;if(_0x4b66d7===_0x106e15)break;else _0x2f58ac['push'](_0x2f58ac['shift']());}catch(_0x5801d4){_0x2f58ac['push'](_0x2f58ac['shift']());}}}(_0x588e,0x84865));import{ContextPlugin as _0x398c2a}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4604f7,CKEditorError as _0x489b04}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x33b89d,WEB_SOCKET_GATEWAY_STATES as _0x5a35b4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x28cfd7}from'ckeditor5/src/ui.js';class c extends _0x398c2a{static get[_0x201b56(0x1d6)](){const _0xf50fe6=_0x201b56;return[_0xf50fe6(0x1e6),_0x28cfd7];}static get[_0x201b56(0x1be)](){const _0x489f51=_0x201b56;return _0x489f51(0x1ee);}constructor(_0x552e2e){const _0x37ec9a=_0x201b56;super(_0x552e2e),this[_0x37ec9a(0x1b1)](_0x37ec9a(0x1ce),_0x5a35b4[_0x37ec9a(0x1c1)]),this[_0x37ec9a(0x1b1)](_0x37ec9a(0x1c5),!0x1),this[_0x37ec9a(0x1e9)]=new Set(),this[_0x37ec9a(0x1da)]=!0x1,this[_0x37ec9a(0x1df)]=Object[_0x37ec9a(0x1e0)](_0x4604f7);}[_0x201b56(0x1b0)](){const _0x518d7d=_0x201b56,_0x1734ec=this[_0x518d7d(0x1ba)],_0x55d65b=_0x1734ec[_0x518d7d(0x1bf)][_0x518d7d(0x1b2)](_0x518d7d(0x1e6)),_0x32e44d=_0x1734ec[_0x518d7d(0x1bf)][_0x518d7d(0x1b2)](_0x28cfd7);if(!_0x55d65b[_0x518d7d(0x1e3)])throw new _0x489b04(_0x518d7d(0x1af),this);if(!_0x55d65b[_0x518d7d(0x1c0)])throw new _0x489b04(_0x518d7d(0x1b6),this);return this[_0x518d7d(0x1df)][_0x518d7d(0x1b5)](window,_0x518d7d(0x1d2),()=>this[_0x518d7d(0x1c5)]=!0x0),this[_0x518d7d(0x1df)][_0x518d7d(0x1b5)](window,_0x518d7d(0x1b4),()=>this[_0x518d7d(0x1c5)]=!0x1),this[_0x518d7d(0x1ba)][_0x518d7d(0x1bc)][_0x518d7d(0x1dd)](_0x518d7d(0x1d5),0xa),this[_0x518d7d(0x1ba)][_0x518d7d(0x1bc)][_0x518d7d(0x1dd)](_0x518d7d(0x1b3),0x14),c[_0x518d7d(0x1ee)][_0x518d7d(0x1f2)](_0x55d65b[_0x518d7d(0x1e3)],_0x55d65b[_0x518d7d(0x1c0)],{'timeout':0x3e8*this[_0x518d7d(0x1ba)][_0x518d7d(0x1bc)][_0x518d7d(0x1b2)](_0x518d7d(0x1d5)),'requestTimeout':0x3e8*this[_0x518d7d(0x1ba)][_0x518d7d(0x1bc)][_0x518d7d(0x1b2)](_0x518d7d(0x1b3))})[_0x518d7d(0x1d8)](_0x6a441c=>{const _0x30e211=_0x518d7d;if(this[_0x30e211(0x1d9)]=_0x6a441c,this[_0x30e211(0x1d3)](_0x30e211(0x1ce))['to'](_0x6a441c,_0x30e211(0x1ce),this,_0x30e211(0x1c5),(_0x3d1fa5,_0x24e048)=>(_0x30e211(0x1b8)!==_0x3d1fa5&&(this[_0x30e211(0x1da)]=!0x0),_0x24e048||_0x3d1fa5!==_0x5a35b4[_0x30e211(0x1c1)]?_0x5a35b4[_0x30e211(0x1c4)]:this[_0x30e211(0x1ce)]==_0x5a35b4[_0x30e211(0x1c4)]&&this[_0x30e211(0x1da)]?(this[_0x30e211(0x1da)]=!0x1,this[_0x30e211(0x1c2)](),_0x5a35b4[_0x30e211(0x1db)]):_0x5a35b4[_0x30e211(0x1c1)])),this[_0x30e211(0x1d9)]['on'](_0x30e211(0x1de),(_0x21d4b8,_0x2e564b)=>{const _0x512720=_0x30e211;if(_0x512720(0x1d1)!==_0x2e564b[_0x512720(0x1c9)])throw console[_0x512720(0x1de)](_0x2e564b),new _0x489b04(_0x512720(0x1ed),null,{'originalError':_0x2e564b});_0x32e44d[_0x512720(0x1c7)](_0x512720(0x1c8),{'title':_0x512720(0x1f6),'namespace':_0x512720(0x1f0)});}),!_0x6a441c['me'])return new Promise(_0x4b9a5d=>_0x6a441c['on'](_0x30e211(0x1e4),_0x4b9a5d));})[_0x518d7d(0x1ef)](_0x2639fd=>{const _0x5d9f87=_0x518d7d;throw console[_0x5d9f87(0x1de)](_0x2639fd),new _0x489b04(_0x5d9f87(0x1ed),null,{'originalError':_0x2639fd});});}[_0x201b56(0x1e1)](_0x2979e2){const _0x2001bc=_0x201b56;if(_0x2001bc(0x1d0)!=typeof _0x2979e2[_0x2001bc(0x1cf)])throw new _0x489b04(_0x2001bc(0x1c6),this);if(this[_0x2001bc(0x1bd)](_0x2979e2))throw new _0x489b04(_0x2001bc(0x1cb),this,{'name':_0x2979e2[_0x2001bc(0x1e7)][_0x2001bc(0x1be)]});this[_0x2001bc(0x1e9)][_0x2001bc(0x1b7)](_0x2979e2);}[_0x201b56(0x1bb)](_0x12b0ff){const _0x29966c=_0x201b56;this[_0x29966c(0x1e9)][_0x29966c(0x1cd)](_0x12b0ff);}[_0x201b56(0x1bd)](_0x3cc7f5){const _0x3d0334=_0x201b56;return this[_0x3d0334(0x1e9)][_0x3d0334(0x1d4)](_0x3cc7f5);}[_0x201b56(0x1c2)](){const _0x3ca126=_0x201b56;return this[_0x3ca126(0x1d9)][_0x3ca126(0x1cf)]()[_0x3ca126(0x1d8)](()=>Promise[_0x3ca126(0x1e5)](Array[_0x3ca126(0x1d7)](this[_0x3ca126(0x1e9)],_0x3823b3=>_0x3823b3[_0x3ca126(0x1cf)]())))[_0x3ca126(0x1d8)](()=>this[_0x3ca126(0x1ce)]=_0x5a35b4[_0x3ca126(0x1c1)])[_0x3ca126(0x1ef)](_0x38e91b=>{const _0x3e998c=_0x3ca126;throw console[_0x3e998c(0x1de)](_0x38e91b),new _0x489b04(_0x3e998c(0x1b9),this[_0x3e998c(0x1ba)]);});}[_0x201b56(0x1dc)](){const _0x4ddeb5=_0x201b56;this[_0x4ddeb5(0x1d9)]&&this[_0x4ddeb5(0x1d9)][_0x4ddeb5(0x1f5)](),this[_0x4ddeb5(0x1ce)]=_0x5a35b4[_0x4ddeb5(0x1c4)],this[_0x4ddeb5(0x1df)][_0x4ddeb5(0x1c3)](),super[_0x4ddeb5(0x1dc)]();}}c[_0x201b56(0x1ee)]=_0x33b89d,c[_0x201b56(0x1cc)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3c0987=_0x3e16;function _0x3e16(_0x1acac5,_0x8b7ce9){var _0x340128=_0x3401();return _0x3e16=function(_0x3e1680,_0xe35fbd){_0x3e1680=_0x3e1680-0x184;var _0x4f1bbd=_0x340128[_0x3e1680];return _0x4f1bbd;},_0x3e16(_0x1acac5,_0x8b7ce9);}(function(_0x1467a5,_0x3d00b9){var _0x283af7=_0x3e16,_0x28e29e=_0x1467a5();while(!![]){try{var _0x322965=parseInt(_0x283af7(0x184))/0x1*(-parseInt(_0x283af7(0x18b))/0x2)+parseInt(_0x283af7(0x192))/0x3*(-parseInt(_0x283af7(0x18d))/0x4)+-parseInt(_0x283af7(0x18a))/0x5+parseInt(_0x283af7(0x188))/0x6*(-parseInt(_0x283af7(0x18f))/0x7)+parseInt(_0x283af7(0x18c))/0x8+parseInt(_0x283af7(0x186))/0x9*(parseInt(_0x283af7(0x185))/0xa)+-parseInt(_0x283af7(0x187))/0xb*(-parseInt(_0x283af7(0x190))/0xc);if(_0x322965===_0x3d00b9)break;else _0x28e29e['push'](_0x28e29e['shift']());}catch(_0x1b84d6){_0x28e29e['push'](_0x28e29e['shift']());}}}(_0x3401,0x3fa0c));import{Plugin as _0x5c6209}from'ckeditor5/src/core.js';function _0x3401(){var _0x11bdbc=['40ylIoKJ','704448jjTMcP','1148pksRUz','pluginName','14028KFFUWw','264rRnXaV','requires','1479FHMwtk','13697aQhMtU','129100vRqAzb','351ApOBmK','368698iHVVRc','804egzqAO','RealTimeCollaborativeEditing','1921775nasDUL'];_0x3401=function(){return _0x11bdbc;};return _0x3401();}import _0x57a2e6 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x5c6209{static get[_0x3c0987(0x191)](){return[_0x57a2e6];}static get[_0x3c0987(0x18e)](){var _0x3f4aae=_0x3c0987;return _0x3f4aae(0x189);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x50cc2c=_0x53b5;(function(_0x2affa0,_0x5e21b4){const _0x518bb5=_0x53b5,_0x283fd0=_0x2affa0();while(!![]){try{const _0x3b4c20=parseInt(_0x518bb5(0x1a3))/0x1*(-parseInt(_0x518bb5(0x1a1))/0x2)+parseInt(_0x518bb5(0x135))/0x3*(parseInt(_0x518bb5(0x169))/0x4)+parseInt(_0x518bb5(0x13d))/0x5+parseInt(_0x518bb5(0x13b))/0x6*(-parseInt(_0x518bb5(0x199))/0x7)+parseInt(_0x518bb5(0x145))/0x8*(-parseInt(_0x518bb5(0x162))/0x9)+parseInt(_0x518bb5(0x15c))/0xa*(parseInt(_0x518bb5(0x159))/0xb)+-parseInt(_0x518bb5(0x176))/0xc;if(_0x3b4c20===_0x5e21b4)break;else _0x283fd0['push'](_0x283fd0['shift']());}catch(_0x56ae99){_0x283fd0['push'](_0x283fd0['shift']());}}}(_0x3df7,0x8e3e7));import{Plugin as _0x14e663}from'ckeditor5/src/core.js';import{version as _0x3712ce}from'ckeditor5/src/utils.js';import{Users as _0x571fda}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3e7ad2 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x48e5af from'../realtimecollaborativeediting/websocketgateway.js';import _0x310fdc from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x8cf26d,RevisionHistoryService as _0x1d935c,User as _0x1e4ca1,WEB_SOCKET_GATEWAY_STATES as _0x12e4fd}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x53b5(_0x280e43,_0x155ec1){const _0x3df734=_0x3df7();return _0x53b5=function(_0x53b58e,_0xf233a7){_0x53b58e=_0x53b58e-0x133;let _0x2f5196=_0x3df734[_0x53b58e];return _0x2f5196;},_0x53b5(_0x280e43,_0x155ec1);}class v extends _0x14e663{static get[_0x50cc2c(0x193)](){const _0x4dab91=_0x50cc2c;return[_0x48e5af,_0x3e7ad2,_0x4dab91(0x172),_0x310fdc,_0x571fda];}constructor(_0x2be2de){const _0x21a86d=_0x50cc2c;super(_0x2be2de);const _0x1bffd5=this[_0x21a86d(0x141)][_0x21a86d(0x19e)][_0x21a86d(0x16a)](_0x21a86d(0x188));this[_0x21a86d(0x161)]=null,this[_0x21a86d(0x194)]=this[_0x21a86d(0x141)][_0x21a86d(0x185)][_0x21a86d(0x16a)](_0x21a86d(0x172)),this[_0x21a86d(0x192)]=new v[(_0x21a86d(0x158))](_0x1bffd5);}async[_0x50cc2c(0x144)](){const _0xce2085=_0x50cc2c,_0x5b1f7c=this[_0xce2085(0x141)][_0xce2085(0x185)][_0xce2085(0x16a)](_0x3e7ad2),_0x2f0038=_0x5b1f7c[_0xce2085(0x15d)],_0x133479=this[_0xce2085(0x141)][_0xce2085(0x185)][_0xce2085(0x16a)](_0x48e5af);this[_0xce2085(0x194)][_0xce2085(0x189)]({'history':_0x2f0038,'getLatestVersion':()=>this[_0xce2085(0x149)](),'getCurrentRevisionId':()=>_0x5b1f7c[_0xce2085(0x155)]});const _0x2afe95=this[_0xce2085(0x141)][_0xce2085(0x19e)][_0xce2085(0x16a)](_0xce2085(0x183))||_0x3712ce,_0x130e28=await _0x8cf26d[_0xce2085(0x1a0)](_0x133479[_0xce2085(0x15a)],_0x2afe95);this[_0xce2085(0x194)][_0xce2085(0x138)]={'getRevision':async({revisionId:_0x713b1c})=>(await this[_0xce2085(0x163)](),await this[_0xce2085(0x192)][_0xce2085(0x14b)](_0x713b1c)),'updateRevisions':async _0x4c0b82=>{const _0x14740b=_0xce2085;await this[_0x14740b(0x163)]();const _0x40e984=this[_0x14740b(0x194)][_0x14740b(0x17f)];if(_0x130e28&&0x1===_0x4c0b82[_0x14740b(0x157)]&&_0x4c0b82[0x0]['id']===_0x40e984['id'])return _0x4c0b82;for(const _0x3e4ebe of _0x4c0b82)_0x3e4ebe['id']===_0x40e984['id']&&(_0x3e4ebe[_0x14740b(0x13a)]=_0x3e4ebe[_0x14740b(0x168)]===_0x3e4ebe[_0x14740b(0x19b)]);return this[_0x14740b(0x192)][_0x14740b(0x15b)](_0x4c0b82,this[_0x14740b(0x161)])[_0x14740b(0x142)](_0x2c6278=>(this[_0x14740b(0x161)]=_0x2c6278,_0x4c0b82))[_0x14740b(0x177)](_0x426406=>{const _0x3bacb7=_0x14740b;if(st(_0x426406)||_0x3bacb7(0x16c)===_0x426406[_0x3bacb7(0x179)]&&void 0x0!==_0x426406[_0x3bacb7(0x160)][_0x3bacb7(0x173)]){for(const _0x11d6bd of _0x4c0b82){!this[_0x3bacb7(0x194)][_0x3bacb7(0x154)][_0x3bacb7(0x14b)](_0x11d6bd['id'])||this[_0x3bacb7(0x194)][_0x3bacb7(0x14d)](_0x11d6bd['id'],_0x11d6bd,!0x1);}if(st(_0x426406))throw _0x426406;return _0x4c0b82;}throw _0x426406;});}},this[_0xce2085(0x148)](this[_0xce2085(0x192)],_0xce2085(0x17c),(_0x337c14,{revisionsData:_0x1d24c2,requestId:_0x54e593})=>{const _0x37fd02=_0xce2085;Math[_0x37fd02(0x16e)](..._0x1d24c2[_0x37fd02(0x170)](_0x568b8d=>_0x568b8d[_0x37fd02(0x19b)]))>this[_0x37fd02(0x14a)]()-0x1?this[_0x37fd02(0x149)]()[_0x37fd02(0x142)](()=>{const _0x827989=_0x37fd02;this[_0x827989(0x143)](_0x1d24c2,_0x54e593);}):this[_0x37fd02(0x143)](_0x1d24c2,_0x54e593);});const {revisions:_0x118464,requestId:_0x4095a0}=await this[_0xce2085(0x192)][_0xce2085(0x175)](_0x133479[_0xce2085(0x15a)]);_0x133479[_0xce2085(0x146)](this),this[_0xce2085(0x161)]=_0x4095a0,await this[_0xce2085(0x18c)](_0x118464);for(const _0x462772 of _0x118464)this[_0xce2085(0x194)][_0xce2085(0x147)](_0x462772);this[_0xce2085(0x148)](_0x5b1f7c,_0xce2085(0x18a),(_0x3fe3d2,_0x32af4e,_0x445cf3)=>{const _0x24d8db=_0xce2085;_0x445cf3&&(this[_0x24d8db(0x178)]=_0x5b1f7c[_0x24d8db(0x16d)],_0x3fe3d2[_0x24d8db(0x13c)]());}),this[_0xce2085(0x194)][_0xce2085(0x18f)](_0xce2085(0x18b))['to'](_0x133479,_0xce2085(0x13e),_0x368215=>_0x368215===_0x12e4fd[_0xce2085(0x17e)]);}async[_0x50cc2c(0x184)](){const _0x458ba0=_0x50cc2c,_0xed62ae=this[_0x458ba0(0x141)][_0x458ba0(0x185)][_0x458ba0(0x16a)](_0x48e5af),_0xaad094=this[_0x458ba0(0x141)][_0x458ba0(0x185)][_0x458ba0(0x16a)](_0x3e7ad2),_0x37ca0c=async()=>{const _0x596f63=_0x458ba0,_0x964bad=this[_0x596f63(0x194)][_0x596f63(0x17f)],_0x4a41af=_0x964bad['id'],_0x45f5f9=_0x4a41af!==_0xaad094[_0x596f63(0x155)];if(_0x45f5f9){const _0x3b210d=_0xaad094[_0x596f63(0x16d)]-this[_0x596f63(0x178)],_0x57c4e8=this[_0x596f63(0x14a)]();this[_0x596f63(0x194)][_0x596f63(0x166)][_0x596f63(0x14f)]();if(_0x964bad[_0x596f63(0x19b)]+_0x3b210d!==_0x57c4e8){const _0x3ffcd6=_0x964bad[_0x596f63(0x168)]+_0x3b210d,_0x1538b0=this[_0x596f63(0x141)][_0x596f63(0x185)][_0x596f63(0x16a)](_0x571fda),_0x1facb9=this[_0x596f63(0x194)][_0x596f63(0x18d)]({'revision':_0x964bad,'from':_0x3ffcd6,'to':_0x57c4e8});_0x1facb9['id']=_0x964bad['id'];const _0x1f5cb7=_0x1facb9[_0x596f63(0x186)][_0x596f63(0x170)](_0x15b0bb=>_0x1538b0[_0x596f63(0x171)](_0x15b0bb));_0x964bad[_0x596f63(0x174)]({..._0x1facb9,'authors':_0x1f5cb7},!0x0),this[_0x596f63(0x194)][_0x596f63(0x14d)](_0x964bad['id'],_0x1facb9,!0x0);}this[_0x596f63(0x194)][_0x596f63(0x150)]=_0x57c4e8,(_0x964bad[_0x596f63(0x19b)]===_0x964bad[_0x596f63(0x168)]&&!this[_0x596f63(0x194)][_0x596f63(0x190)][_0x596f63(0x167)](_0x4a41af)&&this[_0x596f63(0x194)][_0x596f63(0x154)][_0x596f63(0x17b)][_0x596f63(0x14e)](_0x4a41af),this[_0x596f63(0x194)][_0x596f63(0x14c)](_0x57c4e8));}const {revisions:_0x5a9088,requestId:_0x27d00b}=await this[_0x596f63(0x192)][_0x596f63(0x184)](_0xed62ae[_0x596f63(0x15a)],this[_0x596f63(0x161)]);_0x45f5f9&&_0x5a9088[_0x596f63(0x157)]>0x0?_0xaad094[_0x596f63(0x196)]():(await this[_0x596f63(0x18c)](_0x5a9088),this[_0x596f63(0x143)](_0x5a9088,_0x27d00b),this[_0x596f63(0x194)][_0x596f63(0x19c)]());};return _0xaad094[_0x458ba0(0x153)]?_0x37ca0c():new Promise((_0x2f272f,_0x10df96)=>{const _0x416aae=_0x458ba0;_0xaad094[_0x416aae(0x18e)](_0x416aae(0x18a),()=>{const _0x395ed2=_0x416aae;_0x37ca0c()[_0x395ed2(0x142)](_0x2f272f)[_0x395ed2(0x177)](_0x10df96);});});}[_0x50cc2c(0x134)](){const _0x3c9ef8=_0x50cc2c;super[_0x3c9ef8(0x134)]();}async[_0x50cc2c(0x163)](){const _0x23a938=_0x50cc2c;this[_0x23a938(0x192)][_0x23a938(0x182)]||await new Promise(_0x4923af=>{const _0x449304=_0x23a938;this[_0x449304(0x148)](this[_0x449304(0x192)],_0x449304(0x17d),_0x43563b=>{const _0x2e258b=_0x449304;_0x43563b[_0x2e258b(0x13c)](),_0x4923af();});});}[_0x50cc2c(0x14a)](){const _0x4f7fe7=_0x50cc2c,_0x21dc8a=this[_0x4f7fe7(0x141)][_0x4f7fe7(0x185)][_0x4f7fe7(0x16a)](_0x3e7ad2)[_0x4f7fe7(0x15d)][_0x4f7fe7(0x15e)]()[_0x4f7fe7(0x16f)]();for(const _0x4f5548 of _0x21dc8a)if(_0x4f7fe7(0x187)!==_0x4f5548[_0x4f7fe7(0x140)]||_0x4f5548[_0x4f7fe7(0x13f)])return _0x4f5548[_0x4f7fe7(0x152)]+0x1;}[_0x50cc2c(0x149)](){const _0x29b991=_0x50cc2c,_0x2706ef=this[_0x29b991(0x141)][_0x29b991(0x185)][_0x29b991(0x16a)](_0x3e7ad2);return new Promise(_0xbe47f4=>{const _0x27b264=_0x29b991;_0x2706ef[_0x27b264(0x165)]?_0x2706ef[_0x27b264(0x18e)](_0x27b264(0x19f),()=>{const _0x133e64=_0x27b264;_0xbe47f4(this[_0x133e64(0x14a)]());}):_0xbe47f4(this[_0x27b264(0x14a)]());});}[_0x50cc2c(0x143)](_0x47bfd3,_0x1dbd42){const _0x535864=_0x50cc2c,_0x1c1941=this[_0x535864(0x194)][_0x535864(0x154)];this[_0x535864(0x161)]=_0x1dbd42;for(const _0x1230b0 of _0x47bfd3){const _0xac98ce=_0x1c1941[_0x535864(0x14b)](_0x1230b0['id']);if(_0xac98ce){if((_0x1230b0[_0x535864(0x168)]||_0x1230b0[_0x535864(0x19b)])&&(_0x1230b0[_0x535864(0x191)]=null),_0xac98ce===this[_0x535864(0x194)][_0x535864(0x17f)]){const _0x3d73db=Math[_0x535864(0x16e)](_0xac98ce[_0x535864(0x19b)],_0x1230b0[_0x535864(0x19b)]),_0x288163=Math[_0x535864(0x16e)](_0xac98ce[_0x535864(0x168)],_0x1230b0[_0x535864(0x168)]);let _0x3cda5c;_0xac98ce[_0x535864(0x19b)]===_0x1230b0[_0x535864(0x19b)]&&_0xac98ce[_0x535864(0x168)]===_0x1230b0[_0x535864(0x168)]?(_0x3cda5c=!0x0,this[_0x535864(0x164)](_0x1230b0)):_0x1230b0[_0x535864(0x19b)]===_0x3d73db&&_0x1230b0[_0x535864(0x168)]===_0x288163?_0x3cda5c=!0x1:(_0xac98ce[_0x535864(0x19b)]===_0x3d73db&&_0xac98ce[_0x535864(0x168)]===_0x288163||this[_0x535864(0x139)]({'revision':_0xac98ce,'from':_0x288163,'to':_0x3d73db}),_0x3cda5c=!0x0),_0x3cda5c&&(delete _0x1230b0[_0x535864(0x168)],delete _0x1230b0[_0x535864(0x19b)],delete _0x1230b0[_0x535864(0x191)],delete _0x1230b0[_0x535864(0x137)],delete _0x1230b0[_0x535864(0x186)]);}this[_0x535864(0x194)][_0x535864(0x17a)](_0x1230b0),this[_0x535864(0x164)](_0x1230b0);}else this[_0x535864(0x194)][_0x535864(0x147)](_0x1230b0);}const _0x10ebcf=_0x1c1941[_0x535864(0x136)]();_0x10ebcf[_0x535864(0x16f)]();for(let _0x14290c=0x0;_0x14290c<_0x10ebcf[_0x535864(0x157)]-0x1;_0x14290c++){const _0xe0299c=_0x10ebcf[_0x14290c],_0x3af772=_0x10ebcf[_0x14290c+0x1];if(_0xe0299c[_0x535864(0x168)]<_0x3af772[_0x535864(0x19b)]){const _0x248346=_0x3af772[_0x535864(0x19b)],_0x37f01b=Math[_0x535864(0x16e)](_0x248346,_0xe0299c[_0x535864(0x19b)]);this[_0x535864(0x139)]({'revision':_0xe0299c,'from':_0x248346,'to':_0x37f01b});}}}[_0x50cc2c(0x139)]({revision:_0x55ebb6,from:_0x443852,to:_0x5d767d}={}){const _0xe05261=_0x50cc2c,_0x163be4=this[_0xe05261(0x141)][_0xe05261(0x185)][_0xe05261(0x16a)](_0x571fda),_0x4f1008=this[_0xe05261(0x194)][_0xe05261(0x18d)]({'revision':_0x55ebb6,'from':_0x443852,'to':_0x5d767d});_0x4f1008[_0xe05261(0x156)]=_0x4f1008[_0xe05261(0x186)][_0xe05261(0x170)](_0x158252=>_0x163be4[_0xe05261(0x171)](_0x158252)),_0x55ebb6[_0xe05261(0x174)](_0x4f1008);}[_0x50cc2c(0x164)](_0x4d6097){const _0x472922=_0x50cc2c,_0x26483d={};_0x26483d['id']=_0x4d6097['id'];for(const _0x95afa7 of Object[_0x472922(0x151)](_0x4d6097))'id'!==_0x95afa7&&(_0x26483d[_0x95afa7]=void 0x0);this[_0x472922(0x194)][_0x472922(0x14d)](_0x26483d['id'],_0x26483d,!0x0);}async[_0x50cc2c(0x18c)](_0x2b47c3){const _0x23ef9a=_0x50cc2c,_0x1a5245=this[_0x23ef9a(0x141)][_0x23ef9a(0x185)][_0x23ef9a(0x16a)](_0x571fda),{connection:_0x2efc67}=this[_0x23ef9a(0x141)][_0x23ef9a(0x185)][_0x23ef9a(0x16a)](_0x48e5af),_0x180156=new Set();for(const _0x2db8c1 of _0x2b47c3){for(const _0x105c97 of _0x2db8c1[_0x23ef9a(0x186)])_0x3d10e2(_0x105c97);_0x2db8c1[_0x23ef9a(0x181)]&&_0x3d10e2(_0x2db8c1[_0x23ef9a(0x181)]);}if(0x0===_0x180156[_0x23ef9a(0x195)])return;const _0x563ec1=await _0x1e4ca1[_0x23ef9a(0x19a)](_0x2efc67,Array[_0x23ef9a(0x198)](_0x180156));for(const _0x3053f0 of _0x563ec1)_0x1a5245[_0x23ef9a(0x171)](_0x3053f0['id'])||_0x1a5245[_0x23ef9a(0x19d)](_0x3053f0);function _0x3d10e2(_0x6e6cfe){const _0x3686bf=_0x23ef9a;_0x1a5245[_0x3686bf(0x171)](_0x6e6cfe)||_0x180156[_0x3686bf(0x1a2)](_0x6e6cfe);}}}v[_0x50cc2c(0x158)]=_0x1d935c;function _0x3df7(){const _0x5a883a=['_fixRevision','isEmptyCurrent','56796LTaPWp','off','3954165hCDZNc','state','affectsData','type','editor','then','_handleRevisionsUpdate','init','8oJxTmQ','addToReconnectionStack','addRevisionData','listenTo','_getLatestVersion','_getLatestVersionFromServerOperations','getRevision','_createCurrentRevision','_bufferUpdate','remove','reInit','_startingVersion','keys','baseVersion','_isConnected','repository','sessionId','authors','length','RevisionHistoryService','248875VCOOzI','connection','updateRevisions','240jTMIqC','serverHistory','getOperations','cloud-services-internal-error:\x20Not\x20connected.','data','_lastRequestId','1152477xsMgfs','_waitForServiceReady','_preventResendingRevisionData','_isPendingUpdate','_revisionDataBuilder','has','fromVersion','4OfPqUj','get','message','400','_offset','max','reverse','map','getUser','RevisionTracker','wrongRequestId','_update','connect','6732012WfHOma','catch','_oldOffset','code','setRevisionData','_revisions','revisionsUpdated','connected','CONNECTED','currentRevision','startsWith','creatorId','isConnected','cloudServices.bundleVersion','reconnect','plugins','authorsIds','marker','collaboration.channelId','setSource','change:_isConnected','isEnabled','_fetchMissingUsers','buildRevisionData','once','bind','_bufferedUpdates','diffData','_revisionHistoryService','requires','_revisionTracker','size','_handleReconnectionError','cloud-services-internal-error:\x20Request\x20timeout.','from','119ZUYWRk','getMany','toVersion','sendBufferedUpdates','addUser','config','change:_isPendingUpdate','isBundleUploaded','563606Jlnane','add','1pyvcsX','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','destroy','1141731OsXHlF','getRevisions','createdAt','adapter'];_0x3df7=function(){return _0x5a883a;};return _0x3df7();}export default v;function st(_0x3bc351){const _0x19bfae=_0x50cc2c;return _0x3bc351[_0x19bfae(0x16b)][_0x19bfae(0x180)](_0x19bfae(0x133))||_0x3bc351[_0x19bfae(0x16b)][_0x19bfae(0x180)](_0x19bfae(0x15f))||_0x3bc351[_0x19bfae(0x16b)][_0x19bfae(0x180)](_0x19bfae(0x197));}
|
|
23
|
+
const _0x58aca5=_0x117e;(function(_0x13f163,_0x37faf3){const _0x4e7335=_0x117e,_0x447b1e=_0x13f163();while(!![]){try{const _0xf7d4af=parseInt(_0x4e7335(0x8c))/0x1+parseInt(_0x4e7335(0xb1))/0x2+-parseInt(_0x4e7335(0x96))/0x3*(-parseInt(_0x4e7335(0x95))/0x4)+-parseInt(_0x4e7335(0xc9))/0x5+-parseInt(_0x4e7335(0xd1))/0x6*(parseInt(_0x4e7335(0x8f))/0x7)+-parseInt(_0x4e7335(0xa2))/0x8+parseInt(_0x4e7335(0xa8))/0x9;if(_0xf7d4af===_0x37faf3)break;else _0x447b1e['push'](_0x447b1e['shift']());}catch(_0x14c747){_0x447b1e['push'](_0x447b1e['shift']());}}}(_0x33d7,0x3ddac));import{Plugin as _0x250b81}from'ckeditor5/src/core.js';import{version as _0x20eb76}from'ckeditor5/src/utils.js';import{Users as _0x4d156c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x35f0f7 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x481b92 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3d3c31 from'../realtimecollaborativeediting/sessions.js';function _0x117e(_0x2489ed,_0x187392){const _0x33d7a7=_0x33d7();return _0x117e=function(_0x117e3e,_0x1859eb){_0x117e3e=_0x117e3e-0x7f;let _0x528de0=_0x33d7a7[_0x117e3e];return _0x528de0;},_0x117e(_0x2489ed,_0x187392);}import{EditorService as _0x4f8e6a,RevisionHistoryService as _0x12a974,User as _0x3eddd0,WEB_SOCKET_GATEWAY_STATES as _0x1ab0b4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x250b81{static get[_0x58aca5(0xe3)](){const _0x59bf90=_0x58aca5;return[_0x481b92,_0x35f0f7,_0x59bf90(0x86),_0x3d3c31,_0x4d156c];}constructor(_0x5237a2){const _0x3a60c6=_0x58aca5;super(_0x5237a2);const _0x55fef1=this[_0x3a60c6(0xe4)][_0x3a60c6(0x7f)][_0x3a60c6(0xcd)](_0x3a60c6(0xb2));this[_0x3a60c6(0xdb)]=null,this[_0x3a60c6(0xd2)]=this[_0x3a60c6(0xe4)][_0x3a60c6(0xbd)][_0x3a60c6(0xcd)](_0x3a60c6(0x86)),this[_0x3a60c6(0x8d)]=new v[(_0x3a60c6(0xaa))](_0x55fef1);}async[_0x58aca5(0xeb)](){const _0x918a98=_0x58aca5,_0x553735=this[_0x918a98(0xe4)][_0x918a98(0xbd)][_0x918a98(0xcd)](_0x35f0f7),_0x15ecea=_0x553735[_0x918a98(0xab)],_0x46022a=this[_0x918a98(0xe4)][_0x918a98(0xbd)][_0x918a98(0xcd)](_0x481b92);this[_0x918a98(0xd2)][_0x918a98(0xce)]({'history':_0x15ecea,'getLatestVersion':()=>this[_0x918a98(0x9a)](),'getCurrentRevisionId':()=>_0x553735[_0x918a98(0xca)]});const _0x2ec257=this[_0x918a98(0xe4)][_0x918a98(0x7f)][_0x918a98(0xcd)](_0x918a98(0xb5))||_0x20eb76,_0x3f2a17=await _0x4f8e6a[_0x918a98(0x8b)](_0x46022a[_0x918a98(0xc4)],_0x2ec257);this[_0x918a98(0xd2)][_0x918a98(0x91)]={'getRevision':async({revisionId:_0x1f0f50})=>(await this[_0x918a98(0xd8)](),await this[_0x918a98(0x8d)][_0x918a98(0xb4)](_0x1f0f50)),'updateRevisions':async _0x390baa=>{const _0x52bca6=_0x918a98;await this[_0x52bca6(0xd8)]();const _0x44271b=this[_0x52bca6(0xd2)][_0x52bca6(0xe7)];if(_0x3f2a17&&0x1===_0x390baa[_0x52bca6(0x9f)]&&_0x390baa[0x0]['id']===_0x44271b['id'])return _0x390baa;for(const _0x4f67e3 of _0x390baa)_0x4f67e3['id']===_0x44271b['id']&&(_0x4f67e3[_0x52bca6(0xc3)]=_0x4f67e3[_0x52bca6(0xb0)]===_0x4f67e3[_0x52bca6(0xdf)]);return this[_0x52bca6(0x8d)][_0x52bca6(0xa9)](_0x390baa,this[_0x52bca6(0xdb)])[_0x52bca6(0xa6)](_0x4a6c41=>(this[_0x52bca6(0xdb)]=_0x4a6c41,_0x390baa))[_0x52bca6(0x92)](_0x1a86f9=>{const _0x35b2e5=_0x52bca6;if(st(_0x1a86f9)||_0x35b2e5(0x9d)===_0x1a86f9[_0x35b2e5(0x87)]&&void 0x0!==_0x1a86f9[_0x35b2e5(0xe1)][_0x35b2e5(0xd0)]){for(const _0xff38e4 of _0x390baa){!this[_0x35b2e5(0xd2)][_0x35b2e5(0xac)][_0x35b2e5(0xb4)](_0xff38e4['id'])||this[_0x35b2e5(0xd2)][_0x35b2e5(0x82)](_0xff38e4['id'],_0xff38e4,!0x1);}if(st(_0x1a86f9))throw _0x1a86f9;return _0x390baa;}throw _0x1a86f9;});}},this[_0x918a98(0xcf)](this[_0x918a98(0x8d)],_0x918a98(0xad),(_0x3cc512,{revisionsData:_0x2b4117,requestId:_0x198bf4})=>{const _0x2cb4c7=_0x918a98;Math[_0x2cb4c7(0xd6)](..._0x2b4117[_0x2cb4c7(0x81)](_0x1e7eb6=>_0x1e7eb6[_0x2cb4c7(0xdf)]))>this[_0x2cb4c7(0x9c)]()-0x1?this[_0x2cb4c7(0x9a)]()[_0x2cb4c7(0xa6)](()=>{const _0x15cc6d=_0x2cb4c7;this[_0x15cc6d(0x83)](_0x2b4117,_0x198bf4);}):this[_0x2cb4c7(0x83)](_0x2b4117,_0x198bf4);});const {revisions:_0x1878d7,requestId:_0x1167d6}=await this[_0x918a98(0x8d)][_0x918a98(0xb8)](_0x46022a[_0x918a98(0xc4)]);_0x46022a[_0x918a98(0x94)](this),this[_0x918a98(0xdb)]=_0x1167d6,await this[_0x918a98(0x88)](_0x1878d7);for(const _0x3af6a9 of _0x1878d7)this[_0x918a98(0xd2)][_0x918a98(0xda)](_0x3af6a9);this[_0x918a98(0xcf)](_0x553735,_0x918a98(0xe0),(_0x4f46aa,_0x2341a1,_0x321f26)=>{const _0x11e020=_0x918a98;_0x321f26&&(this[_0x11e020(0x89)]=_0x553735[_0x11e020(0xdd)],_0x4f46aa[_0x11e020(0xa3)]());}),this[_0x918a98(0xd2)][_0x918a98(0xa5)](_0x918a98(0x80))['to'](_0x46022a,_0x918a98(0x9e),_0x5bbaf0=>_0x5bbaf0===_0x1ab0b4[_0x918a98(0xc2)]);}async[_0x58aca5(0x8a)](){const _0x1fbb99=_0x58aca5,_0x59db50=this[_0x1fbb99(0xe4)][_0x1fbb99(0xbd)][_0x1fbb99(0xcd)](_0x481b92),_0x5700ac=this[_0x1fbb99(0xe4)][_0x1fbb99(0xbd)][_0x1fbb99(0xcd)](_0x35f0f7),_0x4f7116=async()=>{const _0x395fdc=_0x1fbb99,_0xc726ec=this[_0x395fdc(0xd2)][_0x395fdc(0xe7)],_0xb22a88=_0xc726ec['id'],_0xa973af=_0xb22a88!==_0x5700ac[_0x395fdc(0xca)];if(_0xa973af){const _0x5ec304=_0x5700ac[_0x395fdc(0xdd)]-this[_0x395fdc(0x89)],_0x2b45b9=this[_0x395fdc(0x9c)]();this[_0x395fdc(0xd2)][_0x395fdc(0xb7)][_0x395fdc(0x97)]();if(_0xc726ec[_0x395fdc(0xdf)]+_0x5ec304!==_0x2b45b9){const _0x83a213=_0xc726ec[_0x395fdc(0xb0)]+_0x5ec304,_0x267fa2=this[_0x395fdc(0xe4)][_0x395fdc(0xbd)][_0x395fdc(0xcd)](_0x4d156c),_0x4480ff=this[_0x395fdc(0xd2)][_0x395fdc(0xec)]({'revision':_0xc726ec,'from':_0x83a213,'to':_0x2b45b9});_0x4480ff['id']=_0xc726ec['id'];const _0x563490=_0x4480ff[_0x395fdc(0xaf)][_0x395fdc(0x81)](_0x108869=>_0x267fa2[_0x395fdc(0xe6)](_0x108869));_0xc726ec[_0x395fdc(0xd3)]({..._0x4480ff,'authors':_0x563490},!0x0),this[_0x395fdc(0xd2)][_0x395fdc(0x82)](_0xc726ec['id'],_0x4480ff,!0x0);}this[_0x395fdc(0xd2)][_0x395fdc(0xb6)]=_0x2b45b9,(_0xc726ec[_0x395fdc(0xdf)]===_0xc726ec[_0x395fdc(0xb0)]&&!this[_0x395fdc(0xd2)][_0x395fdc(0xc1)][_0x395fdc(0xba)](_0xb22a88)&&this[_0x395fdc(0xd2)][_0x395fdc(0xac)][_0x395fdc(0x93)][_0x395fdc(0xd7)](_0xb22a88),this[_0x395fdc(0xd2)][_0x395fdc(0xe8)](_0x2b45b9));}const {revisions:_0x4d2e98,requestId:_0x107256}=await this[_0x395fdc(0x8d)][_0x395fdc(0x8a)](_0x59db50[_0x395fdc(0xc4)],this[_0x395fdc(0xdb)]);_0xa973af&&_0x4d2e98[_0x395fdc(0x9f)]>0x0?_0x5700ac[_0x395fdc(0xc0)]():(await this[_0x395fdc(0x88)](_0x4d2e98),this[_0x395fdc(0x83)](_0x4d2e98,_0x107256),this[_0x395fdc(0xd2)][_0x395fdc(0x90)]());};return _0x5700ac[_0x1fbb99(0xa7)]?_0x4f7116():new Promise((_0x553d03,_0xc48a11)=>{const _0x3474a1=_0x1fbb99;_0x5700ac[_0x3474a1(0xe5)](_0x3474a1(0xe0),()=>{const _0x158150=_0x3474a1;_0x4f7116()[_0x158150(0xa6)](_0x553d03)[_0x158150(0x92)](_0xc48a11);});});}[_0x58aca5(0xbf)](){const _0xbaee1b=_0x58aca5;super[_0xbaee1b(0xbf)]();}async[_0x58aca5(0xd8)](){const _0x426ac4=_0x58aca5;this[_0x426ac4(0x8d)][_0x426ac4(0x98)]||await new Promise(_0x5e764b=>{const _0x32e966=_0x426ac4;this[_0x32e966(0xcf)](this[_0x32e966(0x8d)],_0x32e966(0xe9),_0x300ff7=>{const _0x1b0d15=_0x32e966;_0x300ff7[_0x1b0d15(0xa3)](),_0x5e764b();});});}[_0x58aca5(0x9c)](){const _0x3c0aca=_0x58aca5,_0x441a67=this[_0x3c0aca(0xe4)][_0x3c0aca(0xbd)][_0x3c0aca(0xcd)](_0x35f0f7)[_0x3c0aca(0xab)][_0x3c0aca(0xa4)]()[_0x3c0aca(0xc5)]();for(const _0x1d5a1e of _0x441a67)if(_0x3c0aca(0xbc)!==_0x1d5a1e[_0x3c0aca(0xc7)]||_0x1d5a1e[_0x3c0aca(0xcb)])return _0x1d5a1e[_0x3c0aca(0xd4)]+0x1;}[_0x58aca5(0x9a)](){const _0x4044fb=_0x58aca5,_0x2a3850=this[_0x4044fb(0xe4)][_0x4044fb(0xbd)][_0x4044fb(0xcd)](_0x35f0f7);return new Promise(_0x515261=>{const _0x1eee81=_0x4044fb;_0x2a3850[_0x1eee81(0x85)]?_0x2a3850[_0x1eee81(0xe5)](_0x1eee81(0xb9),()=>{const _0x3f4708=_0x1eee81;_0x515261(this[_0x3f4708(0x9c)]());}):_0x515261(this[_0x1eee81(0x9c)]());});}[_0x58aca5(0x83)](_0x31acfd,_0x40753d){const _0x3c623f=_0x58aca5,_0x540c8e=this[_0x3c623f(0xd2)][_0x3c623f(0xac)];this[_0x3c623f(0xdb)]=_0x40753d;for(const _0x4e488a of _0x31acfd){const _0x21217e=_0x540c8e[_0x3c623f(0xb4)](_0x4e488a['id']);if(_0x21217e){if((_0x4e488a[_0x3c623f(0xb0)]||_0x4e488a[_0x3c623f(0xdf)])&&(_0x4e488a[_0x3c623f(0x9b)]=null),_0x21217e===this[_0x3c623f(0xd2)][_0x3c623f(0xe7)]){const _0x5a024e=Math[_0x3c623f(0xd6)](_0x21217e[_0x3c623f(0xdf)],_0x4e488a[_0x3c623f(0xdf)]),_0x48e53d=Math[_0x3c623f(0xd6)](_0x21217e[_0x3c623f(0xb0)],_0x4e488a[_0x3c623f(0xb0)]);let _0x5072dd;_0x21217e[_0x3c623f(0xdf)]===_0x4e488a[_0x3c623f(0xdf)]&&_0x21217e[_0x3c623f(0xb0)]===_0x4e488a[_0x3c623f(0xb0)]?(_0x5072dd=!0x0,this[_0x3c623f(0xa0)](_0x4e488a)):_0x4e488a[_0x3c623f(0xdf)]===_0x5a024e&&_0x4e488a[_0x3c623f(0xb0)]===_0x48e53d?_0x5072dd=!0x1:(_0x21217e[_0x3c623f(0xdf)]===_0x5a024e&&_0x21217e[_0x3c623f(0xb0)]===_0x48e53d||this[_0x3c623f(0xae)]({'revision':_0x21217e,'from':_0x48e53d,'to':_0x5a024e}),_0x5072dd=!0x0),_0x5072dd&&(delete _0x4e488a[_0x3c623f(0xb0)],delete _0x4e488a[_0x3c623f(0xdf)],delete _0x4e488a[_0x3c623f(0x9b)],delete _0x4e488a[_0x3c623f(0xc6)],delete _0x4e488a[_0x3c623f(0xaf)]);}this[_0x3c623f(0xd2)][_0x3c623f(0xcc)](_0x4e488a),this[_0x3c623f(0xa0)](_0x4e488a);}else this[_0x3c623f(0xd2)][_0x3c623f(0xda)](_0x4e488a);}const _0x3d54ff=_0x540c8e[_0x3c623f(0x84)]();_0x3d54ff[_0x3c623f(0xc5)]();for(let _0x31de23=0x0;_0x31de23<_0x3d54ff[_0x3c623f(0x9f)]-0x1;_0x31de23++){const _0x3071a2=_0x3d54ff[_0x31de23],_0x3e3cf0=_0x3d54ff[_0x31de23+0x1];if(_0x3071a2[_0x3c623f(0xb0)]<_0x3e3cf0[_0x3c623f(0xdf)]){const _0x41aa4a=_0x3e3cf0[_0x3c623f(0xdf)],_0x5ae847=Math[_0x3c623f(0xd6)](_0x41aa4a,_0x3071a2[_0x3c623f(0xdf)]);this[_0x3c623f(0xae)]({'revision':_0x3071a2,'from':_0x41aa4a,'to':_0x5ae847});}}}[_0x58aca5(0xae)]({revision:_0xce2b2b,from:_0x3316e6,to:_0x3c02fa}={}){const _0x31191b=_0x58aca5,_0x2202e1=this[_0x31191b(0xe4)][_0x31191b(0xbd)][_0x31191b(0xcd)](_0x4d156c),_0x279074=this[_0x31191b(0xd2)][_0x31191b(0xec)]({'revision':_0xce2b2b,'from':_0x3316e6,'to':_0x3c02fa});_0x279074[_0x31191b(0xe2)]=_0x279074[_0x31191b(0xaf)][_0x31191b(0x81)](_0x280151=>_0x2202e1[_0x31191b(0xe6)](_0x280151)),_0xce2b2b[_0x31191b(0xd3)](_0x279074);}[_0x58aca5(0xa0)](_0x566a84){const _0x4cf834=_0x58aca5,_0x168d51={};_0x168d51['id']=_0x566a84['id'];for(const _0x7fa33d of Object[_0x4cf834(0xa1)](_0x566a84))'id'!==_0x7fa33d&&(_0x168d51[_0x7fa33d]=void 0x0);this[_0x4cf834(0xd2)][_0x4cf834(0x82)](_0x168d51['id'],_0x168d51,!0x0);}async[_0x58aca5(0x88)](_0x320c70){const _0x4540eb=_0x58aca5,_0x551930=this[_0x4540eb(0xe4)][_0x4540eb(0xbd)][_0x4540eb(0xcd)](_0x4d156c),{connection:_0x31f8fc}=this[_0x4540eb(0xe4)][_0x4540eb(0xbd)][_0x4540eb(0xcd)](_0x481b92),_0x43de4d=new Set();for(const _0x59d1c9 of _0x320c70){for(const _0xe6213b of _0x59d1c9[_0x4540eb(0xaf)])_0x58bff2(_0xe6213b);_0x59d1c9[_0x4540eb(0xea)]&&_0x58bff2(_0x59d1c9[_0x4540eb(0xea)]);}if(0x0===_0x43de4d[_0x4540eb(0xbb)])return;const _0x474fb6=await _0x3eddd0[_0x4540eb(0xbe)](_0x31f8fc,Array[_0x4540eb(0xde)](_0x43de4d));for(const _0x38982d of _0x474fb6)_0x551930[_0x4540eb(0xe6)](_0x38982d['id'])||_0x551930[_0x4540eb(0xc8)](_0x38982d);function _0x58bff2(_0x2a6fa3){const _0x3ed3c7=_0x4540eb;_0x551930[_0x3ed3c7(0xe6)](_0x2a6fa3)||_0x43de4d[_0x3ed3c7(0x99)](_0x2a6fa3);}}}v[_0x58aca5(0xaa)]=_0x12a974;function _0x33d7(){const _0xc6a04=['wrongRequestId','678CLuzjZ','_revisionTracker','_update','baseVersion','cloud-services-internal-error:\x20Not\x20connected.','max','remove','_waitForServiceReady','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','_lastRequestId','startsWith','_offset','from','toVersion','change:_isConnected','data','authors','requires','editor','once','getUser','currentRevision','_createCurrentRevision','connected','creatorId','init','buildRevisionData','config','isEnabled','map','_bufferUpdate','_handleRevisionsUpdate','getRevisions','_isPendingUpdate','RevisionTracker','code','_fetchMissingUsers','_oldOffset','reconnect','isBundleUploaded','92296LStPFj','_revisionHistoryService','message','3234RYdXyb','sendBufferedUpdates','adapter','catch','_revisions','addToReconnectionStack','4jbKugr','1190001Hukpru','reInit','isConnected','add','_getLatestVersion','diffData','_getLatestVersionFromServerOperations','400','state','length','_preventResendingRevisionData','keys','1923912iltKOs','off','getOperations','bind','then','_isConnected','1546551QaBZlX','updateRevisions','RevisionHistoryService','serverHistory','repository','revisionsUpdated','_fixRevision','authorsIds','fromVersion','737872bQozgR','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','getRevision','cloudServices.bundleVersion','_startingVersion','_revisionDataBuilder','connect','change:_isPendingUpdate','has','size','marker','plugins','getMany','destroy','_handleReconnectionError','_bufferedUpdates','CONNECTED','isEmptyCurrent','connection','reverse','createdAt','type','addUser','2418435aWTGiI','sessionId','affectsData','setRevisionData','get','setSource','listenTo'];_0x33d7=function(){return _0xc6a04;};return _0x33d7();}export default v;function st(_0x490b60){const _0x475f23=_0x58aca5;return _0x490b60[_0x475f23(0x8e)][_0x475f23(0xdc)](_0x475f23(0xd9))||_0x490b60[_0x475f23(0x8e)][_0x475f23(0xdc)](_0x475f23(0xd5))||_0x490b60[_0x475f23(0x8e)][_0x475f23(0xdc)](_0x475f23(0xb3));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4d94bb=_0x38cd;(function(_0x58a4e8,_0x1dbde0){var _0x15764e=_0x38cd,_0x494406=_0x58a4e8();while(!![]){try{var _0x184153=parseInt(_0x15764e(0x11c))/0x1+parseInt(_0x15764e(0x124))/0x2+parseInt(_0x15764e(0x125))/0x3+-parseInt(_0x15764e(0x128))/0x4*(parseInt(_0x15764e(0x11f))/0x5)+parseInt(_0x15764e(0x121))/0x6*(parseInt(_0x15764e(0x127))/0x7)+parseInt(_0x15764e(0x120))/0x8*(-parseInt(_0x15764e(0x123))/0x9)+-parseInt(_0x15764e(0x11e))/0xa;if(_0x184153===_0x1dbde0)break;else _0x494406['push'](_0x494406['shift']());}catch(_0x2b0e61){_0x494406['push'](_0x494406['shift']());}}}(_0x467e,0xa5354));import{Plugin as _0x3c1fa7}from'ckeditor5/src/core.js';import _0x3a86b2 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0xb8bc2e from'./realtimecollaborativeediting.js';export default class d extends _0x3c1fa7{static get[_0x4d94bb(0x11b)](){var _0x50b1a3=_0x4d94bb;return[_0x50b1a3(0x122),_0x3a86b2,_0xb8bc2e];}static get[_0x4d94bb(0x11d)](){var _0x1d601b=_0x4d94bb;return _0x1d601b(0x126);}}function _0x38cd(_0x55c1e1,_0x4ad321){var _0x467ec=_0x467e();return _0x38cd=function(_0x38cd1f,_0x549db2){_0x38cd1f=_0x38cd1f-0x11b;var _0x29fc22=_0x467ec[_0x38cd1f];return _0x29fc22;},_0x38cd(_0x55c1e1,_0x4ad321);}function _0x467e(){var _0x35314f=['RevisionHistory','1224xwjVVw','1900708AHUfqR','2851473rIfOWt','RealTimeCollaborativeRevisionHistory','294fbLfqi','2597828VOMRcS','requires','1343924ewKIQQ','pluginName','16165180xFxuGM','5EGzpPZ','46264eWCcIP','69198NxAHMg'];_0x467e=function(){return _0x35314f;};return _0x467e();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd4a82c=_0x57b1;(function(_0x3c68b7,_0x1acb7a){const _0x321aae=_0x57b1,_0x57fa8c=_0x3c68b7();while(!![]){try{const _0x293650=parseInt(_0x321aae(0x1b2))/0x1+parseInt(_0x321aae(0x192))/0x2*(-parseInt(_0x321aae(0x1c8))/0x3)+-parseInt(_0x321aae(0x1c3))/0x4*(-parseInt(_0x321aae(0x1b0))/0x5)+-parseInt(_0x321aae(0x1a0))/0x6+-parseInt(_0x321aae(0x1a7))/0x7+-parseInt(_0x321aae(0x1b6))/0x8*(parseInt(_0x321aae(0x1bf))/0x9)+parseInt(_0x321aae(0x1cb))/0xa;if(_0x293650===_0x1acb7a)break;else _0x57fa8c['push'](_0x57fa8c['shift']());}catch(_0x248103){_0x57fa8c['push'](_0x57fa8c['shift']());}}}(_0x4508,0xb576b));import{Plugin as _0x20e781}from'ckeditor5/src/core.js';function _0x57b1(_0x310792,_0x432096){const _0x450808=_0x4508();return _0x57b1=function(_0x57b1de,_0x54f326){_0x57b1de=_0x57b1de-0x192;let _0x1d1073=_0x450808[_0x57b1de];return _0x1d1073;},_0x57b1(_0x310792,_0x432096);}import{User as _0x34cc90,TrackChangesService as _0x5b9138}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x34c1e5 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3afdbe from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x46d3b8}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x20e781{static get[_0xd4a82c(0x19c)](){const _0x7cc16b=_0xd4a82c;return[_0x3afdbe,_0x7cc16b(0x1a9),_0x34c1e5];}constructor(_0x4bc7b4){const _0x16704a=_0xd4a82c;super(_0x4bc7b4);const _0x33faa8=this[_0x16704a(0x1b8)][_0x16704a(0x1c2)][_0x16704a(0x1a1)](_0x16704a(0x194));this[_0x16704a(0x19e)]=new Map(),this[_0x16704a(0x1c7)]=new g[(_0x16704a(0x195))](_0x33faa8);}[_0xd4a82c(0x19d)](){const _0x382616=_0xd4a82c,_0x35f61d=this[_0x382616(0x1b8)][_0x382616(0x1a5)][_0x382616(0x1a1)](_0x34c1e5),_0xf5202b=this[_0x382616(0x1b8)][_0x382616(0x1a5)][_0x382616(0x1a1)](_0x382616(0x1a9));return _0xf5202b[_0x382616(0x1be)]={'getSuggestion':async _0x56b653=>{const _0x5289ce=_0x382616;await this[_0x5289ce(0x1ae)]();const _0x4bf876=await this[_0x5289ce(0x1c7)][_0x5289ce(0x1a1)](_0x56b653)[_0x5289ce(0x1c1)](R);return await this[_0x5289ce(0x197)]([_0x4bf876]),_0x4bf876;},'addSuggestion':async({id:_0x219927,type:_0x2e9947,data:_0x56064f,originalSuggestionId:_0x1ee2b4,attributes:_0x3b8337})=>{const _0x187de7=_0x382616;await this[_0x187de7(0x1ae)]();const _0x399480={'id':_0x219927,'type':_0x2e9947,'data':_0x56064f,'originalSuggestionId':_0x1ee2b4,'attributes':_0x3b8337},_0x1d5f45=await this[_0x187de7(0x1c7)][_0x187de7(0x1bd)](_0x219927,_0x2e9947,_0x56064f,_0x1ee2b4,_0x3b8337)[_0x187de7(0x1c1)](_0xa3df74=>{if(st(_0xa3df74))return new Promise(_0x462f9b=>{const _0x2d190b=_0x57b1;this[_0x2d190b(0x19e)][_0x2d190b(0x19f)](_0x219927,{'resolve':_0x462f9b,'suggestionData':_0x399480});});throw _0xa3df74;});return this[_0x187de7(0x19e)][_0x187de7(0x1ad)](_0x219927),_0x1d5f45;},'updateSuggestion':async(_0x5bc01b,_0xf57590)=>{const _0x1157d2=_0x382616;if(await this[_0x1157d2(0x1ae)](),_0x1157d2(0x1c0)!==_0xf57590[_0x1157d2(0x1af)])return this[_0x1157d2(0x1c7)][_0x1157d2(0x1c5)](_0x5bc01b,_0xf57590)[_0x1157d2(0x1c1)](R);}},this[_0x382616(0x1a4)](this[_0x382616(0x1c7)],_0x382616(0x19b),(_0x351f96,_0x12ad4b)=>{const _0x35a917=_0x382616;_0xf5202b[_0x35a917(0x1a3)](_0x12ad4b['id'])&&(_0xf5202b[_0x35a917(0x1bc)](_0x12ad4b['id'])[_0x35a917(0x1c6)]=_0x12ad4b[_0x35a917(0x1c6)]);}),this[_0x382616(0x1c7)][_0x382616(0x1ac)](_0x35f61d[_0x382616(0x1b1)])[_0x382616(0x1b4)](_0x4f0ad1=>(_0x35f61d[_0x382616(0x193)](this),this[_0x382616(0x197)](_0x4f0ad1)[_0x382616(0x1b4)](()=>{const _0x3365d1=_0x382616;for(const _0xc66911 of _0x4f0ad1){_0xf5202b[_0x3365d1(0x19a)](_0xc66911)[_0x3365d1(0x1c4)]=!0x0;}})));}async[_0xd4a82c(0x1bb)](){const _0x28726d=_0xd4a82c,_0x50a203=this[_0x28726d(0x1b8)][_0x28726d(0x1a5)][_0x28726d(0x1a1)](_0x28726d(0x1a9)),{connection:_0x27faeb}=this[_0x28726d(0x1b8)][_0x28726d(0x1a5)][_0x28726d(0x1a1)](_0x34c1e5),_0x44af17=await this[_0x28726d(0x1c7)][_0x28726d(0x1ac)](_0x27faeb);await this[_0x28726d(0x197)](_0x44af17);for(const {suggestionData:_0x30fc6b,resolve:_0xe3dcaf}of this[_0x28726d(0x19e)][_0x28726d(0x196)]()){let _0x387d93=_0x44af17[_0x28726d(0x1b3)](_0x8499bd=>_0x8499bd['id']===_0x30fc6b['id']);_0x387d93||(_0x387d93=await this[_0x28726d(0x1c7)][_0x28726d(0x1bd)](_0x30fc6b['id'],_0x30fc6b[_0x28726d(0x1cd)],_0x30fc6b[_0x28726d(0x1a8)],_0x30fc6b[_0x28726d(0x1c9)])),_0xe3dcaf(_0x387d93);}for(const _0x3251d7 of _0x44af17)_0x50a203[_0x28726d(0x1a3)](_0x3251d7['id'])||_0x50a203[_0x28726d(0x19a)](_0x3251d7);}async[_0xd4a82c(0x1ae)](){const _0xea4a8a=_0xd4a82c;this[_0xea4a8a(0x1c7)][_0xea4a8a(0x1ab)]||await new Promise(_0x4366da=>{const _0x46fa27=_0xea4a8a;this[_0x46fa27(0x1a4)](this[_0x46fa27(0x1c7)],_0x46fa27(0x1ca),_0x58ff8b=>{const _0x549d33=_0x46fa27;_0x58ff8b[_0x549d33(0x1cc)](),_0x4366da();});});}async[_0xd4a82c(0x197)](_0x2e486c){const _0x2ae94c=_0xd4a82c,_0x27f898=this[_0x2ae94c(0x1b8)][_0x2ae94c(0x1a5)][_0x2ae94c(0x1a1)](_0x46d3b8),{connection:_0x2b0bff}=this[_0x2ae94c(0x1b8)][_0x2ae94c(0x1a5)][_0x2ae94c(0x1a1)](_0x34c1e5),_0x5cc3fa=new Set();for(const {authorId:_0x20a945}of _0x2e486c)_0x27f898[_0x2ae94c(0x199)](_0x20a945)||_0x5cc3fa[_0x2ae94c(0x1bd)](_0x20a945);if(0x0===_0x5cc3fa[_0x2ae94c(0x1a6)])return;const _0x460d62=await _0x34cc90[_0x2ae94c(0x1b7)](_0x2b0bff,Array[_0x2ae94c(0x1b9)](_0x5cc3fa));for(const _0x44aa3f of _0x460d62)_0x27f898[_0x2ae94c(0x199)](_0x44aa3f['id'])||_0x27f898[_0x2ae94c(0x1ba)](_0x44aa3f);}}function _0x4508(){const _0x396a86=['suggestionUpdated','requires','init','_bufferedRequests','set','3571158pMWlFa','get','cloud-services-internal-error:\x20Not\x20connected.','hasSuggestion','listenTo','plugins','size','4928798EmVtPu','data','TrackChangesEditing','message','isConnected','connect','delete','_waitForServiceReady','state','67315yJYNWv','connection','797067OOEaCT','find','then','cloud-services-internal-error:\x20Request\x20timeout.','2069552VSKzkd','getMany','editor','from','addUser','reconnect','getSuggestion','add','adapter','27HhFMbj','open','catch','config','128KSFKGt','_saved','update','attributes','_trackChangesService','30087EZgIyU','originalSuggestionId','connected','22827820fUMExt','off','type','138WXIgLN','addToReconnectionStack','collaboration.channelId','TrackChangesService','values','_fetchMissingUsersForThreads','startsWith','getUser','addSuggestionData'];_0x4508=function(){return _0x396a86;};return _0x4508();}g[_0xd4a82c(0x195)]=_0x5b9138;export default g;function R(_0x947f1d){if(st(_0x947f1d))return new Promise(()=>{});throw _0x947f1d;}function st(_0x2c075b){const _0x482473=_0xd4a82c;return _0x2c075b[_0x482473(0x1aa)][_0x482473(0x198)](_0x482473(0x1a2))||_0x2c075b[_0x482473(0x1aa)][_0x482473(0x198)](_0x482473(0x1b5));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x3f4ece=_0x3791;function _0x69bf(){var _0x172440=['130382CEcUeW','pluginName','2506104EHrBxn','51341059jcvCiG','298550bajmbC','10FOdPno','4GDVeYW','TrackChanges','12nCGvUF','13377303GhmJDE','requires','97081fRWyhD','80fJNWSz','2308791SgTyWW','RealTimeCollaborativeTrackChanges'];_0x69bf=function(){return _0x172440;};return _0x69bf();}(function(_0x2da2fb,_0x532b49){var _0x5c8a1d=_0x3791,_0x1f6ac4=_0x2da2fb();while(!![]){try{var _0x3d51f2=-parseInt(_0x5c8a1d(0x8b))/0x1+-parseInt(_0x5c8a1d(0x82))/0x2+-parseInt(_0x5c8a1d(0x8d))/0x3*(parseInt(_0x5c8a1d(0x86))/0x4)+parseInt(_0x5c8a1d(0x84))/0x5*(-parseInt(_0x5c8a1d(0x88))/0x6)+parseInt(_0x5c8a1d(0x80))/0x7*(-parseInt(_0x5c8a1d(0x8c))/0x8)+-parseInt(_0x5c8a1d(0x89))/0x9*(parseInt(_0x5c8a1d(0x85))/0xa)+parseInt(_0x5c8a1d(0x83))/0xb;if(_0x3d51f2===_0x532b49)break;else _0x1f6ac4['push'](_0x1f6ac4['shift']());}catch(_0x4fe3af){_0x1f6ac4['push'](_0x1f6ac4['shift']());}}}(_0x69bf,0xb8788));import{Plugin as _0x1cd74c}from'ckeditor5/src/core.js';import _0x109820 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';function _0x3791(_0x3908a1,_0x59d9fd){var _0x69bf34=_0x69bf();return _0x3791=function(_0x3791ce,_0x35d303){_0x3791ce=_0x3791ce-0x7f;var _0x2b6f78=_0x69bf34[_0x3791ce];return _0x2b6f78;},_0x3791(_0x3908a1,_0x59d9fd);}import _0x10b447 from'./realtimecollaborativecomments.js';export default class p extends _0x1cd74c{static get[_0x3f4ece(0x8a)](){var _0x340b2e=_0x3f4ece;return[_0x10b447,_0x109820,_0x340b2e(0x87)];}static get[_0x3f4ece(0x81)](){var _0x168477=_0x3f4ece;return _0x168477(0x7f);}}
|