@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.9 → 44.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/augmentation.d.ts +1 -1
- package/dist/common-translations.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/index.css +7 -7
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/presencelist/presencelistui.d.ts +1 -1
- package/dist/presencelist/view/presencecounterview.d.ts +1 -1
- package/dist/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
- package/dist/presencelist/view/presencedropdownlistview.d.ts +1 -1
- package/dist/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
- package/dist/presencelist/view/presenceinlinelistview.d.ts +1 -1
- package/dist/presencelist/view/presencelistview.d.ts +1 -1
- package/dist/presencelist.d.ts +1 -1
- package/dist/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
- package/dist/realtimecollaborativecomments.d.ts +1 -1
- package/dist/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
- package/dist/realtimecollaborativeediting/sessions.d.ts +1 -1
- package/dist/realtimecollaborativeediting/usermarkers.d.ts +1 -1
- package/dist/realtimecollaborativeediting/websocketgateway.d.ts +1 -1
- package/dist/realtimecollaborativeediting.d.ts +1 -1
- package/dist/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
- package/dist/realtimecollaborativerevisionhistory.d.ts +1 -1
- package/dist/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
- package/dist/realtimecollaborativetrackchanges.d.ts +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.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/bs.js +1 -1
- package/dist/translations/bs.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-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.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/eu.js +1 -1
- package/dist/translations/eu.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/gu.js +1 -1
- package/dist/translations/gu.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/hy.js +1 -1
- package/dist/translations/hy.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/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.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/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.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/oc.js +1 -1
- package/dist/translations/oc.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/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.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/ti.js +1 -1
- package/dist/translations/ti.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/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.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/augmentation.d.ts +1 -1
- package/src/common-translations.d.ts +1 -1
- package/src/common-translations.js +1 -1
- package/src/config.d.ts +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.d.ts +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.d.ts +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.d.ts +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.d.ts +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.d.ts +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.d.ts +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.d.ts +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.d.ts +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.d.ts +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.d.ts +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.d.ts +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.d.ts +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.d.ts +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.d.ts +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.d.ts +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.d.ts +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.d.ts +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.d.ts +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
- package/theme/presencelist.css +1 -1
- package/theme/usermarkers.css +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1cac3e=_0x48f4;(function(_0x1154b5,_0x4997f1){const _0x21cc48=_0x48f4,_0x237c35=_0x1154b5();while(!![]){try{const _0x3eeb7a=parseInt(_0x21cc48(0x113))/0x1*(-parseInt(_0x21cc48(0x14c))/0x2)+-parseInt(_0x21cc48(0x199))/0x3*(parseInt(_0x21cc48(0x127))/0x4)+parseInt(_0x21cc48(0x1dc))/0x5+-parseInt(_0x21cc48(0x176))/0x6*(parseInt(_0x21cc48(0x1b6))/0x7)+parseInt(_0x21cc48(0x15d))/0x8+-parseInt(_0x21cc48(0x19d))/0x9*(parseInt(_0x21cc48(0x1a9))/0xa)+parseInt(_0x21cc48(0x184))/0xb;if(_0x3eeb7a===_0x4997f1)break;else _0x237c35['push'](_0x237c35['shift']());}catch(_0x522d78){_0x237c35['push'](_0x237c35['shift']());}}}(_0x476c,0x822a1));import{Plugin as _0x580e20,PendingActions as _0x146775}from'ckeditor5/src/core.js';import{CKEditorError as _0x5c907e,version as _0x4c9c4a,uid as _0x20d65c}from'ckeditor5/src/utils.js';import{Notification as _0x264c65}from'ckeditor5/src/ui.js';import{transformSets as _0x1f4073,NoOperation as _0x179e08,InsertOperation as _0x243b56,MarkerOperation as _0x6b055c,RootAttributeOperation as _0x11b1c2,OperationFactory as _0x4e6430,History as _0x3185e2}from'ckeditor5/src/engine.js';import _0x39dd3a from'./websocketgateway.js';import _0x248130 from'./sessions.js';import _0x568f16 from'./usermarkers.js';function _0x476c(){const _0x49dbf4=['_service','collaboration.channelId','baseVersion','apply','sessionAdd:','_crash','_authorId','roots','_clearPendingAction','2257287JCGcol','stop','currentDocumentSession','_compressor','504OMcDIy','type','marker','RealTimeCollaborationClient','404','initData','channelSessions','set','getIdOfTheLastOperation','_setPendingAction','_decompressOperations','state','184720EMVZHZ','remove','filter','isReadOnly','requires','Permissions','get','lastDocumentSession','realtimecollaborationclient-handleserverresponse','CollaborativeEditingService','Notification','realtimecollaborationclient-init-document-already-initialized','includes','7dsSIlN','CommentsOnly','_hasSynchronizationProblem','_hasSelectionChanged','clone','error','_compressOperations','off','length','realtimecollaborationclient-sendbufferedoperations','keys','startsWith','_document','_ignoredOperations','isUndoneOperation','_handleReceivedOperations','plugins','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','compress','editor','enableReadOnlyMode','loadRoot','pluginName','serverHistory','metadata','_initThrowingOnDataSet','realtimecollaborationclient-init-non-existent-root','change:_isEditingAllowed','_baseBufferDelay','locale','_sendBufferedOperationsDelayId','PENDING_ACTION_SENDING_DATA','_addKnownRoot','sendOperations','affectsData','_knownOperations','_waitUntilSynced','_handleServerResponse','3566170ZxRNoY','listenTo','suppressErrorInCollaboration','change:range','_setUpDataInit','_handleReconnectionResponse','add','bind','_sendBufferedOperationsDelayed','isPremiumPlugin','has','addUser','getRoot','setIdForTheLastOperation','InsertOperation','rootsAttributes','_isLoaded','wereChangesApplied','realtimecollaborationclient-error','409','getDocumentDetails','toJSON','permissions','path','_bufferedOperations','_operationIdentifier','multi-root-editor-root-attributes-no-root','rtc-offline','_currentBufferDelay','differ','createRoot','_updateServerHistory','reconnect','_disconnectionOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','applyOperation','end','createRange','ready','_applyOperationsSet','mySessionId','_isEditingAllowed','__className','realtimecollaborationclient-initservice-incorrect-server-operation','userId','document','disableReadOnlyMode','real-time-collaboration','cs:removeUser','register','_knownRootNames','$root','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.','cloudServices.bundleVersion','addToReconnectionStack','createPositionAt','_pendingAction','getOperations','round','lastOperationAcceptedAt','77471ZXeeKD','getUser','stopListening','_handleInitialConnectionData','enqueueChange','from','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','disconnected','code','getOperationAuthor','forEach','_handleSendingSelectionMarkers','removeFromReconnectionStack','collaboration-missing-channelid','root','insert','size','isOfficialPlugin','string','4dzzasR','realtimecollaborationclient-init-connection-failed','history','collaboration','map','operationsReceived','cloudDocumentVersion','cloud-services-internal-error:\x20Not\x20connected.','position','connection','_shouldSendUpdate','push','_loadRoot','slice','_lastSyncedOperationId','connect','editing','addRootAttribute','_handleReconnectionError','_getAffectedRoot','version','rtc-destroyed','batch','isEnabled','decompress','addOperation','return','then','createPositionFromPath','catch','_connectService','realtimecollaborationclient-initservice-internal-error','_isDisconnection','unregister','fromJSON','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:_isPendingUpdate','26zqPIpn','_isConnected','wasUndone','_connectAfterSessionHasBeenFlushed','finally','lastSyncVersion','createdAt','selection','_refreshUserSelectionMarkers','sessionCreatedAt','markers','_disconnectService','high','getMany','_handleExternalOperations','Synchronization\x20issue','_lastServerVersion','3191560qtPjlb','_bufferRootLoad','directChange','_fetchMissingUsers','data','_offset','addRoot','_operationToId','fire','showWarning','move','view','document:write','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.','init','config','_sendBufferedOperations','_isInit','offset','_isPendingUpdate','define','affectedSelectable','attributes','_initSessionsHandling','_channelId','3951282SDxyZk','start','destroy','_saveOperationInBuffer','setPermissions','newRange','isDocumentOperation','realtimecollaborationclient-init-session-connection-error','connected','entries','reset','parse','reconnection:\x20flushed\x20session','rootName','31608555PAMzky','message','_getOperationsFromInitData','sessionId','lastOperationId','change:hasDomSelection','model','_shouldSendSelectionUpdate','disconnect','getConnectedSessions','createUserMarkerOperations','_isAttached'];_0x476c=function(){return _0x49dbf4;};return _0x476c();}import{getTranslation as _0x165fb2}from'../common-translations.js';import{Compressor as _0x12e98a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x150a16}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x48f4(_0x3eb470,_0x123433){const _0x476cd5=_0x476c();return _0x48f4=function(_0x48f40c,_0x40e9b8){_0x48f40c=_0x48f40c-0x10f;let _0x56786a=_0x476cd5[_0x48f40c];return _0x56786a;},_0x48f4(_0x3eb470,_0x123433);}import{User as _0x57934e,CollaborativeEditingService as _0x40621e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x580e20{static get[_0x1cac3e(0x1ad)](){return[_0x39dd3a,_0x248130,_0x568f16,_0x146775,_0x150a16,_0x264c65];}static get[_0x1cac3e(0x1cc)](){const _0x16ca9c=_0x1cac3e;return _0x16ca9c(0x1a0);}static get[_0x1cac3e(0x125)](){return!0x0;}static get[_0x1cac3e(0x1e5)](){return!0x0;}get[_0x1cac3e(0x12d)](){const _0x328bc1=_0x1cac3e;return this[_0x328bc1(0x15c)]+this[_0x328bc1(0x162)];}get[_0x1cac3e(0x15c)](){const _0x19a7bc=_0x1cac3e;return this[_0x19a7bc(0x1cd)][_0x19a7bc(0x13b)]-this[_0x19a7bc(0x162)];}get[_0x1cac3e(0x151)](){const _0x191eb6=_0x1cac3e,_0x4cb551=this[_0x191eb6(0x1cd)][_0x191eb6(0x110)]();for(let _0x454e52=_0x4cb551[_0x191eb6(0x1be)]-0x1;_0x454e52>=0x0;_0x454e52--){const _0x50c151=_0x4cb551[_0x454e52];if(!this[_0x191eb6(0x1fd)][_0x191eb6(0x1e6)](_0x50c151))return _0x50c151[_0x191eb6(0x192)]+0x1-this[_0x191eb6(0x162)];}return 0x0;}constructor(_0x2cf844){const _0x2f77b8=_0x1cac3e;if(super(_0x2cf844),this[_0x2f77b8(0x162)]=0x0,this[_0x2f77b8(0x187)]=null,this[_0x2f77b8(0x1cd)]=new _0x3185e2(),this[_0x2f77b8(0x1c9)][_0x2f77b8(0x16c)][_0x2f77b8(0x171)](_0x2f77b8(0x12a),{}),this[_0x2f77b8(0x175)]=this[_0x2f77b8(0x1c9)][_0x2f77b8(0x16c)][_0x2f77b8(0x1af)](_0x2f77b8(0x191)),!this[_0x2f77b8(0x175)])throw new _0x5c907e(_0x2f77b8(0x121),this);const _0x10f450=_0x2cf844[_0x2f77b8(0x16c)][_0x2f77b8(0x1af)](_0x2f77b8(0x212))||_0x4c9c4a;this[_0x2f77b8(0x190)]=new l[(_0x2f77b8(0x1b2))](_0x10f450,this[_0x2f77b8(0x175)]),this[_0x2f77b8(0x1c2)]=this[_0x2f77b8(0x1c9)][_0x2f77b8(0x18a)][_0x2f77b8(0x20a)],this[_0x2f77b8(0x19c)]=new _0x12e98a(),this[_0x2f77b8(0x1f4)]=[],this[_0x2f77b8(0x1d9)]=new WeakSet(),this[_0x2f77b8(0x20f)]=new Set(),this[_0x2f77b8(0x1a4)](_0x2f77b8(0x170),!0x1),this[_0x2f77b8(0x1a4)](_0x2f77b8(0x1b8),!0x1),this[_0x2f77b8(0x10f)]=null,this[_0x2f77b8(0x1b9)]=!0x1,this[_0x2f77b8(0x1d4)]=null,this[_0x2f77b8(0x1d2)]=0x12c,this[_0x2f77b8(0x1f8)]=this[_0x2f77b8(0x1d2)],this[_0x2f77b8(0x135)]=null,this[_0x2f77b8(0x1fd)]=new WeakSet(),this[_0x2f77b8(0x1f5)]=new X(this[_0x2f77b8(0x1fd)]);}[_0x1cac3e(0x16b)](){const _0x507459=_0x1cac3e,_0x245e8e=this[_0x507459(0x1c9)],_0xff18fe=_0x245e8e[_0x507459(0x1c6)][_0x507459(0x1af)](_0x150a16),_0x5eee2f=_0x245e8e[_0x507459(0x1c6)][_0x507459(0x1af)](_0x39dd3a);this[_0x507459(0x1dd)](_0xff18fe,_0x507459(0x11d),(_0x549e52,_0x42d7af)=>{const _0x5ad642=_0x507459,_0x5bead8=_0x42d7af[0x0];_0x5bead8[_0x5ad642(0x196)]&&(_0x549e52[_0x5ad642(0x141)]=_0xff18fe[_0x5ad642(0x114)](_0x5bead8[_0x5ad642(0x196)]),_0x549e52[_0x5ad642(0x19a)]()),null===_0x5bead8[_0x5ad642(0x196)]&&(_0x549e52[_0x5ad642(0x141)]=null,_0x549e52[_0x5ad642(0x19a)]());},{'priority':_0x507459(0x158)}),this[_0x507459(0x1dd)](_0x245e8e[_0x507459(0x18a)][_0x507459(0x20a)][_0x507459(0x153)],_0x507459(0x1df),(_0x839dce,_0x22d69a)=>{const _0x3a9556=_0x507459;_0x22d69a[_0x3a9556(0x15f)]&&this[_0x3a9556(0x154)]();}),this[_0x507459(0x1dd)](_0x245e8e[_0x507459(0x137)][_0x507459(0x168)],_0x507459(0x189),()=>{const _0x364d82=_0x507459;this[_0x364d82(0x154)]();}),this[_0x507459(0x1cf)](),_0x245e8e[_0x507459(0x18a)]['on'](_0x507459(0x200),(_0x54d278,_0x1a280c)=>{const _0x502a5e=_0x507459,_0x34668d=_0x1a280c[0x0];_0x34668d[_0x502a5e(0x17c)]&&(this[_0x502a5e(0x179)](_0x34668d),this[_0x502a5e(0x131)]()&&this[_0x502a5e(0x1e4)]());}),this[_0x507459(0x1e0)](),this[_0x507459(0x1e3)](_0x507459(0x206))['to'](_0x5eee2f,_0x507459(0x1a8),this,_0x507459(0x1b8),(_0x3bf650,_0x5af169)=>_0x507459(0x17e)===_0x3bf650&&!_0x5af169),this['on'](_0x507459(0x1d1),()=>{const _0x425702=_0x507459;this[_0x425702(0x206)]?_0x245e8e[_0x425702(0x20b)](_0x425702(0x1f7)):_0x245e8e[_0x425702(0x1ca)](_0x425702(0x1f7));}),this[_0x507459(0x206)]?_0x245e8e[_0x507459(0x20b)](_0x507459(0x1f7)):_0x245e8e[_0x507459(0x1ca)](_0x507459(0x1f7)),this[_0x507459(0x1a4)](_0x507459(0x14d),!0x1);}async[_0x1cac3e(0x1fc)](){const _0x193233=_0x1cac3e,_0x5bdfc7=this[_0x193233(0x1c9)][_0x193233(0x1c6)][_0x193233(0x1af)](_0x248130),_0xa3003f=this[_0x193233(0x1c9)][_0x193233(0x1c6)][_0x193233(0x1af)](_0x39dd3a);try{this[_0x193233(0x170)]=!0x0,_0x5bdfc7[_0x193233(0x148)](this[_0x193233(0x175)]);const _0x3e3f28=await this[_0x193233(0x190)][_0x193233(0x1fc)](_0xa3003f[_0x193233(0x130)],this[_0x193233(0x151)]);await this[_0x193233(0x1e1)](_0x3e3f28)&&(this[_0x193233(0x170)]=!0x1,this[_0x193233(0x198)]());const _0x833a58=await this[_0x193233(0x190)][_0x193233(0x18d)]();_0x5bdfc7[_0x193233(0x20e)](this[_0x193233(0x175)],_0x833a58),this[_0x193233(0x11f)](),this[_0x193233(0x14d)]=!0x0;}catch(_0x116609){if(function(_0x1ec099){const _0x4d07c3=_0x193233;return _0x4d07c3(0x1a1)===_0x1ec099[_0x4d07c3(0x11c)];}(_0x116609)&&this[_0x193233(0x187)])await this[_0x193233(0x14f)]();else{if(function(_0x2782b5){const _0x5e76e1=_0x193233;return _0x5e76e1(0x1ef)===_0x2782b5[_0x5e76e1(0x11c)];}(_0x116609)){const _0x4f3c64=_0x165fb2(this[_0x193233(0x1c9)][_0x193233(0x1d3)],_0x193233(0x14a));this[_0x193233(0x139)](_0x4f3c64);}else{if(!(_0x116609 instanceof J))throw _0x116609;this[_0x193233(0x139)]();}}}}[_0x1cac3e(0x178)](){const _0x40153e=_0x1cac3e,_0xbce6ad=this[_0x40153e(0x1c9)][_0x40153e(0x1c6)][_0x40153e(0x1af)](_0x39dd3a),_0x45a27c=this[_0x40153e(0x1c9)][_0x40153e(0x1c6)][_0x40153e(0x1af)](_0x248130);this[_0x40153e(0x1c9)][_0x40153e(0x1ca)](_0x40153e(0x13c)),_0x45a27c[_0x40153e(0x1a3)][_0x40153e(0x1e6)](this[_0x40153e(0x175)])&&_0x45a27c[_0x40153e(0x148)](this[_0x40153e(0x175)]),_0xbce6ad[_0x40153e(0x120)](this),this[_0x40153e(0x157)](),super[_0x40153e(0x178)]();}async[_0x1cac3e(0x1e1)](_0x574c0d){const _0x2e1832=_0x1cac3e;if(this[_0x2e1832(0x187)]!==_0x574c0d[_0x2e1832(0x187)]&&this[_0x2e1832(0x135)]!==_0x574c0d[_0x2e1832(0x188)])throw new J();return this[_0x2e1832(0x187)]=_0x574c0d[_0x2e1832(0x187)],this[_0x2e1832(0x1db)]([],{..._0x574c0d,'wereChangesApplied':!0x1,'data':_0x574c0d[_0x2e1832(0x161)]},_0x2e1832(0x1fc));}async[_0x1cac3e(0x145)](_0x284344,_0x55c379=!0x1){const _0x2c929d=_0x1cac3e,{connection:_0x18046d}=this[_0x2c929d(0x1c9)][_0x2c929d(0x1c6)][_0x2c929d(0x1af)](_0x39dd3a);l[_0x2c929d(0x1b2)][_0x2c929d(0x18d)](_0x18046d,this[_0x2c929d(0x175)])[_0x2c929d(0x142)](_0x444d6d=>this[_0x2c929d(0x174)](_0x444d6d))[_0x2c929d(0x144)](_0x5d2b30=>{const _0x3dbb55=_0x2c929d;this[_0x3dbb55(0x195)](_0x3dbb55(0x17d),_0x5d2b30);}),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x12c),this[_0x2c929d(0x1c5)][_0x2c929d(0x1e3)](this)),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x1bb),(_0x4521d7,_0x3dc9e2)=>{const _0x135e85=_0x2c929d;this[_0x135e85(0x195)](_0x135e85(0x146),_0x3dc9e2);}),this[_0x2c929d(0x1dd)](this[_0x2c929d(0x190)],_0x2c929d(0x11b),()=>{const _0x234f1f=_0x2c929d;this[_0x234f1f(0x14d)]=!0x1;});const _0x51d799=this[_0x2c929d(0x1f5)][_0x2c929d(0x1a5)](_0x284344);this[_0x2c929d(0x170)]=!0x0;const _0x5445f8=await this[_0x2c929d(0x190)][_0x2c929d(0x136)](_0x18046d,this[_0x2c929d(0x1bc)](_0x284344),_0x51d799);if(this[_0x2c929d(0x187)]=_0x5445f8[_0x2c929d(0x187)],_0x55c379){if(!_0x5445f8[_0x2c929d(0x1ed)])return void this[_0x2c929d(0x139)]();this[_0x2c929d(0x170)]=!0x1,this[_0x2c929d(0x198)](),this[_0x2c929d(0x1cd)][_0x2c929d(0x180)](),this[_0x2c929d(0x162)]=_0x5445f8[_0x2c929d(0x16f)],this[_0x2c929d(0x1cd)][_0x2c929d(0x13b)]=this[_0x2c929d(0x162)],await this[_0x2c929d(0x1db)](_0x284344,_0x5445f8,_0x2c929d(0x182));}else await this[_0x2c929d(0x116)](_0x5445f8,_0x284344);this[_0x2c929d(0x11f)](),this[_0x2c929d(0x14d)]=!0x0;}[_0x1cac3e(0x11f)](){const _0x4b3216=_0x1cac3e,_0x13bee2=this[_0x4b3216(0x1c9)][_0x4b3216(0x1c6)][_0x4b3216(0x1af)](_0x248130),_0x2962e3=this[_0x4b3216(0x1c9)][_0x4b3216(0x1c6)][_0x4b3216(0x1af)](_0x568f16),_0x592a1e=_0x13bee2[_0x4b3216(0x1a3)][_0x4b3216(0x1af)](this[_0x4b3216(0x175)]);_0x592a1e&&_0x592a1e[_0x4b3216(0x1be)]>0x1?_0x2962e3[_0x4b3216(0x18e)]():this[_0x4b3216(0x1dd)](_0x13bee2,_0x4b3216(0x194)+this[_0x4b3216(0x175)],()=>{const _0x39c5a1=_0x4b3216;0x2===_0x13bee2[_0x39c5a1(0x1a3)][_0x39c5a1(0x1af)](this[_0x39c5a1(0x175)])[_0x39c5a1(0x1be)]&&_0x2962e3[_0x39c5a1(0x18e)]();});}async[_0x1cac3e(0x1c5)](_0x308f6b,_0xf5f1a7,_0x4b2863,_0x4b6a7e){const _0x57c044=_0x1cac3e;if(!this[_0x57c044(0x170)]&&this[_0x57c044(0x1c2)][_0x57c044(0x13b)]==_0xf5f1a7){const _0x36a813=this[_0x57c044(0x1a7)](_0x4b2863,_0x4b6a7e);await this[_0x57c044(0x160)](_0x36a813),this[_0x57c044(0x15a)](_0x36a813,_0xf5f1a7,_0x4b2863[_0x57c044(0x188)])||this[_0x57c044(0x195)](_0x57c044(0x208));}}async[_0x1cac3e(0x14f)](){const _0x1d1ca7=_0x1cac3e;this[_0x1d1ca7(0x157)]();const {locale:_0x7eec1b}=this[_0x1d1ca7(0x1c9)];let _0x348c44;try{_0x348c44=await this[_0x1d1ca7(0x190)][_0x1d1ca7(0x1f0)]();}catch(_0x716ae0){const _0x1aae8b=_0x165fb2(_0x7eec1b,_0x1d1ca7(0x1c7));return void this[_0x1d1ca7(0x139)](_0x1aae8b);}const _0x5ab889=_0x348c44[_0x1d1ca7(0x19b)]||_0x348c44[_0x1d1ca7(0x1b0)];if(this[_0x1d1ca7(0x135)]===_0x5ab889[_0x1d1ca7(0x188)])await this[_0x1d1ca7(0x145)](this[_0x1d1ca7(0x1c9)][_0x1d1ca7(0x18a)][_0x1d1ca7(0x20a)][_0x1d1ca7(0x129)][_0x1d1ca7(0x110)](),!0x0);else{const _0x1360b6=_0x165fb2(_0x7eec1b,_0x1d1ca7(0x16a));this[_0x1d1ca7(0x139)](_0x1360b6);}}[_0x1cac3e(0x157)](){const _0x2f3a7d=_0x1cac3e;this[_0x2f3a7d(0x190)][_0x2f3a7d(0x18c)](),this[_0x2f3a7d(0x1f4)]=[],clearTimeout(this[_0x2f3a7d(0x1d4)]),this[_0x2f3a7d(0x115)](this[_0x2f3a7d(0x190)]);}[_0x1cac3e(0x174)](_0x34d8f0){const _0xd0e560=_0x1cac3e,_0x19c448=this[_0xd0e560(0x1c9)][_0xd0e560(0x1c6)][_0xd0e560(0x1af)](_0x248130);this[_0xd0e560(0x1dd)](_0x19c448,_0xd0e560(0x194)+this[_0xd0e560(0x175)],(_0x2aeaee,{session:_0x1d8696})=>{const _0x30bc2b=_0xd0e560;if(_0x1d8696['id']===_0x19c448[_0x30bc2b(0x205)]){_0x2aeaee[_0x30bc2b(0x1bd)]();const _0xd72510=this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1e6)](_0x30bc2b(0x1b7))&&this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1af)](_0x30bc2b(0x1b7));let _0x368c7b=_0x1d8696[_0x30bc2b(0x1f2)];_0xd72510&&_0xd72510[_0x30bc2b(0x13e)]&&(_0x368c7b=_0x368c7b[_0x30bc2b(0x1ab)](_0x1a07a3=>_0x30bc2b(0x169)!==_0x1a07a3)),this[_0x30bc2b(0x1c9)][_0x30bc2b(0x1c6)][_0x30bc2b(0x1af)](_0x30bc2b(0x1ae))[_0x30bc2b(0x17a)](_0x368c7b,this[_0x30bc2b(0x175)]);}}),_0x19c448[_0xd0e560(0x20e)](this[_0xd0e560(0x175)],_0x34d8f0);}[_0x1cac3e(0x1cf)](){const _0x3dddde=_0x1cac3e,_0x39293a=this[_0x3dddde(0x1c9)][_0x3dddde(0x161)][_0x3dddde(0x1a4)];this[_0x3dddde(0x1c9)][_0x3dddde(0x161)][_0x3dddde(0x1a4)]=(..._0x402640)=>{const _0x5af054=_0x3dddde;if(!_0x402640[_0x402640[_0x5af054(0x1be)]-0x1][_0x5af054(0x1de)])throw new _0x5c907e(_0x5af054(0x1fe),this);_0x39293a[_0x5af054(0x193)](this[_0x5af054(0x1c9)][_0x5af054(0x161)],_0x402640);};}[_0x1cac3e(0x1e0)](){const _0x31318e=_0x1cac3e;this[_0x31318e(0x1c9)][_0x31318e(0x161)]['on'](_0x31318e(0x16b),(_0x21465d,[_0x7b5eb5])=>{const _0x420d0e=_0x31318e;if(this[_0x420d0e(0x1c2)][_0x420d0e(0x13b)])throw new _0x5c907e(_0x420d0e(0x1b4),this);_0x21465d[_0x420d0e(0x19a)](),this[_0x420d0e(0x1a6)]();const _0x5b7fc8=this[_0x420d0e(0x1c9)][_0x420d0e(0x16c)][_0x420d0e(0x1af)](_0x420d0e(0x1eb)),_0x474e90=this[_0x420d0e(0x186)](_0x7b5eb5,_0x5b7fc8);0x0==_0x474e90[_0x420d0e(0x1be)]&&_0x474e90[_0x420d0e(0x132)](new _0x179e08(0x0)),_0x21465d[_0x420d0e(0x141)]=this[_0x420d0e(0x145)](_0x474e90)[_0x420d0e(0x142)](()=>{const _0x547751=_0x420d0e;this[_0x547751(0x1c9)][_0x547751(0x1c6)][_0x547751(0x1af)](_0x39dd3a)[_0x547751(0x213)](this),this[_0x547751(0x1c9)][_0x547751(0x161)][_0x547751(0x165)](_0x547751(0x203));})[_0x420d0e(0x144)](_0x28dace=>this[_0x420d0e(0x195)](_0x420d0e(0x128),_0x28dace))[_0x420d0e(0x150)](()=>this[_0x420d0e(0x198)]());},{'priority':_0x31318e(0x158)}),this[_0x31318e(0x1c9)]['on'](_0x31318e(0x1cb),async(_0x3de4ea,[_0x3b2f0c,_0x112ed8])=>{const _0x45ebf5=_0x31318e;_0x3de4ea[_0x45ebf5(0x19a)]();const _0x4ebd6d=this[_0x45ebf5(0x1c9)][_0x45ebf5(0x18a)][_0x45ebf5(0x20a)][_0x45ebf5(0x1e8)](_0x3b2f0c);if(!this[_0x45ebf5(0x20f)][_0x45ebf5(0x1e6)](_0x3b2f0c)){const _0x5a9473=_0x112ed8&&_0x112ed8[_0x45ebf5(0x161)]?_0x112ed8[_0x45ebf5(0x161)]:'',_0x55e1a0=_0x112ed8&&_0x112ed8[_0x45ebf5(0x173)]?_0x112ed8[_0x45ebf5(0x173)]:{};await this[_0x45ebf5(0x133)](_0x3b2f0c,_0x5a9473,_0x55e1a0);}this[_0x45ebf5(0x1c9)][_0x45ebf5(0x18a)][_0x45ebf5(0x117)]({'isUndoable':!0x1},()=>{const _0x5d9c5a=_0x45ebf5;_0x4ebd6d[_0x5d9c5a(0x1ec)]=!0x0,this[_0x5d9c5a(0x1c9)][_0x5d9c5a(0x18a)][_0x5d9c5a(0x20a)][_0x5d9c5a(0x1f9)][_0x5d9c5a(0x15e)](_0x4ebd6d);});},{'priority':_0x31318e(0x158)});}async[_0x1cac3e(0x160)](_0x3c829d){const _0x54980a=_0x1cac3e,_0x111bdf=this[_0x54980a(0x1c9)][_0x54980a(0x1c6)][_0x54980a(0x1af)](_0x150a16),{connection:_0x334382}=this[_0x54980a(0x1c9)][_0x54980a(0x1c6)][_0x54980a(0x1af)](_0x39dd3a),_0x361a50=new Set();for(const _0x3892f2 of _0x3c829d){const _0x1bbd0f=_0x3892f2[_0x54980a(0x196)];_0x1bbd0f&&!_0x111bdf[_0x54980a(0x114)](_0x1bbd0f)&&_0x361a50[_0x54980a(0x1e2)](_0x1bbd0f);}if(0x0===_0x361a50[_0x54980a(0x124)])return;const _0x27414d=await _0x57934e[_0x54980a(0x159)](_0x334382,Array[_0x54980a(0x118)](_0x361a50));for(const _0x4d48a2 of _0x27414d)_0x111bdf[_0x54980a(0x114)](_0x4d48a2['id'])||_0x111bdf[_0x54980a(0x1e7)](_0x4d48a2);}[_0x1cac3e(0x186)](_0xd3b2fc,_0x58720e={}){const _0x510127=_0x1cac3e,_0x1df813=this[_0x510127(0x1c9)][_0x510127(0x18a)],_0x580e88=[];let _0x2b80dd=0x0;const _0x3383eb=_0x510127(0x126)==typeof _0xd3b2fc?{'main':_0xd3b2fc}:_0xd3b2fc;for(const _0x171b3a of Object[_0x510127(0x1c0)](_0x3383eb)){if(!this[_0x510127(0x1c2)][_0x510127(0x197)][_0x510127(0x1e6)](_0x171b3a))throw new _0x5c907e(_0x510127(0x1d0),this);const _0x2903a7=this[_0x510127(0x1c9)][_0x510127(0x161)][_0x510127(0x181)](_0x3383eb[_0x171b3a]),_0x3b744e=this[_0x510127(0x1c2)][_0x510127(0x1e8)](_0x171b3a),_0x503c8f=new _0x243b56(_0x1df813[_0x510127(0x214)](_0x3b744e,0x0),_0x2903a7,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x503c8f);for(const [_0x4f8a9a,_0x128312]of _0x2903a7[_0x510127(0x156)]){const _0x110113=_0x1df813[_0x510127(0x202)](_0x1df813[_0x510127(0x143)](_0x3b744e,_0x128312[_0x510127(0x177)][_0x510127(0x1f3)][_0x510127(0x134)]()),_0x1df813[_0x510127(0x143)](_0x3b744e,_0x128312[_0x510127(0x201)][_0x510127(0x1f3)][_0x510127(0x134)]())),_0x51fe41=new _0x6b055c(_0x4f8a9a,null,_0x110113,_0x1df813[_0x510127(0x156)],!0x0,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x51fe41);}}if(_0x58720e)for(const [_0x14cc0d,_0x412482]of Object[_0x510127(0x17f)](_0x58720e)){const _0x1add35=_0x1df813[_0x510127(0x20a)][_0x510127(0x1e8)](_0x14cc0d);if(!_0x1add35)throw new _0x5c907e(_0x510127(0x1f6),null);for(const [_0x42ba26,_0x3e7e0a]of Object[_0x510127(0x17f)](_0x412482))if(null!==_0x3e7e0a){const _0x521114=new _0x11b1c2(_0x1add35,_0x42ba26,null,_0x3e7e0a,_0x2b80dd++);_0x580e88[_0x510127(0x132)](_0x521114);}}return _0x580e88;}async[_0x1cac3e(0x133)](_0x17327a,_0x5d00c3,_0x3a1721){const _0x28011a=_0x1cac3e;this[_0x28011a(0x186)]({[_0x17327a]:_0x5d00c3},{[_0x17327a]:_0x3a1721})[_0x28011a(0x11e)]((_0x2fdb3e,_0x19a106)=>{const _0x246758=_0x28011a;_0x2fdb3e[_0x246758(0x192)]=this[_0x246758(0x1c2)][_0x246758(0x13b)]+_0x19a106,_0x2fdb3e[_0x246758(0x16e)]=!0x0,this[_0x246758(0x179)](_0x2fdb3e);}),this[_0x28011a(0x1e4)](),await this[_0x28011a(0x1da)]();}async[_0x1cac3e(0x116)](_0x32d9d1,_0x1da7ad){const _0x37de0b=_0x1cac3e;let _0x183b4d;this[_0x37de0b(0x162)]=_0x32d9d1[_0x37de0b(0x16f)];const _0x3de5a3=_0x32d9d1[_0x37de0b(0x1ed)]&&!_0x32d9d1[_0x37de0b(0x1a2)],_0x2f6135=_0x3de5a3?0x0:_0x32d9d1[_0x37de0b(0x161)][_0x37de0b(0x192)];if(_0x1da7ad[_0x37de0b(0x11e)](_0xdda96f=>{const _0x532b84=_0x37de0b;_0xdda96f[_0x532b84(0x16e)]=!0x0,_0xdda96f[_0x532b84(0x152)]=_0x32d9d1[_0x532b84(0x155)],_0xdda96f[_0x532b84(0x196)]=null;}),_0x3de5a3)_0x183b4d=_0x1da7ad,this[_0x37de0b(0x204)](_0x183b4d,_0x3de5a3);else{if(_0x32d9d1[_0x37de0b(0x1a2)]){const _0x4e5a9a=this[_0x37de0b(0x186)](_0x32d9d1[_0x37de0b(0x1a2)]);this[_0x37de0b(0x1c2)][_0x37de0b(0x129)][_0x37de0b(0x13b)]=-_0x4e5a9a[_0x37de0b(0x1be)],_0x4e5a9a[_0x37de0b(0x11e)](_0x3ee804=>{const _0x2b246f=_0x37de0b;_0x3ee804[_0x2b246f(0x192)]-=_0x4e5a9a[_0x2b246f(0x1be)],_0x3ee804[_0x2b246f(0x152)]=_0x32d9d1[_0x2b246f(0x155)],_0x3ee804[_0x2b246f(0x16e)]=!0x0,_0x3ee804[_0x2b246f(0x196)]=null;}),this[_0x37de0b(0x204)](_0x4e5a9a,!0x0),this[_0x37de0b(0x1cd)][_0x37de0b(0x13b)]=-_0x4e5a9a[_0x37de0b(0x1be)]+this[_0x37de0b(0x162)],this[_0x37de0b(0x1fb)](_0x4e5a9a);}this[_0x37de0b(0x1c2)][_0x37de0b(0x129)][_0x37de0b(0x13b)]=_0x2f6135,_0x183b4d=this[_0x37de0b(0x1a7)](_0x32d9d1[_0x37de0b(0x161)],_0x32d9d1[_0x37de0b(0x1ce)]),await this[_0x37de0b(0x160)](_0x183b4d),this[_0x37de0b(0x204)](_0x183b4d,_0x3de5a3);}_0x32d9d1[_0x37de0b(0x188)]&&(this[_0x37de0b(0x1f5)][_0x37de0b(0x1e9)](_0x183b4d,_0x32d9d1[_0x37de0b(0x188)]),this[_0x37de0b(0x135)]=_0x32d9d1[_0x37de0b(0x188)]),this[_0x37de0b(0x1cd)][_0x37de0b(0x13b)]=_0x2f6135+this[_0x37de0b(0x162)],this[_0x37de0b(0x1fb)](_0x183b4d),_0x1da7ad[_0x37de0b(0x1ab)](_0x5c48c7=>{const _0x18c58c=_0x37de0b,_0x57b5c4=this[_0x18c58c(0x13a)](_0x5c48c7);return _0x57b5c4&&!this[_0x18c58c(0x20f)][_0x18c58c(0x1e6)](_0x57b5c4);})[_0x37de0b(0x11e)]((_0x36ef70,_0x96d789)=>{const _0x358116=_0x37de0b;_0x36ef70[_0x358116(0x192)]=this[_0x358116(0x1c2)][_0x358116(0x13b)]+_0x96d789,this[_0x358116(0x179)](_0x36ef70);}),this[_0x37de0b(0x131)]()?(this[_0x37de0b(0x1f8)]=0x0,this[_0x37de0b(0x1e4)](!0x0),await this[_0x37de0b(0x1da)]()):(this[_0x37de0b(0x170)]=!0x1,this[_0x37de0b(0x198)]());}[_0x1cac3e(0x195)](_0x367236,_0x54535e,_0x1beabf){const _0x454826=_0x1cac3e;throw this[_0x454826(0x170)]=!0x0,_0x54535e&&console[_0x454826(0x1bb)](_0x54535e),_0x1beabf&&this[_0x454826(0x1c9)][_0x454826(0x1ca)](_0x454826(0x1ee)),new _0x5c907e(_0x367236,this[_0x454826(0x1c9)]);}[_0x1cac3e(0x179)](_0x22d80b){const _0x5e230c=_0x1cac3e;this[_0x5e230c(0x1d9)][_0x5e230c(0x1e6)](_0x22d80b)||(this[_0x5e230c(0x1d9)][_0x5e230c(0x1e2)](_0x22d80b),this[_0x5e230c(0x1f4)][_0x5e230c(0x132)](_0x22d80b),this[_0x5e230c(0x10f)]||_0x5e230c(0x19f)==_0x22d80b[_0x5e230c(0x19e)]&&!_0x22d80b[_0x5e230c(0x1d8)]||this[_0x5e230c(0x1a6)]());}[_0x1cac3e(0x1e4)](_0x3e2c07=!0x1){const _0x4f9ce2=_0x1cac3e;!_0x3e2c07&&this[_0x4f9ce2(0x170)]||(this[_0x4f9ce2(0x170)]=!0x0,clearTimeout(this[_0x4f9ce2(0x1d4)]),this[_0x4f9ce2(0x1d4)]=setTimeout(()=>{const _0x519671=_0x4f9ce2;this[_0x519671(0x16d)]()[_0x519671(0x142)](_0xdab92=>{const _0x4dd95d=_0x519671;_0xdab92&&(this[_0x4dd95d(0x198)](),this[_0x4dd95d(0x170)]=!0x1);})[_0x519671(0x144)](_0x47b555=>{const _0x1a534e=_0x519671;this[_0x1a534e(0x198)](),this[_0x1a534e(0x170)]=!0x1,function(_0x142c75){const _0x51d217=_0x1a534e;return _0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x12e))||_0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x119))||_0x142c75[_0x51d217(0x185)][_0x51d217(0x1c1)](_0x51d217(0x11a));}(_0x47b555)||this[_0x1a534e(0x195)](_0x47b555[_0x1a534e(0x185)],_0x47b555,!0x0);});},this[_0x4f9ce2(0x1f8)]));}[_0x1cac3e(0x1da)](){return new Promise(_0x4c7450=>{const _0xad8123=_0x48f4;this['on'](_0xad8123(0x14b),()=>{_0x4c7450();});});}async[_0x1cac3e(0x16d)](){const _0x35c79e=_0x1cac3e,_0x4727a0=this[_0x35c79e(0x1c9)][_0x35c79e(0x1c6)][_0x35c79e(0x1af)](_0x568f16);if(this[_0x35c79e(0x18b)]()&&(_0x4727a0[_0x35c79e(0x18e)](),this[_0x35c79e(0x1b9)]=!0x1),!this[_0x35c79e(0x131)]())return!0x0;const _0x11ca7a=[...this[_0x35c79e(0x1f4)]];for(const _0x5702d0 of _0x11ca7a)_0x5702d0[_0x35c79e(0x14e)]=this[_0x35c79e(0x1c2)][_0x35c79e(0x129)][_0x35c79e(0x1c4)](_0x5702d0);const _0x10e617=this[_0x35c79e(0x1f5)][_0x35c79e(0x1a5)](_0x11ca7a),_0x317d02=K++,_0xb8f3d0=this[_0x35c79e(0x1bc)](_0x11ca7a),_0x25c699=await this[_0x35c79e(0x190)][_0x35c79e(0x1d7)](_0xb8f3d0,_0xb8f3d0[_0x35c79e(0x192)],_0x10e617);try{return await this[_0x35c79e(0x1db)](_0x11ca7a,_0x25c699,_0x317d02);}catch(_0x25a316){return this[_0x35c79e(0x195)](_0x35c79e(0x1bf),_0x25a316);}}async[_0x1cac3e(0x1db)](_0x2c59cc,_0x44ee04,_0x2e9db9){const _0xa5f5ed=_0x1cac3e;if(_0xa5f5ed(0x1bb)in _0x44ee04)throw _0x44ee04[_0xa5f5ed(0x1bb)];let _0x14b0e1=!0x1;if(_0x44ee04[_0xa5f5ed(0x1ed)]){_0x44ee04[_0xa5f5ed(0x188)]&&(this[_0xa5f5ed(0x135)]=_0x44ee04[_0xa5f5ed(0x188)]),this[_0xa5f5ed(0x1f4)]=this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1ab)](_0x490414=>!_0x2c59cc[_0xa5f5ed(0x1b5)](_0x490414));for(const _0xb3eb9c of _0x2c59cc)_0xb3eb9c[_0xa5f5ed(0x152)]=_0xa5f5ed(0x112)in _0x44ee04&&_0x44ee04[_0xa5f5ed(0x112)]||void 0x0;Q(_0x2c59cc,_0x44ee04[_0xa5f5ed(0x13b)]-_0x2c59cc[_0xa5f5ed(0x1be)]),this[_0xa5f5ed(0x1fb)](_0x2c59cc);const _0xf9ac2d=_0x2c59cc[_0xa5f5ed(0x1ab)](_0x291a0=>{const _0x2487e3=_0xa5f5ed;if(!_0x291a0[_0x2487e3(0x16e)])return!0x1;const _0x3e40de=this[_0x2487e3(0x13a)](_0x291a0);return _0x3e40de&&!this[_0x2487e3(0x20f)][_0x2487e3(0x1e6)](_0x3e40de);});Q(_0xf9ac2d,this[_0xa5f5ed(0x1c2)][_0xa5f5ed(0x13b)]),this[_0xa5f5ed(0x204)](_0xf9ac2d),_0x14b0e1=!0x0,this[_0xa5f5ed(0x1f8)]=this[_0xa5f5ed(0x1d2)];}else{const _0x1c156b=this[_0xa5f5ed(0x1a7)](_0x44ee04[_0xa5f5ed(0x161)],_0x44ee04[_0xa5f5ed(0x1ce)])[_0xa5f5ed(0x1ab)](_0x4c1114=>_0x4c1114[_0xa5f5ed(0x192)]>=this[_0xa5f5ed(0x15c)]);_0x1c156b[_0xa5f5ed(0x11e)](_0x3315af=>this[_0xa5f5ed(0x1d6)](_0x3315af)),this[_0xa5f5ed(0x1f4)]=this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1ab)](_0x504367=>!_0x504367[_0xa5f5ed(0x16e)]||!this[_0xa5f5ed(0x20f)][_0xa5f5ed(0x1e6)](this[_0xa5f5ed(0x13a)](_0x504367))),this[_0xa5f5ed(0x1f4)][_0xa5f5ed(0x1be)]&&Q(this[_0xa5f5ed(0x1f4)],this[_0xa5f5ed(0x1f4)][0x0][_0xa5f5ed(0x192)]),await this[_0xa5f5ed(0x160)](_0x1c156b),_0x14b0e1=this[_0xa5f5ed(0x15a)](_0x1c156b,_0x44ee04[_0xa5f5ed(0x13b)],_0x44ee04[_0xa5f5ed(0x188)]),this[_0xa5f5ed(0x1f8)]=Math[_0xa5f5ed(0x111)](this[_0xa5f5ed(0x1f8)]/0x2);}return _0x14b0e1?!this[_0xa5f5ed(0x131)]()||(this[_0xa5f5ed(0x1e4)](!0x0),!0x1):this[_0xa5f5ed(0x195)](_0xa5f5ed(0x1b1));}[_0x1cac3e(0x15a)](_0x2d393f,_0x249fb8,_0x512048){const _0x1add71=_0x1cac3e;try{const _0x52ad58={'document':this[_0x1add71(0x1c2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x44ee4a,operationsB:_0x39ee40,originalOperations:_0x49c6f0}=_0x1f4073(_0x2d393f,this[_0x1add71(0x1f4)],_0x52ad58);Q(_0x44ee4a,this[_0x1add71(0x1c2)][_0x1add71(0x13b)]),Q(_0x39ee40,_0x249fb8);for(const _0xab6f83 of _0x44ee4a){const _0x22ff4d=_0x49c6f0[_0x1add71(0x1af)](_0xab6f83);_0xab6f83[_0x1add71(0x196)]=_0x22ff4d?_0x22ff4d[_0x1add71(0x196)]:null;}_0x512048&&(this[_0x1add71(0x1f5)][_0x1add71(0x1e9)](_0x2d393f,_0x512048),this[_0x1add71(0x135)]=_0x512048),this[_0x1add71(0x1f4)]=[..._0x39ee40],this[_0x1add71(0x204)](_0x44ee4a),this[_0x1add71(0x1fb)](_0x2d393f);}catch(_0x1b5140){return console[_0x1add71(0x1bb)](_0x1b5140),!0x1;}return!0x0;}[_0x1cac3e(0x204)](_0x2be6cc,_0xf864f7=!0x1){const _0x1e7c68=_0x1cac3e;this[_0x1e7c68(0x1c9)][_0x1e7c68(0x18a)][_0x1e7c68(0x117)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1da494=>{const _0x2cde0d=_0x1e7c68;for(const _0xc68f26 of _0x2be6cc)this[_0x2cde0d(0x1d9)][_0x2cde0d(0x1e2)](_0xc68f26),this[_0x2cde0d(0x1d6)](_0xc68f26),_0x1da494[_0x2cde0d(0x13d)][_0x2cde0d(0x140)](_0xc68f26),this[_0x2cde0d(0x1c9)][_0x2cde0d(0x18a)][_0x2cde0d(0x200)](_0xc68f26);});}[_0x1cac3e(0x1d6)](_0x34316a){const _0x58f666=_0x1cac3e,_0x24581b=this[_0x58f666(0x13a)](_0x34316a);_0x24581b&&this[_0x58f666(0x20f)][_0x58f666(0x1e2)](_0x24581b);}[_0x1cac3e(0x13a)](_0x34940b){const _0x1d1066=_0x1cac3e;let _0x31d51c,_0x5bc1c0;switch(_0x34940b[_0x1d1066(0x19e)]){case _0x1d1066(0x123):_0x31d51c=_0x34940b[_0x1d1066(0x12f)][_0x1d1066(0x122)];break;case _0x1d1066(0x19f):if(_0x5bc1c0=_0x34940b[_0x1d1066(0x17b)],!_0x5bc1c0)return null;_0x31d51c=_0x5bc1c0[_0x1d1066(0x122)];break;case _0x1d1066(0x138):_0x31d51c=_0x34940b[_0x1d1066(0x122)];break;case _0x1d1066(0x163):_0x31d51c=_0x34940b[_0x1d1066(0x172)];break;case _0x1d1066(0x167):_0x31d51c=_0x34940b[_0x1d1066(0x1ff)][_0x1d1066(0x122)];break;default:return null;}return _0x31d51c[_0x1d1066(0x183)];}[_0x1cac3e(0x1fb)](_0x1f20df){const _0x40fc52=_0x1cac3e;_0x1f20df[_0x40fc52(0x11e)](_0x5ca0ab=>{const _0x434a41=_0x40fc52,_0x22fedd=_0x5ca0ab[_0x434a41(0x1ba)]();_0x22fedd[_0x434a41(0x196)]=_0x5ca0ab[_0x434a41(0x196)],_0x22fedd[_0x434a41(0x16e)]=!!_0x5ca0ab[_0x434a41(0x16e)],_0x22fedd[_0x434a41(0x152)]=_0x5ca0ab[_0x434a41(0x152)],_0x22fedd[_0x434a41(0x192)]+=this[_0x434a41(0x162)],_0x5ca0ab[_0x434a41(0x147)]&&this[_0x434a41(0x1fd)][_0x434a41(0x1e2)](_0x22fedd),this[_0x434a41(0x1cd)][_0x434a41(0x140)](_0x22fedd);});}[_0x1cac3e(0x139)](_0x36ef8e){const _0x2b90ae=_0x1cac3e,_0x1549f8=this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1c6)][_0x2b90ae(0x1af)](_0x2b90ae(0x1b3)),_0x2445c6=this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1d3)];_0x36ef8e||(_0x36ef8e=_0x165fb2(_0x2445c6,_0x2b90ae(0x211))),_0x1549f8[_0x2b90ae(0x166)](_0x36ef8e,{'title':_0x165fb2(_0x2445c6,_0x2b90ae(0x15b)),'namespace':_0x2b90ae(0x20c)}),this[_0x2b90ae(0x1b8)]=!0x0,clearTimeout(this[_0x2b90ae(0x1d4)]),this[_0x2b90ae(0x1f4)]=[],this[_0x2b90ae(0x1c9)][_0x2b90ae(0x1c6)][_0x2b90ae(0x1af)](_0x39dd3a)[_0x2b90ae(0x178)]();}[_0x1cac3e(0x1a6)](){const _0x1f78f7=_0x1cac3e;this[_0x1f78f7(0x10f)]||(this[_0x1f78f7(0x10f)]=this[_0x1f78f7(0x1c9)][_0x1f78f7(0x1c6)][_0x1f78f7(0x1af)](_0x146775)[_0x1f78f7(0x1e2)](_0x165fb2(this[_0x1f78f7(0x1c9)][_0x1f78f7(0x1d3)],_0x1f78f7(0x1d5))));}[_0x1cac3e(0x198)](){const _0x43dcd4=_0x1cac3e;this[_0x43dcd4(0x10f)]&&(this[_0x43dcd4(0x1c9)][_0x43dcd4(0x1c6)][_0x43dcd4(0x1af)](_0x146775)[_0x43dcd4(0x1aa)](this[_0x43dcd4(0x10f)]),this[_0x43dcd4(0x10f)]=null);}[_0x1cac3e(0x1bc)](_0x3d8d56){const _0x39a0af=_0x1cac3e,_0x51d8ec=_0x3d8d56[_0x39a0af(0x12b)](_0x2d1ad6=>_0x2d1ad6[_0x39a0af(0x1f1)]());return this[_0x39a0af(0x19c)][_0x39a0af(0x1c8)](_0x51d8ec);}[_0x1cac3e(0x1a7)](_0x4d66f2,_0x36431d){const _0x4de4ea=_0x1cac3e;return this[_0x4de4ea(0x19c)][_0x4de4ea(0x13f)](_0x4d66f2)[_0x4de4ea(0x12b)]((_0x2f8ba2,_0x12cf01)=>{const _0x379dbd=_0x4de4ea,_0x271a16=_0x379dbd(0x16b)==_0x36431d[_0x12cf01][_0x379dbd(0x19e)];if(_0x379dbd(0x1ea)==_0x2f8ba2[_0x379dbd(0x207)]){const _0x396d45=_0x2f8ba2[_0x379dbd(0x12f)][_0x379dbd(0x122)];!this[_0x379dbd(0x1c2)][_0x379dbd(0x1e8)](_0x396d45)&&(this[_0x379dbd(0x1c2)][_0x379dbd(0x1fa)](_0x379dbd(0x210),_0x396d45)[_0x379dbd(0x18f)]=!0x1);}const _0x9a583b=_0x4e6430[_0x379dbd(0x149)](_0x2f8ba2,this[_0x379dbd(0x1c2)]);return _0x9a583b[_0x379dbd(0x14e)]=_0x2f8ba2[_0x379dbd(0x14e)],_0x9a583b[_0x379dbd(0x16e)]=_0x271a16,_0x9a583b[_0x379dbd(0x196)]=_0x271a16?null:_0x36431d[_0x12cf01][_0x379dbd(0x209)],_0x9a583b[_0x379dbd(0x147)]=_0x379dbd(0x20d)===_0x36431d[_0x12cf01][_0x379dbd(0x19e)],_0x9a583b[_0x379dbd(0x152)]=_0x36431d[_0x12cf01][_0x379dbd(0x152)],_0x9a583b;});}[_0x1cac3e(0x154)](){const _0x41d8d1=_0x1cac3e;this[_0x41d8d1(0x1b9)]=!0x0,this[_0x41d8d1(0x18b)]()?this[_0x41d8d1(0x1e4)]():this[_0x41d8d1(0x1b9)]=!0x1;}[_0x1cac3e(0x18b)](){const _0x5463a4=_0x1cac3e,_0x15d31b=this[_0x5463a4(0x1c9)][_0x5463a4(0x1c6)][_0x5463a4(0x1af)](_0x248130)[_0x5463a4(0x1a3)][_0x5463a4(0x1af)](this[_0x5463a4(0x175)]);return!this[_0x5463a4(0x1c9)][_0x5463a4(0x1ac)]&&!!_0x15d31b&&_0x15d31b[_0x5463a4(0x1be)]>0x1&&this[_0x5463a4(0x1b9)];}[_0x1cac3e(0x131)](){const _0x5bc51e=_0x1cac3e;return this[_0x5bc51e(0x1f4)][_0x5bc51e(0x1be)]>0x0||this[_0x5bc51e(0x18b)]();}}l[_0x1cac3e(0x1b2)]=_0x40621e;export default l;class J extends Error{}function Q(_0x5e57cf,_0x55acd5){const _0x118d06=_0x1cac3e;for(const _0x1f2f5f of _0x5e57cf)_0x1f2f5f[_0x118d06(0x192)]=_0x55acd5++;}class X{constructor(_0x537a82){const _0x79ffb4=_0x1cac3e;this[_0x79ffb4(0x1c3)]=_0x537a82,this[_0x79ffb4(0x164)]=new WeakMap();}[_0x1cac3e(0x1a5)](_0x2e17aa){const _0x416cde=_0x1cac3e;let _0x5741a5=_0x2e17aa[_0x416cde(0x1be)];for(;_0x5741a5--;){const _0x7410a8=_0x2e17aa[_0x5741a5];if(!this[_0x416cde(0x1c3)][_0x416cde(0x1e6)](_0x7410a8)){if(!this[_0x416cde(0x164)][_0x416cde(0x1e6)](_0x7410a8)){const _0x435dd5=_0x20d65c()[_0x416cde(0x134)](0x1,0x12);this[_0x416cde(0x164)][_0x416cde(0x1a4)](_0x7410a8,_0x435dd5);}return this[_0x416cde(0x164)][_0x416cde(0x1af)](_0x7410a8);}}}[_0x1cac3e(0x1e9)](_0x4e4359,_0x451e38){const _0x4b74d9=_0x1cac3e;if(!_0x451e38)return;let _0x1d9df7=_0x4e4359[_0x4b74d9(0x1be)];for(;_0x1d9df7--;){const _0x4dca34=_0x4e4359[_0x1d9df7];this[_0x4b74d9(0x1c3)][_0x4b74d9(0x1e6)](_0x4dca34)||this[_0x4b74d9(0x164)][_0x4b74d9(0x1a4)](_0x4dca34,_0x451e38);}}}
|
|
23
|
+
const _0x1e72fe=_0x26e6;(function(_0x2fcc20,_0x344a41){const _0x1398d1=_0x26e6,_0x32e4ca=_0x2fcc20();while(!![]){try{const _0xcf010=parseInt(_0x1398d1(0x155))/0x1+-parseInt(_0x1398d1(0x121))/0x2+-parseInt(_0x1398d1(0xbb))/0x3+-parseInt(_0x1398d1(0xa9))/0x4+parseInt(_0x1398d1(0x14f))/0x5*(parseInt(_0x1398d1(0xe0))/0x6)+parseInt(_0x1398d1(0x166))/0x7+parseInt(_0x1398d1(0x12a))/0x8;if(_0xcf010===_0x344a41)break;else _0x32e4ca['push'](_0x32e4ca['shift']());}catch(_0x21b525){_0x32e4ca['push'](_0x32e4ca['shift']());}}}(_0x4740,0x6112a));import{Plugin as _0x41fbb0,PendingActions as _0x57d992}from'ckeditor5/src/core.js';import{CKEditorError as _0x1cff2f,version as _0x3c57fb,uid as _0x6c6e1b}from'ckeditor5/src/utils.js';import{Notification as _0x22b9bb}from'ckeditor5/src/ui.js';import{transformSets as _0x1e43ac,NoOperation as _0x42e927,InsertOperation as _0x3be235,MarkerOperation as _0x1604c6,RootAttributeOperation as _0x2935f9,OperationFactory as _0x59b229,History as _0x5bb5f3}from'ckeditor5/src/engine.js';function _0x26e6(_0x591d5e,_0x3800a9){const _0x47404a=_0x4740();return _0x26e6=function(_0x26e615,_0x4a34be){_0x26e615=_0x26e615-0x9e;let _0xac12=_0x47404a[_0x26e615];return _0xac12;},_0x26e6(_0x591d5e,_0x3800a9);}import _0x2c912a from'./websocketgateway.js';import _0xaf806b from'./sessions.js';import _0x554d87 from'./usermarkers.js';import{getTranslation as _0x37ef97}from'../common-translations.js';import{Compressor as _0x19753e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xae426c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x48ad65,CollaborativeEditingService as _0x495554}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Z=0x1;class l extends _0x41fbb0{static get[_0x1e72fe(0xa3)](){return[_0x2c912a,_0xaf806b,_0x554d87,_0x57d992,_0xae426c,_0x22b9bb];}static get[_0x1e72fe(0x138)](){const _0x522302=_0x1e72fe;return _0x522302(0x115);}static get[_0x1e72fe(0xbf)](){return!0x0;}static get[_0x1e72fe(0x14a)](){return!0x0;}get[_0x1e72fe(0xad)](){const _0x19d363=_0x1e72fe;return this[_0x19d363(0xb0)]+this[_0x19d363(0xf8)];}get[_0x1e72fe(0xb0)](){const _0x437e24=_0x1e72fe;return this[_0x437e24(0xfd)][_0x437e24(0x18f)]-this[_0x437e24(0xf8)];}get[_0x1e72fe(0x129)](){const _0xe90d80=_0x1e72fe,_0x65fb51=this[_0xe90d80(0xfd)][_0xe90d80(0x15e)]();for(let _0x4842b7=_0x65fb51[_0xe90d80(0x127)]-0x1;_0x4842b7>=0x0;_0x4842b7--){const _0x1202b2=_0x65fb51[_0x4842b7];if(!this[_0xe90d80(0xd1)][_0xe90d80(0x10a)](_0x1202b2))return _0x1202b2[_0xe90d80(0xe2)]+0x1-this[_0xe90d80(0xf8)];}return 0x0;}constructor(_0x1ef095){const _0x2e7218=_0x1e72fe;if(super(_0x1ef095),this[_0x2e7218(0xf8)]=0x0,this[_0x2e7218(0xed)]=null,this[_0x2e7218(0xfd)]=new _0x5bb5f3(),this[_0x2e7218(0x197)][_0x2e7218(0xe9)][_0x2e7218(0x19e)](_0x2e7218(0x13d),{}),this[_0x2e7218(0x103)]=this[_0x2e7218(0x197)][_0x2e7218(0xe9)][_0x2e7218(0x130)](_0x2e7218(0x161)),!this[_0x2e7218(0x103)])throw new _0x1cff2f(_0x2e7218(0xcc),this);const _0x2daf43=_0x1ef095[_0x2e7218(0xe9)][_0x2e7218(0x130)](_0x2e7218(0xc1))||_0x3c57fb;this[_0x2e7218(0x160)]=new l[(_0x2e7218(0x196))](_0x2daf43,this[_0x2e7218(0x103)]),this[_0x2e7218(0x172)]=this[_0x2e7218(0x197)][_0x2e7218(0x198)][_0x2e7218(0xd8)],this[_0x2e7218(0x187)]=new _0x19753e(),this[_0x2e7218(0x199)]=[],this[_0x2e7218(0x178)]=new WeakSet(),this[_0x2e7218(0xdb)]=new Set(),this[_0x2e7218(0xa7)](_0x2e7218(0x165),!0x1),this[_0x2e7218(0xa7)](_0x2e7218(0xa0),!0x1),this[_0x2e7218(0xd5)]=null,this[_0x2e7218(0x15f)]=!0x1,this[_0x2e7218(0x114)]=null,this[_0x2e7218(0xb5)]=0x12c,this[_0x2e7218(0x12f)]=this[_0x2e7218(0xb5)],this[_0x2e7218(0xbd)]=null,this[_0x2e7218(0xd1)]=new WeakSet(),this[_0x2e7218(0x104)]=new st(this[_0x2e7218(0xd1)]);}[_0x1e72fe(0xbc)](){const _0x1e47bc=_0x1e72fe,_0x4bc836=this[_0x1e47bc(0x197)],_0x17ecfb=_0x4bc836[_0x1e47bc(0x148)][_0x1e47bc(0x130)](_0xae426c),_0x5071a9=_0x4bc836[_0x1e47bc(0x148)][_0x1e47bc(0x130)](_0x2c912a);this[_0x1e47bc(0x106)](_0x17ecfb,_0x1e47bc(0x183),(_0x3aa902,_0x4cd3ca)=>{const _0xda50a5=_0x1e47bc,_0x3c2785=_0x4cd3ca[0x0];_0x3c2785[_0xda50a5(0x17d)]&&(_0x3aa902[_0xda50a5(0xe8)]=_0x17ecfb[_0xda50a5(0xba)](_0x3c2785[_0xda50a5(0x17d)]),_0x3aa902[_0xda50a5(0xb1)]()),null===_0x3c2785[_0xda50a5(0x17d)]&&(_0x3aa902[_0xda50a5(0xe8)]=null,_0x3aa902[_0xda50a5(0xb1)]());},{'priority':_0x1e47bc(0x158)}),this[_0x1e47bc(0x106)](_0x4bc836[_0x1e47bc(0x198)][_0x1e47bc(0xd8)][_0x1e47bc(0xe7)],_0x1e47bc(0x17f),(_0x33a98c,_0x5d7fb9)=>{const _0x21cb0e=_0x1e47bc;_0x5d7fb9[_0x21cb0e(0xef)]&&this[_0x21cb0e(0x11e)]();}),this[_0x1e47bc(0x106)](_0x4bc836[_0x1e47bc(0x144)][_0x1e47bc(0x193)],_0x1e47bc(0xb6),()=>{const _0x369ac2=_0x1e47bc;this[_0x369ac2(0x11e)]();}),this[_0x1e47bc(0xdc)](),_0x4bc836[_0x1e47bc(0x198)]['on'](_0x1e47bc(0x162),(_0x611d9b,_0x34acb0)=>{const _0x4e044a=_0x1e47bc,_0x17d6dd=_0x34acb0[0x0];_0x17d6dd[_0x4e044a(0x118)]&&(this[_0x4e044a(0x151)](_0x17d6dd),this[_0x4e044a(0xdd)]()&&this[_0x4e044a(0xcf)]());}),this[_0x1e47bc(0xf9)](),this[_0x1e47bc(0xea)](_0x1e47bc(0xcd))['to'](_0x5071a9,_0x1e47bc(0xa6),this,_0x1e47bc(0xa0),(_0x3906f6,_0x228be4)=>_0x1e47bc(0x110)===_0x3906f6&&!_0x228be4),this['on'](_0x1e47bc(0x102),()=>{const _0x3ab410=_0x1e47bc;this[_0x3ab410(0xcd)]?_0x4bc836[_0x3ab410(0x136)](_0x3ab410(0xe6)):_0x4bc836[_0x3ab410(0x134)](_0x3ab410(0xe6));}),this[_0x1e47bc(0xcd)]?_0x4bc836[_0x1e47bc(0x136)](_0x1e47bc(0xe6)):_0x4bc836[_0x1e47bc(0x134)](_0x1e47bc(0xe6)),this[_0x1e47bc(0xa7)](_0x1e47bc(0xf3),!0x1);}async[_0x1e72fe(0x128)](){const _0x52a5c6=_0x1e72fe,_0x54602e=this[_0x52a5c6(0x197)][_0x52a5c6(0x148)][_0x52a5c6(0x130)](_0xaf806b),_0x32c4fd=this[_0x52a5c6(0x197)][_0x52a5c6(0x148)][_0x52a5c6(0x130)](_0x2c912a);try{this[_0x52a5c6(0x165)]=!0x0,_0x54602e[_0x52a5c6(0x10f)](this[_0x52a5c6(0x103)]);const _0x7ec015=await this[_0x52a5c6(0x160)][_0x52a5c6(0x128)](_0x32c4fd[_0x52a5c6(0x17c)],this[_0x52a5c6(0x129)]);await this[_0x52a5c6(0xe1)](_0x7ec015)&&(this[_0x52a5c6(0x165)]=!0x1,this[_0x52a5c6(0xfe)]());const _0x1c885b=await this[_0x52a5c6(0x160)][_0x52a5c6(0x14b)]();_0x54602e[_0x52a5c6(0x156)](this[_0x52a5c6(0x103)],_0x1c885b),this[_0x52a5c6(0x185)](),this[_0x52a5c6(0xf3)]=!0x0;}catch(_0x282285){if(function(_0x10c42c){const _0x1f687c=_0x52a5c6;return _0x1f687c(0x11a)===_0x10c42c[_0x1f687c(0x157)];}(_0x282285)&&this[_0x52a5c6(0xed)])await this[_0x52a5c6(0xaf)]();else{if(function(_0x1d5383){const _0x411271=_0x52a5c6;return _0x411271(0xa4)===_0x1d5383[_0x411271(0x157)];}(_0x282285)){const _0x47d919=_0x37ef97(this[_0x52a5c6(0x197)][_0x52a5c6(0xb8)],_0x52a5c6(0x105));this[_0x52a5c6(0x9f)](_0x47d919);}else{if(!(_0x282285 instanceof tt))throw _0x282285;this[_0x52a5c6(0x9f)]();}}}}[_0x1e72fe(0x195)](){const _0x55552c=_0x1e72fe,_0x27f553=this[_0x55552c(0x197)][_0x55552c(0x148)][_0x55552c(0x130)](_0x2c912a),_0x2b44c6=this[_0x55552c(0x197)][_0x55552c(0x148)][_0x55552c(0x130)](_0xaf806b);this[_0x55552c(0x197)][_0x55552c(0x134)](_0x55552c(0x143)),_0x2b44c6[_0x55552c(0x168)][_0x55552c(0x10a)](this[_0x55552c(0x103)])&&_0x2b44c6[_0x55552c(0x10f)](this[_0x55552c(0x103)]),_0x27f553[_0x55552c(0x142)](this),this[_0x55552c(0x145)](),super[_0x55552c(0x195)]();}async[_0x1e72fe(0xe1)](_0x155e12){const _0x5a5ff8=_0x1e72fe;if(this[_0x5a5ff8(0xed)]!==_0x155e12[_0x5a5ff8(0xed)]&&this[_0x5a5ff8(0xbd)]!==_0x155e12[_0x5a5ff8(0x12c)])throw new tt();return this[_0x5a5ff8(0xed)]=_0x155e12[_0x5a5ff8(0xed)],this[_0x5a5ff8(0x111)]([],{..._0x155e12,'wereChangesApplied':!0x1,'data':_0x155e12[_0x5a5ff8(0xf6)]},_0x5a5ff8(0x128));}async[_0x1e72fe(0x18a)](_0x501bef,_0x36d98a=!0x1){const _0x5cd204=_0x1e72fe,{connection:_0x3c7149}=this[_0x5cd204(0x197)][_0x5cd204(0x148)][_0x5cd204(0x130)](_0x2c912a);l[_0x5cd204(0x196)][_0x5cd204(0x14b)](_0x3c7149,this[_0x5cd204(0x103)])[_0x5cd204(0x17b)](_0x1db3e9=>this[_0x5cd204(0x119)](_0x1db3e9))[_0x5cd204(0xaa)](_0x1390a2=>{const _0x393548=_0x5cd204;this[_0x393548(0xc2)](_0x393548(0x175),_0x1390a2);}),this[_0x5cd204(0x106)](this[_0x5cd204(0x160)],_0x5cd204(0xdf),this[_0x5cd204(0x131)][_0x5cd204(0xea)](this)),this[_0x5cd204(0x106)](this[_0x5cd204(0x160)],_0x5cd204(0x16b),(_0x1f4ae5,_0x684a1d)=>{const _0x352155=_0x5cd204;this[_0x352155(0xc2)](_0x352155(0x180),_0x684a1d);}),this[_0x5cd204(0x106)](this[_0x5cd204(0x160)],_0x5cd204(0xf4),()=>{const _0x558626=_0x5cd204;this[_0x558626(0xf3)]=!0x1;});const _0x31a69f=this[_0x5cd204(0x104)][_0x5cd204(0x11c)](_0x501bef);this[_0x5cd204(0x165)]=!0x0;const _0x2fd8df=await this[_0x5cd204(0x160)][_0x5cd204(0x17a)](_0x3c7149,this[_0x5cd204(0x123)](_0x501bef),_0x31a69f);if(this[_0x5cd204(0xed)]=_0x2fd8df[_0x5cd204(0xed)],_0x36d98a){if(!_0x2fd8df[_0x5cd204(0x109)])return void this[_0x5cd204(0x9f)]();this[_0x5cd204(0x165)]=!0x1,this[_0x5cd204(0xfe)](),this[_0x5cd204(0xfd)][_0x5cd204(0x17e)](),this[_0x5cd204(0xf8)]=_0x2fd8df[_0x5cd204(0xe5)],this[_0x5cd204(0xfd)][_0x5cd204(0x18f)]=this[_0x5cd204(0xf8)],await this[_0x5cd204(0x111)](_0x501bef,_0x2fd8df,_0x5cd204(0x147));}else await this[_0x5cd204(0xf2)](_0x2fd8df,_0x501bef);this[_0x5cd204(0x185)](),this[_0x5cd204(0xf3)]=!0x0;}[_0x1e72fe(0x185)](){const _0x30e499=_0x1e72fe,_0x1460fe=this[_0x30e499(0x197)][_0x30e499(0x148)][_0x30e499(0x130)](_0xaf806b),_0x4921aa=this[_0x30e499(0x197)][_0x30e499(0x148)][_0x30e499(0x130)](_0x554d87),_0x2bfa1b=_0x1460fe[_0x30e499(0x168)][_0x30e499(0x130)](this[_0x30e499(0x103)]);_0x2bfa1b&&_0x2bfa1b[_0x30e499(0x127)]>0x1?_0x4921aa[_0x30e499(0x174)]():this[_0x30e499(0x106)](_0x1460fe,_0x30e499(0x12b)+this[_0x30e499(0x103)],()=>{const _0x4910cc=_0x30e499;0x2===_0x1460fe[_0x4910cc(0x168)][_0x4910cc(0x130)](this[_0x4910cc(0x103)])[_0x4910cc(0x127)]&&_0x4921aa[_0x4910cc(0x174)]();});}async[_0x1e72fe(0x131)](_0x1368ad,_0x28737f,_0x3f063a,_0x297cfb){const _0x33eb07=_0x1e72fe;if(!this[_0x33eb07(0x165)]&&this[_0x33eb07(0x172)][_0x33eb07(0x18f)]==_0x28737f){const _0x5d8b29=this[_0x33eb07(0x12d)](_0x3f063a,_0x297cfb);await this[_0x33eb07(0x15b)](_0x5d8b29),this[_0x33eb07(0x186)](_0x5d8b29,_0x28737f,_0x3f063a[_0x33eb07(0x12c)])||this[_0x33eb07(0xc2)](_0x33eb07(0x14d));}}async[_0x1e72fe(0xaf)](){const _0x2fcaac=_0x1e72fe;this[_0x2fcaac(0x145)]();const {locale:_0x4e59fb}=this[_0x2fcaac(0x197)];let _0x2d871a;try{_0x2d871a=await this[_0x2fcaac(0x160)][_0x2fcaac(0xc8)]();}catch(_0x40acc1){const _0x3f539e=_0x37ef97(_0x4e59fb,_0x2fcaac(0xb7));return void this[_0x2fcaac(0x9f)](_0x3f539e);}const _0x5973e4=_0x2d871a[_0x2fcaac(0xc4)]||_0x2d871a[_0x2fcaac(0x15d)];if(this[_0x2fcaac(0xbd)]===_0x5973e4[_0x2fcaac(0x12c)])await this[_0x2fcaac(0x18a)](this[_0x2fcaac(0x197)][_0x2fcaac(0x198)][_0x2fcaac(0xd8)][_0x2fcaac(0x149)][_0x2fcaac(0x15e)](),!0x0);else{const _0x21b9b7=_0x37ef97(_0x4e59fb,_0x2fcaac(0x170));this[_0x2fcaac(0x9f)](_0x21b9b7);}}[_0x1e72fe(0x145)](){const _0x4dee31=_0x1e72fe;this[_0x4dee31(0x160)][_0x4dee31(0x11b)](),this[_0x4dee31(0x199)]=[],clearTimeout(this[_0x4dee31(0x114)]),this[_0x4dee31(0x19b)](this[_0x4dee31(0x160)]);}[_0x1e72fe(0x119)](_0x11ade8){const _0x259dae=_0x1e72fe,_0x134d74=this[_0x259dae(0x197)][_0x259dae(0x148)][_0x259dae(0x130)](_0xaf806b);this[_0x259dae(0x106)](_0x134d74,_0x259dae(0x12b)+this[_0x259dae(0x103)],(_0x1be254,{session:_0x2efb34})=>{const _0x18de43=_0x259dae;if(_0x2efb34['id']===_0x134d74[_0x18de43(0x11d)]){_0x1be254[_0x18de43(0x120)]();const _0x5e3617=this[_0x18de43(0x197)][_0x18de43(0x148)][_0x18de43(0x10a)](_0x18de43(0x153))&&this[_0x18de43(0x197)][_0x18de43(0x148)][_0x18de43(0x130)](_0x18de43(0x153));let _0x3c95ca=_0x2efb34[_0x18de43(0x164)];_0x5e3617&&_0x5e3617[_0x18de43(0x188)]&&(_0x3c95ca=_0x3c95ca[_0x18de43(0xc5)](_0xe7ac6=>_0x18de43(0xd4)!==_0xe7ac6)),this[_0x18de43(0x197)][_0x18de43(0x148)][_0x18de43(0x130)](_0x18de43(0x10d))[_0x18de43(0x16e)](_0x3c95ca,this[_0x18de43(0x103)]);}}),_0x134d74[_0x259dae(0x156)](this[_0x259dae(0x103)],_0x11ade8);}[_0x1e72fe(0xdc)](){const _0xbcad12=_0x1e72fe,_0x4bc29e=this[_0xbcad12(0x197)][_0xbcad12(0xf6)][_0xbcad12(0xa7)];this[_0xbcad12(0x197)][_0xbcad12(0xf6)][_0xbcad12(0xa7)]=(..._0x54da03)=>{const _0x5e54aa=_0xbcad12;if(!_0x54da03[_0x54da03[_0x5e54aa(0x127)]-0x1][_0x5e54aa(0x169)])throw new _0x1cff2f(_0x5e54aa(0x9e),this);_0x4bc29e[_0x5e54aa(0xec)](this[_0x5e54aa(0x197)][_0x5e54aa(0xf6)],_0x54da03);};}[_0x1e72fe(0xf9)](){const _0x1331fa=_0x1e72fe;this[_0x1331fa(0x197)][_0x1331fa(0xf6)]['on'](_0x1331fa(0xbc),(_0x6dd9c8,[_0x35b8eb])=>{const _0xd527fe=_0x1331fa;if(this[_0xd527fe(0x172)][_0xd527fe(0x18f)])throw new _0x1cff2f(_0xd527fe(0x16f),this);_0x6dd9c8[_0xd527fe(0xb1)](),this[_0xd527fe(0x14e)]();const _0x3f5515=this[_0xd527fe(0x197)][_0xd527fe(0xe9)][_0xd527fe(0x130)](_0xd527fe(0xb4)),_0x4cb8e0=this[_0xd527fe(0xa5)](_0x35b8eb,_0x3f5515);0x0==_0x4cb8e0[_0xd527fe(0x127)]&&_0x4cb8e0[_0xd527fe(0xca)](new _0x42e927(0x0)),_0x6dd9c8[_0xd527fe(0xe8)]=this[_0xd527fe(0x18a)](_0x4cb8e0)[_0xd527fe(0x17b)](()=>{const _0xa14c07=_0xd527fe;this[_0xa14c07(0x197)][_0xa14c07(0x148)][_0xa14c07(0x130)](_0x2c912a)[_0xa14c07(0x191)](this),this[_0xa14c07(0x197)][_0xa14c07(0xf6)][_0xa14c07(0x100)](_0xa14c07(0xbe));})[_0xd527fe(0xaa)](_0x1d00be=>this[_0xd527fe(0xc2)](_0xd527fe(0x190),_0x1d00be))[_0xd527fe(0x146)](()=>this[_0xd527fe(0xfe)]());},{'priority':_0x1331fa(0x158)}),this[_0x1331fa(0x197)]['on'](_0x1331fa(0x101),async(_0x1b66b6,[_0x5b1068,_0x265efc])=>{const _0x5ffb6a=_0x1331fa;_0x1b66b6[_0x5ffb6a(0xb1)]();const _0x524966=this[_0x5ffb6a(0x197)][_0x5ffb6a(0x198)][_0x5ffb6a(0xd8)][_0x5ffb6a(0xf0)](_0x5b1068);if(!this[_0x5ffb6a(0xdb)][_0x5ffb6a(0x10a)](_0x5b1068)){const _0x3d51f5=_0x265efc&&_0x265efc[_0x5ffb6a(0xf6)]?_0x265efc[_0x5ffb6a(0xf6)]:'',_0x5d7b0f=_0x265efc&&_0x265efc[_0x5ffb6a(0x113)]?_0x265efc[_0x5ffb6a(0x113)]:{};await this[_0x5ffb6a(0x137)](_0x5b1068,_0x3d51f5,_0x5d7b0f);}this[_0x5ffb6a(0x197)][_0x5ffb6a(0x198)][_0x5ffb6a(0xeb)]({'isUndoable':!0x1},()=>{const _0x4a6d1f=_0x5ffb6a;_0x524966[_0x4a6d1f(0x10e)]=!0x0,this[_0x4a6d1f(0x197)][_0x4a6d1f(0x198)][_0x4a6d1f(0xd8)][_0x4a6d1f(0x15a)][_0x4a6d1f(0x13c)](_0x524966);});},{'priority':_0x1331fa(0x158)});}async[_0x1e72fe(0x15b)](_0x1a25be){const _0x54342e=_0x1e72fe,_0x5eff50=this[_0x54342e(0x197)][_0x54342e(0x148)][_0x54342e(0x130)](_0xae426c),{connection:_0x1e6101}=this[_0x54342e(0x197)][_0x54342e(0x148)][_0x54342e(0x130)](_0x2c912a),_0x7e3cfd=new Set();for(const _0x3a9fd1 of _0x1a25be){const _0x127571=_0x3a9fd1[_0x54342e(0x17d)];_0x127571&&!_0x5eff50[_0x54342e(0xba)](_0x127571)&&_0x7e3cfd[_0x54342e(0x107)](_0x127571);}if(0x0===_0x7e3cfd[_0x54342e(0x13e)])return;const _0x4b13c3=await _0x48ad65[_0x54342e(0x124)](_0x1e6101,Array[_0x54342e(0x14c)](_0x7e3cfd));for(const _0x35924d of _0x4b13c3)_0x5eff50[_0x54342e(0xba)](_0x35924d['id'])||_0x5eff50[_0x54342e(0x13a)](_0x35924d);}[_0x1e72fe(0xa5)](_0xe4f6b0,_0x3fa9d0={}){const _0x4e3bd0=_0x1e72fe,_0x2932d3=this[_0x4e3bd0(0x197)][_0x4e3bd0(0x198)],_0x7b4667=[];let _0xf5882a=0x0;const _0x4a514d=_0x4e3bd0(0x154)==typeof _0xe4f6b0?{'main':_0xe4f6b0}:_0xe4f6b0;for(const _0x10c7ef of Object[_0x4e3bd0(0xf5)](_0x4a514d)){if(!this[_0x4e3bd0(0x172)][_0x4e3bd0(0xf1)][_0x4e3bd0(0x10a)](_0x10c7ef))throw new _0x1cff2f(_0x4e3bd0(0xcb),this);const _0x1c9998=this[_0x4e3bd0(0x197)][_0x4e3bd0(0xf6)][_0x4e3bd0(0x16d)](_0x4a514d[_0x10c7ef]),_0xe5f985=this[_0x4e3bd0(0x172)][_0x4e3bd0(0xf0)](_0x10c7ef),_0x3499b6=new _0x3be235(_0x2932d3[_0x4e3bd0(0x150)](_0xe5f985,0x0),_0x1c9998,_0xf5882a++);_0x7b4667[_0x4e3bd0(0xca)](_0x3499b6);for(const [_0x15773c,_0x4cc1f2]of _0x1c9998[_0x4e3bd0(0xc9)]){const _0x80fa48=_0x2932d3[_0x4e3bd0(0xd9)](_0x2932d3[_0x4e3bd0(0x10c)](_0xe5f985,_0x4cc1f2[_0x4e3bd0(0x192)][_0x4e3bd0(0xc0)][_0x4e3bd0(0x163)]()),_0x2932d3[_0x4e3bd0(0x10c)](_0xe5f985,_0x4cc1f2[_0x4e3bd0(0x12e)][_0x4e3bd0(0xc0)][_0x4e3bd0(0x163)]())),_0x6f6b2b=new _0x1604c6(_0x15773c,null,_0x80fa48,_0x2932d3[_0x4e3bd0(0xc9)],!0x0,_0xf5882a++);_0x7b4667[_0x4e3bd0(0xca)](_0x6f6b2b);}}if(_0x3fa9d0)for(const [_0x33e389,_0x289583]of Object[_0x4e3bd0(0xb3)](_0x3fa9d0)){const _0x47e4c6=_0x2932d3[_0x4e3bd0(0xd8)][_0x4e3bd0(0xf0)](_0x33e389);if(!_0x47e4c6)throw new _0x1cff2f(_0x4e3bd0(0x189),null);for(const [_0x3e1cc8,_0x250bc7]of Object[_0x4e3bd0(0xb3)](_0x289583))if(null!==_0x250bc7){const _0xed9321=new _0x2935f9(_0x47e4c6,_0x3e1cc8,null,_0x250bc7,_0xf5882a++);_0x7b4667[_0x4e3bd0(0xca)](_0xed9321);}}return _0x7b4667;}async[_0x1e72fe(0x137)](_0x35b263,_0x4929c1,_0x510356){const _0x5887be=_0x1e72fe;this[_0x5887be(0xa5)]({[_0x35b263]:_0x4929c1},{[_0x35b263]:_0x510356})[_0x5887be(0x13f)]((_0x578a34,_0x5839c3)=>{const _0x39eff7=_0x5887be;_0x578a34[_0x39eff7(0xe2)]=this[_0x39eff7(0x172)][_0x39eff7(0x18f)]+_0x5839c3,_0x578a34[_0x39eff7(0xce)]=!0x0,this[_0x39eff7(0x151)](_0x578a34);}),this[_0x5887be(0xcf)](),await this[_0x5887be(0xfc)]();}async[_0x1e72fe(0xf2)](_0x8e9cde,_0x403b8c){const _0x16a477=_0x1e72fe;let _0x120439;this[_0x16a477(0xf8)]=_0x8e9cde[_0x16a477(0xe5)];const _0x42870c=_0x8e9cde[_0x16a477(0x109)]&&!_0x8e9cde[_0x16a477(0xae)],_0x3d55d6=_0x42870c?0x0:_0x8e9cde[_0x16a477(0xf6)][_0x16a477(0xe2)];if(_0x403b8c[_0x16a477(0x13f)](_0x271985=>{const _0x22bf6b=_0x16a477;_0x271985[_0x22bf6b(0xce)]=!0x0,_0x271985[_0x22bf6b(0x11f)]=_0x8e9cde[_0x22bf6b(0xfb)],_0x271985[_0x22bf6b(0x17d)]=null;}),_0x42870c)_0x120439=_0x403b8c,this[_0x16a477(0x184)](_0x120439,_0x42870c);else{if(_0x8e9cde[_0x16a477(0xae)]){const _0x38c3ff=this[_0x16a477(0xa5)](_0x8e9cde[_0x16a477(0xae)]);this[_0x16a477(0x172)][_0x16a477(0x149)][_0x16a477(0x18f)]=-_0x38c3ff[_0x16a477(0x127)],_0x38c3ff[_0x16a477(0x13f)](_0x31a930=>{const _0x4ccbc9=_0x16a477;_0x31a930[_0x4ccbc9(0xe2)]-=_0x38c3ff[_0x4ccbc9(0x127)],_0x31a930[_0x4ccbc9(0x11f)]=_0x8e9cde[_0x4ccbc9(0xfb)],_0x31a930[_0x4ccbc9(0xce)]=!0x0,_0x31a930[_0x4ccbc9(0x17d)]=null;}),this[_0x16a477(0x184)](_0x38c3ff,!0x0),this[_0x16a477(0xfd)][_0x16a477(0x18f)]=-_0x38c3ff[_0x16a477(0x127)]+this[_0x16a477(0xf8)],this[_0x16a477(0x18c)](_0x38c3ff);}this[_0x16a477(0x172)][_0x16a477(0x149)][_0x16a477(0x18f)]=_0x3d55d6,_0x120439=this[_0x16a477(0x12d)](_0x8e9cde[_0x16a477(0xf6)],_0x8e9cde[_0x16a477(0x171)]),await this[_0x16a477(0x15b)](_0x120439),this[_0x16a477(0x184)](_0x120439,_0x42870c);}_0x8e9cde[_0x16a477(0x12c)]&&(this[_0x16a477(0x104)][_0x16a477(0xb2)](_0x120439,_0x8e9cde[_0x16a477(0x12c)]),this[_0x16a477(0xbd)]=_0x8e9cde[_0x16a477(0x12c)]),this[_0x16a477(0xfd)][_0x16a477(0x18f)]=_0x3d55d6+this[_0x16a477(0xf8)],this[_0x16a477(0x18c)](_0x120439),_0x403b8c[_0x16a477(0xc5)](_0x243717=>{const _0x1b5eba=_0x16a477,_0x38c890=this[_0x1b5eba(0xd7)](_0x243717);return _0x38c890&&!this[_0x1b5eba(0xdb)][_0x1b5eba(0x10a)](_0x38c890);})[_0x16a477(0x13f)]((_0xfd1b54,_0x34cbbd)=>{const _0x5b051b=_0x16a477;_0xfd1b54[_0x5b051b(0xe2)]=this[_0x5b051b(0x172)][_0x5b051b(0x18f)]+_0x34cbbd,this[_0x5b051b(0x151)](_0xfd1b54);}),this[_0x16a477(0xdd)]()?(this[_0x16a477(0x12f)]=0x0,this[_0x16a477(0xcf)](!0x0),await this[_0x16a477(0xfc)]()):(this[_0x16a477(0x165)]=!0x1,this[_0x16a477(0xfe)]());}[_0x1e72fe(0xc2)](_0x31eed3,_0xcbd6c7,_0x2638fb){const _0x25cdd9=_0x1e72fe;throw this[_0x25cdd9(0x165)]=!0x0,_0xcbd6c7&&console[_0x25cdd9(0x16b)](_0xcbd6c7),_0x2638fb&&this[_0x25cdd9(0x197)][_0x25cdd9(0x134)](_0x25cdd9(0x179)),new _0x1cff2f(_0x31eed3,this[_0x25cdd9(0x197)]);}[_0x1e72fe(0x151)](_0x324639){const _0x145f57=_0x1e72fe;this[_0x145f57(0x178)][_0x145f57(0x10a)](_0x324639)||(this[_0x145f57(0x178)][_0x145f57(0x107)](_0x324639),this[_0x145f57(0x199)][_0x145f57(0xca)](_0x324639),this[_0x145f57(0xd5)]||_0x145f57(0x18d)==_0x324639[_0x145f57(0xab)]&&!_0x324639[_0x145f57(0x194)]||this[_0x145f57(0x14e)]());}[_0x1e72fe(0xcf)](_0x3f1c22=!0x1){const _0x443a83=_0x1e72fe;!_0x3f1c22&&this[_0x443a83(0x165)]||(this[_0x443a83(0x165)]=!0x0,clearTimeout(this[_0x443a83(0x114)]),this[_0x443a83(0x114)]=setTimeout(()=>{const _0x208104=_0x443a83;this[_0x208104(0x122)]()[_0x208104(0x17b)](_0x1c8b76=>{const _0x516991=_0x208104;_0x1c8b76&&(this[_0x516991(0xfe)](),this[_0x516991(0x165)]=!0x1);})[_0x208104(0xaa)](_0x3e5758=>{const _0x53ed0f=_0x208104;this[_0x53ed0f(0xfe)](),this[_0x53ed0f(0x165)]=!0x1,function(_0x3cdac9){const _0x2527b6=_0x53ed0f;return _0x3cdac9[_0x2527b6(0x19d)][_0x2527b6(0x159)](_0x2527b6(0x16a))||_0x3cdac9[_0x2527b6(0x19d)][_0x2527b6(0x159)](_0x2527b6(0xfa))||_0x3cdac9[_0x2527b6(0x19d)][_0x2527b6(0x159)](_0x2527b6(0x141));}(_0x3e5758)||this[_0x53ed0f(0xc2)](_0x3e5758[_0x53ed0f(0x19d)],_0x3e5758,!0x0);});},this[_0x443a83(0x12f)]));}[_0x1e72fe(0xfc)](){return new Promise(_0x5f5340=>{const _0x38beab=_0x26e6;this['on'](_0x38beab(0xf7),()=>{_0x5f5340();});});}async[_0x1e72fe(0x122)](){const _0x299be0=_0x1e72fe,_0x14145e=this[_0x299be0(0x197)][_0x299be0(0x148)][_0x299be0(0x130)](_0x554d87);if(this[_0x299be0(0xda)]()&&(_0x14145e[_0x299be0(0x174)](),this[_0x299be0(0x15f)]=!0x1),!this[_0x299be0(0xdd)]())return!0x0;const _0x3d2133=[...this[_0x299be0(0x199)]];for(const _0x195a7b of _0x3d2133)_0x195a7b[_0x299be0(0xc6)]=this[_0x299be0(0x172)][_0x299be0(0x149)][_0x299be0(0x140)](_0x195a7b);const _0x3dcdbf=this[_0x299be0(0x104)][_0x299be0(0x11c)](_0x3d2133),_0x254de5=Z++,_0x5537ed=this[_0x299be0(0x123)](_0x3d2133),_0x71973=await this[_0x299be0(0x160)][_0x299be0(0x116)](_0x5537ed,_0x5537ed[_0x299be0(0xe2)],_0x3dcdbf);try{return await this[_0x299be0(0x111)](_0x3d2133,_0x71973,_0x254de5);}catch(_0x2b97e9){return this[_0x299be0(0xc2)](_0x299be0(0xc3),_0x2b97e9);}}async[_0x1e72fe(0x111)](_0x42a1eb,_0x29b1d3,_0x1f5068){const _0x25cfba=_0x1e72fe;if(_0x25cfba(0x16b)in _0x29b1d3)throw _0x29b1d3[_0x25cfba(0x16b)];let _0x28e336=!0x1;if(_0x29b1d3[_0x25cfba(0x109)]){_0x29b1d3[_0x25cfba(0x12c)]&&(this[_0x25cfba(0xbd)]=_0x29b1d3[_0x25cfba(0x12c)]),this[_0x25cfba(0x199)]=this[_0x25cfba(0x199)][_0x25cfba(0xc5)](_0x1fdc97=>!_0x42a1eb[_0x25cfba(0xe3)](_0x1fdc97));for(const _0x3b2f9b of _0x42a1eb)_0x3b2f9b[_0x25cfba(0x11f)]=_0x25cfba(0xe4)in _0x29b1d3&&_0x29b1d3[_0x25cfba(0xe4)]||void 0x0;it(_0x42a1eb,_0x29b1d3[_0x25cfba(0x18f)]-_0x42a1eb[_0x25cfba(0x127)]),this[_0x25cfba(0x18c)](_0x42a1eb);const _0x1dd209=_0x42a1eb[_0x25cfba(0xc5)](_0x30b1e2=>{const _0x1e761c=_0x25cfba;if(!_0x30b1e2[_0x1e761c(0xce)])return!0x1;const _0x1d5d46=this[_0x1e761c(0xd7)](_0x30b1e2);return _0x1d5d46&&!this[_0x1e761c(0xdb)][_0x1e761c(0x10a)](_0x1d5d46);});it(_0x1dd209,this[_0x25cfba(0x172)][_0x25cfba(0x18f)]),this[_0x25cfba(0x184)](_0x1dd209),_0x28e336=!0x0,this[_0x25cfba(0x12f)]=this[_0x25cfba(0xb5)];}else{const _0x59842e=this[_0x25cfba(0x12d)](_0x29b1d3[_0x25cfba(0xf6)],_0x29b1d3[_0x25cfba(0x171)])[_0x25cfba(0xc5)](_0x52e382=>_0x52e382[_0x25cfba(0xe2)]>=this[_0x25cfba(0xb0)]);_0x59842e[_0x25cfba(0x13f)](_0x187d1f=>this[_0x25cfba(0xee)](_0x187d1f)),this[_0x25cfba(0x199)]=this[_0x25cfba(0x199)][_0x25cfba(0xc5)](_0x5e3875=>!_0x5e3875[_0x25cfba(0xce)]||!this[_0x25cfba(0xdb)][_0x25cfba(0x10a)](this[_0x25cfba(0xd7)](_0x5e3875))),this[_0x25cfba(0x199)][_0x25cfba(0x127)]&&it(this[_0x25cfba(0x199)],this[_0x25cfba(0x199)][0x0][_0x25cfba(0xe2)]),await this[_0x25cfba(0x15b)](_0x59842e),_0x28e336=this[_0x25cfba(0x186)](_0x59842e,_0x29b1d3[_0x25cfba(0x18f)],_0x29b1d3[_0x25cfba(0x12c)]),this[_0x25cfba(0x12f)]=Math[_0x25cfba(0xd0)](this[_0x25cfba(0x12f)]/0x2);}return _0x28e336?!this[_0x25cfba(0xdd)]()||(this[_0x25cfba(0xcf)](!0x0),!0x1):this[_0x25cfba(0xc2)](_0x25cfba(0x19a));}[_0x1e72fe(0x186)](_0x20a3b6,_0x1833c5,_0x9dfcad){const _0x4a8ee6=_0x1e72fe;try{const _0x19ccef={'document':this[_0x4a8ee6(0x172)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5d9fd9,operationsB:_0x27e858,originalOperations:_0x27972e}=_0x1e43ac(_0x20a3b6,this[_0x4a8ee6(0x199)],_0x19ccef);it(_0x5d9fd9,this[_0x4a8ee6(0x172)][_0x4a8ee6(0x18f)]),it(_0x27e858,_0x1833c5);for(const _0xf7cf8a of _0x5d9fd9){const _0x217df3=_0x27972e[_0x4a8ee6(0x130)](_0xf7cf8a);_0xf7cf8a[_0x4a8ee6(0x17d)]=_0x217df3?_0x217df3[_0x4a8ee6(0x17d)]:null;}_0x9dfcad&&(this[_0x4a8ee6(0x104)][_0x4a8ee6(0xb2)](_0x20a3b6,_0x9dfcad),this[_0x4a8ee6(0xbd)]=_0x9dfcad),this[_0x4a8ee6(0x199)]=[..._0x27e858],this[_0x4a8ee6(0x184)](_0x5d9fd9),this[_0x4a8ee6(0x18c)](_0x20a3b6);}catch(_0x21b7bb){return console[_0x4a8ee6(0x16b)](_0x21b7bb),!0x1;}return!0x0;}[_0x1e72fe(0x184)](_0x4664d2,_0xe7fe69=!0x1){const _0x17e474=_0x1e72fe;this[_0x17e474(0x197)][_0x17e474(0x198)][_0x17e474(0xeb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2ba93c=>{const _0x5cc0a5=_0x17e474;for(const _0x252f03 of _0x4664d2)this[_0x5cc0a5(0x178)][_0x5cc0a5(0x107)](_0x252f03),this[_0x5cc0a5(0xee)](_0x252f03),_0x2ba93c[_0x5cc0a5(0xd6)][_0x5cc0a5(0xde)](_0x252f03),this[_0x5cc0a5(0x197)][_0x5cc0a5(0x198)][_0x5cc0a5(0x162)](_0x252f03);});}[_0x1e72fe(0xee)](_0x4a593f){const _0x56630a=_0x1e72fe,_0x592fce=this[_0x56630a(0xd7)](_0x4a593f);_0x592fce&&this[_0x56630a(0xdb)][_0x56630a(0x107)](_0x592fce);}[_0x1e72fe(0xd7)](_0x4f3a57){const _0x1a3146=_0x1e72fe;let _0x131384,_0x4f9ab9;switch(_0x4f3a57[_0x1a3146(0xab)]){case _0x1a3146(0x125):_0x131384=_0x4f3a57[_0x1a3146(0x117)][_0x1a3146(0x15c)];break;case _0x1a3146(0x18d):if(_0x4f9ab9=_0x4f3a57[_0x1a3146(0x19c)],!_0x4f9ab9)return null;_0x131384=_0x4f9ab9[_0x1a3146(0x15c)];break;case _0x1a3146(0xac):_0x131384=_0x4f3a57[_0x1a3146(0x15c)];break;case _0x1a3146(0x18e):_0x131384=_0x4f3a57[_0x1a3146(0xb9)];break;case _0x1a3146(0x152):_0x131384=_0x4f3a57[_0x1a3146(0x176)][_0x1a3146(0x15c)];break;default:return null;}return _0x131384[_0x1a3146(0x108)];}[_0x1e72fe(0x18c)](_0x561f83){const _0xe5448d=_0x1e72fe;_0x561f83[_0xe5448d(0x13f)](_0x55368f=>{const _0x1afdea=_0xe5448d,_0x4f1307=_0x55368f[_0x1afdea(0x182)]();_0x4f1307[_0x1afdea(0x17d)]=_0x55368f[_0x1afdea(0x17d)],_0x4f1307[_0x1afdea(0xce)]=!!_0x55368f[_0x1afdea(0xce)],_0x4f1307[_0x1afdea(0x11f)]=_0x55368f[_0x1afdea(0x11f)],_0x4f1307[_0x1afdea(0xe2)]+=this[_0x1afdea(0xf8)],_0x55368f[_0x1afdea(0xa1)]&&this[_0x1afdea(0xd1)][_0x1afdea(0x107)](_0x4f1307),this[_0x1afdea(0xfd)][_0x1afdea(0xde)](_0x4f1307);});}[_0x1e72fe(0x9f)](_0x3c5869){const _0x4b7b3b=_0x1e72fe,_0x422ce1=this[_0x4b7b3b(0x197)][_0x4b7b3b(0x148)][_0x4b7b3b(0x130)](_0x4b7b3b(0x167)),_0x2f787a=this[_0x4b7b3b(0x197)][_0x4b7b3b(0xb8)];_0x3c5869||(_0x3c5869=_0x37ef97(_0x2f787a,_0x4b7b3b(0x126))),_0x422ce1[_0x4b7b3b(0x1a0)](_0x3c5869,{'title':_0x37ef97(_0x2f787a,_0x4b7b3b(0xa8)),'namespace':_0x4b7b3b(0xff)}),this[_0x4b7b3b(0xa0)]=!0x0,clearTimeout(this[_0x4b7b3b(0x114)]),this[_0x4b7b3b(0x199)]=[],this[_0x4b7b3b(0x197)][_0x4b7b3b(0x148)][_0x4b7b3b(0x130)](_0x2c912a)[_0x4b7b3b(0x195)]();}[_0x1e72fe(0x14e)](){const _0x5c24e2=_0x1e72fe;this[_0x5c24e2(0xd5)]||(this[_0x5c24e2(0xd5)]=this[_0x5c24e2(0x197)][_0x5c24e2(0x148)][_0x5c24e2(0x130)](_0x57d992)[_0x5c24e2(0x107)](_0x37ef97(this[_0x5c24e2(0x197)][_0x5c24e2(0xb8)],_0x5c24e2(0xc7))));}[_0x1e72fe(0xfe)](){const _0x390979=_0x1e72fe;this[_0x390979(0xd5)]&&(this[_0x390979(0x197)][_0x390979(0x148)][_0x390979(0x130)](_0x57d992)[_0x390979(0x181)](this[_0x390979(0xd5)]),this[_0x390979(0xd5)]=null);}[_0x1e72fe(0x123)](_0x4391c3){const _0x4b3110=_0x1e72fe,_0x1c4b2d=_0x4391c3[_0x4b3110(0x135)](_0x25cd96=>_0x25cd96[_0x4b3110(0x173)]());return this[_0x4b3110(0x187)][_0x4b3110(0x132)](_0x1c4b2d);}[_0x1e72fe(0x12d)](_0x2a5a49,_0x80bd9e){const _0xd6036f=_0x1e72fe;return this[_0xd6036f(0x187)][_0xd6036f(0x13b)](_0x2a5a49)[_0xd6036f(0x135)]((_0x15939e,_0x5ab273)=>{const _0x1bad84=_0xd6036f,_0x73518f=_0x1bad84(0xbc)==_0x80bd9e[_0x5ab273][_0x1bad84(0xab)];if(_0x1bad84(0xa2)==_0x15939e[_0x1bad84(0x133)]){const _0x3e7c45=_0x15939e[_0x1bad84(0x117)][_0x1bad84(0x15c)];!this[_0x1bad84(0x172)][_0x1bad84(0xf0)](_0x3e7c45)&&(this[_0x1bad84(0x172)][_0x1bad84(0x10b)](_0x1bad84(0x19f),_0x3e7c45)[_0x1bad84(0x177)]=!0x1);}const _0x58b531=_0x59b229[_0x1bad84(0xd2)](_0x15939e,this[_0x1bad84(0x172)]);return _0x58b531[_0x1bad84(0xc6)]=_0x15939e[_0x1bad84(0xc6)],_0x58b531[_0x1bad84(0xce)]=_0x73518f,_0x58b531[_0x1bad84(0x17d)]=_0x73518f?null:_0x80bd9e[_0x5ab273][_0x1bad84(0x112)],_0x58b531[_0x1bad84(0xa1)]=_0x1bad84(0x18b)===_0x80bd9e[_0x5ab273][_0x1bad84(0xab)],_0x58b531[_0x1bad84(0x11f)]=_0x80bd9e[_0x5ab273][_0x1bad84(0x11f)],_0x58b531;});}[_0x1e72fe(0x11e)](){const _0x591eb6=_0x1e72fe;this[_0x591eb6(0x15f)]=!0x0,this[_0x591eb6(0xda)]()?this[_0x591eb6(0xcf)]():this[_0x591eb6(0x15f)]=!0x1;}[_0x1e72fe(0xda)](){const _0x11c8f0=_0x1e72fe,_0x5a0d6d=this[_0x11c8f0(0x197)][_0x11c8f0(0x148)][_0x11c8f0(0x130)](_0xaf806b)[_0x11c8f0(0x168)][_0x11c8f0(0x130)](this[_0x11c8f0(0x103)]);return!this[_0x11c8f0(0x197)][_0x11c8f0(0x139)]&&!!_0x5a0d6d&&_0x5a0d6d[_0x11c8f0(0x127)]>0x1&&this[_0x11c8f0(0x15f)];}[_0x1e72fe(0xdd)](){const _0x125a34=_0x1e72fe;return this[_0x125a34(0x199)][_0x125a34(0x127)]>0x0||this[_0x125a34(0xda)]();}}l[_0x1e72fe(0x196)]=_0x495554;function _0x4740(){const _0x14e975=['includes','lastOperationAcceptedAt','offset','rtc-offline','selection','return','config','bind','enqueueChange','apply','sessionId','_addKnownRoot','directChange','getRoot','roots','_handleInitialConnectionData','_isConnected','disconnected','keys','data','change:_isPendingUpdate','_offset','_setUpDataInit','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','sessionCreatedAt','_waitUntilSynced','serverHistory','_clearPendingAction','real-time-collaboration','fire','loadRoot','change:_isEditingAllowed','_channelId','_operationIdentifier','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','listenTo','add','rootName','wereChangesApplied','has','createRoot','createPositionFromPath','Permissions','_isLoaded','unregister','connected','_handleServerResponse','userId','attributes','_sendBufferedOperationsDelayId','RealTimeCollaborationClient','sendOperations','position','isDocumentOperation','_initSessionsHandling','404','disconnect','getIdOfTheLastOperation','mySessionId','_refreshUserSelectionMarkers','createdAt','off','1175534EMAJJy','_sendBufferedOperations','_compressOperations','getMany','insert','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.','length','reconnect','lastSyncVersion','5395920QTmzkm','sessionAdd:','lastOperationId','_decompressOperations','end','_currentBufferDelay','get','_handleReceivedOperations','compress','__className','enableReadOnlyMode','map','disableReadOnlyMode','_loadRoot','pluginName','isReadOnly','addUser','decompress','_bufferRootLoad','collaboration','size','forEach','isUndoneOperation','cloud-services-internal-error:\x20Request\x20timeout.','removeFromReconnectionStack','rtc-destroyed','editing','_disconnectService','finally','reconnection:\x20flushed\x20session','plugins','history','isPremiumPlugin','getConnectedSessions','from','realtimecollaborationclient-initservice-incorrect-server-operation','_setPendingAction','85ouevaN','createPositionAt','_saveOperationInBuffer','move','CommentsOnly','string','544219czoEIW','register','code','high','startsWith','differ','_fetchMissingUsers','root','lastDocumentSession','getOperations','_hasSelectionChanged','_service','collaboration.channelId','applyOperation','slice','permissions','_isPendingUpdate','2653742obbquo','Notification','channelSessions','suppressErrorInCollaboration','cloud-services-internal-error:\x20Not\x20connected.','error','_ignoredOperations','parse','setPermissions','realtimecollaborationclient-init-document-already-initialized','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.','metadata','_document','toJSON','createUserMarkerOperations','realtimecollaborationclient-init-session-connection-error','targetPosition','_isAttached','_knownOperations','realtimecollaborationclient-error','connect','then','connection','_authorId','reset','change:range','realtimecollaborationclient-initservice-internal-error','remove','clone','getOperationAuthor','_applyOperationsSet','_handleSendingSelectionMarkers','_handleExternalOperations','_compressor','isEnabled','multi-root-editor-root-attributes-no-root','_connectService','cs:removeUser','_updateServerHistory','marker','addRoot','version','realtimecollaborationclient-init-connection-failed','addToReconnectionStack','start','view','affectsData','destroy','CollaborativeEditingService','editor','model','_bufferedOperations','realtimecollaborationclient-handleserverresponse','stopListening','newRange','message','define','$root','showWarning','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleReconnectionError','_hasSynchronizationProblem','_isDisconnection','InsertOperation','requires','409','_getOperationsFromInitData','state','set','Synchronization\x20issue','1572896KoIxlO','catch','type','addRootAttribute','cloudDocumentVersion','initData','_connectAfterSessionHasBeenFlushed','_lastServerVersion','stop','setIdForTheLastOperation','entries','rootsAttributes','_baseBufferDelay','change:hasDomSelection','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','locale','affectedSelectable','getUser','1394541RByboo','init','_lastSyncedOperationId','ready','isOfficialPlugin','path','cloudServices.bundleVersion','_crash','realtimecollaborationclient-sendbufferedoperations','currentDocumentSession','filter','wasUndone','PENDING_ACTION_SENDING_DATA','getDocumentDetails','markers','push','realtimecollaborationclient-init-non-existent-root','collaboration-missing-channelid','_isEditingAllowed','_isInit','_sendBufferedOperationsDelayed','round','_disconnectionOperations','fromJSON','_operationToId','document:write','_pendingAction','batch','_getAffectedRoot','document','createRange','_shouldSendSelectionUpdate','_knownRootNames','_initThrowingOnDataSet','_shouldSendUpdate','addOperation','operationsReceived','86694QUCWjA','_handleReconnectionResponse','baseVersion'];_0x4740=function(){return _0x14e975;};return _0x4740();}export default l;class tt extends Error{}function it(_0x38f001,_0x13244e){const _0x27a187=_0x1e72fe;for(const _0x58fd7e of _0x38f001)_0x58fd7e[_0x27a187(0xe2)]=_0x13244e++;}class st{constructor(_0x3e8ab3){const _0x493290=_0x1e72fe;this[_0x493290(0x16c)]=_0x3e8ab3,this[_0x493290(0xd3)]=new WeakMap();}[_0x1e72fe(0x11c)](_0x15f849){const _0x32f2e2=_0x1e72fe;let _0x2d261e=_0x15f849[_0x32f2e2(0x127)];for(;_0x2d261e--;){const _0x22c4b5=_0x15f849[_0x2d261e];if(!this[_0x32f2e2(0x16c)][_0x32f2e2(0x10a)](_0x22c4b5)){if(!this[_0x32f2e2(0xd3)][_0x32f2e2(0x10a)](_0x22c4b5)){const _0x5ce919=_0x6c6e1b()[_0x32f2e2(0x163)](0x1,0x12);this[_0x32f2e2(0xd3)][_0x32f2e2(0xa7)](_0x22c4b5,_0x5ce919);}return this[_0x32f2e2(0xd3)][_0x32f2e2(0x130)](_0x22c4b5);}}}[_0x1e72fe(0xb2)](_0x54b18a,_0x176adf){const _0x22c334=_0x1e72fe;if(!_0x176adf)return;let _0x502c5a=_0x54b18a[_0x22c334(0x127)];for(;_0x502c5a--;){const _0x4ed99f=_0x54b18a[_0x502c5a];this[_0x22c334(0x16c)][_0x22c334(0x10a)](_0x4ed99f)||this[_0x22c334(0xd3)][_0x22c334(0xa7)](_0x4ed99f,_0x176adf);}}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/realtimecollaborativeediting/sessions
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b543b=_0x3d8b;(function(_0x84018f,_0x2302af){const _0x3e936f=_0x3d8b,_0x411bd8=_0x84018f();while(!![]){try{const _0x541561=-parseInt(_0x3e936f(0x12c))/0x1+-parseInt(_0x3e936f(0x11e))/0x2+parseInt(_0x3e936f(0x120))/0x3*(parseInt(_0x3e936f(0x123))/0x4)+parseInt(_0x3e936f(0x125))/0x5*(-parseInt(_0x3e936f(0x121))/0x6)+-parseInt(_0x3e936f(0x106))/0x7+parseInt(_0x3e936f(0x105))/0x8+parseInt(_0x3e936f(0x101))/0x9;if(_0x541561===_0x2302af)break;else _0x411bd8['push'](_0x411bd8['shift']());}catch(_0x286e72){_0x411bd8['push'](_0x411bd8['shift']());}}}(_0x519a,0xce8bc));import{ContextPlugin as _0x3a3201}from'ckeditor5/src/core.js';function _0x3d8b(_0x3618a5,_0x190b4b){const _0x519a89=_0x519a();return _0x3d8b=function(_0x3d8bc8,_0x5de590){_0x3d8bc8=_0x3d8bc8-0xf3;let _0x4fbf80=_0x519a89[_0x3d8bc8];return _0x4fbf80;},_0x3d8b(_0x3618a5,_0x190b4b);}import{Collection as _0x9d90e0,CKEditorError as _0x8a43bf}from'ckeditor5/src/utils.js';import _0x3c3d56 from'./websocketgateway.js';function _0x519a(){const _0x7f4e7d=['getUserRole','channelSessions','add','mySessionId','state','isMe','sessions-unregister-not-exist','sessionId','connected','_handleSessionRemove','getUserBySessionId','clear','Sessions','11801754muFhUi','_registeredSessions','unregister','channelConnectedUsers','9068848cIcMxD','5562970CYQceX','context','allConnectedUsers','role','forEach','user','sessionAdd:','_uniqueUsersCount','remove','stopListening','init','get','connection','size','sessions-register-already-registered','_createUser','orderNumber','addUser','listenTo','getUser','assign','_users','getUserSessions','values','1219740aaCRFz','has','965748pRdUJo','762fFfIac','requires','16yvyJxb','isPremiumPlugin','33425dUbaMV','change:state','register','isOfficialPlugin','fire','set','delete','632989cIAewG','pluginName','plugins','defineMe','_handleSessionAdd'];_0x519a=function(){return _0x7f4e7d;};return _0x519a();}import{Users as _0x7d6914}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x3a3201{static get[_0x2b543b(0x12d)](){const _0x4f0ec3=_0x2b543b;return _0x4f0ec3(0x100);}static get[_0x2b543b(0x128)](){return!0x0;}static get[_0x2b543b(0x124)](){return!0x0;}static get[_0x2b543b(0x122)](){return[_0x3c3d56,_0x7d6914];}constructor(_0xee4883){const _0x3c8799=_0x2b543b;super(_0xee4883),this[_0x3c8799(0xf5)]=new Map(),this[_0x3c8799(0x104)]=new Map(),this[_0x3c8799(0x108)]=new _0x9d90e0(),this[_0x3c8799(0x102)]=new Map(),this[_0x3c8799(0x10d)]=0x0,this[_0x3c8799(0x11b)]=this[_0x3c8799(0x107)][_0x3c8799(0x12e)][_0x3c8799(0x111)](_0x7d6914);}[_0x2b543b(0x110)](){const _0x26b2b6=_0x2b543b,_0x2d5d85=this[_0x26b2b6(0x107)][_0x26b2b6(0x12e)][_0x26b2b6(0x111)](_0x3c3d56);this[_0x26b2b6(0x118)](_0x2d5d85,_0x26b2b6(0x126),(_0x24905f,_0x51e8fb,_0x101d9e)=>{const _0x43a745=_0x26b2b6;if(_0x43a745(0xfc)!==_0x101d9e)this[_0x43a745(0xf5)][_0x43a745(0x10a)](_0xfd2094=>_0xfd2094[_0x43a745(0xff)]()),this[_0x43a745(0x104)][_0x43a745(0x10a)](_0x407be5=>_0x407be5[_0x43a745(0xff)]()),this[_0x43a745(0x108)][_0x43a745(0xff)]();else{for(const [_0x3cbabc,_0x26181b]of this[_0x43a745(0x102)])for(const _0x2c9eeb of _0x26181b)this[_0x43a745(0xf3)](_0x3cbabc,_0x2c9eeb);}}),this[_0x26b2b6(0x115)](_0x2d5d85[_0x26b2b6(0x112)]['me'],!0x0);}[_0x2b543b(0x127)](_0x242393,_0x1ce314){const _0x407377=_0x2b543b;if(this[_0x407377(0x102)][_0x407377(0x11f)](_0x242393))throw new _0x8a43bf(_0x407377(0x114),null,{'channelId':_0x242393});this[_0x407377(0x102)][_0x407377(0x12a)](_0x242393,_0x1ce314),this[_0x407377(0xf5)][_0x407377(0x12a)](_0x242393,new _0x9d90e0()),this[_0x407377(0x104)][_0x407377(0x12a)](_0x242393,new _0x9d90e0()),this[_0x407377(0x118)](_0x1ce314,_0x407377(0xf6),(_0x162377,_0x5734e9)=>this[_0x407377(0xf3)](_0x242393,_0x5734e9)),this[_0x407377(0x118)](_0x1ce314,_0x407377(0x10e),(_0xbdf759,_0x4d9d06)=>this[_0x407377(0xfd)](_0x242393,_0x4d9d06));for(const _0x1ad16b of _0x1ce314)this[_0x407377(0xf3)](_0x242393,_0x1ad16b);}[_0x2b543b(0x103)](_0x4c9ef2){const _0x1e282c=_0x2b543b;if(!this[_0x1e282c(0x102)][_0x1e282c(0x11f)](_0x4c9ef2))throw new _0x8a43bf(_0x1e282c(0xfa),null,{'channelId':_0x4c9ef2});const _0xd08ebf=this[_0x1e282c(0x102)][_0x1e282c(0x111)](_0x4c9ef2);this[_0x1e282c(0x10f)](_0xd08ebf);for(const _0x35c52c of _0xd08ebf)_0x1e282c(0xfc)===this[_0x1e282c(0x107)][_0x1e282c(0x12e)][_0x1e282c(0x111)](_0x3c3d56)[_0x1e282c(0xf8)]&&this[_0x1e282c(0xfd)](_0x4c9ef2,_0x35c52c);this[_0x1e282c(0x102)][_0x1e282c(0x12b)](_0x4c9ef2),this[_0x1e282c(0xf5)][_0x1e282c(0x12b)](_0x4c9ef2),this[_0x1e282c(0x104)][_0x1e282c(0x12b)](_0x4c9ef2);}get[_0x2b543b(0xf7)](){const _0x2965b2=_0x2b543b;return this[_0x2965b2(0x107)][_0x2965b2(0x12e)][_0x2965b2(0x111)](_0x3c3d56)[_0x2965b2(0x112)][_0x2965b2(0xfb)];}[_0x2b543b(0xfe)](_0x5ea030){const _0x5623d5=_0x2b543b;for(const _0x1623ad of this[_0x5623d5(0xf5)][_0x5623d5(0x11d)]())for(const _0x5cc707 of _0x1623ad)if(_0x5cc707['id']===_0x5ea030)return _0x5cc707[_0x5623d5(0x10b)];}[_0x2b543b(0x11c)](_0x516438,_0x364072){const _0x32126b=_0x2b543b,_0x17cf66=_0x364072?[this[_0x32126b(0xf5)][_0x32126b(0x111)](_0x364072)]:this[_0x32126b(0xf5)][_0x32126b(0x11d)](),_0x3197c8=new Set();for(const _0x5c9534 of _0x17cf66)for(const _0x1862ba of _0x5c9534)_0x1862ba[_0x32126b(0x10b)]['id']===_0x516438['id']&&_0x3197c8[_0x32126b(0xf6)](_0x1862ba['id']);return _0x3197c8;}[_0x2b543b(0xf4)](_0x381ded){const _0x50a0bb=_0x2b543b;for(const _0x1ba462 of this[_0x50a0bb(0xf5)][_0x50a0bb(0x11d)]())for(const _0x4f71a4 of _0x1ba462)if(_0x4f71a4[_0x50a0bb(0x10b)]===_0x381ded)return _0x4f71a4[_0x50a0bb(0x109)];}[_0x2b543b(0xf3)](_0x1e69f1,_0x22513b){const _0x46c5fd=_0x2b543b;if(_0x46c5fd(0xfc)!==this[_0x46c5fd(0x107)][_0x46c5fd(0x12e)][_0x46c5fd(0x111)](_0x3c3d56)[_0x46c5fd(0xf8)])return;const _0x2aff87=_0x22513b[_0x46c5fd(0x10b)],_0x521438=this[_0x46c5fd(0x11b)][_0x46c5fd(0x119)](_0x2aff87['id'])||this[_0x46c5fd(0x115)](_0x2aff87),_0x50b926=Object[_0x46c5fd(0x11a)]({},_0x22513b,{'user':_0x521438});this[_0x46c5fd(0xf5)][_0x46c5fd(0x111)](_0x1e69f1)[_0x46c5fd(0xf6)](_0x50b926);const _0x31a8b5=this[_0x46c5fd(0x104)][_0x46c5fd(0x111)](_0x1e69f1);_0x31a8b5[_0x46c5fd(0x11f)](_0x521438['id'])||_0x31a8b5[_0x46c5fd(0xf6)](_0x521438),this[_0x46c5fd(0x108)][_0x46c5fd(0x11f)](_0x521438['id'])||this[_0x46c5fd(0x108)][_0x46c5fd(0xf6)](_0x521438,_0x521438[_0x46c5fd(0xf9)]?0x0:void 0x0),this[_0x46c5fd(0x129)](_0x46c5fd(0x10c)+_0x1e69f1,{'channelId':_0x1e69f1,'session':_0x50b926});}[_0x2b543b(0xfd)](_0x13d74e,_0x277619){const _0x5da1c0=_0x2b543b;if(_0x5da1c0(0xfc)!==this[_0x5da1c0(0x107)][_0x5da1c0(0x12e)][_0x5da1c0(0x111)](_0x3c3d56)[_0x5da1c0(0xf8)])return;const _0x209b4a=this[_0x5da1c0(0x104)][_0x5da1c0(0x111)](_0x13d74e),_0x39583a=_0x277619[_0x5da1c0(0x10b)];_0x39583a['id']&&(this[_0x5da1c0(0xf5)][_0x5da1c0(0x111)](_0x13d74e)[_0x5da1c0(0x10e)](_0x277619['id']),_0x209b4a[_0x5da1c0(0x11f)](_0x39583a['id'])&&!this[_0x5da1c0(0x11c)](_0x39583a,_0x13d74e)[_0x5da1c0(0x113)]&&_0x209b4a[_0x5da1c0(0x10e)](_0x39583a['id']),this[_0x5da1c0(0x108)][_0x5da1c0(0x111)](_0x39583a['id'])&&!this[_0x5da1c0(0x11c)](_0x39583a)[_0x5da1c0(0x113)]&&this[_0x5da1c0(0x108)][_0x5da1c0(0x10e)](_0x39583a['id']));}[_0x2b543b(0x115)](_0x192049,_0xf4a4af){const _0x45f14b=_0x2b543b,_0x5c5af9=this[_0x45f14b(0x11b)][_0x45f14b(0x117)](_0x192049);return _0xf4a4af&&this[_0x45f14b(0x11b)][_0x45f14b(0x12f)](_0x192049['id']),_0x5c5af9[_0x45f14b(0x116)]=this[_0x45f14b(0x10d)]++,_0x5c5af9;}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
import { Plugin } from 'ckeditor5/src/core.js';
|
|
6
6
|
import Sessions from './sessions.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4110ab=_0x2ac2;(function(_0x5c2631,_0x410a1d){const _0x3a9085=_0x2ac2,_0x520606=_0x5c2631();while(!![]){try{const _0x5da350=parseInt(_0x3a9085(0xd4))/0x1+parseInt(_0x3a9085(0x9e))/0x2+-parseInt(_0x3a9085(0xad))/0x3*(-parseInt(_0x3a9085(0x99))/0x4)+-parseInt(_0x3a9085(0xe8))/0x5+parseInt(_0x3a9085(0x8c))/0x6+-parseInt(_0x3a9085(0xdb))/0x7*(-parseInt(_0x3a9085(0xda))/0x8)+-parseInt(_0x3a9085(0xcd))/0x9;if(_0x5da350===_0x410a1d)break;else _0x520606['push'](_0x520606['shift']());}catch(_0x36933d){_0x520606['push'](_0x520606['shift']());}}}(_0x317c,0x24cdb));function _0x317c(){const _0x2cfa64=['init','UserMarkers','split','add','orderNumber','1581204gegrEW','_createdBatches','isObject','createUserMarkerOperations','_domEmitter','isPremiumPlugin','enqueueChange','mouseenter','userPositionMarker','user:','contenteditable','Escape','hasContent','3760dpWEOE','getCustomProperty','root','toDomElement','innerHTML','346550EWAchA','$text','getMarkerClass','listenTo','model','set','markerToElement','hasDomSelection','fromRange','change','markerToHighlight','mySessionId','removeMarker','stopListening','setCustomProperty','606iFIvRI','<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>','clear','addEventListener','getRange','get','getPositions','getStart','undo','document','mouseleave','nodeAfter','isLimit','detach','requires','editor','editingDowncast','size','user:range:','oldRange','batch','end','type','checkChild','render','element','applyOperation','getFirstRange','data-session-id','color','conversion','getUserBySessionId','7029081UtzEpd','user:position','classList','ck-user__marker\x20','isInline','isSimilar','startsWith','11940tYRffq','getNearestSelectionRange','start','user:range','highest','markers','13480yAGTqF','1239ZgFVvQ','has','keydown','change:range','markerNameToElements','getAttribute','ck-user__marker_hovered','getContainedElement','isCollapsed','removeClass','user:position:','remove','markerRange','25590ADCEci','commands','schema','isOfficialPlugin','selection','span','afterInit','update:user:range','ck-user__selection','view','createRange','rootName','destroy','markerName','delete','parent','$graveyard','name','plugins','</span>','createUIElement','toRange','newRange','deletionPosition','reconvertMarker','addMarker','getSelectionClass','tableCell','pluginName','editing','updateMarker','mapper','marker','for'];_0x317c=function(){return _0x2cfa64;};return _0x317c();}function _0x2ac2(_0xc560a1,_0x53177a){const _0x317cf6=_0x317c();return _0x2ac2=function(_0x2ac2d5,_0x5431cd){_0x2ac2d5=_0x2ac2d5-0x81;let _0x98a61=_0x317cf6[_0x2ac2d5];return _0x98a61;},_0x2ac2(_0xc560a1,_0x53177a);}import{Plugin as _0x3a490e}from'ckeditor5/src/core.js';import{global as _0x27f0f4,DomEmitterMixin as _0x5956ad}from'ckeditor5/src/utils.js';import _0x53f082 from'./sessions.js';import{LiveRange as _0x47546c}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x3a490e{constructor(){const _0x3244d7=_0x2ac2;super(...arguments),this[_0x3244d7(0x90)]=new(_0x5956ad())();}static get[_0x4110ab(0xbb)](){return[_0x53f082];}static get[_0x4110ab(0x81)](){const _0x5ee0a0=_0x4110ab;return _0x5ee0a0(0x88);}static get[_0x4110ab(0xeb)](){return!0x0;}static get[_0x4110ab(0x91)](){return!0x0;}[_0x4110ab(0x87)](){const _0xe8e63=_0x4110ab,_0x399cdf=this[_0xe8e63(0xbc)],_0x978348=_0x399cdf[_0xe8e63(0xfa)][_0xe8e63(0xb2)](_0x53f082);_0x399cdf[_0xe8e63(0xcb)][_0xe8e63(0x86)](_0xe8e63(0xbd))[_0xe8e63(0xa4)]({'model':_0xe8e63(0xce),'view':(_0x74db1b,{writer:_0x46c089})=>function(_0x50ca1a,_0x12e25b,_0x5738f6,_0x530069){const _0x1cf19d=_0xe8e63,_0xb0cbbe=_0x50ca1a[_0x1cf19d(0xf5)][_0x1cf19d(0x89)](':')[0x2],_0x1141cb=_0x5738f6[_0x1cf19d(0xcc)](_0xb0cbbe);if(!_0x1141cb||_0xb0cbbe===_0x5738f6[_0x1cf19d(0xa9)])return;if(!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)][_0x1cf19d(0xc4)](_0x50ca1a[_0x1cf19d(0xe7)][_0x1cf19d(0xd6)],_0x1cf19d(0x9f)))return;const _0x4f9fc8={'class':_0x1cf19d(0xd0)+_0x1141cb[_0x1cf19d(0xca)][_0x1cf19d(0xa0)](),'data-name':_0x1141cb[_0x1cf19d(0xf9)],'data-session-id':_0xb0cbbe},_0x473f26=_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xd9)][_0x1cf19d(0xb2)](_0x50ca1a[_0x1cf19d(0xf5)]),_0x4d3c36=_0x473f26[_0x1cf19d(0xb4)](),_0x5619ab=_0x4d3c36[_0x1cf19d(0xb8)],_0x291e3c=_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)];if(_0x5619ab&&_0x291e3c[_0x1cf19d(0x8e)](_0x5619ab)&&_0x291e3c[_0x1cf19d(0xd1)](_0x5619ab)&&!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xd9)][_0x1cf19d(0xb2)](_0x1cf19d(0xbf)+_0xb0cbbe)[_0x1cf19d(0xb1)]()[_0x1cf19d(0xe3)])return;const _0x3b3464=_0x4d3c36[_0x1cf19d(0xf7)];return _0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0xea)][_0x1cf19d(0xb9)](_0x3b3464)&&!_0x530069[_0x1cf19d(0xa2)][_0x1cf19d(0x98)](_0x3b3464)&&(_0x4f9fc8[_0x1cf19d(0x96)]=!0x1),function(_0x3003be,_0x3e244b,_0x2e2aa5){const _0x116be0=_0x1cf19d,_0x5881dd=_0x3003be[_0x116be0(0xfc)](_0x116be0(0xed),_0x3e244b);return _0x3003be[_0x116be0(0xac)](_0x116be0(0x94),!0x0,_0x5881dd),_0x5881dd[_0x116be0(0xc5)]=function(_0x301c8b){const _0x6aba03=_0x116be0,_0x2ef0be=this[_0x6aba03(0x9c)](_0x301c8b);return _0x2ef0be[_0x6aba03(0x9d)]=_0x6aba03(0xae)+_0x2e2aa5[_0x6aba03(0xf9)]+_0x6aba03(0xfb),_0x2ef0be[_0x6aba03(0xb0)](_0x6aba03(0x93),()=>{const _0x32ec9b=_0x6aba03;_0x2ef0be[_0x32ec9b(0xcf)][_0x32ec9b(0x8a)](_0x32ec9b(0xe1));}),_0x2ef0be[_0x6aba03(0xb0)](_0x6aba03(0xb7),()=>{const _0x3cee07=_0x6aba03;_0x2ef0be[_0x3cee07(0xcf)][_0x3cee07(0xe6)](_0x3cee07(0xe1));}),_0x2ef0be;},_0x5881dd[_0x116be0(0xd2)]=function(_0x1eef04){const _0x3e718c=_0x116be0;return!(!this[_0x3e718c(0x9a)](_0x3e718c(0x94))||!_0x1eef04[_0x3e718c(0x9a)](_0x3e718c(0x94))||this[_0x3e718c(0xe0)](_0x3e718c(0xc9))!=_0x1eef04[_0x3e718c(0xe0)](_0x3e718c(0xc9)));},_0x5881dd;}(_0x12e25b,_0x4f9fc8,_0x1141cb);}(_0x74db1b,_0x46c089,_0x978348,_0x399cdf)}),_0x399cdf[_0xe8e63(0xcb)][_0xe8e63(0x86)](_0xe8e63(0xbd))[_0xe8e63(0xa8)]({'model':_0xe8e63(0xd7),'view':_0x9fe5b=>function(_0x4750ee,_0x65cba2){const _0x3212e0=_0xe8e63,_0x4a27b5=_0x4750ee[_0x3212e0(0xf5)][_0x3212e0(0x89)](':')[0x2];if(_0x4a27b5===_0x65cba2[_0x3212e0(0xa9)])return null;const _0x58a238=_0x65cba2[_0x3212e0(0xcc)](_0x4a27b5);if(!_0x58a238)return{'id':_0x4a27b5,'classes':[]};return{'id':_0x4a27b5,'classes':[_0x3212e0(0xf0),_0x58a238[_0x3212e0(0xca)][_0x3212e0(0x102)]()],'attributes':{'data-session-id':_0x4a27b5},'priority':0x7d0+_0x58a238[_0x3212e0(0x8b)]};}(_0x9fe5b,_0x978348)}),function(_0x3addf0){const _0x21d6f1=_0xe8e63,_0x48551c=_0x3addf0[_0x21d6f1(0xa2)],_0x475e3f=new Map(),_0x55f40c=_0x3addf0[_0x21d6f1(0xfa)][_0x21d6f1(0xb2)](_0x53f082);_0x48551c[_0x21d6f1(0xd9)]['on'](_0x21d6f1(0xef),(_0x53183a,_0x3099cd,_0x2e875d,_0x424756)=>{const _0x49d693=_0x21d6f1;if(!_0x424756&&_0x475e3f[_0x49d693(0xb2)](_0x3099cd[_0x49d693(0xf9)]))return _0x475e3f[_0x49d693(0xb2)](_0x3099cd[_0x49d693(0xf9)])[_0x49d693(0xba)](),void _0x475e3f[_0x49d693(0xf6)](_0x3099cd[_0x49d693(0xf9)]);const _0x1fc9a9=_0x3099cd[_0x49d693(0xf9)][_0x49d693(0x89)](':')[0x2];if(_0x1fc9a9===_0x55f40c[_0x49d693(0xa9)])return;const _0x5d6306=_0x49d693(0xe5)+_0x1fc9a9;_0x48551c[_0x49d693(0xd9)][_0x49d693(0xdc)](_0x5d6306)&&_0x3addf0[_0x49d693(0x82)][_0x49d693(0x100)](_0x5d6306),_0x3099cd['on'](_0x49d693(0xde),(_0x43aa6,_0x4071d5,_0x53573e)=>{const _0x18679e=_0x49d693;if(_0x18679e(0xf8)!=_0x4071d5[_0x18679e(0x9b)][_0x18679e(0xf3)]&&_0x18679e(0xf8)==_0x3099cd[_0x18679e(0xb1)]()[_0x18679e(0x9b)][_0x18679e(0xf3)]&&!_0x475e3f[_0x18679e(0xdc)](_0x3099cd[_0x18679e(0xf9)])){const _0x2e980e=_0x48551c[_0x18679e(0xea)][_0x18679e(0xd5)](_0x53573e[_0x18679e(0xff)]);if(_0x2e980e){const _0x10cfe0=_0x47546c[_0x18679e(0xa6)](_0x2e980e);_0x475e3f[_0x18679e(0xa3)](_0x3099cd[_0x18679e(0xf9)],_0x10cfe0),_0x10cfe0['on'](_0x18679e(0xde),(_0x19d7bb,_0x533d67,_0x9bca4b)=>{const _0x4182c8=_0x18679e;if(_0x4182c8(0xf8)==_0x10cfe0[_0x4182c8(0x9b)][_0x4182c8(0xf3)]){const _0x4a881f=_0x48551c[_0x4182c8(0xea)][_0x4182c8(0xd5)](_0x9bca4b[_0x4182c8(0xff)]);_0x4a881f?(_0x10cfe0[_0x4182c8(0xd6)]=_0x4a881f[_0x4182c8(0xd6)],_0x10cfe0[_0x4182c8(0xc2)]=_0x4a881f[_0x4182c8(0xc2)]):(_0x475e3f[_0x4182c8(0xf6)](_0x3099cd[_0x4182c8(0xf9)]),_0x10cfe0[_0x4182c8(0xba)]());}});}}});}),_0x48551c[_0x21d6f1(0xb6)]['on'](_0x21d6f1(0xa7),()=>{const _0x108408=_0x21d6f1;_0x475e3f[_0x108408(0xbe)]>0x0&&_0x48551c[_0x108408(0x92)]({'isUndoable':!0x1},_0x2367ae=>{const _0x80fa73=_0x108408;for(const [_0x44d100,_0xe89be9]of _0x475e3f)_0x80fa73(0xf8)==_0x48551c[_0x80fa73(0xd9)][_0x80fa73(0xb2)](_0x44d100)[_0x80fa73(0xb1)]()[_0x80fa73(0x9b)][_0x80fa73(0xf3)]&&(re(_0x44d100[_0x80fa73(0x89)](':')[0x2],_0xe89be9[_0x80fa73(0xfd)](),_0x48551c,_0x2367ae),_0xe89be9[_0x80fa73(0xba)]());_0x475e3f[_0x80fa73(0xaf)]();});});}(_0x399cdf),this[_0xe8e63(0x90)][_0xe8e63(0xa1)](_0x27f0f4[_0xe8e63(0xb6)],_0xe8e63(0xdd),(_0x3c9d3d,{key:_0x10a077})=>{const _0x8e9e1=_0xe8e63;_0x8e9e1(0x97)===_0x10a077&&function(_0x4028c8){const _0x48bbf4=_0x8e9e1;_0x4028c8[_0x48bbf4(0x82)][_0x48bbf4(0xf1)][_0x48bbf4(0xa7)](_0x354342=>{const _0x4f3ff7=_0x48bbf4;for(const _0x569a8b of _0x4028c8[_0x4f3ff7(0xa2)][_0x4f3ff7(0xd9)]){if(!_0x569a8b[_0x4f3ff7(0xf9)][_0x4f3ff7(0xd3)](_0x4f3ff7(0xce)))continue;const _0x330765=_0x4028c8[_0x4f3ff7(0x82)][_0x4f3ff7(0x84)][_0x4f3ff7(0xdf)](_0x569a8b[_0x4f3ff7(0xf9)]);if(_0x330765){for(const _0x58eb43 of _0x330765)_0x354342[_0x4f3ff7(0xe4)](_0x4f3ff7(0xe1),_0x58eb43);}}});}(_0x399cdf);},{'useCapture':!0x0});}[_0x4110ab(0xee)](){const _0x3957ff=_0x4110ab,_0x38f08a=this[_0x3957ff(0xbc)],_0x462ea5=_0x38f08a[_0x3957ff(0xe9)][_0x3957ff(0xb2)](_0x3957ff(0xb5));_0x462ea5&&_0x38f08a[_0x3957ff(0xa2)]['on'](_0x3957ff(0xc7),(_0x2b8dbf,_0x2c5c0c)=>{const _0x2307ae=_0x3957ff,_0x3ce9f8=_0x2c5c0c[0x0];if(_0x2307ae(0x85)!=_0x3ce9f8[_0x2307ae(0xc3)]||!_0x3ce9f8[_0x2307ae(0xf9)][_0x2307ae(0xd3)](_0x2307ae(0x95)))return;const _0x20b263=_0x3ce9f8[_0x2307ae(0xc1)];_0x462ea5[_0x2307ae(0x8d)][_0x2307ae(0xdc)](_0x20b263)&&(_0x3ce9f8[_0x2307ae(0xfe)]=_0x3ce9f8[_0x2307ae(0xc0)]?_0x38f08a[_0x2307ae(0xa2)][_0x2307ae(0xf2)](_0x3ce9f8[_0x2307ae(0xc0)][_0x2307ae(0xd6)],_0x3ce9f8[_0x2307ae(0xc0)][_0x2307ae(0xc2)]):null);},{'priority':_0x3957ff(0xd8)});}[_0x4110ab(0xf4)](){const _0x34a186=_0x4110ab;return this[_0x34a186(0x90)][_0x34a186(0xab)](),super[_0x34a186(0xf4)]();}[_0x4110ab(0x8f)](){const _0x3805a0=_0x4110ab,_0x426419=this[_0x3805a0(0xbc)],_0x48b75d=_0x426419[_0x3805a0(0xa2)][_0x3805a0(0xb6)],_0x7f5c91=_0x426419[_0x3805a0(0xfa)][_0x3805a0(0xb2)](_0x53f082);_0x426419[_0x3805a0(0xa2)][_0x3805a0(0x92)]({'isUndoable':!0x1},_0x53efd1=>{const _0x355c5d=_0x3805a0,_0x56f09d=_0x355c5d(0xbf)+_0x7f5c91[_0x355c5d(0xa9)],_0xc29f48=_0x355c5d(0xe5)+_0x7f5c91[_0x355c5d(0xa9)],_0x5adbd6=_0x426419[_0x355c5d(0xa2)][_0x355c5d(0xd9)][_0x355c5d(0xdc)](_0x56f09d);_0x426419[_0x355c5d(0x82)][_0x355c5d(0xf1)][_0x355c5d(0xa5)]?re(_0x7f5c91[_0x355c5d(0xa9)],_0x48b75d[_0x355c5d(0xec)][_0x355c5d(0xc8)](),_0x426419[_0x355c5d(0xa2)],_0x53efd1):_0x5adbd6&&(_0x53efd1[_0x355c5d(0xaa)](_0x56f09d),_0x53efd1[_0x355c5d(0xaa)](_0xc29f48));});}}function re(_0xb1e54a,_0xb4efe9,_0xd7ec68,_0x4c4de8){const _0x524824=_0x4110ab,_0x43c171=_0x524824(0xbf)+_0xb1e54a,_0x443312=_0x524824(0xe5)+_0xb1e54a,_0x49dcc1=_0xb4efe9[_0x524824(0xe2)]();let _0x26c2db=_0xb4efe9[_0x524824(0xd6)];_0x49dcc1&&_0x49dcc1['is'](_0x524824(0xc6),_0x524824(0x103))&&(_0x26c2db=function(_0x1f36f1,_0x54d5b8){const _0x5d4a34=_0x524824;for(const _0xd41a03 of _0x1f36f1[_0x5d4a34(0xb3)]())if(_0x54d5b8[_0x5d4a34(0xea)][_0x5d4a34(0xc4)](_0xd41a03,_0x5d4a34(0x9f)))return _0xd41a03;}(_0xb4efe9,_0xd7ec68),_0xb4efe9=_0x4c4de8[_0x524824(0xf2)](_0x26c2db));const _0x224f31=_0x4c4de8[_0x524824(0xf2)](_0x26c2db);_0xd7ec68[_0x524824(0xd9)][_0x524824(0xdc)](_0x43c171)?(_0x4c4de8[_0x524824(0x83)](_0x43c171,{'range':_0xb4efe9}),_0x4c4de8[_0x524824(0x83)](_0x443312,{'range':_0x224f31})):(_0x4c4de8[_0x524824(0x101)](_0x43c171,{'range':_0xb4efe9,'usingOperation':!0x0}),_0x4c4de8[_0x524824(0x101)](_0x443312,{'range':_0x224f31,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x24cf14=_0x250b;(function(_0xc42a7c,_0x537ce8){const _0x142353=_0x250b,_0x4bd254=_0xc42a7c();while(!![]){try{const _0x5564b8=parseInt(_0x142353(0x118))/0x1+-parseInt(_0x142353(0x15c))/0x2+parseInt(_0x142353(0x112))/0x3*(-parseInt(_0x142353(0x12b))/0x4)+parseInt(_0x142353(0x16f))/0x5*(parseInt(_0x142353(0x10a))/0x6)+parseInt(_0x142353(0x180))/0x7+parseInt(_0x142353(0x14d))/0x8*(parseInt(_0x142353(0xff))/0x9)+-parseInt(_0x142353(0x104))/0xa;if(_0x5564b8===_0x537ce8)break;else _0x4bd254['push'](_0x4bd254['shift']());}catch(_0x1697d2){_0x4bd254['push'](_0x4bd254['shift']());}}}(_0x31dc,0x424c4));import{Plugin as _0x4e5f38}from'ckeditor5/src/core.js';import{global as _0x184173,DomEmitterMixin as _0x38e069}from'ckeditor5/src/utils.js';function _0x31dc(){const _0x12a87d=['markers','333437bURtDC','getUserBySessionId','highest','user:position','requires','$graveyard','user:','element','set','mouseenter','render','markerName','reconvertMarker','toDomElement','mySessionId','contenteditable','startsWith','init','end','84HloCzC','start','mouseleave','hasContent','isLimit','destroy','afterInit','isPremiumPlugin','size','hasDomSelection','userPositionMarker','editingDowncast','markerRange','ck-user__marker_hovered','type','editing','isInline','editor','delete','getAttribute','oldRange','getMarkerClass','commands','getContainedElement','Escape','$text','getRange','</span>','span','applyOperation','marker','undo','toRange','enqueueChange','8168jIKXPw','remove','parent','_createdBatches','change:range','clear','split','createUserMarkerOperations','updateMarker','removeClass','createRange','getStart','getPositions','ck-user__selection','newRange','61912oiQudG','color','isSimilar','removeMarker','user:range:','isCollapsed','listenTo','selection','user:range','nodeAfter','change','batch','user:position:','detach','markerToHighlight','data-session-id','setCustomProperty','innerHTML','tableCell','5BMssAp','view','UserMarkers','document','addEventListener','for','markerNameToElements','markerToElement','deletionPosition','conversion','isOfficialPlugin','getCustomProperty','_domEmitter','getSelectionClass','addMarker','checkChild','getFirstRange','2676996XvyotE','isObject','model','3978YsGWdr','fromRange','get','plugins','add','6932010zrzXwB','schema','pluginName','<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>','orderNumber','getNearestSelectionRange','1702698fNHeTT','rootName','createUIElement','keydown','stopListening','update:user:range','root','classList','65031uzCYbB','name','ck-user__marker\x20','mapper','has'];_0x31dc=function(){return _0x12a87d;};return _0x31dc();}import _0x46ebe8 from'./sessions.js';function _0x250b(_0x267288,_0x45ef8d){const _0x31dc5b=_0x31dc();return _0x250b=function(_0x250b92,_0x36f682){_0x250b92=_0x250b92-0xfe;let _0x10ca76=_0x31dc5b[_0x250b92];return _0x10ca76;},_0x250b(_0x267288,_0x45ef8d);}import{LiveRange as _0x32c366}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class J extends _0x4e5f38{constructor(){const _0x321575=_0x250b;super(...arguments),this[_0x321575(0x17b)]=new(_0x38e069())();}static get[_0x24cf14(0x11c)](){return[_0x46ebe8];}static get[_0x24cf14(0x106)](){const _0x53ef7a=_0x24cf14;return _0x53ef7a(0x171);}static get[_0x24cf14(0x179)](){return!0x0;}static get[_0x24cf14(0x132)](){return!0x0;}[_0x24cf14(0x129)](){const _0xae8cc5=_0x24cf14,_0x9006c0=this[_0xae8cc5(0x13c)],_0x4e8ec6=_0x9006c0[_0xae8cc5(0x102)][_0xae8cc5(0x101)](_0x46ebe8);_0x9006c0[_0xae8cc5(0x178)][_0xae8cc5(0x174)](_0xae8cc5(0x136))[_0xae8cc5(0x176)]({'model':_0xae8cc5(0x11b),'view':(_0x5e96af,{writer:_0x42e3df})=>function(_0xada7f6,_0x49f649,_0x37359a,_0x19c242){const _0x3f2f8b=_0xae8cc5,_0x2e9dad=_0xada7f6[_0x3f2f8b(0x123)][_0x3f2f8b(0x153)](':')[0x2],_0x11702c=_0x37359a[_0x3f2f8b(0x119)](_0x2e9dad);if(!_0x11702c||_0x2e9dad===_0x37359a[_0x3f2f8b(0x126)])return;if(!_0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x105)][_0x3f2f8b(0x17e)](_0xada7f6[_0x3f2f8b(0x137)][_0x3f2f8b(0x12c)],_0x3f2f8b(0x144)))return;const _0x45d739={'class':_0x3f2f8b(0x114)+_0x11702c[_0x3f2f8b(0x15d)][_0x3f2f8b(0x140)](),'data-name':_0x11702c[_0x3f2f8b(0x113)],'data-session-id':_0x2e9dad},_0x399a9c=_0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x117)][_0x3f2f8b(0x101)](_0xada7f6[_0x3f2f8b(0x123)]),_0x538e04=_0x399a9c[_0x3f2f8b(0x158)](),_0x5c3608=_0x538e04[_0x3f2f8b(0x165)],_0x2e0ea3=_0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x105)];if(_0x5c3608&&_0x2e0ea3[_0x3f2f8b(0x181)](_0x5c3608)&&_0x2e0ea3[_0x3f2f8b(0x13b)](_0x5c3608)&&!_0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x117)][_0x3f2f8b(0x101)](_0x3f2f8b(0x160)+_0x2e9dad)[_0x3f2f8b(0x145)]()[_0x3f2f8b(0x161)])return;const _0x1bab18=_0x538e04[_0x3f2f8b(0x14f)];return _0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x105)][_0x3f2f8b(0x12f)](_0x1bab18)&&!_0x19c242[_0x3f2f8b(0xfe)][_0x3f2f8b(0x12e)](_0x1bab18)&&(_0x45d739[_0x3f2f8b(0x127)]=!0x1),function(_0x5f2d3b,_0x28a8e7,_0x39f2fb){const _0x5b6c4d=_0x3f2f8b,_0x23a5f7=_0x5f2d3b[_0x5b6c4d(0x10c)](_0x5b6c4d(0x147),_0x28a8e7);return _0x5f2d3b[_0x5b6c4d(0x16c)](_0x5b6c4d(0x135),!0x0,_0x23a5f7),_0x23a5f7[_0x5b6c4d(0x122)]=function(_0x45f0c4){const _0x16fad1=_0x5b6c4d,_0x4f8cd4=this[_0x16fad1(0x125)](_0x45f0c4);return _0x4f8cd4[_0x16fad1(0x16d)]=_0x16fad1(0x107)+_0x39f2fb[_0x16fad1(0x113)]+_0x16fad1(0x146),_0x4f8cd4[_0x16fad1(0x173)](_0x16fad1(0x121),()=>{const _0x38f827=_0x16fad1;_0x4f8cd4[_0x38f827(0x111)][_0x38f827(0x103)](_0x38f827(0x138));}),_0x4f8cd4[_0x16fad1(0x173)](_0x16fad1(0x12d),()=>{const _0x4228c0=_0x16fad1;_0x4f8cd4[_0x4228c0(0x111)][_0x4228c0(0x14e)](_0x4228c0(0x138));}),_0x4f8cd4;},_0x23a5f7[_0x5b6c4d(0x15e)]=function(_0x530d1c){const _0x176ec2=_0x5b6c4d;return!(!this[_0x176ec2(0x17a)](_0x176ec2(0x135))||!_0x530d1c[_0x176ec2(0x17a)](_0x176ec2(0x135))||this[_0x176ec2(0x13e)](_0x176ec2(0x16b))!=_0x530d1c[_0x176ec2(0x13e)](_0x176ec2(0x16b)));},_0x23a5f7;}(_0x49f649,_0x45d739,_0x11702c);}(_0x5e96af,_0x42e3df,_0x4e8ec6,_0x9006c0)}),_0x9006c0[_0xae8cc5(0x178)][_0xae8cc5(0x174)](_0xae8cc5(0x136))[_0xae8cc5(0x16a)]({'model':_0xae8cc5(0x164),'view':_0x317ee=>function(_0x51f03a,_0x3a2fbd){const _0x10a9cb=_0xae8cc5,_0x2f5389=_0x51f03a[_0x10a9cb(0x123)][_0x10a9cb(0x153)](':')[0x2];if(_0x2f5389===_0x3a2fbd[_0x10a9cb(0x126)])return null;const _0x2a6c05=_0x3a2fbd[_0x10a9cb(0x119)](_0x2f5389);if(!_0x2a6c05)return{'id':_0x2f5389,'classes':[]};return{'id':_0x2f5389,'classes':[_0x10a9cb(0x15a),_0x2a6c05[_0x10a9cb(0x15d)][_0x10a9cb(0x17c)]()],'attributes':{'data-session-id':_0x2f5389},'priority':0x7d0+_0x2a6c05[_0x10a9cb(0x108)]};}(_0x317ee,_0x4e8ec6)}),function(_0x3ea787){const _0x22fd05=_0xae8cc5,_0x329de6=_0x3ea787[_0x22fd05(0xfe)],_0x1b0768=new Map(),_0x1c07fd=_0x3ea787[_0x22fd05(0x102)][_0x22fd05(0x101)](_0x46ebe8);_0x329de6[_0x22fd05(0x117)]['on'](_0x22fd05(0x10f),(_0x5d89b2,_0x373e80,_0x8efde7,_0xd93685)=>{const _0x4f28ff=_0x22fd05;if(!_0xd93685&&_0x1b0768[_0x4f28ff(0x101)](_0x373e80[_0x4f28ff(0x113)]))return _0x1b0768[_0x4f28ff(0x101)](_0x373e80[_0x4f28ff(0x113)])[_0x4f28ff(0x169)](),void _0x1b0768[_0x4f28ff(0x13d)](_0x373e80[_0x4f28ff(0x113)]);const _0x1d156b=_0x373e80[_0x4f28ff(0x113)][_0x4f28ff(0x153)](':')[0x2];if(_0x1d156b===_0x1c07fd[_0x4f28ff(0x126)])return;const _0x3aab6e=_0x4f28ff(0x168)+_0x1d156b;_0x329de6[_0x4f28ff(0x117)][_0x4f28ff(0x116)](_0x3aab6e)&&_0x3ea787[_0x4f28ff(0x13a)][_0x4f28ff(0x124)](_0x3aab6e),_0x373e80['on'](_0x4f28ff(0x151),(_0x37e4f2,_0x5d6f1c,_0x1c0ab2)=>{const _0x361362=_0x4f28ff;if(_0x361362(0x11d)!=_0x5d6f1c[_0x361362(0x110)][_0x361362(0x10b)]&&_0x361362(0x11d)==_0x373e80[_0x361362(0x145)]()[_0x361362(0x110)][_0x361362(0x10b)]&&!_0x1b0768[_0x361362(0x116)](_0x373e80[_0x361362(0x113)])){const _0x3e6ad5=_0x329de6[_0x361362(0x105)][_0x361362(0x109)](_0x1c0ab2[_0x361362(0x177)]);if(_0x3e6ad5){const _0xf9ee5b=_0x32c366[_0x361362(0x100)](_0x3e6ad5);_0x1b0768[_0x361362(0x120)](_0x373e80[_0x361362(0x113)],_0xf9ee5b),_0xf9ee5b['on'](_0x361362(0x151),(_0x5254fe,_0x2b34f6,_0x16a039)=>{const _0x455055=_0x361362;if(_0x455055(0x11d)==_0xf9ee5b[_0x455055(0x110)][_0x455055(0x10b)]){const _0x2ff58e=_0x329de6[_0x455055(0x105)][_0x455055(0x109)](_0x16a039[_0x455055(0x177)]);_0x2ff58e?(_0xf9ee5b[_0x455055(0x12c)]=_0x2ff58e[_0x455055(0x12c)],_0xf9ee5b[_0x455055(0x12a)]=_0x2ff58e[_0x455055(0x12a)]):(_0x1b0768[_0x455055(0x13d)](_0x373e80[_0x455055(0x113)]),_0xf9ee5b[_0x455055(0x169)]());}});}}});}),_0x329de6[_0x22fd05(0x172)]['on'](_0x22fd05(0x166),()=>{const _0x4aa39c=_0x22fd05;_0x1b0768[_0x4aa39c(0x133)]>0x0&&_0x329de6[_0x4aa39c(0x14c)]({'isUndoable':!0x1},_0xadc9c7=>{const _0x3817df=_0x4aa39c;for(const [_0x4ebecd,_0x419513]of _0x1b0768)_0x3817df(0x11d)==_0x329de6[_0x3817df(0x117)][_0x3817df(0x101)](_0x4ebecd)[_0x3817df(0x145)]()[_0x3817df(0x110)][_0x3817df(0x10b)]&&(te(_0x4ebecd[_0x3817df(0x153)](':')[0x2],_0x419513[_0x3817df(0x14b)](),_0x329de6,_0xadc9c7),_0x419513[_0x3817df(0x169)]());_0x1b0768[_0x3817df(0x152)]();});});}(_0x9006c0),this[_0xae8cc5(0x17b)][_0xae8cc5(0x162)](_0x184173[_0xae8cc5(0x172)],_0xae8cc5(0x10d),(_0x53d7a0,{key:_0x18e5df})=>{const _0x2c2aa9=_0xae8cc5;_0x2c2aa9(0x143)===_0x18e5df&&function(_0x6d562){const _0xfd56b1=_0x2c2aa9;_0x6d562[_0xfd56b1(0x13a)][_0xfd56b1(0x170)][_0xfd56b1(0x166)](_0x3b8758=>{const _0x43eba3=_0xfd56b1;for(const _0x2cf54d of _0x6d562[_0x43eba3(0xfe)][_0x43eba3(0x117)]){if(!_0x2cf54d[_0x43eba3(0x113)][_0x43eba3(0x128)](_0x43eba3(0x11b)))continue;const _0xcdc2a1=_0x6d562[_0x43eba3(0x13a)][_0x43eba3(0x115)][_0x43eba3(0x175)](_0x2cf54d[_0x43eba3(0x113)]);if(_0xcdc2a1){for(const _0x27417c of _0xcdc2a1)_0x3b8758[_0x43eba3(0x156)](_0x43eba3(0x138),_0x27417c);}}});}(_0x9006c0);},{'useCapture':!0x0});}[_0x24cf14(0x131)](){const _0x11428f=_0x24cf14,_0x3ed8f0=this[_0x11428f(0x13c)],_0x5144b9=_0x3ed8f0[_0x11428f(0x141)][_0x11428f(0x101)](_0x11428f(0x14a));_0x5144b9&&_0x3ed8f0[_0x11428f(0xfe)]['on'](_0x11428f(0x148),(_0x88dd25,_0x530758)=>{const _0x1d36ca=_0x11428f,_0x4395f4=_0x530758[0x0];if(_0x1d36ca(0x149)!=_0x4395f4[_0x1d36ca(0x139)]||!_0x4395f4[_0x1d36ca(0x113)][_0x1d36ca(0x128)](_0x1d36ca(0x11e)))return;const _0x15718a=_0x4395f4[_0x1d36ca(0x167)];_0x5144b9[_0x1d36ca(0x150)][_0x1d36ca(0x116)](_0x15718a)&&(_0x4395f4[_0x1d36ca(0x15b)]=_0x4395f4[_0x1d36ca(0x13f)]?_0x3ed8f0[_0x1d36ca(0xfe)][_0x1d36ca(0x157)](_0x4395f4[_0x1d36ca(0x13f)][_0x1d36ca(0x12c)],_0x4395f4[_0x1d36ca(0x13f)][_0x1d36ca(0x12a)]):null);},{'priority':_0x11428f(0x11a)});}[_0x24cf14(0x130)](){const _0x418b3e=_0x24cf14;return this[_0x418b3e(0x17b)][_0x418b3e(0x10e)](),super[_0x418b3e(0x130)]();}[_0x24cf14(0x154)](){const _0x591e36=_0x24cf14,_0x5d414e=this[_0x591e36(0x13c)],_0x4b7bc7=_0x5d414e[_0x591e36(0xfe)][_0x591e36(0x172)],_0x24d2aa=_0x5d414e[_0x591e36(0x102)][_0x591e36(0x101)](_0x46ebe8);_0x5d414e[_0x591e36(0xfe)][_0x591e36(0x14c)]({'isUndoable':!0x1},_0x299496=>{const _0x49d885=_0x591e36,_0x2dcaac=_0x49d885(0x160)+_0x24d2aa[_0x49d885(0x126)],_0x272a60=_0x49d885(0x168)+_0x24d2aa[_0x49d885(0x126)],_0x248ad8=_0x5d414e[_0x49d885(0xfe)][_0x49d885(0x117)][_0x49d885(0x116)](_0x2dcaac);_0x5d414e[_0x49d885(0x13a)][_0x49d885(0x170)][_0x49d885(0x134)]?te(_0x24d2aa[_0x49d885(0x126)],_0x4b7bc7[_0x49d885(0x163)][_0x49d885(0x17f)](),_0x5d414e[_0x49d885(0xfe)],_0x299496):_0x248ad8&&(_0x299496[_0x49d885(0x15f)](_0x2dcaac),_0x299496[_0x49d885(0x15f)](_0x272a60));});}}function te(_0x13945f,_0x18062e,_0x44c731,_0x40da9e){const _0x7578bf=_0x24cf14,_0x1c94d0=_0x7578bf(0x160)+_0x13945f,_0x372828=_0x7578bf(0x168)+_0x13945f,_0x28c537=_0x18062e[_0x7578bf(0x142)]();let _0x1d24a9=_0x18062e[_0x7578bf(0x12c)];_0x28c537&&_0x28c537['is'](_0x7578bf(0x11f),_0x7578bf(0x16e))&&(_0x1d24a9=function(_0x4dc99d,_0x447047){const _0x260490=_0x7578bf;for(const _0x2057bb of _0x4dc99d[_0x260490(0x159)]())if(_0x447047[_0x260490(0x105)][_0x260490(0x17e)](_0x2057bb,_0x260490(0x144)))return _0x2057bb;}(_0x18062e,_0x44c731),_0x18062e=_0x40da9e[_0x7578bf(0x157)](_0x1d24a9));const _0x4977a4=_0x40da9e[_0x7578bf(0x157)](_0x1d24a9);_0x44c731[_0x7578bf(0x117)][_0x7578bf(0x116)](_0x1c94d0)?(_0x40da9e[_0x7578bf(0x155)](_0x1c94d0,{'range':_0x18062e}),_0x40da9e[_0x7578bf(0x155)](_0x372828,{'range':_0x4977a4})):(_0x40da9e[_0x7578bf(0x17d)](_0x1c94d0,{'range':_0x18062e,'usingOperation':!0x0}),_0x40da9e[_0x7578bf(0x17d)](_0x372828,{'range':_0x4977a4,'usingOperation':!0x0}));}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/realtimecollaborativeediting/websocketgateway
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x151a07=_0x579d;(function(_0x56ef24,_0x464443){const _0x4f4f15=_0x579d,_0x5a5c8b=_0x56ef24();while(!![]){try{const _0x2a0c49=-parseInt(_0x4f4f15(0xd1))/0x1+-parseInt(_0x4f4f15(0xd5))/0x2*(parseInt(_0x4f4f15(0xe9))/0x3)+-parseInt(_0x4f4f15(0xde))/0x4+parseInt(_0x4f4f15(0x102))/0x5+parseInt(_0x4f4f15(0xc7))/0x6+parseInt(_0x4f4f15(0x109))/0x7*(parseInt(_0x4f4f15(0xdc))/0x8)+parseInt(_0x4f4f15(0xd9))/0x9;if(_0x2a0c49===_0x464443)break;else _0x5a5c8b['push'](_0x5a5c8b['shift']());}catch(_0x46b42d){_0x5a5c8b['push'](_0x5a5c8b['shift']());}}}(_0x37ff,0xf2911));import{ContextPlugin as _0x177b67}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x4a8447,CKEditorError as _0x3526c0}from'ckeditor5/src/utils.js';function _0x37ff(){const _0x56cb84=['disconnect','DISCONNECTED','webSocketUrl','initialReconnectionInterval','showWarning','change:me','addToReconnectionStack','CloudServices','cloudServices.requestTimeout','8002655MIUUyU','WebSocketGateway','init','cloudservices-reconnection-error','config','Connected\x20users\x20limit\x20exceeded','isOfficialPlugin','8057PIbbgQ','cloudservices-init','token','_shouldPluginsReconnect','websocketgateway-plugin-already-registered','constructor','websocketgateway-invalid-plugin-interface','limitExceeded','5880618ZgEnvI','connected','has','set','_reconnect','isInReconnectionStack','isPremiumPlugin','catch','create','destroy','414261nOfZGj','bind','from','removeFromReconnectionStack','30WrPPgl','_reconnectionStack','connection','listenTo','32427KGhytl','stopListening','define','6032BvWWEL','real-time-collaboration','933308NMBUUt','CONNECTING','all','_domEmitter','context','then','requires','function','connect','state','cloudServices.connectionTimeout','362190rFeHiq','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.','add','online','_isBrowserOffline','code','CONNECTED','error','offline','plugins','websocketgateway-missing-websocket-url','get','pluginName','reconnect','delete','websocketgateway-missing-token'];_0x37ff=function(){return _0x56cb84;};return _0x37ff();}import{WebSocketGateway as _0x3d677a,WEB_SOCKET_GATEWAY_STATES as _0x23f8d6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x29dcda}from'ckeditor5/src/ui.js';function _0x579d(_0x430d5e,_0x1bcb70){const _0x37ff9d=_0x37ff();return _0x579d=function(_0x579df2,_0x4b0425){_0x579df2=_0x579df2-0xc4;let _0x42cd00=_0x37ff9d[_0x579df2];return _0x42cd00;},_0x579d(_0x430d5e,_0x1bcb70);}class c extends _0x177b67{static get[_0x151a07(0xe4)](){const _0x568f4e=_0x151a07;return[_0x568f4e(0x100),_0x29dcda];}static get[_0x151a07(0xf5)](){const _0x98540d=_0x151a07;return _0x98540d(0x103);}static get[_0x151a07(0x108)](){return!0x0;}static get[_0x151a07(0xcd)](){return!0x0;}constructor(_0x5a403a){const _0x584530=_0x151a07;super(_0x5a403a),this[_0x584530(0xca)](_0x584530(0xe7),_0x23f8d6[_0x584530(0xef)]),this[_0x584530(0xca)](_0x584530(0xed),!0x1),this[_0x584530(0xd6)]=new Set(),this[_0x584530(0x10c)]=!0x1,this[_0x584530(0xe1)]=Object[_0x584530(0xcf)](_0x4a8447);}[_0x151a07(0x104)](){const _0x135312=_0x151a07,_0x4b1268=this[_0x135312(0xe2)],_0x43d1f3=_0x4b1268[_0x135312(0xf2)][_0x135312(0xf4)](_0x135312(0x100)),_0x5f321e=_0x4b1268[_0x135312(0xf2)][_0x135312(0xf4)](_0x29dcda);if(!_0x43d1f3[_0x135312(0x10b)])throw new _0x3526c0(_0x135312(0xf8),this);if(!_0x43d1f3[_0x135312(0xfb)])throw new _0x3526c0(_0x135312(0xf3),this);return this[_0x135312(0xe1)][_0x135312(0xd8)](window,_0x135312(0xf1),()=>this[_0x135312(0xed)]=!0x0),this[_0x135312(0xe1)][_0x135312(0xd8)](window,_0x135312(0xec),()=>this[_0x135312(0xed)]=!0x1),this[_0x135312(0xe2)][_0x135312(0x106)][_0x135312(0xdb)](_0x135312(0xe8),0xa),this[_0x135312(0xe2)][_0x135312(0x106)][_0x135312(0xdb)](_0x135312(0x101),0x14),c[_0x135312(0x103)][_0x135312(0xe6)](_0x43d1f3[_0x135312(0x10b)],_0x43d1f3[_0x135312(0xfb)],{'timeout':0x3e8*this[_0x135312(0xe2)][_0x135312(0x106)][_0x135312(0xf4)](_0x135312(0xe8)),'requestTimeout':0x3e8*this[_0x135312(0xe2)][_0x135312(0x106)][_0x135312(0xf4)](_0x135312(0x101))})[_0x135312(0xe3)](_0x249d99=>{const _0x46e259=_0x135312;if(this[_0x46e259(0xd7)]=_0x249d99,this[_0x46e259(0xd2)](_0x46e259(0xe7))['to'](_0x249d99,_0x46e259(0xe7),this,_0x46e259(0xed),(_0xebaa55,_0x175b92)=>(_0x46e259(0xc8)!==_0xebaa55&&(this[_0x46e259(0x10c)]=!0x0),_0x175b92||_0xebaa55!==_0x23f8d6[_0x46e259(0xef)]?_0x23f8d6[_0x46e259(0xfa)]:this[_0x46e259(0xe7)]==_0x23f8d6[_0x46e259(0xfa)]&&this[_0x46e259(0x10c)]?(this[_0x46e259(0x10c)]=!0x1,this[_0x46e259(0xcb)](),_0x23f8d6[_0x46e259(0xdf)]):_0x23f8d6[_0x46e259(0xef)])),this[_0x46e259(0xd7)]['on'](_0x46e259(0xf0),(_0x1e37f3,_0x2bbfb9)=>{const _0x17a52e=_0x46e259;if(_0x17a52e(0xc6)!==_0x2bbfb9[_0x17a52e(0xee)])throw console[_0x17a52e(0xf0)](_0x2bbfb9),new _0x3526c0(_0x17a52e(0x10a),null,{'originalError':_0x2bbfb9});_0x5f321e[_0x17a52e(0xfd)](_0x17a52e(0xea),{'title':_0x17a52e(0x107),'namespace':_0x17a52e(0xdd)});}),!_0x249d99['me'])return new Promise(_0x39cc18=>_0x249d99['on'](_0x46e259(0xfe),_0x39cc18));})[_0x135312(0xce)](_0x552a32=>{const _0x1324e4=_0x135312;throw console[_0x1324e4(0xf0)](_0x552a32),new _0x3526c0(_0x1324e4(0x10a),null,{'originalError':_0x552a32});});}[_0x151a07(0xff)](_0x12bfbb){const _0x214a4b=_0x151a07;if(_0x214a4b(0xe5)!=typeof _0x12bfbb[_0x214a4b(0xf6)])throw new _0x3526c0(_0x214a4b(0xc5),this);if(this[_0x214a4b(0xcc)](_0x12bfbb))throw new _0x3526c0(_0x214a4b(0x10d),this,{'name':_0x12bfbb[_0x214a4b(0xc4)][_0x214a4b(0xf5)]});this[_0x214a4b(0xd6)][_0x214a4b(0xeb)](_0x12bfbb);}[_0x151a07(0xd4)](_0x30fc14){const _0x33104a=_0x151a07;this[_0x33104a(0xd6)][_0x33104a(0xf7)](_0x30fc14);}[_0x151a07(0xcc)](_0x5472b2){const _0x2ee8a5=_0x151a07;return this[_0x2ee8a5(0xd6)][_0x2ee8a5(0xc9)](_0x5472b2);}[_0x151a07(0xcb)](){const _0xeff234=_0x151a07;return this[_0xeff234(0xd7)][_0xeff234(0xf6)]()[_0xeff234(0xe3)](()=>Promise[_0xeff234(0xe0)](Array[_0xeff234(0xd3)](this[_0xeff234(0xd6)],_0x1c87ff=>_0x1c87ff[_0xeff234(0xf6)]())))[_0xeff234(0xe3)](()=>this[_0xeff234(0xe7)]=_0x23f8d6[_0xeff234(0xef)])[_0xeff234(0xce)](_0x2cccdb=>{const _0x479f65=_0xeff234;throw console[_0x479f65(0xf0)](_0x2cccdb),new _0x3526c0(_0x479f65(0x105),this[_0x479f65(0xe2)]);});}[_0x151a07(0xd0)](){const _0x219599=_0x151a07;this[_0x219599(0xd7)]&&this[_0x219599(0xd7)][_0x219599(0xf9)](),this[_0x219599(0xe7)]=_0x23f8d6[_0x219599(0xfa)],this[_0x219599(0xe1)][_0x219599(0xda)](),super[_0x219599(0xd0)]();}}c[_0x151a07(0x103)]=_0x3d677a,c[_0x151a07(0xfc)]=0x3e8;export default c;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/realtimecollaborativeediting
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x505737=_0x5a36;(function(_0xa8cb68,_0x3b3be9){var _0x1a6706=_0x5a36,_0x1edfb1=_0xa8cb68();while(!![]){try{var _0x485ab5=-parseInt(_0x1a6706(0x19f))/0x1*(parseInt(_0x1a6706(0x1a6))/0x2)+parseInt(_0x1a6706(0x1a3))/0x3+parseInt(_0x1a6706(0x19a))/0x4+-parseInt(_0x1a6706(0x1a7))/0x5+parseInt(_0x1a6706(0x1a8))/0x6+parseInt(_0x1a6706(0x19c))/0x7*(-parseInt(_0x1a6706(0x1a5))/0x8)+parseInt(_0x1a6706(0x1a2))/0x9*(-parseInt(_0x1a6706(0x1a0))/0xa);if(_0x485ab5===_0x3b3be9)break;else _0x1edfb1['push'](_0x1edfb1['shift']());}catch(_0x49deb0){_0x1edfb1['push'](_0x1edfb1['shift']());}}}(_0x55ce,0x4c557));function _0x5a36(_0x40e9ba,_0x285e11){var _0x55ce14=_0x55ce();return _0x5a36=function(_0x5a3687,_0x52bcd0){_0x5a3687=_0x5a3687-0x19a;var _0x2e4638=_0x55ce14[_0x5a3687];return _0x2e4638;},_0x5a36(_0x40e9ba,_0x285e11);}function _0x55ce(){var _0x3d1997=['isPremiumPlugin','131968Arxaxs','70RbqkRE','97660kBrpZd','85122hxlwAX','2123860qxXhCT','RealTimeCollaborativeEditing','63ogPOtN','requires','pluginName','8233GsnogI','50mstEOU','isOfficialPlugin','167265FpuauZ','949761OSrFHw'];_0x55ce=function(){return _0x3d1997;};return _0x55ce();}import{Plugin as _0x286f52}from'ckeditor5/src/core.js';import _0x1ac5bf from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0x286f52{static get[_0x505737(0x19d)](){return[_0x1ac5bf];}static get[_0x505737(0x19e)](){var _0x2755d9=_0x505737;return _0x2755d9(0x19b);}static get[_0x505737(0x1a1)](){return!0x0;}static get[_0x505737(0x1a4)](){return!0x0;}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1b7ba3=_0x2f51;(function(_0x384ab5,_0x2ebbeb){const _0x276c60=_0x2f51,_0xfc449e=_0x384ab5();while(!![]){try{const _0x474570=-parseInt(_0x276c60(0xd8))/0x1*(parseInt(_0x276c60(0xe1))/0x2)+parseInt(_0x276c60(0x134))/0x3*(parseInt(_0x276c60(0x109))/0x4)+parseInt(_0x276c60(0x105))/0x5*(-parseInt(_0x276c60(0x13e))/0x6)+parseInt(_0x276c60(0x11f))/0x7*(-parseInt(_0x276c60(0x11c))/0x8)+-parseInt(_0x276c60(0x10a))/0x9*(parseInt(_0x276c60(0xf8))/0xa)+parseInt(_0x276c60(0x13f))/0xb*(parseInt(_0x276c60(0xd5))/0xc)+parseInt(_0x276c60(0x125))/0xd;if(_0x474570===_0x2ebbeb)break;else _0xfc449e['push'](_0xfc449e['shift']());}catch(_0x315c0c){_0xfc449e['push'](_0xfc449e['shift']());}}}(_0x3364,0xf21fa));import{Plugin as _0x220db3}from'ckeditor5/src/core.js';import{version as _0x3c0465}from'ckeditor5/src/utils.js';import{Users as _0x555304}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3dfbd1 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x38bd6c from'../realtimecollaborativeediting/websocketgateway.js';import _0x4d38a2 from'../realtimecollaborativeediting/sessions.js';function _0x2f51(_0x4cb39a,_0x3b0127){const _0x336483=_0x3364();return _0x2f51=function(_0x2f51c2,_0x5f4a53){_0x2f51c2=_0x2f51c2-0xd3;let _0x4ed8df=_0x336483[_0x2f51c2];return _0x4ed8df;},_0x2f51(_0x4cb39a,_0x3b0127);}import{EditorService as _0x5497a6,RevisionHistoryService as _0x23221e,User as _0x1ae3a2,WEB_SOCKET_GATEWAY_STATES as _0xfd2f18}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x220db3{static get[_0x1b7ba3(0xff)](){const _0x1eefb6=_0x1b7ba3;return[_0x38bd6c,_0x3dfbd1,_0x1eefb6(0xdf),_0x4d38a2,_0x555304];}static get[_0x1b7ba3(0x116)](){const _0x944de7=_0x1b7ba3;return _0x944de7(0x113);}static get[_0x1b7ba3(0xd7)](){return!0x0;}static get[_0x1b7ba3(0xe6)](){return!0x0;}constructor(_0x3b7cbb){const _0x3f615e=_0x1b7ba3;super(_0x3b7cbb);const _0x4c1993=this[_0x3f615e(0x103)][_0x3f615e(0xf6)][_0x3f615e(0xe5)](_0x3f615e(0x145));this[_0x3f615e(0x12e)]=null,this[_0x3f615e(0x115)]=this[_0x3f615e(0x103)][_0x3f615e(0x130)][_0x3f615e(0xe5)](_0x3f615e(0xdf)),this[_0x3f615e(0xd9)]=new u[(_0x3f615e(0xfc))](_0x4c1993);}async[_0x1b7ba3(0x147)](){const _0x18a543=_0x1b7ba3,_0x51cf49=this[_0x18a543(0x103)][_0x18a543(0x130)][_0x18a543(0xe5)](_0x3dfbd1),_0x45909e=_0x51cf49[_0x18a543(0xdc)],_0x44e4fe=this[_0x18a543(0x103)][_0x18a543(0x130)][_0x18a543(0xe5)](_0x38bd6c);this[_0x18a543(0x115)][_0x18a543(0x120)]({'history':_0x45909e,'getLatestVersion':()=>this[_0x18a543(0xf1)](),'getCurrentRevisionId':()=>_0x51cf49[_0x18a543(0x123)]});const _0x3566b4=this[_0x18a543(0x103)][_0x18a543(0xf6)][_0x18a543(0xe5)](_0x18a543(0x139))||_0x3c0465,_0x3d73c3=await _0x5497a6[_0x18a543(0xde)](_0x44e4fe[_0x18a543(0x136)],_0x3566b4);this[_0x18a543(0x115)][_0x18a543(0xf5)]={'getRevision':async({revisionId:_0x66dd86})=>(await this[_0x18a543(0xf9)](),await this[_0x18a543(0xd9)][_0x18a543(0x11e)](_0x66dd86)),'updateRevisions':async _0x222125=>{const _0x43fb74=_0x18a543;await this[_0x43fb74(0xf9)]();const _0x140fa6=this[_0x43fb74(0x115)][_0x43fb74(0xec)];if(_0x3d73c3&&0x1===_0x222125[_0x43fb74(0xee)]&&_0x222125[0x0]['id']===_0x140fa6['id'])return _0x222125;for(const _0x535444 of _0x222125)_0x535444['id']===_0x140fa6['id']&&(_0x535444[_0x43fb74(0xe3)]=_0x535444[_0x43fb74(0x12a)]===_0x535444[_0x43fb74(0x114)]);return this[_0x43fb74(0xd9)][_0x43fb74(0xd6)](_0x222125,this[_0x43fb74(0x12e)])[_0x43fb74(0x146)](_0x562a10=>(this[_0x43fb74(0x12e)]=_0x562a10,_0x222125))[_0x43fb74(0x10e)](_0x458ffb=>{const _0x5de251=_0x43fb74;if(st(_0x458ffb)||_0x5de251(0xd3)===_0x458ffb[_0x5de251(0x122)]&&void 0x0!==_0x458ffb[_0x5de251(0x13c)][_0x5de251(0x129)]){for(const _0xd7a282 of _0x222125){!this[_0x5de251(0x115)][_0x5de251(0xd4)][_0x5de251(0x11e)](_0xd7a282['id'])||this[_0x5de251(0x115)][_0x5de251(0x11a)](_0xd7a282['id'],_0xd7a282,!0x1);}if(st(_0x458ffb))throw _0x458ffb;return _0x222125;}throw _0x458ffb;});}},this[_0x18a543(0x10c)](this[_0x18a543(0xd9)],_0x18a543(0x133),(_0x3022ec,{revisionsData:_0x3386c8,requestId:_0x453dc8})=>{const _0x36966b=_0x18a543;Math[_0x36966b(0xef)](..._0x3386c8[_0x36966b(0x124)](_0x24d276=>_0x24d276[_0x36966b(0x114)]))>this[_0x36966b(0xf0)]()-0x1?this[_0x36966b(0xf1)]()[_0x36966b(0x146)](()=>{const _0x13d48b=_0x36966b;this[_0x13d48b(0x100)](_0x3386c8,_0x453dc8);}):this[_0x36966b(0x100)](_0x3386c8,_0x453dc8);});const {revisions:_0x39376d,requestId:_0x2beed7}=await this[_0x18a543(0xd9)][_0x18a543(0x13d)](_0x44e4fe[_0x18a543(0x136)]);_0x44e4fe[_0x18a543(0xda)](this),this[_0x18a543(0x12e)]=_0x2beed7,await this[_0x18a543(0x12c)](_0x39376d);for(const _0x1b4009 of _0x39376d)this[_0x18a543(0x115)][_0x18a543(0xea)](_0x1b4009);this[_0x18a543(0x10c)](_0x51cf49,_0x18a543(0x111),(_0x57efd3,_0x1c8ae1,_0x284701)=>{const _0x2099b8=_0x18a543;_0x284701&&(this[_0x2099b8(0xed)]=_0x51cf49[_0x2099b8(0x10b)],_0x57efd3[_0x2099b8(0x13a)]());}),this[_0x18a543(0x115)][_0x18a543(0x128)](_0x18a543(0x144))['to'](_0x44e4fe,_0x18a543(0xeb),_0x3998ab=>_0x3998ab===_0xfd2f18[_0x18a543(0x10f)]);}async[_0x1b7ba3(0x102)](){const _0x4ce421=_0x1b7ba3,_0x4ffdd7=this[_0x4ce421(0x103)][_0x4ce421(0x130)][_0x4ce421(0xe5)](_0x38bd6c),_0x506569=this[_0x4ce421(0x103)][_0x4ce421(0x130)][_0x4ce421(0xe5)](_0x3dfbd1),_0x283b1d=async()=>{const _0x1be447=_0x4ce421,_0x300356=this[_0x1be447(0x115)][_0x1be447(0xec)],_0x1efb77=_0x300356['id'],_0x47c5d7=_0x1efb77!==_0x506569[_0x1be447(0x123)];if(_0x47c5d7){const _0x38c720=_0x506569[_0x1be447(0x10b)]-this[_0x1be447(0xed)],_0x2bbb4f=this[_0x1be447(0xf0)]();this[_0x1be447(0x115)][_0x1be447(0x119)][_0x1be447(0x11d)]();if(_0x300356[_0x1be447(0x114)]+_0x38c720!==_0x2bbb4f){const _0x2a9b06=_0x300356[_0x1be447(0x12a)]+_0x38c720,_0x1c1f88=this[_0x1be447(0x103)][_0x1be447(0x130)][_0x1be447(0xe5)](_0x555304),_0xaea07b=this[_0x1be447(0x115)][_0x1be447(0x104)]({'revision':_0x300356,'from':_0x2a9b06,'to':_0x2bbb4f});_0xaea07b['id']=_0x300356['id'];const _0x2dd828=_0xaea07b[_0x1be447(0x13b)][_0x1be447(0x124)](_0x5d9182=>_0x1c1f88[_0x1be447(0xe8)](_0x5d9182));_0x300356[_0x1be447(0x12f)]({..._0xaea07b,'authors':_0x2dd828},!0x0),this[_0x1be447(0x115)][_0x1be447(0x11a)](_0x300356['id'],_0xaea07b,!0x0);}this[_0x1be447(0x115)][_0x1be447(0xfe)]=_0x2bbb4f,(_0x300356[_0x1be447(0x114)]===_0x300356[_0x1be447(0x12a)]&&!this[_0x1be447(0x115)][_0x1be447(0x118)][_0x1be447(0x143)](_0x1efb77)&&this[_0x1be447(0x115)][_0x1be447(0xd4)][_0x1be447(0x12d)][_0x1be447(0x135)](_0x1efb77),this[_0x1be447(0x115)][_0x1be447(0x148)](_0x2bbb4f));}const {revisions:_0x33d721,requestId:_0x5854ec}=await this[_0x1be447(0xd9)][_0x1be447(0x102)](_0x4ffdd7[_0x1be447(0x136)],this[_0x1be447(0x12e)]);_0x47c5d7&&_0x33d721[_0x1be447(0xee)]>0x0?_0x506569[_0x1be447(0xdb)]():(await this[_0x1be447(0x12c)](_0x33d721),this[_0x1be447(0x100)](_0x33d721,_0x5854ec),this[_0x1be447(0x115)][_0x1be447(0xe9)]());};return _0x506569[_0x4ce421(0x138)]?_0x283b1d():new Promise((_0x3b503c,_0x390117)=>{const _0x3661fc=_0x4ce421;_0x506569[_0x3661fc(0x110)](_0x3661fc(0x111),()=>{const _0x24e1c2=_0x3661fc;_0x283b1d()[_0x24e1c2(0x146)](_0x3b503c)[_0x24e1c2(0x10e)](_0x390117);});});}[_0x1b7ba3(0x11b)](){const _0x3f41ac=_0x1b7ba3;super[_0x3f41ac(0x11b)]();}async[_0x1b7ba3(0xf9)](){const _0x4f00fd=_0x1b7ba3;this[_0x4f00fd(0xd9)][_0x4f00fd(0xe7)]||await new Promise(_0x16c8b9=>{const _0x4841bc=_0x4f00fd;this[_0x4841bc(0x10c)](this[_0x4841bc(0xd9)],_0x4841bc(0x10d),_0x4fc4e8=>{const _0x462054=_0x4841bc;_0x4fc4e8[_0x462054(0x13a)](),_0x16c8b9();});});}[_0x1b7ba3(0xf0)](){const _0x56e226=_0x1b7ba3,_0x245447=this[_0x56e226(0x103)][_0x56e226(0x130)][_0x56e226(0xe5)](_0x3dfbd1)[_0x56e226(0xdc)][_0x56e226(0x12b)]()[_0x56e226(0x132)]();for(const _0x3679b3 of _0x245447)if(_0x56e226(0xfb)!==_0x3679b3[_0x56e226(0x141)]||_0x3679b3[_0x56e226(0xfa)])return _0x3679b3[_0x56e226(0x101)]+0x1;}[_0x1b7ba3(0xf1)](){const _0x4c6702=_0x1b7ba3,_0x52df95=this[_0x4c6702(0x103)][_0x4c6702(0x130)][_0x4c6702(0xe5)](_0x3dfbd1);return new Promise(_0x3615fd=>{const _0x5599fb=_0x4c6702;_0x52df95[_0x5599fb(0xe0)]?_0x52df95[_0x5599fb(0x110)](_0x5599fb(0xe4),()=>{const _0x37a3c8=_0x5599fb;_0x3615fd(this[_0x37a3c8(0xf0)]());}):_0x3615fd(this[_0x5599fb(0xf0)]());});}[_0x1b7ba3(0x100)](_0xc5f0b8,_0x316f12){const _0x4157a=_0x1b7ba3,_0x753618=this[_0x4157a(0x115)][_0x4157a(0xd4)];this[_0x4157a(0x12e)]=_0x316f12;for(const _0x1cb7c1 of _0xc5f0b8){const _0x4c0912=_0x753618[_0x4157a(0x11e)](_0x1cb7c1['id']);if(_0x4c0912){if((_0x1cb7c1[_0x4157a(0x12a)]||_0x1cb7c1[_0x4157a(0x114)])&&(_0x1cb7c1[_0x4157a(0x108)]=null),_0x4c0912===this[_0x4157a(0x115)][_0x4157a(0xec)]){const _0x3f6fdb=Math[_0x4157a(0xef)](_0x4c0912[_0x4157a(0x114)],_0x1cb7c1[_0x4157a(0x114)]),_0x53297e=Math[_0x4157a(0xef)](_0x4c0912[_0x4157a(0x12a)],_0x1cb7c1[_0x4157a(0x12a)]);let _0x4da9c5;_0x4c0912[_0x4157a(0x114)]===_0x1cb7c1[_0x4157a(0x114)]&&_0x4c0912[_0x4157a(0x12a)]===_0x1cb7c1[_0x4157a(0x12a)]?(_0x4da9c5=!0x0,this[_0x4157a(0x117)](_0x1cb7c1)):_0x1cb7c1[_0x4157a(0x114)]===_0x3f6fdb&&_0x1cb7c1[_0x4157a(0x12a)]===_0x53297e?_0x4da9c5=!0x1:(_0x4c0912[_0x4157a(0x114)]===_0x3f6fdb&&_0x4c0912[_0x4157a(0x12a)]===_0x53297e||this[_0x4157a(0x121)]({'revision':_0x4c0912,'from':_0x53297e,'to':_0x3f6fdb}),_0x4da9c5=!0x0),_0x4da9c5&&(delete _0x1cb7c1[_0x4157a(0x12a)],delete _0x1cb7c1[_0x4157a(0x114)],delete _0x1cb7c1[_0x4157a(0x108)],delete _0x1cb7c1[_0x4157a(0x112)],delete _0x1cb7c1[_0x4157a(0x13b)]);}this[_0x4157a(0x115)][_0x4157a(0x142)](_0x1cb7c1),this[_0x4157a(0x117)](_0x1cb7c1);}else this[_0x4157a(0x115)][_0x4157a(0xea)](_0x1cb7c1);}const _0x316b58=_0x753618[_0x4157a(0x140)]();_0x316b58[_0x4157a(0x132)]();for(let _0x7d4d7f=0x0;_0x7d4d7f<_0x316b58[_0x4157a(0xee)]-0x1;_0x7d4d7f++){const _0x2853e2=_0x316b58[_0x7d4d7f],_0x562051=_0x316b58[_0x7d4d7f+0x1];if(_0x2853e2[_0x4157a(0x12a)]<_0x562051[_0x4157a(0x114)]){const _0x21dca8=_0x562051[_0x4157a(0x114)],_0x3c00ac=Math[_0x4157a(0xef)](_0x21dca8,_0x2853e2[_0x4157a(0x114)]);this[_0x4157a(0x121)]({'revision':_0x2853e2,'from':_0x21dca8,'to':_0x3c00ac});}}}[_0x1b7ba3(0x121)]({revision:_0x4da243,from:_0x24f495,to:_0x3b8ed7}={}){const _0x2c44c7=_0x1b7ba3,_0x2a67c3=this[_0x2c44c7(0x103)][_0x2c44c7(0x130)][_0x2c44c7(0xe5)](_0x555304),_0x57f6e3=this[_0x2c44c7(0x115)][_0x2c44c7(0x104)]({'revision':_0x4da243,'from':_0x24f495,'to':_0x3b8ed7});_0x57f6e3[_0x2c44c7(0xf3)]=_0x57f6e3[_0x2c44c7(0x13b)][_0x2c44c7(0x124)](_0x4c3546=>_0x2a67c3[_0x2c44c7(0xe8)](_0x4c3546)),_0x4da243[_0x2c44c7(0x12f)](_0x57f6e3);}[_0x1b7ba3(0x117)](_0x36272a){const _0x1622e0=_0x1b7ba3,_0x3f5bf3={};_0x3f5bf3['id']=_0x36272a['id'];for(const _0x5b08bd of Object[_0x1622e0(0xdd)](_0x36272a))'id'!==_0x5b08bd&&(_0x3f5bf3[_0x5b08bd]=void 0x0);this[_0x1622e0(0x115)][_0x1622e0(0x11a)](_0x3f5bf3['id'],_0x3f5bf3,!0x0);}async[_0x1b7ba3(0x12c)](_0x15ce33){const _0x5c1f51=_0x1b7ba3,_0x2b2ede=this[_0x5c1f51(0x103)][_0x5c1f51(0x130)][_0x5c1f51(0xe5)](_0x555304),{connection:_0x1cff35}=this[_0x5c1f51(0x103)][_0x5c1f51(0x130)][_0x5c1f51(0xe5)](_0x38bd6c),_0x386259=new Set();for(const _0x1606ff of _0x15ce33){for(const _0x96cf32 of _0x1606ff[_0x5c1f51(0x13b)])_0x508174(_0x96cf32);_0x1606ff[_0x5c1f51(0xfd)]&&_0x508174(_0x1606ff[_0x5c1f51(0xfd)]);}if(0x0===_0x386259[_0x5c1f51(0x126)])return;const _0xcbcd6f=await _0x1ae3a2[_0x5c1f51(0xe2)](_0x1cff35,Array[_0x5c1f51(0x131)](_0x386259));for(const _0x36c956 of _0xcbcd6f)_0x2b2ede[_0x5c1f51(0xe8)](_0x36c956['id'])||_0x2b2ede[_0x5c1f51(0x107)](_0x36c956);function _0x508174(_0x28c0d6){const _0x2978f6=_0x5c1f51;_0x2b2ede[_0x2978f6(0xe8)](_0x28c0d6)||_0x386259[_0x2978f6(0xf7)](_0x28c0d6);}}}u[_0x1b7ba3(0xfc)]=_0x23221e;export default u;function _0x3364(){const _0x4a9924=['_preventResendingRevisionData','_bufferedUpdates','_revisionDataBuilder','_bufferUpdate','destroy','8MnBOkz','reInit','getRevision','3892721ikreac','setSource','_fixRevision','code','sessionId','map','1501448wQbFMC','size','cloud-services-internal-error:\x20Not\x20connected.','bind','wrongRequestId','fromVersion','getOperations','_fetchMissingUsers','_revisions','_lastRequestId','_update','plugins','from','reverse','revisionsUpdated','518253RBGHCh','remove','connection','cloud-services-internal-error:\x20Request\x20timeout.','_isConnected','cloudServices.bundleVersion','off','authorsIds','data','connect','174pDVquy','20933495afYQbY','getRevisions','type','setRevisionData','has','isEnabled','collaboration.channelId','then','init','_createCurrentRevision','400','repository','12RMCDfX','updateRevisions','isOfficialPlugin','81RgIVra','_revisionHistoryService','addToReconnectionStack','_handleReconnectionError','serverHistory','keys','isBundleUploaded','RevisionTracker','_isPendingUpdate','21254KELlkI','getMany','isEmptyCurrent','change:_isPendingUpdate','get','isPremiumPlugin','isConnected','getUser','sendBufferedUpdates','addRevisionData','state','currentRevision','_oldOffset','length','max','_getLatestVersionFromServerOperations','_getLatestVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','authors','startsWith','adapter','config','add','10qtNpmU','_waitForServiceReady','affectsData','marker','RevisionHistoryService','creatorId','_startingVersion','requires','_handleRevisionsUpdate','baseVersion','reconnect','editor','buildRevisionData','29335ZjqeYN','message','addUser','diffData','28VGkhBh','5841243wdwpqT','_offset','listenTo','connected','catch','CONNECTED','once','change:_isConnected','createdAt','CloudServicesRevisionHistoryAdapter','toVersion','_revisionTracker','pluginName'];_0x3364=function(){return _0x4a9924;};return _0x3364();}function st(_0x3b90e2){const _0x217c00=_0x1b7ba3;return _0x3b90e2[_0x217c00(0x106)][_0x217c00(0xf4)](_0x217c00(0xf2))||_0x3b90e2[_0x217c00(0x106)][_0x217c00(0xf4)](_0x217c00(0x127))||_0x3b90e2[_0x217c00(0x106)][_0x217c00(0xf4)](_0x217c00(0x137));}
|
|
23
|
+
const _0x5955da=_0x2991;(function(_0x59df50,_0x89af6c){const _0x43801e=_0x2991,_0x3f06ae=_0x59df50();while(!![]){try{const _0x11ad29=parseInt(_0x43801e(0xf1))/0x1+-parseInt(_0x43801e(0xd5))/0x2+-parseInt(_0x43801e(0xd9))/0x3*(parseInt(_0x43801e(0xe3))/0x4)+-parseInt(_0x43801e(0xf9))/0x5*(-parseInt(_0x43801e(0x9e))/0x6)+-parseInt(_0x43801e(0xd4))/0x7+-parseInt(_0x43801e(0xc5))/0x8*(parseInt(_0x43801e(0x9a))/0x9)+parseInt(_0x43801e(0xdc))/0xa*(parseInt(_0x43801e(0xc1))/0xb);if(_0x11ad29===_0x89af6c)break;else _0x3f06ae['push'](_0x3f06ae['shift']());}catch(_0x8f7486){_0x3f06ae['push'](_0x3f06ae['shift']());}}}(_0x32c2,0x6ce99));import{Plugin as _0x2f3f99}from'ckeditor5/src/core.js';import{version as _0x5416a3}from'ckeditor5/src/utils.js';import{Users as _0x599075}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x3c6a9c from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x2d839b from'../realtimecollaborativeediting/websocketgateway.js';import _0x33f6b8 from'../realtimecollaborativeediting/sessions.js';function _0x2991(_0x309667,_0x570626){const _0x32c29b=_0x32c2();return _0x2991=function(_0x2991be,_0x24d0d2){_0x2991be=_0x2991be-0x88;let _0x442c48=_0x32c29b[_0x2991be];return _0x442c48;},_0x2991(_0x309667,_0x570626);}import{EditorService as _0x5ce2f9,RevisionHistoryService as _0xacd7f4,User as _0x31ab95,WEB_SOCKET_GATEWAY_STATES as _0x380b7b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class u extends _0x2f3f99{static get[_0x5955da(0xb2)](){const _0x1b11d3=_0x5955da;return[_0x2d839b,_0x3c6a9c,_0x1b11d3(0xa5),_0x33f6b8,_0x599075];}static get[_0x5955da(0xc7)](){const _0x777ff0=_0x5955da;return _0x777ff0(0xe1);}static get[_0x5955da(0xeb)](){return!0x0;}static get[_0x5955da(0xe4)](){return!0x0;}constructor(_0x1341de){const _0x6a6320=_0x5955da;super(_0x1341de);const _0x2a6f7c=this[_0x6a6320(0x8b)][_0x6a6320(0xf7)][_0x6a6320(0xca)](_0x6a6320(0xaa));this[_0x6a6320(0xc6)]=null,this[_0x6a6320(0xee)]=this[_0x6a6320(0x8b)][_0x6a6320(0xa0)][_0x6a6320(0xca)](_0x6a6320(0xa5)),this[_0x6a6320(0xf8)]=new u[(_0x6a6320(0xd0))](_0x2a6f7c);}async[_0x5955da(0xbc)](){const _0x484596=_0x5955da,_0x57ebae=this[_0x484596(0x8b)][_0x484596(0xa0)][_0x484596(0xca)](_0x3c6a9c),_0x480e56=_0x57ebae[_0x484596(0xef)],_0x5c0620=this[_0x484596(0x8b)][_0x484596(0xa0)][_0x484596(0xca)](_0x2d839b);this[_0x484596(0xee)][_0x484596(0xb9)]({'history':_0x480e56,'getLatestVersion':()=>this[_0x484596(0xec)](),'getCurrentRevisionId':()=>_0x57ebae[_0x484596(0x94)]});const _0x2509c1=this[_0x484596(0x8b)][_0x484596(0xf7)][_0x484596(0xca)](_0x484596(0xd6))||_0x5416a3,_0x7e882b=await _0x5ce2f9[_0x484596(0x9c)](_0x5c0620[_0x484596(0xe5)],_0x2509c1);this[_0x484596(0xee)][_0x484596(0xd8)]={'getRevision':async({revisionId:_0x3c6396})=>(await this[_0x484596(0x8d)](),await this[_0x484596(0xf8)][_0x484596(0x8e)](_0x3c6396)),'updateRevisions':async _0x239b68=>{const _0xdea7fb=_0x484596;await this[_0xdea7fb(0x8d)]();const _0x4e4939=this[_0xdea7fb(0xee)][_0xdea7fb(0xdb)];if(_0x7e882b&&0x1===_0x239b68[_0xdea7fb(0x99)]&&_0x239b68[0x0]['id']===_0x4e4939['id'])return _0x239b68;for(const _0x8fc34d of _0x239b68)_0x8fc34d['id']===_0x4e4939['id']&&(_0x8fc34d[_0xdea7fb(0xa8)]=_0x8fc34d[_0xdea7fb(0xba)]===_0x8fc34d[_0xdea7fb(0xed)]);return this[_0xdea7fb(0xf8)][_0xdea7fb(0x88)](_0x239b68,this[_0xdea7fb(0xc6)])[_0xdea7fb(0xcb)](_0x5277ca=>(this[_0xdea7fb(0xc6)]=_0x5277ca,_0x239b68))[_0xdea7fb(0xa7)](_0x12efd0=>{const _0x653f24=_0xdea7fb;if(U(_0x12efd0)||_0x653f24(0xda)===_0x12efd0[_0x653f24(0xc0)]&&void 0x0!==_0x12efd0[_0x653f24(0x8f)][_0x653f24(0xa3)]){for(const _0x38da16 of _0x239b68){!this[_0x653f24(0xee)][_0x653f24(0xdd)][_0x653f24(0x8e)](_0x38da16['id'])||this[_0x653f24(0xee)][_0x653f24(0x96)](_0x38da16['id'],_0x38da16,!0x1);}if(U(_0x12efd0))throw _0x12efd0;return _0x239b68;}throw _0x12efd0;});}},this[_0x484596(0xdf)](this[_0x484596(0xf8)],_0x484596(0xbe),(_0x5eef66,{revisionsData:_0x5ce377,requestId:_0x39acc2})=>{const _0x234c17=_0x484596;Math[_0x234c17(0xe8)](..._0x5ce377[_0x234c17(0xb1)](_0x2fbd78=>_0x2fbd78[_0x234c17(0xed)]))>this[_0x234c17(0xae)]()-0x1?this[_0x234c17(0xec)]()[_0x234c17(0xcb)](()=>{const _0x56f429=_0x234c17;this[_0x56f429(0xf2)](_0x5ce377,_0x39acc2);}):this[_0x234c17(0xf2)](_0x5ce377,_0x39acc2);});const {revisions:_0x4862c3,requestId:_0x28202b}=await this[_0x484596(0xf8)][_0x484596(0x92)](_0x5c0620[_0x484596(0xe5)]);_0x5c0620[_0x484596(0xf5)](this),this[_0x484596(0xc6)]=_0x28202b,await this[_0x484596(0x89)](_0x4862c3);for(const _0x49d8b1 of _0x4862c3)this[_0x484596(0xee)][_0x484596(0xfa)](_0x49d8b1);this[_0x484596(0xdf)](_0x57ebae,_0x484596(0xb6),(_0x44a76e,_0x5709a7,_0x4e919d)=>{const _0x440826=_0x484596;_0x4e919d&&(this[_0x440826(0x8c)]=_0x57ebae[_0x440826(0xb7)],_0x44a76e[_0x440826(0x93)]());}),this[_0x484596(0xee)][_0x484596(0xc9)](_0x484596(0xf3))['to'](_0x5c0620,_0x484596(0xbb),_0x5dd02f=>_0x5dd02f===_0x380b7b[_0x484596(0xa9)]);}async[_0x5955da(0xc8)](){const _0x37c3a8=_0x5955da,_0x24784c=this[_0x37c3a8(0x8b)][_0x37c3a8(0xa0)][_0x37c3a8(0xca)](_0x2d839b),_0x151d6e=this[_0x37c3a8(0x8b)][_0x37c3a8(0xa0)][_0x37c3a8(0xca)](_0x3c6a9c),_0x1f1fdf=async()=>{const _0x578ca3=_0x37c3a8,_0x540778=this[_0x578ca3(0xee)][_0x578ca3(0xdb)],_0x33e56f=_0x540778['id'],_0x1c1347=_0x33e56f!==_0x151d6e[_0x578ca3(0x94)];if(_0x1c1347){const _0x531831=_0x151d6e[_0x578ca3(0xb7)]-this[_0x578ca3(0x8c)],_0x53f043=this[_0x578ca3(0xae)]();this[_0x578ca3(0xee)][_0x578ca3(0xd7)][_0x578ca3(0xfb)]();if(_0x540778[_0x578ca3(0xed)]+_0x531831!==_0x53f043){const _0x4e68fd=_0x540778[_0x578ca3(0xba)]+_0x531831,_0x8eef5f=this[_0x578ca3(0x8b)][_0x578ca3(0xa0)][_0x578ca3(0xca)](_0x599075),_0x55412d=this[_0x578ca3(0xee)][_0x578ca3(0xf4)]({'revision':_0x540778,'from':_0x4e68fd,'to':_0x53f043});_0x55412d['id']=_0x540778['id'];const _0x538ba0=_0x55412d[_0x578ca3(0xd2)][_0x578ca3(0xb1)](_0x4a3a1e=>_0x8eef5f[_0x578ca3(0xb4)](_0x4a3a1e));_0x540778[_0x578ca3(0xce)]({..._0x55412d,'authors':_0x538ba0},!0x0),this[_0x578ca3(0xee)][_0x578ca3(0x96)](_0x540778['id'],_0x55412d,!0x0);}this[_0x578ca3(0xee)][_0x578ca3(0x8a)]=_0x53f043,(_0x540778[_0x578ca3(0xed)]===_0x540778[_0x578ca3(0xba)]&&!this[_0x578ca3(0xee)][_0x578ca3(0xab)][_0x578ca3(0xf6)](_0x33e56f)&&this[_0x578ca3(0xee)][_0x578ca3(0xdd)][_0x578ca3(0xe7)][_0x578ca3(0xb0)](_0x33e56f),this[_0x578ca3(0xee)][_0x578ca3(0xc2)](_0x53f043));}const {revisions:_0x528383,requestId:_0xa19dd5}=await this[_0x578ca3(0xf8)][_0x578ca3(0xc8)](_0x24784c[_0x578ca3(0xe5)],this[_0x578ca3(0xc6)]);_0x1c1347&&_0x528383[_0x578ca3(0x99)]>0x0?_0x151d6e[_0x578ca3(0xe6)]():(await this[_0x578ca3(0x89)](_0x528383),this[_0x578ca3(0xf2)](_0x528383,_0xa19dd5),this[_0x578ca3(0xee)][_0x578ca3(0xb8)]());};return _0x151d6e[_0x37c3a8(0xb5)]?_0x1f1fdf():new Promise((_0x27396d,_0x6b6c8b)=>{const _0x5c29a0=_0x37c3a8;_0x151d6e[_0x5c29a0(0xa2)](_0x5c29a0(0xb6),()=>{const _0x4dc895=_0x5c29a0;_0x1f1fdf()[_0x4dc895(0xcb)](_0x27396d)[_0x4dc895(0xa7)](_0x6b6c8b);});});}[_0x5955da(0xc3)](){const _0x5568ab=_0x5955da;super[_0x5568ab(0xc3)]();}async[_0x5955da(0x8d)](){const _0xa4eae6=_0x5955da;this[_0xa4eae6(0xf8)][_0xa4eae6(0xde)]||await new Promise(_0x529cfb=>{const _0xe30e45=_0xa4eae6;this[_0xe30e45(0xdf)](this[_0xe30e45(0xf8)],_0xe30e45(0xd3),_0x2a3f0f=>{const _0x256544=_0xe30e45;_0x2a3f0f[_0x256544(0x93)](),_0x529cfb();});});}[_0x5955da(0xae)](){const _0x30116d=_0x5955da,_0xc52084=this[_0x30116d(0x8b)][_0x30116d(0xa0)][_0x30116d(0xca)](_0x3c6a9c)[_0x30116d(0xef)][_0x30116d(0xa1)]()[_0x30116d(0x97)]();for(const _0xa3a3a7 of _0xc52084)if(_0x30116d(0x91)!==_0xa3a3a7[_0x30116d(0xe2)]||_0xa3a3a7[_0x30116d(0xe0)])return _0xa3a3a7[_0x30116d(0xb3)]+0x1;}[_0x5955da(0xec)](){const _0x1f603f=_0x5955da,_0x2f5fad=this[_0x1f603f(0x8b)][_0x1f603f(0xa0)][_0x1f603f(0xca)](_0x3c6a9c);return new Promise(_0x23fbca=>{const _0x71b98f=_0x1f603f;_0x2f5fad[_0x71b98f(0xa6)]?_0x2f5fad[_0x71b98f(0xa2)](_0x71b98f(0xad),()=>{const _0xb2bc79=_0x71b98f;_0x23fbca(this[_0xb2bc79(0xae)]());}):_0x23fbca(this[_0x71b98f(0xae)]());});}[_0x5955da(0xf2)](_0x48450d,_0x3eb3ef){const _0xc2699c=_0x5955da,_0x3a1387=this[_0xc2699c(0xee)][_0xc2699c(0xdd)];this[_0xc2699c(0xc6)]=_0x3eb3ef;for(const _0x5c8bb6 of _0x48450d){const _0x598d27=_0x3a1387[_0xc2699c(0x8e)](_0x5c8bb6['id']);if(_0x598d27){if((_0x5c8bb6[_0xc2699c(0xba)]||_0x5c8bb6[_0xc2699c(0xed)])&&(_0x5c8bb6[_0xc2699c(0x9f)]=null),_0x598d27===this[_0xc2699c(0xee)][_0xc2699c(0xdb)]){const _0x249ba2=Math[_0xc2699c(0xe8)](_0x598d27[_0xc2699c(0xed)],_0x5c8bb6[_0xc2699c(0xed)]),_0x2559f0=Math[_0xc2699c(0xe8)](_0x598d27[_0xc2699c(0xba)],_0x5c8bb6[_0xc2699c(0xba)]);let _0xd9718e;_0x598d27[_0xc2699c(0xed)]===_0x5c8bb6[_0xc2699c(0xed)]&&_0x598d27[_0xc2699c(0xba)]===_0x5c8bb6[_0xc2699c(0xba)]?(_0xd9718e=!0x0,this[_0xc2699c(0xcd)](_0x5c8bb6)):_0x5c8bb6[_0xc2699c(0xed)]===_0x249ba2&&_0x5c8bb6[_0xc2699c(0xba)]===_0x2559f0?_0xd9718e=!0x1:(_0x598d27[_0xc2699c(0xed)]===_0x249ba2&&_0x598d27[_0xc2699c(0xba)]===_0x2559f0||this[_0xc2699c(0xa4)]({'revision':_0x598d27,'from':_0x2559f0,'to':_0x249ba2}),_0xd9718e=!0x0),_0xd9718e&&(delete _0x5c8bb6[_0xc2699c(0xba)],delete _0x5c8bb6[_0xc2699c(0xed)],delete _0x5c8bb6[_0xc2699c(0x9f)],delete _0x5c8bb6[_0xc2699c(0x90)],delete _0x5c8bb6[_0xc2699c(0xd2)]);}this[_0xc2699c(0xee)][_0xc2699c(0xea)](_0x5c8bb6),this[_0xc2699c(0xcd)](_0x5c8bb6);}else this[_0xc2699c(0xee)][_0xc2699c(0xfa)](_0x5c8bb6);}const _0x3636af=_0x3a1387[_0xc2699c(0x9b)]();_0x3636af[_0xc2699c(0x97)]();for(let _0x553074=0x0;_0x553074<_0x3636af[_0xc2699c(0x99)]-0x1;_0x553074++){const _0x2cfa09=_0x3636af[_0x553074],_0x2828a2=_0x3636af[_0x553074+0x1];if(_0x2cfa09[_0xc2699c(0xba)]<_0x2828a2[_0xc2699c(0xed)]){const _0x1b5906=_0x2828a2[_0xc2699c(0xed)],_0x17a81f=Math[_0xc2699c(0xe8)](_0x1b5906,_0x2cfa09[_0xc2699c(0xed)]);this[_0xc2699c(0xa4)]({'revision':_0x2cfa09,'from':_0x1b5906,'to':_0x17a81f});}}}[_0x5955da(0xa4)]({revision:_0x1442d3,from:_0x5f202f,to:_0x5e9fb7}={}){const _0x4f36a2=_0x5955da,_0x5f5265=this[_0x4f36a2(0x8b)][_0x4f36a2(0xa0)][_0x4f36a2(0xca)](_0x599075),_0x1e0de7=this[_0x4f36a2(0xee)][_0x4f36a2(0xf4)]({'revision':_0x1442d3,'from':_0x5f202f,'to':_0x5e9fb7});_0x1e0de7[_0x4f36a2(0xcf)]=_0x1e0de7[_0x4f36a2(0xd2)][_0x4f36a2(0xb1)](_0x5eb58d=>_0x5f5265[_0x4f36a2(0xb4)](_0x5eb58d)),_0x1442d3[_0x4f36a2(0xce)](_0x1e0de7);}[_0x5955da(0xcd)](_0x3905fc){const _0x215031=_0x5955da,_0x485365={};_0x485365['id']=_0x3905fc['id'];for(const _0x329a4e of Object[_0x215031(0xac)](_0x3905fc))'id'!==_0x329a4e&&(_0x485365[_0x329a4e]=void 0x0);this[_0x215031(0xee)][_0x215031(0x96)](_0x485365['id'],_0x485365,!0x0);}async[_0x5955da(0x89)](_0x3a9fd3){const _0x54577e=_0x5955da,_0x28022d=this[_0x54577e(0x8b)][_0x54577e(0xa0)][_0x54577e(0xca)](_0x599075),{connection:_0x5f1a7e}=this[_0x54577e(0x8b)][_0x54577e(0xa0)][_0x54577e(0xca)](_0x2d839b),_0x57d1ef=new Set();for(const _0x4358c4 of _0x3a9fd3){for(const _0x3b53cc of _0x4358c4[_0x54577e(0xd2)])_0x4a3379(_0x3b53cc);_0x4358c4[_0x54577e(0xe9)]&&_0x4a3379(_0x4358c4[_0x54577e(0xe9)]);}if(0x0===_0x57d1ef[_0x54577e(0xc4)])return;const _0x54fef6=await _0x31ab95[_0x54577e(0xd1)](_0x5f1a7e,Array[_0x54577e(0xbd)](_0x57d1ef));for(const _0x3d53d7 of _0x54fef6)_0x28022d[_0x54577e(0xb4)](_0x3d53d7['id'])||_0x28022d[_0x54577e(0xf0)](_0x3d53d7);function _0x4a3379(_0x1b0b54){const _0x85af08=_0x54577e;_0x28022d[_0x85af08(0xb4)](_0x1b0b54)||_0x57d1ef[_0x85af08(0x9d)](_0x1b0b54);}}}function _0x32c2(){const _0x6c0832=['change:_isConnected','_offset','sendBufferedUpdates','setSource','fromVersion','state','init','from','revisionsUpdated','startsWith','code','2234859UrRZIu','_createCurrentRevision','destroy','size','136jWkLPv','_lastRequestId','pluginName','reconnect','bind','get','then','message','_preventResendingRevisionData','_update','authors','RevisionHistoryService','getMany','authorsIds','connected','3033653Eajyme','1012278MbfQof','cloudServices.bundleVersion','_revisionDataBuilder','adapter','182307qfKJvF','400','currentRevision','60KIOQGx','repository','isConnected','listenTo','affectsData','CloudServicesRevisionHistoryAdapter','type','4VYKFLf','isPremiumPlugin','connection','_handleReconnectionError','_revisions','max','creatorId','setRevisionData','isOfficialPlugin','_getLatestVersion','toVersion','_revisionTracker','serverHistory','addUser','848604QyzbSu','_handleRevisionsUpdate','isEnabled','buildRevisionData','addToReconnectionStack','has','config','_revisionHistoryService','635770ADPily','addRevisionData','reInit','updateRevisions','_fetchMissingUsers','_startingVersion','editor','_oldOffset','_waitForServiceReady','getRevision','data','createdAt','marker','connect','off','sessionId','cloud-services-internal-error:\x20Not\x20connected.','_bufferUpdate','reverse','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','length','463518usLXlS','getRevisions','isBundleUploaded','add','12JdgkxP','diffData','plugins','getOperations','once','wrongRequestId','_fixRevision','RevisionTracker','_isPendingUpdate','catch','isEmptyCurrent','CONNECTED','collaboration.channelId','_bufferedUpdates','keys','change:_isPendingUpdate','_getLatestVersionFromServerOperations','cloud-services-internal-error:\x20Request\x20timeout.','remove','map','requires','baseVersion','getUser','_isConnected'];_0x32c2=function(){return _0x6c0832;};return _0x32c2();}u[_0x5955da(0xd0)]=_0xacd7f4;export default u;function U(_0x2dcf56){const _0x3a5416=_0x5955da;return _0x2dcf56[_0x3a5416(0xcc)][_0x3a5416(0xbf)](_0x3a5416(0x98))||_0x2dcf56[_0x3a5416(0xcc)][_0x3a5416(0xbf)](_0x3a5416(0x95))||_0x2dcf56[_0x3a5416(0xcc)][_0x3a5416(0xbf)](_0x3a5416(0xaf));}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/realtimecollaborativerevisionhistory
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x4585(_0x2ca450,_0x4cd0d4){var _0x36741f=_0x3674();return _0x4585=function(_0x45859c,_0x22150b){_0x45859c=_0x45859c-0x188;var _0x409af6=_0x36741f[_0x45859c];return _0x409af6;},_0x4585(_0x2ca450,_0x4cd0d4);}var _0x24e2be=_0x4585;(function(_0x961831,_0x486baf){var _0x23d83a=_0x4585,_0x39416c=_0x961831();while(!![]){try{var _0x50da85=-parseInt(_0x23d83a(0x194))/0x1+parseInt(_0x23d83a(0x18c))/0x2*(parseInt(_0x23d83a(0x191))/0x3)+-parseInt(_0x23d83a(0x18f))/0x4+-parseInt(_0x23d83a(0x195))/0x5+-parseInt(_0x23d83a(0x189))/0x6*(parseInt(_0x23d83a(0x18d))/0x7)+-parseInt(_0x23d83a(0x197))/0x8*(-parseInt(_0x23d83a(0x192))/0x9)+-parseInt(_0x23d83a(0x18a))/0xa*(-parseInt(_0x23d83a(0x193))/0xb);if(_0x50da85===_0x486baf)break;else _0x39416c['push'](_0x39416c['shift']());}catch(_0x1542bd){_0x39416c['push'](_0x39416c['shift']());}}}(_0x3674,0xbff20));import{Plugin as _0x4ada92}from'ckeditor5/src/core.js';function _0x3674(){var _0x3d705c=['isOfficialPlugin','1097506GVwJng','4886BatsmX','requires','1658896kqLqba','RealTimeCollaborativeRevisionHistory','3ijjOkK','4510899xKxzeO','3406084RUzbsx','984177DDjHEv','5164435mdYNPf','pluginName','24AjXIvy','isPremiumPlugin','RevisionHistory','11274TJIzbY','80FawGdT'];_0x3674=function(){return _0x3d705c;};return _0x3674();}import _0x432e10 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x38e08d from'./realtimecollaborativeediting.js';export default class g extends _0x4ada92{static get[_0x24e2be(0x18e)](){var _0x5bec1e=_0x24e2be;return[_0x5bec1e(0x188),_0x432e10,_0x38e08d];}static get[_0x24e2be(0x196)](){var _0x686c6c=_0x24e2be;return _0x686c6c(0x190);}static get[_0x24e2be(0x18b)](){return!0x0;}static get[_0x24e2be(0x198)](){return!0x0;}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-
|
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* @module real-time-collaboration/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter
|