@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.3 → 47.3.0-alpha.4

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.3.0-alpha.3",
3
+ "version": "47.3.0-alpha.4",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.1",
50
- "@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.3",
51
- "@ckeditor/ckeditor5-comments": "47.3.0-alpha.3",
52
- "@ckeditor/ckeditor5-core": "47.3.0-alpha.3",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.3.0-alpha.3",
54
- "@ckeditor/ckeditor5-engine": "47.3.0-alpha.3",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.3.0-alpha.3",
56
- "@ckeditor/ckeditor5-revision-history": "47.3.0-alpha.3",
57
- "@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.3",
58
- "@ckeditor/ckeditor5-track-changes": "47.3.0-alpha.3",
59
- "@ckeditor/ckeditor5-ui": "47.3.0-alpha.3",
60
- "@ckeditor/ckeditor5-utils": "47.3.0-alpha.3",
61
- "ckeditor5": "47.3.0-alpha.3",
62
- "ckeditor5-collaboration": "47.3.0-alpha.3",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.4",
51
+ "@ckeditor/ckeditor5-comments": "47.3.0-alpha.4",
52
+ "@ckeditor/ckeditor5-core": "47.3.0-alpha.4",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.3.0-alpha.4",
54
+ "@ckeditor/ckeditor5-engine": "47.3.0-alpha.4",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.3.0-alpha.4",
56
+ "@ckeditor/ckeditor5-revision-history": "47.3.0-alpha.4",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.4",
58
+ "@ckeditor/ckeditor5-track-changes": "47.3.0-alpha.4",
59
+ "@ckeditor/ckeditor5-ui": "47.3.0-alpha.4",
60
+ "@ckeditor/ckeditor5-utils": "47.3.0-alpha.4",
61
+ "ckeditor5": "47.3.0-alpha.4",
62
+ "ckeditor5-collaboration": "47.3.0-alpha.4",
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 _0xc5af(_0x250361,_0xcd253e){const _0xe762f0=_0xe762();return _0xc5af=function(_0xc5af81,_0x1d3238){_0xc5af81=_0xc5af81-0x1bc;let _0x2be93b=_0xe762f0[_0xc5af81];return _0x2be93b;},_0xc5af(_0x250361,_0xcd253e);}const _0x24a08a=_0xc5af;(function(_0x100c64,_0x1067cd){const _0x264fcc=_0xc5af,_0x166f5e=_0x100c64();while(!![]){try{const _0x54958d=parseInt(_0x264fcc(0x216))/0x1*(-parseInt(_0x264fcc(0x1f7))/0x2)+parseInt(_0x264fcc(0x1f8))/0x3+parseInt(_0x264fcc(0x1c5))/0x4*(-parseInt(_0x264fcc(0x200))/0x5)+-parseInt(_0x264fcc(0x20e))/0x6*(-parseInt(_0x264fcc(0x201))/0x7)+parseInt(_0x264fcc(0x1e4))/0x8*(-parseInt(_0x264fcc(0x1cb))/0x9)+-parseInt(_0x264fcc(0x225))/0xa*(-parseInt(_0x264fcc(0x208))/0xb)+parseInt(_0x264fcc(0x1e3))/0xc;if(_0x54958d===_0x1067cd)break;else _0x166f5e['push'](_0x166f5e['shift']());}catch(_0x956314){_0x166f5e['push'](_0x166f5e['shift']());}}}(_0xe762,0x802a5));import{ContextPlugin as _0x4a0069}from'ckeditor5/src/core.js';import{CKEditorError as _0x4cccab,Collection as _0x484299}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x4d791e,BalloonPanelView as _0x2c7abd,BodyCollection as _0x365e0d}from'ckeditor5/src/ui.js';import{isElement as _0x5c78bb}from'es-toolkit/compat';import{Sessions as _0x24d803}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x5add6e}from'./view/presencelistview.js';import{PresenceCounterView as _0x550274}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0xc9ae19}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x12cacf}from'./view/presencedropdownlistitemview.js';function _0xe762(){const _0x15685c=['usersCount','isVisible','context','using','displayMe','number','define','presencelist-collapseat-invalid-format','isMe','get','join','_handleUserRemove','presenceList','class','presencelist-missing-container','36646hOmyDQ','1558893JeQAiW','[contenteditable]','attachToDom','content','change:isFocused','textarea','remove','sort','10495GXqwMJ','2000831dmZvLH','showDropdown','execute','tabIndex','activeElement','reverse','hideDropdown','66kzXVsY','inlineListView','find','Shift+Tab','Esc','select','6DDQqVJ','isFocusable','bind','detachFromDom','from','presencelist:hide','isOfficialPlugin','render','19GNCeuT','init','indexOf','querySelectorAll','filter','isCollapsed','pluginName','allConnectedUsers','add','plugins','map','_createView','isExpanded','listenTo','presencelist:show','6850eTtMqv','presenceList.displayMe','balloonPanelView','bindTo','focusTracker','appendChild','view','ck\x20ck-presence-list__balloon','input','focus','presenceDropdownView','pin','currentDisplayedUsers','1604VyvaMi','offsetWidth','presenceList.container','config','set','Enter','4167lGfYOZ','onClick','_allConnectedUsers','counterView','[tabindex]','isPremiumPlugin','PresenceListUI','Tab','length','_handleUserAdd','body','button','presenceList.collapseAt','checkIfScrollable','hasTooltip',':not([disabled]):not([tabindex=\x22-1\x22])','offsetHeight','locale','element','items','isRendered','destroy','requires','_bodyCollection','16046472tqiunL','7464ZELqZV','min','keystrokes','unpin'];_0xe762=function(){return _0x15685c;};return _0xe762();}import{PresenceInlineListItemView as _0x570c3a}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x4a0069{[_0x24a08a(0x1c4)];[_0x24a08a(0x227)];[_0x24a08a(0x1be)];[_0x24a08a(0x1c2)];[_0x24a08a(0x1e2)]=null;static get[_0x24a08a(0x21c)](){const _0x4935ba=_0x24a08a;return _0x4935ba(0x1d1);}static get[_0x24a08a(0x214)](){return!0x0;}static get[_0x24a08a(0x1d0)](){return!0x0;}constructor(_0x2017c0){const _0x113fd1=_0x24a08a;super(_0x2017c0),this[_0x113fd1(0x1ea)][_0x113fd1(0x1c8)][_0x113fd1(0x1ee)](_0x113fd1(0x1f4),x);const _0xf3d447=_0x2017c0[_0x113fd1(0x1c8)][_0x113fd1(0x1f1)](_0x113fd1(0x1d7));if(_0x113fd1(0x1ed)!=typeof _0xf3d447)throw new _0x4cccab(_0x113fd1(0x1ef),this);if(_0xf3d447<0x1)throw new _0x4cccab(_0x113fd1(0x1ef),this);this[_0x113fd1(0x1cd)]=this[_0x113fd1(0x1ea)][_0x113fd1(0x21f)][_0x113fd1(0x1f1)](_0x24d803)[_0x113fd1(0x21d)],this[_0x113fd1(0x1c9)](_0x113fd1(0x1e8),0x0),this[_0x113fd1(0x1c4)]=new _0x484299(),this[_0x113fd1(0x227)]=new _0x2c7abd(),this[_0x113fd1(0x227)][_0x113fd1(0x1f5)]=_0x113fd1(0x1bf),this[_0x113fd1(0x1be)]=this[_0x113fd1(0x221)](),this[_0x113fd1(0x1c2)]=void 0x0;}static get[_0x24a08a(0x1e1)](){return[_0x24d803];}[_0x24a08a(0x217)](){const _0x522e5c=_0x24a08a;for(const _0x53b141 of this[_0x522e5c(0x1cd)])this[_0x522e5c(0x1d4)](_0x53b141);this[_0x522e5c(0x223)](this[_0x522e5c(0x1cd)],_0x522e5c(0x21e),(_0x1596c5,_0x5d210d)=>{const _0xce9c8=_0x522e5c;this[_0xce9c8(0x1d4)](_0x5d210d);}),this[_0x522e5c(0x223)](this[_0x522e5c(0x1cd)],_0x522e5c(0x1fe),(_0x10f3b5,_0x119d32)=>{const _0x2907d5=_0x522e5c;this[_0x2907d5(0x1f3)](_0x119d32);});}[_0x24a08a(0x221)](){const _0x19441e=_0x24a08a,_0x8f00b5=this[_0x19441e(0x1ea)],_0x36ff35=new _0x5add6e(this[_0x19441e(0x1ea)][_0x19441e(0x1dc)],this[_0x19441e(0x1ea)][_0x19441e(0x1c8)][_0x19441e(0x1f1)](_0x19441e(0x1d7))),_0x5f1487=this[_0x19441e(0x227)];if(!_0x5c78bb(_0x8f00b5[_0x19441e(0x1c8)][_0x19441e(0x1f1)](_0x19441e(0x1c7))))throw new _0x4cccab(_0x19441e(0x1f6),this);return _0x36ff35[_0x19441e(0x1ce)][_0x19441e(0x210)](_0x19441e(0x1e8))['to'](this),_0x36ff35[_0x19441e(0x210)](_0x19441e(0x21b))['to'](this,_0x19441e(0x1e8),_0x3e8f6c=>{const _0x4b25cd=_0x19441e,{collapseAt:_0x1c4d9c}=_0x8f00b5[_0x4b25cd(0x1c8)][_0x4b25cd(0x1f1)](_0x4b25cd(0x1f4)),_0x1f3df9=_0x3e8f6c>=_0x1c4d9c;if(_0x1f3df9&&!_0x36ff35[_0x4b25cd(0x209)][_0x4b25cd(0x1de)][_0x4b25cd(0x20a)](_0x106ec3=>_0x106ec3 instanceof _0x550274)){const _0x5a2686=this[_0x4b25cd(0x1ea)][_0x4b25cd(0x1c8)][_0x4b25cd(0x1f1)](_0x4b25cd(0x1d7))-0x1;this[_0x4b25cd(0x1c4)][_0x4b25cd(0x1d3)]==_0x5a2686&&this[_0x4b25cd(0x1c4)][_0x4b25cd(0x1d3)]>0x1&&this[_0x4b25cd(0x1c4)][_0x4b25cd(0x1fe)](this[_0x4b25cd(0x1c4)][_0x4b25cd(0x1d3)]-0x1),_0x36ff35[_0x4b25cd(0x209)][_0x4b25cd(0x1de)][_0x4b25cd(0x21e)](_0x36ff35[_0x4b25cd(0x1ce)]);}return _0x1f3df9||this[_0x4b25cd(0x207)](),_0x1f3df9;}),_0x36ff35[_0x19441e(0x209)][_0x19441e(0x1de)][_0x19441e(0x228)](this[_0x19441e(0x1c4)])[_0x19441e(0x1eb)](_0x373776=>{const _0x1e0146=_0x19441e,_0x34ca12=_0x8f00b5[_0x1e0146(0x1c8)][_0x1e0146(0x1f1)](_0x1e0146(0x1f4)),_0x28e7f1=new _0x570c3a(_0x8f00b5[_0x1e0146(0x1dc)],_0x373776,!!_0x34ca12[_0x1e0146(0x1cc)]);return _0x28e7f1[_0x1e0146(0x210)](_0x1e0146(0x1d9))['to'](_0x36ff35,_0x1e0146(0x21b),_0x435e43=>!_0x435e43),_0x28e7f1[_0x1e0146(0x210)](_0x1e0146(0x20f))['to'](_0x36ff35,_0x1e0146(0x21b),_0x4dbe4b=>!_0x4dbe4b),_0x34ca12[_0x1e0146(0x1cc)]&&this[_0x1e0146(0x223)](_0x28e7f1,_0x1e0146(0x203),()=>{const _0x5d76e8=_0x1e0146;this[_0x5d76e8(0x1be)][_0x5d76e8(0x21b)]||_0x34ca12[_0x5d76e8(0x1cc)](_0x373776,_0x28e7f1[_0x5d76e8(0x1dd)]);}),_0x28e7f1;}),this[_0x19441e(0x223)](_0x36ff35[_0x19441e(0x209)],_0x19441e(0x224),()=>{const _0x3c5dad=_0x19441e;this[_0x3c5dad(0x1be)][_0x3c5dad(0x21b)]&&this[_0x3c5dad(0x202)]();}),this[_0x19441e(0x223)](_0x36ff35[_0x19441e(0x209)],_0x19441e(0x213),()=>{const _0x2e6e87=_0x19441e;this[_0x2e6e87(0x1c2)]&&this[_0x2e6e87(0x207)]();}),_0x36ff35[_0x19441e(0x209)][_0x19441e(0x1e6)][_0x19441e(0x1c9)](_0x19441e(0x1ca),(_0x56035b,_0x19ab18)=>{const _0x4e447d=_0x19441e;this[_0x4e447d(0x1be)][_0x4e447d(0x21b)]&&(this[_0x4e447d(0x202)](),_0x19ab18());}),_0x36ff35[_0x19441e(0x215)](),_0x5f1487[_0x19441e(0x215)](),_0x4d791e({'emitter':_0x36ff35,'activator':()=>_0x5f1487[_0x19441e(0x1e9)],'contextElements':[_0x5f1487[_0x19441e(0x1dd)],_0x36ff35[_0x19441e(0x209)][_0x19441e(0x1dd)]],'callback':()=>this[_0x19441e(0x207)]()}),_0x8f00b5[_0x19441e(0x1c8)][_0x19441e(0x1f1)](_0x19441e(0x1c7))[_0x19441e(0x1bd)](_0x36ff35[_0x19441e(0x1dd)]),this[_0x19441e(0x1e2)]=new _0x365e0d(this[_0x19441e(0x1ea)][_0x19441e(0x1dc)]),this[_0x19441e(0x1e2)][_0x19441e(0x1fa)](),this[_0x19441e(0x1e2)][_0x19441e(0x21e)](this[_0x19441e(0x227)]),_0x36ff35;}[_0x24a08a(0x1d4)](_0x38efab){const _0xdafc1f=_0x24a08a;if(!this[_0xdafc1f(0x1ea)][_0xdafc1f(0x1c8)][_0xdafc1f(0x1f1)](_0xdafc1f(0x226))&&_0x38efab[_0xdafc1f(0x1f0)])return;const _0x2d0213=this[_0xdafc1f(0x1ea)][_0xdafc1f(0x1c8)][_0xdafc1f(0x1f1)](_0xdafc1f(0x1d7))-0x1;for(this[_0xdafc1f(0x1e8)]++;this[_0xdafc1f(0x1c4)][_0xdafc1f(0x1d3)]>=_0x2d0213-(this[_0xdafc1f(0x1be)][_0xdafc1f(0x21b)]?0x1:0x0)&&this[_0xdafc1f(0x1c4)][_0xdafc1f(0x1d3)]>0x1;)this[_0xdafc1f(0x1c4)][_0xdafc1f(0x1fe)](0x1);const _0x186af5=_0x38efab[_0xdafc1f(0x1f0)]?0x0:this[_0xdafc1f(0x1c4)][_0xdafc1f(0x1d3)];this[_0xdafc1f(0x1c4)][_0xdafc1f(0x21e)](_0x38efab,_0x186af5);}[_0x24a08a(0x1f3)](_0x5a4c2c){const _0x37c4f0=_0x24a08a;this[_0x37c4f0(0x1e8)]--;const {collapseAt:_0x1e034e}=this[_0x37c4f0(0x1ea)][_0x37c4f0(0x1c8)][_0x37c4f0(0x1f1)](_0x37c4f0(0x1f4)),_0x1ec2ef=this[_0x37c4f0(0x1e8)]>=_0x1e034e;if(this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1f1)](_0x5a4c2c['id']))this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1fe)](_0x5a4c2c['id']);else{if(_0x1ec2ef&&this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1d3)]+0x1===_0x1e034e-0x1)return;}if(this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1d3)]+(_0x1ec2ef?0x1:0x0)<this[_0x37c4f0(0x1e8)]){for(const _0xc351a4 of Array[_0x37c4f0(0x212)](this[_0x37c4f0(0x1cd)])[_0x37c4f0(0x206)]())if(!this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1f1)](_0xc351a4['id'])&&(this[_0x37c4f0(0x1c4)][_0x37c4f0(0x21e)](_0xc351a4,Math[_0x37c4f0(0x1e5)](this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1d3)]-(_0x1ec2ef?0x1:0x0),0x1)),this[_0x37c4f0(0x1c4)][_0x37c4f0(0x1d3)]+(_0x1ec2ef?0x1:0x0)===_0x1e034e-0x1))return;}}[_0x24a08a(0x202)](){const _0xc19355=_0x24a08a;if(this[_0xc19355(0x1c2)])return;const _0x3ea221=this[_0xc19355(0x1ea)][_0xc19355(0x1c8)][_0xc19355(0x1f1)](_0xc19355(0x1f4));this[_0xc19355(0x1c2)]=new _0xc9ae19(this[_0xc19355(0x1ea)][_0xc19355(0x1dc)],!!_0x3ea221[_0xc19355(0x1cc)]),this[_0xc19355(0x1be)][_0xc19355(0x209)][_0xc19355(0x222)]=!0x0,this[_0xc19355(0x223)](this[_0xc19355(0x1c2)],_0xc19355(0x213),()=>{const _0x146053=_0xc19355;this[_0x146053(0x1c2)]&&this[_0x146053(0x207)]();});const {listWrapperView:_0x137f53}=this[_0xc19355(0x1c2)];_0x137f53[_0xc19355(0x1de)][_0xc19355(0x228)](this[_0xc19355(0x1cd)])[_0xc19355(0x1eb)](_0x436c6a=>{const _0x1cce0f=_0xc19355;if(!_0x3ea221[_0x1cce0f(0x1ec)]&&_0x436c6a[_0x1cce0f(0x1f0)])return null;const _0x1125cf=new _0x12cacf(this[_0x1cce0f(0x1ea)][_0x1cce0f(0x1dc)],_0x436c6a,!!_0x3ea221[_0x1cce0f(0x1cc)]);return _0x3ea221[_0x1cce0f(0x1cc)]&&this[_0x1cce0f(0x223)](_0x1125cf,_0x1cce0f(0x203),()=>{const _0x48e626=_0x1cce0f;_0x3ea221[_0x48e626(0x1cc)](_0x436c6a,_0x1125cf[_0x48e626(0x1dd)]);}),_0x1125cf;}),this[_0xc19355(0x227)][_0xc19355(0x1fb)][_0xc19355(0x21e)](this[_0xc19355(0x1c2)]),this[_0xc19355(0x227)][_0xc19355(0x1c3)]({'target':this[_0xc19355(0x1be)][_0xc19355(0x209)][_0xc19355(0x1dd)]}),_0x137f53[_0xc19355(0x1c1)](),_0x137f53[_0xc19355(0x1d8)]();const _0x5f30bd=(_0x443d66,_0xe1991d)=>{const _0x4655f8=_0xc19355;this[_0x4655f8(0x207)](),this[_0x4655f8(0x1be)][_0x4655f8(0x209)][_0x4655f8(0x1c1)](),_0xe1991d();};_0x137f53[_0xc19355(0x1e6)][_0xc19355(0x1c9)](_0xc19355(0x20c),_0x5f30bd),_0x137f53[_0xc19355(0x1e6)][_0xc19355(0x1c9)](_0xc19355(0x20b),_0x5f30bd),_0x137f53[_0xc19355(0x1e6)][_0xc19355(0x1c9)](_0xc19355(0x1d2),(_0xbfefef,_0x2985df)=>{const _0x4cc705=_0xc19355;!function(_0x550200){const _0x2f4935=_0xc5af,_0x11f50c=['a',_0x2f4935(0x1d6),_0x2f4935(0x1c0),_0x2f4935(0x20d),_0x2f4935(0x1fd),_0x2f4935(0x1cf),_0x2f4935(0x1f9)][_0x2f4935(0x220)](_0x4687b0=>_0x4687b0+_0x2f4935(0x1da))[_0x2f4935(0x1f2)](','),_0x3c3343=[...document[_0x2f4935(0x1d5)][_0x2f4935(0x219)](_0x11f50c)][_0x2f4935(0x21a)](_0x4be29b=>_0x4be29b===document[_0x2f4935(0x205)]||_0x4be29b[_0x2f4935(0x1c6)]+_0x4be29b[_0x2f4935(0x1db)]>0x0)[_0x2f4935(0x1ff)]((_0x3cce41,_0x548e45)=>(_0x3cce41[_0x2f4935(0x204)]||0x0)-(_0x548e45[_0x2f4935(0x204)]||0x0)),_0x26aa2c=_0x3c3343[_0x2f4935(0x218)](_0x550200),_0x3a07ab=_0x3c3343[(_0x26aa2c+0x1)%_0x3c3343[_0x2f4935(0x1d3)]];_0x3a07ab&&_0x3a07ab[_0x2f4935(0x1c1)]();}(this[_0x4cc705(0x1be)][_0x4cc705(0x1dd)]),this[_0x4cc705(0x207)](),_0x2985df();}),_0x137f53[_0xc19355(0x1bc)][_0xc19355(0x21e)](this[_0xc19355(0x1be)][_0xc19355(0x1dd)]),_0x137f53[_0xc19355(0x1bc)]['on'](_0xc19355(0x1fc),(_0x22dff2,_0x5d2dcb,_0x140743)=>{const _0x540e2e=_0xc19355;_0x140743||this[_0x540e2e(0x207)]();});}[_0x24a08a(0x207)](){const _0x10a595=_0x24a08a;this[_0x10a595(0x1c2)]&&(this[_0x10a595(0x1be)][_0x10a595(0x209)][_0x10a595(0x222)]=!0x1,this[_0x10a595(0x227)][_0x10a595(0x1e7)](),this[_0x10a595(0x227)][_0x10a595(0x1fb)][_0x10a595(0x1fe)](this[_0x10a595(0x1c2)]),this[_0x10a595(0x1c2)][_0x10a595(0x1e0)](),this[_0x10a595(0x1c2)]=void 0x0);}[_0x24a08a(0x1e0)](){const _0x5edd56=_0x24a08a;super[_0x5edd56(0x1e0)](),this[_0x5edd56(0x1be)]&&this[_0x5edd56(0x1be)][_0x5edd56(0x1df)]&&this[_0x5edd56(0x1be)][_0x5edd56(0x1e0)](),this[_0x5edd56(0x1e2)]&&(this[_0x5edd56(0x1e2)][_0x5edd56(0x211)](),this[_0x5edd56(0x1e2)][_0x5edd56(0x1e0)](),this[_0x5edd56(0x1e2)]=null);}}
23
+ function _0x5767(){const _0x59f149=['textarea','change:isFocused','presencelist-collapseat-invalid-format','locale','presencelist:hide','pin','indexOf','offsetHeight','config','inlineListView','13011030lmSkLN','onClick','isRendered','execute','button','reverse','_createView','isMe','context','listenTo','365214fHOIdM','usersCount','select',':not([disabled]):not([tabindex=\x22-1\x22])','[contenteditable]','_bodyCollection','from','isExpanded','presenceList','define','min','requires','offsetWidth','presenceList.collapseAt','items','presencelist-missing-container','6420294giuIjl','Enter','bindTo','using','set','find','render','isPremiumPlugin','5167195VLhkey','plugins','_handleUserAdd','bind','element','balloonPanelView','ck\x20ck-presence-list__balloon','attachToDom','isFocusable','focus','_allConnectedUsers','Tab','view','class','body','PresenceListUI','unpin','presenceList.displayMe','remove','1895048gBSLQv','showDropdown','presenceDropdownView','querySelectorAll','7saNnvj','activeElement','[tabindex]','input','allConnectedUsers','presenceList.container','length','add','appendChild','content','get','12251488UcgeKb','destroy','pluginName','isCollapsed','currentDisplayedUsers','Esc','init','detachFromDom','join','5863240qXUrzt','presencelist:show','hideDropdown','Shift+Tab','hasTooltip','focusTracker','_handleUserRemove','number','counterView','sort','isVisible','map','2mePEQY','keystrokes','checkIfScrollable','5PvftFy','10UzmsDe','tabIndex','isOfficialPlugin','displayMe','filter'];_0x5767=function(){return _0x59f149;};return _0x5767();}const _0x20bad2=_0x1216;(function(_0x419b4d,_0x48289a){const _0x15fb43=_0x1216,_0x592427=_0x419b4d();while(!![]){try{const _0x188bf6=parseInt(_0x15fb43(0x189))/0x1*(parseInt(_0x15fb43(0x1ad))/0x2)+-parseInt(_0x15fb43(0x15e))/0x3+-parseInt(_0x15fb43(0x1a1))/0x4*(parseInt(_0x15fb43(0x1b0))/0x5)+parseInt(_0x15fb43(0x16e))/0x6+-parseInt(_0x15fb43(0x18d))/0x7*(-parseInt(_0x15fb43(0x198))/0x8)+-parseInt(_0x15fb43(0x154))/0x9+-parseInt(_0x15fb43(0x1b1))/0xa*(parseInt(_0x15fb43(0x176))/0xb);if(_0x188bf6===_0x48289a)break;else _0x592427['push'](_0x592427['shift']());}catch(_0x1dfe4c){_0x592427['push'](_0x592427['shift']());}}}(_0x5767,0xf2922));import{ContextPlugin as _0x2f22ef}from'ckeditor5/src/core.js';import{CKEditorError as _0xea2371,Collection as _0x1ae4e8}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x5b389b,BalloonPanelView as _0x5477c1,BodyCollection as _0x30058b}from'ckeditor5/src/ui.js';function _0x1216(_0x110a7d,_0x4f4bc4){const _0x5767e0=_0x5767();return _0x1216=function(_0x12166a,_0x1b4081){_0x12166a=_0x12166a-0x149;let _0x7f18dc=_0x5767e0[_0x12166a];return _0x7f18dc;},_0x1216(_0x110a7d,_0x4f4bc4);}import{isElement as _0x53b05a}from'es-toolkit/compat';import{Sessions as _0x124b69}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x503a00}from'./view/presencelistview.js';import{PresenceCounterView as _0x1f6761}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x2cc26f}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x4c092a}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x4ff279}from'./view/presenceinlinelistitemview.js';const st={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x2f22ef{[_0x20bad2(0x19c)];[_0x20bad2(0x17b)];[_0x20bad2(0x182)];[_0x20bad2(0x18b)];[_0x20bad2(0x163)]=null;static get[_0x20bad2(0x19a)](){const _0x295708=_0x20bad2;return _0x295708(0x185);}static get[_0x20bad2(0x1b3)](){return!0x0;}static get[_0x20bad2(0x175)](){return!0x0;}constructor(_0x564e7e){const _0x478a71=_0x20bad2;super(_0x564e7e),this[_0x478a71(0x15c)][_0x478a71(0x152)][_0x478a71(0x167)](_0x478a71(0x166),st);const _0x45fd70=_0x564e7e[_0x478a71(0x152)][_0x478a71(0x197)](_0x478a71(0x16b));if(_0x478a71(0x1a8)!=typeof _0x45fd70)throw new _0xea2371(_0x478a71(0x14c),this);if(_0x45fd70<0x1)throw new _0xea2371(_0x478a71(0x14c),this);this[_0x478a71(0x180)]=this[_0x478a71(0x15c)][_0x478a71(0x177)][_0x478a71(0x197)](_0x124b69)[_0x478a71(0x191)],this[_0x478a71(0x172)](_0x478a71(0x15f),0x0),this[_0x478a71(0x19c)]=new _0x1ae4e8(),this[_0x478a71(0x17b)]=new _0x5477c1(),this[_0x478a71(0x17b)][_0x478a71(0x183)]=_0x478a71(0x17c),this[_0x478a71(0x182)]=this[_0x478a71(0x15a)](),this[_0x478a71(0x18b)]=void 0x0;}static get[_0x20bad2(0x169)](){return[_0x124b69];}[_0x20bad2(0x19e)](){const _0x3905f4=_0x20bad2;for(const _0x15fb46 of this[_0x3905f4(0x180)])this[_0x3905f4(0x178)](_0x15fb46);this[_0x3905f4(0x15d)](this[_0x3905f4(0x180)],_0x3905f4(0x194),(_0x2a000f,_0x5a4558)=>{const _0x1f61eb=_0x3905f4;this[_0x1f61eb(0x178)](_0x5a4558);}),this[_0x3905f4(0x15d)](this[_0x3905f4(0x180)],_0x3905f4(0x188),(_0x2eb89e,_0x3728c4)=>{const _0x27fd17=_0x3905f4;this[_0x27fd17(0x1a7)](_0x3728c4);});}[_0x20bad2(0x15a)](){const _0x58978c=_0x20bad2,_0x25d835=this[_0x58978c(0x15c)],_0x52e125=new _0x503a00(this[_0x58978c(0x15c)][_0x58978c(0x14d)],this[_0x58978c(0x15c)][_0x58978c(0x152)][_0x58978c(0x197)](_0x58978c(0x16b))),_0x32f6b9=this[_0x58978c(0x17b)];if(!_0x53b05a(_0x25d835[_0x58978c(0x152)][_0x58978c(0x197)](_0x58978c(0x192))))throw new _0xea2371(_0x58978c(0x16d),this);return _0x52e125[_0x58978c(0x1a9)][_0x58978c(0x179)](_0x58978c(0x15f))['to'](this),_0x52e125[_0x58978c(0x179)](_0x58978c(0x19b))['to'](this,_0x58978c(0x15f),_0x9d5e34=>{const _0x1a94c=_0x58978c,{collapseAt:_0x54e2f6}=_0x25d835[_0x1a94c(0x152)][_0x1a94c(0x197)](_0x1a94c(0x166)),_0x563de0=_0x9d5e34>=_0x54e2f6;if(_0x563de0&&!_0x52e125[_0x1a94c(0x153)][_0x1a94c(0x16c)][_0x1a94c(0x173)](_0x3dce65=>_0x3dce65 instanceof _0x1f6761)){const _0x54879b=this[_0x1a94c(0x15c)][_0x1a94c(0x152)][_0x1a94c(0x197)](_0x1a94c(0x16b))-0x1;this[_0x1a94c(0x19c)][_0x1a94c(0x193)]==_0x54879b&&this[_0x1a94c(0x19c)][_0x1a94c(0x193)]>0x1&&this[_0x1a94c(0x19c)][_0x1a94c(0x188)](this[_0x1a94c(0x19c)][_0x1a94c(0x193)]-0x1),_0x52e125[_0x1a94c(0x153)][_0x1a94c(0x16c)][_0x1a94c(0x194)](_0x52e125[_0x1a94c(0x1a9)]);}return _0x563de0||this[_0x1a94c(0x1a3)](),_0x563de0;}),_0x52e125[_0x58978c(0x153)][_0x58978c(0x16c)][_0x58978c(0x170)](this[_0x58978c(0x19c)])[_0x58978c(0x171)](_0x41677a=>{const _0x26779d=_0x58978c,_0x16d506=_0x25d835[_0x26779d(0x152)][_0x26779d(0x197)](_0x26779d(0x166)),_0x4115b5=new _0x4ff279(_0x25d835[_0x26779d(0x14d)],_0x41677a,!!_0x16d506[_0x26779d(0x155)]);return _0x4115b5[_0x26779d(0x179)](_0x26779d(0x1a5))['to'](_0x52e125,_0x26779d(0x19b),_0x15a9e4=>!_0x15a9e4),_0x4115b5[_0x26779d(0x179)](_0x26779d(0x17e))['to'](_0x52e125,_0x26779d(0x19b),_0x50d313=>!_0x50d313),_0x16d506[_0x26779d(0x155)]&&this[_0x26779d(0x15d)](_0x4115b5,_0x26779d(0x157),()=>{const _0x13a41c=_0x26779d;this[_0x13a41c(0x182)][_0x13a41c(0x19b)]||_0x16d506[_0x13a41c(0x155)](_0x41677a,_0x4115b5[_0x13a41c(0x17a)]);}),_0x4115b5;}),this[_0x58978c(0x15d)](_0x52e125[_0x58978c(0x153)],_0x58978c(0x1a2),()=>{const _0xd9e6fb=_0x58978c;this[_0xd9e6fb(0x182)][_0xd9e6fb(0x19b)]&&this[_0xd9e6fb(0x18a)]();}),this[_0x58978c(0x15d)](_0x52e125[_0x58978c(0x153)],_0x58978c(0x14e),()=>{const _0x204393=_0x58978c;this[_0x204393(0x18b)]&&this[_0x204393(0x1a3)]();}),_0x52e125[_0x58978c(0x153)][_0x58978c(0x1ae)][_0x58978c(0x172)](_0x58978c(0x16f),(_0x4c4694,_0x587520)=>{const _0x37f36f=_0x58978c;this[_0x37f36f(0x182)][_0x37f36f(0x19b)]&&(this[_0x37f36f(0x18a)](),_0x587520());}),_0x52e125[_0x58978c(0x174)](),_0x32f6b9[_0x58978c(0x174)](),_0x5b389b({'emitter':_0x52e125,'activator':()=>_0x32f6b9[_0x58978c(0x1ab)],'contextElements':[_0x32f6b9[_0x58978c(0x17a)],_0x52e125[_0x58978c(0x153)][_0x58978c(0x17a)]],'callback':()=>this[_0x58978c(0x1a3)]()}),_0x25d835[_0x58978c(0x152)][_0x58978c(0x197)](_0x58978c(0x192))[_0x58978c(0x195)](_0x52e125[_0x58978c(0x17a)]),this[_0x58978c(0x163)]=new _0x30058b(this[_0x58978c(0x15c)][_0x58978c(0x14d)]),this[_0x58978c(0x163)][_0x58978c(0x17d)](),this[_0x58978c(0x163)][_0x58978c(0x194)](this[_0x58978c(0x17b)]),_0x52e125;}[_0x20bad2(0x178)](_0x186941){const _0x460d1d=_0x20bad2;if(!this[_0x460d1d(0x15c)][_0x460d1d(0x152)][_0x460d1d(0x197)](_0x460d1d(0x187))&&_0x186941[_0x460d1d(0x15b)])return;const _0x2bc0b9=this[_0x460d1d(0x15c)][_0x460d1d(0x152)][_0x460d1d(0x197)](_0x460d1d(0x16b))-0x1;for(this[_0x460d1d(0x15f)]++;this[_0x460d1d(0x19c)][_0x460d1d(0x193)]>=_0x2bc0b9-(this[_0x460d1d(0x182)][_0x460d1d(0x19b)]?0x1:0x0)&&this[_0x460d1d(0x19c)][_0x460d1d(0x193)]>0x1;)this[_0x460d1d(0x19c)][_0x460d1d(0x188)](0x1);const _0x544fcb=_0x186941[_0x460d1d(0x15b)]?0x0:this[_0x460d1d(0x19c)][_0x460d1d(0x193)];this[_0x460d1d(0x19c)][_0x460d1d(0x194)](_0x186941,_0x544fcb);}[_0x20bad2(0x1a7)](_0x1b8f8a){const _0x455113=_0x20bad2;this[_0x455113(0x15f)]--;const {collapseAt:_0x2495de}=this[_0x455113(0x15c)][_0x455113(0x152)][_0x455113(0x197)](_0x455113(0x166)),_0x56ded4=this[_0x455113(0x15f)]>=_0x2495de;if(this[_0x455113(0x19c)][_0x455113(0x197)](_0x1b8f8a['id']))this[_0x455113(0x19c)][_0x455113(0x188)](_0x1b8f8a['id']);else{if(_0x56ded4&&this[_0x455113(0x19c)][_0x455113(0x193)]+0x1===_0x2495de-0x1)return;}if(this[_0x455113(0x19c)][_0x455113(0x193)]+(_0x56ded4?0x1:0x0)<this[_0x455113(0x15f)]){for(const _0x325969 of Array[_0x455113(0x164)](this[_0x455113(0x180)])[_0x455113(0x159)]())if(!this[_0x455113(0x19c)][_0x455113(0x197)](_0x325969['id'])&&(this[_0x455113(0x19c)][_0x455113(0x194)](_0x325969,Math[_0x455113(0x168)](this[_0x455113(0x19c)][_0x455113(0x193)]-(_0x56ded4?0x1:0x0),0x1)),this[_0x455113(0x19c)][_0x455113(0x193)]+(_0x56ded4?0x1:0x0)===_0x2495de-0x1))return;}}[_0x20bad2(0x18a)](){const _0x3fea98=_0x20bad2;if(this[_0x3fea98(0x18b)])return;const _0xe30a7c=this[_0x3fea98(0x15c)][_0x3fea98(0x152)][_0x3fea98(0x197)](_0x3fea98(0x166));this[_0x3fea98(0x18b)]=new _0x2cc26f(this[_0x3fea98(0x15c)][_0x3fea98(0x14d)],!!_0xe30a7c[_0x3fea98(0x155)]),this[_0x3fea98(0x182)][_0x3fea98(0x153)][_0x3fea98(0x165)]=!0x0,this[_0x3fea98(0x15d)](this[_0x3fea98(0x18b)],_0x3fea98(0x14e),()=>{const _0x210d9e=_0x3fea98;this[_0x210d9e(0x18b)]&&this[_0x210d9e(0x1a3)]();});const {listWrapperView:_0xea3cd4}=this[_0x3fea98(0x18b)];_0xea3cd4[_0x3fea98(0x16c)][_0x3fea98(0x170)](this[_0x3fea98(0x180)])[_0x3fea98(0x171)](_0x239359=>{const _0x1814b8=_0x3fea98;if(!_0xe30a7c[_0x1814b8(0x1b4)]&&_0x239359[_0x1814b8(0x15b)])return null;const _0x38303e=new _0x4c092a(this[_0x1814b8(0x15c)][_0x1814b8(0x14d)],_0x239359,!!_0xe30a7c[_0x1814b8(0x155)]);return _0xe30a7c[_0x1814b8(0x155)]&&this[_0x1814b8(0x15d)](_0x38303e,_0x1814b8(0x157),()=>{const _0x2d36f1=_0x1814b8;_0xe30a7c[_0x2d36f1(0x155)](_0x239359,_0x38303e[_0x2d36f1(0x17a)]);}),_0x38303e;}),this[_0x3fea98(0x17b)][_0x3fea98(0x196)][_0x3fea98(0x194)](this[_0x3fea98(0x18b)]),this[_0x3fea98(0x17b)][_0x3fea98(0x14f)]({'target':this[_0x3fea98(0x182)][_0x3fea98(0x153)][_0x3fea98(0x17a)]}),_0xea3cd4[_0x3fea98(0x17f)](),_0xea3cd4[_0x3fea98(0x1af)]();const _0x31161b=(_0x1459f7,_0x44152d)=>{const _0x3baceb=_0x3fea98;this[_0x3baceb(0x1a3)](),this[_0x3baceb(0x182)][_0x3baceb(0x153)][_0x3baceb(0x17f)](),_0x44152d();};_0xea3cd4[_0x3fea98(0x1ae)][_0x3fea98(0x172)](_0x3fea98(0x19d),_0x31161b),_0xea3cd4[_0x3fea98(0x1ae)][_0x3fea98(0x172)](_0x3fea98(0x1a4),_0x31161b),_0xea3cd4[_0x3fea98(0x1ae)][_0x3fea98(0x172)](_0x3fea98(0x181),(_0x289aa5,_0x40b64c)=>{const _0x1ae186=_0x3fea98;!function(_0x51a824){const _0x24bf3d=_0x1216,_0x5d84df=['a',_0x24bf3d(0x158),_0x24bf3d(0x190),_0x24bf3d(0x160),_0x24bf3d(0x14a),_0x24bf3d(0x18f),_0x24bf3d(0x162)][_0x24bf3d(0x1ac)](_0xe230d3=>_0xe230d3+_0x24bf3d(0x161))[_0x24bf3d(0x1a0)](','),_0x4dc727=[...document[_0x24bf3d(0x184)][_0x24bf3d(0x18c)](_0x5d84df)][_0x24bf3d(0x149)](_0x1185bb=>_0x1185bb===document[_0x24bf3d(0x18e)]||_0x1185bb[_0x24bf3d(0x16a)]+_0x1185bb[_0x24bf3d(0x151)]>0x0)[_0x24bf3d(0x1aa)]((_0x5594c9,_0x529d90)=>(_0x5594c9[_0x24bf3d(0x1b2)]||0x0)-(_0x529d90[_0x24bf3d(0x1b2)]||0x0)),_0x499441=_0x4dc727[_0x24bf3d(0x150)](_0x51a824),_0x50355e=_0x4dc727[(_0x499441+0x1)%_0x4dc727[_0x24bf3d(0x193)]];_0x50355e&&_0x50355e[_0x24bf3d(0x17f)]();}(this[_0x1ae186(0x182)][_0x1ae186(0x17a)]),this[_0x1ae186(0x1a3)](),_0x40b64c();}),_0xea3cd4[_0x3fea98(0x1a6)][_0x3fea98(0x194)](this[_0x3fea98(0x182)][_0x3fea98(0x17a)]),_0xea3cd4[_0x3fea98(0x1a6)]['on'](_0x3fea98(0x14b),(_0x74732e,_0x1281ce,_0x241a61)=>{const _0x41aa30=_0x3fea98;_0x241a61||this[_0x41aa30(0x1a3)]();});}[_0x20bad2(0x1a3)](){const _0x2de60b=_0x20bad2;this[_0x2de60b(0x18b)]&&(this[_0x2de60b(0x182)][_0x2de60b(0x153)][_0x2de60b(0x165)]=!0x1,this[_0x2de60b(0x17b)][_0x2de60b(0x186)](),this[_0x2de60b(0x17b)][_0x2de60b(0x196)][_0x2de60b(0x188)](this[_0x2de60b(0x18b)]),this[_0x2de60b(0x18b)][_0x2de60b(0x199)](),this[_0x2de60b(0x18b)]=void 0x0);}[_0x20bad2(0x199)](){const _0x483ed2=_0x20bad2;super[_0x483ed2(0x199)](),this[_0x483ed2(0x182)]&&this[_0x483ed2(0x182)][_0x483ed2(0x156)]&&this[_0x483ed2(0x182)][_0x483ed2(0x199)](),this[_0x483ed2(0x163)]&&(this[_0x483ed2(0x163)][_0x483ed2(0x19f)](),this[_0x483ed2(0x163)][_0x483ed2(0x199)](),this[_0x483ed2(0x163)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x495346=_0x40b2;function _0x3def(){const _0x276323=['45178144ipMMzA','true','ck-user__full-name','name','element','2139266HEmCSY','4629900wbepkI','ck-presence-list__marker','1653972aPrkMC','userView','button','852468RDKFby','4814380vCRjSu','1477836iwYTOF','presentation','tag','span','setTemplate','focus','7IrKmHd','fire','execute','ck-presence-list__dropdown-list-item','getBackgroundColorClass','bindTemplate','color'];_0x3def=function(){return _0x276323;};return _0x3def();}(function(_0x3caabe,_0x1cb4b6){const _0x4699dc=_0x40b2,_0x3ae6e5=_0x3caabe();while(!![]){try{const _0x5bce83=-parseInt(_0x4699dc(0xf2))/0x1+-parseInt(_0x4699dc(0xef))/0x2+-parseInt(_0x4699dc(0xf7))/0x3+parseInt(_0x4699dc(0xf5))/0x4+-parseInt(_0x4699dc(0xf6))/0x5+-parseInt(_0x4699dc(0xf0))/0x6+-parseInt(_0x4699dc(0xfd))/0x7*(-parseInt(_0x4699dc(0xea))/0x8);if(_0x5bce83===_0x1cb4b6)break;else _0x3ae6e5['push'](_0x3ae6e5['shift']());}catch(_0x4cf75c){_0x3ae6e5['push'](_0x3ae6e5['shift']());}}}(_0x3def,0xde14a));import{ListItemView as _0x50046b}from'ckeditor5/src/ui.js';import{UserView as _0x2c2525}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40b2(_0x14b57f,_0x420777){const _0x3def6d=_0x3def();return _0x40b2=function(_0x40b2b9,_0x15a500){_0x40b2b9=_0x40b2b9-0xe9;let _0x2966c0=_0x3def6d[_0x40b2b9];return _0x2966c0;},_0x40b2(_0x14b57f,_0x420777);}export class PresenceDropdownListItemView extends _0x50046b{[_0x495346(0xf3)];constructor(_0x2d5a4d,_0x372642,_0x50a912){const _0x3e43b3=_0x495346;super(_0x2d5a4d);const _0x150b1b=this[_0x3e43b3(0x102)];this[_0x3e43b3(0xf3)]=new _0x2c2525(_0x2d5a4d,_0x372642);const _0x5bf11c={'tag':'li','attributes':{'class':['ck',_0x3e43b3(0x100)],'tabindex':-0x1,'role':_0x3e43b3(0xf8),'aria-label':_0x372642[_0x3e43b3(0xed)]},'children':[this[_0x3e43b3(0xf3)],{'tag':_0x3e43b3(0xfa),'attributes':{'class':['ck',_0x3e43b3(0xec)]},'children':[{'text':_0x372642[_0x3e43b3(0xed)]}]},{'tag':_0x3e43b3(0xfa),'attributes':{'class':['ck',_0x3e43b3(0xf1),_0x372642[_0x3e43b3(0xe9)][_0x3e43b3(0x101)]()],'aria-hidden':_0x3e43b3(0xeb)}}]};_0x50a912&&(_0x5bf11c[_0x3e43b3(0xf9)]=_0x3e43b3(0xf4),_0x5bf11c['on']={'click':_0x150b1b['to'](()=>this[_0x3e43b3(0xfe)](_0x3e43b3(0xff)))}),this[_0x3e43b3(0xfb)](_0x5bf11c);}[_0x495346(0xfc)](){const _0x379523=_0x495346;this[_0x379523(0xee)][_0x379523(0xfc)]();}}
23
+ const _0x3b7e88=_0x57a3;function _0x57a3(_0x55e7aa,_0x455024){const _0x140715=_0x1407();return _0x57a3=function(_0x57a38b,_0x3bffba){_0x57a38b=_0x57a38b-0x10e;let _0x55d992=_0x140715[_0x57a38b];return _0x55d992;},_0x57a3(_0x55e7aa,_0x455024);}(function(_0x51cd8d,_0x562755){const _0x4958df=_0x57a3,_0x2f6a19=_0x51cd8d();while(!![]){try{const _0xfc68e=-parseInt(_0x4958df(0x117))/0x1+parseInt(_0x4958df(0x127))/0x2*(-parseInt(_0x4958df(0x114))/0x3)+parseInt(_0x4958df(0x124))/0x4+parseInt(_0x4958df(0x11d))/0x5+-parseInt(_0x4958df(0x110))/0x6*(-parseInt(_0x4958df(0x115))/0x7)+-parseInt(_0x4958df(0x10e))/0x8+parseInt(_0x4958df(0x122))/0x9*(parseInt(_0x4958df(0x119))/0xa);if(_0xfc68e===_0x562755)break;else _0x2f6a19['push'](_0x2f6a19['shift']());}catch(_0x4bc8fc){_0x2f6a19['push'](_0x2f6a19['shift']());}}}(_0x1407,0x5a8f3));function _0x1407(){const _0x209a6c=['button','255798otndFO','getBackgroundColorClass','2737656XapjmT','true','ck-user__full-name','2zkctrh','tag','execute','5782072cBTkAh','presentation','4185042dbkCzI','userView','color','ck-presence-list__dropdown-list-item','1557771kHozQz','7tUFoCs','bindTemplate','568113GsUzdj','element','60cwbKEY','span','focus','name','3143035EpBAVL','ck-presence-list__marker','fire','setTemplate'];_0x1407=function(){return _0x209a6c;};return _0x1407();}import{ListItemView as _0x57d528}from'ckeditor5/src/ui.js';import{UserView as _0x3caf7d}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x57d528{[_0x3b7e88(0x111)];constructor(_0x36b0b7,_0x196d3a,_0x52b355){const _0x2f014b=_0x3b7e88;super(_0x36b0b7);const _0x2ec0b1=this[_0x2f014b(0x116)];this[_0x2f014b(0x111)]=new _0x3caf7d(_0x36b0b7,_0x196d3a);const _0x50a586={'tag':'li','attributes':{'class':['ck',_0x2f014b(0x113)],'tabindex':-0x1,'role':_0x2f014b(0x10f),'aria-label':_0x196d3a[_0x2f014b(0x11c)]},'children':[this[_0x2f014b(0x111)],{'tag':_0x2f014b(0x11a),'attributes':{'class':['ck',_0x2f014b(0x126)]},'children':[{'text':_0x196d3a[_0x2f014b(0x11c)]}]},{'tag':_0x2f014b(0x11a),'attributes':{'class':['ck',_0x2f014b(0x11e),_0x196d3a[_0x2f014b(0x112)][_0x2f014b(0x123)]()],'aria-hidden':_0x2f014b(0x125)}}]};_0x52b355&&(_0x50a586[_0x2f014b(0x128)]=_0x2f014b(0x121),_0x50a586['on']={'click':_0x2ec0b1['to'](()=>this[_0x2f014b(0x11f)](_0x2f014b(0x129)))}),this[_0x2f014b(0x120)](_0x50a586);}[_0x3b7e88(0x11b)](){const _0x307726=_0x3b7e88;this[_0x307726(0x118)][_0x307726(0x11b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x435c61=_0x2b61;(function(_0x18fd1f,_0x250cb8){const _0x221b0f=_0x2b61,_0x1f4806=_0x18fd1f();while(!![]){try{const _0x14419f=-parseInt(_0x221b0f(0x1a5))/0x1*(-parseInt(_0x221b0f(0x1a8))/0x2)+parseInt(_0x221b0f(0x1bc))/0x3*(-parseInt(_0x221b0f(0x1ab))/0x4)+parseInt(_0x221b0f(0x1ac))/0x5+parseInt(_0x221b0f(0x1b3))/0x6*(parseInt(_0x221b0f(0x1b9))/0x7)+-parseInt(_0x221b0f(0x1c1))/0x8+parseInt(_0x221b0f(0x1ae))/0x9*(parseInt(_0x221b0f(0x1aa))/0xa)+parseInt(_0x221b0f(0x1b8))/0xb;if(_0x14419f===_0x250cb8)break;else _0x1f4806['push'](_0x1f4806['shift']());}catch(_0x3d4858){_0x1f4806['push'](_0x1f4806['shift']());}}}(_0x451a,0xabcf2));import{ListView as _0x11f799,View as _0x16c7a7}from'ckeditor5/src/ui.js';import{global as _0x384569}from'ckeditor5/src/utils.js';function _0x451a(){const _0x5c0048=['_isScrollable','ck-reset','ck-presence-list__dropdown-list-wrapper_scrollable','486PztXmz','set','ck-presence-list__dropdown-list','Connected\x20users\x20list\x20dropdown\x20menu','contains','14508494XNaOrW','20797JowcjR','element','clientHeight','1582359QihRck','items','role','presencelist:hide','application','8921240QYsDWQ','render','relatedTarget','listWrapperView','max','innerHeight','resize','fire','ariaLabelledBy','ck-list','checkIfScrollable','window','querySelector','change','.ck-balloon-panel_with-arrow','listenTo','scrollHeight','ariaLabel','34qdiZmb','setTemplate','.ck-presence-list__list','40594YcMKGj','bindTemplate','280ZXwMZS','8MNraZP','2579060OtxLXI','div','34803OGVMOZ','ck-presence-list__dropdown-list-wrapper'];_0x451a=function(){return _0x5c0048;};return _0x451a();}import{getTranslation as _0x539766}from'../../common-translations.js';function _0x2b61(_0x4f8a9b,_0x2f754e){const _0x451ae5=_0x451a();return _0x2b61=function(_0x2b6161,_0x339692){_0x2b6161=_0x2b6161-0x19e;let _0x42d9d5=_0x451ae5[_0x2b6161];return _0x42d9d5;},_0x2b61(_0x4f8a9b,_0x2f754e);}export class PresenceDropdownListView extends _0x16c7a7{[_0x435c61(0x1c4)];constructor(_0x5c5c1e,_0x4977eb){const _0x2940b4=_0x435c61;super(_0x5c5c1e);const _0x1145e2=this[_0x2940b4(0x1a9)];this[_0x2940b4(0x1c4)]=new PresenceDropdownListWrapperView(_0x5c5c1e,_0x4977eb),this[_0x2940b4(0x1a6)]({'tag':_0x2940b4(0x1ad),'attributes':{'tabindex':-0x1,'role':_0x2940b4(0x1c0),'class':['ck',_0x2940b4(0x1b5)],'aria-label':_0x539766(_0x5c5c1e,_0x2940b4(0x1b6))},'children':[this[_0x2940b4(0x1c4)]],'on':{'mouseleave':_0x1145e2['to'](_0x55c2a8=>{const _0x193086=_0x2940b4,_0x2333a7=_0x55c2a8,_0x4408c6=document[_0x193086(0x19f)](_0x193086(0x1a7)),_0xba2522=document[_0x193086(0x19f)](_0x193086(0x1a1));_0x4408c6?.[_0x193086(0x1b7)](_0x2333a7[_0x193086(0x1c3)])||_0xba2522?.[_0x193086(0x1b7)](_0x2333a7[_0x193086(0x1c3)])||this[_0x193086(0x1c8)](_0x193086(0x1bf));})}});}}export class PresenceDropdownListWrapperView extends _0x11f799{constructor(_0x249bfc,_0x1605b5){const _0x50a20c=_0x435c61;super(_0x249bfc);const _0x45eb0f=this[_0x50a20c(0x1a9)];this[_0x50a20c(0x1b4)](_0x50a20c(0x1b0),!0x1),this[_0x50a20c(0x1a6)]({'tag':_0x1605b5?_0x50a20c(0x1ad):'ul','attributes':{'class':['ck',_0x50a20c(0x1b1),_0x50a20c(0x1ca),_0x50a20c(0x1af),_0x45eb0f['if'](_0x50a20c(0x1b0),_0x50a20c(0x1b2))],'role':_0x45eb0f['to'](_0x50a20c(0x1be)),'aria-label':_0x45eb0f['to'](_0x50a20c(0x1a4)),'aria-labelledby':_0x45eb0f['to'](_0x50a20c(0x1c9))},'children':this[_0x50a20c(0x1bd)]}),this[_0x50a20c(0x1a2)](_0x384569[_0x50a20c(0x19e)],_0x50a20c(0x1c7),()=>this[_0x50a20c(0x1cb)]()),this[_0x50a20c(0x1bd)]['on'](_0x50a20c(0x1a0),()=>this[_0x50a20c(0x1cb)]());}[_0x435c61(0x1c2)](){const _0x1366dd=_0x435c61;super[_0x1366dd(0x1c2)](),this[_0x1366dd(0x1cb)]();}[_0x435c61(0x1cb)](){const _0x1818f2=_0x435c61,_0x103819=this[_0x1818f2(0x1ba)];_0x103819&&(this[_0x1818f2(0x1b0)]=Math[_0x1818f2(0x1c5)](_0x103819[_0x1818f2(0x1a3)],_0x103819[_0x1818f2(0x1bb)])>0.8*window[_0x1818f2(0x1c6)]);}}
23
+ function _0x15e0(){const _0x2c6f03=['869148NxijvO','.ck-presence-list__list','presencelist:hide','488RQlbFR','ariaLabel','items','.ck-balloon-panel_with-arrow','resize','_isScrollable','bindTemplate','15596AHqIzJ','setTemplate','relatedTarget','contains','innerHeight','change','max','3521660aNOdSE','23096270rqvUmG','checkIfScrollable','14962jPPfBW','ck-presence-list__dropdown-list','element','384CTnJKt','223589mSlmDX','fire','render','listWrapperView','ck-list','listenTo','application','div','window','ariaLabelledBy','clientHeight','set','ck-reset','ck-presence-list__dropdown-list-wrapper_scrollable','159tRDFEb','role','118476AOWlpT','ck-presence-list__dropdown-list-wrapper','querySelector','Connected\x20users\x20list\x20dropdown\x20menu','scrollHeight'];_0x15e0=function(){return _0x2c6f03;};return _0x15e0();}const _0x2af4ef=_0x33ba;(function(_0x1c9ab8,_0x1d913c){const _0x394aaf=_0x33ba,_0x5beebe=_0x1c9ab8();while(!![]){try{const _0x23f345=-parseInt(_0x394aaf(0x1b5))/0x1+-parseInt(_0x394aaf(0x1b1))/0x2*(parseInt(_0x394aaf(0x196))/0x3)+parseInt(_0x394aaf(0x19d))/0x4+-parseInt(_0x394aaf(0x1ae))/0x5+-parseInt(_0x394aaf(0x1b4))/0x6*(-parseInt(_0x394aaf(0x1a7))/0x7)+-parseInt(_0x394aaf(0x1a0))/0x8*(parseInt(_0x394aaf(0x198))/0x9)+parseInt(_0x394aaf(0x1af))/0xa;if(_0x23f345===_0x1d913c)break;else _0x5beebe['push'](_0x5beebe['shift']());}catch(_0x55b56b){_0x5beebe['push'](_0x5beebe['shift']());}}}(_0x15e0,0x84588));import{ListView as _0x386478,View as _0x432947}from'ckeditor5/src/ui.js';import{global as _0x5e444b}from'ckeditor5/src/utils.js';import{getTranslation as _0x3e7934}from'../../common-translations.js';export class PresenceDropdownListView extends _0x432947{[_0x2af4ef(0x1b8)];constructor(_0x5daf6c,_0x2ee344){const _0x2ae03b=_0x2af4ef;super(_0x5daf6c);const _0x4c4542=this[_0x2ae03b(0x1a6)];this[_0x2ae03b(0x1b8)]=new PresenceDropdownListWrapperView(_0x5daf6c,_0x2ee344),this[_0x2ae03b(0x1a8)]({'tag':_0x2ae03b(0x1bc),'attributes':{'tabindex':-0x1,'role':_0x2ae03b(0x1bb),'class':['ck',_0x2ae03b(0x1b2)],'aria-label':_0x3e7934(_0x5daf6c,_0x2ae03b(0x19b))},'children':[this[_0x2ae03b(0x1b8)]],'on':{'mouseleave':_0x4c4542['to'](_0x50207b=>{const _0x2a4433=_0x2ae03b,_0x343408=_0x50207b,_0x3606ab=document[_0x2a4433(0x19a)](_0x2a4433(0x19e)),_0x285309=document[_0x2a4433(0x19a)](_0x2a4433(0x1a3));_0x3606ab?.[_0x2a4433(0x1aa)](_0x343408[_0x2a4433(0x1a9)])||_0x285309?.[_0x2a4433(0x1aa)](_0x343408[_0x2a4433(0x1a9)])||this[_0x2a4433(0x1b6)](_0x2a4433(0x19f));})}});}}function _0x33ba(_0x3b90fd,_0x51bbcf){const _0x15e07c=_0x15e0();return _0x33ba=function(_0x33ba08,_0x291a1c){_0x33ba08=_0x33ba08-0x192;let _0x264e48=_0x15e07c[_0x33ba08];return _0x264e48;},_0x33ba(_0x3b90fd,_0x51bbcf);}export class PresenceDropdownListWrapperView extends _0x386478{constructor(_0x4e2529,_0x2b06bd){const _0x569457=_0x2af4ef;super(_0x4e2529);const _0x4bd5ab=this[_0x569457(0x1a6)];this[_0x569457(0x193)](_0x569457(0x1a5),!0x1),this[_0x569457(0x1a8)]({'tag':_0x2b06bd?_0x569457(0x1bc):'ul','attributes':{'class':['ck',_0x569457(0x194),_0x569457(0x1b9),_0x569457(0x199),_0x4bd5ab['if'](_0x569457(0x1a5),_0x569457(0x195))],'role':_0x4bd5ab['to'](_0x569457(0x197)),'aria-label':_0x4bd5ab['to'](_0x569457(0x1a1)),'aria-labelledby':_0x4bd5ab['to'](_0x569457(0x1be))},'children':this[_0x569457(0x1a2)]}),this[_0x569457(0x1ba)](_0x5e444b[_0x569457(0x1bd)],_0x569457(0x1a4),()=>this[_0x569457(0x1b0)]()),this[_0x569457(0x1a2)]['on'](_0x569457(0x1ac),()=>this[_0x569457(0x1b0)]());}[_0x2af4ef(0x1b7)](){const _0x32a28f=_0x2af4ef;super[_0x32a28f(0x1b7)](),this[_0x32a28f(0x1b0)]();}[_0x2af4ef(0x1b0)](){const _0x2431f7=_0x2af4ef,_0x32c4ad=this[_0x2431f7(0x1b3)];_0x32c4ad&&(this[_0x2431f7(0x1a5)]=Math[_0x2431f7(0x1ad)](_0x32c4ad[_0x2431f7(0x19c)],_0x32c4ad[_0x2431f7(0x192)])>0.8*window[_0x2431f7(0x1ab)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd2eee=_0x42bc;(function(_0x37ce30,_0x20b5fb){const _0x4125a2=_0x42bc,_0x3f39b2=_0x37ce30();while(!![]){try{const _0x49e31a=parseInt(_0x4125a2(0x7c))/0x1+parseInt(_0x4125a2(0x7f))/0x2*(parseInt(_0x4125a2(0x87))/0x3)+parseInt(_0x4125a2(0x90))/0x4*(parseInt(_0x4125a2(0x8c))/0x5)+-parseInt(_0x4125a2(0x8a))/0x6*(parseInt(_0x4125a2(0x93))/0x7)+-parseInt(_0x4125a2(0x94))/0x8*(parseInt(_0x4125a2(0x89))/0x9)+parseInt(_0x4125a2(0x7d))/0xa+-parseInt(_0x4125a2(0x75))/0xb;if(_0x49e31a===_0x20b5fb)break;else _0x3f39b2['push'](_0x3f39b2['shift']());}catch(_0x209e87){_0x3f39b2['push'](_0x3f39b2['shift']());}}}(_0x25ba,0xb6894));function _0x42bc(_0x23c611,_0x5ccb7a){const _0x25ba93=_0x25ba();return _0x42bc=function(_0x42bc63,_0x2f5360){_0x42bc63=_0x42bc63-0x75;let _0x2947f6=_0x25ba93[_0x42bc63];return _0x2947f6;},_0x42bc(_0x23c611,_0x5ccb7a);}function _0x25ba(){const _0x2d55a1=['64qSJSjT','text','execute','name','getBackgroundColorClass','true','ck-presence-list__list-item','listitem','99567llxUXv','userView','54ZDXWSn','150tmfUyZ','markerView','10kLEEZY','setTemplate','set','button','2072344voLhyt','isFocusable','span','336693FzkOsq','1600264GztRwM','template','bindTemplate','div','8654063cvHweD','hasTooltip','ck-presence-list__marker','color','fire','ck-presence-list__list-item__tooltip','tag','1273811rnimvb','5650430SzzCEF','tooltipPosition'];_0x25ba=function(){return _0x2d55a1;};return _0x25ba();}import{LabelView as _0x3d0b2c,View as _0x1dafd4}from'ckeditor5/src/ui.js';import{UserView as _0x3dca5d}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x1dafd4{[_0xd2eee(0x88)];[_0xd2eee(0x8b)];constructor(_0x49a443,_0x1b2790,_0x3af843){const _0x9769b0=_0xd2eee;super(_0x49a443);const _0x318df5=this[_0x9769b0(0x96)];this[_0x9769b0(0x8e)](_0x9769b0(0x91),!0x1),this[_0x9769b0(0x8e)](_0x9769b0(0x76),!0x0),this[_0x9769b0(0x8e)](_0x9769b0(0x7e),''),this[_0x9769b0(0x88)]=new _0x3dca5d(_0x49a443,_0x1b2790),this[_0x9769b0(0x8b)]=new ot(_0x49a443,_0x1b2790);const _0x4a8d76=new _0x3d0b2c(_0x49a443);_0x4a8d76[_0x9769b0(0x95)][_0x9769b0(0x7b)]=_0x9769b0(0x92),_0x4a8d76[_0x9769b0(0x80)]=_0x1b2790[_0x9769b0(0x82)];const _0xc8d56c={'tag':_0x9769b0(0x97),'attributes':{'class':['ck',_0x9769b0(0x85)],'role':_0x9769b0(0x86),'tabindex':_0x318df5['to'](_0x9769b0(0x91),_0x3de942=>!!_0x3de942&&0x0),'aria-labelledby':_0x4a8d76['id'],'data-cke-tooltip-text':this[_0x9769b0(0x88)][_0x9769b0(0x82)],'data-cke-tooltip-position':_0x318df5['to'](_0x9769b0(0x7e)),'data-cke-tooltip-disabled':_0x318df5['to'](_0x9769b0(0x76),_0x494fb8=>!_0x494fb8),'data-cke-tooltip-class':_0x9769b0(0x7a)},'children':[this[_0x9769b0(0x88)],this[_0x9769b0(0x8b)],_0x4a8d76]};_0x3af843&&(_0xc8d56c[_0x9769b0(0x7b)]=_0x9769b0(0x8f),_0xc8d56c['on']={'click':_0x318df5['to'](()=>this[_0x9769b0(0x79)](_0x9769b0(0x81)))}),this[_0x9769b0(0x8d)](_0xc8d56c);}}class ot extends _0x1dafd4{constructor(_0x530f2a,_0x528f58){const _0x210e06=_0xd2eee;super(_0x530f2a),this[_0x210e06(0x8d)]({'tag':_0x210e06(0x92),'attributes':{'class':['ck',_0x210e06(0x77),_0x528f58[_0x210e06(0x78)][_0x210e06(0x83)]()],'aria-hidden':_0x210e06(0x84)}});}}
23
+ const _0xb77fe2=_0x1c51;(function(_0x156a33,_0x87a89e){const _0x23595d=_0x1c51,_0xf5a2b3=_0x156a33();while(!![]){try{const _0x34ebb6=parseInt(_0x23595d(0x159))/0x1*(parseInt(_0x23595d(0x156))/0x2)+parseInt(_0x23595d(0x148))/0x3*(-parseInt(_0x23595d(0x15f))/0x4)+-parseInt(_0x23595d(0x146))/0x5*(parseInt(_0x23595d(0x141))/0x6)+-parseInt(_0x23595d(0x142))/0x7+parseInt(_0x23595d(0x162))/0x8+parseInt(_0x23595d(0x14c))/0x9+-parseInt(_0x23595d(0x152))/0xa*(parseInt(_0x23595d(0x14e))/0xb);if(_0x34ebb6===_0x87a89e)break;else _0xf5a2b3['push'](_0xf5a2b3['shift']());}catch(_0x20c8c4){_0xf5a2b3['push'](_0xf5a2b3['shift']());}}}(_0x19c7,0x42b18));import{LabelView as _0x44d8c1,View as _0x1262c0}from'ckeditor5/src/ui.js';function _0x1c51(_0x2b1b7f,_0x452c30){const _0x19c75b=_0x19c7();return _0x1c51=function(_0x1c5154,_0x32755b){_0x1c5154=_0x1c5154-0x140;let _0x3a8506=_0x19c75b[_0x1c5154];return _0x3a8506;},_0x1c51(_0x2b1b7f,_0x452c30);}import{UserView as _0x201727}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x1262c0{[_0xb77fe2(0x149)];[_0xb77fe2(0x160)];constructor(_0x57941b,_0x5595ad,_0x5af44b){const _0x30e479=_0xb77fe2;super(_0x57941b);const _0x21d6fb=this[_0x30e479(0x14f)];this[_0x30e479(0x15e)](_0x30e479(0x154),!0x1),this[_0x30e479(0x15e)](_0x30e479(0x15b),!0x0),this[_0x30e479(0x15e)](_0x30e479(0x14a),''),this[_0x30e479(0x149)]=new _0x201727(_0x57941b,_0x5595ad),this[_0x30e479(0x160)]=new nt(_0x57941b,_0x5595ad);const _0x3d97f5=new _0x44d8c1(_0x57941b);_0x3d97f5[_0x30e479(0x15c)][_0x30e479(0x155)]=_0x30e479(0x157),_0x3d97f5[_0x30e479(0x147)]=_0x5595ad[_0x30e479(0x144)];const _0x5076a8={'tag':_0x30e479(0x15d),'attributes':{'class':['ck',_0x30e479(0x153)],'role':_0x30e479(0x140),'tabindex':_0x21d6fb['to'](_0x30e479(0x154),_0x2a2970=>!!_0x2a2970&&0x0),'aria-labelledby':_0x3d97f5['id'],'data-cke-tooltip-text':this[_0x30e479(0x149)][_0x30e479(0x144)],'data-cke-tooltip-position':_0x21d6fb['to'](_0x30e479(0x14a)),'data-cke-tooltip-disabled':_0x21d6fb['to'](_0x30e479(0x15b),_0x18d9f8=>!_0x18d9f8),'data-cke-tooltip-class':_0x30e479(0x14d)},'children':[this[_0x30e479(0x149)],this[_0x30e479(0x160)],_0x3d97f5]};_0x5af44b&&(_0x5076a8[_0x30e479(0x155)]=_0x30e479(0x161),_0x5076a8['on']={'click':_0x21d6fb['to'](()=>this[_0x30e479(0x151)](_0x30e479(0x143)))}),this[_0x30e479(0x158)](_0x5076a8);}}class nt extends _0x1262c0{constructor(_0x20e2ed,_0x5d30d5){const _0x3eae93=_0xb77fe2;super(_0x20e2ed),this[_0x3eae93(0x158)]({'tag':_0x3eae93(0x157),'attributes':{'class':['ck',_0x3eae93(0x145),_0x5d30d5[_0x3eae93(0x15a)][_0x3eae93(0x14b)]()],'aria-hidden':_0x3eae93(0x150)}});}}function _0x19c7(){const _0x44524c=['bindTemplate','true','fire','270zWuvxw','ck-presence-list__list-item','isFocusable','tag','10XgAXDU','span','setTemplate','72973zxCDES','color','hasTooltip','template','div','set','3636egvnZd','markerView','button','2746192EVXnSP','listitem','14778gZWOrs','823088POfplU','execute','name','ck-presence-list__marker','785zClFUE','text','453GaCpuC','userView','tooltipPosition','getBackgroundColorClass','4615974fivuKw','ck-presence-list__list-item__tooltip','124795iqNFjX'];_0x19c7=function(){return _0x44524c;};return _0x19c7();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4aa560=_0x25bb;(function(_0x38fd58,_0x5b39c7){const _0x21cd7b=_0x25bb,_0x5f37dc=_0x38fd58();while(!![]){try{const _0x508147=-parseInt(_0x21cd7b(0xbd))/0x1*(-parseInt(_0x21cd7b(0xb2))/0x2)+parseInt(_0x21cd7b(0xc6))/0x3+parseInt(_0x21cd7b(0xc8))/0x4+parseInt(_0x21cd7b(0xc7))/0x5+-parseInt(_0x21cd7b(0xb8))/0x6*(-parseInt(_0x21cd7b(0xcc))/0x7)+-parseInt(_0x21cd7b(0xd3))/0x8+parseInt(_0x21cd7b(0xd6))/0x9*(-parseInt(_0x21cd7b(0xd0))/0xa);if(_0x508147===_0x5b39c7)break;else _0x5f37dc['push'](_0x5f37dc['shift']());}catch(_0x5576aa){_0x5f37dc['push'](_0x5f37dc['shift']());}}}(_0x5865,0x42346));import{View as _0x8bad27}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2e2acc}from'ckeditor5/src/utils.js';function _0x5865(){const _0x31030b=['Connected\x20users\x20list','bindTemplate','render','276VvaXsz','setTemplate','set','element','items','20255DmeJoi','div','keystrokes','removeAttribute','presencelist:show','listenTo','.ck-balloon-panel_with-arrow','querySelector','aria-expanded','722559sEgBjw','1920000AxEewr','785864PPtRkA','relatedTarget','setAttribute','ck-presence-list__list','24542IfyAmw','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','presencelist:hide','isExpanded','6552870IzgiFR','list','createCollection','2555592EryyLu','hasPopup','focus','9DKLhmi','change:hasPopup','contains','26kHXzNG','fire','.ck-presence-list__dropdown-list'];_0x5865=function(){return _0x31030b;};return _0x5865();}import{getTranslation as _0x44a656}from'../../common-translations.js';function _0x25bb(_0x201af0,_0x3000be){const _0x586597=_0x5865();return _0x25bb=function(_0x25bbb5,_0x35cede){_0x25bbb5=_0x25bbb5-0xb1;let _0x3a2f15=_0x586597[_0x25bbb5];return _0x3a2f15;},_0x25bb(_0x201af0,_0x3000be);}export class PresenceInlineListView extends _0x8bad27{[_0x4aa560(0xbc)];[_0x4aa560(0xbf)];constructor(_0x3ad6d7){const _0x4157e8=_0x4aa560;super(_0x3ad6d7);const _0x26940d=this[_0x4157e8(0xb6)];this[_0x4157e8(0xbc)]=this[_0x4157e8(0xd2)](),this[_0x4157e8(0xbf)]=new _0x2e2acc(),this[_0x4157e8(0xba)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4157e8(0xb9)]({'tag':_0x4157e8(0xbe),'attributes':{'aria-haspopup':_0x26940d['if'](_0x4157e8(0xd4)),'aria-expanded':_0x26940d['to'](_0x4157e8(0xcf),_0x11e267=>this[_0x4157e8(0xd4)]&&String(_0x11e267)),'aria-label':_0x26940d['to'](_0x4157e8(0xd4),_0x35cce7=>_0x44a656(_0x3ad6d7,_0x35cce7?_0x4157e8(0xcd):_0x4157e8(0xb5))),'role':_0x4157e8(0xd1),'tabindex':_0x26940d['to'](_0x4157e8(0xd4),_0x4a3dbd=>!!_0x4a3dbd&&0x0),'class':['ck',_0x4157e8(0xcb)]},'children':this[_0x4157e8(0xbc)],'on':{'mouseenter':_0x26940d['to'](()=>this[_0x4157e8(0xb3)](_0x4157e8(0xc1))),'mouseleave':_0x26940d['to'](_0x58d860=>{const _0x299144=_0x4157e8,_0x1dbbc3=_0x58d860,_0x3a4e81=document[_0x299144(0xc4)](_0x299144(0xb4)),_0x3bde18=document[_0x299144(0xc4)](_0x299144(0xc3));_0x3a4e81?.[_0x299144(0xb1)](_0x1dbbc3[_0x299144(0xc9)])||_0x3bde18?.[_0x299144(0xb1)](_0x1dbbc3[_0x299144(0xc9)])||this[_0x299144(0xb3)](_0x299144(0xce));})}}),this['on'](_0x4157e8(0xd7),(_0x2e012d,_0x266eff,_0x49bde1)=>{const _0x623719=_0x4157e8;this[_0x623719(0xbb)]&&(_0x49bde1?this[_0x623719(0xbb)][_0x623719(0xca)](_0x623719(0xc5),String(this[_0x623719(0xcf)])):this[_0x623719(0xbb)][_0x623719(0xc0)](_0x623719(0xc5)));});}[_0x4aa560(0xd5)](){const _0xa50a19=_0x4aa560;this[_0xa50a19(0xbb)][_0xa50a19(0xd5)]();}[_0x4aa560(0xb7)](){const _0x4fffb7=_0x4aa560;super[_0x4fffb7(0xb7)](),this[_0x4fffb7(0xbf)][_0x4fffb7(0xc2)](this[_0x4fffb7(0xbb)]);}}
23
+ const _0x3406dd=_0x3186;(function(_0x5d1481,_0x4b3d94){const _0x111e4a=_0x3186,_0x15b83f=_0x5d1481();while(!![]){try{const _0x9c9747=-parseInt(_0x111e4a(0x160))/0x1+-parseInt(_0x111e4a(0x15f))/0x2+-parseInt(_0x111e4a(0x17a))/0x3+-parseInt(_0x111e4a(0x16c))/0x4+parseInt(_0x111e4a(0x169))/0x5*(parseInt(_0x111e4a(0x170))/0x6)+parseInt(_0x111e4a(0x15a))/0x7+-parseInt(_0x111e4a(0x17c))/0x8*(-parseInt(_0x111e4a(0x15b))/0x9);if(_0x9c9747===_0x4b3d94)break;else _0x15b83f['push'](_0x15b83f['shift']());}catch(_0x55d220){_0x15b83f['push'](_0x15b83f['shift']());}}}(_0x1847,0xe0b45));import{View as _0x3701c0}from'ckeditor5/src/ui.js';function _0x3186(_0x46e66e,_0x33f6af){const _0x1847d9=_0x1847();return _0x3186=function(_0x318659,_0x5f07b6){_0x318659=_0x318659-0x159;let _0x86340=_0x1847d9[_0x318659];return _0x86340;},_0x3186(_0x46e66e,_0x33f6af);}import{KeystrokeHandler as _0x1d7653}from'ckeditor5/src/utils.js';import{getTranslation as _0x42324a}from'../../common-translations.js';function _0x1847(){const _0xa7a1ff=['isExpanded','fire','ck-presence-list__list','focus','.ck-balloon-panel_with-arrow','render','relatedTarget','3429255MdBqjl','list','8GXCuYr','aria-expanded','listenTo','removeAttribute','12780418zlpSDR','34102098xRPXNM','set','hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','2503862PSjHaL','1641665kLnUya','contains','presencelist:show','Connected\x20users\x20list','element','querySelector','bindTemplate','presencelist:hide','createCollection','30ZlKBMQ','items','setAttribute','3349336VcWzEZ','.ck-presence-list__dropdown-list','div','keystrokes','179508RAGNbD','setTemplate','change:hasPopup'];_0x1847=function(){return _0xa7a1ff;};return _0x1847();}export class PresenceInlineListView extends _0x3701c0{[_0x3406dd(0x16a)];[_0x3406dd(0x16f)];constructor(_0x593437){const _0x2ebc30=_0x3406dd;super(_0x593437);const _0x4b441c=this[_0x2ebc30(0x166)];this[_0x2ebc30(0x16a)]=this[_0x2ebc30(0x168)](),this[_0x2ebc30(0x16f)]=new _0x1d7653(),this[_0x2ebc30(0x15c)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2ebc30(0x171)]({'tag':_0x2ebc30(0x16e),'attributes':{'aria-haspopup':_0x4b441c['if'](_0x2ebc30(0x15d)),'aria-expanded':_0x4b441c['to'](_0x2ebc30(0x173),_0x5a2165=>this[_0x2ebc30(0x15d)]&&String(_0x5a2165)),'aria-label':_0x4b441c['to'](_0x2ebc30(0x15d),_0x164791=>_0x42324a(_0x593437,_0x164791?_0x2ebc30(0x15e):_0x2ebc30(0x163))),'role':_0x2ebc30(0x17b),'tabindex':_0x4b441c['to'](_0x2ebc30(0x15d),_0x41a4ff=>!!_0x41a4ff&&0x0),'class':['ck',_0x2ebc30(0x175)]},'children':this[_0x2ebc30(0x16a)],'on':{'mouseenter':_0x4b441c['to'](()=>this[_0x2ebc30(0x174)](_0x2ebc30(0x162))),'mouseleave':_0x4b441c['to'](_0x2b2ee1=>{const _0x4d84b4=_0x2ebc30,_0x269755=_0x2b2ee1,_0x571b2b=document[_0x4d84b4(0x165)](_0x4d84b4(0x16d)),_0x4d0484=document[_0x4d84b4(0x165)](_0x4d84b4(0x177));_0x571b2b?.[_0x4d84b4(0x161)](_0x269755[_0x4d84b4(0x179)])||_0x4d0484?.[_0x4d84b4(0x161)](_0x269755[_0x4d84b4(0x179)])||this[_0x4d84b4(0x174)](_0x4d84b4(0x167));})}}),this['on'](_0x2ebc30(0x172),(_0x4e4f7d,_0x2dc491,_0x3f6ea3)=>{const _0x30f2fa=_0x2ebc30;this[_0x30f2fa(0x164)]&&(_0x3f6ea3?this[_0x30f2fa(0x164)][_0x30f2fa(0x16b)](_0x30f2fa(0x17d),String(this[_0x30f2fa(0x173)])):this[_0x30f2fa(0x164)][_0x30f2fa(0x159)](_0x30f2fa(0x17d)));});}[_0x3406dd(0x176)](){const _0x325727=_0x3406dd;this[_0x325727(0x164)][_0x325727(0x176)]();}[_0x3406dd(0x178)](){const _0x4a76d2=_0x3406dd;super[_0x4a76d2(0x178)](),this[_0x4a76d2(0x16f)][_0x4a76d2(0x17e)](this[_0x4a76d2(0x164)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35cf9e=_0x43a9;function _0x531e(){const _0x37042f=['7mRXciV','507870xMlAFv','set','5JoZkma','32IkhKlf','first','hasPopup','26370gieLFm','setTemplate','4452140FtAQpM','1078781AZakdC','isCollapsed','ck-presence-list','bind','div','bindTemplate','11772XHjZei','ck-reset','counterView','items','1922370LSqCUv','inlineListView','locale','tooltipPosition','4DRcntO','listenTo','change','2731768HQhZbT','ck-rounded-corners','ck-presence-list--collapsed'];_0x531e=function(){return _0x37042f;};return _0x531e();}(function(_0x44b3c0,_0x380301){const _0xaabe42=_0x43a9,_0xa9a1ac=_0x44b3c0();while(!![]){try{const _0x4969df=parseInt(_0xaabe42(0x7e))/0x1*(-parseInt(_0xaabe42(0x76))/0x2)+-parseInt(_0xaabe42(0x6d))/0x3*(parseInt(_0xaabe42(0x88))/0x4)+-parseInt(_0xaabe42(0x87))/0x5*(-parseInt(_0xaabe42(0x7a))/0x6)+parseInt(_0xaabe42(0x84))/0x7*(-parseInt(_0xaabe42(0x81))/0x8)+parseInt(_0xaabe42(0x85))/0x9+parseInt(_0xaabe42(0x6f))/0xa+-parseInt(_0xaabe42(0x70))/0xb;if(_0x4969df===_0x380301)break;else _0xa9a1ac['push'](_0xa9a1ac['shift']());}catch(_0x2702ae){_0xa9a1ac['push'](_0xa9a1ac['shift']());}}}(_0x531e,0x46779));import{View as _0x471b2c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x34c2a9}from'./presencecounterview.js';function _0x43a9(_0x1ffefa,_0x483e62){const _0x531eab=_0x531e();return _0x43a9=function(_0x43a9c1,_0x1e46c2){_0x43a9c1=_0x43a9c1-0x6b;let _0x3e3f7e=_0x531eab[_0x43a9c1];return _0x3e3f7e;},_0x43a9(_0x1ffefa,_0x483e62);}import{PresenceInlineListView as _0x1c8cac}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x471b2c{[_0x35cf9e(0x78)];[_0x35cf9e(0x7b)];constructor(_0x3e51a0,_0x215398=0x6){const _0x3f191f=_0x35cf9e;super(_0x3e51a0);const _0x52f780=this[_0x3f191f(0x75)];this[_0x3f191f(0x86)](_0x3f191f(0x71),!0x0),this[_0x3f191f(0x78)]=new _0x34c2a9(this[_0x3f191f(0x7c)],_0x215398),this[_0x3f191f(0x7b)]=new _0x1c8cac(_0x3e51a0),this[_0x3f191f(0x7b)][_0x3f191f(0x73)](_0x3f191f(0x6c))['to'](this,_0x3f191f(0x71)),this[_0x3f191f(0x7f)](this[_0x3f191f(0x7b)][_0x3f191f(0x79)],_0x3f191f(0x80),()=>{const _0x5edcb3=_0x3f191f;for(const _0x2ae487 of this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)])_0x2ae487[_0x5edcb3(0x7d)]='s';this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)][_0x5edcb3(0x6b)]&&(this[_0x5edcb3(0x7b)][_0x5edcb3(0x79)][_0x5edcb3(0x6b)][_0x5edcb3(0x7d)]='se');}),this[_0x3f191f(0x6e)]({'tag':_0x3f191f(0x74),'attributes':{'class':['ck',_0x3f191f(0x72),_0x3f191f(0x77),_0x3f191f(0x82),_0x52f780['if'](_0x3f191f(0x71),_0x3f191f(0x83))]},'children':[this[_0x3f191f(0x7b)]]});}}
23
+ function _0xe965(){const _0x184ce3=['42980COVNiG','inlineListView','ck-rounded-corners','first','listenTo','ck-presence-list','isCollapsed','items','bindTemplate','locale','736850Pgjolh','hasPopup','ck-presence-list--collapsed','565041CfbFSY','change','119637UgzZVn','2tahSby','1099XSaqeC','12128KHQIgc','37087AUzssi','ck-reset','div','setTemplate','counterView','45661hkZUCU','210BkUnKk','bind','set','6PstDgS','tooltipPosition'];_0xe965=function(){return _0x184ce3;};return _0xe965();}const _0xf6ef82=_0x3387;(function(_0x339753,_0x1defbd){const _0x40a2f6=_0x3387,_0x2acbd2=_0x339753();while(!![]){try{const _0x567306=-parseInt(_0x40a2f6(0x1c8))/0x1*(-parseInt(_0x40a2f6(0x1c5))/0x2)+-parseInt(_0x40a2f6(0x1c2))/0x3+-parseInt(_0x40a2f6(0x1d3))/0x4+parseInt(_0x40a2f6(0x1bf))/0x5*(parseInt(_0x40a2f6(0x1d1))/0x6)+-parseInt(_0x40a2f6(0x1c6))/0x7*(-parseInt(_0x40a2f6(0x1c7))/0x8)+parseInt(_0x40a2f6(0x1c4))/0x9+-parseInt(_0x40a2f6(0x1ce))/0xa*(parseInt(_0x40a2f6(0x1cd))/0xb);if(_0x567306===_0x1defbd)break;else _0x2acbd2['push'](_0x2acbd2['shift']());}catch(_0x276c91){_0x2acbd2['push'](_0x2acbd2['shift']());}}}(_0xe965,0x247fb));import{View as _0x19b905}from'ckeditor5/src/ui.js';function _0x3387(_0x31e874,_0x211282){const _0xe9650=_0xe965();return _0x3387=function(_0x338703,_0x4cc5ae){_0x338703=_0x338703-0x1bb;let _0x18c224=_0xe9650[_0x338703];return _0x18c224;},_0x3387(_0x31e874,_0x211282);}import{PresenceCounterView as _0x126fd0}from'./presencecounterview.js';import{PresenceInlineListView as _0x32e064}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x19b905{[_0xf6ef82(0x1cc)];[_0xf6ef82(0x1d4)];constructor(_0x5dda9a,_0x57580f=0x6){const _0x28f7a0=_0xf6ef82;super(_0x5dda9a);const _0x595df4=this[_0x28f7a0(0x1bd)];this[_0x28f7a0(0x1d0)](_0x28f7a0(0x1bb),!0x0),this[_0x28f7a0(0x1cc)]=new _0x126fd0(this[_0x28f7a0(0x1be)],_0x57580f),this[_0x28f7a0(0x1d4)]=new _0x32e064(_0x5dda9a),this[_0x28f7a0(0x1d4)][_0x28f7a0(0x1cf)](_0x28f7a0(0x1c0))['to'](this,_0x28f7a0(0x1bb)),this[_0x28f7a0(0x1d7)](this[_0x28f7a0(0x1d4)][_0x28f7a0(0x1bc)],_0x28f7a0(0x1c3),()=>{const _0x19105e=_0x28f7a0;for(const _0x5140ad of this[_0x19105e(0x1d4)][_0x19105e(0x1bc)])_0x5140ad[_0x19105e(0x1d2)]='s';this[_0x19105e(0x1d4)][_0x19105e(0x1bc)][_0x19105e(0x1d6)]&&(this[_0x19105e(0x1d4)][_0x19105e(0x1bc)][_0x19105e(0x1d6)][_0x19105e(0x1d2)]='se');}),this[_0x28f7a0(0x1cb)]({'tag':_0x28f7a0(0x1ca),'attributes':{'class':['ck',_0x28f7a0(0x1d8),_0x28f7a0(0x1c9),_0x28f7a0(0x1d5),_0x595df4['if'](_0x28f7a0(0x1bb),_0x28f7a0(0x1c1))]},'children':[this[_0x28f7a0(0x1d4)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f86c6=_0x7af7;(function(_0x42f93b,_0x5229e8){const _0x152c3b=_0x7af7,_0xe3ead2=_0x42f93b();while(!![]){try{const _0x451107=parseInt(_0x152c3b(0xb1))/0x1*(-parseInt(_0x152c3b(0xd1))/0x2)+-parseInt(_0x152c3b(0x90))/0x3*(-parseInt(_0x152c3b(0xe5))/0x4)+parseInt(_0x152c3b(0xb9))/0x5+parseInt(_0x152c3b(0x8c))/0x6+parseInt(_0x152c3b(0xbc))/0x7*(parseInt(_0x152c3b(0xa3))/0x8)+parseInt(_0x152c3b(0x8f))/0x9+-parseInt(_0x152c3b(0x9a))/0xa;if(_0x451107===_0x5229e8)break;else _0xe3ead2['push'](_0xe3ead2['shift']());}catch(_0x6a2ae2){_0xe3ead2['push'](_0xe3ead2['shift']());}}}(_0x4dca,0x532e7));import{Context as _0x10a24b,ContextPlugin as _0x4b717e}from'ckeditor5/src/core.js';import{CKEditorError as _0x2778eb}from'ckeditor5/src/utils.js';import{Users as _0x276de1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5ce1ce,User as _0x4ef7ea}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x7e839c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x49fdff}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4b717e{static [_0x4f86c6(0x81)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5ce1ce)());[_0x4f86c6(0x8e)];static get[_0x4f86c6(0xc2)](){const _0x2d4a18=_0x4f86c6;return[_0x7e839c,_0x2d4a18(0xda),_0x49fdff,_0x276de1];}static get[_0x4f86c6(0xc9)](){const _0x51519c=_0x4f86c6;return _0x51519c(0xad);}static get[_0x4f86c6(0xd8)](){return!0x0;}static get[_0x4f86c6(0x83)](){return!0x0;}constructor(_0xa1392e){const _0x6700d=_0x4f86c6;super(_0xa1392e),this[_0x6700d(0x8e)]=new Map();}async[_0x4f86c6(0x92)](){const _0x1d606d=_0x4f86c6,_0x9f7865=this[_0x1d606d(0x95)],_0x4b9d6d=_0x9f7865[_0x1d606d(0x8d)][_0x1d606d(0xc7)](_0x1d606d(0xda));if(_0x9f7865[_0x1d606d(0x8d)][_0x1d606d(0xc7)](_0x7e839c)[_0x1d606d(0xe2)](this),_0x4b9d6d[_0x1d606d(0xa4)]={'addCommentThread':async({channelId:_0x5b26b4,threadId:_0x52d855,comments:_0x9f7b18,resolvedAt:_0x5cf28d,resolvedBy:_0x5a8b66,context:_0x18eaee,attributes:_0x1e4c20})=>{const _0x3a8cfa=_0x1d606d,_0x3a3a33=await this[_0x3a8cfa(0xc4)](_0x5b26b4)[_0x3a8cfa(0xab)]({'commentThreadId':_0x52d855,'comments':_0x9f7b18[_0x3a8cfa(0xc0)](_0x3d157f=>function(_0x3e2f55,_0x390172,_0x3d0ba8){const _0x2f091b=_0x3a8cfa;return{'commentThreadId':_0x3d0ba8,'commentId':_0x3e2f55[_0x2f091b(0xe3)],'userId':_0x3e2f55[_0x2f091b(0xd2)],'content':_0x3e2f55[_0x2f091b(0xb5)],'documentId':_0x390172,'createdAt':_0x3e2f55[_0x2f091b(0xaa)],'attributes':_0x3e2f55[_0x2f091b(0x89)]||{}};}(_0x3d157f,_0x5b26b4,_0x52d855)),'resolvedAt':_0x5cf28d,'resolvedBy':_0x5a8b66,'context':_0x18eaee,'attributes':_0x1e4c20})[_0x3a8cfa(0x88)](k);return{'threadId':_0x3a3a33[_0x3a8cfa(0x87)],'comments':_0x3a3a33[_0x3a8cfa(0x9f)]};},'getCommentThread':async({channelId:_0x472dc7,threadId:_0x44f3d9})=>{const _0x300366=_0x1d606d,_0x56441d=await this[_0x300366(0xc4)](_0x472dc7)[_0x300366(0xd3)](_0x44f3d9)[_0x300366(0x88)](F)[_0x300366(0x88)](k);return _0x56441d?_0x56441d[_0x300366(0xb7)]?null:(await this[_0x300366(0xbe)]([_0x56441d]),{'threadId':_0x56441d[_0x300366(0x87)],'comments':_0x56441d[_0x300366(0x9f)][_0x300366(0xc0)](S),'context':_0x56441d[_0x300366(0x95)],'resolvedAt':_0x56441d[_0x300366(0x94)],'resolvedBy':_0x56441d[_0x300366(0xb3)],'attributes':_0x56441d[_0x300366(0x89)]||{}}):null;},'updateCommentThread':async({channelId:_0x11aafb,threadId:_0x31dd80,context:_0x496775,unlinkedAt:_0x1cbc10,attributes:_0x33efc6})=>this[_0x1d606d(0xc4)](_0x11aafb)[_0x1d606d(0xc6)]({'commentThreadId':_0x31dd80,'context':_0x496775,'attributes':_0x33efc6,'unlinkedAt':_0x1cbc10})[_0x1d606d(0x88)](F)[_0x1d606d(0x88)](k),'resolveCommentThread':async({channelId:_0x20d9bf,threadId:_0x1fbbdb})=>{const _0x1aca88=_0x1d606d,_0x100b9c=await this[_0x1aca88(0xc4)](_0x20d9bf)[_0x1aca88(0xcc)](_0x1fbbdb)[_0x1aca88(0x88)](F)[_0x1aca88(0x88)](k);return{'threadId':_0x100b9c[_0x1aca88(0x87)],'resolvedAt':_0x100b9c[_0x1aca88(0x94)],'resolvedBy':_0x100b9c[_0x1aca88(0xb3)]};},'reopenCommentThread':async({channelId:_0x2d0a81,threadId:_0x1c6bae})=>this[_0x1d606d(0xc4)](_0x2d0a81)[_0x1d606d(0xdf)](_0x1c6bae)[_0x1d606d(0x88)](F)[_0x1d606d(0x88)](k),'removeCommentThread':({channelId:_0x4d7384,threadId:_0x3ce83b})=>this[_0x1d606d(0xc4)](_0x4d7384)[_0x1d606d(0xb0)](_0x3ce83b)[_0x1d606d(0x88)](F)[_0x1d606d(0x88)](k),'addComment':({channelId:_0x499744,threadId:_0x1857c5,commentId:_0x1e75d9,content:_0x2ffdde,attributes:_0x2ef09a})=>this[_0x1d606d(0xc4)](_0x499744)[_0x1d606d(0x91)](_0x1857c5,_0x1e75d9,_0x2ffdde,_0x2ef09a)[_0x1d606d(0x88)](k),'updateComment':({channelId:_0x120663,threadId:_0x262f71,commentId:_0x34f8ad,content:_0xe30531,attributes:_0x252ed6})=>this[_0x1d606d(0xc4)](_0x120663)[_0x1d606d(0xaf)](_0x262f71,_0x34f8ad,_0xe30531,_0x252ed6)[_0x1d606d(0x88)](F)[_0x1d606d(0x88)](k),'removeComment':({channelId:_0x3d7522,threadId:_0xe228f1,commentId:_0x557fa5})=>this[_0x1d606d(0xc4)](_0x3d7522)[_0x1d606d(0x93)](_0xe228f1,_0x557fa5)[_0x1d606d(0x88)](F)[_0x1d606d(0x88)](k)},_0x9f7865 instanceof _0x10a24b){const _0x1ea1c6=_0x9f7865[_0x1d606d(0xdb)][_0x1d606d(0xc7)](_0x1d606d(0xc1)),_0x14f34f=_0x9f7865[_0x1d606d(0x8d)][_0x1d606d(0xc7)](_0x49fdff);await this[_0x1d606d(0xdd)](_0x1ea1c6);const _0x114848=await this[_0x1d606d(0x8e)][_0x1d606d(0xc7)](_0x1ea1c6)[_0x1d606d(0x8a)]();this[_0x1d606d(0x8b)](_0x14f34f,_0x1d606d(0xb8)+_0x1ea1c6,(_0x3014c3,{session:_0x24f929})=>{const _0x4ecd3b=_0x1d606d;_0x24f929['id']===_0x14f34f[_0x4ecd3b(0xbb)]&&(_0x3014c3[_0x4ecd3b(0xa2)](),this[_0x4ecd3b(0x95)][_0x4ecd3b(0x8d)][_0x4ecd3b(0xc7)](_0x4ecd3b(0x98))[_0x4ecd3b(0xcf)](_0x24f929[_0x4ecd3b(0xb2)],_0x1ea1c6));}),_0x14f34f[_0x1d606d(0xcd)](_0x1ea1c6,_0x114848);}}async[_0x4f86c6(0xdd)](_0x28bbe2){const _0x529114=_0x4f86c6;if(this[_0x529114(0x8e)][_0x529114(0xd4)](_0x28bbe2))throw new _0x2778eb(_0x529114(0xe0),null,{'channelId':_0x28bbe2});const _0x22c15c=this[_0x529114(0x95)][_0x529114(0x8d)][_0x529114(0xc7)](_0x529114(0xda)),_0x2c1107=new CloudServicesCommentsAdapter[(_0x529114(0x81))](_0x28bbe2);this[_0x529114(0x8e)][_0x529114(0x86)](_0x28bbe2,_0x2c1107),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0xe1),(_0x5276f4,_0xf981c9)=>{const _0x15b590=_0x529114,{commentThreadId:_0x4ec021,documentId:_0x371642,context:_0x145ed9,attributes:_0x230dab,resolvedAt:_0x46d281,resolvedBy:_0x30d221,comments:_0x42ce6f}=_0xf981c9;_0x22c15c[_0x15b590(0xd3)](_0x4ec021)||_0x22c15c[_0x15b590(0xab)]({'threadId':_0x4ec021,'channelId':_0x371642,'comments':_0x42ce6f?_0x42ce6f[_0x15b590(0xc0)](S):[],'context':_0x145ed9,'attributes':_0x230dab,'resolvedAt':_0x46d281,'resolvedBy':_0x30d221,'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0xba),(_0x10a234,{commentThreadId:_0x152bae,documentId:_0x4860b1,context:_0x5eecad,unlinkedAt:_0x2f2604,attributes:_0x1a2155})=>{const _0x53c154=_0x529114;_0x22c15c[_0x53c154(0xd3)](_0x152bae)&&_0x22c15c[_0x53c154(0xc6)]({'threadId':_0x152bae,'channelId':_0x4860b1,'context':_0x5eecad,'unlinkedAt':_0x2f2604,'attributes':_0x1a2155,'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0x96),(_0xbd3539,{commentThreadId:_0x55c67a,resolvedBy:_0x7a33b8,resolvedAt:_0x16ae58})=>{const _0x1d90b7=_0x529114,_0x3bde38=_0x22c15c[_0x1d90b7(0xd3)](_0x55c67a);_0x3bde38&&_0x3bde38[_0x1d90b7(0xde)]({'resolvedBy':_0x7a33b8,'resolvedAt':_0x16ae58,'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0xd5),(_0x479cca,{commentThreadId:_0x2cdb02})=>{const _0x315b3d=_0x529114,_0x27c89c=_0x22c15c[_0x315b3d(0xd3)](_0x2cdb02);_0x27c89c&&_0x27c89c[_0x315b3d(0xbf)]({'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0x9e),(_0x2d37f1,{commentThreadId:_0x5f00fc})=>{const _0x48d27e=_0x529114,_0x5bbe62=_0x22c15c[_0x48d27e(0xd3)](_0x5f00fc);_0x5bbe62&&_0x5bbe62[_0x48d27e(0xc8)]({'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0xe6),(_0x4914b8,_0x38f6f1)=>{const _0x96337e=_0x529114,_0x58a2e1=_0x38f6f1[_0x96337e(0x87)],_0x2d709c=_0x22c15c[_0x96337e(0xd3)](_0x58a2e1);_0x2d709c&&_0x2d709c[_0x96337e(0x91)]({...S(_0x38f6f1),'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0xb4),(_0x513b23,{commentThreadId:_0x4683bf,commentId:_0x130a9f,content:_0x252c5f,attributes:_0x463168})=>{const _0x1e2b17=_0x529114,_0xfa8753=_0x22c15c[_0x1e2b17(0xd3)](_0x4683bf);if(_0xfa8753){const _0x49b695=_0xfa8753[_0x1e2b17(0xa0)](_0x130a9f);_0x49b695&&_0x49b695[_0x1e2b17(0x9d)]({'content':_0x252c5f,'attributes':_0x463168,'isFromAdapter':!0x0});}}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0x97),(_0x189911,{commentThreadId:_0x40bc0e,commentId:_0x2f2d25})=>{const _0x3c57dc=_0x529114,_0x11ddbf=_0x22c15c[_0x3c57dc(0xd3)](_0x40bc0e);if(_0x11ddbf){const _0x540712=_0x11ddbf[_0x3c57dc(0xa0)](_0x2f2d25);_0x540712&&_0x540712[_0x3c57dc(0xc8)]({'isFromAdapter':!0x0});}}),await this[_0x529114(0xa8)](_0x28bbe2);}[_0x4f86c6(0xbd)](){const _0x7f816a=_0x4f86c6;if(this[_0x7f816a(0x95)]instanceof _0x10a24b){const _0x4b2412=this[_0x7f816a(0x95)][_0x7f816a(0xdb)][_0x7f816a(0xc7)](_0x7f816a(0xc1));this[_0x7f816a(0x9c)](_0x4b2412);}}[_0x4f86c6(0x9c)](_0x13ec17){const _0x16e271=_0x4f86c6;if(!this[_0x16e271(0x8e)][_0x16e271(0xd4)](_0x13ec17))throw new _0x2778eb(_0x16e271(0xa1),null,{'channelId':_0x13ec17});this[_0x16e271(0xc4)](_0x13ec17)[_0x16e271(0x9b)](),this[_0x16e271(0x8e)][_0x16e271(0xac)](_0x13ec17);}async[_0x4f86c6(0xce)](){const _0x254dae=_0x4f86c6;for(const _0x3c0ddb of this[_0x254dae(0x8e)][_0x254dae(0xb6)]())await this[_0x254dae(0xa8)](_0x3c0ddb);if(this[_0x254dae(0x95)]instanceof _0x10a24b){const _0x22c52b=this[_0x254dae(0x95)][_0x254dae(0xdb)][_0x254dae(0xc7)](_0x254dae(0xc1)),_0x4e3766=this[_0x254dae(0x95)][_0x254dae(0x8d)][_0x254dae(0xc7)](_0x49fdff);_0x4e3766[_0x254dae(0xa6)](_0x22c52b);const _0x5a1c74=await this[_0x254dae(0x8e)][_0x254dae(0xc7)](_0x22c52b)[_0x254dae(0x8a)]();_0x4e3766[_0x254dae(0xcd)](_0x22c52b,_0x5a1c74);}}async[_0x4f86c6(0xa8)](_0x304f14){const _0x24e3dc=_0x4f86c6,{connection:_0x586136}=this[_0x24e3dc(0x95)][_0x24e3dc(0x8d)][_0x24e3dc(0xc7)](_0x7e839c),_0x542f83=this[_0x24e3dc(0x95)][_0x24e3dc(0x8d)][_0x24e3dc(0xc7)](_0x24e3dc(0xda)),_0xf9e435=this[_0x24e3dc(0x8e)][_0x24e3dc(0xc7)](_0x304f14),_0x17186c=await _0xf9e435[_0x24e3dc(0xc3)](_0x586136);await this[_0x24e3dc(0xbe)](_0x17186c);const _0x5b114b=new Set(Array[_0x24e3dc(0x85)](_0x542f83[_0x24e3dc(0xa5)]({'channelId':_0x304f14}),_0x33c5d1=>_0x33c5d1['id']));for(const _0x5dabfb of _0x17186c)_0x5dabfb[_0x24e3dc(0xb7)]||_0x5b114b[_0x24e3dc(0xac)](_0x5dabfb[_0x24e3dc(0x87)]);for(const _0x56c659 of _0x5b114b)_0x542f83[_0x24e3dc(0xd3)](_0x56c659)[_0x24e3dc(0xc8)]({'isFromAdapter':!0x0});for(const _0x15eb4c of _0x17186c){let _0x4f0afb=_0x542f83[_0x24e3dc(0xd3)](_0x15eb4c[_0x24e3dc(0x87)]);const {commentThreadId:_0x24b150,context:_0x582c5b,attributes:_0x477825,resolvedBy:_0x268fe6,resolvedAt:_0x4f1389,unlinkedAt:_0x1fc6e9,deletedAt:_0x565e8b}=_0x15eb4c;if(_0x565e8b)continue;_0x4f0afb||(_0x4f0afb=_0x542f83[_0x24e3dc(0xab)]({'channelId':_0x304f14,'threadId':_0x24b150,'context':_0x582c5b,'attributes':_0x477825||{},'resolvedBy':_0x268fe6,'resolvedAt':_0x4f1389,'unlinkedAt':_0x1fc6e9,'isFromAdapter':!0x0}));const _0x4eb577=new Set(Array[_0x24e3dc(0x85)](_0x4f0afb[_0x24e3dc(0x9f)],_0x195f4d=>_0x195f4d['id']));for(const _0x1763fc of _0x15eb4c[_0x24e3dc(0x9f)])_0x4eb577[_0x24e3dc(0xac)](_0x1763fc[_0x24e3dc(0xe3)]);for(const _0x1da654 of _0x4eb577)_0x4f0afb[_0x24e3dc(0xa0)](_0x1da654)[_0x24e3dc(0xc8)]({'isFromAdapter':!0x0});for(const _0x43ea4f of _0x15eb4c[_0x24e3dc(0x9f)]){const _0x3143ef=_0x4f0afb[_0x24e3dc(0xa0)](_0x43ea4f[_0x24e3dc(0xe3)]);_0x3143ef?_0x3143ef[_0x24e3dc(0xb5)]!==_0x43ea4f[_0x24e3dc(0xb5)]&&_0x3143ef[_0x24e3dc(0x9d)]({'content':_0x43ea4f[_0x24e3dc(0xb5)],'isFromAdapter':!0x0}):_0x4f0afb[_0x24e3dc(0x91)](Object[_0x24e3dc(0xa9)](S(_0x43ea4f),{'isFromAdapter':!0x0}));}}}[_0x4f86c6(0xc4)](_0x10d21a){const _0x1fc9bc=_0x4f86c6;if(!this[_0x1fc9bc(0x8e)][_0x1fc9bc(0xd4)](_0x10d21a))throw new _0x2778eb(_0x1fc9bc(0xdc),null,{'channelId':_0x10d21a});return this[_0x1fc9bc(0x8e)][_0x1fc9bc(0xc7)](_0x10d21a);}async[_0x4f86c6(0xbe)](_0x1f5ef7){const _0x593651=_0x4f86c6,_0x17b174=this[_0x593651(0x95)][_0x593651(0x8d)][_0x593651(0xc7)](_0x276de1),{connection:_0x209965}=this[_0x593651(0x95)][_0x593651(0x8d)][_0x593651(0xc7)](_0x7e839c),_0x839343=new Set();for(const {resolvedBy:_0xad5099,comments:_0x5dcf56}of _0x1f5ef7){_0xad5099&&!_0x17b174[_0x593651(0xca)](_0xad5099)&&_0x839343[_0x593651(0x99)](_0xad5099);for(const {userId:_0x3bb55e}of _0x5dcf56)_0x17b174[_0x593651(0xca)](_0x3bb55e)||_0x839343[_0x593651(0x99)](_0x3bb55e);}if(0x0===_0x839343[_0x593651(0xae)])return;const _0x3f89c5=await _0x4ef7ea[_0x593651(0x84)](_0x209965,Array[_0x593651(0x85)](_0x839343));for(const _0x535813 of _0x3f89c5)_0x17b174[_0x593651(0xca)](_0x535813['id'])||_0x17b174[_0x593651(0xc5)](_0x535813);}}async function F(_0xaea79){const _0x22b26b=_0x4f86c6;if(_0x22b26b(0xe4)!==_0xaea79[_0x22b26b(0xd0)])throw _0xaea79;}function k(_0x43b847){const _0x3285a9=_0x4f86c6;if((_0x265f58=_0x43b847)[_0x3285a9(0x82)][_0x3285a9(0xa7)](_0x3285a9(0xcb))||_0x265f58[_0x3285a9(0x82)][_0x3285a9(0xa7)](_0x3285a9(0xd9))||_0x265f58[_0x3285a9(0x82)][_0x3285a9(0xa7)](_0x3285a9(0xd6)))return new Promise(()=>{});var _0x265f58;throw _0x43b847;}function _0x4dca(){const _0x48ff54=['comments','getComment','cloudservicescommentsadapter-disconnect-not-exist','off','9440QlvvLI','adapter','getCommentThreads','unregister','startsWith','_connectService','assign','createdAt','addCommentThread','delete','CloudServicesCommentsAdapter','size','updateComment','removeCommentThread','95629tglpZD','permissions','resolvedBy','commentUpdated','content','keys','deletedAt','sessionAdd:','526170pKuZOf','commentThreadUpdated','mySessionId','2478KsacjY','destroy','_fetchMissingUsersForThreads','reopen','map','collaboration.channelId','requires','connect','_getService','addUser','updateCommentThread','get','remove','pluginName','getUser','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','resolveCommentThread','register','reconnect','setPermissions','code','4qqCFmt','authorId','getCommentThread','has','commentThreadReopened','cloud-services-internal-error:\x20Request\x20timeout.','userId','isOfficialPlugin','cloud-services-internal-error:\x20Not\x20connected.','CommentsRepository','config','cloudservicescommentsadapter-service-not-exist','_setUpService','resolve','reopenCommentThread','cloudservicescommentsadapter-connect-already-connected','commentThreadAdded','addToReconnectionStack','commentId','404','32iikbUx','commentAdded','CommentsService','message','isPremiumPlugin','getMany','from','set','commentThreadId','catch','attributes','getConnectedSessions','listenTo','1397508mtcNEl','plugins','_services','5738004UJfwPM','31125gpIsFZ','addComment','init','removeComment','resolvedAt','context','commentThreadResolved','commentRemoved','Permissions','add','9444590DEsEaz','disconnect','_terminateService','update','commentThreadRemoved'];_0x4dca=function(){return _0x48ff54;};return _0x4dca();}function _0x7af7(_0x4d672a,_0x1fa30b){const _0x4dca55=_0x4dca();return _0x7af7=function(_0x7af7db,_0x382a5d){_0x7af7db=_0x7af7db-0x81;let _0xf21602=_0x4dca55[_0x7af7db];return _0xf21602;},_0x7af7(_0x4d672a,_0x1fa30b);}function S(_0x30cb5c){const _0x2d4139=_0x4f86c6;return{'threadId':_0x30cb5c[_0x2d4139(0x87)],'commentId':_0x30cb5c[_0x2d4139(0xe3)],'content':_0x30cb5c[_0x2d4139(0xb5)],'createdAt':_0x30cb5c[_0x2d4139(0xaa)],'authorId':_0x30cb5c[_0x2d4139(0xd7)],'attributes':_0x30cb5c[_0x2d4139(0x89)]||{}};}
23
+ const _0x5ec08a=_0x209f;(function(_0x555377,_0xea2e84){const _0x3d0533=_0x209f,_0x44a88d=_0x555377();while(!![]){try{const _0x258b66=-parseInt(_0x3d0533(0x140))/0x1*(parseInt(_0x3d0533(0xfa))/0x2)+-parseInt(_0x3d0533(0x138))/0x3+parseInt(_0x3d0533(0xdf))/0x4*(parseInt(_0x3d0533(0x106))/0x5)+parseInt(_0x3d0533(0xf2))/0x6+parseInt(_0x3d0533(0xe1))/0x7*(-parseInt(_0x3d0533(0x11f))/0x8)+parseInt(_0x3d0533(0xec))/0x9*(parseInt(_0x3d0533(0xfd))/0xa)+parseInt(_0x3d0533(0xf7))/0xb;if(_0x258b66===_0xea2e84)break;else _0x44a88d['push'](_0x44a88d['shift']());}catch(_0x706213){_0x44a88d['push'](_0x44a88d['shift']());}}}(_0x48b8,0xe379a));import{Context as _0x55f2b0,ContextPlugin as _0x46fb52}from'ckeditor5/src/core.js';function _0x209f(_0x4d6a79,_0x5563ed){const _0x48b805=_0x48b8();return _0x209f=function(_0x209f41,_0x4b4862){_0x209f41=_0x209f41-0xda;let _0x5c1470=_0x48b805[_0x209f41];return _0x5c1470;},_0x209f(_0x4d6a79,_0x5563ed);}import{CKEditorError as _0x29dc15}from'ckeditor5/src/utils.js';import{Users as _0x26eca7}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2b1ba9,User as _0x5bb7eb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2c6b5d}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5a4184}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x46fb52{static [_0x5ec08a(0x134)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2b1ba9)());[_0x5ec08a(0x120)];static get[_0x5ec08a(0x11e)](){const _0x49de7d=_0x5ec08a;return[_0x2c6b5d,_0x49de7d(0x12e),_0x5a4184,_0x26eca7];}static get[_0x5ec08a(0xda)](){const _0x5abdfe=_0x5ec08a;return _0x5abdfe(0x11c);}static get[_0x5ec08a(0x122)](){return!0x0;}static get[_0x5ec08a(0xea)](){return!0x0;}constructor(_0x28c225){const _0x2b035a=_0x5ec08a;super(_0x28c225),this[_0x2b035a(0x120)]=new Map();}async[_0x5ec08a(0xf9)](){const _0x4c2a2e=_0x5ec08a,_0x2b1646=this[_0x4c2a2e(0xdb)],_0x26c3f6=_0x2b1646[_0x4c2a2e(0x13a)][_0x4c2a2e(0xdc)](_0x4c2a2e(0x12e));if(_0x2b1646[_0x4c2a2e(0x13a)][_0x4c2a2e(0xdc)](_0x2c6b5d)[_0x4c2a2e(0x113)](this),_0x26c3f6[_0x4c2a2e(0x107)]={'addCommentThread':async({channelId:_0x56496a,threadId:_0x49beb8,comments:_0x1a4578,resolvedAt:_0x156e35,resolvedBy:_0x4e07b4,context:_0x1647fe,attributes:_0x5197ba})=>{const _0x1689b9=_0x4c2a2e,_0x18a5ef=await this[_0x1689b9(0x135)](_0x56496a)[_0x1689b9(0x12d)]({'commentThreadId':_0x49beb8,'comments':_0x1a4578[_0x1689b9(0xf8)](_0x34145d=>function(_0x5050d2,_0x50c48e,_0x66f96f){const _0x41728f=_0x1689b9;return{'commentThreadId':_0x66f96f,'commentId':_0x5050d2[_0x41728f(0xed)],'userId':_0x5050d2[_0x41728f(0x127)],'content':_0x5050d2[_0x41728f(0xe0)],'documentId':_0x50c48e,'createdAt':_0x5050d2[_0x41728f(0x105)],'attributes':_0x5050d2[_0x41728f(0x10a)]||{}};}(_0x34145d,_0x56496a,_0x49beb8)),'resolvedAt':_0x156e35,'resolvedBy':_0x4e07b4,'context':_0x1647fe,'attributes':_0x5197ba})[_0x1689b9(0xe5)](A);return{'threadId':_0x18a5ef[_0x1689b9(0x114)],'comments':_0x18a5ef[_0x1689b9(0x10d)]};},'getCommentThread':async({channelId:_0x3afd88,threadId:_0x50d891})=>{const _0x50352f=_0x4c2a2e,_0x45f5aa=await this[_0x50352f(0x135)](_0x3afd88)[_0x50352f(0xee)](_0x50d891)[_0x50352f(0xe5)](f)[_0x50352f(0xe5)](A);return _0x45f5aa?_0x45f5aa[_0x50352f(0x10e)]?null:(await this[_0x50352f(0x126)]([_0x45f5aa]),{'threadId':_0x45f5aa[_0x50352f(0x114)],'comments':_0x45f5aa[_0x50352f(0x10d)][_0x50352f(0xf8)](p),'context':_0x45f5aa[_0x50352f(0xdb)],'resolvedAt':_0x45f5aa[_0x50352f(0x121)],'resolvedBy':_0x45f5aa[_0x50352f(0x101)],'attributes':_0x45f5aa[_0x50352f(0x10a)]||{}}):null;},'updateCommentThread':async({channelId:_0x4a0e60,threadId:_0x5784fb,context:_0x1b0b2d,unlinkedAt:_0x110d67,attributes:_0x11622c})=>this[_0x4c2a2e(0x135)](_0x4a0e60)[_0x4c2a2e(0x136)]({'commentThreadId':_0x5784fb,'context':_0x1b0b2d,'attributes':_0x11622c,'unlinkedAt':_0x110d67})[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'resolveCommentThread':async({channelId:_0x4a5105,threadId:_0x1d3546})=>{const _0x286106=_0x4c2a2e,_0x3c3d56=await this[_0x286106(0x135)](_0x4a5105)[_0x286106(0x12c)](_0x1d3546)[_0x286106(0xe5)](f)[_0x286106(0xe5)](A);return{'threadId':_0x3c3d56[_0x286106(0x114)],'resolvedAt':_0x3c3d56[_0x286106(0x121)],'resolvedBy':_0x3c3d56[_0x286106(0x101)]};},'reopenCommentThread':async({channelId:_0xc084c7,threadId:_0x365685})=>this[_0x4c2a2e(0x135)](_0xc084c7)[_0x4c2a2e(0x111)](_0x365685)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'removeCommentThread':({channelId:_0x35ea71,threadId:_0x56371c})=>this[_0x4c2a2e(0x135)](_0x35ea71)[_0x4c2a2e(0x11a)](_0x56371c)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'addComment':({channelId:_0x470c2b,threadId:_0x4ceb23,commentId:_0x274aac,content:_0x5caf45,attributes:_0x32cf72})=>this[_0x4c2a2e(0x135)](_0x470c2b)[_0x4c2a2e(0x13b)](_0x4ceb23,_0x274aac,_0x5caf45,_0x32cf72)[_0x4c2a2e(0xe5)](A),'updateComment':({channelId:_0x470648,threadId:_0x62303a,commentId:_0x38030b,content:_0x1b8f2d,attributes:_0x382ff8})=>this[_0x4c2a2e(0x135)](_0x470648)[_0x4c2a2e(0xeb)](_0x62303a,_0x38030b,_0x1b8f2d,_0x382ff8)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'removeComment':({channelId:_0x3803c5,threadId:_0x3d33c9,commentId:_0x146e11})=>this[_0x4c2a2e(0x135)](_0x3803c5)[_0x4c2a2e(0x132)](_0x3d33c9,_0x146e11)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A)},_0x2b1646 instanceof _0x55f2b0){const _0x2673f8=_0x2b1646[_0x4c2a2e(0x11b)][_0x4c2a2e(0xdc)](_0x4c2a2e(0xf4)),_0x5b5a30=_0x2b1646[_0x4c2a2e(0x13a)][_0x4c2a2e(0xdc)](_0x5a4184);await this[_0x4c2a2e(0x112)](_0x2673f8);const _0x27914d=await this[_0x4c2a2e(0x120)][_0x4c2a2e(0xdc)](_0x2673f8)[_0x4c2a2e(0x130)]();this[_0x4c2a2e(0xf6)](_0x5b5a30,_0x4c2a2e(0x129)+_0x2673f8,(_0x48c9e3,{session:_0x5b3c0e})=>{const _0x2fef75=_0x4c2a2e;_0x5b3c0e['id']===_0x5b5a30[_0x2fef75(0xfb)]&&(_0x48c9e3[_0x2fef75(0xe3)](),this[_0x2fef75(0xdb)][_0x2fef75(0x13a)][_0x2fef75(0xdc)](_0x2fef75(0x13d))[_0x2fef75(0xdd)](_0x5b3c0e[_0x2fef75(0xef)],_0x2673f8));}),_0x5b5a30[_0x4c2a2e(0x117)](_0x2673f8,_0x27914d);}}async[_0x5ec08a(0x112)](_0x11495f){const _0x51eb1d=_0x5ec08a;if(this[_0x51eb1d(0x120)][_0x51eb1d(0xfe)](_0x11495f))throw new _0x29dc15(_0x51eb1d(0xfc),null,{'channelId':_0x11495f});const _0x39f386=this[_0x51eb1d(0xdb)][_0x51eb1d(0x13a)][_0x51eb1d(0xdc)](_0x51eb1d(0x12e)),_0x9918ea=new CloudServicesCommentsAdapter[(_0x51eb1d(0x134))](_0x11495f);this[_0x51eb1d(0x120)][_0x51eb1d(0x103)](_0x11495f,_0x9918ea),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x124),(_0x94023e,_0x164dcf)=>{const _0x421ab4=_0x51eb1d,{commentThreadId:_0xf9fecc,documentId:_0xdf7c9c,context:_0x18e257,attributes:_0x93d1ba,resolvedAt:_0x8fce37,resolvedBy:_0xb875a5,comments:_0x2a9031}=_0x164dcf;_0x39f386[_0x421ab4(0xee)](_0xf9fecc)||_0x39f386[_0x421ab4(0x12d)]({'threadId':_0xf9fecc,'channelId':_0xdf7c9c,'comments':_0x2a9031?_0x2a9031[_0x421ab4(0xf8)](p):[],'context':_0x18e257,'attributes':_0x93d1ba,'resolvedAt':_0x8fce37,'resolvedBy':_0xb875a5,'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xe7),(_0x3a784e,{commentThreadId:_0x305520,documentId:_0x74c78,context:_0x4cbd7e,unlinkedAt:_0x5ccb59,attributes:_0x604051})=>{const _0x59592f=_0x51eb1d;_0x39f386[_0x59592f(0xee)](_0x305520)&&_0x39f386[_0x59592f(0x136)]({'threadId':_0x305520,'channelId':_0x74c78,'context':_0x4cbd7e,'unlinkedAt':_0x5ccb59,'attributes':_0x604051,'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x12a),(_0x4bd26c,{commentThreadId:_0x385491,resolvedBy:_0x145b76,resolvedAt:_0x515337})=>{const _0x371391=_0x51eb1d,_0x47c141=_0x39f386[_0x371391(0xee)](_0x385491);_0x47c141&&_0x47c141[_0x371391(0x133)]({'resolvedBy':_0x145b76,'resolvedAt':_0x515337,'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x11d),(_0x231ded,{commentThreadId:_0x5660c4})=>{const _0x1f9ab7=_0x51eb1d,_0x16c685=_0x39f386[_0x1f9ab7(0xee)](_0x5660c4);_0x16c685&&_0x16c685[_0x1f9ab7(0xe8)]({'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xde),(_0x2f600a,{commentThreadId:_0x25f62b})=>{const _0x2e7e53=_0x51eb1d,_0x12ad53=_0x39f386[_0x2e7e53(0xee)](_0x25f62b);_0x12ad53&&_0x12ad53[_0x2e7e53(0xe2)]({'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x10b),(_0x1c1725,_0x3f7e57)=>{const _0x77a3f3=_0x51eb1d,_0x959d2b=_0x3f7e57[_0x77a3f3(0x114)],_0x41155e=_0x39f386[_0x77a3f3(0xee)](_0x959d2b);_0x41155e&&_0x41155e[_0x77a3f3(0x13b)]({...p(_0x3f7e57),'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xe6),(_0xc87cbd,{commentThreadId:_0x105b6d,commentId:_0x19dab9,content:_0x5ab047,attributes:_0x58ee1d})=>{const _0xf567c7=_0x51eb1d,_0x2b3cad=_0x39f386[_0xf567c7(0xee)](_0x105b6d);if(_0x2b3cad){const _0x376a96=_0x2b3cad[_0xf567c7(0x137)](_0x19dab9);_0x376a96&&_0x376a96[_0xf567c7(0xe4)]({'content':_0x5ab047,'attributes':_0x58ee1d,'isFromAdapter':!0x0});}}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xf1),(_0x40eb38,{commentThreadId:_0x396656,commentId:_0x51e11d})=>{const _0x41ad0e=_0x51eb1d,_0x515993=_0x39f386[_0x41ad0e(0xee)](_0x396656);if(_0x515993){const _0xb18af2=_0x515993[_0x41ad0e(0x137)](_0x51e11d);_0xb18af2&&_0xb18af2[_0x41ad0e(0xe2)]({'isFromAdapter':!0x0});}}),await this[_0x51eb1d(0x100)](_0x11495f);}[_0x5ec08a(0x104)](){const _0x86471b=_0x5ec08a;if(this[_0x86471b(0xdb)]instanceof _0x55f2b0){const _0x7b1e52=this[_0x86471b(0xdb)][_0x86471b(0x11b)][_0x86471b(0xdc)](_0x86471b(0xf4));this[_0x86471b(0x108)](_0x7b1e52);}}[_0x5ec08a(0x108)](_0x225066){const _0x130067=_0x5ec08a;if(!this[_0x130067(0x120)][_0x130067(0xfe)](_0x225066))throw new _0x29dc15(_0x130067(0x13c),null,{'channelId':_0x225066});this[_0x130067(0x135)](_0x225066)[_0x130067(0x116)](),this[_0x130067(0x120)][_0x130067(0x10f)](_0x225066);}async[_0x5ec08a(0x125)](){const _0x3bdd0a=_0x5ec08a;for(const _0x40592c of this[_0x3bdd0a(0x120)][_0x3bdd0a(0x102)]())await this[_0x3bdd0a(0x100)](_0x40592c);if(this[_0x3bdd0a(0xdb)]instanceof _0x55f2b0){const _0x59cff5=this[_0x3bdd0a(0xdb)][_0x3bdd0a(0x11b)][_0x3bdd0a(0xdc)](_0x3bdd0a(0xf4)),_0x357399=this[_0x3bdd0a(0xdb)][_0x3bdd0a(0x13a)][_0x3bdd0a(0xdc)](_0x5a4184);_0x357399[_0x3bdd0a(0x109)](_0x59cff5);const _0x497ba6=await this[_0x3bdd0a(0x120)][_0x3bdd0a(0xdc)](_0x59cff5)[_0x3bdd0a(0x130)]();_0x357399[_0x3bdd0a(0x117)](_0x59cff5,_0x497ba6);}}async[_0x5ec08a(0x100)](_0x44f062){const _0x2c81db=_0x5ec08a,{connection:_0x44cc2e}=this[_0x2c81db(0xdb)][_0x2c81db(0x13a)][_0x2c81db(0xdc)](_0x2c6b5d),_0x20c4aa=this[_0x2c81db(0xdb)][_0x2c81db(0x13a)][_0x2c81db(0xdc)](_0x2c81db(0x12e)),_0x2d149e=this[_0x2c81db(0x120)][_0x2c81db(0xdc)](_0x44f062),_0x5e72d3=await _0x2d149e[_0x2c81db(0x115)](_0x44cc2e);await this[_0x2c81db(0x126)](_0x5e72d3);const _0x4fb2df=new Set(Array[_0x2c81db(0xf5)](_0x20c4aa[_0x2c81db(0x119)]({'channelId':_0x44f062}),_0x5cc970=>_0x5cc970['id']));for(const _0x5b8169 of _0x5e72d3)_0x5b8169[_0x2c81db(0x10e)]||_0x4fb2df[_0x2c81db(0x10f)](_0x5b8169[_0x2c81db(0x114)]);for(const _0x29d021 of _0x4fb2df)_0x20c4aa[_0x2c81db(0xee)](_0x29d021)[_0x2c81db(0xe2)]({'isFromAdapter':!0x0});for(const _0x5c3f17 of _0x5e72d3){let _0x9f2b96=_0x20c4aa[_0x2c81db(0xee)](_0x5c3f17[_0x2c81db(0x114)]);const {commentThreadId:_0x56b261,context:_0x95227,attributes:_0x199e0c,resolvedBy:_0x4c9f2c,resolvedAt:_0x3e3eb5,unlinkedAt:_0x1a1485,deletedAt:_0x10c159}=_0x5c3f17;if(_0x10c159)continue;_0x9f2b96||(_0x9f2b96=_0x20c4aa[_0x2c81db(0x12d)]({'channelId':_0x44f062,'threadId':_0x56b261,'context':_0x95227,'attributes':_0x199e0c||{},'resolvedBy':_0x4c9f2c,'resolvedAt':_0x3e3eb5,'unlinkedAt':_0x1a1485,'isFromAdapter':!0x0}));const _0x4bf2a0=new Set(Array[_0x2c81db(0xf5)](_0x9f2b96[_0x2c81db(0x10d)],_0x1eee77=>_0x1eee77['id']));for(const _0x57c105 of _0x5c3f17[_0x2c81db(0x10d)])_0x4bf2a0[_0x2c81db(0x10f)](_0x57c105[_0x2c81db(0xed)]);for(const _0x1d0e6b of _0x4bf2a0)_0x9f2b96[_0x2c81db(0x137)](_0x1d0e6b)[_0x2c81db(0xe2)]({'isFromAdapter':!0x0});for(const _0x400b79 of _0x5c3f17[_0x2c81db(0x10d)]){const _0x5d69b2=_0x9f2b96[_0x2c81db(0x137)](_0x400b79[_0x2c81db(0xed)]);_0x5d69b2?_0x5d69b2[_0x2c81db(0xe0)]!==_0x400b79[_0x2c81db(0xe0)]&&_0x5d69b2[_0x2c81db(0xe4)]({'content':_0x400b79[_0x2c81db(0xe0)],'isFromAdapter':!0x0}):_0x9f2b96[_0x2c81db(0x13b)](Object[_0x2c81db(0xf0)](p(_0x400b79),{'isFromAdapter':!0x0}));}}}[_0x5ec08a(0x135)](_0x19bc6){const _0x23e917=_0x5ec08a;if(!this[_0x23e917(0x120)][_0x23e917(0xfe)](_0x19bc6))throw new _0x29dc15(_0x23e917(0x13f),null,{'channelId':_0x19bc6});return this[_0x23e917(0x120)][_0x23e917(0xdc)](_0x19bc6);}async[_0x5ec08a(0x126)](_0x478375){const _0x3e194e=_0x5ec08a,_0x4f5ad3=this[_0x3e194e(0xdb)][_0x3e194e(0x13a)][_0x3e194e(0xdc)](_0x26eca7),{connection:_0x4232e2}=this[_0x3e194e(0xdb)][_0x3e194e(0x13a)][_0x3e194e(0xdc)](_0x2c6b5d),_0x17ed9a=new Set();for(const {resolvedBy:_0x5c3967,comments:_0x48d8df}of _0x478375){_0x5c3967&&!_0x4f5ad3[_0x3e194e(0x118)](_0x5c3967)&&_0x17ed9a[_0x3e194e(0xf3)](_0x5c3967);for(const {userId:_0x43c9ee}of _0x48d8df)_0x4f5ad3[_0x3e194e(0x118)](_0x43c9ee)||_0x17ed9a[_0x3e194e(0xf3)](_0x43c9ee);}if(0x0===_0x17ed9a[_0x3e194e(0x131)])return;const _0x4aff38=await _0x5bb7eb[_0x3e194e(0x128)](_0x4232e2,Array[_0x3e194e(0xf5)](_0x17ed9a));for(const _0x245db3 of _0x4aff38)_0x4f5ad3[_0x3e194e(0x118)](_0x245db3['id'])||_0x4f5ad3[_0x3e194e(0x139)](_0x245db3);}}async function f(_0x4849d3){const _0x5b01ad=_0x5ec08a;if(_0x5b01ad(0xe9)!==_0x4849d3[_0x5b01ad(0xff)])throw _0x4849d3;}function A(_0x29773e){const _0x591b8d=_0x5ec08a;if((_0x1ac001=_0x29773e)[_0x591b8d(0x10c)][_0x591b8d(0x12b)](_0x591b8d(0x13e))||_0x1ac001[_0x591b8d(0x10c)][_0x591b8d(0x12b)](_0x591b8d(0x123))||_0x1ac001[_0x591b8d(0x10c)][_0x591b8d(0x12b)](_0x591b8d(0x12f)))return new Promise(()=>{});var _0x1ac001;throw _0x29773e;}function _0x48b8(){const _0x439c79=['12283944vfqxZo','_services','resolvedAt','isOfficialPlugin','cloud-services-internal-error:\x20Not\x20connected.','commentThreadAdded','reconnect','_fetchMissingUsersForThreads','authorId','getMany','sessionAdd:','commentThreadResolved','startsWith','resolveCommentThread','addCommentThread','CommentsRepository','cloud-services-internal-error:\x20Request\x20timeout.','getConnectedSessions','size','removeComment','resolve','CommentsService','_getService','updateCommentThread','getComment','2629728zgkRzB','addUser','plugins','addComment','cloudservicescommentsadapter-disconnect-not-exist','Permissions','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','cloudservicescommentsadapter-service-not-exist','3TBvREu','pluginName','context','get','setPermissions','commentThreadRemoved','1880yeiNhz','content','7PfvDkh','remove','off','update','catch','commentUpdated','commentThreadUpdated','reopen','404','isPremiumPlugin','updateComment','602892FTGwyS','commentId','getCommentThread','permissions','assign','commentRemoved','3149352xHNAII','add','collaboration.channelId','from','listenTo','50312416ELXUfB','map','init','1215246zCqSkw','mySessionId','cloudservicescommentsadapter-connect-already-connected','10jpbtIL','has','code','_connectService','resolvedBy','keys','set','destroy','createdAt','10aNxmUf','adapter','_terminateService','unregister','attributes','commentAdded','message','comments','deletedAt','delete','userId','reopenCommentThread','_setUpService','addToReconnectionStack','commentThreadId','connect','disconnect','register','getUser','getCommentThreads','removeCommentThread','config','CloudServicesCommentsAdapter','commentThreadReopened','requires'];_0x48b8=function(){return _0x439c79;};return _0x48b8();}function p(_0x3cbd49){const _0x5e0e4d=_0x5ec08a;return{'threadId':_0x3cbd49[_0x5e0e4d(0x114)],'commentId':_0x3cbd49[_0x5e0e4d(0xed)],'content':_0x3cbd49[_0x5e0e4d(0xe0)],'createdAt':_0x3cbd49[_0x5e0e4d(0x105)],'authorId':_0x3cbd49[_0x5e0e4d(0x110)],'attributes':_0x3cbd49[_0x5e0e4d(0x10a)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x439473=_0x1f13;(function(_0x5c1c32,_0x13d3d1){const _0x464f17=_0x1f13,_0x467366=_0x5c1c32();while(!![]){try{const _0x52c3d3=parseInt(_0x464f17(0xd2))/0x1+parseInt(_0x464f17(0x10a))/0x2*(parseInt(_0x464f17(0xe1))/0x3)+parseInt(_0x464f17(0x16f))/0x4+parseInt(_0x464f17(0xd3))/0x5+-parseInt(_0x464f17(0x117))/0x6*(parseInt(_0x464f17(0xdc))/0x7)+parseInt(_0x464f17(0xfa))/0x8*(parseInt(_0x464f17(0x1a2))/0x9)+-parseInt(_0x464f17(0xb0))/0xa;if(_0x52c3d3===_0x13d3d1)break;else _0x467366['push'](_0x467366['shift']());}catch(_0x1e6bd5){_0x467366['push'](_0x467366['shift']());}}}(_0x17b3,0xb7e1b));import{Plugin as _0x24ba6c,PendingActions as _0x20a619}from'ckeditor5/src/core.js';import{CKEditorError as _0x592ff1,version as _0xc3d60b,uid as _0x1b8bca}from'ckeditor5/src/utils.js';function _0x17b3(){const _0x14beb2=['_document','_lastSyncedOperationId','loadRoot','8LLxFaV','roots','change:range','connected','_isConnected','filter','_handleSendingSelectionMarkers','PENDING_ACTION_SENDING_DATA','lastDocumentSession','isUndoneOperation','reset','CollaborativeEditingService','_setPendingAction','document:write','collaboration','multi-root-editor-root-attributes-no-root','542ulKFvv','addRoot','getDocumentDetails','createPositionAt','requires','realtimecollaborationclient-error','sendOperations','_pendingAction','getOperations','_saveOperationInBuffer','_handleReconnectionResponse','RealTimeCollaborationClient','isOfficialPlugin','73212wJTLTJ','_isLoaded','view','addRootAttribute','_channelId','_loadRoot','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.','ready','_crash','stopListening','offset','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','permissions','end','_addKnownRoot','_isPendingUpdate','lastSyncVersion','startsWith','Notification','wereChangesApplied','attributes','addUser','_initSessionsHandling','realtimecollaborationclient-sendbufferedoperations','plugins','toJSON','listenTo','createRoot','getUser','_hasSelectionChanged','affectsData','404','realtimecollaborationclient-init-service-incorrect-server-operation','compress','$root','locale','start','setPermissions','_ignoredOperations','insert','_isDisconnection','getRoot','_waitUntilSynced','cloudServices.bundleVersion','push','_knownRootNames','_isInit','getIdOfTheLastOperation','initData','_compressor','_operationToId','_sendBufferedOperationsDelayId','code','_currentBufferDelay','_connectService','createUserMarkerOperations','editor','parse','_refreshUserSelectionMarkers','keys','apply','cloud-services-internal-error:\x20Not\x20connected.','directChange','_connectAfterSessionHasBeenFlushed','bind','baseVersion','pluginName','slice','cloudDocumentVersion','state','applyOperation','isDocumentOperation','document','_sendBufferedOperationsDelayed','fromJSON','lastOperationAcceptedAt','round','entries','catch','_authorId','_decompressOperations','_lastServerVersion','getConnectedSessions','_handleReceivedOperations','suppressErrorInCollaboration','set','409','off','3294188sLnxeq','_offset','data','stop','enableReadOnlyMode','selection','rtc-destroyed','_clearPendingAction','realtimecollaborationclient-init-session-connection-error','_updateServerHistory','change:hasDomSelection','disconnect','_applyOperationsSet','size','real-time-collaboration','_setUpDataInit','_knownOperations','_isEditingAllowed','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','userId','root','lastOperationId','sessionId','clone','operationsReceived','_hasSynchronizationProblem','_initThrowingOnDataSet','realtimecollaborationclient-init-non-existent-root','reconnect','wasUndone','unregister','has','disconnected','change:_isPendingUpdate','_service','mySessionId','string','connect','setIdForTheLastOperation','add','change:_isEditingAllowed','rootsAttributes','register','history','_handleServerResponse','targetPosition','marker','_sendBufferedOperations','get','realtimecollaborationclient-init-service-internal-error','serverHistory','5699763vUZAaC','move','removeFromReconnectionStack','collaboration-missing-channelid','type','_bufferRootLoad','fire','version','_shouldSendUpdate','getOperationAuthor','getMany','_disconnectionOperations','addOperation','createRange','error','_shouldSendSelectionUpdate','addToReconnectionStack','collaboration.channelId','markers','_getAffectedRoot','20363250BiKewV','_baseBufferDelay','realtimecollaborationclient','map','_getOperationsFromInitData','from','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','destroy','includes','cloud-services-internal-error:\x20Request\x20timeout.','createPositionFromPath','CommentsOnly','realtimecollaborationclient-init-document-already-initialized','sessionAdd:','cs:removeUser','_isAttached','model','realtimecollaborationclient-handleserverresponse','high','_handleExternalOperations','finally','_operationIdentifier','init','batch','decompress','_fetchMissingUsers','rtc-offline','isEnabled','realtimecollaborationclient-init-connection-failed','editing','rootName','_bufferedOperations','define','_handleInitialConnectionData','633469DyBNQe','2362350FdFpam','Synchronization\x20issue','differ','newRange','Permissions','connection','remove','forEach','InsertOperation','658uxAKfD','reconnection:\x20flushed\x20session','affectedSelectable','isReadOnly','message','15207rfIKsA','channelSessions','_handleReconnectionError','sessionCreatedAt','_disconnectService','metadata','position','createdAt','isPremiumPlugin','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.','_compressOperations','showWarning','return','enqueueChange','config','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','__className','then','path','currentDocumentSession','length','disableReadOnlyMode'];_0x17b3=function(){return _0x14beb2;};return _0x17b3();}import{Notification as _0x310613}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x32c157,NoOperation as _0x4af62a,InsertOperation as _0x3b185e,MarkerOperation as _0x1a6d43,RootAttributeOperation as _0x38d8cb,OperationFactory as _0x5b9be5,History as _0x56fb15}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4c2312}from'./websocketgateway.js';import{Sessions as _0x356b98}from'./sessions.js';import{UserMarkers as _0x4a0eb9}from'./usermarkers.js';import{getTranslation as _0x4a07c4}from'../common-translations.js';import{Compressor as _0x306007}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x50077c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x8c6bbf,CollaborativeEditingService as _0x5139e2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;export class RealTimeCollaborationClient extends _0x24ba6c{static [_0x439473(0x105)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5139e2)());[_0x439473(0x170)];[_0x439473(0x185)];[_0x439473(0x1a1)];[_0x439473(0x11b)];[_0x439473(0x191)];[_0x439473(0xf7)];[_0x439473(0x148)];[_0x439473(0xcf)];[_0x439473(0x17f)];[_0x439473(0x144)];[_0x439473(0x111)];[_0x439473(0x134)];[_0x439473(0x14a)];[_0x439473(0xb1)];[_0x439473(0x14c)];[_0x439473(0xf8)];[_0x439473(0xa7)];[_0x439473(0xc5)];static get[_0x439473(0x10e)](){return[_0x4c2312,_0x356b98,_0x4a0eb9,_0x20a619,_0x50077c,_0x310613];}static get[_0x439473(0x159)](){const _0x4d30e5=_0x439473;return _0x4d30e5(0x115);}static get[_0x439473(0x116)](){return!0x0;}static get[_0x439473(0xe9)](){return!0x0;}get[_0x439473(0x15b)](){const _0x32a9f7=_0x439473;return this[_0x32a9f7(0x168)]+this[_0x32a9f7(0x170)];}get[_0x439473(0x168)](){const _0x3589aa=_0x439473;return this[_0x3589aa(0x1a1)][_0x3589aa(0x1a9)]-this[_0x3589aa(0x170)];}get[_0x439473(0x127)](){const _0x4d4d81=_0x439473,_0x594ecf=this[_0x4d4d81(0x1a1)][_0x4d4d81(0x112)]();for(let _0x383fa6=_0x594ecf[_0x4d4d81(0xf5)]-0x1;_0x383fa6>=0x0;_0x383fa6--){const _0x1b343a=_0x594ecf[_0x383fa6];if(!this[_0x4d4d81(0xa7)][_0x4d4d81(0x18e)](_0x1b343a))return _0x1b343a[_0x4d4d81(0x158)]+0x1-this[_0x4d4d81(0x170)];}return 0x0;}constructor(_0x3ccf22){const _0x1d7fad=_0x439473;if(super(_0x3ccf22),this[_0x1d7fad(0x170)]=0x0,this[_0x1d7fad(0x185)]=null,this[_0x1d7fad(0x1a1)]=new _0x56fb15(),this[_0x1d7fad(0x14f)][_0x1d7fad(0xef)][_0x1d7fad(0xd0)](_0x1d7fad(0x108),{}),this[_0x1d7fad(0x11b)]=this[_0x1d7fad(0x14f)][_0x1d7fad(0xef)][_0x1d7fad(0x19f)](_0x1d7fad(0xad)),!this[_0x1d7fad(0x11b)])throw new _0x592ff1(_0x1d7fad(0x1a5),this);const _0x4dce63=_0x3ccf22[_0x1d7fad(0xef)][_0x1d7fad(0x19f)](_0x1d7fad(0x142))||_0xc3d60b;this[_0x1d7fad(0x191)]=new RealTimeCollaborationClient[(_0x1d7fad(0x105))](_0x4dce63,this[_0x1d7fad(0x11b)]),this[_0x1d7fad(0xf7)]=this[_0x1d7fad(0x14f)][_0x1d7fad(0xc0)][_0x1d7fad(0x15f)],this[_0x1d7fad(0x148)]=new _0x306007(),this[_0x1d7fad(0xcf)]=[],this[_0x1d7fad(0x17f)]=new WeakSet(),this[_0x1d7fad(0x144)]=new Set(),this[_0x1d7fad(0x16c)](_0x1d7fad(0x126),!0x1),this[_0x1d7fad(0x16c)](_0x1d7fad(0x188),!0x1),this[_0x1d7fad(0x111)]=null,this[_0x1d7fad(0x134)]=!0x1,this[_0x1d7fad(0x14a)]=null,this[_0x1d7fad(0xb1)]=0x12c,this[_0x1d7fad(0x14c)]=this[_0x1d7fad(0xb1)],this[_0x1d7fad(0xf8)]=null,this[_0x1d7fad(0xa7)]=new WeakSet(),this[_0x1d7fad(0xc5)]=new tt(this[_0x1d7fad(0xa7)]);}[_0x439473(0xc6)](){const _0xb4844a=_0x439473,_0x1fb3cc=this[_0xb4844a(0x14f)],_0x59a960=_0x1fb3cc[_0xb4844a(0x12f)][_0xb4844a(0x19f)](_0x50077c),_0x25d6c0=_0x1fb3cc[_0xb4844a(0x12f)][_0xb4844a(0x19f)](_0x4c2312);this[_0xb4844a(0x131)](_0x59a960,_0xb4844a(0x1ab),(_0x589d45,_0x2e9051)=>{const _0x1ece38=_0xb4844a,_0x22fc5b=_0x2e9051[0x0];_0x22fc5b[_0x1ece38(0x166)]&&(_0x589d45[_0x1ece38(0xed)]=_0x59a960[_0x1ece38(0x133)](_0x22fc5b[_0x1ece38(0x166)]),_0x589d45[_0x1ece38(0x172)]()),null===_0x22fc5b[_0x1ece38(0x166)]&&(_0x589d45[_0x1ece38(0xed)]=null,_0x589d45[_0x1ece38(0x172)]());},{'priority':_0xb4844a(0xc2)}),this[_0xb4844a(0x131)](_0x1fb3cc[_0xb4844a(0xc0)][_0xb4844a(0x15f)][_0xb4844a(0x174)],_0xb4844a(0xfc),(_0x3221ff,_0x4e51d7)=>{const _0x5355f7=_0xb4844a;_0x4e51d7[_0x5355f7(0x155)]&&this[_0x5355f7(0x151)]();}),this[_0xb4844a(0x131)](_0x1fb3cc[_0xb4844a(0xcd)][_0xb4844a(0x119)],_0xb4844a(0x179),()=>{const _0x358563=_0xb4844a;this[_0x358563(0x151)]();}),this[_0xb4844a(0x189)](),_0x1fb3cc[_0xb4844a(0xc0)]['on'](_0xb4844a(0x15d),(_0x1b5b81,_0x3519c5)=>{const _0x168b51=_0xb4844a,_0x3865c5=_0x3519c5[0x0];_0x3865c5[_0x168b51(0x15e)]&&(this[_0x168b51(0x113)](_0x3865c5),this[_0x168b51(0x1aa)]()&&this[_0x168b51(0x160)]());}),this[_0xb4844a(0x17e)](),this[_0xb4844a(0x157)](_0xb4844a(0x180))['to'](_0x25d6c0,_0xb4844a(0x15c),this,_0xb4844a(0x188),(_0x2a6ef2,_0x852e30)=>_0xb4844a(0xfd)===_0x2a6ef2&&!_0x852e30),this['on'](_0xb4844a(0x197),()=>{const _0x4cdca6=_0xb4844a;this[_0x4cdca6(0x180)]?_0x1fb3cc[_0x4cdca6(0xf6)](_0x4cdca6(0xca)):_0x1fb3cc[_0x4cdca6(0x173)](_0x4cdca6(0xca));}),this[_0xb4844a(0x180)]?_0x1fb3cc[_0xb4844a(0xf6)](_0xb4844a(0xca)):_0x1fb3cc[_0xb4844a(0x173)](_0xb4844a(0xca)),this[_0xb4844a(0x16c)](_0xb4844a(0xfe),!0x1);}async[_0x439473(0x18b)](){const _0x223f8f=_0x439473,_0x4762cd=this[_0x223f8f(0x14f)][_0x223f8f(0x12f)][_0x223f8f(0x19f)](_0x356b98),_0x2bc8e1=this[_0x223f8f(0x14f)][_0x223f8f(0x12f)][_0x223f8f(0x19f)](_0x4c2312);try{this[_0x223f8f(0x126)]=!0x0,_0x4762cd[_0x223f8f(0x18d)](this[_0x223f8f(0x11b)]);const _0x434750=await this[_0x223f8f(0x191)][_0x223f8f(0x18b)](_0x2bc8e1[_0x223f8f(0xd8)],this[_0x223f8f(0x127)]);await this[_0x223f8f(0x114)](_0x434750)&&(this[_0x223f8f(0x126)]=!0x1,this[_0x223f8f(0x176)]());const _0x1b78cc=await this[_0x223f8f(0x191)][_0x223f8f(0x169)]();_0x4762cd[_0x223f8f(0x199)](this[_0x223f8f(0x11b)],_0x1b78cc),this[_0x223f8f(0x100)](),this[_0x223f8f(0xfe)]=!0x0;}catch(_0x3794d1){if(function(_0x38c8ed){const _0x44bfa4=_0x223f8f;return _0x44bfa4(0x136)===_0x38c8ed[_0x44bfa4(0x14b)];}(_0x3794d1)&&this[_0x223f8f(0x185)])await this[_0x223f8f(0x156)]();else{if(function(_0x42ee5e){const _0x13b6cf=_0x223f8f;return _0x13b6cf(0x16d)===_0x42ee5e[_0x13b6cf(0x14b)];}(_0x3794d1)){const _0x4c5836=_0x4a07c4(this[_0x223f8f(0x14f)][_0x223f8f(0x13a)],_0x223f8f(0xb6));this[_0x223f8f(0xe3)](_0x4c5836);}else{if(!(_0x3794d1 instanceof Y))throw _0x3794d1;this[_0x223f8f(0xe3)]();}}}}[_0x439473(0xb7)](){const _0x5801d7=_0x439473,_0x392048=this[_0x5801d7(0x14f)][_0x5801d7(0x12f)][_0x5801d7(0x19f)](_0x4c2312),_0x3db315=this[_0x5801d7(0x14f)][_0x5801d7(0x12f)][_0x5801d7(0x19f)](_0x356b98);this[_0x5801d7(0x14f)][_0x5801d7(0x173)](_0x5801d7(0x175)),_0x3db315[_0x5801d7(0xe2)][_0x5801d7(0x18e)](this[_0x5801d7(0x11b)])&&_0x3db315[_0x5801d7(0x18d)](this[_0x5801d7(0x11b)]),_0x392048[_0x5801d7(0x1a4)](this),this[_0x5801d7(0xe5)](),super[_0x5801d7(0xb7)]();}async[_0x439473(0x114)](_0x3e4407){const _0x5d8991=_0x439473;if(this[_0x5d8991(0x185)]!==_0x3e4407[_0x5d8991(0x185)]&&this[_0x5d8991(0xf8)]!==_0x3e4407[_0x5d8991(0x184)])throw new Y();return this[_0x5d8991(0x185)]=_0x3e4407[_0x5d8991(0x185)],this[_0x5d8991(0x19b)]([],{..._0x3e4407,'wereChangesApplied':!0x1,'data':_0x3e4407[_0x5d8991(0x171)]},_0x5d8991(0x18b));}async[_0x439473(0x14d)](_0x37e2db,_0x37fd3e=!0x1){const _0x16f4c8=_0x439473,{connection:_0x126de6}=this[_0x16f4c8(0x14f)][_0x16f4c8(0x12f)][_0x16f4c8(0x19f)](_0x4c2312);RealTimeCollaborationClient[_0x16f4c8(0x105)][_0x16f4c8(0x169)](_0x126de6,this[_0x16f4c8(0x11b)])[_0x16f4c8(0xf2)](_0x323a60=>this[_0x16f4c8(0x12d)](_0x323a60))[_0x16f4c8(0x165)](_0x51b815=>{const _0x5a34b7=_0x16f4c8;this[_0x5a34b7(0x11f)](_0x5a34b7(0x177),_0x51b815);}),this[_0x16f4c8(0x131)](this[_0x16f4c8(0x191)],_0x16f4c8(0x187),this[_0x16f4c8(0x16a)][_0x16f4c8(0x157)](this)),this[_0x16f4c8(0x131)](this[_0x16f4c8(0x191)],_0x16f4c8(0xaa),(_0x2a5588,_0x1006d8)=>{const _0x455b04=_0x16f4c8;this[_0x455b04(0x11f)](_0x455b04(0x1a0),_0x1006d8);}),this[_0x16f4c8(0x131)](this[_0x16f4c8(0x191)],_0x16f4c8(0x18f),()=>{const _0x392f90=_0x16f4c8;this[_0x392f90(0xfe)]=!0x1;});const _0x8e173d=this[_0x16f4c8(0xc5)][_0x16f4c8(0x146)](_0x37e2db);this[_0x16f4c8(0x126)]=!0x0;const _0x290bdd=await this[_0x16f4c8(0x191)][_0x16f4c8(0x194)](_0x126de6,this[_0x16f4c8(0xeb)](_0x37e2db),_0x8e173d);if(this[_0x16f4c8(0x185)]=_0x290bdd[_0x16f4c8(0x185)],_0x37fd3e){if(!_0x290bdd[_0x16f4c8(0x12a)])return void this[_0x16f4c8(0xe3)]();this[_0x16f4c8(0x126)]=!0x1,this[_0x16f4c8(0x176)](),this[_0x16f4c8(0x1a1)][_0x16f4c8(0x104)](),this[_0x16f4c8(0x170)]=_0x290bdd[_0x16f4c8(0x121)],this[_0x16f4c8(0x1a1)][_0x16f4c8(0x1a9)]=this[_0x16f4c8(0x170)],await this[_0x16f4c8(0x19b)](_0x37e2db,_0x290bdd,_0x16f4c8(0xdd));}else await this[_0x16f4c8(0xd1)](_0x290bdd,_0x37e2db);this[_0x16f4c8(0x100)](),this[_0x16f4c8(0xfe)]=!0x0;}[_0x439473(0x100)](){const _0x38a2b9=_0x439473,_0x19dc38=this[_0x38a2b9(0x14f)][_0x38a2b9(0x12f)][_0x38a2b9(0x19f)](_0x356b98),_0xb3de6d=this[_0x38a2b9(0x14f)][_0x38a2b9(0x12f)][_0x38a2b9(0x19f)](_0x4a0eb9),_0x4ee8f5=_0x19dc38[_0x38a2b9(0xe2)][_0x38a2b9(0x19f)](this[_0x38a2b9(0x11b)]);_0x4ee8f5&&_0x4ee8f5[_0x38a2b9(0xf5)]>0x1?_0xb3de6d[_0x38a2b9(0x14e)]():this[_0x38a2b9(0x131)](_0x19dc38,_0x38a2b9(0xbd)+this[_0x38a2b9(0x11b)],()=>{const _0x48a7f7=_0x38a2b9;0x2===_0x19dc38[_0x48a7f7(0xe2)][_0x48a7f7(0x19f)](this[_0x48a7f7(0x11b)])[_0x48a7f7(0xf5)]&&_0xb3de6d[_0x48a7f7(0x14e)]();});}async[_0x439473(0x16a)](_0x1b44c9,_0x463721,_0x505902,_0x3d87fe){const _0xe8c8ec=_0x439473;if(!this[_0xe8c8ec(0x126)]&&this[_0xe8c8ec(0xf7)][_0xe8c8ec(0x1a9)]==_0x463721){const _0x3381f3=this[_0xe8c8ec(0x167)](_0x505902,_0x3d87fe);await this[_0xe8c8ec(0xc9)](_0x3381f3),this[_0xe8c8ec(0xc3)](_0x3381f3,_0x463721,_0x505902[_0xe8c8ec(0x184)])||this[_0xe8c8ec(0x11f)](_0xe8c8ec(0x137));}}async[_0x439473(0x156)](){const _0x3c2c7f=_0x439473;this[_0x3c2c7f(0xe5)]();const {locale:_0x443ffc}=this[_0x3c2c7f(0x14f)];let _0x5e077c;try{_0x5e077c=await this[_0x3c2c7f(0x191)][_0x3c2c7f(0x10c)]();}catch{const _0x43fbd1=_0x4a07c4(_0x443ffc,_0x3c2c7f(0x181));return void this[_0x3c2c7f(0xe3)](_0x43fbd1);}const _0xdeedbc=_0x5e077c[_0x3c2c7f(0xf4)]||_0x5e077c[_0x3c2c7f(0x102)];if(this[_0x3c2c7f(0xf8)]!==_0xdeedbc[_0x3c2c7f(0x184)]){const _0x3a8c41=_0x4a07c4(_0x443ffc,_0x3c2c7f(0x11d));return void this[_0x3c2c7f(0xe3)](_0x3a8c41);}await this[_0x3c2c7f(0x14d)](this[_0x3c2c7f(0x14f)][_0x3c2c7f(0xc0)][_0x3c2c7f(0x15f)][_0x3c2c7f(0x19a)][_0x3c2c7f(0x112)](),!0x0);}[_0x439473(0xe5)](){const _0x1b48a1=_0x439473;this[_0x1b48a1(0x191)][_0x1b48a1(0x17a)](),this[_0x1b48a1(0xcf)]=[],clearTimeout(this[_0x1b48a1(0x14a)]),this[_0x1b48a1(0x120)](this[_0x1b48a1(0x191)]);}[_0x439473(0x12d)](_0x317565){const _0x24dd74=_0x439473,_0x2034f2=this[_0x24dd74(0x14f)][_0x24dd74(0x12f)][_0x24dd74(0x19f)](_0x356b98);this[_0x24dd74(0x131)](_0x2034f2,_0x24dd74(0xbd)+this[_0x24dd74(0x11b)],(_0x3072ce,{session:_0x823961})=>{const _0x352561=_0x24dd74;if(_0x823961['id']===_0x2034f2[_0x352561(0x192)]){_0x3072ce[_0x352561(0x16e)]();const _0x2ebfa1=this[_0x352561(0x14f)][_0x352561(0x12f)][_0x352561(0x18e)](_0x352561(0xbb))&&this[_0x352561(0x14f)][_0x352561(0x12f)][_0x352561(0x19f)](_0x352561(0xbb));let _0x4a2176=_0x823961[_0x352561(0x123)];_0x2ebfa1&&_0x2ebfa1[_0x352561(0xcb)]&&(_0x4a2176=_0x4a2176[_0x352561(0xff)](_0xca0d6e=>_0x352561(0x107)!==_0xca0d6e)),this[_0x352561(0x14f)][_0x352561(0x12f)][_0x352561(0x19f)](_0x352561(0xd7))[_0x352561(0x13c)](_0x4a2176,this[_0x352561(0x11b)]);}}),_0x2034f2[_0x24dd74(0x199)](this[_0x24dd74(0x11b)],_0x317565);}[_0x439473(0x189)](){const _0x585811=_0x439473,_0x3813a6=this[_0x585811(0x14f)][_0x585811(0x171)][_0x585811(0x16c)];this[_0x585811(0x14f)][_0x585811(0x171)][_0x585811(0x16c)]=(..._0x4777f0)=>{const _0x380945=_0x585811;if(!_0x4777f0[_0x4777f0[_0x380945(0xf5)]-0x1][_0x380945(0x16b)])throw new _0x592ff1(_0x380945(0xf0),this);_0x3813a6[_0x380945(0x153)](this[_0x380945(0x14f)][_0x380945(0x171)],_0x4777f0);};}[_0x439473(0x17e)](){const _0x29dd31=_0x439473;this[_0x29dd31(0x14f)][_0x29dd31(0x171)]['on'](_0x29dd31(0xc6),(_0x2ee169,[_0x382e56])=>{const _0x4073e4=_0x29dd31;if(this[_0x4073e4(0xf7)][_0x4073e4(0x1a9)])throw new _0x592ff1(_0x4073e4(0xbc),this);_0x2ee169[_0x4073e4(0x172)](),this[_0x4073e4(0x106)]();const _0x326093=this[_0x4073e4(0x14f)][_0x4073e4(0xef)][_0x4073e4(0x19f)](_0x4073e4(0x198)),_0x411610=this[_0x4073e4(0xb4)](_0x382e56,_0x326093);0x0==_0x411610[_0x4073e4(0xf5)]&&_0x411610[_0x4073e4(0x143)](new _0x4af62a(0x0)),_0x2ee169[_0x4073e4(0xed)]=this[_0x4073e4(0x14d)](_0x411610)[_0x4073e4(0xf2)](()=>{const _0x2d7bac=_0x4073e4;this[_0x2d7bac(0x14f)][_0x2d7bac(0x12f)][_0x2d7bac(0x19f)](_0x4c2312)[_0x2d7bac(0xac)](this),this[_0x2d7bac(0x14f)][_0x2d7bac(0x171)][_0x2d7bac(0x1a8)](_0x2d7bac(0x11e));})[_0x4073e4(0x165)](_0xc45e0a=>this[_0x4073e4(0x11f)](_0x4073e4(0xcc),_0xc45e0a))[_0x4073e4(0xc4)](()=>this[_0x4073e4(0x176)]());},{'priority':_0x29dd31(0xc2)}),this[_0x29dd31(0x14f)]['on'](_0x29dd31(0xf9),async(_0x475b6e,[_0xeaee3e,_0x3b571b])=>{const _0x3a20a8=_0x29dd31;_0x475b6e[_0x3a20a8(0x172)]();const _0x2a4dc0=this[_0x3a20a8(0x14f)][_0x3a20a8(0xc0)][_0x3a20a8(0x15f)][_0x3a20a8(0x140)](_0xeaee3e);if(!this[_0x3a20a8(0x144)][_0x3a20a8(0x18e)](_0xeaee3e)){const _0x11c0b2=_0x3b571b&&_0x3b571b[_0x3a20a8(0x171)]?_0x3b571b[_0x3a20a8(0x171)]:'',_0x3744da=_0x3b571b&&_0x3b571b[_0x3a20a8(0x12b)]?_0x3b571b[_0x3a20a8(0x12b)]:{};await this[_0x3a20a8(0x11c)](_0xeaee3e,_0x11c0b2,_0x3744da);}this[_0x3a20a8(0x14f)][_0x3a20a8(0xc0)][_0x3a20a8(0xee)]({'isUndoable':!0x1},()=>{const _0x25bf3a=_0x3a20a8;_0x2a4dc0[_0x25bf3a(0x118)]=!0x0,this[_0x25bf3a(0x14f)][_0x25bf3a(0xc0)][_0x25bf3a(0x15f)][_0x25bf3a(0xd5)][_0x25bf3a(0x1a7)](_0x2a4dc0);});},{'priority':_0x29dd31(0xc2)});}async[_0x439473(0xc9)](_0x571704){const _0x35432f=_0x439473,_0x342b39=this[_0x35432f(0x14f)][_0x35432f(0x12f)][_0x35432f(0x19f)](_0x50077c),{connection:_0x1a5d44}=this[_0x35432f(0x14f)][_0x35432f(0x12f)][_0x35432f(0x19f)](_0x4c2312),_0x1f290e=new Set();for(const _0x4980f5 of _0x571704){const _0x47adfc=_0x4980f5[_0x35432f(0x166)];_0x47adfc&&!_0x342b39[_0x35432f(0x133)](_0x47adfc)&&_0x1f290e[_0x35432f(0x196)](_0x47adfc);}if(0x0===_0x1f290e[_0x35432f(0x17c)])return;const _0x35e7e7=await _0x8c6bbf[_0x35432f(0x1ac)](_0x1a5d44,Array[_0x35432f(0xb5)](_0x1f290e));for(const _0x278750 of _0x35e7e7)_0x342b39[_0x35432f(0x133)](_0x278750['id'])||_0x342b39[_0x35432f(0x12c)](_0x278750);}[_0x439473(0xb4)](_0x49419f,_0x304dc5={}){const _0x250e55=_0x439473,_0x2a5074=this[_0x250e55(0x14f)][_0x250e55(0xc0)],_0x1a525a=[];let _0x142a5b=0x0;const _0x465757=_0x250e55(0x193)==typeof _0x49419f?{'main':_0x49419f}:_0x49419f;for(const _0x15b786 of Object[_0x250e55(0x152)](_0x465757)){if(!this[_0x250e55(0xf7)][_0x250e55(0xfb)][_0x250e55(0x18e)](_0x15b786))throw new _0x592ff1(_0x250e55(0x18a),this);const _0x32f206=this[_0x250e55(0x14f)][_0x250e55(0x171)][_0x250e55(0x150)](_0x465757[_0x15b786]),_0x52fa47=this[_0x250e55(0xf7)][_0x250e55(0x140)](_0x15b786),_0x122cd4=new _0x3b185e(_0x2a5074[_0x250e55(0x10d)](_0x52fa47,0x0),_0x32f206,_0x142a5b++);_0x1a525a[_0x250e55(0x143)](_0x122cd4);for(const [_0x1df69c,_0x537baa]of _0x32f206[_0x250e55(0xae)]){const _0xb3c9e4=_0x2a5074[_0x250e55(0xa9)](_0x2a5074[_0x250e55(0xba)](_0x52fa47,_0x537baa[_0x250e55(0x13b)][_0x250e55(0xf3)][_0x250e55(0x15a)]()),_0x2a5074[_0x250e55(0xba)](_0x52fa47,_0x537baa[_0x250e55(0x124)][_0x250e55(0xf3)][_0x250e55(0x15a)]())),_0x52bfd2=new _0x1a6d43(_0x1df69c,null,_0xb3c9e4,_0x2a5074[_0x250e55(0xae)],!0x0,_0x142a5b++);_0x1a525a[_0x250e55(0x143)](_0x52bfd2);}}if(_0x304dc5)for(const [_0x4057e7,_0x2462aa]of Object[_0x250e55(0x164)](_0x304dc5)){const _0x1e37a6=_0x2a5074[_0x250e55(0x15f)][_0x250e55(0x140)](_0x4057e7);if(!_0x1e37a6)throw new _0x592ff1(_0x250e55(0x109),null);for(const [_0x34b724,_0x261d1c]of Object[_0x250e55(0x164)](_0x2462aa))if(null!==_0x261d1c){const _0x169904=new _0x38d8cb(_0x1e37a6,_0x34b724,null,_0x261d1c,_0x142a5b++);_0x1a525a[_0x250e55(0x143)](_0x169904);}}return _0x1a525a;}async[_0x439473(0x11c)](_0x1b493d,_0x413e47,_0x3d3e04){const _0x163ca5=_0x439473;this[_0x163ca5(0xb4)]({[_0x1b493d]:_0x413e47},{[_0x1b493d]:_0x3d3e04})[_0x163ca5(0xda)]((_0x33f283,_0x25fe3d)=>{const _0x37ec9a=_0x163ca5;_0x33f283[_0x37ec9a(0x158)]=this[_0x37ec9a(0xf7)][_0x37ec9a(0x1a9)]+_0x25fe3d,_0x33f283[_0x37ec9a(0x145)]=!0x0,this[_0x37ec9a(0x113)](_0x33f283);}),this[_0x163ca5(0x160)](),await this[_0x163ca5(0x141)]();}async[_0x439473(0xd1)](_0x37f4e3,_0x1864a9){const _0x13fdc7=_0x439473;let _0x2590c5;this[_0x13fdc7(0x170)]=_0x37f4e3[_0x13fdc7(0x121)];const _0x4138f7=_0x37f4e3[_0x13fdc7(0x12a)]&&!_0x37f4e3[_0x13fdc7(0x147)],_0x4ce9b6=_0x4138f7?0x0:_0x37f4e3[_0x13fdc7(0x171)][_0x13fdc7(0x158)];if(_0x1864a9[_0x13fdc7(0xda)](_0x3f43e6=>{const _0x3fc599=_0x13fdc7;_0x3f43e6[_0x3fc599(0x145)]=!0x0,_0x3f43e6[_0x3fc599(0xe8)]=_0x37f4e3[_0x3fc599(0xe4)],_0x3f43e6[_0x3fc599(0x166)]=null;}),_0x4138f7)_0x2590c5=_0x1864a9,this[_0x13fdc7(0x17b)](_0x2590c5,_0x4138f7);else{if(_0x37f4e3[_0x13fdc7(0x147)]){const _0xf612af=this[_0x13fdc7(0xb4)](_0x37f4e3[_0x13fdc7(0x147)]);this[_0x13fdc7(0xf7)][_0x13fdc7(0x19a)][_0x13fdc7(0x1a9)]=-_0xf612af[_0x13fdc7(0xf5)],_0xf612af[_0x13fdc7(0xda)](_0x362d5a=>{const _0x59d7ea=_0x13fdc7;_0x362d5a[_0x59d7ea(0x158)]-=_0xf612af[_0x59d7ea(0xf5)],_0x362d5a[_0x59d7ea(0xe8)]=_0x37f4e3[_0x59d7ea(0xe4)],_0x362d5a[_0x59d7ea(0x145)]=!0x0,_0x362d5a[_0x59d7ea(0x166)]=null;}),this[_0x13fdc7(0x17b)](_0xf612af,!0x0),this[_0x13fdc7(0x1a1)][_0x13fdc7(0x1a9)]=-_0xf612af[_0x13fdc7(0xf5)]+this[_0x13fdc7(0x170)],this[_0x13fdc7(0x178)](_0xf612af);}this[_0x13fdc7(0xf7)][_0x13fdc7(0x19a)][_0x13fdc7(0x1a9)]=_0x4ce9b6,_0x2590c5=this[_0x13fdc7(0x167)](_0x37f4e3[_0x13fdc7(0x171)],_0x37f4e3[_0x13fdc7(0xe6)]),await this[_0x13fdc7(0xc9)](_0x2590c5),this[_0x13fdc7(0x17b)](_0x2590c5,_0x4138f7);}_0x37f4e3[_0x13fdc7(0x184)]&&(this[_0x13fdc7(0xc5)][_0x13fdc7(0x195)](_0x2590c5,_0x37f4e3[_0x13fdc7(0x184)]),this[_0x13fdc7(0xf8)]=_0x37f4e3[_0x13fdc7(0x184)]),this[_0x13fdc7(0x1a1)][_0x13fdc7(0x1a9)]=_0x4ce9b6+this[_0x13fdc7(0x170)],this[_0x13fdc7(0x178)](_0x2590c5),_0x1864a9[_0x13fdc7(0xff)](_0x47c2db=>{const _0x20e1d4=_0x13fdc7,_0x2d50a2=this[_0x20e1d4(0xaf)](_0x47c2db);return _0x2d50a2&&!this[_0x20e1d4(0x144)][_0x20e1d4(0x18e)](_0x2d50a2);})[_0x13fdc7(0xda)]((_0xb5f64e,_0x59eadd)=>{const _0x5299e3=_0x13fdc7;_0xb5f64e[_0x5299e3(0x158)]=this[_0x5299e3(0xf7)][_0x5299e3(0x1a9)]+_0x59eadd,this[_0x5299e3(0x113)](_0xb5f64e);}),this[_0x13fdc7(0x1aa)]()?(this[_0x13fdc7(0x14c)]=0x0,this[_0x13fdc7(0x160)](!0x0),await this[_0x13fdc7(0x141)]()):(this[_0x13fdc7(0x126)]=!0x1,this[_0x13fdc7(0x176)]());}[_0x439473(0x11f)](_0x3cb4c7,_0x591a26){const _0x5c027e=_0x439473,_0x19ca52=_0x591a26&&_0x591a26[_0x5c027e(0xe0)];if(_0x19ca52&&_0x19ca52[_0x5c027e(0x128)](_0x5c027e(0xb2)))throw _0x591a26;const _0x73fda6=this[_0x5c027e(0x14f)][_0x5c027e(0x12f)][_0x5c027e(0x19f)](_0x4c2312);throw this[_0x5c027e(0x126)]=!0x0,_0x73fda6[_0x5c027e(0x17a)](),this[_0x5c027e(0x14f)][_0x5c027e(0x173)](_0x5c027e(0x10f)),new _0x592ff1(_0x3cb4c7,this[_0x5c027e(0x14f)],_0x19ca52?{'originalError':_0x19ca52}:void 0x0);}[_0x439473(0x113)](_0x308f73){const _0x11e050=_0x439473;this[_0x11e050(0x17f)][_0x11e050(0x18e)](_0x308f73)||(this[_0x11e050(0x17f)][_0x11e050(0x196)](_0x308f73),this[_0x11e050(0xcf)][_0x11e050(0x143)](_0x308f73),this[_0x11e050(0x111)]||_0x11e050(0x19d)==_0x308f73[_0x11e050(0x1a6)]&&!_0x308f73[_0x11e050(0x135)]||this[_0x11e050(0x106)]());}[_0x439473(0x160)](_0x9adf3a=!0x1){const _0x2abb14=_0x439473;!_0x9adf3a&&this[_0x2abb14(0x126)]||(this[_0x2abb14(0x126)]=!0x0,clearTimeout(this[_0x2abb14(0x14a)]),this[_0x2abb14(0x14a)]=setTimeout(()=>{const _0x56507f=_0x2abb14;this[_0x56507f(0x19e)]()[_0x56507f(0xf2)](_0x5936a7=>{const _0x377574=_0x56507f;_0x5936a7&&(this[_0x377574(0x176)](),this[_0x377574(0x126)]=!0x1);})[_0x56507f(0x165)](_0x4ceb15=>{const _0x4f004e=_0x56507f;this[_0x4f004e(0x176)](),this[_0x4f004e(0x126)]=!0x1,function(_0xf17119){const _0x4d0530=_0x4f004e;return _0xf17119[_0x4d0530(0xe0)][_0x4d0530(0x128)](_0x4d0530(0x154))||_0xf17119[_0x4d0530(0xe0)][_0x4d0530(0x128)](_0x4d0530(0x122))||_0xf17119[_0x4d0530(0xe0)][_0x4d0530(0x128)](_0x4d0530(0xb9));}(_0x4ceb15)||this[_0x4f004e(0x11f)](_0x4ceb15[_0x4f004e(0xe0)],_0x4ceb15);});},this[_0x2abb14(0x14c)]));}[_0x439473(0x141)](){return new Promise(_0x1bb9fe=>{const _0x56ae87=_0x1f13;this['on'](_0x56ae87(0x190),()=>{_0x1bb9fe();});});}async[_0x439473(0x19e)](){const _0x2f3447=_0x439473,_0x18bc87=this[_0x2f3447(0x14f)][_0x2f3447(0x12f)][_0x2f3447(0x19f)](_0x4a0eb9);if(this[_0x2f3447(0xab)]()&&(_0x18bc87[_0x2f3447(0x14e)](),this[_0x2f3447(0x134)]=!0x1),!this[_0x2f3447(0x1aa)]())return!0x0;const _0x32f9b6=[...this[_0x2f3447(0xcf)]];for(const _0x4f17bd of _0x32f9b6)_0x4f17bd[_0x2f3447(0x18c)]=this[_0x2f3447(0xf7)][_0x2f3447(0x19a)][_0x2f3447(0x103)](_0x4f17bd);const _0x351c77=this[_0x2f3447(0xc5)][_0x2f3447(0x146)](_0x32f9b6),_0x233da1=X++,_0x315ad3=this[_0x2f3447(0xeb)](_0x32f9b6),_0x362d82=await this[_0x2f3447(0x191)][_0x2f3447(0x110)](_0x315ad3,_0x315ad3[_0x2f3447(0x158)],_0x351c77);try{return await this[_0x2f3447(0x19b)](_0x32f9b6,_0x362d82,_0x233da1);}catch(_0x3eef7c){return this[_0x2f3447(0x11f)](_0x2f3447(0x12e),_0x3eef7c);}}async[_0x439473(0x19b)](_0x3219fc,_0x4c06d2,_0x197113){const _0x3b1225=_0x439473;if(_0x3b1225(0xaa)in _0x4c06d2)throw _0x4c06d2[_0x3b1225(0xaa)];let _0xfe3dff=!0x1;if(_0x4c06d2[_0x3b1225(0x12a)]){_0x4c06d2[_0x3b1225(0x184)]&&(this[_0x3b1225(0xf8)]=_0x4c06d2[_0x3b1225(0x184)]),this[_0x3b1225(0xcf)]=this[_0x3b1225(0xcf)][_0x3b1225(0xff)](_0x526681=>!_0x3219fc[_0x3b1225(0xb8)](_0x526681));for(const _0xaac849 of _0x3219fc)_0xaac849[_0x3b1225(0xe8)]=_0x3b1225(0x162)in _0x4c06d2&&_0x4c06d2[_0x3b1225(0x162)]||void 0x0;Z(_0x3219fc,_0x4c06d2[_0x3b1225(0x1a9)]-_0x3219fc[_0x3b1225(0xf5)]),this[_0x3b1225(0x178)](_0x3219fc);const _0x10a24b=_0x3219fc[_0x3b1225(0xff)](_0x3a433c=>{const _0x7b7f0f=_0x3b1225;if(!_0x3a433c[_0x7b7f0f(0x145)])return!0x1;const _0x228551=this[_0x7b7f0f(0xaf)](_0x3a433c);return _0x228551&&!this[_0x7b7f0f(0x144)][_0x7b7f0f(0x18e)](_0x228551);});Z(_0x10a24b,this[_0x3b1225(0xf7)][_0x3b1225(0x1a9)]),this[_0x3b1225(0x17b)](_0x10a24b),_0xfe3dff=!0x0,this[_0x3b1225(0x14c)]=this[_0x3b1225(0xb1)];}else{const _0x3806d3=this[_0x3b1225(0x167)](_0x4c06d2[_0x3b1225(0x171)],_0x4c06d2[_0x3b1225(0xe6)])[_0x3b1225(0xff)](_0x5dd00a=>_0x5dd00a[_0x3b1225(0x158)]>=this[_0x3b1225(0x168)]);_0x3806d3[_0x3b1225(0xda)](_0x493b88=>this[_0x3b1225(0x125)](_0x493b88)),this[_0x3b1225(0xcf)]=this[_0x3b1225(0xcf)][_0x3b1225(0xff)](_0x5e232d=>!_0x5e232d[_0x3b1225(0x145)]||!this[_0x3b1225(0x144)][_0x3b1225(0x18e)](this[_0x3b1225(0xaf)](_0x5e232d))),this[_0x3b1225(0xcf)][_0x3b1225(0xf5)]&&Z(this[_0x3b1225(0xcf)],this[_0x3b1225(0xcf)][0x0][_0x3b1225(0x158)]),await this[_0x3b1225(0xc9)](_0x3806d3),_0xfe3dff=this[_0x3b1225(0xc3)](_0x3806d3,_0x4c06d2[_0x3b1225(0x1a9)],_0x4c06d2[_0x3b1225(0x184)]),this[_0x3b1225(0x14c)]=Math[_0x3b1225(0x163)](this[_0x3b1225(0x14c)]/0x2);}return _0xfe3dff?!this[_0x3b1225(0x1aa)]()||(this[_0x3b1225(0x160)](!0x0),!0x1):this[_0x3b1225(0x11f)](_0x3b1225(0xc1));}[_0x439473(0xc3)](_0x2e9907,_0x4187cb,_0x3c63e9){const _0x59025d=_0x439473;try{const _0x36cb7e={'document':this[_0x59025d(0xf7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4e7f75,operationsB:_0x33f7e3,originalOperations:_0x23f4a0}=_0x32c157(_0x2e9907,this[_0x59025d(0xcf)],_0x36cb7e);Z(_0x4e7f75,this[_0x59025d(0xf7)][_0x59025d(0x1a9)]),Z(_0x33f7e3,_0x4187cb);for(const _0x34bfb3 of _0x4e7f75){const _0x15e952=_0x23f4a0[_0x59025d(0x19f)](_0x34bfb3);_0x34bfb3[_0x59025d(0x166)]=_0x15e952?_0x15e952[_0x59025d(0x166)]:null;}_0x3c63e9&&(this[_0x59025d(0xc5)][_0x59025d(0x195)](_0x2e9907,_0x3c63e9),this[_0x59025d(0xf8)]=_0x3c63e9),this[_0x59025d(0xcf)]=[..._0x33f7e3],this[_0x59025d(0x17b)](_0x4e7f75),this[_0x59025d(0x178)](_0x2e9907);}catch(_0x9b0dec){return console[_0x59025d(0xaa)](_0x9b0dec),!0x1;}return!0x0;}[_0x439473(0x17b)](_0x2af24a,_0x451c55=!0x1){const _0x2738e1=_0x439473;this[_0x2738e1(0x14f)][_0x2738e1(0xc0)][_0x2738e1(0xee)]({'isUndoable':!0x1,'isLocal':!0x1},_0x37838b=>{const _0x54b01f=_0x2738e1;for(const _0x9068e3 of _0x2af24a)this[_0x54b01f(0x17f)][_0x54b01f(0x196)](_0x9068e3),this[_0x54b01f(0x125)](_0x9068e3),_0x37838b[_0x54b01f(0xc7)][_0x54b01f(0xa8)](_0x9068e3),this[_0x54b01f(0x14f)][_0x54b01f(0xc0)][_0x54b01f(0x15d)](_0x9068e3);});}[_0x439473(0x125)](_0x346ccd){const _0x46098a=_0x439473,_0x528967=this[_0x46098a(0xaf)](_0x346ccd);_0x528967&&this[_0x46098a(0x144)][_0x46098a(0x196)](_0x528967);}[_0x439473(0xaf)](_0x2e4e39){const _0x8e2c8c=_0x439473;let _0x3fb53e,_0x1d56c0;switch(_0x2e4e39[_0x8e2c8c(0x1a6)]){case _0x8e2c8c(0x13e):_0x3fb53e=_0x2e4e39[_0x8e2c8c(0xe7)][_0x8e2c8c(0x183)];break;case _0x8e2c8c(0x19d):if(_0x1d56c0=_0x2e4e39[_0x8e2c8c(0xd6)],!_0x1d56c0)return null;_0x3fb53e=_0x1d56c0[_0x8e2c8c(0x183)];break;case _0x8e2c8c(0x11a):_0x3fb53e=_0x2e4e39[_0x8e2c8c(0x183)];break;case _0x8e2c8c(0x10b):_0x3fb53e=_0x2e4e39[_0x8e2c8c(0xde)];break;case _0x8e2c8c(0x1a3):_0x3fb53e=_0x2e4e39[_0x8e2c8c(0x19c)][_0x8e2c8c(0x183)];break;default:return null;}return _0x3fb53e[_0x8e2c8c(0xce)];}[_0x439473(0x178)](_0xad02d8){const _0x3be199=_0x439473;_0xad02d8[_0x3be199(0xda)](_0x5c0955=>{const _0x4dde48=_0x3be199,_0x6f38a8=_0x5c0955[_0x4dde48(0x186)]();_0x6f38a8[_0x4dde48(0x166)]=_0x5c0955[_0x4dde48(0x166)],_0x6f38a8[_0x4dde48(0x145)]=!!_0x5c0955[_0x4dde48(0x145)],_0x6f38a8[_0x4dde48(0xe8)]=_0x5c0955[_0x4dde48(0xe8)],_0x6f38a8[_0x4dde48(0x158)]+=this[_0x4dde48(0x170)],_0x5c0955[_0x4dde48(0x13f)]&&this[_0x4dde48(0xa7)][_0x4dde48(0x196)](_0x6f38a8),this[_0x4dde48(0x1a1)][_0x4dde48(0xa8)](_0x6f38a8);});}[_0x439473(0xe3)](_0x578d8d){const _0x52a8ac=_0x439473,_0x580993=this[_0x52a8ac(0x14f)][_0x52a8ac(0x12f)][_0x52a8ac(0x19f)](_0x52a8ac(0x129)),_0x2e4b95=this[_0x52a8ac(0x14f)][_0x52a8ac(0x13a)];_0x578d8d||(_0x578d8d=_0x4a07c4(_0x2e4b95,_0x52a8ac(0xea))),_0x580993[_0x52a8ac(0xec)](_0x578d8d,{'title':_0x4a07c4(_0x2e4b95,_0x52a8ac(0xd4)),'namespace':_0x52a8ac(0x17d)}),this[_0x52a8ac(0x188)]=!0x0,clearTimeout(this[_0x52a8ac(0x14a)]),this[_0x52a8ac(0xcf)]=[],this[_0x52a8ac(0x14f)][_0x52a8ac(0x12f)][_0x52a8ac(0x19f)](_0x4c2312)[_0x52a8ac(0x17a)]();}[_0x439473(0x106)](){const _0x151b23=_0x439473;this[_0x151b23(0x111)]||(this[_0x151b23(0x111)]=this[_0x151b23(0x14f)][_0x151b23(0x12f)][_0x151b23(0x19f)](_0x20a619)[_0x151b23(0x196)](_0x4a07c4(this[_0x151b23(0x14f)][_0x151b23(0x13a)],_0x151b23(0x101))));}[_0x439473(0x176)](){const _0x457c0d=_0x439473;this[_0x457c0d(0x111)]&&(this[_0x457c0d(0x14f)][_0x457c0d(0x12f)][_0x457c0d(0x19f)](_0x20a619)[_0x457c0d(0xd9)](this[_0x457c0d(0x111)]),this[_0x457c0d(0x111)]=null);}[_0x439473(0xeb)](_0xfa992f){const _0x2156ae=_0x439473,_0x28d079=_0xfa992f[_0x2156ae(0xb3)](_0x5d01b3=>_0x5d01b3[_0x2156ae(0x130)]());return this[_0x2156ae(0x148)][_0x2156ae(0x138)](_0x28d079);}[_0x439473(0x167)](_0x184944,_0x4a5fcd){const _0xf6afaf=_0x439473;return this[_0xf6afaf(0x148)][_0xf6afaf(0xc8)](_0x184944)[_0xf6afaf(0xb3)]((_0x28cd48,_0x8eba0)=>{const _0x2a68fa=_0xf6afaf,_0x5353e2=_0x2a68fa(0xc6)==_0x4a5fcd[_0x8eba0][_0x2a68fa(0x1a6)];if(_0x2a68fa(0xdb)==_0x28cd48[_0x2a68fa(0xf1)]){const _0x7d7b07=_0x28cd48[_0x2a68fa(0xe7)][_0x2a68fa(0x183)];!this[_0x2a68fa(0xf7)][_0x2a68fa(0x140)](_0x7d7b07)&&(this[_0x2a68fa(0xf7)][_0x2a68fa(0x132)](_0x2a68fa(0x139),_0x7d7b07)[_0x2a68fa(0xbf)]=!0x1);}const _0x5ddc22=_0x5b9be5[_0x2a68fa(0x161)](_0x28cd48,this[_0x2a68fa(0xf7)]);return _0x5ddc22[_0x2a68fa(0x18c)]=_0x28cd48[_0x2a68fa(0x18c)],_0x5ddc22[_0x2a68fa(0x145)]=_0x5353e2,_0x5ddc22[_0x2a68fa(0x166)]=_0x5353e2?null:_0x4a5fcd[_0x8eba0][_0x2a68fa(0x182)],_0x5ddc22[_0x2a68fa(0x13f)]=_0x2a68fa(0xbe)===_0x4a5fcd[_0x8eba0][_0x2a68fa(0x1a6)],_0x5ddc22[_0x2a68fa(0xe8)]=_0x4a5fcd[_0x8eba0][_0x2a68fa(0xe8)],_0x5ddc22;});}[_0x439473(0x151)](){const _0x43e7cb=_0x439473;this[_0x43e7cb(0x134)]=!0x0,this[_0x43e7cb(0xab)]()?this[_0x43e7cb(0x160)]():this[_0x43e7cb(0x134)]=!0x1;}[_0x439473(0xab)](){const _0x561a50=_0x439473,_0x10eb9a=this[_0x561a50(0x14f)][_0x561a50(0x12f)][_0x561a50(0x19f)](_0x356b98)[_0x561a50(0xe2)][_0x561a50(0x19f)](this[_0x561a50(0x11b)]);return!this[_0x561a50(0x14f)][_0x561a50(0xdf)]&&!!_0x10eb9a&&_0x10eb9a[_0x561a50(0xf5)]>0x1&&this[_0x561a50(0x134)];}[_0x439473(0x1aa)](){const _0x1fcb1d=_0x439473;return this[_0x1fcb1d(0xcf)][_0x1fcb1d(0xf5)]>0x0||this[_0x1fcb1d(0xab)]();}}class Y extends Error{}function Z(_0x1438ad,_0x5cd404){const _0x27dc0a=_0x439473;for(const _0x54c563 of _0x1438ad)_0x54c563[_0x27dc0a(0x158)]=_0x5cd404++;}function _0x1f13(_0x4971ce,_0x3c3ffa){const _0x17b3d8=_0x17b3();return _0x1f13=function(_0x1f138e,_0x28b0c0){_0x1f138e=_0x1f138e-0xa7;let _0x10f6e5=_0x17b3d8[_0x1f138e];return _0x10f6e5;},_0x1f13(_0x4971ce,_0x3c3ffa);}class tt{[_0x439473(0x13d)];[_0x439473(0x149)];constructor(_0x187b03){const _0x10a64c=_0x439473;this[_0x10a64c(0x13d)]=_0x187b03,this[_0x10a64c(0x149)]=new WeakMap();}[_0x439473(0x146)](_0x12e94b){const _0x1046b4=_0x439473;let _0x30cf11=_0x12e94b[_0x1046b4(0xf5)];for(;_0x30cf11--;){const _0x159688=_0x12e94b[_0x30cf11];if(!this[_0x1046b4(0x13d)][_0x1046b4(0x18e)](_0x159688)){if(!this[_0x1046b4(0x149)][_0x1046b4(0x18e)](_0x159688)){const _0x45bbcb=_0x1b8bca()[_0x1046b4(0x15a)](0x1,0x12);this[_0x1046b4(0x149)][_0x1046b4(0x16c)](_0x159688,_0x45bbcb);}return this[_0x1046b4(0x149)][_0x1046b4(0x19f)](_0x159688);}}}[_0x439473(0x195)](_0x1d9d4d,_0x168964){const _0x1724d2=_0x439473;if(!_0x168964)return;let _0x57502f=_0x1d9d4d[_0x1724d2(0xf5)];for(;_0x57502f--;){const _0x464e05=_0x1d9d4d[_0x57502f];this[_0x1724d2(0x13d)][_0x1724d2(0x18e)](_0x464e05)||this[_0x1724d2(0x149)][_0x1724d2(0x16c)](_0x464e05,_0x168964);}}}
23
+ const _0x3d8f8b=_0x390b;function _0x503c(){const _0x5da0b9=['7985341nKFDxH','_sendBufferedOperationsDelayed','document','destroy','rootsAttributes','realtimecollaborationclient-init-document-already-initialized','_pendingAction','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','stopListening','sessionCreatedAt','string','listenTo','CollaborativeEditingService','enableReadOnlyMode','getUser','map','createdAt','sendOperations','add','_isEditingAllowed','5ybCPnz','1957348JdKqhE','connected','collaboration.channelId','parse','_disconnectService','InsertOperation','isPremiumPlugin','_handleReceivedOperations','cloudDocumentVersion','realtimecollaborationclient-init-connection-failed','code','_ignoredOperations','length','_isLoaded','position','lastSyncVersion','fire','realtimecollaborationclient-handleserverresponse','sessionId','setPermissions','_connectService','getOperationAuthor','high','move','_handleExternalOperations','getDocumentDetails','_handleInitialConnectionData','getRoot','disconnect','ready','error','stop','PENDING_ACTION_SENDING_DATA','_getOperationsFromInitData','_hasSynchronizationProblem','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.','disableReadOnlyMode','_operationToId','_baseBufferDelay','keys','roots','__className','10410042DefmZm','_waitUntilSynced','_getAffectedRoot','907712PNymYf','_lastSyncedOperationId','catch','createRoot','apply','_isAttached','realtimecollaborationclient-init-non-existent-root','view','createRange','isDocumentOperation','createUserMarkerOperations','_bufferedOperations','pluginName','createPositionAt','_refreshUserSelectionMarkers','_applyOperationsSet','batch','root','_lastServerVersion','compress','_loadRoot','entries','affectedSelectable','_isInit','serverHistory','reset','from','addRoot','_channelId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','lastDocumentSession','start','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.','isUndoneOperation','_disconnectionOperations','isEnabled','end','_handleSendingSelectionMarkers','editor','real-time-collaboration','_offset','getConnectedSessions','push','_setPendingAction','decompress','newRange','mySessionId','createPositionFromPath','off','getMany','init','collaboration','offset','enqueueChange','applyOperation','_initThrowingOnDataSet','attributes','409','realtimecollaborationclient-init-session-connection-error','history','finally','rtc-offline','_connectAfterSessionHasBeenFlushed','cs:removeUser','_knownOperations','requires','reconnection:\x20flushed\x20session','unregister','isOfficialPlugin','rtc-destroyed','addOperation','isReadOnly','affectsData','forEach','cloudServices.bundleVersion','Synchronization\x20issue','Notification','slice','_isDisconnection','wereChangesApplied','disconnected','_operationIdentifier','removeFromReconnectionStack','_currentBufferDelay','targetPosition','plugins','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_sendBufferedOperations','filter','_hasSelectionChanged','editing','_knownRootNames','addUser','connection','config','_shouldSendUpdate','_handleReconnectionError','multi-root-editor-root-attributes-no-root','change:range','message','_compressOperations','differ','return','initData','_document','path','_setUpDataInit','marker','_handleServerResponse','fromJSON','define','realtimecollaborationclient-init-service-internal-error','currentDocumentSession','register','startsWith','_authorId','addToReconnectionStack','_isPendingUpdate','remove','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-error','_shouldSendSelectionUpdate','collaboration-missing-channelid','showWarning','markers','model','toJSON','RealTimeCollaborationClient','suppressErrorInCollaboration','cloud-services-internal-error:\x20Request\x20timeout.','_initSessionsHandling','selection','realtimecollaborationclient-sendbufferedoperations','_addKnownRoot','includes','_handleReconnectionResponse','404','directChange','loadRoot','4052292koZaRy','version','size','_service','CommentsOnly','change:_isEditingAllowed','userId','set','addRootAttribute','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','insert','state','bind','rootName','lastOperationId','clone','permissions','getOperations','wasUndone','get','_crash','baseVersion','data','type','_bufferRootLoad','_fetchMissingUsers','connect','operationsReceived','locale','$root','channelSessions','_decompressOperations','round','getIdOfTheLastOperation','_compressor','setIdForTheLastOperation','change:_isPendingUpdate','_isConnected','sessionAdd:','_saveOperationInBuffer','20321024GdZzyr','metadata','change:hasDomSelection','realtimecollaborationclient','document:write','_updateServerHistory','Permissions','660904zayxqm','lastOperationAcceptedAt','then','_sendBufferedOperationsDelayId','has','_clearPendingAction','realtimecollaborationclient-init-service-incorrect-server-operation','reconnect'];_0x503c=function(){return _0x5da0b9;};return _0x503c();}(function(_0x402615,_0x353293){const _0x400739=_0x390b,_0x4dc49c=_0x402615();while(!![]){try{const _0x22110b=-parseInt(_0x400739(0x15d))/0x1+parseInt(_0x400739(0x1a7))/0x2+-parseInt(_0x400739(0x12e))/0x3+parseInt(_0x400739(0x17a))/0x4*(parseInt(_0x400739(0x179))/0x5)+-parseInt(_0x400739(0x1a4))/0x6+parseInt(_0x400739(0x165))/0x7+parseInt(_0x400739(0x156))/0x8;if(_0x22110b===_0x353293)break;else _0x4dc49c['push'](_0x4dc49c['shift']());}catch(_0x30d1bd){_0x4dc49c['push'](_0x4dc49c['shift']());}}}(_0x503c,0xd6361));import{Plugin as _0x46ea28,PendingActions as _0x385c22}from'ckeditor5/src/core.js';import{CKEditorError as _0x4744ca,version as _0x1e19df,uid as _0x4134d}from'ckeditor5/src/utils.js';import{Notification as _0x25d720}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5e5f4f,NoOperation as _0x2ebb10,InsertOperation as _0x45f472,MarkerOperation as _0x30b704,RootAttributeOperation as _0xa16b61,OperationFactory as _0x49d088,History as _0x98509}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x7cf06c}from'./websocketgateway.js';import{Sessions as _0xb047bd}from'./sessions.js';import{UserMarkers as _0xd27be6}from'./usermarkers.js';import{getTranslation as _0x475a1c}from'../common-translations.js';import{Compressor as _0x427176}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x300e02}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x59b63a,CollaborativeEditingService as _0xe75a60}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let N=0x1;export class RealTimeCollaborationClient extends _0x46ea28{static [_0x3d8f8b(0x171)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xe75a60)());[_0x3d8f8b(0x1cf)];[_0x3d8f8b(0x18c)];[_0x3d8f8b(0x1bf)];[_0x3d8f8b(0x1c3)];[_0x3d8f8b(0x131)];[_0x3d8f8b(0x10b)];[_0x3d8f8b(0x150)];[_0x3d8f8b(0x1b2)];[_0x3d8f8b(0xe3)];[_0x3d8f8b(0xfe)];[_0x3d8f8b(0x16b)];[_0x3d8f8b(0xfc)];[_0x3d8f8b(0x160)];[_0x3d8f8b(0x1a0)];[_0x3d8f8b(0xf6)];[_0x3d8f8b(0x1a8)];[_0x3d8f8b(0x1c9)];[_0x3d8f8b(0xf4)];static get[_0x3d8f8b(0xe4)](){return[_0x7cf06c,_0xb047bd,_0xd27be6,_0x385c22,_0x300e02,_0x25d720];}static get[_0x3d8f8b(0x1b3)](){const _0xc2ed9f=_0x3d8f8b;return _0xc2ed9f(0x122);}static get[_0x3d8f8b(0xe7)](){return!0x0;}static get[_0x3d8f8b(0x180)](){return!0x0;}get[_0x3d8f8b(0x182)](){const _0x239ee5=_0x3d8f8b;return this[_0x239ee5(0x1b9)]+this[_0x239ee5(0x1cf)];}get[_0x3d8f8b(0x1b9)](){const _0x2e85da=_0x3d8f8b;return this[_0x2e85da(0x1bf)][_0x2e85da(0x12f)]-this[_0x2e85da(0x1cf)];}get[_0x3d8f8b(0x189)](){const _0x140762=_0x3d8f8b,_0x2b0fc1=this[_0x140762(0x1bf)][_0x140762(0x13f)]();for(let _0x56ff01=_0x2b0fc1[_0x140762(0x186)]-0x1;_0x56ff01>=0x0;_0x56ff01--){const _0x48f83b=_0x2b0fc1[_0x56ff01];if(!this[_0x140762(0x1c9)][_0x140762(0x161)](_0x48f83b))return _0x48f83b[_0x140762(0x143)]+0x1-this[_0x140762(0x1cf)];}return 0x0;}constructor(_0x553557){const _0x2113e0=_0x3d8f8b;if(super(_0x553557),this[_0x2113e0(0x1cf)]=0x0,this[_0x2113e0(0x18c)]=null,this[_0x2113e0(0x1bf)]=new _0x98509(),this[_0x2113e0(0x1cd)][_0x2113e0(0x101)][_0x2113e0(0x111)](_0x2113e0(0x1da),{}),this[_0x2113e0(0x1c3)]=this[_0x2113e0(0x1cd)][_0x2113e0(0x101)][_0x2113e0(0x141)](_0x2113e0(0x17c)),!this[_0x2113e0(0x1c3)])throw new _0x4744ca(_0x2113e0(0x11d),this);const _0x3299db=_0x553557[_0x2113e0(0x101)][_0x2113e0(0x141)](_0x2113e0(0xed))||_0x1e19df;this[_0x2113e0(0x131)]=new RealTimeCollaborationClient[(_0x2113e0(0x171))](_0x3299db,this[_0x2113e0(0x1c3)]),this[_0x2113e0(0x10b)]=this[_0x2113e0(0x1cd)][_0x2113e0(0x120)][_0x2113e0(0x167)],this[_0x2113e0(0x150)]=new _0x427176(),this[_0x2113e0(0x1b2)]=[],this[_0x2113e0(0xe3)]=new WeakSet(),this[_0x2113e0(0xfe)]=new Set(),this[_0x2113e0(0x135)](_0x2113e0(0x118),!0x1),this[_0x2113e0(0x135)](_0x2113e0(0x19c),!0x1),this[_0x2113e0(0x16b)]=null,this[_0x2113e0(0xfc)]=!0x1,this[_0x2113e0(0x160)]=null,this[_0x2113e0(0x1a0)]=0x12c,this[_0x2113e0(0xf6)]=this[_0x2113e0(0x1a0)],this[_0x2113e0(0x1a8)]=null,this[_0x2113e0(0x1c9)]=new WeakSet(),this[_0x2113e0(0xf4)]=new M(this[_0x2113e0(0x1c9)]);}[_0x3d8f8b(0x1d9)](){const _0x26a669=_0x3d8f8b,_0x29c8ea=this[_0x26a669(0x1cd)],_0x28c5e5=_0x29c8ea[_0x26a669(0xf8)][_0x26a669(0x141)](_0x300e02),_0x33eec7=_0x29c8ea[_0x26a669(0xf8)][_0x26a669(0x141)](_0x7cf06c);this[_0x26a669(0x170)](_0x28c5e5,_0x26a669(0x18f),(_0x537824,_0x5aa091)=>{const _0x3a19b4=_0x26a669,_0x883fe1=_0x5aa091[0x0];_0x883fe1[_0x3a19b4(0x116)]&&(_0x537824[_0x3a19b4(0x109)]=_0x28c5e5[_0x3a19b4(0x173)](_0x883fe1[_0x3a19b4(0x116)]),_0x537824[_0x3a19b4(0x199)]()),null===_0x883fe1[_0x3a19b4(0x116)]&&(_0x537824[_0x3a19b4(0x109)]=null,_0x537824[_0x3a19b4(0x199)]());},{'priority':_0x26a669(0x190)}),this[_0x26a669(0x170)](_0x29c8ea[_0x26a669(0x120)][_0x26a669(0x167)][_0x26a669(0x126)],_0x26a669(0x105),(_0x17a701,_0x368f7e)=>{const _0x963b21=_0x26a669;_0x368f7e[_0x963b21(0x12c)]&&this[_0x963b21(0x1b5)]();}),this[_0x26a669(0x170)](_0x29c8ea[_0x26a669(0xfd)][_0x26a669(0x1ae)],_0x26a669(0x158),()=>{const _0x17c825=_0x26a669;this[_0x17c825(0x1b5)]();}),this[_0x26a669(0x1de)](),_0x29c8ea[_0x26a669(0x120)]['on'](_0x26a669(0x1dd),(_0x432a35,_0x4622e0)=>{const _0x3bba59=_0x26a669,_0x395508=_0x4622e0[0x0];_0x395508[_0x3bba59(0x1b0)]&&(this[_0x3bba59(0x155)](_0x395508),this[_0x3bba59(0x102)]()&&this[_0x3bba59(0x166)]());}),this[_0x26a669(0x10d)](),this[_0x26a669(0x13a)](_0x26a669(0x178))['to'](_0x33eec7,_0x26a669(0x139),this,_0x26a669(0x19c),(_0x5878d3,_0xc59bef)=>_0x26a669(0x17b)===_0x5878d3&&!_0xc59bef),this['on'](_0x26a669(0x133),()=>{const _0x2e1c13=_0x26a669;this[_0x2e1c13(0x178)]?_0x29c8ea[_0x2e1c13(0x19e)](_0x2e1c13(0xe0)):_0x29c8ea[_0x2e1c13(0x172)](_0x2e1c13(0xe0));}),this[_0x26a669(0x178)]?_0x29c8ea[_0x26a669(0x19e)](_0x26a669(0xe0)):_0x29c8ea[_0x26a669(0x172)](_0x26a669(0xe0)),this[_0x26a669(0x135)](_0x26a669(0x153),!0x1);}async[_0x3d8f8b(0x164)](){const _0x2f96e0=_0x3d8f8b,_0x2d9382=this[_0x2f96e0(0x1cd)][_0x2f96e0(0xf8)][_0x2f96e0(0x141)](_0xb047bd),_0x17ab2d=this[_0x2f96e0(0x1cd)][_0x2f96e0(0xf8)][_0x2f96e0(0x141)](_0x7cf06c);try{this[_0x2f96e0(0x118)]=!0x0,_0x2d9382[_0x2f96e0(0xe6)](this[_0x2f96e0(0x1c3)]);const _0x2c7f7e=await this[_0x2f96e0(0x131)][_0x2f96e0(0x164)](_0x17ab2d[_0x2f96e0(0x100)],this[_0x2f96e0(0x189)]);await this[_0x2f96e0(0x12a)](_0x2c7f7e)&&(this[_0x2f96e0(0x118)]=!0x1,this[_0x2f96e0(0x162)]());const _0x442ffc=await this[_0x2f96e0(0x131)][_0x2f96e0(0x1d0)]();_0x2d9382[_0x2f96e0(0x114)](this[_0x2f96e0(0x1c3)],_0x442ffc),this[_0x2f96e0(0x1cc)](),this[_0x2f96e0(0x153)]=!0x0;}catch(_0x34ed2d){if(function(_0x4356ae){const _0x49b398=_0x2f96e0;return _0x49b398(0x12b)===_0x4356ae[_0x49b398(0x184)];}(_0x34ed2d)&&this[_0x2f96e0(0x18c)])await this[_0x2f96e0(0xe1)]();else{if(function(_0x50ed75){const _0x34fbe9=_0x2f96e0;return _0x34fbe9(0x1e0)===_0x50ed75[_0x34fbe9(0x184)];}(_0x34ed2d)){const _0x2ada15=_0x475a1c(this[_0x2f96e0(0x1cd)][_0x2f96e0(0x14a)],_0x2f96e0(0x1c4));this[_0x2f96e0(0x103)](_0x2ada15);}else{if(!(_0x34ed2d instanceof B))throw _0x34ed2d;this[_0x2f96e0(0x103)]();}}}}[_0x3d8f8b(0x168)](){const _0x1b5dc2=_0x3d8f8b,_0x5f5438=this[_0x1b5dc2(0x1cd)][_0x1b5dc2(0xf8)][_0x1b5dc2(0x141)](_0x7cf06c),_0x3714c5=this[_0x1b5dc2(0x1cd)][_0x1b5dc2(0xf8)][_0x1b5dc2(0x141)](_0xb047bd);this[_0x1b5dc2(0x1cd)][_0x1b5dc2(0x172)](_0x1b5dc2(0xe8)),_0x3714c5[_0x1b5dc2(0x14c)][_0x1b5dc2(0x161)](this[_0x1b5dc2(0x1c3)])&&_0x3714c5[_0x1b5dc2(0xe6)](this[_0x1b5dc2(0x1c3)]),_0x5f5438[_0x1b5dc2(0xf5)](this),this[_0x1b5dc2(0x17e)](),super[_0x1b5dc2(0x168)]();}async[_0x3d8f8b(0x12a)](_0x447204){const _0x148467=_0x3d8f8b;if(this[_0x148467(0x18c)]!==_0x447204[_0x148467(0x18c)]&&this[_0x148467(0x1a8)]!==_0x447204[_0x148467(0x13c)])throw new B();return this[_0x148467(0x18c)]=_0x447204[_0x148467(0x18c)],this[_0x148467(0x10f)]([],{..._0x447204,'wereChangesApplied':!0x1,'data':_0x447204[_0x148467(0x144)]},_0x148467(0x164));}async[_0x3d8f8b(0x18e)](_0x558d71,_0x2fa718=!0x1){const _0x45e902=_0x3d8f8b,{connection:_0x12dc79}=this[_0x45e902(0x1cd)][_0x45e902(0xf8)][_0x45e902(0x141)](_0x7cf06c);RealTimeCollaborationClient[_0x45e902(0x171)][_0x45e902(0x1d0)](_0x12dc79,this[_0x45e902(0x1c3)])[_0x45e902(0x15f)](_0x345a95=>this[_0x45e902(0x125)](_0x345a95))[_0x45e902(0x1a9)](_0x59e1e7=>{const _0x884de5=_0x45e902;this[_0x884de5(0x142)](_0x884de5(0x1e1),_0x59e1e7);}),this[_0x45e902(0x170)](this[_0x45e902(0x131)],_0x45e902(0x149),this[_0x45e902(0x181)][_0x45e902(0x13a)](this)),this[_0x45e902(0x170)](this[_0x45e902(0x131)],_0x45e902(0x198),(_0x16b8c7,_0x65b2ed)=>{const _0x1883fd=_0x45e902;this[_0x1883fd(0x142)](_0x1883fd(0x112),_0x65b2ed);}),this[_0x45e902(0x170)](this[_0x45e902(0x131)],_0x45e902(0xf3),()=>{const _0x458be9=_0x45e902;this[_0x458be9(0x153)]=!0x1;});const _0x57b200=this[_0x45e902(0xf4)][_0x45e902(0x14f)](_0x558d71);this[_0x45e902(0x118)]=!0x0;const _0x19de1f=await this[_0x45e902(0x131)][_0x45e902(0x148)](_0x12dc79,this[_0x45e902(0x107)](_0x558d71),_0x57b200);if(this[_0x45e902(0x18c)]=_0x19de1f[_0x45e902(0x18c)],_0x2fa718){if(!_0x19de1f[_0x45e902(0xf2)])return void this[_0x45e902(0x103)]();this[_0x45e902(0x118)]=!0x1,this[_0x45e902(0x162)](),this[_0x45e902(0x1bf)][_0x45e902(0x1c0)](),this[_0x45e902(0x1cf)]=_0x19de1f[_0x45e902(0x1db)],this[_0x45e902(0x1bf)][_0x45e902(0x12f)]=this[_0x45e902(0x1cf)],await this[_0x45e902(0x10f)](_0x558d71,_0x19de1f,_0x45e902(0xe5));}else await this[_0x45e902(0x194)](_0x19de1f,_0x558d71);this[_0x45e902(0x1cc)](),this[_0x45e902(0x153)]=!0x0;}[_0x3d8f8b(0x1cc)](){const _0x27de59=_0x3d8f8b,_0x27bc5a=this[_0x27de59(0x1cd)][_0x27de59(0xf8)][_0x27de59(0x141)](_0xb047bd),_0x3889e5=this[_0x27de59(0x1cd)][_0x27de59(0xf8)][_0x27de59(0x141)](_0xd27be6),_0x3a5289=_0x27bc5a[_0x27de59(0x14c)][_0x27de59(0x141)](this[_0x27de59(0x1c3)]);_0x3a5289&&_0x3a5289[_0x27de59(0x186)]>0x1?_0x3889e5[_0x27de59(0x1b1)]():this[_0x27de59(0x170)](_0x27bc5a,_0x27de59(0x154)+this[_0x27de59(0x1c3)],()=>{const _0x5e6340=_0x27de59;0x2===_0x27bc5a[_0x5e6340(0x14c)][_0x5e6340(0x141)](this[_0x5e6340(0x1c3)])[_0x5e6340(0x186)]&&_0x3889e5[_0x5e6340(0x1b1)]();});}async[_0x3d8f8b(0x181)](_0x45ade7,_0x16b249,_0x407ca9,_0x1f4636){const _0x114e0a=_0x3d8f8b;if(!this[_0x114e0a(0x118)]&&this[_0x114e0a(0x10b)][_0x114e0a(0x12f)]==_0x16b249){const _0x278b13=this[_0x114e0a(0x14d)](_0x407ca9,_0x1f4636);await this[_0x114e0a(0x147)](_0x278b13),this[_0x114e0a(0x192)](_0x278b13,_0x16b249,_0x407ca9[_0x114e0a(0x13c)])||this[_0x114e0a(0x142)](_0x114e0a(0x163));}}async[_0x3d8f8b(0xe1)](){const _0x1a2fcf=_0x3d8f8b;this[_0x1a2fcf(0x17e)]();const {locale:_0x350605}=this[_0x1a2fcf(0x1cd)];let _0x3a19c3;try{_0x3a19c3=await this[_0x1a2fcf(0x131)][_0x1a2fcf(0x193)]();}catch{const _0xdf792c=_0x475a1c(_0x350605,_0x1a2fcf(0x137));return void this[_0x1a2fcf(0x103)](_0xdf792c);}const _0x4fe705=_0x3a19c3[_0x1a2fcf(0x113)]||_0x3a19c3[_0x1a2fcf(0x1c5)];if(this[_0x1a2fcf(0x1a8)]!==_0x4fe705[_0x1a2fcf(0x13c)]){const _0x68d9f9=_0x475a1c(_0x350605,_0x1a2fcf(0x1c7));return void this[_0x1a2fcf(0x103)](_0x68d9f9);}await this[_0x1a2fcf(0x18e)](this[_0x1a2fcf(0x1cd)][_0x1a2fcf(0x120)][_0x1a2fcf(0x167)][_0x1a2fcf(0x1e2)][_0x1a2fcf(0x13f)](),!0x0);}[_0x3d8f8b(0x17e)](){const _0x253e10=_0x3d8f8b;this[_0x253e10(0x131)][_0x253e10(0x196)](),this[_0x253e10(0x1b2)]=[],clearTimeout(this[_0x253e10(0x160)]),this[_0x253e10(0x16d)](this[_0x253e10(0x131)]);}[_0x3d8f8b(0x125)](_0x5e9f87){const _0x3cc2b1=_0x3d8f8b,_0x288a5e=this[_0x3cc2b1(0x1cd)][_0x3cc2b1(0xf8)][_0x3cc2b1(0x141)](_0xb047bd);this[_0x3cc2b1(0x170)](_0x288a5e,_0x3cc2b1(0x154)+this[_0x3cc2b1(0x1c3)],(_0x12c75a,{session:_0x18ca49})=>{const _0x34641f=_0x3cc2b1;if(_0x18ca49['id']===_0x288a5e[_0x34641f(0x1d5)]){_0x12c75a[_0x34641f(0x1d7)]();const _0x374423=this[_0x34641f(0x1cd)][_0x34641f(0xf8)][_0x34641f(0x161)](_0x34641f(0x132))&&this[_0x34641f(0x1cd)][_0x34641f(0xf8)][_0x34641f(0x141)](_0x34641f(0x132));let _0x5315ae=_0x18ca49[_0x34641f(0x13e)];_0x374423&&_0x374423[_0x34641f(0x1ca)]&&(_0x5315ae=_0x5315ae[_0x34641f(0xfb)](_0x3be036=>_0x34641f(0x15a)!==_0x3be036)),this[_0x34641f(0x1cd)][_0x34641f(0xf8)][_0x34641f(0x141)](_0x34641f(0x15c))[_0x34641f(0x18d)](_0x5315ae,this[_0x34641f(0x1c3)]);}}),_0x288a5e[_0x3cc2b1(0x114)](this[_0x3cc2b1(0x1c3)],_0x5e9f87);}[_0x3d8f8b(0x1de)](){const _0x2b08b7=_0x3d8f8b,_0x40a98c=this[_0x2b08b7(0x1cd)][_0x2b08b7(0x144)][_0x2b08b7(0x135)];this[_0x2b08b7(0x1cd)][_0x2b08b7(0x144)][_0x2b08b7(0x135)]=(..._0x2bc841)=>{const _0xf6e740=_0x2b08b7;if(!_0x2bc841[_0x2bc841[_0xf6e740(0x186)]-0x1][_0xf6e740(0x123)])throw new _0x4744ca(_0xf6e740(0xf9),this);_0x40a98c[_0xf6e740(0x1ab)](this[_0xf6e740(0x1cd)][_0xf6e740(0x144)],_0x2bc841);};}[_0x3d8f8b(0x10d)](){const _0x47942f=_0x3d8f8b;this[_0x47942f(0x1cd)][_0x47942f(0x144)]['on'](_0x47942f(0x1d9),(_0x33ca0b,[_0x443b41])=>{const _0x40f653=_0x47942f;if(this[_0x40f653(0x10b)][_0x40f653(0x12f)])throw new _0x4744ca(_0x40f653(0x16a),this);_0x33ca0b[_0x40f653(0x199)](),this[_0x40f653(0x1d2)]();const _0xbf3b0=this[_0x40f653(0x1cd)][_0x40f653(0x101)][_0x40f653(0x141)](_0x40f653(0x169)),_0x50384a=this[_0x40f653(0x19b)](_0x443b41,_0xbf3b0);0x0==_0x50384a[_0x40f653(0x186)]&&_0x50384a[_0x40f653(0x1d1)](new _0x2ebb10(0x0)),_0x33ca0b[_0x40f653(0x109)]=this[_0x40f653(0x18e)](_0x50384a)[_0x40f653(0x15f)](()=>{const _0xce6e7c=_0x40f653;this[_0xce6e7c(0x1cd)][_0xce6e7c(0xf8)][_0xce6e7c(0x141)](_0x7cf06c)[_0xce6e7c(0x117)](this),this[_0xce6e7c(0x1cd)][_0xce6e7c(0x144)][_0xce6e7c(0x18a)](_0xce6e7c(0x197));})[_0x40f653(0x1a9)](_0x1add8b=>this[_0x40f653(0x142)](_0x40f653(0x183),_0x1add8b))[_0x40f653(0x1e3)](()=>this[_0x40f653(0x162)]());},{'priority':_0x47942f(0x190)}),this[_0x47942f(0x1cd)]['on'](_0x47942f(0x12d),async(_0x4f9463,[_0x30f522,_0x11c928])=>{const _0x40e015=_0x47942f;_0x4f9463[_0x40e015(0x199)]();const _0x2866fe=this[_0x40e015(0x1cd)][_0x40e015(0x120)][_0x40e015(0x167)][_0x40e015(0x195)](_0x30f522);if(!this[_0x40e015(0xfe)][_0x40e015(0x161)](_0x30f522)){const _0x1d037b=_0x11c928&&_0x11c928[_0x40e015(0x144)]?_0x11c928[_0x40e015(0x144)]:'',_0x4394e4=_0x11c928&&_0x11c928[_0x40e015(0x1df)]?_0x11c928[_0x40e015(0x1df)]:{};await this[_0x40e015(0x1bb)](_0x30f522,_0x1d037b,_0x4394e4);}this[_0x40e015(0x1cd)][_0x40e015(0x120)][_0x40e015(0x1dc)]({'isUndoable':!0x1},()=>{const _0x5de44b=_0x40e015;_0x2866fe[_0x5de44b(0x187)]=!0x0,this[_0x5de44b(0x1cd)][_0x5de44b(0x120)][_0x5de44b(0x167)][_0x5de44b(0x108)][_0x5de44b(0x146)](_0x2866fe);});},{'priority':_0x47942f(0x190)});}async[_0x3d8f8b(0x147)](_0x397669){const _0x541bbf=_0x3d8f8b,_0x55d6a5=this[_0x541bbf(0x1cd)][_0x541bbf(0xf8)][_0x541bbf(0x141)](_0x300e02),{connection:_0x469fd5}=this[_0x541bbf(0x1cd)][_0x541bbf(0xf8)][_0x541bbf(0x141)](_0x7cf06c),_0x1ea92b=new Set();for(const _0x46f9f7 of _0x397669){const _0x1ddcfc=_0x46f9f7[_0x541bbf(0x116)];_0x1ddcfc&&!_0x55d6a5[_0x541bbf(0x173)](_0x1ddcfc)&&_0x1ea92b[_0x541bbf(0x177)](_0x1ddcfc);}if(0x0===_0x1ea92b[_0x541bbf(0x130)])return;const _0xdeb472=await _0x59b63a[_0x541bbf(0x1d8)](_0x469fd5,Array[_0x541bbf(0x1c1)](_0x1ea92b));for(const _0x206528 of _0xdeb472)_0x55d6a5[_0x541bbf(0x173)](_0x206528['id'])||_0x55d6a5[_0x541bbf(0xff)](_0x206528);}[_0x3d8f8b(0x19b)](_0x26bfc4,_0x13754d={}){const _0x10745e=_0x3d8f8b,_0x146bd3=this[_0x10745e(0x1cd)][_0x10745e(0x120)],_0x5d777b=[];let _0x35616f=0x0;const _0x4d3a66=_0x10745e(0x16f)==typeof _0x26bfc4?{'main':_0x26bfc4}:_0x26bfc4;for(const _0x5dc6d1 of Object[_0x10745e(0x1a1)](_0x4d3a66)){if(!this[_0x10745e(0x10b)][_0x10745e(0x1a2)][_0x10745e(0x161)](_0x5dc6d1))throw new _0x4744ca(_0x10745e(0x1ad),this);const _0x2657c6=this[_0x10745e(0x1cd)][_0x10745e(0x144)][_0x10745e(0x17d)](_0x4d3a66[_0x5dc6d1]),_0x321ef6=this[_0x10745e(0x10b)][_0x10745e(0x195)](_0x5dc6d1),_0x1aa9a4=new _0x45f472(_0x146bd3[_0x10745e(0x1b4)](_0x321ef6,0x0),_0x2657c6,_0x35616f++);_0x5d777b[_0x10745e(0x1d1)](_0x1aa9a4);for(const [_0xdfbccb,_0x1dd843]of _0x2657c6[_0x10745e(0x11f)]){const _0x51e2be=_0x146bd3[_0x10745e(0x1af)](_0x146bd3[_0x10745e(0x1d6)](_0x321ef6,_0x1dd843[_0x10745e(0x1c6)][_0x10745e(0x10c)][_0x10745e(0xf0)]()),_0x146bd3[_0x10745e(0x1d6)](_0x321ef6,_0x1dd843[_0x10745e(0x1cb)][_0x10745e(0x10c)][_0x10745e(0xf0)]())),_0x159530=new _0x30b704(_0xdfbccb,null,_0x51e2be,_0x146bd3[_0x10745e(0x11f)],!0x0,_0x35616f++);_0x5d777b[_0x10745e(0x1d1)](_0x159530);}}if(_0x13754d)for(const [_0x2bb6fa,_0x31361d]of Object[_0x10745e(0x1bc)](_0x13754d)){const _0x3b38f8=_0x146bd3[_0x10745e(0x167)][_0x10745e(0x195)](_0x2bb6fa);if(!_0x3b38f8)throw new _0x4744ca(_0x10745e(0x104),null);for(const [_0x19005e,_0x203801]of Object[_0x10745e(0x1bc)](_0x31361d))if(null!==_0x203801){const _0x1eb6fe=new _0xa16b61(_0x3b38f8,_0x19005e,null,_0x203801,_0x35616f++);_0x5d777b[_0x10745e(0x1d1)](_0x1eb6fe);}}return _0x5d777b;}async[_0x3d8f8b(0x1bb)](_0x19917a,_0x47f81c,_0x2d2909){const _0x260de3=_0x3d8f8b;this[_0x260de3(0x19b)]({[_0x19917a]:_0x47f81c},{[_0x19917a]:_0x2d2909})[_0x260de3(0xec)]((_0x3d41f8,_0x368923)=>{const _0x2d4031=_0x260de3;_0x3d41f8[_0x2d4031(0x143)]=this[_0x2d4031(0x10b)][_0x2d4031(0x12f)]+_0x368923,_0x3d41f8[_0x2d4031(0x1be)]=!0x0,this[_0x2d4031(0x155)](_0x3d41f8);}),this[_0x260de3(0x166)](),await this[_0x260de3(0x1a5)]();}async[_0x3d8f8b(0x194)](_0xfcfb0e,_0x54a18a){const _0x45e7d7=_0x3d8f8b;let _0x1de11a;this[_0x45e7d7(0x1cf)]=_0xfcfb0e[_0x45e7d7(0x1db)];const _0x59eb73=_0xfcfb0e[_0x45e7d7(0xf2)]&&!_0xfcfb0e[_0x45e7d7(0x10a)],_0x3e7ce4=_0x59eb73?0x0:_0xfcfb0e[_0x45e7d7(0x144)][_0x45e7d7(0x143)];if(_0x54a18a[_0x45e7d7(0xec)](_0x2c7e04=>{const _0x881ae2=_0x45e7d7;_0x2c7e04[_0x881ae2(0x1be)]=!0x0,_0x2c7e04[_0x881ae2(0x175)]=_0xfcfb0e[_0x881ae2(0x16e)],_0x2c7e04[_0x881ae2(0x116)]=null;}),_0x59eb73)_0x1de11a=_0x54a18a,this[_0x45e7d7(0x1b6)](_0x1de11a,_0x59eb73);else{if(_0xfcfb0e[_0x45e7d7(0x10a)]){const _0x5c8acb=this[_0x45e7d7(0x19b)](_0xfcfb0e[_0x45e7d7(0x10a)]);this[_0x45e7d7(0x10b)][_0x45e7d7(0x1e2)][_0x45e7d7(0x12f)]=-_0x5c8acb[_0x45e7d7(0x186)],_0x5c8acb[_0x45e7d7(0xec)](_0x114c91=>{const _0x2d042b=_0x45e7d7;_0x114c91[_0x2d042b(0x143)]-=_0x5c8acb[_0x2d042b(0x186)],_0x114c91[_0x2d042b(0x175)]=_0xfcfb0e[_0x2d042b(0x16e)],_0x114c91[_0x2d042b(0x1be)]=!0x0,_0x114c91[_0x2d042b(0x116)]=null;}),this[_0x45e7d7(0x1b6)](_0x5c8acb,!0x0),this[_0x45e7d7(0x1bf)][_0x45e7d7(0x12f)]=-_0x5c8acb[_0x45e7d7(0x186)]+this[_0x45e7d7(0x1cf)],this[_0x45e7d7(0x15b)](_0x5c8acb);}this[_0x45e7d7(0x10b)][_0x45e7d7(0x1e2)][_0x45e7d7(0x12f)]=_0x3e7ce4,_0x1de11a=this[_0x45e7d7(0x14d)](_0xfcfb0e[_0x45e7d7(0x144)],_0xfcfb0e[_0x45e7d7(0x157)]),await this[_0x45e7d7(0x147)](_0x1de11a),this[_0x45e7d7(0x1b6)](_0x1de11a,_0x59eb73);}_0xfcfb0e[_0x45e7d7(0x13c)]&&(this[_0x45e7d7(0xf4)][_0x45e7d7(0x151)](_0x1de11a,_0xfcfb0e[_0x45e7d7(0x13c)]),this[_0x45e7d7(0x1a8)]=_0xfcfb0e[_0x45e7d7(0x13c)]),this[_0x45e7d7(0x1bf)][_0x45e7d7(0x12f)]=_0x3e7ce4+this[_0x45e7d7(0x1cf)],this[_0x45e7d7(0x15b)](_0x1de11a),_0x54a18a[_0x45e7d7(0xfb)](_0x3ff18b=>{const _0x233c5d=_0x45e7d7,_0xaf73c1=this[_0x233c5d(0x1a6)](_0x3ff18b);return _0xaf73c1&&!this[_0x233c5d(0xfe)][_0x233c5d(0x161)](_0xaf73c1);})[_0x45e7d7(0xec)]((_0x23364d,_0x421392)=>{const _0x8974a5=_0x45e7d7;_0x23364d[_0x8974a5(0x143)]=this[_0x8974a5(0x10b)][_0x8974a5(0x12f)]+_0x421392,this[_0x8974a5(0x155)](_0x23364d);}),this[_0x45e7d7(0x102)]()?(this[_0x45e7d7(0xf6)]=0x0,this[_0x45e7d7(0x166)](!0x0),await this[_0x45e7d7(0x1a5)]()):(this[_0x45e7d7(0x118)]=!0x1,this[_0x45e7d7(0x162)]());}[_0x3d8f8b(0x142)](_0x64be37,_0x16a470){const _0x2937f4=_0x3d8f8b,_0xcc777=_0x16a470&&_0x16a470[_0x2937f4(0x106)];if(_0xcc777&&_0xcc777[_0x2937f4(0x115)](_0x2937f4(0x159)))throw _0x16a470;const _0x2a6960=this[_0x2937f4(0x1cd)][_0x2937f4(0xf8)][_0x2937f4(0x141)](_0x7cf06c);throw this[_0x2937f4(0x118)]=!0x0,_0x2a6960[_0x2937f4(0x196)](),this[_0x2937f4(0x1cd)][_0x2937f4(0x172)](_0x2937f4(0x11b)),new _0x4744ca(_0x64be37,this[_0x2937f4(0x1cd)],_0xcc777?{'originalError':_0xcc777}:void 0x0);}[_0x3d8f8b(0x155)](_0x532557){const _0x3e6767=_0x3d8f8b;this[_0x3e6767(0xe3)][_0x3e6767(0x161)](_0x532557)||(this[_0x3e6767(0xe3)][_0x3e6767(0x177)](_0x532557),this[_0x3e6767(0x1b2)][_0x3e6767(0x1d1)](_0x532557),this[_0x3e6767(0x16b)]||_0x3e6767(0x10e)==_0x532557[_0x3e6767(0x145)]&&!_0x532557[_0x3e6767(0xeb)]||this[_0x3e6767(0x1d2)]());}[_0x3d8f8b(0x166)](_0x5d9320=!0x1){const _0x2c0eee=_0x3d8f8b;!_0x5d9320&&this[_0x2c0eee(0x118)]||(this[_0x2c0eee(0x118)]=!0x0,clearTimeout(this[_0x2c0eee(0x160)]),this[_0x2c0eee(0x160)]=setTimeout(()=>{const _0x2b2950=_0x2c0eee;this[_0x2b2950(0xfa)]()[_0x2b2950(0x15f)](_0xfe2e19=>{const _0x47184e=_0x2b2950;_0xfe2e19&&(this[_0x47184e(0x162)](),this[_0x47184e(0x118)]=!0x1);})[_0x2b2950(0x1a9)](_0x401cd2=>{const _0x23895c=_0x2b2950;this[_0x23895c(0x162)](),this[_0x23895c(0x118)]=!0x1,function(_0x17c409){const _0x180305=_0x23895c;return _0x17c409[_0x180305(0x106)][_0x180305(0x115)](_0x180305(0x11a))||_0x17c409[_0x180305(0x106)][_0x180305(0x115)](_0x180305(0x16c))||_0x17c409[_0x180305(0x106)][_0x180305(0x115)](_0x180305(0x124));}(_0x401cd2)||this[_0x23895c(0x142)](_0x401cd2[_0x23895c(0x106)],_0x401cd2);});},this[_0x2c0eee(0xf6)]));}[_0x3d8f8b(0x1a5)](){return new Promise(_0x10cd64=>{const _0x3cb719=_0x390b;this['on'](_0x3cb719(0x152),()=>{_0x10cd64();});});}async[_0x3d8f8b(0xfa)](){const _0x41b057=_0x3d8f8b,_0x53d4c0=this[_0x41b057(0x1cd)][_0x41b057(0xf8)][_0x41b057(0x141)](_0xd27be6);if(this[_0x41b057(0x11c)]()&&(_0x53d4c0[_0x41b057(0x1b1)](),this[_0x41b057(0xfc)]=!0x1),!this[_0x41b057(0x102)]())return!0x0;const _0xace0e1=[...this[_0x41b057(0x1b2)]];for(const _0x486a06 of _0xace0e1)_0x486a06[_0x41b057(0x140)]=this[_0x41b057(0x10b)][_0x41b057(0x1e2)][_0x41b057(0x1c8)](_0x486a06);const _0x5c6846=this[_0x41b057(0xf4)][_0x41b057(0x14f)](_0xace0e1),_0x150561=N++,_0x2f3320=this[_0x41b057(0x107)](_0xace0e1),_0x5400bc=await this[_0x41b057(0x131)][_0x41b057(0x176)](_0x2f3320,_0x2f3320[_0x41b057(0x143)],_0x5c6846);try{return await this[_0x41b057(0x10f)](_0xace0e1,_0x5400bc,_0x150561);}catch(_0x1217e8){return this[_0x41b057(0x142)](_0x41b057(0x127),_0x1217e8);}}async[_0x3d8f8b(0x10f)](_0x90cf4e,_0xe6af37,_0x1bf75a){const _0x12d02b=_0x3d8f8b;if(_0x12d02b(0x198)in _0xe6af37)throw _0xe6af37[_0x12d02b(0x198)];let _0x1d604b=!0x1;if(_0xe6af37[_0x12d02b(0xf2)]){_0xe6af37[_0x12d02b(0x13c)]&&(this[_0x12d02b(0x1a8)]=_0xe6af37[_0x12d02b(0x13c)]),this[_0x12d02b(0x1b2)]=this[_0x12d02b(0x1b2)][_0x12d02b(0xfb)](_0x5cc39b=>!_0x90cf4e[_0x12d02b(0x129)](_0x5cc39b));for(const _0x165f94 of _0x90cf4e)_0x165f94[_0x12d02b(0x175)]=_0x12d02b(0x15e)in _0xe6af37&&_0xe6af37[_0x12d02b(0x15e)]||void 0x0;x(_0x90cf4e,_0xe6af37[_0x12d02b(0x12f)]-_0x90cf4e[_0x12d02b(0x186)]),this[_0x12d02b(0x15b)](_0x90cf4e);const _0x154abd=_0x90cf4e[_0x12d02b(0xfb)](_0xfa16cf=>{const _0x15350b=_0x12d02b;if(!_0xfa16cf[_0x15350b(0x1be)])return!0x1;const _0x135063=this[_0x15350b(0x1a6)](_0xfa16cf);return _0x135063&&!this[_0x15350b(0xfe)][_0x15350b(0x161)](_0x135063);});x(_0x154abd,this[_0x12d02b(0x10b)][_0x12d02b(0x12f)]),this[_0x12d02b(0x1b6)](_0x154abd),_0x1d604b=!0x0,this[_0x12d02b(0xf6)]=this[_0x12d02b(0x1a0)];}else{const _0x30020c=this[_0x12d02b(0x14d)](_0xe6af37[_0x12d02b(0x144)],_0xe6af37[_0x12d02b(0x157)])[_0x12d02b(0xfb)](_0x3e8682=>_0x3e8682[_0x12d02b(0x143)]>=this[_0x12d02b(0x1b9)]);_0x30020c[_0x12d02b(0xec)](_0xe9a392=>this[_0x12d02b(0x128)](_0xe9a392)),this[_0x12d02b(0x1b2)]=this[_0x12d02b(0x1b2)][_0x12d02b(0xfb)](_0x336b1b=>!_0x336b1b[_0x12d02b(0x1be)]||!this[_0x12d02b(0xfe)][_0x12d02b(0x161)](this[_0x12d02b(0x1a6)](_0x336b1b))),this[_0x12d02b(0x1b2)][_0x12d02b(0x186)]&&x(this[_0x12d02b(0x1b2)],this[_0x12d02b(0x1b2)][0x0][_0x12d02b(0x143)]),await this[_0x12d02b(0x147)](_0x30020c),_0x1d604b=this[_0x12d02b(0x192)](_0x30020c,_0xe6af37[_0x12d02b(0x12f)],_0xe6af37[_0x12d02b(0x13c)]),this[_0x12d02b(0xf6)]=Math[_0x12d02b(0x14e)](this[_0x12d02b(0xf6)]/0x2);}return _0x1d604b?!this[_0x12d02b(0x102)]()||(this[_0x12d02b(0x166)](!0x0),!0x1):this[_0x12d02b(0x142)](_0x12d02b(0x18b));}[_0x3d8f8b(0x192)](_0x4653fc,_0x25672d,_0x29d454){const _0x51369a=_0x3d8f8b;try{const _0x220121={'document':this[_0x51369a(0x10b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x254725,operationsB:_0x1daf70,originalOperations:_0x4d2653}=_0x5e5f4f(_0x4653fc,this[_0x51369a(0x1b2)],_0x220121);x(_0x254725,this[_0x51369a(0x10b)][_0x51369a(0x12f)]),x(_0x1daf70,_0x25672d);for(const _0x116fa0 of _0x254725){const _0x1ad6de=_0x4d2653[_0x51369a(0x141)](_0x116fa0);_0x116fa0[_0x51369a(0x116)]=_0x1ad6de?_0x1ad6de[_0x51369a(0x116)]:null;}_0x29d454&&(this[_0x51369a(0xf4)][_0x51369a(0x151)](_0x4653fc,_0x29d454),this[_0x51369a(0x1a8)]=_0x29d454),this[_0x51369a(0x1b2)]=[..._0x1daf70],this[_0x51369a(0x1b6)](_0x254725),this[_0x51369a(0x15b)](_0x4653fc);}catch(_0x4278b7){return console[_0x51369a(0x198)](_0x4278b7),!0x1;}return!0x0;}[_0x3d8f8b(0x1b6)](_0x27dcbc,_0x4c72cd=!0x1){const _0x3024f9=_0x3d8f8b;this[_0x3024f9(0x1cd)][_0x3024f9(0x120)][_0x3024f9(0x1dc)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2e4a65=>{const _0x4b74b4=_0x3024f9;for(const _0x4160b1 of _0x27dcbc)this[_0x4b74b4(0xe3)][_0x4b74b4(0x177)](_0x4160b1),this[_0x4b74b4(0x128)](_0x4160b1),_0x2e4a65[_0x4b74b4(0x1b7)][_0x4b74b4(0xe9)](_0x4160b1),this[_0x4b74b4(0x1cd)][_0x4b74b4(0x120)][_0x4b74b4(0x1dd)](_0x4160b1);});}[_0x3d8f8b(0x128)](_0x3464ec){const _0x3c58f4=_0x3d8f8b,_0xa482e7=this[_0x3c58f4(0x1a6)](_0x3464ec);_0xa482e7&&this[_0x3c58f4(0xfe)][_0x3c58f4(0x177)](_0xa482e7);}[_0x3d8f8b(0x1a6)](_0x3f85ff){const _0x330517=_0x3d8f8b;let _0x58d40a,_0xe48730;switch(_0x3f85ff[_0x330517(0x145)]){case _0x330517(0x138):_0x58d40a=_0x3f85ff[_0x330517(0x188)][_0x330517(0x1b8)];break;case _0x330517(0x10e):if(_0xe48730=_0x3f85ff[_0x330517(0x1d4)],!_0xe48730)return null;_0x58d40a=_0xe48730[_0x330517(0x1b8)];break;case _0x330517(0x136):_0x58d40a=_0x3f85ff[_0x330517(0x1b8)];break;case _0x330517(0x1c2):_0x58d40a=_0x3f85ff[_0x330517(0x1bd)];break;case _0x330517(0x191):_0x58d40a=_0x3f85ff[_0x330517(0xf7)][_0x330517(0x1b8)];break;default:return null;}return _0x58d40a[_0x330517(0x13b)];}[_0x3d8f8b(0x15b)](_0x387e68){const _0x57f33a=_0x3d8f8b;_0x387e68[_0x57f33a(0xec)](_0x5002e4=>{const _0x10c950=_0x57f33a,_0x381d1a=_0x5002e4[_0x10c950(0x13d)]();_0x381d1a[_0x10c950(0x116)]=_0x5002e4[_0x10c950(0x116)],_0x381d1a[_0x10c950(0x1be)]=!!_0x5002e4[_0x10c950(0x1be)],_0x381d1a[_0x10c950(0x175)]=_0x5002e4[_0x10c950(0x175)],_0x381d1a[_0x10c950(0x143)]+=this[_0x10c950(0x1cf)],_0x5002e4[_0x10c950(0xf1)]&&this[_0x10c950(0x1c9)][_0x10c950(0x177)](_0x381d1a),this[_0x10c950(0x1bf)][_0x10c950(0xe9)](_0x381d1a);});}[_0x3d8f8b(0x103)](_0x57fe56){const _0x4aedf0=_0x3d8f8b,_0x385f53=this[_0x4aedf0(0x1cd)][_0x4aedf0(0xf8)][_0x4aedf0(0x141)](_0x4aedf0(0xef)),_0x1410b4=this[_0x4aedf0(0x1cd)][_0x4aedf0(0x14a)];_0x57fe56||(_0x57fe56=_0x475a1c(_0x1410b4,_0x4aedf0(0x19d))),_0x385f53[_0x4aedf0(0x11e)](_0x57fe56,{'title':_0x475a1c(_0x1410b4,_0x4aedf0(0xee)),'namespace':_0x4aedf0(0x1ce)}),this[_0x4aedf0(0x19c)]=!0x0,clearTimeout(this[_0x4aedf0(0x160)]),this[_0x4aedf0(0x1b2)]=[],this[_0x4aedf0(0x1cd)][_0x4aedf0(0xf8)][_0x4aedf0(0x141)](_0x7cf06c)[_0x4aedf0(0x196)]();}[_0x3d8f8b(0x1d2)](){const _0x5114f8=_0x3d8f8b;this[_0x5114f8(0x16b)]||(this[_0x5114f8(0x16b)]=this[_0x5114f8(0x1cd)][_0x5114f8(0xf8)][_0x5114f8(0x141)](_0x385c22)[_0x5114f8(0x177)](_0x475a1c(this[_0x5114f8(0x1cd)][_0x5114f8(0x14a)],_0x5114f8(0x19a))));}[_0x3d8f8b(0x162)](){const _0x38bf56=_0x3d8f8b;this[_0x38bf56(0x16b)]&&(this[_0x38bf56(0x1cd)][_0x38bf56(0xf8)][_0x38bf56(0x141)](_0x385c22)[_0x38bf56(0x119)](this[_0x38bf56(0x16b)]),this[_0x38bf56(0x16b)]=null);}[_0x3d8f8b(0x107)](_0xdb2d78){const _0x49b9ee=_0x3d8f8b,_0x314f3f=_0xdb2d78[_0x49b9ee(0x174)](_0x59f763=>_0x59f763[_0x49b9ee(0x121)]());return this[_0x49b9ee(0x150)][_0x49b9ee(0x1ba)](_0x314f3f);}[_0x3d8f8b(0x14d)](_0x5877b7,_0x3c1718){const _0x2f1ab8=_0x3d8f8b;return this[_0x2f1ab8(0x150)][_0x2f1ab8(0x1d3)](_0x5877b7)[_0x2f1ab8(0x174)]((_0x5a0ace,_0x1374d6)=>{const _0x4408cb=_0x2f1ab8,_0x31d328=_0x4408cb(0x1d9)==_0x3c1718[_0x1374d6][_0x4408cb(0x145)];if(_0x4408cb(0x17f)==_0x5a0ace[_0x4408cb(0x1a3)]){const _0x36ca85=_0x5a0ace[_0x4408cb(0x188)][_0x4408cb(0x1b8)];!this[_0x4408cb(0x10b)][_0x4408cb(0x195)](_0x36ca85)&&(this[_0x4408cb(0x10b)][_0x4408cb(0x1aa)](_0x4408cb(0x14b),_0x36ca85)[_0x4408cb(0x1ac)]=!0x1);}const _0x45e773=_0x49d088[_0x4408cb(0x110)](_0x5a0ace,this[_0x4408cb(0x10b)]);return _0x45e773[_0x4408cb(0x140)]=_0x5a0ace[_0x4408cb(0x140)],_0x45e773[_0x4408cb(0x1be)]=_0x31d328,_0x45e773[_0x4408cb(0x116)]=_0x31d328?null:_0x3c1718[_0x1374d6][_0x4408cb(0x134)],_0x45e773[_0x4408cb(0xf1)]=_0x4408cb(0xe2)===_0x3c1718[_0x1374d6][_0x4408cb(0x145)],_0x45e773[_0x4408cb(0x175)]=_0x3c1718[_0x1374d6][_0x4408cb(0x175)],_0x45e773;});}[_0x3d8f8b(0x1b5)](){const _0x31beeb=_0x3d8f8b;this[_0x31beeb(0xfc)]=!0x0,this[_0x31beeb(0x11c)]()?this[_0x31beeb(0x166)]():this[_0x31beeb(0xfc)]=!0x1;}[_0x3d8f8b(0x11c)](){const _0x5ef92b=_0x3d8f8b,_0x318569=this[_0x5ef92b(0x1cd)][_0x5ef92b(0xf8)][_0x5ef92b(0x141)](_0xb047bd)[_0x5ef92b(0x14c)][_0x5ef92b(0x141)](this[_0x5ef92b(0x1c3)]);return!this[_0x5ef92b(0x1cd)][_0x5ef92b(0xea)]&&!!_0x318569&&_0x318569[_0x5ef92b(0x186)]>0x1&&this[_0x5ef92b(0xfc)];}[_0x3d8f8b(0x102)](){const _0x39ec0f=_0x3d8f8b;return this[_0x39ec0f(0x1b2)][_0x39ec0f(0x186)]>0x0||this[_0x39ec0f(0x11c)]();}}class B extends Error{}function _0x390b(_0x9a98c0,_0x38f23c){const _0x503cfd=_0x503c();return _0x390b=function(_0x390b0e,_0x3dfc6c){_0x390b0e=_0x390b0e-0xe0;let _0x418ab7=_0x503cfd[_0x390b0e];return _0x418ab7;},_0x390b(_0x9a98c0,_0x38f23c);}function x(_0x3426a5,_0x300b8b){const _0x309557=_0x3d8f8b;for(const _0xab4f95 of _0x3426a5)_0xab4f95[_0x309557(0x143)]=_0x300b8b++;}class M{[_0x3d8f8b(0x185)];[_0x3d8f8b(0x19f)];constructor(_0x27e534){const _0x693d62=_0x3d8f8b;this[_0x693d62(0x185)]=_0x27e534,this[_0x693d62(0x19f)]=new WeakMap();}[_0x3d8f8b(0x14f)](_0x4481ee){const _0x1e8571=_0x3d8f8b;let _0x3b7e0b=_0x4481ee[_0x1e8571(0x186)];for(;_0x3b7e0b--;){const _0x17a648=_0x4481ee[_0x3b7e0b];if(!this[_0x1e8571(0x185)][_0x1e8571(0x161)](_0x17a648)){if(!this[_0x1e8571(0x19f)][_0x1e8571(0x161)](_0x17a648)){const _0xc57e49=_0x4134d()[_0x1e8571(0xf0)](0x1,0x12);this[_0x1e8571(0x19f)][_0x1e8571(0x135)](_0x17a648,_0xc57e49);}return this[_0x1e8571(0x19f)][_0x1e8571(0x141)](_0x17a648);}}}[_0x3d8f8b(0x151)](_0x3a7f1f,_0xbb590f){const _0x37f658=_0x3d8f8b;if(!_0xbb590f)return;let _0x1daacf=_0x3a7f1f[_0x37f658(0x186)];for(;_0x1daacf--;){const _0x3b16ba=_0x3a7f1f[_0x1daacf];this[_0x37f658(0x185)][_0x37f658(0x161)](_0x3b16ba)||this[_0x37f658(0x19f)][_0x37f658(0x135)](_0x3b16ba,_0xbb590f);}}}