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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "47.3.0-alpha.3",
3
+ "version": "47.3.0-alpha.5",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.1",
50
- "@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.3",
51
- "@ckeditor/ckeditor5-comments": "47.3.0-alpha.3",
52
- "@ckeditor/ckeditor5-core": "47.3.0-alpha.3",
53
- "@ckeditor/ckeditor5-editor-multi-root": "47.3.0-alpha.3",
54
- "@ckeditor/ckeditor5-engine": "47.3.0-alpha.3",
55
- "@ckeditor/ckeditor5-operations-compressor": "47.3.0-alpha.3",
56
- "@ckeditor/ckeditor5-revision-history": "47.3.0-alpha.3",
57
- "@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.3",
58
- "@ckeditor/ckeditor5-track-changes": "47.3.0-alpha.3",
59
- "@ckeditor/ckeditor5-ui": "47.3.0-alpha.3",
60
- "@ckeditor/ckeditor5-utils": "47.3.0-alpha.3",
61
- "ckeditor5": "47.3.0-alpha.3",
62
- "ckeditor5-collaboration": "47.3.0-alpha.3",
50
+ "@ckeditor/ckeditor5-cloud-services": "47.3.0-alpha.5",
51
+ "@ckeditor/ckeditor5-comments": "47.3.0-alpha.5",
52
+ "@ckeditor/ckeditor5-core": "47.3.0-alpha.5",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "47.3.0-alpha.5",
54
+ "@ckeditor/ckeditor5-engine": "47.3.0-alpha.5",
55
+ "@ckeditor/ckeditor5-operations-compressor": "47.3.0-alpha.5",
56
+ "@ckeditor/ckeditor5-revision-history": "47.3.0-alpha.5",
57
+ "@ckeditor/ckeditor5-theme-lark": "47.3.0-alpha.5",
58
+ "@ckeditor/ckeditor5-track-changes": "47.3.0-alpha.5",
59
+ "@ckeditor/ckeditor5-ui": "47.3.0-alpha.5",
60
+ "@ckeditor/ckeditor5-utils": "47.3.0-alpha.5",
61
+ "ckeditor5": "47.3.0-alpha.5",
62
+ "ckeditor5-collaboration": "47.3.0-alpha.5",
63
63
  "es-toolkit": "1.39.5"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x495346=_0x40b2;function _0x3def(){const _0x276323=['45178144ipMMzA','true','ck-user__full-name','name','element','2139266HEmCSY','4629900wbepkI','ck-presence-list__marker','1653972aPrkMC','userView','button','852468RDKFby','4814380vCRjSu','1477836iwYTOF','presentation','tag','span','setTemplate','focus','7IrKmHd','fire','execute','ck-presence-list__dropdown-list-item','getBackgroundColorClass','bindTemplate','color'];_0x3def=function(){return _0x276323;};return _0x3def();}(function(_0x3caabe,_0x1cb4b6){const _0x4699dc=_0x40b2,_0x3ae6e5=_0x3caabe();while(!![]){try{const _0x5bce83=-parseInt(_0x4699dc(0xf2))/0x1+-parseInt(_0x4699dc(0xef))/0x2+-parseInt(_0x4699dc(0xf7))/0x3+parseInt(_0x4699dc(0xf5))/0x4+-parseInt(_0x4699dc(0xf6))/0x5+-parseInt(_0x4699dc(0xf0))/0x6+-parseInt(_0x4699dc(0xfd))/0x7*(-parseInt(_0x4699dc(0xea))/0x8);if(_0x5bce83===_0x1cb4b6)break;else _0x3ae6e5['push'](_0x3ae6e5['shift']());}catch(_0x4cf75c){_0x3ae6e5['push'](_0x3ae6e5['shift']());}}}(_0x3def,0xde14a));import{ListItemView as _0x50046b}from'ckeditor5/src/ui.js';import{UserView as _0x2c2525}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40b2(_0x14b57f,_0x420777){const _0x3def6d=_0x3def();return _0x40b2=function(_0x40b2b9,_0x15a500){_0x40b2b9=_0x40b2b9-0xe9;let _0x2966c0=_0x3def6d[_0x40b2b9];return _0x2966c0;},_0x40b2(_0x14b57f,_0x420777);}export class PresenceDropdownListItemView extends _0x50046b{[_0x495346(0xf3)];constructor(_0x2d5a4d,_0x372642,_0x50a912){const _0x3e43b3=_0x495346;super(_0x2d5a4d);const _0x150b1b=this[_0x3e43b3(0x102)];this[_0x3e43b3(0xf3)]=new _0x2c2525(_0x2d5a4d,_0x372642);const _0x5bf11c={'tag':'li','attributes':{'class':['ck',_0x3e43b3(0x100)],'tabindex':-0x1,'role':_0x3e43b3(0xf8),'aria-label':_0x372642[_0x3e43b3(0xed)]},'children':[this[_0x3e43b3(0xf3)],{'tag':_0x3e43b3(0xfa),'attributes':{'class':['ck',_0x3e43b3(0xec)]},'children':[{'text':_0x372642[_0x3e43b3(0xed)]}]},{'tag':_0x3e43b3(0xfa),'attributes':{'class':['ck',_0x3e43b3(0xf1),_0x372642[_0x3e43b3(0xe9)][_0x3e43b3(0x101)]()],'aria-hidden':_0x3e43b3(0xeb)}}]};_0x50a912&&(_0x5bf11c[_0x3e43b3(0xf9)]=_0x3e43b3(0xf4),_0x5bf11c['on']={'click':_0x150b1b['to'](()=>this[_0x3e43b3(0xfe)](_0x3e43b3(0xff)))}),this[_0x3e43b3(0xfb)](_0x5bf11c);}[_0x495346(0xfc)](){const _0x379523=_0x495346;this[_0x379523(0xee)][_0x379523(0xfc)]();}}
23
+ function _0x4273(_0x1fc9b5,_0x1f1fa4){const _0x321822=_0x3218();return _0x4273=function(_0x42730c,_0x5ad332){_0x42730c=_0x42730c-0x174;let _0x539cc4=_0x321822[_0x42730c];return _0x539cc4;},_0x4273(_0x1fc9b5,_0x1f1fa4);}const _0x363811=_0x4273;(function(_0x611c93,_0x33f28d){const _0x85c34d=_0x4273,_0x36a91c=_0x611c93();while(!![]){try{const _0x36c2fe=parseInt(_0x85c34d(0x175))/0x1+-parseInt(_0x85c34d(0x17d))/0x2+parseInt(_0x85c34d(0x186))/0x3+-parseInt(_0x85c34d(0x18b))/0x4*(parseInt(_0x85c34d(0x17b))/0x5)+-parseInt(_0x85c34d(0x189))/0x6*(parseInt(_0x85c34d(0x17c))/0x7)+parseInt(_0x85c34d(0x18e))/0x8*(-parseInt(_0x85c34d(0x185))/0x9)+parseInt(_0x85c34d(0x176))/0xa;if(_0x36c2fe===_0x33f28d)break;else _0x36a91c['push'](_0x36a91c['shift']());}catch(_0x501b7c){_0x36a91c['push'](_0x36a91c['shift']());}}}(_0x3218,0x3a65d));import{ListItemView as _0x4a821b}from'ckeditor5/src/ui.js';import{UserView as _0x236820}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceDropdownListItemView extends _0x4a821b{[_0x363811(0x17a)];constructor(_0x5ba7fc,_0x3466ac,_0x3a1fda){const _0x357c9c=_0x363811;super(_0x5ba7fc);const _0x4caaa3=this[_0x357c9c(0x184)];this[_0x357c9c(0x17a)]=new _0x236820(_0x5ba7fc,_0x3466ac);const _0x3b0106={'tag':'li','attributes':{'class':['ck',_0x357c9c(0x179)],'tabindex':-0x1,'role':_0x357c9c(0x18a),'aria-label':_0x3466ac[_0x357c9c(0x182)]},'children':[this[_0x357c9c(0x17a)],{'tag':_0x357c9c(0x187),'attributes':{'class':['ck',_0x357c9c(0x18c)]},'children':[{'text':_0x3466ac[_0x357c9c(0x182)]}]},{'tag':_0x357c9c(0x187),'attributes':{'class':['ck',_0x357c9c(0x188),_0x3466ac[_0x357c9c(0x183)][_0x357c9c(0x181)]()],'aria-hidden':_0x357c9c(0x178)}}]};_0x3a1fda&&(_0x3b0106[_0x357c9c(0x18d)]=_0x357c9c(0x18f),_0x3b0106['on']={'click':_0x4caaa3['to'](()=>this[_0x357c9c(0x180)](_0x357c9c(0x177)))}),this[_0x357c9c(0x17f)](_0x3b0106);}[_0x363811(0x174)](){const _0x4eeaa7=_0x363811;this[_0x4eeaa7(0x17e)][_0x4eeaa7(0x174)]();}}function _0x3218(){const _0x56d05b=['425560zqWzrB','3210460EBUZde','execute','true','ck-presence-list__dropdown-list-item','userView','80jnZwwa','1175650IERjCG','809648LCIycx','element','setTemplate','fire','getBackgroundColorClass','name','color','bindTemplate','51993MxTCTU','1339098dVyUQB','span','ck-presence-list__marker','6HDSYvN','presentation','59144NDzRWs','ck-user__full-name','tag','200mqJdGk','button','focus'];_0x3218=function(){return _0x56d05b;};return _0x3218();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x435c61=_0x2b61;(function(_0x18fd1f,_0x250cb8){const _0x221b0f=_0x2b61,_0x1f4806=_0x18fd1f();while(!![]){try{const _0x14419f=-parseInt(_0x221b0f(0x1a5))/0x1*(-parseInt(_0x221b0f(0x1a8))/0x2)+parseInt(_0x221b0f(0x1bc))/0x3*(-parseInt(_0x221b0f(0x1ab))/0x4)+parseInt(_0x221b0f(0x1ac))/0x5+parseInt(_0x221b0f(0x1b3))/0x6*(parseInt(_0x221b0f(0x1b9))/0x7)+-parseInt(_0x221b0f(0x1c1))/0x8+parseInt(_0x221b0f(0x1ae))/0x9*(parseInt(_0x221b0f(0x1aa))/0xa)+parseInt(_0x221b0f(0x1b8))/0xb;if(_0x14419f===_0x250cb8)break;else _0x1f4806['push'](_0x1f4806['shift']());}catch(_0x3d4858){_0x1f4806['push'](_0x1f4806['shift']());}}}(_0x451a,0xabcf2));import{ListView as _0x11f799,View as _0x16c7a7}from'ckeditor5/src/ui.js';import{global as _0x384569}from'ckeditor5/src/utils.js';function _0x451a(){const _0x5c0048=['_isScrollable','ck-reset','ck-presence-list__dropdown-list-wrapper_scrollable','486PztXmz','set','ck-presence-list__dropdown-list','Connected\x20users\x20list\x20dropdown\x20menu','contains','14508494XNaOrW','20797JowcjR','element','clientHeight','1582359QihRck','items','role','presencelist:hide','application','8921240QYsDWQ','render','relatedTarget','listWrapperView','max','innerHeight','resize','fire','ariaLabelledBy','ck-list','checkIfScrollable','window','querySelector','change','.ck-balloon-panel_with-arrow','listenTo','scrollHeight','ariaLabel','34qdiZmb','setTemplate','.ck-presence-list__list','40594YcMKGj','bindTemplate','280ZXwMZS','8MNraZP','2579060OtxLXI','div','34803OGVMOZ','ck-presence-list__dropdown-list-wrapper'];_0x451a=function(){return _0x5c0048;};return _0x451a();}import{getTranslation as _0x539766}from'../../common-translations.js';function _0x2b61(_0x4f8a9b,_0x2f754e){const _0x451ae5=_0x451a();return _0x2b61=function(_0x2b6161,_0x339692){_0x2b6161=_0x2b6161-0x19e;let _0x42d9d5=_0x451ae5[_0x2b6161];return _0x42d9d5;},_0x2b61(_0x4f8a9b,_0x2f754e);}export class PresenceDropdownListView extends _0x16c7a7{[_0x435c61(0x1c4)];constructor(_0x5c5c1e,_0x4977eb){const _0x2940b4=_0x435c61;super(_0x5c5c1e);const _0x1145e2=this[_0x2940b4(0x1a9)];this[_0x2940b4(0x1c4)]=new PresenceDropdownListWrapperView(_0x5c5c1e,_0x4977eb),this[_0x2940b4(0x1a6)]({'tag':_0x2940b4(0x1ad),'attributes':{'tabindex':-0x1,'role':_0x2940b4(0x1c0),'class':['ck',_0x2940b4(0x1b5)],'aria-label':_0x539766(_0x5c5c1e,_0x2940b4(0x1b6))},'children':[this[_0x2940b4(0x1c4)]],'on':{'mouseleave':_0x1145e2['to'](_0x55c2a8=>{const _0x193086=_0x2940b4,_0x2333a7=_0x55c2a8,_0x4408c6=document[_0x193086(0x19f)](_0x193086(0x1a7)),_0xba2522=document[_0x193086(0x19f)](_0x193086(0x1a1));_0x4408c6?.[_0x193086(0x1b7)](_0x2333a7[_0x193086(0x1c3)])||_0xba2522?.[_0x193086(0x1b7)](_0x2333a7[_0x193086(0x1c3)])||this[_0x193086(0x1c8)](_0x193086(0x1bf));})}});}}export class PresenceDropdownListWrapperView extends _0x11f799{constructor(_0x249bfc,_0x1605b5){const _0x50a20c=_0x435c61;super(_0x249bfc);const _0x45eb0f=this[_0x50a20c(0x1a9)];this[_0x50a20c(0x1b4)](_0x50a20c(0x1b0),!0x1),this[_0x50a20c(0x1a6)]({'tag':_0x1605b5?_0x50a20c(0x1ad):'ul','attributes':{'class':['ck',_0x50a20c(0x1b1),_0x50a20c(0x1ca),_0x50a20c(0x1af),_0x45eb0f['if'](_0x50a20c(0x1b0),_0x50a20c(0x1b2))],'role':_0x45eb0f['to'](_0x50a20c(0x1be)),'aria-label':_0x45eb0f['to'](_0x50a20c(0x1a4)),'aria-labelledby':_0x45eb0f['to'](_0x50a20c(0x1c9))},'children':this[_0x50a20c(0x1bd)]}),this[_0x50a20c(0x1a2)](_0x384569[_0x50a20c(0x19e)],_0x50a20c(0x1c7),()=>this[_0x50a20c(0x1cb)]()),this[_0x50a20c(0x1bd)]['on'](_0x50a20c(0x1a0),()=>this[_0x50a20c(0x1cb)]());}[_0x435c61(0x1c2)](){const _0x1366dd=_0x435c61;super[_0x1366dd(0x1c2)](),this[_0x1366dd(0x1cb)]();}[_0x435c61(0x1cb)](){const _0x1818f2=_0x435c61,_0x103819=this[_0x1818f2(0x1ba)];_0x103819&&(this[_0x1818f2(0x1b0)]=Math[_0x1818f2(0x1c5)](_0x103819[_0x1818f2(0x1a3)],_0x103819[_0x1818f2(0x1bb)])>0.8*window[_0x1818f2(0x1c6)]);}}
23
+ function _0x1cd8(_0x5c5003,_0xfe49d7){const _0x1f507a=_0x1f50();return _0x1cd8=function(_0x1cd8b3,_0x4e0bcf){_0x1cd8b3=_0x1cd8b3-0x15a;let _0x204660=_0x1f507a[_0x1cd8b3];return _0x204660;},_0x1cd8(_0x5c5003,_0xfe49d7);}const _0x4492a5=_0x1cd8;(function(_0x167670,_0x196379){const _0x10f5dd=_0x1cd8,_0x568570=_0x167670();while(!![]){try{const _0x5502aa=parseInt(_0x10f5dd(0x183))/0x1+-parseInt(_0x10f5dd(0x16b))/0x2+parseInt(_0x10f5dd(0x15e))/0x3+parseInt(_0x10f5dd(0x163))/0x4+-parseInt(_0x10f5dd(0x15f))/0x5+-parseInt(_0x10f5dd(0x17d))/0x6*(parseInt(_0x10f5dd(0x172))/0x7)+parseInt(_0x10f5dd(0x173))/0x8;if(_0x5502aa===_0x196379)break;else _0x568570['push'](_0x568570['shift']());}catch(_0x5d80be){_0x568570['push'](_0x568570['shift']());}}}(_0x1f50,0x54292));import{ListView as _0x483e39,View as _0x1c12be}from'ckeditor5/src/ui.js';import{global as _0x42fbf2}from'ckeditor5/src/utils.js';function _0x1f50(){const _0x450759=['listenTo','items','7tWQRfS','4140576dUoaSd','scrollHeight','checkIfScrollable','contains','change','ck-presence-list__dropdown-list-wrapper_scrollable','_isScrollable','presencelist:hide','set','ck-presence-list__dropdown-list','4072494WCKxaV','listWrapperView','ck-reset','.ck-presence-list__list','setTemplate','clientHeight','204939bzUDKW','render','div','relatedTarget','window','role','1898076IuXvLP','1238370aUaIPz','ariaLabel','querySelector','max','1685404bTgIwA','element','application','.ck-balloon-panel_with-arrow','bindTemplate','innerHeight','Connected\x20users\x20list\x20dropdown\x20menu','fire','1010818KwoLTe','ariaLabelledBy','resize','ck-presence-list__dropdown-list-wrapper','ck-list'];_0x1f50=function(){return _0x450759;};return _0x1f50();}import{getTranslation as _0xe9c086}from'../../common-translations.js';export class PresenceDropdownListView extends _0x1c12be{[_0x4492a5(0x17e)];constructor(_0x20e48a,_0x139939){const _0x5d0ac9=_0x4492a5;super(_0x20e48a);const _0x5ce2c4=this[_0x5d0ac9(0x167)];this[_0x5d0ac9(0x17e)]=new PresenceDropdownListWrapperView(_0x20e48a,_0x139939),this[_0x5d0ac9(0x181)]({'tag':_0x5d0ac9(0x15a),'attributes':{'tabindex':-0x1,'role':_0x5d0ac9(0x165),'class':['ck',_0x5d0ac9(0x17c)],'aria-label':_0xe9c086(_0x20e48a,_0x5d0ac9(0x169))},'children':[this[_0x5d0ac9(0x17e)]],'on':{'mouseleave':_0x5ce2c4['to'](_0x286b26=>{const _0x2ab7cf=_0x5d0ac9,_0x24424c=_0x286b26,_0x50bcb8=document[_0x2ab7cf(0x161)](_0x2ab7cf(0x180)),_0x8af94a=document[_0x2ab7cf(0x161)](_0x2ab7cf(0x166));_0x50bcb8?.[_0x2ab7cf(0x176)](_0x24424c[_0x2ab7cf(0x15b)])||_0x8af94a?.[_0x2ab7cf(0x176)](_0x24424c[_0x2ab7cf(0x15b)])||this[_0x2ab7cf(0x16a)](_0x2ab7cf(0x17a));})}});}}export class PresenceDropdownListWrapperView extends _0x483e39{constructor(_0x2d063e,_0x3eb2c6){const _0xbe1e7c=_0x4492a5;super(_0x2d063e);const _0x30e1ec=this[_0xbe1e7c(0x167)];this[_0xbe1e7c(0x17b)](_0xbe1e7c(0x179),!0x1),this[_0xbe1e7c(0x181)]({'tag':_0x3eb2c6?_0xbe1e7c(0x15a):'ul','attributes':{'class':['ck',_0xbe1e7c(0x17f),_0xbe1e7c(0x16f),_0xbe1e7c(0x16e),_0x30e1ec['if'](_0xbe1e7c(0x179),_0xbe1e7c(0x178))],'role':_0x30e1ec['to'](_0xbe1e7c(0x15d)),'aria-label':_0x30e1ec['to'](_0xbe1e7c(0x160)),'aria-labelledby':_0x30e1ec['to'](_0xbe1e7c(0x16c))},'children':this[_0xbe1e7c(0x171)]}),this[_0xbe1e7c(0x170)](_0x42fbf2[_0xbe1e7c(0x15c)],_0xbe1e7c(0x16d),()=>this[_0xbe1e7c(0x175)]()),this[_0xbe1e7c(0x171)]['on'](_0xbe1e7c(0x177),()=>this[_0xbe1e7c(0x175)]());}[_0x4492a5(0x184)](){const _0x25abaa=_0x4492a5;super[_0x25abaa(0x184)](),this[_0x25abaa(0x175)]();}[_0x4492a5(0x175)](){const _0x45b2f3=_0x4492a5,_0x3686e9=this[_0x45b2f3(0x164)];_0x3686e9&&(this[_0x45b2f3(0x179)]=Math[_0x45b2f3(0x162)](_0x3686e9[_0x45b2f3(0x174)],_0x3686e9[_0x45b2f3(0x182)])>0.8*window[_0x45b2f3(0x168)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd2eee=_0x42bc;(function(_0x37ce30,_0x20b5fb){const _0x4125a2=_0x42bc,_0x3f39b2=_0x37ce30();while(!![]){try{const _0x49e31a=parseInt(_0x4125a2(0x7c))/0x1+parseInt(_0x4125a2(0x7f))/0x2*(parseInt(_0x4125a2(0x87))/0x3)+parseInt(_0x4125a2(0x90))/0x4*(parseInt(_0x4125a2(0x8c))/0x5)+-parseInt(_0x4125a2(0x8a))/0x6*(parseInt(_0x4125a2(0x93))/0x7)+-parseInt(_0x4125a2(0x94))/0x8*(parseInt(_0x4125a2(0x89))/0x9)+parseInt(_0x4125a2(0x7d))/0xa+-parseInt(_0x4125a2(0x75))/0xb;if(_0x49e31a===_0x20b5fb)break;else _0x3f39b2['push'](_0x3f39b2['shift']());}catch(_0x209e87){_0x3f39b2['push'](_0x3f39b2['shift']());}}}(_0x25ba,0xb6894));function _0x42bc(_0x23c611,_0x5ccb7a){const _0x25ba93=_0x25ba();return _0x42bc=function(_0x42bc63,_0x2f5360){_0x42bc63=_0x42bc63-0x75;let _0x2947f6=_0x25ba93[_0x42bc63];return _0x2947f6;},_0x42bc(_0x23c611,_0x5ccb7a);}function _0x25ba(){const _0x2d55a1=['64qSJSjT','text','execute','name','getBackgroundColorClass','true','ck-presence-list__list-item','listitem','99567llxUXv','userView','54ZDXWSn','150tmfUyZ','markerView','10kLEEZY','setTemplate','set','button','2072344voLhyt','isFocusable','span','336693FzkOsq','1600264GztRwM','template','bindTemplate','div','8654063cvHweD','hasTooltip','ck-presence-list__marker','color','fire','ck-presence-list__list-item__tooltip','tag','1273811rnimvb','5650430SzzCEF','tooltipPosition'];_0x25ba=function(){return _0x2d55a1;};return _0x25ba();}import{LabelView as _0x3d0b2c,View as _0x1dafd4}from'ckeditor5/src/ui.js';import{UserView as _0x3dca5d}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x1dafd4{[_0xd2eee(0x88)];[_0xd2eee(0x8b)];constructor(_0x49a443,_0x1b2790,_0x3af843){const _0x9769b0=_0xd2eee;super(_0x49a443);const _0x318df5=this[_0x9769b0(0x96)];this[_0x9769b0(0x8e)](_0x9769b0(0x91),!0x1),this[_0x9769b0(0x8e)](_0x9769b0(0x76),!0x0),this[_0x9769b0(0x8e)](_0x9769b0(0x7e),''),this[_0x9769b0(0x88)]=new _0x3dca5d(_0x49a443,_0x1b2790),this[_0x9769b0(0x8b)]=new ot(_0x49a443,_0x1b2790);const _0x4a8d76=new _0x3d0b2c(_0x49a443);_0x4a8d76[_0x9769b0(0x95)][_0x9769b0(0x7b)]=_0x9769b0(0x92),_0x4a8d76[_0x9769b0(0x80)]=_0x1b2790[_0x9769b0(0x82)];const _0xc8d56c={'tag':_0x9769b0(0x97),'attributes':{'class':['ck',_0x9769b0(0x85)],'role':_0x9769b0(0x86),'tabindex':_0x318df5['to'](_0x9769b0(0x91),_0x3de942=>!!_0x3de942&&0x0),'aria-labelledby':_0x4a8d76['id'],'data-cke-tooltip-text':this[_0x9769b0(0x88)][_0x9769b0(0x82)],'data-cke-tooltip-position':_0x318df5['to'](_0x9769b0(0x7e)),'data-cke-tooltip-disabled':_0x318df5['to'](_0x9769b0(0x76),_0x494fb8=>!_0x494fb8),'data-cke-tooltip-class':_0x9769b0(0x7a)},'children':[this[_0x9769b0(0x88)],this[_0x9769b0(0x8b)],_0x4a8d76]};_0x3af843&&(_0xc8d56c[_0x9769b0(0x7b)]=_0x9769b0(0x8f),_0xc8d56c['on']={'click':_0x318df5['to'](()=>this[_0x9769b0(0x79)](_0x9769b0(0x81)))}),this[_0x9769b0(0x8d)](_0xc8d56c);}}class ot extends _0x1dafd4{constructor(_0x530f2a,_0x528f58){const _0x210e06=_0xd2eee;super(_0x530f2a),this[_0x210e06(0x8d)]({'tag':_0x210e06(0x92),'attributes':{'class':['ck',_0x210e06(0x77),_0x528f58[_0x210e06(0x78)][_0x210e06(0x83)]()],'aria-hidden':_0x210e06(0x84)}});}}
23
+ const _0x3e2b69=_0x539e;function _0x539e(_0x17d247,_0x45fc9c){const _0x745a98=_0x745a();return _0x539e=function(_0x539eaa,_0x2f985c){_0x539eaa=_0x539eaa-0xff;let _0x27cabd=_0x745a98[_0x539eaa];return _0x27cabd;},_0x539e(_0x17d247,_0x45fc9c);}(function(_0x2e50f8,_0x16d39d){const _0x1b7901=_0x539e,_0x2f652d=_0x2e50f8();while(!![]){try{const _0x143670=-parseInt(_0x1b7901(0x10c))/0x1*(-parseInt(_0x1b7901(0x105))/0x2)+-parseInt(_0x1b7901(0x11c))/0x3+-parseInt(_0x1b7901(0x104))/0x4+-parseInt(_0x1b7901(0x111))/0x5+-parseInt(_0x1b7901(0x101))/0x6+-parseInt(_0x1b7901(0xff))/0x7+-parseInt(_0x1b7901(0x117))/0x8*(-parseInt(_0x1b7901(0x114))/0x9);if(_0x143670===_0x16d39d)break;else _0x2f652d['push'](_0x2f652d['shift']());}catch(_0x549ed6){_0x2f652d['push'](_0x2f652d['shift']());}}}(_0x745a,0xb2ddd));import{LabelView as _0x43b0f0,View as _0x29f6a8}from'ckeditor5/src/ui.js';function _0x745a(){const _0x13427d=['469136IOkgYL','ck-presence-list__list-item','set','listitem','button','1839060ZRDofn','tag','ck-presence-list__list-item__tooltip','21738231MpUzLr','execute','fire','8XWYuos','isFocusable','name','userView','template','1910076xoMyGH','ck-presence-list__marker','bindTemplate','span','4667999GTrzHm','markerView','2677914ygteen','tooltipPosition','color','136712dDrIQv','2bBvQXt','getBackgroundColorClass','setTemplate','true','text','hasTooltip','div'];_0x745a=function(){return _0x13427d;};return _0x745a();}import{UserView as _0x192613}from'ckeditor5-collaboration/src/collaboration-core.js';export class PresenceInlineListItemView extends _0x29f6a8{[_0x3e2b69(0x11a)];[_0x3e2b69(0x100)];constructor(_0x5938d6,_0x171cde,_0x21c4ee){const _0x44688c=_0x3e2b69;super(_0x5938d6);const _0x10323f=this[_0x44688c(0x11e)];this[_0x44688c(0x10e)](_0x44688c(0x118),!0x1),this[_0x44688c(0x10e)](_0x44688c(0x10a),!0x0),this[_0x44688c(0x10e)](_0x44688c(0x102),''),this[_0x44688c(0x11a)]=new _0x192613(_0x5938d6,_0x171cde),this[_0x44688c(0x100)]=new lt(_0x5938d6,_0x171cde);const _0x4270ed=new _0x43b0f0(_0x5938d6);_0x4270ed[_0x44688c(0x11b)][_0x44688c(0x112)]=_0x44688c(0x11f),_0x4270ed[_0x44688c(0x109)]=_0x171cde[_0x44688c(0x119)];const _0x362e6a={'tag':_0x44688c(0x10b),'attributes':{'class':['ck',_0x44688c(0x10d)],'role':_0x44688c(0x10f),'tabindex':_0x10323f['to'](_0x44688c(0x118),_0x290c0a=>!!_0x290c0a&&0x0),'aria-labelledby':_0x4270ed['id'],'data-cke-tooltip-text':this[_0x44688c(0x11a)][_0x44688c(0x119)],'data-cke-tooltip-position':_0x10323f['to'](_0x44688c(0x102)),'data-cke-tooltip-disabled':_0x10323f['to'](_0x44688c(0x10a),_0x7dd30a=>!_0x7dd30a),'data-cke-tooltip-class':_0x44688c(0x113)},'children':[this[_0x44688c(0x11a)],this[_0x44688c(0x100)],_0x4270ed]};_0x21c4ee&&(_0x362e6a[_0x44688c(0x112)]=_0x44688c(0x110),_0x362e6a['on']={'click':_0x10323f['to'](()=>this[_0x44688c(0x116)](_0x44688c(0x115)))}),this[_0x44688c(0x107)](_0x362e6a);}}class lt extends _0x29f6a8{constructor(_0x4bfa51,_0x2dba95){const _0x14f12b=_0x3e2b69;super(_0x4bfa51),this[_0x14f12b(0x107)]({'tag':_0x14f12b(0x11f),'attributes':{'class':['ck',_0x14f12b(0x11d),_0x2dba95[_0x14f12b(0x103)][_0x14f12b(0x106)]()],'aria-hidden':_0x14f12b(0x108)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4aa560=_0x25bb;(function(_0x38fd58,_0x5b39c7){const _0x21cd7b=_0x25bb,_0x5f37dc=_0x38fd58();while(!![]){try{const _0x508147=-parseInt(_0x21cd7b(0xbd))/0x1*(-parseInt(_0x21cd7b(0xb2))/0x2)+parseInt(_0x21cd7b(0xc6))/0x3+parseInt(_0x21cd7b(0xc8))/0x4+parseInt(_0x21cd7b(0xc7))/0x5+-parseInt(_0x21cd7b(0xb8))/0x6*(-parseInt(_0x21cd7b(0xcc))/0x7)+-parseInt(_0x21cd7b(0xd3))/0x8+parseInt(_0x21cd7b(0xd6))/0x9*(-parseInt(_0x21cd7b(0xd0))/0xa);if(_0x508147===_0x5b39c7)break;else _0x5f37dc['push'](_0x5f37dc['shift']());}catch(_0x5576aa){_0x5f37dc['push'](_0x5f37dc['shift']());}}}(_0x5865,0x42346));import{View as _0x8bad27}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2e2acc}from'ckeditor5/src/utils.js';function _0x5865(){const _0x31030b=['Connected\x20users\x20list','bindTemplate','render','276VvaXsz','setTemplate','set','element','items','20255DmeJoi','div','keystrokes','removeAttribute','presencelist:show','listenTo','.ck-balloon-panel_with-arrow','querySelector','aria-expanded','722559sEgBjw','1920000AxEewr','785864PPtRkA','relatedTarget','setAttribute','ck-presence-list__list','24542IfyAmw','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','presencelist:hide','isExpanded','6552870IzgiFR','list','createCollection','2555592EryyLu','hasPopup','focus','9DKLhmi','change:hasPopup','contains','26kHXzNG','fire','.ck-presence-list__dropdown-list'];_0x5865=function(){return _0x31030b;};return _0x5865();}import{getTranslation as _0x44a656}from'../../common-translations.js';function _0x25bb(_0x201af0,_0x3000be){const _0x586597=_0x5865();return _0x25bb=function(_0x25bbb5,_0x35cede){_0x25bbb5=_0x25bbb5-0xb1;let _0x3a2f15=_0x586597[_0x25bbb5];return _0x3a2f15;},_0x25bb(_0x201af0,_0x3000be);}export class PresenceInlineListView extends _0x8bad27{[_0x4aa560(0xbc)];[_0x4aa560(0xbf)];constructor(_0x3ad6d7){const _0x4157e8=_0x4aa560;super(_0x3ad6d7);const _0x26940d=this[_0x4157e8(0xb6)];this[_0x4157e8(0xbc)]=this[_0x4157e8(0xd2)](),this[_0x4157e8(0xbf)]=new _0x2e2acc(),this[_0x4157e8(0xba)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4157e8(0xb9)]({'tag':_0x4157e8(0xbe),'attributes':{'aria-haspopup':_0x26940d['if'](_0x4157e8(0xd4)),'aria-expanded':_0x26940d['to'](_0x4157e8(0xcf),_0x11e267=>this[_0x4157e8(0xd4)]&&String(_0x11e267)),'aria-label':_0x26940d['to'](_0x4157e8(0xd4),_0x35cce7=>_0x44a656(_0x3ad6d7,_0x35cce7?_0x4157e8(0xcd):_0x4157e8(0xb5))),'role':_0x4157e8(0xd1),'tabindex':_0x26940d['to'](_0x4157e8(0xd4),_0x4a3dbd=>!!_0x4a3dbd&&0x0),'class':['ck',_0x4157e8(0xcb)]},'children':this[_0x4157e8(0xbc)],'on':{'mouseenter':_0x26940d['to'](()=>this[_0x4157e8(0xb3)](_0x4157e8(0xc1))),'mouseleave':_0x26940d['to'](_0x58d860=>{const _0x299144=_0x4157e8,_0x1dbbc3=_0x58d860,_0x3a4e81=document[_0x299144(0xc4)](_0x299144(0xb4)),_0x3bde18=document[_0x299144(0xc4)](_0x299144(0xc3));_0x3a4e81?.[_0x299144(0xb1)](_0x1dbbc3[_0x299144(0xc9)])||_0x3bde18?.[_0x299144(0xb1)](_0x1dbbc3[_0x299144(0xc9)])||this[_0x299144(0xb3)](_0x299144(0xce));})}}),this['on'](_0x4157e8(0xd7),(_0x2e012d,_0x266eff,_0x49bde1)=>{const _0x623719=_0x4157e8;this[_0x623719(0xbb)]&&(_0x49bde1?this[_0x623719(0xbb)][_0x623719(0xca)](_0x623719(0xc5),String(this[_0x623719(0xcf)])):this[_0x623719(0xbb)][_0x623719(0xc0)](_0x623719(0xc5)));});}[_0x4aa560(0xd5)](){const _0xa50a19=_0x4aa560;this[_0xa50a19(0xbb)][_0xa50a19(0xd5)]();}[_0x4aa560(0xb7)](){const _0x4fffb7=_0x4aa560;super[_0x4fffb7(0xb7)](),this[_0x4fffb7(0xbf)][_0x4fffb7(0xc2)](this[_0x4fffb7(0xbb)]);}}
23
+ function _0xb43d(_0x4727d8,_0x4eef7f){const _0x2f1e23=_0x2f1e();return _0xb43d=function(_0xb43d43,_0x3ae032){_0xb43d43=_0xb43d43-0xca;let _0x4c9614=_0x2f1e23[_0xb43d43];return _0x4c9614;},_0xb43d(_0x4727d8,_0x4eef7f);}const _0x394620=_0xb43d;(function(_0x22310a,_0x50eb28){const _0x4c51e9=_0xb43d,_0x54d718=_0x22310a();while(!![]){try{const _0x142196=-parseInt(_0x4c51e9(0xd8))/0x1*(parseInt(_0x4c51e9(0xd3))/0x2)+-parseInt(_0x4c51e9(0xca))/0x3*(parseInt(_0x4c51e9(0xdf))/0x4)+parseInt(_0x4c51e9(0xd4))/0x5*(parseInt(_0x4c51e9(0xcf))/0x6)+parseInt(_0x4c51e9(0xdd))/0x7*(parseInt(_0x4c51e9(0xec))/0x8)+-parseInt(_0x4c51e9(0xe4))/0x9+parseInt(_0x4c51e9(0xf0))/0xa+parseInt(_0x4c51e9(0xef))/0xb;if(_0x142196===_0x50eb28)break;else _0x54d718['push'](_0x54d718['shift']());}catch(_0x2bc21d){_0x54d718['push'](_0x54d718['shift']());}}}(_0x2f1e,0xaa0b3));function _0x2f1e(){const _0x3a3cdd=['presencelist:hide','27010390zpAJCx','12758000lAlawQ','render','3tmtHnP','removeAttribute','listenTo','setAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','947616lOkeLI','change:hasPopup','hasPopup','fire','2Hdmlgb','10RjWjjU','relatedTarget','items','.ck-balloon-panel_with-arrow','1205197vnDjHk','contains','aria-expanded','div','keystrokes','973jRowNS','ck-presence-list__list','4096564oivRwW','set','isExpanded','setTemplate','Connected\x20users\x20list','10370898GpRbmG','bindTemplate','.ck-presence-list__dropdown-list','querySelector','createCollection','focus','list','element','1784pMJFVS','presencelist:show'];_0x2f1e=function(){return _0x3a3cdd;};return _0x2f1e();}import{View as _0x178831}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5420c5}from'ckeditor5/src/utils.js';import{getTranslation as _0x43bbb9}from'../../common-translations.js';export class PresenceInlineListView extends _0x178831{[_0x394620(0xd6)];[_0x394620(0xdc)];constructor(_0x51373b){const _0x3210d2=_0x394620;super(_0x51373b);const _0x905dcb=this[_0x3210d2(0xe5)];this[_0x3210d2(0xd6)]=this[_0x3210d2(0xe8)](),this[_0x3210d2(0xdc)]=new _0x5420c5(),this[_0x3210d2(0xe0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3210d2(0xe2)]({'tag':_0x3210d2(0xdb),'attributes':{'aria-haspopup':_0x905dcb['if'](_0x3210d2(0xd1)),'aria-expanded':_0x905dcb['to'](_0x3210d2(0xe1),_0x3e6b64=>this[_0x3210d2(0xd1)]&&String(_0x3e6b64)),'aria-label':_0x905dcb['to'](_0x3210d2(0xd1),_0x17debe=>_0x43bbb9(_0x51373b,_0x17debe?_0x3210d2(0xce):_0x3210d2(0xe3))),'role':_0x3210d2(0xea),'tabindex':_0x905dcb['to'](_0x3210d2(0xd1),_0x4248a8=>!!_0x4248a8&&0x0),'class':['ck',_0x3210d2(0xde)]},'children':this[_0x3210d2(0xd6)],'on':{'mouseenter':_0x905dcb['to'](()=>this[_0x3210d2(0xd2)](_0x3210d2(0xed))),'mouseleave':_0x905dcb['to'](_0xf1cd55=>{const _0xcf725e=_0x3210d2,_0xe9df28=_0xf1cd55,_0x34809d=document[_0xcf725e(0xe7)](_0xcf725e(0xe6)),_0x127548=document[_0xcf725e(0xe7)](_0xcf725e(0xd7));_0x34809d?.[_0xcf725e(0xd9)](_0xe9df28[_0xcf725e(0xd5)])||_0x127548?.[_0xcf725e(0xd9)](_0xe9df28[_0xcf725e(0xd5)])||this[_0xcf725e(0xd2)](_0xcf725e(0xee));})}}),this['on'](_0x3210d2(0xd0),(_0xa8828a,_0x550e9b,_0x2d35f6)=>{const _0x3ba175=_0x3210d2;this[_0x3ba175(0xeb)]&&(_0x2d35f6?this[_0x3ba175(0xeb)][_0x3ba175(0xcd)](_0x3ba175(0xda),String(this[_0x3ba175(0xe1)])):this[_0x3ba175(0xeb)][_0x3ba175(0xcb)](_0x3ba175(0xda)));});}[_0x394620(0xe9)](){const _0x13329d=_0x394620;this[_0x13329d(0xeb)][_0x13329d(0xe9)]();}[_0x394620(0xf1)](){const _0x36533a=_0x394620;super[_0x36533a(0xf1)](),this[_0x36533a(0xdc)][_0x36533a(0xcc)](this[_0x36533a(0xeb)]);}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f86c6=_0x7af7;(function(_0x42f93b,_0x5229e8){const _0x152c3b=_0x7af7,_0xe3ead2=_0x42f93b();while(!![]){try{const _0x451107=parseInt(_0x152c3b(0xb1))/0x1*(-parseInt(_0x152c3b(0xd1))/0x2)+-parseInt(_0x152c3b(0x90))/0x3*(-parseInt(_0x152c3b(0xe5))/0x4)+parseInt(_0x152c3b(0xb9))/0x5+parseInt(_0x152c3b(0x8c))/0x6+parseInt(_0x152c3b(0xbc))/0x7*(parseInt(_0x152c3b(0xa3))/0x8)+parseInt(_0x152c3b(0x8f))/0x9+-parseInt(_0x152c3b(0x9a))/0xa;if(_0x451107===_0x5229e8)break;else _0xe3ead2['push'](_0xe3ead2['shift']());}catch(_0x6a2ae2){_0xe3ead2['push'](_0xe3ead2['shift']());}}}(_0x4dca,0x532e7));import{Context as _0x10a24b,ContextPlugin as _0x4b717e}from'ckeditor5/src/core.js';import{CKEditorError as _0x2778eb}from'ckeditor5/src/utils.js';import{Users as _0x276de1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5ce1ce,User as _0x4ef7ea}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x7e839c}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x49fdff}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x4b717e{static [_0x4f86c6(0x81)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5ce1ce)());[_0x4f86c6(0x8e)];static get[_0x4f86c6(0xc2)](){const _0x2d4a18=_0x4f86c6;return[_0x7e839c,_0x2d4a18(0xda),_0x49fdff,_0x276de1];}static get[_0x4f86c6(0xc9)](){const _0x51519c=_0x4f86c6;return _0x51519c(0xad);}static get[_0x4f86c6(0xd8)](){return!0x0;}static get[_0x4f86c6(0x83)](){return!0x0;}constructor(_0xa1392e){const _0x6700d=_0x4f86c6;super(_0xa1392e),this[_0x6700d(0x8e)]=new Map();}async[_0x4f86c6(0x92)](){const _0x1d606d=_0x4f86c6,_0x9f7865=this[_0x1d606d(0x95)],_0x4b9d6d=_0x9f7865[_0x1d606d(0x8d)][_0x1d606d(0xc7)](_0x1d606d(0xda));if(_0x9f7865[_0x1d606d(0x8d)][_0x1d606d(0xc7)](_0x7e839c)[_0x1d606d(0xe2)](this),_0x4b9d6d[_0x1d606d(0xa4)]={'addCommentThread':async({channelId:_0x5b26b4,threadId:_0x52d855,comments:_0x9f7b18,resolvedAt:_0x5cf28d,resolvedBy:_0x5a8b66,context:_0x18eaee,attributes:_0x1e4c20})=>{const _0x3a8cfa=_0x1d606d,_0x3a3a33=await this[_0x3a8cfa(0xc4)](_0x5b26b4)[_0x3a8cfa(0xab)]({'commentThreadId':_0x52d855,'comments':_0x9f7b18[_0x3a8cfa(0xc0)](_0x3d157f=>function(_0x3e2f55,_0x390172,_0x3d0ba8){const _0x2f091b=_0x3a8cfa;return{'commentThreadId':_0x3d0ba8,'commentId':_0x3e2f55[_0x2f091b(0xe3)],'userId':_0x3e2f55[_0x2f091b(0xd2)],'content':_0x3e2f55[_0x2f091b(0xb5)],'documentId':_0x390172,'createdAt':_0x3e2f55[_0x2f091b(0xaa)],'attributes':_0x3e2f55[_0x2f091b(0x89)]||{}};}(_0x3d157f,_0x5b26b4,_0x52d855)),'resolvedAt':_0x5cf28d,'resolvedBy':_0x5a8b66,'context':_0x18eaee,'attributes':_0x1e4c20})[_0x3a8cfa(0x88)](k);return{'threadId':_0x3a3a33[_0x3a8cfa(0x87)],'comments':_0x3a3a33[_0x3a8cfa(0x9f)]};},'getCommentThread':async({channelId:_0x472dc7,threadId:_0x44f3d9})=>{const _0x300366=_0x1d606d,_0x56441d=await this[_0x300366(0xc4)](_0x472dc7)[_0x300366(0xd3)](_0x44f3d9)[_0x300366(0x88)](F)[_0x300366(0x88)](k);return _0x56441d?_0x56441d[_0x300366(0xb7)]?null:(await this[_0x300366(0xbe)]([_0x56441d]),{'threadId':_0x56441d[_0x300366(0x87)],'comments':_0x56441d[_0x300366(0x9f)][_0x300366(0xc0)](S),'context':_0x56441d[_0x300366(0x95)],'resolvedAt':_0x56441d[_0x300366(0x94)],'resolvedBy':_0x56441d[_0x300366(0xb3)],'attributes':_0x56441d[_0x300366(0x89)]||{}}):null;},'updateCommentThread':async({channelId:_0x11aafb,threadId:_0x31dd80,context:_0x496775,unlinkedAt:_0x1cbc10,attributes:_0x33efc6})=>this[_0x1d606d(0xc4)](_0x11aafb)[_0x1d606d(0xc6)]({'commentThreadId':_0x31dd80,'context':_0x496775,'attributes':_0x33efc6,'unlinkedAt':_0x1cbc10})[_0x1d606d(0x88)](F)[_0x1d606d(0x88)](k),'resolveCommentThread':async({channelId:_0x20d9bf,threadId:_0x1fbbdb})=>{const _0x1aca88=_0x1d606d,_0x100b9c=await this[_0x1aca88(0xc4)](_0x20d9bf)[_0x1aca88(0xcc)](_0x1fbbdb)[_0x1aca88(0x88)](F)[_0x1aca88(0x88)](k);return{'threadId':_0x100b9c[_0x1aca88(0x87)],'resolvedAt':_0x100b9c[_0x1aca88(0x94)],'resolvedBy':_0x100b9c[_0x1aca88(0xb3)]};},'reopenCommentThread':async({channelId:_0x2d0a81,threadId:_0x1c6bae})=>this[_0x1d606d(0xc4)](_0x2d0a81)[_0x1d606d(0xdf)](_0x1c6bae)[_0x1d606d(0x88)](F)[_0x1d606d(0x88)](k),'removeCommentThread':({channelId:_0x4d7384,threadId:_0x3ce83b})=>this[_0x1d606d(0xc4)](_0x4d7384)[_0x1d606d(0xb0)](_0x3ce83b)[_0x1d606d(0x88)](F)[_0x1d606d(0x88)](k),'addComment':({channelId:_0x499744,threadId:_0x1857c5,commentId:_0x1e75d9,content:_0x2ffdde,attributes:_0x2ef09a})=>this[_0x1d606d(0xc4)](_0x499744)[_0x1d606d(0x91)](_0x1857c5,_0x1e75d9,_0x2ffdde,_0x2ef09a)[_0x1d606d(0x88)](k),'updateComment':({channelId:_0x120663,threadId:_0x262f71,commentId:_0x34f8ad,content:_0xe30531,attributes:_0x252ed6})=>this[_0x1d606d(0xc4)](_0x120663)[_0x1d606d(0xaf)](_0x262f71,_0x34f8ad,_0xe30531,_0x252ed6)[_0x1d606d(0x88)](F)[_0x1d606d(0x88)](k),'removeComment':({channelId:_0x3d7522,threadId:_0xe228f1,commentId:_0x557fa5})=>this[_0x1d606d(0xc4)](_0x3d7522)[_0x1d606d(0x93)](_0xe228f1,_0x557fa5)[_0x1d606d(0x88)](F)[_0x1d606d(0x88)](k)},_0x9f7865 instanceof _0x10a24b){const _0x1ea1c6=_0x9f7865[_0x1d606d(0xdb)][_0x1d606d(0xc7)](_0x1d606d(0xc1)),_0x14f34f=_0x9f7865[_0x1d606d(0x8d)][_0x1d606d(0xc7)](_0x49fdff);await this[_0x1d606d(0xdd)](_0x1ea1c6);const _0x114848=await this[_0x1d606d(0x8e)][_0x1d606d(0xc7)](_0x1ea1c6)[_0x1d606d(0x8a)]();this[_0x1d606d(0x8b)](_0x14f34f,_0x1d606d(0xb8)+_0x1ea1c6,(_0x3014c3,{session:_0x24f929})=>{const _0x4ecd3b=_0x1d606d;_0x24f929['id']===_0x14f34f[_0x4ecd3b(0xbb)]&&(_0x3014c3[_0x4ecd3b(0xa2)](),this[_0x4ecd3b(0x95)][_0x4ecd3b(0x8d)][_0x4ecd3b(0xc7)](_0x4ecd3b(0x98))[_0x4ecd3b(0xcf)](_0x24f929[_0x4ecd3b(0xb2)],_0x1ea1c6));}),_0x14f34f[_0x1d606d(0xcd)](_0x1ea1c6,_0x114848);}}async[_0x4f86c6(0xdd)](_0x28bbe2){const _0x529114=_0x4f86c6;if(this[_0x529114(0x8e)][_0x529114(0xd4)](_0x28bbe2))throw new _0x2778eb(_0x529114(0xe0),null,{'channelId':_0x28bbe2});const _0x22c15c=this[_0x529114(0x95)][_0x529114(0x8d)][_0x529114(0xc7)](_0x529114(0xda)),_0x2c1107=new CloudServicesCommentsAdapter[(_0x529114(0x81))](_0x28bbe2);this[_0x529114(0x8e)][_0x529114(0x86)](_0x28bbe2,_0x2c1107),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0xe1),(_0x5276f4,_0xf981c9)=>{const _0x15b590=_0x529114,{commentThreadId:_0x4ec021,documentId:_0x371642,context:_0x145ed9,attributes:_0x230dab,resolvedAt:_0x46d281,resolvedBy:_0x30d221,comments:_0x42ce6f}=_0xf981c9;_0x22c15c[_0x15b590(0xd3)](_0x4ec021)||_0x22c15c[_0x15b590(0xab)]({'threadId':_0x4ec021,'channelId':_0x371642,'comments':_0x42ce6f?_0x42ce6f[_0x15b590(0xc0)](S):[],'context':_0x145ed9,'attributes':_0x230dab,'resolvedAt':_0x46d281,'resolvedBy':_0x30d221,'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0xba),(_0x10a234,{commentThreadId:_0x152bae,documentId:_0x4860b1,context:_0x5eecad,unlinkedAt:_0x2f2604,attributes:_0x1a2155})=>{const _0x53c154=_0x529114;_0x22c15c[_0x53c154(0xd3)](_0x152bae)&&_0x22c15c[_0x53c154(0xc6)]({'threadId':_0x152bae,'channelId':_0x4860b1,'context':_0x5eecad,'unlinkedAt':_0x2f2604,'attributes':_0x1a2155,'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0x96),(_0xbd3539,{commentThreadId:_0x55c67a,resolvedBy:_0x7a33b8,resolvedAt:_0x16ae58})=>{const _0x1d90b7=_0x529114,_0x3bde38=_0x22c15c[_0x1d90b7(0xd3)](_0x55c67a);_0x3bde38&&_0x3bde38[_0x1d90b7(0xde)]({'resolvedBy':_0x7a33b8,'resolvedAt':_0x16ae58,'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0xd5),(_0x479cca,{commentThreadId:_0x2cdb02})=>{const _0x315b3d=_0x529114,_0x27c89c=_0x22c15c[_0x315b3d(0xd3)](_0x2cdb02);_0x27c89c&&_0x27c89c[_0x315b3d(0xbf)]({'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0x9e),(_0x2d37f1,{commentThreadId:_0x5f00fc})=>{const _0x48d27e=_0x529114,_0x5bbe62=_0x22c15c[_0x48d27e(0xd3)](_0x5f00fc);_0x5bbe62&&_0x5bbe62[_0x48d27e(0xc8)]({'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0xe6),(_0x4914b8,_0x38f6f1)=>{const _0x96337e=_0x529114,_0x58a2e1=_0x38f6f1[_0x96337e(0x87)],_0x2d709c=_0x22c15c[_0x96337e(0xd3)](_0x58a2e1);_0x2d709c&&_0x2d709c[_0x96337e(0x91)]({...S(_0x38f6f1),'isFromAdapter':!0x0});}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0xb4),(_0x513b23,{commentThreadId:_0x4683bf,commentId:_0x130a9f,content:_0x252c5f,attributes:_0x463168})=>{const _0x1e2b17=_0x529114,_0xfa8753=_0x22c15c[_0x1e2b17(0xd3)](_0x4683bf);if(_0xfa8753){const _0x49b695=_0xfa8753[_0x1e2b17(0xa0)](_0x130a9f);_0x49b695&&_0x49b695[_0x1e2b17(0x9d)]({'content':_0x252c5f,'attributes':_0x463168,'isFromAdapter':!0x0});}}),this[_0x529114(0x8b)](_0x2c1107,_0x529114(0x97),(_0x189911,{commentThreadId:_0x40bc0e,commentId:_0x2f2d25})=>{const _0x3c57dc=_0x529114,_0x11ddbf=_0x22c15c[_0x3c57dc(0xd3)](_0x40bc0e);if(_0x11ddbf){const _0x540712=_0x11ddbf[_0x3c57dc(0xa0)](_0x2f2d25);_0x540712&&_0x540712[_0x3c57dc(0xc8)]({'isFromAdapter':!0x0});}}),await this[_0x529114(0xa8)](_0x28bbe2);}[_0x4f86c6(0xbd)](){const _0x7f816a=_0x4f86c6;if(this[_0x7f816a(0x95)]instanceof _0x10a24b){const _0x4b2412=this[_0x7f816a(0x95)][_0x7f816a(0xdb)][_0x7f816a(0xc7)](_0x7f816a(0xc1));this[_0x7f816a(0x9c)](_0x4b2412);}}[_0x4f86c6(0x9c)](_0x13ec17){const _0x16e271=_0x4f86c6;if(!this[_0x16e271(0x8e)][_0x16e271(0xd4)](_0x13ec17))throw new _0x2778eb(_0x16e271(0xa1),null,{'channelId':_0x13ec17});this[_0x16e271(0xc4)](_0x13ec17)[_0x16e271(0x9b)](),this[_0x16e271(0x8e)][_0x16e271(0xac)](_0x13ec17);}async[_0x4f86c6(0xce)](){const _0x254dae=_0x4f86c6;for(const _0x3c0ddb of this[_0x254dae(0x8e)][_0x254dae(0xb6)]())await this[_0x254dae(0xa8)](_0x3c0ddb);if(this[_0x254dae(0x95)]instanceof _0x10a24b){const _0x22c52b=this[_0x254dae(0x95)][_0x254dae(0xdb)][_0x254dae(0xc7)](_0x254dae(0xc1)),_0x4e3766=this[_0x254dae(0x95)][_0x254dae(0x8d)][_0x254dae(0xc7)](_0x49fdff);_0x4e3766[_0x254dae(0xa6)](_0x22c52b);const _0x5a1c74=await this[_0x254dae(0x8e)][_0x254dae(0xc7)](_0x22c52b)[_0x254dae(0x8a)]();_0x4e3766[_0x254dae(0xcd)](_0x22c52b,_0x5a1c74);}}async[_0x4f86c6(0xa8)](_0x304f14){const _0x24e3dc=_0x4f86c6,{connection:_0x586136}=this[_0x24e3dc(0x95)][_0x24e3dc(0x8d)][_0x24e3dc(0xc7)](_0x7e839c),_0x542f83=this[_0x24e3dc(0x95)][_0x24e3dc(0x8d)][_0x24e3dc(0xc7)](_0x24e3dc(0xda)),_0xf9e435=this[_0x24e3dc(0x8e)][_0x24e3dc(0xc7)](_0x304f14),_0x17186c=await _0xf9e435[_0x24e3dc(0xc3)](_0x586136);await this[_0x24e3dc(0xbe)](_0x17186c);const _0x5b114b=new Set(Array[_0x24e3dc(0x85)](_0x542f83[_0x24e3dc(0xa5)]({'channelId':_0x304f14}),_0x33c5d1=>_0x33c5d1['id']));for(const _0x5dabfb of _0x17186c)_0x5dabfb[_0x24e3dc(0xb7)]||_0x5b114b[_0x24e3dc(0xac)](_0x5dabfb[_0x24e3dc(0x87)]);for(const _0x56c659 of _0x5b114b)_0x542f83[_0x24e3dc(0xd3)](_0x56c659)[_0x24e3dc(0xc8)]({'isFromAdapter':!0x0});for(const _0x15eb4c of _0x17186c){let _0x4f0afb=_0x542f83[_0x24e3dc(0xd3)](_0x15eb4c[_0x24e3dc(0x87)]);const {commentThreadId:_0x24b150,context:_0x582c5b,attributes:_0x477825,resolvedBy:_0x268fe6,resolvedAt:_0x4f1389,unlinkedAt:_0x1fc6e9,deletedAt:_0x565e8b}=_0x15eb4c;if(_0x565e8b)continue;_0x4f0afb||(_0x4f0afb=_0x542f83[_0x24e3dc(0xab)]({'channelId':_0x304f14,'threadId':_0x24b150,'context':_0x582c5b,'attributes':_0x477825||{},'resolvedBy':_0x268fe6,'resolvedAt':_0x4f1389,'unlinkedAt':_0x1fc6e9,'isFromAdapter':!0x0}));const _0x4eb577=new Set(Array[_0x24e3dc(0x85)](_0x4f0afb[_0x24e3dc(0x9f)],_0x195f4d=>_0x195f4d['id']));for(const _0x1763fc of _0x15eb4c[_0x24e3dc(0x9f)])_0x4eb577[_0x24e3dc(0xac)](_0x1763fc[_0x24e3dc(0xe3)]);for(const _0x1da654 of _0x4eb577)_0x4f0afb[_0x24e3dc(0xa0)](_0x1da654)[_0x24e3dc(0xc8)]({'isFromAdapter':!0x0});for(const _0x43ea4f of _0x15eb4c[_0x24e3dc(0x9f)]){const _0x3143ef=_0x4f0afb[_0x24e3dc(0xa0)](_0x43ea4f[_0x24e3dc(0xe3)]);_0x3143ef?_0x3143ef[_0x24e3dc(0xb5)]!==_0x43ea4f[_0x24e3dc(0xb5)]&&_0x3143ef[_0x24e3dc(0x9d)]({'content':_0x43ea4f[_0x24e3dc(0xb5)],'isFromAdapter':!0x0}):_0x4f0afb[_0x24e3dc(0x91)](Object[_0x24e3dc(0xa9)](S(_0x43ea4f),{'isFromAdapter':!0x0}));}}}[_0x4f86c6(0xc4)](_0x10d21a){const _0x1fc9bc=_0x4f86c6;if(!this[_0x1fc9bc(0x8e)][_0x1fc9bc(0xd4)](_0x10d21a))throw new _0x2778eb(_0x1fc9bc(0xdc),null,{'channelId':_0x10d21a});return this[_0x1fc9bc(0x8e)][_0x1fc9bc(0xc7)](_0x10d21a);}async[_0x4f86c6(0xbe)](_0x1f5ef7){const _0x593651=_0x4f86c6,_0x17b174=this[_0x593651(0x95)][_0x593651(0x8d)][_0x593651(0xc7)](_0x276de1),{connection:_0x209965}=this[_0x593651(0x95)][_0x593651(0x8d)][_0x593651(0xc7)](_0x7e839c),_0x839343=new Set();for(const {resolvedBy:_0xad5099,comments:_0x5dcf56}of _0x1f5ef7){_0xad5099&&!_0x17b174[_0x593651(0xca)](_0xad5099)&&_0x839343[_0x593651(0x99)](_0xad5099);for(const {userId:_0x3bb55e}of _0x5dcf56)_0x17b174[_0x593651(0xca)](_0x3bb55e)||_0x839343[_0x593651(0x99)](_0x3bb55e);}if(0x0===_0x839343[_0x593651(0xae)])return;const _0x3f89c5=await _0x4ef7ea[_0x593651(0x84)](_0x209965,Array[_0x593651(0x85)](_0x839343));for(const _0x535813 of _0x3f89c5)_0x17b174[_0x593651(0xca)](_0x535813['id'])||_0x17b174[_0x593651(0xc5)](_0x535813);}}async function F(_0xaea79){const _0x22b26b=_0x4f86c6;if(_0x22b26b(0xe4)!==_0xaea79[_0x22b26b(0xd0)])throw _0xaea79;}function k(_0x43b847){const _0x3285a9=_0x4f86c6;if((_0x265f58=_0x43b847)[_0x3285a9(0x82)][_0x3285a9(0xa7)](_0x3285a9(0xcb))||_0x265f58[_0x3285a9(0x82)][_0x3285a9(0xa7)](_0x3285a9(0xd9))||_0x265f58[_0x3285a9(0x82)][_0x3285a9(0xa7)](_0x3285a9(0xd6)))return new Promise(()=>{});var _0x265f58;throw _0x43b847;}function _0x4dca(){const _0x48ff54=['comments','getComment','cloudservicescommentsadapter-disconnect-not-exist','off','9440QlvvLI','adapter','getCommentThreads','unregister','startsWith','_connectService','assign','createdAt','addCommentThread','delete','CloudServicesCommentsAdapter','size','updateComment','removeCommentThread','95629tglpZD','permissions','resolvedBy','commentUpdated','content','keys','deletedAt','sessionAdd:','526170pKuZOf','commentThreadUpdated','mySessionId','2478KsacjY','destroy','_fetchMissingUsersForThreads','reopen','map','collaboration.channelId','requires','connect','_getService','addUser','updateCommentThread','get','remove','pluginName','getUser','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','resolveCommentThread','register','reconnect','setPermissions','code','4qqCFmt','authorId','getCommentThread','has','commentThreadReopened','cloud-services-internal-error:\x20Request\x20timeout.','userId','isOfficialPlugin','cloud-services-internal-error:\x20Not\x20connected.','CommentsRepository','config','cloudservicescommentsadapter-service-not-exist','_setUpService','resolve','reopenCommentThread','cloudservicescommentsadapter-connect-already-connected','commentThreadAdded','addToReconnectionStack','commentId','404','32iikbUx','commentAdded','CommentsService','message','isPremiumPlugin','getMany','from','set','commentThreadId','catch','attributes','getConnectedSessions','listenTo','1397508mtcNEl','plugins','_services','5738004UJfwPM','31125gpIsFZ','addComment','init','removeComment','resolvedAt','context','commentThreadResolved','commentRemoved','Permissions','add','9444590DEsEaz','disconnect','_terminateService','update','commentThreadRemoved'];_0x4dca=function(){return _0x48ff54;};return _0x4dca();}function _0x7af7(_0x4d672a,_0x1fa30b){const _0x4dca55=_0x4dca();return _0x7af7=function(_0x7af7db,_0x382a5d){_0x7af7db=_0x7af7db-0x81;let _0xf21602=_0x4dca55[_0x7af7db];return _0xf21602;},_0x7af7(_0x4d672a,_0x1fa30b);}function S(_0x30cb5c){const _0x2d4139=_0x4f86c6;return{'threadId':_0x30cb5c[_0x2d4139(0x87)],'commentId':_0x30cb5c[_0x2d4139(0xe3)],'content':_0x30cb5c[_0x2d4139(0xb5)],'createdAt':_0x30cb5c[_0x2d4139(0xaa)],'authorId':_0x30cb5c[_0x2d4139(0xd7)],'attributes':_0x30cb5c[_0x2d4139(0x89)]||{}};}
23
+ const _0x395a89=_0x5986;function _0x5986(_0x4ec580,_0x597b4e){const _0x5be6f4=_0x5be6();return _0x5986=function(_0x598628,_0x241353){_0x598628=_0x598628-0x14d;let _0x1319a5=_0x5be6f4[_0x598628];return _0x1319a5;},_0x5986(_0x4ec580,_0x597b4e);}(function(_0x551cda,_0x332721){const _0x5f323d=_0x5986,_0x324280=_0x551cda();while(!![]){try{const _0x39a8c2=-parseInt(_0x5f323d(0x19c))/0x1+parseInt(_0x5f323d(0x19d))/0x2*(parseInt(_0x5f323d(0x16b))/0x3)+-parseInt(_0x5f323d(0x15b))/0x4*(-parseInt(_0x5f323d(0x18c))/0x5)+parseInt(_0x5f323d(0x19b))/0x6*(parseInt(_0x5f323d(0x16f))/0x7)+parseInt(_0x5f323d(0x17a))/0x8*(parseInt(_0x5f323d(0x153))/0x9)+parseInt(_0x5f323d(0x170))/0xa*(-parseInt(_0x5f323d(0x15c))/0xb)+parseInt(_0x5f323d(0x18d))/0xc*(-parseInt(_0x5f323d(0x1ac))/0xd);if(_0x39a8c2===_0x332721)break;else _0x324280['push'](_0x324280['shift']());}catch(_0x223b38){_0x324280['push'](_0x324280['shift']());}}}(_0x5be6,0x3d882));import{Context as _0x4a82c1,ContextPlugin as _0x282924}from'ckeditor5/src/core.js';import{CKEditorError as _0x5e5b48}from'ckeditor5/src/utils.js';import{Users as _0x1c0558}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3e7882,User as _0x446602}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xcbbf97}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x440716}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x282924{static [_0x395a89(0x19e)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3e7882)());[_0x395a89(0x152)];static get[_0x395a89(0x18b)](){const _0x370855=_0x395a89;return[_0xcbbf97,_0x370855(0x191),_0x440716,_0x1c0558];}static get[_0x395a89(0x1a1)](){const _0x532588=_0x395a89;return _0x532588(0x164);}static get[_0x395a89(0x1a7)](){return!0x0;}static get[_0x395a89(0x154)](){return!0x0;}constructor(_0x5928f9){const _0x3d2ed2=_0x395a89;super(_0x5928f9),this[_0x3d2ed2(0x152)]=new Map();}async[_0x395a89(0x182)](){const _0x24bb37=_0x395a89,_0x468bf6=this[_0x24bb37(0x16d)],_0x1bf06d=_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0x24bb37(0x191));if(_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0xcbbf97)[_0x24bb37(0x192)](this),_0x1bf06d[_0x24bb37(0x1a0)]={'addCommentThread':async({channelId:_0x5abfc8,threadId:_0x3fdbdb,comments:_0x89f7e6,resolvedAt:_0x3d0430,resolvedBy:_0x26a527,context:_0x4f626b,attributes:_0x448ca4})=>{const _0x15a1db=_0x24bb37,_0x26e6c9=await this[_0x15a1db(0x17d)](_0x5abfc8)[_0x15a1db(0x190)]({'commentThreadId':_0x3fdbdb,'comments':_0x89f7e6[_0x15a1db(0x19a)](_0x99e15d=>function(_0x37ae0c,_0x38650d,_0xb08707){const _0x364abb=_0x15a1db;return{'commentThreadId':_0xb08707,'commentId':_0x37ae0c[_0x364abb(0x15f)],'userId':_0x37ae0c[_0x364abb(0x1b3)],'content':_0x37ae0c[_0x364abb(0x178)],'documentId':_0x38650d,'createdAt':_0x37ae0c[_0x364abb(0x177)],'attributes':_0x37ae0c[_0x364abb(0x16a)]||{}};}(_0x99e15d,_0x5abfc8,_0x3fdbdb)),'resolvedAt':_0x3d0430,'resolvedBy':_0x26a527,'context':_0x4f626b,'attributes':_0x448ca4})[_0x15a1db(0x1b5)](nt);return{'threadId':_0x26e6c9[_0x15a1db(0x174)],'comments':_0x26e6c9[_0x15a1db(0x15a)]};},'getCommentThread':async({channelId:_0x536324,threadId:_0x43c3f4})=>{const _0x25056b=_0x24bb37,_0x25c7d9=await this[_0x25056b(0x17d)](_0x536324)[_0x25056b(0x14d)](_0x43c3f4)[_0x25056b(0x1b5)](ot)[_0x25056b(0x1b5)](nt);return _0x25c7d9?_0x25c7d9[_0x25056b(0x18e)]?null:(await this[_0x25056b(0x16e)]([_0x25c7d9]),{'threadId':_0x25c7d9[_0x25056b(0x174)],'comments':_0x25c7d9[_0x25056b(0x15a)][_0x25056b(0x19a)](st),'context':_0x25c7d9[_0x25056b(0x16d)],'resolvedAt':_0x25c7d9[_0x25056b(0x1ad)],'resolvedBy':_0x25c7d9[_0x25056b(0x17f)],'attributes':_0x25c7d9[_0x25056b(0x16a)]||{}}):null;},'updateCommentThread':async({channelId:_0x24a62e,threadId:_0x52aeac,context:_0x436f91,unlinkedAt:_0x487fd8,attributes:_0x3c7bfd})=>this[_0x24bb37(0x17d)](_0x24a62e)[_0x24bb37(0x175)]({'commentThreadId':_0x52aeac,'context':_0x436f91,'attributes':_0x3c7bfd,'unlinkedAt':_0x487fd8})[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'resolveCommentThread':async({channelId:_0x582a4c,threadId:_0x15c76d})=>{const _0xb56ea=_0x24bb37,_0x270fc6=await this[_0xb56ea(0x17d)](_0x582a4c)[_0xb56ea(0x19f)](_0x15c76d)[_0xb56ea(0x1b5)](ot)[_0xb56ea(0x1b5)](nt);return{'threadId':_0x270fc6[_0xb56ea(0x174)],'resolvedAt':_0x270fc6[_0xb56ea(0x1ad)],'resolvedBy':_0x270fc6[_0xb56ea(0x17f)]};},'reopenCommentThread':async({channelId:_0x3a181b,threadId:_0x244362})=>this[_0x24bb37(0x17d)](_0x3a181b)[_0x24bb37(0x17c)](_0x244362)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'removeCommentThread':({channelId:_0x481f29,threadId:_0x14ff52})=>this[_0x24bb37(0x17d)](_0x481f29)[_0x24bb37(0x1b1)](_0x14ff52)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'addComment':({channelId:_0x6e8a59,threadId:_0x24104d,commentId:_0x5f45d0,content:_0x4200f5,attributes:_0x4cffc7})=>this[_0x24bb37(0x17d)](_0x6e8a59)[_0x24bb37(0x165)](_0x24104d,_0x5f45d0,_0x4200f5,_0x4cffc7)[_0x24bb37(0x1b5)](nt),'updateComment':({channelId:_0x45eaad,threadId:_0xd93de3,commentId:_0xfe510a,content:_0x5176c2,attributes:_0x5999a9})=>this[_0x24bb37(0x17d)](_0x45eaad)[_0x24bb37(0x1a8)](_0xd93de3,_0xfe510a,_0x5176c2,_0x5999a9)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt),'removeComment':({channelId:_0x5a3953,threadId:_0x570790,commentId:_0x11dd33})=>this[_0x24bb37(0x17d)](_0x5a3953)[_0x24bb37(0x199)](_0x570790,_0x11dd33)[_0x24bb37(0x1b5)](ot)[_0x24bb37(0x1b5)](nt)},_0x468bf6 instanceof _0x4a82c1){const _0x379dca=_0x468bf6[_0x24bb37(0x194)][_0x24bb37(0x14e)](_0x24bb37(0x166)),_0x49b7ba=_0x468bf6[_0x24bb37(0x159)][_0x24bb37(0x14e)](_0x440716);await this[_0x24bb37(0x193)](_0x379dca);const _0x12205c=await this[_0x24bb37(0x152)][_0x24bb37(0x14e)](_0x379dca)[_0x24bb37(0x172)]();this[_0x24bb37(0x150)](_0x49b7ba,_0x24bb37(0x17e)+_0x379dca,(_0x534518,{session:_0xfead6f})=>{const _0xd1cd2d=_0x24bb37;_0xfead6f['id']===_0x49b7ba[_0xd1cd2d(0x1b0)]&&(_0x534518[_0xd1cd2d(0x18f)](),this[_0xd1cd2d(0x16d)][_0xd1cd2d(0x159)][_0xd1cd2d(0x14e)](_0xd1cd2d(0x157))[_0xd1cd2d(0x17b)](_0xfead6f[_0xd1cd2d(0x176)],_0x379dca));}),_0x49b7ba[_0x24bb37(0x1ae)](_0x379dca,_0x12205c);}}async[_0x395a89(0x193)](_0x1c54ca){const _0x553ba0=_0x395a89;if(this[_0x553ba0(0x152)][_0x553ba0(0x18a)](_0x1c54ca))throw new _0x5e5b48(_0x553ba0(0x14f),null,{'channelId':_0x1c54ca});const _0x2aa4af=this[_0x553ba0(0x16d)][_0x553ba0(0x159)][_0x553ba0(0x14e)](_0x553ba0(0x191)),_0x5625a0=new CloudServicesCommentsAdapter[(_0x553ba0(0x19e))](_0x1c54ca);this[_0x553ba0(0x152)][_0x553ba0(0x16c)](_0x1c54ca,_0x5625a0),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1a3),(_0x4be659,_0x472b8a)=>{const _0x397506=_0x553ba0,{commentThreadId:_0x5658c6,documentId:_0x3ce62a,context:_0x474965,attributes:_0x39be7a,resolvedAt:_0x1e9ac9,resolvedBy:_0x1f0ba7,comments:_0x4446a4}=_0x472b8a;_0x2aa4af[_0x397506(0x14d)](_0x5658c6)||_0x2aa4af[_0x397506(0x190)]({'threadId':_0x5658c6,'channelId':_0x3ce62a,'comments':_0x4446a4?_0x4446a4[_0x397506(0x19a)](st):[],'context':_0x474965,'attributes':_0x39be7a,'resolvedAt':_0x1e9ac9,'resolvedBy':_0x1f0ba7,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x160),(_0x1d7000,{commentThreadId:_0x5a5fd0,documentId:_0x3aecc5,context:_0x412292,unlinkedAt:_0x5f1ade,attributes:_0x26856a})=>{const _0xd3c2f8=_0x553ba0;_0x2aa4af[_0xd3c2f8(0x14d)](_0x5a5fd0)&&_0x2aa4af[_0xd3c2f8(0x175)]({'threadId':_0x5a5fd0,'channelId':_0x3aecc5,'context':_0x412292,'unlinkedAt':_0x5f1ade,'attributes':_0x26856a,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x151),(_0x1bae88,{commentThreadId:_0x55667b,resolvedBy:_0x687b58,resolvedAt:_0x1f1424})=>{const _0x1bd897=_0x553ba0,_0x23da21=_0x2aa4af[_0x1bd897(0x14d)](_0x55667b);_0x23da21&&_0x23da21[_0x1bd897(0x15d)]({'resolvedBy':_0x687b58,'resolvedAt':_0x1f1424,'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x162),(_0x51b7bc,{commentThreadId:_0x1b82a3})=>{const _0x58f5c9=_0x553ba0,_0x45c7d7=_0x2aa4af[_0x58f5c9(0x14d)](_0x1b82a3);_0x45c7d7&&_0x45c7d7[_0x58f5c9(0x163)]({'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1a5),(_0x37654c,{commentThreadId:_0x246d46})=>{const _0x50b145=_0x553ba0,_0x5d3a0c=_0x2aa4af[_0x50b145(0x14d)](_0x246d46);_0x5d3a0c&&_0x5d3a0c[_0x50b145(0x195)]({'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x179),(_0x32670a,_0x4663ef)=>{const _0x3f55e3=_0x553ba0,_0x2cc9a4=_0x4663ef[_0x3f55e3(0x174)],_0x239b93=_0x2aa4af[_0x3f55e3(0x14d)](_0x2cc9a4);_0x239b93&&_0x239b93[_0x3f55e3(0x165)]({...st(_0x4663ef),'isFromAdapter':!0x0});}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x1af),(_0x261924,{commentThreadId:_0x9a4e2b,commentId:_0x538786,content:_0x1a7435,attributes:_0x3e3ca7})=>{const _0x161424=_0x553ba0,_0xf5e3f4=_0x2aa4af[_0x161424(0x14d)](_0x9a4e2b);if(_0xf5e3f4){const _0x62c3ba=_0xf5e3f4[_0x161424(0x1a4)](_0x538786);_0x62c3ba&&_0x62c3ba[_0x161424(0x169)]({'content':_0x1a7435,'attributes':_0x3e3ca7,'isFromAdapter':!0x0});}}),this[_0x553ba0(0x150)](_0x5625a0,_0x553ba0(0x168),(_0xd68f1f,{commentThreadId:_0x5e5444,commentId:_0x200a97})=>{const _0x2b1841=_0x553ba0,_0x151225=_0x2aa4af[_0x2b1841(0x14d)](_0x5e5444);if(_0x151225){const _0x1ff815=_0x151225[_0x2b1841(0x1a4)](_0x200a97);_0x1ff815&&_0x1ff815[_0x2b1841(0x195)]({'isFromAdapter':!0x0});}}),await this[_0x553ba0(0x156)](_0x1c54ca);}[_0x395a89(0x1a2)](){const _0x38ee87=_0x395a89;if(this[_0x38ee87(0x16d)]instanceof _0x4a82c1){const _0x2fbb2a=this[_0x38ee87(0x16d)][_0x38ee87(0x194)][_0x38ee87(0x14e)](_0x38ee87(0x166));this[_0x38ee87(0x1b4)](_0x2fbb2a);}}[_0x395a89(0x1b4)](_0x22d196){const _0x2f785e=_0x395a89;if(!this[_0x2f785e(0x152)][_0x2f785e(0x18a)](_0x22d196))throw new _0x5e5b48(_0x2f785e(0x155),null,{'channelId':_0x22d196});this[_0x2f785e(0x17d)](_0x22d196)[_0x2f785e(0x183)](),this[_0x2f785e(0x152)][_0x2f785e(0x185)](_0x22d196);}async[_0x395a89(0x167)](){const _0x131d73=_0x395a89;for(const _0x381c54 of this[_0x131d73(0x152)][_0x131d73(0x181)]())await this[_0x131d73(0x156)](_0x381c54);if(this[_0x131d73(0x16d)]instanceof _0x4a82c1){const _0x57e68a=this[_0x131d73(0x16d)][_0x131d73(0x194)][_0x131d73(0x14e)](_0x131d73(0x166)),_0x40478a=this[_0x131d73(0x16d)][_0x131d73(0x159)][_0x131d73(0x14e)](_0x440716);_0x40478a[_0x131d73(0x180)](_0x57e68a);const _0x19e611=await this[_0x131d73(0x152)][_0x131d73(0x14e)](_0x57e68a)[_0x131d73(0x172)]();_0x40478a[_0x131d73(0x1ae)](_0x57e68a,_0x19e611);}}async[_0x395a89(0x156)](_0x4c17f1){const _0x2b41bf=_0x395a89,{connection:_0x893182}=this[_0x2b41bf(0x16d)][_0x2b41bf(0x159)][_0x2b41bf(0x14e)](_0xcbbf97),_0x4bd74b=this[_0x2b41bf(0x16d)][_0x2b41bf(0x159)][_0x2b41bf(0x14e)](_0x2b41bf(0x191)),_0x5d441c=this[_0x2b41bf(0x152)][_0x2b41bf(0x14e)](_0x4c17f1),_0x2e557c=await _0x5d441c[_0x2b41bf(0x1aa)](_0x893182);await this[_0x2b41bf(0x16e)](_0x2e557c);const _0x5ca0c5=new Set(Array[_0x2b41bf(0x188)](_0x4bd74b[_0x2b41bf(0x173)]({'channelId':_0x4c17f1}),_0x3f1fae=>_0x3f1fae['id']));for(const _0x98b52b of _0x2e557c)_0x98b52b[_0x2b41bf(0x18e)]||_0x5ca0c5[_0x2b41bf(0x185)](_0x98b52b[_0x2b41bf(0x174)]);for(const _0x42b04f of _0x5ca0c5)_0x4bd74b[_0x2b41bf(0x14d)](_0x42b04f)[_0x2b41bf(0x195)]({'isFromAdapter':!0x0});for(const _0x469753 of _0x2e557c){let _0x19d35c=_0x4bd74b[_0x2b41bf(0x14d)](_0x469753[_0x2b41bf(0x174)]);const {commentThreadId:_0x32aed6,context:_0x398e35,attributes:_0xb94970,resolvedBy:_0x4443be,resolvedAt:_0x474150,unlinkedAt:_0x385c3b,deletedAt:_0x35e33b}=_0x469753;if(_0x35e33b)continue;_0x19d35c||(_0x19d35c=_0x4bd74b[_0x2b41bf(0x190)]({'channelId':_0x4c17f1,'threadId':_0x32aed6,'context':_0x398e35,'attributes':_0xb94970||{},'resolvedBy':_0x4443be,'resolvedAt':_0x474150,'unlinkedAt':_0x385c3b,'isFromAdapter':!0x0}));const _0x5eecf2=new Set(Array[_0x2b41bf(0x188)](_0x19d35c[_0x2b41bf(0x15a)],_0x3c9cf9=>_0x3c9cf9['id']));for(const _0x33eae5 of _0x469753[_0x2b41bf(0x15a)])_0x5eecf2[_0x2b41bf(0x185)](_0x33eae5[_0x2b41bf(0x15f)]);for(const _0x14287e of _0x5eecf2)_0x19d35c[_0x2b41bf(0x1a4)](_0x14287e)[_0x2b41bf(0x195)]({'isFromAdapter':!0x0});for(const _0x1d50e8 of _0x469753[_0x2b41bf(0x15a)]){const _0x3b2a71=_0x19d35c[_0x2b41bf(0x1a4)](_0x1d50e8[_0x2b41bf(0x15f)]);_0x3b2a71?_0x3b2a71[_0x2b41bf(0x178)]!==_0x1d50e8[_0x2b41bf(0x178)]&&_0x3b2a71[_0x2b41bf(0x169)]({'content':_0x1d50e8[_0x2b41bf(0x178)],'isFromAdapter':!0x0}):_0x19d35c[_0x2b41bf(0x165)](Object[_0x2b41bf(0x171)](st(_0x1d50e8),{'isFromAdapter':!0x0}));}}}[_0x395a89(0x17d)](_0x4b4426){const _0x58647f=_0x395a89;if(!this[_0x58647f(0x152)][_0x58647f(0x18a)](_0x4b4426))throw new _0x5e5b48(_0x58647f(0x1a9),null,{'channelId':_0x4b4426});return this[_0x58647f(0x152)][_0x58647f(0x14e)](_0x4b4426);}async[_0x395a89(0x16e)](_0xb7098e){const _0x51d47f=_0x395a89,_0x247010=this[_0x51d47f(0x16d)][_0x51d47f(0x159)][_0x51d47f(0x14e)](_0x1c0558),{connection:_0x46ee7b}=this[_0x51d47f(0x16d)][_0x51d47f(0x159)][_0x51d47f(0x14e)](_0xcbbf97),_0x1f47f3=new Set();for(const {resolvedBy:_0x2f9408,comments:_0x5d0e03}of _0xb7098e){_0x2f9408&&!_0x247010[_0x51d47f(0x186)](_0x2f9408)&&_0x1f47f3[_0x51d47f(0x184)](_0x2f9408);for(const {userId:_0x522194}of _0x5d0e03)_0x247010[_0x51d47f(0x186)](_0x522194)||_0x1f47f3[_0x51d47f(0x184)](_0x522194);}if(0x0===_0x1f47f3[_0x51d47f(0x197)])return;const _0x1b49e0=await _0x446602[_0x51d47f(0x158)](_0x46ee7b,Array[_0x51d47f(0x188)](_0x1f47f3));for(const _0x5860cf of _0x1b49e0)_0x247010[_0x51d47f(0x186)](_0x5860cf['id'])||_0x247010[_0x51d47f(0x189)](_0x5860cf);}}async function ot(_0x9ab7cd){const _0x3db1cc=_0x395a89;if(_0x3db1cc(0x187)!==_0x9ab7cd[_0x3db1cc(0x198)])throw _0x9ab7cd;}function nt(_0xcf907d){const _0x3757a5=_0x395a89;if((_0x434f56=_0xcf907d)[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x1b2))||_0x434f56[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x196))||_0x434f56[_0x3757a5(0x1a6)][_0x3757a5(0x161)](_0x3757a5(0x1ab)))return new Promise(()=>{});var _0x434f56;throw _0xcf907d;}function st(_0xcf2fe6){const _0x17bc7a=_0x395a89;return{'threadId':_0xcf2fe6[_0x17bc7a(0x174)],'commentId':_0xcf2fe6[_0x17bc7a(0x15f)],'content':_0xcf2fe6[_0x17bc7a(0x178)],'createdAt':_0xcf2fe6[_0x17bc7a(0x177)],'authorId':_0xcf2fe6[_0x17bc7a(0x15e)],'attributes':_0xcf2fe6[_0x17bc7a(0x16a)]||{}};}function _0x5be6(){const _0x4460b5=['cloudservicescommentsadapter-disconnect-not-exist','_connectService','Permissions','getMany','plugins','comments','4DeWjml','253AFmClv','resolve','userId','commentId','commentThreadUpdated','startsWith','commentThreadReopened','reopen','CloudServicesCommentsAdapter','addComment','collaboration.channelId','reconnect','commentRemoved','update','attributes','3eBTeli','set','context','_fetchMissingUsersForThreads','132433weqRWr','91710RNtCad','assign','getConnectedSessions','getCommentThreads','commentThreadId','updateCommentThread','permissions','createdAt','content','commentAdded','3179672sWKRix','setPermissions','reopenCommentThread','_getService','sessionAdd:','resolvedBy','unregister','keys','init','disconnect','add','delete','getUser','404','from','addUser','has','requires','1242090gbLxXO','217440hypLOR','deletedAt','off','addCommentThread','CommentsRepository','addToReconnectionStack','_setUpService','config','remove','cloud-services-internal-error:\x20Not\x20connected.','size','code','removeComment','map','150DOEYXV','171550CvEaUd','952050LJhRKp','CommentsService','resolveCommentThread','adapter','pluginName','destroy','commentThreadAdded','getComment','commentThreadRemoved','message','isOfficialPlugin','updateComment','cloudservicescommentsadapter-service-not-exist','connect','cloud-services-internal-error:\x20Request\x20timeout.','689jiBssx','resolvedAt','register','commentUpdated','mySessionId','removeCommentThread','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','authorId','_terminateService','catch','getCommentThread','get','cloudservicescommentsadapter-connect-already-connected','listenTo','commentThreadResolved','_services','9DnqGuK','isPremiumPlugin'];_0x5be6=function(){return _0x4460b5;};return _0x5be6();}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x439473=_0x1f13;(function(_0x5c1c32,_0x13d3d1){const _0x464f17=_0x1f13,_0x467366=_0x5c1c32();while(!![]){try{const _0x52c3d3=parseInt(_0x464f17(0xd2))/0x1+parseInt(_0x464f17(0x10a))/0x2*(parseInt(_0x464f17(0xe1))/0x3)+parseInt(_0x464f17(0x16f))/0x4+parseInt(_0x464f17(0xd3))/0x5+-parseInt(_0x464f17(0x117))/0x6*(parseInt(_0x464f17(0xdc))/0x7)+parseInt(_0x464f17(0xfa))/0x8*(parseInt(_0x464f17(0x1a2))/0x9)+-parseInt(_0x464f17(0xb0))/0xa;if(_0x52c3d3===_0x13d3d1)break;else _0x467366['push'](_0x467366['shift']());}catch(_0x1e6bd5){_0x467366['push'](_0x467366['shift']());}}}(_0x17b3,0xb7e1b));import{Plugin as _0x24ba6c,PendingActions as _0x20a619}from'ckeditor5/src/core.js';import{CKEditorError as _0x592ff1,version as _0xc3d60b,uid as _0x1b8bca}from'ckeditor5/src/utils.js';function _0x17b3(){const _0x14beb2=['_document','_lastSyncedOperationId','loadRoot','8LLxFaV','roots','change:range','connected','_isConnected','filter','_handleSendingSelectionMarkers','PENDING_ACTION_SENDING_DATA','lastDocumentSession','isUndoneOperation','reset','CollaborativeEditingService','_setPendingAction','document:write','collaboration','multi-root-editor-root-attributes-no-root','542ulKFvv','addRoot','getDocumentDetails','createPositionAt','requires','realtimecollaborationclient-error','sendOperations','_pendingAction','getOperations','_saveOperationInBuffer','_handleReconnectionResponse','RealTimeCollaborationClient','isOfficialPlugin','73212wJTLTJ','_isLoaded','view','addRootAttribute','_channelId','_loadRoot','The\x20last\x20saved\x20version\x20of\x20the\x20document\x20does\x20not\x20match\x20the\x20local\x20version.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','ready','_crash','stopListening','offset','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','permissions','end','_addKnownRoot','_isPendingUpdate','lastSyncVersion','startsWith','Notification','wereChangesApplied','attributes','addUser','_initSessionsHandling','realtimecollaborationclient-sendbufferedoperations','plugins','toJSON','listenTo','createRoot','getUser','_hasSelectionChanged','affectsData','404','realtimecollaborationclient-init-service-incorrect-server-operation','compress','$root','locale','start','setPermissions','_ignoredOperations','insert','_isDisconnection','getRoot','_waitUntilSynced','cloudServices.bundleVersion','push','_knownRootNames','_isInit','getIdOfTheLastOperation','initData','_compressor','_operationToId','_sendBufferedOperationsDelayId','code','_currentBufferDelay','_connectService','createUserMarkerOperations','editor','parse','_refreshUserSelectionMarkers','keys','apply','cloud-services-internal-error:\x20Not\x20connected.','directChange','_connectAfterSessionHasBeenFlushed','bind','baseVersion','pluginName','slice','cloudDocumentVersion','state','applyOperation','isDocumentOperation','document','_sendBufferedOperationsDelayed','fromJSON','lastOperationAcceptedAt','round','entries','catch','_authorId','_decompressOperations','_lastServerVersion','getConnectedSessions','_handleReceivedOperations','suppressErrorInCollaboration','set','409','off','3294188sLnxeq','_offset','data','stop','enableReadOnlyMode','selection','rtc-destroyed','_clearPendingAction','realtimecollaborationclient-init-session-connection-error','_updateServerHistory','change:hasDomSelection','disconnect','_applyOperationsSet','size','real-time-collaboration','_setUpDataInit','_knownOperations','_isEditingAllowed','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','userId','root','lastOperationId','sessionId','clone','operationsReceived','_hasSynchronizationProblem','_initThrowingOnDataSet','realtimecollaborationclient-init-non-existent-root','reconnect','wasUndone','unregister','has','disconnected','change:_isPendingUpdate','_service','mySessionId','string','connect','setIdForTheLastOperation','add','change:_isEditingAllowed','rootsAttributes','register','history','_handleServerResponse','targetPosition','marker','_sendBufferedOperations','get','realtimecollaborationclient-init-service-internal-error','serverHistory','5699763vUZAaC','move','removeFromReconnectionStack','collaboration-missing-channelid','type','_bufferRootLoad','fire','version','_shouldSendUpdate','getOperationAuthor','getMany','_disconnectionOperations','addOperation','createRange','error','_shouldSendSelectionUpdate','addToReconnectionStack','collaboration.channelId','markers','_getAffectedRoot','20363250BiKewV','_baseBufferDelay','realtimecollaborationclient','map','_getOperationsFromInitData','from','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','destroy','includes','cloud-services-internal-error:\x20Request\x20timeout.','createPositionFromPath','CommentsOnly','realtimecollaborationclient-init-document-already-initialized','sessionAdd:','cs:removeUser','_isAttached','model','realtimecollaborationclient-handleserverresponse','high','_handleExternalOperations','finally','_operationIdentifier','init','batch','decompress','_fetchMissingUsers','rtc-offline','isEnabled','realtimecollaborationclient-init-connection-failed','editing','rootName','_bufferedOperations','define','_handleInitialConnectionData','633469DyBNQe','2362350FdFpam','Synchronization\x20issue','differ','newRange','Permissions','connection','remove','forEach','InsertOperation','658uxAKfD','reconnection:\x20flushed\x20session','affectedSelectable','isReadOnly','message','15207rfIKsA','channelSessions','_handleReconnectionError','sessionCreatedAt','_disconnectService','metadata','position','createdAt','isPremiumPlugin','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_compressOperations','showWarning','return','enqueueChange','config','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','__className','then','path','currentDocumentSession','length','disableReadOnlyMode'];_0x17b3=function(){return _0x14beb2;};return _0x17b3();}import{Notification as _0x310613}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x32c157,NoOperation as _0x4af62a,InsertOperation as _0x3b185e,MarkerOperation as _0x1a6d43,RootAttributeOperation as _0x38d8cb,OperationFactory as _0x5b9be5,History as _0x56fb15}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x4c2312}from'./websocketgateway.js';import{Sessions as _0x356b98}from'./sessions.js';import{UserMarkers as _0x4a0eb9}from'./usermarkers.js';import{getTranslation as _0x4a07c4}from'../common-translations.js';import{Compressor as _0x306007}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x50077c}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x8c6bbf,CollaborativeEditingService as _0x5139e2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;export class RealTimeCollaborationClient extends _0x24ba6c{static [_0x439473(0x105)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x5139e2)());[_0x439473(0x170)];[_0x439473(0x185)];[_0x439473(0x1a1)];[_0x439473(0x11b)];[_0x439473(0x191)];[_0x439473(0xf7)];[_0x439473(0x148)];[_0x439473(0xcf)];[_0x439473(0x17f)];[_0x439473(0x144)];[_0x439473(0x111)];[_0x439473(0x134)];[_0x439473(0x14a)];[_0x439473(0xb1)];[_0x439473(0x14c)];[_0x439473(0xf8)];[_0x439473(0xa7)];[_0x439473(0xc5)];static get[_0x439473(0x10e)](){return[_0x4c2312,_0x356b98,_0x4a0eb9,_0x20a619,_0x50077c,_0x310613];}static get[_0x439473(0x159)](){const _0x4d30e5=_0x439473;return _0x4d30e5(0x115);}static get[_0x439473(0x116)](){return!0x0;}static get[_0x439473(0xe9)](){return!0x0;}get[_0x439473(0x15b)](){const _0x32a9f7=_0x439473;return this[_0x32a9f7(0x168)]+this[_0x32a9f7(0x170)];}get[_0x439473(0x168)](){const _0x3589aa=_0x439473;return this[_0x3589aa(0x1a1)][_0x3589aa(0x1a9)]-this[_0x3589aa(0x170)];}get[_0x439473(0x127)](){const _0x4d4d81=_0x439473,_0x594ecf=this[_0x4d4d81(0x1a1)][_0x4d4d81(0x112)]();for(let _0x383fa6=_0x594ecf[_0x4d4d81(0xf5)]-0x1;_0x383fa6>=0x0;_0x383fa6--){const _0x1b343a=_0x594ecf[_0x383fa6];if(!this[_0x4d4d81(0xa7)][_0x4d4d81(0x18e)](_0x1b343a))return _0x1b343a[_0x4d4d81(0x158)]+0x1-this[_0x4d4d81(0x170)];}return 0x0;}constructor(_0x3ccf22){const _0x1d7fad=_0x439473;if(super(_0x3ccf22),this[_0x1d7fad(0x170)]=0x0,this[_0x1d7fad(0x185)]=null,this[_0x1d7fad(0x1a1)]=new _0x56fb15(),this[_0x1d7fad(0x14f)][_0x1d7fad(0xef)][_0x1d7fad(0xd0)](_0x1d7fad(0x108),{}),this[_0x1d7fad(0x11b)]=this[_0x1d7fad(0x14f)][_0x1d7fad(0xef)][_0x1d7fad(0x19f)](_0x1d7fad(0xad)),!this[_0x1d7fad(0x11b)])throw new _0x592ff1(_0x1d7fad(0x1a5),this);const _0x4dce63=_0x3ccf22[_0x1d7fad(0xef)][_0x1d7fad(0x19f)](_0x1d7fad(0x142))||_0xc3d60b;this[_0x1d7fad(0x191)]=new RealTimeCollaborationClient[(_0x1d7fad(0x105))](_0x4dce63,this[_0x1d7fad(0x11b)]),this[_0x1d7fad(0xf7)]=this[_0x1d7fad(0x14f)][_0x1d7fad(0xc0)][_0x1d7fad(0x15f)],this[_0x1d7fad(0x148)]=new _0x306007(),this[_0x1d7fad(0xcf)]=[],this[_0x1d7fad(0x17f)]=new WeakSet(),this[_0x1d7fad(0x144)]=new Set(),this[_0x1d7fad(0x16c)](_0x1d7fad(0x126),!0x1),this[_0x1d7fad(0x16c)](_0x1d7fad(0x188),!0x1),this[_0x1d7fad(0x111)]=null,this[_0x1d7fad(0x134)]=!0x1,this[_0x1d7fad(0x14a)]=null,this[_0x1d7fad(0xb1)]=0x12c,this[_0x1d7fad(0x14c)]=this[_0x1d7fad(0xb1)],this[_0x1d7fad(0xf8)]=null,this[_0x1d7fad(0xa7)]=new WeakSet(),this[_0x1d7fad(0xc5)]=new tt(this[_0x1d7fad(0xa7)]);}[_0x439473(0xc6)](){const _0xb4844a=_0x439473,_0x1fb3cc=this[_0xb4844a(0x14f)],_0x59a960=_0x1fb3cc[_0xb4844a(0x12f)][_0xb4844a(0x19f)](_0x50077c),_0x25d6c0=_0x1fb3cc[_0xb4844a(0x12f)][_0xb4844a(0x19f)](_0x4c2312);this[_0xb4844a(0x131)](_0x59a960,_0xb4844a(0x1ab),(_0x589d45,_0x2e9051)=>{const _0x1ece38=_0xb4844a,_0x22fc5b=_0x2e9051[0x0];_0x22fc5b[_0x1ece38(0x166)]&&(_0x589d45[_0x1ece38(0xed)]=_0x59a960[_0x1ece38(0x133)](_0x22fc5b[_0x1ece38(0x166)]),_0x589d45[_0x1ece38(0x172)]()),null===_0x22fc5b[_0x1ece38(0x166)]&&(_0x589d45[_0x1ece38(0xed)]=null,_0x589d45[_0x1ece38(0x172)]());},{'priority':_0xb4844a(0xc2)}),this[_0xb4844a(0x131)](_0x1fb3cc[_0xb4844a(0xc0)][_0xb4844a(0x15f)][_0xb4844a(0x174)],_0xb4844a(0xfc),(_0x3221ff,_0x4e51d7)=>{const _0x5355f7=_0xb4844a;_0x4e51d7[_0x5355f7(0x155)]&&this[_0x5355f7(0x151)]();}),this[_0xb4844a(0x131)](_0x1fb3cc[_0xb4844a(0xcd)][_0xb4844a(0x119)],_0xb4844a(0x179),()=>{const _0x358563=_0xb4844a;this[_0x358563(0x151)]();}),this[_0xb4844a(0x189)](),_0x1fb3cc[_0xb4844a(0xc0)]['on'](_0xb4844a(0x15d),(_0x1b5b81,_0x3519c5)=>{const _0x168b51=_0xb4844a,_0x3865c5=_0x3519c5[0x0];_0x3865c5[_0x168b51(0x15e)]&&(this[_0x168b51(0x113)](_0x3865c5),this[_0x168b51(0x1aa)]()&&this[_0x168b51(0x160)]());}),this[_0xb4844a(0x17e)](),this[_0xb4844a(0x157)](_0xb4844a(0x180))['to'](_0x25d6c0,_0xb4844a(0x15c),this,_0xb4844a(0x188),(_0x2a6ef2,_0x852e30)=>_0xb4844a(0xfd)===_0x2a6ef2&&!_0x852e30),this['on'](_0xb4844a(0x197),()=>{const _0x4cdca6=_0xb4844a;this[_0x4cdca6(0x180)]?_0x1fb3cc[_0x4cdca6(0xf6)](_0x4cdca6(0xca)):_0x1fb3cc[_0x4cdca6(0x173)](_0x4cdca6(0xca));}),this[_0xb4844a(0x180)]?_0x1fb3cc[_0xb4844a(0xf6)](_0xb4844a(0xca)):_0x1fb3cc[_0xb4844a(0x173)](_0xb4844a(0xca)),this[_0xb4844a(0x16c)](_0xb4844a(0xfe),!0x1);}async[_0x439473(0x18b)](){const _0x223f8f=_0x439473,_0x4762cd=this[_0x223f8f(0x14f)][_0x223f8f(0x12f)][_0x223f8f(0x19f)](_0x356b98),_0x2bc8e1=this[_0x223f8f(0x14f)][_0x223f8f(0x12f)][_0x223f8f(0x19f)](_0x4c2312);try{this[_0x223f8f(0x126)]=!0x0,_0x4762cd[_0x223f8f(0x18d)](this[_0x223f8f(0x11b)]);const _0x434750=await this[_0x223f8f(0x191)][_0x223f8f(0x18b)](_0x2bc8e1[_0x223f8f(0xd8)],this[_0x223f8f(0x127)]);await this[_0x223f8f(0x114)](_0x434750)&&(this[_0x223f8f(0x126)]=!0x1,this[_0x223f8f(0x176)]());const _0x1b78cc=await this[_0x223f8f(0x191)][_0x223f8f(0x169)]();_0x4762cd[_0x223f8f(0x199)](this[_0x223f8f(0x11b)],_0x1b78cc),this[_0x223f8f(0x100)](),this[_0x223f8f(0xfe)]=!0x0;}catch(_0x3794d1){if(function(_0x38c8ed){const _0x44bfa4=_0x223f8f;return _0x44bfa4(0x136)===_0x38c8ed[_0x44bfa4(0x14b)];}(_0x3794d1)&&this[_0x223f8f(0x185)])await this[_0x223f8f(0x156)]();else{if(function(_0x42ee5e){const _0x13b6cf=_0x223f8f;return _0x13b6cf(0x16d)===_0x42ee5e[_0x13b6cf(0x14b)];}(_0x3794d1)){const _0x4c5836=_0x4a07c4(this[_0x223f8f(0x14f)][_0x223f8f(0x13a)],_0x223f8f(0xb6));this[_0x223f8f(0xe3)](_0x4c5836);}else{if(!(_0x3794d1 instanceof Y))throw _0x3794d1;this[_0x223f8f(0xe3)]();}}}}[_0x439473(0xb7)](){const _0x5801d7=_0x439473,_0x392048=this[_0x5801d7(0x14f)][_0x5801d7(0x12f)][_0x5801d7(0x19f)](_0x4c2312),_0x3db315=this[_0x5801d7(0x14f)][_0x5801d7(0x12f)][_0x5801d7(0x19f)](_0x356b98);this[_0x5801d7(0x14f)][_0x5801d7(0x173)](_0x5801d7(0x175)),_0x3db315[_0x5801d7(0xe2)][_0x5801d7(0x18e)](this[_0x5801d7(0x11b)])&&_0x3db315[_0x5801d7(0x18d)](this[_0x5801d7(0x11b)]),_0x392048[_0x5801d7(0x1a4)](this),this[_0x5801d7(0xe5)](),super[_0x5801d7(0xb7)]();}async[_0x439473(0x114)](_0x3e4407){const _0x5d8991=_0x439473;if(this[_0x5d8991(0x185)]!==_0x3e4407[_0x5d8991(0x185)]&&this[_0x5d8991(0xf8)]!==_0x3e4407[_0x5d8991(0x184)])throw new Y();return this[_0x5d8991(0x185)]=_0x3e4407[_0x5d8991(0x185)],this[_0x5d8991(0x19b)]([],{..._0x3e4407,'wereChangesApplied':!0x1,'data':_0x3e4407[_0x5d8991(0x171)]},_0x5d8991(0x18b));}async[_0x439473(0x14d)](_0x37e2db,_0x37fd3e=!0x1){const _0x16f4c8=_0x439473,{connection:_0x126de6}=this[_0x16f4c8(0x14f)][_0x16f4c8(0x12f)][_0x16f4c8(0x19f)](_0x4c2312);RealTimeCollaborationClient[_0x16f4c8(0x105)][_0x16f4c8(0x169)](_0x126de6,this[_0x16f4c8(0x11b)])[_0x16f4c8(0xf2)](_0x323a60=>this[_0x16f4c8(0x12d)](_0x323a60))[_0x16f4c8(0x165)](_0x51b815=>{const _0x5a34b7=_0x16f4c8;this[_0x5a34b7(0x11f)](_0x5a34b7(0x177),_0x51b815);}),this[_0x16f4c8(0x131)](this[_0x16f4c8(0x191)],_0x16f4c8(0x187),this[_0x16f4c8(0x16a)][_0x16f4c8(0x157)](this)),this[_0x16f4c8(0x131)](this[_0x16f4c8(0x191)],_0x16f4c8(0xaa),(_0x2a5588,_0x1006d8)=>{const _0x455b04=_0x16f4c8;this[_0x455b04(0x11f)](_0x455b04(0x1a0),_0x1006d8);}),this[_0x16f4c8(0x131)](this[_0x16f4c8(0x191)],_0x16f4c8(0x18f),()=>{const _0x392f90=_0x16f4c8;this[_0x392f90(0xfe)]=!0x1;});const _0x8e173d=this[_0x16f4c8(0xc5)][_0x16f4c8(0x146)](_0x37e2db);this[_0x16f4c8(0x126)]=!0x0;const _0x290bdd=await this[_0x16f4c8(0x191)][_0x16f4c8(0x194)](_0x126de6,this[_0x16f4c8(0xeb)](_0x37e2db),_0x8e173d);if(this[_0x16f4c8(0x185)]=_0x290bdd[_0x16f4c8(0x185)],_0x37fd3e){if(!_0x290bdd[_0x16f4c8(0x12a)])return void this[_0x16f4c8(0xe3)]();this[_0x16f4c8(0x126)]=!0x1,this[_0x16f4c8(0x176)](),this[_0x16f4c8(0x1a1)][_0x16f4c8(0x104)](),this[_0x16f4c8(0x170)]=_0x290bdd[_0x16f4c8(0x121)],this[_0x16f4c8(0x1a1)][_0x16f4c8(0x1a9)]=this[_0x16f4c8(0x170)],await this[_0x16f4c8(0x19b)](_0x37e2db,_0x290bdd,_0x16f4c8(0xdd));}else await this[_0x16f4c8(0xd1)](_0x290bdd,_0x37e2db);this[_0x16f4c8(0x100)](),this[_0x16f4c8(0xfe)]=!0x0;}[_0x439473(0x100)](){const _0x38a2b9=_0x439473,_0x19dc38=this[_0x38a2b9(0x14f)][_0x38a2b9(0x12f)][_0x38a2b9(0x19f)](_0x356b98),_0xb3de6d=this[_0x38a2b9(0x14f)][_0x38a2b9(0x12f)][_0x38a2b9(0x19f)](_0x4a0eb9),_0x4ee8f5=_0x19dc38[_0x38a2b9(0xe2)][_0x38a2b9(0x19f)](this[_0x38a2b9(0x11b)]);_0x4ee8f5&&_0x4ee8f5[_0x38a2b9(0xf5)]>0x1?_0xb3de6d[_0x38a2b9(0x14e)]():this[_0x38a2b9(0x131)](_0x19dc38,_0x38a2b9(0xbd)+this[_0x38a2b9(0x11b)],()=>{const _0x48a7f7=_0x38a2b9;0x2===_0x19dc38[_0x48a7f7(0xe2)][_0x48a7f7(0x19f)](this[_0x48a7f7(0x11b)])[_0x48a7f7(0xf5)]&&_0xb3de6d[_0x48a7f7(0x14e)]();});}async[_0x439473(0x16a)](_0x1b44c9,_0x463721,_0x505902,_0x3d87fe){const _0xe8c8ec=_0x439473;if(!this[_0xe8c8ec(0x126)]&&this[_0xe8c8ec(0xf7)][_0xe8c8ec(0x1a9)]==_0x463721){const _0x3381f3=this[_0xe8c8ec(0x167)](_0x505902,_0x3d87fe);await this[_0xe8c8ec(0xc9)](_0x3381f3),this[_0xe8c8ec(0xc3)](_0x3381f3,_0x463721,_0x505902[_0xe8c8ec(0x184)])||this[_0xe8c8ec(0x11f)](_0xe8c8ec(0x137));}}async[_0x439473(0x156)](){const _0x3c2c7f=_0x439473;this[_0x3c2c7f(0xe5)]();const {locale:_0x443ffc}=this[_0x3c2c7f(0x14f)];let _0x5e077c;try{_0x5e077c=await this[_0x3c2c7f(0x191)][_0x3c2c7f(0x10c)]();}catch{const _0x43fbd1=_0x4a07c4(_0x443ffc,_0x3c2c7f(0x181));return void this[_0x3c2c7f(0xe3)](_0x43fbd1);}const _0xdeedbc=_0x5e077c[_0x3c2c7f(0xf4)]||_0x5e077c[_0x3c2c7f(0x102)];if(this[_0x3c2c7f(0xf8)]!==_0xdeedbc[_0x3c2c7f(0x184)]){const _0x3a8c41=_0x4a07c4(_0x443ffc,_0x3c2c7f(0x11d));return void this[_0x3c2c7f(0xe3)](_0x3a8c41);}await this[_0x3c2c7f(0x14d)](this[_0x3c2c7f(0x14f)][_0x3c2c7f(0xc0)][_0x3c2c7f(0x15f)][_0x3c2c7f(0x19a)][_0x3c2c7f(0x112)](),!0x0);}[_0x439473(0xe5)](){const _0x1b48a1=_0x439473;this[_0x1b48a1(0x191)][_0x1b48a1(0x17a)](),this[_0x1b48a1(0xcf)]=[],clearTimeout(this[_0x1b48a1(0x14a)]),this[_0x1b48a1(0x120)](this[_0x1b48a1(0x191)]);}[_0x439473(0x12d)](_0x317565){const _0x24dd74=_0x439473,_0x2034f2=this[_0x24dd74(0x14f)][_0x24dd74(0x12f)][_0x24dd74(0x19f)](_0x356b98);this[_0x24dd74(0x131)](_0x2034f2,_0x24dd74(0xbd)+this[_0x24dd74(0x11b)],(_0x3072ce,{session:_0x823961})=>{const _0x352561=_0x24dd74;if(_0x823961['id']===_0x2034f2[_0x352561(0x192)]){_0x3072ce[_0x352561(0x16e)]();const _0x2ebfa1=this[_0x352561(0x14f)][_0x352561(0x12f)][_0x352561(0x18e)](_0x352561(0xbb))&&this[_0x352561(0x14f)][_0x352561(0x12f)][_0x352561(0x19f)](_0x352561(0xbb));let _0x4a2176=_0x823961[_0x352561(0x123)];_0x2ebfa1&&_0x2ebfa1[_0x352561(0xcb)]&&(_0x4a2176=_0x4a2176[_0x352561(0xff)](_0xca0d6e=>_0x352561(0x107)!==_0xca0d6e)),this[_0x352561(0x14f)][_0x352561(0x12f)][_0x352561(0x19f)](_0x352561(0xd7))[_0x352561(0x13c)](_0x4a2176,this[_0x352561(0x11b)]);}}),_0x2034f2[_0x24dd74(0x199)](this[_0x24dd74(0x11b)],_0x317565);}[_0x439473(0x189)](){const _0x585811=_0x439473,_0x3813a6=this[_0x585811(0x14f)][_0x585811(0x171)][_0x585811(0x16c)];this[_0x585811(0x14f)][_0x585811(0x171)][_0x585811(0x16c)]=(..._0x4777f0)=>{const _0x380945=_0x585811;if(!_0x4777f0[_0x4777f0[_0x380945(0xf5)]-0x1][_0x380945(0x16b)])throw new _0x592ff1(_0x380945(0xf0),this);_0x3813a6[_0x380945(0x153)](this[_0x380945(0x14f)][_0x380945(0x171)],_0x4777f0);};}[_0x439473(0x17e)](){const _0x29dd31=_0x439473;this[_0x29dd31(0x14f)][_0x29dd31(0x171)]['on'](_0x29dd31(0xc6),(_0x2ee169,[_0x382e56])=>{const _0x4073e4=_0x29dd31;if(this[_0x4073e4(0xf7)][_0x4073e4(0x1a9)])throw new _0x592ff1(_0x4073e4(0xbc),this);_0x2ee169[_0x4073e4(0x172)](),this[_0x4073e4(0x106)]();const _0x326093=this[_0x4073e4(0x14f)][_0x4073e4(0xef)][_0x4073e4(0x19f)](_0x4073e4(0x198)),_0x411610=this[_0x4073e4(0xb4)](_0x382e56,_0x326093);0x0==_0x411610[_0x4073e4(0xf5)]&&_0x411610[_0x4073e4(0x143)](new _0x4af62a(0x0)),_0x2ee169[_0x4073e4(0xed)]=this[_0x4073e4(0x14d)](_0x411610)[_0x4073e4(0xf2)](()=>{const _0x2d7bac=_0x4073e4;this[_0x2d7bac(0x14f)][_0x2d7bac(0x12f)][_0x2d7bac(0x19f)](_0x4c2312)[_0x2d7bac(0xac)](this),this[_0x2d7bac(0x14f)][_0x2d7bac(0x171)][_0x2d7bac(0x1a8)](_0x2d7bac(0x11e));})[_0x4073e4(0x165)](_0xc45e0a=>this[_0x4073e4(0x11f)](_0x4073e4(0xcc),_0xc45e0a))[_0x4073e4(0xc4)](()=>this[_0x4073e4(0x176)]());},{'priority':_0x29dd31(0xc2)}),this[_0x29dd31(0x14f)]['on'](_0x29dd31(0xf9),async(_0x475b6e,[_0xeaee3e,_0x3b571b])=>{const _0x3a20a8=_0x29dd31;_0x475b6e[_0x3a20a8(0x172)]();const _0x2a4dc0=this[_0x3a20a8(0x14f)][_0x3a20a8(0xc0)][_0x3a20a8(0x15f)][_0x3a20a8(0x140)](_0xeaee3e);if(!this[_0x3a20a8(0x144)][_0x3a20a8(0x18e)](_0xeaee3e)){const _0x11c0b2=_0x3b571b&&_0x3b571b[_0x3a20a8(0x171)]?_0x3b571b[_0x3a20a8(0x171)]:'',_0x3744da=_0x3b571b&&_0x3b571b[_0x3a20a8(0x12b)]?_0x3b571b[_0x3a20a8(0x12b)]:{};await this[_0x3a20a8(0x11c)](_0xeaee3e,_0x11c0b2,_0x3744da);}this[_0x3a20a8(0x14f)][_0x3a20a8(0xc0)][_0x3a20a8(0xee)]({'isUndoable':!0x1},()=>{const _0x25bf3a=_0x3a20a8;_0x2a4dc0[_0x25bf3a(0x118)]=!0x0,this[_0x25bf3a(0x14f)][_0x25bf3a(0xc0)][_0x25bf3a(0x15f)][_0x25bf3a(0xd5)][_0x25bf3a(0x1a7)](_0x2a4dc0);});},{'priority':_0x29dd31(0xc2)});}async[_0x439473(0xc9)](_0x571704){const _0x35432f=_0x439473,_0x342b39=this[_0x35432f(0x14f)][_0x35432f(0x12f)][_0x35432f(0x19f)](_0x50077c),{connection:_0x1a5d44}=this[_0x35432f(0x14f)][_0x35432f(0x12f)][_0x35432f(0x19f)](_0x4c2312),_0x1f290e=new Set();for(const _0x4980f5 of _0x571704){const _0x47adfc=_0x4980f5[_0x35432f(0x166)];_0x47adfc&&!_0x342b39[_0x35432f(0x133)](_0x47adfc)&&_0x1f290e[_0x35432f(0x196)](_0x47adfc);}if(0x0===_0x1f290e[_0x35432f(0x17c)])return;const _0x35e7e7=await _0x8c6bbf[_0x35432f(0x1ac)](_0x1a5d44,Array[_0x35432f(0xb5)](_0x1f290e));for(const _0x278750 of _0x35e7e7)_0x342b39[_0x35432f(0x133)](_0x278750['id'])||_0x342b39[_0x35432f(0x12c)](_0x278750);}[_0x439473(0xb4)](_0x49419f,_0x304dc5={}){const _0x250e55=_0x439473,_0x2a5074=this[_0x250e55(0x14f)][_0x250e55(0xc0)],_0x1a525a=[];let _0x142a5b=0x0;const _0x465757=_0x250e55(0x193)==typeof _0x49419f?{'main':_0x49419f}:_0x49419f;for(const _0x15b786 of Object[_0x250e55(0x152)](_0x465757)){if(!this[_0x250e55(0xf7)][_0x250e55(0xfb)][_0x250e55(0x18e)](_0x15b786))throw new _0x592ff1(_0x250e55(0x18a),this);const _0x32f206=this[_0x250e55(0x14f)][_0x250e55(0x171)][_0x250e55(0x150)](_0x465757[_0x15b786]),_0x52fa47=this[_0x250e55(0xf7)][_0x250e55(0x140)](_0x15b786),_0x122cd4=new _0x3b185e(_0x2a5074[_0x250e55(0x10d)](_0x52fa47,0x0),_0x32f206,_0x142a5b++);_0x1a525a[_0x250e55(0x143)](_0x122cd4);for(const [_0x1df69c,_0x537baa]of _0x32f206[_0x250e55(0xae)]){const _0xb3c9e4=_0x2a5074[_0x250e55(0xa9)](_0x2a5074[_0x250e55(0xba)](_0x52fa47,_0x537baa[_0x250e55(0x13b)][_0x250e55(0xf3)][_0x250e55(0x15a)]()),_0x2a5074[_0x250e55(0xba)](_0x52fa47,_0x537baa[_0x250e55(0x124)][_0x250e55(0xf3)][_0x250e55(0x15a)]())),_0x52bfd2=new _0x1a6d43(_0x1df69c,null,_0xb3c9e4,_0x2a5074[_0x250e55(0xae)],!0x0,_0x142a5b++);_0x1a525a[_0x250e55(0x143)](_0x52bfd2);}}if(_0x304dc5)for(const [_0x4057e7,_0x2462aa]of Object[_0x250e55(0x164)](_0x304dc5)){const _0x1e37a6=_0x2a5074[_0x250e55(0x15f)][_0x250e55(0x140)](_0x4057e7);if(!_0x1e37a6)throw new _0x592ff1(_0x250e55(0x109),null);for(const [_0x34b724,_0x261d1c]of Object[_0x250e55(0x164)](_0x2462aa))if(null!==_0x261d1c){const _0x169904=new _0x38d8cb(_0x1e37a6,_0x34b724,null,_0x261d1c,_0x142a5b++);_0x1a525a[_0x250e55(0x143)](_0x169904);}}return _0x1a525a;}async[_0x439473(0x11c)](_0x1b493d,_0x413e47,_0x3d3e04){const _0x163ca5=_0x439473;this[_0x163ca5(0xb4)]({[_0x1b493d]:_0x413e47},{[_0x1b493d]:_0x3d3e04})[_0x163ca5(0xda)]((_0x33f283,_0x25fe3d)=>{const _0x37ec9a=_0x163ca5;_0x33f283[_0x37ec9a(0x158)]=this[_0x37ec9a(0xf7)][_0x37ec9a(0x1a9)]+_0x25fe3d,_0x33f283[_0x37ec9a(0x145)]=!0x0,this[_0x37ec9a(0x113)](_0x33f283);}),this[_0x163ca5(0x160)](),await this[_0x163ca5(0x141)]();}async[_0x439473(0xd1)](_0x37f4e3,_0x1864a9){const _0x13fdc7=_0x439473;let _0x2590c5;this[_0x13fdc7(0x170)]=_0x37f4e3[_0x13fdc7(0x121)];const _0x4138f7=_0x37f4e3[_0x13fdc7(0x12a)]&&!_0x37f4e3[_0x13fdc7(0x147)],_0x4ce9b6=_0x4138f7?0x0:_0x37f4e3[_0x13fdc7(0x171)][_0x13fdc7(0x158)];if(_0x1864a9[_0x13fdc7(0xda)](_0x3f43e6=>{const _0x3fc599=_0x13fdc7;_0x3f43e6[_0x3fc599(0x145)]=!0x0,_0x3f43e6[_0x3fc599(0xe8)]=_0x37f4e3[_0x3fc599(0xe4)],_0x3f43e6[_0x3fc599(0x166)]=null;}),_0x4138f7)_0x2590c5=_0x1864a9,this[_0x13fdc7(0x17b)](_0x2590c5,_0x4138f7);else{if(_0x37f4e3[_0x13fdc7(0x147)]){const _0xf612af=this[_0x13fdc7(0xb4)](_0x37f4e3[_0x13fdc7(0x147)]);this[_0x13fdc7(0xf7)][_0x13fdc7(0x19a)][_0x13fdc7(0x1a9)]=-_0xf612af[_0x13fdc7(0xf5)],_0xf612af[_0x13fdc7(0xda)](_0x362d5a=>{const _0x59d7ea=_0x13fdc7;_0x362d5a[_0x59d7ea(0x158)]-=_0xf612af[_0x59d7ea(0xf5)],_0x362d5a[_0x59d7ea(0xe8)]=_0x37f4e3[_0x59d7ea(0xe4)],_0x362d5a[_0x59d7ea(0x145)]=!0x0,_0x362d5a[_0x59d7ea(0x166)]=null;}),this[_0x13fdc7(0x17b)](_0xf612af,!0x0),this[_0x13fdc7(0x1a1)][_0x13fdc7(0x1a9)]=-_0xf612af[_0x13fdc7(0xf5)]+this[_0x13fdc7(0x170)],this[_0x13fdc7(0x178)](_0xf612af);}this[_0x13fdc7(0xf7)][_0x13fdc7(0x19a)][_0x13fdc7(0x1a9)]=_0x4ce9b6,_0x2590c5=this[_0x13fdc7(0x167)](_0x37f4e3[_0x13fdc7(0x171)],_0x37f4e3[_0x13fdc7(0xe6)]),await this[_0x13fdc7(0xc9)](_0x2590c5),this[_0x13fdc7(0x17b)](_0x2590c5,_0x4138f7);}_0x37f4e3[_0x13fdc7(0x184)]&&(this[_0x13fdc7(0xc5)][_0x13fdc7(0x195)](_0x2590c5,_0x37f4e3[_0x13fdc7(0x184)]),this[_0x13fdc7(0xf8)]=_0x37f4e3[_0x13fdc7(0x184)]),this[_0x13fdc7(0x1a1)][_0x13fdc7(0x1a9)]=_0x4ce9b6+this[_0x13fdc7(0x170)],this[_0x13fdc7(0x178)](_0x2590c5),_0x1864a9[_0x13fdc7(0xff)](_0x47c2db=>{const _0x20e1d4=_0x13fdc7,_0x2d50a2=this[_0x20e1d4(0xaf)](_0x47c2db);return _0x2d50a2&&!this[_0x20e1d4(0x144)][_0x20e1d4(0x18e)](_0x2d50a2);})[_0x13fdc7(0xda)]((_0xb5f64e,_0x59eadd)=>{const _0x5299e3=_0x13fdc7;_0xb5f64e[_0x5299e3(0x158)]=this[_0x5299e3(0xf7)][_0x5299e3(0x1a9)]+_0x59eadd,this[_0x5299e3(0x113)](_0xb5f64e);}),this[_0x13fdc7(0x1aa)]()?(this[_0x13fdc7(0x14c)]=0x0,this[_0x13fdc7(0x160)](!0x0),await this[_0x13fdc7(0x141)]()):(this[_0x13fdc7(0x126)]=!0x1,this[_0x13fdc7(0x176)]());}[_0x439473(0x11f)](_0x3cb4c7,_0x591a26){const _0x5c027e=_0x439473,_0x19ca52=_0x591a26&&_0x591a26[_0x5c027e(0xe0)];if(_0x19ca52&&_0x19ca52[_0x5c027e(0x128)](_0x5c027e(0xb2)))throw _0x591a26;const _0x73fda6=this[_0x5c027e(0x14f)][_0x5c027e(0x12f)][_0x5c027e(0x19f)](_0x4c2312);throw this[_0x5c027e(0x126)]=!0x0,_0x73fda6[_0x5c027e(0x17a)](),this[_0x5c027e(0x14f)][_0x5c027e(0x173)](_0x5c027e(0x10f)),new _0x592ff1(_0x3cb4c7,this[_0x5c027e(0x14f)],_0x19ca52?{'originalError':_0x19ca52}:void 0x0);}[_0x439473(0x113)](_0x308f73){const _0x11e050=_0x439473;this[_0x11e050(0x17f)][_0x11e050(0x18e)](_0x308f73)||(this[_0x11e050(0x17f)][_0x11e050(0x196)](_0x308f73),this[_0x11e050(0xcf)][_0x11e050(0x143)](_0x308f73),this[_0x11e050(0x111)]||_0x11e050(0x19d)==_0x308f73[_0x11e050(0x1a6)]&&!_0x308f73[_0x11e050(0x135)]||this[_0x11e050(0x106)]());}[_0x439473(0x160)](_0x9adf3a=!0x1){const _0x2abb14=_0x439473;!_0x9adf3a&&this[_0x2abb14(0x126)]||(this[_0x2abb14(0x126)]=!0x0,clearTimeout(this[_0x2abb14(0x14a)]),this[_0x2abb14(0x14a)]=setTimeout(()=>{const _0x56507f=_0x2abb14;this[_0x56507f(0x19e)]()[_0x56507f(0xf2)](_0x5936a7=>{const _0x377574=_0x56507f;_0x5936a7&&(this[_0x377574(0x176)](),this[_0x377574(0x126)]=!0x1);})[_0x56507f(0x165)](_0x4ceb15=>{const _0x4f004e=_0x56507f;this[_0x4f004e(0x176)](),this[_0x4f004e(0x126)]=!0x1,function(_0xf17119){const _0x4d0530=_0x4f004e;return _0xf17119[_0x4d0530(0xe0)][_0x4d0530(0x128)](_0x4d0530(0x154))||_0xf17119[_0x4d0530(0xe0)][_0x4d0530(0x128)](_0x4d0530(0x122))||_0xf17119[_0x4d0530(0xe0)][_0x4d0530(0x128)](_0x4d0530(0xb9));}(_0x4ceb15)||this[_0x4f004e(0x11f)](_0x4ceb15[_0x4f004e(0xe0)],_0x4ceb15);});},this[_0x2abb14(0x14c)]));}[_0x439473(0x141)](){return new Promise(_0x1bb9fe=>{const _0x56ae87=_0x1f13;this['on'](_0x56ae87(0x190),()=>{_0x1bb9fe();});});}async[_0x439473(0x19e)](){const _0x2f3447=_0x439473,_0x18bc87=this[_0x2f3447(0x14f)][_0x2f3447(0x12f)][_0x2f3447(0x19f)](_0x4a0eb9);if(this[_0x2f3447(0xab)]()&&(_0x18bc87[_0x2f3447(0x14e)](),this[_0x2f3447(0x134)]=!0x1),!this[_0x2f3447(0x1aa)]())return!0x0;const _0x32f9b6=[...this[_0x2f3447(0xcf)]];for(const _0x4f17bd of _0x32f9b6)_0x4f17bd[_0x2f3447(0x18c)]=this[_0x2f3447(0xf7)][_0x2f3447(0x19a)][_0x2f3447(0x103)](_0x4f17bd);const _0x351c77=this[_0x2f3447(0xc5)][_0x2f3447(0x146)](_0x32f9b6),_0x233da1=X++,_0x315ad3=this[_0x2f3447(0xeb)](_0x32f9b6),_0x362d82=await this[_0x2f3447(0x191)][_0x2f3447(0x110)](_0x315ad3,_0x315ad3[_0x2f3447(0x158)],_0x351c77);try{return await this[_0x2f3447(0x19b)](_0x32f9b6,_0x362d82,_0x233da1);}catch(_0x3eef7c){return this[_0x2f3447(0x11f)](_0x2f3447(0x12e),_0x3eef7c);}}async[_0x439473(0x19b)](_0x3219fc,_0x4c06d2,_0x197113){const _0x3b1225=_0x439473;if(_0x3b1225(0xaa)in _0x4c06d2)throw _0x4c06d2[_0x3b1225(0xaa)];let _0xfe3dff=!0x1;if(_0x4c06d2[_0x3b1225(0x12a)]){_0x4c06d2[_0x3b1225(0x184)]&&(this[_0x3b1225(0xf8)]=_0x4c06d2[_0x3b1225(0x184)]),this[_0x3b1225(0xcf)]=this[_0x3b1225(0xcf)][_0x3b1225(0xff)](_0x526681=>!_0x3219fc[_0x3b1225(0xb8)](_0x526681));for(const _0xaac849 of _0x3219fc)_0xaac849[_0x3b1225(0xe8)]=_0x3b1225(0x162)in _0x4c06d2&&_0x4c06d2[_0x3b1225(0x162)]||void 0x0;Z(_0x3219fc,_0x4c06d2[_0x3b1225(0x1a9)]-_0x3219fc[_0x3b1225(0xf5)]),this[_0x3b1225(0x178)](_0x3219fc);const _0x10a24b=_0x3219fc[_0x3b1225(0xff)](_0x3a433c=>{const _0x7b7f0f=_0x3b1225;if(!_0x3a433c[_0x7b7f0f(0x145)])return!0x1;const _0x228551=this[_0x7b7f0f(0xaf)](_0x3a433c);return _0x228551&&!this[_0x7b7f0f(0x144)][_0x7b7f0f(0x18e)](_0x228551);});Z(_0x10a24b,this[_0x3b1225(0xf7)][_0x3b1225(0x1a9)]),this[_0x3b1225(0x17b)](_0x10a24b),_0xfe3dff=!0x0,this[_0x3b1225(0x14c)]=this[_0x3b1225(0xb1)];}else{const _0x3806d3=this[_0x3b1225(0x167)](_0x4c06d2[_0x3b1225(0x171)],_0x4c06d2[_0x3b1225(0xe6)])[_0x3b1225(0xff)](_0x5dd00a=>_0x5dd00a[_0x3b1225(0x158)]>=this[_0x3b1225(0x168)]);_0x3806d3[_0x3b1225(0xda)](_0x493b88=>this[_0x3b1225(0x125)](_0x493b88)),this[_0x3b1225(0xcf)]=this[_0x3b1225(0xcf)][_0x3b1225(0xff)](_0x5e232d=>!_0x5e232d[_0x3b1225(0x145)]||!this[_0x3b1225(0x144)][_0x3b1225(0x18e)](this[_0x3b1225(0xaf)](_0x5e232d))),this[_0x3b1225(0xcf)][_0x3b1225(0xf5)]&&Z(this[_0x3b1225(0xcf)],this[_0x3b1225(0xcf)][0x0][_0x3b1225(0x158)]),await this[_0x3b1225(0xc9)](_0x3806d3),_0xfe3dff=this[_0x3b1225(0xc3)](_0x3806d3,_0x4c06d2[_0x3b1225(0x1a9)],_0x4c06d2[_0x3b1225(0x184)]),this[_0x3b1225(0x14c)]=Math[_0x3b1225(0x163)](this[_0x3b1225(0x14c)]/0x2);}return _0xfe3dff?!this[_0x3b1225(0x1aa)]()||(this[_0x3b1225(0x160)](!0x0),!0x1):this[_0x3b1225(0x11f)](_0x3b1225(0xc1));}[_0x439473(0xc3)](_0x2e9907,_0x4187cb,_0x3c63e9){const _0x59025d=_0x439473;try{const _0x36cb7e={'document':this[_0x59025d(0xf7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4e7f75,operationsB:_0x33f7e3,originalOperations:_0x23f4a0}=_0x32c157(_0x2e9907,this[_0x59025d(0xcf)],_0x36cb7e);Z(_0x4e7f75,this[_0x59025d(0xf7)][_0x59025d(0x1a9)]),Z(_0x33f7e3,_0x4187cb);for(const _0x34bfb3 of _0x4e7f75){const _0x15e952=_0x23f4a0[_0x59025d(0x19f)](_0x34bfb3);_0x34bfb3[_0x59025d(0x166)]=_0x15e952?_0x15e952[_0x59025d(0x166)]:null;}_0x3c63e9&&(this[_0x59025d(0xc5)][_0x59025d(0x195)](_0x2e9907,_0x3c63e9),this[_0x59025d(0xf8)]=_0x3c63e9),this[_0x59025d(0xcf)]=[..._0x33f7e3],this[_0x59025d(0x17b)](_0x4e7f75),this[_0x59025d(0x178)](_0x2e9907);}catch(_0x9b0dec){return console[_0x59025d(0xaa)](_0x9b0dec),!0x1;}return!0x0;}[_0x439473(0x17b)](_0x2af24a,_0x451c55=!0x1){const _0x2738e1=_0x439473;this[_0x2738e1(0x14f)][_0x2738e1(0xc0)][_0x2738e1(0xee)]({'isUndoable':!0x1,'isLocal':!0x1},_0x37838b=>{const _0x54b01f=_0x2738e1;for(const _0x9068e3 of _0x2af24a)this[_0x54b01f(0x17f)][_0x54b01f(0x196)](_0x9068e3),this[_0x54b01f(0x125)](_0x9068e3),_0x37838b[_0x54b01f(0xc7)][_0x54b01f(0xa8)](_0x9068e3),this[_0x54b01f(0x14f)][_0x54b01f(0xc0)][_0x54b01f(0x15d)](_0x9068e3);});}[_0x439473(0x125)](_0x346ccd){const _0x46098a=_0x439473,_0x528967=this[_0x46098a(0xaf)](_0x346ccd);_0x528967&&this[_0x46098a(0x144)][_0x46098a(0x196)](_0x528967);}[_0x439473(0xaf)](_0x2e4e39){const _0x8e2c8c=_0x439473;let _0x3fb53e,_0x1d56c0;switch(_0x2e4e39[_0x8e2c8c(0x1a6)]){case _0x8e2c8c(0x13e):_0x3fb53e=_0x2e4e39[_0x8e2c8c(0xe7)][_0x8e2c8c(0x183)];break;case _0x8e2c8c(0x19d):if(_0x1d56c0=_0x2e4e39[_0x8e2c8c(0xd6)],!_0x1d56c0)return null;_0x3fb53e=_0x1d56c0[_0x8e2c8c(0x183)];break;case _0x8e2c8c(0x11a):_0x3fb53e=_0x2e4e39[_0x8e2c8c(0x183)];break;case _0x8e2c8c(0x10b):_0x3fb53e=_0x2e4e39[_0x8e2c8c(0xde)];break;case _0x8e2c8c(0x1a3):_0x3fb53e=_0x2e4e39[_0x8e2c8c(0x19c)][_0x8e2c8c(0x183)];break;default:return null;}return _0x3fb53e[_0x8e2c8c(0xce)];}[_0x439473(0x178)](_0xad02d8){const _0x3be199=_0x439473;_0xad02d8[_0x3be199(0xda)](_0x5c0955=>{const _0x4dde48=_0x3be199,_0x6f38a8=_0x5c0955[_0x4dde48(0x186)]();_0x6f38a8[_0x4dde48(0x166)]=_0x5c0955[_0x4dde48(0x166)],_0x6f38a8[_0x4dde48(0x145)]=!!_0x5c0955[_0x4dde48(0x145)],_0x6f38a8[_0x4dde48(0xe8)]=_0x5c0955[_0x4dde48(0xe8)],_0x6f38a8[_0x4dde48(0x158)]+=this[_0x4dde48(0x170)],_0x5c0955[_0x4dde48(0x13f)]&&this[_0x4dde48(0xa7)][_0x4dde48(0x196)](_0x6f38a8),this[_0x4dde48(0x1a1)][_0x4dde48(0xa8)](_0x6f38a8);});}[_0x439473(0xe3)](_0x578d8d){const _0x52a8ac=_0x439473,_0x580993=this[_0x52a8ac(0x14f)][_0x52a8ac(0x12f)][_0x52a8ac(0x19f)](_0x52a8ac(0x129)),_0x2e4b95=this[_0x52a8ac(0x14f)][_0x52a8ac(0x13a)];_0x578d8d||(_0x578d8d=_0x4a07c4(_0x2e4b95,_0x52a8ac(0xea))),_0x580993[_0x52a8ac(0xec)](_0x578d8d,{'title':_0x4a07c4(_0x2e4b95,_0x52a8ac(0xd4)),'namespace':_0x52a8ac(0x17d)}),this[_0x52a8ac(0x188)]=!0x0,clearTimeout(this[_0x52a8ac(0x14a)]),this[_0x52a8ac(0xcf)]=[],this[_0x52a8ac(0x14f)][_0x52a8ac(0x12f)][_0x52a8ac(0x19f)](_0x4c2312)[_0x52a8ac(0x17a)]();}[_0x439473(0x106)](){const _0x151b23=_0x439473;this[_0x151b23(0x111)]||(this[_0x151b23(0x111)]=this[_0x151b23(0x14f)][_0x151b23(0x12f)][_0x151b23(0x19f)](_0x20a619)[_0x151b23(0x196)](_0x4a07c4(this[_0x151b23(0x14f)][_0x151b23(0x13a)],_0x151b23(0x101))));}[_0x439473(0x176)](){const _0x457c0d=_0x439473;this[_0x457c0d(0x111)]&&(this[_0x457c0d(0x14f)][_0x457c0d(0x12f)][_0x457c0d(0x19f)](_0x20a619)[_0x457c0d(0xd9)](this[_0x457c0d(0x111)]),this[_0x457c0d(0x111)]=null);}[_0x439473(0xeb)](_0xfa992f){const _0x2156ae=_0x439473,_0x28d079=_0xfa992f[_0x2156ae(0xb3)](_0x5d01b3=>_0x5d01b3[_0x2156ae(0x130)]());return this[_0x2156ae(0x148)][_0x2156ae(0x138)](_0x28d079);}[_0x439473(0x167)](_0x184944,_0x4a5fcd){const _0xf6afaf=_0x439473;return this[_0xf6afaf(0x148)][_0xf6afaf(0xc8)](_0x184944)[_0xf6afaf(0xb3)]((_0x28cd48,_0x8eba0)=>{const _0x2a68fa=_0xf6afaf,_0x5353e2=_0x2a68fa(0xc6)==_0x4a5fcd[_0x8eba0][_0x2a68fa(0x1a6)];if(_0x2a68fa(0xdb)==_0x28cd48[_0x2a68fa(0xf1)]){const _0x7d7b07=_0x28cd48[_0x2a68fa(0xe7)][_0x2a68fa(0x183)];!this[_0x2a68fa(0xf7)][_0x2a68fa(0x140)](_0x7d7b07)&&(this[_0x2a68fa(0xf7)][_0x2a68fa(0x132)](_0x2a68fa(0x139),_0x7d7b07)[_0x2a68fa(0xbf)]=!0x1);}const _0x5ddc22=_0x5b9be5[_0x2a68fa(0x161)](_0x28cd48,this[_0x2a68fa(0xf7)]);return _0x5ddc22[_0x2a68fa(0x18c)]=_0x28cd48[_0x2a68fa(0x18c)],_0x5ddc22[_0x2a68fa(0x145)]=_0x5353e2,_0x5ddc22[_0x2a68fa(0x166)]=_0x5353e2?null:_0x4a5fcd[_0x8eba0][_0x2a68fa(0x182)],_0x5ddc22[_0x2a68fa(0x13f)]=_0x2a68fa(0xbe)===_0x4a5fcd[_0x8eba0][_0x2a68fa(0x1a6)],_0x5ddc22[_0x2a68fa(0xe8)]=_0x4a5fcd[_0x8eba0][_0x2a68fa(0xe8)],_0x5ddc22;});}[_0x439473(0x151)](){const _0x43e7cb=_0x439473;this[_0x43e7cb(0x134)]=!0x0,this[_0x43e7cb(0xab)]()?this[_0x43e7cb(0x160)]():this[_0x43e7cb(0x134)]=!0x1;}[_0x439473(0xab)](){const _0x561a50=_0x439473,_0x10eb9a=this[_0x561a50(0x14f)][_0x561a50(0x12f)][_0x561a50(0x19f)](_0x356b98)[_0x561a50(0xe2)][_0x561a50(0x19f)](this[_0x561a50(0x11b)]);return!this[_0x561a50(0x14f)][_0x561a50(0xdf)]&&!!_0x10eb9a&&_0x10eb9a[_0x561a50(0xf5)]>0x1&&this[_0x561a50(0x134)];}[_0x439473(0x1aa)](){const _0x1fcb1d=_0x439473;return this[_0x1fcb1d(0xcf)][_0x1fcb1d(0xf5)]>0x0||this[_0x1fcb1d(0xab)]();}}class Y extends Error{}function Z(_0x1438ad,_0x5cd404){const _0x27dc0a=_0x439473;for(const _0x54c563 of _0x1438ad)_0x54c563[_0x27dc0a(0x158)]=_0x5cd404++;}function _0x1f13(_0x4971ce,_0x3c3ffa){const _0x17b3d8=_0x17b3();return _0x1f13=function(_0x1f138e,_0x28b0c0){_0x1f138e=_0x1f138e-0xa7;let _0x10f6e5=_0x17b3d8[_0x1f138e];return _0x10f6e5;},_0x1f13(_0x4971ce,_0x3c3ffa);}class tt{[_0x439473(0x13d)];[_0x439473(0x149)];constructor(_0x187b03){const _0x10a64c=_0x439473;this[_0x10a64c(0x13d)]=_0x187b03,this[_0x10a64c(0x149)]=new WeakMap();}[_0x439473(0x146)](_0x12e94b){const _0x1046b4=_0x439473;let _0x30cf11=_0x12e94b[_0x1046b4(0xf5)];for(;_0x30cf11--;){const _0x159688=_0x12e94b[_0x30cf11];if(!this[_0x1046b4(0x13d)][_0x1046b4(0x18e)](_0x159688)){if(!this[_0x1046b4(0x149)][_0x1046b4(0x18e)](_0x159688)){const _0x45bbcb=_0x1b8bca()[_0x1046b4(0x15a)](0x1,0x12);this[_0x1046b4(0x149)][_0x1046b4(0x16c)](_0x159688,_0x45bbcb);}return this[_0x1046b4(0x149)][_0x1046b4(0x19f)](_0x159688);}}}[_0x439473(0x195)](_0x1d9d4d,_0x168964){const _0x1724d2=_0x439473;if(!_0x168964)return;let _0x57502f=_0x1d9d4d[_0x1724d2(0xf5)];for(;_0x57502f--;){const _0x464e05=_0x1d9d4d[_0x57502f];this[_0x1724d2(0x13d)][_0x1724d2(0x18e)](_0x464e05)||this[_0x1724d2(0x149)][_0x1724d2(0x16c)](_0x464e05,_0x168964);}}}
23
+ const _0x3182f5=_0x5b2d;function _0x5b2d(_0x19cfb9,_0x4cf455){const _0x546266=_0x5462();return _0x5b2d=function(_0x5b2da0,_0x2291d3){_0x5b2da0=_0x5b2da0-0x193;let _0x4ca7dc=_0x546266[_0x5b2da0];return _0x4ca7dc;},_0x5b2d(_0x19cfb9,_0x4cf455);}(function(_0x22be42,_0x13d7a1){const _0x10da80=_0x5b2d,_0x9b76b2=_0x22be42();while(!![]){try{const _0x5cce72=parseInt(_0x10da80(0x1e3))/0x1*(-parseInt(_0x10da80(0x26a))/0x2)+-parseInt(_0x10da80(0x1e5))/0x3+-parseInt(_0x10da80(0x212))/0x4*(parseInt(_0x10da80(0x253))/0x5)+parseInt(_0x10da80(0x226))/0x6*(parseInt(_0x10da80(0x1a7))/0x7)+-parseInt(_0x10da80(0x20b))/0x8+-parseInt(_0x10da80(0x271))/0x9+-parseInt(_0x10da80(0x233))/0xa*(-parseInt(_0x10da80(0x1ef))/0xb);if(_0x5cce72===_0x13d7a1)break;else _0x9b76b2['push'](_0x9b76b2['shift']());}catch(_0x84cba4){_0x9b76b2['push'](_0x9b76b2['shift']());}}}(_0x5462,0xa0756));import{Plugin as _0x562e47,PendingActions as _0x46d007}from'ckeditor5/src/core.js';import{CKEditorError as _0x3be5a2,version as _0x23bb04,uid as _0x1a3efb}from'ckeditor5/src/utils.js';import{Notification as _0x3c6c18}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3d47f4,NoOperation as _0x3acab2,InsertOperation as _0x3aff7d,MarkerOperation as _0x9ab32,RootAttributeOperation as _0x3cdcd9,OperationFactory as _0x2643fb,History as _0x5dcdaf}from'ckeditor5/src/engine.js';function _0x5462(){const _0x57d036=['_crash','showWarning','realtimecollaborationclient-init-service-internal-error','getUser','_hasSelectionChanged','lastOperationId','decompress','marker','_setPendingAction','cloud-services-internal-error:\x20Not\x20connected.','wasUndone','userId','_applyOperationsSet','409','516344UffPEi','_refreshUserSelectionMarkers','_operationIdentifier','_connectService','_clearPendingAction','connect','realtimecollaborationclient-init-document-already-initialized','22220eEnEYH','affectedSelectable','isEnabled','insert','stop','high','_initSessionsHandling','sendOperations','clone','realtimecollaborationclient-init-non-existent-root','collaboration.channelId','CollaborativeEditingService','lastSyncVersion','parse','Notification','cs:removeUser','_connectAfterSessionHasBeenFlushed','404','isReadOnly','suppressErrorInCollaboration','38706FNOdet','unregister','startsWith','currentDocumentSession','push','realtimecollaborationclient-sendbufferedoperations','model','add','_waitUntilSynced','_handleReconnectionError','sessionCreatedAt','PENDING_ACTION_SENDING_DATA','isPremiumPlugin','1330gGzJDi','connection','createRange','serverHistory','_operationToId','data','connected','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.','_handleServerResponse','_hasSynchronizationProblem','_lastSyncedOperationId','_decompressOperations','_fetchMissingUsers','_isDisconnection','realtimecollaborationclient-init-connection-failed','_isPendingUpdate','getOperationAuthor','_getOperationsFromInitData','_bufferedOperations','map','set','_offset','_compressOperations','enableReadOnlyMode','reconnection:\x20flushed\x20session','loadRoot','permissions','_service','bind','document:write','_isLoaded','fire','115vyCPaA','reconnect','realtimecollaborationclient','baseVersion','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_saveOperationInBuffer','realtimecollaborationclient-init-service-incorrect-server-operation','fromJSON','disableReadOnlyMode','config','return','_isAttached','start','_document','getRoot','change:hasDomSelection','initData','removeFromReconnectionStack','compress','_updateServerHistory','cloud-services-internal-error:\x20Request\x20timeout.','getDocumentDetails','_sendBufferedOperationsDelayId','22xFRrQw','includes','apply','cloudServices.bundleVersion','newRange','_handleExternalOperations','root','6195897rIYrTK','mySessionId','view','rtc-offline','_compressor','slice','createUserMarkerOperations','CommentsOnly','from','isOfficialPlugin','then','destroy','createPositionFromPath','init','_initThrowingOnDataSet','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','toJSON','addOperation','length','plugins','off','history','addUser','cloudDocumentVersion','listenTo','_shouldSendSelectionUpdate','wereChangesApplied','addRootAttribute','selection','size','Synchronization\x20issue','has','stopListening','disconnect','_lastServerVersion','isUndoneOperation','createPositionAt','editor','setIdForTheLastOperation','getOperations','getIdOfTheLastOperation','version','locale','RealTimeCollaborationClient','realtimecollaborationclient-error','_ignoredOperations','enqueueChange','real-time-collaboration','message','metadata','_sendBufferedOperations','sessionAdd:','state','__className','lastOperationAcceptedAt','_knownOperations','position','define','batch','_getAffectedRoot','addRoot','1127rrKuRg','forEach','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','path','_knownRootNames','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','ready','_isEditingAllowed','multi-root-editor-root-attributes-no-root','_handleInitialConnectionData','_handleSendingSelectionMarkers','editing','InsertOperation','_baseBufferDelay','change:_isEditingAllowed','Permissions','requires','realtimecollaborationclient-handleserverresponse','offset','_shouldSendUpdate','register','_setUpDataInit','collaboration-missing-channelid','_disconnectionOperations','get','sessionId','round','string','_handleReceivedOperations','operationsReceived','_sendBufferedOperationsDelayed','keys','markers','directChange','createRoot','reset','_isConnected','move','getMany','rootsAttributes','document','remove','_currentBufferDelay','_channelId','end','attributes','error','disconnected','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.','rtc-destroyed','finally','pluginName','_bufferRootLoad','_authorId','targetPosition','realtimecollaborationclient-init-session-connection-error','filter','applyOperation','_isInit','$root','9885PKLamv','differ','1862052TLCPSl','roots','channelSessions','createdAt','change:range','_disconnectService','entries','affectsData','_handleReconnectionResponse','lastDocumentSession','101629BFHXQj','getConnectedSessions','_pendingAction','catch','code','isDocumentOperation','collaboration','type','addToReconnectionStack','setPermissions','rootName','change:_isPendingUpdate','_addKnownRoot','_loadRoot'];_0x5462=function(){return _0x57d036;};return _0x5462();}import{WebSocketGateway as _0x539b14}from'./websocketgateway.js';import{Sessions as _0x1a2418}from'./sessions.js';import{UserMarkers as _0x40942f}from'./usermarkers.js';import{getTranslation as _0x4e7cd5}from'../common-translations.js';import{Compressor as _0x503de4}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2a01f7}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb723dc,CollaborativeEditingService as _0x3f6b18}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0x562e47{static [_0x3182f5(0x21d)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x3f6b18)());[_0x3182f5(0x248)];[_0x3182f5(0x1c0)];[_0x3182f5(0x236)];[_0x3182f5(0x1d2)];[_0x3182f5(0x24e)];[_0x3182f5(0x260)];[_0x3182f5(0x275)];[_0x3182f5(0x245)];[_0x3182f5(0x1a1)];[_0x3182f5(0x1ab)];[_0x3182f5(0x1f1)];[_0x3182f5(0x201)];[_0x3182f5(0x269)];[_0x3182f5(0x1b4)];[_0x3182f5(0x1d1)];[_0x3182f5(0x23d)];[_0x3182f5(0x1be)];[_0x3182f5(0x20d)];static get[_0x3182f5(0x1b7)](){return[_0x539b14,_0x1a2418,_0x40942f,_0x46d007,_0x2a01f7,_0x3c6c18];}static get[_0x3182f5(0x1da)](){const _0xd736d7=_0x3182f5;return _0xd736d7(0x195);}static get[_0x3182f5(0x27a)](){return!0x0;}static get[_0x3182f5(0x232)](){return!0x0;}get[_0x3182f5(0x288)](){const _0xb764d2=_0x3182f5;return this[_0xb764d2(0x293)]+this[_0xb764d2(0x248)];}get[_0x3182f5(0x293)](){const _0xa5c1aa=_0x3182f5;return this[_0xa5c1aa(0x236)][_0xa5c1aa(0x193)]-this[_0xa5c1aa(0x248)];}get[_0x3182f5(0x21e)](){const _0x361363=_0x3182f5,_0x165451=this[_0x361363(0x236)][_0x361363(0x298)]();for(let _0x20a2e7=_0x165451[_0x361363(0x283)]-0x1;_0x20a2e7>=0x0;_0x20a2e7--){const _0x4e30cb=_0x165451[_0x20a2e7];if(!this[_0x361363(0x1be)][_0x361363(0x290)](_0x4e30cb))return _0x4e30cb[_0x361363(0x256)]+0x1-this[_0x361363(0x248)];}return 0x0;}constructor(_0x32d680){const _0x4507e0=_0x3182f5;if(super(_0x32d680),this[_0x4507e0(0x248)]=0x0,this[_0x4507e0(0x1c0)]=null,this[_0x4507e0(0x236)]=new _0x5dcdaf(),this[_0x4507e0(0x296)][_0x4507e0(0x25c)][_0x4507e0(0x1a3)](_0x4507e0(0x1f5),{}),this[_0x4507e0(0x1d2)]=this[_0x4507e0(0x296)][_0x4507e0(0x25c)][_0x4507e0(0x1bf)](_0x4507e0(0x21c)),!this[_0x4507e0(0x1d2)])throw new _0x3be5a2(_0x4507e0(0x1bd),this);const _0xfb8c26=_0x32d680[_0x4507e0(0x25c)][_0x4507e0(0x1bf)](_0x4507e0(0x26d))||_0x23bb04;this[_0x4507e0(0x24e)]=new RealTimeCollaborationClient[(_0x4507e0(0x21d))](_0xfb8c26,this[_0x4507e0(0x1d2)]),this[_0x4507e0(0x260)]=this[_0x4507e0(0x296)][_0x4507e0(0x22c)][_0x4507e0(0x1cf)],this[_0x4507e0(0x275)]=new _0x503de4(),this[_0x4507e0(0x245)]=[],this[_0x4507e0(0x1a1)]=new WeakSet(),this[_0x4507e0(0x1ab)]=new Set(),this[_0x4507e0(0x247)](_0x4507e0(0x242),!0x1),this[_0x4507e0(0x247)](_0x4507e0(0x23c),!0x1),this[_0x4507e0(0x1f1)]=null,this[_0x4507e0(0x201)]=!0x1,this[_0x4507e0(0x269)]=null,this[_0x4507e0(0x1b4)]=0x12c,this[_0x4507e0(0x1d1)]=this[_0x4507e0(0x1b4)],this[_0x4507e0(0x23d)]=null,this[_0x4507e0(0x1be)]=new WeakSet(),this[_0x4507e0(0x20d)]=new F(this[_0x4507e0(0x1be)]);}[_0x3182f5(0x27e)](){const _0x3b6f82=_0x3182f5,_0x5ebc62=this[_0x3b6f82(0x296)],_0x55e151=_0x5ebc62[_0x3b6f82(0x284)][_0x3b6f82(0x1bf)](_0x2a01f7),_0x2e8398=_0x5ebc62[_0x3b6f82(0x284)][_0x3b6f82(0x1bf)](_0x539b14);this[_0x3b6f82(0x289)](_0x55e151,_0x3b6f82(0x243),(_0x197d3f,_0x1a2c3d)=>{const _0x18d6ae=_0x3b6f82,_0x28574b=_0x1a2c3d[0x0];_0x28574b[_0x18d6ae(0x1dc)]&&(_0x197d3f[_0x18d6ae(0x25d)]=_0x55e151[_0x18d6ae(0x200)](_0x28574b[_0x18d6ae(0x1dc)]),_0x197d3f[_0x18d6ae(0x216)]()),null===_0x28574b[_0x18d6ae(0x1dc)]&&(_0x197d3f[_0x18d6ae(0x25d)]=null,_0x197d3f[_0x18d6ae(0x216)]());},{'priority':_0x3b6f82(0x217)}),this[_0x3b6f82(0x289)](_0x5ebc62[_0x3b6f82(0x22c)][_0x3b6f82(0x1cf)][_0x3b6f82(0x28d)],_0x3b6f82(0x1e9),(_0x49aff6,_0x486403)=>{const _0x5b44f1=_0x3b6f82;_0x486403[_0x5b44f1(0x1c8)]&&this[_0x5b44f1(0x20c)]();}),this[_0x3b6f82(0x289)](_0x5ebc62[_0x3b6f82(0x1b2)][_0x3b6f82(0x273)],_0x3b6f82(0x262),()=>{const _0x28a98e=_0x3b6f82;this[_0x28a98e(0x20c)]();}),this[_0x3b6f82(0x27f)](),_0x5ebc62[_0x3b6f82(0x22c)]['on'](_0x3b6f82(0x1e0),(_0x35e5c6,_0x5ea908)=>{const _0x3168ef=_0x3b6f82,_0x4dd7c6=_0x5ea908[0x0];_0x4dd7c6[_0x3168ef(0x1f4)]&&(this[_0x3168ef(0x258)](_0x4dd7c6),this[_0x3168ef(0x1ba)]()&&this[_0x3168ef(0x1c5)]());}),this[_0x3b6f82(0x1bc)](),this[_0x3b6f82(0x24f)](_0x3b6f82(0x1ae))['to'](_0x2e8398,_0x3b6f82(0x19e),this,_0x3b6f82(0x23c),(_0xdb5e04,_0x537a96)=>_0x3b6f82(0x239)===_0xdb5e04&&!_0x537a96),this['on'](_0x3b6f82(0x1b5),()=>{const _0x49280f=_0x3b6f82;this[_0x49280f(0x1ae)]?_0x5ebc62[_0x49280f(0x25b)](_0x49280f(0x274)):_0x5ebc62[_0x49280f(0x24a)](_0x49280f(0x274));}),this[_0x3b6f82(0x1ae)]?_0x5ebc62[_0x3b6f82(0x25b)](_0x3b6f82(0x274)):_0x5ebc62[_0x3b6f82(0x24a)](_0x3b6f82(0x274)),this[_0x3b6f82(0x247)](_0x3b6f82(0x1cb),!0x1);}async[_0x3182f5(0x254)](){const _0x1246ae=_0x3182f5,_0x4c2f8b=this[_0x1246ae(0x296)][_0x1246ae(0x284)][_0x1246ae(0x1bf)](_0x1a2418),_0x2522b8=this[_0x1246ae(0x296)][_0x1246ae(0x284)][_0x1246ae(0x1bf)](_0x539b14);try{this[_0x1246ae(0x242)]=!0x0,_0x4c2f8b[_0x1246ae(0x227)](this[_0x1246ae(0x1d2)]);const _0x17bd5d=await this[_0x1246ae(0x24e)][_0x1246ae(0x254)](_0x2522b8[_0x1246ae(0x234)],this[_0x1246ae(0x21e)]);await this[_0x1246ae(0x1ed)](_0x17bd5d)&&(this[_0x1246ae(0x242)]=!0x1,this[_0x1246ae(0x20f)]());const _0x2a0913=await this[_0x1246ae(0x24e)][_0x1246ae(0x1f0)]();_0x4c2f8b[_0x1246ae(0x1bb)](this[_0x1246ae(0x1d2)],_0x2a0913),this[_0x1246ae(0x1b1)](),this[_0x1246ae(0x1cb)]=!0x0;}catch(_0x4023cc){if(function(_0x4a3b1f){const _0x3e707c=_0x1246ae;return _0x3e707c(0x223)===_0x4a3b1f[_0x3e707c(0x1f3)];}(_0x4023cc)&&this[_0x1246ae(0x1c0)])await this[_0x1246ae(0x222)]();else{if(function(_0x259e01){const _0x2bcc8c=_0x1246ae;return _0x2bcc8c(0x20a)===_0x259e01[_0x2bcc8c(0x1f3)];}(_0x4023cc)){const _0x27df2c=_0x4e7cd5(this[_0x1246ae(0x296)][_0x1246ae(0x194)],_0x1246ae(0x1a9));this[_0x1246ae(0x22f)](_0x27df2c);}else{if(!(_0x4023cc instanceof V))throw _0x4023cc;this[_0x1246ae(0x22f)]();}}}}[_0x3182f5(0x27c)](){const _0x3c6a1a=_0x3182f5,_0x2299c2=this[_0x3c6a1a(0x296)][_0x3c6a1a(0x284)][_0x3c6a1a(0x1bf)](_0x539b14),_0x2f6f31=this[_0x3c6a1a(0x296)][_0x3c6a1a(0x284)][_0x3c6a1a(0x1bf)](_0x1a2418);this[_0x3c6a1a(0x296)][_0x3c6a1a(0x24a)](_0x3c6a1a(0x1d8)),_0x2f6f31[_0x3c6a1a(0x1e7)][_0x3c6a1a(0x290)](this[_0x3c6a1a(0x1d2)])&&_0x2f6f31[_0x3c6a1a(0x227)](this[_0x3c6a1a(0x1d2)]),_0x2299c2[_0x3c6a1a(0x264)](this),this[_0x3c6a1a(0x1ea)](),super[_0x3c6a1a(0x27c)]();}async[_0x3182f5(0x1ed)](_0x1e8977){const _0x2cafaf=_0x3182f5;if(this[_0x2cafaf(0x1c0)]!==_0x1e8977[_0x2cafaf(0x1c0)]&&this[_0x2cafaf(0x23d)]!==_0x1e8977[_0x2cafaf(0x202)])throw new V();return this[_0x2cafaf(0x1c0)]=_0x1e8977[_0x2cafaf(0x1c0)],this[_0x2cafaf(0x23b)]([],{..._0x1e8977,'wereChangesApplied':!0x1,'data':_0x1e8977[_0x2cafaf(0x238)]},_0x2cafaf(0x254));}async[_0x3182f5(0x20e)](_0x27ef8e,_0x4179a0=!0x1){const _0x186560=_0x3182f5,{connection:_0x10c0eb}=this[_0x186560(0x296)][_0x186560(0x284)][_0x186560(0x1bf)](_0x539b14);RealTimeCollaborationClient[_0x186560(0x21d)][_0x186560(0x1f0)](_0x10c0eb,this[_0x186560(0x1d2)])[_0x186560(0x27b)](_0x4591e4=>this[_0x186560(0x218)](_0x4591e4))[_0x186560(0x1f2)](_0x511a67=>{const _0x53e22d=_0x186560;this[_0x53e22d(0x1fd)](_0x53e22d(0x1de),_0x511a67);}),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1c4),this[_0x186560(0x1c3)][_0x186560(0x24f)](this)),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1d5),(_0x4d5a9a,_0x3f9baa)=>{const _0x55c038=_0x186560;this[_0x55c038(0x1fd)](_0x55c038(0x1ff),_0x3f9baa);}),this[_0x186560(0x289)](this[_0x186560(0x24e)],_0x186560(0x1d6),()=>{const _0x1153c7=_0x186560;this[_0x1153c7(0x1cb)]=!0x1;});const _0x344c35=this[_0x186560(0x20d)][_0x186560(0x299)](_0x27ef8e);this[_0x186560(0x242)]=!0x0;const _0x38d0e3=await this[_0x186560(0x24e)][_0x186560(0x210)](_0x10c0eb,this[_0x186560(0x249)](_0x27ef8e),_0x344c35);if(this[_0x186560(0x1c0)]=_0x38d0e3[_0x186560(0x1c0)],_0x4179a0){if(!_0x38d0e3[_0x186560(0x28b)])return void this[_0x186560(0x22f)]();this[_0x186560(0x242)]=!0x1,this[_0x186560(0x20f)](),this[_0x186560(0x236)][_0x186560(0x1ca)](),this[_0x186560(0x248)]=_0x38d0e3[_0x186560(0x1b9)],this[_0x186560(0x236)][_0x186560(0x193)]=this[_0x186560(0x248)],await this[_0x186560(0x23b)](_0x27ef8e,_0x38d0e3,_0x186560(0x24b));}else await this[_0x186560(0x1b0)](_0x38d0e3,_0x27ef8e);this[_0x186560(0x1b1)](),this[_0x186560(0x1cb)]=!0x0;}[_0x3182f5(0x1b1)](){const _0x56c61f=_0x3182f5,_0x44c3f3=this[_0x56c61f(0x296)][_0x56c61f(0x284)][_0x56c61f(0x1bf)](_0x1a2418),_0x4a9e65=this[_0x56c61f(0x296)][_0x56c61f(0x284)][_0x56c61f(0x1bf)](_0x40942f),_0x340670=_0x44c3f3[_0x56c61f(0x1e7)][_0x56c61f(0x1bf)](this[_0x56c61f(0x1d2)]);_0x340670&&_0x340670[_0x56c61f(0x283)]>0x1?_0x4a9e65[_0x56c61f(0x277)]():this[_0x56c61f(0x289)](_0x44c3f3,_0x56c61f(0x19d)+this[_0x56c61f(0x1d2)],()=>{const _0x3ece57=_0x56c61f;0x2===_0x44c3f3[_0x3ece57(0x1e7)][_0x3ece57(0x1bf)](this[_0x3ece57(0x1d2)])[_0x3ece57(0x283)]&&_0x4a9e65[_0x3ece57(0x277)]();});}async[_0x3182f5(0x1c3)](_0x555600,_0xe0c993,_0xd667f9,_0x178c34){const _0x4c4a3d=_0x3182f5;if(!this[_0x4c4a3d(0x242)]&&this[_0x4c4a3d(0x260)][_0x4c4a3d(0x193)]==_0xe0c993){const _0x5ccee5=this[_0x4c4a3d(0x23e)](_0xd667f9,_0x178c34);await this[_0x4c4a3d(0x23f)](_0x5ccee5),this[_0x4c4a3d(0x26f)](_0x5ccee5,_0xe0c993,_0xd667f9[_0x4c4a3d(0x202)])||this[_0x4c4a3d(0x1fd)](_0x4c4a3d(0x259));}}async[_0x3182f5(0x222)](){const _0x58de0c=_0x3182f5;this[_0x58de0c(0x1ea)]();const {locale:_0x139f41}=this[_0x58de0c(0x296)];let _0x1c37aa;try{_0x1c37aa=await this[_0x58de0c(0x24e)][_0x58de0c(0x268)]();}catch{const _0x2b699f=_0x4e7cd5(_0x139f41,_0x58de0c(0x280));return void this[_0x58de0c(0x22f)](_0x2b699f);}const _0x9a331=_0x1c37aa[_0x58de0c(0x229)]||_0x1c37aa[_0x58de0c(0x1ee)];if(this[_0x58de0c(0x23d)]!==_0x9a331[_0x58de0c(0x202)]){const _0x196b2c=_0x4e7cd5(_0x139f41,_0x58de0c(0x1d7));return void this[_0x58de0c(0x22f)](_0x196b2c);}await this[_0x58de0c(0x20e)](this[_0x58de0c(0x296)][_0x58de0c(0x22c)][_0x58de0c(0x1cf)][_0x58de0c(0x286)][_0x58de0c(0x298)](),!0x0);}[_0x3182f5(0x1ea)](){const _0x320835=_0x3182f5;this[_0x320835(0x24e)][_0x320835(0x292)](),this[_0x320835(0x245)]=[],clearTimeout(this[_0x320835(0x269)]),this[_0x320835(0x291)](this[_0x320835(0x24e)]);}[_0x3182f5(0x218)](_0x3b16c2){const _0x1a8080=_0x3182f5,_0x26f90=this[_0x1a8080(0x296)][_0x1a8080(0x284)][_0x1a8080(0x1bf)](_0x1a2418);this[_0x1a8080(0x289)](_0x26f90,_0x1a8080(0x19d)+this[_0x1a8080(0x1d2)],(_0x564ffd,{session:_0x26555d})=>{const _0x143832=_0x1a8080;if(_0x26555d['id']===_0x26f90[_0x143832(0x272)]){_0x564ffd[_0x143832(0x285)]();const _0x5929a3=this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x290)](_0x143832(0x278))&&this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x1bf)](_0x143832(0x278));let _0x272b55=_0x26555d[_0x143832(0x24d)];_0x5929a3&&_0x5929a3[_0x143832(0x214)]&&(_0x272b55=_0x272b55[_0x143832(0x1df)](_0x4ee6b8=>_0x143832(0x250)!==_0x4ee6b8)),this[_0x143832(0x296)][_0x143832(0x284)][_0x143832(0x1bf)](_0x143832(0x1b6))[_0x143832(0x1f8)](_0x272b55,this[_0x143832(0x1d2)]);}}),_0x26f90[_0x1a8080(0x1bb)](this[_0x1a8080(0x1d2)],_0x3b16c2);}[_0x3182f5(0x27f)](){const _0x146c7d=_0x3182f5,_0x2e3775=this[_0x146c7d(0x296)][_0x146c7d(0x238)][_0x146c7d(0x247)];this[_0x146c7d(0x296)][_0x146c7d(0x238)][_0x146c7d(0x247)]=(..._0x5c6a92)=>{const _0x54f6ac=_0x146c7d;if(!_0x5c6a92[_0x5c6a92[_0x54f6ac(0x283)]-0x1][_0x54f6ac(0x225)])throw new _0x3be5a2(_0x54f6ac(0x257),this);_0x2e3775[_0x54f6ac(0x26c)](this[_0x54f6ac(0x296)][_0x54f6ac(0x238)],_0x5c6a92);};}[_0x3182f5(0x1bc)](){const _0x276812=_0x3182f5;this[_0x276812(0x296)][_0x276812(0x238)]['on'](_0x276812(0x27e),(_0x401cbe,[_0x4a4b8f])=>{const _0x2c1bb9=_0x276812;if(this[_0x2c1bb9(0x260)][_0x2c1bb9(0x193)])throw new _0x3be5a2(_0x2c1bb9(0x211),this);_0x401cbe[_0x2c1bb9(0x216)](),this[_0x2c1bb9(0x205)]();const _0x5555bb=this[_0x2c1bb9(0x296)][_0x2c1bb9(0x25c)][_0x2c1bb9(0x1bf)](_0x2c1bb9(0x1ce)),_0x1e4f63=this[_0x2c1bb9(0x244)](_0x4a4b8f,_0x5555bb);0x0==_0x1e4f63[_0x2c1bb9(0x283)]&&_0x1e4f63[_0x2c1bb9(0x22a)](new _0x3acab2(0x0)),_0x401cbe[_0x2c1bb9(0x25d)]=this[_0x2c1bb9(0x20e)](_0x1e4f63)[_0x2c1bb9(0x27b)](()=>{const _0x38bb86=_0x2c1bb9;this[_0x38bb86(0x296)][_0x38bb86(0x284)][_0x38bb86(0x1bf)](_0x539b14)[_0x38bb86(0x1f7)](this),this[_0x38bb86(0x296)][_0x38bb86(0x238)][_0x38bb86(0x252)](_0x38bb86(0x1ad));})[_0x2c1bb9(0x1f2)](_0x103068=>this[_0x2c1bb9(0x1fd)](_0x2c1bb9(0x241),_0x103068))[_0x2c1bb9(0x1d9)](()=>this[_0x2c1bb9(0x20f)]());},{'priority':_0x276812(0x217)}),this[_0x276812(0x296)]['on'](_0x276812(0x24c),async(_0xc74787,[_0x2b9ac4,_0x278fc1])=>{const _0x54d303=_0x276812;_0xc74787[_0x54d303(0x216)]();const _0x4321e3=this[_0x54d303(0x296)][_0x54d303(0x22c)][_0x54d303(0x1cf)][_0x54d303(0x261)](_0x2b9ac4);if(!this[_0x54d303(0x1ab)][_0x54d303(0x290)](_0x2b9ac4)){const _0x37d52=_0x278fc1&&_0x278fc1[_0x54d303(0x238)]?_0x278fc1[_0x54d303(0x238)]:'',_0x225f9a=_0x278fc1&&_0x278fc1[_0x54d303(0x1d4)]?_0x278fc1[_0x54d303(0x1d4)]:{};await this[_0x54d303(0x1fc)](_0x2b9ac4,_0x37d52,_0x225f9a);}this[_0x54d303(0x296)][_0x54d303(0x22c)][_0x54d303(0x198)]({'isUndoable':!0x1},()=>{const _0x2f8ecd=_0x54d303;_0x4321e3[_0x2f8ecd(0x251)]=!0x0,this[_0x2f8ecd(0x296)][_0x2f8ecd(0x22c)][_0x2f8ecd(0x1cf)][_0x2f8ecd(0x1e4)][_0x2f8ecd(0x1db)](_0x4321e3);});},{'priority':_0x276812(0x217)});}async[_0x3182f5(0x23f)](_0x24b4e7){const _0x18228=_0x3182f5,_0x44b22d=this[_0x18228(0x296)][_0x18228(0x284)][_0x18228(0x1bf)](_0x2a01f7),{connection:_0x6932b5}=this[_0x18228(0x296)][_0x18228(0x284)][_0x18228(0x1bf)](_0x539b14),_0x5e6fe0=new Set();for(const _0x26db2d of _0x24b4e7){const _0x16f424=_0x26db2d[_0x18228(0x1dc)];_0x16f424&&!_0x44b22d[_0x18228(0x200)](_0x16f424)&&_0x5e6fe0[_0x18228(0x22d)](_0x16f424);}if(0x0===_0x5e6fe0[_0x18228(0x28e)])return;const _0x554fcf=await _0xb723dc[_0x18228(0x1cd)](_0x6932b5,Array[_0x18228(0x279)](_0x5e6fe0));for(const _0x59ca6c of _0x554fcf)_0x44b22d[_0x18228(0x200)](_0x59ca6c['id'])||_0x44b22d[_0x18228(0x287)](_0x59ca6c);}[_0x3182f5(0x244)](_0x19dd66,_0x3e8f29={}){const _0x4ae48b=_0x3182f5,_0x68b489=this[_0x4ae48b(0x296)][_0x4ae48b(0x22c)],_0x1e4c41=[];let _0x201cbd=0x0;const _0x19d9ac=_0x4ae48b(0x1c2)==typeof _0x19dd66?{'main':_0x19dd66}:_0x19dd66;for(const _0x3deb76 of Object[_0x4ae48b(0x1c6)](_0x19d9ac)){if(!this[_0x4ae48b(0x260)][_0x4ae48b(0x1e6)][_0x4ae48b(0x290)](_0x3deb76))throw new _0x3be5a2(_0x4ae48b(0x21b),this);const _0x4c257b=this[_0x4ae48b(0x296)][_0x4ae48b(0x238)][_0x4ae48b(0x21f)](_0x19d9ac[_0x3deb76]),_0x47e052=this[_0x4ae48b(0x260)][_0x4ae48b(0x261)](_0x3deb76),_0x3e0c2a=new _0x3aff7d(_0x68b489[_0x4ae48b(0x295)](_0x47e052,0x0),_0x4c257b,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x3e0c2a);for(const [_0x50cfee,_0x8602d8]of _0x4c257b[_0x4ae48b(0x1c7)]){const _0x2bd6cb=_0x68b489[_0x4ae48b(0x235)](_0x68b489[_0x4ae48b(0x27d)](_0x47e052,_0x8602d8[_0x4ae48b(0x25f)][_0x4ae48b(0x1aa)][_0x4ae48b(0x276)]()),_0x68b489[_0x4ae48b(0x27d)](_0x47e052,_0x8602d8[_0x4ae48b(0x1d3)][_0x4ae48b(0x1aa)][_0x4ae48b(0x276)]())),_0x1d976e=new _0x9ab32(_0x50cfee,null,_0x2bd6cb,_0x68b489[_0x4ae48b(0x1c7)],!0x0,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x1d976e);}}if(_0x3e8f29)for(const [_0x381f7f,_0x37db0c]of Object[_0x4ae48b(0x1eb)](_0x3e8f29)){const _0x2ce717=_0x68b489[_0x4ae48b(0x1cf)][_0x4ae48b(0x261)](_0x381f7f);if(!_0x2ce717)throw new _0x3be5a2(_0x4ae48b(0x1af),null);for(const [_0x10e8c1,_0x28fea5]of Object[_0x4ae48b(0x1eb)](_0x37db0c))if(null!==_0x28fea5){const _0x555b9d=new _0x3cdcd9(_0x2ce717,_0x10e8c1,null,_0x28fea5,_0x201cbd++);_0x1e4c41[_0x4ae48b(0x22a)](_0x555b9d);}}return _0x1e4c41;}async[_0x3182f5(0x1fc)](_0x41e2db,_0xf24f16,_0x59a46f){const _0x2ccd52=_0x3182f5;this[_0x2ccd52(0x244)]({[_0x41e2db]:_0xf24f16},{[_0x41e2db]:_0x59a46f})[_0x2ccd52(0x1a8)]((_0x1d8e94,_0x310db5)=>{const _0x29327e=_0x2ccd52;_0x1d8e94[_0x29327e(0x256)]=this[_0x29327e(0x260)][_0x29327e(0x193)]+_0x310db5,_0x1d8e94[_0x29327e(0x1e1)]=!0x0,this[_0x29327e(0x258)](_0x1d8e94);}),this[_0x2ccd52(0x1c5)](),await this[_0x2ccd52(0x22e)]();}async[_0x3182f5(0x1b0)](_0x2a5ea4,_0x307346){const _0x17a8e9=_0x3182f5;let _0x4db944;this[_0x17a8e9(0x248)]=_0x2a5ea4[_0x17a8e9(0x1b9)];const _0x5b5ff5=_0x2a5ea4[_0x17a8e9(0x28b)]&&!_0x2a5ea4[_0x17a8e9(0x263)],_0x16ee2d=_0x5b5ff5?0x0:_0x2a5ea4[_0x17a8e9(0x238)][_0x17a8e9(0x256)];if(_0x307346[_0x17a8e9(0x1a8)](_0x2b6dd4=>{const _0x1991c9=_0x17a8e9;_0x2b6dd4[_0x1991c9(0x1e1)]=!0x0,_0x2b6dd4[_0x1991c9(0x1e8)]=_0x2a5ea4[_0x1991c9(0x230)],_0x2b6dd4[_0x1991c9(0x1dc)]=null;}),_0x5b5ff5)_0x4db944=_0x307346,this[_0x17a8e9(0x209)](_0x4db944,_0x5b5ff5);else{if(_0x2a5ea4[_0x17a8e9(0x263)]){const _0x2896b9=this[_0x17a8e9(0x244)](_0x2a5ea4[_0x17a8e9(0x263)]);this[_0x17a8e9(0x260)][_0x17a8e9(0x286)][_0x17a8e9(0x193)]=-_0x2896b9[_0x17a8e9(0x283)],_0x2896b9[_0x17a8e9(0x1a8)](_0x2a3166=>{const _0x3c7687=_0x17a8e9;_0x2a3166[_0x3c7687(0x256)]-=_0x2896b9[_0x3c7687(0x283)],_0x2a3166[_0x3c7687(0x1e8)]=_0x2a5ea4[_0x3c7687(0x230)],_0x2a3166[_0x3c7687(0x1e1)]=!0x0,_0x2a3166[_0x3c7687(0x1dc)]=null;}),this[_0x17a8e9(0x209)](_0x2896b9,!0x0),this[_0x17a8e9(0x236)][_0x17a8e9(0x193)]=-_0x2896b9[_0x17a8e9(0x283)]+this[_0x17a8e9(0x248)],this[_0x17a8e9(0x266)](_0x2896b9);}this[_0x17a8e9(0x260)][_0x17a8e9(0x286)][_0x17a8e9(0x193)]=_0x16ee2d,_0x4db944=this[_0x17a8e9(0x23e)](_0x2a5ea4[_0x17a8e9(0x238)],_0x2a5ea4[_0x17a8e9(0x19b)]),await this[_0x17a8e9(0x23f)](_0x4db944),this[_0x17a8e9(0x209)](_0x4db944,_0x5b5ff5);}_0x2a5ea4[_0x17a8e9(0x202)]&&(this[_0x17a8e9(0x20d)][_0x17a8e9(0x297)](_0x4db944,_0x2a5ea4[_0x17a8e9(0x202)]),this[_0x17a8e9(0x23d)]=_0x2a5ea4[_0x17a8e9(0x202)]),this[_0x17a8e9(0x236)][_0x17a8e9(0x193)]=_0x16ee2d+this[_0x17a8e9(0x248)],this[_0x17a8e9(0x266)](_0x4db944),_0x307346[_0x17a8e9(0x1df)](_0x415222=>{const _0x2eb2a7=_0x17a8e9,_0x5bb3a0=this[_0x2eb2a7(0x1a5)](_0x415222);return _0x5bb3a0&&!this[_0x2eb2a7(0x1ab)][_0x2eb2a7(0x290)](_0x5bb3a0);})[_0x17a8e9(0x1a8)]((_0x186a3b,_0xea0f5)=>{const _0x12b485=_0x17a8e9;_0x186a3b[_0x12b485(0x256)]=this[_0x12b485(0x260)][_0x12b485(0x193)]+_0xea0f5,this[_0x12b485(0x258)](_0x186a3b);}),this[_0x17a8e9(0x1ba)]()?(this[_0x17a8e9(0x1d1)]=0x0,this[_0x17a8e9(0x1c5)](!0x0),await this[_0x17a8e9(0x22e)]()):(this[_0x17a8e9(0x242)]=!0x1,this[_0x17a8e9(0x20f)]());}[_0x3182f5(0x1fd)](_0x58bdfa,_0xead500){const _0x236db5=_0x3182f5,_0x3068f4=_0xead500&&_0xead500[_0x236db5(0x19a)];if(_0x3068f4&&_0x3068f4[_0x236db5(0x228)](_0x236db5(0x255)))throw _0xead500;const _0x1647e4=this[_0x236db5(0x296)][_0x236db5(0x284)][_0x236db5(0x1bf)](_0x539b14);throw this[_0x236db5(0x242)]=!0x0,_0x1647e4[_0x236db5(0x292)](),this[_0x236db5(0x296)][_0x236db5(0x24a)](_0x236db5(0x196)),new _0x3be5a2(_0x58bdfa,this[_0x236db5(0x296)],_0x3068f4?{'originalError':_0x3068f4}:void 0x0);}[_0x3182f5(0x258)](_0x467af3){const _0x5a7e71=_0x3182f5;this[_0x5a7e71(0x1a1)][_0x5a7e71(0x290)](_0x467af3)||(this[_0x5a7e71(0x1a1)][_0x5a7e71(0x22d)](_0x467af3),this[_0x5a7e71(0x245)][_0x5a7e71(0x22a)](_0x467af3),this[_0x5a7e71(0x1f1)]||_0x5a7e71(0x204)==_0x467af3[_0x5a7e71(0x1f6)]&&!_0x467af3[_0x5a7e71(0x1ec)]||this[_0x5a7e71(0x205)]());}[_0x3182f5(0x1c5)](_0x32bc48=!0x1){const _0x6210e=_0x3182f5;!_0x32bc48&&this[_0x6210e(0x242)]||(this[_0x6210e(0x242)]=!0x0,clearTimeout(this[_0x6210e(0x269)]),this[_0x6210e(0x269)]=setTimeout(()=>{const _0x1378bf=_0x6210e;this[_0x1378bf(0x19c)]()[_0x1378bf(0x27b)](_0x2eecdb=>{const _0x5527e9=_0x1378bf;_0x2eecdb&&(this[_0x5527e9(0x20f)](),this[_0x5527e9(0x242)]=!0x1);})[_0x1378bf(0x1f2)](_0x5ccd41=>{const _0x543b19=_0x1378bf;this[_0x543b19(0x20f)](),this[_0x543b19(0x242)]=!0x1,function(_0x14623f){const _0x41cfe0=_0x543b19;return _0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x206))||_0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x1ac))||_0x14623f[_0x41cfe0(0x19a)][_0x41cfe0(0x228)](_0x41cfe0(0x267));}(_0x5ccd41)||this[_0x543b19(0x1fd)](_0x5ccd41[_0x543b19(0x19a)],_0x5ccd41);});},this[_0x6210e(0x1d1)]));}[_0x3182f5(0x22e)](){return new Promise(_0x4cc80f=>{const _0x5bd90c=_0x5b2d;this['on'](_0x5bd90c(0x1fa),()=>{_0x4cc80f();});});}async[_0x3182f5(0x19c)](){const _0x4d25f3=_0x3182f5,_0x501a97=this[_0x4d25f3(0x296)][_0x4d25f3(0x284)][_0x4d25f3(0x1bf)](_0x40942f);if(this[_0x4d25f3(0x28a)]()&&(_0x501a97[_0x4d25f3(0x277)](),this[_0x4d25f3(0x201)]=!0x1),!this[_0x4d25f3(0x1ba)]())return!0x0;const _0x3cd61d=[...this[_0x4d25f3(0x245)]];for(const _0xd17e97 of _0x3cd61d)_0xd17e97[_0x4d25f3(0x207)]=this[_0x4d25f3(0x260)][_0x4d25f3(0x286)][_0x4d25f3(0x294)](_0xd17e97);const _0x19bd59=this[_0x4d25f3(0x20d)][_0x4d25f3(0x299)](_0x3cd61d),_0x111f95=H++,_0x2fa9bc=this[_0x4d25f3(0x249)](_0x3cd61d),_0x41a1a3=await this[_0x4d25f3(0x24e)][_0x4d25f3(0x219)](_0x2fa9bc,_0x2fa9bc[_0x4d25f3(0x256)],_0x19bd59);try{return await this[_0x4d25f3(0x23b)](_0x3cd61d,_0x41a1a3,_0x111f95);}catch(_0x409043){return this[_0x4d25f3(0x1fd)](_0x4d25f3(0x22b),_0x409043);}}async[_0x3182f5(0x23b)](_0x10b45d,_0x16095c,_0x22a6a0){const _0x572031=_0x3182f5;if(_0x572031(0x1d5)in _0x16095c)throw _0x16095c[_0x572031(0x1d5)];let _0x30f4a9=!0x1;if(_0x16095c[_0x572031(0x28b)]){_0x16095c[_0x572031(0x202)]&&(this[_0x572031(0x23d)]=_0x16095c[_0x572031(0x202)]),this[_0x572031(0x245)]=this[_0x572031(0x245)][_0x572031(0x1df)](_0x234b3f=>!_0x10b45d[_0x572031(0x26b)](_0x234b3f));for(const _0x7698fa of _0x10b45d)_0x7698fa[_0x572031(0x1e8)]=_0x572031(0x1a0)in _0x16095c&&_0x16095c[_0x572031(0x1a0)]||void 0x0;W(_0x10b45d,_0x16095c[_0x572031(0x193)]-_0x10b45d[_0x572031(0x283)]),this[_0x572031(0x266)](_0x10b45d);const _0x2b550d=_0x10b45d[_0x572031(0x1df)](_0x50c98e=>{const _0x4903cf=_0x572031;if(!_0x50c98e[_0x4903cf(0x1e1)])return!0x1;const _0x4a118b=this[_0x4903cf(0x1a5)](_0x50c98e);return _0x4a118b&&!this[_0x4903cf(0x1ab)][_0x4903cf(0x290)](_0x4a118b);});W(_0x2b550d,this[_0x572031(0x260)][_0x572031(0x193)]),this[_0x572031(0x209)](_0x2b550d),_0x30f4a9=!0x0,this[_0x572031(0x1d1)]=this[_0x572031(0x1b4)];}else{const _0x31316e=this[_0x572031(0x23e)](_0x16095c[_0x572031(0x238)],_0x16095c[_0x572031(0x19b)])[_0x572031(0x1df)](_0x563042=>_0x563042[_0x572031(0x256)]>=this[_0x572031(0x293)]);_0x31316e[_0x572031(0x1a8)](_0xd1a494=>this[_0x572031(0x1fb)](_0xd1a494)),this[_0x572031(0x245)]=this[_0x572031(0x245)][_0x572031(0x1df)](_0x55ed07=>!_0x55ed07[_0x572031(0x1e1)]||!this[_0x572031(0x1ab)][_0x572031(0x290)](this[_0x572031(0x1a5)](_0x55ed07))),this[_0x572031(0x245)][_0x572031(0x283)]&&W(this[_0x572031(0x245)],this[_0x572031(0x245)][0x0][_0x572031(0x256)]),await this[_0x572031(0x23f)](_0x31316e),_0x30f4a9=this[_0x572031(0x26f)](_0x31316e,_0x16095c[_0x572031(0x193)],_0x16095c[_0x572031(0x202)]),this[_0x572031(0x1d1)]=Math[_0x572031(0x1c1)](this[_0x572031(0x1d1)]/0x2);}return _0x30f4a9?!this[_0x572031(0x1ba)]()||(this[_0x572031(0x1c5)](!0x0),!0x1):this[_0x572031(0x1fd)](_0x572031(0x1b8));}[_0x3182f5(0x26f)](_0x14f7c4,_0x3de5ad,_0x1aab56){const _0x56cab6=_0x3182f5;try{const _0x2d2843={'document':this[_0x56cab6(0x260)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2aabd4,operationsB:_0xb4cc5e,originalOperations:_0x1a0ac6}=_0x3d47f4(_0x14f7c4,this[_0x56cab6(0x245)],_0x2d2843);W(_0x2aabd4,this[_0x56cab6(0x260)][_0x56cab6(0x193)]),W(_0xb4cc5e,_0x3de5ad);for(const _0x53e548 of _0x2aabd4){const _0x16fe10=_0x1a0ac6[_0x56cab6(0x1bf)](_0x53e548);_0x53e548[_0x56cab6(0x1dc)]=_0x16fe10?_0x16fe10[_0x56cab6(0x1dc)]:null;}_0x1aab56&&(this[_0x56cab6(0x20d)][_0x56cab6(0x297)](_0x14f7c4,_0x1aab56),this[_0x56cab6(0x23d)]=_0x1aab56),this[_0x56cab6(0x245)]=[..._0xb4cc5e],this[_0x56cab6(0x209)](_0x2aabd4),this[_0x56cab6(0x266)](_0x14f7c4);}catch(_0x42c424){return console[_0x56cab6(0x1d5)](_0x42c424),!0x1;}return!0x0;}[_0x3182f5(0x209)](_0x3666d8,_0x30c717=!0x1){const _0xdd4d51=_0x3182f5;this[_0xdd4d51(0x296)][_0xdd4d51(0x22c)][_0xdd4d51(0x198)]({'isUndoable':!0x1,'isLocal':!0x1},_0x450601=>{const _0x5869ea=_0xdd4d51;for(const _0x42d87d of _0x3666d8)this[_0x5869ea(0x1a1)][_0x5869ea(0x22d)](_0x42d87d),this[_0x5869ea(0x1fb)](_0x42d87d),_0x450601[_0x5869ea(0x1a4)][_0x5869ea(0x282)](_0x42d87d),this[_0x5869ea(0x296)][_0x5869ea(0x22c)][_0x5869ea(0x1e0)](_0x42d87d);});}[_0x3182f5(0x1fb)](_0xadb1c3){const _0xda9da6=_0x3182f5,_0xb1e023=this[_0xda9da6(0x1a5)](_0xadb1c3);_0xb1e023&&this[_0xda9da6(0x1ab)][_0xda9da6(0x22d)](_0xb1e023);}[_0x3182f5(0x1a5)](_0x16e467){const _0x4cf12e=_0x3182f5;let _0xa0d589,_0x298cc2;switch(_0x16e467[_0x4cf12e(0x1f6)]){case _0x4cf12e(0x215):_0xa0d589=_0x16e467[_0x4cf12e(0x1a2)][_0x4cf12e(0x270)];break;case _0x4cf12e(0x204):if(_0x298cc2=_0x16e467[_0x4cf12e(0x26e)],!_0x298cc2)return null;_0xa0d589=_0x298cc2[_0x4cf12e(0x270)];break;case _0x4cf12e(0x28c):_0xa0d589=_0x16e467[_0x4cf12e(0x270)];break;case _0x4cf12e(0x1a6):_0xa0d589=_0x16e467[_0x4cf12e(0x213)];break;case _0x4cf12e(0x1cc):_0xa0d589=_0x16e467[_0x4cf12e(0x1dd)][_0x4cf12e(0x270)];break;default:return null;}return _0xa0d589[_0x4cf12e(0x1f9)];}[_0x3182f5(0x266)](_0x1a45d6){const _0x5cba4f=_0x3182f5;_0x1a45d6[_0x5cba4f(0x1a8)](_0x28d9f3=>{const _0x2c8e04=_0x5cba4f,_0x2b5b3f=_0x28d9f3[_0x2c8e04(0x21a)]();_0x2b5b3f[_0x2c8e04(0x1dc)]=_0x28d9f3[_0x2c8e04(0x1dc)],_0x2b5b3f[_0x2c8e04(0x1e1)]=!!_0x28d9f3[_0x2c8e04(0x1e1)],_0x2b5b3f[_0x2c8e04(0x1e8)]=_0x28d9f3[_0x2c8e04(0x1e8)],_0x2b5b3f[_0x2c8e04(0x256)]+=this[_0x2c8e04(0x248)],_0x28d9f3[_0x2c8e04(0x240)]&&this[_0x2c8e04(0x1be)][_0x2c8e04(0x22d)](_0x2b5b3f),this[_0x2c8e04(0x236)][_0x2c8e04(0x282)](_0x2b5b3f);});}[_0x3182f5(0x22f)](_0x135e28){const _0x2833d4=_0x3182f5,_0x163ea9=this[_0x2833d4(0x296)][_0x2833d4(0x284)][_0x2833d4(0x1bf)](_0x2833d4(0x220)),_0xcf9ccb=this[_0x2833d4(0x296)][_0x2833d4(0x194)];_0x135e28||(_0x135e28=_0x4e7cd5(_0xcf9ccb,_0x2833d4(0x23a))),_0x163ea9[_0x2833d4(0x1fe)](_0x135e28,{'title':_0x4e7cd5(_0xcf9ccb,_0x2833d4(0x28f)),'namespace':_0x2833d4(0x199)}),this[_0x2833d4(0x23c)]=!0x0,clearTimeout(this[_0x2833d4(0x269)]),this[_0x2833d4(0x245)]=[],this[_0x2833d4(0x296)][_0x2833d4(0x284)][_0x2833d4(0x1bf)](_0x539b14)[_0x2833d4(0x292)]();}[_0x3182f5(0x205)](){const _0x236d1a=_0x3182f5;this[_0x236d1a(0x1f1)]||(this[_0x236d1a(0x1f1)]=this[_0x236d1a(0x296)][_0x236d1a(0x284)][_0x236d1a(0x1bf)](_0x46d007)[_0x236d1a(0x22d)](_0x4e7cd5(this[_0x236d1a(0x296)][_0x236d1a(0x194)],_0x236d1a(0x231))));}[_0x3182f5(0x20f)](){const _0x311e26=_0x3182f5;this[_0x311e26(0x1f1)]&&(this[_0x311e26(0x296)][_0x311e26(0x284)][_0x311e26(0x1bf)](_0x46d007)[_0x311e26(0x1d0)](this[_0x311e26(0x1f1)]),this[_0x311e26(0x1f1)]=null);}[_0x3182f5(0x249)](_0x1c0fac){const _0xacc555=_0x3182f5,_0xd71b48=_0x1c0fac[_0xacc555(0x246)](_0x321814=>_0x321814[_0xacc555(0x281)]());return this[_0xacc555(0x275)][_0xacc555(0x265)](_0xd71b48);}[_0x3182f5(0x23e)](_0x529f43,_0x2b40f3){const _0x167a18=_0x3182f5;return this[_0x167a18(0x275)][_0x167a18(0x203)](_0x529f43)[_0x167a18(0x246)]((_0x1dbda1,_0x54cceb)=>{const _0x44866b=_0x167a18,_0x306f38=_0x44866b(0x27e)==_0x2b40f3[_0x54cceb][_0x44866b(0x1f6)];if(_0x44866b(0x1b3)==_0x1dbda1[_0x44866b(0x19f)]){const _0x11e75d=_0x1dbda1[_0x44866b(0x1a2)][_0x44866b(0x270)];!this[_0x44866b(0x260)][_0x44866b(0x261)](_0x11e75d)&&(this[_0x44866b(0x260)][_0x44866b(0x1c9)](_0x44866b(0x1e2),_0x11e75d)[_0x44866b(0x25e)]=!0x1);}const _0x25f9a5=_0x2643fb[_0x44866b(0x25a)](_0x1dbda1,this[_0x44866b(0x260)]);return _0x25f9a5[_0x44866b(0x207)]=_0x1dbda1[_0x44866b(0x207)],_0x25f9a5[_0x44866b(0x1e1)]=_0x306f38,_0x25f9a5[_0x44866b(0x1dc)]=_0x306f38?null:_0x2b40f3[_0x54cceb][_0x44866b(0x208)],_0x25f9a5[_0x44866b(0x240)]=_0x44866b(0x221)===_0x2b40f3[_0x54cceb][_0x44866b(0x1f6)],_0x25f9a5[_0x44866b(0x1e8)]=_0x2b40f3[_0x54cceb][_0x44866b(0x1e8)],_0x25f9a5;});}[_0x3182f5(0x20c)](){const _0x56bf84=_0x3182f5;this[_0x56bf84(0x201)]=!0x0,this[_0x56bf84(0x28a)]()?this[_0x56bf84(0x1c5)]():this[_0x56bf84(0x201)]=!0x1;}[_0x3182f5(0x28a)](){const _0x4c8c39=_0x3182f5,_0x490458=this[_0x4c8c39(0x296)][_0x4c8c39(0x284)][_0x4c8c39(0x1bf)](_0x1a2418)[_0x4c8c39(0x1e7)][_0x4c8c39(0x1bf)](this[_0x4c8c39(0x1d2)]);return!this[_0x4c8c39(0x296)][_0x4c8c39(0x224)]&&!!_0x490458&&_0x490458[_0x4c8c39(0x283)]>0x1&&this[_0x4c8c39(0x201)];}[_0x3182f5(0x1ba)](){const _0x58a347=_0x3182f5;return this[_0x58a347(0x245)][_0x58a347(0x283)]>0x0||this[_0x58a347(0x28a)]();}}class V extends Error{}function W(_0x962fa4,_0x5caac2){const _0x1c109a=_0x3182f5;for(const _0x5dbeae of _0x962fa4)_0x5dbeae[_0x1c109a(0x256)]=_0x5caac2++;}class F{[_0x3182f5(0x197)];[_0x3182f5(0x237)];constructor(_0x473a2e){const _0xfc9c50=_0x3182f5;this[_0xfc9c50(0x197)]=_0x473a2e,this[_0xfc9c50(0x237)]=new WeakMap();}[_0x3182f5(0x299)](_0x404c4a){const _0x1f34ab=_0x3182f5;let _0x457248=_0x404c4a[_0x1f34ab(0x283)];for(;_0x457248--;){const _0x98eb18=_0x404c4a[_0x457248];if(!this[_0x1f34ab(0x197)][_0x1f34ab(0x290)](_0x98eb18)){if(!this[_0x1f34ab(0x237)][_0x1f34ab(0x290)](_0x98eb18)){const _0x585635=_0x1a3efb()[_0x1f34ab(0x276)](0x1,0x12);this[_0x1f34ab(0x237)][_0x1f34ab(0x247)](_0x98eb18,_0x585635);}return this[_0x1f34ab(0x237)][_0x1f34ab(0x1bf)](_0x98eb18);}}}[_0x3182f5(0x297)](_0x4ad709,_0x5806c7){const _0x3389bc=_0x3182f5;if(!_0x5806c7)return;let _0x19a11e=_0x4ad709[_0x3389bc(0x283)];for(;_0x19a11e--;){const _0x41b764=_0x4ad709[_0x19a11e];this[_0x3389bc(0x197)][_0x3389bc(0x290)](_0x41b764)||this[_0x3389bc(0x237)][_0x3389bc(0x247)](_0x41b764,_0x5806c7);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2dcb(){const _0x1fa0eb=['_users','user','role','defineMe','363738xokSSt','isPremiumPlugin','_registeredSessions','size','plugins','isMe','sessionAdd:','addUser','connection','mySessionId','getUserBySessionId','allConnectedUsers','orderNumber','1264050aXNAgg','requires','sessionId','get','2401803DnNQNJ','Sessions','getUser','fire','channelConnectedUsers','hiddenInPresenceList','pluginName','_createUser','14171ZzpLFq','change:state','179725UeGHAI','isOfficialPlugin','channelSessions','listenTo','assign','_handleSessionAdd','add','set','state','context','271160LggDCC','2804OjxbNV','_handleSessionRemove','sessions-register-already-registered','register','clear','stopListening','getUserSessions','init','765IuNjDY','forEach','has','remove','unregister','connected','_uniqueUsersCount','sessions-unregister-not-exist','values','10IwvqWz','getUserRole','delete'];_0x2dcb=function(){return _0x1fa0eb;};return _0x2dcb();}function _0x57fd(_0x47e3b1,_0x575403){const _0x2dcb41=_0x2dcb();return _0x57fd=function(_0x57fd5e,_0x318e8e){_0x57fd5e=_0x57fd5e-0xef;let _0x3433b1=_0x2dcb41[_0x57fd5e];return _0x3433b1;},_0x57fd(_0x47e3b1,_0x575403);}const _0x1e09a0=_0x57fd;(function(_0x4a5c68,_0x10ec5c){const _0x240c7a=_0x57fd,_0x5712ae=_0x4a5c68();while(!![]){try{const _0x1ca757=-parseInt(_0x240c7a(0x129))/0x1*(parseInt(_0x240c7a(0x109))/0x2)+parseInt(_0x240c7a(0x110))/0x3+parseInt(_0x240c7a(0xf8))/0x4*(parseInt(_0x240c7a(0x100))/0x5)+parseInt(_0x240c7a(0x11d))/0x6+-parseInt(_0x240c7a(0x12b))/0x7+parseInt(_0x240c7a(0xf7))/0x8+-parseInt(_0x240c7a(0x121))/0x9;if(_0x1ca757===_0x10ec5c)break;else _0x5712ae['push'](_0x5712ae['shift']());}catch(_0x5d2105){_0x5712ae['push'](_0x5712ae['shift']());}}}(_0x2dcb,0x1ac68));import{ContextPlugin as _0x2778be}from'ckeditor5/src/core.js';import{Collection as _0x4495ea,CKEditorError as _0x2ce5f2}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2823ae}from'./websocketgateway.js';import{Users as _0x16fe20}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2778be{[_0x1e09a0(0xef)];[_0x1e09a0(0x125)];[_0x1e09a0(0x11b)];[_0x1e09a0(0x112)];[_0x1e09a0(0x106)];[_0x1e09a0(0x10c)];static get[_0x1e09a0(0x127)](){const _0x1f0e67=_0x1e09a0;return _0x1f0e67(0x122);}static get[_0x1e09a0(0x12c)](){return!0x0;}static get[_0x1e09a0(0x111)](){return!0x0;}static get[_0x1e09a0(0x11e)](){return[_0x2823ae,_0x16fe20];}constructor(_0x410209){const _0x3d6d2a=_0x1e09a0;super(_0x410209),this[_0x3d6d2a(0xef)]=new Map(),this[_0x3d6d2a(0x125)]=new Map(),this[_0x3d6d2a(0x11b)]=new _0x4495ea(),this[_0x3d6d2a(0x112)]=new Map(),this[_0x3d6d2a(0x106)]=0x0,this[_0x3d6d2a(0x10c)]=this[_0x3d6d2a(0xf6)][_0x3d6d2a(0x114)][_0x3d6d2a(0x120)](_0x16fe20);}[_0x1e09a0(0xff)](){const _0x28a23c=_0x1e09a0,_0x22a986=this[_0x28a23c(0xf6)][_0x28a23c(0x114)][_0x28a23c(0x120)](_0x2823ae);this[_0x28a23c(0xf0)](_0x22a986,_0x28a23c(0x12a),(_0x373ae7,_0xa60995,_0x534181)=>{const _0x409ead=_0x28a23c;if(_0x409ead(0x105)!==_0x534181)this[_0x409ead(0xef)][_0x409ead(0x101)](_0x34b321=>_0x34b321[_0x409ead(0xfc)]()),this[_0x409ead(0x125)][_0x409ead(0x101)](_0x52a08b=>_0x52a08b[_0x409ead(0xfc)]()),this[_0x409ead(0x11b)][_0x409ead(0xfc)]();else{for(const [_0x44bc2b,_0xddce3e]of this[_0x409ead(0x112)])for(const _0x496c17 of _0xddce3e)this[_0x409ead(0xf2)](_0x44bc2b,_0x496c17);}}),this[_0x28a23c(0x128)](_0x22a986[_0x28a23c(0x118)]['me'],!0x0);}[_0x1e09a0(0xfb)](_0x5e5e79,_0x28619a){const _0x3bf439=_0x1e09a0;if(this[_0x3bf439(0x112)][_0x3bf439(0x102)](_0x5e5e79))throw new _0x2ce5f2(_0x3bf439(0xfa),null,{'channelId':_0x5e5e79});this[_0x3bf439(0x112)][_0x3bf439(0xf4)](_0x5e5e79,_0x28619a),this[_0x3bf439(0xef)][_0x3bf439(0xf4)](_0x5e5e79,new _0x4495ea()),this[_0x3bf439(0x125)][_0x3bf439(0xf4)](_0x5e5e79,new _0x4495ea()),this[_0x3bf439(0xf0)](_0x28619a,_0x3bf439(0xf3),(_0x16b3df,_0x1a1f0c)=>this[_0x3bf439(0xf2)](_0x5e5e79,_0x1a1f0c)),this[_0x3bf439(0xf0)](_0x28619a,_0x3bf439(0x103),(_0x14d508,_0x94b99d)=>this[_0x3bf439(0xf9)](_0x5e5e79,_0x94b99d));for(const _0x572084 of _0x28619a)this[_0x3bf439(0xf2)](_0x5e5e79,_0x572084);}[_0x1e09a0(0x104)](_0x49b6c4){const _0x348c80=_0x1e09a0;if(!this[_0x348c80(0x112)][_0x348c80(0x102)](_0x49b6c4))throw new _0x2ce5f2(_0x348c80(0x107),null,{'channelId':_0x49b6c4});const _0x35cb22=this[_0x348c80(0x112)][_0x348c80(0x120)](_0x49b6c4);this[_0x348c80(0xfd)](_0x35cb22);for(const _0x58fd3e of _0x35cb22)_0x348c80(0x105)===this[_0x348c80(0xf6)][_0x348c80(0x114)][_0x348c80(0x120)](_0x2823ae)[_0x348c80(0xf5)]&&this[_0x348c80(0xf9)](_0x49b6c4,_0x58fd3e);this[_0x348c80(0x112)][_0x348c80(0x10b)](_0x49b6c4),this[_0x348c80(0xef)][_0x348c80(0x10b)](_0x49b6c4),this[_0x348c80(0x125)][_0x348c80(0x10b)](_0x49b6c4);}get[_0x1e09a0(0x119)](){const _0x2924e1=_0x1e09a0;return this[_0x2924e1(0xf6)][_0x2924e1(0x114)][_0x2924e1(0x120)](_0x2823ae)[_0x2924e1(0x118)][_0x2924e1(0x11f)];}[_0x1e09a0(0x11a)](_0x21ac52){const _0x402a27=_0x1e09a0;for(const _0x3850e5 of this[_0x402a27(0xef)][_0x402a27(0x108)]())for(const _0x12cfef of _0x3850e5)if(_0x12cfef['id']===_0x21ac52)return _0x12cfef[_0x402a27(0x10d)];}[_0x1e09a0(0xfe)](_0x1b70c5,_0x4c4466){const _0x2960e4=_0x1e09a0,_0x2476ac=_0x4c4466?[this[_0x2960e4(0xef)][_0x2960e4(0x120)](_0x4c4466)]:this[_0x2960e4(0xef)][_0x2960e4(0x108)](),_0x4d1cb4=new Set();for(const _0x52695b of _0x2476ac)for(const _0x44e582 of _0x52695b)_0x44e582[_0x2960e4(0x10d)]['id']===_0x1b70c5['id']&&_0x4d1cb4[_0x2960e4(0xf3)](_0x44e582['id']);return _0x4d1cb4;}[_0x1e09a0(0x10a)](_0x2a6682){const _0x2a0c82=_0x1e09a0;for(const _0x346488 of this[_0x2a0c82(0xef)][_0x2a0c82(0x108)]())for(const _0x249f17 of _0x346488)if(_0x249f17[_0x2a0c82(0x10d)]===_0x2a6682)return _0x249f17[_0x2a0c82(0x10e)];}[_0x1e09a0(0xf2)](_0x215520,_0x2ef0bf){const _0x36f724=_0x1e09a0;if(_0x36f724(0x105)!==this[_0x36f724(0xf6)][_0x36f724(0x114)][_0x36f724(0x120)](_0x2823ae)[_0x36f724(0xf5)])return;const _0x8a02ec=_0x2ef0bf[_0x36f724(0x10d)],_0xd662b=this[_0x36f724(0x10c)][_0x36f724(0x123)](_0x8a02ec['id'])||this[_0x36f724(0x128)](_0x8a02ec),_0x75b061=Object[_0x36f724(0xf1)]({},_0x2ef0bf,{'user':_0xd662b});if(this[_0x36f724(0xef)][_0x36f724(0x120)](_0x215520)[_0x36f724(0xf3)](_0x75b061),!_0x8a02ec[_0x36f724(0x126)]){const _0x5a8e41=this[_0x36f724(0x125)][_0x36f724(0x120)](_0x215520);_0x5a8e41[_0x36f724(0x102)](_0xd662b['id'])||_0x5a8e41[_0x36f724(0xf3)](_0xd662b),this[_0x36f724(0x11b)][_0x36f724(0x102)](_0xd662b['id'])||_0x8a02ec[_0x36f724(0x126)]||this[_0x36f724(0x11b)][_0x36f724(0xf3)](_0xd662b,_0xd662b[_0x36f724(0x115)]?0x0:void 0x0);}this[_0x36f724(0x124)](_0x36f724(0x116)+_0x215520,{'channelId':_0x215520,'session':_0x75b061});}[_0x1e09a0(0xf9)](_0x2a3dbc,_0x1c61ca){const _0x5e7ae0=_0x1e09a0;if(_0x5e7ae0(0x105)!==this[_0x5e7ae0(0xf6)][_0x5e7ae0(0x114)][_0x5e7ae0(0x120)](_0x2823ae)[_0x5e7ae0(0xf5)])return;const _0x417917=this[_0x5e7ae0(0x125)][_0x5e7ae0(0x120)](_0x2a3dbc),_0x1c92ed=_0x1c61ca[_0x5e7ae0(0x10d)];_0x1c92ed['id']&&(this[_0x5e7ae0(0xef)][_0x5e7ae0(0x120)](_0x2a3dbc)[_0x5e7ae0(0x103)](_0x1c61ca['id']),_0x417917[_0x5e7ae0(0x102)](_0x1c92ed['id'])&&!this[_0x5e7ae0(0xfe)](_0x1c92ed,_0x2a3dbc)[_0x5e7ae0(0x113)]&&_0x417917[_0x5e7ae0(0x103)](_0x1c92ed['id']),this[_0x5e7ae0(0x11b)][_0x5e7ae0(0x120)](_0x1c92ed['id'])&&!this[_0x5e7ae0(0xfe)](_0x1c92ed)[_0x5e7ae0(0x113)]&&this[_0x5e7ae0(0x11b)][_0x5e7ae0(0x103)](_0x1c92ed['id']));}[_0x1e09a0(0x128)](_0x58acfc,_0x53ad55){const _0x196404=_0x1e09a0,_0x1c56f3=this[_0x196404(0x10c)][_0x196404(0x117)](_0x58acfc);return _0x53ad55&&this[_0x196404(0x10c)][_0x196404(0x10f)](_0x58acfc['id']),_0x1c56f3[_0x196404(0x11c)]=this[_0x196404(0x106)]++,_0x1c56f3;}}
23
+ const _0x4b65d9=_0xf769;(function(_0x568cbc,_0xec3631){const _0x2e4f7e=_0xf769,_0x3fc3ad=_0x568cbc();while(!![]){try{const _0x458a93=-parseInt(_0x2e4f7e(0xe6))/0x1+-parseInt(_0x2e4f7e(0x105))/0x2+-parseInt(_0x2e4f7e(0xf8))/0x3+parseInt(_0x2e4f7e(0xe5))/0x4+parseInt(_0x2e4f7e(0xd7))/0x5+-parseInt(_0x2e4f7e(0xef))/0x6*(-parseInt(_0x2e4f7e(0x103))/0x7)+parseInt(_0x2e4f7e(0x109))/0x8;if(_0x458a93===_0xec3631)break;else _0x3fc3ad['push'](_0x3fc3ad['shift']());}catch(_0x5e32f8){_0x3fc3ad['push'](_0x3fc3ad['shift']());}}}(_0x22ed,0x8fbc6));function _0xf769(_0x1dd0fe,_0x4090cb){const _0x22edfe=_0x22ed();return _0xf769=function(_0xf7697b,_0x57e5db){_0xf7697b=_0xf7697b-0xcd;let _0xcc0b5e=_0x22edfe[_0xf7697b];return _0xcc0b5e;},_0xf769(_0x1dd0fe,_0x4090cb);}import{ContextPlugin as _0x2a2a34}from'ckeditor5/src/core.js';import{Collection as _0x470be1,CKEditorError as _0x25aa46}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x38ee87}from'./websocketgateway.js';function _0x22ed(){const _0xe2f5e7=['1497445OLJqsH','stopListening','sessions-register-already-registered','register','set','orderNumber','_users','isPremiumPlugin','assign','context','defineMe','has','fire','clear','1765372xjcQCK','494722bGmmqp','user','_handleSessionRemove','channelConnectedUsers','hiddenInPresenceList','_uniqueUsersCount','change:state','isMe','connection','30138qZRrdb','getUserSessions','getUserRole','connected','channelSessions','get','listenTo','mySessionId','addUser','1823943gizFaN','allConnectedUsers','sessionAdd:','_handleSessionAdd','getUserBySessionId','sessions-unregister-not-exist','state','delete','add','getUser','init','1351xJzpjf','forEach','1413446ablPjD','pluginName','requires','unregister','5503176BoUMEo','isOfficialPlugin','remove','sessionId','role','_registeredSessions','values','Sessions','plugins','size','_createUser'];_0x22ed=function(){return _0xe2f5e7;};return _0x22ed();}import{Users as _0x32a93a}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2a2a34{[_0x4b65d9(0xf3)];[_0x4b65d9(0xe9)];[_0x4b65d9(0xf9)];[_0x4b65d9(0xd1)];[_0x4b65d9(0xeb)];[_0x4b65d9(0xdd)];static get[_0x4b65d9(0x106)](){const _0x4a7a2d=_0x4b65d9;return _0x4a7a2d(0xd3);}static get[_0x4b65d9(0xcd)](){return!0x0;}static get[_0x4b65d9(0xde)](){return!0x0;}static get[_0x4b65d9(0x107)](){return[_0x38ee87,_0x32a93a];}constructor(_0x52f0b5){const _0x376141=_0x4b65d9;super(_0x52f0b5),this[_0x376141(0xf3)]=new Map(),this[_0x376141(0xe9)]=new Map(),this[_0x376141(0xf9)]=new _0x470be1(),this[_0x376141(0xd1)]=new Map(),this[_0x376141(0xeb)]=0x0,this[_0x376141(0xdd)]=this[_0x376141(0xe0)][_0x376141(0xd4)][_0x376141(0xf4)](_0x32a93a);}[_0x4b65d9(0x102)](){const _0x11955f=_0x4b65d9,_0xbf781=this[_0x11955f(0xe0)][_0x11955f(0xd4)][_0x11955f(0xf4)](_0x38ee87);this[_0x11955f(0xf5)](_0xbf781,_0x11955f(0xec),(_0x2c2bc4,_0x152fce,_0x280819)=>{const _0x389058=_0x11955f;if(_0x389058(0xf2)!==_0x280819)this[_0x389058(0xf3)][_0x389058(0x104)](_0x296e3c=>_0x296e3c[_0x389058(0xe4)]()),this[_0x389058(0xe9)][_0x389058(0x104)](_0x3b25ec=>_0x3b25ec[_0x389058(0xe4)]()),this[_0x389058(0xf9)][_0x389058(0xe4)]();else{for(const [_0x261994,_0x36fe1b]of this[_0x389058(0xd1)])for(const _0x3b5e3b of _0x36fe1b)this[_0x389058(0xfb)](_0x261994,_0x3b5e3b);}}),this[_0x11955f(0xd6)](_0xbf781[_0x11955f(0xee)]['me'],!0x0);}[_0x4b65d9(0xda)](_0x1e33d2,_0x4ac80a){const _0x46d513=_0x4b65d9;if(this[_0x46d513(0xd1)][_0x46d513(0xe2)](_0x1e33d2))throw new _0x25aa46(_0x46d513(0xd9),null,{'channelId':_0x1e33d2});this[_0x46d513(0xd1)][_0x46d513(0xdb)](_0x1e33d2,_0x4ac80a),this[_0x46d513(0xf3)][_0x46d513(0xdb)](_0x1e33d2,new _0x470be1()),this[_0x46d513(0xe9)][_0x46d513(0xdb)](_0x1e33d2,new _0x470be1()),this[_0x46d513(0xf5)](_0x4ac80a,_0x46d513(0x100),(_0x3e84ec,_0x355f1d)=>this[_0x46d513(0xfb)](_0x1e33d2,_0x355f1d)),this[_0x46d513(0xf5)](_0x4ac80a,_0x46d513(0xce),(_0x4f4d19,_0x4a14f5)=>this[_0x46d513(0xe8)](_0x1e33d2,_0x4a14f5));for(const _0xd1f81f of _0x4ac80a)this[_0x46d513(0xfb)](_0x1e33d2,_0xd1f81f);}[_0x4b65d9(0x108)](_0x2e711a){const _0x3e1e65=_0x4b65d9;if(!this[_0x3e1e65(0xd1)][_0x3e1e65(0xe2)](_0x2e711a))throw new _0x25aa46(_0x3e1e65(0xfd),null,{'channelId':_0x2e711a});const _0x5357eb=this[_0x3e1e65(0xd1)][_0x3e1e65(0xf4)](_0x2e711a);this[_0x3e1e65(0xd8)](_0x5357eb);for(const _0x3f7f6b of _0x5357eb)_0x3e1e65(0xf2)===this[_0x3e1e65(0xe0)][_0x3e1e65(0xd4)][_0x3e1e65(0xf4)](_0x38ee87)[_0x3e1e65(0xfe)]&&this[_0x3e1e65(0xe8)](_0x2e711a,_0x3f7f6b);this[_0x3e1e65(0xd1)][_0x3e1e65(0xff)](_0x2e711a),this[_0x3e1e65(0xf3)][_0x3e1e65(0xff)](_0x2e711a),this[_0x3e1e65(0xe9)][_0x3e1e65(0xff)](_0x2e711a);}get[_0x4b65d9(0xf6)](){const _0x23b7e3=_0x4b65d9;return this[_0x23b7e3(0xe0)][_0x23b7e3(0xd4)][_0x23b7e3(0xf4)](_0x38ee87)[_0x23b7e3(0xee)][_0x23b7e3(0xcf)];}[_0x4b65d9(0xfc)](_0x4e3bff){const _0x19b3a1=_0x4b65d9;for(const _0x24ec0c of this[_0x19b3a1(0xf3)][_0x19b3a1(0xd2)]())for(const _0x1b6c10 of _0x24ec0c)if(_0x1b6c10['id']===_0x4e3bff)return _0x1b6c10[_0x19b3a1(0xe7)];}[_0x4b65d9(0xf0)](_0x99c39d,_0x2b89c2){const _0x1b3a0d=_0x4b65d9,_0xfdabbe=_0x2b89c2?[this[_0x1b3a0d(0xf3)][_0x1b3a0d(0xf4)](_0x2b89c2)]:this[_0x1b3a0d(0xf3)][_0x1b3a0d(0xd2)](),_0x180727=new Set();for(const _0x5a9b1f of _0xfdabbe)for(const _0x73b4ca of _0x5a9b1f)_0x73b4ca[_0x1b3a0d(0xe7)]['id']===_0x99c39d['id']&&_0x180727[_0x1b3a0d(0x100)](_0x73b4ca['id']);return _0x180727;}[_0x4b65d9(0xf1)](_0x3b2fe0){const _0xb9bb26=_0x4b65d9;for(const _0x27b984 of this[_0xb9bb26(0xf3)][_0xb9bb26(0xd2)]())for(const _0x8ad34b of _0x27b984)if(_0x8ad34b[_0xb9bb26(0xe7)]===_0x3b2fe0)return _0x8ad34b[_0xb9bb26(0xd0)];}[_0x4b65d9(0xfb)](_0x2a41f7,_0xad57fa){const _0x342d87=_0x4b65d9;if(_0x342d87(0xf2)!==this[_0x342d87(0xe0)][_0x342d87(0xd4)][_0x342d87(0xf4)](_0x38ee87)[_0x342d87(0xfe)])return;const _0x3d35a9=_0xad57fa[_0x342d87(0xe7)],_0x2668c5=this[_0x342d87(0xdd)][_0x342d87(0x101)](_0x3d35a9['id'])||this[_0x342d87(0xd6)](_0x3d35a9),_0xb063c1=Object[_0x342d87(0xdf)]({},_0xad57fa,{'user':_0x2668c5});if(this[_0x342d87(0xf3)][_0x342d87(0xf4)](_0x2a41f7)[_0x342d87(0x100)](_0xb063c1),!_0x3d35a9[_0x342d87(0xea)]){const _0x339caf=this[_0x342d87(0xe9)][_0x342d87(0xf4)](_0x2a41f7);_0x339caf[_0x342d87(0xe2)](_0x2668c5['id'])||_0x339caf[_0x342d87(0x100)](_0x2668c5),this[_0x342d87(0xf9)][_0x342d87(0xe2)](_0x2668c5['id'])||_0x3d35a9[_0x342d87(0xea)]||this[_0x342d87(0xf9)][_0x342d87(0x100)](_0x2668c5,_0x2668c5[_0x342d87(0xed)]?0x0:void 0x0);}this[_0x342d87(0xe3)](_0x342d87(0xfa)+_0x2a41f7,{'channelId':_0x2a41f7,'session':_0xb063c1});}[_0x4b65d9(0xe8)](_0x5bb0c6,_0x42a49f){const _0x53bc=_0x4b65d9;if(_0x53bc(0xf2)!==this[_0x53bc(0xe0)][_0x53bc(0xd4)][_0x53bc(0xf4)](_0x38ee87)[_0x53bc(0xfe)])return;const _0x367363=this[_0x53bc(0xe9)][_0x53bc(0xf4)](_0x5bb0c6),_0x365082=_0x42a49f[_0x53bc(0xe7)];_0x365082['id']&&(this[_0x53bc(0xf3)][_0x53bc(0xf4)](_0x5bb0c6)[_0x53bc(0xce)](_0x42a49f['id']),_0x367363[_0x53bc(0xe2)](_0x365082['id'])&&!this[_0x53bc(0xf0)](_0x365082,_0x5bb0c6)[_0x53bc(0xd5)]&&_0x367363[_0x53bc(0xce)](_0x365082['id']),this[_0x53bc(0xf9)][_0x53bc(0xf4)](_0x365082['id'])&&!this[_0x53bc(0xf0)](_0x365082)[_0x53bc(0xd5)]&&this[_0x53bc(0xf9)][_0x53bc(0xce)](_0x365082['id']));}[_0x4b65d9(0xd6)](_0x3e7923,_0x1e88f0){const _0x1f3ffe=_0x4b65d9,_0x13d230=this[_0x1f3ffe(0xdd)][_0x1f3ffe(0xf7)](_0x3e7923);return _0x1e88f0&&this[_0x1f3ffe(0xdd)][_0x1f3ffe(0xe1)](_0x3e7923['id']),_0x13d230[_0x1f3ffe(0xdc)]=this[_0x1f3ffe(0xeb)]++,_0x13d230;}}