@ckeditor/ckeditor5-real-time-collaboration 46.1.0-alpha.2 → 46.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "46.1.0-alpha.2",
3
+ "version": "46.1.0",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.1",
50
- "@ckeditor/ckeditor5-cloud-services": "46.1.0-alpha.2",
51
- "@ckeditor/ckeditor5-comments": "46.1.0-alpha.2",
52
- "@ckeditor/ckeditor5-core": "46.1.0-alpha.2",
53
- "@ckeditor/ckeditor5-editor-multi-root": "46.1.0-alpha.2",
54
- "@ckeditor/ckeditor5-engine": "46.1.0-alpha.2",
55
- "@ckeditor/ckeditor5-operations-compressor": "46.1.0-alpha.2",
56
- "@ckeditor/ckeditor5-revision-history": "46.1.0-alpha.2",
57
- "@ckeditor/ckeditor5-theme-lark": "46.1.0-alpha.2",
58
- "@ckeditor/ckeditor5-track-changes": "46.1.0-alpha.2",
59
- "@ckeditor/ckeditor5-ui": "46.1.0-alpha.2",
60
- "@ckeditor/ckeditor5-utils": "46.1.0-alpha.2",
61
- "ckeditor5": "46.1.0-alpha.2",
62
- "ckeditor5-collaboration": "46.1.0-alpha.2",
50
+ "@ckeditor/ckeditor5-cloud-services": "46.1.0",
51
+ "@ckeditor/ckeditor5-comments": "46.1.0",
52
+ "@ckeditor/ckeditor5-core": "46.1.0",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "46.1.0",
54
+ "@ckeditor/ckeditor5-engine": "46.1.0",
55
+ "@ckeditor/ckeditor5-operations-compressor": "46.1.0",
56
+ "@ckeditor/ckeditor5-revision-history": "46.1.0",
57
+ "@ckeditor/ckeditor5-theme-lark": "46.1.0",
58
+ "@ckeditor/ckeditor5-track-changes": "46.1.0",
59
+ "@ckeditor/ckeditor5-ui": "46.1.0",
60
+ "@ckeditor/ckeditor5-utils": "46.1.0",
61
+ "ckeditor5": "46.1.0",
62
+ "ckeditor5-collaboration": "46.1.0",
63
63
  "es-toolkit": "1.39.5"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e82d3=_0x104f;(function(_0x2d8a6c,_0x239f0f){const _0x222296=_0x104f,_0x2aa2bb=_0x2d8a6c();while(!![]){try{const _0x5421fd=parseInt(_0x222296(0xd2))/0x1+parseInt(_0x222296(0xd0))/0x2*(-parseInt(_0x222296(0x106))/0x3)+parseInt(_0x222296(0x12b))/0x4+-parseInt(_0x222296(0xde))/0x5+-parseInt(_0x222296(0xdc))/0x6+parseInt(_0x222296(0x132))/0x7+-parseInt(_0x222296(0x137))/0x8;if(_0x5421fd===_0x239f0f)break;else _0x2aa2bb['push'](_0x2aa2bb['shift']());}catch(_0x37515c){_0x2aa2bb['push'](_0x2aa2bb['shift']());}}}(_0x496d,0x60c46));import{ContextPlugin as _0x164b5e}from'ckeditor5/src/core.js';import{CKEditorError as _0x163484,Collection as _0x1de490}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x398d9a,BalloonPanelView as _0x2b95d9,BodyCollection as _0x38acb7}from'ckeditor5/src/ui.js';function _0x104f(_0x28fa45,_0x6a18ea){const _0x496d18=_0x496d();return _0x104f=function(_0x104f8d,_0x2296c4){_0x104f8d=_0x104f8d-0xd0;let _0x39bc82=_0x496d18[_0x104f8d];return _0x39bc82;},_0x104f(_0x28fa45,_0x6a18ea);}import{isElement as _0x5595b1}from'es-toolkit/compat';import{Sessions as _0x259ba9}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x2fa2ea}from'./view/presencelistview.js';import{PresenceCounterView as _0x5acae6}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x2af5e3}from'./view/presencedropdownlistview.js';function _0x496d(){const _0x42c8e1=['presenceList.collapseAt','balloonPanelView','map','bindTo','allConnectedUsers','remove','reverse','join','694122WoyQpl','[tabindex]','912090iafpXn','render','hasTooltip','locale','button','hideDropdown','detachFromDom','presencelist-collapseat-invalid-format','element','define','tabIndex','presencelist:show','unpin','pluginName','requires','inlineListView','[contenteditable]','bind','isFocusable','onClick','presencelist:hide','_handleUserAdd','offsetWidth','execute','PresenceListUI','input','filter','_bodyCollection','counterView','pin','textarea','sort','content','checkIfScrollable','destroy','isCollapsed','from','isRendered',':not([disabled]):not([tabindex=\x22-1\x22])','Shift+Tab','3SLIlqj','context','using','isExpanded','currentDisplayedUsers','attachToDom','isMe','add','displayMe','find','items','showDropdown','presencelist-missing-container','length','set','focusTracker','Esc','presenceList.container','_allConnectedUsers','Enter','keystrokes','usersCount','listenTo','isOfficialPlugin','init','number','presenceDropdownView','select','offsetHeight','plugins','Tab','ck\x20ck-presence-list__balloon','get','_handleUserRemove','presenceList.displayMe','activeElement','min','2722176MXtzqh','focus','change:isFocused','querySelectorAll','indexOf','isVisible','_createView','4535944MpHHhe','config','isPremiumPlugin','body','presenceList','1985856HPKVaU','class','918686hudpkv','view','73502FtBqDW','appendChild'];_0x496d=function(){return _0x42c8e1;};return _0x496d();}import{PresenceDropdownListItemView as _0x21239e}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x15c285}from'./view/presenceinlinelistitemview.js';const U={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x164b5e{[_0x5e82d3(0x10a)];[_0x5e82d3(0xd5)];[_0x5e82d3(0xd1)];[_0x5e82d3(0x120)];[_0x5e82d3(0xf9)]=null;static get[_0x5e82d3(0xeb)](){const _0x4c76bf=_0x5e82d3;return _0x4c76bf(0xf6);}static get[_0x5e82d3(0x11d)](){return!0x0;}static get[_0x5e82d3(0x134)](){return!0x0;}constructor(_0x2e04a8){const _0xb6c23=_0x5e82d3;super(_0x2e04a8),this[_0xb6c23(0x107)][_0xb6c23(0x133)][_0xb6c23(0xe7)](_0xb6c23(0x136),U);const _0x53852a=_0x2e04a8[_0xb6c23(0x133)][_0xb6c23(0x126)](_0xb6c23(0xd4));if(_0xb6c23(0x11f)!=typeof _0x53852a)throw new _0x163484(_0xb6c23(0xe5),this);if(_0x53852a<0x1)throw new _0x163484(_0xb6c23(0xe5),this);this[_0xb6c23(0x118)]=this[_0xb6c23(0x107)][_0xb6c23(0x123)][_0xb6c23(0x126)](_0x259ba9)[_0xb6c23(0xd8)],this[_0xb6c23(0x114)](_0xb6c23(0x11b),0x0),this[_0xb6c23(0x10a)]=new _0x1de490(),this[_0xb6c23(0xd5)]=new _0x2b95d9(),this[_0xb6c23(0xd5)][_0xb6c23(0x138)]=_0xb6c23(0x125),this[_0xb6c23(0xd1)]=this[_0xb6c23(0x131)](),this[_0xb6c23(0x120)]=void 0x0;}static get[_0x5e82d3(0xec)](){return[_0x259ba9];}[_0x5e82d3(0x11e)](){const _0x57eb7d=_0x5e82d3;for(const _0x4d4284 of this[_0x57eb7d(0x118)])this[_0x57eb7d(0xf3)](_0x4d4284);this[_0x57eb7d(0x11c)](this[_0x57eb7d(0x118)],_0x57eb7d(0x10d),(_0x32d691,_0x39cf4c)=>{const _0x3882b8=_0x57eb7d;this[_0x3882b8(0xf3)](_0x39cf4c);}),this[_0x57eb7d(0x11c)](this[_0x57eb7d(0x118)],_0x57eb7d(0xd9),(_0xa97cf6,_0x49421c)=>{const _0x34b637=_0x57eb7d;this[_0x34b637(0x127)](_0x49421c);});}[_0x5e82d3(0x131)](){const _0x1fb3c0=_0x5e82d3,_0x453bbc=this[_0x1fb3c0(0x107)],_0x52f71a=new _0x2fa2ea(this[_0x1fb3c0(0x107)][_0x1fb3c0(0xe1)],this[_0x1fb3c0(0x107)][_0x1fb3c0(0x133)][_0x1fb3c0(0x126)](_0x1fb3c0(0xd4))),_0x176a91=this[_0x1fb3c0(0xd5)];if(!_0x5595b1(_0x453bbc[_0x1fb3c0(0x133)][_0x1fb3c0(0x126)](_0x1fb3c0(0x117))))throw new _0x163484(_0x1fb3c0(0x112),this);return _0x52f71a[_0x1fb3c0(0xfa)][_0x1fb3c0(0xef)](_0x1fb3c0(0x11b))['to'](this),_0x52f71a[_0x1fb3c0(0xef)](_0x1fb3c0(0x101))['to'](this,_0x1fb3c0(0x11b),_0x2a9f5d=>{const _0x163dca=_0x1fb3c0,{collapseAt:_0x1c3f98}=_0x453bbc[_0x163dca(0x133)][_0x163dca(0x126)](_0x163dca(0x136)),_0x3dad10=_0x2a9f5d>=_0x1c3f98;if(_0x3dad10&&!_0x52f71a[_0x163dca(0xed)][_0x163dca(0x110)][_0x163dca(0x10f)](_0x501625=>_0x501625 instanceof _0x5acae6)){const _0x2c264d=this[_0x163dca(0x107)][_0x163dca(0x133)][_0x163dca(0x126)](_0x163dca(0xd4))-0x1;this[_0x163dca(0x10a)][_0x163dca(0x113)]==_0x2c264d&&this[_0x163dca(0x10a)][_0x163dca(0x113)]>0x1&&this[_0x163dca(0x10a)][_0x163dca(0xd9)](this[_0x163dca(0x10a)][_0x163dca(0x113)]-0x1),_0x52f71a[_0x163dca(0xed)][_0x163dca(0x110)][_0x163dca(0x10d)](_0x52f71a[_0x163dca(0xfa)]);}return _0x3dad10||this[_0x163dca(0xe3)](),_0x3dad10;}),_0x52f71a[_0x1fb3c0(0xed)][_0x1fb3c0(0x110)][_0x1fb3c0(0xd7)](this[_0x1fb3c0(0x10a)])[_0x1fb3c0(0x108)](_0x5f063b=>{const _0x597e47=_0x1fb3c0,_0x53ae09=_0x453bbc[_0x597e47(0x133)][_0x597e47(0x126)](_0x597e47(0x136)),_0x1fefcf=new _0x15c285(_0x453bbc[_0x597e47(0xe1)],_0x5f063b,!!_0x53ae09[_0x597e47(0xf1)]);return _0x1fefcf[_0x597e47(0xef)](_0x597e47(0xe0))['to'](_0x52f71a,_0x597e47(0x101),_0x1aa14a=>!_0x1aa14a),_0x1fefcf[_0x597e47(0xef)](_0x597e47(0xf0))['to'](_0x52f71a,_0x597e47(0x101),_0x4df989=>!_0x4df989),_0x53ae09[_0x597e47(0xf1)]&&this[_0x597e47(0x11c)](_0x1fefcf,_0x597e47(0xf5),()=>{const _0x536966=_0x597e47;this[_0x536966(0xd1)][_0x536966(0x101)]||_0x53ae09[_0x536966(0xf1)](_0x5f063b,_0x1fefcf[_0x536966(0xe6)]);}),_0x1fefcf;}),this[_0x1fb3c0(0x11c)](_0x52f71a[_0x1fb3c0(0xed)],_0x1fb3c0(0xe9),()=>{const _0x47e5c7=_0x1fb3c0;this[_0x47e5c7(0xd1)][_0x47e5c7(0x101)]&&this[_0x47e5c7(0x111)]();}),this[_0x1fb3c0(0x11c)](_0x52f71a[_0x1fb3c0(0xed)],_0x1fb3c0(0xf2),()=>{const _0x3e307b=_0x1fb3c0;this[_0x3e307b(0x120)]&&this[_0x3e307b(0xe3)]();}),_0x52f71a[_0x1fb3c0(0xed)][_0x1fb3c0(0x11a)][_0x1fb3c0(0x114)](_0x1fb3c0(0x119),(_0x108465,_0x4a36a1)=>{const _0x529da0=_0x1fb3c0;this[_0x529da0(0xd1)][_0x529da0(0x101)]&&(this[_0x529da0(0x111)](),_0x4a36a1());}),_0x52f71a[_0x1fb3c0(0xdf)](),_0x176a91[_0x1fb3c0(0xdf)](),_0x398d9a({'emitter':_0x52f71a,'activator':()=>_0x176a91[_0x1fb3c0(0x130)],'contextElements':[_0x176a91[_0x1fb3c0(0xe6)],_0x52f71a[_0x1fb3c0(0xed)][_0x1fb3c0(0xe6)]],'callback':()=>this[_0x1fb3c0(0xe3)]()}),_0x453bbc[_0x1fb3c0(0x133)][_0x1fb3c0(0x126)](_0x1fb3c0(0x117))[_0x1fb3c0(0xd3)](_0x52f71a[_0x1fb3c0(0xe6)]),this[_0x1fb3c0(0xf9)]=new _0x38acb7(this[_0x1fb3c0(0x107)][_0x1fb3c0(0xe1)]),this[_0x1fb3c0(0xf9)][_0x1fb3c0(0x10b)](),this[_0x1fb3c0(0xf9)][_0x1fb3c0(0x10d)](this[_0x1fb3c0(0xd5)]),_0x52f71a;}[_0x5e82d3(0xf3)](_0x1af3e4){const _0xe3c58d=_0x5e82d3;if(!this[_0xe3c58d(0x107)][_0xe3c58d(0x133)][_0xe3c58d(0x126)](_0xe3c58d(0x128))&&_0x1af3e4[_0xe3c58d(0x10c)])return;const _0x5958bf=this[_0xe3c58d(0x107)][_0xe3c58d(0x133)][_0xe3c58d(0x126)](_0xe3c58d(0xd4))-0x1;for(this[_0xe3c58d(0x11b)]++;this[_0xe3c58d(0x10a)][_0xe3c58d(0x113)]>=_0x5958bf-(this[_0xe3c58d(0xd1)][_0xe3c58d(0x101)]?0x1:0x0)&&this[_0xe3c58d(0x10a)][_0xe3c58d(0x113)]>0x1;)this[_0xe3c58d(0x10a)][_0xe3c58d(0xd9)](0x1);const _0xa1c999=_0x1af3e4[_0xe3c58d(0x10c)]?0x0:this[_0xe3c58d(0x10a)][_0xe3c58d(0x113)];this[_0xe3c58d(0x10a)][_0xe3c58d(0x10d)](_0x1af3e4,_0xa1c999);}[_0x5e82d3(0x127)](_0x2c0e12){const _0x258751=_0x5e82d3;this[_0x258751(0x11b)]--;const {collapseAt:_0x4092bb}=this[_0x258751(0x107)][_0x258751(0x133)][_0x258751(0x126)](_0x258751(0x136)),_0x1892ed=this[_0x258751(0x11b)]>=_0x4092bb;if(this[_0x258751(0x10a)][_0x258751(0x126)](_0x2c0e12['id']))this[_0x258751(0x10a)][_0x258751(0xd9)](_0x2c0e12['id']);else{if(_0x1892ed&&this[_0x258751(0x10a)][_0x258751(0x113)]+0x1===_0x4092bb-0x1)return;}if(this[_0x258751(0x10a)][_0x258751(0x113)]+(_0x1892ed?0x1:0x0)<this[_0x258751(0x11b)]){for(const _0x4c585e of Array[_0x258751(0x102)](this[_0x258751(0x118)])[_0x258751(0xda)]())if(!this[_0x258751(0x10a)][_0x258751(0x126)](_0x4c585e['id'])&&(this[_0x258751(0x10a)][_0x258751(0x10d)](_0x4c585e,Math[_0x258751(0x12a)](this[_0x258751(0x10a)][_0x258751(0x113)]-(_0x1892ed?0x1:0x0),0x1)),this[_0x258751(0x10a)][_0x258751(0x113)]+(_0x1892ed?0x1:0x0)===_0x4092bb-0x1))return;}}[_0x5e82d3(0x111)](){const _0x40e1a2=_0x5e82d3;if(this[_0x40e1a2(0x120)])return;const _0x33d0df=this[_0x40e1a2(0x107)][_0x40e1a2(0x133)][_0x40e1a2(0x126)](_0x40e1a2(0x136));this[_0x40e1a2(0x120)]=new _0x2af5e3(this[_0x40e1a2(0x107)][_0x40e1a2(0xe1)],!!_0x33d0df[_0x40e1a2(0xf1)]),this[_0x40e1a2(0xd1)][_0x40e1a2(0xed)][_0x40e1a2(0x109)]=!0x0,this[_0x40e1a2(0x11c)](this[_0x40e1a2(0x120)],_0x40e1a2(0xf2),()=>{const _0x3cfbc5=_0x40e1a2;this[_0x3cfbc5(0x120)]&&this[_0x3cfbc5(0xe3)]();});const {listWrapperView:_0x1ea665}=this[_0x40e1a2(0x120)];_0x1ea665[_0x40e1a2(0x110)][_0x40e1a2(0xd7)](this[_0x40e1a2(0x118)])[_0x40e1a2(0x108)](_0x484c08=>{const _0x3ffb1c=_0x40e1a2;if(!_0x33d0df[_0x3ffb1c(0x10e)]&&_0x484c08[_0x3ffb1c(0x10c)])return null;const _0x283816=new _0x21239e(this[_0x3ffb1c(0x107)][_0x3ffb1c(0xe1)],_0x484c08,!!_0x33d0df[_0x3ffb1c(0xf1)]);return _0x33d0df[_0x3ffb1c(0xf1)]&&this[_0x3ffb1c(0x11c)](_0x283816,_0x3ffb1c(0xf5),()=>{const _0x50fd27=_0x3ffb1c;_0x33d0df[_0x50fd27(0xf1)](_0x484c08,_0x283816[_0x50fd27(0xe6)]);}),_0x283816;}),this[_0x40e1a2(0xd5)][_0x40e1a2(0xfe)][_0x40e1a2(0x10d)](this[_0x40e1a2(0x120)]),this[_0x40e1a2(0xd5)][_0x40e1a2(0xfb)]({'target':this[_0x40e1a2(0xd1)][_0x40e1a2(0xed)][_0x40e1a2(0xe6)]}),_0x1ea665[_0x40e1a2(0x12c)](),_0x1ea665[_0x40e1a2(0xff)]();const _0x767590=(_0x2889e6,_0x18a4c5)=>{const _0x4b127c=_0x40e1a2;this[_0x4b127c(0xe3)](),this[_0x4b127c(0xd1)][_0x4b127c(0xed)][_0x4b127c(0x12c)](),_0x18a4c5();};_0x1ea665[_0x40e1a2(0x11a)][_0x40e1a2(0x114)](_0x40e1a2(0x116),_0x767590),_0x1ea665[_0x40e1a2(0x11a)][_0x40e1a2(0x114)](_0x40e1a2(0x105),_0x767590),_0x1ea665[_0x40e1a2(0x11a)][_0x40e1a2(0x114)](_0x40e1a2(0x124),(_0x2b7a92,_0x27366f)=>{const _0x2bdd51=_0x40e1a2;!function(_0x4f1ea5){const _0x54c8cf=_0x104f,_0x1f6226=['a',_0x54c8cf(0xe2),_0x54c8cf(0xf7),_0x54c8cf(0x121),_0x54c8cf(0xfc),_0x54c8cf(0xdd),_0x54c8cf(0xee)][_0x54c8cf(0xd6)](_0x43f31d=>_0x43f31d+_0x54c8cf(0x104))[_0x54c8cf(0xdb)](','),_0x414b1f=[...document[_0x54c8cf(0x135)][_0x54c8cf(0x12e)](_0x1f6226)][_0x54c8cf(0xf8)](_0x33231a=>_0x33231a===document[_0x54c8cf(0x129)]||_0x33231a[_0x54c8cf(0xf4)]+_0x33231a[_0x54c8cf(0x122)]>0x0)[_0x54c8cf(0xfd)]((_0x133b8c,_0x7281f3)=>(_0x133b8c[_0x54c8cf(0xe8)]||0x0)-(_0x7281f3[_0x54c8cf(0xe8)]||0x0)),_0x4d3020=_0x414b1f[_0x54c8cf(0x12f)](_0x4f1ea5),_0x2ca823=_0x414b1f[(_0x4d3020+0x1)%_0x414b1f[_0x54c8cf(0x113)]];_0x2ca823&&_0x2ca823[_0x54c8cf(0x12c)]();}(this[_0x2bdd51(0xd1)][_0x2bdd51(0xe6)]),this[_0x2bdd51(0xe3)](),_0x27366f();}),_0x1ea665[_0x40e1a2(0x115)][_0x40e1a2(0x10d)](this[_0x40e1a2(0xd1)][_0x40e1a2(0xe6)]),_0x1ea665[_0x40e1a2(0x115)]['on'](_0x40e1a2(0x12d),(_0x835044,_0x29eda,_0x844e69)=>{const _0x21401b=_0x40e1a2;_0x844e69||this[_0x21401b(0xe3)]();});}[_0x5e82d3(0xe3)](){const _0x5a7afe=_0x5e82d3;this[_0x5a7afe(0x120)]&&(this[_0x5a7afe(0xd1)][_0x5a7afe(0xed)][_0x5a7afe(0x109)]=!0x1,this[_0x5a7afe(0xd5)][_0x5a7afe(0xea)](),this[_0x5a7afe(0xd5)][_0x5a7afe(0xfe)][_0x5a7afe(0xd9)](this[_0x5a7afe(0x120)]),this[_0x5a7afe(0x120)][_0x5a7afe(0x100)](),this[_0x5a7afe(0x120)]=void 0x0);}[_0x5e82d3(0x100)](){const _0x3c71bf=_0x5e82d3;super[_0x3c71bf(0x100)](),this[_0x3c71bf(0xd1)]&&this[_0x3c71bf(0xd1)][_0x3c71bf(0x103)]&&this[_0x3c71bf(0xd1)][_0x3c71bf(0x100)](),this[_0x3c71bf(0xf9)]&&(this[_0x3c71bf(0xf9)][_0x3c71bf(0xe4)](),this[_0x3c71bf(0xf9)][_0x3c71bf(0x100)](),this[_0x3c71bf(0xf9)]=null);}}
23
+ const _0x386b73=_0x1166;(function(_0x17dc7a,_0x1472fa){const _0x18d575=_0x1166,_0x396c99=_0x17dc7a();while(!![]){try{const _0x435a3a=parseInt(_0x18d575(0xbf))/0x1+-parseInt(_0x18d575(0xf4))/0x2*(parseInt(_0x18d575(0xe9))/0x3)+-parseInt(_0x18d575(0xda))/0x4*(-parseInt(_0x18d575(0xd7))/0x5)+-parseInt(_0x18d575(0xdc))/0x6+parseInt(_0x18d575(0xee))/0x7+parseInt(_0x18d575(0xf8))/0x8+parseInt(_0x18d575(0xd8))/0x9*(parseInt(_0x18d575(0xb3))/0xa);if(_0x435a3a===_0x1472fa)break;else _0x396c99['push'](_0x396c99['shift']());}catch(_0x1e216c){_0x396c99['push'](_0x396c99['shift']());}}}(_0x5142,0x95bf4));import{ContextPlugin as _0x348f1d}from'ckeditor5/src/core.js';import{CKEditorError as _0x2ce715,Collection as _0x25af5b}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x5576d8,BalloonPanelView as _0x401daa,BodyCollection as _0xd983ee}from'ckeditor5/src/ui.js';import{isElement as _0x1c808f}from'es-toolkit/compat';import{Sessions as _0x55372e}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x5ad28a}from'./view/presencelistview.js';import{PresenceCounterView as _0x17372f}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x5f1f6d}from'./view/presencedropdownlistview.js';function _0x1166(_0x119286,_0x848ceb){const _0x51423=_0x5142();return _0x1166=function(_0x116647,_0x16c642){_0x116647=_0x116647-0xa0;let _0x469062=_0x51423[_0x116647];return _0x469062;},_0x1166(_0x119286,_0x848ceb);}import{PresenceDropdownListItemView as _0x55e692}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x2c0396}from'./view/presenceinlinelistitemview.js';function _0x5142(){const _0x2d7bca=['pin','focusTracker','327774KDccwD','plugins','offsetHeight','set','reverse','3519082KzRizZ','balloonPanelView','get','config','attachToDom','presencelist:show','14LJmXxs','define','render','activeElement','1327840LakRbF','checkIfScrollable','allConnectedUsers','isRendered','showDropdown','focus','Tab','presencelist:hide','currentDisplayedUsers','tabIndex','destroy','context','body','bindTo','button','isPremiumPlugin','content','from','locale','presenceList.displayMe','listenTo','length','appendChild','map','indexOf','Enter','_bodyCollection',':not([disabled]):not([tabindex=\x22-1\x22])','view','element','displayMe','PresenceListUI','Esc','presenceList.collapseAt','filter','find','join','onClick','10llBgaM','ck\x20ck-presence-list__balloon','isFocusable','bind','counterView','Shift+Tab','class','textarea','usersCount','isCollapsed','unpin','_createView','429903LWjWuD','detachFromDom','presenceDropdownView','isOfficialPlugin','min','presenceList.container','items','presencelist-collapseat-invalid-format','isExpanded','remove','input','pluginName','change:isFocused','requires','hideDropdown','[contenteditable]','isMe','_allConnectedUsers','isVisible','[tabindex]','keystrokes','number','hasTooltip','_handleUserAdd','5zGSPUP','1108413xdfruv','using','4824236jfZarO','select','6297930aiGUOl','_handleUserRemove','init','offsetWidth','querySelectorAll','add','presenceList','inlineListView','execute','presencelist-missing-container','sort'];_0x5142=function(){return _0x2d7bca;};return _0x5142();}const ht={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x348f1d{[_0x386b73(0x100)];[_0x386b73(0xef)];[_0x386b73(0xa9)];[_0x386b73(0xc1)];[_0x386b73(0xa7)]=null;static get[_0x386b73(0xca)](){const _0x2b036e=_0x386b73;return _0x2b036e(0xac);}static get[_0x386b73(0xc2)](){return!0x0;}static get[_0x386b73(0x107)](){return!0x0;}constructor(_0x5ce284){const _0x31c76b=_0x386b73;super(_0x5ce284),this[_0x31c76b(0x103)][_0x31c76b(0xf1)][_0x31c76b(0xf5)](_0x31c76b(0xe2),ht);const _0x149cf2=_0x5ce284[_0x31c76b(0xf1)][_0x31c76b(0xf0)](_0x31c76b(0xae));if(_0x31c76b(0xd4)!=typeof _0x149cf2)throw new _0x2ce715(_0x31c76b(0xc6),this);if(_0x149cf2<0x1)throw new _0x2ce715(_0x31c76b(0xc6),this);this[_0x31c76b(0xd0)]=this[_0x31c76b(0x103)][_0x31c76b(0xea)][_0x31c76b(0xf0)](_0x55372e)[_0x31c76b(0xfa)],this[_0x31c76b(0xec)](_0x31c76b(0xbb),0x0),this[_0x31c76b(0x100)]=new _0x25af5b(),this[_0x31c76b(0xef)]=new _0x401daa(),this[_0x31c76b(0xef)][_0x31c76b(0xb9)]=_0x31c76b(0xb4),this[_0x31c76b(0xa9)]=this[_0x31c76b(0xbe)](),this[_0x31c76b(0xc1)]=void 0x0;}static get[_0x386b73(0xcc)](){return[_0x55372e];}[_0x386b73(0xde)](){const _0x1062fa=_0x386b73;for(const _0x4a4ea9 of this[_0x1062fa(0xd0)])this[_0x1062fa(0xd6)](_0x4a4ea9);this[_0x1062fa(0xa1)](this[_0x1062fa(0xd0)],_0x1062fa(0xe1),(_0xc87573,_0x4bec03)=>{const _0x55eb58=_0x1062fa;this[_0x55eb58(0xd6)](_0x4bec03);}),this[_0x1062fa(0xa1)](this[_0x1062fa(0xd0)],_0x1062fa(0xc8),(_0x151f70,_0x1af61f)=>{const _0xe3a753=_0x1062fa;this[_0xe3a753(0xdd)](_0x1af61f);});}[_0x386b73(0xbe)](){const _0x37f5bc=_0x386b73,_0x488dff=this[_0x37f5bc(0x103)],_0x47e6b2=new _0x5ad28a(this[_0x37f5bc(0x103)][_0x37f5bc(0x10a)],this[_0x37f5bc(0x103)][_0x37f5bc(0xf1)][_0x37f5bc(0xf0)](_0x37f5bc(0xae))),_0x1e555f=this[_0x37f5bc(0xef)];if(!_0x1c808f(_0x488dff[_0x37f5bc(0xf1)][_0x37f5bc(0xf0)](_0x37f5bc(0xc4))))throw new _0x2ce715(_0x37f5bc(0xe5),this);return _0x47e6b2[_0x37f5bc(0xb7)][_0x37f5bc(0xb6)](_0x37f5bc(0xbb))['to'](this),_0x47e6b2[_0x37f5bc(0xb6)](_0x37f5bc(0xbc))['to'](this,_0x37f5bc(0xbb),_0x50e944=>{const _0x9f6389=_0x37f5bc,{collapseAt:_0x262336}=_0x488dff[_0x9f6389(0xf1)][_0x9f6389(0xf0)](_0x9f6389(0xe2)),_0x50dbae=_0x50e944>=_0x262336;if(_0x50dbae&&!_0x47e6b2[_0x9f6389(0xe3)][_0x9f6389(0xc5)][_0x9f6389(0xb0)](_0x49c2d7=>_0x49c2d7 instanceof _0x17372f)){const _0xbe6bbf=this[_0x9f6389(0x103)][_0x9f6389(0xf1)][_0x9f6389(0xf0)](_0x9f6389(0xae))-0x1;this[_0x9f6389(0x100)][_0x9f6389(0xa2)]==_0xbe6bbf&&this[_0x9f6389(0x100)][_0x9f6389(0xa2)]>0x1&&this[_0x9f6389(0x100)][_0x9f6389(0xc8)](this[_0x9f6389(0x100)][_0x9f6389(0xa2)]-0x1),_0x47e6b2[_0x9f6389(0xe3)][_0x9f6389(0xc5)][_0x9f6389(0xe1)](_0x47e6b2[_0x9f6389(0xb7)]);}return _0x50dbae||this[_0x9f6389(0xcd)](),_0x50dbae;}),_0x47e6b2[_0x37f5bc(0xe3)][_0x37f5bc(0xc5)][_0x37f5bc(0x105)](this[_0x37f5bc(0x100)])[_0x37f5bc(0xd9)](_0x303d0e=>{const _0x616642=_0x37f5bc,_0x3aed3d=_0x488dff[_0x616642(0xf1)][_0x616642(0xf0)](_0x616642(0xe2)),_0xa2ea2a=new _0x2c0396(_0x488dff[_0x616642(0x10a)],_0x303d0e,!!_0x3aed3d[_0x616642(0xb2)]);return _0xa2ea2a[_0x616642(0xb6)](_0x616642(0xd5))['to'](_0x47e6b2,_0x616642(0xbc),_0x69694e=>!_0x69694e),_0xa2ea2a[_0x616642(0xb6)](_0x616642(0xb5))['to'](_0x47e6b2,_0x616642(0xbc),_0x3c8219=>!_0x3c8219),_0x3aed3d[_0x616642(0xb2)]&&this[_0x616642(0xa1)](_0xa2ea2a,_0x616642(0xe4),()=>{const _0x4d4258=_0x616642;this[_0x4d4258(0xa9)][_0x4d4258(0xbc)]||_0x3aed3d[_0x4d4258(0xb2)](_0x303d0e,_0xa2ea2a[_0x4d4258(0xaa)]);}),_0xa2ea2a;}),this[_0x37f5bc(0xa1)](_0x47e6b2[_0x37f5bc(0xe3)],_0x37f5bc(0xf3),()=>{const _0x5e143c=_0x37f5bc;this[_0x5e143c(0xa9)][_0x5e143c(0xbc)]&&this[_0x5e143c(0xfc)]();}),this[_0x37f5bc(0xa1)](_0x47e6b2[_0x37f5bc(0xe3)],_0x37f5bc(0xff),()=>{const _0x41ee40=_0x37f5bc;this[_0x41ee40(0xc1)]&&this[_0x41ee40(0xcd)]();}),_0x47e6b2[_0x37f5bc(0xe3)][_0x37f5bc(0xd3)][_0x37f5bc(0xec)](_0x37f5bc(0xa6),(_0x1126ad,_0x26a407)=>{const _0x2025ac=_0x37f5bc;this[_0x2025ac(0xa9)][_0x2025ac(0xbc)]&&(this[_0x2025ac(0xfc)](),_0x26a407());}),_0x47e6b2[_0x37f5bc(0xf6)](),_0x1e555f[_0x37f5bc(0xf6)](),_0x5576d8({'emitter':_0x47e6b2,'activator':()=>_0x1e555f[_0x37f5bc(0xd1)],'contextElements':[_0x1e555f[_0x37f5bc(0xaa)],_0x47e6b2[_0x37f5bc(0xe3)][_0x37f5bc(0xaa)]],'callback':()=>this[_0x37f5bc(0xcd)]()}),_0x488dff[_0x37f5bc(0xf1)][_0x37f5bc(0xf0)](_0x37f5bc(0xc4))[_0x37f5bc(0xa3)](_0x47e6b2[_0x37f5bc(0xaa)]),this[_0x37f5bc(0xa7)]=new _0xd983ee(this[_0x37f5bc(0x103)][_0x37f5bc(0x10a)]),this[_0x37f5bc(0xa7)][_0x37f5bc(0xf2)](),this[_0x37f5bc(0xa7)][_0x37f5bc(0xe1)](this[_0x37f5bc(0xef)]),_0x47e6b2;}[_0x386b73(0xd6)](_0x17e517){const _0x1f4f3d=_0x386b73;if(!this[_0x1f4f3d(0x103)][_0x1f4f3d(0xf1)][_0x1f4f3d(0xf0)](_0x1f4f3d(0xa0))&&_0x17e517[_0x1f4f3d(0xcf)])return;const _0x243694=this[_0x1f4f3d(0x103)][_0x1f4f3d(0xf1)][_0x1f4f3d(0xf0)](_0x1f4f3d(0xae))-0x1;for(this[_0x1f4f3d(0xbb)]++;this[_0x1f4f3d(0x100)][_0x1f4f3d(0xa2)]>=_0x243694-(this[_0x1f4f3d(0xa9)][_0x1f4f3d(0xbc)]?0x1:0x0)&&this[_0x1f4f3d(0x100)][_0x1f4f3d(0xa2)]>0x1;)this[_0x1f4f3d(0x100)][_0x1f4f3d(0xc8)](0x1);const _0x1ec28a=_0x17e517[_0x1f4f3d(0xcf)]?0x0:this[_0x1f4f3d(0x100)][_0x1f4f3d(0xa2)];this[_0x1f4f3d(0x100)][_0x1f4f3d(0xe1)](_0x17e517,_0x1ec28a);}[_0x386b73(0xdd)](_0x131112){const _0x3dfeaf=_0x386b73;this[_0x3dfeaf(0xbb)]--;const {collapseAt:_0x10a916}=this[_0x3dfeaf(0x103)][_0x3dfeaf(0xf1)][_0x3dfeaf(0xf0)](_0x3dfeaf(0xe2)),_0x58bf38=this[_0x3dfeaf(0xbb)]>=_0x10a916;if(this[_0x3dfeaf(0x100)][_0x3dfeaf(0xf0)](_0x131112['id']))this[_0x3dfeaf(0x100)][_0x3dfeaf(0xc8)](_0x131112['id']);else{if(_0x58bf38&&this[_0x3dfeaf(0x100)][_0x3dfeaf(0xa2)]+0x1===_0x10a916-0x1)return;}if(this[_0x3dfeaf(0x100)][_0x3dfeaf(0xa2)]+(_0x58bf38?0x1:0x0)<this[_0x3dfeaf(0xbb)]){for(const _0x3e5de5 of Array[_0x3dfeaf(0x109)](this[_0x3dfeaf(0xd0)])[_0x3dfeaf(0xed)]())if(!this[_0x3dfeaf(0x100)][_0x3dfeaf(0xf0)](_0x3e5de5['id'])&&(this[_0x3dfeaf(0x100)][_0x3dfeaf(0xe1)](_0x3e5de5,Math[_0x3dfeaf(0xc3)](this[_0x3dfeaf(0x100)][_0x3dfeaf(0xa2)]-(_0x58bf38?0x1:0x0),0x1)),this[_0x3dfeaf(0x100)][_0x3dfeaf(0xa2)]+(_0x58bf38?0x1:0x0)===_0x10a916-0x1))return;}}[_0x386b73(0xfc)](){const _0x704748=_0x386b73;if(this[_0x704748(0xc1)])return;const _0x3ba13d=this[_0x704748(0x103)][_0x704748(0xf1)][_0x704748(0xf0)](_0x704748(0xe2));this[_0x704748(0xc1)]=new _0x5f1f6d(this[_0x704748(0x103)][_0x704748(0x10a)],!!_0x3ba13d[_0x704748(0xb2)]),this[_0x704748(0xa9)][_0x704748(0xe3)][_0x704748(0xc7)]=!0x0,this[_0x704748(0xa1)](this[_0x704748(0xc1)],_0x704748(0xff),()=>{const _0xeab24e=_0x704748;this[_0xeab24e(0xc1)]&&this[_0xeab24e(0xcd)]();});const {listWrapperView:_0x4b0f22}=this[_0x704748(0xc1)];_0x4b0f22[_0x704748(0xc5)][_0x704748(0x105)](this[_0x704748(0xd0)])[_0x704748(0xd9)](_0x5550ae=>{const _0x77edf2=_0x704748;if(!_0x3ba13d[_0x77edf2(0xab)]&&_0x5550ae[_0x77edf2(0xcf)])return null;const _0x2a317f=new _0x55e692(this[_0x77edf2(0x103)][_0x77edf2(0x10a)],_0x5550ae,!!_0x3ba13d[_0x77edf2(0xb2)]);return _0x3ba13d[_0x77edf2(0xb2)]&&this[_0x77edf2(0xa1)](_0x2a317f,_0x77edf2(0xe4),()=>{const _0x2310dd=_0x77edf2;_0x3ba13d[_0x2310dd(0xb2)](_0x5550ae,_0x2a317f[_0x2310dd(0xaa)]);}),_0x2a317f;}),this[_0x704748(0xef)][_0x704748(0x108)][_0x704748(0xe1)](this[_0x704748(0xc1)]),this[_0x704748(0xef)][_0x704748(0xe7)]({'target':this[_0x704748(0xa9)][_0x704748(0xe3)][_0x704748(0xaa)]}),_0x4b0f22[_0x704748(0xfd)](),_0x4b0f22[_0x704748(0xf9)]();const _0x6b84c3=(_0x1d66f1,_0x435154)=>{const _0xde4224=_0x704748;this[_0xde4224(0xcd)](),this[_0xde4224(0xa9)][_0xde4224(0xe3)][_0xde4224(0xfd)](),_0x435154();};_0x4b0f22[_0x704748(0xd3)][_0x704748(0xec)](_0x704748(0xad),_0x6b84c3),_0x4b0f22[_0x704748(0xd3)][_0x704748(0xec)](_0x704748(0xb8),_0x6b84c3),_0x4b0f22[_0x704748(0xd3)][_0x704748(0xec)](_0x704748(0xfe),(_0x417244,_0xb01f78)=>{const _0x420eaa=_0x704748;!function(_0x23bd46){const _0x5687de=_0x1166,_0x216c86=['a',_0x5687de(0x106),_0x5687de(0xc9),_0x5687de(0xdb),_0x5687de(0xba),_0x5687de(0xd2),_0x5687de(0xce)][_0x5687de(0xa4)](_0x574685=>_0x574685+_0x5687de(0xa8))[_0x5687de(0xb1)](','),_0x11ea5a=[...document[_0x5687de(0x104)][_0x5687de(0xe0)](_0x216c86)][_0x5687de(0xaf)](_0x513e15=>_0x513e15===document[_0x5687de(0xf7)]||_0x513e15[_0x5687de(0xdf)]+_0x513e15[_0x5687de(0xeb)]>0x0)[_0x5687de(0xe6)]((_0x55df51,_0x4476bf)=>(_0x55df51[_0x5687de(0x101)]||0x0)-(_0x4476bf[_0x5687de(0x101)]||0x0)),_0x3ddbe0=_0x11ea5a[_0x5687de(0xa5)](_0x23bd46),_0x43e223=_0x11ea5a[(_0x3ddbe0+0x1)%_0x11ea5a[_0x5687de(0xa2)]];_0x43e223&&_0x43e223[_0x5687de(0xfd)]();}(this[_0x420eaa(0xa9)][_0x420eaa(0xaa)]),this[_0x420eaa(0xcd)](),_0xb01f78();}),_0x4b0f22[_0x704748(0xe8)][_0x704748(0xe1)](this[_0x704748(0xa9)][_0x704748(0xaa)]),_0x4b0f22[_0x704748(0xe8)]['on'](_0x704748(0xcb),(_0x4b2fe3,_0x242bd5,_0x5637d6)=>{const _0x8508dd=_0x704748;_0x5637d6||this[_0x8508dd(0xcd)]();});}[_0x386b73(0xcd)](){const _0x229c58=_0x386b73;this[_0x229c58(0xc1)]&&(this[_0x229c58(0xa9)][_0x229c58(0xe3)][_0x229c58(0xc7)]=!0x1,this[_0x229c58(0xef)][_0x229c58(0xbd)](),this[_0x229c58(0xef)][_0x229c58(0x108)][_0x229c58(0xc8)](this[_0x229c58(0xc1)]),this[_0x229c58(0xc1)][_0x229c58(0x102)](),this[_0x229c58(0xc1)]=void 0x0);}[_0x386b73(0x102)](){const _0x4a3f37=_0x386b73;super[_0x4a3f37(0x102)](),this[_0x4a3f37(0xa9)]&&this[_0x4a3f37(0xa9)][_0x4a3f37(0xfb)]&&this[_0x4a3f37(0xa9)][_0x4a3f37(0x102)](),this[_0x4a3f37(0xa7)]&&(this[_0x4a3f37(0xa7)][_0x4a3f37(0xc0)](),this[_0x4a3f37(0xa7)][_0x4a3f37(0x102)](),this[_0x4a3f37(0xa7)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2ebf7c=_0x3b32;(function(_0x591821,_0x11229d){const _0x297a88=_0x3b32,_0x2ee4ce=_0x591821();while(!![]){try{const _0x3dfaf9=-parseInt(_0x297a88(0xe7))/0x1*(-parseInt(_0x297a88(0xf1))/0x2)+-parseInt(_0x297a88(0xe8))/0x3+-parseInt(_0x297a88(0xee))/0x4+parseInt(_0x297a88(0xf0))/0x5+-parseInt(_0x297a88(0xe2))/0x6+-parseInt(_0x297a88(0xf2))/0x7*(-parseInt(_0x297a88(0xdd))/0x8)+parseInt(_0x297a88(0xf3))/0x9;if(_0x3dfaf9===_0x11229d)break;else _0x2ee4ce['push'](_0x2ee4ce['shift']());}catch(_0x59f769){_0x2ee4ce['push'](_0x2ee4ce['shift']());}}}(_0xbdfc,0x82abc));import{ListItemView as _0x30c6ef}from'ckeditor5/src/ui.js';import{UserView as _0x3b47d0}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3b32(_0x5b180e,_0x14a7b3){const _0xbdfc51=_0xbdfc();return _0x3b32=function(_0x3b320e,_0x68e77){_0x3b320e=_0x3b320e-0xd9;let _0x35865b=_0xbdfc51[_0x3b320e];return _0x35865b;},_0x3b32(_0x5b180e,_0x14a7b3);}export class PresenceDropdownListItemView extends _0x30c6ef{[_0x2ebf7c(0xda)];constructor(_0x3984f,_0x288a1f,_0x327319){const _0x40983c=_0x2ebf7c;super(_0x3984f);const _0x251005=this[_0x40983c(0xef)];this[_0x40983c(0xda)]=new _0x3b47d0(_0x3984f,_0x288a1f);const _0x6b097e={'tag':'li','attributes':{'class':['ck',_0x40983c(0xd9)],'tabindex':-0x1,'role':_0x40983c(0xe0),'aria-label':_0x288a1f[_0x40983c(0xed)]},'children':[this[_0x40983c(0xda)],{'tag':_0x40983c(0xdc),'attributes':{'class':['ck',_0x40983c(0xeb)]},'children':[{'text':_0x288a1f[_0x40983c(0xed)]}]},{'tag':_0x40983c(0xdc),'attributes':{'class':['ck',_0x40983c(0xe9),_0x288a1f[_0x40983c(0xdf)][_0x40983c(0xde)]()],'aria-hidden':_0x40983c(0xe6)}}]};_0x327319&&(_0x6b097e[_0x40983c(0xec)]=_0x40983c(0xea),_0x6b097e['on']={'click':_0x251005['to'](()=>this[_0x40983c(0xe3)](_0x40983c(0xe5)))}),this[_0x40983c(0xe1)](_0x6b097e);}[_0x2ebf7c(0xdb)](){const _0x5239cb=_0x2ebf7c;this[_0x5239cb(0xe4)][_0x5239cb(0xdb)]();}}function _0xbdfc(){const _0x50b9ab=['3107715YHVNMJ','8256CYWYwS','49ALgKhP','13350654psABOT','ck-presence-list__dropdown-list-item','userView','focus','span','23304cgApoV','getBackgroundColorClass','color','presentation','setTemplate','5186892yJjtEl','fire','element','execute','true','52pChtfz','880659fMjsRi','ck-presence-list__marker','button','ck-user__full-name','tag','name','2586932HPRdBx','bindTemplate'];_0xbdfc=function(){return _0x50b9ab;};return _0xbdfc();}
23
+ const _0x2e183f=_0x26cf;(function(_0x3ab524,_0xb9b3e2){const _0x277ad4=_0x26cf,_0x5351ea=_0x3ab524();while(!![]){try{const _0x3f12c7=-parseInt(_0x277ad4(0x90))/0x1*(parseInt(_0x277ad4(0x9d))/0x2)+parseInt(_0x277ad4(0xa5))/0x3+-parseInt(_0x277ad4(0x8b))/0x4*(parseInt(_0x277ad4(0x9e))/0x5)+parseInt(_0x277ad4(0x95))/0x6*(parseInt(_0x277ad4(0x94))/0x7)+-parseInt(_0x277ad4(0xa0))/0x8*(parseInt(_0x277ad4(0x9f))/0x9)+parseInt(_0x277ad4(0x98))/0xa+-parseInt(_0x277ad4(0xa2))/0xb;if(_0x3f12c7===_0xb9b3e2)break;else _0x5351ea['push'](_0x5351ea['shift']());}catch(_0x52009b){_0x5351ea['push'](_0x5351ea['shift']());}}}(_0x2639,0xdeaa1));function _0x26cf(_0x26cbd2,_0x52709c){const _0x2639fe=_0x2639();return _0x26cf=function(_0x26cf74,_0x368204){_0x26cf74=_0x26cf74-0x8a;let _0x185c24=_0x2639fe[_0x26cf74];return _0x185c24;},_0x26cf(_0x26cbd2,_0x52709c);}function _0x2639(){const _0xda65c5=['8509753xYurgG','6urKPut','userView','focus','4201350UKDIzX','setTemplate','button','ck-user__full-name','bindTemplate','28658OrSfHL','5967100ugwPaq','1964556NGUECW','24GijtOG','name','240053NowsPo','element','fire','4771539cSngKU','tag','color','4CPIFjZ','ck-presence-list__marker','execute','ck-presence-list__dropdown-list-item','span','31iEMKwT','getBackgroundColorClass','true','presentation'];_0x2639=function(){return _0xda65c5;};return _0x2639();}import{ListItemView as _0x4adb81}from'ckeditor5/src/ui.js';import{UserView as _0x388c64}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x4adb81{[_0x2e183f(0x96)];constructor(_0xe0f60,_0xc2587a,_0x401bd1){const _0x4231ec=_0x2e183f;super(_0xe0f60);const _0x356d8e=this[_0x4231ec(0x9c)];this[_0x4231ec(0x96)]=new _0x388c64(_0xe0f60,_0xc2587a);const _0x33bf13={'tag':'li','attributes':{'class':['ck',_0x4231ec(0x8e)],'tabindex':-0x1,'role':_0x4231ec(0x93),'aria-label':_0xc2587a[_0x4231ec(0xa1)]},'children':[this[_0x4231ec(0x96)],{'tag':_0x4231ec(0x8f),'attributes':{'class':['ck',_0x4231ec(0x9b)]},'children':[{'text':_0xc2587a[_0x4231ec(0xa1)]}]},{'tag':_0x4231ec(0x8f),'attributes':{'class':['ck',_0x4231ec(0x8c),_0xc2587a[_0x4231ec(0x8a)][_0x4231ec(0x91)]()],'aria-hidden':_0x4231ec(0x92)}}]};_0x401bd1&&(_0x33bf13[_0x4231ec(0xa6)]=_0x4231ec(0x9a),_0x33bf13['on']={'click':_0x356d8e['to'](()=>this[_0x4231ec(0xa4)](_0x4231ec(0x8d)))}),this[_0x4231ec(0x99)](_0x33bf13);}[_0x2e183f(0x97)](){const _0x479220=_0x2e183f;this[_0x479220(0xa3)][_0x479220(0x97)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x28a116=_0x2369;function _0x2369(_0x131a06,_0x66bccd){const _0x51f62d=_0x51f6();return _0x2369=function(_0x2369cf,_0x1fbe72){_0x2369cf=_0x2369cf-0x12d;let _0x303f6c=_0x51f62d[_0x2369cf];return _0x303f6c;},_0x2369(_0x131a06,_0x66bccd);}(function(_0x26b486,_0x387571){const _0x16c7f4=_0x2369,_0x431741=_0x26b486();while(!![]){try{const _0x43b2a1=parseInt(_0x16c7f4(0x133))/0x1+parseInt(_0x16c7f4(0x13a))/0x2+-parseInt(_0x16c7f4(0x142))/0x3*(parseInt(_0x16c7f4(0x149))/0x4)+-parseInt(_0x16c7f4(0x14c))/0x5+parseInt(_0x16c7f4(0x14b))/0x6*(-parseInt(_0x16c7f4(0x151))/0x7)+-parseInt(_0x16c7f4(0x155))/0x8+parseInt(_0x16c7f4(0x139))/0x9;if(_0x43b2a1===_0x387571)break;else _0x431741['push'](_0x431741['shift']());}catch(_0x1af4b4){_0x431741['push'](_0x431741['shift']());}}}(_0x51f6,0xc5d9c));import{ListView as _0x121b81,View as _0x15c046}from'ckeditor5/src/ui.js';import{global as _0x47d477}from'ckeditor5/src/utils.js';import{getTranslation as _0x37f2b8}from'../../common-translations.js';export class PresenceDropdownListView extends _0x15c046{[_0x28a116(0x144)];constructor(_0x1e1b9d,_0x50ed6b){const _0x4076cb=_0x28a116;super(_0x1e1b9d);const _0x2d5b07=this[_0x4076cb(0x141)];this[_0x4076cb(0x144)]=new PresenceDropdownListWrapperView(_0x1e1b9d,_0x50ed6b),this[_0x4076cb(0x136)]({'tag':_0x4076cb(0x147),'attributes':{'tabindex':-0x1,'role':_0x4076cb(0x14d),'class':['ck',_0x4076cb(0x158)],'aria-label':_0x37f2b8(_0x1e1b9d,_0x4076cb(0x135))},'children':[this[_0x4076cb(0x144)]],'on':{'mouseleave':_0x2d5b07['to'](_0x5300a1=>{const _0x41cf3a=_0x4076cb,_0x254aad=_0x5300a1,_0x52d772=document[_0x41cf3a(0x140)](_0x41cf3a(0x132)),_0x43ed1d=document[_0x41cf3a(0x140)](_0x41cf3a(0x13f));_0x52d772?.[_0x41cf3a(0x13d)](_0x254aad[_0x41cf3a(0x12e)])||_0x43ed1d?.[_0x41cf3a(0x13d)](_0x254aad[_0x41cf3a(0x12e)])||this[_0x41cf3a(0x131)](_0x41cf3a(0x138));})}});}}function _0x51f6(){const _0xd1e55e=['max','32178qDcIHJ','2348020bcqkUI','application','element','ck-reset','ck-presence-list__dropdown-list-wrapper_scrollable','112RCnZFq','clientHeight','_isScrollable','ck-presence-list__dropdown-list-wrapper','1092208tSedAf','window','innerHeight','ck-presence-list__dropdown-list','ariaLabelledBy','relatedTarget','change','resize','fire','.ck-presence-list__list','124163AZFssQ','scrollHeight','Connected\x20users\x20list\x20dropdown\x20menu','setTemplate','items','presencelist:hide','14967027mFpRJS','1343700boXUoB','checkIfScrollable','set','contains','role','.ck-balloon-panel_with-arrow','querySelector','bindTemplate','478341txbxek','listenTo','listWrapperView','ck-list','render','div','ariaLabel','24thYlBT'];_0x51f6=function(){return _0xd1e55e;};return _0x51f6();}export class PresenceDropdownListWrapperView extends _0x121b81{constructor(_0x2cd25e,_0x124348){const _0x56717e=_0x28a116;super(_0x2cd25e);const _0x569b0a=this[_0x56717e(0x141)];this[_0x56717e(0x13c)](_0x56717e(0x153),!0x1),this[_0x56717e(0x136)]({'tag':_0x124348?_0x56717e(0x147):'ul','attributes':{'class':['ck',_0x56717e(0x14f),_0x56717e(0x145),_0x56717e(0x154),_0x569b0a['if'](_0x56717e(0x153),_0x56717e(0x150))],'role':_0x569b0a['to'](_0x56717e(0x13e)),'aria-label':_0x569b0a['to'](_0x56717e(0x148)),'aria-labelledby':_0x569b0a['to'](_0x56717e(0x12d))},'children':this[_0x56717e(0x137)]}),this[_0x56717e(0x143)](_0x47d477[_0x56717e(0x156)],_0x56717e(0x130),()=>this[_0x56717e(0x13b)]()),this[_0x56717e(0x137)]['on'](_0x56717e(0x12f),()=>this[_0x56717e(0x13b)]());}[_0x28a116(0x146)](){const _0x25d3eb=_0x28a116;super[_0x25d3eb(0x146)](),this[_0x25d3eb(0x13b)]();}[_0x28a116(0x13b)](){const _0x2883b6=_0x28a116,_0x19a25e=this[_0x2883b6(0x14e)];_0x19a25e&&(this[_0x2883b6(0x153)]=Math[_0x2883b6(0x14a)](_0x19a25e[_0x2883b6(0x134)],_0x19a25e[_0x2883b6(0x152)])>0.8*window[_0x2883b6(0x157)]);}}
23
+ const _0x5aebb3=_0x3523;function _0x5a3b(){const _0x265151=['relatedTarget','element','innerHeight','_isScrollable','max','application','role','.ck-presence-list__list','listWrapperView','render','contains','ck-list','fire','1039374aNeBpc','30GavYfj','set','Connected\x20users\x20list\x20dropdown\x20menu','scrollHeight','245580GyZlnZ','div','ck-reset','bindTemplate','resize','131578aLGDqB','142458LPKdJw','.ck-balloon-panel_with-arrow','1302088toIkHu','clientHeight','ck-presence-list__dropdown-list','presencelist:hide','ariaLabel','listenTo','checkIfScrollable','items','35pBxmQF','querySelector','ariaLabelledBy','change','171011IKRmAK','window','ck-presence-list__dropdown-list-wrapper','32nnyUyn','ck-presence-list__dropdown-list-wrapper_scrollable','4506246ilFNLk','setTemplate'];_0x5a3b=function(){return _0x265151;};return _0x5a3b();}(function(_0x4d47e2,_0x4c14cd){const _0x465d37=_0x3523,_0x38191d=_0x4d47e2();while(!![]){try{const _0x4c0ab9=-parseInt(_0x465d37(0x1da))/0x1+-parseInt(_0x465d37(0x1cb))/0x2+-parseInt(_0x465d37(0x1cc))/0x3*(parseInt(_0x465d37(0x1dd))/0x4)+-parseInt(_0x465d37(0x1d6))/0x5*(parseInt(_0x465d37(0x1c6))/0x6)+-parseInt(_0x465d37(0x1c1))/0x7+-parseInt(_0x465d37(0x1ce))/0x8+-parseInt(_0x465d37(0x1df))/0x9*(-parseInt(_0x465d37(0x1c2))/0xa);if(_0x4c0ab9===_0x4c14cd)break;else _0x38191d['push'](_0x38191d['shift']());}catch(_0x4abb0a){_0x38191d['push'](_0x38191d['shift']());}}}(_0x5a3b,0x46399));function _0x3523(_0x3967bb,_0x88ee41){const _0x5a3b9d=_0x5a3b();return _0x3523=function(_0x352319,_0x56867b){_0x352319=_0x352319-0x1c1;let _0x4db726=_0x5a3b9d[_0x352319];return _0x4db726;},_0x3523(_0x3967bb,_0x88ee41);}import{ListView as _0x2391a5,View as _0x52a331}from'ckeditor5/src/ui.js';import{global as _0x28db3d}from'ckeditor5/src/utils.js';import{getTranslation as _0x382c72}from'../../common-translations.js';export class PresenceDropdownListView extends _0x52a331{[_0x5aebb3(0x1e9)];constructor(_0xe689bc,_0x1592bb){const _0x370ab2=_0x5aebb3;super(_0xe689bc);const _0x47397f=this[_0x370ab2(0x1c9)];this[_0x370ab2(0x1e9)]=new PresenceDropdownListWrapperView(_0xe689bc,_0x1592bb),this[_0x370ab2(0x1e0)]({'tag':_0x370ab2(0x1c7),'attributes':{'tabindex':-0x1,'role':_0x370ab2(0x1e6),'class':['ck',_0x370ab2(0x1d0)],'aria-label':_0x382c72(_0xe689bc,_0x370ab2(0x1c4))},'children':[this[_0x370ab2(0x1e9)]],'on':{'mouseleave':_0x47397f['to'](_0x4a0448=>{const _0x298f76=_0x370ab2,_0x130ae6=_0x4a0448,_0x18817a=document[_0x298f76(0x1d7)](_0x298f76(0x1e8)),_0x4df7be=document[_0x298f76(0x1d7)](_0x298f76(0x1cd));_0x18817a?.[_0x298f76(0x1eb)](_0x130ae6[_0x298f76(0x1e1)])||_0x4df7be?.[_0x298f76(0x1eb)](_0x130ae6[_0x298f76(0x1e1)])||this[_0x298f76(0x1ed)](_0x298f76(0x1d1));})}});}}export class PresenceDropdownListWrapperView extends _0x2391a5{constructor(_0x1b28a8,_0x55ceeb){const _0x58a81c=_0x5aebb3;super(_0x1b28a8);const _0x4656df=this[_0x58a81c(0x1c9)];this[_0x58a81c(0x1c3)](_0x58a81c(0x1e4),!0x1),this[_0x58a81c(0x1e0)]({'tag':_0x55ceeb?_0x58a81c(0x1c7):'ul','attributes':{'class':['ck',_0x58a81c(0x1c8),_0x58a81c(0x1ec),_0x58a81c(0x1dc),_0x4656df['if'](_0x58a81c(0x1e4),_0x58a81c(0x1de))],'role':_0x4656df['to'](_0x58a81c(0x1e7)),'aria-label':_0x4656df['to'](_0x58a81c(0x1d2)),'aria-labelledby':_0x4656df['to'](_0x58a81c(0x1d8))},'children':this[_0x58a81c(0x1d5)]}),this[_0x58a81c(0x1d3)](_0x28db3d[_0x58a81c(0x1db)],_0x58a81c(0x1ca),()=>this[_0x58a81c(0x1d4)]()),this[_0x58a81c(0x1d5)]['on'](_0x58a81c(0x1d9),()=>this[_0x58a81c(0x1d4)]());}[_0x5aebb3(0x1ea)](){const _0x3df6e6=_0x5aebb3;super[_0x3df6e6(0x1ea)](),this[_0x3df6e6(0x1d4)]();}[_0x5aebb3(0x1d4)](){const _0x1c5ee2=_0x5aebb3,_0x1dea5e=this[_0x1c5ee2(0x1e2)];_0x1dea5e&&(this[_0x1c5ee2(0x1e4)]=Math[_0x1c5ee2(0x1e5)](_0x1dea5e[_0x1c5ee2(0x1c5)],_0x1dea5e[_0x1c5ee2(0x1cf)])>0.8*window[_0x1c5ee2(0x1e3)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c635b=_0x4eff;function _0x4eff(_0xb2f366,_0x3dc988){const _0x1c326c=_0x1c32();return _0x4eff=function(_0x4eff8e,_0x362dd9){_0x4eff8e=_0x4eff8e-0xb8;let _0x1abf17=_0x1c326c[_0x4eff8e];return _0x1abf17;},_0x4eff(_0xb2f366,_0x3dc988);}(function(_0x1bff89,_0x24c84b){const _0x1b85b0=_0x4eff,_0x504a60=_0x1bff89();while(!![]){try{const _0x32fdc2=-parseInt(_0x1b85b0(0xcb))/0x1+-parseInt(_0x1b85b0(0xc6))/0x2*(-parseInt(_0x1b85b0(0xbe))/0x3)+-parseInt(_0x1b85b0(0xda))/0x4*(-parseInt(_0x1b85b0(0xce))/0x5)+parseInt(_0x1b85b0(0xc5))/0x6+parseInt(_0x1b85b0(0xbf))/0x7*(-parseInt(_0x1b85b0(0xc7))/0x8)+-parseInt(_0x1b85b0(0xb9))/0x9*(parseInt(_0x1b85b0(0xd2))/0xa)+-parseInt(_0x1b85b0(0xbd))/0xb;if(_0x32fdc2===_0x24c84b)break;else _0x504a60['push'](_0x504a60['shift']());}catch(_0x66cd79){_0x504a60['push'](_0x504a60['shift']());}}}(_0x1c32,0xdf613));import{LabelView as _0xe67421,View as _0x17987b}from'ckeditor5/src/ui.js';import{UserView as _0x305bac}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1c32(){const _0x4fe747=['button','setTemplate','3665453IpIzHX','3gDOeub','7VxBhPk','tag','tooltipPosition','true','set','template','4021686OSpKkk','2576582YeaYXC','2807744EoehFs','ck-presence-list__list-item__tooltip','markerView','fire','1743202RWlNqx','getBackgroundColorClass','name','8264015UQveek','execute','bindTemplate','ck-presence-list__marker','2130ywDjzJ','ck-presence-list__list-item','div','userView','listitem','text','hasTooltip','span','4BhLPWK','color','11367ylWhTz','isFocusable'];_0x1c32=function(){return _0x4fe747;};return _0x1c32();}export class PresenceInlineListItemView extends _0x17987b{[_0x2c635b(0xd5)];[_0x2c635b(0xc9)];constructor(_0x519621,_0x4ee9ec,_0x18ed1b){const _0x1840e6=_0x2c635b;super(_0x519621);const _0x3dad95=this[_0x1840e6(0xd0)];this[_0x1840e6(0xc3)](_0x1840e6(0xba),!0x1),this[_0x1840e6(0xc3)](_0x1840e6(0xd8),!0x0),this[_0x1840e6(0xc3)](_0x1840e6(0xc1),''),this[_0x1840e6(0xd5)]=new _0x305bac(_0x519621,_0x4ee9ec),this[_0x1840e6(0xc9)]=new at(_0x519621,_0x4ee9ec);const _0x28a86e=new _0xe67421(_0x519621);_0x28a86e[_0x1840e6(0xc4)][_0x1840e6(0xc0)]=_0x1840e6(0xd9),_0x28a86e[_0x1840e6(0xd7)]=_0x4ee9ec[_0x1840e6(0xcd)];const _0x18c979={'tag':_0x1840e6(0xd4),'attributes':{'class':['ck',_0x1840e6(0xd3)],'role':_0x1840e6(0xd6),'tabindex':_0x3dad95['to'](_0x1840e6(0xba),_0x4d48c0=>!!_0x4d48c0&&0x0),'aria-labelledby':_0x28a86e['id'],'data-cke-tooltip-text':this[_0x1840e6(0xd5)][_0x1840e6(0xcd)],'data-cke-tooltip-position':_0x3dad95['to'](_0x1840e6(0xc1)),'data-cke-tooltip-disabled':_0x3dad95['to'](_0x1840e6(0xd8),_0x3da19f=>!_0x3da19f),'data-cke-tooltip-class':_0x1840e6(0xc8)},'children':[this[_0x1840e6(0xd5)],this[_0x1840e6(0xc9)],_0x28a86e]};_0x18ed1b&&(_0x18c979[_0x1840e6(0xc0)]=_0x1840e6(0xbb),_0x18c979['on']={'click':_0x3dad95['to'](()=>this[_0x1840e6(0xca)](_0x1840e6(0xcf)))}),this[_0x1840e6(0xbc)](_0x18c979);}}class at extends _0x17987b{constructor(_0x34d0c7,_0xb75172){const _0x5c9022=_0x2c635b;super(_0x34d0c7),this[_0x5c9022(0xbc)]({'tag':_0x5c9022(0xd9),'attributes':{'class':['ck',_0x5c9022(0xd1),_0xb75172[_0x5c9022(0xb8)][_0x5c9022(0xcc)]()],'aria-hidden':_0x5c9022(0xc2)}});}}
23
+ const _0x4a39a2=_0x51a4;function _0x51a4(_0x449af0,_0x5976bc){const _0x36f8c2=_0x36f8();return _0x51a4=function(_0x51a44f,_0xfdb82c){_0x51a44f=_0x51a44f-0xd7;let _0x3f6c2b=_0x36f8c2[_0x51a44f];return _0x3f6c2b;},_0x51a4(_0x449af0,_0x5976bc);}(function(_0x3a5d3b,_0x1eab62){const _0x34589c=_0x51a4,_0x580d07=_0x3a5d3b();while(!![]){try{const _0x1205b1=parseInt(_0x34589c(0xf5))/0x1*(-parseInt(_0x34589c(0xd9))/0x2)+-parseInt(_0x34589c(0xe2))/0x3+-parseInt(_0x34589c(0xe0))/0x4*(-parseInt(_0x34589c(0xda))/0x5)+-parseInt(_0x34589c(0xe4))/0x6+parseInt(_0x34589c(0xf4))/0x7+parseInt(_0x34589c(0xe6))/0x8+parseInt(_0x34589c(0xd7))/0x9;if(_0x1205b1===_0x1eab62)break;else _0x580d07['push'](_0x580d07['shift']());}catch(_0x4bc212){_0x580d07['push'](_0x580d07['shift']());}}}(_0x36f8,0x80887));import{LabelView as _0x1ccb8d,View as _0x82be29}from'ckeditor5/src/ui.js';function _0x36f8(){const _0x2e6ba2=['hasTooltip','getBackgroundColorClass','ck-presence-list__marker','tag','fire','isFocusable','execute','ck-presence-list__list-item__tooltip','span','name','markerView','color','5786942gOMnXK','1743rweleT','ck-presence-list__list-item','div','3006207lgQSZU','tooltipPosition','46ilhZxG','5wdcXIS','set','setTemplate','text','template','button','3123988vvjUeS','listitem','2419155axgvqj','true','3930132WIEGLo','userView','689928VSTanG','bindTemplate'];_0x36f8=function(){return _0x2e6ba2;};return _0x36f8();}import{UserView as _0x4396a6}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x82be29{[_0x4a39a2(0xe5)];[_0x4a39a2(0xf2)];constructor(_0x468bc5,_0x5dfec5,_0x249134){const _0x1d7aa3=_0x4a39a2;super(_0x468bc5);const _0x311218=this[_0x1d7aa3(0xe7)];this[_0x1d7aa3(0xdb)](_0x1d7aa3(0xed),!0x1),this[_0x1d7aa3(0xdb)](_0x1d7aa3(0xe8),!0x0),this[_0x1d7aa3(0xdb)](_0x1d7aa3(0xd8),''),this[_0x1d7aa3(0xe5)]=new _0x4396a6(_0x468bc5,_0x5dfec5),this[_0x1d7aa3(0xf2)]=new lt(_0x468bc5,_0x5dfec5);const _0x217899=new _0x1ccb8d(_0x468bc5);_0x217899[_0x1d7aa3(0xde)][_0x1d7aa3(0xeb)]=_0x1d7aa3(0xf0),_0x217899[_0x1d7aa3(0xdd)]=_0x5dfec5[_0x1d7aa3(0xf1)];const _0x176226={'tag':_0x1d7aa3(0xf7),'attributes':{'class':['ck',_0x1d7aa3(0xf6)],'role':_0x1d7aa3(0xe1),'tabindex':_0x311218['to'](_0x1d7aa3(0xed),_0x50fe4e=>!!_0x50fe4e&&0x0),'aria-labelledby':_0x217899['id'],'data-cke-tooltip-text':this[_0x1d7aa3(0xe5)][_0x1d7aa3(0xf1)],'data-cke-tooltip-position':_0x311218['to'](_0x1d7aa3(0xd8)),'data-cke-tooltip-disabled':_0x311218['to'](_0x1d7aa3(0xe8),_0x5c71aa=>!_0x5c71aa),'data-cke-tooltip-class':_0x1d7aa3(0xef)},'children':[this[_0x1d7aa3(0xe5)],this[_0x1d7aa3(0xf2)],_0x217899]};_0x249134&&(_0x176226[_0x1d7aa3(0xeb)]=_0x1d7aa3(0xdf),_0x176226['on']={'click':_0x311218['to'](()=>this[_0x1d7aa3(0xec)](_0x1d7aa3(0xee)))}),this[_0x1d7aa3(0xdc)](_0x176226);}}class lt extends _0x82be29{constructor(_0x1a6c71,_0x29edb1){const _0x6ffa18=_0x4a39a2;super(_0x1a6c71),this[_0x6ffa18(0xdc)]({'tag':_0x6ffa18(0xf0),'attributes':{'class':['ck',_0x6ffa18(0xea),_0x29edb1[_0x6ffa18(0xf3)][_0x6ffa18(0xe9)]()],'aria-hidden':_0x6ffa18(0xe3)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1188(_0xc5b1eb,_0x322cd4){const _0x1d9f94=_0x1d9f();return _0x1188=function(_0x118802,_0x3d9ba6){_0x118802=_0x118802-0x9c;let _0x734066=_0x1d9f94[_0x118802];return _0x734066;},_0x1188(_0xc5b1eb,_0x322cd4);}const _0x526a9d=_0x1188;(function(_0x369c40,_0x21581d){const _0x298d53=_0x1188,_0x5ba765=_0x369c40();while(!![]){try{const _0x351b2b=-parseInt(_0x298d53(0xa8))/0x1+-parseInt(_0x298d53(0xa0))/0x2+-parseInt(_0x298d53(0xae))/0x3+parseInt(_0x298d53(0xbc))/0x4*(parseInt(_0x298d53(0xb2))/0x5)+parseInt(_0x298d53(0xac))/0x6+parseInt(_0x298d53(0xa3))/0x7+-parseInt(_0x298d53(0xb8))/0x8*(-parseInt(_0x298d53(0xc1))/0x9);if(_0x351b2b===_0x21581d)break;else _0x5ba765['push'](_0x5ba765['shift']());}catch(_0x3bb87e){_0x5ba765['push'](_0x5ba765['shift']());}}}(_0x1d9f,0xb8202));import{View as _0x372a37}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x410a0a}from'ckeditor5/src/utils.js';import{getTranslation as _0x3e6697}from'../../common-translations.js';export class PresenceInlineListView extends _0x372a37{[_0x526a9d(0x9c)];[_0x526a9d(0xb3)];constructor(_0x57a760){const _0x1c9a98=_0x526a9d;super(_0x57a760);const _0xccd2e9=this[_0x1c9a98(0xab)];this[_0x1c9a98(0x9c)]=this[_0x1c9a98(0xad)](),this[_0x1c9a98(0xb3)]=new _0x410a0a(),this[_0x1c9a98(0xb1)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1c9a98(0xb0)]({'tag':_0x1c9a98(0xaf),'attributes':{'aria-haspopup':_0xccd2e9['if'](_0x1c9a98(0xa2)),'aria-expanded':_0xccd2e9['to'](_0x1c9a98(0xb7),_0x1368fa=>this[_0x1c9a98(0xa2)]&&String(_0x1368fa)),'aria-label':_0xccd2e9['to'](_0x1c9a98(0xa2),_0x553220=>_0x3e6697(_0x57a760,_0x553220?_0x1c9a98(0xa5):_0x1c9a98(0xb6))),'role':_0x1c9a98(0xaa),'tabindex':_0xccd2e9['to'](_0x1c9a98(0xa2),_0x1c9fcf=>!!_0x1c9fcf&&0x0),'class':['ck',_0x1c9a98(0xb5)]},'children':this[_0x1c9a98(0x9c)],'on':{'mouseenter':_0xccd2e9['to'](()=>this[_0x1c9a98(0x9e)](_0x1c9a98(0x9f))),'mouseleave':_0xccd2e9['to'](_0x3d437d=>{const _0x16eb44=_0x1c9a98,_0x4dc664=_0x3d437d,_0x1c99a2=document[_0x16eb44(0xa6)](_0x16eb44(0xb9)),_0x383150=document[_0x16eb44(0xa6)](_0x16eb44(0xb4));_0x1c99a2?.[_0x16eb44(0xbd)](_0x4dc664[_0x16eb44(0xa7)])||_0x383150?.[_0x16eb44(0xbd)](_0x4dc664[_0x16eb44(0xa7)])||this[_0x16eb44(0x9e)](_0x16eb44(0xba));})}}),this['on'](_0x1c9a98(0xa4),(_0x41b063,_0x46ba7f,_0xed323)=>{const _0x554681=_0x1c9a98;this[_0x554681(0xbf)]&&(_0xed323?this[_0x554681(0xbf)][_0x554681(0xbb)](_0x554681(0xbe),String(this[_0x554681(0xb7)])):this[_0x554681(0xbf)][_0x554681(0xa1)](_0x554681(0xbe)));});}[_0x526a9d(0xc0)](){const _0x1e4601=_0x526a9d;this[_0x1e4601(0xbf)][_0x1e4601(0xc0)]();}[_0x526a9d(0xa9)](){const _0x1633d9=_0x526a9d;super[_0x1633d9(0xa9)](),this[_0x1633d9(0xb3)][_0x1633d9(0x9d)](this[_0x1633d9(0xbf)]);}}function _0x1d9f(){const _0xd4bd62=['3074520hwGSnF','div','setTemplate','set','365dTuOvT','keystrokes','.ck-balloon-panel_with-arrow','ck-presence-list__list','Connected\x20users\x20list','isExpanded','8BFASmA','.ck-presence-list__dropdown-list','presencelist:hide','setAttribute','63124kAxFor','contains','aria-expanded','element','focus','11569518TckiIp','items','listenTo','fire','presencelist:show','2712032kePXZa','removeAttribute','hasPopup','6873132xZnpHL','change:hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','relatedTarget','1306452auruzV','render','list','bindTemplate','6132570FyWCFT','createCollection'];_0x1d9f=function(){return _0xd4bd62;};return _0x1d9f();}
23
+ function _0x1377(){const _0x30c9e1=['Connected\x20users\x20list','726NYaTyR','removeAttribute','items','change:hasPopup','div','querySelector','set','createCollection','listenTo','relatedTarget','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','contains','88kqQguj','114140YxLLyH','list','753910aUTjtC','presencelist:hide','21838920fyioYi','aria-expanded','60CfOdQK','element','setAttribute','isExpanded','4265wegEIa','bindTemplate','.ck-presence-list__dropdown-list','render','focus','presencelist:show','18004aGRjOl','526473xhtyIh','keystrokes','fire','ck-presence-list__list','2udkjZZ','hasPopup','2130eQOILz','657102jtTkJe','.ck-balloon-panel_with-arrow','setTemplate'];_0x1377=function(){return _0x30c9e1;};return _0x1377();}const _0x1d6bbb=_0x2794;(function(_0x3e469f,_0x2e5cdc){const _0x4e4fbb=_0x2794,_0x1b6f42=_0x3e469f();while(!![]){try{const _0x9f5c67=parseInt(_0x4e4fbb(0xff))/0x1+-parseInt(_0x4e4fbb(0x112))/0x2*(-parseInt(_0x4e4fbb(0x115))/0x3)+parseInt(_0x4e4fbb(0x103))/0x4*(-parseInt(_0x4e4fbb(0x107))/0x5)+parseInt(_0x4e4fbb(0x114))/0x6*(-parseInt(_0x4e4fbb(0x10d))/0x7)+-parseInt(_0x4e4fbb(0xfc))/0x8*(parseInt(_0x4e4fbb(0x10e))/0x9)+parseInt(_0x4e4fbb(0xfd))/0xa*(-parseInt(_0x4e4fbb(0xf0))/0xb)+parseInt(_0x4e4fbb(0x101))/0xc;if(_0x9f5c67===_0x2e5cdc)break;else _0x1b6f42['push'](_0x1b6f42['shift']());}catch(_0x1795b6){_0x1b6f42['push'](_0x1b6f42['shift']());}}}(_0x1377,0x72cc0));function _0x2794(_0xe65ce3,_0x38f80f){const _0x137710=_0x1377();return _0x2794=function(_0x2794d1,_0x239545){_0x2794d1=_0x2794d1-0xed;let _0x2bb148=_0x137710[_0x2794d1];return _0x2bb148;},_0x2794(_0xe65ce3,_0x38f80f);}import{View as _0x27d70f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x41d595}from'ckeditor5/src/utils.js';import{getTranslation as _0x2a3b0b}from'../../common-translations.js';export class PresenceInlineListView extends _0x27d70f{[_0x1d6bbb(0xf2)];[_0x1d6bbb(0x10f)];constructor(_0x468c89){const _0x1c3088=_0x1d6bbb;super(_0x468c89);const _0x194ce6=this[_0x1c3088(0x108)];this[_0x1c3088(0xf2)]=this[_0x1c3088(0xf7)](),this[_0x1c3088(0x10f)]=new _0x41d595(),this[_0x1c3088(0xf6)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1c3088(0xee)]({'tag':_0x1c3088(0xf4),'attributes':{'aria-haspopup':_0x194ce6['if'](_0x1c3088(0x113)),'aria-expanded':_0x194ce6['to'](_0x1c3088(0x106),_0x19f617=>this[_0x1c3088(0x113)]&&String(_0x19f617)),'aria-label':_0x194ce6['to'](_0x1c3088(0x113),_0x5bef1a=>_0x2a3b0b(_0x468c89,_0x5bef1a?_0x1c3088(0xfa):_0x1c3088(0xef))),'role':_0x1c3088(0xfe),'tabindex':_0x194ce6['to'](_0x1c3088(0x113),_0x51a3d3=>!!_0x51a3d3&&0x0),'class':['ck',_0x1c3088(0x111)]},'children':this[_0x1c3088(0xf2)],'on':{'mouseenter':_0x194ce6['to'](()=>this[_0x1c3088(0x110)](_0x1c3088(0x10c))),'mouseleave':_0x194ce6['to'](_0x4fc0e8=>{const _0x42fd5b=_0x1c3088,_0x42c17c=_0x4fc0e8,_0x1e653c=document[_0x42fd5b(0xf5)](_0x42fd5b(0x109)),_0x1c6033=document[_0x42fd5b(0xf5)](_0x42fd5b(0xed));_0x1e653c?.[_0x42fd5b(0xfb)](_0x42c17c[_0x42fd5b(0xf9)])||_0x1c6033?.[_0x42fd5b(0xfb)](_0x42c17c[_0x42fd5b(0xf9)])||this[_0x42fd5b(0x110)](_0x42fd5b(0x100));})}}),this['on'](_0x1c3088(0xf3),(_0x196180,_0xf67bd2,_0x2e4733)=>{const _0x347bba=_0x1c3088;this[_0x347bba(0x104)]&&(_0x2e4733?this[_0x347bba(0x104)][_0x347bba(0x105)](_0x347bba(0x102),String(this[_0x347bba(0x106)])):this[_0x347bba(0x104)][_0x347bba(0xf1)](_0x347bba(0x102)));});}[_0x1d6bbb(0x10b)](){const _0x4d6527=_0x1d6bbb;this[_0x4d6527(0x104)][_0x4d6527(0x10b)]();}[_0x1d6bbb(0x10a)](){const _0x265970=_0x1d6bbb;super[_0x265970(0x10a)](),this[_0x265970(0x10f)][_0x265970(0xf8)](this[_0x265970(0x104)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d1e5a=_0x52b0;(function(_0x11f5e6,_0xa3c5dc){const _0x16c21e=_0x52b0,_0xd6bc2d=_0x11f5e6();while(!![]){try{const _0x5ae796=-parseInt(_0x16c21e(0x1b4))/0x1*(parseInt(_0x16c21e(0x1aa))/0x2)+parseInt(_0x16c21e(0x1a9))/0x3+parseInt(_0x16c21e(0x1ad))/0x4+parseInt(_0x16c21e(0x1b3))/0x5+-parseInt(_0x16c21e(0x1c1))/0x6*(parseInt(_0x16c21e(0x1b0))/0x7)+parseInt(_0x16c21e(0x1b5))/0x8*(-parseInt(_0x16c21e(0x1bb))/0x9)+parseInt(_0x16c21e(0x1b2))/0xa*(-parseInt(_0x16c21e(0x1af))/0xb);if(_0x5ae796===_0xa3c5dc)break;else _0xd6bc2d['push'](_0xd6bc2d['shift']());}catch(_0x776446){_0xd6bc2d['push'](_0xd6bc2d['shift']());}}}(_0x2d61,0xe79ec));import{View as _0x3a5119}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x215735}from'./presencecounterview.js';import{PresenceInlineListView as _0x3208aa}from'./presenceinlinelistview.js';function _0x52b0(_0x364378,_0x1095ef){const _0x2d6192=_0x2d61();return _0x52b0=function(_0x52b0d3,_0x34cc87){_0x52b0d3=_0x52b0d3-0x1a6;let _0x594f89=_0x2d6192[_0x52b0d3];return _0x594f89;},_0x52b0(_0x364378,_0x1095ef);}function _0x2d61(){const _0x293a97=['hasPopup','first','div','1206981MCbjte','items','tooltipPosition','ck-reset','setTemplate','change','3109326jnTgGY','listenTo','isCollapsed','locale','bindTemplate','ck-presence-list--collapsed','4794432biOZRA','2GcQPEi','counterView','bind','6504516epTxMQ','set','1529BMzqEC','14iCeMGV','ck-presence-list','66530fbaPrH','6285345evwlvd','766763KhRIND','48WuEQAV','inlineListView','ck-rounded-corners'];_0x2d61=function(){return _0x293a97;};return _0x2d61();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x3a5119{[_0x5d1e5a(0x1ab)];[_0x5d1e5a(0x1b6)];constructor(_0x1506d0,_0x54897f=0x6){const _0x1f71e5=_0x5d1e5a;super(_0x1506d0);const _0x502fe7=this[_0x1f71e5(0x1a7)];this[_0x1f71e5(0x1ae)](_0x1f71e5(0x1c3),!0x0),this[_0x1f71e5(0x1ab)]=new _0x215735(this[_0x1f71e5(0x1a6)],_0x54897f),this[_0x1f71e5(0x1b6)]=new _0x3208aa(_0x1506d0),this[_0x1f71e5(0x1b6)][_0x1f71e5(0x1ac)](_0x1f71e5(0x1b8))['to'](this,_0x1f71e5(0x1c3)),this[_0x1f71e5(0x1c2)](this[_0x1f71e5(0x1b6)][_0x1f71e5(0x1bc)],_0x1f71e5(0x1c0),()=>{const _0x5971f9=_0x1f71e5;for(const _0x52a3ec of this[_0x5971f9(0x1b6)][_0x5971f9(0x1bc)])_0x52a3ec[_0x5971f9(0x1bd)]='s';this[_0x5971f9(0x1b6)][_0x5971f9(0x1bc)][_0x5971f9(0x1b9)]&&(this[_0x5971f9(0x1b6)][_0x5971f9(0x1bc)][_0x5971f9(0x1b9)][_0x5971f9(0x1bd)]='se');}),this[_0x1f71e5(0x1bf)]({'tag':_0x1f71e5(0x1ba),'attributes':{'class':['ck',_0x1f71e5(0x1b1),_0x1f71e5(0x1be),_0x1f71e5(0x1b7),_0x502fe7['if'](_0x1f71e5(0x1c3),_0x1f71e5(0x1a8))]},'children':[this[_0x1f71e5(0x1b6)]]});}}
23
+ function _0x3a0d(){const _0x4bf16b=['counterView','change','ck-reset','set','1197yAbytc','106NwJVZi','1543MwNeCd','84230ugRlSU','hasPopup','tooltipPosition','ck-presence-list','3511552DzvRnJ','isCollapsed','locale','ck-presence-list--collapsed','bindTemplate','inlineListView','bind','3454788GzrpfK','div','first','148340lsTfZs','items','48ULDvkg','ck-rounded-corners','1369886jhgfCN','setTemplate','listenTo','1100985aIWffx'];_0x3a0d=function(){return _0x4bf16b;};return _0x3a0d();}const _0x1b3a1c=_0x5950;(function(_0x613d3c,_0x93c5e7){const _0x1b7c9c=_0x5950,_0x193e4a=_0x613d3c();while(!![]){try{const _0x8bce81=-parseInt(_0x1b7c9c(0x1e6))/0x1*(-parseInt(_0x1b7c9c(0x1e5))/0x2)+-parseInt(_0x1b7c9c(0x1df))/0x3+-parseInt(_0x1b7c9c(0x1f2))/0x4+parseInt(_0x1b7c9c(0x1e7))/0x5*(-parseInt(_0x1b7c9c(0x1f7))/0x6)+parseInt(_0x1b7c9c(0x1f9))/0x7+-parseInt(_0x1b7c9c(0x1eb))/0x8+-parseInt(_0x1b7c9c(0x1e4))/0x9*(-parseInt(_0x1b7c9c(0x1f5))/0xa);if(_0x8bce81===_0x93c5e7)break;else _0x193e4a['push'](_0x193e4a['shift']());}catch(_0x59b72f){_0x193e4a['push'](_0x193e4a['shift']());}}}(_0x3a0d,0x6ce2b));import{View as _0x41b73b}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x502de7}from'./presencecounterview.js';import{PresenceInlineListView as _0xcd71b8}from'./presenceinlinelistview.js';function _0x5950(_0x33bebe,_0x1cf839){const _0x3a0df8=_0x3a0d();return _0x5950=function(_0x5950c3,_0x135cf3){_0x5950c3=_0x5950c3-0x1df;let _0x36bae0=_0x3a0df8[_0x5950c3];return _0x36bae0;},_0x5950(_0x33bebe,_0x1cf839);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x41b73b{[_0x1b3a1c(0x1e0)];[_0x1b3a1c(0x1f0)];constructor(_0x2246d7,_0x515e4f=0x6){const _0x3eccd6=_0x1b3a1c;super(_0x2246d7);const _0x51ba71=this[_0x3eccd6(0x1ef)];this[_0x3eccd6(0x1e3)](_0x3eccd6(0x1ec),!0x0),this[_0x3eccd6(0x1e0)]=new _0x502de7(this[_0x3eccd6(0x1ed)],_0x515e4f),this[_0x3eccd6(0x1f0)]=new _0xcd71b8(_0x2246d7),this[_0x3eccd6(0x1f0)][_0x3eccd6(0x1f1)](_0x3eccd6(0x1e8))['to'](this,_0x3eccd6(0x1ec)),this[_0x3eccd6(0x1fb)](this[_0x3eccd6(0x1f0)][_0x3eccd6(0x1f6)],_0x3eccd6(0x1e1),()=>{const _0x236bd6=_0x3eccd6;for(const _0x84f59b of this[_0x236bd6(0x1f0)][_0x236bd6(0x1f6)])_0x84f59b[_0x236bd6(0x1e9)]='s';this[_0x236bd6(0x1f0)][_0x236bd6(0x1f6)][_0x236bd6(0x1f4)]&&(this[_0x236bd6(0x1f0)][_0x236bd6(0x1f6)][_0x236bd6(0x1f4)][_0x236bd6(0x1e9)]='se');}),this[_0x3eccd6(0x1fa)]({'tag':_0x3eccd6(0x1f3),'attributes':{'class':['ck',_0x3eccd6(0x1ea),_0x3eccd6(0x1e2),_0x3eccd6(0x1f8),_0x51ba71['if'](_0x3eccd6(0x1ec),_0x3eccd6(0x1ee))]},'children':[this[_0x3eccd6(0x1f0)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1bea44=_0x49c9;(function(_0x23f033,_0x395bcc){const _0x1aa358=_0x49c9,_0x3d6921=_0x23f033();while(!![]){try{const _0x51e18a=-parseInt(_0x1aa358(0x1da))/0x1*(parseInt(_0x1aa358(0x123))/0x2)+-parseInt(_0x1aa358(0x109))/0x3+parseInt(_0x1aa358(0x111))/0x4+-parseInt(_0x1aa358(0x148))/0x5+-parseInt(_0x1aa358(0x168))/0x6+-parseInt(_0x1aa358(0x14e))/0x7+parseInt(_0x1aa358(0x15e))/0x8;if(_0x51e18a===_0x395bcc)break;else _0x3d6921['push'](_0x3d6921['shift']());}catch(_0x4081a5){_0x3d6921['push'](_0x3d6921['shift']());}}}(_0x2b06,0x47f66));import{Plugin as _0x252a98,PendingActions as _0x33ad1c}from'ckeditor5/src/core.js';import{CKEditorError as _0x58a5ab,version as _0x3a98c4,uid as _0xff2b59}from'ckeditor5/src/utils.js';import{Notification as _0x211d0a}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x44dbdf,NoOperation as _0x3670fa,InsertOperation as _0x355a32,MarkerOperation as _0x584013,RootAttributeOperation as _0x2c996b,OperationFactory as _0x1b1d77,History as _0x461d0d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x47cf5e}from'./websocketgateway.js';function _0x2b06(){const _0x39c82f=['1652454nxhzyC','stop','wereChangesApplied','_disconnectionOperations','_crash','realtimecollaborationclient','_isInit','realtimecollaborationclient-sendbufferedoperations','return','end','isEnabled','Permissions','sessionCreatedAt','suppressErrorInCollaboration','document','marker','realtimecollaborationclient-init-session-connection-error','_addKnownRoot','getUser','realtimecollaborationclient-init-non-existent-root','root','attributes','removeFromReconnectionStack','toJSON','newRange','realtimecollaborationclient-init-document-already-initialized','wasUndone','cloud-services-internal-error:\x20Request\x20timeout.','_connectService','history','apply','markers','error','pluginName','_handleReceivedOperations','_applyOperationsSet','batch','createPositionFromPath','_hasSynchronizationProblem','serverHistory','_knownOperations','rtc-destroyed','realtimecollaborationclient-init-service-internal-error','sessionId','getIdOfTheLastOperation','length','$root','high','_bufferedOperations','_getOperationsFromInitData','setIdForTheLastOperation','editor','sessionAdd:','requires','channelSessions','change:range','finally','_channelId','plugins','rtc-offline','cloudDocumentVersion','_lastSyncedOperationId','init','offset','collaboration-missing-channelid','metadata','roots','startsWith','code','_loadRoot','_ignoredOperations','document:write','409','_hasSelectionChanged','parse','connect','define','CollaborativeEditingService','InsertOperation','_operationIdentifier','get','_compressor','_fetchMissingUsers','createRoot','fire','_isConnected','_handleReconnectionError','entries','has','rootName','_clearPendingAction','multi-root-editor-root-attributes-no-root','then','destroy','push','connected','move','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.','keys','disconnected','_isEditingAllowed','createPositionAt','RealTimeCollaborationClient','string','isUndoneOperation','getDocumentDetails','_authorId','set','addOperation','loadRoot','operationsReceived','_currentBufferDelay','affectedSelectable','__className','71563vjEacX','permissions','size','selection','_shouldSendUpdate','getOperationAuthor','isPremiumPlugin','_handleServerResponse','cs:removeUser','config','isDocumentOperation','isOfficialPlugin','model','slice','add','_updateServerHistory','getRoot','connection','createUserMarkerOperations','change:hasDomSelection','_isDisconnection','lastOperationId','affectsData','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.','directChange','disableReadOnlyMode','fromJSON','_initThrowingOnDataSet','listenTo','_bufferRootLoad','_sendBufferedOperationsDelayed','state','path','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','clone','_isPendingUpdate','addRootAttribute','insert','from','Synchronization\x20issue','_saveOperationInBuffer','ready','getOperations','realtimecollaborationclient-init-connection-failed','_isLoaded','_handleExternalOperations','lastDocumentSession','type','map','lastOperationAcceptedAt','addToReconnectionStack','1192767HgdaIf','mySessionId','_sendBufferedOperations','enqueueChange','realtimecollaborationclient-handleserverresponse','_service','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Not\x20connected.','1052968ToplhY','_pendingAction','realtimecollaborationclient-error','_baseBufferDelay','userId','_sendBufferedOperationsDelayId','addRoot','version','_shouldSendSelectionUpdate','reconnection:\x20flushed\x20session','collaboration.channelId','locale','change:_isEditingAllowed','Notification','reconnect','_initSessionsHandling','message','currentDocumentSession','2XezCKS','_getAffectedRoot','compress','_offset','disconnect','baseVersion','_handleInitialConnectionData','isReadOnly','round','start','_compressOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','showWarning','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:_isPendingUpdate','lastSyncVersion','addUser','_connectAfterSessionHasBeenFlushed','bind','_isAttached','rootsAttributes','view','_setUpDataInit','getConnectedSessions','404','unregister','createdAt','applyOperation','targetPosition','setPermissions','remove','register','catch','differ','_decompressOperations','_operationToId','decompress','26920kqeltP','cloudServices.bundleVersion','PENDING_ACTION_SENDING_DATA','CommentsOnly','includes','editing','770476InVwli','createRange','initData','_handleReconnectionResponse','filter','_waitUntilSynced','_disconnectService','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','real-time-collaboration','_lastServerVersion','realtimecollaborationclient-init-service-incorrect-server-operation','forEach','enableReadOnlyMode','_knownRootNames','stopListening','sendOperations','7132232hijTWs','collaboration','data','_setPendingAction','_document','getMany','position','_refreshUserSelectionMarkers','off','reset'];_0x2b06=function(){return _0x39c82f;};return _0x2b06();}import{Sessions as _0x10f393}from'./sessions.js';import{UserMarkers as _0x13b1ce}from'./usermarkers.js';import{getTranslation as _0x4a75f7}from'../common-translations.js';import{Compressor as _0x4a9e91}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5afec8}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5215cc,CollaborativeEditingService as _0x8816df}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;function _0x49c9(_0x17a7d3,_0x186e71){const _0x2b0653=_0x2b06();return _0x49c9=function(_0x49c93c,_0x18b914){_0x49c93c=_0x49c93c-0x107;let _0x5d978a=_0x2b0653[_0x49c93c];return _0x5d978a;},_0x49c9(_0x17a7d3,_0x186e71);}class l extends _0x252a98{static [_0x1bea44(0x1b5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x8816df)());[_0x1bea44(0x126)];[_0x1bea44(0x193)];[_0x1bea44(0x18f)];[_0x1bea44(0x1a1)];[_0x1bea44(0x10e)];[_0x1bea44(0x162)];[_0x1bea44(0x1b9)];[_0x1bea44(0x198)];[_0x1bea44(0x190)];[_0x1bea44(0x15b)];[_0x1bea44(0x112)];[_0x1bea44(0x1b1)];[_0x1bea44(0x116)];[_0x1bea44(0x114)];[_0x1bea44(0x1d7)];[_0x1bea44(0x1a5)];[_0x1bea44(0x16b)];[_0x1bea44(0x1b7)];static get[_0x1bea44(0x19d)](){return[_0x47cf5e,_0x10f393,_0x13b1ce,_0x33ad1c,_0x5afec8,_0x211d0a];}static get[_0x1bea44(0x189)](){const _0x2bab8b=_0x1bea44;return _0x2bab8b(0x1ce);}static get[_0x1bea44(0x1e5)](){return!0x0;}static get[_0x1bea44(0x1e0)](){return!0x0;}get[_0x1bea44(0x1a4)](){const _0x3e3aef=_0x1bea44;return this[_0x3e3aef(0x157)]+this[_0x3e3aef(0x126)];}get[_0x1bea44(0x157)](){const _0x4e07c0=_0x1bea44;return this[_0x4e07c0(0x18f)][_0x4e07c0(0x118)]-this[_0x4e07c0(0x126)];}get[_0x1bea44(0x132)](){const _0x4f7607=_0x1bea44,_0x92d356=this[_0x4f7607(0x18f)][_0x4f7607(0x204)]();for(let _0x41d6c3=_0x92d356[_0x4f7607(0x195)]-0x1;_0x41d6c3>=0x0;_0x41d6c3--){const _0x9616d5=_0x92d356[_0x41d6c3];if(!this[_0x4f7607(0x16b)][_0x4f7607(0x1c0)](_0x9616d5))return _0x9616d5[_0x4f7607(0x128)]+0x1-this[_0x4f7607(0x126)];}return 0x0;}constructor(_0x672f4){const _0x50df61=_0x1bea44;if(super(_0x672f4),this[_0x50df61(0x126)]=0x0,this[_0x50df61(0x193)]=null,this[_0x50df61(0x18f)]=new _0x461d0d(),this[_0x50df61(0x19b)][_0x50df61(0x1e3)][_0x50df61(0x1b4)](_0x50df61(0x15f),{}),this[_0x50df61(0x1a1)]=this[_0x50df61(0x19b)][_0x50df61(0x1e3)][_0x50df61(0x1b8)](_0x50df61(0x11b)),!this[_0x50df61(0x1a1)])throw new _0x58a5ab(_0x50df61(0x1a8),this);const _0x329791=_0x672f4[_0x50df61(0x1e3)][_0x50df61(0x1b8)](_0x50df61(0x149))||_0x3a98c4;this[_0x50df61(0x10e)]=new l[(_0x50df61(0x1b5))](_0x329791,this[_0x50df61(0x1a1)]),this[_0x50df61(0x162)]=this[_0x50df61(0x19b)][_0x50df61(0x1e6)][_0x50df61(0x176)],this[_0x50df61(0x1b9)]=new _0x4a9e91(),this[_0x50df61(0x198)]=[],this[_0x50df61(0x190)]=new WeakSet(),this[_0x50df61(0x15b)]=new Set(),this[_0x50df61(0x1d3)](_0x50df61(0x1fd),!0x1),this[_0x50df61(0x1d3)](_0x50df61(0x18e),!0x1),this[_0x50df61(0x112)]=null,this[_0x50df61(0x1b1)]=!0x1,this[_0x50df61(0x116)]=null,this[_0x50df61(0x114)]=0x12c,this[_0x50df61(0x1d7)]=this[_0x50df61(0x114)],this[_0x50df61(0x1a5)]=null,this[_0x50df61(0x16b)]=new WeakSet(),this[_0x50df61(0x1b7)]=new J(this[_0x50df61(0x16b)]);}[_0x1bea44(0x1a6)](){const _0x5e23a8=_0x1bea44,_0x1c9857=this[_0x5e23a8(0x19b)],_0xc8e943=_0x1c9857[_0x5e23a8(0x1a2)][_0x5e23a8(0x1b8)](_0x5afec8),_0x593ee8=_0x1c9857[_0x5e23a8(0x1a2)][_0x5e23a8(0x1b8)](_0x47cf5e);this[_0x5e23a8(0x1f6)](_0xc8e943,_0x5e23a8(0x1df),(_0x280729,_0xd18f10)=>{const _0x2fcce8=_0x5e23a8,_0x27d96d=_0xd18f10[0x0];_0x27d96d[_0x2fcce8(0x1d2)]&&(_0x280729[_0x2fcce8(0x170)]=_0xc8e943[_0x2fcce8(0x17a)](_0x27d96d[_0x2fcce8(0x1d2)]),_0x280729[_0x2fcce8(0x169)]()),null===_0x27d96d[_0x2fcce8(0x1d2)]&&(_0x280729[_0x2fcce8(0x170)]=null,_0x280729[_0x2fcce8(0x169)]());},{'priority':_0x5e23a8(0x197)}),this[_0x5e23a8(0x1f6)](_0x1c9857[_0x5e23a8(0x1e6)][_0x5e23a8(0x176)][_0x5e23a8(0x1dd)],_0x5e23a8(0x19f),(_0x521ed3,_0x5b296a)=>{const _0x579439=_0x5e23a8;_0x5b296a[_0x579439(0x1f2)]&&this[_0x579439(0x165)]();}),this[_0x5e23a8(0x1f6)](_0x1c9857[_0x5e23a8(0x14d)][_0x5e23a8(0x138)],_0x5e23a8(0x1ed),()=>{const _0x19dc38=_0x5e23a8;this[_0x19dc38(0x165)]();}),this[_0x5e23a8(0x1f5)](),_0x1c9857[_0x5e23a8(0x1e6)]['on'](_0x5e23a8(0x13e),(_0x4c4218,_0x30643e)=>{const _0x4047cf=_0x5e23a8,_0x5d7eb4=_0x30643e[0x0];_0x5d7eb4[_0x4047cf(0x1e4)]&&(this[_0x4047cf(0x202)](_0x5d7eb4),this[_0x4047cf(0x1de)]()&&this[_0x4047cf(0x1f8)]());}),this[_0x5e23a8(0x139)](),this[_0x5e23a8(0x135)](_0x5e23a8(0x1cc))['to'](_0x593ee8,_0x5e23a8(0x1f9),this,_0x5e23a8(0x18e),(_0x29c720,_0x17f6be)=>_0x5e23a8(0x1c7)===_0x29c720&&!_0x17f6be),this['on'](_0x5e23a8(0x11d),()=>{const _0x49b041=_0x5e23a8;this[_0x49b041(0x1cc)]?_0x1c9857[_0x49b041(0x1f3)](_0x49b041(0x1a3)):_0x1c9857[_0x49b041(0x15a)](_0x49b041(0x1a3));}),this[_0x5e23a8(0x1cc)]?_0x1c9857[_0x5e23a8(0x1f3)](_0x5e23a8(0x1a3)):_0x1c9857[_0x5e23a8(0x15a)](_0x5e23a8(0x1a3)),this[_0x5e23a8(0x1d3)](_0x5e23a8(0x1bd),!0x1);}async[_0x1bea44(0x11f)](){const _0x5417c9=_0x1bea44,_0x1d3428=this[_0x5417c9(0x19b)][_0x5417c9(0x1a2)][_0x5417c9(0x1b8)](_0x10f393),_0x3be0ec=this[_0x5417c9(0x19b)][_0x5417c9(0x1a2)][_0x5417c9(0x1b8)](_0x47cf5e);try{this[_0x5417c9(0x1fd)]=!0x0,_0x1d3428[_0x5417c9(0x13c)](this[_0x5417c9(0x1a1)]);const _0x4141b3=await this[_0x5417c9(0x10e)][_0x5417c9(0x11f)](_0x3be0ec[_0x5417c9(0x1eb)],this[_0x5417c9(0x132)]);await this[_0x5417c9(0x151)](_0x4141b3)&&(this[_0x5417c9(0x1fd)]=!0x1,this[_0x5417c9(0x1c2)]());const _0x185256=await this[_0x5417c9(0x10e)][_0x5417c9(0x13a)]();_0x1d3428[_0x5417c9(0x142)](this[_0x5417c9(0x1a1)],_0x185256),this[_0x5417c9(0x10f)](),this[_0x5417c9(0x1bd)]=!0x0;}catch(_0x4bc8ec){if(function(_0x38dae5){const _0x30e382=_0x5417c9;return _0x30e382(0x13b)===_0x38dae5[_0x30e382(0x1ac)];}(_0x4bc8ec)&&this[_0x5417c9(0x193)])await this[_0x5417c9(0x134)]();else{if(function(_0x7e8a9a){const _0x4b70b3=_0x5417c9;return _0x4b70b3(0x1b0)===_0x7e8a9a[_0x4b70b3(0x1ac)];}(_0x4bc8ec)){const _0x419571=_0x4a75f7(this[_0x5417c9(0x19b)][_0x5417c9(0x11c)],_0x5417c9(0x130));this[_0x5417c9(0x1be)](_0x419571);}else{if(!(_0x4bc8ec instanceof $))throw _0x4bc8ec;this[_0x5417c9(0x1be)]();}}}}[_0x1bea44(0x1c5)](){const _0x47f5b2=_0x1bea44,_0x48c442=this[_0x47f5b2(0x19b)][_0x47f5b2(0x1a2)][_0x47f5b2(0x1b8)](_0x47cf5e),_0x185c0a=this[_0x47f5b2(0x19b)][_0x47f5b2(0x1a2)][_0x47f5b2(0x1b8)](_0x10f393);this[_0x47f5b2(0x19b)][_0x47f5b2(0x15a)](_0x47f5b2(0x191)),_0x185c0a[_0x47f5b2(0x19e)][_0x47f5b2(0x1c0)](this[_0x47f5b2(0x1a1)])&&_0x185c0a[_0x47f5b2(0x13c)](this[_0x47f5b2(0x1a1)]),_0x48c442[_0x47f5b2(0x17e)](this),this[_0x47f5b2(0x154)](),super[_0x47f5b2(0x1c5)]();}async[_0x1bea44(0x151)](_0x4d0428){const _0x4347ba=_0x1bea44;if(this[_0x4347ba(0x193)]!==_0x4d0428[_0x4347ba(0x193)]&&this[_0x4347ba(0x1a5)]!==_0x4d0428[_0x4347ba(0x1ef)])throw new $();return this[_0x4347ba(0x193)]=_0x4d0428[_0x4347ba(0x193)],this[_0x4347ba(0x1e1)]([],{..._0x4d0428,'wereChangesApplied':!0x1,'data':_0x4d0428[_0x4347ba(0x160)]},_0x4347ba(0x11f));}async[_0x1bea44(0x184)](_0x2245fe,_0x40c494=!0x1){const _0x4034da=_0x1bea44,{connection:_0x235368}=this[_0x4034da(0x19b)][_0x4034da(0x1a2)][_0x4034da(0x1b8)](_0x47cf5e);l[_0x4034da(0x1b5)][_0x4034da(0x13a)](_0x235368,this[_0x4034da(0x1a1)])[_0x4034da(0x1c4)](_0x4d8340=>this[_0x4034da(0x120)](_0x4d8340))[_0x4034da(0x143)](_0x2fc8ad=>{const _0x543d81=_0x4034da;this[_0x543d81(0x16c)](_0x543d81(0x178),_0x2fc8ad);}),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x1d6),this[_0x4034da(0x18a)][_0x4034da(0x135)](this)),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x188),(_0x5278d6,_0x10b0d6)=>{const _0x229fe3=_0x4034da;this[_0x229fe3(0x16c)](_0x229fe3(0x192),_0x10b0d6);}),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x1cb),()=>{const _0x43f6ee=_0x4034da;this[_0x43f6ee(0x1bd)]=!0x1;});const _0x3f5811=this[_0x4034da(0x1b7)][_0x4034da(0x194)](_0x2245fe);this[_0x4034da(0x1fd)]=!0x0;const _0x2c465b=await this[_0x4034da(0x10e)][_0x4034da(0x1b3)](_0x235368,this[_0x4034da(0x12d)](_0x2245fe),_0x3f5811);if(this[_0x4034da(0x193)]=_0x2c465b[_0x4034da(0x193)],_0x40c494){if(!_0x2c465b[_0x4034da(0x16a)])return void this[_0x4034da(0x1be)]();this[_0x4034da(0x1fd)]=!0x1,this[_0x4034da(0x1c2)](),this[_0x4034da(0x18f)][_0x4034da(0x167)](),this[_0x4034da(0x126)]=_0x2c465b[_0x4034da(0x1a7)],this[_0x4034da(0x18f)][_0x4034da(0x118)]=this[_0x4034da(0x126)],await this[_0x4034da(0x1e1)](_0x2245fe,_0x2c465b,_0x4034da(0x11a));}else await this[_0x4034da(0x129)](_0x2c465b,_0x2245fe);this[_0x4034da(0x10f)](),this[_0x4034da(0x1bd)]=!0x0;}[_0x1bea44(0x10f)](){const _0x598145=_0x1bea44,_0x4610e0=this[_0x598145(0x19b)][_0x598145(0x1a2)][_0x598145(0x1b8)](_0x10f393),_0x36d3f1=this[_0x598145(0x19b)][_0x598145(0x1a2)][_0x598145(0x1b8)](_0x13b1ce),_0x43e9de=_0x4610e0[_0x598145(0x19e)][_0x598145(0x1b8)](this[_0x598145(0x1a1)]);_0x43e9de&&_0x43e9de[_0x598145(0x195)]>0x1?_0x36d3f1[_0x598145(0x1ec)]():this[_0x598145(0x1f6)](_0x4610e0,_0x598145(0x19c)+this[_0x598145(0x1a1)],()=>{const _0x3fd1d2=_0x598145;0x2===_0x4610e0[_0x3fd1d2(0x19e)][_0x3fd1d2(0x1b8)](this[_0x3fd1d2(0x1a1)])[_0x3fd1d2(0x195)]&&_0x36d3f1[_0x3fd1d2(0x1ec)]();});}async[_0x1bea44(0x18a)](_0x4ba033,_0x204c27,_0x546127,_0xcfc389){const _0xf4a10f=_0x1bea44;if(!this[_0xf4a10f(0x1fd)]&&this[_0xf4a10f(0x162)][_0xf4a10f(0x118)]==_0x204c27){const _0x1d7143=this[_0xf4a10f(0x145)](_0x546127,_0xcfc389);await this[_0xf4a10f(0x1ba)](_0x1d7143),this[_0xf4a10f(0x207)](_0x1d7143,_0x204c27,_0x546127[_0xf4a10f(0x1ef)])||this[_0xf4a10f(0x16c)](_0xf4a10f(0x158));}}async[_0x1bea44(0x134)](){const _0x29044c=_0x1bea44;this[_0x29044c(0x154)]();const {locale:_0x5378ae}=this[_0x29044c(0x19b)];let _0x5b48c9;try{_0x5b48c9=await this[_0x29044c(0x10e)][_0x29044c(0x1d1)]();}catch{const _0x19425a=_0x4a75f7(_0x5378ae,_0x29044c(0x155));return void this[_0x29044c(0x1be)](_0x19425a);}const _0x123f82=_0x5b48c9[_0x29044c(0x122)]||_0x5b48c9[_0x29044c(0x208)];if(this[_0x29044c(0x1a5)]!==_0x123f82[_0x29044c(0x1ef)]){const _0xedef52=_0x4a75f7(_0x5378ae,_0x29044c(0x1f1));return void this[_0x29044c(0x1be)](_0xedef52);}await this[_0x29044c(0x184)](this[_0x29044c(0x19b)][_0x29044c(0x1e6)][_0x29044c(0x176)][_0x29044c(0x185)][_0x29044c(0x204)](),!0x0);}[_0x1bea44(0x154)](){const _0x20799c=_0x1bea44;this[_0x20799c(0x10e)][_0x20799c(0x127)](),this[_0x20799c(0x198)]=[],clearTimeout(this[_0x20799c(0x116)]),this[_0x20799c(0x15c)](this[_0x20799c(0x10e)]);}[_0x1bea44(0x120)](_0xe53d78){const _0x39cb02=_0x1bea44,_0x22aa56=this[_0x39cb02(0x19b)][_0x39cb02(0x1a2)][_0x39cb02(0x1b8)](_0x10f393);this[_0x39cb02(0x1f6)](_0x22aa56,_0x39cb02(0x19c)+this[_0x39cb02(0x1a1)],(_0x3afa2b,{session:_0x4eae53})=>{const _0x27c532=_0x39cb02;if(_0x4eae53['id']===_0x22aa56[_0x27c532(0x10a)]){_0x3afa2b[_0x27c532(0x166)]();const _0x2558a8=this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1c0)](_0x27c532(0x14b))&&this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1b8)](_0x27c532(0x14b));let _0x40a3bc=_0x4eae53[_0x27c532(0x1db)];_0x2558a8&&_0x2558a8[_0x27c532(0x172)]&&(_0x40a3bc=_0x40a3bc[_0x27c532(0x152)](_0x2c0a55=>_0x27c532(0x1af)!==_0x2c0a55)),this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1b8)](_0x27c532(0x173))[_0x27c532(0x140)](_0x40a3bc,this[_0x27c532(0x1a1)]);}}),_0x22aa56[_0x39cb02(0x142)](this[_0x39cb02(0x1a1)],_0xe53d78);}[_0x1bea44(0x1f5)](){const _0x115365=_0x1bea44,_0x4d92ff=this[_0x115365(0x19b)][_0x115365(0x160)][_0x115365(0x1d3)];this[_0x115365(0x19b)][_0x115365(0x160)][_0x115365(0x1d3)]=(..._0x160b60)=>{const _0x5c61a0=_0x115365;if(!_0x160b60[_0x160b60[_0x5c61a0(0x195)]-0x1][_0x5c61a0(0x175)])throw new _0x58a5ab(_0x5c61a0(0x1fb),this);_0x4d92ff[_0x5c61a0(0x186)](this[_0x5c61a0(0x19b)][_0x5c61a0(0x160)],_0x160b60);};}[_0x1bea44(0x139)](){const _0x5b09cd=_0x1bea44;this[_0x5b09cd(0x19b)][_0x5b09cd(0x160)]['on'](_0x5b09cd(0x1a6),(_0x195236,[_0x5c357f])=>{const _0x2329fd=_0x5b09cd;if(this[_0x2329fd(0x162)][_0x2329fd(0x118)])throw new _0x58a5ab(_0x2329fd(0x181),this);_0x195236[_0x2329fd(0x169)](),this[_0x2329fd(0x161)]();const _0x248ec8=this[_0x2329fd(0x19b)][_0x2329fd(0x1e3)][_0x2329fd(0x1b8)](_0x2329fd(0x137)),_0xec0f87=this[_0x2329fd(0x199)](_0x5c357f,_0x248ec8);0x0==_0xec0f87[_0x2329fd(0x195)]&&_0xec0f87[_0x2329fd(0x1c6)](new _0x3670fa(0x0)),_0x195236[_0x2329fd(0x170)]=this[_0x2329fd(0x184)](_0xec0f87)[_0x2329fd(0x1c4)](()=>{const _0x35ce37=_0x2329fd;this[_0x35ce37(0x19b)][_0x35ce37(0x1a2)][_0x35ce37(0x1b8)](_0x47cf5e)[_0x35ce37(0x108)](this),this[_0x35ce37(0x19b)][_0x35ce37(0x160)][_0x35ce37(0x1bc)](_0x35ce37(0x203));})[_0x2329fd(0x143)](_0x4d9e4c=>this[_0x2329fd(0x16c)](_0x2329fd(0x205),_0x4d9e4c))[_0x2329fd(0x1a0)](()=>this[_0x2329fd(0x1c2)]());},{'priority':_0x5b09cd(0x197)}),this[_0x5b09cd(0x19b)]['on'](_0x5b09cd(0x1d5),async(_0x370479,[_0x5b7997,_0x141700])=>{const _0x1dcfae=_0x5b09cd;_0x370479[_0x1dcfae(0x169)]();const _0x1a48c4=this[_0x1dcfae(0x19b)][_0x1dcfae(0x1e6)][_0x1dcfae(0x176)][_0x1dcfae(0x1ea)](_0x5b7997);if(!this[_0x1dcfae(0x15b)][_0x1dcfae(0x1c0)](_0x5b7997)){const _0x3b67d9=_0x141700&&_0x141700[_0x1dcfae(0x160)]?_0x141700[_0x1dcfae(0x160)]:'',_0x1441ef=_0x141700&&_0x141700[_0x1dcfae(0x17d)]?_0x141700[_0x1dcfae(0x17d)]:{};await this[_0x1dcfae(0x1ad)](_0x5b7997,_0x3b67d9,_0x1441ef);}this[_0x1dcfae(0x19b)][_0x1dcfae(0x1e6)][_0x1dcfae(0x10c)]({'isUndoable':!0x1},()=>{const _0x577def=_0x1dcfae;_0x1a48c4[_0x577def(0x206)]=!0x0,this[_0x577def(0x19b)][_0x577def(0x1e6)][_0x577def(0x176)][_0x577def(0x144)][_0x577def(0x1f7)](_0x1a48c4);});},{'priority':_0x5b09cd(0x197)});}async[_0x1bea44(0x1ba)](_0x15d9a0){const _0x1b459b=_0x1bea44,_0x42f254=this[_0x1b459b(0x19b)][_0x1b459b(0x1a2)][_0x1b459b(0x1b8)](_0x5afec8),{connection:_0x265ef3}=this[_0x1b459b(0x19b)][_0x1b459b(0x1a2)][_0x1b459b(0x1b8)](_0x47cf5e),_0xe4f5d5=new Set();for(const _0x2a5dbd of _0x15d9a0){const _0x33eabc=_0x2a5dbd[_0x1b459b(0x1d2)];_0x33eabc&&!_0x42f254[_0x1b459b(0x17a)](_0x33eabc)&&_0xe4f5d5[_0x1b459b(0x1e8)](_0x33eabc);}if(0x0===_0xe4f5d5[_0x1b459b(0x1dc)])return;const _0x19cd87=await _0x5215cc[_0x1b459b(0x163)](_0x265ef3,Array[_0x1b459b(0x200)](_0xe4f5d5));for(const _0x344094 of _0x19cd87)_0x42f254[_0x1b459b(0x17a)](_0x344094['id'])||_0x42f254[_0x1b459b(0x133)](_0x344094);}[_0x1bea44(0x199)](_0x33ea84,_0x22b295={}){const _0x1b3ef9=_0x1bea44,_0x5a44ec=this[_0x1b3ef9(0x19b)][_0x1b3ef9(0x1e6)],_0x11cb87=[];let _0x43e833=0x0;const _0x21d2d8=_0x1b3ef9(0x1cf)==typeof _0x33ea84?{'main':_0x33ea84}:_0x33ea84;for(const _0x58ffb7 of Object[_0x1b3ef9(0x1ca)](_0x21d2d8)){if(!this[_0x1b3ef9(0x162)][_0x1b3ef9(0x1aa)][_0x1b3ef9(0x1c0)](_0x58ffb7))throw new _0x58a5ab(_0x1b3ef9(0x17b),this);const _0x1d1f65=this[_0x1b3ef9(0x19b)][_0x1b3ef9(0x160)][_0x1b3ef9(0x1b2)](_0x21d2d8[_0x58ffb7]),_0x44592b=this[_0x1b3ef9(0x162)][_0x1b3ef9(0x1ea)](_0x58ffb7),_0x3a3433=new _0x355a32(_0x5a44ec[_0x1b3ef9(0x1cd)](_0x44592b,0x0),_0x1d1f65,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x3a3433);for(const [_0x4a1e65,_0x52d585]of _0x1d1f65[_0x1b3ef9(0x187)]){const _0x5cd669=_0x5a44ec[_0x1b3ef9(0x14f)](_0x5a44ec[_0x1b3ef9(0x18d)](_0x44592b,_0x52d585[_0x1b3ef9(0x12c)][_0x1b3ef9(0x1fa)][_0x1b3ef9(0x1e7)]()),_0x5a44ec[_0x1b3ef9(0x18d)](_0x44592b,_0x52d585[_0x1b3ef9(0x171)][_0x1b3ef9(0x1fa)][_0x1b3ef9(0x1e7)]())),_0x1420d1=new _0x584013(_0x4a1e65,null,_0x5cd669,_0x5a44ec[_0x1b3ef9(0x187)],!0x0,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x1420d1);}}if(_0x22b295)for(const [_0x1a5f63,_0x4e714f]of Object[_0x1b3ef9(0x1bf)](_0x22b295)){const _0x3b51d5=_0x5a44ec[_0x1b3ef9(0x176)][_0x1b3ef9(0x1ea)](_0x1a5f63);if(!_0x3b51d5)throw new _0x58a5ab(_0x1b3ef9(0x1c3),null);for(const [_0x174768,_0x1a7ebd]of Object[_0x1b3ef9(0x1bf)](_0x4e714f))if(null!==_0x1a7ebd){const _0x14509b=new _0x2c996b(_0x3b51d5,_0x174768,null,_0x1a7ebd,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x14509b);}}return _0x11cb87;}async[_0x1bea44(0x1ad)](_0x13db9f,_0x105a3e,_0x2426aa){const _0x57fcc8=_0x1bea44;this[_0x57fcc8(0x199)]({[_0x13db9f]:_0x105a3e},{[_0x13db9f]:_0x2426aa})[_0x57fcc8(0x159)]((_0xfd8659,_0x5a5ddd)=>{const _0x428445=_0x57fcc8;_0xfd8659[_0x428445(0x128)]=this[_0x428445(0x162)][_0x428445(0x118)]+_0x5a5ddd,_0xfd8659[_0x428445(0x16e)]=!0x0,this[_0x428445(0x202)](_0xfd8659);}),this[_0x57fcc8(0x1f8)](),await this[_0x57fcc8(0x153)]();}async[_0x1bea44(0x129)](_0x402628,_0x1e4aed){const _0x226043=_0x1bea44;let _0x1791ed;this[_0x226043(0x126)]=_0x402628[_0x226043(0x1a7)];const _0x3aa938=_0x402628[_0x226043(0x16a)]&&!_0x402628[_0x226043(0x150)],_0xa8516=_0x3aa938?0x0:_0x402628[_0x226043(0x160)][_0x226043(0x128)];if(_0x1e4aed[_0x226043(0x159)](_0xf68aa1=>{const _0x44827f=_0x226043;_0xf68aa1[_0x44827f(0x16e)]=!0x0,_0xf68aa1[_0x44827f(0x13d)]=_0x402628[_0x44827f(0x174)],_0xf68aa1[_0x44827f(0x1d2)]=null;}),_0x3aa938)_0x1791ed=_0x1e4aed,this[_0x226043(0x18b)](_0x1791ed,_0x3aa938);else{if(_0x402628[_0x226043(0x150)]){const _0x49ed96=this[_0x226043(0x199)](_0x402628[_0x226043(0x150)]);this[_0x226043(0x162)][_0x226043(0x185)][_0x226043(0x118)]=-_0x49ed96[_0x226043(0x195)],_0x49ed96[_0x226043(0x159)](_0xab98a9=>{const _0xb83d7f=_0x226043;_0xab98a9[_0xb83d7f(0x128)]-=_0x49ed96[_0xb83d7f(0x195)],_0xab98a9[_0xb83d7f(0x13d)]=_0x402628[_0xb83d7f(0x174)],_0xab98a9[_0xb83d7f(0x16e)]=!0x0,_0xab98a9[_0xb83d7f(0x1d2)]=null;}),this[_0x226043(0x18b)](_0x49ed96,!0x0),this[_0x226043(0x18f)][_0x226043(0x118)]=-_0x49ed96[_0x226043(0x195)]+this[_0x226043(0x126)],this[_0x226043(0x1e9)](_0x49ed96);}this[_0x226043(0x162)][_0x226043(0x185)][_0x226043(0x118)]=_0xa8516,_0x1791ed=this[_0x226043(0x145)](_0x402628[_0x226043(0x160)],_0x402628[_0x226043(0x1a9)]),await this[_0x226043(0x1ba)](_0x1791ed),this[_0x226043(0x18b)](_0x1791ed,_0x3aa938);}_0x402628[_0x226043(0x1ef)]&&(this[_0x226043(0x1b7)][_0x226043(0x19a)](_0x1791ed,_0x402628[_0x226043(0x1ef)]),this[_0x226043(0x1a5)]=_0x402628[_0x226043(0x1ef)]),this[_0x226043(0x18f)][_0x226043(0x118)]=_0xa8516+this[_0x226043(0x126)],this[_0x226043(0x1e9)](_0x1791ed),_0x1e4aed[_0x226043(0x152)](_0x374c92=>{const _0x1076c0=_0x226043,_0x48ff79=this[_0x1076c0(0x124)](_0x374c92);return _0x48ff79&&!this[_0x1076c0(0x15b)][_0x1076c0(0x1c0)](_0x48ff79);})[_0x226043(0x159)]((_0x55a3e8,_0x290c85)=>{const _0x379ce0=_0x226043;_0x55a3e8[_0x379ce0(0x128)]=this[_0x379ce0(0x162)][_0x379ce0(0x118)]+_0x290c85,this[_0x379ce0(0x202)](_0x55a3e8);}),this[_0x226043(0x1de)]()?(this[_0x226043(0x1d7)]=0x0,this[_0x226043(0x1f8)](!0x0),await this[_0x226043(0x153)]()):(this[_0x226043(0x1fd)]=!0x1,this[_0x226043(0x1c2)]());}[_0x1bea44(0x16c)](_0x321037,_0x1d9394){const _0x4769f8=_0x1bea44,_0x20e9fe=_0x1d9394&&_0x1d9394[_0x4769f8(0x121)];if(_0x20e9fe&&_0x20e9fe[_0x4769f8(0x1ab)](_0x4769f8(0x16d)))throw _0x1d9394;const _0x3a7a2f=this[_0x4769f8(0x19b)][_0x4769f8(0x1a2)][_0x4769f8(0x1b8)](_0x47cf5e);throw this[_0x4769f8(0x1fd)]=!0x0,_0x3a7a2f[_0x4769f8(0x127)](),this[_0x4769f8(0x19b)][_0x4769f8(0x15a)](_0x4769f8(0x113)),new _0x58a5ab(_0x321037,this[_0x4769f8(0x19b)],_0x20e9fe?{'originalError':_0x20e9fe}:void 0x0);}[_0x1bea44(0x202)](_0x56b22b){const _0x3f244f=_0x1bea44;this[_0x3f244f(0x190)][_0x3f244f(0x1c0)](_0x56b22b)||(this[_0x3f244f(0x190)][_0x3f244f(0x1e8)](_0x56b22b),this[_0x3f244f(0x198)][_0x3f244f(0x1c6)](_0x56b22b),this[_0x3f244f(0x112)]||_0x3f244f(0x177)==_0x56b22b[_0x3f244f(0x209)]&&!_0x56b22b[_0x3f244f(0x1f0)]||this[_0x3f244f(0x161)]());}[_0x1bea44(0x1f8)](_0x3e7fc1=!0x1){const _0x22fb24=_0x1bea44;!_0x3e7fc1&&this[_0x22fb24(0x1fd)]||(this[_0x22fb24(0x1fd)]=!0x0,clearTimeout(this[_0x22fb24(0x116)]),this[_0x22fb24(0x116)]=setTimeout(()=>{const _0x52267a=_0x22fb24;this[_0x52267a(0x10b)]()[_0x52267a(0x1c4)](_0x359b71=>{const _0x34db60=_0x52267a;_0x359b71&&(this[_0x34db60(0x1c2)](),this[_0x34db60(0x1fd)]=!0x1);})[_0x52267a(0x143)](_0x53c740=>{const _0x26d89e=_0x52267a;this[_0x26d89e(0x1c2)](),this[_0x26d89e(0x1fd)]=!0x1,function(_0x2179dc){const _0x516318=_0x26d89e;return _0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x110))||_0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x12e))||_0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x183));}(_0x53c740)||this[_0x26d89e(0x16c)](_0x53c740[_0x26d89e(0x121)],_0x53c740);});},this[_0x22fb24(0x1d7)]));}[_0x1bea44(0x153)](){return new Promise(_0x18f402=>{const _0x436309=_0x49c9;this['on'](_0x436309(0x131),()=>{_0x18f402();});});}async[_0x1bea44(0x10b)](){const _0x2fe250=_0x1bea44,_0x11014f=this[_0x2fe250(0x19b)][_0x2fe250(0x1a2)][_0x2fe250(0x1b8)](_0x13b1ce);if(this[_0x2fe250(0x119)]()&&(_0x11014f[_0x2fe250(0x1ec)](),this[_0x2fe250(0x1b1)]=!0x1),!this[_0x2fe250(0x1de)]())return!0x0;const _0x1d0c8a=[...this[_0x2fe250(0x198)]];for(const _0x351a2e of _0x1d0c8a)_0x351a2e[_0x2fe250(0x182)]=this[_0x2fe250(0x162)][_0x2fe250(0x185)][_0x2fe250(0x1d0)](_0x351a2e);const _0x4a43e7=this[_0x2fe250(0x1b7)][_0x2fe250(0x194)](_0x1d0c8a),_0x2f3711=G++,_0x14932e=this[_0x2fe250(0x12d)](_0x1d0c8a),_0x3046e1=await this[_0x2fe250(0x10e)][_0x2fe250(0x15d)](_0x14932e,_0x14932e[_0x2fe250(0x128)],_0x4a43e7);try{return await this[_0x2fe250(0x1e1)](_0x1d0c8a,_0x3046e1,_0x2f3711);}catch(_0xafbe2e){return this[_0x2fe250(0x16c)](_0x2fe250(0x16f),_0xafbe2e);}}async[_0x1bea44(0x1e1)](_0x1e29a3,_0x5e0648,_0x528741){const _0x2d0d8d=_0x1bea44;if(_0x2d0d8d(0x188)in _0x5e0648)throw _0x5e0648[_0x2d0d8d(0x188)];let _0x259d5f=!0x1;if(_0x5e0648[_0x2d0d8d(0x16a)]){_0x5e0648[_0x2d0d8d(0x1ef)]&&(this[_0x2d0d8d(0x1a5)]=_0x5e0648[_0x2d0d8d(0x1ef)]),this[_0x2d0d8d(0x198)]=this[_0x2d0d8d(0x198)][_0x2d0d8d(0x152)](_0x4f9dd0=>!_0x1e29a3[_0x2d0d8d(0x14c)](_0x4f9dd0));for(const _0x2d1c5a of _0x1e29a3)_0x2d1c5a[_0x2d0d8d(0x13d)]=_0x2d0d8d(0x107)in _0x5e0648&&_0x5e0648[_0x2d0d8d(0x107)]||void 0x0;K(_0x1e29a3,_0x5e0648[_0x2d0d8d(0x118)]-_0x1e29a3[_0x2d0d8d(0x195)]),this[_0x2d0d8d(0x1e9)](_0x1e29a3);const _0x5a7d91=_0x1e29a3[_0x2d0d8d(0x152)](_0x3d2074=>{const _0x833847=_0x2d0d8d;if(!_0x3d2074[_0x833847(0x16e)])return!0x1;const _0x4589b4=this[_0x833847(0x124)](_0x3d2074);return _0x4589b4&&!this[_0x833847(0x15b)][_0x833847(0x1c0)](_0x4589b4);});K(_0x5a7d91,this[_0x2d0d8d(0x162)][_0x2d0d8d(0x118)]),this[_0x2d0d8d(0x18b)](_0x5a7d91),_0x259d5f=!0x0,this[_0x2d0d8d(0x1d7)]=this[_0x2d0d8d(0x114)];}else{const _0x1eb3df=this[_0x2d0d8d(0x145)](_0x5e0648[_0x2d0d8d(0x160)],_0x5e0648[_0x2d0d8d(0x1a9)])[_0x2d0d8d(0x152)](_0x40abae=>_0x40abae[_0x2d0d8d(0x128)]>=this[_0x2d0d8d(0x157)]);_0x1eb3df[_0x2d0d8d(0x159)](_0x23e0c6=>this[_0x2d0d8d(0x179)](_0x23e0c6)),this[_0x2d0d8d(0x198)]=this[_0x2d0d8d(0x198)][_0x2d0d8d(0x152)](_0x1410c6=>!_0x1410c6[_0x2d0d8d(0x16e)]||!this[_0x2d0d8d(0x15b)][_0x2d0d8d(0x1c0)](this[_0x2d0d8d(0x124)](_0x1410c6))),this[_0x2d0d8d(0x198)][_0x2d0d8d(0x195)]&&K(this[_0x2d0d8d(0x198)],this[_0x2d0d8d(0x198)][0x0][_0x2d0d8d(0x128)]),await this[_0x2d0d8d(0x1ba)](_0x1eb3df),_0x259d5f=this[_0x2d0d8d(0x207)](_0x1eb3df,_0x5e0648[_0x2d0d8d(0x118)],_0x5e0648[_0x2d0d8d(0x1ef)]),this[_0x2d0d8d(0x1d7)]=Math[_0x2d0d8d(0x12b)](this[_0x2d0d8d(0x1d7)]/0x2);}return _0x259d5f?!this[_0x2d0d8d(0x1de)]()||(this[_0x2d0d8d(0x1f8)](!0x0),!0x1):this[_0x2d0d8d(0x16c)](_0x2d0d8d(0x10d));}[_0x1bea44(0x207)](_0x2ca459,_0x55ddec,_0x1171f0){const _0x57ee3f=_0x1bea44;try{const _0x5f08c4={'document':this[_0x57ee3f(0x162)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xc0d427,operationsB:_0x265699,originalOperations:_0x4047e2}=_0x44dbdf(_0x2ca459,this[_0x57ee3f(0x198)],_0x5f08c4);K(_0xc0d427,this[_0x57ee3f(0x162)][_0x57ee3f(0x118)]),K(_0x265699,_0x55ddec);for(const _0x484cce of _0xc0d427){const _0x105690=_0x4047e2[_0x57ee3f(0x1b8)](_0x484cce);_0x484cce[_0x57ee3f(0x1d2)]=_0x105690?_0x105690[_0x57ee3f(0x1d2)]:null;}_0x1171f0&&(this[_0x57ee3f(0x1b7)][_0x57ee3f(0x19a)](_0x2ca459,_0x1171f0),this[_0x57ee3f(0x1a5)]=_0x1171f0),this[_0x57ee3f(0x198)]=[..._0x265699],this[_0x57ee3f(0x18b)](_0xc0d427),this[_0x57ee3f(0x1e9)](_0x2ca459);}catch(_0x346552){return console[_0x57ee3f(0x188)](_0x346552),!0x1;}return!0x0;}[_0x1bea44(0x18b)](_0x53c5c3,_0x1bbc39=!0x1){const _0x4dcb63=_0x1bea44;this[_0x4dcb63(0x19b)][_0x4dcb63(0x1e6)][_0x4dcb63(0x10c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x572e32=>{const _0x4997b9=_0x4dcb63;for(const _0x5ac7d9 of _0x53c5c3)this[_0x4997b9(0x190)][_0x4997b9(0x1e8)](_0x5ac7d9),this[_0x4997b9(0x179)](_0x5ac7d9),_0x572e32[_0x4997b9(0x18c)][_0x4997b9(0x1d4)](_0x5ac7d9),this[_0x4997b9(0x19b)][_0x4997b9(0x1e6)][_0x4997b9(0x13e)](_0x5ac7d9);});}[_0x1bea44(0x179)](_0x78c77c){const _0x127c51=_0x1bea44,_0x2ac353=this[_0x127c51(0x124)](_0x78c77c);_0x2ac353&&this[_0x127c51(0x15b)][_0x127c51(0x1e8)](_0x2ac353);}[_0x1bea44(0x124)](_0x1ce178){const _0x2d3436=_0x1bea44;let _0x59b793,_0x142bff;switch(_0x1ce178[_0x2d3436(0x209)]){case _0x2d3436(0x1ff):_0x59b793=_0x1ce178[_0x2d3436(0x164)][_0x2d3436(0x17c)];break;case _0x2d3436(0x177):if(_0x142bff=_0x1ce178[_0x2d3436(0x180)],!_0x142bff)return null;_0x59b793=_0x142bff[_0x2d3436(0x17c)];break;case _0x2d3436(0x1fe):_0x59b793=_0x1ce178[_0x2d3436(0x17c)];break;case _0x2d3436(0x117):_0x59b793=_0x1ce178[_0x2d3436(0x1d8)];break;case _0x2d3436(0x1c8):_0x59b793=_0x1ce178[_0x2d3436(0x13f)][_0x2d3436(0x17c)];break;default:return null;}return _0x59b793[_0x2d3436(0x1c1)];}[_0x1bea44(0x1e9)](_0x52ca7c){const _0x305068=_0x1bea44;_0x52ca7c[_0x305068(0x159)](_0x4d55fb=>{const _0x558ece=_0x305068,_0x4bd29a=_0x4d55fb[_0x558ece(0x1fc)]();_0x4bd29a[_0x558ece(0x1d2)]=_0x4d55fb[_0x558ece(0x1d2)],_0x4bd29a[_0x558ece(0x16e)]=!!_0x4d55fb[_0x558ece(0x16e)],_0x4bd29a[_0x558ece(0x13d)]=_0x4d55fb[_0x558ece(0x13d)],_0x4bd29a[_0x558ece(0x128)]+=this[_0x558ece(0x126)],_0x4d55fb[_0x558ece(0x1ee)]&&this[_0x558ece(0x16b)][_0x558ece(0x1e8)](_0x4bd29a),this[_0x558ece(0x18f)][_0x558ece(0x1d4)](_0x4bd29a);});}[_0x1bea44(0x1be)](_0x2f877a){const _0x21a5a6=_0x1bea44,_0x1a5923=this[_0x21a5a6(0x19b)][_0x21a5a6(0x1a2)][_0x21a5a6(0x1b8)](_0x21a5a6(0x11e)),_0x322590=this[_0x21a5a6(0x19b)][_0x21a5a6(0x11c)];_0x2f877a||(_0x2f877a=_0x4a75f7(_0x322590,_0x21a5a6(0x1c9))),_0x1a5923[_0x21a5a6(0x12f)](_0x2f877a,{'title':_0x4a75f7(_0x322590,_0x21a5a6(0x201)),'namespace':_0x21a5a6(0x156)}),this[_0x21a5a6(0x18e)]=!0x0,clearTimeout(this[_0x21a5a6(0x116)]),this[_0x21a5a6(0x198)]=[],this[_0x21a5a6(0x19b)][_0x21a5a6(0x1a2)][_0x21a5a6(0x1b8)](_0x47cf5e)[_0x21a5a6(0x127)]();}[_0x1bea44(0x161)](){const _0x32b1e0=_0x1bea44;this[_0x32b1e0(0x112)]||(this[_0x32b1e0(0x112)]=this[_0x32b1e0(0x19b)][_0x32b1e0(0x1a2)][_0x32b1e0(0x1b8)](_0x33ad1c)[_0x32b1e0(0x1e8)](_0x4a75f7(this[_0x32b1e0(0x19b)][_0x32b1e0(0x11c)],_0x32b1e0(0x14a))));}[_0x1bea44(0x1c2)](){const _0x229ba5=_0x1bea44;this[_0x229ba5(0x112)]&&(this[_0x229ba5(0x19b)][_0x229ba5(0x1a2)][_0x229ba5(0x1b8)](_0x33ad1c)[_0x229ba5(0x141)](this[_0x229ba5(0x112)]),this[_0x229ba5(0x112)]=null);}[_0x1bea44(0x12d)](_0x240f0c){const _0x272e13=_0x1bea44,_0x4022a7=_0x240f0c[_0x272e13(0x20a)](_0x4ed22f=>_0x4ed22f[_0x272e13(0x17f)]());return this[_0x272e13(0x1b9)][_0x272e13(0x125)](_0x4022a7);}[_0x1bea44(0x145)](_0x57345b,_0x45ec03){const _0xb261c2=_0x1bea44;return this[_0xb261c2(0x1b9)][_0xb261c2(0x147)](_0x57345b)[_0xb261c2(0x20a)]((_0x7f0eb3,_0x4c38ae)=>{const _0x10aedc=_0xb261c2,_0x55d36d=_0x10aedc(0x1a6)==_0x45ec03[_0x4c38ae][_0x10aedc(0x209)];if(_0x10aedc(0x1b6)==_0x7f0eb3[_0x10aedc(0x1d9)]){const _0x4fe34c=_0x7f0eb3[_0x10aedc(0x164)][_0x10aedc(0x17c)];!this[_0x10aedc(0x162)][_0x10aedc(0x1ea)](_0x4fe34c)&&(this[_0x10aedc(0x162)][_0x10aedc(0x1bb)](_0x10aedc(0x196),_0x4fe34c)[_0x10aedc(0x136)]=!0x1);}const _0x222ae7=_0x1b1d77[_0x10aedc(0x1f4)](_0x7f0eb3,this[_0x10aedc(0x162)]);return _0x222ae7[_0x10aedc(0x182)]=_0x7f0eb3[_0x10aedc(0x182)],_0x222ae7[_0x10aedc(0x16e)]=_0x55d36d,_0x222ae7[_0x10aedc(0x1d2)]=_0x55d36d?null:_0x45ec03[_0x4c38ae][_0x10aedc(0x115)],_0x222ae7[_0x10aedc(0x1ee)]=_0x10aedc(0x1e2)===_0x45ec03[_0x4c38ae][_0x10aedc(0x209)],_0x222ae7[_0x10aedc(0x13d)]=_0x45ec03[_0x4c38ae][_0x10aedc(0x13d)],_0x222ae7;});}[_0x1bea44(0x165)](){const _0x286150=_0x1bea44;this[_0x286150(0x1b1)]=!0x0,this[_0x286150(0x119)]()?this[_0x286150(0x1f8)]():this[_0x286150(0x1b1)]=!0x1;}[_0x1bea44(0x119)](){const _0x10e429=_0x1bea44,_0x428faf=this[_0x10e429(0x19b)][_0x10e429(0x1a2)][_0x10e429(0x1b8)](_0x10f393)[_0x10e429(0x19e)][_0x10e429(0x1b8)](this[_0x10e429(0x1a1)]);return!this[_0x10e429(0x19b)][_0x10e429(0x12a)]&&!!_0x428faf&&_0x428faf[_0x10e429(0x195)]>0x1&&this[_0x10e429(0x1b1)];}[_0x1bea44(0x1de)](){const _0x51ef07=_0x1bea44;return this[_0x51ef07(0x198)][_0x51ef07(0x195)]>0x0||this[_0x51ef07(0x119)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x36cab0,_0x3f8685){const _0x6f1076=_0x1bea44;for(const _0x489c2b of _0x36cab0)_0x489c2b[_0x6f1076(0x128)]=_0x3f8685++;}class J{[_0x1bea44(0x1ae)];[_0x1bea44(0x146)];constructor(_0x3a4a88){const _0x2bad40=_0x1bea44;this[_0x2bad40(0x1ae)]=_0x3a4a88,this[_0x2bad40(0x146)]=new WeakMap();}[_0x1bea44(0x194)](_0x4c9417){const _0x40d0b2=_0x1bea44;let _0x30824c=_0x4c9417[_0x40d0b2(0x195)];for(;_0x30824c--;){const _0x4202d1=_0x4c9417[_0x30824c];if(!this[_0x40d0b2(0x1ae)][_0x40d0b2(0x1c0)](_0x4202d1)){if(!this[_0x40d0b2(0x146)][_0x40d0b2(0x1c0)](_0x4202d1)){const _0x4fc11c=_0xff2b59()[_0x40d0b2(0x1e7)](0x1,0x12);this[_0x40d0b2(0x146)][_0x40d0b2(0x1d3)](_0x4202d1,_0x4fc11c);}return this[_0x40d0b2(0x146)][_0x40d0b2(0x1b8)](_0x4202d1);}}}[_0x1bea44(0x19a)](_0x1c6e3d,_0x45128f){const _0x433b0c=_0x1bea44;if(!_0x45128f)return;let _0x4d90c9=_0x1c6e3d[_0x433b0c(0x195)];for(;_0x4d90c9--;){const _0x355791=_0x1c6e3d[_0x4d90c9];this[_0x433b0c(0x1ae)][_0x433b0c(0x1c0)](_0x355791)||this[_0x433b0c(0x146)][_0x433b0c(0x1d3)](_0x355791,_0x45128f);}}}
23
+ const _0x3b202c=_0x2606;(function(_0x37b557,_0x4b08ed){const _0x5df192=_0x2606,_0x28c5e4=_0x37b557();while(!![]){try{const _0x4f0809=-parseInt(_0x5df192(0x2f4))/0x1+-parseInt(_0x5df192(0x2a5))/0x2+-parseInt(_0x5df192(0x2b7))/0x3+parseInt(_0x5df192(0x2dd))/0x4+parseInt(_0x5df192(0x2c3))/0x5+-parseInt(_0x5df192(0x2a8))/0x6*(-parseInt(_0x5df192(0x2d1))/0x7)+-parseInt(_0x5df192(0x210))/0x8;if(_0x4f0809===_0x4b08ed)break;else _0x28c5e4['push'](_0x28c5e4['shift']());}catch(_0x1e2cdd){_0x28c5e4['push'](_0x28c5e4['shift']());}}}(_0x5ec4,0x8c8ad));import{Plugin as _0x479546,PendingActions as _0x32a548}from'ckeditor5/src/core.js';import{CKEditorError as _0x2e0fe9,version as _0x35d2a4,uid as _0x9da4d9}from'ckeditor5/src/utils.js';import{Notification as _0x3926f0}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3f68d6,NoOperation as _0x49d723,InsertOperation as _0x4876c1,MarkerOperation as _0x25668c,RootAttributeOperation as _0x18acc0,OperationFactory as _0x443ad0,History as _0x8c8c93}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x2febcc}from'./websocketgateway.js';import{Sessions as _0x50cf21}from'./sessions.js';function _0x5ec4(){const _0x346be3=['config','slice','connection','off','404','sessionCreatedAt','_setUpDataInit','setPermissions','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_pendingAction','path','cloud-services-internal-error:\x20Not\x20connected.','length','realtimecollaborationclient-init-service-incorrect-server-operation','code','cloud-services-internal-error:\x20Request\x20timeout.','change:_isPendingUpdate','realtimecollaborationclient-init-session-connection-error','_initThrowingOnDataSet','PENDING_ACTION_SENDING_DATA','insert','sendOperations','_clearPendingAction','multi-root-editor-root-attributes-no-root','lastDocumentSession','end','connected','locale','CommentsOnly','createRange','return','destroy','_bufferRootLoad','attributes','loadRoot','state','directChange','currentDocumentSession','high','history','clone','stop','_knownOperations','_shouldSendUpdate','_initSessionsHandling','finally','cs:removeUser','set','includes','entries','rtc-destroyed','_handleReconnectionError','fromJSON','addOperation','roots','reset','_setPendingAction','apply','__className','_connectService','isReadOnly','createdAt','fire','reconnect','_disconnectionOperations','_baseBufferDelay','ready','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.','_ignoredOperations','realtimecollaborationclient-sendbufferedoperations','_compressOperations','disableReadOnlyMode','initData','realtimecollaborationclient-init-service-internal-error','mySessionId','reconnection:\x20flushed\x20session','_hasSelectionChanged','_document','_getOperationsFromInitData','lastOperationId','_offset','startsWith','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','view','409','_isEditingAllowed','$root','538250LEQqgR','getOperationAuthor','wereChangesApplied','261978lxZKsD','_isDisconnection','createRoot','editing','parse','setIdForTheLastOperation','then','CollaborativeEditingService','_loadRoot','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_hasSynchronizationProblem','_sendBufferedOperationsDelayId','_handleServerResponse','model','1522197AAgbjQ','sessionAdd:','realtimecollaborationclient-init-non-existent-root','isUndoneOperation','_compressor','lastOperationAcceptedAt','move','disconnected','size','real-time-collaboration','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.','applyOperation','440680FbjOPS','affectedSelectable','compress','addRoot','targetPosition','selection','requires','removeFromReconnectionStack','createPositionFromPath','init','showWarning','data','from','_refreshUserSelectionMarkers','182eoNcOa','_sendBufferedOperations','wasUndone','document:write','realtimecollaborationclient-handleserverresponse','sessionId','getUser','_fetchMissingUsers','addUser','_currentBufferDelay','register','catch','2838244EDFAvz','createUserMarkerOperations','define','collaboration-missing-channelid','addToReconnectionStack','rtc-offline','listenTo','newRange','realtimecollaborationclient-init-connection-failed','remove','_decompressOperations','bind','Permissions','_knownRootNames','_isPendingUpdate','root','change:_isEditingAllowed','_bufferedOperations','getIdOfTheLastOperation','collaboration.channelId','Notification','push','getOperations','475345wwrKlD','differ','_updateServerHistory','affectsData','_lastSyncedOperationId','round','toJSON','InsertOperation','isDocumentOperation','_operationToId','suppressErrorInCollaboration','cloudDocumentVersion','change:range','Synchronization\x20issue','realtimecollaborationclient-init-document-already-initialized','get','start','getMany','_saveOperationInBuffer','_handleReceivedOperations','isEnabled','type','userId','version','addRootAttribute','batch','_sendBufferedOperationsDelayed','lastSyncVersion','serverHistory','_channelId','keys','_handleInitialConnectionData','843240eJraoJ','realtimecollaborationclient','permissions','message','_applyOperationsSet','isPremiumPlugin','_isLoaded','position','editor','enableReadOnlyMode','getConnectedSessions','rootName','change:hasDomSelection','_operationIdentifier','operationsReceived','markers','_handleReconnectionResponse','collaboration','rootsAttributes','add','disconnect','decompress','forEach','_connectAfterSessionHasBeenFlushed','_disconnectService','getDocumentDetails','baseVersion','error','_service','document','RealTimeCollaborationClient','_getAffectedRoot','pluginName','getRoot','filter','_isAttached','_authorId','stopListening','_addKnownRoot','metadata','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','createPositionAt','offset','map','_isConnected','realtimecollaborationclient-error','_crash','enqueueChange','_isInit','_waitUntilSynced','cloudServices.bundleVersion','marker','string','isOfficialPlugin','_shouldSendSelectionUpdate','_lastServerVersion','connect','channelSessions','unregister','plugins','has','_handleExternalOperations'];_0x5ec4=function(){return _0x346be3;};return _0x5ec4();}import{UserMarkers as _0x3c8c70}from'./usermarkers.js';import{getTranslation as _0x58be86}from'../common-translations.js';import{Compressor as _0x153eef}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5bfdc9}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x41b87c,CollaborativeEditingService as _0x3308f6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2606(_0xa585a2,_0x48aca1){const _0x5ec4ca=_0x5ec4();return _0x2606=function(_0x260670,_0x391ae1){_0x260670=_0x260670-0x1f2;let _0x570c64=_0x5ec4ca[_0x260670];return _0x570c64;},_0x2606(_0xa585a2,_0x48aca1);}let H=0x1;class l extends _0x479546{static [_0x3b202c(0x2af)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3308f6)());[_0x3b202c(0x29e)];[_0x3b202c(0x2d6)];[_0x3b202c(0x20c)];[_0x3b202c(0x20d)];[_0x3b202c(0x22c)];[_0x3b202c(0x29b)];[_0x3b202c(0x2bb)];[_0x3b202c(0x2ee)];[_0x3b202c(0x278)];[_0x3b202c(0x2ea)];[_0x3b202c(0x257)];[_0x3b202c(0x29a)];[_0x3b202c(0x2b4)];[_0x3b202c(0x28f)];[_0x3b202c(0x2da)];[_0x3b202c(0x1f4)];[_0x3b202c(0x28e)];[_0x3b202c(0x21d)];static get[_0x3b202c(0x2c9)](){return[_0x2febcc,_0x50cf21,_0x3c8c70,_0x32a548,_0x5bfdc9,_0x3926f0];}static get[_0x3b202c(0x230)](){const _0x1c1f31=_0x3b202c;return _0x1c1f31(0x22e);}static get[_0x3b202c(0x245)](){return!0x0;}static get[_0x3b202c(0x215)](){return!0x0;}get[_0x3b202c(0x1fb)](){const _0x20218b=_0x3b202c;return this[_0x20218b(0x247)]+this[_0x20218b(0x29e)];}get[_0x3b202c(0x247)](){const _0x50c851=_0x3b202c;return this[_0x50c851(0x20c)][_0x50c851(0x207)]-this[_0x50c851(0x29e)];}get[_0x3b202c(0x20b)](){const _0x3e3269=_0x3b202c,_0x2747f7=this[_0x3e3269(0x20c)][_0x3e3269(0x2f3)]();for(let _0x4f5b67=_0x2747f7[_0x3e3269(0x25a)]-0x1;_0x4f5b67>=0x0;_0x4f5b67--){const _0x570064=_0x2747f7[_0x4f5b67];if(!this[_0x3e3269(0x28e)][_0x3e3269(0x24c)](_0x570064))return _0x570064[_0x3e3269(0x22a)]+0x1-this[_0x3e3269(0x29e)];}return 0x0;}constructor(_0xcc464f){const _0x35d1be=_0x3b202c;if(super(_0xcc464f),this[_0x35d1be(0x29e)]=0x0,this[_0x35d1be(0x2d6)]=null,this[_0x35d1be(0x20c)]=new _0x8c8c93(),this[_0x35d1be(0x218)][_0x35d1be(0x24e)][_0x35d1be(0x2df)](_0x35d1be(0x221),{}),this[_0x35d1be(0x20d)]=this[_0x35d1be(0x218)][_0x35d1be(0x24e)][_0x35d1be(0x1ff)](_0x35d1be(0x2f0)),!this[_0x35d1be(0x20d)])throw new _0x2e0fe9(_0x35d1be(0x2e0),this);const _0x54847b=_0xcc464f[_0x35d1be(0x24e)][_0x35d1be(0x1ff)](_0x35d1be(0x242))||_0x35d2a4;this[_0x35d1be(0x22c)]=new l[(_0x35d1be(0x2af))](_0x54847b,this[_0x35d1be(0x20d)]),this[_0x35d1be(0x29b)]=this[_0x35d1be(0x218)][_0x35d1be(0x2b6)][_0x35d1be(0x22d)],this[_0x35d1be(0x2bb)]=new _0x153eef(),this[_0x35d1be(0x2ee)]=[],this[_0x35d1be(0x278)]=new WeakSet(),this[_0x35d1be(0x2ea)]=new Set(),this[_0x35d1be(0x27d)](_0x35d1be(0x2eb),!0x1),this[_0x35d1be(0x27d)](_0x35d1be(0x2b3),!0x1),this[_0x35d1be(0x257)]=null,this[_0x35d1be(0x29a)]=!0x1,this[_0x35d1be(0x2b4)]=null,this[_0x35d1be(0x28f)]=0x12c,this[_0x35d1be(0x2da)]=this[_0x35d1be(0x28f)],this[_0x35d1be(0x1f4)]=null,this[_0x35d1be(0x28e)]=new WeakSet(),this[_0x35d1be(0x21d)]=new F(this[_0x35d1be(0x28e)]);}[_0x3b202c(0x2cc)](){const _0x26ddc2=_0x3b202c,_0x3be356=this[_0x26ddc2(0x218)],_0x2e54c9=_0x3be356[_0x26ddc2(0x24b)][_0x26ddc2(0x1ff)](_0x5bfdc9),_0x535b15=_0x3be356[_0x26ddc2(0x24b)][_0x26ddc2(0x1ff)](_0x2febcc);this[_0x26ddc2(0x2e3)](_0x2e54c9,_0x26ddc2(0x2a6),(_0x100451,_0x28546f)=>{const _0x47d9a5=_0x26ddc2,_0x414ddb=_0x28546f[0x0];_0x414ddb[_0x47d9a5(0x234)]&&(_0x100451[_0x47d9a5(0x26c)]=_0x2e54c9[_0x47d9a5(0x2d7)](_0x414ddb[_0x47d9a5(0x234)]),_0x100451[_0x47d9a5(0x277)]()),null===_0x414ddb[_0x47d9a5(0x234)]&&(_0x100451[_0x47d9a5(0x26c)]=null,_0x100451[_0x47d9a5(0x277)]());},{'priority':_0x26ddc2(0x274)}),this[_0x26ddc2(0x2e3)](_0x3be356[_0x26ddc2(0x2b6)][_0x26ddc2(0x22d)][_0x26ddc2(0x2c8)],_0x26ddc2(0x1fc),(_0x45b822,_0x362ca6)=>{const _0x51a2f2=_0x26ddc2;_0x362ca6[_0x51a2f2(0x272)]&&this[_0x51a2f2(0x2d0)]();}),this[_0x26ddc2(0x2e3)](_0x3be356[_0x26ddc2(0x2ab)][_0x26ddc2(0x2a1)],_0x26ddc2(0x21c),()=>{const _0xf50baa=_0x26ddc2;this[_0xf50baa(0x2d0)]();}),this[_0x26ddc2(0x260)](),_0x3be356[_0x26ddc2(0x2b6)]['on'](_0x26ddc2(0x2c2),(_0x484e4d,_0x164d27)=>{const _0x36ffa0=_0x26ddc2,_0x53758f=_0x164d27[0x0];_0x53758f[_0x36ffa0(0x1f8)]&&(this[_0x36ffa0(0x202)](_0x53758f),this[_0x36ffa0(0x279)]()&&this[_0x36ffa0(0x20a)]());}),this[_0x26ddc2(0x254)](),this[_0x26ddc2(0x2e8)](_0x26ddc2(0x2a3))['to'](_0x535b15,_0x26ddc2(0x271),this,_0x26ddc2(0x2b3),(_0x38de11,_0x5786e2)=>_0x26ddc2(0x268)===_0x38de11&&!_0x5786e2),this['on'](_0x26ddc2(0x2ed),()=>{const _0x5ab132=_0x26ddc2;this[_0x5ab132(0x2a3)]?_0x3be356[_0x5ab132(0x295)](_0x5ab132(0x2e2)):_0x3be356[_0x5ab132(0x219)](_0x5ab132(0x2e2));}),this[_0x26ddc2(0x2a3)]?_0x3be356[_0x26ddc2(0x295)](_0x26ddc2(0x2e2)):_0x3be356[_0x26ddc2(0x219)](_0x26ddc2(0x2e2)),this[_0x26ddc2(0x27d)](_0x26ddc2(0x23c),!0x1);}async[_0x3b202c(0x28d)](){const _0x5452ae=_0x3b202c,_0x33b5fa=this[_0x5452ae(0x218)][_0x5452ae(0x24b)][_0x5452ae(0x1ff)](_0x50cf21),_0x416335=this[_0x5452ae(0x218)][_0x5452ae(0x24b)][_0x5452ae(0x1ff)](_0x2febcc);try{this[_0x5452ae(0x2eb)]=!0x0,_0x33b5fa[_0x5452ae(0x24a)](this[_0x5452ae(0x20d)]);const _0xafef25=await this[_0x5452ae(0x22c)][_0x5452ae(0x28d)](_0x416335[_0x5452ae(0x250)],this[_0x5452ae(0x20b)]);await this[_0x5452ae(0x220)](_0xafef25)&&(this[_0x5452ae(0x2eb)]=!0x1,this[_0x5452ae(0x264)]());const _0x46605f=await this[_0x5452ae(0x22c)][_0x5452ae(0x21a)]();_0x33b5fa[_0x5452ae(0x2db)](this[_0x5452ae(0x20d)],_0x46605f),this[_0x5452ae(0x2b1)](),this[_0x5452ae(0x23c)]=!0x0;}catch(_0x5c79e9){if(function(_0x59242b){const _0xa0bc41=_0x5452ae;return _0xa0bc41(0x252)===_0x59242b[_0xa0bc41(0x25c)];}(_0x5c79e9)&&this[_0x5452ae(0x2d6)])await this[_0x5452ae(0x227)]();else{if(function(_0x45cf61){const _0x57c5ce=_0x5452ae;return _0x57c5ce(0x2a2)===_0x45cf61[_0x57c5ce(0x25c)];}(_0x5c79e9)){const _0xa7568f=_0x58be86(this[_0x5452ae(0x218)][_0x5452ae(0x269)],_0x5452ae(0x2a0));this[_0x5452ae(0x281)](_0xa7568f);}else{if(!(_0x5c79e9 instanceof V))throw _0x5c79e9;this[_0x5452ae(0x281)]();}}}}[_0x3b202c(0x26d)](){const _0x7341b9=_0x3b202c,_0x275e17=this[_0x7341b9(0x218)][_0x7341b9(0x24b)][_0x7341b9(0x1ff)](_0x2febcc),_0x2f07fe=this[_0x7341b9(0x218)][_0x7341b9(0x24b)][_0x7341b9(0x1ff)](_0x50cf21);this[_0x7341b9(0x218)][_0x7341b9(0x219)](_0x7341b9(0x280)),_0x2f07fe[_0x7341b9(0x249)][_0x7341b9(0x24c)](this[_0x7341b9(0x20d)])&&_0x2f07fe[_0x7341b9(0x24a)](this[_0x7341b9(0x20d)]),_0x275e17[_0x7341b9(0x2ca)](this),this[_0x7341b9(0x228)](),super[_0x7341b9(0x26d)]();}async[_0x3b202c(0x220)](_0x3fca32){const _0x3d7df9=_0x3b202c;if(this[_0x3d7df9(0x2d6)]!==_0x3fca32[_0x3d7df9(0x2d6)]&&this[_0x3d7df9(0x1f4)]!==_0x3fca32[_0x3d7df9(0x29d)])throw new V();return this[_0x3d7df9(0x2d6)]=_0x3fca32[_0x3d7df9(0x2d6)],this[_0x3d7df9(0x2b5)]([],{..._0x3fca32,'wereChangesApplied':!0x1,'data':_0x3fca32[_0x3d7df9(0x2ce)]},_0x3d7df9(0x28d));}async[_0x3b202c(0x289)](_0x2ecbe1,_0x176195=!0x1){const _0x2e3cb4=_0x3b202c,{connection:_0x23b88b}=this[_0x2e3cb4(0x218)][_0x2e3cb4(0x24b)][_0x2e3cb4(0x1ff)](_0x2febcc);l[_0x2e3cb4(0x2af)][_0x2e3cb4(0x21a)](_0x23b88b,this[_0x2e3cb4(0x20d)])[_0x2e3cb4(0x2ae)](_0x28b319=>this[_0x2e3cb4(0x27a)](_0x28b319))[_0x2e3cb4(0x2dc)](_0xbb3ed2=>{const _0x56cff2=_0x2e3cb4;this[_0x56cff2(0x23e)](_0x56cff2(0x25f),_0xbb3ed2);}),this[_0x2e3cb4(0x2e3)](this[_0x2e3cb4(0x22c)],_0x2e3cb4(0x21e),this[_0x2e3cb4(0x203)][_0x2e3cb4(0x2e8)](this)),this[_0x2e3cb4(0x2e3)](this[_0x2e3cb4(0x22c)],_0x2e3cb4(0x22b),(_0x12ef5c,_0x15553a)=>{const _0x1349b3=_0x2e3cb4;this[_0x1349b3(0x23e)](_0x1349b3(0x297),_0x15553a);}),this[_0x2e3cb4(0x2e3)](this[_0x2e3cb4(0x22c)],_0x2e3cb4(0x2be),()=>{const _0x3ff6c7=_0x2e3cb4;this[_0x3ff6c7(0x23c)]=!0x1;});const _0x178ee7=this[_0x2e3cb4(0x21d)][_0x2e3cb4(0x2ef)](_0x2ecbe1);this[_0x2e3cb4(0x2eb)]=!0x0;const _0x27d594=await this[_0x2e3cb4(0x22c)][_0x2e3cb4(0x248)](_0x23b88b,this[_0x2e3cb4(0x294)](_0x2ecbe1),_0x178ee7);if(this[_0x2e3cb4(0x2d6)]=_0x27d594[_0x2e3cb4(0x2d6)],_0x176195){if(!_0x27d594[_0x2e3cb4(0x2a7)])return void this[_0x2e3cb4(0x281)]();this[_0x2e3cb4(0x2eb)]=!0x1,this[_0x2e3cb4(0x264)](),this[_0x2e3cb4(0x20c)][_0x2e3cb4(0x285)](),this[_0x2e3cb4(0x29e)]=_0x27d594[_0x2e3cb4(0x23a)],this[_0x2e3cb4(0x20c)][_0x2e3cb4(0x207)]=this[_0x2e3cb4(0x29e)],await this[_0x2e3cb4(0x2b5)](_0x2ecbe1,_0x27d594,_0x2e3cb4(0x299));}else await this[_0x2e3cb4(0x20f)](_0x27d594,_0x2ecbe1);this[_0x2e3cb4(0x2b1)](),this[_0x2e3cb4(0x23c)]=!0x0;}[_0x3b202c(0x2b1)](){const _0x376cc6=_0x3b202c,_0x1022ab=this[_0x376cc6(0x218)][_0x376cc6(0x24b)][_0x376cc6(0x1ff)](_0x50cf21),_0x5ae2a3=this[_0x376cc6(0x218)][_0x376cc6(0x24b)][_0x376cc6(0x1ff)](_0x3c8c70),_0x2f783d=_0x1022ab[_0x376cc6(0x249)][_0x376cc6(0x1ff)](this[_0x376cc6(0x20d)]);_0x2f783d&&_0x2f783d[_0x376cc6(0x25a)]>0x1?_0x5ae2a3[_0x376cc6(0x2de)]():this[_0x376cc6(0x2e3)](_0x1022ab,_0x376cc6(0x2b8)+this[_0x376cc6(0x20d)],()=>{const _0x65078e=_0x376cc6;0x2===_0x1022ab[_0x65078e(0x249)][_0x65078e(0x1ff)](this[_0x65078e(0x20d)])[_0x65078e(0x25a)]&&_0x5ae2a3[_0x65078e(0x2de)]();});}async[_0x3b202c(0x203)](_0x30197e,_0x2eaf46,_0x412b60,_0x8c497a){const _0x5c03a6=_0x3b202c;if(!this[_0x5c03a6(0x2eb)]&&this[_0x5c03a6(0x29b)][_0x5c03a6(0x207)]==_0x2eaf46){const _0x1ca20b=this[_0x5c03a6(0x2e7)](_0x412b60,_0x8c497a);await this[_0x5c03a6(0x2d8)](_0x1ca20b),this[_0x5c03a6(0x24d)](_0x1ca20b,_0x2eaf46,_0x412b60[_0x5c03a6(0x29d)])||this[_0x5c03a6(0x23e)](_0x5c03a6(0x25b));}}async[_0x3b202c(0x227)](){const _0x46ae1d=_0x3b202c;this[_0x46ae1d(0x228)]();const {locale:_0x9e18de}=this[_0x46ae1d(0x218)];let _0x379add;try{_0x379add=await this[_0x46ae1d(0x22c)][_0x46ae1d(0x229)]();}catch{const _0x1fb9b7=_0x58be86(_0x9e18de,_0x46ae1d(0x256));return void this[_0x46ae1d(0x281)](_0x1fb9b7);}const _0x1c9056=_0x379add[_0x46ae1d(0x273)]||_0x379add[_0x46ae1d(0x266)];if(this[_0x46ae1d(0x1f4)]!==_0x1c9056[_0x46ae1d(0x29d)]){const _0x598bad=_0x58be86(_0x9e18de,_0x46ae1d(0x291));return void this[_0x46ae1d(0x281)](_0x598bad);}await this[_0x46ae1d(0x289)](this[_0x46ae1d(0x218)][_0x46ae1d(0x2b6)][_0x46ae1d(0x22d)][_0x46ae1d(0x275)][_0x46ae1d(0x2f3)](),!0x0);}[_0x3b202c(0x228)](){const _0x416f11=_0x3b202c;this[_0x416f11(0x22c)][_0x416f11(0x224)](),this[_0x416f11(0x2ee)]=[],clearTimeout(this[_0x416f11(0x2b4)]),this[_0x416f11(0x235)](this[_0x416f11(0x22c)]);}[_0x3b202c(0x27a)](_0x1d8eef){const _0x24784f=_0x3b202c,_0x1b3dc7=this[_0x24784f(0x218)][_0x24784f(0x24b)][_0x24784f(0x1ff)](_0x50cf21);this[_0x24784f(0x2e3)](_0x1b3dc7,_0x24784f(0x2b8)+this[_0x24784f(0x20d)],(_0x5ad558,{session:_0xc87350})=>{const _0x552fee=_0x24784f;if(_0xc87350['id']===_0x1b3dc7[_0x552fee(0x298)]){_0x5ad558[_0x552fee(0x251)]();const _0xe9ed94=this[_0x552fee(0x218)][_0x552fee(0x24b)][_0x552fee(0x24c)](_0x552fee(0x26a))&&this[_0x552fee(0x218)][_0x552fee(0x24b)][_0x552fee(0x1ff)](_0x552fee(0x26a));let _0x2dd304=_0xc87350[_0x552fee(0x212)];_0xe9ed94&&_0xe9ed94[_0x552fee(0x204)]&&(_0x2dd304=_0x2dd304[_0x552fee(0x232)](_0xd752f5=>_0x552fee(0x2d4)!==_0xd752f5)),this[_0x552fee(0x218)][_0x552fee(0x24b)][_0x552fee(0x1ff)](_0x552fee(0x2e9))[_0x552fee(0x255)](_0x2dd304,this[_0x552fee(0x20d)]);}}),_0x1b3dc7[_0x24784f(0x2db)](this[_0x24784f(0x20d)],_0x1d8eef);}[_0x3b202c(0x260)](){const _0x3e924e=_0x3b202c,_0x190c5c=this[_0x3e924e(0x218)][_0x3e924e(0x2ce)][_0x3e924e(0x27d)];this[_0x3e924e(0x218)][_0x3e924e(0x2ce)][_0x3e924e(0x27d)]=(..._0x4fac8e)=>{const _0x1e4f09=_0x3e924e;if(!_0x4fac8e[_0x4fac8e[_0x1e4f09(0x25a)]-0x1][_0x1e4f09(0x1fa)])throw new _0x2e0fe9(_0x1e4f09(0x238),this);_0x190c5c[_0x1e4f09(0x287)](this[_0x1e4f09(0x218)][_0x1e4f09(0x2ce)],_0x4fac8e);};}[_0x3b202c(0x254)](){const _0x3a27c2=_0x3b202c;this[_0x3a27c2(0x218)][_0x3a27c2(0x2ce)]['on'](_0x3a27c2(0x2cc),(_0x3407ff,[_0x29435b])=>{const _0x41ca16=_0x3a27c2;if(this[_0x41ca16(0x29b)][_0x41ca16(0x207)])throw new _0x2e0fe9(_0x41ca16(0x1fe),this);_0x3407ff[_0x41ca16(0x277)](),this[_0x41ca16(0x286)]();const _0x49bde5=this[_0x41ca16(0x218)][_0x41ca16(0x24e)][_0x41ca16(0x1ff)](_0x41ca16(0x222)),_0x5a3dd3=this[_0x41ca16(0x29c)](_0x29435b,_0x49bde5);0x0==_0x5a3dd3[_0x41ca16(0x25a)]&&_0x5a3dd3[_0x41ca16(0x2f2)](new _0x49d723(0x0)),_0x3407ff[_0x41ca16(0x26c)]=this[_0x41ca16(0x289)](_0x5a3dd3)[_0x41ca16(0x2ae)](()=>{const _0x47bc36=_0x41ca16;this[_0x47bc36(0x218)][_0x47bc36(0x24b)][_0x47bc36(0x1ff)](_0x2febcc)[_0x47bc36(0x2e1)](this),this[_0x47bc36(0x218)][_0x47bc36(0x2ce)][_0x47bc36(0x28c)](_0x47bc36(0x290));})[_0x41ca16(0x2dc)](_0x3d3172=>this[_0x41ca16(0x23e)](_0x41ca16(0x2e5),_0x3d3172))[_0x41ca16(0x27b)](()=>this[_0x41ca16(0x264)]());},{'priority':_0x3a27c2(0x274)}),this[_0x3a27c2(0x218)]['on'](_0x3a27c2(0x270),async(_0x144880,[_0xf910e8,_0x8bda82])=>{const _0x2f2270=_0x3a27c2;_0x144880[_0x2f2270(0x277)]();const _0x1ab177=this[_0x2f2270(0x218)][_0x2f2270(0x2b6)][_0x2f2270(0x22d)][_0x2f2270(0x231)](_0xf910e8);if(!this[_0x2f2270(0x2ea)][_0x2f2270(0x24c)](_0xf910e8)){const _0x43e459=_0x8bda82&&_0x8bda82[_0x2f2270(0x2ce)]?_0x8bda82[_0x2f2270(0x2ce)]:'',_0x4d353b=_0x8bda82&&_0x8bda82[_0x2f2270(0x26f)]?_0x8bda82[_0x2f2270(0x26f)]:{};await this[_0x2f2270(0x2b0)](_0xf910e8,_0x43e459,_0x4d353b);}this[_0x2f2270(0x218)][_0x2f2270(0x2b6)][_0x2f2270(0x23f)]({'isUndoable':!0x1},()=>{const _0x5ad167=_0x2f2270;_0x1ab177[_0x5ad167(0x216)]=!0x0,this[_0x5ad167(0x218)][_0x5ad167(0x2b6)][_0x5ad167(0x22d)][_0x5ad167(0x2f5)][_0x5ad167(0x26e)](_0x1ab177);});},{'priority':_0x3a27c2(0x274)});}async[_0x3b202c(0x2d8)](_0x5f1798){const _0x38cbae=_0x3b202c,_0xa8c1e4=this[_0x38cbae(0x218)][_0x38cbae(0x24b)][_0x38cbae(0x1ff)](_0x5bfdc9),{connection:_0x2cf69f}=this[_0x38cbae(0x218)][_0x38cbae(0x24b)][_0x38cbae(0x1ff)](_0x2febcc),_0x46385e=new Set();for(const _0x3f8108 of _0x5f1798){const _0x16b696=_0x3f8108[_0x38cbae(0x234)];_0x16b696&&!_0xa8c1e4[_0x38cbae(0x2d7)](_0x16b696)&&_0x46385e[_0x38cbae(0x223)](_0x16b696);}if(0x0===_0x46385e[_0x38cbae(0x2bf)])return;const _0x3222d0=await _0x41b87c[_0x38cbae(0x201)](_0x2cf69f,Array[_0x38cbae(0x2cf)](_0x46385e));for(const _0x1a0d2d of _0x3222d0)_0xa8c1e4[_0x38cbae(0x2d7)](_0x1a0d2d['id'])||_0xa8c1e4[_0x38cbae(0x2d9)](_0x1a0d2d);}[_0x3b202c(0x29c)](_0x2ec524,_0x37959f={}){const _0x2a162e=_0x3b202c,_0x465daa=this[_0x2a162e(0x218)][_0x2a162e(0x2b6)],_0x36d0b0=[];let _0x224e62=0x0;const _0x5e6e7b=_0x2a162e(0x244)==typeof _0x2ec524?{'main':_0x2ec524}:_0x2ec524;for(const _0x327067 of Object[_0x2a162e(0x20e)](_0x5e6e7b)){if(!this[_0x2a162e(0x29b)][_0x2a162e(0x284)][_0x2a162e(0x24c)](_0x327067))throw new _0x2e0fe9(_0x2a162e(0x2b9),this);const _0x71df7=this[_0x2a162e(0x218)][_0x2a162e(0x2ce)][_0x2a162e(0x2ac)](_0x5e6e7b[_0x327067]),_0x3c4b83=this[_0x2a162e(0x29b)][_0x2a162e(0x231)](_0x327067),_0x399810=new _0x4876c1(_0x465daa[_0x2a162e(0x239)](_0x3c4b83,0x0),_0x71df7,_0x224e62++);_0x36d0b0[_0x2a162e(0x2f2)](_0x399810);for(const [_0x30bd45,_0x150be2]of _0x71df7[_0x2a162e(0x21f)]){const _0x81a110=_0x465daa[_0x2a162e(0x26b)](_0x465daa[_0x2a162e(0x2cb)](_0x3c4b83,_0x150be2[_0x2a162e(0x200)][_0x2a162e(0x258)][_0x2a162e(0x24f)]()),_0x465daa[_0x2a162e(0x2cb)](_0x3c4b83,_0x150be2[_0x2a162e(0x267)][_0x2a162e(0x258)][_0x2a162e(0x24f)]())),_0x37aeb1=new _0x25668c(_0x30bd45,null,_0x81a110,_0x465daa[_0x2a162e(0x21f)],!0x0,_0x224e62++);_0x36d0b0[_0x2a162e(0x2f2)](_0x37aeb1);}}if(_0x37959f)for(const [_0x3d9883,_0x2c1481]of Object[_0x2a162e(0x27f)](_0x37959f)){const _0x564b51=_0x465daa[_0x2a162e(0x22d)][_0x2a162e(0x231)](_0x3d9883);if(!_0x564b51)throw new _0x2e0fe9(_0x2a162e(0x265),null);for(const [_0x5c7ef4,_0xd92915]of Object[_0x2a162e(0x27f)](_0x2c1481))if(null!==_0xd92915){const _0xdf1a9f=new _0x18acc0(_0x564b51,_0x5c7ef4,null,_0xd92915,_0x224e62++);_0x36d0b0[_0x2a162e(0x2f2)](_0xdf1a9f);}}return _0x36d0b0;}async[_0x3b202c(0x2b0)](_0x8a5667,_0x158d73,_0x2490e4){const _0x137fbb=_0x3b202c;this[_0x137fbb(0x29c)]({[_0x8a5667]:_0x158d73},{[_0x8a5667]:_0x2490e4})[_0x137fbb(0x226)]((_0x5e60e1,_0x2017f9)=>{const _0x1b1898=_0x137fbb;_0x5e60e1[_0x1b1898(0x22a)]=this[_0x1b1898(0x29b)][_0x1b1898(0x207)]+_0x2017f9,_0x5e60e1[_0x1b1898(0x240)]=!0x0,this[_0x1b1898(0x202)](_0x5e60e1);}),this[_0x137fbb(0x20a)](),await this[_0x137fbb(0x241)]();}async[_0x3b202c(0x20f)](_0x22a4d8,_0x5bc754){const _0xb8e70f=_0x3b202c;let _0x3a97a6;this[_0xb8e70f(0x29e)]=_0x22a4d8[_0xb8e70f(0x23a)];const _0x3b39d0=_0x22a4d8[_0xb8e70f(0x2a7)]&&!_0x22a4d8[_0xb8e70f(0x296)],_0x413932=_0x3b39d0?0x0:_0x22a4d8[_0xb8e70f(0x2ce)][_0xb8e70f(0x22a)];if(_0x5bc754[_0xb8e70f(0x226)](_0x14f0e2=>{const _0x9cda91=_0xb8e70f;_0x14f0e2[_0x9cda91(0x240)]=!0x0,_0x14f0e2[_0x9cda91(0x28b)]=_0x22a4d8[_0x9cda91(0x253)],_0x14f0e2[_0x9cda91(0x234)]=null;}),_0x3b39d0)_0x3a97a6=_0x5bc754,this[_0xb8e70f(0x214)](_0x3a97a6,_0x3b39d0);else{if(_0x22a4d8[_0xb8e70f(0x296)]){const _0x375d5b=this[_0xb8e70f(0x29c)](_0x22a4d8[_0xb8e70f(0x296)]);this[_0xb8e70f(0x29b)][_0xb8e70f(0x275)][_0xb8e70f(0x207)]=-_0x375d5b[_0xb8e70f(0x25a)],_0x375d5b[_0xb8e70f(0x226)](_0x599d77=>{const _0x56e595=_0xb8e70f;_0x599d77[_0x56e595(0x22a)]-=_0x375d5b[_0x56e595(0x25a)],_0x599d77[_0x56e595(0x28b)]=_0x22a4d8[_0x56e595(0x253)],_0x599d77[_0x56e595(0x240)]=!0x0,_0x599d77[_0x56e595(0x234)]=null;}),this[_0xb8e70f(0x214)](_0x375d5b,!0x0),this[_0xb8e70f(0x20c)][_0xb8e70f(0x207)]=-_0x375d5b[_0xb8e70f(0x25a)]+this[_0xb8e70f(0x29e)],this[_0xb8e70f(0x1f2)](_0x375d5b);}this[_0xb8e70f(0x29b)][_0xb8e70f(0x275)][_0xb8e70f(0x207)]=_0x413932,_0x3a97a6=this[_0xb8e70f(0x2e7)](_0x22a4d8[_0xb8e70f(0x2ce)],_0x22a4d8[_0xb8e70f(0x237)]),await this[_0xb8e70f(0x2d8)](_0x3a97a6),this[_0xb8e70f(0x214)](_0x3a97a6,_0x3b39d0);}_0x22a4d8[_0xb8e70f(0x29d)]&&(this[_0xb8e70f(0x21d)][_0xb8e70f(0x2ad)](_0x3a97a6,_0x22a4d8[_0xb8e70f(0x29d)]),this[_0xb8e70f(0x1f4)]=_0x22a4d8[_0xb8e70f(0x29d)]),this[_0xb8e70f(0x20c)][_0xb8e70f(0x207)]=_0x413932+this[_0xb8e70f(0x29e)],this[_0xb8e70f(0x1f2)](_0x3a97a6),_0x5bc754[_0xb8e70f(0x232)](_0x371ac3=>{const _0x388e9c=_0xb8e70f,_0x1a9b9a=this[_0x388e9c(0x22f)](_0x371ac3);return _0x1a9b9a&&!this[_0x388e9c(0x2ea)][_0x388e9c(0x24c)](_0x1a9b9a);})[_0xb8e70f(0x226)]((_0x2d1e83,_0x54a008)=>{const _0x52f440=_0xb8e70f;_0x2d1e83[_0x52f440(0x22a)]=this[_0x52f440(0x29b)][_0x52f440(0x207)]+_0x54a008,this[_0x52f440(0x202)](_0x2d1e83);}),this[_0xb8e70f(0x279)]()?(this[_0xb8e70f(0x2da)]=0x0,this[_0xb8e70f(0x20a)](!0x0),await this[_0xb8e70f(0x241)]()):(this[_0xb8e70f(0x2eb)]=!0x1,this[_0xb8e70f(0x264)]());}[_0x3b202c(0x23e)](_0xf912ee,_0x393d2c){const _0x523c3d=_0x3b202c,_0x10e9f1=_0x393d2c&&_0x393d2c[_0x523c3d(0x213)];if(_0x10e9f1&&_0x10e9f1[_0x523c3d(0x29f)](_0x523c3d(0x211)))throw _0x393d2c;const _0x63c4cd=this[_0x523c3d(0x218)][_0x523c3d(0x24b)][_0x523c3d(0x1ff)](_0x2febcc);throw this[_0x523c3d(0x2eb)]=!0x0,_0x63c4cd[_0x523c3d(0x224)](),this[_0x523c3d(0x218)][_0x523c3d(0x219)](_0x523c3d(0x23d)),new _0x2e0fe9(_0xf912ee,this[_0x523c3d(0x218)],_0x10e9f1?{'originalError':_0x10e9f1}:void 0x0);}[_0x3b202c(0x202)](_0x527b03){const _0x2b023a=_0x3b202c;this[_0x2b023a(0x278)][_0x2b023a(0x24c)](_0x527b03)||(this[_0x2b023a(0x278)][_0x2b023a(0x223)](_0x527b03),this[_0x2b023a(0x2ee)][_0x2b023a(0x2f2)](_0x527b03),this[_0x2b023a(0x257)]||_0x2b023a(0x243)==_0x527b03[_0x2b023a(0x205)]&&!_0x527b03[_0x2b023a(0x1f3)]||this[_0x2b023a(0x286)]());}[_0x3b202c(0x20a)](_0x1aaad6=!0x1){const _0x46c6d1=_0x3b202c;!_0x1aaad6&&this[_0x46c6d1(0x2eb)]||(this[_0x46c6d1(0x2eb)]=!0x0,clearTimeout(this[_0x46c6d1(0x2b4)]),this[_0x46c6d1(0x2b4)]=setTimeout(()=>{const _0xd56684=_0x46c6d1;this[_0xd56684(0x2d2)]()[_0xd56684(0x2ae)](_0x3c951c=>{const _0x2d1949=_0xd56684;_0x3c951c&&(this[_0x2d1949(0x264)](),this[_0x2d1949(0x2eb)]=!0x1);})[_0xd56684(0x2dc)](_0x4fe9cf=>{const _0x7263e5=_0xd56684;this[_0x7263e5(0x264)](),this[_0x7263e5(0x2eb)]=!0x1,function(_0x409ecc){const _0x250490=_0x7263e5;return _0x409ecc[_0x250490(0x213)][_0x250490(0x29f)](_0x250490(0x259))||_0x409ecc[_0x250490(0x213)][_0x250490(0x29f)](_0x250490(0x2b2))||_0x409ecc[_0x250490(0x213)][_0x250490(0x29f)](_0x250490(0x25d));}(_0x4fe9cf)||this[_0x7263e5(0x23e)](_0x4fe9cf[_0x7263e5(0x213)],_0x4fe9cf);});},this[_0x46c6d1(0x2da)]));}[_0x3b202c(0x241)](){return new Promise(_0x474b3d=>{const _0x19d146=_0x2606;this['on'](_0x19d146(0x25e),()=>{_0x474b3d();});});}async[_0x3b202c(0x2d2)](){const _0x860010=_0x3b202c,_0x1762c7=this[_0x860010(0x218)][_0x860010(0x24b)][_0x860010(0x1ff)](_0x3c8c70);if(this[_0x860010(0x246)]()&&(_0x1762c7[_0x860010(0x2de)](),this[_0x860010(0x29a)]=!0x1),!this[_0x860010(0x279)]())return!0x0;const _0x207faa=[...this[_0x860010(0x2ee)]];for(const _0xc469a of _0x207faa)_0xc469a[_0x860010(0x2d3)]=this[_0x860010(0x29b)][_0x860010(0x275)][_0x860010(0x2ba)](_0xc469a);const _0x7c288f=this[_0x860010(0x21d)][_0x860010(0x2ef)](_0x207faa),_0x5cd89d=H++,_0x3e56f8=this[_0x860010(0x294)](_0x207faa),_0x47579e=await this[_0x860010(0x22c)][_0x860010(0x263)](_0x3e56f8,_0x3e56f8[_0x860010(0x22a)],_0x7c288f);try{return await this[_0x860010(0x2b5)](_0x207faa,_0x47579e,_0x5cd89d);}catch(_0x20810d){return this[_0x860010(0x23e)](_0x860010(0x293),_0x20810d);}}async[_0x3b202c(0x2b5)](_0x23ed85,_0xd5ae1a,_0x4eab87){const _0x25d894=_0x3b202c;if(_0x25d894(0x22b)in _0xd5ae1a)throw _0xd5ae1a[_0x25d894(0x22b)];let _0x530cef=!0x1;if(_0xd5ae1a[_0x25d894(0x2a7)]){_0xd5ae1a[_0x25d894(0x29d)]&&(this[_0x25d894(0x1f4)]=_0xd5ae1a[_0x25d894(0x29d)]),this[_0x25d894(0x2ee)]=this[_0x25d894(0x2ee)][_0x25d894(0x232)](_0x501608=>!_0x23ed85[_0x25d894(0x27e)](_0x501608));for(const _0x27509e of _0x23ed85)_0x27509e[_0x25d894(0x28b)]=_0x25d894(0x2bc)in _0xd5ae1a&&_0xd5ae1a[_0x25d894(0x2bc)]||void 0x0;W(_0x23ed85,_0xd5ae1a[_0x25d894(0x207)]-_0x23ed85[_0x25d894(0x25a)]),this[_0x25d894(0x1f2)](_0x23ed85);const _0x26e3bb=_0x23ed85[_0x25d894(0x232)](_0x1f6ab7=>{const _0x374985=_0x25d894;if(!_0x1f6ab7[_0x374985(0x240)])return!0x1;const _0x59f941=this[_0x374985(0x22f)](_0x1f6ab7);return _0x59f941&&!this[_0x374985(0x2ea)][_0x374985(0x24c)](_0x59f941);});W(_0x26e3bb,this[_0x25d894(0x29b)][_0x25d894(0x207)]),this[_0x25d894(0x214)](_0x26e3bb),_0x530cef=!0x0,this[_0x25d894(0x2da)]=this[_0x25d894(0x28f)];}else{const _0x21dc26=this[_0x25d894(0x2e7)](_0xd5ae1a[_0x25d894(0x2ce)],_0xd5ae1a[_0x25d894(0x237)])[_0x25d894(0x232)](_0x1f254a=>_0x1f254a[_0x25d894(0x22a)]>=this[_0x25d894(0x247)]);_0x21dc26[_0x25d894(0x226)](_0x453bac=>this[_0x25d894(0x236)](_0x453bac)),this[_0x25d894(0x2ee)]=this[_0x25d894(0x2ee)][_0x25d894(0x232)](_0x36e81e=>!_0x36e81e[_0x25d894(0x240)]||!this[_0x25d894(0x2ea)][_0x25d894(0x24c)](this[_0x25d894(0x22f)](_0x36e81e))),this[_0x25d894(0x2ee)][_0x25d894(0x25a)]&&W(this[_0x25d894(0x2ee)],this[_0x25d894(0x2ee)][0x0][_0x25d894(0x22a)]),await this[_0x25d894(0x2d8)](_0x21dc26),_0x530cef=this[_0x25d894(0x24d)](_0x21dc26,_0xd5ae1a[_0x25d894(0x207)],_0xd5ae1a[_0x25d894(0x29d)]),this[_0x25d894(0x2da)]=Math[_0x25d894(0x1f5)](this[_0x25d894(0x2da)]/0x2);}return _0x530cef?!this[_0x25d894(0x279)]()||(this[_0x25d894(0x20a)](!0x0),!0x1):this[_0x25d894(0x23e)](_0x25d894(0x2d5));}[_0x3b202c(0x24d)](_0x19f903,_0x196d7f,_0x5e24a2){const _0x482945=_0x3b202c;try{const _0x2e4df8={'document':this[_0x482945(0x29b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x72175,operationsB:_0x48f65a,originalOperations:_0x5f04aa}=_0x3f68d6(_0x19f903,this[_0x482945(0x2ee)],_0x2e4df8);W(_0x72175,this[_0x482945(0x29b)][_0x482945(0x207)]),W(_0x48f65a,_0x196d7f);for(const _0x26045b of _0x72175){const _0x46379d=_0x5f04aa[_0x482945(0x1ff)](_0x26045b);_0x26045b[_0x482945(0x234)]=_0x46379d?_0x46379d[_0x482945(0x234)]:null;}_0x5e24a2&&(this[_0x482945(0x21d)][_0x482945(0x2ad)](_0x19f903,_0x5e24a2),this[_0x482945(0x1f4)]=_0x5e24a2),this[_0x482945(0x2ee)]=[..._0x48f65a],this[_0x482945(0x214)](_0x72175),this[_0x482945(0x1f2)](_0x19f903);}catch(_0x2fb282){return console[_0x482945(0x22b)](_0x2fb282),!0x1;}return!0x0;}[_0x3b202c(0x214)](_0x215d34,_0xec331a=!0x1){const _0x197c27=_0x3b202c;this[_0x197c27(0x218)][_0x197c27(0x2b6)][_0x197c27(0x23f)]({'isUndoable':!0x1,'isLocal':!0x1},_0xad5aa6=>{const _0x3d126e=_0x197c27;for(const _0x125fc3 of _0x215d34)this[_0x3d126e(0x278)][_0x3d126e(0x223)](_0x125fc3),this[_0x3d126e(0x236)](_0x125fc3),_0xad5aa6[_0x3d126e(0x209)][_0x3d126e(0x283)](_0x125fc3),this[_0x3d126e(0x218)][_0x3d126e(0x2b6)][_0x3d126e(0x2c2)](_0x125fc3);});}[_0x3b202c(0x236)](_0x4ad52d){const _0x447d83=_0x3b202c,_0x228483=this[_0x447d83(0x22f)](_0x4ad52d);_0x228483&&this[_0x447d83(0x2ea)][_0x447d83(0x223)](_0x228483);}[_0x3b202c(0x22f)](_0x117dc3){const _0x383508=_0x3b202c;let _0x58b137,_0x907788;switch(_0x117dc3[_0x383508(0x205)]){case _0x383508(0x262):_0x58b137=_0x117dc3[_0x383508(0x217)][_0x383508(0x2ec)];break;case _0x383508(0x243):if(_0x907788=_0x117dc3[_0x383508(0x2e4)],!_0x907788)return null;_0x58b137=_0x907788[_0x383508(0x2ec)];break;case _0x383508(0x208):_0x58b137=_0x117dc3[_0x383508(0x2ec)];break;case _0x383508(0x2c6):_0x58b137=_0x117dc3[_0x383508(0x2c4)];break;case _0x383508(0x2bd):_0x58b137=_0x117dc3[_0x383508(0x2c7)][_0x383508(0x2ec)];break;default:return null;}return _0x58b137[_0x383508(0x21b)];}[_0x3b202c(0x1f2)](_0x2b548c){const _0x3915e3=_0x3b202c;_0x2b548c[_0x3915e3(0x226)](_0x119c1b=>{const _0x536264=_0x3915e3,_0x5d7e4e=_0x119c1b[_0x536264(0x276)]();_0x5d7e4e[_0x536264(0x234)]=_0x119c1b[_0x536264(0x234)],_0x5d7e4e[_0x536264(0x240)]=!!_0x119c1b[_0x536264(0x240)],_0x5d7e4e[_0x536264(0x28b)]=_0x119c1b[_0x536264(0x28b)],_0x5d7e4e[_0x536264(0x22a)]+=this[_0x536264(0x29e)],_0x119c1b[_0x536264(0x2a9)]&&this[_0x536264(0x28e)][_0x536264(0x223)](_0x5d7e4e),this[_0x536264(0x20c)][_0x536264(0x283)](_0x5d7e4e);});}[_0x3b202c(0x281)](_0xa10bfa){const _0x4bea87=_0x3b202c,_0x59d2ef=this[_0x4bea87(0x218)][_0x4bea87(0x24b)][_0x4bea87(0x1ff)](_0x4bea87(0x2f1)),_0x588a9d=this[_0x4bea87(0x218)][_0x4bea87(0x269)];_0xa10bfa||(_0xa10bfa=_0x58be86(_0x588a9d,_0x4bea87(0x2c1))),_0x59d2ef[_0x4bea87(0x2cd)](_0xa10bfa,{'title':_0x58be86(_0x588a9d,_0x4bea87(0x1fd)),'namespace':_0x4bea87(0x2c0)}),this[_0x4bea87(0x2b3)]=!0x0,clearTimeout(this[_0x4bea87(0x2b4)]),this[_0x4bea87(0x2ee)]=[],this[_0x4bea87(0x218)][_0x4bea87(0x24b)][_0x4bea87(0x1ff)](_0x2febcc)[_0x4bea87(0x224)]();}[_0x3b202c(0x286)](){const _0x139e6a=_0x3b202c;this[_0x139e6a(0x257)]||(this[_0x139e6a(0x257)]=this[_0x139e6a(0x218)][_0x139e6a(0x24b)][_0x139e6a(0x1ff)](_0x32a548)[_0x139e6a(0x223)](_0x58be86(this[_0x139e6a(0x218)][_0x139e6a(0x269)],_0x139e6a(0x261))));}[_0x3b202c(0x264)](){const _0x1ea3bd=_0x3b202c;this[_0x1ea3bd(0x257)]&&(this[_0x1ea3bd(0x218)][_0x1ea3bd(0x24b)][_0x1ea3bd(0x1ff)](_0x32a548)[_0x1ea3bd(0x2e6)](this[_0x1ea3bd(0x257)]),this[_0x1ea3bd(0x257)]=null);}[_0x3b202c(0x294)](_0xe0c568){const _0x2e77ac=_0x3b202c,_0x4a7226=_0xe0c568[_0x2e77ac(0x23b)](_0x19148b=>_0x19148b[_0x2e77ac(0x1f6)]());return this[_0x2e77ac(0x2bb)][_0x2e77ac(0x2c5)](_0x4a7226);}[_0x3b202c(0x2e7)](_0x15b2f6,_0x26ffce){const _0x166ec0=_0x3b202c;return this[_0x166ec0(0x2bb)][_0x166ec0(0x225)](_0x15b2f6)[_0x166ec0(0x23b)]((_0x1350c6,_0x4cd12d)=>{const _0x24bc45=_0x166ec0,_0x4ce14c=_0x24bc45(0x2cc)==_0x26ffce[_0x4cd12d][_0x24bc45(0x205)];if(_0x24bc45(0x1f7)==_0x1350c6[_0x24bc45(0x288)]){const _0x2a7ef9=_0x1350c6[_0x24bc45(0x217)][_0x24bc45(0x2ec)];!this[_0x24bc45(0x29b)][_0x24bc45(0x231)](_0x2a7ef9)&&(this[_0x24bc45(0x29b)][_0x24bc45(0x2aa)](_0x24bc45(0x2a4),_0x2a7ef9)[_0x24bc45(0x233)]=!0x1);}const _0x30fe8e=_0x443ad0[_0x24bc45(0x282)](_0x1350c6,this[_0x24bc45(0x29b)]);return _0x30fe8e[_0x24bc45(0x2d3)]=_0x1350c6[_0x24bc45(0x2d3)],_0x30fe8e[_0x24bc45(0x240)]=_0x4ce14c,_0x30fe8e[_0x24bc45(0x234)]=_0x4ce14c?null:_0x26ffce[_0x4cd12d][_0x24bc45(0x206)],_0x30fe8e[_0x24bc45(0x2a9)]=_0x24bc45(0x27c)===_0x26ffce[_0x4cd12d][_0x24bc45(0x205)],_0x30fe8e[_0x24bc45(0x28b)]=_0x26ffce[_0x4cd12d][_0x24bc45(0x28b)],_0x30fe8e;});}[_0x3b202c(0x2d0)](){const _0x4bd22d=_0x3b202c;this[_0x4bd22d(0x29a)]=!0x0,this[_0x4bd22d(0x246)]()?this[_0x4bd22d(0x20a)]():this[_0x4bd22d(0x29a)]=!0x1;}[_0x3b202c(0x246)](){const _0x47ea82=_0x3b202c,_0x3a0aff=this[_0x47ea82(0x218)][_0x47ea82(0x24b)][_0x47ea82(0x1ff)](_0x50cf21)[_0x47ea82(0x249)][_0x47ea82(0x1ff)](this[_0x47ea82(0x20d)]);return!this[_0x47ea82(0x218)][_0x47ea82(0x28a)]&&!!_0x3a0aff&&_0x3a0aff[_0x47ea82(0x25a)]>0x1&&this[_0x47ea82(0x29a)];}[_0x3b202c(0x279)](){const _0x14f889=_0x3b202c;return this[_0x14f889(0x2ee)][_0x14f889(0x25a)]>0x0||this[_0x14f889(0x246)]();}}export{l as RealTimeCollaborationClient};class V extends Error{}function W(_0x2a6128,_0x356545){const _0x4516da=_0x3b202c;for(const _0x3edae1 of _0x2a6128)_0x3edae1[_0x4516da(0x22a)]=_0x356545++;}class F{[_0x3b202c(0x292)];[_0x3b202c(0x1f9)];constructor(_0x19f4f7){const _0x100f63=_0x3b202c;this[_0x100f63(0x292)]=_0x19f4f7,this[_0x100f63(0x1f9)]=new WeakMap();}[_0x3b202c(0x2ef)](_0x55d0fd){const _0x2b4397=_0x3b202c;let _0x4d2bf6=_0x55d0fd[_0x2b4397(0x25a)];for(;_0x4d2bf6--;){const _0x2475db=_0x55d0fd[_0x4d2bf6];if(!this[_0x2b4397(0x292)][_0x2b4397(0x24c)](_0x2475db)){if(!this[_0x2b4397(0x1f9)][_0x2b4397(0x24c)](_0x2475db)){const _0x74bfd2=_0x9da4d9()[_0x2b4397(0x24f)](0x1,0x12);this[_0x2b4397(0x1f9)][_0x2b4397(0x27d)](_0x2475db,_0x74bfd2);}return this[_0x2b4397(0x1f9)][_0x2b4397(0x1ff)](_0x2475db);}}}[_0x3b202c(0x2ad)](_0x584743,_0x911be3){const _0x23b43b=_0x3b202c;if(!_0x911be3)return;let _0xf52d86=_0x584743[_0x23b43b(0x25a)];for(;_0xf52d86--;){const _0x22d8c0=_0x584743[_0xf52d86];this[_0x23b43b(0x292)][_0x23b43b(0x24c)](_0x22d8c0)||this[_0x23b43b(0x1f9)][_0x23b43b(0x27d)](_0x22d8c0,_0x911be3);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39275e=_0x1af9;(function(_0x66c6f2,_0x5cfdf2){const _0x5f4ad7=_0x1af9,_0x5203d6=_0x66c6f2();while(!![]){try{const _0x2271d1=-parseInt(_0x5f4ad7(0x1ee))/0x1*(-parseInt(_0x5f4ad7(0x1ea))/0x2)+-parseInt(_0x5f4ad7(0x1d9))/0x3+parseInt(_0x5f4ad7(0x1e9))/0x4+parseInt(_0x5f4ad7(0x204))/0x5+parseInt(_0x5f4ad7(0x1d2))/0x6+parseInt(_0x5f4ad7(0x209))/0x7*(-parseInt(_0x5f4ad7(0x1d8))/0x8)+-parseInt(_0x5f4ad7(0x1f5))/0x9;if(_0x2271d1===_0x5cfdf2)break;else _0x5203d6['push'](_0x5203d6['shift']());}catch(_0x533db7){_0x5203d6['push'](_0x5203d6['shift']());}}}(_0x16fc,0xecd1f));function _0x1af9(_0x415607,_0x56bae4){const _0x16fcae=_0x16fc();return _0x1af9=function(_0x1af96a,_0x437eb2){_0x1af96a=_0x1af96a-0x1cd;let _0x565026=_0x16fcae[_0x1af96a];return _0x565026;},_0x1af9(_0x415607,_0x56bae4);}import{ContextPlugin as _0x37f576}from'ckeditor5/src/core.js';import{Collection as _0x13f6db,CKEditorError as _0x2b4035}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x1d61cd}from'./websocketgateway.js';function _0x16fc(){const _0x29fc80=['17544HlVyyg','974148CTihOJ','_handleSessionRemove','fire','add','mySessionId','_handleSessionAdd','connected','defineMe','stopListening','channelSessions','pluginName','size','has','sessions-unregister-not-exist','init','addUser','5040836eQkSRN','118NQRPLU','forEach','role','change:state','21313OMXCXy','assign','unregister','values','allConnectedUsers','plugins','register','13073112lOCSfo','_users','hiddenInPresenceList','remove','sessionId','user','sessionAdd:','getUser','_registeredSessions','state','set','orderNumber','getUserBySessionId','getUserRole','requires','6457175vVSTGX','getUserSessions','connection','_uniqueUsersCount','sessions-register-already-registered','5383FtrafZ','isPremiumPlugin','context','clear','_createUser','Sessions','channelConnectedUsers','3747630udLUCi','delete','isOfficialPlugin','isMe','listenTo','get'];_0x16fc=function(){return _0x29fc80;};return _0x16fc();}import{Users as _0x583e63}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x37f576{[_0x39275e(0x1e2)];[_0x39275e(0x1d1)];[_0x39275e(0x1f2)];[_0x39275e(0x1fd)];[_0x39275e(0x207)];[_0x39275e(0x1f6)];static get[_0x39275e(0x1e3)](){const _0x4d1b82=_0x39275e;return _0x4d1b82(0x1d0);}static get[_0x39275e(0x1d4)](){return!0x0;}static get[_0x39275e(0x20a)](){return!0x0;}static get[_0x39275e(0x203)](){return[_0x1d61cd,_0x583e63];}constructor(_0x523df3){const _0x135cf3=_0x39275e;super(_0x523df3),this[_0x135cf3(0x1e2)]=new Map(),this[_0x135cf3(0x1d1)]=new Map(),this[_0x135cf3(0x1f2)]=new _0x13f6db(),this[_0x135cf3(0x1fd)]=new Map(),this[_0x135cf3(0x207)]=0x0,this[_0x135cf3(0x1f6)]=this[_0x135cf3(0x1cd)][_0x135cf3(0x1f3)][_0x135cf3(0x1d7)](_0x583e63);}[_0x39275e(0x1e7)](){const _0x478ff7=_0x39275e,_0x5bde13=this[_0x478ff7(0x1cd)][_0x478ff7(0x1f3)][_0x478ff7(0x1d7)](_0x1d61cd);this[_0x478ff7(0x1d6)](_0x5bde13,_0x478ff7(0x1ed),(_0x3207eb,_0x2b5622,_0x57fce8)=>{const _0x255478=_0x478ff7;if(_0x255478(0x1df)!==_0x57fce8)this[_0x255478(0x1e2)][_0x255478(0x1eb)](_0x7d7a78=>_0x7d7a78[_0x255478(0x1ce)]()),this[_0x255478(0x1d1)][_0x255478(0x1eb)](_0x3d639f=>_0x3d639f[_0x255478(0x1ce)]()),this[_0x255478(0x1f2)][_0x255478(0x1ce)]();else{for(const [_0x43c29e,_0x27b58b]of this[_0x255478(0x1fd)])for(const _0xb6a311 of _0x27b58b)this[_0x255478(0x1de)](_0x43c29e,_0xb6a311);}}),this[_0x478ff7(0x1cf)](_0x5bde13[_0x478ff7(0x206)]['me'],!0x0);}[_0x39275e(0x1f4)](_0x458afb,_0x3d4674){const _0x36e83a=_0x39275e;if(this[_0x36e83a(0x1fd)][_0x36e83a(0x1e5)](_0x458afb))throw new _0x2b4035(_0x36e83a(0x208),null,{'channelId':_0x458afb});this[_0x36e83a(0x1fd)][_0x36e83a(0x1ff)](_0x458afb,_0x3d4674),this[_0x36e83a(0x1e2)][_0x36e83a(0x1ff)](_0x458afb,new _0x13f6db()),this[_0x36e83a(0x1d1)][_0x36e83a(0x1ff)](_0x458afb,new _0x13f6db()),this[_0x36e83a(0x1d6)](_0x3d4674,_0x36e83a(0x1dc),(_0x39f7bc,_0x1484e3)=>this[_0x36e83a(0x1de)](_0x458afb,_0x1484e3)),this[_0x36e83a(0x1d6)](_0x3d4674,_0x36e83a(0x1f8),(_0x4d664b,_0x598874)=>this[_0x36e83a(0x1da)](_0x458afb,_0x598874));for(const _0x19e545 of _0x3d4674)this[_0x36e83a(0x1de)](_0x458afb,_0x19e545);}[_0x39275e(0x1f0)](_0x2fae16){const _0x9bd1f0=_0x39275e;if(!this[_0x9bd1f0(0x1fd)][_0x9bd1f0(0x1e5)](_0x2fae16))throw new _0x2b4035(_0x9bd1f0(0x1e6),null,{'channelId':_0x2fae16});const _0x205c7d=this[_0x9bd1f0(0x1fd)][_0x9bd1f0(0x1d7)](_0x2fae16);this[_0x9bd1f0(0x1e1)](_0x205c7d);for(const _0x4500d4 of _0x205c7d)_0x9bd1f0(0x1df)===this[_0x9bd1f0(0x1cd)][_0x9bd1f0(0x1f3)][_0x9bd1f0(0x1d7)](_0x1d61cd)[_0x9bd1f0(0x1fe)]&&this[_0x9bd1f0(0x1da)](_0x2fae16,_0x4500d4);this[_0x9bd1f0(0x1fd)][_0x9bd1f0(0x1d3)](_0x2fae16),this[_0x9bd1f0(0x1e2)][_0x9bd1f0(0x1d3)](_0x2fae16),this[_0x9bd1f0(0x1d1)][_0x9bd1f0(0x1d3)](_0x2fae16);}get[_0x39275e(0x1dd)](){const _0x488c55=_0x39275e;return this[_0x488c55(0x1cd)][_0x488c55(0x1f3)][_0x488c55(0x1d7)](_0x1d61cd)[_0x488c55(0x206)][_0x488c55(0x1f9)];}[_0x39275e(0x201)](_0x4805cc){const _0x119c02=_0x39275e;for(const _0x54cee1 of this[_0x119c02(0x1e2)][_0x119c02(0x1f1)]())for(const _0x3f26d4 of _0x54cee1)if(_0x3f26d4['id']===_0x4805cc)return _0x3f26d4[_0x119c02(0x1fa)];}[_0x39275e(0x205)](_0x50450e,_0x266dae){const _0x18bf0b=_0x39275e,_0x3dcb02=_0x266dae?[this[_0x18bf0b(0x1e2)][_0x18bf0b(0x1d7)](_0x266dae)]:this[_0x18bf0b(0x1e2)][_0x18bf0b(0x1f1)](),_0x110b80=new Set();for(const _0x27c1e0 of _0x3dcb02)for(const _0x3f9150 of _0x27c1e0)_0x3f9150[_0x18bf0b(0x1fa)]['id']===_0x50450e['id']&&_0x110b80[_0x18bf0b(0x1dc)](_0x3f9150['id']);return _0x110b80;}[_0x39275e(0x202)](_0x1b31c7){const _0x23feb5=_0x39275e;for(const _0x2f08ab of this[_0x23feb5(0x1e2)][_0x23feb5(0x1f1)]())for(const _0x2f031b of _0x2f08ab)if(_0x2f031b[_0x23feb5(0x1fa)]===_0x1b31c7)return _0x2f031b[_0x23feb5(0x1ec)];}[_0x39275e(0x1de)](_0x30fd12,_0x413434){const _0x3f0f0f=_0x39275e;if(_0x3f0f0f(0x1df)!==this[_0x3f0f0f(0x1cd)][_0x3f0f0f(0x1f3)][_0x3f0f0f(0x1d7)](_0x1d61cd)[_0x3f0f0f(0x1fe)])return;const _0xd82c36=_0x413434[_0x3f0f0f(0x1fa)],_0x5c5946=this[_0x3f0f0f(0x1f6)][_0x3f0f0f(0x1fc)](_0xd82c36['id'])||this[_0x3f0f0f(0x1cf)](_0xd82c36),_0x5acd2e=Object[_0x3f0f0f(0x1ef)]({},_0x413434,{'user':_0x5c5946});if(this[_0x3f0f0f(0x1e2)][_0x3f0f0f(0x1d7)](_0x30fd12)[_0x3f0f0f(0x1dc)](_0x5acd2e),!_0xd82c36[_0x3f0f0f(0x1f7)]){const _0x21f3be=this[_0x3f0f0f(0x1d1)][_0x3f0f0f(0x1d7)](_0x30fd12);_0x21f3be[_0x3f0f0f(0x1e5)](_0x5c5946['id'])||_0x21f3be[_0x3f0f0f(0x1dc)](_0x5c5946),this[_0x3f0f0f(0x1f2)][_0x3f0f0f(0x1e5)](_0x5c5946['id'])||_0xd82c36[_0x3f0f0f(0x1f7)]||this[_0x3f0f0f(0x1f2)][_0x3f0f0f(0x1dc)](_0x5c5946,_0x5c5946[_0x3f0f0f(0x1d5)]?0x0:void 0x0);}this[_0x3f0f0f(0x1db)](_0x3f0f0f(0x1fb)+_0x30fd12,{'channelId':_0x30fd12,'session':_0x5acd2e});}[_0x39275e(0x1da)](_0x4aedf7,_0xd8c10f){const _0x4f3354=_0x39275e;if(_0x4f3354(0x1df)!==this[_0x4f3354(0x1cd)][_0x4f3354(0x1f3)][_0x4f3354(0x1d7)](_0x1d61cd)[_0x4f3354(0x1fe)])return;const _0x40a693=this[_0x4f3354(0x1d1)][_0x4f3354(0x1d7)](_0x4aedf7),_0x480c72=_0xd8c10f[_0x4f3354(0x1fa)];_0x480c72['id']&&(this[_0x4f3354(0x1e2)][_0x4f3354(0x1d7)](_0x4aedf7)[_0x4f3354(0x1f8)](_0xd8c10f['id']),_0x40a693[_0x4f3354(0x1e5)](_0x480c72['id'])&&!this[_0x4f3354(0x205)](_0x480c72,_0x4aedf7)[_0x4f3354(0x1e4)]&&_0x40a693[_0x4f3354(0x1f8)](_0x480c72['id']),this[_0x4f3354(0x1f2)][_0x4f3354(0x1d7)](_0x480c72['id'])&&!this[_0x4f3354(0x205)](_0x480c72)[_0x4f3354(0x1e4)]&&this[_0x4f3354(0x1f2)][_0x4f3354(0x1f8)](_0x480c72['id']));}[_0x39275e(0x1cf)](_0x2b4b57,_0x40e8b3){const _0x102fef=_0x39275e,_0x4fa4c0=this[_0x102fef(0x1f6)][_0x102fef(0x1e8)](_0x2b4b57);return _0x40e8b3&&this[_0x102fef(0x1f6)][_0x102fef(0x1e0)](_0x2b4b57['id']),_0x4fa4c0[_0x102fef(0x200)]=this[_0x102fef(0x207)]++,_0x4fa4c0;}}
23
+ const _0x57acf6=_0x36f7;(function(_0x2f8336,_0x17689c){const _0x5ddd7f=_0x36f7,_0xe65a51=_0x2f8336();while(!![]){try{const _0x1f4deb=parseInt(_0x5ddd7f(0x82))/0x1+-parseInt(_0x5ddd7f(0xa2))/0x2*(-parseInt(_0x5ddd7f(0xa8))/0x3)+parseInt(_0x5ddd7f(0xa9))/0x4+-parseInt(_0x5ddd7f(0x96))/0x5*(parseInt(_0x5ddd7f(0x90))/0x6)+parseInt(_0x5ddd7f(0x74))/0x7+parseInt(_0x5ddd7f(0x78))/0x8*(-parseInt(_0x5ddd7f(0x89))/0x9)+-parseInt(_0x5ddd7f(0x8d))/0xa*(-parseInt(_0x5ddd7f(0x70))/0xb);if(_0x1f4deb===_0x17689c)break;else _0xe65a51['push'](_0xe65a51['shift']());}catch(_0x297c8d){_0xe65a51['push'](_0xe65a51['shift']());}}}(_0x4c9f,0xadf58));import{ContextPlugin as _0x14ed83}from'ckeditor5/src/core.js';function _0x36f7(_0x22240d,_0xe56703){const _0x4c9f9d=_0x4c9f();return _0x36f7=function(_0x36f7c9,_0x12d652){_0x36f7c9=_0x36f7c9-0x70;let _0x5e5160=_0x4c9f9d[_0x36f7c9];return _0x5e5160;},_0x36f7(_0x22240d,_0xe56703);}import{Collection as _0xa6098,CKEditorError as _0x18d26a}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x22af0b}from'./websocketgateway.js';function _0x4c9f(){const _0x117a5c=['allConnectedUsers','_users','user','mySessionId','listenTo','119920zqEUSg','init','unregister','_uniqueUsersCount','getUserRole','requires','6nuAtmN','701788yfLRtz','Sessions','has','orderNumber','fire','sessions-unregister-not-exist','values','440eTzhgv','sessionAdd:','remove','pluginName','1109185VPkWdN','channelConnectedUsers','forEach','sessions-register-already-registered','592KKaUXv','change:state','assign','sessionId','channelSessions','hiddenInPresenceList','defineMe','stopListening','isPremiumPlugin','add','729086ncbMxI','state','_registeredSessions','isOfficialPlugin','get','connected','_createUser','151290QAQWbB','isMe','size','_handleSessionAdd','424660juwGaE','addUser','connection','18258NmdzxJ','plugins','set','register','_handleSessionRemove','clear','1520tXucnh','getUser','getUserBySessionId','delete','getUserSessions','role','context'];_0x4c9f=function(){return _0x117a5c;};return _0x4c9f();}import{Users as _0x5d2419}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x14ed83{[_0x57acf6(0x7c)];[_0x57acf6(0x75)];[_0x57acf6(0x9d)];[_0x57acf6(0x84)];[_0x57acf6(0xa5)];[_0x57acf6(0x9e)];static get[_0x57acf6(0x73)](){const _0x203a13=_0x57acf6;return _0x203a13(0xaa);}static get[_0x57acf6(0x85)](){return!0x0;}static get[_0x57acf6(0x80)](){return!0x0;}static get[_0x57acf6(0xa7)](){return[_0x22af0b,_0x5d2419];}constructor(_0x37f049){const _0x598343=_0x57acf6;super(_0x37f049),this[_0x598343(0x7c)]=new Map(),this[_0x598343(0x75)]=new Map(),this[_0x598343(0x9d)]=new _0xa6098(),this[_0x598343(0x84)]=new Map(),this[_0x598343(0xa5)]=0x0,this[_0x598343(0x9e)]=this[_0x598343(0x9c)][_0x598343(0x91)][_0x598343(0x86)](_0x5d2419);}[_0x57acf6(0xa3)](){const _0xdf17a9=_0x57acf6,_0x56bad1=this[_0xdf17a9(0x9c)][_0xdf17a9(0x91)][_0xdf17a9(0x86)](_0x22af0b);this[_0xdf17a9(0xa1)](_0x56bad1,_0xdf17a9(0x79),(_0x344332,_0x2fdcfe,_0x37b461)=>{const _0x319d06=_0xdf17a9;if(_0x319d06(0x87)!==_0x37b461)this[_0x319d06(0x7c)][_0x319d06(0x76)](_0x24d581=>_0x24d581[_0x319d06(0x95)]()),this[_0x319d06(0x75)][_0x319d06(0x76)](_0x207b8a=>_0x207b8a[_0x319d06(0x95)]()),this[_0x319d06(0x9d)][_0x319d06(0x95)]();else{for(const [_0x4c4a14,_0x1336a9]of this[_0x319d06(0x84)])for(const _0xf20e0e of _0x1336a9)this[_0x319d06(0x8c)](_0x4c4a14,_0xf20e0e);}}),this[_0xdf17a9(0x88)](_0x56bad1[_0xdf17a9(0x8f)]['me'],!0x0);}[_0x57acf6(0x93)](_0x3a68c0,_0x427db1){const _0x42f5ef=_0x57acf6;if(this[_0x42f5ef(0x84)][_0x42f5ef(0xab)](_0x3a68c0))throw new _0x18d26a(_0x42f5ef(0x77),null,{'channelId':_0x3a68c0});this[_0x42f5ef(0x84)][_0x42f5ef(0x92)](_0x3a68c0,_0x427db1),this[_0x42f5ef(0x7c)][_0x42f5ef(0x92)](_0x3a68c0,new _0xa6098()),this[_0x42f5ef(0x75)][_0x42f5ef(0x92)](_0x3a68c0,new _0xa6098()),this[_0x42f5ef(0xa1)](_0x427db1,_0x42f5ef(0x81),(_0x3daf8d,_0x48f57)=>this[_0x42f5ef(0x8c)](_0x3a68c0,_0x48f57)),this[_0x42f5ef(0xa1)](_0x427db1,_0x42f5ef(0x72),(_0x28f61f,_0x10f313)=>this[_0x42f5ef(0x94)](_0x3a68c0,_0x10f313));for(const _0x5325db of _0x427db1)this[_0x42f5ef(0x8c)](_0x3a68c0,_0x5325db);}[_0x57acf6(0xa4)](_0x541510){const _0x3f5b87=_0x57acf6;if(!this[_0x3f5b87(0x84)][_0x3f5b87(0xab)](_0x541510))throw new _0x18d26a(_0x3f5b87(0xae),null,{'channelId':_0x541510});const _0x4d05ed=this[_0x3f5b87(0x84)][_0x3f5b87(0x86)](_0x541510);this[_0x3f5b87(0x7f)](_0x4d05ed);for(const _0x50870b of _0x4d05ed)_0x3f5b87(0x87)===this[_0x3f5b87(0x9c)][_0x3f5b87(0x91)][_0x3f5b87(0x86)](_0x22af0b)[_0x3f5b87(0x83)]&&this[_0x3f5b87(0x94)](_0x541510,_0x50870b);this[_0x3f5b87(0x84)][_0x3f5b87(0x99)](_0x541510),this[_0x3f5b87(0x7c)][_0x3f5b87(0x99)](_0x541510),this[_0x3f5b87(0x75)][_0x3f5b87(0x99)](_0x541510);}get[_0x57acf6(0xa0)](){const _0xb2f18f=_0x57acf6;return this[_0xb2f18f(0x9c)][_0xb2f18f(0x91)][_0xb2f18f(0x86)](_0x22af0b)[_0xb2f18f(0x8f)][_0xb2f18f(0x7b)];}[_0x57acf6(0x98)](_0x266015){const _0x1c3f36=_0x57acf6;for(const _0x1eb2ab of this[_0x1c3f36(0x7c)][_0x1c3f36(0xaf)]())for(const _0x5ec3bc of _0x1eb2ab)if(_0x5ec3bc['id']===_0x266015)return _0x5ec3bc[_0x1c3f36(0x9f)];}[_0x57acf6(0x9a)](_0x11b83d,_0x2e1280){const _0x2ecc10=_0x57acf6,_0x50858a=_0x2e1280?[this[_0x2ecc10(0x7c)][_0x2ecc10(0x86)](_0x2e1280)]:this[_0x2ecc10(0x7c)][_0x2ecc10(0xaf)](),_0x330e00=new Set();for(const _0x3ef136 of _0x50858a)for(const _0x2f8c59 of _0x3ef136)_0x2f8c59[_0x2ecc10(0x9f)]['id']===_0x11b83d['id']&&_0x330e00[_0x2ecc10(0x81)](_0x2f8c59['id']);return _0x330e00;}[_0x57acf6(0xa6)](_0x3fd77e){const _0x2c21e0=_0x57acf6;for(const _0x3a0f57 of this[_0x2c21e0(0x7c)][_0x2c21e0(0xaf)]())for(const _0xc6cec2 of _0x3a0f57)if(_0xc6cec2[_0x2c21e0(0x9f)]===_0x3fd77e)return _0xc6cec2[_0x2c21e0(0x9b)];}[_0x57acf6(0x8c)](_0x2de8fd,_0x3952ba){const _0x593752=_0x57acf6;if(_0x593752(0x87)!==this[_0x593752(0x9c)][_0x593752(0x91)][_0x593752(0x86)](_0x22af0b)[_0x593752(0x83)])return;const _0x4cb0ea=_0x3952ba[_0x593752(0x9f)],_0x456496=this[_0x593752(0x9e)][_0x593752(0x97)](_0x4cb0ea['id'])||this[_0x593752(0x88)](_0x4cb0ea),_0x44f70b=Object[_0x593752(0x7a)]({},_0x3952ba,{'user':_0x456496});if(this[_0x593752(0x7c)][_0x593752(0x86)](_0x2de8fd)[_0x593752(0x81)](_0x44f70b),!_0x4cb0ea[_0x593752(0x7d)]){const _0x50b94d=this[_0x593752(0x75)][_0x593752(0x86)](_0x2de8fd);_0x50b94d[_0x593752(0xab)](_0x456496['id'])||_0x50b94d[_0x593752(0x81)](_0x456496),this[_0x593752(0x9d)][_0x593752(0xab)](_0x456496['id'])||_0x4cb0ea[_0x593752(0x7d)]||this[_0x593752(0x9d)][_0x593752(0x81)](_0x456496,_0x456496[_0x593752(0x8a)]?0x0:void 0x0);}this[_0x593752(0xad)](_0x593752(0x71)+_0x2de8fd,{'channelId':_0x2de8fd,'session':_0x44f70b});}[_0x57acf6(0x94)](_0x14f495,_0x106e07){const _0x249ab9=_0x57acf6;if(_0x249ab9(0x87)!==this[_0x249ab9(0x9c)][_0x249ab9(0x91)][_0x249ab9(0x86)](_0x22af0b)[_0x249ab9(0x83)])return;const _0x3821f2=this[_0x249ab9(0x75)][_0x249ab9(0x86)](_0x14f495),_0x46adfe=_0x106e07[_0x249ab9(0x9f)];_0x46adfe['id']&&(this[_0x249ab9(0x7c)][_0x249ab9(0x86)](_0x14f495)[_0x249ab9(0x72)](_0x106e07['id']),_0x3821f2[_0x249ab9(0xab)](_0x46adfe['id'])&&!this[_0x249ab9(0x9a)](_0x46adfe,_0x14f495)[_0x249ab9(0x8b)]&&_0x3821f2[_0x249ab9(0x72)](_0x46adfe['id']),this[_0x249ab9(0x9d)][_0x249ab9(0x86)](_0x46adfe['id'])&&!this[_0x249ab9(0x9a)](_0x46adfe)[_0x249ab9(0x8b)]&&this[_0x249ab9(0x9d)][_0x249ab9(0x72)](_0x46adfe['id']));}[_0x57acf6(0x88)](_0x1cde04,_0x26c64b){const _0x5c898c=_0x57acf6,_0x580cbe=this[_0x5c898c(0x9e)][_0x5c898c(0x8e)](_0x1cde04);return _0x26c64b&&this[_0x5c898c(0x9e)][_0x5c898c(0x7e)](_0x1cde04['id']),_0x580cbe[_0x5c898c(0xac)]=this[_0x5c898c(0xa5)]++,_0x580cbe;}}