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

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": "45.2.0-alpha.1",
3
+ "version": "45.2.0-alpha.2",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.0",
50
- "@ckeditor/ckeditor5-cloud-services": "45.2.0-alpha.1",
51
- "@ckeditor/ckeditor5-comments": "45.2.0-alpha.1",
52
- "@ckeditor/ckeditor5-core": "45.2.0-alpha.1",
53
- "@ckeditor/ckeditor5-editor-multi-root": "45.2.0-alpha.1",
54
- "@ckeditor/ckeditor5-engine": "45.2.0-alpha.1",
55
- "@ckeditor/ckeditor5-operations-compressor": "45.2.0-alpha.1",
56
- "@ckeditor/ckeditor5-revision-history": "45.2.0-alpha.1",
57
- "@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.1",
58
- "@ckeditor/ckeditor5-track-changes": "45.2.0-alpha.1",
59
- "@ckeditor/ckeditor5-ui": "45.2.0-alpha.1",
60
- "@ckeditor/ckeditor5-utils": "45.2.0-alpha.1",
61
- "ckeditor5": "45.2.0-alpha.1",
62
- "ckeditor5-collaboration": "45.2.0-alpha.1",
50
+ "@ckeditor/ckeditor5-cloud-services": "45.2.0-alpha.2",
51
+ "@ckeditor/ckeditor5-comments": "45.2.0-alpha.2",
52
+ "@ckeditor/ckeditor5-core": "45.2.0-alpha.2",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "45.2.0-alpha.2",
54
+ "@ckeditor/ckeditor5-engine": "45.2.0-alpha.2",
55
+ "@ckeditor/ckeditor5-operations-compressor": "45.2.0-alpha.2",
56
+ "@ckeditor/ckeditor5-revision-history": "45.2.0-alpha.2",
57
+ "@ckeditor/ckeditor5-theme-lark": "45.2.0-alpha.2",
58
+ "@ckeditor/ckeditor5-track-changes": "45.2.0-alpha.2",
59
+ "@ckeditor/ckeditor5-ui": "45.2.0-alpha.2",
60
+ "@ckeditor/ckeditor5-utils": "45.2.0-alpha.2",
61
+ "ckeditor5": "45.2.0-alpha.2",
62
+ "ckeditor5-collaboration": "45.2.0-alpha.2",
63
63
  "es-toolkit": "1.32.0"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a5c4d=_0x554d;function _0x554d(_0x43c940,_0x19598f){const _0x55ce2a=_0x55ce();return _0x554d=function(_0x554d24,_0x13edac){_0x554d24=_0x554d24-0x179;let _0x40b95c=_0x55ce2a[_0x554d24];return _0x40b95c;},_0x554d(_0x43c940,_0x19598f);}(function(_0x4a1032,_0x1211ff){const _0x5eb257=_0x554d,_0x56db0e=_0x4a1032();while(!![]){try{const _0x2a0776=-parseInt(_0x5eb257(0x17d))/0x1*(parseInt(_0x5eb257(0x196))/0x2)+-parseInt(_0x5eb257(0x17b))/0x3*(parseInt(_0x5eb257(0x193))/0x4)+-parseInt(_0x5eb257(0x17f))/0x5+-parseInt(_0x5eb257(0x183))/0x6*(parseInt(_0x5eb257(0x185))/0x7)+-parseInt(_0x5eb257(0x188))/0x8*(parseInt(_0x5eb257(0x17a))/0x9)+-parseInt(_0x5eb257(0x18b))/0xa*(-parseInt(_0x5eb257(0x18e))/0xb)+parseInt(_0x5eb257(0x17e))/0xc;if(_0x2a0776===_0x1211ff)break;else _0x56db0e['push'](_0x56db0e['shift']());}catch(_0x49b9e){_0x56db0e['push'](_0x56db0e['shift']());}}}(_0x55ce,0xb338d));function _0x55ce(){const _0x11dc28=['focus','6KHsTTn','true','6454420Azoftl','button','bindTemplate','72FkBCwD','ck-user__full-name','element','80030njdnpV','userView','presentation','1221vjnXoR','span','name','color','fire','1230520XBezbG','getBackgroundColorClass','ck-presence-list__dropdown-list-item','41290apRugW','ck-presence-list__marker','9081AMKtAx','3XeWfjv','execute','31VEyXWv','29662572cNlGrW','3736775FBUtrV','tag','setTemplate'];_0x55ce=function(){return _0x11dc28;};return _0x55ce();}import{ListItemView as _0x333b95}from'ckeditor5/src/ui.js';import{UserView as _0x1a2e6d}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x333b95{[_0x4a5c4d(0x18c)];constructor(_0x437e5d,_0x7d2379,_0xa98c45){const _0x69bd5e=_0x4a5c4d;super(_0x437e5d);const _0x1f17b3=this[_0x69bd5e(0x187)];this[_0x69bd5e(0x18c)]=new _0x1a2e6d(_0x437e5d,_0x7d2379);const _0x20163d={'tag':'li','attributes':{'class':['ck',_0x69bd5e(0x195)],'tabindex':-0x1,'role':_0x69bd5e(0x18d),'aria-label':_0x7d2379[_0x69bd5e(0x190)]},'children':[this[_0x69bd5e(0x18c)],{'tag':_0x69bd5e(0x18f),'attributes':{'class':['ck',_0x69bd5e(0x189)]},'children':[{'text':_0x7d2379[_0x69bd5e(0x190)]}]},{'tag':_0x69bd5e(0x18f),'attributes':{'class':['ck',_0x69bd5e(0x179),_0x7d2379[_0x69bd5e(0x191)][_0x69bd5e(0x194)]()],'aria-hidden':_0x69bd5e(0x184)}}]};_0xa98c45&&(_0x20163d[_0x69bd5e(0x180)]=_0x69bd5e(0x186),_0x20163d['on']={'click':_0x1f17b3['to'](()=>this[_0x69bd5e(0x192)](_0x69bd5e(0x17c)))}),this[_0x69bd5e(0x181)](_0x20163d);}[_0x4a5c4d(0x182)](){const _0x30a49e=_0x4a5c4d;this[_0x30a49e(0x18a)][_0x30a49e(0x182)]();}}
23
+ function _0x2e4d(){const _0x13d87d=['ck-user__full-name','192954RQcEAV','1556904ajVSmH','3ItzqRm','setTemplate','ck-presence-list__dropdown-list-item','14352636DIWnEk','11eGAYmV','execute','button','10XGTVJg','bindTemplate','3008979zrVPmR','4442510TSUfzT','ck-presence-list__marker','14ENjZKr','7eVEpfB','fire','userView','true','span','getBackgroundColorClass','tag','name','131227VTDnnJ','color','presentation','element','focus','943716ljknNN'];_0x2e4d=function(){return _0x13d87d;};return _0x2e4d();}const _0xbe334e=_0x3da1;(function(_0xf212ce,_0x31edc2){const _0x528808=_0x3da1,_0x1eb492=_0xf212ce();while(!![]){try{const _0x351106=-parseInt(_0x528808(0x13f))/0x1*(-parseInt(_0x528808(0x154))/0x2)+parseInt(_0x528808(0x148))/0x3*(-parseInt(_0x528808(0x144))/0x4)+parseInt(_0x528808(0x152))/0x5+parseInt(_0x528808(0x146))/0x6*(-parseInt(_0x528808(0x155))/0x7)+-parseInt(_0x528808(0x147))/0x8+-parseInt(_0x528808(0x151))/0x9*(-parseInt(_0x528808(0x14f))/0xa)+-parseInt(_0x528808(0x14c))/0xb*(parseInt(_0x528808(0x14b))/0xc);if(_0x351106===_0x31edc2)break;else _0x1eb492['push'](_0x1eb492['shift']());}catch(_0x26cd0a){_0x1eb492['push'](_0x1eb492['shift']());}}}(_0x2e4d,0x75d6c));import{ListItemView as _0x53bfa5}from'ckeditor5/src/ui.js';function _0x3da1(_0x332731,_0x458c25){const _0x2e4d9b=_0x2e4d();return _0x3da1=function(_0x3da160,_0x48a61f){_0x3da160=_0x3da160-0x13d;let _0xbc4f55=_0x2e4d9b[_0x3da160];return _0xbc4f55;},_0x3da1(_0x332731,_0x458c25);}import{UserView as _0x5ed701}from'ckeditor5-collaboration/src/collaboration-core.js';export default class k extends _0x53bfa5{[_0xbe334e(0x157)];constructor(_0x447ef2,_0x57e044,_0xd0d27c){const _0x4057ca=_0xbe334e;super(_0x447ef2);const _0x2172ef=this[_0x4057ca(0x150)];this[_0x4057ca(0x157)]=new _0x5ed701(_0x447ef2,_0x57e044);const _0x38ce93={'tag':'li','attributes':{'class':['ck',_0x4057ca(0x14a)],'tabindex':-0x1,'role':_0x4057ca(0x141),'aria-label':_0x57e044[_0x4057ca(0x13e)]},'children':[this[_0x4057ca(0x157)],{'tag':_0x4057ca(0x159),'attributes':{'class':['ck',_0x4057ca(0x145)]},'children':[{'text':_0x57e044[_0x4057ca(0x13e)]}]},{'tag':_0x4057ca(0x159),'attributes':{'class':['ck',_0x4057ca(0x153),_0x57e044[_0x4057ca(0x140)][_0x4057ca(0x15a)]()],'aria-hidden':_0x4057ca(0x158)}}]};_0xd0d27c&&(_0x38ce93[_0x4057ca(0x13d)]=_0x4057ca(0x14e),_0x38ce93['on']={'click':_0x2172ef['to'](()=>this[_0x4057ca(0x156)](_0x4057ca(0x14d)))}),this[_0x4057ca(0x149)](_0x38ce93);}[_0xbe334e(0x143)](){const _0x58ede9=_0xbe334e;this[_0x58ede9(0x142)][_0x58ede9(0x143)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2d9f17=_0x4bef;(function(_0x8d342d,_0x108c6e){const _0x5111da=_0x4bef,_0x33d725=_0x8d342d();while(!![]){try{const _0x2bb025=-parseInt(_0x5111da(0x136))/0x1*(parseInt(_0x5111da(0x132))/0x2)+parseInt(_0x5111da(0x142))/0x3*(-parseInt(_0x5111da(0x123))/0x4)+-parseInt(_0x5111da(0x122))/0x5*(-parseInt(_0x5111da(0x137))/0x6)+-parseInt(_0x5111da(0x12b))/0x7+-parseInt(_0x5111da(0x12f))/0x8+-parseInt(_0x5111da(0x125))/0x9+parseInt(_0x5111da(0x139))/0xa;if(_0x2bb025===_0x108c6e)break;else _0x33d725['push'](_0x33d725['shift']());}catch(_0x3869a0){_0x33d725['push'](_0x33d725['shift']());}}}(_0x87ed,0x926e5));function _0x87ed(){const _0x51d239=['innerHeight','querySelector','change','ck-list','setTemplate','div','contains','checkIfScrollable','5woSOof','118396AzCrPv','application','6517377SWquEK','ck-presence-list__dropdown-list','.ck-presence-list__list','.ck-balloon-panel_with-arrow','ck-reset','clientHeight','8118649EcOMDT','ck-presence-list__dropdown-list-wrapper','resize','Connected\x20users\x20list\x20dropdown\x20menu','3484104nddBXa','relatedTarget','max','268612kXqqde','ariaLabelledBy','role','items','3Zjnrek','4619028aitBeU','set','27299280HTSHzY','window','ariaLabel','listWrapperView','fire','listenTo','_isScrollable','render','presencelist:hide','18AqndGQ','element','ck-presence-list__dropdown-list-wrapper_scrollable','scrollHeight','bindTemplate'];_0x87ed=function(){return _0x51d239;};return _0x87ed();}import{ListView as _0x1584da,View as _0xa662b1}from'ckeditor5/src/ui.js';function _0x4bef(_0x301f01,_0x571adb){const _0x87edcd=_0x87ed();return _0x4bef=function(_0x4bef4a,_0x153e1e){_0x4bef4a=_0x4bef4a-0x121;let _0xf3d29c=_0x87edcd[_0x4bef4a];return _0xf3d29c;},_0x4bef(_0x301f01,_0x571adb);}import{global as _0x4b9cb2}from'ckeditor5/src/utils.js';import{getTranslation as _0x57b99f}from'../../common-translations.js';export default class x extends _0xa662b1{[_0x2d9f17(0x13c)];constructor(_0x1a3380,_0x36cb81){const _0x1651a1=_0x2d9f17;super(_0x1a3380);const _0x36c47d=this[_0x1651a1(0x146)];this[_0x1651a1(0x13c)]=new PresenceDropdownListWrapperView(_0x1a3380,_0x36cb81),this[_0x1651a1(0x14b)]({'tag':_0x1651a1(0x14c),'attributes':{'tabindex':-0x1,'role':_0x1651a1(0x124),'class':['ck',_0x1651a1(0x126)],'aria-label':_0x57b99f(_0x1a3380,_0x1651a1(0x12e))},'children':[this[_0x1651a1(0x13c)]],'on':{'mouseleave':_0x36c47d['to'](_0x4a75d7=>{const _0x4d8ca5=_0x1651a1,_0x5103f0=_0x4a75d7,_0x2e41b6=document[_0x4d8ca5(0x148)](_0x4d8ca5(0x127)),_0x1d0f64=document[_0x4d8ca5(0x148)](_0x4d8ca5(0x128));_0x2e41b6?.[_0x4d8ca5(0x14d)](_0x5103f0[_0x4d8ca5(0x130)])||_0x1d0f64?.[_0x4d8ca5(0x14d)](_0x5103f0[_0x4d8ca5(0x130)])||this[_0x4d8ca5(0x13d)](_0x4d8ca5(0x141));})}});}}export class PresenceDropdownListWrapperView extends _0x1584da{constructor(_0x5cad43,_0x549228){const _0x16f253=_0x2d9f17;super(_0x5cad43);const _0x1aab91=this[_0x16f253(0x146)];this[_0x16f253(0x138)](_0x16f253(0x13f),!0x1),this[_0x16f253(0x14b)]({'tag':_0x549228?_0x16f253(0x14c):'ul','attributes':{'class':['ck',_0x16f253(0x129),_0x16f253(0x14a),_0x16f253(0x12c),_0x1aab91['if'](_0x16f253(0x13f),_0x16f253(0x144))],'role':_0x1aab91['to'](_0x16f253(0x134)),'aria-label':_0x1aab91['to'](_0x16f253(0x13b)),'aria-labelledby':_0x1aab91['to'](_0x16f253(0x133))},'children':this[_0x16f253(0x135)]}),this[_0x16f253(0x13e)](_0x4b9cb2[_0x16f253(0x13a)],_0x16f253(0x12d),()=>this[_0x16f253(0x121)]()),this[_0x16f253(0x135)]['on'](_0x16f253(0x149),()=>this[_0x16f253(0x121)]());}[_0x2d9f17(0x140)](){const _0x38acc6=_0x2d9f17;super[_0x38acc6(0x140)](),this[_0x38acc6(0x121)]();}[_0x2d9f17(0x121)](){const _0x483fb3=_0x2d9f17,_0x14dacb=this[_0x483fb3(0x143)];_0x14dacb&&(this[_0x483fb3(0x13f)]=Math[_0x483fb3(0x131)](_0x14dacb[_0x483fb3(0x145)],_0x14dacb[_0x483fb3(0x12a)])>0.8*window[_0x483fb3(0x147)]);}}
23
+ function _0x125f(){const _0x1c9456=['resize','ck-list','22704011ztzZBh','6990mkPyVc','ck-reset','setTemplate','querySelector','items','ck-presence-list__dropdown-list','listenTo','10516GwcLBq','element','contains','12ThKiEh','280453LXLdib','max','fire','role','ck-presence-list__dropdown-list-wrapper','relatedTarget','1176248xFkVzf','_isScrollable','471fJWihk','checkIfScrollable','2615IRFKjl','clientHeight','5848542ZNjAFg','set','div','innerHeight','bindTemplate','listWrapperView','ariaLabelledBy','scrollHeight','application','ariaLabel','.ck-presence-list__list','window','1397300UGjiJw','presencelist:hide','change','ck-presence-list__dropdown-list-wrapper_scrollable','Connected\x20users\x20list\x20dropdown\x20menu','4LfyHHs','render','21VTBUrf','.ck-balloon-panel_with-arrow'];_0x125f=function(){return _0x1c9456;};return _0x125f();}const _0x9b72fb=_0x3560;function _0x3560(_0x1ae7a2,_0x3f72){const _0x125f67=_0x125f();return _0x3560=function(_0x3560f9,_0x38bfb8){_0x3560f9=_0x3560f9-0x103;let _0x357644=_0x125f67[_0x3560f9];return _0x357644;},_0x3560(_0x1ae7a2,_0x3f72);}(function(_0x58b159,_0x29db6b){const _0x336a7c=_0x3560,_0x36ea80=_0x58b159();while(!![]){try{const _0x1fad11=parseInt(_0x336a7c(0x11f))/0x1*(-parseInt(_0x336a7c(0x10d))/0x2)+parseInt(_0x336a7c(0x127))/0x3*(parseInt(_0x336a7c(0x11b))/0x4)+parseInt(_0x336a7c(0x129))/0x5*(-parseInt(_0x336a7c(0x114))/0x6)+-parseInt(_0x336a7c(0x10f))/0x7*(parseInt(_0x336a7c(0x125))/0x8)+-parseInt(_0x336a7c(0x12b))/0x9+parseInt(_0x336a7c(0x108))/0xa+-parseInt(_0x336a7c(0x113))/0xb*(-parseInt(_0x336a7c(0x11e))/0xc);if(_0x1fad11===_0x29db6b)break;else _0x36ea80['push'](_0x36ea80['shift']());}catch(_0x353e8f){_0x36ea80['push'](_0x36ea80['shift']());}}}(_0x125f,0x56c18));import{ListView as _0x54e170,View as _0x4ac1e0}from'ckeditor5/src/ui.js';import{global as _0x48d2ca}from'ckeditor5/src/utils.js';import{getTranslation as _0x50a6e2}from'../../common-translations.js';export default class x extends _0x4ac1e0{[_0x9b72fb(0x130)];constructor(_0x454589,_0x849666){const _0xade011=_0x9b72fb;super(_0x454589);const _0x521180=this[_0xade011(0x12f)];this[_0xade011(0x130)]=new PresenceDropdownListWrapperView(_0x454589,_0x849666),this[_0xade011(0x116)]({'tag':_0xade011(0x12d),'attributes':{'tabindex':-0x1,'role':_0xade011(0x104),'class':['ck',_0xade011(0x119)],'aria-label':_0x50a6e2(_0x454589,_0xade011(0x10c))},'children':[this[_0xade011(0x130)]],'on':{'mouseleave':_0x521180['to'](_0x101852=>{const _0x14b806=_0xade011,_0x362dfa=_0x101852,_0x5a4e56=document[_0x14b806(0x117)](_0x14b806(0x106)),_0x2fed2c=document[_0x14b806(0x117)](_0x14b806(0x110));_0x5a4e56?.[_0x14b806(0x11d)](_0x362dfa[_0x14b806(0x124)])||_0x2fed2c?.[_0x14b806(0x11d)](_0x362dfa[_0x14b806(0x124)])||this[_0x14b806(0x121)](_0x14b806(0x109));})}});}}export class PresenceDropdownListWrapperView extends _0x54e170{constructor(_0xacdb89,_0x34cfe3){const _0x41075d=_0x9b72fb;super(_0xacdb89);const _0x2a6422=this[_0x41075d(0x12f)];this[_0x41075d(0x12c)](_0x41075d(0x126),!0x1),this[_0x41075d(0x116)]({'tag':_0x34cfe3?_0x41075d(0x12d):'ul','attributes':{'class':['ck',_0x41075d(0x115),_0x41075d(0x112),_0x41075d(0x123),_0x2a6422['if'](_0x41075d(0x126),_0x41075d(0x10b))],'role':_0x2a6422['to'](_0x41075d(0x122)),'aria-label':_0x2a6422['to'](_0x41075d(0x105)),'aria-labelledby':_0x2a6422['to'](_0x41075d(0x131))},'children':this[_0x41075d(0x118)]}),this[_0x41075d(0x11a)](_0x48d2ca[_0x41075d(0x107)],_0x41075d(0x111),()=>this[_0x41075d(0x128)]()),this[_0x41075d(0x118)]['on'](_0x41075d(0x10a),()=>this[_0x41075d(0x128)]());}[_0x9b72fb(0x10e)](){const _0x2f2b5c=_0x9b72fb;super[_0x2f2b5c(0x10e)](),this[_0x2f2b5c(0x128)]();}[_0x9b72fb(0x128)](){const _0x1278c5=_0x9b72fb,_0x508918=this[_0x1278c5(0x11c)];_0x508918&&(this[_0x1278c5(0x126)]=Math[_0x1278c5(0x120)](_0x508918[_0x1278c5(0x103)],_0x508918[_0x1278c5(0x12a)])>0.8*window[_0x1278c5(0x12e)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4031(){const _0xf5cd6c=['ck-presence-list__list-item','30DetQEf','text','markerView','color','isFocusable','tag','334988vfvQui','set','bindTemplate','button','5vmVmKg','listitem','fire','span','div','tooltipPosition','20168FxyTRZ','686774GWfcJJ','getBackgroundColorClass','129308ONeFiM','4JRpcig','template','name','true','231623paArDl','userView','302856HMbrHV','setTemplate','153bRpyWA','hasTooltip','execute','ck-presence-list__list-item__tooltip','2438240RRdFHT','ck-presence-list__marker'];_0x4031=function(){return _0xf5cd6c;};return _0x4031();}const _0x4ae6d2=_0x362a;function _0x362a(_0x50f00c,_0x32cb32){const _0x403184=_0x4031();return _0x362a=function(_0x362a06,_0x5ac021){_0x362a06=_0x362a06-0xee;let _0xea24d0=_0x403184[_0x362a06];return _0xea24d0;},_0x362a(_0x50f00c,_0x32cb32);}(function(_0x21324e,_0x1409dd){const _0x302e9d=_0x362a,_0x4f040b=_0x21324e();while(!![]){try{const _0xc29376=parseInt(_0x302e9d(0xfe))/0x1+parseInt(_0x302e9d(0x10c))/0x2*(parseInt(_0x302e9d(0xef))/0x3)+-parseInt(_0x302e9d(0x10b))/0x4*(-parseInt(_0x302e9d(0x102))/0x5)+parseInt(_0x302e9d(0xf8))/0x6*(-parseInt(_0x302e9d(0x110))/0x7)+parseInt(_0x302e9d(0x108))/0x8*(-parseInt(_0x302e9d(0xf1))/0x9)+-parseInt(_0x302e9d(0xf5))/0xa+parseInt(_0x302e9d(0x109))/0xb;if(_0xc29376===_0x1409dd)break;else _0x4f040b['push'](_0x4f040b['shift']());}catch(_0x3f91d0){_0x4f040b['push'](_0x4f040b['shift']());}}}(_0x4031,0x2bd47));import{LabelView as _0x1b2c20,View as _0x1ad73a}from'ckeditor5/src/ui.js';import{UserView as _0x4a9db6}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x1ad73a{[_0x4ae6d2(0xee)];[_0x4ae6d2(0xfa)];constructor(_0x4a510b,_0x4b97d3,_0x14ffd4){const _0x3824a8=_0x4ae6d2;super(_0x4a510b);const _0x35517a=this[_0x3824a8(0x100)];this[_0x3824a8(0xff)](_0x3824a8(0xfc),!0x1),this[_0x3824a8(0xff)](_0x3824a8(0xf2),!0x0),this[_0x3824a8(0xff)](_0x3824a8(0x107),''),this[_0x3824a8(0xee)]=new _0x4a9db6(_0x4a510b,_0x4b97d3),this[_0x3824a8(0xfa)]=new dt(_0x4a510b,_0x4b97d3);const _0x857c8f=new _0x1b2c20(_0x4a510b);_0x857c8f[_0x3824a8(0x10d)][_0x3824a8(0xfd)]=_0x3824a8(0x105),_0x857c8f[_0x3824a8(0xf9)]=_0x4b97d3[_0x3824a8(0x10e)];const _0x423bf1={'tag':_0x3824a8(0x106),'attributes':{'class':['ck',_0x3824a8(0xf7)],'role':_0x3824a8(0x103),'tabindex':_0x35517a['to'](_0x3824a8(0xfc),_0x29ff44=>!!_0x29ff44&&0x0),'aria-labelledby':_0x857c8f['id'],'data-cke-tooltip-text':this[_0x3824a8(0xee)][_0x3824a8(0x10e)],'data-cke-tooltip-position':_0x35517a['to'](_0x3824a8(0x107)),'data-cke-tooltip-disabled':_0x35517a['to'](_0x3824a8(0xf2),_0x2556e7=>!_0x2556e7),'data-cke-tooltip-class':_0x3824a8(0xf4)},'children':[this[_0x3824a8(0xee)],this[_0x3824a8(0xfa)],_0x857c8f]};_0x14ffd4&&(_0x423bf1[_0x3824a8(0xfd)]=_0x3824a8(0x101),_0x423bf1['on']={'click':_0x35517a['to'](()=>this[_0x3824a8(0x104)](_0x3824a8(0xf3)))}),this[_0x3824a8(0xf0)](_0x423bf1);}}class dt extends _0x1ad73a{constructor(_0x50f404,_0x121944){const _0x28674e=_0x4ae6d2;super(_0x50f404),this[_0x28674e(0xf0)]({'tag':_0x28674e(0x105),'attributes':{'class':['ck',_0x28674e(0xf6),_0x121944[_0x28674e(0xfb)][_0x28674e(0x10a)]()],'aria-hidden':_0x28674e(0x10f)}});}}
23
+ const _0x2ad4f6=_0xdca3;(function(_0x3fa1d4,_0x3779db){const _0x21e1d8=_0xdca3,_0x3fe9c3=_0x3fa1d4();while(!![]){try{const _0x52f880=parseInt(_0x21e1d8(0x8d))/0x1+-parseInt(_0x21e1d8(0x8e))/0x2+parseInt(_0x21e1d8(0x75))/0x3*(parseInt(_0x21e1d8(0x93))/0x4)+-parseInt(_0x21e1d8(0x88))/0x5*(parseInt(_0x21e1d8(0x7c))/0x6)+parseInt(_0x21e1d8(0x79))/0x7+-parseInt(_0x21e1d8(0x81))/0x8*(-parseInt(_0x21e1d8(0x82))/0x9)+-parseInt(_0x21e1d8(0x83))/0xa;if(_0x52f880===_0x3779db)break;else _0x3fe9c3['push'](_0x3fe9c3['shift']());}catch(_0xf9b3ca){_0x3fe9c3['push'](_0x3fe9c3['shift']());}}}(_0x47fd,0x2b5ea));function _0xdca3(_0x3b47bb,_0x818955){const _0x47fd84=_0x47fd();return _0xdca3=function(_0xdca365,_0x2e3679){_0xdca365=_0xdca365-0x72;let _0x4c5e87=_0x47fd84[_0xdca365];return _0x4c5e87;},_0xdca3(_0x3b47bb,_0x818955);}import{LabelView as _0x2e9012,View as _0x4cc9dc}from'ckeditor5/src/ui.js';function _0x47fd(){const _0x1f60f0=['true','tooltipPosition','ck-presence-list__marker','6EZPqxy','template','hasTooltip','getBackgroundColorClass','1225133PRCqXG','span','tag','5298ErTmJu','userView','markerView','ck-presence-list__list-item__tooltip','color','401528VQYOTc','36UmNPSI','2521860aumoIx','button','fire','div','isFocusable','1235kHlvKJ','ck-presence-list__list-item','setTemplate','bindTemplate','text','195316PAzhlm','347148kTQaeZ','execute','set','listitem','name','500808mSnCMp'];_0x47fd=function(){return _0x1f60f0;};return _0x47fd();}import{UserView as _0xdb1530}from'ckeditor5-collaboration/src/collaboration-core.js';export default class y extends _0x4cc9dc{[_0x2ad4f6(0x7d)];[_0x2ad4f6(0x7e)];constructor(_0x5a2507,_0x503353,_0x271933){const _0x5d2a72=_0x2ad4f6;super(_0x5a2507);const _0x23d544=this[_0x5d2a72(0x8b)];this[_0x5d2a72(0x90)](_0x5d2a72(0x87),!0x1),this[_0x5d2a72(0x90)](_0x5d2a72(0x77),!0x0),this[_0x5d2a72(0x90)](_0x5d2a72(0x73),''),this[_0x5d2a72(0x7d)]=new _0xdb1530(_0x5a2507,_0x503353),this[_0x5d2a72(0x7e)]=new at(_0x5a2507,_0x503353);const _0x5bcc88=new _0x2e9012(_0x5a2507);_0x5bcc88[_0x5d2a72(0x76)][_0x5d2a72(0x7b)]=_0x5d2a72(0x7a),_0x5bcc88[_0x5d2a72(0x8c)]=_0x503353[_0x5d2a72(0x92)];const _0x33f36e={'tag':_0x5d2a72(0x86),'attributes':{'class':['ck',_0x5d2a72(0x89)],'role':_0x5d2a72(0x91),'tabindex':_0x23d544['to'](_0x5d2a72(0x87),_0x1d0ef3=>!!_0x1d0ef3&&0x0),'aria-labelledby':_0x5bcc88['id'],'data-cke-tooltip-text':this[_0x5d2a72(0x7d)][_0x5d2a72(0x92)],'data-cke-tooltip-position':_0x23d544['to'](_0x5d2a72(0x73)),'data-cke-tooltip-disabled':_0x23d544['to'](_0x5d2a72(0x77),_0x3a7fcd=>!_0x3a7fcd),'data-cke-tooltip-class':_0x5d2a72(0x7f)},'children':[this[_0x5d2a72(0x7d)],this[_0x5d2a72(0x7e)],_0x5bcc88]};_0x271933&&(_0x33f36e[_0x5d2a72(0x7b)]=_0x5d2a72(0x84),_0x33f36e['on']={'click':_0x23d544['to'](()=>this[_0x5d2a72(0x85)](_0x5d2a72(0x8f)))}),this[_0x5d2a72(0x8a)](_0x33f36e);}}class at extends _0x4cc9dc{constructor(_0x52c326,_0x34cda0){const _0x3d0bf1=_0x2ad4f6;super(_0x52c326),this[_0x3d0bf1(0x8a)]({'tag':_0x3d0bf1(0x7a),'attributes':{'class':['ck',_0x3d0bf1(0x74),_0x34cda0[_0x3d0bf1(0x80)][_0x3d0bf1(0x78)]()],'aria-hidden':_0x3d0bf1(0x72)}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x427c6b=_0x44a1;(function(_0x16a8c4,_0x31fa5b){const _0x33e736=_0x44a1,_0x26b583=_0x16a8c4();while(!![]){try{const _0x154e22=parseInt(_0x33e736(0x115))/0x1*(-parseInt(_0x33e736(0x10c))/0x2)+-parseInt(_0x33e736(0x10e))/0x3*(-parseInt(_0x33e736(0x112))/0x4)+parseInt(_0x33e736(0x106))/0x5*(-parseInt(_0x33e736(0x128))/0x6)+-parseInt(_0x33e736(0x126))/0x7*(parseInt(_0x33e736(0x12e))/0x8)+-parseInt(_0x33e736(0x11f))/0x9*(-parseInt(_0x33e736(0x119))/0xa)+parseInt(_0x33e736(0x12c))/0xb*(-parseInt(_0x33e736(0x10d))/0xc)+parseInt(_0x33e736(0x11d))/0xd;if(_0x154e22===_0x31fa5b)break;else _0x26b583['push'](_0x26b583['shift']());}catch(_0x1d6ba1){_0x26b583['push'](_0x26b583['shift']());}}}(_0x581a,0x8cb0f));function _0x581a(){const _0x43d431=['element','3738SDGQce','change:hasPopup','ck-presence-list__list','presencelist:hide','22KSVtFY','contains','336YHDxKz','div','3505meqqqI','set','setAttribute','Connected\x20users\x20list','removeAttribute','aria-expanded','260ybLaqn','4244556PnKYoc','6wBQJUT','relatedTarget','.ck-presence-list__dropdown-list','hasPopup','1961644KNhBiw','.ck-balloon-panel_with-arrow','focus','4261QzRpcu','listenTo','querySelector','bindTemplate','118080XoVSrG','presencelist:show','fire','keystrokes','9108684LaRXhz','isExpanded','738FuUTEz','list','createCollection','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','items','render','setTemplate','62566tttEsZ'];_0x581a=function(){return _0x43d431;};return _0x581a();}function _0x44a1(_0xb6bd8e,_0x499cf3){const _0x581a7e=_0x581a();return _0x44a1=function(_0x44a1e0,_0x34afe6){_0x44a1e0=_0x44a1e0-0x106;let _0x2bdfb3=_0x581a7e[_0x44a1e0];return _0x2bdfb3;},_0x44a1(_0xb6bd8e,_0x499cf3);}import{View as _0x1d0c13}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x18eded}from'ckeditor5/src/utils.js';import{getTranslation as _0x484377}from'../../common-translations.js';export default class ts extends _0x1d0c13{[_0x427c6b(0x123)];[_0x427c6b(0x11c)];constructor(_0xe8f913){const _0xa24029=_0x427c6b;super(_0xe8f913);const _0x4cac61=this[_0xa24029(0x118)];this[_0xa24029(0x123)]=this[_0xa24029(0x121)](),this[_0xa24029(0x11c)]=new _0x18eded(),this[_0xa24029(0x107)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xa24029(0x125)]({'tag':_0xa24029(0x12f),'attributes':{'aria-haspopup':_0x4cac61['if'](_0xa24029(0x111)),'aria-expanded':_0x4cac61['to'](_0xa24029(0x11e),_0x1cd884=>this[_0xa24029(0x111)]&&String(_0x1cd884)),'aria-label':_0x4cac61['to'](_0xa24029(0x111),_0xf07c8f=>_0x484377(_0xe8f913,_0xf07c8f?_0xa24029(0x122):_0xa24029(0x109))),'role':_0xa24029(0x120),'tabindex':_0x4cac61['to'](_0xa24029(0x111),_0x122ce0=>!!_0x122ce0&&0x0),'class':['ck',_0xa24029(0x12a)]},'children':this[_0xa24029(0x123)],'on':{'mouseenter':_0x4cac61['to'](()=>this[_0xa24029(0x11b)](_0xa24029(0x11a))),'mouseleave':_0x4cac61['to'](_0x27d5a6=>{const _0x1a4c36=_0xa24029,_0x7b8b4e=_0x27d5a6,_0x24940f=document[_0x1a4c36(0x117)](_0x1a4c36(0x110)),_0x2d702e=document[_0x1a4c36(0x117)](_0x1a4c36(0x113));_0x24940f?.[_0x1a4c36(0x12d)](_0x7b8b4e[_0x1a4c36(0x10f)])||_0x2d702e?.[_0x1a4c36(0x12d)](_0x7b8b4e[_0x1a4c36(0x10f)])||this[_0x1a4c36(0x11b)](_0x1a4c36(0x12b));})}}),this['on'](_0xa24029(0x129),(_0x138ffb,_0x84f2e7,_0x516f15)=>{const _0x1a8e45=_0xa24029;this[_0x1a8e45(0x127)]&&(_0x516f15?this[_0x1a8e45(0x127)][_0x1a8e45(0x108)](_0x1a8e45(0x10b),String(this[_0x1a8e45(0x11e)])):this[_0x1a8e45(0x127)][_0x1a8e45(0x10a)](_0x1a8e45(0x10b)));});}[_0x427c6b(0x114)](){const _0x5d3315=_0x427c6b;this[_0x5d3315(0x127)][_0x5d3315(0x114)]();}[_0x427c6b(0x124)](){const _0x4bc650=_0x427c6b;super[_0x4bc650(0x124)](),this[_0x4bc650(0x11c)][_0x4bc650(0x116)](this[_0x4bc650(0x127)]);}}
23
+ const _0x116b66=_0x32f6;(function(_0x1e9b45,_0x4a27ef){const _0x284012=_0x32f6,_0x5b4150=_0x1e9b45();while(!![]){try{const _0x3e762f=parseInt(_0x284012(0x132))/0x1+-parseInt(_0x284012(0x128))/0x2+parseInt(_0x284012(0x12c))/0x3+-parseInt(_0x284012(0x121))/0x4*(parseInt(_0x284012(0x12b))/0x5)+parseInt(_0x284012(0x117))/0x6*(parseInt(_0x284012(0x138))/0x7)+-parseInt(_0x284012(0x137))/0x8+-parseInt(_0x284012(0x11a))/0x9*(-parseInt(_0x284012(0x124))/0xa);if(_0x3e762f===_0x4a27ef)break;else _0x5b4150['push'](_0x5b4150['shift']());}catch(_0x15fa5f){_0x5b4150['push'](_0x5b4150['shift']());}}}(_0x2f84,0x47023));function _0x32f6(_0xfb10e7,_0x22a33f){const _0x2f84f1=_0x2f84();return _0x32f6=function(_0x32f609,_0x4bd994){_0x32f609=_0x32f609-0x112;let _0x55fb00=_0x2f84f1[_0x32f609];return _0x55fb00;},_0x32f6(_0xfb10e7,_0x22a33f);}function _0x2f84(){const _0x2007d2=['28Bidolu','element','div','2970970YUAZfn','isExpanded','Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','631996cbTpxq','fire','focus','229510uSlptS','335970EqxTpa','items','presencelist:show','removeAttribute','setAttribute','querySelector','244747IdgJSX','ck-presence-list__list','presencelist:hide','change:hasPopup','list','4354352eQgYoX','7LHYLsn','.ck-presence-list__dropdown-list','keystrokes','hasPopup','relatedTarget','.ck-balloon-panel_with-arrow','1346574xSZHei','bindTemplate','createCollection','27YCWfgX','contains','listenTo','render','set','setTemplate','aria-expanded'];_0x2f84=function(){return _0x2007d2;};return _0x2f84();}import{View as _0x381bac}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x28e13b}from'ckeditor5/src/utils.js';import{getTranslation as _0xf1afb1}from'../../common-translations.js';export default class ts extends _0x381bac{[_0x116b66(0x12d)];[_0x116b66(0x113)];constructor(_0x432df9){const _0x2cbd6f=_0x116b66;super(_0x432df9);const _0x456aab=this[_0x2cbd6f(0x118)];this[_0x2cbd6f(0x12d)]=this[_0x2cbd6f(0x119)](),this[_0x2cbd6f(0x113)]=new _0x28e13b(),this[_0x2cbd6f(0x11e)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2cbd6f(0x11f)]({'tag':_0x2cbd6f(0x123),'attributes':{'aria-haspopup':_0x456aab['if'](_0x2cbd6f(0x114)),'aria-expanded':_0x456aab['to'](_0x2cbd6f(0x125),_0x585148=>this[_0x2cbd6f(0x114)]&&String(_0x585148)),'aria-label':_0x456aab['to'](_0x2cbd6f(0x114),_0x33bee0=>_0xf1afb1(_0x432df9,_0x33bee0?_0x2cbd6f(0x127):_0x2cbd6f(0x126))),'role':_0x2cbd6f(0x136),'tabindex':_0x456aab['to'](_0x2cbd6f(0x114),_0xd5a4f3=>!!_0xd5a4f3&&0x0),'class':['ck',_0x2cbd6f(0x133)]},'children':this[_0x2cbd6f(0x12d)],'on':{'mouseenter':_0x456aab['to'](()=>this[_0x2cbd6f(0x129)](_0x2cbd6f(0x12e))),'mouseleave':_0x456aab['to'](_0x47bd11=>{const _0x4a1443=_0x2cbd6f,_0x4cba39=_0x47bd11,_0x453117=document[_0x4a1443(0x131)](_0x4a1443(0x112)),_0x39e2fe=document[_0x4a1443(0x131)](_0x4a1443(0x116));_0x453117?.[_0x4a1443(0x11b)](_0x4cba39[_0x4a1443(0x115)])||_0x39e2fe?.[_0x4a1443(0x11b)](_0x4cba39[_0x4a1443(0x115)])||this[_0x4a1443(0x129)](_0x4a1443(0x134));})}}),this['on'](_0x2cbd6f(0x135),(_0x2091b2,_0x4343a9,_0x2e0972)=>{const _0x28da4f=_0x2cbd6f;this[_0x28da4f(0x122)]&&(_0x2e0972?this[_0x28da4f(0x122)][_0x28da4f(0x130)](_0x28da4f(0x120),String(this[_0x28da4f(0x125)])):this[_0x28da4f(0x122)][_0x28da4f(0x12f)](_0x28da4f(0x120)));});}[_0x116b66(0x12a)](){const _0x3bfb10=_0x116b66;this[_0x3bfb10(0x122)][_0x3bfb10(0x12a)]();}[_0x116b66(0x11d)](){const _0x13ce47=_0x116b66;super[_0x13ce47(0x11d)](),this[_0x13ce47(0x113)][_0x13ce47(0x11c)](this[_0x13ce47(0x122)]);}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb36e54=_0x424d;(function(_0xb09dc6,_0x52e523){const _0x177e7e=_0x424d,_0x25e744=_0xb09dc6();while(!![]){try{const _0x7b3a56=-parseInt(_0x177e7e(0xc3))/0x1*(parseInt(_0x177e7e(0xd7))/0x2)+-parseInt(_0x177e7e(0xf8))/0x3*(parseInt(_0x177e7e(0xd2))/0x4)+parseInt(_0x177e7e(0xf7))/0x5+-parseInt(_0x177e7e(0xc9))/0x6*(parseInt(_0x177e7e(0x10e))/0x7)+-parseInt(_0x177e7e(0xe5))/0x8*(parseInt(_0x177e7e(0xde))/0x9)+parseInt(_0x177e7e(0xc4))/0xa*(parseInt(_0x177e7e(0xc5))/0xb)+-parseInt(_0x177e7e(0x10d))/0xc*(-parseInt(_0x177e7e(0x118))/0xd);if(_0x7b3a56===_0x52e523)break;else _0x25e744['push'](_0x25e744['shift']());}catch(_0xa74dbf){_0x25e744['push'](_0x25e744['shift']());}}}(_0x5b62,0xbd60e));import{Context as _0x24bb84,ContextPlugin as _0x329b1f}from'ckeditor5/src/core.js';import{CKEditorError as _0x171a55}from'ckeditor5/src/utils.js';import{Users as _0x239a2b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5b62(){const _0x49119f=['pluginName','attributes','sessionAdd:','listenTo','cloud-services-internal-error:\x20Not\x20connected.','message','_fetchMissingUsersForThreads','reopenCommentThread','adapter','_terminateService','addCommentThread','content','add','commentThreadReopened','134916BuHQDe','7TmbpWn','mySessionId','off','getMany','deletedAt','delete','resolve','catch','connect','commentAdded','1690ZCooiN','_connectService','commentId','404','code','assign','resolveCommentThread','remove','addComment','cloud-services-internal-error:\x20Request\x20timeout.','plugins','permissions','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getUser','update','unregister','get','getComment','resolvedBy','authorId','487hVfGVg','590sBunAU','63316enZnaI','requires','cloudservicescommentsadapter-service-not-exist','size','1026966kmWTym','map','has','updateComment','commentRemoved','removeCommentThread','keys','commentThreadResolved','comments','48vLvXZj','_setUpService','createdAt','CommentsService','isOfficialPlugin','1614QRPFxx','getCommentThread','from','getCommentThreads','config','_getService','cloudservicescommentsadapter-connect-already-connected','94293asrarM','init','commentThreadRemoved','cloudservicescommentsadapter-disconnect-not-exist','reconnect','CloudServicesCommentsAdapter','resolvedAt','112SepcCF','destroy','startsWith','reopen','commentThreadId','register','commentUpdated','setPermissions','disconnect','collaboration.channelId','updateCommentThread','addUser','Permissions','addToReconnectionStack','commentThreadAdded','commentThreadUpdated','userId','_services','2005380kkPJWv','178932SKactB','context','isPremiumPlugin','removeComment','getConnectedSessions','CommentsRepository','set'];_0x5b62=function(){return _0x49119f;};return _0x5b62();}import{CommentsService as _0x3fe0bf,User as _0x1b6805}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x424d(_0x4258bc,_0x2310c4){const _0x5b627b=_0x5b62();return _0x424d=function(_0x424da4,_0x29f76a){_0x424da4=_0x424da4-0xb0;let _0x3fb9ad=_0x5b627b[_0x424da4];return _0x3fb9ad;},_0x424d(_0x4258bc,_0x2310c4);}import _0x2ef8ae from'../realtimecollaborativeediting/websocketgateway.js';import _0x3f509b from'../realtimecollaborativeediting/sessions.js';class a extends _0x329b1f{static [_0xb36e54(0xd5)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3fe0bf)());[_0xb36e54(0xf6)];static get[_0xb36e54(0xc6)](){const _0x29cbbf=_0xb36e54;return[_0x2ef8ae,_0x29cbbf(0xfd),_0x3f509b,_0x239a2b];}static get[_0xb36e54(0xff)](){const _0x371bba=_0xb36e54;return _0x371bba(0xe3);}static get[_0xb36e54(0xd6)](){return!0x0;}static get[_0xb36e54(0xfa)](){return!0x0;}constructor(_0x10b6cb){const _0x47307a=_0xb36e54;super(_0x10b6cb),this[_0x47307a(0xf6)]=new Map();}async[_0xb36e54(0xdf)](){const _0x1add6c=_0xb36e54,_0x55b2d8=this[_0x1add6c(0xf9)],_0x1705b1=_0x55b2d8[_0x1add6c(0xb9)][_0x1add6c(0xbf)](_0x1add6c(0xfd));if(_0x55b2d8[_0x1add6c(0xb9)][_0x1add6c(0xbf)](_0x2ef8ae)[_0x1add6c(0xf2)](this),_0x1705b1[_0x1add6c(0x107)]={'addCommentThread':async({channelId:_0x3fbbf6,threadId:_0x4ebfba,comments:_0x24ea3d,resolvedAt:_0x34d79f,resolvedBy:_0x135653,context:_0x169357,attributes:_0x504953})=>{const _0x5054e5=_0x1add6c,_0x320770=await this[_0x5054e5(0xdc)](_0x3fbbf6)[_0x5054e5(0x109)]({'commentThreadId':_0x4ebfba,'comments':_0x24ea3d[_0x5054e5(0xca)](_0x4c5686=>function(_0x4102cf,_0x4fbf0c,_0x478e31){const _0x4d29d8=_0x5054e5;return{'commentThreadId':_0x478e31,'commentId':_0x4102cf[_0x4d29d8(0xb1)],'userId':_0x4102cf[_0x4d29d8(0xc2)],'content':_0x4102cf[_0x4d29d8(0x10a)],'documentId':_0x4fbf0c,'createdAt':_0x4102cf[_0x4d29d8(0xd4)],'attributes':_0x4102cf[_0x4d29d8(0x100)]||{}};}(_0x4c5686,_0x3fbbf6,_0x4ebfba)),'resolvedAt':_0x34d79f,'resolvedBy':_0x135653,'context':_0x169357,'attributes':_0x504953})[_0x5054e5(0x115)](nt);return{'threadId':_0x320770[_0x5054e5(0xe9)],'comments':_0x320770[_0x5054e5(0xd1)]};},'getCommentThread':async({channelId:_0x342458,threadId:_0x3415c9})=>{const _0x2a6ed6=_0x1add6c,_0x1ed44b=await this[_0x2a6ed6(0xdc)](_0x342458)[_0x2a6ed6(0xd8)](_0x3415c9)[_0x2a6ed6(0x115)](nt);return _0x1ed44b[_0x2a6ed6(0x112)]?null:(await this[_0x2a6ed6(0x105)]([_0x1ed44b]),{'threadId':_0x1ed44b[_0x2a6ed6(0xe9)],'comments':_0x1ed44b[_0x2a6ed6(0xd1)][_0x2a6ed6(0xca)](st),'context':_0x1ed44b[_0x2a6ed6(0xf9)],'resolvedAt':_0x1ed44b[_0x2a6ed6(0xe4)],'resolvedBy':_0x1ed44b[_0x2a6ed6(0xc1)],'attributes':_0x1ed44b[_0x2a6ed6(0x100)]||{}});},'updateCommentThread':async({channelId:_0x4b3977,threadId:_0x6e4dd3,context:_0x3d6541,unlinkedAt:_0x521112,attributes:_0xcef1de})=>this[_0x1add6c(0xdc)](_0x4b3977)[_0x1add6c(0xef)]({'commentThreadId':_0x6e4dd3,'context':_0x3d6541,'attributes':_0xcef1de,'unlinkedAt':_0x521112})[_0x1add6c(0x115)](ot)[_0x1add6c(0x115)](nt),'resolveCommentThread':async({channelId:_0x32c64d,threadId:_0x2bcc27})=>{const _0x35ee50=_0x1add6c,_0x56ae14=await this[_0x35ee50(0xdc)](_0x32c64d)[_0x35ee50(0xb5)](_0x2bcc27)[_0x35ee50(0x115)](ot)[_0x35ee50(0x115)](nt);return{'threadId':_0x56ae14[_0x35ee50(0xe9)],'resolvedAt':_0x56ae14[_0x35ee50(0xe4)],'resolvedBy':_0x56ae14[_0x35ee50(0xc1)]};},'reopenCommentThread':async({channelId:_0x5da0be,threadId:_0x3ef198})=>this[_0x1add6c(0xdc)](_0x5da0be)[_0x1add6c(0x106)](_0x3ef198)[_0x1add6c(0x115)](ot)[_0x1add6c(0x115)](nt),'removeCommentThread':({channelId:_0x2b7b06,threadId:_0x32612c})=>this[_0x1add6c(0xdc)](_0x2b7b06)[_0x1add6c(0xce)](_0x32612c)[_0x1add6c(0x115)](ot)[_0x1add6c(0x115)](nt),'addComment':({channelId:_0x5736ce,threadId:_0x58b7c1,commentId:_0x1393d7,content:_0xef5846,attributes:_0x131c05})=>this[_0x1add6c(0xdc)](_0x5736ce)[_0x1add6c(0xb7)](_0x58b7c1,_0x1393d7,_0xef5846,_0x131c05)[_0x1add6c(0x115)](nt),'updateComment':({channelId:_0x3b6dfe,threadId:_0x570524,commentId:_0x1462d8,content:_0x3d4849,attributes:_0x25da73})=>this[_0x1add6c(0xdc)](_0x3b6dfe)[_0x1add6c(0xcc)](_0x570524,_0x1462d8,_0x3d4849,_0x25da73)[_0x1add6c(0x115)](ot)[_0x1add6c(0x115)](nt),'removeComment':({channelId:_0x5cbdfa,threadId:_0x18875b,commentId:_0x4346f1})=>this[_0x1add6c(0xdc)](_0x5cbdfa)[_0x1add6c(0xfb)](_0x18875b,_0x4346f1)[_0x1add6c(0x115)](ot)[_0x1add6c(0x115)](nt)},_0x55b2d8 instanceof _0x24bb84){const _0x2a4651=_0x55b2d8[_0x1add6c(0xdb)][_0x1add6c(0xbf)](_0x1add6c(0xee)),_0x5d8c02=_0x55b2d8[_0x1add6c(0xb9)][_0x1add6c(0xbf)](_0x3f509b);await this[_0x1add6c(0xd3)](_0x2a4651);const _0x1eb4c5=await this[_0x1add6c(0xf6)][_0x1add6c(0xbf)](_0x2a4651)[_0x1add6c(0xfc)]();this[_0x1add6c(0x102)](_0x5d8c02,_0x1add6c(0x101)+_0x2a4651,(_0xa69051,{session:_0x56ed62})=>{const _0x3440d9=_0x1add6c;_0x56ed62['id']===_0x5d8c02[_0x3440d9(0x10f)]&&(_0xa69051[_0x3440d9(0x110)](),this[_0x3440d9(0xf9)][_0x3440d9(0xb9)][_0x3440d9(0xbf)](_0x3440d9(0xf1))[_0x3440d9(0xec)](_0x56ed62[_0x3440d9(0xba)],_0x2a4651));}),_0x5d8c02[_0x1add6c(0xea)](_0x2a4651,_0x1eb4c5);}}async[_0xb36e54(0xd3)](_0x1a1e11){const _0x38af0f=_0xb36e54;if(this[_0x38af0f(0xf6)][_0x38af0f(0xcb)](_0x1a1e11))throw new _0x171a55(_0x38af0f(0xdd),null,{'channelId':_0x1a1e11});const _0x149042=this[_0x38af0f(0xf9)][_0x38af0f(0xb9)][_0x38af0f(0xbf)](_0x38af0f(0xfd)),_0x24b048=new a[(_0x38af0f(0xd5))](_0x1a1e11);this[_0x38af0f(0xf6)][_0x38af0f(0xfe)](_0x1a1e11,_0x24b048),this[_0x38af0f(0x102)](_0x24b048,_0x38af0f(0xf3),(_0x4fe89e,_0x3c46f0)=>{const _0x5c8a04=_0x38af0f,{commentThreadId:_0xa911b8,documentId:_0xe9b609,context:_0x2eced3,attributes:_0x6b4000,resolvedAt:_0x11905e,resolvedBy:_0xe42f02,comments:_0x1a0a41}=_0x3c46f0;_0x149042[_0x5c8a04(0xd8)](_0xa911b8)||_0x149042[_0x5c8a04(0x109)]({'threadId':_0xa911b8,'channelId':_0xe9b609,'comments':_0x1a0a41?_0x1a0a41[_0x5c8a04(0xca)](st):[],'context':_0x2eced3,'attributes':_0x6b4000,'resolvedAt':_0x11905e,'resolvedBy':_0xe42f02,'isFromAdapter':!0x0});}),this[_0x38af0f(0x102)](_0x24b048,_0x38af0f(0xf4),(_0x143690,{commentThreadId:_0x4c321a,documentId:_0x328cb4,context:_0x5d0531,unlinkedAt:_0x56d1ae,attributes:_0x153438})=>{const _0x33c891=_0x38af0f;_0x149042[_0x33c891(0xd8)](_0x4c321a)&&_0x149042[_0x33c891(0xef)]({'threadId':_0x4c321a,'channelId':_0x328cb4,'context':_0x5d0531,'unlinkedAt':_0x56d1ae,'attributes':_0x153438,'isFromAdapter':!0x0});}),this[_0x38af0f(0x102)](_0x24b048,_0x38af0f(0xd0),(_0x34a6b1,{commentThreadId:_0x3ea562,resolvedBy:_0x14881b,resolvedAt:_0x3d2ed6})=>{const _0x1260a6=_0x38af0f,_0x4c9932=_0x149042[_0x1260a6(0xd8)](_0x3ea562);_0x4c9932&&_0x4c9932[_0x1260a6(0x114)]({'resolvedBy':_0x14881b,'resolvedAt':_0x3d2ed6,'isFromAdapter':!0x0});}),this[_0x38af0f(0x102)](_0x24b048,_0x38af0f(0x10c),(_0x40b2d3,{commentThreadId:_0x48afdb})=>{const _0x4422cf=_0x38af0f,_0x573f91=_0x149042[_0x4422cf(0xd8)](_0x48afdb);_0x573f91&&_0x573f91[_0x4422cf(0xe8)]({'isFromAdapter':!0x0});}),this[_0x38af0f(0x102)](_0x24b048,_0x38af0f(0xe0),(_0x17f6dc,{commentThreadId:_0x49249b})=>{const _0x2e24da=_0x38af0f,_0x18052b=_0x149042[_0x2e24da(0xd8)](_0x49249b);_0x18052b&&_0x18052b[_0x2e24da(0xb6)]({'isFromAdapter':!0x0});}),this[_0x38af0f(0x102)](_0x24b048,_0x38af0f(0x117),(_0x52d07a,_0x2978d4)=>{const _0x3f2ff2=_0x38af0f,_0x9756c4=_0x2978d4[_0x3f2ff2(0xe9)],_0x46f50b=_0x149042[_0x3f2ff2(0xd8)](_0x9756c4);_0x46f50b&&_0x46f50b[_0x3f2ff2(0xb7)]({...st(_0x2978d4),'isFromAdapter':!0x0});}),this[_0x38af0f(0x102)](_0x24b048,_0x38af0f(0xeb),(_0x984780,{commentThreadId:_0x5decd4,commentId:_0x3a8c67,content:_0x32dd51,attributes:_0x2d2f51})=>{const _0xc6fff6=_0x38af0f,_0x3c403a=_0x149042[_0xc6fff6(0xd8)](_0x5decd4);if(_0x3c403a){const _0x2246c8=_0x3c403a[_0xc6fff6(0xc0)](_0x3a8c67);_0x2246c8&&_0x2246c8[_0xc6fff6(0xbd)]({'content':_0x32dd51,'attributes':_0x2d2f51,'isFromAdapter':!0x0});}}),this[_0x38af0f(0x102)](_0x24b048,_0x38af0f(0xcd),(_0x21c79b,{commentThreadId:_0x1ae056,commentId:_0x4d2c5a})=>{const _0x2930d7=_0x38af0f,_0x46910a=_0x149042[_0x2930d7(0xd8)](_0x1ae056);if(_0x46910a){const _0x48f899=_0x46910a[_0x2930d7(0xc0)](_0x4d2c5a);_0x48f899&&_0x48f899[_0x2930d7(0xb6)]({'isFromAdapter':!0x0});}}),await this[_0x38af0f(0xb0)](_0x1a1e11);}[_0xb36e54(0xe6)](){const _0x45abcf=_0xb36e54;if(this[_0x45abcf(0xf9)]instanceof _0x24bb84){const _0x4de0fc=this[_0x45abcf(0xf9)][_0x45abcf(0xdb)][_0x45abcf(0xbf)](_0x45abcf(0xee));this[_0x45abcf(0x108)](_0x4de0fc);}}[_0xb36e54(0x108)](_0x2f6eea){const _0x1fa125=_0xb36e54;if(!this[_0x1fa125(0xf6)][_0x1fa125(0xcb)](_0x2f6eea))throw new _0x171a55(_0x1fa125(0xe1),null,{'channelId':_0x2f6eea});this[_0x1fa125(0xdc)](_0x2f6eea)[_0x1fa125(0xed)](),this[_0x1fa125(0xf6)][_0x1fa125(0x113)](_0x2f6eea);}async[_0xb36e54(0xe2)](){const _0x14ac6d=_0xb36e54;for(const _0x47f4ba of this[_0x14ac6d(0xf6)][_0x14ac6d(0xcf)]())await this[_0x14ac6d(0xb0)](_0x47f4ba);if(this[_0x14ac6d(0xf9)]instanceof _0x24bb84){const _0x2c3a60=this[_0x14ac6d(0xf9)][_0x14ac6d(0xdb)][_0x14ac6d(0xbf)](_0x14ac6d(0xee)),_0x3e55e2=this[_0x14ac6d(0xf9)][_0x14ac6d(0xb9)][_0x14ac6d(0xbf)](_0x3f509b);_0x3e55e2[_0x14ac6d(0xbe)](_0x2c3a60);const _0x1c0235=await this[_0x14ac6d(0xf6)][_0x14ac6d(0xbf)](_0x2c3a60)[_0x14ac6d(0xfc)]();_0x3e55e2[_0x14ac6d(0xea)](_0x2c3a60,_0x1c0235);}}async[_0xb36e54(0xb0)](_0x3ce4ed){const _0x3f3155=_0xb36e54,{connection:_0x3fc6ce}=this[_0x3f3155(0xf9)][_0x3f3155(0xb9)][_0x3f3155(0xbf)](_0x2ef8ae),_0x444d09=this[_0x3f3155(0xf9)][_0x3f3155(0xb9)][_0x3f3155(0xbf)](_0x3f3155(0xfd)),_0x1d6b07=this[_0x3f3155(0xf6)][_0x3f3155(0xbf)](_0x3ce4ed),_0x9eebe0=await _0x1d6b07[_0x3f3155(0x116)](_0x3fc6ce);await this[_0x3f3155(0x105)](_0x9eebe0);const _0x3f7e8f=new Set(Array[_0x3f3155(0xd9)](_0x444d09[_0x3f3155(0xda)]({'channelId':_0x3ce4ed}),_0x370815=>_0x370815['id']));for(const _0x4af928 of _0x9eebe0)_0x4af928[_0x3f3155(0x112)]||_0x3f7e8f[_0x3f3155(0x113)](_0x4af928[_0x3f3155(0xe9)]);for(const _0x47be3d of _0x3f7e8f)_0x444d09[_0x3f3155(0xd8)](_0x47be3d)[_0x3f3155(0xb6)]({'isFromAdapter':!0x0});for(const _0x295da3 of _0x9eebe0){let _0xa86f8=_0x444d09[_0x3f3155(0xd8)](_0x295da3[_0x3f3155(0xe9)]);const {commentThreadId:_0xf976ae,context:_0xab2a96,attributes:_0x47020c,resolvedBy:_0xe16bb0,resolvedAt:_0x4daa3e,unlinkedAt:_0x53d731,deletedAt:_0x1ba179}=_0x295da3;if(_0x1ba179)continue;_0xa86f8||(_0xa86f8=_0x444d09[_0x3f3155(0x109)]({'channelId':_0x3ce4ed,'threadId':_0xf976ae,'context':_0xab2a96,'attributes':_0x47020c||{},'resolvedBy':_0xe16bb0,'resolvedAt':_0x4daa3e,'unlinkedAt':_0x53d731,'isFromAdapter':!0x0}));const _0x53cab0=new Set(Array[_0x3f3155(0xd9)](_0xa86f8[_0x3f3155(0xd1)],_0xd8302d=>_0xd8302d['id']));for(const _0x26498c of _0x295da3[_0x3f3155(0xd1)])_0x53cab0[_0x3f3155(0x113)](_0x26498c[_0x3f3155(0xb1)]);for(const _0x188dc4 of _0x53cab0)_0xa86f8[_0x3f3155(0xc0)](_0x188dc4)[_0x3f3155(0xb6)]({'isFromAdapter':!0x0});for(const _0x3874de of _0x295da3[_0x3f3155(0xd1)]){const _0x35fa52=_0xa86f8[_0x3f3155(0xc0)](_0x3874de[_0x3f3155(0xb1)]);_0x35fa52?_0x35fa52[_0x3f3155(0x10a)]!==_0x3874de[_0x3f3155(0x10a)]&&_0x35fa52[_0x3f3155(0xbd)]({'content':_0x3874de[_0x3f3155(0x10a)],'isFromAdapter':!0x0}):_0xa86f8[_0x3f3155(0xb7)](Object[_0x3f3155(0xb4)](st(_0x3874de),{'isFromAdapter':!0x0}));}}}[_0xb36e54(0xdc)](_0x3a82df){const _0xd6bb96=_0xb36e54;if(!this[_0xd6bb96(0xf6)][_0xd6bb96(0xcb)](_0x3a82df))throw new _0x171a55(_0xd6bb96(0xc7),null,{'channelId':_0x3a82df});return this[_0xd6bb96(0xf6)][_0xd6bb96(0xbf)](_0x3a82df);}async[_0xb36e54(0x105)](_0x2d6221){const _0x4c1959=_0xb36e54,_0x7265eb=this[_0x4c1959(0xf9)][_0x4c1959(0xb9)][_0x4c1959(0xbf)](_0x239a2b),{connection:_0x3206ad}=this[_0x4c1959(0xf9)][_0x4c1959(0xb9)][_0x4c1959(0xbf)](_0x2ef8ae),_0x2b8b1e=new Set();for(const {resolvedBy:_0x45d6ab,comments:_0x54aa3e}of _0x2d6221){_0x45d6ab&&!_0x7265eb[_0x4c1959(0xbc)](_0x45d6ab)&&_0x2b8b1e[_0x4c1959(0x10b)](_0x45d6ab);for(const {userId:_0x30efd6}of _0x54aa3e)_0x7265eb[_0x4c1959(0xbc)](_0x30efd6)||_0x2b8b1e[_0x4c1959(0x10b)](_0x30efd6);}if(0x0===_0x2b8b1e[_0x4c1959(0xc8)])return;const _0x4ab331=await _0x1b6805[_0x4c1959(0x111)](_0x3206ad,Array[_0x4c1959(0xd9)](_0x2b8b1e));for(const _0x4c64d2 of _0x4ab331)_0x7265eb[_0x4c1959(0xbc)](_0x4c64d2['id'])||_0x7265eb[_0x4c1959(0xf0)](_0x4c64d2);}}export default a;async function ot(_0x856b20){const _0x5b316b=_0xb36e54;if(_0x5b316b(0xb2)!==_0x856b20[_0x5b316b(0xb3)])throw _0x856b20;}function nt(_0x2478ee){const _0x9444a5=_0xb36e54;if((_0x43d349=_0x2478ee)[_0x9444a5(0x104)][_0x9444a5(0xe7)](_0x9444a5(0xbb))||_0x43d349[_0x9444a5(0x104)][_0x9444a5(0xe7)](_0x9444a5(0x103))||_0x43d349[_0x9444a5(0x104)][_0x9444a5(0xe7)](_0x9444a5(0xb8)))return new Promise(()=>{});var _0x43d349;throw _0x2478ee;}function st(_0x1ee607){const _0x4990bb=_0xb36e54;return{'threadId':_0x1ee607[_0x4990bb(0xe9)],'commentId':_0x1ee607[_0x4990bb(0xb1)],'content':_0x1ee607[_0x4990bb(0x10a)],'createdAt':_0x1ee607[_0x4990bb(0xd4)],'authorId':_0x1ee607[_0x4990bb(0xf5)],'attributes':_0x1ee607[_0x4990bb(0x100)]||{}};}
23
+ const _0x24d164=_0x32b4;(function(_0x1abcf6,_0x40d2f2){const _0x288765=_0x32b4,_0x4de4eb=_0x1abcf6();while(!![]){try{const _0x505f0d=-parseInt(_0x288765(0x157))/0x1*(parseInt(_0x288765(0x17e))/0x2)+parseInt(_0x288765(0x159))/0x3+-parseInt(_0x288765(0x139))/0x4*(parseInt(_0x288765(0x175))/0x5)+parseInt(_0x288765(0x130))/0x6+-parseInt(_0x288765(0x15c))/0x7*(parseInt(_0x288765(0x162))/0x8)+-parseInt(_0x288765(0x134))/0x9*(-parseInt(_0x288765(0x176))/0xa)+parseInt(_0x288765(0x137))/0xb;if(_0x505f0d===_0x40d2f2)break;else _0x4de4eb['push'](_0x4de4eb['shift']());}catch(_0x295c3f){_0x4de4eb['push'](_0x4de4eb['shift']());}}}(_0x3653,0xedb10));import{Context as _0x208897,ContextPlugin as _0x1b18ef}from'ckeditor5/src/core.js';import{CKEditorError as _0x4347db}from'ckeditor5/src/utils.js';function _0x32b4(_0x14a326,_0x34f177){const _0x365345=_0x3653();return _0x32b4=function(_0x32b4d7,_0x388010){_0x32b4d7=_0x32b4d7-0x12d;let _0x418022=_0x365345[_0x32b4d7];return _0x418022;},_0x32b4(_0x14a326,_0x34f177);}import{Users as _0x284ff1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x335be2,User as _0x5c978d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3653(){const _0x582281=['permissions','mySessionId','remove','updateCommentThread','getComment','message','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Request\x20timeout.','isPremiumPlugin','cloudservicescommentsadapter-connect-already-connected','update','removeCommentThread','_services','getCommentThreads','4972122zyyDie','_getService','addComment','authorId','9ZFbyuy','commentAdded','unregister','2722522bzYOwd','resolvedBy','93260MMHMkp','_connectService','_fetchMissingUsersForThreads','destroy','deletedAt','assign','delete','catch','getMany','CommentsService','register','commentThreadResolved','Permissions','isOfficialPlugin','add','CommentsRepository','updateComment','resolveCommentThread','listenTo','createdAt','off','set','commentThreadAdded','init','cloudservicescommentsadapter-disconnect-not-exist','has','commentThreadReopened','reopen','pluginName','plugins','1164676AAznHV','_setUpService','1133988yGqYjJ','404','cloud-services-internal-error:\x20Not\x20connected.','14gJwcyt','reconnect','setPermissions','getConnectedSessions','addCommentThread','startsWith','2378152TNcOmx','disconnect','addToReconnectionStack','config','getUser','sessionAdd:','commentThreadUpdated','content','get','adapter','userId','keys','addUser','resolvedAt','CloudServicesCommentsAdapter','code','collaboration.channelId','comments','getCommentThread','85OePCHV','16749680PkhpLP','_terminateService','removeComment','size','map','commentThreadId','commentRemoved','commentUpdated','2AxyvxI','connect','reopenCommentThread','attributes','from','cloudservicescommentsadapter-service-not-exist','commentThreadRemoved','requires','commentId','context','resolve'];_0x3653=function(){return _0x582281;};return _0x3653();}import _0x4100fa from'../realtimecollaborativeediting/websocketgateway.js';import _0x4d83a4 from'../realtimecollaborativeediting/sessions.js';class a extends _0x1b18ef{static [_0x24d164(0x142)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x335be2)());[_0x24d164(0x12e)];static get[_0x24d164(0x185)](){const _0x41b1f7=_0x24d164;return[_0x4100fa,_0x41b1f7(0x148),_0x4d83a4,_0x284ff1];}static get[_0x24d164(0x155)](){const _0x14c8c2=_0x24d164;return _0x14c8c2(0x170);}static get[_0x24d164(0x146)](){return!0x0;}static get[_0x24d164(0x191)](){return!0x0;}constructor(_0x4b49c5){const _0x2ba187=_0x24d164;super(_0x4b49c5),this[_0x2ba187(0x12e)]=new Map();}async[_0x24d164(0x150)](){const _0x3cd985=_0x24d164,_0x5f0e36=this[_0x3cd985(0x187)],_0x281cdf=_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x3cd985(0x148));if(_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x4100fa)[_0x3cd985(0x164)](this),_0x281cdf[_0x3cd985(0x16b)]={'addCommentThread':async({channelId:_0xbbdf89,threadId:_0x2f970f,comments:_0x58033c,resolvedAt:_0x49b488,resolvedBy:_0x294300,context:_0x98e892,attributes:_0x3f75e1})=>{const _0x507ed8=_0x3cd985,_0x4af3e1=await this[_0x507ed8(0x131)](_0xbbdf89)[_0x507ed8(0x160)]({'commentThreadId':_0x2f970f,'comments':_0x58033c[_0x507ed8(0x17a)](_0x21f961=>function(_0xf3104a,_0x3aea96,_0x672ab3){const _0x50e09b=_0x507ed8;return{'commentThreadId':_0x672ab3,'commentId':_0xf3104a[_0x50e09b(0x186)],'userId':_0xf3104a[_0x50e09b(0x133)],'content':_0xf3104a[_0x50e09b(0x169)],'documentId':_0x3aea96,'createdAt':_0xf3104a[_0x50e09b(0x14c)],'attributes':_0xf3104a[_0x50e09b(0x181)]||{}};}(_0x21f961,_0xbbdf89,_0x2f970f)),'resolvedAt':_0x49b488,'resolvedBy':_0x294300,'context':_0x98e892,'attributes':_0x3f75e1})[_0x507ed8(0x140)](R);return{'threadId':_0x4af3e1[_0x507ed8(0x17b)],'comments':_0x4af3e1[_0x507ed8(0x173)]};},'getCommentThread':async({channelId:_0x1665cb,threadId:_0xedd0a8})=>{const _0x25f028=_0x3cd985,_0x129f75=await this[_0x25f028(0x131)](_0x1665cb)[_0x25f028(0x174)](_0xedd0a8)[_0x25f028(0x140)](R);return _0x129f75[_0x25f028(0x13d)]?null:(await this[_0x25f028(0x13b)]([_0x129f75]),{'threadId':_0x129f75[_0x25f028(0x17b)],'comments':_0x129f75[_0x25f028(0x173)][_0x25f028(0x17a)](_),'context':_0x129f75[_0x25f028(0x187)],'resolvedAt':_0x129f75[_0x25f028(0x16f)],'resolvedBy':_0x129f75[_0x25f028(0x138)],'attributes':_0x129f75[_0x25f028(0x181)]||{}});},'updateCommentThread':async({channelId:_0x420185,threadId:_0x42d30a,context:_0x58dab8,unlinkedAt:_0x284985,attributes:_0x4421a4})=>this[_0x3cd985(0x131)](_0x420185)[_0x3cd985(0x18c)]({'commentThreadId':_0x42d30a,'context':_0x58dab8,'attributes':_0x4421a4,'unlinkedAt':_0x284985})[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'resolveCommentThread':async({channelId:_0xbb4d69,threadId:_0x2a913f})=>{const _0x830af6=_0x3cd985,_0x2ca5eb=await this[_0x830af6(0x131)](_0xbb4d69)[_0x830af6(0x14a)](_0x2a913f)[_0x830af6(0x140)](S)[_0x830af6(0x140)](R);return{'threadId':_0x2ca5eb[_0x830af6(0x17b)],'resolvedAt':_0x2ca5eb[_0x830af6(0x16f)],'resolvedBy':_0x2ca5eb[_0x830af6(0x138)]};},'reopenCommentThread':async({channelId:_0x4d9284,threadId:_0x28a97d})=>this[_0x3cd985(0x131)](_0x4d9284)[_0x3cd985(0x180)](_0x28a97d)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'removeCommentThread':({channelId:_0x5e3a18,threadId:_0x582f89})=>this[_0x3cd985(0x131)](_0x5e3a18)[_0x3cd985(0x12d)](_0x582f89)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'addComment':({channelId:_0x4cd90d,threadId:_0x3d6b7a,commentId:_0x8de9bb,content:_0x5d4469,attributes:_0x41766c})=>this[_0x3cd985(0x131)](_0x4cd90d)[_0x3cd985(0x132)](_0x3d6b7a,_0x8de9bb,_0x5d4469,_0x41766c)[_0x3cd985(0x140)](R),'updateComment':({channelId:_0x557689,threadId:_0x23063d,commentId:_0x2dbfe3,content:_0x4fac79,attributes:_0x230aff})=>this[_0x3cd985(0x131)](_0x557689)[_0x3cd985(0x149)](_0x23063d,_0x2dbfe3,_0x4fac79,_0x230aff)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'removeComment':({channelId:_0x3eaa05,threadId:_0x338681,commentId:_0x1daf10})=>this[_0x3cd985(0x131)](_0x3eaa05)[_0x3cd985(0x178)](_0x338681,_0x1daf10)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R)},_0x5f0e36 instanceof _0x208897){const _0x37f549=_0x5f0e36[_0x3cd985(0x165)][_0x3cd985(0x16a)](_0x3cd985(0x172)),_0x4b107c=_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x4d83a4);await this[_0x3cd985(0x158)](_0x37f549);const _0x3b80fb=await this[_0x3cd985(0x12e)][_0x3cd985(0x16a)](_0x37f549)[_0x3cd985(0x15f)]();this[_0x3cd985(0x14b)](_0x4b107c,_0x3cd985(0x167)+_0x37f549,(_0x3d25bd,{session:_0xc12924})=>{const _0x7d6915=_0x3cd985;_0xc12924['id']===_0x4b107c[_0x7d6915(0x18a)]&&(_0x3d25bd[_0x7d6915(0x14d)](),this[_0x7d6915(0x187)][_0x7d6915(0x156)][_0x7d6915(0x16a)](_0x7d6915(0x145))[_0x7d6915(0x15e)](_0xc12924[_0x7d6915(0x189)],_0x37f549));}),_0x4b107c[_0x3cd985(0x143)](_0x37f549,_0x3b80fb);}}async[_0x24d164(0x158)](_0x502e7e){const _0x270e41=_0x24d164;if(this[_0x270e41(0x12e)][_0x270e41(0x152)](_0x502e7e))throw new _0x4347db(_0x270e41(0x192),null,{'channelId':_0x502e7e});const _0x201814=this[_0x270e41(0x187)][_0x270e41(0x156)][_0x270e41(0x16a)](_0x270e41(0x148)),_0x3fadc9=new a[(_0x270e41(0x142))](_0x502e7e);this[_0x270e41(0x12e)][_0x270e41(0x14e)](_0x502e7e,_0x3fadc9),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x14f),(_0x35edef,_0x71b2fb)=>{const _0x1cdf07=_0x270e41,{commentThreadId:_0x5b09d1,documentId:_0x36e3d6,context:_0x48a891,attributes:_0x142595,resolvedAt:_0x7c0e45,resolvedBy:_0x5c5f07,comments:_0x5cd766}=_0x71b2fb;_0x201814[_0x1cdf07(0x174)](_0x5b09d1)||_0x201814[_0x1cdf07(0x160)]({'threadId':_0x5b09d1,'channelId':_0x36e3d6,'comments':_0x5cd766?_0x5cd766[_0x1cdf07(0x17a)](_):[],'context':_0x48a891,'attributes':_0x142595,'resolvedAt':_0x7c0e45,'resolvedBy':_0x5c5f07,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x168),(_0x242f26,{commentThreadId:_0xca6424,documentId:_0x5ad789,context:_0x5e1632,unlinkedAt:_0x2ead27,attributes:_0x1dc3c9})=>{const _0xeebe8a=_0x270e41;_0x201814[_0xeebe8a(0x174)](_0xca6424)&&_0x201814[_0xeebe8a(0x18c)]({'threadId':_0xca6424,'channelId':_0x5ad789,'context':_0x5e1632,'unlinkedAt':_0x2ead27,'attributes':_0x1dc3c9,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x144),(_0x3cda1c,{commentThreadId:_0x3e5572,resolvedBy:_0x27dc91,resolvedAt:_0x5927f4})=>{const _0x31891f=_0x270e41,_0x22aa22=_0x201814[_0x31891f(0x174)](_0x3e5572);_0x22aa22&&_0x22aa22[_0x31891f(0x188)]({'resolvedBy':_0x27dc91,'resolvedAt':_0x5927f4,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x153),(_0x136636,{commentThreadId:_0x4b28fc})=>{const _0x468883=_0x270e41,_0x13ef95=_0x201814[_0x468883(0x174)](_0x4b28fc);_0x13ef95&&_0x13ef95[_0x468883(0x154)]({'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x184),(_0x45160c,{commentThreadId:_0x767302})=>{const _0x302c28=_0x270e41,_0x5e61a6=_0x201814[_0x302c28(0x174)](_0x767302);_0x5e61a6&&_0x5e61a6[_0x302c28(0x18b)]({'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x135),(_0x7c1e51,_0x4f0591)=>{const _0x19b2b2=_0x270e41,_0x4638be=_0x4f0591[_0x19b2b2(0x17b)],_0x103a0a=_0x201814[_0x19b2b2(0x174)](_0x4638be);_0x103a0a&&_0x103a0a[_0x19b2b2(0x132)]({..._(_0x4f0591),'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x17d),(_0x57eb32,{commentThreadId:_0x3f241a,commentId:_0x515191,content:_0x4a9e82,attributes:_0x2d808f})=>{const _0x4a6a70=_0x270e41,_0x3f3d04=_0x201814[_0x4a6a70(0x174)](_0x3f241a);if(_0x3f3d04){const _0x429d51=_0x3f3d04[_0x4a6a70(0x18d)](_0x515191);_0x429d51&&_0x429d51[_0x4a6a70(0x193)]({'content':_0x4a9e82,'attributes':_0x2d808f,'isFromAdapter':!0x0});}}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x17c),(_0x223529,{commentThreadId:_0x559a3c,commentId:_0x5aef8b})=>{const _0x1d242a=_0x270e41,_0xe4336e=_0x201814[_0x1d242a(0x174)](_0x559a3c);if(_0xe4336e){const _0x4e6494=_0xe4336e[_0x1d242a(0x18d)](_0x5aef8b);_0x4e6494&&_0x4e6494[_0x1d242a(0x18b)]({'isFromAdapter':!0x0});}}),await this[_0x270e41(0x13a)](_0x502e7e);}[_0x24d164(0x13c)](){const _0x4901a4=_0x24d164;if(this[_0x4901a4(0x187)]instanceof _0x208897){const _0x316a65=this[_0x4901a4(0x187)][_0x4901a4(0x165)][_0x4901a4(0x16a)](_0x4901a4(0x172));this[_0x4901a4(0x177)](_0x316a65);}}[_0x24d164(0x177)](_0x239553){const _0x346feb=_0x24d164;if(!this[_0x346feb(0x12e)][_0x346feb(0x152)](_0x239553))throw new _0x4347db(_0x346feb(0x151),null,{'channelId':_0x239553});this[_0x346feb(0x131)](_0x239553)[_0x346feb(0x163)](),this[_0x346feb(0x12e)][_0x346feb(0x13f)](_0x239553);}async[_0x24d164(0x15d)](){const _0x4a3658=_0x24d164;for(const _0x16f089 of this[_0x4a3658(0x12e)][_0x4a3658(0x16d)]())await this[_0x4a3658(0x13a)](_0x16f089);if(this[_0x4a3658(0x187)]instanceof _0x208897){const _0x23ef38=this[_0x4a3658(0x187)][_0x4a3658(0x165)][_0x4a3658(0x16a)](_0x4a3658(0x172)),_0x350f5c=this[_0x4a3658(0x187)][_0x4a3658(0x156)][_0x4a3658(0x16a)](_0x4d83a4);_0x350f5c[_0x4a3658(0x136)](_0x23ef38);const _0x496294=await this[_0x4a3658(0x12e)][_0x4a3658(0x16a)](_0x23ef38)[_0x4a3658(0x15f)]();_0x350f5c[_0x4a3658(0x143)](_0x23ef38,_0x496294);}}async[_0x24d164(0x13a)](_0x1babd9){const _0x44785a=_0x24d164,{connection:_0x255bca}=this[_0x44785a(0x187)][_0x44785a(0x156)][_0x44785a(0x16a)](_0x4100fa),_0x7bbfac=this[_0x44785a(0x187)][_0x44785a(0x156)][_0x44785a(0x16a)](_0x44785a(0x148)),_0x49fa68=this[_0x44785a(0x12e)][_0x44785a(0x16a)](_0x1babd9),_0x10ae1c=await _0x49fa68[_0x44785a(0x17f)](_0x255bca);await this[_0x44785a(0x13b)](_0x10ae1c);const _0x326613=new Set(Array[_0x44785a(0x182)](_0x7bbfac[_0x44785a(0x12f)]({'channelId':_0x1babd9}),_0x30d39b=>_0x30d39b['id']));for(const _0x5d54dc of _0x10ae1c)_0x5d54dc[_0x44785a(0x13d)]||_0x326613[_0x44785a(0x13f)](_0x5d54dc[_0x44785a(0x17b)]);for(const _0x3202cd of _0x326613)_0x7bbfac[_0x44785a(0x174)](_0x3202cd)[_0x44785a(0x18b)]({'isFromAdapter':!0x0});for(const _0x804dfa of _0x10ae1c){let _0x181c27=_0x7bbfac[_0x44785a(0x174)](_0x804dfa[_0x44785a(0x17b)]);const {commentThreadId:_0x53774e,context:_0x457ea4,attributes:_0x197ccc,resolvedBy:_0x1dc872,resolvedAt:_0x161e50,unlinkedAt:_0x190228,deletedAt:_0x448ef8}=_0x804dfa;if(_0x448ef8)continue;_0x181c27||(_0x181c27=_0x7bbfac[_0x44785a(0x160)]({'channelId':_0x1babd9,'threadId':_0x53774e,'context':_0x457ea4,'attributes':_0x197ccc||{},'resolvedBy':_0x1dc872,'resolvedAt':_0x161e50,'unlinkedAt':_0x190228,'isFromAdapter':!0x0}));const _0xc26726=new Set(Array[_0x44785a(0x182)](_0x181c27[_0x44785a(0x173)],_0x717fbc=>_0x717fbc['id']));for(const _0x594cd0 of _0x804dfa[_0x44785a(0x173)])_0xc26726[_0x44785a(0x13f)](_0x594cd0[_0x44785a(0x186)]);for(const _0x57d0ab of _0xc26726)_0x181c27[_0x44785a(0x18d)](_0x57d0ab)[_0x44785a(0x18b)]({'isFromAdapter':!0x0});for(const _0x10bc2d of _0x804dfa[_0x44785a(0x173)]){const _0x27431a=_0x181c27[_0x44785a(0x18d)](_0x10bc2d[_0x44785a(0x186)]);_0x27431a?_0x27431a[_0x44785a(0x169)]!==_0x10bc2d[_0x44785a(0x169)]&&_0x27431a[_0x44785a(0x193)]({'content':_0x10bc2d[_0x44785a(0x169)],'isFromAdapter':!0x0}):_0x181c27[_0x44785a(0x132)](Object[_0x44785a(0x13e)](_(_0x10bc2d),{'isFromAdapter':!0x0}));}}}[_0x24d164(0x131)](_0x617ffd){const _0x4179cf=_0x24d164;if(!this[_0x4179cf(0x12e)][_0x4179cf(0x152)](_0x617ffd))throw new _0x4347db(_0x4179cf(0x183),null,{'channelId':_0x617ffd});return this[_0x4179cf(0x12e)][_0x4179cf(0x16a)](_0x617ffd);}async[_0x24d164(0x13b)](_0x4551bb){const _0x4b3cac=_0x24d164,_0x3d2851=this[_0x4b3cac(0x187)][_0x4b3cac(0x156)][_0x4b3cac(0x16a)](_0x284ff1),{connection:_0x4c8df8}=this[_0x4b3cac(0x187)][_0x4b3cac(0x156)][_0x4b3cac(0x16a)](_0x4100fa),_0x14bdf9=new Set();for(const {resolvedBy:_0xc52791,comments:_0x33b271}of _0x4551bb){_0xc52791&&!_0x3d2851[_0x4b3cac(0x166)](_0xc52791)&&_0x14bdf9[_0x4b3cac(0x147)](_0xc52791);for(const {userId:_0x37f034}of _0x33b271)_0x3d2851[_0x4b3cac(0x166)](_0x37f034)||_0x14bdf9[_0x4b3cac(0x147)](_0x37f034);}if(0x0===_0x14bdf9[_0x4b3cac(0x179)])return;const _0x6bdd4a=await _0x5c978d[_0x4b3cac(0x141)](_0x4c8df8,Array[_0x4b3cac(0x182)](_0x14bdf9));for(const _0x4c1cfa of _0x6bdd4a)_0x3d2851[_0x4b3cac(0x166)](_0x4c1cfa['id'])||_0x3d2851[_0x4b3cac(0x16e)](_0x4c1cfa);}}export default a;async function S(_0x1185c9){const _0x2cf325=_0x24d164;if(_0x2cf325(0x15a)!==_0x1185c9[_0x2cf325(0x171)])throw _0x1185c9;}function R(_0x490678){const _0x27c3d0=_0x24d164;if((_0x2eef86=_0x490678)[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x18f))||_0x2eef86[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x15b))||_0x2eef86[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x190)))return new Promise(()=>{});var _0x2eef86;throw _0x490678;}function _(_0x3d2be0){const _0x201d96=_0x24d164;return{'threadId':_0x3d2be0[_0x201d96(0x17b)],'commentId':_0x3d2be0[_0x201d96(0x186)],'content':_0x3d2be0[_0x201d96(0x169)],'createdAt':_0x3d2be0[_0x201d96(0x14c)],'authorId':_0x3d2be0[_0x201d96(0x16c)],'attributes':_0x3d2be0[_0x201d96(0x181)]||{}};}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x537af6=_0x3d85;(function(_0x26e2b3,_0xebf828){const _0x5bd8f3=_0x3d85,_0x371539=_0x26e2b3();while(!![]){try{const _0x33586d=-parseInt(_0x5bd8f3(0x145))/0x1*(parseInt(_0x5bd8f3(0x158))/0x2)+-parseInt(_0x5bd8f3(0x13d))/0x3*(-parseInt(_0x5bd8f3(0x136))/0x4)+parseInt(_0x5bd8f3(0x1be))/0x5+-parseInt(_0x5bd8f3(0x223))/0x6*(-parseInt(_0x5bd8f3(0x14a))/0x7)+-parseInt(_0x5bd8f3(0x159))/0x8+-parseInt(_0x5bd8f3(0x210))/0x9+-parseInt(_0x5bd8f3(0x131))/0xa*(parseInt(_0x5bd8f3(0x178))/0xb);if(_0x33586d===_0xebf828)break;else _0x371539['push'](_0x371539['shift']());}catch(_0x502b99){_0x371539['push'](_0x371539['shift']());}}}(_0x6923,0x47c5a));import{Plugin as _0x563ac5,PendingActions as _0x5edb8a}from'ckeditor5/src/core.js';import{CKEditorError as _0x46f185,version as _0x2ab59f,uid as _0x137ec9}from'ckeditor5/src/utils.js';import{Notification as _0x56c596}from'ckeditor5/src/ui.js';import{transformSets as _0x421a26,NoOperation as _0x40974b,InsertOperation as _0xc92896,MarkerOperation as _0x24d947,RootAttributeOperation as _0x4e7f39,OperationFactory as _0x325e8e,History as _0x22da25}from'ckeditor5/src/engine.js';import _0x3b158a from'./websocketgateway.js';import _0x30d151 from'./sessions.js';import _0x1720fc from'./usermarkers.js';import{getTranslation as _0x5bf2c9}from'../common-translations.js';import{Compressor as _0x1429cd}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x280466}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4e6b99,CollaborativeEditingService as _0x1cf04f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x6923(){const _0x4e6b12=['startsWith','_isAttached','connect','CommentsOnly','error','_applyOperationsSet','remove','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','mySessionId','fire','toJSON','_sendBufferedOperationsDelayId','pluginName','cs:removeUser','addRoot','realtimecollaborationclient-init-non-existent-root','entries','finally','targetPosition','userId','realtimecollaborationclient-init-document-already-initialized','realtimecollaborationclient-init-service-incorrect-server-operation','state','getDocumentDetails','decompress','createdAt','_setUpDataInit','212894xSkzML','cloudServices.bundleVersion','_baseBufferDelay','realtimecollaborationclient-init-connection-failed','sessionAdd:','connection','_bufferRootLoad','disconnected','version','addToReconnectionStack','404','collaboration.channelId','serverHistory','path','realtimecollaborationclient-init-service-internal-error','getConnectedSessions','parse','getRoot','_compressor','newRange','409','_isLoaded','marker','_lastServerVersion','getUser','init','operationsReceived','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_compressOperations','createPositionAt','editor','_service','document:write','realtimecollaborationclient-sendbufferedoperations','_sendBufferedOperationsDelayed','_offset','showWarning','_isDisconnection','_pendingAction','differ','sessionId','_handleReconnectionError','editing','_getAffectedRoot','offset','requires','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','register','_refreshUserSelectionMarkers','stopListening','define','realtimecollaborationclient','wasUndone','_isConnected','PENDING_ACTION_SENDING_DATA','_setPendingAction','unregister','roots','document','_currentBufferDelay','__className','config','realtimecollaborationclient-handleserverresponse','position','_updateServerHistory','realtimecollaborationclient-error','includes','from','multi-root-editor-root-attributes-no-root','_operationToId','1776615Urvror','addOperation','_channelId','selection','loadRoot','change:_isPendingUpdate','history','plugins','getIdOfTheLastOperation','_disconnectionOperations','map','lastSyncVersion','realtimecollaborationclient-init-session-connection-error','change:_isEditingAllowed','_document','length','apply','set','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.','disableReadOnlyMode','change:range','getOperations','_shouldSendSelectionUpdate','_initThrowingOnDataSet','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.','CollaborativeEditingService','listenTo','getOperationAuthor','compress','model','data','_clearPendingAction','_loadRoot','setIdForTheLastOperation','_sendBufferedOperations','end','affectedSelectable','_isEditingAllowed','getMany','createRoot','_handleExternalOperations','currentDocumentSession','_saveOperationInBuffer','filter','_hasSynchronizationProblem','rootName','$root','isReadOnly','affectsData','_connectService','fromJSON','locale','sessionCreatedAt','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','rtc-destroyed','_getOperationsFromInitData','push','Synchronization\x20issue','directChange','enqueueChange','destroy','_crash','isEnabled','_authorId','return','size','_lastSyncedOperationId','addUser','clone','lastOperationAcceptedAt','addRootAttribute','wereChangesApplied','reset','then','real-time-collaboration','permissions','_operationIdentifier','isPremiumPlugin','InsertOperation','suppressErrorInCollaboration','_knownRootNames','baseVersion','1259154xdOHTi','createPositionFromPath','off','_bufferedOperations','_connectAfterSessionHasBeenFlushed','_fetchMissingUsers','rtc-offline','_handleServerResponse','collaboration-missing-channelid','Notification','string','attributes','_handleSendingSelectionMarkers','RealTimeCollaborationClient','isOfficialPlugin','get','_isInit','collaboration','forEach','1490886bHVGKC','add','rootsAttributes','reconnection:\x20flushed\x20session','reconnect','_hasSelectionChanged','batch','channelSessions','ready','_disconnectService','root','insert','metadata','_ignoredOperations','stop','_handleInitialConnectionData','initData','setPermissions','bind','isDocumentOperation','change:hasDomSelection','110yWIUMt','code','keys','_decompressOperations','cloudDocumentVersion','688wjeCgk','sendOperations','cloud-services-internal-error:\x20Request\x20timeout.','_knownOperations','_handleReceivedOperations','_addKnownRoot','connected','8232Xhfmmq','slice','_handleReconnectionResponse','removeFromReconnectionStack','move','high','applyOperation','disconnect','1kxLNka','start','lastDocumentSession','has','_isPendingUpdate','14XkkzkZ','Permissions','isUndoneOperation','catch','lastOperationId','createRange','type','round','_waitUntilSynced','createUserMarkerOperations','message','view','_shouldSendUpdate','_initSessionsHandling','1086334TNuMOJ','1074464GjtBwn','markers','enableReadOnlyMode','cloud-services-internal-error:\x20Not\x20connected.'];_0x6923=function(){return _0x4e6b12;};return _0x6923();}let F=0x1;class l extends _0x563ac5{static [_0x537af6(0x1d7)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x1cf04f)());[_0x537af6(0x19b)];[_0x537af6(0x1a0)];[_0x537af6(0x184)];[_0x537af6(0x1c0)];[_0x537af6(0x197)];[_0x537af6(0x1cc)];[_0x537af6(0x18a)];[_0x537af6(0x213)];[_0x537af6(0x139)];[_0x537af6(0x20e)];[_0x537af6(0x19e)];[_0x537af6(0x228)];[_0x537af6(0x168)];[_0x537af6(0x17a)];[_0x537af6(0x1b3)];[_0x537af6(0x200)];[_0x537af6(0x1c7)];[_0x537af6(0x20a)];static get[_0x537af6(0x1a5)](){return[_0x3b158a,_0x30d151,_0x1720fc,_0x5edb8a,_0x280466,_0x56c596];}static get[_0x537af6(0x169)](){const _0x706557=_0x537af6;return _0x706557(0x21d);}static get[_0x537af6(0x21e)](){return!0x0;}static get[_0x537af6(0x20b)](){return!0x0;}get[_0x537af6(0x135)](){const _0x378928=_0x537af6;return this[_0x378928(0x18f)]+this[_0x378928(0x19b)];}get[_0x537af6(0x18f)](){const _0xa220ef=_0x537af6;return this[_0xa220ef(0x184)][_0xa220ef(0x180)]-this[_0xa220ef(0x19b)];}get[_0x537af6(0x1c9)](){const _0x54acaa=_0x537af6,_0x421906=this[_0x54acaa(0x184)][_0x54acaa(0x1d3)]();for(let _0x191472=_0x421906[_0x54acaa(0x1cd)]-0x1;_0x191472>=0x0;_0x191472--){const _0x1a0f5b=_0x421906[_0x191472];if(!this[_0x54acaa(0x1c7)][_0x54acaa(0x148)](_0x1a0f5b))return _0x1a0f5b[_0x54acaa(0x20f)]+0x1-this[_0x54acaa(0x19b)];}return 0x0;}constructor(_0x51779b){const _0x3666e4=_0x537af6;if(super(_0x51779b),this[_0x3666e4(0x19b)]=0x0,this[_0x3666e4(0x1a0)]=null,this[_0x3666e4(0x184)]=new _0x22da25(),this[_0x3666e4(0x196)][_0x3666e4(0x1b5)][_0x3666e4(0x1aa)](_0x3666e4(0x221),{}),this[_0x3666e4(0x1c0)]=this[_0x3666e4(0x196)][_0x3666e4(0x1b5)][_0x3666e4(0x21f)](_0x3666e4(0x183)),!this[_0x3666e4(0x1c0)])throw new _0x46f185(_0x3666e4(0x218),this);const _0xdf3b83=_0x51779b[_0x3666e4(0x1b5)][_0x3666e4(0x21f)](_0x3666e4(0x179))||_0x2ab59f;this[_0x3666e4(0x197)]=new l[(_0x3666e4(0x1d7))](_0xdf3b83,this[_0x3666e4(0x1c0)]),this[_0x3666e4(0x1cc)]=this[_0x3666e4(0x196)][_0x3666e4(0x1db)][_0x3666e4(0x1b2)],this[_0x3666e4(0x18a)]=new _0x1429cd(),this[_0x3666e4(0x213)]=[],this[_0x3666e4(0x139)]=new WeakSet(),this[_0x3666e4(0x20e)]=new Set(),this[_0x3666e4(0x1cf)](_0x3666e4(0x149),!0x1),this[_0x3666e4(0x1cf)](_0x3666e4(0x1ea),!0x1),this[_0x3666e4(0x19e)]=null,this[_0x3666e4(0x228)]=!0x1,this[_0x3666e4(0x168)]=null,this[_0x3666e4(0x17a)]=0x12c,this[_0x3666e4(0x1b3)]=this[_0x3666e4(0x17a)],this[_0x3666e4(0x200)]=null,this[_0x3666e4(0x1c7)]=new WeakSet(),this[_0x3666e4(0x20a)]=new $(this[_0x3666e4(0x1c7)]);}[_0x537af6(0x191)](){const _0x5c09d2=_0x537af6,_0x36b740=this[_0x5c09d2(0x196)],_0x4daee1=_0x36b740[_0x5c09d2(0x1c5)][_0x5c09d2(0x21f)](_0x280466),_0x565539=_0x36b740[_0x5c09d2(0x1c5)][_0x5c09d2(0x21f)](_0x3b158a);this[_0x5c09d2(0x1d8)](_0x4daee1,_0x5c09d2(0x1d9),(_0x402ccd,_0x6ab1ff)=>{const _0x5a0aa0=_0x5c09d2,_0x5e77b0=_0x6ab1ff[0x0];_0x5e77b0[_0x5a0aa0(0x1fd)]&&(_0x402ccd[_0x5a0aa0(0x1fe)]=_0x4daee1[_0x5a0aa0(0x190)](_0x5e77b0[_0x5a0aa0(0x1fd)]),_0x402ccd[_0x5a0aa0(0x231)]()),null===_0x5e77b0[_0x5a0aa0(0x1fd)]&&(_0x402ccd[_0x5a0aa0(0x1fe)]=null,_0x402ccd[_0x5a0aa0(0x231)]());},{'priority':_0x5c09d2(0x142)}),this[_0x5c09d2(0x1d8)](_0x36b740[_0x5c09d2(0x1db)][_0x5c09d2(0x1b2)][_0x5c09d2(0x1c1)],_0x5c09d2(0x1d2),(_0x214681,_0x281753)=>{const _0x448a69=_0x5c09d2;_0x281753[_0x448a69(0x1f8)]&&this[_0x448a69(0x1a8)]();}),this[_0x5c09d2(0x1d8)](_0x36b740[_0x5c09d2(0x1a2)][_0x5c09d2(0x155)],_0x5c09d2(0x130),()=>{const _0x5974a8=_0x5c09d2;this[_0x5974a8(0x1a8)]();}),this[_0x5c09d2(0x1d5)](),_0x36b740[_0x5c09d2(0x1db)]['on'](_0x5c09d2(0x143),(_0x3a8d62,_0x8104cd)=>{const _0xa69012=_0x5c09d2,_0x36d40b=_0x8104cd[0x0];_0x36d40b[_0xa69012(0x12f)]&&(this[_0xa69012(0x1e8)](_0x36d40b),this[_0xa69012(0x156)]()&&this[_0xa69012(0x19a)]());}),this[_0x5c09d2(0x177)](),this[_0x5c09d2(0x12e)](_0x5c09d2(0x1e3))['to'](_0x565539,_0x5c09d2(0x173),this,_0x5c09d2(0x1ea),(_0x4a2684,_0x4e50ec)=>_0x5c09d2(0x13c)===_0x4a2684&&!_0x4e50ec),this['on'](_0x5c09d2(0x1cb),()=>{const _0x20d402=_0x5c09d2;this[_0x20d402(0x1e3)]?_0x36b740[_0x20d402(0x1d1)](_0x20d402(0x216)):_0x36b740[_0x20d402(0x15b)](_0x20d402(0x216));}),this[_0x5c09d2(0x1e3)]?_0x36b740[_0x5c09d2(0x1d1)](_0x5c09d2(0x216)):_0x36b740[_0x5c09d2(0x15b)](_0x5c09d2(0x216)),this[_0x5c09d2(0x1cf)](_0x5c09d2(0x1ad),!0x1);}async[_0x537af6(0x227)](){const _0x4ab231=_0x537af6,_0x743898=this[_0x4ab231(0x196)][_0x4ab231(0x1c5)][_0x4ab231(0x21f)](_0x30d151),_0x2e1e99=this[_0x4ab231(0x196)][_0x4ab231(0x1c5)][_0x4ab231(0x21f)](_0x3b158a);try{this[_0x4ab231(0x149)]=!0x0,_0x743898[_0x4ab231(0x1b0)](this[_0x4ab231(0x1c0)]);const _0x33f111=await this[_0x4ab231(0x197)][_0x4ab231(0x227)](_0x2e1e99[_0x4ab231(0x17d)],this[_0x4ab231(0x1c9)]);await this[_0x4ab231(0x13f)](_0x33f111)&&(this[_0x4ab231(0x149)]=!0x1,this[_0x4ab231(0x1dd)]());const _0x38e8ca=await this[_0x4ab231(0x197)][_0x4ab231(0x187)]();_0x743898[_0x4ab231(0x1a7)](this[_0x4ab231(0x1c0)],_0x38e8ca),this[_0x4ab231(0x21c)](),this[_0x4ab231(0x1ad)]=!0x0;}catch(_0x334282){if(function(_0x5d0e81){const _0x6887e7=_0x4ab231;return _0x6887e7(0x182)===_0x5d0e81[_0x6887e7(0x132)];}(_0x334282)&&this[_0x4ab231(0x1a0)])await this[_0x4ab231(0x214)]();else{if(function(_0x7d88){const _0xdd77ad=_0x4ab231;return _0xdd77ad(0x18c)===_0x7d88[_0xdd77ad(0x132)];}(_0x334282)){const _0x4f4881=_0x5bf2c9(this[_0x4ab231(0x196)][_0x4ab231(0x1f1)],_0x4ab231(0x164));this[_0x4ab231(0x1a1)](_0x4f4881);}else{if(!(_0x334282 instanceof q))throw _0x334282;this[_0x4ab231(0x1a1)]();}}}}[_0x537af6(0x1fa)](){const _0x453c37=_0x537af6,_0x4b83ce=this[_0x453c37(0x196)][_0x453c37(0x1c5)][_0x453c37(0x21f)](_0x3b158a),_0x26d714=this[_0x453c37(0x196)][_0x453c37(0x1c5)][_0x453c37(0x21f)](_0x30d151);this[_0x453c37(0x196)][_0x453c37(0x15b)](_0x453c37(0x1f4)),_0x26d714[_0x453c37(0x22a)][_0x453c37(0x148)](this[_0x453c37(0x1c0)])&&_0x26d714[_0x453c37(0x1b0)](this[_0x453c37(0x1c0)]),_0x4b83ce[_0x453c37(0x140)](this),this[_0x453c37(0x22c)](),super[_0x453c37(0x1fa)]();}async[_0x537af6(0x13f)](_0x50e81b){const _0x3e8e2a=_0x537af6;if(this[_0x3e8e2a(0x1a0)]!==_0x50e81b[_0x3e8e2a(0x1a0)]&&this[_0x3e8e2a(0x200)]!==_0x50e81b[_0x3e8e2a(0x14e)])throw new q();return this[_0x3e8e2a(0x1a0)]=_0x50e81b[_0x3e8e2a(0x1a0)],this[_0x3e8e2a(0x217)]([],{..._0x50e81b,'wereChangesApplied':!0x1,'data':_0x50e81b[_0x3e8e2a(0x1dc)]},_0x3e8e2a(0x227));}async[_0x537af6(0x1ef)](_0x5eeeb3,_0x1c37d7=!0x1){const _0x553c8b=_0x537af6,{connection:_0x55d3f1}=this[_0x553c8b(0x196)][_0x553c8b(0x1c5)][_0x553c8b(0x21f)](_0x3b158a);l[_0x553c8b(0x1d7)][_0x553c8b(0x187)](_0x55d3f1,this[_0x553c8b(0x1c0)])[_0x553c8b(0x207)](_0x6485d9=>this[_0x553c8b(0x157)](_0x6485d9))[_0x553c8b(0x14d)](_0x5931db=>{const _0x547dea=_0x553c8b;this[_0x547dea(0x1fb)](_0x547dea(0x1ca),_0x5931db);}),this[_0x553c8b(0x1d8)](this[_0x553c8b(0x197)],_0x553c8b(0x192),this[_0x553c8b(0x13a)][_0x553c8b(0x12e)](this)),this[_0x553c8b(0x1d8)](this[_0x553c8b(0x197)],_0x553c8b(0x161),(_0x2d5dd8,_0x23a8a1)=>{const _0x29a5d2=_0x553c8b;this[_0x29a5d2(0x1fb)](_0x29a5d2(0x186),_0x23a8a1);}),this[_0x553c8b(0x1d8)](this[_0x553c8b(0x197)],_0x553c8b(0x17f),()=>{const _0x5d1aa2=_0x553c8b;this[_0x5d1aa2(0x1ad)]=!0x1;});const _0x30b0a8=this[_0x553c8b(0x20a)][_0x553c8b(0x1c6)](_0x5eeeb3);this[_0x553c8b(0x149)]=!0x0;const _0x2d6210=await this[_0x553c8b(0x197)][_0x553c8b(0x15f)](_0x55d3f1,this[_0x553c8b(0x194)](_0x5eeeb3),_0x30b0a8);if(this[_0x553c8b(0x1a0)]=_0x2d6210[_0x553c8b(0x1a0)],_0x1c37d7){if(!_0x2d6210[_0x553c8b(0x205)])return void this[_0x553c8b(0x1a1)]();this[_0x553c8b(0x149)]=!0x1,this[_0x553c8b(0x1dd)](),this[_0x553c8b(0x184)][_0x553c8b(0x206)](),this[_0x553c8b(0x19b)]=_0x2d6210[_0x553c8b(0x1a4)],this[_0x553c8b(0x184)][_0x553c8b(0x180)]=this[_0x553c8b(0x19b)],await this[_0x553c8b(0x217)](_0x5eeeb3,_0x2d6210,_0x553c8b(0x226));}else await this[_0x553c8b(0x12b)](_0x2d6210,_0x5eeeb3);this[_0x553c8b(0x21c)](),this[_0x553c8b(0x1ad)]=!0x0;}[_0x537af6(0x21c)](){const _0x1dfe21=_0x537af6,_0x1044e9=this[_0x1dfe21(0x196)][_0x1dfe21(0x1c5)][_0x1dfe21(0x21f)](_0x30d151),_0xa08550=this[_0x1dfe21(0x196)][_0x1dfe21(0x1c5)][_0x1dfe21(0x21f)](_0x1720fc),_0x3683dd=_0x1044e9[_0x1dfe21(0x22a)][_0x1dfe21(0x21f)](this[_0x1dfe21(0x1c0)]);_0x3683dd&&_0x3683dd[_0x1dfe21(0x1cd)]>0x1?_0xa08550[_0x1dfe21(0x153)]():this[_0x1dfe21(0x1d8)](_0x1044e9,_0x1dfe21(0x17c)+this[_0x1dfe21(0x1c0)],()=>{const _0x465d1b=_0x1dfe21;0x2===_0x1044e9[_0x465d1b(0x22a)][_0x465d1b(0x21f)](this[_0x465d1b(0x1c0)])[_0x465d1b(0x1cd)]&&_0xa08550[_0x465d1b(0x153)]();});}async[_0x537af6(0x13a)](_0x2b629f,_0x441586,_0x494fb5,_0x482402){const _0x3b833e=_0x537af6;if(!this[_0x3b833e(0x149)]&&this[_0x3b833e(0x1cc)][_0x3b833e(0x180)]==_0x441586){const _0x168ec8=this[_0x3b833e(0x134)](_0x494fb5,_0x482402);await this[_0x3b833e(0x215)](_0x168ec8),this[_0x3b833e(0x1e6)](_0x168ec8,_0x441586,_0x494fb5[_0x3b833e(0x14e)])||this[_0x3b833e(0x1fb)](_0x3b833e(0x172));}}async[_0x537af6(0x214)](){const _0x28a796=_0x537af6;this[_0x28a796(0x22c)]();const {locale:_0x3e51f1}=this[_0x28a796(0x196)];let _0x4498d5;try{_0x4498d5=await this[_0x28a796(0x197)][_0x28a796(0x174)]();}catch{const _0x1fde10=_0x5bf2c9(_0x3e51f1,_0x28a796(0x1f3));return void this[_0x28a796(0x1a1)](_0x1fde10);}const _0x258a09=_0x4498d5[_0x28a796(0x1e7)]||_0x4498d5[_0x28a796(0x147)];if(this[_0x28a796(0x200)]===_0x258a09[_0x28a796(0x14e)])await this[_0x28a796(0x1ef)](this[_0x28a796(0x196)][_0x28a796(0x1db)][_0x28a796(0x1b2)][_0x28a796(0x1c4)][_0x28a796(0x1d3)](),!0x0);else{const _0x169677=_0x5bf2c9(_0x3e51f1,_0x28a796(0x1d6));this[_0x28a796(0x1a1)](_0x169677);}}[_0x537af6(0x22c)](){const _0x439bc1=_0x537af6;this[_0x439bc1(0x197)][_0x439bc1(0x144)](),this[_0x439bc1(0x213)]=[],clearTimeout(this[_0x439bc1(0x168)]),this[_0x439bc1(0x1a9)](this[_0x439bc1(0x197)]);}[_0x537af6(0x157)](_0x457dbb){const _0x4df2c2=_0x537af6,_0x380846=this[_0x4df2c2(0x196)][_0x4df2c2(0x1c5)][_0x4df2c2(0x21f)](_0x30d151);this[_0x4df2c2(0x1d8)](_0x380846,_0x4df2c2(0x17c)+this[_0x4df2c2(0x1c0)],(_0xce0515,{session:_0x2a48b8})=>{const _0x58f7e2=_0x4df2c2;if(_0x2a48b8['id']===_0x380846[_0x58f7e2(0x165)]){_0xce0515[_0x58f7e2(0x212)]();const _0xd3da4c=this[_0x58f7e2(0x196)][_0x58f7e2(0x1c5)][_0x58f7e2(0x148)](_0x58f7e2(0x160))&&this[_0x58f7e2(0x196)][_0x58f7e2(0x1c5)][_0x58f7e2(0x21f)](_0x58f7e2(0x160));let _0x7f19b2=_0x2a48b8[_0x58f7e2(0x209)];_0xd3da4c&&_0xd3da4c[_0x58f7e2(0x1fc)]&&(_0x7f19b2=_0x7f19b2[_0x58f7e2(0x1e9)](_0x253013=>_0x58f7e2(0x198)!==_0x253013)),this[_0x58f7e2(0x196)][_0x58f7e2(0x1c5)][_0x58f7e2(0x21f)](_0x58f7e2(0x14b))[_0x58f7e2(0x12d)](_0x7f19b2,this[_0x58f7e2(0x1c0)]);}}),_0x380846[_0x4df2c2(0x1a7)](this[_0x4df2c2(0x1c0)],_0x457dbb);}[_0x537af6(0x1d5)](){const _0x3b3059=_0x537af6,_0x18bb2e=this[_0x3b3059(0x196)][_0x3b3059(0x1dc)][_0x3b3059(0x1cf)];this[_0x3b3059(0x196)][_0x3b3059(0x1dc)][_0x3b3059(0x1cf)]=(..._0x15fecd)=>{const _0x5cf39e=_0x3b3059;if(!_0x15fecd[_0x15fecd[_0x5cf39e(0x1cd)]-0x1][_0x5cf39e(0x20d)])throw new _0x46f185(_0x5cf39e(0x193),this);_0x18bb2e[_0x5cf39e(0x1ce)](this[_0x5cf39e(0x196)][_0x5cf39e(0x1dc)],_0x15fecd);};}[_0x537af6(0x177)](){const _0x288d9f=_0x537af6;this[_0x288d9f(0x196)][_0x288d9f(0x1dc)]['on'](_0x288d9f(0x191),(_0x326942,[_0x5df8a1])=>{const _0x1f6f45=_0x288d9f;if(this[_0x1f6f45(0x1cc)][_0x1f6f45(0x180)])throw new _0x46f185(_0x1f6f45(0x171),this);_0x326942[_0x1f6f45(0x231)](),this[_0x1f6f45(0x1af)]();const _0x40e61b=this[_0x1f6f45(0x196)][_0x1f6f45(0x1b5)][_0x1f6f45(0x21f)](_0x1f6f45(0x225)),_0x3c9864=this[_0x1f6f45(0x1f5)](_0x5df8a1,_0x40e61b);0x0==_0x3c9864[_0x1f6f45(0x1cd)]&&_0x3c9864[_0x1f6f45(0x1f6)](new _0x40974b(0x0)),_0x326942[_0x1f6f45(0x1fe)]=this[_0x1f6f45(0x1ef)](_0x3c9864)[_0x1f6f45(0x207)](()=>{const _0x3172ee=_0x1f6f45;this[_0x3172ee(0x196)][_0x3172ee(0x1c5)][_0x3172ee(0x21f)](_0x3b158a)[_0x3172ee(0x181)](this),this[_0x3172ee(0x196)][_0x3172ee(0x1dc)][_0x3172ee(0x166)](_0x3172ee(0x22b));})[_0x1f6f45(0x14d)](_0x274761=>this[_0x1f6f45(0x1fb)](_0x1f6f45(0x17b),_0x274761))[_0x1f6f45(0x16e)](()=>this[_0x1f6f45(0x1dd)]());},{'priority':_0x288d9f(0x142)}),this[_0x288d9f(0x196)]['on'](_0x288d9f(0x1c2),async(_0x1b1237,[_0x5667aa,_0x57ee10])=>{const _0x3f1044=_0x288d9f;_0x1b1237[_0x3f1044(0x231)]();const _0x1b9881=this[_0x3f1044(0x196)][_0x3f1044(0x1db)][_0x3f1044(0x1b2)][_0x3f1044(0x189)](_0x5667aa);if(!this[_0x3f1044(0x20e)][_0x3f1044(0x148)](_0x5667aa)){const _0x3c5db0=_0x57ee10&&_0x57ee10[_0x3f1044(0x1dc)]?_0x57ee10[_0x3f1044(0x1dc)]:'',_0x244871=_0x57ee10&&_0x57ee10[_0x3f1044(0x21b)]?_0x57ee10[_0x3f1044(0x21b)]:{};await this[_0x3f1044(0x1de)](_0x5667aa,_0x3c5db0,_0x244871);}this[_0x3f1044(0x196)][_0x3f1044(0x1db)][_0x3f1044(0x1f9)]({'isUndoable':!0x1},()=>{const _0x2a8458=_0x3f1044;_0x1b9881[_0x2a8458(0x18d)]=!0x0,this[_0x2a8458(0x196)][_0x2a8458(0x1db)][_0x2a8458(0x1b2)][_0x2a8458(0x19f)][_0x2a8458(0x17e)](_0x1b9881);});},{'priority':_0x288d9f(0x142)});}async[_0x537af6(0x215)](_0xe47b6){const _0x730727=_0x537af6,_0x2a92b2=this[_0x730727(0x196)][_0x730727(0x1c5)][_0x730727(0x21f)](_0x280466),{connection:_0x1e5f36}=this[_0x730727(0x196)][_0x730727(0x1c5)][_0x730727(0x21f)](_0x3b158a),_0x1a85ef=new Set();for(const _0x5b02e2 of _0xe47b6){const _0x455bad=_0x5b02e2[_0x730727(0x1fd)];_0x455bad&&!_0x2a92b2[_0x730727(0x190)](_0x455bad)&&_0x1a85ef[_0x730727(0x224)](_0x455bad);}if(0x0===_0x1a85ef[_0x730727(0x1ff)])return;const _0x6f704c=await _0x4e6b99[_0x730727(0x1e4)](_0x1e5f36,Array[_0x730727(0x1bb)](_0x1a85ef));for(const _0x7b831a of _0x6f704c)_0x2a92b2[_0x730727(0x190)](_0x7b831a['id'])||_0x2a92b2[_0x730727(0x201)](_0x7b831a);}[_0x537af6(0x1f5)](_0x136497,_0x586057={}){const _0x545b75=_0x537af6,_0xa058c7=this[_0x545b75(0x196)][_0x545b75(0x1db)],_0x19b7f9=[];let _0x4f20b9=0x0;const _0x3b5540=_0x545b75(0x21a)==typeof _0x136497?{'main':_0x136497}:_0x136497;for(const _0x563650 of Object[_0x545b75(0x133)](_0x3b5540)){if(!this[_0x545b75(0x1cc)][_0x545b75(0x1b1)][_0x545b75(0x148)](_0x563650))throw new _0x46f185(_0x545b75(0x16c),this);const _0x423b21=this[_0x545b75(0x196)][_0x545b75(0x1dc)][_0x545b75(0x188)](_0x3b5540[_0x563650]),_0x20c4e9=this[_0x545b75(0x1cc)][_0x545b75(0x189)](_0x563650),_0x59557b=new _0xc92896(_0xa058c7[_0x545b75(0x195)](_0x20c4e9,0x0),_0x423b21,_0x4f20b9++);_0x19b7f9[_0x545b75(0x1f6)](_0x59557b);for(const [_0x18ca36,_0x2a4d4b]of _0x423b21[_0x545b75(0x15a)]){const _0x2b0099=_0xa058c7[_0x545b75(0x14f)](_0xa058c7[_0x545b75(0x211)](_0x20c4e9,_0x2a4d4b[_0x545b75(0x146)][_0x545b75(0x185)][_0x545b75(0x13e)]()),_0xa058c7[_0x545b75(0x211)](_0x20c4e9,_0x2a4d4b[_0x545b75(0x1e1)][_0x545b75(0x185)][_0x545b75(0x13e)]())),_0x2b49d7=new _0x24d947(_0x18ca36,null,_0x2b0099,_0xa058c7[_0x545b75(0x15a)],!0x0,_0x4f20b9++);_0x19b7f9[_0x545b75(0x1f6)](_0x2b49d7);}}if(_0x586057)for(const [_0x10cd71,_0x1fb77d]of Object[_0x545b75(0x16d)](_0x586057)){const _0x138d29=_0xa058c7[_0x545b75(0x1b2)][_0x545b75(0x189)](_0x10cd71);if(!_0x138d29)throw new _0x46f185(_0x545b75(0x1bc),null);for(const [_0x5d9527,_0x585fd0]of Object[_0x545b75(0x16d)](_0x1fb77d))if(null!==_0x585fd0){const _0x397d55=new _0x4e7f39(_0x138d29,_0x5d9527,null,_0x585fd0,_0x4f20b9++);_0x19b7f9[_0x545b75(0x1f6)](_0x397d55);}}return _0x19b7f9;}async[_0x537af6(0x1de)](_0x28a850,_0x1fa0f0,_0x169870){const _0x3b1d11=_0x537af6;this[_0x3b1d11(0x1f5)]({[_0x28a850]:_0x1fa0f0},{[_0x28a850]:_0x169870})[_0x3b1d11(0x222)]((_0x2e2263,_0x3ee64c)=>{const _0x1d5728=_0x3b1d11;_0x2e2263[_0x1d5728(0x20f)]=this[_0x1d5728(0x1cc)][_0x1d5728(0x180)]+_0x3ee64c,_0x2e2263[_0x1d5728(0x220)]=!0x0,this[_0x1d5728(0x1e8)](_0x2e2263);}),this[_0x3b1d11(0x19a)](),await this[_0x3b1d11(0x152)]();}async[_0x537af6(0x12b)](_0x4c95ae,_0x1e171d){const _0x58aca8=_0x537af6;let _0x32ea39;this[_0x58aca8(0x19b)]=_0x4c95ae[_0x58aca8(0x1a4)];const _0x1e7c43=_0x4c95ae[_0x58aca8(0x205)]&&!_0x4c95ae[_0x58aca8(0x12c)],_0x433105=_0x1e7c43?0x0:_0x4c95ae[_0x58aca8(0x1dc)][_0x58aca8(0x20f)];if(_0x1e171d[_0x58aca8(0x222)](_0x5294bc=>{const _0x47795f=_0x58aca8;_0x5294bc[_0x47795f(0x220)]=!0x0,_0x5294bc[_0x47795f(0x176)]=_0x4c95ae[_0x47795f(0x1f2)],_0x5294bc[_0x47795f(0x1fd)]=null;}),_0x1e7c43)_0x32ea39=_0x1e171d,this[_0x58aca8(0x162)](_0x32ea39,_0x1e7c43);else{if(_0x4c95ae[_0x58aca8(0x12c)]){const _0x5bc968=this[_0x58aca8(0x1f5)](_0x4c95ae[_0x58aca8(0x12c)]);this[_0x58aca8(0x1cc)][_0x58aca8(0x1c4)][_0x58aca8(0x180)]=-_0x5bc968[_0x58aca8(0x1cd)],_0x5bc968[_0x58aca8(0x222)](_0x212c50=>{const _0x12b809=_0x58aca8;_0x212c50[_0x12b809(0x20f)]-=_0x5bc968[_0x12b809(0x1cd)],_0x212c50[_0x12b809(0x176)]=_0x4c95ae[_0x12b809(0x1f2)],_0x212c50[_0x12b809(0x220)]=!0x0,_0x212c50[_0x12b809(0x1fd)]=null;}),this[_0x58aca8(0x162)](_0x5bc968,!0x0),this[_0x58aca8(0x184)][_0x58aca8(0x180)]=-_0x5bc968[_0x58aca8(0x1cd)]+this[_0x58aca8(0x19b)],this[_0x58aca8(0x1b8)](_0x5bc968);}this[_0x58aca8(0x1cc)][_0x58aca8(0x1c4)][_0x58aca8(0x180)]=_0x433105,_0x32ea39=this[_0x58aca8(0x134)](_0x4c95ae[_0x58aca8(0x1dc)],_0x4c95ae[_0x58aca8(0x22f)]),await this[_0x58aca8(0x215)](_0x32ea39),this[_0x58aca8(0x162)](_0x32ea39,_0x1e7c43);}_0x4c95ae[_0x58aca8(0x14e)]&&(this[_0x58aca8(0x20a)][_0x58aca8(0x1df)](_0x32ea39,_0x4c95ae[_0x58aca8(0x14e)]),this[_0x58aca8(0x200)]=_0x4c95ae[_0x58aca8(0x14e)]),this[_0x58aca8(0x184)][_0x58aca8(0x180)]=_0x433105+this[_0x58aca8(0x19b)],this[_0x58aca8(0x1b8)](_0x32ea39),_0x1e171d[_0x58aca8(0x1e9)](_0x470402=>{const _0xedbba7=_0x58aca8,_0x4fbdf7=this[_0xedbba7(0x1a3)](_0x470402);return _0x4fbdf7&&!this[_0xedbba7(0x20e)][_0xedbba7(0x148)](_0x4fbdf7);})[_0x58aca8(0x222)]((_0x1e1192,_0x3e3378)=>{const _0xaf87e=_0x58aca8;_0x1e1192[_0xaf87e(0x20f)]=this[_0xaf87e(0x1cc)][_0xaf87e(0x180)]+_0x3e3378,this[_0xaf87e(0x1e8)](_0x1e1192);}),this[_0x58aca8(0x156)]()?(this[_0x58aca8(0x1b3)]=0x0,this[_0x58aca8(0x19a)](!0x0),await this[_0x58aca8(0x152)]()):(this[_0x58aca8(0x149)]=!0x1,this[_0x58aca8(0x1dd)]());}[_0x537af6(0x1fb)](_0x138184,_0x16ba69){const _0x50097a=_0x537af6,_0x5daa49=_0x16ba69&&_0x16ba69[_0x50097a(0x154)];if(_0x5daa49&&_0x5daa49[_0x50097a(0x15d)](_0x50097a(0x1ab)))throw _0x16ba69;const _0x44f107=this[_0x50097a(0x196)][_0x50097a(0x1c5)][_0x50097a(0x21f)](_0x3b158a);throw this[_0x50097a(0x149)]=!0x0,_0x44f107[_0x50097a(0x144)](),this[_0x50097a(0x196)][_0x50097a(0x15b)](_0x50097a(0x1b9)),new _0x46f185(_0x138184,this[_0x50097a(0x196)],_0x5daa49?{'originalError':_0x5daa49}:void 0x0);}[_0x537af6(0x1e8)](_0x36c30d){const _0x1e3cfa=_0x537af6;this[_0x1e3cfa(0x139)][_0x1e3cfa(0x148)](_0x36c30d)||(this[_0x1e3cfa(0x139)][_0x1e3cfa(0x224)](_0x36c30d),this[_0x1e3cfa(0x213)][_0x1e3cfa(0x1f6)](_0x36c30d),this[_0x1e3cfa(0x19e)]||_0x1e3cfa(0x18e)==_0x36c30d[_0x1e3cfa(0x150)]&&!_0x36c30d[_0x1e3cfa(0x1ee)]||this[_0x1e3cfa(0x1af)]());}[_0x537af6(0x19a)](_0x24d34b=!0x1){const _0x2e8193=_0x537af6;!_0x24d34b&&this[_0x2e8193(0x149)]||(this[_0x2e8193(0x149)]=!0x0,clearTimeout(this[_0x2e8193(0x168)]),this[_0x2e8193(0x168)]=setTimeout(()=>{const _0x281e95=_0x2e8193;this[_0x281e95(0x1e0)]()[_0x281e95(0x207)](_0x433a74=>{const _0x3ef249=_0x281e95;_0x433a74&&(this[_0x3ef249(0x1dd)](),this[_0x3ef249(0x149)]=!0x1);})[_0x281e95(0x14d)](_0xb0bde1=>{const _0x99a612=_0x281e95;this[_0x99a612(0x1dd)](),this[_0x99a612(0x149)]=!0x1,function(_0x1f91b4){const _0x1abcde=_0x99a612;return _0x1f91b4[_0x1abcde(0x154)][_0x1abcde(0x15d)](_0x1abcde(0x15c))||_0x1f91b4[_0x1abcde(0x154)][_0x1abcde(0x15d)](_0x1abcde(0x1a6))||_0x1f91b4[_0x1abcde(0x154)][_0x1abcde(0x15d)](_0x1abcde(0x138));}(_0xb0bde1)||this[_0x99a612(0x1fb)](_0xb0bde1[_0x99a612(0x154)],_0xb0bde1);});},this[_0x2e8193(0x1b3)]));}[_0x537af6(0x152)](){return new Promise(_0x2555c8=>{const _0x28429d=_0x3d85;this['on'](_0x28429d(0x1c3),()=>{_0x2555c8();});});}async[_0x537af6(0x1e0)](){const _0x3900af=_0x537af6,_0x24a614=this[_0x3900af(0x196)][_0x3900af(0x1c5)][_0x3900af(0x21f)](_0x1720fc);if(this[_0x3900af(0x1d4)]()&&(_0x24a614[_0x3900af(0x153)](),this[_0x3900af(0x228)]=!0x1),!this[_0x3900af(0x156)]())return!0x0;const _0x29000f=[...this[_0x3900af(0x213)]];for(const _0x3b5699 of _0x29000f)_0x3b5699[_0x3900af(0x1ac)]=this[_0x3900af(0x1cc)][_0x3900af(0x1c4)][_0x3900af(0x14c)](_0x3b5699);const _0x3c0d2b=this[_0x3900af(0x20a)][_0x3900af(0x1c6)](_0x29000f),_0x20946c=F++,_0x4f67f3=this[_0x3900af(0x194)](_0x29000f),_0x5abb69=await this[_0x3900af(0x197)][_0x3900af(0x137)](_0x4f67f3,_0x4f67f3[_0x3900af(0x20f)],_0x3c0d2b);try{return await this[_0x3900af(0x217)](_0x29000f,_0x5abb69,_0x20946c);}catch(_0xa58f7f){return this[_0x3900af(0x1fb)](_0x3900af(0x199),_0xa58f7f);}}async[_0x537af6(0x217)](_0x13dd79,_0x4448ad,_0x1e2cb4){const _0x480823=_0x537af6;if(_0x480823(0x161)in _0x4448ad)throw _0x4448ad[_0x480823(0x161)];let _0xef0f30=!0x1;if(_0x4448ad[_0x480823(0x205)]){_0x4448ad[_0x480823(0x14e)]&&(this[_0x480823(0x200)]=_0x4448ad[_0x480823(0x14e)]),this[_0x480823(0x213)]=this[_0x480823(0x213)][_0x480823(0x1e9)](_0x2fa006=>!_0x13dd79[_0x480823(0x1ba)](_0x2fa006));for(const _0x5dea79 of _0x13dd79)_0x5dea79[_0x480823(0x176)]=_0x480823(0x203)in _0x4448ad&&_0x4448ad[_0x480823(0x203)]||void 0x0;G(_0x13dd79,_0x4448ad[_0x480823(0x180)]-_0x13dd79[_0x480823(0x1cd)]),this[_0x480823(0x1b8)](_0x13dd79);const _0xc7f72a=_0x13dd79[_0x480823(0x1e9)](_0x510055=>{const _0x32124e=_0x480823;if(!_0x510055[_0x32124e(0x220)])return!0x1;const _0x58bf14=this[_0x32124e(0x1a3)](_0x510055);return _0x58bf14&&!this[_0x32124e(0x20e)][_0x32124e(0x148)](_0x58bf14);});G(_0xc7f72a,this[_0x480823(0x1cc)][_0x480823(0x180)]),this[_0x480823(0x162)](_0xc7f72a),_0xef0f30=!0x0,this[_0x480823(0x1b3)]=this[_0x480823(0x17a)];}else{const _0x494273=this[_0x480823(0x134)](_0x4448ad[_0x480823(0x1dc)],_0x4448ad[_0x480823(0x22f)])[_0x480823(0x1e9)](_0x7ec37=>_0x7ec37[_0x480823(0x20f)]>=this[_0x480823(0x18f)]);_0x494273[_0x480823(0x222)](_0x56ba6d=>this[_0x480823(0x13b)](_0x56ba6d)),this[_0x480823(0x213)]=this[_0x480823(0x213)][_0x480823(0x1e9)](_0x50879c=>!_0x50879c[_0x480823(0x220)]||!this[_0x480823(0x20e)][_0x480823(0x148)](this[_0x480823(0x1a3)](_0x50879c))),this[_0x480823(0x213)][_0x480823(0x1cd)]&&G(this[_0x480823(0x213)],this[_0x480823(0x213)][0x0][_0x480823(0x20f)]),await this[_0x480823(0x215)](_0x494273),_0xef0f30=this[_0x480823(0x1e6)](_0x494273,_0x4448ad[_0x480823(0x180)],_0x4448ad[_0x480823(0x14e)]),this[_0x480823(0x1b3)]=Math[_0x480823(0x151)](this[_0x480823(0x1b3)]/0x2);}return _0xef0f30?!this[_0x480823(0x156)]()||(this[_0x480823(0x19a)](!0x0),!0x1):this[_0x480823(0x1fb)](_0x480823(0x1b6));}[_0x537af6(0x1e6)](_0x5eecab,_0x2c8aea,_0x537e95){const _0x3fa076=_0x537af6;try{const _0x40d9f1={'document':this[_0x3fa076(0x1cc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1c4b80,operationsB:_0x5b4638,originalOperations:_0x66f613}=_0x421a26(_0x5eecab,this[_0x3fa076(0x213)],_0x40d9f1);G(_0x1c4b80,this[_0x3fa076(0x1cc)][_0x3fa076(0x180)]),G(_0x5b4638,_0x2c8aea);for(const _0x50f9e5 of _0x1c4b80){const _0x4bb63f=_0x66f613[_0x3fa076(0x21f)](_0x50f9e5);_0x50f9e5[_0x3fa076(0x1fd)]=_0x4bb63f?_0x4bb63f[_0x3fa076(0x1fd)]:null;}_0x537e95&&(this[_0x3fa076(0x20a)][_0x3fa076(0x1df)](_0x5eecab,_0x537e95),this[_0x3fa076(0x200)]=_0x537e95),this[_0x3fa076(0x213)]=[..._0x5b4638],this[_0x3fa076(0x162)](_0x1c4b80),this[_0x3fa076(0x1b8)](_0x5eecab);}catch(_0x50ee5d){return console[_0x3fa076(0x161)](_0x50ee5d),!0x1;}return!0x0;}[_0x537af6(0x162)](_0x3f8b9c,_0x482433=!0x1){const _0x231adb=_0x537af6;this[_0x231adb(0x196)][_0x231adb(0x1db)][_0x231adb(0x1f9)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3de90b=>{const _0x5d3a5e=_0x231adb;for(const _0xdc0c35 of _0x3f8b9c)this[_0x5d3a5e(0x139)][_0x5d3a5e(0x224)](_0xdc0c35),this[_0x5d3a5e(0x13b)](_0xdc0c35),_0x3de90b[_0x5d3a5e(0x229)][_0x5d3a5e(0x1bf)](_0xdc0c35),this[_0x5d3a5e(0x196)][_0x5d3a5e(0x1db)][_0x5d3a5e(0x143)](_0xdc0c35);});}[_0x537af6(0x13b)](_0x4f1797){const _0x56dc19=_0x537af6,_0x1f32e6=this[_0x56dc19(0x1a3)](_0x4f1797);_0x1f32e6&&this[_0x56dc19(0x20e)][_0x56dc19(0x224)](_0x1f32e6);}[_0x537af6(0x1a3)](_0x44210c){const _0x2e9627=_0x537af6;let _0x465734,_0xb0ed94;switch(_0x44210c[_0x2e9627(0x150)]){case _0x2e9627(0x22e):_0x465734=_0x44210c[_0x2e9627(0x1b7)][_0x2e9627(0x22d)];break;case _0x2e9627(0x18e):if(_0xb0ed94=_0x44210c[_0x2e9627(0x18b)],!_0xb0ed94)return null;_0x465734=_0xb0ed94[_0x2e9627(0x22d)];break;case _0x2e9627(0x204):_0x465734=_0x44210c[_0x2e9627(0x22d)];break;case _0x2e9627(0x16b):_0x465734=_0x44210c[_0x2e9627(0x1e2)];break;case _0x2e9627(0x141):_0x465734=_0x44210c[_0x2e9627(0x16f)][_0x2e9627(0x22d)];break;default:return null;}return _0x465734[_0x2e9627(0x1eb)];}[_0x537af6(0x1b8)](_0x38c618){const _0x4ab1cb=_0x537af6;_0x38c618[_0x4ab1cb(0x222)](_0x3178cd=>{const _0x49a451=_0x4ab1cb,_0x2ff12f=_0x3178cd[_0x49a451(0x202)]();_0x2ff12f[_0x49a451(0x1fd)]=_0x3178cd[_0x49a451(0x1fd)],_0x2ff12f[_0x49a451(0x220)]=!!_0x3178cd[_0x49a451(0x220)],_0x2ff12f[_0x49a451(0x176)]=_0x3178cd[_0x49a451(0x176)],_0x2ff12f[_0x49a451(0x20f)]+=this[_0x49a451(0x19b)],_0x3178cd[_0x49a451(0x19d)]&&this[_0x49a451(0x1c7)][_0x49a451(0x224)](_0x2ff12f),this[_0x49a451(0x184)][_0x49a451(0x1bf)](_0x2ff12f);});}[_0x537af6(0x1a1)](_0x572900){const _0x14d0de=_0x537af6,_0x14a6ae=this[_0x14d0de(0x196)][_0x14d0de(0x1c5)][_0x14d0de(0x21f)](_0x14d0de(0x219)),_0x9496df=this[_0x14d0de(0x196)][_0x14d0de(0x1f1)];_0x572900||(_0x572900=_0x5bf2c9(_0x9496df,_0x14d0de(0x1d0))),_0x14a6ae[_0x14d0de(0x19c)](_0x572900,{'title':_0x5bf2c9(_0x9496df,_0x14d0de(0x1f7)),'namespace':_0x14d0de(0x208)}),this[_0x14d0de(0x1ea)]=!0x0,clearTimeout(this[_0x14d0de(0x168)]),this[_0x14d0de(0x213)]=[],this[_0x14d0de(0x196)][_0x14d0de(0x1c5)][_0x14d0de(0x21f)](_0x3b158a)[_0x14d0de(0x144)]();}[_0x537af6(0x1af)](){const _0x545135=_0x537af6;this[_0x545135(0x19e)]||(this[_0x545135(0x19e)]=this[_0x545135(0x196)][_0x545135(0x1c5)][_0x545135(0x21f)](_0x5edb8a)[_0x545135(0x224)](_0x5bf2c9(this[_0x545135(0x196)][_0x545135(0x1f1)],_0x545135(0x1ae))));}[_0x537af6(0x1dd)](){const _0x268656=_0x537af6;this[_0x268656(0x19e)]&&(this[_0x268656(0x196)][_0x268656(0x1c5)][_0x268656(0x21f)](_0x5edb8a)[_0x268656(0x163)](this[_0x268656(0x19e)]),this[_0x268656(0x19e)]=null);}[_0x537af6(0x194)](_0x26f9ce){const _0x47cd5b=_0x537af6,_0x4c7321=_0x26f9ce[_0x47cd5b(0x1c8)](_0x32b9d4=>_0x32b9d4[_0x47cd5b(0x167)]());return this[_0x47cd5b(0x18a)][_0x47cd5b(0x1da)](_0x4c7321);}[_0x537af6(0x134)](_0x2e0ef4,_0x224c8d){const _0x48b980=_0x537af6;return this[_0x48b980(0x18a)][_0x48b980(0x175)](_0x2e0ef4)[_0x48b980(0x1c8)]((_0x5965c3,_0x1c0ec9)=>{const _0x4da52d=_0x48b980,_0x532c96=_0x4da52d(0x191)==_0x224c8d[_0x1c0ec9][_0x4da52d(0x150)];if(_0x4da52d(0x20c)==_0x5965c3[_0x4da52d(0x1b4)]){const _0x51c7e3=_0x5965c3[_0x4da52d(0x1b7)][_0x4da52d(0x22d)];!this[_0x4da52d(0x1cc)][_0x4da52d(0x189)](_0x51c7e3)&&(this[_0x4da52d(0x1cc)][_0x4da52d(0x1e5)](_0x4da52d(0x1ec),_0x51c7e3)[_0x4da52d(0x15e)]=!0x1);}const _0x29f22c=_0x325e8e[_0x4da52d(0x1f0)](_0x5965c3,this[_0x4da52d(0x1cc)]);return _0x29f22c[_0x4da52d(0x1ac)]=_0x5965c3[_0x4da52d(0x1ac)],_0x29f22c[_0x4da52d(0x220)]=_0x532c96,_0x29f22c[_0x4da52d(0x1fd)]=_0x532c96?null:_0x224c8d[_0x1c0ec9][_0x4da52d(0x170)],_0x29f22c[_0x4da52d(0x19d)]=_0x4da52d(0x16a)===_0x224c8d[_0x1c0ec9][_0x4da52d(0x150)],_0x29f22c[_0x4da52d(0x176)]=_0x224c8d[_0x1c0ec9][_0x4da52d(0x176)],_0x29f22c;});}[_0x537af6(0x1a8)](){const _0xf602da=_0x537af6;this[_0xf602da(0x228)]=!0x0,this[_0xf602da(0x1d4)]()?this[_0xf602da(0x19a)]():this[_0xf602da(0x228)]=!0x1;}[_0x537af6(0x1d4)](){const _0x293917=_0x537af6,_0x4eabd2=this[_0x293917(0x196)][_0x293917(0x1c5)][_0x293917(0x21f)](_0x30d151)[_0x293917(0x22a)][_0x293917(0x21f)](this[_0x293917(0x1c0)]);return!this[_0x293917(0x196)][_0x293917(0x1ed)]&&!!_0x4eabd2&&_0x4eabd2[_0x293917(0x1cd)]>0x1&&this[_0x293917(0x228)];}[_0x537af6(0x156)](){const _0x5b4be5=_0x537af6;return this[_0x5b4be5(0x213)][_0x5b4be5(0x1cd)]>0x0||this[_0x5b4be5(0x1d4)]();}}function _0x3d85(_0x5ebdb9,_0x3a1fa0){const _0x6923d1=_0x6923();return _0x3d85=function(_0x3d858a,_0x327994){_0x3d858a=_0x3d858a-0x12b;let _0xc5a967=_0x6923d1[_0x3d858a];return _0xc5a967;},_0x3d85(_0x5ebdb9,_0x3a1fa0);}export default l;class q extends Error{}function G(_0x50ce3b,_0x59a436){const _0x4376b2=_0x537af6;for(const _0x200307 of _0x50ce3b)_0x200307[_0x4376b2(0x20f)]=_0x59a436++;}class ${[_0x537af6(0x230)];[_0x537af6(0x1bd)];constructor(_0x4dc3ca){const _0x553c85=_0x537af6;this[_0x553c85(0x230)]=_0x4dc3ca,this[_0x553c85(0x1bd)]=new WeakMap();}[_0x537af6(0x1c6)](_0x32d8d3){const _0x5ab2cd=_0x537af6;let _0x209285=_0x32d8d3[_0x5ab2cd(0x1cd)];for(;_0x209285--;){const _0x4bbb87=_0x32d8d3[_0x209285];if(!this[_0x5ab2cd(0x230)][_0x5ab2cd(0x148)](_0x4bbb87)){if(!this[_0x5ab2cd(0x1bd)][_0x5ab2cd(0x148)](_0x4bbb87)){const _0x127231=_0x137ec9()[_0x5ab2cd(0x13e)](0x1,0x12);this[_0x5ab2cd(0x1bd)][_0x5ab2cd(0x1cf)](_0x4bbb87,_0x127231);}return this[_0x5ab2cd(0x1bd)][_0x5ab2cd(0x21f)](_0x4bbb87);}}}[_0x537af6(0x1df)](_0x217456,_0x1f621d){const _0x44809f=_0x537af6;if(!_0x1f621d)return;let _0x4eef87=_0x217456[_0x44809f(0x1cd)];for(;_0x4eef87--;){const _0x31c4ec=_0x217456[_0x4eef87];this[_0x44809f(0x230)][_0x44809f(0x148)](_0x31c4ec)||this[_0x44809f(0x1bd)][_0x44809f(0x1cf)](_0x31c4ec,_0x1f621d);}}}
23
+ const _0x57cebd=_0x1b7c;(function(_0x2c363d,_0x46952b){const _0x41035f=_0x1b7c,_0x531a44=_0x2c363d();while(!![]){try{const _0x29d8e4=parseInt(_0x41035f(0x12d))/0x1+-parseInt(_0x41035f(0xf6))/0x2+parseInt(_0x41035f(0x104))/0x3+-parseInt(_0x41035f(0xfa))/0x4*(-parseInt(_0x41035f(0x194))/0x5)+parseInt(_0x41035f(0x128))/0x6+-parseInt(_0x41035f(0x1dc))/0x7*(-parseInt(_0x41035f(0x1a5))/0x8)+-parseInt(_0x41035f(0x1a0))/0x9;if(_0x29d8e4===_0x46952b)break;else _0x531a44['push'](_0x531a44['shift']());}catch(_0x1ca3dc){_0x531a44['push'](_0x531a44['shift']());}}}(_0x3229,0x3526b));function _0x1b7c(_0xf3e5c1,_0x491719){const _0x3229d3=_0x3229();return _0x1b7c=function(_0x1b7ca5,_0x474d39){_0x1b7ca5=_0x1b7ca5-0xf0;let _0x233484=_0x3229d3[_0x1b7ca5];return _0x233484;},_0x1b7c(_0xf3e5c1,_0x491719);}import{Plugin as _0x3635cf,PendingActions as _0x5ad208}from'ckeditor5/src/core.js';import{CKEditorError as _0x18ec78,version as _0x58aa70,uid as _0x29d06f}from'ckeditor5/src/utils.js';import{Notification as _0x4f14ca}from'ckeditor5/src/ui.js';import{transformSets as _0x1207c2,NoOperation as _0x120c7e,InsertOperation as _0x545123,MarkerOperation as _0x4da4a0,RootAttributeOperation as _0x132394,OperationFactory as _0x26ea2a,History as _0x420b0c}from'ckeditor5/src/engine.js';import _0x51ed3d from'./websocketgateway.js';import _0x1bfd62 from'./sessions.js';import _0x2644c2 from'./usermarkers.js';import{getTranslation as _0x504f72}from'../common-translations.js';function _0x3229(){const _0x5aa2a9=['finally','rtc-offline','high','_isConnected','_knownRootNames','insert','sendOperations','affectsData','isReadOnly','_shouldSendSelectionUpdate','1383738rBoxDP','rootName','realtimecollaborationclient-init-service-internal-error','toJSON','real-time-collaboration','303943pWrjnZ','_operationToId','fromJSON','listenTo','slice','realtimecollaborationclient-init-document-already-initialized','setPermissions','wasUndone','map','targetPosition','_hasSelectionChanged','collaboration-missing-channelid','permissions','selection','Permissions','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.','disconnected','start','InsertOperation','_clearPendingAction','_setPendingAction','_getOperationsFromInitData','_pendingAction','CollaborativeEditingService','_addKnownRoot','$root','history','baseVersion','batch','_saveOperationInBuffer','createRange','getIdOfTheLastOperation','_handleServerResponse','_knownOperations','multi-root-editor-root-attributes-no-root','_ignoredOperations','_shouldSendUpdate','realtimecollaborationclient-init-non-existent-root','getConnectedSessions','size','_setUpDataInit','_handleExternalOperations','round','_updateServerHistory','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','addUser','model','destroy','end','createPositionFromPath','position','_service','createRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createUserMarkerOperations','type','collaboration','_authorId','realtimecollaborationclient-handleserverresponse','CommentsOnly','lastOperationId','_channelId','then','decompress','length','enableReadOnlyMode','_handleInitialConnectionData','_compressOperations','reconnection:\x20flushed\x20session','data','isUndoneOperation','change:range','return','lastOperationAcceptedAt','_currentBufferDelay','_isInit','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_crash','lastDocumentSession','reconnect','realtimecollaborationclient','from','_offset','filter','document','_handleReceivedOperations','differ','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.','showWarning','register','rtc-destroyed','keys','PENDING_ACTION_SENDING_DATA','_sendBufferedOperationsDelayId','cloud-services-internal-error:\x20Request\x20timeout.','rootsAttributes','push','code','_bufferedOperations','_operationIdentifier','currentDocumentSession','markers','_document','160WeYSsD','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_initSessionsHandling','marker','cloudDocumentVersion','editor','change:_isEditingAllowed','_isEditingAllowed','_handleReconnectionResponse','getMany','userId','__className','8278002mgJLVp','realtimecollaborationclient-sendbufferedoperations','_hasSynchronizationProblem','wereChangesApplied','sessionAdd:','200mBuXVm','_connectService','get','connection','_lastServerVersion','parse','addRoot','isPremiumPlugin','state','realtimecollaborationclient-init-connection-failed','operationsReceived','_disconnectionOperations','catch','disableReadOnlyMode','suppressErrorInCollaboration','string','loadRoot','isEnabled','version','_handleReconnectionError','move','remove','getUser','cs:removeUser','_handleSendingSelectionMarkers','setIdForTheLastOperation','startsWith','getRoot','RealTimeCollaborationClient','init','directChange','getOperations','_decompressOperations','Notification','_initThrowingOnDataSet','set','collaboration.channelId','_isLoaded','attributes','metadata','removeFromReconnectionStack','entries','roots','off','channelSessions','fire','unregister','forEach','includes','initData','enqueueChange','_refreshUserSelectionMarkers','change:hasDomSelection','offset','_disconnectService','54005QbaeXA','_isDisconnection','Synchronization\x20issue','root','config','_fetchMissingUsers','define','apply','applyOperation','sessionId','editing','_compressor','_isPendingUpdate','409','serverHistory','requires','locale','_baseBufferDelay','bind','addRootAttribute','compress','newRange','view','sessionCreatedAt','has','realtimecollaborationclient-init-session-connection-error','getDocumentDetails','_isAttached','reset','stopListening','addToReconnectionStack','174822RjrBII','pluginName','_sendBufferedOperationsDelayed','connect','36192mbwEGR','_lastSyncedOperationId','lastSyncVersion','realtimecollaborationclient-init-service-incorrect-server-operation','_applyOperationsSet','affectedSelectable','createPositionAt','_getAffectedRoot','_loadRoot','_sendBufferedOperations','623757Ttmjyp','addOperation','add','404','isOfficialPlugin','ready','message','mySessionId','_connectAfterSessionHasBeenFlushed','isDocumentOperation','cloud-services-internal-error:\x20Not\x20connected.','error','getOperationAuthor','plugins','clone','_bufferRootLoad','_waitUntilSynced','createdAt','path','stop','disconnect','cloudServices.bundleVersion','document:write','connected','change:_isPendingUpdate','realtimecollaborationclient-error'];_0x3229=function(){return _0x5aa2a9;};return _0x3229();}import{Compressor as _0x4d94e0}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1a54fd}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x51b9d1,CollaborativeEditingService as _0x320d94}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x3635cf{static [_0x57cebd(0x144)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x320d94)());[_0x57cebd(0x17f)];[_0x57cebd(0x1e5)];[_0x57cebd(0x1ea)];[_0x57cebd(0x16a)];[_0x57cebd(0x160)];[_0x57cebd(0x193)];[_0x57cebd(0x1e7)];[_0x57cebd(0x18f)];[_0x57cebd(0x14e)];[_0x57cebd(0x122)];[_0x57cebd(0x143)];[_0x57cebd(0x137)];[_0x57cebd(0x18a)];[_0x57cebd(0x1ed)];[_0x57cebd(0x177)];[_0x57cebd(0xfb)];[_0x57cebd(0x1b0)];[_0x57cebd(0x190)];static get[_0x57cebd(0x1eb)](){return[_0x51ed3d,_0x1bfd62,_0x2644c2,_0x5ad208,_0x1a54fd,_0x4f14ca];}static get[_0x57cebd(0xf7)](){const _0x26adff=_0x57cebd;return _0x26adff(0x1c1);}static get[_0x57cebd(0x108)](){return!0x0;}static get[_0x57cebd(0x1ac)](){return!0x0;}get[_0x57cebd(0x198)](){const _0x34ec4c=_0x57cebd;return this[_0x34ec4c(0x1a9)]+this[_0x34ec4c(0x17f)];}get[_0x57cebd(0x1a9)](){const _0x2ce685=_0x57cebd;return this[_0x2ce685(0x1ea)][_0x2ce685(0x1b7)]-this[_0x2ce685(0x17f)];}get[_0x57cebd(0xfc)](){const _0x134373=_0x57cebd,_0x129fc9=this[_0x134373(0x1ea)][_0x134373(0x1c4)]();for(let _0xff1a45=_0x129fc9[_0x134373(0x16d)]-0x1;_0xff1a45>=0x0;_0xff1a45--){const _0x55290c=_0x129fc9[_0xff1a45];if(!this[_0x134373(0x1b0)][_0x134373(0x1f4)](_0x55290c))return _0x55290c[_0x134373(0x148)]+0x1-this[_0x134373(0x17f)];}return 0x0;}constructor(_0xf9d5ac){const _0x5af111=_0x57cebd;if(super(_0xf9d5ac),this[_0x5af111(0x17f)]=0x0,this[_0x5af111(0x1e5)]=null,this[_0x5af111(0x1ea)]=new _0x420b0c(),this[_0x5af111(0x199)][_0x5af111(0x1e0)][_0x5af111(0x1e2)](_0x5af111(0x165),{}),this[_0x5af111(0x16a)]=this[_0x5af111(0x199)][_0x5af111(0x1e0)][_0x5af111(0x1a7)](_0x5af111(0x1c9)),!this[_0x5af111(0x16a)])throw new _0x18ec78(_0x5af111(0x138),this);const _0x27d703=_0xf9d5ac[_0x5af111(0x1e0)][_0x5af111(0x1a7)](_0x5af111(0x119))||_0x58aa70;this[_0x5af111(0x160)]=new l[(_0x5af111(0x144))](_0x27d703,this[_0x5af111(0x16a)]),this[_0x5af111(0x193)]=this[_0x5af111(0x199)][_0x5af111(0x15b)][_0x5af111(0x181)],this[_0x5af111(0x1e7)]=new _0x4d94e0(),this[_0x5af111(0x18f)]=[],this[_0x5af111(0x14e)]=new WeakSet(),this[_0x5af111(0x122)]=new Set(),this[_0x5af111(0x1c8)](_0x5af111(0x1e8),!0x1),this[_0x5af111(0x1c8)](_0x5af111(0x1a2),!0x1),this[_0x5af111(0x143)]=null,this[_0x5af111(0x137)]=!0x1,this[_0x5af111(0x18a)]=null,this[_0x5af111(0x1ed)]=0x12c,this[_0x5af111(0x177)]=this[_0x5af111(0x1ed)],this[_0x5af111(0xfb)]=null,this[_0x5af111(0x1b0)]=new WeakSet(),this[_0x5af111(0x190)]=new Y(this[_0x5af111(0x1b0)]);}[_0x57cebd(0x1c2)](){const _0x42d02d=_0x57cebd,_0x4a2b99=this[_0x42d02d(0x199)],_0x188ef8=_0x4a2b99[_0x42d02d(0x111)][_0x42d02d(0x1a7)](_0x1a54fd),_0x15eca2=_0x4a2b99[_0x42d02d(0x111)][_0x42d02d(0x1a7)](_0x51ed3d);this[_0x42d02d(0x130)](_0x188ef8,_0x42d02d(0x110),(_0x5a3153,_0x5113f4)=>{const _0x2a0fcb=_0x42d02d,_0xadc2e1=_0x5113f4[0x0];_0xadc2e1[_0x2a0fcb(0x166)]&&(_0x5a3153[_0x2a0fcb(0x175)]=_0x188ef8[_0x2a0fcb(0x1bb)](_0xadc2e1[_0x2a0fcb(0x166)]),_0x5a3153[_0x2a0fcb(0x117)]()),null===_0xadc2e1[_0x2a0fcb(0x166)]&&(_0x5a3153[_0x2a0fcb(0x175)]=null,_0x5a3153[_0x2a0fcb(0x117)]());},{'priority':_0x42d02d(0x120)}),this[_0x42d02d(0x130)](_0x4a2b99[_0x42d02d(0x15b)][_0x42d02d(0x181)][_0x42d02d(0x13a)],_0x42d02d(0x174),(_0x247842,_0x53f8d5)=>{const _0x1025bb=_0x42d02d;_0x53f8d5[_0x1025bb(0x1c3)]&&this[_0x1025bb(0x1d8)]();}),this[_0x42d02d(0x130)](_0x4a2b99[_0x42d02d(0x1e6)][_0x42d02d(0x1f2)],_0x42d02d(0x1d9),()=>{const _0x31c27f=_0x42d02d;this[_0x31c27f(0x1d8)]();}),this[_0x42d02d(0x1c7)](),_0x4a2b99[_0x42d02d(0x15b)]['on'](_0x42d02d(0x1e4),(_0x2d0533,_0x55b787)=>{const _0x30e1b9=_0x42d02d,_0x30d5c0=_0x55b787[0x0];_0x30d5c0[_0x30e1b9(0x10d)]&&(this[_0x30e1b9(0x14a)](_0x30d5c0),this[_0x30e1b9(0x151)]()&&this[_0x30e1b9(0xf8)]());}),this[_0x42d02d(0x155)](),this[_0x42d02d(0x1ee)](_0x42d02d(0x19b))['to'](_0x15eca2,_0x42d02d(0x1ad),this,_0x42d02d(0x1a2),(_0x324d65,_0x5a8658)=>_0x42d02d(0x11b)===_0x324d65&&!_0x5a8658),this['on'](_0x42d02d(0x19a),()=>{const _0x1fd72c=_0x42d02d;this[_0x1fd72c(0x19b)]?_0x4a2b99[_0x1fd72c(0x1b2)](_0x1fd72c(0x11f)):_0x4a2b99[_0x1fd72c(0x16e)](_0x1fd72c(0x11f));}),this[_0x42d02d(0x19b)]?_0x4a2b99[_0x42d02d(0x1b2)](_0x42d02d(0x11f)):_0x4a2b99[_0x42d02d(0x16e)](_0x42d02d(0x11f)),this[_0x42d02d(0x1c8)](_0x42d02d(0x121),!0x1);}async[_0x57cebd(0x17c)](){const _0x1ffccf=_0x57cebd,_0xa34153=this[_0x1ffccf(0x199)][_0x1ffccf(0x111)][_0x1ffccf(0x1a7)](_0x1bfd62),_0x8110c4=this[_0x1ffccf(0x199)][_0x1ffccf(0x111)][_0x1ffccf(0x1a7)](_0x51ed3d);try{this[_0x1ffccf(0x1e8)]=!0x0,_0xa34153[_0x1ffccf(0x1d3)](this[_0x1ffccf(0x16a)]);const _0xd136b8=await this[_0x1ffccf(0x160)][_0x1ffccf(0x17c)](_0x8110c4[_0x1ffccf(0x1a8)],this[_0x1ffccf(0xfc)]);await this[_0x1ffccf(0x19c)](_0xd136b8)&&(this[_0x1ffccf(0x1e8)]=!0x1,this[_0x1ffccf(0x140)]());const _0x1c8a51=await this[_0x1ffccf(0x160)][_0x1ffccf(0x153)]();_0xa34153[_0x1ffccf(0x186)](this[_0x1ffccf(0x16a)],_0x1c8a51),this[_0x1ffccf(0x1bd)](),this[_0x1ffccf(0x121)]=!0x0;}catch(_0x3f9367){if(function(_0x2426c6){const _0x23a2bc=_0x1ffccf;return _0x23a2bc(0x107)===_0x2426c6[_0x23a2bc(0x18e)];}(_0x3f9367)&&this[_0x1ffccf(0x1e5)])await this[_0x1ffccf(0x10c)]();else{if(function(_0x131369){const _0x2b865c=_0x1ffccf;return _0x2b865c(0x1e9)===_0x131369[_0x2b865c(0x18e)];}(_0x3f9367)){const _0x55331a=_0x504f72(this[_0x1ffccf(0x199)][_0x1ffccf(0x1ec)],_0x1ffccf(0x162));this[_0x1ffccf(0x1b8)](_0x55331a);}else{if(!(_0x3f9367 instanceof Q))throw _0x3f9367;this[_0x1ffccf(0x1b8)]();}}}}[_0x57cebd(0x15c)](){const _0x5691c7=_0x57cebd,_0x5327b5=this[_0x5691c7(0x199)][_0x5691c7(0x111)][_0x5691c7(0x1a7)](_0x51ed3d),_0x5b73b9=this[_0x5691c7(0x199)][_0x5691c7(0x111)][_0x5691c7(0x1a7)](_0x1bfd62);this[_0x5691c7(0x199)][_0x5691c7(0x16e)](_0x5691c7(0x187)),_0x5b73b9[_0x5691c7(0x1d1)][_0x5691c7(0x1f4)](this[_0x5691c7(0x16a)])&&_0x5b73b9[_0x5691c7(0x1d3)](this[_0x5691c7(0x16a)]),_0x5327b5[_0x5691c7(0x1cd)](this),this[_0x5691c7(0x1db)](),super[_0x5691c7(0x15c)]();}async[_0x57cebd(0x19c)](_0x2d493a){const _0x4fe513=_0x57cebd;if(this[_0x4fe513(0x1e5)]!==_0x2d493a[_0x4fe513(0x1e5)]&&this[_0x4fe513(0xfb)]!==_0x2d493a[_0x4fe513(0x169)])throw new Q();return this[_0x4fe513(0x1e5)]=_0x2d493a[_0x4fe513(0x1e5)],this[_0x4fe513(0x14d)]([],{..._0x2d493a,'wereChangesApplied':!0x1,'data':_0x2d493a[_0x4fe513(0x172)]},_0x4fe513(0x17c));}async[_0x57cebd(0x1a6)](_0x4ed618,_0x4af1fd=!0x1){const _0xe7e835=_0x57cebd,{connection:_0x4d3411}=this[_0xe7e835(0x199)][_0xe7e835(0x111)][_0xe7e835(0x1a7)](_0x51ed3d);l[_0xe7e835(0x144)][_0xe7e835(0x153)](_0x4d3411,this[_0xe7e835(0x16a)])[_0xe7e835(0x16b)](_0x457b95=>this[_0xe7e835(0x196)](_0x457b95))[_0xe7e835(0x1b1)](_0x479b7d=>{const _0x3be3c8=_0xe7e835;this[_0x3be3c8(0x17a)](_0x3be3c8(0xf0),_0x479b7d);}),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x1af),this[_0xe7e835(0x182)][_0xe7e835(0x1ee)](this)),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x10f),(_0x4f182e,_0xa8941f)=>{const _0x485c28=_0xe7e835;this[_0x485c28(0x17a)](_0x485c28(0x12a),_0xa8941f);}),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x13d),()=>{const _0x403a06=_0xe7e835;this[_0x403a06(0x121)]=!0x1;});const _0x5aecc9=this[_0xe7e835(0x190)][_0xe7e835(0x14c)](_0x4ed618);this[_0xe7e835(0x1e8)]=!0x0;const _0x570014=await this[_0xe7e835(0x160)][_0xe7e835(0xf9)](_0x4d3411,this[_0xe7e835(0x170)](_0x4ed618),_0x5aecc9);if(this[_0xe7e835(0x1e5)]=_0x570014[_0xe7e835(0x1e5)],_0x4af1fd){if(!_0x570014[_0xe7e835(0x1a3)])return void this[_0xe7e835(0x1b8)]();this[_0xe7e835(0x1e8)]=!0x1,this[_0xe7e835(0x140)](),this[_0xe7e835(0x1ea)][_0xe7e835(0xf3)](),this[_0xe7e835(0x17f)]=_0x570014[_0xe7e835(0x1da)],this[_0xe7e835(0x1ea)][_0xe7e835(0x1b7)]=this[_0xe7e835(0x17f)],await this[_0xe7e835(0x14d)](_0x4ed618,_0x570014,_0xe7e835(0x171));}else await this[_0xe7e835(0x16f)](_0x570014,_0x4ed618);this[_0xe7e835(0x1bd)](),this[_0xe7e835(0x121)]=!0x0;}[_0x57cebd(0x1bd)](){const _0x25facf=_0x57cebd,_0x1dbabd=this[_0x25facf(0x199)][_0x25facf(0x111)][_0x25facf(0x1a7)](_0x1bfd62),_0x4139dc=this[_0x25facf(0x199)][_0x25facf(0x111)][_0x25facf(0x1a7)](_0x2644c2),_0x46699b=_0x1dbabd[_0x25facf(0x1d1)][_0x25facf(0x1a7)](this[_0x25facf(0x16a)]);_0x46699b&&_0x46699b[_0x25facf(0x16d)]>0x1?_0x4139dc[_0x25facf(0x163)]():this[_0x25facf(0x130)](_0x1dbabd,_0x25facf(0x1a4)+this[_0x25facf(0x16a)],()=>{const _0x57abf8=_0x25facf;0x2===_0x1dbabd[_0x57abf8(0x1d1)][_0x57abf8(0x1a7)](this[_0x57abf8(0x16a)])[_0x57abf8(0x16d)]&&_0x4139dc[_0x57abf8(0x163)]();});}async[_0x57cebd(0x182)](_0x52f23b,_0x16e403,_0x2ed7c3,_0x14f839){const _0x2ddee5=_0x57cebd;if(!this[_0x2ddee5(0x1e8)]&&this[_0x2ddee5(0x193)][_0x2ddee5(0x1b7)]==_0x16e403){const _0x361af7=this[_0x2ddee5(0x1c5)](_0x2ed7c3,_0x14f839);await this[_0x2ddee5(0x1e1)](_0x361af7),this[_0x2ddee5(0x156)](_0x361af7,_0x16e403,_0x2ed7c3[_0x2ddee5(0x169)])||this[_0x2ddee5(0x17a)](_0x2ddee5(0xfd));}}async[_0x57cebd(0x10c)](){const _0xc41b9=_0x57cebd;this[_0xc41b9(0x1db)]();const {locale:_0x1b8993}=this[_0xc41b9(0x199)];let _0x567625;try{_0x567625=await this[_0xc41b9(0x160)][_0xc41b9(0xf1)]();}catch{const _0x2c119c=_0x504f72(_0x1b8993,_0xc41b9(0x195));return void this[_0xc41b9(0x1b8)](_0x2c119c);}const _0x410c87=_0x567625[_0xc41b9(0x191)]||_0x567625[_0xc41b9(0x17b)];if(this[_0xc41b9(0xfb)]===_0x410c87[_0xc41b9(0x169)])await this[_0xc41b9(0x1a6)](this[_0xc41b9(0x199)][_0xc41b9(0x15b)][_0xc41b9(0x181)][_0xc41b9(0x147)][_0xc41b9(0x1c4)](),!0x0);else{const _0x1c6dc0=_0x504f72(_0x1b8993,_0xc41b9(0x184));this[_0xc41b9(0x1b8)](_0x1c6dc0);}}[_0x57cebd(0x1db)](){const _0x4ade62=_0x57cebd;this[_0x4ade62(0x160)][_0x4ade62(0x118)](),this[_0x4ade62(0x18f)]=[],clearTimeout(this[_0x4ade62(0x18a)]),this[_0x4ade62(0xf4)](this[_0x4ade62(0x160)]);}[_0x57cebd(0x196)](_0xed7c19){const _0x11e99e=_0x57cebd,_0x114ec0=this[_0x11e99e(0x199)][_0x11e99e(0x111)][_0x11e99e(0x1a7)](_0x1bfd62);this[_0x11e99e(0x130)](_0x114ec0,_0x11e99e(0x1a4)+this[_0x11e99e(0x16a)],(_0x4ab986,{session:_0x2111a5})=>{const _0x1e20cc=_0x11e99e;if(_0x2111a5['id']===_0x114ec0[_0x1e20cc(0x10b)]){_0x4ab986[_0x1e20cc(0x1d0)]();const _0x31f515=this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1f4)](_0x1e20cc(0x168))&&this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1a7)](_0x1e20cc(0x168));let _0x350062=_0x2111a5[_0x1e20cc(0x139)];_0x31f515&&_0x31f515[_0x1e20cc(0x1b6)]&&(_0x350062=_0x350062[_0x1e20cc(0x180)](_0x22d2e9=>_0x1e20cc(0x11a)!==_0x22d2e9)),this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1a7)](_0x1e20cc(0x13b))[_0x1e20cc(0x133)](_0x350062,this[_0x1e20cc(0x16a)]);}}),_0x114ec0[_0x11e99e(0x186)](this[_0x11e99e(0x16a)],_0xed7c19);}[_0x57cebd(0x1c7)](){const _0xbc3662=_0x57cebd,_0x29c603=this[_0xbc3662(0x199)][_0xbc3662(0x172)][_0xbc3662(0x1c8)];this[_0xbc3662(0x199)][_0xbc3662(0x172)][_0xbc3662(0x1c8)]=(..._0x3b899f)=>{const _0x55a44f=_0xbc3662;if(!_0x3b899f[_0x3b899f[_0x55a44f(0x16d)]-0x1][_0x55a44f(0x1b3)])throw new _0x18ec78(_0x55a44f(0x159),this);_0x29c603[_0x55a44f(0x1e3)](this[_0x55a44f(0x199)][_0x55a44f(0x172)],_0x3b899f);};}[_0x57cebd(0x155)](){const _0x3a0455=_0x57cebd;this[_0x3a0455(0x199)][_0x3a0455(0x172)]['on'](_0x3a0455(0x1c2),(_0x3df9e0,[_0x2fdf0d])=>{const _0x3973d1=_0x3a0455;if(this[_0x3973d1(0x193)][_0x3973d1(0x1b7)])throw new _0x18ec78(_0x3973d1(0x132),this);_0x3df9e0[_0x3973d1(0x117)](),this[_0x3973d1(0x141)]();const _0x42466f=this[_0x3973d1(0x199)][_0x3973d1(0x1e0)][_0x3973d1(0x1a7)](_0x3973d1(0x18c)),_0x4db22a=this[_0x3973d1(0x142)](_0x2fdf0d,_0x42466f);0x0==_0x4db22a[_0x3973d1(0x16d)]&&_0x4db22a[_0x3973d1(0x18d)](new _0x120c7e(0x0)),_0x3df9e0[_0x3973d1(0x175)]=this[_0x3973d1(0x1a6)](_0x4db22a)[_0x3973d1(0x16b)](()=>{const _0x4cc3c5=_0x3973d1;this[_0x4cc3c5(0x199)][_0x4cc3c5(0x111)][_0x4cc3c5(0x1a7)](_0x51ed3d)[_0x4cc3c5(0xf5)](this),this[_0x4cc3c5(0x199)][_0x4cc3c5(0x172)][_0x4cc3c5(0x1d2)](_0x4cc3c5(0x109));})[_0x3973d1(0x1b1)](_0x1f6e16=>this[_0x3973d1(0x17a)](_0x3973d1(0x1ae),_0x1f6e16))[_0x3973d1(0x11e)](()=>this[_0x3973d1(0x140)]());},{'priority':_0x3a0455(0x120)}),this[_0x3a0455(0x199)]['on'](_0x3a0455(0x1b5),async(_0x3ffd33,[_0x216e82,_0x419190])=>{const _0x37a697=_0x3a0455;_0x3ffd33[_0x37a697(0x117)]();const _0x315fa3=this[_0x37a697(0x199)][_0x37a697(0x15b)][_0x37a697(0x181)][_0x37a697(0x1c0)](_0x216e82);if(!this[_0x37a697(0x122)][_0x37a697(0x1f4)](_0x216e82)){const _0x3f36f6=_0x419190&&_0x419190[_0x37a697(0x172)]?_0x419190[_0x37a697(0x172)]:'',_0x3a5a08=_0x419190&&_0x419190[_0x37a697(0x1cb)]?_0x419190[_0x37a697(0x1cb)]:{};await this[_0x37a697(0x102)](_0x216e82,_0x3f36f6,_0x3a5a08);}this[_0x37a697(0x199)][_0x37a697(0x15b)][_0x37a697(0x1d7)]({'isUndoable':!0x1},()=>{const _0x544e74=_0x37a697;_0x315fa3[_0x544e74(0x1ca)]=!0x0,this[_0x544e74(0x199)][_0x544e74(0x15b)][_0x544e74(0x181)][_0x544e74(0x183)][_0x544e74(0x113)](_0x315fa3);});},{'priority':_0x3a0455(0x120)});}async[_0x57cebd(0x1e1)](_0x1f3569){const _0x1093d5=_0x57cebd,_0x73c0ea=this[_0x1093d5(0x199)][_0x1093d5(0x111)][_0x1093d5(0x1a7)](_0x1a54fd),{connection:_0x1c5bb5}=this[_0x1093d5(0x199)][_0x1093d5(0x111)][_0x1093d5(0x1a7)](_0x51ed3d),_0x222072=new Set();for(const _0x4c7dd7 of _0x1f3569){const _0x9a74d2=_0x4c7dd7[_0x1093d5(0x166)];_0x9a74d2&&!_0x73c0ea[_0x1093d5(0x1bb)](_0x9a74d2)&&_0x222072[_0x1093d5(0x106)](_0x9a74d2);}if(0x0===_0x222072[_0x1093d5(0x154)])return;const _0xfb92ba=await _0x51b9d1[_0x1093d5(0x19d)](_0x1c5bb5,Array[_0x1093d5(0x17e)](_0x222072));for(const _0x3574dc of _0xfb92ba)_0x73c0ea[_0x1093d5(0x1bb)](_0x3574dc['id'])||_0x73c0ea[_0x1093d5(0x15a)](_0x3574dc);}[_0x57cebd(0x142)](_0x5d0c43,_0xb9d8f8={}){const _0x3555cb=_0x57cebd,_0x48378f=this[_0x3555cb(0x199)][_0x3555cb(0x15b)],_0x3e2a4f=[];let _0x562c1c=0x0;const _0x5e7aa0=_0x3555cb(0x1b4)==typeof _0x5d0c43?{'main':_0x5d0c43}:_0x5d0c43;for(const _0x3cc5bb of Object[_0x3555cb(0x188)](_0x5e7aa0)){if(!this[_0x3555cb(0x193)][_0x3555cb(0x1cf)][_0x3555cb(0x1f4)](_0x3cc5bb))throw new _0x18ec78(_0x3555cb(0x152),this);const _0x57bb31=this[_0x3555cb(0x199)][_0x3555cb(0x172)][_0x3555cb(0x1aa)](_0x5e7aa0[_0x3cc5bb]),_0x2e26f5=this[_0x3555cb(0x193)][_0x3555cb(0x1c0)](_0x3cc5bb),_0x3ffb56=new _0x545123(_0x48378f[_0x3555cb(0x100)](_0x2e26f5,0x0),_0x57bb31,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x3ffb56);for(const [_0x3a7a73,_0x5a4651]of _0x57bb31[_0x3555cb(0x192)]){const _0x4b01ad=_0x48378f[_0x3555cb(0x14b)](_0x48378f[_0x3555cb(0x15e)](_0x2e26f5,_0x5a4651[_0x3555cb(0x13e)][_0x3555cb(0x116)][_0x3555cb(0x131)]()),_0x48378f[_0x3555cb(0x15e)](_0x2e26f5,_0x5a4651[_0x3555cb(0x15d)][_0x3555cb(0x116)][_0x3555cb(0x131)]())),_0x3f25c8=new _0x4da4a0(_0x3a7a73,null,_0x4b01ad,_0x48378f[_0x3555cb(0x192)],!0x0,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x3f25c8);}}if(_0xb9d8f8)for(const [_0x370b95,_0x1ccb52]of Object[_0x3555cb(0x1ce)](_0xb9d8f8)){const _0x3c5119=_0x48378f[_0x3555cb(0x181)][_0x3555cb(0x1c0)](_0x370b95);if(!_0x3c5119)throw new _0x18ec78(_0x3555cb(0x14f),null);for(const [_0xd4b596,_0x45986e]of Object[_0x3555cb(0x1ce)](_0x1ccb52))if(null!==_0x45986e){const _0x201e31=new _0x132394(_0x3c5119,_0xd4b596,null,_0x45986e,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x201e31);}}return _0x3e2a4f;}async[_0x57cebd(0x102)](_0x581fc7,_0x159a80,_0x3acf05){const _0x4c747f=_0x57cebd;this[_0x4c747f(0x142)]({[_0x581fc7]:_0x159a80},{[_0x581fc7]:_0x3acf05})[_0x4c747f(0x1d4)]((_0x5610f2,_0xc56342)=>{const _0x545a2c=_0x4c747f;_0x5610f2[_0x545a2c(0x148)]=this[_0x545a2c(0x193)][_0x545a2c(0x1b7)]+_0xc56342,_0x5610f2[_0x545a2c(0x178)]=!0x0,this[_0x545a2c(0x14a)](_0x5610f2);}),this[_0x4c747f(0xf8)](),await this[_0x4c747f(0x114)]();}async[_0x57cebd(0x16f)](_0x437f1a,_0x59933a){const _0xf43631=_0x57cebd;let _0x29e1b5;this[_0xf43631(0x17f)]=_0x437f1a[_0xf43631(0x1da)];const _0x5b788e=_0x437f1a[_0xf43631(0x1a3)]&&!_0x437f1a[_0xf43631(0x1d6)],_0x5219d9=_0x5b788e?0x0:_0x437f1a[_0xf43631(0x172)][_0xf43631(0x148)];if(_0x59933a[_0xf43631(0x1d4)](_0x2a1cf0=>{const _0x1808e7=_0xf43631;_0x2a1cf0[_0x1808e7(0x178)]=!0x0,_0x2a1cf0[_0x1808e7(0x115)]=_0x437f1a[_0x1808e7(0x1f3)],_0x2a1cf0[_0x1808e7(0x166)]=null;}),_0x5b788e)_0x29e1b5=_0x59933a,this[_0xf43631(0xfe)](_0x29e1b5,_0x5b788e);else{if(_0x437f1a[_0xf43631(0x1d6)]){const _0x1bf076=this[_0xf43631(0x142)](_0x437f1a[_0xf43631(0x1d6)]);this[_0xf43631(0x193)][_0xf43631(0x147)][_0xf43631(0x1b7)]=-_0x1bf076[_0xf43631(0x16d)],_0x1bf076[_0xf43631(0x1d4)](_0x4d3a7a=>{const _0x1be58d=_0xf43631;_0x4d3a7a[_0x1be58d(0x148)]-=_0x1bf076[_0x1be58d(0x16d)],_0x4d3a7a[_0x1be58d(0x115)]=_0x437f1a[_0x1be58d(0x1f3)],_0x4d3a7a[_0x1be58d(0x178)]=!0x0,_0x4d3a7a[_0x1be58d(0x166)]=null;}),this[_0xf43631(0xfe)](_0x1bf076,!0x0),this[_0xf43631(0x1ea)][_0xf43631(0x1b7)]=-_0x1bf076[_0xf43631(0x16d)]+this[_0xf43631(0x17f)],this[_0xf43631(0x158)](_0x1bf076);}this[_0xf43631(0x193)][_0xf43631(0x147)][_0xf43631(0x1b7)]=_0x5219d9,_0x29e1b5=this[_0xf43631(0x1c5)](_0x437f1a[_0xf43631(0x172)],_0x437f1a[_0xf43631(0x1cc)]),await this[_0xf43631(0x1e1)](_0x29e1b5),this[_0xf43631(0xfe)](_0x29e1b5,_0x5b788e);}_0x437f1a[_0xf43631(0x169)]&&(this[_0xf43631(0x190)][_0xf43631(0x1be)](_0x29e1b5,_0x437f1a[_0xf43631(0x169)]),this[_0xf43631(0xfb)]=_0x437f1a[_0xf43631(0x169)]),this[_0xf43631(0x1ea)][_0xf43631(0x1b7)]=_0x5219d9+this[_0xf43631(0x17f)],this[_0xf43631(0x158)](_0x29e1b5),_0x59933a[_0xf43631(0x180)](_0x36f19a=>{const _0x2f24ee=_0xf43631,_0x187071=this[_0x2f24ee(0x101)](_0x36f19a);return _0x187071&&!this[_0x2f24ee(0x122)][_0x2f24ee(0x1f4)](_0x187071);})[_0xf43631(0x1d4)]((_0x2ab080,_0x1e35dd)=>{const _0xf12558=_0xf43631;_0x2ab080[_0xf12558(0x148)]=this[_0xf12558(0x193)][_0xf12558(0x1b7)]+_0x1e35dd,this[_0xf12558(0x14a)](_0x2ab080);}),this[_0xf43631(0x151)]()?(this[_0xf43631(0x177)]=0x0,this[_0xf43631(0xf8)](!0x0),await this[_0xf43631(0x114)]()):(this[_0xf43631(0x1e8)]=!0x1,this[_0xf43631(0x140)]());}[_0x57cebd(0x17a)](_0x1ecab9,_0x188219){const _0x5c07b8=_0x57cebd,_0x472784=_0x188219&&_0x188219[_0x5c07b8(0x10a)];if(_0x472784&&_0x472784[_0x5c07b8(0x1bf)](_0x5c07b8(0x17d)))throw _0x188219;const _0x527c38=this[_0x5c07b8(0x199)][_0x5c07b8(0x111)][_0x5c07b8(0x1a7)](_0x51ed3d);throw this[_0x5c07b8(0x1e8)]=!0x0,_0x527c38[_0x5c07b8(0x118)](),this[_0x5c07b8(0x199)][_0x5c07b8(0x16e)](_0x5c07b8(0x11d)),new _0x18ec78(_0x1ecab9,this[_0x5c07b8(0x199)],_0x472784?{'originalError':_0x472784}:void 0x0);}[_0x57cebd(0x14a)](_0x2b0d51){const _0x1013c6=_0x57cebd;this[_0x1013c6(0x14e)][_0x1013c6(0x1f4)](_0x2b0d51)||(this[_0x1013c6(0x14e)][_0x1013c6(0x106)](_0x2b0d51),this[_0x1013c6(0x18f)][_0x1013c6(0x18d)](_0x2b0d51),this[_0x1013c6(0x143)]||_0x1013c6(0x197)==_0x2b0d51[_0x1013c6(0x164)]&&!_0x2b0d51[_0x1013c6(0x125)]||this[_0x1013c6(0x141)]());}[_0x57cebd(0xf8)](_0x4fc09c=!0x1){const _0x42ee75=_0x57cebd;!_0x4fc09c&&this[_0x42ee75(0x1e8)]||(this[_0x42ee75(0x1e8)]=!0x0,clearTimeout(this[_0x42ee75(0x18a)]),this[_0x42ee75(0x18a)]=setTimeout(()=>{const _0x2ff989=_0x42ee75;this[_0x2ff989(0x103)]()[_0x2ff989(0x16b)](_0x3ab685=>{const _0xd66416=_0x2ff989;_0x3ab685&&(this[_0xd66416(0x140)](),this[_0xd66416(0x1e8)]=!0x1);})[_0x2ff989(0x1b1)](_0xb2d515=>{const _0xebf5b5=_0x2ff989;this[_0xebf5b5(0x140)](),this[_0xebf5b5(0x1e8)]=!0x1,function(_0x4578fc){const _0x3ebc39=_0xebf5b5;return _0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x10e))||_0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x179))||_0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x18b));}(_0xb2d515)||this[_0xebf5b5(0x17a)](_0xb2d515[_0xebf5b5(0x10a)],_0xb2d515);});},this[_0x42ee75(0x177)]));}[_0x57cebd(0x114)](){return new Promise(_0x5c2bb9=>{const _0x1e2cd2=_0x1b7c;this['on'](_0x1e2cd2(0x11c),()=>{_0x5c2bb9();});});}async[_0x57cebd(0x103)](){const _0x583180=_0x57cebd,_0x1bd661=this[_0x583180(0x199)][_0x583180(0x111)][_0x583180(0x1a7)](_0x2644c2);if(this[_0x583180(0x127)]()&&(_0x1bd661[_0x583180(0x163)](),this[_0x583180(0x137)]=!0x1),!this[_0x583180(0x151)]())return!0x0;const _0x17f2b7=[...this[_0x583180(0x18f)]];for(const _0x43f766 of _0x17f2b7)_0x43f766[_0x583180(0x134)]=this[_0x583180(0x193)][_0x583180(0x147)][_0x583180(0x173)](_0x43f766);const _0x3ef38d=this[_0x583180(0x190)][_0x583180(0x14c)](_0x17f2b7),_0x48ebad=J++,_0x4ad4f5=this[_0x583180(0x170)](_0x17f2b7),_0x24533=await this[_0x583180(0x160)][_0x583180(0x124)](_0x4ad4f5,_0x4ad4f5[_0x583180(0x148)],_0x3ef38d);try{return await this[_0x583180(0x14d)](_0x17f2b7,_0x24533,_0x48ebad);}catch(_0x29873c){return this[_0x583180(0x17a)](_0x583180(0x1a1),_0x29873c);}}async[_0x57cebd(0x14d)](_0x484edf,_0x5aa596,_0x25d146){const _0x5a4bc2=_0x57cebd;if(_0x5a4bc2(0x10f)in _0x5aa596)throw _0x5aa596[_0x5a4bc2(0x10f)];let _0x7b3839=!0x1;if(_0x5aa596[_0x5a4bc2(0x1a3)]){_0x5aa596[_0x5a4bc2(0x169)]&&(this[_0x5a4bc2(0xfb)]=_0x5aa596[_0x5a4bc2(0x169)]),this[_0x5a4bc2(0x18f)]=this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x180)](_0x50cfbb=>!_0x484edf[_0x5a4bc2(0x1d5)](_0x50cfbb));for(const _0x5d1fde of _0x484edf)_0x5d1fde[_0x5a4bc2(0x115)]=_0x5a4bc2(0x176)in _0x5aa596&&_0x5aa596[_0x5a4bc2(0x176)]||void 0x0;X(_0x484edf,_0x5aa596[_0x5a4bc2(0x1b7)]-_0x484edf[_0x5a4bc2(0x16d)]),this[_0x5a4bc2(0x158)](_0x484edf);const _0xc644f5=_0x484edf[_0x5a4bc2(0x180)](_0x347a5c=>{const _0x2b4934=_0x5a4bc2;if(!_0x347a5c[_0x2b4934(0x178)])return!0x1;const _0x36cbc7=this[_0x2b4934(0x101)](_0x347a5c);return _0x36cbc7&&!this[_0x2b4934(0x122)][_0x2b4934(0x1f4)](_0x36cbc7);});X(_0xc644f5,this[_0x5a4bc2(0x193)][_0x5a4bc2(0x1b7)]),this[_0x5a4bc2(0xfe)](_0xc644f5),_0x7b3839=!0x0,this[_0x5a4bc2(0x177)]=this[_0x5a4bc2(0x1ed)];}else{const _0x32a8c8=this[_0x5a4bc2(0x1c5)](_0x5aa596[_0x5a4bc2(0x172)],_0x5aa596[_0x5a4bc2(0x1cc)])[_0x5a4bc2(0x180)](_0x55c28e=>_0x55c28e[_0x5a4bc2(0x148)]>=this[_0x5a4bc2(0x1a9)]);_0x32a8c8[_0x5a4bc2(0x1d4)](_0x341ff1=>this[_0x5a4bc2(0x145)](_0x341ff1)),this[_0x5a4bc2(0x18f)]=this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x180)](_0x3347cd=>!_0x3347cd[_0x5a4bc2(0x178)]||!this[_0x5a4bc2(0x122)][_0x5a4bc2(0x1f4)](this[_0x5a4bc2(0x101)](_0x3347cd))),this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x16d)]&&X(this[_0x5a4bc2(0x18f)],this[_0x5a4bc2(0x18f)][0x0][_0x5a4bc2(0x148)]),await this[_0x5a4bc2(0x1e1)](_0x32a8c8),_0x7b3839=this[_0x5a4bc2(0x156)](_0x32a8c8,_0x5aa596[_0x5a4bc2(0x1b7)],_0x5aa596[_0x5a4bc2(0x169)]),this[_0x5a4bc2(0x177)]=Math[_0x5a4bc2(0x157)](this[_0x5a4bc2(0x177)]/0x2);}return _0x7b3839?!this[_0x5a4bc2(0x151)]()||(this[_0x5a4bc2(0xf8)](!0x0),!0x1):this[_0x5a4bc2(0x17a)](_0x5a4bc2(0x167));}[_0x57cebd(0x156)](_0x327d63,_0x2fc65a,_0x4fb67f){const _0x399fb4=_0x57cebd;try{const _0x237d4d={'document':this[_0x399fb4(0x193)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x31affb,operationsB:_0x501c66,originalOperations:_0x1d1562}=_0x1207c2(_0x327d63,this[_0x399fb4(0x18f)],_0x237d4d);X(_0x31affb,this[_0x399fb4(0x193)][_0x399fb4(0x1b7)]),X(_0x501c66,_0x2fc65a);for(const _0x42804d of _0x31affb){const _0x409d43=_0x1d1562[_0x399fb4(0x1a7)](_0x42804d);_0x42804d[_0x399fb4(0x166)]=_0x409d43?_0x409d43[_0x399fb4(0x166)]:null;}_0x4fb67f&&(this[_0x399fb4(0x190)][_0x399fb4(0x1be)](_0x327d63,_0x4fb67f),this[_0x399fb4(0xfb)]=_0x4fb67f),this[_0x399fb4(0x18f)]=[..._0x501c66],this[_0x399fb4(0xfe)](_0x31affb),this[_0x399fb4(0x158)](_0x327d63);}catch(_0x481c49){return console[_0x399fb4(0x10f)](_0x481c49),!0x1;}return!0x0;}[_0x57cebd(0xfe)](_0x2c191f,_0x1186b1=!0x1){const _0x4a77a4=_0x57cebd;this[_0x4a77a4(0x199)][_0x4a77a4(0x15b)][_0x4a77a4(0x1d7)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4103ef=>{const _0x2e27e0=_0x4a77a4;for(const _0x5d8d66 of _0x2c191f)this[_0x2e27e0(0x14e)][_0x2e27e0(0x106)](_0x5d8d66),this[_0x2e27e0(0x145)](_0x5d8d66),_0x4103ef[_0x2e27e0(0x149)][_0x2e27e0(0x105)](_0x5d8d66),this[_0x2e27e0(0x199)][_0x2e27e0(0x15b)][_0x2e27e0(0x1e4)](_0x5d8d66);});}[_0x57cebd(0x145)](_0x613cfe){const _0x361b1e=_0x57cebd,_0x229150=this[_0x361b1e(0x101)](_0x613cfe);_0x229150&&this[_0x361b1e(0x122)][_0x361b1e(0x106)](_0x229150);}[_0x57cebd(0x101)](_0x68650d){const _0x4fb67c=_0x57cebd;let _0x2de1cf,_0x51eaad;switch(_0x68650d[_0x4fb67c(0x164)]){case _0x4fb67c(0x123):_0x2de1cf=_0x68650d[_0x4fb67c(0x15f)][_0x4fb67c(0x1df)];break;case _0x4fb67c(0x197):if(_0x51eaad=_0x68650d[_0x4fb67c(0x1f1)],!_0x51eaad)return null;_0x2de1cf=_0x51eaad[_0x4fb67c(0x1df)];break;case _0x4fb67c(0x1ef):_0x2de1cf=_0x68650d[_0x4fb67c(0x1df)];break;case _0x4fb67c(0x1ab):_0x2de1cf=_0x68650d[_0x4fb67c(0xff)];break;case _0x4fb67c(0x1b9):_0x2de1cf=_0x68650d[_0x4fb67c(0x136)][_0x4fb67c(0x1df)];break;default:return null;}return _0x2de1cf[_0x4fb67c(0x129)];}[_0x57cebd(0x158)](_0x7bd1f6){const _0x231cf0=_0x57cebd;_0x7bd1f6[_0x231cf0(0x1d4)](_0x41590b=>{const _0xbfe8e4=_0x231cf0,_0x4f63e9=_0x41590b[_0xbfe8e4(0x112)]();_0x4f63e9[_0xbfe8e4(0x166)]=_0x41590b[_0xbfe8e4(0x166)],_0x4f63e9[_0xbfe8e4(0x178)]=!!_0x41590b[_0xbfe8e4(0x178)],_0x4f63e9[_0xbfe8e4(0x115)]=_0x41590b[_0xbfe8e4(0x115)],_0x4f63e9[_0xbfe8e4(0x148)]+=this[_0xbfe8e4(0x17f)],_0x41590b[_0xbfe8e4(0x1dd)]&&this[_0xbfe8e4(0x1b0)][_0xbfe8e4(0x106)](_0x4f63e9),this[_0xbfe8e4(0x1ea)][_0xbfe8e4(0x105)](_0x4f63e9);});}[_0x57cebd(0x1b8)](_0x2125d4){const _0x3920c5=_0x57cebd,_0x5be5d4=this[_0x3920c5(0x199)][_0x3920c5(0x111)][_0x3920c5(0x1a7)](_0x3920c5(0x1c6)),_0x15cf33=this[_0x3920c5(0x199)][_0x3920c5(0x1ec)];_0x2125d4||(_0x2125d4=_0x504f72(_0x15cf33,_0x3920c5(0x13c))),_0x5be5d4[_0x3920c5(0x185)](_0x2125d4,{'title':_0x504f72(_0x15cf33,_0x3920c5(0x1de)),'namespace':_0x3920c5(0x12c)}),this[_0x3920c5(0x1a2)]=!0x0,clearTimeout(this[_0x3920c5(0x18a)]),this[_0x3920c5(0x18f)]=[],this[_0x3920c5(0x199)][_0x3920c5(0x111)][_0x3920c5(0x1a7)](_0x51ed3d)[_0x3920c5(0x118)]();}[_0x57cebd(0x141)](){const _0x2bc051=_0x57cebd;this[_0x2bc051(0x143)]||(this[_0x2bc051(0x143)]=this[_0x2bc051(0x199)][_0x2bc051(0x111)][_0x2bc051(0x1a7)](_0x5ad208)[_0x2bc051(0x106)](_0x504f72(this[_0x2bc051(0x199)][_0x2bc051(0x1ec)],_0x2bc051(0x189))));}[_0x57cebd(0x140)](){const _0x17b79b=_0x57cebd;this[_0x17b79b(0x143)]&&(this[_0x17b79b(0x199)][_0x17b79b(0x111)][_0x17b79b(0x1a7)](_0x5ad208)[_0x17b79b(0x1ba)](this[_0x17b79b(0x143)]),this[_0x17b79b(0x143)]=null);}[_0x57cebd(0x170)](_0x244007){const _0x5088c9=_0x57cebd,_0x345225=_0x244007[_0x5088c9(0x135)](_0x189e67=>_0x189e67[_0x5088c9(0x12b)]());return this[_0x5088c9(0x1e7)][_0x5088c9(0x1f0)](_0x345225);}[_0x57cebd(0x1c5)](_0x21a551,_0x3eb3dd){const _0x47f190=_0x57cebd;return this[_0x47f190(0x1e7)][_0x47f190(0x16c)](_0x21a551)[_0x47f190(0x135)]((_0x28e5ed,_0x6621a7)=>{const _0x30b8ef=_0x47f190,_0x4edfa7=_0x30b8ef(0x1c2)==_0x3eb3dd[_0x6621a7][_0x30b8ef(0x164)];if(_0x30b8ef(0x13f)==_0x28e5ed[_0x30b8ef(0x19f)]){const _0x48883b=_0x28e5ed[_0x30b8ef(0x15f)][_0x30b8ef(0x1df)];!this[_0x30b8ef(0x193)][_0x30b8ef(0x1c0)](_0x48883b)&&(this[_0x30b8ef(0x193)][_0x30b8ef(0x161)](_0x30b8ef(0x146),_0x48883b)[_0x30b8ef(0xf2)]=!0x1);}const _0x294bc2=_0x26ea2a[_0x30b8ef(0x12f)](_0x28e5ed,this[_0x30b8ef(0x193)]);return _0x294bc2[_0x30b8ef(0x134)]=_0x28e5ed[_0x30b8ef(0x134)],_0x294bc2[_0x30b8ef(0x178)]=_0x4edfa7,_0x294bc2[_0x30b8ef(0x166)]=_0x4edfa7?null:_0x3eb3dd[_0x6621a7][_0x30b8ef(0x19e)],_0x294bc2[_0x30b8ef(0x1dd)]=_0x30b8ef(0x1bc)===_0x3eb3dd[_0x6621a7][_0x30b8ef(0x164)],_0x294bc2[_0x30b8ef(0x115)]=_0x3eb3dd[_0x6621a7][_0x30b8ef(0x115)],_0x294bc2;});}[_0x57cebd(0x1d8)](){const _0x45b0a1=_0x57cebd;this[_0x45b0a1(0x137)]=!0x0,this[_0x45b0a1(0x127)]()?this[_0x45b0a1(0xf8)]():this[_0x45b0a1(0x137)]=!0x1;}[_0x57cebd(0x127)](){const _0x2c4c5f=_0x57cebd,_0x356b56=this[_0x2c4c5f(0x199)][_0x2c4c5f(0x111)][_0x2c4c5f(0x1a7)](_0x1bfd62)[_0x2c4c5f(0x1d1)][_0x2c4c5f(0x1a7)](this[_0x2c4c5f(0x16a)]);return!this[_0x2c4c5f(0x199)][_0x2c4c5f(0x126)]&&!!_0x356b56&&_0x356b56[_0x2c4c5f(0x16d)]>0x1&&this[_0x2c4c5f(0x137)];}[_0x57cebd(0x151)](){const _0x3a59fb=_0x57cebd;return this[_0x3a59fb(0x18f)][_0x3a59fb(0x16d)]>0x0||this[_0x3a59fb(0x127)]();}}export default l;class Q extends Error{}function X(_0x2c69df,_0x41903c){const _0x504b90=_0x57cebd;for(const _0x436930 of _0x2c69df)_0x436930[_0x504b90(0x148)]=_0x41903c++;}class Y{[_0x57cebd(0x150)];[_0x57cebd(0x12e)];constructor(_0x2dfa24){const _0x8f8b12=_0x57cebd;this[_0x8f8b12(0x150)]=_0x2dfa24,this[_0x8f8b12(0x12e)]=new WeakMap();}[_0x57cebd(0x14c)](_0x491690){const _0x2edfe1=_0x57cebd;let _0x3a661d=_0x491690[_0x2edfe1(0x16d)];for(;_0x3a661d--;){const _0x221d5f=_0x491690[_0x3a661d];if(!this[_0x2edfe1(0x150)][_0x2edfe1(0x1f4)](_0x221d5f)){if(!this[_0x2edfe1(0x12e)][_0x2edfe1(0x1f4)](_0x221d5f)){const _0x1b3611=_0x29d06f()[_0x2edfe1(0x131)](0x1,0x12);this[_0x2edfe1(0x12e)][_0x2edfe1(0x1c8)](_0x221d5f,_0x1b3611);}return this[_0x2edfe1(0x12e)][_0x2edfe1(0x1a7)](_0x221d5f);}}}[_0x57cebd(0x1be)](_0x5e0bf8,_0x2474da){const _0x57c1a6=_0x57cebd;if(!_0x2474da)return;let _0x2c405c=_0x5e0bf8[_0x57c1a6(0x16d)];for(;_0x2c405c--;){const _0x145b33=_0x5e0bf8[_0x2c405c];this[_0x57c1a6(0x150)][_0x57c1a6(0x1f4)](_0x145b33)||this[_0x57c1a6(0x12e)][_0x57c1a6(0x1c8)](_0x145b33,_0x2474da);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27cdbd=_0x46bd;(function(_0x166733,_0x232db8){const _0x19d23a=_0x46bd,_0x59fce0=_0x166733();while(!![]){try{const _0x1878b9=-parseInt(_0x19d23a(0x1ba))/0x1+-parseInt(_0x19d23a(0x198))/0x2*(-parseInt(_0x19d23a(0x1b2))/0x3)+-parseInt(_0x19d23a(0x190))/0x4*(-parseInt(_0x19d23a(0x18e))/0x5)+parseInt(_0x19d23a(0x1c2))/0x6*(parseInt(_0x19d23a(0x1b9))/0x7)+-parseInt(_0x19d23a(0x1c1))/0x8+parseInt(_0x19d23a(0x1b8))/0x9*(parseInt(_0x19d23a(0x1c4))/0xa)+-parseInt(_0x19d23a(0x1c9))/0xb;if(_0x1878b9===_0x232db8)break;else _0x59fce0['push'](_0x59fce0['shift']());}catch(_0x529a85){_0x59fce0['push'](_0x59fce0['shift']());}}}(_0x35d6,0x499e3));import{ContextPlugin as _0x3ef552}from'ckeditor5/src/core.js';import{Collection as _0x4af672,CKEditorError as _0x818e8e}from'ckeditor5/src/utils.js';import _0x57c045 from'./websocketgateway.js';function _0x46bd(_0x5e4c3b,_0x55ddd7){const _0x35d6c0=_0x35d6();return _0x46bd=function(_0x46bd3f,_0x16ed40){_0x46bd3f=_0x46bd3f-0x18c;let _0x486896=_0x35d6c0[_0x46bd3f];return _0x486896;},_0x46bd(_0x5e4c3b,_0x55ddd7);}import{Users as _0x14ea6b}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x3ef552{[_0x27cdbd(0x199)];[_0x27cdbd(0x193)];[_0x27cdbd(0x1c3)];[_0x27cdbd(0x1bc)];[_0x27cdbd(0x1b4)];[_0x27cdbd(0x1ca)];static get[_0x27cdbd(0x1a2)](){const _0x529c26=_0x27cdbd;return _0x529c26(0x1c7);}static get[_0x27cdbd(0x192)](){return!0x0;}static get[_0x27cdbd(0x1aa)](){return!0x0;}static get[_0x27cdbd(0x1ac)](){return[_0x57c045,_0x14ea6b];}constructor(_0x2dc23a){const _0x70c08f=_0x27cdbd;super(_0x2dc23a),this[_0x70c08f(0x199)]=new Map(),this[_0x70c08f(0x193)]=new Map(),this[_0x70c08f(0x1c3)]=new _0x4af672(),this[_0x70c08f(0x1bc)]=new Map(),this[_0x70c08f(0x1b4)]=0x0,this[_0x70c08f(0x1ca)]=this[_0x70c08f(0x1ab)][_0x70c08f(0x1b0)][_0x70c08f(0x1ad)](_0x14ea6b);}[_0x27cdbd(0x1b7)](){const _0x47f7b7=_0x27cdbd,_0x2ad071=this[_0x47f7b7(0x1ab)][_0x47f7b7(0x1b0)][_0x47f7b7(0x1ad)](_0x57c045);this[_0x47f7b7(0x1b5)](_0x2ad071,_0x47f7b7(0x197),(_0x1913f9,_0x25df2d,_0x2a8f06)=>{const _0x256773=_0x47f7b7;if(_0x256773(0x1a3)!==_0x2a8f06)this[_0x256773(0x199)][_0x256773(0x18f)](_0x43603e=>_0x43603e[_0x256773(0x19e)]()),this[_0x256773(0x193)][_0x256773(0x18f)](_0x22732e=>_0x22732e[_0x256773(0x19e)]()),this[_0x256773(0x1c3)][_0x256773(0x19e)]();else{for(const [_0x179c44,_0xce134f]of this[_0x256773(0x1bc)])for(const _0x3c4f38 of _0xce134f)this[_0x256773(0x1a6)](_0x179c44,_0x3c4f38);}}),this[_0x47f7b7(0x1bf)](_0x2ad071[_0x47f7b7(0x1c5)]['me'],!0x0);}[_0x27cdbd(0x195)](_0x5c349d,_0x44668a){const _0x363493=_0x27cdbd;if(this[_0x363493(0x1bc)][_0x363493(0x1a8)](_0x5c349d))throw new _0x818e8e(_0x363493(0x1ae),null,{'channelId':_0x5c349d});this[_0x363493(0x1bc)][_0x363493(0x1a9)](_0x5c349d,_0x44668a),this[_0x363493(0x199)][_0x363493(0x1a9)](_0x5c349d,new _0x4af672()),this[_0x363493(0x193)][_0x363493(0x1a9)](_0x5c349d,new _0x4af672()),this[_0x363493(0x1b5)](_0x44668a,_0x363493(0x1b1),(_0x4df1b1,_0x16d729)=>this[_0x363493(0x1a6)](_0x5c349d,_0x16d729)),this[_0x363493(0x1b5)](_0x44668a,_0x363493(0x1a5),(_0x4deeaa,_0xe50b14)=>this[_0x363493(0x1a4)](_0x5c349d,_0xe50b14));for(const _0x3d1490 of _0x44668a)this[_0x363493(0x1a6)](_0x5c349d,_0x3d1490);}[_0x27cdbd(0x1b3)](_0x31dfdf){const _0x1f303d=_0x27cdbd;if(!this[_0x1f303d(0x1bc)][_0x1f303d(0x1a8)](_0x31dfdf))throw new _0x818e8e(_0x1f303d(0x1c6),null,{'channelId':_0x31dfdf});const _0x5541ae=this[_0x1f303d(0x1bc)][_0x1f303d(0x1ad)](_0x31dfdf);this[_0x1f303d(0x19b)](_0x5541ae);for(const _0x2a56c9 of _0x5541ae)_0x1f303d(0x1a3)===this[_0x1f303d(0x1ab)][_0x1f303d(0x1b0)][_0x1f303d(0x1ad)](_0x57c045)[_0x1f303d(0x191)]&&this[_0x1f303d(0x1a4)](_0x31dfdf,_0x2a56c9);this[_0x1f303d(0x1bc)][_0x1f303d(0x1c8)](_0x31dfdf),this[_0x1f303d(0x199)][_0x1f303d(0x1c8)](_0x31dfdf),this[_0x1f303d(0x193)][_0x1f303d(0x1c8)](_0x31dfdf);}get[_0x27cdbd(0x196)](){const _0x3c67c3=_0x27cdbd;return this[_0x3c67c3(0x1ab)][_0x3c67c3(0x1b0)][_0x3c67c3(0x1ad)](_0x57c045)[_0x3c67c3(0x1c5)][_0x3c67c3(0x1be)];}[_0x27cdbd(0x19f)](_0x596ff0){const _0x15e35f=_0x27cdbd;for(const _0x260e72 of this[_0x15e35f(0x199)][_0x15e35f(0x1b6)]())for(const _0x5269b9 of _0x260e72)if(_0x5269b9['id']===_0x596ff0)return _0x5269b9[_0x15e35f(0x19c)];}[_0x27cdbd(0x18c)](_0x93215f,_0x2df17c){const _0x271ace=_0x27cdbd,_0x1b8b4c=_0x2df17c?[this[_0x271ace(0x199)][_0x271ace(0x1ad)](_0x2df17c)]:this[_0x271ace(0x199)][_0x271ace(0x1b6)](),_0xa0bdfe=new Set();for(const _0x2206ae of _0x1b8b4c)for(const _0x3e47fe of _0x2206ae)_0x3e47fe[_0x271ace(0x19c)]['id']===_0x93215f['id']&&_0xa0bdfe[_0x271ace(0x1b1)](_0x3e47fe['id']);return _0xa0bdfe;}[_0x27cdbd(0x1bd)](_0x2da2d1){const _0x43bb98=_0x27cdbd;for(const _0xb77cab of this[_0x43bb98(0x199)][_0x43bb98(0x1b6)]())for(const _0x3735f4 of _0xb77cab)if(_0x3735f4[_0x43bb98(0x19c)]===_0x2da2d1)return _0x3735f4[_0x43bb98(0x19d)];}[_0x27cdbd(0x1a6)](_0x5bb31f,_0x1de30c){const _0x3f9a51=_0x27cdbd;if(_0x3f9a51(0x1a3)!==this[_0x3f9a51(0x1ab)][_0x3f9a51(0x1b0)][_0x3f9a51(0x1ad)](_0x57c045)[_0x3f9a51(0x191)])return;const _0x16d794=_0x1de30c[_0x3f9a51(0x19c)],_0x5e34fc=this[_0x3f9a51(0x1ca)][_0x3f9a51(0x1bb)](_0x16d794['id'])||this[_0x3f9a51(0x1bf)](_0x16d794),_0x3cd083=Object[_0x3f9a51(0x19a)]({},_0x1de30c,{'user':_0x5e34fc});this[_0x3f9a51(0x199)][_0x3f9a51(0x1ad)](_0x5bb31f)[_0x3f9a51(0x1b1)](_0x3cd083);const _0x55f8a0=this[_0x3f9a51(0x193)][_0x3f9a51(0x1ad)](_0x5bb31f);_0x55f8a0[_0x3f9a51(0x1a8)](_0x5e34fc['id'])||_0x55f8a0[_0x3f9a51(0x1b1)](_0x5e34fc),this[_0x3f9a51(0x1c3)][_0x3f9a51(0x1a8)](_0x5e34fc['id'])||this[_0x3f9a51(0x1c3)][_0x3f9a51(0x1b1)](_0x5e34fc,_0x5e34fc[_0x3f9a51(0x18d)]?0x0:void 0x0),this[_0x3f9a51(0x1a0)](_0x3f9a51(0x1c0)+_0x5bb31f,{'channelId':_0x5bb31f,'session':_0x3cd083});}[_0x27cdbd(0x1a4)](_0x3586fd,_0x2f5576){const _0x303000=_0x27cdbd;if(_0x303000(0x1a3)!==this[_0x303000(0x1ab)][_0x303000(0x1b0)][_0x303000(0x1ad)](_0x57c045)[_0x303000(0x191)])return;const _0x5e4c98=this[_0x303000(0x193)][_0x303000(0x1ad)](_0x3586fd),_0x992e09=_0x2f5576[_0x303000(0x19c)];_0x992e09['id']&&(this[_0x303000(0x199)][_0x303000(0x1ad)](_0x3586fd)[_0x303000(0x1a5)](_0x2f5576['id']),_0x5e4c98[_0x303000(0x1a8)](_0x992e09['id'])&&!this[_0x303000(0x18c)](_0x992e09,_0x3586fd)[_0x303000(0x1af)]&&_0x5e4c98[_0x303000(0x1a5)](_0x992e09['id']),this[_0x303000(0x1c3)][_0x303000(0x1ad)](_0x992e09['id'])&&!this[_0x303000(0x18c)](_0x992e09)[_0x303000(0x1af)]&&this[_0x303000(0x1c3)][_0x303000(0x1a5)](_0x992e09['id']));}[_0x27cdbd(0x1bf)](_0xfaba2d,_0x4a9ae5){const _0x25e63d=_0x27cdbd,_0x5afea0=this[_0x25e63d(0x1ca)][_0x25e63d(0x194)](_0xfaba2d);return _0x4a9ae5&&this[_0x25e63d(0x1ca)][_0x25e63d(0x1a7)](_0xfaba2d['id']),_0x5afea0[_0x25e63d(0x1a1)]=this[_0x25e63d(0x1b4)]++,_0x5afea0;}}function _0x35d6(){const _0x3e7838=['8796cYauJV','allConnectedUsers','223410xYvoUl','connection','sessions-unregister-not-exist','Sessions','delete','379049PcUiEO','_users','getUserSessions','isMe','10qXSElt','forEach','806272UQtHsS','state','isOfficialPlugin','channelConnectedUsers','addUser','register','mySessionId','change:state','2262YlUbAz','channelSessions','assign','stopListening','user','role','clear','getUserBySessionId','fire','orderNumber','pluginName','connected','_handleSessionRemove','remove','_handleSessionAdd','defineMe','has','set','isPremiumPlugin','context','requires','get','sessions-register-already-registered','size','plugins','add','321ReMjkw','unregister','_uniqueUsersCount','listenTo','values','init','225wgMmkP','77DMaOpb','561684iwzrhW','getUser','_registeredSessions','getUserRole','sessionId','_createUser','sessionAdd:','1608976KBSAzl'];_0x35d6=function(){return _0x3e7838;};return _0x35d6();}
23
+ function _0x55b4(){const _0x547f20=['orderNumber','remove','getUserRole','_users','_handleSessionRemove','fire','add','520209ZLatZB','getUserSessions','listenTo','unregister','isOfficialPlugin','484968HKMqsg','_registeredSessions','sessionId','connection','mySessionId','forEach','channelSessions','plugins','user','get','3210gilyTj','stopListening','10GJOmxt','1041315ipPPTU','1136aeyVPy','pluginName','2MWkTOT','_uniqueUsersCount','context','clear','sessionAdd:','change:state','getUserBySessionId','connected','_createUser','1095736OMjZGO','register','84277NeWNij','addUser','7OWsGlA','size','assign','state','has','getUser','values','_handleSessionAdd','init','isMe','sessions-register-already-registered','requires','defineMe','set','allConnectedUsers','channelConnectedUsers','sessions-unregister-not-exist','isPremiumPlugin','role','879960DNrUrA','Sessions','delete'];_0x55b4=function(){return _0x547f20;};return _0x55b4();}const _0x5ded42=_0xaade;(function(_0x28bae6,_0x2b50bb){const _0x5e6f13=_0xaade,_0x52e135=_0x28bae6();while(!![]){try{const _0x52a782=parseInt(_0x5e6f13(0x166))/0x1*(parseInt(_0x5e6f13(0x15b))/0x2)+parseInt(_0x5e6f13(0x14b))/0x3+parseInt(_0x5e6f13(0x159))/0x4*(parseInt(_0x5e6f13(0x155))/0x5)+parseInt(_0x5e6f13(0x13c))/0x6*(-parseInt(_0x5e6f13(0x168))/0x7)+-parseInt(_0x5e6f13(0x164))/0x8+parseInt(_0x5e6f13(0x146))/0x9*(parseInt(_0x5e6f13(0x157))/0xa)+parseInt(_0x5e6f13(0x158))/0xb;if(_0x52a782===_0x2b50bb)break;else _0x52e135['push'](_0x52e135['shift']());}catch(_0x1f7bb3){_0x52e135['push'](_0x52e135['shift']());}}}(_0x55b4,0x4888c));function _0xaade(_0x5b78c4,_0x4a75e0){const _0x55b4a1=_0x55b4();return _0xaade=function(_0xaade52,_0x25ea10){_0xaade52=_0xaade52-0x131;let _0x4c59e2=_0x55b4a1[_0xaade52];return _0x4c59e2;},_0xaade(_0x5b78c4,_0x4a75e0);}import{ContextPlugin as _0x2a8fff}from'ckeditor5/src/core.js';import{Collection as _0x7f6fd6,CKEditorError as _0x18ea28}from'ckeditor5/src/utils.js';import _0x181b91 from'./websocketgateway.js';import{Users as _0x5a6f05}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x2a8fff{[_0x5ded42(0x151)];[_0x5ded42(0x138)];[_0x5ded42(0x137)];[_0x5ded42(0x14c)];[_0x5ded42(0x15c)];[_0x5ded42(0x142)];static get[_0x5ded42(0x15a)](){const _0xf2a21c=_0x5ded42;return _0xf2a21c(0x13d);}static get[_0x5ded42(0x14a)](){return!0x0;}static get[_0x5ded42(0x13a)](){return!0x0;}static get[_0x5ded42(0x134)](){return[_0x181b91,_0x5a6f05];}constructor(_0x1edff6){const _0x144c4d=_0x5ded42;super(_0x1edff6),this[_0x144c4d(0x151)]=new Map(),this[_0x144c4d(0x138)]=new Map(),this[_0x144c4d(0x137)]=new _0x7f6fd6(),this[_0x144c4d(0x14c)]=new Map(),this[_0x144c4d(0x15c)]=0x0,this[_0x144c4d(0x142)]=this[_0x144c4d(0x15d)][_0x144c4d(0x152)][_0x144c4d(0x154)](_0x5a6f05);}[_0x5ded42(0x131)](){const _0x3376f3=_0x5ded42,_0x375c6b=this[_0x3376f3(0x15d)][_0x3376f3(0x152)][_0x3376f3(0x154)](_0x181b91);this[_0x3376f3(0x148)](_0x375c6b,_0x3376f3(0x160),(_0x381403,_0x52f11d,_0x30a469)=>{const _0x1d6fe6=_0x3376f3;if(_0x1d6fe6(0x162)!==_0x30a469)this[_0x1d6fe6(0x151)][_0x1d6fe6(0x150)](_0x4697f1=>_0x4697f1[_0x1d6fe6(0x15e)]()),this[_0x1d6fe6(0x138)][_0x1d6fe6(0x150)](_0x17a598=>_0x17a598[_0x1d6fe6(0x15e)]()),this[_0x1d6fe6(0x137)][_0x1d6fe6(0x15e)]();else{for(const [_0x3347d2,_0x1d4b30]of this[_0x1d6fe6(0x14c)])for(const _0x17ba1d of _0x1d4b30)this[_0x1d6fe6(0x16f)](_0x3347d2,_0x17ba1d);}}),this[_0x3376f3(0x163)](_0x375c6b[_0x3376f3(0x14e)]['me'],!0x0);}[_0x5ded42(0x165)](_0x564a7c,_0x10a52f){const _0x3a7515=_0x5ded42;if(this[_0x3a7515(0x14c)][_0x3a7515(0x16c)](_0x564a7c))throw new _0x18ea28(_0x3a7515(0x133),null,{'channelId':_0x564a7c});this[_0x3a7515(0x14c)][_0x3a7515(0x136)](_0x564a7c,_0x10a52f),this[_0x3a7515(0x151)][_0x3a7515(0x136)](_0x564a7c,new _0x7f6fd6()),this[_0x3a7515(0x138)][_0x3a7515(0x136)](_0x564a7c,new _0x7f6fd6()),this[_0x3a7515(0x148)](_0x10a52f,_0x3a7515(0x145),(_0x33ea90,_0x2b6ed5)=>this[_0x3a7515(0x16f)](_0x564a7c,_0x2b6ed5)),this[_0x3a7515(0x148)](_0x10a52f,_0x3a7515(0x140),(_0x151433,_0x12efdc)=>this[_0x3a7515(0x143)](_0x564a7c,_0x12efdc));for(const _0xda3734 of _0x10a52f)this[_0x3a7515(0x16f)](_0x564a7c,_0xda3734);}[_0x5ded42(0x149)](_0x1c62d9){const _0x3253f0=_0x5ded42;if(!this[_0x3253f0(0x14c)][_0x3253f0(0x16c)](_0x1c62d9))throw new _0x18ea28(_0x3253f0(0x139),null,{'channelId':_0x1c62d9});const _0xa5b6ee=this[_0x3253f0(0x14c)][_0x3253f0(0x154)](_0x1c62d9);this[_0x3253f0(0x156)](_0xa5b6ee);for(const _0x131843 of _0xa5b6ee)_0x3253f0(0x162)===this[_0x3253f0(0x15d)][_0x3253f0(0x152)][_0x3253f0(0x154)](_0x181b91)[_0x3253f0(0x16b)]&&this[_0x3253f0(0x143)](_0x1c62d9,_0x131843);this[_0x3253f0(0x14c)][_0x3253f0(0x13e)](_0x1c62d9),this[_0x3253f0(0x151)][_0x3253f0(0x13e)](_0x1c62d9),this[_0x3253f0(0x138)][_0x3253f0(0x13e)](_0x1c62d9);}get[_0x5ded42(0x14f)](){const _0x344570=_0x5ded42;return this[_0x344570(0x15d)][_0x344570(0x152)][_0x344570(0x154)](_0x181b91)[_0x344570(0x14e)][_0x344570(0x14d)];}[_0x5ded42(0x161)](_0x45e333){const _0x109145=_0x5ded42;for(const _0xc83b9 of this[_0x109145(0x151)][_0x109145(0x16e)]())for(const _0x569359 of _0xc83b9)if(_0x569359['id']===_0x45e333)return _0x569359[_0x109145(0x153)];}[_0x5ded42(0x147)](_0x16fbd3,_0x4d291f){const _0x43fba9=_0x5ded42,_0x150d2e=_0x4d291f?[this[_0x43fba9(0x151)][_0x43fba9(0x154)](_0x4d291f)]:this[_0x43fba9(0x151)][_0x43fba9(0x16e)](),_0x1a8b3c=new Set();for(const _0x4b4819 of _0x150d2e)for(const _0x299065 of _0x4b4819)_0x299065[_0x43fba9(0x153)]['id']===_0x16fbd3['id']&&_0x1a8b3c[_0x43fba9(0x145)](_0x299065['id']);return _0x1a8b3c;}[_0x5ded42(0x141)](_0x5dbe4e){const _0x181f7c=_0x5ded42;for(const _0x1d773a of this[_0x181f7c(0x151)][_0x181f7c(0x16e)]())for(const _0x618a55 of _0x1d773a)if(_0x618a55[_0x181f7c(0x153)]===_0x5dbe4e)return _0x618a55[_0x181f7c(0x13b)];}[_0x5ded42(0x16f)](_0x5dc358,_0x20006f){const _0x56955b=_0x5ded42;if(_0x56955b(0x162)!==this[_0x56955b(0x15d)][_0x56955b(0x152)][_0x56955b(0x154)](_0x181b91)[_0x56955b(0x16b)])return;const _0x5098d1=_0x20006f[_0x56955b(0x153)],_0x15b1dd=this[_0x56955b(0x142)][_0x56955b(0x16d)](_0x5098d1['id'])||this[_0x56955b(0x163)](_0x5098d1),_0x4a9d99=Object[_0x56955b(0x16a)]({},_0x20006f,{'user':_0x15b1dd});this[_0x56955b(0x151)][_0x56955b(0x154)](_0x5dc358)[_0x56955b(0x145)](_0x4a9d99);const _0x2847b1=this[_0x56955b(0x138)][_0x56955b(0x154)](_0x5dc358);_0x2847b1[_0x56955b(0x16c)](_0x15b1dd['id'])||_0x2847b1[_0x56955b(0x145)](_0x15b1dd),this[_0x56955b(0x137)][_0x56955b(0x16c)](_0x15b1dd['id'])||this[_0x56955b(0x137)][_0x56955b(0x145)](_0x15b1dd,_0x15b1dd[_0x56955b(0x132)]?0x0:void 0x0),this[_0x56955b(0x144)](_0x56955b(0x15f)+_0x5dc358,{'channelId':_0x5dc358,'session':_0x4a9d99});}[_0x5ded42(0x143)](_0x52abcf,_0x17debf){const _0x2011fe=_0x5ded42;if(_0x2011fe(0x162)!==this[_0x2011fe(0x15d)][_0x2011fe(0x152)][_0x2011fe(0x154)](_0x181b91)[_0x2011fe(0x16b)])return;const _0x19e317=this[_0x2011fe(0x138)][_0x2011fe(0x154)](_0x52abcf),_0x4d3925=_0x17debf[_0x2011fe(0x153)];_0x4d3925['id']&&(this[_0x2011fe(0x151)][_0x2011fe(0x154)](_0x52abcf)[_0x2011fe(0x140)](_0x17debf['id']),_0x19e317[_0x2011fe(0x16c)](_0x4d3925['id'])&&!this[_0x2011fe(0x147)](_0x4d3925,_0x52abcf)[_0x2011fe(0x169)]&&_0x19e317[_0x2011fe(0x140)](_0x4d3925['id']),this[_0x2011fe(0x137)][_0x2011fe(0x154)](_0x4d3925['id'])&&!this[_0x2011fe(0x147)](_0x4d3925)[_0x2011fe(0x169)]&&this[_0x2011fe(0x137)][_0x2011fe(0x140)](_0x4d3925['id']));}[_0x5ded42(0x163)](_0x173de4,_0x15151d){const _0x111d80=_0x5ded42,_0x5c212b=this[_0x111d80(0x142)][_0x111d80(0x167)](_0x173de4);return _0x15151d&&this[_0x111d80(0x142)][_0x111d80(0x135)](_0x173de4['id']),_0x5c212b[_0x111d80(0x13f)]=this[_0x111d80(0x15c)]++,_0x5c212b;}}