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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "47.1.0-alpha.2",
3
+ "version": "47.1.0",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.1",
50
- "@ckeditor/ckeditor5-cloud-services": "47.1.0-alpha.2",
51
- "@ckeditor/ckeditor5-comments": "47.1.0-alpha.2",
52
- "@ckeditor/ckeditor5-core": "47.1.0-alpha.2",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.1.0-alpha.2",
54
- "@ckeditor/ckeditor5-engine": "47.1.0-alpha.2",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.1.0-alpha.2",
56
- "@ckeditor/ckeditor5-revision-history": "47.1.0-alpha.2",
57
- "@ckeditor/ckeditor5-theme-lark": "47.1.0-alpha.2",
58
- "@ckeditor/ckeditor5-track-changes": "47.1.0-alpha.2",
59
- "@ckeditor/ckeditor5-ui": "47.1.0-alpha.2",
60
- "@ckeditor/ckeditor5-utils": "47.1.0-alpha.2",
61
- "ckeditor5": "47.1.0-alpha.2",
62
- "ckeditor5-collaboration": "47.1.0-alpha.2",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.1.0",
51
+ "@ckeditor/ckeditor5-comments": "47.1.0",
52
+ "@ckeditor/ckeditor5-core": "47.1.0",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.1.0",
54
+ "@ckeditor/ckeditor5-engine": "47.1.0",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.1.0",
56
+ "@ckeditor/ckeditor5-revision-history": "47.1.0",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.1.0",
58
+ "@ckeditor/ckeditor5-track-changes": "47.1.0",
59
+ "@ckeditor/ckeditor5-ui": "47.1.0",
60
+ "@ckeditor/ckeditor5-utils": "47.1.0",
61
+ "ckeditor5": "47.1.0",
62
+ "ckeditor5-collaboration": "47.1.0",
63
63
  "es-toolkit": "1.39.5"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ec9(_0x230a92,_0x3867f2){const _0x222c76=_0x222c();return _0x5ec9=function(_0x5ec94f,_0x382fc3){_0x5ec94f=_0x5ec94f-0x99;let _0x507798=_0x222c76[_0x5ec94f];return _0x507798;},_0x5ec9(_0x230a92,_0x3867f2);}function _0x222c(){const _0x50aa30=['counterView','Shift+Tab','keystrokes',':not([disabled]):not([tabindex=\x22-1\x22])','usersCount','currentDisplayedUsers','499695eHEEdS','_handleUserRemove','appendChild','change:isFocused','isExpanded','Enter','presenceList.displayMe','isOfficialPlugin','showDropdown','presenceList.container','detachFromDom','indexOf','allConnectedUsers','locale','ck\x20ck-presence-list__balloon','offsetWidth','element','hasTooltip','textarea','isRendered','remove','presenceList.collapseAt','find','bind','reverse','onClick','presencelist-collapseat-invalid-format','listenTo','823432USSHsq','set','add','_handleUserAdd','PresenceListUI','requires','Esc','plugins','_bodyCollection','hideDropdown','displayMe','pin','join','focus','2660300lEjspI','items','inlineListView','presenceDropdownView','attachToDom','tabIndex','10770GDqwdi','isFocusable','bindTo','using','content','render','map','execute','define','pluginName','_allConnectedUsers','get','view','Tab','button','[tabindex]','12fMoPLb','923720ypaVEd','class','querySelectorAll','number','presencelist-missing-container','activeElement','isVisible','body','balloonPanelView','min','2948091RFbsBW','destroy','filter','presenceList','length','[contenteditable]','isCollapsed','offsetHeight','_createView','checkIfScrollable','unpin','from','context','select','init','presencelist:show','input','focusTracker','sort','198zISEjk','config','isPremiumPlugin','presencelist:hide','isMe','1544696fZvfzo'];_0x222c=function(){return _0x50aa30;};return _0x222c();}const _0x22e71b=_0x5ec9;(function(_0x1ee210,_0x592c00){const _0x4eabbe=_0x5ec9,_0x4fc784=_0x1ee210();while(!![]){try{const _0x1d9800=parseInt(_0x4eabbe(0xe7))/0x1+parseInt(_0x4eabbe(0xb0))/0x2+parseInt(_0x4eabbe(0x102))/0x3+parseInt(_0x4eabbe(0xe1))/0x4+parseInt(_0x4eabbe(0xf8))/0x5+-parseInt(_0x4eabbe(0xf7))/0x6*(-parseInt(_0x4eabbe(0xb7))/0x7)+-parseInt(_0x4eabbe(0xd3))/0x8*(parseInt(_0x4eabbe(0xab))/0x9);if(_0x1d9800===_0x592c00)break;else _0x4fc784['push'](_0x4fc784['shift']());}catch(_0x4d6531){_0x4fc784['push'](_0x4fc784['shift']());}}}(_0x222c,0x7898e));import{ContextPlugin as _0x1c6fdc}from'ckeditor5/src/core.js';import{CKEditorError as _0x4b4718,Collection as _0x9b61c}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x1e7da3,BalloonPanelView as _0x2c75c0,BodyCollection as _0x1751de}from'ckeditor5/src/ui.js';import{isElement as _0x55775a}from'es-toolkit/compat';import{Sessions as _0x68148d}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x1cec57}from'./view/presencelistview.js';import{PresenceCounterView as _0x2d8943}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x244926}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x8661ea}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x5cbde9}from'./view/presenceinlinelistitemview.js';const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x1c6fdc{[_0x22e71b(0xb6)];[_0x22e71b(0x100)];[_0x22e71b(0xf3)];[_0x22e71b(0xe4)];[_0x22e71b(0xdb)]=null;static get[_0x22e71b(0xf0)](){const _0x5471a3=_0x22e71b;return _0x5471a3(0xd7);}static get[_0x22e71b(0xbe)](){return!0x0;}static get[_0x22e71b(0xad)](){return!0x0;}constructor(_0x46fd40){const _0x18bae2=_0x22e71b;super(_0x46fd40),this[_0x18bae2(0xa4)][_0x18bae2(0xac)][_0x18bae2(0xef)](_0x18bae2(0x9b),x);const _0x5718b9=_0x46fd40[_0x18bae2(0xac)][_0x18bae2(0xf2)](_0x18bae2(0xcc));if(_0x18bae2(0xfb)!=typeof _0x5718b9)throw new _0x4b4718(_0x18bae2(0xd1),this);if(_0x5718b9<0x1)throw new _0x4b4718(_0x18bae2(0xd1),this);this[_0x18bae2(0xf1)]=this[_0x18bae2(0xa4)][_0x18bae2(0xda)][_0x18bae2(0xf2)](_0x68148d)[_0x18bae2(0xc3)],this[_0x18bae2(0xd4)](_0x18bae2(0xb5),0x0),this[_0x18bae2(0xb6)]=new _0x9b61c(),this[_0x18bae2(0x100)]=new _0x2c75c0(),this[_0x18bae2(0x100)][_0x18bae2(0xf9)]=_0x18bae2(0xc5),this[_0x18bae2(0xf3)]=this[_0x18bae2(0xa0)](),this[_0x18bae2(0xe4)]=void 0x0;}static get[_0x22e71b(0xd8)](){return[_0x68148d];}[_0x22e71b(0xa6)](){const _0x1b3896=_0x22e71b;for(const _0xcadba4 of this[_0x1b3896(0xf1)])this[_0x1b3896(0xd6)](_0xcadba4);this[_0x1b3896(0xd2)](this[_0x1b3896(0xf1)],_0x1b3896(0xd5),(_0x257c88,_0x16fb35)=>{const _0x2a29ec=_0x1b3896;this[_0x2a29ec(0xd6)](_0x16fb35);}),this[_0x1b3896(0xd2)](this[_0x1b3896(0xf1)],_0x1b3896(0xcb),(_0x205fb2,_0x4475c1)=>{const _0x31a404=_0x1b3896;this[_0x31a404(0xb8)](_0x4475c1);});}[_0x22e71b(0xa0)](){const _0x53eb35=_0x22e71b,_0x5d9894=this[_0x53eb35(0xa4)],_0x34a7b1=new _0x1cec57(this[_0x53eb35(0xa4)][_0x53eb35(0xc4)],this[_0x53eb35(0xa4)][_0x53eb35(0xac)][_0x53eb35(0xf2)](_0x53eb35(0xcc))),_0x235d20=this[_0x53eb35(0x100)];if(!_0x55775a(_0x5d9894[_0x53eb35(0xac)][_0x53eb35(0xf2)](_0x53eb35(0xc0))))throw new _0x4b4718(_0x53eb35(0xfc),this);return _0x34a7b1[_0x53eb35(0xb1)][_0x53eb35(0xce)](_0x53eb35(0xb5))['to'](this),_0x34a7b1[_0x53eb35(0xce)](_0x53eb35(0x9e))['to'](this,_0x53eb35(0xb5),_0x47bf19=>{const _0x3dcdc1=_0x53eb35,{collapseAt:_0xfaa0e3}=_0x5d9894[_0x3dcdc1(0xac)][_0x3dcdc1(0xf2)](_0x3dcdc1(0x9b)),_0x49a65b=_0x47bf19>=_0xfaa0e3;if(_0x49a65b&&!_0x34a7b1[_0x3dcdc1(0xe3)][_0x3dcdc1(0xe2)][_0x3dcdc1(0xcd)](_0x581cc0=>_0x581cc0 instanceof _0x2d8943)){const _0x4f97f8=this[_0x3dcdc1(0xa4)][_0x3dcdc1(0xac)][_0x3dcdc1(0xf2)](_0x3dcdc1(0xcc))-0x1;this[_0x3dcdc1(0xb6)][_0x3dcdc1(0x9c)]==_0x4f97f8&&this[_0x3dcdc1(0xb6)][_0x3dcdc1(0x9c)]>0x1&&this[_0x3dcdc1(0xb6)][_0x3dcdc1(0xcb)](this[_0x3dcdc1(0xb6)][_0x3dcdc1(0x9c)]-0x1),_0x34a7b1[_0x3dcdc1(0xe3)][_0x3dcdc1(0xe2)][_0x3dcdc1(0xd5)](_0x34a7b1[_0x3dcdc1(0xb1)]);}return _0x49a65b||this[_0x3dcdc1(0xdc)](),_0x49a65b;}),_0x34a7b1[_0x53eb35(0xe3)][_0x53eb35(0xe2)][_0x53eb35(0xe9)](this[_0x53eb35(0xb6)])[_0x53eb35(0xea)](_0x59d423=>{const _0x10d8cf=_0x53eb35,_0x1b74e5=_0x5d9894[_0x10d8cf(0xac)][_0x10d8cf(0xf2)](_0x10d8cf(0x9b)),_0xc46873=new _0x5cbde9(_0x5d9894[_0x10d8cf(0xc4)],_0x59d423,!!_0x1b74e5[_0x10d8cf(0xd0)]);return _0xc46873[_0x10d8cf(0xce)](_0x10d8cf(0xc8))['to'](_0x34a7b1,_0x10d8cf(0x9e),_0x4e84a5=>!_0x4e84a5),_0xc46873[_0x10d8cf(0xce)](_0x10d8cf(0xe8))['to'](_0x34a7b1,_0x10d8cf(0x9e),_0x32ba03=>!_0x32ba03),_0x1b74e5[_0x10d8cf(0xd0)]&&this[_0x10d8cf(0xd2)](_0xc46873,_0x10d8cf(0xee),()=>{const _0x4783ee=_0x10d8cf;this[_0x4783ee(0xf3)][_0x4783ee(0x9e)]||_0x1b74e5[_0x4783ee(0xd0)](_0x59d423,_0xc46873[_0x4783ee(0xc7)]);}),_0xc46873;}),this[_0x53eb35(0xd2)](_0x34a7b1[_0x53eb35(0xe3)],_0x53eb35(0xa7),()=>{const _0x1d59cf=_0x53eb35;this[_0x1d59cf(0xf3)][_0x1d59cf(0x9e)]&&this[_0x1d59cf(0xbf)]();}),this[_0x53eb35(0xd2)](_0x34a7b1[_0x53eb35(0xe3)],_0x53eb35(0xae),()=>{const _0xb70023=_0x53eb35;this[_0xb70023(0xe4)]&&this[_0xb70023(0xdc)]();}),_0x34a7b1[_0x53eb35(0xe3)][_0x53eb35(0xb3)][_0x53eb35(0xd4)](_0x53eb35(0xbc),(_0x3ff891,_0x3449ca)=>{const _0xea9c1a=_0x53eb35;this[_0xea9c1a(0xf3)][_0xea9c1a(0x9e)]&&(this[_0xea9c1a(0xbf)](),_0x3449ca());}),_0x34a7b1[_0x53eb35(0xec)](),_0x235d20[_0x53eb35(0xec)](),_0x1e7da3({'emitter':_0x34a7b1,'activator':()=>_0x235d20[_0x53eb35(0xfe)],'contextElements':[_0x235d20[_0x53eb35(0xc7)],_0x34a7b1[_0x53eb35(0xe3)][_0x53eb35(0xc7)]],'callback':()=>this[_0x53eb35(0xdc)]()}),_0x5d9894[_0x53eb35(0xac)][_0x53eb35(0xf2)](_0x53eb35(0xc0))[_0x53eb35(0xb9)](_0x34a7b1[_0x53eb35(0xc7)]),this[_0x53eb35(0xdb)]=new _0x1751de(this[_0x53eb35(0xa4)][_0x53eb35(0xc4)]),this[_0x53eb35(0xdb)][_0x53eb35(0xe5)](),this[_0x53eb35(0xdb)][_0x53eb35(0xd5)](this[_0x53eb35(0x100)]),_0x34a7b1;}[_0x22e71b(0xd6)](_0xe8cc7b){const _0x40dee0=_0x22e71b;if(!this[_0x40dee0(0xa4)][_0x40dee0(0xac)][_0x40dee0(0xf2)](_0x40dee0(0xbd))&&_0xe8cc7b[_0x40dee0(0xaf)])return;const _0x34c939=this[_0x40dee0(0xa4)][_0x40dee0(0xac)][_0x40dee0(0xf2)](_0x40dee0(0xcc))-0x1;for(this[_0x40dee0(0xb5)]++;this[_0x40dee0(0xb6)][_0x40dee0(0x9c)]>=_0x34c939-(this[_0x40dee0(0xf3)][_0x40dee0(0x9e)]?0x1:0x0)&&this[_0x40dee0(0xb6)][_0x40dee0(0x9c)]>0x1;)this[_0x40dee0(0xb6)][_0x40dee0(0xcb)](0x1);const _0x1bc3fa=_0xe8cc7b[_0x40dee0(0xaf)]?0x0:this[_0x40dee0(0xb6)][_0x40dee0(0x9c)];this[_0x40dee0(0xb6)][_0x40dee0(0xd5)](_0xe8cc7b,_0x1bc3fa);}[_0x22e71b(0xb8)](_0x4f54f5){const _0x31a546=_0x22e71b;this[_0x31a546(0xb5)]--;const {collapseAt:_0x22b575}=this[_0x31a546(0xa4)][_0x31a546(0xac)][_0x31a546(0xf2)](_0x31a546(0x9b)),_0xb3d0a2=this[_0x31a546(0xb5)]>=_0x22b575;if(this[_0x31a546(0xb6)][_0x31a546(0xf2)](_0x4f54f5['id']))this[_0x31a546(0xb6)][_0x31a546(0xcb)](_0x4f54f5['id']);else{if(_0xb3d0a2&&this[_0x31a546(0xb6)][_0x31a546(0x9c)]+0x1===_0x22b575-0x1)return;}if(this[_0x31a546(0xb6)][_0x31a546(0x9c)]+(_0xb3d0a2?0x1:0x0)<this[_0x31a546(0xb5)]){for(const _0x7b55c6 of Array[_0x31a546(0xa3)](this[_0x31a546(0xf1)])[_0x31a546(0xcf)]())if(!this[_0x31a546(0xb6)][_0x31a546(0xf2)](_0x7b55c6['id'])&&(this[_0x31a546(0xb6)][_0x31a546(0xd5)](_0x7b55c6,Math[_0x31a546(0x101)](this[_0x31a546(0xb6)][_0x31a546(0x9c)]-(_0xb3d0a2?0x1:0x0),0x1)),this[_0x31a546(0xb6)][_0x31a546(0x9c)]+(_0xb3d0a2?0x1:0x0)===_0x22b575-0x1))return;}}[_0x22e71b(0xbf)](){const _0x35166a=_0x22e71b;if(this[_0x35166a(0xe4)])return;const _0x4dd521=this[_0x35166a(0xa4)][_0x35166a(0xac)][_0x35166a(0xf2)](_0x35166a(0x9b));this[_0x35166a(0xe4)]=new _0x244926(this[_0x35166a(0xa4)][_0x35166a(0xc4)],!!_0x4dd521[_0x35166a(0xd0)]),this[_0x35166a(0xf3)][_0x35166a(0xe3)][_0x35166a(0xbb)]=!0x0,this[_0x35166a(0xd2)](this[_0x35166a(0xe4)],_0x35166a(0xae),()=>{const _0x4f840b=_0x35166a;this[_0x4f840b(0xe4)]&&this[_0x4f840b(0xdc)]();});const {listWrapperView:_0x41ae0f}=this[_0x35166a(0xe4)];_0x41ae0f[_0x35166a(0xe2)][_0x35166a(0xe9)](this[_0x35166a(0xf1)])[_0x35166a(0xea)](_0x2377e4=>{const _0x54134d=_0x35166a;if(!_0x4dd521[_0x54134d(0xdd)]&&_0x2377e4[_0x54134d(0xaf)])return null;const _0x4c7912=new _0x8661ea(this[_0x54134d(0xa4)][_0x54134d(0xc4)],_0x2377e4,!!_0x4dd521[_0x54134d(0xd0)]);return _0x4dd521[_0x54134d(0xd0)]&&this[_0x54134d(0xd2)](_0x4c7912,_0x54134d(0xee),()=>{const _0x3ec5c7=_0x54134d;_0x4dd521[_0x3ec5c7(0xd0)](_0x2377e4,_0x4c7912[_0x3ec5c7(0xc7)]);}),_0x4c7912;}),this[_0x35166a(0x100)][_0x35166a(0xeb)][_0x35166a(0xd5)](this[_0x35166a(0xe4)]),this[_0x35166a(0x100)][_0x35166a(0xde)]({'target':this[_0x35166a(0xf3)][_0x35166a(0xe3)][_0x35166a(0xc7)]}),_0x41ae0f[_0x35166a(0xe0)](),_0x41ae0f[_0x35166a(0xa1)]();const _0xf4d9c7=(_0x10281a,_0x25a436)=>{const _0x100718=_0x35166a;this[_0x100718(0xdc)](),this[_0x100718(0xf3)][_0x100718(0xe3)][_0x100718(0xe0)](),_0x25a436();};_0x41ae0f[_0x35166a(0xb3)][_0x35166a(0xd4)](_0x35166a(0xd9),_0xf4d9c7),_0x41ae0f[_0x35166a(0xb3)][_0x35166a(0xd4)](_0x35166a(0xb2),_0xf4d9c7),_0x41ae0f[_0x35166a(0xb3)][_0x35166a(0xd4)](_0x35166a(0xf4),(_0x34bd37,_0x4accf9)=>{const _0x2cd5a1=_0x35166a;!function(_0x2b5dbd){const _0x53d0d0=_0x5ec9,_0x5abd89=['a',_0x53d0d0(0xf5),_0x53d0d0(0xa8),_0x53d0d0(0xa5),_0x53d0d0(0xc9),_0x53d0d0(0xf6),_0x53d0d0(0x9d)][_0x53d0d0(0xed)](_0x8748e0=>_0x8748e0+_0x53d0d0(0xb4))[_0x53d0d0(0xdf)](','),_0x588d3f=[...document[_0x53d0d0(0xff)][_0x53d0d0(0xfa)](_0x5abd89)][_0x53d0d0(0x9a)](_0x2a6bbc=>_0x2a6bbc===document[_0x53d0d0(0xfd)]||_0x2a6bbc[_0x53d0d0(0xc6)]+_0x2a6bbc[_0x53d0d0(0x9f)]>0x0)[_0x53d0d0(0xaa)]((_0x1eb707,_0x5f38f3)=>(_0x1eb707[_0x53d0d0(0xe6)]||0x0)-(_0x5f38f3[_0x53d0d0(0xe6)]||0x0)),_0x54d206=_0x588d3f[_0x53d0d0(0xc2)](_0x2b5dbd),_0x142310=_0x588d3f[(_0x54d206+0x1)%_0x588d3f[_0x53d0d0(0x9c)]];_0x142310&&_0x142310[_0x53d0d0(0xe0)]();}(this[_0x2cd5a1(0xf3)][_0x2cd5a1(0xc7)]),this[_0x2cd5a1(0xdc)](),_0x4accf9();}),_0x41ae0f[_0x35166a(0xa9)][_0x35166a(0xd5)](this[_0x35166a(0xf3)][_0x35166a(0xc7)]),_0x41ae0f[_0x35166a(0xa9)]['on'](_0x35166a(0xba),(_0x4b3610,_0x4f1bd8,_0x3970d8)=>{const _0x11c86b=_0x35166a;_0x3970d8||this[_0x11c86b(0xdc)]();});}[_0x22e71b(0xdc)](){const _0x1478f6=_0x22e71b;this[_0x1478f6(0xe4)]&&(this[_0x1478f6(0xf3)][_0x1478f6(0xe3)][_0x1478f6(0xbb)]=!0x1,this[_0x1478f6(0x100)][_0x1478f6(0xa2)](),this[_0x1478f6(0x100)][_0x1478f6(0xeb)][_0x1478f6(0xcb)](this[_0x1478f6(0xe4)]),this[_0x1478f6(0xe4)][_0x1478f6(0x99)](),this[_0x1478f6(0xe4)]=void 0x0);}[_0x22e71b(0x99)](){const _0x5409a7=_0x22e71b;super[_0x5409a7(0x99)](),this[_0x5409a7(0xf3)]&&this[_0x5409a7(0xf3)][_0x5409a7(0xca)]&&this[_0x5409a7(0xf3)][_0x5409a7(0x99)](),this[_0x5409a7(0xdb)]&&(this[_0x5409a7(0xdb)][_0x5409a7(0xc1)](),this[_0x5409a7(0xdb)][_0x5409a7(0x99)](),this[_0x5409a7(0xdb)]=null);}}
23
+ const _0x569e40=_0x46fe;(function(_0x49ca5c,_0xc7ef4f){const _0x2523da=_0x46fe,_0x2b3c58=_0x49ca5c();while(!![]){try{const _0x2877a0=-parseInt(_0x2523da(0x20c))/0x1+parseInt(_0x2523da(0x1ee))/0x2*(parseInt(_0x2523da(0x1ef))/0x3)+parseInt(_0x2523da(0x1e4))/0x4+-parseInt(_0x2523da(0x1cd))/0x5*(-parseInt(_0x2523da(0x1b9))/0x6)+parseInt(_0x2523da(0x1fa))/0x7*(parseInt(_0x2523da(0x1c1))/0x8)+-parseInt(_0x2523da(0x1c9))/0x9+parseInt(_0x2523da(0x1e0))/0xa;if(_0x2877a0===_0xc7ef4f)break;else _0x2b3c58['push'](_0x2b3c58['shift']());}catch(_0x387777){_0x2b3c58['push'](_0x2b3c58['shift']());}}}(_0x19ed,0x925b0));import{ContextPlugin as _0x1f1f40}from'ckeditor5/src/core.js';function _0x46fe(_0x34998e,_0x28dce7){const _0x19edd9=_0x19ed();return _0x46fe=function(_0x46fe09,_0x5ec945){_0x46fe09=_0x46fe09-0x1b2;let _0x3d03bb=_0x19edd9[_0x46fe09];return _0x3d03bb;},_0x46fe(_0x34998e,_0x28dce7);}import{CKEditorError as _0x43ae44,Collection as _0x56a171}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x196dab,BalloonPanelView as _0x26de97,BodyCollection as _0x4a5dfd}from'ckeditor5/src/ui.js';import{isElement as _0xfb4aa4}from'es-toolkit/compat';import{Sessions as _0x587276}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x12201e}from'./view/presencelistview.js';import{PresenceCounterView as _0x4750bc}from'./view/presencecounterview.js';function _0x19ed(){const _0x347e94=['element','4nvsCQO','1256529HkQrfG','map','isMe','min','counterView','unpin','join','isVisible','detachFromDom','presencelist:hide','hideDropdown','7HaNoPv','filter','balloonPanelView','execute','body','displayMe','focusTracker','appendChild','destroy','remove','activeElement','from','length','Shift+Tab','pin','using','isRendered',':not([disabled]):not([tabindex=\x22-1\x22])','1189571MJdDrn','hasTooltip','isPremiumPlugin','allConnectedUsers','tabIndex','ck\x20ck-presence-list__balloon','number','_bodyCollection','presenceDropdownView','plugins','_handleUserRemove','Tab','presenceList.container','get','currentDisplayedUsers','onClick','items','view','init','requires','showDropdown','input','find','bind','30VHMvqY','define','context','config','presenceList.collapseAt','querySelectorAll','usersCount','_createView','206120mSddjL','indexOf','bindTo','PresenceListUI','textarea','change:isFocused','presencelist-collapseat-invalid-format','presenceList','3740562jUHGND','class','set','select','673315ComogW','sort','inlineListView','content','_handleUserAdd','render','keystrokes','_allConnectedUsers','isOfficialPlugin','reverse','presencelist:show','attachToDom','offsetHeight','isExpanded','[tabindex]','presenceList.displayMe','[contenteditable]','button','isFocusable','1669730xlOjYY','Enter','offsetWidth','Esc','2003688vSyYTz','pluginName','checkIfScrollable','listenTo','focus','presencelist-missing-container','add','locale','isCollapsed'];_0x19ed=function(){return _0x347e94;};return _0x19ed();}import{PresenceDropdownListView as _0x5e5930}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x48b71e}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x4bfddd}from'./view/presenceinlinelistitemview.js';const U={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x1f1f40{[_0x569e40(0x21a)];[_0x569e40(0x1fc)];[_0x569e40(0x1b2)];[_0x569e40(0x214)];[_0x569e40(0x213)]=null;static get[_0x569e40(0x1e5)](){const _0x2a1b53=_0x569e40;return _0x2a1b53(0x1c4);}static get[_0x569e40(0x1d5)](){return!0x0;}static get[_0x569e40(0x20e)](){return!0x0;}constructor(_0x299fd2){const _0x208677=_0x569e40;super(_0x299fd2),this[_0x208677(0x1bb)][_0x208677(0x1bc)][_0x208677(0x1ba)](_0x208677(0x1c8),U);const _0x523e36=_0x299fd2[_0x208677(0x1bc)][_0x208677(0x219)](_0x208677(0x1bd));if(_0x208677(0x212)!=typeof _0x523e36)throw new _0x43ae44(_0x208677(0x1c7),this);if(_0x523e36<0x1)throw new _0x43ae44(_0x208677(0x1c7),this);this[_0x208677(0x1d4)]=this[_0x208677(0x1bb)][_0x208677(0x215)][_0x208677(0x219)](_0x587276)[_0x208677(0x20f)],this[_0x208677(0x1cb)](_0x208677(0x1bf),0x0),this[_0x208677(0x21a)]=new _0x56a171(),this[_0x208677(0x1fc)]=new _0x26de97(),this[_0x208677(0x1fc)][_0x208677(0x1ca)]=_0x208677(0x211),this[_0x208677(0x1b2)]=this[_0x208677(0x1c0)](),this[_0x208677(0x214)]=void 0x0;}static get[_0x569e40(0x1b4)](){return[_0x587276];}[_0x569e40(0x1b3)](){const _0x20a164=_0x569e40;for(const _0x51728b of this[_0x20a164(0x1d4)])this[_0x20a164(0x1d1)](_0x51728b);this[_0x20a164(0x1e7)](this[_0x20a164(0x1d4)],_0x20a164(0x1ea),(_0x4a5059,_0x13ad85)=>{const _0x17f44f=_0x20a164;this[_0x17f44f(0x1d1)](_0x13ad85);}),this[_0x20a164(0x1e7)](this[_0x20a164(0x1d4)],_0x20a164(0x203),(_0x5ed467,_0x107fee)=>{const _0x328cca=_0x20a164;this[_0x328cca(0x216)](_0x107fee);});}[_0x569e40(0x1c0)](){const _0xb7c349=_0x569e40,_0x591d2c=this[_0xb7c349(0x1bb)],_0x2c986e=new _0x12201e(this[_0xb7c349(0x1bb)][_0xb7c349(0x1eb)],this[_0xb7c349(0x1bb)][_0xb7c349(0x1bc)][_0xb7c349(0x219)](_0xb7c349(0x1bd))),_0x100611=this[_0xb7c349(0x1fc)];if(!_0xfb4aa4(_0x591d2c[_0xb7c349(0x1bc)][_0xb7c349(0x219)](_0xb7c349(0x218))))throw new _0x43ae44(_0xb7c349(0x1e9),this);return _0x2c986e[_0xb7c349(0x1f3)][_0xb7c349(0x1b8)](_0xb7c349(0x1bf))['to'](this),_0x2c986e[_0xb7c349(0x1b8)](_0xb7c349(0x1ec))['to'](this,_0xb7c349(0x1bf),_0x19c42e=>{const _0x52aec9=_0xb7c349,{collapseAt:_0x299f49}=_0x591d2c[_0x52aec9(0x1bc)][_0x52aec9(0x219)](_0x52aec9(0x1c8)),_0x469ddd=_0x19c42e>=_0x299f49;if(_0x469ddd&&!_0x2c986e[_0x52aec9(0x1cf)][_0x52aec9(0x21c)][_0x52aec9(0x1b7)](_0x401193=>_0x401193 instanceof _0x4750bc)){const _0x99d3de=this[_0x52aec9(0x1bb)][_0x52aec9(0x1bc)][_0x52aec9(0x219)](_0x52aec9(0x1bd))-0x1;this[_0x52aec9(0x21a)][_0x52aec9(0x206)]==_0x99d3de&&this[_0x52aec9(0x21a)][_0x52aec9(0x206)]>0x1&&this[_0x52aec9(0x21a)][_0x52aec9(0x203)](this[_0x52aec9(0x21a)][_0x52aec9(0x206)]-0x1),_0x2c986e[_0x52aec9(0x1cf)][_0x52aec9(0x21c)][_0x52aec9(0x1ea)](_0x2c986e[_0x52aec9(0x1f3)]);}return _0x469ddd||this[_0x52aec9(0x1f9)](),_0x469ddd;}),_0x2c986e[_0xb7c349(0x1cf)][_0xb7c349(0x21c)][_0xb7c349(0x1c3)](this[_0xb7c349(0x21a)])[_0xb7c349(0x209)](_0x216a29=>{const _0x3caada=_0xb7c349,_0x3313ba=_0x591d2c[_0x3caada(0x1bc)][_0x3caada(0x219)](_0x3caada(0x1c8)),_0x316867=new _0x4bfddd(_0x591d2c[_0x3caada(0x1eb)],_0x216a29,!!_0x3313ba[_0x3caada(0x21b)]);return _0x316867[_0x3caada(0x1b8)](_0x3caada(0x20d))['to'](_0x2c986e,_0x3caada(0x1ec),_0x43374a=>!_0x43374a),_0x316867[_0x3caada(0x1b8)](_0x3caada(0x1df))['to'](_0x2c986e,_0x3caada(0x1ec),_0x3943eb=>!_0x3943eb),_0x3313ba[_0x3caada(0x21b)]&&this[_0x3caada(0x1e7)](_0x316867,_0x3caada(0x1fd),()=>{const _0x54f7fa=_0x3caada;this[_0x54f7fa(0x1b2)][_0x54f7fa(0x1ec)]||_0x3313ba[_0x54f7fa(0x21b)](_0x216a29,_0x316867[_0x54f7fa(0x1ed)]);}),_0x316867;}),this[_0xb7c349(0x1e7)](_0x2c986e[_0xb7c349(0x1cf)],_0xb7c349(0x1d7),()=>{const _0x2cb613=_0xb7c349;this[_0x2cb613(0x1b2)][_0x2cb613(0x1ec)]&&this[_0x2cb613(0x1b5)]();}),this[_0xb7c349(0x1e7)](_0x2c986e[_0xb7c349(0x1cf)],_0xb7c349(0x1f8),()=>{const _0x50f4ec=_0xb7c349;this[_0x50f4ec(0x214)]&&this[_0x50f4ec(0x1f9)]();}),_0x2c986e[_0xb7c349(0x1cf)][_0xb7c349(0x1d3)][_0xb7c349(0x1cb)](_0xb7c349(0x1e1),(_0x128847,_0x3a3583)=>{const _0x4d94b7=_0xb7c349;this[_0x4d94b7(0x1b2)][_0x4d94b7(0x1ec)]&&(this[_0x4d94b7(0x1b5)](),_0x3a3583());}),_0x2c986e[_0xb7c349(0x1d2)](),_0x100611[_0xb7c349(0x1d2)](),_0x196dab({'emitter':_0x2c986e,'activator':()=>_0x100611[_0xb7c349(0x1f6)],'contextElements':[_0x100611[_0xb7c349(0x1ed)],_0x2c986e[_0xb7c349(0x1cf)][_0xb7c349(0x1ed)]],'callback':()=>this[_0xb7c349(0x1f9)]()}),_0x591d2c[_0xb7c349(0x1bc)][_0xb7c349(0x219)](_0xb7c349(0x218))[_0xb7c349(0x201)](_0x2c986e[_0xb7c349(0x1ed)]),this[_0xb7c349(0x213)]=new _0x4a5dfd(this[_0xb7c349(0x1bb)][_0xb7c349(0x1eb)]),this[_0xb7c349(0x213)][_0xb7c349(0x1d8)](),this[_0xb7c349(0x213)][_0xb7c349(0x1ea)](this[_0xb7c349(0x1fc)]),_0x2c986e;}[_0x569e40(0x1d1)](_0x18fa04){const _0x2c377c=_0x569e40;if(!this[_0x2c377c(0x1bb)][_0x2c377c(0x1bc)][_0x2c377c(0x219)](_0x2c377c(0x1dc))&&_0x18fa04[_0x2c377c(0x1f1)])return;const _0x4f7227=this[_0x2c377c(0x1bb)][_0x2c377c(0x1bc)][_0x2c377c(0x219)](_0x2c377c(0x1bd))-0x1;for(this[_0x2c377c(0x1bf)]++;this[_0x2c377c(0x21a)][_0x2c377c(0x206)]>=_0x4f7227-(this[_0x2c377c(0x1b2)][_0x2c377c(0x1ec)]?0x1:0x0)&&this[_0x2c377c(0x21a)][_0x2c377c(0x206)]>0x1;)this[_0x2c377c(0x21a)][_0x2c377c(0x203)](0x1);const _0x3d5232=_0x18fa04[_0x2c377c(0x1f1)]?0x0:this[_0x2c377c(0x21a)][_0x2c377c(0x206)];this[_0x2c377c(0x21a)][_0x2c377c(0x1ea)](_0x18fa04,_0x3d5232);}[_0x569e40(0x216)](_0x1941f9){const _0x28b9c6=_0x569e40;this[_0x28b9c6(0x1bf)]--;const {collapseAt:_0x177fd3}=this[_0x28b9c6(0x1bb)][_0x28b9c6(0x1bc)][_0x28b9c6(0x219)](_0x28b9c6(0x1c8)),_0x52a809=this[_0x28b9c6(0x1bf)]>=_0x177fd3;if(this[_0x28b9c6(0x21a)][_0x28b9c6(0x219)](_0x1941f9['id']))this[_0x28b9c6(0x21a)][_0x28b9c6(0x203)](_0x1941f9['id']);else{if(_0x52a809&&this[_0x28b9c6(0x21a)][_0x28b9c6(0x206)]+0x1===_0x177fd3-0x1)return;}if(this[_0x28b9c6(0x21a)][_0x28b9c6(0x206)]+(_0x52a809?0x1:0x0)<this[_0x28b9c6(0x1bf)]){for(const _0x5cd7e7 of Array[_0x28b9c6(0x205)](this[_0x28b9c6(0x1d4)])[_0x28b9c6(0x1d6)]())if(!this[_0x28b9c6(0x21a)][_0x28b9c6(0x219)](_0x5cd7e7['id'])&&(this[_0x28b9c6(0x21a)][_0x28b9c6(0x1ea)](_0x5cd7e7,Math[_0x28b9c6(0x1f2)](this[_0x28b9c6(0x21a)][_0x28b9c6(0x206)]-(_0x52a809?0x1:0x0),0x1)),this[_0x28b9c6(0x21a)][_0x28b9c6(0x206)]+(_0x52a809?0x1:0x0)===_0x177fd3-0x1))return;}}[_0x569e40(0x1b5)](){const _0x591c40=_0x569e40;if(this[_0x591c40(0x214)])return;const _0x2f3c8f=this[_0x591c40(0x1bb)][_0x591c40(0x1bc)][_0x591c40(0x219)](_0x591c40(0x1c8));this[_0x591c40(0x214)]=new _0x5e5930(this[_0x591c40(0x1bb)][_0x591c40(0x1eb)],!!_0x2f3c8f[_0x591c40(0x21b)]),this[_0x591c40(0x1b2)][_0x591c40(0x1cf)][_0x591c40(0x1da)]=!0x0,this[_0x591c40(0x1e7)](this[_0x591c40(0x214)],_0x591c40(0x1f8),()=>{const _0x74c8e9=_0x591c40;this[_0x74c8e9(0x214)]&&this[_0x74c8e9(0x1f9)]();});const {listWrapperView:_0x20de58}=this[_0x591c40(0x214)];_0x20de58[_0x591c40(0x21c)][_0x591c40(0x1c3)](this[_0x591c40(0x1d4)])[_0x591c40(0x209)](_0x146326=>{const _0xff2c19=_0x591c40;if(!_0x2f3c8f[_0xff2c19(0x1ff)]&&_0x146326[_0xff2c19(0x1f1)])return null;const _0x2b8414=new _0x48b71e(this[_0xff2c19(0x1bb)][_0xff2c19(0x1eb)],_0x146326,!!_0x2f3c8f[_0xff2c19(0x21b)]);return _0x2f3c8f[_0xff2c19(0x21b)]&&this[_0xff2c19(0x1e7)](_0x2b8414,_0xff2c19(0x1fd),()=>{const _0x51a80a=_0xff2c19;_0x2f3c8f[_0x51a80a(0x21b)](_0x146326,_0x2b8414[_0x51a80a(0x1ed)]);}),_0x2b8414;}),this[_0x591c40(0x1fc)][_0x591c40(0x1d0)][_0x591c40(0x1ea)](this[_0x591c40(0x214)]),this[_0x591c40(0x1fc)][_0x591c40(0x208)]({'target':this[_0x591c40(0x1b2)][_0x591c40(0x1cf)][_0x591c40(0x1ed)]}),_0x20de58[_0x591c40(0x1e8)](),_0x20de58[_0x591c40(0x1e6)]();const _0x490d7a=(_0x5ed753,_0x157aac)=>{const _0x3ba595=_0x591c40;this[_0x3ba595(0x1f9)](),this[_0x3ba595(0x1b2)][_0x3ba595(0x1cf)][_0x3ba595(0x1e8)](),_0x157aac();};_0x20de58[_0x591c40(0x1d3)][_0x591c40(0x1cb)](_0x591c40(0x1e3),_0x490d7a),_0x20de58[_0x591c40(0x1d3)][_0x591c40(0x1cb)](_0x591c40(0x207),_0x490d7a),_0x20de58[_0x591c40(0x1d3)][_0x591c40(0x1cb)](_0x591c40(0x217),(_0x5db36e,_0x28fc87)=>{const _0x577580=_0x591c40;!function(_0x555cf4){const _0x18a571=_0x46fe,_0x1ef808=['a',_0x18a571(0x1de),_0x18a571(0x1b6),_0x18a571(0x1cc),_0x18a571(0x1c5),_0x18a571(0x1db),_0x18a571(0x1dd)][_0x18a571(0x1f0)](_0x1afcb5=>_0x1afcb5+_0x18a571(0x20b))[_0x18a571(0x1f5)](','),_0x150346=[...document[_0x18a571(0x1fe)][_0x18a571(0x1be)](_0x1ef808)][_0x18a571(0x1fb)](_0x4aff12=>_0x4aff12===document[_0x18a571(0x204)]||_0x4aff12[_0x18a571(0x1e2)]+_0x4aff12[_0x18a571(0x1d9)]>0x0)[_0x18a571(0x1ce)]((_0x47eb4a,_0x2fde19)=>(_0x47eb4a[_0x18a571(0x210)]||0x0)-(_0x2fde19[_0x18a571(0x210)]||0x0)),_0x4e97f8=_0x150346[_0x18a571(0x1c2)](_0x555cf4),_0x1b3107=_0x150346[(_0x4e97f8+0x1)%_0x150346[_0x18a571(0x206)]];_0x1b3107&&_0x1b3107[_0x18a571(0x1e8)]();}(this[_0x577580(0x1b2)][_0x577580(0x1ed)]),this[_0x577580(0x1f9)](),_0x28fc87();}),_0x20de58[_0x591c40(0x200)][_0x591c40(0x1ea)](this[_0x591c40(0x1b2)][_0x591c40(0x1ed)]),_0x20de58[_0x591c40(0x200)]['on'](_0x591c40(0x1c6),(_0x2a37e8,_0x4b30ad,_0x4631aa)=>{const _0x5207d0=_0x591c40;_0x4631aa||this[_0x5207d0(0x1f9)]();});}[_0x569e40(0x1f9)](){const _0x1a0449=_0x569e40;this[_0x1a0449(0x214)]&&(this[_0x1a0449(0x1b2)][_0x1a0449(0x1cf)][_0x1a0449(0x1da)]=!0x1,this[_0x1a0449(0x1fc)][_0x1a0449(0x1f4)](),this[_0x1a0449(0x1fc)][_0x1a0449(0x1d0)][_0x1a0449(0x203)](this[_0x1a0449(0x214)]),this[_0x1a0449(0x214)][_0x1a0449(0x202)](),this[_0x1a0449(0x214)]=void 0x0);}[_0x569e40(0x202)](){const _0x4ea562=_0x569e40;super[_0x4ea562(0x202)](),this[_0x4ea562(0x1b2)]&&this[_0x4ea562(0x1b2)][_0x4ea562(0x20a)]&&this[_0x4ea562(0x1b2)][_0x4ea562(0x202)](),this[_0x4ea562(0x213)]&&(this[_0x4ea562(0x213)][_0x4ea562(0x1f7)](),this[_0x4ea562(0x213)][_0x4ea562(0x202)](),this[_0x4ea562(0x213)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5747(){const _0x100101=['1368600WPxqZP','bindTemplate','87ulyUzi','fire','55BYwtMr','ck-user__full-name','getBackgroundColorClass','tag','userView','span','ck-presence-list__marker','execute','button','element','2sBjnBc','74236WDeygw','presentation','focus','color','3154900kqrstN','true','700058dEuVjA','685Nkibrz','4101840SurFoN','787188wttYRQ','31908Xdigek','setTemplate','ck-presence-list__dropdown-list-item','9FbwPWl','name'];_0x5747=function(){return _0x100101;};return _0x5747();}function _0x1ed6(_0x5e20e0,_0x2c65c1){const _0x5747fa=_0x5747();return _0x1ed6=function(_0x1ed6ff,_0x69b747){_0x1ed6ff=_0x1ed6ff-0x182;let _0x3e5396=_0x5747fa[_0x1ed6ff];return _0x3e5396;},_0x1ed6(_0x5e20e0,_0x2c65c1);}const _0x678a6b=_0x1ed6;(function(_0x34edc8,_0xe696b4){const _0xcfaa75=_0x1ed6,_0x51eccd=_0x34edc8();while(!![]){try{const _0x2c3166=-parseInt(_0xcfaa75(0x19a))/0x1*(parseInt(_0xcfaa75(0x183))/0x2)+-parseInt(_0xcfaa75(0x18e))/0x3*(-parseInt(_0xcfaa75(0x19b))/0x4)+parseInt(_0xcfaa75(0x184))/0x5*(parseInt(_0xcfaa75(0x187))/0x6)+-parseInt(_0xcfaa75(0x19f))/0x7+parseInt(_0xcfaa75(0x18c))/0x8*(parseInt(_0xcfaa75(0x18a))/0x9)+parseInt(_0xcfaa75(0x185))/0xa+-parseInt(_0xcfaa75(0x190))/0xb*(parseInt(_0xcfaa75(0x186))/0xc);if(_0x2c3166===_0xe696b4)break;else _0x51eccd['push'](_0x51eccd['shift']());}catch(_0xb59299){_0x51eccd['push'](_0x51eccd['shift']());}}}(_0x5747,0x5a283));import{ListItemView as _0x3e30c3}from'ckeditor5/src/ui.js';import{UserView as _0x101299}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x3e30c3{[_0x678a6b(0x194)];constructor(_0xa2d297,_0x5d3357,_0x2b9b7c){const _0x396fbd=_0x678a6b;super(_0xa2d297);const _0x30a4ff=this[_0x396fbd(0x18d)];this[_0x396fbd(0x194)]=new _0x101299(_0xa2d297,_0x5d3357);const _0x514cda={'tag':'li','attributes':{'class':['ck',_0x396fbd(0x189)],'tabindex':-0x1,'role':_0x396fbd(0x19c),'aria-label':_0x5d3357[_0x396fbd(0x18b)]},'children':[this[_0x396fbd(0x194)],{'tag':_0x396fbd(0x195),'attributes':{'class':['ck',_0x396fbd(0x191)]},'children':[{'text':_0x5d3357[_0x396fbd(0x18b)]}]},{'tag':_0x396fbd(0x195),'attributes':{'class':['ck',_0x396fbd(0x196),_0x5d3357[_0x396fbd(0x19e)][_0x396fbd(0x192)]()],'aria-hidden':_0x396fbd(0x182)}}]};_0x2b9b7c&&(_0x514cda[_0x396fbd(0x193)]=_0x396fbd(0x198),_0x514cda['on']={'click':_0x30a4ff['to'](()=>this[_0x396fbd(0x18f)](_0x396fbd(0x197)))}),this[_0x396fbd(0x188)](_0x514cda);}[_0x678a6b(0x19d)](){const _0x130028=_0x678a6b;this[_0x130028(0x199)][_0x130028(0x19d)]();}}
23
+ const _0xf3e479=_0x3816;(function(_0x46d702,_0x46c64c){const _0x4ba4ef=_0x3816,_0x46e692=_0x46d702();while(!![]){try{const _0x3b6164=parseInt(_0x4ba4ef(0x80))/0x1*(-parseInt(_0x4ba4ef(0x95))/0x2)+parseInt(_0x4ba4ef(0x89))/0x3*(parseInt(_0x4ba4ef(0x8e))/0x4)+-parseInt(_0x4ba4ef(0x96))/0x5*(parseInt(_0x4ba4ef(0x88))/0x6)+parseInt(_0x4ba4ef(0x85))/0x7*(parseInt(_0x4ba4ef(0x9b))/0x8)+parseInt(_0x4ba4ef(0x9a))/0x9+parseInt(_0x4ba4ef(0x87))/0xa*(-parseInt(_0x4ba4ef(0x99))/0xb)+-parseInt(_0x4ba4ef(0x8f))/0xc*(parseInt(_0x4ba4ef(0x81))/0xd);if(_0x3b6164===_0x46c64c)break;else _0x46e692['push'](_0x46e692['shift']());}catch(_0x357e0e){_0x46e692['push'](_0x46e692['shift']());}}}(_0x578d,0xf1b23));function _0x3816(_0x35fcfa,_0x3371ee){const _0x578d21=_0x578d();return _0x3816=function(_0x38165c,_0x3710bc){_0x38165c=_0x38165c-0x7e;let _0x50b57c=_0x578d21[_0x38165c];return _0x50b57c;},_0x3816(_0x35fcfa,_0x3371ee);}function _0x578d(){const _0x69ce09=['2631321xkHMGl','233560rBzQBG','bindTemplate','color','button','1tKbDwg','12213539EAdCVJ','name','ck-presence-list__marker','fire','399agZTas','ck-user__full-name','1168780VXosQd','771306mtekVq','3TaRGLN','tag','element','focus','span','7218196Adxbgc','12BxjSKu','userView','setTemplate','ck-presence-list__dropdown-list-item','presentation','true','227080pQNYan','35APUBaL','execute','getBackgroundColorClass','77mGhsoK'];_0x578d=function(){return _0x69ce09;};return _0x578d();}import{ListItemView as _0x53b317}from'ckeditor5/src/ui.js';import{UserView as _0x4844dd}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x53b317{[_0xf3e479(0x90)];constructor(_0x2c4c72,_0x2b28dd,_0xd386ae){const _0x353ef2=_0xf3e479;super(_0x2c4c72);const _0x4d0650=this[_0x353ef2(0x9c)];this[_0x353ef2(0x90)]=new _0x4844dd(_0x2c4c72,_0x2b28dd);const _0x51797b={'tag':'li','attributes':{'class':['ck',_0x353ef2(0x92)],'tabindex':-0x1,'role':_0x353ef2(0x93),'aria-label':_0x2b28dd[_0x353ef2(0x82)]},'children':[this[_0x353ef2(0x90)],{'tag':_0x353ef2(0x8d),'attributes':{'class':['ck',_0x353ef2(0x86)]},'children':[{'text':_0x2b28dd[_0x353ef2(0x82)]}]},{'tag':_0x353ef2(0x8d),'attributes':{'class':['ck',_0x353ef2(0x83),_0x2b28dd[_0x353ef2(0x7e)][_0x353ef2(0x98)]()],'aria-hidden':_0x353ef2(0x94)}}]};_0xd386ae&&(_0x51797b[_0x353ef2(0x8a)]=_0x353ef2(0x7f),_0x51797b['on']={'click':_0x4d0650['to'](()=>this[_0x353ef2(0x84)](_0x353ef2(0x97)))}),this[_0x353ef2(0x91)](_0x51797b);}[_0xf3e479(0x8c)](){const _0x221e9d=_0xf3e479;this[_0x221e9d(0x8b)][_0x221e9d(0x8c)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3c0235=_0x204d;(function(_0x35711f,_0xde2031){const _0x394efa=_0x204d,_0x19b007=_0x35711f();while(!![]){try{const _0x120c05=-parseInt(_0x394efa(0x1ae))/0x1*(parseInt(_0x394efa(0x1c2))/0x2)+-parseInt(_0x394efa(0x1d3))/0x3+parseInt(_0x394efa(0x1d5))/0x4*(-parseInt(_0x394efa(0x1be))/0x5)+-parseInt(_0x394efa(0x1b3))/0x6*(parseInt(_0x394efa(0x1b2))/0x7)+-parseInt(_0x394efa(0x1d0))/0x8*(parseInt(_0x394efa(0x1c3))/0x9)+-parseInt(_0x394efa(0x1d7))/0xa*(-parseInt(_0x394efa(0x1c6))/0xb)+parseInt(_0x394efa(0x1b1))/0xc;if(_0x120c05===_0xde2031)break;else _0x19b007['push'](_0x19b007['shift']());}catch(_0x390aa8){_0x19b007['push'](_0x19b007['shift']());}}}(_0x1650,0x19c58));function _0x204d(_0x5467f2,_0x1268d8){const _0x16502d=_0x1650();return _0x204d=function(_0x204d36,_0x4a6712){_0x204d36=_0x204d36-0x1ac;let _0x3f6489=_0x16502d[_0x204d36];return _0x3f6489;},_0x204d(_0x5467f2,_0x1268d8);}import{ListView as _0x1781df,View as _0x33f0c2}from'ckeditor5/src/ui.js';function _0x1650(){const _0x3d2af3=['scrollHeight','_isScrollable','querySelector','ck-presence-list__dropdown-list-wrapper_scrollable','365kJMJVq','application','items','set','2wCgMOr','7209bECSBl','ariaLabelledBy','setTemplate','90607ZbAwrN','listenTo','ck-presence-list__dropdown-list-wrapper','clientHeight','ariaLabel','div','window','.ck-presence-list__list','fire','listWrapperView','1552PYNlKV','contains','Connected\x20users\x20list\x20dropdown\x20menu','174645dlpxtT','render','6944tWHzih','element','170HLQFVO','presencelist:hide','ck-list','innerHeight','resize','max','153043fYJJtf','checkIfScrollable','role','5853144wlnoyo','7ztmsyY','173106uWurtF','.ck-balloon-panel_with-arrow','ck-reset','relatedTarget','bindTemplate','ck-presence-list__dropdown-list','change'];_0x1650=function(){return _0x3d2af3;};return _0x1650();}import{global as _0x22dd05}from'ckeditor5/src/utils.js';import{getTranslation as _0x5d4403}from'../../common-translations.js';export class PresenceDropdownListView extends _0x33f0c2{[_0x3c0235(0x1cf)];constructor(_0x197bab,_0x3c23da){const _0x5f2ee0=_0x3c0235;super(_0x197bab);const _0x113907=this[_0x5f2ee0(0x1b7)];this[_0x5f2ee0(0x1cf)]=new PresenceDropdownListWrapperView(_0x197bab,_0x3c23da),this[_0x5f2ee0(0x1c5)]({'tag':_0x5f2ee0(0x1cb),'attributes':{'tabindex':-0x1,'role':_0x5f2ee0(0x1bf),'class':['ck',_0x5f2ee0(0x1b8)],'aria-label':_0x5d4403(_0x197bab,_0x5f2ee0(0x1d2))},'children':[this[_0x5f2ee0(0x1cf)]],'on':{'mouseleave':_0x113907['to'](_0x50b9cb=>{const _0x7e102=_0x5f2ee0,_0x1e564e=_0x50b9cb,_0x5e79ab=document[_0x7e102(0x1bc)](_0x7e102(0x1cd)),_0x273d33=document[_0x7e102(0x1bc)](_0x7e102(0x1b4));_0x5e79ab?.[_0x7e102(0x1d1)](_0x1e564e[_0x7e102(0x1b6)])||_0x273d33?.[_0x7e102(0x1d1)](_0x1e564e[_0x7e102(0x1b6)])||this[_0x7e102(0x1ce)](_0x7e102(0x1d8));})}});}}export class PresenceDropdownListWrapperView extends _0x1781df{constructor(_0x27493c,_0x925480){const _0x42ae1c=_0x3c0235;super(_0x27493c);const _0x6c89d2=this[_0x42ae1c(0x1b7)];this[_0x42ae1c(0x1c1)](_0x42ae1c(0x1bb),!0x1),this[_0x42ae1c(0x1c5)]({'tag':_0x925480?_0x42ae1c(0x1cb):'ul','attributes':{'class':['ck',_0x42ae1c(0x1b5),_0x42ae1c(0x1d9),_0x42ae1c(0x1c8),_0x6c89d2['if'](_0x42ae1c(0x1bb),_0x42ae1c(0x1bd))],'role':_0x6c89d2['to'](_0x42ae1c(0x1b0)),'aria-label':_0x6c89d2['to'](_0x42ae1c(0x1ca)),'aria-labelledby':_0x6c89d2['to'](_0x42ae1c(0x1c4))},'children':this[_0x42ae1c(0x1c0)]}),this[_0x42ae1c(0x1c7)](_0x22dd05[_0x42ae1c(0x1cc)],_0x42ae1c(0x1ac),()=>this[_0x42ae1c(0x1af)]()),this[_0x42ae1c(0x1c0)]['on'](_0x42ae1c(0x1b9),()=>this[_0x42ae1c(0x1af)]());}[_0x3c0235(0x1d4)](){const _0x240593=_0x3c0235;super[_0x240593(0x1d4)](),this[_0x240593(0x1af)]();}[_0x3c0235(0x1af)](){const _0x25827e=_0x3c0235,_0x28b3c8=this[_0x25827e(0x1d6)];_0x28b3c8&&(this[_0x25827e(0x1bb)]=Math[_0x25827e(0x1ad)](_0x28b3c8[_0x25827e(0x1ba)],_0x28b3c8[_0x25827e(0x1c9)])>0.8*window[_0x25827e(0x1da)]);}}
23
+ const _0x58aa53=_0x46bf;(function(_0x58ea57,_0x592e8e){const _0x112bab=_0x46bf,_0x46e923=_0x58ea57();while(!![]){try{const _0x3febab=parseInt(_0x112bab(0x1bf))/0x1*(parseInt(_0x112bab(0x1a7))/0x2)+-parseInt(_0x112bab(0x1c8))/0x3+-parseInt(_0x112bab(0x1b8))/0x4+parseInt(_0x112bab(0x1b4))/0x5*(parseInt(_0x112bab(0x1a9))/0x6)+-parseInt(_0x112bab(0x1aa))/0x7*(-parseInt(_0x112bab(0x1a8))/0x8)+-parseInt(_0x112bab(0x1ca))/0x9+parseInt(_0x112bab(0x1a4))/0xa;if(_0x3febab===_0x592e8e)break;else _0x46e923['push'](_0x46e923['shift']());}catch(_0x5f3c60){_0x46e923['push'](_0x46e923['shift']());}}}(_0x3ecc,0x9522a));import{ListView as _0x37df64,View as _0x52581a}from'ckeditor5/src/ui.js';import{global as _0x1ba4d5}from'ckeditor5/src/utils.js';import{getTranslation as _0x416090}from'../../common-translations.js';function _0x3ecc(){const _0x3bfc49=['.ck-balloon-panel_with-arrow','ck-presence-list__dropdown-list','checkIfScrollable','relatedTarget','render','3188262cWIRlz','scrollHeight','5546070XGhaCK','listenTo','listWrapperView','_isScrollable','.ck-presence-list__list','items','clientHeight','14273970gjKzEP','ariaLabelledBy','ariaLabel','22FXczFc','72rZnEMA','7764QXiUbc','540099kPPCsq','fire','element','bindTemplate','max','presencelist:hide','role','Connected\x20users\x20list\x20dropdown\x20menu','contains','resize','775wbaBki','change','set','ck-presence-list__dropdown-list-wrapper_scrollable','1576520sPJBpr','ck-presence-list__dropdown-list-wrapper','setTemplate','application','div','window','ck-list','32872STvMJZ','querySelector','innerHeight','ck-reset'];_0x3ecc=function(){return _0x3bfc49;};return _0x3ecc();}function _0x46bf(_0x57205a,_0x133f56){const _0x3ecc32=_0x3ecc();return _0x46bf=function(_0x46bfaa,_0x1c15b4){_0x46bfaa=_0x46bfaa-0x1a1;let _0x53a7bb=_0x3ecc32[_0x46bfaa];return _0x53a7bb;},_0x46bf(_0x57205a,_0x133f56);}export class PresenceDropdownListView extends _0x52581a{[_0x58aa53(0x1cc)];constructor(_0x4d0408,_0x476b47){const _0x8898df=_0x58aa53;super(_0x4d0408);const _0xd8262d=this[_0x8898df(0x1ad)];this[_0x8898df(0x1cc)]=new PresenceDropdownListWrapperView(_0x4d0408,_0x476b47),this[_0x8898df(0x1ba)]({'tag':_0x8898df(0x1bc),'attributes':{'tabindex':-0x1,'role':_0x8898df(0x1bb),'class':['ck',_0x8898df(0x1c4)],'aria-label':_0x416090(_0x4d0408,_0x8898df(0x1b1))},'children':[this[_0x8898df(0x1cc)]],'on':{'mouseleave':_0xd8262d['to'](_0x3f4ac0=>{const _0x5e3b15=_0x8898df,_0x3e2d3a=_0x3f4ac0,_0x433199=document[_0x5e3b15(0x1c0)](_0x5e3b15(0x1a1)),_0x50d20f=document[_0x5e3b15(0x1c0)](_0x5e3b15(0x1c3));_0x433199?.[_0x5e3b15(0x1b2)](_0x3e2d3a[_0x5e3b15(0x1c6)])||_0x50d20f?.[_0x5e3b15(0x1b2)](_0x3e2d3a[_0x5e3b15(0x1c6)])||this[_0x5e3b15(0x1ab)](_0x5e3b15(0x1af));})}});}}export class PresenceDropdownListWrapperView extends _0x37df64{constructor(_0x280bb0,_0x40e4b9){const _0xfc7f4=_0x58aa53;super(_0x280bb0);const _0x432144=this[_0xfc7f4(0x1ad)];this[_0xfc7f4(0x1b6)](_0xfc7f4(0x1cd),!0x1),this[_0xfc7f4(0x1ba)]({'tag':_0x40e4b9?_0xfc7f4(0x1bc):'ul','attributes':{'class':['ck',_0xfc7f4(0x1c2),_0xfc7f4(0x1be),_0xfc7f4(0x1b9),_0x432144['if'](_0xfc7f4(0x1cd),_0xfc7f4(0x1b7))],'role':_0x432144['to'](_0xfc7f4(0x1b0)),'aria-label':_0x432144['to'](_0xfc7f4(0x1a6)),'aria-labelledby':_0x432144['to'](_0xfc7f4(0x1a5))},'children':this[_0xfc7f4(0x1a2)]}),this[_0xfc7f4(0x1cb)](_0x1ba4d5[_0xfc7f4(0x1bd)],_0xfc7f4(0x1b3),()=>this[_0xfc7f4(0x1c5)]()),this[_0xfc7f4(0x1a2)]['on'](_0xfc7f4(0x1b5),()=>this[_0xfc7f4(0x1c5)]());}[_0x58aa53(0x1c7)](){const _0x157b0e=_0x58aa53;super[_0x157b0e(0x1c7)](),this[_0x157b0e(0x1c5)]();}[_0x58aa53(0x1c5)](){const _0x238d7c=_0x58aa53,_0xb5c5e9=this[_0x238d7c(0x1ac)];_0xb5c5e9&&(this[_0x238d7c(0x1cd)]=Math[_0x238d7c(0x1ae)](_0xb5c5e9[_0x238d7c(0x1c9)],_0xb5c5e9[_0x238d7c(0x1a3)])>0.8*window[_0x238d7c(0x1c1)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xae261b=_0x31c4;(function(_0x5cf83b,_0x2761c9){const _0x3bbf68=_0x31c4,_0x53acb5=_0x5cf83b();while(!![]){try{const _0xe0c6d2=-parseInt(_0x3bbf68(0x1d1))/0x1+-parseInt(_0x3bbf68(0x1e4))/0x2*(-parseInt(_0x3bbf68(0x1c4))/0x3)+-parseInt(_0x3bbf68(0x1e1))/0x4*(parseInt(_0x3bbf68(0x1db))/0x5)+parseInt(_0x3bbf68(0x1ce))/0x6*(parseInt(_0x3bbf68(0x1df))/0x7)+-parseInt(_0x3bbf68(0x1de))/0x8+parseInt(_0x3bbf68(0x1c6))/0x9*(parseInt(_0x3bbf68(0x1e3))/0xa)+parseInt(_0x3bbf68(0x1da))/0xb;if(_0xe0c6d2===_0x2761c9)break;else _0x53acb5['push'](_0x53acb5['shift']());}catch(_0x2881a9){_0x53acb5['push'](_0x53acb5['shift']());}}}(_0x3429,0x846e3));import{LabelView as _0xe9aee6,View as _0x204a99}from'ckeditor5/src/ui.js';function _0x31c4(_0x1fcb1b,_0x35ee65){const _0x3429a8=_0x3429();return _0x31c4=function(_0x31c4c9,_0x453de3){_0x31c4c9=_0x31c4c9-0x1c4;let _0x4d60d4=_0x3429a8[_0x31c4c9];return _0x4d60d4;},_0x31c4(_0x1fcb1b,_0x35ee65);}import{UserView as _0x3e58a9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3429(){const _0x3d316f=['ck-presence-list__marker','span','isFocusable','fire','setTemplate','markerView','true','48VENZgg','hasTooltip','bindTemplate','677719aHyPQw','name','set','ck-presence-list__list-item__tooltip','tag','ck-presence-list__list-item','tooltipPosition','color','button','7467691Mrvhwg','146270LKpnWo','getBackgroundColorClass','text','3272632GpPrMO','487690JnYpxu','userView','52hQCsnP','execute','40TLosAt','11148TUtXDV','div','template','393wFztJR','listitem','96975fmkpcm'];_0x3429=function(){return _0x3d316f;};return _0x3429();}export class PresenceInlineListItemView extends _0x204a99{[_0xae261b(0x1e0)];[_0xae261b(0x1cc)];constructor(_0x2c3ea2,_0x23f64c,_0x4ff160){const _0x58c1bc=_0xae261b;super(_0x2c3ea2);const _0x338828=this[_0x58c1bc(0x1d0)];this[_0x58c1bc(0x1d3)](_0x58c1bc(0x1c9),!0x1),this[_0x58c1bc(0x1d3)](_0x58c1bc(0x1cf),!0x0),this[_0x58c1bc(0x1d3)](_0x58c1bc(0x1d7),''),this[_0x58c1bc(0x1e0)]=new _0x3e58a9(_0x2c3ea2,_0x23f64c),this[_0x58c1bc(0x1cc)]=new lt(_0x2c3ea2,_0x23f64c);const _0x3a0f03=new _0xe9aee6(_0x2c3ea2);_0x3a0f03[_0x58c1bc(0x1e6)][_0x58c1bc(0x1d5)]=_0x58c1bc(0x1c8),_0x3a0f03[_0x58c1bc(0x1dd)]=_0x23f64c[_0x58c1bc(0x1d2)];const _0x54a5ce={'tag':_0x58c1bc(0x1e5),'attributes':{'class':['ck',_0x58c1bc(0x1d6)],'role':_0x58c1bc(0x1c5),'tabindex':_0x338828['to'](_0x58c1bc(0x1c9),_0x1cd97d=>!!_0x1cd97d&&0x0),'aria-labelledby':_0x3a0f03['id'],'data-cke-tooltip-text':this[_0x58c1bc(0x1e0)][_0x58c1bc(0x1d2)],'data-cke-tooltip-position':_0x338828['to'](_0x58c1bc(0x1d7)),'data-cke-tooltip-disabled':_0x338828['to'](_0x58c1bc(0x1cf),_0x5244d9=>!_0x5244d9),'data-cke-tooltip-class':_0x58c1bc(0x1d4)},'children':[this[_0x58c1bc(0x1e0)],this[_0x58c1bc(0x1cc)],_0x3a0f03]};_0x4ff160&&(_0x54a5ce[_0x58c1bc(0x1d5)]=_0x58c1bc(0x1d9),_0x54a5ce['on']={'click':_0x338828['to'](()=>this[_0x58c1bc(0x1ca)](_0x58c1bc(0x1e2)))}),this[_0x58c1bc(0x1cb)](_0x54a5ce);}}class lt extends _0x204a99{constructor(_0x3fe3f0,_0x106268){const _0x5a1ca1=_0xae261b;super(_0x3fe3f0),this[_0x5a1ca1(0x1cb)]({'tag':_0x5a1ca1(0x1c8),'attributes':{'class':['ck',_0x5a1ca1(0x1c7),_0x106268[_0x5a1ca1(0x1d8)][_0x5a1ca1(0x1dc)]()],'aria-hidden':_0x5a1ca1(0x1cd)}});}}
23
+ function _0x4786(){const _0x1ba1e4=['div','button','ck-presence-list__list-item__tooltip','userView','1268ahSnPz','172167ckNlPg','2499JtgNaq','1TpmYiX','getBackgroundColorClass','execute','markerView','4377210nZwjwp','bindTemplate','true','2912024fJcqBc','fire','tooltipPosition','188622jHFjYx','listitem','isFocusable','template','ck-presence-list__marker','hasTooltip','tag','span','text','color','11910SwczJf','setTemplate','3415bwMCfR','ck-presence-list__list-item','set','500986VkTFIh','name'];_0x4786=function(){return _0x1ba1e4;};return _0x4786();}const _0x21e8aa=_0x454e;(function(_0x3c1ee7,_0x4ab7eb){const _0x449106=_0x454e,_0xb9376b=_0x3c1ee7();while(!![]){try{const _0x2b125c=-parseInt(_0x449106(0x15d))/0x1*(-parseInt(_0x449106(0x154))/0x2)+-parseInt(_0x449106(0x15b))/0x3+parseInt(_0x449106(0x15a))/0x4*(parseInt(_0x449106(0x151))/0x5)+-parseInt(_0x449106(0x14f))/0x6*(parseInt(_0x449106(0x15c))/0x7)+parseInt(_0x449106(0x164))/0x8+-parseInt(_0x449106(0x167))/0x9+parseInt(_0x449106(0x161))/0xa;if(_0x2b125c===_0x4ab7eb)break;else _0xb9376b['push'](_0xb9376b['shift']());}catch(_0x3f4ffd){_0xb9376b['push'](_0xb9376b['shift']());}}}(_0x4786,0x759c8));import{LabelView as _0xbfd45f,View as _0xe36048}from'ckeditor5/src/ui.js';import{UserView as _0x9ddd15}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0xe36048{[_0x21e8aa(0x159)];[_0x21e8aa(0x160)];constructor(_0x59cccd,_0x14bba3,_0x5996ad){const _0x3153be=_0x21e8aa;super(_0x59cccd);const _0x3a1300=this[_0x3153be(0x162)];this[_0x3153be(0x153)](_0x3153be(0x169),!0x1),this[_0x3153be(0x153)](_0x3153be(0x14a),!0x0),this[_0x3153be(0x153)](_0x3153be(0x166),''),this[_0x3153be(0x159)]=new _0x9ddd15(_0x59cccd,_0x14bba3),this[_0x3153be(0x160)]=new ot(_0x59cccd,_0x14bba3);const _0x522bd7=new _0xbfd45f(_0x59cccd);_0x522bd7[_0x3153be(0x16a)][_0x3153be(0x14b)]=_0x3153be(0x14c),_0x522bd7[_0x3153be(0x14d)]=_0x14bba3[_0x3153be(0x155)];const _0x4ed438={'tag':_0x3153be(0x156),'attributes':{'class':['ck',_0x3153be(0x152)],'role':_0x3153be(0x168),'tabindex':_0x3a1300['to'](_0x3153be(0x169),_0x3afdf0=>!!_0x3afdf0&&0x0),'aria-labelledby':_0x522bd7['id'],'data-cke-tooltip-text':this[_0x3153be(0x159)][_0x3153be(0x155)],'data-cke-tooltip-position':_0x3a1300['to'](_0x3153be(0x166)),'data-cke-tooltip-disabled':_0x3a1300['to'](_0x3153be(0x14a),_0x3c7c76=>!_0x3c7c76),'data-cke-tooltip-class':_0x3153be(0x158)},'children':[this[_0x3153be(0x159)],this[_0x3153be(0x160)],_0x522bd7]};_0x5996ad&&(_0x4ed438[_0x3153be(0x14b)]=_0x3153be(0x157),_0x4ed438['on']={'click':_0x3a1300['to'](()=>this[_0x3153be(0x165)](_0x3153be(0x15f)))}),this[_0x3153be(0x150)](_0x4ed438);}}function _0x454e(_0x44943b,_0x2511be){const _0x478617=_0x4786();return _0x454e=function(_0x454e12,_0x1737b4){_0x454e12=_0x454e12-0x149;let _0x319de2=_0x478617[_0x454e12];return _0x319de2;},_0x454e(_0x44943b,_0x2511be);}class ot extends _0xe36048{constructor(_0x2314c5,_0xfa9ba2){const _0x52c73a=_0x21e8aa;super(_0x2314c5),this[_0x52c73a(0x150)]({'tag':_0x52c73a(0x14c),'attributes':{'class':['ck',_0x52c73a(0x149),_0xfa9ba2[_0x52c73a(0x14e)][_0x52c73a(0x15e)]()],'aria-hidden':_0x52c73a(0x163)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e0270=_0x364e;(function(_0xec40ed,_0x17e1cb){const _0x35b344=_0x364e,_0x4b1200=_0xec40ed();while(!![]){try{const _0x578ff7=-parseInt(_0x35b344(0x1ba))/0x1+parseInt(_0x35b344(0x1b4))/0x2+-parseInt(_0x35b344(0x19d))/0x3*(parseInt(_0x35b344(0x1c1))/0x4)+-parseInt(_0x35b344(0x1a8))/0x5+-parseInt(_0x35b344(0x1be))/0x6*(-parseInt(_0x35b344(0x1bc))/0x7)+-parseInt(_0x35b344(0x1ae))/0x8+parseInt(_0x35b344(0x1b8))/0x9;if(_0x578ff7===_0x17e1cb)break;else _0x4b1200['push'](_0x4b1200['shift']());}catch(_0x2b505f){_0x4b1200['push'](_0x4b1200['shift']());}}}(_0x4f0f,0x57729));import{View as _0x34d796}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xc2b6b6}from'ckeditor5/src/utils.js';import{getTranslation as _0x175bbb}from'../../common-translations.js';function _0x364e(_0x2c1b54,_0x9c3fa9){const _0x4f0f4b=_0x4f0f();return _0x364e=function(_0x364ee3,_0x5e5c0b){_0x364ee3=_0x364ee3-0x19d;let _0x29c24c=_0x4f0f4b[_0x364ee3];return _0x29c24c;},_0x364e(_0x2c1b54,_0x9c3fa9);}export class PresenceInlineListView extends _0x34d796{[_0x4e0270(0x1b3)];[_0x4e0270(0x1c2)];constructor(_0x570e70){const _0x36d6f3=_0x4e0270;super(_0x570e70);const _0x1aa052=this[_0x36d6f3(0x1a6)];this[_0x36d6f3(0x1b3)]=this[_0x36d6f3(0x1a4)](),this[_0x36d6f3(0x1c2)]=new _0xc2b6b6(),this[_0x36d6f3(0x1ab)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x36d6f3(0x1b9)]({'tag':_0x36d6f3(0x1af),'attributes':{'aria-haspopup':_0x1aa052['if'](_0x36d6f3(0x19f)),'aria-expanded':_0x1aa052['to'](_0x36d6f3(0x19e),_0x1ea583=>this[_0x36d6f3(0x19f)]&&String(_0x1ea583)),'aria-label':_0x1aa052['to'](_0x36d6f3(0x19f),_0x1454af=>_0x175bbb(_0x570e70,_0x1454af?_0x36d6f3(0x1a3):_0x36d6f3(0x1a5))),'role':_0x36d6f3(0x1bd),'tabindex':_0x1aa052['to'](_0x36d6f3(0x19f),_0x4fcd35=>!!_0x4fcd35&&0x0),'class':['ck',_0x36d6f3(0x1b6)]},'children':this[_0x36d6f3(0x1b3)],'on':{'mouseenter':_0x1aa052['to'](()=>this[_0x36d6f3(0x1a1)](_0x36d6f3(0x1b2))),'mouseleave':_0x1aa052['to'](_0xc7c5c5=>{const _0x3c61be=_0x36d6f3,_0x19344a=_0xc7c5c5,_0x660f97=document[_0x3c61be(0x1b5)](_0x3c61be(0x1bb)),_0x46ef8e=document[_0x3c61be(0x1b5)](_0x3c61be(0x1b1));_0x660f97?.[_0x3c61be(0x1a7)](_0x19344a[_0x3c61be(0x1aa)])||_0x46ef8e?.[_0x3c61be(0x1a7)](_0x19344a[_0x3c61be(0x1aa)])||this[_0x3c61be(0x1a1)](_0x3c61be(0x1ac));})}}),this['on'](_0x36d6f3(0x1a0),(_0x399c8a,_0x44b506,_0x1cd12b)=>{const _0x4b4d29=_0x36d6f3;this[_0x4b4d29(0x1c0)]&&(_0x1cd12b?this[_0x4b4d29(0x1c0)][_0x4b4d29(0x1ad)](_0x4b4d29(0x1b0),String(this[_0x4b4d29(0x19e)])):this[_0x4b4d29(0x1c0)][_0x4b4d29(0x1a2)](_0x4b4d29(0x1b0)));});}[_0x4e0270(0x1a9)](){const _0x5882ac=_0x4e0270;this[_0x5882ac(0x1c0)][_0x5882ac(0x1a9)]();}[_0x4e0270(0x1bf)](){const _0x5a9d9f=_0x4e0270;super[_0x5a9d9f(0x1bf)](),this[_0x5a9d9f(0x1c2)][_0x5a9d9f(0x1b7)](this[_0x5a9d9f(0x1c0)]);}}function _0x4f0f(){const _0x53674c=['bindTemplate','contains','3269895TUblMJ','focus','relatedTarget','set','presencelist:hide','setAttribute','1685944KbdcaM','div','aria-expanded','.ck-balloon-panel_with-arrow','presencelist:show','items','826458wuGAIx','querySelector','ck-presence-list__list','listenTo','7498737gHiOtm','setTemplate','3350oTiqYo','.ck-presence-list__dropdown-list','35qjvwCc','list','398838umBpnx','render','element','120vmUdFn','keystrokes','35253mxteUn','isExpanded','hasPopup','change:hasPopup','fire','removeAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','createCollection','Connected\x20users\x20list'];_0x4f0f=function(){return _0x53674c;};return _0x4f0f();}
23
+ function _0x30d9(_0x4674d7,_0x3999af){const _0x26a6bf=_0x26a6();return _0x30d9=function(_0x30d92b,_0x2b17e6){_0x30d92b=_0x30d92b-0x1bb;let _0x35d613=_0x26a6bf[_0x30d92b];return _0x35d613;},_0x30d9(_0x4674d7,_0x3999af);}const _0x1bdd93=_0x30d9;(function(_0x59c830,_0x172eba){const _0x47fc07=_0x30d9,_0x170055=_0x59c830();while(!![]){try{const _0x1b8182=-parseInt(_0x47fc07(0x1c3))/0x1*(parseInt(_0x47fc07(0x1ca))/0x2)+-parseInt(_0x47fc07(0x1e1))/0x3+-parseInt(_0x47fc07(0x1be))/0x4*(parseInt(_0x47fc07(0x1ce))/0x5)+-parseInt(_0x47fc07(0x1df))/0x6+parseInt(_0x47fc07(0x1d8))/0x7+parseInt(_0x47fc07(0x1c0))/0x8*(-parseInt(_0x47fc07(0x1c2))/0x9)+parseInt(_0x47fc07(0x1c4))/0xa;if(_0x1b8182===_0x172eba)break;else _0x170055['push'](_0x170055['shift']());}catch(_0x4f309e){_0x170055['push'](_0x170055['shift']());}}}(_0x26a6,0xe5002));import{View as _0x85c164}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x52f299}from'ckeditor5/src/utils.js';import{getTranslation as _0x5a071f}from'../../common-translations.js';function _0x26a6(){const _0x4b4337=['element','1843016DtQAGg','items','isExpanded','list','presencelist:hide','removeAttribute','set','10993788AVQwza','focus','5271807aHLOYq','hasPopup','bindTemplate','listenTo','20dmAFtx','createCollection','256PSLmmo','ck-presence-list__list','138789HBCZID','11mXWUmk','67349330yntpbm','keystrokes','contains','.ck-presence-list__dropdown-list','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','264362YarpWb','change:hasPopup','querySelector','.ck-balloon-panel_with-arrow','523205ldfnkX','div','setTemplate','Connected\x20users\x20list','aria-expanded','relatedTarget','render','setAttribute','presencelist:show'];_0x26a6=function(){return _0x4b4337;};return _0x26a6();}export class PresenceInlineListView extends _0x85c164{[_0x1bdd93(0x1d9)];[_0x1bdd93(0x1c5)];constructor(_0x273c6c){const _0x50160f=_0x1bdd93;super(_0x273c6c);const _0x1960e7=this[_0x50160f(0x1bc)];this[_0x50160f(0x1d9)]=this[_0x50160f(0x1bf)](),this[_0x50160f(0x1c5)]=new _0x52f299(),this[_0x50160f(0x1de)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x50160f(0x1d0)]({'tag':_0x50160f(0x1cf),'attributes':{'aria-haspopup':_0x1960e7['if'](_0x50160f(0x1bb)),'aria-expanded':_0x1960e7['to'](_0x50160f(0x1da),_0x2f569e=>this[_0x50160f(0x1bb)]&&String(_0x2f569e)),'aria-label':_0x1960e7['to'](_0x50160f(0x1bb),_0x20ab42=>_0x5a071f(_0x273c6c,_0x20ab42?_0x50160f(0x1c9):_0x50160f(0x1d1))),'role':_0x50160f(0x1db),'tabindex':_0x1960e7['to'](_0x50160f(0x1bb),_0x54dd85=>!!_0x54dd85&&0x0),'class':['ck',_0x50160f(0x1c1)]},'children':this[_0x50160f(0x1d9)],'on':{'mouseenter':_0x1960e7['to'](()=>this[_0x50160f(0x1c8)](_0x50160f(0x1d6))),'mouseleave':_0x1960e7['to'](_0x551a3c=>{const _0x3a12c0=_0x50160f,_0x43b2b0=_0x551a3c,_0xa087d6=document[_0x3a12c0(0x1cc)](_0x3a12c0(0x1c7)),_0x34445e=document[_0x3a12c0(0x1cc)](_0x3a12c0(0x1cd));_0xa087d6?.[_0x3a12c0(0x1c6)](_0x43b2b0[_0x3a12c0(0x1d3)])||_0x34445e?.[_0x3a12c0(0x1c6)](_0x43b2b0[_0x3a12c0(0x1d3)])||this[_0x3a12c0(0x1c8)](_0x3a12c0(0x1dc));})}}),this['on'](_0x50160f(0x1cb),(_0x155d94,_0x7784d6,_0x3e5fc1)=>{const _0xfe19a2=_0x50160f;this[_0xfe19a2(0x1d7)]&&(_0x3e5fc1?this[_0xfe19a2(0x1d7)][_0xfe19a2(0x1d5)](_0xfe19a2(0x1d2),String(this[_0xfe19a2(0x1da)])):this[_0xfe19a2(0x1d7)][_0xfe19a2(0x1dd)](_0xfe19a2(0x1d2)));});}[_0x1bdd93(0x1e0)](){const _0x3147ff=_0x1bdd93;this[_0x3147ff(0x1d7)][_0x3147ff(0x1e0)]();}[_0x1bdd93(0x1d4)](){const _0x5d0688=_0x1bdd93;super[_0x5d0688(0x1d4)](),this[_0x5d0688(0x1c5)][_0x5d0688(0x1bd)](this[_0x5d0688(0x1d7)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x25b4(){const _0x2dbb89=['49KgSCFD','tooltipPosition','isCollapsed','bind','change','set','3107982qxLOxL','ck-presence-list','2674358ollcNn','5375ctrVqH','items','7364824UnagfI','counterView','ck-reset','1022994OMrUXC','div','46828370hExlAj','63034acZuDe','locale','ck-presence-list--collapsed','4764IJAYFY','listenTo','bindTemplate','setTemplate','ck-rounded-corners','inlineListView','hasPopup','first','9wJUCel'];_0x25b4=function(){return _0x2dbb89;};return _0x25b4();}const _0x39a456=_0x3a84;(function(_0x3218e0,_0x54c110){const _0x3c82ae=_0x3a84,_0x4227b7=_0x3218e0();while(!![]){try{const _0x108e45=-parseInt(_0x3c82ae(0x1ba))/0x1+-parseInt(_0x3c82ae(0x1ce))/0x2+parseInt(_0x3c82ae(0x1cc))/0x3+-parseInt(_0x3c82ae(0x1bd))/0x4*(parseInt(_0x3c82ae(0x1cf))/0x5)+parseInt(_0x3c82ae(0x1b7))/0x6*(-parseInt(_0x3c82ae(0x1c6))/0x7)+-parseInt(_0x3c82ae(0x1b4))/0x8+-parseInt(_0x3c82ae(0x1c5))/0x9*(-parseInt(_0x3c82ae(0x1b9))/0xa);if(_0x108e45===_0x54c110)break;else _0x4227b7['push'](_0x4227b7['shift']());}catch(_0x2662a5){_0x4227b7['push'](_0x4227b7['shift']());}}}(_0x25b4,0xe1a25));function _0x3a84(_0x28a158,_0xfe8876){const _0x25b42a=_0x25b4();return _0x3a84=function(_0x3a84ab,_0x5f4842){_0x3a84ab=_0x3a84ab-0x1b4;let _0xa464f5=_0x25b42a[_0x3a84ab];return _0xa464f5;},_0x3a84(_0x28a158,_0xfe8876);}import{View as _0x3e55f8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x13eb01}from'./presencecounterview.js';import{PresenceInlineListView as _0x3df165}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x3e55f8{[_0x39a456(0x1b5)];[_0x39a456(0x1c2)];constructor(_0x4aed92,_0x2472f7=0x6){const _0xc9c518=_0x39a456;super(_0x4aed92);const _0x5063f2=this[_0xc9c518(0x1bf)];this[_0xc9c518(0x1cb)](_0xc9c518(0x1c8),!0x0),this[_0xc9c518(0x1b5)]=new _0x13eb01(this[_0xc9c518(0x1bb)],_0x2472f7),this[_0xc9c518(0x1c2)]=new _0x3df165(_0x4aed92),this[_0xc9c518(0x1c2)][_0xc9c518(0x1c9)](_0xc9c518(0x1c3))['to'](this,_0xc9c518(0x1c8)),this[_0xc9c518(0x1be)](this[_0xc9c518(0x1c2)][_0xc9c518(0x1d0)],_0xc9c518(0x1ca),()=>{const _0x1b49c5=_0xc9c518;for(const _0x6b55eb of this[_0x1b49c5(0x1c2)][_0x1b49c5(0x1d0)])_0x6b55eb[_0x1b49c5(0x1c7)]='s';this[_0x1b49c5(0x1c2)][_0x1b49c5(0x1d0)][_0x1b49c5(0x1c4)]&&(this[_0x1b49c5(0x1c2)][_0x1b49c5(0x1d0)][_0x1b49c5(0x1c4)][_0x1b49c5(0x1c7)]='se');}),this[_0xc9c518(0x1c0)]({'tag':_0xc9c518(0x1b8),'attributes':{'class':['ck',_0xc9c518(0x1cd),_0xc9c518(0x1b6),_0xc9c518(0x1c1),_0x5063f2['if'](_0xc9c518(0x1c8),_0xc9c518(0x1bc))]},'children':[this[_0xc9c518(0x1c2)]]});}}
23
+ const _0x2622ea=_0x5593;(function(_0x12c6dc,_0x1ffda0){const _0x5b7746=_0x5593,_0x3567c4=_0x12c6dc();while(!![]){try{const _0x167c78=-parseInt(_0x5b7746(0x1b7))/0x1+parseInt(_0x5b7746(0x1a6))/0x2*(-parseInt(_0x5b7746(0x1aa))/0x3)+parseInt(_0x5b7746(0x1a4))/0x4*(parseInt(_0x5b7746(0x1ba))/0x5)+parseInt(_0x5b7746(0x1b1))/0x6*(parseInt(_0x5b7746(0x1b6))/0x7)+parseInt(_0x5b7746(0x1af))/0x8*(parseInt(_0x5b7746(0x1ac))/0x9)+-parseInt(_0x5b7746(0x1b4))/0xa*(-parseInt(_0x5b7746(0x1b0))/0xb)+-parseInt(_0x5b7746(0x1bf))/0xc;if(_0x167c78===_0x1ffda0)break;else _0x3567c4['push'](_0x3567c4['shift']());}catch(_0x393b57){_0x3567c4['push'](_0x3567c4['shift']());}}}(_0x27b9,0xd65f2));import{View as _0x198819}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5eb100}from'./presencecounterview.js';function _0x27b9(){const _0x21cdc0=['tooltipPosition','648549XZXdom','inlineListView','locale','136LKCyzc','3476EFLQbb','65298ZEFjwJ','bindTemplate','ck-reset','13650sqmHWi','div','1050NIWdCz','829908IRvwMr','counterView','ck-rounded-corners','7912085LINCPy','set','first','listenTo','bind','34589160nsWwhs','ck-presence-list--collapsed','hasPopup','ck-presence-list','4tvzQFW','setTemplate','8260PvBSFI','isCollapsed','items','change','204qXJrcr'];_0x27b9=function(){return _0x21cdc0;};return _0x27b9();}import{PresenceInlineListView as _0x27cac6}from'./presenceinlinelistview.js';function _0x5593(_0x3c11d0,_0x58ccc5){const _0x27b982=_0x27b9();return _0x5593=function(_0x559313,_0x434199){_0x559313=_0x559313-0x1a2;let _0x5db346=_0x27b982[_0x559313];return _0x5db346;},_0x5593(_0x3c11d0,_0x58ccc5);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x198819{[_0x2622ea(0x1b8)];[_0x2622ea(0x1ad)];constructor(_0x28581b,_0x5ca71b=0x6){const _0x139d8e=_0x2622ea;super(_0x28581b);const _0x32231b=this[_0x139d8e(0x1b2)];this[_0x139d8e(0x1bb)](_0x139d8e(0x1a7),!0x0),this[_0x139d8e(0x1b8)]=new _0x5eb100(this[_0x139d8e(0x1ae)],_0x5ca71b),this[_0x139d8e(0x1ad)]=new _0x27cac6(_0x28581b),this[_0x139d8e(0x1ad)][_0x139d8e(0x1be)](_0x139d8e(0x1a2))['to'](this,_0x139d8e(0x1a7)),this[_0x139d8e(0x1bd)](this[_0x139d8e(0x1ad)][_0x139d8e(0x1a8)],_0x139d8e(0x1a9),()=>{const _0x35b349=_0x139d8e;for(const _0x2638f3 of this[_0x35b349(0x1ad)][_0x35b349(0x1a8)])_0x2638f3[_0x35b349(0x1ab)]='s';this[_0x35b349(0x1ad)][_0x35b349(0x1a8)][_0x35b349(0x1bc)]&&(this[_0x35b349(0x1ad)][_0x35b349(0x1a8)][_0x35b349(0x1bc)][_0x35b349(0x1ab)]='se');}),this[_0x139d8e(0x1a5)]({'tag':_0x139d8e(0x1b5),'attributes':{'class':['ck',_0x139d8e(0x1a3),_0x139d8e(0x1b3),_0x139d8e(0x1b9),_0x32231b['if'](_0x139d8e(0x1a7),_0x139d8e(0x1c0))]},'children':[this[_0x139d8e(0x1ad)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x25ac5b=_0x4531;(function(_0x2d927d,_0x4beacc){const _0x121ef3=_0x4531,_0x331d4d=_0x2d927d();while(!![]){try{const _0x292cfc=parseInt(_0x121ef3(0x1b6))/0x1+-parseInt(_0x121ef3(0x1c5))/0x2+parseInt(_0x121ef3(0x192))/0x3*(-parseInt(_0x121ef3(0x185))/0x4)+parseInt(_0x121ef3(0x1bb))/0x5+-parseInt(_0x121ef3(0x1bf))/0x6*(parseInt(_0x121ef3(0x163))/0x7)+parseInt(_0x121ef3(0x187))/0x8+parseInt(_0x121ef3(0x1c2))/0x9;if(_0x292cfc===_0x4beacc)break;else _0x331d4d['push'](_0x331d4d['shift']());}catch(_0x3d4195){_0x331d4d['push'](_0x331d4d['shift']());}}}(_0x1b42,0xa3512));import{Context as _0x38f19b,ContextPlugin as _0x1acff4}from'ckeditor5/src/core.js';import{CKEditorError as _0x4f8d4c}from'ckeditor5/src/utils.js';import{Users as _0x18a80f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x182f26,User as _0x1f60bb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x1b42(){const _0xdfd2e3=['plugins','_connectService','removeCommentThread','596824XzzjPT','commentThreadUpdated','10495168iwAXUk','authorId','reconnect','userId','getCommentThreads','resolveCommentThread','removeComment','has','connect','updateComment','destroy','12LiyMJH','cloudservicescommentsadapter-disconnect-not-exist','message','content','permissions','context','startsWith','delete','reopen','cloud-services-internal-error:\x20Request\x20timeout.','commentId','CommentsRepository','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','setPermissions','CloudServicesCommentsAdapter','CommentsService','createdAt','commentAdded','remove','pluginName','resolvedBy','commentThreadRemoved','attributes','comments','config','addCommentThread','_setUpService','cloud-services-internal-error:\x20Not\x20connected.','requires','keys','from','_getService','register','add','getMany','collaboration.channelId','1062816zqLsDT','sessionAdd:','getComment','reopenCommentThread','map','3957140OiPioZ','update','addComment','commentThreadId','6LtAmDr','404','catch','974979kjmxCf','commentUpdated','commentThreadReopened','2521544YLJSPZ','getUser','assign','5235503xDgSQZ','size','resolve','cloudservicescommentsadapter-service-not-exist','cloudservicescommentsadapter-connect-already-connected','getConnectedSessions','addUser','code','commentThreadAdded','commentRemoved','Permissions','isPremiumPlugin','updateCommentThread','deletedAt','getCommentThread','init','commentThreadResolved','adapter','mySessionId','isOfficialPlugin','_fetchMissingUsersForThreads','disconnect','listenTo','unregister','_services','addToReconnectionStack','_terminateService','resolvedAt','set','get','off'];_0x1b42=function(){return _0xdfd2e3;};return _0x1b42();}import{WebSocketGateway as _0x15bdca}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4e8f9d}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x1acff4{static [_0x25ac5b(0x1a1)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x182f26)());[_0x25ac5b(0x17b)];static get[_0x25ac5b(0x1ae)](){const _0x5063f3=_0x25ac5b;return[_0x15bdca,_0x5063f3(0x19d),_0x4e8f9d,_0x18a80f];}static get[_0x25ac5b(0x1a5)](){const _0x481efe=_0x25ac5b;return _0x481efe(0x1a0);}static get[_0x25ac5b(0x176)](){return!0x0;}static get[_0x25ac5b(0x16e)](){return!0x0;}constructor(_0x5961bd){const _0x1afd92=_0x25ac5b;super(_0x5961bd),this[_0x1afd92(0x17b)]=new Map();}async[_0x25ac5b(0x172)](){const _0x4a3889=_0x25ac5b,_0x4427a8=this[_0x4a3889(0x197)],_0xc93246=_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x4a3889(0x19d));if(_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x15bdca)[_0x4a3889(0x17c)](this),_0xc93246[_0x4a3889(0x174)]={'addCommentThread':async({channelId:_0x125aa2,threadId:_0x536461,comments:_0x27f44f,resolvedAt:_0x27b193,resolvedBy:_0x4f184f,context:_0x36b6c9,attributes:_0xaed07c})=>{const _0x510ed0=_0x4a3889,_0x317062=await this[_0x510ed0(0x1b1)](_0x125aa2)[_0x510ed0(0x1ab)]({'commentThreadId':_0x536461,'comments':_0x27f44f[_0x510ed0(0x1ba)](_0x500259=>function(_0x38bf1d,_0x170d59,_0x96a07c){const _0x1d0a5f=_0x510ed0;return{'commentThreadId':_0x96a07c,'commentId':_0x38bf1d[_0x1d0a5f(0x19c)],'userId':_0x38bf1d[_0x1d0a5f(0x188)],'content':_0x38bf1d[_0x1d0a5f(0x195)],'documentId':_0x170d59,'createdAt':_0x38bf1d[_0x1d0a5f(0x1a2)],'attributes':_0x38bf1d[_0x1d0a5f(0x1a8)]||{}};}(_0x500259,_0x125aa2,_0x536461)),'resolvedAt':_0x27b193,'resolvedBy':_0x4f184f,'context':_0x36b6c9,'attributes':_0xaed07c})[_0x510ed0(0x1c1)](et);return{'threadId':_0x317062[_0x510ed0(0x1be)],'comments':_0x317062[_0x510ed0(0x1a9)]};},'getCommentThread':async({channelId:_0xccebe0,threadId:_0x3e8f8d})=>{const _0x1049b0=_0x4a3889,_0x27218b=await this[_0x1049b0(0x1b1)](_0xccebe0)[_0x1049b0(0x171)](_0x3e8f8d)[_0x1049b0(0x1c1)](st)[_0x1049b0(0x1c1)](et);return _0x27218b?_0x27218b[_0x1049b0(0x170)]?null:(await this[_0x1049b0(0x177)]([_0x27218b]),{'threadId':_0x27218b[_0x1049b0(0x1be)],'comments':_0x27218b[_0x1049b0(0x1a9)][_0x1049b0(0x1ba)](rt),'context':_0x27218b[_0x1049b0(0x197)],'resolvedAt':_0x27218b[_0x1049b0(0x17e)],'resolvedBy':_0x27218b[_0x1049b0(0x1a6)],'attributes':_0x27218b[_0x1049b0(0x1a8)]||{}}):null;},'updateCommentThread':async({channelId:_0x182c8d,threadId:_0x379bde,context:_0x165070,unlinkedAt:_0x4f0f5a,attributes:_0x455c8c})=>this[_0x4a3889(0x1b1)](_0x182c8d)[_0x4a3889(0x16f)]({'commentThreadId':_0x379bde,'context':_0x165070,'attributes':_0x455c8c,'unlinkedAt':_0x4f0f5a})[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'resolveCommentThread':async({channelId:_0x592d19,threadId:_0x669b2d})=>{const _0x107ca2=_0x4a3889,_0x94fa3f=await this[_0x107ca2(0x1b1)](_0x592d19)[_0x107ca2(0x18c)](_0x669b2d)[_0x107ca2(0x1c1)](st)[_0x107ca2(0x1c1)](et);return{'threadId':_0x94fa3f[_0x107ca2(0x1be)],'resolvedAt':_0x94fa3f[_0x107ca2(0x17e)],'resolvedBy':_0x94fa3f[_0x107ca2(0x1a6)]};},'reopenCommentThread':async({channelId:_0x162a06,threadId:_0x5659d1})=>this[_0x4a3889(0x1b1)](_0x162a06)[_0x4a3889(0x1b9)](_0x5659d1)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'removeCommentThread':({channelId:_0x177569,threadId:_0x34dff0})=>this[_0x4a3889(0x1b1)](_0x177569)[_0x4a3889(0x184)](_0x34dff0)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'addComment':({channelId:_0x61b757,threadId:_0x1c7a99,commentId:_0x2df9bf,content:_0x25d541,attributes:_0x2dd85a})=>this[_0x4a3889(0x1b1)](_0x61b757)[_0x4a3889(0x1bd)](_0x1c7a99,_0x2df9bf,_0x25d541,_0x2dd85a)[_0x4a3889(0x1c1)](et),'updateComment':({channelId:_0x1a9382,threadId:_0x18e111,commentId:_0x25d8ea,content:_0x7a44f7,attributes:_0x20ce34})=>this[_0x4a3889(0x1b1)](_0x1a9382)[_0x4a3889(0x190)](_0x18e111,_0x25d8ea,_0x7a44f7,_0x20ce34)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'removeComment':({channelId:_0x18294e,threadId:_0x39c3b1,commentId:_0x5e5cf1})=>this[_0x4a3889(0x1b1)](_0x18294e)[_0x4a3889(0x18d)](_0x39c3b1,_0x5e5cf1)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et)},_0x4427a8 instanceof _0x38f19b){const _0x4b1122=_0x4427a8[_0x4a3889(0x1aa)][_0x4a3889(0x180)](_0x4a3889(0x1b5)),_0x371550=_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x4e8f9d);await this[_0x4a3889(0x1ac)](_0x4b1122);const _0x230619=await this[_0x4a3889(0x17b)][_0x4a3889(0x180)](_0x4b1122)[_0x4a3889(0x168)]();this[_0x4a3889(0x179)](_0x371550,_0x4a3889(0x1b7)+_0x4b1122,(_0x3e0626,{session:_0x370329})=>{const _0x2c5a84=_0x4a3889;_0x370329['id']===_0x371550[_0x2c5a84(0x175)]&&(_0x3e0626[_0x2c5a84(0x181)](),this[_0x2c5a84(0x197)][_0x2c5a84(0x182)][_0x2c5a84(0x180)](_0x2c5a84(0x16d))[_0x2c5a84(0x19f)](_0x370329[_0x2c5a84(0x196)],_0x4b1122));}),_0x371550[_0x4a3889(0x1b2)](_0x4b1122,_0x230619);}}async[_0x25ac5b(0x1ac)](_0x24eabb){const _0x5a31e0=_0x25ac5b;if(this[_0x5a31e0(0x17b)][_0x5a31e0(0x18e)](_0x24eabb))throw new _0x4f8d4c(_0x5a31e0(0x167),null,{'channelId':_0x24eabb});const _0x34747a=this[_0x5a31e0(0x197)][_0x5a31e0(0x182)][_0x5a31e0(0x180)](_0x5a31e0(0x19d)),_0x5ccb96=new CloudServicesCommentsAdapter[(_0x5a31e0(0x1a1))](_0x24eabb);this[_0x5a31e0(0x17b)][_0x5a31e0(0x17f)](_0x24eabb,_0x5ccb96),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x16b),(_0x2295d7,_0x4d4971)=>{const _0x57314a=_0x5a31e0,{commentThreadId:_0x4abe39,documentId:_0x313f55,context:_0xf09f08,attributes:_0x432229,resolvedAt:_0x4d9d37,resolvedBy:_0x3d9ec7,comments:_0xef5af9}=_0x4d4971;_0x34747a[_0x57314a(0x171)](_0x4abe39)||_0x34747a[_0x57314a(0x1ab)]({'threadId':_0x4abe39,'channelId':_0x313f55,'comments':_0xef5af9?_0xef5af9[_0x57314a(0x1ba)](rt):[],'context':_0xf09f08,'attributes':_0x432229,'resolvedAt':_0x4d9d37,'resolvedBy':_0x3d9ec7,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x186),(_0x2d63c3,{commentThreadId:_0x2a39b7,documentId:_0x3e3e3a,context:_0x596c68,unlinkedAt:_0x3c1aea,attributes:_0x220d43})=>{const _0x25f83d=_0x5a31e0;_0x34747a[_0x25f83d(0x171)](_0x2a39b7)&&_0x34747a[_0x25f83d(0x16f)]({'threadId':_0x2a39b7,'channelId':_0x3e3e3a,'context':_0x596c68,'unlinkedAt':_0x3c1aea,'attributes':_0x220d43,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x173),(_0x3ccd86,{commentThreadId:_0x419b0a,resolvedBy:_0x4a6cc1,resolvedAt:_0x19bba5})=>{const _0x27db0c=_0x5a31e0,_0x40469d=_0x34747a[_0x27db0c(0x171)](_0x419b0a);_0x40469d&&_0x40469d[_0x27db0c(0x165)]({'resolvedBy':_0x4a6cc1,'resolvedAt':_0x19bba5,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1c4),(_0x15ebbd,{commentThreadId:_0x267d18})=>{const _0x37a424=_0x5a31e0,_0x6ac1fc=_0x34747a[_0x37a424(0x171)](_0x267d18);_0x6ac1fc&&_0x6ac1fc[_0x37a424(0x19a)]({'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1a7),(_0x421ad8,{commentThreadId:_0x3fe3b6})=>{const _0x14755b=_0x5a31e0,_0x391892=_0x34747a[_0x14755b(0x171)](_0x3fe3b6);_0x391892&&_0x391892[_0x14755b(0x1a4)]({'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1a3),(_0x564fa9,_0x8a2f11)=>{const _0xdd6361=_0x5a31e0,_0x472ffc=_0x8a2f11[_0xdd6361(0x1be)],_0x24e951=_0x34747a[_0xdd6361(0x171)](_0x472ffc);_0x24e951&&_0x24e951[_0xdd6361(0x1bd)]({...rt(_0x8a2f11),'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1c3),(_0xbb9d2d,{commentThreadId:_0x3dc0aa,commentId:_0x52d99a,content:_0x558ca9,attributes:_0x4d2de9})=>{const _0x3dd0d6=_0x5a31e0,_0x34a05b=_0x34747a[_0x3dd0d6(0x171)](_0x3dc0aa);if(_0x34a05b){const _0x17c556=_0x34a05b[_0x3dd0d6(0x1b8)](_0x52d99a);_0x17c556&&_0x17c556[_0x3dd0d6(0x1bc)]({'content':_0x558ca9,'attributes':_0x4d2de9,'isFromAdapter':!0x0});}}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x16c),(_0x52285c,{commentThreadId:_0x5043b9,commentId:_0x842b62})=>{const _0x34809a=_0x5a31e0,_0x2eaf09=_0x34747a[_0x34809a(0x171)](_0x5043b9);if(_0x2eaf09){const _0x11d0ec=_0x2eaf09[_0x34809a(0x1b8)](_0x842b62);_0x11d0ec&&_0x11d0ec[_0x34809a(0x1a4)]({'isFromAdapter':!0x0});}}),await this[_0x5a31e0(0x183)](_0x24eabb);}[_0x25ac5b(0x191)](){const _0x203d51=_0x25ac5b;if(this[_0x203d51(0x197)]instanceof _0x38f19b){const _0x44ca8c=this[_0x203d51(0x197)][_0x203d51(0x1aa)][_0x203d51(0x180)](_0x203d51(0x1b5));this[_0x203d51(0x17d)](_0x44ca8c);}}[_0x25ac5b(0x17d)](_0x4b95e5){const _0x4b5b47=_0x25ac5b;if(!this[_0x4b5b47(0x17b)][_0x4b5b47(0x18e)](_0x4b95e5))throw new _0x4f8d4c(_0x4b5b47(0x193),null,{'channelId':_0x4b95e5});this[_0x4b5b47(0x1b1)](_0x4b95e5)[_0x4b5b47(0x178)](),this[_0x4b5b47(0x17b)][_0x4b5b47(0x199)](_0x4b95e5);}async[_0x25ac5b(0x189)](){const _0x4266ef=_0x25ac5b;for(const _0x983e90 of this[_0x4266ef(0x17b)][_0x4266ef(0x1af)]())await this[_0x4266ef(0x183)](_0x983e90);if(this[_0x4266ef(0x197)]instanceof _0x38f19b){const _0x130a31=this[_0x4266ef(0x197)][_0x4266ef(0x1aa)][_0x4266ef(0x180)](_0x4266ef(0x1b5)),_0x32bedb=this[_0x4266ef(0x197)][_0x4266ef(0x182)][_0x4266ef(0x180)](_0x4e8f9d);_0x32bedb[_0x4266ef(0x17a)](_0x130a31);const _0x21ccf4=await this[_0x4266ef(0x17b)][_0x4266ef(0x180)](_0x130a31)[_0x4266ef(0x168)]();_0x32bedb[_0x4266ef(0x1b2)](_0x130a31,_0x21ccf4);}}async[_0x25ac5b(0x183)](_0xf02c39){const _0x5e9e4b=_0x25ac5b,{connection:_0x2a7d6d}=this[_0x5e9e4b(0x197)][_0x5e9e4b(0x182)][_0x5e9e4b(0x180)](_0x15bdca),_0x2bd914=this[_0x5e9e4b(0x197)][_0x5e9e4b(0x182)][_0x5e9e4b(0x180)](_0x5e9e4b(0x19d)),_0x2e3fac=this[_0x5e9e4b(0x17b)][_0x5e9e4b(0x180)](_0xf02c39),_0x3c5a6a=await _0x2e3fac[_0x5e9e4b(0x18f)](_0x2a7d6d);await this[_0x5e9e4b(0x177)](_0x3c5a6a);const _0x587396=new Set(Array[_0x5e9e4b(0x1b0)](_0x2bd914[_0x5e9e4b(0x18b)]({'channelId':_0xf02c39}),_0x3d633c=>_0x3d633c['id']));for(const _0x485095 of _0x3c5a6a)_0x485095[_0x5e9e4b(0x170)]||_0x587396[_0x5e9e4b(0x199)](_0x485095[_0x5e9e4b(0x1be)]);for(const _0x26db60 of _0x587396)_0x2bd914[_0x5e9e4b(0x171)](_0x26db60)[_0x5e9e4b(0x1a4)]({'isFromAdapter':!0x0});for(const _0xaa210a of _0x3c5a6a){let _0x50cc26=_0x2bd914[_0x5e9e4b(0x171)](_0xaa210a[_0x5e9e4b(0x1be)]);const {commentThreadId:_0x142784,context:_0x300a69,attributes:_0x29250f,resolvedBy:_0x14bbb6,resolvedAt:_0x506d60,unlinkedAt:_0x5339d3,deletedAt:_0xc14a28}=_0xaa210a;if(_0xc14a28)continue;_0x50cc26||(_0x50cc26=_0x2bd914[_0x5e9e4b(0x1ab)]({'channelId':_0xf02c39,'threadId':_0x142784,'context':_0x300a69,'attributes':_0x29250f||{},'resolvedBy':_0x14bbb6,'resolvedAt':_0x506d60,'unlinkedAt':_0x5339d3,'isFromAdapter':!0x0}));const _0x3d13db=new Set(Array[_0x5e9e4b(0x1b0)](_0x50cc26[_0x5e9e4b(0x1a9)],_0x4893e3=>_0x4893e3['id']));for(const _0x595782 of _0xaa210a[_0x5e9e4b(0x1a9)])_0x3d13db[_0x5e9e4b(0x199)](_0x595782[_0x5e9e4b(0x19c)]);for(const _0x1398ff of _0x3d13db)_0x50cc26[_0x5e9e4b(0x1b8)](_0x1398ff)[_0x5e9e4b(0x1a4)]({'isFromAdapter':!0x0});for(const _0x443d19 of _0xaa210a[_0x5e9e4b(0x1a9)]){const _0x196986=_0x50cc26[_0x5e9e4b(0x1b8)](_0x443d19[_0x5e9e4b(0x19c)]);_0x196986?_0x196986[_0x5e9e4b(0x195)]!==_0x443d19[_0x5e9e4b(0x195)]&&_0x196986[_0x5e9e4b(0x1bc)]({'content':_0x443d19[_0x5e9e4b(0x195)],'isFromAdapter':!0x0}):_0x50cc26[_0x5e9e4b(0x1bd)](Object[_0x5e9e4b(0x1c7)](rt(_0x443d19),{'isFromAdapter':!0x0}));}}}[_0x25ac5b(0x1b1)](_0x2e13bb){const _0x5bcc8f=_0x25ac5b;if(!this[_0x5bcc8f(0x17b)][_0x5bcc8f(0x18e)](_0x2e13bb))throw new _0x4f8d4c(_0x5bcc8f(0x166),null,{'channelId':_0x2e13bb});return this[_0x5bcc8f(0x17b)][_0x5bcc8f(0x180)](_0x2e13bb);}async[_0x25ac5b(0x177)](_0x22bc78){const _0x2c4193=_0x25ac5b,_0x29cda7=this[_0x2c4193(0x197)][_0x2c4193(0x182)][_0x2c4193(0x180)](_0x18a80f),{connection:_0x2c0d15}=this[_0x2c4193(0x197)][_0x2c4193(0x182)][_0x2c4193(0x180)](_0x15bdca),_0x5cc164=new Set();for(const {resolvedBy:_0x1a16e0,comments:_0x456cd6}of _0x22bc78){_0x1a16e0&&!_0x29cda7[_0x2c4193(0x1c6)](_0x1a16e0)&&_0x5cc164[_0x2c4193(0x1b3)](_0x1a16e0);for(const {userId:_0x414f45}of _0x456cd6)_0x29cda7[_0x2c4193(0x1c6)](_0x414f45)||_0x5cc164[_0x2c4193(0x1b3)](_0x414f45);}if(0x0===_0x5cc164[_0x2c4193(0x164)])return;const _0x7b6f7d=await _0x1f60bb[_0x2c4193(0x1b4)](_0x2c0d15,Array[_0x2c4193(0x1b0)](_0x5cc164));for(const _0x267095 of _0x7b6f7d)_0x29cda7[_0x2c4193(0x1c6)](_0x267095['id'])||_0x29cda7[_0x2c4193(0x169)](_0x267095);}}function _0x4531(_0xaf374a,_0x31ba3b){const _0x1b42f6=_0x1b42();return _0x4531=function(_0x45313c,_0x631023){_0x45313c=_0x45313c-0x163;let _0x43e88d=_0x1b42f6[_0x45313c];return _0x43e88d;},_0x4531(_0xaf374a,_0x31ba3b);}async function st(_0x1e2efd){const _0x2954a8=_0x25ac5b;if(_0x2954a8(0x1c0)!==_0x1e2efd[_0x2954a8(0x16a)])throw _0x1e2efd;}function et(_0x2ecc84){const _0x7cb8b6=_0x25ac5b;if((_0x5354fe=_0x2ecc84)[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x19e))||_0x5354fe[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x1ad))||_0x5354fe[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x19b)))return new Promise(()=>{});var _0x5354fe;throw _0x2ecc84;}function rt(_0x280b97){const _0x558e8c=_0x25ac5b;return{'threadId':_0x280b97[_0x558e8c(0x1be)],'commentId':_0x280b97[_0x558e8c(0x19c)],'content':_0x280b97[_0x558e8c(0x195)],'createdAt':_0x280b97[_0x558e8c(0x1a2)],'authorId':_0x280b97[_0x558e8c(0x18a)],'attributes':_0x280b97[_0x558e8c(0x1a8)]||{}};}
23
+ const _0x410e11=_0x5e47;(function(_0x5068a5,_0x2f85b0){const _0x9aef24=_0x5e47,_0x276093=_0x5068a5();while(!![]){try{const _0x15bfa4=-parseInt(_0x9aef24(0xcf))/0x1*(-parseInt(_0x9aef24(0xd3))/0x2)+parseInt(_0x9aef24(0xbe))/0x3+-parseInt(_0x9aef24(0xf9))/0x4*(parseInt(_0x9aef24(0xb3))/0x5)+-parseInt(_0x9aef24(0x113))/0x6+-parseInt(_0x9aef24(0xcb))/0x7*(-parseInt(_0x9aef24(0xe5))/0x8)+-parseInt(_0x9aef24(0xf4))/0x9+parseInt(_0x9aef24(0xd2))/0xa;if(_0x15bfa4===_0x2f85b0)break;else _0x276093['push'](_0x276093['shift']());}catch(_0xf4142a){_0x276093['push'](_0x276093['shift']());}}}(_0x2867,0x73fe0));import{Context as _0x5a1bad,ContextPlugin as _0x42ae22}from'ckeditor5/src/core.js';import{CKEditorError as _0x593ee9}from'ckeditor5/src/utils.js';import{Users as _0x103349}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5d5c91,User as _0x58522e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x518c71}from'../realtimecollaborativeediting/websocketgateway.js';function _0x5e47(_0x669e63,_0x418a40){const _0x286762=_0x2867();return _0x5e47=function(_0x5e47d9,_0x56f03e){_0x5e47d9=_0x5e47d9-0xb3;let _0x560962=_0x286762[_0x5e47d9];return _0x560962;},_0x5e47(_0x669e63,_0x418a40);}import{Sessions as _0x472212}from'../realtimecollaborativeediting/sessions.js';function _0x2867(){const _0x24be71=['message','isOfficialPlugin','updateCommentThread','set','CommentsService','catch','keys','requires','unregister','createdAt','getUser','addComment','cloudservicescommentsadapter-disconnect-not-exist','65880DoYKMa','getCommentThread','from','get','_connectService','4PBryHL','getConnectedSessions','commentId','_getService','commentAdded','cloud-services-internal-error:\x20Not\x20connected.','connect','register','deletedAt','cloudservicescommentsadapter-service-not-exist','update','disconnect','context','startsWith','Permissions','listenTo','isPremiumPlugin','init','addCommentThread','destroy','commentRemoved','comments','getCommentThreads','permissions','setPermissions','pluginName','1720860ylCWFj','_fetchMissingUsersForThreads','assign','commentThreadUpdated','commentThreadId','add','1997955DRkMYz','reopenCommentThread','commentThreadRemoved','off','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','attributes','_services','plugins','resolvedAt','_setUpService','_terminateService','316290TwFBuF','resolvedBy','updateComment','404','reopen','collaboration.channelId','size','remove','CloudServicesCommentsAdapter','cloud-services-internal-error:\x20Request\x20timeout.','removeComment','reconnect','getMany','338905YfDWow','config','addToReconnectionStack','mySessionId','1roQinn','cloudservicescommentsadapter-connect-already-connected','commentThreadResolved','7888060oqyEay','65028qpVLVA','commentUpdated','userId','getComment','map','resolveCommentThread','sessionAdd:','delete','code','content','CommentsRepository','removeCommentThread','addUser','adapter','authorId','commentThreadAdded','commentThreadReopened','has','40QCUysn','resolve'];_0x2867=function(){return _0x24be71;};return _0x2867();}export class CloudServicesCommentsAdapter extends _0x42ae22{static [_0x410e11(0xeb)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5d5c91)());[_0x410e11(0xb9)];static get[_0x410e11(0xee)](){const _0x504cac=_0x410e11;return[_0x518c71,_0x504cac(0xdd),_0x472212,_0x103349];}static get[_0x410e11(0x112)](){const _0x4fdefd=_0x410e11;return _0x4fdefd(0xc6);}static get[_0x410e11(0xe8)](){return!0x0;}static get[_0x410e11(0x109)](){return!0x0;}constructor(_0x14cdf5){const _0x526b7e=_0x410e11;super(_0x14cdf5),this[_0x526b7e(0xb9)]=new Map();}async[_0x410e11(0x10a)](){const _0x3cb19f=_0x410e11,_0x47c530=this[_0x3cb19f(0x105)],_0x5e6518=_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x3cb19f(0xdd));if(_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x518c71)[_0x3cb19f(0xcd)](this),_0x5e6518[_0x3cb19f(0xe0)]={'addCommentThread':async({channelId:_0x4c2c37,threadId:_0xb35113,comments:_0xa79d4d,resolvedAt:_0x541a7b,resolvedBy:_0x1414d7,context:_0x3fd2b9,attributes:_0x241d1c})=>{const _0x5e3998=_0x3cb19f,_0x200a11=await this[_0x5e3998(0xfc)](_0x4c2c37)[_0x5e3998(0x10b)]({'commentThreadId':_0xb35113,'comments':_0xa79d4d[_0x5e3998(0xd7)](_0x335691=>function(_0x5d5cbd,_0x1cf711,_0x121df6){const _0x3ab536=_0x5e3998;return{'commentThreadId':_0x121df6,'commentId':_0x5d5cbd[_0x3ab536(0xfb)],'userId':_0x5d5cbd[_0x3ab536(0xe1)],'content':_0x5d5cbd[_0x3ab536(0xdc)],'documentId':_0x1cf711,'createdAt':_0x5d5cbd[_0x3ab536(0xf0)],'attributes':_0x5d5cbd[_0x3ab536(0xb8)]||{}};}(_0x335691,_0x4c2c37,_0xb35113)),'resolvedAt':_0x541a7b,'resolvedBy':_0x1414d7,'context':_0x3fd2b9,'attributes':_0x241d1c})[_0x5e3998(0xec)](A);return{'threadId':_0x200a11[_0x5e3998(0x117)],'comments':_0x200a11[_0x5e3998(0x10e)]};},'getCommentThread':async({channelId:_0x1d7863,threadId:_0x3b8dcb})=>{const _0x3c5108=_0x3cb19f,_0x5bb169=await this[_0x3c5108(0xfc)](_0x1d7863)[_0x3c5108(0xf5)](_0x3b8dcb)[_0x3c5108(0xec)](f)[_0x3c5108(0xec)](A);return _0x5bb169?_0x5bb169[_0x3c5108(0x101)]?null:(await this[_0x3c5108(0x114)]([_0x5bb169]),{'threadId':_0x5bb169[_0x3c5108(0x117)],'comments':_0x5bb169[_0x3c5108(0x10e)][_0x3c5108(0xd7)](p),'context':_0x5bb169[_0x3c5108(0x105)],'resolvedAt':_0x5bb169[_0x3c5108(0xbb)],'resolvedBy':_0x5bb169[_0x3c5108(0xbf)],'attributes':_0x5bb169[_0x3c5108(0xb8)]||{}}):null;},'updateCommentThread':async({channelId:_0x3bdcd2,threadId:_0x51ffa1,context:_0x582e40,unlinkedAt:_0x44ac56,attributes:_0x5b201d})=>this[_0x3cb19f(0xfc)](_0x3bdcd2)[_0x3cb19f(0xe9)]({'commentThreadId':_0x51ffa1,'context':_0x582e40,'attributes':_0x5b201d,'unlinkedAt':_0x44ac56})[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'resolveCommentThread':async({channelId:_0x39aad6,threadId:_0x27ec8b})=>{const _0xaabb46=_0x3cb19f,_0x389a60=await this[_0xaabb46(0xfc)](_0x39aad6)[_0xaabb46(0xd8)](_0x27ec8b)[_0xaabb46(0xec)](f)[_0xaabb46(0xec)](A);return{'threadId':_0x389a60[_0xaabb46(0x117)],'resolvedAt':_0x389a60[_0xaabb46(0xbb)],'resolvedBy':_0x389a60[_0xaabb46(0xbf)]};},'reopenCommentThread':async({channelId:_0x1c36b1,threadId:_0x2095aa})=>this[_0x3cb19f(0xfc)](_0x1c36b1)[_0x3cb19f(0xb4)](_0x2095aa)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'removeCommentThread':({channelId:_0x4449b1,threadId:_0x2c282c})=>this[_0x3cb19f(0xfc)](_0x4449b1)[_0x3cb19f(0xde)](_0x2c282c)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'addComment':({channelId:_0x588ba8,threadId:_0x59ff4f,commentId:_0x559fc0,content:_0xceb1a5,attributes:_0x23f152})=>this[_0x3cb19f(0xfc)](_0x588ba8)[_0x3cb19f(0xf2)](_0x59ff4f,_0x559fc0,_0xceb1a5,_0x23f152)[_0x3cb19f(0xec)](A),'updateComment':({channelId:_0x50ff51,threadId:_0x10a297,commentId:_0xcaf882,content:_0x15696b,attributes:_0x55fc55})=>this[_0x3cb19f(0xfc)](_0x50ff51)[_0x3cb19f(0xc0)](_0x10a297,_0xcaf882,_0x15696b,_0x55fc55)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A),'removeComment':({channelId:_0x53047f,threadId:_0xe8f1c7,commentId:_0x5bd4a4})=>this[_0x3cb19f(0xfc)](_0x53047f)[_0x3cb19f(0xc8)](_0xe8f1c7,_0x5bd4a4)[_0x3cb19f(0xec)](f)[_0x3cb19f(0xec)](A)},_0x47c530 instanceof _0x5a1bad){const _0x414492=_0x47c530[_0x3cb19f(0xcc)][_0x3cb19f(0xf7)](_0x3cb19f(0xc3)),_0x30cadb=_0x47c530[_0x3cb19f(0xba)][_0x3cb19f(0xf7)](_0x472212);await this[_0x3cb19f(0xbc)](_0x414492);const _0x2d47cc=await this[_0x3cb19f(0xb9)][_0x3cb19f(0xf7)](_0x414492)[_0x3cb19f(0xfa)]();this[_0x3cb19f(0x108)](_0x30cadb,_0x3cb19f(0xd9)+_0x414492,(_0x24118f,{session:_0x5c1ec4})=>{const _0x4e5c4f=_0x3cb19f;_0x5c1ec4['id']===_0x30cadb[_0x4e5c4f(0xce)]&&(_0x24118f[_0x4e5c4f(0xb6)](),this[_0x4e5c4f(0x105)][_0x4e5c4f(0xba)][_0x4e5c4f(0xf7)](_0x4e5c4f(0x107))[_0x4e5c4f(0x111)](_0x5c1ec4[_0x4e5c4f(0x110)],_0x414492));}),_0x30cadb[_0x3cb19f(0x100)](_0x414492,_0x2d47cc);}}async[_0x410e11(0xbc)](_0x41e8bd){const _0xe14d6e=_0x410e11;if(this[_0xe14d6e(0xb9)][_0xe14d6e(0xe4)](_0x41e8bd))throw new _0x593ee9(_0xe14d6e(0xd0),null,{'channelId':_0x41e8bd});const _0x386d0f=this[_0xe14d6e(0x105)][_0xe14d6e(0xba)][_0xe14d6e(0xf7)](_0xe14d6e(0xdd)),_0x20b759=new CloudServicesCommentsAdapter[(_0xe14d6e(0xeb))](_0x41e8bd);this[_0xe14d6e(0xb9)][_0xe14d6e(0xea)](_0x41e8bd,_0x20b759),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xe2),(_0x4e1592,_0x5e5458)=>{const _0x39fb64=_0xe14d6e,{commentThreadId:_0x17c1e1,documentId:_0x5dc11c,context:_0x460be8,attributes:_0x45ed39,resolvedAt:_0x7ebf7b,resolvedBy:_0x571a9c,comments:_0x187dce}=_0x5e5458;_0x386d0f[_0x39fb64(0xf5)](_0x17c1e1)||_0x386d0f[_0x39fb64(0x10b)]({'threadId':_0x17c1e1,'channelId':_0x5dc11c,'comments':_0x187dce?_0x187dce[_0x39fb64(0xd7)](p):[],'context':_0x460be8,'attributes':_0x45ed39,'resolvedAt':_0x7ebf7b,'resolvedBy':_0x571a9c,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0x116),(_0x2325e0,{commentThreadId:_0x55f1fa,documentId:_0x1ac745,context:_0x23fee9,unlinkedAt:_0x31277d,attributes:_0x3f4feb})=>{const _0x472480=_0xe14d6e;_0x386d0f[_0x472480(0xf5)](_0x55f1fa)&&_0x386d0f[_0x472480(0xe9)]({'threadId':_0x55f1fa,'channelId':_0x1ac745,'context':_0x23fee9,'unlinkedAt':_0x31277d,'attributes':_0x3f4feb,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xd1),(_0x298862,{commentThreadId:_0x96e49e,resolvedBy:_0x1232fe,resolvedAt:_0x3ace43})=>{const _0x4d5f33=_0xe14d6e,_0x52d390=_0x386d0f[_0x4d5f33(0xf5)](_0x96e49e);_0x52d390&&_0x52d390[_0x4d5f33(0xe6)]({'resolvedBy':_0x1232fe,'resolvedAt':_0x3ace43,'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xe3),(_0x574a70,{commentThreadId:_0x1168ee})=>{const _0x15fab3=_0xe14d6e,_0x596271=_0x386d0f[_0x15fab3(0xf5)](_0x1168ee);_0x596271&&_0x596271[_0x15fab3(0xc2)]({'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xb5),(_0x257cdf,{commentThreadId:_0x94a5f7})=>{const _0x511574=_0xe14d6e,_0x286586=_0x386d0f[_0x511574(0xf5)](_0x94a5f7);_0x286586&&_0x286586[_0x511574(0xc5)]({'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xfd),(_0x1971cc,_0x112546)=>{const _0x52f0c3=_0xe14d6e,_0x127ab5=_0x112546[_0x52f0c3(0x117)],_0x41042b=_0x386d0f[_0x52f0c3(0xf5)](_0x127ab5);_0x41042b&&_0x41042b[_0x52f0c3(0xf2)]({...p(_0x112546),'isFromAdapter':!0x0});}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0xd4),(_0x5f4ba0,{commentThreadId:_0x3d672b,commentId:_0x72338f,content:_0x3bd850,attributes:_0x271d49})=>{const _0x1f5734=_0xe14d6e,_0x110e41=_0x386d0f[_0x1f5734(0xf5)](_0x3d672b);if(_0x110e41){const _0x19aff6=_0x110e41[_0x1f5734(0xd6)](_0x72338f);_0x19aff6&&_0x19aff6[_0x1f5734(0x103)]({'content':_0x3bd850,'attributes':_0x271d49,'isFromAdapter':!0x0});}}),this[_0xe14d6e(0x108)](_0x20b759,_0xe14d6e(0x10d),(_0x2b7fe4,{commentThreadId:_0x15f529,commentId:_0x3ee7f4})=>{const _0x279742=_0xe14d6e,_0x9f2185=_0x386d0f[_0x279742(0xf5)](_0x15f529);if(_0x9f2185){const _0x47103c=_0x9f2185[_0x279742(0xd6)](_0x3ee7f4);_0x47103c&&_0x47103c[_0x279742(0xc5)]({'isFromAdapter':!0x0});}}),await this[_0xe14d6e(0xf8)](_0x41e8bd);}[_0x410e11(0x10c)](){const _0x101497=_0x410e11;if(this[_0x101497(0x105)]instanceof _0x5a1bad){const _0x36ea17=this[_0x101497(0x105)][_0x101497(0xcc)][_0x101497(0xf7)](_0x101497(0xc3));this[_0x101497(0xbd)](_0x36ea17);}}[_0x410e11(0xbd)](_0x27da35){const _0x19a4f9=_0x410e11;if(!this[_0x19a4f9(0xb9)][_0x19a4f9(0xe4)](_0x27da35))throw new _0x593ee9(_0x19a4f9(0xf3),null,{'channelId':_0x27da35});this[_0x19a4f9(0xfc)](_0x27da35)[_0x19a4f9(0x104)](),this[_0x19a4f9(0xb9)][_0x19a4f9(0xda)](_0x27da35);}async[_0x410e11(0xc9)](){const _0x51774b=_0x410e11;for(const _0x5db5eb of this[_0x51774b(0xb9)][_0x51774b(0xed)]())await this[_0x51774b(0xf8)](_0x5db5eb);if(this[_0x51774b(0x105)]instanceof _0x5a1bad){const _0x150d34=this[_0x51774b(0x105)][_0x51774b(0xcc)][_0x51774b(0xf7)](_0x51774b(0xc3)),_0x2dd4c5=this[_0x51774b(0x105)][_0x51774b(0xba)][_0x51774b(0xf7)](_0x472212);_0x2dd4c5[_0x51774b(0xef)](_0x150d34);const _0x142e30=await this[_0x51774b(0xb9)][_0x51774b(0xf7)](_0x150d34)[_0x51774b(0xfa)]();_0x2dd4c5[_0x51774b(0x100)](_0x150d34,_0x142e30);}}async[_0x410e11(0xf8)](_0x24932d){const _0x3d6705=_0x410e11,{connection:_0x38d8ef}=this[_0x3d6705(0x105)][_0x3d6705(0xba)][_0x3d6705(0xf7)](_0x518c71),_0x57e838=this[_0x3d6705(0x105)][_0x3d6705(0xba)][_0x3d6705(0xf7)](_0x3d6705(0xdd)),_0x186cc0=this[_0x3d6705(0xb9)][_0x3d6705(0xf7)](_0x24932d),_0x2fe296=await _0x186cc0[_0x3d6705(0xff)](_0x38d8ef);await this[_0x3d6705(0x114)](_0x2fe296);const _0x30ecf8=new Set(Array[_0x3d6705(0xf6)](_0x57e838[_0x3d6705(0x10f)]({'channelId':_0x24932d}),_0x163f71=>_0x163f71['id']));for(const _0x5690f9 of _0x2fe296)_0x5690f9[_0x3d6705(0x101)]||_0x30ecf8[_0x3d6705(0xda)](_0x5690f9[_0x3d6705(0x117)]);for(const _0x513eae of _0x30ecf8)_0x57e838[_0x3d6705(0xf5)](_0x513eae)[_0x3d6705(0xc5)]({'isFromAdapter':!0x0});for(const _0x4f6a6d of _0x2fe296){let _0x1c76d6=_0x57e838[_0x3d6705(0xf5)](_0x4f6a6d[_0x3d6705(0x117)]);const {commentThreadId:_0x5ee19e,context:_0x304c88,attributes:_0x27618b,resolvedBy:_0x288cad,resolvedAt:_0x1bf4f9,unlinkedAt:_0x621e64,deletedAt:_0x1a432c}=_0x4f6a6d;if(_0x1a432c)continue;_0x1c76d6||(_0x1c76d6=_0x57e838[_0x3d6705(0x10b)]({'channelId':_0x24932d,'threadId':_0x5ee19e,'context':_0x304c88,'attributes':_0x27618b||{},'resolvedBy':_0x288cad,'resolvedAt':_0x1bf4f9,'unlinkedAt':_0x621e64,'isFromAdapter':!0x0}));const _0x4037f9=new Set(Array[_0x3d6705(0xf6)](_0x1c76d6[_0x3d6705(0x10e)],_0xe63464=>_0xe63464['id']));for(const _0x56f068 of _0x4f6a6d[_0x3d6705(0x10e)])_0x4037f9[_0x3d6705(0xda)](_0x56f068[_0x3d6705(0xfb)]);for(const _0x3e9745 of _0x4037f9)_0x1c76d6[_0x3d6705(0xd6)](_0x3e9745)[_0x3d6705(0xc5)]({'isFromAdapter':!0x0});for(const _0x1aea02 of _0x4f6a6d[_0x3d6705(0x10e)]){const _0x1f9107=_0x1c76d6[_0x3d6705(0xd6)](_0x1aea02[_0x3d6705(0xfb)]);_0x1f9107?_0x1f9107[_0x3d6705(0xdc)]!==_0x1aea02[_0x3d6705(0xdc)]&&_0x1f9107[_0x3d6705(0x103)]({'content':_0x1aea02[_0x3d6705(0xdc)],'isFromAdapter':!0x0}):_0x1c76d6[_0x3d6705(0xf2)](Object[_0x3d6705(0x115)](p(_0x1aea02),{'isFromAdapter':!0x0}));}}}[_0x410e11(0xfc)](_0x2abbd3){const _0x3eb188=_0x410e11;if(!this[_0x3eb188(0xb9)][_0x3eb188(0xe4)](_0x2abbd3))throw new _0x593ee9(_0x3eb188(0x102),null,{'channelId':_0x2abbd3});return this[_0x3eb188(0xb9)][_0x3eb188(0xf7)](_0x2abbd3);}async[_0x410e11(0x114)](_0x3b9ed8){const _0x3b5c5a=_0x410e11,_0x5efe4d=this[_0x3b5c5a(0x105)][_0x3b5c5a(0xba)][_0x3b5c5a(0xf7)](_0x103349),{connection:_0x1496ff}=this[_0x3b5c5a(0x105)][_0x3b5c5a(0xba)][_0x3b5c5a(0xf7)](_0x518c71),_0x4c7053=new Set();for(const {resolvedBy:_0x2ab5a1,comments:_0x29d181}of _0x3b9ed8){_0x2ab5a1&&!_0x5efe4d[_0x3b5c5a(0xf1)](_0x2ab5a1)&&_0x4c7053[_0x3b5c5a(0x118)](_0x2ab5a1);for(const {userId:_0x4ebf60}of _0x29d181)_0x5efe4d[_0x3b5c5a(0xf1)](_0x4ebf60)||_0x4c7053[_0x3b5c5a(0x118)](_0x4ebf60);}if(0x0===_0x4c7053[_0x3b5c5a(0xc4)])return;const _0x1002bd=await _0x58522e[_0x3b5c5a(0xca)](_0x1496ff,Array[_0x3b5c5a(0xf6)](_0x4c7053));for(const _0x12587b of _0x1002bd)_0x5efe4d[_0x3b5c5a(0xf1)](_0x12587b['id'])||_0x5efe4d[_0x3b5c5a(0xdf)](_0x12587b);}}async function f(_0x3a72eb){const _0x49a87e=_0x410e11;if(_0x49a87e(0xc1)!==_0x3a72eb[_0x49a87e(0xdb)])throw _0x3a72eb;}function A(_0x841734){const _0x1d97f8=_0x410e11;if((_0x410f72=_0x841734)[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xb7))||_0x410f72[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xfe))||_0x410f72[_0x1d97f8(0xe7)][_0x1d97f8(0x106)](_0x1d97f8(0xc7)))return new Promise(()=>{});var _0x410f72;throw _0x841734;}function p(_0x4ed8a2){const _0x2a4829=_0x410e11;return{'threadId':_0x4ed8a2[_0x2a4829(0x117)],'commentId':_0x4ed8a2[_0x2a4829(0xfb)],'content':_0x4ed8a2[_0x2a4829(0xdc)],'createdAt':_0x4ed8a2[_0x2a4829(0xf0)],'authorId':_0x4ed8a2[_0x2a4829(0xd5)],'attributes':_0x4ed8a2[_0x2a4829(0xb8)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x297c45=_0x17a2;(function(_0x5d7c04,_0x1c5a14){const _0x520088=_0x17a2,_0x565c4b=_0x5d7c04();while(!![]){try{const _0x496d5c=-parseInt(_0x520088(0x1d1))/0x1+-parseInt(_0x520088(0x16c))/0x2*(parseInt(_0x520088(0x22c))/0x3)+-parseInt(_0x520088(0x20e))/0x4*(-parseInt(_0x520088(0x1ff))/0x5)+-parseInt(_0x520088(0x168))/0x6*(-parseInt(_0x520088(0x16d))/0x7)+parseInt(_0x520088(0x243))/0x8+-parseInt(_0x520088(0x19e))/0x9*(parseInt(_0x520088(0x1b6))/0xa)+parseInt(_0x520088(0x226))/0xb*(-parseInt(_0x520088(0x1a6))/0xc);if(_0x496d5c===_0x1c5a14)break;else _0x565c4b['push'](_0x565c4b['shift']());}catch(_0x535379){_0x565c4b['push'](_0x565c4b['shift']());}}}(_0x3106,0x54dce));import{Plugin as _0x4a49fb,PendingActions as _0x4bff20}from'ckeditor5/src/core.js';import{CKEditorError as _0xa2f92a,version as _0x468f59,uid as _0x474dfd}from'ckeditor5/src/utils.js';import{Notification as _0x5df9f9}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x518664,NoOperation as _0x1ac49a,InsertOperation as _0x551dc7,MarkerOperation as _0x59077a,RootAttributeOperation as _0x43056c,OperationFactory as _0x4d9438,History as _0x425ce8}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x2d03da}from'./websocketgateway.js';import{Sessions as _0x21b1bc}from'./sessions.js';import{UserMarkers as _0x301068}from'./usermarkers.js';function _0x17a2(_0x33bdd5,_0x48ead9){const _0x31064d=_0x3106();return _0x17a2=function(_0x17a266,_0x3d5483){_0x17a266=_0x17a266-0x15c;let _0x491f3d=_0x31064d[_0x17a266];return _0x491f3d;},_0x17a2(_0x33bdd5,_0x48ead9);}import{getTranslation as _0x3b0bb0}from'../common-translations.js';import{Compressor as _0x522889}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5e8ae0}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xf4520f,CollaborativeEditingService as _0x52c267}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x4a49fb{static [_0x297c45(0x1dc)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x52c267)());[_0x297c45(0x21a)];[_0x297c45(0x1e7)];[_0x297c45(0x258)];[_0x297c45(0x217)];[_0x297c45(0x17d)];[_0x297c45(0x19c)];[_0x297c45(0x1f5)];[_0x297c45(0x1e1)];[_0x297c45(0x18c)];[_0x297c45(0x176)];[_0x297c45(0x24d)];[_0x297c45(0x25e)];[_0x297c45(0x1d2)];[_0x297c45(0x253)];[_0x297c45(0x1f0)];[_0x297c45(0x21c)];[_0x297c45(0x15e)];[_0x297c45(0x1d0)];static get[_0x297c45(0x17a)](){return[_0x2d03da,_0x21b1bc,_0x301068,_0x4bff20,_0x5e8ae0,_0x5df9f9];}static get[_0x297c45(0x1c4)](){const _0x29da5a=_0x297c45;return _0x29da5a(0x23c);}static get[_0x297c45(0x161)](){return!0x0;}static get[_0x297c45(0x239)](){return!0x0;}get[_0x297c45(0x182)](){const _0x36815d=_0x297c45;return this[_0x36815d(0x254)]+this[_0x36815d(0x21a)];}get[_0x297c45(0x254)](){const _0x4e9378=_0x297c45;return this[_0x4e9378(0x258)][_0x4e9378(0x248)]-this[_0x4e9378(0x21a)];}get[_0x297c45(0x15f)](){const _0x45ae06=_0x297c45,_0x2291e0=this[_0x45ae06(0x258)][_0x45ae06(0x18d)]();for(let _0x2ab589=_0x2291e0[_0x45ae06(0x15d)]-0x1;_0x2ab589>=0x0;_0x2ab589--){const _0x20e204=_0x2291e0[_0x2ab589];if(!this[_0x45ae06(0x15e)][_0x45ae06(0x1c6)](_0x20e204))return _0x20e204[_0x45ae06(0x1a2)]+0x1-this[_0x45ae06(0x21a)];}return 0x0;}constructor(_0x311a81){const _0x3656b1=_0x297c45;if(super(_0x311a81),this[_0x3656b1(0x21a)]=0x0,this[_0x3656b1(0x1e7)]=null,this[_0x3656b1(0x258)]=new _0x425ce8(),this[_0x3656b1(0x1b8)][_0x3656b1(0x1ad)][_0x3656b1(0x1f3)](_0x3656b1(0x1a4),{}),this[_0x3656b1(0x217)]=this[_0x3656b1(0x1b8)][_0x3656b1(0x1ad)][_0x3656b1(0x190)](_0x3656b1(0x1b5)),!this[_0x3656b1(0x217)])throw new _0xa2f92a(_0x3656b1(0x214),this);const _0x5655fd=_0x311a81[_0x3656b1(0x1ad)][_0x3656b1(0x190)](_0x3656b1(0x1a0))||_0x468f59;this[_0x3656b1(0x17d)]=new RealTimeCollaborationClient[(_0x3656b1(0x1dc))](_0x5655fd,this[_0x3656b1(0x217)]),this[_0x3656b1(0x19c)]=this[_0x3656b1(0x1b8)][_0x3656b1(0x171)][_0x3656b1(0x188)],this[_0x3656b1(0x1f5)]=new _0x522889(),this[_0x3656b1(0x1e1)]=[],this[_0x3656b1(0x18c)]=new WeakSet(),this[_0x3656b1(0x176)]=new Set(),this[_0x3656b1(0x185)](_0x3656b1(0x20b),!0x1),this[_0x3656b1(0x185)](_0x3656b1(0x1a1),!0x1),this[_0x3656b1(0x24d)]=null,this[_0x3656b1(0x25e)]=!0x1,this[_0x3656b1(0x1d2)]=null,this[_0x3656b1(0x253)]=0x12c,this[_0x3656b1(0x1f0)]=this[_0x3656b1(0x253)],this[_0x3656b1(0x21c)]=null,this[_0x3656b1(0x15e)]=new WeakSet(),this[_0x3656b1(0x1d0)]=new F(this[_0x3656b1(0x15e)]);}[_0x297c45(0x250)](){const _0x3ea759=_0x297c45,_0x37a7e1=this[_0x3ea759(0x1b8)],_0xd538a=_0x37a7e1[_0x3ea759(0x1cf)][_0x3ea759(0x190)](_0x5e8ae0),_0x5b46c6=_0x37a7e1[_0x3ea759(0x1cf)][_0x3ea759(0x190)](_0x2d03da);this[_0x3ea759(0x1e5)](_0xd538a,_0x3ea759(0x223),(_0x2caf7c,_0x1a395f)=>{const _0x5e45ae=_0x3ea759,_0xc1649=_0x1a395f[0x0];_0xc1649[_0x5e45ae(0x180)]&&(_0x2caf7c[_0x5e45ae(0x205)]=_0xd538a[_0x5e45ae(0x1b7)](_0xc1649[_0x5e45ae(0x180)]),_0x2caf7c[_0x5e45ae(0x1a7)]()),null===_0xc1649[_0x5e45ae(0x180)]&&(_0x2caf7c[_0x5e45ae(0x205)]=null,_0x2caf7c[_0x5e45ae(0x1a7)]());},{'priority':_0x3ea759(0x23a)}),this[_0x3ea759(0x1e5)](_0x37a7e1[_0x3ea759(0x171)][_0x3ea759(0x188)][_0x3ea759(0x257)],_0x3ea759(0x165),(_0x34a8e4,_0x53de41)=>{const _0x101c03=_0x3ea759;_0x53de41[_0x101c03(0x1f4)]&&this[_0x101c03(0x22e)]();}),this[_0x3ea759(0x1e5)](_0x37a7e1[_0x3ea759(0x1fc)][_0x3ea759(0x246)],_0x3ea759(0x179),()=>{const _0x31504a=_0x3ea759;this[_0x31504a(0x22e)]();}),this[_0x3ea759(0x255)](),_0x37a7e1[_0x3ea759(0x171)]['on'](_0x3ea759(0x219),(_0x27a978,_0x126db9)=>{const _0x3d9d10=_0x3ea759,_0x4c0244=_0x126db9[0x0];_0x4c0244[_0x3d9d10(0x1db)]&&(this[_0x3d9d10(0x1d5)](_0x4c0244),this[_0x3d9d10(0x1af)]()&&this[_0x3d9d10(0x16b)]());}),this[_0x3ea759(0x230)](),this[_0x3ea759(0x1de)](_0x3ea759(0x1ba))['to'](_0x5b46c6,_0x3ea759(0x222),this,_0x3ea759(0x1a1),(_0x2a272a,_0x433711)=>_0x3ea759(0x1aa)===_0x2a272a&&!_0x433711),this['on'](_0x3ea759(0x256),()=>{const _0x513863=_0x3ea759;this[_0x513863(0x1ba)]?_0x37a7e1[_0x513863(0x1b3)](_0x513863(0x196)):_0x37a7e1[_0x513863(0x162)](_0x513863(0x196));}),this[_0x3ea759(0x1ba)]?_0x37a7e1[_0x3ea759(0x1b3)](_0x3ea759(0x196)):_0x37a7e1[_0x3ea759(0x162)](_0x3ea759(0x196)),this[_0x3ea759(0x185)](_0x3ea759(0x20c),!0x1);}async[_0x297c45(0x1da)](){const _0x37fb35=_0x297c45,_0x150b05=this[_0x37fb35(0x1b8)][_0x37fb35(0x1cf)][_0x37fb35(0x190)](_0x21b1bc),_0x2156b3=this[_0x37fb35(0x1b8)][_0x37fb35(0x1cf)][_0x37fb35(0x190)](_0x2d03da);try{this[_0x37fb35(0x20b)]=!0x0,_0x150b05[_0x37fb35(0x1e3)](this[_0x37fb35(0x217)]);const _0x3a98be=await this[_0x37fb35(0x17d)][_0x37fb35(0x1da)](_0x2156b3[_0x37fb35(0x247)],this[_0x37fb35(0x15f)]);await this[_0x37fb35(0x252)](_0x3a98be)&&(this[_0x37fb35(0x20b)]=!0x1,this[_0x37fb35(0x170)]());const _0x12c3b4=await this[_0x37fb35(0x17d)][_0x37fb35(0x235)]();_0x150b05[_0x37fb35(0x183)](this[_0x37fb35(0x217)],_0x12c3b4),this[_0x37fb35(0x1bc)](),this[_0x37fb35(0x20c)]=!0x0;}catch(_0x2ea01b){if(function(_0x43b843){const _0x1b3a0a=_0x37fb35;return _0x1b3a0a(0x1c1)===_0x43b843[_0x1b3a0a(0x1d3)];}(_0x2ea01b)&&this[_0x37fb35(0x1e7)])await this[_0x37fb35(0x172)]();else{if(function(_0x337e25){const _0x64cd2c=_0x37fb35;return _0x64cd2c(0x23b)===_0x337e25[_0x64cd2c(0x1d3)];}(_0x2ea01b)){const _0xcd1f9f=_0x3b0bb0(this[_0x37fb35(0x1b8)][_0x37fb35(0x210)],_0x37fb35(0x1d6));this[_0x37fb35(0x1cc)](_0xcd1f9f);}else{if(!(_0x2ea01b instanceof V))throw _0x2ea01b;this[_0x37fb35(0x1cc)]();}}}}[_0x297c45(0x213)](){const _0x3b6e33=_0x297c45,_0x49aae5=this[_0x3b6e33(0x1b8)][_0x3b6e33(0x1cf)][_0x3b6e33(0x190)](_0x2d03da),_0x223580=this[_0x3b6e33(0x1b8)][_0x3b6e33(0x1cf)][_0x3b6e33(0x190)](_0x21b1bc);this[_0x3b6e33(0x1b8)][_0x3b6e33(0x162)](_0x3b6e33(0x260)),_0x223580[_0x3b6e33(0x1dd)][_0x3b6e33(0x1c6)](this[_0x3b6e33(0x217)])&&_0x223580[_0x3b6e33(0x1e3)](this[_0x3b6e33(0x217)]),_0x49aae5[_0x3b6e33(0x1b9)](this),this[_0x3b6e33(0x166)](),super[_0x3b6e33(0x213)]();}async[_0x297c45(0x252)](_0x2e750f){const _0x22eb8f=_0x297c45;if(this[_0x22eb8f(0x1e7)]!==_0x2e750f[_0x22eb8f(0x1e7)]&&this[_0x22eb8f(0x21c)]!==_0x2e750f[_0x22eb8f(0x23e)])throw new V();return this[_0x22eb8f(0x1e7)]=_0x2e750f[_0x22eb8f(0x1e7)],this[_0x22eb8f(0x18f)]([],{..._0x2e750f,'wereChangesApplied':!0x1,'data':_0x2e750f[_0x22eb8f(0x21b)]},_0x22eb8f(0x1da));}async[_0x297c45(0x1a5)](_0x5213f4,_0x2244ba=!0x1){const _0x37fbde=_0x297c45,{connection:_0x4c158a}=this[_0x37fbde(0x1b8)][_0x37fbde(0x1cf)][_0x37fbde(0x190)](_0x2d03da);RealTimeCollaborationClient[_0x37fbde(0x1dc)][_0x37fbde(0x235)](_0x4c158a,this[_0x37fbde(0x217)])[_0x37fbde(0x1b1)](_0x178f02=>this[_0x37fbde(0x1d8)](_0x178f02))[_0x37fbde(0x16e)](_0x2f99c1=>{const _0x48e6d1=_0x37fbde;this[_0x48e6d1(0x212)](_0x48e6d1(0x220),_0x2f99c1);}),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x17c),this[_0x37fbde(0x1bf)][_0x37fbde(0x1de)](this)),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x211),(_0x1b52ae,_0x17aa61)=>{const _0x46c090=_0x37fbde;this[_0x46c090(0x212)](_0x46c090(0x19b),_0x17aa61);}),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x202),()=>{const _0x57c1e7=_0x37fbde;this[_0x57c1e7(0x20c)]=!0x1;});const _0x40f354=this[_0x37fbde(0x1d0)][_0x37fbde(0x251)](_0x5213f4);this[_0x37fbde(0x20b)]=!0x0;const _0x250326=await this[_0x37fbde(0x17d)][_0x37fbde(0x1cd)](_0x4c158a,this[_0x37fbde(0x201)](_0x5213f4),_0x40f354);if(this[_0x37fbde(0x1e7)]=_0x250326[_0x37fbde(0x1e7)],_0x2244ba){if(!_0x250326[_0x37fbde(0x17e)])return void this[_0x37fbde(0x1cc)]();this[_0x37fbde(0x20b)]=!0x1,this[_0x37fbde(0x170)](),this[_0x37fbde(0x258)][_0x37fbde(0x244)](),this[_0x37fbde(0x21a)]=_0x250326[_0x37fbde(0x195)],this[_0x37fbde(0x258)][_0x37fbde(0x248)]=this[_0x37fbde(0x21a)],await this[_0x37fbde(0x18f)](_0x5213f4,_0x250326,_0x37fbde(0x1fa));}else await this[_0x37fbde(0x19a)](_0x250326,_0x5213f4);this[_0x37fbde(0x1bc)](),this[_0x37fbde(0x20c)]=!0x0;}[_0x297c45(0x1bc)](){const _0xedbecb=_0x297c45,_0x594753=this[_0xedbecb(0x1b8)][_0xedbecb(0x1cf)][_0xedbecb(0x190)](_0x21b1bc),_0x4aee25=this[_0xedbecb(0x1b8)][_0xedbecb(0x1cf)][_0xedbecb(0x190)](_0x301068),_0x56d4dc=_0x594753[_0xedbecb(0x1dd)][_0xedbecb(0x190)](this[_0xedbecb(0x217)]);_0x56d4dc&&_0x56d4dc[_0xedbecb(0x15d)]>0x1?_0x4aee25[_0xedbecb(0x1b4)]():this[_0xedbecb(0x1e5)](_0x594753,_0xedbecb(0x1ee)+this[_0xedbecb(0x217)],()=>{const _0x51d344=_0xedbecb;0x2===_0x594753[_0x51d344(0x1dd)][_0x51d344(0x190)](this[_0x51d344(0x217)])[_0x51d344(0x15d)]&&_0x4aee25[_0x51d344(0x1b4)]();});}async[_0x297c45(0x1bf)](_0x2209a,_0x51b47e,_0x462058,_0x463bd9){const _0x5adca1=_0x297c45;if(!this[_0x5adca1(0x20b)]&&this[_0x5adca1(0x19c)][_0x5adca1(0x248)]==_0x51b47e){const _0x49cc04=this[_0x5adca1(0x229)](_0x462058,_0x463bd9);await this[_0x5adca1(0x262)](_0x49cc04),this[_0x5adca1(0x24b)](_0x49cc04,_0x51b47e,_0x462058[_0x5adca1(0x23e)])||this[_0x5adca1(0x212)](_0x5adca1(0x198));}}async[_0x297c45(0x172)](){const _0x358340=_0x297c45;this[_0x358340(0x166)]();const {locale:_0xd42a20}=this[_0x358340(0x1b8)];let _0x548cc;try{_0x548cc=await this[_0x358340(0x17d)][_0x358340(0x1ae)]();}catch{const _0x20ca1d=_0x3b0bb0(_0xd42a20,_0x358340(0x1b0));return void this[_0x358340(0x1cc)](_0x20ca1d);}const _0x3a78ca=_0x548cc[_0x358340(0x224)]||_0x548cc[_0x358340(0x16f)];if(this[_0x358340(0x21c)]!==_0x3a78ca[_0x358340(0x23e)]){const _0x3b9255=_0x3b0bb0(_0xd42a20,_0x358340(0x1d7));return void this[_0x358340(0x1cc)](_0x3b9255);}await this[_0x358340(0x1a5)](this[_0x358340(0x1b8)][_0x358340(0x171)][_0x358340(0x188)][_0x358340(0x237)][_0x358340(0x18d)](),!0x0);}[_0x297c45(0x166)](){const _0x24d347=_0x297c45;this[_0x24d347(0x17d)][_0x24d347(0x221)](),this[_0x24d347(0x1e1)]=[],clearTimeout(this[_0x24d347(0x1d2)]),this[_0x24d347(0x1eb)](this[_0x24d347(0x17d)]);}[_0x297c45(0x1d8)](_0x475f13){const _0x54b735=_0x297c45,_0x18ae74=this[_0x54b735(0x1b8)][_0x54b735(0x1cf)][_0x54b735(0x190)](_0x21b1bc);this[_0x54b735(0x1e5)](_0x18ae74,_0x54b735(0x1ee)+this[_0x54b735(0x217)],(_0x286d79,{session:_0x18a3e8})=>{const _0x2d1e70=_0x54b735;if(_0x18a3e8['id']===_0x18ae74[_0x2d1e70(0x16a)]){_0x286d79[_0x2d1e70(0x1f8)]();const _0x14e6d3=this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x1c6)](_0x2d1e70(0x21e))&&this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x190)](_0x2d1e70(0x21e));let _0x38e556=_0x18a3e8[_0x2d1e70(0x1e6)];_0x14e6d3&&_0x14e6d3[_0x2d1e70(0x208)]&&(_0x38e556=_0x38e556[_0x2d1e70(0x1b2)](_0x112005=>_0x2d1e70(0x1e2)!==_0x112005)),this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x190)](_0x2d1e70(0x1ce))[_0x2d1e70(0x20f)](_0x38e556,this[_0x2d1e70(0x217)]);}}),_0x18ae74[_0x54b735(0x183)](this[_0x54b735(0x217)],_0x475f13);}[_0x297c45(0x255)](){const _0x3c8879=_0x297c45,_0x12721c=this[_0x3c8879(0x1b8)][_0x3c8879(0x21b)][_0x3c8879(0x185)];this[_0x3c8879(0x1b8)][_0x3c8879(0x21b)][_0x3c8879(0x185)]=(..._0x1109bc)=>{const _0x3dec9d=_0x3c8879;if(!_0x1109bc[_0x1109bc[_0x3dec9d(0x15d)]-0x1][_0x3dec9d(0x22f)])throw new _0xa2f92a(_0x3dec9d(0x1c0),this);_0x12721c[_0x3dec9d(0x236)](this[_0x3dec9d(0x1b8)][_0x3dec9d(0x21b)],_0x1109bc);};}[_0x297c45(0x230)](){const _0x2fe41c=_0x297c45;this[_0x2fe41c(0x1b8)][_0x2fe41c(0x21b)]['on'](_0x2fe41c(0x250),(_0x10a7a3,[_0x2a25d8])=>{const _0x50661f=_0x2fe41c;if(this[_0x50661f(0x19c)][_0x50661f(0x248)])throw new _0xa2f92a(_0x50661f(0x228),this);_0x10a7a3[_0x50661f(0x1a7)](),this[_0x50661f(0x1e8)]();const _0x32e9c5=this[_0x50661f(0x1b8)][_0x50661f(0x1ad)][_0x50661f(0x190)](_0x50661f(0x1c5)),_0x523c68=this[_0x50661f(0x175)](_0x2a25d8,_0x32e9c5);0x0==_0x523c68[_0x50661f(0x15d)]&&_0x523c68[_0x50661f(0x15c)](new _0x1ac49a(0x0)),_0x10a7a3[_0x50661f(0x205)]=this[_0x50661f(0x1a5)](_0x523c68)[_0x50661f(0x1b1)](()=>{const _0x10ac03=_0x50661f;this[_0x10ac03(0x1b8)][_0x10ac03(0x1cf)][_0x10ac03(0x190)](_0x2d03da)[_0x10ac03(0x25a)](this),this[_0x10ac03(0x1b8)][_0x10ac03(0x21b)][_0x10ac03(0x24a)](_0x10ac03(0x24c));})[_0x50661f(0x16e)](_0x123445=>this[_0x50661f(0x212)](_0x50661f(0x1be),_0x123445))[_0x50661f(0x1df)](()=>this[_0x50661f(0x170)]());},{'priority':_0x2fe41c(0x23a)}),this[_0x2fe41c(0x1b8)]['on'](_0x2fe41c(0x233),async(_0x4fd0d0,[_0x39caea,_0x393f9b])=>{const _0x1f5e4f=_0x2fe41c;_0x4fd0d0[_0x1f5e4f(0x1a7)]();const _0x1457af=this[_0x1f5e4f(0x1b8)][_0x1f5e4f(0x171)][_0x1f5e4f(0x188)][_0x1f5e4f(0x225)](_0x39caea);if(!this[_0x1f5e4f(0x176)][_0x1f5e4f(0x1c6)](_0x39caea)){const _0x363ef7=_0x393f9b&&_0x393f9b[_0x1f5e4f(0x21b)]?_0x393f9b[_0x1f5e4f(0x21b)]:'',_0x309adf=_0x393f9b&&_0x393f9b[_0x1f5e4f(0x191)]?_0x393f9b[_0x1f5e4f(0x191)]:{};await this[_0x1f5e4f(0x184)](_0x39caea,_0x363ef7,_0x309adf);}this[_0x1f5e4f(0x1b8)][_0x1f5e4f(0x171)][_0x1f5e4f(0x1ab)]({'isUndoable':!0x1},()=>{const _0x59b881=_0x1f5e4f;_0x1457af[_0x59b881(0x1ac)]=!0x0,this[_0x59b881(0x1b8)][_0x59b881(0x171)][_0x59b881(0x188)][_0x59b881(0x163)][_0x59b881(0x25c)](_0x1457af);});},{'priority':_0x2fe41c(0x23a)});}async[_0x297c45(0x262)](_0x4ec68d){const _0x2c11f6=_0x297c45,_0x4673f5=this[_0x2c11f6(0x1b8)][_0x2c11f6(0x1cf)][_0x2c11f6(0x190)](_0x5e8ae0),{connection:_0x2562db}=this[_0x2c11f6(0x1b8)][_0x2c11f6(0x1cf)][_0x2c11f6(0x190)](_0x2d03da),_0x3dc99b=new Set();for(const _0x39b2d9 of _0x4ec68d){const _0x5e1857=_0x39b2d9[_0x2c11f6(0x180)];_0x5e1857&&!_0x4673f5[_0x2c11f6(0x1b7)](_0x5e1857)&&_0x3dc99b[_0x2c11f6(0x25f)](_0x5e1857);}if(0x0===_0x3dc99b[_0x2c11f6(0x194)])return;const _0xe2718f=await _0xf4520f[_0x2c11f6(0x20d)](_0x2562db,Array[_0x2c11f6(0x189)](_0x3dc99b));for(const _0x4302a4 of _0xe2718f)_0x4673f5[_0x2c11f6(0x1b7)](_0x4302a4['id'])||_0x4673f5[_0x2c11f6(0x17b)](_0x4302a4);}[_0x297c45(0x175)](_0x343d44,_0x166a40={}){const _0x183716=_0x297c45,_0x4eca18=this[_0x183716(0x1b8)][_0x183716(0x171)],_0x48a0ec=[];let _0x2531e1=0x0;const _0x2d7ce7=_0x183716(0x23d)==typeof _0x343d44?{'main':_0x343d44}:_0x343d44;for(const _0x795dec of Object[_0x183716(0x1c7)](_0x2d7ce7)){if(!this[_0x183716(0x19c)][_0x183716(0x1fe)][_0x183716(0x1c6)](_0x795dec))throw new _0xa2f92a(_0x183716(0x18b),this);const _0x3e2a16=this[_0x183716(0x1b8)][_0x183716(0x21b)][_0x183716(0x209)](_0x2d7ce7[_0x795dec]),_0x4c7894=this[_0x183716(0x19c)][_0x183716(0x225)](_0x795dec),_0x51ac30=new _0x551dc7(_0x4eca18[_0x183716(0x19f)](_0x4c7894,0x0),_0x3e2a16,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x51ac30);for(const [_0x3afffa,_0x226317]of _0x3e2a16[_0x183716(0x169)]){const _0x420ca0=_0x4eca18[_0x183716(0x22b)](_0x4eca18[_0x183716(0x245)](_0x4c7894,_0x226317[_0x183716(0x1ed)][_0x183716(0x1e9)][_0x183716(0x160)]()),_0x4eca18[_0x183716(0x245)](_0x4c7894,_0x226317[_0x183716(0x241)][_0x183716(0x1e9)][_0x183716(0x160)]())),_0x19377b=new _0x59077a(_0x3afffa,null,_0x420ca0,_0x4eca18[_0x183716(0x169)],!0x0,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x19377b);}}if(_0x166a40)for(const [_0x4fd027,_0x3acd07]of Object[_0x183716(0x177)](_0x166a40)){const _0x576ea8=_0x4eca18[_0x183716(0x188)][_0x183716(0x225)](_0x4fd027);if(!_0x576ea8)throw new _0xa2f92a(_0x183716(0x1e0),null);for(const [_0x241aee,_0x4706ee]of Object[_0x183716(0x177)](_0x3acd07))if(null!==_0x4706ee){const _0x33655b=new _0x43056c(_0x576ea8,_0x241aee,null,_0x4706ee,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x33655b);}}return _0x48a0ec;}async[_0x297c45(0x184)](_0x530839,_0x3117d9,_0x2434dc){const _0x4e12c0=_0x297c45;this[_0x4e12c0(0x175)]({[_0x530839]:_0x3117d9},{[_0x530839]:_0x2434dc})[_0x4e12c0(0x200)]((_0x7eba5e,_0x1fe710)=>{const _0x37496b=_0x4e12c0;_0x7eba5e[_0x37496b(0x1a2)]=this[_0x37496b(0x19c)][_0x37496b(0x248)]+_0x1fe710,_0x7eba5e[_0x37496b(0x1d9)]=!0x0,this[_0x37496b(0x1d5)](_0x7eba5e);}),this[_0x4e12c0(0x16b)](),await this[_0x4e12c0(0x216)]();}async[_0x297c45(0x19a)](_0x541efe,_0x5aa4f2){const _0x3fd70a=_0x297c45;let _0x3c98b4;this[_0x3fd70a(0x21a)]=_0x541efe[_0x3fd70a(0x195)];const _0x321fb2=_0x541efe[_0x3fd70a(0x17e)]&&!_0x541efe[_0x3fd70a(0x1c2)],_0x4fea14=_0x321fb2?0x0:_0x541efe[_0x3fd70a(0x21b)][_0x3fd70a(0x1a2)];if(_0x5aa4f2[_0x3fd70a(0x200)](_0x3e6b91=>{const _0x10fa5f=_0x3fd70a;_0x3e6b91[_0x10fa5f(0x1d9)]=!0x0,_0x3e6b91[_0x10fa5f(0x25d)]=_0x541efe[_0x10fa5f(0x25b)],_0x3e6b91[_0x10fa5f(0x180)]=null;}),_0x321fb2)_0x3c98b4=_0x5aa4f2,this[_0x3fd70a(0x174)](_0x3c98b4,_0x321fb2);else{if(_0x541efe[_0x3fd70a(0x1c2)]){const _0x15d448=this[_0x3fd70a(0x175)](_0x541efe[_0x3fd70a(0x1c2)]);this[_0x3fd70a(0x19c)][_0x3fd70a(0x237)][_0x3fd70a(0x248)]=-_0x15d448[_0x3fd70a(0x15d)],_0x15d448[_0x3fd70a(0x200)](_0x35000=>{const _0x24b075=_0x3fd70a;_0x35000[_0x24b075(0x1a2)]-=_0x15d448[_0x24b075(0x15d)],_0x35000[_0x24b075(0x25d)]=_0x541efe[_0x24b075(0x25b)],_0x35000[_0x24b075(0x1d9)]=!0x0,_0x35000[_0x24b075(0x180)]=null;}),this[_0x3fd70a(0x174)](_0x15d448,!0x0),this[_0x3fd70a(0x258)][_0x3fd70a(0x248)]=-_0x15d448[_0x3fd70a(0x15d)]+this[_0x3fd70a(0x21a)],this[_0x3fd70a(0x1a9)](_0x15d448);}this[_0x3fd70a(0x19c)][_0x3fd70a(0x237)][_0x3fd70a(0x248)]=_0x4fea14,_0x3c98b4=this[_0x3fd70a(0x229)](_0x541efe[_0x3fd70a(0x21b)],_0x541efe[_0x3fd70a(0x1e4)]),await this[_0x3fd70a(0x262)](_0x3c98b4),this[_0x3fd70a(0x174)](_0x3c98b4,_0x321fb2);}_0x541efe[_0x3fd70a(0x23e)]&&(this[_0x3fd70a(0x1d0)][_0x3fd70a(0x187)](_0x3c98b4,_0x541efe[_0x3fd70a(0x23e)]),this[_0x3fd70a(0x21c)]=_0x541efe[_0x3fd70a(0x23e)]),this[_0x3fd70a(0x258)][_0x3fd70a(0x248)]=_0x4fea14+this[_0x3fd70a(0x21a)],this[_0x3fd70a(0x1a9)](_0x3c98b4),_0x5aa4f2[_0x3fd70a(0x1b2)](_0x53298a=>{const _0x2870bb=_0x3fd70a,_0x3c77d0=this[_0x2870bb(0x1bb)](_0x53298a);return _0x3c77d0&&!this[_0x2870bb(0x176)][_0x2870bb(0x1c6)](_0x3c77d0);})[_0x3fd70a(0x200)]((_0x1b7dc9,_0x52033b)=>{const _0x34796a=_0x3fd70a;_0x1b7dc9[_0x34796a(0x1a2)]=this[_0x34796a(0x19c)][_0x34796a(0x248)]+_0x52033b,this[_0x34796a(0x1d5)](_0x1b7dc9);}),this[_0x3fd70a(0x1af)]()?(this[_0x3fd70a(0x1f0)]=0x0,this[_0x3fd70a(0x16b)](!0x0),await this[_0x3fd70a(0x216)]()):(this[_0x3fd70a(0x20b)]=!0x1,this[_0x3fd70a(0x170)]());}[_0x297c45(0x212)](_0x4df83b,_0x6d31a2){const _0x86d9a4=_0x297c45,_0x2e6d23=_0x6d31a2&&_0x6d31a2[_0x86d9a4(0x22a)];if(_0x2e6d23&&_0x2e6d23[_0x86d9a4(0x215)](_0x86d9a4(0x227)))throw _0x6d31a2;const _0x1bf986=this[_0x86d9a4(0x1b8)][_0x86d9a4(0x1cf)][_0x86d9a4(0x190)](_0x2d03da);throw this[_0x86d9a4(0x20b)]=!0x0,_0x1bf986[_0x86d9a4(0x221)](),this[_0x86d9a4(0x1b8)][_0x86d9a4(0x162)](_0x86d9a4(0x21f)),new _0xa2f92a(_0x4df83b,this[_0x86d9a4(0x1b8)],_0x2e6d23?{'originalError':_0x2e6d23}:void 0x0);}[_0x297c45(0x1d5)](_0x35da32){const _0x3d22e5=_0x297c45;this[_0x3d22e5(0x18c)][_0x3d22e5(0x1c6)](_0x35da32)||(this[_0x3d22e5(0x18c)][_0x3d22e5(0x25f)](_0x35da32),this[_0x3d22e5(0x1e1)][_0x3d22e5(0x15c)](_0x35da32),this[_0x3d22e5(0x24d)]||_0x3d22e5(0x199)==_0x35da32[_0x3d22e5(0x164)]&&!_0x35da32[_0x3d22e5(0x17f)]||this[_0x3d22e5(0x1e8)]());}[_0x297c45(0x16b)](_0x24254d=!0x1){const _0x4c4eaa=_0x297c45;!_0x24254d&&this[_0x4c4eaa(0x20b)]||(this[_0x4c4eaa(0x20b)]=!0x0,clearTimeout(this[_0x4c4eaa(0x1d2)]),this[_0x4c4eaa(0x1d2)]=setTimeout(()=>{const _0x33f7a3=_0x4c4eaa;this[_0x33f7a3(0x192)]()[_0x33f7a3(0x1b1)](_0x31fe72=>{const _0x42d005=_0x33f7a3;_0x31fe72&&(this[_0x42d005(0x170)](),this[_0x42d005(0x20b)]=!0x1);})[_0x33f7a3(0x16e)](_0xa1f9f9=>{const _0xb3edba=_0x33f7a3;this[_0xb3edba(0x170)](),this[_0xb3edba(0x20b)]=!0x1,function(_0x4aab37){const _0x3c89bd=_0xb3edba;return _0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x1f1))||_0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x259))||_0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x1a3));}(_0xa1f9f9)||this[_0xb3edba(0x212)](_0xa1f9f9[_0xb3edba(0x22a)],_0xa1f9f9);});},this[_0x4c4eaa(0x1f0)]));}[_0x297c45(0x216)](){return new Promise(_0x203e3f=>{const _0x2e60f5=_0x17a2;this['on'](_0x2e60f5(0x178),()=>{_0x203e3f();});});}async[_0x297c45(0x192)](){const _0x33c5c5=_0x297c45,_0x59cae7=this[_0x33c5c5(0x1b8)][_0x33c5c5(0x1cf)][_0x33c5c5(0x190)](_0x301068);if(this[_0x33c5c5(0x240)]()&&(_0x59cae7[_0x33c5c5(0x1b4)](),this[_0x33c5c5(0x25e)]=!0x1),!this[_0x33c5c5(0x1af)]())return!0x0;const _0x1e9b52=[...this[_0x33c5c5(0x1e1)]];for(const _0x1bdf7b of _0x1e9b52)_0x1bdf7b[_0x33c5c5(0x218)]=this[_0x33c5c5(0x19c)][_0x33c5c5(0x237)][_0x33c5c5(0x19d)](_0x1bdf7b);const _0x305cf4=this[_0x33c5c5(0x1d0)][_0x33c5c5(0x251)](_0x1e9b52),_0x43727d=H++,_0x472bed=this[_0x33c5c5(0x201)](_0x1e9b52),_0x3694e2=await this[_0x33c5c5(0x17d)][_0x33c5c5(0x1f9)](_0x472bed,_0x472bed[_0x33c5c5(0x1a2)],_0x305cf4);try{return await this[_0x33c5c5(0x18f)](_0x1e9b52,_0x3694e2,_0x43727d);}catch(_0x59854a){return this[_0x33c5c5(0x212)](_0x33c5c5(0x186),_0x59854a);}}async[_0x297c45(0x18f)](_0x383949,_0x369c8b,_0x2ead26){const _0x1c3e49=_0x297c45;if(_0x1c3e49(0x211)in _0x369c8b)throw _0x369c8b[_0x1c3e49(0x211)];let _0x76f76f=!0x1;if(_0x369c8b[_0x1c3e49(0x17e)]){_0x369c8b[_0x1c3e49(0x23e)]&&(this[_0x1c3e49(0x21c)]=_0x369c8b[_0x1c3e49(0x23e)]),this[_0x1c3e49(0x1e1)]=this[_0x1c3e49(0x1e1)][_0x1c3e49(0x1b2)](_0x103702=>!_0x383949[_0x1c3e49(0x1fd)](_0x103702));for(const _0x512234 of _0x383949)_0x512234[_0x1c3e49(0x25d)]=_0x1c3e49(0x23f)in _0x369c8b&&_0x369c8b[_0x1c3e49(0x23f)]||void 0x0;W(_0x383949,_0x369c8b[_0x1c3e49(0x248)]-_0x383949[_0x1c3e49(0x15d)]),this[_0x1c3e49(0x1a9)](_0x383949);const _0xcb327f=_0x383949[_0x1c3e49(0x1b2)](_0x4e912c=>{const _0x12b70c=_0x1c3e49;if(!_0x4e912c[_0x12b70c(0x1d9)])return!0x1;const _0x15144b=this[_0x12b70c(0x1bb)](_0x4e912c);return _0x15144b&&!this[_0x12b70c(0x176)][_0x12b70c(0x1c6)](_0x15144b);});W(_0xcb327f,this[_0x1c3e49(0x19c)][_0x1c3e49(0x248)]),this[_0x1c3e49(0x174)](_0xcb327f),_0x76f76f=!0x0,this[_0x1c3e49(0x1f0)]=this[_0x1c3e49(0x253)];}else{const _0x3e34f4=this[_0x1c3e49(0x229)](_0x369c8b[_0x1c3e49(0x21b)],_0x369c8b[_0x1c3e49(0x1e4)])[_0x1c3e49(0x1b2)](_0x35acf5=>_0x35acf5[_0x1c3e49(0x1a2)]>=this[_0x1c3e49(0x254)]);_0x3e34f4[_0x1c3e49(0x200)](_0x58228b=>this[_0x1c3e49(0x20a)](_0x58228b)),this[_0x1c3e49(0x1e1)]=this[_0x1c3e49(0x1e1)][_0x1c3e49(0x1b2)](_0x4eddb5=>!_0x4eddb5[_0x1c3e49(0x1d9)]||!this[_0x1c3e49(0x176)][_0x1c3e49(0x1c6)](this[_0x1c3e49(0x1bb)](_0x4eddb5))),this[_0x1c3e49(0x1e1)][_0x1c3e49(0x15d)]&&W(this[_0x1c3e49(0x1e1)],this[_0x1c3e49(0x1e1)][0x0][_0x1c3e49(0x1a2)]),await this[_0x1c3e49(0x262)](_0x3e34f4),_0x76f76f=this[_0x1c3e49(0x24b)](_0x3e34f4,_0x369c8b[_0x1c3e49(0x248)],_0x369c8b[_0x1c3e49(0x23e)]),this[_0x1c3e49(0x1f0)]=Math[_0x1c3e49(0x181)](this[_0x1c3e49(0x1f0)]/0x2);}return _0x76f76f?!this[_0x1c3e49(0x1af)]()||(this[_0x1c3e49(0x16b)](!0x0),!0x1):this[_0x1c3e49(0x212)](_0x1c3e49(0x1ea));}[_0x297c45(0x24b)](_0x28d0bf,_0x5df468,_0x261331){const _0x1c8808=_0x297c45;try{const _0x4f573a={'document':this[_0x1c8808(0x19c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x125c44,operationsB:_0x45abc0,originalOperations:_0x286e66}=_0x518664(_0x28d0bf,this[_0x1c8808(0x1e1)],_0x4f573a);W(_0x125c44,this[_0x1c8808(0x19c)][_0x1c8808(0x248)]),W(_0x45abc0,_0x5df468);for(const _0x367a28 of _0x125c44){const _0x577c92=_0x286e66[_0x1c8808(0x190)](_0x367a28);_0x367a28[_0x1c8808(0x180)]=_0x577c92?_0x577c92[_0x1c8808(0x180)]:null;}_0x261331&&(this[_0x1c8808(0x1d0)][_0x1c8808(0x187)](_0x28d0bf,_0x261331),this[_0x1c8808(0x21c)]=_0x261331),this[_0x1c8808(0x1e1)]=[..._0x45abc0],this[_0x1c8808(0x174)](_0x125c44),this[_0x1c8808(0x1a9)](_0x28d0bf);}catch(_0x259f72){return console[_0x1c8808(0x211)](_0x259f72),!0x1;}return!0x0;}[_0x297c45(0x174)](_0x5e7afa,_0x5c1787=!0x1){const _0x5b9648=_0x297c45;this[_0x5b9648(0x1b8)][_0x5b9648(0x171)][_0x5b9648(0x1ab)]({'isUndoable':!0x1,'isLocal':!0x1},_0x351441=>{const _0x440064=_0x5b9648;for(const _0x338d8e of _0x5e7afa)this[_0x440064(0x18c)][_0x440064(0x25f)](_0x338d8e),this[_0x440064(0x20a)](_0x338d8e),_0x351441[_0x440064(0x1c3)][_0x440064(0x1f7)](_0x338d8e),this[_0x440064(0x1b8)][_0x440064(0x171)][_0x440064(0x219)](_0x338d8e);});}[_0x297c45(0x20a)](_0x54caa8){const _0x2574d3=_0x297c45,_0x1aa1cd=this[_0x2574d3(0x1bb)](_0x54caa8);_0x1aa1cd&&this[_0x2574d3(0x176)][_0x2574d3(0x25f)](_0x1aa1cd);}[_0x297c45(0x1bb)](_0x319656){const _0x47a91b=_0x297c45;let _0x47dcbf,_0x4c61ad;switch(_0x319656[_0x47a91b(0x164)]){case _0x47a91b(0x24f):_0x47dcbf=_0x319656[_0x47a91b(0x1f6)][_0x47a91b(0x1ca)];break;case _0x47a91b(0x199):if(_0x4c61ad=_0x319656[_0x47a91b(0x1d4)],!_0x4c61ad)return null;_0x47dcbf=_0x4c61ad[_0x47a91b(0x1ca)];break;case _0x47a91b(0x1cb):_0x47dcbf=_0x319656[_0x47a91b(0x1ca)];break;case _0x47a91b(0x231):_0x47dcbf=_0x319656[_0x47a91b(0x261)];break;case _0x47a91b(0x167):_0x47dcbf=_0x319656[_0x47a91b(0x18a)][_0x47a91b(0x1ca)];break;default:return null;}return _0x47dcbf[_0x47a91b(0x21d)];}[_0x297c45(0x1a9)](_0x5d7297){const _0x23368d=_0x297c45;_0x5d7297[_0x23368d(0x200)](_0x569558=>{const _0xb538ce=_0x23368d,_0x237c14=_0x569558[_0xb538ce(0x173)]();_0x237c14[_0xb538ce(0x180)]=_0x569558[_0xb538ce(0x180)],_0x237c14[_0xb538ce(0x1d9)]=!!_0x569558[_0xb538ce(0x1d9)],_0x237c14[_0xb538ce(0x25d)]=_0x569558[_0xb538ce(0x25d)],_0x237c14[_0xb538ce(0x1a2)]+=this[_0xb538ce(0x21a)],_0x569558[_0xb538ce(0x204)]&&this[_0xb538ce(0x15e)][_0xb538ce(0x25f)](_0x237c14),this[_0xb538ce(0x258)][_0xb538ce(0x1f7)](_0x237c14);});}[_0x297c45(0x1cc)](_0x560de5){const _0x57339b=_0x297c45,_0x41de0f=this[_0x57339b(0x1b8)][_0x57339b(0x1cf)][_0x57339b(0x190)](_0x57339b(0x22d)),_0x3f29c1=this[_0x57339b(0x1b8)][_0x57339b(0x210)];_0x560de5||(_0x560de5=_0x3b0bb0(_0x3f29c1,_0x57339b(0x1a8))),_0x41de0f[_0x57339b(0x206)](_0x560de5,{'title':_0x3b0bb0(_0x3f29c1,_0x57339b(0x242)),'namespace':_0x57339b(0x232)}),this[_0x57339b(0x1a1)]=!0x0,clearTimeout(this[_0x57339b(0x1d2)]),this[_0x57339b(0x1e1)]=[],this[_0x57339b(0x1b8)][_0x57339b(0x1cf)][_0x57339b(0x190)](_0x2d03da)[_0x57339b(0x221)]();}[_0x297c45(0x1e8)](){const _0x45291e=_0x297c45;this[_0x45291e(0x24d)]||(this[_0x45291e(0x24d)]=this[_0x45291e(0x1b8)][_0x45291e(0x1cf)][_0x45291e(0x190)](_0x4bff20)[_0x45291e(0x25f)](_0x3b0bb0(this[_0x45291e(0x1b8)][_0x45291e(0x210)],_0x45291e(0x24e))));}[_0x297c45(0x170)](){const _0xa3d8d8=_0x297c45;this[_0xa3d8d8(0x24d)]&&(this[_0xa3d8d8(0x1b8)][_0xa3d8d8(0x1cf)][_0xa3d8d8(0x190)](_0x4bff20)[_0xa3d8d8(0x207)](this[_0xa3d8d8(0x24d)]),this[_0xa3d8d8(0x24d)]=null);}[_0x297c45(0x201)](_0x2a586a){const _0x544e2e=_0x297c45,_0x3f05f1=_0x2a586a[_0x544e2e(0x1ec)](_0x8da4aa=>_0x8da4aa[_0x544e2e(0x1ef)]());return this[_0x544e2e(0x1f5)][_0x544e2e(0x1bd)](_0x3f05f1);}[_0x297c45(0x229)](_0x1c15a5,_0x5f3dd0){const _0x5a4374=_0x297c45;return this[_0x5a4374(0x1f5)][_0x5a4374(0x238)](_0x1c15a5)[_0x5a4374(0x1ec)]((_0x1a79db,_0x122f9f)=>{const _0x7390c4=_0x5a4374,_0x553b7a=_0x7390c4(0x250)==_0x5f3dd0[_0x122f9f][_0x7390c4(0x164)];if(_0x7390c4(0x193)==_0x1a79db[_0x7390c4(0x1c9)]){const _0x376e6b=_0x1a79db[_0x7390c4(0x1f6)][_0x7390c4(0x1ca)];!this[_0x7390c4(0x19c)][_0x7390c4(0x225)](_0x376e6b)&&(this[_0x7390c4(0x19c)][_0x7390c4(0x18e)](_0x7390c4(0x1fb),_0x376e6b)[_0x7390c4(0x197)]=!0x1);}const _0x3dcf6e=_0x4d9438[_0x7390c4(0x234)](_0x1a79db,this[_0x7390c4(0x19c)]);return _0x3dcf6e[_0x7390c4(0x218)]=_0x1a79db[_0x7390c4(0x218)],_0x3dcf6e[_0x7390c4(0x1d9)]=_0x553b7a,_0x3dcf6e[_0x7390c4(0x180)]=_0x553b7a?null:_0x5f3dd0[_0x122f9f][_0x7390c4(0x249)],_0x3dcf6e[_0x7390c4(0x204)]=_0x7390c4(0x1c8)===_0x5f3dd0[_0x122f9f][_0x7390c4(0x164)],_0x3dcf6e[_0x7390c4(0x25d)]=_0x5f3dd0[_0x122f9f][_0x7390c4(0x25d)],_0x3dcf6e;});}[_0x297c45(0x22e)](){const _0x54bc8d=_0x297c45;this[_0x54bc8d(0x25e)]=!0x0,this[_0x54bc8d(0x240)]()?this[_0x54bc8d(0x16b)]():this[_0x54bc8d(0x25e)]=!0x1;}[_0x297c45(0x240)](){const _0x28edb6=_0x297c45,_0x2be767=this[_0x28edb6(0x1b8)][_0x28edb6(0x1cf)][_0x28edb6(0x190)](_0x21b1bc)[_0x28edb6(0x1dd)][_0x28edb6(0x190)](this[_0x28edb6(0x217)]);return!this[_0x28edb6(0x1b8)][_0x28edb6(0x1f2)]&&!!_0x2be767&&_0x2be767[_0x28edb6(0x15d)]>0x1&&this[_0x28edb6(0x25e)];}[_0x297c45(0x1af)](){const _0x33ea3a=_0x297c45;return this[_0x33ea3a(0x1e1)][_0x33ea3a(0x15d)]>0x0||this[_0x33ea3a(0x240)]();}}class V extends Error{}function W(_0x3821ee,_0x20b778){const _0x32017a=_0x297c45;for(const _0x583343 of _0x3821ee)_0x583343[_0x32017a(0x1a2)]=_0x20b778++;}function _0x3106(){const _0x8bf268=['sendOperations','reconnection:\x20flushed\x20session','$root','editing','includes','roots','1403620qgMEHP','forEach','_compressOperations','disconnected','_ignoredOperations','_isDisconnection','return','showWarning','remove','isEnabled','parse','_addKnownRoot','_isPendingUpdate','_isConnected','getMany','8bDNWzd','setPermissions','locale','error','_crash','destroy','collaboration-missing-channelid','startsWith','_waitUntilSynced','_channelId','wasUndone','applyOperation','_offset','data','_lastSyncedOperationId','rootName','CommentsOnly','realtimecollaborationclient-error','realtimecollaborationclient-init-session-connection-error','disconnect','state','getOperationAuthor','currentDocumentSession','getRoot','11SwxoaU','realtimecollaborationclient','realtimecollaborationclient-init-document-already-initialized','_decompressOperations','message','createRange','3ytAOer','Notification','_refreshUserSelectionMarkers','suppressErrorInCollaboration','_setUpDataInit','addRoot','real-time-collaboration','loadRoot','fromJSON','getConnectedSessions','apply','history','decompress','isPremiumPlugin','high','409','RealTimeCollaborationClient','string','lastOperationId','lastOperationAcceptedAt','_shouldSendSelectionUpdate','end','Synchronization\x20issue','4772064twFLRD','reset','createPositionFromPath','view','connection','version','userId','fire','_handleExternalOperations','ready','_pendingAction','PENDING_ACTION_SENDING_DATA','insert','init','getIdOfTheLastOperation','_handleReconnectionResponse','_baseBufferDelay','_lastServerVersion','_initThrowingOnDataSet','change:_isEditingAllowed','selection','serverHistory','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','sessionCreatedAt','_bufferRootLoad','createdAt','_hasSelectionChanged','add','rtc-destroyed','affectedSelectable','_fetchMissingUsers','_operationToId','push','length','_disconnectionOperations','lastSyncVersion','slice','isOfficialPlugin','enableReadOnlyMode','differ','type','change:range','_disconnectService','move','24HYTtPi','markers','mySessionId','_sendBufferedOperationsDelayed','389332SzmlQf','478401hElolq','catch','lastDocumentSession','_clearPendingAction','model','_connectAfterSessionHasBeenFlushed','clone','_applyOperationsSet','_getOperationsFromInitData','_knownRootNames','entries','change:_isPendingUpdate','change:hasDomSelection','requires','addUser','operationsReceived','_service','wereChangesApplied','affectsData','_authorId','round','cloudDocumentVersion','register','_loadRoot','set','realtimecollaborationclient-sendbufferedoperations','setIdForTheLastOperation','document','from','targetPosition','realtimecollaborationclient-init-non-existent-root','_knownOperations','getOperations','createRoot','_handleServerResponse','get','attributes','_sendBufferedOperations','InsertOperation','size','offset','rtc-offline','_isAttached','realtimecollaborationclient-init-service-incorrect-server-operation','marker','_handleInitialConnectionData','realtimecollaborationclient-init-service-internal-error','_document','isUndoneOperation','9RQbOSw','createPositionAt','cloudServices.bundleVersion','_hasSynchronizationProblem','baseVersion','cloud-services-internal-error:\x20Request\x20timeout.','collaboration','_connectService','6513204rALomo','stop','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.','_updateServerHistory','connected','enqueueChange','_isLoaded','config','getDocumentDetails','_shouldSendUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','then','filter','disableReadOnlyMode','createUserMarkerOperations','collaboration.channelId','31210SyRhvL','getUser','editor','removeFromReconnectionStack','_isEditingAllowed','_getAffectedRoot','_handleSendingSelectionMarkers','compress','realtimecollaborationclient-init-connection-failed','_handleReceivedOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','404','initData','batch','pluginName','rootsAttributes','has','keys','cs:removeUser','__className','root','addRootAttribute','_handleReconnectionError','connect','Permissions','plugins','_operationIdentifier','343176UeJwed','_sendBufferedOperationsDelayId','code','newRange','_saveOperationInBuffer','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','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.','_initSessionsHandling','_isInit','reconnect','isDocumentOperation','CollaborativeEditingService','channelSessions','bind','finally','multi-root-editor-root-attributes-no-root','_bufferedOperations','document:write','unregister','metadata','listenTo','permissions','sessionId','_setPendingAction','path','realtimecollaborationclient-handleserverresponse','stopListening','map','start','sessionAdd:','toJSON','_currentBufferDelay','cloud-services-internal-error:\x20Not\x20connected.','isReadOnly','define','directChange','_compressor','position','addOperation','off'];_0x3106=function(){return _0x8bf268;};return _0x3106();}class F{[_0x297c45(0x203)];[_0x297c45(0x263)];constructor(_0x3eefa8){const _0x3235e9=_0x297c45;this[_0x3235e9(0x203)]=_0x3eefa8,this[_0x3235e9(0x263)]=new WeakMap();}[_0x297c45(0x251)](_0x438f80){const _0x206134=_0x297c45;let _0xec0853=_0x438f80[_0x206134(0x15d)];for(;_0xec0853--;){const _0x3ce445=_0x438f80[_0xec0853];if(!this[_0x206134(0x203)][_0x206134(0x1c6)](_0x3ce445)){if(!this[_0x206134(0x263)][_0x206134(0x1c6)](_0x3ce445)){const _0x470125=_0x474dfd()[_0x206134(0x160)](0x1,0x12);this[_0x206134(0x263)][_0x206134(0x185)](_0x3ce445,_0x470125);}return this[_0x206134(0x263)][_0x206134(0x190)](_0x3ce445);}}}[_0x297c45(0x187)](_0x16755e,_0x2a5e94){const _0x5cc4ce=_0x297c45;if(!_0x2a5e94)return;let _0x1568d2=_0x16755e[_0x5cc4ce(0x15d)];for(;_0x1568d2--;){const _0x379e37=_0x16755e[_0x1568d2];this[_0x5cc4ce(0x203)][_0x5cc4ce(0x1c6)](_0x379e37)||this[_0x5cc4ce(0x263)][_0x5cc4ce(0x185)](_0x379e37,_0x2a5e94);}}}
23
+ const _0x38e931=_0x381c;(function(_0x2da140,_0x4b7ac9){const _0x172145=_0x381c,_0x9c5f91=_0x2da140();while(!![]){try{const _0x209029=-parseInt(_0x172145(0xf1))/0x1*(-parseInt(_0x172145(0x159))/0x2)+parseInt(_0x172145(0xc5))/0x3+-parseInt(_0x172145(0x162))/0x4*(-parseInt(_0x172145(0x7f))/0x5)+parseInt(_0x172145(0x6b))/0x6*(parseInt(_0x172145(0xc2))/0x7)+-parseInt(_0x172145(0x9f))/0x8*(-parseInt(_0x172145(0xeb))/0x9)+-parseInt(_0x172145(0x80))/0xa*(parseInt(_0x172145(0x106))/0xb)+-parseInt(_0x172145(0x7a))/0xc*(parseInt(_0x172145(0x71))/0xd);if(_0x209029===_0x4b7ac9)break;else _0x9c5f91['push'](_0x9c5f91['shift']());}catch(_0x1779b1){_0x9c5f91['push'](_0x9c5f91['shift']());}}}(_0x3547,0x98ef6));import{Plugin as _0xd72703,PendingActions as _0x10a7a5}from'ckeditor5/src/core.js';import{CKEditorError as _0x42dda5,version as _0x1771ba,uid as _0x552842}from'ckeditor5/src/utils.js';import{Notification as _0x52a7c8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3ba727,NoOperation as _0xb38853,InsertOperation as _0x44c023,MarkerOperation as _0x50001,RootAttributeOperation as _0x1e351b,OperationFactory as _0x2352a1,History as _0x13cb0a}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1360dd}from'./websocketgateway.js';import{Sessions as _0x422ef6}from'./sessions.js';import{UserMarkers as _0x1e7221}from'./usermarkers.js';import{getTranslation as _0x31d992}from'../common-translations.js';import{Compressor as _0x8fbdab}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x16df45}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x381c(_0x84a441,_0x279226){const _0x354737=_0x3547();return _0x381c=function(_0x381cd0,_0x264f67){_0x381cd0=_0x381cd0-0x65;let _0x2e3e4e=_0x354737[_0x381cd0];return _0x2e3e4e;},_0x381c(_0x84a441,_0x279226);}import{User as _0x2ecd2e,CollaborativeEditingService as _0x5d4658}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;function _0x3547(){const _0x76429a=['_isPendingUpdate','listenTo','_isAttached','connection','keys','editor','fromJSON','unregister','high','add','_loadRoot','_sendBufferedOperationsDelayed','size','suppressErrorInCollaboration','656aVMsmV','_operationIdentifier','return','rootsAttributes','data','start','baseVersion','round','directChange','from','applyOperation','mySessionId','differ','offset','realtimecollaborationclient-init-non-existent-root','clone','catch','_shouldSendSelectionUpdate','isEnabled','document','sessionId','push','isOfficialPlugin','change:_isPendingUpdate','define','Notification','$root','_getAffectedRoot','getUser','position','change:_isEditingAllowed','_lastSyncedOperationId','initData','isDocumentOperation','channelSessions','28zgOiuE','_offset','_disconnectService','2040645qqlXaD','change:hasDomSelection','_lastServerVersion','rootName','error','selection','document:write','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_connectAfterSessionHasBeenFlushed','permissions','404','plugins','remove','_refreshUserSelectionMarkers','metadata','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_sendBufferedOperationsDelayId','reconnection:\x20flushed\x20session','cloud-services-internal-error:\x20Request\x20timeout.','_applyOperationsSet','loadRoot','addUser','addToReconnectionStack','sessionAdd:','then','PENDING_ACTION_SENDING_DATA','operationsReceived','length','parse','serverHistory','get','getOperationAuthor','markers','end','ready','_knownOperations','stopListening','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.','21132OZIQln','isReadOnly','enqueueChange','wasUndone','move','sendOperations','8656jSxQlK','type','createdAt','_hasSynchronizationProblem','realtimecollaborationclient-init-connection-failed','path','InsertOperation','cloudServices.bundleVersion','realtimecollaborationclient-init-service-incorrect-server-operation','_pendingAction','getRoot','filter','init','realtimecollaborationclient','_fetchMissingUsers','history','409','lastOperationId','reset','_getOperationsFromInitData','multi-root-editor-root-attributes-no-root','27764OdZjzS','_initThrowingOnDataSet','insert','roots','collaboration-missing-channelid','realtimecollaborationclient-init-document-already-initialized','state','rtc-offline','realtimecollaborationclient-init-service-internal-error','_isLoaded','realtimecollaborationclient-handleserverresponse','_compressOperations','apply','decompress','realtimecollaborationclient-init-session-connection-error','_handleSendingSelectionMarkers','requires','slice','compress','getIdOfTheLastOperation','_isDisconnection','message','includes','set','createUserMarkerOperations','_hasSelectionChanged','rtc-destroyed','bind','Synchronization\x20issue','version','removeFromReconnectionStack','startsWith','_bufferedOperations','_addKnownRoot','setIdForTheLastOperation','lastDocumentSession','entries','code','cs:removeUser','getOperations','lastOperationAcceptedAt','currentDocumentSession','_document','change:range','addRootAttribute','locale','toJSON','_updateServerHistory','_decompressOperations','createPositionAt','_baseBufferDelay','_setPendingAction','_clearPendingAction','wereChangesApplied','_handleReconnectionError','root','_isEditingAllowed','_crash','_currentBufferDelay','_handleExternalOperations','Permissions','_isConnected','_waitUntilSynced','sessionCreatedAt','_bufferRootLoad','_operationToId','forEach','string','setPermissions','has','stop','disconnected','showWarning','editing','RealTimeCollaborationClient','_shouldSendUpdate','map','attributes','_handleReceivedOperations','reconnect','model','CommentsOnly','realtimecollaborationclient-error','6PDSzaw','connected','_service','_saveOperationInBuffer','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleServerResponse','collaboration','targetPosition','cloud-services-internal-error:\x20Not\x20connected.','4ycTRww','finally','disconnect','off','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','batch','register','addRoot','disableReadOnlyMode','marker','real-time-collaboration','_connectService','getMany','lastSyncVersion','_disconnectionOperations','_ignoredOperations','_handleReconnectionResponse','getConnectedSessions','1415886lPIvGS','__className','view','collaboration.channelId','_handleInitialConnectionData','destroy','5744089jXuTGK','addOperation','CollaborativeEditingService','createRoot','cloudDocumentVersion','fire','_isInit','enableReadOnlyMode','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.','36TwDTRN','newRange','_setUpDataInit','_sendBufferedOperations','userId','5455870HBglhP','3890ssUlrg','connect','_initSessionsHandling','realtimecollaborationclient-sendbufferedoperations','createRange','createPositionFromPath','getDocumentDetails','_compressor','affectedSelectable','pluginName','isUndoneOperation','isPremiumPlugin','_authorId','_knownRootNames','_channelId','config','affectsData'];_0x3547=function(){return _0x76429a;};return _0x3547();}export class RealTimeCollaborationClient extends _0xd72703{static [_0x38e931(0x73)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x5d4658)());[_0x38e931(0xc3)];[_0x38e931(0xb3)];[_0x38e931(0xe2)];[_0x38e931(0x8e)];[_0x38e931(0x15b)];[_0x38e931(0x130)];[_0x38e931(0x87)];[_0x38e931(0x126)];[_0x38e931(0xe8)];[_0x38e931(0x8d)];[_0x38e931(0xfa)];[_0x38e931(0x11f)];[_0x38e931(0xd5)];[_0x38e931(0x138)];[_0x38e931(0x140)];[_0x38e931(0xbe)];[_0x38e931(0x67)];[_0x38e931(0xa0)];static get[_0x38e931(0x116)](){return[_0x1360dd,_0x422ef6,_0x1e7221,_0x10a7a5,_0x16df45,_0x52a7c8];}static get[_0x38e931(0x89)](){const _0x1a2085=_0x38e931;return _0x1a2085(0x150);}static get[_0x38e931(0xb5)](){return!0x0;}static get[_0x38e931(0x8b)](){return!0x0;}get[_0x38e931(0x75)](){const _0x2889cb=_0x38e931;return this[_0x2889cb(0xc7)]+this[_0x2889cb(0xc3)];}get[_0x38e931(0xc7)](){const _0x518581=_0x38e931;return this[_0x518581(0xe2)][_0x518581(0x123)]-this[_0x518581(0xc3)];}get[_0x38e931(0x66)](){const _0x1acf53=_0x38e931,_0xaee4d=this[_0x1acf53(0xe2)][_0x1acf53(0x12d)]();for(let _0x3e016f=_0xaee4d[_0x1acf53(0xe0)]-0x1;_0x3e016f>=0x0;_0x3e016f--){const _0x36ec7d=_0xaee4d[_0x3e016f];if(!this[_0x1acf53(0x67)][_0x1acf53(0x14b)](_0x36ec7d))return _0x36ec7d[_0x1acf53(0xa5)]+0x1-this[_0x1acf53(0xc3)];}return 0x0;}constructor(_0x4bccf9){const _0x52f5d1=_0x38e931;if(super(_0x4bccf9),this[_0x52f5d1(0xc3)]=0x0,this[_0x52f5d1(0xb3)]=null,this[_0x52f5d1(0xe2)]=new _0x13cb0a(),this[_0x52f5d1(0x96)][_0x52f5d1(0x8f)][_0x52f5d1(0xb7)](_0x52f5d1(0x15f),{}),this[_0x52f5d1(0x8e)]=this[_0x52f5d1(0x96)][_0x52f5d1(0x8f)][_0x52f5d1(0xe3)](_0x52f5d1(0x6e)),!this[_0x52f5d1(0x8e)])throw new _0x42dda5(_0x52f5d1(0x10a),this);const _0x437165=_0x4bccf9[_0x52f5d1(0x8f)][_0x52f5d1(0xe3)](_0x52f5d1(0xf8))||_0x1771ba;this[_0x52f5d1(0x15b)]=new RealTimeCollaborationClient[(_0x52f5d1(0x73))](_0x437165,this[_0x52f5d1(0x8e)]),this[_0x52f5d1(0x130)]=this[_0x52f5d1(0x96)][_0x52f5d1(0x156)][_0x52f5d1(0xb2)],this[_0x52f5d1(0x87)]=new _0x8fbdab(),this[_0x52f5d1(0x126)]=[],this[_0x52f5d1(0xe8)]=new WeakSet(),this[_0x52f5d1(0x8d)]=new Set(),this[_0x52f5d1(0x11d)](_0x52f5d1(0x91),!0x1),this[_0x52f5d1(0x11d)](_0x52f5d1(0xf4),!0x1),this[_0x52f5d1(0xfa)]=null,this[_0x52f5d1(0x11f)]=!0x1,this[_0x52f5d1(0xd5)]=null,this[_0x52f5d1(0x138)]=0x12c,this[_0x52f5d1(0x140)]=this[_0x52f5d1(0x138)],this[_0x52f5d1(0xbe)]=null,this[_0x52f5d1(0x67)]=new WeakSet(),this[_0x52f5d1(0xa0)]=new Z(this[_0x52f5d1(0x67)]);}[_0x38e931(0xfd)](){const _0x4d6c72=_0x38e931,_0x53d411=this[_0x4d6c72(0x96)],_0x3fbbda=_0x53d411[_0x4d6c72(0xd0)][_0x4d6c72(0xe3)](_0x16df45),_0x471319=_0x53d411[_0x4d6c72(0xd0)][_0x4d6c72(0xe3)](_0x1360dd);this[_0x4d6c72(0x92)](_0x3fbbda,_0x4d6c72(0xe4),(_0x26c234,_0x280671)=>{const _0x4cbe06=_0x4d6c72,_0x43f3e8=_0x280671[0x0];_0x43f3e8[_0x4cbe06(0x8c)]&&(_0x26c234[_0x4cbe06(0xa1)]=_0x3fbbda[_0x4cbe06(0xbb)](_0x43f3e8[_0x4cbe06(0x8c)]),_0x26c234[_0x4cbe06(0x14c)]()),null===_0x43f3e8[_0x4cbe06(0x8c)]&&(_0x26c234[_0x4cbe06(0xa1)]=null,_0x26c234[_0x4cbe06(0x14c)]());},{'priority':_0x4d6c72(0x99)}),this[_0x4d6c72(0x92)](_0x53d411[_0x4d6c72(0x156)][_0x4d6c72(0xb2)][_0x4d6c72(0xca)],_0x4d6c72(0x131),(_0x235f3c,_0xc039b6)=>{const _0x40ff93=_0x4d6c72;_0xc039b6[_0x40ff93(0xa7)]&&this[_0x40ff93(0xd2)]();}),this[_0x4d6c72(0x92)](_0x53d411[_0x4d6c72(0x14f)][_0x4d6c72(0x6d)],_0x4d6c72(0xc6),()=>{const _0xce73f=_0x4d6c72;this[_0xce73f(0xd2)]();}),this[_0x4d6c72(0x107)](),_0x53d411[_0x4d6c72(0x156)]['on'](_0x4d6c72(0xa9),(_0x466392,_0x2c767e)=>{const _0x28530a=_0x4d6c72,_0x303195=_0x2c767e[0x0];_0x303195[_0x28530a(0xc0)]&&(this[_0x28530a(0x15c)](_0x303195),this[_0x28530a(0x151)]()&&this[_0x28530a(0x9c)]());}),this[_0x4d6c72(0x7c)](),this[_0x4d6c72(0x121)](_0x4d6c72(0x13e))['to'](_0x471319,_0x4d6c72(0x10c),this,_0x4d6c72(0xf4),(_0x29218e,_0x3fb3bf)=>_0x4d6c72(0x15a)===_0x29218e&&!_0x3fb3bf),this['on'](_0x4d6c72(0xbd),()=>{const _0x220ad6=_0x4d6c72;this[_0x220ad6(0x13e)]?_0x53d411[_0x220ad6(0x16a)](_0x220ad6(0x10d)):_0x53d411[_0x220ad6(0x78)](_0x220ad6(0x10d));}),this[_0x4d6c72(0x13e)]?_0x53d411[_0x4d6c72(0x16a)](_0x4d6c72(0x10d)):_0x53d411[_0x4d6c72(0x78)](_0x4d6c72(0x10d)),this[_0x4d6c72(0x11d)](_0x4d6c72(0x143),!0x1);}async[_0x38e931(0x155)](){const _0x4f141b=_0x38e931,_0x591388=this[_0x4f141b(0x96)][_0x4f141b(0xd0)][_0x4f141b(0xe3)](_0x422ef6),_0x38b099=this[_0x4f141b(0x96)][_0x4f141b(0xd0)][_0x4f141b(0xe3)](_0x1360dd);try{this[_0x4f141b(0x91)]=!0x0,_0x591388[_0x4f141b(0x98)](this[_0x4f141b(0x8e)]);const _0x65ba02=await this[_0x4f141b(0x15b)][_0x4f141b(0x155)](_0x38b099[_0x4f141b(0x94)],this[_0x4f141b(0x66)]);await this[_0x4f141b(0x69)](_0x65ba02)&&(this[_0x4f141b(0x91)]=!0x1,this[_0x4f141b(0x13a)]());const _0x48e735=await this[_0x4f141b(0x15b)][_0x4f141b(0x6a)]();_0x591388[_0x4f141b(0x168)](this[_0x4f141b(0x8e)],_0x48e735),this[_0x4f141b(0x115)](),this[_0x4f141b(0x143)]=!0x0;}catch(_0x14b816){if(function(_0x3180c3){const _0x2e9e1e=_0x4f141b;return _0x2e9e1e(0xcf)===_0x3180c3[_0x2e9e1e(0x12b)];}(_0x14b816)&&this[_0x4f141b(0xb3)])await this[_0x4f141b(0xcd)]();else{if(function(_0x197e41){const _0x560131=_0x4f141b;return _0x560131(0x101)===_0x197e41[_0x560131(0x12b)];}(_0x14b816)){const _0x5aaea5=_0x31d992(this[_0x4f141b(0x96)][_0x4f141b(0x133)],_0x4f141b(0x15d));this[_0x4f141b(0x13c)](_0x5aaea5);}else{if(!(_0x14b816 instanceof X))throw _0x14b816;this[_0x4f141b(0x13c)]();}}}}[_0x38e931(0x70)](){const _0x5e5900=_0x38e931,_0x71486c=this[_0x5e5900(0x96)][_0x5e5900(0xd0)][_0x5e5900(0xe3)](_0x1360dd),_0x5ee632=this[_0x5e5900(0x96)][_0x5e5900(0xd0)][_0x5e5900(0xe3)](_0x422ef6);this[_0x5e5900(0x96)][_0x5e5900(0x78)](_0x5e5900(0x120)),_0x5ee632[_0x5e5900(0xc1)][_0x5e5900(0x14b)](this[_0x5e5900(0x8e)])&&_0x5ee632[_0x5e5900(0x98)](this[_0x5e5900(0x8e)]),_0x71486c[_0x5e5900(0x124)](this),this[_0x5e5900(0xc4)](),super[_0x5e5900(0x70)]();}async[_0x38e931(0x69)](_0x216280){const _0x43c230=_0x38e931;if(this[_0x43c230(0xb3)]!==_0x216280[_0x43c230(0xb3)]&&this[_0x43c230(0xbe)]!==_0x216280[_0x43c230(0x102)])throw new X();return this[_0x43c230(0xb3)]=_0x216280[_0x43c230(0xb3)],this[_0x43c230(0x15e)]([],{..._0x216280,'wereChangesApplied':!0x1,'data':_0x216280[_0x43c230(0xa3)]},_0x43c230(0x155));}async[_0x38e931(0x16d)](_0x1b505f,_0x3fd854=!0x1){const _0x505ed2=_0x38e931,{connection:_0x1d91da}=this[_0x505ed2(0x96)][_0x505ed2(0xd0)][_0x505ed2(0xe3)](_0x1360dd);RealTimeCollaborationClient[_0x505ed2(0x73)][_0x505ed2(0x6a)](_0x1d91da,this[_0x505ed2(0x8e)])[_0x505ed2(0xdd)](_0x23a823=>this[_0x505ed2(0x82)](_0x23a823))[_0x505ed2(0xaf)](_0x4fa1b1=>{const _0x3789c1=_0x505ed2;this[_0x3789c1(0x13f)](_0x3789c1(0x114),_0x4fa1b1);}),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0xdf),this[_0x505ed2(0x154)][_0x505ed2(0x121)](this)),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0xc9),(_0x3287ef,_0xebc6aa)=>{const _0x54e0d8=_0x505ed2;this[_0x54e0d8(0x13f)](_0x54e0d8(0x10e),_0xebc6aa);}),this[_0x505ed2(0x92)](this[_0x505ed2(0x15b)],_0x505ed2(0x14d),()=>{const _0x2dace9=_0x505ed2;this[_0x2dace9(0x143)]=!0x1;});const _0x258c0e=this[_0x505ed2(0xa0)][_0x505ed2(0x119)](_0x1b505f);this[_0x505ed2(0x91)]=!0x0;const _0x1b8bdc=await this[_0x505ed2(0x15b)][_0x505ed2(0x81)](_0x1d91da,this[_0x505ed2(0x111)](_0x1b505f),_0x258c0e);if(this[_0x505ed2(0xb3)]=_0x1b8bdc[_0x505ed2(0xb3)],_0x3fd854){if(!_0x1b8bdc[_0x505ed2(0x13b)])return void this[_0x505ed2(0x13c)]();this[_0x505ed2(0x91)]=!0x1,this[_0x505ed2(0x13a)](),this[_0x505ed2(0xe2)][_0x505ed2(0x103)](),this[_0x505ed2(0xc3)]=_0x1b8bdc[_0x505ed2(0xac)],this[_0x505ed2(0xe2)][_0x505ed2(0x123)]=this[_0x505ed2(0xc3)],await this[_0x505ed2(0x15e)](_0x1b505f,_0x1b8bdc,_0x505ed2(0xd6));}else await this[_0x505ed2(0x6f)](_0x1b8bdc,_0x1b505f);this[_0x505ed2(0x115)](),this[_0x505ed2(0x143)]=!0x0;}[_0x38e931(0x115)](){const _0x3fd3e9=_0x38e931,_0x2485f4=this[_0x3fd3e9(0x96)][_0x3fd3e9(0xd0)][_0x3fd3e9(0xe3)](_0x422ef6),_0x32bc97=this[_0x3fd3e9(0x96)][_0x3fd3e9(0xd0)][_0x3fd3e9(0xe3)](_0x1e7221),_0x3b0897=_0x2485f4[_0x3fd3e9(0xc1)][_0x3fd3e9(0xe3)](this[_0x3fd3e9(0x8e)]);_0x3b0897&&_0x3b0897[_0x3fd3e9(0xe0)]>0x1?_0x32bc97[_0x3fd3e9(0x11e)]():this[_0x3fd3e9(0x92)](_0x2485f4,_0x3fd3e9(0xdc)+this[_0x3fd3e9(0x8e)],()=>{const _0xf1d500=_0x3fd3e9;0x2===_0x2485f4[_0xf1d500(0xc1)][_0xf1d500(0xe3)](this[_0xf1d500(0x8e)])[_0xf1d500(0xe0)]&&_0x32bc97[_0xf1d500(0x11e)]();});}async[_0x38e931(0x154)](_0x1e55f6,_0x364254,_0x36d3a4,_0x192c91){const _0x30df42=_0x38e931;if(!this[_0x30df42(0x91)]&&this[_0x30df42(0x130)][_0x30df42(0x123)]==_0x364254){const _0x20e903=this[_0x30df42(0x136)](_0x36d3a4,_0x192c91);await this[_0x30df42(0xff)](_0x20e903),this[_0x30df42(0x141)](_0x20e903,_0x364254,_0x36d3a4[_0x30df42(0x102)])||this[_0x30df42(0x13f)](_0x30df42(0xf9));}}async[_0x38e931(0xcd)](){const _0x532b09=_0x38e931;this[_0x532b09(0xc4)]();const {locale:_0x15c984}=this[_0x532b09(0x96)];let _0x2482e7;try{_0x2482e7=await this[_0x532b09(0x15b)][_0x532b09(0x86)]();}catch{const _0x424669=_0x31d992(_0x15c984,_0x532b09(0xcc));return void this[_0x532b09(0x13c)](_0x424669);}const _0x4c2ae2=_0x2482e7[_0x532b09(0x12f)]||_0x2482e7[_0x532b09(0x129)];if(this[_0x532b09(0xbe)]!==_0x4c2ae2[_0x532b09(0x102)]){const _0x400c72=_0x31d992(_0x15c984,_0x532b09(0x79));return void this[_0x532b09(0x13c)](_0x400c72);}await this[_0x532b09(0x16d)](this[_0x532b09(0x96)][_0x532b09(0x156)][_0x532b09(0xb2)][_0x532b09(0x100)][_0x532b09(0x12d)](),!0x0);}[_0x38e931(0xc4)](){const _0x5e0bc5=_0x38e931;this[_0x5e0bc5(0x15b)][_0x5e0bc5(0x164)](),this[_0x5e0bc5(0x126)]=[],clearTimeout(this[_0x5e0bc5(0xd5)]),this[_0x5e0bc5(0xe9)](this[_0x5e0bc5(0x15b)]);}[_0x38e931(0x82)](_0xe18a40){const _0x33e5b7=_0x38e931,_0x3f1975=this[_0x33e5b7(0x96)][_0x33e5b7(0xd0)][_0x33e5b7(0xe3)](_0x422ef6);this[_0x33e5b7(0x92)](_0x3f1975,_0x33e5b7(0xdc)+this[_0x33e5b7(0x8e)],(_0x215ac5,{session:_0x4606e0})=>{const _0x4fcc57=_0x33e5b7;if(_0x4606e0['id']===_0x3f1975[_0x4fcc57(0xaa)]){_0x215ac5[_0x4fcc57(0x165)]();const _0x5e7eee=this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0x14b)](_0x4fcc57(0x157))&&this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0xe3)](_0x4fcc57(0x157));let _0x3bc144=_0x4606e0[_0x4fcc57(0xce)];_0x5e7eee&&_0x5e7eee[_0x4fcc57(0xb1)]&&(_0x3bc144=_0x3bc144[_0x4fcc57(0xfc)](_0xc77778=>_0x4fcc57(0xcb)!==_0xc77778)),this[_0x4fcc57(0x96)][_0x4fcc57(0xd0)][_0x4fcc57(0xe3)](_0x4fcc57(0x142))[_0x4fcc57(0x14a)](_0x3bc144,this[_0x4fcc57(0x8e)]);}}),_0x3f1975[_0x33e5b7(0x168)](this[_0x33e5b7(0x8e)],_0xe18a40);}[_0x38e931(0x107)](){const _0x2d8d86=_0x38e931,_0x11d129=this[_0x2d8d86(0x96)][_0x2d8d86(0xa3)][_0x2d8d86(0x11d)];this[_0x2d8d86(0x96)][_0x2d8d86(0xa3)][_0x2d8d86(0x11d)]=(..._0x269a87)=>{const _0x1ced0f=_0x2d8d86;if(!_0x269a87[_0x269a87[_0x1ced0f(0xe0)]-0x1][_0x1ced0f(0x9e)])throw new _0x42dda5(_0x1ced0f(0xd4),this);_0x11d129[_0x1ced0f(0x112)](this[_0x1ced0f(0x96)][_0x1ced0f(0xa3)],_0x269a87);};}[_0x38e931(0x7c)](){const _0x4b7f46=_0x38e931;this[_0x4b7f46(0x96)][_0x4b7f46(0xa3)]['on'](_0x4b7f46(0xfd),(_0xff74c8,[_0xd664d3])=>{const _0x11338f=_0x4b7f46;if(this[_0x11338f(0x130)][_0x11338f(0x123)])throw new _0x42dda5(_0x11338f(0x10b),this);_0xff74c8[_0x11338f(0x14c)](),this[_0x11338f(0x139)]();const _0x493a80=this[_0x11338f(0x96)][_0x11338f(0x8f)][_0x11338f(0xe3)](_0x11338f(0xa2)),_0x101bd8=this[_0x11338f(0x104)](_0xd664d3,_0x493a80);0x0==_0x101bd8[_0x11338f(0xe0)]&&_0x101bd8[_0x11338f(0xb4)](new _0xb38853(0x0)),_0xff74c8[_0x11338f(0xa1)]=this[_0x11338f(0x16d)](_0x101bd8)[_0x11338f(0xdd)](()=>{const _0x484892=_0x11338f;this[_0x484892(0x96)][_0x484892(0xd0)][_0x484892(0xe3)](_0x1360dd)[_0x484892(0xdb)](this),this[_0x484892(0x96)][_0x484892(0xa3)][_0x484892(0x76)](_0x484892(0xe7));})[_0x11338f(0xaf)](_0x3d1427=>this[_0x11338f(0x13f)](_0x11338f(0xf5),_0x3d1427))[_0x11338f(0x163)](()=>this[_0x11338f(0x13a)]());},{'priority':_0x4b7f46(0x99)}),this[_0x4b7f46(0x96)]['on'](_0x4b7f46(0xd9),async(_0x2b4b9a,[_0x1b8b65,_0x5e98b7])=>{const _0x369a78=_0x4b7f46;_0x2b4b9a[_0x369a78(0x14c)]();const _0x446743=this[_0x369a78(0x96)][_0x369a78(0x156)][_0x369a78(0xb2)][_0x369a78(0xfb)](_0x1b8b65);if(!this[_0x369a78(0x8d)][_0x369a78(0x14b)](_0x1b8b65)){const _0x1de230=_0x5e98b7&&_0x5e98b7[_0x369a78(0xa3)]?_0x5e98b7[_0x369a78(0xa3)]:'',_0x191f68=_0x5e98b7&&_0x5e98b7[_0x369a78(0x153)]?_0x5e98b7[_0x369a78(0x153)]:{};await this[_0x369a78(0x9b)](_0x1b8b65,_0x1de230,_0x191f68);}this[_0x369a78(0x96)][_0x369a78(0x156)][_0x369a78(0xed)]({'isUndoable':!0x1},()=>{const _0x13e026=_0x369a78;_0x446743[_0x13e026(0x10f)]=!0x0,this[_0x13e026(0x96)][_0x13e026(0x156)][_0x13e026(0xb2)][_0x13e026(0xab)][_0x13e026(0x146)](_0x446743);});},{'priority':_0x4b7f46(0x99)});}async[_0x38e931(0xff)](_0x4eed61){const _0x593d73=_0x38e931,_0x252093=this[_0x593d73(0x96)][_0x593d73(0xd0)][_0x593d73(0xe3)](_0x16df45),{connection:_0x44888a}=this[_0x593d73(0x96)][_0x593d73(0xd0)][_0x593d73(0xe3)](_0x1360dd),_0x57a795=new Set();for(const _0x2594e7 of _0x4eed61){const _0x516480=_0x2594e7[_0x593d73(0x8c)];_0x516480&&!_0x252093[_0x593d73(0xbb)](_0x516480)&&_0x57a795[_0x593d73(0x9a)](_0x516480);}if(0x0===_0x57a795[_0x593d73(0x9d)])return;const _0x2de4d2=await _0x2ecd2e[_0x593d73(0x65)](_0x44888a,Array[_0x593d73(0xa8)](_0x57a795));for(const _0x55e017 of _0x2de4d2)_0x252093[_0x593d73(0xbb)](_0x55e017['id'])||_0x252093[_0x593d73(0xda)](_0x55e017);}[_0x38e931(0x104)](_0x316f74,_0x3f2e7c={}){const _0x65e9a6=_0x38e931,_0x506616=this[_0x65e9a6(0x96)][_0x65e9a6(0x156)],_0x550840=[];let _0x1b50cb=0x0;const _0x340783=_0x65e9a6(0x149)==typeof _0x316f74?{'main':_0x316f74}:_0x316f74;for(const _0x44a351 of Object[_0x65e9a6(0x95)](_0x340783)){if(!this[_0x65e9a6(0x130)][_0x65e9a6(0x109)][_0x65e9a6(0x14b)](_0x44a351))throw new _0x42dda5(_0x65e9a6(0xad),this);const _0x956a04=this[_0x65e9a6(0x96)][_0x65e9a6(0xa3)][_0x65e9a6(0xe1)](_0x340783[_0x44a351]),_0x5b5921=this[_0x65e9a6(0x130)][_0x65e9a6(0xfb)](_0x44a351),_0x2fe4aa=new _0x44c023(_0x506616[_0x65e9a6(0x137)](_0x5b5921,0x0),_0x956a04,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x2fe4aa);for(const [_0x1f1f7d,_0x4fdfe2]of _0x956a04[_0x65e9a6(0xe5)]){const _0x574f1b=_0x506616[_0x65e9a6(0x84)](_0x506616[_0x65e9a6(0x85)](_0x5b5921,_0x4fdfe2[_0x65e9a6(0xa4)][_0x65e9a6(0xf6)][_0x65e9a6(0x117)]()),_0x506616[_0x65e9a6(0x85)](_0x5b5921,_0x4fdfe2[_0x65e9a6(0xe6)][_0x65e9a6(0xf6)][_0x65e9a6(0x117)]())),_0x4cf46c=new _0x50001(_0x1f1f7d,null,_0x574f1b,_0x506616[_0x65e9a6(0xe5)],!0x0,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x4cf46c);}}if(_0x3f2e7c)for(const [_0x50f49b,_0xa1c465]of Object[_0x65e9a6(0x12a)](_0x3f2e7c)){const _0x2584e7=_0x506616[_0x65e9a6(0xb2)][_0x65e9a6(0xfb)](_0x50f49b);if(!_0x2584e7)throw new _0x42dda5(_0x65e9a6(0x105),null);for(const [_0x2d2efc,_0x190976]of Object[_0x65e9a6(0x12a)](_0xa1c465))if(null!==_0x190976){const _0x4cb45f=new _0x1e351b(_0x2584e7,_0x2d2efc,null,_0x190976,_0x1b50cb++);_0x550840[_0x65e9a6(0xb4)](_0x4cb45f);}}return _0x550840;}async[_0x38e931(0x9b)](_0x17d95f,_0x1178c0,_0x2d1941){const _0x4af68d=_0x38e931;this[_0x4af68d(0x104)]({[_0x17d95f]:_0x1178c0},{[_0x17d95f]:_0x2d1941})[_0x4af68d(0x148)]((_0x555db6,_0x288040)=>{const _0x4acc22=_0x4af68d;_0x555db6[_0x4acc22(0xa5)]=this[_0x4acc22(0x130)][_0x4acc22(0x123)]+_0x288040,_0x555db6[_0x4acc22(0x77)]=!0x0,this[_0x4acc22(0x15c)](_0x555db6);}),this[_0x4af68d(0x9c)](),await this[_0x4af68d(0x144)]();}async[_0x38e931(0x6f)](_0x472881,_0x2d60fa){const _0x4125cc=_0x38e931;let _0x3b3a78;this[_0x4125cc(0xc3)]=_0x472881[_0x4125cc(0xac)];const _0x5623d0=_0x472881[_0x4125cc(0x13b)]&&!_0x472881[_0x4125cc(0xbf)],_0x20b0c4=_0x5623d0?0x0:_0x472881[_0x4125cc(0xa3)][_0x4125cc(0xa5)];if(_0x2d60fa[_0x4125cc(0x148)](_0x272ad2=>{const _0x27f530=_0x4125cc;_0x272ad2[_0x27f530(0x77)]=!0x0,_0x272ad2[_0x27f530(0xf3)]=_0x472881[_0x27f530(0x145)],_0x272ad2[_0x27f530(0x8c)]=null;}),_0x5623d0)_0x3b3a78=_0x2d60fa,this[_0x4125cc(0xd8)](_0x3b3a78,_0x5623d0);else{if(_0x472881[_0x4125cc(0xbf)]){const _0x16fee4=this[_0x4125cc(0x104)](_0x472881[_0x4125cc(0xbf)]);this[_0x4125cc(0x130)][_0x4125cc(0x100)][_0x4125cc(0x123)]=-_0x16fee4[_0x4125cc(0xe0)],_0x16fee4[_0x4125cc(0x148)](_0x3ef78f=>{const _0x1a714e=_0x4125cc;_0x3ef78f[_0x1a714e(0xa5)]-=_0x16fee4[_0x1a714e(0xe0)],_0x3ef78f[_0x1a714e(0xf3)]=_0x472881[_0x1a714e(0x145)],_0x3ef78f[_0x1a714e(0x77)]=!0x0,_0x3ef78f[_0x1a714e(0x8c)]=null;}),this[_0x4125cc(0xd8)](_0x16fee4,!0x0),this[_0x4125cc(0xe2)][_0x4125cc(0x123)]=-_0x16fee4[_0x4125cc(0xe0)]+this[_0x4125cc(0xc3)],this[_0x4125cc(0x135)](_0x16fee4);}this[_0x4125cc(0x130)][_0x4125cc(0x100)][_0x4125cc(0x123)]=_0x20b0c4,_0x3b3a78=this[_0x4125cc(0x136)](_0x472881[_0x4125cc(0xa3)],_0x472881[_0x4125cc(0xd3)]),await this[_0x4125cc(0xff)](_0x3b3a78),this[_0x4125cc(0xd8)](_0x3b3a78,_0x5623d0);}_0x472881[_0x4125cc(0x102)]&&(this[_0x4125cc(0xa0)][_0x4125cc(0x128)](_0x3b3a78,_0x472881[_0x4125cc(0x102)]),this[_0x4125cc(0xbe)]=_0x472881[_0x4125cc(0x102)]),this[_0x4125cc(0xe2)][_0x4125cc(0x123)]=_0x20b0c4+this[_0x4125cc(0xc3)],this[_0x4125cc(0x135)](_0x3b3a78),_0x2d60fa[_0x4125cc(0xfc)](_0x7d5437=>{const _0x1b583e=_0x4125cc,_0x1af5c9=this[_0x1b583e(0xba)](_0x7d5437);return _0x1af5c9&&!this[_0x1b583e(0x8d)][_0x1b583e(0x14b)](_0x1af5c9);})[_0x4125cc(0x148)]((_0x43039e,_0x3de92d)=>{const _0x52aa52=_0x4125cc;_0x43039e[_0x52aa52(0xa5)]=this[_0x52aa52(0x130)][_0x52aa52(0x123)]+_0x3de92d,this[_0x52aa52(0x15c)](_0x43039e);}),this[_0x4125cc(0x151)]()?(this[_0x4125cc(0x140)]=0x0,this[_0x4125cc(0x9c)](!0x0),await this[_0x4125cc(0x144)]()):(this[_0x4125cc(0x91)]=!0x1,this[_0x4125cc(0x13a)]());}[_0x38e931(0x13f)](_0x69870,_0x5aa649){const _0x3e6bbd=_0x38e931,_0x564a35=_0x5aa649&&_0x5aa649[_0x3e6bbd(0x11b)];if(_0x564a35&&_0x564a35[_0x3e6bbd(0x125)](_0x3e6bbd(0xfe)))throw _0x5aa649;const _0xcd4ac3=this[_0x3e6bbd(0x96)][_0x3e6bbd(0xd0)][_0x3e6bbd(0xe3)](_0x1360dd);throw this[_0x3e6bbd(0x91)]=!0x0,_0xcd4ac3[_0x3e6bbd(0x164)](),this[_0x3e6bbd(0x96)][_0x3e6bbd(0x78)](_0x3e6bbd(0x158)),new _0x42dda5(_0x69870,this[_0x3e6bbd(0x96)],_0x564a35?{'originalError':_0x564a35}:void 0x0);}[_0x38e931(0x15c)](_0x429e74){const _0x387b38=_0x38e931;this[_0x387b38(0xe8)][_0x387b38(0x14b)](_0x429e74)||(this[_0x387b38(0xe8)][_0x387b38(0x9a)](_0x429e74),this[_0x387b38(0x126)][_0x387b38(0xb4)](_0x429e74),this[_0x387b38(0xfa)]||_0x387b38(0x16b)==_0x429e74[_0x387b38(0xf2)]&&!_0x429e74[_0x387b38(0x90)]||this[_0x387b38(0x139)]());}[_0x38e931(0x9c)](_0x399b08=!0x1){const _0x2af8ea=_0x38e931;!_0x399b08&&this[_0x2af8ea(0x91)]||(this[_0x2af8ea(0x91)]=!0x0,clearTimeout(this[_0x2af8ea(0xd5)]),this[_0x2af8ea(0xd5)]=setTimeout(()=>{const _0x1e6eb0=_0x2af8ea;this[_0x1e6eb0(0x7d)]()[_0x1e6eb0(0xdd)](_0x5f02cb=>{const _0x124409=_0x1e6eb0;_0x5f02cb&&(this[_0x124409(0x13a)](),this[_0x124409(0x91)]=!0x1);})[_0x1e6eb0(0xaf)](_0x1ac76a=>{const _0x19b45e=_0x1e6eb0;this[_0x19b45e(0x13a)](),this[_0x19b45e(0x91)]=!0x1,function(_0x138646){const _0x320300=_0x19b45e;return _0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0x161))||_0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0x166))||_0x138646[_0x320300(0x11b)][_0x320300(0x125)](_0x320300(0xd7));}(_0x1ac76a)||this[_0x19b45e(0x13f)](_0x1ac76a[_0x19b45e(0x11b)],_0x1ac76a);});},this[_0x2af8ea(0x140)]));}[_0x38e931(0x144)](){return new Promise(_0x10667e=>{const _0x44f267=_0x381c;this['on'](_0x44f267(0xb6),()=>{_0x10667e();});});}async[_0x38e931(0x7d)](){const _0x16042f=_0x38e931,_0x233582=this[_0x16042f(0x96)][_0x16042f(0xd0)][_0x16042f(0xe3)](_0x1e7221);if(this[_0x16042f(0xb0)]()&&(_0x233582[_0x16042f(0x11e)](),this[_0x16042f(0x11f)]=!0x1),!this[_0x16042f(0x151)]())return!0x0;const _0x292590=[...this[_0x16042f(0x126)]];for(const _0x308817 of _0x292590)_0x308817[_0x16042f(0xee)]=this[_0x16042f(0x130)][_0x16042f(0x100)][_0x16042f(0x8a)](_0x308817);const _0x5956c4=this[_0x16042f(0xa0)][_0x16042f(0x119)](_0x292590),_0x789b5d=Q++,_0x494289=this[_0x16042f(0x111)](_0x292590),_0x191904=await this[_0x16042f(0x15b)][_0x16042f(0xf0)](_0x494289,_0x494289[_0x16042f(0xa5)],_0x5956c4);try{return await this[_0x16042f(0x15e)](_0x292590,_0x191904,_0x789b5d);}catch(_0x10557e){return this[_0x16042f(0x13f)](_0x16042f(0x83),_0x10557e);}}async[_0x38e931(0x15e)](_0x394481,_0x711cf5,_0x46a447){const _0x3a1562=_0x38e931;if(_0x3a1562(0xc9)in _0x711cf5)throw _0x711cf5[_0x3a1562(0xc9)];let _0x19d906=!0x1;if(_0x711cf5[_0x3a1562(0x13b)]){_0x711cf5[_0x3a1562(0x102)]&&(this[_0x3a1562(0xbe)]=_0x711cf5[_0x3a1562(0x102)]),this[_0x3a1562(0x126)]=this[_0x3a1562(0x126)][_0x3a1562(0xfc)](_0x58278d=>!_0x394481[_0x3a1562(0x11c)](_0x58278d));for(const _0x16b2e6 of _0x394481)_0x16b2e6[_0x3a1562(0xf3)]=_0x3a1562(0x12e)in _0x711cf5&&_0x711cf5[_0x3a1562(0x12e)]||void 0x0;Y(_0x394481,_0x711cf5[_0x3a1562(0x123)]-_0x394481[_0x3a1562(0xe0)]),this[_0x3a1562(0x135)](_0x394481);const _0x51d130=_0x394481[_0x3a1562(0xfc)](_0x43dfab=>{const _0x37e547=_0x3a1562;if(!_0x43dfab[_0x37e547(0x77)])return!0x1;const _0x402ebf=this[_0x37e547(0xba)](_0x43dfab);return _0x402ebf&&!this[_0x37e547(0x8d)][_0x37e547(0x14b)](_0x402ebf);});Y(_0x51d130,this[_0x3a1562(0x130)][_0x3a1562(0x123)]),this[_0x3a1562(0xd8)](_0x51d130),_0x19d906=!0x0,this[_0x3a1562(0x140)]=this[_0x3a1562(0x138)];}else{const _0x50a9c2=this[_0x3a1562(0x136)](_0x711cf5[_0x3a1562(0xa3)],_0x711cf5[_0x3a1562(0xd3)])[_0x3a1562(0xfc)](_0x2b5087=>_0x2b5087[_0x3a1562(0xa5)]>=this[_0x3a1562(0xc7)]);_0x50a9c2[_0x3a1562(0x148)](_0x4b991d=>this[_0x3a1562(0x127)](_0x4b991d)),this[_0x3a1562(0x126)]=this[_0x3a1562(0x126)][_0x3a1562(0xfc)](_0xd38965=>!_0xd38965[_0x3a1562(0x77)]||!this[_0x3a1562(0x8d)][_0x3a1562(0x14b)](this[_0x3a1562(0xba)](_0xd38965))),this[_0x3a1562(0x126)][_0x3a1562(0xe0)]&&Y(this[_0x3a1562(0x126)],this[_0x3a1562(0x126)][0x0][_0x3a1562(0xa5)]),await this[_0x3a1562(0xff)](_0x50a9c2),_0x19d906=this[_0x3a1562(0x141)](_0x50a9c2,_0x711cf5[_0x3a1562(0x123)],_0x711cf5[_0x3a1562(0x102)]),this[_0x3a1562(0x140)]=Math[_0x3a1562(0xa6)](this[_0x3a1562(0x140)]/0x2);}return _0x19d906?!this[_0x3a1562(0x151)]()||(this[_0x3a1562(0x9c)](!0x0),!0x1):this[_0x3a1562(0x13f)](_0x3a1562(0x110));}[_0x38e931(0x141)](_0x322e71,_0x5da54b,_0x4aba28){const _0x5ddd04=_0x38e931;try{const _0x1f8c0e={'document':this[_0x5ddd04(0x130)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3c95ec,operationsB:_0x44d15b,originalOperations:_0x4c974e}=_0x3ba727(_0x322e71,this[_0x5ddd04(0x126)],_0x1f8c0e);Y(_0x3c95ec,this[_0x5ddd04(0x130)][_0x5ddd04(0x123)]),Y(_0x44d15b,_0x5da54b);for(const _0x3cb375 of _0x3c95ec){const _0x4dd691=_0x4c974e[_0x5ddd04(0xe3)](_0x3cb375);_0x3cb375[_0x5ddd04(0x8c)]=_0x4dd691?_0x4dd691[_0x5ddd04(0x8c)]:null;}_0x4aba28&&(this[_0x5ddd04(0xa0)][_0x5ddd04(0x128)](_0x322e71,_0x4aba28),this[_0x5ddd04(0xbe)]=_0x4aba28),this[_0x5ddd04(0x126)]=[..._0x44d15b],this[_0x5ddd04(0xd8)](_0x3c95ec),this[_0x5ddd04(0x135)](_0x322e71);}catch(_0x1ac2ed){return console[_0x5ddd04(0xc9)](_0x1ac2ed),!0x1;}return!0x0;}[_0x38e931(0xd8)](_0x58fb5c,_0x5ea15b=!0x1){const _0x2b34c4=_0x38e931;this[_0x2b34c4(0x96)][_0x2b34c4(0x156)][_0x2b34c4(0xed)]({'isUndoable':!0x1,'isLocal':!0x1},_0xa09f37=>{const _0x352a66=_0x2b34c4;for(const _0x5f0449 of _0x58fb5c)this[_0x352a66(0xe8)][_0x352a66(0x9a)](_0x5f0449),this[_0x352a66(0x127)](_0x5f0449),_0xa09f37[_0x352a66(0x167)][_0x352a66(0x72)](_0x5f0449),this[_0x352a66(0x96)][_0x352a66(0x156)][_0x352a66(0xa9)](_0x5f0449);});}[_0x38e931(0x127)](_0x1cf4ac){const _0x12383e=_0x38e931,_0x47a2c2=this[_0x12383e(0xba)](_0x1cf4ac);_0x47a2c2&&this[_0x12383e(0x8d)][_0x12383e(0x9a)](_0x47a2c2);}[_0x38e931(0xba)](_0x163490){const _0x1c6870=_0x38e931;let _0x827233,_0x53e5eb;switch(_0x163490[_0x1c6870(0xf2)]){case _0x1c6870(0x108):_0x827233=_0x163490[_0x1c6870(0xbc)][_0x1c6870(0x13d)];break;case _0x1c6870(0x16b):if(_0x53e5eb=_0x163490[_0x1c6870(0x7b)],!_0x53e5eb)return null;_0x827233=_0x53e5eb[_0x1c6870(0x13d)];break;case _0x1c6870(0x132):_0x827233=_0x163490[_0x1c6870(0x13d)];break;case _0x1c6870(0x169):_0x827233=_0x163490[_0x1c6870(0x88)];break;case _0x1c6870(0xef):_0x827233=_0x163490[_0x1c6870(0x160)][_0x1c6870(0x13d)];break;default:return null;}return _0x827233[_0x1c6870(0xc8)];}[_0x38e931(0x135)](_0x4535bc){const _0x10bd6b=_0x38e931;_0x4535bc[_0x10bd6b(0x148)](_0x307f3e=>{const _0x3291a7=_0x10bd6b,_0x20b51d=_0x307f3e[_0x3291a7(0xae)]();_0x20b51d[_0x3291a7(0x8c)]=_0x307f3e[_0x3291a7(0x8c)],_0x20b51d[_0x3291a7(0x77)]=!!_0x307f3e[_0x3291a7(0x77)],_0x20b51d[_0x3291a7(0xf3)]=_0x307f3e[_0x3291a7(0xf3)],_0x20b51d[_0x3291a7(0xa5)]+=this[_0x3291a7(0xc3)],_0x307f3e[_0x3291a7(0x11a)]&&this[_0x3291a7(0x67)][_0x3291a7(0x9a)](_0x20b51d),this[_0x3291a7(0xe2)][_0x3291a7(0x72)](_0x20b51d);});}[_0x38e931(0x13c)](_0x3aa61e){const _0x153619=_0x38e931,_0x373ea6=this[_0x153619(0x96)][_0x153619(0xd0)][_0x153619(0xe3)](_0x153619(0xb8)),_0xaccac9=this[_0x153619(0x96)][_0x153619(0x133)];_0x3aa61e||(_0x3aa61e=_0x31d992(_0xaccac9,_0x153619(0xea))),_0x373ea6[_0x153619(0x14e)](_0x3aa61e,{'title':_0x31d992(_0xaccac9,_0x153619(0x122)),'namespace':_0x153619(0x16c)}),this[_0x153619(0xf4)]=!0x0,clearTimeout(this[_0x153619(0xd5)]),this[_0x153619(0x126)]=[],this[_0x153619(0x96)][_0x153619(0xd0)][_0x153619(0xe3)](_0x1360dd)[_0x153619(0x164)]();}[_0x38e931(0x139)](){const _0x28f4df=_0x38e931;this[_0x28f4df(0xfa)]||(this[_0x28f4df(0xfa)]=this[_0x28f4df(0x96)][_0x28f4df(0xd0)][_0x28f4df(0xe3)](_0x10a7a5)[_0x28f4df(0x9a)](_0x31d992(this[_0x28f4df(0x96)][_0x28f4df(0x133)],_0x28f4df(0xde))));}[_0x38e931(0x13a)](){const _0x43c8dd=_0x38e931;this[_0x43c8dd(0xfa)]&&(this[_0x43c8dd(0x96)][_0x43c8dd(0xd0)][_0x43c8dd(0xe3)](_0x10a7a5)[_0x43c8dd(0xd1)](this[_0x43c8dd(0xfa)]),this[_0x43c8dd(0xfa)]=null);}[_0x38e931(0x111)](_0x50f09a){const _0x2c5ab8=_0x38e931,_0x4d6ebf=_0x50f09a[_0x2c5ab8(0x152)](_0x19bd67=>_0x19bd67[_0x2c5ab8(0x134)]());return this[_0x2c5ab8(0x87)][_0x2c5ab8(0x118)](_0x4d6ebf);}[_0x38e931(0x136)](_0x194013,_0x199e9e){const _0x41f40b=_0x38e931;return this[_0x41f40b(0x87)][_0x41f40b(0x113)](_0x194013)[_0x41f40b(0x152)]((_0x5c290f,_0x4c07e8)=>{const _0x288cbc=_0x41f40b,_0x478e97=_0x288cbc(0xfd)==_0x199e9e[_0x4c07e8][_0x288cbc(0xf2)];if(_0x288cbc(0xf7)==_0x5c290f[_0x288cbc(0x6c)]){const _0x244958=_0x5c290f[_0x288cbc(0xbc)][_0x288cbc(0x13d)];!this[_0x288cbc(0x130)][_0x288cbc(0xfb)](_0x244958)&&(this[_0x288cbc(0x130)][_0x288cbc(0x74)](_0x288cbc(0xb9),_0x244958)[_0x288cbc(0x93)]=!0x1);}const _0x1c63a0=_0x2352a1[_0x288cbc(0x97)](_0x5c290f,this[_0x288cbc(0x130)]);return _0x1c63a0[_0x288cbc(0xee)]=_0x5c290f[_0x288cbc(0xee)],_0x1c63a0[_0x288cbc(0x77)]=_0x478e97,_0x1c63a0[_0x288cbc(0x8c)]=_0x478e97?null:_0x199e9e[_0x4c07e8][_0x288cbc(0x7e)],_0x1c63a0[_0x288cbc(0x11a)]=_0x288cbc(0x12c)===_0x199e9e[_0x4c07e8][_0x288cbc(0xf2)],_0x1c63a0[_0x288cbc(0xf3)]=_0x199e9e[_0x4c07e8][_0x288cbc(0xf3)],_0x1c63a0;});}[_0x38e931(0xd2)](){const _0x47477b=_0x38e931;this[_0x47477b(0x11f)]=!0x0,this[_0x47477b(0xb0)]()?this[_0x47477b(0x9c)]():this[_0x47477b(0x11f)]=!0x1;}[_0x38e931(0xb0)](){const _0x32505d=_0x38e931,_0x455821=this[_0x32505d(0x96)][_0x32505d(0xd0)][_0x32505d(0xe3)](_0x422ef6)[_0x32505d(0xc1)][_0x32505d(0xe3)](this[_0x32505d(0x8e)]);return!this[_0x32505d(0x96)][_0x32505d(0xec)]&&!!_0x455821&&_0x455821[_0x32505d(0xe0)]>0x1&&this[_0x32505d(0x11f)];}[_0x38e931(0x151)](){const _0x469269=_0x38e931;return this[_0x469269(0x126)][_0x469269(0xe0)]>0x0||this[_0x469269(0xb0)]();}}class X extends Error{}function Y(_0x5145ab,_0x19b64b){const _0x522c99=_0x38e931;for(const _0x462e87 of _0x5145ab)_0x462e87[_0x522c99(0xa5)]=_0x19b64b++;}class Z{[_0x38e931(0x68)];[_0x38e931(0x147)];constructor(_0x34a4eb){const _0x55b797=_0x38e931;this[_0x55b797(0x68)]=_0x34a4eb,this[_0x55b797(0x147)]=new WeakMap();}[_0x38e931(0x119)](_0x5d8ec2){const _0x549752=_0x38e931;let _0x3809cd=_0x5d8ec2[_0x549752(0xe0)];for(;_0x3809cd--;){const _0x3e926f=_0x5d8ec2[_0x3809cd];if(!this[_0x549752(0x68)][_0x549752(0x14b)](_0x3e926f)){if(!this[_0x549752(0x147)][_0x549752(0x14b)](_0x3e926f)){const _0x58270e=_0x552842()[_0x549752(0x117)](0x1,0x12);this[_0x549752(0x147)][_0x549752(0x11d)](_0x3e926f,_0x58270e);}return this[_0x549752(0x147)][_0x549752(0xe3)](_0x3e926f);}}}[_0x38e931(0x128)](_0x3d9e1b,_0x549544){const _0x4a7b45=_0x38e931;if(!_0x549544)return;let _0x29a2b2=_0x3d9e1b[_0x4a7b45(0xe0)];for(;_0x29a2b2--;){const _0x1b62db=_0x3d9e1b[_0x29a2b2];this[_0x4a7b45(0x68)][_0x4a7b45(0x14b)](_0x1b62db)||this[_0x4a7b45(0x147)][_0x4a7b45(0x11d)](_0x1b62db,_0x549544);}}}