@ckeditor/ckeditor5-real-time-collaboration 43.1.0-alpha.6 → 43.1.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2f1c(){const _0x32dd8e=['fromJSON','createRoot','352ZlTyCC','multi-root-editor-root-attributes-no-root','_offset','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.','removeFromReconnectionStack','_operationIdentifier','baseVersion','RealTimeCollaborationClient','wasUndone','map','isDocumentOperation','collaboration.channelId','_handleInitialConnectionData','_sendBufferedOperationsDelayId','from','root','CommentsOnly','52453PybyoM','error','path','disconnect','sessionAdd:','_lastServerVersion','batch','disableReadOnlyMode','ready','_getAffectedRoot','PENDING_ACTION_SENDING_DATA','destroy','operationsReceived','2185440wagjIA','state','_knownOperations','end','_disconnectionOperations','_handleReceivedOperations','metadata','createRange','_isInit','realtimecollaborationclient-initservice-internal-error','parse','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack','enableReadOnlyMode','high','Synchronization\x20issue','lastOperationAcceptedAt','change:range','_bufferRootLoad','rtc-offline','_isPendingUpdate','position','_handleServerResponse','realtimecollaborationclient-sendbufferedoperations','channelSessions','1496dxYVIt','realtimecollaborationclient-handleserverresponse','markers','_bufferedOperations','decompress','define','change:_isEditingAllowed','affectsData','_getOperationsFromInitData','_crash','_handleReconnectionError','return','CollaborativeEditingService','mySessionId','wereChangesApplied','addRootAttribute','getConnectedSessions','change:_isPendingUpdate','editing','affectedSelectable','realtimecollaborationclient-init-non-existent-root','_document','_hasSynchronizationProblem','_setPendingAction','register','userId','stopListening','version','collaboration-missing-channelid','_ignoredOperations','locale','isEnabled','getRoot','filter','reconnect','init','connect','Permissions','_lastSyncedOperationId','add','rootName','off','setPermissions','isUndoneOperation','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.','round','lastDocumentSession','_isDisconnection','sessionCreatedAt','model','insert','config','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','roots','requires','404','_knownRootNames','set','change:hasDomSelection','message','startsWith','pluginName','_compressor','showWarning','_isLoaded','_decompressOperations','_clearPendingAction','get','cloudServices.bundleVersion','lastSyncVersion','disconnected','_saveOperationInBuffer','_handleSendingSelectionMarkers','sessionId','_loadRoot','_sendBufferedOperationsDelayed','rootsAttributes','_service','permissions','realtimecollaborationclient-init-connection-failed','createPositionAt','connection','selection','forEach','then','directChange','_initThrowingOnDataSet','toJSON','_isAttached','InsertOperation','cs:removeUser','enqueueChange','includes','_operationToId','initData','getOperations','length','suppressErrorInCollaboration','lastOperationId','getDocumentDetails','realtimecollaborationclient-init-session-connection-error','stop','history','push','createUserMarkerOperations','unregister','_initSessionsHandling','_waitUntilSynced','remove','_baseBufferDelay','view','reconnection:\x20flushed\x20session','keys','_channelId','setIdForTheLastOperation','string','sendOperations','attributes','targetPosition','compress','currentDocumentSession','getOperationAuthor','collaboration','real-time-collaboration','_hasSelectionChanged','54jIUzvQ','document:write','reset','offset','_connectAfterSessionHasBeenFlushed','_shouldSendUpdate','isReadOnly','catch','_applyOperationsSet','code','createdAt','type','Notification','_updateServerHistory','cloudDocumentVersion','_currentBufferDelay','_handleExternalOperations','35590WPgZKC','size','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','__className','applyOperation','_sendBufferedOperations','2340Wqyabt','realtimecollaborationclient-initservice-incorrect-server-operation','start','fire','editor','getIdOfTheLastOperation','clone','apply','move','document','_disconnectService','data','816gvKzKi','listenTo','getMany','slice','409','_setUpDataInit','serverHistory','876750UsSjJz','getUser','createPositionFromPath','_fetchMissingUsers','_compressOperations','_isConnected','has','_isEditingAllowed','_refreshUserSelectionMarkers','plugins','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_connectService','connected','loadRoot','finally','_addKnownRoot','addUser','marker','$root','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_shouldSendSelectionUpdate','_handleReconnectionResponse','newRange','_pendingAction','differ','realtimecollaborationclient-init-document-already-initialized','7sLvhGr','_authorId','cloud-services-internal-error:\x20Not\x20connected.','537561APvXYE','addOperation','2JCrfCh','addRoot','bind','entries','rtc-destroyed'];_0x2f1c=function(){return _0x32dd8e;};return _0x2f1c();}const _0x1680e9=_0x44af;(function(_0xae0599,_0x53a897){const _0x31dd45=_0x44af,_0x5ba8cb=_0xae0599();while(!![]){try{const _0x4345d3=parseInt(_0x31dd45(0x115))/0x1*(-parseInt(_0x31dd45(0xfd))/0x2)+parseInt(_0x31dd45(0xfb))/0x3+-parseInt(_0x31dd45(0x13b))/0x4*(parseInt(_0x31dd45(0xcb))/0x5)+-parseInt(_0x31dd45(0xde))/0x6*(parseInt(_0x31dd45(0xf8))/0x7)+-parseInt(_0x31dd45(0xd7))/0x8*(parseInt(_0x31dd45(0xb4))/0x9)+-parseInt(_0x31dd45(0xc5))/0xa*(-parseInt(_0x31dd45(0x104))/0xb)+parseInt(_0x31dd45(0x122))/0xc;if(_0x4345d3===_0x53a897)break;else _0x5ba8cb['push'](_0x5ba8cb['shift']());}catch(_0x27eb24){_0x5ba8cb['push'](_0x5ba8cb['shift']());}}}(_0x2f1c,0x18a6d));import{Plugin as _0x103702,PendingActions as _0x2a90b8}from'ckeditor5/src/core.js';import{CKEditorError as _0x2233e5,version as _0x255663,uid as _0x467b97}from'ckeditor5/src/utils.js';import{Notification as _0xd2ef47}from'ckeditor5/src/ui.js';import{transformSets as _0x328309,NoOperation as _0x5f2948,InsertOperation as _0x2292e6,MarkerOperation as _0x202b4a,RootAttributeOperation as _0x174437,OperationFactory as _0x21c5c7,History as _0x59ea69}from'ckeditor5/src/engine.js';import _0x54325a from'./websocketgateway.js';import _0x1a9876 from'./sessions.js';import _0xcba94c from'./usermarkers.js';import{getTranslation as _0x536e19}from'../common-translations.js';function _0x44af(_0x24be8a,_0x46ec3){const _0x2f1cd1=_0x2f1c();return _0x44af=function(_0x44af89,_0x4065ae){_0x44af89=_0x44af89-0x7e;let _0x38f19e=_0x2f1cd1[_0x44af89];return _0x38f19e;},_0x44af(_0x24be8a,_0x46ec3);}import{Compressor as _0x4ab401}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5b3902}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4c0e91,CollaborativeEditingService as _0x2a7abf}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x103702{static get[_0x1680e9(0x171)](){return[_0x54325a,_0x1a9876,_0xcba94c,_0x2a90b8,_0x5b3902,_0xd2ef47];}static get[_0x1680e9(0x178)](){const _0x15e398=_0x1680e9;return _0x15e398(0x10b);}get[_0x1680e9(0xc2)](){const _0x2230b7=_0x1680e9;return this[_0x2230b7(0x11a)]+this[_0x2230b7(0x106)];}get[_0x1680e9(0x11a)](){const _0x43ba60=_0x1680e9;return this[_0x43ba60(0xdd)][_0x43ba60(0x156)]-this[_0x43ba60(0x106)];}get[_0x1680e9(0x180)](){const _0x1f03ea=_0x1680e9,_0x12976a=this[_0x1f03ea(0xdd)][_0x1f03ea(0x96)]();for(let _0x5567ec=_0x12976a[_0x1f03ea(0x97)]-0x1;_0x5567ec>=0x0;_0x5567ec--){const _0x492ccb=_0x12976a[_0x5567ec];if(!this[_0x1f03ea(0x126)][_0x1f03ea(0xe4)](_0x492ccb))return _0x492ccb[_0x1f03ea(0x10a)]+0x1-this[_0x1f03ea(0x106)];}return 0x0;}constructor(_0x2045d7){const _0x179f28=_0x1680e9;if(super(_0x2045d7),this[_0x179f28(0x106)]=0x0,this[_0x179f28(0x80)]=null,this[_0x179f28(0xdd)]=new _0x59ea69(),this[_0x179f28(0xcf)][_0x179f28(0x16e)][_0x179f28(0x140)](_0x179f28(0xb1),{}),this[_0x179f28(0xa8)]=this[_0x179f28(0xcf)][_0x179f28(0x16e)][_0x179f28(0x17e)](_0x179f28(0x10f)),!this[_0x179f28(0xa8)])throw new _0x2233e5(_0x179f28(0x157),this);const _0x25b986=_0x2045d7[_0x179f28(0x16e)][_0x179f28(0x17e)](_0x179f28(0x17f))||_0x255663;this[_0x179f28(0x84)]=new l[(_0x179f28(0x147))](_0x25b986,this[_0x179f28(0xa8)]),this[_0x179f28(0x150)]=this[_0x179f28(0xcf)][_0x179f28(0x16c)][_0x179f28(0xd4)],this[_0x179f28(0x179)]=new _0x4ab401(),this[_0x179f28(0x13e)]=[],this[_0x179f28(0x124)]=new WeakSet(),this[_0x179f28(0x173)]=new Set(),this[_0x179f28(0x174)](_0x179f28(0x136),!0x1),this[_0x179f28(0x174)](_0x179f28(0x151),!0x1),this[_0x179f28(0xf5)]=null,this[_0x179f28(0xb3)]=!0x1,this[_0x179f28(0x111)]=null,this[_0x179f28(0xa4)]=0x12c,this[_0x179f28(0xc3)]=this[_0x179f28(0xa4)],this[_0x179f28(0x161)]=null,this[_0x179f28(0x126)]=new WeakSet(),this[_0x179f28(0x109)]=new X(this[_0x179f28(0x126)]);}[_0x1680e9(0x15e)](){const _0x762756=_0x1680e9,_0xc4b12d=this[_0x762756(0xcf)],_0x49179c=_0xc4b12d[_0x762756(0xe7)][_0x762756(0x17e)](_0x5b3902),_0x382005=_0xc4b12d[_0x762756(0xe7)][_0x762756(0x17e)](_0x54325a);this[_0x762756(0xd8)](_0x49179c,_0x762756(0xb0),(_0x517bd6,_0x3f4588)=>{const _0x32cb7b=_0x762756,_0x47fa48=_0x3f4588[0x0];_0x47fa48[_0x32cb7b(0xf9)]&&(_0x517bd6[_0x32cb7b(0x146)]=_0x49179c[_0x32cb7b(0xdf)](_0x47fa48[_0x32cb7b(0xf9)]),_0x517bd6[_0x32cb7b(0x9c)]()),null===_0x47fa48[_0x32cb7b(0xf9)]&&(_0x517bd6[_0x32cb7b(0x146)]=null,_0x517bd6[_0x32cb7b(0x9c)]());},{'priority':_0x762756(0x130)}),this[_0x762756(0xd8)](_0xc4b12d[_0x762756(0x16c)][_0x762756(0xd4)][_0x762756(0x89)],_0x762756(0x133),(_0x7832df,_0x2ede30)=>{const _0x2e8423=_0x762756;_0x2ede30[_0x2e8423(0x8c)]&&this[_0x2e8423(0xe6)]();}),this[_0x762756(0xd8)](_0xc4b12d[_0x762756(0x14d)][_0x762756(0xa5)],_0x762756(0x175),()=>{const _0x1de135=_0x762756;this[_0x1de135(0xe6)]();}),this[_0x762756(0x8d)](),_0xc4b12d[_0x762756(0x16c)]['on'](_0x762756(0xc9),(_0x228047,_0x2b30e1)=>{const _0x411868=_0x762756,_0x4eb5c8=_0x2b30e1[0x0];_0x4eb5c8[_0x411868(0x10e)]&&(this[_0x411868(0x7e)](_0x4eb5c8),this[_0x411868(0xb9)]()&&this[_0x411868(0x82)]());}),this[_0x762756(0xdc)](),this[_0x762756(0xff)](_0x762756(0xe5))['to'](_0x382005,_0x762756(0x123),this,_0x762756(0x151),(_0x145f62,_0x5ee4c1)=>_0x762756(0xea)===_0x145f62&&!_0x5ee4c1),this['on'](_0x762756(0x141),()=>{const _0x537119=_0x762756;this[_0x537119(0xe5)]?_0xc4b12d[_0x537119(0x11c)](_0x537119(0x135)):_0xc4b12d[_0x537119(0x12f)](_0x537119(0x135));}),this[_0x762756(0xe5)]?_0xc4b12d[_0x762756(0x11c)](_0x762756(0x135)):_0xc4b12d[_0x762756(0x12f)](_0x762756(0x135)),this[_0x762756(0x174)](_0x762756(0xe3),!0x1);}async[_0x1680e9(0x15d)](){const _0x3cf3a3=_0x1680e9,_0xa91dee=this[_0x3cf3a3(0xcf)][_0x3cf3a3(0xe7)][_0x3cf3a3(0x17e)](_0x1a9876),_0xc9ef9f=this[_0x3cf3a3(0xcf)][_0x3cf3a3(0xe7)][_0x3cf3a3(0x17e)](_0x54325a);try{this[_0x3cf3a3(0x136)]=!0x0,_0xa91dee[_0x3cf3a3(0xa0)](this[_0x3cf3a3(0xa8)]);const _0xf590c=await this[_0x3cf3a3(0x84)][_0x3cf3a3(0x15d)](_0xc9ef9f[_0x3cf3a3(0x88)],this[_0x3cf3a3(0x180)]);await this[_0x3cf3a3(0xf3)](_0xf590c)&&(this[_0x3cf3a3(0x136)]=!0x1,this[_0x3cf3a3(0x17d)]());const _0x4525c1=await this[_0x3cf3a3(0x84)][_0x3cf3a3(0x14b)]();_0xa91dee[_0x3cf3a3(0x153)](this[_0x3cf3a3(0xa8)],_0x4525c1),this[_0x3cf3a3(0x7f)](),this[_0x3cf3a3(0xe3)]=!0x0;}catch(_0x4fd637){if(function(_0x4c2359){const _0x233edf=_0x3cf3a3;return _0x233edf(0x172)===_0x4c2359[_0x233edf(0xbd)];}(_0x4fd637)&&this[_0x3cf3a3(0x80)])await this[_0x3cf3a3(0xb8)]();else{if(function(_0x3fd179){const _0x1ce407=_0x3cf3a3;return _0x1ce407(0xdb)===_0x3fd179[_0x1ce407(0xbd)];}(_0x4fd637)){const _0x2c3a13=_0x536e19(this[_0x3cf3a3(0xcf)][_0x3cf3a3(0x159)],_0x3cf3a3(0xf1));this[_0x3cf3a3(0x145)](_0x2c3a13);}else{if(!(_0x4fd637 instanceof J))throw _0x4fd637;this[_0x3cf3a3(0x145)]();}}}}[_0x1680e9(0x120)](){const _0x1f6f34=_0x1680e9,_0x248cfb=this[_0x1f6f34(0xcf)][_0x1f6f34(0xe7)][_0x1f6f34(0x17e)](_0x54325a),_0x445e62=this[_0x1f6f34(0xcf)][_0x1f6f34(0xe7)][_0x1f6f34(0x17e)](_0x1a9876);this[_0x1f6f34(0xcf)][_0x1f6f34(0x12f)](_0x1f6f34(0x101)),_0x445e62[_0x1f6f34(0x13a)][_0x1f6f34(0xe4)](this[_0x1f6f34(0xa8)])&&_0x445e62[_0x1f6f34(0xa0)](this[_0x1f6f34(0xa8)]),_0x248cfb[_0x1f6f34(0x108)](this),this[_0x1f6f34(0xd5)](),super[_0x1f6f34(0x120)]();}async[_0x1680e9(0xf3)](_0x42e184){const _0x375d9d=_0x1680e9;if(this[_0x375d9d(0x80)]!==_0x42e184[_0x375d9d(0x80)]&&this[_0x375d9d(0x161)]!==_0x42e184[_0x375d9d(0x99)])throw new J();return this[_0x375d9d(0x80)]=_0x42e184[_0x375d9d(0x80)],this[_0x375d9d(0x138)]([],{..._0x42e184,'wereChangesApplied':!0x1,'data':_0x42e184[_0x375d9d(0xd6)]},_0x375d9d(0x15d));}async[_0x1680e9(0xe9)](_0x4580d5,_0x988289=!0x1){const _0x1b37d1=_0x1680e9,{connection:_0x5a57e1}=this[_0x1b37d1(0xcf)][_0x1b37d1(0xe7)][_0x1b37d1(0x17e)](_0x54325a);l[_0x1b37d1(0x147)][_0x1b37d1(0x14b)](_0x5a57e1,this[_0x1b37d1(0xa8)])[_0x1b37d1(0x8b)](_0x1a0947=>this[_0x1b37d1(0xa1)](_0x1a0947))[_0x1b37d1(0xbb)](_0x216545=>{const _0x225c14=_0x1b37d1;this[_0x225c14(0x144)](_0x225c14(0x9b),_0x216545);}),this[_0x1b37d1(0xd8)](this[_0x1b37d1(0x84)],_0x1b37d1(0x121),this[_0x1b37d1(0x127)][_0x1b37d1(0xff)](this)),this[_0x1b37d1(0xd8)](this[_0x1b37d1(0x84)],_0x1b37d1(0x116),(_0x1986b0,_0x13965f)=>{const _0x4d381c=_0x1b37d1;this[_0x4d381c(0x144)](_0x4d381c(0x12b),_0x13965f);}),this[_0x1b37d1(0xd8)](this[_0x1b37d1(0x84)],_0x1b37d1(0x181),()=>{const _0x2e6192=_0x1b37d1;this[_0x2e6192(0xe3)]=!0x1;});const _0x495ce2=this[_0x1b37d1(0x109)][_0x1b37d1(0xd0)](_0x4580d5);this[_0x1b37d1(0x136)]=!0x0;const _0x1d683c=await this[_0x1b37d1(0x84)][_0x1b37d1(0x15f)](_0x5a57e1,this[_0x1b37d1(0xe2)](_0x4580d5),_0x495ce2);if(this[_0x1b37d1(0x80)]=_0x1d683c[_0x1b37d1(0x80)],_0x988289){if(!_0x1d683c[_0x1b37d1(0x149)])return void this[_0x1b37d1(0x145)]();this[_0x1b37d1(0x136)]=!0x1,this[_0x1b37d1(0x17d)](),this[_0x1b37d1(0xdd)][_0x1b37d1(0xb6)](),this[_0x1b37d1(0x106)]=_0x1d683c[_0x1b37d1(0xb7)],this[_0x1b37d1(0xdd)][_0x1b37d1(0x156)]=this[_0x1b37d1(0x106)],await this[_0x1b37d1(0x138)](_0x4580d5,_0x1d683c,_0x1b37d1(0xa6));}else await this[_0x1b37d1(0x110)](_0x1d683c,_0x4580d5);this[_0x1b37d1(0x7f)](),this[_0x1b37d1(0xe3)]=!0x0;}[_0x1680e9(0x7f)](){const _0x36ae42=_0x1680e9,_0x26ae1a=this[_0x36ae42(0xcf)][_0x36ae42(0xe7)][_0x36ae42(0x17e)](_0x1a9876),_0x188f68=this[_0x36ae42(0xcf)][_0x36ae42(0xe7)][_0x36ae42(0x17e)](_0xcba94c),_0x51c9ef=_0x26ae1a[_0x36ae42(0x13a)][_0x36ae42(0x17e)](this[_0x36ae42(0xa8)]);_0x51c9ef&&_0x51c9ef[_0x36ae42(0x97)]>0x1?_0x188f68[_0x36ae42(0x9f)]():this[_0x36ae42(0xd8)](_0x26ae1a,_0x36ae42(0x119)+this[_0x36ae42(0xa8)],()=>{const _0x32f592=_0x36ae42;0x2===_0x26ae1a[_0x32f592(0x13a)][_0x32f592(0x17e)](this[_0x32f592(0xa8)])[_0x32f592(0x97)]&&_0x188f68[_0x32f592(0x9f)]();});}async[_0x1680e9(0x127)](_0x792e5d,_0x1e8679,_0xbb2eda,_0x45de46){const _0x46dd4e=_0x1680e9;if(!this[_0x46dd4e(0x136)]&&this[_0x46dd4e(0x150)][_0x46dd4e(0x156)]==_0x1e8679){const _0x1ba0f3=this[_0x46dd4e(0x17c)](_0xbb2eda,_0x45de46);await this[_0x46dd4e(0xe1)](_0x1ba0f3),this[_0x46dd4e(0xc4)](_0x1ba0f3,_0x1e8679,_0xbb2eda[_0x46dd4e(0x99)])||this[_0x46dd4e(0x144)](_0x46dd4e(0xcc));}}async[_0x1680e9(0xb8)](){const _0x408800=_0x1680e9;this[_0x408800(0xd5)]();const {locale:_0x103716}=this[_0x408800(0xcf)];let _0x101fc9;try{_0x101fc9=await this[_0x408800(0x84)][_0x408800(0x9a)]();}catch(_0x3ff570){const _0x51f71c=_0x536e19(_0x103716,_0x408800(0x16f));return void this[_0x408800(0x145)](_0x51f71c);}const _0x285bfb=_0x101fc9[_0x408800(0xaf)]||_0x101fc9[_0x408800(0x169)];if(this[_0x408800(0x161)]===_0x285bfb[_0x408800(0x99)])await this[_0x408800(0xe9)](this[_0x408800(0xcf)][_0x408800(0x16c)][_0x408800(0xd4)][_0x408800(0x9d)][_0x408800(0x96)](),!0x0);else{const _0x5b17c4=_0x536e19(_0x103716,_0x408800(0x167));this[_0x408800(0x145)](_0x5b17c4);}}[_0x1680e9(0xd5)](){const _0x5a6a05=_0x1680e9;this[_0x5a6a05(0x84)][_0x5a6a05(0x118)](),this[_0x5a6a05(0x13e)]=[],clearTimeout(this[_0x5a6a05(0x111)]),this[_0x5a6a05(0x155)](this[_0x5a6a05(0x84)]);}[_0x1680e9(0xa1)](_0x38b76e){const _0x10644e=_0x1680e9,_0x231d9a=this[_0x10644e(0xcf)][_0x10644e(0xe7)][_0x10644e(0x17e)](_0x1a9876);this[_0x10644e(0xd8)](_0x231d9a,_0x10644e(0x119)+this[_0x10644e(0xa8)],(_0xffd832,{session:_0x585998})=>{const _0x11e5ec=_0x10644e;if(_0x585998['id']===_0x231d9a[_0x11e5ec(0x148)]){_0xffd832[_0x11e5ec(0x164)]();const _0x3890c9=this[_0x11e5ec(0xcf)][_0x11e5ec(0xe7)][_0x11e5ec(0xe4)](_0x11e5ec(0x114))&&this[_0x11e5ec(0xcf)][_0x11e5ec(0xe7)][_0x11e5ec(0x17e)](_0x11e5ec(0x114));let _0x1c4644=_0x585998[_0x11e5ec(0x85)];_0x3890c9&&_0x3890c9[_0x11e5ec(0x15a)]&&(_0x1c4644=_0x1c4644[_0x11e5ec(0x15c)](_0x55c209=>_0x11e5ec(0xb5)!==_0x55c209)),this[_0x11e5ec(0xcf)][_0x11e5ec(0xe7)][_0x11e5ec(0x17e)](_0x11e5ec(0x160))[_0x11e5ec(0x165)](_0x1c4644,this[_0x11e5ec(0xa8)]);}}),_0x231d9a[_0x10644e(0x153)](this[_0x10644e(0xa8)],_0x38b76e);}[_0x1680e9(0x8d)](){const _0xf615c2=_0x1680e9,_0x4a0cbe=this[_0xf615c2(0xcf)][_0xf615c2(0xd6)][_0xf615c2(0x174)];this[_0xf615c2(0xcf)][_0xf615c2(0xd6)][_0xf615c2(0x174)]=(..._0xf4b7a9)=>{const _0x2fe74e=_0xf615c2;if(!_0xf4b7a9[_0xf4b7a9[_0x2fe74e(0x97)]-0x1][_0x2fe74e(0x98)])throw new _0x2233e5(_0x2fe74e(0xe8),this);_0x4a0cbe[_0x2fe74e(0xd2)](this[_0x2fe74e(0xcf)][_0x2fe74e(0xd6)],_0xf4b7a9);};}[_0x1680e9(0xdc)](){const _0x1e851a=_0x1680e9;this[_0x1e851a(0xcf)][_0x1e851a(0xd6)]['on'](_0x1e851a(0x15e),(_0x55ca99,[_0x22baa5])=>{const _0x55d272=_0x1e851a;if(this[_0x55d272(0x150)][_0x55d272(0x156)])throw new _0x2233e5(_0x55d272(0xf7),this);_0x55ca99[_0x55d272(0x9c)](),this[_0x55d272(0x152)]();const _0x34a24d=this[_0x55d272(0xcf)][_0x55d272(0x16e)][_0x55d272(0x17e)](_0x55d272(0x83)),_0xf4dbf9=this[_0x55d272(0x143)](_0x22baa5,_0x34a24d);0x0==_0xf4dbf9[_0x55d272(0x97)]&&_0xf4dbf9[_0x55d272(0x9e)](new _0x5f2948(0x0)),_0x55ca99[_0x55d272(0x146)]=this[_0x55d272(0xe9)](_0xf4dbf9)[_0x55d272(0x8b)](()=>{const _0x39759c=_0x55d272;this[_0x39759c(0xcf)][_0x39759c(0xe7)][_0x39759c(0x17e)](_0x54325a)[_0x39759c(0x12e)](this),this[_0x39759c(0xcf)][_0x39759c(0xd6)][_0x39759c(0xce)](_0x39759c(0x11d));})[_0x55d272(0xbb)](_0x5ba224=>this[_0x55d272(0x144)](_0x55d272(0x86),_0x5ba224))[_0x55d272(0xec)](()=>this[_0x55d272(0x17d)]());},{'priority':_0x1e851a(0x130)}),this[_0x1e851a(0xcf)]['on'](_0x1e851a(0xeb),async(_0x268160,[_0x2ac976,_0x39fc64])=>{const _0x2e8444=_0x1e851a;_0x268160[_0x2e8444(0x9c)]();const _0x352d7c=this[_0x2e8444(0xcf)][_0x2e8444(0x16c)][_0x2e8444(0xd4)][_0x2e8444(0x15b)](_0x2ac976);if(!this[_0x2e8444(0x173)][_0x2e8444(0xe4)](_0x2ac976)){const _0x5e0322=_0x39fc64&&_0x39fc64[_0x2e8444(0xd6)]?_0x39fc64[_0x2e8444(0xd6)]:'',_0x213058=_0x39fc64&&_0x39fc64[_0x2e8444(0xac)]?_0x39fc64[_0x2e8444(0xac)]:{};await this[_0x2e8444(0x81)](_0x2ac976,_0x5e0322,_0x213058);}this[_0x2e8444(0xcf)][_0x2e8444(0x16c)][_0x2e8444(0x92)]({'isUndoable':!0x1},()=>{const _0x2a80f1=_0x2e8444;_0x352d7c[_0x2a80f1(0x17b)]=!0x0,this[_0x2a80f1(0xcf)][_0x2a80f1(0x16c)][_0x2a80f1(0xd4)][_0x2a80f1(0xf6)][_0x2a80f1(0x134)](_0x352d7c);});},{'priority':_0x1e851a(0x130)});}async[_0x1680e9(0xe1)](_0xfebeda){const _0x17c6a1=_0x1680e9,_0xdb79db=this[_0x17c6a1(0xcf)][_0x17c6a1(0xe7)][_0x17c6a1(0x17e)](_0x5b3902),{connection:_0x17b4f6}=this[_0x17c6a1(0xcf)][_0x17c6a1(0xe7)][_0x17c6a1(0x17e)](_0x54325a),_0xf476b3=new Set();for(const _0x5845fc of _0xfebeda){const _0x408d8c=_0x5845fc[_0x17c6a1(0xf9)];_0x408d8c&&!_0xdb79db[_0x17c6a1(0xdf)](_0x408d8c)&&_0xf476b3[_0x17c6a1(0x162)](_0x408d8c);}if(0x0===_0xf476b3[_0x17c6a1(0xc6)])return;const _0x3e98a3=await _0x4c0e91[_0x17c6a1(0xd9)](_0x17b4f6,Array[_0x17c6a1(0x112)](_0xf476b3));for(const _0x441df5 of _0x3e98a3)_0xdb79db[_0x17c6a1(0xdf)](_0x441df5['id'])||_0xdb79db[_0x17c6a1(0xee)](_0x441df5);}[_0x1680e9(0x143)](_0x4cb4c7,_0x1bdb1b={}){const _0x25e77d=_0x1680e9,_0x380e2=this[_0x25e77d(0xcf)][_0x25e77d(0x16c)],_0x56d64c=[];let _0x29050e=0x0;const _0x185b2a=_0x25e77d(0xaa)==typeof _0x4cb4c7?{'main':_0x4cb4c7}:_0x4cb4c7;for(const _0x3c8f31 of Object[_0x25e77d(0xa7)](_0x185b2a)){if(!this[_0x25e77d(0x150)][_0x25e77d(0x170)][_0x25e77d(0xe4)](_0x3c8f31))throw new _0x2233e5(_0x25e77d(0x14f),this);const _0x5518c5=this[_0x25e77d(0xcf)][_0x25e77d(0xd6)][_0x25e77d(0x12c)](_0x185b2a[_0x3c8f31]),_0x5524ae=this[_0x25e77d(0x150)][_0x25e77d(0x15b)](_0x3c8f31),_0x34935c=new _0x2292e6(_0x380e2[_0x25e77d(0x87)](_0x5524ae,0x0),_0x5518c5,_0x29050e++);_0x56d64c[_0x25e77d(0x9e)](_0x34935c);for(const [_0xcdd87a,_0xc7ce1e]of _0x5518c5[_0x25e77d(0x13d)]){const _0x1da3a7=_0x380e2[_0x25e77d(0x129)](_0x380e2[_0x25e77d(0xe0)](_0x5524ae,_0xc7ce1e[_0x25e77d(0xcd)][_0x25e77d(0x117)][_0x25e77d(0xda)]()),_0x380e2[_0x25e77d(0xe0)](_0x5524ae,_0xc7ce1e[_0x25e77d(0x125)][_0x25e77d(0x117)][_0x25e77d(0xda)]())),_0x18adc5=new _0x202b4a(_0xcdd87a,null,_0x1da3a7,_0x380e2[_0x25e77d(0x13d)],!0x0,_0x29050e++);_0x56d64c[_0x25e77d(0x9e)](_0x18adc5);}}if(_0x1bdb1b)for(const [_0x5d71bd,_0x3954d9]of Object[_0x25e77d(0x100)](_0x1bdb1b)){const _0x5a1e9c=_0x380e2[_0x25e77d(0xd4)][_0x25e77d(0x15b)](_0x5d71bd);if(!_0x5a1e9c)throw new _0x2233e5(_0x25e77d(0x105),null);for(const [_0x3a3827,_0x9720f0]of Object[_0x25e77d(0x100)](_0x3954d9))if(null!==_0x9720f0){const _0x56b0e0=new _0x174437(_0x5a1e9c,_0x3a3827,null,_0x9720f0,_0x29050e++);_0x56d64c[_0x25e77d(0x9e)](_0x56b0e0);}}return _0x56d64c;}async[_0x1680e9(0x81)](_0x153166,_0x215cc7,_0x49f6ba){const _0x263982=_0x1680e9;this[_0x263982(0x143)]({[_0x153166]:_0x215cc7},{[_0x153166]:_0x49f6ba})[_0x263982(0x8a)]((_0x52187b,_0x5e5fd7)=>{const _0x3609a0=_0x263982;_0x52187b[_0x3609a0(0x10a)]=this[_0x3609a0(0x150)][_0x3609a0(0x156)]+_0x5e5fd7,_0x52187b[_0x3609a0(0x12a)]=!0x0,this[_0x3609a0(0x7e)](_0x52187b);}),this[_0x263982(0x82)](),await this[_0x263982(0xa2)]();}async[_0x1680e9(0x110)](_0x4ed87a,_0x2dd575){const _0x2506d3=_0x1680e9;let _0x4c03ef;this[_0x2506d3(0x106)]=_0x4ed87a[_0x2506d3(0xb7)];const _0x3e47d5=_0x4ed87a[_0x2506d3(0x149)]&&!_0x4ed87a[_0x2506d3(0x95)],_0x119e3c=_0x3e47d5?0x0:_0x4ed87a[_0x2506d3(0xd6)][_0x2506d3(0x10a)];if(_0x2dd575[_0x2506d3(0x8a)](_0x1ebc6a=>{const _0x5a45b8=_0x2506d3;_0x1ebc6a[_0x5a45b8(0x12a)]=!0x0,_0x1ebc6a[_0x5a45b8(0xbe)]=_0x4ed87a[_0x5a45b8(0x16b)],_0x1ebc6a[_0x5a45b8(0xf9)]=null;}),_0x3e47d5)_0x4c03ef=_0x2dd575,this[_0x2506d3(0xbc)](_0x4c03ef,_0x3e47d5);else{if(_0x4ed87a[_0x2506d3(0x95)]){const _0x291802=this[_0x2506d3(0x143)](_0x4ed87a[_0x2506d3(0x95)]);this[_0x2506d3(0x150)][_0x2506d3(0x9d)][_0x2506d3(0x156)]=-_0x291802[_0x2506d3(0x97)],_0x291802[_0x2506d3(0x8a)](_0x3b8f9b=>{const _0x2262e8=_0x2506d3;_0x3b8f9b[_0x2262e8(0x10a)]-=_0x291802[_0x2262e8(0x97)],_0x3b8f9b[_0x2262e8(0xbe)]=_0x4ed87a[_0x2262e8(0x16b)],_0x3b8f9b[_0x2262e8(0x12a)]=!0x0,_0x3b8f9b[_0x2262e8(0xf9)]=null;}),this[_0x2506d3(0xbc)](_0x291802,!0x0),this[_0x2506d3(0xdd)][_0x2506d3(0x156)]=-_0x291802[_0x2506d3(0x97)]+this[_0x2506d3(0x106)],this[_0x2506d3(0xc1)](_0x291802);}this[_0x2506d3(0x150)][_0x2506d3(0x9d)][_0x2506d3(0x156)]=_0x119e3c,_0x4c03ef=this[_0x2506d3(0x17c)](_0x4ed87a[_0x2506d3(0xd6)],_0x4ed87a[_0x2506d3(0x128)]),await this[_0x2506d3(0xe1)](_0x4c03ef),this[_0x2506d3(0xbc)](_0x4c03ef,_0x3e47d5);}_0x4ed87a[_0x2506d3(0x99)]&&(this[_0x2506d3(0x109)][_0x2506d3(0xa9)](_0x4c03ef,_0x4ed87a[_0x2506d3(0x99)]),this[_0x2506d3(0x161)]=_0x4ed87a[_0x2506d3(0x99)]),this[_0x2506d3(0xdd)][_0x2506d3(0x156)]=_0x119e3c+this[_0x2506d3(0x106)],this[_0x2506d3(0xc1)](_0x4c03ef),_0x2dd575[_0x2506d3(0x15c)](_0x92eeef=>{const _0x15d1e3=_0x2506d3,_0x491f56=this[_0x15d1e3(0x11e)](_0x92eeef);return _0x491f56&&!this[_0x15d1e3(0x173)][_0x15d1e3(0xe4)](_0x491f56);})[_0x2506d3(0x8a)]((_0x2d86a1,_0x3ae05b)=>{const _0xffdddf=_0x2506d3;_0x2d86a1[_0xffdddf(0x10a)]=this[_0xffdddf(0x150)][_0xffdddf(0x156)]+_0x3ae05b,this[_0xffdddf(0x7e)](_0x2d86a1);}),this[_0x2506d3(0xb9)]()?(this[_0x2506d3(0xc3)]=0x0,this[_0x2506d3(0x82)](!0x0),await this[_0x2506d3(0xa2)]()):(this[_0x2506d3(0x136)]=!0x1,this[_0x2506d3(0x17d)]());}[_0x1680e9(0x144)](_0x3cda69,_0x2c5ef1){const _0x3427a5=_0x1680e9;throw this[_0x3427a5(0x136)]=!0x0,_0x2c5ef1&&console[_0x3427a5(0x116)](_0x2c5ef1),new _0x2233e5(_0x3cda69,this[_0x3427a5(0xcf)]);}[_0x1680e9(0x7e)](_0x5e5254){const _0x477465=_0x1680e9;this[_0x477465(0x124)][_0x477465(0xe4)](_0x5e5254)||(this[_0x477465(0x124)][_0x477465(0x162)](_0x5e5254),this[_0x477465(0x13e)][_0x477465(0x9e)](_0x5e5254),this[_0x477465(0xf5)]||_0x477465(0xef)==_0x5e5254[_0x477465(0xbf)]&&!_0x5e5254[_0x477465(0x142)]||this[_0x477465(0x152)]());}[_0x1680e9(0x82)](_0x5d6dca=!0x1){const _0x5a30d1=_0x1680e9;!_0x5d6dca&&this[_0x5a30d1(0x136)]||(this[_0x5a30d1(0x136)]=!0x0,clearTimeout(this[_0x5a30d1(0x111)]),this[_0x5a30d1(0x111)]=setTimeout(()=>{const _0x13c3f4=_0x5a30d1;this[_0x13c3f4(0xca)]()[_0x13c3f4(0x8b)](_0x9948ec=>{const _0x211777=_0x13c3f4;_0x9948ec&&(this[_0x211777(0x17d)](),this[_0x211777(0x136)]=!0x1);})[_0x13c3f4(0xbb)](_0x406f1c=>{const _0x463eed=_0x13c3f4;if(this[_0x463eed(0x17d)](),this[_0x463eed(0x136)]=!0x1,!function(_0x52c435){const _0x5d1bf5=_0x463eed;return _0x52c435[_0x5d1bf5(0x176)][_0x5d1bf5(0x177)](_0x5d1bf5(0xfa))||_0x52c435[_0x5d1bf5(0x176)][_0x5d1bf5(0x177)](_0x5d1bf5(0xc7))||_0x52c435[_0x5d1bf5(0x176)][_0x5d1bf5(0x177)](_0x5d1bf5(0x12d));}(_0x406f1c))throw _0x406f1c;});},this[_0x5a30d1(0xc3)]));}[_0x1680e9(0xa2)](){return new Promise(_0x2ade49=>{const _0x1529ef=_0x44af;this['on'](_0x1529ef(0x14c),()=>{_0x2ade49();});});}async[_0x1680e9(0xca)](){const _0x41220b=_0x1680e9,_0x129e1d=this[_0x41220b(0xcf)][_0x41220b(0xe7)][_0x41220b(0x17e)](_0xcba94c);if(this[_0x41220b(0xf2)]()&&(_0x129e1d[_0x41220b(0x9f)](),this[_0x41220b(0xb3)]=!0x1),!this[_0x41220b(0xb9)]())return!0x0;const _0x32038e=[...this[_0x41220b(0x13e)]];for(const _0x404c1d of _0x32038e)_0x404c1d[_0x41220b(0x10c)]=this[_0x41220b(0x150)][_0x41220b(0x9d)][_0x41220b(0x166)](_0x404c1d);const _0x3ff95d=this[_0x41220b(0x109)][_0x41220b(0xd0)](_0x32038e),_0x5dc285=K++,_0x28388d=this[_0x41220b(0xe2)](_0x32038e),_0x57cbd8=await this[_0x41220b(0x84)][_0x41220b(0xab)](_0x28388d,_0x28388d[_0x41220b(0x10a)],_0x3ff95d);try{return await this[_0x41220b(0x138)](_0x32038e,_0x57cbd8,_0x5dc285);}catch(_0x3f8bfc){return this[_0x41220b(0x144)](_0x41220b(0x139),_0x3f8bfc);}}async[_0x1680e9(0x138)](_0x52bdd5,_0x20c2f2,_0xe58244){const _0x186bc8=_0x1680e9;if(_0x186bc8(0x116)in _0x20c2f2)throw _0x20c2f2[_0x186bc8(0x116)];let _0xa020e2=!0x1;if(_0x20c2f2[_0x186bc8(0x149)]){_0x20c2f2[_0x186bc8(0x99)]&&(this[_0x186bc8(0x161)]=_0x20c2f2[_0x186bc8(0x99)]),this[_0x186bc8(0x13e)]=this[_0x186bc8(0x13e)][_0x186bc8(0x15c)](_0x349edc=>!_0x52bdd5[_0x186bc8(0x93)](_0x349edc));for(const _0x4793e4 of _0x52bdd5)_0x4793e4[_0x186bc8(0xbe)]=_0x186bc8(0x132)in _0x20c2f2&&_0x20c2f2[_0x186bc8(0x132)]||void 0x0;Q(_0x52bdd5,_0x20c2f2[_0x186bc8(0x156)]-_0x52bdd5[_0x186bc8(0x97)]),this[_0x186bc8(0xc1)](_0x52bdd5);const _0x2992e6=_0x52bdd5[_0x186bc8(0x15c)](_0x3bb9a5=>{const _0x4c2233=_0x186bc8;if(!_0x3bb9a5[_0x4c2233(0x12a)])return!0x1;const _0x3f4b5f=this[_0x4c2233(0x11e)](_0x3bb9a5);return _0x3f4b5f&&!this[_0x4c2233(0x173)][_0x4c2233(0xe4)](_0x3f4b5f);});Q(_0x2992e6,this[_0x186bc8(0x150)][_0x186bc8(0x156)]),this[_0x186bc8(0xbc)](_0x2992e6),_0xa020e2=!0x0,this[_0x186bc8(0xc3)]=this[_0x186bc8(0xa4)];}else{const _0x3b86aa=this[_0x186bc8(0x17c)](_0x20c2f2[_0x186bc8(0xd6)],_0x20c2f2[_0x186bc8(0x128)])[_0x186bc8(0x15c)](_0x3665e6=>_0x3665e6[_0x186bc8(0x10a)]>=this[_0x186bc8(0x11a)]);_0x3b86aa[_0x186bc8(0x8a)](_0x807cb2=>this[_0x186bc8(0xed)](_0x807cb2)),this[_0x186bc8(0x13e)]=this[_0x186bc8(0x13e)][_0x186bc8(0x15c)](_0x37f864=>!_0x37f864[_0x186bc8(0x12a)]||!this[_0x186bc8(0x173)][_0x186bc8(0xe4)](this[_0x186bc8(0x11e)](_0x37f864))),this[_0x186bc8(0x13e)][_0x186bc8(0x97)]&&Q(this[_0x186bc8(0x13e)],this[_0x186bc8(0x13e)][0x0][_0x186bc8(0x10a)]),await this[_0x186bc8(0xe1)](_0x3b86aa),_0xa020e2=this[_0x186bc8(0xc4)](_0x3b86aa,_0x20c2f2[_0x186bc8(0x156)],_0x20c2f2[_0x186bc8(0x99)]),this[_0x186bc8(0xc3)]=Math[_0x186bc8(0x168)](this[_0x186bc8(0xc3)]/0x2);}return _0xa020e2?!this[_0x186bc8(0xb9)]()||(this[_0x186bc8(0x82)](!0x0),!0x1):this[_0x186bc8(0x144)](_0x186bc8(0x13c));}[_0x1680e9(0xc4)](_0x14daf7,_0x295744,_0x489695){const _0x159ce1=_0x1680e9;try{const _0x563c55={'document':this[_0x159ce1(0x150)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x542cc1,operationsB:_0x2952f5,originalOperations:_0x294bc0}=_0x328309(_0x14daf7,this[_0x159ce1(0x13e)],_0x563c55);Q(_0x542cc1,this[_0x159ce1(0x150)][_0x159ce1(0x156)]),Q(_0x2952f5,_0x295744);for(const _0xa57f3f of _0x542cc1){const _0x3b5470=_0x294bc0[_0x159ce1(0x17e)](_0xa57f3f);_0xa57f3f[_0x159ce1(0xf9)]=_0x3b5470?_0x3b5470[_0x159ce1(0xf9)]:null;}_0x489695&&(this[_0x159ce1(0x109)][_0x159ce1(0xa9)](_0x14daf7,_0x489695),this[_0x159ce1(0x161)]=_0x489695),this[_0x159ce1(0x13e)]=[..._0x2952f5],this[_0x159ce1(0xbc)](_0x542cc1),this[_0x159ce1(0xc1)](_0x14daf7);}catch(_0x521939){return console[_0x159ce1(0x116)](_0x521939),!0x1;}return!0x0;}[_0x1680e9(0xbc)](_0x35cb1f,_0x5ec0f0=!0x1){const _0x5d0a4d=_0x1680e9;this[_0x5d0a4d(0xcf)][_0x5d0a4d(0x16c)][_0x5d0a4d(0x92)]({'isUndoable':!0x1,'isLocal':!0x1},_0x7dea45=>{const _0x272628=_0x5d0a4d;for(const _0xf66118 of _0x35cb1f)this[_0x272628(0x124)][_0x272628(0x162)](_0xf66118),this[_0x272628(0xed)](_0xf66118),_0x7dea45[_0x272628(0x11b)][_0x272628(0xfc)](_0xf66118),this[_0x272628(0xcf)][_0x272628(0x16c)][_0x272628(0xc9)](_0xf66118);});}[_0x1680e9(0xed)](_0x5c1be1){const _0x4c3bb5=_0x1680e9,_0x4466d3=this[_0x4c3bb5(0x11e)](_0x5c1be1);_0x4466d3&&this[_0x4c3bb5(0x173)][_0x4c3bb5(0x162)](_0x4466d3);}[_0x1680e9(0x11e)](_0x42c6de){const _0x493835=_0x1680e9;let _0x478a6f,_0x5153d8;switch(_0x42c6de[_0x493835(0xbf)]){case _0x493835(0x16d):_0x478a6f=_0x42c6de[_0x493835(0x137)][_0x493835(0x113)];break;case _0x493835(0xef):if(_0x5153d8=_0x42c6de[_0x493835(0xf4)],!_0x5153d8)return null;_0x478a6f=_0x5153d8[_0x493835(0x113)];break;case _0x493835(0x14a):_0x478a6f=_0x42c6de[_0x493835(0x113)];break;case _0x493835(0xfe):_0x478a6f=_0x42c6de[_0x493835(0x14e)];break;case _0x493835(0xd3):_0x478a6f=_0x42c6de[_0x493835(0xad)][_0x493835(0x113)];break;default:return null;}return _0x478a6f[_0x493835(0x163)];}[_0x1680e9(0xc1)](_0x5f088e){const _0x4a8154=_0x1680e9;_0x5f088e[_0x4a8154(0x8a)](_0x46b4a7=>{const _0x39bb99=_0x4a8154,_0x4401ca=_0x46b4a7[_0x39bb99(0xd1)]();_0x4401ca[_0x39bb99(0xf9)]=_0x46b4a7[_0x39bb99(0xf9)],_0x4401ca[_0x39bb99(0x12a)]=!!_0x46b4a7[_0x39bb99(0x12a)],_0x4401ca[_0x39bb99(0xbe)]=_0x46b4a7[_0x39bb99(0xbe)],_0x4401ca[_0x39bb99(0x10a)]+=this[_0x39bb99(0x106)],_0x46b4a7[_0x39bb99(0x16a)]&&this[_0x39bb99(0x126)][_0x39bb99(0x162)](_0x4401ca),this[_0x39bb99(0xdd)][_0x39bb99(0xfc)](_0x4401ca);});}[_0x1680e9(0x145)](_0x404f9e){const _0x3ca44c=_0x1680e9,_0x55da5e=this[_0x3ca44c(0xcf)][_0x3ca44c(0xe7)][_0x3ca44c(0x17e)](_0x3ca44c(0xc0)),_0x3c0563=this[_0x3ca44c(0xcf)][_0x3ca44c(0x159)];_0x404f9e||(_0x404f9e=_0x536e19(_0x3c0563,_0x3ca44c(0x107))),_0x55da5e[_0x3ca44c(0x17a)](_0x404f9e,{'title':_0x536e19(_0x3c0563,_0x3ca44c(0x131)),'namespace':_0x3ca44c(0xb2)}),this[_0x3ca44c(0x151)]=!0x0,clearTimeout(this[_0x3ca44c(0x111)]),this[_0x3ca44c(0x13e)]=[],this[_0x3ca44c(0xcf)][_0x3ca44c(0xe7)][_0x3ca44c(0x17e)](_0x54325a)[_0x3ca44c(0x120)]();}[_0x1680e9(0x152)](){const _0x1bc9b3=_0x1680e9;this[_0x1bc9b3(0xf5)]||(this[_0x1bc9b3(0xf5)]=this[_0x1bc9b3(0xcf)][_0x1bc9b3(0xe7)][_0x1bc9b3(0x17e)](_0x2a90b8)[_0x1bc9b3(0x162)](_0x536e19(this[_0x1bc9b3(0xcf)][_0x1bc9b3(0x159)],_0x1bc9b3(0x11f))));}[_0x1680e9(0x17d)](){const _0x3d3001=_0x1680e9;this[_0x3d3001(0xf5)]&&(this[_0x3d3001(0xcf)][_0x3d3001(0xe7)][_0x3d3001(0x17e)](_0x2a90b8)[_0x3d3001(0xa3)](this[_0x3d3001(0xf5)]),this[_0x3d3001(0xf5)]=null);}[_0x1680e9(0xe2)](_0x13591e){const _0x5d5243=_0x1680e9,_0x24ff9b=_0x13591e[_0x5d5243(0x10d)](_0x26358f=>_0x26358f[_0x5d5243(0x8e)]());return this[_0x5d5243(0x179)][_0x5d5243(0xae)](_0x24ff9b);}[_0x1680e9(0x17c)](_0x19844b,_0x3071b3){const _0x27b729=_0x1680e9;return this[_0x27b729(0x179)][_0x27b729(0x13f)](_0x19844b)[_0x27b729(0x10d)]((_0x2cf168,_0x69f19f)=>{const _0x3b307e=_0x27b729,_0x5ee813=_0x3b307e(0x15e)==_0x3071b3[_0x69f19f][_0x3b307e(0xbf)];if(_0x3b307e(0x90)==_0x2cf168[_0x3b307e(0xc8)]){const _0x4fbf18=_0x2cf168[_0x3b307e(0x137)][_0x3b307e(0x113)];!this[_0x3b307e(0x150)][_0x3b307e(0x15b)](_0x4fbf18)&&(this[_0x3b307e(0x150)][_0x3b307e(0x103)](_0x3b307e(0xf0),_0x4fbf18)[_0x3b307e(0x8f)]=!0x1);}const _0x5566f9=_0x21c5c7[_0x3b307e(0x102)](_0x2cf168,this[_0x3b307e(0x150)]);return _0x5566f9[_0x3b307e(0x10c)]=_0x2cf168[_0x3b307e(0x10c)],_0x5566f9[_0x3b307e(0x12a)]=_0x5ee813,_0x5566f9[_0x3b307e(0xf9)]=_0x5ee813?null:_0x3071b3[_0x69f19f][_0x3b307e(0x154)],_0x5566f9[_0x3b307e(0x16a)]=_0x3b307e(0x91)===_0x3071b3[_0x69f19f][_0x3b307e(0xbf)],_0x5566f9[_0x3b307e(0xbe)]=_0x3071b3[_0x69f19f][_0x3b307e(0xbe)],_0x5566f9;});}[_0x1680e9(0xe6)](){const _0x29e87f=_0x1680e9;this[_0x29e87f(0xb3)]=!0x0,this[_0x29e87f(0xf2)]()?this[_0x29e87f(0x82)]():this[_0x29e87f(0xb3)]=!0x1;}[_0x1680e9(0xf2)](){const _0x2e8417=_0x1680e9,_0x2e86b3=this[_0x2e8417(0xcf)][_0x2e8417(0xe7)][_0x2e8417(0x17e)](_0x1a9876)[_0x2e8417(0x13a)][_0x2e8417(0x17e)](this[_0x2e8417(0xa8)]);return!this[_0x2e8417(0xcf)][_0x2e8417(0xba)]&&!!_0x2e86b3&&_0x2e86b3[_0x2e8417(0x97)]>0x1&&this[_0x2e8417(0xb3)];}[_0x1680e9(0xb9)](){const _0x18b224=_0x1680e9;return this[_0x18b224(0x13e)][_0x18b224(0x97)]>0x0||this[_0x18b224(0xf2)]();}}l[_0x1680e9(0x147)]=_0x2a7abf;export default l;class J extends Error{}function Q(_0x322601,_0x55d56f){const _0x5c8428=_0x1680e9;for(const _0x22588b of _0x322601)_0x22588b[_0x5c8428(0x10a)]=_0x55d56f++;}class X{constructor(_0x45645f){const _0x3ce9f5=_0x1680e9;this[_0x3ce9f5(0x158)]=_0x45645f,this[_0x3ce9f5(0x94)]=new WeakMap();}[_0x1680e9(0xd0)](_0x411dc0){const _0x2632a6=_0x1680e9;let _0xac4721=_0x411dc0[_0x2632a6(0x97)];for(;_0xac4721--;){const _0x3f9915=_0x411dc0[_0xac4721];if(!this[_0x2632a6(0x158)][_0x2632a6(0xe4)](_0x3f9915)){if(!this[_0x2632a6(0x94)][_0x2632a6(0xe4)](_0x3f9915)){const _0x5e7d65=_0x467b97()[_0x2632a6(0xda)](0x1,0x12);this[_0x2632a6(0x94)][_0x2632a6(0x174)](_0x3f9915,_0x5e7d65);}return this[_0x2632a6(0x94)][_0x2632a6(0x17e)](_0x3f9915);}}}[_0x1680e9(0xa9)](_0x3ec791,_0x254f76){const _0x4cbb50=_0x1680e9;if(!_0x254f76)return;let _0x453016=_0x3ec791[_0x4cbb50(0x97)];for(;_0x453016--;){const _0x3ef532=_0x3ec791[_0x453016];this[_0x4cbb50(0x158)][_0x4cbb50(0xe4)](_0x3ef532)||this[_0x4cbb50(0x94)][_0x4cbb50(0x174)](_0x3ef532,_0x254f76);}}}
|
|
23
|
+
const _0x51a186=_0x399f;(function(_0x7c10c,_0x50e39c){const _0x415bbf=_0x399f,_0x53e3a6=_0x7c10c();while(!![]){try{const _0x119c30=parseInt(_0x415bbf(0x26e))/0x1+-parseInt(_0x415bbf(0x275))/0x2+parseInt(_0x415bbf(0x198))/0x3*(parseInt(_0x415bbf(0x215))/0x4)+-parseInt(_0x415bbf(0x1b4))/0x5*(-parseInt(_0x415bbf(0x1ac))/0x6)+parseInt(_0x415bbf(0x271))/0x7*(parseInt(_0x415bbf(0x27e))/0x8)+parseInt(_0x415bbf(0x228))/0x9*(parseInt(_0x415bbf(0x1f9))/0xa)+parseInt(_0x415bbf(0x1cb))/0xb*(-parseInt(_0x415bbf(0x1c0))/0xc);if(_0x119c30===_0x50e39c)break;else _0x53e3a6['push'](_0x53e3a6['shift']());}catch(_0x44a39a){_0x53e3a6['push'](_0x53e3a6['shift']());}}}(_0x3abc,0xe9a7c));import{Plugin as _0x1ad366,PendingActions as _0x558879}from'ckeditor5/src/core.js';import{CKEditorError as _0x41699e,version as _0x198047,uid as _0x199709}from'ckeditor5/src/utils.js';import{Notification as _0x5e1c44}from'ckeditor5/src/ui.js';function _0x399f(_0x48dd58,_0x17cabb){const _0x3abcf2=_0x3abc();return _0x399f=function(_0x399fdd,_0x5166e6){_0x399fdd=_0x399fdd-0x198;let _0x16d22d=_0x3abcf2[_0x399fdd];return _0x16d22d;},_0x399f(_0x48dd58,_0x17cabb);}import{transformSets as _0x546cdc,NoOperation as _0x182927,InsertOperation as _0x34caed,MarkerOperation as _0x56995f,RootAttributeOperation as _0xc13341,OperationFactory as _0x21ef6a,History as _0x2d82b9}from'ckeditor5/src/engine.js';import _0x39d755 from'./websocketgateway.js';import _0x5852c1 from'./sessions.js';import _0x341733 from'./usermarkers.js';import{getTranslation as _0x37dd30}from'../common-translations.js';import{Compressor as _0x44403a}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1ff20a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x14df29,CollaborativeEditingService as _0x29f087}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3abc(){const _0x35d1cc=['state','finally','sendOperations','_updateServerHistory','76ogxhJL','version','_service','register','end','$root','realtimecollaborationclient-initservice-incorrect-server-operation','message','CommentsOnly','_bufferedOperations','loadRoot','compress','path','operationsReceived','_setUpDataInit','document:write','add','_applyOperationsSet','init','12136239tucXEO','_connectService','addRoot','realtimecollaborationclient-handleserverresponse','createPositionFromPath','affectsData','getIdOfTheLastOperation','wasUndone','_fetchMissingUsers','model','_knownRootNames','has','rootName','cloudServices.bundleVersion','parse','_ignoredOperations','_baseBufferDelay','requires','marker','_handleSendingSelectionMarkers','_getAffectedRoot','applyOperation','_hasSynchronizationProblem','error','realtimecollaborationclient-sendbufferedoperations','plugins','document','get','map','newRange','disableReadOnlyMode','connection','_isEditingAllowed','unregister','fromJSON','reset','markers','rtc-destroyed','stopListening','change:_isPendingUpdate','push','collaboration','_shouldSendUpdate','createRange','enableReadOnlyMode','_clearPendingAction','setPermissions','off','_addKnownRoot','disconnect','Notification','_compressOperations','pluginName','disconnected','_isPendingUpdate','_operationToId','realtimecollaborationclient-init-document-already-initialized','initData','differ','roots','locale','string','remove','_handleExternalOperations','addOperation','stop','_authorId','change:range','lastOperationId','apply','1817357Bctpxa','change:_isEditingAllowed','offset','161PysvKp','_handleInitialConnectionData','code','rootsAttributes','2204756Purgxt','realtimecollaborationclient-init-non-existent-root','change:hasDomSelection','insert','bind','_refreshUserSelectionMarkers','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.','InsertOperation','_offset','634264cgnieT','targetPosition','catch','rtc-offline','_handleServerResponse','isDocumentOperation','realtimecollaborationclient-initservice-internal-error','PENDING_ACTION_SENDING_DATA','high','_setPendingAction','currentDocumentSession','_bufferRootLoad','_currentBufferDelay','cloud-services-internal-error:\x20Not\x20connected.','_isLoaded','_getOperationsFromInitData','_hasSelectionChanged','_lastServerVersion','_connectAfterSessionHasBeenFlushed','isEnabled','attributes','_sendBufferedOperationsDelayId','mySessionId','selection','channelSessions','baseVersion','_handleReconnectionResponse','_initSessionsHandling','CollaborativeEditingService','return','202623ERkgRe','_compressor','view','then','404','start','_loadRoot','sessionAdd:','_isAttached','wereChangesApplied','forEach','isUndoneOperation','createdAt','real-time-collaboration','history','getConnectedSessions','_initThrowingOnDataSet','isReadOnly','getOperations','userId','714234otUGGb','setIdForTheLastOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','metadata','permissions','decompress','getRoot','connected','25ruzzFx','getMany','root','editor','reconnect','startsWith','position','length','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.','enqueueChange','_crash','createPositionAt','17364kZLFfy','showWarning','reconnection:\x20flushed\x20session','cs:removeUser','directChange','cloudDocumentVersion','_lastSyncedOperationId','data','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','lastDocumentSession','editing','36553fIFVVq','_handleReconnectionError','toJSON','sessionId','_operationIdentifier','ready','multi-root-editor-root-attributes-no-root','Synchronization\x20issue','filter','clone','realtimecollaborationclient-init-connection-failed','409','_isInit','_isDisconnection','destroy','serverHistory','getUser','fire','RealTimeCollaborationClient','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','set','removeFromReconnectionStack','_document','_pendingAction','_disconnectService','affectedSelectable','_waitUntilSynced','sessionCreatedAt','suppressErrorInCollaboration','round','lastSyncVersion','_decompressOperations','createUserMarkerOperations','getOperationAuthor','collaboration-missing-channelid','_shouldSendSelectionUpdate','type','_sendBufferedOperations','slice','listenTo','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_channelId','realtimecollaborationclient-init-session-connection-error','_sendBufferedOperationsDelayed','define','lastOperationAcceptedAt','10mUBMTF','addUser','_saveOperationInBuffer','move','_isConnected','Permissions','__className','addRootAttribute','from','addToReconnectionStack','_disconnectionOperations','config','_handleReceivedOperations','collaboration.channelId','createRoot','includes','connect','keys','entries','batch','_knownOperations','getDocumentDetails','cloud-services-internal-error:\x20Request\x20timeout.','size'];_0x3abc=function(){return _0x35d1cc;};return _0x3abc();}let K=0x1;class l extends _0x1ad366{static get[_0x51a186(0x239)](){return[_0x39d755,_0x5852c1,_0x341733,_0x558879,_0x1ff20a,_0x5e1c44];}static get[_0x51a186(0x25c)](){const _0x497b07=_0x51a186;return _0x497b07(0x1dd);}get[_0x51a186(0x1c5)](){const _0xc43413=_0x51a186;return this[_0xc43413(0x28f)]+this[_0xc43413(0x27d)];}get[_0x51a186(0x28f)](){const _0x231250=_0x51a186;return this[_0x231250(0x1da)][_0x231250(0x216)]-this[_0x231250(0x27d)];}get[_0x51a186(0x1e9)](){const _0x11d090=_0x51a186,_0x5d5103=this[_0x11d090(0x1da)][_0x11d090(0x1aa)]();for(let _0x3a6976=_0x5d5103[_0x11d090(0x1bb)]-0x1;_0x3a6976>=0x0;_0x3a6976--){const _0x2332a9=_0x5d5103[_0x3a6976];if(!this[_0x11d090(0x203)][_0x11d090(0x233)](_0x2332a9))return _0x2332a9[_0x11d090(0x297)]+0x1-this[_0x11d090(0x27d)];}return 0x0;}constructor(_0x4162a0){const _0x48ea37=_0x51a186;if(super(_0x4162a0),this[_0x48ea37(0x27d)]=0x0,this[_0x48ea37(0x1ce)]=null,this[_0x48ea37(0x1da)]=new _0x2d82b9(),this[_0x48ea37(0x1b7)][_0x48ea37(0x204)][_0x48ea37(0x1f7)](_0x48ea37(0x251),{}),this[_0x48ea37(0x1f4)]=this[_0x48ea37(0x1b7)][_0x48ea37(0x204)][_0x48ea37(0x243)](_0x48ea37(0x206)),!this[_0x48ea37(0x1f4)])throw new _0x41699e(_0x48ea37(0x1ed),this);const _0x4417e0=_0x4162a0[_0x48ea37(0x204)][_0x48ea37(0x243)](_0x48ea37(0x235))||_0x198047;this[_0x48ea37(0x217)]=new l[(_0x48ea37(0x29a))](_0x4417e0,this[_0x48ea37(0x1f4)]),this[_0x48ea37(0x1e1)]=this[_0x48ea37(0x1b7)][_0x48ea37(0x231)][_0x48ea37(0x242)],this[_0x48ea37(0x199)]=new _0x44403a(),this[_0x48ea37(0x21e)]=[],this[_0x48ea37(0x20d)]=new WeakSet(),this[_0x48ea37(0x232)]=new Set(),this[_0x48ea37(0x1df)](_0x48ea37(0x25e),!0x1),this[_0x48ea37(0x1df)](_0x48ea37(0x23e),!0x1),this[_0x48ea37(0x1e2)]=null,this[_0x48ea37(0x28e)]=!0x1,this[_0x48ea37(0x293)]=null,this[_0x48ea37(0x238)]=0x12c,this[_0x48ea37(0x28a)]=this[_0x48ea37(0x238)],this[_0x48ea37(0x1c6)]=null,this[_0x48ea37(0x203)]=new WeakSet(),this[_0x48ea37(0x1cf)]=new X(this[_0x48ea37(0x203)]);}[_0x51a186(0x227)](){const _0x163b79=_0x51a186,_0x26431a=this[_0x163b79(0x1b7)],_0x20fe03=_0x26431a[_0x163b79(0x241)][_0x163b79(0x243)](_0x1ff20a),_0x11dc06=_0x26431a[_0x163b79(0x241)][_0x163b79(0x243)](_0x39d755);this[_0x163b79(0x1f2)](_0x20fe03,_0x163b79(0x1ec),(_0x19fd45,_0x4c8f1d)=>{const _0x55ebba=_0x163b79,_0x55d2a6=_0x4c8f1d[0x0];_0x55d2a6[_0x55ebba(0x26a)]&&(_0x19fd45[_0x55ebba(0x29b)]=_0x20fe03[_0x55ebba(0x1db)](_0x55d2a6[_0x55ebba(0x26a)]),_0x19fd45[_0x55ebba(0x269)]()),null===_0x55d2a6[_0x55ebba(0x26a)]&&(_0x19fd45[_0x55ebba(0x29b)]=null,_0x19fd45[_0x55ebba(0x269)]());},{'priority':_0x163b79(0x286)}),this[_0x163b79(0x1f2)](_0x26431a[_0x163b79(0x231)][_0x163b79(0x242)][_0x163b79(0x295)],_0x163b79(0x26b),(_0x161bdb,_0x2d22d3)=>{const _0x569714=_0x163b79;_0x2d22d3[_0x569714(0x1c4)]&&this[_0x569714(0x27a)]();}),this[_0x163b79(0x1f2)](_0x26431a[_0x163b79(0x1ca)][_0x163b79(0x19a)],_0x163b79(0x277),()=>{const _0x427e37=_0x163b79;this[_0x427e37(0x27a)]();}),this[_0x163b79(0x1a8)](),_0x26431a[_0x163b79(0x231)]['on'](_0x163b79(0x23d),(_0x29daee,_0x423c4f)=>{const _0x3c1b86=_0x163b79,_0x26a47a=_0x423c4f[0x0];_0x26a47a[_0x3c1b86(0x283)]&&(this[_0x3c1b86(0x1fb)](_0x26a47a),this[_0x3c1b86(0x252)]()&&this[_0x3c1b86(0x1f6)]());}),this[_0x163b79(0x223)](),this[_0x163b79(0x279)](_0x163b79(0x248))['to'](_0x11dc06,_0x163b79(0x211),this,_0x163b79(0x23e),(_0x371e7f,_0x29177d)=>_0x163b79(0x1b3)===_0x371e7f&&!_0x29177d),this['on'](_0x163b79(0x26f),()=>{const _0x2fa799=_0x163b79;this[_0x2fa799(0x248)]?_0x26431a[_0x2fa799(0x246)](_0x2fa799(0x281)):_0x26431a[_0x2fa799(0x254)](_0x2fa799(0x281));}),this[_0x163b79(0x248)]?_0x26431a[_0x163b79(0x246)](_0x163b79(0x281)):_0x26431a[_0x163b79(0x254)](_0x163b79(0x281)),this[_0x163b79(0x1df)](_0x163b79(0x1fd),!0x1);}async[_0x51a186(0x1b8)](){const _0x3da00b=_0x51a186,_0x2eba86=this[_0x3da00b(0x1b7)][_0x3da00b(0x241)][_0x3da00b(0x243)](_0x5852c1),_0x27bbf5=this[_0x3da00b(0x1b7)][_0x3da00b(0x241)][_0x3da00b(0x243)](_0x39d755);try{this[_0x3da00b(0x25e)]=!0x0,_0x2eba86[_0x3da00b(0x249)](this[_0x3da00b(0x1f4)]);const _0x18dd68=await this[_0x3da00b(0x217)][_0x3da00b(0x1b8)](_0x27bbf5[_0x3da00b(0x247)],this[_0x3da00b(0x1e9)]);await this[_0x3da00b(0x298)](_0x18dd68)&&(this[_0x3da00b(0x25e)]=!0x1,this[_0x3da00b(0x255)]());const _0x3974a6=await this[_0x3da00b(0x217)][_0x3da00b(0x1a7)]();_0x2eba86[_0x3da00b(0x218)](this[_0x3da00b(0x1f4)],_0x3974a6),this[_0x3da00b(0x23b)](),this[_0x3da00b(0x1fd)]=!0x0;}catch(_0x419d2f){if(function(_0x159a44){const _0x568737=_0x3da00b;return _0x568737(0x19c)===_0x159a44[_0x568737(0x273)];}(_0x419d2f)&&this[_0x3da00b(0x1ce)])await this[_0x3da00b(0x290)]();else{if(function(_0x446f10){const _0x34b8be=_0x3da00b;return _0x34b8be(0x1d6)===_0x446f10[_0x34b8be(0x273)];}(_0x419d2f)){const _0x28fb7e=_0x37dd30(this[_0x3da00b(0x1b7)][_0x3da00b(0x264)],_0x3da00b(0x1f3));this[_0x3da00b(0x1cc)](_0x28fb7e);}else{if(!(_0x419d2f instanceof J))throw _0x419d2f;this[_0x3da00b(0x1cc)]();}}}}[_0x51a186(0x1d9)](){const _0x5c1b4d=_0x51a186,_0x328948=this[_0x5c1b4d(0x1b7)][_0x5c1b4d(0x241)][_0x5c1b4d(0x243)](_0x39d755),_0x4d4b4e=this[_0x5c1b4d(0x1b7)][_0x5c1b4d(0x241)][_0x5c1b4d(0x243)](_0x5852c1);this[_0x5c1b4d(0x1b7)][_0x5c1b4d(0x254)](_0x5c1b4d(0x24d)),_0x4d4b4e[_0x5c1b4d(0x296)][_0x5c1b4d(0x233)](this[_0x5c1b4d(0x1f4)])&&_0x4d4b4e[_0x5c1b4d(0x249)](this[_0x5c1b4d(0x1f4)]),_0x328948[_0x5c1b4d(0x1e0)](this),this[_0x5c1b4d(0x1e3)](),super[_0x5c1b4d(0x1d9)]();}async[_0x51a186(0x298)](_0x5de484){const _0xdbf848=_0x51a186;if(this[_0xdbf848(0x1ce)]!==_0x5de484[_0xdbf848(0x1ce)]&&this[_0xdbf848(0x1c6)]!==_0x5de484[_0xdbf848(0x26c)])throw new J();return this[_0xdbf848(0x1ce)]=_0x5de484[_0xdbf848(0x1ce)],this[_0xdbf848(0x282)]([],{..._0x5de484,'wereChangesApplied':!0x1,'data':_0x5de484[_0xdbf848(0x1c7)]},_0xdbf848(0x1b8));}async[_0x51a186(0x229)](_0x3bc90d,_0x89137f=!0x1){const _0x5c1767=_0x51a186,{connection:_0x59a365}=this[_0x5c1767(0x1b7)][_0x5c1767(0x241)][_0x5c1767(0x243)](_0x39d755);l[_0x5c1767(0x29a)][_0x5c1767(0x1a7)](_0x59a365,this[_0x5c1767(0x1f4)])[_0x5c1767(0x19b)](_0x1baac8=>this[_0x5c1767(0x299)](_0x1baac8))[_0x5c1767(0x280)](_0x4b6657=>{const _0x5e5726=_0x5c1767;this[_0x5e5726(0x1be)](_0x5e5726(0x1f5),_0x4b6657);}),this[_0x5c1767(0x1f2)](this[_0x5c1767(0x217)],_0x5c1767(0x222),this[_0x5c1767(0x205)][_0x5c1767(0x279)](this)),this[_0x5c1767(0x1f2)](this[_0x5c1767(0x217)],_0x5c1767(0x23f),(_0x2aeeab,_0x31c1d2)=>{const _0x4915e5=_0x5c1767;this[_0x4915e5(0x1be)](_0x4915e5(0x284),_0x31c1d2);}),this[_0x5c1767(0x1f2)](this[_0x5c1767(0x217)],_0x5c1767(0x25d),()=>{const _0x1cc81b=_0x5c1767;this[_0x1cc81b(0x1fd)]=!0x1;});const _0xaf9df2=this[_0x5c1767(0x1cf)][_0x5c1767(0x22e)](_0x3bc90d);this[_0x5c1767(0x25e)]=!0x0;const _0xa65821=await this[_0x5c1767(0x217)][_0x5c1767(0x209)](_0x59a365,this[_0x5c1767(0x25b)](_0x3bc90d),_0xaf9df2);if(this[_0x5c1767(0x1ce)]=_0xa65821[_0x5c1767(0x1ce)],_0x89137f){if(!_0xa65821[_0x5c1767(0x1a1)])return void this[_0x5c1767(0x1cc)]();this[_0x5c1767(0x25e)]=!0x1,this[_0x5c1767(0x255)](),this[_0x5c1767(0x1da)][_0x5c1767(0x24b)](),this[_0x5c1767(0x27d)]=_0xa65821[_0x5c1767(0x270)],this[_0x5c1767(0x1da)][_0x5c1767(0x216)]=this[_0x5c1767(0x27d)],await this[_0x5c1767(0x282)](_0x3bc90d,_0xa65821,_0x5c1767(0x1c2));}else await this[_0x5c1767(0x272)](_0xa65821,_0x3bc90d);this[_0x5c1767(0x23b)](),this[_0x5c1767(0x1fd)]=!0x0;}[_0x51a186(0x23b)](){const _0x1f4774=_0x51a186,_0x5cbcdc=this[_0x1f4774(0x1b7)][_0x1f4774(0x241)][_0x1f4774(0x243)](_0x5852c1),_0x4efb94=this[_0x1f4774(0x1b7)][_0x1f4774(0x241)][_0x1f4774(0x243)](_0x341733),_0x2cc569=_0x5cbcdc[_0x1f4774(0x296)][_0x1f4774(0x243)](this[_0x1f4774(0x1f4)]);_0x2cc569&&_0x2cc569[_0x1f4774(0x1bb)]>0x1?_0x4efb94[_0x1f4774(0x1eb)]():this[_0x1f4774(0x1f2)](_0x5cbcdc,_0x1f4774(0x19f)+this[_0x1f4774(0x1f4)],()=>{const _0x4f3ebb=_0x1f4774;0x2===_0x5cbcdc[_0x4f3ebb(0x296)][_0x4f3ebb(0x243)](this[_0x4f3ebb(0x1f4)])[_0x4f3ebb(0x1bb)]&&_0x4efb94[_0x4f3ebb(0x1eb)]();});}async[_0x51a186(0x205)](_0x1adb3d,_0x28d82a,_0x280b3c,_0x63627){const _0x32e95e=_0x51a186;if(!this[_0x32e95e(0x25e)]&&this[_0x32e95e(0x1e1)][_0x32e95e(0x216)]==_0x28d82a){const _0x2c1d4d=this[_0x32e95e(0x1ea)](_0x280b3c,_0x63627);await this[_0x32e95e(0x230)](_0x2c1d4d),this[_0x32e95e(0x267)](_0x2c1d4d,_0x28d82a,_0x280b3c[_0x32e95e(0x26c)])||this[_0x32e95e(0x1be)](_0x32e95e(0x21b));}}async[_0x51a186(0x290)](){const _0xeec2ab=_0x51a186;this[_0xeec2ab(0x1e3)]();const {locale:_0x3ca47}=this[_0xeec2ab(0x1b7)];let _0x286b74;try{_0x286b74=await this[_0xeec2ab(0x217)][_0xeec2ab(0x20e)]();}catch(_0x448cf1){const _0x52183f=_0x37dd30(_0x3ca47,_0xeec2ab(0x1ae));return void this[_0xeec2ab(0x1cc)](_0x52183f);}const _0x419ea0=_0x286b74[_0xeec2ab(0x288)]||_0x286b74[_0xeec2ab(0x1c9)];if(this[_0xeec2ab(0x1c6)]===_0x419ea0[_0xeec2ab(0x26c)])await this[_0xeec2ab(0x229)](this[_0xeec2ab(0x1b7)][_0xeec2ab(0x231)][_0xeec2ab(0x242)][_0xeec2ab(0x1a6)][_0xeec2ab(0x1aa)](),!0x0);else{const _0xab586e=_0x37dd30(_0x3ca47,_0xeec2ab(0x1bc));this[_0xeec2ab(0x1cc)](_0xab586e);}}[_0x51a186(0x1e3)](){const _0x1d82f9=_0x51a186;this[_0x1d82f9(0x217)][_0x1d82f9(0x259)](),this[_0x1d82f9(0x21e)]=[],clearTimeout(this[_0x1d82f9(0x293)]),this[_0x1d82f9(0x24e)](this[_0x1d82f9(0x217)]);}[_0x51a186(0x299)](_0x21b5ad){const _0x21b92c=_0x51a186,_0x11fa5b=this[_0x21b92c(0x1b7)][_0x21b92c(0x241)][_0x21b92c(0x243)](_0x5852c1);this[_0x21b92c(0x1f2)](_0x11fa5b,_0x21b92c(0x19f)+this[_0x21b92c(0x1f4)],(_0x2fa6c2,{session:_0x51fdff})=>{const _0x56d30c=_0x21b92c;if(_0x51fdff['id']===_0x11fa5b[_0x56d30c(0x294)]){_0x2fa6c2[_0x56d30c(0x257)]();const _0x5cb741=this[_0x56d30c(0x1b7)][_0x56d30c(0x241)][_0x56d30c(0x233)](_0x56d30c(0x21d))&&this[_0x56d30c(0x1b7)][_0x56d30c(0x241)][_0x56d30c(0x243)](_0x56d30c(0x21d));let _0x5e66e6=_0x51fdff[_0x56d30c(0x1b0)];_0x5cb741&&_0x5cb741[_0x56d30c(0x291)]&&(_0x5e66e6=_0x5e66e6[_0x56d30c(0x1d3)](_0x161199=>_0x56d30c(0x224)!==_0x161199)),this[_0x56d30c(0x1b7)][_0x56d30c(0x241)][_0x56d30c(0x243)](_0x56d30c(0x1fe))[_0x56d30c(0x256)](_0x5e66e6,this[_0x56d30c(0x1f4)]);}}),_0x11fa5b[_0x21b92c(0x218)](this[_0x21b92c(0x1f4)],_0x21b5ad);}[_0x51a186(0x1a8)](){const _0x3693ce=_0x51a186,_0x33f192=this[_0x3693ce(0x1b7)][_0x3693ce(0x1c7)][_0x3693ce(0x1df)];this[_0x3693ce(0x1b7)][_0x3693ce(0x1c7)][_0x3693ce(0x1df)]=(..._0x30850f)=>{const _0xc4b25d=_0x3693ce;if(!_0x30850f[_0x30850f[_0xc4b25d(0x1bb)]-0x1][_0xc4b25d(0x1e7)])throw new _0x41699e(_0xc4b25d(0x1c8),this);_0x33f192[_0xc4b25d(0x26d)](this[_0xc4b25d(0x1b7)][_0xc4b25d(0x1c7)],_0x30850f);};}[_0x51a186(0x223)](){const _0x20c4e0=_0x51a186;this[_0x20c4e0(0x1b7)][_0x20c4e0(0x1c7)]['on'](_0x20c4e0(0x227),(_0x2d1c50,[_0x18a1c7])=>{const _0x4870cf=_0x20c4e0;if(this[_0x4870cf(0x1e1)][_0x4870cf(0x216)])throw new _0x41699e(_0x4870cf(0x260),this);_0x2d1c50[_0x4870cf(0x269)](),this[_0x4870cf(0x287)]();const _0x8ce0b2=this[_0x4870cf(0x1b7)][_0x4870cf(0x204)][_0x4870cf(0x243)](_0x4870cf(0x274)),_0x3ee864=this[_0x4870cf(0x28d)](_0x18a1c7,_0x8ce0b2);0x0==_0x3ee864[_0x4870cf(0x1bb)]&&_0x3ee864[_0x4870cf(0x250)](new _0x182927(0x0)),_0x2d1c50[_0x4870cf(0x29b)]=this[_0x4870cf(0x229)](_0x3ee864)[_0x4870cf(0x19b)](()=>{const _0x556060=_0x4870cf;this[_0x556060(0x1b7)][_0x556060(0x241)][_0x556060(0x243)](_0x39d755)[_0x556060(0x202)](this),this[_0x556060(0x1b7)][_0x556060(0x1c7)][_0x556060(0x1dc)](_0x556060(0x1d0));})[_0x4870cf(0x280)](_0x364e65=>this[_0x4870cf(0x1be)](_0x4870cf(0x1d5),_0x364e65))[_0x4870cf(0x212)](()=>this[_0x4870cf(0x255)]());},{'priority':_0x20c4e0(0x286)}),this[_0x20c4e0(0x1b7)]['on'](_0x20c4e0(0x21f),async(_0x45dee3,[_0x48e494,_0x3c29a1])=>{const _0x2cd297=_0x20c4e0;_0x45dee3[_0x2cd297(0x269)]();const _0x39d0d8=this[_0x2cd297(0x1b7)][_0x2cd297(0x231)][_0x2cd297(0x242)][_0x2cd297(0x1b2)](_0x48e494);if(!this[_0x2cd297(0x232)][_0x2cd297(0x233)](_0x48e494)){const _0x643272=_0x3c29a1&&_0x3c29a1[_0x2cd297(0x1c7)]?_0x3c29a1[_0x2cd297(0x1c7)]:'',_0x1e7894=_0x3c29a1&&_0x3c29a1[_0x2cd297(0x292)]?_0x3c29a1[_0x2cd297(0x292)]:{};await this[_0x2cd297(0x19e)](_0x48e494,_0x643272,_0x1e7894);}this[_0x2cd297(0x1b7)][_0x2cd297(0x231)][_0x2cd297(0x1bd)]({'isUndoable':!0x1},()=>{const _0x5d91ef=_0x2cd297;_0x39d0d8[_0x5d91ef(0x28c)]=!0x0,this[_0x5d91ef(0x1b7)][_0x5d91ef(0x231)][_0x5d91ef(0x242)][_0x5d91ef(0x262)][_0x5d91ef(0x289)](_0x39d0d8);});},{'priority':_0x20c4e0(0x286)});}async[_0x51a186(0x230)](_0x357e64){const _0x367f2c=_0x51a186,_0x256f77=this[_0x367f2c(0x1b7)][_0x367f2c(0x241)][_0x367f2c(0x243)](_0x1ff20a),{connection:_0x44a2c4}=this[_0x367f2c(0x1b7)][_0x367f2c(0x241)][_0x367f2c(0x243)](_0x39d755),_0x3f94db=new Set();for(const _0x135b3b of _0x357e64){const _0x5a67a7=_0x135b3b[_0x367f2c(0x26a)];_0x5a67a7&&!_0x256f77[_0x367f2c(0x1db)](_0x5a67a7)&&_0x3f94db[_0x367f2c(0x225)](_0x5a67a7);}if(0x0===_0x3f94db[_0x367f2c(0x210)])return;const _0x235549=await _0x14df29[_0x367f2c(0x1b5)](_0x44a2c4,Array[_0x367f2c(0x201)](_0x3f94db));for(const _0x53a835 of _0x235549)_0x256f77[_0x367f2c(0x1db)](_0x53a835['id'])||_0x256f77[_0x367f2c(0x1fa)](_0x53a835);}[_0x51a186(0x28d)](_0x314630,_0x5d96c7={}){const _0x129554=_0x51a186,_0x20dd14=this[_0x129554(0x1b7)][_0x129554(0x231)],_0x1f107a=[];let _0x1b5d02=0x0;const _0x88d8e9=_0x129554(0x265)==typeof _0x314630?{'main':_0x314630}:_0x314630;for(const _0x22cead of Object[_0x129554(0x20a)](_0x88d8e9)){if(!this[_0x129554(0x1e1)][_0x129554(0x263)][_0x129554(0x233)](_0x22cead))throw new _0x41699e(_0x129554(0x276),this);const _0x3fcd39=this[_0x129554(0x1b7)][_0x129554(0x1c7)][_0x129554(0x236)](_0x88d8e9[_0x22cead]),_0x3d0916=this[_0x129554(0x1e1)][_0x129554(0x1b2)](_0x22cead),_0x15be09=new _0x34caed(_0x20dd14[_0x129554(0x1bf)](_0x3d0916,0x0),_0x3fcd39,_0x1b5d02++);_0x1f107a[_0x129554(0x250)](_0x15be09);for(const [_0x50f721,_0x141412]of _0x3fcd39[_0x129554(0x24c)]){const _0x277664=_0x20dd14[_0x129554(0x253)](_0x20dd14[_0x129554(0x22c)](_0x3d0916,_0x141412[_0x129554(0x19d)][_0x129554(0x221)][_0x129554(0x1f1)]()),_0x20dd14[_0x129554(0x22c)](_0x3d0916,_0x141412[_0x129554(0x219)][_0x129554(0x221)][_0x129554(0x1f1)]())),_0x50d1c1=new _0x56995f(_0x50f721,null,_0x277664,_0x20dd14[_0x129554(0x24c)],!0x0,_0x1b5d02++);_0x1f107a[_0x129554(0x250)](_0x50d1c1);}}if(_0x5d96c7)for(const [_0x1d7c22,_0x4d5157]of Object[_0x129554(0x20b)](_0x5d96c7)){const _0x1fe2f1=_0x20dd14[_0x129554(0x242)][_0x129554(0x1b2)](_0x1d7c22);if(!_0x1fe2f1)throw new _0x41699e(_0x129554(0x1d1),null);for(const [_0x57d990,_0x6b4ba6]of Object[_0x129554(0x20b)](_0x4d5157))if(null!==_0x6b4ba6){const _0x3e7e21=new _0xc13341(_0x1fe2f1,_0x57d990,null,_0x6b4ba6,_0x1b5d02++);_0x1f107a[_0x129554(0x250)](_0x3e7e21);}}return _0x1f107a;}async[_0x51a186(0x19e)](_0x32fbe1,_0x44f16d,_0x26ee23){const _0x4e3be0=_0x51a186;this[_0x4e3be0(0x28d)]({[_0x32fbe1]:_0x44f16d},{[_0x32fbe1]:_0x26ee23})[_0x4e3be0(0x1a2)]((_0x1d146b,_0x53316b)=>{const _0x1144ed=_0x4e3be0;_0x1d146b[_0x1144ed(0x297)]=this[_0x1144ed(0x1e1)][_0x1144ed(0x216)]+_0x53316b,_0x1d146b[_0x1144ed(0x1d7)]=!0x0,this[_0x1144ed(0x1fb)](_0x1d146b);}),this[_0x4e3be0(0x1f6)](),await this[_0x4e3be0(0x1e5)]();}async[_0x51a186(0x272)](_0xac6fff,_0x453422){const _0x46c228=_0x51a186;let _0x42e62c;this[_0x46c228(0x27d)]=_0xac6fff[_0x46c228(0x270)];const _0x11082f=_0xac6fff[_0x46c228(0x1a1)]&&!_0xac6fff[_0x46c228(0x261)],_0x10575b=_0x11082f?0x0:_0xac6fff[_0x46c228(0x1c7)][_0x46c228(0x297)];if(_0x453422[_0x46c228(0x1a2)](_0xcfce5a=>{const _0x25db70=_0x46c228;_0xcfce5a[_0x25db70(0x1d7)]=!0x0,_0xcfce5a[_0x25db70(0x1a4)]=_0xac6fff[_0x25db70(0x1e6)],_0xcfce5a[_0x25db70(0x26a)]=null;}),_0x11082f)_0x42e62c=_0x453422,this[_0x46c228(0x226)](_0x42e62c,_0x11082f);else{if(_0xac6fff[_0x46c228(0x261)]){const _0x1cce1e=this[_0x46c228(0x28d)](_0xac6fff[_0x46c228(0x261)]);this[_0x46c228(0x1e1)][_0x46c228(0x1a6)][_0x46c228(0x216)]=-_0x1cce1e[_0x46c228(0x1bb)],_0x1cce1e[_0x46c228(0x1a2)](_0x117c1b=>{const _0x3e1843=_0x46c228;_0x117c1b[_0x3e1843(0x297)]-=_0x1cce1e[_0x3e1843(0x1bb)],_0x117c1b[_0x3e1843(0x1a4)]=_0xac6fff[_0x3e1843(0x1e6)],_0x117c1b[_0x3e1843(0x1d7)]=!0x0,_0x117c1b[_0x3e1843(0x26a)]=null;}),this[_0x46c228(0x226)](_0x1cce1e,!0x0),this[_0x46c228(0x1da)][_0x46c228(0x216)]=-_0x1cce1e[_0x46c228(0x1bb)]+this[_0x46c228(0x27d)],this[_0x46c228(0x214)](_0x1cce1e);}this[_0x46c228(0x1e1)][_0x46c228(0x1a6)][_0x46c228(0x216)]=_0x10575b,_0x42e62c=this[_0x46c228(0x1ea)](_0xac6fff[_0x46c228(0x1c7)],_0xac6fff[_0x46c228(0x1af)]),await this[_0x46c228(0x230)](_0x42e62c),this[_0x46c228(0x226)](_0x42e62c,_0x11082f);}_0xac6fff[_0x46c228(0x26c)]&&(this[_0x46c228(0x1cf)][_0x46c228(0x1ad)](_0x42e62c,_0xac6fff[_0x46c228(0x26c)]),this[_0x46c228(0x1c6)]=_0xac6fff[_0x46c228(0x26c)]),this[_0x46c228(0x1da)][_0x46c228(0x216)]=_0x10575b+this[_0x46c228(0x27d)],this[_0x46c228(0x214)](_0x42e62c),_0x453422[_0x46c228(0x1d3)](_0x1bb8f9=>{const _0x44552b=_0x46c228,_0x599d21=this[_0x44552b(0x23c)](_0x1bb8f9);return _0x599d21&&!this[_0x44552b(0x232)][_0x44552b(0x233)](_0x599d21);})[_0x46c228(0x1a2)]((_0x11dbf8,_0x4b2366)=>{const _0x1b6961=_0x46c228;_0x11dbf8[_0x1b6961(0x297)]=this[_0x1b6961(0x1e1)][_0x1b6961(0x216)]+_0x4b2366,this[_0x1b6961(0x1fb)](_0x11dbf8);}),this[_0x46c228(0x252)]()?(this[_0x46c228(0x28a)]=0x0,this[_0x46c228(0x1f6)](!0x0),await this[_0x46c228(0x1e5)]()):(this[_0x46c228(0x25e)]=!0x1,this[_0x46c228(0x255)]());}[_0x51a186(0x1be)](_0x1eb1f4,_0x464637){const _0x691d5a=_0x51a186;throw this[_0x691d5a(0x25e)]=!0x0,_0x464637&&console[_0x691d5a(0x23f)](_0x464637),new _0x41699e(_0x1eb1f4,this[_0x691d5a(0x1b7)]);}[_0x51a186(0x1fb)](_0x496afb){const _0x4499af=_0x51a186;this[_0x4499af(0x20d)][_0x4499af(0x233)](_0x496afb)||(this[_0x4499af(0x20d)][_0x4499af(0x225)](_0x496afb),this[_0x4499af(0x21e)][_0x4499af(0x250)](_0x496afb),this[_0x4499af(0x1e2)]||_0x4499af(0x23a)==_0x496afb[_0x4499af(0x1ef)]&&!_0x496afb[_0x4499af(0x22d)]||this[_0x4499af(0x287)]());}[_0x51a186(0x1f6)](_0x523f41=!0x1){const _0x34e81a=_0x51a186;!_0x523f41&&this[_0x34e81a(0x25e)]||(this[_0x34e81a(0x25e)]=!0x0,clearTimeout(this[_0x34e81a(0x293)]),this[_0x34e81a(0x293)]=setTimeout(()=>{const _0x4f5a30=_0x34e81a;this[_0x4f5a30(0x1f0)]()[_0x4f5a30(0x19b)](_0x1cc767=>{const _0xff33b0=_0x4f5a30;_0x1cc767&&(this[_0xff33b0(0x255)](),this[_0xff33b0(0x25e)]=!0x1);})[_0x4f5a30(0x280)](_0xb5f351=>{const _0xca101f=_0x4f5a30;if(this[_0xca101f(0x255)](),this[_0xca101f(0x25e)]=!0x1,!function(_0x494cc9){const _0x17ddd0=_0xca101f;return _0x494cc9[_0x17ddd0(0x21c)][_0x17ddd0(0x1b9)](_0x17ddd0(0x28b))||_0x494cc9[_0x17ddd0(0x21c)][_0x17ddd0(0x1b9)](_0x17ddd0(0x1de))||_0x494cc9[_0x17ddd0(0x21c)][_0x17ddd0(0x1b9)](_0x17ddd0(0x20f));}(_0xb5f351))throw _0xb5f351;});},this[_0x34e81a(0x28a)]));}[_0x51a186(0x1e5)](){return new Promise(_0x5e336f=>{const _0x6df09=_0x399f;this['on'](_0x6df09(0x24f),()=>{_0x5e336f();});});}async[_0x51a186(0x1f0)](){const _0x2ed5c9=_0x51a186,_0x192dc2=this[_0x2ed5c9(0x1b7)][_0x2ed5c9(0x241)][_0x2ed5c9(0x243)](_0x341733);if(this[_0x2ed5c9(0x1ee)]()&&(_0x192dc2[_0x2ed5c9(0x1eb)](),this[_0x2ed5c9(0x28e)]=!0x1),!this[_0x2ed5c9(0x252)]())return!0x0;const _0x3b1852=[...this[_0x2ed5c9(0x21e)]];for(const _0x226649 of _0x3b1852)_0x226649[_0x2ed5c9(0x22f)]=this[_0x2ed5c9(0x1e1)][_0x2ed5c9(0x1a6)][_0x2ed5c9(0x1a3)](_0x226649);const _0x1c756b=this[_0x2ed5c9(0x1cf)][_0x2ed5c9(0x22e)](_0x3b1852),_0x4fd6ad=K++,_0x6ddee3=this[_0x2ed5c9(0x25b)](_0x3b1852),_0x38c895=await this[_0x2ed5c9(0x217)][_0x2ed5c9(0x213)](_0x6ddee3,_0x6ddee3[_0x2ed5c9(0x297)],_0x1c756b);try{return await this[_0x2ed5c9(0x282)](_0x3b1852,_0x38c895,_0x4fd6ad);}catch(_0x3acb6c){return this[_0x2ed5c9(0x1be)](_0x2ed5c9(0x240),_0x3acb6c);}}async[_0x51a186(0x282)](_0xc323da,_0x18d6bf,_0x4d6c0e){const _0x59b4a0=_0x51a186;if(_0x59b4a0(0x23f)in _0x18d6bf)throw _0x18d6bf[_0x59b4a0(0x23f)];let _0x5cf746=!0x1;if(_0x18d6bf[_0x59b4a0(0x1a1)]){_0x18d6bf[_0x59b4a0(0x26c)]&&(this[_0x59b4a0(0x1c6)]=_0x18d6bf[_0x59b4a0(0x26c)]),this[_0x59b4a0(0x21e)]=this[_0x59b4a0(0x21e)][_0x59b4a0(0x1d3)](_0x41da10=>!_0xc323da[_0x59b4a0(0x208)](_0x41da10));for(const _0xd9238 of _0xc323da)_0xd9238[_0x59b4a0(0x1a4)]=_0x59b4a0(0x1f8)in _0x18d6bf&&_0x18d6bf[_0x59b4a0(0x1f8)]||void 0x0;Q(_0xc323da,_0x18d6bf[_0x59b4a0(0x216)]-_0xc323da[_0x59b4a0(0x1bb)]),this[_0x59b4a0(0x214)](_0xc323da);const _0x21adaf=_0xc323da[_0x59b4a0(0x1d3)](_0x58e47a=>{const _0x293051=_0x59b4a0;if(!_0x58e47a[_0x293051(0x1d7)])return!0x1;const _0x2ea427=this[_0x293051(0x23c)](_0x58e47a);return _0x2ea427&&!this[_0x293051(0x232)][_0x293051(0x233)](_0x2ea427);});Q(_0x21adaf,this[_0x59b4a0(0x1e1)][_0x59b4a0(0x216)]),this[_0x59b4a0(0x226)](_0x21adaf),_0x5cf746=!0x0,this[_0x59b4a0(0x28a)]=this[_0x59b4a0(0x238)];}else{const _0x3ffecf=this[_0x59b4a0(0x1ea)](_0x18d6bf[_0x59b4a0(0x1c7)],_0x18d6bf[_0x59b4a0(0x1af)])[_0x59b4a0(0x1d3)](_0x217f5e=>_0x217f5e[_0x59b4a0(0x297)]>=this[_0x59b4a0(0x28f)]);_0x3ffecf[_0x59b4a0(0x1a2)](_0x305fa7=>this[_0x59b4a0(0x258)](_0x305fa7)),this[_0x59b4a0(0x21e)]=this[_0x59b4a0(0x21e)][_0x59b4a0(0x1d3)](_0x351777=>!_0x351777[_0x59b4a0(0x1d7)]||!this[_0x59b4a0(0x232)][_0x59b4a0(0x233)](this[_0x59b4a0(0x23c)](_0x351777))),this[_0x59b4a0(0x21e)][_0x59b4a0(0x1bb)]&&Q(this[_0x59b4a0(0x21e)],this[_0x59b4a0(0x21e)][0x0][_0x59b4a0(0x297)]),await this[_0x59b4a0(0x230)](_0x3ffecf),_0x5cf746=this[_0x59b4a0(0x267)](_0x3ffecf,_0x18d6bf[_0x59b4a0(0x216)],_0x18d6bf[_0x59b4a0(0x26c)]),this[_0x59b4a0(0x28a)]=Math[_0x59b4a0(0x1e8)](this[_0x59b4a0(0x28a)]/0x2);}return _0x5cf746?!this[_0x59b4a0(0x252)]()||(this[_0x59b4a0(0x1f6)](!0x0),!0x1):this[_0x59b4a0(0x1be)](_0x59b4a0(0x22b));}[_0x51a186(0x267)](_0x2bf717,_0x480825,_0x502324){const _0x352d2e=_0x51a186;try{const _0x18c88b={'document':this[_0x352d2e(0x1e1)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5718d7,operationsB:_0x51d6c7,originalOperations:_0x3b489b}=_0x546cdc(_0x2bf717,this[_0x352d2e(0x21e)],_0x18c88b);Q(_0x5718d7,this[_0x352d2e(0x1e1)][_0x352d2e(0x216)]),Q(_0x51d6c7,_0x480825);for(const _0x1b7a95 of _0x5718d7){const _0x22e9e4=_0x3b489b[_0x352d2e(0x243)](_0x1b7a95);_0x1b7a95[_0x352d2e(0x26a)]=_0x22e9e4?_0x22e9e4[_0x352d2e(0x26a)]:null;}_0x502324&&(this[_0x352d2e(0x1cf)][_0x352d2e(0x1ad)](_0x2bf717,_0x502324),this[_0x352d2e(0x1c6)]=_0x502324),this[_0x352d2e(0x21e)]=[..._0x51d6c7],this[_0x352d2e(0x226)](_0x5718d7),this[_0x352d2e(0x214)](_0x2bf717);}catch(_0x2682cc){return console[_0x352d2e(0x23f)](_0x2682cc),!0x1;}return!0x0;}[_0x51a186(0x226)](_0x1820a9,_0x4daa6a=!0x1){const _0x105081=_0x51a186;this[_0x105081(0x1b7)][_0x105081(0x231)][_0x105081(0x1bd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f0c31=>{const _0x45011c=_0x105081;for(const _0x140069 of _0x1820a9)this[_0x45011c(0x20d)][_0x45011c(0x225)](_0x140069),this[_0x45011c(0x258)](_0x140069),_0x4f0c31[_0x45011c(0x20c)][_0x45011c(0x268)](_0x140069),this[_0x45011c(0x1b7)][_0x45011c(0x231)][_0x45011c(0x23d)](_0x140069);});}[_0x51a186(0x258)](_0x11b6bd){const _0x52797c=_0x51a186,_0x2a5836=this[_0x52797c(0x23c)](_0x11b6bd);_0x2a5836&&this[_0x52797c(0x232)][_0x52797c(0x225)](_0x2a5836);}[_0x51a186(0x23c)](_0x4d24fe){const _0x2798f5=_0x51a186;let _0x5266bb,_0x54f80b;switch(_0x4d24fe[_0x2798f5(0x1ef)]){case _0x2798f5(0x278):_0x5266bb=_0x4d24fe[_0x2798f5(0x1ba)][_0x2798f5(0x1b6)];break;case _0x2798f5(0x23a):if(_0x54f80b=_0x4d24fe[_0x2798f5(0x245)],!_0x54f80b)return null;_0x5266bb=_0x54f80b[_0x2798f5(0x1b6)];break;case _0x2798f5(0x200):_0x5266bb=_0x4d24fe[_0x2798f5(0x1b6)];break;case _0x2798f5(0x22a):_0x5266bb=_0x4d24fe[_0x2798f5(0x1e4)];break;case _0x2798f5(0x1fc):_0x5266bb=_0x4d24fe[_0x2798f5(0x27f)][_0x2798f5(0x1b6)];break;default:return null;}return _0x5266bb[_0x2798f5(0x234)];}[_0x51a186(0x214)](_0xfd08bc){const _0xa2a7c7=_0x51a186;_0xfd08bc[_0xa2a7c7(0x1a2)](_0x12b337=>{const _0x5840c0=_0xa2a7c7,_0x369fc0=_0x12b337[_0x5840c0(0x1d4)]();_0x369fc0[_0x5840c0(0x26a)]=_0x12b337[_0x5840c0(0x26a)],_0x369fc0[_0x5840c0(0x1d7)]=!!_0x12b337[_0x5840c0(0x1d7)],_0x369fc0[_0x5840c0(0x1a4)]=_0x12b337[_0x5840c0(0x1a4)],_0x369fc0[_0x5840c0(0x297)]+=this[_0x5840c0(0x27d)],_0x12b337[_0x5840c0(0x1d8)]&&this[_0x5840c0(0x203)][_0x5840c0(0x225)](_0x369fc0),this[_0x5840c0(0x1da)][_0x5840c0(0x268)](_0x369fc0);});}[_0x51a186(0x1cc)](_0x5eaaca){const _0x4ae35c=_0x51a186,_0x46a2c8=this[_0x4ae35c(0x1b7)][_0x4ae35c(0x241)][_0x4ae35c(0x243)](_0x4ae35c(0x25a)),_0x1c45e7=this[_0x4ae35c(0x1b7)][_0x4ae35c(0x264)];_0x5eaaca||(_0x5eaaca=_0x37dd30(_0x1c45e7,_0x4ae35c(0x27b))),_0x46a2c8[_0x4ae35c(0x1c1)](_0x5eaaca,{'title':_0x37dd30(_0x1c45e7,_0x4ae35c(0x1d2)),'namespace':_0x4ae35c(0x1a5)}),this[_0x4ae35c(0x23e)]=!0x0,clearTimeout(this[_0x4ae35c(0x293)]),this[_0x4ae35c(0x21e)]=[],this[_0x4ae35c(0x1b7)][_0x4ae35c(0x241)][_0x4ae35c(0x243)](_0x39d755)[_0x4ae35c(0x1d9)]();}[_0x51a186(0x287)](){const _0x4de189=_0x51a186;this[_0x4de189(0x1e2)]||(this[_0x4de189(0x1e2)]=this[_0x4de189(0x1b7)][_0x4de189(0x241)][_0x4de189(0x243)](_0x558879)[_0x4de189(0x225)](_0x37dd30(this[_0x4de189(0x1b7)][_0x4de189(0x264)],_0x4de189(0x285))));}[_0x51a186(0x255)](){const _0x5dcb02=_0x51a186;this[_0x5dcb02(0x1e2)]&&(this[_0x5dcb02(0x1b7)][_0x5dcb02(0x241)][_0x5dcb02(0x243)](_0x558879)[_0x5dcb02(0x266)](this[_0x5dcb02(0x1e2)]),this[_0x5dcb02(0x1e2)]=null);}[_0x51a186(0x25b)](_0x2fcfb4){const _0x2301ed=_0x51a186,_0x9252fb=_0x2fcfb4[_0x2301ed(0x244)](_0x2bcd58=>_0x2bcd58[_0x2301ed(0x1cd)]());return this[_0x2301ed(0x199)][_0x2301ed(0x220)](_0x9252fb);}[_0x51a186(0x1ea)](_0x1aff57,_0x1bd985){const _0x3f3805=_0x51a186;return this[_0x3f3805(0x199)][_0x3f3805(0x1b1)](_0x1aff57)[_0x3f3805(0x244)]((_0x7ab69b,_0x108be4)=>{const _0x86a4c0=_0x3f3805,_0x2f7588=_0x86a4c0(0x227)==_0x1bd985[_0x108be4][_0x86a4c0(0x1ef)];if(_0x86a4c0(0x27c)==_0x7ab69b[_0x86a4c0(0x1ff)]){const _0xfdc8ff=_0x7ab69b[_0x86a4c0(0x1ba)][_0x86a4c0(0x1b6)];!this[_0x86a4c0(0x1e1)][_0x86a4c0(0x1b2)](_0xfdc8ff)&&(this[_0x86a4c0(0x1e1)][_0x86a4c0(0x207)](_0x86a4c0(0x21a),_0xfdc8ff)[_0x86a4c0(0x1a0)]=!0x1);}const _0x40a98e=_0x21ef6a[_0x86a4c0(0x24a)](_0x7ab69b,this[_0x86a4c0(0x1e1)]);return _0x40a98e[_0x86a4c0(0x22f)]=_0x7ab69b[_0x86a4c0(0x22f)],_0x40a98e[_0x86a4c0(0x1d7)]=_0x2f7588,_0x40a98e[_0x86a4c0(0x26a)]=_0x2f7588?null:_0x1bd985[_0x108be4][_0x86a4c0(0x1ab)],_0x40a98e[_0x86a4c0(0x1d8)]=_0x86a4c0(0x1c3)===_0x1bd985[_0x108be4][_0x86a4c0(0x1ef)],_0x40a98e[_0x86a4c0(0x1a4)]=_0x1bd985[_0x108be4][_0x86a4c0(0x1a4)],_0x40a98e;});}[_0x51a186(0x27a)](){const _0x23a4a2=_0x51a186;this[_0x23a4a2(0x28e)]=!0x0,this[_0x23a4a2(0x1ee)]()?this[_0x23a4a2(0x1f6)]():this[_0x23a4a2(0x28e)]=!0x1;}[_0x51a186(0x1ee)](){const _0x34d242=_0x51a186,_0x5f5162=this[_0x34d242(0x1b7)][_0x34d242(0x241)][_0x34d242(0x243)](_0x5852c1)[_0x34d242(0x296)][_0x34d242(0x243)](this[_0x34d242(0x1f4)]);return!this[_0x34d242(0x1b7)][_0x34d242(0x1a9)]&&!!_0x5f5162&&_0x5f5162[_0x34d242(0x1bb)]>0x1&&this[_0x34d242(0x28e)];}[_0x51a186(0x252)](){const _0x443793=_0x51a186;return this[_0x443793(0x21e)][_0x443793(0x1bb)]>0x0||this[_0x443793(0x1ee)]();}}l[_0x51a186(0x29a)]=_0x29f087;export default l;class J extends Error{}function Q(_0x159804,_0x5c7aca){const _0x9275c2=_0x51a186;for(const _0x57331b of _0x159804)_0x57331b[_0x9275c2(0x297)]=_0x5c7aca++;}class X{constructor(_0x1fa336){const _0xde68f3=_0x51a186;this[_0xde68f3(0x237)]=_0x1fa336,this[_0xde68f3(0x25f)]=new WeakMap();}[_0x51a186(0x22e)](_0x5c6e45){const _0x2c809d=_0x51a186;let _0x3a9928=_0x5c6e45[_0x2c809d(0x1bb)];for(;_0x3a9928--;){const _0x3d1232=_0x5c6e45[_0x3a9928];if(!this[_0x2c809d(0x237)][_0x2c809d(0x233)](_0x3d1232)){if(!this[_0x2c809d(0x25f)][_0x2c809d(0x233)](_0x3d1232)){const _0x3fe0c7=_0x199709()[_0x2c809d(0x1f1)](0x1,0x12);this[_0x2c809d(0x25f)][_0x2c809d(0x1df)](_0x3d1232,_0x3fe0c7);}return this[_0x2c809d(0x25f)][_0x2c809d(0x243)](_0x3d1232);}}}[_0x51a186(0x1ad)](_0x41e18a,_0x250d78){const _0x3e9429=_0x51a186;if(!_0x250d78)return;let _0x3593a1=_0x41e18a[_0x3e9429(0x1bb)];for(;_0x3593a1--;){const _0x15437f=_0x41e18a[_0x3593a1];this[_0x3e9429(0x237)][_0x3e9429(0x233)](_0x15437f)||this[_0x3e9429(0x25f)][_0x3e9429(0x1df)](_0x15437f,_0x250d78);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x38c9c1=_0x4b4f;(function(_0x1c65aa,_0x235359){const _0x39b701=_0x4b4f,_0x5723d2=_0x1c65aa();while(!![]){try{const _0x4b251e=-parseInt(_0x39b701(0xbd))/0x1*(parseInt(_0x39b701(0xc0))/0x2)+-parseInt(_0x39b701(0xd8))/0x3*(-parseInt(_0x39b701(0xcd))/0x4)+parseInt(_0x39b701(0xee))/0x5*(parseInt(_0x39b701(0xb9))/0x6)+parseInt(_0x39b701(0xdc))/0x7+parseInt(_0x39b701(0xbe))/0x8+parseInt(_0x39b701(0xcc))/0x9*(-parseInt(_0x39b701(0xdd))/0xa)+parseInt(_0x39b701(0xd9))/0xb*(-parseInt(_0x39b701(0xd1))/0xc);if(_0x4b251e===_0x235359)break;else _0x5723d2['push'](_0x5723d2['shift']());}catch(_0x355624){_0x5723d2['push'](_0x5723d2['shift']());}}}(_0x27a9,0xbd737));function _0x4b4f(_0x562bbe,_0x501fd3){const _0x27a96b=_0x27a9();return _0x4b4f=function(_0x4b4f15,_0x45744b){_0x4b4f15=_0x4b4f15-0xb8;let _0x268ba5=_0x27a96b[_0x4b4f15];return _0x268ba5;},_0x4b4f(_0x562bbe,_0x501fd3);}import{ContextPlugin as _0x3d0efd}from'ckeditor5/src/core.js';import{Collection as _0xd26b2e,CKEditorError as _0x5bd46c}from'ckeditor5/src/utils.js';import _0x481d97 from'./websocketgateway.js';import{Users as _0x2bdc36}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x27a9(){const _0x35cc89=['fire','remove','_createUser','get','_uniqueUsersCount','values','connected','mySessionId','register','set','_handleSessionRemove','defineMe','plugins','Sessions','delete','assign','5pLZJXg','forEach','role','sessions-unregister-not-exist','allConnectedUsers','clear','size','sessions-register-already-registered','state','7094082OypoBY','getUser','requires','connection','12eLnNBi','10834688jXhRWC','pluginName','45320pUMyqt','sessionId','context','orderNumber','stopListening','getUserRole','sessionAdd:','channelConnectedUsers','channelSessions','_registeredSessions','_handleSessionAdd','getUserBySessionId','9tqlbeB','4weTCRJ','user','listenTo','init','120iRsVcC','addUser','_users','has','unregister','isMe','add','4002465WBPvnJ','3113077omTreP','getUserSessions','change:state','2110234ynLxwK','2943190RzEsLj'];_0x27a9=function(){return _0x35cc89;};return _0x27a9();}export default class r extends _0x3d0efd{static get[_0x38c9c1(0xbf)](){const _0x2d9a22=_0x38c9c1;return _0x2d9a22(0xeb);}static get[_0x38c9c1(0xbb)](){return[_0x481d97,_0x2bdc36];}constructor(_0x47abcb){const _0xc5ec42=_0x38c9c1;super(_0x47abcb),this[_0xc5ec42(0xc8)]=new Map(),this[_0xc5ec42(0xc7)]=new Map(),this[_0xc5ec42(0xf2)]=new _0xd26b2e(),this[_0xc5ec42(0xc9)]=new Map(),this[_0xc5ec42(0xe2)]=0x0,this[_0xc5ec42(0xd3)]=this[_0xc5ec42(0xc2)][_0xc5ec42(0xea)][_0xc5ec42(0xe1)](_0x2bdc36);}[_0x38c9c1(0xd0)](){const _0x38509f=_0x38c9c1,_0x363f60=this[_0x38509f(0xc2)][_0x38509f(0xea)][_0x38509f(0xe1)](_0x481d97);this[_0x38509f(0xcf)](_0x363f60,_0x38509f(0xdb),(_0x380ba1,_0x2dfc5c,_0x2e80c4)=>{const _0x591028=_0x38509f;if(_0x591028(0xe4)!==_0x2e80c4)this[_0x591028(0xc8)][_0x591028(0xef)](_0xf4a467=>_0xf4a467[_0x591028(0xf3)]()),this[_0x591028(0xc7)][_0x591028(0xef)](_0x43554e=>_0x43554e[_0x591028(0xf3)]()),this[_0x591028(0xf2)][_0x591028(0xf3)]();else{for(const [_0x4629dd,_0x3314dd]of this[_0x591028(0xc9)])for(const _0x146c3e of _0x3314dd)this[_0x591028(0xca)](_0x4629dd,_0x146c3e);}}),this[_0x38509f(0xe0)](_0x363f60[_0x38509f(0xbc)]['me'],!0x0);}[_0x38c9c1(0xe6)](_0x5cd702,_0x5883d6){const _0x1ac652=_0x38c9c1;if(this[_0x1ac652(0xc9)][_0x1ac652(0xd4)](_0x5cd702))throw new _0x5bd46c(_0x1ac652(0xf5),null,{'channelId':_0x5cd702});this[_0x1ac652(0xc9)][_0x1ac652(0xe7)](_0x5cd702,_0x5883d6),this[_0x1ac652(0xc8)][_0x1ac652(0xe7)](_0x5cd702,new _0xd26b2e()),this[_0x1ac652(0xc7)][_0x1ac652(0xe7)](_0x5cd702,new _0xd26b2e()),this[_0x1ac652(0xcf)](_0x5883d6,_0x1ac652(0xd7),(_0x185a94,_0x3c5293)=>this[_0x1ac652(0xca)](_0x5cd702,_0x3c5293)),this[_0x1ac652(0xcf)](_0x5883d6,_0x1ac652(0xdf),(_0x15eeed,_0x39fc29)=>this[_0x1ac652(0xe8)](_0x5cd702,_0x39fc29));for(const _0x442e40 of _0x5883d6)this[_0x1ac652(0xca)](_0x5cd702,_0x442e40);}[_0x38c9c1(0xd5)](_0x184474){const _0x12ee5c=_0x38c9c1;if(!this[_0x12ee5c(0xc9)][_0x12ee5c(0xd4)](_0x184474))throw new _0x5bd46c(_0x12ee5c(0xf1),null,{'channelId':_0x184474});const _0x4f4b30=this[_0x12ee5c(0xc9)][_0x12ee5c(0xe1)](_0x184474);this[_0x12ee5c(0xc4)](_0x4f4b30);for(const _0x3a7276 of _0x4f4b30)_0x12ee5c(0xe4)===this[_0x12ee5c(0xc2)][_0x12ee5c(0xea)][_0x12ee5c(0xe1)](_0x481d97)[_0x12ee5c(0xb8)]&&this[_0x12ee5c(0xe8)](_0x184474,_0x3a7276);this[_0x12ee5c(0xc9)][_0x12ee5c(0xec)](_0x184474),this[_0x12ee5c(0xc8)][_0x12ee5c(0xec)](_0x184474),this[_0x12ee5c(0xc7)][_0x12ee5c(0xec)](_0x184474);}get[_0x38c9c1(0xe5)](){const _0x369841=_0x38c9c1;return this[_0x369841(0xc2)][_0x369841(0xea)][_0x369841(0xe1)](_0x481d97)[_0x369841(0xbc)][_0x369841(0xc1)];}[_0x38c9c1(0xcb)](_0x13b8e4){const _0xa369cd=_0x38c9c1;for(const _0x3b50a5 of this[_0xa369cd(0xc8)][_0xa369cd(0xe3)]())for(const _0x213548 of _0x3b50a5)if(_0x213548['id']===_0x13b8e4)return _0x213548[_0xa369cd(0xce)];}[_0x38c9c1(0xda)](_0x54fa83,_0x43f497){const _0x522ca3=_0x38c9c1,_0xe6b34c=_0x43f497?[this[_0x522ca3(0xc8)][_0x522ca3(0xe1)](_0x43f497)]:this[_0x522ca3(0xc8)][_0x522ca3(0xe3)](),_0x3efb97=new Set();for(const _0xb7faf4 of _0xe6b34c)for(const _0x7ae901 of _0xb7faf4)_0x7ae901[_0x522ca3(0xce)]['id']===_0x54fa83['id']&&_0x3efb97[_0x522ca3(0xd7)](_0x7ae901['id']);return _0x3efb97;}[_0x38c9c1(0xc5)](_0x4af120){const _0x383ecf=_0x38c9c1;for(const _0x54e672 of this[_0x383ecf(0xc8)][_0x383ecf(0xe3)]())for(const _0x3c7522 of _0x54e672)if(_0x3c7522[_0x383ecf(0xce)]===_0x4af120)return _0x3c7522[_0x383ecf(0xf0)];}[_0x38c9c1(0xca)](_0x401ae0,_0x5cbe35){const _0x47296c=_0x38c9c1;if(_0x47296c(0xe4)!==this[_0x47296c(0xc2)][_0x47296c(0xea)][_0x47296c(0xe1)](_0x481d97)[_0x47296c(0xb8)])return;const _0xa8ae0a=_0x5cbe35[_0x47296c(0xce)],_0x15442a=this[_0x47296c(0xd3)][_0x47296c(0xba)](_0xa8ae0a['id'])||this[_0x47296c(0xe0)](_0xa8ae0a),_0x54ba9c=Object[_0x47296c(0xed)]({},_0x5cbe35,{'user':_0x15442a});this[_0x47296c(0xc8)][_0x47296c(0xe1)](_0x401ae0)[_0x47296c(0xd7)](_0x54ba9c);const _0x721b82=this[_0x47296c(0xc7)][_0x47296c(0xe1)](_0x401ae0);_0x721b82[_0x47296c(0xd4)](_0x15442a['id'])||_0x721b82[_0x47296c(0xd7)](_0x15442a),this[_0x47296c(0xf2)][_0x47296c(0xd4)](_0x15442a['id'])||this[_0x47296c(0xf2)][_0x47296c(0xd7)](_0x15442a,_0x15442a[_0x47296c(0xd6)]?0x0:void 0x0),this[_0x47296c(0xde)](_0x47296c(0xc6)+_0x401ae0,{'channelId':_0x401ae0,'session':_0x54ba9c});}[_0x38c9c1(0xe8)](_0x39191d,_0x54833f){const _0x268a6f=_0x38c9c1;if(_0x268a6f(0xe4)!==this[_0x268a6f(0xc2)][_0x268a6f(0xea)][_0x268a6f(0xe1)](_0x481d97)[_0x268a6f(0xb8)])return;const _0x102fab=this[_0x268a6f(0xc7)][_0x268a6f(0xe1)](_0x39191d),_0x780174=_0x54833f[_0x268a6f(0xce)];_0x780174['id']&&(this[_0x268a6f(0xc8)][_0x268a6f(0xe1)](_0x39191d)[_0x268a6f(0xdf)](_0x54833f['id']),_0x102fab[_0x268a6f(0xd4)](_0x780174['id'])&&!this[_0x268a6f(0xda)](_0x780174,_0x39191d)[_0x268a6f(0xf4)]&&_0x102fab[_0x268a6f(0xdf)](_0x780174['id']),this[_0x268a6f(0xf2)][_0x268a6f(0xe1)](_0x780174['id'])&&!this[_0x268a6f(0xda)](_0x780174)[_0x268a6f(0xf4)]&&this[_0x268a6f(0xf2)][_0x268a6f(0xdf)](_0x780174['id']));}[_0x38c9c1(0xe0)](_0x458c91,_0x17e795){const _0x3690c5=_0x38c9c1,_0x4535e1=this[_0x3690c5(0xd3)][_0x3690c5(0xd2)](_0x458c91);return _0x17e795&&this[_0x3690c5(0xd3)][_0x3690c5(0xe9)](_0x458c91['id']),_0x4535e1[_0x3690c5(0xc3)]=this[_0x3690c5(0xe2)]++,_0x4535e1;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xb7138d=_0x4254;(function(_0xaf8192,_0x3fcdb5){const _0x465729=_0x4254,_0x3702f8=_0xaf8192();while(!![]){try{const _0x51b709=parseInt(_0x465729(0xfb))/0x1*(parseInt(_0x465729(0xc7))/0x2)+-parseInt(_0x465729(0xde))/0x3+-parseInt(_0x465729(0x122))/0x4*(-parseInt(_0x465729(0xb4))/0x5)+parseInt(_0x465729(0x12c))/0x6+parseInt(_0x465729(0x10d))/0x7+-parseInt(_0x465729(0xc4))/0x8+-parseInt(_0x465729(0x129))/0x9;if(_0x51b709===_0x3fcdb5)break;else _0x3702f8['push'](_0x3702f8['shift']());}catch(_0x11b79e){_0x3702f8['push'](_0x3702f8['shift']());}}}(_0x5c25,0xa4e92));import{Plugin as _0x277ef3}from'ckeditor5/src/core.js';import{global as _0x101188,DomEmitterMixin as _0x5cfac4}from'ckeditor5/src/utils.js';import _0x24a9fd from'./sessions.js';import{LiveRange as _0x3ec286}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x4254(_0x41632b,_0x336591){const _0x5c2536=_0x5c25();return _0x4254=function(_0x425474,_0x33d8cf){_0x425474=_0x425474-0xb1;let _0x10434a=_0x5c2536[_0x425474];return _0x10434a;},_0x4254(_0x41632b,_0x336591);}export default class H extends _0x277ef3{constructor(){const _0x1c1f7f=_0x4254;super(...arguments),this[_0x1c1f7f(0x109)]=new(_0x5cfac4())();}static get[_0xb7138d(0x130)](){return[_0x24a9fd];}static get[_0xb7138d(0x123)](){const _0x159f8a=_0xb7138d;return _0x159f8a(0x114);}[_0xb7138d(0x11e)](){const _0x57bb85=_0xb7138d,_0x22e3ee=this[_0x57bb85(0xb6)],_0x1e8eab=_0x22e3ee[_0x57bb85(0xe5)][_0x57bb85(0xf7)](_0x24a9fd);_0x22e3ee[_0x57bb85(0x117)][_0x57bb85(0xe8)](_0x57bb85(0xee))[_0x57bb85(0xd1)]({'model':_0x57bb85(0x104),'view':(_0x5f1525,{writer:_0x45f5dc})=>function(_0x1675df,_0x54d2a4,_0x457f7c,_0x719160){const _0x2f1e09=_0x57bb85,_0x32a6eb=_0x1675df[_0x2f1e09(0xb5)][_0x2f1e09(0x10e)](':')[0x2],_0x4b52c0=_0x457f7c[_0x2f1e09(0xf5)](_0x32a6eb);if(!_0x4b52c0||_0x32a6eb===_0x457f7c[_0x2f1e09(0xc3)])return;if(!_0x719160[_0x2f1e09(0xc2)][_0x2f1e09(0x127)][_0x2f1e09(0xef)](_0x1675df[_0x2f1e09(0xca)][_0x2f1e09(0xd9)],_0x2f1e09(0xf2)))return;const _0x574675={'class':_0x2f1e09(0xf0)+_0x4b52c0[_0x2f1e09(0xe6)][_0x2f1e09(0x121)](),'data-name':_0x4b52c0[_0x2f1e09(0xdc)],'data-session-id':_0x32a6eb},_0x18d4d1=_0x719160[_0x2f1e09(0xc2)][_0x2f1e09(0x10c)][_0x2f1e09(0xf7)](_0x1675df[_0x2f1e09(0xb5)]),_0x39394d=_0x18d4d1[_0x2f1e09(0xdb)](),_0x10c7cf=_0x39394d[_0x2f1e09(0xfc)],_0x17db3b=_0x719160[_0x2f1e09(0xc2)][_0x2f1e09(0x127)];if(_0x10c7cf&&_0x17db3b[_0x2f1e09(0x131)](_0x10c7cf)&&_0x17db3b[_0x2f1e09(0x12d)](_0x10c7cf)&&!_0x719160[_0x2f1e09(0xc2)][_0x2f1e09(0x10c)][_0x2f1e09(0xf7)](_0x2f1e09(0xd4)+_0x32a6eb)[_0x2f1e09(0xeb)]()[_0x2f1e09(0xf8)])return;const _0x241fad=_0x39394d[_0x2f1e09(0x119)];return _0x719160[_0x2f1e09(0xc2)][_0x2f1e09(0x127)][_0x2f1e09(0xdf)](_0x241fad)&&!_0x719160[_0x2f1e09(0xc2)][_0x2f1e09(0xbc)](_0x241fad)&&(_0x574675[_0x2f1e09(0x124)]=!0x1),function(_0xa4e896,_0x50e0ea,_0xeb217b){const _0x251a56=_0x2f1e09,_0x122b33=_0xa4e896[_0x251a56(0x120)](_0x251a56(0xf6),_0x50e0ea);return _0xa4e896[_0x251a56(0x108)](_0x251a56(0x11b),!0x0,_0x122b33),_0x122b33[_0x251a56(0x111)]=function(_0x1dc071){const _0x52b388=_0x251a56,_0xdcc148=this[_0x52b388(0x10b)](_0x1dc071);return _0xdcc148[_0x52b388(0xd7)]=_0x52b388(0x106)+_0xeb217b[_0x52b388(0xdc)]+_0x52b388(0xda),_0xdcc148[_0x52b388(0x118)](_0x52b388(0xcd),()=>{const _0x1f2957=_0x52b388;_0xdcc148[_0x1f2957(0xec)][_0x1f2957(0xd8)](_0x1f2957(0xd3));}),_0xdcc148[_0x52b388(0x118)](_0x52b388(0xb7),()=>{const _0x369fb9=_0x52b388;_0xdcc148[_0x369fb9(0xec)][_0x369fb9(0x12b)](_0x369fb9(0xd3));}),_0xdcc148;},_0x122b33[_0x251a56(0xd0)]=function(_0x1cc9fa){const _0xc5db1c=_0x251a56;return!(!this[_0xc5db1c(0x12e)](_0xc5db1c(0x11b))||!_0x1cc9fa[_0xc5db1c(0x12e)](_0xc5db1c(0x11b))||this[_0xc5db1c(0x112)](_0xc5db1c(0x125))!=_0x1cc9fa[_0xc5db1c(0x112)](_0xc5db1c(0x125)));},_0x122b33;}(_0x54d2a4,_0x574675,_0x4b52c0);}(_0x5f1525,_0x45f5dc,_0x1e8eab,_0x22e3ee)}),_0x22e3ee[_0x57bb85(0x117)][_0x57bb85(0xe8)](_0x57bb85(0xee))[_0x57bb85(0x110)]({'model':_0x57bb85(0xc9),'view':_0x415b8b=>function(_0x91faf7,_0x360a32){const _0x43ce3d=_0x57bb85,_0x47e452=_0x91faf7[_0x43ce3d(0xb5)][_0x43ce3d(0x10e)](':')[0x2];if(_0x47e452===_0x360a32[_0x43ce3d(0xc3)])return null;const _0x5f40ee=_0x360a32[_0x43ce3d(0xf5)](_0x47e452);if(!_0x5f40ee)return{'id':_0x47e452,'classes':[]};return{'id':_0x47e452,'classes':[_0x43ce3d(0xe2),_0x5f40ee[_0x43ce3d(0xe6)][_0x43ce3d(0x11a)]()],'attributes':{'data-session-id':_0x47e452},'priority':0x7d0+_0x5f40ee[_0x43ce3d(0x103)]};}(_0x415b8b,_0x1e8eab)}),function(_0x4260c8){const _0x3b69e3=_0x57bb85,_0x56f2ad=_0x4260c8[_0x3b69e3(0xc2)],_0x39f675=new Map(),_0x2dff43=_0x4260c8[_0x3b69e3(0xe5)][_0x3b69e3(0xf7)](_0x24a9fd);_0x56f2ad[_0x3b69e3(0x10c)]['on'](_0x3b69e3(0xff),(_0x400ff8,_0x31fc30,_0x379745,_0x18c7ad)=>{const _0x73bafd=_0x3b69e3;if(!_0x18c7ad&&_0x39f675[_0x73bafd(0xf7)](_0x31fc30[_0x73bafd(0xdc)]))return _0x39f675[_0x73bafd(0xf7)](_0x31fc30[_0x73bafd(0xdc)])[_0x73bafd(0x10f)](),void _0x39f675[_0x73bafd(0xc1)](_0x31fc30[_0x73bafd(0xdc)]);const _0x31a0f1=_0x31fc30[_0x73bafd(0xdc)][_0x73bafd(0x10e)](':')[0x2];if(_0x31a0f1===_0x2dff43[_0x73bafd(0xc3)])return;const _0x578a15=_0x73bafd(0x115)+_0x31a0f1;_0x56f2ad[_0x73bafd(0x10c)][_0x73bafd(0xcc)](_0x578a15)&&_0x4260c8[_0x73bafd(0xcb)][_0x73bafd(0xe9)](_0x578a15),_0x31fc30['on'](_0x73bafd(0x105),(_0x2d7232,_0x50330f,_0x45c8e8)=>{const _0x144f22=_0x73bafd;if(_0x144f22(0xc6)!=_0x50330f[_0x144f22(0xf3)][_0x144f22(0xb9)]&&_0x144f22(0xc6)==_0x31fc30[_0x144f22(0xeb)]()[_0x144f22(0xf3)][_0x144f22(0xb9)]&&!_0x39f675[_0x144f22(0xcc)](_0x31fc30[_0x144f22(0xdc)])){const _0x1c1abd=_0x56f2ad[_0x144f22(0x127)][_0x144f22(0xea)](_0x45c8e8[_0x144f22(0xe7)]);if(_0x1c1abd){const _0x2083a8=_0x3ec286[_0x144f22(0xbf)](_0x1c1abd);_0x39f675[_0x144f22(0xba)](_0x31fc30[_0x144f22(0xdc)],_0x2083a8),_0x2083a8['on'](_0x144f22(0x105),(_0x55f8be,_0x7774c8,_0x266374)=>{const _0x1e523e=_0x144f22;if(_0x1e523e(0xc6)==_0x2083a8[_0x1e523e(0xf3)][_0x1e523e(0xb9)]){const _0x1ba89a=_0x56f2ad[_0x1e523e(0x127)][_0x1e523e(0xea)](_0x266374[_0x1e523e(0xe7)]);_0x1ba89a?(_0x2083a8[_0x1e523e(0xd9)]=_0x1ba89a[_0x1e523e(0xd9)],_0x2083a8[_0x1e523e(0xf4)]=_0x1ba89a[_0x1e523e(0xf4)]):(_0x39f675[_0x1e523e(0xc1)](_0x31fc30[_0x1e523e(0xdc)]),_0x2083a8[_0x1e523e(0x10f)]());}});}}});}),_0x56f2ad[_0x3b69e3(0xed)]['on'](_0x3b69e3(0xe3),()=>{const _0x14c92e=_0x3b69e3;_0x39f675[_0x14c92e(0x116)]>0x0&&_0x56f2ad[_0x14c92e(0x11f)]({'isUndoable':!0x1},_0x30924d=>{const _0x59609a=_0x14c92e;for(const [_0xbead5e,_0x567f2a]of _0x39f675)_0x59609a(0xc6)==_0x56f2ad[_0x59609a(0x10c)][_0x59609a(0xf7)](_0xbead5e)[_0x59609a(0xeb)]()[_0x59609a(0xf3)][_0x59609a(0xb9)]&&(re(_0xbead5e[_0x59609a(0x10e)](':')[0x2],_0x567f2a[_0x59609a(0xfa)](),_0x56f2ad,_0x30924d),_0x567f2a[_0x59609a(0x10f)]());_0x39f675[_0x59609a(0xe4)]();});});}(_0x22e3ee),this[_0x57bb85(0x109)][_0x57bb85(0xdd)](_0x101188[_0x57bb85(0xed)],_0x57bb85(0xc0),(_0x1f3f9f,{key:_0x1f7ffe})=>{const _0x38ba15=_0x57bb85;_0x38ba15(0x107)===_0x1f7ffe&&function(_0x52c35c){const _0x56e011=_0x38ba15;_0x52c35c[_0x56e011(0xcb)][_0x56e011(0xce)][_0x56e011(0xe3)](_0x4bf4b9=>{const _0x499e6f=_0x56e011;for(const _0xe43ca8 of _0x52c35c[_0x499e6f(0xc2)][_0x499e6f(0x10c)]){if(!_0xe43ca8[_0x499e6f(0xdc)][_0x499e6f(0xb8)](_0x499e6f(0x104)))continue;const _0x590853=_0x52c35c[_0x499e6f(0xcb)][_0x499e6f(0xc5)][_0x499e6f(0x11d)](_0xe43ca8[_0x499e6f(0xdc)]);if(_0x590853){for(const _0x9b1652 of _0x590853)_0x4bf4b9[_0x499e6f(0xe0)](_0x499e6f(0xd3),_0x9b1652);}}});}(_0x22e3ee);},{'useCapture':!0x0});}[_0xb7138d(0xd2)](){const _0x92fe0d=_0xb7138d,_0x5dd6ab=this[_0x92fe0d(0xb6)],_0xd946a5=_0x5dd6ab[_0x92fe0d(0xe1)][_0x92fe0d(0xf7)](_0x92fe0d(0xb3));_0xd946a5&&_0x5dd6ab[_0x92fe0d(0xc2)]['on'](_0x92fe0d(0x100),(_0x42ad15,_0x569b15)=>{const _0x3736bb=_0x92fe0d,_0x1cfb58=_0x569b15[0x0];if(_0x3736bb(0xbe)!=_0x1cfb58[_0x3736bb(0xfd)]||!_0x1cfb58[_0x3736bb(0xdc)][_0x3736bb(0xb8)](_0x3736bb(0x128)))return;const _0x1cbaed=_0x1cfb58[_0x3736bb(0x126)];_0xd946a5[_0x3736bb(0xb1)][_0x3736bb(0xcc)](_0x1cbaed)&&(_0x1cfb58[_0x3736bb(0xf1)]=_0x1cfb58[_0x3736bb(0xd5)]?_0x5dd6ab[_0x3736bb(0xc2)][_0x3736bb(0x12f)](_0x1cfb58[_0x3736bb(0xd5)][_0x3736bb(0xd9)],_0x1cfb58[_0x3736bb(0xd5)][_0x3736bb(0xf4)]):null);},{'priority':_0x92fe0d(0xbb)});}[_0xb7138d(0x101)](){const _0x1ef7d8=_0xb7138d;return this[_0x1ef7d8(0x109)][_0x1ef7d8(0xd6)](),super[_0x1ef7d8(0x101)]();}[_0xb7138d(0x11c)](){const _0x345f3b=_0xb7138d,_0x7a63e9=this[_0x345f3b(0xb6)],_0x5ba3d2=_0x7a63e9[_0x345f3b(0xc2)][_0x345f3b(0xed)],_0x1cbc5d=_0x7a63e9[_0x345f3b(0xe5)][_0x345f3b(0xf7)](_0x24a9fd);_0x7a63e9[_0x345f3b(0xc2)][_0x345f3b(0x11f)]({'isUndoable':!0x1},_0x45b89f=>{const _0x1f9425=_0x345f3b,_0x458c2f=_0x1f9425(0xd4)+_0x1cbc5d[_0x1f9425(0xc3)],_0x471439=_0x1f9425(0x115)+_0x1cbc5d[_0x1f9425(0xc3)],_0xb0ffde=_0x7a63e9[_0x1f9425(0xc2)][_0x1f9425(0x10c)][_0x1f9425(0xcc)](_0x458c2f);_0x7a63e9[_0x1f9425(0xcb)][_0x1f9425(0xce)][_0x1f9425(0xcf)]?re(_0x1cbc5d[_0x1f9425(0xc3)],_0x5ba3d2[_0x1f9425(0xbd)][_0x1f9425(0xb2)](),_0x7a63e9[_0x1f9425(0xc2)],_0x45b89f):_0xb0ffde&&(_0x45b89f[_0x1f9425(0xfe)](_0x458c2f),_0x45b89f[_0x1f9425(0xfe)](_0x471439));});}}function re(_0x470b4f,_0x18f01f,_0x1d3f37,_0xd2313b){const _0x30d4a9=_0xb7138d,_0x48260b=_0x30d4a9(0xd4)+_0x470b4f,_0x407770=_0x30d4a9(0x115)+_0x470b4f,_0x5f27df=_0x18f01f[_0x30d4a9(0xc8)]();let _0x33edd8=_0x18f01f[_0x30d4a9(0xd9)];_0x5f27df&&_0x5f27df['is'](_0x30d4a9(0x12a),_0x30d4a9(0x102))&&(_0x33edd8=function(_0xd8af9b,_0x1ba600){const _0x2394c3=_0x30d4a9;for(const _0x137ea0 of _0xd8af9b[_0x2394c3(0x10a)]())if(_0x1ba600[_0x2394c3(0x127)][_0x2394c3(0xef)](_0x137ea0,_0x2394c3(0xf2)))return _0x137ea0;}(_0x18f01f,_0x1d3f37),_0x18f01f=_0xd2313b[_0x30d4a9(0x12f)](_0x33edd8));const _0x167454=_0xd2313b[_0x30d4a9(0x12f)](_0x33edd8);_0x1d3f37[_0x30d4a9(0x10c)][_0x30d4a9(0xcc)](_0x48260b)?(_0xd2313b[_0x30d4a9(0x113)](_0x48260b,{'range':_0x18f01f}),_0xd2313b[_0x30d4a9(0x113)](_0x407770,{'range':_0x167454})):(_0xd2313b[_0x30d4a9(0xf9)](_0x48260b,{'range':_0x18f01f,'usingOperation':!0x0}),_0xd2313b[_0x30d4a9(0xf9)](_0x407770,{'range':_0x167454,'usingOperation':!0x0}));}function _0x5c25(){const _0x1ddf75=['getSelectionClass','userPositionMarker','createUserMarkerOperations','markerNameToElements','init','enqueueChange','createUIElement','getMarkerClass','3803356xelPyI','pluginName','contenteditable','data-session-id','batch','schema','user:','733104oLMJDu','element','remove','6026760wmMirN','isInline','getCustomProperty','createRange','requires','isObject','_createdBatches','getFirstRange','undo','5pXTxba','markerName','editor','mouseleave','startsWith','rootName','set','highest','hasContent','selection','marker','fromRange','keydown','delete','model','mySessionId','8083192JbfJaK','mapper','$graveyard','214NtRyOk','getContainedElement','user:range','markerRange','editing','has','mouseenter','view','hasDomSelection','isSimilar','markerToElement','afterInit','ck-user__marker_hovered','user:range:','oldRange','stopListening','innerHTML','add','start','</span>','getStart','name','listenTo','2652903DVOffZ','isLimit','removeClass','commands','ck-user__selection','change','clear','plugins','color','deletionPosition','for','reconvertMarker','getNearestSelectionRange','getRange','classList','document','editingDowncast','checkChild','ck-user__marker\x20','newRange','$text','root','end','getUserBySessionId','span','get','isCollapsed','addMarker','toRange','547avzJjU','nodeAfter','type','removeMarker','update:user:range','applyOperation','destroy','tableCell','orderNumber','user:position','change:range','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span><span\x20class=\x22ck-user__marker-tooltip\x22\x20contenteditable=\x22false\x22\x20spellcheck=\x22false\x22>','Escape','setCustomProperty','_domEmitter','getPositions','toDomElement','markers','4464614UJZcCm','split','detach','markerToHighlight','render','getAttribute','updateMarker','UserMarkers','user:position:','size','conversion','addEventListener','parent'];_0x5c25=function(){return _0x1ddf75;};return _0x5c25();}
|
|
23
|
+
const _0x5acbf4=_0x7869;(function(_0x424aa8,_0x18e5ef){const _0x583a0d=_0x7869,_0x102a16=_0x424aa8();while(!![]){try{const _0x3461dd=parseInt(_0x583a0d(0x1cb))/0x1+-parseInt(_0x583a0d(0x21e))/0x2+-parseInt(_0x583a0d(0x225))/0x3+parseInt(_0x583a0d(0x22c))/0x4+-parseInt(_0x583a0d(0x20e))/0x5+-parseInt(_0x583a0d(0x202))/0x6+-parseInt(_0x583a0d(0x201))/0x7*(-parseInt(_0x583a0d(0x211))/0x8);if(_0x3461dd===_0x18e5ef)break;else _0x102a16['push'](_0x102a16['shift']());}catch(_0x276290){_0x102a16['push'](_0x102a16['shift']());}}}(_0x245b,0x9faed));function _0x245b(){const _0x25372d=['checkChild','batch','ck-user__selection','102915gwpRft','markerNameToElements','clear','data-session-id','split','nodeAfter','toRange','3778340nhtJNf','root','getStart','stopListening','removeMarker','mouseleave','addMarker','detach','update:user:range','destroy','markerToElement','user:range','editingDowncast','getAttribute','has','$text','contenteditable','_domEmitter','updateMarker','size','type','start','undo','getRange','classList','Escape','startsWith','getFirstRange','document','mapper','applyOperation','455766JDIfbX','selection','innerHTML','enqueueChange','pluginName','render','setCustomProperty','highest','oldRange','change','span','color','for','isCollapsed','removeClass','deletionPosition','getUserBySessionId','ck-user__marker\x20','mouseenter','editing','end','name','addEventListener','remove','isObject','createUIElement','ck-user__marker_hovered','parent','isSimilar','$graveyard','getMarkerClass','keydown','getNearestSelectionRange','set','userPositionMarker','createRange','getSelectionClass','afterInit','_createdBatches','toDomElement','editor','getCustomProperty','createUserMarkerOperations','plugins','markerName','<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>','mySessionId','getContainedElement','getPositions','change:range','newRange','marker','conversion','listenTo','1179843OGNeiv','4427964upwuZc','isInline','hasContent','user:','commands','schema','delete','reconvertMarker','add','isLimit','orderNumber','</span>','3874725DBKOTO','tableCell','fromRange','72bnaofH','markerRange','markerToHighlight','init','rootName','model','UserMarkers','get','user:position','requires','view','hasDomSelection','user:range:','1431974wUsFxN','element','user:position:','markers'];_0x245b=function(){return _0x25372d;};return _0x245b();}import{Plugin as _0x1805e8}from'ckeditor5/src/core.js';import{global as _0x3fa14e,DomEmitterMixin as _0x228b22}from'ckeditor5/src/utils.js';import _0x1f14a5 from'./sessions.js';import{LiveRange as _0x160bb8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class H extends _0x1805e8{constructor(){const _0x277b09=_0x7869;super(...arguments),this[_0x277b09(0x1bd)]=new(_0x228b22())();}static get[_0x5acbf4(0x21a)](){return[_0x1f14a5];}static get[_0x5acbf4(0x1cf)](){const _0x20575d=_0x5acbf4;return _0x20575d(0x217);}[_0x5acbf4(0x214)](){const _0x3dc129=_0x5acbf4,_0x129358=this[_0x3dc129(0x1f3)],_0x505961=_0x129358[_0x3dc129(0x1f6)][_0x3dc129(0x218)](_0x1f14a5);_0x129358[_0x3dc129(0x1ff)][_0x3dc129(0x1d7)](_0x3dc129(0x1b8))[_0x3dc129(0x1b6)]({'model':_0x3dc129(0x219),'view':(_0x1da180,{writer:_0x31b44d})=>function(_0x1932ae,_0x383f0d,_0x59068b,_0x107e18){const _0x1f327c=_0x3dc129,_0x3b119e=_0x1932ae[_0x1f327c(0x1f7)][_0x1f327c(0x229)](':')[0x2],_0x2fd674=_0x59068b[_0x1f327c(0x1db)](_0x3b119e);if(!_0x2fd674||_0x3b119e===_0x59068b[_0x1f327c(0x1f9)])return;if(!_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x207)][_0x1f327c(0x222)](_0x1932ae[_0x1f327c(0x212)][_0x1f327c(0x1c1)],_0x1f327c(0x1bb)))return;const _0x22e060={'class':_0x1f327c(0x1dc)+_0x2fd674[_0x1f327c(0x1d6)][_0x1f327c(0x1e9)](),'data-name':_0x2fd674[_0x1f327c(0x1e0)],'data-session-id':_0x3b119e},_0x1f7888=_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x221)][_0x1f327c(0x218)](_0x1932ae[_0x1f327c(0x1f7)]),_0x3399d1=_0x1f7888[_0x1f327c(0x1ae)](),_0x21088a=_0x3399d1[_0x1f327c(0x22a)],_0x36abc6=_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x207)];if(_0x21088a&&_0x36abc6[_0x1f327c(0x1e3)](_0x21088a)&&_0x36abc6[_0x1f327c(0x203)](_0x21088a)&&!_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x221)][_0x1f327c(0x218)](_0x1f327c(0x21d)+_0x3b119e)[_0x1f327c(0x1c3)]()[_0x1f327c(0x1d8)])return;const _0xf14bbe=_0x3399d1[_0x1f327c(0x1e6)];return _0x107e18[_0x1f327c(0x216)][_0x1f327c(0x207)][_0x1f327c(0x20b)](_0xf14bbe)&&!_0x107e18[_0x1f327c(0x216)][_0x1f327c(0x204)](_0xf14bbe)&&(_0x22e060[_0x1f327c(0x1bc)]=!0x1),function(_0x36cc31,_0x3c77b2,_0x2e3435){const _0x5302bc=_0x1f327c,_0x1ae0d4=_0x36cc31[_0x5302bc(0x1e4)](_0x5302bc(0x1d5),_0x3c77b2);return _0x36cc31[_0x5302bc(0x1d1)](_0x5302bc(0x1ed),!0x0,_0x1ae0d4),_0x1ae0d4[_0x5302bc(0x1d0)]=function(_0x5aec92){const _0x246476=_0x5302bc,_0x10ae43=this[_0x246476(0x1f2)](_0x5aec92);return _0x10ae43[_0x246476(0x1cd)]=_0x246476(0x1f8)+_0x2e3435[_0x246476(0x1e0)]+_0x246476(0x20d),_0x10ae43[_0x246476(0x1e1)](_0x246476(0x1dd),()=>{const _0x47ae62=_0x246476;_0x10ae43[_0x47ae62(0x1c4)][_0x47ae62(0x20a)](_0x47ae62(0x1e5));}),_0x10ae43[_0x246476(0x1e1)](_0x246476(0x1b1),()=>{const _0x3a8037=_0x246476;_0x10ae43[_0x3a8037(0x1c4)][_0x3a8037(0x1e2)](_0x3a8037(0x1e5));}),_0x10ae43;},_0x1ae0d4[_0x5302bc(0x1e7)]=function(_0x9f757c){const _0x579ecc=_0x5302bc;return!(!this[_0x579ecc(0x1f4)](_0x579ecc(0x1ed))||!_0x9f757c[_0x579ecc(0x1f4)](_0x579ecc(0x1ed))||this[_0x579ecc(0x1b9)](_0x579ecc(0x228))!=_0x9f757c[_0x579ecc(0x1b9)](_0x579ecc(0x228)));},_0x1ae0d4;}(_0x383f0d,_0x22e060,_0x2fd674);}(_0x1da180,_0x31b44d,_0x505961,_0x129358)}),_0x129358[_0x3dc129(0x1ff)][_0x3dc129(0x1d7)](_0x3dc129(0x1b8))[_0x3dc129(0x213)]({'model':_0x3dc129(0x1b7),'view':_0x4ad431=>function(_0x23c9c1,_0x2d4047){const _0x5f0b1e=_0x3dc129,_0x598f7d=_0x23c9c1[_0x5f0b1e(0x1f7)][_0x5f0b1e(0x229)](':')[0x2];if(_0x598f7d===_0x2d4047[_0x5f0b1e(0x1f9)])return null;const _0x650b0a=_0x2d4047[_0x5f0b1e(0x1db)](_0x598f7d);if(!_0x650b0a)return{'id':_0x598f7d,'classes':[]};return{'id':_0x598f7d,'classes':[_0x5f0b1e(0x224),_0x650b0a[_0x5f0b1e(0x1d6)][_0x5f0b1e(0x1ef)]()],'attributes':{'data-session-id':_0x598f7d},'priority':0x7d0+_0x650b0a[_0x5f0b1e(0x20c)]};}(_0x4ad431,_0x505961)}),function(_0x5ace96){const _0x1a1f87=_0x3dc129,_0x49335e=_0x5ace96[_0x1a1f87(0x216)],_0x2ac10d=new Map(),_0xc9130=_0x5ace96[_0x1a1f87(0x1f6)][_0x1a1f87(0x218)](_0x1f14a5);_0x49335e[_0x1a1f87(0x221)]['on'](_0x1a1f87(0x1b4),(_0x5cc285,_0x799c7b,_0x373f74,_0x35a520)=>{const _0x275a8e=_0x1a1f87;if(!_0x35a520&&_0x2ac10d[_0x275a8e(0x218)](_0x799c7b[_0x275a8e(0x1e0)]))return _0x2ac10d[_0x275a8e(0x218)](_0x799c7b[_0x275a8e(0x1e0)])[_0x275a8e(0x1b3)](),void _0x2ac10d[_0x275a8e(0x208)](_0x799c7b[_0x275a8e(0x1e0)]);const _0x1cadff=_0x799c7b[_0x275a8e(0x1e0)][_0x275a8e(0x229)](':')[0x2];if(_0x1cadff===_0xc9130[_0x275a8e(0x1f9)])return;const _0x30b7a8=_0x275a8e(0x220)+_0x1cadff;_0x49335e[_0x275a8e(0x221)][_0x275a8e(0x1ba)](_0x30b7a8)&&_0x5ace96[_0x275a8e(0x1de)][_0x275a8e(0x209)](_0x30b7a8),_0x799c7b['on'](_0x275a8e(0x1fc),(_0x59efdf,_0x11032e,_0x1b1cb1)=>{const _0x4831b3=_0x275a8e;if(_0x4831b3(0x1e8)!=_0x11032e[_0x4831b3(0x22d)][_0x4831b3(0x215)]&&_0x4831b3(0x1e8)==_0x799c7b[_0x4831b3(0x1c3)]()[_0x4831b3(0x22d)][_0x4831b3(0x215)]&&!_0x2ac10d[_0x4831b3(0x1ba)](_0x799c7b[_0x4831b3(0x1e0)])){const _0x52a6aa=_0x49335e[_0x4831b3(0x207)][_0x4831b3(0x1eb)](_0x1b1cb1[_0x4831b3(0x1da)]);if(_0x52a6aa){const _0x19c778=_0x160bb8[_0x4831b3(0x210)](_0x52a6aa);_0x2ac10d[_0x4831b3(0x1ec)](_0x799c7b[_0x4831b3(0x1e0)],_0x19c778),_0x19c778['on'](_0x4831b3(0x1fc),(_0x188b63,_0x2b480f,_0x31827d)=>{const _0x1681ef=_0x4831b3;if(_0x1681ef(0x1e8)==_0x19c778[_0x1681ef(0x22d)][_0x1681ef(0x215)]){const _0x34457c=_0x49335e[_0x1681ef(0x207)][_0x1681ef(0x1eb)](_0x31827d[_0x1681ef(0x1da)]);_0x34457c?(_0x19c778[_0x1681ef(0x1c1)]=_0x34457c[_0x1681ef(0x1c1)],_0x19c778[_0x1681ef(0x1df)]=_0x34457c[_0x1681ef(0x1df)]):(_0x2ac10d[_0x1681ef(0x208)](_0x799c7b[_0x1681ef(0x1e0)]),_0x19c778[_0x1681ef(0x1b3)]());}});}}});}),_0x49335e[_0x1a1f87(0x1c8)]['on'](_0x1a1f87(0x1d4),()=>{const _0x2fbc30=_0x1a1f87;_0x2ac10d[_0x2fbc30(0x1bf)]>0x0&&_0x49335e[_0x2fbc30(0x1ce)]({'isUndoable':!0x1},_0x8bbc9d=>{const _0x158ae2=_0x2fbc30;for(const [_0x394ae3,_0x57fa03]of _0x2ac10d)_0x158ae2(0x1e8)==_0x49335e[_0x158ae2(0x221)][_0x158ae2(0x218)](_0x394ae3)[_0x158ae2(0x1c3)]()[_0x158ae2(0x22d)][_0x158ae2(0x215)]&&(re(_0x394ae3[_0x158ae2(0x229)](':')[0x2],_0x57fa03[_0x158ae2(0x22b)](),_0x49335e,_0x8bbc9d),_0x57fa03[_0x158ae2(0x1b3)]());_0x2ac10d[_0x158ae2(0x227)]();});});}(_0x129358),this[_0x3dc129(0x1bd)][_0x3dc129(0x200)](_0x3fa14e[_0x3dc129(0x1c8)],_0x3dc129(0x1ea),(_0x6f7814,{key:_0x559a31})=>{const _0x5b7fd1=_0x3dc129;_0x5b7fd1(0x1c5)===_0x559a31&&function(_0x1ff57a){const _0x37c523=_0x5b7fd1;_0x1ff57a[_0x37c523(0x1de)][_0x37c523(0x21b)][_0x37c523(0x1d4)](_0x3df87b=>{const _0x5f0215=_0x37c523;for(const _0x511f0f of _0x1ff57a[_0x5f0215(0x216)][_0x5f0215(0x221)]){if(!_0x511f0f[_0x5f0215(0x1e0)][_0x5f0215(0x1c6)](_0x5f0215(0x219)))continue;const _0x5e3612=_0x1ff57a[_0x5f0215(0x1de)][_0x5f0215(0x1c9)][_0x5f0215(0x226)](_0x511f0f[_0x5f0215(0x1e0)]);if(_0x5e3612){for(const _0x5cd716 of _0x5e3612)_0x3df87b[_0x5f0215(0x1d9)](_0x5f0215(0x1e5),_0x5cd716);}}});}(_0x129358);},{'useCapture':!0x0});}[_0x5acbf4(0x1f0)](){const _0x5e2a3e=_0x5acbf4,_0x4f94b6=this[_0x5e2a3e(0x1f3)],_0x24e0d9=_0x4f94b6[_0x5e2a3e(0x206)][_0x5e2a3e(0x218)](_0x5e2a3e(0x1c2));_0x24e0d9&&_0x4f94b6[_0x5e2a3e(0x216)]['on'](_0x5e2a3e(0x1ca),(_0x149ec3,_0x36060b)=>{const _0x3b17bb=_0x5e2a3e,_0x4e061f=_0x36060b[0x0];if(_0x3b17bb(0x1fe)!=_0x4e061f[_0x3b17bb(0x1c0)]||!_0x4e061f[_0x3b17bb(0x1e0)][_0x3b17bb(0x1c6)](_0x3b17bb(0x205)))return;const _0x4a881a=_0x4e061f[_0x3b17bb(0x223)];_0x24e0d9[_0x3b17bb(0x1f1)][_0x3b17bb(0x1ba)](_0x4a881a)&&(_0x4e061f[_0x3b17bb(0x1fd)]=_0x4e061f[_0x3b17bb(0x1d3)]?_0x4f94b6[_0x3b17bb(0x216)][_0x3b17bb(0x1ee)](_0x4e061f[_0x3b17bb(0x1d3)][_0x3b17bb(0x1c1)],_0x4e061f[_0x3b17bb(0x1d3)][_0x3b17bb(0x1df)]):null);},{'priority':_0x5e2a3e(0x1d2)});}[_0x5acbf4(0x1b5)](){const _0x5ba2d0=_0x5acbf4;return this[_0x5ba2d0(0x1bd)][_0x5ba2d0(0x1af)](),super[_0x5ba2d0(0x1b5)]();}[_0x5acbf4(0x1f5)](){const _0x22979a=_0x5acbf4,_0x20693c=this[_0x22979a(0x1f3)],_0xe2773=_0x20693c[_0x22979a(0x216)][_0x22979a(0x1c8)],_0x493a59=_0x20693c[_0x22979a(0x1f6)][_0x22979a(0x218)](_0x1f14a5);_0x20693c[_0x22979a(0x216)][_0x22979a(0x1ce)]({'isUndoable':!0x1},_0x2ae8bb=>{const _0x37bee7=_0x22979a,_0x12e93c=_0x37bee7(0x21d)+_0x493a59[_0x37bee7(0x1f9)],_0x59085b=_0x37bee7(0x220)+_0x493a59[_0x37bee7(0x1f9)],_0x27f690=_0x20693c[_0x37bee7(0x216)][_0x37bee7(0x221)][_0x37bee7(0x1ba)](_0x12e93c);_0x20693c[_0x37bee7(0x1de)][_0x37bee7(0x21b)][_0x37bee7(0x21c)]?re(_0x493a59[_0x37bee7(0x1f9)],_0xe2773[_0x37bee7(0x1cc)][_0x37bee7(0x1c7)](),_0x20693c[_0x37bee7(0x216)],_0x2ae8bb):_0x27f690&&(_0x2ae8bb[_0x37bee7(0x1b0)](_0x12e93c),_0x2ae8bb[_0x37bee7(0x1b0)](_0x59085b));});}}function _0x7869(_0x23990a,_0x297852){const _0x245b4f=_0x245b();return _0x7869=function(_0x78698c,_0xf5c77a){_0x78698c=_0x78698c-0x1ae;let _0x1288d5=_0x245b4f[_0x78698c];return _0x1288d5;},_0x7869(_0x23990a,_0x297852);}function re(_0x51cb5b,_0x1b040e,_0xe0e74f,_0x1f0e3e){const _0x42ca9a=_0x5acbf4,_0x645273=_0x42ca9a(0x21d)+_0x51cb5b,_0xb64ccd=_0x42ca9a(0x220)+_0x51cb5b,_0x2e5322=_0x1b040e[_0x42ca9a(0x1fa)]();let _0x5cb894=_0x1b040e[_0x42ca9a(0x1c1)];_0x2e5322&&_0x2e5322['is'](_0x42ca9a(0x21f),_0x42ca9a(0x20f))&&(_0x5cb894=function(_0xefd547,_0x33bbeb){const _0x4d2f52=_0x42ca9a;for(const _0x4eaf04 of _0xefd547[_0x4d2f52(0x1fb)]())if(_0x33bbeb[_0x4d2f52(0x207)][_0x4d2f52(0x222)](_0x4eaf04,_0x4d2f52(0x1bb)))return _0x4eaf04;}(_0x1b040e,_0xe0e74f),_0x1b040e=_0x1f0e3e[_0x42ca9a(0x1ee)](_0x5cb894));const _0x191565=_0x1f0e3e[_0x42ca9a(0x1ee)](_0x5cb894);_0xe0e74f[_0x42ca9a(0x221)][_0x42ca9a(0x1ba)](_0x645273)?(_0x1f0e3e[_0x42ca9a(0x1be)](_0x645273,{'range':_0x1b040e}),_0x1f0e3e[_0x42ca9a(0x1be)](_0xb64ccd,{'range':_0x191565})):(_0x1f0e3e[_0x42ca9a(0x1b2)](_0x645273,{'range':_0x1b040e,'usingOperation':!0x0}),_0x1f0e3e[_0x42ca9a(0x1b2)](_0xb64ccd,{'range':_0x191565,'usingOperation':!0x0}));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1e9131=_0x2304;(function(_0x3332eb,_0x2eaf93){const _0x444c01=_0x2304,_0x197fc0=_0x3332eb();while(!![]){try{const _0x134d14=-parseInt(_0x444c01(0x206))/0x1*(parseInt(_0x444c01(0x1ff))/0x2)+-parseInt(_0x444c01(0x212))/0x3*(parseInt(_0x444c01(0x203))/0x4)+-parseInt(_0x444c01(0x1f5))/0x5+-parseInt(_0x444c01(0x226))/0x6+-parseInt(_0x444c01(0x228))/0x7+-parseInt(_0x444c01(0x21c))/0x8+parseInt(_0x444c01(0x202))/0x9;if(_0x134d14===_0x2eaf93)break;else _0x197fc0['push'](_0x197fc0['shift']());}catch(_0x3012a2){_0x197fc0['push'](_0x197fc0['shift']());}}}(_0x5aa6,0x2c361));import{ContextPlugin as _0x5827f4}from'ckeditor5/src/core.js';import{DomEmitterMixin as _0x5dfda8,CKEditorError as _0x13a51e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x403bc8,WEB_SOCKET_GATEWAY_STATES as _0x521b35}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{Notification as _0x46e0c2}from'ckeditor5/src/ui.js';class c extends _0x5827f4{static get[_0x1e9131(0x213)](){const _0x466abe=_0x1e9131;return[_0x466abe(0x22c),_0x46e0c2];}static get[_0x1e9131(0x1f2)](){const _0x1bebbd=_0x1e9131;return _0x1bebbd(0x211);}constructor(_0x4967d6){const _0x205894=_0x1e9131;super(_0x4967d6),this[_0x205894(0x1ed)](_0x205894(0x1fd),_0x521b35[_0x205894(0x218)]),this[_0x205894(0x1ed)](_0x205894(0x220),!0x1),this[_0x205894(0x1f6)]=new Set(),this[_0x205894(0x231)]=!0x1,this[_0x205894(0x209)]=Object[_0x205894(0x1ea)](_0x5dfda8);}[_0x1e9131(0x201)](){const _0x36d9d6=_0x1e9131,_0x2186e8=this[_0x36d9d6(0x21f)],_0x43f591=_0x2186e8[_0x36d9d6(0x205)][_0x36d9d6(0x21d)](_0x36d9d6(0x22c)),_0x52bedf=_0x2186e8[_0x36d9d6(0x205)][_0x36d9d6(0x21d)](_0x46e0c2);if(!_0x43f591[_0x36d9d6(0x1f3)])throw new _0x13a51e(_0x36d9d6(0x1eb),this);if(!_0x43f591[_0x36d9d6(0x1f1)])throw new _0x13a51e(_0x36d9d6(0x20d),this);return this[_0x36d9d6(0x209)][_0x36d9d6(0x1fc)](window,_0x36d9d6(0x223),()=>this[_0x36d9d6(0x220)]=!0x0),this[_0x36d9d6(0x209)][_0x36d9d6(0x1fc)](window,_0x36d9d6(0x1fb),()=>this[_0x36d9d6(0x220)]=!0x1),this[_0x36d9d6(0x21f)][_0x36d9d6(0x229)][_0x36d9d6(0x20e)](_0x36d9d6(0x22b),0xa),this[_0x36d9d6(0x21f)][_0x36d9d6(0x229)][_0x36d9d6(0x20e)](_0x36d9d6(0x20f),0x14),c[_0x36d9d6(0x211)][_0x36d9d6(0x21a)](_0x43f591[_0x36d9d6(0x1f3)],_0x43f591[_0x36d9d6(0x1f1)],{'timeout':0x3e8*this[_0x36d9d6(0x21f)][_0x36d9d6(0x229)][_0x36d9d6(0x21d)](_0x36d9d6(0x22b)),'requestTimeout':0x3e8*this[_0x36d9d6(0x21f)][_0x36d9d6(0x229)][_0x36d9d6(0x21d)](_0x36d9d6(0x20f))})[_0x36d9d6(0x1f4)](_0x37268a=>{const _0x3ab424=_0x36d9d6;if(this[_0x3ab424(0x216)]=_0x37268a,this[_0x3ab424(0x208)](_0x3ab424(0x1fd))['to'](_0x37268a,_0x3ab424(0x1fd),this,_0x3ab424(0x220),(_0x5b00ca,_0x402bb8)=>(_0x3ab424(0x20b)!==_0x5b00ca&&(this[_0x3ab424(0x231)]=!0x0),_0x402bb8||_0x5b00ca!==_0x521b35[_0x3ab424(0x218)]?_0x521b35[_0x3ab424(0x22d)]:this[_0x3ab424(0x1fd)]==_0x521b35[_0x3ab424(0x22d)]&&this[_0x3ab424(0x231)]?(this[_0x3ab424(0x231)]=!0x1,this[_0x3ab424(0x22a)](),_0x521b35[_0x3ab424(0x225)]):_0x521b35[_0x3ab424(0x218)])),this[_0x3ab424(0x216)]['on'](_0x3ab424(0x1fe),(_0x4b160b,_0x15a563)=>{const _0x523e1b=_0x3ab424;if(_0x523e1b(0x1f7)!==_0x15a563[_0x523e1b(0x222)])throw console[_0x523e1b(0x1fe)](_0x15a563),new _0x13a51e(_0x523e1b(0x21b),null,{'originalError':_0x15a563});_0x52bedf[_0x523e1b(0x210)](_0x523e1b(0x215),{'title':_0x523e1b(0x1f0),'namespace':_0x523e1b(0x219)});}),!_0x37268a['me'])return new Promise(_0x5d68d3=>_0x37268a['on'](_0x3ab424(0x224),_0x5d68d3));})[_0x36d9d6(0x22f)](_0x2226b8=>{const _0x748990=_0x36d9d6;throw console[_0x748990(0x1fe)](_0x2226b8),new _0x13a51e(_0x748990(0x21b),null,{'originalError':_0x2226b8});});}[_0x1e9131(0x1f8)](_0x46a829){const _0x501d66=_0x1e9131;if(_0x501d66(0x221)!=typeof _0x46a829[_0x501d66(0x21e)])throw new _0x13a51e(_0x501d66(0x214),this);if(this[_0x501d66(0x204)](_0x46a829))throw new _0x13a51e(_0x501d66(0x230),this,{'name':_0x46a829[_0x501d66(0x1fa)][_0x501d66(0x1f2)]});this[_0x501d66(0x1f6)][_0x501d66(0x1ec)](_0x46a829);}[_0x1e9131(0x20a)](_0x10964a){const _0x14442b=_0x1e9131;this[_0x14442b(0x1f6)][_0x14442b(0x1ef)](_0x10964a);}[_0x1e9131(0x204)](_0x5d148f){const _0x1a4ed9=_0x1e9131;return this[_0x1a4ed9(0x1f6)][_0x1a4ed9(0x1ee)](_0x5d148f);}[_0x1e9131(0x22a)](){const _0x1fabf1=_0x1e9131;return this[_0x1fabf1(0x216)][_0x1fabf1(0x21e)]()[_0x1fabf1(0x1f4)](()=>Promise[_0x1fabf1(0x200)](Array[_0x1fabf1(0x207)](this[_0x1fabf1(0x1f6)],_0x2ff5ea=>_0x2ff5ea[_0x1fabf1(0x21e)]())))[_0x1fabf1(0x1f4)](()=>this[_0x1fabf1(0x1fd)]=_0x521b35[_0x1fabf1(0x218)])[_0x1fabf1(0x22f)](_0x52d9d9=>{const _0x42ffcb=_0x1fabf1;throw console[_0x42ffcb(0x1fe)](_0x52d9d9),new _0x13a51e(_0x42ffcb(0x20c),this[_0x42ffcb(0x21f)]);});}[_0x1e9131(0x1f9)](){const _0x1e8711=_0x1e9131;this[_0x1e8711(0x216)]&&this[_0x1e8711(0x216)][_0x1e8711(0x217)](),this[_0x1e8711(0x1fd)]=_0x521b35[_0x1e8711(0x22d)],this[_0x1e8711(0x209)][_0x1e8711(0x227)](),super[_0x1e8711(0x1f9)]();}}c[_0x1e9131(0x211)]=_0x403bc8,c[_0x1e9131(0x22e)]=0x3e8;function _0x5aa6(){const _0x33baf1=['8GSiqdN','isInReconnectionStack','plugins','25rvJBzj','from','bind','_domEmitter','removeFromReconnectionStack','connected','cloudservices-reconnection-error','websocketgateway-missing-websocket-url','define','cloudServices.requestTimeout','showWarning','WebSocketGateway','344133EVbTYh','requires','websocketgateway-invalid-plugin-interface','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.','connection','disconnect','CONNECTED','real-time-collaboration','connect','cloudservices-init','2012160WBjDAi','get','reconnect','context','_isBrowserOffline','function','code','offline','change:me','CONNECTING','992454DfziNP','stopListening','1691291skutko','config','_reconnect','cloudServices.connectionTimeout','CloudServices','DISCONNECTED','initialReconnectionInterval','catch','websocketgateway-plugin-already-registered','_shouldPluginsReconnect','create','websocketgateway-missing-token','add','set','has','delete','Connected\x20users\x20limit\x20exceeded','webSocketUrl','pluginName','token','then','975030xnPtPp','_reconnectionStack','limitExceeded','addToReconnectionStack','destroy','constructor','online','listenTo','state','error','19976iyvPeY','all','init','13623831xNSNrn'];_0x5aa6=function(){return _0x33baf1;};return _0x5aa6();}function _0x2304(_0x56863c,_0x38a00f){const _0x5aa68f=_0x5aa6();return _0x2304=function(_0x2304b1,_0x2389ad){_0x2304b1=_0x2304b1-0x1ea;let _0x47da66=_0x5aa68f[_0x2304b1];return _0x47da66;},_0x2304(_0x56863c,_0x38a00f);}export default c;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x12a960=_0x55e0;function _0x55e0(_0x265004,_0x14a931){var _0x5acff9=_0x5acf();return _0x55e0=function(_0x55e01b,_0x41c2a3){_0x55e01b=_0x55e01b-0xee;var _0x5760e3=_0x5acff9[_0x55e01b];return _0x5760e3;},_0x55e0(_0x265004,_0x14a931);}(function(_0x5433cd,_0x2dbfbc){var _0x2adfb4=_0x55e0,_0x1f5b12=_0x5433cd();while(!![]){try{var _0x418506=-parseInt(_0x2adfb4(0xf7))/0x1*(parseInt(_0x2adfb4(0xf3))/0x2)+-parseInt(_0x2adfb4(0xee))/0x3+-parseInt(_0x2adfb4(0xf9))/0x4+parseInt(_0x2adfb4(0xf8))/0x5*(-parseInt(_0x2adfb4(0xef))/0x6)+parseInt(_0x2adfb4(0xf6))/0x7*(-parseInt(_0x2adfb4(0xf2))/0x8)+parseInt(_0x2adfb4(0xf1))/0x9+parseInt(_0x2adfb4(0xf0))/0xa;if(_0x418506===_0x2dbfbc)break;else _0x1f5b12['push'](_0x1f5b12['shift']());}catch(_0x5dde1e){_0x1f5b12['push'](_0x1f5b12['shift']());}}}(_0x5acf,0xedcf9));import{Plugin as _0xae3eae}from'ckeditor5/src/core.js';import _0x2e24af from'./realtimecollaborativeediting/realtimecollaborationclient.js';function _0x5acf(){var _0x53cb55=['6252984qCZHCh','pluginName','3541722sIElFQ','1428wyTnUV','60792090nqagQc','14415111XCPVNB','4064MOdSmS','2vqysmS','RealTimeCollaborativeEditing','requires','4564HxUgAc','1903423omqkZp','36310kLiIqG'];_0x5acf=function(){return _0x53cb55;};return _0x5acf();}export default class n extends _0xae3eae{static get[_0x12a960(0xf5)](){return[_0x2e24af];}static get[_0x12a960(0xfa)](){var _0x53bfe0=_0x12a960;return _0x53bfe0(0xf4);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x26e173=_0x49c1;(function(_0x3f4ee1,_0x5caa17){const _0xf8ff99=_0x49c1,_0x296f7c=_0x3f4ee1();while(!![]){try{const _0x3f3004=-parseInt(_0xf8ff99(0x1e7))/0x1*(parseInt(_0xf8ff99(0x1e5))/0x2)+-parseInt(_0xf8ff99(0x1dd))/0x3*(-parseInt(_0xf8ff99(0x1e8))/0x4)+-parseInt(_0xf8ff99(0x1f2))/0x5*(parseInt(_0xf8ff99(0x1d6))/0x6)+-parseInt(_0xf8ff99(0x226))/0x7+parseInt(_0xf8ff99(0x1d7))/0x8*(-parseInt(_0xf8ff99(0x22e))/0x9)+-parseInt(_0xf8ff99(0x1f6))/0xa+parseInt(_0xf8ff99(0x1ef))/0xb*(parseInt(_0xf8ff99(0x1fe))/0xc);if(_0x3f3004===_0x5caa17)break;else _0x296f7c['push'](_0x296f7c['shift']());}catch(_0x34af0b){_0x296f7c['push'](_0x296f7c['shift']());}}}(_0x317f,0x818a5));function _0x317f(){const _0x34dc16=['reconnect','_revisionHistoryService','connect','change:_isPendingUpdate','3QyZVuL','_revisionTracker','_bufferedUpdates','setSource','authors','buildRevisionData','then','reInit','2yveeUt','400','225943KhjGeu','352572qKkUkN','getRevisions','currentRevision','length','updateRevisions','getOperations','change:_isConnected','270941zgTSjX','isConnected','cloud-services-internal-error:\x20Not\x20connected.','8440rIQhIw','_fetchMissingUsers','_lastRequestId','max','1926430leyiym','_revisionDataBuilder','toVersion','data','diffData','code','reverse','revisionsUpdated','936rxXWql','serverHistory','destroy','_startingVersion','_waitForServiceReady','RevisionTracker','addUser','_revisions','RevisionHistoryService','authorsIds','marker','type','state','size','connected','sessionId','add','init','_offset','connection','creatorId','wrongRequestId','addRevisionData','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','_createCurrentRevision','cloudServices.bundleVersion','bind','affectsData','isBundleUploaded','get','getMany','repository','_handleReconnectionError','keys','editor','_preventResendingRevisionData','baseVersion','setRevisionData','message','_isPendingUpdate','4451636vDxTNq','getRevision','cloud-services-internal-error:\x20Request\x20timeout.','_getLatestVersion','isEmptyCurrent','has','CONNECTED','_update','267642Ipavyw','off','map','catch','isEnabled','requires','fromVersion','adapter','from','sendBufferedUpdates','addToReconnectionStack','createdAt','_handleRevisionsUpdate','_bufferUpdate','startsWith','once','collaboration.channelId','listenTo','_fixRevision','_oldOffset','_isConnected','plugins','config','remove','_getLatestVersionFromServerOperations','768rMIhrv','56TPyqFT','getUser'];_0x317f=function(){return _0x34dc16;};return _0x317f();}import{Plugin as _0x94b028}from'ckeditor5/src/core.js';import{version as _0x153204}from'ckeditor5/src/utils.js';import{Users as _0x9054af}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x113020 from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x147198 from'../realtimecollaborativeediting/websocketgateway.js';import _0x59cec9 from'../realtimecollaborativeediting/sessions.js';function _0x49c1(_0x353b40,_0x54f11d){const _0x317fda=_0x317f();return _0x49c1=function(_0x49c19d,_0x3ce9a3){_0x49c19d=_0x49c19d-0x1c9;let _0x36eb22=_0x317fda[_0x49c19d];return _0x36eb22;},_0x49c1(_0x353b40,_0x54f11d);}import{EditorService as _0x5b28ee,RevisionHistoryService as _0x853538,User as _0x23d305,WEB_SOCKET_GATEWAY_STATES as _0x4b3f97}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x94b028{static get[_0x26e173(0x233)](){const _0x272181=_0x26e173;return[_0x147198,_0x113020,_0x272181(0x203),_0x59cec9,_0x9054af];}constructor(_0x3f0819){const _0x41b280=_0x26e173;super(_0x3f0819);const _0x5e465a=this[_0x41b280(0x220)][_0x41b280(0x1d3)][_0x41b280(0x21b)](_0x41b280(0x1cd));this[_0x41b280(0x1f4)]=null,this[_0x41b280(0x1de)]=this[_0x41b280(0x220)][_0x41b280(0x1d2)][_0x41b280(0x21b)](_0x41b280(0x203)),this[_0x41b280(0x1da)]=new v[(_0x41b280(0x206))](_0x5e465a);}async[_0x26e173(0x20f)](){const _0x1e4ca1=_0x26e173,_0x545d29=this[_0x1e4ca1(0x220)][_0x1e4ca1(0x1d2)][_0x1e4ca1(0x21b)](_0x113020),_0x5a8931=_0x545d29[_0x1e4ca1(0x1ff)],_0xb63ba=this[_0x1e4ca1(0x220)][_0x1e4ca1(0x1d2)][_0x1e4ca1(0x21b)](_0x147198);this[_0x1e4ca1(0x1de)][_0x1e4ca1(0x1e0)]({'history':_0x5a8931,'getLatestVersion':()=>this[_0x1e4ca1(0x229)](),'getCurrentRevisionId':()=>_0x545d29[_0x1e4ca1(0x20d)]});const _0x406ad9=this[_0x1e4ca1(0x220)][_0x1e4ca1(0x1d3)][_0x1e4ca1(0x21b)](_0x1e4ca1(0x217))||_0x153204,_0x36933f=await _0x5b28ee[_0x1e4ca1(0x21a)](_0xb63ba[_0x1e4ca1(0x211)],_0x406ad9);this[_0x1e4ca1(0x1de)][_0x1e4ca1(0x235)]={'getRevision':async({revisionId:_0x384c2f})=>(await this[_0x1e4ca1(0x202)](),await this[_0x1e4ca1(0x1da)][_0x1e4ca1(0x227)](_0x384c2f)),'updateRevisions':async _0x54e5e4=>{const _0x428dc2=_0x1e4ca1;await this[_0x428dc2(0x202)]();const _0xb6b976=this[_0x428dc2(0x1de)][_0x428dc2(0x1ea)];if(_0x36933f&&0x1===_0x54e5e4[_0x428dc2(0x1eb)]&&_0x54e5e4[0x0]['id']===_0xb6b976['id'])return _0x54e5e4;for(const _0x2791c4 of _0x54e5e4)_0x2791c4['id']===_0xb6b976['id']&&(_0x2791c4[_0x428dc2(0x22a)]=_0x2791c4[_0x428dc2(0x234)]===_0x2791c4[_0x428dc2(0x1f8)]);return this[_0x428dc2(0x1da)][_0x428dc2(0x1ec)](_0x54e5e4,this[_0x428dc2(0x1f4)])[_0x428dc2(0x1e3)](_0xa25615=>(this[_0x428dc2(0x1f4)]=_0xa25615,_0x54e5e4))[_0x428dc2(0x231)](_0x28ee10=>{const _0x481b64=_0x428dc2;if(st(_0x28ee10)||_0x481b64(0x1e6)===_0x28ee10[_0x481b64(0x1fb)]&&void 0x0!==_0x28ee10[_0x481b64(0x1f9)][_0x481b64(0x213)]){for(const _0x54898e of _0x54e5e4){!this[_0x481b64(0x1de)][_0x481b64(0x21d)][_0x481b64(0x227)](_0x54898e['id'])||this[_0x481b64(0x1de)][_0x481b64(0x1ca)](_0x54898e['id'],_0x54898e,!0x1);}if(st(_0x28ee10))throw _0x28ee10;return _0x54e5e4;}throw _0x28ee10;});}},this[_0x1e4ca1(0x1ce)](this[_0x1e4ca1(0x1da)],_0x1e4ca1(0x1fd),(_0x3137ce,{revisionsData:_0x3260aa,requestId:_0x546b45})=>{const _0x3baa1d=_0x1e4ca1;Math[_0x3baa1d(0x1f5)](..._0x3260aa[_0x3baa1d(0x230)](_0x390859=>_0x390859[_0x3baa1d(0x1f8)]))>this[_0x3baa1d(0x1d5)]()-0x1?this[_0x3baa1d(0x229)]()[_0x3baa1d(0x1e3)](()=>{const _0x39c0db=_0x3baa1d;this[_0x39c0db(0x1c9)](_0x3260aa,_0x546b45);}):this[_0x3baa1d(0x1c9)](_0x3260aa,_0x546b45);});const {revisions:_0x318000,requestId:_0x18e946}=await this[_0x1e4ca1(0x1da)][_0x1e4ca1(0x1db)](_0xb63ba[_0x1e4ca1(0x211)]);_0xb63ba[_0x1e4ca1(0x238)](this),this[_0x1e4ca1(0x1f4)]=_0x18e946,await this[_0x1e4ca1(0x1f3)](_0x318000);for(const _0x47d578 of _0x318000)this[_0x1e4ca1(0x1de)][_0x1e4ca1(0x214)](_0x47d578);this[_0x1e4ca1(0x1ce)](_0x545d29,_0x1e4ca1(0x1ee),(_0x183e2d,_0x33aef3,_0x52f4da)=>{const _0x33048b=_0x1e4ca1;_0x52f4da&&(this[_0x33048b(0x1d0)]=_0x545d29[_0x33048b(0x210)],_0x183e2d[_0x33048b(0x22f)]());}),this[_0x1e4ca1(0x1de)][_0x1e4ca1(0x218)](_0x1e4ca1(0x232))['to'](_0xb63ba,_0x1e4ca1(0x20a),_0xf81116=>_0xf81116===_0x4b3f97[_0x1e4ca1(0x22c)]);}async[_0x26e173(0x1d9)](){const _0x3ee649=_0x26e173,_0x24a0f0=this[_0x3ee649(0x220)][_0x3ee649(0x1d2)][_0x3ee649(0x21b)](_0x147198),_0x5a7a1d=this[_0x3ee649(0x220)][_0x3ee649(0x1d2)][_0x3ee649(0x21b)](_0x113020),_0x1fe722=async()=>{const _0x343380=_0x3ee649,_0x56b10a=this[_0x343380(0x1de)][_0x343380(0x1ea)],_0x53ea46=_0x56b10a['id'],_0x17d239=_0x53ea46!==_0x5a7a1d[_0x343380(0x20d)];if(_0x17d239){const _0x295939=_0x5a7a1d[_0x343380(0x210)]-this[_0x343380(0x1d0)],_0x3c66ef=this[_0x343380(0x1d5)]();this[_0x343380(0x1de)][_0x343380(0x1f7)][_0x343380(0x1e4)]();if(_0x56b10a[_0x343380(0x1f8)]+_0x295939!==_0x3c66ef){const _0x2126fb=_0x56b10a[_0x343380(0x234)]+_0x295939,_0x233597=this[_0x343380(0x220)][_0x343380(0x1d2)][_0x343380(0x21b)](_0x9054af),_0x709cff=this[_0x343380(0x1de)][_0x343380(0x1e2)]({'revision':_0x56b10a,'from':_0x2126fb,'to':_0x3c66ef});_0x709cff['id']=_0x56b10a['id'];const _0x4c91c4=_0x709cff[_0x343380(0x207)][_0x343380(0x230)](_0x1f38e8=>_0x233597[_0x343380(0x1d8)](_0x1f38e8));_0x56b10a[_0x343380(0x22d)]({..._0x709cff,'authors':_0x4c91c4},!0x0),this[_0x343380(0x1de)][_0x343380(0x1ca)](_0x56b10a['id'],_0x709cff,!0x0);}this[_0x343380(0x1de)][_0x343380(0x201)]=_0x3c66ef,(_0x56b10a[_0x343380(0x1f8)]===_0x56b10a[_0x343380(0x234)]&&!this[_0x343380(0x1de)][_0x343380(0x1df)][_0x343380(0x22b)](_0x53ea46)&&this[_0x343380(0x1de)][_0x343380(0x21d)][_0x343380(0x205)][_0x343380(0x1d4)](_0x53ea46),this[_0x343380(0x1de)][_0x343380(0x216)](_0x3c66ef));}const {revisions:_0x4b8156,requestId:_0x1f5f44}=await this[_0x343380(0x1da)][_0x343380(0x1d9)](_0x24a0f0[_0x343380(0x211)],this[_0x343380(0x1f4)]);_0x17d239&&_0x4b8156[_0x343380(0x1eb)]>0x0?_0x5a7a1d[_0x343380(0x21e)]():(await this[_0x343380(0x1f3)](_0x4b8156),this[_0x343380(0x1c9)](_0x4b8156,_0x1f5f44),this[_0x343380(0x1de)][_0x343380(0x237)]());};return _0x5a7a1d[_0x3ee649(0x1d1)]?_0x1fe722():new Promise((_0x4db723,_0x438886)=>{const _0x337f96=_0x3ee649;_0x5a7a1d[_0x337f96(0x1cc)](_0x337f96(0x1ee),()=>{const _0x1ea10d=_0x337f96;_0x1fe722()[_0x1ea10d(0x1e3)](_0x4db723)[_0x1ea10d(0x231)](_0x438886);});});}[_0x26e173(0x200)](){const _0x6a2318=_0x26e173;super[_0x6a2318(0x200)]();}async[_0x26e173(0x202)](){const _0x379938=_0x26e173;this[_0x379938(0x1da)][_0x379938(0x1f0)]||await new Promise(_0x3131bd=>{const _0x1397b9=_0x379938;this[_0x1397b9(0x1ce)](this[_0x1397b9(0x1da)],_0x1397b9(0x20c),_0x596589=>{const _0x21dafd=_0x1397b9;_0x596589[_0x21dafd(0x22f)](),_0x3131bd();});});}[_0x26e173(0x1d5)](){const _0x501617=_0x26e173,_0x50237b=this[_0x501617(0x220)][_0x501617(0x1d2)][_0x501617(0x21b)](_0x113020)[_0x501617(0x1ff)][_0x501617(0x1ed)]()[_0x501617(0x1fc)]();for(const _0x4d9739 of _0x50237b)if(_0x501617(0x208)!==_0x4d9739[_0x501617(0x209)]||_0x4d9739[_0x501617(0x219)])return _0x4d9739[_0x501617(0x222)]+0x1;}[_0x26e173(0x229)](){const _0x2a5e93=_0x26e173,_0x3d8e7c=this[_0x2a5e93(0x220)][_0x2a5e93(0x1d2)][_0x2a5e93(0x21b)](_0x113020);return new Promise(_0x21f073=>{const _0x20cccd=_0x2a5e93;_0x3d8e7c[_0x20cccd(0x225)]?_0x3d8e7c[_0x20cccd(0x1cc)](_0x20cccd(0x1dc),()=>{const _0x4e29a9=_0x20cccd;_0x21f073(this[_0x4e29a9(0x1d5)]());}):_0x21f073(this[_0x20cccd(0x1d5)]());});}[_0x26e173(0x1c9)](_0x4997ec,_0x5c2349){const _0x2712e8=_0x26e173,_0x1ffadb=this[_0x2712e8(0x1de)][_0x2712e8(0x21d)];this[_0x2712e8(0x1f4)]=_0x5c2349;for(const _0xf221ba of _0x4997ec){const _0x2c26c6=_0x1ffadb[_0x2712e8(0x227)](_0xf221ba['id']);if(_0x2c26c6){if((_0xf221ba[_0x2712e8(0x234)]||_0xf221ba[_0x2712e8(0x1f8)])&&(_0xf221ba[_0x2712e8(0x1fa)]=null),_0x2c26c6===this[_0x2712e8(0x1de)][_0x2712e8(0x1ea)]){const _0x27ce87=Math[_0x2712e8(0x1f5)](_0x2c26c6[_0x2712e8(0x1f8)],_0xf221ba[_0x2712e8(0x1f8)]),_0xd35ff2=Math[_0x2712e8(0x1f5)](_0x2c26c6[_0x2712e8(0x234)],_0xf221ba[_0x2712e8(0x234)]);let _0x3e0b9e;_0x2c26c6[_0x2712e8(0x1f8)]===_0xf221ba[_0x2712e8(0x1f8)]&&_0x2c26c6[_0x2712e8(0x234)]===_0xf221ba[_0x2712e8(0x234)]?(_0x3e0b9e=!0x0,this[_0x2712e8(0x221)](_0xf221ba)):_0xf221ba[_0x2712e8(0x1f8)]===_0x27ce87&&_0xf221ba[_0x2712e8(0x234)]===_0xd35ff2?_0x3e0b9e=!0x1:(_0x2c26c6[_0x2712e8(0x1f8)]===_0x27ce87&&_0x2c26c6[_0x2712e8(0x234)]===_0xd35ff2||this[_0x2712e8(0x1cf)]({'revision':_0x2c26c6,'from':_0xd35ff2,'to':_0x27ce87}),_0x3e0b9e=!0x0),_0x3e0b9e&&(delete _0xf221ba[_0x2712e8(0x234)],delete _0xf221ba[_0x2712e8(0x1f8)],delete _0xf221ba[_0x2712e8(0x1fa)],delete _0xf221ba[_0x2712e8(0x239)],delete _0xf221ba[_0x2712e8(0x207)]);}this[_0x2712e8(0x1de)][_0x2712e8(0x223)](_0xf221ba),this[_0x2712e8(0x221)](_0xf221ba);}else this[_0x2712e8(0x1de)][_0x2712e8(0x214)](_0xf221ba);}const _0x52b7ba=_0x1ffadb[_0x2712e8(0x1e9)]();_0x52b7ba[_0x2712e8(0x1fc)]();for(let _0x479782=0x0;_0x479782<_0x52b7ba[_0x2712e8(0x1eb)]-0x1;_0x479782++){const _0x3aa445=_0x52b7ba[_0x479782],_0xc961d6=_0x52b7ba[_0x479782+0x1];if(_0x3aa445[_0x2712e8(0x234)]<_0xc961d6[_0x2712e8(0x1f8)]){const _0x424182=_0xc961d6[_0x2712e8(0x1f8)],_0x3d2494=Math[_0x2712e8(0x1f5)](_0x424182,_0x3aa445[_0x2712e8(0x1f8)]);this[_0x2712e8(0x1cf)]({'revision':_0x3aa445,'from':_0x424182,'to':_0x3d2494});}}}[_0x26e173(0x1cf)]({revision:_0x4e10e5,from:_0x2aa2cb,to:_0xedba8e}={}){const _0x5e280=_0x26e173,_0x5c1ab1=this[_0x5e280(0x220)][_0x5e280(0x1d2)][_0x5e280(0x21b)](_0x9054af),_0x1ee0b9=this[_0x5e280(0x1de)][_0x5e280(0x1e2)]({'revision':_0x4e10e5,'from':_0x2aa2cb,'to':_0xedba8e});_0x1ee0b9[_0x5e280(0x1e1)]=_0x1ee0b9[_0x5e280(0x207)][_0x5e280(0x230)](_0x1ed4ea=>_0x5c1ab1[_0x5e280(0x1d8)](_0x1ed4ea)),_0x4e10e5[_0x5e280(0x22d)](_0x1ee0b9);}[_0x26e173(0x221)](_0x271ffe){const _0x47ba97=_0x26e173,_0xc7a377={};_0xc7a377['id']=_0x271ffe['id'];for(const _0x19ab53 of Object[_0x47ba97(0x21f)](_0x271ffe))'id'!==_0x19ab53&&(_0xc7a377[_0x19ab53]=void 0x0);this[_0x47ba97(0x1de)][_0x47ba97(0x1ca)](_0xc7a377['id'],_0xc7a377,!0x0);}async[_0x26e173(0x1f3)](_0x19e559){const _0x5d3e6e=_0x26e173,_0x3e5a32=this[_0x5d3e6e(0x220)][_0x5d3e6e(0x1d2)][_0x5d3e6e(0x21b)](_0x9054af),{connection:_0x4755b1}=this[_0x5d3e6e(0x220)][_0x5d3e6e(0x1d2)][_0x5d3e6e(0x21b)](_0x147198),_0x4815ed=new Set();for(const _0x36dcbd of _0x19e559){for(const _0x15948b of _0x36dcbd[_0x5d3e6e(0x207)])_0x1b9e63(_0x15948b);_0x36dcbd[_0x5d3e6e(0x212)]&&_0x1b9e63(_0x36dcbd[_0x5d3e6e(0x212)]);}if(0x0===_0x4815ed[_0x5d3e6e(0x20b)])return;const _0x2d8565=await _0x23d305[_0x5d3e6e(0x21c)](_0x4755b1,Array[_0x5d3e6e(0x236)](_0x4815ed));for(const _0x1a95f1 of _0x2d8565)_0x3e5a32[_0x5d3e6e(0x1d8)](_0x1a95f1['id'])||_0x3e5a32[_0x5d3e6e(0x204)](_0x1a95f1);function _0x1b9e63(_0x395901){const _0x59a5e6=_0x5d3e6e;_0x3e5a32[_0x59a5e6(0x1d8)](_0x395901)||_0x4815ed[_0x59a5e6(0x20e)](_0x395901);}}}v[_0x26e173(0x206)]=_0x853538;export default v;function st(_0x261950){const _0x33859b=_0x26e173;return _0x261950[_0x33859b(0x224)][_0x33859b(0x1cb)](_0x33859b(0x215))||_0x261950[_0x33859b(0x224)][_0x33859b(0x1cb)](_0x33859b(0x1f1))||_0x261950[_0x33859b(0x224)][_0x33859b(0x1cb)](_0x33859b(0x228));}
|
|
23
|
+
const _0x428a80=_0x3511;(function(_0x17536d,_0x4b41b5){const _0x48a545=_0x3511,_0x35eaa2=_0x17536d();while(!![]){try{const _0x2a051a=parseInt(_0x48a545(0x21b))/0x1+parseInt(_0x48a545(0x1e2))/0x2+-parseInt(_0x48a545(0x1d1))/0x3*(parseInt(_0x48a545(0x1c7))/0x4)+parseInt(_0x48a545(0x209))/0x5*(-parseInt(_0x48a545(0x1ee))/0x6)+parseInt(_0x48a545(0x1de))/0x7+-parseInt(_0x48a545(0x1eb))/0x8+parseInt(_0x48a545(0x1d7))/0x9;if(_0x2a051a===_0x4b41b5)break;else _0x35eaa2['push'](_0x35eaa2['shift']());}catch(_0x260816){_0x35eaa2['push'](_0x35eaa2['shift']());}}}(_0x2362,0x7adc2));import{Plugin as _0x5a3cc1}from'ckeditor5/src/core.js';import{version as _0x48c3c8}from'ckeditor5/src/utils.js';import{Users as _0x5977fb}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2f890e from'../realtimecollaborativeediting/realtimecollaborationclient.js';import _0x46170d from'../realtimecollaborativeediting/websocketgateway.js';import _0x4d7916 from'../realtimecollaborativeediting/sessions.js';import{EditorService as _0x128917,RevisionHistoryService as _0x5e4a1f,User as _0x3f5360,WEB_SOCKET_GATEWAY_STATES as _0x38f9c8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';class v extends _0x5a3cc1{static get[_0x428a80(0x203)](){const _0x37114b=_0x428a80;return[_0x46170d,_0x2f890e,_0x37114b(0x1e4),_0x4d7916,_0x5977fb];}constructor(_0x549548){const _0x3f3881=_0x428a80;super(_0x549548);const _0x19e26e=this[_0x3f3881(0x207)][_0x3f3881(0x1dd)][_0x3f3881(0x1d9)](_0x3f3881(0x1ec));this[_0x3f3881(0x22e)]=null,this[_0x3f3881(0x20b)]=this[_0x3f3881(0x207)][_0x3f3881(0x1fb)][_0x3f3881(0x1d9)](_0x3f3881(0x1e4)),this[_0x3f3881(0x1d4)]=new v[(_0x3f3881(0x228))](_0x19e26e);}async[_0x428a80(0x1ce)](){const _0xb8ed1=_0x428a80,_0x44441e=this[_0xb8ed1(0x207)][_0xb8ed1(0x1fb)][_0xb8ed1(0x1d9)](_0x2f890e),_0x211236=_0x44441e[_0xb8ed1(0x212)],_0x56f2d2=this[_0xb8ed1(0x207)][_0xb8ed1(0x1fb)][_0xb8ed1(0x1d9)](_0x46170d);this[_0xb8ed1(0x20b)][_0xb8ed1(0x206)]({'history':_0x211236,'getLatestVersion':()=>this[_0xb8ed1(0x1dc)](),'getCurrentRevisionId':()=>_0x44441e[_0xb8ed1(0x1e6)]});const _0x23b9f0=this[_0xb8ed1(0x207)][_0xb8ed1(0x1dd)][_0xb8ed1(0x1d9)](_0xb8ed1(0x229))||_0x48c3c8,_0x56189b=await _0x128917[_0xb8ed1(0x1fe)](_0x56f2d2[_0xb8ed1(0x1c5)],_0x23b9f0);this[_0xb8ed1(0x20b)][_0xb8ed1(0x227)]={'getRevision':async({revisionId:_0xbe64c5})=>(await this[_0xb8ed1(0x1f2)](),await this[_0xb8ed1(0x1d4)][_0xb8ed1(0x21a)](_0xbe64c5)),'updateRevisions':async _0x3453a8=>{const _0x2b2f3e=_0xb8ed1;await this[_0x2b2f3e(0x1f2)]();const _0x428011=this[_0x2b2f3e(0x20b)][_0x2b2f3e(0x1f6)];if(_0x56189b&&0x1===_0x3453a8[_0x2b2f3e(0x211)]&&_0x3453a8[0x0]['id']===_0x428011['id'])return _0x3453a8;for(const _0x3a966c of _0x3453a8)_0x3a966c['id']===_0x428011['id']&&(_0x3a966c[_0x2b2f3e(0x1fd)]=_0x3a966c[_0x2b2f3e(0x1cd)]===_0x3a966c[_0x2b2f3e(0x20a)]);return this[_0x2b2f3e(0x1d4)][_0x2b2f3e(0x201)](_0x3453a8,this[_0x2b2f3e(0x22e)])[_0x2b2f3e(0x1e7)](_0x5d2b6f=>(this[_0x2b2f3e(0x22e)]=_0x5d2b6f,_0x3453a8))[_0x2b2f3e(0x1fc)](_0x5d2a14=>{const _0x563c92=_0x2b2f3e;if(st(_0x5d2a14)||_0x563c92(0x1f8)===_0x5d2a14[_0x563c92(0x1c4)]&&void 0x0!==_0x5d2a14[_0x563c92(0x1c9)][_0x563c92(0x222)]){for(const _0x174155 of _0x3453a8){!this[_0x563c92(0x20b)][_0x563c92(0x1ef)][_0x563c92(0x21a)](_0x174155['id'])||this[_0x563c92(0x20b)][_0x563c92(0x1ff)](_0x174155['id'],_0x174155,!0x1);}if(st(_0x5d2a14))throw _0x5d2a14;return _0x3453a8;}throw _0x5d2a14;});}},this[_0xb8ed1(0x208)](this[_0xb8ed1(0x1d4)],_0xb8ed1(0x21e),(_0x444dd6,{revisionsData:_0x1f5f3d,requestId:_0x1d5215})=>{const _0x3a9638=_0xb8ed1;Math[_0x3a9638(0x22f)](..._0x1f5f3d[_0x3a9638(0x22a)](_0x161b6c=>_0x161b6c[_0x3a9638(0x20a)]))>this[_0x3a9638(0x22c)]()-0x1?this[_0x3a9638(0x1dc)]()[_0x3a9638(0x1e7)](()=>{const _0x2b93b6=_0x3a9638;this[_0x2b93b6(0x21d)](_0x1f5f3d,_0x1d5215);}):this[_0x3a9638(0x21d)](_0x1f5f3d,_0x1d5215);});const {revisions:_0x51cbb1,requestId:_0x3e8b4a}=await this[_0xb8ed1(0x1d4)][_0xb8ed1(0x1f1)](_0x56f2d2[_0xb8ed1(0x1c5)]);_0x56f2d2[_0xb8ed1(0x210)](this),this[_0xb8ed1(0x22e)]=_0x3e8b4a,await this[_0xb8ed1(0x1cf)](_0x51cbb1);for(const _0x57441a of _0x51cbb1)this[_0xb8ed1(0x20b)][_0xb8ed1(0x221)](_0x57441a);this[_0xb8ed1(0x208)](_0x44441e,_0xb8ed1(0x1e8),(_0x8b24b4,_0x564cf3,_0x23e627)=>{const _0x2cee96=_0xb8ed1;_0x23e627&&(this[_0x2cee96(0x21f)]=_0x44441e[_0x2cee96(0x214)],_0x8b24b4[_0x2cee96(0x225)]());}),this[_0xb8ed1(0x20b)][_0xb8ed1(0x1d6)](_0xb8ed1(0x223))['to'](_0x56f2d2,_0xb8ed1(0x1e1),_0xf0bfe1=>_0xf0bfe1===_0x38f9c8[_0xb8ed1(0x1ed)]);}async[_0x428a80(0x205)](){const _0x2edd41=_0x428a80,_0x3dedb0=this[_0x2edd41(0x207)][_0x2edd41(0x1fb)][_0x2edd41(0x1d9)](_0x46170d),_0x426a55=this[_0x2edd41(0x207)][_0x2edd41(0x1fb)][_0x2edd41(0x1d9)](_0x2f890e),_0x316354=async()=>{const _0x4b8198=_0x2edd41,_0x4aee71=this[_0x4b8198(0x20b)][_0x4b8198(0x1f6)],_0x486953=_0x4aee71['id'],_0x3540b5=_0x486953!==_0x426a55[_0x4b8198(0x1e6)];if(_0x3540b5){const _0x57a1a1=_0x426a55[_0x4b8198(0x214)]-this[_0x4b8198(0x21f)],_0x1174cd=this[_0x4b8198(0x22c)]();this[_0x4b8198(0x20b)][_0x4b8198(0x1d3)][_0x4b8198(0x1d0)]();if(_0x4aee71[_0x4b8198(0x20a)]+_0x57a1a1!==_0x1174cd){const _0x517aaa=_0x4aee71[_0x4b8198(0x1cd)]+_0x57a1a1,_0x52700b=this[_0x4b8198(0x207)][_0x4b8198(0x1fb)][_0x4b8198(0x1d9)](_0x5977fb),_0x2c3ea6=this[_0x4b8198(0x20b)][_0x4b8198(0x1f5)]({'revision':_0x4aee71,'from':_0x517aaa,'to':_0x1174cd});_0x2c3ea6['id']=_0x4aee71['id'];const _0x1c58ee=_0x2c3ea6[_0x4b8198(0x218)][_0x4b8198(0x22a)](_0xc01b2a=>_0x52700b[_0x4b8198(0x20f)](_0xc01b2a));_0x4aee71[_0x4b8198(0x224)]({..._0x2c3ea6,'authors':_0x1c58ee},!0x0),this[_0x4b8198(0x20b)][_0x4b8198(0x1ff)](_0x4aee71['id'],_0x2c3ea6,!0x0);}this[_0x4b8198(0x20b)][_0x4b8198(0x216)]=_0x1174cd,(_0x4aee71[_0x4b8198(0x20a)]===_0x4aee71[_0x4b8198(0x1cd)]&&!this[_0x4b8198(0x20b)][_0x4b8198(0x1fa)][_0x4b8198(0x1cb)](_0x486953)&&this[_0x4b8198(0x20b)][_0x4b8198(0x1ef)][_0x4b8198(0x1e0)][_0x4b8198(0x1ea)](_0x486953),this[_0x4b8198(0x20b)][_0x4b8198(0x1f0)](_0x1174cd));}const {revisions:_0x535bc6,requestId:_0xc1625d}=await this[_0x4b8198(0x1d4)][_0x4b8198(0x205)](_0x3dedb0[_0x4b8198(0x1c5)],this[_0x4b8198(0x22e)]);_0x3540b5&&_0x535bc6[_0x4b8198(0x211)]>0x0?_0x426a55[_0x4b8198(0x1c3)]():(await this[_0x4b8198(0x1cf)](_0x535bc6),this[_0x4b8198(0x21d)](_0x535bc6,_0xc1625d),this[_0x4b8198(0x20b)][_0x4b8198(0x202)]());};return _0x426a55[_0x2edd41(0x219)]?_0x316354():new Promise((_0x47ee81,_0x483f16)=>{const _0x19ed5c=_0x2edd41;_0x426a55[_0x19ed5c(0x1df)](_0x19ed5c(0x1e8),()=>{const _0x2114cc=_0x19ed5c;_0x316354()[_0x2114cc(0x1e7)](_0x47ee81)[_0x2114cc(0x1fc)](_0x483f16);});});}[_0x428a80(0x204)](){const _0x392004=_0x428a80;super[_0x392004(0x204)]();}async[_0x428a80(0x1f2)](){const _0x4131f2=_0x428a80;this[_0x4131f2(0x1d4)][_0x4131f2(0x213)]||await new Promise(_0x5f09d9=>{const _0x31c2e7=_0x4131f2;this[_0x31c2e7(0x208)](this[_0x31c2e7(0x1d4)],_0x31c2e7(0x1f9),_0x4a06f6=>{const _0x47a426=_0x31c2e7;_0x4a06f6[_0x47a426(0x225)](),_0x5f09d9();});});}[_0x428a80(0x22c)](){const _0x226d6c=_0x428a80,_0x249635=this[_0x226d6c(0x207)][_0x226d6c(0x1fb)][_0x226d6c(0x1d9)](_0x2f890e)[_0x226d6c(0x212)][_0x226d6c(0x1db)]()[_0x226d6c(0x1e9)]();for(const _0x1d98ef of _0x249635)if(_0x226d6c(0x22b)!==_0x1d98ef[_0x226d6c(0x1c2)]||_0x1d98ef[_0x226d6c(0x1f7)])return _0x1d98ef[_0x226d6c(0x1d5)]+0x1;}[_0x428a80(0x1dc)](){const _0x3a3331=_0x428a80,_0x1d6b3d=this[_0x3a3331(0x207)][_0x3a3331(0x1fb)][_0x3a3331(0x1d9)](_0x2f890e);return new Promise(_0x562c19=>{const _0x4233dd=_0x3a3331;_0x1d6b3d[_0x4233dd(0x1f4)]?_0x1d6b3d[_0x4233dd(0x1df)](_0x4233dd(0x1f3),()=>{const _0x4c59ca=_0x4233dd;_0x562c19(this[_0x4c59ca(0x22c)]());}):_0x562c19(this[_0x4233dd(0x22c)]());});}[_0x428a80(0x21d)](_0x26f5b9,_0x5337a3){const _0x265782=_0x428a80,_0x3a7737=this[_0x265782(0x20b)][_0x265782(0x1ef)];this[_0x265782(0x22e)]=_0x5337a3;for(const _0x33bc5a of _0x26f5b9){const _0x367924=_0x3a7737[_0x265782(0x21a)](_0x33bc5a['id']);if(_0x367924){if((_0x33bc5a[_0x265782(0x1cd)]||_0x33bc5a[_0x265782(0x20a)])&&(_0x33bc5a[_0x265782(0x1d2)]=null),_0x367924===this[_0x265782(0x20b)][_0x265782(0x1f6)]){const _0x370103=Math[_0x265782(0x22f)](_0x367924[_0x265782(0x20a)],_0x33bc5a[_0x265782(0x20a)]),_0x14dd1e=Math[_0x265782(0x22f)](_0x367924[_0x265782(0x1cd)],_0x33bc5a[_0x265782(0x1cd)]);let _0x327523;_0x367924[_0x265782(0x20a)]===_0x33bc5a[_0x265782(0x20a)]&&_0x367924[_0x265782(0x1cd)]===_0x33bc5a[_0x265782(0x1cd)]?(_0x327523=!0x0,this[_0x265782(0x1ca)](_0x33bc5a)):_0x33bc5a[_0x265782(0x20a)]===_0x370103&&_0x33bc5a[_0x265782(0x1cd)]===_0x14dd1e?_0x327523=!0x1:(_0x367924[_0x265782(0x20a)]===_0x370103&&_0x367924[_0x265782(0x1cd)]===_0x14dd1e||this[_0x265782(0x20c)]({'revision':_0x367924,'from':_0x14dd1e,'to':_0x370103}),_0x327523=!0x0),_0x327523&&(delete _0x33bc5a[_0x265782(0x1cd)],delete _0x33bc5a[_0x265782(0x20a)],delete _0x33bc5a[_0x265782(0x1d2)],delete _0x33bc5a[_0x265782(0x226)],delete _0x33bc5a[_0x265782(0x218)]);}this[_0x265782(0x20b)][_0x265782(0x21c)](_0x33bc5a),this[_0x265782(0x1ca)](_0x33bc5a);}else this[_0x265782(0x20b)][_0x265782(0x221)](_0x33bc5a);}const _0x586eca=_0x3a7737[_0x265782(0x22d)]();_0x586eca[_0x265782(0x1e9)]();for(let _0x1f454c=0x0;_0x1f454c<_0x586eca[_0x265782(0x211)]-0x1;_0x1f454c++){const _0x45ffd4=_0x586eca[_0x1f454c],_0x1a1e01=_0x586eca[_0x1f454c+0x1];if(_0x45ffd4[_0x265782(0x1cd)]<_0x1a1e01[_0x265782(0x20a)]){const _0x2567f5=_0x1a1e01[_0x265782(0x20a)],_0x13c0f4=Math[_0x265782(0x22f)](_0x2567f5,_0x45ffd4[_0x265782(0x20a)]);this[_0x265782(0x20c)]({'revision':_0x45ffd4,'from':_0x2567f5,'to':_0x13c0f4});}}}[_0x428a80(0x20c)]({revision:_0x2efd67,from:_0x514da5,to:_0x524d57}={}){const _0x309753=_0x428a80,_0x3b8ac6=this[_0x309753(0x207)][_0x309753(0x1fb)][_0x309753(0x1d9)](_0x5977fb),_0x4082db=this[_0x309753(0x20b)][_0x309753(0x1f5)]({'revision':_0x2efd67,'from':_0x514da5,'to':_0x524d57});_0x4082db[_0x309753(0x1c6)]=_0x4082db[_0x309753(0x218)][_0x309753(0x22a)](_0x3f0aba=>_0x3b8ac6[_0x309753(0x20f)](_0x3f0aba)),_0x2efd67[_0x309753(0x224)](_0x4082db);}[_0x428a80(0x1ca)](_0x48dfd5){const _0x534c88=_0x428a80,_0x1f9bd6={};_0x1f9bd6['id']=_0x48dfd5['id'];for(const _0x1d9b1a of Object[_0x534c88(0x220)](_0x48dfd5))'id'!==_0x1d9b1a&&(_0x1f9bd6[_0x1d9b1a]=void 0x0);this[_0x534c88(0x20b)][_0x534c88(0x1ff)](_0x1f9bd6['id'],_0x1f9bd6,!0x0);}async[_0x428a80(0x1cf)](_0x4c0d89){const _0x5d2228=_0x428a80,_0x43a215=this[_0x5d2228(0x207)][_0x5d2228(0x1fb)][_0x5d2228(0x1d9)](_0x5977fb),{connection:_0x12188e}=this[_0x5d2228(0x207)][_0x5d2228(0x1fb)][_0x5d2228(0x1d9)](_0x46170d),_0x5ad1ec=new Set();for(const _0x36643a of _0x4c0d89){for(const _0x3233f6 of _0x36643a[_0x5d2228(0x218)])_0x14f09b(_0x3233f6);_0x36643a[_0x5d2228(0x215)]&&_0x14f09b(_0x36643a[_0x5d2228(0x215)]);}if(0x0===_0x5ad1ec[_0x5d2228(0x20e)])return;const _0x58b68d=await _0x3f5360[_0x5d2228(0x1cc)](_0x12188e,Array[_0x5d2228(0x1e5)](_0x5ad1ec));for(const _0x2e7a77 of _0x58b68d)_0x43a215[_0x5d2228(0x20f)](_0x2e7a77['id'])||_0x43a215[_0x5d2228(0x1da)](_0x2e7a77);function _0x14f09b(_0x31139d){const _0x3f8111=_0x5d2228;_0x43a215[_0x3f8111(0x20f)](_0x31139d)||_0x5ad1ec[_0x3f8111(0x1e3)](_0x31139d);}}}v[_0x428a80(0x228)]=_0x5e4a1f;function _0x3511(_0x423181,_0x75aaa1){const _0x2362b6=_0x2362();return _0x3511=function(_0x35110c,_0x54dc34){_0x35110c=_0x35110c-0x1c2;let _0x1f19bb=_0x2362b6[_0x35110c];return _0x1f19bb;},_0x3511(_0x423181,_0x75aaa1);}export default v;function st(_0x2828d8){const _0x41844c=_0x428a80;return _0x2828d8[_0x41844c(0x20d)][_0x41844c(0x1c8)](_0x41844c(0x217))||_0x2828d8[_0x41844c(0x20d)][_0x41844c(0x1c8)](_0x41844c(0x1d8))||_0x2828d8[_0x41844c(0x20d)][_0x41844c(0x1c8)](_0x41844c(0x200));}function _0x2362(){const _0x18745a=['destroy','reconnect','setSource','editor','listenTo','622785JmKKMA','toVersion','_revisionTracker','_fixRevision','message','size','getUser','addToReconnectionStack','length','serverHistory','isConnected','_offset','creatorId','_startingVersion','cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.','authorsIds','_isConnected','getRevision','29170BjmLzj','setRevisionData','_handleRevisionsUpdate','revisionsUpdated','_oldOffset','keys','addRevisionData','wrongRequestId','isEnabled','_update','off','createdAt','adapter','RevisionHistoryService','cloudServices.bundleVersion','map','marker','_getLatestVersionFromServerOperations','getRevisions','_lastRequestId','max','type','_handleReconnectionError','code','connection','authors','8480yCWInQ','startsWith','data','_preventResendingRevisionData','has','getMany','fromVersion','init','_fetchMissingUsers','reInit','78EWbolS','diffData','_revisionDataBuilder','_revisionHistoryService','baseVersion','bind','13428xsbvjl','cloud-services-internal-error:\x20Not\x20connected.','get','addUser','getOperations','_getLatestVersion','config','6802495TzbigL','once','_revisions','state','888644wGCKKK','add','RevisionTracker','from','sessionId','then','change:_isConnected','reverse','remove','4117952tjmPTy','collaboration.channelId','CONNECTED','18rBKzSQ','repository','_createCurrentRevision','connect','_waitForServiceReady','change:_isPendingUpdate','_isPendingUpdate','buildRevisionData','currentRevision','affectsData','400','connected','_bufferedUpdates','plugins','catch','isEmptyCurrent','isBundleUploaded','_bufferUpdate','cloud-services-internal-error:\x20Request\x20timeout.','updateRevisions','sendBufferedUpdates','requires'];_0x2362=function(){return _0x18745a;};return _0x2362();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x1850aa=_0xe9e5;(function(_0x3aead7,_0x5e624a){var _0x2ec947=_0xe9e5,_0x49a634=_0x3aead7();while(!![]){try{var _0xc49d44=-parseInt(_0x2ec947(0x1a3))/0x1+parseInt(_0x2ec947(0x1a4))/0x2+parseInt(_0x2ec947(0x1a8))/0x3+parseInt(_0x2ec947(0x1a6))/0x4*(parseInt(_0x2ec947(0x1a2))/0x5)+parseInt(_0x2ec947(0x1a1))/0x6+-parseInt(_0x2ec947(0x1a7))/0x7*(-parseInt(_0x2ec947(0x19f))/0x8)+-parseInt(_0x2ec947(0x1aa))/0x9*(parseInt(_0x2ec947(0x1a5))/0xa);if(_0xc49d44===_0x5e624a)break;else _0x49a634['push'](_0x49a634['shift']());}catch(_0x573efe){_0x49a634['push'](_0x49a634['shift']());}}}(_0x127b,0xba5e1));function _0x127b(){var _0x741157=['pluginName','81pwTWKI','RealTimeCollaborativeRevisionHistory','RevisionHistory','1032hfThkp','requires','5613084ytRnUh','568440IoMjwB','1465955ItFrEb','391664CYQaIT','1609940iUMAxg','36CLgkRe','44401rKBrzE','2116431MBSlUi'];_0x127b=function(){return _0x741157;};return _0x127b();}import{Plugin as _0x71f35e}from'ckeditor5/src/core.js';import _0x1a06f0 from'./realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js';import _0x5a8605 from'./realtimecollaborativeediting.js';function _0xe9e5(_0x67ee3,_0x13f6fe){var _0x127b17=_0x127b();return _0xe9e5=function(_0xe9e516,_0x1ba37b){_0xe9e516=_0xe9e516-0x19f;var _0x14bad7=_0x127b17[_0xe9e516];return _0x14bad7;},_0xe9e5(_0x67ee3,_0x13f6fe);}export default class d extends _0x71f35e{static get[_0x1850aa(0x1a0)](){var _0x3376d2=_0x1850aa;return[_0x3376d2(0x1ac),_0x1a06f0,_0x5a8605];}static get[_0x1850aa(0x1a9)](){var _0x303519=_0x1850aa;return _0x303519(0x1ab);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51c23b=_0x5a02;(function(_0x2afe49,_0x2dc44e){const _0x55ae9d=_0x5a02,_0x3f630f=_0x2afe49();while(!![]){try{const _0x15b965=-parseInt(_0x55ae9d(0x12f))/0x1+parseInt(_0x55ae9d(0x12e))/0x2*(parseInt(_0x55ae9d(0x124))/0x3)+-parseInt(_0x55ae9d(0x11e))/0x4+parseInt(_0x55ae9d(0x134))/0x5*(-parseInt(_0x55ae9d(0x10c))/0x6)+-parseInt(_0x55ae9d(0x11c))/0x7*(-parseInt(_0x55ae9d(0x10e))/0x8)+parseInt(_0x55ae9d(0x103))/0x9+parseInt(_0x55ae9d(0x130))/0xa;if(_0x15b965===_0x2dc44e)break;else _0x3f630f['push'](_0x3f630f['shift']());}catch(_0x4c1ed7){_0x3f630f['push'](_0x3f630f['shift']());}}}(_0x3810,0x3ad15));import{Plugin as _0x40eac9}from'ckeditor5/src/core.js';import{User as _0x366c0f,TrackChangesService as _0x2b5cb6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x747d4 from'../realtimecollaborativeediting/websocketgateway.js';import _0x49289c from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x6760bd}from'ckeditor5-collaboration/src/collaboration-core.js';class g extends _0x40eac9{static get[_0x51c23b(0x121)](){const _0x79d7e9=_0x51c23b;return[_0x49289c,_0x79d7e9(0x10d),_0x747d4];}constructor(_0x518fac){const _0x4f28c6=_0x51c23b;super(_0x518fac);const _0x3762d0=this[_0x4f28c6(0x138)][_0x4f28c6(0x131)][_0x4f28c6(0x123)](_0x4f28c6(0x11f));this[_0x4f28c6(0x125)]=new Map(),this[_0x4f28c6(0x119)]=new g[(_0x4f28c6(0x111))](_0x3762d0);}[_0x51c23b(0x109)](){const _0x523fda=_0x51c23b,_0x1235c=this[_0x523fda(0x138)][_0x523fda(0x108)][_0x523fda(0x123)](_0x747d4),_0x3ea48f=this[_0x523fda(0x138)][_0x523fda(0x108)][_0x523fda(0x123)](_0x523fda(0x10d));return _0x3ea48f[_0x523fda(0xfd)]={'getSuggestion':async _0x4f58a0=>{const _0x1faf6e=_0x523fda;await this[_0x1faf6e(0x122)]();const _0x23a5c2=await this[_0x1faf6e(0x119)][_0x1faf6e(0x123)](_0x4f58a0)[_0x1faf6e(0x118)](R);return await this[_0x1faf6e(0xff)]([_0x23a5c2]),_0x23a5c2;},'addSuggestion':async({id:_0x4908b8,type:_0x47ba31,data:_0x5ca3c4,originalSuggestionId:_0x22f8e5,attributes:_0x110127})=>{const _0x88256f=_0x523fda;await this[_0x88256f(0x122)]();const _0x3dca0c={'id':_0x4908b8,'type':_0x47ba31,'data':_0x5ca3c4,'originalSuggestionId':_0x22f8e5,'attributes':_0x110127},_0x4fe676=await this[_0x88256f(0x119)][_0x88256f(0xfe)](_0x4908b8,_0x47ba31,_0x5ca3c4,_0x22f8e5,_0x110127)[_0x88256f(0x118)](_0x28a48d=>{if(st(_0x28a48d))return new Promise(_0x2b53e1=>{const _0x2d80da=_0x5a02;this[_0x2d80da(0x125)][_0x2d80da(0x128)](_0x4908b8,{'resolve':_0x2b53e1,'suggestionData':_0x3dca0c});});throw _0x28a48d;});return this[_0x88256f(0x125)][_0x88256f(0x116)](_0x4908b8),_0x4fe676;},'updateSuggestion':async(_0x5801f2,_0x231b26)=>{const _0x332ae9=_0x523fda;if(await this[_0x332ae9(0x122)](),_0x332ae9(0x136)!==_0x231b26[_0x332ae9(0x105)])return this[_0x332ae9(0x119)][_0x332ae9(0x12b)](_0x5801f2,_0x231b26)[_0x332ae9(0x118)](R);}},this[_0x523fda(0x126)](this[_0x523fda(0x119)],_0x523fda(0x12a),(_0x3b80fa,_0x2767cb)=>{const _0x58eb48=_0x523fda;_0x3ea48f[_0x58eb48(0x106)](_0x2767cb['id'])&&(_0x3ea48f[_0x58eb48(0x12d)](_0x2767cb['id'])[_0x58eb48(0x101)]=_0x2767cb[_0x58eb48(0x101)]);}),this[_0x523fda(0x119)][_0x523fda(0x115)](_0x1235c[_0x523fda(0x133)])[_0x523fda(0x11d)](_0x34a544=>(_0x1235c[_0x523fda(0x117)](this),this[_0x523fda(0xff)](_0x34a544)[_0x523fda(0x11d)](()=>{const _0x44ec59=_0x523fda;for(const _0x3d93e9 of _0x34a544){_0x3ea48f[_0x44ec59(0x137)](_0x3d93e9)[_0x44ec59(0x135)]=!0x0;}})));}async[_0x51c23b(0x113)](){const _0x5866be=_0x51c23b,_0x2e6ca9=this[_0x5866be(0x138)][_0x5866be(0x108)][_0x5866be(0x123)](_0x5866be(0x10d)),{connection:_0x52338b}=this[_0x5866be(0x138)][_0x5866be(0x108)][_0x5866be(0x123)](_0x747d4),_0x1297fd=await this[_0x5866be(0x119)][_0x5866be(0x115)](_0x52338b);await this[_0x5866be(0xff)](_0x1297fd);for(const {suggestionData:_0x3f5268,resolve:_0x3ad017}of this[_0x5866be(0x125)][_0x5866be(0x107)]()){let _0x183689=_0x1297fd[_0x5866be(0x129)](_0x14834d=>_0x14834d['id']===_0x3f5268['id']);_0x183689||(_0x183689=await this[_0x5866be(0x119)][_0x5866be(0xfe)](_0x3f5268['id'],_0x3f5268[_0x5866be(0x132)],_0x3f5268[_0x5866be(0x10a)],_0x3f5268[_0x5866be(0x10f)])),_0x3ad017(_0x183689);}for(const _0x221f37 of _0x1297fd)_0x2e6ca9[_0x5866be(0x106)](_0x221f37['id'])||_0x2e6ca9[_0x5866be(0x137)](_0x221f37);}async[_0x51c23b(0x122)](){const _0x4970e8=_0x51c23b;this[_0x4970e8(0x119)][_0x4970e8(0x120)]||await new Promise(_0x5c8477=>{const _0x25c053=_0x4970e8;this[_0x25c053(0x126)](this[_0x25c053(0x119)],_0x25c053(0x100),_0x258622=>{const _0x2c942e=_0x25c053;_0x258622[_0x2c942e(0x11a)](),_0x5c8477();});});}async[_0x51c23b(0xff)](_0x4659c7){const _0x33f28a=_0x51c23b,_0x2458ca=this[_0x33f28a(0x138)][_0x33f28a(0x108)][_0x33f28a(0x123)](_0x6760bd),{connection:_0x343602}=this[_0x33f28a(0x138)][_0x33f28a(0x108)][_0x33f28a(0x123)](_0x747d4),_0x30e06a=new Set();for(const {authorId:_0x2eb2b3}of _0x4659c7)_0x2458ca[_0x33f28a(0x12c)](_0x2eb2b3)||_0x30e06a[_0x33f28a(0xfe)](_0x2eb2b3);if(0x0===_0x30e06a[_0x33f28a(0x11b)])return;const _0x358f42=await _0x366c0f[_0x33f28a(0x112)](_0x343602,Array[_0x33f28a(0x10b)](_0x30e06a));for(const _0x3b7401 of _0x358f42)_0x2458ca[_0x33f28a(0x12c)](_0x3b7401['id'])||_0x2458ca[_0x33f28a(0x114)](_0x3b7401);}}function _0x3810(){const _0x4fdb1a=['adapter','add','_fetchMissingUsersForThreads','connected','attributes','cloud-services-internal-error:\x20Request\x20timeout.','929142xWUuux','startsWith','state','hasSuggestion','values','plugins','init','data','from','6TBrOeq','TrackChangesEditing','4264waqkcV','originalSuggestionId','message','TrackChangesService','getMany','reconnect','addUser','connect','delete','addToReconnectionStack','catch','_trackChangesService','off','size','3794ALMwbB','then','855528yjFqzC','collaboration.channelId','isConnected','requires','_waitForServiceReady','get','9TvJNWA','_bufferedRequests','listenTo','cloud-services-internal-error:\x20Not\x20connected.','set','find','suggestionUpdated','update','getUser','getSuggestion','68902InmVCV','382807JCVgfz','5375180HFZGrY','config','type','connection','976945QMXMmX','_saved','open','addSuggestionData','editor'];_0x3810=function(){return _0x4fdb1a;};return _0x3810();}g[_0x51c23b(0x111)]=_0x2b5cb6;export default g;function _0x5a02(_0x1b38f1,_0x9b69f2){const _0x38108c=_0x3810();return _0x5a02=function(_0x5a02ed,_0x198631){_0x5a02ed=_0x5a02ed-0xfd;let _0x72ecb9=_0x38108c[_0x5a02ed];return _0x72ecb9;},_0x5a02(_0x1b38f1,_0x9b69f2);}function R(_0x485974){if(st(_0x485974))return new Promise(()=>{});throw _0x485974;}function st(_0xb4aea0){const _0x54f7d4=_0x51c23b;return _0xb4aea0[_0x54f7d4(0x110)][_0x54f7d4(0x104)](_0x54f7d4(0x127))||_0xb4aea0[_0x54f7d4(0x110)][_0x54f7d4(0x104)](_0x54f7d4(0x102));}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2534bf=_0x2f3d;(function(_0x33a954,_0x4f09d2){var _0x5c8936=_0x2f3d,_0x51b544=_0x33a954();while(!![]){try{var _0x3651ed=parseInt(_0x5c8936(0xea))/0x1*(parseInt(_0x5c8936(0xec))/0x2)+parseInt(_0x5c8936(0xeb))/0x3+-parseInt(_0x5c8936(0xf4))/0x4+parseInt(_0x5c8936(0xe9))/0x5+parseInt(_0x5c8936(0xee))/0x6+parseInt(_0x5c8936(0xed))/0x7+-parseInt(_0x5c8936(0xf0))/0x8*(parseInt(_0x5c8936(0xf1))/0x9);if(_0x3651ed===_0x4f09d2)break;else _0x51b544['push'](_0x51b544['shift']());}catch(_0xe2671d){_0x51b544['push'](_0x51b544['shift']());}}}(_0x533c,0x3f28b));function _0x533c(){var _0x4fb0fc=['117VYDdAp','pluginName','RealTimeCollaborativeTrackChanges','1039040dpJYGt','requires','2057985UWclRN','469549GHWeoo','623199yyMgvV','2fzkoph','2068437CeJLwh','2365932ExwvLU','TrackChanges','775528tdpwyT'];_0x533c=function(){return _0x4fb0fc;};return _0x533c();}import{Plugin as _0x59a687}from'ckeditor5/src/core.js';import _0x2e147a from'./realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js';import _0x4783e6 from'./realtimecollaborativecomments.js';function _0x2f3d(_0x237ab4,_0x536f66){var _0x533ccd=_0x533c();return _0x2f3d=function(_0x2f3d0a,_0x21076f){_0x2f3d0a=_0x2f3d0a-0xe9;var _0x17c4a2=_0x533ccd[_0x2f3d0a];return _0x17c4a2;},_0x2f3d(_0x237ab4,_0x536f66);}export default class p extends _0x59a687{static get[_0x2534bf(0xf5)](){var _0x1229cf=_0x2534bf;return[_0x4783e6,_0x2e147a,_0x1229cf(0xef)];}static get[_0x2534bf(0xf2)](){var _0x126615=_0x2534bf;return _0x126615(0xf3);}}
|