@ckeditor/ckeditor5-real-time-collaboration 43.2.0-alpha.0 → 43.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x475805=_0x6a62;(function(_0x13fc45,_0x135ccc){const _0x1c4a21=_0x6a62,_0x19bd8a=_0x13fc45();while(!![]){try{const _0xb30667=-parseInt(_0x1c4a21(0x15d))/0x1+parseInt(_0x1c4a21(0x1a0))/0x2*(parseInt(_0x1c4a21(0x1de))/0x3)+-parseInt(_0x1c4a21(0x198))/0x4*(-parseInt(_0x1c4a21(0x126))/0x5)+parseInt(_0x1c4a21(0x1d4))/0x6+-parseInt(_0x1c4a21(0x196))/0x7+parseInt(_0x1c4a21(0x195))/0x8+parseInt(_0x1c4a21(0x186))/0x9*(-parseInt(_0x1c4a21(0x182))/0xa);if(_0xb30667===_0x135ccc)break;else _0x19bd8a['push'](_0x19bd8a['shift']());}catch(_0x3e5f1f){_0x19bd8a['push'](_0x19bd8a['shift']());}}}(_0x1bc7,0xf299a));import{Plugin as _0x3c2e6d,PendingActions as _0x534ad9}from'ckeditor5/src/core.js';import{CKEditorError as _0x55b7af,version as _0x3948ae,uid as _0x3b55c5}from'ckeditor5/src/utils.js';import{Notification as _0x7199d}from'ckeditor5/src/ui.js';import{transformSets as _0x1ddcd5,NoOperation as _0x47b2ca,InsertOperation as _0x953674,MarkerOperation as _0x352f2f,RootAttributeOperation as _0x2aaeca,OperationFactory as _0x40dea2,History as _0x31bbcf}from'ckeditor5/src/engine.js';import _0x360259 from'./websocketgateway.js';import _0x3c63bd from'./sessions.js';import _0x13b07e from'./usermarkers.js';import{getTranslation as _0x10faaf}from'../common-translations.js';import{Compressor as _0x4d20b3}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4f4e43}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1bc7(){const _0x81f8a7=['addToReconnectionStack','_operationToId','_saveOperationInBuffer','14687952bxhLCP','10430679hgCyZj','_bufferedOperations','7436248IAerWV','lastOperationId','_hasSelectionChanged','version','size','collaboration-missing-channelid','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','suppressErrorInCollaboration','370346AxYAAq','_fetchMissingUsers','_crash','roots','createRoot','_connectAfterSessionHasBeenFlushed','mySessionId','_isDisconnection','end','_shouldSendSelectionUpdate','directChange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','lastDocumentSession','stop','realtimecollaborationclient-sendbufferedoperations','_isConnected','_sendBufferedOperationsDelayed','realtimecollaborationclient-initservice-internal-error','requires','_operationIdentifier','getOperations','loadRoot','connect','showWarning','attributes','filter','multi-root-editor-root-attributes-no-root','_lastSyncedOperationId','history','off','reset','disconnected','collaboration','isEnabled','editing','string','stopListening','Permissions','change:_isEditingAllowed','getDocumentDetails','isReadOnly','disconnect','cloud-services-internal-error:\x20Not\x20connected.','_compressOperations','getMany','ready','forEach','createUserMarkerOperations','then','_handleExternalOperations','type','compress','10333818rmIGGS','rootsAttributes','setIdForTheLastOperation','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-non-existent-root','root','startsWith','catch','rtc-offline','_authorId','6rdAjgX','_getOperationsFromInitData','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','real-time-collaboration','reconnection:\x20flushed\x20session','return','CollaborativeEditingService','message','rootName','Notification','offset','toJSON','keys','realtimecollaborationclient-init-session-connection-error','404','listenTo','_knownRootNames','baseVersion','cs:removeUser','state','_sendBufferedOperations','channelSessions','createPositionAt','targetPosition','_sendBufferedOperationsDelayId','getUser','removeFromReconnectionStack','cloudServices.bundleVersion','_ignoredOperations','length','fire','round','change:range','_channelId','destroy','_isEditingAllowed','change:_isPendingUpdate','RealTimeCollaborationClient','_document','document','currentDocumentSession','_service','sendOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_refreshUserSelectionMarkers','enqueueChange','code','409','metadata','connected','_handleServerResponse','move','_baseBufferDelay','operationsReceived','view','lastOperationAcceptedAt','markers','change:hasDomSelection','define','setPermissions','register','reconnect','add','_handleSendingSelectionMarkers','finally','_addKnownRoot','connection','_bufferRootLoad','error','marker','sessionCreatedAt','plugins','remove','batch','5anacZI','enableReadOnlyMode','realtimecollaborationclient-init-connection-failed','disableReadOnlyMode','_shouldSendUpdate','addRoot','editor','cloud-services-internal-error:\x20Request\x20timeout.','getRoot','lastSyncVersion','high','initData','start','config','_clearPendingAction','_isAttached','_handleReceivedOperations','wasUndone','affectsData','position','realtimecollaborationclient-init-document-already-initialized','_waitUntilSynced','_initThrowingOnDataSet','_initSessionsHandling','_offset','insert','document:write','_disconnectService','includes','sessionId','isUndoneOperation','data','cloudDocumentVersion','entries','_loadRoot','createRange','has','getConnectedSessions','_getAffectedRoot','from','createdAt','_knownOperations','applyOperation','unregister','sessionAdd:','_applyOperationsSet','collaboration.channelId','_decompressOperations','$root','InsertOperation','userId','_updateServerHistory','differ','getOperationAuthor','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','798786uthCCf','model','_disconnectionOperations','slice','clone','_handleReconnectionError','_handleReconnectionResponse','__className','_handleInitialConnectionData','_compressor','createPositionFromPath','CommentsOnly','_setPendingAction','serverHistory','PENDING_ACTION_SENDING_DATA','get','_isPendingUpdate','getIdOfTheLastOperation','newRange','_connectService','_pendingAction','_currentBufferDelay','apply','init','selection','pluginName','_setUpDataInit','_lastServerVersion','realtimecollaborationclient-handleserverresponse','set','_isInit','fromJSON','decompress','wereChangesApplied','affectedSelectable','addOperation','_isLoaded','8350440aJYPCO','parse','_hasSynchronizationProblem','Synchronization\x20issue','27MAkGBm','rtc-destroyed','locale','addUser','map','isDocumentOperation','path','addRootAttribute','push','permissions','realtimecollaborationclient-initservice-incorrect-server-operation','bind'];_0x1bc7=function(){return _0x81f8a7;};return _0x1bc7();}import{User as _0x18ff20,CollaborativeEditingService as _0x470d47}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x3c2e6d{static get[_0x475805(0x1b2)](){return[_0x360259,_0x3c63bd,_0x13b07e,_0x534ad9,_0x4f4e43,_0x7199d];}static get[_0x475805(0x176)](){const _0x27c311=_0x475805;return _0x27c311(0x203);}get[_0x475805(0x146)](){const _0x5a48c1=_0x475805;return this[_0x5a48c1(0x178)]+this[_0x5a48c1(0x13e)];}get[_0x475805(0x178)](){const _0x9394e=_0x475805;return this[_0x9394e(0x16a)][_0x9394e(0x19b)]-this[_0x9394e(0x13e)];}get[_0x475805(0x12f)](){const _0x450b18=_0x475805,_0x3975fe=this[_0x450b18(0x16a)][_0x450b18(0x1b4)]();for(let _0x4c7838=_0x3975fe[_0x450b18(0x1fb)]-0x1;_0x4c7838>=0x0;_0x4c7838--){const _0x3f3bac=_0x3975fe[_0x4c7838];if(!this[_0x450b18(0x15f)][_0x450b18(0x14a)](_0x3f3bac))return _0x3f3bac[_0x450b18(0x1ef)]+0x1-this[_0x450b18(0x13e)];}return 0x0;}constructor(_0x40c921){const _0x170df9=_0x475805;if(super(_0x40c921),this[_0x170df9(0x13e)]=0x0,this[_0x170df9(0x143)]=null,this[_0x170df9(0x16a)]=new _0x31bbcf(),this[_0x170df9(0x12c)][_0x170df9(0x133)][_0x170df9(0x218)](_0x170df9(0x1c0),{}),this[_0x170df9(0x1ff)]=this[_0x170df9(0x12c)][_0x170df9(0x133)][_0x170df9(0x16c)](_0x170df9(0x154)),!this[_0x170df9(0x1ff)])throw new _0x55b7af(_0x170df9(0x19d),this);const _0x2be4d4=_0x40c921[_0x170df9(0x133)][_0x170df9(0x16c)](_0x170df9(0x1f9))||_0x3948ae;this[_0x170df9(0x207)]=new l[(_0x170df9(0x1e4))](_0x2be4d4,this[_0x170df9(0x1ff)]),this[_0x170df9(0x204)]=this[_0x170df9(0x12c)][_0x170df9(0x15e)][_0x170df9(0x205)],this[_0x170df9(0x166)]=new _0x4d20b3(),this[_0x170df9(0x197)]=[],this[_0x170df9(0x14f)]=new WeakSet(),this[_0x170df9(0x1ee)]=new Set(),this[_0x170df9(0x17a)](_0x170df9(0x16d),!0x1),this[_0x170df9(0x17a)](_0x170df9(0x184),!0x1),this[_0x170df9(0x171)]=null,this[_0x170df9(0x19a)]=!0x1,this[_0x170df9(0x1f6)]=null,this[_0x170df9(0x212)]=0x12c,this[_0x170df9(0x172)]=this[_0x170df9(0x212)],this[_0x170df9(0x1bb)]=null,this[_0x170df9(0x15f)]=new WeakSet(),this[_0x170df9(0x1b3)]=new X(this[_0x170df9(0x15f)]);}[_0x475805(0x174)](){const _0x4c2205=_0x475805,_0x5a9cfd=this[_0x4c2205(0x12c)],_0x51c9c7=_0x5a9cfd[_0x4c2205(0x225)][_0x4c2205(0x16c)](_0x4f4e43),_0x1c7f89=_0x5a9cfd[_0x4c2205(0x225)][_0x4c2205(0x16c)](_0x360259);this[_0x4c2205(0x1ed)](_0x51c9c7,_0x4c2205(0x15b),(_0x5957db,_0x1c9052)=>{const _0x367135=_0x4c2205,_0x5920b2=_0x1c9052[0x0];_0x5920b2[_0x367135(0x1dd)]&&(_0x5957db[_0x367135(0x1e3)]=_0x51c9c7[_0x367135(0x1f7)](_0x5920b2[_0x367135(0x1dd)]),_0x5957db[_0x367135(0x1ad)]()),null===_0x5920b2[_0x367135(0x1dd)]&&(_0x5957db[_0x367135(0x1e3)]=null,_0x5957db[_0x367135(0x1ad)]());},{'priority':_0x4c2205(0x130)}),this[_0x4c2205(0x1ed)](_0x5a9cfd[_0x4c2205(0x15e)][_0x4c2205(0x205)][_0x4c2205(0x175)],_0x4c2205(0x1fe),(_0x3ffb10,_0x2e4a9a)=>{const _0x4cbbc8=_0x4c2205;_0x2e4a9a[_0x4cbbc8(0x1aa)]&&this[_0x4cbbc8(0x20a)]();}),this[_0x4c2205(0x1ed)](_0x5a9cfd[_0x4c2205(0x1c2)][_0x4c2205(0x214)],_0x4c2205(0x217),()=>{const _0x3fe8a9=_0x4c2205;this[_0x3fe8a9(0x20a)]();}),this[_0x4c2205(0x13c)](),_0x5a9cfd[_0x4c2205(0x15e)]['on'](_0x4c2205(0x150),(_0x218edd,_0x157ce3)=>{const _0x49f08c=_0x4c2205,_0x3ad3c7=_0x157ce3[0x0];_0x3ad3c7[_0x49f08c(0x18b)]&&(this[_0x49f08c(0x194)](_0x3ad3c7),this[_0x49f08c(0x12a)]()&&this[_0x49f08c(0x1b0)]());}),this[_0x4c2205(0x177)](),this[_0x4c2205(0x191)](_0x4c2205(0x201))['to'](_0x1c7f89,_0x4c2205(0x1f1),this,_0x4c2205(0x184),(_0x107ff0,_0x5b3df3)=>_0x4c2205(0x20f)===_0x107ff0&&!_0x5b3df3),this['on'](_0x4c2205(0x1c6),()=>{const _0x52b9c4=_0x4c2205;this[_0x52b9c4(0x201)]?_0x5a9cfd[_0x52b9c4(0x129)](_0x52b9c4(0x1dc)):_0x5a9cfd[_0x52b9c4(0x127)](_0x52b9c4(0x1dc));}),this[_0x4c2205(0x201)]?_0x5a9cfd[_0x4c2205(0x129)](_0x4c2205(0x1dc)):_0x5a9cfd[_0x4c2205(0x127)](_0x4c2205(0x1dc)),this[_0x4c2205(0x17a)](_0x4c2205(0x1af),!0x1);}async[_0x475805(0x21b)](){const _0xf52598=_0x475805,_0x293187=this[_0xf52598(0x12c)][_0xf52598(0x225)][_0xf52598(0x16c)](_0x3c63bd),_0x189069=this[_0xf52598(0x12c)][_0xf52598(0x225)][_0xf52598(0x16c)](_0x360259);try{this[_0xf52598(0x16d)]=!0x0,_0x293187[_0xf52598(0x151)](this[_0xf52598(0x1ff)]);const _0x12c74c=await this[_0xf52598(0x207)][_0xf52598(0x21b)](_0x189069[_0xf52598(0x220)],this[_0xf52598(0x12f)]);await this[_0xf52598(0x163)](_0x12c74c)&&(this[_0xf52598(0x16d)]=!0x1,this[_0xf52598(0x134)]());const _0x989f26=await this[_0xf52598(0x207)][_0xf52598(0x14b)]();_0x293187[_0xf52598(0x21a)](this[_0xf52598(0x1ff)],_0x989f26),this[_0xf52598(0x21d)](),this[_0xf52598(0x1af)]=!0x0;}catch(_0x5030a8){if(function(_0x49d499){const _0x1ae43d=_0xf52598;return _0x1ae43d(0x1ec)===_0x49d499[_0x1ae43d(0x20c)];}(_0x5030a8)&&this[_0xf52598(0x143)])await this[_0xf52598(0x1a5)]();else{if(function(_0x64f95e){const _0x3e91db=_0xf52598;return _0x3e91db(0x20d)===_0x64f95e[_0x3e91db(0x20c)];}(_0x5030a8)){const _0x1e0e42=_0x10faaf(this[_0xf52598(0x12c)][_0xf52598(0x188)],_0xf52598(0x209));this[_0xf52598(0x162)](_0x1e0e42);}else{if(!(_0x5030a8 instanceof J))throw _0x5030a8;this[_0xf52598(0x162)]();}}}}[_0x475805(0x200)](){const _0x5e5ead=_0x475805,_0x26f4e7=this[_0x5e5ead(0x12c)][_0x5e5ead(0x225)][_0x5e5ead(0x16c)](_0x360259),_0x4eb4f3=this[_0x5e5ead(0x12c)][_0x5e5ead(0x225)][_0x5e5ead(0x16c)](_0x3c63bd);this[_0x5e5ead(0x12c)][_0x5e5ead(0x127)](_0x5e5ead(0x187)),_0x4eb4f3[_0x5e5ead(0x1f3)][_0x5e5ead(0x14a)](this[_0x5e5ead(0x1ff)])&&_0x4eb4f3[_0x5e5ead(0x151)](this[_0x5e5ead(0x1ff)]),_0x26f4e7[_0x5e5ead(0x1f8)](this),this[_0x5e5ead(0x141)](),super[_0x5e5ead(0x200)]();}async[_0x475805(0x163)](_0x38459a){const _0xa6b6f=_0x475805;if(this[_0xa6b6f(0x143)]!==_0x38459a[_0xa6b6f(0x143)]&&this[_0xa6b6f(0x1bb)]!==_0x38459a[_0xa6b6f(0x199)])throw new J();return this[_0xa6b6f(0x143)]=_0x38459a[_0xa6b6f(0x143)],this[_0xa6b6f(0x210)]([],{..._0x38459a,'wereChangesApplied':!0x1,'data':_0x38459a[_0xa6b6f(0x145)]},_0xa6b6f(0x21b));}async[_0x475805(0x170)](_0x492b39,_0xa782c6=!0x1){const _0x353eda=_0x475805,{connection:_0xdc0f3e}=this[_0x353eda(0x12c)][_0x353eda(0x225)][_0x353eda(0x16c)](_0x360259);l[_0x353eda(0x1e4)][_0x353eda(0x14b)](_0xdc0f3e,this[_0x353eda(0x1ff)])[_0x353eda(0x1d0)](_0x1c54c4=>this[_0x353eda(0x13d)](_0x1c54c4))[_0x353eda(0x1db)](_0x517447=>{const _0xa00e98=_0x353eda;this[_0xa00e98(0x1a2)](_0xa00e98(0x1eb),_0x517447);}),this[_0x353eda(0x1ed)](this[_0x353eda(0x207)],_0x353eda(0x213),this[_0x353eda(0x136)][_0x353eda(0x191)](this)),this[_0x353eda(0x1ed)](this[_0x353eda(0x207)],_0x353eda(0x222),(_0x3ab45d,_0x3530e6)=>{const _0x4cf406=_0x353eda;this[_0x4cf406(0x1a2)](_0x4cf406(0x1b1),_0x3530e6);}),this[_0x353eda(0x1ed)](this[_0x353eda(0x207)],_0x353eda(0x1bf),()=>{const _0x5bd011=_0x353eda;this[_0x5bd011(0x1af)]=!0x1;});const _0x466eb7=this[_0x353eda(0x1b3)][_0x353eda(0x16e)](_0x492b39);this[_0x353eda(0x16d)]=!0x0;const _0x57d267=await this[_0x353eda(0x207)][_0x353eda(0x1b6)](_0xdc0f3e,this[_0x353eda(0x1cb)](_0x492b39),_0x466eb7);if(this[_0x353eda(0x143)]=_0x57d267[_0x353eda(0x143)],_0xa782c6){if(!_0x57d267[_0x353eda(0x17e)])return void this[_0x353eda(0x162)]();this[_0x353eda(0x16d)]=!0x1,this[_0x353eda(0x134)](),this[_0x353eda(0x16a)][_0x353eda(0x1be)](),this[_0x353eda(0x13e)]=_0x57d267[_0x353eda(0x1e8)],this[_0x353eda(0x16a)][_0x353eda(0x19b)]=this[_0x353eda(0x13e)],await this[_0x353eda(0x210)](_0x492b39,_0x57d267,_0x353eda(0x1e2));}else await this[_0x353eda(0x165)](_0x57d267,_0x492b39);this[_0x353eda(0x21d)](),this[_0x353eda(0x1af)]=!0x0;}[_0x475805(0x21d)](){const _0x18a2f0=_0x475805,_0x5f5d0b=this[_0x18a2f0(0x12c)][_0x18a2f0(0x225)][_0x18a2f0(0x16c)](_0x3c63bd),_0x39c91a=this[_0x18a2f0(0x12c)][_0x18a2f0(0x225)][_0x18a2f0(0x16c)](_0x13b07e),_0x35d125=_0x5f5d0b[_0x18a2f0(0x1f3)][_0x18a2f0(0x16c)](this[_0x18a2f0(0x1ff)]);_0x35d125&&_0x35d125[_0x18a2f0(0x1fb)]>0x1?_0x39c91a[_0x18a2f0(0x1cf)]():this[_0x18a2f0(0x1ed)](_0x5f5d0b,_0x18a2f0(0x152)+this[_0x18a2f0(0x1ff)],()=>{const _0x5cfc9b=_0x18a2f0;0x2===_0x5f5d0b[_0x5cfc9b(0x1f3)][_0x5cfc9b(0x16c)](this[_0x5cfc9b(0x1ff)])[_0x5cfc9b(0x1fb)]&&_0x39c91a[_0x5cfc9b(0x1cf)]();});}async[_0x475805(0x136)](_0x403f3c,_0x5c6539,_0x32066c,_0x6003fb){const _0x23073c=_0x475805;if(!this[_0x23073c(0x16d)]&&this[_0x23073c(0x204)][_0x23073c(0x19b)]==_0x5c6539){const _0x6ee5a8=this[_0x23073c(0x155)](_0x32066c,_0x6003fb);await this[_0x23073c(0x1a1)](_0x6ee5a8),this[_0x23073c(0x1d1)](_0x6ee5a8,_0x5c6539,_0x32066c[_0x23073c(0x199)])||this[_0x23073c(0x1a2)](_0x23073c(0x190));}}async[_0x475805(0x1a5)](){const _0x1330ff=_0x475805;this[_0x1330ff(0x141)]();const {locale:_0x26e539}=this[_0x1330ff(0x12c)];let _0x141996;try{_0x141996=await this[_0x1330ff(0x207)][_0x1330ff(0x1c7)]();}catch(_0x533a59){const _0x535324=_0x10faaf(_0x26e539,_0x1330ff(0x1e0));return void this[_0x1330ff(0x162)](_0x535324);}const _0x3428ff=_0x141996[_0x1330ff(0x206)]||_0x141996[_0x1330ff(0x1ac)];if(this[_0x1330ff(0x1bb)]===_0x3428ff[_0x1330ff(0x199)])await this[_0x1330ff(0x170)](this[_0x1330ff(0x12c)][_0x1330ff(0x15e)][_0x1330ff(0x205)][_0x1330ff(0x1bc)][_0x1330ff(0x1b4)](),!0x0);else{const _0x2204c8=_0x10faaf(_0x26e539,_0x1330ff(0x19e));this[_0x1330ff(0x162)](_0x2204c8);}}[_0x475805(0x141)](){const _0x680302=_0x475805;this[_0x680302(0x207)][_0x680302(0x1c9)](),this[_0x680302(0x197)]=[],clearTimeout(this[_0x680302(0x1f6)]),this[_0x680302(0x1c4)](this[_0x680302(0x207)]);}[_0x475805(0x13d)](_0x4ea2ba){const _0x38af46=_0x475805,_0x449547=this[_0x38af46(0x12c)][_0x38af46(0x225)][_0x38af46(0x16c)](_0x3c63bd);this[_0x38af46(0x1ed)](_0x449547,_0x38af46(0x152)+this[_0x38af46(0x1ff)],(_0x2bf666,{session:_0x54919e})=>{const _0xf641f=_0x38af46;if(_0x54919e['id']===_0x449547[_0xf641f(0x1a6)]){_0x2bf666[_0xf641f(0x1bd)]();const _0x4101b=this[_0xf641f(0x12c)][_0xf641f(0x225)][_0xf641f(0x14a)](_0xf641f(0x168))&&this[_0xf641f(0x12c)][_0xf641f(0x225)][_0xf641f(0x16c)](_0xf641f(0x168));let _0x324cf9=_0x54919e[_0xf641f(0x18f)];_0x4101b&&_0x4101b[_0xf641f(0x1c1)]&&(_0x324cf9=_0x324cf9[_0xf641f(0x1b9)](_0x47ac6f=>_0xf641f(0x140)!==_0x47ac6f)),this[_0xf641f(0x12c)][_0xf641f(0x225)][_0xf641f(0x16c)](_0xf641f(0x1c5))[_0xf641f(0x219)](_0x324cf9,this[_0xf641f(0x1ff)]);}}),_0x449547[_0x38af46(0x21a)](this[_0x38af46(0x1ff)],_0x4ea2ba);}[_0x475805(0x13c)](){const _0x49f417=_0x475805,_0x49ceb0=this[_0x49f417(0x12c)][_0x49f417(0x145)][_0x49f417(0x17a)];this[_0x49f417(0x12c)][_0x49f417(0x145)][_0x49f417(0x17a)]=(..._0x5909c3)=>{const _0x530f9d=_0x49f417;if(!_0x5909c3[_0x5909c3[_0x530f9d(0x1fb)]-0x1][_0x530f9d(0x19f)])throw new _0x55b7af(_0x530f9d(0x15c),this);_0x49ceb0[_0x530f9d(0x173)](this[_0x530f9d(0x12c)][_0x530f9d(0x145)],_0x5909c3);};}[_0x475805(0x177)](){const _0x45ce3f=_0x475805;this[_0x45ce3f(0x12c)][_0x45ce3f(0x145)]['on'](_0x45ce3f(0x174),(_0x55e7e5,[_0x4be6b3])=>{const _0x258298=_0x45ce3f;if(this[_0x258298(0x204)][_0x258298(0x19b)])throw new _0x55b7af(_0x258298(0x13a),this);_0x55e7e5[_0x258298(0x1ad)](),this[_0x258298(0x169)]();const _0xa7c8e3=this[_0x258298(0x12c)][_0x258298(0x133)][_0x258298(0x16c)](_0x258298(0x1d5)),_0x145e97=this[_0x258298(0x1df)](_0x4be6b3,_0xa7c8e3);0x0==_0x145e97[_0x258298(0x1fb)]&&_0x145e97[_0x258298(0x18e)](new _0x47b2ca(0x0)),_0x55e7e5[_0x258298(0x1e3)]=this[_0x258298(0x170)](_0x145e97)[_0x258298(0x1d0)](()=>{const _0x352bb2=_0x258298;this[_0x352bb2(0x12c)][_0x352bb2(0x225)][_0x352bb2(0x16c)](_0x360259)[_0x352bb2(0x192)](this),this[_0x352bb2(0x12c)][_0x352bb2(0x145)][_0x352bb2(0x1fc)](_0x352bb2(0x1cd));})[_0x258298(0x1db)](_0xaa1a75=>this[_0x258298(0x1a2)](_0x258298(0x128),_0xaa1a75))[_0x258298(0x21e)](()=>this[_0x258298(0x134)]());},{'priority':_0x45ce3f(0x130)}),this[_0x45ce3f(0x12c)]['on'](_0x45ce3f(0x1b5),async(_0x3cc030,[_0x376492,_0x20347f])=>{const _0x5d1782=_0x45ce3f;_0x3cc030[_0x5d1782(0x1ad)]();const _0x192c4=this[_0x5d1782(0x12c)][_0x5d1782(0x15e)][_0x5d1782(0x205)][_0x5d1782(0x12e)](_0x376492);if(!this[_0x5d1782(0x1ee)][_0x5d1782(0x14a)](_0x376492)){const _0x2397dd=_0x20347f&&_0x20347f[_0x5d1782(0x145)]?_0x20347f[_0x5d1782(0x145)]:'',_0x5cba35=_0x20347f&&_0x20347f[_0x5d1782(0x1b8)]?_0x20347f[_0x5d1782(0x1b8)]:{};await this[_0x5d1782(0x148)](_0x376492,_0x2397dd,_0x5cba35);}this[_0x5d1782(0x12c)][_0x5d1782(0x15e)][_0x5d1782(0x20b)]({'isUndoable':!0x1},()=>{const _0x325353=_0x5d1782;_0x192c4[_0x325353(0x181)]=!0x0,this[_0x325353(0x12c)][_0x325353(0x15e)][_0x325353(0x205)][_0x325353(0x15a)][_0x325353(0x221)](_0x192c4);});},{'priority':_0x45ce3f(0x130)});}async[_0x475805(0x1a1)](_0x58c32d){const _0x58db39=_0x475805,_0x41ded3=this[_0x58db39(0x12c)][_0x58db39(0x225)][_0x58db39(0x16c)](_0x4f4e43),{connection:_0x31cd75}=this[_0x58db39(0x12c)][_0x58db39(0x225)][_0x58db39(0x16c)](_0x360259),_0x14c4a4=new Set();for(const _0x4c0b42 of _0x58c32d){const _0xf4570=_0x4c0b42[_0x58db39(0x1dd)];_0xf4570&&!_0x41ded3[_0x58db39(0x1f7)](_0xf4570)&&_0x14c4a4[_0x58db39(0x21c)](_0xf4570);}if(0x0===_0x14c4a4[_0x58db39(0x19c)])return;const _0x3c96b9=await _0x18ff20[_0x58db39(0x1cc)](_0x31cd75,Array[_0x58db39(0x14d)](_0x14c4a4));for(const _0x2c7561 of _0x3c96b9)_0x41ded3[_0x58db39(0x1f7)](_0x2c7561['id'])||_0x41ded3[_0x58db39(0x189)](_0x2c7561);}[_0x475805(0x1df)](_0x2f80b8,_0x383c5c={}){const _0x34764d=_0x475805,_0x1e858c=this[_0x34764d(0x12c)][_0x34764d(0x15e)],_0x23eed6=[];let _0xbac270=0x0;const _0x397270=_0x34764d(0x1c3)==typeof _0x2f80b8?{'main':_0x2f80b8}:_0x2f80b8;for(const _0x2a3482 of Object[_0x34764d(0x1ea)](_0x397270)){if(!this[_0x34764d(0x204)][_0x34764d(0x1a3)][_0x34764d(0x14a)](_0x2a3482))throw new _0x55b7af(_0x34764d(0x1d8),this);const _0x424401=this[_0x34764d(0x12c)][_0x34764d(0x145)][_0x34764d(0x183)](_0x397270[_0x2a3482]),_0x1aeee4=this[_0x34764d(0x204)][_0x34764d(0x12e)](_0x2a3482),_0x32eea9=new _0x953674(_0x1e858c[_0x34764d(0x1f4)](_0x1aeee4,0x0),_0x424401,_0xbac270++);_0x23eed6[_0x34764d(0x18e)](_0x32eea9);for(const [_0x4f91e1,_0x3cdf2d]of _0x424401[_0x34764d(0x216)]){const _0x4021bc=_0x1e858c[_0x34764d(0x149)](_0x1e858c[_0x34764d(0x167)](_0x1aeee4,_0x3cdf2d[_0x34764d(0x132)][_0x34764d(0x18c)][_0x34764d(0x160)]()),_0x1e858c[_0x34764d(0x167)](_0x1aeee4,_0x3cdf2d[_0x34764d(0x1a8)][_0x34764d(0x18c)][_0x34764d(0x160)]())),_0x22af45=new _0x352f2f(_0x4f91e1,null,_0x4021bc,_0x1e858c[_0x34764d(0x216)],!0x0,_0xbac270++);_0x23eed6[_0x34764d(0x18e)](_0x22af45);}}if(_0x383c5c)for(const [_0x18697b,_0x517b2f]of Object[_0x34764d(0x147)](_0x383c5c)){const _0x376406=_0x1e858c[_0x34764d(0x205)][_0x34764d(0x12e)](_0x18697b);if(!_0x376406)throw new _0x55b7af(_0x34764d(0x1ba),null);for(const [_0x141588,_0xa13643]of Object[_0x34764d(0x147)](_0x517b2f))if(null!==_0xa13643){const _0x3ae3bd=new _0x2aaeca(_0x376406,_0x141588,null,_0xa13643,_0xbac270++);_0x23eed6[_0x34764d(0x18e)](_0x3ae3bd);}}return _0x23eed6;}async[_0x475805(0x148)](_0x2f339c,_0x9fe835,_0x383d3f){const _0x143fd0=_0x475805;this[_0x143fd0(0x1df)]({[_0x2f339c]:_0x9fe835},{[_0x2f339c]:_0x383d3f})[_0x143fd0(0x1ce)]((_0x5dc573,_0x183f03)=>{const _0x15c436=_0x143fd0;_0x5dc573[_0x15c436(0x1ef)]=this[_0x15c436(0x204)][_0x15c436(0x19b)]+_0x183f03,_0x5dc573[_0x15c436(0x17b)]=!0x0,this[_0x15c436(0x194)](_0x5dc573);}),this[_0x143fd0(0x1b0)](),await this[_0x143fd0(0x13b)]();}async[_0x475805(0x165)](_0x3ed8f8,_0x27c6a0){const _0x3709e4=_0x475805;let _0xeaf931;this[_0x3709e4(0x13e)]=_0x3ed8f8[_0x3709e4(0x1e8)];const _0x456628=_0x3ed8f8[_0x3709e4(0x17e)]&&!_0x3ed8f8[_0x3709e4(0x131)],_0x58c16e=_0x456628?0x0:_0x3ed8f8[_0x3709e4(0x145)][_0x3709e4(0x1ef)];if(_0x27c6a0[_0x3709e4(0x1ce)](_0x447e88=>{const _0x199531=_0x3709e4;_0x447e88[_0x199531(0x17b)]=!0x0,_0x447e88[_0x199531(0x14e)]=_0x3ed8f8[_0x199531(0x224)],_0x447e88[_0x199531(0x1dd)]=null;}),_0x456628)_0xeaf931=_0x27c6a0,this[_0x3709e4(0x153)](_0xeaf931,_0x456628);else{if(_0x3ed8f8[_0x3709e4(0x131)]){const _0x4ccfab=this[_0x3709e4(0x1df)](_0x3ed8f8[_0x3709e4(0x131)]);this[_0x3709e4(0x204)][_0x3709e4(0x1bc)][_0x3709e4(0x19b)]=-_0x4ccfab[_0x3709e4(0x1fb)],_0x4ccfab[_0x3709e4(0x1ce)](_0x13a240=>{const _0x4333be=_0x3709e4;_0x13a240[_0x4333be(0x1ef)]-=_0x4ccfab[_0x4333be(0x1fb)],_0x13a240[_0x4333be(0x14e)]=_0x3ed8f8[_0x4333be(0x224)],_0x13a240[_0x4333be(0x17b)]=!0x0,_0x13a240[_0x4333be(0x1dd)]=null;}),this[_0x3709e4(0x153)](_0x4ccfab,!0x0),this[_0x3709e4(0x16a)][_0x3709e4(0x19b)]=-_0x4ccfab[_0x3709e4(0x1fb)]+this[_0x3709e4(0x13e)],this[_0x3709e4(0x159)](_0x4ccfab);}this[_0x3709e4(0x204)][_0x3709e4(0x1bc)][_0x3709e4(0x19b)]=_0x58c16e,_0xeaf931=this[_0x3709e4(0x155)](_0x3ed8f8[_0x3709e4(0x145)],_0x3ed8f8[_0x3709e4(0x20e)]),await this[_0x3709e4(0x1a1)](_0xeaf931),this[_0x3709e4(0x153)](_0xeaf931,_0x456628);}_0x3ed8f8[_0x3709e4(0x199)]&&(this[_0x3709e4(0x1b3)][_0x3709e4(0x1d6)](_0xeaf931,_0x3ed8f8[_0x3709e4(0x199)]),this[_0x3709e4(0x1bb)]=_0x3ed8f8[_0x3709e4(0x199)]),this[_0x3709e4(0x16a)][_0x3709e4(0x19b)]=_0x58c16e+this[_0x3709e4(0x13e)],this[_0x3709e4(0x159)](_0xeaf931),_0x27c6a0[_0x3709e4(0x1b9)](_0x5f3ff5=>{const _0x143e65=_0x3709e4,_0x371b36=this[_0x143e65(0x14c)](_0x5f3ff5);return _0x371b36&&!this[_0x143e65(0x1ee)][_0x143e65(0x14a)](_0x371b36);})[_0x3709e4(0x1ce)]((_0x2561b5,_0x560dfb)=>{const _0x3fc376=_0x3709e4;_0x2561b5[_0x3fc376(0x1ef)]=this[_0x3fc376(0x204)][_0x3fc376(0x19b)]+_0x560dfb,this[_0x3fc376(0x194)](_0x2561b5);}),this[_0x3709e4(0x12a)]()?(this[_0x3709e4(0x172)]=0x0,this[_0x3709e4(0x1b0)](!0x0),await this[_0x3709e4(0x13b)]()):(this[_0x3709e4(0x16d)]=!0x1,this[_0x3709e4(0x134)]());}[_0x475805(0x1a2)](_0x2b1ec1,_0x5d676c){const _0x36eaae=_0x475805;throw this[_0x36eaae(0x16d)]=!0x0,_0x5d676c&&console[_0x36eaae(0x222)](_0x5d676c),new _0x55b7af(_0x2b1ec1,this[_0x36eaae(0x12c)]);}[_0x475805(0x194)](_0x5a9574){const _0x19cbe1=_0x475805;this[_0x19cbe1(0x14f)][_0x19cbe1(0x14a)](_0x5a9574)||(this[_0x19cbe1(0x14f)][_0x19cbe1(0x21c)](_0x5a9574),this[_0x19cbe1(0x197)][_0x19cbe1(0x18e)](_0x5a9574),this[_0x19cbe1(0x171)]||_0x19cbe1(0x223)==_0x5a9574[_0x19cbe1(0x1d2)]&&!_0x5a9574[_0x19cbe1(0x138)]||this[_0x19cbe1(0x169)]());}[_0x475805(0x1b0)](_0x342b8d=!0x1){const _0x1bb672=_0x475805;!_0x342b8d&&this[_0x1bb672(0x16d)]||(this[_0x1bb672(0x16d)]=!0x0,clearTimeout(this[_0x1bb672(0x1f6)]),this[_0x1bb672(0x1f6)]=setTimeout(()=>{const _0x39ade9=_0x1bb672;this[_0x39ade9(0x1f2)]()[_0x39ade9(0x1d0)](_0x25a789=>{const _0x4a9f54=_0x39ade9;_0x25a789&&(this[_0x4a9f54(0x134)](),this[_0x4a9f54(0x16d)]=!0x1);})[_0x39ade9(0x1db)](_0x183ca1=>{const _0x744c04=_0x39ade9;if(this[_0x744c04(0x134)](),this[_0x744c04(0x16d)]=!0x1,!function(_0x1c7c6d){const _0x2024eb=_0x744c04;return _0x1c7c6d[_0x2024eb(0x1e5)][_0x2024eb(0x1da)](_0x2024eb(0x1ca))||_0x1c7c6d[_0x2024eb(0x1e5)][_0x2024eb(0x1da)](_0x2024eb(0x1ab))||_0x1c7c6d[_0x2024eb(0x1e5)][_0x2024eb(0x1da)](_0x2024eb(0x12d));}(_0x183ca1))throw _0x183ca1;});},this[_0x1bb672(0x172)]));}[_0x475805(0x13b)](){return new Promise(_0x47bd08=>{const _0x26a16b=_0x6a62;this['on'](_0x26a16b(0x202),()=>{_0x47bd08();});});}async[_0x475805(0x1f2)](){const _0x4c0089=_0x475805,_0x44a23d=this[_0x4c0089(0x12c)][_0x4c0089(0x225)][_0x4c0089(0x16c)](_0x13b07e);if(this[_0x4c0089(0x1a9)]()&&(_0x44a23d[_0x4c0089(0x1cf)](),this[_0x4c0089(0x19a)]=!0x1),!this[_0x4c0089(0x12a)]())return!0x0;const _0x2f676c=[...this[_0x4c0089(0x197)]];for(const _0x2e9bb1 of _0x2f676c)_0x2e9bb1[_0x4c0089(0x137)]=this[_0x4c0089(0x204)][_0x4c0089(0x1bc)][_0x4c0089(0x144)](_0x2e9bb1);const _0x2ca54c=this[_0x4c0089(0x1b3)][_0x4c0089(0x16e)](_0x2f676c),_0x363f80=K++,_0x321f81=this[_0x4c0089(0x1cb)](_0x2f676c),_0x2a7ea9=await this[_0x4c0089(0x207)][_0x4c0089(0x208)](_0x321f81,_0x321f81[_0x4c0089(0x1ef)],_0x2ca54c);try{return await this[_0x4c0089(0x210)](_0x2f676c,_0x2a7ea9,_0x363f80);}catch(_0x4d9ff2){return this[_0x4c0089(0x1a2)](_0x4c0089(0x1ae),_0x4d9ff2);}}async[_0x475805(0x210)](_0x378edc,_0xc6a4eb,_0x259e13){const _0x5f45c5=_0x475805;if(_0x5f45c5(0x222)in _0xc6a4eb)throw _0xc6a4eb[_0x5f45c5(0x222)];let _0x2d1ab6=!0x1;if(_0xc6a4eb[_0x5f45c5(0x17e)]){_0xc6a4eb[_0x5f45c5(0x199)]&&(this[_0x5f45c5(0x1bb)]=_0xc6a4eb[_0x5f45c5(0x199)]),this[_0x5f45c5(0x197)]=this[_0x5f45c5(0x197)][_0x5f45c5(0x1b9)](_0x4ce65c=>!_0x378edc[_0x5f45c5(0x142)](_0x4ce65c));for(const _0x25bb2d of _0x378edc)_0x25bb2d[_0x5f45c5(0x14e)]=_0x5f45c5(0x215)in _0xc6a4eb&&_0xc6a4eb[_0x5f45c5(0x215)]||void 0x0;Q(_0x378edc,_0xc6a4eb[_0x5f45c5(0x19b)]-_0x378edc[_0x5f45c5(0x1fb)]),this[_0x5f45c5(0x159)](_0x378edc);const _0x5a0ec2=_0x378edc[_0x5f45c5(0x1b9)](_0x28c66d=>{const _0x408f78=_0x5f45c5;if(!_0x28c66d[_0x408f78(0x17b)])return!0x1;const _0xa32013=this[_0x408f78(0x14c)](_0x28c66d);return _0xa32013&&!this[_0x408f78(0x1ee)][_0x408f78(0x14a)](_0xa32013);});Q(_0x5a0ec2,this[_0x5f45c5(0x204)][_0x5f45c5(0x19b)]),this[_0x5f45c5(0x153)](_0x5a0ec2),_0x2d1ab6=!0x0,this[_0x5f45c5(0x172)]=this[_0x5f45c5(0x212)];}else{const _0x2fa9b6=this[_0x5f45c5(0x155)](_0xc6a4eb[_0x5f45c5(0x145)],_0xc6a4eb[_0x5f45c5(0x20e)])[_0x5f45c5(0x1b9)](_0x51fbe6=>_0x51fbe6[_0x5f45c5(0x1ef)]>=this[_0x5f45c5(0x178)]);_0x2fa9b6[_0x5f45c5(0x1ce)](_0x5381f3=>this[_0x5f45c5(0x21f)](_0x5381f3)),this[_0x5f45c5(0x197)]=this[_0x5f45c5(0x197)][_0x5f45c5(0x1b9)](_0x554b06=>!_0x554b06[_0x5f45c5(0x17b)]||!this[_0x5f45c5(0x1ee)][_0x5f45c5(0x14a)](this[_0x5f45c5(0x14c)](_0x554b06))),this[_0x5f45c5(0x197)][_0x5f45c5(0x1fb)]&&Q(this[_0x5f45c5(0x197)],this[_0x5f45c5(0x197)][0x0][_0x5f45c5(0x1ef)]),await this[_0x5f45c5(0x1a1)](_0x2fa9b6),_0x2d1ab6=this[_0x5f45c5(0x1d1)](_0x2fa9b6,_0xc6a4eb[_0x5f45c5(0x19b)],_0xc6a4eb[_0x5f45c5(0x199)]),this[_0x5f45c5(0x172)]=Math[_0x5f45c5(0x1fd)](this[_0x5f45c5(0x172)]/0x2);}return _0x2d1ab6?!this[_0x5f45c5(0x12a)]()||(this[_0x5f45c5(0x1b0)](!0x0),!0x1):this[_0x5f45c5(0x1a2)](_0x5f45c5(0x179));}[_0x475805(0x1d1)](_0x4927b8,_0x547957,_0x15863f){const _0x588e43=_0x475805;try{const _0x19699b={'document':this[_0x588e43(0x204)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5988f6,operationsB:_0x11cef3,originalOperations:_0x408cb0}=_0x1ddcd5(_0x4927b8,this[_0x588e43(0x197)],_0x19699b);Q(_0x5988f6,this[_0x588e43(0x204)][_0x588e43(0x19b)]),Q(_0x11cef3,_0x547957);for(const _0x23f6b9 of _0x5988f6){const _0xe41c55=_0x408cb0[_0x588e43(0x16c)](_0x23f6b9);_0x23f6b9[_0x588e43(0x1dd)]=_0xe41c55?_0xe41c55[_0x588e43(0x1dd)]:null;}_0x15863f&&(this[_0x588e43(0x1b3)][_0x588e43(0x1d6)](_0x4927b8,_0x15863f),this[_0x588e43(0x1bb)]=_0x15863f),this[_0x588e43(0x197)]=[..._0x11cef3],this[_0x588e43(0x153)](_0x5988f6),this[_0x588e43(0x159)](_0x4927b8);}catch(_0xa2a61f){return console[_0x588e43(0x222)](_0xa2a61f),!0x1;}return!0x0;}[_0x475805(0x153)](_0x5d8df7,_0x8046dd=!0x1){const _0x521edf=_0x475805;this[_0x521edf(0x12c)][_0x521edf(0x15e)][_0x521edf(0x20b)]({'isUndoable':!0x1,'isLocal':!0x1},_0x19f17f=>{const _0x28de5b=_0x521edf;for(const _0x570f35 of _0x5d8df7)this[_0x28de5b(0x14f)][_0x28de5b(0x21c)](_0x570f35),this[_0x28de5b(0x21f)](_0x570f35),_0x19f17f[_0x28de5b(0x227)][_0x28de5b(0x180)](_0x570f35),this[_0x28de5b(0x12c)][_0x28de5b(0x15e)][_0x28de5b(0x150)](_0x570f35);});}[_0x475805(0x21f)](_0x245201){const _0x1020c2=_0x475805,_0x10d46e=this[_0x1020c2(0x14c)](_0x245201);_0x10d46e&&this[_0x1020c2(0x1ee)][_0x1020c2(0x21c)](_0x10d46e);}[_0x475805(0x14c)](_0x450655){const _0x2fe299=_0x475805;let _0x29e97f,_0x5d6e15;switch(_0x450655[_0x2fe299(0x1d2)]){case _0x2fe299(0x13f):_0x29e97f=_0x450655[_0x2fe299(0x139)][_0x2fe299(0x1d9)];break;case _0x2fe299(0x223):if(_0x5d6e15=_0x450655[_0x2fe299(0x16f)],!_0x5d6e15)return null;_0x29e97f=_0x5d6e15[_0x2fe299(0x1d9)];break;case _0x2fe299(0x18d):_0x29e97f=_0x450655[_0x2fe299(0x1d9)];break;case _0x2fe299(0x12b):_0x29e97f=_0x450655[_0x2fe299(0x17f)];break;case _0x2fe299(0x211):_0x29e97f=_0x450655[_0x2fe299(0x1f5)][_0x2fe299(0x1d9)];break;default:return null;}return _0x29e97f[_0x2fe299(0x1e6)];}[_0x475805(0x159)](_0x2d9674){const _0x2009f4=_0x475805;_0x2d9674[_0x2009f4(0x1ce)](_0x212bf1=>{const _0x3a8065=_0x2009f4,_0x2b4d76=_0x212bf1[_0x3a8065(0x161)]();_0x2b4d76[_0x3a8065(0x1dd)]=_0x212bf1[_0x3a8065(0x1dd)],_0x2b4d76[_0x3a8065(0x17b)]=!!_0x212bf1[_0x3a8065(0x17b)],_0x2b4d76[_0x3a8065(0x14e)]=_0x212bf1[_0x3a8065(0x14e)],_0x2b4d76[_0x3a8065(0x1ef)]+=this[_0x3a8065(0x13e)],_0x212bf1[_0x3a8065(0x1a7)]&&this[_0x3a8065(0x15f)][_0x3a8065(0x21c)](_0x2b4d76),this[_0x3a8065(0x16a)][_0x3a8065(0x180)](_0x2b4d76);});}[_0x475805(0x162)](_0x32d5dd){const _0x3e1b03=_0x475805,_0x4f9d35=this[_0x3e1b03(0x12c)][_0x3e1b03(0x225)][_0x3e1b03(0x16c)](_0x3e1b03(0x1e7)),_0x263a16=this[_0x3e1b03(0x12c)][_0x3e1b03(0x188)];_0x32d5dd||(_0x32d5dd=_0x10faaf(_0x263a16,_0x3e1b03(0x1d7))),_0x4f9d35[_0x3e1b03(0x1b7)](_0x32d5dd,{'title':_0x10faaf(_0x263a16,_0x3e1b03(0x185)),'namespace':_0x3e1b03(0x1e1)}),this[_0x3e1b03(0x184)]=!0x0,clearTimeout(this[_0x3e1b03(0x1f6)]),this[_0x3e1b03(0x197)]=[],this[_0x3e1b03(0x12c)][_0x3e1b03(0x225)][_0x3e1b03(0x16c)](_0x360259)[_0x3e1b03(0x200)]();}[_0x475805(0x169)](){const _0x569708=_0x475805;this[_0x569708(0x171)]||(this[_0x569708(0x171)]=this[_0x569708(0x12c)][_0x569708(0x225)][_0x569708(0x16c)](_0x534ad9)[_0x569708(0x21c)](_0x10faaf(this[_0x569708(0x12c)][_0x569708(0x188)],_0x569708(0x16b))));}[_0x475805(0x134)](){const _0x4cdba2=_0x475805;this[_0x4cdba2(0x171)]&&(this[_0x4cdba2(0x12c)][_0x4cdba2(0x225)][_0x4cdba2(0x16c)](_0x534ad9)[_0x4cdba2(0x226)](this[_0x4cdba2(0x171)]),this[_0x4cdba2(0x171)]=null);}[_0x475805(0x1cb)](_0x1f7b24){const _0x2f3d5f=_0x475805,_0x5c2d8f=_0x1f7b24[_0x2f3d5f(0x18a)](_0x8c8aa3=>_0x8c8aa3[_0x2f3d5f(0x1e9)]());return this[_0x2f3d5f(0x166)][_0x2f3d5f(0x1d3)](_0x5c2d8f);}[_0x475805(0x155)](_0x17734d,_0x525002){const _0x319bef=_0x475805;return this[_0x319bef(0x166)][_0x319bef(0x17d)](_0x17734d)[_0x319bef(0x18a)]((_0x35e7c5,_0x3790d6)=>{const _0x1c12eb=_0x319bef,_0x30c76e=_0x1c12eb(0x174)==_0x525002[_0x3790d6][_0x1c12eb(0x1d2)];if(_0x1c12eb(0x157)==_0x35e7c5[_0x1c12eb(0x164)]){const _0x443cd0=_0x35e7c5[_0x1c12eb(0x139)][_0x1c12eb(0x1d9)];!this[_0x1c12eb(0x204)][_0x1c12eb(0x12e)](_0x443cd0)&&(this[_0x1c12eb(0x204)][_0x1c12eb(0x1a4)](_0x1c12eb(0x156),_0x443cd0)[_0x1c12eb(0x135)]=!0x1);}const _0x2ac380=_0x40dea2[_0x1c12eb(0x17c)](_0x35e7c5,this[_0x1c12eb(0x204)]);return _0x2ac380[_0x1c12eb(0x137)]=_0x35e7c5[_0x1c12eb(0x137)],_0x2ac380[_0x1c12eb(0x17b)]=_0x30c76e,_0x2ac380[_0x1c12eb(0x1dd)]=_0x30c76e?null:_0x525002[_0x3790d6][_0x1c12eb(0x158)],_0x2ac380[_0x1c12eb(0x1a7)]=_0x1c12eb(0x1f0)===_0x525002[_0x3790d6][_0x1c12eb(0x1d2)],_0x2ac380[_0x1c12eb(0x14e)]=_0x525002[_0x3790d6][_0x1c12eb(0x14e)],_0x2ac380;});}[_0x475805(0x20a)](){const _0x1746ca=_0x475805;this[_0x1746ca(0x19a)]=!0x0,this[_0x1746ca(0x1a9)]()?this[_0x1746ca(0x1b0)]():this[_0x1746ca(0x19a)]=!0x1;}[_0x475805(0x1a9)](){const _0x4ae8fd=_0x475805,_0x2b04e6=this[_0x4ae8fd(0x12c)][_0x4ae8fd(0x225)][_0x4ae8fd(0x16c)](_0x3c63bd)[_0x4ae8fd(0x1f3)][_0x4ae8fd(0x16c)](this[_0x4ae8fd(0x1ff)]);return!this[_0x4ae8fd(0x12c)][_0x4ae8fd(0x1c8)]&&!!_0x2b04e6&&_0x2b04e6[_0x4ae8fd(0x1fb)]>0x1&&this[_0x4ae8fd(0x19a)];}[_0x475805(0x12a)](){const _0x456b12=_0x475805;return this[_0x456b12(0x197)][_0x456b12(0x1fb)]>0x0||this[_0x456b12(0x1a9)]();}}l[_0x475805(0x1e4)]=_0x470d47;function _0x6a62(_0x343566,_0xeaac65){const _0x1bc7f6=_0x1bc7();return _0x6a62=function(_0x6a62f5,_0x416f50){_0x6a62f5=_0x6a62f5-0x126;let _0x47351a=_0x1bc7f6[_0x6a62f5];return _0x47351a;},_0x6a62(_0x343566,_0xeaac65);}export default l;class J extends Error{}function Q(_0x4cd57a,_0x104112){const _0x489f10=_0x475805;for(const _0x7dd40c of _0x4cd57a)_0x7dd40c[_0x489f10(0x1ef)]=_0x104112++;}class X{constructor(_0x525d3b){const _0x30fdcc=_0x475805;this[_0x30fdcc(0x1fa)]=_0x525d3b,this[_0x30fdcc(0x193)]=new WeakMap();}[_0x475805(0x16e)](_0x2c7e71){const _0x461088=_0x475805;let _0x35a4c1=_0x2c7e71[_0x461088(0x1fb)];for(;_0x35a4c1--;){const _0xc4e82f=_0x2c7e71[_0x35a4c1];if(!this[_0x461088(0x1fa)][_0x461088(0x14a)](_0xc4e82f)){if(!this[_0x461088(0x193)][_0x461088(0x14a)](_0xc4e82f)){const _0x3c8bd0=_0x3b55c5()[_0x461088(0x160)](0x1,0x12);this[_0x461088(0x193)][_0x461088(0x17a)](_0xc4e82f,_0x3c8bd0);}return this[_0x461088(0x193)][_0x461088(0x16c)](_0xc4e82f);}}}[_0x475805(0x1d6)](_0x2a5cba,_0x22c248){const _0x194358=_0x475805;if(!_0x22c248)return;let _0x38eca2=_0x2a5cba[_0x194358(0x1fb)];for(;_0x38eca2--;){const _0x4fd258=_0x2a5cba[_0x38eca2];this[_0x194358(0x1fa)][_0x194358(0x14a)](_0x4fd258)||this[_0x194358(0x193)][_0x194358(0x17a)](_0x4fd258,_0x22c248);}}}
|
|
23
|
+
function _0x2f3e(_0x2bd9d7,_0x1e40b3){const _0x38dda6=_0x38dd();return _0x2f3e=function(_0x2f3ed4,_0x2f80cf){_0x2f3ed4=_0x2f3ed4-0xf3;let _0x3dfb75=_0x38dda6[_0x2f3ed4];return _0x3dfb75;},_0x2f3e(_0x2bd9d7,_0x1e40b3);}const _0x9c938c=_0x2f3e;(function(_0x314021,_0x31d680){const _0x553513=_0x2f3e,_0x53fce1=_0x314021();while(!![]){try{const _0x460fe8=parseInt(_0x553513(0x19c))/0x1*(-parseInt(_0x553513(0x170))/0x2)+parseInt(_0x553513(0x1ca))/0x3+parseInt(_0x553513(0x102))/0x4+-parseInt(_0x553513(0x1a0))/0x5+-parseInt(_0x553513(0x145))/0x6*(-parseInt(_0x553513(0x1d4))/0x7)+parseInt(_0x553513(0x1bb))/0x8*(-parseInt(_0x553513(0x17a))/0x9)+parseInt(_0x553513(0x17f))/0xa*(-parseInt(_0x553513(0x183))/0xb);if(_0x460fe8===_0x31d680)break;else _0x53fce1['push'](_0x53fce1['shift']());}catch(_0x9c2986){_0x53fce1['push'](_0x53fce1['shift']());}}}(_0x38dd,0x9c497));import{Plugin as _0x5f4d07,PendingActions as _0x221424}from'ckeditor5/src/core.js';import{CKEditorError as _0x4d8879,version as _0x39f93d,uid as _0x288e1b}from'ckeditor5/src/utils.js';import{Notification as _0x50b1da}from'ckeditor5/src/ui.js';import{transformSets as _0x4aa3b4,NoOperation as _0x54c66b,InsertOperation as _0x4bf43d,MarkerOperation as _0x55c30c,RootAttributeOperation as _0x54271c,OperationFactory as _0x241b0f,History as _0x4fd2c4}from'ckeditor5/src/engine.js';import _0x1685db from'./websocketgateway.js';import _0xce67e9 from'./sessions.js';function _0x38dd(){const _0x277fc0=['createdAt','addRoot','forEach','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-initservice-incorrect-server-operation','RealTimeCollaborationClient','409','_updateServerHistory','attributes','_hasSelectionChanged','define','remove','_setUpDataInit','_connectService','roots','length','_clearPendingAction','editing','get','_initSessionsHandling','addToReconnectionStack','add','isEnabled','_handleReceivedOperations','position','insert','lastOperationAcceptedAt','requires','serverHistory','CollaborativeEditingService','CommentsOnly','clone','rootName','_baseBufferDelay','404','cloudDocumentVersion','directChange','_lastSyncedOperationId','isReadOnly','_lastServerVersion','_disconnectionOperations','bind','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','Permissions','_bufferedOperations','change:_isEditingAllowed','_bufferRootLoad','cloud-services-internal-error:\x20Request\x20timeout.','real-time-collaboration','change:range','return','_loadRoot','size','_service','error','disconnected','initData','917712IaIDqe','PENDING_ACTION_SENDING_DATA','then','collaboration-missing-channelid','lastDocumentSession','destroy','locale','createRoot','realtimecollaborationclient-init-non-existent-root','stopListening','addUser','type','operationsReceived','start','string','state','createUserMarkerOperations','realtimecollaborationclient-init-session-connection-error','addRootAttribute','connected','config','_handleReconnectionResponse','listenTo','getMany','_isAttached','_handleInitialConnectionData','lastOperationId','sendOperations','enqueueChange','getOperationAuthor','path','multi-root-editor-root-attributes-no-root','reconnection:\x20flushed\x20session','connect','end','change:_isPendingUpdate','_sendBufferedOperationsDelayId','removeFromReconnectionStack','rtc-destroyed','_initThrowingOnDataSet','_offset','entries','from','178MhVoPX','_handleSendingSelectionMarkers','_handleServerResponse','_knownRootNames','_getOperationsFromInitData','_isLoaded','differ','_connectAfterSessionHasBeenFlushed','pluginName','getUser','262503kXizrb','apply','collaboration.channelId','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','reconnect','15220lOeDvH','document:write','_addKnownRoot','cloudServices.bundleVersion','4378WWkazP','_getAffectedRoot','_decompressOperations','markers','data','reset','_disconnectService','_currentBufferDelay','createPositionAt','decompress','InsertOperation','channelSessions','history','Notification','_shouldSendSelectionUpdate','newRange','wasUndone','permissions','affectedSelectable','init','finally','Synchronization\x20issue','map','_crash','round','13807VVPvXY','message','off','disableReadOnlyMode','324885QXcdKS','_operationIdentifier','_isConnected','root','getRoot','_refreshUserSelectionMarkers','catch','selection','getConnectedSessions','_authorId','sessionCreatedAt','$root','_compressor','_knownOperations','_isInit','_handleExternalOperations','change:hasDomSelection','document','realtimecollaborationclient-init-connection-failed','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','includes','setIdForTheLastOperation','_isPendingUpdate','_isEditingAllowed','realtimecollaborationclient-handleserverresponse','createRange','applyOperation','32QKwRCu','plugins','unregister','_operationToId','ready','batch','currentDocumentSession','_saveOperationInBuffer','suppressErrorInCollaboration','filter','_sendBufferedOperations','loadRoot','_ignoredOperations','_hasSynchronizationProblem','_fetchMissingUsers','3794271STSJDM','_shouldSendUpdate','_waitUntilSynced','fromJSON','__className','_isDisconnection','realtimecollaborationclient-initservice-internal-error','getOperations','editor','slice','7YKINdB','cloud-services-internal-error:\x20Not\x20connected.','parse','getIdOfTheLastOperation','realtimecollaborationclient-sendbufferedoperations','wereChangesApplied','offset','getDocumentDetails','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','rtc-offline','affectsData','high','_sendBufferedOperationsDelayed','baseVersion','_pendingAction','realtimecollaborationclient-init-document-already-initialized','startsWith','showWarning','targetPosition','sessionAdd:','metadata','fire','isDocumentOperation','view','rootsAttributes','register','push','mySessionId','_setPendingAction','_channelId','_applyOperationsSet','marker','code','keys','collaboration','disconnect','isUndoneOperation','connection','setPermissions','model','cs:removeUser','move','lastSyncVersion','set','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','compress','_document','_handleReconnectionError','userId','4954664BWxdha','createPositionFromPath','addOperation','toJSON','enableReadOnlyMode','sessionId','has','_compressOperations','stop','version'];_0x38dd=function(){return _0x277fc0;};return _0x38dd();}import _0xd45f74 from'./usermarkers.js';import{getTranslation as _0x530df2}from'../common-translations.js';import{Compressor as _0x2beec0}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4ef4cb}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xd5243d,CollaborativeEditingService as _0x3ecd2a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x5f4d07{static get[_0x9c938c(0x127)](){return[_0x1685db,_0xce67e9,_0xd45f74,_0x221424,_0x4ef4cb,_0x50b1da];}static get[_0x9c938c(0x178)](){const _0x450a69=_0x9c938c;return _0x450a69(0x111);}get[_0x9c938c(0x12f)](){const _0x4ebbb3=_0x9c938c;return this[_0x4ebbb3(0x133)]+this[_0x4ebbb3(0x16d)];}get[_0x9c938c(0x133)](){const _0x518fca=_0x9c938c;return this[_0x518fca(0x128)][_0x518fca(0x10b)]-this[_0x518fca(0x16d)];}get[_0x9c938c(0xfb)](){const _0x51a8ad=_0x9c938c,_0x280ddc=this[_0x51a8ad(0x128)][_0x51a8ad(0x1d1)]();for(let _0x3263e8=_0x280ddc[_0x51a8ad(0x11b)]-0x1;_0x3263e8>=0x0;_0x3263e8--){const _0x1b4a1f=_0x280ddc[_0x3263e8];if(!this[_0x51a8ad(0x134)][_0x51a8ad(0x108)](_0x1b4a1f))return _0x1b4a1f[_0x51a8ad(0x1e1)]+0x1-this[_0x51a8ad(0x16d)];}return 0x0;}constructor(_0x1e0d4c){const _0x791278=_0x9c938c;if(super(_0x1e0d4c),this[_0x791278(0x16d)]=0x0,this[_0x791278(0x107)]=null,this[_0x791278(0x128)]=new _0x4fd2c4(),this[_0x791278(0x1d2)][_0x791278(0x159)][_0x791278(0x116)](_0x791278(0xf3),{}),this[_0x791278(0x1f1)]=this[_0x791278(0x1d2)][_0x791278(0x159)][_0x791278(0x11e)](_0x791278(0x17c)),!this[_0x791278(0x1f1)])throw new _0x4d8879(_0x791278(0x148),this);const _0x20d0aa=_0x1e0d4c[_0x791278(0x159)][_0x791278(0x11e)](_0x791278(0x182))||_0x39f93d;this[_0x791278(0x141)]=new l[(_0x791278(0x129))](_0x20d0aa,this[_0x791278(0x1f1)]),this[_0x791278(0xff)]=this[_0x791278(0x1d2)][_0x791278(0xf8)][_0x791278(0x1b1)],this[_0x791278(0x1ac)]=new _0x2beec0(),this[_0x791278(0x138)]=[],this[_0x791278(0x1ad)]=new WeakSet(),this[_0x791278(0x173)]=new Set(),this[_0x791278(0xfc)](_0x791278(0x1b6),!0x1),this[_0x791278(0xfc)](_0x791278(0x1c8),!0x1),this[_0x791278(0x1e2)]=null,this[_0x791278(0x115)]=!0x1,this[_0x791278(0x169)]=null,this[_0x791278(0x12d)]=0x12c,this[_0x791278(0x18a)]=this[_0x791278(0x12d)],this[_0x791278(0x131)]=null,this[_0x791278(0x134)]=new WeakSet(),this[_0x791278(0x1a1)]=new X(this[_0x791278(0x134)]);}[_0x9c938c(0x196)](){const _0x8a7519=_0x9c938c,_0x5d20d8=this[_0x8a7519(0x1d2)],_0x93c8c8=_0x5d20d8[_0x8a7519(0x1bc)][_0x8a7519(0x11e)](_0x4ef4cb),_0x4b207c=_0x5d20d8[_0x8a7519(0x1bc)][_0x8a7519(0x11e)](_0x1685db);this[_0x8a7519(0x15b)](_0x93c8c8,_0x8a7519(0x162),(_0x414aa4,_0x12aabb)=>{const _0x4622b7=_0x8a7519,_0x486d3b=_0x12aabb[0x0];_0x486d3b[_0x4622b7(0x1a9)]&&(_0x414aa4[_0x4622b7(0x13e)]=_0x93c8c8[_0x4622b7(0x179)](_0x486d3b[_0x4622b7(0x1a9)]),_0x414aa4[_0x4622b7(0x10a)]()),null===_0x486d3b[_0x4622b7(0x1a9)]&&(_0x414aa4[_0x4622b7(0x13e)]=null,_0x414aa4[_0x4622b7(0x10a)]());},{'priority':_0x8a7519(0x1df)}),this[_0x8a7519(0x15b)](_0x5d20d8[_0x8a7519(0xf8)][_0x8a7519(0x1b1)][_0x8a7519(0x1a7)],_0x8a7519(0x13d),(_0x13acdd,_0x532826)=>{const _0x2a7e61=_0x8a7519;_0x532826[_0x2a7e61(0x130)]&&this[_0x2a7e61(0x1a5)]();}),this[_0x8a7519(0x15b)](_0x5d20d8[_0x8a7519(0x11d)][_0x8a7519(0x1eb)],_0x8a7519(0x1b0),()=>{const _0x48a5a6=_0x8a7519;this[_0x48a5a6(0x1a5)]();}),this[_0x8a7519(0x16c)](),_0x5d20d8[_0x8a7519(0xf8)]['on'](_0x8a7519(0x1ba),(_0x1b538b,_0x2c43a5)=>{const _0xa8cf4e=_0x8a7519,_0xb063aa=_0x2c43a5[0x0];_0xb063aa[_0xa8cf4e(0x1ea)]&&(this[_0xa8cf4e(0x1c2)](_0xb063aa),this[_0xa8cf4e(0x1cb)]()&&this[_0xa8cf4e(0x1e0)]());}),this[_0x8a7519(0x118)](),this[_0x8a7519(0x135)](_0x8a7519(0x1b7))['to'](_0x4b207c,_0x8a7519(0x154),this,_0x8a7519(0x1c8),(_0x2d8ee1,_0x338dd5)=>_0x8a7519(0x158)===_0x2d8ee1&&!_0x338dd5),this['on'](_0x8a7519(0x139),()=>{const _0x529ba7=_0x8a7519;this[_0x529ba7(0x1b7)]?_0x5d20d8[_0x529ba7(0x19f)](_0x529ba7(0x1dd)):_0x5d20d8[_0x529ba7(0x106)](_0x529ba7(0x1dd));}),this[_0x8a7519(0x1b7)]?_0x5d20d8[_0x8a7519(0x19f)](_0x8a7519(0x1dd)):_0x5d20d8[_0x8a7519(0x106)](_0x8a7519(0x1dd)),this[_0x8a7519(0xfc)](_0x8a7519(0x1a2),!0x1);}async[_0x9c938c(0x17e)](){const _0x52742d=_0x9c938c,_0x346d6d=this[_0x52742d(0x1d2)][_0x52742d(0x1bc)][_0x52742d(0x11e)](_0xce67e9),_0x3caf96=this[_0x52742d(0x1d2)][_0x52742d(0x1bc)][_0x52742d(0x11e)](_0x1685db);try{this[_0x52742d(0x1b6)]=!0x0,_0x346d6d[_0x52742d(0x1bd)](this[_0x52742d(0x1f1)]);const _0x10b371=await this[_0x52742d(0x141)][_0x52742d(0x17e)](_0x3caf96[_0x52742d(0xf6)],this[_0x52742d(0xfb)]);await this[_0x52742d(0x15a)](_0x10b371)&&(this[_0x52742d(0x1b6)]=!0x1,this[_0x52742d(0x11c)]());const _0x17b0b3=await this[_0x52742d(0x141)][_0x52742d(0x1a8)]();_0x346d6d[_0x52742d(0x1ed)](this[_0x52742d(0x1f1)],_0x17b0b3),this[_0x52742d(0x171)](),this[_0x52742d(0x1a2)]=!0x0;}catch(_0x568abe){if(function(_0x37c851){const _0x1cc834=_0x52742d;return _0x1cc834(0x12e)===_0x37c851[_0x1cc834(0x1f4)];}(_0x568abe)&&this[_0x52742d(0x107)])await this[_0x52742d(0x177)]();else{if(function(_0x3fd1a7){const _0x18c83c=_0x52742d;return _0x18c83c(0x112)===_0x3fd1a7[_0x18c83c(0x1f4)];}(_0x568abe)){const _0x3d7a3e=_0x530df2(this[_0x52742d(0x1d2)][_0x52742d(0x14b)],_0x52742d(0x10f));this[_0x52742d(0x100)](_0x3d7a3e);}else{if(!(_0x568abe instanceof J))throw _0x568abe;this[_0x52742d(0x100)]();}}}}[_0x9c938c(0x14a)](){const _0x36f9cf=_0x9c938c,_0x449e50=this[_0x36f9cf(0x1d2)][_0x36f9cf(0x1bc)][_0x36f9cf(0x11e)](_0x1685db),_0x55f813=this[_0x36f9cf(0x1d2)][_0x36f9cf(0x1bc)][_0x36f9cf(0x11e)](_0xce67e9);this[_0x36f9cf(0x1d2)][_0x36f9cf(0x106)](_0x36f9cf(0x16b)),_0x55f813[_0x36f9cf(0x18e)][_0x36f9cf(0x108)](this[_0x36f9cf(0x1f1)])&&_0x55f813[_0x36f9cf(0x1bd)](this[_0x36f9cf(0x1f1)]),_0x449e50[_0x36f9cf(0x16a)](this),this[_0x36f9cf(0x189)](),super[_0x36f9cf(0x14a)]();}async[_0x9c938c(0x15a)](_0x54fd25){const _0x5cd2ff=_0x9c938c;if(this[_0x5cd2ff(0x107)]!==_0x54fd25[_0x5cd2ff(0x107)]&&this[_0x5cd2ff(0x131)]!==_0x54fd25[_0x5cd2ff(0x15f)])throw new J();return this[_0x5cd2ff(0x107)]=_0x54fd25[_0x5cd2ff(0x107)],this[_0x5cd2ff(0x172)]([],{..._0x54fd25,'wereChangesApplied':!0x1,'data':_0x54fd25[_0x5cd2ff(0x187)]},_0x5cd2ff(0x17e));}async[_0x9c938c(0x119)](_0x4de485,_0x5085a7=!0x1){const _0x3a837e=_0x9c938c,{connection:_0x3d4a52}=this[_0x3a837e(0x1d2)][_0x3a837e(0x1bc)][_0x3a837e(0x11e)](_0x1685db);l[_0x3a837e(0x129)][_0x3a837e(0x1a8)](_0x3d4a52,this[_0x3a837e(0x1f1)])[_0x3a837e(0x147)](_0xb0b430=>this[_0x3a837e(0x11f)](_0xb0b430))[_0x3a837e(0x1a6)](_0x221954=>{const _0x5b277e=_0x3a837e;this[_0x5b277e(0x19a)](_0x5b277e(0x156),_0x221954);}),this[_0x3a837e(0x15b)](this[_0x3a837e(0x141)],_0x3a837e(0x151),this[_0x3a837e(0x123)][_0x3a837e(0x135)](this)),this[_0x3a837e(0x15b)](this[_0x3a837e(0x141)],_0x3a837e(0x142),(_0x44aaa3,_0x5a5425)=>{const _0x417303=_0x3a837e;this[_0x417303(0x19a)](_0x417303(0x1d0),_0x5a5425);}),this[_0x3a837e(0x15b)](this[_0x3a837e(0x141)],_0x3a837e(0x143),()=>{const _0x7f3b53=_0x3a837e;this[_0x7f3b53(0x1a2)]=!0x1;});const _0x3e7b61=this[_0x3a837e(0x1a1)][_0x3a837e(0x1d7)](_0x4de485);this[_0x3a837e(0x1b6)]=!0x0;const _0xeeeb06=await this[_0x3a837e(0x141)][_0x3a837e(0x166)](_0x3d4a52,this[_0x3a837e(0x109)](_0x4de485),_0x3e7b61);if(this[_0x3a837e(0x107)]=_0xeeeb06[_0x3a837e(0x107)],_0x5085a7){if(!_0xeeeb06[_0x3a837e(0x1d9)])return void this[_0x3a837e(0x100)]();this[_0x3a837e(0x1b6)]=!0x1,this[_0x3a837e(0x11c)](),this[_0x3a837e(0x128)][_0x3a837e(0x188)](),this[_0x3a837e(0x16d)]=_0xeeeb06[_0x3a837e(0x1da)],this[_0x3a837e(0x128)][_0x3a837e(0x10b)]=this[_0x3a837e(0x16d)],await this[_0x3a837e(0x172)](_0x4de485,_0xeeeb06,_0x3a837e(0x165));}else await this[_0x3a837e(0x15e)](_0xeeeb06,_0x4de485);this[_0x3a837e(0x171)](),this[_0x3a837e(0x1a2)]=!0x0;}[_0x9c938c(0x171)](){const _0x49f99c=_0x9c938c,_0x50917c=this[_0x49f99c(0x1d2)][_0x49f99c(0x1bc)][_0x49f99c(0x11e)](_0xce67e9),_0x5e4b3a=this[_0x49f99c(0x1d2)][_0x49f99c(0x1bc)][_0x49f99c(0x11e)](_0xd45f74),_0x184bd3=_0x50917c[_0x49f99c(0x18e)][_0x49f99c(0x11e)](this[_0x49f99c(0x1f1)]);_0x184bd3&&_0x184bd3[_0x49f99c(0x11b)]>0x1?_0x5e4b3a[_0x49f99c(0x155)]():this[_0x49f99c(0x15b)](_0x50917c,_0x49f99c(0x1e7)+this[_0x49f99c(0x1f1)],()=>{const _0x52bf14=_0x49f99c;0x2===_0x50917c[_0x52bf14(0x18e)][_0x52bf14(0x11e)](this[_0x52bf14(0x1f1)])[_0x52bf14(0x11b)]&&_0x5e4b3a[_0x52bf14(0x155)]();});}async[_0x9c938c(0x123)](_0x1c31f3,_0x1b73e4,_0x29ff56,_0x4962bd){const _0x232fcf=_0x9c938c;if(!this[_0x232fcf(0x1b6)]&&this[_0x232fcf(0xff)][_0x232fcf(0x10b)]==_0x1b73e4){const _0x2e1b66=this[_0x232fcf(0x185)](_0x29ff56,_0x4962bd);await this[_0x232fcf(0x1c9)](_0x2e1b66),this[_0x232fcf(0x1af)](_0x2e1b66,_0x1b73e4,_0x29ff56[_0x232fcf(0x15f)])||this[_0x232fcf(0x19a)](_0x232fcf(0x110));}}async[_0x9c938c(0x177)](){const _0x5b336b=_0x9c938c;this[_0x5b336b(0x189)]();const {locale:_0x2e31f6}=this[_0x5b336b(0x1d2)];let _0x8f1a51;try{_0x8f1a51=await this[_0x5b336b(0x141)][_0x5b336b(0x1db)]();}catch(_0x3670b9){const _0x5f2324=_0x530df2(_0x2e31f6,_0x5b336b(0x136));return void this[_0x5b336b(0x100)](_0x5f2324);}const _0x10617a=_0x8f1a51[_0x5b336b(0x1c1)]||_0x8f1a51[_0x5b336b(0x149)];if(this[_0x5b336b(0x131)]===_0x10617a[_0x5b336b(0x15f)])await this[_0x5b336b(0x119)](this[_0x5b336b(0x1d2)][_0x5b336b(0xf8)][_0x5b336b(0x1b1)][_0x5b336b(0x18f)][_0x5b336b(0x1d1)](),!0x0);else{const _0x28bdd5=_0x530df2(_0x2e31f6,_0x5b336b(0x17d));this[_0x5b336b(0x100)](_0x28bdd5);}}[_0x9c938c(0x189)](){const _0xbc54e7=_0x9c938c;this[_0xbc54e7(0x141)][_0xbc54e7(0xf4)](),this[_0xbc54e7(0x138)]=[],clearTimeout(this[_0xbc54e7(0x169)]),this[_0xbc54e7(0x14e)](this[_0xbc54e7(0x141)]);}[_0x9c938c(0x11f)](_0x479b7f){const _0x4f0011=_0x9c938c,_0x51180c=this[_0x4f0011(0x1d2)][_0x4f0011(0x1bc)][_0x4f0011(0x11e)](_0xce67e9);this[_0x4f0011(0x15b)](_0x51180c,_0x4f0011(0x1e7)+this[_0x4f0011(0x1f1)],(_0x5cafda,{session:_0x2968f6})=>{const _0x5714d7=_0x4f0011;if(_0x2968f6['id']===_0x51180c[_0x5714d7(0x1ef)]){_0x5cafda[_0x5714d7(0x19e)]();const _0x74e0a7=this[_0x5714d7(0x1d2)][_0x5714d7(0x1bc)][_0x5714d7(0x108)](_0x5714d7(0x12a))&&this[_0x5714d7(0x1d2)][_0x5714d7(0x1bc)][_0x5714d7(0x11e)](_0x5714d7(0x12a));let _0x7d2729=_0x2968f6[_0x5714d7(0x194)];_0x74e0a7&&_0x74e0a7[_0x5714d7(0x122)]&&(_0x7d2729=_0x7d2729[_0x5714d7(0x1c4)](_0x200fca=>_0x5714d7(0x180)!==_0x200fca)),this[_0x5714d7(0x1d2)][_0x5714d7(0x1bc)][_0x5714d7(0x11e)](_0x5714d7(0x137))[_0x5714d7(0xf7)](_0x7d2729,this[_0x5714d7(0x1f1)]);}}),_0x51180c[_0x4f0011(0x1ed)](this[_0x4f0011(0x1f1)],_0x479b7f);}[_0x9c938c(0x16c)](){const _0x47a5a1=_0x9c938c,_0x4e493e=this[_0x47a5a1(0x1d2)][_0x47a5a1(0x187)][_0x47a5a1(0xfc)];this[_0x47a5a1(0x1d2)][_0x47a5a1(0x187)][_0x47a5a1(0xfc)]=(..._0x54bd54)=>{const _0x4f2e1f=_0x47a5a1;if(!_0x54bd54[_0x54bd54[_0x4f2e1f(0x11b)]-0x1][_0x4f2e1f(0x1c3)])throw new _0x4d8879(_0x4f2e1f(0xfd),this);_0x4e493e[_0x4f2e1f(0x17b)](this[_0x4f2e1f(0x1d2)][_0x4f2e1f(0x187)],_0x54bd54);};}[_0x9c938c(0x118)](){const _0x1f7d5f=_0x9c938c;this[_0x1f7d5f(0x1d2)][_0x1f7d5f(0x187)]['on'](_0x1f7d5f(0x196),(_0x4bb3fb,[_0x4144fa])=>{const _0x37cbf6=_0x1f7d5f;if(this[_0x37cbf6(0xff)][_0x37cbf6(0x10b)])throw new _0x4d8879(_0x37cbf6(0x1e3),this);_0x4bb3fb[_0x37cbf6(0x10a)](),this[_0x37cbf6(0x1f0)]();const _0x4707bf=this[_0x37cbf6(0x1d2)][_0x37cbf6(0x159)][_0x37cbf6(0x11e)](_0x37cbf6(0x1ec)),_0x588aab=this[_0x37cbf6(0x174)](_0x4144fa,_0x4707bf);0x0==_0x588aab[_0x37cbf6(0x11b)]&&_0x588aab[_0x37cbf6(0x1ee)](new _0x54c66b(0x0)),_0x4bb3fb[_0x37cbf6(0x13e)]=this[_0x37cbf6(0x119)](_0x588aab)[_0x37cbf6(0x147)](()=>{const _0x3da0fd=_0x37cbf6;this[_0x3da0fd(0x1d2)][_0x3da0fd(0x1bc)][_0x3da0fd(0x11e)](_0x1685db)[_0x3da0fd(0x120)](this),this[_0x3da0fd(0x1d2)][_0x3da0fd(0x187)][_0x3da0fd(0x1e9)](_0x3da0fd(0x1bf));})[_0x37cbf6(0x1a6)](_0x5bae10=>this[_0x37cbf6(0x19a)](_0x37cbf6(0x1b2),_0x5bae10))[_0x37cbf6(0x197)](()=>this[_0x37cbf6(0x11c)]());},{'priority':_0x1f7d5f(0x1df)}),this[_0x1f7d5f(0x1d2)]['on'](_0x1f7d5f(0x1c6),async(_0xd9656f,[_0x30e779,_0x50e851])=>{const _0x4d7b5d=_0x1f7d5f;_0xd9656f[_0x4d7b5d(0x10a)]();const _0x27e41f=this[_0x4d7b5d(0x1d2)][_0x4d7b5d(0xf8)][_0x4d7b5d(0x1b1)][_0x4d7b5d(0x1a4)](_0x30e779);if(!this[_0x4d7b5d(0x173)][_0x4d7b5d(0x108)](_0x30e779)){const _0x43d29f=_0x50e851&&_0x50e851[_0x4d7b5d(0x187)]?_0x50e851[_0x4d7b5d(0x187)]:'',_0x5aa391=_0x50e851&&_0x50e851[_0x4d7b5d(0x114)]?_0x50e851[_0x4d7b5d(0x114)]:{};await this[_0x4d7b5d(0x13f)](_0x30e779,_0x43d29f,_0x5aa391);}this[_0x4d7b5d(0x1d2)][_0x4d7b5d(0xf8)][_0x4d7b5d(0x161)]({'isUndoable':!0x1},()=>{const _0x5a85d3=_0x4d7b5d;_0x27e41f[_0x5a85d3(0x175)]=!0x0,this[_0x5a85d3(0x1d2)][_0x5a85d3(0xf8)][_0x5a85d3(0x1b1)][_0x5a85d3(0x176)][_0x5a85d3(0x13a)](_0x27e41f);});},{'priority':_0x1f7d5f(0x1df)});}async[_0x9c938c(0x1c9)](_0x2d9c58){const _0x23cffb=_0x9c938c,_0x2c4eee=this[_0x23cffb(0x1d2)][_0x23cffb(0x1bc)][_0x23cffb(0x11e)](_0x4ef4cb),{connection:_0x4855c9}=this[_0x23cffb(0x1d2)][_0x23cffb(0x1bc)][_0x23cffb(0x11e)](_0x1685db),_0x59c8de=new Set();for(const _0x253f07 of _0x2d9c58){const _0x334f01=_0x253f07[_0x23cffb(0x1a9)];_0x334f01&&!_0x2c4eee[_0x23cffb(0x179)](_0x334f01)&&_0x59c8de[_0x23cffb(0x121)](_0x334f01);}if(0x0===_0x59c8de[_0x23cffb(0x140)])return;const _0x222970=await _0xd5243d[_0x23cffb(0x15c)](_0x4855c9,Array[_0x23cffb(0x16f)](_0x59c8de));for(const _0x47b657 of _0x222970)_0x2c4eee[_0x23cffb(0x179)](_0x47b657['id'])||_0x2c4eee[_0x23cffb(0x14f)](_0x47b657);}[_0x9c938c(0x174)](_0x511fb0,_0x38a583={}){const _0x113569=_0x9c938c,_0x1eaeb2=this[_0x113569(0x1d2)][_0x113569(0xf8)],_0x27ad36=[];let _0x4b2203=0x0;const _0x1e8b0b=_0x113569(0x153)==typeof _0x511fb0?{'main':_0x511fb0}:_0x511fb0;for(const _0xb77d52 of Object[_0x113569(0x1f5)](_0x1e8b0b)){if(!this[_0x113569(0xff)][_0x113569(0x11a)][_0x113569(0x108)](_0xb77d52))throw new _0x4d8879(_0x113569(0x14d),this);const _0x3a7303=this[_0x113569(0x1d2)][_0x113569(0x187)][_0x113569(0x1d6)](_0x1e8b0b[_0xb77d52]),_0x34664b=this[_0x113569(0xff)][_0x113569(0x1a4)](_0xb77d52),_0x3b324b=new _0x4bf43d(_0x1eaeb2[_0x113569(0x18b)](_0x34664b,0x0),_0x3a7303,_0x4b2203++);_0x27ad36[_0x113569(0x1ee)](_0x3b324b);for(const [_0x40b96a,_0x582d14]of _0x3a7303[_0x113569(0x186)]){const _0x27dce9=_0x1eaeb2[_0x113569(0x1b9)](_0x1eaeb2[_0x113569(0x103)](_0x34664b,_0x582d14[_0x113569(0x152)][_0x113569(0x163)][_0x113569(0x1d3)]()),_0x1eaeb2[_0x113569(0x103)](_0x34664b,_0x582d14[_0x113569(0x167)][_0x113569(0x163)][_0x113569(0x1d3)]())),_0x3881a8=new _0x55c30c(_0x40b96a,null,_0x27dce9,_0x1eaeb2[_0x113569(0x186)],!0x0,_0x4b2203++);_0x27ad36[_0x113569(0x1ee)](_0x3881a8);}}if(_0x38a583)for(const [_0x1db30d,_0x50743f]of Object[_0x113569(0x16e)](_0x38a583)){const _0x17af57=_0x1eaeb2[_0x113569(0x1b1)][_0x113569(0x1a4)](_0x1db30d);if(!_0x17af57)throw new _0x4d8879(_0x113569(0x164),null);for(const [_0x1aba9e,_0x5014e0]of Object[_0x113569(0x16e)](_0x50743f))if(null!==_0x5014e0){const _0x57538c=new _0x54271c(_0x17af57,_0x1aba9e,null,_0x5014e0,_0x4b2203++);_0x27ad36[_0x113569(0x1ee)](_0x57538c);}}return _0x27ad36;}async[_0x9c938c(0x13f)](_0x47fd7f,_0x438950,_0x2a9b62){const _0x269741=_0x9c938c;this[_0x269741(0x174)]({[_0x47fd7f]:_0x438950},{[_0x47fd7f]:_0x2a9b62})[_0x269741(0x10e)]((_0x33b2eb,_0x421d42)=>{const _0x370343=_0x269741;_0x33b2eb[_0x370343(0x1e1)]=this[_0x370343(0xff)][_0x370343(0x10b)]+_0x421d42,_0x33b2eb[_0x370343(0x1ae)]=!0x0,this[_0x370343(0x1c2)](_0x33b2eb);}),this[_0x269741(0x1e0)](),await this[_0x269741(0x1cc)]();}async[_0x9c938c(0x15e)](_0x17d627,_0x10f844){const _0x5ca73c=_0x9c938c;let _0x59b277;this[_0x5ca73c(0x16d)]=_0x17d627[_0x5ca73c(0x1da)];const _0x35ca9d=_0x17d627[_0x5ca73c(0x1d9)]&&!_0x17d627[_0x5ca73c(0x144)],_0x3ed83f=_0x35ca9d?0x0:_0x17d627[_0x5ca73c(0x187)][_0x5ca73c(0x1e1)];if(_0x10f844[_0x5ca73c(0x10e)](_0x285015=>{const _0x32ec2b=_0x5ca73c;_0x285015[_0x32ec2b(0x1ae)]=!0x0,_0x285015[_0x32ec2b(0x10c)]=_0x17d627[_0x32ec2b(0x1aa)],_0x285015[_0x32ec2b(0x1a9)]=null;}),_0x35ca9d)_0x59b277=_0x10f844,this[_0x5ca73c(0x1f2)](_0x59b277,_0x35ca9d);else{if(_0x17d627[_0x5ca73c(0x144)]){const _0x46fd33=this[_0x5ca73c(0x174)](_0x17d627[_0x5ca73c(0x144)]);this[_0x5ca73c(0xff)][_0x5ca73c(0x18f)][_0x5ca73c(0x10b)]=-_0x46fd33[_0x5ca73c(0x11b)],_0x46fd33[_0x5ca73c(0x10e)](_0x114c39=>{const _0x2f98c2=_0x5ca73c;_0x114c39[_0x2f98c2(0x1e1)]-=_0x46fd33[_0x2f98c2(0x11b)],_0x114c39[_0x2f98c2(0x10c)]=_0x17d627[_0x2f98c2(0x1aa)],_0x114c39[_0x2f98c2(0x1ae)]=!0x0,_0x114c39[_0x2f98c2(0x1a9)]=null;}),this[_0x5ca73c(0x1f2)](_0x46fd33,!0x0),this[_0x5ca73c(0x128)][_0x5ca73c(0x10b)]=-_0x46fd33[_0x5ca73c(0x11b)]+this[_0x5ca73c(0x16d)],this[_0x5ca73c(0x113)](_0x46fd33);}this[_0x5ca73c(0xff)][_0x5ca73c(0x18f)][_0x5ca73c(0x10b)]=_0x3ed83f,_0x59b277=this[_0x5ca73c(0x185)](_0x17d627[_0x5ca73c(0x187)],_0x17d627[_0x5ca73c(0x1e8)]),await this[_0x5ca73c(0x1c9)](_0x59b277),this[_0x5ca73c(0x1f2)](_0x59b277,_0x35ca9d);}_0x17d627[_0x5ca73c(0x15f)]&&(this[_0x5ca73c(0x1a1)][_0x5ca73c(0x1b5)](_0x59b277,_0x17d627[_0x5ca73c(0x15f)]),this[_0x5ca73c(0x131)]=_0x17d627[_0x5ca73c(0x15f)]),this[_0x5ca73c(0x128)][_0x5ca73c(0x10b)]=_0x3ed83f+this[_0x5ca73c(0x16d)],this[_0x5ca73c(0x113)](_0x59b277),_0x10f844[_0x5ca73c(0x1c4)](_0x1e8e95=>{const _0x35c4ee=_0x5ca73c,_0x1eedea=this[_0x35c4ee(0x184)](_0x1e8e95);return _0x1eedea&&!this[_0x35c4ee(0x173)][_0x35c4ee(0x108)](_0x1eedea);})[_0x5ca73c(0x10e)]((_0x27775d,_0x3813e1)=>{const _0x31f0a3=_0x5ca73c;_0x27775d[_0x31f0a3(0x1e1)]=this[_0x31f0a3(0xff)][_0x31f0a3(0x10b)]+_0x3813e1,this[_0x31f0a3(0x1c2)](_0x27775d);}),this[_0x5ca73c(0x1cb)]()?(this[_0x5ca73c(0x18a)]=0x0,this[_0x5ca73c(0x1e0)](!0x0),await this[_0x5ca73c(0x1cc)]()):(this[_0x5ca73c(0x1b6)]=!0x1,this[_0x5ca73c(0x11c)]());}[_0x9c938c(0x19a)](_0x19482f,_0x199fd7){const _0x48d769=_0x9c938c;throw this[_0x48d769(0x1b6)]=!0x0,_0x199fd7&&console[_0x48d769(0x142)](_0x199fd7),new _0x4d8879(_0x19482f,this[_0x48d769(0x1d2)]);}[_0x9c938c(0x1c2)](_0x27ad22){const _0x2cd517=_0x9c938c;this[_0x2cd517(0x1ad)][_0x2cd517(0x108)](_0x27ad22)||(this[_0x2cd517(0x1ad)][_0x2cd517(0x121)](_0x27ad22),this[_0x2cd517(0x138)][_0x2cd517(0x1ee)](_0x27ad22),this[_0x2cd517(0x1e2)]||_0x2cd517(0x1f3)==_0x27ad22[_0x2cd517(0x150)]&&!_0x27ad22[_0x2cd517(0x1de)]||this[_0x2cd517(0x1f0)]());}[_0x9c938c(0x1e0)](_0x112751=!0x1){const _0x2e1615=_0x9c938c;!_0x112751&&this[_0x2e1615(0x1b6)]||(this[_0x2e1615(0x1b6)]=!0x0,clearTimeout(this[_0x2e1615(0x169)]),this[_0x2e1615(0x169)]=setTimeout(()=>{const _0x4439ce=_0x2e1615;this[_0x4439ce(0x1c5)]()[_0x4439ce(0x147)](_0x73c73c=>{const _0x896888=_0x4439ce;_0x73c73c&&(this[_0x896888(0x11c)](),this[_0x896888(0x1b6)]=!0x1);})[_0x4439ce(0x1a6)](_0x298b69=>{const _0x545d9e=_0x4439ce;if(this[_0x545d9e(0x11c)](),this[_0x545d9e(0x1b6)]=!0x1,!function(_0x3ebdf9){const _0x970a6c=_0x545d9e;return _0x3ebdf9[_0x970a6c(0x19d)][_0x970a6c(0x1e4)](_0x970a6c(0x1d5))||_0x3ebdf9[_0x970a6c(0x19d)][_0x970a6c(0x1e4)](_0x970a6c(0x1dc))||_0x3ebdf9[_0x970a6c(0x19d)][_0x970a6c(0x1e4)](_0x970a6c(0x13b));}(_0x298b69))throw _0x298b69;});},this[_0x2e1615(0x18a)]));}[_0x9c938c(0x1cc)](){return new Promise(_0x24694d=>{const _0x3767a0=_0x2f3e;this['on'](_0x3767a0(0x168),()=>{_0x24694d();});});}async[_0x9c938c(0x1c5)](){const _0x5a5b37=_0x9c938c,_0x39752a=this[_0x5a5b37(0x1d2)][_0x5a5b37(0x1bc)][_0x5a5b37(0x11e)](_0xd45f74);if(this[_0x5a5b37(0x191)]()&&(_0x39752a[_0x5a5b37(0x155)](),this[_0x5a5b37(0x115)]=!0x1),!this[_0x5a5b37(0x1cb)]())return!0x0;const _0x41c54c=[...this[_0x5a5b37(0x138)]];for(const _0xb49679 of _0x41c54c)_0xb49679[_0x5a5b37(0x193)]=this[_0x5a5b37(0xff)][_0x5a5b37(0x18f)][_0x5a5b37(0xf5)](_0xb49679);const _0xaf1747=this[_0x5a5b37(0x1a1)][_0x5a5b37(0x1d7)](_0x41c54c),_0x28126f=K++,_0x5de910=this[_0x5a5b37(0x109)](_0x41c54c),_0x269d09=await this[_0x5a5b37(0x141)][_0x5a5b37(0x160)](_0x5de910,_0x5de910[_0x5a5b37(0x1e1)],_0xaf1747);try{return await this[_0x5a5b37(0x172)](_0x41c54c,_0x269d09,_0x28126f);}catch(_0x4103d3){return this[_0x5a5b37(0x19a)](_0x5a5b37(0x1d8),_0x4103d3);}}async[_0x9c938c(0x172)](_0x4980b8,_0x1f7fed,_0x4b2c44){const _0x2d3e17=_0x9c938c;if(_0x2d3e17(0x142)in _0x1f7fed)throw _0x1f7fed[_0x2d3e17(0x142)];let _0x7101c6=!0x1;if(_0x1f7fed[_0x2d3e17(0x1d9)]){_0x1f7fed[_0x2d3e17(0x15f)]&&(this[_0x2d3e17(0x131)]=_0x1f7fed[_0x2d3e17(0x15f)]),this[_0x2d3e17(0x138)]=this[_0x2d3e17(0x138)][_0x2d3e17(0x1c4)](_0x5b649f=>!_0x4980b8[_0x2d3e17(0x1b4)](_0x5b649f));for(const _0x2ca9ba of _0x4980b8)_0x2ca9ba[_0x2d3e17(0x10c)]=_0x2d3e17(0x126)in _0x1f7fed&&_0x1f7fed[_0x2d3e17(0x126)]||void 0x0;Q(_0x4980b8,_0x1f7fed[_0x2d3e17(0x10b)]-_0x4980b8[_0x2d3e17(0x11b)]),this[_0x2d3e17(0x113)](_0x4980b8);const _0xd2642e=_0x4980b8[_0x2d3e17(0x1c4)](_0x385669=>{const _0x1749ba=_0x2d3e17;if(!_0x385669[_0x1749ba(0x1ae)])return!0x1;const _0x28e2e0=this[_0x1749ba(0x184)](_0x385669);return _0x28e2e0&&!this[_0x1749ba(0x173)][_0x1749ba(0x108)](_0x28e2e0);});Q(_0xd2642e,this[_0x2d3e17(0xff)][_0x2d3e17(0x10b)]),this[_0x2d3e17(0x1f2)](_0xd2642e),_0x7101c6=!0x0,this[_0x2d3e17(0x18a)]=this[_0x2d3e17(0x12d)];}else{const _0x150725=this[_0x2d3e17(0x185)](_0x1f7fed[_0x2d3e17(0x187)],_0x1f7fed[_0x2d3e17(0x1e8)])[_0x2d3e17(0x1c4)](_0x5b0241=>_0x5b0241[_0x2d3e17(0x1e1)]>=this[_0x2d3e17(0x133)]);_0x150725[_0x2d3e17(0x10e)](_0x209855=>this[_0x2d3e17(0x181)](_0x209855)),this[_0x2d3e17(0x138)]=this[_0x2d3e17(0x138)][_0x2d3e17(0x1c4)](_0x31a294=>!_0x31a294[_0x2d3e17(0x1ae)]||!this[_0x2d3e17(0x173)][_0x2d3e17(0x108)](this[_0x2d3e17(0x184)](_0x31a294))),this[_0x2d3e17(0x138)][_0x2d3e17(0x11b)]&&Q(this[_0x2d3e17(0x138)],this[_0x2d3e17(0x138)][0x0][_0x2d3e17(0x1e1)]),await this[_0x2d3e17(0x1c9)](_0x150725),_0x7101c6=this[_0x2d3e17(0x1af)](_0x150725,_0x1f7fed[_0x2d3e17(0x10b)],_0x1f7fed[_0x2d3e17(0x15f)]),this[_0x2d3e17(0x18a)]=Math[_0x2d3e17(0x19b)](this[_0x2d3e17(0x18a)]/0x2);}return _0x7101c6?!this[_0x2d3e17(0x1cb)]()||(this[_0x2d3e17(0x1e0)](!0x0),!0x1):this[_0x2d3e17(0x19a)](_0x2d3e17(0x1b8));}[_0x9c938c(0x1af)](_0x1c52ca,_0x22d021,_0x3eec01){const _0x15aba0=_0x9c938c;try{const _0x140595={'document':this[_0x15aba0(0xff)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1e223a,operationsB:_0x114d8b,originalOperations:_0x1923d7}=_0x4aa3b4(_0x1c52ca,this[_0x15aba0(0x138)],_0x140595);Q(_0x1e223a,this[_0x15aba0(0xff)][_0x15aba0(0x10b)]),Q(_0x114d8b,_0x22d021);for(const _0xccd30 of _0x1e223a){const _0x50e532=_0x1923d7[_0x15aba0(0x11e)](_0xccd30);_0xccd30[_0x15aba0(0x1a9)]=_0x50e532?_0x50e532[_0x15aba0(0x1a9)]:null;}_0x3eec01&&(this[_0x15aba0(0x1a1)][_0x15aba0(0x1b5)](_0x1c52ca,_0x3eec01),this[_0x15aba0(0x131)]=_0x3eec01),this[_0x15aba0(0x138)]=[..._0x114d8b],this[_0x15aba0(0x1f2)](_0x1e223a),this[_0x15aba0(0x113)](_0x1c52ca);}catch(_0x3899a6){return console[_0x15aba0(0x142)](_0x3899a6),!0x1;}return!0x0;}[_0x9c938c(0x1f2)](_0x27c3f5,_0xd4c5bb=!0x1){const _0x5b188b=_0x9c938c;this[_0x5b188b(0x1d2)][_0x5b188b(0xf8)][_0x5b188b(0x161)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5798e0=>{const _0x992c03=_0x5b188b;for(const _0x4eb331 of _0x27c3f5)this[_0x992c03(0x1ad)][_0x992c03(0x121)](_0x4eb331),this[_0x992c03(0x181)](_0x4eb331),_0x5798e0[_0x992c03(0x1c0)][_0x992c03(0x104)](_0x4eb331),this[_0x992c03(0x1d2)][_0x992c03(0xf8)][_0x992c03(0x1ba)](_0x4eb331);});}[_0x9c938c(0x181)](_0x2e00f4){const _0x4280e2=_0x9c938c,_0x229dcc=this[_0x4280e2(0x184)](_0x2e00f4);_0x229dcc&&this[_0x4280e2(0x173)][_0x4280e2(0x121)](_0x229dcc);}[_0x9c938c(0x184)](_0x5c2c41){const _0x431444=_0x9c938c;let _0xa2c191,_0xa40932;switch(_0x5c2c41[_0x431444(0x150)]){case _0x431444(0x125):_0xa2c191=_0x5c2c41[_0x431444(0x124)][_0x431444(0x1a3)];break;case _0x431444(0x1f3):if(_0xa40932=_0x5c2c41[_0x431444(0x192)],!_0xa40932)return null;_0xa2c191=_0xa40932[_0x431444(0x1a3)];break;case _0x431444(0x157):_0xa2c191=_0x5c2c41[_0x431444(0x1a3)];break;case _0x431444(0x10d):_0xa2c191=_0x5c2c41[_0x431444(0x195)];break;case _0x431444(0xfa):_0xa2c191=_0x5c2c41[_0x431444(0x1e6)][_0x431444(0x1a3)];break;default:return null;}return _0xa2c191[_0x431444(0x12c)];}[_0x9c938c(0x113)](_0xdc851e){const _0xf87766=_0x9c938c;_0xdc851e[_0xf87766(0x10e)](_0x486b3d=>{const _0x374d32=_0xf87766,_0x169141=_0x486b3d[_0x374d32(0x12b)]();_0x169141[_0x374d32(0x1a9)]=_0x486b3d[_0x374d32(0x1a9)],_0x169141[_0x374d32(0x1ae)]=!!_0x486b3d[_0x374d32(0x1ae)],_0x169141[_0x374d32(0x10c)]=_0x486b3d[_0x374d32(0x10c)],_0x169141[_0x374d32(0x1e1)]+=this[_0x374d32(0x16d)],_0x486b3d[_0x374d32(0x1cf)]&&this[_0x374d32(0x134)][_0x374d32(0x121)](_0x169141),this[_0x374d32(0x128)][_0x374d32(0x104)](_0x169141);});}[_0x9c938c(0x100)](_0x62d920){const _0x250bc2=_0x9c938c,_0x1f9931=this[_0x250bc2(0x1d2)][_0x250bc2(0x1bc)][_0x250bc2(0x11e)](_0x250bc2(0x190)),_0x3f45c0=this[_0x250bc2(0x1d2)][_0x250bc2(0x14b)];_0x62d920||(_0x62d920=_0x530df2(_0x3f45c0,_0x250bc2(0x1b3))),_0x1f9931[_0x250bc2(0x1e5)](_0x62d920,{'title':_0x530df2(_0x3f45c0,_0x250bc2(0x198)),'namespace':_0x250bc2(0x13c)}),this[_0x250bc2(0x1c8)]=!0x0,clearTimeout(this[_0x250bc2(0x169)]),this[_0x250bc2(0x138)]=[],this[_0x250bc2(0x1d2)][_0x250bc2(0x1bc)][_0x250bc2(0x11e)](_0x1685db)[_0x250bc2(0x14a)]();}[_0x9c938c(0x1f0)](){const _0x271384=_0x9c938c;this[_0x271384(0x1e2)]||(this[_0x271384(0x1e2)]=this[_0x271384(0x1d2)][_0x271384(0x1bc)][_0x271384(0x11e)](_0x221424)[_0x271384(0x121)](_0x530df2(this[_0x271384(0x1d2)][_0x271384(0x14b)],_0x271384(0x146))));}[_0x9c938c(0x11c)](){const _0x58f1cd=_0x9c938c;this[_0x58f1cd(0x1e2)]&&(this[_0x58f1cd(0x1d2)][_0x58f1cd(0x1bc)][_0x58f1cd(0x11e)](_0x221424)[_0x58f1cd(0x117)](this[_0x58f1cd(0x1e2)]),this[_0x58f1cd(0x1e2)]=null);}[_0x9c938c(0x109)](_0x4f3a31){const _0x47a46b=_0x9c938c,_0xd641f0=_0x4f3a31[_0x47a46b(0x199)](_0x203b7a=>_0x203b7a[_0x47a46b(0x105)]());return this[_0x47a46b(0x1ac)][_0x47a46b(0xfe)](_0xd641f0);}[_0x9c938c(0x185)](_0x31162c,_0x21a8d4){const _0x5f56a1=_0x9c938c;return this[_0x5f56a1(0x1ac)][_0x5f56a1(0x18c)](_0x31162c)[_0x5f56a1(0x199)]((_0x3c155f,_0x5d11eb)=>{const _0x4a3039=_0x5f56a1,_0xa04d18=_0x4a3039(0x196)==_0x21a8d4[_0x5d11eb][_0x4a3039(0x150)];if(_0x4a3039(0x18d)==_0x3c155f[_0x4a3039(0x1ce)]){const _0x36fccb=_0x3c155f[_0x4a3039(0x124)][_0x4a3039(0x1a3)];!this[_0x4a3039(0xff)][_0x4a3039(0x1a4)](_0x36fccb)&&(this[_0x4a3039(0xff)][_0x4a3039(0x14c)](_0x4a3039(0x1ab),_0x36fccb)[_0x4a3039(0x15d)]=!0x1);}const _0x53f0eb=_0x241b0f[_0x4a3039(0x1cd)](_0x3c155f,this[_0x4a3039(0xff)]);return _0x53f0eb[_0x4a3039(0x193)]=_0x3c155f[_0x4a3039(0x193)],_0x53f0eb[_0x4a3039(0x1ae)]=_0xa04d18,_0x53f0eb[_0x4a3039(0x1a9)]=_0xa04d18?null:_0x21a8d4[_0x5d11eb][_0x4a3039(0x101)],_0x53f0eb[_0x4a3039(0x1cf)]=_0x4a3039(0xf9)===_0x21a8d4[_0x5d11eb][_0x4a3039(0x150)],_0x53f0eb[_0x4a3039(0x10c)]=_0x21a8d4[_0x5d11eb][_0x4a3039(0x10c)],_0x53f0eb;});}[_0x9c938c(0x1a5)](){const _0x3b1350=_0x9c938c;this[_0x3b1350(0x115)]=!0x0,this[_0x3b1350(0x191)]()?this[_0x3b1350(0x1e0)]():this[_0x3b1350(0x115)]=!0x1;}[_0x9c938c(0x191)](){const _0x282174=_0x9c938c,_0x445748=this[_0x282174(0x1d2)][_0x282174(0x1bc)][_0x282174(0x11e)](_0xce67e9)[_0x282174(0x18e)][_0x282174(0x11e)](this[_0x282174(0x1f1)]);return!this[_0x282174(0x1d2)][_0x282174(0x132)]&&!!_0x445748&&_0x445748[_0x282174(0x11b)]>0x1&&this[_0x282174(0x115)];}[_0x9c938c(0x1cb)](){const _0x297ae5=_0x9c938c;return this[_0x297ae5(0x138)][_0x297ae5(0x11b)]>0x0||this[_0x297ae5(0x191)]();}}l[_0x9c938c(0x129)]=_0x3ecd2a;export default l;class J extends Error{}function Q(_0x6dfd2b,_0x44da21){const _0x1bffb2=_0x9c938c;for(const _0x5bd66e of _0x6dfd2b)_0x5bd66e[_0x1bffb2(0x1e1)]=_0x44da21++;}class X{constructor(_0x2bdde6){const _0x11535f=_0x9c938c;this[_0x11535f(0x1c7)]=_0x2bdde6,this[_0x11535f(0x1be)]=new WeakMap();}[_0x9c938c(0x1d7)](_0x429ece){const _0x27dfe0=_0x9c938c;let _0x1ba8eb=_0x429ece[_0x27dfe0(0x11b)];for(;_0x1ba8eb--;){const _0x42cfc5=_0x429ece[_0x1ba8eb];if(!this[_0x27dfe0(0x1c7)][_0x27dfe0(0x108)](_0x42cfc5)){if(!this[_0x27dfe0(0x1be)][_0x27dfe0(0x108)](_0x42cfc5)){const _0x5edbe7=_0x288e1b()[_0x27dfe0(0x1d3)](0x1,0x12);this[_0x27dfe0(0x1be)][_0x27dfe0(0xfc)](_0x42cfc5,_0x5edbe7);}return this[_0x27dfe0(0x1be)][_0x27dfe0(0x11e)](_0x42cfc5);}}}[_0x9c938c(0x1b5)](_0x5e7e9c,_0x17fe13){const _0x1aeab3=_0x9c938c;if(!_0x17fe13)return;let _0x39df1f=_0x5e7e9c[_0x1aeab3(0x11b)];for(;_0x39df1f--;){const _0x88fccd=_0x5e7e9c[_0x39df1f];this[_0x1aeab3(0x1c7)][_0x1aeab3(0x108)](_0x88fccd)||this[_0x1aeab3(0x1be)][_0x1aeab3(0xfc)](_0x88fccd,_0x17fe13);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x195d(){const _0x2a74a1=['stopListening','1618960ITysJr','561628essGEb','context','delete','set','unregister','224361McKNfv','4581353DNSpMz','register','_users','defineMe','plugins','77dayrtU','80DUAXQq','orderNumber','has','314586mKTZhS','sessionAdd:','70434yvUjde','getUserRole','get','addUser','fire','_createUser','getUserBySessionId','remove','mySessionId','init','72CtrnYq','getUser','assign','pluginName','Sessions','change:state','add','isMe','values','_uniqueUsersCount','listenTo','allConnectedUsers','channelSessions','sessions-unregister-not-exist','user','clear','size','connected','state','role','requires','forEach','_handleSessionAdd','198438eevLoB','_handleSessionRemove','channelConnectedUsers','_registeredSessions','sessions-register-already-registered','16SyuHSf','sessionId','getUserSessions','connection'];_0x195d=function(){return _0x2a74a1;};return _0x195d();}const _0x5591f0=_0x12f3;(function(_0x2a658c,_0x1fadc9){const _0x823bb3=_0x12f3,_0x55d3f8=_0x2a658c();while(!![]){try{const _0x4ed3bf=parseInt(_0x823bb3(0xc6))/0x1+-parseInt(_0x823bb3(0xc1))/0x2+parseInt(_0x823bb3(0x93))/0x3*(-parseInt(_0x823bb3(0xbb))/0x4)+parseInt(_0x823bb3(0xcd))/0x5*(parseInt(_0x823bb3(0xb6))/0x6)+-parseInt(_0x823bb3(0xc7))/0x7+-parseInt(_0x823bb3(0x9f))/0x8*(parseInt(_0x823bb3(0x95))/0x9)+-parseInt(_0x823bb3(0xc0))/0xa*(-parseInt(_0x823bb3(0xcc))/0xb);if(_0x4ed3bf===_0x1fadc9)break;else _0x55d3f8['push'](_0x55d3f8['shift']());}catch(_0xade7f0){_0x55d3f8['push'](_0x55d3f8['shift']());}}}(_0x195d,0x70b3a));import{ContextPlugin as _0x281a4a}from'ckeditor5/src/core.js';function _0x12f3(_0x309783,_0x530a8d){const _0x195dce=_0x195d();return _0x12f3=function(_0x12f362,_0x4add49){_0x12f362=_0x12f362-0x93;let _0x39686d=_0x195dce[_0x12f362];return _0x39686d;},_0x12f3(_0x309783,_0x530a8d);}import{Collection as _0x1074d0,CKEditorError as _0xb5c7}from'ckeditor5/src/utils.js';import _0x47cc8e from'./websocketgateway.js';import{Users as _0x55e16f}from'ckeditor5-collaboration/src/collaboration-core.js';export default class r extends _0x281a4a{static get[_0x5591f0(0xa2)](){const _0x3933c5=_0x5591f0;return _0x3933c5(0xa3);}static get[_0x5591f0(0xb3)](){return[_0x47cc8e,_0x55e16f];}constructor(_0x364402){const _0x57185b=_0x5591f0;super(_0x364402),this[_0x57185b(0xab)]=new Map(),this[_0x57185b(0xb8)]=new Map(),this[_0x57185b(0xaa)]=new _0x1074d0(),this[_0x57185b(0xb9)]=new Map(),this[_0x57185b(0xa8)]=0x0,this[_0x57185b(0xc9)]=this[_0x57185b(0xc2)][_0x57185b(0xcb)][_0x57185b(0x97)](_0x55e16f);}[_0x5591f0(0x9e)](){const _0x453cd1=_0x5591f0,_0xa7e529=this[_0x453cd1(0xc2)][_0x453cd1(0xcb)][_0x453cd1(0x97)](_0x47cc8e);this[_0x453cd1(0xa9)](_0xa7e529,_0x453cd1(0xa4),(_0x5a2b0d,_0x17b3e3,_0x31196a)=>{const _0x1837e2=_0x453cd1;if(_0x1837e2(0xb0)!==_0x31196a)this[_0x1837e2(0xab)][_0x1837e2(0xb4)](_0x19faa3=>_0x19faa3[_0x1837e2(0xae)]()),this[_0x1837e2(0xb8)][_0x1837e2(0xb4)](_0x2ea805=>_0x2ea805[_0x1837e2(0xae)]()),this[_0x1837e2(0xaa)][_0x1837e2(0xae)]();else{for(const [_0x359f84,_0x565b80]of this[_0x1837e2(0xb9)])for(const _0x5095eb of _0x565b80)this[_0x1837e2(0xb5)](_0x359f84,_0x5095eb);}}),this[_0x453cd1(0x9a)](_0xa7e529[_0x453cd1(0xbe)]['me'],!0x0);}[_0x5591f0(0xc8)](_0x2a4f4a,_0x2cae10){const _0xe13695=_0x5591f0;if(this[_0xe13695(0xb9)][_0xe13695(0xcf)](_0x2a4f4a))throw new _0xb5c7(_0xe13695(0xba),null,{'channelId':_0x2a4f4a});this[_0xe13695(0xb9)][_0xe13695(0xc4)](_0x2a4f4a,_0x2cae10),this[_0xe13695(0xab)][_0xe13695(0xc4)](_0x2a4f4a,new _0x1074d0()),this[_0xe13695(0xb8)][_0xe13695(0xc4)](_0x2a4f4a,new _0x1074d0()),this[_0xe13695(0xa9)](_0x2cae10,_0xe13695(0xa5),(_0x35ce33,_0x152c18)=>this[_0xe13695(0xb5)](_0x2a4f4a,_0x152c18)),this[_0xe13695(0xa9)](_0x2cae10,_0xe13695(0x9c),(_0xf88690,_0x5dffab)=>this[_0xe13695(0xb7)](_0x2a4f4a,_0x5dffab));for(const _0x138771 of _0x2cae10)this[_0xe13695(0xb5)](_0x2a4f4a,_0x138771);}[_0x5591f0(0xc5)](_0x1a72ea){const _0x3c1d04=_0x5591f0;if(!this[_0x3c1d04(0xb9)][_0x3c1d04(0xcf)](_0x1a72ea))throw new _0xb5c7(_0x3c1d04(0xac),null,{'channelId':_0x1a72ea});const _0x4f9b08=this[_0x3c1d04(0xb9)][_0x3c1d04(0x97)](_0x1a72ea);this[_0x3c1d04(0xbf)](_0x4f9b08);for(const _0x118c1f of _0x4f9b08)_0x3c1d04(0xb0)===this[_0x3c1d04(0xc2)][_0x3c1d04(0xcb)][_0x3c1d04(0x97)](_0x47cc8e)[_0x3c1d04(0xb1)]&&this[_0x3c1d04(0xb7)](_0x1a72ea,_0x118c1f);this[_0x3c1d04(0xb9)][_0x3c1d04(0xc3)](_0x1a72ea),this[_0x3c1d04(0xab)][_0x3c1d04(0xc3)](_0x1a72ea),this[_0x3c1d04(0xb8)][_0x3c1d04(0xc3)](_0x1a72ea);}get[_0x5591f0(0x9d)](){const _0x1e4609=_0x5591f0;return this[_0x1e4609(0xc2)][_0x1e4609(0xcb)][_0x1e4609(0x97)](_0x47cc8e)[_0x1e4609(0xbe)][_0x1e4609(0xbc)];}[_0x5591f0(0x9b)](_0x1d4537){const _0x32a6a5=_0x5591f0;for(const _0x13369d of this[_0x32a6a5(0xab)][_0x32a6a5(0xa7)]())for(const _0x4cd696 of _0x13369d)if(_0x4cd696['id']===_0x1d4537)return _0x4cd696[_0x32a6a5(0xad)];}[_0x5591f0(0xbd)](_0x9d9688,_0x39f9e1){const _0x5dea46=_0x5591f0,_0x488159=_0x39f9e1?[this[_0x5dea46(0xab)][_0x5dea46(0x97)](_0x39f9e1)]:this[_0x5dea46(0xab)][_0x5dea46(0xa7)](),_0x4bfe24=new Set();for(const _0x594b39 of _0x488159)for(const _0x18f11b of _0x594b39)_0x18f11b[_0x5dea46(0xad)]['id']===_0x9d9688['id']&&_0x4bfe24[_0x5dea46(0xa5)](_0x18f11b['id']);return _0x4bfe24;}[_0x5591f0(0x96)](_0x3ed133){const _0x116bb3=_0x5591f0;for(const _0x2b4c3a of this[_0x116bb3(0xab)][_0x116bb3(0xa7)]())for(const _0x59bdfd of _0x2b4c3a)if(_0x59bdfd[_0x116bb3(0xad)]===_0x3ed133)return _0x59bdfd[_0x116bb3(0xb2)];}[_0x5591f0(0xb5)](_0x5ac048,_0xb57d6a){const _0x3026cf=_0x5591f0;if(_0x3026cf(0xb0)!==this[_0x3026cf(0xc2)][_0x3026cf(0xcb)][_0x3026cf(0x97)](_0x47cc8e)[_0x3026cf(0xb1)])return;const _0x1e905a=_0xb57d6a[_0x3026cf(0xad)],_0x4ed29f=this[_0x3026cf(0xc9)][_0x3026cf(0xa0)](_0x1e905a['id'])||this[_0x3026cf(0x9a)](_0x1e905a),_0x595247=Object[_0x3026cf(0xa1)]({},_0xb57d6a,{'user':_0x4ed29f});this[_0x3026cf(0xab)][_0x3026cf(0x97)](_0x5ac048)[_0x3026cf(0xa5)](_0x595247);const _0x58004f=this[_0x3026cf(0xb8)][_0x3026cf(0x97)](_0x5ac048);_0x58004f[_0x3026cf(0xcf)](_0x4ed29f['id'])||_0x58004f[_0x3026cf(0xa5)](_0x4ed29f),this[_0x3026cf(0xaa)][_0x3026cf(0xcf)](_0x4ed29f['id'])||this[_0x3026cf(0xaa)][_0x3026cf(0xa5)](_0x4ed29f,_0x4ed29f[_0x3026cf(0xa6)]?0x0:void 0x0),this[_0x3026cf(0x99)](_0x3026cf(0x94)+_0x5ac048,{'channelId':_0x5ac048,'session':_0x595247});}[_0x5591f0(0xb7)](_0x3ec100,_0x28797c){const _0x15c579=_0x5591f0;if(_0x15c579(0xb0)!==this[_0x15c579(0xc2)][_0x15c579(0xcb)][_0x15c579(0x97)](_0x47cc8e)[_0x15c579(0xb1)])return;const _0x339fad=this[_0x15c579(0xb8)][_0x15c579(0x97)](_0x3ec100),_0x43c5f2=_0x28797c[_0x15c579(0xad)];_0x43c5f2['id']&&(this[_0x15c579(0xab)][_0x15c579(0x97)](_0x3ec100)[_0x15c579(0x9c)](_0x28797c['id']),_0x339fad[_0x15c579(0xcf)](_0x43c5f2['id'])&&!this[_0x15c579(0xbd)](_0x43c5f2,_0x3ec100)[_0x15c579(0xaf)]&&_0x339fad[_0x15c579(0x9c)](_0x43c5f2['id']),this[_0x15c579(0xaa)][_0x15c579(0x97)](_0x43c5f2['id'])&&!this[_0x15c579(0xbd)](_0x43c5f2)[_0x15c579(0xaf)]&&this[_0x15c579(0xaa)][_0x15c579(0x9c)](_0x43c5f2['id']));}[_0x5591f0(0x9a)](_0x4032a2,_0x2b9796){const _0x903766=_0x5591f0,_0x33ad1f=this[_0x903766(0xc9)][_0x903766(0x98)](_0x4032a2);return _0x2b9796&&this[_0x903766(0xc9)][_0x903766(0xca)](_0x4032a2['id']),_0x33ad1f[_0x903766(0xce)]=this[_0x903766(0xa8)]++,_0x33ad1f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x24eac5=_0x1a0d;(function(_0x3548cb,_0x5982a5){const _0x4d8386=_0x1a0d,_0x23e413=_0x3548cb();while(!![]){try{const _0x1d5a5d=-parseInt(_0x4d8386(0x20a))/0x1+parseInt(_0x4d8386(0x21a))/0x2*(parseInt(_0x4d8386(0x201))/0x3)+parseInt(_0x4d8386(0x200))/0x4+parseInt(_0x4d8386(0x1cf))/0x5+-parseInt(_0x4d8386(0x225))/0x6*(parseInt(_0x4d8386(0x1ec))/0x7)+parseInt(_0x4d8386(0x1e2))/0x8+parseInt(_0x4d8386(0x219))/0x9*(-parseInt(_0x4d8386(0x1d3))/0xa);if(_0x1d5a5d===_0x5982a5)break;else _0x23e413['push'](_0x23e413['shift']());}catch(_0xb035ee){_0x23e413['push'](_0x23e413['shift']());}}}(_0x4765,0x65d7f));import{Plugin as _0x2ff355}from'ckeditor5/src/core.js';import{global as _0x2cb3d2,DomEmitterMixin as _0x1b3977}from'ckeditor5/src/utils.js';import _0x4c8ed8 from'./sessions.js';import{LiveRange as _0x2b3e0f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x1a0d(_0x5114ca,_0x34f694){const _0x476511=_0x4765();return _0x1a0d=function(_0x1a0da5,_0x355a71){_0x1a0da5=_0x1a0da5-0x1b7;let _0x56d8ac=_0x476511[_0x1a0da5];return _0x56d8ac;},_0x1a0d(_0x5114ca,_0x34f694);}export default class H extends _0x2ff355{constructor(){const _0x33d964=_0x1a0d;super(...arguments),this[_0x33d964(0x238)]=new(_0x1b3977())();}static get[_0x24eac5(0x209)](){return[_0x4c8ed8];}static get[_0x24eac5(0x1b7)](){const _0x3b6e40=_0x24eac5;return _0x3b6e40(0x1b8);}[_0x24eac5(0x1be)](){const _0x3bd7af=_0x24eac5,_0x241e5e=this[_0x3bd7af(0x1fc)],_0x126efd=_0x241e5e[_0x3bd7af(0x1eb)][_0x3bd7af(0x1f1)](_0x4c8ed8);_0x241e5e[_0x3bd7af(0x1b9)][_0x3bd7af(0x1fd)](_0x3bd7af(0x227))[_0x3bd7af(0x1da)]({'model':_0x3bd7af(0x1df),'view':(_0x3d2d62,{writer:_0x75717a})=>function(_0x368648,_0x5a6b7c,_0x51b6cf,_0x2e6013){const _0x1d3f1e=_0x3bd7af,_0x2dd4a8=_0x368648[_0x1d3f1e(0x1ce)][_0x1d3f1e(0x1e8)](':')[0x2],_0x9a1e20=_0x51b6cf[_0x1d3f1e(0x22f)](_0x2dd4a8);if(!_0x9a1e20||_0x2dd4a8===_0x51b6cf[_0x1d3f1e(0x1ed)])return;if(!_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x1dd)][_0x1d3f1e(0x224)](_0x368648[_0x1d3f1e(0x1e1)][_0x1d3f1e(0x1c0)],_0x1d3f1e(0x1ca)))return;const _0x987059={'class':_0x1d3f1e(0x1e9)+_0x9a1e20[_0x1d3f1e(0x1e0)][_0x1d3f1e(0x1c8)](),'data-name':_0x9a1e20[_0x1d3f1e(0x1e5)],'data-session-id':_0x2dd4a8},_0x93b0fa=_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x237)][_0x1d3f1e(0x1f1)](_0x368648[_0x1d3f1e(0x1ce)]),_0x4c9e8e=_0x93b0fa[_0x1d3f1e(0x233)](),_0x453d6a=_0x4c9e8e[_0x1d3f1e(0x217)],_0x55b5bc=_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x1dd)];if(_0x453d6a&&_0x55b5bc[_0x1d3f1e(0x1d7)](_0x453d6a)&&_0x55b5bc[_0x1d3f1e(0x1c6)](_0x453d6a)&&!_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x237)][_0x1d3f1e(0x1f1)](_0x1d3f1e(0x1f7)+_0x2dd4a8)[_0x1d3f1e(0x230)]()[_0x1d3f1e(0x1ba)])return;const _0x378884=_0x4c9e8e[_0x1d3f1e(0x22d)];return _0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x1dd)][_0x1d3f1e(0x1de)](_0x378884)&&!_0x2e6013[_0x1d3f1e(0x218)][_0x1d3f1e(0x211)](_0x378884)&&(_0x987059[_0x1d3f1e(0x1ff)]=!0x1),function(_0x264614,_0x9d153e,_0x106c30){const _0x19b040=_0x1d3f1e,_0x88eb85=_0x264614[_0x19b040(0x1d0)](_0x19b040(0x1bd),_0x9d153e);return _0x264614[_0x19b040(0x22a)](_0x19b040(0x1d8),!0x0,_0x88eb85),_0x88eb85[_0x19b040(0x1e3)]=function(_0x150282){const _0x413882=_0x19b040,_0x5c0b29=this[_0x413882(0x1e4)](_0x150282);return _0x5c0b29[_0x413882(0x220)]=_0x413882(0x1cb)+_0x106c30[_0x413882(0x1e5)]+_0x413882(0x1dc),_0x5c0b29[_0x413882(0x203)](_0x413882(0x1d2),()=>{const _0x52b80d=_0x413882;_0x5c0b29[_0x52b80d(0x20c)][_0x52b80d(0x1cd)](_0x52b80d(0x1bc));}),_0x5c0b29[_0x413882(0x203)](_0x413882(0x20d),()=>{const _0x15563c=_0x413882;_0x5c0b29[_0x15563c(0x20c)][_0x15563c(0x232)](_0x15563c(0x1bc));}),_0x5c0b29;},_0x88eb85[_0x19b040(0x223)]=function(_0x393590){const _0x557db7=_0x19b040;return!(!this[_0x557db7(0x21d)](_0x557db7(0x1d8))||!_0x393590[_0x557db7(0x21d)](_0x557db7(0x1d8))||this[_0x557db7(0x1ee)](_0x557db7(0x22e))!=_0x393590[_0x557db7(0x1ee)](_0x557db7(0x22e)));},_0x88eb85;}(_0x5a6b7c,_0x987059,_0x9a1e20);}(_0x3d2d62,_0x75717a,_0x126efd,_0x241e5e)}),_0x241e5e[_0x3bd7af(0x1b9)][_0x3bd7af(0x1fd)](_0x3bd7af(0x227))[_0x3bd7af(0x1cc)]({'model':_0x3bd7af(0x215),'view':_0x5b2166=>function(_0x2d8960,_0x4e7743){const _0xd0ee37=_0x3bd7af,_0x4d9d6d=_0x2d8960[_0xd0ee37(0x1ce)][_0xd0ee37(0x1e8)](':')[0x2];if(_0x4d9d6d===_0x4e7743[_0xd0ee37(0x1ed)])return null;const _0x5c5047=_0x4e7743[_0xd0ee37(0x22f)](_0x4d9d6d);if(!_0x5c5047)return{'id':_0x4d9d6d,'classes':[]};return{'id':_0x4d9d6d,'classes':[_0xd0ee37(0x1c7),_0x5c5047[_0xd0ee37(0x1e0)][_0xd0ee37(0x1f6)]()],'attributes':{'data-session-id':_0x4d9d6d},'priority':0x7d0+_0x5c5047[_0xd0ee37(0x229)]};}(_0x5b2166,_0x126efd)}),function(_0x35282e){const _0x1c16de=_0x3bd7af,_0xef1d3a=_0x35282e[_0x1c16de(0x218)],_0x567d76=new Map(),_0x33cd91=_0x35282e[_0x1c16de(0x1eb)][_0x1c16de(0x1f1)](_0x4c8ed8);_0xef1d3a[_0x1c16de(0x237)]['on'](_0x1c16de(0x21c),(_0x2dd645,_0x174c68,_0x367d08,_0x35f130)=>{const _0x439b30=_0x1c16de;if(!_0x35f130&&_0x567d76[_0x439b30(0x1f1)](_0x174c68[_0x439b30(0x1e5)]))return _0x567d76[_0x439b30(0x1f1)](_0x174c68[_0x439b30(0x1e5)])[_0x439b30(0x21f)](),void _0x567d76[_0x439b30(0x213)](_0x174c68[_0x439b30(0x1e5)]);const _0x11005d=_0x174c68[_0x439b30(0x1e5)][_0x439b30(0x1e8)](':')[0x2];if(_0x11005d===_0x33cd91[_0x439b30(0x1ed)])return;const _0x577ed1=_0x439b30(0x20e)+_0x11005d;_0xef1d3a[_0x439b30(0x237)][_0x439b30(0x1ef)](_0x577ed1)&&_0x35282e[_0x439b30(0x1fb)][_0x439b30(0x202)](_0x577ed1),_0x174c68['on'](_0x439b30(0x206),(_0x495a78,_0x3363f8,_0x5cd639)=>{const _0x57fbb5=_0x439b30;if(_0x57fbb5(0x1c4)!=_0x3363f8[_0x57fbb5(0x205)][_0x57fbb5(0x1d1)]&&_0x57fbb5(0x1c4)==_0x174c68[_0x57fbb5(0x230)]()[_0x57fbb5(0x205)][_0x57fbb5(0x1d1)]&&!_0x567d76[_0x57fbb5(0x1ef)](_0x174c68[_0x57fbb5(0x1e5)])){const _0x3e949f=_0xef1d3a[_0x57fbb5(0x1dd)][_0x57fbb5(0x21e)](_0x5cd639[_0x57fbb5(0x1d5)]);if(_0x3e949f){const _0x2a017b=_0x2b3e0f[_0x57fbb5(0x1ea)](_0x3e949f);_0x567d76[_0x57fbb5(0x1c5)](_0x174c68[_0x57fbb5(0x1e5)],_0x2a017b),_0x2a017b['on'](_0x57fbb5(0x206),(_0x96b829,_0x3392b4,_0x28206)=>{const _0x3b7d3a=_0x57fbb5;if(_0x3b7d3a(0x1c4)==_0x2a017b[_0x3b7d3a(0x205)][_0x3b7d3a(0x1d1)]){const _0x35eb82=_0xef1d3a[_0x3b7d3a(0x1dd)][_0x3b7d3a(0x21e)](_0x28206[_0x3b7d3a(0x1d5)]);_0x35eb82?(_0x2a017b[_0x3b7d3a(0x1c0)]=_0x35eb82[_0x3b7d3a(0x1c0)],_0x2a017b[_0x3b7d3a(0x1f0)]=_0x35eb82[_0x3b7d3a(0x1f0)]):(_0x567d76[_0x3b7d3a(0x213)](_0x174c68[_0x3b7d3a(0x1e5)]),_0x2a017b[_0x3b7d3a(0x21f)]());}});}}});}),_0xef1d3a[_0x1c16de(0x20f)]['on'](_0x1c16de(0x22b),()=>{const _0x4f136e=_0x1c16de;_0x567d76[_0x4f136e(0x236)]>0x0&&_0xef1d3a[_0x4f136e(0x1d9)]({'isUndoable':!0x1},_0x4e2cd6=>{const _0x5a9ac2=_0x4f136e;for(const [_0x3c1ff0,_0x5777f6]of _0x567d76)_0x5a9ac2(0x1c4)==_0xef1d3a[_0x5a9ac2(0x237)][_0x5a9ac2(0x1f1)](_0x3c1ff0)[_0x5a9ac2(0x230)]()[_0x5a9ac2(0x205)][_0x5a9ac2(0x1d1)]&&(re(_0x3c1ff0[_0x5a9ac2(0x1e8)](':')[0x2],_0x5777f6[_0x5a9ac2(0x1f4)](),_0xef1d3a,_0x4e2cd6),_0x5777f6[_0x5a9ac2(0x21f)]());_0x567d76[_0x5a9ac2(0x1f5)]();});});}(_0x241e5e),this[_0x3bd7af(0x238)][_0x3bd7af(0x22c)](_0x2cb3d2[_0x3bd7af(0x20f)],_0x3bd7af(0x210),(_0x473d70,{key:_0x23a9d0})=>{const _0x257175=_0x3bd7af;_0x257175(0x226)===_0x23a9d0&&function(_0x1c409f){const _0x1836b9=_0x257175;_0x1c409f[_0x1836b9(0x1fb)][_0x1836b9(0x20b)][_0x1836b9(0x22b)](_0x1d016d=>{const _0x5d56b0=_0x1836b9;for(const _0x346496 of _0x1c409f[_0x5d56b0(0x218)][_0x5d56b0(0x237)]){if(!_0x346496[_0x5d56b0(0x1e5)][_0x5d56b0(0x235)](_0x5d56b0(0x1df)))continue;const _0x4bf9c6=_0x1c409f[_0x5d56b0(0x1fb)][_0x5d56b0(0x222)][_0x5d56b0(0x234)](_0x346496[_0x5d56b0(0x1e5)]);if(_0x4bf9c6){for(const _0x2830f3 of _0x4bf9c6)_0x1d016d[_0x5d56b0(0x214)](_0x5d56b0(0x1bc),_0x2830f3);}}});}(_0x241e5e);},{'useCapture':!0x0});}[_0x24eac5(0x1e6)](){const _0x429b75=_0x24eac5,_0x4213d1=this[_0x429b75(0x1fc)],_0x4f49c3=_0x4213d1[_0x429b75(0x208)][_0x429b75(0x1f1)](_0x429b75(0x1e7));_0x4f49c3&&_0x4213d1[_0x429b75(0x218)]['on'](_0x429b75(0x221),(_0x2a549c,_0x28599a)=>{const _0x5b9cc8=_0x429b75,_0x46d75a=_0x28599a[0x0];if(_0x5b9cc8(0x1fe)!=_0x46d75a[_0x5b9cc8(0x228)]||!_0x46d75a[_0x5b9cc8(0x1e5)][_0x5b9cc8(0x235)](_0x5b9cc8(0x1f2)))return;const _0x2d61a5=_0x46d75a[_0x5b9cc8(0x1fa)];_0x4f49c3[_0x5b9cc8(0x207)][_0x5b9cc8(0x1ef)](_0x2d61a5)&&(_0x46d75a[_0x5b9cc8(0x216)]=_0x46d75a[_0x5b9cc8(0x212)]?_0x4213d1[_0x5b9cc8(0x218)][_0x5b9cc8(0x1f8)](_0x46d75a[_0x5b9cc8(0x212)][_0x5b9cc8(0x1c0)],_0x46d75a[_0x5b9cc8(0x212)][_0x5b9cc8(0x1f0)]):null);},{'priority':_0x429b75(0x1db)});}[_0x24eac5(0x1c3)](){const _0x582d4a=_0x24eac5;return this[_0x582d4a(0x238)][_0x582d4a(0x1c1)](),super[_0x582d4a(0x1c3)]();}[_0x24eac5(0x1bf)](){const _0x3c9533=_0x24eac5,_0x415433=this[_0x3c9533(0x1fc)],_0x412147=_0x415433[_0x3c9533(0x218)][_0x3c9533(0x20f)],_0x12b5b8=_0x415433[_0x3c9533(0x1eb)][_0x3c9533(0x1f1)](_0x4c8ed8);_0x415433[_0x3c9533(0x218)][_0x3c9533(0x1d9)]({'isUndoable':!0x1},_0x51ae35=>{const _0x4cd8ef=_0x3c9533,_0x57c27a=_0x4cd8ef(0x1f7)+_0x12b5b8[_0x4cd8ef(0x1ed)],_0x4993e9=_0x4cd8ef(0x20e)+_0x12b5b8[_0x4cd8ef(0x1ed)],_0x207b93=_0x415433[_0x4cd8ef(0x218)][_0x4cd8ef(0x237)][_0x4cd8ef(0x1ef)](_0x57c27a);_0x415433[_0x4cd8ef(0x1fb)][_0x4cd8ef(0x20b)][_0x4cd8ef(0x1d6)]?re(_0x12b5b8[_0x4cd8ef(0x1ed)],_0x412147[_0x4cd8ef(0x231)][_0x4cd8ef(0x1f9)](),_0x415433[_0x4cd8ef(0x218)],_0x51ae35):_0x207b93&&(_0x51ae35[_0x4cd8ef(0x21b)](_0x57c27a),_0x51ae35[_0x4cd8ef(0x21b)](_0x4993e9));});}}function _0x4765(){const _0x447ad0=['batch','editing','editor','for','marker','contenteditable','1689876QiJdCG','3FPtGOF','reconvertMarker','addEventListener','addMarker','root','change:range','_createdBatches','commands','requires','533540wlOlaI','view','classList','mouseleave','user:position:','document','keydown','hasContent','oldRange','delete','removeClass','user:range','newRange','nodeAfter','model','1035WxUjaa','1559054cNWCCq','removeMarker','update:user:range','getCustomProperty','getNearestSelectionRange','detach','innerHTML','applyOperation','mapper','isSimilar','checkChild','3228mPZfeO','Escape','editingDowncast','type','orderNumber','setCustomProperty','change','listenTo','parent','data-session-id','getUserBySessionId','getRange','selection','remove','getStart','markerNameToElements','startsWith','size','markers','_domEmitter','pluginName','UserMarkers','conversion','isCollapsed','getPositions','ck-user__marker_hovered','span','init','createUserMarkerOperations','start','stopListening','updateMarker','destroy','$graveyard','set','isInline','ck-user__selection','getMarkerClass','getContainedElement','$text','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','markerToHighlight','add','markerName','2685890OssLJb','createUIElement','rootName','mouseenter','99260EpBnmU','tableCell','deletionPosition','hasDomSelection','isObject','userPositionMarker','enqueueChange','markerToElement','highest','</span>','schema','isLimit','user:position','color','markerRange','5944456gncMFR','render','toDomElement','name','afterInit','undo','split','ck-user__marker\x20','fromRange','plugins','5075NVnksB','mySessionId','getAttribute','has','end','get','user:','element','toRange','clear','getSelectionClass','user:range:','createRange','getFirstRange'];_0x4765=function(){return _0x447ad0;};return _0x4765();}function re(_0x1afe04,_0x20f618,_0x4a499b,_0x5cd5e4){const _0x46eb4c=_0x24eac5,_0xe2512e=_0x46eb4c(0x1f7)+_0x1afe04,_0x9da811=_0x46eb4c(0x20e)+_0x1afe04,_0x49b7d0=_0x20f618[_0x46eb4c(0x1c9)]();let _0x1017d5=_0x20f618[_0x46eb4c(0x1c0)];_0x49b7d0&&_0x49b7d0['is'](_0x46eb4c(0x1f3),_0x46eb4c(0x1d4))&&(_0x1017d5=function(_0x49db42,_0x51305a){const _0x20f448=_0x46eb4c;for(const _0x3380bc of _0x49db42[_0x20f448(0x1bb)]())if(_0x51305a[_0x20f448(0x1dd)][_0x20f448(0x224)](_0x3380bc,_0x20f448(0x1ca)))return _0x3380bc;}(_0x20f618,_0x4a499b),_0x20f618=_0x5cd5e4[_0x46eb4c(0x1f8)](_0x1017d5));const _0x3194ea=_0x5cd5e4[_0x46eb4c(0x1f8)](_0x1017d5);_0x4a499b[_0x46eb4c(0x237)][_0x46eb4c(0x1ef)](_0xe2512e)?(_0x5cd5e4[_0x46eb4c(0x1c2)](_0xe2512e,{'range':_0x20f618}),_0x5cd5e4[_0x46eb4c(0x1c2)](_0x9da811,{'range':_0x3194ea})):(_0x5cd5e4[_0x46eb4c(0x204)](_0xe2512e,{'range':_0x20f618,'usingOperation':!0x0}),_0x5cd5e4[_0x46eb4c(0x204)](_0x9da811,{'range':_0x3194ea,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x529c40=_0x2876;(function(_0x25dbd3,_0x56b65c){const _0x594d93=_0x2876,_0x5223b4=_0x25dbd3();while(!![]){try{const _0x41ee37=-parseInt(_0x594d93(0x142))/0x1*(-parseInt(_0x594d93(0x154))/0x2)+-parseInt(_0x594d93(0x124))/0x3+-parseInt(_0x594d93(0x106))/0x4*(parseInt(_0x594d93(0x158))/0x5)+parseInt(_0x594d93(0x15b))/0x6+-parseInt(_0x594d93(0x169))/0x7+-parseInt(_0x594d93(0x12e))/0x8+parseInt(_0x594d93(0x12c))/0x9;if(_0x41ee37===_0x56b65c)break;else _0x5223b4['push'](_0x5223b4['shift']());}catch(_0x18eee9){_0x5223b4['push'](_0x5223b4['shift']());}}}(_0x1c85,0xb2535));import{Plugin as _0x570add}from'ckeditor5/src/core.js';import{global as _0x44acf2,DomEmitterMixin as _0x1e2ace}from'ckeditor5/src/utils.js';function _0x1c85(){const _0x472ac7=['mapper','createUserMarkerOperations','pluginName','916hpEcKG','ck-user__marker_hovered','reconvertMarker','highest','document','getAttribute','for','marker','isCollapsed','user:','toRange','listenTo','commands','start','view','mouseleave','contenteditable','toDomElement','update:user:range','add','span','newRange','size','stopListening','root','afterInit','markers','getContainedElement','markerNameToElements','classList','4045452zpdcma','user:position','isInline','$text','removeMarker','markerName','isSimilar','deletionPosition','26588196NihxRi','orderNumber','3262448WNmUmY','editing','UserMarkers','requires','destroy','addEventListener','getStart','applyOperation','markerToElement','Escape','set','getRange','nodeAfter','has','getPositions','enqueueChange','get','change:range','hasDomSelection','parent','2GehICO','setCustomProperty','delete','init','user:range','mouseenter','$graveyard','isObject','undo','getSelectionClass','editor','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','change','createRange','plugins','hasContent','tableCell','removeClass','732280tbvmVt','createUIElement','</span>','color','10765YGrMjP','mySessionId','split','2834154tkOhfS','_domEmitter','ck-user__marker\x20','render','userPositionMarker','user:position:','model','updateMarker','startsWith','_createdBatches','ck-user__selection','batch','getUserBySessionId','markerToHighlight','8253945pVfNVk','addMarker','end','innerHTML','selection','getMarkerClass','fromRange','schema','clear','rootName','name','element','getNearestSelectionRange','remove','getCustomProperty','data-session-id','type','isLimit','editingDowncast','detach','conversion','user:range:','markerRange','getFirstRange','keydown','checkChild','oldRange'];_0x1c85=function(){return _0x472ac7;};return _0x1c85();}import _0x2d0a69 from'./sessions.js';function _0x2876(_0x254897,_0x7723e7){const _0x1c85ec=_0x1c85();return _0x2876=function(_0x28761c,_0x1dab1c){_0x28761c=_0x28761c-0xfd;let _0x588189=_0x1c85ec[_0x28761c];return _0x588189;},_0x2876(_0x254897,_0x7723e7);}import{LiveRange as _0x4eb9dc}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x570add{constructor(){const _0x392020=_0x2876;super(...arguments),this[_0x392020(0x15c)]=new(_0x1e2ace())();}static get[_0x529c40(0x131)](){return[_0x2d0a69];}static get[_0x529c40(0x105)](){const _0x42588b=_0x529c40;return _0x42588b(0x130);}[_0x529c40(0x145)](){const _0x19b6b1=_0x529c40,_0x2c3142=this[_0x19b6b1(0x14c)],_0x53ffb9=_0x2c3142[_0x19b6b1(0x150)][_0x19b6b1(0x13e)](_0x2d0a69);_0x2c3142[_0x19b6b1(0x17d)][_0x19b6b1(0x10c)](_0x19b6b1(0x17b))[_0x19b6b1(0x136)]({'model':_0x19b6b1(0x125),'view':(_0x238a23,{writer:_0x2df9c6})=>function(_0x413f84,_0x2b5aa7,_0x23531e,_0xaebc0c){const _0x472c38=_0x19b6b1,_0x3d6628=_0x413f84[_0x472c38(0x129)][_0x472c38(0x15a)](':')[0x2],_0x40a88f=_0x23531e[_0x472c38(0x167)](_0x3d6628);if(!_0x40a88f||_0x3d6628===_0x23531e[_0x472c38(0x159)])return;if(!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)][_0x472c38(0x101)](_0x413f84[_0x472c38(0xfe)][_0x472c38(0x113)],_0x472c38(0x127)))return;const _0x5c62f5={'class':_0x472c38(0x15d)+_0x40a88f[_0x472c38(0x157)][_0x472c38(0x16e)](),'data-name':_0x40a88f[_0x472c38(0x173)],'data-session-id':_0x3d6628},_0x4a78a7=_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x120)][_0x472c38(0x13e)](_0x413f84[_0x472c38(0x129)]),_0x299d02=_0x4a78a7[_0x472c38(0x134)](),_0x4b2858=_0x299d02[_0x472c38(0x13a)],_0x138cca=_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)];if(_0x4b2858&&_0x138cca[_0x472c38(0x149)](_0x4b2858)&&_0x138cca[_0x472c38(0x126)](_0x4b2858)&&!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x120)][_0x472c38(0x13e)](_0x472c38(0xfd)+_0x3d6628)[_0x472c38(0x139)]()[_0x472c38(0x10e)])return;const _0xaec685=_0x299d02[_0x472c38(0x141)];return _0xaebc0c[_0x472c38(0x161)][_0x472c38(0x170)][_0x472c38(0x17a)](_0xaec685)&&!_0xaebc0c[_0x472c38(0x161)][_0x472c38(0x151)](_0xaec685)&&(_0x5c62f5[_0x472c38(0x116)]=!0x1),function(_0x4e9e6c,_0x43fc50,_0x40fa31){const _0x45d2bb=_0x472c38,_0x25f68f=_0x4e9e6c[_0x45d2bb(0x155)](_0x45d2bb(0x11a),_0x43fc50);return _0x4e9e6c[_0x45d2bb(0x143)](_0x45d2bb(0x15f),!0x0,_0x25f68f),_0x25f68f[_0x45d2bb(0x15e)]=function(_0x5cb057){const _0xd951ea=_0x45d2bb,_0x396c16=this[_0xd951ea(0x117)](_0x5cb057);return _0x396c16[_0xd951ea(0x16c)]=_0xd951ea(0x14d)+_0x40fa31[_0xd951ea(0x173)]+_0xd951ea(0x156),_0x396c16[_0xd951ea(0x133)](_0xd951ea(0x147),()=>{const _0xae1ad4=_0xd951ea;_0x396c16[_0xae1ad4(0x123)][_0xae1ad4(0x119)](_0xae1ad4(0x107));}),_0x396c16[_0xd951ea(0x133)](_0xd951ea(0x115),()=>{const _0x51f0ff=_0xd951ea;_0x396c16[_0x51f0ff(0x123)][_0x51f0ff(0x176)](_0x51f0ff(0x107));}),_0x396c16;},_0x25f68f[_0x45d2bb(0x12a)]=function(_0xd822d7){const _0x239f96=_0x45d2bb;return!(!this[_0x239f96(0x177)](_0x239f96(0x15f))||!_0xd822d7[_0x239f96(0x177)](_0x239f96(0x15f))||this[_0x239f96(0x10b)](_0x239f96(0x178))!=_0xd822d7[_0x239f96(0x10b)](_0x239f96(0x178)));},_0x25f68f;}(_0x2b5aa7,_0x5c62f5,_0x40a88f);}(_0x238a23,_0x2df9c6,_0x53ffb9,_0x2c3142)}),_0x2c3142[_0x19b6b1(0x17d)][_0x19b6b1(0x10c)](_0x19b6b1(0x17b))[_0x19b6b1(0x168)]({'model':_0x19b6b1(0x146),'view':_0x505ceb=>function(_0x4765dc,_0xeb3069){const _0x4c424a=_0x19b6b1,_0x126af9=_0x4765dc[_0x4c424a(0x129)][_0x4c424a(0x15a)](':')[0x2];if(_0x126af9===_0xeb3069[_0x4c424a(0x159)])return null;const _0x231058=_0xeb3069[_0x4c424a(0x167)](_0x126af9);if(!_0x231058)return{'id':_0x126af9,'classes':[]};return{'id':_0x126af9,'classes':[_0x4c424a(0x165),_0x231058[_0x4c424a(0x157)][_0x4c424a(0x14b)]()],'attributes':{'data-session-id':_0x126af9},'priority':0x7d0+_0x231058[_0x4c424a(0x12d)]};}(_0x505ceb,_0x53ffb9)}),function(_0x18ff99){const _0x1fd161=_0x19b6b1,_0x677990=_0x18ff99[_0x1fd161(0x161)],_0x19edb7=new Map(),_0x5e9d6d=_0x18ff99[_0x1fd161(0x150)][_0x1fd161(0x13e)](_0x2d0a69);_0x677990[_0x1fd161(0x120)]['on'](_0x1fd161(0x118),(_0x125bf6,_0x5ae094,_0xbb0994,_0x4d0832)=>{const _0x247c26=_0x1fd161;if(!_0x4d0832&&_0x19edb7[_0x247c26(0x13e)](_0x5ae094[_0x247c26(0x173)]))return _0x19edb7[_0x247c26(0x13e)](_0x5ae094[_0x247c26(0x173)])[_0x247c26(0x17c)](),void _0x19edb7[_0x247c26(0x144)](_0x5ae094[_0x247c26(0x173)]);const _0x1a1d82=_0x5ae094[_0x247c26(0x173)][_0x247c26(0x15a)](':')[0x2];if(_0x1a1d82===_0x5e9d6d[_0x247c26(0x159)])return;const _0x155843=_0x247c26(0x160)+_0x1a1d82;_0x677990[_0x247c26(0x120)][_0x247c26(0x13b)](_0x155843)&&_0x18ff99[_0x247c26(0x12f)][_0x247c26(0x108)](_0x155843),_0x5ae094['on'](_0x247c26(0x13f),(_0x5e39bf,_0x2cc54f,_0x433246)=>{const _0x4463ac=_0x247c26;if(_0x4463ac(0x148)!=_0x2cc54f[_0x4463ac(0x11e)][_0x4463ac(0x172)]&&_0x4463ac(0x148)==_0x5ae094[_0x4463ac(0x139)]()[_0x4463ac(0x11e)][_0x4463ac(0x172)]&&!_0x19edb7[_0x4463ac(0x13b)](_0x5ae094[_0x4463ac(0x173)])){const _0x46e56e=_0x677990[_0x4463ac(0x170)][_0x4463ac(0x175)](_0x433246[_0x4463ac(0x12b)]);if(_0x46e56e){const _0x3ba3ba=_0x4eb9dc[_0x4463ac(0x16f)](_0x46e56e);_0x19edb7[_0x4463ac(0x138)](_0x5ae094[_0x4463ac(0x173)],_0x3ba3ba),_0x3ba3ba['on'](_0x4463ac(0x13f),(_0x293619,_0x582239,_0x5477a7)=>{const _0x43f8fe=_0x4463ac;if(_0x43f8fe(0x148)==_0x3ba3ba[_0x43f8fe(0x11e)][_0x43f8fe(0x172)]){const _0x35af2b=_0x677990[_0x43f8fe(0x170)][_0x43f8fe(0x175)](_0x5477a7[_0x43f8fe(0x12b)]);_0x35af2b?(_0x3ba3ba[_0x43f8fe(0x113)]=_0x35af2b[_0x43f8fe(0x113)],_0x3ba3ba[_0x43f8fe(0x16b)]=_0x35af2b[_0x43f8fe(0x16b)]):(_0x19edb7[_0x43f8fe(0x144)](_0x5ae094[_0x43f8fe(0x173)]),_0x3ba3ba[_0x43f8fe(0x17c)]());}});}}});}),_0x677990[_0x1fd161(0x10a)]['on'](_0x1fd161(0x14e),()=>{const _0x4972f6=_0x1fd161;_0x19edb7[_0x4972f6(0x11c)]>0x0&&_0x677990[_0x4972f6(0x13d)]({'isUndoable':!0x1},_0x3b81ef=>{const _0x4ea66b=_0x4972f6;for(const [_0x1640eb,_0x480899]of _0x19edb7)_0x4ea66b(0x148)==_0x677990[_0x4ea66b(0x120)][_0x4ea66b(0x13e)](_0x1640eb)[_0x4ea66b(0x139)]()[_0x4ea66b(0x11e)][_0x4ea66b(0x172)]&&(re(_0x1640eb[_0x4ea66b(0x15a)](':')[0x2],_0x480899[_0x4ea66b(0x110)](),_0x677990,_0x3b81ef),_0x480899[_0x4ea66b(0x17c)]());_0x19edb7[_0x4ea66b(0x171)]();});});}(_0x2c3142),this[_0x19b6b1(0x15c)][_0x19b6b1(0x111)](_0x44acf2[_0x19b6b1(0x10a)],_0x19b6b1(0x100),(_0x18c09e,{key:_0x41ee12})=>{const _0x4b4864=_0x19b6b1;_0x4b4864(0x137)===_0x41ee12&&function(_0x73e965){const _0x11c1b1=_0x4b4864;_0x73e965[_0x11c1b1(0x12f)][_0x11c1b1(0x114)][_0x11c1b1(0x14e)](_0x270534=>{const _0x362e58=_0x11c1b1;for(const _0x3d39f9 of _0x73e965[_0x362e58(0x161)][_0x362e58(0x120)]){if(!_0x3d39f9[_0x362e58(0x173)][_0x362e58(0x163)](_0x362e58(0x125)))continue;const _0x2288d0=_0x73e965[_0x362e58(0x12f)][_0x362e58(0x103)][_0x362e58(0x122)](_0x3d39f9[_0x362e58(0x173)]);if(_0x2288d0){for(const _0xa5840e of _0x2288d0)_0x270534[_0x362e58(0x153)](_0x362e58(0x107),_0xa5840e);}}});}(_0x2c3142);},{'useCapture':!0x0});}[_0x529c40(0x11f)](){const _0x338ba5=_0x529c40,_0x526b46=this[_0x338ba5(0x14c)],_0x4b0809=_0x526b46[_0x338ba5(0x112)][_0x338ba5(0x13e)](_0x338ba5(0x14a));_0x4b0809&&_0x526b46[_0x338ba5(0x161)]['on'](_0x338ba5(0x135),(_0x2f0fc3,_0x1806da)=>{const _0x639b5=_0x338ba5,_0x5a35a1=_0x1806da[0x0];if(_0x639b5(0x10d)!=_0x5a35a1[_0x639b5(0x179)]||!_0x5a35a1[_0x639b5(0x173)][_0x639b5(0x163)](_0x639b5(0x10f)))return;const _0x432dcc=_0x5a35a1[_0x639b5(0x166)];_0x4b0809[_0x639b5(0x164)][_0x639b5(0x13b)](_0x432dcc)&&(_0x5a35a1[_0x639b5(0x11b)]=_0x5a35a1[_0x639b5(0x102)]?_0x526b46[_0x639b5(0x161)][_0x639b5(0x14f)](_0x5a35a1[_0x639b5(0x102)][_0x639b5(0x113)],_0x5a35a1[_0x639b5(0x102)][_0x639b5(0x16b)]):null);},{'priority':_0x338ba5(0x109)});}[_0x529c40(0x132)](){const _0x2b2e0d=_0x529c40;return this[_0x2b2e0d(0x15c)][_0x2b2e0d(0x11d)](),super[_0x2b2e0d(0x132)]();}[_0x529c40(0x104)](){const _0x585dc4=_0x529c40,_0x1cbffb=this[_0x585dc4(0x14c)],_0x34ed09=_0x1cbffb[_0x585dc4(0x161)][_0x585dc4(0x10a)],_0x292ab4=_0x1cbffb[_0x585dc4(0x150)][_0x585dc4(0x13e)](_0x2d0a69);_0x1cbffb[_0x585dc4(0x161)][_0x585dc4(0x13d)]({'isUndoable':!0x1},_0x58b38e=>{const _0x68bebd=_0x585dc4,_0x384a57=_0x68bebd(0xfd)+_0x292ab4[_0x68bebd(0x159)],_0x29f376=_0x68bebd(0x160)+_0x292ab4[_0x68bebd(0x159)],_0x5df109=_0x1cbffb[_0x68bebd(0x161)][_0x68bebd(0x120)][_0x68bebd(0x13b)](_0x384a57);_0x1cbffb[_0x68bebd(0x12f)][_0x68bebd(0x114)][_0x68bebd(0x140)]?re(_0x292ab4[_0x68bebd(0x159)],_0x34ed09[_0x68bebd(0x16d)][_0x68bebd(0xff)](),_0x1cbffb[_0x68bebd(0x161)],_0x58b38e):_0x5df109&&(_0x58b38e[_0x68bebd(0x128)](_0x384a57),_0x58b38e[_0x68bebd(0x128)](_0x29f376));});}}function re(_0xcd1ae7,_0x51444a,_0x4a60af,_0x8990fb){const _0x48a3b5=_0x529c40,_0x95e293=_0x48a3b5(0xfd)+_0xcd1ae7,_0x26195b=_0x48a3b5(0x160)+_0xcd1ae7,_0x8d8db=_0x51444a[_0x48a3b5(0x121)]();let _0x5cdcc0=_0x51444a[_0x48a3b5(0x113)];_0x8d8db&&_0x8d8db['is'](_0x48a3b5(0x174),_0x48a3b5(0x152))&&(_0x5cdcc0=function(_0x8c76bf,_0x427196){const _0x113eaa=_0x48a3b5;for(const _0x3713ef of _0x8c76bf[_0x113eaa(0x13c)]())if(_0x427196[_0x113eaa(0x170)][_0x113eaa(0x101)](_0x3713ef,_0x113eaa(0x127)))return _0x3713ef;}(_0x51444a,_0x4a60af),_0x51444a=_0x8990fb[_0x48a3b5(0x14f)](_0x5cdcc0));const _0x2b038e=_0x8990fb[_0x48a3b5(0x14f)](_0x5cdcc0);_0x4a60af[_0x48a3b5(0x120)][_0x48a3b5(0x13b)](_0x95e293)?(_0x8990fb[_0x48a3b5(0x162)](_0x95e293,{'range':_0x51444a}),_0x8990fb[_0x48a3b5(0x162)](_0x26195b,{'range':_0x2b038e})):(_0x8990fb[_0x48a3b5(0x16a)](_0x95e293,{'range':_0x51444a,'usingOperation':!0x0}),_0x8990fb[_0x48a3b5(0x16a)](_0x26195b,{'range':_0x2b038e,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x348041=_0x168d;(function(_0x3b09dd,_0x364ff5){const _0x187def=_0x168d,_0x5ab1c1=_0x3b09dd();while(!![]){try{const _0x29ad41=parseInt(_0x187def(0x1e4))/0x1*(parseInt(_0x187def(0x1c5))/0x2)+parseInt(_0x187def(0x1be))/0x3+-parseInt(_0x187def(0x1d7))/0x4+parseInt(_0x187def(0x1d0))/0x5*(parseInt(_0x187def(0x1ce))/0x6)+parseInt(_0x187def(0x1ac))/0x7*(parseInt(_0x187def(0x1b4))/0x8)+parseInt(_0x187def(0x1d1))/0x9*(-parseInt(_0x187def(0x1c2))/0xa)+-parseInt(_0x187def(0x1bb))/0xb;if(_0x29ad41===_0x364ff5)break;else _0x5ab1c1['push'](_0x5ab1c1['shift']());}catch(_0x49e43a){_0x5ab1c1['push'](_0x5ab1c1['shift']());}}}(_0x10ad,0x347bf));import{ContextPlugin as _0x28a616}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x467c6a,CKEditorError as _0x3bcd2f}from'ckeditor5/src/utils.js';function _0x168d(_0x3a593d,_0x18244b){const _0x10ad0c=_0x10ad();return _0x168d=function(_0x168d20,_0x307e07){_0x168d20=_0x168d20-0x19e;let _0x5e4c35=_0x10ad0c[_0x168d20];return _0x5e4c35;},_0x168d(_0x3a593d,_0x18244b);}import{WebSocketGateway as _0xa38eeb,WEB_SOCKET_GATEWAY_STATES as _0xce549a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x10ad(){const _0x22ceaf=['requires','add','_reconnectionStack','function','585472XwBmiO','code','limitExceeded','define','cloudServices.connectionTimeout','plugins','offline','887095SeHOXD','_reconnect','change:me','533865jacITK','set','addToReconnectionStack','websocketgateway-plugin-already-registered','50vfXRjD','connection','reconnect','8azuUQY','state','then','removeFromReconnectionStack','from','initialReconnectionInterval','catch','init','delete','6NjKDxc','websocketgateway-missing-websocket-url','349775JYKwNd','213165iqVTzx','isInReconnectionStack','has','get','showWarning','cloudservices-init','923876OfLIEc','listenTo','cloudServices.requestTimeout','websocketgateway-missing-token','CloudServices','context','Connected\x20users\x20limit\x20exceeded','config','_isBrowserOffline','The\x20limit\x20of\x20maximum\x20concurrent\x20connections\x20that\x20the\x20collaboration\x20server\x20can\x20handle\x20has\x20been\x20reached.\x20Try\x20opening\x20the\x20document\x20again\x20in\x20a\x20few\x20minutes.\x20Please\x20contact\x20your\x20system\x20administrator\x20if\x20the\x20problem\x20persists.','CONNECTED','CONNECTING','websocketgateway-invalid-plugin-interface','62684erOhAW','cloudservices-reconnection-error','webSocketUrl','error','DISCONNECTED','_shouldPluginsReconnect','bind','connect','all','WebSocketGateway','stopListening','destroy','token','_domEmitter','online','connected','create','constructor','14IzXZIs','pluginName','disconnect','real-time-collaboration'];_0x10ad=function(){return _0x22ceaf;};return _0x10ad();}import{Notification as _0x415b5f}from'ckeditor5/src/ui.js';class c extends _0x28a616{static get[_0x348041(0x1b0)](){const _0xcb225e=_0x348041;return[_0xcb225e(0x1db),_0x415b5f];}static get[_0x348041(0x1ad)](){const _0x4ca35c=_0x348041;return _0x4ca35c(0x1a3);}constructor(_0x3f7480){const _0x3f5c46=_0x348041;super(_0x3f7480),this[_0x3f5c46(0x1bf)](_0x3f5c46(0x1c6),_0xce549a[_0x3f5c46(0x1e1)]),this[_0x3f5c46(0x1bf)](_0x3f5c46(0x1df),!0x1),this[_0x3f5c46(0x1b2)]=new Set(),this[_0x3f5c46(0x19f)]=!0x1,this[_0x3f5c46(0x1a7)]=Object[_0x3f5c46(0x1aa)](_0x467c6a);}[_0x348041(0x1cc)](){const _0x44c2a8=_0x348041,_0x4b9512=this[_0x44c2a8(0x1dc)],_0x4fab50=_0x4b9512[_0x44c2a8(0x1b9)][_0x44c2a8(0x1d4)](_0x44c2a8(0x1db)),_0x26c94d=_0x4b9512[_0x44c2a8(0x1b9)][_0x44c2a8(0x1d4)](_0x415b5f);if(!_0x4fab50[_0x44c2a8(0x1a6)])throw new _0x3bcd2f(_0x44c2a8(0x1da),this);if(!_0x4fab50[_0x44c2a8(0x1e6)])throw new _0x3bcd2f(_0x44c2a8(0x1cf),this);return this[_0x44c2a8(0x1a7)][_0x44c2a8(0x1d8)](window,_0x44c2a8(0x1ba),()=>this[_0x44c2a8(0x1df)]=!0x0),this[_0x44c2a8(0x1a7)][_0x44c2a8(0x1d8)](window,_0x44c2a8(0x1a8),()=>this[_0x44c2a8(0x1df)]=!0x1),this[_0x44c2a8(0x1dc)][_0x44c2a8(0x1de)][_0x44c2a8(0x1b7)](_0x44c2a8(0x1b8),0xa),this[_0x44c2a8(0x1dc)][_0x44c2a8(0x1de)][_0x44c2a8(0x1b7)](_0x44c2a8(0x1d9),0x14),c[_0x44c2a8(0x1a3)][_0x44c2a8(0x1a1)](_0x4fab50[_0x44c2a8(0x1a6)],_0x4fab50[_0x44c2a8(0x1e6)],{'timeout':0x3e8*this[_0x44c2a8(0x1dc)][_0x44c2a8(0x1de)][_0x44c2a8(0x1d4)](_0x44c2a8(0x1b8)),'requestTimeout':0x3e8*this[_0x44c2a8(0x1dc)][_0x44c2a8(0x1de)][_0x44c2a8(0x1d4)](_0x44c2a8(0x1d9))})[_0x44c2a8(0x1c7)](_0x14de7f=>{const _0x1da072=_0x44c2a8;if(this[_0x1da072(0x1c3)]=_0x14de7f,this[_0x1da072(0x1a0)](_0x1da072(0x1c6))['to'](_0x14de7f,_0x1da072(0x1c6),this,_0x1da072(0x1df),(_0x42a193,_0x11513a)=>(_0x1da072(0x1a9)!==_0x42a193&&(this[_0x1da072(0x19f)]=!0x0),_0x11513a||_0x42a193!==_0xce549a[_0x1da072(0x1e1)]?_0xce549a[_0x1da072(0x19e)]:this[_0x1da072(0x1c6)]==_0xce549a[_0x1da072(0x19e)]&&this[_0x1da072(0x19f)]?(this[_0x1da072(0x19f)]=!0x1,this[_0x1da072(0x1bc)](),_0xce549a[_0x1da072(0x1e2)]):_0xce549a[_0x1da072(0x1e1)])),this[_0x1da072(0x1c3)]['on'](_0x1da072(0x1e7),(_0x4eda14,_0x32463d)=>{const _0x27f27e=_0x1da072;if(_0x27f27e(0x1b6)!==_0x32463d[_0x27f27e(0x1b5)])throw console[_0x27f27e(0x1e7)](_0x32463d),new _0x3bcd2f(_0x27f27e(0x1d6),null,{'originalError':_0x32463d});_0x26c94d[_0x27f27e(0x1d5)](_0x27f27e(0x1e0),{'title':_0x27f27e(0x1dd),'namespace':_0x27f27e(0x1af)});}),!_0x14de7f['me'])return new Promise(_0x1b6925=>_0x14de7f['on'](_0x1da072(0x1bd),_0x1b6925));})[_0x44c2a8(0x1cb)](_0x311677=>{const _0xc476dc=_0x44c2a8;throw console[_0xc476dc(0x1e7)](_0x311677),new _0x3bcd2f(_0xc476dc(0x1d6),null,{'originalError':_0x311677});});}[_0x348041(0x1c0)](_0x18a151){const _0x5bac10=_0x348041;if(_0x5bac10(0x1b3)!=typeof _0x18a151[_0x5bac10(0x1c4)])throw new _0x3bcd2f(_0x5bac10(0x1e3),this);if(this[_0x5bac10(0x1d2)](_0x18a151))throw new _0x3bcd2f(_0x5bac10(0x1c1),this,{'name':_0x18a151[_0x5bac10(0x1ab)][_0x5bac10(0x1ad)]});this[_0x5bac10(0x1b2)][_0x5bac10(0x1b1)](_0x18a151);}[_0x348041(0x1c8)](_0x34c495){const _0x27a37a=_0x348041;this[_0x27a37a(0x1b2)][_0x27a37a(0x1cd)](_0x34c495);}[_0x348041(0x1d2)](_0x14f3bc){const _0x1b5c79=_0x348041;return this[_0x1b5c79(0x1b2)][_0x1b5c79(0x1d3)](_0x14f3bc);}[_0x348041(0x1bc)](){const _0x39d38f=_0x348041;return this[_0x39d38f(0x1c3)][_0x39d38f(0x1c4)]()[_0x39d38f(0x1c7)](()=>Promise[_0x39d38f(0x1a2)](Array[_0x39d38f(0x1c9)](this[_0x39d38f(0x1b2)],_0x1a651e=>_0x1a651e[_0x39d38f(0x1c4)]())))[_0x39d38f(0x1c7)](()=>this[_0x39d38f(0x1c6)]=_0xce549a[_0x39d38f(0x1e1)])[_0x39d38f(0x1cb)](_0x34500c=>{const _0x377cd4=_0x39d38f;throw console[_0x377cd4(0x1e7)](_0x34500c),new _0x3bcd2f(_0x377cd4(0x1e5),this[_0x377cd4(0x1dc)]);});}[_0x348041(0x1a5)](){const _0x45c875=_0x348041;this[_0x45c875(0x1c3)]&&this[_0x45c875(0x1c3)][_0x45c875(0x1ae)](),this[_0x45c875(0x1c6)]=_0xce549a[_0x45c875(0x19e)],this[_0x45c875(0x1a7)][_0x45c875(0x1a4)](),super[_0x45c875(0x1a5)]();}}c[_0x348041(0x1a3)]=_0xa38eeb,c[_0x348041(0x1ca)]=0x3e8;export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x560e(){var _0x2ed4de=['pluginName','requires','RealTimeCollaborativeEditing','75034rzCrNh','20znPIGc','1612182XuhgsR','385260ZTrxzE','876450nnkYyw','736162YdmPXQ','987392ULirfQ','13803176NKRAtk'];_0x560e=function(){return _0x2ed4de;};return _0x560e();}var _0x754fd7=_0x4cdb;(function(_0x7febc5,_0x448b2c){var _0x25cfa2=_0x4cdb,_0x5413c3=_0x7febc5();while(!![]){try{var _0x54c5c5=-parseInt(_0x25cfa2(0xa6))/0x1+-parseInt(_0x25cfa2(0xac))/0x2+-parseInt(_0x25cfa2(0xaa))/0x3+-parseInt(_0x25cfa2(0xa9))/0x4*(parseInt(_0x25cfa2(0xa7))/0x5)+-parseInt(_0x25cfa2(0xa8))/0x6+parseInt(_0x25cfa2(0xab))/0x7+parseInt(_0x25cfa2(0xad))/0x8;if(_0x54c5c5===_0x448b2c)break;else _0x5413c3['push'](_0x5413c3['shift']());}catch(_0x569464){_0x5413c3['push'](_0x5413c3['shift']());}}}(_0x560e,0x4d14e));import{Plugin as _0xbe4007}from'ckeditor5/src/core.js';function _0x4cdb(_0x4a32c7,_0x386b48){var _0x560ebb=_0x560e();return _0x4cdb=function(_0x4cdbcf,_0x29a909){_0x4cdbcf=_0x4cdbcf-0xa5;var _0x71704a=_0x560ebb[_0x4cdbcf];return _0x71704a;},_0x4cdb(_0x4a32c7,_0x386b48);}import _0x535fd6 from'./realtimecollaborativeediting/realtimecollaborationclient.js';export default class n extends _0xbe4007{static get[_0x754fd7(0xaf)](){return[_0x535fd6];}static get[_0x754fd7(0xae)](){var _0x3c4442=_0x754fd7;return _0x3c4442(0xa5);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x58aca5=_0x117e;(function(_0x13f163,_0x37faf3){const _0x4e7335=_0x117e,_0x447b1e=_0x13f163();while(!![]){try{const _0xf7d4af=parseInt(_0x4e7335(0x8c))/0x1+parseInt(_0x4e7335(0xb1))/0x2+-parseInt(_0x4e7335(0x96))/0x3*(-parseInt(_0x4e7335(0x95))/0x4)+-parseInt(_0x4e7335(0xc9))/0x5+-parseInt(_0x4e7335(0xd1))/0x6*(parseInt(_0x4e7335(0x8f))/0x7)+-parseInt(_0x4e7335(0xa2))/0x8+parseInt(_0x4e7335(0xa8))/0x9;if(_0xf7d4af===_0x37faf3)break;else _0x447b1e['push'](_0x447b1e['shift']());}catch(_0x14c747){_0x447b1e['push'](_0x447b1e['shift']());}}}(_0x33d7,0x3ddac));import{Plugin as _0x250b81}from'ckeditor5/src/core.js';import{version as _0x20eb76}from'ckeditor5/src/utils.js';import{Users as _0x4d156c}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x35f0f7 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x481b92 from'../realtimecollaborativeediting/websocketgateway.js';import _0x3d3c31 from'../realtimecollaborativeediting/sessions.js';function _0x117e(_0x2489ed,_0x187392){const _0x33d7a7=_0x33d7();return _0x117e=function(_0x117e3e,_0x1859eb){_0x117e3e=_0x117e3e-0x7f;let _0x528de0=_0x33d7a7[_0x117e3e];return _0x528de0;},_0x117e(_0x2489ed,_0x187392);}import{EditorService as _0x4f8e6a,RevisionHistoryService as _0x12a974,User as _0x3eddd0,WEB_SOCKET_GATEWAY_STATES as _0x1ab0b4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x250b81{static get[_0x58aca5(0xe3)](){const _0x59bf90=_0x58aca5;return[_0x481b92,_0x35f0f7,_0x59bf90(0x86),_0x3d3c31,_0x4d156c];}constructor(_0x5237a2){const _0x3a60c6=_0x58aca5;super(_0x5237a2);const _0x55fef1=this[_0x3a60c6(0xe4)][_0x3a60c6(0x7f)][_0x3a60c6(0xcd)](_0x3a60c6(0xb2));this[_0x3a60c6(0xdb)]=null,this[_0x3a60c6(0xd2)]=this[_0x3a60c6(0xe4)][_0x3a60c6(0xbd)][_0x3a60c6(0xcd)](_0x3a60c6(0x86)),this[_0x3a60c6(0x8d)]=new v[(_0x3a60c6(0xaa))](_0x55fef1);}async[_0x58aca5(0xeb)](){const _0x918a98=_0x58aca5,_0x553735=this[_0x918a98(0xe4)][_0x918a98(0xbd)][_0x918a98(0xcd)](_0x35f0f7),_0x15ecea=_0x553735[_0x918a98(0xab)],_0x46022a=this[_0x918a98(0xe4)][_0x918a98(0xbd)][_0x918a98(0xcd)](_0x481b92);this[_0x918a98(0xd2)][_0x918a98(0xce)]({'history':_0x15ecea,'getLatestVersion':()=>this[_0x918a98(0x9a)](),'getCurrentRevisionId':()=>_0x553735[_0x918a98(0xca)]});const _0x2ec257=this[_0x918a98(0xe4)][_0x918a98(0x7f)][_0x918a98(0xcd)](_0x918a98(0xb5))||_0x20eb76,_0x3f2a17=await _0x4f8e6a[_0x918a98(0x8b)](_0x46022a[_0x918a98(0xc4)],_0x2ec257);this[_0x918a98(0xd2)][_0x918a98(0x91)]={'getRevision':async({revisionId:_0x1f0f50})=>(await this[_0x918a98(0xd8)](),await this[_0x918a98(0x8d)][_0x918a98(0xb4)](_0x1f0f50)),'updateRevisions':async _0x390baa=>{const _0x52bca6=_0x918a98;await this[_0x52bca6(0xd8)]();const _0x44271b=this[_0x52bca6(0xd2)][_0x52bca6(0xe7)];if(_0x3f2a17&&0x1===_0x390baa[_0x52bca6(0x9f)]&&_0x390baa[0x0]['id']===_0x44271b['id'])return _0x390baa;for(const _0x4f67e3 of _0x390baa)_0x4f67e3['id']===_0x44271b['id']&&(_0x4f67e3[_0x52bca6(0xc3)]=_0x4f67e3[_0x52bca6(0xb0)]===_0x4f67e3[_0x52bca6(0xdf)]);return this[_0x52bca6(0x8d)][_0x52bca6(0xa9)](_0x390baa,this[_0x52bca6(0xdb)])[_0x52bca6(0xa6)](_0x4a6c41=>(this[_0x52bca6(0xdb)]=_0x4a6c41,_0x390baa))[_0x52bca6(0x92)](_0x1a86f9=>{const _0x35b2e5=_0x52bca6;if(st(_0x1a86f9)||_0x35b2e5(0x9d)===_0x1a86f9[_0x35b2e5(0x87)]&&void 0x0!==_0x1a86f9[_0x35b2e5(0xe1)][_0x35b2e5(0xd0)]){for(const _0xff38e4 of _0x390baa){!this[_0x35b2e5(0xd2)][_0x35b2e5(0xac)][_0x35b2e5(0xb4)](_0xff38e4['id'])||this[_0x35b2e5(0xd2)][_0x35b2e5(0x82)](_0xff38e4['id'],_0xff38e4,!0x1);}if(st(_0x1a86f9))throw _0x1a86f9;return _0x390baa;}throw _0x1a86f9;});}},this[_0x918a98(0xcf)](this[_0x918a98(0x8d)],_0x918a98(0xad),(_0x3cc512,{revisionsData:_0x2b4117,requestId:_0x198bf4})=>{const _0x2cb4c7=_0x918a98;Math[_0x2cb4c7(0xd6)](..._0x2b4117[_0x2cb4c7(0x81)](_0x1e7eb6=>_0x1e7eb6[_0x2cb4c7(0xdf)]))>this[_0x2cb4c7(0x9c)]()-0x1?this[_0x2cb4c7(0x9a)]()[_0x2cb4c7(0xa6)](()=>{const _0x15cc6d=_0x2cb4c7;this[_0x15cc6d(0x83)](_0x2b4117,_0x198bf4);}):this[_0x2cb4c7(0x83)](_0x2b4117,_0x198bf4);});const {revisions:_0x1878d7,requestId:_0x1167d6}=await this[_0x918a98(0x8d)][_0x918a98(0xb8)](_0x46022a[_0x918a98(0xc4)]);_0x46022a[_0x918a98(0x94)](this),this[_0x918a98(0xdb)]=_0x1167d6,await this[_0x918a98(0x88)](_0x1878d7);for(const _0x3af6a9 of _0x1878d7)this[_0x918a98(0xd2)][_0x918a98(0xda)](_0x3af6a9);this[_0x918a98(0xcf)](_0x553735,_0x918a98(0xe0),(_0x4f46aa,_0x2341a1,_0x321f26)=>{const _0x11e020=_0x918a98;_0x321f26&&(this[_0x11e020(0x89)]=_0x553735[_0x11e020(0xdd)],_0x4f46aa[_0x11e020(0xa3)]());}),this[_0x918a98(0xd2)][_0x918a98(0xa5)](_0x918a98(0x80))['to'](_0x46022a,_0x918a98(0x9e),_0x5bbaf0=>_0x5bbaf0===_0x1ab0b4[_0x918a98(0xc2)]);}async[_0x58aca5(0x8a)](){const _0x1fbb99=_0x58aca5,_0x59db50=this[_0x1fbb99(0xe4)][_0x1fbb99(0xbd)][_0x1fbb99(0xcd)](_0x481b92),_0x5700ac=this[_0x1fbb99(0xe4)][_0x1fbb99(0xbd)][_0x1fbb99(0xcd)](_0x35f0f7),_0x4f7116=async()=>{const _0x395fdc=_0x1fbb99,_0xc726ec=this[_0x395fdc(0xd2)][_0x395fdc(0xe7)],_0xb22a88=_0xc726ec['id'],_0xa973af=_0xb22a88!==_0x5700ac[_0x395fdc(0xca)];if(_0xa973af){const _0x5ec304=_0x5700ac[_0x395fdc(0xdd)]-this[_0x395fdc(0x89)],_0x2b45b9=this[_0x395fdc(0x9c)]();this[_0x395fdc(0xd2)][_0x395fdc(0xb7)][_0x395fdc(0x97)]();if(_0xc726ec[_0x395fdc(0xdf)]+_0x5ec304!==_0x2b45b9){const _0x83a213=_0xc726ec[_0x395fdc(0xb0)]+_0x5ec304,_0x267fa2=this[_0x395fdc(0xe4)][_0x395fdc(0xbd)][_0x395fdc(0xcd)](_0x4d156c),_0x4480ff=this[_0x395fdc(0xd2)][_0x395fdc(0xec)]({'revision':_0xc726ec,'from':_0x83a213,'to':_0x2b45b9});_0x4480ff['id']=_0xc726ec['id'];const _0x563490=_0x4480ff[_0x395fdc(0xaf)][_0x395fdc(0x81)](_0x108869=>_0x267fa2[_0x395fdc(0xe6)](_0x108869));_0xc726ec[_0x395fdc(0xd3)]({..._0x4480ff,'authors':_0x563490},!0x0),this[_0x395fdc(0xd2)][_0x395fdc(0x82)](_0xc726ec['id'],_0x4480ff,!0x0);}this[_0x395fdc(0xd2)][_0x395fdc(0xb6)]=_0x2b45b9,(_0xc726ec[_0x395fdc(0xdf)]===_0xc726ec[_0x395fdc(0xb0)]&&!this[_0x395fdc(0xd2)][_0x395fdc(0xc1)][_0x395fdc(0xba)](_0xb22a88)&&this[_0x395fdc(0xd2)][_0x395fdc(0xac)][_0x395fdc(0x93)][_0x395fdc(0xd7)](_0xb22a88),this[_0x395fdc(0xd2)][_0x395fdc(0xe8)](_0x2b45b9));}const {revisions:_0x4d2e98,requestId:_0x107256}=await this[_0x395fdc(0x8d)][_0x395fdc(0x8a)](_0x59db50[_0x395fdc(0xc4)],this[_0x395fdc(0xdb)]);_0xa973af&&_0x4d2e98[_0x395fdc(0x9f)]>0x0?_0x5700ac[_0x395fdc(0xc0)]():(await this[_0x395fdc(0x88)](_0x4d2e98),this[_0x395fdc(0x83)](_0x4d2e98,_0x107256),this[_0x395fdc(0xd2)][_0x395fdc(0x90)]());};return _0x5700ac[_0x1fbb99(0xa7)]?_0x4f7116():new Promise((_0x553d03,_0xc48a11)=>{const _0x3474a1=_0x1fbb99;_0x5700ac[_0x3474a1(0xe5)](_0x3474a1(0xe0),()=>{const _0x158150=_0x3474a1;_0x4f7116()[_0x158150(0xa6)](_0x553d03)[_0x158150(0x92)](_0xc48a11);});});}[_0x58aca5(0xbf)](){const _0xbaee1b=_0x58aca5;super[_0xbaee1b(0xbf)]();}async[_0x58aca5(0xd8)](){const _0x426ac4=_0x58aca5;this[_0x426ac4(0x8d)][_0x426ac4(0x98)]||await new Promise(_0x5e764b=>{const _0x32e966=_0x426ac4;this[_0x32e966(0xcf)](this[_0x32e966(0x8d)],_0x32e966(0xe9),_0x300ff7=>{const _0x1b0d15=_0x32e966;_0x300ff7[_0x1b0d15(0xa3)](),_0x5e764b();});});}[_0x58aca5(0x9c)](){const _0x3c0aca=_0x58aca5,_0x441a67=this[_0x3c0aca(0xe4)][_0x3c0aca(0xbd)][_0x3c0aca(0xcd)](_0x35f0f7)[_0x3c0aca(0xab)][_0x3c0aca(0xa4)]()[_0x3c0aca(0xc5)]();for(const _0x1d5a1e of _0x441a67)if(_0x3c0aca(0xbc)!==_0x1d5a1e[_0x3c0aca(0xc7)]||_0x1d5a1e[_0x3c0aca(0xcb)])return _0x1d5a1e[_0x3c0aca(0xd4)]+0x1;}[_0x58aca5(0x9a)](){const _0x4044fb=_0x58aca5,_0x2a3850=this[_0x4044fb(0xe4)][_0x4044fb(0xbd)][_0x4044fb(0xcd)](_0x35f0f7);return new Promise(_0x515261=>{const _0x1eee81=_0x4044fb;_0x2a3850[_0x1eee81(0x85)]?_0x2a3850[_0x1eee81(0xe5)](_0x1eee81(0xb9),()=>{const _0x3f4708=_0x1eee81;_0x515261(this[_0x3f4708(0x9c)]());}):_0x515261(this[_0x1eee81(0x9c)]());});}[_0x58aca5(0x83)](_0x31acfd,_0x40753d){const _0x3c623f=_0x58aca5,_0x540c8e=this[_0x3c623f(0xd2)][_0x3c623f(0xac)];this[_0x3c623f(0xdb)]=_0x40753d;for(const _0x4e488a of _0x31acfd){const _0x21217e=_0x540c8e[_0x3c623f(0xb4)](_0x4e488a['id']);if(_0x21217e){if((_0x4e488a[_0x3c623f(0xb0)]||_0x4e488a[_0x3c623f(0xdf)])&&(_0x4e488a[_0x3c623f(0x9b)]=null),_0x21217e===this[_0x3c623f(0xd2)][_0x3c623f(0xe7)]){const _0x5a024e=Math[_0x3c623f(0xd6)](_0x21217e[_0x3c623f(0xdf)],_0x4e488a[_0x3c623f(0xdf)]),_0x48e53d=Math[_0x3c623f(0xd6)](_0x21217e[_0x3c623f(0xb0)],_0x4e488a[_0x3c623f(0xb0)]);let _0x5072dd;_0x21217e[_0x3c623f(0xdf)]===_0x4e488a[_0x3c623f(0xdf)]&&_0x21217e[_0x3c623f(0xb0)]===_0x4e488a[_0x3c623f(0xb0)]?(_0x5072dd=!0x0,this[_0x3c623f(0xa0)](_0x4e488a)):_0x4e488a[_0x3c623f(0xdf)]===_0x5a024e&&_0x4e488a[_0x3c623f(0xb0)]===_0x48e53d?_0x5072dd=!0x1:(_0x21217e[_0x3c623f(0xdf)]===_0x5a024e&&_0x21217e[_0x3c623f(0xb0)]===_0x48e53d||this[_0x3c623f(0xae)]({'revision':_0x21217e,'from':_0x48e53d,'to':_0x5a024e}),_0x5072dd=!0x0),_0x5072dd&&(delete _0x4e488a[_0x3c623f(0xb0)],delete _0x4e488a[_0x3c623f(0xdf)],delete _0x4e488a[_0x3c623f(0x9b)],delete _0x4e488a[_0x3c623f(0xc6)],delete _0x4e488a[_0x3c623f(0xaf)]);}this[_0x3c623f(0xd2)][_0x3c623f(0xcc)](_0x4e488a),this[_0x3c623f(0xa0)](_0x4e488a);}else this[_0x3c623f(0xd2)][_0x3c623f(0xda)](_0x4e488a);}const _0x3d54ff=_0x540c8e[_0x3c623f(0x84)]();_0x3d54ff[_0x3c623f(0xc5)]();for(let _0x31de23=0x0;_0x31de23<_0x3d54ff[_0x3c623f(0x9f)]-0x1;_0x31de23++){const _0x3071a2=_0x3d54ff[_0x31de23],_0x3e3cf0=_0x3d54ff[_0x31de23+0x1];if(_0x3071a2[_0x3c623f(0xb0)]<_0x3e3cf0[_0x3c623f(0xdf)]){const _0x41aa4a=_0x3e3cf0[_0x3c623f(0xdf)],_0x5ae847=Math[_0x3c623f(0xd6)](_0x41aa4a,_0x3071a2[_0x3c623f(0xdf)]);this[_0x3c623f(0xae)]({'revision':_0x3071a2,'from':_0x41aa4a,'to':_0x5ae847});}}}[_0x58aca5(0xae)]({revision:_0xce2b2b,from:_0x3316e6,to:_0x3c02fa}={}){const _0x31191b=_0x58aca5,_0x2202e1=this[_0x31191b(0xe4)][_0x31191b(0xbd)][_0x31191b(0xcd)](_0x4d156c),_0x279074=this[_0x31191b(0xd2)][_0x31191b(0xec)]({'revision':_0xce2b2b,'from':_0x3316e6,'to':_0x3c02fa});_0x279074[_0x31191b(0xe2)]=_0x279074[_0x31191b(0xaf)][_0x31191b(0x81)](_0x280151=>_0x2202e1[_0x31191b(0xe6)](_0x280151)),_0xce2b2b[_0x31191b(0xd3)](_0x279074);}[_0x58aca5(0xa0)](_0x566a84){const _0x4cf834=_0x58aca5,_0x168d51={};_0x168d51['id']=_0x566a84['id'];for(const _0x7fa33d of Object[_0x4cf834(0xa1)](_0x566a84))'id'!==_0x7fa33d&&(_0x168d51[_0x7fa33d]=void 0x0);this[_0x4cf834(0xd2)][_0x4cf834(0x82)](_0x168d51['id'],_0x168d51,!0x0);}async[_0x58aca5(0x88)](_0x320c70){const _0x4540eb=_0x58aca5,_0x551930=this[_0x4540eb(0xe4)][_0x4540eb(0xbd)][_0x4540eb(0xcd)](_0x4d156c),{connection:_0x31f8fc}=this[_0x4540eb(0xe4)][_0x4540eb(0xbd)][_0x4540eb(0xcd)](_0x481b92),_0x43de4d=new Set();for(const _0x59d1c9 of _0x320c70){for(const _0xe6213b of _0x59d1c9[_0x4540eb(0xaf)])_0x58bff2(_0xe6213b);_0x59d1c9[_0x4540eb(0xea)]&&_0x58bff2(_0x59d1c9[_0x4540eb(0xea)]);}if(0x0===_0x43de4d[_0x4540eb(0xbb)])return;const _0x474fb6=await _0x3eddd0[_0x4540eb(0xbe)](_0x31f8fc,Array[_0x4540eb(0xde)](_0x43de4d));for(const _0x38982d of _0x474fb6)_0x551930[_0x4540eb(0xe6)](_0x38982d['id'])||_0x551930[_0x4540eb(0xc8)](_0x38982d);function _0x58bff2(_0x2a6fa3){const _0x3ed3c7=_0x4540eb;_0x551930[_0x3ed3c7(0xe6)](_0x2a6fa3)||_0x43de4d[_0x3ed3c7(0x99)](_0x2a6fa3);}}}v[_0x58aca5(0xaa)]=_0x12a974;function _0x33d7(){const _0xc6a04=['wrongRequestId','678CLuzjZ','_revisionTracker','_update','baseVersion','cloud-services-internal-error:\x20Not\x20connected.','max','remove','_waitForServiceReady','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','addRevisionData','_lastRequestId','startsWith','_offset','from','toVersion','change:_isConnected','data','authors','requires','editor','once','getUser','currentRevision','_createCurrentRevision','connected','creatorId','init','buildRevisionData','config','isEnabled','map','_bufferUpdate','_handleRevisionsUpdate','getRevisions','_isPendingUpdate','RevisionTracker','code','_fetchMissingUsers','_oldOffset','reconnect','isBundleUploaded','92296LStPFj','_revisionHistoryService','message','3234RYdXyb','sendBufferedUpdates','adapter','catch','_revisions','addToReconnectionStack','4jbKugr','1190001Hukpru','reInit','isConnected','add','_getLatestVersion','diffData','_getLatestVersionFromServerOperations','400','state','length','_preventResendingRevisionData','keys','1923912iltKOs','off','getOperations','bind','then','_isConnected','1546551QaBZlX','updateRevisions','RevisionHistoryService','serverHistory','repository','revisionsUpdated','_fixRevision','authorsIds','fromVersion','737872bQozgR','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','getRevision','cloudServices.bundleVersion','_startingVersion','_revisionDataBuilder','connect','change:_isPendingUpdate','has','size','marker','plugins','getMany','destroy','_handleReconnectionError','_bufferedUpdates','CONNECTED','isEmptyCurrent','connection','reverse','createdAt','type','addUser','2418435aWTGiI','sessionId','affectsData','setRevisionData','get','setSource','listenTo'];_0x33d7=function(){return _0xc6a04;};return _0x33d7();}export default v;function st(_0x490b60){const _0x475f23=_0x58aca5;return _0x490b60[_0x475f23(0x8e)][_0x475f23(0xdc)](_0x475f23(0xd9))||_0x490b60[_0x475f23(0x8e)][_0x475f23(0xdc)](_0x475f23(0xd5))||_0x490b60[_0x475f23(0x8e)][_0x475f23(0xdc)](_0x475f23(0xb3));}
|
|
23
|
+
const _0x55b31b=_0x3ebf;(function(_0x60ffd1,_0x47bf1d){const _0x3a9409=_0x3ebf,_0xc29165=_0x60ffd1();while(!![]){try{const _0xdb3de=parseInt(_0x3a9409(0x1dc))/0x1+parseInt(_0x3a9409(0x1d3))/0x2*(-parseInt(_0x3a9409(0x21c))/0x3)+parseInt(_0x3a9409(0x1e7))/0x4*(-parseInt(_0x3a9409(0x222))/0x5)+-parseInt(_0x3a9409(0x215))/0x6+-parseInt(_0x3a9409(0x21d))/0x7*(-parseInt(_0x3a9409(0x214))/0x8)+-parseInt(_0x3a9409(0x22d))/0x9+parseInt(_0x3a9409(0x22c))/0xa*(parseInt(_0x3a9409(0x20a))/0xb);if(_0xdb3de===_0x47bf1d)break;else _0xc29165['push'](_0xc29165['shift']());}catch(_0xf76c1d){_0xc29165['push'](_0xc29165['shift']());}}}(_0x464d,0x7f6b9));import{Plugin as _0x5da9da}from'ckeditor5/src/core.js';import{version as _0x5db4db}from'ckeditor5/src/utils.js';import{Users as _0x2c7c90}from'ckeditor5-collaboration/src/collaboration-core.js';import _0xaacfb6 from'../realtimecollaborativeediting/realtimecollaborationclient.js';function _0x464d(){const _0x11d435=['_handleReconnectionError','_fixRevision','map','serverHistory','_isConnected','getMany','requires','baseVersion','connect','_revisionTracker','connection','data','creatorId','_waitForServiceReady','addToReconnectionStack','isEmptyCurrent','length','bind','RevisionTracker','getRevision','77JumsaQ','authorsIds','_offset','_createCurrentRevision','code','addUser','keys','editor','remove','isBundleUploaded','176vLyqnU','3580500NlOszk','marker','_startingVersion','startsWith','_update','wrongRequestId','authors','139371Igkkhr','75922TmwvFj','message','buildRevisionData','init','getRevisions','5TndQjz','cloud-services-internal-error:\x20Request\x20timeout.','affectsData','catch','getOperations','_isPendingUpdate','size','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','CONNECTED','repository','1446260KUcJRQ','184104QavcKE','_revisionHistoryService','_bufferUpdate','connected','plugins','sendBufferedUpdates','listenTo','config','revisionsUpdated','adapter','change:_isConnected','400','updateRevisions','off','max','_oldOffset','state','_getLatestVersionFromServerOperations','toVersion','_lastRequestId','_fetchMissingUsers','_bufferedUpdates','4EwpRVg','cloud-services-internal-error:\x20Not\x20connected.','type','then','_getLatestVersion','_handleRevisionsUpdate','from','destroy','RevisionHistoryService','847728UBpBbA','reconnect','collaboration.channelId','get','setRevisionData','setSource','addRevisionData','once','_revisions','createdAt','cloudServices.bundleVersion','3466756kliSqh','add','getUser','_preventResendingRevisionData','sessionId','diffData','reverse','has','change:_isPendingUpdate','isConnected','isEnabled','_revisionDataBuilder','currentRevision','fromVersion','reInit'];_0x464d=function(){return _0x11d435;};return _0x464d();}import _0x53aba6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x10ea58 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x5d3582,RevisionHistoryService as _0x546192,User as _0x35ba12,WEB_SOCKET_GATEWAY_STATES as _0xa12ff9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x5da9da{static get[_0x55b31b(0x1fc)](){const _0x593d35=_0x55b31b;return[_0x53aba6,_0xaacfb6,_0x593d35(0x208),_0x10ea58,_0x2c7c90];}constructor(_0xd5b4a2){const _0x2512a7=_0x55b31b;super(_0xd5b4a2);const _0x4059ff=this[_0x2512a7(0x211)][_0x2512a7(0x234)][_0x2512a7(0x1df)](_0x2512a7(0x1de));this[_0x2512a7(0x1d0)]=null,this[_0x2512a7(0x1ff)]=this[_0x2512a7(0x211)][_0x2512a7(0x231)][_0x2512a7(0x1df)](_0x2512a7(0x208)),this[_0x2512a7(0x22e)]=new v[(_0x2512a7(0x1db))](_0x4059ff);}async[_0x55b31b(0x220)](){const _0x17245b=_0x55b31b,_0x4cfe1f=this[_0x17245b(0x211)][_0x17245b(0x231)][_0x17245b(0x1df)](_0xaacfb6),_0x42cca7=_0x4cfe1f[_0x17245b(0x1f9)],_0x325afb=this[_0x17245b(0x211)][_0x17245b(0x231)][_0x17245b(0x1df)](_0x53aba6);this[_0x17245b(0x1ff)][_0x17245b(0x1e1)]({'history':_0x42cca7,'getLatestVersion':()=>this[_0x17245b(0x1d7)](),'getCurrentRevisionId':()=>_0x4cfe1f[_0x17245b(0x1eb)]});const _0x2c6184=this[_0x17245b(0x211)][_0x17245b(0x234)][_0x17245b(0x1df)](_0x17245b(0x1e6))||_0x5db4db,_0x5eecf2=await _0x5d3582[_0x17245b(0x213)](_0x325afb[_0x17245b(0x200)],_0x2c6184);this[_0x17245b(0x1ff)][_0x17245b(0x236)]={'getRevision':async({revisionId:_0x4ff18c})=>(await this[_0x17245b(0x203)](),await this[_0x17245b(0x22e)][_0x17245b(0x209)](_0x4ff18c)),'updateRevisions':async _0x2aa9f5=>{const _0x4627de=_0x17245b;await this[_0x4627de(0x203)]();const _0x39795c=this[_0x4627de(0x1ff)][_0x4627de(0x1f3)];if(_0x5eecf2&&0x1===_0x2aa9f5[_0x4627de(0x206)]&&_0x2aa9f5[0x0]['id']===_0x39795c['id'])return _0x2aa9f5;for(const _0x16b0e2 of _0x2aa9f5)_0x16b0e2['id']===_0x39795c['id']&&(_0x16b0e2[_0x4627de(0x205)]=_0x16b0e2[_0x4627de(0x1f4)]===_0x16b0e2[_0x4627de(0x1cf)]);return this[_0x4627de(0x22e)][_0x4627de(0x239)](_0x2aa9f5,this[_0x4627de(0x1d0)])[_0x4627de(0x1d6)](_0x479315=>(this[_0x4627de(0x1d0)]=_0x479315,_0x2aa9f5))[_0x4627de(0x225)](_0x46a786=>{const _0x4ed04f=_0x4627de;if(st(_0x46a786)||_0x4ed04f(0x238)===_0x46a786[_0x4ed04f(0x20e)]&&void 0x0!==_0x46a786[_0x4ed04f(0x201)][_0x4ed04f(0x21a)]){for(const _0x40bf6c of _0x2aa9f5){!this[_0x4ed04f(0x1ff)][_0x4ed04f(0x22b)][_0x4ed04f(0x209)](_0x40bf6c['id'])||this[_0x4ed04f(0x1ff)][_0x4ed04f(0x22f)](_0x40bf6c['id'],_0x40bf6c,!0x1);}if(st(_0x46a786))throw _0x46a786;return _0x2aa9f5;}throw _0x46a786;});}},this[_0x17245b(0x233)](this[_0x17245b(0x22e)],_0x17245b(0x235),(_0x34e4ac,{revisionsData:_0x253dbc,requestId:_0x5b8a47})=>{const _0x1db709=_0x17245b;Math[_0x1db709(0x23b)](..._0x253dbc[_0x1db709(0x1f8)](_0x511dfd=>_0x511dfd[_0x1db709(0x1cf)]))>this[_0x1db709(0x1ce)]()-0x1?this[_0x1db709(0x1d7)]()[_0x1db709(0x1d6)](()=>{const _0x34d445=_0x1db709;this[_0x34d445(0x1d8)](_0x253dbc,_0x5b8a47);}):this[_0x1db709(0x1d8)](_0x253dbc,_0x5b8a47);});const {revisions:_0x2a9b33,requestId:_0xd3b1c9}=await this[_0x17245b(0x22e)][_0x17245b(0x1fe)](_0x325afb[_0x17245b(0x200)]);_0x325afb[_0x17245b(0x204)](this),this[_0x17245b(0x1d0)]=_0xd3b1c9,await this[_0x17245b(0x1d1)](_0x2a9b33);for(const _0x558666 of _0x2a9b33)this[_0x17245b(0x1ff)][_0x17245b(0x1e2)](_0x558666);this[_0x17245b(0x233)](_0x4cfe1f,_0x17245b(0x237),(_0x140aae,_0xef9d50,_0x513d1b)=>{const _0x310e40=_0x17245b;_0x513d1b&&(this[_0x310e40(0x23c)]=_0x4cfe1f[_0x310e40(0x20c)],_0x140aae[_0x310e40(0x23a)]());}),this[_0x17245b(0x1ff)][_0x17245b(0x207)](_0x17245b(0x1f1))['to'](_0x325afb,_0x17245b(0x23d),_0x1f48da=>_0x1f48da===_0xa12ff9[_0x17245b(0x22a)]);}async[_0x55b31b(0x1dd)](){const _0x1ea068=_0x55b31b,_0x1553b3=this[_0x1ea068(0x211)][_0x1ea068(0x231)][_0x1ea068(0x1df)](_0x53aba6),_0x2d0725=this[_0x1ea068(0x211)][_0x1ea068(0x231)][_0x1ea068(0x1df)](_0xaacfb6),_0x583ec8=async()=>{const _0x5a7dab=_0x1ea068,_0x12509e=this[_0x5a7dab(0x1ff)][_0x5a7dab(0x1f3)],_0x566d45=_0x12509e['id'],_0x5887d3=_0x566d45!==_0x2d0725[_0x5a7dab(0x1eb)];if(_0x5887d3){const _0x489d19=_0x2d0725[_0x5a7dab(0x20c)]-this[_0x5a7dab(0x23c)],_0x20a4c0=this[_0x5a7dab(0x1ce)]();this[_0x5a7dab(0x1ff)][_0x5a7dab(0x1f2)][_0x5a7dab(0x1f5)]();if(_0x12509e[_0x5a7dab(0x1cf)]+_0x489d19!==_0x20a4c0){const _0x5df699=_0x12509e[_0x5a7dab(0x1f4)]+_0x489d19,_0x2fea34=this[_0x5a7dab(0x211)][_0x5a7dab(0x231)][_0x5a7dab(0x1df)](_0x2c7c90),_0x16c072=this[_0x5a7dab(0x1ff)][_0x5a7dab(0x21f)]({'revision':_0x12509e,'from':_0x5df699,'to':_0x20a4c0});_0x16c072['id']=_0x12509e['id'];const _0x409b9a=_0x16c072[_0x5a7dab(0x20b)][_0x5a7dab(0x1f8)](_0x4638e5=>_0x2fea34[_0x5a7dab(0x1e9)](_0x4638e5));_0x12509e[_0x5a7dab(0x219)]({..._0x16c072,'authors':_0x409b9a},!0x0),this[_0x5a7dab(0x1ff)][_0x5a7dab(0x22f)](_0x12509e['id'],_0x16c072,!0x0);}this[_0x5a7dab(0x1ff)][_0x5a7dab(0x217)]=_0x20a4c0,(_0x12509e[_0x5a7dab(0x1cf)]===_0x12509e[_0x5a7dab(0x1f4)]&&!this[_0x5a7dab(0x1ff)][_0x5a7dab(0x1d2)][_0x5a7dab(0x1ee)](_0x566d45)&&this[_0x5a7dab(0x1ff)][_0x5a7dab(0x22b)][_0x5a7dab(0x1e4)][_0x5a7dab(0x212)](_0x566d45),this[_0x5a7dab(0x1ff)][_0x5a7dab(0x20d)](_0x20a4c0));}const {revisions:_0x1712e8,requestId:_0xba00ce}=await this[_0x5a7dab(0x22e)][_0x5a7dab(0x1dd)](_0x1553b3[_0x5a7dab(0x200)],this[_0x5a7dab(0x1d0)]);_0x5887d3&&_0x1712e8[_0x5a7dab(0x206)]>0x0?_0x2d0725[_0x5a7dab(0x1f6)]():(await this[_0x5a7dab(0x1d1)](_0x1712e8),this[_0x5a7dab(0x1d8)](_0x1712e8,_0xba00ce),this[_0x5a7dab(0x1ff)][_0x5a7dab(0x232)]());};return _0x2d0725[_0x1ea068(0x1fa)]?_0x583ec8():new Promise((_0x545b5b,_0x505e15)=>{const _0xb838e6=_0x1ea068;_0x2d0725[_0xb838e6(0x1e3)](_0xb838e6(0x237),()=>{const _0x58a2eb=_0xb838e6;_0x583ec8()[_0x58a2eb(0x1d6)](_0x545b5b)[_0x58a2eb(0x225)](_0x505e15);});});}[_0x55b31b(0x1da)](){const _0x37894a=_0x55b31b;super[_0x37894a(0x1da)]();}async[_0x55b31b(0x203)](){const _0x35f217=_0x55b31b;this[_0x35f217(0x22e)][_0x35f217(0x1f0)]||await new Promise(_0x67bf1b=>{const _0x35b2a0=_0x35f217;this[_0x35b2a0(0x233)](this[_0x35b2a0(0x22e)],_0x35b2a0(0x230),_0x22139a=>{const _0x5dd7ce=_0x35b2a0;_0x22139a[_0x5dd7ce(0x23a)](),_0x67bf1b();});});}[_0x55b31b(0x1ce)](){const _0x278b1d=_0x55b31b,_0x32108b=this[_0x278b1d(0x211)][_0x278b1d(0x231)][_0x278b1d(0x1df)](_0xaacfb6)[_0x278b1d(0x1f9)][_0x278b1d(0x226)]()[_0x278b1d(0x1ed)]();for(const _0x1922c7 of _0x32108b)if(_0x278b1d(0x216)!==_0x1922c7[_0x278b1d(0x1d5)]||_0x1922c7[_0x278b1d(0x224)])return _0x1922c7[_0x278b1d(0x1fd)]+0x1;}[_0x55b31b(0x1d7)](){const _0x41cca4=_0x55b31b,_0x2e3a39=this[_0x41cca4(0x211)][_0x41cca4(0x231)][_0x41cca4(0x1df)](_0xaacfb6);return new Promise(_0x471cdb=>{const _0x2bb91f=_0x41cca4;_0x2e3a39[_0x2bb91f(0x227)]?_0x2e3a39[_0x2bb91f(0x1e3)](_0x2bb91f(0x1ef),()=>{const _0x2c171d=_0x2bb91f;_0x471cdb(this[_0x2c171d(0x1ce)]());}):_0x471cdb(this[_0x2bb91f(0x1ce)]());});}[_0x55b31b(0x1d8)](_0x3bb476,_0x18c7ae){const _0x1c1182=_0x55b31b,_0x36d25b=this[_0x1c1182(0x1ff)][_0x1c1182(0x22b)];this[_0x1c1182(0x1d0)]=_0x18c7ae;for(const _0x2ffcfb of _0x3bb476){const _0x4ed588=_0x36d25b[_0x1c1182(0x209)](_0x2ffcfb['id']);if(_0x4ed588){if((_0x2ffcfb[_0x1c1182(0x1f4)]||_0x2ffcfb[_0x1c1182(0x1cf)])&&(_0x2ffcfb[_0x1c1182(0x1ec)]=null),_0x4ed588===this[_0x1c1182(0x1ff)][_0x1c1182(0x1f3)]){const _0x1b02a3=Math[_0x1c1182(0x23b)](_0x4ed588[_0x1c1182(0x1cf)],_0x2ffcfb[_0x1c1182(0x1cf)]),_0x5d4879=Math[_0x1c1182(0x23b)](_0x4ed588[_0x1c1182(0x1f4)],_0x2ffcfb[_0x1c1182(0x1f4)]);let _0x2712a8;_0x4ed588[_0x1c1182(0x1cf)]===_0x2ffcfb[_0x1c1182(0x1cf)]&&_0x4ed588[_0x1c1182(0x1f4)]===_0x2ffcfb[_0x1c1182(0x1f4)]?(_0x2712a8=!0x0,this[_0x1c1182(0x1ea)](_0x2ffcfb)):_0x2ffcfb[_0x1c1182(0x1cf)]===_0x1b02a3&&_0x2ffcfb[_0x1c1182(0x1f4)]===_0x5d4879?_0x2712a8=!0x1:(_0x4ed588[_0x1c1182(0x1cf)]===_0x1b02a3&&_0x4ed588[_0x1c1182(0x1f4)]===_0x5d4879||this[_0x1c1182(0x1f7)]({'revision':_0x4ed588,'from':_0x5d4879,'to':_0x1b02a3}),_0x2712a8=!0x0),_0x2712a8&&(delete _0x2ffcfb[_0x1c1182(0x1f4)],delete _0x2ffcfb[_0x1c1182(0x1cf)],delete _0x2ffcfb[_0x1c1182(0x1ec)],delete _0x2ffcfb[_0x1c1182(0x1e5)],delete _0x2ffcfb[_0x1c1182(0x20b)]);}this[_0x1c1182(0x1ff)][_0x1c1182(0x1e0)](_0x2ffcfb),this[_0x1c1182(0x1ea)](_0x2ffcfb);}else this[_0x1c1182(0x1ff)][_0x1c1182(0x1e2)](_0x2ffcfb);}const _0x1c0bc6=_0x36d25b[_0x1c1182(0x221)]();_0x1c0bc6[_0x1c1182(0x1ed)]();for(let _0x41365c=0x0;_0x41365c<_0x1c0bc6[_0x1c1182(0x206)]-0x1;_0x41365c++){const _0x583596=_0x1c0bc6[_0x41365c],_0x5c5bdf=_0x1c0bc6[_0x41365c+0x1];if(_0x583596[_0x1c1182(0x1f4)]<_0x5c5bdf[_0x1c1182(0x1cf)]){const _0x433381=_0x5c5bdf[_0x1c1182(0x1cf)],_0x3b7f8d=Math[_0x1c1182(0x23b)](_0x433381,_0x583596[_0x1c1182(0x1cf)]);this[_0x1c1182(0x1f7)]({'revision':_0x583596,'from':_0x433381,'to':_0x3b7f8d});}}}[_0x55b31b(0x1f7)]({revision:_0x2adeaa,from:_0x260ecf,to:_0x4b6ab1}={}){const _0x33155c=_0x55b31b,_0x3b5445=this[_0x33155c(0x211)][_0x33155c(0x231)][_0x33155c(0x1df)](_0x2c7c90),_0x16b22d=this[_0x33155c(0x1ff)][_0x33155c(0x21f)]({'revision':_0x2adeaa,'from':_0x260ecf,'to':_0x4b6ab1});_0x16b22d[_0x33155c(0x21b)]=_0x16b22d[_0x33155c(0x20b)][_0x33155c(0x1f8)](_0x34a89c=>_0x3b5445[_0x33155c(0x1e9)](_0x34a89c)),_0x2adeaa[_0x33155c(0x219)](_0x16b22d);}[_0x55b31b(0x1ea)](_0x8673aa){const _0x5b0434=_0x55b31b,_0x3bcaae={};_0x3bcaae['id']=_0x8673aa['id'];for(const _0x38bfa9 of Object[_0x5b0434(0x210)](_0x8673aa))'id'!==_0x38bfa9&&(_0x3bcaae[_0x38bfa9]=void 0x0);this[_0x5b0434(0x1ff)][_0x5b0434(0x22f)](_0x3bcaae['id'],_0x3bcaae,!0x0);}async[_0x55b31b(0x1d1)](_0x45f926){const _0x251fcb=_0x55b31b,_0x233405=this[_0x251fcb(0x211)][_0x251fcb(0x231)][_0x251fcb(0x1df)](_0x2c7c90),{connection:_0x2152fc}=this[_0x251fcb(0x211)][_0x251fcb(0x231)][_0x251fcb(0x1df)](_0x53aba6),_0x33ba97=new Set();for(const _0x2ee0c1 of _0x45f926){for(const _0x3d9ac6 of _0x2ee0c1[_0x251fcb(0x20b)])_0x5d7054(_0x3d9ac6);_0x2ee0c1[_0x251fcb(0x202)]&&_0x5d7054(_0x2ee0c1[_0x251fcb(0x202)]);}if(0x0===_0x33ba97[_0x251fcb(0x228)])return;const _0x4b1c95=await _0x35ba12[_0x251fcb(0x1fb)](_0x2152fc,Array[_0x251fcb(0x1d9)](_0x33ba97));for(const _0x2b8a19 of _0x4b1c95)_0x233405[_0x251fcb(0x1e9)](_0x2b8a19['id'])||_0x233405[_0x251fcb(0x20f)](_0x2b8a19);function _0x5d7054(_0x466b35){const _0x5ef7a2=_0x251fcb;_0x233405[_0x5ef7a2(0x1e9)](_0x466b35)||_0x33ba97[_0x5ef7a2(0x1e8)](_0x466b35);}}}v[_0x55b31b(0x1db)]=_0x546192;function _0x3ebf(_0x2eace1,_0x3c2946){const _0x464dd3=_0x464d();return _0x3ebf=function(_0x3ebf28,_0x36e0e4){_0x3ebf28=_0x3ebf28-0x1ce;let _0x4fe5f6=_0x464dd3[_0x3ebf28];return _0x4fe5f6;},_0x3ebf(_0x2eace1,_0x3c2946);}export default v;function st(_0x1985bf){const _0x3348af=_0x55b31b;return _0x1985bf[_0x3348af(0x21e)][_0x3348af(0x218)](_0x3348af(0x229))||_0x1985bf[_0x3348af(0x21e)][_0x3348af(0x218)](_0x3348af(0x1d4))||_0x1985bf[_0x3348af(0x21e)][_0x3348af(0x218)](_0x3348af(0x223));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x20f127=_0x4ed5;function _0x4ed5(_0x190995,_0x5f2990){var _0x50ae31=_0x50ae();return _0x4ed5=function(_0x4ed5c6,_0x43c328){_0x4ed5c6=_0x4ed5c6-0x1bc;var _0x1bf2b7=_0x50ae31[_0x4ed5c6];return _0x1bf2b7;},_0x4ed5(_0x190995,_0x5f2990);}function _0x50ae(){var _0x28b1be=['6957SRJmYy','4160912ACjhgI','260yKkfFO','44gtEpyu','requires','9RtRVVy','RealTimeCollaborativeRevisionHistory','RevisionHistory','346bAMEXt','pluginName','852oPCzPB','8318681HoGptt','101704tevaoZ','1342377zwxBZs','3876110QnBdyX'];_0x50ae=function(){return _0x28b1be;};return _0x50ae();}(function(_0x107cd8,_0x5bbb72){var _0x2c271d=_0x4ed5,_0x20a3bf=_0x107cd8();while(!![]){try{var _0x553f4c=parseInt(_0x2c271d(0x1bd))/0x1*(-parseInt(_0x2c271d(0x1c5))/0x2)+parseInt(_0x2c271d(0x1ca))/0x3+parseInt(_0x2c271d(0x1be))/0x4+-parseInt(_0x2c271d(0x1bf))/0x5*(parseInt(_0x2c271d(0x1c7))/0x6)+-parseInt(_0x2c271d(0x1c8))/0x7+parseInt(_0x2c271d(0x1c9))/0x8*(-parseInt(_0x2c271d(0x1c2))/0x9)+-parseInt(_0x2c271d(0x1bc))/0xa*(-parseInt(_0x2c271d(0x1c0))/0xb);if(_0x553f4c===_0x5bbb72)break;else _0x20a3bf['push'](_0x20a3bf['shift']());}catch(_0x18a2b4){_0x20a3bf['push'](_0x20a3bf['shift']());}}}(_0x50ae,0x98daa));import{Plugin as _0x4b7ddf}from'ckeditor5/src/core.js';import _0xe7da7c from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x52a476 from'./realtimecollaborativeediting.js';export default class d extends _0x4b7ddf{static get[_0x20f127(0x1c1)](){var _0x5549b8=_0x20f127;return[_0x5549b8(0x1c4),_0xe7da7c,_0x52a476];}static get[_0x20f127(0x1c6)](){var _0x415fd9=_0x20f127;return _0x415fd9(0x1c3);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x55c2(_0x1e3aa3,_0x3ac570){const _0x42a127=_0x42a1();return _0x55c2=function(_0x55c217,_0x1f4a46){_0x55c217=_0x55c217-0x116;let _0x573222=_0x42a127[_0x55c217];return _0x573222;},_0x55c2(_0x1e3aa3,_0x3ac570);}const _0x2b57dc=_0x55c2;(function(_0x7c5a15,_0x1007ea){const _0x5f4617=_0x55c2,_0x504af1=_0x7c5a15();while(!![]){try{const _0x133131=-parseInt(_0x5f4617(0x132))/0x1*(parseInt(_0x5f4617(0x150))/0x2)+parseInt(_0x5f4617(0x121))/0x3*(parseInt(_0x5f4617(0x13b))/0x4)+-parseInt(_0x5f4617(0x13f))/0x5+-parseInt(_0x5f4617(0x130))/0x6*(-parseInt(_0x5f4617(0x14f))/0x7)+-parseInt(_0x5f4617(0x119))/0x8+parseInt(_0x5f4617(0x11d))/0x9*(parseInt(_0x5f4617(0x12c))/0xa)+parseInt(_0x5f4617(0x12b))/0xb*(parseInt(_0x5f4617(0x13a))/0xc);if(_0x133131===_0x1007ea)break;else _0x504af1['push'](_0x504af1['shift']());}catch(_0xa2cd11){_0x504af1['push'](_0x504af1['shift']());}}}(_0x42a1,0xf3e5a));import{Plugin as _0x2f853a}from'ckeditor5/src/core.js';import{User as _0x423675,TrackChangesService as _0x111cf8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1061df from'../realtimecollaborativeediting/websocketgateway.js';import _0x133a5b from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x2cd2ab}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x2f853a{static get[_0x2b57dc(0x131)](){const _0x6b95a3=_0x2b57dc;return[_0x133a5b,_0x6b95a3(0x142),_0x1061df];}constructor(_0x28f74f){const _0x137336=_0x2b57dc;super(_0x28f74f);const _0x204d2f=this[_0x137336(0x12d)][_0x137336(0x153)][_0x137336(0x137)](_0x137336(0x152));this[_0x137336(0x141)]=new Map(),this[_0x137336(0x14e)]=new g[(_0x137336(0x12e))](_0x204d2f);}[_0x2b57dc(0x14a)](){const _0x5a0f81=_0x2b57dc,_0x4b380d=this[_0x5a0f81(0x12d)][_0x5a0f81(0x11b)][_0x5a0f81(0x137)](_0x1061df),_0x161533=this[_0x5a0f81(0x12d)][_0x5a0f81(0x11b)][_0x5a0f81(0x137)](_0x5a0f81(0x142));return _0x161533[_0x5a0f81(0x122)]={'getSuggestion':async _0x51be30=>{const _0x3c7a05=_0x5a0f81;await this[_0x3c7a05(0x11a)]();const _0x404018=await this[_0x3c7a05(0x14e)][_0x3c7a05(0x137)](_0x51be30)[_0x3c7a05(0x128)](w);return await this[_0x3c7a05(0x140)]([_0x404018]),_0x404018;},'addSuggestion':async({id:_0x46b3fb,type:_0x94cafd,data:_0x273039,originalSuggestionId:_0x4f9944,attributes:_0x55e10f})=>{const _0x5ae5ab=_0x5a0f81;await this[_0x5ae5ab(0x11a)]();const _0x57bdf7={'id':_0x46b3fb,'type':_0x94cafd,'data':_0x273039,'originalSuggestionId':_0x4f9944,'attributes':_0x55e10f},_0xf681eb=await this[_0x5ae5ab(0x14e)][_0x5ae5ab(0x138)](_0x46b3fb,_0x94cafd,_0x273039,_0x4f9944,_0x55e10f)[_0x5ae5ab(0x128)](_0x449790=>{if(st(_0x449790))return new Promise(_0x1e241b=>{const _0x30b9c1=_0x55c2;this[_0x30b9c1(0x141)][_0x30b9c1(0x133)](_0x46b3fb,{'resolve':_0x1e241b,'suggestionData':_0x57bdf7});});throw _0x449790;});return this[_0x5ae5ab(0x141)][_0x5ae5ab(0x13d)](_0x46b3fb),_0xf681eb;},'updateSuggestion':async(_0x5855cf,_0x5e0e3f)=>{const _0x3a027c=_0x5a0f81;if(await this[_0x3a027c(0x11a)](),_0x3a027c(0x11e)!==_0x5e0e3f[_0x3a027c(0x145)])return this[_0x3a027c(0x14e)][_0x3a027c(0x117)](_0x5855cf,_0x5e0e3f)[_0x3a027c(0x128)](w);}},this[_0x5a0f81(0x148)](this[_0x5a0f81(0x14e)],_0x5a0f81(0x14d),(_0x42eeff,_0x2905c1)=>{const _0x5b3e61=_0x5a0f81;_0x161533[_0x5b3e61(0x11c)](_0x2905c1['id'])&&(_0x161533[_0x5b3e61(0x14c)](_0x2905c1['id'])[_0x5b3e61(0x144)]=_0x2905c1[_0x5b3e61(0x144)]);}),this[_0x5a0f81(0x14e)][_0x5a0f81(0x127)](_0x4b380d[_0x5a0f81(0x151)])[_0x5a0f81(0x134)](_0x4d85c1=>(_0x4b380d[_0x5a0f81(0x11f)](this),this[_0x5a0f81(0x140)](_0x4d85c1)[_0x5a0f81(0x134)](()=>{const _0x46c334=_0x5a0f81;for(const _0x5f2132 of _0x4d85c1){_0x161533[_0x46c334(0x118)](_0x5f2132)[_0x46c334(0x13e)]=!0x0;}})));}async[_0x2b57dc(0x124)](){const _0x208bd1=_0x2b57dc,_0x42e9e5=this[_0x208bd1(0x12d)][_0x208bd1(0x11b)][_0x208bd1(0x137)](_0x208bd1(0x142)),{connection:_0x333dfa}=this[_0x208bd1(0x12d)][_0x208bd1(0x11b)][_0x208bd1(0x137)](_0x1061df),_0x118c2e=await this[_0x208bd1(0x14e)][_0x208bd1(0x127)](_0x333dfa);await this[_0x208bd1(0x140)](_0x118c2e);for(const {suggestionData:_0x4da4d8,resolve:_0x9fb90c}of this[_0x208bd1(0x141)][_0x208bd1(0x135)]()){let _0x430fe6=_0x118c2e[_0x208bd1(0x143)](_0x5a678e=>_0x5a678e['id']===_0x4da4d8['id']);_0x430fe6||(_0x430fe6=await this[_0x208bd1(0x14e)][_0x208bd1(0x138)](_0x4da4d8['id'],_0x4da4d8[_0x208bd1(0x12f)],_0x4da4d8[_0x208bd1(0x116)],_0x4da4d8[_0x208bd1(0x12a)])),_0x9fb90c(_0x430fe6);}for(const _0x1aefbb of _0x118c2e)_0x42e9e5[_0x208bd1(0x11c)](_0x1aefbb['id'])||_0x42e9e5[_0x208bd1(0x118)](_0x1aefbb);}async[_0x2b57dc(0x11a)](){const _0x161ce1=_0x2b57dc;this[_0x161ce1(0x14e)][_0x161ce1(0x120)]||await new Promise(_0xd4bc6c=>{const _0x212303=_0x161ce1;this[_0x212303(0x148)](this[_0x212303(0x14e)],_0x212303(0x125),_0x341410=>{const _0x40e8f4=_0x212303;_0x341410[_0x40e8f4(0x126)](),_0xd4bc6c();});});}async[_0x2b57dc(0x140)](_0x252368){const _0x59b140=_0x2b57dc,_0x576efc=this[_0x59b140(0x12d)][_0x59b140(0x11b)][_0x59b140(0x137)](_0x2cd2ab),{connection:_0x2ef98e}=this[_0x59b140(0x12d)][_0x59b140(0x11b)][_0x59b140(0x137)](_0x1061df),_0x215f96=new Set();for(const {authorId:_0x1a5874}of _0x252368)_0x576efc[_0x59b140(0x149)](_0x1a5874)||_0x215f96[_0x59b140(0x138)](_0x1a5874);if(0x0===_0x215f96[_0x59b140(0x129)])return;const _0x2d8c75=await _0x423675[_0x59b140(0x146)](_0x2ef98e,Array[_0x59b140(0x13c)](_0x215f96));for(const _0x5181c3 of _0x2d8c75)_0x576efc[_0x59b140(0x149)](_0x5181c3['id'])||_0x576efc[_0x59b140(0x136)](_0x5181c3);}}function _0x42a1(){const _0x48a4ab=['data','update','addSuggestionData','1385208eKZNoS','_waitForServiceReady','plugins','hasSuggestion','34821ollyPf','open','addToReconnectionStack','isConnected','30shyekQ','adapter','startsWith','reconnect','connected','off','connect','catch','size','originalSuggestionId','319IEFPLC','2390meksDQ','editor','TrackChangesService','type','42sdfRXF','requires','228297drbwof','set','then','values','addUser','get','add','cloud-services-internal-error:\x20Request\x20timeout.','954036MGrfoZ','66440ktnXvp','from','delete','_saved','6889230RZbVWL','_fetchMissingUsersForThreads','_bufferedRequests','TrackChangesEditing','find','attributes','state','getMany','message','listenTo','getUser','init','cloud-services-internal-error:\x20Not\x20connected.','getSuggestion','suggestionUpdated','_trackChangesService','295106OLmYAk','10ddtSiX','connection','collaboration.channelId','config'];_0x42a1=function(){return _0x48a4ab;};return _0x42a1();}g[_0x2b57dc(0x12e)]=_0x111cf8;export default g;function w(_0x1c3b38){if(st(_0x1c3b38))return new Promise(()=>{});throw _0x1c3b38;}function st(_0x9c7ff1){const _0x3b9403=_0x2b57dc;return _0x9c7ff1[_0x3b9403(0x147)][_0x3b9403(0x123)](_0x3b9403(0x14b))||_0x9c7ff1[_0x3b9403(0x147)][_0x3b9403(0x123)](_0x3b9403(0x139));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x479928=_0x2215;(function(_0x13aebd,_0x5bc8f3){var _0x48ffbd=_0x2215,_0xd84148=_0x13aebd();while(!![]){try{var _0x47e436=parseInt(_0x48ffbd(0x169))/0x1*(parseInt(_0x48ffbd(0x167))/0x2)+parseInt(_0x48ffbd(0x170))/0x3*(-parseInt(_0x48ffbd(0x16c))/0x4)+parseInt(_0x48ffbd(0x16b))/0x5*(parseInt(_0x48ffbd(0x171))/0x6)+parseInt(_0x48ffbd(0x162))/0x7*(parseInt(_0x48ffbd(0x16f))/0x8)+-parseInt(_0x48ffbd(0x164))/0x9*(parseInt(_0x48ffbd(0x168))/0xa)+parseInt(_0x48ffbd(0x163))/0xb+-parseInt(_0x48ffbd(0x16a))/0xc;if(_0x47e436===_0x5bc8f3)break;else _0xd84148['push'](_0xd84148['shift']());}catch(_0x507ba9){_0xd84148['push'](_0xd84148['shift']());}}}(_0x2f1e,0x24a52));function _0x2f1e(){var _0x808302=['178578bIhtqx','requires','TrackChanges','6MCZUCY','20UBUOgY','68539lrafZx','6576804VXTUta','5NxverB','9620YlCvzr','RealTimeCollaborativeTrackChanges','pluginName','1106536qrBPNK','138xDONHv','1051356HCrdUV','14GEywFa','2101022HGUnyP'];_0x2f1e=function(){return _0x808302;};return _0x2f1e();}function _0x2215(_0x542bde,_0x39d8ae){var _0x2f1eaf=_0x2f1e();return _0x2215=function(_0x22159a,_0x2cad71){_0x22159a=_0x22159a-0x162;var _0x41d6a5=_0x2f1eaf[_0x22159a];return _0x41d6a5;},_0x2215(_0x542bde,_0x39d8ae);}import{Plugin as _0x1bdf87}from'ckeditor5/src/core.js';import _0x45ce5c from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x29010e from'./realtimecollaborativecomments.js';export default class p extends _0x1bdf87{static get[_0x479928(0x165)](){var _0x5123e7=_0x479928;return[_0x29010e,_0x45ce5c,_0x5123e7(0x166)];}static get[_0x479928(0x16e)](){var _0x5aceaa=_0x479928;return _0x5aceaa(0x16d);}}
|