@ckeditor/ckeditor5-real-time-collaboration 43.2.0-alpha.5 → 43.2.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x55fa9d=_0x3ae2;(function(_0x466f91,_0x5f28ed){const _0x1f9330=_0x3ae2,_0x543eae=_0x466f91();while(!![]){try{const _0x3c13e2=-parseInt(_0x1f9330(0x194))/0x1*(-parseInt(_0x1f9330(0x16e))/0x2)+-parseInt(_0x1f9330(0x172))/0x3*(parseInt(_0x1f9330(0x204))/0x4)+-parseInt(_0x1f9330(0x19e))/0x5+-parseInt(_0x1f9330(0x145))/0x6*(-parseInt(_0x1f9330(0x1c2))/0x7)+parseInt(_0x1f9330(0x1eb))/0x8+-parseInt(_0x1f9330(0x22f))/0x9*(-parseInt(_0x1f9330(0x1d1))/0xa)+parseInt(_0x1f9330(0x17d))/0xb;if(_0x3c13e2===_0x5f28ed)break;else _0x543eae['push'](_0x543eae['shift']());}catch(_0x2c9b71){_0x543eae['push'](_0x543eae['shift']());}}}(_0x3e14,0x1c554));import{Plugin as _0x590c32,PendingActions as _0x3b8acb}from'ckeditor5/src/core.js';import{CKEditorError as _0x1075a7,version as _0xfc972a,uid as _0x5dd9a4}from'ckeditor5/src/utils.js';import{Notification as _0xe5f911}from'ckeditor5/src/ui.js';import{transformSets as _0x2eed1a,NoOperation as _0x3494dc,InsertOperation as _0x434b5c,MarkerOperation as _0x4eccb4,RootAttributeOperation as _0x5c443b,OperationFactory as _0x106fc6,History as _0x30d5c6}from'ckeditor5/src/engine.js';import _0x789517 from'./websocketgateway.js';function _0x3e14(){const _0x5ef342=['forEach','destroy','currentDocumentSession','getOperations','realtimecollaborationclient-init-non-existent-root','Synchronization\x20issue','editing','60lJiLdQ','map','affectsData','_setPendingAction','end','connect','_handleInitialConnectionData','enableReadOnlyMode','decompress','connected','baseVersion','change:range','Permissions','_connectAfterSessionHasBeenFlushed','sessionId','CollaborativeEditingService','_handleReconnectionError','from','then','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_compressor','init','_operationToId','operationsReceived','isUndoneOperation','parse','1491504jnTqbh','reconnection:\x20flushed\x20session','collaboration','409','realtimecollaborationclient-initservice-internal-error','batch','finally','push','_sendBufferedOperationsDelayId','_applyOperationsSet','model','_addKnownRoot','_channelId','_connectService','set','lastOperationAcceptedAt','_shouldSendUpdate','_offset','_bufferedOperations','getMany','_refreshUserSelectionMarkers','_service','_crash','_lastServerVersion','message','40GHllBy','_clearPendingAction','roots','compress','size','wasUndone','listenTo','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectedSelectable','permissions','setIdForTheLastOperation','history','getDocumentDetails','realtimecollaborationclient-init-document-already-initialized','change:_isPendingUpdate','version','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','userId','root','get','offset','createPositionAt','_ignoredOperations','createPositionFromPath','_updateServerHistory','length','position','entries','lastSyncVersion','createUserMarkerOperations','_isConnected','addOperation','_isLoaded','keys','lastOperationId','Notification','loadRoot','realtimecollaborationclient-sendbufferedoperations','rootsAttributes','config','metadata','realtimecollaborationclient-initservice-incorrect-server-operation','27549xALVNp','mySessionId','PENDING_ACTION_SENDING_DATA','pluginName','attributes','fire','realtimecollaborationclient-init-session-connection-error','addRoot','path','_document','apply','_knownOperations','addUser','_operationIdentifier','getRoot','_handleReconnectionResponse','sessionCreatedAt','_sendBufferedOperationsDelayed','_isAttached','setPermissions','createdAt','return','_saveOperationInBuffer','type','differ','175632bJpETC','startsWith','_isPendingUpdate','string','document:write','selection','document','remove','_handleServerResponse','_disconnectService','_isDisconnection','data','rootName','ready','_hasSynchronizationProblem','sendOperations','bind','initData','connection','isEnabled','removeFromReconnectionStack','showWarning','cloud-services-internal-error:\x20Not\x20connected.','CommentsOnly','isDocumentOperation','_baseBufferDelay','targetPosition','multi-root-editor-root-attributes-no-root','__className','_isInit','directChange','enqueueChange','_getAffectedRoot','catch','insert','_pendingAction','code','_handleSendingSelectionMarkers','getIdOfTheLastOperation','requires','_waitUntilSynced','160946HbfSCw','has','isReadOnly','includes','55779GvJcxS','_setUpDataInit','state','_initSessionsHandling','lastDocumentSession','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','InsertOperation','_lastSyncedOperationId','getConnectedSessions','rtc-offline','wereChangesApplied','1580909pstHQR','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','toJSON','cloudServices.bundleVersion','_getOperationsFromInitData','slice','disconnected','_decompressOperations','collaboration-missing-channelid','_handleReceivedOperations','_loadRoot','add','suppressErrorInCollaboration','_knownRootNames','start','cs:removeUser','applyOperation','_bufferRootLoad','real-time-collaboration','view','_initThrowingOnDataSet','cloud-services-internal-error:\x20Request\x20timeout.','plugins','1TpXPYg','realtimecollaborationclient-handleserverresponse','disconnect','off','realtimecollaborationclient-init-connection-failed','_fetchMissingUsers','unregister','_sendBufferedOperations','_hasSelectionChanged','reconnect','781430LOSaPL','error','reset','_disconnectionOperations','createRoot','change:hasDomSelection','_isEditingAllowed','addToReconnectionStack','getOperationAuthor','_compressOperations','sessionAdd:','fromJSON','channelSessions','_shouldSendSelectionUpdate','disableReadOnlyMode','collaboration.channelId','stopListening','markers','_authorId','RealTimeCollaborationClient','serverHistory','locale','_currentBufferDelay','addRootAttribute','register','filter','clone','define','newRange','high','$root','change:_isEditingAllowed','createRange','404','cloudDocumentVersion','move','7RMvRrd','marker','_handleExternalOperations','stop','round','editor','rtc-destroyed','getUser'];_0x3e14=function(){return _0x5ef342;};return _0x3e14();}import _0x27aeba from'./sessions.js';function _0x3ae2(_0x3e8da9,_0x4b604c){const _0x3e1443=_0x3e14();return _0x3ae2=function(_0x3ae2cb,_0x415e80){_0x3ae2cb=_0x3ae2cb-0x139;let _0x50dae0=_0x3e1443[_0x3ae2cb];return _0x50dae0;},_0x3ae2(_0x3e8da9,_0x4b604c);}import _0x369b98 from'./usermarkers.js';import{getTranslation as _0x4864c6}from'../common-translations.js';import{Compressor as _0x2101f7}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x47d8b1}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1d3c0d,CollaborativeEditingService as _0xe093e1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x590c32{static get[_0x55fa9d(0x16c)](){return[_0x789517,_0x27aeba,_0x369b98,_0x3b8acb,_0x47d8b1,_0xe5f911];}static get[_0x55fa9d(0x232)](){const _0x5e9ac9=_0x55fa9d;return _0x5e9ac9(0x1b1);}get[_0x55fa9d(0x1c0)](){const _0x2a2136=_0x55fa9d;return this[_0x2a2136(0x202)]+this[_0x2a2136(0x1fc)];}get[_0x55fa9d(0x202)](){const _0x1199c8=_0x55fa9d;return this[_0x1199c8(0x1b2)][_0x1199c8(0x214)]-this[_0x1199c8(0x1fc)];}get[_0x55fa9d(0x221)](){const _0xd139fc=_0x55fa9d,_0x4ca563=this[_0xd139fc(0x1b2)][_0xd139fc(0x1cd)]();for(let _0x582920=_0x4ca563[_0xd139fc(0x21e)]-0x1;_0x582920>=0x0;_0x582920--){const _0x4ed002=_0x4ca563[_0x582920];if(!this[_0xd139fc(0x1a1)][_0xd139fc(0x16f)](_0x4ed002))return _0x4ed002[_0xd139fc(0x1db)]+0x1-this[_0xd139fc(0x1fc)];}return 0x0;}constructor(_0x40b3b6){const _0x31324b=_0x55fa9d;if(super(_0x40b3b6),this[_0x31324b(0x1fc)]=0x0,this[_0x31324b(0x1df)]=null,this[_0x31324b(0x1b2)]=new _0x30d5c6(),this[_0x31324b(0x1c7)][_0x31324b(0x22c)][_0x31324b(0x1b9)](_0x31324b(0x1ed),{}),this[_0x31324b(0x1f7)]=this[_0x31324b(0x1c7)][_0x31324b(0x22c)][_0x31324b(0x218)](_0x31324b(0x1ad)),!this[_0x31324b(0x1f7)])throw new _0x1075a7(_0x31324b(0x185),this);const _0x1d9e0a=_0x40b3b6[_0x31324b(0x22c)][_0x31324b(0x218)](_0x31324b(0x180))||_0xfc972a;this[_0x31324b(0x200)]=new l[(_0x31324b(0x1e0))](_0x1d9e0a,this[_0x31324b(0x1f7)]),this[_0x31324b(0x238)]=this[_0x31324b(0x1c7)][_0x31324b(0x1f5)][_0x31324b(0x14b)],this[_0x31324b(0x1e5)]=new _0x2101f7(),this[_0x31324b(0x1fd)]=[],this[_0x31324b(0x23a)]=new WeakSet(),this[_0x31324b(0x18a)]=new Set(),this[_0x31324b(0x1f9)](_0x31324b(0x147),!0x1),this[_0x31324b(0x1f9)](_0x31324b(0x153),!0x1),this[_0x31324b(0x168)]=null,this[_0x31324b(0x19c)]=!0x1,this[_0x31324b(0x1f3)]=null,this[_0x31324b(0x15e)]=0x12c,this[_0x31324b(0x1b4)]=this[_0x31324b(0x15e)],this[_0x31324b(0x179)]=null,this[_0x31324b(0x1a1)]=new WeakSet(),this[_0x31324b(0x139)]=new X(this[_0x31324b(0x1a1)]);}[_0x55fa9d(0x1e6)](){const _0x1363af=_0x55fa9d,_0xca2410=this[_0x1363af(0x1c7)],_0x3302f0=_0xca2410[_0x1363af(0x193)][_0x1363af(0x218)](_0x47d8b1),_0x58e6c2=_0xca2410[_0x1363af(0x193)][_0x1363af(0x218)](_0x789517);this[_0x1363af(0x20a)](_0x3302f0,_0x1363af(0x1a6),(_0x2b9602,_0x3f988c)=>{const _0x2e2933=_0x1363af,_0x10a6f3=_0x3f988c[0x0];_0x10a6f3[_0x2e2933(0x1b0)]&&(_0x2b9602[_0x2e2933(0x141)]=_0x3302f0[_0x2e2933(0x1c9)](_0x10a6f3[_0x2e2933(0x1b0)]),_0x2b9602[_0x2e2933(0x1c5)]()),null===_0x10a6f3[_0x2e2933(0x1b0)]&&(_0x2b9602[_0x2e2933(0x141)]=null,_0x2b9602[_0x2e2933(0x1c5)]());},{'priority':_0x1363af(0x1bb)}),this[_0x1363af(0x20a)](_0xca2410[_0x1363af(0x1f5)][_0x1363af(0x14b)][_0x1363af(0x14a)],_0x1363af(0x1dc),(_0x4c4d84,_0x401372)=>{const _0x14480b=_0x1363af;_0x401372[_0x14480b(0x163)]&&this[_0x14480b(0x1ff)]();}),this[_0x1363af(0x20a)](_0xca2410[_0x1363af(0x1d0)][_0x1363af(0x190)],_0x1363af(0x1a3),()=>{const _0x2e4409=_0x1363af;this[_0x2e4409(0x1ff)]();}),this[_0x1363af(0x191)](),_0xca2410[_0x1363af(0x1f5)]['on'](_0x1363af(0x18d),(_0x5f2b2a,_0x270289)=>{const _0x860f8e=_0x1363af,_0x47a4ac=_0x270289[0x0];_0x47a4ac[_0x860f8e(0x15d)]&&(this[_0x860f8e(0x142)](_0x47a4ac),this[_0x860f8e(0x1fb)]()&&this[_0x860f8e(0x13d)]());}),this[_0x1363af(0x173)](),this[_0x1363af(0x155)](_0x1363af(0x1a4))['to'](_0x58e6c2,_0x1363af(0x174),this,_0x1363af(0x153),(_0x2165c7,_0x1256d9)=>_0x1363af(0x1da)===_0x2165c7&&!_0x1256d9),this['on'](_0x1363af(0x1bd),()=>{const _0x2277ff=_0x1363af;this[_0x2277ff(0x1a4)]?_0xca2410[_0x2277ff(0x1ac)](_0x2277ff(0x17b)):_0xca2410[_0x2277ff(0x1d8)](_0x2277ff(0x17b));}),this[_0x1363af(0x1a4)]?_0xca2410[_0x1363af(0x1ac)](_0x1363af(0x17b)):_0xca2410[_0x1363af(0x1d8)](_0x1363af(0x17b)),this[_0x1363af(0x1f9)](_0x1363af(0x223),!0x1);}async[_0x55fa9d(0x19d)](){const _0x53c628=_0x55fa9d,_0x581bab=this[_0x53c628(0x1c7)][_0x53c628(0x193)][_0x53c628(0x218)](_0x27aeba),_0x3ffdac=this[_0x53c628(0x1c7)][_0x53c628(0x193)][_0x53c628(0x218)](_0x789517);try{this[_0x53c628(0x147)]=!0x0,_0x581bab[_0x53c628(0x19a)](this[_0x53c628(0x1f7)]);const _0x24e2ea=await this[_0x53c628(0x200)][_0x53c628(0x19d)](_0x3ffdac[_0x53c628(0x157)],this[_0x53c628(0x221)]);await this[_0x53c628(0x13b)](_0x24e2ea)&&(this[_0x53c628(0x147)]=!0x1,this[_0x53c628(0x205)]());const _0x5eb599=await this[_0x53c628(0x200)][_0x53c628(0x17a)]();_0x581bab[_0x53c628(0x1b6)](this[_0x53c628(0x1f7)],_0x5eb599),this[_0x53c628(0x16a)](),this[_0x53c628(0x223)]=!0x0;}catch(_0x19be09){if(function(_0x204009){const _0x175ba8=_0x53c628;return _0x175ba8(0x1bf)===_0x204009[_0x175ba8(0x169)];}(_0x19be09)&&this[_0x53c628(0x1df)])await this[_0x53c628(0x1de)]();else{if(function(_0x53c3e6){const _0x268893=_0x53c628;return _0x268893(0x1ee)===_0x53c3e6[_0x268893(0x169)];}(_0x19be09)){const _0xb6fc1f=_0x4864c6(this[_0x53c628(0x1c7)][_0x53c628(0x1b3)],_0x53c628(0x215));this[_0x53c628(0x1e1)](_0xb6fc1f);}else{if(!(_0x19be09 instanceof J))throw _0x19be09;this[_0x53c628(0x1e1)]();}}}}[_0x55fa9d(0x1cb)](){const _0x387675=_0x55fa9d,_0x2a603f=this[_0x387675(0x1c7)][_0x387675(0x193)][_0x387675(0x218)](_0x789517),_0x54b77d=this[_0x387675(0x1c7)][_0x387675(0x193)][_0x387675(0x218)](_0x27aeba);this[_0x387675(0x1c7)][_0x387675(0x1d8)](_0x387675(0x1c8)),_0x54b77d[_0x387675(0x1aa)][_0x387675(0x16f)](this[_0x387675(0x1f7)])&&_0x54b77d[_0x387675(0x19a)](this[_0x387675(0x1f7)]),_0x2a603f[_0x387675(0x159)](this),this[_0x387675(0x14e)](),super[_0x387675(0x1cb)]();}async[_0x55fa9d(0x13b)](_0x2ce517){const _0xfe2fc4=_0x55fa9d;if(this[_0xfe2fc4(0x1df)]!==_0x2ce517[_0xfe2fc4(0x1df)]&&this[_0xfe2fc4(0x179)]!==_0x2ce517[_0xfe2fc4(0x227)])throw new J();return this[_0xfe2fc4(0x1df)]=_0x2ce517[_0xfe2fc4(0x1df)],this[_0xfe2fc4(0x14d)]([],{..._0x2ce517,'wereChangesApplied':!0x1,'data':_0x2ce517[_0xfe2fc4(0x150)]},_0xfe2fc4(0x19d));}async[_0x55fa9d(0x1f8)](_0x2b9f74,_0x580c03=!0x1){const _0x214305=_0x55fa9d,{connection:_0x1cd564}=this[_0x214305(0x1c7)][_0x214305(0x193)][_0x214305(0x218)](_0x789517);l[_0x214305(0x1e0)][_0x214305(0x17a)](_0x1cd564,this[_0x214305(0x1f7)])[_0x214305(0x1e3)](_0x3ddaf4=>this[_0x214305(0x175)](_0x3ddaf4))[_0x214305(0x166)](_0x379fa8=>{const _0x47f28e=_0x214305;this[_0x47f28e(0x201)](_0x47f28e(0x235),_0x379fa8);}),this[_0x214305(0x20a)](this[_0x214305(0x200)],_0x214305(0x1e8),this[_0x214305(0x186)][_0x214305(0x155)](this)),this[_0x214305(0x20a)](this[_0x214305(0x200)],_0x214305(0x19f),(_0x8d27c9,_0x3f5119)=>{const _0xdb38ed=_0x214305;this[_0xdb38ed(0x201)](_0xdb38ed(0x1ef),_0x3f5119);}),this[_0x214305(0x20a)](this[_0x214305(0x200)],_0x214305(0x183),()=>{const _0x424734=_0x214305;this[_0x424734(0x223)]=!0x1;});const _0x4a7f55=this[_0x214305(0x139)][_0x214305(0x16b)](_0x2b9f74);this[_0x214305(0x147)]=!0x0;const _0x380df1=await this[_0x214305(0x200)][_0x214305(0x1d6)](_0x1cd564,this[_0x214305(0x1a7)](_0x2b9f74),_0x4a7f55);if(this[_0x214305(0x1df)]=_0x380df1[_0x214305(0x1df)],_0x580c03){if(!_0x380df1[_0x214305(0x17c)])return void this[_0x214305(0x1e1)]();this[_0x214305(0x147)]=!0x1,this[_0x214305(0x205)](),this[_0x214305(0x1b2)][_0x214305(0x1a0)](),this[_0x214305(0x1fc)]=_0x380df1[_0x214305(0x219)],this[_0x214305(0x1b2)][_0x214305(0x214)]=this[_0x214305(0x1fc)],await this[_0x214305(0x14d)](_0x2b9f74,_0x380df1,_0x214305(0x1ec));}else await this[_0x214305(0x1d7)](_0x380df1,_0x2b9f74);this[_0x214305(0x16a)](),this[_0x214305(0x223)]=!0x0;}[_0x55fa9d(0x16a)](){const _0x13e746=_0x55fa9d,_0x50ffee=this[_0x13e746(0x1c7)][_0x13e746(0x193)][_0x13e746(0x218)](_0x27aeba),_0x1711df=this[_0x13e746(0x1c7)][_0x13e746(0x193)][_0x13e746(0x218)](_0x369b98),_0x4601b9=_0x50ffee[_0x13e746(0x1aa)][_0x13e746(0x218)](this[_0x13e746(0x1f7)]);_0x4601b9&&_0x4601b9[_0x13e746(0x21e)]>0x1?_0x1711df[_0x13e746(0x222)]():this[_0x13e746(0x20a)](_0x50ffee,_0x13e746(0x1a8)+this[_0x13e746(0x1f7)],()=>{const _0x4e12ee=_0x13e746;0x2===_0x50ffee[_0x4e12ee(0x1aa)][_0x4e12ee(0x218)](this[_0x4e12ee(0x1f7)])[_0x4e12ee(0x21e)]&&_0x1711df[_0x4e12ee(0x222)]();});}async[_0x55fa9d(0x186)](_0x2067df,_0x471756,_0x2c10fa,_0x1acd1d){const _0x60a917=_0x55fa9d;if(!this[_0x60a917(0x147)]&&this[_0x60a917(0x238)][_0x60a917(0x214)]==_0x471756){const _0x1542cf=this[_0x60a917(0x184)](_0x2c10fa,_0x1acd1d);await this[_0x60a917(0x199)](_0x1542cf),this[_0x60a917(0x1c4)](_0x1542cf,_0x471756,_0x2c10fa[_0x60a917(0x227)])||this[_0x60a917(0x201)](_0x60a917(0x22e));}}async[_0x55fa9d(0x1de)](){const _0x5e9634=_0x55fa9d;this[_0x5e9634(0x14e)]();const {locale:_0x36c4a9}=this[_0x5e9634(0x1c7)];let _0x43bd35;try{_0x43bd35=await this[_0x5e9634(0x200)][_0x5e9634(0x211)]();}catch(_0x38057b){const _0x1ff3e8=_0x4864c6(_0x36c4a9,_0x5e9634(0x177));return void this[_0x5e9634(0x1e1)](_0x1ff3e8);}const _0x2a1147=_0x43bd35[_0x5e9634(0x1cc)]||_0x43bd35[_0x5e9634(0x176)];if(this[_0x5e9634(0x179)]===_0x2a1147[_0x5e9634(0x227)])await this[_0x5e9634(0x1f8)](this[_0x5e9634(0x1c7)][_0x5e9634(0x1f5)][_0x5e9634(0x14b)][_0x5e9634(0x210)][_0x5e9634(0x1cd)](),!0x0);else{const _0x43286e=_0x4864c6(_0x36c4a9,_0x5e9634(0x17e));this[_0x5e9634(0x1e1)](_0x43286e);}}[_0x55fa9d(0x14e)](){const _0x389cbb=_0x55fa9d;this[_0x389cbb(0x200)][_0x389cbb(0x196)](),this[_0x389cbb(0x1fd)]=[],clearTimeout(this[_0x389cbb(0x1f3)]),this[_0x389cbb(0x1ae)](this[_0x389cbb(0x200)]);}[_0x55fa9d(0x175)](_0x1b6705){const _0x458b73=_0x55fa9d,_0x1f20b2=this[_0x458b73(0x1c7)][_0x458b73(0x193)][_0x458b73(0x218)](_0x27aeba);this[_0x458b73(0x20a)](_0x1f20b2,_0x458b73(0x1a8)+this[_0x458b73(0x1f7)],(_0xdf80a6,{session:_0x5bb904})=>{const _0x318237=_0x458b73;if(_0x5bb904['id']===_0x1f20b2[_0x318237(0x230)]){_0xdf80a6[_0x318237(0x197)]();const _0x382b61=this[_0x318237(0x1c7)][_0x318237(0x193)][_0x318237(0x16f)](_0x318237(0x15c))&&this[_0x318237(0x1c7)][_0x318237(0x193)][_0x318237(0x218)](_0x318237(0x15c));let _0x343b6b=_0x5bb904[_0x318237(0x20e)];_0x382b61&&_0x382b61[_0x318237(0x158)]&&(_0x343b6b=_0x343b6b[_0x318237(0x1b7)](_0x1cc343=>_0x318237(0x149)!==_0x1cc343)),this[_0x318237(0x1c7)][_0x318237(0x193)][_0x318237(0x218)](_0x318237(0x1dd))[_0x318237(0x13f)](_0x343b6b,this[_0x318237(0x1f7)]);}}),_0x1f20b2[_0x458b73(0x1b6)](this[_0x458b73(0x1f7)],_0x1b6705);}[_0x55fa9d(0x191)](){const _0x54612d=_0x55fa9d,_0x565d5a=this[_0x54612d(0x1c7)][_0x54612d(0x150)][_0x54612d(0x1f9)];this[_0x54612d(0x1c7)][_0x54612d(0x150)][_0x54612d(0x1f9)]=(..._0x1fba7b)=>{const _0x11f220=_0x54612d;if(!_0x1fba7b[_0x1fba7b[_0x11f220(0x21e)]-0x1][_0x11f220(0x189)])throw new _0x1075a7(_0x11f220(0x1e4),this);_0x565d5a[_0x11f220(0x239)](this[_0x11f220(0x1c7)][_0x11f220(0x150)],_0x1fba7b);};}[_0x55fa9d(0x173)](){const _0x61078e=_0x55fa9d;this[_0x61078e(0x1c7)][_0x61078e(0x150)]['on'](_0x61078e(0x1e6),(_0x4dae28,[_0x2f1c90])=>{const _0x2be2e6=_0x61078e;if(this[_0x2be2e6(0x238)][_0x2be2e6(0x214)])throw new _0x1075a7(_0x2be2e6(0x212),this);_0x4dae28[_0x2be2e6(0x1c5)](),this[_0x2be2e6(0x1d4)]();const _0x237968=this[_0x2be2e6(0x1c7)][_0x2be2e6(0x22c)][_0x2be2e6(0x218)](_0x2be2e6(0x22b)),_0x2e37c8=this[_0x2be2e6(0x181)](_0x2f1c90,_0x237968);0x0==_0x2e37c8[_0x2be2e6(0x21e)]&&_0x2e37c8[_0x2be2e6(0x1f2)](new _0x3494dc(0x0)),_0x4dae28[_0x2be2e6(0x141)]=this[_0x2be2e6(0x1f8)](_0x2e37c8)[_0x2be2e6(0x1e3)](()=>{const _0x330607=_0x2be2e6;this[_0x330607(0x1c7)][_0x330607(0x193)][_0x330607(0x218)](_0x789517)[_0x330607(0x1a5)](this),this[_0x330607(0x1c7)][_0x330607(0x150)][_0x330607(0x234)](_0x330607(0x152));})[_0x2be2e6(0x166)](_0x804d3e=>this[_0x2be2e6(0x201)](_0x2be2e6(0x198),_0x804d3e))[_0x2be2e6(0x1f1)](()=>this[_0x2be2e6(0x205)]());},{'priority':_0x61078e(0x1bb)}),this[_0x61078e(0x1c7)]['on'](_0x61078e(0x229),async(_0x3d08d7,[_0x1a0e5b,_0x9e57a2])=>{const _0x17a0c6=_0x61078e;_0x3d08d7[_0x17a0c6(0x1c5)]();const _0x199800=this[_0x17a0c6(0x1c7)][_0x17a0c6(0x1f5)][_0x17a0c6(0x14b)][_0x17a0c6(0x13a)](_0x1a0e5b);if(!this[_0x17a0c6(0x18a)][_0x17a0c6(0x16f)](_0x1a0e5b)){const _0x4dfa92=_0x9e57a2&&_0x9e57a2[_0x17a0c6(0x150)]?_0x9e57a2[_0x17a0c6(0x150)]:'',_0x41718b=_0x9e57a2&&_0x9e57a2[_0x17a0c6(0x233)]?_0x9e57a2[_0x17a0c6(0x233)]:{};await this[_0x17a0c6(0x187)](_0x1a0e5b,_0x4dfa92,_0x41718b);}this[_0x17a0c6(0x1c7)][_0x17a0c6(0x1f5)][_0x17a0c6(0x164)]({'isUndoable':!0x1},()=>{const _0x5eab4c=_0x17a0c6;_0x199800[_0x5eab4c(0x225)]=!0x0,this[_0x5eab4c(0x1c7)][_0x5eab4c(0x1f5)][_0x5eab4c(0x14b)][_0x5eab4c(0x144)][_0x5eab4c(0x18e)](_0x199800);});},{'priority':_0x61078e(0x1bb)});}async[_0x55fa9d(0x199)](_0x5c4b4d){const _0x2b481e=_0x55fa9d,_0x4a3604=this[_0x2b481e(0x1c7)][_0x2b481e(0x193)][_0x2b481e(0x218)](_0x47d8b1),{connection:_0x138270}=this[_0x2b481e(0x1c7)][_0x2b481e(0x193)][_0x2b481e(0x218)](_0x789517),_0x2f4510=new Set();for(const _0x239418 of _0x5c4b4d){const _0x1cb206=_0x239418[_0x2b481e(0x1b0)];_0x1cb206&&!_0x4a3604[_0x2b481e(0x1c9)](_0x1cb206)&&_0x2f4510[_0x2b481e(0x188)](_0x1cb206);}if(0x0===_0x2f4510[_0x2b481e(0x208)])return;const _0x5670f2=await _0x1d3c0d[_0x2b481e(0x1fe)](_0x138270,Array[_0x2b481e(0x1e2)](_0x2f4510));for(const _0x55f4de of _0x5670f2)_0x4a3604[_0x2b481e(0x1c9)](_0x55f4de['id'])||_0x4a3604[_0x2b481e(0x23b)](_0x55f4de);}[_0x55fa9d(0x181)](_0x2eb0eb,_0x38f315={}){const _0x2e4591=_0x55fa9d,_0x13c8a5=this[_0x2e4591(0x1c7)][_0x2e4591(0x1f5)],_0x4b2bce=[];let _0x3f4af4=0x0;const _0x40dcec=_0x2e4591(0x148)==typeof _0x2eb0eb?{'main':_0x2eb0eb}:_0x2eb0eb;for(const _0x22b996 of Object[_0x2e4591(0x226)](_0x40dcec)){if(!this[_0x2e4591(0x238)][_0x2e4591(0x206)][_0x2e4591(0x16f)](_0x22b996))throw new _0x1075a7(_0x2e4591(0x1ce),this);const _0x3bdc13=this[_0x2e4591(0x1c7)][_0x2e4591(0x150)][_0x2e4591(0x1ea)](_0x40dcec[_0x22b996]),_0x28b15e=this[_0x2e4591(0x238)][_0x2e4591(0x13a)](_0x22b996),_0x56af4d=new _0x434b5c(_0x13c8a5[_0x2e4591(0x21a)](_0x28b15e,0x0),_0x3bdc13,_0x3f4af4++);_0x4b2bce[_0x2e4591(0x1f2)](_0x56af4d);for(const [_0x25b7b9,_0x1b87c5]of _0x3bdc13[_0x2e4591(0x1af)]){const _0x3906b4=_0x13c8a5[_0x2e4591(0x1be)](_0x13c8a5[_0x2e4591(0x21c)](_0x28b15e,_0x1b87c5[_0x2e4591(0x18b)][_0x2e4591(0x237)][_0x2e4591(0x182)]()),_0x13c8a5[_0x2e4591(0x21c)](_0x28b15e,_0x1b87c5[_0x2e4591(0x1d5)][_0x2e4591(0x237)][_0x2e4591(0x182)]())),_0x3014be=new _0x4eccb4(_0x25b7b9,null,_0x3906b4,_0x13c8a5[_0x2e4591(0x1af)],!0x0,_0x3f4af4++);_0x4b2bce[_0x2e4591(0x1f2)](_0x3014be);}}if(_0x38f315)for(const [_0x5bec46,_0x3ed166]of Object[_0x2e4591(0x220)](_0x38f315)){const _0x4ae96d=_0x13c8a5[_0x2e4591(0x14b)][_0x2e4591(0x13a)](_0x5bec46);if(!_0x4ae96d)throw new _0x1075a7(_0x2e4591(0x160),null);for(const [_0x589a08,_0x407d70]of Object[_0x2e4591(0x220)](_0x3ed166))if(null!==_0x407d70){const _0x186b73=new _0x5c443b(_0x4ae96d,_0x589a08,null,_0x407d70,_0x3f4af4++);_0x4b2bce[_0x2e4591(0x1f2)](_0x186b73);}}return _0x4b2bce;}async[_0x55fa9d(0x187)](_0x10e5fd,_0x5c8323,_0x5edb8e){const _0x1f347d=_0x55fa9d;this[_0x1f347d(0x181)]({[_0x10e5fd]:_0x5c8323},{[_0x10e5fd]:_0x5edb8e})[_0x1f347d(0x1ca)]((_0x36eeaf,_0x30fb9f)=>{const _0x1ae864=_0x1f347d;_0x36eeaf[_0x1ae864(0x1db)]=this[_0x1ae864(0x238)][_0x1ae864(0x214)]+_0x30fb9f,_0x36eeaf[_0x1ae864(0x162)]=!0x0,this[_0x1ae864(0x142)](_0x36eeaf);}),this[_0x1f347d(0x13d)](),await this[_0x1f347d(0x16d)]();}async[_0x55fa9d(0x1d7)](_0x386b82,_0x2b362d){const _0x2ff5f1=_0x55fa9d;let _0x677efd;this[_0x2ff5f1(0x1fc)]=_0x386b82[_0x2ff5f1(0x219)];const _0x52f013=_0x386b82[_0x2ff5f1(0x17c)]&&!_0x386b82[_0x2ff5f1(0x156)],_0x4ebaec=_0x52f013?0x0:_0x386b82[_0x2ff5f1(0x150)][_0x2ff5f1(0x1db)];if(_0x2b362d[_0x2ff5f1(0x1ca)](_0x27dfd0=>{const _0x46dd5f=_0x2ff5f1;_0x27dfd0[_0x46dd5f(0x162)]=!0x0,_0x27dfd0[_0x46dd5f(0x140)]=_0x386b82[_0x46dd5f(0x13c)],_0x27dfd0[_0x46dd5f(0x1b0)]=null;}),_0x52f013)_0x677efd=_0x2b362d,this[_0x2ff5f1(0x1f4)](_0x677efd,_0x52f013);else{if(_0x386b82[_0x2ff5f1(0x156)]){const _0x212045=this[_0x2ff5f1(0x181)](_0x386b82[_0x2ff5f1(0x156)]);this[_0x2ff5f1(0x238)][_0x2ff5f1(0x210)][_0x2ff5f1(0x214)]=-_0x212045[_0x2ff5f1(0x21e)],_0x212045[_0x2ff5f1(0x1ca)](_0x508e04=>{const _0x2e5d4c=_0x2ff5f1;_0x508e04[_0x2e5d4c(0x1db)]-=_0x212045[_0x2e5d4c(0x21e)],_0x508e04[_0x2e5d4c(0x140)]=_0x386b82[_0x2e5d4c(0x13c)],_0x508e04[_0x2e5d4c(0x162)]=!0x0,_0x508e04[_0x2e5d4c(0x1b0)]=null;}),this[_0x2ff5f1(0x1f4)](_0x212045,!0x0),this[_0x2ff5f1(0x1b2)][_0x2ff5f1(0x214)]=-_0x212045[_0x2ff5f1(0x21e)]+this[_0x2ff5f1(0x1fc)],this[_0x2ff5f1(0x21d)](_0x212045);}this[_0x2ff5f1(0x238)][_0x2ff5f1(0x210)][_0x2ff5f1(0x214)]=_0x4ebaec,_0x677efd=this[_0x2ff5f1(0x184)](_0x386b82[_0x2ff5f1(0x150)],_0x386b82[_0x2ff5f1(0x22d)]),await this[_0x2ff5f1(0x199)](_0x677efd),this[_0x2ff5f1(0x1f4)](_0x677efd,_0x52f013);}_0x386b82[_0x2ff5f1(0x227)]&&(this[_0x2ff5f1(0x139)][_0x2ff5f1(0x20f)](_0x677efd,_0x386b82[_0x2ff5f1(0x227)]),this[_0x2ff5f1(0x179)]=_0x386b82[_0x2ff5f1(0x227)]),this[_0x2ff5f1(0x1b2)][_0x2ff5f1(0x214)]=_0x4ebaec+this[_0x2ff5f1(0x1fc)],this[_0x2ff5f1(0x21d)](_0x677efd),_0x2b362d[_0x2ff5f1(0x1b7)](_0x2ab607=>{const _0x42624b=_0x2ff5f1,_0x397d6b=this[_0x42624b(0x165)](_0x2ab607);return _0x397d6b&&!this[_0x42624b(0x18a)][_0x42624b(0x16f)](_0x397d6b);})[_0x2ff5f1(0x1ca)]((_0xdf8ace,_0x2c229c)=>{const _0x37c725=_0x2ff5f1;_0xdf8ace[_0x37c725(0x1db)]=this[_0x37c725(0x238)][_0x37c725(0x214)]+_0x2c229c,this[_0x37c725(0x142)](_0xdf8ace);}),this[_0x2ff5f1(0x1fb)]()?(this[_0x2ff5f1(0x1b4)]=0x0,this[_0x2ff5f1(0x13d)](!0x0),await this[_0x2ff5f1(0x16d)]()):(this[_0x2ff5f1(0x147)]=!0x1,this[_0x2ff5f1(0x205)]());}[_0x55fa9d(0x201)](_0x474aff,_0x4c9d44){const _0x262cea=_0x55fa9d;throw this[_0x262cea(0x147)]=!0x0,_0x4c9d44&&console[_0x262cea(0x19f)](_0x4c9d44),new _0x1075a7(_0x474aff,this[_0x262cea(0x1c7)]);}[_0x55fa9d(0x142)](_0x3767ed){const _0x5ca85c=_0x55fa9d;this[_0x5ca85c(0x23a)][_0x5ca85c(0x16f)](_0x3767ed)||(this[_0x5ca85c(0x23a)][_0x5ca85c(0x188)](_0x3767ed),this[_0x5ca85c(0x1fd)][_0x5ca85c(0x1f2)](_0x3767ed),this[_0x5ca85c(0x168)]||_0x5ca85c(0x1c3)==_0x3767ed[_0x5ca85c(0x143)]&&!_0x3767ed[_0x5ca85c(0x1d3)]||this[_0x5ca85c(0x1d4)]());}[_0x55fa9d(0x13d)](_0x3bcc73=!0x1){const _0x517085=_0x55fa9d;!_0x3bcc73&&this[_0x517085(0x147)]||(this[_0x517085(0x147)]=!0x0,clearTimeout(this[_0x517085(0x1f3)]),this[_0x517085(0x1f3)]=setTimeout(()=>{const _0xe523f7=_0x517085;this[_0xe523f7(0x19b)]()[_0xe523f7(0x1e3)](_0x36f747=>{const _0x36f696=_0xe523f7;_0x36f747&&(this[_0x36f696(0x205)](),this[_0x36f696(0x147)]=!0x1);})[_0xe523f7(0x166)](_0x1d96bf=>{const _0x138ab6=_0xe523f7;if(this[_0x138ab6(0x205)](),this[_0x138ab6(0x147)]=!0x1,!function(_0x45fed1){const _0x54ff19=_0x138ab6;return _0x45fed1[_0x54ff19(0x203)][_0x54ff19(0x146)](_0x54ff19(0x15b))||_0x45fed1[_0x54ff19(0x203)][_0x54ff19(0x146)](_0x54ff19(0x20b))||_0x45fed1[_0x54ff19(0x203)][_0x54ff19(0x146)](_0x54ff19(0x192));}(_0x1d96bf))throw _0x1d96bf;});},this[_0x517085(0x1b4)]));}[_0x55fa9d(0x16d)](){return new Promise(_0x4628ce=>{const _0x3c4762=_0x3ae2;this['on'](_0x3c4762(0x213),()=>{_0x4628ce();});});}async[_0x55fa9d(0x19b)](){const _0x3da2ca=_0x55fa9d,_0x46f148=this[_0x3da2ca(0x1c7)][_0x3da2ca(0x193)][_0x3da2ca(0x218)](_0x369b98);if(this[_0x3da2ca(0x1ab)]()&&(_0x46f148[_0x3da2ca(0x222)](),this[_0x3da2ca(0x19c)]=!0x1),!this[_0x3da2ca(0x1fb)]())return!0x0;const _0x1ff743=[...this[_0x3da2ca(0x1fd)]];for(const _0x297fbc of _0x1ff743)_0x297fbc[_0x3da2ca(0x209)]=this[_0x3da2ca(0x238)][_0x3da2ca(0x210)][_0x3da2ca(0x1e9)](_0x297fbc);const _0x38ed4e=this[_0x3da2ca(0x139)][_0x3da2ca(0x16b)](_0x1ff743),_0x1a6366=K++,_0x2821e7=this[_0x3da2ca(0x1a7)](_0x1ff743),_0x4c6396=await this[_0x3da2ca(0x200)][_0x3da2ca(0x154)](_0x2821e7,_0x2821e7[_0x3da2ca(0x1db)],_0x38ed4e);try{return await this[_0x3da2ca(0x14d)](_0x1ff743,_0x4c6396,_0x1a6366);}catch(_0x308146){return this[_0x3da2ca(0x201)](_0x3da2ca(0x22a),_0x308146);}}async[_0x55fa9d(0x14d)](_0x3a4284,_0x2cb3b8,_0x225ee2){const _0x43c742=_0x55fa9d;if(_0x43c742(0x19f)in _0x2cb3b8)throw _0x2cb3b8[_0x43c742(0x19f)];let _0x590ab0=!0x1;if(_0x2cb3b8[_0x43c742(0x17c)]){_0x2cb3b8[_0x43c742(0x227)]&&(this[_0x43c742(0x179)]=_0x2cb3b8[_0x43c742(0x227)]),this[_0x43c742(0x1fd)]=this[_0x43c742(0x1fd)][_0x43c742(0x1b7)](_0x452db3=>!_0x3a4284[_0x43c742(0x171)](_0x452db3));for(const _0x44118a of _0x3a4284)_0x44118a[_0x43c742(0x140)]=_0x43c742(0x1fa)in _0x2cb3b8&&_0x2cb3b8[_0x43c742(0x1fa)]||void 0x0;Q(_0x3a4284,_0x2cb3b8[_0x43c742(0x214)]-_0x3a4284[_0x43c742(0x21e)]),this[_0x43c742(0x21d)](_0x3a4284);const _0x320f34=_0x3a4284[_0x43c742(0x1b7)](_0x4a81ff=>{const _0x22add3=_0x43c742;if(!_0x4a81ff[_0x22add3(0x162)])return!0x1;const _0xbe3e68=this[_0x22add3(0x165)](_0x4a81ff);return _0xbe3e68&&!this[_0x22add3(0x18a)][_0x22add3(0x16f)](_0xbe3e68);});Q(_0x320f34,this[_0x43c742(0x238)][_0x43c742(0x214)]),this[_0x43c742(0x1f4)](_0x320f34),_0x590ab0=!0x0,this[_0x43c742(0x1b4)]=this[_0x43c742(0x15e)];}else{const _0x4c2d1b=this[_0x43c742(0x184)](_0x2cb3b8[_0x43c742(0x150)],_0x2cb3b8[_0x43c742(0x22d)])[_0x43c742(0x1b7)](_0x23ae0e=>_0x23ae0e[_0x43c742(0x1db)]>=this[_0x43c742(0x202)]);_0x4c2d1b[_0x43c742(0x1ca)](_0xb1f22f=>this[_0x43c742(0x1f6)](_0xb1f22f)),this[_0x43c742(0x1fd)]=this[_0x43c742(0x1fd)][_0x43c742(0x1b7)](_0x30d0ce=>!_0x30d0ce[_0x43c742(0x162)]||!this[_0x43c742(0x18a)][_0x43c742(0x16f)](this[_0x43c742(0x165)](_0x30d0ce))),this[_0x43c742(0x1fd)][_0x43c742(0x21e)]&&Q(this[_0x43c742(0x1fd)],this[_0x43c742(0x1fd)][0x0][_0x43c742(0x1db)]),await this[_0x43c742(0x199)](_0x4c2d1b),_0x590ab0=this[_0x43c742(0x1c4)](_0x4c2d1b,_0x2cb3b8[_0x43c742(0x214)],_0x2cb3b8[_0x43c742(0x227)]),this[_0x43c742(0x1b4)]=Math[_0x43c742(0x1c6)](this[_0x43c742(0x1b4)]/0x2);}return _0x590ab0?!this[_0x43c742(0x1fb)]()||(this[_0x43c742(0x13d)](!0x0),!0x1):this[_0x43c742(0x201)](_0x43c742(0x195));}[_0x55fa9d(0x1c4)](_0x526fb9,_0x4593cd,_0x5e7de7){const _0x53f990=_0x55fa9d;try{const _0x22bb08={'document':this[_0x53f990(0x238)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x427134,operationsB:_0x2f87ea,originalOperations:_0x53413}=_0x2eed1a(_0x526fb9,this[_0x53f990(0x1fd)],_0x22bb08);Q(_0x427134,this[_0x53f990(0x238)][_0x53f990(0x214)]),Q(_0x2f87ea,_0x4593cd);for(const _0x4f15f5 of _0x427134){const _0x2acb9f=_0x53413[_0x53f990(0x218)](_0x4f15f5);_0x4f15f5[_0x53f990(0x1b0)]=_0x2acb9f?_0x2acb9f[_0x53f990(0x1b0)]:null;}_0x5e7de7&&(this[_0x53f990(0x139)][_0x53f990(0x20f)](_0x526fb9,_0x5e7de7),this[_0x53f990(0x179)]=_0x5e7de7),this[_0x53f990(0x1fd)]=[..._0x2f87ea],this[_0x53f990(0x1f4)](_0x427134),this[_0x53f990(0x21d)](_0x526fb9);}catch(_0x12c3e3){return console[_0x53f990(0x19f)](_0x12c3e3),!0x1;}return!0x0;}[_0x55fa9d(0x1f4)](_0x262cae,_0x5204d8=!0x1){const _0x1b5f31=_0x55fa9d;this[_0x1b5f31(0x1c7)][_0x1b5f31(0x1f5)][_0x1b5f31(0x164)]({'isUndoable':!0x1,'isLocal':!0x1},_0x59956c=>{const _0x456388=_0x1b5f31;for(const _0x137ef7 of _0x262cae)this[_0x456388(0x23a)][_0x456388(0x188)](_0x137ef7),this[_0x456388(0x1f6)](_0x137ef7),_0x59956c[_0x456388(0x1f0)][_0x456388(0x224)](_0x137ef7),this[_0x456388(0x1c7)][_0x456388(0x1f5)][_0x456388(0x18d)](_0x137ef7);});}[_0x55fa9d(0x1f6)](_0x475319){const _0x41f395=_0x55fa9d,_0x1abab0=this[_0x41f395(0x165)](_0x475319);_0x1abab0&&this[_0x41f395(0x18a)][_0x41f395(0x188)](_0x1abab0);}[_0x55fa9d(0x165)](_0x4d4b26){const _0x3567aa=_0x55fa9d;let _0x233598,_0x1cf1c8;switch(_0x4d4b26[_0x3567aa(0x143)]){case _0x3567aa(0x167):_0x233598=_0x4d4b26[_0x3567aa(0x21f)][_0x3567aa(0x217)];break;case _0x3567aa(0x1c3):if(_0x1cf1c8=_0x4d4b26[_0x3567aa(0x1ba)],!_0x1cf1c8)return null;_0x233598=_0x1cf1c8[_0x3567aa(0x217)];break;case _0x3567aa(0x1b5):_0x233598=_0x4d4b26[_0x3567aa(0x217)];break;case _0x3567aa(0x236):_0x233598=_0x4d4b26[_0x3567aa(0x20d)];break;case _0x3567aa(0x1c1):_0x233598=_0x4d4b26[_0x3567aa(0x15f)][_0x3567aa(0x217)];break;default:return null;}return _0x233598[_0x3567aa(0x151)];}[_0x55fa9d(0x21d)](_0x23911a){const _0x2b62d7=_0x55fa9d;_0x23911a[_0x2b62d7(0x1ca)](_0x187958=>{const _0x51813f=_0x2b62d7,_0x2f3c67=_0x187958[_0x51813f(0x1b8)]();_0x2f3c67[_0x51813f(0x1b0)]=_0x187958[_0x51813f(0x1b0)],_0x2f3c67[_0x51813f(0x162)]=!!_0x187958[_0x51813f(0x162)],_0x2f3c67[_0x51813f(0x140)]=_0x187958[_0x51813f(0x140)],_0x2f3c67[_0x51813f(0x1db)]+=this[_0x51813f(0x1fc)],_0x187958[_0x51813f(0x14f)]&&this[_0x51813f(0x1a1)][_0x51813f(0x188)](_0x2f3c67),this[_0x51813f(0x1b2)][_0x51813f(0x224)](_0x2f3c67);});}[_0x55fa9d(0x1e1)](_0x37c3c7){const _0x26aeb6=_0x55fa9d,_0x5c7a27=this[_0x26aeb6(0x1c7)][_0x26aeb6(0x193)][_0x26aeb6(0x218)](_0x26aeb6(0x228)),_0x23fb71=this[_0x26aeb6(0x1c7)][_0x26aeb6(0x1b3)];_0x37c3c7||(_0x37c3c7=_0x4864c6(_0x23fb71,_0x26aeb6(0x20c))),_0x5c7a27[_0x26aeb6(0x15a)](_0x37c3c7,{'title':_0x4864c6(_0x23fb71,_0x26aeb6(0x1cf)),'namespace':_0x26aeb6(0x18f)}),this[_0x26aeb6(0x153)]=!0x0,clearTimeout(this[_0x26aeb6(0x1f3)]),this[_0x26aeb6(0x1fd)]=[],this[_0x26aeb6(0x1c7)][_0x26aeb6(0x193)][_0x26aeb6(0x218)](_0x789517)[_0x26aeb6(0x1cb)]();}[_0x55fa9d(0x1d4)](){const _0x4e0f40=_0x55fa9d;this[_0x4e0f40(0x168)]||(this[_0x4e0f40(0x168)]=this[_0x4e0f40(0x1c7)][_0x4e0f40(0x193)][_0x4e0f40(0x218)](_0x3b8acb)[_0x4e0f40(0x188)](_0x4864c6(this[_0x4e0f40(0x1c7)][_0x4e0f40(0x1b3)],_0x4e0f40(0x231))));}[_0x55fa9d(0x205)](){const _0x2e602b=_0x55fa9d;this[_0x2e602b(0x168)]&&(this[_0x2e602b(0x1c7)][_0x2e602b(0x193)][_0x2e602b(0x218)](_0x3b8acb)[_0x2e602b(0x14c)](this[_0x2e602b(0x168)]),this[_0x2e602b(0x168)]=null);}[_0x55fa9d(0x1a7)](_0x13d148){const _0x22bd0f=_0x55fa9d,_0x46884c=_0x13d148[_0x22bd0f(0x1d2)](_0x1f0b1a=>_0x1f0b1a[_0x22bd0f(0x17f)]());return this[_0x22bd0f(0x1e5)][_0x22bd0f(0x207)](_0x46884c);}[_0x55fa9d(0x184)](_0x109e07,_0x3a7758){const _0x12a629=_0x55fa9d;return this[_0x12a629(0x1e5)][_0x12a629(0x1d9)](_0x109e07)[_0x12a629(0x1d2)]((_0x15db70,_0x177d48)=>{const _0x385289=_0x12a629,_0x3b3825=_0x385289(0x1e6)==_0x3a7758[_0x177d48][_0x385289(0x143)];if(_0x385289(0x178)==_0x15db70[_0x385289(0x161)]){const _0x56bd3b=_0x15db70[_0x385289(0x21f)][_0x385289(0x217)];!this[_0x385289(0x238)][_0x385289(0x13a)](_0x56bd3b)&&(this[_0x385289(0x238)][_0x385289(0x1a2)](_0x385289(0x1bc),_0x56bd3b)[_0x385289(0x13e)]=!0x1);}const _0x4cac5d=_0x106fc6[_0x385289(0x1a9)](_0x15db70,this[_0x385289(0x238)]);return _0x4cac5d[_0x385289(0x209)]=_0x15db70[_0x385289(0x209)],_0x4cac5d[_0x385289(0x162)]=_0x3b3825,_0x4cac5d[_0x385289(0x1b0)]=_0x3b3825?null:_0x3a7758[_0x177d48][_0x385289(0x216)],_0x4cac5d[_0x385289(0x14f)]=_0x385289(0x18c)===_0x3a7758[_0x177d48][_0x385289(0x143)],_0x4cac5d[_0x385289(0x140)]=_0x3a7758[_0x177d48][_0x385289(0x140)],_0x4cac5d;});}[_0x55fa9d(0x1ff)](){const _0x1a9271=_0x55fa9d;this[_0x1a9271(0x19c)]=!0x0,this[_0x1a9271(0x1ab)]()?this[_0x1a9271(0x13d)]():this[_0x1a9271(0x19c)]=!0x1;}[_0x55fa9d(0x1ab)](){const _0x269ebc=_0x55fa9d,_0x402a9e=this[_0x269ebc(0x1c7)][_0x269ebc(0x193)][_0x269ebc(0x218)](_0x27aeba)[_0x269ebc(0x1aa)][_0x269ebc(0x218)](this[_0x269ebc(0x1f7)]);return!this[_0x269ebc(0x1c7)][_0x269ebc(0x170)]&&!!_0x402a9e&&_0x402a9e[_0x269ebc(0x21e)]>0x1&&this[_0x269ebc(0x19c)];}[_0x55fa9d(0x1fb)](){const _0x5ca019=_0x55fa9d;return this[_0x5ca019(0x1fd)][_0x5ca019(0x21e)]>0x0||this[_0x5ca019(0x1ab)]();}}l[_0x55fa9d(0x1e0)]=_0xe093e1;export default l;class J extends Error{}function Q(_0x250966,_0x482818){const _0x1b6fd9=_0x55fa9d;for(const _0x3c5e0e of _0x250966)_0x3c5e0e[_0x1b6fd9(0x1db)]=_0x482818++;}class X{constructor(_0x2c645f){const _0x350259=_0x55fa9d;this[_0x350259(0x21b)]=_0x2c645f,this[_0x350259(0x1e7)]=new WeakMap();}[_0x55fa9d(0x16b)](_0xf6ec7a){const _0x5cc788=_0x55fa9d;let _0x5b74de=_0xf6ec7a[_0x5cc788(0x21e)];for(;_0x5b74de--;){const _0x13bd79=_0xf6ec7a[_0x5b74de];if(!this[_0x5cc788(0x21b)][_0x5cc788(0x16f)](_0x13bd79)){if(!this[_0x5cc788(0x1e7)][_0x5cc788(0x16f)](_0x13bd79)){const _0x109107=_0x5dd9a4()[_0x5cc788(0x182)](0x1,0x12);this[_0x5cc788(0x1e7)][_0x5cc788(0x1f9)](_0x13bd79,_0x109107);}return this[_0x5cc788(0x1e7)][_0x5cc788(0x218)](_0x13bd79);}}}[_0x55fa9d(0x20f)](_0x587107,_0x5b5b6d){const _0x1ba738=_0x55fa9d;if(!_0x5b5b6d)return;let _0x1c1875=_0x587107[_0x1ba738(0x21e)];for(;_0x1c1875--;){const _0x5d27bc=_0x587107[_0x1c1875];this[_0x1ba738(0x21b)][_0x1ba738(0x16f)](_0x5d27bc)||this[_0x1ba738(0x1e7)][_0x1ba738(0x1f9)](_0x5d27bc,_0x5b5b6d);}}}
|
|
23
|
+
const _0x164102=_0x4133;(function(_0x5c2cf3,_0x4707f6){const _0x166eee=_0x4133,_0x416685=_0x5c2cf3();while(!![]){try{const _0x15281b=parseInt(_0x166eee(0x197))/0x1+-parseInt(_0x166eee(0x139))/0x2*(parseInt(_0x166eee(0x10d))/0x3)+parseInt(_0x166eee(0x1d8))/0x4+-parseInt(_0x166eee(0x19a))/0x5+parseInt(_0x166eee(0x168))/0x6+-parseInt(_0x166eee(0x17b))/0x7*(-parseInt(_0x166eee(0x18b))/0x8)+-parseInt(_0x166eee(0x187))/0x9;if(_0x15281b===_0x4707f6)break;else _0x416685['push'](_0x416685['shift']());}catch(_0x353a5c){_0x416685['push'](_0x416685['shift']());}}}(_0x2ef5,0x6b1cf));import{Plugin as _0x5d3cd4,PendingActions as _0x19e081}from'ckeditor5/src/core.js';import{CKEditorError as _0xec8479,version as _0x2ff997,uid as _0x2df0c0}from'ckeditor5/src/utils.js';function _0x2ef5(){const _0x535b45=['The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_getAffectedRoot','destroy','createUserMarkerOperations','filter','realtimecollaborationclient-sendbufferedoperations','sessionCreatedAt','__className','round','Synchronization\x20issue','_crash','path','collaboration-missing-channelid','getOperations','code','suppressErrorInCollaboration','_operationIdentifier','change:hasDomSelection','baseVersion','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initThrowingOnDataSet','wereChangesApplied','_compressor','_isPendingUpdate','_saveOperationInBuffer','change:range','isEnabled','2927688gNZDmj','_isConnected','createPositionAt','_lastServerVersion','_loadRoot','getRoot','setPermissions','cloudDocumentVersion','createRange','size','marker','collaboration','disconnected','startsWith','_shouldSendUpdate','addOperation','currentDocumentSession','_connectAfterSessionHasBeenFlushed','_getOperationsFromInitData','7OZzgor','enqueueChange','_isDisconnection','unregister','_isAttached','editor','return','register','_clearPendingAction','CollaborativeEditingService','_handleReconnectionError','removeFromReconnectionStack','4030686VaOiTT','enableReadOnlyMode','_hasSelectionChanged','createPositionFromPath','6387496jikHGe','off','operationsReceived','length','_setPendingAction','end','_handleServerResponse','isUndoneOperation','_waitUntilSynced','Permissions','ready','root','421093lGCnrb','affectsData','_handleInitialConnectionData','3091380oRawLE','_handleReceivedOperations','wasUndone','rtc-offline','bind','_fetchMissingUsers','_offset','isDocumentOperation','_knownOperations','view','position','reset','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.','connected','_authorId','realtimecollaborationclient-handleserverresponse','rtc-destroyed','_handleSendingSelectionMarkers','directChange','_refreshUserSelectionMarkers','keys','fromJSON','clone','addToReconnectionStack','_handleExternalOperations','_knownRootNames','_connectService','_disconnectionOperations','has','connection','sendOperations','collaboration.channelId','addRoot','document:write','version','from','forEach','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','get','requires','rootsAttributes','disconnect','_disconnectService','markers','connect','batch','sessionAdd:','lastOperationId','insert','_isInit','locale','lastOperationAcceptedAt','error','_operationToId','_sendBufferedOperationsDelayed','data','_channelId','_updateServerHistory','Notification','realtimecollaborationclient-init-document-already-initialized','real-time-collaboration','CommentsOnly','528704WIEnGZ','_document','lastDocumentSession','targetPosition','cloudServices.bundleVersion','sessionId','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.','message','_sendBufferedOperations','applyOperation','apply','finally','config','userId','map','_decompressOperations','state','realtimecollaborationclient-init-connection-failed','high','realtimecollaborationclient-initservice-incorrect-server-operation','getUser','channelSessions','includes','move','reconnection:\x20flushed\x20session','showWarning','_isLoaded','catch','_lastSyncedOperationId','lastSyncVersion','pluginName','offset','409','differ','selection','stopListening','_currentBufferDelay','serverHistory','type','multi-root-editor-root-attributes-no-root','_pendingAction','slice','loadRoot','_ignoredOperations','roots','affectedSelectable','history','permissions','_handleReconnectionResponse','_applyOperationsSet','start','getDocumentDetails','add','realtimecollaborationclient-init-session-connection-error','11037hcZIAU','_baseBufferDelay','realtimecollaborationclient-initservice-internal-error','getMany','then','404','newRange','setIdForTheLastOperation','cloud-services-internal-error:\x20Not\x20connected.','_service','stop','_hasSynchronizationProblem','_isEditingAllowed','_bufferedOperations','cs:removeUser','change:_isEditingAllowed','_bufferRootLoad','addRootAttribute','initData','string','createdAt','set','InsertOperation','attributes','isReadOnly','push','_addKnownRoot','realtimecollaborationclient-init-non-existent-root','reconnect','define','PENDING_ACTION_SENDING_DATA','_compressOperations','cloud-services-internal-error:\x20Request\x20timeout.','_sendBufferedOperationsDelayId','init','disableReadOnlyMode','RealTimeCollaborationClient','getOperationAuthor','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','parse','_shouldSendSelectionUpdate','listenTo','metadata','decompress','182UTXPJV','addUser','_initSessionsHandling','fire','toJSON','$root','entries','plugins','compress','document','editing','createRoot','_setUpDataInit','mySessionId','getIdOfTheLastOperation','change:_isPendingUpdate','remove','getConnectedSessions','rootName','model'];_0x2ef5=function(){return _0x535b45;};return _0x2ef5();}import{Notification as _0x35b498}from'ckeditor5/src/ui.js';import{transformSets as _0x553214,NoOperation as _0x30083f,InsertOperation as _0x56aea0,MarkerOperation as _0x1d54b5,RootAttributeOperation as _0x418379,OperationFactory as _0xaabc0a,History as _0x1d0676}from'ckeditor5/src/engine.js';import _0x3c9a04 from'./websocketgateway.js';import _0x5588c3 from'./sessions.js';import _0x28e22f from'./usermarkers.js';import{getTranslation as _0x3b2261}from'../common-translations.js';import{Compressor as _0x21bf08}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2c1725}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x278453,CollaborativeEditingService as _0x160cbf}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x5d3cd4{static get[_0x164102(0x1c1)](){return[_0x3c9a04,_0x5588c3,_0x28e22f,_0x19e081,_0x2c1725,_0x35b498];}static get[_0x164102(0x1f6)](){const _0x3667d1=_0x164102;return _0x3667d1(0x131);}get[_0x164102(0x16f)](){const _0x1297ba=_0x164102;return this[_0x1297ba(0x16b)]+this[_0x1297ba(0x1a0)];}get[_0x164102(0x16b)](){const _0x3f229d=_0x164102;return this[_0x3f229d(0x1fd)][_0x3f229d(0x1bc)]-this[_0x3f229d(0x1a0)];}get[_0x164102(0x1f5)](){const _0x2b1278=_0x164102,_0x466591=this[_0x2b1278(0x1fd)][_0x2b1278(0x15a)]();for(let _0x3b12c6=_0x466591[_0x2b1278(0x18e)]-0x1;_0x3b12c6>=0x0;_0x3b12c6--){const _0x5e4c72=_0x466591[_0x3b12c6];if(!this[_0x2b1278(0x1b5)][_0x2b1278(0x1b6)](_0x5e4c72))return _0x5e4c72[_0x2b1278(0x15f)]+0x1-this[_0x2b1278(0x1a0)];}return 0x0;}constructor(_0xd65051){const _0x922cd5=_0x164102;if(super(_0xd65051),this[_0x922cd5(0x1a0)]=0x0,this[_0x922cd5(0x1dd)]=null,this[_0x922cd5(0x1fd)]=new _0x1d0676(),this[_0x922cd5(0x180)][_0x922cd5(0x1e4)][_0x922cd5(0x12a)](_0x922cd5(0x173),{}),this[_0x922cd5(0x1d2)]=this[_0x922cd5(0x180)][_0x922cd5(0x1e4)][_0x922cd5(0x1c0)](_0x922cd5(0x1b9)),!this[_0x922cd5(0x1d2)])throw new _0xec8479(_0x922cd5(0x159),this);const _0x3fe98e=_0xd65051[_0x922cd5(0x1e4)][_0x922cd5(0x1c0)](_0x922cd5(0x1dc))||_0x2ff997;this[_0x922cd5(0x116)]=new l[(_0x922cd5(0x184))](_0x3fe98e,this[_0x922cd5(0x1d2)]),this[_0x922cd5(0x1d9)]=this[_0x922cd5(0x180)][_0x922cd5(0x14c)][_0x922cd5(0x142)],this[_0x922cd5(0x163)]=new _0x21bf08(),this[_0x922cd5(0x11a)]=[],this[_0x922cd5(0x1a2)]=new WeakSet(),this[_0x922cd5(0x1b3)]=new Set(),this[_0x922cd5(0x122)](_0x922cd5(0x164),!0x1),this[_0x922cd5(0x122)](_0x922cd5(0x118),!0x1),this[_0x922cd5(0x200)]=null,this[_0x922cd5(0x189)]=!0x1,this[_0x922cd5(0x12e)]=null,this[_0x922cd5(0x10e)]=0x12c,this[_0x922cd5(0x1fc)]=this[_0x922cd5(0x10e)],this[_0x922cd5(0x1f4)]=null,this[_0x922cd5(0x1b5)]=new WeakSet(),this[_0x922cd5(0x15d)]=new X(this[_0x922cd5(0x1b5)]);}[_0x164102(0x12f)](){const _0x1b09a2=_0x164102,_0x4314e3=this[_0x1b09a2(0x180)],_0x3e00aa=_0x4314e3[_0x1b09a2(0x140)][_0x1b09a2(0x1c0)](_0x2c1725),_0x16678d=_0x4314e3[_0x1b09a2(0x140)][_0x1b09a2(0x1c0)](_0x3c9a04);this[_0x1b09a2(0x136)](_0x3e00aa,_0x1b09a2(0x132),(_0xa33a5b,_0x23e873)=>{const _0x3561ca=_0x1b09a2,_0xf490db=_0x23e873[0x0];_0xf490db[_0x3561ca(0x1a8)]&&(_0xa33a5b[_0x3561ca(0x181)]=_0x3e00aa[_0x3561ca(0x1ec)](_0xf490db[_0x3561ca(0x1a8)]),_0xa33a5b[_0x3561ca(0x117)]()),null===_0xf490db[_0x3561ca(0x1a8)]&&(_0xa33a5b[_0x3561ca(0x181)]=null,_0xa33a5b[_0x3561ca(0x117)]());},{'priority':_0x1b09a2(0x1ea)}),this[_0x1b09a2(0x136)](_0x4314e3[_0x1b09a2(0x14c)][_0x1b09a2(0x142)][_0x1b09a2(0x1fa)],_0x1b09a2(0x166),(_0x42df97,_0x53e610)=>{const _0xee03f4=_0x1b09a2;_0x53e610[_0xee03f4(0x1ac)]&&this[_0xee03f4(0x1ad)]();}),this[_0x1b09a2(0x136)](_0x4314e3[_0x1b09a2(0x143)][_0x1b09a2(0x1a3)],_0x1b09a2(0x15e),()=>{const _0x846828=_0x1b09a2;this[_0x846828(0x1ad)]();}),this[_0x1b09a2(0x161)](),_0x4314e3[_0x1b09a2(0x14c)]['on'](_0x1b09a2(0x1e1),(_0x20d490,_0x4aa890)=>{const _0x19c338=_0x1b09a2,_0xfb7968=_0x4aa890[0x0];_0xfb7968[_0x19c338(0x1a1)]&&(this[_0x19c338(0x165)](_0xfb7968),this[_0x19c338(0x176)]()&&this[_0x19c338(0x1d0)]());}),this[_0x1b09a2(0x145)](),this[_0x1b09a2(0x19e)](_0x1b09a2(0x119))['to'](_0x16678d,_0x1b09a2(0x1e8),this,_0x1b09a2(0x118),(_0x3cb76c,_0xda1b12)=>_0x1b09a2(0x1a7)===_0x3cb76c&&!_0xda1b12),this['on'](_0x1b09a2(0x11c),()=>{const _0x22fd04=_0x1b09a2;this[_0x22fd04(0x119)]?_0x4314e3[_0x22fd04(0x130)](_0x22fd04(0x19d)):_0x4314e3[_0x22fd04(0x188)](_0x22fd04(0x19d));}),this[_0x1b09a2(0x119)]?_0x4314e3[_0x1b09a2(0x130)](_0x1b09a2(0x19d)):_0x4314e3[_0x1b09a2(0x188)](_0x1b09a2(0x19d)),this[_0x1b09a2(0x122)](_0x1b09a2(0x169),!0x1);}async[_0x164102(0x129)](){const _0x31621e=_0x164102,_0x18e456=this[_0x31621e(0x180)][_0x31621e(0x140)][_0x31621e(0x1c0)](_0x5588c3),_0x47f836=this[_0x31621e(0x180)][_0x31621e(0x140)][_0x31621e(0x1c0)](_0x3c9a04);try{this[_0x31621e(0x164)]=!0x0,_0x18e456[_0x31621e(0x17e)](this[_0x31621e(0x1d2)]);const _0x5294d9=await this[_0x31621e(0x116)][_0x31621e(0x129)](_0x47f836[_0x31621e(0x1b7)],this[_0x31621e(0x1f5)]);await this[_0x31621e(0x107)](_0x5294d9)&&(this[_0x31621e(0x164)]=!0x1,this[_0x31621e(0x183)]());const _0x958295=await this[_0x31621e(0x116)][_0x31621e(0x14a)]();_0x18e456[_0x31621e(0x182)](this[_0x31621e(0x1d2)],_0x958295),this[_0x31621e(0x1ab)](),this[_0x31621e(0x169)]=!0x0;}catch(_0x450dd7){if(function(_0x21b98e){const _0x3c26d9=_0x31621e;return _0x3c26d9(0x112)===_0x21b98e[_0x3c26d9(0x15b)];}(_0x450dd7)&&this[_0x31621e(0x1dd)])await this[_0x31621e(0x179)]();else{if(function(_0x20e6d3){const _0x1e504c=_0x31621e;return _0x1e504c(0x1f8)===_0x20e6d3[_0x1e504c(0x15b)];}(_0x450dd7)){const _0x27e25f=_0x3b2261(this[_0x31621e(0x180)][_0x31621e(0x1cc)],_0x31621e(0x14d));this[_0x31621e(0x185)](_0x27e25f);}else{if(!(_0x450dd7 instanceof J))throw _0x450dd7;this[_0x31621e(0x185)]();}}}}[_0x164102(0x14f)](){const _0x399670=_0x164102,_0x1dfcb9=this[_0x399670(0x180)][_0x399670(0x140)][_0x399670(0x1c0)](_0x3c9a04),_0xd1d837=this[_0x399670(0x180)][_0x399670(0x140)][_0x399670(0x1c0)](_0x5588c3);this[_0x399670(0x180)][_0x399670(0x188)](_0x399670(0x1aa)),_0xd1d837[_0x399670(0x1ed)][_0x399670(0x1b6)](this[_0x399670(0x1d2)])&&_0xd1d837[_0x399670(0x17e)](this[_0x399670(0x1d2)]),_0x1dfcb9[_0x399670(0x186)](this),this[_0x399670(0x1c4)](),super[_0x399670(0x14f)]();}async[_0x164102(0x107)](_0x37f38b){const _0x23e53c=_0x164102;if(this[_0x23e53c(0x1dd)]!==_0x37f38b[_0x23e53c(0x1dd)]&&this[_0x23e53c(0x1f4)]!==_0x37f38b[_0x23e53c(0x1c9)])throw new J();return this[_0x23e53c(0x1dd)]=_0x37f38b[_0x23e53c(0x1dd)],this[_0x23e53c(0x191)]([],{..._0x37f38b,'wereChangesApplied':!0x1,'data':_0x37f38b[_0x23e53c(0x1d1)]},_0x23e53c(0x129));}async[_0x164102(0x1b4)](_0x21895f,_0x3e37b2=!0x1){const _0x44f24b=_0x164102,{connection:_0x5f0959}=this[_0x44f24b(0x180)][_0x44f24b(0x140)][_0x44f24b(0x1c0)](_0x3c9a04);l[_0x44f24b(0x184)][_0x44f24b(0x14a)](_0x5f0959,this[_0x44f24b(0x1d2)])[_0x44f24b(0x111)](_0x191f92=>this[_0x44f24b(0x13b)](_0x191f92))[_0x44f24b(0x1f3)](_0x8589b1=>{const _0x4f51a1=_0x44f24b;this[_0x4f51a1(0x157)](_0x4f51a1(0x10c),_0x8589b1);}),this[_0x44f24b(0x136)](this[_0x44f24b(0x116)],_0x44f24b(0x18d),this[_0x44f24b(0x19b)][_0x44f24b(0x19e)](this)),this[_0x44f24b(0x136)](this[_0x44f24b(0x116)],_0x44f24b(0x1ce),(_0x28b65f,_0x24a20e)=>{const _0x1724be=_0x44f24b;this[_0x1724be(0x157)](_0x1724be(0x10f),_0x24a20e);}),this[_0x44f24b(0x136)](this[_0x44f24b(0x116)],_0x44f24b(0x174),()=>{const _0x3a0bb8=_0x44f24b;this[_0x3a0bb8(0x169)]=!0x1;});const _0x5deb5f=this[_0x44f24b(0x15d)][_0x44f24b(0x147)](_0x21895f);this[_0x44f24b(0x164)]=!0x0;const _0x1f8066=await this[_0x44f24b(0x116)][_0x44f24b(0x1c6)](_0x5f0959,this[_0x44f24b(0x12c)](_0x21895f),_0x5deb5f);if(this[_0x44f24b(0x1dd)]=_0x1f8066[_0x44f24b(0x1dd)],_0x3e37b2){if(!_0x1f8066[_0x44f24b(0x162)])return void this[_0x44f24b(0x185)]();this[_0x44f24b(0x164)]=!0x1,this[_0x44f24b(0x183)](),this[_0x44f24b(0x1fd)][_0x44f24b(0x1a5)](),this[_0x44f24b(0x1a0)]=_0x1f8066[_0x44f24b(0x1f7)],this[_0x44f24b(0x1fd)][_0x44f24b(0x1bc)]=this[_0x44f24b(0x1a0)],await this[_0x44f24b(0x191)](_0x21895f,_0x1f8066,_0x44f24b(0x1f0));}else await this[_0x44f24b(0x199)](_0x1f8066,_0x21895f);this[_0x44f24b(0x1ab)](),this[_0x44f24b(0x169)]=!0x0;}[_0x164102(0x1ab)](){const _0x4f3583=_0x164102,_0x4b2f71=this[_0x4f3583(0x180)][_0x4f3583(0x140)][_0x4f3583(0x1c0)](_0x5588c3),_0x19e5c2=this[_0x4f3583(0x180)][_0x4f3583(0x140)][_0x4f3583(0x1c0)](_0x28e22f),_0x4f0e20=_0x4b2f71[_0x4f3583(0x1ed)][_0x4f3583(0x1c0)](this[_0x4f3583(0x1d2)]);_0x4f0e20&&_0x4f0e20[_0x4f3583(0x18e)]>0x1?_0x19e5c2[_0x4f3583(0x150)]():this[_0x4f3583(0x136)](_0x4b2f71,_0x4f3583(0x1c8)+this[_0x4f3583(0x1d2)],()=>{const _0x62b429=_0x4f3583;0x2===_0x4b2f71[_0x62b429(0x1ed)][_0x62b429(0x1c0)](this[_0x62b429(0x1d2)])[_0x62b429(0x18e)]&&_0x19e5c2[_0x62b429(0x150)]();});}async[_0x164102(0x19b)](_0x190bd5,_0x505351,_0x2ba38b,_0x25820e){const _0x552443=_0x164102;if(!this[_0x552443(0x164)]&&this[_0x552443(0x1d9)][_0x552443(0x1bc)]==_0x505351){const _0x572645=this[_0x552443(0x1e7)](_0x2ba38b,_0x25820e);await this[_0x552443(0x19f)](_0x572645),this[_0x552443(0x1b2)](_0x572645,_0x505351,_0x2ba38b[_0x552443(0x1c9)])||this[_0x552443(0x157)](_0x552443(0x1eb));}}async[_0x164102(0x179)](){const _0x373d72=_0x164102;this[_0x373d72(0x1c4)]();const {locale:_0x29f4b7}=this[_0x373d72(0x180)];let _0x4eb1d8;try{_0x4eb1d8=await this[_0x373d72(0x116)][_0x373d72(0x10a)]();}catch(_0x298ae7){const _0x49774c=_0x3b2261(_0x29f4b7,_0x373d72(0x160));return void this[_0x373d72(0x185)](_0x49774c);}const _0x149c73=_0x4eb1d8[_0x373d72(0x178)]||_0x4eb1d8[_0x373d72(0x1da)];if(this[_0x373d72(0x1f4)]===_0x149c73[_0x373d72(0x1c9)])await this[_0x373d72(0x1b4)](this[_0x373d72(0x180)][_0x373d72(0x14c)][_0x373d72(0x142)][_0x373d72(0x105)][_0x373d72(0x15a)](),!0x0);else{const _0x515a14=_0x3b2261(_0x29f4b7,_0x373d72(0x1a6));this[_0x373d72(0x185)](_0x515a14);}}[_0x164102(0x1c4)](){const _0x12f23e=_0x164102;this[_0x12f23e(0x116)][_0x12f23e(0x1c3)](),this[_0x12f23e(0x11a)]=[],clearTimeout(this[_0x12f23e(0x12e)]),this[_0x12f23e(0x1fb)](this[_0x12f23e(0x116)]);}[_0x164102(0x13b)](_0x2ca491){const _0x4f9a14=_0x164102,_0x3892b5=this[_0x4f9a14(0x180)][_0x4f9a14(0x140)][_0x4f9a14(0x1c0)](_0x5588c3);this[_0x4f9a14(0x136)](_0x3892b5,_0x4f9a14(0x1c8)+this[_0x4f9a14(0x1d2)],(_0x5b6ba7,{session:_0x389a3c})=>{const _0x2fdd5b=_0x4f9a14;if(_0x389a3c['id']===_0x3892b5[_0x2fdd5b(0x146)]){_0x5b6ba7[_0x2fdd5b(0x18c)]();const _0x34bdda=this[_0x2fdd5b(0x180)][_0x2fdd5b(0x140)][_0x2fdd5b(0x1b6)](_0x2fdd5b(0x1d7))&&this[_0x2fdd5b(0x180)][_0x2fdd5b(0x140)][_0x2fdd5b(0x1c0)](_0x2fdd5b(0x1d7));let _0x20cf53=_0x389a3c[_0x2fdd5b(0x106)];_0x34bdda&&_0x34bdda[_0x2fdd5b(0x167)]&&(_0x20cf53=_0x20cf53[_0x2fdd5b(0x151)](_0x2166cd=>_0x2fdd5b(0x1bb)!==_0x2166cd)),this[_0x2fdd5b(0x180)][_0x2fdd5b(0x140)][_0x2fdd5b(0x1c0)](_0x2fdd5b(0x194))[_0x2fdd5b(0x16e)](_0x20cf53,this[_0x2fdd5b(0x1d2)]);}}),_0x3892b5[_0x4f9a14(0x182)](this[_0x4f9a14(0x1d2)],_0x2ca491);}[_0x164102(0x161)](){const _0x11906a=_0x164102,_0x2efa55=this[_0x11906a(0x180)][_0x11906a(0x1d1)][_0x11906a(0x122)];this[_0x11906a(0x180)][_0x11906a(0x1d1)][_0x11906a(0x122)]=(..._0x4ffd8b)=>{const _0x4f5e55=_0x11906a;if(!_0x4ffd8b[_0x4ffd8b[_0x4f5e55(0x18e)]-0x1][_0x4f5e55(0x15c)])throw new _0xec8479(_0x4f5e55(0x1bf),this);_0x2efa55[_0x4f5e55(0x1e2)](this[_0x4f5e55(0x180)][_0x4f5e55(0x1d1)],_0x4ffd8b);};}[_0x164102(0x145)](){const _0x5f2528=_0x164102;this[_0x5f2528(0x180)][_0x5f2528(0x1d1)]['on'](_0x5f2528(0x12f),(_0x8f2154,[_0x85eb54])=>{const _0x165f0d=_0x5f2528;if(this[_0x165f0d(0x1d9)][_0x165f0d(0x1bc)])throw new _0xec8479(_0x165f0d(0x1d5),this);_0x8f2154[_0x165f0d(0x117)](),this[_0x165f0d(0x18f)]();const _0x5ab7b9=this[_0x165f0d(0x180)][_0x165f0d(0x1e4)][_0x165f0d(0x1c0)](_0x165f0d(0x1c2)),_0x67fcfd=this[_0x165f0d(0x17a)](_0x85eb54,_0x5ab7b9);0x0==_0x67fcfd[_0x165f0d(0x18e)]&&_0x67fcfd[_0x165f0d(0x126)](new _0x30083f(0x0)),_0x8f2154[_0x165f0d(0x181)]=this[_0x165f0d(0x1b4)](_0x67fcfd)[_0x165f0d(0x111)](()=>{const _0x295d37=_0x165f0d;this[_0x295d37(0x180)][_0x295d37(0x140)][_0x295d37(0x1c0)](_0x3c9a04)[_0x295d37(0x1b1)](this),this[_0x295d37(0x180)][_0x295d37(0x1d1)][_0x295d37(0x13c)](_0x295d37(0x195));})[_0x165f0d(0x1f3)](_0x364aa7=>this[_0x165f0d(0x157)](_0x165f0d(0x1e9),_0x364aa7))[_0x165f0d(0x1e3)](()=>this[_0x165f0d(0x183)]());},{'priority':_0x5f2528(0x1ea)}),this[_0x5f2528(0x180)]['on'](_0x5f2528(0x101),async(_0xd3141d,[_0x21ccda,_0x315641])=>{const _0x2df552=_0x5f2528;_0xd3141d[_0x2df552(0x117)]();const _0x14d20d=this[_0x2df552(0x180)][_0x2df552(0x14c)][_0x2df552(0x142)][_0x2df552(0x16d)](_0x21ccda);if(!this[_0x2df552(0x1b3)][_0x2df552(0x1b6)](_0x21ccda)){const _0x545be5=_0x315641&&_0x315641[_0x2df552(0x1d1)]?_0x315641[_0x2df552(0x1d1)]:'',_0x470587=_0x315641&&_0x315641[_0x2df552(0x124)]?_0x315641[_0x2df552(0x124)]:{};await this[_0x2df552(0x16c)](_0x21ccda,_0x545be5,_0x470587);}this[_0x2df552(0x180)][_0x2df552(0x14c)][_0x2df552(0x17c)]({'isUndoable':!0x1},()=>{const _0x1f5e8b=_0x2df552;_0x14d20d[_0x1f5e8b(0x1f2)]=!0x0,this[_0x1f5e8b(0x180)][_0x1f5e8b(0x14c)][_0x1f5e8b(0x142)][_0x1f5e8b(0x1f9)][_0x1f5e8b(0x11d)](_0x14d20d);});},{'priority':_0x5f2528(0x1ea)});}async[_0x164102(0x19f)](_0xa4f822){const _0x2fd23e=_0x164102,_0x561369=this[_0x2fd23e(0x180)][_0x2fd23e(0x140)][_0x2fd23e(0x1c0)](_0x2c1725),{connection:_0x1be859}=this[_0x2fd23e(0x180)][_0x2fd23e(0x140)][_0x2fd23e(0x1c0)](_0x3c9a04),_0x2695c3=new Set();for(const _0x5aab0e of _0xa4f822){const _0x19c23e=_0x5aab0e[_0x2fd23e(0x1a8)];_0x19c23e&&!_0x561369[_0x2fd23e(0x1ec)](_0x19c23e)&&_0x2695c3[_0x2fd23e(0x10b)](_0x19c23e);}if(0x0===_0x2695c3[_0x2fd23e(0x171)])return;const _0x5dd546=await _0x278453[_0x2fd23e(0x110)](_0x1be859,Array[_0x2fd23e(0x1bd)](_0x2695c3));for(const _0x621b71 of _0x5dd546)_0x561369[_0x2fd23e(0x1ec)](_0x621b71['id'])||_0x561369[_0x2fd23e(0x13a)](_0x621b71);}[_0x164102(0x17a)](_0x4fcfc7,_0x161476={}){const _0x2fef5f=_0x164102,_0x11d5d5=this[_0x2fef5f(0x180)][_0x2fef5f(0x14c)],_0x5065d0=[];let _0x59b816=0x0;const _0x4bc907=_0x2fef5f(0x120)==typeof _0x4fcfc7?{'main':_0x4fcfc7}:_0x4fcfc7;for(const _0x45e860 of Object[_0x2fef5f(0x1ae)](_0x4bc907)){if(!this[_0x2fef5f(0x1d9)][_0x2fef5f(0x103)][_0x2fef5f(0x1b6)](_0x45e860))throw new _0xec8479(_0x2fef5f(0x128),this);const _0x238242=this[_0x2fef5f(0x180)][_0x2fef5f(0x1d1)][_0x2fef5f(0x134)](_0x4bc907[_0x45e860]),_0x3aab3b=this[_0x2fef5f(0x1d9)][_0x2fef5f(0x16d)](_0x45e860),_0x2dafdf=new _0x56aea0(_0x11d5d5[_0x2fef5f(0x16a)](_0x3aab3b,0x0),_0x238242,_0x59b816++);_0x5065d0[_0x2fef5f(0x126)](_0x2dafdf);for(const [_0x1dd8c4,_0x2e1508]of _0x238242[_0x2fef5f(0x1c5)]){const _0x3c3b80=_0x11d5d5[_0x2fef5f(0x170)](_0x11d5d5[_0x2fef5f(0x18a)](_0x3aab3b,_0x2e1508[_0x2fef5f(0x109)][_0x2fef5f(0x158)][_0x2fef5f(0x100)]()),_0x11d5d5[_0x2fef5f(0x18a)](_0x3aab3b,_0x2e1508[_0x2fef5f(0x190)][_0x2fef5f(0x158)][_0x2fef5f(0x100)]())),_0x2f7177=new _0x1d54b5(_0x1dd8c4,null,_0x3c3b80,_0x11d5d5[_0x2fef5f(0x1c5)],!0x0,_0x59b816++);_0x5065d0[_0x2fef5f(0x126)](_0x2f7177);}}if(_0x161476)for(const [_0x2a27b7,_0x1f3f5d]of Object[_0x2fef5f(0x13f)](_0x161476)){const _0x8161d1=_0x11d5d5[_0x2fef5f(0x142)][_0x2fef5f(0x16d)](_0x2a27b7);if(!_0x8161d1)throw new _0xec8479(_0x2fef5f(0x1ff),null);for(const [_0x58060e,_0x2c25cd]of Object[_0x2fef5f(0x13f)](_0x1f3f5d))if(null!==_0x2c25cd){const _0xcfb72f=new _0x418379(_0x8161d1,_0x58060e,null,_0x2c25cd,_0x59b816++);_0x5065d0[_0x2fef5f(0x126)](_0xcfb72f);}}return _0x5065d0;}async[_0x164102(0x16c)](_0x3f2313,_0x269e0d,_0x2e8e12){const _0x2fc1f2=_0x164102;this[_0x2fc1f2(0x17a)]({[_0x3f2313]:_0x269e0d},{[_0x3f2313]:_0x2e8e12})[_0x2fc1f2(0x1be)]((_0x149ec0,_0x4abe08)=>{const _0x25e879=_0x2fc1f2;_0x149ec0[_0x25e879(0x15f)]=this[_0x25e879(0x1d9)][_0x25e879(0x1bc)]+_0x4abe08,_0x149ec0[_0x25e879(0x1cb)]=!0x0,this[_0x25e879(0x165)](_0x149ec0);}),this[_0x2fc1f2(0x1d0)](),await this[_0x2fc1f2(0x193)]();}async[_0x164102(0x199)](_0x2ca502,_0x25dc75){const _0x30046d=_0x164102;let _0xbdee60;this[_0x30046d(0x1a0)]=_0x2ca502[_0x30046d(0x1f7)];const _0x3e01cb=_0x2ca502[_0x30046d(0x162)]&&!_0x2ca502[_0x30046d(0x11f)],_0x3189c5=_0x3e01cb?0x0:_0x2ca502[_0x30046d(0x1d1)][_0x30046d(0x15f)];if(_0x25dc75[_0x30046d(0x1be)](_0x1e2f45=>{const _0x3c0c70=_0x30046d;_0x1e2f45[_0x3c0c70(0x1cb)]=!0x0,_0x1e2f45[_0x3c0c70(0x121)]=_0x2ca502[_0x3c0c70(0x153)],_0x1e2f45[_0x3c0c70(0x1a8)]=null;}),_0x3e01cb)_0xbdee60=_0x25dc75,this[_0x30046d(0x108)](_0xbdee60,_0x3e01cb);else{if(_0x2ca502[_0x30046d(0x11f)]){const _0x4775f3=this[_0x30046d(0x17a)](_0x2ca502[_0x30046d(0x11f)]);this[_0x30046d(0x1d9)][_0x30046d(0x105)][_0x30046d(0x1bc)]=-_0x4775f3[_0x30046d(0x18e)],_0x4775f3[_0x30046d(0x1be)](_0x103559=>{const _0x1208fa=_0x30046d;_0x103559[_0x1208fa(0x15f)]-=_0x4775f3[_0x1208fa(0x18e)],_0x103559[_0x1208fa(0x121)]=_0x2ca502[_0x1208fa(0x153)],_0x103559[_0x1208fa(0x1cb)]=!0x0,_0x103559[_0x1208fa(0x1a8)]=null;}),this[_0x30046d(0x108)](_0x4775f3,!0x0),this[_0x30046d(0x1fd)][_0x30046d(0x1bc)]=-_0x4775f3[_0x30046d(0x18e)]+this[_0x30046d(0x1a0)],this[_0x30046d(0x1d3)](_0x4775f3);}this[_0x30046d(0x1d9)][_0x30046d(0x105)][_0x30046d(0x1bc)]=_0x3189c5,_0xbdee60=this[_0x30046d(0x1e7)](_0x2ca502[_0x30046d(0x1d1)],_0x2ca502[_0x30046d(0x137)]),await this[_0x30046d(0x19f)](_0xbdee60),this[_0x30046d(0x108)](_0xbdee60,_0x3e01cb);}_0x2ca502[_0x30046d(0x1c9)]&&(this[_0x30046d(0x15d)][_0x30046d(0x114)](_0xbdee60,_0x2ca502[_0x30046d(0x1c9)]),this[_0x30046d(0x1f4)]=_0x2ca502[_0x30046d(0x1c9)]),this[_0x30046d(0x1fd)][_0x30046d(0x1bc)]=_0x3189c5+this[_0x30046d(0x1a0)],this[_0x30046d(0x1d3)](_0xbdee60),_0x25dc75[_0x30046d(0x151)](_0x698036=>{const _0x4197e4=_0x30046d,_0x37db95=this[_0x4197e4(0x14e)](_0x698036);return _0x37db95&&!this[_0x4197e4(0x1b3)][_0x4197e4(0x1b6)](_0x37db95);})[_0x30046d(0x1be)]((_0xe9122f,_0x106c1b)=>{const _0x39b5aa=_0x30046d;_0xe9122f[_0x39b5aa(0x15f)]=this[_0x39b5aa(0x1d9)][_0x39b5aa(0x1bc)]+_0x106c1b,this[_0x39b5aa(0x165)](_0xe9122f);}),this[_0x30046d(0x176)]()?(this[_0x30046d(0x1fc)]=0x0,this[_0x30046d(0x1d0)](!0x0),await this[_0x30046d(0x193)]()):(this[_0x30046d(0x164)]=!0x1,this[_0x30046d(0x183)]());}[_0x164102(0x157)](_0x39457a,_0x12d44a){const _0x2a3972=_0x164102;throw this[_0x2a3972(0x164)]=!0x0,_0x12d44a&&console[_0x2a3972(0x1ce)](_0x12d44a),new _0xec8479(_0x39457a,this[_0x2a3972(0x180)]);}[_0x164102(0x165)](_0x52cdfb){const _0x38470f=_0x164102;this[_0x38470f(0x1a2)][_0x38470f(0x1b6)](_0x52cdfb)||(this[_0x38470f(0x1a2)][_0x38470f(0x10b)](_0x52cdfb),this[_0x38470f(0x11a)][_0x38470f(0x126)](_0x52cdfb),this[_0x38470f(0x200)]||_0x38470f(0x172)==_0x52cdfb[_0x38470f(0x1fe)]&&!_0x52cdfb[_0x38470f(0x198)]||this[_0x38470f(0x18f)]());}[_0x164102(0x1d0)](_0x20a449=!0x1){const _0x32f78a=_0x164102;!_0x20a449&&this[_0x32f78a(0x164)]||(this[_0x32f78a(0x164)]=!0x0,clearTimeout(this[_0x32f78a(0x12e)]),this[_0x32f78a(0x12e)]=setTimeout(()=>{const _0x5336ce=_0x32f78a;this[_0x5336ce(0x1e0)]()[_0x5336ce(0x111)](_0x49e9db=>{const _0x131c2c=_0x5336ce;_0x49e9db&&(this[_0x131c2c(0x183)](),this[_0x131c2c(0x164)]=!0x1);})[_0x5336ce(0x1f3)](_0x4f72b2=>{const _0x296990=_0x5336ce;if(this[_0x296990(0x183)](),this[_0x296990(0x164)]=!0x1,!function(_0x53f72b){const _0x268047=_0x296990;return _0x53f72b[_0x268047(0x1df)][_0x268047(0x175)](_0x268047(0x115))||_0x53f72b[_0x268047(0x1df)][_0x268047(0x175)](_0x268047(0x133))||_0x53f72b[_0x268047(0x1df)][_0x268047(0x175)](_0x268047(0x12d));}(_0x4f72b2))throw _0x4f72b2;});},this[_0x32f78a(0x1fc)]));}[_0x164102(0x193)](){return new Promise(_0x459e09=>{const _0x59feb0=_0x4133;this['on'](_0x59feb0(0x148),()=>{_0x459e09();});});}async[_0x164102(0x1e0)](){const _0x502770=_0x164102,_0x34adb6=this[_0x502770(0x180)][_0x502770(0x140)][_0x502770(0x1c0)](_0x28e22f);if(this[_0x502770(0x135)]()&&(_0x34adb6[_0x502770(0x150)](),this[_0x502770(0x189)]=!0x1),!this[_0x502770(0x176)]())return!0x0;const _0x3f6e4d=[...this[_0x502770(0x11a)]];for(const _0x167d75 of _0x3f6e4d)_0x167d75[_0x502770(0x19c)]=this[_0x502770(0x1d9)][_0x502770(0x105)][_0x502770(0x192)](_0x167d75);const _0x14124b=this[_0x502770(0x15d)][_0x502770(0x147)](_0x3f6e4d),_0x1f8da1=K++,_0x2b1ba9=this[_0x502770(0x12c)](_0x3f6e4d),_0x67902b=await this[_0x502770(0x116)][_0x502770(0x1b8)](_0x2b1ba9,_0x2b1ba9[_0x502770(0x15f)],_0x14124b);try{return await this[_0x502770(0x191)](_0x3f6e4d,_0x67902b,_0x1f8da1);}catch(_0x5d6229){return this[_0x502770(0x157)](_0x502770(0x152),_0x5d6229);}}async[_0x164102(0x191)](_0x990ec2,_0x238d30,_0x49b740){const _0x1ec5cd=_0x164102;if(_0x1ec5cd(0x1ce)in _0x238d30)throw _0x238d30[_0x1ec5cd(0x1ce)];let _0x32e148=!0x1;if(_0x238d30[_0x1ec5cd(0x162)]){_0x238d30[_0x1ec5cd(0x1c9)]&&(this[_0x1ec5cd(0x1f4)]=_0x238d30[_0x1ec5cd(0x1c9)]),this[_0x1ec5cd(0x11a)]=this[_0x1ec5cd(0x11a)][_0x1ec5cd(0x151)](_0x5c68f3=>!_0x990ec2[_0x1ec5cd(0x1ee)](_0x5c68f3));for(const _0x30cd9c of _0x990ec2)_0x30cd9c[_0x1ec5cd(0x121)]=_0x1ec5cd(0x1cd)in _0x238d30&&_0x238d30[_0x1ec5cd(0x1cd)]||void 0x0;Q(_0x990ec2,_0x238d30[_0x1ec5cd(0x1bc)]-_0x990ec2[_0x1ec5cd(0x18e)]),this[_0x1ec5cd(0x1d3)](_0x990ec2);const _0x24c093=_0x990ec2[_0x1ec5cd(0x151)](_0x3034a0=>{const _0x52a025=_0x1ec5cd;if(!_0x3034a0[_0x52a025(0x1cb)])return!0x1;const _0x560c14=this[_0x52a025(0x14e)](_0x3034a0);return _0x560c14&&!this[_0x52a025(0x1b3)][_0x52a025(0x1b6)](_0x560c14);});Q(_0x24c093,this[_0x1ec5cd(0x1d9)][_0x1ec5cd(0x1bc)]),this[_0x1ec5cd(0x108)](_0x24c093),_0x32e148=!0x0,this[_0x1ec5cd(0x1fc)]=this[_0x1ec5cd(0x10e)];}else{const _0x5b37dc=this[_0x1ec5cd(0x1e7)](_0x238d30[_0x1ec5cd(0x1d1)],_0x238d30[_0x1ec5cd(0x137)])[_0x1ec5cd(0x151)](_0x2f52d4=>_0x2f52d4[_0x1ec5cd(0x15f)]>=this[_0x1ec5cd(0x16b)]);_0x5b37dc[_0x1ec5cd(0x1be)](_0x58f983=>this[_0x1ec5cd(0x127)](_0x58f983)),this[_0x1ec5cd(0x11a)]=this[_0x1ec5cd(0x11a)][_0x1ec5cd(0x151)](_0x3c0272=>!_0x3c0272[_0x1ec5cd(0x1cb)]||!this[_0x1ec5cd(0x1b3)][_0x1ec5cd(0x1b6)](this[_0x1ec5cd(0x14e)](_0x3c0272))),this[_0x1ec5cd(0x11a)][_0x1ec5cd(0x18e)]&&Q(this[_0x1ec5cd(0x11a)],this[_0x1ec5cd(0x11a)][0x0][_0x1ec5cd(0x15f)]),await this[_0x1ec5cd(0x19f)](_0x5b37dc),_0x32e148=this[_0x1ec5cd(0x1b2)](_0x5b37dc,_0x238d30[_0x1ec5cd(0x1bc)],_0x238d30[_0x1ec5cd(0x1c9)]),this[_0x1ec5cd(0x1fc)]=Math[_0x1ec5cd(0x155)](this[_0x1ec5cd(0x1fc)]/0x2);}return _0x32e148?!this[_0x1ec5cd(0x176)]()||(this[_0x1ec5cd(0x1d0)](!0x0),!0x1):this[_0x1ec5cd(0x157)](_0x1ec5cd(0x1a9));}[_0x164102(0x1b2)](_0x1b7449,_0x4641c8,_0x218da3){const _0x3d359b=_0x164102;try{const _0x488a15={'document':this[_0x3d359b(0x1d9)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd4db56,operationsB:_0x28c2e5,originalOperations:_0x15507f}=_0x553214(_0x1b7449,this[_0x3d359b(0x11a)],_0x488a15);Q(_0xd4db56,this[_0x3d359b(0x1d9)][_0x3d359b(0x1bc)]),Q(_0x28c2e5,_0x4641c8);for(const _0x760ed9 of _0xd4db56){const _0xa06014=_0x15507f[_0x3d359b(0x1c0)](_0x760ed9);_0x760ed9[_0x3d359b(0x1a8)]=_0xa06014?_0xa06014[_0x3d359b(0x1a8)]:null;}_0x218da3&&(this[_0x3d359b(0x15d)][_0x3d359b(0x114)](_0x1b7449,_0x218da3),this[_0x3d359b(0x1f4)]=_0x218da3),this[_0x3d359b(0x11a)]=[..._0x28c2e5],this[_0x3d359b(0x108)](_0xd4db56),this[_0x3d359b(0x1d3)](_0x1b7449);}catch(_0x105706){return console[_0x3d359b(0x1ce)](_0x105706),!0x1;}return!0x0;}[_0x164102(0x108)](_0x334961,_0x3cee07=!0x1){const _0x48d1cb=_0x164102;this[_0x48d1cb(0x180)][_0x48d1cb(0x14c)][_0x48d1cb(0x17c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x207653=>{const _0x333f28=_0x48d1cb;for(const _0x455bb3 of _0x334961)this[_0x333f28(0x1a2)][_0x333f28(0x10b)](_0x455bb3),this[_0x333f28(0x127)](_0x455bb3),_0x207653[_0x333f28(0x1c7)][_0x333f28(0x177)](_0x455bb3),this[_0x333f28(0x180)][_0x333f28(0x14c)][_0x333f28(0x1e1)](_0x455bb3);});}[_0x164102(0x127)](_0x318c31){const _0x10aa93=_0x164102,_0x388dc6=this[_0x10aa93(0x14e)](_0x318c31);_0x388dc6&&this[_0x10aa93(0x1b3)][_0x10aa93(0x10b)](_0x388dc6);}[_0x164102(0x14e)](_0x42eee8){const _0x370fbb=_0x164102;let _0x42e06c,_0x246cdc;switch(_0x42eee8[_0x370fbb(0x1fe)]){case _0x370fbb(0x1ca):_0x42e06c=_0x42eee8[_0x370fbb(0x1a4)][_0x370fbb(0x196)];break;case _0x370fbb(0x172):if(_0x246cdc=_0x42eee8[_0x370fbb(0x113)],!_0x246cdc)return null;_0x42e06c=_0x246cdc[_0x370fbb(0x196)];break;case _0x370fbb(0x11e):_0x42e06c=_0x42eee8[_0x370fbb(0x196)];break;case _0x370fbb(0x1ba):_0x42e06c=_0x42eee8[_0x370fbb(0x104)];break;case _0x370fbb(0x1ef):_0x42e06c=_0x42eee8[_0x370fbb(0x1db)][_0x370fbb(0x196)];break;default:return null;}return _0x42e06c[_0x370fbb(0x14b)];}[_0x164102(0x1d3)](_0x191507){const _0x886bcc=_0x164102;_0x191507[_0x886bcc(0x1be)](_0x621d0f=>{const _0x4b558c=_0x886bcc,_0x20a81a=_0x621d0f[_0x4b558c(0x1b0)]();_0x20a81a[_0x4b558c(0x1a8)]=_0x621d0f[_0x4b558c(0x1a8)],_0x20a81a[_0x4b558c(0x1cb)]=!!_0x621d0f[_0x4b558c(0x1cb)],_0x20a81a[_0x4b558c(0x121)]=_0x621d0f[_0x4b558c(0x121)],_0x20a81a[_0x4b558c(0x15f)]+=this[_0x4b558c(0x1a0)],_0x621d0f[_0x4b558c(0x17d)]&&this[_0x4b558c(0x1b5)][_0x4b558c(0x10b)](_0x20a81a),this[_0x4b558c(0x1fd)][_0x4b558c(0x177)](_0x20a81a);});}[_0x164102(0x185)](_0x1dbbaf){const _0x50152=_0x164102,_0x30471a=this[_0x50152(0x180)][_0x50152(0x140)][_0x50152(0x1c0)](_0x50152(0x1d4)),_0x52f58e=this[_0x50152(0x180)][_0x50152(0x1cc)];_0x1dbbaf||(_0x1dbbaf=_0x3b2261(_0x52f58e,_0x50152(0x1de))),_0x30471a[_0x50152(0x1f1)](_0x1dbbaf,{'title':_0x3b2261(_0x52f58e,_0x50152(0x156)),'namespace':_0x50152(0x1d6)}),this[_0x50152(0x118)]=!0x0,clearTimeout(this[_0x50152(0x12e)]),this[_0x50152(0x11a)]=[],this[_0x50152(0x180)][_0x50152(0x140)][_0x50152(0x1c0)](_0x3c9a04)[_0x50152(0x14f)]();}[_0x164102(0x18f)](){const _0x7cb1fd=_0x164102;this[_0x7cb1fd(0x200)]||(this[_0x7cb1fd(0x200)]=this[_0x7cb1fd(0x180)][_0x7cb1fd(0x140)][_0x7cb1fd(0x1c0)](_0x19e081)[_0x7cb1fd(0x10b)](_0x3b2261(this[_0x7cb1fd(0x180)][_0x7cb1fd(0x1cc)],_0x7cb1fd(0x12b))));}[_0x164102(0x183)](){const _0x41a6b0=_0x164102;this[_0x41a6b0(0x200)]&&(this[_0x41a6b0(0x180)][_0x41a6b0(0x140)][_0x41a6b0(0x1c0)](_0x19e081)[_0x41a6b0(0x149)](this[_0x41a6b0(0x200)]),this[_0x41a6b0(0x200)]=null);}[_0x164102(0x12c)](_0x300e65){const _0x236514=_0x164102,_0x27451c=_0x300e65[_0x236514(0x1e6)](_0x4aba84=>_0x4aba84[_0x236514(0x13d)]());return this[_0x236514(0x163)][_0x236514(0x141)](_0x27451c);}[_0x164102(0x1e7)](_0xd96120,_0x491267){const _0x170d0c=_0x164102;return this[_0x170d0c(0x163)][_0x170d0c(0x138)](_0xd96120)[_0x170d0c(0x1e6)]((_0x101aac,_0xf7b8ba)=>{const _0x46c1e5=_0x170d0c,_0x4ab926=_0x46c1e5(0x12f)==_0x491267[_0xf7b8ba][_0x46c1e5(0x1fe)];if(_0x46c1e5(0x123)==_0x101aac[_0x46c1e5(0x154)]){const _0x4c3030=_0x101aac[_0x46c1e5(0x1a4)][_0x46c1e5(0x196)];!this[_0x46c1e5(0x1d9)][_0x46c1e5(0x16d)](_0x4c3030)&&(this[_0x46c1e5(0x1d9)][_0x46c1e5(0x144)](_0x46c1e5(0x13e),_0x4c3030)[_0x46c1e5(0x17f)]=!0x1);}const _0x234a95=_0xaabc0a[_0x46c1e5(0x1af)](_0x101aac,this[_0x46c1e5(0x1d9)]);return _0x234a95[_0x46c1e5(0x19c)]=_0x101aac[_0x46c1e5(0x19c)],_0x234a95[_0x46c1e5(0x1cb)]=_0x4ab926,_0x234a95[_0x46c1e5(0x1a8)]=_0x4ab926?null:_0x491267[_0xf7b8ba][_0x46c1e5(0x1e5)],_0x234a95[_0x46c1e5(0x17d)]=_0x46c1e5(0x11b)===_0x491267[_0xf7b8ba][_0x46c1e5(0x1fe)],_0x234a95[_0x46c1e5(0x121)]=_0x491267[_0xf7b8ba][_0x46c1e5(0x121)],_0x234a95;});}[_0x164102(0x1ad)](){const _0x32221e=_0x164102;this[_0x32221e(0x189)]=!0x0,this[_0x32221e(0x135)]()?this[_0x32221e(0x1d0)]():this[_0x32221e(0x189)]=!0x1;}[_0x164102(0x135)](){const _0x4562e5=_0x164102,_0x3cea7f=this[_0x4562e5(0x180)][_0x4562e5(0x140)][_0x4562e5(0x1c0)](_0x5588c3)[_0x4562e5(0x1ed)][_0x4562e5(0x1c0)](this[_0x4562e5(0x1d2)]);return!this[_0x4562e5(0x180)][_0x4562e5(0x125)]&&!!_0x3cea7f&&_0x3cea7f[_0x4562e5(0x18e)]>0x1&&this[_0x4562e5(0x189)];}[_0x164102(0x176)](){const _0x4a717c=_0x164102;return this[_0x4a717c(0x11a)][_0x4a717c(0x18e)]>0x0||this[_0x4a717c(0x135)]();}}function _0x4133(_0x4c5c07,_0x2731a9){const _0x2ef504=_0x2ef5();return _0x4133=function(_0x413371,_0x490416){_0x413371=_0x413371-0x100;let _0x47dce2=_0x2ef504[_0x413371];return _0x47dce2;},_0x4133(_0x4c5c07,_0x2731a9);}l[_0x164102(0x184)]=_0x160cbf;export default l;class J extends Error{}function Q(_0x3d097f,_0x57b31e){const _0x562605=_0x164102;for(const _0x55bcb7 of _0x3d097f)_0x55bcb7[_0x562605(0x15f)]=_0x57b31e++;}class X{constructor(_0x8aab6){const _0x20fd0d=_0x164102;this[_0x20fd0d(0x102)]=_0x8aab6,this[_0x20fd0d(0x1cf)]=new WeakMap();}[_0x164102(0x147)](_0x35b656){const _0x3c2e2d=_0x164102;let _0x1c66cc=_0x35b656[_0x3c2e2d(0x18e)];for(;_0x1c66cc--;){const _0x27f182=_0x35b656[_0x1c66cc];if(!this[_0x3c2e2d(0x102)][_0x3c2e2d(0x1b6)](_0x27f182)){if(!this[_0x3c2e2d(0x1cf)][_0x3c2e2d(0x1b6)](_0x27f182)){const _0x24e4c9=_0x2df0c0()[_0x3c2e2d(0x100)](0x1,0x12);this[_0x3c2e2d(0x1cf)][_0x3c2e2d(0x122)](_0x27f182,_0x24e4c9);}return this[_0x3c2e2d(0x1cf)][_0x3c2e2d(0x1c0)](_0x27f182);}}}[_0x164102(0x114)](_0x32999a,_0x323f71){const _0x3aeece=_0x164102;if(!_0x323f71)return;let _0x54a061=_0x32999a[_0x3aeece(0x18e)];for(;_0x54a061--;){const _0x4ba48d=_0x32999a[_0x54a061];this[_0x3aeece(0x102)][_0x3aeece(0x1b6)](_0x4ba48d)||this[_0x3aeece(0x1cf)][_0x3aeece(0x122)](_0x4ba48d,_0x323f71);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0xa997(_0x27f416,_0x406a6f){const _0x1f8b5d=_0x1f8b();return _0xa997=function(_0xa997ee,_0x2eb8f7){_0xa997ee=_0xa997ee-0xc7;let _0x30703c=_0x1f8b5d[_0xa997ee];return _0x30703c;},_0xa997(_0x27f416,_0x406a6f);}const _0x447fea=_0xa997;(function(_0x4c0090,_0x42450){const _0x1f1b74=_0xa997,_0x382c56=_0x4c0090();while(!![]){try{const _0xa31498=parseInt(_0x1f1b74(0xde))/0x1*(-parseInt(_0x1f1b74(0xfe))/0x2)+-parseInt(_0x1f1b74(0xf6))/0x3*(-parseInt(_0x1f1b74(0xfc))/0x4)+-parseInt(_0x1f1b74(0xf5))/0x5+-parseInt(_0x1f1b74(0xd5))/0x6*(-parseInt(_0x1f1b74(0xcc))/0x7)+parseInt(_0x1f1b74(0xca))/0x8*(parseInt(_0x1f1b74(0x102))/0x9)+-parseInt(_0x1f1b74(0xe4))/0xa+parseInt(_0x1f1b74(0xc7))/0xb*(-parseInt(_0x1f1b74(0xf3))/0xc);if(_0xa31498===_0x42450)break;else _0x382c56['push'](_0x382c56['shift']());}catch(_0x503777){_0x382c56['push'](_0x382c56['shift']());}}}(_0x1f8b,0xe1b41));import{ContextPlugin as _0x334133}from'ckeditor5/src/core.js';import{Collection as _0x4a1dfb,CKEditorError as _0x30dae9}from'ckeditor5/src/utils.js';import _0x48a67e from'./websocketgateway.js';function _0x1f8b(){const _0x3e9db1=['connection','forEach','context','requires','sessionAdd:','addUser','role','getUserSessions','connected','init','has','channelSessions','11268vKYPBx','getUserRole','3009560wvLgVp','7317azQmGP','_handleSessionAdd','fire','get','_registeredSessions','remove','2160ikObpb','getUser','34660GWUBVr','size','listenTo','change:state','765PyWUJH','state','delete','16005fdaaKK','register','pluginName','27736Uvunnr','unregister','71092BClKoh','allConnectedUsers','_createUser','isMe','set','plugins','_uniqueUsersCount','getUserBySessionId','orderNumber','846jwzACb','channelConnectedUsers','mySessionId','add','defineMe','stopListening','sessions-unregister-not-exist','clear','user','2GwCdus','_handleSessionRemove','Sessions','sessions-register-already-registered','assign','_users','1164530jVWVVA','values','sessionId'];_0x1f8b=function(){return _0x3e9db1;};return _0x1f8b();}import{Users as _0x202322}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x334133{static get[_0x447fea(0xc9)](){const _0x21c356=_0x447fea;return _0x21c356(0xe0);}static get[_0x447fea(0xea)](){return[_0x48a67e,_0x202322];}constructor(_0xd3cd7e){const _0x2a6af4=_0x447fea;super(_0xd3cd7e),this[_0x2a6af4(0xf2)]=new Map(),this[_0x2a6af4(0xd6)]=new Map(),this[_0x2a6af4(0xcd)]=new _0x4a1dfb(),this[_0x2a6af4(0xfa)]=new Map(),this[_0x2a6af4(0xd2)]=0x0,this[_0x2a6af4(0xe3)]=this[_0x2a6af4(0xe9)][_0x2a6af4(0xd1)][_0x2a6af4(0xf9)](_0x202322);}[_0x447fea(0xf0)](){const _0x1793b8=_0x447fea,_0x363094=this[_0x1793b8(0xe9)][_0x1793b8(0xd1)][_0x1793b8(0xf9)](_0x48a67e);this[_0x1793b8(0x100)](_0x363094,_0x1793b8(0x101),(_0x13cc76,_0x1630c2,_0x5ed406)=>{const _0x19f177=_0x1793b8;if(_0x19f177(0xef)!==_0x5ed406)this[_0x19f177(0xf2)][_0x19f177(0xe8)](_0x21d5e0=>_0x21d5e0[_0x19f177(0xdc)]()),this[_0x19f177(0xd6)][_0x19f177(0xe8)](_0x5ee25d=>_0x5ee25d[_0x19f177(0xdc)]()),this[_0x19f177(0xcd)][_0x19f177(0xdc)]();else{for(const [_0x34a8aa,_0x291be0]of this[_0x19f177(0xfa)])for(const _0x595513 of _0x291be0)this[_0x19f177(0xf7)](_0x34a8aa,_0x595513);}}),this[_0x1793b8(0xce)](_0x363094[_0x1793b8(0xe7)]['me'],!0x0);}[_0x447fea(0xc8)](_0x59c84f,_0x519e41){const _0x5ff3b9=_0x447fea;if(this[_0x5ff3b9(0xfa)][_0x5ff3b9(0xf1)](_0x59c84f))throw new _0x30dae9(_0x5ff3b9(0xe1),null,{'channelId':_0x59c84f});this[_0x5ff3b9(0xfa)][_0x5ff3b9(0xd0)](_0x59c84f,_0x519e41),this[_0x5ff3b9(0xf2)][_0x5ff3b9(0xd0)](_0x59c84f,new _0x4a1dfb()),this[_0x5ff3b9(0xd6)][_0x5ff3b9(0xd0)](_0x59c84f,new _0x4a1dfb()),this[_0x5ff3b9(0x100)](_0x519e41,_0x5ff3b9(0xd8),(_0x594f77,_0xa9170b)=>this[_0x5ff3b9(0xf7)](_0x59c84f,_0xa9170b)),this[_0x5ff3b9(0x100)](_0x519e41,_0x5ff3b9(0xfb),(_0x4d5d52,_0x42703e)=>this[_0x5ff3b9(0xdf)](_0x59c84f,_0x42703e));for(const _0x29d6ce of _0x519e41)this[_0x5ff3b9(0xf7)](_0x59c84f,_0x29d6ce);}[_0x447fea(0xcb)](_0x4dcb54){const _0x33772d=_0x447fea;if(!this[_0x33772d(0xfa)][_0x33772d(0xf1)](_0x4dcb54))throw new _0x30dae9(_0x33772d(0xdb),null,{'channelId':_0x4dcb54});const _0x347b8e=this[_0x33772d(0xfa)][_0x33772d(0xf9)](_0x4dcb54);this[_0x33772d(0xda)](_0x347b8e);for(const _0x59d403 of _0x347b8e)_0x33772d(0xef)===this[_0x33772d(0xe9)][_0x33772d(0xd1)][_0x33772d(0xf9)](_0x48a67e)[_0x33772d(0x103)]&&this[_0x33772d(0xdf)](_0x4dcb54,_0x59d403);this[_0x33772d(0xfa)][_0x33772d(0x104)](_0x4dcb54),this[_0x33772d(0xf2)][_0x33772d(0x104)](_0x4dcb54),this[_0x33772d(0xd6)][_0x33772d(0x104)](_0x4dcb54);}get[_0x447fea(0xd7)](){const _0x27cee9=_0x447fea;return this[_0x27cee9(0xe9)][_0x27cee9(0xd1)][_0x27cee9(0xf9)](_0x48a67e)[_0x27cee9(0xe7)][_0x27cee9(0xe6)];}[_0x447fea(0xd3)](_0x8dfea0){const _0x3ce524=_0x447fea;for(const _0xfecca8 of this[_0x3ce524(0xf2)][_0x3ce524(0xe5)]())for(const _0x3ce08a of _0xfecca8)if(_0x3ce08a['id']===_0x8dfea0)return _0x3ce08a[_0x3ce524(0xdd)];}[_0x447fea(0xee)](_0x33f13d,_0x13ea5b){const _0x36680e=_0x447fea,_0x2bdd26=_0x13ea5b?[this[_0x36680e(0xf2)][_0x36680e(0xf9)](_0x13ea5b)]:this[_0x36680e(0xf2)][_0x36680e(0xe5)](),_0x5e162b=new Set();for(const _0x77463f of _0x2bdd26)for(const _0xff7853 of _0x77463f)_0xff7853[_0x36680e(0xdd)]['id']===_0x33f13d['id']&&_0x5e162b[_0x36680e(0xd8)](_0xff7853['id']);return _0x5e162b;}[_0x447fea(0xf4)](_0x5e9b9e){const _0x3c8b15=_0x447fea;for(const _0x7ad4e of this[_0x3c8b15(0xf2)][_0x3c8b15(0xe5)]())for(const _0x45b151 of _0x7ad4e)if(_0x45b151[_0x3c8b15(0xdd)]===_0x5e9b9e)return _0x45b151[_0x3c8b15(0xed)];}[_0x447fea(0xf7)](_0x1a18fc,_0x238bd6){const _0xe3e7dd=_0x447fea;if(_0xe3e7dd(0xef)!==this[_0xe3e7dd(0xe9)][_0xe3e7dd(0xd1)][_0xe3e7dd(0xf9)](_0x48a67e)[_0xe3e7dd(0x103)])return;const _0x267bbb=_0x238bd6[_0xe3e7dd(0xdd)],_0x5ce0bf=this[_0xe3e7dd(0xe3)][_0xe3e7dd(0xfd)](_0x267bbb['id'])||this[_0xe3e7dd(0xce)](_0x267bbb),_0xec53d6=Object[_0xe3e7dd(0xe2)]({},_0x238bd6,{'user':_0x5ce0bf});this[_0xe3e7dd(0xf2)][_0xe3e7dd(0xf9)](_0x1a18fc)[_0xe3e7dd(0xd8)](_0xec53d6);const _0x13ae38=this[_0xe3e7dd(0xd6)][_0xe3e7dd(0xf9)](_0x1a18fc);_0x13ae38[_0xe3e7dd(0xf1)](_0x5ce0bf['id'])||_0x13ae38[_0xe3e7dd(0xd8)](_0x5ce0bf),this[_0xe3e7dd(0xcd)][_0xe3e7dd(0xf1)](_0x5ce0bf['id'])||this[_0xe3e7dd(0xcd)][_0xe3e7dd(0xd8)](_0x5ce0bf,_0x5ce0bf[_0xe3e7dd(0xcf)]?0x0:void 0x0),this[_0xe3e7dd(0xf8)](_0xe3e7dd(0xeb)+_0x1a18fc,{'channelId':_0x1a18fc,'session':_0xec53d6});}[_0x447fea(0xdf)](_0xf62508,_0x4a1f54){const _0x275744=_0x447fea;if(_0x275744(0xef)!==this[_0x275744(0xe9)][_0x275744(0xd1)][_0x275744(0xf9)](_0x48a67e)[_0x275744(0x103)])return;const _0x5e8e08=this[_0x275744(0xd6)][_0x275744(0xf9)](_0xf62508),_0x161e6d=_0x4a1f54[_0x275744(0xdd)];_0x161e6d['id']&&(this[_0x275744(0xf2)][_0x275744(0xf9)](_0xf62508)[_0x275744(0xfb)](_0x4a1f54['id']),_0x5e8e08[_0x275744(0xf1)](_0x161e6d['id'])&&!this[_0x275744(0xee)](_0x161e6d,_0xf62508)[_0x275744(0xff)]&&_0x5e8e08[_0x275744(0xfb)](_0x161e6d['id']),this[_0x275744(0xcd)][_0x275744(0xf9)](_0x161e6d['id'])&&!this[_0x275744(0xee)](_0x161e6d)[_0x275744(0xff)]&&this[_0x275744(0xcd)][_0x275744(0xfb)](_0x161e6d['id']));}[_0x447fea(0xce)](_0xd007f,_0x1a718f){const _0x14dff4=_0x447fea,_0x1df750=this[_0x14dff4(0xe3)][_0x14dff4(0xec)](_0xd007f);return _0x1a718f&&this[_0x14dff4(0xe3)][_0x14dff4(0xd9)](_0xd007f['id']),_0x1df750[_0x14dff4(0xd4)]=this[_0x14dff4(0xd2)]++,_0x1df750;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x529c40=_0x2876;(function(_0x25dbd3,_0x56b65c){const _0x594d93=_0x2876,_0x5223b4=_0x25dbd3();while(!![]){try{const _0x41ee37=-parseInt(_0x594d93(0x142))/0x1*(-parseInt(_0x594d93(0x154))/0x2)+-parseInt(_0x594d93(0x124))/0x3+-parseInt(_0x594d93(0x106))/0x4*(parseInt(_0x594d93(0x158))/0x5)+parseInt(_0x594d93(0x15b))/0x6+-parseInt(_0x594d93(0x169))/0x7+-parseInt(_0x594d93(0x12e))/0x8+parseInt(_0x594d93(0x12c))/0x9;if(_0x41ee37===_0x56b65c)break;else _0x5223b4['push'](_0x5223b4['shift']());}catch(_0x18eee9){_0x5223b4['push'](_0x5223b4['shift']());}}}(_0x1c85,0xb2535));import{Plugin as _0x570add}from'ckeditor5/src/core.js';import{global as _0x44acf2,DomEmitterMixin as _0x1e2ace}from'ckeditor5/src/utils.js';function _0x1c85(){const _0x472ac7=['mapper','createUserMarkerOperations','pluginName','916hpEcKG','ck-user__marker_hovered','reconvertMarker','highest','document','getAttribute','for','marker','isCollapsed','user:','toRange','listenTo','commands','start','view','mouseleave','contenteditable','toDomElement','update:user:range','add','span','newRange','size','stopListening','root','afterInit','markers','getContainedElement','markerNameToElements','classList','4045452zpdcma','user:position','isInline','$text','removeMarker','markerName','isSimilar','deletionPosition','26588196NihxRi','orderNumber','3262448WNmUmY','editing','UserMarkers','requires','destroy','addEventListener','getStart','applyOperation','markerToElement','Escape','set','getRange','nodeAfter','has','getPositions','enqueueChange','get','change:range','hasDomSelection','parent','2GehICO','setCustomProperty','delete','init','user:range','mouseenter','$graveyard','isObject','undo','getSelectionClass','editor','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','change','createRange','plugins','hasContent','tableCell','removeClass','732280tbvmVt','createUIElement','</span>','color','10765YGrMjP','mySessionId','split','2834154tkOhfS','_domEmitter','ck-user__marker\x20','render','userPositionMarker','user:position:','model','updateMarker','startsWith','_createdBatches','ck-user__selection','batch','getUserBySessionId','markerToHighlight','8253945pVfNVk','addMarker','end','innerHTML','selection','getMarkerClass','fromRange','schema','clear','rootName','name','element','getNearestSelectionRange','remove','getCustomProperty','data-session-id','type','isLimit','editingDowncast','detach','conversion','user:range:','markerRange','getFirstRange','keydown','checkChild','oldRange'];_0x1c85=function(){return _0x472ac7;};return _0x1c85();}import _0x2d0a69 from'./sessions.js';function _0x2876(_0x254897,_0x7723e7){const _0x1c85ec=_0x1c85();return _0x2876=function(_0x28761c,_0x1dab1c){_0x28761c=_0x28761c-0xfd;let _0x588189=_0x1c85ec[_0x28761c];return _0x588189;},_0x2876(_0x254897,_0x7723e7);}import{LiveRange as _0x4eb9dc}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x570add{constructor(){const _0x392020=_0x2876;super(...arguments),this[_0x392020(0x15c)]=new(_0x1e2ace())();}static get[_0x529c40(0x131)](){return[_0x2d0a69];}static get[_0x529c40(0x105)](){const _0x42588b=_0x529c40;return _0x42588b(0x130);}[_0x529c40(0x145)](){const _0x19b6b1=_0x529c40,_0x2c3142=this[_0x19b6b1(0x14c)],_0x53ffb9=_0x2c3142[_0x19b6b1(0x150)][_0x19b6b1(0x13e)](_0x2d0a69);_0x2c3142[_0x19b6b1(0x17d)][_0x19b6b1(0x10c)](_0x19b6b1(0x17b))[_0x19b6b1(0x136)]({'model':_0x19b6b1(0x125),'view':(_0x238a23,{writer:_0x2df9c6})=>function(_0x413f84,_0x2b5aa7,_0x23531e,_0xaebc0c){const _0x472c38=_0x19b6b1,_0x3d6628=_0x413f84[_0x472c38(0x129)][_0x472c38(0x15a)](':')[0x2],_0x40a88f=_0x23531e[_0x472c38(0x167)](_0x3d6628);if(!_0x40a88f||_0x3d6628===_0x23531e[_0x472c38(0x159)])return;if(!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)][_0x472c38(0x101)](_0x413f84[_0x472c38(0xfe)][_0x472c38(0x113)],_0x472c38(0x127)))return;const _0x5c62f5={'class':_0x472c38(0x15d)+_0x40a88f[_0x472c38(0x157)][_0x472c38(0x16e)](),'data-name':_0x40a88f[_0x472c38(0x173)],'data-session-id':_0x3d6628},_0x4a78a7=_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x120)][_0x472c38(0x13e)](_0x413f84[_0x472c38(0x129)]),_0x299d02=_0x4a78a7[_0x472c38(0x134)](),_0x4b2858=_0x299d02[_0x472c38(0x13a)],_0x138cca=_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)];if(_0x4b2858&&_0x138cca[_0x472c38(0x149)](_0x4b2858)&&_0x138cca[_0x472c38(0x126)](_0x4b2858)&&!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x120)][_0x472c38(0x13e)](_0x472c38(0xfd)+_0x3d6628)[_0x472c38(0x139)]()[_0x472c38(0x10e)])return;const _0xaec685=_0x299d02[_0x472c38(0x141)];return _0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)][_0x472c38(0x17a)](_0xaec685)&&!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x151)](_0xaec685)&&(_0x5c62f5[_0x472c38(0x116)]=!0x1),function(_0x4e9e6c,_0x43fc50,_0x40fa31){const _0x45d2bb=_0x472c38,_0x25f68f=_0x4e9e6c[_0x45d2bb(0x155)](_0x45d2bb(0x11a),_0x43fc50);return _0x4e9e6c[_0x45d2bb(0x143)](_0x45d2bb(0x15f),!0x0,_0x25f68f),_0x25f68f[_0x45d2bb(0x15e)]=function(_0x5cb057){const _0xd951ea=_0x45d2bb,_0x396c16=this[_0xd951ea(0x117)](_0x5cb057);return _0x396c16[_0xd951ea(0x16c)]=_0xd951ea(0x14d)+_0x40fa31[_0xd951ea(0x173)]+_0xd951ea(0x156),_0x396c16[_0xd951ea(0x133)](_0xd951ea(0x147),()=>{const _0xae1ad4=_0xd951ea;_0x396c16[_0xae1ad4(0x123)][_0xae1ad4(0x119)](_0xae1ad4(0x107));}),_0x396c16[_0xd951ea(0x133)](_0xd951ea(0x115),()=>{const _0x51f0ff=_0xd951ea;_0x396c16[_0x51f0ff(0x123)][_0x51f0ff(0x176)](_0x51f0ff(0x107));}),_0x396c16;},_0x25f68f[_0x45d2bb(0x12a)]=function(_0xd822d7){const _0x239f96=_0x45d2bb;return!(!this[_0x239f96(0x177)](_0x239f96(0x15f))||!_0xd822d7[_0x239f96(0x177)](_0x239f96(0x15f))||this[_0x239f96(0x10b)](_0x239f96(0x178))!=_0xd822d7[_0x239f96(0x10b)](_0x239f96(0x178)));},_0x25f68f;}(_0x2b5aa7,_0x5c62f5,_0x40a88f);}(_0x238a23,_0x2df9c6,_0x53ffb9,_0x2c3142)}),_0x2c3142[_0x19b6b1(0x17d)][_0x19b6b1(0x10c)](_0x19b6b1(0x17b))[_0x19b6b1(0x168)]({'model':_0x19b6b1(0x146),'view':_0x505ceb=>function(_0x4765dc,_0xeb3069){const _0x4c424a=_0x19b6b1,_0x126af9=_0x4765dc[_0x4c424a(0x129)][_0x4c424a(0x15a)](':')[0x2];if(_0x126af9===_0xeb3069[_0x4c424a(0x159)])return null;const _0x231058=_0xeb3069[_0x4c424a(0x167)](_0x126af9);if(!_0x231058)return{'id':_0x126af9,'classes':[]};return{'id':_0x126af9,'classes':[_0x4c424a(0x165),_0x231058[_0x4c424a(0x157)][_0x4c424a(0x14b)]()],'attributes':{'data-session-id':_0x126af9},'priority':0x7d0+_0x231058[_0x4c424a(0x12d)]};}(_0x505ceb,_0x53ffb9)}),function(_0x18ff99){const _0x1fd161=_0x19b6b1,_0x677990=_0x18ff99[_0x1fd161(0x161)],_0x19edb7=new Map(),_0x5e9d6d=_0x18ff99[_0x1fd161(0x150)][_0x1fd161(0x13e)](_0x2d0a69);_0x677990[_0x1fd161(0x120)]['on'](_0x1fd161(0x118),(_0x125bf6,_0x5ae094,_0xbb0994,_0x4d0832)=>{const _0x247c26=_0x1fd161;if(!_0x4d0832&&_0x19edb7[_0x247c26(0x13e)](_0x5ae094[_0x247c26(0x173)]))return _0x19edb7[_0x247c26(0x13e)](_0x5ae094[_0x247c26(0x173)])[_0x247c26(0x17c)](),void _0x19edb7[_0x247c26(0x144)](_0x5ae094[_0x247c26(0x173)]);const _0x1a1d82=_0x5ae094[_0x247c26(0x173)][_0x247c26(0x15a)](':')[0x2];if(_0x1a1d82===_0x5e9d6d[_0x247c26(0x159)])return;const _0x155843=_0x247c26(0x160)+_0x1a1d82;_0x677990[_0x247c26(0x120)][_0x247c26(0x13b)](_0x155843)&&_0x18ff99[_0x247c26(0x12f)][_0x247c26(0x108)](_0x155843),_0x5ae094['on'](_0x247c26(0x13f),(_0x5e39bf,_0x2cc54f,_0x433246)=>{const _0x4463ac=_0x247c26;if(_0x4463ac(0x148)!=_0x2cc54f[_0x4463ac(0x11e)][_0x4463ac(0x172)]&&_0x4463ac(0x148)==_0x5ae094[_0x4463ac(0x139)]()[_0x4463ac(0x11e)][_0x4463ac(0x172)]&&!_0x19edb7[_0x4463ac(0x13b)](_0x5ae094[_0x4463ac(0x173)])){const _0x46e56e=_0x677990[_0x4463ac(0x170)][_0x4463ac(0x175)](_0x433246[_0x4463ac(0x12b)]);if(_0x46e56e){const _0x3ba3ba=_0x4eb9dc[_0x4463ac(0x16f)](_0x46e56e);_0x19edb7[_0x4463ac(0x138)](_0x5ae094[_0x4463ac(0x173)],_0x3ba3ba),_0x3ba3ba['on'](_0x4463ac(0x13f),(_0x293619,_0x582239,_0x5477a7)=>{const _0x43f8fe=_0x4463ac;if(_0x43f8fe(0x148)==_0x3ba3ba[_0x43f8fe(0x11e)][_0x43f8fe(0x172)]){const _0x35af2b=_0x677990[_0x43f8fe(0x170)][_0x43f8fe(0x175)](_0x5477a7[_0x43f8fe(0x12b)]);_0x35af2b?(_0x3ba3ba[_0x43f8fe(0x113)]=_0x35af2b[_0x43f8fe(0x113)],_0x3ba3ba[_0x43f8fe(0x16b)]=_0x35af2b[_0x43f8fe(0x16b)]):(_0x19edb7[_0x43f8fe(0x144)](_0x5ae094[_0x43f8fe(0x173)]),_0x3ba3ba[_0x43f8fe(0x17c)]());}});}}});}),_0x677990[_0x1fd161(0x10a)]['on'](_0x1fd161(0x14e),()=>{const _0x4972f6=_0x1fd161;_0x19edb7[_0x4972f6(0x11c)]>0x0&&_0x677990[_0x4972f6(0x13d)]({'isUndoable':!0x1},_0x3b81ef=>{const _0x4ea66b=_0x4972f6;for(const [_0x1640eb,_0x480899]of _0x19edb7)_0x4ea66b(0x148)==_0x677990[_0x4ea66b(0x120)][_0x4ea66b(0x13e)](_0x1640eb)[_0x4ea66b(0x139)]()[_0x4ea66b(0x11e)][_0x4ea66b(0x172)]&&(re(_0x1640eb[_0x4ea66b(0x15a)](':')[0x2],_0x480899[_0x4ea66b(0x110)](),_0x677990,_0x3b81ef),_0x480899[_0x4ea66b(0x17c)]());_0x19edb7[_0x4ea66b(0x171)]();});});}(_0x2c3142),this[_0x19b6b1(0x15c)][_0x19b6b1(0x111)](_0x44acf2[_0x19b6b1(0x10a)],_0x19b6b1(0x100),(_0x18c09e,{key:_0x41ee12})=>{const _0x4b4864=_0x19b6b1;_0x4b4864(0x137)===_0x41ee12&&function(_0x73e965){const _0x11c1b1=_0x4b4864;_0x73e965[_0x11c1b1(0x12f)][_0x11c1b1(0x114)][_0x11c1b1(0x14e)](_0x270534=>{const _0x362e58=_0x11c1b1;for(const _0x3d39f9 of _0x73e965[_0x362e58(0x161)][_0x362e58(0x120)]){if(!_0x3d39f9[_0x362e58(0x173)][_0x362e58(0x163)](_0x362e58(0x125)))continue;const _0x2288d0=_0x73e965[_0x362e58(0x12f)][_0x362e58(0x103)][_0x362e58(0x122)](_0x3d39f9[_0x362e58(0x173)]);if(_0x2288d0){for(const _0xa5840e of _0x2288d0)_0x270534[_0x362e58(0x153)](_0x362e58(0x107),_0xa5840e);}}});}(_0x2c3142);},{'useCapture':!0x0});}[_0x529c40(0x11f)](){const _0x338ba5=_0x529c40,_0x526b46=this[_0x338ba5(0x14c)],_0x4b0809=_0x526b46[_0x338ba5(0x112)][_0x338ba5(0x13e)](_0x338ba5(0x14a));_0x4b0809&&_0x526b46[_0x338ba5(0x161)]['on'](_0x338ba5(0x135),(_0x2f0fc3,_0x1806da)=>{const _0x639b5=_0x338ba5,_0x5a35a1=_0x1806da[0x0];if(_0x639b5(0x10d)!=_0x5a35a1[_0x639b5(0x179)]||!_0x5a35a1[_0x639b5(0x173)][_0x639b5(0x163)](_0x639b5(0x10f)))return;const _0x432dcc=_0x5a35a1[_0x639b5(0x166)];_0x4b0809[_0x639b5(0x164)][_0x639b5(0x13b)](_0x432dcc)&&(_0x5a35a1[_0x639b5(0x11b)]=_0x5a35a1[_0x639b5(0x102)]?_0x526b46[_0x639b5(0x161)][_0x639b5(0x14f)](_0x5a35a1[_0x639b5(0x102)][_0x639b5(0x113)],_0x5a35a1[_0x639b5(0x102)][_0x639b5(0x16b)]):null);},{'priority':_0x338ba5(0x109)});}[_0x529c40(0x132)](){const _0x2b2e0d=_0x529c40;return this[_0x2b2e0d(0x15c)][_0x2b2e0d(0x11d)](),super[_0x2b2e0d(0x132)]();}[_0x529c40(0x104)](){const _0x585dc4=_0x529c40,_0x1cbffb=this[_0x585dc4(0x14c)],_0x34ed09=_0x1cbffb[_0x585dc4(0x161)][_0x585dc4(0x10a)],_0x292ab4=_0x1cbffb[_0x585dc4(0x150)][_0x585dc4(0x13e)](_0x2d0a69);_0x1cbffb[_0x585dc4(0x161)][_0x585dc4(0x13d)]({'isUndoable':!0x1},_0x58b38e=>{const _0x68bebd=_0x585dc4,_0x384a57=_0x68bebd(0xfd)+_0x292ab4[_0x68bebd(0x159)],_0x29f376=_0x68bebd(0x160)+_0x292ab4[_0x68bebd(0x159)],_0x5df109=_0x1cbffb[_0x68bebd(0x161)][_0x68bebd(0x120)][_0x68bebd(0x13b)](_0x384a57);_0x1cbffb[_0x68bebd(0x12f)][_0x68bebd(0x114)][_0x68bebd(0x140)]?re(_0x292ab4[_0x68bebd(0x159)],_0x34ed09[_0x68bebd(0x16d)][_0x68bebd(0xff)](),_0x1cbffb[_0x68bebd(0x161)],_0x58b38e):_0x5df109&&(_0x58b38e[_0x68bebd(0x128)](_0x384a57),_0x58b38e[_0x68bebd(0x128)](_0x29f376));});}}function re(_0xcd1ae7,_0x51444a,_0x4a60af,_0x8990fb){const _0x48a3b5=_0x529c40,_0x95e293=_0x48a3b5(0xfd)+_0xcd1ae7,_0x26195b=_0x48a3b5(0x160)+_0xcd1ae7,_0x8d8db=_0x51444a[_0x48a3b5(0x121)]();let _0x5cdcc0=_0x51444a[_0x48a3b5(0x113)];_0x8d8db&&_0x8d8db['is'](_0x48a3b5(0x174),_0x48a3b5(0x152))&&(_0x5cdcc0=function(_0x8c76bf,_0x427196){const _0x113eaa=_0x48a3b5;for(const _0x3713ef of _0x8c76bf[_0x113eaa(0x13c)]())if(_0x427196[_0x113eaa(0x170)][_0x113eaa(0x101)](_0x3713ef,_0x113eaa(0x127)))return _0x3713ef;}(_0x51444a,_0x4a60af),_0x51444a=_0x8990fb[_0x48a3b5(0x14f)](_0x5cdcc0));const _0x2b038e=_0x8990fb[_0x48a3b5(0x14f)](_0x5cdcc0);_0x4a60af[_0x48a3b5(0x120)][_0x48a3b5(0x13b)](_0x95e293)?(_0x8990fb[_0x48a3b5(0x162)](_0x95e293,{'range':_0x51444a}),_0x8990fb[_0x48a3b5(0x162)](_0x26195b,{'range':_0x2b038e})):(_0x8990fb[_0x48a3b5(0x16a)](_0x95e293,{'range':_0x51444a,'usingOperation':!0x0}),_0x8990fb[_0x48a3b5(0x16a)](_0x26195b,{'range':_0x2b038e,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x5e5b73=_0x2042;(function(_0x12c07a,_0x5a7b5c){const _0x42701f=_0x2042,_0x406cca=_0x12c07a();while(!![]){try{const _0x4f136=-parseInt(_0x42701f(0x100))/0x1*(parseInt(_0x42701f(0xbf))/0x2)+-parseInt(_0x42701f(0xf2))/0x3+-parseInt(_0x42701f(0xcb))/0x4*(-parseInt(_0x42701f(0xa4))/0x5)+-parseInt(_0x42701f(0x108))/0x6+-parseInt(_0x42701f(0xc1))/0x7*(-parseInt(_0x42701f(0xe2))/0x8)+parseInt(_0x42701f(0xe1))/0x9*(parseInt(_0x42701f(0xdc))/0xa)+parseInt(_0x42701f(0xa9))/0xb;if(_0x4f136===_0x5a7b5c)break;else _0x406cca['push'](_0x406cca['shift']());}catch(_0x292285){_0x406cca['push'](_0x406cca['shift']());}}}(_0x378e,0xaf3bd));import{Plugin as _0x475de7}from'ckeditor5/src/core.js';import{global as _0x1540bf,DomEmitterMixin as _0x219deb}from'ckeditor5/src/utils.js';import _0x1cd4b2 from'./sessions.js';import{LiveRange as _0x2e7188}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x2042(_0x426837,_0x5234e3){const _0x378e47=_0x378e();return _0x2042=function(_0x20425,_0x514792){_0x20425=_0x20425-0x86;let _0x5a4b06=_0x378e47[_0x20425];return _0x5a4b06;},_0x2042(_0x426837,_0x5234e3);}export default class H extends _0x475de7{constructor(){const _0x6fd22c=_0x2042;super(...arguments),this[_0x6fd22c(0xec)]=new(_0x219deb())();}static get[_0x5e5b73(0xe7)](){return[_0x1cd4b2];}static get[_0x5e5b73(0xae)](){const _0x2ad32b=_0x5e5b73;return _0x2ad32b(0xbc);}[_0x5e5b73(0xa2)](){const _0x59e9ae=_0x5e5b73,_0xdf321c=this[_0x59e9ae(0xcf)],_0x24607e=_0xdf321c[_0x59e9ae(0xb0)][_0x59e9ae(0xfe)](_0x1cd4b2);_0xdf321c[_0x59e9ae(0xaf)][_0x59e9ae(0x94)](_0x59e9ae(0xc4))[_0x59e9ae(0xd6)]({'model':_0x59e9ae(0xc9),'view':(_0x5d54c7,{writer:_0x48d7db})=>function(_0x427861,_0x296dd9,_0x67acf8,_0x1d80d0){const _0xfa8793=_0x59e9ae,_0x162a33=_0x427861[_0xfa8793(0xb1)][_0xfa8793(0xe3)](':')[0x2],_0x2f4709=_0x67acf8[_0xfa8793(0xdd)](_0x162a33);if(!_0x2f4709||_0x162a33===_0x67acf8[_0xfa8793(0xab)])return;if(!_0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0x91)][_0xfa8793(0xdb)](_0x427861[_0xfa8793(0xd7)][_0xfa8793(0x9c)],_0xfa8793(0xf9)))return;const _0xc92e23={'class':_0xfa8793(0xa7)+_0x2f4709[_0xfa8793(0xe9)][_0xfa8793(0xf4)](),'data-name':_0x2f4709[_0xfa8793(0x8f)],'data-session-id':_0x162a33},_0x40cfd6=_0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0xd2)][_0xfa8793(0xfe)](_0x427861[_0xfa8793(0xb1)]),_0x12494c=_0x40cfd6[_0xfa8793(0x87)](),_0x18f408=_0x12494c[_0xfa8793(0xa3)],_0x2ab7c9=_0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0x91)];if(_0x18f408&&_0x2ab7c9[_0xfa8793(0xb2)](_0x18f408)&&_0x2ab7c9[_0xfa8793(0x9f)](_0x18f408)&&!_0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0xd2)][_0xfa8793(0xfe)](_0xfa8793(0xcc)+_0x162a33)[_0xfa8793(0xc0)]()[_0xfa8793(0x9b)])return;const _0x445f4e=_0x12494c[_0xfa8793(0xe6)];return _0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0x91)][_0xfa8793(0x9d)](_0x445f4e)&&!_0x1d80d0[_0xfa8793(0xeb)][_0xfa8793(0xd4)](_0x445f4e)&&(_0xc92e23[_0xfa8793(0x104)]=!0x1),function(_0x464d69,_0x49633c,_0x55c323){const _0x57bc13=_0xfa8793,_0x20320f=_0x464d69[_0x57bc13(0xd3)](_0x57bc13(0xd5),_0x49633c);return _0x464d69[_0x57bc13(0x98)](_0x57bc13(0x107),!0x0,_0x20320f),_0x20320f[_0x57bc13(0x99)]=function(_0x4b7b23){const _0xab8f41=_0x57bc13,_0x4b4942=this[_0xab8f41(0x89)](_0x4b7b23);return _0x4b4942[_0xab8f41(0xa5)]=_0xab8f41(0x96)+_0x55c323[_0xab8f41(0x8f)]+_0xab8f41(0xca),_0x4b4942[_0xab8f41(0xb8)](_0xab8f41(0xc7),()=>{const _0x490998=_0xab8f41;_0x4b4942[_0x490998(0xd9)][_0x490998(0x95)](_0x490998(0xc6));}),_0x4b4942[_0xab8f41(0xb8)](_0xab8f41(0xef),()=>{const _0x3b2425=_0xab8f41;_0x4b4942[_0x3b2425(0xd9)][_0x3b2425(0x103)](_0x3b2425(0xc6));}),_0x4b4942;},_0x20320f[_0x57bc13(0xe4)]=function(_0x35c7e6){const _0x5afd9c=_0x57bc13;return!(!this[_0x5afd9c(0x92)](_0x5afd9c(0x107))||!_0x35c7e6[_0x5afd9c(0x92)](_0x5afd9c(0x107))||this[_0x5afd9c(0xd0)](_0x5afd9c(0xd8))!=_0x35c7e6[_0x5afd9c(0xd0)](_0x5afd9c(0xd8)));},_0x20320f;}(_0x296dd9,_0xc92e23,_0x2f4709);}(_0x5d54c7,_0x48d7db,_0x24607e,_0xdf321c)}),_0xdf321c[_0x59e9ae(0xaf)][_0x59e9ae(0x94)](_0x59e9ae(0xc4))[_0x59e9ae(0xb7)]({'model':_0x59e9ae(0xaa),'view':_0x1e445f=>function(_0x33e307,_0x5c4ce2){const _0x614c1c=_0x59e9ae,_0x35ef39=_0x33e307[_0x614c1c(0xb1)][_0x614c1c(0xe3)](':')[0x2];if(_0x35ef39===_0x5c4ce2[_0x614c1c(0xab)])return null;const _0x18b0ea=_0x5c4ce2[_0x614c1c(0xdd)](_0x35ef39);if(!_0x18b0ea)return{'id':_0x35ef39,'classes':[]};return{'id':_0x35ef39,'classes':[_0x614c1c(0xb5),_0x18b0ea[_0x614c1c(0xe9)][_0x614c1c(0x8d)]()],'attributes':{'data-session-id':_0x35ef39},'priority':0x7d0+_0x18b0ea[_0x614c1c(0x8e)]};}(_0x1e445f,_0x24607e)}),function(_0x457a00){const _0x248754=_0x59e9ae,_0x5ce0af=_0x457a00[_0x248754(0xeb)],_0x465ed4=new Map(),_0x383d3a=_0x457a00[_0x248754(0xb0)][_0x248754(0xfe)](_0x1cd4b2);_0x5ce0af[_0x248754(0xd2)]['on'](_0x248754(0xe0),(_0x54721a,_0x2c41e1,_0x41566e,_0x669d6a)=>{const _0x150dfe=_0x248754;if(!_0x669d6a&&_0x465ed4[_0x150dfe(0xfe)](_0x2c41e1[_0x150dfe(0x8f)]))return _0x465ed4[_0x150dfe(0xfe)](_0x2c41e1[_0x150dfe(0x8f)])[_0x150dfe(0xf3)](),void _0x465ed4[_0x150dfe(0xf7)](_0x2c41e1[_0x150dfe(0x8f)]);const _0x656819=_0x2c41e1[_0x150dfe(0x8f)][_0x150dfe(0xe3)](':')[0x2];if(_0x656819===_0x383d3a[_0x150dfe(0xab)])return;const _0x5869fd=_0x150dfe(0xf5)+_0x656819;_0x5ce0af[_0x150dfe(0xd2)][_0x150dfe(0x106)](_0x5869fd)&&_0x457a00[_0x150dfe(0xad)][_0x150dfe(0x102)](_0x5869fd),_0x2c41e1['on'](_0x150dfe(0xf8),(_0x26e34b,_0x2a3f39,_0x18d9a1)=>{const _0x3e3104=_0x150dfe;if(_0x3e3104(0xe5)!=_0x2a3f39[_0x3e3104(0xb9)][_0x3e3104(0xd1)]&&_0x3e3104(0xe5)==_0x2c41e1[_0x3e3104(0xc0)]()[_0x3e3104(0xb9)][_0x3e3104(0xd1)]&&!_0x465ed4[_0x3e3104(0x106)](_0x2c41e1[_0x3e3104(0x8f)])){const _0x323107=_0x5ce0af[_0x3e3104(0x91)][_0x3e3104(0xff)](_0x18d9a1[_0x3e3104(0xcd)]);if(_0x323107){const _0x1fd567=_0x2e7188[_0x3e3104(0x88)](_0x323107);_0x465ed4[_0x3e3104(0xdf)](_0x2c41e1[_0x3e3104(0x8f)],_0x1fd567),_0x1fd567['on'](_0x3e3104(0xf8),(_0x5b2de3,_0x1d3d4a,_0x3edb42)=>{const _0x2fe016=_0x3e3104;if(_0x2fe016(0xe5)==_0x1fd567[_0x2fe016(0xb9)][_0x2fe016(0xd1)]){const _0xfe9360=_0x5ce0af[_0x2fe016(0x91)][_0x2fe016(0xff)](_0x3edb42[_0x2fe016(0xcd)]);_0xfe9360?(_0x1fd567[_0x2fe016(0x9c)]=_0xfe9360[_0x2fe016(0x9c)],_0x1fd567[_0x2fe016(0xbd)]=_0xfe9360[_0x2fe016(0xbd)]):(_0x465ed4[_0x2fe016(0xf7)](_0x2c41e1[_0x2fe016(0x8f)]),_0x1fd567[_0x2fe016(0xf3)]());}});}}});}),_0x5ce0af[_0x248754(0xba)]['on'](_0x248754(0xce),()=>{const _0x5c46b2=_0x248754;_0x465ed4[_0x5c46b2(0xde)]>0x0&&_0x5ce0af[_0x5c46b2(0xf6)]({'isUndoable':!0x1},_0x4040f7=>{const _0x1e0463=_0x5c46b2;for(const [_0x532e26,_0x3a01e9]of _0x465ed4)_0x1e0463(0xe5)==_0x5ce0af[_0x1e0463(0xd2)][_0x1e0463(0xfe)](_0x532e26)[_0x1e0463(0xc0)]()[_0x1e0463(0xb9)][_0x1e0463(0xd1)]&&(re(_0x532e26[_0x1e0463(0xe3)](':')[0x2],_0x3a01e9[_0x1e0463(0x86)](),_0x5ce0af,_0x4040f7),_0x3a01e9[_0x1e0463(0xf3)]());_0x465ed4[_0x1e0463(0x8a)]();});});}(_0xdf321c),this[_0x59e9ae(0xec)][_0x59e9ae(0xa8)](_0x1540bf[_0x59e9ae(0xba)],_0x59e9ae(0xe8),(_0x3870b0,{key:_0x38777c})=>{const _0x17419a=_0x59e9ae;_0x17419a(0x8c)===_0x38777c&&function(_0x3d5001){const _0x42b822=_0x17419a;_0x3d5001[_0x42b822(0xad)][_0x42b822(0x93)][_0x42b822(0xce)](_0x379686=>{const _0x586c00=_0x42b822;for(const _0xfa3642 of _0x3d5001[_0x586c00(0xeb)][_0x586c00(0xd2)]){if(!_0xfa3642[_0x586c00(0x8f)][_0x586c00(0xea)](_0x586c00(0xc9)))continue;const _0x22138f=_0x3d5001[_0x586c00(0xad)][_0x586c00(0x97)][_0x586c00(0xda)](_0xfa3642[_0x586c00(0x8f)]);if(_0x22138f){for(const _0x25e7e3 of _0x22138f)_0x379686[_0x586c00(0xed)](_0x586c00(0xc6),_0x25e7e3);}}});}(_0xdf321c);},{'useCapture':!0x0});}[_0x5e5b73(0x101)](){const _0x241cd7=_0x5e5b73,_0x4f09f7=this[_0x241cd7(0xcf)],_0x472022=_0x4f09f7[_0x241cd7(0x105)][_0x241cd7(0xfe)](_0x241cd7(0xf0));_0x472022&&_0x4f09f7[_0x241cd7(0xeb)]['on'](_0x241cd7(0xfa),(_0x323992,_0x24791b)=>{const _0x29157b=_0x241cd7,_0x371496=_0x24791b[0x0];if(_0x29157b(0x9a)!=_0x371496[_0x29157b(0xa6)]||!_0x371496[_0x29157b(0x8f)][_0x29157b(0xea)](_0x29157b(0xfd)))return;const _0x586b77=_0x371496[_0x29157b(0xa0)];_0x472022[_0x29157b(0xc5)][_0x29157b(0x106)](_0x586b77)&&(_0x371496[_0x29157b(0xc3)]=_0x371496[_0x29157b(0xbe)]?_0x4f09f7[_0x29157b(0xeb)][_0x29157b(0xbb)](_0x371496[_0x29157b(0xbe)][_0x29157b(0x9c)],_0x371496[_0x29157b(0xbe)][_0x29157b(0xbd)]):null);},{'priority':_0x241cd7(0x9e)});}[_0x5e5b73(0x8b)](){const _0x4ddf60=_0x5e5b73;return this[_0x4ddf60(0xec)][_0x4ddf60(0xa1)](),super[_0x4ddf60(0x8b)]();}[_0x5e5b73(0xc2)](){const _0x36567b=_0x5e5b73,_0x184970=this[_0x36567b(0xcf)],_0x5ba7b3=_0x184970[_0x36567b(0xeb)][_0x36567b(0xba)],_0x4a0c5d=_0x184970[_0x36567b(0xb0)][_0x36567b(0xfe)](_0x1cd4b2);_0x184970[_0x36567b(0xeb)][_0x36567b(0xf6)]({'isUndoable':!0x1},_0x2f4fd0=>{const _0x5c8755=_0x36567b,_0x15eb66=_0x5c8755(0xcc)+_0x4a0c5d[_0x5c8755(0xab)],_0x226c97=_0x5c8755(0xf5)+_0x4a0c5d[_0x5c8755(0xab)],_0x1f7a69=_0x184970[_0x5c8755(0xeb)][_0x5c8755(0xd2)][_0x5c8755(0x106)](_0x15eb66);_0x184970[_0x5c8755(0xad)][_0x5c8755(0x93)][_0x5c8755(0xfc)]?re(_0x4a0c5d[_0x5c8755(0xab)],_0x5ba7b3[_0x5c8755(0xee)][_0x5c8755(0xfb)](),_0x184970[_0x5c8755(0xeb)],_0x2f4fd0):_0x1f7a69&&(_0x2f4fd0[_0x5c8755(0xf1)](_0x15eb66),_0x2f4fd0[_0x5c8755(0xf1)](_0x226c97));});}}function _0x378e(){const _0x5633e1=['destroy','Escape','getSelectionClass','orderNumber','name','element','schema','getCustomProperty','view','for','add','<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>','mapper','setCustomProperty','render','marker','isCollapsed','start','isLimit','highest','isInline','batch','stopListening','init','nodeAfter','2050wfKGnw','innerHTML','type','ck-user__marker\x20','listenTo','2483118FkbAhF','user:range','mySessionId','getPositions','editing','pluginName','conversion','plugins','markerName','isObject','addMarker','tableCell','ck-user__selection','updateMarker','markerToHighlight','addEventListener','root','document','createRange','UserMarkers','end','oldRange','1777758yVqekr','getRange','243502SCFNtr','createUserMarkerOperations','newRange','editingDowncast','_createdBatches','ck-user__marker_hovered','mouseenter','getContainedElement','user:position','</span>','10728hrWdrr','user:range:','deletionPosition','change','editor','getAttribute','rootName','markers','createUIElement','hasContent','span','markerToElement','markerRange','data-session-id','classList','markerNameToElements','checkChild','8166350YyLiyO','getUserBySessionId','size','set','update:user:range','9WOGaZB','280inntml','split','isSimilar','$graveyard','parent','requires','keydown','color','startsWith','model','_domEmitter','removeClass','selection','mouseleave','undo','removeMarker','2776614KxGmDD','detach','getMarkerClass','user:position:','enqueueChange','delete','change:range','$text','applyOperation','getFirstRange','hasDomSelection','user:','get','getNearestSelectionRange','1kLPQrt','afterInit','reconvertMarker','remove','contenteditable','commands','has','userPositionMarker','4963974UtRxGU','toRange','getStart','fromRange','toDomElement','clear'];_0x378e=function(){return _0x5633e1;};return _0x378e();}function re(_0x2d8701,_0xe93ef4,_0x2ca266,_0x1e5f2f){const _0x46e539=_0x5e5b73,_0x39b55d=_0x46e539(0xcc)+_0x2d8701,_0x15f8ee=_0x46e539(0xf5)+_0x2d8701,_0x11929f=_0xe93ef4[_0x46e539(0xc8)]();let _0x46c020=_0xe93ef4[_0x46e539(0x9c)];_0x11929f&&_0x11929f['is'](_0x46e539(0x90),_0x46e539(0xb4))&&(_0x46c020=function(_0x57325d,_0x3a4eed){const _0x48ba7a=_0x46e539;for(const _0x385b91 of _0x57325d[_0x48ba7a(0xac)]())if(_0x3a4eed[_0x48ba7a(0x91)][_0x48ba7a(0xdb)](_0x385b91,_0x48ba7a(0xf9)))return _0x385b91;}(_0xe93ef4,_0x2ca266),_0xe93ef4=_0x1e5f2f[_0x46e539(0xbb)](_0x46c020));const _0x382a90=_0x1e5f2f[_0x46e539(0xbb)](_0x46c020);_0x2ca266[_0x46e539(0xd2)][_0x46e539(0x106)](_0x39b55d)?(_0x1e5f2f[_0x46e539(0xb6)](_0x39b55d,{'range':_0xe93ef4}),_0x1e5f2f[_0x46e539(0xb6)](_0x15f8ee,{'range':_0x382a90})):(_0x1e5f2f[_0x46e539(0xb3)](_0x39b55d,{'range':_0xe93ef4,'usingOperation':!0x0}),_0x1e5f2f[_0x46e539(0xb3)](_0x15f8ee,{'range':_0x382a90,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3c675b=_0x266e;(function(_0x40b853,_0x555b27){const _0x35f8b5=_0x266e,_0x54a74f=_0x40b853();while(!![]){try{const _0x42a37f=-parseInt(_0x35f8b5(0x1af))/0x1+-parseInt(_0x35f8b5(0x192))/0x2+-parseInt(_0x35f8b5(0x19c))/0x3+-parseInt(_0x35f8b5(0x1bb))/0x4*(-parseInt(_0x35f8b5(0x1c6))/0x5)+-parseInt(_0x35f8b5(0x1b6))/0x6+parseInt(_0x35f8b5(0x18c))/0x7+-parseInt(_0x35f8b5(0x1c4))/0x8*(-parseInt(_0x35f8b5(0x186))/0x9);if(_0x42a37f===_0x555b27)break;else _0x54a74f['push'](_0x54a74f['shift']());}catch(_0x4499c3){_0x54a74f['push'](_0x54a74f['shift']());}}}(_0x45c1,0x354dd));import{ContextPlugin as _0x1e9d9e}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0xfbfc75,CKEditorError as _0x40f72d}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x533dd4,WEB_SOCKET_GATEWAY_STATES as _0x18b82e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x1a6870}from'ckeditor5/src/ui.js';function _0x266e(_0x54bbc0,_0x5f2be5){const _0x45c1a1=_0x45c1();return _0x266e=function(_0x266ed9,_0x406981){_0x266ed9=_0x266ed9-0x182;let _0x54dba=_0x45c1a1[_0x266ed9];return _0x54dba;},_0x266e(_0x54bbc0,_0x5f2be5);}class c extends _0x1e9d9e{static get[_0x3c675b(0x1a1)](){const _0x59af0f=_0x3c675b;return[_0x59af0f(0x194),_0x1a6870];}static get[_0x3c675b(0x1ba)](){const _0x1c09f9=_0x3c675b;return _0x1c09f9(0x188);}constructor(_0x92b895){const _0x7ac892=_0x3c675b;super(_0x92b895),this[_0x7ac892(0x187)](_0x7ac892(0x1ae),_0x18b82e[_0x7ac892(0x185)]),this[_0x7ac892(0x187)](_0x7ac892(0x199),!0x1),this[_0x7ac892(0x1b4)]=new Set(),this[_0x7ac892(0x1c2)]=!0x1,this[_0x7ac892(0x1aa)]=Object[_0x7ac892(0x189)](_0xfbfc75);}[_0x3c675b(0x191)](){const _0x306a8a=_0x3c675b,_0x1aa0b4=this[_0x306a8a(0x1b9)],_0xbdc99c=_0x1aa0b4[_0x306a8a(0x1b2)][_0x306a8a(0x197)](_0x306a8a(0x194)),_0x6bf76=_0x1aa0b4[_0x306a8a(0x1b2)][_0x306a8a(0x197)](_0x1a6870);if(!_0xbdc99c[_0x306a8a(0x18a)])throw new _0x40f72d(_0x306a8a(0x1c5),this);if(!_0xbdc99c[_0x306a8a(0x196)])throw new _0x40f72d(_0x306a8a(0x1a2),this);return this[_0x306a8a(0x1aa)][_0x306a8a(0x184)](window,_0x306a8a(0x183),()=>this[_0x306a8a(0x199)]=!0x0),this[_0x306a8a(0x1aa)][_0x306a8a(0x184)](window,_0x306a8a(0x1a3),()=>this[_0x306a8a(0x199)]=!0x1),this[_0x306a8a(0x1b9)][_0x306a8a(0x1c3)][_0x306a8a(0x1bd)](_0x306a8a(0x19b),0xa),this[_0x306a8a(0x1b9)][_0x306a8a(0x1c3)][_0x306a8a(0x1bd)](_0x306a8a(0x1b5),0x14),c[_0x306a8a(0x188)][_0x306a8a(0x18b)](_0xbdc99c[_0x306a8a(0x18a)],_0xbdc99c[_0x306a8a(0x196)],{'timeout':0x3e8*this[_0x306a8a(0x1b9)][_0x306a8a(0x1c3)][_0x306a8a(0x197)](_0x306a8a(0x19b)),'requestTimeout':0x3e8*this[_0x306a8a(0x1b9)][_0x306a8a(0x1c3)][_0x306a8a(0x197)](_0x306a8a(0x1b5))})[_0x306a8a(0x198)](_0x4d0b95=>{const _0x50d0e5=_0x306a8a;if(this[_0x50d0e5(0x1c1)]=_0x4d0b95,this[_0x50d0e5(0x18e)](_0x50d0e5(0x1ae))['to'](_0x4d0b95,_0x50d0e5(0x1ae),this,_0x50d0e5(0x199),(_0x1a87c0,_0x28002b)=>(_0x50d0e5(0x182)!==_0x1a87c0&&(this[_0x50d0e5(0x1c2)]=!0x0),_0x28002b||_0x1a87c0!==_0x18b82e[_0x50d0e5(0x185)]?_0x18b82e[_0x50d0e5(0x19f)]:this[_0x50d0e5(0x1ae)]==_0x18b82e[_0x50d0e5(0x19f)]&&this[_0x50d0e5(0x1c2)]?(this[_0x50d0e5(0x1c2)]=!0x1,this[_0x50d0e5(0x195)](),_0x18b82e[_0x50d0e5(0x1b3)]):_0x18b82e[_0x50d0e5(0x185)])),this[_0x50d0e5(0x1c1)]['on'](_0x50d0e5(0x190),(_0x5d90f6,_0x5f264e)=>{const _0xee69e=_0x50d0e5;if(_0xee69e(0x18f)!==_0x5f264e[_0xee69e(0x1a5)])throw console[_0xee69e(0x190)](_0x5f264e),new _0x40f72d(_0xee69e(0x1b0),null,{'originalError':_0x5f264e});_0x6bf76[_0xee69e(0x1a9)](_0xee69e(0x19a),{'title':_0xee69e(0x1c0),'namespace':_0xee69e(0x1b1)});}),!_0x4d0b95['me'])return new Promise(_0xae0378=>_0x4d0b95['on'](_0x50d0e5(0x1ab),_0xae0378));})[_0x306a8a(0x1be)](_0x45bb0d=>{const _0x10917c=_0x306a8a;throw console[_0x10917c(0x190)](_0x45bb0d),new _0x40f72d(_0x10917c(0x1b0),null,{'originalError':_0x45bb0d});});}[_0x3c675b(0x1bc)](_0x4c4bca){const _0x2dc4ac=_0x3c675b;if(_0x2dc4ac(0x1ac)!=typeof _0x4c4bca[_0x2dc4ac(0x1ad)])throw new _0x40f72d(_0x2dc4ac(0x1c8),this);if(this[_0x2dc4ac(0x1c7)](_0x4c4bca))throw new _0x40f72d(_0x2dc4ac(0x19e),this,{'name':_0x4c4bca[_0x2dc4ac(0x1bf)][_0x2dc4ac(0x1ba)]});this[_0x2dc4ac(0x1b4)][_0x2dc4ac(0x193)](_0x4c4bca);}[_0x3c675b(0x1a4)](_0x55003a){const _0x1edb71=_0x3c675b;this[_0x1edb71(0x1b4)][_0x1edb71(0x1c9)](_0x55003a);}[_0x3c675b(0x1c7)](_0x4b6ced){const _0x3f7d8f=_0x3c675b;return this[_0x3f7d8f(0x1b4)][_0x3f7d8f(0x1b8)](_0x4b6ced);}[_0x3c675b(0x195)](){const _0x20c50f=_0x3c675b;return this[_0x20c50f(0x1c1)][_0x20c50f(0x1ad)]()[_0x20c50f(0x198)](()=>Promise[_0x20c50f(0x1a7)](Array[_0x20c50f(0x1a0)](this[_0x20c50f(0x1b4)],_0x12f093=>_0x12f093[_0x20c50f(0x1ad)]())))[_0x20c50f(0x198)](()=>this[_0x20c50f(0x1ae)]=_0x18b82e[_0x20c50f(0x185)])[_0x20c50f(0x1be)](_0x17ccc9=>{const _0x76afaa=_0x20c50f;throw console[_0x76afaa(0x190)](_0x17ccc9),new _0x40f72d(_0x76afaa(0x1a8),this[_0x76afaa(0x1b9)]);});}[_0x3c675b(0x19d)](){const _0x59079d=_0x3c675b;this[_0x59079d(0x1c1)]&&this[_0x59079d(0x1c1)][_0x59079d(0x1a6)](),this[_0x59079d(0x1ae)]=_0x18b82e[_0x59079d(0x19f)],this[_0x59079d(0x1aa)][_0x59079d(0x1b7)](),super[_0x59079d(0x19d)]();}}c[_0x3c675b(0x188)]=_0x533dd4,c[_0x3c675b(0x18d)]=0x3e8;export default c;function _0x45c1(){const _0xbab9f=['cloudservices-reconnection-error','showWarning','_domEmitter','change:me','function','reconnect','state','404287jkhVCq','cloudservices-init','real-time-collaboration','plugins','CONNECTING','_reconnectionStack','cloudServices.requestTimeout','1142052IjizTy','stopListening','has','context','pluginName','4XbXcEK','addToReconnectionStack','define','catch','constructor','Connected\x20users\x20limit\x20exceeded','connection','_shouldPluginsReconnect','config','410008HUCPwa','websocketgateway-missing-token','1103680GnIrVb','isInReconnectionStack','websocketgateway-invalid-plugin-interface','delete','connected','offline','listenTo','CONNECTED','99OuYCKe','set','WebSocketGateway','create','token','connect','631638idhIpx','initialReconnectionInterval','bind','limitExceeded','error','init','5630IWSpmP','add','CloudServices','_reconnect','webSocketUrl','get','then','_isBrowserOffline','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.','cloudServices.connectionTimeout','176862mKaayK','destroy','websocketgateway-plugin-already-registered','DISCONNECTED','from','requires','websocketgateway-missing-websocket-url','online','removeFromReconnectionStack','code','disconnect','all'];_0x45c1=function(){return _0xbab9f;};return _0x45c1();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x20d5(_0x33a26c,_0x435e7a){var _0x3eb60c=_0x3eb6();return _0x20d5=function(_0x20d529,_0x57d2b7){_0x20d529=_0x20d529-0x8b;var _0x8124ca=_0x3eb60c[_0x20d529];return _0x8124ca;},_0x20d5(_0x33a26c,_0x435e7a);}var _0x5325f1=_0x20d5;(function(_0x1d2d67,_0x3739e9){var _0x442de6=_0x20d5,_0x434a8c=_0x1d2d67();while(!![]){try{var _0xf1ba66=-parseInt(_0x442de6(0x95))/0x1+parseInt(_0x442de6(0x92))/0x2+-parseInt(_0x442de6(0x93))/0x3*(-parseInt(_0x442de6(0x8d))/0x4)+-parseInt(_0x442de6(0x8f))/0x5+-parseInt(_0x442de6(0x8c))/0x6+-parseInt(_0x442de6(0x91))/0x7*(parseInt(_0x442de6(0x94))/0x8)+parseInt(_0x442de6(0x90))/0x9;if(_0xf1ba66===_0x3739e9)break;else _0x434a8c['push'](_0x434a8c['shift']());}catch(_0x785e11){_0x434a8c['push'](_0x434a8c['shift']());}}}(_0x3eb6,0x512a6));function _0x3eb6(){var _0x245346=['557078OXqrPF','15DsWBSh','88nZhdOq','222914SpvAoU','pluginName','requires','3208722uqFzIP','155492PMYdEM','RealTimeCollaborativeEditing','1454875VlFiPL','13172148PshVOc','353402ZqAXUF'];_0x3eb6=function(){return _0x245346;};return _0x3eb6();}import{Plugin as _0x292faa}from'ckeditor5/src/core.js';import _0x44a624 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x292faa{static get[_0x5325f1(0x8b)](){return[_0x44a624];}static get[_0x5325f1(0x96)](){var _0x288357=_0x5325f1;return _0x288357(0x8e);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x20b2e5=_0x21ac;(function(_0x30ab7e,_0x16c5ef){const _0x5f5369=_0x21ac,_0x5cd1dc=_0x30ab7e();while(!![]){try{const _0x67c2fc=-parseInt(_0x5f5369(0x198))/0x1+parseInt(_0x5f5369(0x18c))/0x2+parseInt(_0x5f5369(0x190))/0x3+-parseInt(_0x5f5369(0x19a))/0x4+parseInt(_0x5f5369(0x1d6))/0x5*(-parseInt(_0x5f5369(0x18d))/0x6)+parseInt(_0x5f5369(0x1af))/0x7*(-parseInt(_0x5f5369(0x1c5))/0x8)+parseInt(_0x5f5369(0x177))/0x9*(parseInt(_0x5f5369(0x185))/0xa);if(_0x67c2fc===_0x16c5ef)break;else _0x5cd1dc['push'](_0x5cd1dc['shift']());}catch(_0x15031c){_0x5cd1dc['push'](_0x5cd1dc['shift']());}}}(_0x22f5,0x87ae4));import{Plugin as _0x4e5b13}from'ckeditor5/src/core.js';import{version as _0x2b0da1}from'ckeditor5/src/utils.js';import{Users as _0x20d387}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x21ac(_0x47699b,_0x5ddd0f){const _0x22f50e=_0x22f5();return _0x21ac=function(_0x21acf5,_0x3f71b6){_0x21acf5=_0x21acf5-0x16c;let _0x7aa8c9=_0x22f50e[_0x21acf5];return _0x7aa8c9;},_0x21ac(_0x47699b,_0x5ddd0f);}import _0x3168df from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x5c6170 from'../realtimecollaborativeediting/websocketgateway.js';function _0x22f5(){const _0x383d99=['off','reInit','cloud-services-internal-error:\x20Not\x20connected.','state','remove','_revisionDataBuilder','cloudServices.bundleVersion','isEnabled','_revisionHistoryService','catch','updateRevisions','setSource','_handleReconnectionError','config','getRevisions','once','change:_isConnected','RevisionTracker','baseVersion','112asnuEx','getRevision','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','createdAt','requires','_handleRevisionsUpdate','creatorId','add','fromVersion','_startingVersion','_bufferUpdate','connection','code','_lastRequestId','reconnect','_fixRevision','type','45YGZtQw','RevisionHistoryService','get','_revisions','editor','startsWith','_waitForServiceReady','bind','_getLatestVersion','sessionId','marker','diffData','toVersion','cloud-services-internal-error:\x20Request\x20timeout.','authorsIds','from','118089IoTVjL','max','CONNECTED','length','addUser','listenTo','getOperations','currentRevision','authors','_getLatestVersionFromServerOperations','_revisionTracker','destroy','400','_bufferedUpdates','1370WAlpjg','repository','data','change:_isPendingUpdate','affectsData','connect','isBundleUploaded','1133580txzrYi','10938gnfmtK','connected','plugins','991098SQnBph','size','_offset','has','_createCurrentRevision','addRevisionData','isConnected','_update','1048029MyLoCz','_oldOffset','480116PlqFaA','_preventResendingRevisionData','getMany','init','serverHistory','sendBufferedUpdates','_isConnected','message','collaboration.channelId','isEmptyCurrent','then','keys','revisionsUpdated','_fetchMissingUsers','wrongRequestId','getUser','map','addToReconnectionStack','setRevisionData','_isPendingUpdate','reverse','477260ZesUVy','adapter','buildRevisionData'];_0x22f5=function(){return _0x383d99;};return _0x22f5();}import _0x1a167e from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x137bf4,RevisionHistoryService as _0x58d2d2,User as _0x4facd3,WEB_SOCKET_GATEWAY_STATES as _0xc33336}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x4e5b13{static get[_0x20b2e5(0x1c9)](){const _0x41bace=_0x20b2e5;return[_0x5c6170,_0x3168df,_0x41bace(0x1c3),_0x1a167e,_0x20d387];}constructor(_0x2c7518){const _0x541fc0=_0x20b2e5;super(_0x2c7518);const _0x4deefc=this[_0x541fc0(0x1da)][_0x541fc0(0x1bf)][_0x541fc0(0x1d8)](_0x541fc0(0x1a2));this[_0x541fc0(0x1d2)]=null,this[_0x541fc0(0x181)]=this[_0x541fc0(0x1da)][_0x541fc0(0x18f)][_0x541fc0(0x1d8)](_0x541fc0(0x1c3)),this[_0x541fc0(0x1ba)]=new v[(_0x541fc0(0x1d7))](_0x4deefc);}async[_0x20b2e5(0x19d)](){const _0x2ff44e=_0x20b2e5,_0x302de4=this[_0x2ff44e(0x1da)][_0x2ff44e(0x18f)][_0x2ff44e(0x1d8)](_0x3168df),_0x18cba5=_0x302de4[_0x2ff44e(0x19e)],_0x2e1604=this[_0x2ff44e(0x1da)][_0x2ff44e(0x18f)][_0x2ff44e(0x1d8)](_0x5c6170);this[_0x2ff44e(0x181)][_0x2ff44e(0x1bd)]({'history':_0x18cba5,'getLatestVersion':()=>this[_0x2ff44e(0x16f)](),'getCurrentRevisionId':()=>_0x302de4[_0x2ff44e(0x170)]});const _0x5879ff=this[_0x2ff44e(0x1da)][_0x2ff44e(0x1bf)][_0x2ff44e(0x1d8)](_0x2ff44e(0x1b8))||_0x2b0da1,_0x5685ec=await _0x137bf4[_0x2ff44e(0x18b)](_0x2e1604[_0x2ff44e(0x1d0)],_0x5879ff);this[_0x2ff44e(0x181)][_0x2ff44e(0x1b0)]={'getRevision':async({revisionId:_0x4f02c0})=>(await this[_0x2ff44e(0x16d)](),await this[_0x2ff44e(0x1ba)][_0x2ff44e(0x1c6)](_0x4f02c0)),'updateRevisions':async _0x3acd64=>{const _0x411b47=_0x2ff44e;await this[_0x411b47(0x16d)]();const _0x1278c5=this[_0x411b47(0x181)][_0x411b47(0x17e)];if(_0x5685ec&&0x1===_0x3acd64[_0x411b47(0x17a)]&&_0x3acd64[0x0]['id']===_0x1278c5['id'])return _0x3acd64;for(const _0x507777 of _0x3acd64)_0x507777['id']===_0x1278c5['id']&&(_0x507777[_0x411b47(0x1a3)]=_0x507777[_0x411b47(0x1cd)]===_0x507777[_0x411b47(0x173)]);return this[_0x411b47(0x1ba)][_0x411b47(0x1bc)](_0x3acd64,this[_0x411b47(0x1d2)])[_0x411b47(0x1a4)](_0x2433a0=>(this[_0x411b47(0x1d2)]=_0x2433a0,_0x3acd64))[_0x411b47(0x1bb)](_0x342421=>{const _0x1739a4=_0x411b47;if(st(_0x342421)||_0x1739a4(0x183)===_0x342421[_0x1739a4(0x1d1)]&&void 0x0!==_0x342421[_0x1739a4(0x187)][_0x1739a4(0x1a8)]){for(const _0x2dd69d of _0x3acd64){!this[_0x1739a4(0x181)][_0x1739a4(0x186)][_0x1739a4(0x1c6)](_0x2dd69d['id'])||this[_0x1739a4(0x181)][_0x1739a4(0x1cf)](_0x2dd69d['id'],_0x2dd69d,!0x1);}if(st(_0x342421))throw _0x342421;return _0x3acd64;}throw _0x342421;});}},this[_0x2ff44e(0x17c)](this[_0x2ff44e(0x1ba)],_0x2ff44e(0x1a6),(_0x139d54,{revisionsData:_0x463805,requestId:_0x1dc4aa})=>{const _0x1d2099=_0x2ff44e;Math[_0x1d2099(0x178)](..._0x463805[_0x1d2099(0x1aa)](_0x1a47ca=>_0x1a47ca[_0x1d2099(0x173)]))>this[_0x1d2099(0x180)]()-0x1?this[_0x1d2099(0x16f)]()[_0x1d2099(0x1a4)](()=>{const _0x5bd0a8=_0x1d2099;this[_0x5bd0a8(0x1ca)](_0x463805,_0x1dc4aa);}):this[_0x1d2099(0x1ca)](_0x463805,_0x1dc4aa);});const {revisions:_0x3f631e,requestId:_0x24e731}=await this[_0x2ff44e(0x1ba)][_0x2ff44e(0x18a)](_0x2e1604[_0x2ff44e(0x1d0)]);_0x2e1604[_0x2ff44e(0x1ab)](this),this[_0x2ff44e(0x1d2)]=_0x24e731,await this[_0x2ff44e(0x1a7)](_0x3f631e);for(const _0x13acb5 of _0x3f631e)this[_0x2ff44e(0x181)][_0x2ff44e(0x195)](_0x13acb5);this[_0x2ff44e(0x17c)](_0x302de4,_0x2ff44e(0x1c2),(_0x1fee3d,_0x12e13e,_0x388972)=>{const _0x51bfdb=_0x2ff44e;_0x388972&&(this[_0x51bfdb(0x199)]=_0x302de4[_0x51bfdb(0x192)],_0x1fee3d[_0x51bfdb(0x1b2)]());}),this[_0x2ff44e(0x181)][_0x2ff44e(0x16e)](_0x2ff44e(0x1b9))['to'](_0x2e1604,_0x2ff44e(0x1b5),_0x38554e=>_0x38554e===_0xc33336[_0x2ff44e(0x179)]);}async[_0x20b2e5(0x1d3)](){const _0x4bdb71=_0x20b2e5,_0x48ea27=this[_0x4bdb71(0x1da)][_0x4bdb71(0x18f)][_0x4bdb71(0x1d8)](_0x5c6170),_0x193810=this[_0x4bdb71(0x1da)][_0x4bdb71(0x18f)][_0x4bdb71(0x1d8)](_0x3168df),_0x4977e9=async()=>{const _0x1817bb=_0x4bdb71,_0x3cf621=this[_0x1817bb(0x181)][_0x1817bb(0x17e)],_0x404103=_0x3cf621['id'],_0x518133=_0x404103!==_0x193810[_0x1817bb(0x170)];if(_0x518133){const _0x4e54df=_0x193810[_0x1817bb(0x192)]-this[_0x1817bb(0x199)],_0x54f6c8=this[_0x1817bb(0x180)]();this[_0x1817bb(0x181)][_0x1817bb(0x1b7)][_0x1817bb(0x1b3)]();if(_0x3cf621[_0x1817bb(0x173)]+_0x4e54df!==_0x54f6c8){const _0xef4526=_0x3cf621[_0x1817bb(0x1cd)]+_0x4e54df,_0x190d48=this[_0x1817bb(0x1da)][_0x1817bb(0x18f)][_0x1817bb(0x1d8)](_0x20d387),_0x3d6670=this[_0x1817bb(0x181)][_0x1817bb(0x1b1)]({'revision':_0x3cf621,'from':_0xef4526,'to':_0x54f6c8});_0x3d6670['id']=_0x3cf621['id'];const _0x5e0e80=_0x3d6670[_0x1817bb(0x175)][_0x1817bb(0x1aa)](_0x3b0d87=>_0x190d48[_0x1817bb(0x1a9)](_0x3b0d87));_0x3cf621[_0x1817bb(0x197)]({..._0x3d6670,'authors':_0x5e0e80},!0x0),this[_0x1817bb(0x181)][_0x1817bb(0x1cf)](_0x3cf621['id'],_0x3d6670,!0x0);}this[_0x1817bb(0x181)][_0x1817bb(0x1ce)]=_0x54f6c8,(_0x3cf621[_0x1817bb(0x173)]===_0x3cf621[_0x1817bb(0x1cd)]&&!this[_0x1817bb(0x181)][_0x1817bb(0x184)][_0x1817bb(0x193)](_0x404103)&&this[_0x1817bb(0x181)][_0x1817bb(0x186)][_0x1817bb(0x1d9)][_0x1817bb(0x1b6)](_0x404103),this[_0x1817bb(0x181)][_0x1817bb(0x194)](_0x54f6c8));}const {revisions:_0xd9da91,requestId:_0x31c313}=await this[_0x1817bb(0x1ba)][_0x1817bb(0x1d3)](_0x48ea27[_0x1817bb(0x1d0)],this[_0x1817bb(0x1d2)]);_0x518133&&_0xd9da91[_0x1817bb(0x17a)]>0x0?_0x193810[_0x1817bb(0x1be)]():(await this[_0x1817bb(0x1a7)](_0xd9da91),this[_0x1817bb(0x1ca)](_0xd9da91,_0x31c313),this[_0x1817bb(0x181)][_0x1817bb(0x19f)]());};return _0x193810[_0x4bdb71(0x1a0)]?_0x4977e9():new Promise((_0x57ebf4,_0x3c28ad)=>{const _0x1adfaf=_0x4bdb71;_0x193810[_0x1adfaf(0x1c1)](_0x1adfaf(0x1c2),()=>{const _0x33e5b6=_0x1adfaf;_0x4977e9()[_0x33e5b6(0x1a4)](_0x57ebf4)[_0x33e5b6(0x1bb)](_0x3c28ad);});});}[_0x20b2e5(0x182)](){const _0x2b8f1e=_0x20b2e5;super[_0x2b8f1e(0x182)]();}async[_0x20b2e5(0x16d)](){const _0x4d2c7a=_0x20b2e5;this[_0x4d2c7a(0x1ba)][_0x4d2c7a(0x196)]||await new Promise(_0x57d2d0=>{const _0x27165a=_0x4d2c7a;this[_0x27165a(0x17c)](this[_0x27165a(0x1ba)],_0x27165a(0x18e),_0x11330f=>{const _0x494f9e=_0x27165a;_0x11330f[_0x494f9e(0x1b2)](),_0x57d2d0();});});}[_0x20b2e5(0x180)](){const _0x51527c=_0x20b2e5,_0x28b073=this[_0x51527c(0x1da)][_0x51527c(0x18f)][_0x51527c(0x1d8)](_0x3168df)[_0x51527c(0x19e)][_0x51527c(0x17d)]()[_0x51527c(0x1ae)]();for(const _0x2caae9 of _0x28b073)if(_0x51527c(0x171)!==_0x2caae9[_0x51527c(0x1d5)]||_0x2caae9[_0x51527c(0x189)])return _0x2caae9[_0x51527c(0x1c4)]+0x1;}[_0x20b2e5(0x16f)](){const _0x4d10b9=_0x20b2e5,_0x45ec65=this[_0x4d10b9(0x1da)][_0x4d10b9(0x18f)][_0x4d10b9(0x1d8)](_0x3168df);return new Promise(_0x3736e2=>{const _0x5d6eef=_0x4d10b9;_0x45ec65[_0x5d6eef(0x1ad)]?_0x45ec65[_0x5d6eef(0x1c1)](_0x5d6eef(0x188),()=>{const _0x54c359=_0x5d6eef;_0x3736e2(this[_0x54c359(0x180)]());}):_0x3736e2(this[_0x5d6eef(0x180)]());});}[_0x20b2e5(0x1ca)](_0x380529,_0x29cf4a){const _0x4ec3d2=_0x20b2e5,_0xc90c58=this[_0x4ec3d2(0x181)][_0x4ec3d2(0x186)];this[_0x4ec3d2(0x1d2)]=_0x29cf4a;for(const _0x508208 of _0x380529){const _0x321f28=_0xc90c58[_0x4ec3d2(0x1c6)](_0x508208['id']);if(_0x321f28){if((_0x508208[_0x4ec3d2(0x1cd)]||_0x508208[_0x4ec3d2(0x173)])&&(_0x508208[_0x4ec3d2(0x172)]=null),_0x321f28===this[_0x4ec3d2(0x181)][_0x4ec3d2(0x17e)]){const _0x230555=Math[_0x4ec3d2(0x178)](_0x321f28[_0x4ec3d2(0x173)],_0x508208[_0x4ec3d2(0x173)]),_0x35e703=Math[_0x4ec3d2(0x178)](_0x321f28[_0x4ec3d2(0x1cd)],_0x508208[_0x4ec3d2(0x1cd)]);let _0x155f21;_0x321f28[_0x4ec3d2(0x173)]===_0x508208[_0x4ec3d2(0x173)]&&_0x321f28[_0x4ec3d2(0x1cd)]===_0x508208[_0x4ec3d2(0x1cd)]?(_0x155f21=!0x0,this[_0x4ec3d2(0x19b)](_0x508208)):_0x508208[_0x4ec3d2(0x173)]===_0x230555&&_0x508208[_0x4ec3d2(0x1cd)]===_0x35e703?_0x155f21=!0x1:(_0x321f28[_0x4ec3d2(0x173)]===_0x230555&&_0x321f28[_0x4ec3d2(0x1cd)]===_0x35e703||this[_0x4ec3d2(0x1d4)]({'revision':_0x321f28,'from':_0x35e703,'to':_0x230555}),_0x155f21=!0x0),_0x155f21&&(delete _0x508208[_0x4ec3d2(0x1cd)],delete _0x508208[_0x4ec3d2(0x173)],delete _0x508208[_0x4ec3d2(0x172)],delete _0x508208[_0x4ec3d2(0x1c8)],delete _0x508208[_0x4ec3d2(0x175)]);}this[_0x4ec3d2(0x181)][_0x4ec3d2(0x1ac)](_0x508208),this[_0x4ec3d2(0x19b)](_0x508208);}else this[_0x4ec3d2(0x181)][_0x4ec3d2(0x195)](_0x508208);}const _0x4adecc=_0xc90c58[_0x4ec3d2(0x1c0)]();_0x4adecc[_0x4ec3d2(0x1ae)]();for(let _0x1a7fa3=0x0;_0x1a7fa3<_0x4adecc[_0x4ec3d2(0x17a)]-0x1;_0x1a7fa3++){const _0xacb779=_0x4adecc[_0x1a7fa3],_0x204f82=_0x4adecc[_0x1a7fa3+0x1];if(_0xacb779[_0x4ec3d2(0x1cd)]<_0x204f82[_0x4ec3d2(0x173)]){const _0x1497e2=_0x204f82[_0x4ec3d2(0x173)],_0x507a03=Math[_0x4ec3d2(0x178)](_0x1497e2,_0xacb779[_0x4ec3d2(0x173)]);this[_0x4ec3d2(0x1d4)]({'revision':_0xacb779,'from':_0x1497e2,'to':_0x507a03});}}}[_0x20b2e5(0x1d4)]({revision:_0x52db1a,from:_0xa3931e,to:_0x14fa7d}={}){const _0x4bed4c=_0x20b2e5,_0xbe0bfd=this[_0x4bed4c(0x1da)][_0x4bed4c(0x18f)][_0x4bed4c(0x1d8)](_0x20d387),_0x1223f3=this[_0x4bed4c(0x181)][_0x4bed4c(0x1b1)]({'revision':_0x52db1a,'from':_0xa3931e,'to':_0x14fa7d});_0x1223f3[_0x4bed4c(0x17f)]=_0x1223f3[_0x4bed4c(0x175)][_0x4bed4c(0x1aa)](_0x5838e3=>_0xbe0bfd[_0x4bed4c(0x1a9)](_0x5838e3)),_0x52db1a[_0x4bed4c(0x197)](_0x1223f3);}[_0x20b2e5(0x19b)](_0x12812e){const _0x58cca8=_0x20b2e5,_0xa70cbb={};_0xa70cbb['id']=_0x12812e['id'];for(const _0x2cc5ff of Object[_0x58cca8(0x1a5)](_0x12812e))'id'!==_0x2cc5ff&&(_0xa70cbb[_0x2cc5ff]=void 0x0);this[_0x58cca8(0x181)][_0x58cca8(0x1cf)](_0xa70cbb['id'],_0xa70cbb,!0x0);}async[_0x20b2e5(0x1a7)](_0xa5f9f8){const _0x9b9ce6=_0x20b2e5,_0x9e746c=this[_0x9b9ce6(0x1da)][_0x9b9ce6(0x18f)][_0x9b9ce6(0x1d8)](_0x20d387),{connection:_0x356c00}=this[_0x9b9ce6(0x1da)][_0x9b9ce6(0x18f)][_0x9b9ce6(0x1d8)](_0x5c6170),_0xa4f714=new Set();for(const _0x3fe958 of _0xa5f9f8){for(const _0x5b9d10 of _0x3fe958[_0x9b9ce6(0x175)])_0x872cee(_0x5b9d10);_0x3fe958[_0x9b9ce6(0x1cb)]&&_0x872cee(_0x3fe958[_0x9b9ce6(0x1cb)]);}if(0x0===_0xa4f714[_0x9b9ce6(0x191)])return;const _0x3d476d=await _0x4facd3[_0x9b9ce6(0x19c)](_0x356c00,Array[_0x9b9ce6(0x176)](_0xa4f714));for(const _0x432efa of _0x3d476d)_0x9e746c[_0x9b9ce6(0x1a9)](_0x432efa['id'])||_0x9e746c[_0x9b9ce6(0x17b)](_0x432efa);function _0x872cee(_0x545001){const _0x3e2b9c=_0x9b9ce6;_0x9e746c[_0x3e2b9c(0x1a9)](_0x545001)||_0xa4f714[_0x3e2b9c(0x1cc)](_0x545001);}}}v[_0x20b2e5(0x1d7)]=_0x58d2d2;export default v;function st(_0x22f91b){const _0x2a21ee=_0x20b2e5;return _0x22f91b[_0x2a21ee(0x1a1)][_0x2a21ee(0x16c)](_0x2a21ee(0x1c7))||_0x22f91b[_0x2a21ee(0x1a1)][_0x2a21ee(0x16c)](_0x2a21ee(0x1b4))||_0x22f91b[_0x2a21ee(0x1a1)][_0x2a21ee(0x16c)](_0x2a21ee(0x174));}
|
|
23
|
+
const _0x2cd0b7=_0x3da0;(function(_0x306511,_0x5e2f9c){const _0x5228b6=_0x3da0,_0x54c8d6=_0x306511();while(!![]){try{const _0x403bc4=parseInt(_0x5228b6(0x1a7))/0x1*(-parseInt(_0x5228b6(0x188))/0x2)+parseInt(_0x5228b6(0x17c))/0x3+parseInt(_0x5228b6(0x18f))/0x4*(-parseInt(_0x5228b6(0x180))/0x5)+parseInt(_0x5228b6(0x198))/0x6+parseInt(_0x5228b6(0x18d))/0x7+parseInt(_0x5228b6(0x168))/0x8+parseInt(_0x5228b6(0x15b))/0x9*(parseInt(_0x5228b6(0x1be))/0xa);if(_0x403bc4===_0x5e2f9c)break;else _0x54c8d6['push'](_0x54c8d6['shift']());}catch(_0x355925){_0x54c8d6['push'](_0x54c8d6['shift']());}}}(_0x472f,0x3e7f1));import{Plugin as _0x57855b}from'ckeditor5/src/core.js';import{version as _0x2a2f28}from'ckeditor5/src/utils.js';import{Users as _0x1bde9d}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x47ade6 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x10c0dc from'../realtimecollaborativeediting/websocketgateway.js';import _0x2ccc2d from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x4d468a,RevisionHistoryService as _0x3b9f55,User as _0xc6dde9,WEB_SOCKET_GATEWAY_STATES as _0x3bb87d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x472f(){const _0x28f853=['currentRevision','init','isBundleUploaded','destroy','toVersion','isEmptyCurrent','connection','824BofHfD','state','config','off','createdAt','2504740QtgpJf','cloudServices.bundleVersion','92EFmjAz','_revisionDataBuilder','_preventResendingRevisionData','reInit','getMany','change:_isConnected','400','reconnect','startsWith','256314PivELz','from','revisionsUpdated','_createCurrentRevision','code','adapter','_update','cloud-services-internal-error:\x20Request\x20timeout.','catch','diffData','wrongRequestId','addToReconnectionStack','affectsData','RevisionTracker','repository','342pvXpFl','length','bind','cloud-services-internal-error:\x20Not\x20connected.','_handleRevisionsUpdate','sendBufferedUpdates','RevisionHistoryService','_startingVersion','buildRevisionData','_isPendingUpdate','sessionId','connect','plugins','requires','_oldOffset','marker','addUser','has','data','isEnabled','change:_isPendingUpdate','type','max','1110JsafRv','_isConnected','addRevisionData','_getLatestVersionFromServerOperations','creatorId','_bufferUpdate','_offset','add','setSource','serverHistory','_revisions','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','2763gwlDib','then','editor','listenTo','_handleReconnectionError','authors','remove','_lastRequestId','getOperations','collaboration.channelId','_getLatestVersion','getRevisions','size','277696kdDzbn','message','_revisionHistoryService','fromVersion','getUser','map','_fixRevision','setRevisionData','keys','isConnected','baseVersion','_revisionTracker','_fetchMissingUsers','connected','getRevision','CONNECTED','updateRevisions','once','get','_bufferedUpdates','507321njVGGG','_waitForServiceReady','reverse','authorsIds','52510seYSNy'];_0x472f=function(){return _0x28f853;};return _0x472f();}class v extends _0x57855b{static get[_0x2cd0b7(0x1b4)](){const _0x3b85fd=_0x2cd0b7;return[_0x10c0dc,_0x47ade6,_0x3b85fd(0x1a5),_0x2ccc2d,_0x1bde9d];}constructor(_0x519c73){const _0xc35def=_0x2cd0b7;super(_0x519c73);const _0x57d4c7=this[_0xc35def(0x15d)][_0xc35def(0x18a)][_0xc35def(0x17a)](_0xc35def(0x164));this[_0xc35def(0x162)]=null,this[_0xc35def(0x173)]=this[_0xc35def(0x15d)][_0xc35def(0x1b3)][_0xc35def(0x17a)](_0xc35def(0x1a5)),this[_0xc35def(0x16a)]=new v[(_0xc35def(0x1ad))](_0x57d4c7);}async[_0x2cd0b7(0x182)](){const _0x2819ab=_0x2cd0b7,_0x2d5ca1=this[_0x2819ab(0x15d)][_0x2819ab(0x1b3)][_0x2819ab(0x17a)](_0x47ade6),_0x2dce58=_0x2d5ca1[_0x2819ab(0x158)],_0x3499ea=this[_0x2819ab(0x15d)][_0x2819ab(0x1b3)][_0x2819ab(0x17a)](_0x10c0dc);this[_0x2819ab(0x173)][_0x2819ab(0x157)]({'history':_0x2dce58,'getLatestVersion':()=>this[_0x2819ab(0x165)](),'getCurrentRevisionId':()=>_0x2d5ca1[_0x2819ab(0x1b1)]});const _0x490805=this[_0x2819ab(0x15d)][_0x2819ab(0x18a)][_0x2819ab(0x17a)](_0x2819ab(0x18e))||_0x2a2f28,_0x8ccad4=await _0x4d468a[_0x2819ab(0x183)](_0x3499ea[_0x2819ab(0x187)],_0x490805);this[_0x2819ab(0x173)][_0x2819ab(0x19d)]={'getRevision':async({revisionId:_0x285bdd})=>(await this[_0x2819ab(0x17d)](),await this[_0x2819ab(0x16a)][_0x2819ab(0x176)](_0x285bdd)),'updateRevisions':async _0x566df4=>{const _0x17fb9f=_0x2819ab;await this[_0x17fb9f(0x17d)]();const _0x275bf7=this[_0x17fb9f(0x173)][_0x17fb9f(0x181)];if(_0x8ccad4&&0x1===_0x566df4[_0x17fb9f(0x1a8)]&&_0x566df4[0x0]['id']===_0x275bf7['id'])return _0x566df4;for(const _0x39c706 of _0x566df4)_0x39c706['id']===_0x275bf7['id']&&(_0x39c706[_0x17fb9f(0x186)]=_0x39c706[_0x17fb9f(0x16b)]===_0x39c706[_0x17fb9f(0x185)]);return this[_0x17fb9f(0x16a)][_0x17fb9f(0x178)](_0x566df4,this[_0x17fb9f(0x162)])[_0x17fb9f(0x15c)](_0x5c1305=>(this[_0x17fb9f(0x162)]=_0x5c1305,_0x566df4))[_0x17fb9f(0x1a0)](_0x3c2dae=>{const _0x2bb740=_0x17fb9f;if(st(_0x3c2dae)||_0x2bb740(0x195)===_0x3c2dae[_0x2bb740(0x19c)]&&void 0x0!==_0x3c2dae[_0x2bb740(0x1b9)][_0x2bb740(0x1a2)]){for(const _0x219ca5 of _0x566df4){!this[_0x2bb740(0x173)][_0x2bb740(0x1a6)][_0x2bb740(0x176)](_0x219ca5['id'])||this[_0x2bb740(0x173)][_0x2bb740(0x154)](_0x219ca5['id'],_0x219ca5,!0x1);}if(st(_0x3c2dae))throw _0x3c2dae;return _0x566df4;}throw _0x3c2dae;});}},this[_0x2819ab(0x15e)](this[_0x2819ab(0x16a)],_0x2819ab(0x19a),(_0x335c0a,{revisionsData:_0x1ee93e,requestId:_0x1db6f9})=>{const _0x4fa599=_0x2819ab;Math[_0x4fa599(0x1bd)](..._0x1ee93e[_0x4fa599(0x16d)](_0x5428de=>_0x5428de[_0x4fa599(0x185)]))>this[_0x4fa599(0x152)]()-0x1?this[_0x4fa599(0x165)]()[_0x4fa599(0x15c)](()=>{const _0x167633=_0x4fa599;this[_0x167633(0x1ab)](_0x1ee93e,_0x1db6f9);}):this[_0x4fa599(0x1ab)](_0x1ee93e,_0x1db6f9);});const {revisions:_0xf779d6,requestId:_0x20092d}=await this[_0x2819ab(0x16a)][_0x2819ab(0x1b2)](_0x3499ea[_0x2819ab(0x187)]);_0x3499ea[_0x2819ab(0x1a3)](this),this[_0x2819ab(0x162)]=_0x20092d,await this[_0x2819ab(0x174)](_0xf779d6);for(const _0x2cdf9e of _0xf779d6)this[_0x2819ab(0x173)][_0x2819ab(0x151)](_0x2cdf9e);this[_0x2819ab(0x15e)](_0x2d5ca1,_0x2819ab(0x194),(_0x4afd93,_0xc067ca,_0x5dcc9c)=>{const _0xe7c29e=_0x2819ab;_0x5dcc9c&&(this[_0xe7c29e(0x1b5)]=_0x2d5ca1[_0xe7c29e(0x155)],_0x4afd93[_0xe7c29e(0x18b)]());}),this[_0x2819ab(0x173)][_0x2819ab(0x1a9)](_0x2819ab(0x1ba))['to'](_0x3499ea,_0x2819ab(0x189),_0xe135bc=>_0xe135bc===_0x3bb87d[_0x2819ab(0x177)]);}async[_0x2cd0b7(0x196)](){const _0x5c449c=_0x2cd0b7,_0x466bad=this[_0x5c449c(0x15d)][_0x5c449c(0x1b3)][_0x5c449c(0x17a)](_0x10c0dc),_0x34b5fc=this[_0x5c449c(0x15d)][_0x5c449c(0x1b3)][_0x5c449c(0x17a)](_0x47ade6),_0x7b6e60=async()=>{const _0x4a3f85=_0x5c449c,_0xed209f=this[_0x4a3f85(0x173)][_0x4a3f85(0x181)],_0x3f2733=_0xed209f['id'],_0x3bf790=_0x3f2733!==_0x34b5fc[_0x4a3f85(0x1b1)];if(_0x3bf790){const _0x29ef89=_0x34b5fc[_0x4a3f85(0x155)]-this[_0x4a3f85(0x1b5)],_0x28587b=this[_0x4a3f85(0x152)]();this[_0x4a3f85(0x173)][_0x4a3f85(0x190)][_0x4a3f85(0x192)]();if(_0xed209f[_0x4a3f85(0x185)]+_0x29ef89!==_0x28587b){const _0x22647b=_0xed209f[_0x4a3f85(0x16b)]+_0x29ef89,_0x5b6824=this[_0x4a3f85(0x15d)][_0x4a3f85(0x1b3)][_0x4a3f85(0x17a)](_0x1bde9d),_0x202ec7=this[_0x4a3f85(0x173)][_0x4a3f85(0x1af)]({'revision':_0xed209f,'from':_0x22647b,'to':_0x28587b});_0x202ec7['id']=_0xed209f['id'];const _0x18ea72=_0x202ec7[_0x4a3f85(0x17f)][_0x4a3f85(0x16d)](_0x12d962=>_0x5b6824[_0x4a3f85(0x16c)](_0x12d962));_0xed209f[_0x4a3f85(0x19e)]({..._0x202ec7,'authors':_0x18ea72},!0x0),this[_0x4a3f85(0x173)][_0x4a3f85(0x154)](_0xed209f['id'],_0x202ec7,!0x0);}this[_0x4a3f85(0x173)][_0x4a3f85(0x1ae)]=_0x28587b,(_0xed209f[_0x4a3f85(0x185)]===_0xed209f[_0x4a3f85(0x16b)]&&!this[_0x4a3f85(0x173)][_0x4a3f85(0x17b)][_0x4a3f85(0x1b8)](_0x3f2733)&&this[_0x4a3f85(0x173)][_0x4a3f85(0x1a6)][_0x4a3f85(0x159)][_0x4a3f85(0x161)](_0x3f2733),this[_0x4a3f85(0x173)][_0x4a3f85(0x19b)](_0x28587b));}const {revisions:_0x586ea9,requestId:_0x2fb264}=await this[_0x4a3f85(0x16a)][_0x4a3f85(0x196)](_0x466bad[_0x4a3f85(0x187)],this[_0x4a3f85(0x162)]);_0x3bf790&&_0x586ea9[_0x4a3f85(0x1a8)]>0x0?_0x34b5fc[_0x4a3f85(0x15f)]():(await this[_0x4a3f85(0x174)](_0x586ea9),this[_0x4a3f85(0x1ab)](_0x586ea9,_0x2fb264),this[_0x4a3f85(0x173)][_0x4a3f85(0x1ac)]());};return _0x34b5fc[_0x5c449c(0x1bf)]?_0x7b6e60():new Promise((_0x86ee2d,_0x4384e5)=>{const _0x54b4e0=_0x5c449c;_0x34b5fc[_0x54b4e0(0x179)](_0x54b4e0(0x194),()=>{const _0xf0962d=_0x54b4e0;_0x7b6e60()[_0xf0962d(0x15c)](_0x86ee2d)[_0xf0962d(0x1a0)](_0x4384e5);});});}[_0x2cd0b7(0x184)](){const _0x533860=_0x2cd0b7;super[_0x533860(0x184)]();}async[_0x2cd0b7(0x17d)](){const _0xd7a952=_0x2cd0b7;this[_0xd7a952(0x16a)][_0xd7a952(0x171)]||await new Promise(_0x1cf8a1=>{const _0x148a61=_0xd7a952;this[_0x148a61(0x15e)](this[_0x148a61(0x16a)],_0x148a61(0x175),_0xb97824=>{const _0xdcb1a1=_0x148a61;_0xb97824[_0xdcb1a1(0x18b)](),_0x1cf8a1();});});}[_0x2cd0b7(0x152)](){const _0x5a2c58=_0x2cd0b7,_0x3df89e=this[_0x5a2c58(0x15d)][_0x5a2c58(0x1b3)][_0x5a2c58(0x17a)](_0x47ade6)[_0x5a2c58(0x158)][_0x5a2c58(0x163)]()[_0x5a2c58(0x17e)]();for(const _0x30a18c of _0x3df89e)if(_0x5a2c58(0x1b6)!==_0x30a18c[_0x5a2c58(0x1bc)]||_0x30a18c[_0x5a2c58(0x1a4)])return _0x30a18c[_0x5a2c58(0x172)]+0x1;}[_0x2cd0b7(0x165)](){const _0x1392eb=_0x2cd0b7,_0x3f65b3=this[_0x1392eb(0x15d)][_0x1392eb(0x1b3)][_0x1392eb(0x17a)](_0x47ade6);return new Promise(_0x294eb8=>{const _0x582f1f=_0x1392eb;_0x3f65b3[_0x582f1f(0x1b0)]?_0x3f65b3[_0x582f1f(0x179)](_0x582f1f(0x1bb),()=>{const _0x58a802=_0x582f1f;_0x294eb8(this[_0x58a802(0x152)]());}):_0x294eb8(this[_0x582f1f(0x152)]());});}[_0x2cd0b7(0x1ab)](_0x14f7e9,_0x57eee5){const _0x331db7=_0x2cd0b7,_0x3b2ef0=this[_0x331db7(0x173)][_0x331db7(0x1a6)];this[_0x331db7(0x162)]=_0x57eee5;for(const _0x239680 of _0x14f7e9){const _0x5a42bb=_0x3b2ef0[_0x331db7(0x176)](_0x239680['id']);if(_0x5a42bb){if((_0x239680[_0x331db7(0x16b)]||_0x239680[_0x331db7(0x185)])&&(_0x239680[_0x331db7(0x1a1)]=null),_0x5a42bb===this[_0x331db7(0x173)][_0x331db7(0x181)]){const _0x2c6b50=Math[_0x331db7(0x1bd)](_0x5a42bb[_0x331db7(0x185)],_0x239680[_0x331db7(0x185)]),_0x8b0c4b=Math[_0x331db7(0x1bd)](_0x5a42bb[_0x331db7(0x16b)],_0x239680[_0x331db7(0x16b)]);let _0x3d6151;_0x5a42bb[_0x331db7(0x185)]===_0x239680[_0x331db7(0x185)]&&_0x5a42bb[_0x331db7(0x16b)]===_0x239680[_0x331db7(0x16b)]?(_0x3d6151=!0x0,this[_0x331db7(0x191)](_0x239680)):_0x239680[_0x331db7(0x185)]===_0x2c6b50&&_0x239680[_0x331db7(0x16b)]===_0x8b0c4b?_0x3d6151=!0x1:(_0x5a42bb[_0x331db7(0x185)]===_0x2c6b50&&_0x5a42bb[_0x331db7(0x16b)]===_0x8b0c4b||this[_0x331db7(0x16e)]({'revision':_0x5a42bb,'from':_0x8b0c4b,'to':_0x2c6b50}),_0x3d6151=!0x0),_0x3d6151&&(delete _0x239680[_0x331db7(0x16b)],delete _0x239680[_0x331db7(0x185)],delete _0x239680[_0x331db7(0x1a1)],delete _0x239680[_0x331db7(0x18c)],delete _0x239680[_0x331db7(0x17f)]);}this[_0x331db7(0x173)][_0x331db7(0x16f)](_0x239680),this[_0x331db7(0x191)](_0x239680);}else this[_0x331db7(0x173)][_0x331db7(0x151)](_0x239680);}const _0x316c82=_0x3b2ef0[_0x331db7(0x166)]();_0x316c82[_0x331db7(0x17e)]();for(let _0x2f21fb=0x0;_0x2f21fb<_0x316c82[_0x331db7(0x1a8)]-0x1;_0x2f21fb++){const _0x41fe20=_0x316c82[_0x2f21fb],_0x2ef55a=_0x316c82[_0x2f21fb+0x1];if(_0x41fe20[_0x331db7(0x16b)]<_0x2ef55a[_0x331db7(0x185)]){const _0x3fb051=_0x2ef55a[_0x331db7(0x185)],_0x4381dc=Math[_0x331db7(0x1bd)](_0x3fb051,_0x41fe20[_0x331db7(0x185)]);this[_0x331db7(0x16e)]({'revision':_0x41fe20,'from':_0x3fb051,'to':_0x4381dc});}}}[_0x2cd0b7(0x16e)]({revision:_0x36243e,from:_0x4ce4fd,to:_0x56c3cc}={}){const _0x819f1a=_0x2cd0b7,_0x3c4ce8=this[_0x819f1a(0x15d)][_0x819f1a(0x1b3)][_0x819f1a(0x17a)](_0x1bde9d),_0x50caf5=this[_0x819f1a(0x173)][_0x819f1a(0x1af)]({'revision':_0x36243e,'from':_0x4ce4fd,'to':_0x56c3cc});_0x50caf5[_0x819f1a(0x160)]=_0x50caf5[_0x819f1a(0x17f)][_0x819f1a(0x16d)](_0x4c0d79=>_0x3c4ce8[_0x819f1a(0x16c)](_0x4c0d79)),_0x36243e[_0x819f1a(0x19e)](_0x50caf5);}[_0x2cd0b7(0x191)](_0x2fa673){const _0x511a0b=_0x2cd0b7,_0x9e36d={};_0x9e36d['id']=_0x2fa673['id'];for(const _0x57857d of Object[_0x511a0b(0x170)](_0x2fa673))'id'!==_0x57857d&&(_0x9e36d[_0x57857d]=void 0x0);this[_0x511a0b(0x173)][_0x511a0b(0x154)](_0x9e36d['id'],_0x9e36d,!0x0);}async[_0x2cd0b7(0x174)](_0xa299b1){const _0x2a2405=_0x2cd0b7,_0x3cda7e=this[_0x2a2405(0x15d)][_0x2a2405(0x1b3)][_0x2a2405(0x17a)](_0x1bde9d),{connection:_0x1d0168}=this[_0x2a2405(0x15d)][_0x2a2405(0x1b3)][_0x2a2405(0x17a)](_0x10c0dc),_0x336cfd=new Set();for(const _0x4bde77 of _0xa299b1){for(const _0x513dbd of _0x4bde77[_0x2a2405(0x17f)])_0x88c195(_0x513dbd);_0x4bde77[_0x2a2405(0x153)]&&_0x88c195(_0x4bde77[_0x2a2405(0x153)]);}if(0x0===_0x336cfd[_0x2a2405(0x167)])return;const _0x4fadea=await _0xc6dde9[_0x2a2405(0x193)](_0x1d0168,Array[_0x2a2405(0x199)](_0x336cfd));for(const _0x23b639 of _0x4fadea)_0x3cda7e[_0x2a2405(0x16c)](_0x23b639['id'])||_0x3cda7e[_0x2a2405(0x1b7)](_0x23b639);function _0x88c195(_0x19c78c){const _0x3be8e7=_0x2a2405;_0x3cda7e[_0x3be8e7(0x16c)](_0x19c78c)||_0x336cfd[_0x3be8e7(0x156)](_0x19c78c);}}}v[_0x2cd0b7(0x1ad)]=_0x3b9f55;export default v;function _0x3da0(_0x3101d4,_0x4c9149){const _0x472fef=_0x472f();return _0x3da0=function(_0x3da0d7,_0x4e9a39){_0x3da0d7=_0x3da0d7-0x151;let _0x2e66b3=_0x472fef[_0x3da0d7];return _0x2e66b3;},_0x3da0(_0x3101d4,_0x4c9149);}function st(_0x2d9bcf){const _0x1b1468=_0x2cd0b7;return _0x2d9bcf[_0x1b1468(0x169)][_0x1b1468(0x197)](_0x1b1468(0x15a))||_0x2d9bcf[_0x1b1468(0x169)][_0x1b1468(0x197)](_0x1b1468(0x1aa))||_0x2d9bcf[_0x1b1468(0x169)][_0x1b1468(0x197)](_0x1b1468(0x19f));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x3b3af3=_0x5ee5;(function(_0x606f84,_0x9461a1){var _0x473c16=_0x5ee5,_0x552b18=_0x606f84();while(!![]){try{var _0x10e916=-parseInt(_0x473c16(0x11b))/0x1*(parseInt(_0x473c16(0x11d))/0x2)+-parseInt(_0x473c16(0x120))/0x3+parseInt(_0x473c16(0x113))/0x4*(-parseInt(_0x473c16(0x118))/0x5)+parseInt(_0x473c16(0x115))/0x6*(-parseInt(_0x473c16(0x11f))/0x7)+parseInt(_0x473c16(0x11c))/0x8*(parseInt(_0x473c16(0x114))/0x9)+-parseInt(_0x473c16(0x119))/0xa+-parseInt(_0x473c16(0x11e))/0xb*(-parseInt(_0x473c16(0x121))/0xc);if(_0x10e916===_0x9461a1)break;else _0x552b18['push'](_0x552b18['shift']());}catch(_0x1877cd){_0x552b18['push'](_0x552b18['shift']());}}}(_0x4c31,0x46e44));function _0x4c31(){var _0x3b4b41=['5753WZobFr','2198pzofVJ','403209cfEjXm','40152MWmWAt','requires','388PVZsle','596601JRlzQM','4548rvlwuO','RevisionHistory','pluginName','17120fGmmoH','5575800FsFxEm','RealTimeCollaborativeRevisionHistory','4NQbQDT','40LuHZfg','264454gdQzKQ'];_0x4c31=function(){return _0x3b4b41;};return _0x4c31();}function _0x5ee5(_0x5c0153,_0x1cb4b4){var _0x4c31f4=_0x4c31();return _0x5ee5=function(_0x5ee539,_0x15a4e6){_0x5ee539=_0x5ee539-0x113;var _0x1f04c3=_0x4c31f4[_0x5ee539];return _0x1f04c3;},_0x5ee5(_0x5c0153,_0x1cb4b4);}import{Plugin as _0x32a5ea}from'ckeditor5/src/core.js';import _0x3d5af5 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x307a34 from'./realtimecollaborativeediting.js';export default class d extends _0x32a5ea{static get[_0x3b3af3(0x122)](){var _0x2472b8=_0x3b3af3;return[_0x2472b8(0x116),_0x3d5af5,_0x307a34];}static get[_0x3b3af3(0x117)](){var _0x1276af=_0x3b3af3;return _0x1276af(0x11a);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x12b7bc=_0x774b;(function(_0x317b9c,_0x1d4318){const _0x427d0f=_0x774b,_0x440805=_0x317b9c();while(!![]){try{const _0x55e5de=-parseInt(_0x427d0f(0x1b0))/0x1+-parseInt(_0x427d0f(0x186))/0x2*(-parseInt(_0x427d0f(0x19c))/0x3)+parseInt(_0x427d0f(0x17a))/0x4*(-parseInt(_0x427d0f(0x1a2))/0x5)+parseInt(_0x427d0f(0x18e))/0x6+parseInt(_0x427d0f(0x17d))/0x7*(parseInt(_0x427d0f(0x179))/0x8)+-parseInt(_0x427d0f(0x192))/0x9*(-parseInt(_0x427d0f(0x185))/0xa)+parseInt(_0x427d0f(0x17e))/0xb*(-parseInt(_0x427d0f(0x189))/0xc);if(_0x55e5de===_0x1d4318)break;else _0x440805['push'](_0x440805['shift']());}catch(_0x42ac1f){_0x440805['push'](_0x440805['shift']());}}}(_0x4e31,0xd112a));import{Plugin as _0xb294e0}from'ckeditor5/src/core.js';import{User as _0x320e2f,TrackChangesService as _0x435a1a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0xe30b81 from'../realtimecollaborativeediting/websocketgateway.js';function _0x774b(_0x345a5c,_0x4f4461){const _0x4e3192=_0x4e31();return _0x774b=function(_0x774bff,_0x2d6f27){_0x774bff=_0x774bff-0x179;let _0x523371=_0x4e3192[_0x774bff];return _0x523371;},_0x774b(_0x345a5c,_0x4f4461);}import _0x1398de from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0xaaa89e}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0xb294e0{static get[_0x12b7bc(0x191)](){const _0x2fcc2d=_0x12b7bc;return[_0x1398de,_0x2fcc2d(0x17f),_0xe30b81];}constructor(_0xdd1a69){const _0x1de665=_0x12b7bc;super(_0xdd1a69);const _0xc57d=this[_0x1de665(0x182)][_0x1de665(0x19f)][_0x1de665(0x1a1)](_0x1de665(0x18c));this[_0x1de665(0x17c)]=new Map(),this[_0x1de665(0x195)]=new g[(_0x1de665(0x1ac))](_0xc57d);}[_0x12b7bc(0x180)](){const _0x42edc2=_0x12b7bc,_0x195fd1=this[_0x42edc2(0x182)][_0x42edc2(0x19d)][_0x42edc2(0x1a1)](_0xe30b81),_0x4c7796=this[_0x42edc2(0x182)][_0x42edc2(0x19d)][_0x42edc2(0x1a1)](_0x42edc2(0x17f));return _0x4c7796[_0x42edc2(0x1af)]={'getSuggestion':async _0x230c3a=>{const _0x39bfd5=_0x42edc2;await this[_0x39bfd5(0x194)]();const _0x5618da=await this[_0x39bfd5(0x195)][_0x39bfd5(0x1a1)](_0x230c3a)[_0x39bfd5(0x1a6)](R);return await this[_0x39bfd5(0x19e)]([_0x5618da]),_0x5618da;},'addSuggestion':async({id:_0x142afb,type:_0x796d59,data:_0x1d8d46,originalSuggestionId:_0x363b3e,attributes:_0x2d93aa})=>{const _0x53b70c=_0x42edc2;await this[_0x53b70c(0x194)]();const _0x22de08={'id':_0x142afb,'type':_0x796d59,'data':_0x1d8d46,'originalSuggestionId':_0x363b3e,'attributes':_0x2d93aa},_0x51b45c=await this[_0x53b70c(0x195)][_0x53b70c(0x1ab)](_0x142afb,_0x796d59,_0x1d8d46,_0x363b3e,_0x2d93aa)[_0x53b70c(0x1a6)](_0x3f33f8=>{if(st(_0x3f33f8))return new Promise(_0x3ff946=>{const _0x569cb0=_0x774b;this[_0x569cb0(0x17c)][_0x569cb0(0x196)](_0x142afb,{'resolve':_0x3ff946,'suggestionData':_0x22de08});});throw _0x3f33f8;});return this[_0x53b70c(0x17c)][_0x53b70c(0x19a)](_0x142afb),_0x51b45c;},'updateSuggestion':async(_0xce3e01,_0x5a0adb)=>{const _0x155321=_0x42edc2;if(await this[_0x155321(0x194)](),_0x155321(0x184)!==_0x5a0adb[_0x155321(0x1b4)])return this[_0x155321(0x195)][_0x155321(0x1b6)](_0xce3e01,_0x5a0adb)[_0x155321(0x1a6)](R);}},this[_0x42edc2(0x17b)](this[_0x42edc2(0x195)],_0x42edc2(0x183),(_0x59b45b,_0x17376e)=>{const _0x1c2dbf=_0x42edc2;_0x4c7796[_0x1c2dbf(0x190)](_0x17376e['id'])&&(_0x4c7796[_0x1c2dbf(0x1aa)](_0x17376e['id'])[_0x1c2dbf(0x18a)]=_0x17376e[_0x1c2dbf(0x18a)]);}),this[_0x42edc2(0x195)][_0x42edc2(0x19b)](_0x195fd1[_0x42edc2(0x198)])[_0x42edc2(0x1b3)](_0xbdde31=>(_0x195fd1[_0x42edc2(0x188)](this),this[_0x42edc2(0x19e)](_0xbdde31)[_0x42edc2(0x1b3)](()=>{const _0x23ebbb=_0x42edc2;for(const _0x2ce8e1 of _0xbdde31){_0x4c7796[_0x23ebbb(0x1a9)](_0x2ce8e1)[_0x23ebbb(0x1a8)]=!0x0;}})));}async[_0x12b7bc(0x1a5)](){const _0xf7ad9a=_0x12b7bc,_0x1ed12a=this[_0xf7ad9a(0x182)][_0xf7ad9a(0x19d)][_0xf7ad9a(0x1a1)](_0xf7ad9a(0x17f)),{connection:_0x58430a}=this[_0xf7ad9a(0x182)][_0xf7ad9a(0x19d)][_0xf7ad9a(0x1a1)](_0xe30b81),_0x315fa3=await this[_0xf7ad9a(0x195)][_0xf7ad9a(0x19b)](_0x58430a);await this[_0xf7ad9a(0x19e)](_0x315fa3);for(const {suggestionData:_0x4e384a,resolve:_0x1b58a5}of this[_0xf7ad9a(0x17c)][_0xf7ad9a(0x18b)]()){let _0x2ccb7f=_0x315fa3[_0xf7ad9a(0x197)](_0x3d8082=>_0x3d8082['id']===_0x4e384a['id']);_0x2ccb7f||(_0x2ccb7f=await this[_0xf7ad9a(0x195)][_0xf7ad9a(0x1ab)](_0x4e384a['id'],_0x4e384a[_0xf7ad9a(0x1a7)],_0x4e384a[_0xf7ad9a(0x1a4)],_0x4e384a[_0xf7ad9a(0x181)])),_0x1b58a5(_0x2ccb7f);}for(const _0x4a8e5e of _0x315fa3)_0x1ed12a[_0xf7ad9a(0x190)](_0x4a8e5e['id'])||_0x1ed12a[_0xf7ad9a(0x1a9)](_0x4a8e5e);}async[_0x12b7bc(0x194)](){const _0x3ccac8=_0x12b7bc;this[_0x3ccac8(0x195)][_0x3ccac8(0x1b2)]||await new Promise(_0x281a72=>{const _0x2067d9=_0x3ccac8;this[_0x2067d9(0x17b)](this[_0x2067d9(0x195)],_0x2067d9(0x1ad),_0x1fed63=>{const _0x3ef481=_0x2067d9;_0x1fed63[_0x3ef481(0x199)](),_0x281a72();});});}async[_0x12b7bc(0x19e)](_0x4bac71){const _0x5d42d4=_0x12b7bc,_0x545900=this[_0x5d42d4(0x182)][_0x5d42d4(0x19d)][_0x5d42d4(0x1a1)](_0xaaa89e),{connection:_0x5bdebd}=this[_0x5d42d4(0x182)][_0x5d42d4(0x19d)][_0x5d42d4(0x1a1)](_0xe30b81),_0x2c9f3f=new Set();for(const {authorId:_0x57e96c}of _0x4bac71)_0x545900[_0x5d42d4(0x1ae)](_0x57e96c)||_0x2c9f3f[_0x5d42d4(0x1ab)](_0x57e96c);if(0x0===_0x2c9f3f[_0x5d42d4(0x18f)])return;const _0x1ce0a7=await _0x320e2f[_0x5d42d4(0x18d)](_0x5bdebd,Array[_0x5d42d4(0x1a3)](_0x2c9f3f));for(const _0x4eb3cd of _0x1ce0a7)_0x545900[_0x5d42d4(0x1ae)](_0x4eb3cd['id'])||_0x545900[_0x5d42d4(0x1b1)](_0x4eb3cd);}}g[_0x12b7bc(0x1ac)]=_0x435a1a;export default g;function _0x4e31(){const _0x27b93d=['data','reconnect','catch','type','_saved','addSuggestionData','getSuggestion','add','TrackChangesService','connected','getUser','adapter','194828DDHxdd','addUser','isConnected','then','state','startsWith','update','8riaokq','4830668XARyar','listenTo','_bufferedRequests','10978639qgpjOc','1208724deBwUG','TrackChangesEditing','init','originalSuggestionId','editor','suggestionUpdated','open','82210IRLbdE','30WyzLZl','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack','60tTGZnm','attributes','values','collaboration.channelId','getMany','1301496yoyFyV','size','hasSuggestion','requires','531PLqJNt','message','_waitForServiceReady','_trackChangesService','set','find','connection','off','delete','connect','107589qQPwZX','plugins','_fetchMissingUsersForThreads','config','cloud-services-internal-error:\x20Not\x20connected.','get','5ipvcGp','from'];_0x4e31=function(){return _0x27b93d;};return _0x4e31();}function R(_0x40a524){if(st(_0x40a524))return new Promise(()=>{});throw _0x40a524;}function st(_0x48bd89){const _0x2baad0=_0x12b7bc;return _0x48bd89[_0x2baad0(0x193)][_0x2baad0(0x1b5)](_0x2baad0(0x1a0))||_0x48bd89[_0x2baad0(0x193)][_0x2baad0(0x1b5)](_0x2baad0(0x187));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x45debb=_0x6a6d;function _0x6a6d(_0x318f72,_0x654db){var _0x2e912d=_0x2e91();return _0x6a6d=function(_0x6a6d2,_0x324127){_0x6a6d2=_0x6a6d2-0x1f2;var _0x53cd8=_0x2e912d[_0x6a6d2];return _0x53cd8;},_0x6a6d(_0x318f72,_0x654db);}(function(_0x133aa7,_0x175410){var _0x22c44b=_0x6a6d,_0x29d00f=_0x133aa7();while(!![]){try{var _0x4caaaa=-parseInt(_0x22c44b(0x1f7))/0x1+-parseInt(_0x22c44b(0x1fd))/0x2+-parseInt(_0x22c44b(0x1f9))/0x3*(parseInt(_0x22c44b(0x1f5))/0x4)+parseInt(_0x22c44b(0x1fe))/0x5*(parseInt(_0x22c44b(0x1fb))/0x6)+-parseInt(_0x22c44b(0x1ff))/0x7+-parseInt(_0x22c44b(0x1f8))/0x8*(parseInt(_0x22c44b(0x1fa))/0x9)+parseInt(_0x22c44b(0x1f6))/0xa;if(_0x4caaaa===_0x175410)break;else _0x29d00f['push'](_0x29d00f['shift']());}catch(_0x9a1c01){_0x29d00f['push'](_0x29d00f['shift']());}}}(_0x2e91,0x57c2f));import{Plugin as _0x58f498}from'ckeditor5/src/core.js';import _0x380202 from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x5c83ab from'./realtimecollaborativecomments.js';function _0x2e91(){var _0x115060=['18565150utOiNW','593687jzgKnW','23768LYJYwM','1863534ZlIfjR','963kiWpWo','12tMgOOP','pluginName','677602nTRiUH','1115290pWrwUz','501179mfJHiE','RealTimeCollaborativeTrackChanges','requires','TrackChanges','4ijLFoG'];_0x2e91=function(){return _0x115060;};return _0x2e91();}export default class p extends _0x58f498{static get[_0x45debb(0x1f3)](){var _0x249109=_0x45debb;return[_0x5c83ab,_0x380202,_0x249109(0x1f4)];}static get[_0x45debb(0x1fc)](){var _0x38c258=_0x45debb;return _0x38c258(0x1f2);}}
|