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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "46.0.1-alpha.3",
3
+ "version": "46.0.1-alpha.4",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.0",
50
- "@ckeditor/ckeditor5-cloud-services": "46.0.1-alpha.3",
51
- "@ckeditor/ckeditor5-comments": "46.0.1-alpha.3",
52
- "@ckeditor/ckeditor5-core": "46.0.1-alpha.3",
53
- "@ckeditor/ckeditor5-editor-multi-root": "46.0.1-alpha.3",
54
- "@ckeditor/ckeditor5-engine": "46.0.1-alpha.3",
55
- "@ckeditor/ckeditor5-operations-compressor": "46.0.1-alpha.3",
56
- "@ckeditor/ckeditor5-revision-history": "46.0.1-alpha.3",
57
- "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.3",
58
- "@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.3",
59
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.3",
60
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.3",
61
- "ckeditor5": "46.0.1-alpha.3",
62
- "ckeditor5-collaboration": "46.0.1-alpha.3",
50
+ "@ckeditor/ckeditor5-cloud-services": "46.0.1-alpha.4",
51
+ "@ckeditor/ckeditor5-comments": "46.0.1-alpha.4",
52
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.4",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "46.0.1-alpha.4",
54
+ "@ckeditor/ckeditor5-engine": "46.0.1-alpha.4",
55
+ "@ckeditor/ckeditor5-operations-compressor": "46.0.1-alpha.4",
56
+ "@ckeditor/ckeditor5-revision-history": "46.0.1-alpha.4",
57
+ "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.4",
58
+ "@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.4",
59
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.4",
60
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.4",
61
+ "ckeditor5": "46.0.1-alpha.4",
62
+ "ckeditor5-collaboration": "46.0.1-alpha.4",
63
63
  "es-toolkit": "1.39.5"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbfc03b=_0x1b40;(function(_0x505331,_0x5cbed5){const _0x44e439=_0x1b40,_0xf1de09=_0x505331();while(!![]){try{const _0x1e1e0c=-parseInt(_0x44e439(0x1be))/0x1*(-parseInt(_0x44e439(0x19f))/0x2)+-parseInt(_0x44e439(0x1d5))/0x3+-parseInt(_0x44e439(0x1c9))/0x4+-parseInt(_0x44e439(0x193))/0x5+-parseInt(_0x44e439(0x1c1))/0x6+-parseInt(_0x44e439(0x1ac))/0x7+-parseInt(_0x44e439(0x1da))/0x8*(-parseInt(_0x44e439(0x19e))/0x9);if(_0x1e1e0c===_0x5cbed5)break;else _0xf1de09['push'](_0xf1de09['shift']());}catch(_0x14bafb){_0xf1de09['push'](_0xf1de09['shift']());}}}(_0x4330,0xf1996));import{ContextPlugin as _0x3a5034}from'ckeditor5/src/core.js';import{CKEditorError as _0x320c26,Collection as _0x3ca8e6}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x290636,BalloonPanelView as _0x613399,BodyCollection as _0x581ebc}from'ckeditor5/src/ui.js';import{isElement as _0x31f86c}from'es-toolkit/compat';import{Sessions as _0x4b2ec4}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0xbca69c}from'./view/presencelistview.js';import{PresenceCounterView as _0x485d13}from'./view/presencecounterview.js';function _0x4330(){const _0x2764cf=['execute','isRendered','showDropdown','Tab','plugins','10937955wnILvS','remove','Enter','items','reverse','init','render','_handleUserRemove','ck\x20ck-presence-list__balloon','textarea','requires','inlineListView','bind','attachToDom','from','counterView','_bodyCollection','get','739448lIjveW','usersCount','bindTo','2071194jXueFQ','set','select','class','focus','presenceDropdownView','currentDisplayedUsers','_createView','5920536XzVnkQ','focusTracker','presencelist-missing-container','isExpanded','hideDropdown','allConnectedUsers','presenceList.container','[tabindex]','sort','offsetWidth','body','Esc','2167647oArmNS','pin','[contenteditable]','button',':not([disabled]):not([tabindex=\x22-1\x22])','36241192ECRqfq','isMe','displayMe','offsetHeight','map','element','detachFromDom','config','balloonPanelView','view','querySelectorAll','tabIndex','unpin','isCollapsed','join','hasTooltip','appendChild','change:isFocused','Shift+Tab','checkIfScrollable','isOfficialPlugin','using','define','add','keystrokes','length','activeElement','context','_handleUserAdd','indexOf','pluginName','find','presencelist-collapseat-invalid-format','destroy','presencelist:hide','847800DjhUFx','min','presencelist:show','isVisible','filter','locale','number','presenceList.displayMe','listenTo','PresenceListUI','isFocusable','9JWvIXm','2fSEfIU','input','presenceList','isPremiumPlugin','content','_allConnectedUsers','presenceList.collapseAt','onClick'];_0x4330=function(){return _0x2764cf;};return _0x4330();}import{PresenceDropdownListView as _0x2a8bab}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x29294c}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x338071}from'./view/presenceinlinelistitemview.js';function _0x1b40(_0x2e49a2,_0x19156c){const _0x4330ea=_0x4330();return _0x1b40=function(_0x1b406f,_0x30617d){_0x1b406f=_0x1b406f-0x188;let _0x54d354=_0x4330ea[_0x1b406f];return _0x54d354;},_0x1b40(_0x2e49a2,_0x19156c);}const U={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x3a5034{[_0xbfc03b(0x1c7)];[_0xbfc03b(0x1e2)];[_0xbfc03b(0x1e3)];[_0xbfc03b(0x1c6)];[_0xbfc03b(0x1bc)]=null;static get[_0xbfc03b(0x18e)](){const _0x3f0812=_0xbfc03b;return _0x3f0812(0x19c);}static get[_0xbfc03b(0x1ee)](){return!0x0;}static get[_0xbfc03b(0x1a2)](){return!0x0;}constructor(_0x37f1af){const _0x2c1c32=_0xbfc03b;super(_0x37f1af),this[_0x2c1c32(0x18b)][_0x2c1c32(0x1e1)][_0x2c1c32(0x1f0)](_0x2c1c32(0x1a1),U);const _0x651550=_0x37f1af[_0x2c1c32(0x1e1)][_0x2c1c32(0x1bd)](_0x2c1c32(0x1a5));if(_0x2c1c32(0x199)!=typeof _0x651550)throw new _0x320c26(_0x2c1c32(0x190),this);if(_0x651550<0x1)throw new _0x320c26(_0x2c1c32(0x190),this);this[_0x2c1c32(0x1a4)]=this[_0x2c1c32(0x18b)][_0x2c1c32(0x1ab)][_0x2c1c32(0x1bd)](_0x4b2ec4)[_0x2c1c32(0x1ce)],this[_0x2c1c32(0x1c2)](_0x2c1c32(0x1bf),0x0),this[_0x2c1c32(0x1c7)]=new _0x3ca8e6(),this[_0x2c1c32(0x1e2)]=new _0x613399(),this[_0x2c1c32(0x1e2)][_0x2c1c32(0x1c4)]=_0x2c1c32(0x1b4),this[_0x2c1c32(0x1e3)]=this[_0x2c1c32(0x1c8)](),this[_0x2c1c32(0x1c6)]=void 0x0;}static get[_0xbfc03b(0x1b6)](){return[_0x4b2ec4];}[_0xbfc03b(0x1b1)](){const _0xa3642d=_0xbfc03b;for(const _0x1cf28c of this[_0xa3642d(0x1a4)])this[_0xa3642d(0x18c)](_0x1cf28c);this[_0xa3642d(0x19b)](this[_0xa3642d(0x1a4)],_0xa3642d(0x1f1),(_0x36025b,_0x2840a2)=>{const _0x2b4328=_0xa3642d;this[_0x2b4328(0x18c)](_0x2840a2);}),this[_0xa3642d(0x19b)](this[_0xa3642d(0x1a4)],_0xa3642d(0x1ad),(_0x5062da,_0xea7ed0)=>{const _0x3d2ed7=_0xa3642d;this[_0x3d2ed7(0x1b3)](_0xea7ed0);});}[_0xbfc03b(0x1c8)](){const _0x63cca=_0xbfc03b,_0x2ea8bb=this[_0x63cca(0x18b)],_0x10ad74=new _0xbca69c(this[_0x63cca(0x18b)][_0x63cca(0x198)],this[_0x63cca(0x18b)][_0x63cca(0x1e1)][_0x63cca(0x1bd)](_0x63cca(0x1a5))),_0x4403f7=this[_0x63cca(0x1e2)];if(!_0x31f86c(_0x2ea8bb[_0x63cca(0x1e1)][_0x63cca(0x1bd)](_0x63cca(0x1cf))))throw new _0x320c26(_0x63cca(0x1cb),this);return _0x10ad74[_0x63cca(0x1bb)][_0x63cca(0x1b8)](_0x63cca(0x1bf))['to'](this),_0x10ad74[_0x63cca(0x1b8)](_0x63cca(0x1e7))['to'](this,_0x63cca(0x1bf),_0x2e46dd=>{const _0x218238=_0x63cca,{collapseAt:_0x3e83eb}=_0x2ea8bb[_0x218238(0x1e1)][_0x218238(0x1bd)](_0x218238(0x1a1)),_0x5339c5=_0x2e46dd>=_0x3e83eb;if(_0x5339c5&&!_0x10ad74[_0x218238(0x1b7)][_0x218238(0x1af)][_0x218238(0x18f)](_0x9e09a9=>_0x9e09a9 instanceof _0x485d13)){const _0x2a37ef=this[_0x218238(0x18b)][_0x218238(0x1e1)][_0x218238(0x1bd)](_0x218238(0x1a5))-0x1;this[_0x218238(0x1c7)][_0x218238(0x189)]==_0x2a37ef&&this[_0x218238(0x1c7)][_0x218238(0x189)]>0x1&&this[_0x218238(0x1c7)][_0x218238(0x1ad)](this[_0x218238(0x1c7)][_0x218238(0x189)]-0x1),_0x10ad74[_0x218238(0x1b7)][_0x218238(0x1af)][_0x218238(0x1f1)](_0x10ad74[_0x218238(0x1bb)]);}return _0x5339c5||this[_0x218238(0x1cd)](),_0x5339c5;}),_0x10ad74[_0x63cca(0x1b7)][_0x63cca(0x1af)][_0x63cca(0x1c0)](this[_0x63cca(0x1c7)])[_0x63cca(0x1ef)](_0x109cf4=>{const _0x449a20=_0x63cca,_0xb1fa6a=_0x2ea8bb[_0x449a20(0x1e1)][_0x449a20(0x1bd)](_0x449a20(0x1a1)),_0xdb835f=new _0x338071(_0x2ea8bb[_0x449a20(0x198)],_0x109cf4,!!_0xb1fa6a[_0x449a20(0x1a6)]);return _0xdb835f[_0x449a20(0x1b8)](_0x449a20(0x1e9))['to'](_0x10ad74,_0x449a20(0x1e7),_0x383c86=>!_0x383c86),_0xdb835f[_0x449a20(0x1b8)](_0x449a20(0x19d))['to'](_0x10ad74,_0x449a20(0x1e7),_0x587295=>!_0x587295),_0xb1fa6a[_0x449a20(0x1a6)]&&this[_0x449a20(0x19b)](_0xdb835f,_0x449a20(0x1a7),()=>{const _0x51b2df=_0x449a20;this[_0x51b2df(0x1e3)][_0x51b2df(0x1e7)]||_0xb1fa6a[_0x51b2df(0x1a6)](_0x109cf4,_0xdb835f[_0x51b2df(0x1df)]);}),_0xdb835f;}),this[_0x63cca(0x19b)](_0x10ad74[_0x63cca(0x1b7)],_0x63cca(0x195),()=>{const _0x12b213=_0x63cca;this[_0x12b213(0x1e3)][_0x12b213(0x1e7)]&&this[_0x12b213(0x1a9)]();}),this[_0x63cca(0x19b)](_0x10ad74[_0x63cca(0x1b7)],_0x63cca(0x192),()=>{const _0x3c133b=_0x63cca;this[_0x3c133b(0x1c6)]&&this[_0x3c133b(0x1cd)]();}),_0x10ad74[_0x63cca(0x1b7)][_0x63cca(0x188)][_0x63cca(0x1c2)](_0x63cca(0x1ae),(_0x43ee7d,_0x5dccf3)=>{const _0x66897b=_0x63cca;this[_0x66897b(0x1e3)][_0x66897b(0x1e7)]&&(this[_0x66897b(0x1a9)](),_0x5dccf3());}),_0x10ad74[_0x63cca(0x1b2)](),_0x4403f7[_0x63cca(0x1b2)](),_0x290636({'emitter':_0x10ad74,'activator':()=>_0x4403f7[_0x63cca(0x196)],'contextElements':[_0x4403f7[_0x63cca(0x1df)],_0x10ad74[_0x63cca(0x1b7)][_0x63cca(0x1df)]],'callback':()=>this[_0x63cca(0x1cd)]()}),_0x2ea8bb[_0x63cca(0x1e1)][_0x63cca(0x1bd)](_0x63cca(0x1cf))[_0x63cca(0x1ea)](_0x10ad74[_0x63cca(0x1df)]),this[_0x63cca(0x1bc)]=new _0x581ebc(this[_0x63cca(0x18b)][_0x63cca(0x198)]),this[_0x63cca(0x1bc)][_0x63cca(0x1b9)](),this[_0x63cca(0x1bc)][_0x63cca(0x1f1)](this[_0x63cca(0x1e2)]),_0x10ad74;}[_0xbfc03b(0x18c)](_0x5505b7){const _0x1ac7fa=_0xbfc03b;if(!this[_0x1ac7fa(0x18b)][_0x1ac7fa(0x1e1)][_0x1ac7fa(0x1bd)](_0x1ac7fa(0x19a))&&_0x5505b7[_0x1ac7fa(0x1db)])return;const _0x205dde=this[_0x1ac7fa(0x18b)][_0x1ac7fa(0x1e1)][_0x1ac7fa(0x1bd)](_0x1ac7fa(0x1a5))-0x1;for(this[_0x1ac7fa(0x1bf)]++;this[_0x1ac7fa(0x1c7)][_0x1ac7fa(0x189)]>=_0x205dde-(this[_0x1ac7fa(0x1e3)][_0x1ac7fa(0x1e7)]?0x1:0x0)&&this[_0x1ac7fa(0x1c7)][_0x1ac7fa(0x189)]>0x1;)this[_0x1ac7fa(0x1c7)][_0x1ac7fa(0x1ad)](0x1);const _0x44b330=_0x5505b7[_0x1ac7fa(0x1db)]?0x0:this[_0x1ac7fa(0x1c7)][_0x1ac7fa(0x189)];this[_0x1ac7fa(0x1c7)][_0x1ac7fa(0x1f1)](_0x5505b7,_0x44b330);}[_0xbfc03b(0x1b3)](_0x566f0c){const _0x1a836b=_0xbfc03b;this[_0x1a836b(0x1bf)]--;const {collapseAt:_0x881226}=this[_0x1a836b(0x18b)][_0x1a836b(0x1e1)][_0x1a836b(0x1bd)](_0x1a836b(0x1a1)),_0x3ac6ee=this[_0x1a836b(0x1bf)]>=_0x881226;if(this[_0x1a836b(0x1c7)][_0x1a836b(0x1bd)](_0x566f0c['id']))this[_0x1a836b(0x1c7)][_0x1a836b(0x1ad)](_0x566f0c['id']);else{if(_0x3ac6ee&&this[_0x1a836b(0x1c7)][_0x1a836b(0x189)]+0x1===_0x881226-0x1)return;}if(this[_0x1a836b(0x1c7)][_0x1a836b(0x189)]+(_0x3ac6ee?0x1:0x0)<this[_0x1a836b(0x1bf)]){for(const _0x2951f1 of Array[_0x1a836b(0x1ba)](this[_0x1a836b(0x1a4)])[_0x1a836b(0x1b0)]())if(!this[_0x1a836b(0x1c7)][_0x1a836b(0x1bd)](_0x2951f1['id'])&&(this[_0x1a836b(0x1c7)][_0x1a836b(0x1f1)](_0x2951f1,Math[_0x1a836b(0x194)](this[_0x1a836b(0x1c7)][_0x1a836b(0x189)]-(_0x3ac6ee?0x1:0x0),0x1)),this[_0x1a836b(0x1c7)][_0x1a836b(0x189)]+(_0x3ac6ee?0x1:0x0)===_0x881226-0x1))return;}}[_0xbfc03b(0x1a9)](){const _0x5b786c=_0xbfc03b;if(this[_0x5b786c(0x1c6)])return;const _0x287cd6=this[_0x5b786c(0x18b)][_0x5b786c(0x1e1)][_0x5b786c(0x1bd)](_0x5b786c(0x1a1));this[_0x5b786c(0x1c6)]=new _0x2a8bab(this[_0x5b786c(0x18b)][_0x5b786c(0x198)],!!_0x287cd6[_0x5b786c(0x1a6)]),this[_0x5b786c(0x1e3)][_0x5b786c(0x1b7)][_0x5b786c(0x1cc)]=!0x0,this[_0x5b786c(0x19b)](this[_0x5b786c(0x1c6)],_0x5b786c(0x192),()=>{const _0x198de7=_0x5b786c;this[_0x198de7(0x1c6)]&&this[_0x198de7(0x1cd)]();});const {listWrapperView:_0x4106f7}=this[_0x5b786c(0x1c6)];_0x4106f7[_0x5b786c(0x1af)][_0x5b786c(0x1c0)](this[_0x5b786c(0x1a4)])[_0x5b786c(0x1ef)](_0x24236c=>{const _0xb10b74=_0x5b786c;if(!_0x287cd6[_0xb10b74(0x1dc)]&&_0x24236c[_0xb10b74(0x1db)])return null;const _0xa9a6e8=new _0x29294c(this[_0xb10b74(0x18b)][_0xb10b74(0x198)],_0x24236c,!!_0x287cd6[_0xb10b74(0x1a6)]);return _0x287cd6[_0xb10b74(0x1a6)]&&this[_0xb10b74(0x19b)](_0xa9a6e8,_0xb10b74(0x1a7),()=>{const _0x373dda=_0xb10b74;_0x287cd6[_0x373dda(0x1a6)](_0x24236c,_0xa9a6e8[_0x373dda(0x1df)]);}),_0xa9a6e8;}),this[_0x5b786c(0x1e2)][_0x5b786c(0x1a3)][_0x5b786c(0x1f1)](this[_0x5b786c(0x1c6)]),this[_0x5b786c(0x1e2)][_0x5b786c(0x1d6)]({'target':this[_0x5b786c(0x1e3)][_0x5b786c(0x1b7)][_0x5b786c(0x1df)]}),_0x4106f7[_0x5b786c(0x1c5)](),_0x4106f7[_0x5b786c(0x1ed)]();const _0x5bc69e=(_0x407796,_0x3f9110)=>{const _0x92a50a=_0x5b786c;this[_0x92a50a(0x1cd)](),this[_0x92a50a(0x1e3)][_0x92a50a(0x1b7)][_0x92a50a(0x1c5)](),_0x3f9110();};_0x4106f7[_0x5b786c(0x188)][_0x5b786c(0x1c2)](_0x5b786c(0x1d4),_0x5bc69e),_0x4106f7[_0x5b786c(0x188)][_0x5b786c(0x1c2)](_0x5b786c(0x1ec),_0x5bc69e),_0x4106f7[_0x5b786c(0x188)][_0x5b786c(0x1c2)](_0x5b786c(0x1aa),(_0x5e9701,_0x184422)=>{const _0x250f78=_0x5b786c;!function(_0x684ee1){const _0x286068=_0x1b40,_0x2f8c99=['a',_0x286068(0x1d8),_0x286068(0x1a0),_0x286068(0x1c3),_0x286068(0x1b5),_0x286068(0x1d0),_0x286068(0x1d7)][_0x286068(0x1de)](_0x1db938=>_0x1db938+_0x286068(0x1d9))[_0x286068(0x1e8)](','),_0x3402ce=[...document[_0x286068(0x1d3)][_0x286068(0x1e4)](_0x2f8c99)][_0x286068(0x197)](_0x455956=>_0x455956===document[_0x286068(0x18a)]||_0x455956[_0x286068(0x1d2)]+_0x455956[_0x286068(0x1dd)]>0x0)[_0x286068(0x1d1)]((_0x56d44a,_0x402a39)=>(_0x56d44a[_0x286068(0x1e5)]||0x0)-(_0x402a39[_0x286068(0x1e5)]||0x0)),_0x382975=_0x3402ce[_0x286068(0x18d)](_0x684ee1),_0x284337=_0x3402ce[(_0x382975+0x1)%_0x3402ce[_0x286068(0x189)]];_0x284337&&_0x284337[_0x286068(0x1c5)]();}(this[_0x250f78(0x1e3)][_0x250f78(0x1df)]),this[_0x250f78(0x1cd)](),_0x184422();}),_0x4106f7[_0x5b786c(0x1ca)][_0x5b786c(0x1f1)](this[_0x5b786c(0x1e3)][_0x5b786c(0x1df)]),_0x4106f7[_0x5b786c(0x1ca)]['on'](_0x5b786c(0x1eb),(_0x24d380,_0x271b74,_0x542125)=>{const _0x4b1098=_0x5b786c;_0x542125||this[_0x4b1098(0x1cd)]();});}[_0xbfc03b(0x1cd)](){const _0x547268=_0xbfc03b;this[_0x547268(0x1c6)]&&(this[_0x547268(0x1e3)][_0x547268(0x1b7)][_0x547268(0x1cc)]=!0x1,this[_0x547268(0x1e2)][_0x547268(0x1e6)](),this[_0x547268(0x1e2)][_0x547268(0x1a3)][_0x547268(0x1ad)](this[_0x547268(0x1c6)]),this[_0x547268(0x1c6)][_0x547268(0x191)](),this[_0x547268(0x1c6)]=void 0x0);}[_0xbfc03b(0x191)](){const _0x15ba69=_0xbfc03b;super[_0x15ba69(0x191)](),this[_0x15ba69(0x1e3)]&&this[_0x15ba69(0x1e3)][_0x15ba69(0x1a8)]&&this[_0x15ba69(0x1e3)][_0x15ba69(0x191)](),this[_0x15ba69(0x1bc)]&&(this[_0x15ba69(0x1bc)][_0x15ba69(0x1e0)](),this[_0x15ba69(0x1bc)][_0x15ba69(0x191)](),this[_0x15ba69(0x1bc)]=null);}}
23
+ const _0x1f8d5f=_0x333c;function _0x333c(_0x2a0357,_0x14c802){const _0x18bbd2=_0x18bb();return _0x333c=function(_0x333c2e,_0x2e6a94){_0x333c2e=_0x333c2e-0x176;let _0x510848=_0x18bbd2[_0x333c2e];return _0x510848;},_0x333c(_0x2a0357,_0x14c802);}(function(_0x3bd026,_0x53a32a){const _0x5a9b24=_0x333c,_0x11b196=_0x3bd026();while(!![]){try{const _0x4f62d8=parseInt(_0x5a9b24(0x1d0))/0x1+parseInt(_0x5a9b24(0x1a8))/0x2+parseInt(_0x5a9b24(0x19b))/0x3*(parseInt(_0x5a9b24(0x17a))/0x4)+parseInt(_0x5a9b24(0x1b5))/0x5*(-parseInt(_0x5a9b24(0x1c4))/0x6)+parseInt(_0x5a9b24(0x19a))/0x7+-parseInt(_0x5a9b24(0x1d3))/0x8+-parseInt(_0x5a9b24(0x1c9))/0x9;if(_0x4f62d8===_0x53a32a)break;else _0x11b196['push'](_0x11b196['shift']());}catch(_0x53252a){_0x11b196['push'](_0x11b196['shift']());}}}(_0x18bb,0xc38cd));import{ContextPlugin as _0xc9fa3}from'ckeditor5/src/core.js';import{CKEditorError as _0x19d808,Collection as _0x54794a}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x1f6b74,BalloonPanelView as _0x5a94c4,BodyCollection as _0x508a46}from'ckeditor5/src/ui.js';import{isElement as _0x151dc4}from'es-toolkit/compat';import{Sessions as _0x3b6ee8}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x51cf94}from'./view/presencelistview.js';import{PresenceCounterView as _0x4055ec}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x537525}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x558ef3}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x436ae7}from'./view/presenceinlinelistitemview.js';function _0x18bb(){const _0x323a06=['presenceList.displayMe','textarea','_allConnectedUsers','1264183oRCYee','pluginName','presenceList.collapseAt','8370640wVLPuW','isCollapsed','isExpanded','hideDropdown','isVisible','presenceList.container','presenceList','querySelectorAll','bind','input','requires','config','detachFromDom','destroy','Enter','tabIndex','Shift+Tab','1328PmJRDj','length','set','isMe','presenceDropdownView',':not([disabled]):not([tabindex=\x22-1\x22])','body','items','map','_createView','pin','init','isFocusable','presencelist-collapseat-invalid-format','presencelist:show','onClick','attachToDom','bindTo','allConnectedUsers','_handleUserAdd','offsetHeight','presencelist-missing-container','isOfficialPlugin','counterView','offsetWidth','number','currentDisplayedUsers','define','balloonPanelView','context','plugins','Esc','8186563KCVlFM','2679FNllwP','button','change:isFocused','reverse','remove','displayMe','ck\x20ck-presence-list__balloon','[tabindex]','appendChild','usersCount','keystrokes','locale','execute','179176VMDbvg','_handleUserRemove','sort','presencelist:hide','find','filter','inlineListView','min','render','indexOf','unpin','from','isRendered','813840kfxwlm','add','activeElement','[contenteditable]','class','listenTo','view','hasTooltip','PresenceListUI','get','isPremiumPlugin','focusTracker','content','_bodyCollection','checkIfScrollable','24OAytTx','using','showDropdown','join','focus','2892429UrDBUE','Tab','select','element'];_0x18bb=function(){return _0x323a06;};return _0x18bb();}const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0xc9fa3{[_0x1f8d5f(0x194)];[_0x1f8d5f(0x196)];[_0x1f8d5f(0x1bb)];[_0x1f8d5f(0x17e)];[_0x1f8d5f(0x1c2)]=null;static get[_0x1f8d5f(0x1d1)](){const _0x1e0222=_0x1f8d5f;return _0x1e0222(0x1bd);}static get[_0x1f8d5f(0x190)](){return!0x0;}static get[_0x1f8d5f(0x1bf)](){return!0x0;}constructor(_0x5e2d53){const _0x1d7f7e=_0x1f8d5f;super(_0x5e2d53),this[_0x1d7f7e(0x197)][_0x1d7f7e(0x1de)][_0x1d7f7e(0x195)](_0x1d7f7e(0x1d9),x);const _0x57b1ca=_0x5e2d53[_0x1d7f7e(0x1de)][_0x1d7f7e(0x1be)](_0x1d7f7e(0x1d2));if(_0x1d7f7e(0x193)!=typeof _0x57b1ca)throw new _0x19d808(_0x1d7f7e(0x187),this);if(_0x57b1ca<0x1)throw new _0x19d808(_0x1d7f7e(0x187),this);this[_0x1d7f7e(0x1cf)]=this[_0x1d7f7e(0x197)][_0x1d7f7e(0x198)][_0x1d7f7e(0x1be)](_0x3b6ee8)[_0x1d7f7e(0x18c)],this[_0x1d7f7e(0x17c)](_0x1d7f7e(0x1a4),0x0),this[_0x1d7f7e(0x194)]=new _0x54794a(),this[_0x1d7f7e(0x196)]=new _0x5a94c4(),this[_0x1d7f7e(0x196)][_0x1d7f7e(0x1b9)]=_0x1d7f7e(0x1a1),this[_0x1d7f7e(0x1bb)]=this[_0x1d7f7e(0x183)](),this[_0x1d7f7e(0x17e)]=void 0x0;}static get[_0x1f8d5f(0x1dd)](){return[_0x3b6ee8];}[_0x1f8d5f(0x185)](){const _0x4ee85a=_0x1f8d5f;for(const _0x5bcbe3 of this[_0x4ee85a(0x1cf)])this[_0x4ee85a(0x18d)](_0x5bcbe3);this[_0x4ee85a(0x1ba)](this[_0x4ee85a(0x1cf)],_0x4ee85a(0x1b6),(_0x222d6c,_0x3862a5)=>{const _0x2ff78e=_0x4ee85a;this[_0x2ff78e(0x18d)](_0x3862a5);}),this[_0x4ee85a(0x1ba)](this[_0x4ee85a(0x1cf)],_0x4ee85a(0x19f),(_0x4df4fd,_0x381f19)=>{const _0x5f3b6f=_0x4ee85a;this[_0x5f3b6f(0x1a9)](_0x381f19);});}[_0x1f8d5f(0x183)](){const _0x6aa9ff=_0x1f8d5f,_0x2a7198=this[_0x6aa9ff(0x197)],_0x1d9c81=new _0x51cf94(this[_0x6aa9ff(0x197)][_0x6aa9ff(0x1a6)],this[_0x6aa9ff(0x197)][_0x6aa9ff(0x1de)][_0x6aa9ff(0x1be)](_0x6aa9ff(0x1d2))),_0x2ac895=this[_0x6aa9ff(0x196)];if(!_0x151dc4(_0x2a7198[_0x6aa9ff(0x1de)][_0x6aa9ff(0x1be)](_0x6aa9ff(0x1d8))))throw new _0x19d808(_0x6aa9ff(0x18f),this);return _0x1d9c81[_0x6aa9ff(0x191)][_0x6aa9ff(0x1db)](_0x6aa9ff(0x1a4))['to'](this),_0x1d9c81[_0x6aa9ff(0x1db)](_0x6aa9ff(0x1d4))['to'](this,_0x6aa9ff(0x1a4),_0x3b4f27=>{const _0x11c661=_0x6aa9ff,{collapseAt:_0xeb76bb}=_0x2a7198[_0x11c661(0x1de)][_0x11c661(0x1be)](_0x11c661(0x1d9)),_0x1bd121=_0x3b4f27>=_0xeb76bb;if(_0x1bd121&&!_0x1d9c81[_0x11c661(0x1ae)][_0x11c661(0x181)][_0x11c661(0x1ac)](_0x17770b=>_0x17770b instanceof _0x4055ec)){const _0x1a02ce=this[_0x11c661(0x197)][_0x11c661(0x1de)][_0x11c661(0x1be)](_0x11c661(0x1d2))-0x1;this[_0x11c661(0x194)][_0x11c661(0x17b)]==_0x1a02ce&&this[_0x11c661(0x194)][_0x11c661(0x17b)]>0x1&&this[_0x11c661(0x194)][_0x11c661(0x19f)](this[_0x11c661(0x194)][_0x11c661(0x17b)]-0x1),_0x1d9c81[_0x11c661(0x1ae)][_0x11c661(0x181)][_0x11c661(0x1b6)](_0x1d9c81[_0x11c661(0x191)]);}return _0x1bd121||this[_0x11c661(0x1d6)](),_0x1bd121;}),_0x1d9c81[_0x6aa9ff(0x1ae)][_0x6aa9ff(0x181)][_0x6aa9ff(0x18b)](this[_0x6aa9ff(0x194)])[_0x6aa9ff(0x1c5)](_0x3cc509=>{const _0x165753=_0x6aa9ff,_0x4eac5b=_0x2a7198[_0x165753(0x1de)][_0x165753(0x1be)](_0x165753(0x1d9)),_0x484ea1=new _0x436ae7(_0x2a7198[_0x165753(0x1a6)],_0x3cc509,!!_0x4eac5b[_0x165753(0x189)]);return _0x484ea1[_0x165753(0x1db)](_0x165753(0x1bc))['to'](_0x1d9c81,_0x165753(0x1d4),_0x2da3c4=>!_0x2da3c4),_0x484ea1[_0x165753(0x1db)](_0x165753(0x186))['to'](_0x1d9c81,_0x165753(0x1d4),_0x4d38b2=>!_0x4d38b2),_0x4eac5b[_0x165753(0x189)]&&this[_0x165753(0x1ba)](_0x484ea1,_0x165753(0x1a7),()=>{const _0x3b4448=_0x165753;this[_0x3b4448(0x1bb)][_0x3b4448(0x1d4)]||_0x4eac5b[_0x3b4448(0x189)](_0x3cc509,_0x484ea1[_0x3b4448(0x1cc)]);}),_0x484ea1;}),this[_0x6aa9ff(0x1ba)](_0x1d9c81[_0x6aa9ff(0x1ae)],_0x6aa9ff(0x188),()=>{const _0x6beafd=_0x6aa9ff;this[_0x6beafd(0x1bb)][_0x6beafd(0x1d4)]&&this[_0x6beafd(0x1c6)]();}),this[_0x6aa9ff(0x1ba)](_0x1d9c81[_0x6aa9ff(0x1ae)],_0x6aa9ff(0x1ab),()=>{const _0x540155=_0x6aa9ff;this[_0x540155(0x17e)]&&this[_0x540155(0x1d6)]();}),_0x1d9c81[_0x6aa9ff(0x1ae)][_0x6aa9ff(0x1a5)][_0x6aa9ff(0x17c)](_0x6aa9ff(0x177),(_0x295a03,_0x26e46a)=>{const _0x44a0b8=_0x6aa9ff;this[_0x44a0b8(0x1bb)][_0x44a0b8(0x1d4)]&&(this[_0x44a0b8(0x1c6)](),_0x26e46a());}),_0x1d9c81[_0x6aa9ff(0x1b0)](),_0x2ac895[_0x6aa9ff(0x1b0)](),_0x1f6b74({'emitter':_0x1d9c81,'activator':()=>_0x2ac895[_0x6aa9ff(0x1d7)],'contextElements':[_0x2ac895[_0x6aa9ff(0x1cc)],_0x1d9c81[_0x6aa9ff(0x1ae)][_0x6aa9ff(0x1cc)]],'callback':()=>this[_0x6aa9ff(0x1d6)]()}),_0x2a7198[_0x6aa9ff(0x1de)][_0x6aa9ff(0x1be)](_0x6aa9ff(0x1d8))[_0x6aa9ff(0x1a3)](_0x1d9c81[_0x6aa9ff(0x1cc)]),this[_0x6aa9ff(0x1c2)]=new _0x508a46(this[_0x6aa9ff(0x197)][_0x6aa9ff(0x1a6)]),this[_0x6aa9ff(0x1c2)][_0x6aa9ff(0x18a)](),this[_0x6aa9ff(0x1c2)][_0x6aa9ff(0x1b6)](this[_0x6aa9ff(0x196)]),_0x1d9c81;}[_0x1f8d5f(0x18d)](_0x577c9c){const _0x563544=_0x1f8d5f;if(!this[_0x563544(0x197)][_0x563544(0x1de)][_0x563544(0x1be)](_0x563544(0x1cd))&&_0x577c9c[_0x563544(0x17d)])return;const _0x150e3b=this[_0x563544(0x197)][_0x563544(0x1de)][_0x563544(0x1be)](_0x563544(0x1d2))-0x1;for(this[_0x563544(0x1a4)]++;this[_0x563544(0x194)][_0x563544(0x17b)]>=_0x150e3b-(this[_0x563544(0x1bb)][_0x563544(0x1d4)]?0x1:0x0)&&this[_0x563544(0x194)][_0x563544(0x17b)]>0x1;)this[_0x563544(0x194)][_0x563544(0x19f)](0x1);const _0xf9643b=_0x577c9c[_0x563544(0x17d)]?0x0:this[_0x563544(0x194)][_0x563544(0x17b)];this[_0x563544(0x194)][_0x563544(0x1b6)](_0x577c9c,_0xf9643b);}[_0x1f8d5f(0x1a9)](_0x45709a){const _0x2c4da1=_0x1f8d5f;this[_0x2c4da1(0x1a4)]--;const {collapseAt:_0x5cb1b3}=this[_0x2c4da1(0x197)][_0x2c4da1(0x1de)][_0x2c4da1(0x1be)](_0x2c4da1(0x1d9)),_0xfb07cb=this[_0x2c4da1(0x1a4)]>=_0x5cb1b3;if(this[_0x2c4da1(0x194)][_0x2c4da1(0x1be)](_0x45709a['id']))this[_0x2c4da1(0x194)][_0x2c4da1(0x19f)](_0x45709a['id']);else{if(_0xfb07cb&&this[_0x2c4da1(0x194)][_0x2c4da1(0x17b)]+0x1===_0x5cb1b3-0x1)return;}if(this[_0x2c4da1(0x194)][_0x2c4da1(0x17b)]+(_0xfb07cb?0x1:0x0)<this[_0x2c4da1(0x1a4)]){for(const _0x24cca7 of Array[_0x2c4da1(0x1b3)](this[_0x2c4da1(0x1cf)])[_0x2c4da1(0x19e)]())if(!this[_0x2c4da1(0x194)][_0x2c4da1(0x1be)](_0x24cca7['id'])&&(this[_0x2c4da1(0x194)][_0x2c4da1(0x1b6)](_0x24cca7,Math[_0x2c4da1(0x1af)](this[_0x2c4da1(0x194)][_0x2c4da1(0x17b)]-(_0xfb07cb?0x1:0x0),0x1)),this[_0x2c4da1(0x194)][_0x2c4da1(0x17b)]+(_0xfb07cb?0x1:0x0)===_0x5cb1b3-0x1))return;}}[_0x1f8d5f(0x1c6)](){const _0x18dbda=_0x1f8d5f;if(this[_0x18dbda(0x17e)])return;const _0x39a352=this[_0x18dbda(0x197)][_0x18dbda(0x1de)][_0x18dbda(0x1be)](_0x18dbda(0x1d9));this[_0x18dbda(0x17e)]=new _0x537525(this[_0x18dbda(0x197)][_0x18dbda(0x1a6)],!!_0x39a352[_0x18dbda(0x189)]),this[_0x18dbda(0x1bb)][_0x18dbda(0x1ae)][_0x18dbda(0x1d5)]=!0x0,this[_0x18dbda(0x1ba)](this[_0x18dbda(0x17e)],_0x18dbda(0x1ab),()=>{const _0x433019=_0x18dbda;this[_0x433019(0x17e)]&&this[_0x433019(0x1d6)]();});const {listWrapperView:_0x47cb26}=this[_0x18dbda(0x17e)];_0x47cb26[_0x18dbda(0x181)][_0x18dbda(0x18b)](this[_0x18dbda(0x1cf)])[_0x18dbda(0x1c5)](_0x532ac0=>{const _0x231941=_0x18dbda;if(!_0x39a352[_0x231941(0x1a0)]&&_0x532ac0[_0x231941(0x17d)])return null;const _0x4219dd=new _0x558ef3(this[_0x231941(0x197)][_0x231941(0x1a6)],_0x532ac0,!!_0x39a352[_0x231941(0x189)]);return _0x39a352[_0x231941(0x189)]&&this[_0x231941(0x1ba)](_0x4219dd,_0x231941(0x1a7),()=>{const _0x53dbe0=_0x231941;_0x39a352[_0x53dbe0(0x189)](_0x532ac0,_0x4219dd[_0x53dbe0(0x1cc)]);}),_0x4219dd;}),this[_0x18dbda(0x196)][_0x18dbda(0x1c1)][_0x18dbda(0x1b6)](this[_0x18dbda(0x17e)]),this[_0x18dbda(0x196)][_0x18dbda(0x184)]({'target':this[_0x18dbda(0x1bb)][_0x18dbda(0x1ae)][_0x18dbda(0x1cc)]}),_0x47cb26[_0x18dbda(0x1c8)](),_0x47cb26[_0x18dbda(0x1c3)]();const _0x46c24d=(_0x2cf93d,_0x44e24b)=>{const _0x3035d6=_0x18dbda;this[_0x3035d6(0x1d6)](),this[_0x3035d6(0x1bb)][_0x3035d6(0x1ae)][_0x3035d6(0x1c8)](),_0x44e24b();};_0x47cb26[_0x18dbda(0x1a5)][_0x18dbda(0x17c)](_0x18dbda(0x199),_0x46c24d),_0x47cb26[_0x18dbda(0x1a5)][_0x18dbda(0x17c)](_0x18dbda(0x179),_0x46c24d),_0x47cb26[_0x18dbda(0x1a5)][_0x18dbda(0x17c)](_0x18dbda(0x1ca),(_0x208920,_0xd88f60)=>{const _0x57564=_0x18dbda;!function(_0x2e0482){const _0x54851f=_0x333c,_0x5c02b7=['a',_0x54851f(0x19c),_0x54851f(0x1dc),_0x54851f(0x1cb),_0x54851f(0x1ce),_0x54851f(0x1a2),_0x54851f(0x1b8)][_0x54851f(0x182)](_0x2a737e=>_0x2a737e+_0x54851f(0x17f))[_0x54851f(0x1c7)](','),_0x2bfd14=[...document[_0x54851f(0x180)][_0x54851f(0x1da)](_0x5c02b7)][_0x54851f(0x1ad)](_0x9f2f4f=>_0x9f2f4f===document[_0x54851f(0x1b7)]||_0x9f2f4f[_0x54851f(0x192)]+_0x9f2f4f[_0x54851f(0x18e)]>0x0)[_0x54851f(0x1aa)]((_0x1c8bd7,_0x1622b1)=>(_0x1c8bd7[_0x54851f(0x178)]||0x0)-(_0x1622b1[_0x54851f(0x178)]||0x0)),_0xd9d2e0=_0x2bfd14[_0x54851f(0x1b1)](_0x2e0482),_0x2be1ec=_0x2bfd14[(_0xd9d2e0+0x1)%_0x2bfd14[_0x54851f(0x17b)]];_0x2be1ec&&_0x2be1ec[_0x54851f(0x1c8)]();}(this[_0x57564(0x1bb)][_0x57564(0x1cc)]),this[_0x57564(0x1d6)](),_0xd88f60();}),_0x47cb26[_0x18dbda(0x1c0)][_0x18dbda(0x1b6)](this[_0x18dbda(0x1bb)][_0x18dbda(0x1cc)]),_0x47cb26[_0x18dbda(0x1c0)]['on'](_0x18dbda(0x19d),(_0xe44cbc,_0x653e1c,_0x2768e3)=>{const _0x3b762e=_0x18dbda;_0x2768e3||this[_0x3b762e(0x1d6)]();});}[_0x1f8d5f(0x1d6)](){const _0xf7b39f=_0x1f8d5f;this[_0xf7b39f(0x17e)]&&(this[_0xf7b39f(0x1bb)][_0xf7b39f(0x1ae)][_0xf7b39f(0x1d5)]=!0x1,this[_0xf7b39f(0x196)][_0xf7b39f(0x1b2)](),this[_0xf7b39f(0x196)][_0xf7b39f(0x1c1)][_0xf7b39f(0x19f)](this[_0xf7b39f(0x17e)]),this[_0xf7b39f(0x17e)][_0xf7b39f(0x176)](),this[_0xf7b39f(0x17e)]=void 0x0);}[_0x1f8d5f(0x176)](){const _0x4d668b=_0x1f8d5f;super[_0x4d668b(0x176)](),this[_0x4d668b(0x1bb)]&&this[_0x4d668b(0x1bb)][_0x4d668b(0x1b4)]&&this[_0x4d668b(0x1bb)][_0x4d668b(0x176)](),this[_0x4d668b(0x1c2)]&&(this[_0x4d668b(0x1c2)][_0x4d668b(0x1df)](),this[_0x4d668b(0x1c2)][_0x4d668b(0x176)](),this[_0x4d668b(0x1c2)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cac17=_0x3cee;function _0x1a5d(){const _0x347c6d=['button','718505qkXyXt','userView','color','setTemplate','28RXxoYy','presentation','6492QTVjfA','ck-presence-list__dropdown-list-item','321810ooPxmK','7993773MLcHoN','element','bindTemplate','fire','449700ZvXKQO','tag','true','316452rzrbgI','ck-user__full-name','execute','2148680ESTLgA','ck-presence-list__marker','focus','90607OeKAEu','48FgYQKd','175osbQsJ','20QlSksM','getBackgroundColorClass','name','span'];_0x1a5d=function(){return _0x347c6d;};return _0x1a5d();}(function(_0x3d4f4e,_0x3481df){const _0x4f16fb=_0x3cee,_0x11d885=_0x3d4f4e();while(!![]){try{const _0x26227c=-parseInt(_0x4f16fb(0x189))/0x1+parseInt(_0x4f16fb(0x191))/0x2+-parseInt(_0x4f16fb(0x1a0))/0x3*(parseInt(_0x4f16fb(0x196))/0x4)+parseInt(_0x4f16fb(0x183))/0x5*(-parseInt(_0x4f16fb(0x199))/0x6)+parseInt(_0x4f16fb(0x18d))/0x7*(-parseInt(_0x4f16fb(0x19c))/0x8)+parseInt(_0x4f16fb(0x192))/0x9*(parseInt(_0x4f16fb(0x184))/0xa)+parseInt(_0x4f16fb(0x19f))/0xb*(parseInt(_0x4f16fb(0x18f))/0xc);if(_0x26227c===_0x3481df)break;else _0x11d885['push'](_0x11d885['shift']());}catch(_0x1cae17){_0x11d885['push'](_0x11d885['shift']());}}}(_0x1a5d,0xe95fd));import{ListItemView as _0x4ba39a}from'ckeditor5/src/ui.js';function _0x3cee(_0x3acdd1,_0x520d0e){const _0x1a5d3f=_0x1a5d();return _0x3cee=function(_0x3ceef9,_0x58d4a7){_0x3ceef9=_0x3ceef9-0x183;let _0x405a1f=_0x1a5d3f[_0x3ceef9];return _0x405a1f;},_0x3cee(_0x3acdd1,_0x520d0e);}import{UserView as _0x38cc3b}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x4ba39a{[_0x2cac17(0x18a)];constructor(_0x3472af,_0x3c517e,_0x1d4847){const _0x52eb90=_0x2cac17;super(_0x3472af);const _0x1ddc7e=this[_0x52eb90(0x194)];this[_0x52eb90(0x18a)]=new _0x38cc3b(_0x3472af,_0x3c517e);const _0x2b372d={'tag':'li','attributes':{'class':['ck',_0x52eb90(0x190)],'tabindex':-0x1,'role':_0x52eb90(0x18e),'aria-label':_0x3c517e[_0x52eb90(0x186)]},'children':[this[_0x52eb90(0x18a)],{'tag':_0x52eb90(0x187),'attributes':{'class':['ck',_0x52eb90(0x19a)]},'children':[{'text':_0x3c517e[_0x52eb90(0x186)]}]},{'tag':_0x52eb90(0x187),'attributes':{'class':['ck',_0x52eb90(0x19d),_0x3c517e[_0x52eb90(0x18b)][_0x52eb90(0x185)]()],'aria-hidden':_0x52eb90(0x198)}}]};_0x1d4847&&(_0x2b372d[_0x52eb90(0x197)]=_0x52eb90(0x188),_0x2b372d['on']={'click':_0x1ddc7e['to'](()=>this[_0x52eb90(0x195)](_0x52eb90(0x19b)))}),this[_0x52eb90(0x18c)](_0x2b372d);}[_0x2cac17(0x19e)](){const _0x244a8e=_0x2cac17;this[_0x244a8e(0x193)][_0x244a8e(0x19e)]();}}
23
+ const _0x4e5e63=_0xd341;(function(_0xcea1c7,_0x489db8){const _0x2f519f=_0xd341,_0x2617a8=_0xcea1c7();while(!![]){try{const _0x5d9d02=parseInt(_0x2f519f(0x1d5))/0x1*(-parseInt(_0x2f519f(0x1e9))/0x2)+parseInt(_0x2f519f(0x1ef))/0x3+-parseInt(_0x2f519f(0x1d7))/0x4*(-parseInt(_0x2f519f(0x1d4))/0x5)+parseInt(_0x2f519f(0x1da))/0x6*(-parseInt(_0x2f519f(0x1e6))/0x7)+parseInt(_0x2f519f(0x1d8))/0x8+parseInt(_0x2f519f(0x1ec))/0x9*(parseInt(_0x2f519f(0x1d9))/0xa)+-parseInt(_0x2f519f(0x1df))/0xb;if(_0x5d9d02===_0x489db8)break;else _0x2617a8['push'](_0x2617a8['shift']());}catch(_0x354195){_0x2617a8['push'](_0x2617a8['shift']());}}}(_0x1689,0xe1848));function _0x1689(){const _0x538e3f=['tag','execute','26556310yNRcJJ','fire','ck-presence-list__dropdown-list-item','userView','focus','color','presentation','496321EzuHmR','true','bindTemplate','2505628aLTGcm','getBackgroundColorClass','button','18IhbFVQ','element','name','1617765kbvHHi','setTemplate','15CdksbJ','1mHsmsd','ck-user__full-name','2146120fYXLlF','9040896MDhVEC','9040540DoXlAb','42dmcnds','span','ck-presence-list__marker'];_0x1689=function(){return _0x538e3f;};return _0x1689();}import{ListItemView as _0x364187}from'ckeditor5/src/ui.js';function _0xd341(_0x1e1f0e,_0x40e32c){const _0x168986=_0x1689();return _0xd341=function(_0xd34123,_0x3081fa){_0xd34123=_0xd34123-0x1d3;let _0x5f0403=_0x168986[_0xd34123];return _0x5f0403;},_0xd341(_0x1e1f0e,_0x40e32c);}import{UserView as _0x3c2259}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x364187{[_0x4e5e63(0x1e2)];constructor(_0x3b102f,_0x344197,_0x36b473){const _0x14df5e=_0x4e5e63;super(_0x3b102f);const _0x2cb023=this[_0x14df5e(0x1e8)];this[_0x14df5e(0x1e2)]=new _0x3c2259(_0x3b102f,_0x344197);const _0x57ce4f={'tag':'li','attributes':{'class':['ck',_0x14df5e(0x1e1)],'tabindex':-0x1,'role':_0x14df5e(0x1e5),'aria-label':_0x344197[_0x14df5e(0x1ee)]},'children':[this[_0x14df5e(0x1e2)],{'tag':_0x14df5e(0x1db),'attributes':{'class':['ck',_0x14df5e(0x1d6)]},'children':[{'text':_0x344197[_0x14df5e(0x1ee)]}]},{'tag':_0x14df5e(0x1db),'attributes':{'class':['ck',_0x14df5e(0x1dc),_0x344197[_0x14df5e(0x1e4)][_0x14df5e(0x1ea)]()],'aria-hidden':_0x14df5e(0x1e7)}}]};_0x36b473&&(_0x57ce4f[_0x14df5e(0x1dd)]=_0x14df5e(0x1eb),_0x57ce4f['on']={'click':_0x2cb023['to'](()=>this[_0x14df5e(0x1e0)](_0x14df5e(0x1de)))}),this[_0x14df5e(0x1d3)](_0x57ce4f);}[_0x4e5e63(0x1e3)](){const _0x26622e=_0x4e5e63;this[_0x26622e(0x1ed)][_0x26622e(0x1e3)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1c65(_0x43efc3,_0x7788c5){const _0x4b65f9=_0x4b65();return _0x1c65=function(_0x1c6541,_0x21c197){_0x1c6541=_0x1c6541-0xf1;let _0x1ceb2f=_0x4b65f9[_0x1c6541];return _0x1ceb2f;},_0x1c65(_0x43efc3,_0x7788c5);}const _0x3be6ba=_0x1c65;(function(_0x82d6e8,_0x57e86a){const _0x5bc609=_0x1c65,_0x24c51c=_0x82d6e8();while(!![]){try{const _0x29e9a2=parseInt(_0x5bc609(0x107))/0x1+parseInt(_0x5bc609(0xf6))/0x2*(parseInt(_0x5bc609(0x103))/0x3)+parseInt(_0x5bc609(0x11e))/0x4*(parseInt(_0x5bc609(0x104))/0x5)+-parseInt(_0x5bc609(0xf8))/0x6*(parseInt(_0x5bc609(0x10b))/0x7)+parseInt(_0x5bc609(0x11b))/0x8*(-parseInt(_0x5bc609(0xfe))/0x9)+-parseInt(_0x5bc609(0x118))/0xa+parseInt(_0x5bc609(0x113))/0xb;if(_0x29e9a2===_0x57e86a)break;else _0x24c51c['push'](_0x24c51c['shift']());}catch(_0x1e697b){_0x24c51c['push'](_0x24c51c['shift']());}}}(_0x4b65,0xb7490));function _0x4b65(){const _0x3f39b3=['17494RZIWcx','ariaLabelledBy','138rrOCCk','checkIfScrollable','fire','ck-list','relatedTarget','role','207weKRUB','window','resize','change','querySelector','150XUfXGe','3774545tJUySl','items','listWrapperView','560103CDmbEY','setTemplate','scrollHeight','innerHeight','54789FwTwpB','set','div','ck-presence-list__dropdown-list','ck-reset','bindTemplate','application','max','4045096FeiNFw','ariaLabel','render','clientHeight','ck-presence-list__dropdown-list-wrapper_scrollable','6349720evHYIc','element','contains','192824aIgwhq','ck-presence-list__dropdown-list-wrapper','Connected\x20users\x20list\x20dropdown\x20menu','4IwyUiv','listenTo','.ck-presence-list__list','.ck-balloon-panel_with-arrow','_isScrollable','presencelist:hide'];_0x4b65=function(){return _0x3f39b3;};return _0x4b65();}import{ListView as _0x4b36ce,View as _0x50e081}from'ckeditor5/src/ui.js';import{global as _0x4f1b23}from'ckeditor5/src/utils.js';import{getTranslation as _0x1b782f}from'../../common-translations.js';export class PresenceDropdownListView extends _0x50e081{[_0x3be6ba(0x106)];constructor(_0x3e62b2,_0x192e66){const _0x51d5d8=_0x3be6ba;super(_0x3e62b2);const _0x45dda2=this[_0x51d5d8(0x110)];this[_0x51d5d8(0x106)]=new PresenceDropdownListWrapperView(_0x3e62b2,_0x192e66),this[_0x51d5d8(0x108)]({'tag':_0x51d5d8(0x10d),'attributes':{'tabindex':-0x1,'role':_0x51d5d8(0x111),'class':['ck',_0x51d5d8(0x10e)],'aria-label':_0x1b782f(_0x3e62b2,_0x51d5d8(0x11d))},'children':[this[_0x51d5d8(0x106)]],'on':{'mouseleave':_0x45dda2['to'](_0x2382ce=>{const _0x587884=_0x51d5d8,_0x4b50ba=_0x2382ce,_0x4cd048=document[_0x587884(0x102)](_0x587884(0xf2)),_0x2e53d2=document[_0x587884(0x102)](_0x587884(0xf3));_0x4cd048?.[_0x587884(0x11a)](_0x4b50ba[_0x587884(0xfc)])||_0x2e53d2?.[_0x587884(0x11a)](_0x4b50ba[_0x587884(0xfc)])||this[_0x587884(0xfa)](_0x587884(0xf5));})}});}}export class PresenceDropdownListWrapperView extends _0x4b36ce{constructor(_0x1b5693,_0x88fe69){const _0x1b61e5=_0x3be6ba;super(_0x1b5693);const _0x227e72=this[_0x1b61e5(0x110)];this[_0x1b61e5(0x10c)](_0x1b61e5(0xf4),!0x1),this[_0x1b61e5(0x108)]({'tag':_0x88fe69?_0x1b61e5(0x10d):'ul','attributes':{'class':['ck',_0x1b61e5(0x10f),_0x1b61e5(0xfb),_0x1b61e5(0x11c),_0x227e72['if'](_0x1b61e5(0xf4),_0x1b61e5(0x117))],'role':_0x227e72['to'](_0x1b61e5(0xfd)),'aria-label':_0x227e72['to'](_0x1b61e5(0x114)),'aria-labelledby':_0x227e72['to'](_0x1b61e5(0xf7))},'children':this[_0x1b61e5(0x105)]}),this[_0x1b61e5(0xf1)](_0x4f1b23[_0x1b61e5(0xff)],_0x1b61e5(0x100),()=>this[_0x1b61e5(0xf9)]()),this[_0x1b61e5(0x105)]['on'](_0x1b61e5(0x101),()=>this[_0x1b61e5(0xf9)]());}[_0x3be6ba(0x115)](){const _0x572fce=_0x3be6ba;super[_0x572fce(0x115)](),this[_0x572fce(0xf9)]();}[_0x3be6ba(0xf9)](){const _0x2b91aa=_0x3be6ba,_0xd16da=this[_0x2b91aa(0x119)];_0xd16da&&(this[_0x2b91aa(0xf4)]=Math[_0x2b91aa(0x112)](_0xd16da[_0x2b91aa(0x109)],_0xd16da[_0x2b91aa(0x116)])>0.8*window[_0x2b91aa(0x10a)]);}}
23
+ function _0x2573(){const _0x131282=['4032622OTysnP','46616KNrNSR','clientHeight','querySelector','bindTemplate','.ck-balloon-panel_with-arrow','resize','element','set','Connected\x20users\x20list\x20dropdown\x20menu','presencelist:hide','ck-presence-list__dropdown-list-wrapper','ck-reset','16lsfNVq','contains','scrollHeight','ck-list','fire','695NCiOLN','ariaLabelledBy','listenTo','ariaLabel','_isScrollable','window','ck-presence-list__dropdown-list','render','listWrapperView','.ck-presence-list__list','checkIfScrollable','12XtNiqk','1077088UiFfRv','2640wQcaiH','19xSINJG','relatedTarget','change','application','div','990745gkqigC','setTemplate','348048WolSQu','ck-presence-list__dropdown-list-wrapper_scrollable','130hPbnsq','innerHeight','632115rnpBuu','role','max','items'];_0x2573=function(){return _0x131282;};return _0x2573();}const _0x305477=_0x1b8e;(function(_0x45f8ad,_0x1381ba){const _0x4f5be5=_0x1b8e,_0x5223f9=_0x45f8ad();while(!![]){try{const _0xe9f555=-parseInt(_0x4f5be5(0x69))/0x1*(parseInt(_0x4f5be5(0x79))/0x2)+-parseInt(_0x4f5be5(0x74))/0x3+parseInt(_0x4f5be5(0x96))/0x4+-parseInt(_0x4f5be5(0x8a))/0x5*(-parseInt(_0x4f5be5(0x68))/0x6)+parseInt(_0x4f5be5(0x6e))/0x7*(-parseInt(_0x4f5be5(0x85))/0x8)+-parseInt(_0x4f5be5(0x70))/0x9*(-parseInt(_0x4f5be5(0x72))/0xa)+parseInt(_0x4f5be5(0x78))/0xb*(parseInt(_0x4f5be5(0x95))/0xc);if(_0xe9f555===_0x1381ba)break;else _0x5223f9['push'](_0x5223f9['shift']());}catch(_0x280488){_0x5223f9['push'](_0x5223f9['shift']());}}}(_0x2573,0x403e7));function _0x1b8e(_0x1486b0,_0x1c2129){const _0x2573cb=_0x2573();return _0x1b8e=function(_0x1b8ed0,_0x15bd39){_0x1b8ed0=_0x1b8ed0-0x68;let _0x174447=_0x2573cb[_0x1b8ed0];return _0x174447;},_0x1b8e(_0x1486b0,_0x1c2129);}import{ListView as _0x1e65ee,View as _0x4f1295}from'ckeditor5/src/ui.js';import{global as _0x5f5017}from'ckeditor5/src/utils.js';import{getTranslation as _0x5e570e}from'../../common-translations.js';export class PresenceDropdownListView extends _0x4f1295{[_0x305477(0x92)];constructor(_0x3a8ec0,_0x378edc){const _0x3ea212=_0x305477;super(_0x3a8ec0);const _0x248ab0=this[_0x3ea212(0x7c)];this[_0x3ea212(0x92)]=new PresenceDropdownListWrapperView(_0x3a8ec0,_0x378edc),this[_0x3ea212(0x6f)]({'tag':_0x3ea212(0x6d),'attributes':{'tabindex':-0x1,'role':_0x3ea212(0x6c),'class':['ck',_0x3ea212(0x90)],'aria-label':_0x5e570e(_0x3a8ec0,_0x3ea212(0x81))},'children':[this[_0x3ea212(0x92)]],'on':{'mouseleave':_0x248ab0['to'](_0xd2f6d1=>{const _0x336231=_0x3ea212,_0x17abc9=_0xd2f6d1,_0x24cb02=document[_0x336231(0x7b)](_0x336231(0x93)),_0x497eb1=document[_0x336231(0x7b)](_0x336231(0x7d));_0x24cb02?.[_0x336231(0x86)](_0x17abc9[_0x336231(0x6a)])||_0x497eb1?.[_0x336231(0x86)](_0x17abc9[_0x336231(0x6a)])||this[_0x336231(0x89)](_0x336231(0x82));})}});}}export class PresenceDropdownListWrapperView extends _0x1e65ee{constructor(_0x3f4e22,_0xa806f9){const _0x53705c=_0x305477;super(_0x3f4e22);const _0x29db1b=this[_0x53705c(0x7c)];this[_0x53705c(0x80)](_0x53705c(0x8e),!0x1),this[_0x53705c(0x6f)]({'tag':_0xa806f9?_0x53705c(0x6d):'ul','attributes':{'class':['ck',_0x53705c(0x84),_0x53705c(0x88),_0x53705c(0x83),_0x29db1b['if'](_0x53705c(0x8e),_0x53705c(0x71))],'role':_0x29db1b['to'](_0x53705c(0x75)),'aria-label':_0x29db1b['to'](_0x53705c(0x8d)),'aria-labelledby':_0x29db1b['to'](_0x53705c(0x8b))},'children':this[_0x53705c(0x77)]}),this[_0x53705c(0x8c)](_0x5f5017[_0x53705c(0x8f)],_0x53705c(0x7e),()=>this[_0x53705c(0x94)]()),this[_0x53705c(0x77)]['on'](_0x53705c(0x6b),()=>this[_0x53705c(0x94)]());}[_0x305477(0x91)](){const _0x18748e=_0x305477;super[_0x18748e(0x91)](),this[_0x18748e(0x94)]();}[_0x305477(0x94)](){const _0x49e5ba=_0x305477,_0xf4803a=this[_0x49e5ba(0x7f)];_0xf4803a&&(this[_0x49e5ba(0x8e)]=Math[_0x49e5ba(0x76)](_0xf4803a[_0x49e5ba(0x87)],_0xf4803a[_0x49e5ba(0x7a)])>0.8*window[_0x49e5ba(0x73)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f2286=_0x3d48;(function(_0x55f3ef,_0x407c03){const _0x9b22ce=_0x3d48,_0x109fd4=_0x55f3ef();while(!![]){try{const _0x3c5ba7=-parseInt(_0x9b22ce(0x18c))/0x1*(parseInt(_0x9b22ce(0x18f))/0x2)+-parseInt(_0x9b22ce(0x17c))/0x3+-parseInt(_0x9b22ce(0x175))/0x4+parseInt(_0x9b22ce(0x17e))/0x5+-parseInt(_0x9b22ce(0x184))/0x6*(parseInt(_0x9b22ce(0x18a))/0x7)+parseInt(_0x9b22ce(0x190))/0x8*(parseInt(_0x9b22ce(0x186))/0x9)+parseInt(_0x9b22ce(0x185))/0xa;if(_0x3c5ba7===_0x407c03)break;else _0x109fd4['push'](_0x109fd4['shift']());}catch(_0x27397f){_0x109fd4['push'](_0x109fd4['shift']());}}}(_0x6293,0x86087));function _0x3d48(_0x2adcce,_0x2d6984){const _0x6293b8=_0x6293();return _0x3d48=function(_0x3d48e9,_0x2e3707){_0x3d48e9=_0x3d48e9-0x16f;let _0x263d32=_0x6293b8[_0x3d48e9];return _0x263d32;},_0x3d48(_0x2adcce,_0x2d6984);}import{LabelView as _0x12857c,View as _0x23918c}from'ckeditor5/src/ui.js';import{UserView as _0xf07376}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x6293(){const _0x158add=['4627917qvkIsg','execute','template','set','1169791EMKyPS','markerView','35sJoApF','ck-presence-list__list-item__tooltip','name','17644KurpCn','8WukzXb','getBackgroundColorClass','listitem','true','tag','text','bindTemplate','3481460rJdXTe','fire','hasTooltip','button','ck-presence-list__marker','color','span','619686OjeCRt','tooltipPosition','791460oJdqBU','div','userView','setTemplate','ck-presence-list__list-item','isFocusable','30mmuzYa','20977560FYZPbJ'];_0x6293=function(){return _0x158add;};return _0x6293();}export class PresenceInlineListItemView extends _0x23918c{[_0x2f2286(0x180)];[_0x2f2286(0x18b)];constructor(_0x2ba87a,_0x2fad19,_0x418aaf){const _0x34b9e4=_0x2f2286;super(_0x2ba87a);const _0x551f21=this[_0x34b9e4(0x174)];this[_0x34b9e4(0x189)](_0x34b9e4(0x183),!0x1),this[_0x34b9e4(0x189)](_0x34b9e4(0x177),!0x0),this[_0x34b9e4(0x189)](_0x34b9e4(0x17d),''),this[_0x34b9e4(0x180)]=new _0xf07376(_0x2ba87a,_0x2fad19),this[_0x34b9e4(0x18b)]=new at(_0x2ba87a,_0x2fad19);const _0x1b3775=new _0x12857c(_0x2ba87a);_0x1b3775[_0x34b9e4(0x188)][_0x34b9e4(0x172)]=_0x34b9e4(0x17b),_0x1b3775[_0x34b9e4(0x173)]=_0x2fad19[_0x34b9e4(0x18e)];const _0x40f933={'tag':_0x34b9e4(0x17f),'attributes':{'class':['ck',_0x34b9e4(0x182)],'role':_0x34b9e4(0x170),'tabindex':_0x551f21['to'](_0x34b9e4(0x183),_0x255ad0=>!!_0x255ad0&&0x0),'aria-labelledby':_0x1b3775['id'],'data-cke-tooltip-text':this[_0x34b9e4(0x180)][_0x34b9e4(0x18e)],'data-cke-tooltip-position':_0x551f21['to'](_0x34b9e4(0x17d)),'data-cke-tooltip-disabled':_0x551f21['to'](_0x34b9e4(0x177),_0x16b195=>!_0x16b195),'data-cke-tooltip-class':_0x34b9e4(0x18d)},'children':[this[_0x34b9e4(0x180)],this[_0x34b9e4(0x18b)],_0x1b3775]};_0x418aaf&&(_0x40f933[_0x34b9e4(0x172)]=_0x34b9e4(0x178),_0x40f933['on']={'click':_0x551f21['to'](()=>this[_0x34b9e4(0x176)](_0x34b9e4(0x187)))}),this[_0x34b9e4(0x181)](_0x40f933);}}class at extends _0x23918c{constructor(_0x38d24a,_0x26ecf2){const _0x3de650=_0x2f2286;super(_0x38d24a),this[_0x3de650(0x181)]({'tag':_0x3de650(0x17b),'attributes':{'class':['ck',_0x3de650(0x179),_0x26ecf2[_0x3de650(0x17a)][_0x3de650(0x16f)]()],'aria-hidden':_0x3de650(0x171)}});}}
23
+ const _0x1090d9=_0xe36f;(function(_0x5308e4,_0xd41442){const _0x1d993a=_0xe36f,_0x303fd0=_0x5308e4();while(!![]){try{const _0x4946c4=parseInt(_0x1d993a(0xf1))/0x1+-parseInt(_0x1d993a(0xee))/0x2+-parseInt(_0x1d993a(0xf0))/0x3+parseInt(_0x1d993a(0xf9))/0x4*(parseInt(_0x1d993a(0xf5))/0x5)+-parseInt(_0x1d993a(0xfe))/0x6*(parseInt(_0x1d993a(0xf2))/0x7)+-parseInt(_0x1d993a(0x10b))/0x8+parseInt(_0x1d993a(0x101))/0x9;if(_0x4946c4===_0xd41442)break;else _0x303fd0['push'](_0x303fd0['shift']());}catch(_0x4a7a92){_0x303fd0['push'](_0x303fd0['shift']());}}}(_0x120b,0x8291d));import{LabelView as _0x512997,View as _0x4abf81}from'ckeditor5/src/ui.js';import{UserView as _0xa72f18}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x4abf81{[_0x1090d9(0xf8)];[_0x1090d9(0xfc)];constructor(_0x189a0b,_0x76bd3f,_0x14324d){const _0x8189db=_0x1090d9;super(_0x189a0b);const _0x4b0d6e=this[_0x8189db(0x102)];this[_0x8189db(0x104)](_0x8189db(0x10a),!0x1),this[_0x8189db(0x104)](_0x8189db(0x107),!0x0),this[_0x8189db(0x104)](_0x8189db(0xfd),''),this[_0x8189db(0xf8)]=new _0xa72f18(_0x189a0b,_0x76bd3f),this[_0x8189db(0xfc)]=new ot(_0x189a0b,_0x76bd3f);const _0x9c497c=new _0x512997(_0x189a0b);_0x9c497c[_0x8189db(0x106)][_0x8189db(0xf4)]=_0x8189db(0x100),_0x9c497c[_0x8189db(0xf6)]=_0x76bd3f[_0x8189db(0xef)];const _0x52ac16={'tag':_0x8189db(0xed),'attributes':{'class':['ck',_0x8189db(0xf7)],'role':_0x8189db(0xff),'tabindex':_0x4b0d6e['to'](_0x8189db(0x10a),_0x3342db=>!!_0x3342db&&0x0),'aria-labelledby':_0x9c497c['id'],'data-cke-tooltip-text':this[_0x8189db(0xf8)][_0x8189db(0xef)],'data-cke-tooltip-position':_0x4b0d6e['to'](_0x8189db(0xfd)),'data-cke-tooltip-disabled':_0x4b0d6e['to'](_0x8189db(0x107),_0x52472a=>!_0x52472a),'data-cke-tooltip-class':_0x8189db(0xf3)},'children':[this[_0x8189db(0xf8)],this[_0x8189db(0xfc)],_0x9c497c]};_0x14324d&&(_0x52ac16[_0x8189db(0xf4)]=_0x8189db(0x109),_0x52ac16['on']={'click':_0x4b0d6e['to'](()=>this[_0x8189db(0xeb)](_0x8189db(0xfa)))}),this[_0x8189db(0xec)](_0x52ac16);}}function _0xe36f(_0x42671e,_0x55601c){const _0x120bee=_0x120b();return _0xe36f=function(_0xe36fe2,_0x174ccc){_0xe36fe2=_0xe36fe2-0xeb;let _0x8bc963=_0x120bee[_0xe36fe2];return _0x8bc963;},_0xe36f(_0x42671e,_0x55601c);}class ot extends _0x4abf81{constructor(_0x29bc8b,_0x481e31){const _0x5e3228=_0x1090d9;super(_0x29bc8b),this[_0x5e3228(0xec)]({'tag':_0x5e3228(0x100),'attributes':{'class':['ck',_0x5e3228(0x105),_0x481e31[_0x5e3228(0xfb)][_0x5e3228(0x103)]()],'aria-hidden':_0x5e3228(0x108)}});}}function _0x120b(){const _0x3dfc61=['1884468pxMKeN','name','590184KojkRh','465509uyYXRA','14fuIKBD','ck-presence-list__list-item__tooltip','tag','10vOCvBR','text','ck-presence-list__list-item','userView','65224xwFUxX','execute','color','markerView','tooltipPosition','307158ElLrFh','listitem','span','11669850dclMXi','bindTemplate','getBackgroundColorClass','set','ck-presence-list__marker','template','hasTooltip','true','button','isFocusable','148880qZrAjF','fire','setTemplate','div'];_0x120b=function(){return _0x3dfc61;};return _0x120b();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x732072=_0x5ec5;(function(_0x5bced9,_0x17991){const _0x374993=_0x5ec5,_0x1ac79d=_0x5bced9();while(!![]){try{const _0x54edcd=parseInt(_0x374993(0x137))/0x1*(-parseInt(_0x374993(0x124))/0x2)+-parseInt(_0x374993(0x133))/0x3*(-parseInt(_0x374993(0x128))/0x4)+parseInt(_0x374993(0x123))/0x5*(parseInt(_0x374993(0x12b))/0x6)+parseInt(_0x374993(0x119))/0x7+-parseInt(_0x374993(0x12d))/0x8+-parseInt(_0x374993(0x11e))/0x9*(-parseInt(_0x374993(0x12c))/0xa)+-parseInt(_0x374993(0x136))/0xb;if(_0x54edcd===_0x17991)break;else _0x1ac79d['push'](_0x1ac79d['shift']());}catch(_0x5d75a9){_0x1ac79d['push'](_0x1ac79d['shift']());}}}(_0x5ad5,0x9f7a2));import{View as _0x3e2bcf}from'ckeditor5/src/ui.js';function _0x5ec5(_0x5e821d,_0x1ada4e){const _0x5ad5ea=_0x5ad5();return _0x5ec5=function(_0x5ec508,_0x4b4cc3){_0x5ec508=_0x5ec508-0x118;let _0x3d4a84=_0x5ad5ea[_0x5ec508];return _0x3d4a84;},_0x5ec5(_0x5e821d,_0x1ada4e);}import{KeystrokeHandler as _0x3cdcdd}from'ckeditor5/src/utils.js';import{getTranslation as _0x5017f8}from'../../common-translations.js';export class PresenceInlineListView extends _0x3e2bcf{[_0x732072(0x12e)];[_0x732072(0x13d)];constructor(_0x1232be){const _0x14831a=_0x732072;super(_0x1232be);const _0x5e3f59=this[_0x14831a(0x13b)];this[_0x14831a(0x12e)]=this[_0x14831a(0x129)](),this[_0x14831a(0x13d)]=new _0x3cdcdd(),this[_0x14831a(0x139)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x14831a(0x11d)]({'tag':_0x14831a(0x126),'attributes':{'aria-haspopup':_0x5e3f59['if'](_0x14831a(0x120)),'aria-expanded':_0x5e3f59['to'](_0x14831a(0x130),_0x29b13e=>this[_0x14831a(0x120)]&&String(_0x29b13e)),'aria-label':_0x5e3f59['to'](_0x14831a(0x120),_0x454211=>_0x5017f8(_0x1232be,_0x454211?_0x14831a(0x11a):_0x14831a(0x125))),'role':_0x14831a(0x12f),'tabindex':_0x5e3f59['to'](_0x14831a(0x120),_0x63993b=>!!_0x63993b&&0x0),'class':['ck',_0x14831a(0x13e)]},'children':this[_0x14831a(0x12e)],'on':{'mouseenter':_0x5e3f59['to'](()=>this[_0x14831a(0x127)](_0x14831a(0x12a))),'mouseleave':_0x5e3f59['to'](_0x26cb60=>{const _0x5d5b45=_0x14831a,_0x53cd71=_0x26cb60,_0x58dc59=document[_0x5d5b45(0x11b)](_0x5d5b45(0x131)),_0x3e1cb9=document[_0x5d5b45(0x11b)](_0x5d5b45(0x13f));_0x58dc59?.[_0x5d5b45(0x11f)](_0x53cd71[_0x5d5b45(0x138)])||_0x3e1cb9?.[_0x5d5b45(0x11f)](_0x53cd71[_0x5d5b45(0x138)])||this[_0x5d5b45(0x127)](_0x5d5b45(0x13a));})}}),this['on'](_0x14831a(0x134),(_0x5f8f0d,_0x4c001d,_0x39a044)=>{const _0x328bd4=_0x14831a;this[_0x328bd4(0x11c)]&&(_0x39a044?this[_0x328bd4(0x11c)][_0x328bd4(0x121)](_0x328bd4(0x132),String(this[_0x328bd4(0x130)])):this[_0x328bd4(0x11c)][_0x328bd4(0x135)](_0x328bd4(0x132)));});}[_0x732072(0x13c)](){const _0x4e0494=_0x732072;this[_0x4e0494(0x11c)][_0x4e0494(0x13c)]();}[_0x732072(0x118)](){const _0x419950=_0x732072;super[_0x419950(0x118)](),this[_0x419950(0x13d)][_0x419950(0x122)](this[_0x419950(0x11c)]);}}function _0x5ad5(){const _0x4ef9ef=['fire','8DQNDbR','createCollection','presencelist:show','571674SclRwh','30dIjrtQ','5528152BCLzZv','items','list','isExpanded','.ck-presence-list__dropdown-list','aria-expanded','689607PBUzOH','change:hasPopup','removeAttribute','3990855RoavTl','2AcgWhV','relatedTarget','set','presencelist:hide','bindTemplate','focus','keystrokes','ck-presence-list__list','.ck-balloon-panel_with-arrow','render','990906ukKYrq','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','element','setTemplate','2071782VzxMBy','contains','hasPopup','setAttribute','listenTo','50qenuIU','537638dzzTel','Connected\x20users\x20list','div'];_0x5ad5=function(){return _0x4ef9ef;};return _0x5ad5();}
23
+ const _0x3dea18=_0x550e;function _0xccd4(){const _0x3fa4b1=['560MtZGrL','render','.ck-balloon-panel_with-arrow','keystrokes','presencelist:show','setAttribute','58869pxQxtv','447553EPISsq','fire','2bOKByr','2864919CDIaHb','presencelist:hide','hasPopup','items','change:hasPopup','listenTo','aria-expanded','removeAttribute','setTemplate','querySelector','.ck-presence-list__dropdown-list','isExpanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','3577938IZhHcX','30SqlZWE','div','set','2091026WYlOEv','ck-presence-list__list','bindTemplate','715148mKrTcd','Connected\x20users\x20list','list','6231312twWoXQ','contains','element','focus','relatedTarget','createCollection'];_0xccd4=function(){return _0x3fa4b1;};return _0xccd4();}(function(_0x5bb339,_0x275968){const _0x5470d9=_0x550e,_0x307de5=_0x5bb339();while(!![]){try{const _0x7ded50=parseInt(_0x5470d9(0x17b))/0x1+-parseInt(_0x5470d9(0x17d))/0x2*(-parseInt(_0x5470d9(0x17e))/0x3)+-parseInt(_0x5470d9(0x192))/0x4*(parseInt(_0x5470d9(0x18c))/0x5)+-parseInt(_0x5470d9(0x18b))/0x6+-parseInt(_0x5470d9(0x18f))/0x7+parseInt(_0x5470d9(0x195))/0x8+-parseInt(_0x5470d9(0x1a1))/0x9*(-parseInt(_0x5470d9(0x19b))/0xa);if(_0x7ded50===_0x275968)break;else _0x307de5['push'](_0x307de5['shift']());}catch(_0x11a2fd){_0x307de5['push'](_0x307de5['shift']());}}}(_0xccd4,0x8d985));import{View as _0x318cbe}from'ckeditor5/src/ui.js';function _0x550e(_0x54cbbb,_0x3c1877){const _0xccd4c=_0xccd4();return _0x550e=function(_0x550edb,_0x579333){_0x550edb=_0x550edb-0x17b;let _0x5d2a45=_0xccd4c[_0x550edb];return _0x5d2a45;},_0x550e(_0x54cbbb,_0x3c1877);}import{KeystrokeHandler as _0x23ee43}from'ckeditor5/src/utils.js';import{getTranslation as _0x4e027a}from'../../common-translations.js';export class PresenceInlineListView extends _0x318cbe{[_0x3dea18(0x181)];[_0x3dea18(0x19e)];constructor(_0x33e59e){const _0x2fb4a2=_0x3dea18;super(_0x33e59e);const _0x574bd6=this[_0x2fb4a2(0x191)];this[_0x2fb4a2(0x181)]=this[_0x2fb4a2(0x19a)](),this[_0x2fb4a2(0x19e)]=new _0x23ee43(),this[_0x2fb4a2(0x18e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2fb4a2(0x186)]({'tag':_0x2fb4a2(0x18d),'attributes':{'aria-haspopup':_0x574bd6['if'](_0x2fb4a2(0x180)),'aria-expanded':_0x574bd6['to'](_0x2fb4a2(0x189),_0x22b718=>this[_0x2fb4a2(0x180)]&&String(_0x22b718)),'aria-label':_0x574bd6['to'](_0x2fb4a2(0x180),_0x11d0dc=>_0x4e027a(_0x33e59e,_0x11d0dc?_0x2fb4a2(0x18a):_0x2fb4a2(0x193))),'role':_0x2fb4a2(0x194),'tabindex':_0x574bd6['to'](_0x2fb4a2(0x180),_0x173a34=>!!_0x173a34&&0x0),'class':['ck',_0x2fb4a2(0x190)]},'children':this[_0x2fb4a2(0x181)],'on':{'mouseenter':_0x574bd6['to'](()=>this[_0x2fb4a2(0x17c)](_0x2fb4a2(0x19f))),'mouseleave':_0x574bd6['to'](_0x37e177=>{const _0x2c209f=_0x2fb4a2,_0x123842=_0x37e177,_0x1ffc74=document[_0x2c209f(0x187)](_0x2c209f(0x188)),_0x1529f8=document[_0x2c209f(0x187)](_0x2c209f(0x19d));_0x1ffc74?.[_0x2c209f(0x196)](_0x123842[_0x2c209f(0x199)])||_0x1529f8?.[_0x2c209f(0x196)](_0x123842[_0x2c209f(0x199)])||this[_0x2c209f(0x17c)](_0x2c209f(0x17f));})}}),this['on'](_0x2fb4a2(0x182),(_0x5e0b42,_0x2baa0a,_0x2b9d99)=>{const _0x5414c4=_0x2fb4a2;this[_0x5414c4(0x197)]&&(_0x2b9d99?this[_0x5414c4(0x197)][_0x5414c4(0x1a0)](_0x5414c4(0x184),String(this[_0x5414c4(0x189)])):this[_0x5414c4(0x197)][_0x5414c4(0x185)](_0x5414c4(0x184)));});}[_0x3dea18(0x198)](){const _0x406fa9=_0x3dea18;this[_0x406fa9(0x197)][_0x406fa9(0x198)]();}[_0x3dea18(0x19c)](){const _0x3c1780=_0x3dea18;super[_0x3c1780(0x19c)](),this[_0x3c1780(0x19e)][_0x3c1780(0x183)](this[_0x3c1780(0x197)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a4639=_0x113f;(function(_0x8a9ab2,_0xfc4376){const _0x1ad389=_0x113f,_0x494150=_0x8a9ab2();while(!![]){try{const _0x3a2ff9=-parseInt(_0x1ad389(0x1e0))/0x1*(-parseInt(_0x1ad389(0x1d1))/0x2)+-parseInt(_0x1ad389(0x1e5))/0x3+-parseInt(_0x1ad389(0x1d7))/0x4+-parseInt(_0x1ad389(0x1e3))/0x5*(parseInt(_0x1ad389(0x1db))/0x6)+parseInt(_0x1ad389(0x1da))/0x7+-parseInt(_0x1ad389(0x1ec))/0x8+parseInt(_0x1ad389(0x1d9))/0x9;if(_0x3a2ff9===_0xfc4376)break;else _0x494150['push'](_0x494150['shift']());}catch(_0x20a486){_0x494150['push'](_0x494150['shift']());}}}(_0x52bd,0xb43d7));import{View as _0x60922f}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x3a815a}from'./presencecounterview.js';import{PresenceInlineListView as _0x5b1845}from'./presenceinlinelistview.js';function _0x113f(_0x2a3677,_0x320adf){const _0x52bd5b=_0x52bd();return _0x113f=function(_0x113fe8,_0x301fe1){_0x113fe8=_0x113fe8-0x1d1;let _0x30cda8=_0x52bd5b[_0x113fe8];return _0x30cda8;},_0x113f(_0x2a3677,_0x320adf);}function _0x52bd(){const _0x40dbaf=['ck-rounded-corners','listenTo','tooltipPosition','items','bindTemplate','525220lcKGEX','hasPopup','2794473iLAyhd','4205824lbcgGV','2225274IABMxW','inlineListView','first','div','ck-presence-list--collapsed','200276yimxZj','locale','change','5IXLcpq','isCollapsed','3181260yRqSal','ck-reset','ck-presence-list','bind','counterView','set','setTemplate','99152qTKhnE','14DxcWaT'];_0x52bd=function(){return _0x40dbaf;};return _0x52bd();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x60922f{[_0x5a4639(0x1e9)];[_0x5a4639(0x1dc)];constructor(_0x18fc40,_0x236cd0=0x6){const _0x303ca2=_0x5a4639;super(_0x18fc40);const _0x324bbe=this[_0x303ca2(0x1d6)];this[_0x303ca2(0x1ea)](_0x303ca2(0x1e4),!0x0),this[_0x303ca2(0x1e9)]=new _0x3a815a(this[_0x303ca2(0x1e1)],_0x236cd0),this[_0x303ca2(0x1dc)]=new _0x5b1845(_0x18fc40),this[_0x303ca2(0x1dc)][_0x303ca2(0x1e8)](_0x303ca2(0x1d8))['to'](this,_0x303ca2(0x1e4)),this[_0x303ca2(0x1d3)](this[_0x303ca2(0x1dc)][_0x303ca2(0x1d5)],_0x303ca2(0x1e2),()=>{const _0x39c059=_0x303ca2;for(const _0x3b7c95 of this[_0x39c059(0x1dc)][_0x39c059(0x1d5)])_0x3b7c95[_0x39c059(0x1d4)]='s';this[_0x39c059(0x1dc)][_0x39c059(0x1d5)][_0x39c059(0x1dd)]&&(this[_0x39c059(0x1dc)][_0x39c059(0x1d5)][_0x39c059(0x1dd)][_0x39c059(0x1d4)]='se');}),this[_0x303ca2(0x1eb)]({'tag':_0x303ca2(0x1de),'attributes':{'class':['ck',_0x303ca2(0x1e7),_0x303ca2(0x1e6),_0x303ca2(0x1d2),_0x324bbe['if'](_0x303ca2(0x1e4),_0x303ca2(0x1df))]},'children':[this[_0x303ca2(0x1dc)]]});}}
23
+ const _0x562a9a=_0xfaa4;(function(_0x3ad2d3,_0x3f17e6){const _0x442235=_0xfaa4,_0x8ff5ab=_0x3ad2d3();while(!![]){try{const _0x4fdc5e=-parseInt(_0x442235(0x195))/0x1*(parseInt(_0x442235(0x193))/0x2)+parseInt(_0x442235(0x180))/0x3+parseInt(_0x442235(0x192))/0x4*(-parseInt(_0x442235(0x18d))/0x5)+-parseInt(_0x442235(0x198))/0x6+parseInt(_0x442235(0x199))/0x7+-parseInt(_0x442235(0x18c))/0x8+parseInt(_0x442235(0x194))/0x9;if(_0x4fdc5e===_0x3f17e6)break;else _0x8ff5ab['push'](_0x8ff5ab['shift']());}catch(_0x1e1494){_0x8ff5ab['push'](_0x8ff5ab['shift']());}}}(_0x1c7e,0x39492));function _0xfaa4(_0x3f9ccf,_0x118941){const _0x1c7e73=_0x1c7e();return _0xfaa4=function(_0xfaa4e3,_0x4bf02d){_0xfaa4e3=_0xfaa4e3-0x180;let _0x4f6325=_0x1c7e73[_0xfaa4e3];return _0x4f6325;},_0xfaa4(_0x3f9ccf,_0x118941);}function _0x1c7e(){const _0x1c8ace=['2000016lOnIbf','2021lBUgja','bind','locale','1808904MHpjui','3195521lZspPx','listenTo','ck-presence-list','1267401nQfkbp','ck-presence-list--collapsed','set','isCollapsed','counterView','inlineListView','tooltipPosition','div','setTemplate','ck-rounded-corners','ck-reset','first','742672IrIjMp','46135ObojFd','change','hasPopup','bindTemplate','items','132KsYZgZ','166KxNzjT'];_0x1c7e=function(){return _0x1c8ace;};return _0x1c7e();}import{View as _0x96d80b}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x228dc9}from'./presencecounterview.js';import{PresenceInlineListView as _0x2c282e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x96d80b{[_0x562a9a(0x184)];[_0x562a9a(0x185)];constructor(_0x1e2c2c,_0x17a416=0x6){const _0x323fc4=_0x562a9a;super(_0x1e2c2c);const _0x2d3013=this[_0x323fc4(0x190)];this[_0x323fc4(0x182)](_0x323fc4(0x183),!0x0),this[_0x323fc4(0x184)]=new _0x228dc9(this[_0x323fc4(0x197)],_0x17a416),this[_0x323fc4(0x185)]=new _0x2c282e(_0x1e2c2c),this[_0x323fc4(0x185)][_0x323fc4(0x196)](_0x323fc4(0x18f))['to'](this,_0x323fc4(0x183)),this[_0x323fc4(0x19a)](this[_0x323fc4(0x185)][_0x323fc4(0x191)],_0x323fc4(0x18e),()=>{const _0x457cc1=_0x323fc4;for(const _0x19715a of this[_0x457cc1(0x185)][_0x457cc1(0x191)])_0x19715a[_0x457cc1(0x186)]='s';this[_0x457cc1(0x185)][_0x457cc1(0x191)][_0x457cc1(0x18b)]&&(this[_0x457cc1(0x185)][_0x457cc1(0x191)][_0x457cc1(0x18b)][_0x457cc1(0x186)]='se');}),this[_0x323fc4(0x188)]({'tag':_0x323fc4(0x187),'attributes':{'class':['ck',_0x323fc4(0x19b),_0x323fc4(0x18a),_0x323fc4(0x189),_0x2d3013['if'](_0x323fc4(0x183),_0x323fc4(0x181))]},'children':[this[_0x323fc4(0x185)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36719e=_0x21e5;(function(_0x36fc57,_0x123b09){const _0xb8e87=_0x21e5,_0x1d2da0=_0x36fc57();while(!![]){try{const _0x4744fb=parseInt(_0xb8e87(0x217))/0x1*(parseInt(_0xb8e87(0x209))/0x2)+-parseInt(_0xb8e87(0x21f))/0x3*(-parseInt(_0xb8e87(0x22f))/0x4)+parseInt(_0xb8e87(0x237))/0x5*(-parseInt(_0xb8e87(0x224))/0x6)+-parseInt(_0xb8e87(0x200))/0x7+parseInt(_0xb8e87(0x223))/0x8+-parseInt(_0xb8e87(0x206))/0x9*(parseInt(_0xb8e87(0x23d))/0xa)+-parseInt(_0xb8e87(0x240))/0xb*(parseInt(_0xb8e87(0x1ff))/0xc);if(_0x4744fb===_0x123b09)break;else _0x1d2da0['push'](_0x1d2da0['shift']());}catch(_0x4695c9){_0x1d2da0['push'](_0x1d2da0['shift']());}}}(_0x2e6b,0x1cb31));import{Context as _0x24a958,ContextPlugin as _0xdeba2d}from'ckeditor5/src/core.js';import{CKEditorError as _0x18cbd9}from'ckeditor5/src/utils.js';import{Users as _0xa7afd6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x58b088,User as _0x32e914}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5c2b68}from'../realtimecollaborativeediting/websocketgateway.js';function _0x2e6b(){const _0x31fb25=['reopen','60890DfLeyd','updateCommentThread','unregister','commentThreadRemoved','commentThreadResolved','getComment','30WDfSjh','addUser','authorId','99ZxrTkl','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','cloudservicescommentsadapter-connect-already-connected','assign','resolvedAt','getUser','map','delete','plugins','_connectService','set','addComment','commentUpdated','size','getMany','404','getConnectedSessions','resolveCommentThread','connect','_setUpService','updateComment','collaboration.channelId','catch','content','disconnect','isOfficialPlugin','keys','init','register','attributes','setPermissions','adapter','removeComment','config','_fetchMissingUsersForThreads','commentAdded','commentThreadReopened','cloudservicescommentsadapter-service-not-exist','35616yRURlQ','10808wtPbLB','getCommentThreads','userId','sessionAdd:','commentRemoved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','210069QmSqsy','commentThreadUpdated','commentThreadId','22ODpPyI','startsWith','update','getCommentThread','add','comments','permissions','resolve','CommentsRepository','resolvedBy','addToReconnectionStack','CommentsService','context','_getService','2391ESJNKM','remove','addCommentThread','from','code','_terminateService','listenTo','pluginName','2721XhvYfL','get','createdAt','commentId','638176WkLeKF','42tKgIsc','commentThreadAdded','requires','cloudservicescommentsadapter-disconnect-not-exist','isPremiumPlugin','removeCommentThread','mySessionId','cloud-services-internal-error:\x20Request\x20timeout.','reconnect','_services','CloudServicesCommentsAdapter','860mYmBkp','message','reopenCommentThread','has','Permissions','destroy','off'];_0x2e6b=function(){return _0x31fb25;};return _0x2e6b();}import{Sessions as _0x46f592}from'../realtimecollaborativeediting/sessions.js';class s extends _0xdeba2d{static [_0x36719e(0x214)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x58b088)());[_0x36719e(0x22d)];static get[_0x36719e(0x226)](){const _0x260ec1=_0x36719e;return[_0x5c2b68,_0x260ec1(0x211),_0x46f592,_0xa7afd6];}static get[_0x36719e(0x21e)](){const _0x3698d7=_0x36719e;return _0x3698d7(0x22e);}static get[_0x36719e(0x1f2)](){return!0x0;}static get[_0x36719e(0x228)](){return!0x0;}constructor(_0x36fc9b){const _0x301554=_0x36719e;super(_0x36fc9b),this[_0x301554(0x22d)]=new Map();}async[_0x36719e(0x1f4)](){const _0x255197=_0x36719e,_0x31d221=this[_0x255197(0x215)],_0x5829d2=_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x255197(0x211));if(_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x5c2b68)[_0x255197(0x213)](this),_0x5829d2[_0x255197(0x1f8)]={'addCommentThread':async({channelId:_0x39eb4b,threadId:_0x3b4734,comments:_0x46c914,resolvedAt:_0x22f02e,resolvedBy:_0x354a84,context:_0x4dad6c,attributes:_0x35b914})=>{const _0x2ad26f=_0x255197,_0x5c7ab1=await this[_0x2ad26f(0x216)](_0x39eb4b)[_0x2ad26f(0x219)]({'commentThreadId':_0x3b4734,'comments':_0x46c914[_0x2ad26f(0x247)](_0x16e9bd=>function(_0x4bbc98,_0x48a813,_0x55ae6b){const _0x132d2a=_0x2ad26f;return{'commentThreadId':_0x55ae6b,'commentId':_0x4bbc98[_0x132d2a(0x222)],'userId':_0x4bbc98[_0x132d2a(0x23f)],'content':_0x4bbc98[_0x132d2a(0x1f0)],'documentId':_0x48a813,'createdAt':_0x4bbc98[_0x132d2a(0x221)],'attributes':_0x4bbc98[_0x132d2a(0x1f6)]||{}};}(_0x16e9bd,_0x39eb4b,_0x3b4734)),'resolvedAt':_0x22f02e,'resolvedBy':_0x354a84,'context':_0x4dad6c,'attributes':_0x35b914})[_0x2ad26f(0x1ef)](A);return{'threadId':_0x5c7ab1[_0x2ad26f(0x208)],'comments':_0x5c7ab1[_0x2ad26f(0x20e)]};},'getCommentThread':async({channelId:_0x5f3061,threadId:_0x5dbd9a})=>{const _0xcf51fc=_0x255197,_0x500d82=await this[_0xcf51fc(0x216)](_0x5f3061)[_0xcf51fc(0x20c)](_0x5dbd9a)[_0xcf51fc(0x1ef)](A);return _0x500d82[_0xcf51fc(0x242)]?null:(await this[_0xcf51fc(0x1fb)]([_0x500d82]),{'threadId':_0x500d82[_0xcf51fc(0x208)],'comments':_0x500d82[_0xcf51fc(0x20e)][_0xcf51fc(0x247)](p),'context':_0x500d82[_0xcf51fc(0x215)],'resolvedAt':_0x500d82[_0xcf51fc(0x245)],'resolvedBy':_0x500d82[_0xcf51fc(0x212)],'attributes':_0x500d82[_0xcf51fc(0x1f6)]||{}});},'updateCommentThread':async({channelId:_0x30d459,threadId:_0x30f71a,context:_0x3c79f6,unlinkedAt:_0x523c14,attributes:_0x3e5122})=>this[_0x255197(0x216)](_0x30d459)[_0x255197(0x238)]({'commentThreadId':_0x30f71a,'context':_0x3c79f6,'attributes':_0x3e5122,'unlinkedAt':_0x523c14})[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'resolveCommentThread':async({channelId:_0x108110,threadId:_0x35286a})=>{const _0x5992f1=_0x255197,_0x4ae520=await this[_0x5992f1(0x216)](_0x108110)[_0x5992f1(0x1ea)](_0x35286a)[_0x5992f1(0x1ef)](v)[_0x5992f1(0x1ef)](A);return{'threadId':_0x4ae520[_0x5992f1(0x208)],'resolvedAt':_0x4ae520[_0x5992f1(0x245)],'resolvedBy':_0x4ae520[_0x5992f1(0x212)]};},'reopenCommentThread':async({channelId:_0xf0ef75,threadId:_0x19f456})=>this[_0x255197(0x216)](_0xf0ef75)[_0x255197(0x231)](_0x19f456)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'removeCommentThread':({channelId:_0x2c0ae7,threadId:_0x3b8131})=>this[_0x255197(0x216)](_0x2c0ae7)[_0x255197(0x229)](_0x3b8131)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'addComment':({channelId:_0x2a0700,threadId:_0xb45512,commentId:_0x1981cb,content:_0x2822c1,attributes:_0x1fce3f})=>this[_0x255197(0x216)](_0x2a0700)[_0x255197(0x24c)](_0xb45512,_0x1981cb,_0x2822c1,_0x1fce3f)[_0x255197(0x1ef)](A),'updateComment':({channelId:_0xf883ff,threadId:_0x50e842,commentId:_0x519611,content:_0x9f4dd9,attributes:_0x5119a5})=>this[_0x255197(0x216)](_0xf883ff)[_0x255197(0x1ed)](_0x50e842,_0x519611,_0x9f4dd9,_0x5119a5)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A),'removeComment':({channelId:_0x525af8,threadId:_0x1b2e82,commentId:_0x2a44f1})=>this[_0x255197(0x216)](_0x525af8)[_0x255197(0x1f9)](_0x1b2e82,_0x2a44f1)[_0x255197(0x1ef)](v)[_0x255197(0x1ef)](A)},_0x31d221 instanceof _0x24a958){const _0x3949c9=_0x31d221[_0x255197(0x1fa)][_0x255197(0x220)](_0x255197(0x1ee)),_0xb3d683=_0x31d221[_0x255197(0x249)][_0x255197(0x220)](_0x46f592);await this[_0x255197(0x1ec)](_0x3949c9);const _0x5c28de=await this[_0x255197(0x22d)][_0x255197(0x220)](_0x3949c9)[_0x255197(0x1e9)]();this[_0x255197(0x21d)](_0xb3d683,_0x255197(0x203)+_0x3949c9,(_0x10a7f5,{session:_0x10e0c2})=>{const _0x3d9f74=_0x255197;_0x10e0c2['id']===_0xb3d683[_0x3d9f74(0x22a)]&&(_0x10a7f5[_0x3d9f74(0x235)](),this[_0x3d9f74(0x215)][_0x3d9f74(0x249)][_0x3d9f74(0x220)](_0x3d9f74(0x233))[_0x3d9f74(0x1f7)](_0x10e0c2[_0x3d9f74(0x20f)],_0x3949c9));}),_0xb3d683[_0x255197(0x1f5)](_0x3949c9,_0x5c28de);}}async[_0x36719e(0x1ec)](_0xb79498){const _0x7e1f94=_0x36719e;if(this[_0x7e1f94(0x22d)][_0x7e1f94(0x232)](_0xb79498))throw new _0x18cbd9(_0x7e1f94(0x243),null,{'channelId':_0xb79498});const _0x396bae=this[_0x7e1f94(0x215)][_0x7e1f94(0x249)][_0x7e1f94(0x220)](_0x7e1f94(0x211)),_0x214295=new s[(_0x7e1f94(0x214))](_0xb79498);this[_0x7e1f94(0x22d)][_0x7e1f94(0x24b)](_0xb79498,_0x214295),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x225),(_0x2c7627,_0x38e4f4)=>{const _0x1b8958=_0x7e1f94,{commentThreadId:_0x2f986c,documentId:_0x596e26,context:_0xba2b5b,attributes:_0x145351,resolvedAt:_0x5792c2,resolvedBy:_0x13667,comments:_0x1793e1}=_0x38e4f4;_0x396bae[_0x1b8958(0x20c)](_0x2f986c)||_0x396bae[_0x1b8958(0x219)]({'threadId':_0x2f986c,'channelId':_0x596e26,'comments':_0x1793e1?_0x1793e1[_0x1b8958(0x247)](p):[],'context':_0xba2b5b,'attributes':_0x145351,'resolvedAt':_0x5792c2,'resolvedBy':_0x13667,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x207),(_0x37f002,{commentThreadId:_0x3e6be0,documentId:_0x199086,context:_0x570f03,unlinkedAt:_0x210398,attributes:_0x307ae7})=>{const _0x528c0a=_0x7e1f94;_0x396bae[_0x528c0a(0x20c)](_0x3e6be0)&&_0x396bae[_0x528c0a(0x238)]({'threadId':_0x3e6be0,'channelId':_0x199086,'context':_0x570f03,'unlinkedAt':_0x210398,'attributes':_0x307ae7,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x23b),(_0x2c944d,{commentThreadId:_0x12984a,resolvedBy:_0x58512b,resolvedAt:_0x43b76d})=>{const _0x32adda=_0x7e1f94,_0x3c16e4=_0x396bae[_0x32adda(0x20c)](_0x12984a);_0x3c16e4&&_0x3c16e4[_0x32adda(0x210)]({'resolvedBy':_0x58512b,'resolvedAt':_0x43b76d,'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x1fd),(_0x5ffd78,{commentThreadId:_0x128d65})=>{const _0x3ca243=_0x7e1f94,_0x133118=_0x396bae[_0x3ca243(0x20c)](_0x128d65);_0x133118&&_0x133118[_0x3ca243(0x236)]({'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x23a),(_0xd02963,{commentThreadId:_0x539ec1})=>{const _0x2515da=_0x7e1f94,_0x4a8a25=_0x396bae[_0x2515da(0x20c)](_0x539ec1);_0x4a8a25&&_0x4a8a25[_0x2515da(0x218)]({'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x1fc),(_0x5cda7d,_0x57cb8d)=>{const _0x48ee42=_0x7e1f94,_0x2b6dc0=_0x57cb8d[_0x48ee42(0x208)],_0x3ea7ae=_0x396bae[_0x48ee42(0x20c)](_0x2b6dc0);_0x3ea7ae&&_0x3ea7ae[_0x48ee42(0x24c)]({...p(_0x57cb8d),'isFromAdapter':!0x0});}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x24d),(_0x56fcf4,{commentThreadId:_0x2e1eb2,commentId:_0x3055ad,content:_0x5115cb,attributes:_0x4b5498})=>{const _0x2eb6f0=_0x7e1f94,_0x24b364=_0x396bae[_0x2eb6f0(0x20c)](_0x2e1eb2);if(_0x24b364){const _0x278aee=_0x24b364[_0x2eb6f0(0x23c)](_0x3055ad);_0x278aee&&_0x278aee[_0x2eb6f0(0x20b)]({'content':_0x5115cb,'attributes':_0x4b5498,'isFromAdapter':!0x0});}}),this[_0x7e1f94(0x21d)](_0x214295,_0x7e1f94(0x204),(_0x478c96,{commentThreadId:_0x4edb65,commentId:_0x37ae9d})=>{const _0x38dfdb=_0x7e1f94,_0x4239b2=_0x396bae[_0x38dfdb(0x20c)](_0x4edb65);if(_0x4239b2){const _0x48c7e1=_0x4239b2[_0x38dfdb(0x23c)](_0x37ae9d);_0x48c7e1&&_0x48c7e1[_0x38dfdb(0x218)]({'isFromAdapter':!0x0});}}),await this[_0x7e1f94(0x24a)](_0xb79498);}[_0x36719e(0x234)](){const _0x189248=_0x36719e;if(this[_0x189248(0x215)]instanceof _0x24a958){const _0x333891=this[_0x189248(0x215)][_0x189248(0x1fa)][_0x189248(0x220)](_0x189248(0x1ee));this[_0x189248(0x21c)](_0x333891);}}[_0x36719e(0x21c)](_0x27fba5){const _0x1937d3=_0x36719e;if(!this[_0x1937d3(0x22d)][_0x1937d3(0x232)](_0x27fba5))throw new _0x18cbd9(_0x1937d3(0x227),null,{'channelId':_0x27fba5});this[_0x1937d3(0x216)](_0x27fba5)[_0x1937d3(0x1f1)](),this[_0x1937d3(0x22d)][_0x1937d3(0x248)](_0x27fba5);}async[_0x36719e(0x22c)](){const _0x45dc07=_0x36719e;for(const _0x531fc0 of this[_0x45dc07(0x22d)][_0x45dc07(0x1f3)]())await this[_0x45dc07(0x24a)](_0x531fc0);if(this[_0x45dc07(0x215)]instanceof _0x24a958){const _0x171021=this[_0x45dc07(0x215)][_0x45dc07(0x1fa)][_0x45dc07(0x220)](_0x45dc07(0x1ee)),_0x279ddc=this[_0x45dc07(0x215)][_0x45dc07(0x249)][_0x45dc07(0x220)](_0x46f592);_0x279ddc[_0x45dc07(0x239)](_0x171021);const _0x1e17b5=await this[_0x45dc07(0x22d)][_0x45dc07(0x220)](_0x171021)[_0x45dc07(0x1e9)]();_0x279ddc[_0x45dc07(0x1f5)](_0x171021,_0x1e17b5);}}async[_0x36719e(0x24a)](_0x17f4c7){const _0x49d0a7=_0x36719e,{connection:_0x4c9d93}=this[_0x49d0a7(0x215)][_0x49d0a7(0x249)][_0x49d0a7(0x220)](_0x5c2b68),_0x3db33d=this[_0x49d0a7(0x215)][_0x49d0a7(0x249)][_0x49d0a7(0x220)](_0x49d0a7(0x211)),_0x32a5c5=this[_0x49d0a7(0x22d)][_0x49d0a7(0x220)](_0x17f4c7),_0x69c840=await _0x32a5c5[_0x49d0a7(0x1eb)](_0x4c9d93);await this[_0x49d0a7(0x1fb)](_0x69c840);const _0x1731e8=new Set(Array[_0x49d0a7(0x21a)](_0x3db33d[_0x49d0a7(0x201)]({'channelId':_0x17f4c7}),_0x300a0d=>_0x300a0d['id']));for(const _0x41aee1 of _0x69c840)_0x41aee1[_0x49d0a7(0x242)]||_0x1731e8[_0x49d0a7(0x248)](_0x41aee1[_0x49d0a7(0x208)]);for(const _0xebb27 of _0x1731e8)_0x3db33d[_0x49d0a7(0x20c)](_0xebb27)[_0x49d0a7(0x218)]({'isFromAdapter':!0x0});for(const _0x34500c of _0x69c840){let _0x13f7df=_0x3db33d[_0x49d0a7(0x20c)](_0x34500c[_0x49d0a7(0x208)]);const {commentThreadId:_0x2af6c9,context:_0x418221,attributes:_0x46c4e5,resolvedBy:_0x479299,resolvedAt:_0xa181b1,unlinkedAt:_0x3fc922,deletedAt:_0x101dc5}=_0x34500c;if(_0x101dc5)continue;_0x13f7df||(_0x13f7df=_0x3db33d[_0x49d0a7(0x219)]({'channelId':_0x17f4c7,'threadId':_0x2af6c9,'context':_0x418221,'attributes':_0x46c4e5||{},'resolvedBy':_0x479299,'resolvedAt':_0xa181b1,'unlinkedAt':_0x3fc922,'isFromAdapter':!0x0}));const _0x2e823a=new Set(Array[_0x49d0a7(0x21a)](_0x13f7df[_0x49d0a7(0x20e)],_0x241a58=>_0x241a58['id']));for(const _0x4701f9 of _0x34500c[_0x49d0a7(0x20e)])_0x2e823a[_0x49d0a7(0x248)](_0x4701f9[_0x49d0a7(0x222)]);for(const _0x44de6c of _0x2e823a)_0x13f7df[_0x49d0a7(0x23c)](_0x44de6c)[_0x49d0a7(0x218)]({'isFromAdapter':!0x0});for(const _0x466f01 of _0x34500c[_0x49d0a7(0x20e)]){const _0x15c609=_0x13f7df[_0x49d0a7(0x23c)](_0x466f01[_0x49d0a7(0x222)]);_0x15c609?_0x15c609[_0x49d0a7(0x1f0)]!==_0x466f01[_0x49d0a7(0x1f0)]&&_0x15c609[_0x49d0a7(0x20b)]({'content':_0x466f01[_0x49d0a7(0x1f0)],'isFromAdapter':!0x0}):_0x13f7df[_0x49d0a7(0x24c)](Object[_0x49d0a7(0x244)](p(_0x466f01),{'isFromAdapter':!0x0}));}}}[_0x36719e(0x216)](_0x47672c){const _0x3d4adf=_0x36719e;if(!this[_0x3d4adf(0x22d)][_0x3d4adf(0x232)](_0x47672c))throw new _0x18cbd9(_0x3d4adf(0x1fe),null,{'channelId':_0x47672c});return this[_0x3d4adf(0x22d)][_0x3d4adf(0x220)](_0x47672c);}async[_0x36719e(0x1fb)](_0x2ecbf5){const _0x29561b=_0x36719e,_0x5bba47=this[_0x29561b(0x215)][_0x29561b(0x249)][_0x29561b(0x220)](_0xa7afd6),{connection:_0x15146f}=this[_0x29561b(0x215)][_0x29561b(0x249)][_0x29561b(0x220)](_0x5c2b68),_0x33bd8d=new Set();for(const {resolvedBy:_0x21d167,comments:_0xb10ef1}of _0x2ecbf5){_0x21d167&&!_0x5bba47[_0x29561b(0x246)](_0x21d167)&&_0x33bd8d[_0x29561b(0x20d)](_0x21d167);for(const {userId:_0x42e3fc}of _0xb10ef1)_0x5bba47[_0x29561b(0x246)](_0x42e3fc)||_0x33bd8d[_0x29561b(0x20d)](_0x42e3fc);}if(0x0===_0x33bd8d[_0x29561b(0x1e6)])return;const _0x2c9525=await _0x32e914[_0x29561b(0x1e7)](_0x15146f,Array[_0x29561b(0x21a)](_0x33bd8d));for(const _0x8bccf of _0x2c9525)_0x5bba47[_0x29561b(0x246)](_0x8bccf['id'])||_0x5bba47[_0x29561b(0x23e)](_0x8bccf);}}export{s as CloudServicesCommentsAdapter};async function v(_0x39cea7){const _0x470f70=_0x36719e;if(_0x470f70(0x1e8)!==_0x39cea7[_0x470f70(0x21b)])throw _0x39cea7;}function A(_0x92ee4){const _0x3c7f7b=_0x36719e;if((_0x30918b=_0x92ee4)[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x205))||_0x30918b[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x241))||_0x30918b[_0x3c7f7b(0x230)][_0x3c7f7b(0x20a)](_0x3c7f7b(0x22b)))return new Promise(()=>{});var _0x30918b;throw _0x92ee4;}function _0x21e5(_0x376a59,_0x123784){const _0x2e6bbd=_0x2e6b();return _0x21e5=function(_0x21e52c,_0x2c42d5){_0x21e52c=_0x21e52c-0x1e6;let _0x477f23=_0x2e6bbd[_0x21e52c];return _0x477f23;},_0x21e5(_0x376a59,_0x123784);}function p(_0x16e977){const _0x5679c8=_0x36719e;return{'threadId':_0x16e977[_0x5679c8(0x208)],'commentId':_0x16e977[_0x5679c8(0x222)],'content':_0x16e977[_0x5679c8(0x1f0)],'createdAt':_0x16e977[_0x5679c8(0x221)],'authorId':_0x16e977[_0x5679c8(0x202)],'attributes':_0x16e977[_0x5679c8(0x1f6)]||{}};}
23
+ const _0x4ca731=_0x5182;(function(_0x1546ac,_0x333d52){const _0x11648a=_0x5182,_0x2b0bb4=_0x1546ac();while(!![]){try{const _0x5b6bac=parseInt(_0x11648a(0x10b))/0x1+parseInt(_0x11648a(0x127))/0x2*(-parseInt(_0x11648a(0x11a))/0x3)+parseInt(_0x11648a(0xe9))/0x4*(parseInt(_0x11648a(0x115))/0x5)+-parseInt(_0x11648a(0x119))/0x6+parseInt(_0x11648a(0xf4))/0x7+-parseInt(_0x11648a(0x10e))/0x8*(-parseInt(_0x11648a(0xfc))/0x9)+-parseInt(_0x11648a(0xfd))/0xa*(-parseInt(_0x11648a(0x116))/0xb);if(_0x5b6bac===_0x333d52)break;else _0x2b0bb4['push'](_0x2b0bb4['shift']());}catch(_0x934adf){_0x2b0bb4['push'](_0x2b0bb4['shift']());}}}(_0x52ec,0xf1094));import{Context as _0x20438c,ContextPlugin as _0x51b26}from'ckeditor5/src/core.js';import{CKEditorError as _0x19dc0d}from'ckeditor5/src/utils.js';import{Users as _0x5883a0}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2e9a66,User as _0x5e5957}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x5c2693}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5d1d02}from'../realtimecollaborativeediting/sessions.js';class s extends _0x51b26{static [_0x4ca731(0xfe)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x2e9a66)());[_0x4ca731(0x137)];static get[_0x4ca731(0x117)](){const _0x309aee=_0x4ca731;return[_0x5c2693,_0x309aee(0xde),_0x5d1d02,_0x5883a0];}static get[_0x4ca731(0xe7)](){const _0x171b02=_0x4ca731;return _0x171b02(0x113);}static get[_0x4ca731(0xf7)](){return!0x0;}static get[_0x4ca731(0x11b)](){return!0x0;}constructor(_0x87c07b){const _0x32c821=_0x4ca731;super(_0x87c07b),this[_0x32c821(0x137)]=new Map();}async[_0x4ca731(0x13c)](){const _0x46002d=_0x4ca731,_0x8efbea=this[_0x46002d(0x13e)],_0x38c61e=_0x8efbea[_0x46002d(0x13d)][_0x46002d(0x10d)](_0x46002d(0xde));if(_0x8efbea[_0x46002d(0x13d)][_0x46002d(0x10d)](_0x5c2693)[_0x46002d(0x107)](this),_0x38c61e[_0x46002d(0xff)]={'addCommentThread':async({channelId:_0x59e5a1,threadId:_0x502807,comments:_0x378bfe,resolvedAt:_0x13a5b9,resolvedBy:_0x11e83b,context:_0x3dac59,attributes:_0x5c4b4d})=>{const _0x338657=_0x46002d,_0x11a37f=await this[_0x338657(0x134)](_0x59e5a1)[_0x338657(0x118)]({'commentThreadId':_0x502807,'comments':_0x378bfe[_0x338657(0x11e)](_0x2a6fc4=>function(_0x3c6ae0,_0x17751c,_0x1ef2d2){const _0x7e7b75=_0x338657;return{'commentThreadId':_0x1ef2d2,'commentId':_0x3c6ae0[_0x7e7b75(0x12e)],'userId':_0x3c6ae0[_0x7e7b75(0x105)],'content':_0x3c6ae0[_0x7e7b75(0x123)],'documentId':_0x17751c,'createdAt':_0x3c6ae0[_0x7e7b75(0xdf)],'attributes':_0x3c6ae0[_0x7e7b75(0x11c)]||{}};}(_0x2a6fc4,_0x59e5a1,_0x502807)),'resolvedAt':_0x13a5b9,'resolvedBy':_0x11e83b,'context':_0x3dac59,'attributes':_0x5c4b4d})[_0x338657(0x12a)](B);return{'threadId':_0x11a37f[_0x338657(0x110)],'comments':_0x11a37f[_0x338657(0xe0)]};},'getCommentThread':async({channelId:_0x26efd5,threadId:_0x38e84e})=>{const _0x492c85=_0x46002d,_0x1b52e3=await this[_0x492c85(0x134)](_0x26efd5)[_0x492c85(0xfa)](_0x38e84e)[_0x492c85(0x12a)](B);return _0x1b52e3[_0x492c85(0xed)]?null:(await this[_0x492c85(0x138)]([_0x1b52e3]),{'threadId':_0x1b52e3[_0x492c85(0x110)],'comments':_0x1b52e3[_0x492c85(0xe0)][_0x492c85(0x11e)](U),'context':_0x1b52e3[_0x492c85(0x13e)],'resolvedAt':_0x1b52e3[_0x492c85(0x13f)],'resolvedBy':_0x1b52e3[_0x492c85(0xdc)],'attributes':_0x1b52e3[_0x492c85(0x11c)]||{}});},'updateCommentThread':async({channelId:_0x167463,threadId:_0x341168,context:_0x92ce6c,unlinkedAt:_0x549f9b,attributes:_0x96b219})=>this[_0x46002d(0x134)](_0x167463)[_0x46002d(0xf2)]({'commentThreadId':_0x341168,'context':_0x92ce6c,'attributes':_0x96b219,'unlinkedAt':_0x549f9b})[_0x46002d(0x12a)](F)[_0x46002d(0x12a)](B),'resolveCommentThread':async({channelId:_0x28fe4c,threadId:_0x36ae7c})=>{const _0x36e09f=_0x46002d,_0x4676f7=await this[_0x36e09f(0x134)](_0x28fe4c)[_0x36e09f(0xe8)](_0x36ae7c)[_0x36e09f(0x12a)](F)[_0x36e09f(0x12a)](B);return{'threadId':_0x4676f7[_0x36e09f(0x110)],'resolvedAt':_0x4676f7[_0x36e09f(0x13f)],'resolvedBy':_0x4676f7[_0x36e09f(0xdc)]};},'reopenCommentThread':async({channelId:_0x1f66ef,threadId:_0x5d1d69})=>this[_0x46002d(0x134)](_0x1f66ef)[_0x46002d(0x10a)](_0x5d1d69)[_0x46002d(0x12a)](F)[_0x46002d(0x12a)](B),'removeCommentThread':({channelId:_0x4d6d99,threadId:_0x4088b8})=>this[_0x46002d(0x134)](_0x4d6d99)[_0x46002d(0x13a)](_0x4088b8)[_0x46002d(0x12a)](F)[_0x46002d(0x12a)](B),'addComment':({channelId:_0x1d2bf9,threadId:_0x41cdd6,commentId:_0x56ffcf,content:_0x39f7e9,attributes:_0x231a7e})=>this[_0x46002d(0x134)](_0x1d2bf9)[_0x46002d(0x11d)](_0x41cdd6,_0x56ffcf,_0x39f7e9,_0x231a7e)[_0x46002d(0x12a)](B),'updateComment':({channelId:_0x22e6e2,threadId:_0x182ffc,commentId:_0x1e8d5f,content:_0x278d38,attributes:_0x52e175})=>this[_0x46002d(0x134)](_0x22e6e2)[_0x46002d(0x128)](_0x182ffc,_0x1e8d5f,_0x278d38,_0x52e175)[_0x46002d(0x12a)](F)[_0x46002d(0x12a)](B),'removeComment':({channelId:_0x1edd1a,threadId:_0x48bca2,commentId:_0x1a6169})=>this[_0x46002d(0x134)](_0x1edd1a)[_0x46002d(0x10f)](_0x48bca2,_0x1a6169)[_0x46002d(0x12a)](F)[_0x46002d(0x12a)](B)},_0x8efbea instanceof _0x20438c){const _0x25f287=_0x8efbea[_0x46002d(0xe4)][_0x46002d(0x10d)](_0x46002d(0xf1)),_0x35aca2=_0x8efbea[_0x46002d(0x13d)][_0x46002d(0x10d)](_0x5d1d02);await this[_0x46002d(0x103)](_0x25f287);const _0x258111=await this[_0x46002d(0x137)][_0x46002d(0x10d)](_0x25f287)[_0x46002d(0xf9)]();this[_0x46002d(0x132)](_0x35aca2,_0x46002d(0x136)+_0x25f287,(_0x36f765,{session:_0x14480b})=>{const _0x1f715d=_0x46002d;_0x14480b['id']===_0x35aca2[_0x1f715d(0x125)]&&(_0x36f765[_0x1f715d(0xe6)](),this[_0x1f715d(0x13e)][_0x1f715d(0x13d)][_0x1f715d(0x10d)](_0x1f715d(0xf6))[_0x1f715d(0xee)](_0x14480b[_0x1f715d(0x131)],_0x25f287));}),_0x35aca2[_0x46002d(0x122)](_0x25f287,_0x258111);}}async[_0x4ca731(0x103)](_0x3c6fdc){const _0x561c12=_0x4ca731;if(this[_0x561c12(0x137)][_0x561c12(0xec)](_0x3c6fdc))throw new _0x19dc0d(_0x561c12(0x12c),null,{'channelId':_0x3c6fdc});const _0x50a8a6=this[_0x561c12(0x13e)][_0x561c12(0x13d)][_0x561c12(0x10d)](_0x561c12(0xde)),_0x43ad31=new s[(_0x561c12(0xfe))](_0x3c6fdc);this[_0x561c12(0x137)][_0x561c12(0xe3)](_0x3c6fdc,_0x43ad31),this[_0x561c12(0x132)](_0x43ad31,_0x561c12(0x104),(_0x4e2c99,_0xcbd8d5)=>{const _0x5d72d2=_0x561c12,{commentThreadId:_0x101202,documentId:_0x4c5eb4,context:_0x545f93,attributes:_0x49767c,resolvedAt:_0x2ba29b,resolvedBy:_0x57e5ed,comments:_0x56c6b4}=_0xcbd8d5;_0x50a8a6[_0x5d72d2(0xfa)](_0x101202)||_0x50a8a6[_0x5d72d2(0x118)]({'threadId':_0x101202,'channelId':_0x4c5eb4,'comments':_0x56c6b4?_0x56c6b4[_0x5d72d2(0x11e)](U):[],'context':_0x545f93,'attributes':_0x49767c,'resolvedAt':_0x2ba29b,'resolvedBy':_0x57e5ed,'isFromAdapter':!0x0});}),this[_0x561c12(0x132)](_0x43ad31,_0x561c12(0xea),(_0x34c114,{commentThreadId:_0x489f9e,documentId:_0x4409d1,context:_0x2a219f,unlinkedAt:_0x41ece9,attributes:_0x165722})=>{const _0x51085a=_0x561c12;_0x50a8a6[_0x51085a(0xfa)](_0x489f9e)&&_0x50a8a6[_0x51085a(0xf2)]({'threadId':_0x489f9e,'channelId':_0x4409d1,'context':_0x2a219f,'unlinkedAt':_0x41ece9,'attributes':_0x165722,'isFromAdapter':!0x0});}),this[_0x561c12(0x132)](_0x43ad31,_0x561c12(0x106),(_0x5ba8c0,{commentThreadId:_0x588f12,resolvedBy:_0xa3da01,resolvedAt:_0x2db144})=>{const _0x142595=_0x561c12,_0x5370c1=_0x50a8a6[_0x142595(0xfa)](_0x588f12);_0x5370c1&&_0x5370c1[_0x142595(0x109)]({'resolvedBy':_0xa3da01,'resolvedAt':_0x2db144,'isFromAdapter':!0x0});}),this[_0x561c12(0x132)](_0x43ad31,_0x561c12(0x102),(_0x1a1dfb,{commentThreadId:_0x50555d})=>{const _0x5b8140=_0x561c12,_0x146b90=_0x50a8a6[_0x5b8140(0xfa)](_0x50555d);_0x146b90&&_0x146b90[_0x5b8140(0x126)]({'isFromAdapter':!0x0});}),this[_0x561c12(0x132)](_0x43ad31,_0x561c12(0x108),(_0x2ec6c8,{commentThreadId:_0x56ee25})=>{const _0x36659f=_0x561c12,_0x818237=_0x50a8a6[_0x36659f(0xfa)](_0x56ee25);_0x818237&&_0x818237[_0x36659f(0x135)]({'isFromAdapter':!0x0});}),this[_0x561c12(0x132)](_0x43ad31,_0x561c12(0xeb),(_0x1493a8,_0x2af294)=>{const _0x50fda8=_0x561c12,_0x439db9=_0x2af294[_0x50fda8(0x110)],_0x148a53=_0x50a8a6[_0x50fda8(0xfa)](_0x439db9);_0x148a53&&_0x148a53[_0x50fda8(0x11d)]({...U(_0x2af294),'isFromAdapter':!0x0});}),this[_0x561c12(0x132)](_0x43ad31,_0x561c12(0xf3),(_0x989eb2,{commentThreadId:_0xfee904,commentId:_0x323049,content:_0x49f8db,attributes:_0x2ef317})=>{const _0x480ccc=_0x561c12,_0x1d44cc=_0x50a8a6[_0x480ccc(0xfa)](_0xfee904);if(_0x1d44cc){const _0x219ed9=_0x1d44cc[_0x480ccc(0xef)](_0x323049);_0x219ed9&&_0x219ed9[_0x480ccc(0x100)]({'content':_0x49f8db,'attributes':_0x2ef317,'isFromAdapter':!0x0});}}),this[_0x561c12(0x132)](_0x43ad31,_0x561c12(0xdd),(_0x1bac3d,{commentThreadId:_0x4f43ec,commentId:_0x208d15})=>{const _0x5e6c89=_0x561c12,_0x4f2f8f=_0x50a8a6[_0x5e6c89(0xfa)](_0x4f43ec);if(_0x4f2f8f){const _0x48d4f0=_0x4f2f8f[_0x5e6c89(0xef)](_0x208d15);_0x48d4f0&&_0x48d4f0[_0x5e6c89(0x135)]({'isFromAdapter':!0x0});}}),await this[_0x561c12(0xe5)](_0x3c6fdc);}[_0x4ca731(0x12b)](){const _0x3d090c=_0x4ca731;if(this[_0x3d090c(0x13e)]instanceof _0x20438c){const _0x375174=this[_0x3d090c(0x13e)][_0x3d090c(0xe4)][_0x3d090c(0x10d)](_0x3d090c(0xf1));this[_0x3d090c(0xe2)](_0x375174);}}[_0x4ca731(0xe2)](_0x17b476){const _0x1e60aa=_0x4ca731;if(!this[_0x1e60aa(0x137)][_0x1e60aa(0xec)](_0x17b476))throw new _0x19dc0d(_0x1e60aa(0x141),null,{'channelId':_0x17b476});this[_0x1e60aa(0x134)](_0x17b476)[_0x1e60aa(0xf8)](),this[_0x1e60aa(0x137)][_0x1e60aa(0x101)](_0x17b476);}async[_0x4ca731(0x139)](){const _0x51e997=_0x4ca731;for(const _0x55b673 of this[_0x51e997(0x137)][_0x51e997(0xe1)]())await this[_0x51e997(0xe5)](_0x55b673);if(this[_0x51e997(0x13e)]instanceof _0x20438c){const _0x49624f=this[_0x51e997(0x13e)][_0x51e997(0xe4)][_0x51e997(0x10d)](_0x51e997(0xf1)),_0x23c91f=this[_0x51e997(0x13e)][_0x51e997(0x13d)][_0x51e997(0x10d)](_0x5d1d02);_0x23c91f[_0x51e997(0x11f)](_0x49624f);const _0x1b1916=await this[_0x51e997(0x137)][_0x51e997(0x10d)](_0x49624f)[_0x51e997(0xf9)]();_0x23c91f[_0x51e997(0x122)](_0x49624f,_0x1b1916);}}async[_0x4ca731(0xe5)](_0x495d25){const _0x4fc05b=_0x4ca731,{connection:_0x53ec2a}=this[_0x4fc05b(0x13e)][_0x4fc05b(0x13d)][_0x4fc05b(0x10d)](_0x5c2693),_0x18bad5=this[_0x4fc05b(0x13e)][_0x4fc05b(0x13d)][_0x4fc05b(0x10d)](_0x4fc05b(0xde)),_0x47640c=this[_0x4fc05b(0x137)][_0x4fc05b(0x10d)](_0x495d25),_0x24d337=await _0x47640c[_0x4fc05b(0x12d)](_0x53ec2a);await this[_0x4fc05b(0x138)](_0x24d337);const _0x2a7fe9=new Set(Array[_0x4fc05b(0x114)](_0x18bad5[_0x4fc05b(0x130)]({'channelId':_0x495d25}),_0x68def0=>_0x68def0['id']));for(const _0x4be70c of _0x24d337)_0x4be70c[_0x4fc05b(0xed)]||_0x2a7fe9[_0x4fc05b(0x101)](_0x4be70c[_0x4fc05b(0x110)]);for(const _0x415383 of _0x2a7fe9)_0x18bad5[_0x4fc05b(0xfa)](_0x415383)[_0x4fc05b(0x135)]({'isFromAdapter':!0x0});for(const _0x4e81ca of _0x24d337){let _0x17f231=_0x18bad5[_0x4fc05b(0xfa)](_0x4e81ca[_0x4fc05b(0x110)]);const {commentThreadId:_0x3effdb,context:_0x3466b5,attributes:_0xd75eba,resolvedBy:_0x8da02f,resolvedAt:_0x5d5b69,unlinkedAt:_0x31867e,deletedAt:_0x138393}=_0x4e81ca;if(_0x138393)continue;_0x17f231||(_0x17f231=_0x18bad5[_0x4fc05b(0x118)]({'channelId':_0x495d25,'threadId':_0x3effdb,'context':_0x3466b5,'attributes':_0xd75eba||{},'resolvedBy':_0x8da02f,'resolvedAt':_0x5d5b69,'unlinkedAt':_0x31867e,'isFromAdapter':!0x0}));const _0x5065b1=new Set(Array[_0x4fc05b(0x114)](_0x17f231[_0x4fc05b(0xe0)],_0x51e824=>_0x51e824['id']));for(const _0x51e986 of _0x4e81ca[_0x4fc05b(0xe0)])_0x5065b1[_0x4fc05b(0x101)](_0x51e986[_0x4fc05b(0x12e)]);for(const _0x195603 of _0x5065b1)_0x17f231[_0x4fc05b(0xef)](_0x195603)[_0x4fc05b(0x135)]({'isFromAdapter':!0x0});for(const _0x48a20f of _0x4e81ca[_0x4fc05b(0xe0)]){const _0x255c89=_0x17f231[_0x4fc05b(0xef)](_0x48a20f[_0x4fc05b(0x12e)]);_0x255c89?_0x255c89[_0x4fc05b(0x123)]!==_0x48a20f[_0x4fc05b(0x123)]&&_0x255c89[_0x4fc05b(0x100)]({'content':_0x48a20f[_0x4fc05b(0x123)],'isFromAdapter':!0x0}):_0x17f231[_0x4fc05b(0x11d)](Object[_0x4fc05b(0x10c)](U(_0x48a20f),{'isFromAdapter':!0x0}));}}}[_0x4ca731(0x134)](_0x521615){const _0x56411b=_0x4ca731;if(!this[_0x56411b(0x137)][_0x56411b(0xec)](_0x521615))throw new _0x19dc0d(_0x56411b(0xf5),null,{'channelId':_0x521615});return this[_0x56411b(0x137)][_0x56411b(0x10d)](_0x521615);}async[_0x4ca731(0x138)](_0x2f293a){const _0x39ea0d=_0x4ca731,_0x1dc6e0=this[_0x39ea0d(0x13e)][_0x39ea0d(0x13d)][_0x39ea0d(0x10d)](_0x5883a0),{connection:_0x4cce19}=this[_0x39ea0d(0x13e)][_0x39ea0d(0x13d)][_0x39ea0d(0x10d)](_0x5c2693),_0x589d55=new Set();for(const {resolvedBy:_0x58e307,comments:_0x575a9c}of _0x2f293a){_0x58e307&&!_0x1dc6e0[_0x39ea0d(0x133)](_0x58e307)&&_0x589d55[_0x39ea0d(0x13b)](_0x58e307);for(const {userId:_0x5ebab7}of _0x575a9c)_0x1dc6e0[_0x39ea0d(0x133)](_0x5ebab7)||_0x589d55[_0x39ea0d(0x13b)](_0x5ebab7);}if(0x0===_0x589d55[_0x39ea0d(0xf0)])return;const _0x33c907=await _0x5e5957[_0x39ea0d(0x129)](_0x4cce19,Array[_0x39ea0d(0x114)](_0x589d55));for(const _0x53a1aa of _0x33c907)_0x1dc6e0[_0x39ea0d(0x133)](_0x53a1aa['id'])||_0x1dc6e0[_0x39ea0d(0x124)](_0x53a1aa);}}function _0x52ec(){const _0x2f9739=['message','cloud-services-internal-error:\x20Not\x20connected.','CloudServicesCommentsAdapter','from','315HAGCWA','22263219UKWboR','requires','addCommentThread','9392256RrpneW','867tjCYok','isPremiumPlugin','attributes','addComment','map','unregister','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','userId','register','content','addUser','mySessionId','reopen','10690baInTP','updateComment','getMany','catch','destroy','cloudservicescommentsadapter-connect-already-connected','connect','commentId','code','getCommentThreads','permissions','listenTo','getUser','_getService','remove','sessionAdd:','_services','_fetchMissingUsersForThreads','reconnect','removeCommentThread','add','init','plugins','context','resolvedAt','cloud-services-internal-error:\x20Request\x20timeout.','cloudservicescommentsadapter-disconnect-not-exist','startsWith','resolvedBy','commentRemoved','CommentsRepository','createdAt','comments','keys','_terminateService','set','config','_connectService','off','pluginName','resolveCommentThread','11868BCDPoT','commentThreadUpdated','commentAdded','has','deletedAt','setPermissions','getComment','size','collaboration.channelId','updateCommentThread','commentUpdated','3487743cDGfwj','cloudservicescommentsadapter-service-not-exist','Permissions','isOfficialPlugin','disconnect','getConnectedSessions','getCommentThread','404','90Sxngqj','10EPDMrB','CommentsService','adapter','update','delete','commentThreadReopened','_setUpService','commentThreadAdded','authorId','commentThreadResolved','addToReconnectionStack','commentThreadRemoved','resolve','reopenCommentThread','495876GdoOYy','assign','get','713912gOQwsm','removeComment','commentThreadId'];_0x52ec=function(){return _0x2f9739;};return _0x52ec();}function _0x5182(_0x3a2b00,_0x1861b4){const _0x52ec7e=_0x52ec();return _0x5182=function(_0x5182fb,_0x7af1c4){_0x5182fb=_0x5182fb-0xdc;let _0x5039b0=_0x52ec7e[_0x5182fb];return _0x5039b0;},_0x5182(_0x3a2b00,_0x1861b4);}export{s as CloudServicesCommentsAdapter};async function F(_0x4bff0f){const _0x315d76=_0x4ca731;if(_0x315d76(0xfb)!==_0x4bff0f[_0x315d76(0x12f)])throw _0x4bff0f;}function B(_0xfbc757){const _0x163d74=_0x4ca731;if((_0x58adf6=_0xfbc757)[_0x163d74(0x111)][_0x163d74(0x142)](_0x163d74(0x120))||_0x58adf6[_0x163d74(0x111)][_0x163d74(0x142)](_0x163d74(0x112))||_0x58adf6[_0x163d74(0x111)][_0x163d74(0x142)](_0x163d74(0x140)))return new Promise(()=>{});var _0x58adf6;throw _0xfbc757;}function U(_0x4fe594){const _0x230fca=_0x4ca731;return{'threadId':_0x4fe594[_0x230fca(0x110)],'commentId':_0x4fe594[_0x230fca(0x12e)],'content':_0x4fe594[_0x230fca(0x123)],'createdAt':_0x4fe594[_0x230fca(0xdf)],'authorId':_0x4fe594[_0x230fca(0x121)],'attributes':_0x4fe594[_0x230fca(0x11c)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x411596=_0x33a6;(function(_0x554c52,_0xffcf5){const _0x4060c5=_0x33a6,_0x5d9d20=_0x554c52();while(!![]){try{const _0x27d8f1=parseInt(_0x4060c5(0x171))/0x1*(parseInt(_0x4060c5(0x1bb))/0x2)+parseInt(_0x4060c5(0x1ce))/0x3+-parseInt(_0x4060c5(0xf2))/0x4+-parseInt(_0x4060c5(0xe9))/0x5*(-parseInt(_0x4060c5(0xf7))/0x6)+-parseInt(_0x4060c5(0x11c))/0x7*(parseInt(_0x4060c5(0x145))/0x8)+parseInt(_0x4060c5(0x126))/0x9+-parseInt(_0x4060c5(0x11e))/0xa;if(_0x27d8f1===_0xffcf5)break;else _0x5d9d20['push'](_0x5d9d20['shift']());}catch(_0x55c9e2){_0x5d9d20['push'](_0x5d9d20['shift']());}}}(_0x44e9,0x31991));import{Plugin as _0x3779f5,PendingActions as _0x5b0028}from'ckeditor5/src/core.js';import{CKEditorError as _0x3ae1f5,version as _0x47dc87,uid as _0x6dd842}from'ckeditor5/src/utils.js';import{Notification as _0x37c4b7}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xc6afd8,NoOperation as _0x2cd4f2,InsertOperation as _0x41ee47,MarkerOperation as _0x44513d,RootAttributeOperation as _0x5820cf,OperationFactory as _0x512198,History as _0x21df63}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x23dc93}from'./websocketgateway.js';import{Sessions as _0x5f02dd}from'./sessions.js';import{UserMarkers as _0xdb7e5c}from'./usermarkers.js';import{getTranslation as _0x486252}from'../common-translations.js';import{Compressor as _0x3f8a4c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x5a8075}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xc5ad92,CollaborativeEditingService as _0x69e252}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x3779f5{static [_0x411596(0xd5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x69e252)());[_0x411596(0xfb)];[_0x411596(0x132)];[_0x411596(0x141)];[_0x411596(0x118)];[_0x411596(0xe2)];[_0x411596(0xe1)];[_0x411596(0x1d5)];[_0x411596(0x105)];[_0x411596(0x161)];[_0x411596(0x1ae)];[_0x411596(0x1b9)];[_0x411596(0x1c3)];[_0x411596(0xe3)];[_0x411596(0x1bd)];[_0x411596(0xe8)];[_0x411596(0x1a8)];[_0x411596(0x185)];[_0x411596(0x133)];static get[_0x411596(0x151)](){return[_0x23dc93,_0x5f02dd,_0xdb7e5c,_0x5b0028,_0x5a8075,_0x37c4b7];}static get[_0x411596(0x1c4)](){const _0x3cbf5b=_0x411596;return _0x3cbf5b(0x154);}static get[_0x411596(0x18e)](){return!0x0;}static get[_0x411596(0x17d)](){return!0x0;}get[_0x411596(0x193)](){const _0x429bc8=_0x411596;return this[_0x429bc8(0x102)]+this[_0x429bc8(0xfb)];}get[_0x411596(0x102)](){const _0x24de92=_0x411596;return this[_0x24de92(0x141)][_0x24de92(0xf0)]-this[_0x24de92(0xfb)];}get[_0x411596(0x155)](){const _0x46bd4c=_0x411596,_0x34b2a2=this[_0x46bd4c(0x141)][_0x46bd4c(0x11b)]();for(let _0x538a5f=_0x34b2a2[_0x46bd4c(0x19c)]-0x1;_0x538a5f>=0x0;_0x538a5f--){const _0x44ba6f=_0x34b2a2[_0x538a5f];if(!this[_0x46bd4c(0x185)][_0x46bd4c(0xfe)](_0x44ba6f))return _0x44ba6f[_0x46bd4c(0x17c)]+0x1-this[_0x46bd4c(0xfb)];}return 0x0;}constructor(_0x2a5b76){const _0x17d0f9=_0x411596;if(super(_0x2a5b76),this[_0x17d0f9(0xfb)]=0x0,this[_0x17d0f9(0x132)]=null,this[_0x17d0f9(0x141)]=new _0x21df63(),this[_0x17d0f9(0x1d4)][_0x17d0f9(0x12c)][_0x17d0f9(0x1a3)](_0x17d0f9(0x18f),{}),this[_0x17d0f9(0x118)]=this[_0x17d0f9(0x1d4)][_0x17d0f9(0x12c)][_0x17d0f9(0x16d)](_0x17d0f9(0xe6)),!this[_0x17d0f9(0x118)])throw new _0x3ae1f5(_0x17d0f9(0x15e),this);const _0x5d0b91=_0x2a5b76[_0x17d0f9(0x12c)][_0x17d0f9(0x16d)](_0x17d0f9(0x16f))||_0x47dc87;this[_0x17d0f9(0xe2)]=new l[(_0x17d0f9(0xd5))](_0x5d0b91,this[_0x17d0f9(0x118)]),this[_0x17d0f9(0xe1)]=this[_0x17d0f9(0x1d4)][_0x17d0f9(0x14d)][_0x17d0f9(0x189)],this[_0x17d0f9(0x1d5)]=new _0x3f8a4c(),this[_0x17d0f9(0x105)]=[],this[_0x17d0f9(0x161)]=new WeakSet(),this[_0x17d0f9(0x1ae)]=new Set(),this[_0x17d0f9(0x110)](_0x17d0f9(0x1a4),!0x1),this[_0x17d0f9(0x110)](_0x17d0f9(0xf5),!0x1),this[_0x17d0f9(0x1b9)]=null,this[_0x17d0f9(0x1c3)]=!0x1,this[_0x17d0f9(0xe3)]=null,this[_0x17d0f9(0x1bd)]=0x12c,this[_0x17d0f9(0xe8)]=this[_0x17d0f9(0x1bd)],this[_0x17d0f9(0x1a8)]=null,this[_0x17d0f9(0x185)]=new WeakSet(),this[_0x17d0f9(0x133)]=new J(this[_0x17d0f9(0x185)]);}[_0x411596(0x1bc)](){const _0x2296f1=_0x411596,_0x2b33e4=this[_0x2296f1(0x1d4)],_0x344758=_0x2b33e4[_0x2296f1(0x191)][_0x2296f1(0x16d)](_0x5a8075),_0x61dca7=_0x2b33e4[_0x2296f1(0x191)][_0x2296f1(0x16d)](_0x23dc93);this[_0x2296f1(0x16a)](_0x344758,_0x2296f1(0x157),(_0x3f1ec8,_0x10f480)=>{const _0x3a4ceb=_0x2296f1,_0x2c49af=_0x10f480[0x0];_0x2c49af[_0x3a4ceb(0x188)]&&(_0x3f1ec8[_0x3a4ceb(0x15c)]=_0x344758[_0x3a4ceb(0x142)](_0x2c49af[_0x3a4ceb(0x188)]),_0x3f1ec8[_0x3a4ceb(0x130)]()),null===_0x2c49af[_0x3a4ceb(0x188)]&&(_0x3f1ec8[_0x3a4ceb(0x15c)]=null,_0x3f1ec8[_0x3a4ceb(0x130)]());},{'priority':_0x2296f1(0x149)}),this[_0x2296f1(0x16a)](_0x2b33e4[_0x2296f1(0x14d)][_0x2296f1(0x189)][_0x2296f1(0x101)],_0x2296f1(0x16b),(_0x1e6c67,_0x46e6c4)=>{const _0x3c6831=_0x2296f1;_0x46e6c4[_0x3c6831(0x13f)]&&this[_0x3c6831(0x183)]();}),this[_0x2296f1(0x16a)](_0x2b33e4[_0x2296f1(0x12f)][_0x2296f1(0x1d1)],_0x2296f1(0x1cd),()=>{const _0x4fc395=_0x2296f1;this[_0x4fc395(0x183)]();}),this[_0x2296f1(0x11a)](),_0x2b33e4[_0x2296f1(0x14d)]['on'](_0x2296f1(0xdc),(_0x4a7473,_0x449a18)=>{const _0x4b3060=_0x2296f1,_0x561017=_0x449a18[0x0];_0x561017[_0x4b3060(0x1c8)]&&(this[_0x4b3060(0x18b)](_0x561017),this[_0x4b3060(0x119)]()&&this[_0x4b3060(0x1d2)]());}),this[_0x2296f1(0x124)](),this[_0x2296f1(0x116)](_0x2296f1(0xe5))['to'](_0x61dca7,_0x2296f1(0x108),this,_0x2296f1(0xf5),(_0x55a3aa,_0x19a547)=>_0x2296f1(0x173)===_0x55a3aa&&!_0x19a547),this['on'](_0x2296f1(0x128),()=>{const _0x1d6658=_0x2296f1;this[_0x1d6658(0xe5)]?_0x2b33e4[_0x1d6658(0x168)](_0x1d6658(0xf4)):_0x2b33e4[_0x1d6658(0x160)](_0x1d6658(0xf4));}),this[_0x2296f1(0xe5)]?_0x2b33e4[_0x2296f1(0x168)](_0x2296f1(0xf4)):_0x2b33e4[_0x2296f1(0x160)](_0x2296f1(0xf4)),this[_0x2296f1(0x110)](_0x2296f1(0x165),!0x1);}async[_0x411596(0x146)](){const _0x4c60ae=_0x411596,_0x2b3732=this[_0x4c60ae(0x1d4)][_0x4c60ae(0x191)][_0x4c60ae(0x16d)](_0x5f02dd),_0x5761a0=this[_0x4c60ae(0x1d4)][_0x4c60ae(0x191)][_0x4c60ae(0x16d)](_0x23dc93);try{this[_0x4c60ae(0x1a4)]=!0x0,_0x2b3732[_0x4c60ae(0xea)](this[_0x4c60ae(0x118)]);const _0x1c8f5b=await this[_0x4c60ae(0xe2)][_0x4c60ae(0x146)](_0x5761a0[_0x4c60ae(0x163)],this[_0x4c60ae(0x155)]);await this[_0x4c60ae(0xd4)](_0x1c8f5b)&&(this[_0x4c60ae(0x1a4)]=!0x1,this[_0x4c60ae(0x16e)]());const _0xde675d=await this[_0x4c60ae(0xe2)][_0x4c60ae(0x162)]();_0x2b3732[_0x4c60ae(0x15d)](this[_0x4c60ae(0x118)],_0xde675d),this[_0x4c60ae(0x139)](),this[_0x4c60ae(0x165)]=!0x0;}catch(_0x2fdda8){if(function(_0xb978a9){const _0x36ddd9=_0x4c60ae;return _0x36ddd9(0x170)===_0xb978a9[_0x36ddd9(0x1ca)];}(_0x2fdda8)&&this[_0x4c60ae(0x132)])await this[_0x4c60ae(0x106)]();else{if(function(_0x510f6f){const _0x3ecd2a=_0x4c60ae;return _0x3ecd2a(0x187)===_0x510f6f[_0x3ecd2a(0x1ca)];}(_0x2fdda8)){const _0xc41f4b=_0x486252(this[_0x4c60ae(0x1d4)][_0x4c60ae(0x1b2)],_0x4c60ae(0x15b));this[_0x4c60ae(0x1a6)](_0xc41f4b);}else{if(!(_0x2fdda8 instanceof $))throw _0x2fdda8;this[_0x4c60ae(0x1a6)]();}}}}[_0x411596(0xda)](){const _0x345081=_0x411596,_0x359773=this[_0x345081(0x1d4)][_0x345081(0x191)][_0x345081(0x16d)](_0x23dc93),_0x1149d9=this[_0x345081(0x1d4)][_0x345081(0x191)][_0x345081(0x16d)](_0x5f02dd);this[_0x345081(0x1d4)][_0x345081(0x160)](_0x345081(0x186)),_0x1149d9[_0x345081(0xd8)][_0x345081(0xfe)](this[_0x345081(0x118)])&&_0x1149d9[_0x345081(0xea)](this[_0x345081(0x118)]),_0x359773[_0x345081(0x192)](this),this[_0x345081(0x121)](),super[_0x345081(0xda)]();}async[_0x411596(0xd4)](_0x4f9bc6){const _0xc59e8e=_0x411596;if(this[_0xc59e8e(0x132)]!==_0x4f9bc6[_0xc59e8e(0x132)]&&this[_0xc59e8e(0x1a8)]!==_0x4f9bc6[_0xc59e8e(0x111)])throw new $();return this[_0xc59e8e(0x132)]=_0x4f9bc6[_0xc59e8e(0x132)],this[_0xc59e8e(0x1b0)]([],{..._0x4f9bc6,'wereChangesApplied':!0x1,'data':_0x4f9bc6[_0xc59e8e(0x144)]},_0xc59e8e(0x146));}async[_0x411596(0x1b3)](_0x32f26e,_0x56dd9e=!0x1){const _0x2756ee=_0x411596,{connection:_0x44d00a}=this[_0x2756ee(0x1d4)][_0x2756ee(0x191)][_0x2756ee(0x16d)](_0x23dc93);l[_0x2756ee(0xd5)][_0x2756ee(0x162)](_0x44d00a,this[_0x2756ee(0x118)])[_0x2756ee(0x1aa)](_0x25710c=>this[_0x2756ee(0x112)](_0x25710c))[_0x2756ee(0x14c)](_0x2803aa=>{const _0x2f9baa=_0x2756ee;this[_0x2f9baa(0xf8)](_0x2f9baa(0x1ba),_0x2803aa);}),this[_0x2756ee(0x16a)](this[_0x2756ee(0xe2)],_0x2756ee(0x17f),this[_0x2756ee(0x1d3)][_0x2756ee(0x116)](this)),this[_0x2756ee(0x16a)](this[_0x2756ee(0xe2)],_0x2756ee(0x10a),(_0x7140de,_0x188c93)=>{const _0x5dade1=_0x2756ee;this[_0x5dade1(0xf8)](_0x5dade1(0xee),_0x188c93);}),this[_0x2756ee(0x16a)](this[_0x2756ee(0xe2)],_0x2756ee(0x10d),()=>{const _0x1910e0=_0x2756ee;this[_0x1910e0(0x165)]=!0x1;});const _0x1052b4=this[_0x2756ee(0x133)][_0x2756ee(0x137)](_0x32f26e);this[_0x2756ee(0x1a4)]=!0x0;const _0x1d20af=await this[_0x2756ee(0xe2)][_0x2756ee(0xe4)](_0x44d00a,this[_0x2756ee(0xe7)](_0x32f26e),_0x1052b4);if(this[_0x2756ee(0x132)]=_0x1d20af[_0x2756ee(0x132)],_0x56dd9e){if(!_0x1d20af[_0x2756ee(0xdb)])return void this[_0x2756ee(0x1a6)]();this[_0x2756ee(0x1a4)]=!0x1,this[_0x2756ee(0x16e)](),this[_0x2756ee(0x141)][_0x2756ee(0xf6)](),this[_0x2756ee(0xfb)]=_0x1d20af[_0x2756ee(0x18d)],this[_0x2756ee(0x141)][_0x2756ee(0xf0)]=this[_0x2756ee(0xfb)],await this[_0x2756ee(0x1b0)](_0x32f26e,_0x1d20af,_0x2756ee(0x117));}else await this[_0x2756ee(0x107)](_0x1d20af,_0x32f26e);this[_0x2756ee(0x139)](),this[_0x2756ee(0x165)]=!0x0;}[_0x411596(0x139)](){const _0xe43e71=_0x411596,_0x4d3626=this[_0xe43e71(0x1d4)][_0xe43e71(0x191)][_0xe43e71(0x16d)](_0x5f02dd),_0x27af82=this[_0xe43e71(0x1d4)][_0xe43e71(0x191)][_0xe43e71(0x16d)](_0xdb7e5c),_0x173d78=_0x4d3626[_0xe43e71(0xd8)][_0xe43e71(0x16d)](this[_0xe43e71(0x118)]);_0x173d78&&_0x173d78[_0xe43e71(0x19c)]>0x1?_0x27af82[_0xe43e71(0x1bf)]():this[_0xe43e71(0x16a)](_0x4d3626,_0xe43e71(0x127)+this[_0xe43e71(0x118)],()=>{const _0x4cc806=_0xe43e71;0x2===_0x4d3626[_0x4cc806(0xd8)][_0x4cc806(0x16d)](this[_0x4cc806(0x118)])[_0x4cc806(0x19c)]&&_0x27af82[_0x4cc806(0x1bf)]();});}async[_0x411596(0x1d3)](_0x274442,_0x4dd3b3,_0x23919d,_0x5918f4){const _0x398c5e=_0x411596;if(!this[_0x398c5e(0x1a4)]&&this[_0x398c5e(0xe1)][_0x398c5e(0xf0)]==_0x4dd3b3){const _0x11911a=this[_0x398c5e(0x14a)](_0x23919d,_0x5918f4);await this[_0x398c5e(0x1b4)](_0x11911a),this[_0x398c5e(0x12e)](_0x11911a,_0x4dd3b3,_0x23919d[_0x398c5e(0x111)])||this[_0x398c5e(0xf8)](_0x398c5e(0x19f));}}async[_0x411596(0x106)](){const _0x19521d=_0x411596;this[_0x19521d(0x121)]();const {locale:_0x48c05f}=this[_0x19521d(0x1d4)];let _0x2b19b1;try{_0x2b19b1=await this[_0x19521d(0xe2)][_0x19521d(0x167)]();}catch{const _0x26e660=_0x486252(_0x48c05f,_0x19521d(0x1a1));return void this[_0x19521d(0x1a6)](_0x26e660);}const _0x49d32a=_0x2b19b1[_0x19521d(0x12d)]||_0x2b19b1[_0x19521d(0x177)];if(this[_0x19521d(0x1a8)]!==_0x49d32a[_0x19521d(0x111)]){const _0x19be08=_0x486252(_0x48c05f,_0x19521d(0x148));return void this[_0x19521d(0x1a6)](_0x19be08);}await this[_0x19521d(0x1b3)](this[_0x19521d(0x1d4)][_0x19521d(0x14d)][_0x19521d(0x189)][_0x19521d(0x15a)][_0x19521d(0x11b)](),!0x0);}[_0x411596(0x121)](){const _0x215155=_0x411596;this[_0x215155(0xe2)][_0x215155(0xf9)](),this[_0x215155(0x105)]=[],clearTimeout(this[_0x215155(0xe3)]),this[_0x215155(0xd6)](this[_0x215155(0xe2)]);}[_0x411596(0x112)](_0x488072){const _0x15636d=_0x411596,_0x2017c8=this[_0x15636d(0x1d4)][_0x15636d(0x191)][_0x15636d(0x16d)](_0x5f02dd);this[_0x15636d(0x16a)](_0x2017c8,_0x15636d(0x127)+this[_0x15636d(0x118)],(_0x140024,{session:_0x515605})=>{const _0x45b793=_0x15636d;if(_0x515605['id']===_0x2017c8[_0x45b793(0x1cb)]){_0x140024[_0x45b793(0x1c0)]();const _0x33b93a=this[_0x45b793(0x1d4)][_0x45b793(0x191)][_0x45b793(0xfe)](_0x45b793(0x182))&&this[_0x45b793(0x1d4)][_0x45b793(0x191)][_0x45b793(0x16d)](_0x45b793(0x182));let _0x19bcae=_0x515605[_0x45b793(0xd3)];_0x33b93a&&_0x33b93a[_0x45b793(0xd9)]&&(_0x19bcae=_0x19bcae[_0x45b793(0x114)](_0x500301=>_0x45b793(0x13e)!==_0x500301)),this[_0x45b793(0x1d4)][_0x45b793(0x191)][_0x45b793(0x16d)](_0x45b793(0x1c9))[_0x45b793(0x104)](_0x19bcae,this[_0x45b793(0x118)]);}}),_0x2017c8[_0x15636d(0x15d)](this[_0x15636d(0x118)],_0x488072);}[_0x411596(0x11a)](){const _0x2fb9c8=_0x411596,_0x14f03c=this[_0x2fb9c8(0x1d4)][_0x2fb9c8(0x144)][_0x2fb9c8(0x110)];this[_0x2fb9c8(0x1d4)][_0x2fb9c8(0x144)][_0x2fb9c8(0x110)]=(..._0xb1208c)=>{const _0x10faf8=_0x2fb9c8;if(!_0xb1208c[_0xb1208c[_0x10faf8(0x19c)]-0x1][_0x10faf8(0x1ad)])throw new _0x3ae1f5(_0x10faf8(0x169),this);_0x14f03c[_0x10faf8(0x10c)](this[_0x10faf8(0x1d4)][_0x10faf8(0x144)],_0xb1208c);};}[_0x411596(0x124)](){const _0x1d70ef=_0x411596;this[_0x1d70ef(0x1d4)][_0x1d70ef(0x144)]['on'](_0x1d70ef(0x1bc),(_0x1e0c1a,[_0x1e6e4f])=>{const _0x2f0cac=_0x1d70ef;if(this[_0x2f0cac(0xe1)][_0x2f0cac(0xf0)])throw new _0x3ae1f5(_0x2f0cac(0xf1),this);_0x1e0c1a[_0x2f0cac(0x130)](),this[_0x2f0cac(0x10e)]();const _0x5adff7=this[_0x2f0cac(0x1d4)][_0x2f0cac(0x12c)][_0x2f0cac(0x16d)](_0x2f0cac(0x153)),_0xe699a4=this[_0x2f0cac(0x109)](_0x1e6e4f,_0x5adff7);0x0==_0xe699a4[_0x2f0cac(0x19c)]&&_0xe699a4[_0x2f0cac(0x180)](new _0x2cd4f2(0x0)),_0x1e0c1a[_0x2f0cac(0x15c)]=this[_0x2f0cac(0x1b3)](_0xe699a4)[_0x2f0cac(0x1aa)](()=>{const _0xad8876=_0x2f0cac;this[_0xad8876(0x1d4)][_0xad8876(0x191)][_0xad8876(0x16d)](_0x23dc93)[_0xad8876(0x1cc)](this),this[_0xad8876(0x1d4)][_0xad8876(0x144)][_0xad8876(0x1c7)](_0xad8876(0xeb));})[_0x2f0cac(0x14c)](_0x3c14d1=>this[_0x2f0cac(0xf8)](_0x2f0cac(0x11d),_0x3c14d1))[_0x2f0cac(0x18a)](()=>this[_0x2f0cac(0x16e)]());},{'priority':_0x1d70ef(0x149)}),this[_0x1d70ef(0x1d4)]['on'](_0x1d70ef(0x1a5),async(_0x5351ad,[_0x152bd7,_0x5def86])=>{const _0x56d511=_0x1d70ef;_0x5351ad[_0x56d511(0x130)]();const _0x59f10d=this[_0x56d511(0x1d4)][_0x56d511(0x14d)][_0x56d511(0x189)][_0x56d511(0x13b)](_0x152bd7);if(!this[_0x56d511(0x1ae)][_0x56d511(0xfe)](_0x152bd7)){const _0x2900c1=_0x5def86&&_0x5def86[_0x56d511(0x144)]?_0x5def86[_0x56d511(0x144)]:'',_0x129b0f=_0x5def86&&_0x5def86[_0x56d511(0x1b8)]?_0x5def86[_0x56d511(0x1b8)]:{};await this[_0x56d511(0x1ac)](_0x152bd7,_0x2900c1,_0x129b0f);}this[_0x56d511(0x1d4)][_0x56d511(0x14d)][_0x56d511(0x1a9)]({'isUndoable':!0x1},()=>{const _0x1b8f0d=_0x56d511;_0x59f10d[_0x1b8f0d(0x166)]=!0x0,this[_0x1b8f0d(0x1d4)][_0x1b8f0d(0x14d)][_0x1b8f0d(0x189)][_0x1b8f0d(0x178)][_0x1b8f0d(0x1af)](_0x59f10d);});},{'priority':_0x1d70ef(0x149)});}async[_0x411596(0x1b4)](_0xb34cc9){const _0x31f730=_0x411596,_0x5a1a22=this[_0x31f730(0x1d4)][_0x31f730(0x191)][_0x31f730(0x16d)](_0x5a8075),{connection:_0x58cfc5}=this[_0x31f730(0x1d4)][_0x31f730(0x191)][_0x31f730(0x16d)](_0x23dc93),_0x489dad=new Set();for(const _0x4865a1 of _0xb34cc9){const _0x33c09b=_0x4865a1[_0x31f730(0x188)];_0x33c09b&&!_0x5a1a22[_0x31f730(0x142)](_0x33c09b)&&_0x489dad[_0x31f730(0x1b7)](_0x33c09b);}if(0x0===_0x489dad[_0x31f730(0x179)])return;const _0x423abc=await _0xc5ad92[_0x31f730(0x1d0)](_0x58cfc5,Array[_0x31f730(0x113)](_0x489dad));for(const _0x1fdcb2 of _0x423abc)_0x5a1a22[_0x31f730(0x142)](_0x1fdcb2['id'])||_0x5a1a22[_0x31f730(0x13d)](_0x1fdcb2);}[_0x411596(0x109)](_0x156656,_0x4485ae={}){const _0x110b6c=_0x411596,_0x13b3f1=this[_0x110b6c(0x1d4)][_0x110b6c(0x14d)],_0x358ba7=[];let _0x4c4118=0x0;const _0x2d6c8f=_0x110b6c(0x174)==typeof _0x156656?{'main':_0x156656}:_0x156656;for(const _0x905466 of Object[_0x110b6c(0x136)](_0x2d6c8f)){if(!this[_0x110b6c(0xe1)][_0x110b6c(0xd7)][_0x110b6c(0xfe)](_0x905466))throw new _0x3ae1f5(_0x110b6c(0x150),this);const _0x4ba83a=this[_0x110b6c(0x1d4)][_0x110b6c(0x144)][_0x110b6c(0x19a)](_0x2d6c8f[_0x905466]),_0x1fa9e5=this[_0x110b6c(0xe1)][_0x110b6c(0x13b)](_0x905466),_0x30a835=new _0x41ee47(_0x13b3f1[_0x110b6c(0x1c6)](_0x1fa9e5,0x0),_0x4ba83a,_0x4c4118++);_0x358ba7[_0x110b6c(0x180)](_0x30a835);for(const [_0x220586,_0x3c3341]of _0x4ba83a[_0x110b6c(0x134)]){const _0x150bfd=_0x13b3f1[_0x110b6c(0x199)](_0x13b3f1[_0x110b6c(0x147)](_0x1fa9e5,_0x3c3341[_0x110b6c(0xff)][_0x110b6c(0x129)][_0x110b6c(0x172)]()),_0x13b3f1[_0x110b6c(0x147)](_0x1fa9e5,_0x3c3341[_0x110b6c(0x115)][_0x110b6c(0x129)][_0x110b6c(0x172)]())),_0x184d89=new _0x44513d(_0x220586,null,_0x150bfd,_0x13b3f1[_0x110b6c(0x134)],!0x0,_0x4c4118++);_0x358ba7[_0x110b6c(0x180)](_0x184d89);}}if(_0x4485ae)for(const [_0x5bc2ba,_0x5ba869]of Object[_0x110b6c(0x1ab)](_0x4485ae)){const _0x46c515=_0x13b3f1[_0x110b6c(0x189)][_0x110b6c(0x13b)](_0x5bc2ba);if(!_0x46c515)throw new _0x3ae1f5(_0x110b6c(0x195),null);for(const [_0x4b62e3,_0x2c2021]of Object[_0x110b6c(0x1ab)](_0x5ba869))if(null!==_0x2c2021){const _0x490a9a=new _0x5820cf(_0x46c515,_0x4b62e3,null,_0x2c2021,_0x4c4118++);_0x358ba7[_0x110b6c(0x180)](_0x490a9a);}}return _0x358ba7;}async[_0x411596(0x1ac)](_0x209095,_0x1a765c,_0x4cfca2){const _0x4ff834=_0x411596;this[_0x4ff834(0x109)]({[_0x209095]:_0x1a765c},{[_0x209095]:_0x4cfca2})[_0x4ff834(0x156)]((_0x54878d,_0x37e95d)=>{const _0x3895ae=_0x4ff834;_0x54878d[_0x3895ae(0x17c)]=this[_0x3895ae(0xe1)][_0x3895ae(0xf0)]+_0x37e95d,_0x54878d[_0x3895ae(0xdd)]=!0x0,this[_0x3895ae(0x18b)](_0x54878d);}),this[_0x4ff834(0x1d2)](),await this[_0x4ff834(0x140)]();}async[_0x411596(0x107)](_0x5e352a,_0x12f1b7){const _0x41d783=_0x411596;let _0xdf7c5a;this[_0x41d783(0xfb)]=_0x5e352a[_0x41d783(0x18d)];const _0x4214de=_0x5e352a[_0x41d783(0xdb)]&&!_0x5e352a[_0x41d783(0x143)],_0xe53bda=_0x4214de?0x0:_0x5e352a[_0x41d783(0x144)][_0x41d783(0x17c)];if(_0x12f1b7[_0x41d783(0x156)](_0x172f0a=>{const _0xe2efe1=_0x41d783;_0x172f0a[_0xe2efe1(0xdd)]=!0x0,_0x172f0a[_0xe2efe1(0x12b)]=_0x5e352a[_0xe2efe1(0x196)],_0x172f0a[_0xe2efe1(0x188)]=null;}),_0x4214de)_0xdf7c5a=_0x12f1b7,this[_0x41d783(0x1c2)](_0xdf7c5a,_0x4214de);else{if(_0x5e352a[_0x41d783(0x143)]){const _0x4c08dd=this[_0x41d783(0x109)](_0x5e352a[_0x41d783(0x143)]);this[_0x41d783(0xe1)][_0x41d783(0x15a)][_0x41d783(0xf0)]=-_0x4c08dd[_0x41d783(0x19c)],_0x4c08dd[_0x41d783(0x156)](_0x3b0ec3=>{const _0x4c6132=_0x41d783;_0x3b0ec3[_0x4c6132(0x17c)]-=_0x4c08dd[_0x4c6132(0x19c)],_0x3b0ec3[_0x4c6132(0x12b)]=_0x5e352a[_0x4c6132(0x196)],_0x3b0ec3[_0x4c6132(0xdd)]=!0x0,_0x3b0ec3[_0x4c6132(0x188)]=null;}),this[_0x41d783(0x1c2)](_0x4c08dd,!0x0),this[_0x41d783(0x141)][_0x41d783(0xf0)]=-_0x4c08dd[_0x41d783(0x19c)]+this[_0x41d783(0xfb)],this[_0x41d783(0x16c)](_0x4c08dd);}this[_0x41d783(0xe1)][_0x41d783(0x15a)][_0x41d783(0xf0)]=_0xe53bda,_0xdf7c5a=this[_0x41d783(0x14a)](_0x5e352a[_0x41d783(0x144)],_0x5e352a[_0x41d783(0x10f)]),await this[_0x41d783(0x1b4)](_0xdf7c5a),this[_0x41d783(0x1c2)](_0xdf7c5a,_0x4214de);}_0x5e352a[_0x41d783(0x111)]&&(this[_0x41d783(0x133)][_0x41d783(0x184)](_0xdf7c5a,_0x5e352a[_0x41d783(0x111)]),this[_0x41d783(0x1a8)]=_0x5e352a[_0x41d783(0x111)]),this[_0x41d783(0x141)][_0x41d783(0xf0)]=_0xe53bda+this[_0x41d783(0xfb)],this[_0x41d783(0x16c)](_0xdf7c5a),_0x12f1b7[_0x41d783(0x114)](_0x8846ed=>{const _0x55172f=_0x41d783,_0x22c305=this[_0x55172f(0x11f)](_0x8846ed);return _0x22c305&&!this[_0x55172f(0x1ae)][_0x55172f(0xfe)](_0x22c305);})[_0x41d783(0x156)]((_0x1d51d5,_0x219188)=>{const _0x4dffdc=_0x41d783;_0x1d51d5[_0x4dffdc(0x17c)]=this[_0x4dffdc(0xe1)][_0x4dffdc(0xf0)]+_0x219188,this[_0x4dffdc(0x18b)](_0x1d51d5);}),this[_0x41d783(0x119)]()?(this[_0x41d783(0xe8)]=0x0,this[_0x41d783(0x1d2)](!0x0),await this[_0x41d783(0x140)]()):(this[_0x41d783(0x1a4)]=!0x1,this[_0x41d783(0x16e)]());}[_0x411596(0xf8)](_0x152b47,_0xf58407){const _0x4ae2c6=_0x411596,_0x3def9d=_0xf58407&&_0xf58407[_0x4ae2c6(0x198)];if(_0x3def9d&&_0x3def9d[_0x4ae2c6(0x138)](_0x4ae2c6(0x164)))throw _0xf58407;const _0xab7333=this[_0x4ae2c6(0x1d4)][_0x4ae2c6(0x191)][_0x4ae2c6(0x16d)](_0x23dc93);throw this[_0x4ae2c6(0x1a4)]=!0x0,_0xab7333[_0x4ae2c6(0xf9)](),this[_0x4ae2c6(0x1d4)][_0x4ae2c6(0x160)](_0x4ae2c6(0x18c)),new _0x3ae1f5(_0x152b47,this[_0x4ae2c6(0x1d4)],_0x3def9d?{'originalError':_0x3def9d}:void 0x0);}[_0x411596(0x18b)](_0xb904d7){const _0x10a662=_0x411596;this[_0x10a662(0x161)][_0x10a662(0xfe)](_0xb904d7)||(this[_0x10a662(0x161)][_0x10a662(0x1b7)](_0xb904d7),this[_0x10a662(0x105)][_0x10a662(0x180)](_0xb904d7),this[_0x10a662(0x1b9)]||_0x10a662(0x17e)==_0xb904d7[_0x10a662(0x13a)]&&!_0xb904d7[_0x10a662(0xfd)]||this[_0x10a662(0x10e)]());}[_0x411596(0x1d2)](_0x932aa7=!0x1){const _0x2763fe=_0x411596;!_0x932aa7&&this[_0x2763fe(0x1a4)]||(this[_0x2763fe(0x1a4)]=!0x0,clearTimeout(this[_0x2763fe(0xe3)]),this[_0x2763fe(0xe3)]=setTimeout(()=>{const _0x5c045a=_0x2763fe;this[_0x5c045a(0x13c)]()[_0x5c045a(0x1aa)](_0xcdda6f=>{const _0x483a44=_0x5c045a;_0xcdda6f&&(this[_0x483a44(0x16e)](),this[_0x483a44(0x1a4)]=!0x1);})[_0x5c045a(0x14c)](_0xb2c34e=>{const _0x2f06d5=_0x5c045a;this[_0x2f06d5(0x16e)](),this[_0x2f06d5(0x1a4)]=!0x1,function(_0x53681a){const _0x359bd5=_0x2f06d5;return _0x53681a[_0x359bd5(0x198)][_0x359bd5(0x138)](_0x359bd5(0x135))||_0x53681a[_0x359bd5(0x198)][_0x359bd5(0x138)](_0x359bd5(0x100))||_0x53681a[_0x359bd5(0x198)][_0x359bd5(0x138)](_0x359bd5(0x175));}(_0xb2c34e)||this[_0x2f06d5(0xf8)](_0xb2c34e[_0x2f06d5(0x198)],_0xb2c34e);});},this[_0x2763fe(0xe8)]));}[_0x411596(0x140)](){return new Promise(_0x267d05=>{const _0xa54719=_0x33a6;this['on'](_0xa54719(0xd2),()=>{_0x267d05();});});}async[_0x411596(0x13c)](){const _0x1fdfb4=_0x411596,_0x305dca=this[_0x1fdfb4(0x1d4)][_0x1fdfb4(0x191)][_0x1fdfb4(0x16d)](_0xdb7e5c);if(this[_0x1fdfb4(0x131)]()&&(_0x305dca[_0x1fdfb4(0x1bf)](),this[_0x1fdfb4(0x1c3)]=!0x1),!this[_0x1fdfb4(0x119)]())return!0x0;const _0x53523c=[...this[_0x1fdfb4(0x105)]];for(const _0x461eb2 of _0x53523c)_0x461eb2[_0x1fdfb4(0x125)]=this[_0x1fdfb4(0xe1)][_0x1fdfb4(0x15a)][_0x1fdfb4(0x197)](_0x461eb2);const _0xcade1c=this[_0x1fdfb4(0x133)][_0x1fdfb4(0x137)](_0x53523c),_0x2167e3=G++,_0x144554=this[_0x1fdfb4(0xe7)](_0x53523c),_0x1cc31d=await this[_0x1fdfb4(0xe2)][_0x1fdfb4(0x19d)](_0x144554,_0x144554[_0x1fdfb4(0x17c)],_0xcade1c);try{return await this[_0x1fdfb4(0x1b0)](_0x53523c,_0x1cc31d,_0x2167e3);}catch(_0x2eebc2){return this[_0x1fdfb4(0xf8)](_0x1fdfb4(0x1a7),_0x2eebc2);}}async[_0x411596(0x1b0)](_0x41c281,_0x705eb6,_0x19e17b){const _0x23b6cd=_0x411596;if(_0x23b6cd(0x10a)in _0x705eb6)throw _0x705eb6[_0x23b6cd(0x10a)];let _0x4d116c=!0x1;if(_0x705eb6[_0x23b6cd(0xdb)]){_0x705eb6[_0x23b6cd(0x111)]&&(this[_0x23b6cd(0x1a8)]=_0x705eb6[_0x23b6cd(0x111)]),this[_0x23b6cd(0x105)]=this[_0x23b6cd(0x105)][_0x23b6cd(0x114)](_0x1e5d80=>!_0x41c281[_0x23b6cd(0x1cf)](_0x1e5d80));for(const _0x2490ea of _0x41c281)_0x2490ea[_0x23b6cd(0x12b)]=_0x23b6cd(0x1b5)in _0x705eb6&&_0x705eb6[_0x23b6cd(0x1b5)]||void 0x0;K(_0x41c281,_0x705eb6[_0x23b6cd(0xf0)]-_0x41c281[_0x23b6cd(0x19c)]),this[_0x23b6cd(0x16c)](_0x41c281);const _0x332b75=_0x41c281[_0x23b6cd(0x114)](_0x3d55e6=>{const _0x3f1dc1=_0x23b6cd;if(!_0x3d55e6[_0x3f1dc1(0xdd)])return!0x1;const _0x31dff4=this[_0x3f1dc1(0x11f)](_0x3d55e6);return _0x31dff4&&!this[_0x3f1dc1(0x1ae)][_0x3f1dc1(0xfe)](_0x31dff4);});K(_0x332b75,this[_0x23b6cd(0xe1)][_0x23b6cd(0xf0)]),this[_0x23b6cd(0x1c2)](_0x332b75),_0x4d116c=!0x0,this[_0x23b6cd(0xe8)]=this[_0x23b6cd(0x1bd)];}else{const _0x493882=this[_0x23b6cd(0x14a)](_0x705eb6[_0x23b6cd(0x144)],_0x705eb6[_0x23b6cd(0x10f)])[_0x23b6cd(0x114)](_0x2cc54e=>_0x2cc54e[_0x23b6cd(0x17c)]>=this[_0x23b6cd(0x102)]);_0x493882[_0x23b6cd(0x156)](_0x3372cf=>this[_0x23b6cd(0xef)](_0x3372cf)),this[_0x23b6cd(0x105)]=this[_0x23b6cd(0x105)][_0x23b6cd(0x114)](_0x572643=>!_0x572643[_0x23b6cd(0xdd)]||!this[_0x23b6cd(0x1ae)][_0x23b6cd(0xfe)](this[_0x23b6cd(0x11f)](_0x572643))),this[_0x23b6cd(0x105)][_0x23b6cd(0x19c)]&&K(this[_0x23b6cd(0x105)],this[_0x23b6cd(0x105)][0x0][_0x23b6cd(0x17c)]),await this[_0x23b6cd(0x1b4)](_0x493882),_0x4d116c=this[_0x23b6cd(0x12e)](_0x493882,_0x705eb6[_0x23b6cd(0xf0)],_0x705eb6[_0x23b6cd(0x111)]),this[_0x23b6cd(0xe8)]=Math[_0x23b6cd(0x14b)](this[_0x23b6cd(0xe8)]/0x2);}return _0x4d116c?!this[_0x23b6cd(0x119)]()||(this[_0x23b6cd(0x1d2)](!0x0),!0x1):this[_0x23b6cd(0xf8)](_0x23b6cd(0xd1));}[_0x411596(0x12e)](_0xc48946,_0x55eb14,_0x70b69f){const _0x31712d=_0x411596;try{const _0xf5f7af={'document':this[_0x31712d(0xe1)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x14b71b,operationsB:_0xdc6b65,originalOperations:_0x2de2d1}=_0xc6afd8(_0xc48946,this[_0x31712d(0x105)],_0xf5f7af);K(_0x14b71b,this[_0x31712d(0xe1)][_0x31712d(0xf0)]),K(_0xdc6b65,_0x55eb14);for(const _0x755855 of _0x14b71b){const _0x1e4de2=_0x2de2d1[_0x31712d(0x16d)](_0x755855);_0x755855[_0x31712d(0x188)]=_0x1e4de2?_0x1e4de2[_0x31712d(0x188)]:null;}_0x70b69f&&(this[_0x31712d(0x133)][_0x31712d(0x184)](_0xc48946,_0x70b69f),this[_0x31712d(0x1a8)]=_0x70b69f),this[_0x31712d(0x105)]=[..._0xdc6b65],this[_0x31712d(0x1c2)](_0x14b71b),this[_0x31712d(0x16c)](_0xc48946);}catch(_0x3931d3){return console[_0x31712d(0x10a)](_0x3931d3),!0x1;}return!0x0;}[_0x411596(0x1c2)](_0x2831f8,_0x48d414=!0x1){const _0x32d1d1=_0x411596;this[_0x32d1d1(0x1d4)][_0x32d1d1(0x14d)][_0x32d1d1(0x1a9)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4a0b0f=>{const _0x4604cf=_0x32d1d1;for(const _0x2c5d8f of _0x2831f8)this[_0x4604cf(0x161)][_0x4604cf(0x1b7)](_0x2c5d8f),this[_0x4604cf(0xef)](_0x2c5d8f),_0x4a0b0f[_0x4604cf(0x194)][_0x4604cf(0x1c1)](_0x2c5d8f),this[_0x4604cf(0x1d4)][_0x4604cf(0x14d)][_0x4604cf(0xdc)](_0x2c5d8f);});}[_0x411596(0xef)](_0x7442b1){const _0x3f7f9d=_0x411596,_0x31e858=this[_0x3f7f9d(0x11f)](_0x7442b1);_0x31e858&&this[_0x3f7f9d(0x1ae)][_0x3f7f9d(0x1b7)](_0x31e858);}[_0x411596(0x11f)](_0x3639c4){const _0x9e35bd=_0x411596;let _0x154485,_0x2a8934;switch(_0x3639c4[_0x9e35bd(0x13a)]){case _0x9e35bd(0xe0):_0x154485=_0x3639c4[_0x9e35bd(0x14e)][_0x9e35bd(0x15f)];break;case _0x9e35bd(0x17e):if(_0x2a8934=_0x3639c4[_0x9e35bd(0xfc)],!_0x2a8934)return null;_0x154485=_0x2a8934[_0x9e35bd(0x15f)];break;case _0x9e35bd(0x152):_0x154485=_0x3639c4[_0x9e35bd(0x15f)];break;case _0x9e35bd(0x176):_0x154485=_0x3639c4[_0x9e35bd(0x1a2)];break;case _0x9e35bd(0x158):_0x154485=_0x3639c4[_0x9e35bd(0x181)][_0x9e35bd(0x15f)];break;default:return null;}return _0x154485[_0x9e35bd(0x103)];}[_0x411596(0x16c)](_0x9a64a2){const _0xf48121=_0x411596;_0x9a64a2[_0xf48121(0x156)](_0x3c155c=>{const _0x521ae1=_0xf48121,_0x3b0e0e=_0x3c155c[_0x521ae1(0x14f)]();_0x3b0e0e[_0x521ae1(0x188)]=_0x3c155c[_0x521ae1(0x188)],_0x3b0e0e[_0x521ae1(0xdd)]=!!_0x3c155c[_0x521ae1(0xdd)],_0x3b0e0e[_0x521ae1(0x12b)]=_0x3c155c[_0x521ae1(0x12b)],_0x3b0e0e[_0x521ae1(0x17c)]+=this[_0x521ae1(0xfb)],_0x3c155c[_0x521ae1(0x1d6)]&&this[_0x521ae1(0x185)][_0x521ae1(0x1b7)](_0x3b0e0e),this[_0x521ae1(0x141)][_0x521ae1(0x1c1)](_0x3b0e0e);});}[_0x411596(0x1a6)](_0x2cf1d6){const _0x343cca=_0x411596,_0x20a244=this[_0x343cca(0x1d4)][_0x343cca(0x191)][_0x343cca(0x16d)](_0x343cca(0xed)),_0x4ed4d7=this[_0x343cca(0x1d4)][_0x343cca(0x1b2)];_0x2cf1d6||(_0x2cf1d6=_0x486252(_0x4ed4d7,_0x343cca(0x123))),_0x20a244[_0x343cca(0xde)](_0x2cf1d6,{'title':_0x486252(_0x4ed4d7,_0x343cca(0x1b6)),'namespace':_0x343cca(0x1b1)}),this[_0x343cca(0xf5)]=!0x0,clearTimeout(this[_0x343cca(0xe3)]),this[_0x343cca(0x105)]=[],this[_0x343cca(0x1d4)][_0x343cca(0x191)][_0x343cca(0x16d)](_0x23dc93)[_0x343cca(0xf9)]();}[_0x411596(0x10e)](){const _0xe1f86d=_0x411596;this[_0xe1f86d(0x1b9)]||(this[_0xe1f86d(0x1b9)]=this[_0xe1f86d(0x1d4)][_0xe1f86d(0x191)][_0xe1f86d(0x16d)](_0x5b0028)[_0xe1f86d(0x1b7)](_0x486252(this[_0xe1f86d(0x1d4)][_0xe1f86d(0x1b2)],_0xe1f86d(0x12a))));}[_0x411596(0x16e)](){const _0x2adaf6=_0x411596;this[_0x2adaf6(0x1b9)]&&(this[_0x2adaf6(0x1d4)][_0x2adaf6(0x191)][_0x2adaf6(0x16d)](_0x5b0028)[_0x2adaf6(0xec)](this[_0x2adaf6(0x1b9)]),this[_0x2adaf6(0x1b9)]=null);}[_0x411596(0xe7)](_0x456719){const _0x10f902=_0x411596,_0x10cbb9=_0x456719[_0x10f902(0x17b)](_0x27ccf4=>_0x27ccf4[_0x10f902(0x1c5)]());return this[_0x10f902(0x1d5)][_0x10f902(0xdf)](_0x10cbb9);}[_0x411596(0x14a)](_0xfdd660,_0x30530d){const _0x302b3e=_0x411596;return this[_0x302b3e(0x1d5)][_0x302b3e(0x122)](_0xfdd660)[_0x302b3e(0x17b)]((_0x3a7e6f,_0x570085)=>{const _0x1bdd14=_0x302b3e,_0x2dcd72=_0x1bdd14(0x1bc)==_0x30530d[_0x570085][_0x1bdd14(0x13a)];if(_0x1bdd14(0x190)==_0x3a7e6f[_0x1bdd14(0xfa)]){const _0x206d77=_0x3a7e6f[_0x1bdd14(0x14e)][_0x1bdd14(0x15f)];!this[_0x1bdd14(0xe1)][_0x1bdd14(0x13b)](_0x206d77)&&(this[_0x1bdd14(0xe1)][_0x1bdd14(0x1a0)](_0x1bdd14(0x1be),_0x206d77)[_0x1bdd14(0x19b)]=!0x1);}const _0x3e8f99=_0x512198[_0x1bdd14(0x10b)](_0x3a7e6f,this[_0x1bdd14(0xe1)]);return _0x3e8f99[_0x1bdd14(0x125)]=_0x3a7e6f[_0x1bdd14(0x125)],_0x3e8f99[_0x1bdd14(0xdd)]=_0x2dcd72,_0x3e8f99[_0x1bdd14(0x188)]=_0x2dcd72?null:_0x30530d[_0x570085][_0x1bdd14(0x120)],_0x3e8f99[_0x1bdd14(0x1d6)]=_0x1bdd14(0xf3)===_0x30530d[_0x570085][_0x1bdd14(0x13a)],_0x3e8f99[_0x1bdd14(0x12b)]=_0x30530d[_0x570085][_0x1bdd14(0x12b)],_0x3e8f99;});}[_0x411596(0x183)](){const _0x207535=_0x411596;this[_0x207535(0x1c3)]=!0x0,this[_0x207535(0x131)]()?this[_0x207535(0x1d2)]():this[_0x207535(0x1c3)]=!0x1;}[_0x411596(0x131)](){const _0x1d37a2=_0x411596,_0x39905e=this[_0x1d37a2(0x1d4)][_0x1d37a2(0x191)][_0x1d37a2(0x16d)](_0x5f02dd)[_0x1d37a2(0xd8)][_0x1d37a2(0x16d)](this[_0x1d37a2(0x118)]);return!this[_0x1d37a2(0x1d4)][_0x1d37a2(0x17a)]&&!!_0x39905e&&_0x39905e[_0x1d37a2(0x19c)]>0x1&&this[_0x1d37a2(0x1c3)];}[_0x411596(0x119)](){const _0xf9f741=_0x411596;return this[_0xf9f741(0x105)][_0xf9f741(0x19c)]>0x0||this[_0xf9f741(0x131)]();}}function _0x33a6(_0xecb929,_0x4661e4){const _0x44e9f6=_0x44e9();return _0x33a6=function(_0x33a64b,_0x51df91){_0x33a64b=_0x33a64b-0xd1;let _0x1e0fb6=_0x44e9f6[_0x33a64b];return _0x1e0fb6;},_0x33a6(_0xecb929,_0x4661e4);}export{l as RealTimeCollaborationClient};function _0x44e9(){const _0x40ebdf=['get','_clearPendingAction','cloudServices.bundleVersion','404','370313LQZAbg','slice','connected','string','cloud-services-internal-error:\x20Request\x20timeout.','addRoot','lastDocumentSession','differ','size','isReadOnly','map','baseVersion','isPremiumPlugin','marker','operationsReceived','push','targetPosition','CommentsOnly','_refreshUserSelectionMarkers','setIdForTheLastOperation','_disconnectionOperations','rtc-destroyed','409','_authorId','document','finally','_saveOperationInBuffer','realtimecollaborationclient-error','offset','isOfficialPlugin','collaboration','InsertOperation','plugins','removeFromReconnectionStack','cloudDocumentVersion','batch','multi-root-editor-root-attributes-no-root','sessionCreatedAt','isUndoneOperation','message','createRange','parse','_isAttached','length','sendOperations','_ignoredOperations','realtimecollaborationclient-init-service-incorrect-server-operation','createRoot','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','affectedSelectable','define','_isPendingUpdate','loadRoot','_handleReconnectionError','realtimecollaborationclient-sendbufferedoperations','_lastSyncedOperationId','enqueueChange','then','entries','_loadRoot','suppressErrorInCollaboration','_knownRootNames','_bufferRootLoad','_handleServerResponse','real-time-collaboration','locale','_connectService','_fetchMissingUsers','lastOperationAcceptedAt','Synchronization\x20issue','add','attributes','_pendingAction','realtimecollaborationclient-init-session-connection-error','2pmuXOD','init','_baseBufferDelay','$root','createUserMarkerOperations','off','addOperation','_applyOperationsSet','_hasSelectionChanged','pluginName','toJSON','createPositionAt','fire','isDocumentOperation','Permissions','code','mySessionId','addToReconnectionStack','change:hasDomSelection','573114AcGpqp','includes','getMany','view','_sendBufferedOperationsDelayed','_handleReceivedOperations','editor','_compressor','_isDisconnection','realtimecollaborationclient-handleserverresponse','change:_isPendingUpdate','permissions','_handleReconnectionResponse','CollaborativeEditingService','stopListening','roots','channelSessions','isEnabled','destroy','wereChangesApplied','applyOperation','_isInit','showWarning','compress','insert','_document','_service','_sendBufferedOperationsDelayId','connect','_isEditingAllowed','collaboration.channelId','_compressOperations','_currentBufferDelay','214325ghoWRa','unregister','ready','remove','Notification','realtimecollaborationclient-init-service-internal-error','_addKnownRoot','version','realtimecollaborationclient-init-document-already-initialized','128624bYVxUo','cs:removeUser','rtc-offline','_hasSynchronizationProblem','reset','6BDlopg','_crash','disconnect','__className','_offset','newRange','affectsData','has','start','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','selection','_lastServerVersion','rootName','setPermissions','_bufferedOperations','_connectAfterSessionHasBeenFlushed','_handleInitialConnectionData','state','_getOperationsFromInitData','error','fromJSON','apply','disconnected','_setPendingAction','metadata','set','lastOperationId','_initSessionsHandling','from','filter','end','bind','reconnection:\x20flushed\x20session','_channelId','_shouldSendUpdate','_initThrowingOnDataSet','getOperations','89061SmiIIV','realtimecollaborationclient-init-connection-failed','3115820nuDUsY','_getAffectedRoot','userId','_disconnectService','decompress','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.','_setUpDataInit','wasUndone','2804778vtYtBu','sessionAdd:','change:_isEditingAllowed','path','PENDING_ACTION_SENDING_DATA','createdAt','config','currentDocumentSession','_handleExternalOperations','editing','stop','_shouldSendSelectionUpdate','sessionId','_operationIdentifier','markers','cloud-services-internal-error:\x20Not\x20connected.','keys','getIdOfTheLastOperation','startsWith','_handleSendingSelectionMarkers','type','getRoot','_sendBufferedOperations','addUser','document:write','directChange','_waitUntilSynced','serverHistory','getUser','initData','data','232FwJuDp','reconnect','createPositionFromPath','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.','high','_decompressOperations','round','catch','model','position','clone','realtimecollaborationclient-init-non-existent-root','requires','addRootAttribute','rootsAttributes','RealTimeCollaborationClient','lastSyncVersion','forEach','getOperationAuthor','move','_operationToId','history','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','return','register','collaboration-missing-channelid','root','enableReadOnlyMode','_knownOperations','getConnectedSessions','connection','realtimecollaborationclient','_isConnected','_isLoaded','getDocumentDetails','disableReadOnlyMode','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','listenTo','change:range','_updateServerHistory'];_0x44e9=function(){return _0x40ebdf;};return _0x44e9();}class $ extends Error{}function K(_0x120ecf,_0x5f79f8){const _0x428a06=_0x411596;for(const _0x1b0b5d of _0x120ecf)_0x1b0b5d[_0x428a06(0x17c)]=_0x5f79f8++;}class J{[_0x411596(0x19e)];[_0x411596(0x159)];constructor(_0x2d060d){const _0x2570ed=_0x411596;this[_0x2570ed(0x19e)]=_0x2d060d,this[_0x2570ed(0x159)]=new WeakMap();}[_0x411596(0x137)](_0x491bc3){const _0x165f93=_0x411596;let _0x4d8f1c=_0x491bc3[_0x165f93(0x19c)];for(;_0x4d8f1c--;){const _0x37221b=_0x491bc3[_0x4d8f1c];if(!this[_0x165f93(0x19e)][_0x165f93(0xfe)](_0x37221b)){if(!this[_0x165f93(0x159)][_0x165f93(0xfe)](_0x37221b)){const _0x5a1f18=_0x6dd842()[_0x165f93(0x172)](0x1,0x12);this[_0x165f93(0x159)][_0x165f93(0x110)](_0x37221b,_0x5a1f18);}return this[_0x165f93(0x159)][_0x165f93(0x16d)](_0x37221b);}}}[_0x411596(0x184)](_0x410efc,_0x2f4dd1){const _0x32223e=_0x411596;if(!_0x2f4dd1)return;let _0xda4d25=_0x410efc[_0x32223e(0x19c)];for(;_0xda4d25--;){const _0x22e4b0=_0x410efc[_0xda4d25];this[_0x32223e(0x19e)][_0x32223e(0xfe)](_0x22e4b0)||this[_0x32223e(0x159)][_0x32223e(0x110)](_0x22e4b0,_0x2f4dd1);}}}
23
+ const _0x17c9b6=_0x1170;(function(_0x51937e,_0x24abee){const _0x4b76f7=_0x1170,_0x94d483=_0x51937e();while(!![]){try{const _0x56d541=-parseInt(_0x4b76f7(0x17e))/0x1+parseInt(_0x4b76f7(0x1fc))/0x2+-parseInt(_0x4b76f7(0x10b))/0x3+parseInt(_0x4b76f7(0x1bf))/0x4+parseInt(_0x4b76f7(0x1ee))/0x5*(parseInt(_0x4b76f7(0x1f0))/0x6)+-parseInt(_0x4b76f7(0x1d0))/0x7+-parseInt(_0x4b76f7(0x11b))/0x8*(-parseInt(_0x4b76f7(0x198))/0x9);if(_0x56d541===_0x24abee)break;else _0x94d483['push'](_0x94d483['shift']());}catch(_0x350ec7){_0x94d483['push'](_0x94d483['shift']());}}}(_0x4b63,0x3a6c1));import{Plugin as _0x52b0ee,PendingActions as _0x211d59}from'ckeditor5/src/core.js';import{CKEditorError as _0x4506b4,version as _0x5830f6,uid as _0x536e6d}from'ckeditor5/src/utils.js';import{Notification as _0x3c0eec}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3d9921,NoOperation as _0x4034bf,InsertOperation as _0x889eb6,MarkerOperation as _0x467f55,RootAttributeOperation as _0x14d0aa,OperationFactory as _0x370286,History as _0x22460a}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x409934}from'./websocketgateway.js';import{Sessions as _0x2d3dc6}from'./sessions.js';import{UserMarkers as _0x3a849f}from'./usermarkers.js';import{getTranslation as _0x203777}from'../common-translations.js';import{Compressor as _0x2e2892}from'@ckeditor/ckeditor5-operations-compressor';function _0x1170(_0x93290b,_0x23b796){const _0x4b63f4=_0x4b63();return _0x1170=function(_0x117011,_0x3b8e51){_0x117011=_0x117011-0x107;let _0x382b88=_0x4b63f4[_0x117011];return _0x382b88;},_0x1170(_0x93290b,_0x23b796);}function _0x4b63(){const _0x4aff5b=['compress','realtimecollaborationclient-init-session-connection-error','getOperationAuthor','_lastSyncedOperationId','serverHistory','_crash','_fetchMissingUsers','CollaborativeEditingService','_handleReceivedOperations','isEnabled','_authorId','addUser','_isPendingUpdate','disconnect','sessionAdd:','editor','rtc-destroyed','view','wasUndone','userId','high','unregister','isOfficialPlugin','metadata','getDocumentDetails','config','newRange','state','realtimecollaborationclient','realtimecollaborationclient-handleserverresponse','requires','locale','_hasSynchronizationProblem','_saveOperationInBuffer','push','PENDING_ACTION_SENDING_DATA','change:range','affectedSelectable','getUser','plugins','register','cs:removeUser','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','type','entries','_getOperationsFromInitData','toJSON','lastDocumentSession','wereChangesApplied','attributes','_setPendingAction','_bufferedOperations','_compressor','realtimecollaborationclient-init-connection-failed','from','realtimecollaborationclient-error','_knownRootNames','lastOperationId','data','cloudServices.bundleVersion','remove','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.','$root','Permissions','get','marker','_handleInitialConnectionData','_isEditingAllowed','_pendingAction','_sendBufferedOperationsDelayId','lastSyncVersion','sessionId','connected','bind','change:_isEditingAllowed','offset','string','currentDocumentSession','targetPosition','has','_sendBufferedOperationsDelayed','287065SNoKye','_setUpDataInit','_loadRoot','addToReconnectionStack','start','addRootAttribute','initData','fromJSON','rootsAttributes','RealTimeCollaborationClient','_connectAfterSessionHasBeenFlushed','__className','model','set','isUndoneOperation','forEach','stopListening','applyOperation','cloud-services-internal-error:\x20Request\x20timeout.','createPositionFromPath','rootName','round','_bufferRootLoad','_baseBufferDelay','createdAt','stop','9GbLRzx','getOperations','clone','multi-root-editor-root-attributes-no-root','size','code','realtimecollaborationclient-init-non-existent-root','editing','baseVersion','operationsReceived','_updateServerHistory','_lastServerVersion','real-time-collaboration','reconnection:\x20flushed\x20session','history','sessionCreatedAt','_handleServerResponse','isReadOnly','Notification','404','add','error','document','then','_isLoaded','reconnect','ready','sendOperations','lastOperationAcceptedAt','showWarning','getRoot','map','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','getConnectedSessions','removeFromReconnectionStack','destroy','Synchronization\x20issue','return','startsWith','8988oqyHlt','CommentsOnly','change:hasDomSelection','collaboration.channelId','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.','_initThrowingOnDataSet','connect','move','realtimecollaborationclient-init-service-incorrect-server-operation','_knownOperations','slice','_addKnownRoot','_currentBufferDelay','rtc-offline','position','_document','document:write','256354qbVWyx','realtimecollaborationclient-init-service-internal-error','_handleSendingSelectionMarkers','_refreshUserSelectionMarkers','suppressErrorInCollaboration','isDocumentOperation','directChange','_shouldSendUpdate','reset','parse','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','affectsData','fire','createRoot','markers','finally','collaboration','define','_channelId','getMany','setIdForTheLastOperation','filter','realtimecollaborationclient-init-document-already-initialized','_shouldSendSelectionUpdate','_isAttached','createRange','createPositionAt','permissions','_offset','init','18705vJUhKq','decompress','318emzIUO','_ignoredOperations','catch','409','_operationToId','change:_isPendingUpdate','_handleExternalOperations','cloudDocumentVersion','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','connection','_compressOperations','getIdOfTheLastOperation','752664RAsMUc','_clearPendingAction','_isDisconnection','end','pluginName','message','setPermissions','disconnected','_applyOperationsSet','_getAffectedRoot','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-sendbufferedoperations','_decompressOperations','_waitUntilSynced','batch','enableReadOnlyMode','_isConnected','root','selection','_initSessionsHandling','467688fiqJYW','enqueueChange','keys','differ','loadRoot','collaboration-missing-channelid','_sendBufferedOperations','addOperation','includes','mySessionId','InsertOperation','channelSessions','off','insert','listenTo','_handleReconnectionError','1136224qNxgmi','path','addRoot','_handleReconnectionResponse','_service','isPremiumPlugin','disableReadOnlyMode','_disconnectionOperations','_hasSelectionChanged','_connectService','version','_isInit','_disconnectService','createUserMarkerOperations','apply','length','_operationIdentifier','roots'];_0x4b63=function(){return _0x4aff5b;};return _0x4b63();}import{Users as _0x571135}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x15c739,CollaborativeEditingService as _0x320a86}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;class l extends _0x52b0ee{static [_0x17c9b6(0x134)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x320a86)());[_0x17c9b6(0x1ec)];[_0x17c9b6(0x174)];[_0x17c9b6(0x131)];[_0x17c9b6(0x1e2)];[_0x17c9b6(0x11f)];[_0x17c9b6(0x1ce)];[_0x17c9b6(0x161)];[_0x17c9b6(0x160)];[_0x17c9b6(0x1c8)];[_0x17c9b6(0x165)];[_0x17c9b6(0x171)];[_0x17c9b6(0x123)];[_0x17c9b6(0x172)];[_0x17c9b6(0x195)];[_0x17c9b6(0x1cb)];[_0x17c9b6(0x130)];[_0x17c9b6(0x122)];[_0x17c9b6(0x12b)];static get[_0x17c9b6(0x14b)](){return[_0x409934,_0x2d3dc6,_0x3a849f,_0x211d59,_0x571135,_0x3c0eec];}static get[_0x17c9b6(0x200)](){const _0x26cc84=_0x17c9b6;return _0x26cc84(0x187);}static get[_0x17c9b6(0x143)](){return!0x0;}static get[_0x17c9b6(0x120)](){return!0x0;}get[_0x17c9b6(0x1f7)](){const _0x58a4d3=_0x17c9b6;return this[_0x58a4d3(0x1a3)]+this[_0x58a4d3(0x1ec)];}get[_0x17c9b6(0x1a3)](){const _0xf4a9a5=_0x17c9b6;return this[_0xf4a9a5(0x131)][_0xf4a9a5(0x125)]-this[_0xf4a9a5(0x1ec)];}get[_0x17c9b6(0x173)](){const _0x1054f0=_0x17c9b6,_0x252145=this[_0x1054f0(0x131)][_0x1054f0(0x199)]();for(let _0x119696=_0x252145[_0x1054f0(0x12a)]-0x1;_0x119696>=0x0;_0x119696--){const _0x190d17=_0x252145[_0x119696];if(!this[_0x1054f0(0x122)][_0x1054f0(0x17c)](_0x190d17))return _0x190d17[_0x1054f0(0x1a0)]+0x1-this[_0x1054f0(0x1ec)];}return 0x0;}constructor(_0x291360){const _0xf58919=_0x17c9b6;if(super(_0x291360),this[_0xf58919(0x1ec)]=0x0,this[_0xf58919(0x174)]=null,this[_0xf58919(0x131)]=new _0x22460a(),this[_0xf58919(0x13c)][_0xf58919(0x146)][_0xf58919(0x1e1)](_0xf58919(0x1e0),{}),this[_0xf58919(0x1e2)]=this[_0xf58919(0x13c)][_0xf58919(0x146)][_0xf58919(0x16d)](_0xf58919(0x1c2)),!this[_0xf58919(0x1e2)])throw new _0x4506b4(_0xf58919(0x110),this);const _0x931c8=_0x291360[_0xf58919(0x146)][_0xf58919(0x16d)](_0xf58919(0x168))||_0x5830f6;this[_0xf58919(0x11f)]=new l[(_0xf58919(0x134))](_0x931c8,this[_0xf58919(0x1e2)]),this[_0xf58919(0x1ce)]=this[_0xf58919(0x13c)][_0xf58919(0x18a)][_0xf58919(0x1ae)],this[_0xf58919(0x161)]=new _0x2e2892(),this[_0xf58919(0x160)]=[],this[_0xf58919(0x1c8)]=new WeakSet(),this[_0xf58919(0x165)]=new Set(),this[_0xf58919(0x18b)](_0xf58919(0x139),!0x1),this[_0xf58919(0x18b)](_0xf58919(0x14d),!0x1),this[_0xf58919(0x171)]=null,this[_0xf58919(0x123)]=!0x1,this[_0xf58919(0x172)]=null,this[_0xf58919(0x195)]=0x12c,this[_0xf58919(0x1cb)]=this[_0xf58919(0x195)],this[_0xf58919(0x130)]=null,this[_0xf58919(0x122)]=new WeakSet(),this[_0xf58919(0x12b)]=new tt(this[_0xf58919(0x122)]);}[_0x17c9b6(0x1ed)](){const _0x2099e9=_0x17c9b6,_0x382f5e=this[_0x2099e9(0x13c)],_0x4f9221=_0x382f5e[_0x2099e9(0x154)][_0x2099e9(0x16d)](_0x571135),_0x2a0a9e=_0x382f5e[_0x2099e9(0x154)][_0x2099e9(0x16d)](_0x409934);this[_0x2099e9(0x119)](_0x4f9221,_0x2099e9(0x12f),(_0xdac881,_0x11e3cc)=>{const _0x6c0709=_0x2099e9,_0x59cd75=_0x11e3cc[0x0];_0x59cd75[_0x6c0709(0x137)]&&(_0xdac881[_0x6c0709(0x1bd)]=_0x4f9221[_0x6c0709(0x153)](_0x59cd75[_0x6c0709(0x137)]),_0xdac881[_0x6c0709(0x197)]()),null===_0x59cd75[_0x6c0709(0x137)]&&(_0xdac881[_0x6c0709(0x1bd)]=null,_0xdac881[_0x6c0709(0x197)]());},{'priority':_0x2099e9(0x141)}),this[_0x2099e9(0x119)](_0x382f5e[_0x2099e9(0x18a)][_0x2099e9(0x1ae)][_0x2099e9(0x109)],_0x2099e9(0x151),(_0x41e35f,_0x31fbad)=>{const _0x15ac46=_0x2099e9;_0x31fbad[_0x15ac46(0x1d6)]&&this[_0x15ac46(0x1d3)]();}),this[_0x2099e9(0x119)](_0x382f5e[_0x2099e9(0x19f)][_0x2099e9(0x13e)],_0x2099e9(0x1c1),()=>{const _0x237f1e=_0x2099e9;this[_0x237f1e(0x1d3)]();}),this[_0x2099e9(0x1c4)](),_0x382f5e[_0x2099e9(0x18a)]['on'](_0x2099e9(0x18f),(_0x3da712,_0xf418e8)=>{const _0x5ede41=_0x2099e9,_0x327348=_0xf418e8[0x0];_0x327348[_0x5ede41(0x1d5)]&&(this[_0x5ede41(0x14e)](_0x327348),this[_0x5ede41(0x1d7)]()&&this[_0x5ede41(0x17d)]());}),this[_0x2099e9(0x17f)](),this[_0x2099e9(0x176)](_0x2099e9(0x170))['to'](_0x2a0a9e,_0x2099e9(0x148),this,_0x2099e9(0x14d),(_0x330010,_0x4561ce)=>_0x2099e9(0x175)===_0x330010&&!_0x4561ce),this['on'](_0x2099e9(0x177),()=>{const _0x3970c0=_0x2099e9;this[_0x3970c0(0x170)]?_0x382f5e[_0x3970c0(0x121)](_0x3970c0(0x1cc)):_0x382f5e[_0x3970c0(0x20b)](_0x3970c0(0x1cc));}),this[_0x2099e9(0x170)]?_0x382f5e[_0x2099e9(0x121)](_0x2099e9(0x1cc)):_0x382f5e[_0x2099e9(0x20b)](_0x2099e9(0x1cc)),this[_0x2099e9(0x18b)](_0x2099e9(0x107),!0x1);}async[_0x17c9b6(0x1b1)](){const _0x353bcc=_0x17c9b6,_0x16a862=this[_0x353bcc(0x13c)][_0x353bcc(0x154)][_0x353bcc(0x16d)](_0x2d3dc6),_0x286d18=this[_0x353bcc(0x13c)][_0x353bcc(0x154)][_0x353bcc(0x16d)](_0x409934);try{this[_0x353bcc(0x139)]=!0x0,_0x16a862[_0x353bcc(0x142)](this[_0x353bcc(0x1e2)]);const _0x536946=await this[_0x353bcc(0x11f)][_0x353bcc(0x1b1)](_0x286d18[_0x353bcc(0x1f9)],this[_0x353bcc(0x173)]);await this[_0x353bcc(0x11e)](_0x536946)&&(this[_0x353bcc(0x139)]=!0x1,this[_0x353bcc(0x1fd)]());const _0x7954cf=await this[_0x353bcc(0x11f)][_0x353bcc(0x1b9)]();_0x16a862[_0x353bcc(0x155)](this[_0x353bcc(0x1e2)],_0x7954cf),this[_0x353bcc(0x1d2)](),this[_0x353bcc(0x107)]=!0x0;}catch(_0x2854df){if(function(_0x26d31f){const _0xf0fdb=_0x353bcc;return _0xf0fdb(0x1ab)===_0x26d31f[_0xf0fdb(0x19d)];}(_0x2854df)&&this[_0x353bcc(0x174)])await this[_0x353bcc(0x188)]();else{if(function(_0xb009c3){const _0x3c2e63=_0x353bcc;return _0x3c2e63(0x1f3)===_0xb009c3[_0x3c2e63(0x19d)];}(_0x2854df)){const _0x406498=_0x203777(this[_0x353bcc(0x13c)][_0x353bcc(0x14c)],_0x353bcc(0x157));this[_0x353bcc(0x11a)](_0x406498);}else{if(!(_0x2854df instanceof Y))throw _0x2854df;this[_0x353bcc(0x11a)]();}}}}[_0x17c9b6(0x1bb)](){const _0xd81a57=_0x17c9b6,_0x5bee5f=this[_0xd81a57(0x13c)][_0xd81a57(0x154)][_0xd81a57(0x16d)](_0x409934),_0xe4aec=this[_0xd81a57(0x13c)][_0xd81a57(0x154)][_0xd81a57(0x16d)](_0x2d3dc6);this[_0xd81a57(0x13c)][_0xd81a57(0x20b)](_0xd81a57(0x13d)),_0xe4aec[_0xd81a57(0x116)][_0xd81a57(0x17c)](this[_0xd81a57(0x1e2)])&&_0xe4aec[_0xd81a57(0x142)](this[_0xd81a57(0x1e2)]),_0x5bee5f[_0xd81a57(0x1ba)](this),this[_0xd81a57(0x127)](),super[_0xd81a57(0x1bb)]();}async[_0x17c9b6(0x11e)](_0x40139e){const _0x1a26e9=_0x17c9b6;if(this[_0x1a26e9(0x174)]!==_0x40139e[_0x1a26e9(0x174)]&&this[_0x1a26e9(0x130)]!==_0x40139e[_0x1a26e9(0x166)])throw new Y();return this[_0x1a26e9(0x174)]=_0x40139e[_0x1a26e9(0x174)],this[_0x1a26e9(0x1a8)]([],{..._0x40139e,'wereChangesApplied':!0x1,'data':_0x40139e[_0x1a26e9(0x167)]},_0x1a26e9(0x1b1));}async[_0x17c9b6(0x124)](_0x9fd2ae,_0x6f4b1a=!0x1){const _0x37219e=_0x17c9b6,{connection:_0x44227c}=this[_0x37219e(0x13c)][_0x37219e(0x154)][_0x37219e(0x16d)](_0x409934);l[_0x37219e(0x134)][_0x37219e(0x1b9)](_0x44227c,this[_0x37219e(0x1e2)])[_0x37219e(0x1af)](_0x27f524=>this[_0x37219e(0x10a)](_0x27f524))[_0x37219e(0x1f2)](_0x5963e8=>{const _0x45ebfc=_0x37219e;this[_0x45ebfc(0x132)](_0x45ebfc(0x12e),_0x5963e8);}),this[_0x37219e(0x119)](this[_0x37219e(0x11f)],_0x37219e(0x1a1),this[_0x37219e(0x135)][_0x37219e(0x176)](this)),this[_0x37219e(0x119)](this[_0x37219e(0x11f)],_0x37219e(0x1ad),(_0x271a73,_0x152a68)=>{const _0x5403e7=_0x37219e;this[_0x5403e7(0x132)](_0x5403e7(0x1d1),_0x152a68);}),this[_0x37219e(0x119)](this[_0x37219e(0x11f)],_0x37219e(0x203),()=>{const _0xcc4613=_0x37219e;this[_0xcc4613(0x107)]=!0x1;});const _0x2c432a=this[_0x37219e(0x12b)][_0x37219e(0x1fb)](_0x9fd2ae);this[_0x37219e(0x139)]=!0x0;const _0x31c5ee=await this[_0x37219e(0x11f)][_0x37219e(0x1c5)](_0x44227c,this[_0x37219e(0x1fa)](_0x9fd2ae),_0x2c432a);if(this[_0x37219e(0x174)]=_0x31c5ee[_0x37219e(0x174)],_0x6f4b1a){if(!_0x31c5ee[_0x37219e(0x15d)])return void this[_0x37219e(0x11a)]();this[_0x37219e(0x139)]=!0x1,this[_0x37219e(0x1fd)](),this[_0x37219e(0x131)][_0x37219e(0x1d8)](),this[_0x37219e(0x1ec)]=_0x31c5ee[_0x37219e(0x178)],this[_0x37219e(0x131)][_0x37219e(0x125)]=this[_0x37219e(0x1ec)],await this[_0x37219e(0x1a8)](_0x9fd2ae,_0x31c5ee,_0x37219e(0x1a5));}else await this[_0x37219e(0x16f)](_0x31c5ee,_0x9fd2ae);this[_0x37219e(0x1d2)](),this[_0x37219e(0x107)]=!0x0;}[_0x17c9b6(0x1d2)](){const _0x425677=_0x17c9b6,_0x399b7e=this[_0x425677(0x13c)][_0x425677(0x154)][_0x425677(0x16d)](_0x2d3dc6),_0x544c9d=this[_0x425677(0x13c)][_0x425677(0x154)][_0x425677(0x16d)](_0x3a849f),_0x4a835a=_0x399b7e[_0x425677(0x116)][_0x425677(0x16d)](this[_0x425677(0x1e2)]);_0x4a835a&&_0x4a835a[_0x425677(0x12a)]>0x1?_0x544c9d[_0x425677(0x128)]():this[_0x425677(0x119)](_0x399b7e,_0x425677(0x13b)+this[_0x425677(0x1e2)],()=>{const _0x528cac=_0x425677;0x2===_0x399b7e[_0x528cac(0x116)][_0x528cac(0x16d)](this[_0x528cac(0x1e2)])[_0x528cac(0x12a)]&&_0x544c9d[_0x528cac(0x128)]();});}async[_0x17c9b6(0x135)](_0x38ed53,_0x1d1c16,_0x712375,_0x1d6986){const _0x2f4087=_0x17c9b6;if(!this[_0x2f4087(0x139)]&&this[_0x2f4087(0x1ce)][_0x2f4087(0x125)]==_0x1d1c16){const _0x232231=this[_0x2f4087(0x208)](_0x712375,_0x1d6986);await this[_0x2f4087(0x133)](_0x232231),this[_0x2f4087(0x1f6)](_0x232231,_0x1d1c16,_0x712375[_0x2f4087(0x166)])||this[_0x2f4087(0x132)](_0x2f4087(0x1c7));}}async[_0x17c9b6(0x188)](){const _0x3ed822=_0x17c9b6;this[_0x3ed822(0x127)]();const {locale:_0x3852a9}=this[_0x3ed822(0x13c)];let _0x4646e4;try{_0x4646e4=await this[_0x3ed822(0x11f)][_0x3ed822(0x145)]();}catch{const _0x5b819c=_0x203777(_0x3852a9,_0x3ed822(0x1b8));return void this[_0x3ed822(0x11a)](_0x5b819c);}const _0x5666c7=_0x4646e4[_0x3ed822(0x17a)]||_0x4646e4[_0x3ed822(0x15c)];if(this[_0x3ed822(0x130)]!==_0x5666c7[_0x3ed822(0x166)]){const _0x2494b1=_0x203777(_0x3852a9,_0x3ed822(0x1c3));return void this[_0x3ed822(0x11a)](_0x2494b1);}await this[_0x3ed822(0x124)](this[_0x3ed822(0x13c)][_0x3ed822(0x18a)][_0x3ed822(0x1ae)][_0x3ed822(0x1a6)][_0x3ed822(0x199)](),!0x0);}[_0x17c9b6(0x127)](){const _0x254a61=_0x17c9b6;this[_0x254a61(0x11f)][_0x254a61(0x13a)](),this[_0x254a61(0x160)]=[],clearTimeout(this[_0x254a61(0x172)]),this[_0x254a61(0x18e)](this[_0x254a61(0x11f)]);}[_0x17c9b6(0x10a)](_0x88296b){const _0x46ac39=_0x17c9b6,_0x3e143e=this[_0x46ac39(0x13c)][_0x46ac39(0x154)][_0x46ac39(0x16d)](_0x2d3dc6);this[_0x46ac39(0x119)](_0x3e143e,_0x46ac39(0x13b)+this[_0x46ac39(0x1e2)],(_0x10f095,{session:_0x959c9})=>{const _0x587baf=_0x46ac39;if(_0x959c9['id']===_0x3e143e[_0x587baf(0x114)]){_0x10f095[_0x587baf(0x117)]();const _0x59cf3f=this[_0x587baf(0x13c)][_0x587baf(0x154)][_0x587baf(0x17c)](_0x587baf(0x1c0))&&this[_0x587baf(0x13c)][_0x587baf(0x154)][_0x587baf(0x16d)](_0x587baf(0x1c0));let _0x5841b3=_0x959c9[_0x587baf(0x1eb)];_0x59cf3f&&_0x59cf3f[_0x587baf(0x136)]&&(_0x5841b3=_0x5841b3[_0x587baf(0x1e5)](_0x421df8=>_0x587baf(0x1cf)!==_0x421df8)),this[_0x587baf(0x13c)][_0x587baf(0x154)][_0x587baf(0x16d)](_0x587baf(0x16c))[_0x587baf(0x202)](_0x5841b3,this[_0x587baf(0x1e2)]);}}),_0x3e143e[_0x46ac39(0x155)](this[_0x46ac39(0x1e2)],_0x88296b);}[_0x17c9b6(0x1c4)](){const _0x299365=_0x17c9b6,_0x2bcd81=this[_0x299365(0x13c)][_0x299365(0x167)][_0x299365(0x18b)];this[_0x299365(0x13c)][_0x299365(0x167)][_0x299365(0x18b)]=(..._0x6adaee)=>{const _0x27023c=_0x299365;if(!_0x6adaee[_0x6adaee[_0x27023c(0x12a)]-0x1][_0x27023c(0x1d4)])throw new _0x4506b4(_0x27023c(0x1da),this);_0x2bcd81[_0x27023c(0x129)](this[_0x27023c(0x13c)][_0x27023c(0x167)],_0x6adaee);};}[_0x17c9b6(0x17f)](){const _0x24e4dd=_0x17c9b6;this[_0x24e4dd(0x13c)][_0x24e4dd(0x167)]['on'](_0x24e4dd(0x1ed),(_0x43d014,[_0x25c8ef])=>{const _0x3c65a1=_0x24e4dd;if(this[_0x3c65a1(0x1ce)][_0x3c65a1(0x125)])throw new _0x4506b4(_0x3c65a1(0x1e6),this);_0x43d014[_0x3c65a1(0x197)](),this[_0x3c65a1(0x15f)]();const _0x48c15e=this[_0x3c65a1(0x13c)][_0x3c65a1(0x146)][_0x3c65a1(0x16d)](_0x3c65a1(0x186)),_0x13db9f=this[_0x3c65a1(0x15a)](_0x25c8ef,_0x48c15e);0x0==_0x13db9f[_0x3c65a1(0x12a)]&&_0x13db9f[_0x3c65a1(0x14f)](new _0x4034bf(0x0)),_0x43d014[_0x3c65a1(0x1bd)]=this[_0x3c65a1(0x124)](_0x13db9f)[_0x3c65a1(0x1af)](()=>{const _0x5b6149=_0x3c65a1;this[_0x5b6149(0x13c)][_0x5b6149(0x154)][_0x5b6149(0x16d)](_0x409934)[_0x5b6149(0x181)](this),this[_0x5b6149(0x13c)][_0x5b6149(0x167)][_0x5b6149(0x1dc)](_0x5b6149(0x1b2));})[_0x3c65a1(0x1f2)](_0x482818=>this[_0x3c65a1(0x132)](_0x3c65a1(0x162),_0x482818))[_0x3c65a1(0x1df)](()=>this[_0x3c65a1(0x1fd)]());},{'priority':_0x24e4dd(0x141)}),this[_0x24e4dd(0x13c)]['on'](_0x24e4dd(0x10f),async(_0x464281,[_0x57d92,_0x39ca7d])=>{const _0x4a0210=_0x24e4dd;_0x464281[_0x4a0210(0x197)]();const _0x489c40=this[_0x4a0210(0x13c)][_0x4a0210(0x18a)][_0x4a0210(0x1ae)][_0x4a0210(0x1b6)](_0x57d92);if(!this[_0x4a0210(0x165)][_0x4a0210(0x17c)](_0x57d92)){const _0x3899a5=_0x39ca7d&&_0x39ca7d[_0x4a0210(0x167)]?_0x39ca7d[_0x4a0210(0x167)]:'',_0x3ed8d5=_0x39ca7d&&_0x39ca7d[_0x4a0210(0x15e)]?_0x39ca7d[_0x4a0210(0x15e)]:{};await this[_0x4a0210(0x180)](_0x57d92,_0x3899a5,_0x3ed8d5);}this[_0x4a0210(0x13c)][_0x4a0210(0x18a)][_0x4a0210(0x10c)]({'isUndoable':!0x1},()=>{const _0x804970=_0x4a0210;_0x489c40[_0x804970(0x1b0)]=!0x0,this[_0x804970(0x13c)][_0x804970(0x18a)][_0x804970(0x1ae)][_0x804970(0x10e)][_0x804970(0x194)](_0x489c40);});},{'priority':_0x24e4dd(0x141)});}async[_0x17c9b6(0x133)](_0x2dd43a){const _0x48f882=_0x17c9b6,_0x310413=this[_0x48f882(0x13c)][_0x48f882(0x154)][_0x48f882(0x16d)](_0x571135),{connection:_0x5d2f56}=this[_0x48f882(0x13c)][_0x48f882(0x154)][_0x48f882(0x16d)](_0x409934),_0x4d7e97=new Set();for(const _0x219f89 of _0x2dd43a){const _0x4ad4f7=_0x219f89[_0x48f882(0x137)];_0x4ad4f7&&!_0x310413[_0x48f882(0x153)](_0x4ad4f7)&&_0x4d7e97[_0x48f882(0x1ac)](_0x4ad4f7);}if(0x0===_0x4d7e97[_0x48f882(0x19c)])return;const _0x46550d=await _0x15c739[_0x48f882(0x1e3)](_0x5d2f56,Array[_0x48f882(0x163)](_0x4d7e97));for(const _0x14ce92 of _0x46550d)_0x310413[_0x48f882(0x153)](_0x14ce92['id'])||_0x310413[_0x48f882(0x138)](_0x14ce92);}[_0x17c9b6(0x15a)](_0x4de6f4,_0x4d03c0={}){const _0x27652b=_0x17c9b6,_0x4aa79e=this[_0x27652b(0x13c)][_0x27652b(0x18a)],_0x258766=[];let _0x2cd0a3=0x0;const _0xe7c4b8=_0x27652b(0x179)==typeof _0x4de6f4?{'main':_0x4de6f4}:_0x4de6f4;for(const _0x56d047 of Object[_0x27652b(0x10d)](_0xe7c4b8)){if(!this[_0x27652b(0x1ce)][_0x27652b(0x12c)][_0x27652b(0x17c)](_0x56d047))throw new _0x4506b4(_0x27652b(0x19e),this);const _0x387bf2=this[_0x27652b(0x13c)][_0x27652b(0x167)][_0x27652b(0x1d9)](_0xe7c4b8[_0x56d047]),_0x48b8ad=this[_0x27652b(0x1ce)][_0x27652b(0x1b6)](_0x56d047),_0x3cae62=new _0x889eb6(_0x4aa79e[_0x27652b(0x1ea)](_0x48b8ad,0x0),_0x387bf2,_0x2cd0a3++);_0x258766[_0x27652b(0x14f)](_0x3cae62);for(const [_0x568fd1,_0x12d6a6]of _0x387bf2[_0x27652b(0x1de)]){const _0x161efe=_0x4aa79e[_0x27652b(0x1e9)](_0x4aa79e[_0x27652b(0x191)](_0x48b8ad,_0x12d6a6[_0x27652b(0x182)][_0x27652b(0x11c)][_0x27652b(0x1c9)]()),_0x4aa79e[_0x27652b(0x191)](_0x48b8ad,_0x12d6a6[_0x27652b(0x1ff)][_0x27652b(0x11c)][_0x27652b(0x1c9)]())),_0xa34448=new _0x467f55(_0x568fd1,null,_0x161efe,_0x4aa79e[_0x27652b(0x1de)],!0x0,_0x2cd0a3++);_0x258766[_0x27652b(0x14f)](_0xa34448);}}if(_0x4d03c0)for(const [_0x53da41,_0x3e6d95]of Object[_0x27652b(0x159)](_0x4d03c0)){const _0x207efb=_0x4aa79e[_0x27652b(0x1ae)][_0x27652b(0x1b6)](_0x53da41);if(!_0x207efb)throw new _0x4506b4(_0x27652b(0x19b),null);for(const [_0x551517,_0x57802d]of Object[_0x27652b(0x159)](_0x3e6d95))if(null!==_0x57802d){const _0x39c02f=new _0x14d0aa(_0x207efb,_0x551517,null,_0x57802d,_0x2cd0a3++);_0x258766[_0x27652b(0x14f)](_0x39c02f);}}return _0x258766;}async[_0x17c9b6(0x180)](_0x1b98cc,_0x3d35dd,_0x52d653){const _0xc3180c=_0x17c9b6;this[_0xc3180c(0x15a)]({[_0x1b98cc]:_0x3d35dd},{[_0x1b98cc]:_0x52d653})[_0xc3180c(0x18d)]((_0x447255,_0x2a2f92)=>{const _0x4cf712=_0xc3180c;_0x447255[_0x4cf712(0x1a0)]=this[_0x4cf712(0x1ce)][_0x4cf712(0x125)]+_0x2a2f92,_0x447255[_0x4cf712(0x126)]=!0x0,this[_0x4cf712(0x14e)](_0x447255);}),this[_0xc3180c(0x17d)](),await this[_0xc3180c(0x209)]();}async[_0x17c9b6(0x16f)](_0x52db5d,_0x595144){const _0x4fa09e=_0x17c9b6;let _0x525636;this[_0x4fa09e(0x1ec)]=_0x52db5d[_0x4fa09e(0x178)];const _0x444e80=_0x52db5d[_0x4fa09e(0x15d)]&&!_0x52db5d[_0x4fa09e(0x184)],_0x5727d4=_0x444e80?0x0:_0x52db5d[_0x4fa09e(0x167)][_0x4fa09e(0x1a0)];if(_0x595144[_0x4fa09e(0x18d)](_0xd8f101=>{const _0x52dbb9=_0x4fa09e;_0xd8f101[_0x52dbb9(0x126)]=!0x0,_0xd8f101[_0x52dbb9(0x196)]=_0x52db5d[_0x52dbb9(0x1a7)],_0xd8f101[_0x52dbb9(0x137)]=null;}),_0x444e80)_0x525636=_0x595144,this[_0x4fa09e(0x204)](_0x525636,_0x444e80);else{if(_0x52db5d[_0x4fa09e(0x184)]){const _0xf76c7c=this[_0x4fa09e(0x15a)](_0x52db5d[_0x4fa09e(0x184)]);this[_0x4fa09e(0x1ce)][_0x4fa09e(0x1a6)][_0x4fa09e(0x125)]=-_0xf76c7c[_0x4fa09e(0x12a)],_0xf76c7c[_0x4fa09e(0x18d)](_0x40ead8=>{const _0xf3c40b=_0x4fa09e;_0x40ead8[_0xf3c40b(0x1a0)]-=_0xf76c7c[_0xf3c40b(0x12a)],_0x40ead8[_0xf3c40b(0x196)]=_0x52db5d[_0xf3c40b(0x1a7)],_0x40ead8[_0xf3c40b(0x126)]=!0x0,_0x40ead8[_0xf3c40b(0x137)]=null;}),this[_0x4fa09e(0x204)](_0xf76c7c,!0x0),this[_0x4fa09e(0x131)][_0x4fa09e(0x125)]=-_0xf76c7c[_0x4fa09e(0x12a)]+this[_0x4fa09e(0x1ec)],this[_0x4fa09e(0x1a2)](_0xf76c7c);}this[_0x4fa09e(0x1ce)][_0x4fa09e(0x1a6)][_0x4fa09e(0x125)]=_0x5727d4,_0x525636=this[_0x4fa09e(0x208)](_0x52db5d[_0x4fa09e(0x167)],_0x52db5d[_0x4fa09e(0x144)]),await this[_0x4fa09e(0x133)](_0x525636),this[_0x4fa09e(0x204)](_0x525636,_0x444e80);}_0x52db5d[_0x4fa09e(0x166)]&&(this[_0x4fa09e(0x12b)][_0x4fa09e(0x1e4)](_0x525636,_0x52db5d[_0x4fa09e(0x166)]),this[_0x4fa09e(0x130)]=_0x52db5d[_0x4fa09e(0x166)]),this[_0x4fa09e(0x131)][_0x4fa09e(0x125)]=_0x5727d4+this[_0x4fa09e(0x1ec)],this[_0x4fa09e(0x1a2)](_0x525636),_0x595144[_0x4fa09e(0x1e5)](_0x33bff4=>{const _0x1fe059=_0x4fa09e,_0x28d718=this[_0x1fe059(0x205)](_0x33bff4);return _0x28d718&&!this[_0x1fe059(0x165)][_0x1fe059(0x17c)](_0x28d718);})[_0x4fa09e(0x18d)]((_0xede29b,_0x133e3a)=>{const _0x3eabfe=_0x4fa09e;_0xede29b[_0x3eabfe(0x1a0)]=this[_0x3eabfe(0x1ce)][_0x3eabfe(0x125)]+_0x133e3a,this[_0x3eabfe(0x14e)](_0xede29b);}),this[_0x4fa09e(0x1d7)]()?(this[_0x4fa09e(0x1cb)]=0x0,this[_0x4fa09e(0x17d)](!0x0),await this[_0x4fa09e(0x209)]()):(this[_0x4fa09e(0x139)]=!0x1,this[_0x4fa09e(0x1fd)]());}[_0x17c9b6(0x132)](_0x16928b,_0x5d76e4){const _0xcd2e1=_0x17c9b6,_0x527439=_0x5d76e4&&_0x5d76e4[_0xcd2e1(0x201)];if(_0x527439&&_0x527439[_0xcd2e1(0x1be)](_0xcd2e1(0x149)))throw _0x5d76e4;const _0x4db7a5=this[_0xcd2e1(0x13c)][_0xcd2e1(0x154)][_0xcd2e1(0x16d)](_0x409934);throw this[_0xcd2e1(0x139)]=!0x0,_0x4db7a5[_0xcd2e1(0x13a)](),this[_0xcd2e1(0x13c)][_0xcd2e1(0x20b)](_0xcd2e1(0x164)),new _0x4506b4(_0x16928b,this[_0xcd2e1(0x13c)],_0x527439?{'originalError':_0x527439}:void 0x0);}[_0x17c9b6(0x14e)](_0x26824e){const _0x13a445=_0x17c9b6;this[_0x13a445(0x1c8)][_0x13a445(0x17c)](_0x26824e)||(this[_0x13a445(0x1c8)][_0x13a445(0x1ac)](_0x26824e),this[_0x13a445(0x160)][_0x13a445(0x14f)](_0x26824e),this[_0x13a445(0x171)]||_0x13a445(0x16e)==_0x26824e[_0x13a445(0x158)]&&!_0x26824e[_0x13a445(0x1db)]||this[_0x13a445(0x15f)]());}[_0x17c9b6(0x17d)](_0x446587=!0x1){const _0x8f9ea9=_0x17c9b6;!_0x446587&&this[_0x8f9ea9(0x139)]||(this[_0x8f9ea9(0x139)]=!0x0,clearTimeout(this[_0x8f9ea9(0x172)]),this[_0x8f9ea9(0x172)]=setTimeout(()=>{const _0x2a578d=_0x8f9ea9;this[_0x2a578d(0x111)]()[_0x2a578d(0x1af)](_0x23c510=>{const _0x390e35=_0x2a578d;_0x23c510&&(this[_0x390e35(0x1fd)](),this[_0x390e35(0x139)]=!0x1);})[_0x2a578d(0x1f2)](_0x1ee040=>{const _0x5715e6=_0x2a578d;this[_0x5715e6(0x1fd)](),this[_0x5715e6(0x139)]=!0x1,function(_0x4f55ff){const _0x125dc3=_0x5715e6;return _0x4f55ff[_0x125dc3(0x201)][_0x125dc3(0x1be)](_0x125dc3(0x206))||_0x4f55ff[_0x125dc3(0x201)][_0x125dc3(0x1be)](_0x125dc3(0x1f8))||_0x4f55ff[_0x125dc3(0x201)][_0x125dc3(0x1be)](_0x125dc3(0x190));}(_0x1ee040)||this[_0x5715e6(0x132)](_0x1ee040[_0x5715e6(0x201)],_0x1ee040);});},this[_0x8f9ea9(0x1cb)]));}[_0x17c9b6(0x209)](){return new Promise(_0x1798d7=>{const _0x2cc785=_0x1170;this['on'](_0x2cc785(0x1f5),()=>{_0x1798d7();});});}async[_0x17c9b6(0x111)](){const _0x26c213=_0x17c9b6,_0x358f73=this[_0x26c213(0x13c)][_0x26c213(0x154)][_0x26c213(0x16d)](_0x3a849f);if(this[_0x26c213(0x1e7)]()&&(_0x358f73[_0x26c213(0x128)](),this[_0x26c213(0x123)]=!0x1),!this[_0x26c213(0x1d7)]())return!0x0;const _0x2b8d56=[...this[_0x26c213(0x160)]];for(const _0x1a5da1 of _0x2b8d56)_0x1a5da1[_0x26c213(0x13f)]=this[_0x26c213(0x1ce)][_0x26c213(0x1a6)][_0x26c213(0x18c)](_0x1a5da1);const _0x5c9cbe=this[_0x26c213(0x12b)][_0x26c213(0x1fb)](_0x2b8d56),_0x23e2e9=X++,_0x1b9f9b=this[_0x26c213(0x1fa)](_0x2b8d56),_0x2fd7ab=await this[_0x26c213(0x11f)][_0x26c213(0x1b3)](_0x1b9f9b,_0x1b9f9b[_0x26c213(0x1a0)],_0x5c9cbe);try{return await this[_0x26c213(0x1a8)](_0x2b8d56,_0x2fd7ab,_0x23e2e9);}catch(_0x58a265){return this[_0x26c213(0x132)](_0x26c213(0x207),_0x58a265);}}async[_0x17c9b6(0x1a8)](_0x3bcb21,_0x52fe63,_0x4fbb25){const _0x29533d=_0x17c9b6;if(_0x29533d(0x1ad)in _0x52fe63)throw _0x52fe63[_0x29533d(0x1ad)];let _0x5681ff=!0x1;if(_0x52fe63[_0x29533d(0x15d)]){_0x52fe63[_0x29533d(0x166)]&&(this[_0x29533d(0x130)]=_0x52fe63[_0x29533d(0x166)]),this[_0x29533d(0x160)]=this[_0x29533d(0x160)][_0x29533d(0x1e5)](_0x5d80f8=>!_0x3bcb21[_0x29533d(0x113)](_0x5d80f8));for(const _0x4a8ff3 of _0x3bcb21)_0x4a8ff3[_0x29533d(0x196)]=_0x29533d(0x1b4)in _0x52fe63&&_0x52fe63[_0x29533d(0x1b4)]||void 0x0;Z(_0x3bcb21,_0x52fe63[_0x29533d(0x125)]-_0x3bcb21[_0x29533d(0x12a)]),this[_0x29533d(0x1a2)](_0x3bcb21);const _0x3ece48=_0x3bcb21[_0x29533d(0x1e5)](_0x54a555=>{const _0xcb74a0=_0x29533d;if(!_0x54a555[_0xcb74a0(0x126)])return!0x1;const _0x23bd56=this[_0xcb74a0(0x205)](_0x54a555);return _0x23bd56&&!this[_0xcb74a0(0x165)][_0xcb74a0(0x17c)](_0x23bd56);});Z(_0x3ece48,this[_0x29533d(0x1ce)][_0x29533d(0x125)]),this[_0x29533d(0x204)](_0x3ece48),_0x5681ff=!0x0,this[_0x29533d(0x1cb)]=this[_0x29533d(0x195)];}else{const _0x50b992=this[_0x29533d(0x208)](_0x52fe63[_0x29533d(0x167)],_0x52fe63[_0x29533d(0x144)])[_0x29533d(0x1e5)](_0xe79b46=>_0xe79b46[_0x29533d(0x1a0)]>=this[_0x29533d(0x1a3)]);_0x50b992[_0x29533d(0x18d)](_0x3bd758=>this[_0x29533d(0x1ca)](_0x3bd758)),this[_0x29533d(0x160)]=this[_0x29533d(0x160)][_0x29533d(0x1e5)](_0x512ea2=>!_0x512ea2[_0x29533d(0x126)]||!this[_0x29533d(0x165)][_0x29533d(0x17c)](this[_0x29533d(0x205)](_0x512ea2))),this[_0x29533d(0x160)][_0x29533d(0x12a)]&&Z(this[_0x29533d(0x160)],this[_0x29533d(0x160)][0x0][_0x29533d(0x1a0)]),await this[_0x29533d(0x133)](_0x50b992),_0x5681ff=this[_0x29533d(0x1f6)](_0x50b992,_0x52fe63[_0x29533d(0x125)],_0x52fe63[_0x29533d(0x166)]),this[_0x29533d(0x1cb)]=Math[_0x29533d(0x193)](this[_0x29533d(0x1cb)]/0x2);}return _0x5681ff?!this[_0x29533d(0x1d7)]()||(this[_0x29533d(0x17d)](!0x0),!0x1):this[_0x29533d(0x132)](_0x29533d(0x14a));}[_0x17c9b6(0x1f6)](_0x5e4367,_0x42c556,_0x29ad2f){const _0x13d60d=_0x17c9b6;try{const _0x495c51={'document':this[_0x13d60d(0x1ce)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x71aea3,operationsB:_0x4d60d3,originalOperations:_0x1a08f4}=_0x3d9921(_0x5e4367,this[_0x13d60d(0x160)],_0x495c51);Z(_0x71aea3,this[_0x13d60d(0x1ce)][_0x13d60d(0x125)]),Z(_0x4d60d3,_0x42c556);for(const _0x2daa21 of _0x71aea3){const _0x4b4ca0=_0x1a08f4[_0x13d60d(0x16d)](_0x2daa21);_0x2daa21[_0x13d60d(0x137)]=_0x4b4ca0?_0x4b4ca0[_0x13d60d(0x137)]:null;}_0x29ad2f&&(this[_0x13d60d(0x12b)][_0x13d60d(0x1e4)](_0x5e4367,_0x29ad2f),this[_0x13d60d(0x130)]=_0x29ad2f),this[_0x13d60d(0x160)]=[..._0x4d60d3],this[_0x13d60d(0x204)](_0x71aea3),this[_0x13d60d(0x1a2)](_0x5e4367);}catch(_0xda3d3b){return console[_0x13d60d(0x1ad)](_0xda3d3b),!0x1;}return!0x0;}[_0x17c9b6(0x204)](_0x1b0017,_0x4953fc=!0x1){const _0x4d67f3=_0x17c9b6;this[_0x4d67f3(0x13c)][_0x4d67f3(0x18a)][_0x4d67f3(0x10c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2ba6b6=>{const _0x1de6f0=_0x4d67f3;for(const _0x4696bd of _0x1b0017)this[_0x1de6f0(0x1c8)][_0x1de6f0(0x1ac)](_0x4696bd),this[_0x1de6f0(0x1ca)](_0x4696bd),_0x2ba6b6[_0x1de6f0(0x20a)][_0x1de6f0(0x112)](_0x4696bd),this[_0x1de6f0(0x13c)][_0x1de6f0(0x18a)][_0x1de6f0(0x18f)](_0x4696bd);});}[_0x17c9b6(0x1ca)](_0x11b900){const _0x444f6f=_0x17c9b6,_0x3f01a0=this[_0x444f6f(0x205)](_0x11b900);_0x3f01a0&&this[_0x444f6f(0x165)][_0x444f6f(0x1ac)](_0x3f01a0);}[_0x17c9b6(0x205)](_0x368c9a){const _0x405712=_0x17c9b6;let _0x4c0d02,_0x727824;switch(_0x368c9a[_0x405712(0x158)]){case _0x405712(0x118):_0x4c0d02=_0x368c9a[_0x405712(0x1cd)][_0x405712(0x108)];break;case _0x405712(0x16e):if(_0x727824=_0x368c9a[_0x405712(0x147)],!_0x727824)return null;_0x4c0d02=_0x727824[_0x405712(0x108)];break;case _0x405712(0x183):_0x4c0d02=_0x368c9a[_0x405712(0x108)];break;case _0x405712(0x11d):_0x4c0d02=_0x368c9a[_0x405712(0x152)];break;case _0x405712(0x1c6):_0x4c0d02=_0x368c9a[_0x405712(0x17b)][_0x405712(0x108)];break;default:return null;}return _0x4c0d02[_0x405712(0x192)];}[_0x17c9b6(0x1a2)](_0x163643){const _0x160270=_0x17c9b6;_0x163643[_0x160270(0x18d)](_0x486e03=>{const _0x2ffa48=_0x160270,_0xb19b8d=_0x486e03[_0x2ffa48(0x19a)]();_0xb19b8d[_0x2ffa48(0x137)]=_0x486e03[_0x2ffa48(0x137)],_0xb19b8d[_0x2ffa48(0x126)]=!!_0x486e03[_0x2ffa48(0x126)],_0xb19b8d[_0x2ffa48(0x196)]=_0x486e03[_0x2ffa48(0x196)],_0xb19b8d[_0x2ffa48(0x1a0)]+=this[_0x2ffa48(0x1ec)],_0x486e03[_0x2ffa48(0x1fe)]&&this[_0x2ffa48(0x122)][_0x2ffa48(0x1ac)](_0xb19b8d),this[_0x2ffa48(0x131)][_0x2ffa48(0x112)](_0xb19b8d);});}[_0x17c9b6(0x11a)](_0x5b698a){const _0x14e0a9=_0x17c9b6,_0x50ac0c=this[_0x14e0a9(0x13c)][_0x14e0a9(0x154)][_0x14e0a9(0x16d)](_0x14e0a9(0x1aa)),_0x29e091=this[_0x14e0a9(0x13c)][_0x14e0a9(0x14c)];_0x5b698a||(_0x5b698a=_0x203777(_0x29e091,_0x14e0a9(0x16a))),_0x50ac0c[_0x14e0a9(0x1b5)](_0x5b698a,{'title':_0x203777(_0x29e091,_0x14e0a9(0x1bc)),'namespace':_0x14e0a9(0x1a4)}),this[_0x14e0a9(0x14d)]=!0x0,clearTimeout(this[_0x14e0a9(0x172)]),this[_0x14e0a9(0x160)]=[],this[_0x14e0a9(0x13c)][_0x14e0a9(0x154)][_0x14e0a9(0x16d)](_0x409934)[_0x14e0a9(0x13a)]();}[_0x17c9b6(0x15f)](){const _0x189a16=_0x17c9b6;this[_0x189a16(0x171)]||(this[_0x189a16(0x171)]=this[_0x189a16(0x13c)][_0x189a16(0x154)][_0x189a16(0x16d)](_0x211d59)[_0x189a16(0x1ac)](_0x203777(this[_0x189a16(0x13c)][_0x189a16(0x14c)],_0x189a16(0x150))));}[_0x17c9b6(0x1fd)](){const _0x1cdfaf=_0x17c9b6;this[_0x1cdfaf(0x171)]&&(this[_0x1cdfaf(0x13c)][_0x1cdfaf(0x154)][_0x1cdfaf(0x16d)](_0x211d59)[_0x1cdfaf(0x169)](this[_0x1cdfaf(0x171)]),this[_0x1cdfaf(0x171)]=null);}[_0x17c9b6(0x1fa)](_0x47622d){const _0x5c16ef=_0x17c9b6,_0x2f5333=_0x47622d[_0x5c16ef(0x1b7)](_0x3356ea=>_0x3356ea[_0x5c16ef(0x15b)]());return this[_0x5c16ef(0x161)][_0x5c16ef(0x12d)](_0x2f5333);}[_0x17c9b6(0x208)](_0x2167a3,_0x4772ec){const _0x52e4aa=_0x17c9b6;return this[_0x52e4aa(0x161)][_0x52e4aa(0x1ef)](_0x2167a3)[_0x52e4aa(0x1b7)]((_0x3086fb,_0x292306)=>{const _0x44f2f7=_0x52e4aa,_0x48a49f=_0x44f2f7(0x1ed)==_0x4772ec[_0x292306][_0x44f2f7(0x158)];if(_0x44f2f7(0x115)==_0x3086fb[_0x44f2f7(0x189)]){const _0x4a520f=_0x3086fb[_0x44f2f7(0x1cd)][_0x44f2f7(0x108)];!this[_0x44f2f7(0x1ce)][_0x44f2f7(0x1b6)](_0x4a520f)&&(this[_0x44f2f7(0x1ce)][_0x44f2f7(0x1dd)](_0x44f2f7(0x16b),_0x4a520f)[_0x44f2f7(0x1e8)]=!0x1);}const _0x2de5c2=_0x370286[_0x44f2f7(0x185)](_0x3086fb,this[_0x44f2f7(0x1ce)]);return _0x2de5c2[_0x44f2f7(0x13f)]=_0x3086fb[_0x44f2f7(0x13f)],_0x2de5c2[_0x44f2f7(0x126)]=_0x48a49f,_0x2de5c2[_0x44f2f7(0x137)]=_0x48a49f?null:_0x4772ec[_0x292306][_0x44f2f7(0x140)],_0x2de5c2[_0x44f2f7(0x1fe)]=_0x44f2f7(0x156)===_0x4772ec[_0x292306][_0x44f2f7(0x158)],_0x2de5c2[_0x44f2f7(0x196)]=_0x4772ec[_0x292306][_0x44f2f7(0x196)],_0x2de5c2;});}[_0x17c9b6(0x1d3)](){const _0x1cad74=_0x17c9b6;this[_0x1cad74(0x123)]=!0x0,this[_0x1cad74(0x1e7)]()?this[_0x1cad74(0x17d)]():this[_0x1cad74(0x123)]=!0x1;}[_0x17c9b6(0x1e7)](){const _0x10de80=_0x17c9b6,_0x536537=this[_0x10de80(0x13c)][_0x10de80(0x154)][_0x10de80(0x16d)](_0x2d3dc6)[_0x10de80(0x116)][_0x10de80(0x16d)](this[_0x10de80(0x1e2)]);return!this[_0x10de80(0x13c)][_0x10de80(0x1a9)]&&!!_0x536537&&_0x536537[_0x10de80(0x12a)]>0x1&&this[_0x10de80(0x123)];}[_0x17c9b6(0x1d7)](){const _0x304be6=_0x17c9b6;return this[_0x304be6(0x160)][_0x304be6(0x12a)]>0x0||this[_0x304be6(0x1e7)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x5b8477,_0x5de843){const _0x540d97=_0x17c9b6;for(const _0x1f2088 of _0x5b8477)_0x1f2088[_0x540d97(0x1a0)]=_0x5de843++;}class tt{[_0x17c9b6(0x1f1)];[_0x17c9b6(0x1f4)];constructor(_0x5e1588){const _0x347c5e=_0x17c9b6;this[_0x347c5e(0x1f1)]=_0x5e1588,this[_0x347c5e(0x1f4)]=new WeakMap();}[_0x17c9b6(0x1fb)](_0x2ebe09){const _0x329a29=_0x17c9b6;let _0x30a333=_0x2ebe09[_0x329a29(0x12a)];for(;_0x30a333--;){const _0x4fb671=_0x2ebe09[_0x30a333];if(!this[_0x329a29(0x1f1)][_0x329a29(0x17c)](_0x4fb671)){if(!this[_0x329a29(0x1f4)][_0x329a29(0x17c)](_0x4fb671)){const _0x1d76b5=_0x536e6d()[_0x329a29(0x1c9)](0x1,0x12);this[_0x329a29(0x1f4)][_0x329a29(0x18b)](_0x4fb671,_0x1d76b5);}return this[_0x329a29(0x1f4)][_0x329a29(0x16d)](_0x4fb671);}}}[_0x17c9b6(0x1e4)](_0x344a3e,_0x42a486){const _0x12f679=_0x17c9b6;if(!_0x42a486)return;let _0x176251=_0x344a3e[_0x12f679(0x12a)];for(;_0x176251--;){const _0x14fa8d=_0x344a3e[_0x176251];this[_0x12f679(0x1f1)][_0x12f679(0x17c)](_0x14fa8d)||this[_0x12f679(0x1f4)][_0x12f679(0x18b)](_0x14fa8d,_0x42a486);}}}