@ckeditor/ckeditor5-real-time-collaboration 44.0.0-alpha.4 → 44.0.0-alpha.5
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/package.json +9 -9
- package/src/presencelist/presencelistui.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/presencelistview.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +1 -1
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4bb15a=_0x50fd;function _0x50fd(_0x473d41,_0x399317){const _0x38d6a8=_0x38d6();return _0x50fd=function(_0x50fd06,_0x1e9d90){_0x50fd06=_0x50fd06-0x18f;let _0x59e8f1=_0x38d6a8[_0x50fd06];return _0x59e8f1;},_0x50fd(_0x473d41,_0x399317);}(function(_0x183087,_0x42e165){const _0x2f5063=_0x50fd,_0x4bea0e=_0x183087();while(!![]){try{const _0x30ccdc=parseInt(_0x2f5063(0x1ca))/0x1+-parseInt(_0x2f5063(0x1e8))/0x2+parseInt(_0x2f5063(0x1db))/0x3+-parseInt(_0x2f5063(0x1d0))/0x4+-parseInt(_0x2f5063(0x1c7))/0x5*(parseInt(_0x2f5063(0x1c6))/0x6)+-parseInt(_0x2f5063(0x1b7))/0x7*(parseInt(_0x2f5063(0x1bb))/0x8)+parseInt(_0x2f5063(0x190))/0x9*(parseInt(_0x2f5063(0x191))/0xa);if(_0x30ccdc===_0x42e165)break;else _0x4bea0e['push'](_0x4bea0e['shift']());}catch(_0x36ac0b){_0x4bea0e['push'](_0x4bea0e['shift']());}}}(_0x38d6,0x300b2));function _0x38d6(){const _0x318efc=['plugins','_bodyCollection','presenceList.container','presenceDropdownView','view','class','822LtptsA','1915BDXQTq','presencelist-missing-container','Tab','231230QuislT','render','querySelectorAll','from','focusTracker','presenceList.collapseAt','1471772TgDCXU','join','indexOf','number','hideDropdown','unpin','destroy','presenceList.displayMe','filter','keystrokes','hasTooltip','913725axQoNZ','bindTo','min','activeElement','isVisible','detachFromDom','showDropdown','pin','attachToDom','onClick','Shift+Tab','button','balloonPanelView','679074qkOtak','isHidden',':not([disabled]):not([tabindex=\x22-1\x22])','_handleUserAdd','map','_handleUserRemove','[tabindex]','length','isRendered','Enter','get','element','config','504VOirxW','127990iALrnX','input','isMe','checkIfScrollable','add','currentDisplayedUsers','bind','init','isExpanded','requires','usersCount','listenTo','allConnectedUsers','tabIndex','items','presenceList','select','change:isFocused','[contenteditable]','body','_allConnectedUsers','ck\x20ck-presence-list__balloon','Esc','appendChild','counterView','using','locale','focus','isCollapsed','reverse','execute','offsetHeight','displayMe','presencelist-collapseat-invalid-format','isFocusable','define','_createView','textarea','3486uSveNj','inlineListView','remove','offsetWidth','4752lJlgPD','sort','content','set','context'];_0x38d6=function(){return _0x318efc;};return _0x38d6();}import{ContextPlugin as _0x57cad8}from'ckeditor5/src/core.js';import{CKEditorError as _0x290dfe,Collection as _0xc31ba5}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2316e6,BalloonPanelView as _0x3d6bf9,BodyCollection as _0x12c172}from'ckeditor5/src/ui.js';import{isElement as _0x23244e}from'lodash-es';import _0x3d71ae from'../realtimecollaborativeediting/sessions.js';import _0x22c61f from'./view/presencelistview.js';import _0x315675 from'./view/presencedropdownlistview.js';import _0x54aa72 from'./view/presencedropdownlistitemview.js';import _0x8a386f from'./view/presenceinlinelistitemview.js';const A={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x57cad8{constructor(_0x30b7c2){const _0x41d787=_0x50fd;super(_0x30b7c2),this[_0x41d787(0x1c1)]=null,this[_0x41d787(0x1bf)][_0x41d787(0x18f)][_0x41d787(0x1b4)](_0x41d787(0x1a0),A);const _0x2fe7ee=_0x30b7c2[_0x41d787(0x18f)][_0x41d787(0x1f2)](_0x41d787(0x1cf));if(_0x41d787(0x1d3)!=typeof _0x2fe7ee)throw new _0x290dfe(_0x41d787(0x1b2),this);if(_0x2fe7ee<0x1)throw new _0x290dfe(_0x41d787(0x1b2),this);this[_0x41d787(0x1a5)]=this[_0x41d787(0x1bf)][_0x41d787(0x1c0)][_0x41d787(0x1f2)](_0x3d71ae)[_0x41d787(0x19d)],this[_0x41d787(0x1be)](_0x41d787(0x19b),0x0),this[_0x41d787(0x196)]=new _0xc31ba5(),this[_0x41d787(0x1e7)]=new _0x3d6bf9(),this[_0x41d787(0x1e7)][_0x41d787(0x1c5)]=_0x41d787(0x1a6),this[_0x41d787(0x1c4)]=this[_0x41d787(0x1b5)](),this[_0x41d787(0x1c3)]=void 0x0;}static get[_0x4bb15a(0x19a)](){return[_0x3d71ae];}[_0x4bb15a(0x198)](){const _0x568e8f=_0x4bb15a;for(const _0x493a1a of this[_0x568e8f(0x1a5)])this[_0x568e8f(0x1eb)](_0x493a1a);this[_0x568e8f(0x19c)](this[_0x568e8f(0x1a5)],_0x568e8f(0x195),(_0x160279,_0x218118)=>{const _0x2530d9=_0x568e8f;this[_0x2530d9(0x1eb)](_0x218118);}),this[_0x568e8f(0x19c)](this[_0x568e8f(0x1a5)],_0x568e8f(0x1b9),(_0x2bd17a,_0x236e2f)=>{const _0x3aefe1=_0x568e8f;this[_0x3aefe1(0x1ed)](_0x236e2f);});}[_0x4bb15a(0x1b5)](){const _0x14facb=_0x4bb15a,_0xaf80d1=this[_0x14facb(0x1bf)],_0x32b834=new _0x22c61f(this[_0x14facb(0x1bf)][_0x14facb(0x1ab)]),_0x240e25=this[_0x14facb(0x1e7)];if(!_0x23244e(_0xaf80d1[_0x14facb(0x18f)][_0x14facb(0x1f2)](_0x14facb(0x1c2))))throw new _0x290dfe(_0x14facb(0x1c8),this);return _0x32b834[_0x14facb(0x1a9)][_0x14facb(0x197)](_0x14facb(0x19b))['to'](this),_0x32b834[_0x14facb(0x197)](_0x14facb(0x1ad))['to'](this,_0x14facb(0x19b),_0x231fbf=>{const _0x217191=_0x14facb,{collapseAt:_0x3b0272,displayMe:_0x5cda8}=_0xaf80d1[_0x217191(0x18f)][_0x217191(0x1f2)](_0x217191(0x1a0)),_0x4edc42=_0x231fbf>=_0x3b0272;return _0x32b834[_0x217191(0x1a9)][_0x217191(0x1e9)]=!(0x1==_0x231fbf&&_0x5cda8||_0x4edc42),_0x4edc42||this[_0x217191(0x1d4)](),_0x4edc42;}),_0x32b834[_0x14facb(0x1b8)][_0x14facb(0x19f)][_0x14facb(0x1dc)](this[_0x14facb(0x196)])[_0x14facb(0x1aa)](_0x1b3263=>{const _0x48ffa2=_0x14facb,_0x18bd6a=_0xaf80d1[_0x48ffa2(0x18f)][_0x48ffa2(0x1f2)](_0x48ffa2(0x1a0)),_0x4062de=new _0x8a386f(_0xaf80d1[_0x48ffa2(0x1ab)],_0x1b3263,!!_0x18bd6a[_0x48ffa2(0x1e4)]);return _0x4062de[_0x48ffa2(0x197)](_0x48ffa2(0x1da))['to'](_0x32b834,_0x48ffa2(0x1ad),_0x32c554=>!_0x32c554),_0x4062de[_0x48ffa2(0x197)](_0x48ffa2(0x1b3))['to'](_0x32b834,_0x48ffa2(0x1ad),_0x302947=>!_0x302947),_0x18bd6a[_0x48ffa2(0x1e4)]&&this[_0x48ffa2(0x19c)](_0x4062de,_0x48ffa2(0x1af),()=>{const _0x54c530=_0x48ffa2;this[_0x54c530(0x1c4)][_0x54c530(0x1ad)]||_0x18bd6a[_0x54c530(0x1e4)](_0x1b3263,_0x4062de[_0x54c530(0x1f3)]);}),_0x4062de;}),this[_0x14facb(0x19c)](_0x32b834[_0x14facb(0x1b8)],_0x14facb(0x1af),()=>{const _0x4537ec=_0x14facb;this[_0x4537ec(0x1c3)]?this[_0x4537ec(0x1d4)]():this[_0x4537ec(0x1c4)][_0x4537ec(0x1ad)]&&this[_0x4537ec(0x1e1)]();}),_0x32b834[_0x14facb(0x1b8)][_0x14facb(0x1d9)][_0x14facb(0x1be)](_0x14facb(0x1f1),(_0x181780,_0x1bc252)=>{const _0x32f7e7=_0x14facb;this[_0x32f7e7(0x1c4)][_0x32f7e7(0x1ad)]&&(this[_0x32f7e7(0x1e1)](),_0x1bc252());}),_0x32b834[_0x14facb(0x1cb)](),_0x240e25[_0x14facb(0x1cb)](),_0x2316e6({'emitter':_0x32b834,'activator':()=>_0x240e25[_0x14facb(0x1df)],'contextElements':[_0x240e25[_0x14facb(0x1f3)],_0x32b834[_0x14facb(0x1b8)][_0x14facb(0x1f3)]],'callback':()=>this[_0x14facb(0x1d4)]()}),_0xaf80d1[_0x14facb(0x18f)][_0x14facb(0x1f2)](_0x14facb(0x1c2))[_0x14facb(0x1a8)](_0x32b834[_0x14facb(0x1f3)]),this[_0x14facb(0x1c1)]=new _0x12c172(this[_0x14facb(0x1bf)][_0x14facb(0x1ab)]),this[_0x14facb(0x1c1)][_0x14facb(0x1e3)](),this[_0x14facb(0x1c1)][_0x14facb(0x195)](this[_0x14facb(0x1e7)]),_0x32b834;}[_0x4bb15a(0x1eb)](_0x77b734){const _0x47760f=_0x4bb15a;if(!this[_0x47760f(0x1bf)][_0x47760f(0x18f)][_0x47760f(0x1f2)](_0x47760f(0x1d7))&&_0x77b734[_0x47760f(0x193)])return;const _0x4592d4=this[_0x47760f(0x1bf)][_0x47760f(0x18f)][_0x47760f(0x1f2)](_0x47760f(0x1cf))-0x1;this[_0x47760f(0x19b)]++,this[_0x47760f(0x196)][_0x47760f(0x1ef)]==_0x4592d4&&this[_0x47760f(0x196)][_0x47760f(0x1ef)]>0x1&&this[_0x47760f(0x196)][_0x47760f(0x1b9)](0x1);const _0x3cb246=_0x77b734[_0x47760f(0x193)]?0x0:this[_0x47760f(0x196)][_0x47760f(0x1ef)];this[_0x47760f(0x196)][_0x47760f(0x195)](_0x77b734,_0x3cb246);}[_0x4bb15a(0x1ed)](_0x1e8a9d){const _0x30514e=_0x4bb15a;if(this[_0x30514e(0x19b)]--,this[_0x30514e(0x196)][_0x30514e(0x1f2)](_0x1e8a9d['id'])&&(this[_0x30514e(0x196)][_0x30514e(0x1b9)](_0x1e8a9d['id']),this[_0x30514e(0x196)][_0x30514e(0x1ef)]<this[_0x30514e(0x19b)])){for(const _0x539244 of Array[_0x30514e(0x1cd)](this[_0x30514e(0x1a5)])[_0x30514e(0x1ae)]())if(!this[_0x30514e(0x196)][_0x30514e(0x1f2)](_0x539244['id']))return void this[_0x30514e(0x196)][_0x30514e(0x195)](_0x539244,Math[_0x30514e(0x1dd)](this[_0x30514e(0x196)][_0x30514e(0x1ef)],0x1));}}[_0x4bb15a(0x1e1)](){const _0x15bb28=_0x4bb15a;if(this[_0x15bb28(0x1c3)])return;const _0x325a5a=this[_0x15bb28(0x1bf)][_0x15bb28(0x18f)][_0x15bb28(0x1f2)](_0x15bb28(0x1a0));this[_0x15bb28(0x1c3)]=new _0x315675(this[_0x15bb28(0x1bf)][_0x15bb28(0x1ab)],!!_0x325a5a[_0x15bb28(0x1e4)]),this[_0x15bb28(0x1c4)][_0x15bb28(0x1b8)][_0x15bb28(0x199)]=!0x0;const {listWrapperView:_0x7e44d1}=this[_0x15bb28(0x1c3)];_0x7e44d1[_0x15bb28(0x19f)][_0x15bb28(0x1dc)](this[_0x15bb28(0x1a5)])[_0x15bb28(0x1aa)](_0x5961bf=>{const _0x37d4d6=_0x15bb28;if(!_0x325a5a[_0x37d4d6(0x1b1)]&&_0x5961bf[_0x37d4d6(0x193)])return null;const _0x5c17f5=new _0x54aa72(this[_0x37d4d6(0x1bf)][_0x37d4d6(0x1ab)],_0x5961bf,!!_0x325a5a[_0x37d4d6(0x1e4)]);return _0x325a5a[_0x37d4d6(0x1e4)]&&this[_0x37d4d6(0x19c)](_0x5c17f5,_0x37d4d6(0x1af),()=>{const _0x4c2f21=_0x37d4d6;_0x325a5a[_0x4c2f21(0x1e4)](_0x5961bf,_0x5c17f5[_0x4c2f21(0x1f3)]);}),_0x5c17f5;}),this[_0x15bb28(0x1e7)][_0x15bb28(0x1bd)][_0x15bb28(0x195)](this[_0x15bb28(0x1c3)]),this[_0x15bb28(0x1e7)][_0x15bb28(0x1e2)]({'target':this[_0x15bb28(0x1c4)][_0x15bb28(0x1b8)][_0x15bb28(0x1f3)]}),_0x7e44d1[_0x15bb28(0x1ac)](),_0x7e44d1[_0x15bb28(0x194)]();const _0xfc2f9d=(_0x1450fc,_0x208a87)=>{const _0x4501f3=_0x15bb28;this[_0x4501f3(0x1d4)](),this[_0x4501f3(0x1c4)][_0x4501f3(0x1b8)][_0x4501f3(0x1ac)](),_0x208a87();};_0x7e44d1[_0x15bb28(0x1d9)][_0x15bb28(0x1be)](_0x15bb28(0x1a7),_0xfc2f9d),_0x7e44d1[_0x15bb28(0x1d9)][_0x15bb28(0x1be)](_0x15bb28(0x1e5),_0xfc2f9d),_0x7e44d1[_0x15bb28(0x1d9)][_0x15bb28(0x1be)](_0x15bb28(0x1c9),(_0x33832e,_0x341252)=>{const _0x5b0214=_0x15bb28;!function(_0x374063){const _0x4bd399=_0x50fd,_0x7921f=['a',_0x4bd399(0x1e6),_0x4bd399(0x192),_0x4bd399(0x1a1),_0x4bd399(0x1b6),_0x4bd399(0x1ee),_0x4bd399(0x1a3)][_0x4bd399(0x1ec)](_0x378e7c=>_0x378e7c+_0x4bd399(0x1ea))[_0x4bd399(0x1d1)](','),_0x34a0ba=[...document[_0x4bd399(0x1a4)][_0x4bd399(0x1cc)](_0x7921f)][_0x4bd399(0x1d8)](_0x2b0ac7=>_0x2b0ac7===document[_0x4bd399(0x1de)]||_0x2b0ac7[_0x4bd399(0x1ba)]+_0x2b0ac7[_0x4bd399(0x1b0)]>0x0)[_0x4bd399(0x1bc)]((_0x28a839,_0x413ca9)=>(_0x28a839[_0x4bd399(0x19e)]||0x0)-(_0x413ca9[_0x4bd399(0x19e)]||0x0)),_0x1582f5=_0x34a0ba[_0x4bd399(0x1d2)](_0x374063),_0x132673=_0x34a0ba[(_0x1582f5+0x1)%_0x34a0ba[_0x4bd399(0x1ef)]];_0x132673&&_0x132673[_0x4bd399(0x1ac)]();}(this[_0x5b0214(0x1c4)][_0x5b0214(0x1f3)]),this[_0x5b0214(0x1d4)](),_0x341252();}),_0x7e44d1[_0x15bb28(0x1ce)][_0x15bb28(0x195)](this[_0x15bb28(0x1c4)][_0x15bb28(0x1f3)]),_0x7e44d1[_0x15bb28(0x1ce)]['on'](_0x15bb28(0x1a2),(_0x225fb6,_0x4f24db,_0x70fdd2)=>{const _0xa84398=_0x15bb28;_0x70fdd2||this[_0xa84398(0x1d4)]();});}[_0x4bb15a(0x1d4)](){const _0x3d3d7a=_0x4bb15a;this[_0x3d3d7a(0x1c3)]&&(this[_0x3d3d7a(0x1c4)][_0x3d3d7a(0x1b8)][_0x3d3d7a(0x199)]=!0x1,this[_0x3d3d7a(0x1e7)][_0x3d3d7a(0x1d5)](),this[_0x3d3d7a(0x1e7)][_0x3d3d7a(0x1bd)][_0x3d3d7a(0x1b9)](this[_0x3d3d7a(0x1c3)]),this[_0x3d3d7a(0x1c3)][_0x3d3d7a(0x1d6)](),this[_0x3d3d7a(0x1c3)]=void 0x0);}[_0x4bb15a(0x1d6)](){const _0x45a7b2=_0x4bb15a;super[_0x45a7b2(0x1d6)](),this[_0x45a7b2(0x1c4)]&&this[_0x45a7b2(0x1c4)][_0x45a7b2(0x1f0)]&&this[_0x45a7b2(0x1c4)][_0x45a7b2(0x1d6)](),this[_0x45a7b2(0x1c1)]&&(this[_0x45a7b2(0x1c1)][_0x45a7b2(0x1e0)](),this[_0x45a7b2(0x1c1)][_0x45a7b2(0x1d6)](),this[_0x45a7b2(0x1c1)]=null);}}
|
|
23
|
+
const _0x3e1619=_0x345a;(function(_0x4fbe0a,_0x38e4d3){const _0x36dff7=_0x345a,_0x487548=_0x4fbe0a();while(!![]){try{const _0x37d3ee=parseInt(_0x36dff7(0x1ac))/0x1+-parseInt(_0x36dff7(0x18f))/0x2+-parseInt(_0x36dff7(0x185))/0x3*(parseInt(_0x36dff7(0x1ca))/0x4)+parseInt(_0x36dff7(0x184))/0x5*(-parseInt(_0x36dff7(0x1d2))/0x6)+-parseInt(_0x36dff7(0x191))/0x7*(parseInt(_0x36dff7(0x189))/0x8)+-parseInt(_0x36dff7(0x1e1))/0x9+parseInt(_0x36dff7(0x1cf))/0xa*(parseInt(_0x36dff7(0x1d0))/0xb);if(_0x37d3ee===_0x38e4d3)break;else _0x487548['push'](_0x487548['shift']());}catch(_0x38085f){_0x487548['push'](_0x487548['shift']());}}}(_0xae0c,0x6d3a4));import{ContextPlugin as _0x3eb9e4}from'ckeditor5/src/core.js';function _0x345a(_0x10f054,_0x442abd){const _0xae0cd9=_0xae0c();return _0x345a=function(_0x345a5f,_0x35668f){_0x345a5f=_0x345a5f-0x17e;let _0x14d5fb=_0xae0cd9[_0x345a5f];return _0x14d5fb;},_0x345a(_0x10f054,_0x442abd);}import{CKEditorError as _0x43b4d3,Collection as _0x18baa0}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2684b3,BalloonPanelView as _0x57910a,BodyCollection as _0x3335f2}from'ckeditor5/src/ui.js';import{isElement as _0x4a2bfe}from'lodash-es';import _0x2e8f98 from'../realtimecollaborativeediting/sessions.js';import _0x6cbf81 from'./view/presencelistview.js';import _0x5dd37a from'./view/presencedropdownlistview.js';import _0x48d175 from'./view/presencedropdownlistitemview.js';import _0x478fb7 from'./view/presenceinlinelistitemview.js';function _0xae0c(){const _0x13c9e4=['reverse','filter','_bodyCollection','Esc','offsetHeight','Enter','isRendered','body','element','define','keystrokes','attachToDom','hideDropdown','onClick','destroy','join','_handleUserRemove','class','inlineListView','add','focus','checkIfScrollable','pin','[tabindex]',':not([disabled]):not([tabindex=\x22-1\x22])','min','balloonPanelView','20nmYmtZ','presenceList.displayMe','select','button','Tab','60XkZExg','2075381ifQyUK','get','385362jXuBDJ','Shift+Tab','plugins','isCollapsed','unpin','displayMe','items','showDropdown','_createView','focusTracker','tabIndex','activeElement','remove','indexOf','ck\x20ck-presence-list__balloon','3195774ePhXeo','change:isFocused','counterView','context','render','content','offsetWidth','number','_allConnectedUsers','15hiDqGD','21999dtYpXk','detachFromDom','view','execute','716912WdYYsb','usersCount','length','set','querySelectorAll','input','405020xahThM','_handleUserAdd','49vltpiW','allConnectedUsers','sort','map','presenceList','presenceDropdownView','bind','isFocusable','bindTo','textarea','presencelist-missing-container','using','listenTo','isVisible','init','appendChild','isHidden','locale','isMe','from','presenceList.collapseAt','config','[contenteditable]','hasTooltip','requires','currentDisplayedUsers','presenceList.container','729610ocEiBn','isExpanded','presencelist-collapseat-invalid-format'];_0xae0c=function(){return _0x13c9e4;};return _0xae0c();}const D={'collapseAt':0x6,'displayMe':!0x0};export default class r extends _0x3eb9e4{constructor(_0x54dbdd){const _0x5071b7=_0x345a;super(_0x54dbdd),this[_0x5071b7(0x1b1)]=null,this[_0x5071b7(0x17e)][_0x5071b7(0x1a6)][_0x5071b7(0x1b8)](_0x5071b7(0x195),D);const _0x4e455b=_0x54dbdd[_0x5071b7(0x1a6)][_0x5071b7(0x1d1)](_0x5071b7(0x1a5));if(_0x5071b7(0x182)!=typeof _0x4e455b)throw new _0x43b4d3(_0x5071b7(0x1ae),this);if(_0x4e455b<0x1)throw new _0x43b4d3(_0x5071b7(0x1ae),this);this[_0x5071b7(0x183)]=this[_0x5071b7(0x17e)][_0x5071b7(0x1d4)][_0x5071b7(0x1d1)](_0x2e8f98)[_0x5071b7(0x192)],this[_0x5071b7(0x18c)](_0x5071b7(0x18a),0x0),this[_0x5071b7(0x1aa)]=new _0x18baa0(),this[_0x5071b7(0x1c9)]=new _0x57910a(),this[_0x5071b7(0x1c9)][_0x5071b7(0x1c0)]=_0x5071b7(0x1e0),this[_0x5071b7(0x187)]=this[_0x5071b7(0x1da)](),this[_0x5071b7(0x196)]=void 0x0;}static get[_0x3e1619(0x1a9)](){return[_0x2e8f98];}[_0x3e1619(0x19f)](){const _0x5abec8=_0x3e1619;for(const _0x1691fe of this[_0x5abec8(0x183)])this[_0x5abec8(0x190)](_0x1691fe);this[_0x5abec8(0x19d)](this[_0x5abec8(0x183)],_0x5abec8(0x1c2),(_0x3968fb,_0x1e1e93)=>{const _0x1f7944=_0x5abec8;this[_0x1f7944(0x190)](_0x1e1e93);}),this[_0x5abec8(0x19d)](this[_0x5abec8(0x183)],_0x5abec8(0x1de),(_0x4c880b,_0x3eb1ca)=>{const _0x566c36=_0x5abec8;this[_0x566c36(0x1bf)](_0x3eb1ca);});}[_0x3e1619(0x1da)](){const _0x273237=_0x3e1619,_0x1da760=this[_0x273237(0x17e)],_0x205a9a=new _0x6cbf81(this[_0x273237(0x17e)][_0x273237(0x1a2)]),_0x2ed221=this[_0x273237(0x1c9)];if(!_0x4a2bfe(_0x1da760[_0x273237(0x1a6)][_0x273237(0x1d1)](_0x273237(0x1ab))))throw new _0x43b4d3(_0x273237(0x19b),this);return _0x205a9a[_0x273237(0x1e3)][_0x273237(0x197)](_0x273237(0x18a))['to'](this),_0x205a9a[_0x273237(0x197)](_0x273237(0x1d5))['to'](this,_0x273237(0x18a),_0x2b10a3=>{const _0x457b18=_0x273237,{collapseAt:_0x8e3f5c,displayMe:_0x5d629b}=_0x1da760[_0x457b18(0x1a6)][_0x457b18(0x1d1)](_0x457b18(0x195)),_0x59b4c6=_0x2b10a3>=_0x8e3f5c;return _0x205a9a[_0x457b18(0x1e3)][_0x457b18(0x1a1)]=!(0x1==_0x2b10a3&&_0x5d629b||_0x59b4c6),_0x59b4c6||this[_0x457b18(0x1bb)](),_0x59b4c6;}),_0x205a9a[_0x273237(0x1c1)][_0x273237(0x1d8)][_0x273237(0x199)](this[_0x273237(0x1aa)])[_0x273237(0x19c)](_0x6b5523=>{const _0x3c7d37=_0x273237,_0x5573d6=_0x1da760[_0x3c7d37(0x1a6)][_0x3c7d37(0x1d1)](_0x3c7d37(0x195)),_0x151184=new _0x478fb7(_0x1da760[_0x3c7d37(0x1a2)],_0x6b5523,!!_0x5573d6[_0x3c7d37(0x1bc)]);return _0x151184[_0x3c7d37(0x197)](_0x3c7d37(0x1a8))['to'](_0x205a9a,_0x3c7d37(0x1d5),_0x2f5b56=>!_0x2f5b56),_0x151184[_0x3c7d37(0x197)](_0x3c7d37(0x198))['to'](_0x205a9a,_0x3c7d37(0x1d5),_0x1d43ec=>!_0x1d43ec),_0x5573d6[_0x3c7d37(0x1bc)]&&this[_0x3c7d37(0x19d)](_0x151184,_0x3c7d37(0x188),()=>{const _0xbb1f32=_0x3c7d37;this[_0xbb1f32(0x187)][_0xbb1f32(0x1d5)]||_0x5573d6[_0xbb1f32(0x1bc)](_0x6b5523,_0x151184[_0xbb1f32(0x1b7)]);}),_0x151184;}),this[_0x273237(0x19d)](_0x205a9a[_0x273237(0x1c1)],_0x273237(0x188),()=>{const _0x20db65=_0x273237;this[_0x20db65(0x196)]?this[_0x20db65(0x1bb)]():this[_0x20db65(0x187)][_0x20db65(0x1d5)]&&this[_0x20db65(0x1d9)]();}),_0x205a9a[_0x273237(0x1c1)][_0x273237(0x1b9)][_0x273237(0x18c)](_0x273237(0x1b4),(_0x496abe,_0x4e7a88)=>{const _0x57465d=_0x273237;this[_0x57465d(0x187)][_0x57465d(0x1d5)]&&(this[_0x57465d(0x1d9)](),_0x4e7a88());}),_0x205a9a[_0x273237(0x17f)](),_0x2ed221[_0x273237(0x17f)](),_0x2684b3({'emitter':_0x205a9a,'activator':()=>_0x2ed221[_0x273237(0x19e)],'contextElements':[_0x2ed221[_0x273237(0x1b7)],_0x205a9a[_0x273237(0x1c1)][_0x273237(0x1b7)]],'callback':()=>this[_0x273237(0x1bb)]()}),_0x1da760[_0x273237(0x1a6)][_0x273237(0x1d1)](_0x273237(0x1ab))[_0x273237(0x1a0)](_0x205a9a[_0x273237(0x1b7)]),this[_0x273237(0x1b1)]=new _0x3335f2(this[_0x273237(0x17e)][_0x273237(0x1a2)]),this[_0x273237(0x1b1)][_0x273237(0x1ba)](),this[_0x273237(0x1b1)][_0x273237(0x1c2)](this[_0x273237(0x1c9)]),_0x205a9a;}[_0x3e1619(0x190)](_0x55811e){const _0x515de4=_0x3e1619;if(!this[_0x515de4(0x17e)][_0x515de4(0x1a6)][_0x515de4(0x1d1)](_0x515de4(0x1cb))&&_0x55811e[_0x515de4(0x1a3)])return;const _0x58909b=this[_0x515de4(0x17e)][_0x515de4(0x1a6)][_0x515de4(0x1d1)](_0x515de4(0x1a5))-0x1;this[_0x515de4(0x18a)]++,this[_0x515de4(0x1aa)][_0x515de4(0x18b)]==_0x58909b&&this[_0x515de4(0x1aa)][_0x515de4(0x18b)]>0x1&&this[_0x515de4(0x1aa)][_0x515de4(0x1de)](0x1);const _0x20f0ac=_0x55811e[_0x515de4(0x1a3)]?0x0:this[_0x515de4(0x1aa)][_0x515de4(0x18b)];this[_0x515de4(0x1aa)][_0x515de4(0x1c2)](_0x55811e,_0x20f0ac);}[_0x3e1619(0x1bf)](_0x1ee301){const _0x12f2eb=_0x3e1619;if(this[_0x12f2eb(0x18a)]--,this[_0x12f2eb(0x1aa)][_0x12f2eb(0x1d1)](_0x1ee301['id'])&&(this[_0x12f2eb(0x1aa)][_0x12f2eb(0x1de)](_0x1ee301['id']),this[_0x12f2eb(0x1aa)][_0x12f2eb(0x18b)]<this[_0x12f2eb(0x18a)])){for(const _0x587f6b of Array[_0x12f2eb(0x1a4)](this[_0x12f2eb(0x183)])[_0x12f2eb(0x1af)]())if(!this[_0x12f2eb(0x1aa)][_0x12f2eb(0x1d1)](_0x587f6b['id']))return void this[_0x12f2eb(0x1aa)][_0x12f2eb(0x1c2)](_0x587f6b,Math[_0x12f2eb(0x1c8)](this[_0x12f2eb(0x1aa)][_0x12f2eb(0x18b)],0x1));}}[_0x3e1619(0x1d9)](){const _0x394bf2=_0x3e1619;if(this[_0x394bf2(0x196)])return;const _0x9dc877=this[_0x394bf2(0x17e)][_0x394bf2(0x1a6)][_0x394bf2(0x1d1)](_0x394bf2(0x195));this[_0x394bf2(0x196)]=new _0x5dd37a(this[_0x394bf2(0x17e)][_0x394bf2(0x1a2)],!!_0x9dc877[_0x394bf2(0x1bc)]),this[_0x394bf2(0x187)][_0x394bf2(0x1c1)][_0x394bf2(0x1ad)]=!0x0;const {listWrapperView:_0x299af3}=this[_0x394bf2(0x196)];_0x299af3[_0x394bf2(0x1d8)][_0x394bf2(0x199)](this[_0x394bf2(0x183)])[_0x394bf2(0x19c)](_0x1b89c1=>{const _0x12573f=_0x394bf2;if(!_0x9dc877[_0x12573f(0x1d7)]&&_0x1b89c1[_0x12573f(0x1a3)])return null;const _0x2fb25b=new _0x48d175(this[_0x12573f(0x17e)][_0x12573f(0x1a2)],_0x1b89c1,!!_0x9dc877[_0x12573f(0x1bc)]);return _0x9dc877[_0x12573f(0x1bc)]&&this[_0x12573f(0x19d)](_0x2fb25b,_0x12573f(0x188),()=>{const _0x35ea86=_0x12573f;_0x9dc877[_0x35ea86(0x1bc)](_0x1b89c1,_0x2fb25b[_0x35ea86(0x1b7)]);}),_0x2fb25b;}),this[_0x394bf2(0x1c9)][_0x394bf2(0x180)][_0x394bf2(0x1c2)](this[_0x394bf2(0x196)]),this[_0x394bf2(0x1c9)][_0x394bf2(0x1c5)]({'target':this[_0x394bf2(0x187)][_0x394bf2(0x1c1)][_0x394bf2(0x1b7)]}),_0x299af3[_0x394bf2(0x1c3)](),_0x299af3[_0x394bf2(0x1c4)]();const _0x146cdc=(_0x41d695,_0x351e9b)=>{const _0x550b1c=_0x394bf2;this[_0x550b1c(0x1bb)](),this[_0x550b1c(0x187)][_0x550b1c(0x1c1)][_0x550b1c(0x1c3)](),_0x351e9b();};_0x299af3[_0x394bf2(0x1b9)][_0x394bf2(0x18c)](_0x394bf2(0x1b2),_0x146cdc),_0x299af3[_0x394bf2(0x1b9)][_0x394bf2(0x18c)](_0x394bf2(0x1d3),_0x146cdc),_0x299af3[_0x394bf2(0x1b9)][_0x394bf2(0x18c)](_0x394bf2(0x1ce),(_0x303f23,_0x448050)=>{const _0x441823=_0x394bf2;!function(_0x3d3d8d){const _0x3defd0=_0x345a,_0x2fc7c8=['a',_0x3defd0(0x1cd),_0x3defd0(0x18e),_0x3defd0(0x1cc),_0x3defd0(0x19a),_0x3defd0(0x1c6),_0x3defd0(0x1a7)][_0x3defd0(0x194)](_0x3c1a71=>_0x3c1a71+_0x3defd0(0x1c7))[_0x3defd0(0x1be)](','),_0x433925=[...document[_0x3defd0(0x1b6)][_0x3defd0(0x18d)](_0x2fc7c8)][_0x3defd0(0x1b0)](_0x39b117=>_0x39b117===document[_0x3defd0(0x1dd)]||_0x39b117[_0x3defd0(0x181)]+_0x39b117[_0x3defd0(0x1b3)]>0x0)[_0x3defd0(0x193)]((_0x5efafe,_0x155625)=>(_0x5efafe[_0x3defd0(0x1dc)]||0x0)-(_0x155625[_0x3defd0(0x1dc)]||0x0)),_0x42ca77=_0x433925[_0x3defd0(0x1df)](_0x3d3d8d),_0x592b79=_0x433925[(_0x42ca77+0x1)%_0x433925[_0x3defd0(0x18b)]];_0x592b79&&_0x592b79[_0x3defd0(0x1c3)]();}(this[_0x441823(0x187)][_0x441823(0x1b7)]),this[_0x441823(0x1bb)](),_0x448050();}),_0x299af3[_0x394bf2(0x1db)][_0x394bf2(0x1c2)](this[_0x394bf2(0x187)][_0x394bf2(0x1b7)]),_0x299af3[_0x394bf2(0x1db)]['on'](_0x394bf2(0x1e2),(_0x474bec,_0xbc4458,_0x158f2b)=>{const _0xf873e1=_0x394bf2;_0x158f2b||this[_0xf873e1(0x1bb)]();});}[_0x3e1619(0x1bb)](){const _0x539f02=_0x3e1619;this[_0x539f02(0x196)]&&(this[_0x539f02(0x187)][_0x539f02(0x1c1)][_0x539f02(0x1ad)]=!0x1,this[_0x539f02(0x1c9)][_0x539f02(0x1d6)](),this[_0x539f02(0x1c9)][_0x539f02(0x180)][_0x539f02(0x1de)](this[_0x539f02(0x196)]),this[_0x539f02(0x196)][_0x539f02(0x1bd)](),this[_0x539f02(0x196)]=void 0x0);}[_0x3e1619(0x1bd)](){const _0xbe4720=_0x3e1619;super[_0xbe4720(0x1bd)](),this[_0xbe4720(0x187)]&&this[_0xbe4720(0x187)][_0xbe4720(0x1b5)]&&this[_0xbe4720(0x187)][_0xbe4720(0x1bd)](),this[_0xbe4720(0x1b1)]&&(this[_0xbe4720(0x1b1)][_0xbe4720(0x186)](),this[_0xbe4720(0x1b1)][_0xbe4720(0x1bd)](),this[_0xbe4720(0x1b1)]=null);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x22c12d=_0x4d15;(function(_0x35057c,_0x250710){const _0x27fa4b=_0x4d15,_0x135533=_0x35057c();while(!![]){try{const _0x9f9fce=-parseInt(_0x27fa4b(0xd5))/0x1*(parseInt(_0x27fa4b(0xe1))/0x2)+parseInt(_0x27fa4b(0xda))/0x3+parseInt(_0x27fa4b(0xd0))/0x4*(-parseInt(_0x27fa4b(0xd3))/0x5)+parseInt(_0x27fa4b(0xcb))/0x6*(parseInt(_0x27fa4b(0xd4))/0x7)+-parseInt(_0x27fa4b(0xdf))/0x8+parseInt(_0x27fa4b(0xdc))/0x9*(parseInt(_0x27fa4b(0xe6))/0xa)+parseInt(_0x27fa4b(0xd1))/0xb*(parseInt(_0x27fa4b(0xd7))/0xc);if(_0x9f9fce===_0x250710)break;else _0x135533['push'](_0x135533['shift']());}catch(_0x415f7f){_0x135533['push'](_0x135533['shift']());}}}(_0x85e1,0xb29ac));function _0x85e1(){const _0xe78276=['span','2460YJUtvK','ck-presence-list__marker','button','3608823ubXJdD','fire','137403qQZMYW','true','tag','6628104yeFIJJ','setTemplate','58EtITZf','ck-presence-list__dropdown-list-item','presentation','bindTemplate','execute','170yDyods','focus','userView','6SlOqwS','color','getBackgroundColorClass','name','element','3864792ZDrXjb','92818MQIaCc','ck-user__full-name','5iibpIY','1529738jzjOCi','30501Chcrgv'];_0x85e1=function(){return _0xe78276;};return _0x85e1();}import{ListItemView as _0x463956}from'ckeditor5/src/ui.js';import{UserView as _0xa2d82f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4d15(_0x2f050c,_0x9bc0d4){const _0x85e164=_0x85e1();return _0x4d15=function(_0x4d15e7,_0x1c8ffa){_0x4d15e7=_0x4d15e7-0xcb;let _0xe84d6b=_0x85e164[_0x4d15e7];return _0xe84d6b;},_0x4d15(_0x2f050c,_0x9bc0d4);}export default class E extends _0x463956{constructor(_0x9aaa52,_0x46715d,_0xfebabf){const _0x497fae=_0x4d15;super(_0x9aaa52);const _0x56a461=this[_0x497fae(0xe4)];this[_0x497fae(0xe8)]=new _0xa2d82f(_0x9aaa52,_0x46715d);const _0x16159e={'tag':'li','attributes':{'class':['ck',_0x497fae(0xe2)],'tabindex':-0x1,'role':_0x497fae(0xe3),'aria-label':_0x46715d[_0x497fae(0xce)]},'children':[this[_0x497fae(0xe8)],{'tag':_0x497fae(0xd6),'attributes':{'class':['ck',_0x497fae(0xd2)]},'children':[{'text':_0x46715d[_0x497fae(0xce)]}]},{'tag':_0x497fae(0xd6),'attributes':{'class':['ck',_0x497fae(0xd8),_0x46715d[_0x497fae(0xcc)][_0x497fae(0xcd)]()],'aria-hidden':_0x497fae(0xdd)}}]};_0xfebabf&&(_0x16159e[_0x497fae(0xde)]=_0x497fae(0xd9),_0x16159e['on']={'click':_0x56a461['to'](()=>this[_0x497fae(0xdb)](_0x497fae(0xe5)))}),this[_0x497fae(0xe0)](_0x16159e);}[_0x22c12d(0xe7)](){const _0x410121=_0x22c12d;this[_0x410121(0xcf)][_0x410121(0xe7)]();}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x461793=_0x1827;(function(_0xf1a6cc,_0x319b53){const _0x2356ba=_0x1827,_0x1201c9=_0xf1a6cc();while(!![]){try{const _0x1073fd=parseInt(_0x2356ba(0x170))/0x1*(-parseInt(_0x2356ba(0x150))/0x2)+-parseInt(_0x2356ba(0x16a))/0x3*(parseInt(_0x2356ba(0x16d))/0x4)+parseInt(_0x2356ba(0x16b))/0x5*(parseInt(_0x2356ba(0x159))/0x6)+parseInt(_0x2356ba(0x167))/0x7*(-parseInt(_0x2356ba(0x161))/0x8)+parseInt(_0x2356ba(0x15b))/0x9*(parseInt(_0x2356ba(0x165))/0xa)+parseInt(_0x2356ba(0x152))/0xb+parseInt(_0x2356ba(0x14b))/0xc;if(_0x1073fd===_0x319b53)break;else _0x1201c9['push'](_0x1201c9['shift']());}catch(_0x2336a9){_0x1201c9['push'](_0x1201c9['shift']());}}}(_0x3105,0xed904));import{ListView as _0x22bde9,View as _0xa67c7f}from'ckeditor5/src/ui.js';import{global as _0x912611}from'ckeditor5/src/utils.js';function _0x1827(_0x13c7a8,_0x121d8f){const _0x310502=_0x3105();return _0x1827=function(_0x1827a5,_0x10b0b0){_0x1827a5=_0x1827a5-0x149;let _0x160e91=_0x310502[_0x1827a5];return _0x160e91;},_0x1827(_0x13c7a8,_0x121d8f);}import{getTranslation as _0x33a80a}from'../../common-translations.js';function _0x3105(){const _0x52d37d=['39TGgENJ','4458385DGGUvG','ariaLabel','571492gezPeS','innerHeight','setTemplate','392099ntWcnQ','set','items','6781800JTUZsf','bindTemplate','checkIfScrollable','ariaLabelledBy','ck-reset','2zwNsYi','scrollHeight','11154506JZpJLX','listenTo','listWrapperView','role','clientHeight','div','resize','12kKbRKW','element','15544017JYNyrZ','render','_isScrollable','Connected\x20users\x20list\x20dropdown\x20menu','ck-list','application','14937240TkfuXc','max','ck-presence-list__dropdown-list','ck-presence-list__dropdown-list-wrapper','10oiRmOU','window','7SxqTfa','ck-presence-list__dropdown-list-wrapper_scrollable','change'];_0x3105=function(){return _0x52d37d;};return _0x3105();}export default class M extends _0xa67c7f{constructor(_0x228aec,_0x3ee20e){const _0x525c05=_0x1827;super(_0x228aec),this[_0x525c05(0x154)]=new PresenceDropdownListWrapperView(_0x228aec,_0x3ee20e),this[_0x525c05(0x16f)]({'tag':_0x525c05(0x157),'attributes':{'tabindex':-0x1,'role':_0x525c05(0x160),'class':['ck',_0x525c05(0x163)],'aria-label':_0x33a80a(_0x228aec,_0x525c05(0x15e))},'children':[this[_0x525c05(0x154)]]});}}export class PresenceDropdownListWrapperView extends _0x22bde9{constructor(_0x5ef217,_0x5b3fb9){const _0x5e09f7=_0x1827;super(_0x5ef217);const _0x17c31f=this[_0x5e09f7(0x14c)];this[_0x5e09f7(0x149)](_0x5e09f7(0x15d),!0x1),this[_0x5e09f7(0x16f)]({'tag':_0x5b3fb9?_0x5e09f7(0x157):'ul','attributes':{'class':['ck',_0x5e09f7(0x14f),_0x5e09f7(0x15f),_0x5e09f7(0x164),_0x17c31f['if'](_0x5e09f7(0x15d),_0x5e09f7(0x168))],'role':_0x17c31f['to'](_0x5e09f7(0x155)),'aria-label':_0x17c31f['to'](_0x5e09f7(0x16c)),'aria-labelledby':_0x17c31f['to'](_0x5e09f7(0x14e))},'children':this[_0x5e09f7(0x14a)]}),this[_0x5e09f7(0x153)](_0x912611[_0x5e09f7(0x166)],_0x5e09f7(0x158),()=>this[_0x5e09f7(0x14d)]()),this[_0x5e09f7(0x14a)]['on'](_0x5e09f7(0x169),()=>this[_0x5e09f7(0x14d)]());}[_0x461793(0x15c)](){const _0x25f64f=_0x461793;super[_0x25f64f(0x15c)](),this[_0x25f64f(0x14d)]();}[_0x461793(0x14d)](){const _0x16a224=_0x461793,_0x7cc445=this[_0x16a224(0x15a)];_0x7cc445&&(this[_0x16a224(0x15d)]=Math[_0x16a224(0x162)](_0x7cc445[_0x16a224(0x151)],_0x7cc445[_0x16a224(0x156)])>0.8*window[_0x16a224(0x16e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x4254(){const _0xd890fc=['203392IzUkCu','set','markerView','ck-presence-list__marker','153eCTCxh','isFocusable','template','getBackgroundColorClass','2591700qBjXEQ','ck-presence-list__list-item','435730ILxgCb','setTemplate','4ZzxEeY','div','color','name','execute','listitem','42hoNute','text','6114RotbCl','span','true','bindTemplate','fire','userView','tooltipPosition','hasTooltip','tag','381HAbGkm','3402495MNBpdJ','button','565080QCeGjd','20350957PDzMIS','ck-presence-list__list-item__tooltip'];_0x4254=function(){return _0xd890fc;};return _0x4254();}function _0x49fa(_0x2749cc,_0x1beeba){const _0x425481=_0x4254();return _0x49fa=function(_0x49fa21,_0x236cd6){_0x49fa21=_0x49fa21-0x8f;let _0x5ddb4d=_0x425481[_0x49fa21];return _0x5ddb4d;},_0x49fa(_0x2749cc,_0x1beeba);}(function(_0x217eb7,_0x4509f0){const _0x92bf37=_0x49fa,_0xc14b18=_0x217eb7();while(!![]){try{const _0x20b648=-parseInt(_0x92bf37(0x9c))/0x1*(-parseInt(_0x92bf37(0x93))/0x2)+parseInt(_0x92bf37(0x9d))/0x3*(parseInt(_0x92bf37(0xae))/0x4)+-parseInt(_0x92bf37(0xaa))/0x5+-parseInt(_0x92bf37(0x9f))/0x6+parseInt(_0x92bf37(0x91))/0x7*(parseInt(_0x92bf37(0xa2))/0x8)+parseInt(_0x92bf37(0xa6))/0x9*(parseInt(_0x92bf37(0xac))/0xa)+-parseInt(_0x92bf37(0xa0))/0xb;if(_0x20b648===_0x4509f0)break;else _0xc14b18['push'](_0xc14b18['shift']());}catch(_0x790ec4){_0xc14b18['push'](_0xc14b18['shift']());}}}(_0x4254,0xb21d8));import{LabelView as _0x10c320,View as _0x73ac5f}from'ckeditor5/src/ui.js';import{UserView as _0x1c57b4}from'ckeditor5-collaboration/src/collaboration-core.js';export default class T extends _0x73ac5f{constructor(_0x4d967c,_0x103802,_0x351357){const _0x26c435=_0x49fa;super(_0x4d967c);const _0x19788a=this[_0x26c435(0x96)];this[_0x26c435(0xa3)](_0x26c435(0xa7),!0x1),this[_0x26c435(0xa3)](_0x26c435(0x9a),!0x0),this[_0x26c435(0xa3)](_0x26c435(0x99),''),this[_0x26c435(0x98)]=new _0x1c57b4(_0x4d967c,_0x103802),this[_0x26c435(0xa4)]=new at(_0x4d967c,_0x103802);const _0x55b390=new _0x10c320(_0x4d967c);_0x55b390[_0x26c435(0xa8)][_0x26c435(0x9b)]=_0x26c435(0x94),_0x55b390[_0x26c435(0x92)]=_0x103802[_0x26c435(0xb1)];const _0x15642d={'tag':_0x26c435(0xaf),'attributes':{'class':['ck',_0x26c435(0xab)],'role':_0x26c435(0x90),'tabindex':_0x19788a['to'](_0x26c435(0xa7),_0x3c710d=>!!_0x3c710d&&0x0),'aria-labelledby':_0x55b390['id'],'data-cke-tooltip-text':this[_0x26c435(0x98)][_0x26c435(0xb1)],'data-cke-tooltip-position':_0x19788a['to'](_0x26c435(0x99)),'data-cke-tooltip-disabled':_0x19788a['to'](_0x26c435(0x9a),_0x5eecb5=>!_0x5eecb5),'data-cke-tooltip-class':_0x26c435(0xa1)},'children':[this[_0x26c435(0x98)],this[_0x26c435(0xa4)],_0x55b390]};_0x351357&&(_0x15642d[_0x26c435(0x9b)]=_0x26c435(0x9e),_0x15642d['on']={'click':_0x19788a['to'](()=>this[_0x26c435(0x97)](_0x26c435(0x8f)))}),this[_0x26c435(0xad)](_0x15642d);}}class at extends _0x73ac5f{constructor(_0x18328e,_0x35aaac){const _0x588554=_0x49fa;super(_0x18328e),this[_0x588554(0xad)]({'tag':_0x588554(0x94),'attributes':{'class':['ck',_0x588554(0xa5),_0x35aaac[_0x588554(0xb0)][_0x588554(0xa9)]()],'aria-hidden':_0x588554(0x95)}});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xe0ec01,_0x47b6aa){const _0x2efc8b=_0x1da3,_0x5a6b28=_0xe0ec01();while(!![]){try{const _0x2971b7=parseInt(_0x2efc8b(0x1da))/0x1+parseInt(_0x2efc8b(0x1d7))/0x2+parseInt(_0x2efc8b(0x1ec))/0x3*(parseInt(_0x2efc8b(0x1dc))/0x4)+-parseInt(_0x2efc8b(0x1ea))/0x5+-parseInt(_0x2efc8b(0x1e1))/0x6*(parseInt(_0x2efc8b(0x1d9))/0x7)+parseInt(_0x2efc8b(0x1e8))/0x8*(parseInt(_0x2efc8b(0x1ef))/0x9)+parseInt(_0x2efc8b(0x1df))/0xa*(-parseInt(_0x2efc8b(0x1de))/0xb);if(_0x2971b7===_0x47b6aa)break;else _0x5a6b28['push'](_0x5a6b28['shift']());}catch(_0x43d56b){_0x5a6b28['push'](_0x5a6b28['shift']());}}}(_0x1c94,0xbc4bf));import{View as _0x583d99}from'ckeditor5/src/ui.js';import _0x3f2fc7 from'./presencecounterview.js';function _0x1da3(_0x608500,_0x2a29ff){const _0x1c9441=_0x1c94();return _0x1da3=function(_0x1da35d,_0x645747){_0x1da35d=_0x1da35d-0x1d3;let _0x3169ce=_0x1c9441[_0x1da35d];return _0x3169ce;},_0x1da3(_0x608500,_0x2a29ff);}function _0x1c94(){const _0x1c4b0b=['counterView','listenTo','first','isCollapsed','ck-presence-list','980068usuMJV','inlineListView','10114692oIeWfg','1136364zbHpaS','div','542356DIGBZj','locale','77rdxgHs','425180CwfvKF','ck-reset','6whdqPl','setTemplate','bindTemplate','ck-presence-list--collapsed','set','tooltipPosition','bind','10408ywAEcg','change','5704680IvGuVM','hasPopup','15Khgebq','ck-rounded-corners','items','9342uAFRJk'];_0x1c94=function(){return _0x1c4b0b;};return _0x1c94();}import _0xf2e2f from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class _ extends _0x583d99{constructor(_0x410b8c){const _0x2c72dc=_0x1da3;super(_0x410b8c);const _0x203a3d=this[_0x2c72dc(0x1e3)];this[_0x2c72dc(0x1e5)](_0x2c72dc(0x1d5),!0x0),this[_0x2c72dc(0x1f0)]=new _0x3f2fc7(this[_0x2c72dc(0x1dd)]),this[_0x2c72dc(0x1d8)]=new _0xf2e2f(_0x410b8c),this[_0x2c72dc(0x1d8)][_0x2c72dc(0x1e7)](_0x2c72dc(0x1eb))['to'](this,_0x2c72dc(0x1d5)),this[_0x2c72dc(0x1d3)](this[_0x2c72dc(0x1d8)][_0x2c72dc(0x1ee)],_0x2c72dc(0x1e9),()=>{const _0x3ef6f4=_0x2c72dc;for(const _0x10a2c3 of this[_0x3ef6f4(0x1d8)][_0x3ef6f4(0x1ee)])_0x10a2c3[_0x3ef6f4(0x1e6)]='s';this[_0x3ef6f4(0x1d8)][_0x3ef6f4(0x1ee)][_0x3ef6f4(0x1d4)]&&(this[_0x3ef6f4(0x1d8)][_0x3ef6f4(0x1ee)][_0x3ef6f4(0x1d4)][_0x3ef6f4(0x1e6)]='se');}),this[_0x2c72dc(0x1e2)]({'tag':_0x2c72dc(0x1db),'attributes':{'class':['ck',_0x2c72dc(0x1d6),_0x2c72dc(0x1e0),_0x2c72dc(0x1ed),_0x203a3d['if'](_0x2c72dc(0x1d5),_0x2c72dc(0x1e4))]},'children':[this[_0x2c72dc(0x1f0)],this[_0x2c72dc(0x1d8)]]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1806f3=_0x1103;(function(_0x329ceb,_0x48e0cf){const _0x113263=_0x1103,_0x3cdf4b=_0x329ceb();while(!![]){try{const _0x39b481=-parseInt(_0x113263(0x168))/0x1+-parseInt(_0x113263(0x176))/0x2+parseInt(_0x113263(0x18e))/0x3+-parseInt(_0x113263(0x178))/0x4+-parseInt(_0x113263(0x1a8))/0x5+-parseInt(_0x113263(0x19f))/0x6*(parseInt(_0x113263(0x197))/0x7)+parseInt(_0x113263(0x19a))/0x8;if(_0x39b481===_0x48e0cf)break;else _0x3cdf4b['push'](_0x3cdf4b['shift']());}catch(_0x4aafbc){_0x3cdf4b['push'](_0x3cdf4b['shift']());}}}(_0x48c1,0x4380d));import{Context as _0x4f7f49,ContextPlugin as _0x21389e}from'ckeditor5/src/core.js';import{CKEditorError as _0x1ae589}from'ckeditor5/src/utils.js';import{Users as _0x4e671f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x6e8079,User as _0x1140ec}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x1662d3 from'../realtimecollaborativeediting/websocketgateway.js';import _0x17dafb from'../realtimecollaborativeediting/sessions.js';class a extends _0x21389e{static get[_0x1806f3(0x1b3)](){const _0x3bda46=_0x1806f3;return[_0x1662d3,_0x3bda46(0x1a5),_0x17dafb,_0x4e671f];}static get[_0x1806f3(0x165)](){const _0x41014f=_0x1806f3;return _0x41014f(0x18f);}static get[_0x1806f3(0x1b0)](){return!0x0;}static get[_0x1806f3(0x160)](){return!0x0;}constructor(_0x3c9088){const _0x44fb2e=_0x1806f3;super(_0x3c9088),this[_0x44fb2e(0x1b9)]=new Map();}async[_0x1806f3(0x186)](){const _0xaa45c7=_0x1806f3,_0x52abfb=this[_0xaa45c7(0x171)],_0x235512=_0x52abfb[_0xaa45c7(0x196)][_0xaa45c7(0x17d)](_0xaa45c7(0x1a5));if(_0x52abfb[_0xaa45c7(0x196)][_0xaa45c7(0x17d)](_0x1662d3)[_0xaa45c7(0x163)](this),_0x235512[_0xaa45c7(0x15e)]={'addCommentThread':async({channelId:_0x267343,threadId:_0x1cdad5,comments:_0x16ba87,resolvedAt:_0x4d9960,resolvedBy:_0xc3b546,context:_0x25d248,attributes:_0x2118d1})=>{const _0x2070c8=_0xaa45c7,_0x488d7b=await this[_0x2070c8(0x17e)](_0x267343)[_0x2070c8(0x1ac)]({'commentThreadId':_0x1cdad5,'comments':_0x16ba87[_0x2070c8(0x195)](_0x5078b7=>function(_0x45544d,_0x149308,_0xd1c153){const _0x55bfce=_0x2070c8;return{'commentThreadId':_0xd1c153,'commentId':_0x45544d[_0x55bfce(0x179)],'userId':_0x45544d[_0x55bfce(0x173)],'content':_0x45544d[_0x55bfce(0x198)],'documentId':_0x149308,'createdAt':_0x45544d[_0x55bfce(0x15f)],'attributes':_0x45544d[_0x55bfce(0x180)]||{}};}(_0x5078b7,_0x267343,_0x1cdad5)),'resolvedAt':_0x4d9960,'resolvedBy':_0xc3b546,'context':_0x25d248,'attributes':_0x2118d1})[_0x2070c8(0x164)](R);return{'threadId':_0x488d7b[_0x2070c8(0x17f)],'comments':_0x488d7b[_0x2070c8(0x187)]};},'getCommentThread':async({channelId:_0x504225,threadId:_0x29d5f7})=>{const _0x152373=_0xaa45c7,_0x446cd7=await this[_0x152373(0x17e)](_0x504225)[_0x152373(0x167)](_0x29d5f7)[_0x152373(0x164)](R);return _0x446cd7[_0x152373(0x18b)]?null:(await this[_0x152373(0x1a0)]([_0x446cd7]),{'threadId':_0x446cd7[_0x152373(0x17f)],'comments':_0x446cd7[_0x152373(0x187)][_0x152373(0x195)](S),'context':_0x446cd7[_0x152373(0x171)],'resolvedAt':_0x446cd7[_0x152373(0x190)],'resolvedBy':_0x446cd7[_0x152373(0x17c)],'attributes':_0x446cd7[_0x152373(0x180)]||{}});},'updateCommentThread':async({channelId:_0x4fc186,threadId:_0x19d1eb,context:_0x4569e7,unlinkedAt:_0x171bd2,attributes:_0x2f5e22})=>this[_0xaa45c7(0x17e)](_0x4fc186)[_0xaa45c7(0x161)]({'commentThreadId':_0x19d1eb,'context':_0x4569e7,'attributes':_0x2f5e22,'unlinkedAt':_0x171bd2})[_0xaa45c7(0x164)](B)[_0xaa45c7(0x164)](R),'resolveCommentThread':async({channelId:_0x38e8d9,threadId:_0x4bf69c})=>{const _0x11bbd6=_0xaa45c7,_0x100cf2=await this[_0x11bbd6(0x17e)](_0x38e8d9)[_0x11bbd6(0x1a2)](_0x4bf69c)[_0x11bbd6(0x164)](B)[_0x11bbd6(0x164)](R);return{'threadId':_0x100cf2[_0x11bbd6(0x17f)],'resolvedAt':_0x100cf2[_0x11bbd6(0x190)],'resolvedBy':_0x100cf2[_0x11bbd6(0x17c)]};},'reopenCommentThread':async({channelId:_0x427b71,threadId:_0x5086a6})=>this[_0xaa45c7(0x17e)](_0x427b71)[_0xaa45c7(0x19e)](_0x5086a6)[_0xaa45c7(0x164)](B)[_0xaa45c7(0x164)](R),'removeCommentThread':({channelId:_0x10dc9f,threadId:_0x587c08})=>this[_0xaa45c7(0x17e)](_0x10dc9f)[_0xaa45c7(0x16e)](_0x587c08)[_0xaa45c7(0x164)](B)[_0xaa45c7(0x164)](R),'addComment':({channelId:_0x2f9b79,threadId:_0x23bdc2,commentId:_0x21d2c7,content:_0x25022d,attributes:_0x412000})=>this[_0xaa45c7(0x17e)](_0x2f9b79)[_0xaa45c7(0x191)](_0x23bdc2,_0x21d2c7,_0x25022d,_0x412000)[_0xaa45c7(0x164)](R),'updateComment':({channelId:_0xed4b07,threadId:_0x59d637,commentId:_0x52e5c7,content:_0x4cb4b6,attributes:_0x268d46})=>this[_0xaa45c7(0x17e)](_0xed4b07)[_0xaa45c7(0x1ba)](_0x59d637,_0x52e5c7,_0x4cb4b6,_0x268d46)[_0xaa45c7(0x164)](B)[_0xaa45c7(0x164)](R),'removeComment':({channelId:_0xc66b8,threadId:_0x380cc6,commentId:_0x351ab5})=>this[_0xaa45c7(0x17e)](_0xc66b8)[_0xaa45c7(0x1b6)](_0x380cc6,_0x351ab5)[_0xaa45c7(0x164)](B)[_0xaa45c7(0x164)](R)},_0x52abfb instanceof _0x4f7f49){const _0x456e1d=_0x52abfb[_0xaa45c7(0x1b2)][_0xaa45c7(0x17d)](_0xaa45c7(0x15a)),_0x34a8c6=_0x52abfb[_0xaa45c7(0x196)][_0xaa45c7(0x17d)](_0x17dafb);await this[_0xaa45c7(0x185)](_0x456e1d);const _0x3c24c2=await this[_0xaa45c7(0x1b9)][_0xaa45c7(0x17d)](_0x456e1d)[_0xaa45c7(0x192)]();this[_0xaa45c7(0x183)](_0x34a8c6,_0xaa45c7(0x162)+_0x456e1d,(_0x35567,{session:_0x2d34f5})=>{const _0x13b951=_0xaa45c7;_0x2d34f5['id']===_0x34a8c6[_0x13b951(0x182)]&&(_0x35567[_0x13b951(0x174)](),this[_0x13b951(0x171)][_0x13b951(0x196)][_0x13b951(0x17d)](_0x13b951(0x1a4))[_0x13b951(0x1a1)](_0x2d34f5[_0x13b951(0x1af)],_0x456e1d));}),_0x34a8c6[_0xaa45c7(0x184)](_0x456e1d,_0x3c24c2);}}async[_0x1806f3(0x185)](_0x2151a1){const _0x174e03=_0x1806f3;if(this[_0x174e03(0x1b9)][_0x174e03(0x18a)](_0x2151a1))throw new _0x1ae589(_0x174e03(0x177),null,{'channelId':_0x2151a1});const _0x46deca=this[_0x174e03(0x171)][_0x174e03(0x196)][_0x174e03(0x17d)](_0x174e03(0x1a5)),_0x386a55=new a[(_0x174e03(0x1b7))](_0x2151a1);this[_0x174e03(0x1b9)][_0x174e03(0x1a7)](_0x2151a1,_0x386a55),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x158),(_0x45e4ac,_0x42b2ce)=>{const _0x48f96a=_0x174e03,{commentThreadId:_0x383aaa,documentId:_0x29b5b5,context:_0x3ecbc9,attributes:_0x31c706,resolvedAt:_0x57ae15,resolvedBy:_0x40550a,comments:_0xc07673}=_0x42b2ce;_0x46deca[_0x48f96a(0x167)](_0x383aaa)||_0x46deca[_0x48f96a(0x1ac)]({'threadId':_0x383aaa,'channelId':_0x29b5b5,'comments':_0xc07673?_0xc07673[_0x48f96a(0x195)](S):[],'context':_0x3ecbc9,'attributes':_0x31c706,'resolvedAt':_0x57ae15,'resolvedBy':_0x40550a,'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x194),(_0xe61faf,{commentThreadId:_0x59aae7,documentId:_0x1c57e6,context:_0x5bb548,unlinkedAt:_0x293a11,attributes:_0x5763b5})=>{const _0x59ef4a=_0x174e03;_0x46deca[_0x59ef4a(0x167)](_0x59aae7)&&_0x46deca[_0x59ef4a(0x161)]({'threadId':_0x59aae7,'channelId':_0x1c57e6,'context':_0x5bb548,'unlinkedAt':_0x293a11,'attributes':_0x5763b5,'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x1a6),(_0x1a6841,{commentThreadId:_0x4546a7,resolvedBy:_0x4257d0,resolvedAt:_0x5ddc86})=>{const _0x363ee2=_0x174e03,_0x3bdddd=_0x46deca[_0x363ee2(0x167)](_0x4546a7);_0x3bdddd&&_0x3bdddd[_0x363ee2(0x199)]({'resolvedBy':_0x4257d0,'resolvedAt':_0x5ddc86,'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x157),(_0x596b5f,{commentThreadId:_0x5707c5})=>{const _0x5ac890=_0x174e03,_0x5303eb=_0x46deca[_0x5ac890(0x167)](_0x5707c5);_0x5303eb&&_0x5303eb[_0x5ac890(0x166)]({'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x16b),(_0x5d569c,{commentThreadId:_0x1d7a7d})=>{const _0x5c08bc=_0x174e03,_0x487331=_0x46deca[_0x5c08bc(0x167)](_0x1d7a7d);_0x487331&&_0x487331[_0x5c08bc(0x1ad)]({'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x16f),(_0x15367c,_0x2d09ec)=>{const _0x31843c=_0x174e03,_0x596c77=_0x2d09ec[_0x31843c(0x17f)],_0x2ffbfa=_0x46deca[_0x31843c(0x167)](_0x596c77);_0x2ffbfa&&_0x2ffbfa[_0x31843c(0x191)]({...S(_0x2d09ec),'isFromAdapter':!0x0});}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x1ae),(_0xce93f3,{commentThreadId:_0x2b93fc,commentId:_0x2dcb8e,content:_0x4ae102,attributes:_0x5738e4})=>{const _0x41fd92=_0x174e03,_0x7a7405=_0x46deca[_0x41fd92(0x167)](_0x2b93fc);if(_0x7a7405){const _0x51a57d=_0x7a7405[_0x41fd92(0x1a9)](_0x2dcb8e);_0x51a57d&&_0x51a57d[_0x41fd92(0x169)]({'content':_0x4ae102,'attributes':_0x5738e4,'isFromAdapter':!0x0});}}),this[_0x174e03(0x183)](_0x386a55,_0x174e03(0x175),(_0x30878e,{commentThreadId:_0x420315,commentId:_0x4a47aa})=>{const _0x28b09f=_0x174e03,_0x5a2d6b=_0x46deca[_0x28b09f(0x167)](_0x420315);if(_0x5a2d6b){const _0x565f03=_0x5a2d6b[_0x28b09f(0x1a9)](_0x4a47aa);_0x565f03&&_0x565f03[_0x28b09f(0x1ad)]({'isFromAdapter':!0x0});}}),await this[_0x174e03(0x17b)](_0x2151a1);}[_0x1806f3(0x18c)](){const _0x33395a=_0x1806f3;if(this[_0x33395a(0x171)]instanceof _0x4f7f49){const _0x51753b=this[_0x33395a(0x171)][_0x33395a(0x1b2)][_0x33395a(0x17d)](_0x33395a(0x15a));this[_0x33395a(0x170)](_0x51753b);}}[_0x1806f3(0x170)](_0x29e587){const _0xcb4495=_0x1806f3;if(!this[_0xcb4495(0x1b9)][_0xcb4495(0x18a)](_0x29e587))throw new _0x1ae589(_0xcb4495(0x15b),null,{'channelId':_0x29e587});this[_0xcb4495(0x17e)](_0x29e587)[_0xcb4495(0x16a)](),this[_0xcb4495(0x1b9)][_0xcb4495(0x17a)](_0x29e587);}async[_0x1806f3(0x1b4)](){const _0x4fd455=_0x1806f3;for(const _0x2f9c8e of this[_0x4fd455(0x1b9)][_0x4fd455(0x19c)]())await this[_0x4fd455(0x17b)](_0x2f9c8e);if(this[_0x4fd455(0x171)]instanceof _0x4f7f49){const _0x2bf5da=this[_0x4fd455(0x171)][_0x4fd455(0x1b2)][_0x4fd455(0x17d)](_0x4fd455(0x15a)),_0x1deaad=this[_0x4fd455(0x171)][_0x4fd455(0x196)][_0x4fd455(0x17d)](_0x17dafb);_0x1deaad[_0x4fd455(0x172)](_0x2bf5da);const _0x3be845=await this[_0x4fd455(0x1b9)][_0x4fd455(0x17d)](_0x2bf5da)[_0x4fd455(0x192)]();_0x1deaad[_0x4fd455(0x184)](_0x2bf5da,_0x3be845);}}async[_0x1806f3(0x17b)](_0x1db74f){const _0xab9754=_0x1806f3,{connection:_0x214612}=this[_0xab9754(0x171)][_0xab9754(0x196)][_0xab9754(0x17d)](_0x1662d3),_0x28a457=this[_0xab9754(0x171)][_0xab9754(0x196)][_0xab9754(0x17d)](_0xab9754(0x1a5)),_0xaf0640=this[_0xab9754(0x1b9)][_0xab9754(0x17d)](_0x1db74f),_0x24382a=await _0xaf0640[_0xab9754(0x159)](_0x214612);await this[_0xab9754(0x1a0)](_0x24382a);const _0x45e544=new Set(Array[_0xab9754(0x188)](_0x28a457[_0xab9754(0x19d)]({'channelId':_0x1db74f}),_0x363d7c=>_0x363d7c['id']));for(const _0x2c7206 of _0x24382a)_0x2c7206[_0xab9754(0x18b)]||_0x45e544[_0xab9754(0x17a)](_0x2c7206[_0xab9754(0x17f)]);for(const _0x168903 of _0x45e544)_0x28a457[_0xab9754(0x167)](_0x168903)[_0xab9754(0x1ad)]({'isFromAdapter':!0x0});for(const _0x2fdd72 of _0x24382a){let _0x3ac72e=_0x28a457[_0xab9754(0x167)](_0x2fdd72[_0xab9754(0x17f)]);const {commentThreadId:_0x153e3c,context:_0x3ca10e,attributes:_0x40a0cb,resolvedBy:_0x13a799,resolvedAt:_0x159e15,unlinkedAt:_0x338883,deletedAt:_0x183b77}=_0x2fdd72;if(_0x183b77)continue;_0x3ac72e||(_0x3ac72e=_0x28a457[_0xab9754(0x1ac)]({'channelId':_0x1db74f,'threadId':_0x153e3c,'context':_0x3ca10e,'attributes':_0x40a0cb||{},'resolvedBy':_0x13a799,'resolvedAt':_0x159e15,'unlinkedAt':_0x338883,'isFromAdapter':!0x0}));const _0x581e66=new Set(Array[_0xab9754(0x188)](_0x3ac72e[_0xab9754(0x187)],_0x3a64ca=>_0x3a64ca['id']));for(const _0x53faa4 of _0x2fdd72[_0xab9754(0x187)])_0x581e66[_0xab9754(0x17a)](_0x53faa4[_0xab9754(0x179)]);for(const _0x13a224 of _0x581e66)_0x3ac72e[_0xab9754(0x1a9)](_0x13a224)[_0xab9754(0x1ad)]({'isFromAdapter':!0x0});for(const _0x307225 of _0x2fdd72[_0xab9754(0x187)]){const _0x514a0e=_0x3ac72e[_0xab9754(0x1a9)](_0x307225[_0xab9754(0x179)]);_0x514a0e?_0x514a0e[_0xab9754(0x198)]!==_0x307225[_0xab9754(0x198)]&&_0x514a0e[_0xab9754(0x169)]({'content':_0x307225[_0xab9754(0x198)],'isFromAdapter':!0x0}):_0x3ac72e[_0xab9754(0x191)](Object[_0xab9754(0x1b1)](S(_0x307225),{'isFromAdapter':!0x0}));}}}[_0x1806f3(0x17e)](_0xca55b6){const _0x51e968=_0x1806f3;if(!this[_0x51e968(0x1b9)][_0x51e968(0x18a)](_0xca55b6))throw new _0x1ae589(_0x51e968(0x1aa),null,{'channelId':_0xca55b6});return this[_0x51e968(0x1b9)][_0x51e968(0x17d)](_0xca55b6);}async[_0x1806f3(0x1a0)](_0x46678d){const _0x3c8787=_0x1806f3,_0x154e06=this[_0x3c8787(0x171)][_0x3c8787(0x196)][_0x3c8787(0x17d)](_0x4e671f),{connection:_0x2272a8}=this[_0x3c8787(0x171)][_0x3c8787(0x196)][_0x3c8787(0x17d)](_0x1662d3),_0x450dd0=new Set();for(const {resolvedBy:_0x35799c,comments:_0x9d5ffc}of _0x46678d){_0x35799c&&!_0x154e06[_0x3c8787(0x181)](_0x35799c)&&_0x450dd0[_0x3c8787(0x1b5)](_0x35799c);for(const {userId:_0x542c45}of _0x9d5ffc)_0x154e06[_0x3c8787(0x181)](_0x542c45)||_0x450dd0[_0x3c8787(0x1b5)](_0x542c45);}if(0x0===_0x450dd0[_0x3c8787(0x18d)])return;const _0x13708d=await _0x1140ec[_0x3c8787(0x1ab)](_0x2272a8,Array[_0x3c8787(0x188)](_0x450dd0));for(const _0x179d7c of _0x13708d)_0x154e06[_0x3c8787(0x181)](_0x179d7c['id'])||_0x154e06[_0x3c8787(0x16d)](_0x179d7c);}}a[_0x1806f3(0x1b7)]=_0x6e8079;function _0x1103(_0x383905,_0x187b96){const _0x48c1d9=_0x48c1();return _0x1103=function(_0x11030f,_0x5b1536){_0x11030f=_0x11030f-0x157;let _0x2e077a=_0x48c1d9[_0x11030f];return _0x2e077a;},_0x1103(_0x383905,_0x187b96);}export default a;async function B(_0x263888){const _0x4c9bc6=_0x1806f3;if(_0x4c9bc6(0x16c)!==_0x263888[_0x4c9bc6(0x19b)])throw _0x263888;}function R(_0x28c82f){const _0x216090=_0x1806f3;if((_0x2f70cb=_0x28c82f)[_0x216090(0x193)][_0x216090(0x1b8)](_0x216090(0x15d))||_0x2f70cb[_0x216090(0x193)][_0x216090(0x1b8)](_0x216090(0x15c))||_0x2f70cb[_0x216090(0x193)][_0x216090(0x1b8)](_0x216090(0x189)))return new Promise(()=>{});var _0x2f70cb;throw _0x28c82f;}function S(_0x572199){const _0x4f9eaa=_0x1806f3;return{'threadId':_0x572199[_0x4f9eaa(0x17f)],'commentId':_0x572199[_0x4f9eaa(0x179)],'content':_0x572199[_0x4f9eaa(0x198)],'createdAt':_0x572199[_0x4f9eaa(0x15f)],'authorId':_0x572199[_0x4f9eaa(0x1a3)],'attributes':_0x572199[_0x4f9eaa(0x180)]||{}};}function _0x48c1(){const _0x461605=['_getService','commentThreadId','attributes','getUser','mySessionId','listenTo','register','_setUpService','init','comments','from','cloud-services-internal-error:\x20Request\x20timeout.','has','deletedAt','destroy','size','251991WVWCPy','CloudServicesCommentsAdapter','resolvedAt','addComment','getConnectedSessions','message','commentThreadUpdated','map','plugins','671783hcJUqj','content','resolve','13229416tfUlNY','code','keys','getCommentThreads','reopenCommentThread','12niNZnS','_fetchMissingUsersForThreads','setPermissions','resolveCommentThread','userId','Permissions','CommentsRepository','commentThreadResolved','set','1509875CdZOHy','getComment','cloudservicescommentsadapter-service-not-exist','getMany','addCommentThread','remove','commentUpdated','permissions','isOfficialPlugin','assign','config','requires','reconnect','add','removeComment','CommentsService','startsWith','_services','updateComment','commentThreadReopened','commentThreadAdded','connect','collaboration.channelId','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Not\x20connected.','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','adapter','createdAt','isPremiumPlugin','updateCommentThread','sessionAdd:','addToReconnectionStack','catch','pluginName','reopen','getCommentThread','320486GGjETx','update','disconnect','commentThreadRemoved','404','addUser','removeCommentThread','commentAdded','_terminateService','context','unregister','authorId','off','commentRemoved','1089688DOoBgP','cloudservicescommentsadapter-connect-already-connected','407752tIStMr','commentId','delete','_connectService','resolvedBy','get'];_0x48c1=function(){return _0x461605;};return _0x48c1();}
|
|
23
|
+
const _0xc168e3=_0x14fd;(function(_0x52376d,_0x4121e0){const _0x5a2797=_0x14fd,_0x34fd54=_0x52376d();while(!![]){try{const _0x5584bb=-parseInt(_0x5a2797(0x203))/0x1*(-parseInt(_0x5a2797(0x227))/0x2)+-parseInt(_0x5a2797(0x242))/0x3*(-parseInt(_0x5a2797(0x217))/0x4)+-parseInt(_0x5a2797(0x212))/0x5+-parseInt(_0x5a2797(0x1ff))/0x6*(-parseInt(_0x5a2797(0x21f))/0x7)+-parseInt(_0x5a2797(0x20c))/0x8*(-parseInt(_0x5a2797(0x1f1))/0x9)+parseInt(_0x5a2797(0x1fb))/0xa+-parseInt(_0x5a2797(0x225))/0xb;if(_0x5584bb===_0x4121e0)break;else _0x34fd54['push'](_0x34fd54['shift']());}catch(_0x1cae55){_0x34fd54['push'](_0x34fd54['shift']());}}}(_0x2fe6,0xc0088));import{Context as _0x424585,ContextPlugin as _0x45e382}from'ckeditor5/src/core.js';import{CKEditorError as _0x8575c8}from'ckeditor5/src/utils.js';import{Users as _0x5a5767}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x119566,User as _0x316405}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x14fd(_0x3fcd55,_0x38816f){const _0x2fe64b=_0x2fe6();return _0x14fd=function(_0x14fd76,_0x2a7e5c){_0x14fd76=_0x14fd76-0x1ef;let _0x4e5d2e=_0x2fe64b[_0x14fd76];return _0x4e5d2e;},_0x14fd(_0x3fcd55,_0x38816f);}import _0x5377eb from'../realtimecollaborativeediting/websocketgateway.js';function _0x2fe6(){const _0x58af40=['catch','removeCommentThread','2253183nkHpDy','setPermissions','commentThreadId','addUser','message','getConnectedSessions','getComment','collaboration.channelId','comments','cloudservicescommentsadapter-service-not-exist','requires','plugins','resolve','map','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Request\x20timeout.','get','_getService','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getCommentThreads','destroy','pluginName','953721tEqbqI','keys','content','remove','resolveCommentThread','init','off','reopen','commentThreadUpdated','context','11291740GfhcZG','reopenCommentThread','adapter','_connectService','270oyLVvB','from','assign','commentAdded','214iAhTDp','_setUpService','_services','updateComment','CommentsService','Permissions','has','isOfficialPlugin','attributes','104pIMSdr','commentRemoved','CloudServicesCommentsAdapter','getMany','getCommentThread','reconnect','2553175hMjSOr','code','resolvedBy','CommentsRepository','cloud-services-internal-error:\x20Not\x20connected.','4ikuwsO','removeComment','listenTo','addComment','delete','addCommentThread','startsWith','404','101703kycPDW','commentUpdated','permissions','commentId','_terminateService','commentThreadAdded','39005736zgPzdk','commentThreadRemoved','8706EtUqQS','resolvedAt','userId','_fetchMissingUsersForThreads','isPremiumPlugin','disconnect','register','createdAt','unregister','authorId','set','cloudservicescommentsadapter-disconnect-not-exist','commentThreadResolved','deletedAt','mySessionId','add','updateCommentThread','update','getUser','addToReconnectionStack','config','size','sessionAdd:','connect','commentThreadReopened'];_0x2fe6=function(){return _0x58af40;};return _0x2fe6();}import _0xd61cf2 from'../realtimecollaborativeediting/sessions.js';class a extends _0x45e382{static get[_0xc168e3(0x24c)](){const _0x2338f8=_0xc168e3;return[_0x5377eb,_0x2338f8(0x215),_0xd61cf2,_0x5a5767];}static get[_0xc168e3(0x1f0)](){const _0x34536c=_0xc168e3;return _0x34536c(0x20e);}static get[_0xc168e3(0x20a)](){return!0x0;}static get[_0xc168e3(0x22b)](){return!0x0;}constructor(_0x225f2e){const _0x491c30=_0xc168e3;super(_0x225f2e),this[_0x491c30(0x205)]=new Map();}async[_0xc168e3(0x1f6)](){const _0x210178=_0xc168e3,_0x21ffb3=this[_0x210178(0x1fa)],_0x21cd6e=_0x21ffb3[_0x210178(0x24d)][_0x210178(0x252)](_0x210178(0x215));if(_0x21ffb3[_0x210178(0x24d)][_0x210178(0x252)](_0x5377eb)[_0x210178(0x23a)](this),_0x21cd6e[_0x210178(0x1fd)]={'addCommentThread':async({channelId:_0x596aec,threadId:_0x2ad7d0,comments:_0x3e4ceb,resolvedAt:_0x3a61d5,resolvedBy:_0x3bd5f6,context:_0x4b21bb,attributes:_0x7f573d})=>{const _0x4d02f9=_0x210178,_0x4d58b8=await this[_0x4d02f9(0x253)](_0x596aec)[_0x4d02f9(0x21c)]({'commentThreadId':_0x2ad7d0,'comments':_0x3e4ceb[_0x4d02f9(0x24f)](_0xbf467c=>function(_0x34414d,_0x35de86,_0x23d926){const _0x268d68=_0x4d02f9;return{'commentThreadId':_0x23d926,'commentId':_0x34414d[_0x268d68(0x222)],'userId':_0x34414d[_0x268d68(0x230)],'content':_0x34414d[_0x268d68(0x1f3)],'documentId':_0x35de86,'createdAt':_0x34414d[_0x268d68(0x22e)],'attributes':_0x34414d[_0x268d68(0x20b)]||{}};}(_0xbf467c,_0x596aec,_0x2ad7d0)),'resolvedAt':_0x3a61d5,'resolvedBy':_0x3bd5f6,'context':_0x4b21bb,'attributes':_0x7f573d})[_0x4d02f9(0x240)](w);return{'threadId':_0x4d58b8[_0x4d02f9(0x244)],'comments':_0x4d58b8[_0x4d02f9(0x24a)]};},'getCommentThread':async({channelId:_0x13df86,threadId:_0x207132})=>{const _0x41c74d=_0x210178,_0x5bf97a=await this[_0x41c74d(0x253)](_0x13df86)[_0x41c74d(0x210)](_0x207132)[_0x41c74d(0x240)](w);return _0x5bf97a[_0x41c74d(0x234)]?null:(await this[_0x41c74d(0x22a)]([_0x5bf97a]),{'threadId':_0x5bf97a[_0x41c74d(0x244)],'comments':_0x5bf97a[_0x41c74d(0x24a)][_0x41c74d(0x24f)](b),'context':_0x5bf97a[_0x41c74d(0x1fa)],'resolvedAt':_0x5bf97a[_0x41c74d(0x228)],'resolvedBy':_0x5bf97a[_0x41c74d(0x214)],'attributes':_0x5bf97a[_0x41c74d(0x20b)]||{}});},'updateCommentThread':async({channelId:_0x1c1a06,threadId:_0x59715b,context:_0x19a748,unlinkedAt:_0x5dd02c,attributes:_0x8dd758})=>this[_0x210178(0x253)](_0x1c1a06)[_0x210178(0x237)]({'commentThreadId':_0x59715b,'context':_0x19a748,'attributes':_0x8dd758,'unlinkedAt':_0x5dd02c})[_0x210178(0x240)](y)[_0x210178(0x240)](w),'resolveCommentThread':async({channelId:_0x40f0b5,threadId:_0x12b8cc})=>{const _0x545eb2=_0x210178,_0x1ac21e=await this[_0x545eb2(0x253)](_0x40f0b5)[_0x545eb2(0x1f5)](_0x12b8cc)[_0x545eb2(0x240)](y)[_0x545eb2(0x240)](w);return{'threadId':_0x1ac21e[_0x545eb2(0x244)],'resolvedAt':_0x1ac21e[_0x545eb2(0x228)],'resolvedBy':_0x1ac21e[_0x545eb2(0x214)]};},'reopenCommentThread':async({channelId:_0x55b3e7,threadId:_0x568476})=>this[_0x210178(0x253)](_0x55b3e7)[_0x210178(0x1fc)](_0x568476)[_0x210178(0x240)](y)[_0x210178(0x240)](w),'removeCommentThread':({channelId:_0x1f0ac3,threadId:_0x26b91b})=>this[_0x210178(0x253)](_0x1f0ac3)[_0x210178(0x241)](_0x26b91b)[_0x210178(0x240)](y)[_0x210178(0x240)](w),'addComment':({channelId:_0x1d49e1,threadId:_0x9ebb93,commentId:_0x409108,content:_0x577940,attributes:_0x2be525})=>this[_0x210178(0x253)](_0x1d49e1)[_0x210178(0x21a)](_0x9ebb93,_0x409108,_0x577940,_0x2be525)[_0x210178(0x240)](w),'updateComment':({channelId:_0xe1944f,threadId:_0x5df3c5,commentId:_0x5633af,content:_0x44808a,attributes:_0x39013b})=>this[_0x210178(0x253)](_0xe1944f)[_0x210178(0x206)](_0x5df3c5,_0x5633af,_0x44808a,_0x39013b)[_0x210178(0x240)](y)[_0x210178(0x240)](w),'removeComment':({channelId:_0x2e904d,threadId:_0x172e8e,commentId:_0x346eaf})=>this[_0x210178(0x253)](_0x2e904d)[_0x210178(0x218)](_0x172e8e,_0x346eaf)[_0x210178(0x240)](y)[_0x210178(0x240)](w)},_0x21ffb3 instanceof _0x424585){const _0x38f495=_0x21ffb3[_0x210178(0x23b)][_0x210178(0x252)](_0x210178(0x249)),_0x4bda1f=_0x21ffb3[_0x210178(0x24d)][_0x210178(0x252)](_0xd61cf2);await this[_0x210178(0x204)](_0x38f495);const _0x3d06c6=await this[_0x210178(0x205)][_0x210178(0x252)](_0x38f495)[_0x210178(0x247)]();this[_0x210178(0x219)](_0x4bda1f,_0x210178(0x23d)+_0x38f495,(_0x703d47,{session:_0x209b1e})=>{const _0x64b8f6=_0x210178;_0x209b1e['id']===_0x4bda1f[_0x64b8f6(0x235)]&&(_0x703d47[_0x64b8f6(0x1f7)](),this[_0x64b8f6(0x1fa)][_0x64b8f6(0x24d)][_0x64b8f6(0x252)](_0x64b8f6(0x208))[_0x64b8f6(0x243)](_0x209b1e[_0x64b8f6(0x221)],_0x38f495));}),_0x4bda1f[_0x210178(0x22d)](_0x38f495,_0x3d06c6);}}async[_0xc168e3(0x204)](_0x276649){const _0x4b8807=_0xc168e3;if(this[_0x4b8807(0x205)][_0x4b8807(0x209)](_0x276649))throw new _0x8575c8(_0x4b8807(0x250),null,{'channelId':_0x276649});const _0x4f3302=this[_0x4b8807(0x1fa)][_0x4b8807(0x24d)][_0x4b8807(0x252)](_0x4b8807(0x215)),_0x339676=new a[(_0x4b8807(0x207))](_0x276649);this[_0x4b8807(0x205)][_0x4b8807(0x231)](_0x276649,_0x339676),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x224),(_0xafc579,_0x27d4f7)=>{const _0x124a8c=_0x4b8807,{commentThreadId:_0x3e60a5,documentId:_0x4022c1,context:_0x5252cf,attributes:_0xa3a98b,resolvedAt:_0x53a99d,resolvedBy:_0x4115ec,comments:_0x3f20be}=_0x27d4f7;_0x4f3302[_0x124a8c(0x210)](_0x3e60a5)||_0x4f3302[_0x124a8c(0x21c)]({'threadId':_0x3e60a5,'channelId':_0x4022c1,'comments':_0x3f20be?_0x3f20be[_0x124a8c(0x24f)](b):[],'context':_0x5252cf,'attributes':_0xa3a98b,'resolvedAt':_0x53a99d,'resolvedBy':_0x4115ec,'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x1f9),(_0x377d5a,{commentThreadId:_0xe25854,documentId:_0x190a04,context:_0x2226ab,unlinkedAt:_0x1e656a,attributes:_0x5422d1})=>{const _0x4c415e=_0x4b8807;_0x4f3302[_0x4c415e(0x210)](_0xe25854)&&_0x4f3302[_0x4c415e(0x237)]({'threadId':_0xe25854,'channelId':_0x190a04,'context':_0x2226ab,'unlinkedAt':_0x1e656a,'attributes':_0x5422d1,'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x233),(_0x3fe102,{commentThreadId:_0x3df482,resolvedBy:_0x7ecb55,resolvedAt:_0x69c595})=>{const _0x25e243=_0x4b8807,_0x5e7e65=_0x4f3302[_0x25e243(0x210)](_0x3df482);_0x5e7e65&&_0x5e7e65[_0x25e243(0x24e)]({'resolvedBy':_0x7ecb55,'resolvedAt':_0x69c595,'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x23f),(_0x1b5fc4,{commentThreadId:_0x3c536b})=>{const _0x657673=_0x4b8807,_0x584394=_0x4f3302[_0x657673(0x210)](_0x3c536b);_0x584394&&_0x584394[_0x657673(0x1f8)]({'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x226),(_0x13de4d,{commentThreadId:_0x5be591})=>{const _0xb900db=_0x4b8807,_0x14fcfa=_0x4f3302[_0xb900db(0x210)](_0x5be591);_0x14fcfa&&_0x14fcfa[_0xb900db(0x1f4)]({'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x202),(_0x48b813,_0x5cf763)=>{const _0x22512f=_0x4b8807,_0x5349b1=_0x5cf763[_0x22512f(0x244)],_0x292644=_0x4f3302[_0x22512f(0x210)](_0x5349b1);_0x292644&&_0x292644[_0x22512f(0x21a)]({...b(_0x5cf763),'isFromAdapter':!0x0});}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x220),(_0x43bed9,{commentThreadId:_0x4c5e88,commentId:_0x2c8643,content:_0x29a67e,attributes:_0x217a6b})=>{const _0x5dd12d=_0x4b8807,_0xd6ea67=_0x4f3302[_0x5dd12d(0x210)](_0x4c5e88);if(_0xd6ea67){const _0x17ad62=_0xd6ea67[_0x5dd12d(0x248)](_0x2c8643);_0x17ad62&&_0x17ad62[_0x5dd12d(0x238)]({'content':_0x29a67e,'attributes':_0x217a6b,'isFromAdapter':!0x0});}}),this[_0x4b8807(0x219)](_0x339676,_0x4b8807(0x20d),(_0x7a2d0d,{commentThreadId:_0x158ec6,commentId:_0x17d407})=>{const _0x415540=_0x4b8807,_0x377055=_0x4f3302[_0x415540(0x210)](_0x158ec6);if(_0x377055){const _0x430090=_0x377055[_0x415540(0x248)](_0x17d407);_0x430090&&_0x430090[_0x415540(0x1f4)]({'isFromAdapter':!0x0});}}),await this[_0x4b8807(0x1fe)](_0x276649);}[_0xc168e3(0x1ef)](){const _0x55e73c=_0xc168e3;if(this[_0x55e73c(0x1fa)]instanceof _0x424585){const _0x36fb3b=this[_0x55e73c(0x1fa)][_0x55e73c(0x23b)][_0x55e73c(0x252)](_0x55e73c(0x249));this[_0x55e73c(0x223)](_0x36fb3b);}}[_0xc168e3(0x223)](_0x12dad4){const _0x5ec26e=_0xc168e3;if(!this[_0x5ec26e(0x205)][_0x5ec26e(0x209)](_0x12dad4))throw new _0x8575c8(_0x5ec26e(0x232),null,{'channelId':_0x12dad4});this[_0x5ec26e(0x253)](_0x12dad4)[_0x5ec26e(0x22c)](),this[_0x5ec26e(0x205)][_0x5ec26e(0x21b)](_0x12dad4);}async[_0xc168e3(0x211)](){const _0x533019=_0xc168e3;for(const _0x9d4102 of this[_0x533019(0x205)][_0x533019(0x1f2)]())await this[_0x533019(0x1fe)](_0x9d4102);if(this[_0x533019(0x1fa)]instanceof _0x424585){const _0x2df96f=this[_0x533019(0x1fa)][_0x533019(0x23b)][_0x533019(0x252)](_0x533019(0x249)),_0x1556da=this[_0x533019(0x1fa)][_0x533019(0x24d)][_0x533019(0x252)](_0xd61cf2);_0x1556da[_0x533019(0x22f)](_0x2df96f);const _0x24bfff=await this[_0x533019(0x205)][_0x533019(0x252)](_0x2df96f)[_0x533019(0x247)]();_0x1556da[_0x533019(0x22d)](_0x2df96f,_0x24bfff);}}async[_0xc168e3(0x1fe)](_0x5a914e){const _0x4ed48a=_0xc168e3,{connection:_0x520cdc}=this[_0x4ed48a(0x1fa)][_0x4ed48a(0x24d)][_0x4ed48a(0x252)](_0x5377eb),_0x5145c3=this[_0x4ed48a(0x1fa)][_0x4ed48a(0x24d)][_0x4ed48a(0x252)](_0x4ed48a(0x215)),_0x2f99b5=this[_0x4ed48a(0x205)][_0x4ed48a(0x252)](_0x5a914e),_0x1af48e=await _0x2f99b5[_0x4ed48a(0x23e)](_0x520cdc);await this[_0x4ed48a(0x22a)](_0x1af48e);const _0x3393c2=new Set(Array[_0x4ed48a(0x200)](_0x5145c3[_0x4ed48a(0x255)]({'channelId':_0x5a914e}),_0x4b8671=>_0x4b8671['id']));for(const _0x3ab42a of _0x1af48e)_0x3ab42a[_0x4ed48a(0x234)]||_0x3393c2[_0x4ed48a(0x21b)](_0x3ab42a[_0x4ed48a(0x244)]);for(const _0x49094f of _0x3393c2)_0x5145c3[_0x4ed48a(0x210)](_0x49094f)[_0x4ed48a(0x1f4)]({'isFromAdapter':!0x0});for(const _0x44b8ee of _0x1af48e){let _0x22f774=_0x5145c3[_0x4ed48a(0x210)](_0x44b8ee[_0x4ed48a(0x244)]);const {commentThreadId:_0x3f4cf5,context:_0x1fe5a3,attributes:_0x2168e3,resolvedBy:_0x3a9c72,resolvedAt:_0x1503eb,unlinkedAt:_0x153270,deletedAt:_0x1b5983}=_0x44b8ee;if(_0x1b5983)continue;_0x22f774||(_0x22f774=_0x5145c3[_0x4ed48a(0x21c)]({'channelId':_0x5a914e,'threadId':_0x3f4cf5,'context':_0x1fe5a3,'attributes':_0x2168e3||{},'resolvedBy':_0x3a9c72,'resolvedAt':_0x1503eb,'unlinkedAt':_0x153270,'isFromAdapter':!0x0}));const _0x49edf8=new Set(Array[_0x4ed48a(0x200)](_0x22f774[_0x4ed48a(0x24a)],_0x204d6b=>_0x204d6b['id']));for(const _0x17af69 of _0x44b8ee[_0x4ed48a(0x24a)])_0x49edf8[_0x4ed48a(0x21b)](_0x17af69[_0x4ed48a(0x222)]);for(const _0x3c1f47 of _0x49edf8)_0x22f774[_0x4ed48a(0x248)](_0x3c1f47)[_0x4ed48a(0x1f4)]({'isFromAdapter':!0x0});for(const _0x521686 of _0x44b8ee[_0x4ed48a(0x24a)]){const _0x240307=_0x22f774[_0x4ed48a(0x248)](_0x521686[_0x4ed48a(0x222)]);_0x240307?_0x240307[_0x4ed48a(0x1f3)]!==_0x521686[_0x4ed48a(0x1f3)]&&_0x240307[_0x4ed48a(0x238)]({'content':_0x521686[_0x4ed48a(0x1f3)],'isFromAdapter':!0x0}):_0x22f774[_0x4ed48a(0x21a)](Object[_0x4ed48a(0x201)](b(_0x521686),{'isFromAdapter':!0x0}));}}}[_0xc168e3(0x253)](_0x4aef46){const _0x448b76=_0xc168e3;if(!this[_0x448b76(0x205)][_0x448b76(0x209)](_0x4aef46))throw new _0x8575c8(_0x448b76(0x24b),null,{'channelId':_0x4aef46});return this[_0x448b76(0x205)][_0x448b76(0x252)](_0x4aef46);}async[_0xc168e3(0x22a)](_0x305189){const _0x15c207=_0xc168e3,_0x143b86=this[_0x15c207(0x1fa)][_0x15c207(0x24d)][_0x15c207(0x252)](_0x5a5767),{connection:_0x5548e6}=this[_0x15c207(0x1fa)][_0x15c207(0x24d)][_0x15c207(0x252)](_0x5377eb),_0x16317e=new Set();for(const {resolvedBy:_0xd5565b,comments:_0xac841}of _0x305189){_0xd5565b&&!_0x143b86[_0x15c207(0x239)](_0xd5565b)&&_0x16317e[_0x15c207(0x236)](_0xd5565b);for(const {userId:_0x19c000}of _0xac841)_0x143b86[_0x15c207(0x239)](_0x19c000)||_0x16317e[_0x15c207(0x236)](_0x19c000);}if(0x0===_0x16317e[_0x15c207(0x23c)])return;const _0x598f3a=await _0x316405[_0x15c207(0x20f)](_0x5548e6,Array[_0x15c207(0x200)](_0x16317e));for(const _0x28b85d of _0x598f3a)_0x143b86[_0x15c207(0x239)](_0x28b85d['id'])||_0x143b86[_0x15c207(0x245)](_0x28b85d);}}a[_0xc168e3(0x207)]=_0x119566;export default a;async function y(_0x451e9d){const _0x22f24f=_0xc168e3;if(_0x22f24f(0x21e)!==_0x451e9d[_0x22f24f(0x213)])throw _0x451e9d;}function w(_0x1e7efa){const _0x3e2c15=_0xc168e3;if((_0x9b9d30=_0x1e7efa)[_0x3e2c15(0x246)][_0x3e2c15(0x21d)](_0x3e2c15(0x254))||_0x9b9d30[_0x3e2c15(0x246)][_0x3e2c15(0x21d)](_0x3e2c15(0x216))||_0x9b9d30[_0x3e2c15(0x246)][_0x3e2c15(0x21d)](_0x3e2c15(0x251)))return new Promise(()=>{});var _0x9b9d30;throw _0x1e7efa;}function b(_0x118745){const _0x3ceee5=_0xc168e3;return{'threadId':_0x118745[_0x3ceee5(0x244)],'commentId':_0x118745[_0x3ceee5(0x222)],'content':_0x118745[_0x3ceee5(0x1f3)],'createdAt':_0x118745[_0x3ceee5(0x22e)],'authorId':_0x118745[_0x3ceee5(0x229)],'attributes':_0x118745[_0x3ceee5(0x20b)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3414bd=_0x2988;function _0x3416(){const _0x2f00d9=['change:hasDomSelection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','realtimecollaborationclient-init-session-connection-error','1446483ofRuys','locale','register','length','initData','_connectAfterSessionHasBeenFlushed','real-time-collaboration','filter','isEnabled','_baseBufferDelay','state','_waitUntilSynced','off','_connectService','wereChangesApplied','_setUpDataInit','slice','_sendBufferedOperations','isPremiumPlugin','decompress','rootsAttributes','mySessionId','differ','change:_isPendingUpdate','createPositionAt','_currentBufferDelay','_isConnected','editor','isDocumentOperation','$root','affectsData','bind','marker','applyOperation','cs:removeUser','string','_compressor','_disconnectService','3852359DZsIZB','CommentsOnly','version','entries','_saveOperationInBuffer','size','plugins','then','round','permissions','disconnected','_offset','unregister','metadata','sessionCreatedAt','isUndoneOperation','root','add','directChange','274DIYVVp','_handleReceivedOperations','error','connect','__className','_bufferedOperations','isOfficialPlugin','realtimecollaborationclient-init-connection-failed','wasUndone','includes','addRoot','keys','return','_updateServerHistory','currentDocumentSession','reconnection:\x20flushed\x20session','enqueueChange','path','has','startsWith','_applyOperationsSet','_sendBufferedOperationsDelayId','enableReadOnlyMode','destroy','suppressErrorInCollaboration','409','sessionId','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.','rtc-offline','setPermissions','realtimecollaborationclient-error','getIdOfTheLastOperation','attributes','map','_isAttached','listenTo','isReadOnly','rtc-destroyed','realtimecollaborationclient-initservice-internal-error','operationsReceived','_addKnownRoot','realtimecollaborationclient-handleserverresponse','move','connection','sessionAdd:','788376IQfNZT','_operationToId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnect','requires','_authorId','loadRoot','newRange','_handleServerResponse','addRootAttribute','editing','7762690xxxZxO','finally','end','_knownOperations','cloudDocumentVersion','connected','_handleReconnectionResponse','offset','lastOperationId','compress','404','toJSON','position','channelSessions','PENDING_ACTION_SENDING_DATA','_operationIdentifier','init','_loadRoot','_refreshUserSelectionMarkers','_bufferRootLoad','selection','getOperationAuthor','_compressOperations','_isInit','_knownRootNames','push','lastDocumentSession','_shouldSendSelectionUpdate','fire','_sendBufferedOperationsDelayed','Synchronization\x20issue','roots','document','realtimecollaborationclient-sendbufferedoperations','getUser','_handleReconnectionError','cloudServices.bundleVersion','collaboration.channelId','stop','get','ready','getRoot','serverHistory','createRange','RealTimeCollaborationClient','_fetchMissingUsers','_isLoaded','define','_setPendingAction','fromJSON','_service','catch','lastSyncVersion','disableReadOnlyMode','userId','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.','data','489246JuYcvk','setIdForTheLastOperation','_crash','Notification','collaboration','getConnectedSessions','_getOperationsFromInitData','addUser','type','start','showWarning','set','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_hasSynchronizationProblem','createUserMarkerOperations','multi-root-editor-root-attributes-no-root','collaboration-missing-channelid','getMany','CollaborativeEditingService','targetPosition','cloud-services-internal-error:\x20Request\x20timeout.','model','_lastSyncedOperationId','cloud-services-internal-error:\x20Not\x20connected.','Permissions','_ignoredOperations','document:write','2332eTRoJA','from','markers','_initSessionsHandling','code','reset','4UaaWPK','sendOperations','apply','stopListening','realtimecollaborationclient-initservice-incorrect-server-operation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','high','_pendingAction','_isPendingUpdate','_handleExternalOperations','_initThrowingOnDataSet','affectedSelectable','addOperation','remove','lastOperationAcceptedAt','_channelId','_disconnectionOperations','_clearPendingAction','change:_isEditingAllowed','27KDKZGG','_decompressOperations','parse','_lastServerVersion','reconnect','forEach','baseVersion','_shouldSendUpdate','_handleInitialConnectionData','pluginName','batch','message','createRoot','InsertOperation','_isDisconnection','clone','view','_handleSendingSelectionMarkers','rootName','addToReconnectionStack','_getAffectedRoot','getDocumentDetails','history','_isEditingAllowed','realtimecollaborationclient-init-non-existent-root','2336295mYMYEP','_hasSelectionChanged','change:range','insert','config','getOperations','removeFromReconnectionStack','createdAt','createPositionFromPath','realtimecollaborationclient-init-document-already-initialized','_document'];_0x3416=function(){return _0x2f00d9;};return _0x3416();}(function(_0x194801,_0x444e15){const _0x3d56d5=_0x2988,_0x39ef97=_0x194801();while(!![]){try{const _0x1049fd=parseInt(_0x3d56d5(0x1c5))/0x1*(parseInt(_0x3d56d5(0x23e))/0x2)+parseInt(_0x3d56d5(0x205))/0x3*(parseInt(_0x3d56d5(0x1cb))/0x4)+-parseInt(_0x3d56d5(0x1f7))/0x5+-parseInt(_0x3d56d5(0x1aa))/0x6+parseInt(_0x3d56d5(0x22b))/0x7+-parseInt(_0x3d56d5(0x26b))/0x8*(-parseInt(_0x3d56d5(0x1de))/0x9)+-parseInt(_0x3d56d5(0x276))/0xa;if(_0x1049fd===_0x444e15)break;else _0x39ef97['push'](_0x39ef97['shift']());}catch(_0xe32e13){_0x39ef97['push'](_0x39ef97['shift']());}}}(_0x3416,0x4ebfa));import{Plugin as _0x165d10,PendingActions as _0xd5b012}from'ckeditor5/src/core.js';import{CKEditorError as _0x3cb17c,version as _0x40a076,uid as _0x957c7b}from'ckeditor5/src/utils.js';import{Notification as _0x4ad87d}from'ckeditor5/src/ui.js';import{transformSets as _0x26ac80,NoOperation as _0x113a4a,InsertOperation as _0x319bbe,MarkerOperation as _0x11b55b,RootAttributeOperation as _0x25e9f0,OperationFactory as _0x222a29,History as _0xdf2d6a}from'ckeditor5/src/engine.js';import _0x334760 from'./websocketgateway.js';import _0x55e3f1 from'./sessions.js';import _0x25113e from'./usermarkers.js';import{getTranslation as _0x360431}from'../common-translations.js';import{Compressor as _0x16b6f5}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x49e933}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4bbd76,CollaborativeEditingService as _0x3393fb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x165d10{static get[_0x3414bd(0x26f)](){return[_0x334760,_0x55e3f1,_0x25113e,_0xd5b012,_0x49e933,_0x4ad87d];}static get[_0x3414bd(0x1e7)](){const _0x169a92=_0x3414bd;return _0x169a92(0x19d);}static get[_0x3414bd(0x244)](){return!0x0;}static get[_0x3414bd(0x217)](){return!0x0;}get[_0x3414bd(0x27a)](){const _0x3d8f35=_0x3414bd;return this[_0x3d8f35(0x1e1)]+this[_0x3d8f35(0x236)];}get[_0x3414bd(0x1e1)](){const _0x2eb823=_0x3414bd;return this[_0x2eb823(0x19b)][_0x2eb823(0x22d)]-this[_0x2eb823(0x236)];}get[_0x3414bd(0x1a5)](){const _0x4dd892=_0x3414bd,_0x236a2a=this[_0x4dd892(0x19b)][_0x4dd892(0x1fc)]();for(let _0x418810=_0x236a2a[_0x4dd892(0x208)]-0x1;_0x418810>=0x0;_0x418810--){const _0x5cb9ae=_0x236a2a[_0x418810];if(!this[_0x4dd892(0x1db)][_0x4dd892(0x250)](_0x5cb9ae))return _0x5cb9ae[_0x4dd892(0x1e4)]+0x1-this[_0x4dd892(0x236)];}return 0x0;}constructor(_0xd42219){const _0x2c31e8=_0x3414bd;if(super(_0xd42219),this[_0x2c31e8(0x236)]=0x0,this[_0x2c31e8(0x258)]=null,this[_0x2c31e8(0x19b)]=new _0xdf2d6a(),this[_0x2c31e8(0x220)][_0x2c31e8(0x1fb)][_0x2c31e8(0x1a0)](_0x2c31e8(0x1ae),{}),this[_0x2c31e8(0x1da)]=this[_0x2c31e8(0x220)][_0x2c31e8(0x1fb)][_0x2c31e8(0x198)](_0x2c31e8(0x196)),!this[_0x2c31e8(0x1da)])throw new _0x3cb17c(_0x2c31e8(0x1ba),this);const _0x2bdd52=_0xd42219[_0x2c31e8(0x1fb)][_0x2c31e8(0x198)](_0x2c31e8(0x195))||_0x40a076;this[_0x2c31e8(0x1a3)]=new l[(_0x2c31e8(0x1bc))](_0x2bdd52,this[_0x2c31e8(0x1da)]),this[_0x2c31e8(0x201)]=this[_0x2c31e8(0x220)][_0x2c31e8(0x1bf)][_0x2c31e8(0x191)],this[_0x2c31e8(0x229)]=new _0x16b6f5(),this[_0x2c31e8(0x243)]=[],this[_0x2c31e8(0x279)]=new WeakSet(),this[_0x2c31e8(0x189)]=new Set(),this[_0x2c31e8(0x1b5)](_0x2c31e8(0x1d3),!0x1),this[_0x2c31e8(0x1b5)](_0x2c31e8(0x1b7),!0x1),this[_0x2c31e8(0x1d2)]=null,this[_0x2c31e8(0x1f8)]=!0x1,this[_0x2c31e8(0x253)]=null,this[_0x2c31e8(0x20e)]=0x12c,this[_0x2c31e8(0x21e)]=this[_0x2c31e8(0x20e)],this[_0x2c31e8(0x1c0)]=null,this[_0x2c31e8(0x1db)]=new WeakSet(),this[_0x2c31e8(0x180)]=new X(this[_0x2c31e8(0x1db)]);}[_0x3414bd(0x181)](){const _0x39d749=_0x3414bd,_0xbed517=this[_0x39d749(0x220)],_0x51879f=_0xbed517[_0x39d749(0x231)][_0x39d749(0x198)](_0x49e933),_0x4d7174=_0xbed517[_0x39d749(0x231)][_0x39d749(0x198)](_0x334760);this[_0x39d749(0x261)](_0x51879f,_0x39d749(0x186),(_0x2a8a33,_0x17e67e)=>{const _0x35f539=_0x39d749,_0x9cbcae=_0x17e67e[0x0];_0x9cbcae[_0x35f539(0x270)]&&(_0x2a8a33[_0x35f539(0x24a)]=_0x51879f[_0x35f539(0x193)](_0x9cbcae[_0x35f539(0x270)]),_0x2a8a33[_0x35f539(0x197)]()),null===_0x9cbcae[_0x35f539(0x270)]&&(_0x2a8a33[_0x35f539(0x24a)]=null,_0x2a8a33[_0x35f539(0x197)]());},{'priority':_0x39d749(0x1d1)}),this[_0x39d749(0x261)](_0xbed517[_0x39d749(0x1bf)][_0x39d749(0x191)][_0x39d749(0x185)],_0x39d749(0x1f9),(_0x5b547a,_0x8a3c0a)=>{const _0x2f839b=_0x39d749;_0x8a3c0a[_0x2f839b(0x23d)]&&this[_0x2f839b(0x183)]();}),this[_0x39d749(0x261)](_0xbed517[_0x39d749(0x275)][_0x39d749(0x1ee)],_0x39d749(0x202),()=>{const _0x1e09bc=_0x39d749;this[_0x1e09bc(0x183)]();}),this[_0x39d749(0x1d5)](),_0xbed517[_0x39d749(0x1bf)]['on'](_0x39d749(0x226),(_0x3f1424,_0x2bdb4e)=>{const _0x3c6065=_0x39d749,_0x8b1a2b=_0x2bdb4e[0x0];_0x8b1a2b[_0x3c6065(0x221)]&&(this[_0x3c6065(0x22f)](_0x8b1a2b),this[_0x3c6065(0x1e5)]()&&this[_0x3c6065(0x18e)]());}),this[_0x39d749(0x214)](),this[_0x39d749(0x224)](_0x39d749(0x1f5))['to'](_0x4d7174,_0x39d749(0x20f),this,_0x39d749(0x1b7),(_0x2d1c01,_0x54048b)=>_0x39d749(0x27b)===_0x2d1c01&&!_0x54048b),this['on'](_0x39d749(0x1dd),()=>{const _0x3e4f9c=_0x39d749;this[_0x3e4f9c(0x1f5)]?_0xbed517[_0x3e4f9c(0x1a6)](_0x3e4f9c(0x25a)):_0xbed517[_0x3e4f9c(0x254)](_0x3e4f9c(0x25a));}),this[_0x39d749(0x1f5)]?_0xbed517[_0x39d749(0x1a6)](_0x39d749(0x25a)):_0xbed517[_0x39d749(0x254)](_0x39d749(0x25a)),this[_0x39d749(0x1b5)](_0x39d749(0x21f),!0x1);}async[_0x3414bd(0x1e2)](){const _0x2686e2=_0x3414bd,_0x32d8d7=this[_0x2686e2(0x220)][_0x2686e2(0x231)][_0x2686e2(0x198)](_0x55e3f1),_0x474e0d=this[_0x2686e2(0x220)][_0x2686e2(0x231)][_0x2686e2(0x198)](_0x334760);try{this[_0x2686e2(0x1d3)]=!0x0,_0x32d8d7[_0x2686e2(0x237)](this[_0x2686e2(0x1da)]);const _0x28351b=await this[_0x2686e2(0x1a3)][_0x2686e2(0x1e2)](_0x474e0d[_0x2686e2(0x269)],this[_0x2686e2(0x1a5)]);await this[_0x2686e2(0x27c)](_0x28351b)&&(this[_0x2686e2(0x1d3)]=!0x1,this[_0x2686e2(0x1dc)]());const _0x191056=await this[_0x2686e2(0x1a3)][_0x2686e2(0x1af)]();_0x32d8d7[_0x2686e2(0x207)](this[_0x2686e2(0x1da)],_0x191056),this[_0x2686e2(0x1ef)](),this[_0x2686e2(0x21f)]=!0x0;}catch(_0x246ad9){if(function(_0x580eca){const _0x63a0f4=_0x2686e2;return _0x63a0f4(0x17b)===_0x580eca[_0x63a0f4(0x1c9)];}(_0x246ad9)&&this[_0x2686e2(0x258)])await this[_0x2686e2(0x20a)]();else{if(function(_0xc11d9){const _0x990172=_0x2686e2;return _0x990172(0x257)===_0xc11d9[_0x990172(0x1c9)];}(_0x246ad9)){const _0x423e73=_0x360431(this[_0x2686e2(0x220)][_0x2686e2(0x206)],_0x2686e2(0x26d));this[_0x2686e2(0x194)](_0x423e73);}else{if(!(_0x246ad9 instanceof J))throw _0x246ad9;this[_0x2686e2(0x194)]();}}}}[_0x3414bd(0x255)](){const _0x19fca2=_0x3414bd,_0x36d7f6=this[_0x19fca2(0x220)][_0x19fca2(0x231)][_0x19fca2(0x198)](_0x334760),_0x33909e=this[_0x19fca2(0x220)][_0x19fca2(0x231)][_0x19fca2(0x198)](_0x55e3f1);this[_0x19fca2(0x220)][_0x19fca2(0x254)](_0x19fca2(0x263)),_0x33909e[_0x19fca2(0x17e)][_0x19fca2(0x250)](this[_0x19fca2(0x1da)])&&_0x33909e[_0x19fca2(0x237)](this[_0x19fca2(0x1da)]),_0x36d7f6[_0x19fca2(0x1fd)](this),this[_0x19fca2(0x22a)](),super[_0x19fca2(0x255)]();}async[_0x3414bd(0x27c)](_0x522ef1){const _0x11658c=_0x3414bd;if(this[_0x11658c(0x258)]!==_0x522ef1[_0x11658c(0x258)]&&this[_0x11658c(0x1c0)]!==_0x522ef1[_0x11658c(0x179)])throw new J();return this[_0x11658c(0x258)]=_0x522ef1[_0x11658c(0x258)],this[_0x11658c(0x273)]([],{..._0x522ef1,'wereChangesApplied':!0x1,'data':_0x522ef1[_0x11658c(0x1a9)]},_0x11658c(0x1e2));}async[_0x3414bd(0x212)](_0x4d2167,_0x1a8b50=!0x1){const _0x2f8062=_0x3414bd,{connection:_0x3fa716}=this[_0x2f8062(0x220)][_0x2f8062(0x231)][_0x2f8062(0x198)](_0x334760);l[_0x2f8062(0x1bc)][_0x2f8062(0x1af)](_0x3fa716,this[_0x2f8062(0x1da)])[_0x2f8062(0x232)](_0x41a500=>this[_0x2f8062(0x1c8)](_0x41a500))[_0x2f8062(0x1a4)](_0xef7300=>{const _0x21d852=_0x2f8062;this[_0x21d852(0x1ac)](_0x21d852(0x204),_0xef7300);}),this[_0x2f8062(0x261)](this[_0x2f8062(0x1a3)],_0x2f8062(0x265),this[_0x2f8062(0x23f)][_0x2f8062(0x224)](this)),this[_0x2f8062(0x261)](this[_0x2f8062(0x1a3)],_0x2f8062(0x240),(_0x2ac933,_0x198b9e)=>{const _0x2bf0b3=_0x2f8062;this[_0x2bf0b3(0x1ac)](_0x2bf0b3(0x264),_0x198b9e);}),this[_0x2f8062(0x261)](this[_0x2f8062(0x1a3)],_0x2f8062(0x235),()=>{const _0x484f0e=_0x2f8062;this[_0x484f0e(0x21f)]=!0x1;});const _0x121386=this[_0x2f8062(0x180)][_0x2f8062(0x25d)](_0x4d2167);this[_0x2f8062(0x1d3)]=!0x0;const _0x1753b2=await this[_0x2f8062(0x1a3)][_0x2f8062(0x241)](_0x3fa716,this[_0x2f8062(0x187)](_0x4d2167),_0x121386);if(this[_0x2f8062(0x258)]=_0x1753b2[_0x2f8062(0x258)],_0x1a8b50){if(!_0x1753b2[_0x2f8062(0x213)])return void this[_0x2f8062(0x194)]();this[_0x2f8062(0x1d3)]=!0x1,this[_0x2f8062(0x1dc)](),this[_0x2f8062(0x19b)][_0x2f8062(0x1ca)](),this[_0x2f8062(0x236)]=_0x1753b2[_0x2f8062(0x27d)],this[_0x2f8062(0x19b)][_0x2f8062(0x22d)]=this[_0x2f8062(0x236)],await this[_0x2f8062(0x273)](_0x4d2167,_0x1753b2,_0x2f8062(0x24d));}else await this[_0x2f8062(0x1e6)](_0x1753b2,_0x4d2167);this[_0x2f8062(0x1ef)](),this[_0x2f8062(0x21f)]=!0x0;}[_0x3414bd(0x1ef)](){const _0x325852=_0x3414bd,_0x57cae0=this[_0x325852(0x220)][_0x325852(0x231)][_0x325852(0x198)](_0x55e3f1),_0x986cc7=this[_0x325852(0x220)][_0x325852(0x231)][_0x325852(0x198)](_0x25113e),_0x576014=_0x57cae0[_0x325852(0x17e)][_0x325852(0x198)](this[_0x325852(0x1da)]);_0x576014&&_0x576014[_0x325852(0x208)]>0x1?_0x986cc7[_0x325852(0x1b8)]():this[_0x325852(0x261)](_0x57cae0,_0x325852(0x26a)+this[_0x325852(0x1da)],()=>{const _0x2f2b8c=_0x325852;0x2===_0x57cae0[_0x2f2b8c(0x17e)][_0x2f2b8c(0x198)](this[_0x2f2b8c(0x1da)])[_0x2f2b8c(0x208)]&&_0x986cc7[_0x2f2b8c(0x1b8)]();});}async[_0x3414bd(0x23f)](_0x5edec5,_0x5bcfd1,_0x283dfa,_0x1d892a){const _0x3d8455=_0x3414bd;if(!this[_0x3d8455(0x1d3)]&&this[_0x3d8455(0x201)][_0x3d8455(0x22d)]==_0x5bcfd1){const _0x1d09ec=this[_0x3d8455(0x1df)](_0x283dfa,_0x1d892a);await this[_0x3d8455(0x19e)](_0x1d09ec),this[_0x3d8455(0x1d4)](_0x1d09ec,_0x5bcfd1,_0x283dfa[_0x3d8455(0x179)])||this[_0x3d8455(0x1ac)](_0x3d8455(0x1cf));}}async[_0x3414bd(0x20a)](){const _0x3c2ed6=_0x3414bd;this[_0x3c2ed6(0x22a)]();const {locale:_0x3475cc}=this[_0x3c2ed6(0x220)];let _0x4e6413;try{_0x4e6413=await this[_0x3c2ed6(0x1a3)][_0x3c2ed6(0x1f3)]();}catch(_0x2f5705){const _0x135bc6=_0x360431(_0x3475cc,_0x3c2ed6(0x1d0));return void this[_0x3c2ed6(0x194)](_0x135bc6);}const _0x187863=_0x4e6413[_0x3c2ed6(0x24c)]||_0x4e6413[_0x3c2ed6(0x18b)];if(this[_0x3c2ed6(0x1c0)]===_0x187863[_0x3c2ed6(0x179)])await this[_0x3c2ed6(0x212)](this[_0x3c2ed6(0x220)][_0x3c2ed6(0x1bf)][_0x3c2ed6(0x191)][_0x3c2ed6(0x1f4)][_0x3c2ed6(0x1fc)](),!0x0);else{const _0x4bc6d0=_0x360431(_0x3475cc,_0x3c2ed6(0x259));this[_0x3c2ed6(0x194)](_0x4bc6d0);}}[_0x3414bd(0x22a)](){const _0x4b7570=_0x3414bd;this[_0x4b7570(0x1a3)][_0x4b7570(0x26e)](),this[_0x4b7570(0x243)]=[],clearTimeout(this[_0x4b7570(0x253)]),this[_0x4b7570(0x1ce)](this[_0x4b7570(0x1a3)]);}[_0x3414bd(0x1c8)](_0x442318){const _0x3fbafe=_0x3414bd,_0x2b101f=this[_0x3fbafe(0x220)][_0x3fbafe(0x231)][_0x3fbafe(0x198)](_0x55e3f1);this[_0x3fbafe(0x261)](_0x2b101f,_0x3fbafe(0x26a)+this[_0x3fbafe(0x1da)],(_0x2833aa,{session:_0x2e5644})=>{const _0x5515c9=_0x3fbafe;if(_0x2e5644['id']===_0x2b101f[_0x5515c9(0x21a)]){_0x2833aa[_0x5515c9(0x211)]();const _0x90ab3b=this[_0x5515c9(0x220)][_0x5515c9(0x231)][_0x5515c9(0x250)](_0x5515c9(0x22c))&&this[_0x5515c9(0x220)][_0x5515c9(0x231)][_0x5515c9(0x198)](_0x5515c9(0x22c));let _0x49659d=_0x2e5644[_0x5515c9(0x234)];_0x90ab3b&&_0x90ab3b[_0x5515c9(0x20d)]&&(_0x49659d=_0x49659d[_0x5515c9(0x20c)](_0x271f3c=>_0x5515c9(0x1c4)!==_0x271f3c)),this[_0x5515c9(0x220)][_0x5515c9(0x231)][_0x5515c9(0x198)](_0x5515c9(0x1c2))[_0x5515c9(0x25b)](_0x49659d,this[_0x5515c9(0x1da)]);}}),_0x2b101f[_0x3fbafe(0x207)](this[_0x3fbafe(0x1da)],_0x442318);}[_0x3414bd(0x1d5)](){const _0x13d766=_0x3414bd,_0x4b5714=this[_0x13d766(0x220)][_0x13d766(0x1a9)][_0x13d766(0x1b5)];this[_0x13d766(0x220)][_0x13d766(0x1a9)][_0x13d766(0x1b5)]=(..._0x2c5fd6)=>{const _0x15aee6=_0x13d766;if(!_0x2c5fd6[_0x2c5fd6[_0x15aee6(0x208)]-0x1][_0x15aee6(0x256)])throw new _0x3cb17c(_0x15aee6(0x203),this);_0x4b5714[_0x15aee6(0x1cd)](this[_0x15aee6(0x220)][_0x15aee6(0x1a9)],_0x2c5fd6);};}[_0x3414bd(0x214)](){const _0x48f250=_0x3414bd;this[_0x48f250(0x220)][_0x48f250(0x1a9)]['on'](_0x48f250(0x181),(_0x47336f,[_0x18b8b9])=>{const _0x2c7dc7=_0x48f250;if(this[_0x2c7dc7(0x201)][_0x2c7dc7(0x22d)])throw new _0x3cb17c(_0x2c7dc7(0x200),this);_0x47336f[_0x2c7dc7(0x197)](),this[_0x2c7dc7(0x1a1)]();const _0x18a5d6=this[_0x2c7dc7(0x220)][_0x2c7dc7(0x1fb)][_0x2c7dc7(0x198)](_0x2c7dc7(0x219)),_0x557d74=this[_0x2c7dc7(0x1b0)](_0x18b8b9,_0x18a5d6);0x0==_0x557d74[_0x2c7dc7(0x208)]&&_0x557d74[_0x2c7dc7(0x18a)](new _0x113a4a(0x0)),_0x47336f[_0x2c7dc7(0x24a)]=this[_0x2c7dc7(0x212)](_0x557d74)[_0x2c7dc7(0x232)](()=>{const _0x55b194=_0x2c7dc7;this[_0x55b194(0x220)][_0x55b194(0x231)][_0x55b194(0x198)](_0x334760)[_0x55b194(0x1f1)](this),this[_0x55b194(0x220)][_0x55b194(0x1a9)][_0x55b194(0x18d)](_0x55b194(0x199));})[_0x2c7dc7(0x1a4)](_0xec8144=>this[_0x2c7dc7(0x1ac)](_0x2c7dc7(0x245),_0xec8144))[_0x2c7dc7(0x277)](()=>this[_0x2c7dc7(0x1dc)]());},{'priority':_0x48f250(0x1d1)}),this[_0x48f250(0x220)]['on'](_0x48f250(0x271),async(_0x1f6b06,[_0x369899,_0x3bcae7])=>{const _0x2ae9b9=_0x48f250;_0x1f6b06[_0x2ae9b9(0x197)]();const _0x34e76a=this[_0x2ae9b9(0x220)][_0x2ae9b9(0x1bf)][_0x2ae9b9(0x191)][_0x2ae9b9(0x19a)](_0x369899);if(!this[_0x2ae9b9(0x189)][_0x2ae9b9(0x250)](_0x369899)){const _0x56c726=_0x3bcae7&&_0x3bcae7[_0x2ae9b9(0x1a9)]?_0x3bcae7[_0x2ae9b9(0x1a9)]:'',_0x569b63=_0x3bcae7&&_0x3bcae7[_0x2ae9b9(0x25e)]?_0x3bcae7[_0x2ae9b9(0x25e)]:{};await this[_0x2ae9b9(0x182)](_0x369899,_0x56c726,_0x569b63);}this[_0x2ae9b9(0x220)][_0x2ae9b9(0x1bf)][_0x2ae9b9(0x24e)]({'isUndoable':!0x1},()=>{const _0x1495f0=_0x2ae9b9;_0x34e76a[_0x1495f0(0x19f)]=!0x0,this[_0x1495f0(0x220)][_0x1495f0(0x1bf)][_0x1495f0(0x191)][_0x1495f0(0x21b)][_0x1495f0(0x184)](_0x34e76a);});},{'priority':_0x48f250(0x1d1)});}async[_0x3414bd(0x19e)](_0x19204e){const _0x1db7fb=_0x3414bd,_0x24d308=this[_0x1db7fb(0x220)][_0x1db7fb(0x231)][_0x1db7fb(0x198)](_0x49e933),{connection:_0x533368}=this[_0x1db7fb(0x220)][_0x1db7fb(0x231)][_0x1db7fb(0x198)](_0x334760),_0x466fb2=new Set();for(const _0x5f300e of _0x19204e){const _0x3aad62=_0x5f300e[_0x1db7fb(0x270)];_0x3aad62&&!_0x24d308[_0x1db7fb(0x193)](_0x3aad62)&&_0x466fb2[_0x1db7fb(0x23c)](_0x3aad62);}if(0x0===_0x466fb2[_0x1db7fb(0x230)])return;const _0x443db3=await _0x4bbd76[_0x1db7fb(0x1bb)](_0x533368,Array[_0x1db7fb(0x1c6)](_0x466fb2));for(const _0x490962 of _0x443db3)_0x24d308[_0x1db7fb(0x193)](_0x490962['id'])||_0x24d308[_0x1db7fb(0x1b1)](_0x490962);}[_0x3414bd(0x1b0)](_0x524c87,_0x51bb36={}){const _0x111630=_0x3414bd,_0x178f85=this[_0x111630(0x220)][_0x111630(0x1bf)],_0x3a30d4=[];let _0x4779e3=0x0;const _0x19176d=_0x111630(0x228)==typeof _0x524c87?{'main':_0x524c87}:_0x524c87;for(const _0x2f041a of Object[_0x111630(0x249)](_0x19176d)){if(!this[_0x111630(0x201)][_0x111630(0x190)][_0x111630(0x250)](_0x2f041a))throw new _0x3cb17c(_0x111630(0x1f6),this);const _0xf54066=this[_0x111630(0x220)][_0x111630(0x1a9)][_0x111630(0x1e0)](_0x19176d[_0x2f041a]),_0x5d9574=this[_0x111630(0x201)][_0x111630(0x19a)](_0x2f041a),_0x4480df=new _0x319bbe(_0x178f85[_0x111630(0x21d)](_0x5d9574,0x0),_0xf54066,_0x4779e3++);_0x3a30d4[_0x111630(0x18a)](_0x4480df);for(const [_0xd66f0,_0x7d58ae]of _0xf54066[_0x111630(0x1c7)]){const _0x49cc02=_0x178f85[_0x111630(0x19c)](_0x178f85[_0x111630(0x1ff)](_0x5d9574,_0x7d58ae[_0x111630(0x1b3)][_0x111630(0x24f)][_0x111630(0x215)]()),_0x178f85[_0x111630(0x1ff)](_0x5d9574,_0x7d58ae[_0x111630(0x278)][_0x111630(0x24f)][_0x111630(0x215)]())),_0x21f7b8=new _0x11b55b(_0xd66f0,null,_0x49cc02,_0x178f85[_0x111630(0x1c7)],!0x0,_0x4779e3++);_0x3a30d4[_0x111630(0x18a)](_0x21f7b8);}}if(_0x51bb36)for(const [_0x2cb681,_0x2defbe]of Object[_0x111630(0x22e)](_0x51bb36)){const _0x390fb7=_0x178f85[_0x111630(0x191)][_0x111630(0x19a)](_0x2cb681);if(!_0x390fb7)throw new _0x3cb17c(_0x111630(0x1b9),null);for(const [_0x503a71,_0x4ed94f]of Object[_0x111630(0x22e)](_0x2defbe))if(null!==_0x4ed94f){const _0x5e2c41=new _0x25e9f0(_0x390fb7,_0x503a71,null,_0x4ed94f,_0x4779e3++);_0x3a30d4[_0x111630(0x18a)](_0x5e2c41);}}return _0x3a30d4;}async[_0x3414bd(0x182)](_0xcbed8a,_0x2cfeb3,_0x336840){const _0x5cfb99=_0x3414bd;this[_0x5cfb99(0x1b0)]({[_0xcbed8a]:_0x2cfeb3},{[_0xcbed8a]:_0x336840})[_0x5cfb99(0x1e3)]((_0x1de396,_0x1d287b)=>{const _0x448093=_0x5cfb99;_0x1de396[_0x448093(0x1e4)]=this[_0x448093(0x201)][_0x448093(0x22d)]+_0x1d287b,_0x1de396[_0x448093(0x188)]=!0x0,this[_0x448093(0x22f)](_0x1de396);}),this[_0x5cfb99(0x18e)](),await this[_0x5cfb99(0x210)]();}async[_0x3414bd(0x1e6)](_0x43c964,_0x5bf99d){const _0x387cd7=_0x3414bd;let _0x532a58;this[_0x387cd7(0x236)]=_0x43c964[_0x387cd7(0x27d)];const _0x46638e=_0x43c964[_0x387cd7(0x213)]&&!_0x43c964[_0x387cd7(0x209)],_0x4094bf=_0x46638e?0x0:_0x43c964[_0x387cd7(0x1a9)][_0x387cd7(0x1e4)];if(_0x5bf99d[_0x387cd7(0x1e3)](_0x3b2226=>{const _0x2cfc25=_0x387cd7;_0x3b2226[_0x2cfc25(0x188)]=!0x0,_0x3b2226[_0x2cfc25(0x1fe)]=_0x43c964[_0x2cfc25(0x239)],_0x3b2226[_0x2cfc25(0x270)]=null;}),_0x46638e)_0x532a58=_0x5bf99d,this[_0x387cd7(0x252)](_0x532a58,_0x46638e);else{if(_0x43c964[_0x387cd7(0x209)]){const _0x5a6ff6=this[_0x387cd7(0x1b0)](_0x43c964[_0x387cd7(0x209)]);this[_0x387cd7(0x201)][_0x387cd7(0x1f4)][_0x387cd7(0x22d)]=-_0x5a6ff6[_0x387cd7(0x208)],_0x5a6ff6[_0x387cd7(0x1e3)](_0x325fcc=>{const _0x12b0ee=_0x387cd7;_0x325fcc[_0x12b0ee(0x1e4)]-=_0x5a6ff6[_0x12b0ee(0x208)],_0x325fcc[_0x12b0ee(0x1fe)]=_0x43c964[_0x12b0ee(0x239)],_0x325fcc[_0x12b0ee(0x188)]=!0x0,_0x325fcc[_0x12b0ee(0x270)]=null;}),this[_0x387cd7(0x252)](_0x5a6ff6,!0x0),this[_0x387cd7(0x19b)][_0x387cd7(0x22d)]=-_0x5a6ff6[_0x387cd7(0x208)]+this[_0x387cd7(0x236)],this[_0x387cd7(0x24b)](_0x5a6ff6);}this[_0x387cd7(0x201)][_0x387cd7(0x1f4)][_0x387cd7(0x22d)]=_0x4094bf,_0x532a58=this[_0x387cd7(0x1df)](_0x43c964[_0x387cd7(0x1a9)],_0x43c964[_0x387cd7(0x238)]),await this[_0x387cd7(0x19e)](_0x532a58),this[_0x387cd7(0x252)](_0x532a58,_0x46638e);}_0x43c964[_0x387cd7(0x179)]&&(this[_0x387cd7(0x180)][_0x387cd7(0x1ab)](_0x532a58,_0x43c964[_0x387cd7(0x179)]),this[_0x387cd7(0x1c0)]=_0x43c964[_0x387cd7(0x179)]),this[_0x387cd7(0x19b)][_0x387cd7(0x22d)]=_0x4094bf+this[_0x387cd7(0x236)],this[_0x387cd7(0x24b)](_0x532a58),_0x5bf99d[_0x387cd7(0x20c)](_0x55a72b=>{const _0x4f2857=_0x387cd7,_0x243f07=this[_0x4f2857(0x1f2)](_0x55a72b);return _0x243f07&&!this[_0x4f2857(0x189)][_0x4f2857(0x250)](_0x243f07);})[_0x387cd7(0x1e3)]((_0x548204,_0x3407ee)=>{const _0x3f0221=_0x387cd7;_0x548204[_0x3f0221(0x1e4)]=this[_0x3f0221(0x201)][_0x3f0221(0x22d)]+_0x3407ee,this[_0x3f0221(0x22f)](_0x548204);}),this[_0x387cd7(0x1e5)]()?(this[_0x387cd7(0x21e)]=0x0,this[_0x387cd7(0x18e)](!0x0),await this[_0x387cd7(0x210)]()):(this[_0x387cd7(0x1d3)]=!0x1,this[_0x387cd7(0x1dc)]());}[_0x3414bd(0x1ac)](_0x5c29be,_0x24e86e,_0x54b34f){const _0x2547bd=_0x3414bd;throw this[_0x2547bd(0x1d3)]=!0x0,_0x24e86e&&console[_0x2547bd(0x240)](_0x24e86e),_0x54b34f&&this[_0x2547bd(0x220)][_0x2547bd(0x254)](_0x2547bd(0x25c)),new _0x3cb17c(_0x5c29be,this[_0x2547bd(0x220)]);}[_0x3414bd(0x22f)](_0x113616){const _0x1704d4=_0x3414bd;this[_0x1704d4(0x279)][_0x1704d4(0x250)](_0x113616)||(this[_0x1704d4(0x279)][_0x1704d4(0x23c)](_0x113616),this[_0x1704d4(0x243)][_0x1704d4(0x18a)](_0x113616),this[_0x1704d4(0x1d2)]||_0x1704d4(0x225)==_0x113616[_0x1704d4(0x1b2)]&&!_0x113616[_0x1704d4(0x223)]||this[_0x1704d4(0x1a1)]());}[_0x3414bd(0x18e)](_0x217a4c=!0x1){const _0x1a36b9=_0x3414bd;!_0x217a4c&&this[_0x1a36b9(0x1d3)]||(this[_0x1a36b9(0x1d3)]=!0x0,clearTimeout(this[_0x1a36b9(0x253)]),this[_0x1a36b9(0x253)]=setTimeout(()=>{const _0x4a06e9=_0x1a36b9;this[_0x4a06e9(0x216)]()[_0x4a06e9(0x232)](_0x18669b=>{const _0xe9a113=_0x4a06e9;_0x18669b&&(this[_0xe9a113(0x1dc)](),this[_0xe9a113(0x1d3)]=!0x1);})[_0x4a06e9(0x1a4)](_0x4f984c=>{const _0x3640de=_0x4a06e9;this[_0x3640de(0x1dc)](),this[_0x3640de(0x1d3)]=!0x1,function(_0x1be32d){const _0x214030=_0x3640de;return _0x1be32d[_0x214030(0x1e9)][_0x214030(0x251)](_0x214030(0x1c1))||_0x1be32d[_0x214030(0x1e9)][_0x214030(0x251)](_0x214030(0x1b6))||_0x1be32d[_0x214030(0x1e9)][_0x214030(0x251)](_0x214030(0x1be));}(_0x4f984c)||this[_0x3640de(0x1ac)](_0x4f984c[_0x3640de(0x1e9)],_0x4f984c,!0x0);});},this[_0x1a36b9(0x21e)]));}[_0x3414bd(0x210)](){return new Promise(_0x851c36=>{const _0x3ab068=_0x2988;this['on'](_0x3ab068(0x21c),()=>{_0x851c36();});});}async[_0x3414bd(0x216)](){const _0xa356d2=_0x3414bd,_0x4bdb9f=this[_0xa356d2(0x220)][_0xa356d2(0x231)][_0xa356d2(0x198)](_0x25113e);if(this[_0xa356d2(0x18c)]()&&(_0x4bdb9f[_0xa356d2(0x1b8)](),this[_0xa356d2(0x1f8)]=!0x1),!this[_0xa356d2(0x1e5)]())return!0x0;const _0x5778b8=[...this[_0xa356d2(0x243)]];for(const _0x41fd28 of _0x5778b8)_0x41fd28[_0xa356d2(0x246)]=this[_0xa356d2(0x201)][_0xa356d2(0x1f4)][_0xa356d2(0x23a)](_0x41fd28);const _0x310650=this[_0xa356d2(0x180)][_0xa356d2(0x25d)](_0x5778b8),_0x17a3f3=K++,_0x105622=this[_0xa356d2(0x187)](_0x5778b8),_0x33b3c1=await this[_0xa356d2(0x1a3)][_0xa356d2(0x1cc)](_0x105622,_0x105622[_0xa356d2(0x1e4)],_0x310650);try{return await this[_0xa356d2(0x273)](_0x5778b8,_0x33b3c1,_0x17a3f3);}catch(_0x8b5187){return this[_0xa356d2(0x1ac)](_0xa356d2(0x192),_0x8b5187);}}async[_0x3414bd(0x273)](_0x44bab7,_0x1fded1,_0x1db484){const _0x54358b=_0x3414bd;if(_0x54358b(0x240)in _0x1fded1)throw _0x1fded1[_0x54358b(0x240)];let _0x3c7370=!0x1;if(_0x1fded1[_0x54358b(0x213)]){_0x1fded1[_0x54358b(0x179)]&&(this[_0x54358b(0x1c0)]=_0x1fded1[_0x54358b(0x179)]),this[_0x54358b(0x243)]=this[_0x54358b(0x243)][_0x54358b(0x20c)](_0x3608c1=>!_0x44bab7[_0x54358b(0x247)](_0x3608c1));for(const _0xd91d65 of _0x44bab7)_0xd91d65[_0x54358b(0x1fe)]=_0x54358b(0x1d9)in _0x1fded1&&_0x1fded1[_0x54358b(0x1d9)]||void 0x0;Q(_0x44bab7,_0x1fded1[_0x54358b(0x22d)]-_0x44bab7[_0x54358b(0x208)]),this[_0x54358b(0x24b)](_0x44bab7);const _0x5c6a07=_0x44bab7[_0x54358b(0x20c)](_0x3f0069=>{const _0x2e0bf0=_0x54358b;if(!_0x3f0069[_0x2e0bf0(0x188)])return!0x1;const _0x4907f2=this[_0x2e0bf0(0x1f2)](_0x3f0069);return _0x4907f2&&!this[_0x2e0bf0(0x189)][_0x2e0bf0(0x250)](_0x4907f2);});Q(_0x5c6a07,this[_0x54358b(0x201)][_0x54358b(0x22d)]),this[_0x54358b(0x252)](_0x5c6a07),_0x3c7370=!0x0,this[_0x54358b(0x21e)]=this[_0x54358b(0x20e)];}else{const _0x43e2a8=this[_0x54358b(0x1df)](_0x1fded1[_0x54358b(0x1a9)],_0x1fded1[_0x54358b(0x238)])[_0x54358b(0x20c)](_0x1d6d40=>_0x1d6d40[_0x54358b(0x1e4)]>=this[_0x54358b(0x1e1)]);_0x43e2a8[_0x54358b(0x1e3)](_0x53ada4=>this[_0x54358b(0x266)](_0x53ada4)),this[_0x54358b(0x243)]=this[_0x54358b(0x243)][_0x54358b(0x20c)](_0x13f10d=>!_0x13f10d[_0x54358b(0x188)]||!this[_0x54358b(0x189)][_0x54358b(0x250)](this[_0x54358b(0x1f2)](_0x13f10d))),this[_0x54358b(0x243)][_0x54358b(0x208)]&&Q(this[_0x54358b(0x243)],this[_0x54358b(0x243)][0x0][_0x54358b(0x1e4)]),await this[_0x54358b(0x19e)](_0x43e2a8),_0x3c7370=this[_0x54358b(0x1d4)](_0x43e2a8,_0x1fded1[_0x54358b(0x22d)],_0x1fded1[_0x54358b(0x179)]),this[_0x54358b(0x21e)]=Math[_0x54358b(0x233)](this[_0x54358b(0x21e)]/0x2);}return _0x3c7370?!this[_0x54358b(0x1e5)]()||(this[_0x54358b(0x18e)](!0x0),!0x1):this[_0x54358b(0x1ac)](_0x54358b(0x267));}[_0x3414bd(0x1d4)](_0x3bad4f,_0x206a34,_0x4ae448){const _0x2400a5=_0x3414bd;try{const _0x1dc689={'document':this[_0x2400a5(0x201)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x12bf09,operationsB:_0x2095e7,originalOperations:_0x4d7d8d}=_0x26ac80(_0x3bad4f,this[_0x2400a5(0x243)],_0x1dc689);Q(_0x12bf09,this[_0x2400a5(0x201)][_0x2400a5(0x22d)]),Q(_0x2095e7,_0x206a34);for(const _0x451e68 of _0x12bf09){const _0x2b8d1c=_0x4d7d8d[_0x2400a5(0x198)](_0x451e68);_0x451e68[_0x2400a5(0x270)]=_0x2b8d1c?_0x2b8d1c[_0x2400a5(0x270)]:null;}_0x4ae448&&(this[_0x2400a5(0x180)][_0x2400a5(0x1ab)](_0x3bad4f,_0x4ae448),this[_0x2400a5(0x1c0)]=_0x4ae448),this[_0x2400a5(0x243)]=[..._0x2095e7],this[_0x2400a5(0x252)](_0x12bf09),this[_0x2400a5(0x24b)](_0x3bad4f);}catch(_0x1522bf){return console[_0x2400a5(0x240)](_0x1522bf),!0x1;}return!0x0;}[_0x3414bd(0x252)](_0x922a33,_0x3c6581=!0x1){const _0x43d3f6=_0x3414bd;this[_0x43d3f6(0x220)][_0x43d3f6(0x1bf)][_0x43d3f6(0x24e)]({'isUndoable':!0x1,'isLocal':!0x1},_0x28fac1=>{const _0x5e70c0=_0x43d3f6;for(const _0x3709e7 of _0x922a33)this[_0x5e70c0(0x279)][_0x5e70c0(0x23c)](_0x3709e7),this[_0x5e70c0(0x266)](_0x3709e7),_0x28fac1[_0x5e70c0(0x1e8)][_0x5e70c0(0x1d7)](_0x3709e7),this[_0x5e70c0(0x220)][_0x5e70c0(0x1bf)][_0x5e70c0(0x226)](_0x3709e7);});}[_0x3414bd(0x266)](_0x471f71){const _0x27754b=_0x3414bd,_0x297c5b=this[_0x27754b(0x1f2)](_0x471f71);_0x297c5b&&this[_0x27754b(0x189)][_0x27754b(0x23c)](_0x297c5b);}[_0x3414bd(0x1f2)](_0x2d198e){const _0x375646=_0x3414bd;let _0x58b12a,_0x48ea30;switch(_0x2d198e[_0x375646(0x1b2)]){case _0x375646(0x1fa):_0x58b12a=_0x2d198e[_0x375646(0x17d)][_0x375646(0x23b)];break;case _0x375646(0x225):if(_0x48ea30=_0x2d198e[_0x375646(0x272)],!_0x48ea30)return null;_0x58b12a=_0x48ea30[_0x375646(0x23b)];break;case _0x375646(0x274):_0x58b12a=_0x2d198e[_0x375646(0x23b)];break;case _0x375646(0x248):_0x58b12a=_0x2d198e[_0x375646(0x1d6)];break;case _0x375646(0x268):_0x58b12a=_0x2d198e[_0x375646(0x1bd)][_0x375646(0x23b)];break;default:return null;}return _0x58b12a[_0x375646(0x1f0)];}[_0x3414bd(0x24b)](_0x42b315){const _0x4b3c45=_0x3414bd;_0x42b315[_0x4b3c45(0x1e3)](_0x2435c4=>{const _0x3886c8=_0x4b3c45,_0x148950=_0x2435c4[_0x3886c8(0x1ed)]();_0x148950[_0x3886c8(0x270)]=_0x2435c4[_0x3886c8(0x270)],_0x148950[_0x3886c8(0x188)]=!!_0x2435c4[_0x3886c8(0x188)],_0x148950[_0x3886c8(0x1fe)]=_0x2435c4[_0x3886c8(0x1fe)],_0x148950[_0x3886c8(0x1e4)]+=this[_0x3886c8(0x236)],_0x2435c4[_0x3886c8(0x1ec)]&&this[_0x3886c8(0x1db)][_0x3886c8(0x23c)](_0x148950),this[_0x3886c8(0x19b)][_0x3886c8(0x1d7)](_0x148950);});}[_0x3414bd(0x194)](_0x329223){const _0x33a3f9=_0x3414bd,_0x4dbce9=this[_0x33a3f9(0x220)][_0x33a3f9(0x231)][_0x33a3f9(0x198)](_0x33a3f9(0x1ad)),_0xf3b701=this[_0x33a3f9(0x220)][_0x33a3f9(0x206)];_0x329223||(_0x329223=_0x360431(_0xf3b701,_0x33a3f9(0x1a8))),_0x4dbce9[_0x33a3f9(0x1b4)](_0x329223,{'title':_0x360431(_0xf3b701,_0x33a3f9(0x18f)),'namespace':_0x33a3f9(0x20b)}),this[_0x33a3f9(0x1b7)]=!0x0,clearTimeout(this[_0x33a3f9(0x253)]),this[_0x33a3f9(0x243)]=[],this[_0x33a3f9(0x220)][_0x33a3f9(0x231)][_0x33a3f9(0x198)](_0x334760)[_0x33a3f9(0x255)]();}[_0x3414bd(0x1a1)](){const _0x49be80=_0x3414bd;this[_0x49be80(0x1d2)]||(this[_0x49be80(0x1d2)]=this[_0x49be80(0x220)][_0x49be80(0x231)][_0x49be80(0x198)](_0xd5b012)[_0x49be80(0x23c)](_0x360431(this[_0x49be80(0x220)][_0x49be80(0x206)],_0x49be80(0x17f))));}[_0x3414bd(0x1dc)](){const _0x230957=_0x3414bd;this[_0x230957(0x1d2)]&&(this[_0x230957(0x220)][_0x230957(0x231)][_0x230957(0x198)](_0xd5b012)[_0x230957(0x1d8)](this[_0x230957(0x1d2)]),this[_0x230957(0x1d2)]=null);}[_0x3414bd(0x187)](_0x2a783c){const _0x26f9e1=_0x3414bd,_0x300857=_0x2a783c[_0x26f9e1(0x25f)](_0xa80cc=>_0xa80cc[_0x26f9e1(0x17c)]());return this[_0x26f9e1(0x229)][_0x26f9e1(0x17a)](_0x300857);}[_0x3414bd(0x1df)](_0x261138,_0x279128){const _0x2720bb=_0x3414bd;return this[_0x2720bb(0x229)][_0x2720bb(0x218)](_0x261138)[_0x2720bb(0x25f)]((_0x472412,_0xa40b71)=>{const _0x4ab444=_0x2720bb,_0x2843de=_0x4ab444(0x181)==_0x279128[_0xa40b71][_0x4ab444(0x1b2)];if(_0x4ab444(0x1eb)==_0x472412[_0x4ab444(0x242)]){const _0x35f4b2=_0x472412[_0x4ab444(0x17d)][_0x4ab444(0x23b)];!this[_0x4ab444(0x201)][_0x4ab444(0x19a)](_0x35f4b2)&&(this[_0x4ab444(0x201)][_0x4ab444(0x1ea)](_0x4ab444(0x222),_0x35f4b2)[_0x4ab444(0x260)]=!0x1);}const _0xcb3deb=_0x222a29[_0x4ab444(0x1a2)](_0x472412,this[_0x4ab444(0x201)]);return _0xcb3deb[_0x4ab444(0x246)]=_0x472412[_0x4ab444(0x246)],_0xcb3deb[_0x4ab444(0x188)]=_0x2843de,_0xcb3deb[_0x4ab444(0x270)]=_0x2843de?null:_0x279128[_0xa40b71][_0x4ab444(0x1a7)],_0xcb3deb[_0x4ab444(0x1ec)]=_0x4ab444(0x227)===_0x279128[_0xa40b71][_0x4ab444(0x1b2)],_0xcb3deb[_0x4ab444(0x1fe)]=_0x279128[_0xa40b71][_0x4ab444(0x1fe)],_0xcb3deb;});}[_0x3414bd(0x183)](){const _0xebee87=_0x3414bd;this[_0xebee87(0x1f8)]=!0x0,this[_0xebee87(0x18c)]()?this[_0xebee87(0x18e)]():this[_0xebee87(0x1f8)]=!0x1;}[_0x3414bd(0x18c)](){const _0x1ce5ce=_0x3414bd,_0x334c4a=this[_0x1ce5ce(0x220)][_0x1ce5ce(0x231)][_0x1ce5ce(0x198)](_0x55e3f1)[_0x1ce5ce(0x17e)][_0x1ce5ce(0x198)](this[_0x1ce5ce(0x1da)]);return!this[_0x1ce5ce(0x220)][_0x1ce5ce(0x262)]&&!!_0x334c4a&&_0x334c4a[_0x1ce5ce(0x208)]>0x1&&this[_0x1ce5ce(0x1f8)];}[_0x3414bd(0x1e5)](){const _0x13d04b=_0x3414bd;return this[_0x13d04b(0x243)][_0x13d04b(0x208)]>0x0||this[_0x13d04b(0x18c)]();}}l[_0x3414bd(0x1bc)]=_0x3393fb;export default l;class J extends Error{}function Q(_0x60dcbc,_0x1451bb){const _0x463caf=_0x3414bd;for(const _0xc96cc2 of _0x60dcbc)_0xc96cc2[_0x463caf(0x1e4)]=_0x1451bb++;}function _0x2988(_0x13d57c,_0x3bf42e){const _0x34160b=_0x3416();return _0x2988=function(_0x2988e0,_0xca34ad){_0x2988e0=_0x2988e0-0x179;let _0x5bf227=_0x34160b[_0x2988e0];return _0x5bf227;},_0x2988(_0x13d57c,_0x3bf42e);}class X{constructor(_0x1557cd){const _0x51995a=_0x3414bd;this[_0x51995a(0x1c3)]=_0x1557cd,this[_0x51995a(0x26c)]=new WeakMap();}[_0x3414bd(0x25d)](_0x4707ab){const _0x40a89f=_0x3414bd;let _0x587c8f=_0x4707ab[_0x40a89f(0x208)];for(;_0x587c8f--;){const _0x535c1b=_0x4707ab[_0x587c8f];if(!this[_0x40a89f(0x1c3)][_0x40a89f(0x250)](_0x535c1b)){if(!this[_0x40a89f(0x26c)][_0x40a89f(0x250)](_0x535c1b)){const _0x389544=_0x957c7b()[_0x40a89f(0x215)](0x1,0x12);this[_0x40a89f(0x26c)][_0x40a89f(0x1b5)](_0x535c1b,_0x389544);}return this[_0x40a89f(0x26c)][_0x40a89f(0x198)](_0x535c1b);}}}[_0x3414bd(0x1ab)](_0x41807c,_0x3117ec){const _0x5ee36f=_0x3414bd;if(!_0x3117ec)return;let _0x4dc0b7=_0x41807c[_0x5ee36f(0x208)];for(;_0x4dc0b7--;){const _0x518684=_0x41807c[_0x4dc0b7];this[_0x5ee36f(0x1c3)][_0x5ee36f(0x250)](_0x518684)||this[_0x5ee36f(0x26c)][_0x5ee36f(0x1b5)](_0x518684,_0x3117ec);}}}
|
|
23
|
+
const _0x179e99=_0x58ad;(function(_0x3e78fa,_0x13e62d){const _0x1f8c86=_0x58ad,_0x52da5f=_0x3e78fa();while(!![]){try{const _0x3e42ac=-parseInt(_0x1f8c86(0x244))/0x1+parseInt(_0x1f8c86(0x202))/0x2*(-parseInt(_0x1f8c86(0x1ff))/0x3)+parseInt(_0x1f8c86(0x1bb))/0x4*(parseInt(_0x1f8c86(0x1f2))/0x5)+-parseInt(_0x1f8c86(0x1ce))/0x6*(parseInt(_0x1f8c86(0x24d))/0x7)+parseInt(_0x1f8c86(0x23c))/0x8*(-parseInt(_0x1f8c86(0x275))/0x9)+-parseInt(_0x1f8c86(0x1ba))/0xa+parseInt(_0x1f8c86(0x212))/0xb;if(_0x3e42ac===_0x13e62d)break;else _0x52da5f['push'](_0x52da5f['shift']());}catch(_0x4268aa){_0x52da5f['push'](_0x52da5f['shift']());}}}(_0x2f27,0xc48b5));import{Plugin as _0x1c1a65,PendingActions as _0x182231}from'ckeditor5/src/core.js';import{CKEditorError as _0x31c865,version as _0x5583be,uid as _0x254968}from'ckeditor5/src/utils.js';function _0x2f27(){const _0x31a749=['_knownRootNames','_saveOperationInBuffer','round','multi-root-editor-root-attributes-no-root','realtimecollaborationclient-init-document-already-initialized','_bufferedOperations','from','fromJSON','startsWith','realtimecollaborationclient-init-connection-failed','then','baseVersion','lastDocumentSession','createdAt','length','isDocumentOperation','permissions','19950BJdPZg','_initThrowingOnDataSet','affectsData','_isConnected','destroy','real-time-collaboration','attributes','document:write','createUserMarkerOperations','push','addRootAttribute','set','_sendBufferedOperationsDelayId','stopListening','CollaborativeEditingService','addRoot','InsertOperation','change:_isPendingUpdate','_handleReconnectionResponse','parse','_disconnectionOperations','metadata','_handleServerResponse','sendOperations','_isInit','_connectService','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.','_shouldSendUpdate','isPremiumPlugin','_lastSyncedOperationId','applyOperation','getOperationAuthor','apply','_isDisconnection','realtimecollaborationclient-initservice-incorrect-server-operation','_decompressOperations','100OFxRpA','size','getUser','_ignoredOperations','sessionCreatedAt','cs:removeUser','realtimecollaborationclient-handleserverresponse','initData','has','message','return','_document','init','51yYhiCw','plugins','realtimecollaborationclient-initservice-internal-error','118688TZcNYb','change:hasDomSelection','reconnect','targetPosition','collaboration-missing-channelid','_isLoaded','_compressor','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_bufferRootLoad','_setPendingAction','high','start','wereChangesApplied','lastOperationId','_setUpDataInit','_operationIdentifier','40666153gzGoLT','createPositionAt','enableReadOnlyMode','createPositionFromPath','disconnect','differ','markers','state','map','createRoot','_operationToId','string','rtc-offline','$root','showWarning','view','addOperation','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_initSessionsHandling','connect','getConnectedSessions','Permissions','cloudServices.bundleVersion','_service','sessionId','fire','409','realtimecollaborationclient-init-non-existent-root','cloud-services-internal-error:\x20Not\x20connected.','position','config','_handleInitialConnectionData','connected','sessionAdd:','_applyOperationsSet','serverHistory','clone','version','register','_fetchMissingUsers','rootsAttributes','getRoot','63016pGsKDp','isOfficialPlugin','move','batch','rtc-destroyed','addUser','setPermissions','getDocumentDetails','109681iWnEmV','realtimecollaborationclient-sendbufferedoperations','_lastServerVersion','_waitUntilSynced','_loadRoot','off','compress','_disconnectService','newRange','2667vEtmFk','disableReadOnlyMode','_refreshUserSelectionMarkers','bind','change:range','_sendBufferedOperationsDelayed','404','_offset','code','_isAttached','_compressOperations','requires','_connectAfterSessionHasBeenFlushed','disconnected','addToReconnectionStack','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','operationsReceived','_shouldSendSelectionUpdate','_knownOperations','loadRoot','getMany','insert','entries','_isPendingUpdate','wasUndone','_pendingAction','_sendBufferedOperations','data','_updateServerHistory','remove','path','rootName','_addKnownRoot','getOperations','model','userId','enqueueChange','affectedSelectable','offset','ready','1809XDrzHK','finally','_currentBufferDelay','_hasSynchronizationProblem','directChange','lastSyncVersion','removeFromReconnectionStack','_baseBufferDelay','Synchronization\x20issue','slice','reconnection:\x20flushed\x20session','define','get','document','realtimecollaborationclient-init-session-connection-error','suppressErrorInCollaboration','editor','stop','catch','channelSessions','filter','decompress','Notification','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','mySessionId','_getAffectedRoot','getIdOfTheLastOperation','currentDocumentSession','isUndoneOperation','type','toJSON','listenTo','marker','_authorId','end','_clearPendingAction','collaboration','change:_isEditingAllowed','error','connection','editing','createRange','forEach','__className','realtimecollaborationclient-error','PENDING_ACTION_SENDING_DATA','_getOperationsFromInitData','setIdForTheLastOperation','roots','keys','cloud-services-internal-error:\x20Request\x20timeout.','_handleReceivedOperations','_channelId','locale','pluginName','_isEditingAllowed','includes','_handleReconnectionError','selection','CommentsOnly','isEnabled','unregister','isReadOnly','root','reset','lastOperationAcceptedAt','RealTimeCollaborationClient','cloudDocumentVersion','add','_crash','_handleExternalOperations','_hasSelectionChanged','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.','collaboration.channelId','history','1004270gSzFzc','235436bBvRJl','_handleSendingSelectionMarkers'];_0x2f27=function(){return _0x31a749;};return _0x2f27();}import{Notification as _0x22680e}from'ckeditor5/src/ui.js';function _0x58ad(_0xb3592b,_0xf4b1ee){const _0x2f27e1=_0x2f27();return _0x58ad=function(_0x58ad19,_0x8a74ac){_0x58ad19=_0x58ad19-0x17e;let _0x335560=_0x2f27e1[_0x58ad19];return _0x335560;},_0x58ad(_0xb3592b,_0xf4b1ee);}import{transformSets as _0x33f3f6,NoOperation as _0x392a16,InsertOperation as _0xe5ace1,MarkerOperation as _0x31d83b,RootAttributeOperation as _0x19aeba,OperationFactory as _0x2ab90d,History as _0x2b75e2}from'ckeditor5/src/engine.js';import _0x431bf4 from'./websocketgateway.js';import _0x42df42 from'./sessions.js';import _0x23b544 from'./usermarkers.js';import{getTranslation as _0xd1e900}from'../common-translations.js';import{Compressor as _0x58a2d2}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5df987}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x11d64e,CollaborativeEditingService as _0x9735db}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;class l extends _0x1c1a65{static get[_0x179e99(0x258)](){return[_0x431bf4,_0x42df42,_0x23b544,_0x182231,_0x5df987,_0x22680e];}static get[_0x179e99(0x1a5)](){const _0xfeba22=_0x179e99;return _0xfeba22(0x1b1);}static get[_0x179e99(0x23d)](){return!0x0;}static get[_0x179e99(0x1ea)](){return!0x0;}get[_0x179e99(0x1b2)](){const _0x2d022f=_0x179e99;return this[_0x2d022f(0x246)]+this[_0x2d022f(0x254)];}get[_0x179e99(0x246)](){const _0xe8cd53=_0x179e99;return this[_0xe8cd53(0x235)][_0xe8cd53(0x237)]-this[_0xe8cd53(0x254)];}get[_0x179e99(0x27a)](){const _0x2a500d=_0x179e99,_0x24a87d=this[_0x2a500d(0x235)][_0x2a500d(0x26e)]();for(let _0x2ecdfe=_0x24a87d[_0x2a500d(0x1cb)]-0x1;_0x2ecdfe>=0x0;_0x2ecdfe--){const _0x5f4128=_0x24a87d[_0x2ecdfe];if(!this[_0x2a500d(0x1e2)][_0x2a500d(0x1fa)](_0x5f4128))return _0x5f4128[_0x2a500d(0x1c8)]+0x1-this[_0x2a500d(0x254)];}return 0x0;}constructor(_0x10a932){const _0x504b99=_0x179e99;if(super(_0x10a932),this[_0x504b99(0x254)]=0x0,this[_0x504b99(0x22a)]=null,this[_0x504b99(0x235)]=new _0x2b75e2(),this[_0x504b99(0x17f)][_0x504b99(0x230)][_0x504b99(0x280)](_0x504b99(0x193),{}),this[_0x504b99(0x1a3)]=this[_0x504b99(0x17f)][_0x504b99(0x230)][_0x504b99(0x281)](_0x504b99(0x1b8)),!this[_0x504b99(0x1a3)])throw new _0x31c865(_0x504b99(0x206),this);const _0x5b381d=_0x10a932[_0x504b99(0x230)][_0x504b99(0x281)](_0x504b99(0x228))||_0x5583be;this[_0x504b99(0x229)]=new l[(_0x504b99(0x1dc))](_0x5b381d,this[_0x504b99(0x1a3)]),this[_0x504b99(0x1fd)]=this[_0x504b99(0x17f)][_0x504b99(0x26f)][_0x504b99(0x282)],this[_0x504b99(0x208)]=new _0x58a2d2(),this[_0x504b99(0x1c2)]=[],this[_0x504b99(0x25f)]=new WeakSet(),this[_0x504b99(0x1bd)]=new Set(),this[_0x504b99(0x1d9)](_0x504b99(0x264),!0x1),this[_0x504b99(0x1d9)](_0x504b99(0x278),!0x1),this[_0x504b99(0x266)]=null,this[_0x504b99(0x1b6)]=!0x1,this[_0x504b99(0x1da)]=null,this[_0x504b99(0x27c)]=0x12c,this[_0x504b99(0x277)]=this[_0x504b99(0x27c)],this[_0x504b99(0x1eb)]=null,this[_0x504b99(0x1e2)]=new WeakSet(),this[_0x504b99(0x211)]=new X(this[_0x504b99(0x1e2)]);}[_0x179e99(0x1fe)](){const _0x4cff1b=_0x179e99,_0x42a401=this[_0x4cff1b(0x17f)],_0x1be1b1=_0x42a401[_0x4cff1b(0x200)][_0x4cff1b(0x281)](_0x5df987),_0x131ed4=_0x42a401[_0x4cff1b(0x200)][_0x4cff1b(0x281)](_0x431bf4);this[_0x4cff1b(0x18e)](_0x1be1b1,_0x4cff1b(0x1ed),(_0x177856,_0x390074)=>{const _0xa3a25f=_0x4cff1b,_0x59a2c0=_0x390074[0x0];_0x59a2c0[_0xa3a25f(0x190)]&&(_0x177856[_0xa3a25f(0x1fc)]=_0x1be1b1[_0xa3a25f(0x1f4)](_0x59a2c0[_0xa3a25f(0x190)]),_0x177856[_0xa3a25f(0x180)]()),null===_0x59a2c0[_0xa3a25f(0x190)]&&(_0x177856[_0xa3a25f(0x1fc)]=null,_0x177856[_0xa3a25f(0x180)]());},{'priority':_0x4cff1b(0x20c)}),this[_0x4cff1b(0x18e)](_0x42a401[_0x4cff1b(0x26f)][_0x4cff1b(0x282)][_0x4cff1b(0x1a9)],_0x4cff1b(0x251),(_0x2da807,_0x137eb8)=>{const _0x2924c6=_0x4cff1b;_0x137eb8[_0x2924c6(0x279)]&&this[_0x2924c6(0x24f)]();}),this[_0x4cff1b(0x18e)](_0x42a401[_0x4cff1b(0x197)][_0x4cff1b(0x221)],_0x4cff1b(0x203),()=>{const _0x17d4af=_0x4cff1b;this[_0x17d4af(0x24f)]();}),this[_0x4cff1b(0x1cf)](),_0x42a401[_0x4cff1b(0x26f)]['on'](_0x4cff1b(0x1ec),(_0x3f7182,_0x3692ea)=>{const _0x52f909=_0x4cff1b,_0xb9ba4c=_0x3692ea[0x0];_0xb9ba4c[_0x52f909(0x1cc)]&&(this[_0x52f909(0x1be)](_0xb9ba4c),this[_0x52f909(0x1e9)]()&&this[_0x52f909(0x252)]());}),this[_0x4cff1b(0x210)](),this[_0x4cff1b(0x250)](_0x4cff1b(0x1a6))['to'](_0x131ed4,_0x4cff1b(0x219),this,_0x4cff1b(0x278),(_0x174c82,_0x2eb539)=>_0x4cff1b(0x232)===_0x174c82&&!_0x2eb539),this['on'](_0x4cff1b(0x194),()=>{const _0x32bfdd=_0x4cff1b;this[_0x32bfdd(0x1a6)]?_0x42a401[_0x32bfdd(0x24e)](_0x32bfdd(0x21e)):_0x42a401[_0x32bfdd(0x214)](_0x32bfdd(0x21e));}),this[_0x4cff1b(0x1a6)]?_0x42a401[_0x4cff1b(0x24e)](_0x4cff1b(0x21e)):_0x42a401[_0x4cff1b(0x214)](_0x4cff1b(0x21e)),this[_0x4cff1b(0x1d9)](_0x4cff1b(0x1d1),!0x1);}async[_0x179e99(0x204)](){const _0x49bd46=_0x179e99,_0xe01c3d=this[_0x49bd46(0x17f)][_0x49bd46(0x200)][_0x49bd46(0x281)](_0x42df42),_0x258afb=this[_0x49bd46(0x17f)][_0x49bd46(0x200)][_0x49bd46(0x281)](_0x431bf4);try{this[_0x49bd46(0x264)]=!0x0,_0xe01c3d[_0x49bd46(0x1ac)](this[_0x49bd46(0x1a3)]);const _0x2133ce=await this[_0x49bd46(0x229)][_0x49bd46(0x204)](_0x258afb[_0x49bd46(0x196)],this[_0x49bd46(0x27a)]);await this[_0x49bd46(0x1e0)](_0x2133ce)&&(this[_0x49bd46(0x264)]=!0x1,this[_0x49bd46(0x192)]());const _0x4fea07=await this[_0x49bd46(0x229)][_0x49bd46(0x226)]();_0xe01c3d[_0x49bd46(0x238)](this[_0x49bd46(0x1a3)],_0x4fea07),this[_0x49bd46(0x1bc)](),this[_0x49bd46(0x1d1)]=!0x0;}catch(_0xb59a27){if(function(_0x323774){const _0x587514=_0x49bd46;return _0x587514(0x253)===_0x323774[_0x587514(0x255)];}(_0xb59a27)&&this[_0x49bd46(0x22a)])await this[_0x49bd46(0x259)]();else{if(function(_0x231b91){const _0x43de51=_0x49bd46;return _0x43de51(0x22c)===_0x231b91[_0x43de51(0x255)];}(_0xb59a27)){const _0x5577cb=_0xd1e900(this[_0x49bd46(0x17f)][_0x49bd46(0x1a4)],_0x49bd46(0x186));this[_0x49bd46(0x1a8)](_0x5577cb);}else{if(!(_0xb59a27 instanceof J))throw _0xb59a27;this[_0x49bd46(0x1a8)]();}}}}[_0x179e99(0x1d2)](){const _0x283e0e=_0x179e99,_0x38a55a=this[_0x283e0e(0x17f)][_0x283e0e(0x200)][_0x283e0e(0x281)](_0x431bf4),_0x43e747=this[_0x283e0e(0x17f)][_0x283e0e(0x200)][_0x283e0e(0x281)](_0x42df42);this[_0x283e0e(0x17f)][_0x283e0e(0x214)](_0x283e0e(0x240)),_0x43e747[_0x283e0e(0x182)][_0x283e0e(0x1fa)](this[_0x283e0e(0x1a3)])&&_0x43e747[_0x283e0e(0x1ac)](this[_0x283e0e(0x1a3)]),_0x38a55a[_0x283e0e(0x27b)](this),this[_0x283e0e(0x24b)](),super[_0x283e0e(0x1d2)]();}async[_0x179e99(0x1e0)](_0x4b95bf){const _0x513cd3=_0x179e99;if(this[_0x513cd3(0x22a)]!==_0x4b95bf[_0x513cd3(0x22a)]&&this[_0x513cd3(0x1eb)]!==_0x4b95bf[_0x513cd3(0x20f)])throw new J();return this[_0x513cd3(0x22a)]=_0x4b95bf[_0x513cd3(0x22a)],this[_0x513cd3(0x1e4)]([],{..._0x4b95bf,'wereChangesApplied':!0x1,'data':_0x4b95bf[_0x513cd3(0x268)]},_0x513cd3(0x204));}async[_0x179e99(0x1e7)](_0x1d7ce0,_0x5321f3=!0x1){const _0x2c1f51=_0x179e99,{connection:_0x233ccd}=this[_0x2c1f51(0x17f)][_0x2c1f51(0x200)][_0x2c1f51(0x281)](_0x431bf4);l[_0x2c1f51(0x1dc)][_0x2c1f51(0x226)](_0x233ccd,this[_0x2c1f51(0x1a3)])[_0x2c1f51(0x1c7)](_0x281058=>this[_0x2c1f51(0x224)](_0x281058))[_0x2c1f51(0x181)](_0x658af=>{const _0xa14404=_0x2c1f51;this[_0xa14404(0x1b4)](_0xa14404(0x283),_0x658af);}),this[_0x2c1f51(0x18e)](this[_0x2c1f51(0x229)],_0x2c1f51(0x25d),this[_0x2c1f51(0x1a2)][_0x2c1f51(0x250)](this)),this[_0x2c1f51(0x18e)](this[_0x2c1f51(0x229)],_0x2c1f51(0x195),(_0x33895e,_0x4b1c14)=>{const _0x11ef5c=_0x2c1f51;this[_0x11ef5c(0x1b4)](_0x11ef5c(0x201),_0x4b1c14);}),this[_0x2c1f51(0x18e)](this[_0x2c1f51(0x229)],_0x2c1f51(0x25a),()=>{const _0x54795d=_0x2c1f51;this[_0x54795d(0x1d1)]=!0x1;});const _0x51fb23=this[_0x2c1f51(0x211)][_0x2c1f51(0x189)](_0x1d7ce0);this[_0x2c1f51(0x264)]=!0x0;const _0x1ac07a=await this[_0x2c1f51(0x229)][_0x2c1f51(0x225)](_0x233ccd,this[_0x2c1f51(0x257)](_0x1d7ce0),_0x51fb23);if(this[_0x2c1f51(0x22a)]=_0x1ac07a[_0x2c1f51(0x22a)],_0x5321f3){if(!_0x1ac07a[_0x2c1f51(0x20e)])return void this[_0x2c1f51(0x1a8)]();this[_0x2c1f51(0x264)]=!0x1,this[_0x2c1f51(0x192)](),this[_0x2c1f51(0x235)][_0x2c1f51(0x1af)](),this[_0x2c1f51(0x254)]=_0x1ac07a[_0x2c1f51(0x273)],this[_0x2c1f51(0x235)][_0x2c1f51(0x237)]=this[_0x2c1f51(0x254)],await this[_0x2c1f51(0x1e4)](_0x1d7ce0,_0x1ac07a,_0x2c1f51(0x27f));}else await this[_0x2c1f51(0x231)](_0x1ac07a,_0x1d7ce0);this[_0x2c1f51(0x1bc)](),this[_0x2c1f51(0x1d1)]=!0x0;}[_0x179e99(0x1bc)](){const _0x49a98c=_0x179e99,_0x256610=this[_0x49a98c(0x17f)][_0x49a98c(0x200)][_0x49a98c(0x281)](_0x42df42),_0x5a5190=this[_0x49a98c(0x17f)][_0x49a98c(0x200)][_0x49a98c(0x281)](_0x23b544),_0x5ebedf=_0x256610[_0x49a98c(0x182)][_0x49a98c(0x281)](this[_0x49a98c(0x1a3)]);_0x5ebedf&&_0x5ebedf[_0x49a98c(0x1cb)]>0x1?_0x5a5190[_0x49a98c(0x1d6)]():this[_0x49a98c(0x18e)](_0x256610,_0x49a98c(0x233)+this[_0x49a98c(0x1a3)],()=>{const _0x37ac1f=_0x49a98c;0x2===_0x256610[_0x37ac1f(0x182)][_0x37ac1f(0x281)](this[_0x37ac1f(0x1a3)])[_0x37ac1f(0x1cb)]&&_0x5a5190[_0x37ac1f(0x1d6)]();});}async[_0x179e99(0x1a2)](_0x12cf46,_0x5e6140,_0x317490,_0x598268){const _0xa05ecd=_0x179e99;if(!this[_0xa05ecd(0x264)]&&this[_0xa05ecd(0x1fd)][_0xa05ecd(0x237)]==_0x5e6140){const _0x155e8b=this[_0xa05ecd(0x1f1)](_0x317490,_0x598268);await this[_0xa05ecd(0x239)](_0x155e8b),this[_0xa05ecd(0x1b5)](_0x155e8b,_0x5e6140,_0x317490[_0xa05ecd(0x20f)])||this[_0xa05ecd(0x1b4)](_0xa05ecd(0x1f0));}}async[_0x179e99(0x259)](){const _0x5f3396=_0x179e99;this[_0x5f3396(0x24b)]();const {locale:_0x130042}=this[_0x5f3396(0x17f)];let _0x2f8802;try{_0x2f8802=await this[_0x5f3396(0x229)][_0x5f3396(0x243)]();}catch(_0x3d8486){const _0x44b505=_0xd1e900(_0x130042,_0x5f3396(0x25c));return void this[_0x5f3396(0x1a8)](_0x44b505);}const _0x32aab9=_0x2f8802[_0x5f3396(0x18a)]||_0x2f8802[_0x5f3396(0x1c9)];if(this[_0x5f3396(0x1eb)]===_0x32aab9[_0x5f3396(0x20f)])await this[_0x5f3396(0x1e7)](this[_0x5f3396(0x17f)][_0x5f3396(0x26f)][_0x5f3396(0x282)][_0x5f3396(0x1b9)][_0x5f3396(0x26e)](),!0x0);else{const _0x388541=_0xd1e900(_0x130042,_0x5f3396(0x1b7));this[_0x5f3396(0x1a8)](_0x388541);}}[_0x179e99(0x24b)](){const _0x10a361=_0x179e99;this[_0x10a361(0x229)][_0x10a361(0x216)](),this[_0x10a361(0x1c2)]=[],clearTimeout(this[_0x10a361(0x1da)]),this[_0x10a361(0x1db)](this[_0x10a361(0x229)]);}[_0x179e99(0x224)](_0x2ff7d4){const _0x5496eb=_0x179e99,_0x59014a=this[_0x5496eb(0x17f)][_0x5496eb(0x200)][_0x5496eb(0x281)](_0x42df42);this[_0x5496eb(0x18e)](_0x59014a,_0x5496eb(0x233)+this[_0x5496eb(0x1a3)],(_0x18a3f9,{session:_0xea0475})=>{const _0x1d8537=_0x5496eb;if(_0xea0475['id']===_0x59014a[_0x1d8537(0x187)]){_0x18a3f9[_0x1d8537(0x249)]();const _0x7152d7=this[_0x1d8537(0x17f)][_0x1d8537(0x200)][_0x1d8537(0x1fa)](_0x1d8537(0x1aa))&&this[_0x1d8537(0x17f)][_0x1d8537(0x200)][_0x1d8537(0x281)](_0x1d8537(0x1aa));let _0x11164e=_0xea0475[_0x1d8537(0x1cd)];_0x7152d7&&_0x7152d7[_0x1d8537(0x1ab)]&&(_0x11164e=_0x11164e[_0x1d8537(0x183)](_0x59488c=>_0x1d8537(0x1d5)!==_0x59488c)),this[_0x1d8537(0x17f)][_0x1d8537(0x200)][_0x1d8537(0x281)](_0x1d8537(0x227))[_0x1d8537(0x242)](_0x11164e,this[_0x1d8537(0x1a3)]);}}),_0x59014a[_0x5496eb(0x238)](this[_0x5496eb(0x1a3)],_0x2ff7d4);}[_0x179e99(0x1cf)](){const _0x474f7a=_0x179e99,_0xdb249a=this[_0x474f7a(0x17f)][_0x474f7a(0x268)][_0x474f7a(0x1d9)];this[_0x474f7a(0x17f)][_0x474f7a(0x268)][_0x474f7a(0x1d9)]=(..._0x3df1cd)=>{const _0x12c462=_0x474f7a;if(!_0x3df1cd[_0x3df1cd[_0x12c462(0x1cb)]-0x1][_0x12c462(0x17e)])throw new _0x31c865(_0x12c462(0x209),this);_0xdb249a[_0x12c462(0x1ee)](this[_0x12c462(0x17f)][_0x12c462(0x268)],_0x3df1cd);};}[_0x179e99(0x210)](){const _0x5781c7=_0x179e99;this[_0x5781c7(0x17f)][_0x5781c7(0x268)]['on'](_0x5781c7(0x1fe),(_0xcab294,[_0x50311])=>{const _0x4a6603=_0x5781c7;if(this[_0x4a6603(0x1fd)][_0x4a6603(0x237)])throw new _0x31c865(_0x4a6603(0x1c1),this);_0xcab294[_0x4a6603(0x180)](),this[_0x4a6603(0x20b)]();const _0x114653=this[_0x4a6603(0x17f)][_0x4a6603(0x230)][_0x4a6603(0x281)](_0x4a6603(0x23a)),_0x129f28=this[_0x4a6603(0x19d)](_0x50311,_0x114653);0x0==_0x129f28[_0x4a6603(0x1cb)]&&_0x129f28[_0x4a6603(0x1d7)](new _0x392a16(0x0)),_0xcab294[_0x4a6603(0x1fc)]=this[_0x4a6603(0x1e7)](_0x129f28)[_0x4a6603(0x1c7)](()=>{const _0x5451f5=_0x4a6603;this[_0x5451f5(0x17f)][_0x5451f5(0x200)][_0x5451f5(0x281)](_0x431bf4)[_0x5451f5(0x25b)](this),this[_0x5451f5(0x17f)][_0x5451f5(0x268)][_0x5451f5(0x22b)](_0x5451f5(0x274));})[_0x4a6603(0x181)](_0x5c7abe=>this[_0x4a6603(0x1b4)](_0x4a6603(0x1c6),_0x5c7abe))[_0x4a6603(0x276)](()=>this[_0x4a6603(0x192)]());},{'priority':_0x5781c7(0x20c)}),this[_0x5781c7(0x17f)]['on'](_0x5781c7(0x260),async(_0x3bee59,[_0x3cce5c,_0x2b5d0a])=>{const _0x1f0b6e=_0x5781c7;_0x3bee59[_0x1f0b6e(0x180)]();const _0x5f0830=this[_0x1f0b6e(0x17f)][_0x1f0b6e(0x26f)][_0x1f0b6e(0x282)][_0x1f0b6e(0x23b)](_0x3cce5c);if(!this[_0x1f0b6e(0x1bd)][_0x1f0b6e(0x1fa)](_0x3cce5c)){const _0x24a5fa=_0x2b5d0a&&_0x2b5d0a[_0x1f0b6e(0x268)]?_0x2b5d0a[_0x1f0b6e(0x268)]:'',_0x3ea2ea=_0x2b5d0a&&_0x2b5d0a[_0x1f0b6e(0x1d4)]?_0x2b5d0a[_0x1f0b6e(0x1d4)]:{};await this[_0x1f0b6e(0x248)](_0x3cce5c,_0x24a5fa,_0x3ea2ea);}this[_0x1f0b6e(0x17f)][_0x1f0b6e(0x26f)][_0x1f0b6e(0x271)]({'isUndoable':!0x1},()=>{const _0x52b27e=_0x1f0b6e;_0x5f0830[_0x52b27e(0x207)]=!0x0,this[_0x52b27e(0x17f)][_0x52b27e(0x26f)][_0x52b27e(0x282)][_0x52b27e(0x217)][_0x52b27e(0x20a)](_0x5f0830);});},{'priority':_0x5781c7(0x20c)});}async[_0x179e99(0x239)](_0x34312a){const _0x95f3da=_0x179e99,_0x2e4e10=this[_0x95f3da(0x17f)][_0x95f3da(0x200)][_0x95f3da(0x281)](_0x5df987),{connection:_0x36bcac}=this[_0x95f3da(0x17f)][_0x95f3da(0x200)][_0x95f3da(0x281)](_0x431bf4),_0x392223=new Set();for(const _0x5ad73a of _0x34312a){const _0x523ca9=_0x5ad73a[_0x95f3da(0x190)];_0x523ca9&&!_0x2e4e10[_0x95f3da(0x1f4)](_0x523ca9)&&_0x392223[_0x95f3da(0x1b3)](_0x523ca9);}if(0x0===_0x392223[_0x95f3da(0x1f3)])return;const _0x499cc7=await _0x11d64e[_0x95f3da(0x261)](_0x36bcac,Array[_0x95f3da(0x1c3)](_0x392223));for(const _0xcf6d50 of _0x499cc7)_0x2e4e10[_0x95f3da(0x1f4)](_0xcf6d50['id'])||_0x2e4e10[_0x95f3da(0x241)](_0xcf6d50);}[_0x179e99(0x19d)](_0x3f9f26,_0x21fb83={}){const _0x5a3973=_0x179e99,_0x1f0661=this[_0x5a3973(0x17f)][_0x5a3973(0x26f)],_0x4799e7=[];let _0x3c90b3=0x0;const _0x5e9343=_0x5a3973(0x21d)==typeof _0x3f9f26?{'main':_0x3f9f26}:_0x3f9f26;for(const _0x552981 of Object[_0x5a3973(0x1a0)](_0x5e9343)){if(!this[_0x5a3973(0x1fd)][_0x5a3973(0x19f)][_0x5a3973(0x1fa)](_0x552981))throw new _0x31c865(_0x5a3973(0x22d),this);const _0x4b32b4=this[_0x5a3973(0x17f)][_0x5a3973(0x268)][_0x5a3973(0x1e1)](_0x5e9343[_0x552981]),_0x39587e=this[_0x5a3973(0x1fd)][_0x5a3973(0x23b)](_0x552981),_0x1cbd11=new _0xe5ace1(_0x1f0661[_0x5a3973(0x213)](_0x39587e,0x0),_0x4b32b4,_0x3c90b3++);_0x4799e7[_0x5a3973(0x1d7)](_0x1cbd11);for(const [_0x470e30,_0x27225e]of _0x4b32b4[_0x5a3973(0x218)]){const _0x2626ae=_0x1f0661[_0x5a3973(0x198)](_0x1f0661[_0x5a3973(0x215)](_0x39587e,_0x27225e[_0x5a3973(0x20d)][_0x5a3973(0x26b)][_0x5a3973(0x27e)]()),_0x1f0661[_0x5a3973(0x215)](_0x39587e,_0x27225e[_0x5a3973(0x191)][_0x5a3973(0x26b)][_0x5a3973(0x27e)]())),_0x229955=new _0x31d83b(_0x470e30,null,_0x2626ae,_0x1f0661[_0x5a3973(0x218)],!0x0,_0x3c90b3++);_0x4799e7[_0x5a3973(0x1d7)](_0x229955);}}if(_0x21fb83)for(const [_0x8d7322,_0x5b3f47]of Object[_0x5a3973(0x263)](_0x21fb83)){const _0x1cd17f=_0x1f0661[_0x5a3973(0x282)][_0x5a3973(0x23b)](_0x8d7322);if(!_0x1cd17f)throw new _0x31c865(_0x5a3973(0x1c0),null);for(const [_0x2172bb,_0x53c3b0]of Object[_0x5a3973(0x263)](_0x5b3f47))if(null!==_0x53c3b0){const _0x42da70=new _0x19aeba(_0x1cd17f,_0x2172bb,null,_0x53c3b0,_0x3c90b3++);_0x4799e7[_0x5a3973(0x1d7)](_0x42da70);}}return _0x4799e7;}async[_0x179e99(0x248)](_0x26a2e9,_0x2cc2ba,_0x35045e){const _0x1a9028=_0x179e99;this[_0x1a9028(0x19d)]({[_0x26a2e9]:_0x2cc2ba},{[_0x26a2e9]:_0x35045e})[_0x1a9028(0x199)]((_0x58e5f1,_0x36f4bb)=>{const _0x1c74f0=_0x1a9028;_0x58e5f1[_0x1c74f0(0x1c8)]=this[_0x1c74f0(0x1fd)][_0x1c74f0(0x237)]+_0x36f4bb,_0x58e5f1[_0x1c74f0(0x1e6)]=!0x0,this[_0x1c74f0(0x1be)](_0x58e5f1);}),this[_0x1a9028(0x252)](),await this[_0x1a9028(0x247)]();}async[_0x179e99(0x231)](_0x4f87c7,_0x3c96f2){const _0xfaa718=_0x179e99;let _0x108ebc;this[_0xfaa718(0x254)]=_0x4f87c7[_0xfaa718(0x273)];const _0x1e751d=_0x4f87c7[_0xfaa718(0x20e)]&&!_0x4f87c7[_0xfaa718(0x1f9)],_0x480464=_0x1e751d?0x0:_0x4f87c7[_0xfaa718(0x268)][_0xfaa718(0x1c8)];if(_0x3c96f2[_0xfaa718(0x199)](_0x2885fc=>{const _0x32ca1f=_0xfaa718;_0x2885fc[_0x32ca1f(0x1e6)]=!0x0,_0x2885fc[_0x32ca1f(0x1ca)]=_0x4f87c7[_0x32ca1f(0x1f6)],_0x2885fc[_0x32ca1f(0x190)]=null;}),_0x1e751d)_0x108ebc=_0x3c96f2,this[_0xfaa718(0x234)](_0x108ebc,_0x1e751d);else{if(_0x4f87c7[_0xfaa718(0x1f9)]){const _0x18ca97=this[_0xfaa718(0x19d)](_0x4f87c7[_0xfaa718(0x1f9)]);this[_0xfaa718(0x1fd)][_0xfaa718(0x1b9)][_0xfaa718(0x237)]=-_0x18ca97[_0xfaa718(0x1cb)],_0x18ca97[_0xfaa718(0x199)](_0xd2f6a4=>{const _0x93309a=_0xfaa718;_0xd2f6a4[_0x93309a(0x1c8)]-=_0x18ca97[_0x93309a(0x1cb)],_0xd2f6a4[_0x93309a(0x1ca)]=_0x4f87c7[_0x93309a(0x1f6)],_0xd2f6a4[_0x93309a(0x1e6)]=!0x0,_0xd2f6a4[_0x93309a(0x190)]=null;}),this[_0xfaa718(0x234)](_0x18ca97,!0x0),this[_0xfaa718(0x235)][_0xfaa718(0x237)]=-_0x18ca97[_0xfaa718(0x1cb)]+this[_0xfaa718(0x254)],this[_0xfaa718(0x269)](_0x18ca97);}this[_0xfaa718(0x1fd)][_0xfaa718(0x1b9)][_0xfaa718(0x237)]=_0x480464,_0x108ebc=this[_0xfaa718(0x1f1)](_0x4f87c7[_0xfaa718(0x268)],_0x4f87c7[_0xfaa718(0x1e3)]),await this[_0xfaa718(0x239)](_0x108ebc),this[_0xfaa718(0x234)](_0x108ebc,_0x1e751d);}_0x4f87c7[_0xfaa718(0x20f)]&&(this[_0xfaa718(0x211)][_0xfaa718(0x19e)](_0x108ebc,_0x4f87c7[_0xfaa718(0x20f)]),this[_0xfaa718(0x1eb)]=_0x4f87c7[_0xfaa718(0x20f)]),this[_0xfaa718(0x235)][_0xfaa718(0x237)]=_0x480464+this[_0xfaa718(0x254)],this[_0xfaa718(0x269)](_0x108ebc),_0x3c96f2[_0xfaa718(0x183)](_0x53d86b=>{const _0x3e57a3=_0xfaa718,_0x5954a5=this[_0x3e57a3(0x188)](_0x53d86b);return _0x5954a5&&!this[_0x3e57a3(0x1bd)][_0x3e57a3(0x1fa)](_0x5954a5);})[_0xfaa718(0x199)]((_0x33c4b6,_0x4a98b4)=>{const _0x2254b6=_0xfaa718;_0x33c4b6[_0x2254b6(0x1c8)]=this[_0x2254b6(0x1fd)][_0x2254b6(0x237)]+_0x4a98b4,this[_0x2254b6(0x1be)](_0x33c4b6);}),this[_0xfaa718(0x1e9)]()?(this[_0xfaa718(0x277)]=0x0,this[_0xfaa718(0x252)](!0x0),await this[_0xfaa718(0x247)]()):(this[_0xfaa718(0x264)]=!0x1,this[_0xfaa718(0x192)]());}[_0x179e99(0x1b4)](_0x18f85c,_0x4a64a7,_0x3f6d7e){const _0x5cacac=_0x179e99;throw this[_0x5cacac(0x264)]=!0x0,_0x4a64a7&&console[_0x5cacac(0x195)](_0x4a64a7),_0x3f6d7e&&this[_0x5cacac(0x17f)][_0x5cacac(0x214)](_0x5cacac(0x19b)),new _0x31c865(_0x18f85c,this[_0x5cacac(0x17f)]);}[_0x179e99(0x1be)](_0x436b15){const _0x393d3a=_0x179e99;this[_0x393d3a(0x25f)][_0x393d3a(0x1fa)](_0x436b15)||(this[_0x393d3a(0x25f)][_0x393d3a(0x1b3)](_0x436b15),this[_0x393d3a(0x1c2)][_0x393d3a(0x1d7)](_0x436b15),this[_0x393d3a(0x266)]||_0x393d3a(0x18f)==_0x436b15[_0x393d3a(0x18c)]&&!_0x436b15[_0x393d3a(0x1d0)]||this[_0x393d3a(0x20b)]());}[_0x179e99(0x252)](_0x4ff1e9=!0x1){const _0x14d220=_0x179e99;!_0x4ff1e9&&this[_0x14d220(0x264)]||(this[_0x14d220(0x264)]=!0x0,clearTimeout(this[_0x14d220(0x1da)]),this[_0x14d220(0x1da)]=setTimeout(()=>{const _0x511bc8=_0x14d220;this[_0x511bc8(0x267)]()[_0x511bc8(0x1c7)](_0x373190=>{const _0x3b0857=_0x511bc8;_0x373190&&(this[_0x3b0857(0x192)](),this[_0x3b0857(0x264)]=!0x1);})[_0x511bc8(0x181)](_0x41b4c9=>{const _0x1e52a8=_0x511bc8;this[_0x1e52a8(0x192)](),this[_0x1e52a8(0x264)]=!0x1,function(_0x5d5ee1){const _0x1441cb=_0x1e52a8;return _0x5d5ee1[_0x1441cb(0x1fb)][_0x1441cb(0x1c5)](_0x1441cb(0x22e))||_0x5d5ee1[_0x1441cb(0x1fb)][_0x1441cb(0x1c5)](_0x1441cb(0x223))||_0x5d5ee1[_0x1441cb(0x1fb)][_0x1441cb(0x1c5)](_0x1441cb(0x1a1));}(_0x41b4c9)||this[_0x1e52a8(0x1b4)](_0x41b4c9[_0x1e52a8(0x1fb)],_0x41b4c9,!0x0);});},this[_0x14d220(0x277)]));}[_0x179e99(0x247)](){return new Promise(_0x32135d=>{const _0x4ac12b=_0x58ad;this['on'](_0x4ac12b(0x1df),()=>{_0x32135d();});});}async[_0x179e99(0x267)](){const _0x9818d7=_0x179e99,_0x33155e=this[_0x9818d7(0x17f)][_0x9818d7(0x200)][_0x9818d7(0x281)](_0x23b544);if(this[_0x9818d7(0x25e)]()&&(_0x33155e[_0x9818d7(0x1d6)](),this[_0x9818d7(0x1b6)]=!0x1),!this[_0x9818d7(0x1e9)]())return!0x0;const _0x1a6d5a=[...this[_0x9818d7(0x1c2)]];for(const _0x11789e of _0x1a6d5a)_0x11789e[_0x9818d7(0x265)]=this[_0x9818d7(0x1fd)][_0x9818d7(0x1b9)][_0x9818d7(0x18b)](_0x11789e);const _0x55216e=this[_0x9818d7(0x211)][_0x9818d7(0x189)](_0x1a6d5a),_0x15adbb=K++,_0x48f10e=this[_0x9818d7(0x257)](_0x1a6d5a),_0x3b7eea=await this[_0x9818d7(0x229)][_0x9818d7(0x1e5)](_0x48f10e,_0x48f10e[_0x9818d7(0x1c8)],_0x55216e);try{return await this[_0x9818d7(0x1e4)](_0x1a6d5a,_0x3b7eea,_0x15adbb);}catch(_0x443dd9){return this[_0x9818d7(0x1b4)](_0x9818d7(0x245),_0x443dd9);}}async[_0x179e99(0x1e4)](_0x479263,_0x56b4d3,_0x2a6daa){const _0x3d2e8e=_0x179e99;if(_0x3d2e8e(0x195)in _0x56b4d3)throw _0x56b4d3[_0x3d2e8e(0x195)];let _0xf2714=!0x1;if(_0x56b4d3[_0x3d2e8e(0x20e)]){_0x56b4d3[_0x3d2e8e(0x20f)]&&(this[_0x3d2e8e(0x1eb)]=_0x56b4d3[_0x3d2e8e(0x20f)]),this[_0x3d2e8e(0x1c2)]=this[_0x3d2e8e(0x1c2)][_0x3d2e8e(0x183)](_0x34926e=>!_0x479263[_0x3d2e8e(0x1a7)](_0x34926e));for(const _0x3ae5fa of _0x479263)_0x3ae5fa[_0x3d2e8e(0x1ca)]=_0x3d2e8e(0x1b0)in _0x56b4d3&&_0x56b4d3[_0x3d2e8e(0x1b0)]||void 0x0;Q(_0x479263,_0x56b4d3[_0x3d2e8e(0x237)]-_0x479263[_0x3d2e8e(0x1cb)]),this[_0x3d2e8e(0x269)](_0x479263);const _0x140a43=_0x479263[_0x3d2e8e(0x183)](_0x48be1c=>{const _0x293338=_0x3d2e8e;if(!_0x48be1c[_0x293338(0x1e6)])return!0x1;const _0x9244a3=this[_0x293338(0x188)](_0x48be1c);return _0x9244a3&&!this[_0x293338(0x1bd)][_0x293338(0x1fa)](_0x9244a3);});Q(_0x140a43,this[_0x3d2e8e(0x1fd)][_0x3d2e8e(0x237)]),this[_0x3d2e8e(0x234)](_0x140a43),_0xf2714=!0x0,this[_0x3d2e8e(0x277)]=this[_0x3d2e8e(0x27c)];}else{const _0x15055f=this[_0x3d2e8e(0x1f1)](_0x56b4d3[_0x3d2e8e(0x268)],_0x56b4d3[_0x3d2e8e(0x1e3)])[_0x3d2e8e(0x183)](_0x419bac=>_0x419bac[_0x3d2e8e(0x1c8)]>=this[_0x3d2e8e(0x246)]);_0x15055f[_0x3d2e8e(0x199)](_0x28d334=>this[_0x3d2e8e(0x26d)](_0x28d334)),this[_0x3d2e8e(0x1c2)]=this[_0x3d2e8e(0x1c2)][_0x3d2e8e(0x183)](_0x4a0992=>!_0x4a0992[_0x3d2e8e(0x1e6)]||!this[_0x3d2e8e(0x1bd)][_0x3d2e8e(0x1fa)](this[_0x3d2e8e(0x188)](_0x4a0992))),this[_0x3d2e8e(0x1c2)][_0x3d2e8e(0x1cb)]&&Q(this[_0x3d2e8e(0x1c2)],this[_0x3d2e8e(0x1c2)][0x0][_0x3d2e8e(0x1c8)]),await this[_0x3d2e8e(0x239)](_0x15055f),_0xf2714=this[_0x3d2e8e(0x1b5)](_0x15055f,_0x56b4d3[_0x3d2e8e(0x237)],_0x56b4d3[_0x3d2e8e(0x20f)]),this[_0x3d2e8e(0x277)]=Math[_0x3d2e8e(0x1bf)](this[_0x3d2e8e(0x277)]/0x2);}return _0xf2714?!this[_0x3d2e8e(0x1e9)]()||(this[_0x3d2e8e(0x252)](!0x0),!0x1):this[_0x3d2e8e(0x1b4)](_0x3d2e8e(0x1f8));}[_0x179e99(0x1b5)](_0x5236e7,_0x4fad9d,_0x418744){const _0x3e8817=_0x179e99;try{const _0x324f1e={'document':this[_0x3e8817(0x1fd)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x71952c,operationsB:_0x5a99fb,originalOperations:_0x160dc2}=_0x33f3f6(_0x5236e7,this[_0x3e8817(0x1c2)],_0x324f1e);Q(_0x71952c,this[_0x3e8817(0x1fd)][_0x3e8817(0x237)]),Q(_0x5a99fb,_0x4fad9d);for(const _0x16c766 of _0x71952c){const _0x2cb36a=_0x160dc2[_0x3e8817(0x281)](_0x16c766);_0x16c766[_0x3e8817(0x190)]=_0x2cb36a?_0x2cb36a[_0x3e8817(0x190)]:null;}_0x418744&&(this[_0x3e8817(0x211)][_0x3e8817(0x19e)](_0x5236e7,_0x418744),this[_0x3e8817(0x1eb)]=_0x418744),this[_0x3e8817(0x1c2)]=[..._0x5a99fb],this[_0x3e8817(0x234)](_0x71952c),this[_0x3e8817(0x269)](_0x5236e7);}catch(_0x3b68f1){return console[_0x3e8817(0x195)](_0x3b68f1),!0x1;}return!0x0;}[_0x179e99(0x234)](_0xee27e2,_0x3dfdd0=!0x1){const _0x1a228a=_0x179e99;this[_0x1a228a(0x17f)][_0x1a228a(0x26f)][_0x1a228a(0x271)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4256d7=>{const _0x3cd11c=_0x1a228a;for(const _0x1842e9 of _0xee27e2)this[_0x3cd11c(0x25f)][_0x3cd11c(0x1b3)](_0x1842e9),this[_0x3cd11c(0x26d)](_0x1842e9),_0x4256d7[_0x3cd11c(0x23f)][_0x3cd11c(0x222)](_0x1842e9),this[_0x3cd11c(0x17f)][_0x3cd11c(0x26f)][_0x3cd11c(0x1ec)](_0x1842e9);});}[_0x179e99(0x26d)](_0x2ebf4){const _0x1a0a9e=_0x179e99,_0x485fd5=this[_0x1a0a9e(0x188)](_0x2ebf4);_0x485fd5&&this[_0x1a0a9e(0x1bd)][_0x1a0a9e(0x1b3)](_0x485fd5);}[_0x179e99(0x188)](_0x3a73eb){const _0xd4c0a1=_0x179e99;let _0x5616a2,_0x267268;switch(_0x3a73eb[_0xd4c0a1(0x18c)]){case _0xd4c0a1(0x262):_0x5616a2=_0x3a73eb[_0xd4c0a1(0x22f)][_0xd4c0a1(0x1ae)];break;case _0xd4c0a1(0x18f):if(_0x267268=_0x3a73eb[_0xd4c0a1(0x24c)],!_0x267268)return null;_0x5616a2=_0x267268[_0xd4c0a1(0x1ae)];break;case _0xd4c0a1(0x1d8):_0x5616a2=_0x3a73eb[_0xd4c0a1(0x1ae)];break;case _0xd4c0a1(0x1dd):_0x5616a2=_0x3a73eb[_0xd4c0a1(0x272)];break;case _0xd4c0a1(0x23e):_0x5616a2=_0x3a73eb[_0xd4c0a1(0x205)][_0xd4c0a1(0x1ae)];break;default:return null;}return _0x5616a2[_0xd4c0a1(0x26c)];}[_0x179e99(0x269)](_0x16a71f){const _0x44e237=_0x179e99;_0x16a71f[_0x44e237(0x199)](_0x35c859=>{const _0x73cf3e=_0x44e237,_0x1abc80=_0x35c859[_0x73cf3e(0x236)]();_0x1abc80[_0x73cf3e(0x190)]=_0x35c859[_0x73cf3e(0x190)],_0x1abc80[_0x73cf3e(0x1e6)]=!!_0x35c859[_0x73cf3e(0x1e6)],_0x1abc80[_0x73cf3e(0x1ca)]=_0x35c859[_0x73cf3e(0x1ca)],_0x1abc80[_0x73cf3e(0x1c8)]+=this[_0x73cf3e(0x254)],_0x35c859[_0x73cf3e(0x1ef)]&&this[_0x73cf3e(0x1e2)][_0x73cf3e(0x1b3)](_0x1abc80),this[_0x73cf3e(0x235)][_0x73cf3e(0x222)](_0x1abc80);});}[_0x179e99(0x1a8)](_0x280a62){const _0x31f6cd=_0x179e99,_0x5c40a1=this[_0x31f6cd(0x17f)][_0x31f6cd(0x200)][_0x31f6cd(0x281)](_0x31f6cd(0x185)),_0x403f1d=this[_0x31f6cd(0x17f)][_0x31f6cd(0x1a4)];_0x280a62||(_0x280a62=_0xd1e900(_0x403f1d,_0x31f6cd(0x1e8))),_0x5c40a1[_0x31f6cd(0x220)](_0x280a62,{'title':_0xd1e900(_0x403f1d,_0x31f6cd(0x27d)),'namespace':_0x31f6cd(0x1d3)}),this[_0x31f6cd(0x278)]=!0x0,clearTimeout(this[_0x31f6cd(0x1da)]),this[_0x31f6cd(0x1c2)]=[],this[_0x31f6cd(0x17f)][_0x31f6cd(0x200)][_0x31f6cd(0x281)](_0x431bf4)[_0x31f6cd(0x1d2)]();}[_0x179e99(0x20b)](){const _0xc933de=_0x179e99;this[_0xc933de(0x266)]||(this[_0xc933de(0x266)]=this[_0xc933de(0x17f)][_0xc933de(0x200)][_0xc933de(0x281)](_0x182231)[_0xc933de(0x1b3)](_0xd1e900(this[_0xc933de(0x17f)][_0xc933de(0x1a4)],_0xc933de(0x19c))));}[_0x179e99(0x192)](){const _0xd5525a=_0x179e99;this[_0xd5525a(0x266)]&&(this[_0xd5525a(0x17f)][_0xd5525a(0x200)][_0xd5525a(0x281)](_0x182231)[_0xd5525a(0x26a)](this[_0xd5525a(0x266)]),this[_0xd5525a(0x266)]=null);}[_0x179e99(0x257)](_0x2ec911){const _0x367765=_0x179e99,_0x54bd85=_0x2ec911[_0x367765(0x21a)](_0x458b0e=>_0x458b0e[_0x367765(0x18d)]());return this[_0x367765(0x208)][_0x367765(0x24a)](_0x54bd85);}[_0x179e99(0x1f1)](_0x38b6f0,_0x1ea4a1){const _0x29c6f4=_0x179e99;return this[_0x29c6f4(0x208)][_0x29c6f4(0x184)](_0x38b6f0)[_0x29c6f4(0x21a)]((_0x4ef7be,_0xcaa3f0)=>{const _0x43e02c=_0x29c6f4,_0x22b3b2=_0x43e02c(0x1fe)==_0x1ea4a1[_0xcaa3f0][_0x43e02c(0x18c)];if(_0x43e02c(0x1de)==_0x4ef7be[_0x43e02c(0x19a)]){const _0x2b6cfc=_0x4ef7be[_0x43e02c(0x22f)][_0x43e02c(0x1ae)];!this[_0x43e02c(0x1fd)][_0x43e02c(0x23b)](_0x2b6cfc)&&(this[_0x43e02c(0x1fd)][_0x43e02c(0x21b)](_0x43e02c(0x21f),_0x2b6cfc)[_0x43e02c(0x256)]=!0x1);}const _0x480302=_0x2ab90d[_0x43e02c(0x1c4)](_0x4ef7be,this[_0x43e02c(0x1fd)]);return _0x480302[_0x43e02c(0x265)]=_0x4ef7be[_0x43e02c(0x265)],_0x480302[_0x43e02c(0x1e6)]=_0x22b3b2,_0x480302[_0x43e02c(0x190)]=_0x22b3b2?null:_0x1ea4a1[_0xcaa3f0][_0x43e02c(0x270)],_0x480302[_0x43e02c(0x1ef)]=_0x43e02c(0x1f7)===_0x1ea4a1[_0xcaa3f0][_0x43e02c(0x18c)],_0x480302[_0x43e02c(0x1ca)]=_0x1ea4a1[_0xcaa3f0][_0x43e02c(0x1ca)],_0x480302;});}[_0x179e99(0x24f)](){const _0x13e2b6=_0x179e99;this[_0x13e2b6(0x1b6)]=!0x0,this[_0x13e2b6(0x25e)]()?this[_0x13e2b6(0x252)]():this[_0x13e2b6(0x1b6)]=!0x1;}[_0x179e99(0x25e)](){const _0x46ec57=_0x179e99,_0x279919=this[_0x46ec57(0x17f)][_0x46ec57(0x200)][_0x46ec57(0x281)](_0x42df42)[_0x46ec57(0x182)][_0x46ec57(0x281)](this[_0x46ec57(0x1a3)]);return!this[_0x46ec57(0x17f)][_0x46ec57(0x1ad)]&&!!_0x279919&&_0x279919[_0x46ec57(0x1cb)]>0x1&&this[_0x46ec57(0x1b6)];}[_0x179e99(0x1e9)](){const _0x278d17=_0x179e99;return this[_0x278d17(0x1c2)][_0x278d17(0x1cb)]>0x0||this[_0x278d17(0x25e)]();}}l[_0x179e99(0x1dc)]=_0x9735db;export default l;class J extends Error{}function Q(_0x21f5e6,_0x3ada00){const _0x183099=_0x179e99;for(const _0x509a52 of _0x21f5e6)_0x509a52[_0x183099(0x1c8)]=_0x3ada00++;}class X{constructor(_0x31e5b6){const _0x7624d2=_0x179e99;this[_0x7624d2(0x1f5)]=_0x31e5b6,this[_0x7624d2(0x21c)]=new WeakMap();}[_0x179e99(0x189)](_0x3fc7a6){const _0x487219=_0x179e99;let _0x5af88f=_0x3fc7a6[_0x487219(0x1cb)];for(;_0x5af88f--;){const _0x234ebc=_0x3fc7a6[_0x5af88f];if(!this[_0x487219(0x1f5)][_0x487219(0x1fa)](_0x234ebc)){if(!this[_0x487219(0x21c)][_0x487219(0x1fa)](_0x234ebc)){const _0x463b0c=_0x254968()[_0x487219(0x27e)](0x1,0x12);this[_0x487219(0x21c)][_0x487219(0x1d9)](_0x234ebc,_0x463b0c);}return this[_0x487219(0x21c)][_0x487219(0x281)](_0x234ebc);}}}[_0x179e99(0x19e)](_0xe7a319,_0x31e06c){const _0x3853cc=_0x179e99;if(!_0x31e06c)return;let _0x44013e=_0xe7a319[_0x3853cc(0x1cb)];for(;_0x44013e--;){const _0x598297=_0xe7a319[_0x44013e];this[_0x3853cc(0x1f5)][_0x3853cc(0x1fa)](_0x598297)||this[_0x3853cc(0x21c)][_0x3853cc(0x1d9)](_0x598297,_0x31e06c);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x11939f=_0x5dc5;function _0x5dc5(_0x3514b4,_0xe8e117){const _0x456c7e=_0x456c();return _0x5dc5=function(_0x5dc5d0,_0x314531){_0x5dc5d0=_0x5dc5d0-0x16c;let _0x1d60d6=_0x456c7e[_0x5dc5d0];return _0x1d60d6;},_0x5dc5(_0x3514b4,_0xe8e117);}(function(_0x188d81,_0x421c7f){const _0x57433b=_0x5dc5,_0x264b5c=_0x188d81();while(!![]){try{const _0x5ec87f=parseInt(_0x57433b(0x17b))/0x1+parseInt(_0x57433b(0x175))/0x2+-parseInt(_0x57433b(0x18f))/0x3*(parseInt(_0x57433b(0x196))/0x4)+parseInt(_0x57433b(0x16c))/0x5*(parseInt(_0x57433b(0x19f))/0x6)+parseInt(_0x57433b(0x18d))/0x7*(parseInt(_0x57433b(0x1a9))/0x8)+-parseInt(_0x57433b(0x186))/0x9*(-parseInt(_0x57433b(0x1a3))/0xa)+-parseInt(_0x57433b(0x173))/0xb*(parseInt(_0x57433b(0x170))/0xc);if(_0x5ec87f===_0x421c7f)break;else _0x264b5c['push'](_0x264b5c['shift']());}catch(_0x213ba9){_0x264b5c['push'](_0x264b5c['shift']());}}}(_0x456c,0xac0a6));function _0x456c(){const _0x299095=['66nVnwZR','unregister','connection','mySessionId','3369890KKMpNs','sessions-register-already-registered','init','requires','Sessions','_registeredSessions','2312OeWmpR','allConnectedUsers','stopListening','25595xoRLvx','_uniqueUsersCount','channelConnectedUsers','get','12tebkXY','_createUser','state','11244882GXUrPF','clear','1709604QmNvEV','add','size','forEach','orderNumber','_handleSessionAdd','393559bGtpXm','values','getUserSessions','sessionAdd:','defineMe','sessionId','_users','getUserRole','pluginName','addUser','_handleSessionRemove','18tehXDB','getUserBySessionId','fire','isPremiumPlugin','register','context','channelSessions','1274CWRGop','has','12858tYxQwn','isMe','remove','delete','connected','listenTo','role','284ZMLGAT','user','getUser','sessions-unregister-not-exist','plugins','change:state','isOfficialPlugin','assign','set'];_0x456c=function(){return _0x299095;};return _0x456c();}import{ContextPlugin as _0x556e05}from'ckeditor5/src/core.js';import{Collection as _0x655610,CKEditorError as _0x5c88f4}from'ckeditor5/src/utils.js';import _0x5537a9 from'./websocketgateway.js';import{Users as _0x54a9e2}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x556e05{static get[_0x11939f(0x183)](){const _0xd1a60=_0x11939f;return _0xd1a60(0x1a7);}static get[_0x11939f(0x19c)](){return!0x0;}static get[_0x11939f(0x189)](){return!0x0;}static get[_0x11939f(0x1a6)](){return[_0x5537a9,_0x54a9e2];}constructor(_0x5f3c6a){const _0x552d82=_0x11939f;super(_0x5f3c6a),this[_0x552d82(0x18c)]=new Map(),this[_0x552d82(0x16e)]=new Map(),this[_0x552d82(0x1aa)]=new _0x655610(),this[_0x552d82(0x1a8)]=new Map(),this[_0x552d82(0x16d)]=0x0,this[_0x552d82(0x181)]=this[_0x552d82(0x18b)][_0x552d82(0x19a)][_0x552d82(0x16f)](_0x54a9e2);}[_0x11939f(0x1a5)](){const _0x5e37e=_0x11939f,_0x4cb18a=this[_0x5e37e(0x18b)][_0x5e37e(0x19a)][_0x5e37e(0x16f)](_0x5537a9);this[_0x5e37e(0x194)](_0x4cb18a,_0x5e37e(0x19b),(_0x1cb376,_0x22d3a4,_0x431952)=>{const _0x8880d6=_0x5e37e;if(_0x8880d6(0x193)!==_0x431952)this[_0x8880d6(0x18c)][_0x8880d6(0x178)](_0xae7650=>_0xae7650[_0x8880d6(0x174)]()),this[_0x8880d6(0x16e)][_0x8880d6(0x178)](_0x32c3c1=>_0x32c3c1[_0x8880d6(0x174)]()),this[_0x8880d6(0x1aa)][_0x8880d6(0x174)]();else{for(const [_0x442920,_0x15e213]of this[_0x8880d6(0x1a8)])for(const _0x5a2d10 of _0x15e213)this[_0x8880d6(0x17a)](_0x442920,_0x5a2d10);}}),this[_0x5e37e(0x171)](_0x4cb18a[_0x5e37e(0x1a1)]['me'],!0x0);}[_0x11939f(0x18a)](_0x2012d7,_0x5d2219){const _0x229baa=_0x11939f;if(this[_0x229baa(0x1a8)][_0x229baa(0x18e)](_0x2012d7))throw new _0x5c88f4(_0x229baa(0x1a4),null,{'channelId':_0x2012d7});this[_0x229baa(0x1a8)][_0x229baa(0x19e)](_0x2012d7,_0x5d2219),this[_0x229baa(0x18c)][_0x229baa(0x19e)](_0x2012d7,new _0x655610()),this[_0x229baa(0x16e)][_0x229baa(0x19e)](_0x2012d7,new _0x655610()),this[_0x229baa(0x194)](_0x5d2219,_0x229baa(0x176),(_0x14f8e0,_0x5f3a5d)=>this[_0x229baa(0x17a)](_0x2012d7,_0x5f3a5d)),this[_0x229baa(0x194)](_0x5d2219,_0x229baa(0x191),(_0x45664d,_0x361b65)=>this[_0x229baa(0x185)](_0x2012d7,_0x361b65));for(const _0x3ca1ec of _0x5d2219)this[_0x229baa(0x17a)](_0x2012d7,_0x3ca1ec);}[_0x11939f(0x1a0)](_0x5a4664){const _0x546920=_0x11939f;if(!this[_0x546920(0x1a8)][_0x546920(0x18e)](_0x5a4664))throw new _0x5c88f4(_0x546920(0x199),null,{'channelId':_0x5a4664});const _0x53ce28=this[_0x546920(0x1a8)][_0x546920(0x16f)](_0x5a4664);this[_0x546920(0x1ab)](_0x53ce28);for(const _0x4c3996 of _0x53ce28)_0x546920(0x193)===this[_0x546920(0x18b)][_0x546920(0x19a)][_0x546920(0x16f)](_0x5537a9)[_0x546920(0x172)]&&this[_0x546920(0x185)](_0x5a4664,_0x4c3996);this[_0x546920(0x1a8)][_0x546920(0x192)](_0x5a4664),this[_0x546920(0x18c)][_0x546920(0x192)](_0x5a4664),this[_0x546920(0x16e)][_0x546920(0x192)](_0x5a4664);}get[_0x11939f(0x1a2)](){const _0x33b0d7=_0x11939f;return this[_0x33b0d7(0x18b)][_0x33b0d7(0x19a)][_0x33b0d7(0x16f)](_0x5537a9)[_0x33b0d7(0x1a1)][_0x33b0d7(0x180)];}[_0x11939f(0x187)](_0x59f3e4){const _0x4f3926=_0x11939f;for(const _0x1bc51c of this[_0x4f3926(0x18c)][_0x4f3926(0x17c)]())for(const _0x4b2644 of _0x1bc51c)if(_0x4b2644['id']===_0x59f3e4)return _0x4b2644[_0x4f3926(0x197)];}[_0x11939f(0x17d)](_0x162de5,_0x1b9b9d){const _0xf3f814=_0x11939f,_0x180a54=_0x1b9b9d?[this[_0xf3f814(0x18c)][_0xf3f814(0x16f)](_0x1b9b9d)]:this[_0xf3f814(0x18c)][_0xf3f814(0x17c)](),_0x148b01=new Set();for(const _0x735a98 of _0x180a54)for(const _0x1889cc of _0x735a98)_0x1889cc[_0xf3f814(0x197)]['id']===_0x162de5['id']&&_0x148b01[_0xf3f814(0x176)](_0x1889cc['id']);return _0x148b01;}[_0x11939f(0x182)](_0x595221){const _0x1765b6=_0x11939f;for(const _0x1b11c6 of this[_0x1765b6(0x18c)][_0x1765b6(0x17c)]())for(const _0x4fc39f of _0x1b11c6)if(_0x4fc39f[_0x1765b6(0x197)]===_0x595221)return _0x4fc39f[_0x1765b6(0x195)];}[_0x11939f(0x17a)](_0xde02d3,_0x762b79){const _0x120362=_0x11939f;if(_0x120362(0x193)!==this[_0x120362(0x18b)][_0x120362(0x19a)][_0x120362(0x16f)](_0x5537a9)[_0x120362(0x172)])return;const _0x5519ca=_0x762b79[_0x120362(0x197)],_0x263e04=this[_0x120362(0x181)][_0x120362(0x198)](_0x5519ca['id'])||this[_0x120362(0x171)](_0x5519ca),_0x31cbec=Object[_0x120362(0x19d)]({},_0x762b79,{'user':_0x263e04});this[_0x120362(0x18c)][_0x120362(0x16f)](_0xde02d3)[_0x120362(0x176)](_0x31cbec);const _0x348e0b=this[_0x120362(0x16e)][_0x120362(0x16f)](_0xde02d3);_0x348e0b[_0x120362(0x18e)](_0x263e04['id'])||_0x348e0b[_0x120362(0x176)](_0x263e04),this[_0x120362(0x1aa)][_0x120362(0x18e)](_0x263e04['id'])||this[_0x120362(0x1aa)][_0x120362(0x176)](_0x263e04,_0x263e04[_0x120362(0x190)]?0x0:void 0x0),this[_0x120362(0x188)](_0x120362(0x17e)+_0xde02d3,{'channelId':_0xde02d3,'session':_0x31cbec});}[_0x11939f(0x185)](_0x1baf11,_0xc7d75f){const _0x1e4d07=_0x11939f;if(_0x1e4d07(0x193)!==this[_0x1e4d07(0x18b)][_0x1e4d07(0x19a)][_0x1e4d07(0x16f)](_0x5537a9)[_0x1e4d07(0x172)])return;const _0x38d764=this[_0x1e4d07(0x16e)][_0x1e4d07(0x16f)](_0x1baf11),_0xf66c1c=_0xc7d75f[_0x1e4d07(0x197)];_0xf66c1c['id']&&(this[_0x1e4d07(0x18c)][_0x1e4d07(0x16f)](_0x1baf11)[_0x1e4d07(0x191)](_0xc7d75f['id']),_0x38d764[_0x1e4d07(0x18e)](_0xf66c1c['id'])&&!this[_0x1e4d07(0x17d)](_0xf66c1c,_0x1baf11)[_0x1e4d07(0x177)]&&_0x38d764[_0x1e4d07(0x191)](_0xf66c1c['id']),this[_0x1e4d07(0x1aa)][_0x1e4d07(0x16f)](_0xf66c1c['id'])&&!this[_0x1e4d07(0x17d)](_0xf66c1c)[_0x1e4d07(0x177)]&&this[_0x1e4d07(0x1aa)][_0x1e4d07(0x191)](_0xf66c1c['id']));}[_0x11939f(0x171)](_0x278af8,_0x390332){const _0x4e61a4=_0x11939f,_0xa579b8=this[_0x4e61a4(0x181)][_0x4e61a4(0x184)](_0x278af8);return _0x390332&&this[_0x4e61a4(0x181)][_0x4e61a4(0x17f)](_0x278af8['id']),_0xa579b8[_0x4e61a4(0x179)]=this[_0x4e61a4(0x16d)]++,_0xa579b8;}}
|