@ckeditor/ckeditor5-real-time-collaboration 47.5.0-alpha.8 → 47.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "47.5.0-alpha.8",
3
+ "version": "47.5.0",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.3",
50
- "@ckeditor/ckeditor5-cloud-services": "47.5.0-alpha.8",
51
- "@ckeditor/ckeditor5-comments": "47.5.0-alpha.8",
52
- "@ckeditor/ckeditor5-core": "47.5.0-alpha.8",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.5.0-alpha.8",
54
- "@ckeditor/ckeditor5-engine": "47.5.0-alpha.8",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.5.0-alpha.8",
56
- "@ckeditor/ckeditor5-revision-history": "47.5.0-alpha.8",
57
- "@ckeditor/ckeditor5-theme-lark": "47.5.0-alpha.8",
58
- "@ckeditor/ckeditor5-track-changes": "47.5.0-alpha.8",
59
- "@ckeditor/ckeditor5-ui": "47.5.0-alpha.8",
60
- "@ckeditor/ckeditor5-utils": "47.5.0-alpha.8",
61
- "ckeditor5": "47.5.0-alpha.8",
62
- "ckeditor5-collaboration": "47.5.0-alpha.8",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.5.0",
51
+ "@ckeditor/ckeditor5-comments": "47.5.0",
52
+ "@ckeditor/ckeditor5-core": "47.5.0",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.5.0",
54
+ "@ckeditor/ckeditor5-engine": "47.5.0",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.5.0",
56
+ "@ckeditor/ckeditor5-revision-history": "47.5.0",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.5.0",
58
+ "@ckeditor/ckeditor5-track-changes": "47.5.0",
59
+ "@ckeditor/ckeditor5-ui": "47.5.0",
60
+ "@ckeditor/ckeditor5-utils": "47.5.0",
61
+ "ckeditor5": "47.5.0",
62
+ "ckeditor5-collaboration": "47.5.0",
63
63
  "es-toolkit": "1.39.5"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22a0c6=_0x2c5d;(function(_0x3e554f,_0x4db0f7){const _0x5a962a=_0x2c5d,_0x2bc654=_0x3e554f();while(!![]){try{const _0x5b359a=-parseInt(_0x5a962a(0xa9))/0x1+parseInt(_0x5a962a(0x102))/0x2*(parseInt(_0x5a962a(0xbd))/0x3)+parseInt(_0x5a962a(0xf2))/0x4+parseInt(_0x5a962a(0xce))/0x5+-parseInt(_0x5a962a(0xb5))/0x6*(-parseInt(_0x5a962a(0xb8))/0x7)+-parseInt(_0x5a962a(0xa7))/0x8+parseInt(_0x5a962a(0xde))/0x9*(-parseInt(_0x5a962a(0xf9))/0xa);if(_0x5b359a===_0x4db0f7)break;else _0x2bc654['push'](_0x2bc654['shift']());}catch(_0x28c17f){_0x2bc654['push'](_0x2bc654['shift']());}}}(_0x1507,0x93ec5));import{ContextPlugin as _0x1cbe57}from'ckeditor5/src/core.js';import{CKEditorError as _0x18856f,Collection as _0x456e46}from'ckeditor5/src/utils.js';function _0x2c5d(_0x17e531,_0x46229c){const _0x1507ef=_0x1507();return _0x2c5d=function(_0x2c5d22,_0x166346){_0x2c5d22=_0x2c5d22-0xa4;let _0x199707=_0x1507ef[_0x2c5d22];return _0x199707;},_0x2c5d(_0x17e531,_0x46229c);}import{clickOutsideHandler as _0x5321b0,BalloonPanelView as _0x450ada,BodyCollection as _0x229ea1}from'ckeditor5/src/ui.js';import{isElement as _0x31df0e}from'es-toolkit/compat';import{Sessions as _0x384cd1}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x247b29}from'./view/presencelistview.js';import{PresenceCounterView as _0x28913c}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x375285}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0x93debd}from'./view/presencedropdownlistitemview.js';import{PresenceInlineListItemView as _0x287ed0}from'./view/presenceinlinelistitemview.js';function _0x1507(){const _0x338854=['filter','execute','offsetWidth','min','locale','presencelist:show','bind','allConnectedUsers','activeElement','hideDropdown','items','plugins','querySelectorAll','3925856vJoTEn','set','28408oSPEzI','appendChild','detachFromDom','keystrokes','config','length','presenceList.collapseAt','define','presenceList.container','pin','view','content','88824JXKkVm','onClick','ck\x20ck-presence-list__balloon','266RUIqRz','render','unpin','reverse','join','20355hPpvZG','requires','PresenceListUI','bindTo','add','isExpanded','focus','_allConnectedUsers','isCollapsed','find','Tab','presenceList','presencelist-collapseat-invalid-format','context','textarea','offsetHeight','presencelist:hide','3238585gSSVvy','balloonPanelView','init','isMe','isPremiumPlugin','Shift+Tab','presenceList.displayMe','element','_bodyCollection','class','presenceDropdownView','sort','map','change:isFocused','isOfficialPlugin','indexOf','5658426LWzpso','isVisible','focusTracker','hasTooltip','counterView','[contenteditable]','usersCount','presencelist-missing-container','isFocusable','input','pluginName','isRendered','get','attachToDom','_createView','displayMe','currentDisplayedUsers','tabIndex','remove','Esc','1603972ldDXQG','select','from','_handleUserAdd','[tabindex]','using','button','10WtKrMs','number','showDropdown','checkIfScrollable','listenTo','inlineListView','Enter','destroy',':not([disabled]):not([tabindex=\x22-1\x22])','42hcESAg','body','_handleUserRemove'];_0x1507=function(){return _0x338854;};return _0x1507();}const x={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x1cbe57{[_0x22a0c6(0xee)];[_0x22a0c6(0xcf)];[_0x22a0c6(0xb3)];[_0x22a0c6(0xd8)];[_0x22a0c6(0xd6)]=null;static get[_0x22a0c6(0xe8)](){const _0x238894=_0x22a0c6;return _0x238894(0xbf);}static get[_0x22a0c6(0xdc)](){return!0x0;}static get[_0x22a0c6(0xd2)](){return!0x0;}constructor(_0x5745cb){const _0x345048=_0x22a0c6;super(_0x5745cb),this[_0x345048(0xca)][_0x345048(0xad)][_0x345048(0xb0)](_0x345048(0xc8),x);const _0x547bce=_0x5745cb[_0x345048(0xad)][_0x345048(0xea)](_0x345048(0xaf));if(_0x345048(0xfa)!=typeof _0x547bce)throw new _0x18856f(_0x345048(0xc9),this);if(_0x547bce<0x1)throw new _0x18856f(_0x345048(0xc9),this);this[_0x345048(0xc4)]=this[_0x345048(0xca)][_0x345048(0xa5)][_0x345048(0xea)](_0x384cd1)[_0x345048(0x10c)],this[_0x345048(0xa8)](_0x345048(0xe4),0x0),this[_0x345048(0xee)]=new _0x456e46(),this[_0x345048(0xcf)]=new _0x450ada(),this[_0x345048(0xcf)][_0x345048(0xd7)]=_0x345048(0xb7),this[_0x345048(0xb3)]=this[_0x345048(0xec)](),this[_0x345048(0xd8)]=void 0x0;}static get[_0x22a0c6(0xbe)](){return[_0x384cd1];}[_0x22a0c6(0xd0)](){const _0xb246aa=_0x22a0c6;for(const _0x2b45a2 of this[_0xb246aa(0xc4)])this[_0xb246aa(0xf5)](_0x2b45a2);this[_0xb246aa(0xfd)](this[_0xb246aa(0xc4)],_0xb246aa(0xc1),(_0x2eb89f,_0x260b52)=>{const _0x509b17=_0xb246aa;this[_0x509b17(0xf5)](_0x260b52);}),this[_0xb246aa(0xfd)](this[_0xb246aa(0xc4)],_0xb246aa(0xf0),(_0x123cbf,_0x5b3b02)=>{const _0x21512a=_0xb246aa;this[_0x21512a(0x104)](_0x5b3b02);});}[_0x22a0c6(0xec)](){const _0x2e2443=_0x22a0c6,_0x3849d1=this[_0x2e2443(0xca)],_0x277ba6=new _0x247b29(this[_0x2e2443(0xca)][_0x2e2443(0x109)],this[_0x2e2443(0xca)][_0x2e2443(0xad)][_0x2e2443(0xea)](_0x2e2443(0xaf))),_0xd9289d=this[_0x2e2443(0xcf)];if(!_0x31df0e(_0x3849d1[_0x2e2443(0xad)][_0x2e2443(0xea)](_0x2e2443(0xb1))))throw new _0x18856f(_0x2e2443(0xe5),this);return _0x277ba6[_0x2e2443(0xe2)][_0x2e2443(0x10b)](_0x2e2443(0xe4))['to'](this),_0x277ba6[_0x2e2443(0x10b)](_0x2e2443(0xc5))['to'](this,_0x2e2443(0xe4),_0x3d2b25=>{const _0x25a774=_0x2e2443,{collapseAt:_0x22cf99}=_0x3849d1[_0x25a774(0xad)][_0x25a774(0xea)](_0x25a774(0xc8)),_0x40aa80=_0x3d2b25>=_0x22cf99;if(_0x40aa80&&!_0x277ba6[_0x25a774(0xfe)][_0x25a774(0xa4)][_0x25a774(0xc6)](_0x41e7f7=>_0x41e7f7 instanceof _0x28913c)){const _0x468f69=this[_0x25a774(0xca)][_0x25a774(0xad)][_0x25a774(0xea)](_0x25a774(0xaf))-0x1;this[_0x25a774(0xee)][_0x25a774(0xae)]==_0x468f69&&this[_0x25a774(0xee)][_0x25a774(0xae)]>0x1&&this[_0x25a774(0xee)][_0x25a774(0xf0)](this[_0x25a774(0xee)][_0x25a774(0xae)]-0x1),_0x277ba6[_0x25a774(0xfe)][_0x25a774(0xa4)][_0x25a774(0xc1)](_0x277ba6[_0x25a774(0xe2)]);}return _0x40aa80||this[_0x25a774(0x10e)](),_0x40aa80;}),_0x277ba6[_0x2e2443(0xfe)][_0x2e2443(0xa4)][_0x2e2443(0xc0)](this[_0x2e2443(0xee)])[_0x2e2443(0xf7)](_0x8734d9=>{const _0x3e4128=_0x2e2443,_0x2f1ab9=_0x3849d1[_0x3e4128(0xad)][_0x3e4128(0xea)](_0x3e4128(0xc8)),_0x2ade1f=new _0x287ed0(_0x3849d1[_0x3e4128(0x109)],_0x8734d9,!!_0x2f1ab9[_0x3e4128(0xb6)]);return _0x2ade1f[_0x3e4128(0x10b)](_0x3e4128(0xe1))['to'](_0x277ba6,_0x3e4128(0xc5),_0x28ad6c=>!_0x28ad6c),_0x2ade1f[_0x3e4128(0x10b)](_0x3e4128(0xe6))['to'](_0x277ba6,_0x3e4128(0xc5),_0x25ab26=>!_0x25ab26),_0x2f1ab9[_0x3e4128(0xb6)]&&this[_0x3e4128(0xfd)](_0x2ade1f,_0x3e4128(0x106),()=>{const _0x29ef4e=_0x3e4128;this[_0x29ef4e(0xb3)][_0x29ef4e(0xc5)]||_0x2f1ab9[_0x29ef4e(0xb6)](_0x8734d9,_0x2ade1f[_0x29ef4e(0xd5)]);}),_0x2ade1f;}),this[_0x2e2443(0xfd)](_0x277ba6[_0x2e2443(0xfe)],_0x2e2443(0x10a),()=>{const _0x3847b6=_0x2e2443;this[_0x3847b6(0xb3)][_0x3847b6(0xc5)]&&this[_0x3847b6(0xfb)]();}),this[_0x2e2443(0xfd)](_0x277ba6[_0x2e2443(0xfe)],_0x2e2443(0xcd),()=>{const _0x48392f=_0x2e2443;this[_0x48392f(0xd8)]&&this[_0x48392f(0x10e)]();}),_0x277ba6[_0x2e2443(0xfe)][_0x2e2443(0xac)][_0x2e2443(0xa8)](_0x2e2443(0xff),(_0x166a9d,_0x3c010e)=>{const _0x142959=_0x2e2443;this[_0x142959(0xb3)][_0x142959(0xc5)]&&(this[_0x142959(0xfb)](),_0x3c010e());}),_0x277ba6[_0x2e2443(0xb9)](),_0xd9289d[_0x2e2443(0xb9)](),_0x5321b0({'emitter':_0x277ba6,'activator':()=>_0xd9289d[_0x2e2443(0xdf)],'contextElements':[_0xd9289d[_0x2e2443(0xd5)],_0x277ba6[_0x2e2443(0xfe)][_0x2e2443(0xd5)]],'callback':()=>this[_0x2e2443(0x10e)]()}),_0x3849d1[_0x2e2443(0xad)][_0x2e2443(0xea)](_0x2e2443(0xb1))[_0x2e2443(0xaa)](_0x277ba6[_0x2e2443(0xd5)]),this[_0x2e2443(0xd6)]=new _0x229ea1(this[_0x2e2443(0xca)][_0x2e2443(0x109)]),this[_0x2e2443(0xd6)][_0x2e2443(0xeb)](),this[_0x2e2443(0xd6)][_0x2e2443(0xc1)](this[_0x2e2443(0xcf)]),_0x277ba6;}[_0x22a0c6(0xf5)](_0x1b3f33){const _0xf5a78e=_0x22a0c6;if(!this[_0xf5a78e(0xca)][_0xf5a78e(0xad)][_0xf5a78e(0xea)](_0xf5a78e(0xd4))&&_0x1b3f33[_0xf5a78e(0xd1)])return;const _0xccd292=this[_0xf5a78e(0xca)][_0xf5a78e(0xad)][_0xf5a78e(0xea)](_0xf5a78e(0xaf))-0x1;for(this[_0xf5a78e(0xe4)]++;this[_0xf5a78e(0xee)][_0xf5a78e(0xae)]>=_0xccd292-(this[_0xf5a78e(0xb3)][_0xf5a78e(0xc5)]?0x1:0x0)&&this[_0xf5a78e(0xee)][_0xf5a78e(0xae)]>0x1;)this[_0xf5a78e(0xee)][_0xf5a78e(0xf0)](0x1);const _0x33026a=_0x1b3f33[_0xf5a78e(0xd1)]?0x0:this[_0xf5a78e(0xee)][_0xf5a78e(0xae)];this[_0xf5a78e(0xee)][_0xf5a78e(0xc1)](_0x1b3f33,_0x33026a);}[_0x22a0c6(0x104)](_0x124571){const _0x3d80cb=_0x22a0c6;this[_0x3d80cb(0xe4)]--;const {collapseAt:_0x3dc070}=this[_0x3d80cb(0xca)][_0x3d80cb(0xad)][_0x3d80cb(0xea)](_0x3d80cb(0xc8)),_0x350c1b=this[_0x3d80cb(0xe4)]>=_0x3dc070;if(this[_0x3d80cb(0xee)][_0x3d80cb(0xea)](_0x124571['id']))this[_0x3d80cb(0xee)][_0x3d80cb(0xf0)](_0x124571['id']);else{if(_0x350c1b&&this[_0x3d80cb(0xee)][_0x3d80cb(0xae)]+0x1===_0x3dc070-0x1)return;}if(this[_0x3d80cb(0xee)][_0x3d80cb(0xae)]+(_0x350c1b?0x1:0x0)<this[_0x3d80cb(0xe4)]){for(const _0x3135ea of Array[_0x3d80cb(0xf4)](this[_0x3d80cb(0xc4)])[_0x3d80cb(0xbb)]())if(!this[_0x3d80cb(0xee)][_0x3d80cb(0xea)](_0x3135ea['id'])&&(this[_0x3d80cb(0xee)][_0x3d80cb(0xc1)](_0x3135ea,Math[_0x3d80cb(0x108)](this[_0x3d80cb(0xee)][_0x3d80cb(0xae)]-(_0x350c1b?0x1:0x0),0x1)),this[_0x3d80cb(0xee)][_0x3d80cb(0xae)]+(_0x350c1b?0x1:0x0)===_0x3dc070-0x1))return;}}[_0x22a0c6(0xfb)](){const _0x11d5d7=_0x22a0c6;if(this[_0x11d5d7(0xd8)])return;const _0x6f1cb=this[_0x11d5d7(0xca)][_0x11d5d7(0xad)][_0x11d5d7(0xea)](_0x11d5d7(0xc8));this[_0x11d5d7(0xd8)]=new _0x375285(this[_0x11d5d7(0xca)][_0x11d5d7(0x109)],!!_0x6f1cb[_0x11d5d7(0xb6)]),this[_0x11d5d7(0xb3)][_0x11d5d7(0xfe)][_0x11d5d7(0xc2)]=!0x0,this[_0x11d5d7(0xfd)](this[_0x11d5d7(0xd8)],_0x11d5d7(0xcd),()=>{const _0x23ea58=_0x11d5d7;this[_0x23ea58(0xd8)]&&this[_0x23ea58(0x10e)]();});const {listWrapperView:_0x19dee9}=this[_0x11d5d7(0xd8)];_0x19dee9[_0x11d5d7(0xa4)][_0x11d5d7(0xc0)](this[_0x11d5d7(0xc4)])[_0x11d5d7(0xf7)](_0x216f20=>{const _0x512c6f=_0x11d5d7;if(!_0x6f1cb[_0x512c6f(0xed)]&&_0x216f20[_0x512c6f(0xd1)])return null;const _0x1fa311=new _0x93debd(this[_0x512c6f(0xca)][_0x512c6f(0x109)],_0x216f20,!!_0x6f1cb[_0x512c6f(0xb6)]);return _0x6f1cb[_0x512c6f(0xb6)]&&this[_0x512c6f(0xfd)](_0x1fa311,_0x512c6f(0x106),()=>{const _0x2fe3fb=_0x512c6f;_0x6f1cb[_0x2fe3fb(0xb6)](_0x216f20,_0x1fa311[_0x2fe3fb(0xd5)]);}),_0x1fa311;}),this[_0x11d5d7(0xcf)][_0x11d5d7(0xb4)][_0x11d5d7(0xc1)](this[_0x11d5d7(0xd8)]),this[_0x11d5d7(0xcf)][_0x11d5d7(0xb2)]({'target':this[_0x11d5d7(0xb3)][_0x11d5d7(0xfe)][_0x11d5d7(0xd5)]}),_0x19dee9[_0x11d5d7(0xc3)](),_0x19dee9[_0x11d5d7(0xfc)]();const _0x6c384a=(_0x368b6b,_0x3103ff)=>{const _0x4278fc=_0x11d5d7;this[_0x4278fc(0x10e)](),this[_0x4278fc(0xb3)][_0x4278fc(0xfe)][_0x4278fc(0xc3)](),_0x3103ff();};_0x19dee9[_0x11d5d7(0xac)][_0x11d5d7(0xa8)](_0x11d5d7(0xf1),_0x6c384a),_0x19dee9[_0x11d5d7(0xac)][_0x11d5d7(0xa8)](_0x11d5d7(0xd3),_0x6c384a),_0x19dee9[_0x11d5d7(0xac)][_0x11d5d7(0xa8)](_0x11d5d7(0xc7),(_0x3cc393,_0x487a5b)=>{const _0x3d5c6c=_0x11d5d7;!function(_0x5a91b0){const _0x37a622=_0x2c5d,_0x37ed95=['a',_0x37a622(0xf8),_0x37a622(0xe7),_0x37a622(0xf3),_0x37a622(0xcb),_0x37a622(0xf6),_0x37a622(0xe3)][_0x37a622(0xda)](_0x276026=>_0x276026+_0x37a622(0x101))[_0x37a622(0xbc)](','),_0x1d8620=[...document[_0x37a622(0x103)][_0x37a622(0xa6)](_0x37ed95)][_0x37a622(0x105)](_0x1b4b48=>_0x1b4b48===document[_0x37a622(0x10d)]||_0x1b4b48[_0x37a622(0x107)]+_0x1b4b48[_0x37a622(0xcc)]>0x0)[_0x37a622(0xd9)]((_0x31f467,_0x200f2b)=>(_0x31f467[_0x37a622(0xef)]||0x0)-(_0x200f2b[_0x37a622(0xef)]||0x0)),_0x54b994=_0x1d8620[_0x37a622(0xdd)](_0x5a91b0),_0x4aa82a=_0x1d8620[(_0x54b994+0x1)%_0x1d8620[_0x37a622(0xae)]];_0x4aa82a&&_0x4aa82a[_0x37a622(0xc3)]();}(this[_0x3d5c6c(0xb3)][_0x3d5c6c(0xd5)]),this[_0x3d5c6c(0x10e)](),_0x487a5b();}),_0x19dee9[_0x11d5d7(0xe0)][_0x11d5d7(0xc1)](this[_0x11d5d7(0xb3)][_0x11d5d7(0xd5)]),_0x19dee9[_0x11d5d7(0xe0)]['on'](_0x11d5d7(0xdb),(_0x57b5a,_0x4338c6,_0x59a98b)=>{const _0x169a7f=_0x11d5d7;_0x59a98b||this[_0x169a7f(0x10e)]();});}[_0x22a0c6(0x10e)](){const _0x2f519d=_0x22a0c6;this[_0x2f519d(0xd8)]&&(this[_0x2f519d(0xb3)][_0x2f519d(0xfe)][_0x2f519d(0xc2)]=!0x1,this[_0x2f519d(0xcf)][_0x2f519d(0xba)](),this[_0x2f519d(0xcf)][_0x2f519d(0xb4)][_0x2f519d(0xf0)](this[_0x2f519d(0xd8)]),this[_0x2f519d(0xd8)][_0x2f519d(0x100)](),this[_0x2f519d(0xd8)]=void 0x0);}[_0x22a0c6(0x100)](){const _0x94ff47=_0x22a0c6;super[_0x94ff47(0x100)](),this[_0x94ff47(0xb3)]&&this[_0x94ff47(0xb3)][_0x94ff47(0xe9)]&&this[_0x94ff47(0xb3)][_0x94ff47(0x100)](),this[_0x94ff47(0xd6)]&&(this[_0x94ff47(0xd6)][_0x94ff47(0xab)](),this[_0x94ff47(0xd6)][_0x94ff47(0x100)](),this[_0x94ff47(0xd6)]=null);}}
23
+ const _0x5bbdf7=_0x87fd;(function(_0x259845,_0x24ff8c){const _0x43f7bc=_0x87fd,_0x1f7ed1=_0x259845();while(!![]){try{const _0x50db4b=parseInt(_0x43f7bc(0x13a))/0x1*(-parseInt(_0x43f7bc(0x11b))/0x2)+-parseInt(_0x43f7bc(0x137))/0x3+-parseInt(_0x43f7bc(0x129))/0x4*(-parseInt(_0x43f7bc(0x116))/0x5)+parseInt(_0x43f7bc(0x135))/0x6*(-parseInt(_0x43f7bc(0xf9))/0x7)+parseInt(_0x43f7bc(0x112))/0x8*(parseInt(_0x43f7bc(0xec))/0x9)+-parseInt(_0x43f7bc(0xe2))/0xa+-parseInt(_0x43f7bc(0x10f))/0xb*(-parseInt(_0x43f7bc(0xf3))/0xc);if(_0x50db4b===_0x24ff8c)break;else _0x1f7ed1['push'](_0x1f7ed1['shift']());}catch(_0x1f9ca8){_0x1f7ed1['push'](_0x1f7ed1['shift']());}}}(_0x3b40,0x71592));import{ContextPlugin as _0x520c43}from'ckeditor5/src/core.js';function _0x87fd(_0x2cb4bb,_0x2b8abf){const _0x3b401f=_0x3b40();return _0x87fd=function(_0x87fd54,_0x189d6e){_0x87fd54=_0x87fd54-0xd6;let _0x57821a=_0x3b401f[_0x87fd54];return _0x57821a;},_0x87fd(_0x2cb4bb,_0x2b8abf);}import{CKEditorError as _0x34b447,Collection as _0xa691eb}from'ckeditor5/src/utils.js';import{clickOutsideHandler as _0x4f0971,BalloonPanelView as _0x492b67,BodyCollection as _0xd19cf1}from'ckeditor5/src/ui.js';import{isElement as _0x1b1956}from'es-toolkit/compat';import{Sessions as _0x474ad8}from'../realtimecollaborativeediting/sessions.js';import{PresenceListView as _0x19f8d6}from'./view/presencelistview.js';import{PresenceCounterView as _0x4ff715}from'./view/presencecounterview.js';import{PresenceDropdownListView as _0x1730cd}from'./view/presencedropdownlistview.js';import{PresenceDropdownListItemView as _0xe2b510}from'./view/presencedropdownlistitemview.js';function _0x3b40(){const _0x1f6bf0=['1519164UcwxuB','bind','isRendered','281DpEhjw','input',':not([disabled]):not([tabindex=\x22-1\x22])','onClick','bindTo','showDropdown','presencelist:show','add','class','counterView','checkIfScrollable','from','presenceDropdownView','join','appendChild','using','hasTooltip','allConnectedUsers','offsetWidth','destroy','presenceList','8381330DeltEc','Esc','focusTracker','isFocusable','currentDisplayedUsers','displayMe','number','Shift+Tab','isOfficialPlugin','activeElement','305037NUCzuW','detachFromDom','inlineListView','button','change:isFocused','content','filter','1416FZkLRd','reverse','presencelist-missing-container','presenceList.displayMe','length','plugins','875sdoJDs','isCollapsed','pin','set','isVisible','_handleUserRemove','config','presenceList.collapseAt','balloonPanelView','locale','pluginName','remove','unpin','listenTo','context','tabIndex','attachToDom','focus','isMe','Enter','body','PresenceListUI','246488NmYPSG','Tab','render','136HBOlcb','ck\x20ck-presence-list__balloon','_allConnectedUsers','_bodyCollection','90GeIBTI','items','find','indexOf','requires','5854KUcFuw','hideDropdown','isExpanded','get','min','define','usersCount','[tabindex]','execute','sort','presencelist:hide','[contenteditable]','keystrokes','view','34796LUanEj','_handleUserAdd','presencelist-collapseat-invalid-format','offsetHeight','textarea','querySelectorAll','element','isPremiumPlugin','init','select','_createView','map','35790VFRWWf','presenceList.container'];_0x3b40=function(){return _0x1f6bf0;};return _0x3b40();}import{PresenceInlineListItemView as _0x94a3aa}from'./view/presenceinlinelistitemview.js';const U={'collapseAt':0x6,'displayMe':!0x0};export class PresenceListUI extends _0x520c43{[_0x5bbdf7(0xe6)];[_0x5bbdf7(0x101)];[_0x5bbdf7(0x128)];[_0x5bbdf7(0xd9)];[_0x5bbdf7(0x115)]=null;static get[_0x5bbdf7(0x103)](){const _0x595f90=_0x5bbdf7;return _0x595f90(0x10e);}static get[_0x5bbdf7(0xea)](){return!0x0;}static get[_0x5bbdf7(0x130)](){return!0x0;}constructor(_0x14bc4b){const _0x3860f3=_0x5bbdf7;super(_0x14bc4b),this[_0x3860f3(0x107)][_0x3860f3(0xff)][_0x3860f3(0x120)](_0x3860f3(0xe1),U);const _0x2a14ce=_0x14bc4b[_0x3860f3(0xff)][_0x3860f3(0x11e)](_0x3860f3(0x100));if(_0x3860f3(0xe8)!=typeof _0x2a14ce)throw new _0x34b447(_0x3860f3(0x12b),this);if(_0x2a14ce<0x1)throw new _0x34b447(_0x3860f3(0x12b),this);this[_0x3860f3(0x114)]=this[_0x3860f3(0x107)][_0x3860f3(0xf8)][_0x3860f3(0x11e)](_0x474ad8)[_0x3860f3(0xde)],this[_0x3860f3(0xfc)](_0x3860f3(0x121),0x0),this[_0x3860f3(0xe6)]=new _0xa691eb(),this[_0x3860f3(0x101)]=new _0x492b67(),this[_0x3860f3(0x101)][_0x3860f3(0x142)]=_0x3860f3(0x113),this[_0x3860f3(0x128)]=this[_0x3860f3(0x133)](),this[_0x3860f3(0xd9)]=void 0x0;}static get[_0x5bbdf7(0x11a)](){return[_0x474ad8];}[_0x5bbdf7(0x131)](){const _0x5b06b7=_0x5bbdf7;for(const _0x499836 of this[_0x5b06b7(0x114)])this[_0x5b06b7(0x12a)](_0x499836);this[_0x5b06b7(0x106)](this[_0x5b06b7(0x114)],_0x5b06b7(0x141),(_0x171da7,_0x3c3a1f)=>{const _0x2eda82=_0x5b06b7;this[_0x2eda82(0x12a)](_0x3c3a1f);}),this[_0x5b06b7(0x106)](this[_0x5b06b7(0x114)],_0x5b06b7(0x104),(_0x2b554b,_0x1d89b4)=>{const _0x3d869f=_0x5b06b7;this[_0x3d869f(0xfe)](_0x1d89b4);});}[_0x5bbdf7(0x133)](){const _0x2a5b19=_0x5bbdf7,_0x5a6df7=this[_0x2a5b19(0x107)],_0x35e3bb=new _0x19f8d6(this[_0x2a5b19(0x107)][_0x2a5b19(0x102)],this[_0x2a5b19(0x107)][_0x2a5b19(0xff)][_0x2a5b19(0x11e)](_0x2a5b19(0x100))),_0x5e7379=this[_0x2a5b19(0x101)];if(!_0x1b1956(_0x5a6df7[_0x2a5b19(0xff)][_0x2a5b19(0x11e)](_0x2a5b19(0x136))))throw new _0x34b447(_0x2a5b19(0xf5),this);return _0x35e3bb[_0x2a5b19(0xd6)][_0x2a5b19(0x138)](_0x2a5b19(0x121))['to'](this),_0x35e3bb[_0x2a5b19(0x138)](_0x2a5b19(0xfa))['to'](this,_0x2a5b19(0x121),_0x256aae=>{const _0x46a464=_0x2a5b19,{collapseAt:_0x37b5dd}=_0x5a6df7[_0x46a464(0xff)][_0x46a464(0x11e)](_0x46a464(0xe1)),_0x1a90af=_0x256aae>=_0x37b5dd;if(_0x1a90af&&!_0x35e3bb[_0x46a464(0xee)][_0x46a464(0x117)][_0x46a464(0x118)](_0x2ecff4=>_0x2ecff4 instanceof _0x4ff715)){const _0x487d16=this[_0x46a464(0x107)][_0x46a464(0xff)][_0x46a464(0x11e)](_0x46a464(0x100))-0x1;this[_0x46a464(0xe6)][_0x46a464(0xf7)]==_0x487d16&&this[_0x46a464(0xe6)][_0x46a464(0xf7)]>0x1&&this[_0x46a464(0xe6)][_0x46a464(0x104)](this[_0x46a464(0xe6)][_0x46a464(0xf7)]-0x1),_0x35e3bb[_0x46a464(0xee)][_0x46a464(0x117)][_0x46a464(0x141)](_0x35e3bb[_0x46a464(0xd6)]);}return _0x1a90af||this[_0x46a464(0x11c)](),_0x1a90af;}),_0x35e3bb[_0x2a5b19(0xee)][_0x2a5b19(0x117)][_0x2a5b19(0x13e)](this[_0x2a5b19(0xe6)])[_0x2a5b19(0xdc)](_0x5780c2=>{const _0x4098a3=_0x2a5b19,_0x69cddc=_0x5a6df7[_0x4098a3(0xff)][_0x4098a3(0x11e)](_0x4098a3(0xe1)),_0x296eef=new _0x94a3aa(_0x5a6df7[_0x4098a3(0x102)],_0x5780c2,!!_0x69cddc[_0x4098a3(0x13d)]);return _0x296eef[_0x4098a3(0x138)](_0x4098a3(0xdd))['to'](_0x35e3bb,_0x4098a3(0xfa),_0xc57a7a=>!_0xc57a7a),_0x296eef[_0x4098a3(0x138)](_0x4098a3(0xe5))['to'](_0x35e3bb,_0x4098a3(0xfa),_0x4bebbc=>!_0x4bebbc),_0x69cddc[_0x4098a3(0x13d)]&&this[_0x4098a3(0x106)](_0x296eef,_0x4098a3(0x123),()=>{const _0x3e0c38=_0x4098a3;this[_0x3e0c38(0x128)][_0x3e0c38(0xfa)]||_0x69cddc[_0x3e0c38(0x13d)](_0x5780c2,_0x296eef[_0x3e0c38(0x12f)]);}),_0x296eef;}),this[_0x2a5b19(0x106)](_0x35e3bb[_0x2a5b19(0xee)],_0x2a5b19(0x140),()=>{const _0x266861=_0x2a5b19;this[_0x266861(0x128)][_0x266861(0xfa)]&&this[_0x266861(0x13f)]();}),this[_0x2a5b19(0x106)](_0x35e3bb[_0x2a5b19(0xee)],_0x2a5b19(0x125),()=>{const _0x40e83d=_0x2a5b19;this[_0x40e83d(0xd9)]&&this[_0x40e83d(0x11c)]();}),_0x35e3bb[_0x2a5b19(0xee)][_0x2a5b19(0x127)][_0x2a5b19(0xfc)](_0x2a5b19(0x10c),(_0x4ada3d,_0x1de070)=>{const _0x10998d=_0x2a5b19;this[_0x10998d(0x128)][_0x10998d(0xfa)]&&(this[_0x10998d(0x13f)](),_0x1de070());}),_0x35e3bb[_0x2a5b19(0x111)](),_0x5e7379[_0x2a5b19(0x111)](),_0x4f0971({'emitter':_0x35e3bb,'activator':()=>_0x5e7379[_0x2a5b19(0xfd)],'contextElements':[_0x5e7379[_0x2a5b19(0x12f)],_0x35e3bb[_0x2a5b19(0xee)][_0x2a5b19(0x12f)]],'callback':()=>this[_0x2a5b19(0x11c)]()}),_0x5a6df7[_0x2a5b19(0xff)][_0x2a5b19(0x11e)](_0x2a5b19(0x136))[_0x2a5b19(0xdb)](_0x35e3bb[_0x2a5b19(0x12f)]),this[_0x2a5b19(0x115)]=new _0xd19cf1(this[_0x2a5b19(0x107)][_0x2a5b19(0x102)]),this[_0x2a5b19(0x115)][_0x2a5b19(0x109)](),this[_0x2a5b19(0x115)][_0x2a5b19(0x141)](this[_0x2a5b19(0x101)]),_0x35e3bb;}[_0x5bbdf7(0x12a)](_0x4a80e3){const _0x12f922=_0x5bbdf7;if(!this[_0x12f922(0x107)][_0x12f922(0xff)][_0x12f922(0x11e)](_0x12f922(0xf6))&&_0x4a80e3[_0x12f922(0x10b)])return;const _0x22f539=this[_0x12f922(0x107)][_0x12f922(0xff)][_0x12f922(0x11e)](_0x12f922(0x100))-0x1;for(this[_0x12f922(0x121)]++;this[_0x12f922(0xe6)][_0x12f922(0xf7)]>=_0x22f539-(this[_0x12f922(0x128)][_0x12f922(0xfa)]?0x1:0x0)&&this[_0x12f922(0xe6)][_0x12f922(0xf7)]>0x1;)this[_0x12f922(0xe6)][_0x12f922(0x104)](0x1);const _0x4033ed=_0x4a80e3[_0x12f922(0x10b)]?0x0:this[_0x12f922(0xe6)][_0x12f922(0xf7)];this[_0x12f922(0xe6)][_0x12f922(0x141)](_0x4a80e3,_0x4033ed);}[_0x5bbdf7(0xfe)](_0x547b14){const _0x3dc70d=_0x5bbdf7;this[_0x3dc70d(0x121)]--;const {collapseAt:_0xc0e102}=this[_0x3dc70d(0x107)][_0x3dc70d(0xff)][_0x3dc70d(0x11e)](_0x3dc70d(0xe1)),_0x31fd40=this[_0x3dc70d(0x121)]>=_0xc0e102;if(this[_0x3dc70d(0xe6)][_0x3dc70d(0x11e)](_0x547b14['id']))this[_0x3dc70d(0xe6)][_0x3dc70d(0x104)](_0x547b14['id']);else{if(_0x31fd40&&this[_0x3dc70d(0xe6)][_0x3dc70d(0xf7)]+0x1===_0xc0e102-0x1)return;}if(this[_0x3dc70d(0xe6)][_0x3dc70d(0xf7)]+(_0x31fd40?0x1:0x0)<this[_0x3dc70d(0x121)]){for(const _0x828534 of Array[_0x3dc70d(0xd8)](this[_0x3dc70d(0x114)])[_0x3dc70d(0xf4)]())if(!this[_0x3dc70d(0xe6)][_0x3dc70d(0x11e)](_0x828534['id'])&&(this[_0x3dc70d(0xe6)][_0x3dc70d(0x141)](_0x828534,Math[_0x3dc70d(0x11f)](this[_0x3dc70d(0xe6)][_0x3dc70d(0xf7)]-(_0x31fd40?0x1:0x0),0x1)),this[_0x3dc70d(0xe6)][_0x3dc70d(0xf7)]+(_0x31fd40?0x1:0x0)===_0xc0e102-0x1))return;}}[_0x5bbdf7(0x13f)](){const _0x4f71bb=_0x5bbdf7;if(this[_0x4f71bb(0xd9)])return;const _0x2ce5cb=this[_0x4f71bb(0x107)][_0x4f71bb(0xff)][_0x4f71bb(0x11e)](_0x4f71bb(0xe1));this[_0x4f71bb(0xd9)]=new _0x1730cd(this[_0x4f71bb(0x107)][_0x4f71bb(0x102)],!!_0x2ce5cb[_0x4f71bb(0x13d)]),this[_0x4f71bb(0x128)][_0x4f71bb(0xee)][_0x4f71bb(0x11d)]=!0x0,this[_0x4f71bb(0x106)](this[_0x4f71bb(0xd9)],_0x4f71bb(0x125),()=>{const _0x4b4b8a=_0x4f71bb;this[_0x4b4b8a(0xd9)]&&this[_0x4b4b8a(0x11c)]();});const {listWrapperView:_0x78e026}=this[_0x4f71bb(0xd9)];_0x78e026[_0x4f71bb(0x117)][_0x4f71bb(0x13e)](this[_0x4f71bb(0x114)])[_0x4f71bb(0xdc)](_0x4f4020=>{const _0x528671=_0x4f71bb;if(!_0x2ce5cb[_0x528671(0xe7)]&&_0x4f4020[_0x528671(0x10b)])return null;const _0x5d0bee=new _0xe2b510(this[_0x528671(0x107)][_0x528671(0x102)],_0x4f4020,!!_0x2ce5cb[_0x528671(0x13d)]);return _0x2ce5cb[_0x528671(0x13d)]&&this[_0x528671(0x106)](_0x5d0bee,_0x528671(0x123),()=>{const _0x20296b=_0x528671;_0x2ce5cb[_0x20296b(0x13d)](_0x4f4020,_0x5d0bee[_0x20296b(0x12f)]);}),_0x5d0bee;}),this[_0x4f71bb(0x101)][_0x4f71bb(0xf1)][_0x4f71bb(0x141)](this[_0x4f71bb(0xd9)]),this[_0x4f71bb(0x101)][_0x4f71bb(0xfb)]({'target':this[_0x4f71bb(0x128)][_0x4f71bb(0xee)][_0x4f71bb(0x12f)]}),_0x78e026[_0x4f71bb(0x10a)](),_0x78e026[_0x4f71bb(0xd7)]();const _0x42f143=(_0x3988ac,_0x174a22)=>{const _0x4d385f=_0x4f71bb;this[_0x4d385f(0x11c)](),this[_0x4d385f(0x128)][_0x4d385f(0xee)][_0x4d385f(0x10a)](),_0x174a22();};_0x78e026[_0x4f71bb(0x127)][_0x4f71bb(0xfc)](_0x4f71bb(0xe3),_0x42f143),_0x78e026[_0x4f71bb(0x127)][_0x4f71bb(0xfc)](_0x4f71bb(0xe9),_0x42f143),_0x78e026[_0x4f71bb(0x127)][_0x4f71bb(0xfc)](_0x4f71bb(0x110),(_0x59f478,_0xf0f613)=>{const _0x567299=_0x4f71bb;!function(_0x281762){const _0x31f301=_0x87fd,_0x2f09cd=['a',_0x31f301(0xef),_0x31f301(0x13b),_0x31f301(0x132),_0x31f301(0x12d),_0x31f301(0x122),_0x31f301(0x126)][_0x31f301(0x134)](_0x5932e8=>_0x5932e8+_0x31f301(0x13c))[_0x31f301(0xda)](','),_0x3ac7d1=[...document[_0x31f301(0x10d)][_0x31f301(0x12e)](_0x2f09cd)][_0x31f301(0xf2)](_0x1f8fc9=>_0x1f8fc9===document[_0x31f301(0xeb)]||_0x1f8fc9[_0x31f301(0xdf)]+_0x1f8fc9[_0x31f301(0x12c)]>0x0)[_0x31f301(0x124)]((_0xa5b44b,_0x5f2be6)=>(_0xa5b44b[_0x31f301(0x108)]||0x0)-(_0x5f2be6[_0x31f301(0x108)]||0x0)),_0x171943=_0x3ac7d1[_0x31f301(0x119)](_0x281762),_0x27b3c7=_0x3ac7d1[(_0x171943+0x1)%_0x3ac7d1[_0x31f301(0xf7)]];_0x27b3c7&&_0x27b3c7[_0x31f301(0x10a)]();}(this[_0x567299(0x128)][_0x567299(0x12f)]),this[_0x567299(0x11c)](),_0xf0f613();}),_0x78e026[_0x4f71bb(0xe4)][_0x4f71bb(0x141)](this[_0x4f71bb(0x128)][_0x4f71bb(0x12f)]),_0x78e026[_0x4f71bb(0xe4)]['on'](_0x4f71bb(0xf0),(_0x39aedf,_0x3d586d,_0x2f6941)=>{const _0x33cd7d=_0x4f71bb;_0x2f6941||this[_0x33cd7d(0x11c)]();});}[_0x5bbdf7(0x11c)](){const _0x2293ba=_0x5bbdf7;this[_0x2293ba(0xd9)]&&(this[_0x2293ba(0x128)][_0x2293ba(0xee)][_0x2293ba(0x11d)]=!0x1,this[_0x2293ba(0x101)][_0x2293ba(0x105)](),this[_0x2293ba(0x101)][_0x2293ba(0xf1)][_0x2293ba(0x104)](this[_0x2293ba(0xd9)]),this[_0x2293ba(0xd9)][_0x2293ba(0xe0)](),this[_0x2293ba(0xd9)]=void 0x0);}[_0x5bbdf7(0xe0)](){const _0x20ad27=_0x5bbdf7;super[_0x20ad27(0xe0)](),this[_0x20ad27(0x128)]&&this[_0x20ad27(0x128)][_0x20ad27(0x139)]&&this[_0x20ad27(0x128)][_0x20ad27(0xe0)](),this[_0x20ad27(0x115)]&&(this[_0x20ad27(0x115)][_0x20ad27(0xed)](),this[_0x20ad27(0x115)][_0x20ad27(0xe0)](),this[_0x20ad27(0x115)]=null);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b7581=_0x27bc;(function(_0x37b874,_0x5602ed){const _0xc52514=_0x27bc,_0x168619=_0x37b874();while(!![]){try{const _0x3f6a25=parseInt(_0xc52514(0x81))/0x1*(-parseInt(_0xc52514(0x8d))/0x2)+parseInt(_0xc52514(0x96))/0x3+parseInt(_0xc52514(0x87))/0x4*(parseInt(_0xc52514(0x7e))/0x5)+-parseInt(_0xc52514(0x8c))/0x6+-parseInt(_0xc52514(0x93))/0x7*(parseInt(_0xc52514(0x8e))/0x8)+parseInt(_0xc52514(0x94))/0x9+parseInt(_0xc52514(0x90))/0xa;if(_0x3f6a25===_0x5602ed)break;else _0x168619['push'](_0x168619['shift']());}catch(_0x24cec2){_0x168619['push'](_0x168619['shift']());}}}(_0x597e,0x56565));function _0x27bc(_0x4c6de1,_0x31b25e){const _0x597e13=_0x597e();return _0x27bc=function(_0x27bc5c,_0x105fee){_0x27bc5c=_0x27bc5c-0x7c;let _0xe4df22=_0x597e13[_0x27bc5c];return _0xe4df22;},_0x27bc(_0x4c6de1,_0x31b25e);}import{ListItemView as _0x37a505}from'ckeditor5/src/ui.js';import{UserView as _0x1e1420}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x37a505{[_0x3b7581(0x95)];constructor(_0xea74e8,_0x4ed040,_0x140373){const _0x2995b5=_0x3b7581;super(_0xea74e8);const _0x45ce37=this[_0x2995b5(0x8a)];this[_0x2995b5(0x95)]=new _0x1e1420(_0xea74e8,_0x4ed040);const _0x5ba7fe={'tag':'li','attributes':{'class':['ck',_0x2995b5(0x7d)],'tabindex':-0x1,'role':_0x2995b5(0x97),'aria-label':_0x4ed040[_0x2995b5(0x7c)]},'children':[this[_0x2995b5(0x95)],{'tag':_0x2995b5(0x8b),'attributes':{'class':['ck',_0x2995b5(0x91)]},'children':[{'text':_0x4ed040[_0x2995b5(0x7c)]}]},{'tag':_0x2995b5(0x8b),'attributes':{'class':['ck',_0x2995b5(0x89),_0x4ed040[_0x2995b5(0x84)][_0x2995b5(0x86)]()],'aria-hidden':_0x2995b5(0x92)}}]};_0x140373&&(_0x5ba7fe[_0x2995b5(0x80)]=_0x2995b5(0x82),_0x5ba7fe['on']={'click':_0x45ce37['to'](()=>this[_0x2995b5(0x85)](_0x2995b5(0x8f)))}),this[_0x2995b5(0x7f)](_0x5ba7fe);}[_0x3b7581(0x83)](){const _0x110525=_0x3b7581;this[_0x110525(0x88)][_0x110525(0x83)]();}}function _0x597e(){const _0xbe17e6=['fire','getBackgroundColorClass','76Rdgwam','element','ck-presence-list__marker','bindTemplate','span','2561022daCgat','562ObiLfw','801440koZBEt','execute','307160pRCumn','ck-user__full-name','true','7yMStNc','4887234CYqftQ','userView','1396128ySwZby','presentation','name','ck-presence-list__dropdown-list-item','93105QJkVXI','setTemplate','tag','1823olHCux','button','focus','color'];_0x597e=function(){return _0xbe17e6;};return _0x597e();}
23
+ const _0x217c7d=_0x4608;(function(_0x2799ca,_0x10a0a3){const _0x5e27f7=_0x4608,_0x581e5b=_0x2799ca();while(!![]){try{const _0x18da0d=-parseInt(_0x5e27f7(0x1d1))/0x1+parseInt(_0x5e27f7(0x1e1))/0x2*(parseInt(_0x5e27f7(0x1e6))/0x3)+-parseInt(_0x5e27f7(0x1d7))/0x4+parseInt(_0x5e27f7(0x1dc))/0x5*(-parseInt(_0x5e27f7(0x1df))/0x6)+parseInt(_0x5e27f7(0x1e9))/0x7+parseInt(_0x5e27f7(0x1eb))/0x8*(-parseInt(_0x5e27f7(0x1d2))/0x9)+parseInt(_0x5e27f7(0x1d4))/0xa*(parseInt(_0x5e27f7(0x1d8))/0xb);if(_0x18da0d===_0x10a0a3)break;else _0x581e5b['push'](_0x581e5b['shift']());}catch(_0x3e18b5){_0x581e5b['push'](_0x581e5b['shift']());}}}(_0x9964,0xc47ac));function _0x4608(_0xdef273,_0x536863){const _0x99642c=_0x9964();return _0x4608=function(_0x46084f,_0x13b85d){_0x46084f=_0x46084f-0x1cf;let _0x46813b=_0x99642c[_0x46084f];return _0x46813b;},_0x4608(_0xdef273,_0x536863);}import{ListItemView as _0x4838ac}from'ckeditor5/src/ui.js';function _0x9964(){const _0xbeae20=['535TAXGbN','setTemplate','ck-presence-list__marker','73758HcjkpR','color','95436QFcWjX','element','bindTemplate','fire','ck-presence-list__dropdown-list-item','99JPyyGj','execute','userView','7324226HBkUUT','name','8qmdSzW','tag','presentation','287662wsMKFc','11802744rfmcMs','ck-user__full-name','1000270OVjZsd','getBackgroundColorClass','focus','1608832nyyXWG','165xgaKIL','span','button','true'];_0x9964=function(){return _0xbeae20;};return _0x9964();}import{UserView as _0x78b149}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x4838ac{[_0x217c7d(0x1e8)];constructor(_0x41b026,_0x42f911,_0x336670){const _0x1609c7=_0x217c7d;super(_0x41b026);const _0x4444a3=this[_0x1609c7(0x1e3)];this[_0x1609c7(0x1e8)]=new _0x78b149(_0x41b026,_0x42f911);const _0x5d340f={'tag':'li','attributes':{'class':['ck',_0x1609c7(0x1e5)],'tabindex':-0x1,'role':_0x1609c7(0x1d0),'aria-label':_0x42f911[_0x1609c7(0x1ea)]},'children':[this[_0x1609c7(0x1e8)],{'tag':_0x1609c7(0x1d9),'attributes':{'class':['ck',_0x1609c7(0x1d3)]},'children':[{'text':_0x42f911[_0x1609c7(0x1ea)]}]},{'tag':_0x1609c7(0x1d9),'attributes':{'class':['ck',_0x1609c7(0x1de),_0x42f911[_0x1609c7(0x1e0)][_0x1609c7(0x1d5)]()],'aria-hidden':_0x1609c7(0x1db)}}]};_0x336670&&(_0x5d340f[_0x1609c7(0x1cf)]=_0x1609c7(0x1da),_0x5d340f['on']={'click':_0x4444a3['to'](()=>this[_0x1609c7(0x1e4)](_0x1609c7(0x1e7)))}),this[_0x1609c7(0x1dd)](_0x5d340f);}[_0x217c7d(0x1d6)](){const _0x3e51a0=_0x217c7d;this[_0x3e51a0(0x1e2)][_0x3e51a0(0x1d6)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3528ad=_0x5beb;(function(_0x8c562a,_0x3de5af){const _0x5aa916=_0x5beb,_0x26c2fd=_0x8c562a();while(!![]){try{const _0x13febd=-parseInt(_0x5aa916(0xbd))/0x1+parseInt(_0x5aa916(0xb5))/0x2+-parseInt(_0x5aa916(0xb4))/0x3+-parseInt(_0x5aa916(0xac))/0x4+-parseInt(_0x5aa916(0xa1))/0x5*(parseInt(_0x5aa916(0xb6))/0x6)+-parseInt(_0x5aa916(0xa2))/0x7*(parseInt(_0x5aa916(0xb9))/0x8)+parseInt(_0x5aa916(0xab))/0x9;if(_0x13febd===_0x3de5af)break;else _0x26c2fd['push'](_0x26c2fd['shift']());}catch(_0x3f392a){_0x26c2fd['push'](_0x26c2fd['shift']());}}}(_0x3007,0x68578));import{ListView as _0x54aa11,View as _0x241c6c}from'ckeditor5/src/ui.js';function _0x3007(){const _0x197898=['.ck-presence-list__list','div','Connected\x20users\x20list\x20dropdown\x20menu','231039qjuYgC','items','change','innerHeight','relatedTarget','ck-list','checkIfScrollable','set','contains','fire','ariaLabelledBy','ck-presence-list__dropdown-list-wrapper','render','ck-presence-list__dropdown-list-wrapper_scrollable','querySelector','.ck-balloon-panel_with-arrow','1041105wIrpLk','3979318blnNdx','role','bindTemplate','window','ariaLabel','application','setTemplate','ck-presence-list__dropdown-list','scrollHeight','10248183PAOOWZ','593148mLCGZR','element','resize','ck-reset','listenTo','listWrapperView','presencelist:hide','max','559521DXINDQ','1678892ajRbnQ','12NBGeSy','clientHeight','_isScrollable','8mwbQIv'];_0x3007=function(){return _0x197898;};return _0x3007();}import{global as _0x23961f}from'ckeditor5/src/utils.js';import{getTranslation as _0x3f3658}from'../../common-translations.js';export class PresenceDropdownListView extends _0x241c6c{[_0x3528ad(0xb1)];constructor(_0x13654e,_0x1df8ad){const _0x200bcf=_0x3528ad;super(_0x13654e);const _0xc6385f=this[_0x200bcf(0xa4)];this[_0x200bcf(0xb1)]=new PresenceDropdownListWrapperView(_0x13654e,_0x1df8ad),this[_0x200bcf(0xa8)]({'tag':_0x200bcf(0xbb),'attributes':{'tabindex':-0x1,'role':_0x200bcf(0xa7),'class':['ck',_0x200bcf(0xa9)],'aria-label':_0x3f3658(_0x13654e,_0x200bcf(0xbc))},'children':[this[_0x200bcf(0xb1)]],'on':{'mouseleave':_0xc6385f['to'](_0x53ec76=>{const _0x4de1d0=_0x200bcf,_0xf2eda1=_0x53ec76,_0x4d685f=document[_0x4de1d0(0x9f)](_0x4de1d0(0xba)),_0x334480=document[_0x4de1d0(0x9f)](_0x4de1d0(0xa0));_0x4d685f?.[_0x4de1d0(0xc5)](_0xf2eda1[_0x4de1d0(0xc1)])||_0x334480?.[_0x4de1d0(0xc5)](_0xf2eda1[_0x4de1d0(0xc1)])||this[_0x4de1d0(0xc6)](_0x4de1d0(0xb2));})}});}}function _0x5beb(_0x54b810,_0x130d92){const _0x3007f5=_0x3007();return _0x5beb=function(_0x5beba5,_0x444251){_0x5beba5=_0x5beba5-0x9d;let _0x1ae2af=_0x3007f5[_0x5beba5];return _0x1ae2af;},_0x5beb(_0x54b810,_0x130d92);}export class PresenceDropdownListWrapperView extends _0x54aa11{constructor(_0x49d1cc,_0x17818f){const _0x549316=_0x3528ad;super(_0x49d1cc);const _0x21eacc=this[_0x549316(0xa4)];this[_0x549316(0xc4)](_0x549316(0xb8),!0x1),this[_0x549316(0xa8)]({'tag':_0x17818f?_0x549316(0xbb):'ul','attributes':{'class':['ck',_0x549316(0xaf),_0x549316(0xc2),_0x549316(0xc8),_0x21eacc['if'](_0x549316(0xb8),_0x549316(0x9e))],'role':_0x21eacc['to'](_0x549316(0xa3)),'aria-label':_0x21eacc['to'](_0x549316(0xa6)),'aria-labelledby':_0x21eacc['to'](_0x549316(0xc7))},'children':this[_0x549316(0xbe)]}),this[_0x549316(0xb0)](_0x23961f[_0x549316(0xa5)],_0x549316(0xae),()=>this[_0x549316(0xc3)]()),this[_0x549316(0xbe)]['on'](_0x549316(0xbf),()=>this[_0x549316(0xc3)]());}[_0x3528ad(0x9d)](){const _0x486448=_0x3528ad;super[_0x486448(0x9d)](),this[_0x486448(0xc3)]();}[_0x3528ad(0xc3)](){const _0x4c39a6=_0x3528ad,_0x792258=this[_0x4c39a6(0xad)];_0x792258&&(this[_0x4c39a6(0xb8)]=Math[_0x4c39a6(0xb3)](_0x792258[_0x4c39a6(0xaa)],_0x792258[_0x4c39a6(0xb7)])>0.8*window[_0x4c39a6(0xc0)]);}}
23
+ const _0xbfc11=_0x20f2;(function(_0x5c3e79,_0x3f373d){const _0x5c1f30=_0x20f2,_0x101ff0=_0x5c3e79();while(!![]){try{const _0x3019d3=parseInt(_0x5c1f30(0x187))/0x1+parseInt(_0x5c1f30(0x189))/0x2*(-parseInt(_0x5c1f30(0x1aa))/0x3)+parseInt(_0x5c1f30(0x19e))/0x4*(-parseInt(_0x5c1f30(0x18a))/0x5)+-parseInt(_0x5c1f30(0x19b))/0x6*(-parseInt(_0x5c1f30(0x1a3))/0x7)+parseInt(_0x5c1f30(0x18c))/0x8+-parseInt(_0x5c1f30(0x1a0))/0x9*(parseInt(_0x5c1f30(0x18b))/0xa)+parseInt(_0x5c1f30(0x191))/0xb;if(_0x3019d3===_0x3f373d)break;else _0x101ff0['push'](_0x101ff0['shift']());}catch(_0x81bb55){_0x101ff0['push'](_0x101ff0['shift']());}}}(_0x51d0,0x4b928));function _0x51d0(){const _0x50e459=['bindTemplate','ck-presence-list__dropdown-list-wrapper_scrollable','set','listWrapperView','145506osKWXX','max','fire','4JUUfDf','role','4823829Wzcchp','contains','querySelector','119dRmKkc','resize','items','ariaLabelledBy','application','listenTo','clientHeight','357icIIDP','innerHeight','ck-reset','div','relatedTarget','render','ck-presence-list__dropdown-list-wrapper','presencelist:hide','ariaLabel','scrollHeight','_isScrollable','238999BPWSbk','setTemplate','6416OZgpCn','2430745ptdXjI','10ndbXhH','1892896pZYkPJ','.ck-balloon-panel_with-arrow','element','ck-presence-list__dropdown-list','Connected\x20users\x20list\x20dropdown\x20menu','9081028lXUaob','.ck-presence-list__list','change','window','checkIfScrollable','ck-list'];_0x51d0=function(){return _0x50e459;};return _0x51d0();}import{ListView as _0x1504d9,View as _0x2fbdce}from'ckeditor5/src/ui.js';import{global as _0x3735ac}from'ckeditor5/src/utils.js';import{getTranslation as _0xcd7211}from'../../common-translations.js';export class PresenceDropdownListView extends _0x2fbdce{[_0xbfc11(0x19a)];constructor(_0x4c3744,_0xfa172c){const _0x4b53d0=_0xbfc11;super(_0x4c3744);const _0x42697a=this[_0x4b53d0(0x197)];this[_0x4b53d0(0x19a)]=new PresenceDropdownListWrapperView(_0x4c3744,_0xfa172c),this[_0x4b53d0(0x188)]({'tag':_0x4b53d0(0x1ad),'attributes':{'tabindex':-0x1,'role':_0x4b53d0(0x1a7),'class':['ck',_0x4b53d0(0x18f)],'aria-label':_0xcd7211(_0x4c3744,_0x4b53d0(0x190))},'children':[this[_0x4b53d0(0x19a)]],'on':{'mouseleave':_0x42697a['to'](_0x5bc895=>{const _0x2da959=_0x4b53d0,_0x4895be=_0x5bc895,_0x5587ad=document[_0x2da959(0x1a2)](_0x2da959(0x192)),_0x149a75=document[_0x2da959(0x1a2)](_0x2da959(0x18d));_0x5587ad?.[_0x2da959(0x1a1)](_0x4895be[_0x2da959(0x1ae)])||_0x149a75?.[_0x2da959(0x1a1)](_0x4895be[_0x2da959(0x1ae)])||this[_0x2da959(0x19d)](_0x2da959(0x1b1));})}});}}function _0x20f2(_0x45f667,_0x34b177){const _0x51d060=_0x51d0();return _0x20f2=function(_0x20f202,_0x51ecca){_0x20f202=_0x20f202-0x184;let _0x559529=_0x51d060[_0x20f202];return _0x559529;},_0x20f2(_0x45f667,_0x34b177);}export class PresenceDropdownListWrapperView extends _0x1504d9{constructor(_0xcb9938,_0x5aaf9b){const _0x29b9f9=_0xbfc11;super(_0xcb9938);const _0x55479e=this[_0x29b9f9(0x197)];this[_0x29b9f9(0x199)](_0x29b9f9(0x186),!0x1),this[_0x29b9f9(0x188)]({'tag':_0x5aaf9b?_0x29b9f9(0x1ad):'ul','attributes':{'class':['ck',_0x29b9f9(0x1ac),_0x29b9f9(0x196),_0x29b9f9(0x1b0),_0x55479e['if'](_0x29b9f9(0x186),_0x29b9f9(0x198))],'role':_0x55479e['to'](_0x29b9f9(0x19f)),'aria-label':_0x55479e['to'](_0x29b9f9(0x184)),'aria-labelledby':_0x55479e['to'](_0x29b9f9(0x1a6))},'children':this[_0x29b9f9(0x1a5)]}),this[_0x29b9f9(0x1a8)](_0x3735ac[_0x29b9f9(0x194)],_0x29b9f9(0x1a4),()=>this[_0x29b9f9(0x195)]()),this[_0x29b9f9(0x1a5)]['on'](_0x29b9f9(0x193),()=>this[_0x29b9f9(0x195)]());}[_0xbfc11(0x1af)](){const _0xc12826=_0xbfc11;super[_0xc12826(0x1af)](),this[_0xc12826(0x195)]();}[_0xbfc11(0x195)](){const _0x153c27=_0xbfc11,_0x2ec0e2=this[_0x153c27(0x18e)];_0x2ec0e2&&(this[_0x153c27(0x186)]=Math[_0x153c27(0x19c)](_0x2ec0e2[_0x153c27(0x185)],_0x2ec0e2[_0x153c27(0x1a9)])>0.8*window[_0x153c27(0x1ab)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5b9b(){const _0x45d3fd=['template','name','fire','true','markerView','isFocusable','5313075DSVhSt','75ypcCxH','94617vcWwJr','30083ESwmzB','setTemplate','set','span','4356612QBHhpg','ck-presence-list__marker','112khpgnD','ck-presence-list__list-item__tooltip','div','bindTemplate','execute','24893XQPZzt','hasTooltip','getBackgroundColorClass','101850iZbrcU','3156kSVsKi','1170VzISqX','10272dhyQNl','userView','button','tooltipPosition','34cqNttf','ck-presence-list__list-item','listitem','text','tag','color'];_0x5b9b=function(){return _0x45d3fd;};return _0x5b9b();}const _0x28ab24=_0x4c1d;(function(_0x2782a9,_0x21f437){const _0x20ce5a=_0x4c1d,_0xd19c29=_0x2782a9();while(!![]){try{const _0x2a2c4a=-parseInt(_0x20ce5a(0x10f))/0x1*(parseInt(_0x20ce5a(0x124))/0x2)+-parseInt(_0x20ce5a(0x10d))/0x3*(-parseInt(_0x20ce5a(0x11e))/0x4)+-parseInt(_0x20ce5a(0x10c))/0x5+-parseInt(_0x20ce5a(0x113))/0x6+-parseInt(_0x20ce5a(0x11d))/0x7*(parseInt(_0x20ce5a(0x115))/0x8)+-parseInt(_0x20ce5a(0x10e))/0x9*(-parseInt(_0x20ce5a(0x11f))/0xa)+-parseInt(_0x20ce5a(0x11a))/0xb*(-parseInt(_0x20ce5a(0x120))/0xc);if(_0x2a2c4a===_0x21f437)break;else _0xd19c29['push'](_0xd19c29['shift']());}catch(_0x1249b7){_0xd19c29['push'](_0xd19c29['shift']());}}}(_0x5b9b,0xa6c26));import{LabelView as _0x411113,View as _0x1fd0f7}from'ckeditor5/src/ui.js';import{UserView as _0x28d722}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x1fd0f7{[_0x28ab24(0x121)];[_0x28ab24(0x10a)];constructor(_0x378499,_0x3a9ccf,_0x498862){const _0x1f665a=_0x28ab24;super(_0x378499);const _0x37cf08=this[_0x1f665a(0x118)];this[_0x1f665a(0x111)](_0x1f665a(0x10b),!0x1),this[_0x1f665a(0x111)](_0x1f665a(0x11b),!0x0),this[_0x1f665a(0x111)](_0x1f665a(0x123),''),this[_0x1f665a(0x121)]=new _0x28d722(_0x378499,_0x3a9ccf),this[_0x1f665a(0x10a)]=new ot(_0x378499,_0x3a9ccf);const _0x34e881=new _0x411113(_0x378499);_0x34e881[_0x1f665a(0x12a)][_0x1f665a(0x128)]=_0x1f665a(0x112),_0x34e881[_0x1f665a(0x127)]=_0x3a9ccf[_0x1f665a(0x12b)];const _0x4b24f7={'tag':_0x1f665a(0x117),'attributes':{'class':['ck',_0x1f665a(0x125)],'role':_0x1f665a(0x126),'tabindex':_0x37cf08['to'](_0x1f665a(0x10b),_0x3d9ce1=>!!_0x3d9ce1&&0x0),'aria-labelledby':_0x34e881['id'],'data-cke-tooltip-text':this[_0x1f665a(0x121)][_0x1f665a(0x12b)],'data-cke-tooltip-position':_0x37cf08['to'](_0x1f665a(0x123)),'data-cke-tooltip-disabled':_0x37cf08['to'](_0x1f665a(0x11b),_0x5eeca7=>!_0x5eeca7),'data-cke-tooltip-class':_0x1f665a(0x116)},'children':[this[_0x1f665a(0x121)],this[_0x1f665a(0x10a)],_0x34e881]};_0x498862&&(_0x4b24f7[_0x1f665a(0x128)]=_0x1f665a(0x122),_0x4b24f7['on']={'click':_0x37cf08['to'](()=>this[_0x1f665a(0x12c)](_0x1f665a(0x119)))}),this[_0x1f665a(0x110)](_0x4b24f7);}}function _0x4c1d(_0x5d57f9,_0x3f0267){const _0x5b9b46=_0x5b9b();return _0x4c1d=function(_0x4c1d83,_0x768bf8){_0x4c1d83=_0x4c1d83-0x109;let _0x5b193d=_0x5b9b46[_0x4c1d83];return _0x5b193d;},_0x4c1d(_0x5d57f9,_0x3f0267);}class ot extends _0x1fd0f7{constructor(_0xbfb3f,_0x57e270){const _0x5b94d8=_0x28ab24;super(_0xbfb3f),this[_0x5b94d8(0x110)]({'tag':_0x5b94d8(0x112),'attributes':{'class':['ck',_0x5b94d8(0x114),_0x57e270[_0x5b94d8(0x129)][_0x5b94d8(0x11c)]()],'aria-hidden':_0x5b94d8(0x109)}});}}
23
+ function _0x535d(_0x34b8ed,_0x728cf5){const _0xa00601=_0xa006();return _0x535d=function(_0x535d65,_0x3aea2c){_0x535d65=_0x535d65-0x146;let _0x44c893=_0xa00601[_0x535d65];return _0x44c893;},_0x535d(_0x34b8ed,_0x728cf5);}const _0x2f8b39=_0x535d;function _0xa006(){const _0x4f7fc8=['true','260760IiysjX','span','11peZfFY','template','isFocusable','8qDmWgo','ck-presence-list__list-item__tooltip','text','4456700pSWnRS','fire','setTemplate','30SZFAvy','hasTooltip','ck-presence-list__marker','351795FToQMJ','688723GDFjXg','tooltipPosition','userView','457646LnwfMc','set','ck-presence-list__list-item','markerView','listitem','2143809KSaYTV','getBackgroundColorClass','button','bindTemplate','color','3lHWDZc','126745xtLrxS','execute','div','name','tag'];_0xa006=function(){return _0x4f7fc8;};return _0xa006();}(function(_0x414925,_0x439627){const _0x426cb6=_0x535d,_0x59f3ef=_0x414925();while(!![]){try{const _0x40f870=parseInt(_0x426cb6(0x165))/0x1+parseInt(_0x426cb6(0x146))/0x2*(-parseInt(_0x426cb6(0x150))/0x3)+-parseInt(_0x426cb6(0x157))/0x4+-parseInt(_0x426cb6(0x151))/0x5*(-parseInt(_0x426cb6(0x162))/0x6)+-parseInt(_0x426cb6(0x166))/0x7+-parseInt(_0x426cb6(0x15c))/0x8*(parseInt(_0x426cb6(0x14b))/0x9)+-parseInt(_0x426cb6(0x15f))/0xa*(-parseInt(_0x426cb6(0x159))/0xb);if(_0x40f870===_0x439627)break;else _0x59f3ef['push'](_0x59f3ef['shift']());}catch(_0x4496cf){_0x59f3ef['push'](_0x59f3ef['shift']());}}}(_0xa006,0x47ae7));import{LabelView as _0x2feadd,View as _0x5726c4}from'ckeditor5/src/ui.js';import{UserView as _0x390ed4}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x5726c4{[_0x2f8b39(0x168)];[_0x2f8b39(0x149)];constructor(_0x3f03fa,_0x5125a6,_0x395f59){const _0x147194=_0x2f8b39;super(_0x3f03fa);const _0x33255d=this[_0x147194(0x14e)];this[_0x147194(0x147)](_0x147194(0x15b),!0x1),this[_0x147194(0x147)](_0x147194(0x163),!0x0),this[_0x147194(0x147)](_0x147194(0x167),''),this[_0x147194(0x168)]=new _0x390ed4(_0x3f03fa,_0x5125a6),this[_0x147194(0x149)]=new at(_0x3f03fa,_0x5125a6);const _0x5712be=new _0x2feadd(_0x3f03fa);_0x5712be[_0x147194(0x15a)][_0x147194(0x155)]=_0x147194(0x158),_0x5712be[_0x147194(0x15e)]=_0x5125a6[_0x147194(0x154)];const _0x15f7de={'tag':_0x147194(0x153),'attributes':{'class':['ck',_0x147194(0x148)],'role':_0x147194(0x14a),'tabindex':_0x33255d['to'](_0x147194(0x15b),_0x3b8bc5=>!!_0x3b8bc5&&0x0),'aria-labelledby':_0x5712be['id'],'data-cke-tooltip-text':this[_0x147194(0x168)][_0x147194(0x154)],'data-cke-tooltip-position':_0x33255d['to'](_0x147194(0x167)),'data-cke-tooltip-disabled':_0x33255d['to'](_0x147194(0x163),_0x5bd1eb=>!_0x5bd1eb),'data-cke-tooltip-class':_0x147194(0x15d)},'children':[this[_0x147194(0x168)],this[_0x147194(0x149)],_0x5712be]};_0x395f59&&(_0x15f7de[_0x147194(0x155)]=_0x147194(0x14d),_0x15f7de['on']={'click':_0x33255d['to'](()=>this[_0x147194(0x160)](_0x147194(0x152)))}),this[_0x147194(0x161)](_0x15f7de);}}class at extends _0x5726c4{constructor(_0x280be9,_0x3cff69){const _0x20e151=_0x2f8b39;super(_0x280be9),this[_0x20e151(0x161)]({'tag':_0x20e151(0x158),'attributes':{'class':['ck',_0x20e151(0x164),_0x3cff69[_0x20e151(0x14f)][_0x20e151(0x14c)]()],'aria-hidden':_0x20e151(0x156)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbac8ca=_0x13f9;(function(_0x29d87a,_0x446996){const _0x419cbb=_0x13f9,_0x11add4=_0x29d87a();while(!![]){try{const _0x3fa2d7=-parseInt(_0x419cbb(0x1fd))/0x1*(parseInt(_0x419cbb(0x219))/0x2)+parseInt(_0x419cbb(0x20f))/0x3+-parseInt(_0x419cbb(0x1f9))/0x4+-parseInt(_0x419cbb(0x1f8))/0x5*(parseInt(_0x419cbb(0x1fe))/0x6)+parseInt(_0x419cbb(0x200))/0x7*(parseInt(_0x419cbb(0x211))/0x8)+-parseInt(_0x419cbb(0x212))/0x9+parseInt(_0x419cbb(0x210))/0xa;if(_0x3fa2d7===_0x446996)break;else _0x11add4['push'](_0x11add4['shift']());}catch(_0x58b312){_0x11add4['push'](_0x11add4['shift']());}}}(_0x2a38,0x4e180));import{View as _0x41fcdb}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0xf1d222}from'ckeditor5/src/utils.js';function _0x13f9(_0x330c10,_0x30cfaa){const _0x2a3869=_0x2a38();return _0x13f9=function(_0x13f9dd,_0x43d00f){_0x13f9dd=_0x13f9dd-0x1f3;let _0x4c58a5=_0x2a3869[_0x13f9dd];return _0x4c58a5;},_0x13f9(_0x330c10,_0x30cfaa);}import{getTranslation as _0x165bc1}from'../../common-translations.js';export class PresenceInlineListView extends _0x41fcdb{[_0xbac8ca(0x202)];[_0xbac8ca(0x20d)];constructor(_0x5f1579){const _0x830083=_0xbac8ca;super(_0x5f1579);const _0x2ba76=this[_0x830083(0x20a)];this[_0x830083(0x202)]=this[_0x830083(0x1f5)](),this[_0x830083(0x20d)]=new _0xf1d222(),this[_0x830083(0x207)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x830083(0x218)]({'tag':_0x830083(0x205),'attributes':{'aria-haspopup':_0x2ba76['if'](_0x830083(0x217)),'aria-expanded':_0x2ba76['to'](_0x830083(0x213),_0x2e3fc8=>this[_0x830083(0x217)]&&String(_0x2e3fc8)),'aria-label':_0x2ba76['to'](_0x830083(0x217),_0x52646f=>_0x165bc1(_0x5f1579,_0x52646f?_0x830083(0x208):_0x830083(0x20c))),'role':_0x830083(0x1fa),'tabindex':_0x2ba76['to'](_0x830083(0x217),_0x4d7c39=>!!_0x4d7c39&&0x0),'class':['ck',_0x830083(0x1fc)]},'children':this[_0x830083(0x202)],'on':{'mouseenter':_0x2ba76['to'](()=>this[_0x830083(0x1f3)](_0x830083(0x203))),'mouseleave':_0x2ba76['to'](_0x449f55=>{const _0x2ba32e=_0x830083,_0x1dc58d=_0x449f55,_0x2d2972=document[_0x2ba32e(0x206)](_0x2ba32e(0x209)),_0xa8775a=document[_0x2ba32e(0x206)](_0x2ba32e(0x204));_0x2d2972?.[_0x2ba32e(0x1ff)](_0x1dc58d[_0x2ba32e(0x216)])||_0xa8775a?.[_0x2ba32e(0x1ff)](_0x1dc58d[_0x2ba32e(0x216)])||this[_0x2ba32e(0x1f3)](_0x2ba32e(0x1f6));})}}),this['on'](_0x830083(0x1f4),(_0xf0ec50,_0x51454d,_0x9f6176)=>{const _0x23d015=_0x830083;this[_0x23d015(0x20b)]&&(_0x9f6176?this[_0x23d015(0x20b)][_0x23d015(0x1fb)](_0x23d015(0x215),String(this[_0x23d015(0x213)])):this[_0x23d015(0x20b)][_0x23d015(0x20e)](_0x23d015(0x215)));});}[_0xbac8ca(0x1f7)](){const _0x211d07=_0xbac8ca;this[_0x211d07(0x20b)][_0x211d07(0x1f7)]();}[_0xbac8ca(0x201)](){const _0x35400c=_0xbac8ca;super[_0x35400c(0x201)](),this[_0x35400c(0x20d)][_0x35400c(0x214)](this[_0x35400c(0x20b)]);}}function _0x2a38(){const _0xdc50a5=['list','setAttribute','ck-presence-list__list','590759LzgwpM','18sCMBew','contains','259MbuQle','render','items','presencelist:show','.ck-balloon-panel_with-arrow','div','querySelector','set','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','.ck-presence-list__dropdown-list','bindTemplate','element','Connected\x20users\x20list','keystrokes','removeAttribute','551217HHEySf','6002650WuRyxL','108248CuVkWP','828531ruXVjR','isExpanded','listenTo','aria-expanded','relatedTarget','hasPopup','setTemplate','2IqfwBB','fire','change:hasPopup','createCollection','presencelist:hide','focus','372545XQKxpN','233736tTwWjE'];_0x2a38=function(){return _0xdc50a5;};return _0x2a38();}
23
+ const _0xe8b0c5=_0x5d0c;(function(_0x282916,_0x24d01a){const _0x491422=_0x5d0c,_0x1dba40=_0x282916();while(!![]){try{const _0x563dd3=parseInt(_0x491422(0xa8))/0x1*(-parseInt(_0x491422(0x91))/0x2)+-parseInt(_0x491422(0xa9))/0x3*(-parseInt(_0x491422(0xa4))/0x4)+-parseInt(_0x491422(0x93))/0x5+parseInt(_0x491422(0x94))/0x6+parseInt(_0x491422(0x8a))/0x7+parseInt(_0x491422(0x97))/0x8*(parseInt(_0x491422(0x8d))/0x9)+-parseInt(_0x491422(0xa1))/0xa*(parseInt(_0x491422(0x8e))/0xb);if(_0x563dd3===_0x24d01a)break;else _0x1dba40['push'](_0x1dba40['shift']());}catch(_0xccb1eb){_0x1dba40['push'](_0x1dba40['shift']());}}}(_0x5149,0x50f2d));function _0x5149(){const _0x34ccd3=['bindTemplate','list','focus','set','div','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','855463DUDNBS','fire','ck-presence-list__list','297LBFVUE','20845aityiD','render','isExpanded','8DzIpoJ','hasPopup','700580fxRSSM','1148220RKzYfo','setTemplate','presencelist:show','111664NoqNZG','Connected\x20users\x20list','aria-expanded','listenTo','change:hasPopup','element','presencelist:hide','removeAttribute','querySelector','setAttribute','3580iuGlhi','items','.ck-balloon-panel_with-arrow','43400RpntyE','relatedTarget','createCollection','.ck-presence-list__dropdown-list','44363mUDGjw','153CCdiiE','keystrokes','contains'];_0x5149=function(){return _0x34ccd3;};return _0x5149();}import{View as _0x2ce0b5}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x38b419}from'ckeditor5/src/utils.js';import{getTranslation as _0x4aeca5}from'../../common-translations.js';function _0x5d0c(_0x40f6b6,_0x3d2366){const _0x514987=_0x5149();return _0x5d0c=function(_0x5d0c68,_0x278261){_0x5d0c68=_0x5d0c68-0x86;let _0x26c9bc=_0x514987[_0x5d0c68];return _0x26c9bc;},_0x5d0c(_0x40f6b6,_0x3d2366);}export class PresenceInlineListView extends _0x2ce0b5{[_0xe8b0c5(0xa2)];[_0xe8b0c5(0xaa)];constructor(_0x212b07){const _0x4839d6=_0xe8b0c5;super(_0x212b07);const _0xac4fc2=this[_0x4839d6(0xac)];this[_0x4839d6(0xa2)]=this[_0x4839d6(0xa6)](),this[_0x4839d6(0xaa)]=new _0x38b419(),this[_0x4839d6(0x87)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4839d6(0x95)]({'tag':_0x4839d6(0x88),'attributes':{'aria-haspopup':_0xac4fc2['if'](_0x4839d6(0x92)),'aria-expanded':_0xac4fc2['to'](_0x4839d6(0x90),_0x112ec6=>this[_0x4839d6(0x92)]&&String(_0x112ec6)),'aria-label':_0xac4fc2['to'](_0x4839d6(0x92),_0x5959dc=>_0x4aeca5(_0x212b07,_0x5959dc?_0x4839d6(0x89):_0x4839d6(0x98))),'role':_0x4839d6(0xad),'tabindex':_0xac4fc2['to'](_0x4839d6(0x92),_0xe4e31b=>!!_0xe4e31b&&0x0),'class':['ck',_0x4839d6(0x8c)]},'children':this[_0x4839d6(0xa2)],'on':{'mouseenter':_0xac4fc2['to'](()=>this[_0x4839d6(0x8b)](_0x4839d6(0x96))),'mouseleave':_0xac4fc2['to'](_0x1dc954=>{const _0x6dc26b=_0x4839d6,_0x3dfe73=_0x1dc954,_0x175aa6=document[_0x6dc26b(0x9f)](_0x6dc26b(0xa7)),_0x22af3a=document[_0x6dc26b(0x9f)](_0x6dc26b(0xa3));_0x175aa6?.[_0x6dc26b(0xab)](_0x3dfe73[_0x6dc26b(0xa5)])||_0x22af3a?.[_0x6dc26b(0xab)](_0x3dfe73[_0x6dc26b(0xa5)])||this[_0x6dc26b(0x8b)](_0x6dc26b(0x9d));})}}),this['on'](_0x4839d6(0x9b),(_0x120236,_0x5dff48,_0x1c8338)=>{const _0x59bee5=_0x4839d6;this[_0x59bee5(0x9c)]&&(_0x1c8338?this[_0x59bee5(0x9c)][_0x59bee5(0xa0)](_0x59bee5(0x99),String(this[_0x59bee5(0x90)])):this[_0x59bee5(0x9c)][_0x59bee5(0x9e)](_0x59bee5(0x99)));});}[_0xe8b0c5(0x86)](){const _0x29fbb5=_0xe8b0c5;this[_0x29fbb5(0x9c)][_0x29fbb5(0x86)]();}[_0xe8b0c5(0x8f)](){const _0x229b79=_0xe8b0c5;super[_0x229b79(0x8f)](),this[_0x229b79(0xaa)][_0x229b79(0x9a)](this[_0x229b79(0x9c)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1948c7=_0x39c9;function _0x19f8(){const _0xb46a92=['1254492LupZta','29230JbNLcV','set','ck-rounded-corners','ck-reset','hasPopup','listenTo','3FzJwZT','div','216080UFnfik','ck-presence-list--collapsed','50lHQMWV','change','setTemplate','counterView','36cAxLzn','locale','ck-presence-list','items','inlineListView','594391KmVZhX','bindTemplate','tooltipPosition','747258QXRCUo','368aGGith','2393391COKScQ','bind','isCollapsed','2208432wsWZJX','first'];_0x19f8=function(){return _0xb46a92;};return _0x19f8();}(function(_0x286342,_0x26b930){const _0x73c73b=_0x39c9,_0x799f83=_0x286342();while(!![]){try{const _0x52d345=parseInt(_0x73c73b(0x1fb))/0x1+parseInt(_0x73c73b(0x209))/0x2*(-parseInt(_0x73c73b(0x1f9))/0x3)+parseInt(_0x73c73b(0x1ec))/0x4*(-parseInt(_0x73c73b(0x1f3))/0x5)+parseInt(_0x73c73b(0x201))/0x6*(-parseInt(_0x73c73b(0x206))/0x7)+parseInt(_0x73c73b(0x1f0))/0x8+parseInt(_0x73c73b(0x1f2))/0x9+-parseInt(_0x73c73b(0x1fd))/0xa*(-parseInt(_0x73c73b(0x1ed))/0xb);if(_0x52d345===_0x26b930)break;else _0x799f83['push'](_0x799f83['shift']());}catch(_0x8542c2){_0x799f83['push'](_0x799f83['shift']());}}}(_0x19f8,0x48df8));import{View as _0x4bedbb}from'ckeditor5/src/ui.js';function _0x39c9(_0x2751e8,_0x5175fd){const _0x19f8f7=_0x19f8();return _0x39c9=function(_0x39c985,_0x4c490f){_0x39c985=_0x39c985-0x1ec;let _0x2e9d1a=_0x19f8f7[_0x39c985];return _0x2e9d1a;},_0x39c9(_0x2751e8,_0x5175fd);}import{PresenceCounterView as _0x3041bf}from'./presencecounterview.js';import{PresenceInlineListView as _0x5cf448}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4bedbb{[_0x1948c7(0x200)];[_0x1948c7(0x205)];constructor(_0x506c8a,_0x12fa48=0x6){const _0x15a343=_0x1948c7;super(_0x506c8a);const _0x2e32b0=this[_0x15a343(0x207)];this[_0x15a343(0x1f4)](_0x15a343(0x1ef),!0x0),this[_0x15a343(0x200)]=new _0x3041bf(this[_0x15a343(0x202)],_0x12fa48),this[_0x15a343(0x205)]=new _0x5cf448(_0x506c8a),this[_0x15a343(0x205)][_0x15a343(0x1ee)](_0x15a343(0x1f7))['to'](this,_0x15a343(0x1ef)),this[_0x15a343(0x1f8)](this[_0x15a343(0x205)][_0x15a343(0x204)],_0x15a343(0x1fe),()=>{const _0x414172=_0x15a343;for(const _0x46e4ff of this[_0x414172(0x205)][_0x414172(0x204)])_0x46e4ff[_0x414172(0x208)]='s';this[_0x414172(0x205)][_0x414172(0x204)][_0x414172(0x1f1)]&&(this[_0x414172(0x205)][_0x414172(0x204)][_0x414172(0x1f1)][_0x414172(0x208)]='se');}),this[_0x15a343(0x1ff)]({'tag':_0x15a343(0x1fa),'attributes':{'class':['ck',_0x15a343(0x203),_0x15a343(0x1f6),_0x15a343(0x1f5),_0x2e32b0['if'](_0x15a343(0x1ef),_0x15a343(0x1fc))]},'children':[this[_0x15a343(0x205)]]});}}
23
+ function _0x1fed(){const _0x54c7b3=['855TBMBPB','inlineListView','5611495vEsFwT','set','3174777JlIfRp','2391692HqaHmH','70triUnj','5026BeyMlm','hasPopup','setTemplate','items','counterView','div','tooltipPosition','isCollapsed','listenTo','ck-reset','ck-presence-list','8354168YhsqfI','change','964489RVlMlM','ck-presence-list--collapsed','7rMoemE','first','ck-rounded-corners','600294OwLbQT','locale','bind','bindTemplate'];_0x1fed=function(){return _0x54c7b3;};return _0x1fed();}const _0x3a1064=_0x31ab;(function(_0x3e0e30,_0x57dee7){const _0x1ec473=_0x31ab,_0x1f7d3d=_0x3e0e30();while(!![]){try{const _0x3b019f=-parseInt(_0x1ec473(0x77))/0x1+-parseInt(_0x1ec473(0x87))/0x2*(-parseInt(_0x1ec473(0x80))/0x3)+parseInt(_0x1ec473(0x85))/0x4+-parseInt(_0x1ec473(0x82))/0x5+parseInt(_0x1ec473(0x7c))/0x6*(parseInt(_0x1ec473(0x79))/0x7)+-parseInt(_0x1ec473(0x75))/0x8+-parseInt(_0x1ec473(0x84))/0x9*(-parseInt(_0x1ec473(0x86))/0xa);if(_0x3b019f===_0x57dee7)break;else _0x1f7d3d['push'](_0x1f7d3d['shift']());}catch(_0x47aad5){_0x1f7d3d['push'](_0x1f7d3d['shift']());}}}(_0x1fed,0xb7b05));function _0x31ab(_0x4ef4e1,_0x4d2614){const _0x1fed84=_0x1fed();return _0x31ab=function(_0x31abfe,_0x1b411f){_0x31abfe=_0x31abfe-0x74;let _0x85ec84=_0x1fed84[_0x31abfe];return _0x85ec84;},_0x31ab(_0x4ef4e1,_0x4d2614);}import{View as _0x4702c5}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x4c352a}from'./presencecounterview.js';import{PresenceInlineListView as _0xa05478}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4702c5{[_0x3a1064(0x8b)];[_0x3a1064(0x81)];constructor(_0x3b8263,_0x56ac2d=0x6){const _0x543f22=_0x3a1064;super(_0x3b8263);const _0x455e62=this[_0x543f22(0x7f)];this[_0x543f22(0x83)](_0x543f22(0x8e),!0x0),this[_0x543f22(0x8b)]=new _0x4c352a(this[_0x543f22(0x7d)],_0x56ac2d),this[_0x543f22(0x81)]=new _0xa05478(_0x3b8263),this[_0x543f22(0x81)][_0x543f22(0x7e)](_0x543f22(0x88))['to'](this,_0x543f22(0x8e)),this[_0x543f22(0x8f)](this[_0x543f22(0x81)][_0x543f22(0x8a)],_0x543f22(0x76),()=>{const _0x4ee108=_0x543f22;for(const _0x2b7e5c of this[_0x4ee108(0x81)][_0x4ee108(0x8a)])_0x2b7e5c[_0x4ee108(0x8d)]='s';this[_0x4ee108(0x81)][_0x4ee108(0x8a)][_0x4ee108(0x7a)]&&(this[_0x4ee108(0x81)][_0x4ee108(0x8a)][_0x4ee108(0x7a)][_0x4ee108(0x8d)]='se');}),this[_0x543f22(0x89)]({'tag':_0x543f22(0x8c),'attributes':{'class':['ck',_0x543f22(0x74),_0x543f22(0x90),_0x543f22(0x7b),_0x455e62['if'](_0x543f22(0x8e),_0x543f22(0x78))]},'children':[this[_0x543f22(0x81)]]});}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1fdfbf=_0x4118;(function(_0x35c379,_0x353601){const _0x27f2b8=_0x4118,_0x32b4b3=_0x35c379();while(!![]){try{const _0x3a306b=-parseInt(_0x27f2b8(0x154))/0x1+-parseInt(_0x27f2b8(0x145))/0x2+parseInt(_0x27f2b8(0x129))/0x3*(parseInt(_0x27f2b8(0x146))/0x4)+-parseInt(_0x27f2b8(0x118))/0x5+-parseInt(_0x27f2b8(0x13f))/0x6*(-parseInt(_0x27f2b8(0x10f))/0x7)+parseInt(_0x27f2b8(0x109))/0x8*(-parseInt(_0x27f2b8(0x138))/0x9)+-parseInt(_0x27f2b8(0x160))/0xa*(-parseInt(_0x27f2b8(0x14d))/0xb);if(_0x3a306b===_0x353601)break;else _0x32b4b3['push'](_0x32b4b3['shift']());}catch(_0x1646b0){_0x32b4b3['push'](_0x32b4b3['shift']());}}}(_0x351b,0x46304));import{Context as _0x284db9,ContextPlugin as _0x429960}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d032b}from'ckeditor5/src/utils.js';import{Users as _0x498451}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4118(_0xa68c2a,_0x9e152b){const _0x351b9a=_0x351b();return _0x4118=function(_0x411870,_0x587eeb){_0x411870=_0x411870-0x104;let _0x15641c=_0x351b9a[_0x411870];return _0x15641c;},_0x4118(_0xa68c2a,_0x9e152b);}import{CommentsService as _0x21ffdf,User as _0x557ce5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xce8047}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x106ccb}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x429960{static [_0x1fdfbf(0x12c)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x21ffdf)());[_0x1fdfbf(0x16a)];static get[_0x1fdfbf(0x11e)](){const _0x556c2d=_0x1fdfbf;return[_0xce8047,_0x556c2d(0x151),_0x106ccb,_0x498451];}static get[_0x1fdfbf(0x112)](){const _0x240f1d=_0x1fdfbf;return _0x240f1d(0x140);}static get[_0x1fdfbf(0x106)](){return!0x0;}static get[_0x1fdfbf(0x144)](){return!0x0;}constructor(_0x362ff1){const _0x3ba6f3=_0x1fdfbf;super(_0x362ff1),this[_0x3ba6f3(0x16a)]=new Map();}async[_0x1fdfbf(0x12f)](){const _0xc45fc2=_0x1fdfbf,_0x50b4be=this[_0xc45fc2(0x131)],_0x23c826=_0x50b4be[_0xc45fc2(0x124)][_0xc45fc2(0x14a)](_0xc45fc2(0x151));if(_0x50b4be[_0xc45fc2(0x124)][_0xc45fc2(0x14a)](_0xce8047)[_0xc45fc2(0x167)](this),_0x23c826[_0xc45fc2(0x166)]={'addCommentThread':async({channelId:_0x38eb1b,threadId:_0x59b691,comments:_0x731cd,resolvedAt:_0x1d3464,resolvedBy:_0x10e84b,context:_0x1e0a1b,attributes:_0x2ae567})=>{const _0x355c81=_0xc45fc2,_0x4c6b7f=await this[_0x355c81(0x158)](_0x38eb1b)[_0x355c81(0x10b)]({'commentThreadId':_0x59b691,'comments':_0x731cd[_0x355c81(0x150)](_0x4499c1=>function(_0x713391,_0x3bc7f8,_0x250ff2){const _0x1cfbe8=_0x355c81;return{'commentThreadId':_0x250ff2,'commentId':_0x713391[_0x1cfbe8(0x15c)],'userId':_0x713391[_0x1cfbe8(0x147)],'content':_0x713391[_0x1cfbe8(0x12b)],'documentId':_0x3bc7f8,'createdAt':_0x713391[_0x1cfbe8(0x111)],'attributes':_0x713391[_0x1cfbe8(0x14e)]||{}};}(_0x4499c1,_0x38eb1b,_0x59b691)),'resolvedAt':_0x1d3464,'resolvedBy':_0x10e84b,'context':_0x1e0a1b,'attributes':_0x2ae567})[_0x355c81(0x161)](k);return{'threadId':_0x4c6b7f[_0x355c81(0x107)],'comments':_0x4c6b7f[_0x355c81(0x11b)]};},'getCommentThread':async({channelId:_0x33618e,threadId:_0x1c1506})=>{const _0x426156=_0xc45fc2,_0x121c93=await this[_0x426156(0x158)](_0x33618e)[_0x426156(0x12e)](_0x1c1506)[_0x426156(0x161)](F)[_0x426156(0x161)](k);return _0x121c93?_0x121c93[_0x426156(0x165)]?null:(await this[_0x426156(0x119)]([_0x121c93]),{'threadId':_0x121c93[_0x426156(0x107)],'comments':_0x121c93[_0x426156(0x11b)][_0x426156(0x150)](S),'context':_0x121c93[_0x426156(0x131)],'resolvedAt':_0x121c93[_0x426156(0x137)],'resolvedBy':_0x121c93[_0x426156(0x10a)],'attributes':_0x121c93[_0x426156(0x14e)]||{}}):null;},'updateCommentThread':async({channelId:_0x4bd23d,threadId:_0xa0bac9,context:_0x1692cd,unlinkedAt:_0x18fdb8,attributes:_0x457c9a})=>this[_0xc45fc2(0x158)](_0x4bd23d)[_0xc45fc2(0x105)]({'commentThreadId':_0xa0bac9,'context':_0x1692cd,'attributes':_0x457c9a,'unlinkedAt':_0x18fdb8})[_0xc45fc2(0x161)](F)[_0xc45fc2(0x161)](k),'resolveCommentThread':async({channelId:_0x5cd868,threadId:_0x38bb97})=>{const _0x15a5e3=_0xc45fc2,_0x464a45=await this[_0x15a5e3(0x158)](_0x5cd868)[_0x15a5e3(0x128)](_0x38bb97)[_0x15a5e3(0x161)](F)[_0x15a5e3(0x161)](k);return{'threadId':_0x464a45[_0x15a5e3(0x107)],'resolvedAt':_0x464a45[_0x15a5e3(0x137)],'resolvedBy':_0x464a45[_0x15a5e3(0x10a)]};},'reopenCommentThread':async({channelId:_0x142466,threadId:_0x15520e})=>this[_0xc45fc2(0x158)](_0x142466)[_0xc45fc2(0x168)](_0x15520e)[_0xc45fc2(0x161)](F)[_0xc45fc2(0x161)](k),'removeCommentThread':({channelId:_0x1fe628,threadId:_0x58173d})=>this[_0xc45fc2(0x158)](_0x1fe628)[_0xc45fc2(0x125)](_0x58173d)[_0xc45fc2(0x161)](F)[_0xc45fc2(0x161)](k),'addComment':({channelId:_0x22b019,threadId:_0x4f1373,commentId:_0x7d79e9,content:_0x2964e0,attributes:_0x5b1890})=>this[_0xc45fc2(0x158)](_0x22b019)[_0xc45fc2(0x156)](_0x4f1373,_0x7d79e9,_0x2964e0,_0x5b1890)[_0xc45fc2(0x161)](k),'updateComment':({channelId:_0x4ed4f3,threadId:_0x16cff1,commentId:_0x3b6c10,content:_0xf1971,attributes:_0x4581de})=>this[_0xc45fc2(0x158)](_0x4ed4f3)[_0xc45fc2(0x155)](_0x16cff1,_0x3b6c10,_0xf1971,_0x4581de)[_0xc45fc2(0x161)](F)[_0xc45fc2(0x161)](k),'removeComment':({channelId:_0x43e805,threadId:_0x4986d9,commentId:_0x27f785})=>this[_0xc45fc2(0x158)](_0x43e805)[_0xc45fc2(0x13b)](_0x4986d9,_0x27f785)[_0xc45fc2(0x161)](F)[_0xc45fc2(0x161)](k)},_0x50b4be instanceof _0x284db9){const _0x3b2e26=_0x50b4be[_0xc45fc2(0x163)][_0xc45fc2(0x14a)](_0xc45fc2(0x162)),_0x46a61e=_0x50b4be[_0xc45fc2(0x124)][_0xc45fc2(0x14a)](_0x106ccb);await this[_0xc45fc2(0x153)](_0x3b2e26);const _0x719c34=await this[_0xc45fc2(0x16a)][_0xc45fc2(0x14a)](_0x3b2e26)[_0xc45fc2(0x11a)]();this[_0xc45fc2(0x10d)](_0x46a61e,_0xc45fc2(0x116)+_0x3b2e26,(_0x45e77c,{session:_0x1945bf})=>{const _0x3b4f5d=_0xc45fc2;_0x1945bf['id']===_0x46a61e[_0x3b4f5d(0x133)]&&(_0x45e77c[_0x3b4f5d(0x164)](),this[_0x3b4f5d(0x131)][_0x3b4f5d(0x124)][_0x3b4f5d(0x14a)](_0x3b4f5d(0x12a))[_0x3b4f5d(0x152)](_0x1945bf[_0x3b4f5d(0x136)],_0x3b2e26));}),_0x46a61e[_0xc45fc2(0x143)](_0x3b2e26,_0x719c34);}}async[_0x1fdfbf(0x153)](_0x66ef98){const _0x5010cb=_0x1fdfbf;if(this[_0x5010cb(0x16a)][_0x5010cb(0x13a)](_0x66ef98))throw new _0x3d032b(_0x5010cb(0x14c),null,{'channelId':_0x66ef98});const _0x228d6d=this[_0x5010cb(0x131)][_0x5010cb(0x124)][_0x5010cb(0x14a)](_0x5010cb(0x151)),_0x4d857f=new CloudServicesCommentsAdapter[(_0x5010cb(0x12c))](_0x66ef98);this[_0x5010cb(0x16a)][_0x5010cb(0x115)](_0x66ef98,_0x4d857f),this[_0x5010cb(0x10d)](_0x4d857f,_0x5010cb(0x10c),(_0x6bb7f6,_0x1ad19a)=>{const _0x22ac61=_0x5010cb,{commentThreadId:_0x57e27c,documentId:_0x25c720,context:_0x308a91,attributes:_0x26e371,resolvedAt:_0x4cff48,resolvedBy:_0x513915,comments:_0x41fa38}=_0x1ad19a;_0x228d6d[_0x22ac61(0x12e)](_0x57e27c)||_0x228d6d[_0x22ac61(0x10b)]({'threadId':_0x57e27c,'channelId':_0x25c720,'comments':_0x41fa38?_0x41fa38[_0x22ac61(0x150)](S):[],'context':_0x308a91,'attributes':_0x26e371,'resolvedAt':_0x4cff48,'resolvedBy':_0x513915,'isFromAdapter':!0x0});}),this[_0x5010cb(0x10d)](_0x4d857f,_0x5010cb(0x134),(_0x29b467,{commentThreadId:_0x26535a,documentId:_0x50afef,context:_0x283fa9,unlinkedAt:_0x2dec4c,attributes:_0x13b295})=>{const _0xfff13a=_0x5010cb;_0x228d6d[_0xfff13a(0x12e)](_0x26535a)&&_0x228d6d[_0xfff13a(0x105)]({'threadId':_0x26535a,'channelId':_0x50afef,'context':_0x283fa9,'unlinkedAt':_0x2dec4c,'attributes':_0x13b295,'isFromAdapter':!0x0});}),this[_0x5010cb(0x10d)](_0x4d857f,_0x5010cb(0x13d),(_0x196586,{commentThreadId:_0x272c96,resolvedBy:_0x881b90,resolvedAt:_0x36225a})=>{const _0x10bda9=_0x5010cb,_0xb44d8d=_0x228d6d[_0x10bda9(0x12e)](_0x272c96);_0xb44d8d&&_0xb44d8d[_0x10bda9(0x142)]({'resolvedBy':_0x881b90,'resolvedAt':_0x36225a,'isFromAdapter':!0x0});}),this[_0x5010cb(0x10d)](_0x4d857f,_0x5010cb(0x117),(_0x14d83d,{commentThreadId:_0x13288d})=>{const _0x35326e=_0x5010cb,_0x4e60eb=_0x228d6d[_0x35326e(0x12e)](_0x13288d);_0x4e60eb&&_0x4e60eb[_0x35326e(0x13c)]({'isFromAdapter':!0x0});}),this[_0x5010cb(0x10d)](_0x4d857f,_0x5010cb(0x14f),(_0x5ef13b,{commentThreadId:_0x30ae41})=>{const _0x3b206e=_0x5010cb,_0x5e22df=_0x228d6d[_0x3b206e(0x12e)](_0x30ae41);_0x5e22df&&_0x5e22df[_0x3b206e(0x13e)]({'isFromAdapter':!0x0});}),this[_0x5010cb(0x10d)](_0x4d857f,_0x5010cb(0x110),(_0x20a48f,_0x2ec9d6)=>{const _0x4d2c75=_0x5010cb,_0xeb04d3=_0x2ec9d6[_0x4d2c75(0x107)],_0x121cf8=_0x228d6d[_0x4d2c75(0x12e)](_0xeb04d3);_0x121cf8&&_0x121cf8[_0x4d2c75(0x156)]({...S(_0x2ec9d6),'isFromAdapter':!0x0});}),this[_0x5010cb(0x10d)](_0x4d857f,_0x5010cb(0x108),(_0x53555b,{commentThreadId:_0x1a7461,commentId:_0x3bdb4a,content:_0x5d37d1,attributes:_0x5318e3})=>{const _0x50adbb=_0x5010cb,_0x269fdd=_0x228d6d[_0x50adbb(0x12e)](_0x1a7461);if(_0x269fdd){const _0x3cac24=_0x269fdd[_0x50adbb(0x11d)](_0x3bdb4a);_0x3cac24&&_0x3cac24[_0x50adbb(0x130)]({'content':_0x5d37d1,'attributes':_0x5318e3,'isFromAdapter':!0x0});}}),this[_0x5010cb(0x10d)](_0x4d857f,_0x5010cb(0x12d),(_0x2d3789,{commentThreadId:_0x283980,commentId:_0x1b1f84})=>{const _0x5729ad=_0x5010cb,_0x4f30bf=_0x228d6d[_0x5729ad(0x12e)](_0x283980);if(_0x4f30bf){const _0x2b47bc=_0x4f30bf[_0x5729ad(0x11d)](_0x1b1f84);_0x2b47bc&&_0x2b47bc[_0x5729ad(0x13e)]({'isFromAdapter':!0x0});}}),await this[_0x5010cb(0x148)](_0x66ef98);}[_0x1fdfbf(0x141)](){const _0x2e2ce3=_0x1fdfbf;if(this[_0x2e2ce3(0x131)]instanceof _0x284db9){const _0x7d38ec=this[_0x2e2ce3(0x131)][_0x2e2ce3(0x163)][_0x2e2ce3(0x14a)](_0x2e2ce3(0x162));this[_0x2e2ce3(0x113)](_0x7d38ec);}}[_0x1fdfbf(0x113)](_0x1c1468){const _0x480f70=_0x1fdfbf;if(!this[_0x480f70(0x16a)][_0x480f70(0x13a)](_0x1c1468))throw new _0x3d032b(_0x480f70(0x11f),null,{'channelId':_0x1c1468});this[_0x480f70(0x158)](_0x1c1468)[_0x480f70(0x15a)](),this[_0x480f70(0x16a)][_0x480f70(0x169)](_0x1c1468);}async[_0x1fdfbf(0x15f)](){const _0x340329=_0x1fdfbf;for(const _0x43fab0 of this[_0x340329(0x16a)][_0x340329(0x14b)]())await this[_0x340329(0x148)](_0x43fab0);if(this[_0x340329(0x131)]instanceof _0x284db9){const _0x4a564d=this[_0x340329(0x131)][_0x340329(0x163)][_0x340329(0x14a)](_0x340329(0x162)),_0x2e88e2=this[_0x340329(0x131)][_0x340329(0x124)][_0x340329(0x14a)](_0x106ccb);_0x2e88e2[_0x340329(0x139)](_0x4a564d);const _0x2d5a87=await this[_0x340329(0x16a)][_0x340329(0x14a)](_0x4a564d)[_0x340329(0x11a)]();_0x2e88e2[_0x340329(0x143)](_0x4a564d,_0x2d5a87);}}async[_0x1fdfbf(0x148)](_0x35478e){const _0x224507=_0x1fdfbf,{connection:_0x3557bc}=this[_0x224507(0x131)][_0x224507(0x124)][_0x224507(0x14a)](_0xce8047),_0x1ee5c1=this[_0x224507(0x131)][_0x224507(0x124)][_0x224507(0x14a)](_0x224507(0x151)),_0xa0cc7b=this[_0x224507(0x16a)][_0x224507(0x14a)](_0x35478e),_0x50d106=await _0xa0cc7b[_0x224507(0x127)](_0x3557bc);await this[_0x224507(0x119)](_0x50d106);const _0x419a29=new Set(Array[_0x224507(0x135)](_0x1ee5c1[_0x224507(0x121)]({'channelId':_0x35478e}),_0x165ca4=>_0x165ca4['id']));for(const _0xd31116 of _0x50d106)_0xd31116[_0x224507(0x165)]||_0x419a29[_0x224507(0x169)](_0xd31116[_0x224507(0x107)]);for(const _0x20c8d2 of _0x419a29)_0x1ee5c1[_0x224507(0x12e)](_0x20c8d2)[_0x224507(0x13e)]({'isFromAdapter':!0x0});for(const _0x254144 of _0x50d106){let _0x57b1bf=_0x1ee5c1[_0x224507(0x12e)](_0x254144[_0x224507(0x107)]);const {commentThreadId:_0x33aa26,context:_0x476fb7,attributes:_0x503234,resolvedBy:_0x598fd9,resolvedAt:_0x5da6c1,unlinkedAt:_0x259072,deletedAt:_0x3a2651}=_0x254144;if(_0x3a2651)continue;_0x57b1bf||(_0x57b1bf=_0x1ee5c1[_0x224507(0x10b)]({'channelId':_0x35478e,'threadId':_0x33aa26,'context':_0x476fb7,'attributes':_0x503234||{},'resolvedBy':_0x598fd9,'resolvedAt':_0x5da6c1,'unlinkedAt':_0x259072,'isFromAdapter':!0x0}));const _0x48b924=new Set(Array[_0x224507(0x135)](_0x57b1bf[_0x224507(0x11b)],_0x214af8=>_0x214af8['id']));for(const _0x5a32f3 of _0x254144[_0x224507(0x11b)])_0x48b924[_0x224507(0x169)](_0x5a32f3[_0x224507(0x15c)]);for(const _0x40be52 of _0x48b924)_0x57b1bf[_0x224507(0x11d)](_0x40be52)[_0x224507(0x13e)]({'isFromAdapter':!0x0});for(const _0x16f8d7 of _0x254144[_0x224507(0x11b)]){const _0x55966d=_0x57b1bf[_0x224507(0x11d)](_0x16f8d7[_0x224507(0x15c)]);_0x55966d?_0x55966d[_0x224507(0x12b)]!==_0x16f8d7[_0x224507(0x12b)]&&_0x55966d[_0x224507(0x130)]({'content':_0x16f8d7[_0x224507(0x12b)],'isFromAdapter':!0x0}):_0x57b1bf[_0x224507(0x156)](Object[_0x224507(0x123)](S(_0x16f8d7),{'isFromAdapter':!0x0}));}}}[_0x1fdfbf(0x158)](_0x17b9f5){const _0x187462=_0x1fdfbf;if(!this[_0x187462(0x16a)][_0x187462(0x13a)](_0x17b9f5))throw new _0x3d032b(_0x187462(0x11c),null,{'channelId':_0x17b9f5});return this[_0x187462(0x16a)][_0x187462(0x14a)](_0x17b9f5);}async[_0x1fdfbf(0x119)](_0x4b3579){const _0xa524e6=_0x1fdfbf,_0x30d4cd=this[_0xa524e6(0x131)][_0xa524e6(0x124)][_0xa524e6(0x14a)](_0x498451),{connection:_0x3b7432}=this[_0xa524e6(0x131)][_0xa524e6(0x124)][_0xa524e6(0x14a)](_0xce8047),_0x3179df=new Set();for(const {resolvedBy:_0x13d98c,comments:_0x1dcbcb}of _0x4b3579){_0x13d98c&&!_0x30d4cd[_0xa524e6(0x104)](_0x13d98c)&&_0x3179df[_0xa524e6(0x10e)](_0x13d98c);for(const {userId:_0x34f62d}of _0x1dcbcb)_0x30d4cd[_0xa524e6(0x104)](_0x34f62d)||_0x3179df[_0xa524e6(0x10e)](_0x34f62d);}if(0x0===_0x3179df[_0xa524e6(0x114)])return;const _0x5e1aaa=await _0x557ce5[_0xa524e6(0x157)](_0x3b7432,Array[_0xa524e6(0x135)](_0x3179df));for(const _0x1f2b79 of _0x5e1aaa)_0x30d4cd[_0xa524e6(0x104)](_0x1f2b79['id'])||_0x30d4cd[_0xa524e6(0x15b)](_0x1f2b79);}}async function F(_0x5828e0){const _0x55d44a=_0x1fdfbf;if(_0x55d44a(0x122)!==_0x5828e0[_0x55d44a(0x15e)])throw _0x5828e0;}function k(_0x418d49){const _0x107ad8=_0x1fdfbf;if((_0x12c1ba=_0x418d49)[_0x107ad8(0x120)][_0x107ad8(0x15d)](_0x107ad8(0x132))||_0x12c1ba[_0x107ad8(0x120)][_0x107ad8(0x15d)](_0x107ad8(0x159))||_0x12c1ba[_0x107ad8(0x120)][_0x107ad8(0x15d)](_0x107ad8(0x149)))return new Promise(()=>{});var _0x12c1ba;throw _0x418d49;}function _0x351b(){const _0x3b87cf=['comments','cloudservicescommentsadapter-service-not-exist','getComment','requires','cloudservicescommentsadapter-disconnect-not-exist','message','getCommentThreads','404','assign','plugins','removeCommentThread','userId','connect','resolveCommentThread','6882sPVTZi','Permissions','content','CommentsService','commentRemoved','getCommentThread','init','update','context','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','mySessionId','commentThreadUpdated','from','permissions','resolvedAt','5463TCMUpn','unregister','has','removeComment','reopen','commentThreadResolved','remove','355602SWPpEP','CloudServicesCommentsAdapter','destroy','resolve','register','isPremiumPlugin','1039500NhONBS','452vEIHaU','authorId','_connectService','cloud-services-internal-error:\x20Request\x20timeout.','get','keys','cloudservicescommentsadapter-connect-already-connected','12693131VmOJoM','attributes','commentThreadRemoved','map','CommentsRepository','setPermissions','_setUpService','455212rTZLWH','updateComment','addComment','getMany','_getService','cloud-services-internal-error:\x20Not\x20connected.','disconnect','addUser','commentId','startsWith','code','reconnect','10wMrrZK','catch','collaboration.channelId','config','off','deletedAt','adapter','addToReconnectionStack','reopenCommentThread','delete','_services','getUser','updateCommentThread','isOfficialPlugin','commentThreadId','commentUpdated','2920gDNBqF','resolvedBy','addCommentThread','commentThreadAdded','listenTo','add','49qlcmeg','commentAdded','createdAt','pluginName','_terminateService','size','set','sessionAdd:','commentThreadReopened','1720015UOINgq','_fetchMissingUsersForThreads','getConnectedSessions'];_0x351b=function(){return _0x3b87cf;};return _0x351b();}function S(_0x1d8109){const _0x4d0b80=_0x1fdfbf;return{'threadId':_0x1d8109[_0x4d0b80(0x107)],'commentId':_0x1d8109[_0x4d0b80(0x15c)],'content':_0x1d8109[_0x4d0b80(0x12b)],'createdAt':_0x1d8109[_0x4d0b80(0x111)],'authorId':_0x1d8109[_0x4d0b80(0x126)],'attributes':_0x1d8109[_0x4d0b80(0x14e)]||{}};}
23
+ const _0x37ee6e=_0x3f77;(function(_0x214fc1,_0x25c0a9){const _0x3b95b6=_0x3f77,_0x128504=_0x214fc1();while(!![]){try{const _0x41525c=parseInt(_0x3b95b6(0x11d))/0x1*(-parseInt(_0x3b95b6(0x140))/0x2)+-parseInt(_0x3b95b6(0x137))/0x3+-parseInt(_0x3b95b6(0x107))/0x4+-parseInt(_0x3b95b6(0x11a))/0x5+parseInt(_0x3b95b6(0x13c))/0x6*(parseInt(_0x3b95b6(0x157))/0x7)+-parseInt(_0x3b95b6(0x13a))/0x8*(-parseInt(_0x3b95b6(0x134))/0x9)+parseInt(_0x3b95b6(0x11f))/0xa*(parseInt(_0x3b95b6(0x145))/0xb);if(_0x41525c===_0x25c0a9)break;else _0x128504['push'](_0x128504['shift']());}catch(_0x3bb147){_0x128504['push'](_0x128504['shift']());}}}(_0x4a67,0xb5a19));import{Context as _0x1eb8b7,ContextPlugin as _0x58a4c4}from'ckeditor5/src/core.js';import{CKEditorError as _0x149284}from'ckeditor5/src/utils.js';import{Users as _0x58d09e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x130eb3,User as _0x4455c5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1177ca}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4b5ad0}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x58a4c4{static [_0x37ee6e(0x126)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x130eb3)());[_0x37ee6e(0x10b)];static get[_0x37ee6e(0x127)](){const _0x4b822e=_0x37ee6e;return[_0x1177ca,_0x4b822e(0x159),_0x4b5ad0,_0x58d09e];}static get[_0x37ee6e(0x133)](){const _0x5f19c4=_0x37ee6e;return _0x5f19c4(0x13e);}static get[_0x37ee6e(0x12c)](){return!0x0;}static get[_0x37ee6e(0xfb)](){return!0x0;}constructor(_0x24c8ec){const _0xf3933b=_0x37ee6e;super(_0x24c8ec),this[_0xf3933b(0x10b)]=new Map();}async[_0x37ee6e(0xfa)](){const _0x595ae4=_0x37ee6e,_0x5a2bd7=this[_0x595ae4(0x12e)],_0x2ab6d3=_0x5a2bd7[_0x595ae4(0x100)][_0x595ae4(0x13b)](_0x595ae4(0x159));if(_0x5a2bd7[_0x595ae4(0x100)][_0x595ae4(0x13b)](_0x1177ca)[_0x595ae4(0x14f)](this),_0x2ab6d3[_0x595ae4(0x125)]={'addCommentThread':async({channelId:_0x223449,threadId:_0x105731,comments:_0x27c715,resolvedAt:_0x1d8381,resolvedBy:_0x179e0b,context:_0x27daab,attributes:_0x28a108})=>{const _0x2be976=_0x595ae4,_0x3fd846=await this[_0x2be976(0x12d)](_0x223449)[_0x2be976(0x122)]({'commentThreadId':_0x105731,'comments':_0x27c715[_0x2be976(0x131)](_0xc4cac1=>function(_0x2a398a,_0x49d86c,_0x62970){const _0xd8ef3e=_0x2be976;return{'commentThreadId':_0x62970,'commentId':_0x2a398a[_0xd8ef3e(0x116)],'userId':_0x2a398a[_0xd8ef3e(0x138)],'content':_0x2a398a[_0xd8ef3e(0x104)],'documentId':_0x49d86c,'createdAt':_0x2a398a[_0xd8ef3e(0x118)],'attributes':_0x2a398a[_0xd8ef3e(0x108)]||{}};}(_0xc4cac1,_0x223449,_0x105731)),'resolvedAt':_0x1d8381,'resolvedBy':_0x179e0b,'context':_0x27daab,'attributes':_0x28a108})[_0x2be976(0x15c)](A);return{'threadId':_0x3fd846[_0x2be976(0x119)],'comments':_0x3fd846[_0x2be976(0xfe)]};},'getCommentThread':async({channelId:_0x392a72,threadId:_0x586f7a})=>{const _0x3f831e=_0x595ae4,_0x898c97=await this[_0x3f831e(0x12d)](_0x392a72)[_0x3f831e(0x149)](_0x586f7a)[_0x3f831e(0x15c)](f)[_0x3f831e(0x15c)](A);return _0x898c97?_0x898c97[_0x3f831e(0x143)]?null:(await this[_0x3f831e(0x129)]([_0x898c97]),{'threadId':_0x898c97[_0x3f831e(0x119)],'comments':_0x898c97[_0x3f831e(0xfe)][_0x3f831e(0x131)](p),'context':_0x898c97[_0x3f831e(0x12e)],'resolvedAt':_0x898c97[_0x3f831e(0x12b)],'resolvedBy':_0x898c97[_0x3f831e(0x102)],'attributes':_0x898c97[_0x3f831e(0x108)]||{}}):null;},'updateCommentThread':async({channelId:_0x5ca0aa,threadId:_0x54e14f,context:_0x5e431e,unlinkedAt:_0x719362,attributes:_0x23c446})=>this[_0x595ae4(0x12d)](_0x5ca0aa)[_0x595ae4(0x114)]({'commentThreadId':_0x54e14f,'context':_0x5e431e,'attributes':_0x23c446,'unlinkedAt':_0x719362})[_0x595ae4(0x15c)](f)[_0x595ae4(0x15c)](A),'resolveCommentThread':async({channelId:_0x263dd9,threadId:_0x21023c})=>{const _0x5bcffa=_0x595ae4,_0x2da762=await this[_0x5bcffa(0x12d)](_0x263dd9)[_0x5bcffa(0x151)](_0x21023c)[_0x5bcffa(0x15c)](f)[_0x5bcffa(0x15c)](A);return{'threadId':_0x2da762[_0x5bcffa(0x119)],'resolvedAt':_0x2da762[_0x5bcffa(0x12b)],'resolvedBy':_0x2da762[_0x5bcffa(0x102)]};},'reopenCommentThread':async({channelId:_0x5b18ca,threadId:_0x1d439a})=>this[_0x595ae4(0x12d)](_0x5b18ca)[_0x595ae4(0x153)](_0x1d439a)[_0x595ae4(0x15c)](f)[_0x595ae4(0x15c)](A),'removeCommentThread':({channelId:_0x22442a,threadId:_0x107281})=>this[_0x595ae4(0x12d)](_0x22442a)[_0x595ae4(0x154)](_0x107281)[_0x595ae4(0x15c)](f)[_0x595ae4(0x15c)](A),'addComment':({channelId:_0x3d254c,threadId:_0x705cbc,commentId:_0x58adc5,content:_0x45a7da,attributes:_0x5299c1})=>this[_0x595ae4(0x12d)](_0x3d254c)[_0x595ae4(0x121)](_0x705cbc,_0x58adc5,_0x45a7da,_0x5299c1)[_0x595ae4(0x15c)](A),'updateComment':({channelId:_0x11ea0b,threadId:_0x54a770,commentId:_0x5ce393,content:_0x338ef2,attributes:_0xc7fa37})=>this[_0x595ae4(0x12d)](_0x11ea0b)[_0x595ae4(0xff)](_0x54a770,_0x5ce393,_0x338ef2,_0xc7fa37)[_0x595ae4(0x15c)](f)[_0x595ae4(0x15c)](A),'removeComment':({channelId:_0x152f53,threadId:_0x3ff9f6,commentId:_0x4361a0})=>this[_0x595ae4(0x12d)](_0x152f53)[_0x595ae4(0x11e)](_0x3ff9f6,_0x4361a0)[_0x595ae4(0x15c)](f)[_0x595ae4(0x15c)](A)},_0x5a2bd7 instanceof _0x1eb8b7){const _0x59c9a7=_0x5a2bd7[_0x595ae4(0x144)][_0x595ae4(0x13b)](_0x595ae4(0x113)),_0x320f79=_0x5a2bd7[_0x595ae4(0x100)][_0x595ae4(0x13b)](_0x4b5ad0);await this[_0x595ae4(0x148)](_0x59c9a7);const _0x1baa55=await this[_0x595ae4(0x10b)][_0x595ae4(0x13b)](_0x59c9a7)[_0x595ae4(0x146)]();this[_0x595ae4(0xf8)](_0x320f79,_0x595ae4(0x156)+_0x59c9a7,(_0x198209,{session:_0x303e0e})=>{const _0x233ff1=_0x595ae4;_0x303e0e['id']===_0x320f79[_0x233ff1(0x12a)]&&(_0x198209[_0x233ff1(0x139)](),this[_0x233ff1(0x12e)][_0x233ff1(0x100)][_0x233ff1(0x13b)](_0x233ff1(0x135))[_0x233ff1(0x152)](_0x303e0e[_0x233ff1(0x128)],_0x59c9a7));}),_0x320f79[_0x595ae4(0x10a)](_0x59c9a7,_0x1baa55);}}async[_0x37ee6e(0x148)](_0x5f5367){const _0x454b95=_0x37ee6e;if(this[_0x454b95(0x10b)][_0x454b95(0x141)](_0x5f5367))throw new _0x149284(_0x454b95(0x11c),null,{'channelId':_0x5f5367});const _0x526579=this[_0x454b95(0x12e)][_0x454b95(0x100)][_0x454b95(0x13b)](_0x454b95(0x159)),_0x3e5d38=new CloudServicesCommentsAdapter[(_0x454b95(0x126))](_0x5f5367);this[_0x454b95(0x10b)][_0x454b95(0x10e)](_0x5f5367,_0x3e5d38),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x132),(_0x1f0066,_0x106e8d)=>{const _0xf88ff0=_0x454b95,{commentThreadId:_0xbf21c,documentId:_0x1c63b9,context:_0x1feda7,attributes:_0x15763b,resolvedAt:_0x355743,resolvedBy:_0x598936,comments:_0xd89431}=_0x106e8d;_0x526579[_0xf88ff0(0x149)](_0xbf21c)||_0x526579[_0xf88ff0(0x122)]({'threadId':_0xbf21c,'channelId':_0x1c63b9,'comments':_0xd89431?_0xd89431[_0xf88ff0(0x131)](p):[],'context':_0x1feda7,'attributes':_0x15763b,'resolvedAt':_0x355743,'resolvedBy':_0x598936,'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x112),(_0x4fd3ce,{commentThreadId:_0x40098f,documentId:_0x1b2355,context:_0x494bbf,unlinkedAt:_0x4f5bd4,attributes:_0x5eda31})=>{const _0x1f039a=_0x454b95;_0x526579[_0x1f039a(0x149)](_0x40098f)&&_0x526579[_0x1f039a(0x114)]({'threadId':_0x40098f,'channelId':_0x1b2355,'context':_0x494bbf,'unlinkedAt':_0x4f5bd4,'attributes':_0x5eda31,'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x150),(_0x3fce1d,{commentThreadId:_0x9e6074,resolvedBy:_0x34192c,resolvedAt:_0x1595a9})=>{const _0x19533e=_0x454b95,_0xead07b=_0x526579[_0x19533e(0x149)](_0x9e6074);_0xead07b&&_0xead07b[_0x19533e(0x158)]({'resolvedBy':_0x34192c,'resolvedAt':_0x1595a9,'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x10d),(_0x3d4e15,{commentThreadId:_0x1215b2})=>{const _0x499504=_0x454b95,_0x23638c=_0x526579[_0x499504(0x149)](_0x1215b2);_0x23638c&&_0x23638c[_0x499504(0x11b)]({'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x136),(_0x7ee91c,{commentThreadId:_0x3035fd})=>{const _0xf38633=_0x454b95,_0x42ecb2=_0x526579[_0xf38633(0x149)](_0x3035fd);_0x42ecb2&&_0x42ecb2[_0xf38633(0x12f)]({'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x105),(_0x17d75c,_0x3807a3)=>{const _0xbedfb8=_0x454b95,_0x3c4d9f=_0x3807a3[_0xbedfb8(0x119)],_0x3647d3=_0x526579[_0xbedfb8(0x149)](_0x3c4d9f);_0x3647d3&&_0x3647d3[_0xbedfb8(0x121)]({...p(_0x3807a3),'isFromAdapter':!0x0});}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x14b),(_0x2ada13,{commentThreadId:_0x52e064,commentId:_0x47a9a8,content:_0x5a808e,attributes:_0x1c0aa3})=>{const _0x136db6=_0x454b95,_0x1682f3=_0x526579[_0x136db6(0x149)](_0x52e064);if(_0x1682f3){const _0x4f46c4=_0x1682f3[_0x136db6(0x109)](_0x47a9a8);_0x4f46c4&&_0x4f46c4[_0x136db6(0x147)]({'content':_0x5a808e,'attributes':_0x1c0aa3,'isFromAdapter':!0x0});}}),this[_0x454b95(0xf8)](_0x3e5d38,_0x454b95(0x10f),(_0x6c012d,{commentThreadId:_0x5673bf,commentId:_0x230ca5})=>{const _0x4bea77=_0x454b95,_0x47cd7b=_0x526579[_0x4bea77(0x149)](_0x5673bf);if(_0x47cd7b){const _0x814d16=_0x47cd7b[_0x4bea77(0x109)](_0x230ca5);_0x814d16&&_0x814d16[_0x4bea77(0x12f)]({'isFromAdapter':!0x0});}}),await this[_0x454b95(0x111)](_0x5f5367);}[_0x37ee6e(0x14a)](){const _0x34128a=_0x37ee6e;if(this[_0x34128a(0x12e)]instanceof _0x1eb8b7){const _0x2d45ac=this[_0x34128a(0x12e)][_0x34128a(0x144)][_0x34128a(0x13b)](_0x34128a(0x113));this[_0x34128a(0x115)](_0x2d45ac);}}[_0x37ee6e(0x115)](_0x42d9d7){const _0x1a3073=_0x37ee6e;if(!this[_0x1a3073(0x10b)][_0x1a3073(0x141)](_0x42d9d7))throw new _0x149284(_0x1a3073(0x120),null,{'channelId':_0x42d9d7});this[_0x1a3073(0x12d)](_0x42d9d7)[_0x1a3073(0x142)](),this[_0x1a3073(0x10b)][_0x1a3073(0xf9)](_0x42d9d7);}async[_0x37ee6e(0x15e)](){const _0x3398a1=_0x37ee6e;for(const _0x50c2af of this[_0x3398a1(0x10b)][_0x3398a1(0x103)]())await this[_0x3398a1(0x111)](_0x50c2af);if(this[_0x3398a1(0x12e)]instanceof _0x1eb8b7){const _0xc64c61=this[_0x3398a1(0x12e)][_0x3398a1(0x144)][_0x3398a1(0x13b)](_0x3398a1(0x113)),_0x2d742b=this[_0x3398a1(0x12e)][_0x3398a1(0x100)][_0x3398a1(0x13b)](_0x4b5ad0);_0x2d742b[_0x3398a1(0x10c)](_0xc64c61);const _0x3ebf29=await this[_0x3398a1(0x10b)][_0x3398a1(0x13b)](_0xc64c61)[_0x3398a1(0x146)]();_0x2d742b[_0x3398a1(0x10a)](_0xc64c61,_0x3ebf29);}}async[_0x37ee6e(0x111)](_0xf13555){const _0x21404a=_0x37ee6e,{connection:_0x9b30b0}=this[_0x21404a(0x12e)][_0x21404a(0x100)][_0x21404a(0x13b)](_0x1177ca),_0x5d8a3a=this[_0x21404a(0x12e)][_0x21404a(0x100)][_0x21404a(0x13b)](_0x21404a(0x159)),_0xfb1353=this[_0x21404a(0x10b)][_0x21404a(0x13b)](_0xf13555),_0x29a741=await _0xfb1353[_0x21404a(0xfd)](_0x9b30b0);await this[_0x21404a(0x129)](_0x29a741);const _0xc84b7a=new Set(Array[_0x21404a(0x106)](_0x5d8a3a[_0x21404a(0xfc)]({'channelId':_0xf13555}),_0x1d3b78=>_0x1d3b78['id']));for(const _0x55999a of _0x29a741)_0x55999a[_0x21404a(0x143)]||_0xc84b7a[_0x21404a(0xf9)](_0x55999a[_0x21404a(0x119)]);for(const _0x274d0f of _0xc84b7a)_0x5d8a3a[_0x21404a(0x149)](_0x274d0f)[_0x21404a(0x12f)]({'isFromAdapter':!0x0});for(const _0x59f881 of _0x29a741){let _0x3f163d=_0x5d8a3a[_0x21404a(0x149)](_0x59f881[_0x21404a(0x119)]);const {commentThreadId:_0x3f9d02,context:_0x179bbb,attributes:_0x4e3684,resolvedBy:_0x329079,resolvedAt:_0x36e96e,unlinkedAt:_0xbb09bf,deletedAt:_0x5d4b31}=_0x59f881;if(_0x5d4b31)continue;_0x3f163d||(_0x3f163d=_0x5d8a3a[_0x21404a(0x122)]({'channelId':_0xf13555,'threadId':_0x3f9d02,'context':_0x179bbb,'attributes':_0x4e3684||{},'resolvedBy':_0x329079,'resolvedAt':_0x36e96e,'unlinkedAt':_0xbb09bf,'isFromAdapter':!0x0}));const _0x380d08=new Set(Array[_0x21404a(0x106)](_0x3f163d[_0x21404a(0xfe)],_0x50f105=>_0x50f105['id']));for(const _0x288eee of _0x59f881[_0x21404a(0xfe)])_0x380d08[_0x21404a(0xf9)](_0x288eee[_0x21404a(0x116)]);for(const _0x131f66 of _0x380d08)_0x3f163d[_0x21404a(0x109)](_0x131f66)[_0x21404a(0x12f)]({'isFromAdapter':!0x0});for(const _0x225dad of _0x59f881[_0x21404a(0xfe)]){const _0x3b439c=_0x3f163d[_0x21404a(0x109)](_0x225dad[_0x21404a(0x116)]);_0x3b439c?_0x3b439c[_0x21404a(0x104)]!==_0x225dad[_0x21404a(0x104)]&&_0x3b439c[_0x21404a(0x147)]({'content':_0x225dad[_0x21404a(0x104)],'isFromAdapter':!0x0}):_0x3f163d[_0x21404a(0x121)](Object[_0x21404a(0x15a)](p(_0x225dad),{'isFromAdapter':!0x0}));}}}[_0x37ee6e(0x12d)](_0x580aed){const _0x5edcd1=_0x37ee6e;if(!this[_0x5edcd1(0x10b)][_0x5edcd1(0x141)](_0x580aed))throw new _0x149284(_0x5edcd1(0x110),null,{'channelId':_0x580aed});return this[_0x5edcd1(0x10b)][_0x5edcd1(0x13b)](_0x580aed);}async[_0x37ee6e(0x129)](_0x420301){const _0x195571=_0x37ee6e,_0x227749=this[_0x195571(0x12e)][_0x195571(0x100)][_0x195571(0x13b)](_0x58d09e),{connection:_0x5eccb5}=this[_0x195571(0x12e)][_0x195571(0x100)][_0x195571(0x13b)](_0x1177ca),_0x37172e=new Set();for(const {resolvedBy:_0x532b17,comments:_0x179c18}of _0x420301){_0x532b17&&!_0x227749[_0x195571(0x130)](_0x532b17)&&_0x37172e[_0x195571(0x13d)](_0x532b17);for(const {userId:_0x52c2f4}of _0x179c18)_0x227749[_0x195571(0x130)](_0x52c2f4)||_0x37172e[_0x195571(0x13d)](_0x52c2f4);}if(0x0===_0x37172e[_0x195571(0x15b)])return;const _0x5b283b=await _0x4455c5[_0x195571(0x14d)](_0x5eccb5,Array[_0x195571(0x106)](_0x37172e));for(const _0x1ec726 of _0x5b283b)_0x227749[_0x195571(0x130)](_0x1ec726['id'])||_0x227749[_0x195571(0x117)](_0x1ec726);}}async function f(_0x17ee73){const _0x41ac37=_0x37ee6e;if(_0x41ac37(0x14c)!==_0x17ee73[_0x41ac37(0x13f)])throw _0x17ee73;}function A(_0x361f02){const _0x58b878=_0x37ee6e;if((_0x1ad026=_0x361f02)[_0x58b878(0x123)][_0x58b878(0x15d)](_0x58b878(0x101))||_0x1ad026[_0x58b878(0x123)][_0x58b878(0x15d)](_0x58b878(0x155))||_0x1ad026[_0x58b878(0x123)][_0x58b878(0x15d)](_0x58b878(0x124)))return new Promise(()=>{});var _0x1ad026;throw _0x361f02;}function _0x4a67(){const _0x2469bd=['commentRemoved','cloudservicescommentsadapter-service-not-exist','_connectService','commentThreadUpdated','collaboration.channelId','updateCommentThread','_terminateService','commentId','addUser','createdAt','commentThreadId','301015KiTZNa','reopen','cloudservicescommentsadapter-connect-already-connected','1141453dgnVZY','removeComment','1551990uSHaID','cloudservicescommentsadapter-disconnect-not-exist','addComment','addCommentThread','message','cloud-services-internal-error:\x20Request\x20timeout.','adapter','CommentsService','requires','permissions','_fetchMissingUsersForThreads','mySessionId','resolvedAt','isOfficialPlugin','_getService','context','remove','getUser','map','commentThreadAdded','pluginName','124074ebSVgv','Permissions','commentThreadRemoved','1165254wOpGhc','authorId','off','528vnBZWd','get','3414qtpuQa','add','CloudServicesCommentsAdapter','code','2btjqvj','has','disconnect','deletedAt','config','121sYUfFr','getConnectedSessions','update','_setUpService','getCommentThread','destroy','commentUpdated','404','getMany','userId','addToReconnectionStack','commentThreadResolved','resolveCommentThread','setPermissions','reopenCommentThread','removeCommentThread','cloud-services-internal-error:\x20Not\x20connected.','sessionAdd:','3122nSTXKI','resolve','CommentsRepository','assign','size','catch','startsWith','reconnect','listenTo','delete','init','isPremiumPlugin','getCommentThreads','connect','comments','updateComment','plugins','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','resolvedBy','keys','content','commentAdded','from','2147216VHAqPO','attributes','getComment','register','_services','unregister','commentThreadReopened','set'];_0x4a67=function(){return _0x2469bd;};return _0x4a67();}function _0x3f77(_0x217200,_0xe964b3){const _0x4a67d4=_0x4a67();return _0x3f77=function(_0x3f7759,_0x130af2){_0x3f7759=_0x3f7759-0xf8;let _0x2c6b59=_0x4a67d4[_0x3f7759];return _0x2c6b59;},_0x3f77(_0x217200,_0xe964b3);}function p(_0x330d80){const _0x2ffd60=_0x37ee6e;return{'threadId':_0x330d80[_0x2ffd60(0x119)],'commentId':_0x330d80[_0x2ffd60(0x116)],'content':_0x330d80[_0x2ffd60(0x104)],'createdAt':_0x330d80[_0x2ffd60(0x118)],'authorId':_0x330d80[_0x2ffd60(0x14e)],'attributes':_0x330d80[_0x2ffd60(0x108)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xfddf9c=_0xc61d;(function(_0x510372,_0x29fcbd){const _0x5616fa=_0xc61d,_0xb4a18e=_0x510372();while(!![]){try{const _0x25b5fd=parseInt(_0x5616fa(0x11f))/0x1*(-parseInt(_0x5616fa(0x1d8))/0x2)+parseInt(_0x5616fa(0xd4))/0x3+parseInt(_0x5616fa(0x172))/0x4+-parseInt(_0x5616fa(0x13f))/0x5+-parseInt(_0x5616fa(0x117))/0x6+-parseInt(_0x5616fa(0x156))/0x7*(-parseInt(_0x5616fa(0x135))/0x8)+parseInt(_0x5616fa(0x138))/0x9;if(_0x25b5fd===_0x29fcbd)break;else _0xb4a18e['push'](_0xb4a18e['shift']());}catch(_0x599b2f){_0xb4a18e['push'](_0xb4a18e['shift']());}}}(_0x4eaa,0xb152c));import{Plugin as _0x16bf69,PendingActions as _0x1fb71c}from'ckeditor5/src/core.js';import{CKEditorError as _0x90e06f,version as _0xe6109c,uid as _0x504e67}from'ckeditor5/src/utils.js';import{Notification as _0x55ab03}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x53fafa,NoOperation as _0x3eb1aa,InsertOperation as _0x393534,MarkerOperation as _0x2437e6,RootAttributeOperation as _0x59aaee,OperationFactory as _0x11cead,History as _0xa343f6}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x736f3b}from'./websocketgateway.js';import{Sessions as _0x17a103}from'./sessions.js';import{UserMarkers as _0x28c048}from'./usermarkers.js';function _0xc61d(_0x16841e,_0x32f9d5){const _0x4eaa1d=_0x4eaa();return _0xc61d=function(_0xc61dc8,_0x250247){_0xc61dc8=_0xc61dc8-0xd4;let _0x4feaf8=_0x4eaa1d[_0xc61dc8];return _0x4feaf8;},_0xc61d(_0x16841e,_0x32f9d5);}import{getTranslation as _0x3635c3}from'../common-translations.js';import{Compressor as _0x83cf51}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3d9151}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x223ee3,CollaborativeEditingService as _0x1ca2f5}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4eaa(){const _0x1b0286=['_isConnected','ready','cloud-services-internal-error:\x20Request\x20timeout.','operationsReceived','rtc-offline','get','realtimecollaborationclient-error','_operationToId','parse','string','newRange','document:write','reconnection:\x20flushed\x20session','PENDING_ACTION_SENDING_DATA','realtimecollaborationclient-init-session-connection-error','slice','lastOperationId','state','isOfficialPlugin','real-time-collaboration','return','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','define','marker','_setPendingAction','channelSessions','_authorId','_connectService','affectsData','addOperation','_bufferRootLoad','finally','suppressErrorInCollaboration','roots','forEach','_handleInitialConnectionData','getIdOfTheLastOperation','startsWith','_handleServerResponse','_ignoredOperations','selection','_fetchMissingUsers','getOperationAuthor','createUserMarkerOperations','_handleReconnectionResponse','removeFromReconnectionStack','insert','_addKnownRoot','Synchronization\x20issue','realtimecollaborationclient-handleserverresponse','_sendBufferedOperationsDelayed','getMany','length','_isDisconnection','change:hasDomSelection','disableReadOnlyMode','_disconnectService','disconnected','editing','createPositionAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','error','isUndoneOperation','_updateServerHistory','RealTimeCollaborationClient','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient','serverHistory','_knownRootNames','includes','requires','clone','version','_initThrowingOnDataSet','_channelId','_operationIdentifier','move','offset','listenTo','directChange','_setUpDataInit','root','CollaborativeEditingService','_sendBufferedOperationsDelayId','CommentsOnly','map','_knownOperations','stopListening','248BMzNTe','3058389xbjKZf','_currentBufferDelay','view','addToReconnectionStack','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.','currentDocumentSession','_refreshUserSelectionMarkers','_compressor','stop','affectedSelectable','realtimecollaborationclient-sendbufferedoperations','start','_disconnectionOperations','_saveOperationInBuffer','getUser','decompress','userId','Permissions','wereChangesApplied','_pendingAction','enqueueChange','isReadOnly','_initSessionsHandling','enableReadOnlyMode','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isLoaded','end','round','_lastServerVersion','entries','model','cloud-services-internal-error:\x20Not\x20connected.','_shouldSendSelectionUpdate','_isInit','rootsAttributes','sessionId','realtimecollaborationclient-init-service-incorrect-server-operation','loadRoot','multi-root-editor-root-attributes-no-root','409','_waitUntilSynced','_decompressOperations','targetPosition','realtimecollaborationclient-init-connection-failed','change:_isEditingAllowed','createdAt','metadata','sessionAdd:','_handleExternalOperations','_offset','realtimecollaborationclient-init-non-existent-root','collaboration-missing-channelid','bind','createPositionFromPath','_isAttached','isDocumentOperation','_hasSelectionChanged','high','sendOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','change:range','404','getDocumentDetails','push','collaboration','showWarning','_applyOperationsSet','7597014QEyVel','setIdForTheLastOperation','cloudDocumentVersion','init','mySessionId','unregister','_clearPendingAction','cs:removeUser','6823RbkMGq','sessionCreatedAt','fromJSON','editor','_bufferedOperations','batch','_hasSynchronizationProblem','permissions','InsertOperation','lastDocumentSession','register','createRoot','_isPendingUpdate','connection','code','rootName','getConnectedSessions','rtc-destroyed','data','attributes','apply','reconnect','2887832WtjAEV','path','wasUndone','15470028gvILVA','from','_document','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_baseBufferDelay','baseVersion','$root','2477295WTWFhB','_handleReconnectionError','plugins','message','_connectAfterSessionHasBeenFlushed','catch','set','getOperations','applyOperation','document','pluginName','add','addUser','isEnabled','disconnect','markers','history','remove','has','differ','connect','filter','_crash','7yRvUee','lastOperationAcceptedAt','getRoot','Notification','off','_isEditingAllowed','_getAffectedRoot','_handleSendingSelectionMarkers','keys','type','addRootAttribute','locale','_handleReceivedOperations','_service','_getOperationsFromInitData','_loadRoot','initData','_compressOperations','destroy','_shouldSendUpdate','fire','setPermissions','createRange','change:_isPendingUpdate','toJSON','_lastSyncedOperationId','reset','lastSyncVersion','938648AdrXgF','__className','size','realtimecollaborationclient-init-service-internal-error','addRoot','compress','connected','position','_sendBufferedOperations','config','isPremiumPlugin','collaboration.channelId','then','cloudServices.bundleVersion'];_0x4eaa=function(){return _0x1b0286;};return _0x4eaa();}let X=0x1;export class RealTimeCollaborationClient extends _0x16bf69{static [_0xfddf9c(0x1d2)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1ca2f5)());[_0xfddf9c(0x105)];[_0xfddf9c(0xf7)];[_0xfddf9c(0x1c3)];[_0xfddf9c(0x1ca)];[_0xfddf9c(0x163)];[_0xfddf9c(0x13a)];[_0xfddf9c(0xdb)];[_0xfddf9c(0x123)];[_0xfddf9c(0x1d6)];[_0xfddf9c(0x1c4)];[_0xfddf9c(0xe7)];[_0xfddf9c(0x10c)];[_0xfddf9c(0x1d3)];[_0xfddf9c(0x13c)];[_0xfddf9c(0xd5)];[_0xfddf9c(0x16f)];[_0xfddf9c(0xe0)];[_0xfddf9c(0x1cb)];static get[_0xfddf9c(0x1c6)](){return[_0x736f3b,_0x17a103,_0x28c048,_0x1fb71c,_0x3d9151,_0x55ab03];}static get[_0xfddf9c(0x149)](){const _0x160458=_0xfddf9c;return _0x160458(0x1c0);}static get[_0xfddf9c(0x192)](){return!0x0;}static get[_0xfddf9c(0x17c)](){return!0x0;}get[_0xfddf9c(0x119)](){const _0x51934e=_0xfddf9c;return this[_0x51934e(0xf0)]+this[_0x51934e(0x105)];}get[_0xfddf9c(0xf0)](){const _0x2c05a9=_0xfddf9c;return this[_0x2c05a9(0x1c3)][_0x2c05a9(0x1c8)]-this[_0x2c05a9(0x105)];}get[_0xfddf9c(0x171)](){const _0x18f235=_0xfddf9c,_0x5c606a=this[_0x18f235(0x1c3)][_0x18f235(0x146)]();for(let _0x4b7fc2=_0x5c606a[_0x18f235(0x1b4)]-0x1;_0x4b7fc2>=0x0;_0x4b7fc2--){const _0x261917=_0x5c606a[_0x4b7fc2];if(!this[_0x18f235(0xe0)][_0x18f235(0x151)](_0x261917))return _0x261917[_0x18f235(0x13d)]+0x1-this[_0x18f235(0x105)];}return 0x0;}constructor(_0x7d270){const _0x35dd6c=_0xfddf9c;if(super(_0x7d270),this[_0x35dd6c(0x105)]=0x0,this[_0x35dd6c(0xf7)]=null,this[_0x35dd6c(0x1c3)]=new _0xa343f6(),this[_0x35dd6c(0x122)][_0x35dd6c(0x17b)][_0x35dd6c(0x196)](_0x35dd6c(0x114),{}),this[_0x35dd6c(0x1ca)]=this[_0x35dd6c(0x122)][_0x35dd6c(0x17b)][_0x35dd6c(0x185)](_0x35dd6c(0x17d)),!this[_0x35dd6c(0x1ca)])throw new _0x90e06f(_0x35dd6c(0x107),this);const _0x9f686f=_0x7d270[_0x35dd6c(0x17b)][_0x35dd6c(0x185)](_0x35dd6c(0x17f))||_0xe6109c;this[_0x35dd6c(0x163)]=new RealTimeCollaborationClient[(_0x35dd6c(0x1d2))](_0x9f686f,this[_0x35dd6c(0x1ca)]),this[_0x35dd6c(0x13a)]=this[_0x35dd6c(0x122)][_0x35dd6c(0xf2)][_0x35dd6c(0x148)],this[_0x35dd6c(0xdb)]=new _0x83cf51(),this[_0x35dd6c(0x123)]=[],this[_0x35dd6c(0x1d6)]=new WeakSet(),this[_0x35dd6c(0x1c4)]=new Set(),this[_0x35dd6c(0x145)](_0x35dd6c(0x12b),!0x1),this[_0x35dd6c(0x145)](_0x35dd6c(0x125),!0x1),this[_0x35dd6c(0xe7)]=null,this[_0x35dd6c(0x10c)]=!0x1,this[_0x35dd6c(0x1d3)]=null,this[_0x35dd6c(0x13c)]=0x12c,this[_0x35dd6c(0xd5)]=this[_0x35dd6c(0x13c)],this[_0x35dd6c(0x16f)]=null,this[_0x35dd6c(0xe0)]=new WeakSet(),this[_0x35dd6c(0x1cb)]=new tt(this[_0x35dd6c(0xe0)]);}[_0xfddf9c(0x11a)](){const _0x33c98d=_0xfddf9c,_0x219ec1=this[_0x33c98d(0x122)],_0x24443c=_0x219ec1[_0x33c98d(0x141)][_0x33c98d(0x185)](_0x3d9151),_0x13a238=_0x219ec1[_0x33c98d(0x141)][_0x33c98d(0x185)](_0x736f3b);this[_0x33c98d(0x1ce)](_0x24443c,_0x33c98d(0x1aa),(_0x35bee3,_0x346043)=>{const _0x2976c1=_0x33c98d,_0xb130d1=_0x346043[0x0];_0xb130d1[_0x2976c1(0x19a)]&&(_0x35bee3[_0x2976c1(0x194)]=_0x24443c[_0x2976c1(0xe2)](_0xb130d1[_0x2976c1(0x19a)]),_0x35bee3[_0x2976c1(0xdc)]()),null===_0xb130d1[_0x2976c1(0x19a)]&&(_0x35bee3[_0x2976c1(0x194)]=null,_0x35bee3[_0x2976c1(0xdc)]());},{'priority':_0x33c98d(0x10d)}),this[_0x33c98d(0x1ce)](_0x219ec1[_0x33c98d(0xf2)][_0x33c98d(0x148)][_0x33c98d(0x1a8)],_0x33c98d(0x110),(_0x4b6654,_0x55a081)=>{const _0x48cf10=_0x33c98d;_0x55a081[_0x48cf10(0x1cf)]&&this[_0x48cf10(0xda)]();}),this[_0x33c98d(0x1ce)](_0x219ec1[_0x33c98d(0x1ba)][_0x33c98d(0xd6)],_0x33c98d(0x1b6),()=>{const _0xc7ffa0=_0x33c98d;this[_0xc7ffa0(0xda)]();}),this[_0x33c98d(0x1c9)](),_0x219ec1[_0x33c98d(0xf2)]['on'](_0x33c98d(0x147),(_0x58dd72,_0x2fb675)=>{const _0x5873bd=_0x33c98d,_0x11e4da=_0x2fb675[0x0];_0x11e4da[_0x5873bd(0x10b)]&&(this[_0x5873bd(0xe1)](_0x11e4da),this[_0x5873bd(0x169)]()&&this[_0x5873bd(0x1b2)]());}),this[_0x33c98d(0x1d0)](),this[_0x33c98d(0x108)](_0x33c98d(0x15b))['to'](_0x13a238,_0x33c98d(0x191),this,_0x33c98d(0x125),(_0x39a13b,_0x1bd3d5)=>_0x33c98d(0x178)===_0x39a13b&&!_0x1bd3d5),this['on'](_0x33c98d(0x100),()=>{const _0x2a9030=_0x33c98d;this[_0x2a9030(0x15b)]?_0x219ec1[_0x2a9030(0x1b7)](_0x2a9030(0x184)):_0x219ec1[_0x2a9030(0xeb)](_0x2a9030(0x184));}),this[_0x33c98d(0x15b)]?_0x219ec1[_0x33c98d(0x1b7)](_0x33c98d(0x184)):_0x219ec1[_0x33c98d(0xeb)](_0x33c98d(0x184)),this[_0x33c98d(0x145)](_0x33c98d(0x180),!0x1);}async[_0xfddf9c(0x134)](){const _0x25482e=_0xfddf9c,_0xbb88ef=this[_0x25482e(0x122)][_0x25482e(0x141)][_0x25482e(0x185)](_0x17a103),_0x5e8b5e=this[_0x25482e(0x122)][_0x25482e(0x141)][_0x25482e(0x185)](_0x736f3b);try{this[_0x25482e(0x12b)]=!0x0,_0xbb88ef[_0x25482e(0x11c)](this[_0x25482e(0x1ca)]);const _0x2d3c43=await this[_0x25482e(0x163)][_0x25482e(0x134)](_0x5e8b5e[_0x25482e(0x12c)],this[_0x25482e(0x171)]);await this[_0x25482e(0x1ac)](_0x2d3c43)&&(this[_0x25482e(0x12b)]=!0x1,this[_0x25482e(0x11d)]());const _0x13689a=await this[_0x25482e(0x163)][_0x25482e(0x12f)]();_0xbb88ef[_0x25482e(0x129)](this[_0x25482e(0x1ca)],_0x13689a),this[_0x25482e(0x15d)](),this[_0x25482e(0x180)]=!0x0;}catch(_0x4fbb5c){if(function(_0x4dca51){const _0x2b69a2=_0x25482e;return _0x2b69a2(0x111)===_0x4dca51[_0x2b69a2(0x12d)];}(_0x4fbb5c)&&this[_0x25482e(0xf7)])await this[_0x25482e(0x143)]();else{if(function(_0x215698){const _0x194e9e=_0x25482e;return _0x194e9e(0xfb)===_0x215698[_0x194e9e(0x12d)];}(_0x4fbb5c)){const _0x17027c=_0x3635c3(this[_0x25482e(0x122)][_0x25482e(0x161)],_0x25482e(0x195));this[_0x25482e(0x140)](_0x17027c);}else{if(!(_0x4fbb5c instanceof Y))throw _0x4fbb5c;this[_0x25482e(0x140)]();}}}}[_0xfddf9c(0x168)](){const _0x375239=_0xfddf9c,_0x42ef28=this[_0x375239(0x122)][_0x375239(0x141)][_0x375239(0x185)](_0x736f3b),_0x20c330=this[_0x375239(0x122)][_0x375239(0x141)][_0x375239(0x185)](_0x17a103);this[_0x375239(0x122)][_0x375239(0xeb)](_0x375239(0x130)),_0x20c330[_0x375239(0x199)][_0x375239(0x151)](this[_0x375239(0x1ca)])&&_0x20c330[_0x375239(0x11c)](this[_0x375239(0x1ca)]),_0x42ef28[_0x375239(0x1ad)](this),this[_0x375239(0x1b8)](),super[_0x375239(0x168)]();}async[_0xfddf9c(0x1ac)](_0x317313){const _0x1cba19=_0xfddf9c;if(this[_0x1cba19(0xf7)]!==_0x317313[_0x1cba19(0xf7)]&&this[_0x1cba19(0x16f)]!==_0x317313[_0x1cba19(0x190)])throw new Y();return this[_0x1cba19(0xf7)]=_0x317313[_0x1cba19(0xf7)],this[_0x1cba19(0x1a6)]([],{..._0x317313,'wereChangesApplied':!0x1,'data':_0x317313[_0x1cba19(0x131)]},_0x1cba19(0x134));}async[_0xfddf9c(0x19b)](_0x41e40b,_0x39fdc0=!0x1){const _0x93e089=_0xfddf9c,{connection:_0x16ade8}=this[_0x93e089(0x122)][_0x93e089(0x141)][_0x93e089(0x185)](_0x736f3b);RealTimeCollaborationClient[_0x93e089(0x1d2)][_0x93e089(0x12f)](_0x16ade8,this[_0x93e089(0x1ca)])[_0x93e089(0x17e)](_0x56aaca=>this[_0x93e089(0xea)](_0x56aaca))[_0x93e089(0x144)](_0x4b0e0d=>{const _0x54d65e=_0x93e089;this[_0x54d65e(0x155)](_0x54d65e(0x18e),_0x4b0e0d);}),this[_0x93e089(0x1ce)](this[_0x93e089(0x163)],_0x93e089(0x183),this[_0x93e089(0x162)][_0x93e089(0x108)](this)),this[_0x93e089(0x1ce)](this[_0x93e089(0x163)],_0x93e089(0x1bd),(_0x1dabc2,_0x59ec50)=>{const _0x14cfbf=_0x93e089;this[_0x14cfbf(0x155)](_0x14cfbf(0x175),_0x59ec50);}),this[_0x93e089(0x1ce)](this[_0x93e089(0x163)],_0x93e089(0x1b9),()=>{const _0x54f4ad=_0x93e089;this[_0x54f4ad(0x180)]=!0x1;});const _0x255a28=this[_0x93e089(0x1cb)][_0x93e089(0x1a4)](_0x41e40b);this[_0x93e089(0x12b)]=!0x0;const _0x1db222=await this[_0x93e089(0x163)][_0x93e089(0x153)](_0x16ade8,this[_0x93e089(0x167)](_0x41e40b),_0x255a28);if(this[_0x93e089(0xf7)]=_0x1db222[_0x93e089(0xf7)],_0x39fdc0){if(!_0x1db222[_0x93e089(0xe6)])return void this[_0x93e089(0x140)]();this[_0x93e089(0x12b)]=!0x1,this[_0x93e089(0x11d)](),this[_0x93e089(0x1c3)][_0x93e089(0x170)](),this[_0x93e089(0x105)]=_0x1db222[_0x93e089(0x1cd)],this[_0x93e089(0x1c3)][_0x93e089(0x1c8)]=this[_0x93e089(0x105)],await this[_0x93e089(0x1a6)](_0x41e40b,_0x1db222,_0x93e089(0x18c));}else await this[_0x93e089(0x1a3)](_0x1db222,_0x41e40b);this[_0x93e089(0x15d)](),this[_0x93e089(0x180)]=!0x0;}[_0xfddf9c(0x15d)](){const _0x2ec21d=_0xfddf9c,_0x3d59c0=this[_0x2ec21d(0x122)][_0x2ec21d(0x141)][_0x2ec21d(0x185)](_0x17a103),_0x3e843a=this[_0x2ec21d(0x122)][_0x2ec21d(0x141)][_0x2ec21d(0x185)](_0x28c048),_0x16c714=_0x3d59c0[_0x2ec21d(0x199)][_0x2ec21d(0x185)](this[_0x2ec21d(0x1ca)]);_0x16c714&&_0x16c714[_0x2ec21d(0x1b4)]>0x1?_0x3e843a[_0x2ec21d(0x1ab)]():this[_0x2ec21d(0x1ce)](_0x3d59c0,_0x2ec21d(0x103)+this[_0x2ec21d(0x1ca)],()=>{const _0x59e852=_0x2ec21d;0x2===_0x3d59c0[_0x59e852(0x199)][_0x59e852(0x185)](this[_0x59e852(0x1ca)])[_0x59e852(0x1b4)]&&_0x3e843a[_0x59e852(0x1ab)]();});}async[_0xfddf9c(0x162)](_0x191b1e,_0x3c3fc5,_0x253cb9,_0xdab5dd){const _0x437665=_0xfddf9c;if(!this[_0x437665(0x12b)]&&this[_0x437665(0x13a)][_0x437665(0x1c8)]==_0x3c3fc5){const _0x4e812d=this[_0x437665(0xfd)](_0x253cb9,_0xdab5dd);await this[_0x437665(0x1a9)](_0x4e812d),this[_0x437665(0x104)](_0x4e812d,_0x3c3fc5,_0x253cb9[_0x437665(0x190)])||this[_0x437665(0x155)](_0x437665(0xf8));}}async[_0xfddf9c(0x143)](){const _0x3977c9=_0xfddf9c;this[_0x3977c9(0x1b8)]();const {locale:_0x2a3341}=this[_0x3977c9(0x122)];let _0x42e4f8;try{_0x42e4f8=await this[_0x3977c9(0x163)][_0x3977c9(0x112)]();}catch{const _0x499f82=_0x3635c3(_0x2a3341,_0x3977c9(0x13b));return void this[_0x3977c9(0x140)](_0x499f82);}const _0x22ceb6=_0x42e4f8[_0x3977c9(0xd9)]||_0x42e4f8[_0x3977c9(0x128)];if(this[_0x3977c9(0x16f)]!==_0x22ceb6[_0x3977c9(0x190)]){const _0x3699b6=_0x3635c3(_0x2a3341,_0x3977c9(0xec));return void this[_0x3977c9(0x140)](_0x3699b6);}await this[_0x3977c9(0x19b)](this[_0x3977c9(0x122)][_0x3977c9(0xf2)][_0x3977c9(0x148)][_0x3977c9(0x14f)][_0x3977c9(0x146)](),!0x0);}[_0xfddf9c(0x1b8)](){const _0x4b316f=_0xfddf9c;this[_0x4b316f(0x163)][_0x4b316f(0x14d)](),this[_0x4b316f(0x123)]=[],clearTimeout(this[_0x4b316f(0x1d3)]),this[_0x4b316f(0x1d7)](this[_0x4b316f(0x163)]);}[_0xfddf9c(0xea)](_0x2d5b9b){const _0x562222=_0xfddf9c,_0x1c4fa1=this[_0x562222(0x122)][_0x562222(0x141)][_0x562222(0x185)](_0x17a103);this[_0x562222(0x1ce)](_0x1c4fa1,_0x562222(0x103)+this[_0x562222(0x1ca)],(_0x6967a0,{session:_0x726d81})=>{const _0x4372ac=_0x562222;if(_0x726d81['id']===_0x1c4fa1[_0x4372ac(0x11b)]){_0x6967a0[_0x4372ac(0x15a)]();const _0x29dc94=this[_0x4372ac(0x122)][_0x4372ac(0x141)][_0x4372ac(0x151)](_0x4372ac(0x1d4))&&this[_0x4372ac(0x122)][_0x4372ac(0x141)][_0x4372ac(0x185)](_0x4372ac(0x1d4));let _0x32dd52=_0x726d81[_0x4372ac(0x126)];_0x29dc94&&_0x29dc94[_0x4372ac(0x14c)]&&(_0x32dd52=_0x32dd52[_0x4372ac(0x154)](_0x2b0c32=>_0x4372ac(0x18b)!==_0x2b0c32)),this[_0x4372ac(0x122)][_0x4372ac(0x141)][_0x4372ac(0x185)](_0x4372ac(0xe5))[_0x4372ac(0x16b)](_0x32dd52,this[_0x4372ac(0x1ca)]);}}),_0x1c4fa1[_0x562222(0x129)](this[_0x562222(0x1ca)],_0x2d5b9b);}[_0xfddf9c(0x1c9)](){const _0x3a5b65=_0xfddf9c,_0x317dc5=this[_0x3a5b65(0x122)][_0x3a5b65(0x131)][_0x3a5b65(0x145)];this[_0x3a5b65(0x122)][_0x3a5b65(0x131)][_0x3a5b65(0x145)]=(..._0x5b857b)=>{const _0x13071f=_0x3a5b65;if(!_0x5b857b[_0x5b857b[_0x13071f(0x1b4)]-0x1][_0x13071f(0x1a0)])throw new _0x90e06f(_0x13071f(0x1bc),this);_0x317dc5[_0x13071f(0x133)](this[_0x13071f(0x122)][_0x13071f(0x131)],_0x5b857b);};}[_0xfddf9c(0x1d0)](){const _0x1a3743=_0xfddf9c;this[_0x1a3743(0x122)][_0x1a3743(0x131)]['on'](_0x1a3743(0x11a),(_0x53845e,[_0x5d9f1b])=>{const _0x39186b=_0x1a3743;if(this[_0x39186b(0x13a)][_0x39186b(0x1c8)])throw new _0x90e06f(_0x39186b(0x1c1),this);_0x53845e[_0x39186b(0xdc)](),this[_0x39186b(0x198)]();const _0x1b0deb=this[_0x39186b(0x122)][_0x39186b(0x17b)][_0x39186b(0x185)](_0x39186b(0xf6)),_0x6ba63a=this[_0x39186b(0x164)](_0x5d9f1b,_0x1b0deb);0x0==_0x6ba63a[_0x39186b(0x1b4)]&&_0x6ba63a[_0x39186b(0x113)](new _0x3eb1aa(0x0)),_0x53845e[_0x39186b(0x194)]=this[_0x39186b(0x19b)](_0x6ba63a)[_0x39186b(0x17e)](()=>{const _0xa876e9=_0x39186b;this[_0xa876e9(0x122)][_0xa876e9(0x141)][_0xa876e9(0x185)](_0x736f3b)[_0xa876e9(0xd7)](this),this[_0xa876e9(0x122)][_0xa876e9(0x131)][_0xa876e9(0x16a)](_0xa876e9(0x181));})[_0x39186b(0x144)](_0x2104cb=>this[_0x39186b(0x155)](_0x39186b(0xff),_0x2104cb))[_0x39186b(0x19f)](()=>this[_0x39186b(0x11d)]());},{'priority':_0x1a3743(0x10d)}),this[_0x1a3743(0x122)]['on'](_0x1a3743(0xf9),async(_0x2dda1a,[_0xe41aef,_0x4f8a7a])=>{const _0x4adc6d=_0x1a3743;_0x2dda1a[_0x4adc6d(0xdc)]();const _0x5b5166=this[_0x4adc6d(0x122)][_0x4adc6d(0xf2)][_0x4adc6d(0x148)][_0x4adc6d(0x158)](_0xe41aef);if(!this[_0x4adc6d(0x1c4)][_0x4adc6d(0x151)](_0xe41aef)){const _0x5a4ac4=_0x4f8a7a&&_0x4f8a7a[_0x4adc6d(0x131)]?_0x4f8a7a[_0x4adc6d(0x131)]:'',_0x7a3814=_0x4f8a7a&&_0x4f8a7a[_0x4adc6d(0x132)]?_0x4f8a7a[_0x4adc6d(0x132)]:{};await this[_0x4adc6d(0x165)](_0xe41aef,_0x5a4ac4,_0x7a3814);}this[_0x4adc6d(0x122)][_0x4adc6d(0xf2)][_0x4adc6d(0xe8)]({'isUndoable':!0x1},()=>{const _0x3a6cab=_0x4adc6d;_0x5b5166[_0x3a6cab(0xed)]=!0x0,this[_0x3a6cab(0x122)][_0x3a6cab(0xf2)][_0x3a6cab(0x148)][_0x3a6cab(0x152)][_0x3a6cab(0x19e)](_0x5b5166);});},{'priority':_0x1a3743(0x10d)});}async[_0xfddf9c(0x1a9)](_0x4553a8){const _0x545c98=_0xfddf9c,_0x1471b7=this[_0x545c98(0x122)][_0x545c98(0x141)][_0x545c98(0x185)](_0x3d9151),{connection:_0x15acce}=this[_0x545c98(0x122)][_0x545c98(0x141)][_0x545c98(0x185)](_0x736f3b),_0x3a3328=new Set();for(const _0x21ab15 of _0x4553a8){const _0x1d8a10=_0x21ab15[_0x545c98(0x19a)];_0x1d8a10&&!_0x1471b7[_0x545c98(0xe2)](_0x1d8a10)&&_0x3a3328[_0x545c98(0x14a)](_0x1d8a10);}if(0x0===_0x3a3328[_0x545c98(0x174)])return;const _0x137e6a=await _0x223ee3[_0x545c98(0x1b3)](_0x15acce,Array[_0x545c98(0x139)](_0x3a3328));for(const _0x55eba7 of _0x137e6a)_0x1471b7[_0x545c98(0xe2)](_0x55eba7['id'])||_0x1471b7[_0x545c98(0x14b)](_0x55eba7);}[_0xfddf9c(0x164)](_0x42deab,_0x54dca9={}){const _0x5f0479=_0xfddf9c,_0x15ca70=this[_0x5f0479(0x122)][_0x5f0479(0xf2)],_0x2afbf2=[];let _0x1ed201=0x0;const _0x1f04b2=_0x5f0479(0x189)==typeof _0x42deab?{'main':_0x42deab}:_0x42deab;for(const _0x585f1f of Object[_0x5f0479(0x15e)](_0x1f04b2)){if(!this[_0x5f0479(0x13a)][_0x5f0479(0x1a1)][_0x5f0479(0x151)](_0x585f1f))throw new _0x90e06f(_0x5f0479(0x106),this);const _0x1ccb89=this[_0x5f0479(0x122)][_0x5f0479(0x131)][_0x5f0479(0x188)](_0x1f04b2[_0x585f1f]),_0x4d53d7=this[_0x5f0479(0x13a)][_0x5f0479(0x158)](_0x585f1f),_0x4cb922=new _0x393534(_0x15ca70[_0x5f0479(0x1bb)](_0x4d53d7,0x0),_0x1ccb89,_0x1ed201++);_0x2afbf2[_0x5f0479(0x113)](_0x4cb922);for(const [_0x219069,_0x2bfa8e]of _0x1ccb89[_0x5f0479(0x14e)]){const _0x32da3a=_0x15ca70[_0x5f0479(0x16c)](_0x15ca70[_0x5f0479(0x109)](_0x4d53d7,_0x2bfa8e[_0x5f0479(0xdf)][_0x5f0479(0x136)][_0x5f0479(0x18f)]()),_0x15ca70[_0x5f0479(0x109)](_0x4d53d7,_0x2bfa8e[_0x5f0479(0xee)][_0x5f0479(0x136)][_0x5f0479(0x18f)]())),_0x491313=new _0x2437e6(_0x219069,null,_0x32da3a,_0x15ca70[_0x5f0479(0x14e)],!0x0,_0x1ed201++);_0x2afbf2[_0x5f0479(0x113)](_0x491313);}}if(_0x54dca9)for(const [_0x5af5cc,_0x141912]of Object[_0x5f0479(0xf1)](_0x54dca9)){const _0x273968=_0x15ca70[_0x5f0479(0x148)][_0x5f0479(0x158)](_0x5af5cc);if(!_0x273968)throw new _0x90e06f(_0x5f0479(0xfa),null);for(const [_0x1c6e99,_0x32568c]of Object[_0x5f0479(0xf1)](_0x141912))if(null!==_0x32568c){const _0x1ffc30=new _0x59aaee(_0x273968,_0x1c6e99,null,_0x32568c,_0x1ed201++);_0x2afbf2[_0x5f0479(0x113)](_0x1ffc30);}}return _0x2afbf2;}async[_0xfddf9c(0x165)](_0x1310fc,_0x5a33b4,_0x3917a3){const _0xa25e0c=_0xfddf9c;this[_0xa25e0c(0x164)]({[_0x1310fc]:_0x5a33b4},{[_0x1310fc]:_0x3917a3})[_0xa25e0c(0x1a2)]((_0x2c6d47,_0x377f92)=>{const _0x26ee9c=_0xa25e0c;_0x2c6d47[_0x26ee9c(0x13d)]=this[_0x26ee9c(0x13a)][_0x26ee9c(0x1c8)]+_0x377f92,_0x2c6d47[_0x26ee9c(0xf5)]=!0x0,this[_0x26ee9c(0xe1)](_0x2c6d47);}),this[_0xa25e0c(0x1b2)](),await this[_0xa25e0c(0xfc)]();}async[_0xfddf9c(0x1a3)](_0x11025e,_0x594536){const _0x491eb5=_0xfddf9c;let _0x60c70c;this[_0x491eb5(0x105)]=_0x11025e[_0x491eb5(0x1cd)];const _0x2cd429=_0x11025e[_0x491eb5(0xe6)]&&!_0x11025e[_0x491eb5(0x166)],_0x38cf1e=_0x2cd429?0x0:_0x11025e[_0x491eb5(0x131)][_0x491eb5(0x13d)];if(_0x594536[_0x491eb5(0x1a2)](_0x142bde=>{const _0x49ee09=_0x491eb5;_0x142bde[_0x49ee09(0xf5)]=!0x0,_0x142bde[_0x49ee09(0x101)]=_0x11025e[_0x49ee09(0x120)],_0x142bde[_0x49ee09(0x19a)]=null;}),_0x2cd429)_0x60c70c=_0x594536,this[_0x491eb5(0x116)](_0x60c70c,_0x2cd429);else{if(_0x11025e[_0x491eb5(0x166)]){const _0x11b3ed=this[_0x491eb5(0x164)](_0x11025e[_0x491eb5(0x166)]);this[_0x491eb5(0x13a)][_0x491eb5(0x14f)][_0x491eb5(0x1c8)]=-_0x11b3ed[_0x491eb5(0x1b4)],_0x11b3ed[_0x491eb5(0x1a2)](_0x1545a4=>{const _0x36c388=_0x491eb5;_0x1545a4[_0x36c388(0x13d)]-=_0x11b3ed[_0x36c388(0x1b4)],_0x1545a4[_0x36c388(0x101)]=_0x11025e[_0x36c388(0x120)],_0x1545a4[_0x36c388(0xf5)]=!0x0,_0x1545a4[_0x36c388(0x19a)]=null;}),this[_0x491eb5(0x116)](_0x11b3ed,!0x0),this[_0x491eb5(0x1c3)][_0x491eb5(0x1c8)]=-_0x11b3ed[_0x491eb5(0x1b4)]+this[_0x491eb5(0x105)],this[_0x491eb5(0x1bf)](_0x11b3ed);}this[_0x491eb5(0x13a)][_0x491eb5(0x14f)][_0x491eb5(0x1c8)]=_0x38cf1e,_0x60c70c=this[_0x491eb5(0xfd)](_0x11025e[_0x491eb5(0x131)],_0x11025e[_0x491eb5(0x102)]),await this[_0x491eb5(0x1a9)](_0x60c70c),this[_0x491eb5(0x116)](_0x60c70c,_0x2cd429);}_0x11025e[_0x491eb5(0x190)]&&(this[_0x491eb5(0x1cb)][_0x491eb5(0x118)](_0x60c70c,_0x11025e[_0x491eb5(0x190)]),this[_0x491eb5(0x16f)]=_0x11025e[_0x491eb5(0x190)]),this[_0x491eb5(0x1c3)][_0x491eb5(0x1c8)]=_0x38cf1e+this[_0x491eb5(0x105)],this[_0x491eb5(0x1bf)](_0x60c70c),_0x594536[_0x491eb5(0x154)](_0x4d6194=>{const _0x412a33=_0x491eb5,_0x46ca6a=this[_0x412a33(0x15c)](_0x4d6194);return _0x46ca6a&&!this[_0x412a33(0x1c4)][_0x412a33(0x151)](_0x46ca6a);})[_0x491eb5(0x1a2)]((_0x4fc915,_0x3c1a42)=>{const _0x472e12=_0x491eb5;_0x4fc915[_0x472e12(0x13d)]=this[_0x472e12(0x13a)][_0x472e12(0x1c8)]+_0x3c1a42,this[_0x472e12(0xe1)](_0x4fc915);}),this[_0x491eb5(0x169)]()?(this[_0x491eb5(0xd5)]=0x0,this[_0x491eb5(0x1b2)](!0x0),await this[_0x491eb5(0xfc)]()):(this[_0x491eb5(0x12b)]=!0x1,this[_0x491eb5(0x11d)]());}[_0xfddf9c(0x155)](_0x490252,_0x1d6021){const _0x36adfa=_0xfddf9c,_0x26fb6e=_0x1d6021&&_0x1d6021[_0x36adfa(0x142)];if(_0x26fb6e&&_0x26fb6e[_0x36adfa(0x1a5)](_0x36adfa(0x1c2)))throw _0x1d6021;const _0x266b2e=this[_0x36adfa(0x122)][_0x36adfa(0x141)][_0x36adfa(0x185)](_0x736f3b);throw this[_0x36adfa(0x12b)]=!0x0,_0x266b2e[_0x36adfa(0x14d)](),this[_0x36adfa(0x122)][_0x36adfa(0xeb)](_0x36adfa(0x186)),new _0x90e06f(_0x490252,this[_0x36adfa(0x122)],_0x26fb6e?{'originalError':_0x26fb6e}:void 0x0);}[_0xfddf9c(0xe1)](_0x24ec80){const _0x2748f6=_0xfddf9c;this[_0x2748f6(0x1d6)][_0x2748f6(0x151)](_0x24ec80)||(this[_0x2748f6(0x1d6)][_0x2748f6(0x14a)](_0x24ec80),this[_0x2748f6(0x123)][_0x2748f6(0x113)](_0x24ec80),this[_0x2748f6(0xe7)]||_0x2748f6(0x197)==_0x24ec80[_0x2748f6(0x15f)]&&!_0x24ec80[_0x2748f6(0x19c)]||this[_0x2748f6(0x198)]());}[_0xfddf9c(0x1b2)](_0x331d55=!0x1){const _0x565931=_0xfddf9c;!_0x331d55&&this[_0x565931(0x12b)]||(this[_0x565931(0x12b)]=!0x0,clearTimeout(this[_0x565931(0x1d3)]),this[_0x565931(0x1d3)]=setTimeout(()=>{const _0x3ed515=_0x565931;this[_0x3ed515(0x17a)]()[_0x3ed515(0x17e)](_0x488794=>{const _0x499f95=_0x3ed515;_0x488794&&(this[_0x499f95(0x11d)](),this[_0x499f95(0x12b)]=!0x1);})[_0x3ed515(0x144)](_0x1d4313=>{const _0x4444df=_0x3ed515;this[_0x4444df(0x11d)](),this[_0x4444df(0x12b)]=!0x1,function(_0x11c402){const _0x46fb18=_0x4444df;return _0x11c402[_0x46fb18(0x142)][_0x46fb18(0x1a5)](_0x46fb18(0xf3))||_0x11c402[_0x46fb18(0x142)][_0x46fb18(0x1a5)](_0x46fb18(0x10f))||_0x11c402[_0x46fb18(0x142)][_0x46fb18(0x1a5)](_0x46fb18(0x182));}(_0x1d4313)||this[_0x4444df(0x155)](_0x1d4313[_0x4444df(0x142)],_0x1d4313);});},this[_0x565931(0xd5)]));}[_0xfddf9c(0xfc)](){return new Promise(_0x8401c0=>{const _0xfb8f6b=_0xc61d;this['on'](_0xfb8f6b(0x16d),()=>{_0x8401c0();});});}async[_0xfddf9c(0x17a)](){const _0x275728=_0xfddf9c,_0x2cd5b9=this[_0x275728(0x122)][_0x275728(0x141)][_0x275728(0x185)](_0x28c048);if(this[_0x275728(0xf4)]()&&(_0x2cd5b9[_0x275728(0x1ab)](),this[_0x275728(0x10c)]=!0x1),!this[_0x275728(0x169)]())return!0x0;const _0x2c3ab0=[...this[_0x275728(0x123)]];for(const _0x3040ce of _0x2c3ab0)_0x3040ce[_0x275728(0x137)]=this[_0x275728(0x13a)][_0x275728(0x14f)][_0x275728(0x1be)](_0x3040ce);const _0x35227c=this[_0x275728(0x1cb)][_0x275728(0x1a4)](_0x2c3ab0),_0x361a77=X++,_0xb1a7da=this[_0x275728(0x167)](_0x2c3ab0),_0x497eef=await this[_0x275728(0x163)][_0x275728(0x10e)](_0xb1a7da,_0xb1a7da[_0x275728(0x13d)],_0x35227c);try{return await this[_0x275728(0x1a6)](_0x2c3ab0,_0x497eef,_0x361a77);}catch(_0x27d064){return this[_0x275728(0x155)](_0x275728(0xde),_0x27d064);}}async[_0xfddf9c(0x1a6)](_0x46727e,_0x1850ee,_0x4ecee1){const _0x278095=_0xfddf9c;if(_0x278095(0x1bd)in _0x1850ee)throw _0x1850ee[_0x278095(0x1bd)];let _0x55973d=!0x1;if(_0x1850ee[_0x278095(0xe6)]){_0x1850ee[_0x278095(0x190)]&&(this[_0x278095(0x16f)]=_0x1850ee[_0x278095(0x190)]),this[_0x278095(0x123)]=this[_0x278095(0x123)][_0x278095(0x154)](_0x255672=>!_0x46727e[_0x278095(0x1c5)](_0x255672));for(const _0x5a89e1 of _0x46727e)_0x5a89e1[_0x278095(0x101)]=_0x278095(0x157)in _0x1850ee&&_0x1850ee[_0x278095(0x157)]||void 0x0;Z(_0x46727e,_0x1850ee[_0x278095(0x1c8)]-_0x46727e[_0x278095(0x1b4)]),this[_0x278095(0x1bf)](_0x46727e);const _0x755d18=_0x46727e[_0x278095(0x154)](_0x4c0e1a=>{const _0x2e3c06=_0x278095;if(!_0x4c0e1a[_0x2e3c06(0xf5)])return!0x1;const _0x45eab2=this[_0x2e3c06(0x15c)](_0x4c0e1a);return _0x45eab2&&!this[_0x2e3c06(0x1c4)][_0x2e3c06(0x151)](_0x45eab2);});Z(_0x755d18,this[_0x278095(0x13a)][_0x278095(0x1c8)]),this[_0x278095(0x116)](_0x755d18),_0x55973d=!0x0,this[_0x278095(0xd5)]=this[_0x278095(0x13c)];}else{const _0x29ac68=this[_0x278095(0xfd)](_0x1850ee[_0x278095(0x131)],_0x1850ee[_0x278095(0x102)])[_0x278095(0x154)](_0x6e7f30=>_0x6e7f30[_0x278095(0x13d)]>=this[_0x278095(0xf0)]);_0x29ac68[_0x278095(0x1a2)](_0x554ccd=>this[_0x278095(0x1af)](_0x554ccd)),this[_0x278095(0x123)]=this[_0x278095(0x123)][_0x278095(0x154)](_0x15326a=>!_0x15326a[_0x278095(0xf5)]||!this[_0x278095(0x1c4)][_0x278095(0x151)](this[_0x278095(0x15c)](_0x15326a))),this[_0x278095(0x123)][_0x278095(0x1b4)]&&Z(this[_0x278095(0x123)],this[_0x278095(0x123)][0x0][_0x278095(0x13d)]),await this[_0x278095(0x1a9)](_0x29ac68),_0x55973d=this[_0x278095(0x104)](_0x29ac68,_0x1850ee[_0x278095(0x1c8)],_0x1850ee[_0x278095(0x190)]),this[_0x278095(0xd5)]=Math[_0x278095(0xef)](this[_0x278095(0xd5)]/0x2);}return _0x55973d?!this[_0x278095(0x169)]()||(this[_0x278095(0x1b2)](!0x0),!0x1):this[_0x278095(0x155)](_0x278095(0x1b1));}[_0xfddf9c(0x104)](_0x1da2b7,_0x3d184f,_0x4ed3ca){const _0x56fc56=_0xfddf9c;try{const _0x4d74a3={'document':this[_0x56fc56(0x13a)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x444a55,operationsB:_0x35f7f8,originalOperations:_0x57e3c9}=_0x53fafa(_0x1da2b7,this[_0x56fc56(0x123)],_0x4d74a3);Z(_0x444a55,this[_0x56fc56(0x13a)][_0x56fc56(0x1c8)]),Z(_0x35f7f8,_0x3d184f);for(const _0x445e07 of _0x444a55){const _0x2fc8f5=_0x57e3c9[_0x56fc56(0x185)](_0x445e07);_0x445e07[_0x56fc56(0x19a)]=_0x2fc8f5?_0x2fc8f5[_0x56fc56(0x19a)]:null;}_0x4ed3ca&&(this[_0x56fc56(0x1cb)][_0x56fc56(0x118)](_0x1da2b7,_0x4ed3ca),this[_0x56fc56(0x16f)]=_0x4ed3ca),this[_0x56fc56(0x123)]=[..._0x35f7f8],this[_0x56fc56(0x116)](_0x444a55),this[_0x56fc56(0x1bf)](_0x1da2b7);}catch(_0x180e94){return console[_0x56fc56(0x1bd)](_0x180e94),!0x1;}return!0x0;}[_0xfddf9c(0x116)](_0x3a48dc,_0x1a3655=!0x1){const _0x2ba1ce=_0xfddf9c;this[_0x2ba1ce(0x122)][_0x2ba1ce(0xf2)][_0x2ba1ce(0xe8)]({'isUndoable':!0x1,'isLocal':!0x1},_0xbf57f5=>{const _0x5d40c5=_0x2ba1ce;for(const _0x3d1bc7 of _0x3a48dc)this[_0x5d40c5(0x1d6)][_0x5d40c5(0x14a)](_0x3d1bc7),this[_0x5d40c5(0x1af)](_0x3d1bc7),_0xbf57f5[_0x5d40c5(0x124)][_0x5d40c5(0x19d)](_0x3d1bc7),this[_0x5d40c5(0x122)][_0x5d40c5(0xf2)][_0x5d40c5(0x147)](_0x3d1bc7);});}[_0xfddf9c(0x1af)](_0xc1d9d7){const _0xc0f4d4=_0xfddf9c,_0x263210=this[_0xc0f4d4(0x15c)](_0xc1d9d7);_0x263210&&this[_0xc0f4d4(0x1c4)][_0xc0f4d4(0x14a)](_0x263210);}[_0xfddf9c(0x15c)](_0x22dd6b){const _0x2df863=_0xfddf9c;let _0x5d77d8,_0x1b96f9;switch(_0x22dd6b[_0x2df863(0x15f)]){case _0x2df863(0x1ae):_0x5d77d8=_0x22dd6b[_0x2df863(0x179)][_0x2df863(0x1d1)];break;case _0x2df863(0x197):if(_0x1b96f9=_0x22dd6b[_0x2df863(0x18a)],!_0x1b96f9)return null;_0x5d77d8=_0x1b96f9[_0x2df863(0x1d1)];break;case _0x2df863(0x160):_0x5d77d8=_0x22dd6b[_0x2df863(0x1d1)];break;case _0x2df863(0x176):_0x5d77d8=_0x22dd6b[_0x2df863(0xdd)];break;case _0x2df863(0x1cc):_0x5d77d8=_0x22dd6b[_0x2df863(0xfe)][_0x2df863(0x1d1)];break;default:return null;}return _0x5d77d8[_0x2df863(0x12e)];}[_0xfddf9c(0x1bf)](_0x18174){const _0x720052=_0xfddf9c;_0x18174[_0x720052(0x1a2)](_0x358c9b=>{const _0x1b3deb=_0x720052,_0xc7c77a=_0x358c9b[_0x1b3deb(0x1c7)]();_0xc7c77a[_0x1b3deb(0x19a)]=_0x358c9b[_0x1b3deb(0x19a)],_0xc7c77a[_0x1b3deb(0xf5)]=!!_0x358c9b[_0x1b3deb(0xf5)],_0xc7c77a[_0x1b3deb(0x101)]=_0x358c9b[_0x1b3deb(0x101)],_0xc7c77a[_0x1b3deb(0x13d)]+=this[_0x1b3deb(0x105)],_0x358c9b[_0x1b3deb(0x1b5)]&&this[_0x1b3deb(0xe0)][_0x1b3deb(0x14a)](_0xc7c77a),this[_0x1b3deb(0x1c3)][_0x1b3deb(0x19d)](_0xc7c77a);});}[_0xfddf9c(0x140)](_0xaa633){const _0x3867e8=_0xfddf9c,_0x55412e=this[_0x3867e8(0x122)][_0x3867e8(0x141)][_0x3867e8(0x185)](_0x3867e8(0x159)),_0x4cba05=this[_0x3867e8(0x122)][_0x3867e8(0x161)];_0xaa633||(_0xaa633=_0x3635c3(_0x4cba05,_0x3867e8(0xd8))),_0x55412e[_0x3867e8(0x115)](_0xaa633,{'title':_0x3635c3(_0x4cba05,_0x3867e8(0x1b0)),'namespace':_0x3867e8(0x193)}),this[_0x3867e8(0x125)]=!0x0,clearTimeout(this[_0x3867e8(0x1d3)]),this[_0x3867e8(0x123)]=[],this[_0x3867e8(0x122)][_0x3867e8(0x141)][_0x3867e8(0x185)](_0x736f3b)[_0x3867e8(0x14d)]();}[_0xfddf9c(0x198)](){const _0x5deaf7=_0xfddf9c;this[_0x5deaf7(0xe7)]||(this[_0x5deaf7(0xe7)]=this[_0x5deaf7(0x122)][_0x5deaf7(0x141)][_0x5deaf7(0x185)](_0x1fb71c)[_0x5deaf7(0x14a)](_0x3635c3(this[_0x5deaf7(0x122)][_0x5deaf7(0x161)],_0x5deaf7(0x18d))));}[_0xfddf9c(0x11d)](){const _0x3b4486=_0xfddf9c;this[_0x3b4486(0xe7)]&&(this[_0x3b4486(0x122)][_0x3b4486(0x141)][_0x3b4486(0x185)](_0x1fb71c)[_0x3b4486(0x150)](this[_0x3b4486(0xe7)]),this[_0x3b4486(0xe7)]=null);}[_0xfddf9c(0x167)](_0x3f1744){const _0x1129bd=_0xfddf9c,_0x56f49f=_0x3f1744[_0x1129bd(0x1d5)](_0x2250d3=>_0x2250d3[_0x1129bd(0x16e)]());return this[_0x1129bd(0xdb)][_0x1129bd(0x177)](_0x56f49f);}[_0xfddf9c(0xfd)](_0x5b9eaf,_0x33689a){const _0x5fc81=_0xfddf9c;return this[_0x5fc81(0xdb)][_0x5fc81(0xe3)](_0x5b9eaf)[_0x5fc81(0x1d5)]((_0x141a24,_0xe4c680)=>{const _0x22bc02=_0x5fc81,_0x3609de=_0x22bc02(0x11a)==_0x33689a[_0xe4c680][_0x22bc02(0x15f)];if(_0x22bc02(0x127)==_0x141a24[_0x22bc02(0x173)]){const _0x3e3901=_0x141a24[_0x22bc02(0x179)][_0x22bc02(0x1d1)];!this[_0x22bc02(0x13a)][_0x22bc02(0x158)](_0x3e3901)&&(this[_0x22bc02(0x13a)][_0x22bc02(0x12a)](_0x22bc02(0x13e),_0x3e3901)[_0x22bc02(0x10a)]=!0x1);}const _0x505067=_0x11cead[_0x22bc02(0x121)](_0x141a24,this[_0x22bc02(0x13a)]);return _0x505067[_0x22bc02(0x137)]=_0x141a24[_0x22bc02(0x137)],_0x505067[_0x22bc02(0xf5)]=_0x3609de,_0x505067[_0x22bc02(0x19a)]=_0x3609de?null:_0x33689a[_0xe4c680][_0x22bc02(0xe4)],_0x505067[_0x22bc02(0x1b5)]=_0x22bc02(0x11e)===_0x33689a[_0xe4c680][_0x22bc02(0x15f)],_0x505067[_0x22bc02(0x101)]=_0x33689a[_0xe4c680][_0x22bc02(0x101)],_0x505067;});}[_0xfddf9c(0xda)](){const _0x21eae2=_0xfddf9c;this[_0x21eae2(0x10c)]=!0x0,this[_0x21eae2(0xf4)]()?this[_0x21eae2(0x1b2)]():this[_0x21eae2(0x10c)]=!0x1;}[_0xfddf9c(0xf4)](){const _0x2bf21d=_0xfddf9c,_0x2727b5=this[_0x2bf21d(0x122)][_0x2bf21d(0x141)][_0x2bf21d(0x185)](_0x17a103)[_0x2bf21d(0x199)][_0x2bf21d(0x185)](this[_0x2bf21d(0x1ca)]);return!this[_0x2bf21d(0x122)][_0x2bf21d(0xe9)]&&!!_0x2727b5&&_0x2727b5[_0x2bf21d(0x1b4)]>0x1&&this[_0x2bf21d(0x10c)];}[_0xfddf9c(0x169)](){const _0x250416=_0xfddf9c;return this[_0x250416(0x123)][_0x250416(0x1b4)]>0x0||this[_0x250416(0xf4)]();}}class Y extends Error{}function Z(_0x20ecdc,_0x2a0916){const _0x173736=_0xfddf9c;for(const _0x4ea43d of _0x20ecdc)_0x4ea43d[_0x173736(0x13d)]=_0x2a0916++;}class tt{[_0xfddf9c(0x1a7)];[_0xfddf9c(0x187)];constructor(_0x4a1a22){const _0x3b80a4=_0xfddf9c;this[_0x3b80a4(0x1a7)]=_0x4a1a22,this[_0x3b80a4(0x187)]=new WeakMap();}[_0xfddf9c(0x1a4)](_0x2e1ca3){const _0x3d5e3d=_0xfddf9c;let _0x46f848=_0x2e1ca3[_0x3d5e3d(0x1b4)];for(;_0x46f848--;){const _0x567aa9=_0x2e1ca3[_0x46f848];if(!this[_0x3d5e3d(0x1a7)][_0x3d5e3d(0x151)](_0x567aa9)){if(!this[_0x3d5e3d(0x187)][_0x3d5e3d(0x151)](_0x567aa9)){const _0x163176=_0x504e67()[_0x3d5e3d(0x18f)](0x1,0x12);this[_0x3d5e3d(0x187)][_0x3d5e3d(0x145)](_0x567aa9,_0x163176);}return this[_0x3d5e3d(0x187)][_0x3d5e3d(0x185)](_0x567aa9);}}}[_0xfddf9c(0x118)](_0x414ba3,_0x112785){const _0x4ed8f4=_0xfddf9c;if(!_0x112785)return;let _0x5b5b3d=_0x414ba3[_0x4ed8f4(0x1b4)];for(;_0x5b5b3d--;){const _0x45b57c=_0x414ba3[_0x5b5b3d];this[_0x4ed8f4(0x1a7)][_0x4ed8f4(0x151)](_0x45b57c)||this[_0x4ed8f4(0x187)][_0x4ed8f4(0x145)](_0x45b57c,_0x112785);}}}
23
+ const _0x4c2f90=_0xb467;(function(_0xcfadbd,_0x2c2f3f){const _0xb6d6f7=_0xb467,_0x2b07c2=_0xcfadbd();while(!![]){try{const _0x5d8c81=-parseInt(_0xb6d6f7(0x120))/0x1*(-parseInt(_0xb6d6f7(0x142))/0x2)+parseInt(_0xb6d6f7(0x207))/0x3+parseInt(_0xb6d6f7(0x14f))/0x4+-parseInt(_0xb6d6f7(0x1e6))/0x5*(parseInt(_0xb6d6f7(0x141))/0x6)+-parseInt(_0xb6d6f7(0x168))/0x7+parseInt(_0xb6d6f7(0x121))/0x8*(-parseInt(_0xb6d6f7(0x176))/0x9)+-parseInt(_0xb6d6f7(0x1cc))/0xa*(parseInt(_0xb6d6f7(0x17e))/0xb);if(_0x5d8c81===_0x2c2f3f)break;else _0x2b07c2['push'](_0x2b07c2['shift']());}catch(_0x326c50){_0x2b07c2['push'](_0x2b07c2['shift']());}}}(_0x1d48,0x99cd8));import{Plugin as _0x9a2cf6,PendingActions as _0x2ed9bb}from'ckeditor5/src/core.js';function _0xb467(_0x21b3c2,_0x1a2c38){const _0x1d488a=_0x1d48();return _0xb467=function(_0xb467d3,_0x2302b1){_0xb467d3=_0xb467d3-0x10e;let _0x273245=_0x1d488a[_0xb467d3];return _0x273245;},_0xb467(_0x21b3c2,_0x1a2c38);}import{CKEditorError as _0x5f1da6,version as _0xf30e5b,uid as _0x5db42c}from'ckeditor5/src/utils.js';import{Notification as _0x1e8d5f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x2e044e,NoOperation as _0x2614bd,InsertOperation as _0x3144d5,MarkerOperation as _0x36097e,RootAttributeOperation as _0x264554,OperationFactory as _0x55a088,History as _0x5a4289}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0xe0244f}from'./websocketgateway.js';import{Sessions as _0x1a8020}from'./sessions.js';import{UserMarkers as _0x907312}from'./usermarkers.js';import{getTranslation as _0x2dd504}from'../common-translations.js';import{Compressor as _0x42a01f}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x304b52}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4148c5,CollaborativeEditingService as _0x1dee05}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x9a2cf6{static [_0x4c2f90(0x174)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1dee05)());[_0x4c2f90(0x1e7)];[_0x4c2f90(0x1ae)];[_0x4c2f90(0x1d0)];[_0x4c2f90(0x112)];[_0x4c2f90(0x1eb)];[_0x4c2f90(0x1c5)];[_0x4c2f90(0x1b1)];[_0x4c2f90(0x1cf)];[_0x4c2f90(0x170)];[_0x4c2f90(0x18a)];[_0x4c2f90(0x161)];[_0x4c2f90(0x1c8)];[_0x4c2f90(0x1bb)];[_0x4c2f90(0x140)];[_0x4c2f90(0x14d)];[_0x4c2f90(0x18b)];[_0x4c2f90(0x1b7)];[_0x4c2f90(0x208)];static get[_0x4c2f90(0x12e)](){return[_0xe0244f,_0x1a8020,_0x907312,_0x2ed9bb,_0x304b52,_0x1e8d5f];}static get[_0x4c2f90(0x1a5)](){const _0x6dc601=_0x4c2f90;return _0x6dc601(0x1c3);}static get[_0x4c2f90(0x206)](){return!0x0;}static get[_0x4c2f90(0x118)](){return!0x0;}get[_0x4c2f90(0x190)](){const _0x1cf48b=_0x4c2f90;return this[_0x1cf48b(0x127)]+this[_0x1cf48b(0x1e7)];}get[_0x4c2f90(0x127)](){const _0x3195c6=_0x4c2f90;return this[_0x3195c6(0x1d0)][_0x3195c6(0x173)]-this[_0x3195c6(0x1e7)];}get[_0x4c2f90(0x182)](){const _0x4260aa=_0x4c2f90,_0x1b8d41=this[_0x4260aa(0x1d0)][_0x4260aa(0x16e)]();for(let _0x45cf56=_0x1b8d41[_0x4260aa(0x1a4)]-0x1;_0x45cf56>=0x0;_0x45cf56--){const _0x5deef5=_0x1b8d41[_0x45cf56];if(!this[_0x4260aa(0x1b7)][_0x4260aa(0x1c1)](_0x5deef5))return _0x5deef5[_0x4260aa(0x18d)]+0x1-this[_0x4260aa(0x1e7)];}return 0x0;}constructor(_0x2bc582){const _0x27aaa2=_0x4c2f90;if(super(_0x2bc582),this[_0x27aaa2(0x1e7)]=0x0,this[_0x27aaa2(0x1ae)]=null,this[_0x27aaa2(0x1d0)]=new _0x5a4289(),this[_0x27aaa2(0x1ef)][_0x27aaa2(0x166)][_0x27aaa2(0x1ac)](_0x27aaa2(0x175),{}),this[_0x27aaa2(0x112)]=this[_0x27aaa2(0x1ef)][_0x27aaa2(0x166)][_0x27aaa2(0x1e5)](_0x27aaa2(0x1a8)),!this[_0x27aaa2(0x112)])throw new _0x5f1da6(_0x27aaa2(0x178),this);const _0x1b7fc1=_0x2bc582[_0x27aaa2(0x166)][_0x27aaa2(0x1e5)](_0x27aaa2(0x185))||_0xf30e5b;this[_0x27aaa2(0x1eb)]=new RealTimeCollaborationClient[(_0x27aaa2(0x174))](_0x1b7fc1,this[_0x27aaa2(0x112)]),this[_0x27aaa2(0x1c5)]=this[_0x27aaa2(0x1ef)][_0x27aaa2(0x15d)][_0x27aaa2(0x169)],this[_0x27aaa2(0x1b1)]=new _0x42a01f(),this[_0x27aaa2(0x1cf)]=[],this[_0x27aaa2(0x170)]=new WeakSet(),this[_0x27aaa2(0x18a)]=new Set(),this[_0x27aaa2(0x1b5)](_0x27aaa2(0x198),!0x1),this[_0x27aaa2(0x1b5)](_0x27aaa2(0x17b),!0x1),this[_0x27aaa2(0x161)]=null,this[_0x27aaa2(0x1c8)]=!0x1,this[_0x27aaa2(0x1bb)]=null,this[_0x27aaa2(0x140)]=0x12c,this[_0x27aaa2(0x14d)]=this[_0x27aaa2(0x140)],this[_0x27aaa2(0x18b)]=null,this[_0x27aaa2(0x1b7)]=new WeakSet(),this[_0x27aaa2(0x208)]=new J(this[_0x27aaa2(0x1b7)]);}[_0x4c2f90(0x1c9)](){const _0x92bce9=_0x4c2f90,_0x215857=this[_0x92bce9(0x1ef)],_0x365d7b=_0x215857[_0x92bce9(0x1d7)][_0x92bce9(0x1e5)](_0x304b52),_0x5bd200=_0x215857[_0x92bce9(0x1d7)][_0x92bce9(0x1e5)](_0xe0244f);this[_0x92bce9(0x154)](_0x365d7b,_0x92bce9(0x213),(_0x13438d,_0x2db94c)=>{const _0x1d1005=_0x92bce9,_0xeec53b=_0x2db94c[0x0];_0xeec53b[_0x1d1005(0x15e)]&&(_0x13438d[_0x1d1005(0x19c)]=_0x365d7b[_0x1d1005(0x1f1)](_0xeec53b[_0x1d1005(0x15e)]),_0x13438d[_0x1d1005(0x113)]()),null===_0xeec53b[_0x1d1005(0x15e)]&&(_0x13438d[_0x1d1005(0x19c)]=null,_0x13438d[_0x1d1005(0x113)]());},{'priority':_0x92bce9(0x1e8)}),this[_0x92bce9(0x154)](_0x215857[_0x92bce9(0x15d)][_0x92bce9(0x169)][_0x92bce9(0x10e)],_0x92bce9(0x1bd),(_0x126c18,_0x33b0bf)=>{const _0x20b369=_0x92bce9;_0x33b0bf[_0x20b369(0x203)]&&this[_0x20b369(0x189)]();}),this[_0x92bce9(0x154)](_0x215857[_0x92bce9(0x1ca)][_0x92bce9(0x1ec)],_0x92bce9(0x191),()=>{const _0x5e4b21=_0x92bce9;this[_0x5e4b21(0x189)]();}),this[_0x92bce9(0x200)](),_0x215857[_0x92bce9(0x15d)]['on'](_0x92bce9(0x1d9),(_0x507846,_0x4438a7)=>{const _0x1fcf36=_0x92bce9,_0x336d11=_0x4438a7[0x0];_0x336d11[_0x1fcf36(0x20f)]&&(this[_0x1fcf36(0x1de)](_0x336d11),this[_0x1fcf36(0x196)]()&&this[_0x1fcf36(0x186)]());}),this[_0x92bce9(0x1d6)](),this[_0x92bce9(0x1e9)](_0x92bce9(0x1ea))['to'](_0x5bd200,_0x92bce9(0x17c),this,_0x92bce9(0x17b),(_0x48b8c8,_0x2303d8)=>_0x92bce9(0x1a3)===_0x48b8c8&&!_0x2303d8),this['on'](_0x92bce9(0x1dc),()=>{const _0x1ee116=_0x92bce9;this[_0x1ee116(0x1ea)]?_0x215857[_0x1ee116(0x149)](_0x1ee116(0x1a1)):_0x215857[_0x1ee116(0x17a)](_0x1ee116(0x1a1));}),this[_0x92bce9(0x1ea)]?_0x215857[_0x92bce9(0x149)](_0x92bce9(0x1a1)):_0x215857[_0x92bce9(0x17a)](_0x92bce9(0x1a1)),this[_0x92bce9(0x1b5)](_0x92bce9(0x1e3),!0x1);}async[_0x4c2f90(0x212)](){const _0x177d83=_0x4c2f90,_0x1ed6fa=this[_0x177d83(0x1ef)][_0x177d83(0x1d7)][_0x177d83(0x1e5)](_0x1a8020),_0x2d7104=this[_0x177d83(0x1ef)][_0x177d83(0x1d7)][_0x177d83(0x1e5)](_0xe0244f);try{this[_0x177d83(0x198)]=!0x0,_0x1ed6fa[_0x177d83(0x129)](this[_0x177d83(0x112)]);const _0x58aa26=await this[_0x177d83(0x1eb)][_0x177d83(0x212)](_0x2d7104[_0x177d83(0x150)],this[_0x177d83(0x182)]);await this[_0x177d83(0x1f2)](_0x58aa26)&&(this[_0x177d83(0x198)]=!0x1,this[_0x177d83(0x1cd)]());const _0xf28196=await this[_0x177d83(0x1eb)][_0x177d83(0x157)]();_0x1ed6fa[_0x177d83(0x1b0)](this[_0x177d83(0x112)],_0xf28196),this[_0x177d83(0x1aa)](),this[_0x177d83(0x1e3)]=!0x0;}catch(_0x476e7d){if(function(_0x134f92){const _0x364ed2=_0x177d83;return _0x364ed2(0x205)===_0x134f92[_0x364ed2(0x1b4)];}(_0x476e7d)&&this[_0x177d83(0x1ae)])await this[_0x177d83(0x1b9)]();else{if(function(_0x43d5ab){const _0x5cc338=_0x177d83;return _0x5cc338(0x17f)===_0x43d5ab[_0x5cc338(0x1b4)];}(_0x476e7d)){const _0x3c0c9b=_0x2dd504(this[_0x177d83(0x1ef)][_0x177d83(0x16b)],_0x177d83(0x1c0));this[_0x177d83(0x19a)](_0x3c0c9b);}else{if(!(_0x476e7d instanceof $))throw _0x476e7d;this[_0x177d83(0x19a)]();}}}}[_0x4c2f90(0x165)](){const _0x389d45=_0x4c2f90,_0x15d10b=this[_0x389d45(0x1ef)][_0x389d45(0x1d7)][_0x389d45(0x1e5)](_0xe0244f),_0x19c571=this[_0x389d45(0x1ef)][_0x389d45(0x1d7)][_0x389d45(0x1e5)](_0x1a8020);this[_0x389d45(0x1ef)][_0x389d45(0x17a)](_0x389d45(0x1a9)),_0x19c571[_0x389d45(0x14c)][_0x389d45(0x1c1)](this[_0x389d45(0x112)])&&_0x19c571[_0x389d45(0x129)](this[_0x389d45(0x112)]),_0x15d10b[_0x389d45(0x13f)](this),this[_0x389d45(0x155)](),super[_0x389d45(0x165)]();}async[_0x4c2f90(0x1f2)](_0x1e2c67){const _0x5b6ae3=_0x4c2f90;if(this[_0x5b6ae3(0x1ae)]!==_0x1e2c67[_0x5b6ae3(0x1ae)]&&this[_0x5b6ae3(0x18b)]!==_0x1e2c67[_0x5b6ae3(0x143)])throw new $();return this[_0x5b6ae3(0x1ae)]=_0x1e2c67[_0x5b6ae3(0x1ae)],this[_0x5b6ae3(0x211)]([],{..._0x1e2c67,'wereChangesApplied':!0x1,'data':_0x1e2c67[_0x5b6ae3(0x194)]},_0x5b6ae3(0x212));}async[_0x4c2f90(0x17d)](_0x59e830,_0x23f294=!0x1){const _0x40b4d1=_0x4c2f90,{connection:_0x53e7d9}=this[_0x40b4d1(0x1ef)][_0x40b4d1(0x1d7)][_0x40b4d1(0x1e5)](_0xe0244f);RealTimeCollaborationClient[_0x40b4d1(0x174)][_0x40b4d1(0x157)](_0x53e7d9,this[_0x40b4d1(0x112)])[_0x40b4d1(0x1ff)](_0x49f705=>this[_0x40b4d1(0x111)](_0x49f705))[_0x40b4d1(0x145)](_0x496343=>{const _0x1f2610=_0x40b4d1;this[_0x1f2610(0x209)](_0x1f2610(0x126),_0x496343);}),this[_0x40b4d1(0x154)](this[_0x40b4d1(0x1eb)],_0x40b4d1(0x12c),this[_0x40b4d1(0x1b6)][_0x40b4d1(0x1e9)](this)),this[_0x40b4d1(0x154)](this[_0x40b4d1(0x1eb)],_0x40b4d1(0x1d2),(_0x12b8fd,_0x153a04)=>{const _0x20fd97=_0x40b4d1;this[_0x20fd97(0x209)](_0x20fd97(0x187),_0x153a04);}),this[_0x40b4d1(0x154)](this[_0x40b4d1(0x1eb)],_0x40b4d1(0x117),()=>{const _0x34a1f8=_0x40b4d1;this[_0x34a1f8(0x1e3)]=!0x1;});const _0x47080b=this[_0x40b4d1(0x208)][_0x40b4d1(0x184)](_0x59e830);this[_0x40b4d1(0x198)]=!0x0;const _0x567318=await this[_0x40b4d1(0x1eb)][_0x40b4d1(0x18e)](_0x53e7d9,this[_0x40b4d1(0x1a7)](_0x59e830),_0x47080b);if(this[_0x40b4d1(0x1ae)]=_0x567318[_0x40b4d1(0x1ae)],_0x23f294){if(!_0x567318[_0x40b4d1(0x18f)])return void this[_0x40b4d1(0x19a)]();this[_0x40b4d1(0x198)]=!0x1,this[_0x40b4d1(0x1cd)](),this[_0x40b4d1(0x1d0)][_0x40b4d1(0x20c)](),this[_0x40b4d1(0x1e7)]=_0x567318[_0x40b4d1(0x188)],this[_0x40b4d1(0x1d0)][_0x40b4d1(0x173)]=this[_0x40b4d1(0x1e7)],await this[_0x40b4d1(0x211)](_0x59e830,_0x567318,_0x40b4d1(0x1cb));}else await this[_0x40b4d1(0x147)](_0x567318,_0x59e830);this[_0x40b4d1(0x1aa)](),this[_0x40b4d1(0x1e3)]=!0x0;}[_0x4c2f90(0x1aa)](){const _0x23f92e=_0x4c2f90,_0x3b2fcd=this[_0x23f92e(0x1ef)][_0x23f92e(0x1d7)][_0x23f92e(0x1e5)](_0x1a8020),_0x3a0a9a=this[_0x23f92e(0x1ef)][_0x23f92e(0x1d7)][_0x23f92e(0x1e5)](_0x907312),_0x242ec4=_0x3b2fcd[_0x23f92e(0x14c)][_0x23f92e(0x1e5)](this[_0x23f92e(0x112)]);_0x242ec4&&_0x242ec4[_0x23f92e(0x1a4)]>0x1?_0x3a0a9a[_0x23f92e(0x1d1)]():this[_0x23f92e(0x154)](_0x3b2fcd,_0x23f92e(0x1f3)+this[_0x23f92e(0x112)],()=>{const _0x4a0f3c=_0x23f92e;0x2===_0x3b2fcd[_0x4a0f3c(0x14c)][_0x4a0f3c(0x1e5)](this[_0x4a0f3c(0x112)])[_0x4a0f3c(0x1a4)]&&_0x3a0a9a[_0x4a0f3c(0x1d1)]();});}async[_0x4c2f90(0x1b6)](_0x19f334,_0x3c7966,_0x4c7ea,_0x227da0){const _0x443abd=_0x4c2f90;if(!this[_0x443abd(0x198)]&&this[_0x443abd(0x1c5)][_0x443abd(0x173)]==_0x3c7966){const _0x3a3ca5=this[_0x443abd(0x195)](_0x4c7ea,_0x227da0);await this[_0x443abd(0x210)](_0x3a3ca5),this[_0x443abd(0x1f8)](_0x3a3ca5,_0x3c7966,_0x4c7ea[_0x443abd(0x143)])||this[_0x443abd(0x209)](_0x443abd(0x137));}}async[_0x4c2f90(0x1b9)](){const _0x395c71=_0x4c2f90;this[_0x395c71(0x155)]();const {locale:_0x2f549a}=this[_0x395c71(0x1ef)];let _0x20c410;try{_0x20c410=await this[_0x395c71(0x1eb)][_0x395c71(0x11f)]();}catch{const _0x338fe2=_0x2dd504(_0x2f549a,_0x395c71(0x13d));return void this[_0x395c71(0x19a)](_0x338fe2);}const _0x7e4adc=_0x20c410[_0x395c71(0x1ee)]||_0x20c410[_0x395c71(0x163)];if(this[_0x395c71(0x18b)]!==_0x7e4adc[_0x395c71(0x143)]){const _0x543b99=_0x2dd504(_0x2f549a,_0x395c71(0x164));return void this[_0x395c71(0x19a)](_0x543b99);}await this[_0x395c71(0x17d)](this[_0x395c71(0x1ef)][_0x395c71(0x15d)][_0x395c71(0x169)][_0x395c71(0x1b3)][_0x395c71(0x16e)](),!0x0);}[_0x4c2f90(0x155)](){const _0x28d27f=_0x4c2f90;this[_0x28d27f(0x1eb)][_0x28d27f(0x1fe)](),this[_0x28d27f(0x1cf)]=[],clearTimeout(this[_0x28d27f(0x1bb)]),this[_0x28d27f(0x11e)](this[_0x28d27f(0x1eb)]);}[_0x4c2f90(0x111)](_0x5b1f87){const _0x334c36=_0x4c2f90,_0x1a914f=this[_0x334c36(0x1ef)][_0x334c36(0x1d7)][_0x334c36(0x1e5)](_0x1a8020);this[_0x334c36(0x154)](_0x1a914f,_0x334c36(0x1f3)+this[_0x334c36(0x112)],(_0x46be3d,{session:_0x4f44f7})=>{const _0x5b65cf=_0x334c36;if(_0x4f44f7['id']===_0x1a914f[_0x5b65cf(0x202)]){_0x46be3d[_0x5b65cf(0x1d5)]();const _0x32c589=this[_0x5b65cf(0x1ef)][_0x5b65cf(0x1d7)][_0x5b65cf(0x1c1)](_0x5b65cf(0x1f5))&&this[_0x5b65cf(0x1ef)][_0x5b65cf(0x1d7)][_0x5b65cf(0x1e5)](_0x5b65cf(0x1f5));let _0x6341c0=_0x4f44f7[_0x5b65cf(0x20d)];_0x32c589&&_0x32c589[_0x5b65cf(0x1dd)]&&(_0x6341c0=_0x6341c0[_0x5b65cf(0x151)](_0x122159=>_0x5b65cf(0x1db)!==_0x122159)),this[_0x5b65cf(0x1ef)][_0x5b65cf(0x1d7)][_0x5b65cf(0x1e5)](_0x5b65cf(0x15b))[_0x5b65cf(0x171)](_0x6341c0,this[_0x5b65cf(0x112)]);}}),_0x1a914f[_0x334c36(0x1b0)](this[_0x334c36(0x112)],_0x5b1f87);}[_0x4c2f90(0x200)](){const _0x200e9c=_0x4c2f90,_0x1b413f=this[_0x200e9c(0x1ef)][_0x200e9c(0x194)][_0x200e9c(0x1b5)];this[_0x200e9c(0x1ef)][_0x200e9c(0x194)][_0x200e9c(0x1b5)]=(..._0x40a933)=>{const _0x1c6d8d=_0x200e9c;if(!_0x40a933[_0x40a933[_0x1c6d8d(0x1a4)]-0x1][_0x1c6d8d(0x1f7)])throw new _0x5f1da6(_0x1c6d8d(0x119),this);_0x1b413f[_0x1c6d8d(0x132)](this[_0x1c6d8d(0x1ef)][_0x1c6d8d(0x194)],_0x40a933);};}[_0x4c2f90(0x1d6)](){const _0x2e5cdc=_0x4c2f90;this[_0x2e5cdc(0x1ef)][_0x2e5cdc(0x194)]['on'](_0x2e5cdc(0x1c9),(_0x3f9ff2,[_0x46132c])=>{const _0x3d3501=_0x2e5cdc;if(this[_0x3d3501(0x1c5)][_0x3d3501(0x173)])throw new _0x5f1da6(_0x3d3501(0x181),this);_0x3f9ff2[_0x3d3501(0x113)](),this[_0x3d3501(0x1fb)]();const _0xf2d7db=this[_0x3d3501(0x1ef)][_0x3d3501(0x166)][_0x3d3501(0x1e5)](_0x3d3501(0x136)),_0x1da450=this[_0x3d3501(0x1af)](_0x46132c,_0xf2d7db);0x0==_0x1da450[_0x3d3501(0x1a4)]&&_0x1da450[_0x3d3501(0x1bf)](new _0x2614bd(0x0)),_0x3f9ff2[_0x3d3501(0x19c)]=this[_0x3d3501(0x17d)](_0x1da450)[_0x3d3501(0x1ff)](()=>{const _0x41cdb2=_0x3d3501;this[_0x41cdb2(0x1ef)][_0x41cdb2(0x1d7)][_0x41cdb2(0x1e5)](_0xe0244f)[_0x41cdb2(0x110)](this),this[_0x41cdb2(0x1ef)][_0x41cdb2(0x194)][_0x41cdb2(0x1bc)](_0x41cdb2(0x146));})[_0x3d3501(0x145)](_0x5ca5ad=>this[_0x3d3501(0x209)](_0x3d3501(0x19b),_0x5ca5ad))[_0x3d3501(0x1f6)](()=>this[_0x3d3501(0x1cd)]());},{'priority':_0x2e5cdc(0x1e8)}),this[_0x2e5cdc(0x1ef)]['on'](_0x2e5cdc(0x1fd),async(_0x8a8cbb,[_0x461b78,_0x1e947e])=>{const _0x9d5d4=_0x2e5cdc;_0x8a8cbb[_0x9d5d4(0x113)]();const _0x63346e=this[_0x9d5d4(0x1ef)][_0x9d5d4(0x15d)][_0x9d5d4(0x169)][_0x9d5d4(0x199)](_0x461b78);if(!this[_0x9d5d4(0x18a)][_0x9d5d4(0x1c1)](_0x461b78)){const _0x587666=_0x1e947e&&_0x1e947e[_0x9d5d4(0x194)]?_0x1e947e[_0x9d5d4(0x194)]:'',_0x30a40b=_0x1e947e&&_0x1e947e[_0x9d5d4(0x128)]?_0x1e947e[_0x9d5d4(0x128)]:{};await this[_0x9d5d4(0x1a0)](_0x461b78,_0x587666,_0x30a40b);}this[_0x9d5d4(0x1ef)][_0x9d5d4(0x15d)][_0x9d5d4(0x193)]({'isUndoable':!0x1},()=>{const _0x5405e7=_0x9d5d4;_0x63346e[_0x5405e7(0x130)]=!0x0,this[_0x5405e7(0x1ef)][_0x5405e7(0x15d)][_0x5405e7(0x169)][_0x5405e7(0x214)][_0x5405e7(0x13c)](_0x63346e);});},{'priority':_0x2e5cdc(0x1e8)});}async[_0x4c2f90(0x210)](_0x486c44){const _0x595285=_0x4c2f90,_0x583c57=this[_0x595285(0x1ef)][_0x595285(0x1d7)][_0x595285(0x1e5)](_0x304b52),{connection:_0x28d90a}=this[_0x595285(0x1ef)][_0x595285(0x1d7)][_0x595285(0x1e5)](_0xe0244f),_0x1bc579=new Set();for(const _0x33f2e0 of _0x486c44){const _0x2d4e39=_0x33f2e0[_0x595285(0x15e)];_0x2d4e39&&!_0x583c57[_0x595285(0x1f1)](_0x2d4e39)&&_0x1bc579[_0x595285(0x1fa)](_0x2d4e39);}if(0x0===_0x1bc579[_0x595285(0x1fc)])return;const _0x101146=await _0x4148c5[_0x595285(0x152)](_0x28d90a,Array[_0x595285(0x1a2)](_0x1bc579));for(const _0x1a2861 of _0x101146)_0x583c57[_0x595285(0x1f1)](_0x1a2861['id'])||_0x583c57[_0x595285(0x15a)](_0x1a2861);}[_0x4c2f90(0x1af)](_0x3224a6,_0x457b16={}){const _0x3bc649=_0x4c2f90,_0x30097d=this[_0x3bc649(0x1ef)][_0x3bc649(0x15d)],_0x5da050=[];let _0x4cebc8=0x0;const _0x260041=_0x3bc649(0x183)==typeof _0x3224a6?{'main':_0x3224a6}:_0x3224a6;for(const _0x589711 of Object[_0x3bc649(0x123)](_0x260041)){if(!this[_0x3bc649(0x1c5)][_0x3bc649(0x139)][_0x3bc649(0x1c1)](_0x589711))throw new _0x5f1da6(_0x3bc649(0x1df),this);const _0x323958=this[_0x3bc649(0x1ef)][_0x3bc649(0x194)][_0x3bc649(0x19e)](_0x260041[_0x589711]),_0x3c4f5e=this[_0x3bc649(0x1c5)][_0x3bc649(0x199)](_0x589711),_0x4c2e32=new _0x3144d5(_0x30097d[_0x3bc649(0x135)](_0x3c4f5e,0x0),_0x323958,_0x4cebc8++);_0x5da050[_0x3bc649(0x1bf)](_0x4c2e32);for(const [_0x1af019,_0x48111b]of _0x323958[_0x3bc649(0x1ce)]){const _0xcfe310=_0x30097d[_0x3bc649(0x162)](_0x30097d[_0x3bc649(0x1c7)](_0x3c4f5e,_0x48111b[_0x3bc649(0x13b)][_0x3bc649(0x159)][_0x3bc649(0x1b8)]()),_0x30097d[_0x3bc649(0x1c7)](_0x3c4f5e,_0x48111b[_0x3bc649(0x12b)][_0x3bc649(0x159)][_0x3bc649(0x1b8)]())),_0x122762=new _0x36097e(_0x1af019,null,_0xcfe310,_0x30097d[_0x3bc649(0x1ce)],!0x0,_0x4cebc8++);_0x5da050[_0x3bc649(0x1bf)](_0x122762);}}if(_0x457b16)for(const [_0x1db494,_0x4a24f9]of Object[_0x3bc649(0x1ad)](_0x457b16)){const _0x2175ca=_0x30097d[_0x3bc649(0x169)][_0x3bc649(0x199)](_0x1db494);if(!_0x2175ca)throw new _0x5f1da6(_0x3bc649(0x167),null);for(const [_0x503fb0,_0x2c54d6]of Object[_0x3bc649(0x1ad)](_0x4a24f9))if(null!==_0x2c54d6){const _0x5bdd65=new _0x264554(_0x2175ca,_0x503fb0,null,_0x2c54d6,_0x4cebc8++);_0x5da050[_0x3bc649(0x1bf)](_0x5bdd65);}}return _0x5da050;}async[_0x4c2f90(0x1a0)](_0x658898,_0x141e8f,_0x4a874e){const _0x448054=_0x4c2f90;this[_0x448054(0x1af)]({[_0x658898]:_0x141e8f},{[_0x658898]:_0x4a874e})[_0x448054(0x1c6)]((_0x319cb1,_0x1c8417)=>{const _0x346d06=_0x448054;_0x319cb1[_0x346d06(0x18d)]=this[_0x346d06(0x1c5)][_0x346d06(0x173)]+_0x1c8417,_0x319cb1[_0x346d06(0x125)]=!0x0,this[_0x346d06(0x1de)](_0x319cb1);}),this[_0x448054(0x186)](),await this[_0x448054(0x11a)]();}async[_0x4c2f90(0x147)](_0x3fc96a,_0x46bb06){const _0xa29a28=_0x4c2f90;let _0x593757;this[_0xa29a28(0x1e7)]=_0x3fc96a[_0xa29a28(0x188)];const _0x5192ea=_0x3fc96a[_0xa29a28(0x18f)]&&!_0x3fc96a[_0xa29a28(0x124)],_0x4a9599=_0x5192ea?0x0:_0x3fc96a[_0xa29a28(0x194)][_0xa29a28(0x18d)];if(_0x46bb06[_0xa29a28(0x1c6)](_0xab6985=>{const _0x36cb00=_0xa29a28;_0xab6985[_0x36cb00(0x125)]=!0x0,_0xab6985[_0x36cb00(0x1ab)]=_0x3fc96a[_0x36cb00(0x1d8)],_0xab6985[_0x36cb00(0x15e)]=null;}),_0x5192ea)_0x593757=_0x46bb06,this[_0xa29a28(0x115)](_0x593757,_0x5192ea);else{if(_0x3fc96a[_0xa29a28(0x124)]){const _0x1e14e5=this[_0xa29a28(0x1af)](_0x3fc96a[_0xa29a28(0x124)]);this[_0xa29a28(0x1c5)][_0xa29a28(0x1b3)][_0xa29a28(0x173)]=-_0x1e14e5[_0xa29a28(0x1a4)],_0x1e14e5[_0xa29a28(0x1c6)](_0x774465=>{const _0x351014=_0xa29a28;_0x774465[_0x351014(0x18d)]-=_0x1e14e5[_0x351014(0x1a4)],_0x774465[_0x351014(0x1ab)]=_0x3fc96a[_0x351014(0x1d8)],_0x774465[_0x351014(0x125)]=!0x0,_0x774465[_0x351014(0x15e)]=null;}),this[_0xa29a28(0x115)](_0x1e14e5,!0x0),this[_0xa29a28(0x1d0)][_0xa29a28(0x173)]=-_0x1e14e5[_0xa29a28(0x1a4)]+this[_0xa29a28(0x1e7)],this[_0xa29a28(0x134)](_0x1e14e5);}this[_0xa29a28(0x1c5)][_0xa29a28(0x1b3)][_0xa29a28(0x173)]=_0x4a9599,_0x593757=this[_0xa29a28(0x195)](_0x3fc96a[_0xa29a28(0x194)],_0x3fc96a[_0xa29a28(0x15c)]),await this[_0xa29a28(0x210)](_0x593757),this[_0xa29a28(0x115)](_0x593757,_0x5192ea);}_0x3fc96a[_0xa29a28(0x143)]&&(this[_0xa29a28(0x208)][_0xa29a28(0x14e)](_0x593757,_0x3fc96a[_0xa29a28(0x143)]),this[_0xa29a28(0x18b)]=_0x3fc96a[_0xa29a28(0x143)]),this[_0xa29a28(0x1d0)][_0xa29a28(0x173)]=_0x4a9599+this[_0xa29a28(0x1e7)],this[_0xa29a28(0x134)](_0x593757),_0x46bb06[_0xa29a28(0x151)](_0xa509b9=>{const _0x58b778=_0xa29a28,_0x159638=this[_0x58b778(0x1da)](_0xa509b9);return _0x159638&&!this[_0x58b778(0x18a)][_0x58b778(0x1c1)](_0x159638);})[_0xa29a28(0x1c6)]((_0x2fce75,_0x35d38b)=>{const _0x1698cd=_0xa29a28;_0x2fce75[_0x1698cd(0x18d)]=this[_0x1698cd(0x1c5)][_0x1698cd(0x173)]+_0x35d38b,this[_0x1698cd(0x1de)](_0x2fce75);}),this[_0xa29a28(0x196)]()?(this[_0xa29a28(0x14d)]=0x0,this[_0xa29a28(0x186)](!0x0),await this[_0xa29a28(0x11a)]()):(this[_0xa29a28(0x198)]=!0x1,this[_0xa29a28(0x1cd)]());}[_0x4c2f90(0x209)](_0x1a860b,_0x45d2d6){const _0x3a3596=_0x4c2f90,_0x4508b7=_0x45d2d6&&_0x45d2d6[_0x3a3596(0x148)];if(_0x4508b7&&_0x4508b7[_0x3a3596(0x12d)](_0x3a3596(0x16a)))throw _0x45d2d6;const _0x353ffd=this[_0x3a3596(0x1ef)][_0x3a3596(0x1d7)][_0x3a3596(0x1e5)](_0xe0244f);throw this[_0x3a3596(0x198)]=!0x0,_0x353ffd[_0x3a3596(0x1fe)](),this[_0x3a3596(0x1ef)][_0x3a3596(0x17a)](_0x3a3596(0x1f4)),new _0x5f1da6(_0x1a860b,this[_0x3a3596(0x1ef)],_0x4508b7?{'originalError':_0x4508b7}:void 0x0);}[_0x4c2f90(0x1de)](_0xf86f05){const _0x51d078=_0x4c2f90;this[_0x51d078(0x170)][_0x51d078(0x1c1)](_0xf86f05)||(this[_0x51d078(0x170)][_0x51d078(0x1fa)](_0xf86f05),this[_0x51d078(0x1cf)][_0x51d078(0x1bf)](_0xf86f05),this[_0x51d078(0x161)]||_0x51d078(0x10f)==_0xf86f05[_0x51d078(0x133)]&&!_0xf86f05[_0x51d078(0x1be)]||this[_0x51d078(0x1fb)]());}[_0x4c2f90(0x186)](_0x25c4dd=!0x1){const _0x178626=_0x4c2f90;!_0x25c4dd&&this[_0x178626(0x198)]||(this[_0x178626(0x198)]=!0x0,clearTimeout(this[_0x178626(0x1bb)]),this[_0x178626(0x1bb)]=setTimeout(()=>{const _0x414368=_0x178626;this[_0x414368(0x15f)]()[_0x414368(0x1ff)](_0x575ecc=>{const _0x1cca72=_0x414368;_0x575ecc&&(this[_0x1cca72(0x1cd)](),this[_0x1cca72(0x198)]=!0x1);})[_0x414368(0x145)](_0x55d286=>{const _0x1308f2=_0x414368;this[_0x1308f2(0x1cd)](),this[_0x1308f2(0x198)]=!0x1,function(_0x5680cb){const _0x448657=_0x1308f2;return _0x5680cb[_0x448657(0x148)][_0x448657(0x12d)](_0x448657(0x116))||_0x5680cb[_0x448657(0x148)][_0x448657(0x12d)](_0x448657(0x160))||_0x5680cb[_0x448657(0x148)][_0x448657(0x12d)](_0x448657(0x12f));}(_0x55d286)||this[_0x1308f2(0x209)](_0x55d286[_0x1308f2(0x148)],_0x55d286);});},this[_0x178626(0x14d)]));}[_0x4c2f90(0x11a)](){return new Promise(_0x2bbd84=>{const _0x26c87f=_0xb467;this['on'](_0x26c87f(0x114),()=>{_0x2bbd84();});});}async[_0x4c2f90(0x15f)](){const _0x4bc4ee=_0x4c2f90,_0x5b747a=this[_0x4bc4ee(0x1ef)][_0x4bc4ee(0x1d7)][_0x4bc4ee(0x1e5)](_0x907312);if(this[_0x4bc4ee(0x1e2)]()&&(_0x5b747a[_0x4bc4ee(0x1d1)](),this[_0x4bc4ee(0x1c8)]=!0x1),!this[_0x4bc4ee(0x196)]())return!0x0;const _0x3e169b=[...this[_0x4bc4ee(0x1cf)]];for(const _0x4aa4d7 of _0x3e169b)_0x4aa4d7[_0x4bc4ee(0x138)]=this[_0x4bc4ee(0x1c5)][_0x4bc4ee(0x1b3)][_0x4bc4ee(0x1e4)](_0x4aa4d7);const _0x551316=this[_0x4bc4ee(0x208)][_0x4bc4ee(0x184)](_0x3e169b),_0x5e6ea4=G++,_0x448bb1=this[_0x4bc4ee(0x1a7)](_0x3e169b),_0x258052=await this[_0x4bc4ee(0x1eb)][_0x4bc4ee(0x16c)](_0x448bb1,_0x448bb1[_0x4bc4ee(0x18d)],_0x551316);try{return await this[_0x4bc4ee(0x211)](_0x3e169b,_0x258052,_0x5e6ea4);}catch(_0x8cafde){return this[_0x4bc4ee(0x209)](_0x4bc4ee(0x20b),_0x8cafde);}}async[_0x4c2f90(0x211)](_0xde0a9a,_0x8993a0,_0x1f138b){const _0x1b8a2a=_0x4c2f90;if(_0x1b8a2a(0x1d2)in _0x8993a0)throw _0x8993a0[_0x1b8a2a(0x1d2)];let _0x477075=!0x1;if(_0x8993a0[_0x1b8a2a(0x18f)]){_0x8993a0[_0x1b8a2a(0x143)]&&(this[_0x1b8a2a(0x18b)]=_0x8993a0[_0x1b8a2a(0x143)]),this[_0x1b8a2a(0x1cf)]=this[_0x1b8a2a(0x1cf)][_0x1b8a2a(0x151)](_0x92d65b=>!_0xde0a9a[_0x1b8a2a(0x1e0)](_0x92d65b));for(const _0x155a3f of _0xde0a9a)_0x155a3f[_0x1b8a2a(0x1ab)]=_0x1b8a2a(0x19f)in _0x8993a0&&_0x8993a0[_0x1b8a2a(0x19f)]||void 0x0;K(_0xde0a9a,_0x8993a0[_0x1b8a2a(0x173)]-_0xde0a9a[_0x1b8a2a(0x1a4)]),this[_0x1b8a2a(0x134)](_0xde0a9a);const _0x30bc75=_0xde0a9a[_0x1b8a2a(0x151)](_0x5e589c=>{const _0x1cda07=_0x1b8a2a;if(!_0x5e589c[_0x1cda07(0x125)])return!0x1;const _0x2a07e7=this[_0x1cda07(0x1da)](_0x5e589c);return _0x2a07e7&&!this[_0x1cda07(0x18a)][_0x1cda07(0x1c1)](_0x2a07e7);});K(_0x30bc75,this[_0x1b8a2a(0x1c5)][_0x1b8a2a(0x173)]),this[_0x1b8a2a(0x115)](_0x30bc75),_0x477075=!0x0,this[_0x1b8a2a(0x14d)]=this[_0x1b8a2a(0x140)];}else{const _0x4b5347=this[_0x1b8a2a(0x195)](_0x8993a0[_0x1b8a2a(0x194)],_0x8993a0[_0x1b8a2a(0x15c)])[_0x1b8a2a(0x151)](_0x5a0c5b=>_0x5a0c5b[_0x1b8a2a(0x18d)]>=this[_0x1b8a2a(0x127)]);_0x4b5347[_0x1b8a2a(0x1c6)](_0x5a684a=>this[_0x1b8a2a(0x156)](_0x5a684a)),this[_0x1b8a2a(0x1cf)]=this[_0x1b8a2a(0x1cf)][_0x1b8a2a(0x151)](_0xf069f3=>!_0xf069f3[_0x1b8a2a(0x125)]||!this[_0x1b8a2a(0x18a)][_0x1b8a2a(0x1c1)](this[_0x1b8a2a(0x1da)](_0xf069f3))),this[_0x1b8a2a(0x1cf)][_0x1b8a2a(0x1a4)]&&K(this[_0x1b8a2a(0x1cf)],this[_0x1b8a2a(0x1cf)][0x0][_0x1b8a2a(0x18d)]),await this[_0x1b8a2a(0x210)](_0x4b5347),_0x477075=this[_0x1b8a2a(0x1f8)](_0x4b5347,_0x8993a0[_0x1b8a2a(0x173)],_0x8993a0[_0x1b8a2a(0x143)]),this[_0x1b8a2a(0x14d)]=Math[_0x1b8a2a(0x13a)](this[_0x1b8a2a(0x14d)]/0x2);}return _0x477075?!this[_0x1b8a2a(0x196)]()||(this[_0x1b8a2a(0x186)](!0x0),!0x1):this[_0x1b8a2a(0x209)](_0x1b8a2a(0x180));}[_0x4c2f90(0x1f8)](_0x31dc21,_0x4be0c8,_0x45c7a7){const _0x13d3f3=_0x4c2f90;try{const _0x474e6d={'document':this[_0x13d3f3(0x1c5)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2fe015,operationsB:_0x2e09ae,originalOperations:_0xc8b55b}=_0x2e044e(_0x31dc21,this[_0x13d3f3(0x1cf)],_0x474e6d);K(_0x2fe015,this[_0x13d3f3(0x1c5)][_0x13d3f3(0x173)]),K(_0x2e09ae,_0x4be0c8);for(const _0x24b8d1 of _0x2fe015){const _0x302921=_0xc8b55b[_0x13d3f3(0x1e5)](_0x24b8d1);_0x24b8d1[_0x13d3f3(0x15e)]=_0x302921?_0x302921[_0x13d3f3(0x15e)]:null;}_0x45c7a7&&(this[_0x13d3f3(0x208)][_0x13d3f3(0x14e)](_0x31dc21,_0x45c7a7),this[_0x13d3f3(0x18b)]=_0x45c7a7),this[_0x13d3f3(0x1cf)]=[..._0x2e09ae],this[_0x13d3f3(0x115)](_0x2fe015),this[_0x13d3f3(0x134)](_0x31dc21);}catch(_0x549f82){return console[_0x13d3f3(0x1d2)](_0x549f82),!0x1;}return!0x0;}[_0x4c2f90(0x115)](_0x982c4c,_0x2b7208=!0x1){const _0x324d0a=_0x4c2f90;this[_0x324d0a(0x1ef)][_0x324d0a(0x15d)][_0x324d0a(0x193)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4e7ec3=>{const _0x142cfe=_0x324d0a;for(const _0x55b82e of _0x982c4c)this[_0x142cfe(0x170)][_0x142cfe(0x1fa)](_0x55b82e),this[_0x142cfe(0x156)](_0x55b82e),_0x4e7ec3[_0x142cfe(0x1b2)][_0x142cfe(0x144)](_0x55b82e),this[_0x142cfe(0x1ef)][_0x142cfe(0x15d)][_0x142cfe(0x1d9)](_0x55b82e);});}[_0x4c2f90(0x156)](_0x1bd907){const _0x227bc4=_0x4c2f90,_0xfe0c1d=this[_0x227bc4(0x1da)](_0x1bd907);_0xfe0c1d&&this[_0x227bc4(0x18a)][_0x227bc4(0x1fa)](_0xfe0c1d);}[_0x4c2f90(0x1da)](_0x427129){const _0x5d0603=_0x4c2f90;let _0x8065c2,_0x4aa122;switch(_0x427129[_0x5d0603(0x133)]){case _0x5d0603(0x12a):_0x8065c2=_0x427129[_0x5d0603(0x11c)][_0x5d0603(0x20a)];break;case _0x5d0603(0x10f):if(_0x4aa122=_0x427129[_0x5d0603(0x197)],!_0x4aa122)return null;_0x8065c2=_0x4aa122[_0x5d0603(0x20a)];break;case _0x5d0603(0x16d):_0x8065c2=_0x427129[_0x5d0603(0x20a)];break;case _0x5d0603(0x192):_0x8065c2=_0x427129[_0x5d0603(0x1f9)];break;case _0x5d0603(0x1d3):_0x8065c2=_0x427129[_0x5d0603(0x201)][_0x5d0603(0x20a)];break;default:return null;}return _0x8065c2[_0x5d0603(0x1d4)];}[_0x4c2f90(0x134)](_0x206a4d){const _0x5d7dd7=_0x4c2f90;_0x206a4d[_0x5d7dd7(0x1c6)](_0xb3c2bb=>{const _0x6f909a=_0x5d7dd7,_0x196288=_0xb3c2bb[_0x6f909a(0x14b)]();_0x196288[_0x6f909a(0x15e)]=_0xb3c2bb[_0x6f909a(0x15e)],_0x196288[_0x6f909a(0x125)]=!!_0xb3c2bb[_0x6f909a(0x125)],_0x196288[_0x6f909a(0x1ab)]=_0xb3c2bb[_0x6f909a(0x1ab)],_0x196288[_0x6f909a(0x18d)]+=this[_0x6f909a(0x1e7)],_0xb3c2bb[_0x6f909a(0x13e)]&&this[_0x6f909a(0x1b7)][_0x6f909a(0x1fa)](_0x196288),this[_0x6f909a(0x1d0)][_0x6f909a(0x144)](_0x196288);});}[_0x4c2f90(0x19a)](_0x54bfc0){const _0x1ee67a=_0x4c2f90,_0x3b8c80=this[_0x1ee67a(0x1ef)][_0x1ee67a(0x1d7)][_0x1ee67a(0x1e5)](_0x1ee67a(0x20e)),_0x40161a=this[_0x1ee67a(0x1ef)][_0x1ee67a(0x16b)];_0x54bfc0||(_0x54bfc0=_0x2dd504(_0x40161a,_0x1ee67a(0x14a))),_0x3b8c80[_0x1ee67a(0x177)](_0x54bfc0,{'title':_0x2dd504(_0x40161a,_0x1ee67a(0x1f0)),'namespace':_0x1ee67a(0x1c4)}),this[_0x1ee67a(0x17b)]=!0x0,clearTimeout(this[_0x1ee67a(0x1bb)]),this[_0x1ee67a(0x1cf)]=[],this[_0x1ee67a(0x1ef)][_0x1ee67a(0x1d7)][_0x1ee67a(0x1e5)](_0xe0244f)[_0x1ee67a(0x1fe)]();}[_0x4c2f90(0x1fb)](){const _0x21e845=_0x4c2f90;this[_0x21e845(0x161)]||(this[_0x21e845(0x161)]=this[_0x21e845(0x1ef)][_0x21e845(0x1d7)][_0x21e845(0x1e5)](_0x2ed9bb)[_0x21e845(0x1fa)](_0x2dd504(this[_0x21e845(0x1ef)][_0x21e845(0x16b)],_0x21e845(0x153))));}[_0x4c2f90(0x1cd)](){const _0x2069cf=_0x4c2f90;this[_0x2069cf(0x161)]&&(this[_0x2069cf(0x1ef)][_0x2069cf(0x1d7)][_0x2069cf(0x1e5)](_0x2ed9bb)[_0x2069cf(0x1a6)](this[_0x2069cf(0x161)]),this[_0x2069cf(0x161)]=null);}[_0x4c2f90(0x1a7)](_0x343275){const _0x29163f=_0x4c2f90,_0x5a4697=_0x343275[_0x29163f(0x179)](_0x1055f6=>_0x1055f6[_0x29163f(0x11d)]());return this[_0x29163f(0x1b1)][_0x29163f(0x11b)](_0x5a4697);}[_0x4c2f90(0x195)](_0x23fe74,_0x31ff76){const _0x11da20=_0x4c2f90;return this[_0x11da20(0x1b1)][_0x11da20(0x16f)](_0x23fe74)[_0x11da20(0x179)]((_0x3de99c,_0x554813)=>{const _0x98028b=_0x11da20,_0xf9fdc1=_0x98028b(0x1c9)==_0x31ff76[_0x554813][_0x98028b(0x133)];if(_0x98028b(0x1c2)==_0x3de99c[_0x98028b(0x122)]){const _0x448625=_0x3de99c[_0x98028b(0x11c)][_0x98028b(0x20a)];!this[_0x98028b(0x1c5)][_0x98028b(0x199)](_0x448625)&&(this[_0x98028b(0x1c5)][_0x98028b(0x131)](_0x98028b(0x158),_0x448625)[_0x98028b(0x19d)]=!0x1);}const _0x32bad3=_0x55a088[_0x98028b(0x1e1)](_0x3de99c,this[_0x98028b(0x1c5)]);return _0x32bad3[_0x98028b(0x138)]=_0x3de99c[_0x98028b(0x138)],_0x32bad3[_0x98028b(0x125)]=_0xf9fdc1,_0x32bad3[_0x98028b(0x15e)]=_0xf9fdc1?null:_0x31ff76[_0x554813][_0x98028b(0x204)],_0x32bad3[_0x98028b(0x13e)]=_0x98028b(0x18c)===_0x31ff76[_0x554813][_0x98028b(0x133)],_0x32bad3[_0x98028b(0x1ab)]=_0x31ff76[_0x554813][_0x98028b(0x1ab)],_0x32bad3;});}[_0x4c2f90(0x189)](){const _0x4ac30f=_0x4c2f90;this[_0x4ac30f(0x1c8)]=!0x0,this[_0x4ac30f(0x1e2)]()?this[_0x4ac30f(0x186)]():this[_0x4ac30f(0x1c8)]=!0x1;}[_0x4c2f90(0x1e2)](){const _0x2f0f02=_0x4c2f90,_0x101ef9=this[_0x2f0f02(0x1ef)][_0x2f0f02(0x1d7)][_0x2f0f02(0x1e5)](_0x1a8020)[_0x2f0f02(0x14c)][_0x2f0f02(0x1e5)](this[_0x2f0f02(0x112)]);return!this[_0x2f0f02(0x1ef)][_0x2f0f02(0x172)]&&!!_0x101ef9&&_0x101ef9[_0x2f0f02(0x1a4)]>0x1&&this[_0x2f0f02(0x1c8)];}[_0x4c2f90(0x196)](){const _0x139f16=_0x4c2f90;return this[_0x139f16(0x1cf)][_0x139f16(0x1a4)]>0x0||this[_0x139f16(0x1e2)]();}}class $ extends Error{}function K(_0x6abdca,_0x4ff2f2){const _0x165334=_0x4c2f90;for(const _0x2e7efd of _0x6abdca)_0x2e7efd[_0x165334(0x18d)]=_0x4ff2f2++;}class J{[_0x4c2f90(0x1ed)];[_0x4c2f90(0x1ba)];constructor(_0x321145){const _0x5b6543=_0x4c2f90;this[_0x5b6543(0x1ed)]=_0x321145,this[_0x5b6543(0x1ba)]=new WeakMap();}[_0x4c2f90(0x184)](_0x1d9ff4){const _0x5ec66b=_0x4c2f90;let _0x156d41=_0x1d9ff4[_0x5ec66b(0x1a4)];for(;_0x156d41--;){const _0x40270c=_0x1d9ff4[_0x156d41];if(!this[_0x5ec66b(0x1ed)][_0x5ec66b(0x1c1)](_0x40270c)){if(!this[_0x5ec66b(0x1ba)][_0x5ec66b(0x1c1)](_0x40270c)){const _0x309c4a=_0x5db42c()[_0x5ec66b(0x1b8)](0x1,0x12);this[_0x5ec66b(0x1ba)][_0x5ec66b(0x1b5)](_0x40270c,_0x309c4a);}return this[_0x5ec66b(0x1ba)][_0x5ec66b(0x1e5)](_0x40270c);}}}[_0x4c2f90(0x14e)](_0x46b9f0,_0x282c14){const _0x5efbd9=_0x4c2f90;if(!_0x282c14)return;let _0x47f9f6=_0x46b9f0[_0x5efbd9(0x1a4)];for(;_0x47f9f6--;){const _0x51f81a=_0x46b9f0[_0x47f9f6];this[_0x5efbd9(0x1ed)][_0x5efbd9(0x1c1)](_0x51f81a)||this[_0x5efbd9(0x1ba)][_0x5efbd9(0x1b5)](_0x51f81a,_0x282c14);}}}function _0x1d48(){const _0x3feb44=['serverHistory','createUserMarkerOperations','error','move','rootName','off','_setUpDataInit','plugins','sessionCreatedAt','applyOperation','_getAffectedRoot','document:write','change:_isEditingAllowed','isEnabled','_saveOperationInBuffer','realtimecollaborationclient-init-non-existent-root','includes','fromJSON','_shouldSendSelectionUpdate','_isConnected','isUndoneOperation','get','220180agXeCd','_offset','high','bind','_isEditingAllowed','_service','view','_ignoredOperations','currentDocumentSession','editor','Synchronization\x20issue','getUser','_handleReconnectionResponse','sessionAdd:','realtimecollaborationclient-error','CommentsOnly','finally','suppressErrorInCollaboration','_handleExternalOperations','affectedSelectable','add','_setPendingAction','size','loadRoot','disconnect','then','_initThrowingOnDataSet','targetPosition','mySessionId','directChange','userId','404','isOfficialPlugin','1087608OKMnTy','_operationIdentifier','_crash','root','realtimecollaborationclient-sendbufferedoperations','reset','permissions','Notification','isDocumentOperation','_fetchMissingUsers','_handleServerResponse','reconnect','getOperationAuthor','differ','selection','marker','addToReconnectionStack','_initSessionsHandling','_channelId','stop','change:_isPendingUpdate','_applyOperationsSet','cloud-services-internal-error:\x20Not\x20connected.','disconnected','isPremiumPlugin','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_waitUntilSynced','compress','position','toJSON','stopListening','getDocumentDetails','6CRUwKW','11056NotaTJ','__className','keys','initData','_isInit','realtimecollaborationclient-init-session-connection-error','_lastServerVersion','attributes','unregister','insert','end','operationsReceived','startsWith','requires','cloud-services-internal-error:\x20Request\x20timeout.','_isLoaded','createRoot','apply','type','_updateServerHistory','createPositionAt','rootsAttributes','realtimecollaborationclient-init-service-incorrect-server-operation','wasUndone','roots','round','start','_bufferRootLoad','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isDisconnection','removeFromReconnectionStack','_baseBufferDelay','48iLOmEt','357106sgAgxu','lastOperationId','addOperation','catch','ready','_handleInitialConnectionData','message','disableReadOnlyMode','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.','clone','channelSessions','_currentBufferDelay','setIdForTheLastOperation','3921564aKVHdm','connection','filter','getMany','PENDING_ACTION_SENDING_DATA','listenTo','_disconnectService','_addKnownRoot','getConnectedSessions','$root','path','addUser','Permissions','metadata','model','_authorId','_sendBufferedOperations','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_pendingAction','createRange','lastDocumentSession','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.','destroy','config','multi-root-editor-root-attributes-no-root','7003836zOFewL','document','realtimecollaborationclient','locale','sendOperations','addRootAttribute','getOperations','decompress','_knownOperations','setPermissions','isReadOnly','version','CollaborativeEditingService','collaboration','2061NUQdgQ','showWarning','collaboration-missing-channelid','map','enableReadOnlyMode','_hasSynchronizationProblem','state','_connectService','15235SMJMgp','409','realtimecollaborationclient-handleserverresponse','realtimecollaborationclient-init-document-already-initialized','lastSyncVersion','string','getIdOfTheLastOperation','cloudServices.bundleVersion','_sendBufferedOperationsDelayed','realtimecollaborationclient-init-service-internal-error','offset','_refreshUserSelectionMarkers','_knownRootNames','_lastSyncedOperationId','cs:removeUser','baseVersion','connect','wereChangesApplied','cloudDocumentVersion','change:hasDomSelection','addRoot','enqueueChange','data','_decompressOperations','_shouldSendUpdate','newRange','_isPendingUpdate','getRoot','_handleReconnectionError','realtimecollaborationclient-init-connection-failed','return','_isAttached','parse','lastOperationAcceptedAt','_loadRoot','rtc-offline','from','connected','length','pluginName','remove','_compressOperations','collaboration.channelId','rtc-destroyed','_handleSendingSelectionMarkers','createdAt','define','entries','sessionId','_getOperationsFromInitData','register','_compressor','batch','history','code','set','_handleReceivedOperations','_disconnectionOperations','slice','_connectAfterSessionHasBeenFlushed','_operationToId','_sendBufferedOperationsDelayId','fire','change:range','affectsData','push','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','has','InsertOperation','RealTimeCollaborationClient','real-time-collaboration','_document','forEach','createPositionFromPath','_hasSelectionChanged','init','editing','reconnection:\x20flushed\x20session','830eappZj','_clearPendingAction','markers','_bufferedOperations'];_0x1d48=function(){return _0x3feb44;};return _0x1d48();}