@ckeditor/ckeditor5-real-time-collaboration 47.7.3-alpha.0 → 47.7.3

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": "47.7.3-alpha.0",
3
+ "version": "47.7.3",
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.7",
50
- "@ckeditor/ckeditor5-cloud-services": "47.7.3-alpha.0",
51
- "@ckeditor/ckeditor5-comments": "47.7.3-alpha.0",
52
- "@ckeditor/ckeditor5-core": "47.7.3-alpha.0",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.7.3-alpha.0",
54
- "@ckeditor/ckeditor5-engine": "47.7.3-alpha.0",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.7.3-alpha.0",
56
- "@ckeditor/ckeditor5-revision-history": "47.7.3-alpha.0",
57
- "@ckeditor/ckeditor5-theme-lark": "47.7.3-alpha.0",
58
- "@ckeditor/ckeditor5-track-changes": "47.7.3-alpha.0",
59
- "@ckeditor/ckeditor5-ui": "47.7.3-alpha.0",
60
- "@ckeditor/ckeditor5-utils": "47.7.3-alpha.0",
61
- "ckeditor5": "47.7.3-alpha.0",
62
- "ckeditor5-collaboration": "47.7.3-alpha.0",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.7.3",
51
+ "@ckeditor/ckeditor5-comments": "47.7.3",
52
+ "@ckeditor/ckeditor5-core": "47.7.3",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.7.3",
54
+ "@ckeditor/ckeditor5-engine": "47.7.3",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.7.3",
56
+ "@ckeditor/ckeditor5-revision-history": "47.7.3",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.7.3",
58
+ "@ckeditor/ckeditor5-track-changes": "47.7.3",
59
+ "@ckeditor/ckeditor5-ui": "47.7.3",
60
+ "@ckeditor/ckeditor5-utils": "47.7.3",
61
+ "ckeditor5": "47.7.3",
62
+ "ckeditor5-collaboration": "47.7.3",
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
- function _0x426c(){const _0x5966fa=['offsetHeight','isOfficialPlugin','bindTo','pluginName','isRendered','onClick','items','plugins','285717EhHKYO','remove','presencelist-collapseat-invalid-format','min','[contenteditable]','counterView','from','init','isExpanded','input','indexOf',':not([disabled]):not([tabindex=\x22-1\x22])','render','presencelist-missing-container','609636GJGAnG','showDropdown','using','locale','hasTooltip','isFocusable','focus','content','activeElement','attachToDom','_allConnectedUsers','8nnZFjm','Shift+Tab','Tab','focusTracker','_handleUserRemove','isCollapsed','isVisible','8BhwgLk','2433626IKoyHm','class','reverse','define','destroy','context','currentDisplayedUsers','Esc','PresenceListUI','sort','set','9sctvJZ','view','textarea','pin','hideDropdown','4394645hlAliu','map','_createView','_bodyCollection','tabIndex','26205310MocwiA','presenceList.displayMe','[tabindex]','change:isFocused','appendChild','detachFromDom','Enter','ck\x20ck-presence-list__balloon','presencelist:hide','allConnectedUsers','_handleUserAdd','listenTo','487491UXkIyp','requires','presenceList.container','offsetWidth','balloonPanelView','presenceDropdownView','presenceList.collapseAt','config','usersCount','get','5344661ChBOVo','join','presencelist:show','add','number','execute','displayMe','element','checkIfScrollable','unpin','querySelectorAll','keystrokes','button','isMe','length','filter','isPremiumPlugin','body','presenceList','bind','inlineListView','find','select'];_0x426c=function(){return _0x5966fa;};return _0x426c();}const _0x127cb7=_0x3121;(function(_0x3add19,_0x146c4a){const _0x4fd99e=_0x3121,_0x1f19ec=_0x3add19();while(!![]){try{const _0x138980=-parseInt(_0x4fd99e(0x14d))/0x1+-parseInt(_0x4fd99e(0x103))/0x2+parseInt(_0x4fd99e(0x124))/0x3*(-parseInt(_0x4fd99e(0xfb))/0x4)+parseInt(_0x4fd99e(0x113))/0x5+-parseInt(_0x4fd99e(0xf0))/0x6+-parseInt(_0x4fd99e(0x12e))/0x7*(parseInt(_0x4fd99e(0x102))/0x8)+-parseInt(_0x4fd99e(0x10e))/0x9*(-parseInt(_0x4fd99e(0x118))/0xa);if(_0x138980===_0x146c4a)break;else _0x1f19ec['push'](_0x1f19ec['shift']());}catch(_0x48813e){_0x1f19ec['push'](_0x1f19ec['shift']());}}}(_0x426c,0xc4f97));import{ContextPlugin as _0x4f8d1d}from'ckeditor5/src/core.js';import{CKEditorError as _0x3a8aeb,Collection as _0x3bf72c}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x2a86a,BalloonPanelView as _0x3f1233,BodyCollection as _0x7dea23}from'ckeditor5/src/ui.js';import{isElement as _0x1f8125}from'es-toolkit/compat';import{Sessions as _0xaa8071}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x4f45a9}from'./view/presencelistview.js';import{PresenceCounterView as _0x15b124}from'./view/presencecounterview.js';function _0x3121(_0x3c6e3c,_0x880b7d){const _0x426ca6=_0x426c();return _0x3121=function(_0x31211a,_0x4cdd8c){_0x31211a=_0x31211a-0xef;let _0x1e5fda=_0x426ca6[_0x31211a];return _0x1e5fda;},_0x3121(_0x3c6e3c,_0x880b7d);}import{PresenceDropdownListView as _0x50798b}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x23f0f9}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x507662}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x4f8d1d{[_0x127cb7(0x109)];[_0x127cb7(0x128)];[_0x127cb7(0x10f)];[_0x127cb7(0x129)];[_0x127cb7(0x116)]=null;static get[_0x127cb7(0x148)](){const _0x57dd72=_0x127cb7;return _0x57dd72(0x10b);}static get[_0x127cb7(0x146)](){return!0x0;}static get[_0x127cb7(0x13e)](){return!0x0;}constructor(_0x3ae3ff){const _0x211da0=_0x127cb7;super(_0x3ae3ff),this[_0x211da0(0x108)][_0x211da0(0x12b)][_0x211da0(0x106)](_0x211da0(0x140),x);const _0x131281=_0x3ae3ff[_0x211da0(0x12b)][_0x211da0(0x12d)](_0x211da0(0x12a));if(_0x211da0(0x132)!=typeof _0x131281)throw new _0x3a8aeb(_0x211da0(0x14f),this);if(_0x131281<0x1)throw new _0x3a8aeb(_0x211da0(0x14f),this);this[_0x211da0(0xfa)]=this[_0x211da0(0x108)][_0x211da0(0x14c)][_0x211da0(0x12d)](_0xaa8071)[_0x211da0(0x121)],this[_0x211da0(0x10d)](_0x211da0(0x12c),0x0),this[_0x211da0(0x109)]=new _0x3bf72c(),this[_0x211da0(0x128)]=new _0x3f1233(),this[_0x211da0(0x128)][_0x211da0(0x104)]=_0x211da0(0x11f),this[_0x211da0(0x10f)]=this[_0x211da0(0x115)](),this[_0x211da0(0x129)]=void 0x0;}static get[_0x127cb7(0x125)](){return[_0xaa8071];}[_0x127cb7(0x154)](){const _0x5f0cac=_0x127cb7;for(const _0x5bdb79 of this[_0x5f0cac(0xfa)])this[_0x5f0cac(0x122)](_0x5bdb79);this[_0x5f0cac(0x123)](this[_0x5f0cac(0xfa)],_0x5f0cac(0x131),(_0x14cc29,_0x3fc637)=>{const _0x420867=_0x5f0cac;this[_0x420867(0x122)](_0x3fc637);}),this[_0x5f0cac(0x123)](this[_0x5f0cac(0xfa)],_0x5f0cac(0x14e),(_0x36a5c7,_0x175470)=>{const _0x265f90=_0x5f0cac;this[_0x265f90(0xff)](_0x175470);});}[_0x127cb7(0x115)](){const _0x9c890a=_0x127cb7,_0x526112=this[_0x9c890a(0x108)],_0x284a5a=new _0x4f45a9(this[_0x9c890a(0x108)][_0x9c890a(0xf3)],this[_0x9c890a(0x108)][_0x9c890a(0x12b)][_0x9c890a(0x12d)](_0x9c890a(0x12a))),_0x3ad4b8=this[_0x9c890a(0x128)];if(!_0x1f8125(_0x526112[_0x9c890a(0x12b)][_0x9c890a(0x12d)](_0x9c890a(0x126))))throw new _0x3a8aeb(_0x9c890a(0xef),this);return _0x284a5a[_0x9c890a(0x152)][_0x9c890a(0x141)](_0x9c890a(0x12c))['to'](this),_0x284a5a[_0x9c890a(0x141)](_0x9c890a(0x100))['to'](this,_0x9c890a(0x12c),_0x4adef7=>{const _0x36a61a=_0x9c890a,{collapseAt:_0x5008ab}=_0x526112[_0x36a61a(0x12b)][_0x36a61a(0x12d)](_0x36a61a(0x140)),_0x54396c=_0x4adef7>=_0x5008ab;if(_0x54396c&&!_0x284a5a[_0x36a61a(0x142)][_0x36a61a(0x14b)][_0x36a61a(0x143)](_0x497464=>_0x497464 instanceof _0x15b124)){const _0x10fe32=this[_0x36a61a(0x108)][_0x36a61a(0x12b)][_0x36a61a(0x12d)](_0x36a61a(0x12a))-0x1;this[_0x36a61a(0x109)][_0x36a61a(0x13c)]==_0x10fe32&&this[_0x36a61a(0x109)][_0x36a61a(0x13c)]>0x1&&this[_0x36a61a(0x109)][_0x36a61a(0x14e)](this[_0x36a61a(0x109)][_0x36a61a(0x13c)]-0x1),_0x284a5a[_0x36a61a(0x142)][_0x36a61a(0x14b)][_0x36a61a(0x131)](_0x284a5a[_0x36a61a(0x152)]);}return _0x54396c||this[_0x36a61a(0x112)](),_0x54396c;}),_0x284a5a[_0x9c890a(0x142)][_0x9c890a(0x14b)][_0x9c890a(0x147)](this[_0x9c890a(0x109)])[_0x9c890a(0xf2)](_0x389e9e=>{const _0x360b38=_0x9c890a,_0xba4840=_0x526112[_0x360b38(0x12b)][_0x360b38(0x12d)](_0x360b38(0x140)),_0x12bf98=new _0x507662(_0x526112[_0x360b38(0xf3)],_0x389e9e,!!_0xba4840[_0x360b38(0x14a)]);return _0x12bf98[_0x360b38(0x141)](_0x360b38(0xf4))['to'](_0x284a5a,_0x360b38(0x100),_0x4d36bf=>!_0x4d36bf),_0x12bf98[_0x360b38(0x141)](_0x360b38(0xf5))['to'](_0x284a5a,_0x360b38(0x100),_0x28317e=>!_0x28317e),_0xba4840[_0x360b38(0x14a)]&&this[_0x360b38(0x123)](_0x12bf98,_0x360b38(0x133),()=>{const _0x54c3a1=_0x360b38;this[_0x54c3a1(0x10f)][_0x54c3a1(0x100)]||_0xba4840[_0x54c3a1(0x14a)](_0x389e9e,_0x12bf98[_0x54c3a1(0x135)]);}),_0x12bf98;}),this[_0x9c890a(0x123)](_0x284a5a[_0x9c890a(0x142)],_0x9c890a(0x130),()=>{const _0x5f0ec8=_0x9c890a;this[_0x5f0ec8(0x10f)][_0x5f0ec8(0x100)]&&this[_0x5f0ec8(0xf1)]();}),this[_0x9c890a(0x123)](_0x284a5a[_0x9c890a(0x142)],_0x9c890a(0x120),()=>{const _0x5405ff=_0x9c890a;this[_0x5405ff(0x129)]&&this[_0x5405ff(0x112)]();}),_0x284a5a[_0x9c890a(0x142)][_0x9c890a(0x139)][_0x9c890a(0x10d)](_0x9c890a(0x11e),(_0x426033,_0x43f15b)=>{const _0x16e210=_0x9c890a;this[_0x16e210(0x10f)][_0x16e210(0x100)]&&(this[_0x16e210(0xf1)](),_0x43f15b());}),_0x284a5a[_0x9c890a(0x159)](),_0x3ad4b8[_0x9c890a(0x159)](),_0x2a86a({'emitter':_0x284a5a,'activator':()=>_0x3ad4b8[_0x9c890a(0x101)],'contextElements':[_0x3ad4b8[_0x9c890a(0x135)],_0x284a5a[_0x9c890a(0x142)][_0x9c890a(0x135)]],'callback':()=>this[_0x9c890a(0x112)]()}),_0x526112[_0x9c890a(0x12b)][_0x9c890a(0x12d)](_0x9c890a(0x126))[_0x9c890a(0x11c)](_0x284a5a[_0x9c890a(0x135)]),this[_0x9c890a(0x116)]=new _0x7dea23(this[_0x9c890a(0x108)][_0x9c890a(0xf3)]),this[_0x9c890a(0x116)][_0x9c890a(0xf9)](),this[_0x9c890a(0x116)][_0x9c890a(0x131)](this[_0x9c890a(0x128)]),_0x284a5a;}[_0x127cb7(0x122)](_0x35d3cb){const _0x2fd350=_0x127cb7;if(!this[_0x2fd350(0x108)][_0x2fd350(0x12b)][_0x2fd350(0x12d)](_0x2fd350(0x119))&&_0x35d3cb[_0x2fd350(0x13b)])return;const _0x4359ae=this[_0x2fd350(0x108)][_0x2fd350(0x12b)][_0x2fd350(0x12d)](_0x2fd350(0x12a))-0x1;for(this[_0x2fd350(0x12c)]++;this[_0x2fd350(0x109)][_0x2fd350(0x13c)]>=_0x4359ae-(this[_0x2fd350(0x10f)][_0x2fd350(0x100)]?0x1:0x0)&&this[_0x2fd350(0x109)][_0x2fd350(0x13c)]>0x1;)this[_0x2fd350(0x109)][_0x2fd350(0x14e)](0x1);const _0x286e06=_0x35d3cb[_0x2fd350(0x13b)]?0x0:this[_0x2fd350(0x109)][_0x2fd350(0x13c)];this[_0x2fd350(0x109)][_0x2fd350(0x131)](_0x35d3cb,_0x286e06);}[_0x127cb7(0xff)](_0x3395b6){const _0x507d65=_0x127cb7;this[_0x507d65(0x12c)]--;const {collapseAt:_0x4cd4d0}=this[_0x507d65(0x108)][_0x507d65(0x12b)][_0x507d65(0x12d)](_0x507d65(0x140)),_0x15bf11=this[_0x507d65(0x12c)]>=_0x4cd4d0;if(this[_0x507d65(0x109)][_0x507d65(0x12d)](_0x3395b6['id']))this[_0x507d65(0x109)][_0x507d65(0x14e)](_0x3395b6['id']);else{if(_0x15bf11&&this[_0x507d65(0x109)][_0x507d65(0x13c)]+0x1===_0x4cd4d0-0x1)return;}if(this[_0x507d65(0x109)][_0x507d65(0x13c)]+(_0x15bf11?0x1:0x0)<this[_0x507d65(0x12c)]){for(const _0x5b2020 of Array[_0x507d65(0x153)](this[_0x507d65(0xfa)])[_0x507d65(0x105)]())if(!this[_0x507d65(0x109)][_0x507d65(0x12d)](_0x5b2020['id'])&&(this[_0x507d65(0x109)][_0x507d65(0x131)](_0x5b2020,Math[_0x507d65(0x150)](this[_0x507d65(0x109)][_0x507d65(0x13c)]-(_0x15bf11?0x1:0x0),0x1)),this[_0x507d65(0x109)][_0x507d65(0x13c)]+(_0x15bf11?0x1:0x0)===_0x4cd4d0-0x1))return;}}[_0x127cb7(0xf1)](){const _0x2dc872=_0x127cb7;if(this[_0x2dc872(0x129)])return;const _0x110aed=this[_0x2dc872(0x108)][_0x2dc872(0x12b)][_0x2dc872(0x12d)](_0x2dc872(0x140));this[_0x2dc872(0x129)]=new _0x50798b(this[_0x2dc872(0x108)][_0x2dc872(0xf3)],!!_0x110aed[_0x2dc872(0x14a)]),this[_0x2dc872(0x10f)][_0x2dc872(0x142)][_0x2dc872(0x155)]=!0x0,this[_0x2dc872(0x123)](this[_0x2dc872(0x129)],_0x2dc872(0x120),()=>{const _0x249a20=_0x2dc872;this[_0x249a20(0x129)]&&this[_0x249a20(0x112)]();});const {listWrapperView:_0x331c89}=this[_0x2dc872(0x129)];_0x331c89[_0x2dc872(0x14b)][_0x2dc872(0x147)](this[_0x2dc872(0xfa)])[_0x2dc872(0xf2)](_0x103388=>{const _0x502e2e=_0x2dc872;if(!_0x110aed[_0x502e2e(0x134)]&&_0x103388[_0x502e2e(0x13b)])return null;const _0x1c4f72=new _0x23f0f9(this[_0x502e2e(0x108)][_0x502e2e(0xf3)],_0x103388,!!_0x110aed[_0x502e2e(0x14a)]);return _0x110aed[_0x502e2e(0x14a)]&&this[_0x502e2e(0x123)](_0x1c4f72,_0x502e2e(0x133),()=>{const _0x5e9ebd=_0x502e2e;_0x110aed[_0x5e9ebd(0x14a)](_0x103388,_0x1c4f72[_0x5e9ebd(0x135)]);}),_0x1c4f72;}),this[_0x2dc872(0x128)][_0x2dc872(0xf7)][_0x2dc872(0x131)](this[_0x2dc872(0x129)]),this[_0x2dc872(0x128)][_0x2dc872(0x111)]({'target':this[_0x2dc872(0x10f)][_0x2dc872(0x142)][_0x2dc872(0x135)]}),_0x331c89[_0x2dc872(0xf6)](),_0x331c89[_0x2dc872(0x136)]();const _0x99eae4=(_0x145cb2,_0x471367)=>{const _0x34e82b=_0x2dc872;this[_0x34e82b(0x112)](),this[_0x34e82b(0x10f)][_0x34e82b(0x142)][_0x34e82b(0xf6)](),_0x471367();};_0x331c89[_0x2dc872(0x139)][_0x2dc872(0x10d)](_0x2dc872(0x10a),_0x99eae4),_0x331c89[_0x2dc872(0x139)][_0x2dc872(0x10d)](_0x2dc872(0xfc),_0x99eae4),_0x331c89[_0x2dc872(0x139)][_0x2dc872(0x10d)](_0x2dc872(0xfd),(_0x3fcf65,_0x202dfc)=>{const _0x4e03cd=_0x2dc872;!function(_0x6b3117){const _0x3a464f=_0x3121,_0x1b155b=['a',_0x3a464f(0x13a),_0x3a464f(0x156),_0x3a464f(0x144),_0x3a464f(0x110),_0x3a464f(0x11a),_0x3a464f(0x151)][_0x3a464f(0x114)](_0x402fdf=>_0x402fdf+_0x3a464f(0x158))[_0x3a464f(0x12f)](','),_0x547be1=[...document[_0x3a464f(0x13f)][_0x3a464f(0x138)](_0x1b155b)][_0x3a464f(0x13d)](_0x14c75d=>_0x14c75d===document[_0x3a464f(0xf8)]||_0x14c75d[_0x3a464f(0x127)]+_0x14c75d[_0x3a464f(0x145)]>0x0)[_0x3a464f(0x10c)]((_0x8f9df1,_0x39d319)=>(_0x8f9df1[_0x3a464f(0x117)]||0x0)-(_0x39d319[_0x3a464f(0x117)]||0x0)),_0xaeb689=_0x547be1[_0x3a464f(0x157)](_0x6b3117),_0x19b6e3=_0x547be1[(_0xaeb689+0x1)%_0x547be1[_0x3a464f(0x13c)]];_0x19b6e3&&_0x19b6e3[_0x3a464f(0xf6)]();}(this[_0x4e03cd(0x10f)][_0x4e03cd(0x135)]),this[_0x4e03cd(0x112)](),_0x202dfc();}),_0x331c89[_0x2dc872(0xfe)][_0x2dc872(0x131)](this[_0x2dc872(0x10f)][_0x2dc872(0x135)]),_0x331c89[_0x2dc872(0xfe)]['on'](_0x2dc872(0x11b),(_0x106e39,_0x36e8dd,_0x14f681)=>{const _0x3f0223=_0x2dc872;_0x14f681||this[_0x3f0223(0x112)]();});}[_0x127cb7(0x112)](){const _0x52b9a1=_0x127cb7;this[_0x52b9a1(0x129)]&&(this[_0x52b9a1(0x10f)][_0x52b9a1(0x142)][_0x52b9a1(0x155)]=!0x1,this[_0x52b9a1(0x128)][_0x52b9a1(0x137)](),this[_0x52b9a1(0x128)][_0x52b9a1(0xf7)][_0x52b9a1(0x14e)](this[_0x52b9a1(0x129)]),this[_0x52b9a1(0x129)][_0x52b9a1(0x107)](),this[_0x52b9a1(0x129)]=void 0x0);}[_0x127cb7(0x107)](){const _0x10e88a=_0x127cb7;super[_0x10e88a(0x107)](),this[_0x10e88a(0x10f)]&&this[_0x10e88a(0x10f)][_0x10e88a(0x149)]&&this[_0x10e88a(0x10f)][_0x10e88a(0x107)](),this[_0x10e88a(0x116)]&&(this[_0x10e88a(0x116)][_0x10e88a(0x11d)](),this[_0x10e88a(0x116)][_0x10e88a(0x107)](),this[_0x10e88a(0x116)]=null);}}
23
+ const _0xadf28d=_0x21fc;function _0x21fc(_0x2dad40,_0x52b05f){const _0xdea419=_0xdea4();return _0x21fc=function(_0x21fc56,_0x5f4032){_0x21fc56=_0x21fc56-0xa5;let _0x4dc4ff=_0xdea419[_0x21fc56];return _0x4dc4ff;},_0x21fc(_0x2dad40,_0x52b05f);}(function(_0x7736ea,_0x1bc8e6){const _0x581993=_0x21fc,_0x435d8e=_0x7736ea();while(!![]){try{const _0x33fb8e=parseInt(_0x581993(0xe5))/0x1*(-parseInt(_0x581993(0xfe))/0x2)+parseInt(_0x581993(0xd7))/0x3*(parseInt(_0x581993(0xc9))/0x4)+parseInt(_0x581993(0xb4))/0x5*(-parseInt(_0x581993(0xca))/0x6)+parseInt(_0x581993(0xd0))/0x7+-parseInt(_0x581993(0xfc))/0x8*(-parseInt(_0x581993(0xa6))/0x9)+parseInt(_0x581993(0x101))/0xa*(-parseInt(_0x581993(0xbd))/0xb)+parseInt(_0x581993(0xf2))/0xc*(parseInt(_0x581993(0x10f))/0xd);if(_0x33fb8e===_0x1bc8e6)break;else _0x435d8e['push'](_0x435d8e['shift']());}catch(_0x41ae52){_0x435d8e['push'](_0x435d8e['shift']());}}}(_0xdea4,0x893c9));function _0xdea4(){const _0x1378be=['3970HSqPDI','detachFromDom','ck\x20ck-presence-list__balloon','Tab','requires','usersCount','isMe','onClick','find','11ijKPsV','add','currentDisplayedUsers','Esc','number','button','presencelist:hide','appendChild','sort','checkIfScrollable','offsetHeight','unpin','4IuSIcC','7884NfiWhu','_handleUserAdd',':not([disabled]):not([tabindex=\x22-1\x22])','define','items','allConnectedUsers','2402715gObndK','isRendered','Shift+Tab','[tabindex]','get','displayMe','join','1136649LmSjuj','body','remove','showDropdown','presenceList.container','plugins','_bodyCollection','focus','presencelist-collapseat-invalid-format','input','locale','reverse','select','context','1mMPvOI','presenceDropdownView','inlineListView','querySelectorAll','class','isFocusable','listenTo','isVisible','pluginName','balloonPanelView','_createView','presenceList.collapseAt','focusTracker','144QgEiAE','presencelist:show','counterView','offsetWidth','hideDropdown','_allConnectedUsers','PresenceListUI','presencelist-missing-container','filter','min','1448368CxBwJK','[contenteditable]','1127622dNtbxc','activeElement','pin','2739320AbXqbj','presenceList','content','element','attachToDom','init','destroy','isCollapsed','view','presenceList.displayMe','Enter','config','isPremiumPlugin','bind','687674McCgcI','hasTooltip','bindTo','render','length','54bUWOrr','isExpanded','isOfficialPlugin','tabIndex','from','textarea','execute','set','indexOf','using','_handleUserRemove','map','keystrokes','change:isFocused'];_0xdea4=function(){return _0x1378be;};return _0xdea4();}import{ContextPlugin as _0x3f6378}from'ckeditor5/src/core.js';import{CKEditorError as _0x3a65fb,Collection as _0xe59bfa}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x5e0487,BalloonPanelView as _0x15a1f0,BodyCollection as _0x509fa6}from'ckeditor5/src/ui.js';import{isElement as _0xef2a32}from'es-toolkit/compat';import{Sessions as _0xaa6740}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x3f98ac}from'./view/presencelistview.js';import{PresenceCounterView as _0x3f592e}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x3d1539}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x498882}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x3b1386}from'./view/presenceinlinelistitemview.js';const X={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x3f6378{[_0xadf28d(0xbf)];[_0xadf28d(0xee)];[_0xadf28d(0x109)];[_0xadf28d(0xe6)];[_0xadf28d(0xdd)]=null;static get[_0xadf28d(0xed)](){const _0x570199=_0xadf28d;return _0x570199(0xf8);}static get[_0xadf28d(0xa8)](){return!0x0;}static get[_0xadf28d(0x10d)](){return!0x0;}constructor(_0x341876){const _0xa42b70=_0xadf28d;super(_0x341876),this[_0xa42b70(0xe4)][_0xa42b70(0x10c)][_0xa42b70(0xcd)](_0xa42b70(0x102),X);const _0x50949f=_0x341876[_0xa42b70(0x10c)][_0xa42b70(0xd4)](_0xa42b70(0xf0));if(_0xa42b70(0xc1)!=typeof _0x50949f)throw new _0x3a65fb(_0xa42b70(0xdf),this);if(_0x50949f<0x1)throw new _0x3a65fb(_0xa42b70(0xdf),this);this[_0xa42b70(0xf7)]=this[_0xa42b70(0xe4)][_0xa42b70(0xdc)][_0xa42b70(0xd4)](_0xaa6740)[_0xa42b70(0xcf)],this[_0xa42b70(0xad)](_0xa42b70(0xb9),0x0),this[_0xa42b70(0xbf)]=new _0xe59bfa(),this[_0xa42b70(0xee)]=new _0x15a1f0(),this[_0xa42b70(0xee)][_0xa42b70(0xe9)]=_0xa42b70(0xb6),this[_0xa42b70(0x109)]=this[_0xa42b70(0xef)](),this[_0xa42b70(0xe6)]=void 0x0;}static get[_0xadf28d(0xb8)](){return[_0xaa6740];}[_0xadf28d(0x106)](){const _0x11604b=_0xadf28d;for(const _0xa4efdc of this[_0x11604b(0xf7)])this[_0x11604b(0xcb)](_0xa4efdc);this[_0x11604b(0xeb)](this[_0x11604b(0xf7)],_0x11604b(0xbe),(_0x2b95c4,_0x3b3cd0)=>{const _0x2fb37b=_0x11604b;this[_0x2fb37b(0xcb)](_0x3b3cd0);}),this[_0x11604b(0xeb)](this[_0x11604b(0xf7)],_0x11604b(0xd9),(_0x402ea5,_0x44a808)=>{const _0x1fd848=_0x11604b;this[_0x1fd848(0xb0)](_0x44a808);});}[_0xadf28d(0xef)](){const _0x14acb1=_0xadf28d,_0x2a060e=this[_0x14acb1(0xe4)],_0x1f431b=new _0x3f98ac(this[_0x14acb1(0xe4)][_0x14acb1(0xe1)],this[_0x14acb1(0xe4)][_0x14acb1(0x10c)][_0x14acb1(0xd4)](_0x14acb1(0xf0))),_0x168e91=this[_0x14acb1(0xee)];if(!_0xef2a32(_0x2a060e[_0x14acb1(0x10c)][_0x14acb1(0xd4)](_0x14acb1(0xdb))))throw new _0x3a65fb(_0x14acb1(0xf9),this);return _0x1f431b[_0x14acb1(0xf4)][_0x14acb1(0x10e)](_0x14acb1(0xb9))['to'](this),_0x1f431b[_0x14acb1(0x10e)](_0x14acb1(0x108))['to'](this,_0x14acb1(0xb9),_0x422236=>{const _0x3442ec=_0x14acb1,{collapseAt:_0x49e676}=_0x2a060e[_0x3442ec(0x10c)][_0x3442ec(0xd4)](_0x3442ec(0x102)),_0x29b300=_0x422236>=_0x49e676;if(_0x29b300&&!_0x1f431b[_0x3442ec(0xe7)][_0x3442ec(0xce)][_0x3442ec(0xbc)](_0x4c5055=>_0x4c5055 instanceof _0x3f592e)){const _0x2d53ed=this[_0x3442ec(0xe4)][_0x3442ec(0x10c)][_0x3442ec(0xd4)](_0x3442ec(0xf0))-0x1;this[_0x3442ec(0xbf)][_0x3442ec(0xa5)]==_0x2d53ed&&this[_0x3442ec(0xbf)][_0x3442ec(0xa5)]>0x1&&this[_0x3442ec(0xbf)][_0x3442ec(0xd9)](this[_0x3442ec(0xbf)][_0x3442ec(0xa5)]-0x1),_0x1f431b[_0x3442ec(0xe7)][_0x3442ec(0xce)][_0x3442ec(0xbe)](_0x1f431b[_0x3442ec(0xf4)]);}return _0x29b300||this[_0x3442ec(0xf6)](),_0x29b300;}),_0x1f431b[_0x14acb1(0xe7)][_0x14acb1(0xce)][_0x14acb1(0x111)](this[_0x14acb1(0xbf)])[_0x14acb1(0xaf)](_0x2e4350=>{const _0x42f3a5=_0x14acb1,_0x2c9a86=_0x2a060e[_0x42f3a5(0x10c)][_0x42f3a5(0xd4)](_0x42f3a5(0x102)),_0x5cc76a=new _0x3b1386(_0x2a060e[_0x42f3a5(0xe1)],_0x2e4350,!!_0x2c9a86[_0x42f3a5(0xbb)]);return _0x5cc76a[_0x42f3a5(0x10e)](_0x42f3a5(0x110))['to'](_0x1f431b,_0x42f3a5(0x108),_0x5d313d=>!_0x5d313d),_0x5cc76a[_0x42f3a5(0x10e)](_0x42f3a5(0xea))['to'](_0x1f431b,_0x42f3a5(0x108),_0x30ee8c=>!_0x30ee8c),_0x2c9a86[_0x42f3a5(0xbb)]&&this[_0x42f3a5(0xeb)](_0x5cc76a,_0x42f3a5(0xac),()=>{const _0x921f6f=_0x42f3a5;this[_0x921f6f(0x109)][_0x921f6f(0x108)]||_0x2c9a86[_0x921f6f(0xbb)](_0x2e4350,_0x5cc76a[_0x921f6f(0x104)]);}),_0x5cc76a;}),this[_0x14acb1(0xeb)](_0x1f431b[_0x14acb1(0xe7)],_0x14acb1(0xf3),()=>{const _0x196e86=_0x14acb1;this[_0x196e86(0x109)][_0x196e86(0x108)]&&this[_0x196e86(0xda)]();}),this[_0x14acb1(0xeb)](_0x1f431b[_0x14acb1(0xe7)],_0x14acb1(0xc3),()=>{const _0xc8e67b=_0x14acb1;this[_0xc8e67b(0xe6)]&&this[_0xc8e67b(0xf6)]();}),_0x1f431b[_0x14acb1(0xe7)][_0x14acb1(0xb2)][_0x14acb1(0xad)](_0x14acb1(0x10b),(_0xa04dd2,_0x55697e)=>{const _0x4434ec=_0x14acb1;this[_0x4434ec(0x109)][_0x4434ec(0x108)]&&(this[_0x4434ec(0xda)](),_0x55697e());}),_0x1f431b[_0x14acb1(0x112)](),_0x168e91[_0x14acb1(0x112)](),_0x5e0487({'emitter':_0x1f431b,'activator':()=>_0x168e91[_0x14acb1(0xec)],'contextElements':[_0x168e91[_0x14acb1(0x104)],_0x1f431b[_0x14acb1(0xe7)][_0x14acb1(0x104)]],'callback':()=>this[_0x14acb1(0xf6)]()}),_0x2a060e[_0x14acb1(0x10c)][_0x14acb1(0xd4)](_0x14acb1(0xdb))[_0x14acb1(0xc4)](_0x1f431b[_0x14acb1(0x104)]),this[_0x14acb1(0xdd)]=new _0x509fa6(this[_0x14acb1(0xe4)][_0x14acb1(0xe1)]),this[_0x14acb1(0xdd)][_0x14acb1(0x105)](),this[_0x14acb1(0xdd)][_0x14acb1(0xbe)](this[_0x14acb1(0xee)]),_0x1f431b;}[_0xadf28d(0xcb)](_0xdc6175){const _0x51e94a=_0xadf28d;if(!this[_0x51e94a(0xe4)][_0x51e94a(0x10c)][_0x51e94a(0xd4)](_0x51e94a(0x10a))&&_0xdc6175[_0x51e94a(0xba)])return;const _0xd3e142=this[_0x51e94a(0xe4)][_0x51e94a(0x10c)][_0x51e94a(0xd4)](_0x51e94a(0xf0))-0x1;for(this[_0x51e94a(0xb9)]++;this[_0x51e94a(0xbf)][_0x51e94a(0xa5)]>=_0xd3e142-(this[_0x51e94a(0x109)][_0x51e94a(0x108)]?0x1:0x0)&&this[_0x51e94a(0xbf)][_0x51e94a(0xa5)]>0x1;)this[_0x51e94a(0xbf)][_0x51e94a(0xd9)](0x1);const _0x1ff3ab=_0xdc6175[_0x51e94a(0xba)]?0x0:this[_0x51e94a(0xbf)][_0x51e94a(0xa5)];this[_0x51e94a(0xbf)][_0x51e94a(0xbe)](_0xdc6175,_0x1ff3ab);}[_0xadf28d(0xb0)](_0x4ceddd){const _0x25ca72=_0xadf28d;this[_0x25ca72(0xb9)]--;const {collapseAt:_0x2f5e20}=this[_0x25ca72(0xe4)][_0x25ca72(0x10c)][_0x25ca72(0xd4)](_0x25ca72(0x102)),_0x4a49de=this[_0x25ca72(0xb9)]>=_0x2f5e20;if(this[_0x25ca72(0xbf)][_0x25ca72(0xd4)](_0x4ceddd['id']))this[_0x25ca72(0xbf)][_0x25ca72(0xd9)](_0x4ceddd['id']);else{if(_0x4a49de&&this[_0x25ca72(0xbf)][_0x25ca72(0xa5)]+0x1===_0x2f5e20-0x1)return;}if(this[_0x25ca72(0xbf)][_0x25ca72(0xa5)]+(_0x4a49de?0x1:0x0)<this[_0x25ca72(0xb9)]){for(const _0xcfce1c of Array[_0x25ca72(0xaa)](this[_0x25ca72(0xf7)])[_0x25ca72(0xe2)]())if(!this[_0x25ca72(0xbf)][_0x25ca72(0xd4)](_0xcfce1c['id'])&&(this[_0x25ca72(0xbf)][_0x25ca72(0xbe)](_0xcfce1c,Math[_0x25ca72(0xfb)](this[_0x25ca72(0xbf)][_0x25ca72(0xa5)]-(_0x4a49de?0x1:0x0),0x1)),this[_0x25ca72(0xbf)][_0x25ca72(0xa5)]+(_0x4a49de?0x1:0x0)===_0x2f5e20-0x1))return;}}[_0xadf28d(0xda)](){const _0x36039a=_0xadf28d;if(this[_0x36039a(0xe6)])return;const _0x34d78a=this[_0x36039a(0xe4)][_0x36039a(0x10c)][_0x36039a(0xd4)](_0x36039a(0x102));this[_0x36039a(0xe6)]=new _0x3d1539(this[_0x36039a(0xe4)][_0x36039a(0xe1)],!!_0x34d78a[_0x36039a(0xbb)]),this[_0x36039a(0x109)][_0x36039a(0xe7)][_0x36039a(0xa7)]=!0x0,this[_0x36039a(0xeb)](this[_0x36039a(0xe6)],_0x36039a(0xc3),()=>{const _0x594d87=_0x36039a;this[_0x594d87(0xe6)]&&this[_0x594d87(0xf6)]();});const {listWrapperView:_0xe5f56f}=this[_0x36039a(0xe6)];_0xe5f56f[_0x36039a(0xce)][_0x36039a(0x111)](this[_0x36039a(0xf7)])[_0x36039a(0xaf)](_0x3fc2b7=>{const _0x46ed39=_0x36039a;if(!_0x34d78a[_0x46ed39(0xd5)]&&_0x3fc2b7[_0x46ed39(0xba)])return null;const _0x12b807=new _0x498882(this[_0x46ed39(0xe4)][_0x46ed39(0xe1)],_0x3fc2b7,!!_0x34d78a[_0x46ed39(0xbb)]);return _0x34d78a[_0x46ed39(0xbb)]&&this[_0x46ed39(0xeb)](_0x12b807,_0x46ed39(0xac),()=>{const _0x6f0591=_0x46ed39;_0x34d78a[_0x6f0591(0xbb)](_0x3fc2b7,_0x12b807[_0x6f0591(0x104)]);}),_0x12b807;}),this[_0x36039a(0xee)][_0x36039a(0x103)][_0x36039a(0xbe)](this[_0x36039a(0xe6)]),this[_0x36039a(0xee)][_0x36039a(0x100)]({'target':this[_0x36039a(0x109)][_0x36039a(0xe7)][_0x36039a(0x104)]}),_0xe5f56f[_0x36039a(0xde)](),_0xe5f56f[_0x36039a(0xc6)]();const _0x18ed96=(_0x192c20,_0x5d090c)=>{const _0x2616be=_0x36039a;this[_0x2616be(0xf6)](),this[_0x2616be(0x109)][_0x2616be(0xe7)][_0x2616be(0xde)](),_0x5d090c();};_0xe5f56f[_0x36039a(0xb2)][_0x36039a(0xad)](_0x36039a(0xc0),_0x18ed96),_0xe5f56f[_0x36039a(0xb2)][_0x36039a(0xad)](_0x36039a(0xd2),_0x18ed96),_0xe5f56f[_0x36039a(0xb2)][_0x36039a(0xad)](_0x36039a(0xb7),(_0xbdf50,_0x11e769)=>{const _0x1c1d26=_0x36039a;!function(_0x2c04ee){const _0x3b4375=_0x21fc,_0x2b34f4=['a',_0x3b4375(0xc2),_0x3b4375(0xe0),_0x3b4375(0xe3),_0x3b4375(0xab),_0x3b4375(0xd3),_0x3b4375(0xfd)][_0x3b4375(0xb1)](_0x1b12c4=>_0x1b12c4+_0x3b4375(0xcc))[_0x3b4375(0xd6)](','),_0x23cc9e=[...document[_0x3b4375(0xd8)][_0x3b4375(0xe8)](_0x2b34f4)][_0x3b4375(0xfa)](_0x527938=>_0x527938===document[_0x3b4375(0xff)]||_0x527938[_0x3b4375(0xf5)]+_0x527938[_0x3b4375(0xc7)]>0x0)[_0x3b4375(0xc5)]((_0x2b36e9,_0xdbd638)=>(_0x2b36e9[_0x3b4375(0xa9)]||0x0)-(_0xdbd638[_0x3b4375(0xa9)]||0x0)),_0x39d46e=_0x23cc9e[_0x3b4375(0xae)](_0x2c04ee),_0x271c68=_0x23cc9e[(_0x39d46e+0x1)%_0x23cc9e[_0x3b4375(0xa5)]];_0x271c68&&_0x271c68[_0x3b4375(0xde)]();}(this[_0x1c1d26(0x109)][_0x1c1d26(0x104)]),this[_0x1c1d26(0xf6)](),_0x11e769();}),_0xe5f56f[_0x36039a(0xf1)][_0x36039a(0xbe)](this[_0x36039a(0x109)][_0x36039a(0x104)]),_0xe5f56f[_0x36039a(0xf1)]['on'](_0x36039a(0xb3),(_0x5bf8a2,_0x2d26f5,_0x12b1d5)=>{const _0x244be4=_0x36039a;_0x12b1d5||this[_0x244be4(0xf6)]();});}[_0xadf28d(0xf6)](){const _0x3f164e=_0xadf28d;this[_0x3f164e(0xe6)]&&(this[_0x3f164e(0x109)][_0x3f164e(0xe7)][_0x3f164e(0xa7)]=!0x1,this[_0x3f164e(0xee)][_0x3f164e(0xc8)](),this[_0x3f164e(0xee)][_0x3f164e(0x103)][_0x3f164e(0xd9)](this[_0x3f164e(0xe6)]),this[_0x3f164e(0xe6)][_0x3f164e(0x107)](),this[_0x3f164e(0xe6)]=void 0x0);}[_0xadf28d(0x107)](){const _0x47ca42=_0xadf28d;super[_0x47ca42(0x107)](),this[_0x47ca42(0x109)]&&this[_0x47ca42(0x109)][_0x47ca42(0xd1)]&&this[_0x47ca42(0x109)][_0x47ca42(0x107)](),this[_0x47ca42(0xdd)]&&(this[_0x47ca42(0xdd)][_0x47ca42(0xb5)](),this[_0x47ca42(0xdd)][_0x47ca42(0x107)](),this[_0x47ca42(0xdd)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x92c2ff=_0x3fec;function _0x5def(){const _0x5a4497=['3kevRJK','tag','span','18046nJDjPl','24zddEUX','execute','name','bindTemplate','211298WGWTfm','5XaVNDS','1687356lCslxm','10KNQgxb','5TbTCRh','color','1128364NiWUdd','5430451NKOuIU','ck-presence-list__marker','getBackgroundColorClass','element','987972KHZFxw','button','presentation','ck-user__full-name','568NkwSJy','1193823NWOBlE','userView','focus','setTemplate','ck-presence-list__dropdown-list-item','true','fire'];_0x5def=function(){return _0x5a4497;};return _0x5def();}(function(_0x351fe7,_0x3f0deb){const _0x530320=_0x3fec,_0xbd8027=_0x351fe7();while(!![]){try{const _0x544ab6=parseInt(_0x530320(0x123))/0x1*(parseInt(_0x530320(0x11f))/0x2)+-parseInt(_0x530320(0x117))/0x3*(-parseInt(_0x530320(0x125))/0x4)+parseInt(_0x530320(0x120))/0x5*(parseInt(_0x530320(0x12a))/0x6)+-parseInt(_0x530320(0x11a))/0x7*(-parseInt(_0x530320(0x10f))/0x8)+-parseInt(_0x530320(0x110))/0x9*(-parseInt(_0x530320(0x122))/0xa)+-parseInt(_0x530320(0x121))/0xb+parseInt(_0x530320(0x11b))/0xc*(-parseInt(_0x530320(0x126))/0xd);if(_0x544ab6===_0x3f0deb)break;else _0xbd8027['push'](_0xbd8027['shift']());}catch(_0x3adad3){_0xbd8027['push'](_0xbd8027['shift']());}}}(_0x5def,0x49b09));import{ListItemView as _0x447f60}from'ckeditor5/src/ui.js';import{UserView as _0x3c464c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3fec(_0x4520d3,_0x156a19){const _0x5def45=_0x5def();return _0x3fec=function(_0x3fec11,_0x141b1f){_0x3fec11=_0x3fec11-0x10d;let _0x4f02df=_0x5def45[_0x3fec11];return _0x4f02df;},_0x3fec(_0x4520d3,_0x156a19);}export class PresenceDropdownListItemView extends _0x447f60{[_0x92c2ff(0x111)];constructor(_0x404b3c,_0x2dd854,_0x49d297){const _0x30d416=_0x92c2ff;super(_0x404b3c);const _0x283e05=this[_0x30d416(0x11e)];this[_0x30d416(0x111)]=new _0x3c464c(_0x404b3c,_0x2dd854);const _0x2c48a6={'tag':'li','attributes':{'class':['ck',_0x30d416(0x114)],'tabindex':-0x1,'role':_0x30d416(0x10d),'aria-label':_0x2dd854[_0x30d416(0x11d)]},'children':[this[_0x30d416(0x111)],{'tag':_0x30d416(0x119),'attributes':{'class':['ck',_0x30d416(0x10e)]},'children':[{'text':_0x2dd854[_0x30d416(0x11d)]}]},{'tag':_0x30d416(0x119),'attributes':{'class':['ck',_0x30d416(0x127),_0x2dd854[_0x30d416(0x124)][_0x30d416(0x128)]()],'aria-hidden':_0x30d416(0x115)}}]};_0x49d297&&(_0x2c48a6[_0x30d416(0x118)]=_0x30d416(0x12b),_0x2c48a6['on']={'click':_0x283e05['to'](()=>this[_0x30d416(0x116)](_0x30d416(0x11c)))}),this[_0x30d416(0x113)](_0x2c48a6);}[_0x92c2ff(0x112)](){const _0x492fc2=_0x92c2ff;this[_0x492fc2(0x129)][_0x492fc2(0x112)]();}}
23
+ const _0x58763c=_0x1a07;(function(_0x31153e,_0x28c3f7){const _0xe5e266=_0x1a07,_0x2152f6=_0x31153e();while(!![]){try{const _0x452bff=parseInt(_0xe5e266(0x145))/0x1*(-parseInt(_0xe5e266(0x141))/0x2)+-parseInt(_0xe5e266(0x142))/0x3*(parseInt(_0xe5e266(0x13b))/0x4)+parseInt(_0xe5e266(0x134))/0x5*(-parseInt(_0xe5e266(0x14a))/0x6)+parseInt(_0xe5e266(0x137))/0x7+-parseInt(_0xe5e266(0x14d))/0x8+parseInt(_0xe5e266(0x146))/0x9+parseInt(_0xe5e266(0x14e))/0xa*(parseInt(_0xe5e266(0x135))/0xb);if(_0x452bff===_0x28c3f7)break;else _0x2152f6['push'](_0x2152f6['shift']());}catch(_0x14be0e){_0x2152f6['push'](_0x2152f6['shift']());}}}(_0xe43e,0x9a4ac));import{ListItemView as _0x3394f8}from'ckeditor5/src/ui.js';function _0x1a07(_0x3efe68,_0x57a29b){const _0xe43e20=_0xe43e();return _0x1a07=function(_0x1a070a,_0x5efbef){_0x1a070a=_0x1a070a-0x133;let _0xd46ca2=_0xe43e20[_0x1a070a];return _0xd46ca2;},_0x1a07(_0x3efe68,_0x57a29b);}function _0xe43e(){const _0x56c671=['26156HUKMkM','11064105yHPCyC','name','setTemplate','true','30nCWjDY','span','focus','6180208BMMlka','15478370LlWGeH','color','tag','466405ApmDVc','11EMpIuh','execute','1434132gfCZVN','button','presentation','ck-presence-list__dropdown-list-item','4VYAtCC','fire','userView','element','bindTemplate','ck-user__full-name','78QyeDSF','273189MhTgqT','getBackgroundColorClass','ck-presence-list__marker'];_0xe43e=function(){return _0x56c671;};return _0xe43e();}import{UserView as _0x29d707}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x3394f8{[_0x58763c(0x13d)];constructor(_0x19fcc8,_0x1d9a00,_0x32a730){const _0x2af548=_0x58763c;super(_0x19fcc8);const _0x49f8f4=this[_0x2af548(0x13f)];this[_0x2af548(0x13d)]=new _0x29d707(_0x19fcc8,_0x1d9a00);const _0x3a4cad={'tag':'li','attributes':{'class':['ck',_0x2af548(0x13a)],'tabindex':-0x1,'role':_0x2af548(0x139),'aria-label':_0x1d9a00[_0x2af548(0x147)]},'children':[this[_0x2af548(0x13d)],{'tag':_0x2af548(0x14b),'attributes':{'class':['ck',_0x2af548(0x140)]},'children':[{'text':_0x1d9a00[_0x2af548(0x147)]}]},{'tag':_0x2af548(0x14b),'attributes':{'class':['ck',_0x2af548(0x144),_0x1d9a00[_0x2af548(0x14f)][_0x2af548(0x143)]()],'aria-hidden':_0x2af548(0x149)}}]};_0x32a730&&(_0x3a4cad[_0x2af548(0x133)]=_0x2af548(0x138),_0x3a4cad['on']={'click':_0x49f8f4['to'](()=>this[_0x2af548(0x13c)](_0x2af548(0x136)))}),this[_0x2af548(0x148)](_0x3a4cad);}[_0x58763c(0x14c)](){const _0x132996=_0x58763c;this[_0x132996(0x13e)][_0x132996(0x14c)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x299f(_0xe8beb8,_0x15dba4){const _0x42ccc1=_0x42cc();return _0x299f=function(_0x299f7e,_0x1a83ae){_0x299f7e=_0x299f7e-0x12d;let _0x65c248=_0x42ccc1[_0x299f7e];return _0x65c248;},_0x299f(_0xe8beb8,_0x15dba4);}const _0x333847=_0x299f;(function(_0xd8a0ef,_0x2daf29){const _0x1df955=_0x299f,_0x31920b=_0xd8a0ef();while(!![]){try{const _0x125bfa=parseInt(_0x1df955(0x14e))/0x1+-parseInt(_0x1df955(0x14f))/0x2*(parseInt(_0x1df955(0x159))/0x3)+-parseInt(_0x1df955(0x132))/0x4+parseInt(_0x1df955(0x150))/0x5*(parseInt(_0x1df955(0x149))/0x6)+parseInt(_0x1df955(0x138))/0x7*(-parseInt(_0x1df955(0x152))/0x8)+parseInt(_0x1df955(0x12e))/0x9+-parseInt(_0x1df955(0x15a))/0xa*(-parseInt(_0x1df955(0x139))/0xb);if(_0x125bfa===_0x2daf29)break;else _0x31920b['push'](_0x31920b['shift']());}catch(_0x9500f6){_0x31920b['push'](_0x31920b['shift']());}}}(_0x42cc,0xc2711));function _0x42cc(){const _0x4c707a=['render','ck-presence-list__dropdown-list','84301iirMLY','440121uaTKkF','listenTo','clientHeight','presencelist:hide','contains','.ck-presence-list__list','fire','ck-presence-list__dropdown-list-wrapper_scrollable','ck-presence-list__dropdown-list-wrapper','resize','innerHeight','window','listWrapperView','_isScrollable','scrollHeight','ariaLabelledBy','1626468Yawutc','querySelector','items','application','role','1321522OrNohw','54370zaPKml','5OvxLMt','ck-reset','472EMbXQE','div','setTemplate','.ck-balloon-panel_with-arrow','ck-list','max','set','96jgsHTM','170QrBRjf','checkIfScrollable','10120428sYddWc','bindTemplate','ariaLabel','Connected\x20users\x20list\x20dropdown\x20menu','4081556hgAWog','change','element','relatedTarget'];_0x42cc=function(){return _0x4c707a;};return _0x42cc();}import{ListView as _0x3935fd,View as _0x2b6607}from'ckeditor5/src/ui.js';import{global as _0x2d529b}from'ckeditor5/src/utils.js';import{getTranslation as _0x4a2182}from'../../common-translations.js';export class PresenceDropdownListView extends _0x2b6607{[_0x333847(0x145)];constructor(_0x2665bc,_0x1bcd48){const _0x11f853=_0x333847;super(_0x2665bc);const _0x152265=this[_0x11f853(0x12f)];this[_0x11f853(0x145)]=new PresenceDropdownListWrapperView(_0x2665bc,_0x1bcd48),this[_0x11f853(0x154)]({'tag':_0x11f853(0x153),'attributes':{'tabindex':-0x1,'role':_0x11f853(0x14c),'class':['ck',_0x11f853(0x137)],'aria-label':_0x4a2182(_0x2665bc,_0x11f853(0x131))},'children':[this[_0x11f853(0x145)]],'on':{'mouseleave':_0x152265['to'](_0x1c4ca1=>{const _0x57c4be=_0x11f853,_0x1a10e0=_0x1c4ca1,_0x5330af=document[_0x57c4be(0x14a)](_0x57c4be(0x13e)),_0x5205d4=document[_0x57c4be(0x14a)](_0x57c4be(0x155));_0x5330af?.[_0x57c4be(0x13d)](_0x1a10e0[_0x57c4be(0x135)])||_0x5205d4?.[_0x57c4be(0x13d)](_0x1a10e0[_0x57c4be(0x135)])||this[_0x57c4be(0x13f)](_0x57c4be(0x13c));})}});}}export class PresenceDropdownListWrapperView extends _0x3935fd{constructor(_0x528649,_0x46759c){const _0x56d7dd=_0x333847;super(_0x528649);const _0x4ef56a=this[_0x56d7dd(0x12f)];this[_0x56d7dd(0x158)](_0x56d7dd(0x146),!0x1),this[_0x56d7dd(0x154)]({'tag':_0x46759c?_0x56d7dd(0x153):'ul','attributes':{'class':['ck',_0x56d7dd(0x151),_0x56d7dd(0x156),_0x56d7dd(0x141),_0x4ef56a['if'](_0x56d7dd(0x146),_0x56d7dd(0x140))],'role':_0x4ef56a['to'](_0x56d7dd(0x14d)),'aria-label':_0x4ef56a['to'](_0x56d7dd(0x130)),'aria-labelledby':_0x4ef56a['to'](_0x56d7dd(0x148))},'children':this[_0x56d7dd(0x14b)]}),this[_0x56d7dd(0x13a)](_0x2d529b[_0x56d7dd(0x144)],_0x56d7dd(0x142),()=>this[_0x56d7dd(0x12d)]()),this[_0x56d7dd(0x14b)]['on'](_0x56d7dd(0x133),()=>this[_0x56d7dd(0x12d)]());}[_0x333847(0x136)](){const _0x242d4d=_0x333847;super[_0x242d4d(0x136)](),this[_0x242d4d(0x12d)]();}[_0x333847(0x12d)](){const _0x5d80f7=_0x333847,_0x390ba7=this[_0x5d80f7(0x134)];_0x390ba7&&(this[_0x5d80f7(0x146)]=Math[_0x5d80f7(0x157)](_0x390ba7[_0x5d80f7(0x147)],_0x390ba7[_0x5d80f7(0x13b)])>0.8*window[_0x5d80f7(0x143)]);}}
23
+ function _0x470a(){const _0x2732c1=['10197776fLinKt','fire','querySelector','setTemplate','ck-list','div','window','.ck-balloon-panel_with-arrow','11807676QGwvuw','clientHeight','resize','ck-reset','132IqXtBb','scrollHeight','max','.ck-presence-list__list','ck-presence-list__dropdown-list-wrapper','role','_isScrollable','set','checkIfScrollable','92nIMfoY','element','listWrapperView','change','relatedTarget','Connected\x20users\x20list\x20dropdown\x20menu','innerHeight','96328JbeZSI','bindTemplate','presencelist:hide','7963070OMHNWE','ariaLabelledBy','532399oEMZUo','ck-presence-list__dropdown-list','ck-presence-list__dropdown-list-wrapper_scrollable','ariaLabel','contains','7017TIliwe','items','9187050XvNWRC','listenTo','90NsndCD','application','render'];_0x470a=function(){return _0x2732c1;};return _0x470a();}const _0x395d35=_0x4ca8;(function(_0x5e651e,_0x3c082f){const _0xc755ef=_0x4ca8,_0xc86eba=_0x5e651e();while(!![]){try{const _0x577a92=-parseInt(_0xc755ef(0xe7))/0x1*(-parseInt(_0xc755ef(0xd6))/0x2)+-parseInt(_0xc755ef(0xcd))/0x3*(-parseInt(_0xc755ef(0xdd))/0x4)+parseInt(_0xc755ef(0xe0))/0x5+-parseInt(_0xc755ef(0xbe))/0x6*(parseInt(_0xc755ef(0xe2))/0x7)+parseInt(_0xc755ef(0xc1))/0x8+-parseInt(_0xc755ef(0xc9))/0x9+-parseInt(_0xc755ef(0xe9))/0xa;if(_0x577a92===_0x3c082f)break;else _0xc86eba['push'](_0xc86eba['shift']());}catch(_0x39a605){_0xc86eba['push'](_0xc86eba['shift']());}}}(_0x470a,0xd667a));import{ListView as _0x2cc1fc,View as _0x36e225}from'ckeditor5/src/ui.js';import{global as _0xe1a459}from'ckeditor5/src/utils.js';import{getTranslation as _0xe96fcc}from'../../common-translations.js';export class PresenceDropdownListView extends _0x36e225{[_0x395d35(0xd8)];constructor(_0x4c42ce,_0x1a31ec){const _0x4211bd=_0x395d35;super(_0x4c42ce);const _0x541280=this[_0x4211bd(0xde)];this[_0x4211bd(0xd8)]=new PresenceDropdownListWrapperView(_0x4c42ce,_0x1a31ec),this[_0x4211bd(0xc4)]({'tag':_0x4211bd(0xc6),'attributes':{'tabindex':-0x1,'role':_0x4211bd(0xbf),'class':['ck',_0x4211bd(0xe3)],'aria-label':_0xe96fcc(_0x4c42ce,_0x4211bd(0xdb))},'children':[this[_0x4211bd(0xd8)]],'on':{'mouseleave':_0x541280['to'](_0x4ec405=>{const _0x1a0dd5=_0x4211bd,_0x2ea867=_0x4ec405,_0x55841e=document[_0x1a0dd5(0xc3)](_0x1a0dd5(0xd0)),_0x4705d1=document[_0x1a0dd5(0xc3)](_0x1a0dd5(0xc8));_0x55841e?.[_0x1a0dd5(0xe6)](_0x2ea867[_0x1a0dd5(0xda)])||_0x4705d1?.[_0x1a0dd5(0xe6)](_0x2ea867[_0x1a0dd5(0xda)])||this[_0x1a0dd5(0xc2)](_0x1a0dd5(0xdf));})}});}}function _0x4ca8(_0x16d70a,_0x4739eb){const _0x470a83=_0x470a();return _0x4ca8=function(_0x4ca803,_0x7e6f47){_0x4ca803=_0x4ca803-0xbe;let _0x319c22=_0x470a83[_0x4ca803];return _0x319c22;},_0x4ca8(_0x16d70a,_0x4739eb);}export class PresenceDropdownListWrapperView extends _0x2cc1fc{constructor(_0x242742,_0x4ff1e6){const _0x271073=_0x395d35;super(_0x242742);const _0x40e4c6=this[_0x271073(0xde)];this[_0x271073(0xd4)](_0x271073(0xd3),!0x1),this[_0x271073(0xc4)]({'tag':_0x4ff1e6?_0x271073(0xc6):'ul','attributes':{'class':['ck',_0x271073(0xcc),_0x271073(0xc5),_0x271073(0xd1),_0x40e4c6['if'](_0x271073(0xd3),_0x271073(0xe4))],'role':_0x40e4c6['to'](_0x271073(0xd2)),'aria-label':_0x40e4c6['to'](_0x271073(0xe5)),'aria-labelledby':_0x40e4c6['to'](_0x271073(0xe1))},'children':this[_0x271073(0xe8)]}),this[_0x271073(0xea)](_0xe1a459[_0x271073(0xc7)],_0x271073(0xcb),()=>this[_0x271073(0xd5)]()),this[_0x271073(0xe8)]['on'](_0x271073(0xd9),()=>this[_0x271073(0xd5)]());}[_0x395d35(0xc0)](){const _0x325c27=_0x395d35;super[_0x325c27(0xc0)](),this[_0x325c27(0xd5)]();}[_0x395d35(0xd5)](){const _0x4fc357=_0x395d35,_0xf2712e=this[_0x4fc357(0xd7)];_0xf2712e&&(this[_0x4fc357(0xd3)]=Math[_0x4fc357(0xcf)](_0xf2712e[_0x4fc357(0xce)],_0xf2712e[_0x4fc357(0xca)])>0.8*window[_0x4fc357(0xdc)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41afa9=_0x41ef;(function(_0x2d6694,_0xd29175){const _0x33c617=_0x41ef,_0x1d148b=_0x2d6694();while(!![]){try{const _0x383e25=-parseInt(_0x33c617(0x155))/0x1*(parseInt(_0x33c617(0x14b))/0x2)+parseInt(_0x33c617(0x153))/0x3*(parseInt(_0x33c617(0x152))/0x4)+parseInt(_0x33c617(0x140))/0x5+parseInt(_0x33c617(0x14f))/0x6+-parseInt(_0x33c617(0x14e))/0x7*(-parseInt(_0x33c617(0x145))/0x8)+-parseInt(_0x33c617(0x139))/0x9+parseInt(_0x33c617(0x14c))/0xa*(-parseInt(_0x33c617(0x13f))/0xb);if(_0x383e25===_0xd29175)break;else _0x1d148b['push'](_0x1d148b['shift']());}catch(_0x233062){_0x1d148b['push'](_0x1d148b['shift']());}}}(_0x2926,0xa18b6));import{LabelView as _0x279d48,View as _0x1bfdbe}from'ckeditor5/src/ui.js';import{UserView as _0x45d46a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x41ef(_0x4df72f,_0x3787fb){const _0x292669=_0x2926();return _0x41ef=function(_0x41eff3,_0x59179){_0x41eff3=_0x41eff3-0x133;let _0x511827=_0x292669[_0x41eff3];return _0x511827;},_0x41ef(_0x4df72f,_0x3787fb);}export class PresenceInlineListItemView extends _0x1bfdbe{[_0x41afa9(0x143)];[_0x41afa9(0x147)];constructor(_0x3b7a2c,_0x1e7d68,_0x4295a2){const _0x2735fe=_0x41afa9;super(_0x3b7a2c);const _0x39f956=this[_0x2735fe(0x150)];this[_0x2735fe(0x136)](_0x2735fe(0x14a),!0x1),this[_0x2735fe(0x136)](_0x2735fe(0x14d),!0x0),this[_0x2735fe(0x136)](_0x2735fe(0x138),''),this[_0x2735fe(0x143)]=new _0x45d46a(_0x3b7a2c,_0x1e7d68),this[_0x2735fe(0x147)]=new MarkerView(_0x3b7a2c,_0x1e7d68);const _0x2d8666=new _0x279d48(_0x3b7a2c);_0x2d8666[_0x2735fe(0x135)][_0x2735fe(0x146)]=_0x2735fe(0x151),_0x2d8666[_0x2735fe(0x13c)]=_0x1e7d68[_0x2735fe(0x141)];const _0x2f788c={'tag':_0x2735fe(0x13e),'attributes':{'class':['ck',_0x2735fe(0x13d)],'role':_0x2735fe(0x134),'tabindex':_0x39f956['to'](_0x2735fe(0x14a),_0x711dcd=>!!_0x711dcd&&0x0),'aria-labelledby':_0x2d8666['id'],'data-cke-tooltip-text':this[_0x2735fe(0x143)][_0x2735fe(0x141)],'data-cke-tooltip-position':_0x39f956['to'](_0x2735fe(0x138)),'data-cke-tooltip-disabled':_0x39f956['to'](_0x2735fe(0x14d),_0x3c2c63=>!_0x3c2c63),'data-cke-tooltip-class':_0x2735fe(0x133)},'children':[this[_0x2735fe(0x143)],this[_0x2735fe(0x147)],_0x2d8666]};_0x4295a2&&(_0x2f788c[_0x2735fe(0x146)]=_0x2735fe(0x13b),_0x2f788c['on']={'click':_0x39f956['to'](()=>this[_0x2735fe(0x137)](_0x2735fe(0x154)))}),this[_0x2735fe(0x144)](_0x2f788c);}}class MarkerView extends _0x1bfdbe{constructor(_0x3b47a2,_0x1fa56f){const _0xca6aec=_0x41afa9;super(_0x3b47a2),this[_0xca6aec(0x144)]({'tag':_0xca6aec(0x151),'attributes':{'class':['ck',_0xca6aec(0x13a),_0x1fa56f[_0xca6aec(0x148)][_0xca6aec(0x142)]()],'aria-hidden':_0xca6aec(0x149)}});}}function _0x2926(){const _0xd42c6a=['button','text','ck-presence-list__list-item','div','9251UrTeRe','3184390qBRtHJ','name','getBackgroundColorClass','userView','setTemplate','8GQVkdd','tag','markerView','color','true','isFocusable','26702cSOdNL','9560BPdizm','hasTooltip','7841113AKpJiq','1752870ZicyJl','bindTemplate','span','28DRkEio','284403rLSyFk','execute','31bIsopo','ck-presence-list__list-item__tooltip','listitem','template','set','fire','tooltipPosition','7499034kIPhMf','ck-presence-list__marker'];_0x2926=function(){return _0xd42c6a;};return _0x2926();}
23
+ const _0x1b0458=_0x2e14;function _0x2e14(_0x50e0c5,_0x4dffe1){const _0x2cfb5f=_0x2cfb();return _0x2e14=function(_0x2e14d5,_0x2bb287){_0x2e14d5=_0x2e14d5-0x6a;let _0x422811=_0x2cfb5f[_0x2e14d5];return _0x422811;},_0x2e14(_0x50e0c5,_0x4dffe1);}(function(_0x267a04,_0x410da4){const _0x3e5c57=_0x2e14,_0x24ab3c=_0x267a04();while(!![]){try{const _0x14e2be=-parseInt(_0x3e5c57(0x78))/0x1+-parseInt(_0x3e5c57(0x75))/0x2+parseInt(_0x3e5c57(0x79))/0x3+parseInt(_0x3e5c57(0x73))/0x4+parseInt(_0x3e5c57(0x71))/0x5+-parseInt(_0x3e5c57(0x7d))/0x6+parseInt(_0x3e5c57(0x81))/0x7;if(_0x14e2be===_0x410da4)break;else _0x24ab3c['push'](_0x24ab3c['shift']());}catch(_0x33e72d){_0x24ab3c['push'](_0x24ab3c['shift']());}}}(_0x2cfb,0x784b8));import{LabelView as _0x824ba9,View as _0x5ed4da}from'ckeditor5/src/ui.js';import{UserView as _0x1ea7e8}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x5ed4da{[_0x1b0458(0x7b)];[_0x1b0458(0x6b)];constructor(_0x439c3d,_0x3886cd,_0x116e64){const _0x47caa3=_0x1b0458;super(_0x439c3d);const _0x342aaa=this[_0x47caa3(0x72)];this[_0x47caa3(0x7f)](_0x47caa3(0x77),!0x1),this[_0x47caa3(0x7f)](_0x47caa3(0x85),!0x0),this[_0x47caa3(0x7f)](_0x47caa3(0x82),''),this[_0x47caa3(0x7b)]=new _0x1ea7e8(_0x439c3d,_0x3886cd),this[_0x47caa3(0x6b)]=new MarkerView(_0x439c3d,_0x3886cd);const _0x566a44=new _0x824ba9(_0x439c3d);_0x566a44[_0x47caa3(0x88)][_0x47caa3(0x76)]=_0x47caa3(0x86),_0x566a44[_0x47caa3(0x6e)]=_0x3886cd[_0x47caa3(0x6a)];const _0x3f7fb5={'tag':_0x47caa3(0x74),'attributes':{'class':['ck',_0x47caa3(0x70)],'role':_0x47caa3(0x7e),'tabindex':_0x342aaa['to'](_0x47caa3(0x77),_0x158f17=>!!_0x158f17&&0x0),'aria-labelledby':_0x566a44['id'],'data-cke-tooltip-text':this[_0x47caa3(0x7b)][_0x47caa3(0x6a)],'data-cke-tooltip-position':_0x342aaa['to'](_0x47caa3(0x82)),'data-cke-tooltip-disabled':_0x342aaa['to'](_0x47caa3(0x85),_0x19d2d6=>!_0x19d2d6),'data-cke-tooltip-class':_0x47caa3(0x80)},'children':[this[_0x47caa3(0x7b)],this[_0x47caa3(0x6b)],_0x566a44]};_0x116e64&&(_0x3f7fb5[_0x47caa3(0x76)]=_0x47caa3(0x84),_0x3f7fb5['on']={'click':_0x342aaa['to'](()=>this[_0x47caa3(0x6d)](_0x47caa3(0x6f)))}),this[_0x47caa3(0x83)](_0x3f7fb5);}}function _0x2cfb(){const _0x20e15b=['span','ck-presence-list__marker','template','name','markerView','color','fire','text','execute','ck-presence-list__list-item','1884755bFWUMx','bindTemplate','3499544sxaojD','div','1403452tlcZCT','tag','isFocusable','844741BJaXVT','1558983CRyfXn','true','userView','getBackgroundColorClass','3473058JfDbMD','listitem','set','ck-presence-list__list-item__tooltip','5925780ibRWtw','tooltipPosition','setTemplate','button','hasTooltip'];_0x2cfb=function(){return _0x20e15b;};return _0x2cfb();}class MarkerView extends _0x5ed4da{constructor(_0x50e976,_0x593c32){const _0x1da762=_0x1b0458;super(_0x50e976),this[_0x1da762(0x83)]({'tag':_0x1da762(0x86),'attributes':{'class':['ck',_0x1da762(0x87),_0x593c32[_0x1da762(0x6c)][_0x1da762(0x7c)]()],'aria-hidden':_0x1da762(0x7a)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1504a4=_0x43f4;(function(_0x75c54,_0x584409){const _0x2a770a=_0x43f4,_0x296b24=_0x75c54();while(!![]){try{const _0x17ab5d=parseInt(_0x2a770a(0x176))/0x1*(-parseInt(_0x2a770a(0x15d))/0x2)+parseInt(_0x2a770a(0x183))/0x3*(-parseInt(_0x2a770a(0x17d))/0x4)+-parseInt(_0x2a770a(0x16d))/0x5+-parseInt(_0x2a770a(0x16c))/0x6*(-parseInt(_0x2a770a(0x181))/0x7)+parseInt(_0x2a770a(0x169))/0x8+-parseInt(_0x2a770a(0x170))/0x9+parseInt(_0x2a770a(0x161))/0xa;if(_0x17ab5d===_0x584409)break;else _0x296b24['push'](_0x296b24['shift']());}catch(_0x5cc783){_0x296b24['push'](_0x296b24['shift']());}}}(_0xb5d8,0x53f8c));function _0xb5d8(){const _0x265834=['setAttribute','8KNuDZX','ck-presence-list__list','removeAttribute','list','189WHNDJk','div','154383XUNcfk','1163528ThwWfe','bindTemplate','items','setTemplate','15701710mokzJd','querySelector','listenTo','contains','isExpanded','presencelist:show','focus','render','336080EVgJwB','.ck-balloon-panel_with-arrow','Connected\x20users\x20list','81972HfBayq','3073585UacUbk','.ck-presence-list__dropdown-list','createCollection','3039336LgqaGY','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','set','aria-expanded','keystrokes','1sJzzcb','hasPopup','fire','change:hasPopup','relatedTarget','presencelist:hide'];_0xb5d8=function(){return _0x265834;};return _0xb5d8();}function _0x43f4(_0x1c2ef8,_0x254b51){const _0xb5d830=_0xb5d8();return _0x43f4=function(_0x43f41b,_0x3cb086){_0x43f41b=_0x43f41b-0x15d;let _0xbe8da6=_0xb5d830[_0x43f41b];return _0xbe8da6;},_0x43f4(_0x1c2ef8,_0x254b51);}import{View as _0x2b494f}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x44b0f7}from'ckeditor5/src/utils.js';import{getTranslation as _0x256f18}from'../../common-translations.js';export class PresenceInlineListView extends _0x2b494f{[_0x1504a4(0x15f)];[_0x1504a4(0x175)];constructor(_0x3637fc){const _0x1606ad=_0x1504a4;super(_0x3637fc);const _0x2587cb=this[_0x1606ad(0x15e)];this[_0x1606ad(0x15f)]=this[_0x1606ad(0x16f)](),this[_0x1606ad(0x175)]=new _0x44b0f7(),this[_0x1606ad(0x173)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1606ad(0x160)]({'tag':_0x1606ad(0x182),'attributes':{'aria-haspopup':_0x2587cb['if'](_0x1606ad(0x177)),'aria-expanded':_0x2587cb['to'](_0x1606ad(0x165),_0x436caf=>this[_0x1606ad(0x177)]&&String(_0x436caf)),'aria-label':_0x2587cb['to'](_0x1606ad(0x177),_0x7b2755=>_0x256f18(_0x3637fc,_0x7b2755?_0x1606ad(0x172):_0x1606ad(0x16b))),'role':_0x1606ad(0x180),'tabindex':_0x2587cb['to'](_0x1606ad(0x177),_0x2e0a48=>!!_0x2e0a48&&0x0),'class':['ck',_0x1606ad(0x17e)]},'children':this[_0x1606ad(0x15f)],'on':{'mouseenter':_0x2587cb['to'](()=>this[_0x1606ad(0x178)](_0x1606ad(0x166))),'mouseleave':_0x2587cb['to'](_0x34826a=>{const _0xf47991=_0x1606ad,_0x144223=_0x34826a,_0x4f2f5c=document[_0xf47991(0x162)](_0xf47991(0x16e)),_0x19c907=document[_0xf47991(0x162)](_0xf47991(0x16a));_0x4f2f5c?.[_0xf47991(0x164)](_0x144223[_0xf47991(0x17a)])||_0x19c907?.[_0xf47991(0x164)](_0x144223[_0xf47991(0x17a)])||this[_0xf47991(0x178)](_0xf47991(0x17b));})}}),this['on'](_0x1606ad(0x179),(_0x1102fb,_0x314ac8,_0x52a473)=>{const _0x243c0c=_0x1606ad;this[_0x243c0c(0x171)]&&(_0x52a473?this[_0x243c0c(0x171)][_0x243c0c(0x17c)](_0x243c0c(0x174),String(this[_0x243c0c(0x165)])):this[_0x243c0c(0x171)][_0x243c0c(0x17f)](_0x243c0c(0x174)));});}[_0x1504a4(0x167)](){const _0x22bc88=_0x1504a4;this[_0x22bc88(0x171)][_0x22bc88(0x167)]();}[_0x1504a4(0x168)](){const _0x53dd6e=_0x1504a4;super[_0x53dd6e(0x168)](),this[_0x53dd6e(0x175)][_0x53dd6e(0x163)](this[_0x53dd6e(0x171)]);}}
23
+ const _0x5d55ce=_0x3532;(function(_0x18b90c,_0x30d318){const _0x304a50=_0x3532,_0x2c2ea8=_0x18b90c();while(!![]){try{const _0x5b5352=parseInt(_0x304a50(0xa5))/0x1*(parseInt(_0x304a50(0xa3))/0x2)+parseInt(_0x304a50(0xa8))/0x3*(-parseInt(_0x304a50(0x8f))/0x4)+parseInt(_0x304a50(0xa0))/0x5*(-parseInt(_0x304a50(0xad))/0x6)+-parseInt(_0x304a50(0x8b))/0x7*(-parseInt(_0x304a50(0xaf))/0x8)+-parseInt(_0x304a50(0xb3))/0x9*(-parseInt(_0x304a50(0x95))/0xa)+parseInt(_0x304a50(0xa1))/0xb*(parseInt(_0x304a50(0x8a))/0xc)+parseInt(_0x304a50(0x98))/0xd*(parseInt(_0x304a50(0xa2))/0xe);if(_0x5b5352===_0x30d318)break;else _0x2c2ea8['push'](_0x2c2ea8['shift']());}catch(_0x4e6f0a){_0x2c2ea8['push'](_0x2c2ea8['shift']());}}}(_0x56cf,0xc007f));import{View as _0x59c9c6}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4db5d0}from'ckeditor5/src/utils.js';import{getTranslation as _0x571bb2}from'../../common-translations.js';export class PresenceInlineListView extends _0x59c9c6{[_0x5d55ce(0x9d)];[_0x5d55ce(0xab)];constructor(_0x568003){const _0x4c9817=_0x5d55ce;super(_0x568003);const _0x5b7026=this[_0x4c9817(0x94)];this[_0x4c9817(0x9d)]=this[_0x4c9817(0x9a)](),this[_0x4c9817(0xab)]=new _0x4db5d0(),this[_0x4c9817(0x8e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4c9817(0xac)]({'tag':_0x4c9817(0x93),'attributes':{'aria-haspopup':_0x5b7026['if'](_0x4c9817(0x90)),'aria-expanded':_0x5b7026['to'](_0x4c9817(0xa7),_0x175115=>this[_0x4c9817(0x90)]&&String(_0x175115)),'aria-label':_0x5b7026['to'](_0x4c9817(0x90),_0x4c84a2=>_0x571bb2(_0x568003,_0x4c84a2?_0x4c9817(0x8c):_0x4c9817(0x9b))),'role':_0x4c9817(0xaa),'tabindex':_0x5b7026['to'](_0x4c9817(0x90),_0x220e6e=>!!_0x220e6e&&0x0),'class':['ck',_0x4c9817(0xa6)]},'children':this[_0x4c9817(0x9d)],'on':{'mouseenter':_0x5b7026['to'](()=>this[_0x4c9817(0xb2)](_0x4c9817(0x92))),'mouseleave':_0x5b7026['to'](_0x50a068=>{const _0x3e4740=_0x4c9817,_0x5dceb3=_0x50a068,_0x3e02b6=document[_0x3e4740(0x9e)](_0x3e4740(0xae)),_0x54a856=document[_0x3e4740(0x9e)](_0x3e4740(0xb0));_0x3e02b6?.[_0x3e4740(0x96)](_0x5dceb3[_0x3e4740(0x9c)])||_0x54a856?.[_0x3e4740(0x96)](_0x5dceb3[_0x3e4740(0x9c)])||this[_0x3e4740(0xb2)](_0x3e4740(0x91));})}}),this['on'](_0x4c9817(0x99),(_0x5a0d0e,_0x6f6907,_0x950204)=>{const _0x5c2584=_0x4c9817;this[_0x5c2584(0xb4)]&&(_0x950204?this[_0x5c2584(0xb4)][_0x5c2584(0x9f)](_0x5c2584(0xb1),String(this[_0x5c2584(0xa7)])):this[_0x5c2584(0xb4)][_0x5c2584(0xa4)](_0x5c2584(0xb1)));});}[_0x5d55ce(0x8d)](){const _0x4ffdec=_0x5d55ce;this[_0x4ffdec(0xb4)][_0x4ffdec(0x8d)]();}[_0x5d55ce(0x97)](){const _0x1bf49d=_0x5d55ce;super[_0x1bf49d(0x97)](),this[_0x1bf49d(0xab)][_0x1bf49d(0xa9)](this[_0x1bf49d(0xb4)]);}}function _0x3532(_0x38b2ed,_0x789119){const _0x56cf7e=_0x56cf();return _0x3532=function(_0x3532f1,_0xd2bcab){_0x3532f1=_0x3532f1-0x8a;let _0xbc5031=_0x56cf7e[_0x3532f1];return _0xbc5031;},_0x3532(_0x38b2ed,_0x789119);}function _0x56cf(){const _0x18a6b9=['presencelist:show','div','bindTemplate','22060hTeAxE','contains','render','143QBdUJK','change:hasPopup','createCollection','Connected\x20users\x20list','relatedTarget','items','querySelector','setAttribute','3514465UfdkNv','13983497ZZBkdo','8666JMiTMD','455494XxthOv','removeAttribute','2XxifTv','ck-presence-list__list','isExpanded','12zjzdWh','listenTo','list','keystrokes','setTemplate','12wAhoTY','.ck-presence-list__dropdown-list','8pxToMu','.ck-balloon-panel_with-arrow','aria-expanded','fire','603zRaJGa','element','12zTMUCG','7268891EXERTX','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','focus','set','727400eEDWPU','hasPopup','presencelist:hide'];_0x56cf=function(){return _0x18a6b9;};return _0x56cf();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2762be=_0x3fba;(function(_0x1f0f7a,_0x3fb495){const _0xff05c0=_0x3fba,_0x1ec795=_0x1f0f7a();while(!![]){try{const _0xc85699=parseInt(_0xff05c0(0x8d))/0x1+-parseInt(_0xff05c0(0x99))/0x2*(parseInt(_0xff05c0(0xa5))/0x3)+-parseInt(_0xff05c0(0x97))/0x4*(parseInt(_0xff05c0(0x96))/0x5)+-parseInt(_0xff05c0(0x9d))/0x6*(-parseInt(_0xff05c0(0x89))/0x7)+-parseInt(_0xff05c0(0x8f))/0x8*(parseInt(_0xff05c0(0x9c))/0x9)+-parseInt(_0xff05c0(0xa7))/0xa*(parseInt(_0xff05c0(0xa1))/0xb)+-parseInt(_0xff05c0(0x8b))/0xc*(-parseInt(_0xff05c0(0x88))/0xd);if(_0xc85699===_0x3fb495)break;else _0x1ec795['push'](_0x1ec795['shift']());}catch(_0x42b1c3){_0x1ec795['push'](_0x1ec795['shift']());}}}(_0x373b,0x2cbe6));import{View as _0xbdc10b}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x1d2675}from'./presencecounterview.js';function _0x3fba(_0x4a78f7,_0x5c15f9){const _0x373bea=_0x373b();return _0x3fba=function(_0x3fba38,_0xfed87b){_0x3fba38=_0x3fba38-0x88;let _0x5c9ec2=_0x373bea[_0x3fba38];return _0x5c9ec2;},_0x3fba(_0x4a78f7,_0x5c15f9);}import{PresenceInlineListView as _0xd4278d}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x373b(){const _0x1e3cd3=['191527wcoKEF','div','5868xePSqd','bind','11952hKGFEH','counterView','412872nDKAkF','isCollapsed','locale','set','setTemplate','listenTo','change','2035qXxOfi','3356seKhLf','items','100482zLgPxg','inlineListView','tooltipPosition','63bWrSby','66EzZuFd','ck-rounded-corners','ck-presence-list','first','1974313oXsoFy','ck-reset','ck-presence-list--collapsed','bindTemplate','12lrlGdr','hasPopup','20pWrlZi','30121JgCfyv'];_0x373b=function(){return _0x1e3cd3;};return _0x373b();}export class PresenceListView extends _0xbdc10b{[_0x2762be(0x8e)];[_0x2762be(0x9a)];constructor(_0x13bb14,_0x2bc43a=0x6){const _0x4801c0=_0x2762be;super(_0x13bb14);const _0x2958c2=this[_0x4801c0(0xa4)];this[_0x4801c0(0x92)](_0x4801c0(0x90),!0x0),this[_0x4801c0(0x8e)]=new _0x1d2675(this[_0x4801c0(0x91)],_0x2bc43a),this[_0x4801c0(0x9a)]=new _0xd4278d(_0x13bb14),this[_0x4801c0(0x9a)][_0x4801c0(0x8c)](_0x4801c0(0xa6))['to'](this,_0x4801c0(0x90)),this[_0x4801c0(0x94)](this[_0x4801c0(0x9a)][_0x4801c0(0x98)],_0x4801c0(0x95),()=>{const _0x4df89b=_0x4801c0;for(const _0xc11c80 of this[_0x4df89b(0x9a)][_0x4df89b(0x98)])_0xc11c80[_0x4df89b(0x9b)]='s';this[_0x4df89b(0x9a)][_0x4df89b(0x98)][_0x4df89b(0xa0)]&&(this[_0x4df89b(0x9a)][_0x4df89b(0x98)][_0x4df89b(0xa0)][_0x4df89b(0x9b)]='se');}),this[_0x4801c0(0x93)]({'tag':_0x4801c0(0x8a),'attributes':{'class':['ck',_0x4801c0(0x9f),_0x4801c0(0xa2),_0x4801c0(0x9e),_0x2958c2['if'](_0x4801c0(0x90),_0x4801c0(0xa3))]},'children':[this[_0x4801c0(0x9a)]]});}}
23
+ const _0x452185=_0x604b;(function(_0x2d11da,_0x2e456e){const _0x36cee1=_0x604b,_0x50275e=_0x2d11da();while(!![]){try{const _0xdd5720=-parseInt(_0x36cee1(0xf2))/0x1+-parseInt(_0x36cee1(0xe8))/0x2+parseInt(_0x36cee1(0xeb))/0x3+parseInt(_0x36cee1(0xde))/0x4+parseInt(_0x36cee1(0xee))/0x5+-parseInt(_0x36cee1(0xda))/0x6*(parseInt(_0x36cee1(0xd9))/0x7)+-parseInt(_0x36cee1(0xef))/0x8*(-parseInt(_0x36cee1(0xe4))/0x9);if(_0xdd5720===_0x2e456e)break;else _0x50275e['push'](_0x50275e['shift']());}catch(_0x44535c){_0x50275e['push'](_0x50275e['shift']());}}}(_0x17d1,0xed72b));import{View as _0x4cf365}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x4bd61d}from'./presencecounterview.js';function _0x604b(_0x31f4ae,_0x404b44){const _0x17d10c=_0x17d1();return _0x604b=function(_0x604b4f,_0x14a17f){_0x604b4f=_0x604b4f-0xd8;let _0x36c7c4=_0x17d10c[_0x604b4f];return _0x36c7c4;},_0x604b(_0x31f4ae,_0x404b44);}function _0x17d1(){const _0x22ed9f=['ck-presence-list','157125kPTnMw','ck-reset','ck-rounded-corners','1037225ZcxIbV','54yoUrXM','counterView','inlineListView','tooltipPosition','66536mdNcQx','set','items','change','div','first','3438441SKtmwR','hasPopup','isCollapsed','bind','3743506titaAR','setTemplate','ck-presence-list--collapsed','1758480MBYBVL','listenTo','bindTemplate','5289515aPBCgw','56ToSLnK','locale'];_0x17d1=function(){return _0x22ed9f;};return _0x17d1();}import{PresenceInlineListView as _0x45464b}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4cf365{[_0x452185(0xdb)];[_0x452185(0xdc)];constructor(_0x429b9a,_0x519862=0x6){const _0x390c44=_0x452185;super(_0x429b9a);const _0x1e9464=this[_0x390c44(0xed)];this[_0x390c44(0xdf)](_0x390c44(0xe6),!0x0),this[_0x390c44(0xdb)]=new _0x4bd61d(this[_0x390c44(0xf0)],_0x519862),this[_0x390c44(0xdc)]=new _0x45464b(_0x429b9a),this[_0x390c44(0xdc)][_0x390c44(0xe7)](_0x390c44(0xe5))['to'](this,_0x390c44(0xe6)),this[_0x390c44(0xec)](this[_0x390c44(0xdc)][_0x390c44(0xe0)],_0x390c44(0xe1),()=>{const _0x2a9523=_0x390c44;for(const _0x53a8fe of this[_0x2a9523(0xdc)][_0x2a9523(0xe0)])_0x53a8fe[_0x2a9523(0xdd)]='s';this[_0x2a9523(0xdc)][_0x2a9523(0xe0)][_0x2a9523(0xe3)]&&(this[_0x2a9523(0xdc)][_0x2a9523(0xe0)][_0x2a9523(0xe3)][_0x2a9523(0xdd)]='se');}),this[_0x390c44(0xe9)]({'tag':_0x390c44(0xe2),'attributes':{'class':['ck',_0x390c44(0xf1),_0x390c44(0xf3),_0x390c44(0xd8),_0x1e9464['if'](_0x390c44(0xe6),_0x390c44(0xea))]},'children':[this[_0x390c44(0xdc)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe1a9e8=_0x35d8;(function(_0x4cdb76,_0xc75618){const _0x29303a=_0x35d8,_0x2e0d66=_0x4cdb76();while(!![]){try{const _0x29c793=-parseInt(_0x29303a(0x24b))/0x1*(-parseInt(_0x29303a(0x24d))/0x2)+-parseInt(_0x29303a(0x210))/0x3*(parseInt(_0x29303a(0x24f))/0x4)+-parseInt(_0x29303a(0x223))/0x5+-parseInt(_0x29303a(0x23d))/0x6+parseInt(_0x29303a(0x224))/0x7*(parseInt(_0x29303a(0x237))/0x8)+parseInt(_0x29303a(0x1f0))/0x9*(parseInt(_0x29303a(0x20b))/0xa)+parseInt(_0x29303a(0x205))/0xb;if(_0x29c793===_0xc75618)break;else _0x2e0d66['push'](_0x2e0d66['shift']());}catch(_0xae7abc){_0x2e0d66['push'](_0x2e0d66['shift']());}}}(_0x3f80,0xde6e5));import{Context as _0x121e48,ContextPlugin as _0x232119}from'ckeditor5/src/core.js';import{CKEditorError as _0x41257a}from'ckeditor5/src/utils.js';import{Users as _0x556585}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x80f75a,User as _0x570541}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4aca91}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x11868a}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x232119{static [_0xe1a9e8(0x1eb)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x80f75a)());[_0xe1a9e8(0x219)];static get[_0xe1a9e8(0x1fd)](){const _0x106199=_0xe1a9e8;return[_0x4aca91,_0x106199(0x212),_0x11868a,_0x556585];}static get[_0xe1a9e8(0x243)](){const _0x2fbb02=_0xe1a9e8;return _0x2fbb02(0x1f1);}static get[_0xe1a9e8(0x231)](){return!0x0;}static get[_0xe1a9e8(0x238)](){return!0x0;}constructor(_0x95ee6b){const _0x593441=_0xe1a9e8;super(_0x95ee6b),this[_0x593441(0x219)]=new Map();}async[_0xe1a9e8(0x21e)](){const _0x58d96f=_0xe1a9e8,_0x14625a=this[_0x58d96f(0x20f)],_0x4e4d15=_0x14625a[_0x58d96f(0x248)][_0x58d96f(0x21c)](_0x58d96f(0x212));if(_0x14625a[_0x58d96f(0x248)][_0x58d96f(0x21c)](_0x4aca91)[_0x58d96f(0x1fc)](this),_0x4e4d15[_0x58d96f(0x1ee)]={'addCommentThread':async({channelId:_0x326431,threadId:_0x25f71f,comments:_0x56546d,resolvedAt:_0x494e71,resolvedBy:_0x44327d,context:_0x346956,attributes:_0x3c36d8})=>{const _0x8e3654=_0x58d96f,_0x28ba02=await this[_0x8e3654(0x21a)](_0x326431)[_0x8e3654(0x202)]({'commentThreadId':_0x25f71f,'comments':_0x56546d[_0x8e3654(0x250)](_0x27ed40=>function(_0x1f44be,_0x3cb12a,_0x2f29b8){const _0x1292fa=_0x8e3654;return{'commentThreadId':_0x2f29b8,'commentId':_0x1f44be[_0x1292fa(0x23c)],'userId':_0x1f44be[_0x1292fa(0x1ec)],'content':_0x1f44be[_0x1292fa(0x1ed)],'documentId':_0x3cb12a,'createdAt':_0x1f44be[_0x1292fa(0x208)],'attributes':_0x1f44be[_0x1292fa(0x221)]||{}};}(_0x27ed40,_0x326431,_0x25f71f)),'resolvedAt':_0x494e71,'resolvedBy':_0x44327d,'context':_0x346956,'attributes':_0x3c36d8})[_0x8e3654(0x201)](k);return{'threadId':_0x28ba02[_0x8e3654(0x226)],'comments':_0x28ba02[_0x8e3654(0x245)]};},'getCommentThread':async({channelId:_0x115d1,threadId:_0x2f1738})=>{const _0x45db76=_0x58d96f,_0x3e8584=await this[_0x45db76(0x21a)](_0x115d1)[_0x45db76(0x222)](_0x2f1738)[_0x45db76(0x201)](F)[_0x45db76(0x201)](k);return _0x3e8584?_0x3e8584[_0x45db76(0x23f)]?null:(await this[_0x45db76(0x22e)]([_0x3e8584]),{'threadId':_0x3e8584[_0x45db76(0x226)],'comments':_0x3e8584[_0x45db76(0x245)][_0x45db76(0x250)](S),'context':_0x3e8584[_0x45db76(0x20f)],'resolvedAt':_0x3e8584[_0x45db76(0x1f2)],'resolvedBy':_0x3e8584[_0x45db76(0x239)],'attributes':_0x3e8584[_0x45db76(0x221)]||{}}):null;},'updateCommentThread':async({channelId:_0x3f2a47,threadId:_0x1b23e1,context:_0x3f30c2,unlinkedAt:_0xaab9a9,attributes:_0x3a104c})=>this[_0x58d96f(0x21a)](_0x3f2a47)[_0x58d96f(0x1f5)]({'commentThreadId':_0x1b23e1,'context':_0x3f30c2,'attributes':_0x3a104c,'unlinkedAt':_0xaab9a9})[_0x58d96f(0x201)](F)[_0x58d96f(0x201)](k),'resolveCommentThread':async({channelId:_0x925f76,threadId:_0xe9458c})=>{const _0x30e50c=_0x58d96f,_0x59703d=await this[_0x30e50c(0x21a)](_0x925f76)[_0x30e50c(0x244)](_0xe9458c)[_0x30e50c(0x201)](F)[_0x30e50c(0x201)](k);return{'threadId':_0x59703d[_0x30e50c(0x226)],'resolvedAt':_0x59703d[_0x30e50c(0x1f2)],'resolvedBy':_0x59703d[_0x30e50c(0x239)]};},'reopenCommentThread':async({channelId:_0x2c735b,threadId:_0x164503})=>this[_0x58d96f(0x21a)](_0x2c735b)[_0x58d96f(0x1f8)](_0x164503)[_0x58d96f(0x201)](F)[_0x58d96f(0x201)](k),'removeCommentThread':({channelId:_0x211daf,threadId:_0x3317f5})=>this[_0x58d96f(0x21a)](_0x211daf)[_0x58d96f(0x1f3)](_0x3317f5)[_0x58d96f(0x201)](F)[_0x58d96f(0x201)](k),'addComment':({channelId:_0xec2823,threadId:_0x1776f1,commentId:_0x2b90f7,content:_0x3b7b6b,attributes:_0x248793})=>this[_0x58d96f(0x21a)](_0xec2823)[_0x58d96f(0x22d)](_0x1776f1,_0x2b90f7,_0x3b7b6b,_0x248793)[_0x58d96f(0x201)](k),'updateComment':({channelId:_0xba43f7,threadId:_0x5bc408,commentId:_0xb00cc4,content:_0x495607,attributes:_0x3433af})=>this[_0x58d96f(0x21a)](_0xba43f7)[_0x58d96f(0x1f6)](_0x5bc408,_0xb00cc4,_0x495607,_0x3433af)[_0x58d96f(0x201)](F)[_0x58d96f(0x201)](k),'removeComment':({channelId:_0x3ccd92,threadId:_0x4ce798,commentId:_0x2c3872})=>this[_0x58d96f(0x21a)](_0x3ccd92)[_0x58d96f(0x20c)](_0x4ce798,_0x2c3872)[_0x58d96f(0x201)](F)[_0x58d96f(0x201)](k)},_0x14625a instanceof _0x121e48){const _0x5f3a94=_0x14625a[_0x58d96f(0x20e)][_0x58d96f(0x21c)](_0x58d96f(0x20d)),_0x462fe7=_0x14625a[_0x58d96f(0x248)][_0x58d96f(0x21c)](_0x11868a);await this[_0x58d96f(0x246)](_0x5f3a94);const _0x2dea6b=await this[_0x58d96f(0x219)][_0x58d96f(0x21c)](_0x5f3a94)[_0x58d96f(0x234)]();this[_0x58d96f(0x24e)](_0x462fe7,_0x58d96f(0x24c)+_0x5f3a94,(_0x41fcb2,{session:_0x26c250})=>{const _0x109c5a=_0x58d96f;_0x26c250['id']===_0x462fe7[_0x109c5a(0x23e)]&&(_0x41fcb2[_0x109c5a(0x203)](),this[_0x109c5a(0x20f)][_0x109c5a(0x248)][_0x109c5a(0x21c)](_0x109c5a(0x249))[_0x109c5a(0x1f4)](_0x26c250[_0x109c5a(0x233)],_0x5f3a94));}),_0x462fe7[_0x58d96f(0x242)](_0x5f3a94,_0x2dea6b);}}async[_0xe1a9e8(0x246)](_0x1aba2b){const _0x4e7ed0=_0xe1a9e8;if(this[_0x4e7ed0(0x219)][_0x4e7ed0(0x218)](_0x1aba2b))throw new _0x41257a(_0x4e7ed0(0x1fa),null,{'channelId':_0x1aba2b});const _0x268d66=this[_0x4e7ed0(0x20f)][_0x4e7ed0(0x248)][_0x4e7ed0(0x21c)](_0x4e7ed0(0x212)),_0x52f136=new CloudServicesCommentsAdapter[(_0x4e7ed0(0x1eb))](_0x1aba2b);this[_0x4e7ed0(0x219)][_0x4e7ed0(0x209)](_0x1aba2b,_0x52f136),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x227),(_0x1e9f6a,_0x49b8dd)=>{const _0x7e3a6d=_0x4e7ed0,{commentThreadId:_0x44d2f7,documentId:_0xa19a37,context:_0x3e8ac1,attributes:_0x220b57,resolvedAt:_0x3be661,resolvedBy:_0x18c89b,comments:_0x5ee5a0}=_0x49b8dd;_0x268d66[_0x7e3a6d(0x222)](_0x44d2f7)||_0x268d66[_0x7e3a6d(0x202)]({'threadId':_0x44d2f7,'channelId':_0xa19a37,'comments':_0x5ee5a0?_0x5ee5a0[_0x7e3a6d(0x250)](S):[],'context':_0x3e8ac1,'attributes':_0x220b57,'resolvedAt':_0x3be661,'resolvedBy':_0x18c89b,'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x217),(_0x3311b4,{commentThreadId:_0x1b538e,documentId:_0x53ebcc,context:_0x5e7533,unlinkedAt:_0x39b222,attributes:_0x2ce203})=>{const _0x252d08=_0x4e7ed0;_0x268d66[_0x252d08(0x222)](_0x1b538e)&&_0x268d66[_0x252d08(0x1f5)]({'threadId':_0x1b538e,'channelId':_0x53ebcc,'context':_0x5e7533,'unlinkedAt':_0x39b222,'attributes':_0x2ce203,'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x206),(_0x4ac114,{commentThreadId:_0x55f83a,resolvedBy:_0x2e6a07,resolvedAt:_0xfa52d6})=>{const _0x8b22de=_0x4e7ed0,_0x38ebe5=_0x268d66[_0x8b22de(0x222)](_0x55f83a);_0x38ebe5&&_0x38ebe5[_0x8b22de(0x22b)]({'resolvedBy':_0x2e6a07,'resolvedAt':_0xfa52d6,'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x1f9),(_0x515909,{commentThreadId:_0x31e0ed})=>{const _0x3fda74=_0x4e7ed0,_0x4aaa8a=_0x268d66[_0x3fda74(0x222)](_0x31e0ed);_0x4aaa8a&&_0x4aaa8a[_0x3fda74(0x1fe)]({'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x21b),(_0x20182a,{commentThreadId:_0x3e5657})=>{const _0x1671bd=_0x4e7ed0,_0x1e3511=_0x268d66[_0x1671bd(0x222)](_0x3e5657);_0x1e3511&&_0x1e3511[_0x1671bd(0x1ff)]({'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x220),(_0xc60dcd,_0x51046d)=>{const _0x4d2a0a=_0x4e7ed0,_0x57e2fc=_0x51046d[_0x4d2a0a(0x226)],_0x10ee8f=_0x268d66[_0x4d2a0a(0x222)](_0x57e2fc);_0x10ee8f&&_0x10ee8f[_0x4d2a0a(0x22d)]({...S(_0x51046d),'isFromAdapter':!0x0});}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x23b),(_0x18bd1e,{commentThreadId:_0xdf89e6,commentId:_0x4cfa75,content:_0x3573af,attributes:_0x2dfeea})=>{const _0x3b30c9=_0x4e7ed0,_0x123e89=_0x268d66[_0x3b30c9(0x222)](_0xdf89e6);if(_0x123e89){const _0x51b766=_0x123e89[_0x3b30c9(0x24a)](_0x4cfa75);_0x51b766&&_0x51b766[_0x3b30c9(0x211)]({'content':_0x3573af,'attributes':_0x2dfeea,'isFromAdapter':!0x0});}}),this[_0x4e7ed0(0x24e)](_0x52f136,_0x4e7ed0(0x216),(_0x2ce44f,{commentThreadId:_0xb918c0,commentId:_0x24ab86})=>{const _0x4581d0=_0x4e7ed0,_0xad781=_0x268d66[_0x4581d0(0x222)](_0xb918c0);if(_0xad781){const _0xf84fc=_0xad781[_0x4581d0(0x24a)](_0x24ab86);_0xf84fc&&_0xf84fc[_0x4581d0(0x1ff)]({'isFromAdapter':!0x0});}}),await this[_0x4e7ed0(0x235)](_0x1aba2b);}[_0xe1a9e8(0x241)](){const _0x3e6b4d=_0xe1a9e8;if(this[_0x3e6b4d(0x20f)]instanceof _0x121e48){const _0x490f1e=this[_0x3e6b4d(0x20f)][_0x3e6b4d(0x20e)][_0x3e6b4d(0x21c)](_0x3e6b4d(0x20d));this[_0x3e6b4d(0x207)](_0x490f1e);}}[_0xe1a9e8(0x207)](_0x4d3c26){const _0x4ee6e2=_0xe1a9e8;if(!this[_0x4ee6e2(0x219)][_0x4ee6e2(0x218)](_0x4d3c26))throw new _0x41257a(_0x4ee6e2(0x22f),null,{'channelId':_0x4d3c26});this[_0x4ee6e2(0x21a)](_0x4d3c26)[_0x4ee6e2(0x247)](),this[_0x4ee6e2(0x219)][_0x4ee6e2(0x213)](_0x4d3c26);}async[_0xe1a9e8(0x251)](){const _0x3b37e5=_0xe1a9e8;for(const _0x3d1a5a of this[_0x3b37e5(0x219)][_0x3b37e5(0x204)]())await this[_0x3b37e5(0x235)](_0x3d1a5a);if(this[_0x3b37e5(0x20f)]instanceof _0x121e48){const _0x2480ef=this[_0x3b37e5(0x20f)][_0x3b37e5(0x20e)][_0x3b37e5(0x21c)](_0x3b37e5(0x20d)),_0x2ae86a=this[_0x3b37e5(0x20f)][_0x3b37e5(0x248)][_0x3b37e5(0x21c)](_0x11868a);_0x2ae86a[_0x3b37e5(0x240)](_0x2480ef);const _0x118a27=await this[_0x3b37e5(0x219)][_0x3b37e5(0x21c)](_0x2480ef)[_0x3b37e5(0x234)]();_0x2ae86a[_0x3b37e5(0x242)](_0x2480ef,_0x118a27);}}async[_0xe1a9e8(0x235)](_0x48cbe9){const _0x420513=_0xe1a9e8,{connection:_0x4f1746}=this[_0x420513(0x20f)][_0x420513(0x248)][_0x420513(0x21c)](_0x4aca91),_0x11bf02=this[_0x420513(0x20f)][_0x420513(0x248)][_0x420513(0x21c)](_0x420513(0x212)),_0x4fbc29=this[_0x420513(0x219)][_0x420513(0x21c)](_0x48cbe9),_0x48a530=await _0x4fbc29[_0x420513(0x22c)](_0x4f1746);await this[_0x420513(0x22e)](_0x48a530);const _0x27485b=new Set(Array[_0x420513(0x200)](_0x11bf02[_0x420513(0x236)]({'channelId':_0x48cbe9}),_0x1f0f00=>_0x1f0f00['id']));for(const _0x1b5b31 of _0x48a530)_0x1b5b31[_0x420513(0x23f)]||_0x27485b[_0x420513(0x213)](_0x1b5b31[_0x420513(0x226)]);for(const _0x129637 of _0x27485b)_0x11bf02[_0x420513(0x222)](_0x129637)[_0x420513(0x1ff)]({'isFromAdapter':!0x0});for(const _0x112f06 of _0x48a530){let _0x518742=_0x11bf02[_0x420513(0x222)](_0x112f06[_0x420513(0x226)]);const {commentThreadId:_0x149ac5,context:_0x1361af,attributes:_0x4e5e4e,resolvedBy:_0x390288,resolvedAt:_0x383a82,unlinkedAt:_0x1ea9fc,deletedAt:_0x5c2cd4}=_0x112f06;if(_0x5c2cd4)continue;_0x518742||(_0x518742=_0x11bf02[_0x420513(0x202)]({'channelId':_0x48cbe9,'threadId':_0x149ac5,'context':_0x1361af,'attributes':_0x4e5e4e||{},'resolvedBy':_0x390288,'resolvedAt':_0x383a82,'unlinkedAt':_0x1ea9fc,'isFromAdapter':!0x0}));const _0x49ca97=new Set(Array[_0x420513(0x200)](_0x518742[_0x420513(0x245)],_0x53370e=>_0x53370e['id']));for(const _0x4d7b1f of _0x112f06[_0x420513(0x245)])_0x49ca97[_0x420513(0x213)](_0x4d7b1f[_0x420513(0x23c)]);for(const _0x266c53 of _0x49ca97)_0x518742[_0x420513(0x24a)](_0x266c53)[_0x420513(0x1ff)]({'isFromAdapter':!0x0});for(const _0x2f2806 of _0x112f06[_0x420513(0x245)]){const _0x4e5688=_0x518742[_0x420513(0x24a)](_0x2f2806[_0x420513(0x23c)]);_0x4e5688?_0x4e5688[_0x420513(0x1ed)]!==_0x2f2806[_0x420513(0x1ed)]&&_0x4e5688[_0x420513(0x211)]({'content':_0x2f2806[_0x420513(0x1ed)],'isFromAdapter':!0x0}):_0x518742[_0x420513(0x22d)](Object[_0x420513(0x215)](S(_0x2f2806),{'isFromAdapter':!0x0}));}}}[_0xe1a9e8(0x21a)](_0x277349){const _0xc8c665=_0xe1a9e8;if(!this[_0xc8c665(0x219)][_0xc8c665(0x218)](_0x277349))throw new _0x41257a(_0xc8c665(0x22a),null,{'channelId':_0x277349});return this[_0xc8c665(0x219)][_0xc8c665(0x21c)](_0x277349);}async[_0xe1a9e8(0x22e)](_0x19337f){const _0x2b465a=_0xe1a9e8,_0x339d83=this[_0x2b465a(0x20f)][_0x2b465a(0x248)][_0x2b465a(0x21c)](_0x556585),{connection:_0x5c6d53}=this[_0x2b465a(0x20f)][_0x2b465a(0x248)][_0x2b465a(0x21c)](_0x4aca91),_0x4e1248=new Set();for(const {resolvedBy:_0x1f19f9,comments:_0x4b9251}of _0x19337f){_0x1f19f9&&!_0x339d83[_0x2b465a(0x229)](_0x1f19f9)&&_0x4e1248[_0x2b465a(0x228)](_0x1f19f9);for(const {userId:_0x3f7171}of _0x4b9251)_0x339d83[_0x2b465a(0x229)](_0x3f7171)||_0x4e1248[_0x2b465a(0x228)](_0x3f7171);}if(0x0===_0x4e1248[_0x2b465a(0x1ef)])return;const _0xa1a3cf=await _0x570541[_0x2b465a(0x1fb)](_0x5c6d53,Array[_0x2b465a(0x200)](_0x4e1248));for(const _0x3da6d5 of _0xa1a3cf)_0x339d83[_0x2b465a(0x229)](_0x3da6d5['id'])||_0x339d83[_0x2b465a(0x1f7)](_0x3da6d5);}}function _0x3f80(){const _0x11aac6=['addToReconnectionStack','requires','reopen','remove','from','catch','addCommentThread','off','keys','13131701HbXLXc','commentThreadResolved','_terminateService','createdAt','set','message','22150koRkml','removeComment','collaboration.channelId','config','context','4254132zxCPlQ','update','CommentsRepository','delete','code','assign','commentRemoved','commentThreadUpdated','has','_services','_getService','commentThreadRemoved','get','startsWith','init','cloud-services-internal-error:\x20Not\x20connected.','commentAdded','attributes','getCommentThread','4898085ejwLDo','21EOLiUQ','404','commentThreadId','commentThreadAdded','add','getUser','cloudservicescommentsadapter-service-not-exist','resolve','connect','addComment','_fetchMissingUsersForThreads','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','isOfficialPlugin','cloud-services-internal-error:\x20Request\x20timeout.','permissions','getConnectedSessions','_connectService','getCommentThreads','1307704dxgxTn','isPremiumPlugin','resolvedBy','userId','commentUpdated','commentId','4824468kFVWWF','mySessionId','deletedAt','unregister','destroy','register','pluginName','resolveCommentThread','comments','_setUpService','disconnect','plugins','Permissions','getComment','1FAROCT','sessionAdd:','1565782tDOLST','listenTo','4tLZUGi','map','reconnect','CommentsService','authorId','content','adapter','size','6687hXXEth','CloudServicesCommentsAdapter','resolvedAt','removeCommentThread','setPermissions','updateCommentThread','updateComment','addUser','reopenCommentThread','commentThreadReopened','cloudservicescommentsadapter-connect-already-connected','getMany'];_0x3f80=function(){return _0x11aac6;};return _0x3f80();}async function F(_0x47b6c7){const _0x7cad99=_0xe1a9e8;if(_0x7cad99(0x225)!==_0x47b6c7[_0x7cad99(0x214)])throw _0x47b6c7;}function _0x35d8(_0x4ff135,_0x289407){const _0x3f807a=_0x3f80();return _0x35d8=function(_0x35d8e6,_0x485ef4){_0x35d8e6=_0x35d8e6-0x1eb;let _0x106033=_0x3f807a[_0x35d8e6];return _0x106033;},_0x35d8(_0x4ff135,_0x289407);}function k(_0x113306){const _0xea3602=_0xe1a9e8;if((_0x3dd864=_0x113306)[_0xea3602(0x20a)][_0xea3602(0x21d)](_0xea3602(0x230))||_0x3dd864[_0xea3602(0x20a)][_0xea3602(0x21d)](_0xea3602(0x21f))||_0x3dd864[_0xea3602(0x20a)][_0xea3602(0x21d)](_0xea3602(0x232)))return new Promise(()=>{});var _0x3dd864;throw _0x113306;}function S(_0xb4118f){const _0x2e8466=_0xe1a9e8;return{'threadId':_0xb4118f[_0x2e8466(0x226)],'commentId':_0xb4118f[_0x2e8466(0x23c)],'content':_0xb4118f[_0x2e8466(0x1ed)],'createdAt':_0xb4118f[_0x2e8466(0x208)],'authorId':_0xb4118f[_0x2e8466(0x23a)],'attributes':_0xb4118f[_0x2e8466(0x221)]||{}};}
23
+ const _0x146b9a=_0x52e6;(function(_0x3aac50,_0x57c269){const _0xba3369=_0x52e6,_0xed975c=_0x3aac50();while(!![]){try{const _0x5e2221=-parseInt(_0xba3369(0xbc))/0x1*(-parseInt(_0xba3369(0x9b))/0x2)+parseInt(_0xba3369(0xeb))/0x3*(parseInt(_0xba3369(0xa7))/0x4)+parseInt(_0xba3369(0xea))/0x5*(-parseInt(_0xba3369(0xa2))/0x6)+-parseInt(_0xba3369(0xe2))/0x7*(parseInt(_0xba3369(0xe4))/0x8)+-parseInt(_0xba3369(0xf9))/0x9+-parseInt(_0xba3369(0xcd))/0xa+parseInt(_0xba3369(0xa6))/0xb;if(_0x5e2221===_0x57c269)break;else _0xed975c['push'](_0xed975c['shift']());}catch(_0x31461e){_0xed975c['push'](_0xed975c['shift']());}}}(_0x1057,0xd7ea1));import{Context as _0x5a7761,ContextPlugin as _0x4d153b}from'ckeditor5/src/core.js';import{CKEditorError as _0x3beb37}from'ckeditor5/src/utils.js';import{Users as _0x54c003}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x55221b,User as _0x46b2e2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x3c83c4}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x8ed1c4}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4d153b{static [_0x146b9a(0xe0)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x55221b)());[_0x146b9a(0xaa)];static get[_0x146b9a(0xd1)](){const _0x5058e4=_0x146b9a;return[_0x3c83c4,_0x5058e4(0xc3),_0x8ed1c4,_0x54c003];}static get[_0x146b9a(0xb2)](){const _0x4cc701=_0x146b9a;return _0x4cc701(0xe6);}static get[_0x146b9a(0xb9)](){return!0x0;}static get[_0x146b9a(0xc5)](){return!0x0;}constructor(_0x3ac3e2){const _0x114aff=_0x146b9a;super(_0x3ac3e2),this[_0x114aff(0xaa)]=new Map();}async[_0x146b9a(0xb3)](){const _0x21d601=_0x146b9a,_0x457487=this[_0x21d601(0xab)],_0x2eaaba=_0x457487[_0x21d601(0xdf)][_0x21d601(0xb1)](_0x21d601(0xc3));if(_0x457487[_0x21d601(0xdf)][_0x21d601(0xb1)](_0x3c83c4)[_0x21d601(0xd5)](this),_0x2eaaba[_0x21d601(0xa3)]={'addCommentThread':async({channelId:_0x158b63,threadId:_0x175036,comments:_0x2e9847,resolvedAt:_0x257e37,resolvedBy:_0x3f05bd,context:_0x399fe8,attributes:_0x4696e7})=>{const _0x30d942=_0x21d601,_0x5093dc=await this[_0x30d942(0xa5)](_0x158b63)[_0x30d942(0x9f)]({'commentThreadId':_0x175036,'comments':_0x2e9847[_0x30d942(0xc4)](_0x403df3=>function(_0x26d412,_0x4c41ea,_0x41b64b){const _0x1c7750=_0x30d942;return{'commentThreadId':_0x41b64b,'commentId':_0x26d412[_0x1c7750(0xad)],'userId':_0x26d412[_0x1c7750(0xa8)],'content':_0x26d412[_0x1c7750(0xd6)],'documentId':_0x4c41ea,'createdAt':_0x26d412[_0x1c7750(0xb0)],'attributes':_0x26d412[_0x1c7750(0xe9)]||{}};}(_0x403df3,_0x158b63,_0x175036)),'resolvedAt':_0x257e37,'resolvedBy':_0x3f05bd,'context':_0x399fe8,'attributes':_0x4696e7})[_0x30d942(0xbb)](et);return{'threadId':_0x5093dc[_0x30d942(0xd9)],'comments':_0x5093dc[_0x30d942(0xb5)]};},'getCommentThread':async({channelId:_0x5b7dd3,threadId:_0x3712bb})=>{const _0x432940=_0x21d601,_0x5d3732=await this[_0x432940(0xa5)](_0x5b7dd3)[_0x432940(0xd8)](_0x3712bb)[_0x432940(0xbb)](tt)[_0x432940(0xbb)](et);return _0x5d3732?_0x5d3732[_0x432940(0x9e)]?null:(await this[_0x432940(0xba)]([_0x5d3732]),{'threadId':_0x5d3732[_0x432940(0xd9)],'comments':_0x5d3732[_0x432940(0xb5)][_0x432940(0xc4)](ot),'context':_0x5d3732[_0x432940(0xab)],'resolvedAt':_0x5d3732[_0x432940(0xf0)],'resolvedBy':_0x5d3732[_0x432940(0xb6)],'attributes':_0x5d3732[_0x432940(0xe9)]||{}}):null;},'updateCommentThread':async({channelId:_0x2998f5,threadId:_0x128e5e,context:_0x3ea0e6,unlinkedAt:_0x449cee,attributes:_0x17e834})=>this[_0x21d601(0xa5)](_0x2998f5)[_0x21d601(0x9c)]({'commentThreadId':_0x128e5e,'context':_0x3ea0e6,'attributes':_0x17e834,'unlinkedAt':_0x449cee})[_0x21d601(0xbb)](tt)[_0x21d601(0xbb)](et),'resolveCommentThread':async({channelId:_0x29bbe3,threadId:_0x23125d})=>{const _0x28c001=_0x21d601,_0x1b7b6b=await this[_0x28c001(0xa5)](_0x29bbe3)[_0x28c001(0xe7)](_0x23125d)[_0x28c001(0xbb)](tt)[_0x28c001(0xbb)](et);return{'threadId':_0x1b7b6b[_0x28c001(0xd9)],'resolvedAt':_0x1b7b6b[_0x28c001(0xf0)],'resolvedBy':_0x1b7b6b[_0x28c001(0xb6)]};},'reopenCommentThread':async({channelId:_0x52aa4f,threadId:_0x22dc9e})=>this[_0x21d601(0xa5)](_0x52aa4f)[_0x21d601(0xe5)](_0x22dc9e)[_0x21d601(0xbb)](tt)[_0x21d601(0xbb)](et),'removeCommentThread':({channelId:_0x4abdb0,threadId:_0x18860c})=>this[_0x21d601(0xa5)](_0x4abdb0)[_0x21d601(0x97)](_0x18860c)[_0x21d601(0xbb)](tt)[_0x21d601(0xbb)](et),'addComment':({channelId:_0x40f3f1,threadId:_0x268265,commentId:_0x329599,content:_0x21d509,attributes:_0x5b51e6})=>this[_0x21d601(0xa5)](_0x40f3f1)[_0x21d601(0xa0)](_0x268265,_0x329599,_0x21d509,_0x5b51e6)[_0x21d601(0xbb)](et),'updateComment':({channelId:_0xd9fe94,threadId:_0x3a059d,commentId:_0xa37477,content:_0x241cb9,attributes:_0xc65143})=>this[_0x21d601(0xa5)](_0xd9fe94)[_0x21d601(0xca)](_0x3a059d,_0xa37477,_0x241cb9,_0xc65143)[_0x21d601(0xbb)](tt)[_0x21d601(0xbb)](et),'removeComment':({channelId:_0x151c12,threadId:_0x24e85c,commentId:_0x37df83})=>this[_0x21d601(0xa5)](_0x151c12)[_0x21d601(0xed)](_0x24e85c,_0x37df83)[_0x21d601(0xbb)](tt)[_0x21d601(0xbb)](et)},_0x457487 instanceof _0x5a7761){const _0x42257d=_0x457487[_0x21d601(0xc7)][_0x21d601(0xb1)](_0x21d601(0xd7)),_0x208a65=_0x457487[_0x21d601(0xdf)][_0x21d601(0xb1)](_0x8ed1c4);await this[_0x21d601(0xbd)](_0x42257d);const _0x4eafa5=await this[_0x21d601(0xaa)][_0x21d601(0xb1)](_0x42257d)[_0x21d601(0xdb)]();this[_0x21d601(0xbe)](_0x208a65,_0x21d601(0x96)+_0x42257d,(_0x3c5d07,{session:_0xeefd1b})=>{const _0x5a9409=_0x21d601;_0xeefd1b['id']===_0x208a65[_0x5a9409(0x9d)]&&(_0x3c5d07[_0x5a9409(0xc9)](),this[_0x5a9409(0xab)][_0x5a9409(0xdf)][_0x5a9409(0xb1)](_0x5a9409(0xae))[_0x5a9409(0xf1)](_0xeefd1b[_0x5a9409(0xaf)],_0x42257d));}),_0x208a65[_0x21d601(0xc2)](_0x42257d,_0x4eafa5);}}async[_0x146b9a(0xbd)](_0x4f5544){const _0x31b7ad=_0x146b9a;if(this[_0x31b7ad(0xaa)][_0x31b7ad(0xf3)](_0x4f5544))throw new _0x3beb37(_0x31b7ad(0xef),null,{'channelId':_0x4f5544});const _0x3c13af=this[_0x31b7ad(0xab)][_0x31b7ad(0xdf)][_0x31b7ad(0xb1)](_0x31b7ad(0xc3)),_0x34d885=new CloudServicesCommentsAdapter[(_0x31b7ad(0xe0))](_0x4f5544);this[_0x31b7ad(0xaa)][_0x31b7ad(0xc6)](_0x4f5544,_0x34d885),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xdd),(_0x1f5e24,_0x5406be)=>{const _0x3aff81=_0x31b7ad,{commentThreadId:_0xbfb8ba,documentId:_0x418ab9,context:_0x4b4716,attributes:_0x29fc6f,resolvedAt:_0x1a911f,resolvedBy:_0x3df695,comments:_0x422df1}=_0x5406be;_0x3c13af[_0x3aff81(0xd8)](_0xbfb8ba)||_0x3c13af[_0x3aff81(0x9f)]({'threadId':_0xbfb8ba,'channelId':_0x418ab9,'comments':_0x422df1?_0x422df1[_0x3aff81(0xc4)](ot):[],'context':_0x4b4716,'attributes':_0x29fc6f,'resolvedAt':_0x1a911f,'resolvedBy':_0x3df695,'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xfc),(_0x119710,{commentThreadId:_0x19063a,documentId:_0x12304b,context:_0x4b85da,unlinkedAt:_0x332c30,attributes:_0x3c6795})=>{const _0x1e286c=_0x31b7ad;_0x3c13af[_0x1e286c(0xd8)](_0x19063a)&&_0x3c13af[_0x1e286c(0x9c)]({'threadId':_0x19063a,'channelId':_0x12304b,'context':_0x4b85da,'unlinkedAt':_0x332c30,'attributes':_0x3c6795,'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xde),(_0x4886e2,{commentThreadId:_0x324832,resolvedBy:_0x394270,resolvedAt:_0xc91276})=>{const _0x423097=_0x31b7ad,_0x3bbc73=_0x3c13af[_0x423097(0xd8)](_0x324832);_0x3bbc73&&_0x3bbc73[_0x423097(0xac)]({'resolvedBy':_0x394270,'resolvedAt':_0xc91276,'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xa4),(_0x57ab6e,{commentThreadId:_0x4105a9})=>{const _0x531c7b=_0x31b7ad,_0x5a8f2d=_0x3c13af[_0x531c7b(0xd8)](_0x4105a9);_0x5a8f2d&&_0x5a8f2d[_0x531c7b(0xcf)]({'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xb7),(_0x295ac7,{commentThreadId:_0x38a71f})=>{const _0x13e0be=_0x31b7ad,_0xd464f2=_0x3c13af[_0x13e0be(0xd8)](_0x38a71f);_0xd464f2&&_0xd464f2[_0x13e0be(0xe3)]({'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xf4),(_0x239b48,_0x2a84ca)=>{const _0x5c86ac=_0x31b7ad,_0x257103=_0x2a84ca[_0x5c86ac(0xd9)],_0x3fd0fd=_0x3c13af[_0x5c86ac(0xd8)](_0x257103);_0x3fd0fd&&_0x3fd0fd[_0x5c86ac(0xa0)]({...ot(_0x2a84ca),'isFromAdapter':!0x0});}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xf7),(_0x2eecc7,{commentThreadId:_0x107a93,commentId:_0x5eb84a,content:_0x14e85f,attributes:_0x1ff780})=>{const _0x25ed9c=_0x31b7ad,_0x4e13a8=_0x3c13af[_0x25ed9c(0xd8)](_0x107a93);if(_0x4e13a8){const _0x25add9=_0x4e13a8[_0x25ed9c(0xfb)](_0x5eb84a);_0x25add9&&_0x25add9[_0x25ed9c(0xda)]({'content':_0x14e85f,'attributes':_0x1ff780,'isFromAdapter':!0x0});}}),this[_0x31b7ad(0xbe)](_0x34d885,_0x31b7ad(0xbf),(_0x3f0e66,{commentThreadId:_0x20aabc,commentId:_0x286e2d})=>{const _0x3a0e98=_0x31b7ad,_0x31fb3f=_0x3c13af[_0x3a0e98(0xd8)](_0x20aabc);if(_0x31fb3f){const _0x301e34=_0x31fb3f[_0x3a0e98(0xfb)](_0x286e2d);_0x301e34&&_0x301e34[_0x3a0e98(0xe3)]({'isFromAdapter':!0x0});}}),await this[_0x31b7ad(0xcc)](_0x4f5544);}[_0x146b9a(0xb4)](){const _0x521f2f=_0x146b9a;if(this[_0x521f2f(0xab)]instanceof _0x5a7761){const _0x367b43=this[_0x521f2f(0xab)][_0x521f2f(0xc7)][_0x521f2f(0xb1)](_0x521f2f(0xd7));this[_0x521f2f(0xf5)](_0x367b43);}}[_0x146b9a(0xf5)](_0x55c50f){const _0x4ecf09=_0x146b9a;if(!this[_0x4ecf09(0xaa)][_0x4ecf09(0xf3)](_0x55c50f))throw new _0x3beb37(_0x4ecf09(0xc0),null,{'channelId':_0x55c50f});this[_0x4ecf09(0xa5)](_0x55c50f)[_0x4ecf09(0xee)](),this[_0x4ecf09(0xaa)][_0x4ecf09(0xf8)](_0x55c50f);}async[_0x146b9a(0x98)](){const _0x54877d=_0x146b9a;for(const _0x5d1c7e of this[_0x54877d(0xaa)][_0x54877d(0x99)]())await this[_0x54877d(0xcc)](_0x5d1c7e);if(this[_0x54877d(0xab)]instanceof _0x5a7761){const _0xf97460=this[_0x54877d(0xab)][_0x54877d(0xc7)][_0x54877d(0xb1)](_0x54877d(0xd7)),_0xf188d9=this[_0x54877d(0xab)][_0x54877d(0xdf)][_0x54877d(0xb1)](_0x8ed1c4);_0xf188d9[_0x54877d(0xd2)](_0xf97460);const _0x509c89=await this[_0x54877d(0xaa)][_0x54877d(0xb1)](_0xf97460)[_0x54877d(0xdb)]();_0xf188d9[_0x54877d(0xc2)](_0xf97460,_0x509c89);}}async[_0x146b9a(0xcc)](_0x377c07){const _0x3938dc=_0x146b9a,{connection:_0x439464}=this[_0x3938dc(0xab)][_0x3938dc(0xdf)][_0x3938dc(0xb1)](_0x3c83c4),_0x9be731=this[_0x3938dc(0xab)][_0x3938dc(0xdf)][_0x3938dc(0xb1)](_0x3938dc(0xc3)),_0x38679e=this[_0x3938dc(0xaa)][_0x3938dc(0xb1)](_0x377c07),_0x18c5c3=await _0x38679e[_0x3938dc(0xc8)](_0x439464);await this[_0x3938dc(0xba)](_0x18c5c3);const _0x34698b=new Set(Array[_0x3938dc(0xfa)](_0x9be731[_0x3938dc(0xf2)]({'channelId':_0x377c07}),_0x20207b=>_0x20207b['id']));for(const _0x55eb3e of _0x18c5c3)_0x55eb3e[_0x3938dc(0x9e)]||_0x34698b[_0x3938dc(0xf8)](_0x55eb3e[_0x3938dc(0xd9)]);for(const _0x4290fc of _0x34698b)_0x9be731[_0x3938dc(0xd8)](_0x4290fc)[_0x3938dc(0xe3)]({'isFromAdapter':!0x0});for(const _0x3db46e of _0x18c5c3){let _0x91555=_0x9be731[_0x3938dc(0xd8)](_0x3db46e[_0x3938dc(0xd9)]);const {commentThreadId:_0x45a0dd,context:_0x2f6a80,attributes:_0x209ec8,resolvedBy:_0x455354,resolvedAt:_0x32c177,unlinkedAt:_0x441025,deletedAt:_0x51d5e0}=_0x3db46e;if(_0x51d5e0)continue;_0x91555||(_0x91555=_0x9be731[_0x3938dc(0x9f)]({'channelId':_0x377c07,'threadId':_0x45a0dd,'context':_0x2f6a80,'attributes':_0x209ec8||{},'resolvedBy':_0x455354,'resolvedAt':_0x32c177,'unlinkedAt':_0x441025,'isFromAdapter':!0x0}));const _0x3db729=new Set(Array[_0x3938dc(0xfa)](_0x91555[_0x3938dc(0xb5)],_0x4dcdb6=>_0x4dcdb6['id']));for(const _0x3dc9b4 of _0x3db46e[_0x3938dc(0xb5)])_0x3db729[_0x3938dc(0xf8)](_0x3dc9b4[_0x3938dc(0xad)]);for(const _0xfd553b of _0x3db729)_0x91555[_0x3938dc(0xfb)](_0xfd553b)[_0x3938dc(0xe3)]({'isFromAdapter':!0x0});for(const _0x3246a2 of _0x3db46e[_0x3938dc(0xb5)]){const _0x5b16a1=_0x91555[_0x3938dc(0xfb)](_0x3246a2[_0x3938dc(0xad)]);_0x5b16a1?_0x5b16a1[_0x3938dc(0xd6)]!==_0x3246a2[_0x3938dc(0xd6)]&&_0x5b16a1[_0x3938dc(0xda)]({'content':_0x3246a2[_0x3938dc(0xd6)],'isFromAdapter':!0x0}):_0x91555[_0x3938dc(0xa0)](Object[_0x3938dc(0xa9)](ot(_0x3246a2),{'isFromAdapter':!0x0}));}}}[_0x146b9a(0xa5)](_0x3aacc7){const _0x185286=_0x146b9a;if(!this[_0x185286(0xaa)][_0x185286(0xf3)](_0x3aacc7))throw new _0x3beb37(_0x185286(0xa1),null,{'channelId':_0x3aacc7});return this[_0x185286(0xaa)][_0x185286(0xb1)](_0x3aacc7);}async[_0x146b9a(0xba)](_0x4512a9){const _0x192937=_0x146b9a,_0x571887=this[_0x192937(0xab)][_0x192937(0xdf)][_0x192937(0xb1)](_0x54c003),{connection:_0x1d3b1e}=this[_0x192937(0xab)][_0x192937(0xdf)][_0x192937(0xb1)](_0x3c83c4),_0x583def=new Set();for(const {resolvedBy:_0x54a711,comments:_0x105af4}of _0x4512a9){_0x54a711&&!_0x571887[_0x192937(0xd3)](_0x54a711)&&_0x583def[_0x192937(0xe8)](_0x54a711);for(const {userId:_0x693eca}of _0x105af4)_0x571887[_0x192937(0xd3)](_0x693eca)||_0x583def[_0x192937(0xe8)](_0x693eca);}if(0x0===_0x583def[_0x192937(0xc1)])return;const _0x592ef1=await _0x46b2e2[_0x192937(0x9a)](_0x1d3b1e,Array[_0x192937(0xfa)](_0x583def));for(const _0x456751 of _0x592ef1)_0x571887[_0x192937(0xd3)](_0x456751['id'])||_0x571887[_0x192937(0xd4)](_0x456751);}}async function tt(_0x56f65f){const _0x241327=_0x146b9a;if(_0x241327(0xf6)!==_0x56f65f[_0x241327(0xdc)])throw _0x56f65f;}function et(_0x204768){const _0x58edef=_0x146b9a;if((_0x4914c2=_0x204768)[_0x58edef(0xcb)][_0x58edef(0xd0)](_0x58edef(0xec))||_0x4914c2[_0x58edef(0xcb)][_0x58edef(0xd0)](_0x58edef(0xce))||_0x4914c2[_0x58edef(0xcb)][_0x58edef(0xd0)](_0x58edef(0xb8)))return new Promise(()=>{});var _0x4914c2;throw _0x204768;}function ot(_0x5bef8b){const _0x3c7742=_0x146b9a;return{'threadId':_0x5bef8b[_0x3c7742(0xd9)],'commentId':_0x5bef8b[_0x3c7742(0xad)],'content':_0x5bef8b[_0x3c7742(0xd6)],'createdAt':_0x5bef8b[_0x3c7742(0xb0)],'authorId':_0x5bef8b[_0x3c7742(0xe1)],'attributes':_0x5bef8b[_0x3c7742(0xe9)]||{}};}function _0x52e6(_0x3fa153,_0x1fd889){const _0x105723=_0x1057();return _0x52e6=function(_0x52e617,_0x3db0f6){_0x52e617=_0x52e617-0x96;let _0x5196a0=_0x105723[_0x52e617];return _0x5196a0;},_0x52e6(_0x3fa153,_0x1fd889);}function _0x1057(){const _0x2ba5f9=['CloudServicesCommentsAdapter','resolveCommentThread','add','attributes','35PPqZLI','87bxVFeq','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','removeComment','disconnect','cloudservicescommentsadapter-connect-already-connected','resolvedAt','setPermissions','getCommentThreads','has','commentAdded','_terminateService','404','commentUpdated','delete','6795468dCWoqH','from','getComment','commentThreadUpdated','sessionAdd:','removeCommentThread','reconnect','keys','getMany','2114DABLKY','updateCommentThread','mySessionId','deletedAt','addCommentThread','addComment','cloudservicescommentsadapter-service-not-exist','167502TALsSf','adapter','commentThreadReopened','_getService','8295727iGxLEl','220772KjEMVa','authorId','assign','_services','context','resolve','commentId','Permissions','permissions','createdAt','get','pluginName','init','destroy','comments','resolvedBy','commentThreadRemoved','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','_fetchMissingUsersForThreads','catch','1042IhVNZD','_setUpService','listenTo','commentRemoved','cloudservicescommentsadapter-disconnect-not-exist','size','register','CommentsRepository','map','isPremiumPlugin','set','config','connect','off','updateComment','message','_connectService','14874150ynlUpW','cloud-services-internal-error:\x20Not\x20connected.','reopen','startsWith','requires','unregister','getUser','addUser','addToReconnectionStack','content','collaboration.channelId','getCommentThread','commentThreadId','update','getConnectedSessions','code','commentThreadAdded','commentThreadResolved','plugins','CommentsService','userId','7YAfjkw','remove','1071016bEyhpD','reopenCommentThread'];_0x1057=function(){return _0x2ba5f9;};return _0x1057();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x594143=_0x1fbc;(function(_0x47d22c,_0x21b940){const _0x2b1077=_0x1fbc,_0x4fd153=_0x47d22c();while(!![]){try{const _0x43c65a=parseInt(_0x2b1077(0x1b4))/0x1+parseInt(_0x2b1077(0x1bf))/0x2*(-parseInt(_0x2b1077(0x184))/0x3)+-parseInt(_0x2b1077(0x1d1))/0x4+parseInt(_0x2b1077(0x1dc))/0x5*(parseInt(_0x2b1077(0x1d6))/0x6)+-parseInt(_0x2b1077(0x1fc))/0x7+parseInt(_0x2b1077(0x1b6))/0x8*(parseInt(_0x2b1077(0x15c))/0x9)+parseInt(_0x2b1077(0x1b9))/0xa*(parseInt(_0x2b1077(0x1ee))/0xb);if(_0x43c65a===_0x21b940)break;else _0x4fd153['push'](_0x4fd153['shift']());}catch(_0x28db39){_0x4fd153['push'](_0x4fd153['shift']());}}}(_0x1b0e,0x7744f));import{Plugin as _0x18e0bb,PendingActions as _0xbb91af}from'ckeditor5/src/core.js';import{CKEditorError as _0x4aa1fc,version as _0x27e027,uid as _0x4367d1}from'ckeditor5/src/utils.js';function _0x1fbc(_0x30445e,_0x8ff192){const _0x1b0ecb=_0x1b0e();return _0x1fbc=function(_0x1fbc82,_0x36b30c){_0x1fbc82=_0x1fbc82-0x157;let _0x4740d1=_0x1b0ecb[_0x1fbc82];return _0x4740d1;},_0x1fbc(_0x30445e,_0x8ff192);}import{Notification as _0x2da985}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3f9b98,NoOperation as _0x470453,InsertOperation as _0xbdb574,MarkerOperation as _0x51fb07,RootAttributeOperation as _0xc2e029,OperationFactory as _0x57d5c7,History as _0x555909}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x321f45}from'./websocketgateway.js';import{Sessions as _0x2545ad}from'./sessions.js';import{UserMarkers as _0x5aebc7}from'./usermarkers.js';import{getTranslation as _0x5d7e9e}from'../common-translations.js';function _0x1b0e(){const _0x41674f=['directChange','_sendBufferedOperations','applyOperation','593600IOLZxX','marker','targetPosition','_knownRootNames','operationsReceived','387804ZLULqA','_isEditingAllowed','RealTimeCollaborationClient','getUser','apply','version','5VrhCub','CollaborativeEditingService','getOperationAuthor','real-time-collaboration','addRootAttribute','bind','decompress','$root','requires','realtimecollaborationclient-error','isReadOnly','state','editor','listenTo','channelSessions','rtc-offline','__className','config','561cfzDqh','locale','destroy','_currentBufferDelay','keys','disconnected','_bufferRootLoad','_refreshUserSelectionMarkers','removeFromReconnectionStack','catch','start','_initThrowingOnDataSet','addUser','_isInit','5569144FzLmTR','position','type','end','serverHistory','_handleExternalOperations','lastOperationAcceptedAt','_isConnected','_service','clone','disconnect','Synchronization\x20issue','isDocumentOperation','_isPendingUpdate','disableReadOnlyMode','add','push','_sendBufferedOperationsDelayed','addOperation','realtimecollaborationclient-init-session-connection-error','reset','Permissions','entries','plugins','mySessionId','_updateServerHistory','move','CommentsOnly','_shouldSendSelectionUpdate','_sendBufferedOperationsDelayId','_handleSendingSelectionMarkers','sendOperations','cloud-services-internal-error:\x20Not\x20connected.','_setPendingAction','data','lastOperationId','model','_hasSelectionChanged','getOperations','realtimecollaborationclient-init-non-existent-root','_document','_connectAfterSessionHasBeenFlushed','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','permissions','history','_handleServerResponse','_setUpDataInit','differ','markers','metadata','createUserMarkerOperations','_handleReceivedOperations','lastDocumentSession','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sessionAdd:','newRange','_fetchMissingUsers','getMany','realtimecollaborationclient-init-connection-failed','_addKnownRoot','createdAt','_handleReconnectionError','get','has','_disconnectService','from','userId','_getAffectedRoot','Notification','insert','sessionCreatedAt','_getOperationsFromInitData','collaboration-missing-channelid','root','rtc-destroyed','currentDocumentSession','unregister','view','pluginName','isEnabled','finally','createRange','slice','realtimecollaborationclient-init-document-already-initialized','change:range','collaboration.channelId','_lastSyncedOperationId','startsWith','_disconnectionOperations','getIdOfTheLastOperation','register','stopListening','_applyOperationsSet','init','offset','editing','error','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.','_isLoaded','define','realtimecollaborationclient-init-service-incorrect-server-operation','wereChangesApplied','6509313DtsTMg','return','_isAttached','reconnect','length','addRoot','_knownOperations','_compressOperations','rootsAttributes','lastSyncVersion','set','cloudServices.bundleVersion','_compressor','cloudDocumentVersion','suppressErrorInCollaboration','getRoot','realtimecollaborationclient','InsertOperation','size','round','ready','_channelId','enqueueChange','toJSON','_authorId','showWarning','_initSessionsHandling','off','isOfficialPlugin','enableReadOnlyMode','includes','_clearPendingAction','affectedSelectable','selection','setIdForTheLastOperation','_connectService','change:hasDomSelection','_waitUntilSynced','document:write','409','119412KBGMSj','connection','message','stop','baseVersion','_bufferedOperations','code','attributes','reconnection:\x20flushed\x20session','_crash','high','createPositionAt','setPermissions','_pendingAction','parse','getDocumentDetails','_baseBufferDelay','_operationIdentifier','string','_loadRoot','fire','_handleInitialConnectionData','connect','document','wasUndone','compress','initData','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','loadRoot','_ignoredOperations','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.','_isDisconnection','_offset','change:_isPendingUpdate','PENDING_ACTION_SENDING_DATA','_lastServerVersion','createRoot','batch','isPremiumPlugin','isUndoneOperation','affectsData','multi-root-editor-root-attributes-no-root','addToReconnectionStack','realtimecollaborationclient-init-service-internal-error','_operationToId','getConnectedSessions','rootName','_handleReconnectionResponse','658746AheaCS','cs:removeUser','8ZPHXji','roots','cloud-services-internal-error:\x20Request\x20timeout.','176740SBvvLz','_shouldSendUpdate','sessionId','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-sendbufferedoperations','then','46MxrXZs','map','connected','404','_saveOperationInBuffer','change:_isEditingAllowed','_hasSynchronizationProblem','forEach','createPositionFromPath','_decompressOperations','fromJSON','path','collaboration','filter','remove'];_0x1b0e=function(){return _0x41674f;};return _0x1b0e();}import{Compressor as _0x47d014}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x4448bf}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x618b31,CollaborativeEditingService as _0x3b2157}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;export class RealTimeCollaborationClient extends _0x18e0bb{static [_0x594143(0x1dd)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3b2157)());[_0x594143(0x1a4)];[_0x594143(0x1bb)];[_0x594143(0x200)];[_0x594143(0x171)];[_0x594143(0x204)];[_0x594143(0x224)];[_0x594143(0x168)];[_0x594143(0x189)];[_0x594143(0x162)];[_0x594143(0x1d4)];[_0x594143(0x191)];[_0x594143(0x221)];[_0x594143(0x219)];[_0x594143(0x194)];[_0x594143(0x1f1)];[_0x594143(0x253)];[_0x594143(0x255)];[_0x594143(0x195)];static get[_0x594143(0x1e4)](){return[_0x321f45,_0x2545ad,_0x5aebc7,_0xbb91af,_0x4448bf,_0x2da985];}static get[_0x594143(0x24b)](){const _0x4d1958=_0x594143;return _0x4d1958(0x1d8);}static get[_0x594143(0x178)](){return!0x0;}static get[_0x594143(0x1aa)](){return!0x0;}get[_0x594143(0x169)](){const _0x22747f=_0x594143;return this[_0x22747f(0x1a7)]+this[_0x22747f(0x1a4)];}get[_0x594143(0x1a7)](){const _0x498a8b=_0x594143;return this[_0x498a8b(0x200)][_0x498a8b(0x1db)]-this[_0x498a8b(0x1a4)];}get[_0x594143(0x165)](){const _0x2681f7=_0x594143,_0x5543db=this[_0x2681f7(0x200)][_0x2681f7(0x222)]();for(let _0x5bcd6c=_0x5543db[_0x2681f7(0x160)]-0x1;_0x5bcd6c>=0x0;_0x5bcd6c--){const _0x6a690c=_0x5543db[_0x5bcd6c];if(!this[_0x2681f7(0x255)][_0x2681f7(0x23c)](_0x6a690c))return _0x6a690c[_0x2681f7(0x188)]+0x1-this[_0x2681f7(0x1a4)];}return 0x0;}constructor(_0x4175a6){const _0x533540=_0x594143;if(super(_0x4175a6),this[_0x533540(0x1a4)]=0x0,this[_0x533540(0x1bb)]=null,this[_0x533540(0x200)]=new _0x555909(),this[_0x533540(0x1e8)][_0x533540(0x1ed)][_0x533540(0x159)](_0x533540(0x1cb),{}),this[_0x533540(0x171)]=this[_0x533540(0x1e8)][_0x533540(0x1ed)][_0x533540(0x23b)](_0x533540(0x252)),!this[_0x533540(0x171)])throw new _0x4aa1fc(_0x533540(0x245),this);const _0x51902d=_0x4175a6[_0x533540(0x1ed)][_0x533540(0x23b)](_0x533540(0x167))||_0x27e027;this[_0x533540(0x204)]=new RealTimeCollaborationClient[(_0x533540(0x1dd))](_0x51902d,this[_0x533540(0x171)]),this[_0x533540(0x224)]=this[_0x533540(0x1e8)][_0x533540(0x220)][_0x533540(0x19b)],this[_0x533540(0x168)]=new _0x47d014(),this[_0x533540(0x189)]=[],this[_0x533540(0x162)]=new WeakSet(),this[_0x533540(0x1d4)]=new Set(),this[_0x533540(0x166)](_0x533540(0x209),!0x1),this[_0x533540(0x166)](_0x533540(0x1c5),!0x1),this[_0x533540(0x191)]=null,this[_0x533540(0x221)]=!0x1,this[_0x533540(0x219)]=null,this[_0x533540(0x194)]=0x12c,this[_0x533540(0x1f1)]=this[_0x533540(0x194)],this[_0x533540(0x253)]=null,this[_0x533540(0x255)]=new WeakSet(),this[_0x533540(0x195)]=new OperationIdentifier(this[_0x533540(0x255)]);}[_0x594143(0x25a)](){const _0x29d866=_0x594143,_0x589cf9=this[_0x29d866(0x1e8)],_0x38da78=_0x589cf9[_0x29d866(0x213)][_0x29d866(0x23b)](_0x4448bf),_0x4df7d7=_0x589cf9[_0x29d866(0x213)][_0x29d866(0x23b)](_0x321f45);this[_0x29d866(0x1e9)](_0x38da78,_0x29d866(0x1de),(_0x4b8a6e,_0x3e924f)=>{const _0x487856=_0x29d866,_0x120be4=_0x3e924f[0x0];_0x120be4[_0x487856(0x174)]&&(_0x4b8a6e[_0x487856(0x15d)]=_0x38da78[_0x487856(0x1d9)](_0x120be4[_0x487856(0x174)]),_0x4b8a6e[_0x487856(0x187)]()),null===_0x120be4[_0x487856(0x174)]&&(_0x4b8a6e[_0x487856(0x15d)]=null,_0x4b8a6e[_0x487856(0x187)]());},{'priority':_0x29d866(0x18e)}),this[_0x29d866(0x1e9)](_0x589cf9[_0x29d866(0x220)][_0x29d866(0x19b)][_0x29d866(0x17d)],_0x29d866(0x251),(_0x198f29,_0x41e2ff)=>{const _0x1ce105=_0x29d866;_0x41e2ff[_0x1ce105(0x1ce)]&&this[_0x1ce105(0x1f5)]();}),this[_0x29d866(0x1e9)](_0x589cf9[_0x29d866(0x25c)][_0x29d866(0x24a)],_0x29d866(0x180),()=>{const _0x236e0b=_0x29d866;this[_0x236e0b(0x1f5)]();}),this[_0x29d866(0x1f9)](),_0x589cf9[_0x29d866(0x220)]['on'](_0x29d866(0x1d0),(_0xc017bb,_0x6c4db9)=>{const _0x25054a=_0x29d866,_0x140a9e=_0x6c4db9[0x0];_0x140a9e[_0x25054a(0x208)]&&(this[_0x25054a(0x1c3)](_0x140a9e),this[_0x25054a(0x1ba)]()&&this[_0x25054a(0x20d)]());}),this[_0x29d866(0x22b)](),this[_0x29d866(0x1e1)](_0x29d866(0x1d7))['to'](_0x4df7d7,_0x29d866(0x1e7),this,_0x29d866(0x1c5),(_0x4451e3,_0x3e15fa)=>_0x29d866(0x1c1)===_0x4451e3&&!_0x3e15fa),this['on'](_0x29d866(0x1c4),()=>{const _0x52bad2=_0x29d866;this[_0x52bad2(0x1d7)]?_0x589cf9[_0x52bad2(0x20a)](_0x52bad2(0x1eb)):_0x589cf9[_0x52bad2(0x179)](_0x52bad2(0x1eb));}),this[_0x29d866(0x1d7)]?_0x589cf9[_0x29d866(0x20a)](_0x29d866(0x1eb)):_0x589cf9[_0x29d866(0x179)](_0x29d866(0x1eb)),this[_0x29d866(0x166)](_0x29d866(0x203),!0x1);}async[_0x594143(0x15f)](){const _0x582be4=_0x594143,_0x34c0b1=this[_0x582be4(0x1e8)][_0x582be4(0x213)][_0x582be4(0x23b)](_0x2545ad),_0x4cb4c2=this[_0x582be4(0x1e8)][_0x582be4(0x213)][_0x582be4(0x23b)](_0x321f45);try{this[_0x582be4(0x209)]=!0x0,_0x34c0b1[_0x582be4(0x249)](this[_0x582be4(0x171)]);const _0x41c032=await this[_0x582be4(0x204)][_0x582be4(0x15f)](_0x4cb4c2[_0x582be4(0x185)],this[_0x582be4(0x165)]);await this[_0x582be4(0x1b3)](_0x41c032)&&(this[_0x582be4(0x209)]=!0x1,this[_0x582be4(0x17b)]());const _0x85fd6c=await this[_0x582be4(0x204)][_0x582be4(0x1b1)]();_0x34c0b1[_0x582be4(0x257)](this[_0x582be4(0x171)],_0x85fd6c),this[_0x582be4(0x21a)](),this[_0x582be4(0x203)]=!0x0;}catch(_0x21e443){if(function(_0x30369d){const _0x2e9af8=_0x582be4;return _0x2e9af8(0x1c2)===_0x30369d[_0x2e9af8(0x18a)];}(_0x21e443)&&this[_0x582be4(0x1bb)])await this[_0x582be4(0x225)]();else{if(function(_0x16c653){const _0x171e74=_0x582be4;return _0x171e74(0x183)===_0x16c653[_0x171e74(0x18a)];}(_0x21e443)){const _0x5e4c50=_0x5d7e9e(this[_0x582be4(0x1e8)][_0x582be4(0x1ef)],_0x582be4(0x232));this[_0x582be4(0x23a)](_0x5e4c50);}else{if(!(_0x21e443 instanceof ReconnectionError))throw _0x21e443;this[_0x582be4(0x23a)]();}}}}[_0x594143(0x1f0)](){const _0x1eccf5=_0x594143,_0x23a25f=this[_0x1eccf5(0x1e8)][_0x1eccf5(0x213)][_0x1eccf5(0x23b)](_0x321f45),_0x28631c=this[_0x1eccf5(0x1e8)][_0x1eccf5(0x213)][_0x1eccf5(0x23b)](_0x2545ad);this[_0x1eccf5(0x1e8)][_0x1eccf5(0x179)](_0x1eccf5(0x247)),_0x28631c[_0x1eccf5(0x1ea)][_0x1eccf5(0x23c)](this[_0x1eccf5(0x171)])&&_0x28631c[_0x1eccf5(0x249)](this[_0x1eccf5(0x171)]),_0x23a25f[_0x1eccf5(0x1f6)](this),this[_0x1eccf5(0x23d)](),super[_0x1eccf5(0x1f0)]();}async[_0x594143(0x1b3)](_0x4a1ffe){const _0xd94d37=_0x594143;if(this[_0xd94d37(0x1bb)]!==_0x4a1ffe[_0xd94d37(0x1bb)]&&this[_0xd94d37(0x253)]!==_0x4a1ffe[_0xd94d37(0x21f)])throw new ReconnectionError();return this[_0xd94d37(0x1bb)]=_0x4a1ffe[_0xd94d37(0x1bb)],this[_0xd94d37(0x22a)]([],{..._0x4a1ffe,'wereChangesApplied':!0x1,'data':_0x4a1ffe[_0xd94d37(0x21e)]},_0xd94d37(0x15f));}async[_0x594143(0x17f)](_0x5ae69b,_0x4f7297=!0x1){const _0x2b1858=_0x594143,{connection:_0x2ca339}=this[_0x2b1858(0x1e8)][_0x2b1858(0x213)][_0x2b1858(0x23b)](_0x321f45);RealTimeCollaborationClient[_0x2b1858(0x1dd)][_0x2b1858(0x1b1)](_0x2ca339,this[_0x2b1858(0x171)])[_0x2b1858(0x1be)](_0x26456b=>this[_0x2b1858(0x176)](_0x26456b))[_0x2b1858(0x1f7)](_0x3c03ff=>{const _0x125ec3=_0x2b1858;this[_0x125ec3(0x18d)](_0x125ec3(0x20f),_0x3c03ff);}),this[_0x2b1858(0x1e9)](this[_0x2b1858(0x204)],_0x2b1858(0x1d5),this[_0x2b1858(0x230)][_0x2b1858(0x1e1)](this)),this[_0x2b1858(0x1e9)](this[_0x2b1858(0x204)],_0x2b1858(0x25d),(_0x45161c,_0x46be52)=>{const _0x3683ff=_0x2b1858;this[_0x3683ff(0x18d)](_0x3683ff(0x1af),_0x46be52);}),this[_0x2b1858(0x1e9)](this[_0x2b1858(0x204)],_0x2b1858(0x1f3),()=>{const _0xc0a9fe=_0x2b1858;this[_0xc0a9fe(0x203)]=!0x1;});const _0x5c6dd5=this[_0x2b1858(0x195)][_0x2b1858(0x256)](_0x5ae69b);this[_0x2b1858(0x209)]=!0x0;const _0x5dfd5a=await this[_0x2b1858(0x204)][_0x2b1858(0x19a)](_0x2ca339,this[_0x2b1858(0x163)](_0x5ae69b),_0x5c6dd5);if(this[_0x2b1858(0x1bb)]=_0x5dfd5a[_0x2b1858(0x1bb)],_0x4f7297){if(!_0x5dfd5a[_0x2b1858(0x15b)])return void this[_0x2b1858(0x23a)]();this[_0x2b1858(0x209)]=!0x1,this[_0x2b1858(0x17b)](),this[_0x2b1858(0x200)][_0x2b1858(0x210)](),this[_0x2b1858(0x1a4)]=_0x5dfd5a[_0x2b1858(0x25b)],this[_0x2b1858(0x200)][_0x2b1858(0x1db)]=this[_0x2b1858(0x1a4)],await this[_0x2b1858(0x22a)](_0x5ae69b,_0x5dfd5a,_0x2b1858(0x18c));}else await this[_0x2b1858(0x199)](_0x5dfd5a,_0x5ae69b);this[_0x2b1858(0x21a)](),this[_0x2b1858(0x203)]=!0x0;}[_0x594143(0x21a)](){const _0x2d840c=_0x594143,_0x449306=this[_0x2d840c(0x1e8)][_0x2d840c(0x213)][_0x2d840c(0x23b)](_0x2545ad),_0x46e724=this[_0x2d840c(0x1e8)][_0x2d840c(0x213)][_0x2d840c(0x23b)](_0x5aebc7),_0x404a00=_0x449306[_0x2d840c(0x1ea)][_0x2d840c(0x23b)](this[_0x2d840c(0x171)]);_0x404a00&&_0x404a00[_0x2d840c(0x160)]>0x1?_0x46e724[_0x2d840c(0x22f)]():this[_0x2d840c(0x1e9)](_0x449306,_0x2d840c(0x233)+this[_0x2d840c(0x171)],()=>{const _0x12ae8f=_0x2d840c;0x2===_0x449306[_0x12ae8f(0x1ea)][_0x12ae8f(0x23b)](this[_0x12ae8f(0x171)])[_0x12ae8f(0x160)]&&_0x46e724[_0x12ae8f(0x22f)]();});}async[_0x594143(0x230)](_0x3c75a7,_0x24144c,_0x2bc86f,_0x2c5545){const _0xc62244=_0x594143;if(!this[_0xc62244(0x209)]&&this[_0xc62244(0x224)][_0xc62244(0x1db)]==_0x24144c){const _0x291468=this[_0xc62244(0x1c8)](_0x2bc86f,_0x2c5545);await this[_0xc62244(0x235)](_0x291468),this[_0xc62244(0x201)](_0x291468,_0x24144c,_0x2bc86f[_0xc62244(0x21f)])||this[_0xc62244(0x18d)](_0xc62244(0x15a));}}async[_0x594143(0x225)](){const _0xff9a7e=_0x594143;this[_0xff9a7e(0x23d)]();const {locale:_0x16c9e0}=this[_0xff9a7e(0x1e8)];let _0x499acd;try{_0x499acd=await this[_0xff9a7e(0x204)][_0xff9a7e(0x193)]();}catch{const _0x1ab713=_0x5d7e9e(_0x16c9e0,_0xff9a7e(0x227));return void this[_0xff9a7e(0x23a)](_0x1ab713);}const _0x23a9b3=_0x499acd[_0xff9a7e(0x248)]||_0x499acd[_0xff9a7e(0x231)];if(this[_0xff9a7e(0x253)]!==_0x23a9b3[_0xff9a7e(0x21f)]){const _0x3ebef7=_0x5d7e9e(_0x16c9e0,_0xff9a7e(0x157));return void this[_0xff9a7e(0x23a)](_0x3ebef7);}await this[_0xff9a7e(0x17f)](this[_0xff9a7e(0x1e8)][_0xff9a7e(0x220)][_0xff9a7e(0x19b)][_0xff9a7e(0x229)][_0xff9a7e(0x222)](),!0x0);}[_0x594143(0x23d)](){const _0x4839d2=_0x594143;this[_0x4839d2(0x204)][_0x4839d2(0x206)](),this[_0x4839d2(0x189)]=[],clearTimeout(this[_0x4839d2(0x219)]),this[_0x4839d2(0x258)](this[_0x4839d2(0x204)]);}[_0x594143(0x176)](_0x8e5d16){const _0x1fdfb5=_0x594143,_0x8410c8=this[_0x1fdfb5(0x1e8)][_0x1fdfb5(0x213)][_0x1fdfb5(0x23b)](_0x2545ad);this[_0x1fdfb5(0x1e9)](_0x8410c8,_0x1fdfb5(0x233)+this[_0x1fdfb5(0x171)],(_0x3c310b,{session:_0x3dbda4})=>{const _0x535a98=_0x1fdfb5;if(_0x3dbda4['id']===_0x8410c8[_0x535a98(0x214)]){_0x3c310b[_0x535a98(0x177)]();const _0x2586a8=this[_0x535a98(0x1e8)][_0x535a98(0x213)][_0x535a98(0x23c)](_0x535a98(0x217))&&this[_0x535a98(0x1e8)][_0x535a98(0x213)][_0x535a98(0x23b)](_0x535a98(0x217));let _0x462bc1=_0x3dbda4[_0x535a98(0x228)];_0x2586a8&&_0x2586a8[_0x535a98(0x24c)]&&(_0x462bc1=_0x462bc1[_0x535a98(0x1cc)](_0x346b5f=>_0x535a98(0x182)!==_0x346b5f)),this[_0x535a98(0x1e8)][_0x535a98(0x213)][_0x535a98(0x23b)](_0x535a98(0x211))[_0x535a98(0x190)](_0x462bc1,this[_0x535a98(0x171)]);}}),_0x8410c8[_0x1fdfb5(0x257)](this[_0x1fdfb5(0x171)],_0x8e5d16);}[_0x594143(0x1f9)](){const _0x182b06=_0x594143,_0x5a44c9=this[_0x182b06(0x1e8)][_0x182b06(0x21e)][_0x182b06(0x166)];this[_0x182b06(0x1e8)][_0x182b06(0x21e)][_0x182b06(0x166)]=(..._0x3b2579)=>{const _0x34e180=_0x182b06;if(!_0x3b2579[_0x3b2579[_0x34e180(0x160)]-0x1][_0x34e180(0x16a)])throw new _0x4aa1fc(_0x34e180(0x19f),this);_0x5a44c9[_0x34e180(0x1da)](this[_0x34e180(0x1e8)][_0x34e180(0x21e)],_0x3b2579);};}[_0x594143(0x22b)](){const _0x1a441d=_0x594143;this[_0x1a441d(0x1e8)][_0x1a441d(0x21e)]['on'](_0x1a441d(0x25a),(_0x1ffd54,[_0x446ac7])=>{const _0x30ec9e=_0x1a441d;if(this[_0x30ec9e(0x224)][_0x30ec9e(0x1db)])throw new _0x4aa1fc(_0x30ec9e(0x250),this);_0x1ffd54[_0x30ec9e(0x187)](),this[_0x30ec9e(0x21d)]();const _0x429a95=this[_0x30ec9e(0x1e8)][_0x30ec9e(0x1ed)][_0x30ec9e(0x23b)](_0x30ec9e(0x164)),_0x21d2eb=this[_0x30ec9e(0x244)](_0x446ac7,_0x429a95);0x0==_0x21d2eb[_0x30ec9e(0x160)]&&_0x21d2eb[_0x30ec9e(0x20c)](new _0x470453(0x0)),_0x1ffd54[_0x30ec9e(0x15d)]=this[_0x30ec9e(0x17f)](_0x21d2eb)[_0x30ec9e(0x1be)](()=>{const _0x2965e1=_0x30ec9e;this[_0x2965e1(0x1e8)][_0x2965e1(0x213)][_0x2965e1(0x23b)](_0x321f45)[_0x2965e1(0x1ae)](this),this[_0x2965e1(0x1e8)][_0x2965e1(0x21e)][_0x2965e1(0x198)](_0x2965e1(0x170));})[_0x30ec9e(0x1f7)](_0x123e18=>this[_0x30ec9e(0x18d)](_0x30ec9e(0x237),_0x123e18))[_0x30ec9e(0x24d)](()=>this[_0x30ec9e(0x17b)]());},{'priority':_0x1a441d(0x18e)}),this[_0x1a441d(0x1e8)]['on'](_0x1a441d(0x1a0),async(_0x5ce2a5,[_0x21e9e5,_0x3afae2])=>{const _0x42d438=_0x1a441d;_0x5ce2a5[_0x42d438(0x187)]();const _0x1ab1f6=this[_0x42d438(0x1e8)][_0x42d438(0x220)][_0x42d438(0x19b)][_0x42d438(0x16b)](_0x21e9e5);if(!this[_0x42d438(0x1d4)][_0x42d438(0x23c)](_0x21e9e5)){const _0x14714c=_0x3afae2&&_0x3afae2[_0x42d438(0x21e)]?_0x3afae2[_0x42d438(0x21e)]:'',_0x449ea4=_0x3afae2&&_0x3afae2[_0x42d438(0x18b)]?_0x3afae2[_0x42d438(0x18b)]:{};await this[_0x42d438(0x197)](_0x21e9e5,_0x14714c,_0x449ea4);}this[_0x42d438(0x1e8)][_0x42d438(0x220)][_0x42d438(0x172)]({'isUndoable':!0x1},()=>{const _0x225cfd=_0x42d438;_0x1ab1f6[_0x225cfd(0x158)]=!0x0,this[_0x225cfd(0x1e8)][_0x225cfd(0x220)][_0x225cfd(0x19b)][_0x225cfd(0x22c)][_0x225cfd(0x1f4)](_0x1ab1f6);});},{'priority':_0x1a441d(0x18e)});}async[_0x594143(0x235)](_0x24dca4){const _0x33be58=_0x594143,_0x48f5fb=this[_0x33be58(0x1e8)][_0x33be58(0x213)][_0x33be58(0x23b)](_0x4448bf),{connection:_0x4ee64d}=this[_0x33be58(0x1e8)][_0x33be58(0x213)][_0x33be58(0x23b)](_0x321f45),_0x210f65=new Set();for(const _0x4f7042 of _0x24dca4){const _0x2e9167=_0x4f7042[_0x33be58(0x174)];_0x2e9167&&!_0x48f5fb[_0x33be58(0x1d9)](_0x2e9167)&&_0x210f65[_0x33be58(0x20b)](_0x2e9167);}if(0x0===_0x210f65[_0x33be58(0x16e)])return;const _0x5daa86=await _0x618b31[_0x33be58(0x236)](_0x4ee64d,Array[_0x33be58(0x23e)](_0x210f65));for(const _0x574775 of _0x5daa86)_0x48f5fb[_0x33be58(0x1d9)](_0x574775['id'])||_0x48f5fb[_0x33be58(0x1fa)](_0x574775);}[_0x594143(0x244)](_0x5c540d,_0x2bed9b={}){const _0x5ac7a2=_0x594143,_0xdd483e=this[_0x5ac7a2(0x1e8)][_0x5ac7a2(0x220)],_0x5e3a31=[];let _0xfeaa4=0x0;const _0x1eec55=_0x5ac7a2(0x196)==typeof _0x5c540d?{'main':_0x5c540d}:_0x5c540d;for(const _0x5f1f7f of Object[_0x5ac7a2(0x1f2)](_0x1eec55)){if(!this[_0x5ac7a2(0x224)][_0x5ac7a2(0x1b7)][_0x5ac7a2(0x23c)](_0x5f1f7f))throw new _0x4aa1fc(_0x5ac7a2(0x223),this);const _0x5ac975=this[_0x5ac7a2(0x1e8)][_0x5ac7a2(0x21e)][_0x5ac7a2(0x192)](_0x1eec55[_0x5f1f7f]),_0x3c3e4d=this[_0x5ac7a2(0x224)][_0x5ac7a2(0x16b)](_0x5f1f7f),_0x163316=new _0xbdb574(_0xdd483e[_0x5ac7a2(0x18f)](_0x3c3e4d,0x0),_0x5ac975,_0xfeaa4++);_0x5e3a31[_0x5ac7a2(0x20c)](_0x163316);for(const [_0x266fc4,_0x429244]of _0x5ac975[_0x5ac7a2(0x22d)]){const _0x51a018=_0xdd483e[_0x5ac7a2(0x24e)](_0xdd483e[_0x5ac7a2(0x1c7)](_0x3c3e4d,_0x429244[_0x5ac7a2(0x1f8)][_0x5ac7a2(0x1ca)][_0x5ac7a2(0x24f)]()),_0xdd483e[_0x5ac7a2(0x1c7)](_0x3c3e4d,_0x429244[_0x5ac7a2(0x1ff)][_0x5ac7a2(0x1ca)][_0x5ac7a2(0x24f)]())),_0x23285d=new _0x51fb07(_0x266fc4,null,_0x51a018,_0xdd483e[_0x5ac7a2(0x22d)],!0x0,_0xfeaa4++);_0x5e3a31[_0x5ac7a2(0x20c)](_0x23285d);}}if(_0x2bed9b)for(const [_0x2c8317,_0x10cc75]of Object[_0x5ac7a2(0x212)](_0x2bed9b)){const _0x3d7189=_0xdd483e[_0x5ac7a2(0x19b)][_0x5ac7a2(0x16b)](_0x2c8317);if(!_0x3d7189)throw new _0x4aa1fc(_0x5ac7a2(0x1ad),null);for(const [_0x579c4e,_0x370d2c]of Object[_0x5ac7a2(0x212)](_0x10cc75))if(null!==_0x370d2c){const _0x488eda=new _0xc2e029(_0x3d7189,_0x579c4e,null,_0x370d2c,_0xfeaa4++);_0x5e3a31[_0x5ac7a2(0x20c)](_0x488eda);}}return _0x5e3a31;}async[_0x594143(0x197)](_0x1c9e42,_0x68197c,_0x4cc04d){const _0x5d784e=_0x594143;this[_0x5d784e(0x244)]({[_0x1c9e42]:_0x68197c},{[_0x1c9e42]:_0x4cc04d})[_0x5d784e(0x1c6)]((_0x7bb83,_0x66aa34)=>{const _0x2a4f12=_0x5d784e;_0x7bb83[_0x2a4f12(0x188)]=this[_0x2a4f12(0x224)][_0x2a4f12(0x1db)]+_0x66aa34,_0x7bb83[_0x2a4f12(0x1fb)]=!0x0,this[_0x2a4f12(0x1c3)](_0x7bb83);}),this[_0x5d784e(0x20d)](),await this[_0x5d784e(0x181)]();}async[_0x594143(0x199)](_0xc9e0f2,_0x4e64b8){const _0x38e370=_0x594143;let _0xf2f8fa;this[_0x38e370(0x1a4)]=_0xc9e0f2[_0x38e370(0x25b)];const _0x15a557=_0xc9e0f2[_0x38e370(0x15b)]&&!_0xc9e0f2[_0x38e370(0x19e)],_0x59f2bf=_0x15a557?0x0:_0xc9e0f2[_0x38e370(0x21e)][_0x38e370(0x188)];if(_0x4e64b8[_0x38e370(0x1c6)](_0x378a56=>{const _0x17bb09=_0x38e370;_0x378a56[_0x17bb09(0x1fb)]=!0x0,_0x378a56[_0x17bb09(0x239)]=_0xc9e0f2[_0x17bb09(0x243)],_0x378a56[_0x17bb09(0x174)]=null;}),_0x15a557)_0xf2f8fa=_0x4e64b8,this[_0x38e370(0x259)](_0xf2f8fa,_0x15a557);else{if(_0xc9e0f2[_0x38e370(0x19e)]){const _0x1c24df=this[_0x38e370(0x244)](_0xc9e0f2[_0x38e370(0x19e)]);this[_0x38e370(0x224)][_0x38e370(0x229)][_0x38e370(0x1db)]=-_0x1c24df[_0x38e370(0x160)],_0x1c24df[_0x38e370(0x1c6)](_0x3a2870=>{const _0x312b11=_0x38e370;_0x3a2870[_0x312b11(0x188)]-=_0x1c24df[_0x312b11(0x160)],_0x3a2870[_0x312b11(0x239)]=_0xc9e0f2[_0x312b11(0x243)],_0x3a2870[_0x312b11(0x1fb)]=!0x0,_0x3a2870[_0x312b11(0x174)]=null;}),this[_0x38e370(0x259)](_0x1c24df,!0x0),this[_0x38e370(0x200)][_0x38e370(0x1db)]=-_0x1c24df[_0x38e370(0x160)]+this[_0x38e370(0x1a4)],this[_0x38e370(0x215)](_0x1c24df);}this[_0x38e370(0x224)][_0x38e370(0x229)][_0x38e370(0x1db)]=_0x59f2bf,_0xf2f8fa=this[_0x38e370(0x1c8)](_0xc9e0f2[_0x38e370(0x21e)],_0xc9e0f2[_0x38e370(0x22e)]),await this[_0x38e370(0x235)](_0xf2f8fa),this[_0x38e370(0x259)](_0xf2f8fa,_0x15a557);}_0xc9e0f2[_0x38e370(0x21f)]&&(this[_0x38e370(0x195)][_0x38e370(0x17e)](_0xf2f8fa,_0xc9e0f2[_0x38e370(0x21f)]),this[_0x38e370(0x253)]=_0xc9e0f2[_0x38e370(0x21f)]),this[_0x38e370(0x200)][_0x38e370(0x1db)]=_0x59f2bf+this[_0x38e370(0x1a4)],this[_0x38e370(0x215)](_0xf2f8fa),_0x4e64b8[_0x38e370(0x1cc)](_0x26a6e8=>{const _0x16e250=_0x38e370,_0x49f9b3=this[_0x16e250(0x240)](_0x26a6e8);return _0x49f9b3&&!this[_0x16e250(0x1d4)][_0x16e250(0x23c)](_0x49f9b3);})[_0x38e370(0x1c6)]((_0x28e15b,_0x335475)=>{const _0x1a3e86=_0x38e370;_0x28e15b[_0x1a3e86(0x188)]=this[_0x1a3e86(0x224)][_0x1a3e86(0x1db)]+_0x335475,this[_0x1a3e86(0x1c3)](_0x28e15b);}),this[_0x38e370(0x1ba)]()?(this[_0x38e370(0x1f1)]=0x0,this[_0x38e370(0x20d)](!0x0),await this[_0x38e370(0x181)]()):(this[_0x38e370(0x209)]=!0x1,this[_0x38e370(0x17b)]());}[_0x594143(0x18d)](_0x21aff5,_0x2148fc){const _0x1a821c=_0x594143,_0x2bf9f2=_0x2148fc&&_0x2148fc[_0x1a821c(0x186)];if(_0x2bf9f2&&_0x2bf9f2[_0x1a821c(0x254)](_0x1a821c(0x16c)))throw _0x2148fc;const _0x1bc775=this[_0x1a821c(0x1e8)][_0x1a821c(0x213)][_0x1a821c(0x23b)](_0x321f45);throw this[_0x1a821c(0x209)]=!0x0,_0x1bc775[_0x1a821c(0x206)](),this[_0x1a821c(0x1e8)][_0x1a821c(0x179)](_0x1a821c(0x1e5)),new _0x4aa1fc(_0x21aff5,this[_0x1a821c(0x1e8)],_0x2bf9f2?{'originalError':_0x2bf9f2}:void 0x0);}[_0x594143(0x1c3)](_0x5460ba){const _0x4a22a0=_0x594143;this[_0x4a22a0(0x162)][_0x4a22a0(0x23c)](_0x5460ba)||(this[_0x4a22a0(0x162)][_0x4a22a0(0x20b)](_0x5460ba),this[_0x4a22a0(0x189)][_0x4a22a0(0x20c)](_0x5460ba),this[_0x4a22a0(0x191)]||_0x4a22a0(0x1d2)==_0x5460ba[_0x4a22a0(0x1fe)]&&!_0x5460ba[_0x4a22a0(0x1ac)]||this[_0x4a22a0(0x21d)]());}[_0x594143(0x20d)](_0x4200d8=!0x1){const _0x2a3072=_0x594143;!_0x4200d8&&this[_0x2a3072(0x209)]||(this[_0x2a3072(0x209)]=!0x0,clearTimeout(this[_0x2a3072(0x219)]),this[_0x2a3072(0x219)]=setTimeout(()=>{const _0x27caf4=_0x2a3072;this[_0x27caf4(0x1cf)]()[_0x27caf4(0x1be)](_0x3507f8=>{const _0x2be942=_0x27caf4;_0x3507f8&&(this[_0x2be942(0x17b)](),this[_0x2be942(0x209)]=!0x1);})[_0x27caf4(0x1f7)](_0x176ddc=>{const _0x1b330c=_0x27caf4;this[_0x1b330c(0x17b)](),this[_0x1b330c(0x209)]=!0x1,function(_0x3e753e){const _0x58acc3=_0x1b330c;return _0x3e753e[_0x58acc3(0x186)][_0x58acc3(0x254)](_0x58acc3(0x21c))||_0x3e753e[_0x58acc3(0x186)][_0x58acc3(0x254)](_0x58acc3(0x226))||_0x3e753e[_0x58acc3(0x186)][_0x58acc3(0x254)](_0x58acc3(0x1b8));}(_0x176ddc)||this[_0x1b330c(0x18d)](_0x176ddc[_0x1b330c(0x186)],_0x176ddc);});},this[_0x2a3072(0x1f1)]));}[_0x594143(0x181)](){return new Promise(_0x511793=>{const _0x3178a6=_0x1fbc;this['on'](_0x3178a6(0x1a5),()=>{_0x511793();});});}async[_0x594143(0x1cf)](){const _0x5e6b6d=_0x594143,_0x572fe7=this[_0x5e6b6d(0x1e8)][_0x5e6b6d(0x213)][_0x5e6b6d(0x23b)](_0x5aebc7);if(this[_0x5e6b6d(0x218)]()&&(_0x572fe7[_0x5e6b6d(0x22f)](),this[_0x5e6b6d(0x221)]=!0x1),!this[_0x5e6b6d(0x1ba)]())return!0x0;const _0xb4720b=[...this[_0x5e6b6d(0x189)]];for(const _0xf14ccf of _0xb4720b)_0xf14ccf[_0x5e6b6d(0x19c)]=this[_0x5e6b6d(0x224)][_0x5e6b6d(0x229)][_0x5e6b6d(0x1ab)](_0xf14ccf);const _0x1a7d98=this[_0x5e6b6d(0x195)][_0x5e6b6d(0x256)](_0xb4720b),_0x16edf=Q++,_0x222719=this[_0x5e6b6d(0x163)](_0xb4720b),_0x4ff2ba=await this[_0x5e6b6d(0x204)][_0x5e6b6d(0x21b)](_0x222719,_0x222719[_0x5e6b6d(0x188)],_0x1a7d98);try{return await this[_0x5e6b6d(0x22a)](_0xb4720b,_0x4ff2ba,_0x16edf);}catch(_0x525dc3){return this[_0x5e6b6d(0x18d)](_0x5e6b6d(0x1bd),_0x525dc3);}}async[_0x594143(0x22a)](_0xe32b96,_0x18074b,_0xea0a35){const _0x4a3620=_0x594143;if(_0x4a3620(0x25d)in _0x18074b)throw _0x18074b[_0x4a3620(0x25d)];let _0x5c5012=!0x1;if(_0x18074b[_0x4a3620(0x15b)]){_0x18074b[_0x4a3620(0x21f)]&&(this[_0x4a3620(0x253)]=_0x18074b[_0x4a3620(0x21f)]),this[_0x4a3620(0x189)]=this[_0x4a3620(0x189)][_0x4a3620(0x1cc)](_0xf5c0ba=>!_0xe32b96[_0x4a3620(0x17a)](_0xf5c0ba));for(const _0x543ee7 of _0xe32b96)_0x543ee7[_0x4a3620(0x239)]=_0x4a3620(0x202)in _0x18074b&&_0x18074b[_0x4a3620(0x202)]||void 0x0;X(_0xe32b96,_0x18074b[_0x4a3620(0x1db)]-_0xe32b96[_0x4a3620(0x160)]),this[_0x4a3620(0x215)](_0xe32b96);const _0xfd9c10=_0xe32b96[_0x4a3620(0x1cc)](_0x44b35e=>{const _0x3fa57c=_0x4a3620;if(!_0x44b35e[_0x3fa57c(0x1fb)])return!0x1;const _0x490782=this[_0x3fa57c(0x240)](_0x44b35e);return _0x490782&&!this[_0x3fa57c(0x1d4)][_0x3fa57c(0x23c)](_0x490782);});X(_0xfd9c10,this[_0x4a3620(0x224)][_0x4a3620(0x1db)]),this[_0x4a3620(0x259)](_0xfd9c10),_0x5c5012=!0x0,this[_0x4a3620(0x1f1)]=this[_0x4a3620(0x194)];}else{const _0x486d8c=this[_0x4a3620(0x1c8)](_0x18074b[_0x4a3620(0x21e)],_0x18074b[_0x4a3620(0x22e)])[_0x4a3620(0x1cc)](_0x993891=>_0x993891[_0x4a3620(0x188)]>=this[_0x4a3620(0x1a7)]);_0x486d8c[_0x4a3620(0x1c6)](_0x457769=>this[_0x4a3620(0x238)](_0x457769)),this[_0x4a3620(0x189)]=this[_0x4a3620(0x189)][_0x4a3620(0x1cc)](_0x182883=>!_0x182883[_0x4a3620(0x1fb)]||!this[_0x4a3620(0x1d4)][_0x4a3620(0x23c)](this[_0x4a3620(0x240)](_0x182883))),this[_0x4a3620(0x189)][_0x4a3620(0x160)]&&X(this[_0x4a3620(0x189)],this[_0x4a3620(0x189)][0x0][_0x4a3620(0x188)]),await this[_0x4a3620(0x235)](_0x486d8c),_0x5c5012=this[_0x4a3620(0x201)](_0x486d8c,_0x18074b[_0x4a3620(0x1db)],_0x18074b[_0x4a3620(0x21f)]),this[_0x4a3620(0x1f1)]=Math[_0x4a3620(0x16f)](this[_0x4a3620(0x1f1)]/0x2);}return _0x5c5012?!this[_0x4a3620(0x1ba)]()||(this[_0x4a3620(0x20d)](!0x0),!0x1):this[_0x4a3620(0x18d)](_0x4a3620(0x1bc));}[_0x594143(0x201)](_0x4912ed,_0x4e2e7a,_0x4be1c4){const _0x247761=_0x594143;try{const _0x57c87b={'document':this[_0x247761(0x224)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3675a1,operationsB:_0x1aa382,originalOperations:_0x2f019b}=_0x3f9b98(_0x4912ed,this[_0x247761(0x189)],_0x57c87b);X(_0x3675a1,this[_0x247761(0x224)][_0x247761(0x1db)]),X(_0x1aa382,_0x4e2e7a);for(const _0x3d04da of _0x3675a1){const _0x36f144=_0x2f019b[_0x247761(0x23b)](_0x3d04da);_0x3d04da[_0x247761(0x174)]=_0x36f144?_0x36f144[_0x247761(0x174)]:null;}_0x4be1c4&&(this[_0x247761(0x195)][_0x247761(0x17e)](_0x4912ed,_0x4be1c4),this[_0x247761(0x253)]=_0x4be1c4),this[_0x247761(0x189)]=[..._0x1aa382],this[_0x247761(0x259)](_0x3675a1),this[_0x247761(0x215)](_0x4912ed);}catch(_0x13f6fc){return console[_0x247761(0x25d)](_0x13f6fc),!0x1;}return!0x0;}[_0x594143(0x259)](_0x314e5b,_0x46b063=!0x1){const _0x2b76c9=_0x594143;this[_0x2b76c9(0x1e8)][_0x2b76c9(0x220)][_0x2b76c9(0x172)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5ca6d5=>{const _0x5da2ec=_0x2b76c9;for(const _0x79856f of _0x314e5b)this[_0x5da2ec(0x162)][_0x5da2ec(0x20b)](_0x79856f),this[_0x5da2ec(0x238)](_0x79856f),_0x5ca6d5[_0x5da2ec(0x1a9)][_0x5da2ec(0x20e)](_0x79856f),this[_0x5da2ec(0x1e8)][_0x5da2ec(0x220)][_0x5da2ec(0x1d0)](_0x79856f);});}[_0x594143(0x238)](_0xce9ed7){const _0x46e165=_0x594143,_0x570522=this[_0x46e165(0x240)](_0xce9ed7);_0x570522&&this[_0x46e165(0x1d4)][_0x46e165(0x20b)](_0x570522);}[_0x594143(0x240)](_0x76c28b){const _0x59538c=_0x594143;let _0x2cd09a,_0x375e92;switch(_0x76c28b[_0x59538c(0x1fe)]){case _0x59538c(0x242):_0x2cd09a=_0x76c28b[_0x59538c(0x1fd)][_0x59538c(0x246)];break;case _0x59538c(0x1d2):if(_0x375e92=_0x76c28b[_0x59538c(0x234)],!_0x375e92)return null;_0x2cd09a=_0x375e92[_0x59538c(0x246)];break;case _0x59538c(0x1e0):_0x2cd09a=_0x76c28b[_0x59538c(0x246)];break;case _0x59538c(0x161):_0x2cd09a=_0x76c28b[_0x59538c(0x17c)];break;case _0x59538c(0x216):_0x2cd09a=_0x76c28b[_0x59538c(0x1d3)][_0x59538c(0x246)];break;default:return null;}return _0x2cd09a[_0x59538c(0x1b2)];}[_0x594143(0x215)](_0x1106d7){const _0xa54ac2=_0x594143;_0x1106d7[_0xa54ac2(0x1c6)](_0x3d57b2=>{const _0x588558=_0xa54ac2,_0x1ddf8d=_0x3d57b2[_0x588558(0x205)]();_0x1ddf8d[_0x588558(0x174)]=_0x3d57b2[_0x588558(0x174)],_0x1ddf8d[_0x588558(0x1fb)]=!!_0x3d57b2[_0x588558(0x1fb)],_0x1ddf8d[_0x588558(0x239)]=_0x3d57b2[_0x588558(0x239)],_0x1ddf8d[_0x588558(0x188)]+=this[_0x588558(0x1a4)],_0x3d57b2[_0x588558(0x1a3)]&&this[_0x588558(0x255)][_0x588558(0x20b)](_0x1ddf8d),this[_0x588558(0x200)][_0x588558(0x20e)](_0x1ddf8d);});}[_0x594143(0x23a)](_0x162aa4){const _0x5e18f5=_0x594143,_0x423b88=this[_0x5e18f5(0x1e8)][_0x5e18f5(0x213)][_0x5e18f5(0x23b)](_0x5e18f5(0x241)),_0x9850ba=this[_0x5e18f5(0x1e8)][_0x5e18f5(0x1ef)];_0x162aa4||(_0x162aa4=_0x5d7e9e(_0x9850ba,_0x5e18f5(0x1a2))),_0x423b88[_0x5e18f5(0x175)](_0x162aa4,{'title':_0x5d7e9e(_0x9850ba,_0x5e18f5(0x207)),'namespace':_0x5e18f5(0x1df)}),this[_0x5e18f5(0x1c5)]=!0x0,clearTimeout(this[_0x5e18f5(0x219)]),this[_0x5e18f5(0x189)]=[],this[_0x5e18f5(0x1e8)][_0x5e18f5(0x213)][_0x5e18f5(0x23b)](_0x321f45)[_0x5e18f5(0x206)]();}[_0x594143(0x21d)](){const _0x41e965=_0x594143;this[_0x41e965(0x191)]||(this[_0x41e965(0x191)]=this[_0x41e965(0x1e8)][_0x41e965(0x213)][_0x41e965(0x23b)](_0xbb91af)[_0x41e965(0x20b)](_0x5d7e9e(this[_0x41e965(0x1e8)][_0x41e965(0x1ef)],_0x41e965(0x1a6))));}[_0x594143(0x17b)](){const _0x4b60d9=_0x594143;this[_0x4b60d9(0x191)]&&(this[_0x4b60d9(0x1e8)][_0x4b60d9(0x213)][_0x4b60d9(0x23b)](_0xbb91af)[_0x4b60d9(0x1cd)](this[_0x4b60d9(0x191)]),this[_0x4b60d9(0x191)]=null);}[_0x594143(0x163)](_0x34258f){const _0x296c03=_0x594143,_0x2be06e=_0x34258f[_0x296c03(0x1c0)](_0x5afe29=>_0x5afe29[_0x296c03(0x173)]());return this[_0x296c03(0x168)][_0x296c03(0x19d)](_0x2be06e);}[_0x594143(0x1c8)](_0x510706,_0x4dfdf9){const _0x1d2492=_0x594143;return this[_0x1d2492(0x168)][_0x1d2492(0x1e2)](_0x510706)[_0x1d2492(0x1c0)]((_0x547ff0,_0x177853)=>{const _0x57209c=_0x1d2492,_0x4e254d=_0x57209c(0x25a)==_0x4dfdf9[_0x177853][_0x57209c(0x1fe)];if(_0x57209c(0x16d)==_0x547ff0[_0x57209c(0x1ec)]){const _0x1511ff=_0x547ff0[_0x57209c(0x1fd)][_0x57209c(0x246)];!this[_0x57209c(0x224)][_0x57209c(0x16b)](_0x1511ff)&&(this[_0x57209c(0x224)][_0x57209c(0x1a8)](_0x57209c(0x1e3),_0x1511ff)[_0x57209c(0x15e)]=!0x1);}const _0x111bcc=_0x57d5c7[_0x57209c(0x1c9)](_0x547ff0,this[_0x57209c(0x224)]);return _0x111bcc[_0x57209c(0x19c)]=_0x547ff0[_0x57209c(0x19c)],_0x111bcc[_0x57209c(0x1fb)]=_0x4e254d,_0x111bcc[_0x57209c(0x174)]=_0x4e254d?null:_0x4dfdf9[_0x177853][_0x57209c(0x23f)],_0x111bcc[_0x57209c(0x1a3)]=_0x57209c(0x1b5)===_0x4dfdf9[_0x177853][_0x57209c(0x1fe)],_0x111bcc[_0x57209c(0x239)]=_0x4dfdf9[_0x177853][_0x57209c(0x239)],_0x111bcc;});}[_0x594143(0x1f5)](){const _0x5805cf=_0x594143;this[_0x5805cf(0x221)]=!0x0,this[_0x5805cf(0x218)]()?this[_0x5805cf(0x20d)]():this[_0x5805cf(0x221)]=!0x1;}[_0x594143(0x218)](){const _0x2894bb=_0x594143,_0x295156=this[_0x2894bb(0x1e8)][_0x2894bb(0x213)][_0x2894bb(0x23b)](_0x2545ad)[_0x2894bb(0x1ea)][_0x2894bb(0x23b)](this[_0x2894bb(0x171)]);return!this[_0x2894bb(0x1e8)][_0x2894bb(0x1e6)]&&!!_0x295156&&_0x295156[_0x2894bb(0x160)]>0x1&&this[_0x2894bb(0x221)];}[_0x594143(0x1ba)](){const _0x254eaa=_0x594143;return this[_0x254eaa(0x189)][_0x254eaa(0x160)]>0x0||this[_0x254eaa(0x218)]();}}class ReconnectionError extends Error{}function X(_0xcea300,_0x46b879){const _0x335eb1=_0x594143;for(const _0x5d7e65 of _0xcea300)_0x5d7e65[_0x335eb1(0x188)]=_0x46b879++;}class OperationIdentifier{[_0x594143(0x1a1)];[_0x594143(0x1b0)];constructor(_0x3b2644){const _0x1fb304=_0x594143;this[_0x1fb304(0x1a1)]=_0x3b2644,this[_0x1fb304(0x1b0)]=new WeakMap();}[_0x594143(0x256)](_0x304b9d){const _0x2a4320=_0x594143;let _0x143ba8=_0x304b9d[_0x2a4320(0x160)];for(;_0x143ba8--;){const _0x581891=_0x304b9d[_0x143ba8];if(!this[_0x2a4320(0x1a1)][_0x2a4320(0x23c)](_0x581891)){if(!this[_0x2a4320(0x1b0)][_0x2a4320(0x23c)](_0x581891)){const _0x17e9d9=_0x4367d1()[_0x2a4320(0x24f)](0x1,0x12);this[_0x2a4320(0x1b0)][_0x2a4320(0x166)](_0x581891,_0x17e9d9);}return this[_0x2a4320(0x1b0)][_0x2a4320(0x23b)](_0x581891);}}}[_0x594143(0x17e)](_0x2699eb,_0x21f643){const _0x3bfd32=_0x594143;if(!_0x21f643)return;let _0x42698f=_0x2699eb[_0x3bfd32(0x160)];for(;_0x42698f--;){const _0x50e8d8=_0x2699eb[_0x42698f];this[_0x3bfd32(0x1a1)][_0x3bfd32(0x23c)](_0x50e8d8)||this[_0x3bfd32(0x1b0)][_0x3bfd32(0x166)](_0x50e8d8,_0x21f643);}}}
23
+ const _0x25a446=_0x3ff8;(function(_0x2f8739,_0x124994){const _0x3e52c0=_0x3ff8,_0x10d0e1=_0x2f8739();while(!![]){try{const _0x425350=parseInt(_0x3e52c0(0x258))/0x1+-parseInt(_0x3e52c0(0x2ab))/0x2+-parseInt(_0x3e52c0(0x213))/0x3*(parseInt(_0x3e52c0(0x1ce))/0x4)+-parseInt(_0x3e52c0(0x282))/0x5*(parseInt(_0x3e52c0(0x1bd))/0x6)+-parseInt(_0x3e52c0(0x1e0))/0x7*(parseInt(_0x3e52c0(0x1ed))/0x8)+parseInt(_0x3e52c0(0x265))/0x9*(-parseInt(_0x3e52c0(0x27c))/0xa)+parseInt(_0x3e52c0(0x251))/0xb*(parseInt(_0x3e52c0(0x212))/0xc);if(_0x425350===_0x124994)break;else _0x10d0e1['push'](_0x10d0e1['shift']());}catch(_0x4d41b4){_0x10d0e1['push'](_0x10d0e1['shift']());}}}(_0x5ca6,0xe2aeb));import{Plugin as _0x432f4b,PendingActions as _0x2cf343}from'ckeditor5/src/core.js';import{CKEditorError as _0x724397,version as _0x961a72,uid as _0x1e5221}from'ckeditor5/src/utils.js';import{Notification as _0x4a0413}from'ckeditor5/src/ui.js';function _0x5ca6(){const _0x363435=['_waitUntilSynced','clone','_updateServerHistory','has','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-init-connection-failed','register','init','isDocumentOperation','off','realtimecollaborationclient-handleserverresponse','from','_isConnected','realtimecollaborationclient','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','startsWith','883410MuyQdX','_sendBufferedOperations','rtc-destroyed','sessionAdd:','realtimecollaborationclient-error','_handleSendingSelectionMarkers','2918380aabMmu','_compressOperations','add','_setPendingAction','createRange','sendOperations','view','change:_isEditingAllowed','ready','_initSessionsHandling','isUndoneOperation','showWarning','cloud-services-internal-error:\x20Not\x20connected.','setIdForTheLastOperation','affectedSelectable','string','code','_isPendingUpdate','differ','CollaborativeEditingService','realtimecollaborationclient-sendbufferedoperations','addRootAttribute','_isLoaded','message','_isInit','_fetchMissingUsers','locale','_initThrowingOnDataSet','addRoot','_hasSelectionChanged','collaboration','getConnectedSessions','listenTo','markers','high','stopListening','decompress','_baseBufferDelay','compress','data','_ignoredOperations','1790350rIoDGK','realtimecollaborationclient-init-document-already-initialized','createPositionAt','lastOperationAcceptedAt','loadRoot','addOperation','_shouldSendUpdate','state','_shouldSendSelectionUpdate','disconnect','_lastServerVersion','toJSON','isEnabled','getMany','addToReconnectionStack','getRoot','_getAffectedRoot','return','currentDocumentSession','rootsAttributes','remove','_authorId','connection','filter','_getOperationsFromInitData','document','6qAaqlP','forEach','real-time-collaboration','initData','bind','_clearPendingAction','_isEditingAllowed','_handleInitialConnectionData','_bufferRootLoad','wereChangesApplied','_addKnownRoot','_handleReceivedOperations','offset','position','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_handleReconnectionError','_handleExternalOperations','371836AivOIJ','map','Synchronization\x20issue','end','metadata','move','_disconnectService','_sendBufferedOperationsDelayId','stop','config','createRoot','getOperations','isReadOnly','attributes','operationsReceived','realtimecollaborationclient-init-service-internal-error','createUserMarkerOperations','get','21kUlaGT','model','getUser','disconnected','connect','round','setPermissions','cloudDocumentVersion','getOperationAuthor','set','enableReadOnlyMode','_applyOperationsSet','apply','236928GvGTLX','cs:removeUser','lastSyncVersion','_refreshUserSelectionMarkers','createPositionFromPath','_isDisconnection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_hasSynchronizationProblem','_service','_knownRootNames','unregister','slice','destroy','requires','409','isPremiumPlugin','error','wasUndone','getDocumentDetails','channelSessions','entries','isOfficialPlugin','_currentBufferDelay','history','_saveOperationInBuffer','sessionId','_crash','pluginName','targetPosition','then','rootName','Permissions','sessionCreatedAt','_operationIdentifier','_compressor','createdAt','plugins','34987968ZyLstP','15cuGuxq','change:range','length','realtimecollaborationclient-init-service-incorrect-server-operation','_document','serverHistory','_pendingAction','_connectAfterSessionHasBeenFlushed','size','multi-root-editor-root-attributes-no-root','reconnection:\x20flushed\x20session','getIdOfTheLastOperation','selection','reconnect','marker','addUser','removeFromReconnectionStack','_disconnectionOperations','_loadRoot','root','realtimecollaborationclient-init-session-connection-error','enqueueChange','userId','_knownOperations','change:hasDomSelection','affectsData','start','push','applyOperation','change:_isPendingUpdate','reset','collaboration-missing-channelid','_decompressOperations','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.','permissions','mySessionId','Notification','batch','_sendBufferedOperationsDelayed','version','$root','realtimecollaborationclient-init-non-existent-root','_operationToId','directChange','fire','document:write','finally','newRange','parse','rtc-offline','_isAttached','fromJSON','editing','catch','404','lastOperationId','_setUpDataInit','_bufferedOperations','editor','_channelId','CommentsOnly','define','11XFPOvV','disableReadOnlyMode','keys','collaboration.channelId','cloudServices.bundleVersion','insert','_handleReconnectionResponse','1282095RDCLmH','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','baseVersion','_offset','InsertOperation','RealTimeCollaborationClient','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.','__className','type','_handleServerResponse','_connectService','_lastSyncedOperationId','includes','126LOJlnQ','cloud-services-internal-error:\x20Request\x20timeout.','suppressErrorInCollaboration','roots','path','connected','lastDocumentSession'];_0x5ca6=function(){return _0x363435;};return _0x5ca6();}import{transformOperationSets as _0x1e6334,NoOperation as _0x38063a,InsertOperation as _0x29bec1,MarkerOperation as _0x1fdd36,RootAttributeOperation as _0x2ac109,OperationFactory as _0x53c560,History as _0x3f73ee}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x2028a9}from'./websocketgateway.js';import{Sessions as _0x2d3865}from'./sessions.js';import{UserMarkers as _0x1050e8}from'./usermarkers.js';import{getTranslation as _0x1a0091}from'../common-translations.js';import{Compressor as _0x4274d1}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5d4f70}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5dd798,CollaborativeEditingService as _0x287268}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let j=0x1;function _0x3ff8(_0x43cc93,_0x180ab5){const _0x5ca6ac=_0x5ca6();return _0x3ff8=function(_0x3ff814,_0x50bba0){_0x3ff814=_0x3ff814-0x1b0;let _0x268a55=_0x5ca6ac[_0x3ff814];return _0x268a55;},_0x3ff8(_0x43cc93,_0x180ab5);}export class RealTimeCollaborationClient extends _0x432f4b{static [_0x25a446(0x295)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x287268)());[_0x25a446(0x25b)];[_0x25a446(0x206)];[_0x25a446(0x218)];[_0x25a446(0x24e)];[_0x25a446(0x1f5)];[_0x25a446(0x217)];[_0x25a446(0x20f)];[_0x25a446(0x24c)];[_0x25a446(0x22a)];[_0x25a446(0x1f6)];[_0x25a446(0x219)];[_0x25a446(0x29f)];[_0x25a446(0x1d5)];[_0x25a446(0x2a7)];[_0x25a446(0x203)];[_0x25a446(0x263)];[_0x25a446(0x224)];[_0x25a446(0x20e)];static get[_0x25a446(0x1fa)](){return[_0x2028a9,_0x2d3865,_0x1050e8,_0x2cf343,_0x5d4f70,_0x4a0413];}static get[_0x25a446(0x208)](){const _0x13ff3a=_0x25a446;return _0x13ff3a(0x25d);}static get[_0x25a446(0x202)](){return!0x0;}static get[_0x25a446(0x1fc)](){return!0x0;}get[_0x25a446(0x1e7)](){const _0x215a44=_0x25a446;return this[_0x215a44(0x2b5)]+this[_0x215a44(0x25b)];}get[_0x25a446(0x2b5)](){const _0x3667c9=_0x25a446;return this[_0x3667c9(0x218)][_0x3667c9(0x23a)]-this[_0x3667c9(0x25b)];}get[_0x25a446(0x1ef)](){const _0x52d660=_0x25a446,_0x439da3=this[_0x52d660(0x218)][_0x52d660(0x1d9)]();for(let _0x1d102e=_0x439da3[_0x52d660(0x215)]-0x1;_0x1d102e>=0x0;_0x1d102e--){const _0x59c9f4=_0x439da3[_0x1d102e];if(!this[_0x52d660(0x224)][_0x52d660(0x26f)](_0x59c9f4))return _0x59c9f4[_0x52d660(0x25a)]+0x1-this[_0x52d660(0x25b)];}return 0x0;}constructor(_0x3117ee){const _0x2762a0=_0x25a446;if(super(_0x3117ee),this[_0x2762a0(0x25b)]=0x0,this[_0x2762a0(0x206)]=null,this[_0x2762a0(0x218)]=new _0x3f73ee(),this[_0x2762a0(0x24d)][_0x2762a0(0x1d7)][_0x2762a0(0x250)](_0x2762a0(0x2a0),{}),this[_0x2762a0(0x24e)]=this[_0x2762a0(0x24d)][_0x2762a0(0x1d7)][_0x2762a0(0x1df)](_0x2762a0(0x254)),!this[_0x2762a0(0x24e)])throw new _0x724397(_0x2762a0(0x232),this);const _0x1bb5b4=_0x3117ee[_0x2762a0(0x1d7)][_0x2762a0(0x1df)](_0x2762a0(0x255))||_0x961a72;this[_0x2762a0(0x1f5)]=new RealTimeCollaborationClient[(_0x2762a0(0x295))](_0x1bb5b4,this[_0x2762a0(0x24e)]),this[_0x2762a0(0x217)]=this[_0x2762a0(0x24d)][_0x2762a0(0x1e1)][_0x2762a0(0x1bc)],this[_0x2762a0(0x20f)]=new _0x4274d1(),this[_0x2762a0(0x24c)]=[],this[_0x2762a0(0x22a)]=new WeakSet(),this[_0x2762a0(0x1f6)]=new Set(),this[_0x2762a0(0x1e9)](_0x2762a0(0x293),!0x1),this[_0x2762a0(0x1e9)](_0x2762a0(0x1f4),!0x1),this[_0x2762a0(0x219)]=null,this[_0x2762a0(0x29f)]=!0x1,this[_0x2762a0(0x1d5)]=null,this[_0x2762a0(0x2a7)]=0x12c,this[_0x2762a0(0x203)]=this[_0x2762a0(0x2a7)],this[_0x2762a0(0x263)]=null,this[_0x2762a0(0x224)]=new WeakSet(),this[_0x2762a0(0x20e)]=new OperationIdentifier(this[_0x2762a0(0x224)]);}[_0x25a446(0x273)](){const _0x4dd753=_0x25a446,_0x1b6860=this[_0x4dd753(0x24d)],_0x1c03e3=_0x1b6860[_0x4dd753(0x211)][_0x4dd753(0x1df)](_0x5d4f70),_0x391c3c=_0x1b6860[_0x4dd753(0x211)][_0x4dd753(0x1df)](_0x2028a9);this[_0x4dd753(0x2a2)](_0x1c03e3,_0x4dd753(0x1e8),(_0x28a2e5,_0x97ae8d)=>{const _0x2171d1=_0x4dd753,_0xd99a0d=_0x97ae8d[0x0];_0xd99a0d[_0x2171d1(0x1b8)]&&(_0x28a2e5[_0x2171d1(0x1b4)]=_0x1c03e3[_0x2171d1(0x1e2)](_0xd99a0d[_0x2171d1(0x1b8)]),_0x28a2e5[_0x2171d1(0x1d6)]()),null===_0xd99a0d[_0x2171d1(0x1b8)]&&(_0x28a2e5[_0x2171d1(0x1b4)]=null,_0x28a2e5[_0x2171d1(0x1d6)]());},{'priority':_0x4dd753(0x2a4)}),this[_0x4dd753(0x2a2)](_0x1b6860[_0x4dd753(0x1e1)][_0x4dd753(0x1bc)][_0x4dd753(0x21f)],_0x4dd753(0x214),(_0x25700f,_0x350909)=>{const _0x17fa5c=_0x4dd753;_0x350909[_0x17fa5c(0x23e)]&&this[_0x17fa5c(0x1f0)]();}),this[_0x4dd753(0x2a2)](_0x1b6860[_0x4dd753(0x247)][_0x4dd753(0x288)],_0x4dd753(0x22b),()=>{const _0x1c9fee=_0x4dd753;this[_0x1c9fee(0x1f0)]();}),this[_0x4dd753(0x29d)](),_0x1b6860[_0x4dd753(0x1e1)]['on'](_0x4dd753(0x22f),(_0x198cc3,_0x52dadc)=>{const _0x4a6a0b=_0x4dd753,_0x39ccb4=_0x52dadc[0x0];_0x39ccb4[_0x4a6a0b(0x274)]&&(this[_0x4a6a0b(0x205)](_0x39ccb4),this[_0x4a6a0b(0x2b1)]()&&this[_0x4a6a0b(0x239)]());}),this[_0x4dd753(0x24b)](),this[_0x4dd753(0x1c1)](_0x4dd753(0x1c3))['to'](_0x391c3c,_0x4dd753(0x2b2),this,_0x4dd753(0x1f4),(_0x1bc367,_0xfc79c6)=>_0x4dd753(0x26a)===_0x1bc367&&!_0xfc79c6),this['on'](_0x4dd753(0x289),()=>{const _0x32edcc=_0x4dd753;this[_0x32edcc(0x1c3)]?_0x1b6860[_0x32edcc(0x252)](_0x32edcc(0x244)):_0x1b6860[_0x32edcc(0x1ea)](_0x32edcc(0x244));}),this[_0x4dd753(0x1c3)]?_0x1b6860[_0x4dd753(0x252)](_0x4dd753(0x244)):_0x1b6860[_0x4dd753(0x1ea)](_0x4dd753(0x244)),this[_0x4dd753(0x1e9)](_0x4dd753(0x278),!0x1);}async[_0x25a446(0x220)](){const _0x2ca017=_0x25a446,_0x32601a=this[_0x2ca017(0x24d)][_0x2ca017(0x211)][_0x2ca017(0x1df)](_0x2d3865),_0x51d9c0=this[_0x2ca017(0x24d)][_0x2ca017(0x211)][_0x2ca017(0x1df)](_0x2028a9);try{this[_0x2ca017(0x293)]=!0x0,_0x32601a[_0x2ca017(0x1f7)](this[_0x2ca017(0x24e)]);const _0x57f8bd=await this[_0x2ca017(0x1f5)][_0x2ca017(0x220)](_0x51d9c0[_0x2ca017(0x1b9)],this[_0x2ca017(0x1ef)]);await this[_0x2ca017(0x257)](_0x57f8bd)&&(this[_0x2ca017(0x293)]=!0x1,this[_0x2ca017(0x1c2)]());const _0x1436f9=await this[_0x2ca017(0x1f5)][_0x2ca017(0x2a1)]();_0x32601a[_0x2ca017(0x272)](this[_0x2ca017(0x24e)],_0x1436f9),this[_0x2ca017(0x281)](),this[_0x2ca017(0x278)]=!0x0;}catch(_0x58bc24){if(function(_0x4b01ef){const _0x4b87a7=_0x2ca017;return _0x4b87a7(0x249)===_0x4b01ef[_0x4b87a7(0x292)];}(_0x58bc24)&&this[_0x2ca017(0x206)])await this[_0x2ca017(0x21a)]();else{if(function(_0x1311cb){const _0x5c2527=_0x2ca017;return _0x5c2527(0x1fb)===_0x1311cb[_0x5c2527(0x292)];}(_0x58bc24)){const _0x45b568=_0x1a0091(this[_0x2ca017(0x24d)][_0x2ca017(0x29c)],_0x2ca017(0x27a));this[_0x2ca017(0x1cc)](_0x45b568);}else{if(!(_0x58bc24 instanceof ReconnectionError))throw _0x58bc24;this[_0x2ca017(0x1cc)]();}}}}[_0x25a446(0x1f9)](){const _0x2aac4a=_0x25a446,_0x4d119e=this[_0x2aac4a(0x24d)][_0x2aac4a(0x211)][_0x2aac4a(0x1df)](_0x2028a9),_0x3fb3d1=this[_0x2aac4a(0x24d)][_0x2aac4a(0x211)][_0x2aac4a(0x1df)](_0x2d3865);this[_0x2aac4a(0x24d)][_0x2aac4a(0x1ea)](_0x2aac4a(0x27e)),_0x3fb3d1[_0x2aac4a(0x200)][_0x2aac4a(0x26f)](this[_0x2aac4a(0x24e)])&&_0x3fb3d1[_0x2aac4a(0x1f7)](this[_0x2aac4a(0x24e)]),_0x4d119e[_0x2aac4a(0x223)](this),this[_0x2aac4a(0x1d4)](),super[_0x2aac4a(0x1f9)]();}async[_0x25a446(0x257)](_0x46a75a){const _0x3bda6d=_0x25a446;if(this[_0x3bda6d(0x206)]!==_0x46a75a[_0x3bda6d(0x206)]&&this[_0x3bda6d(0x263)]!==_0x46a75a[_0x3bda6d(0x24a)])throw new ReconnectionError();return this[_0x3bda6d(0x206)]=_0x46a75a[_0x3bda6d(0x206)],this[_0x3bda6d(0x261)]([],{..._0x46a75a,'wereChangesApplied':!0x1,'data':_0x46a75a[_0x3bda6d(0x2a9)]},_0x3bda6d(0x220));}async[_0x25a446(0x262)](_0x39f96d,_0x5e194b=!0x1){const _0x3753d3=_0x25a446,{connection:_0x1e6416}=this[_0x3753d3(0x24d)][_0x3753d3(0x211)][_0x3753d3(0x1df)](_0x2028a9);RealTimeCollaborationClient[_0x3753d3(0x295)][_0x3753d3(0x2a1)](_0x1e6416,this[_0x3753d3(0x24e)])[_0x3753d3(0x20a)](_0x2e4683=>this[_0x3753d3(0x28b)](_0x2e4683))[_0x3753d3(0x248)](_0x4815a6=>{const _0x78e9b4=_0x3753d3;this[_0x78e9b4(0x207)](_0x78e9b4(0x227),_0x4815a6);}),this[_0x3753d3(0x2a2)](this[_0x3753d3(0x1f5)],_0x3753d3(0x1dc),this[_0x3753d3(0x1c8)][_0x3753d3(0x1c1)](this)),this[_0x3753d3(0x2a2)](this[_0x3753d3(0x1f5)],_0x3753d3(0x1fd),(_0x18ccc7,_0x4123b1)=>{const _0x151134=_0x3753d3;this[_0x151134(0x207)](_0x151134(0x1dd),_0x4123b1);}),this[_0x3753d3(0x2a2)](this[_0x3753d3(0x1f5)],_0x3753d3(0x1e3),()=>{const _0x30f7e4=_0x3753d3;this[_0x30f7e4(0x278)]=!0x1;});const _0x26bf95=this[_0x3753d3(0x20e)][_0x3753d3(0x21e)](_0x39f96d);this[_0x3753d3(0x293)]=!0x0;const _0x965e4c=await this[_0x3753d3(0x1f5)][_0x3753d3(0x1e4)](_0x1e6416,this[_0x3753d3(0x283)](_0x39f96d),_0x26bf95);if(this[_0x3753d3(0x206)]=_0x965e4c[_0x3753d3(0x206)],_0x5e194b){if(!_0x965e4c[_0x3753d3(0x1c6)])return void this[_0x3753d3(0x1cc)]();this[_0x3753d3(0x293)]=!0x1,this[_0x3753d3(0x1c2)](),this[_0x3753d3(0x218)][_0x3753d3(0x231)](),this[_0x3753d3(0x25b)]=_0x965e4c[_0x3753d3(0x1c9)],this[_0x3753d3(0x218)][_0x3753d3(0x23a)]=this[_0x3753d3(0x25b)],await this[_0x3753d3(0x261)](_0x39f96d,_0x965e4c,_0x3753d3(0x21d));}else await this[_0x3753d3(0x1c4)](_0x965e4c,_0x39f96d);this[_0x3753d3(0x281)](),this[_0x3753d3(0x278)]=!0x0;}[_0x25a446(0x281)](){const _0x4369d8=_0x25a446,_0x49d936=this[_0x4369d8(0x24d)][_0x4369d8(0x211)][_0x4369d8(0x1df)](_0x2d3865),_0x4cc711=this[_0x4369d8(0x24d)][_0x4369d8(0x211)][_0x4369d8(0x1df)](_0x1050e8),_0x501c65=_0x49d936[_0x4369d8(0x200)][_0x4369d8(0x1df)](this[_0x4369d8(0x24e)]);_0x501c65&&_0x501c65[_0x4369d8(0x215)]>0x1?_0x4cc711[_0x4369d8(0x1de)]():this[_0x4369d8(0x2a2)](_0x49d936,_0x4369d8(0x27f)+this[_0x4369d8(0x24e)],()=>{const _0x4e6b95=_0x4369d8;0x2===_0x49d936[_0x4e6b95(0x200)][_0x4e6b95(0x1df)](this[_0x4e6b95(0x24e)])[_0x4e6b95(0x215)]&&_0x4cc711[_0x4e6b95(0x1de)]();});}async[_0x25a446(0x1c8)](_0x47b814,_0xa5646,_0x4c2b35,_0x1c7592){const _0x66b534=_0x25a446;if(!this[_0x66b534(0x293)]&&this[_0x66b534(0x217)][_0x66b534(0x23a)]==_0xa5646){const _0x5f3929=this[_0x66b534(0x233)](_0x4c2b35,_0x1c7592);await this[_0x66b534(0x29b)](_0x5f3929),this[_0x66b534(0x1cd)](_0x5f3929,_0xa5646,_0x4c2b35[_0x66b534(0x24a)])||this[_0x66b534(0x207)](_0x66b534(0x216));}}async[_0x25a446(0x21a)](){const _0x23329c=_0x25a446;this[_0x23329c(0x1d4)]();const {locale:_0x1c06e6}=this[_0x23329c(0x24d)];let _0x2b0ee3;try{_0x2b0ee3=await this[_0x23329c(0x1f5)][_0x23329c(0x1ff)]();}catch{const _0x32b8b3=_0x1a0091(_0x1c06e6,_0x23329c(0x259));return void this[_0x23329c(0x1cc)](_0x32b8b3);}const _0x58bde4=_0x2b0ee3[_0x23329c(0x1b5)]||_0x2b0ee3[_0x23329c(0x26b)];if(this[_0x23329c(0x263)]!==_0x58bde4[_0x23329c(0x24a)]){const _0x22527b=_0x1a0091(_0x1c06e6,_0x23329c(0x234));return void this[_0x23329c(0x1cc)](_0x22527b);}await this[_0x23329c(0x262)](this[_0x23329c(0x24d)][_0x23329c(0x1e1)][_0x23329c(0x1bc)][_0x23329c(0x204)][_0x23329c(0x1d9)](),!0x0);}[_0x25a446(0x1d4)](){const _0x3863cb=_0x25a446;this[_0x3863cb(0x1f5)][_0x3863cb(0x2b4)](),this[_0x3863cb(0x24c)]=[],clearTimeout(this[_0x3863cb(0x1d5)]),this[_0x3863cb(0x2a5)](this[_0x3863cb(0x1f5)]);}[_0x25a446(0x28b)](_0x35886b){const _0x17aac5=_0x25a446,_0xe964a9=this[_0x17aac5(0x24d)][_0x17aac5(0x211)][_0x17aac5(0x1df)](_0x2d3865);this[_0x17aac5(0x2a2)](_0xe964a9,_0x17aac5(0x27f)+this[_0x17aac5(0x24e)],(_0x2dcca3,{session:_0x499f75})=>{const _0x5ebde0=_0x17aac5;if(_0x499f75['id']===_0xe964a9[_0x5ebde0(0x236)]){_0x2dcca3[_0x5ebde0(0x275)]();const _0x954de=this[_0x5ebde0(0x24d)][_0x5ebde0(0x211)][_0x5ebde0(0x26f)](_0x5ebde0(0x24f))&&this[_0x5ebde0(0x24d)][_0x5ebde0(0x211)][_0x5ebde0(0x1df)](_0x5ebde0(0x24f));let _0x3c0720=_0x499f75[_0x5ebde0(0x235)];_0x954de&&_0x954de[_0x5ebde0(0x2b7)]&&(_0x3c0720=_0x3c0720[_0x5ebde0(0x1ba)](_0x5d0b4b=>_0x5ebde0(0x240)!==_0x5d0b4b)),this[_0x5ebde0(0x24d)][_0x5ebde0(0x211)][_0x5ebde0(0x1df)](_0x5ebde0(0x20c))[_0x5ebde0(0x1e6)](_0x3c0720,this[_0x5ebde0(0x24e)]);}}),_0xe964a9[_0x17aac5(0x272)](this[_0x17aac5(0x24e)],_0x35886b);}[_0x25a446(0x29d)](){const _0x2159a7=_0x25a446,_0x54a591=this[_0x2159a7(0x24d)][_0x2159a7(0x2a9)][_0x2159a7(0x1e9)];this[_0x2159a7(0x24d)][_0x2159a7(0x2a9)][_0x2159a7(0x1e9)]=(..._0x8bf1f3)=>{const _0x38e44e=_0x2159a7;if(!_0x8bf1f3[_0x8bf1f3[_0x38e44e(0x215)]-0x1][_0x38e44e(0x267)])throw new _0x724397(_0x38e44e(0x1f3),this);_0x54a591[_0x38e44e(0x1ec)](this[_0x38e44e(0x24d)][_0x38e44e(0x2a9)],_0x8bf1f3);};}[_0x25a446(0x24b)](){const _0x60933a=_0x25a446;this[_0x60933a(0x24d)][_0x60933a(0x2a9)]['on'](_0x60933a(0x273),(_0x3f0b23,[_0x338736])=>{const _0x2df16a=_0x60933a;if(this[_0x2df16a(0x217)][_0x2df16a(0x23a)])throw new _0x724397(_0x2df16a(0x2ac),this);_0x3f0b23[_0x2df16a(0x1d6)](),this[_0x2df16a(0x285)]();const _0x591835=this[_0x2df16a(0x24d)][_0x2df16a(0x1d7)][_0x2df16a(0x1df)](_0x2df16a(0x1b6)),_0x3a2006=this[_0x2df16a(0x1bb)](_0x338736,_0x591835);0x0==_0x3a2006[_0x2df16a(0x215)]&&_0x3a2006[_0x2df16a(0x22e)](new _0x38063a(0x0)),_0x3f0b23[_0x2df16a(0x1b4)]=this[_0x2df16a(0x262)](_0x3a2006)[_0x2df16a(0x20a)](()=>{const _0x55f126=_0x2df16a;this[_0x55f126(0x24d)][_0x55f126(0x211)][_0x55f126(0x1df)](_0x2028a9)[_0x55f126(0x1b1)](this),this[_0x55f126(0x24d)][_0x55f126(0x2a9)][_0x55f126(0x23f)](_0x55f126(0x28a));})[_0x2df16a(0x248)](_0x4b1767=>this[_0x2df16a(0x207)](_0x2df16a(0x271),_0x4b1767))[_0x2df16a(0x241)](()=>this[_0x2df16a(0x1c2)]());},{'priority':_0x60933a(0x2a4)}),this[_0x60933a(0x24d)]['on'](_0x60933a(0x2af),async(_0xe7f12a,[_0x6e630b,_0x407bd8])=>{const _0x356be6=_0x60933a;_0xe7f12a[_0x356be6(0x1d6)]();const _0xba4335=this[_0x356be6(0x24d)][_0x356be6(0x1e1)][_0x356be6(0x1bc)][_0x356be6(0x1b2)](_0x6e630b);if(!this[_0x356be6(0x1f6)][_0x356be6(0x26f)](_0x6e630b)){const _0x7c00d4=_0x407bd8&&_0x407bd8[_0x356be6(0x2a9)]?_0x407bd8[_0x356be6(0x2a9)]:'',_0x22334c=_0x407bd8&&_0x407bd8[_0x356be6(0x1db)]?_0x407bd8[_0x356be6(0x1db)]:{};await this[_0x356be6(0x225)](_0x6e630b,_0x7c00d4,_0x22334c);}this[_0x356be6(0x24d)][_0x356be6(0x1e1)][_0x356be6(0x228)]({'isUndoable':!0x1},()=>{const _0x1f0b41=_0x356be6;_0xba4335[_0x1f0b41(0x298)]=!0x0,this[_0x1f0b41(0x24d)][_0x1f0b41(0x1e1)][_0x1f0b41(0x1bc)][_0x1f0b41(0x294)][_0x1f0b41(0x1c5)](_0xba4335);});},{'priority':_0x60933a(0x2a4)});}async[_0x25a446(0x29b)](_0x5eb0d8){const _0x4d0f92=_0x25a446,_0x1325f7=this[_0x4d0f92(0x24d)][_0x4d0f92(0x211)][_0x4d0f92(0x1df)](_0x5d4f70),{connection:_0x26901a}=this[_0x4d0f92(0x24d)][_0x4d0f92(0x211)][_0x4d0f92(0x1df)](_0x2028a9),_0x34a6c4=new Set();for(const _0x2b3760 of _0x5eb0d8){const _0x27f682=_0x2b3760[_0x4d0f92(0x1b8)];_0x27f682&&!_0x1325f7[_0x4d0f92(0x1e2)](_0x27f682)&&_0x34a6c4[_0x4d0f92(0x284)](_0x27f682);}if(0x0===_0x34a6c4[_0x4d0f92(0x21b)])return;const _0x5e3f34=await _0x5dd798[_0x4d0f92(0x1b0)](_0x26901a,Array[_0x4d0f92(0x277)](_0x34a6c4));for(const _0x24317b of _0x5e3f34)_0x1325f7[_0x4d0f92(0x1e2)](_0x24317b['id'])||_0x1325f7[_0x4d0f92(0x222)](_0x24317b);}[_0x25a446(0x1bb)](_0x2a0ad9,_0x48639d={}){const _0x385241=_0x25a446,_0x3dfa4e=this[_0x385241(0x24d)][_0x385241(0x1e1)],_0x24864f=[];let _0x54906a=0x0;const _0x189e9d=_0x385241(0x291)==typeof _0x2a0ad9?{'main':_0x2a0ad9}:_0x2a0ad9;for(const _0x41ee74 of Object[_0x385241(0x253)](_0x189e9d)){if(!this[_0x385241(0x217)][_0x385241(0x268)][_0x385241(0x26f)](_0x41ee74))throw new _0x724397(_0x385241(0x23c),this);const _0x29f92c=this[_0x385241(0x24d)][_0x385241(0x2a9)][_0x385241(0x243)](_0x189e9d[_0x41ee74]),_0x3d9811=this[_0x385241(0x217)][_0x385241(0x1b2)](_0x41ee74),_0x4f8e4c=new _0x29bec1(_0x3dfa4e[_0x385241(0x2ad)](_0x3d9811,0x0),_0x29f92c,_0x54906a++);_0x24864f[_0x385241(0x22e)](_0x4f8e4c);for(const [_0x3080a8,_0x4881e5]of _0x29f92c[_0x385241(0x2a3)]){const _0xd25227=_0x3dfa4e[_0x385241(0x286)](_0x3dfa4e[_0x385241(0x1f1)](_0x3d9811,_0x4881e5[_0x385241(0x22d)][_0x385241(0x269)][_0x385241(0x1f8)]()),_0x3dfa4e[_0x385241(0x1f1)](_0x3d9811,_0x4881e5[_0x385241(0x1d1)][_0x385241(0x269)][_0x385241(0x1f8)]())),_0x40ab56=new _0x1fdd36(_0x3080a8,null,_0xd25227,_0x3dfa4e[_0x385241(0x2a3)],!0x0,_0x54906a++);_0x24864f[_0x385241(0x22e)](_0x40ab56);}}if(_0x48639d)for(const [_0x57b2c4,_0xe99f2]of Object[_0x385241(0x201)](_0x48639d)){const _0x359466=_0x3dfa4e[_0x385241(0x1bc)][_0x385241(0x1b2)](_0x57b2c4);if(!_0x359466)throw new _0x724397(_0x385241(0x21c),null);for(const [_0x570938,_0x644d90]of Object[_0x385241(0x201)](_0xe99f2))if(null!==_0x644d90){const _0x4c7d53=new _0x2ac109(_0x359466,_0x570938,null,_0x644d90,_0x54906a++);_0x24864f[_0x385241(0x22e)](_0x4c7d53);}}return _0x24864f;}async[_0x25a446(0x225)](_0x41f0a9,_0x104657,_0x747616){const _0x26b342=_0x25a446;this[_0x26b342(0x1bb)]({[_0x41f0a9]:_0x104657},{[_0x41f0a9]:_0x747616})[_0x26b342(0x1be)]((_0x260f31,_0xdd2ad6)=>{const _0x4d6aca=_0x26b342;_0x260f31[_0x4d6aca(0x25a)]=this[_0x4d6aca(0x217)][_0x4d6aca(0x23a)]+_0xdd2ad6,_0x260f31[_0x4d6aca(0x29a)]=!0x0,this[_0x4d6aca(0x205)](_0x260f31);}),this[_0x26b342(0x239)](),await this[_0x26b342(0x26c)]();}async[_0x25a446(0x1c4)](_0x56abd6,_0x2cd5da){const _0x56c01b=_0x25a446;let _0x493777;this[_0x56c01b(0x25b)]=_0x56abd6[_0x56c01b(0x1c9)];const _0x27ac1c=_0x56abd6[_0x56c01b(0x1c6)]&&!_0x56abd6[_0x56c01b(0x1c0)],_0x58b550=_0x27ac1c?0x0:_0x56abd6[_0x56c01b(0x2a9)][_0x56c01b(0x25a)];if(_0x2cd5da[_0x56c01b(0x1be)](_0x6a596=>{const _0x373002=_0x56c01b;_0x6a596[_0x373002(0x29a)]=!0x0,_0x6a596[_0x373002(0x210)]=_0x56abd6[_0x373002(0x20d)],_0x6a596[_0x373002(0x1b8)]=null;}),_0x27ac1c)_0x493777=_0x2cd5da,this[_0x56c01b(0x1eb)](_0x493777,_0x27ac1c);else{if(_0x56abd6[_0x56c01b(0x1c0)]){const _0x20f308=this[_0x56c01b(0x1bb)](_0x56abd6[_0x56c01b(0x1c0)]);this[_0x56c01b(0x217)][_0x56c01b(0x204)][_0x56c01b(0x23a)]=-_0x20f308[_0x56c01b(0x215)],_0x20f308[_0x56c01b(0x1be)](_0x3d88b9=>{const _0x46f4f5=_0x56c01b;_0x3d88b9[_0x46f4f5(0x25a)]-=_0x20f308[_0x46f4f5(0x215)],_0x3d88b9[_0x46f4f5(0x210)]=_0x56abd6[_0x46f4f5(0x20d)],_0x3d88b9[_0x46f4f5(0x29a)]=!0x0,_0x3d88b9[_0x46f4f5(0x1b8)]=null;}),this[_0x56c01b(0x1eb)](_0x20f308,!0x0),this[_0x56c01b(0x218)][_0x56c01b(0x23a)]=-_0x20f308[_0x56c01b(0x215)]+this[_0x56c01b(0x25b)],this[_0x56c01b(0x26e)](_0x20f308);}this[_0x56c01b(0x217)][_0x56c01b(0x204)][_0x56c01b(0x23a)]=_0x58b550,_0x493777=this[_0x56c01b(0x233)](_0x56abd6[_0x56c01b(0x2a9)],_0x56abd6[_0x56c01b(0x1d2)]),await this[_0x56c01b(0x29b)](_0x493777),this[_0x56c01b(0x1eb)](_0x493777,_0x27ac1c);}_0x56abd6[_0x56c01b(0x24a)]&&(this[_0x56c01b(0x20e)][_0x56c01b(0x28f)](_0x493777,_0x56abd6[_0x56c01b(0x24a)]),this[_0x56c01b(0x263)]=_0x56abd6[_0x56c01b(0x24a)]),this[_0x56c01b(0x218)][_0x56c01b(0x23a)]=_0x58b550+this[_0x56c01b(0x25b)],this[_0x56c01b(0x26e)](_0x493777),_0x2cd5da[_0x56c01b(0x1ba)](_0x324d5b=>{const _0x513569=_0x56c01b,_0x385602=this[_0x513569(0x1b3)](_0x324d5b);return _0x385602&&!this[_0x513569(0x1f6)][_0x513569(0x26f)](_0x385602);})[_0x56c01b(0x1be)]((_0x583c20,_0x34cdf6)=>{const _0xe2c467=_0x56c01b;_0x583c20[_0xe2c467(0x25a)]=this[_0xe2c467(0x217)][_0xe2c467(0x23a)]+_0x34cdf6,this[_0xe2c467(0x205)](_0x583c20);}),this[_0x56c01b(0x2b1)]()?(this[_0x56c01b(0x203)]=0x0,this[_0x56c01b(0x239)](!0x0),await this[_0x56c01b(0x26c)]()):(this[_0x56c01b(0x293)]=!0x1,this[_0x56c01b(0x1c2)]());}[_0x25a446(0x207)](_0x5b6834,_0x494b94){const _0x499f05=_0x25a446,_0x36fa3e=_0x494b94&&_0x494b94[_0x499f05(0x299)];if(_0x36fa3e&&_0x36fa3e[_0x499f05(0x27b)](_0x499f05(0x279)))throw _0x494b94;const _0x54203d=this[_0x499f05(0x24d)][_0x499f05(0x211)][_0x499f05(0x1df)](_0x2028a9);throw this[_0x499f05(0x293)]=!0x0,_0x54203d[_0x499f05(0x2b4)](),this[_0x499f05(0x24d)][_0x499f05(0x1ea)](_0x499f05(0x280)),new _0x724397(_0x5b6834,this[_0x499f05(0x24d)],_0x36fa3e?{'originalError':_0x36fa3e}:void 0x0);}[_0x25a446(0x205)](_0x3a4fa6){const _0x2ec77e=_0x25a446;this[_0x2ec77e(0x22a)][_0x2ec77e(0x26f)](_0x3a4fa6)||(this[_0x2ec77e(0x22a)][_0x2ec77e(0x284)](_0x3a4fa6),this[_0x2ec77e(0x24c)][_0x2ec77e(0x22e)](_0x3a4fa6),this[_0x2ec77e(0x219)]||_0x2ec77e(0x221)==_0x3a4fa6[_0x2ec77e(0x260)]&&!_0x3a4fa6[_0x2ec77e(0x22c)]||this[_0x2ec77e(0x285)]());}[_0x25a446(0x239)](_0x3ebb54=!0x1){const _0x5be7f7=_0x25a446;!_0x3ebb54&&this[_0x5be7f7(0x293)]||(this[_0x5be7f7(0x293)]=!0x0,clearTimeout(this[_0x5be7f7(0x1d5)]),this[_0x5be7f7(0x1d5)]=setTimeout(()=>{const _0x2d722d=_0x5be7f7;this[_0x2d722d(0x27d)]()[_0x2d722d(0x20a)](_0x125c00=>{const _0x85370c=_0x2d722d;_0x125c00&&(this[_0x85370c(0x1c2)](),this[_0x85370c(0x293)]=!0x1);})[_0x2d722d(0x248)](_0x2f7d80=>{const _0x3f12b2=_0x2d722d;this[_0x3f12b2(0x1c2)](),this[_0x3f12b2(0x293)]=!0x1,function(_0x5c32a8){const _0x44a720=_0x3f12b2;return _0x5c32a8[_0x44a720(0x299)][_0x44a720(0x27b)](_0x44a720(0x28e))||_0x5c32a8[_0x44a720(0x299)][_0x44a720(0x27b)](_0x44a720(0x1cb))||_0x5c32a8[_0x44a720(0x299)][_0x44a720(0x27b)](_0x44a720(0x266));}(_0x2f7d80)||this[_0x3f12b2(0x207)](_0x2f7d80[_0x3f12b2(0x299)],_0x2f7d80);});},this[_0x5be7f7(0x203)]));}[_0x25a446(0x26c)](){return new Promise(_0x3a2515=>{const _0x5f5822=_0x3ff8;this['on'](_0x5f5822(0x230),()=>{_0x3a2515();});});}async[_0x25a446(0x27d)](){const _0x4c1d48=_0x25a446,_0xd5184e=this[_0x4c1d48(0x24d)][_0x4c1d48(0x211)][_0x4c1d48(0x1df)](_0x1050e8);if(this[_0x4c1d48(0x2b3)]()&&(_0xd5184e[_0x4c1d48(0x1de)](),this[_0x4c1d48(0x29f)]=!0x1),!this[_0x4c1d48(0x2b1)]())return!0x0;const _0x435d4e=[...this[_0x4c1d48(0x24c)]];for(const _0xed5e34 of _0x435d4e)_0xed5e34[_0x4c1d48(0x1fe)]=this[_0x4c1d48(0x217)][_0x4c1d48(0x204)][_0x4c1d48(0x28c)](_0xed5e34);const _0x488509=this[_0x4c1d48(0x20e)][_0x4c1d48(0x21e)](_0x435d4e),_0x30b8c7=j++,_0x251dbf=this[_0x4c1d48(0x283)](_0x435d4e),_0x1aad2a=await this[_0x4c1d48(0x1f5)][_0x4c1d48(0x287)](_0x251dbf,_0x251dbf[_0x4c1d48(0x25a)],_0x488509);try{return await this[_0x4c1d48(0x261)](_0x435d4e,_0x1aad2a,_0x30b8c7);}catch(_0x13a48b){return this[_0x4c1d48(0x207)](_0x4c1d48(0x296),_0x13a48b);}}async[_0x25a446(0x261)](_0x255c47,_0x3c87b0,_0x1a356f){const _0xabf2ca=_0x25a446;if(_0xabf2ca(0x1fd)in _0x3c87b0)throw _0x3c87b0[_0xabf2ca(0x1fd)];let _0x1352e2=!0x1;if(_0x3c87b0[_0xabf2ca(0x1c6)]){_0x3c87b0[_0xabf2ca(0x24a)]&&(this[_0xabf2ca(0x263)]=_0x3c87b0[_0xabf2ca(0x24a)]),this[_0xabf2ca(0x24c)]=this[_0xabf2ca(0x24c)][_0xabf2ca(0x1ba)](_0x171bbd=>!_0x255c47[_0xabf2ca(0x264)](_0x171bbd));for(const _0x3d6f58 of _0x255c47)_0x3d6f58[_0xabf2ca(0x210)]=_0xabf2ca(0x2ae)in _0x3c87b0&&_0x3c87b0[_0xabf2ca(0x2ae)]||void 0x0;D(_0x255c47,_0x3c87b0[_0xabf2ca(0x23a)]-_0x255c47[_0xabf2ca(0x215)]),this[_0xabf2ca(0x26e)](_0x255c47);const _0x2b09ea=_0x255c47[_0xabf2ca(0x1ba)](_0x17707e=>{const _0x59f7f5=_0xabf2ca;if(!_0x17707e[_0x59f7f5(0x29a)])return!0x1;const _0x1044fa=this[_0x59f7f5(0x1b3)](_0x17707e);return _0x1044fa&&!this[_0x59f7f5(0x1f6)][_0x59f7f5(0x26f)](_0x1044fa);});D(_0x2b09ea,this[_0xabf2ca(0x217)][_0xabf2ca(0x23a)]),this[_0xabf2ca(0x1eb)](_0x2b09ea),_0x1352e2=!0x0,this[_0xabf2ca(0x203)]=this[_0xabf2ca(0x2a7)];}else{const _0x410f39=this[_0xabf2ca(0x233)](_0x3c87b0[_0xabf2ca(0x2a9)],_0x3c87b0[_0xabf2ca(0x1d2)])[_0xabf2ca(0x1ba)](_0x5a7e0f=>_0x5a7e0f[_0xabf2ca(0x25a)]>=this[_0xabf2ca(0x2b5)]);_0x410f39[_0xabf2ca(0x1be)](_0x387f3f=>this[_0xabf2ca(0x1c7)](_0x387f3f)),this[_0xabf2ca(0x24c)]=this[_0xabf2ca(0x24c)][_0xabf2ca(0x1ba)](_0x1d2474=>!_0x1d2474[_0xabf2ca(0x29a)]||!this[_0xabf2ca(0x1f6)][_0xabf2ca(0x26f)](this[_0xabf2ca(0x1b3)](_0x1d2474))),this[_0xabf2ca(0x24c)][_0xabf2ca(0x215)]&&D(this[_0xabf2ca(0x24c)],this[_0xabf2ca(0x24c)][0x0][_0xabf2ca(0x25a)]),await this[_0xabf2ca(0x29b)](_0x410f39),_0x1352e2=this[_0xabf2ca(0x1cd)](_0x410f39,_0x3c87b0[_0xabf2ca(0x23a)],_0x3c87b0[_0xabf2ca(0x24a)]),this[_0xabf2ca(0x203)]=Math[_0xabf2ca(0x1e5)](this[_0xabf2ca(0x203)]/0x2);}return _0x1352e2?!this[_0xabf2ca(0x2b1)]()||(this[_0xabf2ca(0x239)](!0x0),!0x1):this[_0xabf2ca(0x207)](_0xabf2ca(0x276));}[_0x25a446(0x1cd)](_0x14c87f,_0x23427e,_0x3b5a5c){const _0x72b98b=_0x25a446;try{const _0x515aa1={'document':this[_0x72b98b(0x217)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x549a1a,operationsB:_0x4adcfe,originalOperations:_0x2e19c7}=_0x1e6334(_0x14c87f,this[_0x72b98b(0x24c)],_0x515aa1);D(_0x549a1a,this[_0x72b98b(0x217)][_0x72b98b(0x23a)]),D(_0x4adcfe,_0x23427e);for(const _0x23a7ea of _0x549a1a){const _0x2b19a7=_0x2e19c7[_0x72b98b(0x1df)](_0x23a7ea);_0x23a7ea[_0x72b98b(0x1b8)]=_0x2b19a7?_0x2b19a7[_0x72b98b(0x1b8)]:null;}_0x3b5a5c&&(this[_0x72b98b(0x20e)][_0x72b98b(0x28f)](_0x14c87f,_0x3b5a5c),this[_0x72b98b(0x263)]=_0x3b5a5c),this[_0x72b98b(0x24c)]=[..._0x4adcfe],this[_0x72b98b(0x1eb)](_0x549a1a),this[_0x72b98b(0x26e)](_0x14c87f);}catch(_0x11eb35){return console[_0x72b98b(0x1fd)](_0x11eb35),!0x1;}return!0x0;}[_0x25a446(0x1eb)](_0x1a13fd,_0x2697e4=!0x1){const _0x41591f=_0x25a446;this[_0x41591f(0x24d)][_0x41591f(0x1e1)][_0x41591f(0x228)]({'isUndoable':!0x1,'isLocal':!0x1},_0x323a27=>{const _0x534009=_0x41591f;for(const _0x502b62 of _0x1a13fd)this[_0x534009(0x22a)][_0x534009(0x284)](_0x502b62),this[_0x534009(0x1c7)](_0x502b62),_0x323a27[_0x534009(0x238)][_0x534009(0x2b0)](_0x502b62),this[_0x534009(0x24d)][_0x534009(0x1e1)][_0x534009(0x22f)](_0x502b62);});}[_0x25a446(0x1c7)](_0x25bab5){const _0x430ea3=_0x25a446,_0x52e7d5=this[_0x430ea3(0x1b3)](_0x25bab5);_0x52e7d5&&this[_0x430ea3(0x1f6)][_0x430ea3(0x284)](_0x52e7d5);}[_0x25a446(0x1b3)](_0x1254a4){const _0x291ec0=_0x25a446;let _0x4b6313,_0x4a55fc;switch(_0x1254a4[_0x291ec0(0x260)]){case _0x291ec0(0x256):_0x4b6313=_0x1254a4[_0x291ec0(0x1ca)][_0x291ec0(0x226)];break;case _0x291ec0(0x221):if(_0x4a55fc=_0x1254a4[_0x291ec0(0x242)],!_0x4a55fc)return null;_0x4b6313=_0x4a55fc[_0x291ec0(0x226)];break;case _0x291ec0(0x297):_0x4b6313=_0x1254a4[_0x291ec0(0x226)];break;case _0x291ec0(0x29e):_0x4b6313=_0x1254a4[_0x291ec0(0x290)];break;case _0x291ec0(0x1d3):_0x4b6313=_0x1254a4[_0x291ec0(0x209)][_0x291ec0(0x226)];break;default:return null;}return _0x4b6313[_0x291ec0(0x20b)];}[_0x25a446(0x26e)](_0xf5ffec){const _0x676f6e=_0x25a446;_0xf5ffec[_0x676f6e(0x1be)](_0x56b661=>{const _0x26f8de=_0x676f6e,_0x2e8397=_0x56b661[_0x26f8de(0x26d)]();_0x2e8397[_0x26f8de(0x1b8)]=_0x56b661[_0x26f8de(0x1b8)],_0x2e8397[_0x26f8de(0x29a)]=!!_0x56b661[_0x26f8de(0x29a)],_0x2e8397[_0x26f8de(0x210)]=_0x56b661[_0x26f8de(0x210)],_0x2e8397[_0x26f8de(0x25a)]+=this[_0x26f8de(0x25b)],_0x56b661[_0x26f8de(0x1f2)]&&this[_0x26f8de(0x224)][_0x26f8de(0x284)](_0x2e8397),this[_0x26f8de(0x218)][_0x26f8de(0x2b0)](_0x2e8397);});}[_0x25a446(0x1cc)](_0x58d07d){const _0x2f25cf=_0x25a446,_0x5de703=this[_0x2f25cf(0x24d)][_0x2f25cf(0x211)][_0x2f25cf(0x1df)](_0x2f25cf(0x237)),_0x35448a=this[_0x2f25cf(0x24d)][_0x2f25cf(0x29c)];_0x58d07d||(_0x58d07d=_0x1a0091(_0x35448a,_0x2f25cf(0x25e))),_0x5de703[_0x2f25cf(0x28d)](_0x58d07d,{'title':_0x1a0091(_0x35448a,_0x2f25cf(0x1d0)),'namespace':_0x2f25cf(0x1bf)}),this[_0x2f25cf(0x1f4)]=!0x0,clearTimeout(this[_0x2f25cf(0x1d5)]),this[_0x2f25cf(0x24c)]=[],this[_0x2f25cf(0x24d)][_0x2f25cf(0x211)][_0x2f25cf(0x1df)](_0x2028a9)[_0x2f25cf(0x2b4)]();}[_0x25a446(0x285)](){const _0x5d363c=_0x25a446;this[_0x5d363c(0x219)]||(this[_0x5d363c(0x219)]=this[_0x5d363c(0x24d)][_0x5d363c(0x211)][_0x5d363c(0x1df)](_0x2cf343)[_0x5d363c(0x284)](_0x1a0091(this[_0x5d363c(0x24d)][_0x5d363c(0x29c)],_0x5d363c(0x270))));}[_0x25a446(0x1c2)](){const _0xb9e0b=_0x25a446;this[_0xb9e0b(0x219)]&&(this[_0xb9e0b(0x24d)][_0xb9e0b(0x211)][_0xb9e0b(0x1df)](_0x2cf343)[_0xb9e0b(0x1b7)](this[_0xb9e0b(0x219)]),this[_0xb9e0b(0x219)]=null);}[_0x25a446(0x283)](_0x1fb9e5){const _0x3cc61b=_0x25a446,_0x28944f=_0x1fb9e5[_0x3cc61b(0x1cf)](_0x366034=>_0x366034[_0x3cc61b(0x2b6)]());return this[_0x3cc61b(0x20f)][_0x3cc61b(0x2a8)](_0x28944f);}[_0x25a446(0x233)](_0x144100,_0x4f501c){const _0x5c1576=_0x25a446;return this[_0x5c1576(0x20f)][_0x5c1576(0x2a6)](_0x144100)[_0x5c1576(0x1cf)]((_0x945200,_0x10d1e8)=>{const _0x10edda=_0x5c1576,_0x58e10a=_0x10edda(0x273)==_0x4f501c[_0x10d1e8][_0x10edda(0x260)];if(_0x10edda(0x25c)==_0x945200[_0x10edda(0x25f)]){const _0x35cf32=_0x945200[_0x10edda(0x1ca)][_0x10edda(0x226)];!this[_0x10edda(0x217)][_0x10edda(0x1b2)](_0x35cf32)&&(this[_0x10edda(0x217)][_0x10edda(0x1d8)](_0x10edda(0x23b),_0x35cf32)[_0x10edda(0x245)]=!0x1);}const _0x4b5e70=_0x53c560[_0x10edda(0x246)](_0x945200,this[_0x10edda(0x217)]);return _0x4b5e70[_0x10edda(0x1fe)]=_0x945200[_0x10edda(0x1fe)],_0x4b5e70[_0x10edda(0x29a)]=_0x58e10a,_0x4b5e70[_0x10edda(0x1b8)]=_0x58e10a?null:_0x4f501c[_0x10d1e8][_0x10edda(0x229)],_0x4b5e70[_0x10edda(0x1f2)]=_0x10edda(0x1ee)===_0x4f501c[_0x10d1e8][_0x10edda(0x260)],_0x4b5e70[_0x10edda(0x210)]=_0x4f501c[_0x10d1e8][_0x10edda(0x210)],_0x4b5e70;});}[_0x25a446(0x1f0)](){const _0x16e636=_0x25a446;this[_0x16e636(0x29f)]=!0x0,this[_0x16e636(0x2b3)]()?this[_0x16e636(0x239)]():this[_0x16e636(0x29f)]=!0x1;}[_0x25a446(0x2b3)](){const _0x3fb963=_0x25a446,_0x4a27e4=this[_0x3fb963(0x24d)][_0x3fb963(0x211)][_0x3fb963(0x1df)](_0x2d3865)[_0x3fb963(0x200)][_0x3fb963(0x1df)](this[_0x3fb963(0x24e)]);return!this[_0x3fb963(0x24d)][_0x3fb963(0x1da)]&&!!_0x4a27e4&&_0x4a27e4[_0x3fb963(0x215)]>0x1&&this[_0x3fb963(0x29f)];}[_0x25a446(0x2b1)](){const _0x56f40c=_0x25a446;return this[_0x56f40c(0x24c)][_0x56f40c(0x215)]>0x0||this[_0x56f40c(0x2b3)]();}}class ReconnectionError extends Error{}function D(_0x3db034,_0x5dd1a7){const _0xd450f1=_0x25a446;for(const _0x415af8 of _0x3db034)_0x415af8[_0xd450f1(0x25a)]=_0x5dd1a7++;}class OperationIdentifier{[_0x25a446(0x2aa)];[_0x25a446(0x23d)];constructor(_0x3e634d){const _0x35f334=_0x25a446;this[_0x35f334(0x2aa)]=_0x3e634d,this[_0x35f334(0x23d)]=new WeakMap();}[_0x25a446(0x21e)](_0x429686){const _0x18905c=_0x25a446;let _0xd908ea=_0x429686[_0x18905c(0x215)];for(;_0xd908ea--;){const _0xfee31a=_0x429686[_0xd908ea];if(!this[_0x18905c(0x2aa)][_0x18905c(0x26f)](_0xfee31a)){if(!this[_0x18905c(0x23d)][_0x18905c(0x26f)](_0xfee31a)){const _0x5585f3=_0x1e5221()[_0x18905c(0x1f8)](0x1,0x12);this[_0x18905c(0x23d)][_0x18905c(0x1e9)](_0xfee31a,_0x5585f3);}return this[_0x18905c(0x23d)][_0x18905c(0x1df)](_0xfee31a);}}}[_0x25a446(0x28f)](_0x551bee,_0x518f2d){const _0x5b6cc2=_0x25a446;if(!_0x518f2d)return;let _0x17475a=_0x551bee[_0x5b6cc2(0x215)];for(;_0x17475a--;){const _0x2b4aa6=_0x551bee[_0x17475a];this[_0x5b6cc2(0x2aa)][_0x5b6cc2(0x26f)](_0x2b4aa6)||this[_0x5b6cc2(0x23d)][_0x5b6cc2(0x1e9)](_0x2b4aa6,_0x518f2d);}}}