@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.5 → 46.0.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "46.0.0-alpha.5",
3
+ "version": "46.0.0-alpha.6",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.0",
50
- "@ckeditor/ckeditor5-cloud-services": "46.0.0-alpha.5",
51
- "@ckeditor/ckeditor5-comments": "46.0.0-alpha.5",
52
- "@ckeditor/ckeditor5-core": "46.0.0-alpha.5",
53
- "@ckeditor/ckeditor5-editor-multi-root": "46.0.0-alpha.5",
54
- "@ckeditor/ckeditor5-engine": "46.0.0-alpha.5",
55
- "@ckeditor/ckeditor5-operations-compressor": "46.0.0-alpha.5",
56
- "@ckeditor/ckeditor5-revision-history": "46.0.0-alpha.5",
57
- "@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.5",
58
- "@ckeditor/ckeditor5-track-changes": "46.0.0-alpha.5",
59
- "@ckeditor/ckeditor5-ui": "46.0.0-alpha.5",
60
- "@ckeditor/ckeditor5-utils": "46.0.0-alpha.5",
61
- "ckeditor5": "46.0.0-alpha.5",
62
- "ckeditor5-collaboration": "46.0.0-alpha.5",
50
+ "@ckeditor/ckeditor5-cloud-services": "46.0.0-alpha.6",
51
+ "@ckeditor/ckeditor5-comments": "46.0.0-alpha.6",
52
+ "@ckeditor/ckeditor5-core": "46.0.0-alpha.6",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "46.0.0-alpha.6",
54
+ "@ckeditor/ckeditor5-engine": "46.0.0-alpha.6",
55
+ "@ckeditor/ckeditor5-operations-compressor": "46.0.0-alpha.6",
56
+ "@ckeditor/ckeditor5-revision-history": "46.0.0-alpha.6",
57
+ "@ckeditor/ckeditor5-theme-lark": "46.0.0-alpha.6",
58
+ "@ckeditor/ckeditor5-track-changes": "46.0.0-alpha.6",
59
+ "@ckeditor/ckeditor5-ui": "46.0.0-alpha.6",
60
+ "@ckeditor/ckeditor5-utils": "46.0.0-alpha.6",
61
+ "ckeditor5": "46.0.0-alpha.6",
62
+ "ckeditor5-collaboration": "46.0.0-alpha.6",
63
63
  "es-toolkit": "1.39.5"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3f99(_0x22cbb9,_0x24afb6){const _0x1c1b68=_0x1c1b();return _0x3f99=function(_0x3f99b2,_0xb257e4){_0x3f99b2=_0x3f99b2-0x12c;let _0x4e93dc=_0x1c1b68[_0x3f99b2];return _0x4e93dc;},_0x3f99(_0x22cbb9,_0x24afb6);}const _0x2fde7f=_0x3f99;(function(_0x11f13e,_0x5397c9){const _0x25c190=_0x3f99,_0x16a833=_0x11f13e();while(!![]){try{const _0x23e3ef=parseInt(_0x25c190(0x13c))/0x1*(-parseInt(_0x25c190(0x13a))/0x2)+-parseInt(_0x25c190(0x13e))/0x3+parseInt(_0x25c190(0x145))/0x4+parseInt(_0x25c190(0x130))/0x5+parseInt(_0x25c190(0x135))/0x6+parseInt(_0x25c190(0x12c))/0x7+parseInt(_0x25c190(0x136))/0x8*(-parseInt(_0x25c190(0x138))/0x9);if(_0x23e3ef===_0x5397c9)break;else _0x16a833['push'](_0x16a833['shift']());}catch(_0x457235){_0x16a833['push'](_0x16a833['shift']());}}}(_0x1c1b,0x3edd9));import{ListItemView as _0x2c3f38}from'ckeditor5/src/ui.js';function _0x1c1b(){const _0x1679ef=['346158TRsSTC','ck-user__full-name','span','element','presentation','getBackgroundColorClass','execute','1199536oqHgaX','true','196763lqekYx','color','button','userView','736580ZWubMR','bindTemplate','tag','ck-presence-list__marker','focus','1176324EfNIIs','832IQbkiD','fire','5553FcQWcj','ck-presence-list__dropdown-list-item','312geRQtJ','setTemplate','1502HTdQrI','name'];_0x1c1b=function(){return _0x1679ef;};return _0x1c1b();}import{UserView as _0x480c44}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x2c3f38{[_0x2fde7f(0x12f)];constructor(_0x3a8fd5,_0x12c6ef,_0x36db74){const _0x325509=_0x2fde7f;super(_0x3a8fd5);const _0x308df1=this[_0x325509(0x131)];this[_0x325509(0x12f)]=new _0x480c44(_0x3a8fd5,_0x12c6ef);const _0x2c1d8c={'tag':'li','attributes':{'class':['ck',_0x325509(0x139)],'tabindex':-0x1,'role':_0x325509(0x142),'aria-label':_0x12c6ef[_0x325509(0x13d)]},'children':[this[_0x325509(0x12f)],{'tag':_0x325509(0x140),'attributes':{'class':['ck',_0x325509(0x13f)]},'children':[{'text':_0x12c6ef[_0x325509(0x13d)]}]},{'tag':_0x325509(0x140),'attributes':{'class':['ck',_0x325509(0x133),_0x12c6ef[_0x325509(0x12d)][_0x325509(0x143)]()],'aria-hidden':_0x325509(0x146)}}]};_0x36db74&&(_0x2c1d8c[_0x325509(0x132)]=_0x325509(0x12e),_0x2c1d8c['on']={'click':_0x308df1['to'](()=>this[_0x325509(0x137)](_0x325509(0x144)))}),this[_0x325509(0x13b)](_0x2c1d8c);}[_0x2fde7f(0x134)](){const _0x1831f5=_0x2fde7f;this[_0x1831f5(0x141)][_0x1831f5(0x134)]();}}
23
+ function _0x2100(){const _0x1e3e72=['userView','setTemplate','519445WpSwDe','color','6wjnuet','ck-presence-list__dropdown-list-item','5358256OCnDKW','span','90KneSqT','bindTemplate','presentation','1835Rfalph','2433321mFmrnh','ck-user__full-name','fire','5552091jVWYqp','8vSgfIN','getBackgroundColorClass','name','74avhNek','execute','3540817KeCLjS','focus','true','ck-presence-list__marker','element','button','tag','3974316GJkXAw'];_0x2100=function(){return _0x1e3e72;};return _0x2100();}const _0x5085ed=_0x2297;function _0x2297(_0x1db038,_0x475ba6){const _0x2100c1=_0x2100();return _0x2297=function(_0x229721,_0x68a5b2){_0x229721=_0x229721-0xc2;let _0x133626=_0x2100c1[_0x229721];return _0x133626;},_0x2297(_0x1db038,_0x475ba6);}(function(_0x4e8cef,_0x725718){const _0xd99533=_0x2297,_0x1a3e0a=_0x4e8cef();while(!![]){try{const _0x570654=parseInt(_0xd99533(0xd0))/0x1*(parseInt(_0xd99533(0xd8))/0x2)+parseInt(_0xd99533(0xc4))/0x3+parseInt(_0xd99533(0xcb))/0x4+parseInt(_0xd99533(0xc7))/0x5*(parseInt(_0xd99533(0xc9))/0x6)+parseInt(_0xd99533(0xda))/0x7*(-parseInt(_0xd99533(0xd5))/0x8)+parseInt(_0xd99533(0xd4))/0x9+-parseInt(_0xd99533(0xcd))/0xa*(parseInt(_0xd99533(0xd1))/0xb);if(_0x570654===_0x725718)break;else _0x1a3e0a['push'](_0x1a3e0a['shift']());}catch(_0x596186){_0x1a3e0a['push'](_0x1a3e0a['shift']());}}}(_0x2100,0xe9781));import{ListItemView as _0x592aa5}from'ckeditor5/src/ui.js';import{UserView as _0x5580e8}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x592aa5{[_0x5085ed(0xc5)];constructor(_0x12690c,_0x3dcd33,_0x35648e){const _0xc384aa=_0x5085ed;super(_0x12690c);const _0x493838=this[_0xc384aa(0xce)];this[_0xc384aa(0xc5)]=new _0x5580e8(_0x12690c,_0x3dcd33);const _0xda2e87={'tag':'li','attributes':{'class':['ck',_0xc384aa(0xca)],'tabindex':-0x1,'role':_0xc384aa(0xcf),'aria-label':_0x3dcd33[_0xc384aa(0xd7)]},'children':[this[_0xc384aa(0xc5)],{'tag':_0xc384aa(0xcc),'attributes':{'class':['ck',_0xc384aa(0xd2)]},'children':[{'text':_0x3dcd33[_0xc384aa(0xd7)]}]},{'tag':_0xc384aa(0xcc),'attributes':{'class':['ck',_0xc384aa(0xdd),_0x3dcd33[_0xc384aa(0xc8)][_0xc384aa(0xd6)]()],'aria-hidden':_0xc384aa(0xdc)}}]};_0x35648e&&(_0xda2e87[_0xc384aa(0xc3)]=_0xc384aa(0xc2),_0xda2e87['on']={'click':_0x493838['to'](()=>this[_0xc384aa(0xd3)](_0xc384aa(0xd9)))}),this[_0xc384aa(0xc6)](_0xda2e87);}[_0x5085ed(0xdb)](){const _0x3d373e=_0x5085ed;this[_0x3d373e(0xde)][_0x3d373e(0xdb)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3739(){const _0x171830=['window','change','Connected\x20users\x20list\x20dropdown\x20menu','scrollHeight','.ck-presence-list__list','ck-reset','.ck-balloon-panel_with-arrow','6FVCUiL','ck-presence-list__dropdown-list-wrapper','innerHeight','630XAfuhI','clientHeight','ck-list','max','role','presencelist:hide','ariaLabel','fire','ariaLabelledBy','ck-presence-list__dropdown-list','items','2035068rpIPoF','div','24ZzKRVZ','application','30840QyIppT','2708010rdZvkV','relatedTarget','bindTemplate','listWrapperView','checkIfScrollable','ck-presence-list__dropdown-list-wrapper_scrollable','set','listenTo','setTemplate','3713240UkZFNU','querySelector','render','174171DImopz','584062OLNnTa','2yLYAXN','element','_isScrollable','contains','11110044xiWgmI','resize'];_0x3739=function(){return _0x171830;};return _0x3739();}const _0x45ded5=_0x5114;(function(_0x4a5703,_0x13df5d){const _0x2e5b4d=_0x5114,_0x30467e=_0x4a5703();while(!![]){try{const _0xf95f1e=-parseInt(_0x2e5b4d(0x11a))/0x1*(-parseInt(_0x2e5b4d(0x11b))/0x2)+-parseInt(_0x2e5b4d(0x119))/0x3*(-parseInt(_0x2e5b4d(0x138))/0x4)+-parseInt(_0x2e5b4d(0x10d))/0x5*(-parseInt(_0x2e5b4d(0x128))/0x6)+-parseInt(_0x2e5b4d(0x136))/0x7+parseInt(_0x2e5b4d(0x116))/0x8+parseInt(_0x2e5b4d(0x12b))/0x9*(-parseInt(_0x2e5b4d(0x13a))/0xa)+-parseInt(_0x2e5b4d(0x11f))/0xb;if(_0xf95f1e===_0x13df5d)break;else _0x30467e['push'](_0x30467e['shift']());}catch(_0x56cea0){_0x30467e['push'](_0x30467e['shift']());}}}(_0x3739,0x66eb1));import{ListView as _0x9bcee3,View as _0x528c0d}from'ckeditor5/src/ui.js';import{global as _0x534285}from'ckeditor5/src/utils.js';import{getTranslation as _0x58108d}from'../../common-translations.js';function _0x5114(_0x21e843,_0x2ae728){const _0x3739ac=_0x3739();return _0x5114=function(_0x5114e0,_0x532e0f){_0x5114e0=_0x5114e0-0x10d;let _0x3f9a17=_0x3739ac[_0x5114e0];return _0x3f9a17;},_0x5114(_0x21e843,_0x2ae728);}export class PresenceDropdownListView extends _0x528c0d{[_0x45ded5(0x110)];constructor(_0x5ec1fa,_0x5e85a9){const _0x3a80de=_0x45ded5;super(_0x5ec1fa);const _0xd067ac=this[_0x3a80de(0x10f)];this[_0x3a80de(0x110)]=new PresenceDropdownListWrapperView(_0x5ec1fa,_0x5e85a9),this[_0x3a80de(0x115)]({'tag':_0x3a80de(0x137),'attributes':{'tabindex':-0x1,'role':_0x3a80de(0x139),'class':['ck',_0x3a80de(0x134)],'aria-label':_0x58108d(_0x5ec1fa,_0x3a80de(0x123))},'children':[this[_0x3a80de(0x110)]],'on':{'mouseleave':_0xd067ac['to'](_0x414ef9=>{const _0x58de96=_0x3a80de,_0x87e6b5=_0x414ef9,_0x49fb4a=document[_0x58de96(0x117)](_0x58de96(0x125)),_0x121205=document[_0x58de96(0x117)](_0x58de96(0x127));_0x49fb4a?.[_0x58de96(0x11e)](_0x87e6b5[_0x58de96(0x10e)])||_0x121205?.[_0x58de96(0x11e)](_0x87e6b5[_0x58de96(0x10e)])||this[_0x58de96(0x132)](_0x58de96(0x130));})}});}}export class PresenceDropdownListWrapperView extends _0x9bcee3{constructor(_0x58e803,_0x4a3aac){const _0x1a1e8d=_0x45ded5;super(_0x58e803);const _0x45c8f3=this[_0x1a1e8d(0x10f)];this[_0x1a1e8d(0x113)](_0x1a1e8d(0x11d),!0x1),this[_0x1a1e8d(0x115)]({'tag':_0x4a3aac?_0x1a1e8d(0x137):'ul','attributes':{'class':['ck',_0x1a1e8d(0x126),_0x1a1e8d(0x12d),_0x1a1e8d(0x129),_0x45c8f3['if'](_0x1a1e8d(0x11d),_0x1a1e8d(0x112))],'role':_0x45c8f3['to'](_0x1a1e8d(0x12f)),'aria-label':_0x45c8f3['to'](_0x1a1e8d(0x131)),'aria-labelledby':_0x45c8f3['to'](_0x1a1e8d(0x133))},'children':this[_0x1a1e8d(0x135)]}),this[_0x1a1e8d(0x114)](_0x534285[_0x1a1e8d(0x121)],_0x1a1e8d(0x120),()=>this[_0x1a1e8d(0x111)]()),this[_0x1a1e8d(0x135)]['on'](_0x1a1e8d(0x122),()=>this[_0x1a1e8d(0x111)]());}[_0x45ded5(0x118)](){const _0x193732=_0x45ded5;super[_0x193732(0x118)](),this[_0x193732(0x111)]();}[_0x45ded5(0x111)](){const _0x305f19=_0x45ded5,_0x41bce2=this[_0x305f19(0x11c)];_0x41bce2&&(this[_0x305f19(0x11d)]=Math[_0x305f19(0x12e)](_0x41bce2[_0x305f19(0x124)],_0x41bce2[_0x305f19(0x12c)])>0.8*window[_0x305f19(0x12a)]);}}
23
+ function _0x43e5(){const _0x110894=['scrollHeight','ariaLabelledBy','5582819FtjSxO','269610kIWvxe','set','ck-presence-list__dropdown-list-wrapper_scrollable','ck-presence-list__dropdown-list-wrapper','element','contains','change','render','clientHeight','checkIfScrollable','.ck-balloon-panel_with-arrow','items','innerHeight','276tlMbwi','role','div','listenTo','ariaLabel','977031FNvccM','setTemplate','10EMKisS','querySelector','1184155NYfpDQ','listWrapperView','_isScrollable','.ck-presence-list__list','bindTemplate','346rMeNxL','application','max','ck-list','21141zFMzBQ','presencelist:hide','window','resize','4GCLgkN','relatedTarget','54136ckxXkS','ck-reset','fire','Connected\x20users\x20list\x20dropdown\x20menu','7hKiHgk','ck-presence-list__dropdown-list'];_0x43e5=function(){return _0x110894;};return _0x43e5();}const _0x49d88a=_0x272c;(function(_0xf5e316,_0x4bbe28){const _0x10045e=_0x272c,_0x170513=_0xf5e316();while(!![]){try{const _0x3351ff=parseInt(_0x10045e(0x1f1))/0x1*(parseInt(_0x10045e(0x1e3))/0x2)+-parseInt(_0x10045e(0x1f5))/0x3+parseInt(_0x10045e(0x1f9))/0x4*(-parseInt(_0x10045e(0x1ec))/0x5)+parseInt(_0x10045e(0x1d6))/0x6*(-parseInt(_0x10045e(0x1ff))/0x7)+parseInt(_0x10045e(0x1fb))/0x8+-parseInt(_0x10045e(0x1e8))/0x9*(parseInt(_0x10045e(0x1ea))/0xa)+parseInt(_0x10045e(0x1d5))/0xb;if(_0x3351ff===_0x4bbe28)break;else _0x170513['push'](_0x170513['shift']());}catch(_0xdf94db){_0x170513['push'](_0x170513['shift']());}}}(_0x43e5,0x28340));import{ListView as _0x4a52f9,View as _0x42a00f}from'ckeditor5/src/ui.js';function _0x272c(_0xdede81,_0x1b68a6){const _0x43e58e=_0x43e5();return _0x272c=function(_0x272ce9,_0x5a252d){_0x272ce9=_0x272ce9-0x1d3;let _0xd60067=_0x43e58e[_0x272ce9];return _0xd60067;},_0x272c(_0xdede81,_0x1b68a6);}import{global as _0x32b88e}from'ckeditor5/src/utils.js';import{getTranslation as _0x3e3da4}from'../../common-translations.js';export class PresenceDropdownListView extends _0x42a00f{[_0x49d88a(0x1ed)];constructor(_0x4bca11,_0x236b88){const _0x1b8a52=_0x49d88a;super(_0x4bca11);const _0x43d555=this[_0x1b8a52(0x1f0)];this[_0x1b8a52(0x1ed)]=new PresenceDropdownListWrapperView(_0x4bca11,_0x236b88),this[_0x1b8a52(0x1e9)]({'tag':_0x1b8a52(0x1e5),'attributes':{'tabindex':-0x1,'role':_0x1b8a52(0x1f2),'class':['ck',_0x1b8a52(0x200)],'aria-label':_0x3e3da4(_0x4bca11,_0x1b8a52(0x1fe))},'children':[this[_0x1b8a52(0x1ed)]],'on':{'mouseleave':_0x43d555['to'](_0x3af983=>{const _0x26b2db=_0x1b8a52,_0x45e481=_0x3af983,_0xef4a73=document[_0x26b2db(0x1eb)](_0x26b2db(0x1ef)),_0x522160=document[_0x26b2db(0x1eb)](_0x26b2db(0x1e0));_0xef4a73?.[_0x26b2db(0x1db)](_0x45e481[_0x26b2db(0x1fa)])||_0x522160?.[_0x26b2db(0x1db)](_0x45e481[_0x26b2db(0x1fa)])||this[_0x26b2db(0x1fd)](_0x26b2db(0x1f6));})}});}}export class PresenceDropdownListWrapperView extends _0x4a52f9{constructor(_0x1f4af7,_0x3d3c6d){const _0x5d95d2=_0x49d88a;super(_0x1f4af7);const _0x3ac051=this[_0x5d95d2(0x1f0)];this[_0x5d95d2(0x1d7)](_0x5d95d2(0x1ee),!0x1),this[_0x5d95d2(0x1e9)]({'tag':_0x3d3c6d?_0x5d95d2(0x1e5):'ul','attributes':{'class':['ck',_0x5d95d2(0x1fc),_0x5d95d2(0x1f4),_0x5d95d2(0x1d9),_0x3ac051['if'](_0x5d95d2(0x1ee),_0x5d95d2(0x1d8))],'role':_0x3ac051['to'](_0x5d95d2(0x1e4)),'aria-label':_0x3ac051['to'](_0x5d95d2(0x1e7)),'aria-labelledby':_0x3ac051['to'](_0x5d95d2(0x1d4))},'children':this[_0x5d95d2(0x1e1)]}),this[_0x5d95d2(0x1e6)](_0x32b88e[_0x5d95d2(0x1f7)],_0x5d95d2(0x1f8),()=>this[_0x5d95d2(0x1df)]()),this[_0x5d95d2(0x1e1)]['on'](_0x5d95d2(0x1dc),()=>this[_0x5d95d2(0x1df)]());}[_0x49d88a(0x1dd)](){const _0x309882=_0x49d88a;super[_0x309882(0x1dd)](),this[_0x309882(0x1df)]();}[_0x49d88a(0x1df)](){const _0x219f36=_0x49d88a,_0x456c55=this[_0x219f36(0x1da)];_0x456c55&&(this[_0x219f36(0x1ee)]=Math[_0x219f36(0x1f3)](_0x456c55[_0x219f36(0x1d3)],_0x456c55[_0x219f36(0x1de)])>0.8*window[_0x219f36(0x1e2)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29a6d4=_0x55a4;function _0x3c7e(){const _0x391db2=['color','name','bindTemplate','template','execute','1465128UaPASm','3794994nyyBci','ck-presence-list__marker','3387230OJggGA','fire','setTemplate','getBackgroundColorClass','set','userView','hasTooltip','812837Avtslx','1008ydlkhg','listitem','true','button','markerView','2821836exFitB','ck-presence-list__list-item','tag','3XLJRTo','167512ZMqHwI','span','3086532PuuokF','div','isFocusable','tooltipPosition','text','ck-presence-list__list-item__tooltip'];_0x3c7e=function(){return _0x391db2;};return _0x3c7e();}(function(_0x14d7b2,_0x3a6ee5){const _0x34738e=_0x55a4,_0x30dc82=_0x14d7b2();while(!![]){try{const _0x22f6ae=parseInt(_0x34738e(0x16e))/0x1+-parseInt(_0x34738e(0x159))/0x2+-parseInt(_0x34738e(0x177))/0x3*(-parseInt(_0x34738e(0x174))/0x4)+-parseInt(_0x34738e(0x167))/0x5+-parseInt(_0x34738e(0x165))/0x6+-parseInt(_0x34738e(0x164))/0x7+-parseInt(_0x34738e(0x178))/0x8*(-parseInt(_0x34738e(0x16f))/0x9);if(_0x22f6ae===_0x3a6ee5)break;else _0x30dc82['push'](_0x30dc82['shift']());}catch(_0x2ffb78){_0x30dc82['push'](_0x30dc82['shift']());}}}(_0x3c7e,0xc38b5));import{LabelView as _0x26c3ec,View as _0x1e1d47}from'ckeditor5/src/ui.js';function _0x55a4(_0x2b7292,_0x52a4bd){const _0x3c7e94=_0x3c7e();return _0x55a4=function(_0x55a459,_0x12340a){_0x55a459=_0x55a459-0x158;let _0x2bfbd4=_0x3c7e94[_0x55a459];return _0x2bfbd4;},_0x55a4(_0x2b7292,_0x52a4bd);}import{UserView as _0x5da3e5}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x1e1d47{[_0x29a6d4(0x16c)];[_0x29a6d4(0x173)];constructor(_0xfdfc10,_0x357d5f,_0x40eabd){const _0x315d96=_0x29a6d4;super(_0xfdfc10);const _0x310778=this[_0x315d96(0x161)];this[_0x315d96(0x16b)](_0x315d96(0x15b),!0x1),this[_0x315d96(0x16b)](_0x315d96(0x16d),!0x0),this[_0x315d96(0x16b)](_0x315d96(0x15c),''),this[_0x315d96(0x16c)]=new _0x5da3e5(_0xfdfc10,_0x357d5f),this[_0x315d96(0x173)]=new nt(_0xfdfc10,_0x357d5f);const _0x30886a=new _0x26c3ec(_0xfdfc10);_0x30886a[_0x315d96(0x162)][_0x315d96(0x176)]=_0x315d96(0x158),_0x30886a[_0x315d96(0x15d)]=_0x357d5f[_0x315d96(0x160)];const _0x52dabc={'tag':_0x315d96(0x15a),'attributes':{'class':['ck',_0x315d96(0x175)],'role':_0x315d96(0x170),'tabindex':_0x310778['to'](_0x315d96(0x15b),_0x46d437=>!!_0x46d437&&0x0),'aria-labelledby':_0x30886a['id'],'data-cke-tooltip-text':this[_0x315d96(0x16c)][_0x315d96(0x160)],'data-cke-tooltip-position':_0x310778['to'](_0x315d96(0x15c)),'data-cke-tooltip-disabled':_0x310778['to'](_0x315d96(0x16d),_0x505022=>!_0x505022),'data-cke-tooltip-class':_0x315d96(0x15e)},'children':[this[_0x315d96(0x16c)],this[_0x315d96(0x173)],_0x30886a]};_0x40eabd&&(_0x52dabc[_0x315d96(0x176)]=_0x315d96(0x172),_0x52dabc['on']={'click':_0x310778['to'](()=>this[_0x315d96(0x168)](_0x315d96(0x163)))}),this[_0x315d96(0x169)](_0x52dabc);}}class nt extends _0x1e1d47{constructor(_0x320f23,_0xbab758){const _0x1e574d=_0x29a6d4;super(_0x320f23),this[_0x1e574d(0x169)]({'tag':_0x1e574d(0x158),'attributes':{'class':['ck',_0x1e574d(0x166),_0xbab758[_0x1e574d(0x15f)][_0x1e574d(0x16a)]()],'aria-hidden':_0x1e574d(0x171)}});}}
23
+ const _0x19f6b7=_0xa266;function _0x10bd(){const _0x55c2e6=['button','ck-presence-list__list-item','ck-presence-list__list-item__tooltip','set','name','hasTooltip','1137783uFWlSE','958abLpZa','635WOMOsj','execute','true','isFocusable','ck-presence-list__marker','86xYgNPv','text','923598HTQaIt','color','5626864zfgUGF','markerView','userView','template','setTemplate','tooltipPosition','3868uRdrcN','tag','655548gvUpiA','listitem','11lMXsHV','7fwHVlp','span','bindTemplate','11927560iCJTnE','div','getBackgroundColorClass','fire'];_0x10bd=function(){return _0x55c2e6;};return _0x10bd();}function _0xa266(_0x6f9fad,_0x21cbe5){const _0x10bd35=_0x10bd();return _0xa266=function(_0xa2667a,_0x2e8000){_0xa2667a=_0xa2667a-0x75;let _0x413e6f=_0x10bd35[_0xa2667a];return _0x413e6f;},_0xa266(_0x6f9fad,_0x21cbe5);}(function(_0x4f8586,_0x4630df){const _0x1c86d4=_0xa266,_0x12a3e8=_0x4f8586();while(!![]){try{const _0x532f96=-parseInt(_0x1c86d4(0x89))/0x1*(parseInt(_0x1c86d4(0x8f))/0x2)+-parseInt(_0x1c86d4(0x88))/0x3+-parseInt(_0x1c86d4(0x76))/0x4*(-parseInt(_0x1c86d4(0x8a))/0x5)+-parseInt(_0x1c86d4(0x78))/0x6*(-parseInt(_0x1c86d4(0x7b))/0x7)+-parseInt(_0x1c86d4(0x93))/0x8+parseInt(_0x1c86d4(0x91))/0x9+parseInt(_0x1c86d4(0x7e))/0xa*(parseInt(_0x1c86d4(0x7a))/0xb);if(_0x532f96===_0x4630df)break;else _0x12a3e8['push'](_0x12a3e8['shift']());}catch(_0x497ca2){_0x12a3e8['push'](_0x12a3e8['shift']());}}}(_0x10bd,0x628b0));import{LabelView as _0x25fd36,View as _0x33ffa7}from'ckeditor5/src/ui.js';import{UserView as _0x5133fe}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x33ffa7{[_0x19f6b7(0x95)];[_0x19f6b7(0x94)];constructor(_0x59eb3e,_0x4c14d5,_0x493871){const _0x167dc7=_0x19f6b7;super(_0x59eb3e);const _0x4540d5=this[_0x167dc7(0x7d)];this[_0x167dc7(0x85)](_0x167dc7(0x8d),!0x1),this[_0x167dc7(0x85)](_0x167dc7(0x87),!0x0),this[_0x167dc7(0x85)](_0x167dc7(0x75),''),this[_0x167dc7(0x95)]=new _0x5133fe(_0x59eb3e,_0x4c14d5),this[_0x167dc7(0x94)]=new at(_0x59eb3e,_0x4c14d5);const _0x3b96b1=new _0x25fd36(_0x59eb3e);_0x3b96b1[_0x167dc7(0x96)][_0x167dc7(0x77)]=_0x167dc7(0x7c),_0x3b96b1[_0x167dc7(0x90)]=_0x4c14d5[_0x167dc7(0x86)];const _0x4ac7a3={'tag':_0x167dc7(0x7f),'attributes':{'class':['ck',_0x167dc7(0x83)],'role':_0x167dc7(0x79),'tabindex':_0x4540d5['to'](_0x167dc7(0x8d),_0x2f4025=>!!_0x2f4025&&0x0),'aria-labelledby':_0x3b96b1['id'],'data-cke-tooltip-text':this[_0x167dc7(0x95)][_0x167dc7(0x86)],'data-cke-tooltip-position':_0x4540d5['to'](_0x167dc7(0x75)),'data-cke-tooltip-disabled':_0x4540d5['to'](_0x167dc7(0x87),_0x19cc26=>!_0x19cc26),'data-cke-tooltip-class':_0x167dc7(0x84)},'children':[this[_0x167dc7(0x95)],this[_0x167dc7(0x94)],_0x3b96b1]};_0x493871&&(_0x4ac7a3[_0x167dc7(0x77)]=_0x167dc7(0x82),_0x4ac7a3['on']={'click':_0x4540d5['to'](()=>this[_0x167dc7(0x81)](_0x167dc7(0x8b)))}),this[_0x167dc7(0x97)](_0x4ac7a3);}}class at extends _0x33ffa7{constructor(_0x100cc4,_0x5eab3){const _0x5a3875=_0x19f6b7;super(_0x100cc4),this[_0x5a3875(0x97)]({'tag':_0x5a3875(0x7c),'attributes':{'class':['ck',_0x5a3875(0x8e),_0x5eab3[_0x5a3875(0x92)][_0x5a3875(0x80)]()],'aria-hidden':_0x5a3875(0x8c)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x21cad4=_0x3f33;(function(_0x4c0c2e,_0x36b342){const _0x44f0fb=_0x3f33,_0x1878f8=_0x4c0c2e();while(!![]){try{const _0x481a97=-parseInt(_0x44f0fb(0xdd))/0x1+parseInt(_0x44f0fb(0xeb))/0x2+parseInt(_0x44f0fb(0xe3))/0x3+parseInt(_0x44f0fb(0xd5))/0x4*(parseInt(_0x44f0fb(0xce))/0x5)+-parseInt(_0x44f0fb(0xd7))/0x6+-parseInt(_0x44f0fb(0xd8))/0x7+-parseInt(_0x44f0fb(0xe6))/0x8;if(_0x481a97===_0x36b342)break;else _0x1878f8['push'](_0x1878f8['shift']());}catch(_0x3a08cb){_0x1878f8['push'](_0x1878f8['shift']());}}}(_0x2b56,0xc1d16));function _0x3f33(_0x53b47b,_0x1ac191){const _0x2b56a7=_0x2b56();return _0x3f33=function(_0x3f33b0,_0x573c04){_0x3f33b0=_0x3f33b0-0xcc;let _0x3ce761=_0x2b56a7[_0x3f33b0];return _0x3ce761;},_0x3f33(_0x53b47b,_0x1ac191);}function _0x2b56(){const _0x26ec0e=['div','3266192GRkKqP','list','aria-expanded','contains','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','3108888pjvRSi','hasPopup','removeAttribute','.ck-presence-list__dropdown-list','.ck-balloon-panel_with-arrow','fire','render','querySelector','500sOEvcd','focus','ck-presence-list__list','isExpanded','element','set','createCollection','26216rHLYtO','presencelist:hide','2664408saHyGJ','6103370bZOXEh','items','listenTo','bindTemplate','relatedTarget','1106373vyAphN','setAttribute','setTemplate','Connected\x20users\x20list','change:hasPopup','presencelist:show','4243977FPcqwl','keystrokes'];_0x2b56=function(){return _0x26ec0e;};return _0x2b56();}import{View as _0x5ea11b}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4c9da6}from'ckeditor5/src/utils.js';import{getTranslation as _0xa5144d}from'../../common-translations.js';export class PresenceInlineListView extends _0x5ea11b{[_0x21cad4(0xd9)];[_0x21cad4(0xe4)];constructor(_0x18e590){const _0x326d29=_0x21cad4;super(_0x18e590);const _0x385224=this[_0x326d29(0xdb)];this[_0x326d29(0xd9)]=this[_0x326d29(0xd4)](),this[_0x326d29(0xe4)]=new _0x4c9da6(),this[_0x326d29(0xd3)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x326d29(0xdf)]({'tag':_0x326d29(0xe5),'attributes':{'aria-haspopup':_0x385224['if'](_0x326d29(0xec)),'aria-expanded':_0x385224['to'](_0x326d29(0xd1),_0x53bc3c=>this[_0x326d29(0xec)]&&String(_0x53bc3c)),'aria-label':_0x385224['to'](_0x326d29(0xec),_0x44dd8b=>_0xa5144d(_0x18e590,_0x44dd8b?_0x326d29(0xea):_0x326d29(0xe0))),'role':_0x326d29(0xe7),'tabindex':_0x385224['to'](_0x326d29(0xec),_0x57079a=>!!_0x57079a&&0x0),'class':['ck',_0x326d29(0xd0)]},'children':this[_0x326d29(0xd9)],'on':{'mouseenter':_0x385224['to'](()=>this[_0x326d29(0xf0)](_0x326d29(0xe2))),'mouseleave':_0x385224['to'](_0x487c4c=>{const _0x26acce=_0x326d29,_0x20cd1b=_0x487c4c,_0xc9b3ca=document[_0x26acce(0xcd)](_0x26acce(0xee)),_0x32ed8b=document[_0x26acce(0xcd)](_0x26acce(0xef));_0xc9b3ca?.[_0x26acce(0xe9)](_0x20cd1b[_0x26acce(0xdc)])||_0x32ed8b?.[_0x26acce(0xe9)](_0x20cd1b[_0x26acce(0xdc)])||this[_0x26acce(0xf0)](_0x26acce(0xd6));})}}),this['on'](_0x326d29(0xe1),(_0x122fb3,_0x48f1a3,_0x3cec4e)=>{const _0x28ce1a=_0x326d29;this[_0x28ce1a(0xd2)]&&(_0x3cec4e?this[_0x28ce1a(0xd2)][_0x28ce1a(0xde)](_0x28ce1a(0xe8),String(this[_0x28ce1a(0xd1)])):this[_0x28ce1a(0xd2)][_0x28ce1a(0xed)](_0x28ce1a(0xe8)));});}[_0x21cad4(0xcf)](){const _0x44164b=_0x21cad4;this[_0x44164b(0xd2)][_0x44164b(0xcf)]();}[_0x21cad4(0xcc)](){const _0x543012=_0x21cad4;super[_0x543012(0xcc)](),this[_0x543012(0xe4)][_0x543012(0xda)](this[_0x543012(0xd2)]);}}
23
+ const _0x292d4a=_0x19bb;function _0x3faa(){const _0x10aff6=['30yIbMif','2930SKsfLG','Connected\x20users\x20list','ck-presence-list__list','hasPopup','aria-expanded','keystrokes','.ck-presence-list__dropdown-list','bindTemplate','presencelist:hide','contains','relatedTarget','20YfJSlQ','list','items','154469xJYryK','isExpanded','5622364tblQKM','div','removeAttribute','querySelector','25LmRnFi','20184Bnrnlt','.ck-balloon-panel_with-arrow','1431696SrYDpr','176836mAzEfb','setTemplate','change:hasPopup','listenTo','createCollection','focus','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','fire','422826oWGQbP','render','set','presencelist:show','333DTjGti','setAttribute'];_0x3faa=function(){return _0x10aff6;};return _0x3faa();}(function(_0x21619a,_0xcbd9f9){const _0x16e331=_0x19bb,_0x2718a5=_0x21619a();while(!![]){try{const _0x342670=-parseInt(_0x16e331(0x172))/0x1+-parseInt(_0x16e331(0x15c))/0x2*(parseInt(_0x16e331(0x166))/0x3)+parseInt(_0x16e331(0x169))/0x4*(parseInt(_0x16e331(0x165))/0x5)+-parseInt(_0x16e331(0x178))/0x6*(parseInt(_0x16e331(0x15f))/0x7)+parseInt(_0x16e331(0x168))/0x8+-parseInt(_0x16e331(0x176))/0x9*(parseInt(_0x16e331(0x179))/0xa)+parseInt(_0x16e331(0x161))/0xb;if(_0x342670===_0xcbd9f9)break;else _0x2718a5['push'](_0x2718a5['shift']());}catch(_0x5d974f){_0x2718a5['push'](_0x2718a5['shift']());}}}(_0x3faa,0x49349));import{View as _0x12e116}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4cdbf8}from'ckeditor5/src/utils.js';import{getTranslation as _0x2a83f8}from'../../common-translations.js';function _0x19bb(_0xf780d1,_0x15c5ea){const _0x3faa54=_0x3faa();return _0x19bb=function(_0x19bbcf,_0xc0c05){_0x19bbcf=_0x19bbcf-0x153;let _0x330454=_0x3faa54[_0x19bbcf];return _0x330454;},_0x19bb(_0xf780d1,_0x15c5ea);}export class PresenceInlineListView extends _0x12e116{[_0x292d4a(0x15e)];[_0x292d4a(0x156)];constructor(_0x2356db){const _0x15a73f=_0x292d4a;super(_0x2356db);const _0xea7426=this[_0x15a73f(0x158)];this[_0x15a73f(0x15e)]=this[_0x15a73f(0x16d)](),this[_0x15a73f(0x156)]=new _0x4cdbf8(),this[_0x15a73f(0x174)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x15a73f(0x16a)]({'tag':_0x15a73f(0x162),'attributes':{'aria-haspopup':_0xea7426['if'](_0x15a73f(0x154)),'aria-expanded':_0xea7426['to'](_0x15a73f(0x160),_0x2a315b=>this[_0x15a73f(0x154)]&&String(_0x2a315b)),'aria-label':_0xea7426['to'](_0x15a73f(0x154),_0x570d89=>_0x2a83f8(_0x2356db,_0x570d89?_0x15a73f(0x170):_0x15a73f(0x17a))),'role':_0x15a73f(0x15d),'tabindex':_0xea7426['to'](_0x15a73f(0x154),_0x3d4259=>!!_0x3d4259&&0x0),'class':['ck',_0x15a73f(0x153)]},'children':this[_0x15a73f(0x15e)],'on':{'mouseenter':_0xea7426['to'](()=>this[_0x15a73f(0x171)](_0x15a73f(0x175))),'mouseleave':_0xea7426['to'](_0x4ddf01=>{const _0x261c87=_0x15a73f,_0x8f6f37=_0x4ddf01,_0x3a10e5=document[_0x261c87(0x164)](_0x261c87(0x157)),_0x1068b7=document[_0x261c87(0x164)](_0x261c87(0x167));_0x3a10e5?.[_0x261c87(0x15a)](_0x8f6f37[_0x261c87(0x15b)])||_0x1068b7?.[_0x261c87(0x15a)](_0x8f6f37[_0x261c87(0x15b)])||this[_0x261c87(0x171)](_0x261c87(0x159));})}}),this['on'](_0x15a73f(0x16b),(_0x52e266,_0x3318d7,_0x54418c)=>{const _0x59f55c=_0x15a73f;this[_0x59f55c(0x16f)]&&(_0x54418c?this[_0x59f55c(0x16f)][_0x59f55c(0x177)](_0x59f55c(0x155),String(this[_0x59f55c(0x160)])):this[_0x59f55c(0x16f)][_0x59f55c(0x163)](_0x59f55c(0x155)));});}[_0x292d4a(0x16e)](){const _0x425a13=_0x292d4a;this[_0x425a13(0x16f)][_0x425a13(0x16e)]();}[_0x292d4a(0x173)](){const _0x22c2bc=_0x292d4a;super[_0x22c2bc(0x173)](),this[_0x22c2bc(0x156)][_0x22c2bc(0x16c)](this[_0x22c2bc(0x16f)]);}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e4e06=_0x2cb9;(function(_0x5b4897,_0x19b844){const _0x27ffca=_0x2cb9,_0x5464cf=_0x5b4897();while(!![]){try{const _0x519187=parseInt(_0x27ffca(0x1f5))/0x1*(parseInt(_0x27ffca(0x22c))/0x2)+-parseInt(_0x27ffca(0x251))/0x3+parseInt(_0x27ffca(0x222))/0x4+parseInt(_0x27ffca(0x213))/0x5*(-parseInt(_0x27ffca(0x20c))/0x6)+parseInt(_0x27ffca(0x24e))/0x7+parseInt(_0x27ffca(0x228))/0x8*(-parseInt(_0x27ffca(0x242))/0x9)+parseInt(_0x27ffca(0x237))/0xa*(parseInt(_0x27ffca(0x1fd))/0xb);if(_0x519187===_0x19b844)break;else _0x5464cf['push'](_0x5464cf['shift']());}catch(_0x5c39fc){_0x5464cf['push'](_0x5464cf['shift']());}}}(_0x2a92,0x729d7));import{Context as _0x193f49,ContextPlugin as _0x22d020}from'ckeditor5/src/core.js';function _0x2a92(){const _0x1f7485=['1444185QmDnFw','catch','init','authorId','addUser','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentId','isOfficialPlugin','sessionAdd:','config','cloud-services-internal-error:\x20Not\x20connected.','41PrNYIP','remove','connect','add','disconnect','startsWith','removeCommentThread','CommentsService','11hngsyV','updateComment','permissions','attributes','404','message','delete','_services','get','CommentsRepository','keys','has','commentAdded','getCommentThreads','listenTo','443346XKEjyv','resolveCommentThread','from','update','map','mySessionId','content','35lokddB','code','adapter','deletedAt','plugins','context','_getService','getMany','getComment','CloudServicesCommentsAdapter','setPermissions','getConnectedSessions','commentRemoved','_terminateService','cloudservicescommentsadapter-connect-already-connected','192420HmJfCv','collaboration.channelId','_fetchMissingUsersForThreads','pluginName','cloudservicescommentsadapter-disconnect-not-exist','removeComment','6519032BMIsjU','reconnect','assign','_setUpService','45622MghrdO','register','commentThreadUpdated','updateCommentThread','userId','commentThreadReopened','_connectService','cloudservicescommentsadapter-service-not-exist','resolvedBy','resolve','commentThreadAdded','12602280opdjeU','off','Permissions','commentThreadRemoved','createdAt','isPremiumPlugin','requires','destroy','resolvedAt','comments','cloud-services-internal-error:\x20Request\x20timeout.','9OHsbAL','size','reopen','addComment','commentUpdated','unregister','reopenCommentThread','set','commentThreadId','addCommentThread','commentThreadResolved','getCommentThread','275730NmTUug','getUser','addToReconnectionStack'];_0x2a92=function(){return _0x1f7485;};return _0x2a92();}import{CKEditorError as _0x2a1619}from'ckeditor5/src/utils.js';import{Users as _0x277b60}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5248bc,User as _0x3d5079}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x45ca48}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5f32cc}from'../realtimecollaborativeediting/sessions.js';function _0x2cb9(_0x3e9c82,_0x231fcb){const _0x2a924c=_0x2a92();return _0x2cb9=function(_0x2cb963,_0x2fe52a){_0x2cb963=_0x2cb963-0x1f0;let _0x444f4b=_0x2a924c[_0x2cb963];return _0x444f4b;},_0x2cb9(_0x3e9c82,_0x231fcb);}class s extends _0x22d020{static [_0x4e4e06(0x1fc)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5248bc)());[_0x4e4e06(0x204)];static get[_0x4e4e06(0x23d)](){const _0x34914b=_0x4e4e06;return[_0x45ca48,_0x34914b(0x206),_0x5f32cc,_0x277b60];}static get[_0x4e4e06(0x225)](){const _0x270877=_0x4e4e06;return _0x270877(0x21c);}static get[_0x4e4e06(0x1f1)](){return!0x0;}static get[_0x4e4e06(0x23c)](){return!0x0;}constructor(_0x4059c8){const _0x21de40=_0x4e4e06;super(_0x4059c8),this[_0x21de40(0x204)]=new Map();}async[_0x4e4e06(0x253)](){const _0x11c3c5=_0x4e4e06,_0x339b04=this[_0x11c3c5(0x218)],_0x38b8c2=_0x339b04[_0x11c3c5(0x217)][_0x11c3c5(0x205)](_0x11c3c5(0x206));if(_0x339b04[_0x11c3c5(0x217)][_0x11c3c5(0x205)](_0x45ca48)[_0x11c3c5(0x250)](this),_0x38b8c2[_0x11c3c5(0x215)]={'addCommentThread':async({channelId:_0x190039,threadId:_0x433daf,comments:_0x5ced54,resolvedAt:_0x55e59a,resolvedBy:_0x49cedd,context:_0x32d025,attributes:_0x3f89e4})=>{const _0x4b1d72=_0x11c3c5,_0x273dfa=await this[_0x4b1d72(0x219)](_0x190039)[_0x4b1d72(0x24b)]({'commentThreadId':_0x433daf,'comments':_0x5ced54[_0x4b1d72(0x210)](_0x245b26=>function(_0x3eba7c,_0x37ed75,_0xdf5a35){const _0x15193e=_0x4b1d72;return{'commentThreadId':_0xdf5a35,'commentId':_0x3eba7c[_0x15193e(0x1f0)],'userId':_0x3eba7c[_0x15193e(0x254)],'content':_0x3eba7c[_0x15193e(0x212)],'documentId':_0x37ed75,'createdAt':_0x3eba7c[_0x15193e(0x23b)],'attributes':_0x3eba7c[_0x15193e(0x200)]||{}};}(_0x245b26,_0x190039,_0x433daf)),'resolvedAt':_0x55e59a,'resolvedBy':_0x49cedd,'context':_0x32d025,'attributes':_0x3f89e4})[_0x4b1d72(0x252)](tt);return{'threadId':_0x273dfa[_0x4b1d72(0x24a)],'comments':_0x273dfa[_0x4b1d72(0x240)]};},'getCommentThread':async({channelId:_0x56deb8,threadId:_0x5aeeaa})=>{const _0x5590c7=_0x11c3c5,_0x5fe159=await this[_0x5590c7(0x219)](_0x56deb8)[_0x5590c7(0x24d)](_0x5aeeaa)[_0x5590c7(0x252)](tt);return _0x5fe159[_0x5590c7(0x216)]?null:(await this[_0x5590c7(0x224)]([_0x5fe159]),{'threadId':_0x5fe159[_0x5590c7(0x24a)],'comments':_0x5fe159[_0x5590c7(0x240)][_0x5590c7(0x210)](et),'context':_0x5fe159[_0x5590c7(0x218)],'resolvedAt':_0x5fe159[_0x5590c7(0x23f)],'resolvedBy':_0x5fe159[_0x5590c7(0x234)],'attributes':_0x5fe159[_0x5590c7(0x200)]||{}});},'updateCommentThread':async({channelId:_0x2e2551,threadId:_0x6bea68,context:_0x208c44,unlinkedAt:_0x2f0519,attributes:_0x2637c5})=>this[_0x11c3c5(0x219)](_0x2e2551)[_0x11c3c5(0x22f)]({'commentThreadId':_0x6bea68,'context':_0x208c44,'attributes':_0x2637c5,'unlinkedAt':_0x2f0519})[_0x11c3c5(0x252)](Z)[_0x11c3c5(0x252)](tt),'resolveCommentThread':async({channelId:_0x835f0f,threadId:_0x35d271})=>{const _0x1b5b8a=_0x11c3c5,_0x415d6b=await this[_0x1b5b8a(0x219)](_0x835f0f)[_0x1b5b8a(0x20d)](_0x35d271)[_0x1b5b8a(0x252)](Z)[_0x1b5b8a(0x252)](tt);return{'threadId':_0x415d6b[_0x1b5b8a(0x24a)],'resolvedAt':_0x415d6b[_0x1b5b8a(0x23f)],'resolvedBy':_0x415d6b[_0x1b5b8a(0x234)]};},'reopenCommentThread':async({channelId:_0x36b8bf,threadId:_0xffa3c5})=>this[_0x11c3c5(0x219)](_0x36b8bf)[_0x11c3c5(0x248)](_0xffa3c5)[_0x11c3c5(0x252)](Z)[_0x11c3c5(0x252)](tt),'removeCommentThread':({channelId:_0xcb7461,threadId:_0x51dc89})=>this[_0x11c3c5(0x219)](_0xcb7461)[_0x11c3c5(0x1fb)](_0x51dc89)[_0x11c3c5(0x252)](Z)[_0x11c3c5(0x252)](tt),'addComment':({channelId:_0x5ef05b,threadId:_0x1cfab0,commentId:_0x102db4,content:_0x1bccfd,attributes:_0x1f3f99})=>this[_0x11c3c5(0x219)](_0x5ef05b)[_0x11c3c5(0x245)](_0x1cfab0,_0x102db4,_0x1bccfd,_0x1f3f99)[_0x11c3c5(0x252)](tt),'updateComment':({channelId:_0xe1c397,threadId:_0x15c9bf,commentId:_0x106de1,content:_0x10d884,attributes:_0x440923})=>this[_0x11c3c5(0x219)](_0xe1c397)[_0x11c3c5(0x1fe)](_0x15c9bf,_0x106de1,_0x10d884,_0x440923)[_0x11c3c5(0x252)](Z)[_0x11c3c5(0x252)](tt),'removeComment':({channelId:_0x4b09db,threadId:_0x11cba1,commentId:_0x2fe0cd})=>this[_0x11c3c5(0x219)](_0x4b09db)[_0x11c3c5(0x227)](_0x11cba1,_0x2fe0cd)[_0x11c3c5(0x252)](Z)[_0x11c3c5(0x252)](tt)},_0x339b04 instanceof _0x193f49){const _0x3e62f4=_0x339b04[_0x11c3c5(0x1f3)][_0x11c3c5(0x205)](_0x11c3c5(0x223)),_0xb282cd=_0x339b04[_0x11c3c5(0x217)][_0x11c3c5(0x205)](_0x5f32cc);await this[_0x11c3c5(0x22b)](_0x3e62f4);const _0x4ffb51=await this[_0x11c3c5(0x204)][_0x11c3c5(0x205)](_0x3e62f4)[_0x11c3c5(0x21e)]();this[_0x11c3c5(0x20b)](_0xb282cd,_0x11c3c5(0x1f2)+_0x3e62f4,(_0x525591,{session:_0x57fcfa})=>{const _0xe8131d=_0x11c3c5;_0x57fcfa['id']===_0xb282cd[_0xe8131d(0x211)]&&(_0x525591[_0xe8131d(0x238)](),this[_0xe8131d(0x218)][_0xe8131d(0x217)][_0xe8131d(0x205)](_0xe8131d(0x239))[_0xe8131d(0x21d)](_0x57fcfa[_0xe8131d(0x1ff)],_0x3e62f4));}),_0xb282cd[_0x11c3c5(0x22d)](_0x3e62f4,_0x4ffb51);}}async[_0x4e4e06(0x22b)](_0x5d86ae){const _0x2270ba=_0x4e4e06;if(this[_0x2270ba(0x204)][_0x2270ba(0x208)](_0x5d86ae))throw new _0x2a1619(_0x2270ba(0x221),null,{'channelId':_0x5d86ae});const _0x49702e=this[_0x2270ba(0x218)][_0x2270ba(0x217)][_0x2270ba(0x205)](_0x2270ba(0x206)),_0xca53cc=new s[(_0x2270ba(0x1fc))](_0x5d86ae);this[_0x2270ba(0x204)][_0x2270ba(0x249)](_0x5d86ae,_0xca53cc),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x236),(_0x160733,_0x250f27)=>{const _0x2d283c=_0x2270ba,{commentThreadId:_0x3c2f9d,documentId:_0x5b2ab4,context:_0xe7d42d,attributes:_0x1d823f,resolvedAt:_0x5a8a97,resolvedBy:_0x1b3208,comments:_0x644794}=_0x250f27;_0x49702e[_0x2d283c(0x24d)](_0x3c2f9d)||_0x49702e[_0x2d283c(0x24b)]({'threadId':_0x3c2f9d,'channelId':_0x5b2ab4,'comments':_0x644794?_0x644794[_0x2d283c(0x210)](et):[],'context':_0xe7d42d,'attributes':_0x1d823f,'resolvedAt':_0x5a8a97,'resolvedBy':_0x1b3208,'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x22e),(_0x370348,{commentThreadId:_0x11cd01,documentId:_0x1b06ae,context:_0x124ee8,unlinkedAt:_0xede50e,attributes:_0x1387cb})=>{const _0x389dd6=_0x2270ba;_0x49702e[_0x389dd6(0x24d)](_0x11cd01)&&_0x49702e[_0x389dd6(0x22f)]({'threadId':_0x11cd01,'channelId':_0x1b06ae,'context':_0x124ee8,'unlinkedAt':_0xede50e,'attributes':_0x1387cb,'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x24c),(_0x387c32,{commentThreadId:_0x2834dc,resolvedBy:_0xf861af,resolvedAt:_0xc42909})=>{const _0x1550a3=_0x2270ba,_0x2fce48=_0x49702e[_0x1550a3(0x24d)](_0x2834dc);_0x2fce48&&_0x2fce48[_0x1550a3(0x235)]({'resolvedBy':_0xf861af,'resolvedAt':_0xc42909,'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x231),(_0xad6a10,{commentThreadId:_0x44eca7})=>{const _0x36f721=_0x2270ba,_0x228498=_0x49702e[_0x36f721(0x24d)](_0x44eca7);_0x228498&&_0x228498[_0x36f721(0x244)]({'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x23a),(_0x23f98b,{commentThreadId:_0x1d0cb6})=>{const _0x28a03c=_0x2270ba,_0x404dab=_0x49702e[_0x28a03c(0x24d)](_0x1d0cb6);_0x404dab&&_0x404dab[_0x28a03c(0x1f6)]({'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x209),(_0x3afb8f,_0x45c3dd)=>{const _0x2ec46a=_0x2270ba,_0x2729b8=_0x45c3dd[_0x2ec46a(0x24a)],_0x2c4abd=_0x49702e[_0x2ec46a(0x24d)](_0x2729b8);_0x2c4abd&&_0x2c4abd[_0x2ec46a(0x245)]({...et(_0x45c3dd),'isFromAdapter':!0x0});}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x246),(_0x28d62a,{commentThreadId:_0x51bd35,commentId:_0x3df994,content:_0x527972,attributes:_0x21383c})=>{const _0x1658e2=_0x2270ba,_0x8e9b84=_0x49702e[_0x1658e2(0x24d)](_0x51bd35);if(_0x8e9b84){const _0x30dee3=_0x8e9b84[_0x1658e2(0x21b)](_0x3df994);_0x30dee3&&_0x30dee3[_0x1658e2(0x20f)]({'content':_0x527972,'attributes':_0x21383c,'isFromAdapter':!0x0});}}),this[_0x2270ba(0x20b)](_0xca53cc,_0x2270ba(0x21f),(_0x10c252,{commentThreadId:_0x6235d1,commentId:_0x4e94e4})=>{const _0x336cda=_0x2270ba,_0x40cd6a=_0x49702e[_0x336cda(0x24d)](_0x6235d1);if(_0x40cd6a){const _0x2baed6=_0x40cd6a[_0x336cda(0x21b)](_0x4e94e4);_0x2baed6&&_0x2baed6[_0x336cda(0x1f6)]({'isFromAdapter':!0x0});}}),await this[_0x2270ba(0x232)](_0x5d86ae);}[_0x4e4e06(0x23e)](){const _0x319e6b=_0x4e4e06;if(this[_0x319e6b(0x218)]instanceof _0x193f49){const _0x7be315=this[_0x319e6b(0x218)][_0x319e6b(0x1f3)][_0x319e6b(0x205)](_0x319e6b(0x223));this[_0x319e6b(0x220)](_0x7be315);}}[_0x4e4e06(0x220)](_0x21896c){const _0x52abe4=_0x4e4e06;if(!this[_0x52abe4(0x204)][_0x52abe4(0x208)](_0x21896c))throw new _0x2a1619(_0x52abe4(0x226),null,{'channelId':_0x21896c});this[_0x52abe4(0x219)](_0x21896c)[_0x52abe4(0x1f9)](),this[_0x52abe4(0x204)][_0x52abe4(0x203)](_0x21896c);}async[_0x4e4e06(0x229)](){const _0x31263e=_0x4e4e06;for(const _0x53a25b of this[_0x31263e(0x204)][_0x31263e(0x207)]())await this[_0x31263e(0x232)](_0x53a25b);if(this[_0x31263e(0x218)]instanceof _0x193f49){const _0x9bc16e=this[_0x31263e(0x218)][_0x31263e(0x1f3)][_0x31263e(0x205)](_0x31263e(0x223)),_0x21918c=this[_0x31263e(0x218)][_0x31263e(0x217)][_0x31263e(0x205)](_0x5f32cc);_0x21918c[_0x31263e(0x247)](_0x9bc16e);const _0x334f75=await this[_0x31263e(0x204)][_0x31263e(0x205)](_0x9bc16e)[_0x31263e(0x21e)]();_0x21918c[_0x31263e(0x22d)](_0x9bc16e,_0x334f75);}}async[_0x4e4e06(0x232)](_0xf66240){const _0x400b76=_0x4e4e06,{connection:_0x5bc9d9}=this[_0x400b76(0x218)][_0x400b76(0x217)][_0x400b76(0x205)](_0x45ca48),_0x239ed9=this[_0x400b76(0x218)][_0x400b76(0x217)][_0x400b76(0x205)](_0x400b76(0x206)),_0x1d3ada=this[_0x400b76(0x204)][_0x400b76(0x205)](_0xf66240),_0x51b2ae=await _0x1d3ada[_0x400b76(0x1f7)](_0x5bc9d9);await this[_0x400b76(0x224)](_0x51b2ae);const _0x3df027=new Set(Array[_0x400b76(0x20e)](_0x239ed9[_0x400b76(0x20a)]({'channelId':_0xf66240}),_0xcc022d=>_0xcc022d['id']));for(const _0x51b02e of _0x51b2ae)_0x51b02e[_0x400b76(0x216)]||_0x3df027[_0x400b76(0x203)](_0x51b02e[_0x400b76(0x24a)]);for(const _0xe34603 of _0x3df027)_0x239ed9[_0x400b76(0x24d)](_0xe34603)[_0x400b76(0x1f6)]({'isFromAdapter':!0x0});for(const _0x4e27c9 of _0x51b2ae){let _0x5464f=_0x239ed9[_0x400b76(0x24d)](_0x4e27c9[_0x400b76(0x24a)]);const {commentThreadId:_0x5d849d,context:_0xef826c,attributes:_0x3a931f,resolvedBy:_0x1b3a4a,resolvedAt:_0x56985f,unlinkedAt:_0x4e0e55,deletedAt:_0x76e0d8}=_0x4e27c9;if(_0x76e0d8)continue;_0x5464f||(_0x5464f=_0x239ed9[_0x400b76(0x24b)]({'channelId':_0xf66240,'threadId':_0x5d849d,'context':_0xef826c,'attributes':_0x3a931f||{},'resolvedBy':_0x1b3a4a,'resolvedAt':_0x56985f,'unlinkedAt':_0x4e0e55,'isFromAdapter':!0x0}));const _0x3331b6=new Set(Array[_0x400b76(0x20e)](_0x5464f[_0x400b76(0x240)],_0x409e42=>_0x409e42['id']));for(const _0x19d08 of _0x4e27c9[_0x400b76(0x240)])_0x3331b6[_0x400b76(0x203)](_0x19d08[_0x400b76(0x1f0)]);for(const _0x363d97 of _0x3331b6)_0x5464f[_0x400b76(0x21b)](_0x363d97)[_0x400b76(0x1f6)]({'isFromAdapter':!0x0});for(const _0x3e9aee of _0x4e27c9[_0x400b76(0x240)]){const _0xde9063=_0x5464f[_0x400b76(0x21b)](_0x3e9aee[_0x400b76(0x1f0)]);_0xde9063?_0xde9063[_0x400b76(0x212)]!==_0x3e9aee[_0x400b76(0x212)]&&_0xde9063[_0x400b76(0x20f)]({'content':_0x3e9aee[_0x400b76(0x212)],'isFromAdapter':!0x0}):_0x5464f[_0x400b76(0x245)](Object[_0x400b76(0x22a)](et(_0x3e9aee),{'isFromAdapter':!0x0}));}}}[_0x4e4e06(0x219)](_0x7c8b8c){const _0x5befaa=_0x4e4e06;if(!this[_0x5befaa(0x204)][_0x5befaa(0x208)](_0x7c8b8c))throw new _0x2a1619(_0x5befaa(0x233),null,{'channelId':_0x7c8b8c});return this[_0x5befaa(0x204)][_0x5befaa(0x205)](_0x7c8b8c);}async[_0x4e4e06(0x224)](_0x3f9245){const _0x1f78fc=_0x4e4e06,_0x4f9257=this[_0x1f78fc(0x218)][_0x1f78fc(0x217)][_0x1f78fc(0x205)](_0x277b60),{connection:_0x46ad3b}=this[_0x1f78fc(0x218)][_0x1f78fc(0x217)][_0x1f78fc(0x205)](_0x45ca48),_0x225b4c=new Set();for(const {resolvedBy:_0x5c4301,comments:_0x1958e6}of _0x3f9245){_0x5c4301&&!_0x4f9257[_0x1f78fc(0x24f)](_0x5c4301)&&_0x225b4c[_0x1f78fc(0x1f8)](_0x5c4301);for(const {userId:_0x74d2c4}of _0x1958e6)_0x4f9257[_0x1f78fc(0x24f)](_0x74d2c4)||_0x225b4c[_0x1f78fc(0x1f8)](_0x74d2c4);}if(0x0===_0x225b4c[_0x1f78fc(0x243)])return;const _0x19729b=await _0x3d5079[_0x1f78fc(0x21a)](_0x46ad3b,Array[_0x1f78fc(0x20e)](_0x225b4c));for(const _0x525b1c of _0x19729b)_0x4f9257[_0x1f78fc(0x24f)](_0x525b1c['id'])||_0x4f9257[_0x1f78fc(0x255)](_0x525b1c);}}export{s as CloudServicesCommentsAdapter};async function Z(_0x3b078a){const _0x5a40a6=_0x4e4e06;if(_0x5a40a6(0x201)!==_0x3b078a[_0x5a40a6(0x214)])throw _0x3b078a;}function tt(_0xb1d841){const _0x10bc72=_0x4e4e06;if((_0x250039=_0xb1d841)[_0x10bc72(0x202)][_0x10bc72(0x1fa)](_0x10bc72(0x256))||_0x250039[_0x10bc72(0x202)][_0x10bc72(0x1fa)](_0x10bc72(0x1f4))||_0x250039[_0x10bc72(0x202)][_0x10bc72(0x1fa)](_0x10bc72(0x241)))return new Promise(()=>{});var _0x250039;throw _0xb1d841;}function et(_0x1bdf68){const _0x17b1c9=_0x4e4e06;return{'threadId':_0x1bdf68[_0x17b1c9(0x24a)],'commentId':_0x1bdf68[_0x17b1c9(0x1f0)],'content':_0x1bdf68[_0x17b1c9(0x212)],'createdAt':_0x1bdf68[_0x17b1c9(0x23b)],'authorId':_0x1bdf68[_0x17b1c9(0x230)],'attributes':_0x1bdf68[_0x17b1c9(0x200)]||{}};}
23
+ function _0x5c05(){const _0x3fc9c7=['get','2mmRWSJ','isOfficialPlugin','reopen','mySessionId','commentId','init','cloudservicescommentsadapter-disconnect-not-exist','updateCommentThread','plugins','252wACzEK','userId','removeComment','commentRemoved','context','commentThreadUpdated','cloudservicescommentsadapter-service-not-exist','register','code','update','CommentsRepository','addComment','12695oaZuQV','541371RVBdtG','654330ZQdDbc','config','_connectService','message','commentThreadId','attributes','Permissions','addCommentThread','keys','cloud-services-internal-error:\x20Request\x20timeout.','60600guMaMq','add','getCommentThread','unregister','CommentsService','getUser','404','resolvedBy','2024NLxZsw','startsWith','commentThreadReopened','remove','delete','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','resolvedAt','cloudservicescommentsadapter-connect-already-connected','updateComment','content','commentThreadAdded','adapter','reopenCommentThread','set','deletedAt','cloud-services-internal-error:\x20Not\x20connected.','resolveCommentThread','commentThreadResolved','map','resolve','connect','commentUpdated','authorId','reconnect','collaboration.channelId','pluginName','requires','2247goEeFm','sessionAdd:','addUser','_fetchMissingUsersForThreads','permissions','disconnect','catch','CloudServicesCommentsAdapter','commentThreadRemoved','getCommentThreads','243398abnsNn','destroy','_services','setPermissions','getMany','isPremiumPlugin','addToReconnectionStack','_setUpService','from','getConnectedSessions','35316fwVUgm','has','_getService','_terminateService','size','createdAt','listenTo','assign','removeCommentThread','commentAdded','getComment','comments','off'];_0x5c05=function(){return _0x3fc9c7;};return _0x5c05();}const _0x404913=_0x56f6;(function(_0x3c146e,_0x1b9cba){const _0x2d149a=_0x56f6,_0x430779=_0x3c146e();while(!![]){try{const _0x13f53c=-parseInt(_0x2d149a(0x7a))/0x1+parseInt(_0x2d149a(0x92))/0x2*(parseInt(_0x2d149a(0xa8))/0x3)+-parseInt(_0x2d149a(0x9b))/0x4*(-parseInt(_0x2d149a(0xa7))/0x5)+parseInt(_0x2d149a(0xa9))/0x6+-parseInt(_0x2d149a(0x70))/0x7*(parseInt(_0x2d149a(0xbb))/0x8)+-parseInt(_0x2d149a(0x84))/0x9+parseInt(_0x2d149a(0xb3))/0xa;if(_0x13f53c===_0x1b9cba)break;else _0x430779['push'](_0x430779['shift']());}catch(_0x5f4fb5){_0x430779['push'](_0x430779['shift']());}}}(_0x5c05,0x1f012));import{Context as _0x2f53f5,ContextPlugin as _0x8fe9bf}from'ckeditor5/src/core.js';import{CKEditorError as _0x31f2f4}from'ckeditor5/src/utils.js';function _0x56f6(_0x1b7144,_0x59f9e6){const _0x5c058e=_0x5c05();return _0x56f6=function(_0x56f673,_0x5a6665){_0x56f673=_0x56f673-0x69;let _0x1210ca=_0x5c058e[_0x56f673];return _0x1210ca;},_0x56f6(_0x1b7144,_0x59f9e6);}import{Users as _0x2cbe78}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x583e70,User as _0x46537d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x119252}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x52e909}from'../realtimecollaborativeediting/sessions.js';class s extends _0x8fe9bf{static [_0x404913(0xb7)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x583e70)());[_0x404913(0x7c)];static get[_0x404913(0x6f)](){const _0x1d8464=_0x404913;return[_0x119252,_0x1d8464(0xa5),_0x52e909,_0x2cbe78];}static get[_0x404913(0x6e)](){const _0x1aae6d=_0x404913;return _0x1aae6d(0x77);}static get[_0x404913(0x93)](){return!0x0;}static get[_0x404913(0x7f)](){return!0x0;}constructor(_0x43b375){const _0xe4556d=_0x404913;super(_0x43b375),this[_0xe4556d(0x7c)]=new Map();}async[_0x404913(0x97)](){const _0x5f2aee=_0x404913,_0x9c05f5=this[_0x5f2aee(0x9f)],_0x13fed4=_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x5f2aee(0xa5));if(_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x119252)[_0x5f2aee(0x80)](this),_0x13fed4[_0x5f2aee(0xc6)]={'addCommentThread':async({channelId:_0x1c8134,threadId:_0x230b80,comments:_0x4cfbe4,resolvedAt:_0xb7760e,resolvedBy:_0x293957,context:_0x24bbea,attributes:_0x490c37})=>{const _0x499c23=_0x5f2aee,_0x1a507c=await this[_0x499c23(0x86)](_0x1c8134)[_0x499c23(0xb0)]({'commentThreadId':_0x230b80,'comments':_0x4cfbe4[_0x499c23(0xcd)](_0x8b74e9=>function(_0x22c240,_0x73ccc3,_0x541930){const _0x57d119=_0x499c23;return{'commentThreadId':_0x541930,'commentId':_0x22c240[_0x57d119(0x96)],'userId':_0x22c240[_0x57d119(0x6b)],'content':_0x22c240[_0x57d119(0xc4)],'documentId':_0x73ccc3,'createdAt':_0x22c240[_0x57d119(0x89)],'attributes':_0x22c240[_0x57d119(0xae)]||{}};}(_0x8b74e9,_0x1c8134,_0x230b80)),'resolvedAt':_0xb7760e,'resolvedBy':_0x293957,'context':_0x24bbea,'attributes':_0x490c37})[_0x499c23(0x76)](k);return{'threadId':_0x1a507c[_0x499c23(0xad)],'comments':_0x1a507c[_0x499c23(0x8f)]};},'getCommentThread':async({channelId:_0x5d46e1,threadId:_0x369787})=>{const _0x151433=_0x5f2aee,_0x2df2f0=await this[_0x151433(0x86)](_0x5d46e1)[_0x151433(0xb5)](_0x369787)[_0x151433(0x76)](k);return _0x2df2f0[_0x151433(0xc9)]?null:(await this[_0x151433(0x73)]([_0x2df2f0]),{'threadId':_0x2df2f0[_0x151433(0xad)],'comments':_0x2df2f0[_0x151433(0x8f)][_0x151433(0xcd)](B),'context':_0x2df2f0[_0x151433(0x9f)],'resolvedAt':_0x2df2f0[_0x151433(0xc1)],'resolvedBy':_0x2df2f0[_0x151433(0xba)],'attributes':_0x2df2f0[_0x151433(0xae)]||{}});},'updateCommentThread':async({channelId:_0x2b784b,threadId:_0x5d724a,context:_0x54f287,unlinkedAt:_0x2fc467,attributes:_0x5556cb})=>this[_0x5f2aee(0x86)](_0x2b784b)[_0x5f2aee(0x99)]({'commentThreadId':_0x5d724a,'context':_0x54f287,'attributes':_0x5556cb,'unlinkedAt':_0x2fc467})[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'resolveCommentThread':async({channelId:_0x3906e5,threadId:_0x4d5507})=>{const _0x173408=_0x5f2aee,_0x849c39=await this[_0x173408(0x86)](_0x3906e5)[_0x173408(0xcb)](_0x4d5507)[_0x173408(0x76)](F)[_0x173408(0x76)](k);return{'threadId':_0x849c39[_0x173408(0xad)],'resolvedAt':_0x849c39[_0x173408(0xc1)],'resolvedBy':_0x849c39[_0x173408(0xba)]};},'reopenCommentThread':async({channelId:_0xef1226,threadId:_0x2a28e8})=>this[_0x5f2aee(0x86)](_0xef1226)[_0x5f2aee(0xc7)](_0x2a28e8)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'removeCommentThread':({channelId:_0x230519,threadId:_0x3d59a6})=>this[_0x5f2aee(0x86)](_0x230519)[_0x5f2aee(0x8c)](_0x3d59a6)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'addComment':({channelId:_0x3dbc11,threadId:_0x159091,commentId:_0x556f07,content:_0x80119b,attributes:_0x215b47})=>this[_0x5f2aee(0x86)](_0x3dbc11)[_0x5f2aee(0xa6)](_0x159091,_0x556f07,_0x80119b,_0x215b47)[_0x5f2aee(0x76)](k),'updateComment':({channelId:_0x412eb4,threadId:_0x32b323,commentId:_0x45b427,content:_0x59ccf4,attributes:_0x23e7c9})=>this[_0x5f2aee(0x86)](_0x412eb4)[_0x5f2aee(0xc3)](_0x32b323,_0x45b427,_0x59ccf4,_0x23e7c9)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'removeComment':({channelId:_0x7ea6f6,threadId:_0x4fe917,commentId:_0x1f4741})=>this[_0x5f2aee(0x86)](_0x7ea6f6)[_0x5f2aee(0x9d)](_0x4fe917,_0x1f4741)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k)},_0x9c05f5 instanceof _0x2f53f5){const _0x2e00b6=_0x9c05f5[_0x5f2aee(0xaa)][_0x5f2aee(0x91)](_0x5f2aee(0x6d)),_0x2e39c7=_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x52e909);await this[_0x5f2aee(0x81)](_0x2e00b6);const _0x20fc69=await this[_0x5f2aee(0x7c)][_0x5f2aee(0x91)](_0x2e00b6)[_0x5f2aee(0x83)]();this[_0x5f2aee(0x8a)](_0x2e39c7,_0x5f2aee(0x71)+_0x2e00b6,(_0x418f5d,{session:_0x4611ef})=>{const _0xc7c938=_0x5f2aee;_0x4611ef['id']===_0x2e39c7[_0xc7c938(0x95)]&&(_0x418f5d[_0xc7c938(0x90)](),this[_0xc7c938(0x9f)][_0xc7c938(0x9a)][_0xc7c938(0x91)](_0xc7c938(0xaf))[_0xc7c938(0x7d)](_0x4611ef[_0xc7c938(0x74)],_0x2e00b6));}),_0x2e39c7[_0x5f2aee(0xa2)](_0x2e00b6,_0x20fc69);}}async[_0x404913(0x81)](_0x1df551){const _0x17de6d=_0x404913;if(this[_0x17de6d(0x7c)][_0x17de6d(0x85)](_0x1df551))throw new _0x31f2f4(_0x17de6d(0xc2),null,{'channelId':_0x1df551});const _0x1cd2a7=this[_0x17de6d(0x9f)][_0x17de6d(0x9a)][_0x17de6d(0x91)](_0x17de6d(0xa5)),_0x146fc0=new s[(_0x17de6d(0xb7))](_0x1df551);this[_0x17de6d(0x7c)][_0x17de6d(0xc8)](_0x1df551,_0x146fc0),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xc5),(_0x35b098,_0x13043a)=>{const _0x52c145=_0x17de6d,{commentThreadId:_0x14f8c3,documentId:_0x5def5e,context:_0x153bc7,attributes:_0x5765c9,resolvedAt:_0x2a9bc5,resolvedBy:_0x320a04,comments:_0x172926}=_0x13043a;_0x1cd2a7[_0x52c145(0xb5)](_0x14f8c3)||_0x1cd2a7[_0x52c145(0xb0)]({'threadId':_0x14f8c3,'channelId':_0x5def5e,'comments':_0x172926?_0x172926[_0x52c145(0xcd)](B):[],'context':_0x153bc7,'attributes':_0x5765c9,'resolvedAt':_0x2a9bc5,'resolvedBy':_0x320a04,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xa0),(_0x3867de,{commentThreadId:_0x299eaf,documentId:_0x1167d6,context:_0x568a46,unlinkedAt:_0x4a859a,attributes:_0x31b018})=>{const _0x36e694=_0x17de6d;_0x1cd2a7[_0x36e694(0xb5)](_0x299eaf)&&_0x1cd2a7[_0x36e694(0x99)]({'threadId':_0x299eaf,'channelId':_0x1167d6,'context':_0x568a46,'unlinkedAt':_0x4a859a,'attributes':_0x31b018,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xcc),(_0x3b835d,{commentThreadId:_0x1867c5,resolvedBy:_0x5bb99e,resolvedAt:_0x487bc0})=>{const _0x1ac2f1=_0x17de6d,_0x4fa95a=_0x1cd2a7[_0x1ac2f1(0xb5)](_0x1867c5);_0x4fa95a&&_0x4fa95a[_0x1ac2f1(0xce)]({'resolvedBy':_0x5bb99e,'resolvedAt':_0x487bc0,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xbd),(_0x2aeb76,{commentThreadId:_0xc61045})=>{const _0x2f92d8=_0x17de6d,_0x2b7207=_0x1cd2a7[_0x2f92d8(0xb5)](_0xc61045);_0x2b7207&&_0x2b7207[_0x2f92d8(0x94)]({'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x78),(_0x3bba61,{commentThreadId:_0x1d40f5})=>{const _0x28c2b8=_0x17de6d,_0xb61b85=_0x1cd2a7[_0x28c2b8(0xb5)](_0x1d40f5);_0xb61b85&&_0xb61b85[_0x28c2b8(0xbe)]({'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x8d),(_0x496881,_0x35c0e5)=>{const _0x13884d=_0x17de6d,_0x1cd978=_0x35c0e5[_0x13884d(0xad)],_0x101614=_0x1cd2a7[_0x13884d(0xb5)](_0x1cd978);_0x101614&&_0x101614[_0x13884d(0xa6)]({...B(_0x35c0e5),'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x6a),(_0x10ae45,{commentThreadId:_0x11b6c5,commentId:_0x5771b1,content:_0xaa45fa,attributes:_0x3de175})=>{const _0x5c1b0f=_0x17de6d,_0x34bcb2=_0x1cd2a7[_0x5c1b0f(0xb5)](_0x11b6c5);if(_0x34bcb2){const _0x5ac5bd=_0x34bcb2[_0x5c1b0f(0x8e)](_0x5771b1);_0x5ac5bd&&_0x5ac5bd[_0x5c1b0f(0xa4)]({'content':_0xaa45fa,'attributes':_0x3de175,'isFromAdapter':!0x0});}}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x9e),(_0x43f9dd,{commentThreadId:_0x19fca6,commentId:_0x2338d0})=>{const _0xf415bd=_0x17de6d,_0x441ea5=_0x1cd2a7[_0xf415bd(0xb5)](_0x19fca6);if(_0x441ea5){const _0x3e07f1=_0x441ea5[_0xf415bd(0x8e)](_0x2338d0);_0x3e07f1&&_0x3e07f1[_0xf415bd(0xbe)]({'isFromAdapter':!0x0});}}),await this[_0x17de6d(0xab)](_0x1df551);}[_0x404913(0x7b)](){const _0x2b36a6=_0x404913;if(this[_0x2b36a6(0x9f)]instanceof _0x2f53f5){const _0x9447e6=this[_0x2b36a6(0x9f)][_0x2b36a6(0xaa)][_0x2b36a6(0x91)](_0x2b36a6(0x6d));this[_0x2b36a6(0x87)](_0x9447e6);}}[_0x404913(0x87)](_0xea5bdf){const _0x1d2080=_0x404913;if(!this[_0x1d2080(0x7c)][_0x1d2080(0x85)](_0xea5bdf))throw new _0x31f2f4(_0x1d2080(0x98),null,{'channelId':_0xea5bdf});this[_0x1d2080(0x86)](_0xea5bdf)[_0x1d2080(0x75)](),this[_0x1d2080(0x7c)][_0x1d2080(0xbf)](_0xea5bdf);}async[_0x404913(0x6c)](){const _0x429d30=_0x404913;for(const _0x4d3f70 of this[_0x429d30(0x7c)][_0x429d30(0xb1)]())await this[_0x429d30(0xab)](_0x4d3f70);if(this[_0x429d30(0x9f)]instanceof _0x2f53f5){const _0x40f81a=this[_0x429d30(0x9f)][_0x429d30(0xaa)][_0x429d30(0x91)](_0x429d30(0x6d)),_0x2d6d=this[_0x429d30(0x9f)][_0x429d30(0x9a)][_0x429d30(0x91)](_0x52e909);_0x2d6d[_0x429d30(0xb6)](_0x40f81a);const _0x44c0f2=await this[_0x429d30(0x7c)][_0x429d30(0x91)](_0x40f81a)[_0x429d30(0x83)]();_0x2d6d[_0x429d30(0xa2)](_0x40f81a,_0x44c0f2);}}async[_0x404913(0xab)](_0xbffd4){const _0x4de636=_0x404913,{connection:_0x530f03}=this[_0x4de636(0x9f)][_0x4de636(0x9a)][_0x4de636(0x91)](_0x119252),_0x8e52cc=this[_0x4de636(0x9f)][_0x4de636(0x9a)][_0x4de636(0x91)](_0x4de636(0xa5)),_0x3d2bb7=this[_0x4de636(0x7c)][_0x4de636(0x91)](_0xbffd4),_0x4c9c71=await _0x3d2bb7[_0x4de636(0x69)](_0x530f03);await this[_0x4de636(0x73)](_0x4c9c71);const _0x127fd7=new Set(Array[_0x4de636(0x82)](_0x8e52cc[_0x4de636(0x79)]({'channelId':_0xbffd4}),_0x33bac7=>_0x33bac7['id']));for(const _0xc674aa of _0x4c9c71)_0xc674aa[_0x4de636(0xc9)]||_0x127fd7[_0x4de636(0xbf)](_0xc674aa[_0x4de636(0xad)]);for(const _0x518c2a of _0x127fd7)_0x8e52cc[_0x4de636(0xb5)](_0x518c2a)[_0x4de636(0xbe)]({'isFromAdapter':!0x0});for(const _0x11c4e7 of _0x4c9c71){let _0xa60ec8=_0x8e52cc[_0x4de636(0xb5)](_0x11c4e7[_0x4de636(0xad)]);const {commentThreadId:_0x251c78,context:_0x14c267,attributes:_0x2f8301,resolvedBy:_0x4e615e,resolvedAt:_0x1307ed,unlinkedAt:_0xbe83e7,deletedAt:_0x126d2e}=_0x11c4e7;if(_0x126d2e)continue;_0xa60ec8||(_0xa60ec8=_0x8e52cc[_0x4de636(0xb0)]({'channelId':_0xbffd4,'threadId':_0x251c78,'context':_0x14c267,'attributes':_0x2f8301||{},'resolvedBy':_0x4e615e,'resolvedAt':_0x1307ed,'unlinkedAt':_0xbe83e7,'isFromAdapter':!0x0}));const _0x1f922d=new Set(Array[_0x4de636(0x82)](_0xa60ec8[_0x4de636(0x8f)],_0x2622a9=>_0x2622a9['id']));for(const _0x3c3272 of _0x11c4e7[_0x4de636(0x8f)])_0x1f922d[_0x4de636(0xbf)](_0x3c3272[_0x4de636(0x96)]);for(const _0x36eb3e of _0x1f922d)_0xa60ec8[_0x4de636(0x8e)](_0x36eb3e)[_0x4de636(0xbe)]({'isFromAdapter':!0x0});for(const _0x52c5a4 of _0x11c4e7[_0x4de636(0x8f)]){const _0x343c37=_0xa60ec8[_0x4de636(0x8e)](_0x52c5a4[_0x4de636(0x96)]);_0x343c37?_0x343c37[_0x4de636(0xc4)]!==_0x52c5a4[_0x4de636(0xc4)]&&_0x343c37[_0x4de636(0xa4)]({'content':_0x52c5a4[_0x4de636(0xc4)],'isFromAdapter':!0x0}):_0xa60ec8[_0x4de636(0xa6)](Object[_0x4de636(0x8b)](B(_0x52c5a4),{'isFromAdapter':!0x0}));}}}[_0x404913(0x86)](_0x167ba9){const _0x5c8a58=_0x404913;if(!this[_0x5c8a58(0x7c)][_0x5c8a58(0x85)](_0x167ba9))throw new _0x31f2f4(_0x5c8a58(0xa1),null,{'channelId':_0x167ba9});return this[_0x5c8a58(0x7c)][_0x5c8a58(0x91)](_0x167ba9);}async[_0x404913(0x73)](_0x4239f1){const _0x576713=_0x404913,_0x40ac43=this[_0x576713(0x9f)][_0x576713(0x9a)][_0x576713(0x91)](_0x2cbe78),{connection:_0x5b36b0}=this[_0x576713(0x9f)][_0x576713(0x9a)][_0x576713(0x91)](_0x119252),_0x146d01=new Set();for(const {resolvedBy:_0x27c1ff,comments:_0x21cc6a}of _0x4239f1){_0x27c1ff&&!_0x40ac43[_0x576713(0xb8)](_0x27c1ff)&&_0x146d01[_0x576713(0xb4)](_0x27c1ff);for(const {userId:_0x28bf47}of _0x21cc6a)_0x40ac43[_0x576713(0xb8)](_0x28bf47)||_0x146d01[_0x576713(0xb4)](_0x28bf47);}if(0x0===_0x146d01[_0x576713(0x88)])return;const _0x2cf21b=await _0x46537d[_0x576713(0x7e)](_0x5b36b0,Array[_0x576713(0x82)](_0x146d01));for(const _0x400522 of _0x2cf21b)_0x40ac43[_0x576713(0xb8)](_0x400522['id'])||_0x40ac43[_0x576713(0x72)](_0x400522);}}export{s as CloudServicesCommentsAdapter};async function F(_0x182b14){const _0xa8c853=_0x404913;if(_0xa8c853(0xb9)!==_0x182b14[_0xa8c853(0xa3)])throw _0x182b14;}function k(_0xc83947){const _0x382db6=_0x404913;if((_0x472a19=_0xc83947)[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xc0))||_0x472a19[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xca))||_0x472a19[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xb2)))return new Promise(()=>{});var _0x472a19;throw _0xc83947;}function B(_0x346cb3){const _0x5c98a3=_0x404913;return{'threadId':_0x346cb3[_0x5c98a3(0xad)],'commentId':_0x346cb3[_0x5c98a3(0x96)],'content':_0x346cb3[_0x5c98a3(0xc4)],'createdAt':_0x346cb3[_0x5c98a3(0x89)],'authorId':_0x346cb3[_0x5c98a3(0x9c)],'attributes':_0x346cb3[_0x5c98a3(0xae)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4afd6c=_0x4029;(function(_0x595f82,_0x260751){const _0x18a34d=_0x4029,_0xba1cda=_0x595f82();while(!![]){try{const _0x84bbc4=parseInt(_0x18a34d(0x101))/0x1*(-parseInt(_0x18a34d(0x11c))/0x2)+parseInt(_0x18a34d(0x11e))/0x3*(parseInt(_0x18a34d(0x164))/0x4)+parseInt(_0x18a34d(0x131))/0x5+parseInt(_0x18a34d(0xfe))/0x6*(parseInt(_0x18a34d(0x16c))/0x7)+parseInt(_0x18a34d(0xd3))/0x8*(parseInt(_0x18a34d(0xf1))/0x9)+parseInt(_0x18a34d(0x129))/0xa+-parseInt(_0x18a34d(0x14f))/0xb*(parseInt(_0x18a34d(0x13c))/0xc);if(_0x84bbc4===_0x260751)break;else _0xba1cda['push'](_0xba1cda['shift']());}catch(_0x40a4ba){_0xba1cda['push'](_0xba1cda['shift']());}}}(_0x44d6,0xb898a));import{Plugin as _0xed2d28,PendingActions as _0x54c9b7}from'ckeditor5/src/core.js';import{CKEditorError as _0x677526,version as _0x47967e,uid as _0x59a422}from'ckeditor5/src/utils.js';import{Notification as _0x572118}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x587abf,NoOperation as _0x28e999,InsertOperation as _0xb74e41,MarkerOperation as _0x2e702e,RootAttributeOperation as _0x129bdd,OperationFactory as _0x11d0be,History as _0x3481dd}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5b20ad}from'./websocketgateway.js';import{Sessions as _0x192d17}from'./sessions.js';import{UserMarkers as _0x4cedd7}from'./usermarkers.js';import{getTranslation as _0x1ffdd4}from'../common-translations.js';import{Compressor as _0x284e01}from'@ckeditor/ckeditor5-operations-compressor';function _0x4029(_0x5e5386,_0x2d7a31){const _0x44d66a=_0x44d6();return _0x4029=function(_0x4029ee,_0x83aae6){_0x4029ee=_0x4029ee-0x9c;let _0x16e424=_0x44d66a[_0x4029ee];return _0x16e424;},_0x4029(_0x5e5386,_0x2d7a31);}import{Users as _0x5bce93}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4271a3,CollaborativeEditingService as _0x62187d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x44d6(){const _0x47a66d=['The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','history','_clearPendingAction','real-time-collaboration','sendOperations','decompress','length','message','requires','cs:removeUser','directChange','slice','Notification','getDocumentDetails','stop','data','isOfficialPlugin','permissions','includes','_decompressOperations','collaboration','_initThrowingOnDataSet','createPositionFromPath','model','realtimecollaborationclient-init-document-already-initialized','attributes','_loadRoot','cloudDocumentVersion','3222DKihfi','_document','addRootAttribute','position','register','$root','_waitUntilSynced','enableReadOnlyMode','getOperations','CommentsOnly','reset','_connectService','insert','6523326NHSoaS','rootsAttributes','realtimecollaborationclient-init-connection-failed','12hHXdXP','wereChangesApplied','_lastSyncedOperationId','remove','409','markers','ready','unregister','realtimecollaborationclient-init-non-existent-root','_handleSendingSelectionMarkers','realtimecollaborationclient-sendbufferedoperations','define','lastOperationId','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_isConnected','bind','selection','offset','clone','_setUpDataInit','has','_updateServerHistory','fire','get','_isAttached','createdAt','root','137822KnPjxg','getOperationAuthor','9BOvTWN','compress','isUndoneOperation','change:range','_baseBufferDelay','addUser','_handleInitialConnectionData','__className','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_refreshUserSelectionMarkers','init','3875230KoEtGu','_operationIdentifier','batch','end','connected','currentDocumentSession','_hasSelectionChanged','cloud-services-internal-error:\x20Not\x20connected.','3463575RpHIiS','editing','PENDING_ACTION_SENDING_DATA','fromJSON','_handleReconnectionResponse','code','marker','createRoot','listenTo','disconnect','getConnectedSessions','12buzDSA','entries','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','high','destroy','realtimecollaborationclient-init-service-internal-error','collaboration.channelId','metadata','state','return','differ','set','isDocumentOperation','_disconnectionOperations','realtimecollaborationclient-handleserverresponse','round','realtimecollaborationclient-error','newRange','realtimecollaborationclient-init-service-incorrect-server-operation','20963591tkdDVj','_saveOperationInBuffer','lastDocumentSession','_shouldSendSelectionUpdate','serverHistory','off','start','getMany','applyOperation','_service','apply','then','_hasSynchronizationProblem','_handleReconnectionError','_channelId','affectedSelectable','CollaborativeEditingService','isPremiumPlugin','change:_isEditingAllowed','_currentBufferDelay','isReadOnly','1364672BUydku','disableReadOnlyMode','_compressor','_bufferRootLoad','_handleServerResponse','Synchronization\x20issue','getIdOfTheLastOperation','_fetchMissingUsers','7KMFHvc','addRoot','_ignoredOperations','locale','setIdForTheLastOperation','_isEditingAllowed','operationsReceived','_sendBufferedOperationsDelayId','forEach','connection','move','_getOperationsFromInitData','InsertOperation','createUserMarkerOperations','toJSON','plugins','error','cloud-services-internal-error:\x20Request\x20timeout.','RealTimeCollaborationClient','mySessionId','_isPendingUpdate','_pendingAction','_initSessionsHandling','disconnected','finally','document:write','reconnect','lastOperationAcceptedAt','isEnabled','path','baseVersion','suppressErrorInCollaboration','parse','rootName','_isDisconnection','createRange','_getAffectedRoot','stopListening','pluginName','realtimecollaborationclient-init-session-connection-error','rtc-destroyed','_crash','lastSyncVersion','loadRoot','catch','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.','keys','_knownOperations','_isInit','404','_applyOperationsSet','setPermissions','_disconnectService','_compressOperations','showWarning','roots','sessionId','_authorId','createPositionAt','sessionAdd:','sessionCreatedAt','affectsData','config','_setPendingAction','_isLoaded','change:_isPendingUpdate','enqueueChange','cloudServices.bundleVersion','size','startsWith','_connectAfterSessionHasBeenFlushed','push','view','connect','removeFromReconnectionStack','_knownRootNames','userId','rtc-offline','Permissions','_sendBufferedOperations','from','multi-root-editor-root-attributes-no-root','add','type','channelSessions','_handleExternalOperations','version','_lastServerVersion','_bufferedOperations','getRoot','targetPosition','editor','addToReconnectionStack','realtimecollaborationclient','document','filter','_handleReceivedOperations','_addKnownRoot','reconnection:\x20flushed\x20session','initData','_offset','_operationToId','map','change:hasDomSelection','wasUndone','collaboration-missing-channelid','addOperation','string','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.','_shouldSendUpdate','getUser','6656AkPKBC','_sendBufferedOperationsDelayed'];_0x44d6=function(){return _0x47a66d;};return _0x44d6();}let H=0x1;class l extends _0xed2d28{static [_0x4afd6c(0x15f)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x62187d)());[_0x4afd6c(0xc8)];[_0x4afd6c(0x9c)];[_0x4afd6c(0x153)];[_0x4afd6c(0x15d)];[_0x4afd6c(0x158)];[_0x4afd6c(0xf2)];[_0x4afd6c(0x166)];[_0x4afd6c(0xbc)];[_0x4afd6c(0x19b)];[_0x4afd6c(0xaf)];[_0x4afd6c(0x181)];[_0x4afd6c(0x12f)];[_0x4afd6c(0x173)];[_0x4afd6c(0x122)];[_0x4afd6c(0x162)];[_0x4afd6c(0x103)];[_0x4afd6c(0x149)];[_0x4afd6c(0x12a)];static get[_0x4afd6c(0xdd)](){return[_0x5b20ad,_0x192d17,_0x4cedd7,_0x54c9b7,_0x5bce93,_0x572118];}static get[_0x4afd6c(0x192)](){const _0x5a6850=_0x4afd6c;return _0x5a6850(0x17e);}static get[_0x4afd6c(0xe5)](){return!0x0;}static get[_0x4afd6c(0x160)](){return!0x0;}get[_0x4afd6c(0xf0)](){const _0xd06156=_0x4afd6c;return this[_0xd06156(0xbb)]+this[_0xd06156(0xc8)];}get[_0x4afd6c(0xbb)](){const _0x18a829=_0x4afd6c;return this[_0x18a829(0x153)][_0x18a829(0xba)]-this[_0x18a829(0xc8)];}get[_0x4afd6c(0x196)](){const _0x7f260c=_0x4afd6c,_0x39d621=this[_0x7f260c(0x153)][_0x7f260c(0xf9)]();for(let _0x16aa22=_0x39d621[_0x7f260c(0xdb)]-0x1;_0x16aa22>=0x0;_0x16aa22--){const _0x5cc268=_0x39d621[_0x16aa22];if(!this[_0x7f260c(0x149)][_0x7f260c(0x115)](_0x5cc268))return _0x5cc268[_0x7f260c(0x18a)]+0x1-this[_0x7f260c(0xc8)];}return 0x0;}constructor(_0x3bca0){const _0x5d1018=_0x4afd6c;if(super(_0x3bca0),this[_0x5d1018(0xc8)]=0x0,this[_0x5d1018(0x9c)]=null,this[_0x5d1018(0x153)]=new _0x3481dd(),this[_0x5d1018(0xbf)][_0x5d1018(0xa2)][_0x5d1018(0x10c)](_0x5d1018(0xe9),{}),this[_0x5d1018(0x15d)]=this[_0x5d1018(0xbf)][_0x5d1018(0xa2)][_0x5d1018(0x118)](_0x5d1018(0x142)),!this[_0x5d1018(0x15d)])throw new _0x677526(_0x5d1018(0xcd),this);const _0x476b7b=_0x3bca0[_0x5d1018(0xa2)][_0x5d1018(0x118)](_0x5d1018(0xa7))||_0x47967e;this[_0x5d1018(0x158)]=new l[(_0x5d1018(0x15f))](_0x476b7b,this[_0x5d1018(0x15d)]),this[_0x5d1018(0xf2)]=this[_0x5d1018(0xbf)][_0x5d1018(0xec)][_0x5d1018(0xc2)],this[_0x5d1018(0x166)]=new _0x284e01(),this[_0x5d1018(0xbc)]=[],this[_0x5d1018(0x19b)]=new WeakSet(),this[_0x5d1018(0xaf)]=new Set(),this[_0x5d1018(0x147)](_0x5d1018(0x180),!0x1),this[_0x5d1018(0x147)](_0x5d1018(0x15b),!0x1),this[_0x5d1018(0x181)]=null,this[_0x5d1018(0x12f)]=!0x1,this[_0x5d1018(0x173)]=null,this[_0x5d1018(0x122)]=0x12c,this[_0x5d1018(0x162)]=this[_0x5d1018(0x122)],this[_0x5d1018(0x103)]=null,this[_0x5d1018(0x149)]=new WeakSet(),this[_0x5d1018(0x12a)]=new F(this[_0x5d1018(0x149)]);}[_0x4afd6c(0x128)](){const _0x14937e=_0x4afd6c,_0x46313d=this[_0x14937e(0xbf)],_0x1413aa=_0x46313d[_0x14937e(0x17b)][_0x14937e(0x118)](_0x5bce93),_0x305a05=_0x46313d[_0x14937e(0x17b)][_0x14937e(0x118)](_0x5b20ad);this[_0x14937e(0x139)](_0x1413aa,_0x14937e(0x11d),(_0x43492a,_0x3e9115)=>{const _0x2d5f3e=_0x14937e,_0x5b69ee=_0x3e9115[0x0];_0x5b69ee[_0x2d5f3e(0x9d)]&&(_0x43492a[_0x2d5f3e(0x145)]=_0x1413aa[_0x2d5f3e(0xd2)](_0x5b69ee[_0x2d5f3e(0x9d)]),_0x43492a[_0x2d5f3e(0xe3)]()),null===_0x5b69ee[_0x2d5f3e(0x9d)]&&(_0x43492a[_0x2d5f3e(0x145)]=null,_0x43492a[_0x2d5f3e(0xe3)]());},{'priority':_0x14937e(0x13f)}),this[_0x14937e(0x139)](_0x46313d[_0x14937e(0xec)][_0x14937e(0xc2)][_0x14937e(0x111)],_0x14937e(0x121),(_0xbca0f0,_0xd431f3)=>{const _0x279c92=_0x14937e;_0xd431f3[_0x279c92(0xdf)]&&this[_0x279c92(0x127)]();}),this[_0x14937e(0x139)](_0x46313d[_0x14937e(0x132)][_0x14937e(0xac)],_0x14937e(0xcb),()=>{const _0x421ba6=_0x14937e;this[_0x421ba6(0x127)]();}),this[_0x14937e(0xea)](),_0x46313d[_0x14937e(0xec)]['on'](_0x14937e(0x157),(_0x43ed77,_0x301062)=>{const _0xc51c3a=_0x14937e,_0x22104c=_0x301062[0x0];_0x22104c[_0xc51c3a(0x148)]&&(this[_0xc51c3a(0x150)](_0x22104c),this[_0xc51c3a(0xd1)]()&&this[_0xc51c3a(0xd4)]());}),this[_0x14937e(0x114)](),this[_0x14937e(0x110)](_0x14937e(0x171))['to'](_0x305a05,_0x14937e(0x144),this,_0x14937e(0x15b),(_0x2a8f0c,_0x1ef412)=>_0x14937e(0x12d)===_0x2a8f0c&&!_0x1ef412),this['on'](_0x14937e(0x161),()=>{const _0xfd4e51=_0x14937e;this[_0xfd4e51(0x171)]?_0x46313d[_0xfd4e51(0x165)](_0xfd4e51(0xb1)):_0x46313d[_0xfd4e51(0xf8)](_0xfd4e51(0xb1));}),this[_0x14937e(0x171)]?_0x46313d[_0x14937e(0x165)](_0x14937e(0xb1)):_0x46313d[_0x14937e(0xf8)](_0x14937e(0xb1)),this[_0x14937e(0x147)](_0x14937e(0x10f),!0x1);}async[_0x4afd6c(0x186)](){const _0x43e297=_0x4afd6c,_0x74bce7=this[_0x43e297(0xbf)][_0x43e297(0x17b)][_0x43e297(0x118)](_0x192d17),_0xd67720=this[_0x43e297(0xbf)][_0x43e297(0x17b)][_0x43e297(0x118)](_0x5b20ad);try{this[_0x43e297(0x180)]=!0x0,_0x74bce7[_0x43e297(0x108)](this[_0x43e297(0x15d)]);const _0x43f247=await this[_0x43e297(0x158)][_0x43e297(0x186)](_0xd67720[_0x43e297(0x175)],this[_0x43e297(0x196)]);await this[_0x43e297(0x135)](_0x43f247)&&(this[_0x43e297(0x180)]=!0x1,this[_0x43e297(0xd7)]());const _0x5b2b44=await this[_0x43e297(0x158)][_0x43e297(0x13b)]();_0x74bce7[_0x43e297(0xf5)](this[_0x43e297(0x15d)],_0x5b2b44),this[_0x43e297(0x10a)](),this[_0x43e297(0x10f)]=!0x0;}catch(_0x2cee99){if(function(_0x1430ec){const _0x4d0047=_0x43e297;return _0x4d0047(0x19d)===_0x1430ec[_0x4d0047(0x136)];}(_0x2cee99)&&this[_0x43e297(0x9c)])await this[_0x43e297(0xaa)]();else{if(function(_0x3d16f8){const _0x557460=_0x43e297;return _0x557460(0x105)===_0x3d16f8[_0x557460(0x136)];}(_0x2cee99)){const _0x2b3f12=_0x1ffdd4(this[_0x43e297(0xbf)][_0x43e297(0x16f)],_0x43e297(0xd5));this[_0x43e297(0x15c)](_0x2b3f12);}else{if(!(_0x2cee99 instanceof V))throw _0x2cee99;this[_0x43e297(0x15c)]();}}}}[_0x4afd6c(0x140)](){const _0x53173c=_0x4afd6c,_0xe4dc08=this[_0x53173c(0xbf)][_0x53173c(0x17b)][_0x53173c(0x118)](_0x5b20ad),_0x4709e5=this[_0x53173c(0xbf)][_0x53173c(0x17b)][_0x53173c(0x118)](_0x192d17);this[_0x53173c(0xbf)][_0x53173c(0xf8)](_0x53173c(0x194)),_0x4709e5[_0x53173c(0xb8)][_0x53173c(0x115)](this[_0x53173c(0x15d)])&&_0x4709e5[_0x53173c(0x108)](this[_0x53173c(0x15d)]),_0xe4dc08[_0x53173c(0xae)](this),this[_0x53173c(0x1a0)](),super[_0x53173c(0x140)]();}async[_0x4afd6c(0x135)](_0x24db06){const _0x3d6ffe=_0x4afd6c;if(this[_0x3d6ffe(0x9c)]!==_0x24db06[_0x3d6ffe(0x9c)]&&this[_0x3d6ffe(0x103)]!==_0x24db06[_0x3d6ffe(0x10d)])throw new V();return this[_0x3d6ffe(0x9c)]=_0x24db06[_0x3d6ffe(0x9c)],this[_0x3d6ffe(0x168)]([],{..._0x24db06,'wereChangesApplied':!0x1,'data':_0x24db06[_0x3d6ffe(0xe4)]},_0x3d6ffe(0x186));}async[_0x4afd6c(0xfc)](_0x3520a4,_0x4b36ed=!0x1){const _0x103faf=_0x4afd6c,{connection:_0x7be854}=this[_0x103faf(0xbf)][_0x103faf(0x17b)][_0x103faf(0x118)](_0x5b20ad);l[_0x103faf(0x15f)][_0x103faf(0x13b)](_0x7be854,this[_0x103faf(0x15d)])[_0x103faf(0x15a)](_0x3ee593=>this[_0x103faf(0x182)](_0x3ee593))[_0x103faf(0x198)](_0x5e2349=>{const _0x24a5cd=_0x103faf;this[_0x24a5cd(0x195)](_0x24a5cd(0x193),_0x5e2349);}),this[_0x103faf(0x139)](this[_0x103faf(0x158)],_0x103faf(0x172),this[_0x103faf(0xc4)][_0x103faf(0x110)](this)),this[_0x103faf(0x139)](this[_0x103faf(0x158)],_0x103faf(0x17c),(_0x5c9666,_0x38e403)=>{const _0x4f4a37=_0x103faf;this[_0x4f4a37(0x195)](_0x4f4a37(0x141),_0x38e403);}),this[_0x103faf(0x139)](this[_0x103faf(0x158)],_0x103faf(0x183),()=>{const _0x3c78f5=_0x103faf;this[_0x3c78f5(0x10f)]=!0x1;});const _0x1e7445=this[_0x103faf(0x12a)][_0x103faf(0x16a)](_0x3520a4);this[_0x103faf(0x180)]=!0x0;const _0x327864=await this[_0x103faf(0x158)][_0x103faf(0xad)](_0x7be854,this[_0x103faf(0x1a1)](_0x3520a4),_0x1e7445);if(this[_0x103faf(0x9c)]=_0x327864[_0x103faf(0x9c)],_0x4b36ed){if(!_0x327864[_0x103faf(0x102)])return void this[_0x103faf(0x15c)]();this[_0x103faf(0x180)]=!0x1,this[_0x103faf(0xd7)](),this[_0x103faf(0x153)][_0x103faf(0xfb)](),this[_0x103faf(0xc8)]=_0x327864[_0x103faf(0x112)],this[_0x103faf(0x153)][_0x103faf(0xba)]=this[_0x103faf(0xc8)],await this[_0x103faf(0x168)](_0x3520a4,_0x327864,_0x103faf(0xc6));}else await this[_0x103faf(0x124)](_0x327864,_0x3520a4);this[_0x103faf(0x10a)](),this[_0x103faf(0x10f)]=!0x0;}[_0x4afd6c(0x10a)](){const _0x2b66a8=_0x4afd6c,_0x312a4e=this[_0x2b66a8(0xbf)][_0x2b66a8(0x17b)][_0x2b66a8(0x118)](_0x192d17),_0x1384fc=this[_0x2b66a8(0xbf)][_0x2b66a8(0x17b)][_0x2b66a8(0x118)](_0x4cedd7),_0x2d49f0=_0x312a4e[_0x2b66a8(0xb8)][_0x2b66a8(0x118)](this[_0x2b66a8(0x15d)]);_0x2d49f0&&_0x2d49f0[_0x2b66a8(0xdb)]>0x1?_0x1384fc[_0x2b66a8(0x179)]():this[_0x2b66a8(0x139)](_0x312a4e,_0x2b66a8(0x9f)+this[_0x2b66a8(0x15d)],()=>{const _0x10ebf7=_0x2b66a8;0x2===_0x312a4e[_0x10ebf7(0xb8)][_0x10ebf7(0x118)](this[_0x10ebf7(0x15d)])[_0x10ebf7(0xdb)]&&_0x1384fc[_0x10ebf7(0x179)]();});}async[_0x4afd6c(0xc4)](_0xb3f723,_0x3d5aec,_0x5cb9b7,_0x56a000){const _0x29a233=_0x4afd6c;if(!this[_0x29a233(0x180)]&&this[_0x29a233(0xf2)][_0x29a233(0xba)]==_0x3d5aec){const _0xe71503=this[_0x29a233(0xe8)](_0x5cb9b7,_0x56a000);await this[_0x29a233(0x16b)](_0xe71503),this[_0x29a233(0xb9)](_0xe71503,_0x3d5aec,_0x5cb9b7[_0x29a233(0x10d)])||this[_0x29a233(0x195)](_0x29a233(0x14e));}}async[_0x4afd6c(0xaa)](){const _0x3e6309=_0x4afd6c;this[_0x3e6309(0x1a0)]();const {locale:_0x248f5e}=this[_0x3e6309(0xbf)];let _0x5c1305;try{_0x5c1305=await this[_0x3e6309(0x158)][_0x3e6309(0xe2)]();}catch{const _0x3c18dc=_0x1ffdd4(_0x248f5e,_0x3e6309(0x126));return void this[_0x3e6309(0x15c)](_0x3c18dc);}const _0x54a0ec=_0x5c1305[_0x3e6309(0x12e)]||_0x5c1305[_0x3e6309(0x151)];if(this[_0x3e6309(0x103)]!==_0x54a0ec[_0x3e6309(0x10d)]){const _0x3c7f70=_0x1ffdd4(_0x248f5e,_0x3e6309(0x199));return void this[_0x3e6309(0x15c)](_0x3c7f70);}await this[_0x3e6309(0xfc)](this[_0x3e6309(0xbf)][_0x3e6309(0xec)][_0x3e6309(0xc2)][_0x3e6309(0xd6)][_0x3e6309(0xf9)](),!0x0);}[_0x4afd6c(0x1a0)](){const _0xeb9f2f=_0x4afd6c;this[_0xeb9f2f(0x158)][_0xeb9f2f(0x13a)](),this[_0xeb9f2f(0xbc)]=[],clearTimeout(this[_0xeb9f2f(0x173)]),this[_0xeb9f2f(0x191)](this[_0xeb9f2f(0x158)]);}[_0x4afd6c(0x182)](_0x7b7445){const _0x4aab02=_0x4afd6c,_0x2075e9=this[_0x4aab02(0xbf)][_0x4aab02(0x17b)][_0x4aab02(0x118)](_0x192d17);this[_0x4aab02(0x139)](_0x2075e9,_0x4aab02(0x9f)+this[_0x4aab02(0x15d)],(_0x19d6d6,{session:_0x156d16})=>{const _0x5d6149=_0x4aab02;if(_0x156d16['id']===_0x2075e9[_0x5d6149(0x17f)]){_0x19d6d6[_0x5d6149(0x154)]();const _0x20348e=this[_0x5d6149(0xbf)][_0x5d6149(0x17b)][_0x5d6149(0x115)](_0x5d6149(0xfa))&&this[_0x5d6149(0xbf)][_0x5d6149(0x17b)][_0x5d6149(0x118)](_0x5d6149(0xfa));let _0x4fb0ce=_0x156d16[_0x5d6149(0xe6)];_0x20348e&&_0x20348e[_0x5d6149(0x188)]&&(_0x4fb0ce=_0x4fb0ce[_0x5d6149(0xc3)](_0x5e56e0=>_0x5d6149(0x185)!==_0x5e56e0)),this[_0x5d6149(0xbf)][_0x5d6149(0x17b)][_0x5d6149(0x118)](_0x5d6149(0xb2))[_0x5d6149(0x19f)](_0x4fb0ce,this[_0x5d6149(0x15d)]);}}),_0x2075e9[_0x4aab02(0xf5)](this[_0x4aab02(0x15d)],_0x7b7445);}[_0x4afd6c(0xea)](){const _0x318adb=_0x4afd6c,_0x1c8285=this[_0x318adb(0xbf)][_0x318adb(0xe4)][_0x318adb(0x147)];this[_0x318adb(0xbf)][_0x318adb(0xe4)][_0x318adb(0x147)]=(..._0x21083d)=>{const _0x4cfe54=_0x318adb;if(!_0x21083d[_0x21083d[_0x4cfe54(0xdb)]-0x1][_0x4cfe54(0x18b)])throw new _0x677526(_0x4cfe54(0x10e),this);_0x1c8285[_0x4cfe54(0x159)](this[_0x4cfe54(0xbf)][_0x4cfe54(0xe4)],_0x21083d);};}[_0x4afd6c(0x114)](){const _0x309a07=_0x4afd6c;this[_0x309a07(0xbf)][_0x309a07(0xe4)]['on'](_0x309a07(0x128),(_0x35e774,[_0x50eeb8])=>{const _0x118e8a=_0x309a07;if(this[_0x118e8a(0xf2)][_0x118e8a(0xba)])throw new _0x677526(_0x118e8a(0xed),this);_0x35e774[_0x118e8a(0xe3)](),this[_0x118e8a(0xa3)]();const _0x4e9f9c=this[_0x118e8a(0xbf)][_0x118e8a(0xa2)][_0x118e8a(0x118)](_0x118e8a(0xff)),_0x5f0537=this[_0x118e8a(0x177)](_0x50eeb8,_0x4e9f9c);0x0==_0x5f0537[_0x118e8a(0xdb)]&&_0x5f0537[_0x118e8a(0xab)](new _0x28e999(0x0)),_0x35e774[_0x118e8a(0x145)]=this[_0x118e8a(0xfc)](_0x5f0537)[_0x118e8a(0x15a)](()=>{const _0x3106e6=_0x118e8a;this[_0x3106e6(0xbf)][_0x3106e6(0x17b)][_0x3106e6(0x118)](_0x5b20ad)[_0x3106e6(0xc0)](this),this[_0x3106e6(0xbf)][_0x3106e6(0xe4)][_0x3106e6(0x117)](_0x3106e6(0x107));})[_0x118e8a(0x198)](_0x4a5884=>this[_0x118e8a(0x195)](_0x118e8a(0x100),_0x4a5884))[_0x118e8a(0x184)](()=>this[_0x118e8a(0xd7)]());},{'priority':_0x309a07(0x13f)}),this[_0x309a07(0xbf)]['on'](_0x309a07(0x197),async(_0x40f9f0,[_0x1866ef,_0x43779e])=>{const _0x8fb9f0=_0x309a07;_0x40f9f0[_0x8fb9f0(0xe3)]();const _0x53c560=this[_0x8fb9f0(0xbf)][_0x8fb9f0(0xec)][_0x8fb9f0(0xc2)][_0x8fb9f0(0xbd)](_0x1866ef);if(!this[_0x8fb9f0(0xaf)][_0x8fb9f0(0x115)](_0x1866ef)){const _0x51fb0a=_0x43779e&&_0x43779e[_0x8fb9f0(0xe4)]?_0x43779e[_0x8fb9f0(0xe4)]:'',_0x49b047=_0x43779e&&_0x43779e[_0x8fb9f0(0xee)]?_0x43779e[_0x8fb9f0(0xee)]:{};await this[_0x8fb9f0(0xef)](_0x1866ef,_0x51fb0a,_0x49b047);}this[_0x8fb9f0(0xbf)][_0x8fb9f0(0xec)][_0x8fb9f0(0xa6)]({'isUndoable':!0x1},()=>{const _0x149781=_0x8fb9f0;_0x53c560[_0x149781(0xa4)]=!0x0,this[_0x149781(0xbf)][_0x149781(0xec)][_0x149781(0xc2)][_0x149781(0x146)][_0x149781(0x167)](_0x53c560);});},{'priority':_0x309a07(0x13f)});}async[_0x4afd6c(0x16b)](_0x130b2c){const _0x39429d=_0x4afd6c,_0x1fb58f=this[_0x39429d(0xbf)][_0x39429d(0x17b)][_0x39429d(0x118)](_0x5bce93),{connection:_0x5eb1b6}=this[_0x39429d(0xbf)][_0x39429d(0x17b)][_0x39429d(0x118)](_0x5b20ad),_0x462164=new Set();for(const _0x1bd048 of _0x130b2c){const _0xe1ce76=_0x1bd048[_0x39429d(0x9d)];_0xe1ce76&&!_0x1fb58f[_0x39429d(0xd2)](_0xe1ce76)&&_0x462164[_0x39429d(0xb6)](_0xe1ce76);}if(0x0===_0x462164[_0x39429d(0xa8)])return;const _0x38beb9=await _0x4271a3[_0x39429d(0x156)](_0x5eb1b6,Array[_0x39429d(0xb4)](_0x462164));for(const _0xc2307f of _0x38beb9)_0x1fb58f[_0x39429d(0xd2)](_0xc2307f['id'])||_0x1fb58f[_0x39429d(0x123)](_0xc2307f);}[_0x4afd6c(0x177)](_0xd220f4,_0x187b6b={}){const _0x4fca1d=_0x4afd6c,_0x33b33d=this[_0x4fca1d(0xbf)][_0x4fca1d(0xec)],_0x2e6096=[];let _0x162ee4=0x0;const _0x122fe8=_0x4fca1d(0xcf)==typeof _0xd220f4?{'main':_0xd220f4}:_0xd220f4;for(const _0x13fff1 of Object[_0x4fca1d(0x19a)](_0x122fe8)){if(!this[_0x4fca1d(0xf2)][_0x4fca1d(0x1a3)][_0x4fca1d(0x115)](_0x13fff1))throw new _0x677526(_0x4fca1d(0x109),this);const _0x111676=this[_0x4fca1d(0xbf)][_0x4fca1d(0xe4)][_0x4fca1d(0x18c)](_0x122fe8[_0x13fff1]),_0x4ebf75=this[_0x4fca1d(0xf2)][_0x4fca1d(0xbd)](_0x13fff1),_0x5c57fe=new _0xb74e41(_0x33b33d[_0x4fca1d(0x9e)](_0x4ebf75,0x0),_0x111676,_0x162ee4++);_0x2e6096[_0x4fca1d(0xab)](_0x5c57fe);for(const [_0x48e673,_0x140347]of _0x111676[_0x4fca1d(0x106)]){const _0x40193b=_0x33b33d[_0x4fca1d(0x18f)](_0x33b33d[_0x4fca1d(0xeb)](_0x4ebf75,_0x140347[_0x4fca1d(0x155)][_0x4fca1d(0x189)][_0x4fca1d(0xe0)]()),_0x33b33d[_0x4fca1d(0xeb)](_0x4ebf75,_0x140347[_0x4fca1d(0x12c)][_0x4fca1d(0x189)][_0x4fca1d(0xe0)]())),_0x5a33cd=new _0x2e702e(_0x48e673,null,_0x40193b,_0x33b33d[_0x4fca1d(0x106)],!0x0,_0x162ee4++);_0x2e6096[_0x4fca1d(0xab)](_0x5a33cd);}}if(_0x187b6b)for(const [_0x4e44f1,_0x587ba5]of Object[_0x4fca1d(0x13d)](_0x187b6b)){const _0x2f09a8=_0x33b33d[_0x4fca1d(0xc2)][_0x4fca1d(0xbd)](_0x4e44f1);if(!_0x2f09a8)throw new _0x677526(_0x4fca1d(0xb5),null);for(const [_0x4665cf,_0x2f742f]of Object[_0x4fca1d(0x13d)](_0x587ba5))if(null!==_0x2f742f){const _0x421ea2=new _0x129bdd(_0x2f09a8,_0x4665cf,null,_0x2f742f,_0x162ee4++);_0x2e6096[_0x4fca1d(0xab)](_0x421ea2);}}return _0x2e6096;}async[_0x4afd6c(0xef)](_0x3aad21,_0x3e7e69,_0x4b8bc2){const _0x4bd23f=_0x4afd6c;this[_0x4bd23f(0x177)]({[_0x3aad21]:_0x3e7e69},{[_0x3aad21]:_0x4b8bc2})[_0x4bd23f(0x174)]((_0x424668,_0x15300c)=>{const _0x3ab936=_0x4bd23f;_0x424668[_0x3ab936(0x18a)]=this[_0x3ab936(0xf2)][_0x3ab936(0xba)]+_0x15300c,_0x424668[_0x3ab936(0x19c)]=!0x0,this[_0x3ab936(0x150)](_0x424668);}),this[_0x4bd23f(0xd4)](),await this[_0x4bd23f(0xf7)]();}async[_0x4afd6c(0x124)](_0x3a9676,_0x5d8b45){const _0x4576e3=_0x4afd6c;let _0x1ad10d;this[_0x4576e3(0xc8)]=_0x3a9676[_0x4576e3(0x112)];const _0x19e525=_0x3a9676[_0x4576e3(0x102)]&&!_0x3a9676[_0x4576e3(0xc7)],_0x1f9cd4=_0x19e525?0x0:_0x3a9676[_0x4576e3(0xe4)][_0x4576e3(0x18a)];if(_0x5d8b45[_0x4576e3(0x174)](_0xcc307a=>{const _0x44ce8f=_0x4576e3;_0xcc307a[_0x44ce8f(0x19c)]=!0x0,_0xcc307a[_0x44ce8f(0x11a)]=_0x3a9676[_0x44ce8f(0xa0)],_0xcc307a[_0x44ce8f(0x9d)]=null;}),_0x19e525)_0x1ad10d=_0x5d8b45,this[_0x4576e3(0x19e)](_0x1ad10d,_0x19e525);else{if(_0x3a9676[_0x4576e3(0xc7)]){const _0x439823=this[_0x4576e3(0x177)](_0x3a9676[_0x4576e3(0xc7)]);this[_0x4576e3(0xf2)][_0x4576e3(0xd6)][_0x4576e3(0xba)]=-_0x439823[_0x4576e3(0xdb)],_0x439823[_0x4576e3(0x174)](_0x43774d=>{const _0x13635e=_0x4576e3;_0x43774d[_0x13635e(0x18a)]-=_0x439823[_0x13635e(0xdb)],_0x43774d[_0x13635e(0x11a)]=_0x3a9676[_0x13635e(0xa0)],_0x43774d[_0x13635e(0x19c)]=!0x0,_0x43774d[_0x13635e(0x9d)]=null;}),this[_0x4576e3(0x19e)](_0x439823,!0x0),this[_0x4576e3(0x153)][_0x4576e3(0xba)]=-_0x439823[_0x4576e3(0xdb)]+this[_0x4576e3(0xc8)],this[_0x4576e3(0x116)](_0x439823);}this[_0x4576e3(0xf2)][_0x4576e3(0xd6)][_0x4576e3(0xba)]=_0x1f9cd4,_0x1ad10d=this[_0x4576e3(0xe8)](_0x3a9676[_0x4576e3(0xe4)],_0x3a9676[_0x4576e3(0x143)]),await this[_0x4576e3(0x16b)](_0x1ad10d),this[_0x4576e3(0x19e)](_0x1ad10d,_0x19e525);}_0x3a9676[_0x4576e3(0x10d)]&&(this[_0x4576e3(0x12a)][_0x4576e3(0x170)](_0x1ad10d,_0x3a9676[_0x4576e3(0x10d)]),this[_0x4576e3(0x103)]=_0x3a9676[_0x4576e3(0x10d)]),this[_0x4576e3(0x153)][_0x4576e3(0xba)]=_0x1f9cd4+this[_0x4576e3(0xc8)],this[_0x4576e3(0x116)](_0x1ad10d),_0x5d8b45[_0x4576e3(0xc3)](_0x344ee0=>{const _0x14aa0f=_0x4576e3,_0x622c4e=this[_0x14aa0f(0x190)](_0x344ee0);return _0x622c4e&&!this[_0x14aa0f(0xaf)][_0x14aa0f(0x115)](_0x622c4e);})[_0x4576e3(0x174)]((_0x493c6d,_0x18209e)=>{const _0x2a95fa=_0x4576e3;_0x493c6d[_0x2a95fa(0x18a)]=this[_0x2a95fa(0xf2)][_0x2a95fa(0xba)]+_0x18209e,this[_0x2a95fa(0x150)](_0x493c6d);}),this[_0x4576e3(0xd1)]()?(this[_0x4576e3(0x162)]=0x0,this[_0x4576e3(0xd4)](!0x0),await this[_0x4576e3(0xf7)]()):(this[_0x4576e3(0x180)]=!0x1,this[_0x4576e3(0xd7)]());}[_0x4afd6c(0x195)](_0x4e1c84,_0xdc49f3){const _0x51236f=_0x4afd6c,_0x53b29e=_0xdc49f3&&_0xdc49f3[_0x51236f(0xdc)];if(_0x53b29e&&_0x53b29e[_0x51236f(0xa9)](_0x51236f(0xc1)))throw _0xdc49f3;const _0x115b4b=this[_0x51236f(0xbf)][_0x51236f(0x17b)][_0x51236f(0x118)](_0x5b20ad);throw this[_0x51236f(0x180)]=!0x0,_0x115b4b[_0x51236f(0x13a)](),this[_0x51236f(0xbf)][_0x51236f(0xf8)](_0x51236f(0x14c)),new _0x677526(_0x4e1c84,this[_0x51236f(0xbf)],_0x53b29e?{'originalError':_0x53b29e}:void 0x0);}[_0x4afd6c(0x150)](_0x40d088){const _0x554f36=_0x4afd6c;this[_0x554f36(0x19b)][_0x554f36(0x115)](_0x40d088)||(this[_0x554f36(0x19b)][_0x554f36(0xb6)](_0x40d088),this[_0x554f36(0xbc)][_0x554f36(0xab)](_0x40d088),this[_0x554f36(0x181)]||_0x554f36(0x137)==_0x40d088[_0x554f36(0xb7)]&&!_0x40d088[_0x554f36(0xa1)]||this[_0x554f36(0xa3)]());}[_0x4afd6c(0xd4)](_0x4e584a=!0x1){const _0x4fcc57=_0x4afd6c;!_0x4e584a&&this[_0x4fcc57(0x180)]||(this[_0x4fcc57(0x180)]=!0x0,clearTimeout(this[_0x4fcc57(0x173)]),this[_0x4fcc57(0x173)]=setTimeout(()=>{const _0x333650=_0x4fcc57;this[_0x333650(0xb3)]()[_0x333650(0x15a)](_0x44e0dd=>{const _0x20e4a5=_0x333650;_0x44e0dd&&(this[_0x20e4a5(0xd7)](),this[_0x20e4a5(0x180)]=!0x1);})[_0x333650(0x198)](_0x1164ed=>{const _0xf32a58=_0x333650;this[_0xf32a58(0xd7)](),this[_0xf32a58(0x180)]=!0x1,function(_0x5da0bf){const _0x56e4d9=_0xf32a58;return _0x5da0bf[_0x56e4d9(0xdc)][_0x56e4d9(0xa9)](_0x56e4d9(0x130))||_0x5da0bf[_0x56e4d9(0xdc)][_0x56e4d9(0xa9)](_0x56e4d9(0x13e))||_0x5da0bf[_0x56e4d9(0xdc)][_0x56e4d9(0xa9)](_0x56e4d9(0x17d));}(_0x1164ed)||this[_0xf32a58(0x195)](_0x1164ed[_0xf32a58(0xdc)],_0x1164ed);});},this[_0x4fcc57(0x162)]));}[_0x4afd6c(0xf7)](){return new Promise(_0xae9b39=>{const _0x2db520=_0x4029;this['on'](_0x2db520(0xa5),()=>{_0xae9b39();});});}async[_0x4afd6c(0xb3)](){const _0x5f026f=_0x4afd6c,_0x3b42bb=this[_0x5f026f(0xbf)][_0x5f026f(0x17b)][_0x5f026f(0x118)](_0x4cedd7);if(this[_0x5f026f(0x152)]()&&(_0x3b42bb[_0x5f026f(0x179)](),this[_0x5f026f(0x12f)]=!0x1),!this[_0x5f026f(0xd1)]())return!0x0;const _0x2e8ee2=[...this[_0x5f026f(0xbc)]];for(const _0x3faffd of _0x2e8ee2)_0x3faffd[_0x5f026f(0xcc)]=this[_0x5f026f(0xf2)][_0x5f026f(0xd6)][_0x5f026f(0x120)](_0x3faffd);const _0x3b862f=this[_0x5f026f(0x12a)][_0x5f026f(0x16a)](_0x2e8ee2),_0x195d32=H++,_0x58118d=this[_0x5f026f(0x1a1)](_0x2e8ee2),_0x3439b9=await this[_0x5f026f(0x158)][_0x5f026f(0xd9)](_0x58118d,_0x58118d[_0x5f026f(0x18a)],_0x3b862f);try{return await this[_0x5f026f(0x168)](_0x2e8ee2,_0x3439b9,_0x195d32);}catch(_0x570840){return this[_0x5f026f(0x195)](_0x5f026f(0x10b),_0x570840);}}async[_0x4afd6c(0x168)](_0x19e73a,_0x1d0787,_0x45563b){const _0x284048=_0x4afd6c;if(_0x284048(0x17c)in _0x1d0787)throw _0x1d0787[_0x284048(0x17c)];let _0x527979=!0x1;if(_0x1d0787[_0x284048(0x102)]){_0x1d0787[_0x284048(0x10d)]&&(this[_0x284048(0x103)]=_0x1d0787[_0x284048(0x10d)]),this[_0x284048(0xbc)]=this[_0x284048(0xbc)][_0x284048(0xc3)](_0x71aa0d=>!_0x19e73a[_0x284048(0xe7)](_0x71aa0d));for(const _0x44a9c6 of _0x19e73a)_0x44a9c6[_0x284048(0x11a)]=_0x284048(0x187)in _0x1d0787&&_0x1d0787[_0x284048(0x187)]||void 0x0;W(_0x19e73a,_0x1d0787[_0x284048(0xba)]-_0x19e73a[_0x284048(0xdb)]),this[_0x284048(0x116)](_0x19e73a);const _0x3b4662=_0x19e73a[_0x284048(0xc3)](_0x3ec376=>{const _0x2473d3=_0x284048;if(!_0x3ec376[_0x2473d3(0x19c)])return!0x1;const _0x144247=this[_0x2473d3(0x190)](_0x3ec376);return _0x144247&&!this[_0x2473d3(0xaf)][_0x2473d3(0x115)](_0x144247);});W(_0x3b4662,this[_0x284048(0xf2)][_0x284048(0xba)]),this[_0x284048(0x19e)](_0x3b4662),_0x527979=!0x0,this[_0x284048(0x162)]=this[_0x284048(0x122)];}else{const _0x44e716=this[_0x284048(0xe8)](_0x1d0787[_0x284048(0xe4)],_0x1d0787[_0x284048(0x143)])[_0x284048(0xc3)](_0x5aa0ba=>_0x5aa0ba[_0x284048(0x18a)]>=this[_0x284048(0xbb)]);_0x44e716[_0x284048(0x174)](_0x53fb41=>this[_0x284048(0xc5)](_0x53fb41)),this[_0x284048(0xbc)]=this[_0x284048(0xbc)][_0x284048(0xc3)](_0x15bba0=>!_0x15bba0[_0x284048(0x19c)]||!this[_0x284048(0xaf)][_0x284048(0x115)](this[_0x284048(0x190)](_0x15bba0))),this[_0x284048(0xbc)][_0x284048(0xdb)]&&W(this[_0x284048(0xbc)],this[_0x284048(0xbc)][0x0][_0x284048(0x18a)]),await this[_0x284048(0x16b)](_0x44e716),_0x527979=this[_0x284048(0xb9)](_0x44e716,_0x1d0787[_0x284048(0xba)],_0x1d0787[_0x284048(0x10d)]),this[_0x284048(0x162)]=Math[_0x284048(0x14b)](this[_0x284048(0x162)]/0x2);}return _0x527979?!this[_0x284048(0xd1)]()||(this[_0x284048(0xd4)](!0x0),!0x1):this[_0x284048(0x195)](_0x284048(0x14a));}[_0x4afd6c(0xb9)](_0x577289,_0x476698,_0x2cd97f){const _0x37a762=_0x4afd6c;try{const _0x2d4757={'document':this[_0x37a762(0xf2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1eacf2,operationsB:_0x5bbbed,originalOperations:_0x2b7112}=_0x587abf(_0x577289,this[_0x37a762(0xbc)],_0x2d4757);W(_0x1eacf2,this[_0x37a762(0xf2)][_0x37a762(0xba)]),W(_0x5bbbed,_0x476698);for(const _0x2a0342 of _0x1eacf2){const _0x514e7a=_0x2b7112[_0x37a762(0x118)](_0x2a0342);_0x2a0342[_0x37a762(0x9d)]=_0x514e7a?_0x514e7a[_0x37a762(0x9d)]:null;}_0x2cd97f&&(this[_0x37a762(0x12a)][_0x37a762(0x170)](_0x577289,_0x2cd97f),this[_0x37a762(0x103)]=_0x2cd97f),this[_0x37a762(0xbc)]=[..._0x5bbbed],this[_0x37a762(0x19e)](_0x1eacf2),this[_0x37a762(0x116)](_0x577289);}catch(_0x8cf077){return console[_0x37a762(0x17c)](_0x8cf077),!0x1;}return!0x0;}[_0x4afd6c(0x19e)](_0x11e3f4,_0x22619a=!0x1){const _0x3d3a46=_0x4afd6c;this[_0x3d3a46(0xbf)][_0x3d3a46(0xec)][_0x3d3a46(0xa6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4db82b=>{const _0x2ba464=_0x3d3a46;for(const _0x20b3fe of _0x11e3f4)this[_0x2ba464(0x19b)][_0x2ba464(0xb6)](_0x20b3fe),this[_0x2ba464(0xc5)](_0x20b3fe),_0x4db82b[_0x2ba464(0x12b)][_0x2ba464(0xce)](_0x20b3fe),this[_0x2ba464(0xbf)][_0x2ba464(0xec)][_0x2ba464(0x157)](_0x20b3fe);});}[_0x4afd6c(0xc5)](_0x4c5493){const _0x132689=_0x4afd6c,_0x1be4f3=this[_0x132689(0x190)](_0x4c5493);_0x1be4f3&&this[_0x132689(0xaf)][_0x132689(0xb6)](_0x1be4f3);}[_0x4afd6c(0x190)](_0x280f67){const _0x4e31ae=_0x4afd6c;let _0x4a96e6,_0x183317;switch(_0x280f67[_0x4e31ae(0xb7)]){case _0x4e31ae(0xfd):_0x4a96e6=_0x280f67[_0x4e31ae(0xf4)][_0x4e31ae(0x11b)];break;case _0x4e31ae(0x137):if(_0x183317=_0x280f67[_0x4e31ae(0x14d)],!_0x183317)return null;_0x4a96e6=_0x183317[_0x4e31ae(0x11b)];break;case _0x4e31ae(0xf3):_0x4a96e6=_0x280f67[_0x4e31ae(0x11b)];break;case _0x4e31ae(0x16d):_0x4a96e6=_0x280f67[_0x4e31ae(0x15e)];break;case _0x4e31ae(0x176):_0x4a96e6=_0x280f67[_0x4e31ae(0xbe)][_0x4e31ae(0x11b)];break;default:return null;}return _0x4a96e6[_0x4e31ae(0x18d)];}[_0x4afd6c(0x116)](_0x330ace){const _0x304b0c=_0x4afd6c;_0x330ace[_0x304b0c(0x174)](_0x56deca=>{const _0x32e878=_0x304b0c,_0x5c1569=_0x56deca[_0x32e878(0x113)]();_0x5c1569[_0x32e878(0x9d)]=_0x56deca[_0x32e878(0x9d)],_0x5c1569[_0x32e878(0x19c)]=!!_0x56deca[_0x32e878(0x19c)],_0x5c1569[_0x32e878(0x11a)]=_0x56deca[_0x32e878(0x11a)],_0x5c1569[_0x32e878(0x18a)]+=this[_0x32e878(0xc8)],_0x56deca[_0x32e878(0x18e)]&&this[_0x32e878(0x149)][_0x32e878(0xb6)](_0x5c1569),this[_0x32e878(0x153)][_0x32e878(0xce)](_0x5c1569);});}[_0x4afd6c(0x15c)](_0x1a69b6){const _0x4b0d13=_0x4afd6c,_0xb3f19a=this[_0x4b0d13(0xbf)][_0x4b0d13(0x17b)][_0x4b0d13(0x118)](_0x4b0d13(0xe1)),_0x43aeb5=this[_0x4b0d13(0xbf)][_0x4b0d13(0x16f)];_0x1a69b6||(_0x1a69b6=_0x1ffdd4(_0x43aeb5,_0x4b0d13(0xd0))),_0xb3f19a[_0x4b0d13(0x1a2)](_0x1a69b6,{'title':_0x1ffdd4(_0x43aeb5,_0x4b0d13(0x169)),'namespace':_0x4b0d13(0xd8)}),this[_0x4b0d13(0x15b)]=!0x0,clearTimeout(this[_0x4b0d13(0x173)]),this[_0x4b0d13(0xbc)]=[],this[_0x4b0d13(0xbf)][_0x4b0d13(0x17b)][_0x4b0d13(0x118)](_0x5b20ad)[_0x4b0d13(0x13a)]();}[_0x4afd6c(0xa3)](){const _0x57fff0=_0x4afd6c;this[_0x57fff0(0x181)]||(this[_0x57fff0(0x181)]=this[_0x57fff0(0xbf)][_0x57fff0(0x17b)][_0x57fff0(0x118)](_0x54c9b7)[_0x57fff0(0xb6)](_0x1ffdd4(this[_0x57fff0(0xbf)][_0x57fff0(0x16f)],_0x57fff0(0x133))));}[_0x4afd6c(0xd7)](){const _0x2d8aac=_0x4afd6c;this[_0x2d8aac(0x181)]&&(this[_0x2d8aac(0xbf)][_0x2d8aac(0x17b)][_0x2d8aac(0x118)](_0x54c9b7)[_0x2d8aac(0x104)](this[_0x2d8aac(0x181)]),this[_0x2d8aac(0x181)]=null);}[_0x4afd6c(0x1a1)](_0x3a349b){const _0x12b588=_0x4afd6c,_0x3207b5=_0x3a349b[_0x12b588(0xca)](_0x137f4a=>_0x137f4a[_0x12b588(0x17a)]());return this[_0x12b588(0x166)][_0x12b588(0x11f)](_0x3207b5);}[_0x4afd6c(0xe8)](_0x1123a5,_0x37d2de){const _0x43847b=_0x4afd6c;return this[_0x43847b(0x166)][_0x43847b(0xda)](_0x1123a5)[_0x43847b(0xca)]((_0x3e6030,_0x525959)=>{const _0x3be98f=_0x43847b,_0x5047c4=_0x3be98f(0x128)==_0x37d2de[_0x525959][_0x3be98f(0xb7)];if(_0x3be98f(0x178)==_0x3e6030[_0x3be98f(0x125)]){const _0x576621=_0x3e6030[_0x3be98f(0xf4)][_0x3be98f(0x11b)];!this[_0x3be98f(0xf2)][_0x3be98f(0xbd)](_0x576621)&&(this[_0x3be98f(0xf2)][_0x3be98f(0x138)](_0x3be98f(0xf6),_0x576621)[_0x3be98f(0x119)]=!0x1);}const _0x4b65fb=_0x11d0be[_0x3be98f(0x134)](_0x3e6030,this[_0x3be98f(0xf2)]);return _0x4b65fb[_0x3be98f(0xcc)]=_0x3e6030[_0x3be98f(0xcc)],_0x4b65fb[_0x3be98f(0x19c)]=_0x5047c4,_0x4b65fb[_0x3be98f(0x9d)]=_0x5047c4?null:_0x37d2de[_0x525959][_0x3be98f(0xb0)],_0x4b65fb[_0x3be98f(0x18e)]=_0x3be98f(0xde)===_0x37d2de[_0x525959][_0x3be98f(0xb7)],_0x4b65fb[_0x3be98f(0x11a)]=_0x37d2de[_0x525959][_0x3be98f(0x11a)],_0x4b65fb;});}[_0x4afd6c(0x127)](){const _0x1f4465=_0x4afd6c;this[_0x1f4465(0x12f)]=!0x0,this[_0x1f4465(0x152)]()?this[_0x1f4465(0xd4)]():this[_0x1f4465(0x12f)]=!0x1;}[_0x4afd6c(0x152)](){const _0x2614be=_0x4afd6c,_0x30b4ed=this[_0x2614be(0xbf)][_0x2614be(0x17b)][_0x2614be(0x118)](_0x192d17)[_0x2614be(0xb8)][_0x2614be(0x118)](this[_0x2614be(0x15d)]);return!this[_0x2614be(0xbf)][_0x2614be(0x163)]&&!!_0x30b4ed&&_0x30b4ed[_0x2614be(0xdb)]>0x1&&this[_0x2614be(0x12f)];}[_0x4afd6c(0xd1)](){const _0x1c4f73=_0x4afd6c;return this[_0x1c4f73(0xbc)][_0x1c4f73(0xdb)]>0x0||this[_0x1c4f73(0x152)]();}}export{l as RealTimeCollaborationClient};class V extends Error{}function W(_0x20c60b,_0x188bb8){const _0x1dcf9d=_0x4afd6c;for(const _0x396b71 of _0x20c60b)_0x396b71[_0x1dcf9d(0x18a)]=_0x188bb8++;}class F{[_0x4afd6c(0x16e)];[_0x4afd6c(0xc9)];constructor(_0x2d0aa0){const _0x5bc7fb=_0x4afd6c;this[_0x5bc7fb(0x16e)]=_0x2d0aa0,this[_0x5bc7fb(0xc9)]=new WeakMap();}[_0x4afd6c(0x16a)](_0x5e58d1){const _0x597348=_0x4afd6c;let _0x11d624=_0x5e58d1[_0x597348(0xdb)];for(;_0x11d624--;){const _0xb91ead=_0x5e58d1[_0x11d624];if(!this[_0x597348(0x16e)][_0x597348(0x115)](_0xb91ead)){if(!this[_0x597348(0xc9)][_0x597348(0x115)](_0xb91ead)){const _0x2890e8=_0x59a422()[_0x597348(0xe0)](0x1,0x12);this[_0x597348(0xc9)][_0x597348(0x147)](_0xb91ead,_0x2890e8);}return this[_0x597348(0xc9)][_0x597348(0x118)](_0xb91ead);}}}[_0x4afd6c(0x170)](_0x133ed9,_0x319507){const _0x259cb1=_0x4afd6c;if(!_0x319507)return;let _0x5f21d3=_0x133ed9[_0x259cb1(0xdb)];for(;_0x5f21d3--;){const _0x212889=_0x133ed9[_0x5f21d3];this[_0x259cb1(0x16e)][_0x259cb1(0x115)](_0x212889)||this[_0x259cb1(0xc9)][_0x259cb1(0x147)](_0x212889,_0x319507);}}}
23
+ const _0x11b185=_0x51b4;function _0x4f93(){const _0x3e59c6=['view','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_setUpDataInit','_lastSyncedOperationId','addRoot','setIdForTheLastOperation','isPremiumPlugin','define','collaboration.channelId','editor','map','_handleServerResponse','loadRoot','stop','affectsData','_refreshUserSelectionMarkers','_channelId','Notification','realtimecollaborationclient-init-session-connection-error','sendOperations','realtimecollaborationclient-init-connection-failed','_lastServerVersion','rootName','unregister','change:_isEditingAllowed','connect','getOperations','markers','listenTo','realtimecollaborationclient-handleserverresponse','affectedSelectable','sessionCreatedAt','type','cloudDocumentVersion','register','add','remove','mySessionId','21234gzyUSv','message','end','_isConnected','lastOperationAcceptedAt','disableReadOnlyMode','catch','$root','_document','getUser','99hayvKw','28bLaTnL','getConnectedSessions','404','disconnected','removeFromReconnectionStack','keys','reconnect','_addKnownRoot','_isEditingAllowed','realtimecollaborationclient-init-service-incorrect-server-operation','requires','cs:removeUser','off','size','createPositionFromPath','get','_isInit','lastOperationId','multi-root-editor-root-attributes-no-root','getRoot','_currentBufferDelay','_authorId','connection','lastDocumentSession','slice','_offset','serverHistory','_compressOperations','metadata','createPositionAt','move','_bufferedOperations','attributes','has','realtimecollaborationclient','_service','change:_isPendingUpdate','addRootAttribute','12394cIYXzI','locale','offset','decompress','_compressor','suppressErrorInCollaboration','disconnect','_initSessionsHandling','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_setPendingAction','sessionId','_sendBufferedOperationsDelayed','pluginName','wasUndone','startsWith','parse','clone','history','_isAttached','compress','isUndoneOperation','filter','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_knownOperations','start','includes','userId','_shouldSendSelectionUpdate','insert','connected','108EgjkWB','_getOperationsFromInitData','1IyGTCN','reconnection:\x20flushed\x20session','high','_handleReconnectionError','ready','_loadRoot','1602240wWbQew','initData','RealTimeCollaborationClient','code','rootsAttributes','409','CommentsOnly','_crash','entries','round','differ','operationsReceived','destroy','fromJSON','realtimecollaborationclient-sendbufferedoperations','sessionAdd:','enqueueChange','root','_handleReceivedOperations','enableReadOnlyMode','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createRoot','_updateServerHistory','realtimecollaborationclient-init-service-internal-error','38145KvTiHs','CollaborativeEditingService','isEnabled','state','realtimecollaborationclient-error','document','return','InsertOperation','model','baseVersion','bind','change:hasDomSelection','error','_getAffectedRoot','wereChangesApplied','_hasSynchronizationProblem','path','425018SdsEmq','_operationToId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','Synchronization\x20issue','rtc-offline','editing','_handleSendingSelectionMarkers','applyOperation','change:range','newRange','_waitUntilSynced','_hasSelectionChanged','cloud-services-internal-error:\x20Request\x20timeout.','_disconnectionOperations','_handleExternalOperations','addOperation','data','forEach','roots','marker','createRange','real-time-collaboration','cloudServices.bundleVersion','plugins','_shouldSendUpdate','batch','_pendingAction','collaboration','addToReconnectionStack','_clearPendingAction','finally','cloud-services-internal-error:\x20Not\x20connected.','reset','_knownRootNames','Permissions','__className','fire','realtimecollaborationclient-init-non-existent-root','_handleReconnectionResponse','position','then','_ignoredOperations','_connectService','_handleInitialConnectionData','permissions','rtc-destroyed','string','_disconnectService','getDocumentDetails','938049RVONhk','addUser','stopListening','document:write','isDocumentOperation','getOperationAuthor','_bufferRootLoad','90FNSViv','_decompressOperations','push','targetPosition','_isPendingUpdate','channelSessions','realtimecollaborationclient-init-document-already-initialized','init','config','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.','length','version','_isDisconnection','from','createUserMarkerOperations','getIdOfTheLastOperation','getMany','_operationIdentifier','set','45576leUcMo','collaboration-missing-channelid','_connectAfterSessionHasBeenFlushed','_initThrowingOnDataSet','createdAt','apply','isReadOnly','isOfficialPlugin','showWarning','directChange','currentDocumentSession','_baseBufferDelay','_fetchMissingUsers','selection','_sendBufferedOperationsDelayId','setPermissions','toJSON','PENDING_ACTION_SENDING_DATA','_applyOperationsSet','_saveOperationInBuffer','_isLoaded','lastSyncVersion','_sendBufferedOperations'];_0x4f93=function(){return _0x3e59c6;};return _0x4f93();}(function(_0x46d5f1,_0x38da5e){const _0x50a986=_0x51b4,_0x4fdb21=_0x46d5f1();while(!![]){try{const _0x3a54c6=parseInt(_0x50a986(0x197))/0x1*(parseInt(_0x50a986(0x177))/0x2)+parseInt(_0x50a986(0x1b5))/0x3*(-parseInt(_0x50a986(0x151))/0x4)+-parseInt(_0x50a986(0x1fe))/0x5*(parseInt(_0x50a986(0x146))/0x6)+parseInt(_0x50a986(0x1f7))/0x7+-parseInt(_0x50a986(0x211))/0x8*(parseInt(_0x50a986(0x150))/0x9)+-parseInt(_0x50a986(0x19d))/0xa+-parseInt(_0x50a986(0x1c6))/0xb*(-parseInt(_0x50a986(0x195))/0xc);if(_0x3a54c6===_0x38da5e)break;else _0x4fdb21['push'](_0x4fdb21['shift']());}catch(_0x58fc01){_0x4fdb21['push'](_0x4fdb21['shift']());}}}(_0x4f93,0x1b6dc));import{Plugin as _0x31c839,PendingActions as _0x58ef67}from'ckeditor5/src/core.js';import{CKEditorError as _0x1510e6,version as _0x3c1129,uid as _0x22c164}from'ckeditor5/src/utils.js';import{Notification as _0xda24db}from'ckeditor5/src/ui.js';function _0x51b4(_0xb5ca92,_0x11f648){const _0x4f934a=_0x4f93();return _0x51b4=function(_0x51b4dc,_0x418b34){_0x51b4dc=_0x51b4dc-0x117;let _0x5f4f6b=_0x4f934a[_0x51b4dc];return _0x5f4f6b;},_0x51b4(_0xb5ca92,_0x11f648);}import{transformOperationSets as _0x59e1b3,NoOperation as _0x27aecf,InsertOperation as _0x35ef47,MarkerOperation as _0x520762,RootAttributeOperation as _0x62aac,OperationFactory as _0x1e1845,History as _0x4d6a87}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x8aa329}from'./websocketgateway.js';import{Sessions as _0x10854f}from'./sessions.js';import{UserMarkers as _0x304d6b}from'./usermarkers.js';import{getTranslation as _0x473c58}from'../common-translations.js';import{Compressor as _0x2dfa6}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x14a7cf}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xcf351c,CollaborativeEditingService as _0xc7dd8a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x31c839{static [_0x11b185(0x1b6)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0xc7dd8a)());[_0x11b185(0x16a)];[_0x11b185(0x181)];[_0x11b185(0x16b)];[_0x11b185(0x130)];[_0x11b185(0x174)];[_0x11b185(0x14e)];[_0x11b185(0x17b)];[_0x11b185(0x170)];[_0x11b185(0x18e)];[_0x11b185(0x1e7)];[_0x11b185(0x1e0)];[_0x11b185(0x1d1)];[_0x11b185(0x117)];[_0x11b185(0x21c)];[_0x11b185(0x165)];[_0x11b185(0x123)];[_0x11b185(0x1d3)];[_0x11b185(0x20f)];static get[_0x11b185(0x15b)](){return[_0x8aa329,_0x10854f,_0x304d6b,_0x58ef67,_0x14a7cf,_0xda24db];}static get[_0x11b185(0x183)](){const _0x4135e6=_0x11b185;return _0x4135e6(0x19f);}static get[_0x11b185(0x218)](){return!0x0;}static get[_0x11b185(0x126)](){return!0x0;}get[_0x11b185(0x141)](){const _0x1c571a=_0x11b185;return this[_0x1c571a(0x135)]+this[_0x1c571a(0x16a)];}get[_0x11b185(0x135)](){const _0x3519c8=_0x11b185;return this[_0x3519c8(0x16b)][_0x3519c8(0x209)]-this[_0x3519c8(0x16a)];}get[_0x11b185(0x11e)](){const _0x479f79=_0x11b185,_0x510e8c=this[_0x479f79(0x16b)][_0x479f79(0x13a)]();for(let _0x388724=_0x510e8c[_0x479f79(0x208)]-0x1;_0x388724>=0x0;_0x388724--){const _0x4e29db=_0x510e8c[_0x388724];if(!this[_0x479f79(0x1d3)][_0x479f79(0x172)](_0x4e29db))return _0x4e29db[_0x479f79(0x1be)]+0x1-this[_0x479f79(0x16a)];}return 0x0;}constructor(_0x21e513){const _0x47a974=_0x11b185;if(super(_0x21e513),this[_0x47a974(0x16a)]=0x0,this[_0x47a974(0x181)]=null,this[_0x47a974(0x16b)]=new _0x4d6a87(),this[_0x47a974(0x129)][_0x47a974(0x206)][_0x47a974(0x127)](_0x47a974(0x1e1),{}),this[_0x47a974(0x130)]=this[_0x47a974(0x129)][_0x47a974(0x206)][_0x47a974(0x160)](_0x47a974(0x128)),!this[_0x47a974(0x130)])throw new _0x1510e6(_0x47a974(0x212),this);const _0x1b54a1=_0x21e513[_0x47a974(0x206)][_0x47a974(0x160)](_0x47a974(0x1dc))||_0x3c1129;this[_0x47a974(0x174)]=new l[(_0x47a974(0x1b6))](_0x1b54a1,this[_0x47a974(0x130)]),this[_0x47a974(0x14e)]=this[_0x47a974(0x129)][_0x47a974(0x1bd)][_0x47a974(0x1ba)],this[_0x47a974(0x17b)]=new _0x2dfa6(),this[_0x47a974(0x170)]=[],this[_0x47a974(0x18e)]=new WeakSet(),this[_0x47a974(0x1e7)]=new Set(),this[_0x47a974(0x210)](_0x47a974(0x202),!0x1),this[_0x47a974(0x210)](_0x47a974(0x1c4),!0x1),this[_0x47a974(0x1e0)]=null,this[_0x47a974(0x1d1)]=!0x1,this[_0x47a974(0x117)]=null,this[_0x47a974(0x21c)]=0x12c,this[_0x47a974(0x165)]=this[_0x47a974(0x21c)],this[_0x47a974(0x123)]=null,this[_0x47a974(0x1d3)]=new WeakSet(),this[_0x47a974(0x20f)]=new J(this[_0x47a974(0x1d3)]);}[_0x11b185(0x205)](){const _0x23cb71=_0x11b185,_0x2d71d0=this[_0x23cb71(0x129)],_0x4d59e1=_0x2d71d0[_0x23cb71(0x1dd)][_0x23cb71(0x160)](_0x14a7cf),_0x30c5b5=_0x2d71d0[_0x23cb71(0x1dd)][_0x23cb71(0x160)](_0x8aa329);this[_0x23cb71(0x13c)](_0x4d59e1,_0x23cb71(0x1fc),(_0x523b6e,_0x199615)=>{const _0x5a9ea7=_0x23cb71,_0x5c011b=_0x199615[0x0];_0x5c011b[_0x5a9ea7(0x166)]&&(_0x523b6e[_0x5a9ea7(0x1bb)]=_0x4d59e1[_0x5a9ea7(0x14f)](_0x5c011b[_0x5a9ea7(0x166)]),_0x523b6e[_0x5a9ea7(0x12d)]()),null===_0x5c011b[_0x5a9ea7(0x166)]&&(_0x523b6e[_0x5a9ea7(0x1bb)]=null,_0x523b6e[_0x5a9ea7(0x12d)]());},{'priority':_0x23cb71(0x199)}),this[_0x23cb71(0x13c)](_0x2d71d0[_0x23cb71(0x1bd)][_0x23cb71(0x1ba)][_0x23cb71(0x21e)],_0x23cb71(0x1ce),(_0xaa4eb,_0x1a6aef)=>{const _0xad800f=_0x23cb71;_0x1a6aef[_0xad800f(0x21a)]&&this[_0xad800f(0x12f)]();}),this[_0x23cb71(0x13c)](_0x2d71d0[_0x23cb71(0x1cb)][_0x23cb71(0x120)],_0x23cb71(0x1c0),()=>{const _0x3133e9=_0x23cb71;this[_0x3133e9(0x12f)]();}),this[_0x23cb71(0x214)](),_0x2d71d0[_0x23cb71(0x1bd)]['on'](_0x23cb71(0x1cd),(_0xf76db2,_0x231c27)=>{const _0x4c459b=_0x23cb71,_0x2fde8e=_0x231c27[0x0];_0x2fde8e[_0x4c459b(0x1fb)]&&(this[_0x4c459b(0x11c)](_0x2fde8e),this[_0x4c459b(0x1de)]()&&this[_0x4c459b(0x182)]());}),this[_0x23cb71(0x122)](),this[_0x23cb71(0x1bf)](_0x23cb71(0x159))['to'](_0x30c5b5,_0x23cb71(0x1b8),this,_0x23cb71(0x1c4),(_0x252e02,_0x41a625)=>_0x23cb71(0x194)===_0x252e02&&!_0x41a625),this['on'](_0x23cb71(0x138),()=>{const _0x35c3ac=_0x23cb71;this[_0x35c3ac(0x159)]?_0x2d71d0[_0x35c3ac(0x14b)](_0x35c3ac(0x1ca)):_0x2d71d0[_0x35c3ac(0x1b0)](_0x35c3ac(0x1ca));}),this[_0x23cb71(0x159)]?_0x2d71d0[_0x23cb71(0x14b)](_0x23cb71(0x1ca)):_0x2d71d0[_0x23cb71(0x1b0)](_0x23cb71(0x1ca)),this[_0x23cb71(0x210)](_0x23cb71(0x149),!0x1);}async[_0x11b185(0x157)](){const _0x5ad048=_0x11b185,_0x34c4ce=this[_0x5ad048(0x129)][_0x5ad048(0x1dd)][_0x5ad048(0x160)](_0x10854f),_0x2cd1e7=this[_0x5ad048(0x129)][_0x5ad048(0x1dd)][_0x5ad048(0x160)](_0x8aa329);try{this[_0x5ad048(0x202)]=!0x0,_0x34c4ce[_0x5ad048(0x137)](this[_0x5ad048(0x130)]);const _0x51134a=await this[_0x5ad048(0x174)][_0x5ad048(0x157)](_0x2cd1e7[_0x5ad048(0x167)],this[_0x5ad048(0x11e)]);await this[_0x5ad048(0x1ec)](_0x51134a)&&(this[_0x5ad048(0x202)]=!0x1,this[_0x5ad048(0x1e3)]());const _0x42bc34=await this[_0x5ad048(0x174)][_0x5ad048(0x152)]();_0x34c4ce[_0x5ad048(0x142)](this[_0x5ad048(0x130)],_0x42bc34),this[_0x5ad048(0x1cc)](),this[_0x5ad048(0x149)]=!0x0;}catch(_0x42e2e6){if(function(_0x3290b4){const _0x3aaade=_0x5ad048;return _0x3aaade(0x153)===_0x3290b4[_0x3aaade(0x1a0)];}(_0x42e2e6)&&this[_0x5ad048(0x181)])await this[_0x5ad048(0x213)]();else{if(function(_0x1656ea){const _0x365728=_0x5ad048;return _0x365728(0x1a2)===_0x1656ea[_0x365728(0x1a0)];}(_0x42e2e6)){const _0x10d00f=_0x473c58(this[_0x5ad048(0x129)][_0x5ad048(0x178)],_0x5ad048(0x1b1));this[_0x5ad048(0x19a)](_0x10d00f);}else{if(!(_0x42e2e6 instanceof $))throw _0x42e2e6;this[_0x5ad048(0x19a)]();}}}}[_0x11b185(0x1a9)](){const _0x146786=_0x11b185,_0xbcdd1c=this[_0x146786(0x129)][_0x146786(0x1dd)][_0x146786(0x160)](_0x8aa329),_0x69b494=this[_0x146786(0x129)][_0x146786(0x1dd)][_0x146786(0x160)](_0x10854f);this[_0x146786(0x129)][_0x146786(0x1b0)](_0x146786(0x1f3)),_0x69b494[_0x146786(0x203)][_0x146786(0x172)](this[_0x146786(0x130)])&&_0x69b494[_0x146786(0x137)](this[_0x146786(0x130)]),_0xbcdd1c[_0x146786(0x155)](this),this[_0x146786(0x1f5)](),super[_0x146786(0x1a9)]();}async[_0x11b185(0x1ec)](_0x2460b7){const _0x5eea7b=_0x11b185;if(this[_0x5eea7b(0x181)]!==_0x2460b7[_0x5eea7b(0x181)]&&this[_0x5eea7b(0x123)]!==_0x2460b7[_0x5eea7b(0x162)])throw new $();return this[_0x5eea7b(0x181)]=_0x2460b7[_0x5eea7b(0x181)],this[_0x5eea7b(0x12b)]([],{..._0x2460b7,'wereChangesApplied':!0x1,'data':_0x2460b7[_0x5eea7b(0x1d6)]},_0x5eea7b(0x157));}async[_0x11b185(0x1f0)](_0x2f7981,_0x24c42b=!0x1){const _0x2a8829=_0x11b185,{connection:_0xd8fcfa}=this[_0x2a8829(0x129)][_0x2a8829(0x1dd)][_0x2a8829(0x160)](_0x8aa329);l[_0x2a8829(0x1b6)][_0x2a8829(0x152)](_0xd8fcfa,this[_0x2a8829(0x130)])[_0x2a8829(0x1ee)](_0x4f7ed8=>this[_0x2a8829(0x17e)](_0x4f7ed8))[_0x2a8829(0x14c)](_0x477bce=>{const _0x1525e7=_0x2a8829;this[_0x1525e7(0x1a4)](_0x1525e7(0x132),_0x477bce);}),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x1a8),this[_0x2a8829(0x1af)][_0x2a8829(0x1bf)](this)),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x1c1),(_0x2ff4b6,_0x18ab3e)=>{const _0x9885f4=_0x2a8829;this[_0x9885f4(0x1a4)](_0x9885f4(0x1b4),_0x18ab3e);}),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x154),()=>{const _0x34b5e7=_0x2a8829;this[_0x34b5e7(0x149)]=!0x1;});const _0x4b8e5d=this[_0x2a8829(0x20f)][_0x2a8829(0x20d)](_0x2f7981);this[_0x2a8829(0x202)]=!0x0;const _0x1b0c8e=await this[_0x2a8829(0x174)][_0x2a8829(0x139)](_0xd8fcfa,this[_0x2a8829(0x16c)](_0x2f7981),_0x4b8e5d);if(this[_0x2a8829(0x181)]=_0x1b0c8e[_0x2a8829(0x181)],_0x24c42b){if(!_0x1b0c8e[_0x2a8829(0x1c3)])return void this[_0x2a8829(0x19a)]();this[_0x2a8829(0x202)]=!0x1,this[_0x2a8829(0x1e3)](),this[_0x2a8829(0x16b)][_0x2a8829(0x1e6)](),this[_0x2a8829(0x16a)]=_0x1b0c8e[_0x2a8829(0x179)],this[_0x2a8829(0x16b)][_0x2a8829(0x209)]=this[_0x2a8829(0x16a)],await this[_0x2a8829(0x12b)](_0x2f7981,_0x1b0c8e,_0x2a8829(0x198));}else await this[_0x2a8829(0x1f1)](_0x1b0c8e,_0x2f7981);this[_0x2a8829(0x1cc)](),this[_0x2a8829(0x149)]=!0x0;}[_0x11b185(0x1cc)](){const _0x29c5e5=_0x11b185,_0x33e3e1=this[_0x29c5e5(0x129)][_0x29c5e5(0x1dd)][_0x29c5e5(0x160)](_0x10854f),_0x3396ec=this[_0x29c5e5(0x129)][_0x29c5e5(0x1dd)][_0x29c5e5(0x160)](_0x304d6b),_0x41c915=_0x33e3e1[_0x29c5e5(0x203)][_0x29c5e5(0x160)](this[_0x29c5e5(0x130)]);_0x41c915&&_0x41c915[_0x29c5e5(0x208)]>0x1?_0x3396ec[_0x29c5e5(0x20c)]():this[_0x29c5e5(0x13c)](_0x33e3e1,_0x29c5e5(0x1ac)+this[_0x29c5e5(0x130)],()=>{const _0xf7c499=_0x29c5e5;0x2===_0x33e3e1[_0xf7c499(0x203)][_0xf7c499(0x160)](this[_0xf7c499(0x130)])[_0xf7c499(0x208)]&&_0x3396ec[_0xf7c499(0x20c)]();});}async[_0x11b185(0x1af)](_0x5bf733,_0x132c37,_0x4ee2fe,_0x4ae537){const _0x41a145=_0x11b185;if(!this[_0x41a145(0x202)]&&this[_0x41a145(0x14e)][_0x41a145(0x209)]==_0x132c37){const _0x152b3d=this[_0x41a145(0x1ff)](_0x4ee2fe,_0x4ae537);await this[_0x41a145(0x21d)](_0x152b3d),this[_0x41a145(0x1d4)](_0x152b3d,_0x132c37,_0x4ee2fe[_0x41a145(0x162)])||this[_0x41a145(0x1a4)](_0x41a145(0x15a));}}async[_0x11b185(0x213)](){const _0x510dfb=_0x11b185;this[_0x510dfb(0x1f5)]();const {locale:_0x18c5c3}=this[_0x510dfb(0x129)];let _0x18cce3;try{_0x18cce3=await this[_0x510dfb(0x174)][_0x510dfb(0x1f6)]();}catch{const _0x230973=_0x473c58(_0x18c5c3,_0x510dfb(0x17f));return void this[_0x510dfb(0x19a)](_0x230973);}const _0x3ff794=_0x18cce3[_0x510dfb(0x21b)]||_0x18cce3[_0x510dfb(0x168)];if(this[_0x510dfb(0x123)]!==_0x3ff794[_0x510dfb(0x162)]){const _0x1bee2a=_0x473c58(_0x18c5c3,_0x510dfb(0x207));return void this[_0x510dfb(0x19a)](_0x1bee2a);}await this[_0x510dfb(0x1f0)](this[_0x510dfb(0x129)][_0x510dfb(0x1bd)][_0x510dfb(0x1ba)][_0x510dfb(0x188)][_0x510dfb(0x13a)](),!0x0);}[_0x11b185(0x1f5)](){const _0x33c8c0=_0x11b185;this[_0x33c8c0(0x174)][_0x33c8c0(0x17d)](),this[_0x33c8c0(0x170)]=[],clearTimeout(this[_0x33c8c0(0x117)]),this[_0x33c8c0(0x1f9)](this[_0x33c8c0(0x174)]);}[_0x11b185(0x17e)](_0x208fe5){const _0x5c9dc5=_0x11b185,_0xd52af=this[_0x5c9dc5(0x129)][_0x5c9dc5(0x1dd)][_0x5c9dc5(0x160)](_0x10854f);this[_0x5c9dc5(0x13c)](_0xd52af,_0x5c9dc5(0x1ac)+this[_0x5c9dc5(0x130)],(_0x1c8695,{session:_0x406066})=>{const _0x174433=_0x5c9dc5;if(_0x406066['id']===_0xd52af[_0x174433(0x145)]){_0x1c8695[_0x174433(0x15d)]();const _0x562592=this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x172)](_0x174433(0x1a3))&&this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x160)](_0x174433(0x1a3));let _0x192d40=_0x406066[_0x174433(0x1f2)];_0x562592&&_0x562592[_0x174433(0x1b7)]&&(_0x192d40=_0x192d40[_0x174433(0x18c)](_0x328532=>_0x174433(0x1fa)!==_0x328532)),this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x160)](_0x174433(0x1e8))[_0x174433(0x118)](_0x192d40,this[_0x174433(0x130)]);}}),_0xd52af[_0x5c9dc5(0x142)](this[_0x5c9dc5(0x130)],_0x208fe5);}[_0x11b185(0x214)](){const _0x2175f9=_0x11b185,_0x2f5322=this[_0x2175f9(0x129)][_0x2175f9(0x1d6)][_0x2175f9(0x210)];this[_0x2175f9(0x129)][_0x2175f9(0x1d6)][_0x2175f9(0x210)]=(..._0x8e4460)=>{const _0x41992d=_0x2175f9;if(!_0x8e4460[_0x8e4460[_0x41992d(0x208)]-0x1][_0x41992d(0x17c)])throw new _0x1510e6(_0x41992d(0x18d),this);_0x2f5322[_0x41992d(0x216)](this[_0x41992d(0x129)][_0x41992d(0x1d6)],_0x8e4460);};}[_0x11b185(0x122)](){const _0x11b908=_0x11b185;this[_0x11b908(0x129)][_0x11b908(0x1d6)]['on'](_0x11b908(0x205),(_0x17752c,[_0x3ca638])=>{const _0x2d83a3=_0x11b908;if(this[_0x2d83a3(0x14e)][_0x2d83a3(0x209)])throw new _0x1510e6(_0x2d83a3(0x204),this);_0x17752c[_0x2d83a3(0x12d)](),this[_0x2d83a3(0x180)]();const _0x3f2914=this[_0x2d83a3(0x129)][_0x2d83a3(0x206)][_0x2d83a3(0x160)](_0x2d83a3(0x1a1)),_0x5503d3=this[_0x2d83a3(0x196)](_0x3ca638,_0x3f2914);0x0==_0x5503d3[_0x2d83a3(0x208)]&&_0x5503d3[_0x2d83a3(0x200)](new _0x27aecf(0x0)),_0x17752c[_0x2d83a3(0x1bb)]=this[_0x2d83a3(0x1f0)](_0x5503d3)[_0x2d83a3(0x1ee)](()=>{const _0x21c831=_0x2d83a3;this[_0x21c831(0x129)][_0x21c831(0x1dd)][_0x21c831(0x160)](_0x8aa329)[_0x21c831(0x1e2)](this),this[_0x21c831(0x129)][_0x21c831(0x1d6)][_0x21c831(0x1ea)](_0x21c831(0x19b));})[_0x2d83a3(0x14c)](_0x4a5274=>this[_0x2d83a3(0x1a4)](_0x2d83a3(0x134),_0x4a5274))[_0x2d83a3(0x1e4)](()=>this[_0x2d83a3(0x1e3)]());},{'priority':_0x11b908(0x199)}),this[_0x11b908(0x129)]['on'](_0x11b908(0x12c),async(_0x548400,[_0x5675d4,_0x3fb737])=>{const _0x7c7b1b=_0x11b908;_0x548400[_0x7c7b1b(0x12d)]();const _0x436b13=this[_0x7c7b1b(0x129)][_0x7c7b1b(0x1bd)][_0x7c7b1b(0x1ba)][_0x7c7b1b(0x164)](_0x5675d4);if(!this[_0x7c7b1b(0x1e7)][_0x7c7b1b(0x172)](_0x5675d4)){const _0x38b4ff=_0x3fb737&&_0x3fb737[_0x7c7b1b(0x1d6)]?_0x3fb737[_0x7c7b1b(0x1d6)]:'',_0x31d82f=_0x3fb737&&_0x3fb737[_0x7c7b1b(0x171)]?_0x3fb737[_0x7c7b1b(0x171)]:{};await this[_0x7c7b1b(0x19c)](_0x5675d4,_0x38b4ff,_0x31d82f);}this[_0x7c7b1b(0x129)][_0x7c7b1b(0x1bd)][_0x7c7b1b(0x1ad)]({'isUndoable':!0x1},()=>{const _0x146b94=_0x7c7b1b;_0x436b13[_0x146b94(0x11d)]=!0x0,this[_0x146b94(0x129)][_0x146b94(0x1bd)][_0x146b94(0x1ba)][_0x146b94(0x1a7)][_0x146b94(0x1fd)](_0x436b13);});},{'priority':_0x11b908(0x199)});}async[_0x11b185(0x21d)](_0x4777d3){const _0xa87b9a=_0x11b185,_0x1ea85b=this[_0xa87b9a(0x129)][_0xa87b9a(0x1dd)][_0xa87b9a(0x160)](_0x14a7cf),{connection:_0x584a71}=this[_0xa87b9a(0x129)][_0xa87b9a(0x1dd)][_0xa87b9a(0x160)](_0x8aa329),_0x3a2256=new Set();for(const _0x46b103 of _0x4777d3){const _0x59e033=_0x46b103[_0xa87b9a(0x166)];_0x59e033&&!_0x1ea85b[_0xa87b9a(0x14f)](_0x59e033)&&_0x3a2256[_0xa87b9a(0x143)](_0x59e033);}if(0x0===_0x3a2256[_0xa87b9a(0x15e)])return;const _0x3ff189=await _0xcf351c[_0xa87b9a(0x20e)](_0x584a71,Array[_0xa87b9a(0x20b)](_0x3a2256));for(const _0x226fe0 of _0x3ff189)_0x1ea85b[_0xa87b9a(0x14f)](_0x226fe0['id'])||_0x1ea85b[_0xa87b9a(0x1f8)](_0x226fe0);}[_0x11b185(0x196)](_0x146b6b,_0x212d82={}){const _0x17aba6=_0x11b185,_0x4d0f01=this[_0x17aba6(0x129)][_0x17aba6(0x1bd)],_0x6eafd9=[];let _0x507bd4=0x0;const _0x54e7dd=_0x17aba6(0x1f4)==typeof _0x146b6b?{'main':_0x146b6b}:_0x146b6b;for(const _0x2be16c of Object[_0x17aba6(0x156)](_0x54e7dd)){if(!this[_0x17aba6(0x14e)][_0x17aba6(0x1d8)][_0x17aba6(0x172)](_0x2be16c))throw new _0x1510e6(_0x17aba6(0x1eb),this);const _0x7f67e5=this[_0x17aba6(0x129)][_0x17aba6(0x1d6)][_0x17aba6(0x186)](_0x54e7dd[_0x2be16c]),_0x4ac9b6=this[_0x17aba6(0x14e)][_0x17aba6(0x164)](_0x2be16c),_0x56d567=new _0x35ef47(_0x4d0f01[_0x17aba6(0x16e)](_0x4ac9b6,0x0),_0x7f67e5,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x56d567);for(const [_0x305e62,_0x1d423d]of _0x7f67e5[_0x17aba6(0x13b)]){const _0x2a9898=_0x4d0f01[_0x17aba6(0x1da)](_0x4d0f01[_0x17aba6(0x15f)](_0x4ac9b6,_0x1d423d[_0x17aba6(0x18f)][_0x17aba6(0x1c5)][_0x17aba6(0x169)]()),_0x4d0f01[_0x17aba6(0x15f)](_0x4ac9b6,_0x1d423d[_0x17aba6(0x148)][_0x17aba6(0x1c5)][_0x17aba6(0x169)]())),_0x11d3ad=new _0x520762(_0x305e62,null,_0x2a9898,_0x4d0f01[_0x17aba6(0x13b)],!0x0,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x11d3ad);}}if(_0x212d82)for(const [_0x5868a2,_0x1511f7]of Object[_0x17aba6(0x1a5)](_0x212d82)){const _0xe92aa5=_0x4d0f01[_0x17aba6(0x1ba)][_0x17aba6(0x164)](_0x5868a2);if(!_0xe92aa5)throw new _0x1510e6(_0x17aba6(0x163),null);for(const [_0x227624,_0xf113ee]of Object[_0x17aba6(0x1a5)](_0x1511f7))if(null!==_0xf113ee){const _0x5e34b4=new _0x62aac(_0xe92aa5,_0x227624,null,_0xf113ee,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x5e34b4);}}return _0x6eafd9;}async[_0x11b185(0x19c)](_0xadb2a4,_0x39c197,_0x4f492b){const _0x468e90=_0x11b185;this[_0x468e90(0x196)]({[_0xadb2a4]:_0x39c197},{[_0xadb2a4]:_0x4f492b})[_0x468e90(0x1d7)]((_0x4abf6d,_0x4e0959)=>{const _0x4d93cc=_0x468e90;_0x4abf6d[_0x4d93cc(0x1be)]=this[_0x4d93cc(0x14e)][_0x4d93cc(0x209)]+_0x4e0959,_0x4abf6d[_0x4d93cc(0x161)]=!0x0,this[_0x4d93cc(0x11c)](_0x4abf6d);}),this[_0x468e90(0x182)](),await this[_0x468e90(0x1d0)]();}async[_0x11b185(0x1f1)](_0x228e33,_0x4de179){const _0x430dcd=_0x11b185;let _0x43f788;this[_0x430dcd(0x16a)]=_0x228e33[_0x430dcd(0x179)];const _0x397c7c=_0x228e33[_0x430dcd(0x1c3)]&&!_0x228e33[_0x430dcd(0x19e)],_0x359168=_0x397c7c?0x0:_0x228e33[_0x430dcd(0x1d6)][_0x430dcd(0x1be)];if(_0x4de179[_0x430dcd(0x1d7)](_0x308c29=>{const _0x491d6a=_0x430dcd;_0x308c29[_0x491d6a(0x161)]=!0x0,_0x308c29[_0x491d6a(0x215)]=_0x228e33[_0x491d6a(0x13f)],_0x308c29[_0x491d6a(0x166)]=null;}),_0x397c7c)_0x43f788=_0x4de179,this[_0x430dcd(0x11b)](_0x43f788,_0x397c7c);else{if(_0x228e33[_0x430dcd(0x19e)]){const _0x58fe96=this[_0x430dcd(0x196)](_0x228e33[_0x430dcd(0x19e)]);this[_0x430dcd(0x14e)][_0x430dcd(0x188)][_0x430dcd(0x209)]=-_0x58fe96[_0x430dcd(0x208)],_0x58fe96[_0x430dcd(0x1d7)](_0x54209f=>{const _0x319c0a=_0x430dcd;_0x54209f[_0x319c0a(0x1be)]-=_0x58fe96[_0x319c0a(0x208)],_0x54209f[_0x319c0a(0x215)]=_0x228e33[_0x319c0a(0x13f)],_0x54209f[_0x319c0a(0x161)]=!0x0,_0x54209f[_0x319c0a(0x166)]=null;}),this[_0x430dcd(0x11b)](_0x58fe96,!0x0),this[_0x430dcd(0x16b)][_0x430dcd(0x209)]=-_0x58fe96[_0x430dcd(0x208)]+this[_0x430dcd(0x16a)],this[_0x430dcd(0x1b3)](_0x58fe96);}this[_0x430dcd(0x14e)][_0x430dcd(0x188)][_0x430dcd(0x209)]=_0x359168,_0x43f788=this[_0x430dcd(0x1ff)](_0x228e33[_0x430dcd(0x1d6)],_0x228e33[_0x430dcd(0x16d)]),await this[_0x430dcd(0x21d)](_0x43f788),this[_0x430dcd(0x11b)](_0x43f788,_0x397c7c);}_0x228e33[_0x430dcd(0x162)]&&(this[_0x430dcd(0x20f)][_0x430dcd(0x125)](_0x43f788,_0x228e33[_0x430dcd(0x162)]),this[_0x430dcd(0x123)]=_0x228e33[_0x430dcd(0x162)]),this[_0x430dcd(0x16b)][_0x430dcd(0x209)]=_0x359168+this[_0x430dcd(0x16a)],this[_0x430dcd(0x1b3)](_0x43f788),_0x4de179[_0x430dcd(0x18c)](_0x3c6fd7=>{const _0x7bd248=_0x430dcd,_0x5f164a=this[_0x7bd248(0x1c2)](_0x3c6fd7);return _0x5f164a&&!this[_0x7bd248(0x1e7)][_0x7bd248(0x172)](_0x5f164a);})[_0x430dcd(0x1d7)]((_0x175c89,_0x3cb17b)=>{const _0x4dfb2c=_0x430dcd;_0x175c89[_0x4dfb2c(0x1be)]=this[_0x4dfb2c(0x14e)][_0x4dfb2c(0x209)]+_0x3cb17b,this[_0x4dfb2c(0x11c)](_0x175c89);}),this[_0x430dcd(0x1de)]()?(this[_0x430dcd(0x165)]=0x0,this[_0x430dcd(0x182)](!0x0),await this[_0x430dcd(0x1d0)]()):(this[_0x430dcd(0x202)]=!0x1,this[_0x430dcd(0x1e3)]());}[_0x11b185(0x1a4)](_0xae9c0d,_0x546852){const _0x39b756=_0x11b185,_0x4982f=_0x546852&&_0x546852[_0x39b756(0x147)];if(_0x4982f&&_0x4982f[_0x39b756(0x185)](_0x39b756(0x173)))throw _0x546852;const _0x1a351f=this[_0x39b756(0x129)][_0x39b756(0x1dd)][_0x39b756(0x160)](_0x8aa329);throw this[_0x39b756(0x202)]=!0x0,_0x1a351f[_0x39b756(0x17d)](),this[_0x39b756(0x129)][_0x39b756(0x1b0)](_0x39b756(0x1b9)),new _0x1510e6(_0xae9c0d,this[_0x39b756(0x129)],_0x4982f?{'originalError':_0x4982f}:void 0x0);}[_0x11b185(0x11c)](_0xbc87d){const _0x12c44e=_0x11b185;this[_0x12c44e(0x18e)][_0x12c44e(0x172)](_0xbc87d)||(this[_0x12c44e(0x18e)][_0x12c44e(0x143)](_0xbc87d),this[_0x12c44e(0x170)][_0x12c44e(0x200)](_0xbc87d),this[_0x12c44e(0x1e0)]||_0x12c44e(0x1d9)==_0xbc87d[_0x12c44e(0x140)]&&!_0xbc87d[_0x12c44e(0x12e)]||this[_0x12c44e(0x180)]());}[_0x11b185(0x182)](_0xafc7c2=!0x1){const _0x58714f=_0x11b185;!_0xafc7c2&&this[_0x58714f(0x202)]||(this[_0x58714f(0x202)]=!0x0,clearTimeout(this[_0x58714f(0x117)]),this[_0x58714f(0x117)]=setTimeout(()=>{const _0x15584a=_0x58714f;this[_0x15584a(0x11f)]()[_0x15584a(0x1ee)](_0x479280=>{const _0x290224=_0x15584a;_0x479280&&(this[_0x290224(0x1e3)](),this[_0x290224(0x202)]=!0x1);})[_0x15584a(0x14c)](_0x36202d=>{const _0x46504f=_0x15584a;this[_0x46504f(0x1e3)](),this[_0x46504f(0x202)]=!0x1,function(_0x57e9ed){const _0x1b4acb=_0x46504f;return _0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1e5))||_0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1c8))||_0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1d2));}(_0x36202d)||this[_0x46504f(0x1a4)](_0x36202d[_0x46504f(0x147)],_0x36202d);});},this[_0x58714f(0x165)]));}[_0x11b185(0x1d0)](){return new Promise(_0x6d14e7=>{const _0x571fa1=_0x51b4;this['on'](_0x571fa1(0x175),()=>{_0x6d14e7();});});}async[_0x11b185(0x11f)](){const _0x480e4e=_0x11b185,_0x1871ed=this[_0x480e4e(0x129)][_0x480e4e(0x1dd)][_0x480e4e(0x160)](_0x304d6b);if(this[_0x480e4e(0x192)]()&&(_0x1871ed[_0x480e4e(0x20c)](),this[_0x480e4e(0x1d1)]=!0x1),!this[_0x480e4e(0x1de)]())return!0x0;const _0x1dc1ec=[...this[_0x480e4e(0x170)]];for(const _0x487c1c of _0x1dc1ec)_0x487c1c[_0x480e4e(0x184)]=this[_0x480e4e(0x14e)][_0x480e4e(0x188)][_0x480e4e(0x18b)](_0x487c1c);const _0x40a959=this[_0x480e4e(0x20f)][_0x480e4e(0x20d)](_0x1dc1ec),_0x2cfe1b=G++,_0x2c0bad=this[_0x480e4e(0x16c)](_0x1dc1ec),_0x1bb1cc=await this[_0x480e4e(0x174)][_0x480e4e(0x133)](_0x2c0bad,_0x2c0bad[_0x480e4e(0x1be)],_0x40a959);try{return await this[_0x480e4e(0x12b)](_0x1dc1ec,_0x1bb1cc,_0x2cfe1b);}catch(_0x4ed331){return this[_0x480e4e(0x1a4)](_0x480e4e(0x1ab),_0x4ed331);}}async[_0x11b185(0x12b)](_0x2c16a8,_0x36ffc1,_0x38a12f){const _0x30b4ac=_0x11b185;if(_0x30b4ac(0x1c1)in _0x36ffc1)throw _0x36ffc1[_0x30b4ac(0x1c1)];let _0x333b81=!0x1;if(_0x36ffc1[_0x30b4ac(0x1c3)]){_0x36ffc1[_0x30b4ac(0x162)]&&(this[_0x30b4ac(0x123)]=_0x36ffc1[_0x30b4ac(0x162)]),this[_0x30b4ac(0x170)]=this[_0x30b4ac(0x170)][_0x30b4ac(0x18c)](_0x3ab392=>!_0x2c16a8[_0x30b4ac(0x190)](_0x3ab392));for(const _0x3377f9 of _0x2c16a8)_0x3377f9[_0x30b4ac(0x215)]=_0x30b4ac(0x14a)in _0x36ffc1&&_0x36ffc1[_0x30b4ac(0x14a)]||void 0x0;K(_0x2c16a8,_0x36ffc1[_0x30b4ac(0x209)]-_0x2c16a8[_0x30b4ac(0x208)]),this[_0x30b4ac(0x1b3)](_0x2c16a8);const _0x18a4b5=_0x2c16a8[_0x30b4ac(0x18c)](_0x45215a=>{const _0x2f5c19=_0x30b4ac;if(!_0x45215a[_0x2f5c19(0x161)])return!0x1;const _0x1cc17e=this[_0x2f5c19(0x1c2)](_0x45215a);return _0x1cc17e&&!this[_0x2f5c19(0x1e7)][_0x2f5c19(0x172)](_0x1cc17e);});K(_0x18a4b5,this[_0x30b4ac(0x14e)][_0x30b4ac(0x209)]),this[_0x30b4ac(0x11b)](_0x18a4b5),_0x333b81=!0x0,this[_0x30b4ac(0x165)]=this[_0x30b4ac(0x21c)];}else{const _0x25329a=this[_0x30b4ac(0x1ff)](_0x36ffc1[_0x30b4ac(0x1d6)],_0x36ffc1[_0x30b4ac(0x16d)])[_0x30b4ac(0x18c)](_0x2d5a84=>_0x2d5a84[_0x30b4ac(0x1be)]>=this[_0x30b4ac(0x135)]);_0x25329a[_0x30b4ac(0x1d7)](_0x3b63e2=>this[_0x30b4ac(0x158)](_0x3b63e2)),this[_0x30b4ac(0x170)]=this[_0x30b4ac(0x170)][_0x30b4ac(0x18c)](_0x278100=>!_0x278100[_0x30b4ac(0x161)]||!this[_0x30b4ac(0x1e7)][_0x30b4ac(0x172)](this[_0x30b4ac(0x1c2)](_0x278100))),this[_0x30b4ac(0x170)][_0x30b4ac(0x208)]&&K(this[_0x30b4ac(0x170)],this[_0x30b4ac(0x170)][0x0][_0x30b4ac(0x1be)]),await this[_0x30b4ac(0x21d)](_0x25329a),_0x333b81=this[_0x30b4ac(0x1d4)](_0x25329a,_0x36ffc1[_0x30b4ac(0x209)],_0x36ffc1[_0x30b4ac(0x162)]),this[_0x30b4ac(0x165)]=Math[_0x30b4ac(0x1a6)](this[_0x30b4ac(0x165)]/0x2);}return _0x333b81?!this[_0x30b4ac(0x1de)]()||(this[_0x30b4ac(0x182)](!0x0),!0x1):this[_0x30b4ac(0x1a4)](_0x30b4ac(0x13d));}[_0x11b185(0x1d4)](_0x14ba1d,_0x50685d,_0x58b823){const _0x39ac83=_0x11b185;try{const _0x4dfbce={'document':this[_0x39ac83(0x14e)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x35e326,operationsB:_0x5aed0b,originalOperations:_0x52e49d}=_0x59e1b3(_0x14ba1d,this[_0x39ac83(0x170)],_0x4dfbce);K(_0x35e326,this[_0x39ac83(0x14e)][_0x39ac83(0x209)]),K(_0x5aed0b,_0x50685d);for(const _0x463490 of _0x35e326){const _0x505a0b=_0x52e49d[_0x39ac83(0x160)](_0x463490);_0x463490[_0x39ac83(0x166)]=_0x505a0b?_0x505a0b[_0x39ac83(0x166)]:null;}_0x58b823&&(this[_0x39ac83(0x20f)][_0x39ac83(0x125)](_0x14ba1d,_0x58b823),this[_0x39ac83(0x123)]=_0x58b823),this[_0x39ac83(0x170)]=[..._0x5aed0b],this[_0x39ac83(0x11b)](_0x35e326),this[_0x39ac83(0x1b3)](_0x14ba1d);}catch(_0x55a05f){return console[_0x39ac83(0x1c1)](_0x55a05f),!0x1;}return!0x0;}[_0x11b185(0x11b)](_0x18456,_0x2d24a0=!0x1){const _0x1ecb14=_0x11b185;this[_0x1ecb14(0x129)][_0x1ecb14(0x1bd)][_0x1ecb14(0x1ad)]({'isUndoable':!0x1,'isLocal':!0x1},_0x6267ca=>{const _0x5496a0=_0x1ecb14;for(const _0x3dfb83 of _0x18456)this[_0x5496a0(0x18e)][_0x5496a0(0x143)](_0x3dfb83),this[_0x5496a0(0x158)](_0x3dfb83),_0x6267ca[_0x5496a0(0x1df)][_0x5496a0(0x1d5)](_0x3dfb83),this[_0x5496a0(0x129)][_0x5496a0(0x1bd)][_0x5496a0(0x1cd)](_0x3dfb83);});}[_0x11b185(0x158)](_0x21bab5){const _0x309dff=_0x11b185,_0x375968=this[_0x309dff(0x1c2)](_0x21bab5);_0x375968&&this[_0x309dff(0x1e7)][_0x309dff(0x143)](_0x375968);}[_0x11b185(0x1c2)](_0x1bb9eb){const _0x3eb2a3=_0x11b185;let _0x3820ba,_0x456223;switch(_0x1bb9eb[_0x3eb2a3(0x140)]){case _0x3eb2a3(0x193):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x1ed)][_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x1d9):if(_0x456223=_0x1bb9eb[_0x3eb2a3(0x1cf)],!_0x456223)return null;_0x3820ba=_0x456223[_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x176):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x124):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x13e)];break;case _0x3eb2a3(0x16f):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x201)][_0x3eb2a3(0x1ae)];break;default:return null;}return _0x3820ba[_0x3eb2a3(0x136)];}[_0x11b185(0x1b3)](_0x555ffc){const _0xd8174b=_0x11b185;_0x555ffc[_0xd8174b(0x1d7)](_0x2be055=>{const _0x79ff16=_0xd8174b,_0x457f5a=_0x2be055[_0x79ff16(0x187)]();_0x457f5a[_0x79ff16(0x166)]=_0x2be055[_0x79ff16(0x166)],_0x457f5a[_0x79ff16(0x161)]=!!_0x2be055[_0x79ff16(0x161)],_0x457f5a[_0x79ff16(0x215)]=_0x2be055[_0x79ff16(0x215)],_0x457f5a[_0x79ff16(0x1be)]+=this[_0x79ff16(0x16a)],_0x2be055[_0x79ff16(0x20a)]&&this[_0x79ff16(0x1d3)][_0x79ff16(0x143)](_0x457f5a),this[_0x79ff16(0x16b)][_0x79ff16(0x1d5)](_0x457f5a);});}[_0x11b185(0x19a)](_0x2d69ce){const _0x150d8c=_0x11b185,_0x15b0f5=this[_0x150d8c(0x129)][_0x150d8c(0x1dd)][_0x150d8c(0x160)](_0x150d8c(0x131)),_0xbd77a0=this[_0x150d8c(0x129)][_0x150d8c(0x178)];_0x2d69ce||(_0x2d69ce=_0x473c58(_0xbd77a0,_0x150d8c(0x121))),_0x15b0f5[_0x150d8c(0x219)](_0x2d69ce,{'title':_0x473c58(_0xbd77a0,_0x150d8c(0x1c9)),'namespace':_0x150d8c(0x1db)}),this[_0x150d8c(0x1c4)]=!0x0,clearTimeout(this[_0x150d8c(0x117)]),this[_0x150d8c(0x170)]=[],this[_0x150d8c(0x129)][_0x150d8c(0x1dd)][_0x150d8c(0x160)](_0x8aa329)[_0x150d8c(0x17d)]();}[_0x11b185(0x180)](){const _0x3b7b88=_0x11b185;this[_0x3b7b88(0x1e0)]||(this[_0x3b7b88(0x1e0)]=this[_0x3b7b88(0x129)][_0x3b7b88(0x1dd)][_0x3b7b88(0x160)](_0x58ef67)[_0x3b7b88(0x143)](_0x473c58(this[_0x3b7b88(0x129)][_0x3b7b88(0x178)],_0x3b7b88(0x11a))));}[_0x11b185(0x1e3)](){const _0x46863f=_0x11b185;this[_0x46863f(0x1e0)]&&(this[_0x46863f(0x129)][_0x46863f(0x1dd)][_0x46863f(0x160)](_0x58ef67)[_0x46863f(0x144)](this[_0x46863f(0x1e0)]),this[_0x46863f(0x1e0)]=null);}[_0x11b185(0x16c)](_0x34e78b){const _0x40df20=_0x11b185,_0x19b2f0=_0x34e78b[_0x40df20(0x12a)](_0x31eaf9=>_0x31eaf9[_0x40df20(0x119)]());return this[_0x40df20(0x17b)][_0x40df20(0x18a)](_0x19b2f0);}[_0x11b185(0x1ff)](_0x29d0b5,_0x2de4ff){const _0xa33b33=_0x11b185;return this[_0xa33b33(0x17b)][_0xa33b33(0x17a)](_0x29d0b5)[_0xa33b33(0x12a)]((_0x118dbb,_0x10ad0a)=>{const _0x5e40c3=_0xa33b33,_0x46606a=_0x5e40c3(0x205)==_0x2de4ff[_0x10ad0a][_0x5e40c3(0x140)];if(_0x5e40c3(0x1bc)==_0x118dbb[_0x5e40c3(0x1e9)]){const _0x2eb26d=_0x118dbb[_0x5e40c3(0x1ed)][_0x5e40c3(0x1ae)];!this[_0x5e40c3(0x14e)][_0x5e40c3(0x164)](_0x2eb26d)&&(this[_0x5e40c3(0x14e)][_0x5e40c3(0x1b2)](_0x5e40c3(0x14d),_0x2eb26d)[_0x5e40c3(0x189)]=!0x1);}const _0x46d1a6=_0x1e1845[_0x5e40c3(0x1aa)](_0x118dbb,this[_0x5e40c3(0x14e)]);return _0x46d1a6[_0x5e40c3(0x184)]=_0x118dbb[_0x5e40c3(0x184)],_0x46d1a6[_0x5e40c3(0x161)]=_0x46606a,_0x46d1a6[_0x5e40c3(0x166)]=_0x46606a?null:_0x2de4ff[_0x10ad0a][_0x5e40c3(0x191)],_0x46d1a6[_0x5e40c3(0x20a)]=_0x5e40c3(0x15c)===_0x2de4ff[_0x10ad0a][_0x5e40c3(0x140)],_0x46d1a6[_0x5e40c3(0x215)]=_0x2de4ff[_0x10ad0a][_0x5e40c3(0x215)],_0x46d1a6;});}[_0x11b185(0x12f)](){const _0x3415c5=_0x11b185;this[_0x3415c5(0x1d1)]=!0x0,this[_0x3415c5(0x192)]()?this[_0x3415c5(0x182)]():this[_0x3415c5(0x1d1)]=!0x1;}[_0x11b185(0x192)](){const _0x50d61e=_0x11b185,_0x52c5a0=this[_0x50d61e(0x129)][_0x50d61e(0x1dd)][_0x50d61e(0x160)](_0x10854f)[_0x50d61e(0x203)][_0x50d61e(0x160)](this[_0x50d61e(0x130)]);return!this[_0x50d61e(0x129)][_0x50d61e(0x217)]&&!!_0x52c5a0&&_0x52c5a0[_0x50d61e(0x208)]>0x1&&this[_0x50d61e(0x1d1)];}[_0x11b185(0x1de)](){const _0x2e77b4=_0x11b185;return this[_0x2e77b4(0x170)][_0x2e77b4(0x208)]>0x0||this[_0x2e77b4(0x192)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x9f6f04,_0xf0c00f){const _0x395b47=_0x11b185;for(const _0xd811a0 of _0x9f6f04)_0xd811a0[_0x395b47(0x1be)]=_0xf0c00f++;}class J{[_0x11b185(0x1ef)];[_0x11b185(0x1c7)];constructor(_0xb06548){const _0x3fba2a=_0x11b185;this[_0x3fba2a(0x1ef)]=_0xb06548,this[_0x3fba2a(0x1c7)]=new WeakMap();}[_0x11b185(0x20d)](_0x290f0f){const _0x446f98=_0x11b185;let _0x13e23e=_0x290f0f[_0x446f98(0x208)];for(;_0x13e23e--;){const _0x2b84be=_0x290f0f[_0x13e23e];if(!this[_0x446f98(0x1ef)][_0x446f98(0x172)](_0x2b84be)){if(!this[_0x446f98(0x1c7)][_0x446f98(0x172)](_0x2b84be)){const _0x55568f=_0x22c164()[_0x446f98(0x169)](0x1,0x12);this[_0x446f98(0x1c7)][_0x446f98(0x210)](_0x2b84be,_0x55568f);}return this[_0x446f98(0x1c7)][_0x446f98(0x160)](_0x2b84be);}}}[_0x11b185(0x125)](_0x376f8a,_0x4545cd){const _0x539a0d=_0x11b185;if(!_0x4545cd)return;let _0x45f7fe=_0x376f8a[_0x539a0d(0x208)];for(;_0x45f7fe--;){const _0x6eb834=_0x376f8a[_0x45f7fe];this[_0x539a0d(0x1ef)][_0x539a0d(0x172)](_0x6eb834)||this[_0x539a0d(0x1c7)][_0x539a0d(0x210)](_0x6eb834,_0x4545cd);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1834e0=_0x20d0;(function(_0x81711b,_0xd97807){const _0x31f1fe=_0x20d0,_0x3a9340=_0x81711b();while(!![]){try{const _0x1ef4bc=-parseInt(_0x31f1fe(0x116))/0x1*(-parseInt(_0x31f1fe(0xf6))/0x2)+-parseInt(_0x31f1fe(0xf8))/0x3+-parseInt(_0x31f1fe(0x108))/0x4+parseInt(_0x31f1fe(0x10e))/0x5*(-parseInt(_0x31f1fe(0x11a))/0x6)+parseInt(_0x31f1fe(0xf7))/0x7*(-parseInt(_0x31f1fe(0xf4))/0x8)+-parseInt(_0x31f1fe(0x112))/0x9*(parseInt(_0x31f1fe(0x117))/0xa)+parseInt(_0x31f1fe(0x126))/0xb;if(_0x1ef4bc===_0xd97807)break;else _0x3a9340['push'](_0x3a9340['shift']());}catch(_0x327c9e){_0x3a9340['push'](_0x3a9340['shift']());}}}(_0x211f,0xd8675));import{ContextPlugin as _0x301990}from'ckeditor5/src/core.js';function _0x211f(){const _0x33610d=['42666Vjbqxk','Sessions','connection','getUserBySessionId','register','_handleSessionRemove','assign','delete','requires','_createUser','allConnectedUsers','plugins','56814934QFGiKG','orderNumber','fire','defineMe','getUserRole','connected','isMe','_uniqueUsersCount','pluginName','channelConnectedUsers','getUser','getUserSessions','context','7374304cDSSlt','_handleSessionAdd','290IpGdPL','7bJXGle','2076354yTZAOv','clear','sessions-register-already-registered','add','values','unregister','stopListening','forEach','role','isOfficialPlugin','has','listenTo','mySessionId','set','state','user','3118408luoeHa','_users','sessions-unregister-not-exist','_registeredSessions','get','sessionAdd:','1005sHWVvR','init','size','addUser','9iMDnuE','remove','channelSessions','change:state','8939GiPJQT','17519410mxJmtA','sessionId','isPremiumPlugin'];_0x211f=function(){return _0x33610d;};return _0x211f();}import{Collection as _0x401e84,CKEditorError as _0x5887fc}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4252a0}from'./websocketgateway.js';import{Users as _0xa48389}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x20d0(_0x161f5b,_0x17abdd){const _0x211fb0=_0x211f();return _0x20d0=function(_0x20d0b9,_0x2ae82c){_0x20d0b9=_0x20d0b9-0xf2;let _0xdc78e2=_0x211fb0[_0x20d0b9];return _0xdc78e2;},_0x20d0(_0x161f5b,_0x17abdd);}export class Sessions extends _0x301990{[_0x1834e0(0x114)];[_0x1834e0(0x12f)];[_0x1834e0(0x124)];[_0x1834e0(0x10b)];[_0x1834e0(0x12d)];[_0x1834e0(0x109)];static get[_0x1834e0(0x12e)](){const _0x4673fd=_0x1834e0;return _0x4673fd(0x11b);}static get[_0x1834e0(0x101)](){return!0x0;}static get[_0x1834e0(0x119)](){return!0x0;}static get[_0x1834e0(0x122)](){return[_0x4252a0,_0xa48389];}constructor(_0x4b2672){const _0x3efe9e=_0x1834e0;super(_0x4b2672),this[_0x3efe9e(0x114)]=new Map(),this[_0x3efe9e(0x12f)]=new Map(),this[_0x3efe9e(0x124)]=new _0x401e84(),this[_0x3efe9e(0x10b)]=new Map(),this[_0x3efe9e(0x12d)]=0x0,this[_0x3efe9e(0x109)]=this[_0x3efe9e(0xf3)][_0x3efe9e(0x125)][_0x3efe9e(0x10c)](_0xa48389);}[_0x1834e0(0x10f)](){const _0x32f2f3=_0x1834e0,_0x1ddaee=this[_0x32f2f3(0xf3)][_0x32f2f3(0x125)][_0x32f2f3(0x10c)](_0x4252a0);this[_0x32f2f3(0x103)](_0x1ddaee,_0x32f2f3(0x115),(_0x3aca19,_0x4384cd,_0x3e457a)=>{const _0x3436c3=_0x32f2f3;if(_0x3436c3(0x12b)!==_0x3e457a)this[_0x3436c3(0x114)][_0x3436c3(0xff)](_0x25adf0=>_0x25adf0[_0x3436c3(0xf9)]()),this[_0x3436c3(0x12f)][_0x3436c3(0xff)](_0xa817e8=>_0xa817e8[_0x3436c3(0xf9)]()),this[_0x3436c3(0x124)][_0x3436c3(0xf9)]();else{for(const [_0x43609e,_0x228662]of this[_0x3436c3(0x10b)])for(const _0x40a6d6 of _0x228662)this[_0x3436c3(0xf5)](_0x43609e,_0x40a6d6);}}),this[_0x32f2f3(0x123)](_0x1ddaee[_0x32f2f3(0x11c)]['me'],!0x0);}[_0x1834e0(0x11e)](_0x171c30,_0x3d779){const _0x3d4242=_0x1834e0;if(this[_0x3d4242(0x10b)][_0x3d4242(0x102)](_0x171c30))throw new _0x5887fc(_0x3d4242(0xfa),null,{'channelId':_0x171c30});this[_0x3d4242(0x10b)][_0x3d4242(0x105)](_0x171c30,_0x3d779),this[_0x3d4242(0x114)][_0x3d4242(0x105)](_0x171c30,new _0x401e84()),this[_0x3d4242(0x12f)][_0x3d4242(0x105)](_0x171c30,new _0x401e84()),this[_0x3d4242(0x103)](_0x3d779,_0x3d4242(0xfb),(_0x6d1103,_0x6d8c83)=>this[_0x3d4242(0xf5)](_0x171c30,_0x6d8c83)),this[_0x3d4242(0x103)](_0x3d779,_0x3d4242(0x113),(_0x434a7c,_0x46cbc1)=>this[_0x3d4242(0x11f)](_0x171c30,_0x46cbc1));for(const _0x12945b of _0x3d779)this[_0x3d4242(0xf5)](_0x171c30,_0x12945b);}[_0x1834e0(0xfd)](_0x2a410b){const _0x516d31=_0x1834e0;if(!this[_0x516d31(0x10b)][_0x516d31(0x102)](_0x2a410b))throw new _0x5887fc(_0x516d31(0x10a),null,{'channelId':_0x2a410b});const _0x104136=this[_0x516d31(0x10b)][_0x516d31(0x10c)](_0x2a410b);this[_0x516d31(0xfe)](_0x104136);for(const _0x2fcfbc of _0x104136)_0x516d31(0x12b)===this[_0x516d31(0xf3)][_0x516d31(0x125)][_0x516d31(0x10c)](_0x4252a0)[_0x516d31(0x106)]&&this[_0x516d31(0x11f)](_0x2a410b,_0x2fcfbc);this[_0x516d31(0x10b)][_0x516d31(0x121)](_0x2a410b),this[_0x516d31(0x114)][_0x516d31(0x121)](_0x2a410b),this[_0x516d31(0x12f)][_0x516d31(0x121)](_0x2a410b);}get[_0x1834e0(0x104)](){const _0x2060ad=_0x1834e0;return this[_0x2060ad(0xf3)][_0x2060ad(0x125)][_0x2060ad(0x10c)](_0x4252a0)[_0x2060ad(0x11c)][_0x2060ad(0x118)];}[_0x1834e0(0x11d)](_0x3ba150){const _0xb914a=_0x1834e0;for(const _0x5a944c of this[_0xb914a(0x114)][_0xb914a(0xfc)]())for(const _0x25b9f7 of _0x5a944c)if(_0x25b9f7['id']===_0x3ba150)return _0x25b9f7[_0xb914a(0x107)];}[_0x1834e0(0xf2)](_0x1da55b,_0x1a37b4){const _0x9b881d=_0x1834e0,_0x461e62=_0x1a37b4?[this[_0x9b881d(0x114)][_0x9b881d(0x10c)](_0x1a37b4)]:this[_0x9b881d(0x114)][_0x9b881d(0xfc)](),_0x410c88=new Set();for(const _0x147d0a of _0x461e62)for(const _0x60e410 of _0x147d0a)_0x60e410[_0x9b881d(0x107)]['id']===_0x1da55b['id']&&_0x410c88[_0x9b881d(0xfb)](_0x60e410['id']);return _0x410c88;}[_0x1834e0(0x12a)](_0xd96122){const _0x4177cb=_0x1834e0;for(const _0x3e5b20 of this[_0x4177cb(0x114)][_0x4177cb(0xfc)]())for(const _0x44448d of _0x3e5b20)if(_0x44448d[_0x4177cb(0x107)]===_0xd96122)return _0x44448d[_0x4177cb(0x100)];}[_0x1834e0(0xf5)](_0x2537d0,_0xaf7c96){const _0x43adec=_0x1834e0;if(_0x43adec(0x12b)!==this[_0x43adec(0xf3)][_0x43adec(0x125)][_0x43adec(0x10c)](_0x4252a0)[_0x43adec(0x106)])return;const _0x1a1b87=_0xaf7c96[_0x43adec(0x107)],_0x4a9fae=this[_0x43adec(0x109)][_0x43adec(0x130)](_0x1a1b87['id'])||this[_0x43adec(0x123)](_0x1a1b87),_0x1d30cb=Object[_0x43adec(0x120)]({},_0xaf7c96,{'user':_0x4a9fae});this[_0x43adec(0x114)][_0x43adec(0x10c)](_0x2537d0)[_0x43adec(0xfb)](_0x1d30cb);const _0x5bd2f0=this[_0x43adec(0x12f)][_0x43adec(0x10c)](_0x2537d0);_0x5bd2f0[_0x43adec(0x102)](_0x4a9fae['id'])||_0x5bd2f0[_0x43adec(0xfb)](_0x4a9fae),this[_0x43adec(0x124)][_0x43adec(0x102)](_0x4a9fae['id'])||this[_0x43adec(0x124)][_0x43adec(0xfb)](_0x4a9fae,_0x4a9fae[_0x43adec(0x12c)]?0x0:void 0x0),this[_0x43adec(0x128)](_0x43adec(0x10d)+_0x2537d0,{'channelId':_0x2537d0,'session':_0x1d30cb});}[_0x1834e0(0x11f)](_0x493763,_0x24d463){const _0x57efca=_0x1834e0;if(_0x57efca(0x12b)!==this[_0x57efca(0xf3)][_0x57efca(0x125)][_0x57efca(0x10c)](_0x4252a0)[_0x57efca(0x106)])return;const _0x26af35=this[_0x57efca(0x12f)][_0x57efca(0x10c)](_0x493763),_0x1d0b0b=_0x24d463[_0x57efca(0x107)];_0x1d0b0b['id']&&(this[_0x57efca(0x114)][_0x57efca(0x10c)](_0x493763)[_0x57efca(0x113)](_0x24d463['id']),_0x26af35[_0x57efca(0x102)](_0x1d0b0b['id'])&&!this[_0x57efca(0xf2)](_0x1d0b0b,_0x493763)[_0x57efca(0x110)]&&_0x26af35[_0x57efca(0x113)](_0x1d0b0b['id']),this[_0x57efca(0x124)][_0x57efca(0x10c)](_0x1d0b0b['id'])&&!this[_0x57efca(0xf2)](_0x1d0b0b)[_0x57efca(0x110)]&&this[_0x57efca(0x124)][_0x57efca(0x113)](_0x1d0b0b['id']));}[_0x1834e0(0x123)](_0x41c63e,_0x13aacf){const _0x5962a4=_0x1834e0,_0x163c50=this[_0x5962a4(0x109)][_0x5962a4(0x111)](_0x41c63e);return _0x13aacf&&this[_0x5962a4(0x109)][_0x5962a4(0x129)](_0x41c63e['id']),_0x163c50[_0x5962a4(0x127)]=this[_0x5962a4(0x12d)]++,_0x163c50;}}
23
+ function _0x4720(_0x1f1992,_0x3805bb){const _0x4a8c06=_0x4a8c();return _0x4720=function(_0x472037,_0x44615e){_0x472037=_0x472037-0x196;let _0xd7b38a=_0x4a8c06[_0x472037];return _0xd7b38a;},_0x4720(_0x1f1992,_0x3805bb);}const _0x522357=_0x4720;(function(_0x25a33b,_0x17edf4){const _0x297cb6=_0x4720,_0x50cc1d=_0x25a33b();while(!![]){try{const _0x4a2346=-parseInt(_0x297cb6(0x1c1))/0x1+parseInt(_0x297cb6(0x1a2))/0x2+parseInt(_0x297cb6(0x1cb))/0x3+parseInt(_0x297cb6(0x198))/0x4*(-parseInt(_0x297cb6(0x1ca))/0x5)+parseInt(_0x297cb6(0x1a8))/0x6*(parseInt(_0x297cb6(0x1ad))/0x7)+-parseInt(_0x297cb6(0x1ba))/0x8+-parseInt(_0x297cb6(0x19b))/0x9;if(_0x4a2346===_0x17edf4)break;else _0x50cc1d['push'](_0x50cc1d['shift']());}catch(_0x3a0b2c){_0x50cc1d['push'](_0x50cc1d['shift']());}}}(_0x4a8c,0xe4632));import{ContextPlugin as _0xe092b3}from'ckeditor5/src/core.js';import{Collection as _0x297c81,CKEditorError as _0x108dd3}from'ckeditor5/src/utils.js';function _0x4a8c(){const _0x438563=['user','Sessions','9885474PcFWqP','delete','remove','connected','_uniqueUsersCount','unregister','_handleSessionRemove','2957968CqCimF','init','sessionId','requires','isOfficialPlugin','getUserSessions','186pNlhxq','sessions-register-already-registered','stopListening','addUser','_handleSessionAdd','376411YBKQko','channelConnectedUsers','getUserRole','role','connection','isPremiumPlugin','listenTo','add','plugins','pluginName','isMe','set','fire','8702320vWQpxZ','_registeredSessions','state','clear','context','defineMe','size','1540745NHgvKF','forEach','values','sessions-unregister-not-exist','orderNumber','_users','_createUser','assign','channelSessions','5uDgzXd','5544066wKJWMJ','register','change:state','has','get','getUserBySessionId','getUser','mySessionId','allConnectedUsers','sessionAdd:','1326296ocdCcq'];_0x4a8c=function(){return _0x438563;};return _0x4a8c();}import{WebSocketGateway as _0x55cae0}from'./websocketgateway.js';import{Users as _0x5ba707}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0xe092b3{[_0x522357(0x1c9)];[_0x522357(0x1ae)];[_0x522357(0x196)];[_0x522357(0x1bb)];[_0x522357(0x19f)];[_0x522357(0x1c6)];static get[_0x522357(0x1b6)](){const _0x4b169d=_0x522357;return _0x4b169d(0x19a);}static get[_0x522357(0x1a6)](){return!0x0;}static get[_0x522357(0x1b2)](){return!0x0;}static get[_0x522357(0x1a5)](){return[_0x55cae0,_0x5ba707];}constructor(_0xdd6a0c){const _0x203d8e=_0x522357;super(_0xdd6a0c),this[_0x203d8e(0x1c9)]=new Map(),this[_0x203d8e(0x1ae)]=new Map(),this[_0x203d8e(0x196)]=new _0x297c81(),this[_0x203d8e(0x1bb)]=new Map(),this[_0x203d8e(0x19f)]=0x0,this[_0x203d8e(0x1c6)]=this[_0x203d8e(0x1be)][_0x203d8e(0x1b5)][_0x203d8e(0x1cf)](_0x5ba707);}[_0x522357(0x1a3)](){const _0x58c197=_0x522357,_0xc10ab6=this[_0x58c197(0x1be)][_0x58c197(0x1b5)][_0x58c197(0x1cf)](_0x55cae0);this[_0x58c197(0x1b3)](_0xc10ab6,_0x58c197(0x1cd),(_0x706b25,_0x2e232b,_0x48ee27)=>{const _0x4fda3c=_0x58c197;if(_0x4fda3c(0x19e)!==_0x48ee27)this[_0x4fda3c(0x1c9)][_0x4fda3c(0x1c2)](_0x47cfcd=>_0x47cfcd[_0x4fda3c(0x1bd)]()),this[_0x4fda3c(0x1ae)][_0x4fda3c(0x1c2)](_0x2e06eb=>_0x2e06eb[_0x4fda3c(0x1bd)]()),this[_0x4fda3c(0x196)][_0x4fda3c(0x1bd)]();else{for(const [_0x34d02d,_0x563038]of this[_0x4fda3c(0x1bb)])for(const _0x5b2c13 of _0x563038)this[_0x4fda3c(0x1ac)](_0x34d02d,_0x5b2c13);}}),this[_0x58c197(0x1c7)](_0xc10ab6[_0x58c197(0x1b1)]['me'],!0x0);}[_0x522357(0x1cc)](_0x2dc54a,_0x57f950){const _0x3416b6=_0x522357;if(this[_0x3416b6(0x1bb)][_0x3416b6(0x1ce)](_0x2dc54a))throw new _0x108dd3(_0x3416b6(0x1a9),null,{'channelId':_0x2dc54a});this[_0x3416b6(0x1bb)][_0x3416b6(0x1b8)](_0x2dc54a,_0x57f950),this[_0x3416b6(0x1c9)][_0x3416b6(0x1b8)](_0x2dc54a,new _0x297c81()),this[_0x3416b6(0x1ae)][_0x3416b6(0x1b8)](_0x2dc54a,new _0x297c81()),this[_0x3416b6(0x1b3)](_0x57f950,_0x3416b6(0x1b4),(_0x3eacb2,_0x5b6aea)=>this[_0x3416b6(0x1ac)](_0x2dc54a,_0x5b6aea)),this[_0x3416b6(0x1b3)](_0x57f950,_0x3416b6(0x19d),(_0x4a056a,_0x7dfa14)=>this[_0x3416b6(0x1a1)](_0x2dc54a,_0x7dfa14));for(const _0x249345 of _0x57f950)this[_0x3416b6(0x1ac)](_0x2dc54a,_0x249345);}[_0x522357(0x1a0)](_0x118f54){const _0x46265b=_0x522357;if(!this[_0x46265b(0x1bb)][_0x46265b(0x1ce)](_0x118f54))throw new _0x108dd3(_0x46265b(0x1c4),null,{'channelId':_0x118f54});const _0x501afe=this[_0x46265b(0x1bb)][_0x46265b(0x1cf)](_0x118f54);this[_0x46265b(0x1aa)](_0x501afe);for(const _0x5f5147 of _0x501afe)_0x46265b(0x19e)===this[_0x46265b(0x1be)][_0x46265b(0x1b5)][_0x46265b(0x1cf)](_0x55cae0)[_0x46265b(0x1bc)]&&this[_0x46265b(0x1a1)](_0x118f54,_0x5f5147);this[_0x46265b(0x1bb)][_0x46265b(0x19c)](_0x118f54),this[_0x46265b(0x1c9)][_0x46265b(0x19c)](_0x118f54),this[_0x46265b(0x1ae)][_0x46265b(0x19c)](_0x118f54);}get[_0x522357(0x1d2)](){const _0x916411=_0x522357;return this[_0x916411(0x1be)][_0x916411(0x1b5)][_0x916411(0x1cf)](_0x55cae0)[_0x916411(0x1b1)][_0x916411(0x1a4)];}[_0x522357(0x1d0)](_0x36e336){const _0x2f21e3=_0x522357;for(const _0x1e6ecf of this[_0x2f21e3(0x1c9)][_0x2f21e3(0x1c3)]())for(const _0x1ab217 of _0x1e6ecf)if(_0x1ab217['id']===_0x36e336)return _0x1ab217[_0x2f21e3(0x199)];}[_0x522357(0x1a7)](_0x42e443,_0x299891){const _0x3c73e5=_0x522357,_0x17d50e=_0x299891?[this[_0x3c73e5(0x1c9)][_0x3c73e5(0x1cf)](_0x299891)]:this[_0x3c73e5(0x1c9)][_0x3c73e5(0x1c3)](),_0x2ec00a=new Set();for(const _0x336208 of _0x17d50e)for(const _0x5cd365 of _0x336208)_0x5cd365[_0x3c73e5(0x199)]['id']===_0x42e443['id']&&_0x2ec00a[_0x3c73e5(0x1b4)](_0x5cd365['id']);return _0x2ec00a;}[_0x522357(0x1af)](_0x102f47){const _0x5cf47c=_0x522357;for(const _0x2b39bb of this[_0x5cf47c(0x1c9)][_0x5cf47c(0x1c3)]())for(const _0x142ac2 of _0x2b39bb)if(_0x142ac2[_0x5cf47c(0x199)]===_0x102f47)return _0x142ac2[_0x5cf47c(0x1b0)];}[_0x522357(0x1ac)](_0x37bb18,_0x52073e){const _0x563730=_0x522357;if(_0x563730(0x19e)!==this[_0x563730(0x1be)][_0x563730(0x1b5)][_0x563730(0x1cf)](_0x55cae0)[_0x563730(0x1bc)])return;const _0x378379=_0x52073e[_0x563730(0x199)],_0x254fbd=this[_0x563730(0x1c6)][_0x563730(0x1d1)](_0x378379['id'])||this[_0x563730(0x1c7)](_0x378379),_0x535384=Object[_0x563730(0x1c8)]({},_0x52073e,{'user':_0x254fbd});this[_0x563730(0x1c9)][_0x563730(0x1cf)](_0x37bb18)[_0x563730(0x1b4)](_0x535384);const _0x14f043=this[_0x563730(0x1ae)][_0x563730(0x1cf)](_0x37bb18);_0x14f043[_0x563730(0x1ce)](_0x254fbd['id'])||_0x14f043[_0x563730(0x1b4)](_0x254fbd),this[_0x563730(0x196)][_0x563730(0x1ce)](_0x254fbd['id'])||this[_0x563730(0x196)][_0x563730(0x1b4)](_0x254fbd,_0x254fbd[_0x563730(0x1b7)]?0x0:void 0x0),this[_0x563730(0x1b9)](_0x563730(0x197)+_0x37bb18,{'channelId':_0x37bb18,'session':_0x535384});}[_0x522357(0x1a1)](_0x5c4825,_0x1402e5){const _0x151b88=_0x522357;if(_0x151b88(0x19e)!==this[_0x151b88(0x1be)][_0x151b88(0x1b5)][_0x151b88(0x1cf)](_0x55cae0)[_0x151b88(0x1bc)])return;const _0x5d0e3e=this[_0x151b88(0x1ae)][_0x151b88(0x1cf)](_0x5c4825),_0xad709=_0x1402e5[_0x151b88(0x199)];_0xad709['id']&&(this[_0x151b88(0x1c9)][_0x151b88(0x1cf)](_0x5c4825)[_0x151b88(0x19d)](_0x1402e5['id']),_0x5d0e3e[_0x151b88(0x1ce)](_0xad709['id'])&&!this[_0x151b88(0x1a7)](_0xad709,_0x5c4825)[_0x151b88(0x1c0)]&&_0x5d0e3e[_0x151b88(0x19d)](_0xad709['id']),this[_0x151b88(0x196)][_0x151b88(0x1cf)](_0xad709['id'])&&!this[_0x151b88(0x1a7)](_0xad709)[_0x151b88(0x1c0)]&&this[_0x151b88(0x196)][_0x151b88(0x19d)](_0xad709['id']));}[_0x522357(0x1c7)](_0x3a49fc,_0x431b31){const _0xaecdb5=_0x522357,_0x244c28=this[_0xaecdb5(0x1c6)][_0xaecdb5(0x1ab)](_0x3a49fc);return _0x431b31&&this[_0xaecdb5(0x1c6)][_0xaecdb5(0x1bf)](_0x3a49fc['id']),_0x244c28[_0xaecdb5(0x1c5)]=this[_0xaecdb5(0x19f)]++,_0x244c28;}}