@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.11 → 46.0.1-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ckeditor/ckeditor5-real-time-collaboration",
3
- "version": "46.0.1-alpha.11",
3
+ "version": "46.0.1-alpha.12",
4
4
  "description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "CKSource (http://cksource.com/)",
@@ -47,19 +47,19 @@
47
47
  ],
48
48
  "dependencies": {
49
49
  "@ckeditor/ckeditor-cloud-services-collaboration": "53.0.0",
50
- "@ckeditor/ckeditor5-cloud-services": "46.0.1-alpha.11",
51
- "@ckeditor/ckeditor5-comments": "46.0.1-alpha.11",
52
- "@ckeditor/ckeditor5-core": "46.0.1-alpha.11",
53
- "@ckeditor/ckeditor5-editor-multi-root": "46.0.1-alpha.11",
54
- "@ckeditor/ckeditor5-engine": "46.0.1-alpha.11",
55
- "@ckeditor/ckeditor5-operations-compressor": "46.0.1-alpha.11",
56
- "@ckeditor/ckeditor5-revision-history": "46.0.1-alpha.11",
57
- "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.11",
58
- "@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.11",
59
- "@ckeditor/ckeditor5-ui": "46.0.1-alpha.11",
60
- "@ckeditor/ckeditor5-utils": "46.0.1-alpha.11",
61
- "ckeditor5": "46.0.1-alpha.11",
62
- "ckeditor5-collaboration": "46.0.1-alpha.11",
50
+ "@ckeditor/ckeditor5-cloud-services": "46.0.1-alpha.12",
51
+ "@ckeditor/ckeditor5-comments": "46.0.1-alpha.12",
52
+ "@ckeditor/ckeditor5-core": "46.0.1-alpha.12",
53
+ "@ckeditor/ckeditor5-editor-multi-root": "46.0.1-alpha.12",
54
+ "@ckeditor/ckeditor5-engine": "46.0.1-alpha.12",
55
+ "@ckeditor/ckeditor5-operations-compressor": "46.0.1-alpha.12",
56
+ "@ckeditor/ckeditor5-revision-history": "46.0.1-alpha.12",
57
+ "@ckeditor/ckeditor5-theme-lark": "46.0.1-alpha.12",
58
+ "@ckeditor/ckeditor5-track-changes": "46.0.1-alpha.12",
59
+ "@ckeditor/ckeditor5-ui": "46.0.1-alpha.12",
60
+ "@ckeditor/ckeditor5-utils": "46.0.1-alpha.12",
61
+ "ckeditor5": "46.0.1-alpha.12",
62
+ "ckeditor5-collaboration": "46.0.1-alpha.12",
63
63
  "es-toolkit": "1.39.5"
64
64
  },
65
65
  "types": "src/index.d.ts",
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ba319=_0x3181;function _0x589c(){const _0x536eff=['render','.ck-balloon-panel_with-arrow','256662riLeld','65568VvjCTn','checkIfScrollable','setTemplate','480188ewOACS','100TuAYYI','ck-presence-list__dropdown-list','listWrapperView','Connected\x20users\x20list\x20dropdown\x20menu','listenTo','ariaLabel','ck-presence-list__dropdown-list-wrapper_scrollable','ck-list','innerHeight','4764mseBfA','1847616EyzGAY','ariaLabelledBy','clientHeight','ck-reset','presencelist:hide','window','relatedTarget','max','change','resize','11131362KbyIZw','role','11588Zesqfz','application','765hPXTSJ','items','scrollHeight','set','element','fire','ck-presence-list__dropdown-list-wrapper','contains','.ck-presence-list__list','querySelector','bindTemplate','4mbYqWu','div','_isScrollable','350TWaZgd'];_0x589c=function(){return _0x536eff;};return _0x589c();}(function(_0x59cb42,_0x1e21ed){const _0x27c1ef=_0x3181,_0x49433b=_0x59cb42();while(!![]){try{const _0x24a12c=-parseInt(_0x27c1ef(0x7c))/0x1+parseInt(_0x27c1ef(0x72))/0x2*(parseInt(_0x27c1ef(0x86))/0x3)+-parseInt(_0x27c1ef(0x93))/0x4*(-parseInt(_0x27c1ef(0x95))/0x5)+-parseInt(_0x27c1ef(0x79))/0x6*(parseInt(_0x27c1ef(0x75))/0x7)+-parseInt(_0x27c1ef(0x87))/0x8+-parseInt(_0x27c1ef(0x78))/0x9*(-parseInt(_0x27c1ef(0x7d))/0xa)+parseInt(_0x27c1ef(0x91))/0xb;if(_0x24a12c===_0x1e21ed)break;else _0x49433b['push'](_0x49433b['shift']());}catch(_0x1d5eb8){_0x49433b['push'](_0x49433b['shift']());}}}(_0x589c,0x76a6f));function _0x3181(_0xf006cf,_0x264360){const _0x589cda=_0x589c();return _0x3181=function(_0x31816e,_0x1d9023){_0x31816e=_0x31816e-0x6c;let _0x9afe7d=_0x589cda[_0x31816e];return _0x9afe7d;},_0x3181(_0xf006cf,_0x264360);}import{ListView as _0x1425c4,View as _0x4e82cd}from'ckeditor5/src/ui.js';import{global as _0x349d74}from'ckeditor5/src/utils.js';import{getTranslation as _0x498581}from'../../common-translations.js';export class PresenceDropdownListView extends _0x4e82cd{[_0x5ba319(0x7f)];constructor(_0x279a32,_0x3d1dce){const _0x3a8644=_0x5ba319;super(_0x279a32);const _0x10c376=this[_0x3a8644(0x71)];this[_0x3a8644(0x7f)]=new PresenceDropdownListWrapperView(_0x279a32,_0x3d1dce),this[_0x3a8644(0x7b)]({'tag':_0x3a8644(0x73),'attributes':{'tabindex':-0x1,'role':_0x3a8644(0x94),'class':['ck',_0x3a8644(0x7e)],'aria-label':_0x498581(_0x279a32,_0x3a8644(0x80))},'children':[this[_0x3a8644(0x7f)]],'on':{'mouseleave':_0x10c376['to'](_0x2ae849=>{const _0x55cb7e=_0x3a8644,_0x3de378=_0x2ae849,_0x214825=document[_0x55cb7e(0x70)](_0x55cb7e(0x6f)),_0x51fcab=document[_0x55cb7e(0x70)](_0x55cb7e(0x77));_0x214825?.[_0x55cb7e(0x6e)](_0x3de378[_0x55cb7e(0x8d)])||_0x51fcab?.[_0x55cb7e(0x6e)](_0x3de378[_0x55cb7e(0x8d)])||this[_0x55cb7e(0x6c)](_0x55cb7e(0x8b));})}});}}export class PresenceDropdownListWrapperView extends _0x1425c4{constructor(_0xcc14a4,_0x257207){const _0x3443ef=_0x5ba319;super(_0xcc14a4);const _0x76afe6=this[_0x3443ef(0x71)];this[_0x3443ef(0x98)](_0x3443ef(0x74),!0x1),this[_0x3443ef(0x7b)]({'tag':_0x257207?_0x3443ef(0x73):'ul','attributes':{'class':['ck',_0x3443ef(0x8a),_0x3443ef(0x84),_0x3443ef(0x6d),_0x76afe6['if'](_0x3443ef(0x74),_0x3443ef(0x83))],'role':_0x76afe6['to'](_0x3443ef(0x92)),'aria-label':_0x76afe6['to'](_0x3443ef(0x82)),'aria-labelledby':_0x76afe6['to'](_0x3443ef(0x88))},'children':this[_0x3443ef(0x96)]}),this[_0x3443ef(0x81)](_0x349d74[_0x3443ef(0x8c)],_0x3443ef(0x90),()=>this[_0x3443ef(0x7a)]()),this[_0x3443ef(0x96)]['on'](_0x3443ef(0x8f),()=>this[_0x3443ef(0x7a)]());}[_0x5ba319(0x76)](){const _0x5df44a=_0x5ba319;super[_0x5df44a(0x76)](),this[_0x5df44a(0x7a)]();}[_0x5ba319(0x7a)](){const _0x1569d8=_0x5ba319,_0x18e096=this[_0x1569d8(0x99)];_0x18e096&&(this[_0x1569d8(0x74)]=Math[_0x1569d8(0x8e)](_0x18e096[_0x1569d8(0x97)],_0x18e096[_0x1569d8(0x89)])>0.8*window[_0x1569d8(0x85)]);}}
23
+ const _0x4c1317=_0x166e;(function(_0x2edef9,_0x1ad9d3){const _0x236a70=_0x166e,_0x15914=_0x2edef9();while(!![]){try{const _0x35aeef=-parseInt(_0x236a70(0x166))/0x1+-parseInt(_0x236a70(0x173))/0x2+parseInt(_0x236a70(0x16a))/0x3*(parseInt(_0x236a70(0x177))/0x4)+parseInt(_0x236a70(0x160))/0x5+parseInt(_0x236a70(0x171))/0x6+parseInt(_0x236a70(0x162))/0x7*(parseInt(_0x236a70(0x15d))/0x8)+-parseInt(_0x236a70(0x15a))/0x9;if(_0x35aeef===_0x1ad9d3)break;else _0x15914['push'](_0x15914['shift']());}catch(_0x33266d){_0x15914['push'](_0x15914['shift']());}}}(_0x39a8,0x2687f));function _0x39a8(){const _0xb3af24=['.ck-balloon-panel_with-arrow','clientHeight','6377580XxMZEN','Connected\x20users\x20list\x20dropdown\x20menu','_isScrollable','48ztrYTS','querySelector','ariaLabelledBy','1297350yvmhOk','ck-presence-list__dropdown-list','256949lPWBhY','ck-presence-list__dropdown-list-wrapper_scrollable','ck-list','ck-presence-list__dropdown-list-wrapper','9126ZnoEWD','contains','application','bindTemplate','339uzXtmi','relatedTarget','.ck-presence-list__list','fire','listWrapperView','presencelist:hide','setTemplate','1782042SJDpZE','innerHeight','9994JLAFwq','max','ck-reset','set','3676oLxgSI','window','listenTo','scrollHeight','checkIfScrollable','div','resize','ariaLabel','role','change','element','render','items'];_0x39a8=function(){return _0xb3af24;};return _0x39a8();}function _0x166e(_0x1e0357,_0x4b4cf6){const _0x39a89f=_0x39a8();return _0x166e=function(_0x166eca,_0x2f04a9){_0x166eca=_0x166eca-0x152;let _0x441bd3=_0x39a89f[_0x166eca];return _0x441bd3;},_0x166e(_0x1e0357,_0x4b4cf6);}import{ListView as _0x4fad7f,View as _0xe5c9c8}from'ckeditor5/src/ui.js';import{global as _0x474b1f}from'ckeditor5/src/utils.js';import{getTranslation as _0x4c9ee7}from'../../common-translations.js';export class PresenceDropdownListView extends _0xe5c9c8{[_0x4c1317(0x16e)];constructor(_0x408ed2,_0x32cd4b){const _0x5d8c62=_0x4c1317;super(_0x408ed2);const _0x10828d=this[_0x5d8c62(0x169)];this[_0x5d8c62(0x16e)]=new PresenceDropdownListWrapperView(_0x408ed2,_0x32cd4b),this[_0x5d8c62(0x170)]({'tag':_0x5d8c62(0x17c),'attributes':{'tabindex':-0x1,'role':_0x5d8c62(0x168),'class':['ck',_0x5d8c62(0x161)],'aria-label':_0x4c9ee7(_0x408ed2,_0x5d8c62(0x15b))},'children':[this[_0x5d8c62(0x16e)]],'on':{'mouseleave':_0x10828d['to'](_0x27bd09=>{const _0x519453=_0x5d8c62,_0x22617a=_0x27bd09,_0x15218c=document[_0x519453(0x15e)](_0x519453(0x16c)),_0x127ba1=document[_0x519453(0x15e)](_0x519453(0x158));_0x15218c?.[_0x519453(0x167)](_0x22617a[_0x519453(0x16b)])||_0x127ba1?.[_0x519453(0x167)](_0x22617a[_0x519453(0x16b)])||this[_0x519453(0x16d)](_0x519453(0x16f));})}});}}export class PresenceDropdownListWrapperView extends _0x4fad7f{constructor(_0x52bc44,_0x62bcb4){const _0xa19912=_0x4c1317;super(_0x52bc44);const _0x8b39c1=this[_0xa19912(0x169)];this[_0xa19912(0x176)](_0xa19912(0x15c),!0x1),this[_0xa19912(0x170)]({'tag':_0x62bcb4?_0xa19912(0x17c):'ul','attributes':{'class':['ck',_0xa19912(0x175),_0xa19912(0x164),_0xa19912(0x165),_0x8b39c1['if'](_0xa19912(0x15c),_0xa19912(0x163))],'role':_0x8b39c1['to'](_0xa19912(0x153)),'aria-label':_0x8b39c1['to'](_0xa19912(0x152)),'aria-labelledby':_0x8b39c1['to'](_0xa19912(0x15f))},'children':this[_0xa19912(0x157)]}),this[_0xa19912(0x179)](_0x474b1f[_0xa19912(0x178)],_0xa19912(0x17d),()=>this[_0xa19912(0x17b)]()),this[_0xa19912(0x157)]['on'](_0xa19912(0x154),()=>this[_0xa19912(0x17b)]());}[_0x4c1317(0x156)](){const _0x38f7c1=_0x4c1317;super[_0x38f7c1(0x156)](),this[_0x38f7c1(0x17b)]();}[_0x4c1317(0x17b)](){const _0x29c3e3=_0x4c1317,_0x5058ae=this[_0x29c3e3(0x155)];_0x5058ae&&(this[_0x29c3e3(0x15c)]=Math[_0x29c3e3(0x174)](_0x5058ae[_0x29c3e3(0x17a)],_0x5058ae[_0x29c3e3(0x159)])>0.8*window[_0x29c3e3(0x172)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52f881=_0x3da2;function _0x49da(){const _0x335c6e=['aria-expanded','relatedTarget','ck-presence-list__list','setAttribute','list','3782528aZQwRJ','50tcqzWX','render','Connected\x20users\x20list','listenTo','8sPBwHD','setTemplate','12lIVDug','7405ljeLku','.ck-presence-list__dropdown-list','removeAttribute','829555ucoUUp','hasPopup','2295873HSjMfg','querySelector','fire','focus','keystrokes','isExpanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','contains','set','8859042ipmhGg','2806287RPhcuh','bindTemplate','element','2468284HGePwJ','presencelist:show','190kSTvbk','createCollection','change:hasPopup','items','.ck-balloon-panel_with-arrow','div','presencelist:hide'];_0x49da=function(){return _0x335c6e;};return _0x49da();}(function(_0x49ae6c,_0x47bb04){const _0x4bda42=_0x3da2,_0x32f252=_0x49ae6c();while(!![]){try{const _0x4efb69=-parseInt(_0x4bda42(0x1c4))/0x1*(-parseInt(_0x4bda42(0x1b0))/0x2)+-parseInt(_0x4bda42(0x1c9))/0x3+parseInt(_0x4bda42(0x1bc))/0x4+parseInt(_0x4bda42(0x1c7))/0x5*(parseInt(_0x4bda42(0x1c3))/0x6)+-parseInt(_0x4bda42(0x1ae))/0x7+parseInt(_0x4bda42(0x1c1))/0x8*(parseInt(_0x4bda42(0x1aa))/0x9)+parseInt(_0x4bda42(0x1bd))/0xa*(-parseInt(_0x4bda42(0x1ab))/0xb);if(_0x4efb69===_0x47bb04)break;else _0x32f252['push'](_0x32f252['shift']());}catch(_0x70e520){_0x32f252['push'](_0x32f252['shift']());}}}(_0x49da,0x8b983));import{View as _0x5ef98a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x40470f}from'ckeditor5/src/utils.js';function _0x3da2(_0x41f12f,_0x4ade20){const _0x49dacb=_0x49da();return _0x3da2=function(_0x3da2b3,_0x49423d){_0x3da2b3=_0x3da2b3-0x1a9;let _0x4989cb=_0x49dacb[_0x3da2b3];return _0x4989cb;},_0x3da2(_0x41f12f,_0x4ade20);}import{getTranslation as _0x1d3131}from'../../common-translations.js';export class PresenceInlineListView extends _0x5ef98a{[_0x52f881(0x1b3)];[_0x52f881(0x1cd)];constructor(_0x228d56){const _0x4364bc=_0x52f881;super(_0x228d56);const _0x194e8a=this[_0x4364bc(0x1ac)];this[_0x4364bc(0x1b3)]=this[_0x4364bc(0x1b1)](),this[_0x4364bc(0x1cd)]=new _0x40470f(),this[_0x4364bc(0x1a9)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4364bc(0x1c2)]({'tag':_0x4364bc(0x1b5),'attributes':{'aria-haspopup':_0x194e8a['if'](_0x4364bc(0x1c8)),'aria-expanded':_0x194e8a['to'](_0x4364bc(0x1ce),_0x390800=>this[_0x4364bc(0x1c8)]&&String(_0x390800)),'aria-label':_0x194e8a['to'](_0x4364bc(0x1c8),_0x5df267=>_0x1d3131(_0x228d56,_0x5df267?_0x4364bc(0x1cf):_0x4364bc(0x1bf))),'role':_0x4364bc(0x1bb),'tabindex':_0x194e8a['to'](_0x4364bc(0x1c8),_0x56a472=>!!_0x56a472&&0x0),'class':['ck',_0x4364bc(0x1b9)]},'children':this[_0x4364bc(0x1b3)],'on':{'mouseenter':_0x194e8a['to'](()=>this[_0x4364bc(0x1cb)](_0x4364bc(0x1af))),'mouseleave':_0x194e8a['to'](_0x42846b=>{const _0x4672f2=_0x4364bc,_0x5a9f41=_0x42846b,_0x350fed=document[_0x4672f2(0x1ca)](_0x4672f2(0x1c5)),_0x5c9fbd=document[_0x4672f2(0x1ca)](_0x4672f2(0x1b4));_0x350fed?.[_0x4672f2(0x1d0)](_0x5a9f41[_0x4672f2(0x1b8)])||_0x5c9fbd?.[_0x4672f2(0x1d0)](_0x5a9f41[_0x4672f2(0x1b8)])||this[_0x4672f2(0x1cb)](_0x4672f2(0x1b6));})}}),this['on'](_0x4364bc(0x1b2),(_0x341f4a,_0xc3a097,_0x47df7f)=>{const _0x2e3c44=_0x4364bc;this[_0x2e3c44(0x1ad)]&&(_0x47df7f?this[_0x2e3c44(0x1ad)][_0x2e3c44(0x1ba)](_0x2e3c44(0x1b7),String(this[_0x2e3c44(0x1ce)])):this[_0x2e3c44(0x1ad)][_0x2e3c44(0x1c6)](_0x2e3c44(0x1b7)));});}[_0x52f881(0x1cc)](){const _0x542bd3=_0x52f881;this[_0x542bd3(0x1ad)][_0x542bd3(0x1cc)]();}[_0x52f881(0x1be)](){const _0x570e77=_0x52f881;super[_0x570e77(0x1be)](),this[_0x570e77(0x1cd)][_0x570e77(0x1c0)](this[_0x570e77(0x1ad)]);}}
23
+ function _0x5a83(){const _0xb0375a=['setTemplate','ck-presence-list__list','set','presencelist:show','list','112920acBXmK','createCollection','aria-expanded','listenTo','querySelector','468944yYVboZ','36mnbDov','focus','242knQsze','13723785dsOZGX','8203YBIWGJ','render','4558168CbAyXU','div','removeAttribute','presencelist:hide','items','.ck-presence-list__dropdown-list','11mDWLFi','bindTemplate','contains','change:hasPopup','relatedTarget','setAttribute','element','hasPopup','fire','1691620dPodjv','8991464iCJRjO','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','isExpanded','.ck-balloon-panel_with-arrow','keystrokes','3QsLYTW'];_0x5a83=function(){return _0xb0375a;};return _0x5a83();}const _0x2321d3=_0x3712;(function(_0x5737ba,_0x59a52d){const _0x51d966=_0x3712,_0x5d5b91=_0x5737ba();while(!![]){try{const _0x32046b=-parseInt(_0x51d966(0x194))/0x1*(parseInt(_0x51d966(0x192))/0x2)+parseInt(_0x51d966(0x184))/0x3*(-parseInt(_0x51d966(0x196))/0x4)+-parseInt(_0x51d966(0x18a))/0x5*(-parseInt(_0x51d966(0x190))/0x6)+parseInt(_0x51d966(0x18f))/0x7+parseInt(_0x51d966(0x17e))/0x8+parseInt(_0x51d966(0x193))/0x9+parseInt(_0x51d966(0x17d))/0xa*(parseInt(_0x51d966(0x19c))/0xb);if(_0x32046b===_0x59a52d)break;else _0x5d5b91['push'](_0x5d5b91['shift']());}catch(_0x50e087){_0x5d5b91['push'](_0x5d5b91['shift']());}}}(_0x5a83,0xd8e1f));import{View as _0x14787d}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x14c57b}from'ckeditor5/src/utils.js';function _0x3712(_0x61825f,_0x136d31){const _0x5a8398=_0x5a83();return _0x3712=function(_0x3712f4,_0x1ecb9a){_0x3712f4=_0x3712f4-0x17a;let _0x382dfc=_0x5a8398[_0x3712f4];return _0x382dfc;},_0x3712(_0x61825f,_0x136d31);}import{getTranslation as _0x586056}from'../../common-translations.js';export class PresenceInlineListView extends _0x14787d{[_0x2321d3(0x19a)];[_0x2321d3(0x183)];constructor(_0x16c52a){const _0x16fb80=_0x2321d3;super(_0x16c52a);const _0x3fa576=this[_0x16fb80(0x19d)];this[_0x16fb80(0x19a)]=this[_0x16fb80(0x18b)](),this[_0x16fb80(0x183)]=new _0x14c57b(),this[_0x16fb80(0x187)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x16fb80(0x185)]({'tag':_0x16fb80(0x197),'attributes':{'aria-haspopup':_0x3fa576['if'](_0x16fb80(0x17b)),'aria-expanded':_0x3fa576['to'](_0x16fb80(0x181),_0x2bbe47=>this[_0x16fb80(0x17b)]&&String(_0x2bbe47)),'aria-label':_0x3fa576['to'](_0x16fb80(0x17b),_0x3464b8=>_0x586056(_0x16c52a,_0x3464b8?_0x16fb80(0x17f):_0x16fb80(0x180))),'role':_0x16fb80(0x189),'tabindex':_0x3fa576['to'](_0x16fb80(0x17b),_0x11f983=>!!_0x11f983&&0x0),'class':['ck',_0x16fb80(0x186)]},'children':this[_0x16fb80(0x19a)],'on':{'mouseenter':_0x3fa576['to'](()=>this[_0x16fb80(0x17c)](_0x16fb80(0x188))),'mouseleave':_0x3fa576['to'](_0x3c19e3=>{const _0x42be77=_0x16fb80,_0x3128a7=_0x3c19e3,_0x228057=document[_0x42be77(0x18e)](_0x42be77(0x19b)),_0x4ece8d=document[_0x42be77(0x18e)](_0x42be77(0x182));_0x228057?.[_0x42be77(0x19e)](_0x3128a7[_0x42be77(0x1a0)])||_0x4ece8d?.[_0x42be77(0x19e)](_0x3128a7[_0x42be77(0x1a0)])||this[_0x42be77(0x17c)](_0x42be77(0x199));})}}),this['on'](_0x16fb80(0x19f),(_0x360f80,_0x1d1fda,_0xdb7fd8)=>{const _0x2670e9=_0x16fb80;this[_0x2670e9(0x17a)]&&(_0xdb7fd8?this[_0x2670e9(0x17a)][_0x2670e9(0x1a1)](_0x2670e9(0x18c),String(this[_0x2670e9(0x181)])):this[_0x2670e9(0x17a)][_0x2670e9(0x198)](_0x2670e9(0x18c)));});}[_0x2321d3(0x191)](){const _0x5ea4c9=_0x2321d3;this[_0x5ea4c9(0x17a)][_0x5ea4c9(0x191)]();}[_0x2321d3(0x195)](){const _0x216716=_0x2321d3;super[_0x216716(0x195)](),this[_0x216716(0x183)][_0x216716(0x18d)](this[_0x216716(0x17a)]);}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x498157=_0x2b91;(function(_0x74d4ec,_0x5db455){const _0x4ab387=_0x2b91,_0x2a1022=_0x74d4ec();while(!![]){try{const _0x1aa063=-parseInt(_0x4ab387(0x1c8))/0x1+parseInt(_0x4ab387(0xea))/0x2*(parseInt(_0x4ab387(0x124))/0x3)+parseInt(_0x4ab387(0x176))/0x4+parseInt(_0x4ab387(0x14e))/0x5*(-parseInt(_0x4ab387(0x1d7))/0x6)+parseInt(_0x4ab387(0x1cb))/0x7+parseInt(_0x4ab387(0x156))/0x8+parseInt(_0x4ab387(0x127))/0x9;if(_0x1aa063===_0x5db455)break;else _0x2a1022['push'](_0x2a1022['shift']());}catch(_0x3bd932){_0x2a1022['push'](_0x2a1022['shift']());}}}(_0x3b59,0x25e42));function _0x2b91(_0x315da2,_0x5ed252){const _0x3b590c=_0x3b59();return _0x2b91=function(_0x2b9167,_0x3e1a79){_0x2b9167=_0x2b9167-0xe9;let _0x11d3cc=_0x3b590c[_0x2b9167];return _0x11d3cc;},_0x2b91(_0x315da2,_0x5ed252);}import{Plugin as _0x4fd8d0,PendingActions as _0x5fee62}from'ckeditor5/src/core.js';import{CKEditorError as _0x39c79a,version as _0x13e62d,uid as _0x56fa90}from'ckeditor5/src/utils.js';import{Notification as _0x17cbaf}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3c2f1e,NoOperation as _0x1af503,InsertOperation as _0x1b74a8,MarkerOperation as _0xa6f18,RootAttributeOperation as _0x223668,OperationFactory as _0x464193,History as _0x12987f}from'ckeditor5/src/engine.js';function _0x3b59(){const _0x418bc4=['rtc-offline','decompress','addToReconnectionStack','_baseBufferDelay','_knownOperations','_isDisconnection','document:write','directChange','_refreshUserSelectionMarkers','startsWith','sessionId','selection','_bufferedOperations','_setUpDataInit','currentDocumentSession','rootName','_isLoaded','collaboration-missing-channelid','_sendBufferedOperations','cloudDocumentVersion','lastDocumentSession','removeFromReconnectionStack','RealTimeCollaborationClient','batch','bind','change:range','get','addRootAttribute','lastOperationId','_loadRoot','off','ready','_connectService','_isConnected','isEnabled','_connectAfterSessionHasBeenFlushed','_getAffectedRoot','lastSyncVersion','_handleReceivedOperations','_setPendingAction','return','config','move','_sendBufferedOperationsDelayId','entries','round','metadata','realtimecollaborationclient-error','sessionAdd:','Permissions','insert','_decompressOperations','_channelId','editing','multi-root-editor-root-attributes-no-root','mySessionId','userId','_getOperationsFromInitData','_updateServerHistory','getIdOfTheLastOperation','toJSON','_operationToId','_addKnownRoot','error','document','_crash','version','state','real-time-collaboration','data','serverHistory','markers','_ignoredOperations','reconnection:\x20flushed\x20session','collaboration','affectsData','isPremiumPlugin','init','cs:removeUser','setIdForTheLastOperation','284534dcUzGA','rtc-destroyed','path','67473SilwGP','locale','_lastServerVersion','end','_shouldSendSelectionUpdate','getConnectedSessions','then','root','getMany','createPositionFromPath','length','plugins','6198nLHhmp','compress','view','_service','suppressErrorInCollaboration','_compressOperations','fromJSON','parse','getUser','_isEditingAllowed','_shouldSendUpdate','realtimecollaborationclient-sendbufferedoperations','CommentsOnly','apply','editor','_disconnectService','change:_isPendingUpdate','wereChangesApplied','filter','roots','_isInit','409','realtimecollaborationclient-handleserverresponse','cloud-services-internal-error:\x20Request\x20timeout.','78232nYGBlS','_saveOperationInBuffer','newRange','set','_handleSendingSelectionMarkers','position','size','forEach','isOfficialPlugin','string','permissions','isReadOnly','unregister','define','_clearPendingAction','_handleInitialConnectionData','_hasSelectionChanged','rootsAttributes','_currentBufferDelay','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','requires','_applyOperationsSet','_sendBufferedOperationsDelayed','_bufferRootLoad','stopListening','clone','addOperation','realtimecollaborationclient-init-connection-failed','_handleReconnectionResponse','realtimecollaborationclient-init-service-internal-error','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createUserMarkerOperations','stop','register','fire','finally','enableReadOnlyMode','code','_compressor','_isAttached','change:hasDomSelection','operationsReceived','_document','history','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.','createRange','getOperations','_initSessionsHandling','realtimecollaborationclient-init-non-existent-root','pluginName','keys','InsertOperation','createdAt','getDocumentDetails','cloudServices.bundleVersion','disconnected','_handleExternalOperations','6klLpNA','_handleServerResponse','remove','3400992PpDqpe','offset','isUndoneOperation','_pendingAction','model','from','_knownRootNames','$root','CollaborativeEditingService','catch','Synchronization\x20issue','_waitUntilSynced','_offset','channelSessions','getRoot','_isPendingUpdate','_operationIdentifier','_disconnectionOperations','map','realtimecollaborationclient-init-service-incorrect-server-operation','initData','add','getOperationAuthor','_handleReconnectionError','createRoot','showWarning','connected','high','_lastSyncedOperationId','realtimecollaborationclient','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.','loadRoot','type','collaboration.channelId','createPositionAt','_fetchMissingUsers','baseVersion','Notification','connection','1410yodFzo','has','connect','affectedSelectable','slice','message','__className','reconnect','195304pgdYts','sessionCreatedAt','marker','listenTo','includes','attributes','PENDING_ACTION_SENDING_DATA','404','disconnect','addRoot','applyOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enqueueChange','_authorId','realtimecollaborationclient-init-document-already-initialized','change:_isEditingAllowed','cloud-services-internal-error:\x20Not\x20connected.','start','differ','disableReadOnlyMode','wasUndone','isDocumentOperation','lastOperationAcceptedAt','realtimecollaborationclient-init-session-connection-error','_initThrowingOnDataSet','reset','sendOperations','push','destroy','addUser','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','setPermissions','963480NcPYwP','_hasSynchronizationProblem'];_0x3b59=function(){return _0x418bc4;};return _0x3b59();}import{WebSocketGateway as _0xcf23fb}from'./websocketgateway.js';import{Sessions as _0x330f0}from'./sessions.js';import{UserMarkers as _0x196185}from'./usermarkers.js';import{getTranslation as _0x2f7dcf}from'../common-translations.js';import{Compressor as _0x1ffcd6}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x41497f}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x375501,CollaborativeEditingService as _0xc532ea}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;class l extends _0x4fd8d0{static [_0x498157(0x12f)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0xc532ea)());[_0x498157(0x133)];[_0x498157(0x182)];[_0x498157(0x1be)];[_0x498157(0x1ac)];[_0x498157(0x1da)];[_0x498157(0x115)];[_0x498157(0x111)];[_0x498157(0x184)];[_0x498157(0x17c)];[_0x498157(0x12d)];[_0x498157(0x12a)];[_0x498157(0xfa)];[_0x498157(0x1a3)];[_0x498157(0x17b)];[_0x498157(0xfc)];[_0x498157(0x143)];[_0x498157(0x138)];[_0x498157(0x137)];static get[_0x498157(0xff)](){return[_0xcf23fb,_0x330f0,_0x196185,_0x5fee62,_0x41497f,_0x17cbaf];}static get[_0x498157(0x11c)](){const _0x314639=_0x498157;return _0x314639(0x18e);}static get[_0x498157(0xf2)](){return!0x0;}static get[_0x498157(0x1c4)](){return!0x0;}get[_0x498157(0x18b)](){const _0x1e6b91=_0x498157;return this[_0x1e6b91(0x1cd)]+this[_0x1e6b91(0x133)];}get[_0x498157(0x1cd)](){const _0x2c62df=_0x498157;return this[_0x2c62df(0x1be)][_0x2c62df(0x1ba)]-this[_0x2c62df(0x133)];}get[_0x498157(0x19d)](){const _0x2d1ac2=_0x498157,_0xee38a5=this[_0x2d1ac2(0x1be)][_0x2d1ac2(0x119)]();for(let _0x4619ee=_0xee38a5[_0x2d1ac2(0x1d5)]-0x1;_0x4619ee>=0x0;_0x4619ee--){const _0x1bdba1=_0xee38a5[_0x4619ee];if(!this[_0x2d1ac2(0x138)][_0x2d1ac2(0x14f)](_0x1bdba1))return _0x1bdba1[_0x2d1ac2(0x14b)]+0x1-this[_0x2d1ac2(0x133)];}return 0x0;}constructor(_0x58171c){const _0x55fa15=_0x498157;if(super(_0x58171c),this[_0x55fa15(0x133)]=0x0,this[_0x55fa15(0x182)]=null,this[_0x55fa15(0x1be)]=new _0x12987f(),this[_0x55fa15(0x1e5)][_0x55fa15(0x1a1)][_0x55fa15(0xf7)](_0x55fa15(0x1c2),{}),this[_0x55fa15(0x1ac)]=this[_0x55fa15(0x1e5)][_0x55fa15(0x1a1)][_0x55fa15(0x192)](_0x55fa15(0x148)),!this[_0x55fa15(0x1ac)])throw new _0x39c79a(_0x55fa15(0x189),this);const _0x5f5185=_0x58171c[_0x55fa15(0x1a1)][_0x55fa15(0x192)](_0x55fa15(0x121))||_0x13e62d;this[_0x55fa15(0x1da)]=new l[(_0x55fa15(0x12f))](_0x5f5185,this[_0x55fa15(0x1ac)]),this[_0x55fa15(0x115)]=this[_0x55fa15(0x1e5)][_0x55fa15(0x12b)][_0x55fa15(0x1b8)],this[_0x55fa15(0x111)]=new _0x1ffcd6(),this[_0x55fa15(0x184)]=[],this[_0x55fa15(0x17c)]=new WeakSet(),this[_0x55fa15(0x12d)]=new Set(),this[_0x55fa15(0xed)](_0x55fa15(0x136),!0x1),this[_0x55fa15(0xed)](_0x55fa15(0x177),!0x1),this[_0x55fa15(0x12a)]=null,this[_0x55fa15(0xfa)]=!0x1,this[_0x55fa15(0x1a3)]=null,this[_0x55fa15(0x17b)]=0x12c,this[_0x55fa15(0xfc)]=this[_0x55fa15(0x17b)],this[_0x55fa15(0x143)]=null,this[_0x55fa15(0x138)]=new WeakSet(),this[_0x55fa15(0x137)]=new tt(this[_0x55fa15(0x138)]);}[_0x498157(0x1c5)](){const _0x5a801c=_0x498157,_0x4c339c=this[_0x5a801c(0x1e5)],_0x52f946=_0x4c339c[_0x5a801c(0x1d6)][_0x5a801c(0x192)](_0x41497f),_0x329c57=_0x4c339c[_0x5a801c(0x1d6)][_0x5a801c(0x192)](_0xcf23fb);this[_0x5a801c(0x159)](_0x52f946,_0x5a801c(0x13d),(_0x1eb921,_0x2e0ed8)=>{const _0x219679=_0x5a801c,_0x2fbe02=_0x2e0ed8[0x0];_0x2fbe02[_0x219679(0x163)]&&(_0x1eb921[_0x219679(0x1a0)]=_0x52f946[_0x219679(0x1df)](_0x2fbe02[_0x219679(0x163)]),_0x1eb921[_0x219679(0x10b)]()),null===_0x2fbe02[_0x219679(0x163)]&&(_0x1eb921[_0x219679(0x1a0)]=null,_0x1eb921[_0x219679(0x10b)]());},{'priority':_0x5a801c(0x142)}),this[_0x5a801c(0x159)](_0x4c339c[_0x5a801c(0x12b)][_0x5a801c(0x1b8)][_0x5a801c(0x183)],_0x5a801c(0x191),(_0x2480c2,_0x138a04)=>{const _0x572d12=_0x5a801c;_0x138a04[_0x572d12(0x17f)]&&this[_0x572d12(0x180)]();}),this[_0x5a801c(0x159)](_0x4c339c[_0x5a801c(0x1ad)][_0x5a801c(0x1d9)],_0x5a801c(0x113),()=>{const _0x3efd8a=_0x5a801c;this[_0x3efd8a(0x180)]();}),this[_0x5a801c(0x16e)](),_0x4c339c[_0x5a801c(0x12b)]['on'](_0x5a801c(0x160),(_0x30d9fd,_0x533b5e)=>{const _0x11ca82=_0x5a801c,_0x4da3d4=_0x533b5e[0x0];_0x4da3d4[_0x11ca82(0x16b)]&&(this[_0x11ca82(0xeb)](_0x4da3d4),this[_0x11ca82(0x1e1)]()&&this[_0x11ca82(0x101)]());}),this[_0x5a801c(0x185)](),this[_0x5a801c(0x190)](_0x5a801c(0x1e0))['to'](_0x329c57,_0x5a801c(0x1bb),this,_0x5a801c(0x177),(_0x58493d,_0x502595)=>_0x5a801c(0x141)===_0x58493d&&!_0x502595),this['on'](_0x5a801c(0x165),()=>{const _0x3da0c5=_0x5a801c;this[_0x3da0c5(0x1e0)]?_0x4c339c[_0x3da0c5(0x169)](_0x3da0c5(0x178)):_0x4c339c[_0x3da0c5(0x10f)](_0x3da0c5(0x178));}),this[_0x5a801c(0x1e0)]?_0x4c339c[_0x5a801c(0x169)](_0x5a801c(0x178)):_0x4c339c[_0x5a801c(0x10f)](_0x5a801c(0x178)),this[_0x5a801c(0xed)](_0x5a801c(0x199),!0x1);}async[_0x498157(0x155)](){const _0x56bf02=_0x498157,_0xe074d7=this[_0x56bf02(0x1e5)][_0x56bf02(0x1d6)][_0x56bf02(0x192)](_0x330f0),_0xe73fc3=this[_0x56bf02(0x1e5)][_0x56bf02(0x1d6)][_0x56bf02(0x192)](_0xcf23fb);try{this[_0x56bf02(0x136)]=!0x0,_0xe074d7[_0x56bf02(0xf6)](this[_0x56bf02(0x1ac)]);const _0x48583a=await this[_0x56bf02(0x1da)][_0x56bf02(0x155)](_0xe73fc3[_0x56bf02(0x14d)],this[_0x56bf02(0x19d)]);await this[_0x56bf02(0x107)](_0x48583a)&&(this[_0x56bf02(0x136)]=!0x1,this[_0x56bf02(0xf8)]());const _0xf4b703=await this[_0x56bf02(0x1da)][_0x56bf02(0x1d0)]();_0xe074d7[_0x56bf02(0x10c)](this[_0x56bf02(0x1ac)],_0xf4b703),this[_0x56bf02(0xee)](),this[_0x56bf02(0x199)]=!0x0;}catch(_0x5dd992){if(function(_0x482bf5){const _0x5b2faa=_0x56bf02;return _0x5b2faa(0x15d)===_0x482bf5[_0x5b2faa(0x110)];}(_0x5dd992)&&this[_0x56bf02(0x182)])await this[_0x56bf02(0x19b)]();else{if(function(_0x524d3e){const _0x4907e9=_0x56bf02;return _0x4907e9(0x1ec)===_0x524d3e[_0x4907e9(0x110)];}(_0x5dd992)){const _0x5188eb=_0x2f7dcf(this[_0x56bf02(0x1e5)][_0x56bf02(0x1cc)],_0x56bf02(0x174));this[_0x56bf02(0x13e)](_0x5188eb);}else{if(!(_0x5dd992 instanceof Y))throw _0x5dd992;this[_0x56bf02(0x13e)]();}}}}[_0x498157(0x172)](){const _0x2fbaee=_0x498157,_0x5ebbe4=this[_0x2fbaee(0x1e5)][_0x2fbaee(0x1d6)][_0x2fbaee(0x192)](_0xcf23fb),_0x5317e4=this[_0x2fbaee(0x1e5)][_0x2fbaee(0x1d6)][_0x2fbaee(0x192)](_0x330f0);this[_0x2fbaee(0x1e5)][_0x2fbaee(0x10f)](_0x2fbaee(0x1c9)),_0x5317e4[_0x2fbaee(0x134)][_0x2fbaee(0x14f)](this[_0x2fbaee(0x1ac)])&&_0x5317e4[_0x2fbaee(0xf6)](this[_0x2fbaee(0x1ac)]),_0x5ebbe4[_0x2fbaee(0x18d)](this),this[_0x2fbaee(0x1e6)](),super[_0x2fbaee(0x172)]();}async[_0x498157(0x107)](_0x51a52a){const _0x5b1697=_0x498157;if(this[_0x5b1697(0x182)]!==_0x51a52a[_0x5b1697(0x182)]&&this[_0x5b1697(0x143)]!==_0x51a52a[_0x5b1697(0x194)])throw new Y();return this[_0x5b1697(0x182)]=_0x51a52a[_0x5b1697(0x182)],this[_0x5b1697(0x125)]([],{..._0x51a52a,'wereChangesApplied':!0x1,'data':_0x51a52a[_0x5b1697(0x1bd)]},_0x5b1697(0x155));}async[_0x498157(0x198)](_0x3215b0,_0x4c171f=!0x1){const _0x958182=_0x498157,{connection:_0x1c8acc}=this[_0x958182(0x1e5)][_0x958182(0x1d6)][_0x958182(0x192)](_0xcf23fb);l[_0x958182(0x12f)][_0x958182(0x1d0)](_0x1c8acc,this[_0x958182(0x1ac)])[_0x958182(0x1d1)](_0x5461d6=>this[_0x958182(0x11a)](_0x5461d6))[_0x958182(0x130)](_0x5db0ae=>{const _0x1f9bf7=_0x958182;this[_0x1f9bf7(0x1b9)](_0x1f9bf7(0x16d),_0x5db0ae);}),this[_0x958182(0x159)](this[_0x958182(0x1da)],_0x958182(0x114),this[_0x958182(0x19e)][_0x958182(0x190)](this)),this[_0x958182(0x159)](this[_0x958182(0x1da)],_0x958182(0x1b7),(_0x87ede3,_0x2fdd12)=>{const _0x47adb0=_0x958182;this[_0x47adb0(0x1b9)](_0x47adb0(0x108),_0x2fdd12);}),this[_0x958182(0x159)](this[_0x958182(0x1da)],_0x958182(0x122),()=>{const _0x39a9e6=_0x958182;this[_0x39a9e6(0x199)]=!0x1;});const _0x13823c=this[_0x958182(0x137)][_0x958182(0x1b3)](_0x3215b0);this[_0x958182(0x136)]=!0x0;const _0x21897d=await this[_0x958182(0x1da)][_0x958182(0x150)](_0x1c8acc,this[_0x958182(0x1dc)](_0x3215b0),_0x13823c);if(this[_0x958182(0x182)]=_0x21897d[_0x958182(0x182)],_0x4c171f){if(!_0x21897d[_0x958182(0x1e8)])return void this[_0x958182(0x13e)]();this[_0x958182(0x136)]=!0x1,this[_0x958182(0xf8)](),this[_0x958182(0x1be)][_0x958182(0x16f)](),this[_0x958182(0x133)]=_0x21897d[_0x958182(0x128)],this[_0x958182(0x1be)][_0x958182(0x1ba)]=this[_0x958182(0x133)],await this[_0x958182(0x125)](_0x3215b0,_0x21897d,_0x958182(0x1c1));}else await this[_0x958182(0xf9)](_0x21897d,_0x3215b0);this[_0x958182(0xee)](),this[_0x958182(0x199)]=!0x0;}[_0x498157(0xee)](){const _0x178cb1=_0x498157,_0x563b64=this[_0x178cb1(0x1e5)][_0x178cb1(0x1d6)][_0x178cb1(0x192)](_0x330f0),_0x5efb78=this[_0x178cb1(0x1e5)][_0x178cb1(0x1d6)][_0x178cb1(0x192)](_0x196185),_0x1e3aff=_0x563b64[_0x178cb1(0x134)][_0x178cb1(0x192)](this[_0x178cb1(0x1ac)]);_0x1e3aff&&_0x1e3aff[_0x178cb1(0x1d5)]>0x1?_0x5efb78[_0x178cb1(0x10a)]():this[_0x178cb1(0x159)](_0x563b64,_0x178cb1(0x1a8)+this[_0x178cb1(0x1ac)],()=>{const _0x2f26f0=_0x178cb1;0x2===_0x563b64[_0x2f26f0(0x134)][_0x2f26f0(0x192)](this[_0x2f26f0(0x1ac)])[_0x2f26f0(0x1d5)]&&_0x5efb78[_0x2f26f0(0x10a)]();});}async[_0x498157(0x19e)](_0x28faba,_0x4612b9,_0x2b3b9b,_0xe20284){const _0x48cdae=_0x498157;if(!this[_0x48cdae(0x136)]&&this[_0x48cdae(0x115)][_0x48cdae(0x1ba)]==_0x4612b9){const _0x5713ea=this[_0x48cdae(0x1ab)](_0x2b3b9b,_0xe20284);await this[_0x48cdae(0x14a)](_0x5713ea),this[_0x48cdae(0x123)](_0x5713ea,_0x4612b9,_0x2b3b9b[_0x48cdae(0x194)])||this[_0x48cdae(0x1b9)](_0x48cdae(0x13a));}}async[_0x498157(0x19b)](){const _0x4c98ba=_0x498157;this[_0x4c98ba(0x1e6)]();const {locale:_0x3ac071}=this[_0x4c98ba(0x1e5)];let _0x189d1b;try{_0x189d1b=await this[_0x4c98ba(0x1da)][_0x4c98ba(0x120)]();}catch{const _0x4c8018=_0x2f7dcf(_0x3ac071,_0x4c98ba(0x161));return void this[_0x4c98ba(0x13e)](_0x4c8018);}const _0x4e2eb0=_0x189d1b[_0x4c98ba(0x186)]||_0x189d1b[_0x4c98ba(0x18c)];if(this[_0x4c98ba(0x143)]!==_0x4e2eb0[_0x4c98ba(0x194)]){const _0x4f0443=_0x2f7dcf(_0x3ac071,_0x4c98ba(0x117));return void this[_0x4c98ba(0x13e)](_0x4f0443);}await this[_0x4c98ba(0x198)](this[_0x4c98ba(0x1e5)][_0x4c98ba(0x12b)][_0x4c98ba(0x1b8)][_0x4c98ba(0x116)][_0x4c98ba(0x119)](),!0x0);}[_0x498157(0x1e6)](){const _0x31f96d=_0x498157;this[_0x31f96d(0x1da)][_0x31f96d(0x15e)](),this[_0x31f96d(0x184)]=[],clearTimeout(this[_0x31f96d(0x1a3)]),this[_0x31f96d(0x103)](this[_0x31f96d(0x1da)]);}[_0x498157(0x11a)](_0x182c3c){const _0x41f49c=_0x498157,_0x5739c1=this[_0x41f49c(0x1e5)][_0x41f49c(0x1d6)][_0x41f49c(0x192)](_0x330f0);this[_0x41f49c(0x159)](_0x5739c1,_0x41f49c(0x1a8)+this[_0x41f49c(0x1ac)],(_0x401c4f,{session:_0x3f8e7b})=>{const _0x1e9614=_0x41f49c;if(_0x3f8e7b['id']===_0x5739c1[_0x1e9614(0x1af)]){_0x401c4f[_0x1e9614(0x196)]();const _0x1f7adc=this[_0x1e9614(0x1e5)][_0x1e9614(0x1d6)][_0x1e9614(0x14f)](_0x1e9614(0x1e3))&&this[_0x1e9614(0x1e5)][_0x1e9614(0x1d6)][_0x1e9614(0x192)](_0x1e9614(0x1e3));let _0x5ae46d=_0x3f8e7b[_0x1e9614(0xf4)];_0x1f7adc&&_0x1f7adc[_0x1e9614(0x19a)]&&(_0x5ae46d=_0x5ae46d[_0x1e9614(0x1e9)](_0x520c68=>_0x1e9614(0x17e)!==_0x520c68)),this[_0x1e9614(0x1e5)][_0x1e9614(0x1d6)][_0x1e9614(0x192)](_0x1e9614(0x1a9))[_0x1e9614(0x175)](_0x5ae46d,this[_0x1e9614(0x1ac)]);}}),_0x5739c1[_0x41f49c(0x10c)](this[_0x41f49c(0x1ac)],_0x182c3c);}[_0x498157(0x16e)](){const _0x73f2d2=_0x498157,_0x26e42f=this[_0x73f2d2(0x1e5)][_0x73f2d2(0x1bd)][_0x73f2d2(0xed)];this[_0x73f2d2(0x1e5)][_0x73f2d2(0x1bd)][_0x73f2d2(0xed)]=(..._0x52898d)=>{const _0x2b2d31=_0x73f2d2;if(!_0x52898d[_0x52898d[_0x2b2d31(0x1d5)]-0x1][_0x2b2d31(0x1db)])throw new _0x39c79a(_0x2b2d31(0xfd),this);_0x26e42f[_0x2b2d31(0x1e4)](this[_0x2b2d31(0x1e5)][_0x2b2d31(0x1bd)],_0x52898d);};}[_0x498157(0x185)](){const _0x1f433b=_0x498157;this[_0x1f433b(0x1e5)][_0x1f433b(0x1bd)]['on'](_0x1f433b(0x1c5),(_0x132a9d,[_0x194274])=>{const _0x441fb8=_0x1f433b;if(this[_0x441fb8(0x115)][_0x441fb8(0x1ba)])throw new _0x39c79a(_0x441fb8(0x164),this);_0x132a9d[_0x441fb8(0x10b)](),this[_0x441fb8(0x19f)]();const _0xa47481=this[_0x441fb8(0x1e5)][_0x441fb8(0x1a1)][_0x441fb8(0x192)](_0x441fb8(0xfb)),_0x2d11fc=this[_0x441fb8(0x1b1)](_0x194274,_0xa47481);0x0==_0x2d11fc[_0x441fb8(0x1d5)]&&_0x2d11fc[_0x441fb8(0x171)](new _0x1af503(0x0)),_0x132a9d[_0x441fb8(0x1a0)]=this[_0x441fb8(0x198)](_0x2d11fc)[_0x441fb8(0x1d1)](()=>{const _0x2eb262=_0x441fb8;this[_0x2eb262(0x1e5)][_0x2eb262(0x1d6)][_0x2eb262(0x192)](_0xcf23fb)[_0x2eb262(0x17a)](this),this[_0x2eb262(0x1e5)][_0x2eb262(0x1bd)][_0x2eb262(0x10d)](_0x2eb262(0x197));})[_0x441fb8(0x130)](_0x56af20=>this[_0x441fb8(0x1b9)](_0x441fb8(0x106),_0x56af20))[_0x441fb8(0x10e)](()=>this[_0x441fb8(0xf8)]());},{'priority':_0x1f433b(0x142)}),this[_0x1f433b(0x1e5)]['on'](_0x1f433b(0x146),async(_0x2b6fba,[_0x4c0083,_0x2264be])=>{const _0x3ff145=_0x1f433b;_0x2b6fba[_0x3ff145(0x10b)]();const _0xfbdd1b=this[_0x3ff145(0x1e5)][_0x3ff145(0x12b)][_0x3ff145(0x1b8)][_0x3ff145(0x135)](_0x4c0083);if(!this[_0x3ff145(0x12d)][_0x3ff145(0x14f)](_0x4c0083)){const _0x48eaea=_0x2264be&&_0x2264be[_0x3ff145(0x1bd)]?_0x2264be[_0x3ff145(0x1bd)]:'',_0x36e84b=_0x2264be&&_0x2264be[_0x3ff145(0x15b)]?_0x2264be[_0x3ff145(0x15b)]:{};await this[_0x3ff145(0x195)](_0x4c0083,_0x48eaea,_0x36e84b);}this[_0x3ff145(0x1e5)][_0x3ff145(0x12b)][_0x3ff145(0x162)]({'isUndoable':!0x1},()=>{const _0x3364a8=_0x3ff145;_0xfbdd1b[_0x3364a8(0x188)]=!0x0,this[_0x3364a8(0x1e5)][_0x3364a8(0x12b)][_0x3364a8(0x1b8)][_0x3364a8(0x168)][_0x3364a8(0x102)](_0xfbdd1b);});},{'priority':_0x1f433b(0x142)});}async[_0x498157(0x14a)](_0x4394e9){const _0x2ccc3b=_0x498157,_0x19d7e3=this[_0x2ccc3b(0x1e5)][_0x2ccc3b(0x1d6)][_0x2ccc3b(0x192)](_0x41497f),{connection:_0x40b320}=this[_0x2ccc3b(0x1e5)][_0x2ccc3b(0x1d6)][_0x2ccc3b(0x192)](_0xcf23fb),_0x34dccc=new Set();for(const _0x4499d4 of _0x4394e9){const _0x66cf0c=_0x4499d4[_0x2ccc3b(0x163)];_0x66cf0c&&!_0x19d7e3[_0x2ccc3b(0x1df)](_0x66cf0c)&&_0x34dccc[_0x2ccc3b(0x13c)](_0x66cf0c);}if(0x0===_0x34dccc[_0x2ccc3b(0xf0)])return;const _0x2ad380=await _0x375501[_0x2ccc3b(0x1d3)](_0x40b320,Array[_0x2ccc3b(0x12c)](_0x34dccc));for(const _0x355e82 of _0x2ad380)_0x19d7e3[_0x2ccc3b(0x1df)](_0x355e82['id'])||_0x19d7e3[_0x2ccc3b(0x173)](_0x355e82);}[_0x498157(0x1b1)](_0x3fc40a,_0x56863a={}){const _0x112417=_0x498157,_0x1edbde=this[_0x112417(0x1e5)][_0x112417(0x12b)],_0x340be1=[];let _0x5ca0d9=0x0;const _0x6c8059=_0x112417(0xf3)==typeof _0x3fc40a?{'main':_0x3fc40a}:_0x3fc40a;for(const _0x4b22e6 of Object[_0x112417(0x11d)](_0x6c8059)){if(!this[_0x112417(0x115)][_0x112417(0x1ea)][_0x112417(0x14f)](_0x4b22e6))throw new _0x39c79a(_0x112417(0x11b),this);const _0x1dd654=this[_0x112417(0x1e5)][_0x112417(0x1bd)][_0x112417(0x1de)](_0x6c8059[_0x4b22e6]),_0x4897a0=this[_0x112417(0x115)][_0x112417(0x135)](_0x4b22e6),_0x394760=new _0x1b74a8(_0x1edbde[_0x112417(0x149)](_0x4897a0,0x0),_0x1dd654,_0x5ca0d9++);_0x340be1[_0x112417(0x171)](_0x394760);for(const [_0xaca168,_0x11d909]of _0x1dd654[_0x112417(0x1bf)]){const _0x3f122f=_0x1edbde[_0x112417(0x118)](_0x1edbde[_0x112417(0x1d4)](_0x4897a0,_0x11d909[_0x112417(0x167)][_0x112417(0x1ca)][_0x112417(0x152)]()),_0x1edbde[_0x112417(0x1d4)](_0x4897a0,_0x11d909[_0x112417(0x1ce)][_0x112417(0x1ca)][_0x112417(0x152)]())),_0x5112f6=new _0xa6f18(_0xaca168,null,_0x3f122f,_0x1edbde[_0x112417(0x1bf)],!0x0,_0x5ca0d9++);_0x340be1[_0x112417(0x171)](_0x5112f6);}}if(_0x56863a)for(const [_0x1d2260,_0x2f88a7]of Object[_0x112417(0x1a4)](_0x56863a)){const _0xfd8ab8=_0x1edbde[_0x112417(0x1b8)][_0x112417(0x135)](_0x1d2260);if(!_0xfd8ab8)throw new _0x39c79a(_0x112417(0x1ae),null);for(const [_0x139a66,_0x5a0ef6]of Object[_0x112417(0x1a4)](_0x2f88a7))if(null!==_0x5a0ef6){const _0x10106c=new _0x223668(_0xfd8ab8,_0x139a66,null,_0x5a0ef6,_0x5ca0d9++);_0x340be1[_0x112417(0x171)](_0x10106c);}}return _0x340be1;}async[_0x498157(0x195)](_0x2e5b70,_0x1ce7c4,_0x309c4b){const _0x4b130c=_0x498157;this[_0x4b130c(0x1b1)]({[_0x2e5b70]:_0x1ce7c4},{[_0x2e5b70]:_0x309c4b})[_0x4b130c(0xf1)]((_0xeff6e0,_0x21899a)=>{const _0x1a5e1f=_0x4b130c;_0xeff6e0[_0x1a5e1f(0x14b)]=this[_0x1a5e1f(0x115)][_0x1a5e1f(0x1ba)]+_0x21899a,_0xeff6e0[_0x1a5e1f(0x1eb)]=!0x0,this[_0x1a5e1f(0xeb)](_0xeff6e0);}),this[_0x4b130c(0x101)](),await this[_0x4b130c(0x132)]();}async[_0x498157(0xf9)](_0x530e3b,_0x4f7051){const _0xf5d81a=_0x498157;let _0x4e7983;this[_0xf5d81a(0x133)]=_0x530e3b[_0xf5d81a(0x128)];const _0x56c9af=_0x530e3b[_0xf5d81a(0x1e8)]&&!_0x530e3b[_0xf5d81a(0x13b)],_0x2f1ecb=_0x56c9af?0x0:_0x530e3b[_0xf5d81a(0x1bd)][_0xf5d81a(0x14b)];if(_0x4f7051[_0xf5d81a(0xf1)](_0x4103c5=>{const _0x452fb2=_0xf5d81a;_0x4103c5[_0x452fb2(0x1eb)]=!0x0,_0x4103c5[_0x452fb2(0x11f)]=_0x530e3b[_0x452fb2(0x157)],_0x4103c5[_0x452fb2(0x163)]=null;}),_0x56c9af)_0x4e7983=_0x4f7051,this[_0xf5d81a(0x100)](_0x4e7983,_0x56c9af);else{if(_0x530e3b[_0xf5d81a(0x13b)]){const _0x34d232=this[_0xf5d81a(0x1b1)](_0x530e3b[_0xf5d81a(0x13b)]);this[_0xf5d81a(0x115)][_0xf5d81a(0x116)][_0xf5d81a(0x1ba)]=-_0x34d232[_0xf5d81a(0x1d5)],_0x34d232[_0xf5d81a(0xf1)](_0x4f7ec6=>{const _0x3e6445=_0xf5d81a;_0x4f7ec6[_0x3e6445(0x14b)]-=_0x34d232[_0x3e6445(0x1d5)],_0x4f7ec6[_0x3e6445(0x11f)]=_0x530e3b[_0x3e6445(0x157)],_0x4f7ec6[_0x3e6445(0x1eb)]=!0x0,_0x4f7ec6[_0x3e6445(0x163)]=null;}),this[_0xf5d81a(0x100)](_0x34d232,!0x0),this[_0xf5d81a(0x1be)][_0xf5d81a(0x1ba)]=-_0x34d232[_0xf5d81a(0x1d5)]+this[_0xf5d81a(0x133)],this[_0xf5d81a(0x1b2)](_0x34d232);}this[_0xf5d81a(0x115)][_0xf5d81a(0x116)][_0xf5d81a(0x1ba)]=_0x2f1ecb,_0x4e7983=this[_0xf5d81a(0x1ab)](_0x530e3b[_0xf5d81a(0x1bd)],_0x530e3b[_0xf5d81a(0x1a6)]),await this[_0xf5d81a(0x14a)](_0x4e7983),this[_0xf5d81a(0x100)](_0x4e7983,_0x56c9af);}_0x530e3b[_0xf5d81a(0x194)]&&(this[_0xf5d81a(0x137)][_0xf5d81a(0x1c7)](_0x4e7983,_0x530e3b[_0xf5d81a(0x194)]),this[_0xf5d81a(0x143)]=_0x530e3b[_0xf5d81a(0x194)]),this[_0xf5d81a(0x1be)][_0xf5d81a(0x1ba)]=_0x2f1ecb+this[_0xf5d81a(0x133)],this[_0xf5d81a(0x1b2)](_0x4e7983),_0x4f7051[_0xf5d81a(0x1e9)](_0x598efb=>{const _0x2e1485=_0xf5d81a,_0x12282d=this[_0x2e1485(0x19c)](_0x598efb);return _0x12282d&&!this[_0x2e1485(0x12d)][_0x2e1485(0x14f)](_0x12282d);})[_0xf5d81a(0xf1)]((_0x309d7f,_0x20ce32)=>{const _0x878bc0=_0xf5d81a;_0x309d7f[_0x878bc0(0x14b)]=this[_0x878bc0(0x115)][_0x878bc0(0x1ba)]+_0x20ce32,this[_0x878bc0(0xeb)](_0x309d7f);}),this[_0xf5d81a(0x1e1)]()?(this[_0xf5d81a(0xfc)]=0x0,this[_0xf5d81a(0x101)](!0x0),await this[_0xf5d81a(0x132)]()):(this[_0xf5d81a(0x136)]=!0x1,this[_0xf5d81a(0xf8)]());}[_0x498157(0x1b9)](_0x38b12e,_0x1f5745){const _0x3df008=_0x498157,_0x5efcfb=_0x1f5745&&_0x1f5745[_0x3df008(0x153)];if(_0x5efcfb&&_0x5efcfb[_0x3df008(0x181)](_0x3df008(0x144)))throw _0x1f5745;const _0x5ab7d4=this[_0x3df008(0x1e5)][_0x3df008(0x1d6)][_0x3df008(0x192)](_0xcf23fb);throw this[_0x3df008(0x136)]=!0x0,_0x5ab7d4[_0x3df008(0x15e)](),this[_0x3df008(0x1e5)][_0x3df008(0x10f)](_0x3df008(0x1a7)),new _0x39c79a(_0x38b12e,this[_0x3df008(0x1e5)],_0x5efcfb?{'originalError':_0x5efcfb}:void 0x0);}[_0x498157(0xeb)](_0x476ecc){const _0x15ed99=_0x498157;this[_0x15ed99(0x17c)][_0x15ed99(0x14f)](_0x476ecc)||(this[_0x15ed99(0x17c)][_0x15ed99(0x13c)](_0x476ecc),this[_0x15ed99(0x184)][_0x15ed99(0x171)](_0x476ecc),this[_0x15ed99(0x12a)]||_0x15ed99(0x158)==_0x476ecc[_0x15ed99(0x147)]&&!_0x476ecc[_0x15ed99(0x1c3)]||this[_0x15ed99(0x19f)]());}[_0x498157(0x101)](_0xd35d3b=!0x1){const _0x26496c=_0x498157;!_0xd35d3b&&this[_0x26496c(0x136)]||(this[_0x26496c(0x136)]=!0x0,clearTimeout(this[_0x26496c(0x1a3)]),this[_0x26496c(0x1a3)]=setTimeout(()=>{const _0xfdbd34=_0x26496c;this[_0xfdbd34(0x18a)]()[_0xfdbd34(0x1d1)](_0x281a86=>{const _0x55f510=_0xfdbd34;_0x281a86&&(this[_0x55f510(0xf8)](),this[_0x55f510(0x136)]=!0x1);})[_0xfdbd34(0x130)](_0x3d981e=>{const _0x3c8b02=_0xfdbd34;this[_0x3c8b02(0xf8)](),this[_0x3c8b02(0x136)]=!0x1,function(_0x3fd61b){const _0x2181a2=_0x3c8b02;return _0x3fd61b[_0x2181a2(0x153)][_0x2181a2(0x181)](_0x2181a2(0x166))||_0x3fd61b[_0x2181a2(0x153)][_0x2181a2(0x181)](_0x2181a2(0x109))||_0x3fd61b[_0x2181a2(0x153)][_0x2181a2(0x181)](_0x2181a2(0xe9));}(_0x3d981e)||this[_0x3c8b02(0x1b9)](_0x3d981e[_0x3c8b02(0x153)],_0x3d981e);});},this[_0x26496c(0xfc)]));}[_0x498157(0x132)](){return new Promise(_0x58d7cd=>{const _0x14ee88=_0x2b91;this['on'](_0x14ee88(0x1e7),()=>{_0x58d7cd();});});}async[_0x498157(0x18a)](){const _0x277768=_0x498157,_0x74cf88=this[_0x277768(0x1e5)][_0x277768(0x1d6)][_0x277768(0x192)](_0x196185);if(this[_0x277768(0x1cf)]()&&(_0x74cf88[_0x277768(0x10a)](),this[_0x277768(0xfa)]=!0x1),!this[_0x277768(0x1e1)]())return!0x0;const _0x24de3a=[...this[_0x277768(0x184)]];for(const _0x18b913 of _0x24de3a)_0x18b913[_0x277768(0x16a)]=this[_0x277768(0x115)][_0x277768(0x116)][_0x277768(0x129)](_0x18b913);const _0x2c7031=this[_0x277768(0x137)][_0x277768(0x1b3)](_0x24de3a),_0x1926c2=X++,_0x5ad5bf=this[_0x277768(0x1dc)](_0x24de3a),_0x2ddc2c=await this[_0x277768(0x1da)][_0x277768(0x170)](_0x5ad5bf,_0x5ad5bf[_0x277768(0x14b)],_0x2c7031);try{return await this[_0x277768(0x125)](_0x24de3a,_0x2ddc2c,_0x1926c2);}catch(_0xd8915b){return this[_0x277768(0x1b9)](_0x277768(0x1e2),_0xd8915b);}}async[_0x498157(0x125)](_0x44b398,_0x5ce4a4,_0x3bad02){const _0xd9595a=_0x498157;if(_0xd9595a(0x1b7)in _0x5ce4a4)throw _0x5ce4a4[_0xd9595a(0x1b7)];let _0x45c132=!0x1;if(_0x5ce4a4[_0xd9595a(0x1e8)]){_0x5ce4a4[_0xd9595a(0x194)]&&(this[_0xd9595a(0x143)]=_0x5ce4a4[_0xd9595a(0x194)]),this[_0xd9595a(0x184)]=this[_0xd9595a(0x184)][_0xd9595a(0x1e9)](_0x53b312=>!_0x44b398[_0xd9595a(0x15a)](_0x53b312));for(const _0x4823ee of _0x44b398)_0x4823ee[_0xd9595a(0x11f)]=_0xd9595a(0x16c)in _0x5ce4a4&&_0x5ce4a4[_0xd9595a(0x16c)]||void 0x0;Z(_0x44b398,_0x5ce4a4[_0xd9595a(0x1ba)]-_0x44b398[_0xd9595a(0x1d5)]),this[_0xd9595a(0x1b2)](_0x44b398);const _0x2ce7a7=_0x44b398[_0xd9595a(0x1e9)](_0x3ac12b=>{const _0x83ae9=_0xd9595a;if(!_0x3ac12b[_0x83ae9(0x1eb)])return!0x1;const _0x1e55b6=this[_0x83ae9(0x19c)](_0x3ac12b);return _0x1e55b6&&!this[_0x83ae9(0x12d)][_0x83ae9(0x14f)](_0x1e55b6);});Z(_0x2ce7a7,this[_0xd9595a(0x115)][_0xd9595a(0x1ba)]),this[_0xd9595a(0x100)](_0x2ce7a7),_0x45c132=!0x0,this[_0xd9595a(0xfc)]=this[_0xd9595a(0x17b)];}else{const _0x21f996=this[_0xd9595a(0x1ab)](_0x5ce4a4[_0xd9595a(0x1bd)],_0x5ce4a4[_0xd9595a(0x1a6)])[_0xd9595a(0x1e9)](_0x554bc9=>_0x554bc9[_0xd9595a(0x14b)]>=this[_0xd9595a(0x1cd)]);_0x21f996[_0xd9595a(0xf1)](_0x5647cd=>this[_0xd9595a(0x1b6)](_0x5647cd)),this[_0xd9595a(0x184)]=this[_0xd9595a(0x184)][_0xd9595a(0x1e9)](_0x4497e4=>!_0x4497e4[_0xd9595a(0x1eb)]||!this[_0xd9595a(0x12d)][_0xd9595a(0x14f)](this[_0xd9595a(0x19c)](_0x4497e4))),this[_0xd9595a(0x184)][_0xd9595a(0x1d5)]&&Z(this[_0xd9595a(0x184)],this[_0xd9595a(0x184)][0x0][_0xd9595a(0x14b)]),await this[_0xd9595a(0x14a)](_0x21f996),_0x45c132=this[_0xd9595a(0x123)](_0x21f996,_0x5ce4a4[_0xd9595a(0x1ba)],_0x5ce4a4[_0xd9595a(0x194)]),this[_0xd9595a(0xfc)]=Math[_0xd9595a(0x1a5)](this[_0xd9595a(0xfc)]/0x2);}return _0x45c132?!this[_0xd9595a(0x1e1)]()||(this[_0xd9595a(0x101)](!0x0),!0x1):this[_0xd9595a(0x1b9)](_0xd9595a(0x1ed));}[_0x498157(0x123)](_0x2ff30d,_0x3f5d3f,_0x35aa38){const _0x516693=_0x498157;try{const _0x5cc8c7={'document':this[_0x516693(0x115)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4a219a,operationsB:_0x5d6d2f,originalOperations:_0x178025}=_0x3c2f1e(_0x2ff30d,this[_0x516693(0x184)],_0x5cc8c7);Z(_0x4a219a,this[_0x516693(0x115)][_0x516693(0x1ba)]),Z(_0x5d6d2f,_0x3f5d3f);for(const _0x116f53 of _0x4a219a){const _0x21deed=_0x178025[_0x516693(0x192)](_0x116f53);_0x116f53[_0x516693(0x163)]=_0x21deed?_0x21deed[_0x516693(0x163)]:null;}_0x35aa38&&(this[_0x516693(0x137)][_0x516693(0x1c7)](_0x2ff30d,_0x35aa38),this[_0x516693(0x143)]=_0x35aa38),this[_0x516693(0x184)]=[..._0x5d6d2f],this[_0x516693(0x100)](_0x4a219a),this[_0x516693(0x1b2)](_0x2ff30d);}catch(_0x4df01b){return console[_0x516693(0x1b7)](_0x4df01b),!0x1;}return!0x0;}[_0x498157(0x100)](_0x1b1d1e,_0x408e94=!0x1){const _0x2d74fa=_0x498157;this[_0x2d74fa(0x1e5)][_0x2d74fa(0x12b)][_0x2d74fa(0x162)]({'isUndoable':!0x1,'isLocal':!0x1},_0xfc297c=>{const _0xb7b5a9=_0x2d74fa;for(const _0x57ad67 of _0x1b1d1e)this[_0xb7b5a9(0x17c)][_0xb7b5a9(0x13c)](_0x57ad67),this[_0xb7b5a9(0x1b6)](_0x57ad67),_0xfc297c[_0xb7b5a9(0x18f)][_0xb7b5a9(0x105)](_0x57ad67),this[_0xb7b5a9(0x1e5)][_0xb7b5a9(0x12b)][_0xb7b5a9(0x160)](_0x57ad67);});}[_0x498157(0x1b6)](_0x49dcd7){const _0x28bbe7=_0x498157,_0x4c49d2=this[_0x28bbe7(0x19c)](_0x49dcd7);_0x4c49d2&&this[_0x28bbe7(0x12d)][_0x28bbe7(0x13c)](_0x4c49d2);}[_0x498157(0x19c)](_0x420478){const _0x5477b8=_0x498157;let _0x26226f,_0x5626c8;switch(_0x420478[_0x5477b8(0x147)]){case _0x5477b8(0x1aa):_0x26226f=_0x420478[_0x5477b8(0xef)][_0x5477b8(0x1d2)];break;case _0x5477b8(0x158):if(_0x5626c8=_0x420478[_0x5477b8(0xec)],!_0x5626c8)return null;_0x26226f=_0x5626c8[_0x5477b8(0x1d2)];break;case _0x5477b8(0x193):_0x26226f=_0x420478[_0x5477b8(0x1d2)];break;case _0x5477b8(0x15f):_0x26226f=_0x420478[_0x5477b8(0x151)];break;case _0x5477b8(0x1a2):_0x26226f=_0x420478[_0x5477b8(0xfe)][_0x5477b8(0x1d2)];break;default:return null;}return _0x26226f[_0x5477b8(0x187)];}[_0x498157(0x1b2)](_0x3aaf03){const _0x24262f=_0x498157;_0x3aaf03[_0x24262f(0xf1)](_0x2214f2=>{const _0x56620c=_0x24262f,_0x403ab2=_0x2214f2[_0x56620c(0x104)]();_0x403ab2[_0x56620c(0x163)]=_0x2214f2[_0x56620c(0x163)],_0x403ab2[_0x56620c(0x1eb)]=!!_0x2214f2[_0x56620c(0x1eb)],_0x403ab2[_0x56620c(0x11f)]=_0x2214f2[_0x56620c(0x11f)],_0x403ab2[_0x56620c(0x14b)]+=this[_0x56620c(0x133)],_0x2214f2[_0x56620c(0x17d)]&&this[_0x56620c(0x138)][_0x56620c(0x13c)](_0x403ab2),this[_0x56620c(0x1be)][_0x56620c(0x105)](_0x403ab2);});}[_0x498157(0x13e)](_0x224f34){const _0x1dd658=_0x498157,_0x34926b=this[_0x1dd658(0x1e5)][_0x1dd658(0x1d6)][_0x1dd658(0x192)](_0x1dd658(0x14c)),_0x1ab0ec=this[_0x1dd658(0x1e5)][_0x1dd658(0x1cc)];_0x224f34||(_0x224f34=_0x2f7dcf(_0x1ab0ec,_0x1dd658(0x145))),_0x34926b[_0x1dd658(0x140)](_0x224f34,{'title':_0x2f7dcf(_0x1ab0ec,_0x1dd658(0x131)),'namespace':_0x1dd658(0x1bc)}),this[_0x1dd658(0x177)]=!0x0,clearTimeout(this[_0x1dd658(0x1a3)]),this[_0x1dd658(0x184)]=[],this[_0x1dd658(0x1e5)][_0x1dd658(0x1d6)][_0x1dd658(0x192)](_0xcf23fb)[_0x1dd658(0x15e)]();}[_0x498157(0x19f)](){const _0x5622d8=_0x498157;this[_0x5622d8(0x12a)]||(this[_0x5622d8(0x12a)]=this[_0x5622d8(0x1e5)][_0x5622d8(0x1d6)][_0x5622d8(0x192)](_0x5fee62)[_0x5622d8(0x13c)](_0x2f7dcf(this[_0x5622d8(0x1e5)][_0x5622d8(0x1cc)],_0x5622d8(0x15c))));}[_0x498157(0xf8)](){const _0x24fc48=_0x498157;this[_0x24fc48(0x12a)]&&(this[_0x24fc48(0x1e5)][_0x24fc48(0x1d6)][_0x24fc48(0x192)](_0x5fee62)[_0x24fc48(0x126)](this[_0x24fc48(0x12a)]),this[_0x24fc48(0x12a)]=null);}[_0x498157(0x1dc)](_0x76b62b){const _0x4e1ed1=_0x498157,_0x18000a=_0x76b62b[_0x4e1ed1(0x139)](_0x45d6bd=>_0x45d6bd[_0x4e1ed1(0x1b4)]());return this[_0x4e1ed1(0x111)][_0x4e1ed1(0x1d8)](_0x18000a);}[_0x498157(0x1ab)](_0x469870,_0x3444a7){const _0x55be76=_0x498157;return this[_0x55be76(0x111)][_0x55be76(0x179)](_0x469870)[_0x55be76(0x139)]((_0xde0700,_0x34b444)=>{const _0x4b994c=_0x55be76,_0x452665=_0x4b994c(0x1c5)==_0x3444a7[_0x34b444][_0x4b994c(0x147)];if(_0x4b994c(0x11e)==_0xde0700[_0x4b994c(0x154)]){const _0x28e801=_0xde0700[_0x4b994c(0xef)][_0x4b994c(0x1d2)];!this[_0x4b994c(0x115)][_0x4b994c(0x135)](_0x28e801)&&(this[_0x4b994c(0x115)][_0x4b994c(0x13f)](_0x4b994c(0x12e),_0x28e801)[_0x4b994c(0x112)]=!0x1);}const _0x566ead=_0x464193[_0x4b994c(0x1dd)](_0xde0700,this[_0x4b994c(0x115)]);return _0x566ead[_0x4b994c(0x16a)]=_0xde0700[_0x4b994c(0x16a)],_0x566ead[_0x4b994c(0x1eb)]=_0x452665,_0x566ead[_0x4b994c(0x163)]=_0x452665?null:_0x3444a7[_0x34b444][_0x4b994c(0x1b0)],_0x566ead[_0x4b994c(0x17d)]=_0x4b994c(0x1c6)===_0x3444a7[_0x34b444][_0x4b994c(0x147)],_0x566ead[_0x4b994c(0x11f)]=_0x3444a7[_0x34b444][_0x4b994c(0x11f)],_0x566ead;});}[_0x498157(0x180)](){const _0x1f800c=_0x498157;this[_0x1f800c(0xfa)]=!0x0,this[_0x1f800c(0x1cf)]()?this[_0x1f800c(0x101)]():this[_0x1f800c(0xfa)]=!0x1;}[_0x498157(0x1cf)](){const _0x42066d=_0x498157,_0x41772b=this[_0x42066d(0x1e5)][_0x42066d(0x1d6)][_0x42066d(0x192)](_0x330f0)[_0x42066d(0x134)][_0x42066d(0x192)](this[_0x42066d(0x1ac)]);return!this[_0x42066d(0x1e5)][_0x42066d(0xf5)]&&!!_0x41772b&&_0x41772b[_0x42066d(0x1d5)]>0x1&&this[_0x42066d(0xfa)];}[_0x498157(0x1e1)](){const _0x40eec2=_0x498157;return this[_0x40eec2(0x184)][_0x40eec2(0x1d5)]>0x0||this[_0x40eec2(0x1cf)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x57a8b9,_0x5611ff){const _0x507875=_0x498157;for(const _0x4f0fe9 of _0x57a8b9)_0x4f0fe9[_0x507875(0x14b)]=_0x5611ff++;}class tt{[_0x498157(0x1c0)];[_0x498157(0x1b5)];constructor(_0x1573d6){const _0x19ac95=_0x498157;this[_0x19ac95(0x1c0)]=_0x1573d6,this[_0x19ac95(0x1b5)]=new WeakMap();}[_0x498157(0x1b3)](_0x245afb){const _0x209221=_0x498157;let _0x30ccd4=_0x245afb[_0x209221(0x1d5)];for(;_0x30ccd4--;){const _0x1cd00a=_0x245afb[_0x30ccd4];if(!this[_0x209221(0x1c0)][_0x209221(0x14f)](_0x1cd00a)){if(!this[_0x209221(0x1b5)][_0x209221(0x14f)](_0x1cd00a)){const _0xe7ad7=_0x56fa90()[_0x209221(0x152)](0x1,0x12);this[_0x209221(0x1b5)][_0x209221(0xed)](_0x1cd00a,_0xe7ad7);}return this[_0x209221(0x1b5)][_0x209221(0x192)](_0x1cd00a);}}}[_0x498157(0x1c7)](_0x6ef61a,_0x3cfbda){const _0x47c2bb=_0x498157;if(!_0x3cfbda)return;let _0x3e2f56=_0x6ef61a[_0x47c2bb(0x1d5)];for(;_0x3e2f56--;){const _0x5e5a0c=_0x6ef61a[_0x3e2f56];this[_0x47c2bb(0x1c0)][_0x47c2bb(0x14f)](_0x5e5a0c)||this[_0x47c2bb(0x1b5)][_0x47c2bb(0xed)](_0x5e5a0c,_0x3cfbda);}}}
23
+ const _0x1c27f6=_0x2f35;(function(_0x4ae94a,_0x4d51a7){const _0x55e3c6=_0x2f35,_0x2240d1=_0x4ae94a();while(!![]){try{const _0x20c5c8=-parseInt(_0x55e3c6(0x196))/0x1+parseInt(_0x55e3c6(0x154))/0x2+-parseInt(_0x55e3c6(0x17f))/0x3*(parseInt(_0x55e3c6(0xcc))/0x4)+-parseInt(_0x55e3c6(0x167))/0x5+parseInt(_0x55e3c6(0x118))/0x6*(-parseInt(_0x55e3c6(0xad))/0x7)+-parseInt(_0x55e3c6(0x136))/0x8+parseInt(_0x55e3c6(0x194))/0x9*(parseInt(_0x55e3c6(0xff))/0xa);if(_0x20c5c8===_0x4d51a7)break;else _0x2240d1['push'](_0x2240d1['shift']());}catch(_0x4d2970){_0x2240d1['push'](_0x2240d1['shift']());}}}(_0x37a9,0x264a7));import{Plugin as _0x4ca3de,PendingActions as _0x555315}from'ckeditor5/src/core.js';import{CKEditorError as _0x5aa002,version as _0x4fed9a,uid as _0x15cd9e}from'ckeditor5/src/utils.js';function _0x2f35(_0x502483,_0x3bda66){const _0x37a912=_0x37a9();return _0x2f35=function(_0x2f35ce,_0x1377ee){_0x2f35ce=_0x2f35ce-0x9b;let _0x3b265f=_0x37a912[_0x2f35ce];return _0x3b265f;},_0x2f35(_0x502483,_0x3bda66);}import{Notification as _0x3918d7}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x4c3eee,NoOperation as _0x581e69,InsertOperation as _0x34d099,MarkerOperation as _0x4e1cb0,RootAttributeOperation as _0x2ccb46,OperationFactory as _0x5be407,History as _0x2f887f}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x450e91}from'./websocketgateway.js';import{Sessions as _0x14e3a8}from'./sessions.js';import{UserMarkers as _0x4d89a8}from'./usermarkers.js';import{getTranslation as _0x359335}from'../common-translations.js';import{Compressor as _0x20c62b}from'@ckeditor/ckeditor5-operations-compressor';function _0x37a9(){const _0x11e39c=['sessionId','applyOperation','apply','path','_operationToId','createPositionFromPath','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','attributes','connect','serverHistory','fromJSON','model','_applyOperationsSet','forEach','_lastSyncedOperationId','lastOperationAcceptedAt','realtimecollaborationclient-init-non-existent-root','_isLoaded','_offset','end','realtimecollaborationclient-init-service-internal-error','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient','400990TveMqZ','addRoot','affectedSelectable','createUserMarkerOperations','Notification','setPermissions','connection','_setPendingAction','document:write','includes','_handleServerResponse','off','baseVersion','cloudServices.bundleVersion','_baseBufferDelay','realtimecollaborationclient-handleserverresponse','_sendBufferedOperationsDelayId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','realtimecollaborationclient-error','1339440bwXRtu','InsertOperation','_initSessionsHandling','real-time-collaboration','_updateServerHistory','loadRoot','isPremiumPlugin','_clearPendingAction','suppressErrorInCollaboration','multi-root-editor-root-attributes-no-root','_bufferRootLoad','init','lastOperationId','userId','_setUpDataInit','_handleReconnectionError','type','move','isUndoneOperation','string','rootsAttributes','decompress','PENDING_ACTION_SENDING_DATA','clone','783594eQusVw','isEnabled','sessionAdd:','lastSyncVersion','Permissions','wasUndone','entries','affectsData','change:_isPendingUpdate','409','realtimecollaborationclient-init-connection-failed','realtimecollaborationclient-init-document-already-initialized','_pendingAction','disableReadOnlyMode','_hasSynchronizationProblem','register','createdAt','sessionCreatedAt','change:_isEditingAllowed','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','from','1413dAqrQw','_ignoredOperations','186732MkhoCu','RealTimeCollaborationClient','code','getIdOfTheLastOperation','setIdForTheLastOperation','_handleSendingSelectionMarkers','wereChangesApplied','data','startsWith','_bufferedOperations','disconnected','editor','_isConnected','state','collaboration','_operationIdentifier','offset','getUser','then','destroy','createPositionAt','listenTo','locale','message','size','realtimecollaborationclient-init-session-connection-error','history','_knownOperations','targetPosition','7LqWkbJ','define','directChange','_channelId','parse','editing','removeFromReconnectionStack','differ','markers','_knownRootNames','start','ready','marker','getConnectedSessions','collaboration.channelId','__className','return','compress','_refreshUserSelectionMarkers','_fetchMissingUsers','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.','enqueueChange','_getAffectedRoot','collaboration-missing-channelid','realtimecollaborationclient-init-service-incorrect-server-operation','permissions','_document','mySessionId','sendOperations','bind','_disconnectService','4txzDkP','plugins','toJSON','showWarning','_currentBufferDelay','_compressOperations','realtimecollaborationclient-sendbufferedoperations','_handleReceivedOperations','has','fire','isDocumentOperation','getRoot','isOfficialPlugin','_handleExternalOperations','_lastServerVersion','_crash','metadata','roots','currentDocumentSession','Synchronization\x20issue','change:range','_isPendingUpdate','getOperations','unregister','_decompressOperations','_compressor','_shouldSendUpdate','finally','reconnect','version','_isEditingAllowed','position','getDocumentDetails','404','pluginName','_saveOperationInBuffer','CommentsOnly','createRoot','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','operationsReceived','_isInit','map','lastDocumentSession','change:hasDomSelection','addRootAttribute','_connectAfterSessionHasBeenFlushed','_initThrowingOnDataSet','_loadRoot','set','addToReconnectionStack','_isAttached','69950cGTeeB','addUser','_sendBufferedOperationsDelayed','disconnect','slice','selection','batch','length','initData','filter','high','rtc-offline','addOperation','config','document','reset','_authorId','get','$root','push','cloud-services-internal-error:\x20Not\x20connected.','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.','_handleInitialConnectionData','cloudDocumentVersion','cs:removeUser','1323030QHEPnr','getMany','newRange','_hasSelectionChanged','stop','error','_isDisconnection','_shouldSendSelectionUpdate','stopListening','rtc-destroyed','root','keys','_sendBufferedOperations','remove','channelSessions','view','_getOperationsFromInitData','_handleReconnectionResponse','catch','_service','requires','createRange','enableReadOnlyMode','reconnection:\x20flushed\x20session','_addKnownRoot','_waitUntilSynced','_disconnectionOperations','add','rootName','isReadOnly','1644384XIFCOT','CollaborativeEditingService','insert','round','connected','getOperationAuthor','_connectService'];_0x37a9=function(){return _0x11e39c;};return _0x37a9();}import{Users as _0x2dc2da}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3f944a,CollaborativeEditingService as _0x354258}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;class l extends _0x4ca3de{static [_0x1c27f6(0x137)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x354258)());[_0x1c27f6(0x14f)];[_0x1c27f6(0x13d)];[_0x1c27f6(0x146)];[_0x1c27f6(0xb0)];[_0x1c27f6(0x12b)];[_0x1c27f6(0xc7)];[_0x1c27f6(0xe5)];[_0x1c27f6(0x19f)];[_0x1c27f6(0xab)];[_0x1c27f6(0xb6)];[_0x1c27f6(0x18b)];[_0x1c27f6(0x11b)];[_0x1c27f6(0x164)];[_0x1c27f6(0x162)];[_0x1c27f6(0xd0)];[_0x1c27f6(0x14b)];[_0x1c27f6(0x132)];[_0x1c27f6(0x9f)];static get[_0x1c27f6(0x12c)](){return[_0x450e91,_0x14e3a8,_0x4d89a8,_0x555315,_0x2dc2da,_0x3918d7];}static get[_0x1c27f6(0xee)](){const _0x4ac7fc=_0x1c27f6;return _0x4ac7fc(0x197);}static get[_0x1c27f6(0xd8)](){return!0x0;}static get[_0x1c27f6(0x16d)](){return!0x0;}get[_0x1c27f6(0x116)](){const _0x49c3a0=_0x1c27f6;return this[_0x49c3a0(0xda)]+this[_0x49c3a0(0x14f)];}get[_0x1c27f6(0xda)](){const _0x5193ee=_0x1c27f6;return this[_0x5193ee(0x146)][_0x5193ee(0xe9)]-this[_0x5193ee(0x14f)];}get[_0x1c27f6(0x182)](){const _0x52b38e=_0x1c27f6,_0x42254c=this[_0x52b38e(0x146)][_0x52b38e(0xe2)]();for(let _0x3dfad0=_0x42254c[_0x52b38e(0x106)]-0x1;_0x3dfad0>=0x0;_0x3dfad0--){const _0x36553d=_0x42254c[_0x3dfad0];if(!this[_0x52b38e(0x132)][_0x52b38e(0xd4)](_0x36553d))return _0x36553d[_0x52b38e(0x160)]+0x1-this[_0x52b38e(0x14f)];}return 0x0;}constructor(_0x49b54f){const _0x5dac4e=_0x1c27f6;if(super(_0x49b54f),this[_0x5dac4e(0x14f)]=0x0,this[_0x5dac4e(0x13d)]=null,this[_0x5dac4e(0x146)]=new _0x2f887f(),this[_0x5dac4e(0x9b)][_0x5dac4e(0x10c)][_0x5dac4e(0xae)](_0x5dac4e(0x9e),{}),this[_0x5dac4e(0xb0)]=this[_0x5dac4e(0x9b)][_0x5dac4e(0x10c)][_0x5dac4e(0x110)](_0x5dac4e(0xbb)),!this[_0x5dac4e(0xb0)])throw new _0x5aa002(_0x5dac4e(0xc4),this);const _0x3a2aaf=_0x49b54f[_0x5dac4e(0x10c)][_0x5dac4e(0x110)](_0x5dac4e(0x161))||_0x4fed9a;this[_0x5dac4e(0x12b)]=new l[(_0x5dac4e(0x137))](_0x3a2aaf,this[_0x5dac4e(0xb0)]),this[_0x5dac4e(0xc7)]=this[_0x5dac4e(0x9b)][_0x5dac4e(0x148)][_0x5dac4e(0x10d)],this[_0x5dac4e(0xe5)]=new _0x20c62b(),this[_0x5dac4e(0x19f)]=[],this[_0x5dac4e(0xab)]=new WeakSet(),this[_0x5dac4e(0xb6)]=new Set(),this[_0x5dac4e(0xfc)](_0x5dac4e(0xe1),!0x1),this[_0x5dac4e(0xfc)](_0x5dac4e(0x18d),!0x1),this[_0x5dac4e(0x18b)]=null,this[_0x5dac4e(0x11b)]=!0x1,this[_0x5dac4e(0x164)]=null,this[_0x5dac4e(0x162)]=0x12c,this[_0x5dac4e(0xd0)]=this[_0x5dac4e(0x162)],this[_0x5dac4e(0x14b)]=null,this[_0x5dac4e(0x132)]=new WeakSet(),this[_0x5dac4e(0x9f)]=new Z(this[_0x5dac4e(0x132)]);}[_0x1c27f6(0x172)](){const _0x329a80=_0x1c27f6,_0x5ae88a=this[_0x329a80(0x9b)],_0x1e8091=_0x5ae88a[_0x329a80(0xcd)][_0x329a80(0x110)](_0x2dc2da),_0x48f7fd=_0x5ae88a[_0x329a80(0xcd)][_0x329a80(0x110)](_0x450e91);this[_0x329a80(0xa5)](_0x1e8091,_0x329a80(0x13b),(_0x10d6bf,_0x11e2c7)=>{const _0x3f519d=_0x329a80,_0x5c9e02=_0x11e2c7[0x0];_0x5c9e02[_0x3f519d(0x10f)]&&(_0x10d6bf[_0x3f519d(0xbd)]=_0x1e8091[_0x3f519d(0xa1)](_0x5c9e02[_0x3f519d(0x10f)]),_0x10d6bf[_0x3f519d(0x11c)]()),null===_0x5c9e02[_0x3f519d(0x10f)]&&(_0x10d6bf[_0x3f519d(0xbd)]=null,_0x10d6bf[_0x3f519d(0x11c)]());},{'priority':_0x329a80(0x109)}),this[_0x329a80(0xa5)](_0x5ae88a[_0x329a80(0x148)][_0x329a80(0x10d)][_0x329a80(0x104)],_0x329a80(0xe0),(_0x45115a,_0x241394)=>{const _0x521cda=_0x329a80;_0x241394[_0x521cda(0xaf)]&&this[_0x521cda(0xbf)]();}),this[_0x329a80(0xa5)](_0x5ae88a[_0x329a80(0xb2)][_0x329a80(0x127)],_0x329a80(0xf7),()=>{const _0x4adb0e=_0x329a80;this[_0x4adb0e(0xbf)]();}),this[_0x329a80(0xfa)](),_0x5ae88a[_0x329a80(0x148)]['on'](_0x329a80(0x13e),(_0x6b58cc,_0x5b664e)=>{const _0x4b8d35=_0x329a80,_0x37311c=_0x5b664e[0x0];_0x37311c[_0x4b8d35(0xd6)]&&(this[_0x4b8d35(0xef)](_0x37311c),this[_0x4b8d35(0xe6)]()&&this[_0x4b8d35(0x101)]());}),this[_0x329a80(0x175)](),this[_0x329a80(0xca)](_0x329a80(0xea))['to'](_0x48f7fd,_0x329a80(0x9d),this,_0x329a80(0x18d),(_0x49c2a8,_0x5a6012)=>_0x329a80(0x13a)===_0x49c2a8&&!_0x5a6012),this['on'](_0x329a80(0x191),()=>{const _0x1e8af2=_0x329a80;this[_0x1e8af2(0xea)]?_0x5ae88a[_0x1e8af2(0x18c)](_0x1e8af2(0x10a)):_0x5ae88a[_0x1e8af2(0x12e)](_0x1e8af2(0x10a));}),this[_0x329a80(0xea)]?_0x5ae88a[_0x329a80(0x18c)](_0x329a80(0x10a)):_0x5ae88a[_0x329a80(0x12e)](_0x329a80(0x10a)),this[_0x329a80(0xfc)](_0x329a80(0x9c),!0x1);}async[_0x1c27f6(0xe8)](){const _0x409a86=_0x1c27f6,_0x3f74c2=this[_0x409a86(0x9b)][_0x409a86(0xcd)][_0x409a86(0x110)](_0x14e3a8),_0x384ddd=this[_0x409a86(0x9b)][_0x409a86(0xcd)][_0x409a86(0x110)](_0x450e91);try{this[_0x409a86(0xe1)]=!0x0,_0x3f74c2[_0x409a86(0xe3)](this[_0x409a86(0xb0)]);const _0x195b64=await this[_0x409a86(0x12b)][_0x409a86(0xe8)](_0x384ddd[_0x409a86(0x15a)],this[_0x409a86(0x182)]);await this[_0x409a86(0x129)](_0x195b64)&&(this[_0x409a86(0xe1)]=!0x1,this[_0x409a86(0x16e)]());const _0x5afd7c=await this[_0x409a86(0x12b)][_0x409a86(0xba)]();_0x3f74c2[_0x409a86(0x18e)](this[_0x409a86(0xb0)],_0x5afd7c),this[_0x409a86(0x19b)](),this[_0x409a86(0x9c)]=!0x0;}catch(_0x3024ba){if(function(_0x9a78f3){const _0x4a4d2f=_0x409a86;return _0x4a4d2f(0xed)===_0x9a78f3[_0x4a4d2f(0x198)];}(_0x3024ba)&&this[_0x409a86(0x13d)])await this[_0x409a86(0xf9)]();else{if(function(_0x487bb3){const _0x213d52=_0x409a86;return _0x213d52(0x188)===_0x487bb3[_0x213d52(0x198)];}(_0x3024ba)){const _0x59f3fa=_0x359335(this[_0x409a86(0x9b)][_0x409a86(0xa6)],_0x409a86(0x143));this[_0x409a86(0x176)](_0x59f3fa);}else{if(!(_0x3024ba instanceof X))throw _0x3024ba;this[_0x409a86(0x176)]();}}}}[_0x1c27f6(0xa3)](){const _0x51d488=_0x1c27f6,_0x38961f=this[_0x51d488(0x9b)][_0x51d488(0xcd)][_0x51d488(0x110)](_0x450e91),_0x2dbe3e=this[_0x51d488(0x9b)][_0x51d488(0xcd)][_0x51d488(0x110)](_0x14e3a8);this[_0x51d488(0x9b)][_0x51d488(0x12e)](_0x51d488(0x121)),_0x2dbe3e[_0x51d488(0x126)][_0x51d488(0xd4)](this[_0x51d488(0xb0)])&&_0x2dbe3e[_0x51d488(0xe3)](this[_0x51d488(0xb0)]),_0x38961f[_0x51d488(0xb3)](this),this[_0x51d488(0xcb)](),super[_0x51d488(0xa3)]();}async[_0x1c27f6(0x129)](_0x250d54){const _0x5a6056=_0x1c27f6;if(this[_0x5a6056(0x13d)]!==_0x250d54[_0x5a6056(0x13d)]&&this[_0x5a6056(0x14b)]!==_0x250d54[_0x5a6056(0x173)])throw new X();return this[_0x5a6056(0x13d)]=_0x250d54[_0x5a6056(0x13d)],this[_0x5a6056(0x15e)]([],{..._0x250d54,'wereChangesApplied':!0x1,'data':_0x250d54[_0x5a6056(0x19d)]},_0x5a6056(0xe8));}async[_0x1c27f6(0x13c)](_0x13efe0,_0x3015de=!0x1){const _0x2a14be=_0x1c27f6,{connection:_0x55767d}=this[_0x2a14be(0x9b)][_0x2a14be(0xcd)][_0x2a14be(0x110)](_0x450e91);l[_0x2a14be(0x137)][_0x2a14be(0xba)](_0x55767d,this[_0x2a14be(0xb0)])[_0x2a14be(0xa2)](_0x448950=>this[_0x2a14be(0x169)](_0x448950))[_0x2a14be(0x12a)](_0x18bfb8=>{const _0xd2d278=_0x2a14be;this[_0xd2d278(0xdb)](_0xd2d278(0xa9),_0x18bfb8);}),this[_0x2a14be(0xa5)](this[_0x2a14be(0x12b)],_0x2a14be(0xf3),this[_0x2a14be(0xd3)][_0x2a14be(0xca)](this)),this[_0x2a14be(0xa5)](this[_0x2a14be(0x12b)],_0x2a14be(0x11d),(_0x5f5e59,_0x15a01d)=>{const _0xf1dc35=_0x2a14be;this[_0xf1dc35(0xdb)](_0xf1dc35(0x151),_0x15a01d);}),this[_0x2a14be(0xa5)](this[_0x2a14be(0x12b)],_0x2a14be(0x1a0),()=>{const _0x3e860c=_0x2a14be;this[_0x3e860c(0x9c)]=!0x1;});const _0x2232aa=this[_0x2a14be(0x9f)][_0x2a14be(0x199)](_0x13efe0);this[_0x2a14be(0xe1)]=!0x0;const _0x28837f=await this[_0x2a14be(0x12b)][_0x2a14be(0x145)](_0x55767d,this[_0x2a14be(0xd1)](_0x13efe0),_0x2232aa);if(this[_0x2a14be(0x13d)]=_0x28837f[_0x2a14be(0x13d)],_0x3015de){if(!_0x28837f[_0x2a14be(0x19c)])return void this[_0x2a14be(0x176)]();this[_0x2a14be(0xe1)]=!0x1,this[_0x2a14be(0x16e)](),this[_0x2a14be(0x146)][_0x2a14be(0x10e)](),this[_0x2a14be(0x14f)]=_0x28837f[_0x2a14be(0xa0)],this[_0x2a14be(0x146)][_0x2a14be(0xe9)]=this[_0x2a14be(0x14f)],await this[_0x2a14be(0x15e)](_0x13efe0,_0x28837f,_0x2a14be(0x12f));}else await this[_0x2a14be(0x115)](_0x28837f,_0x13efe0);this[_0x2a14be(0x19b)](),this[_0x2a14be(0x9c)]=!0x0;}[_0x1c27f6(0x19b)](){const _0x574d89=_0x1c27f6,_0x5c8d74=this[_0x574d89(0x9b)][_0x574d89(0xcd)][_0x574d89(0x110)](_0x14e3a8),_0xf73001=this[_0x574d89(0x9b)][_0x574d89(0xcd)][_0x574d89(0x110)](_0x4d89a8),_0x3535c5=_0x5c8d74[_0x574d89(0x126)][_0x574d89(0x110)](this[_0x574d89(0xb0)]);_0x3535c5&&_0x3535c5[_0x574d89(0x106)]>0x1?_0xf73001[_0x574d89(0x157)]():this[_0x574d89(0xa5)](_0x5c8d74,_0x574d89(0x181)+this[_0x574d89(0xb0)],()=>{const _0x32ca6f=_0x574d89;0x2===_0x5c8d74[_0x32ca6f(0x126)][_0x32ca6f(0x110)](this[_0x32ca6f(0xb0)])[_0x32ca6f(0x106)]&&_0xf73001[_0x32ca6f(0x157)]();});}async[_0x1c27f6(0xd3)](_0x12c6af,_0x4d0974,_0x4e3810,_0x4e9284){const _0x3db220=_0x1c27f6;if(!this[_0x3db220(0xe1)]&&this[_0x3db220(0xc7)][_0x3db220(0xe9)]==_0x4d0974){const _0x3c9d49=this[_0x3db220(0xe4)](_0x4e3810,_0x4e9284);await this[_0x3db220(0xc0)](_0x3c9d49),this[_0x3db220(0xd9)](_0x3c9d49,_0x4d0974,_0x4e3810[_0x3db220(0x173)])||this[_0x3db220(0xdb)](_0x3db220(0xc5));}}async[_0x1c27f6(0xf9)](){const _0x58bf18=_0x1c27f6;this[_0x58bf18(0xcb)]();const {locale:_0x49f713}=this[_0x58bf18(0x9b)];let _0x35e1f1;try{_0x35e1f1=await this[_0x58bf18(0x12b)][_0x58bf18(0xec)]();}catch{const _0x4f35c3=_0x359335(_0x49f713,_0x58bf18(0x192));return void this[_0x58bf18(0x176)](_0x4f35c3);}const _0x45bcb4=_0x35e1f1[_0x58bf18(0xde)]||_0x35e1f1[_0x58bf18(0xf6)];if(this[_0x58bf18(0x14b)]!==_0x45bcb4[_0x58bf18(0x173)]){const _0xb70fea=_0x359335(_0x49f713,_0x58bf18(0xc1));return void this[_0x58bf18(0x176)](_0xb70fea);}await this[_0x58bf18(0x13c)](this[_0x58bf18(0x9b)][_0x58bf18(0x148)][_0x58bf18(0x10d)][_0x58bf18(0xaa)][_0x58bf18(0xe2)](),!0x0);}[_0x1c27f6(0xcb)](){const _0x36b1dd=_0x1c27f6;this[_0x36b1dd(0x12b)][_0x36b1dd(0x102)](),this[_0x36b1dd(0x19f)]=[],clearTimeout(this[_0x36b1dd(0x164)]),this[_0x36b1dd(0x120)](this[_0x36b1dd(0x12b)]);}[_0x1c27f6(0x169)](_0x3e4e68){const _0x5ad542=_0x1c27f6,_0xaa9882=this[_0x5ad542(0x9b)][_0x5ad542(0xcd)][_0x5ad542(0x110)](_0x14e3a8);this[_0x5ad542(0xa5)](_0xaa9882,_0x5ad542(0x181)+this[_0x5ad542(0xb0)],(_0x37df89,{session:_0x45007e})=>{const _0x15b46e=_0x5ad542;if(_0x45007e['id']===_0xaa9882[_0x15b46e(0xc8)]){_0x37df89[_0x15b46e(0x15f)]();const _0xd23035=this[_0x15b46e(0x9b)][_0x15b46e(0xcd)][_0x15b46e(0xd4)](_0x15b46e(0xf0))&&this[_0x15b46e(0x9b)][_0x15b46e(0xcd)][_0x15b46e(0x110)](_0x15b46e(0xf0));let _0x3fa8b3=_0x45007e[_0x15b46e(0xc6)];_0xd23035&&_0xd23035[_0x15b46e(0x180)]&&(_0x3fa8b3=_0x3fa8b3[_0x15b46e(0x108)](_0x1850e3=>_0x15b46e(0x15c)!==_0x1850e3)),this[_0x15b46e(0x9b)][_0x15b46e(0xcd)][_0x15b46e(0x110)](_0x15b46e(0x183))[_0x15b46e(0x159)](_0x3fa8b3,this[_0x15b46e(0xb0)]);}}),_0xaa9882[_0x5ad542(0x18e)](this[_0x5ad542(0xb0)],_0x3e4e68);}[_0x1c27f6(0xfa)](){const _0xcd4381=_0x1c27f6,_0x4e3122=this[_0xcd4381(0x9b)][_0xcd4381(0x19d)][_0xcd4381(0xfc)];this[_0xcd4381(0x9b)][_0xcd4381(0x19d)][_0xcd4381(0xfc)]=(..._0x5b416e)=>{const _0xaecd6f=_0xcd4381;if(!_0x5b416e[_0x5b416e[_0xaecd6f(0x106)]-0x1][_0xaecd6f(0x16f)])throw new _0x5aa002(_0xaecd6f(0xf2),this);_0x4e3122[_0xaecd6f(0x13f)](this[_0xaecd6f(0x9b)][_0xaecd6f(0x19d)],_0x5b416e);};}[_0x1c27f6(0x175)](){const _0x56b105=_0x1c27f6;this[_0x56b105(0x9b)][_0x56b105(0x19d)]['on'](_0x56b105(0x172),(_0x22c78d,[_0x31b217])=>{const _0x4ab878=_0x56b105;if(this[_0x4ab878(0xc7)][_0x4ab878(0xe9)])throw new _0x5aa002(_0x4ab878(0x18a),this);_0x22c78d[_0x4ab878(0x11c)](),this[_0x4ab878(0x15b)]();const _0x3a0bf9=this[_0x4ab878(0x9b)][_0x4ab878(0x10c)][_0x4ab878(0x110)](_0x4ab878(0x17b)),_0x34051c=this[_0x4ab878(0x128)](_0x31b217,_0x3a0bf9);0x0==_0x34051c[_0x4ab878(0x106)]&&_0x34051c[_0x4ab878(0x112)](new _0x581e69(0x0)),_0x22c78d[_0x4ab878(0xbd)]=this[_0x4ab878(0x13c)](_0x34051c)[_0x4ab878(0xa2)](()=>{const _0x32017b=_0x4ab878;this[_0x32017b(0x9b)][_0x32017b(0xcd)][_0x32017b(0x110)](_0x450e91)[_0x32017b(0xfd)](this),this[_0x32017b(0x9b)][_0x32017b(0x19d)][_0x32017b(0xd5)](_0x32017b(0xb8));})[_0x4ab878(0x12a)](_0x1ecd3b=>this[_0x4ab878(0xdb)](_0x4ab878(0x189),_0x1ecd3b))[_0x4ab878(0xe7)](()=>this[_0x4ab878(0x16e)]());},{'priority':_0x56b105(0x109)}),this[_0x56b105(0x9b)]['on'](_0x56b105(0x16c),async(_0xf69160,[_0x2bf4e4,_0xfcbaae])=>{const _0x40cff3=_0x56b105;_0xf69160[_0x40cff3(0x11c)]();const _0x5c6d38=this[_0x40cff3(0x9b)][_0x40cff3(0x148)][_0x40cff3(0x10d)][_0x40cff3(0xd7)](_0x2bf4e4);if(!this[_0x40cff3(0xb6)][_0x40cff3(0xd4)](_0x2bf4e4)){const _0x2d5209=_0xfcbaae&&_0xfcbaae[_0x40cff3(0x19d)]?_0xfcbaae[_0x40cff3(0x19d)]:'',_0x4d42f2=_0xfcbaae&&_0xfcbaae[_0x40cff3(0x144)]?_0xfcbaae[_0x40cff3(0x144)]:{};await this[_0x40cff3(0xfb)](_0x2bf4e4,_0x2d5209,_0x4d42f2);}this[_0x40cff3(0x9b)][_0x40cff3(0x148)][_0x40cff3(0xc2)]({'isUndoable':!0x1},()=>{const _0x547e12=_0x40cff3;_0x5c6d38[_0x547e12(0x14e)]=!0x0,this[_0x547e12(0x9b)][_0x547e12(0x148)][_0x547e12(0x10d)][_0x547e12(0xb4)][_0x547e12(0x171)](_0x5c6d38);});},{'priority':_0x56b105(0x109)});}async[_0x1c27f6(0xc0)](_0x1c5360){const _0x5b422c=_0x1c27f6,_0x5c8e17=this[_0x5b422c(0x9b)][_0x5b422c(0xcd)][_0x5b422c(0x110)](_0x2dc2da),{connection:_0x2a0a21}=this[_0x5b422c(0x9b)][_0x5b422c(0xcd)][_0x5b422c(0x110)](_0x450e91),_0x5c8433=new Set();for(const _0x4c4ba6 of _0x1c5360){const _0x210a27=_0x4c4ba6[_0x5b422c(0x10f)];_0x210a27&&!_0x5c8e17[_0x5b422c(0xa1)](_0x210a27)&&_0x5c8433[_0x5b422c(0x133)](_0x210a27);}if(0x0===_0x5c8433[_0x5b422c(0xa8)])return;const _0x160406=await _0x3f944a[_0x5b422c(0x119)](_0x2a0a21,Array[_0x5b422c(0x193)](_0x5c8433));for(const _0x1b087c of _0x160406)_0x5c8e17[_0x5b422c(0xa1)](_0x1b087c['id'])||_0x5c8e17[_0x5b422c(0x100)](_0x1b087c);}[_0x1c27f6(0x128)](_0x2ca348,_0x2213d1={}){const _0x8105d8=_0x1c27f6,_0x118a2a=this[_0x8105d8(0x9b)][_0x8105d8(0x148)],_0x4295b4=[];let _0x3e0ceb=0x0;const _0x193a83=_0x8105d8(0x17a)==typeof _0x2ca348?{'main':_0x2ca348}:_0x2ca348;for(const _0x23ff2d of Object[_0x8105d8(0x123)](_0x193a83)){if(!this[_0x8105d8(0xc7)][_0x8105d8(0xdd)][_0x8105d8(0xd4)](_0x23ff2d))throw new _0x5aa002(_0x8105d8(0x14d),this);const _0x11395b=this[_0x8105d8(0x9b)][_0x8105d8(0x19d)][_0x8105d8(0xb1)](_0x193a83[_0x23ff2d]),_0x410ead=this[_0x8105d8(0xc7)][_0x8105d8(0xd7)](_0x23ff2d),_0x53d0bd=new _0x34d099(_0x118a2a[_0x8105d8(0xa4)](_0x410ead,0x0),_0x11395b,_0x3e0ceb++);_0x4295b4[_0x8105d8(0x112)](_0x53d0bd);for(const [_0x412a0a,_0x3748d3]of _0x11395b[_0x8105d8(0xb5)]){const _0x40c4da=_0x118a2a[_0x8105d8(0x12d)](_0x118a2a[_0x8105d8(0x142)](_0x410ead,_0x3748d3[_0x8105d8(0xb7)][_0x8105d8(0x140)][_0x8105d8(0x103)]()),_0x118a2a[_0x8105d8(0x142)](_0x410ead,_0x3748d3[_0x8105d8(0x150)][_0x8105d8(0x140)][_0x8105d8(0x103)]())),_0x4d02b5=new _0x4e1cb0(_0x412a0a,null,_0x40c4da,_0x118a2a[_0x8105d8(0xb5)],!0x0,_0x3e0ceb++);_0x4295b4[_0x8105d8(0x112)](_0x4d02b5);}}if(_0x2213d1)for(const [_0x59eda6,_0x5bbc10]of Object[_0x8105d8(0x185)](_0x2213d1)){const _0x62ff8f=_0x118a2a[_0x8105d8(0x10d)][_0x8105d8(0xd7)](_0x59eda6);if(!_0x62ff8f)throw new _0x5aa002(_0x8105d8(0x170),null);for(const [_0x38a380,_0x501d58]of Object[_0x8105d8(0x185)](_0x5bbc10))if(null!==_0x501d58){const _0x9715e7=new _0x2ccb46(_0x62ff8f,_0x38a380,null,_0x501d58,_0x3e0ceb++);_0x4295b4[_0x8105d8(0x112)](_0x9715e7);}}return _0x4295b4;}async[_0x1c27f6(0xfb)](_0x111561,_0x476eea,_0x1678d0){const _0x15f06c=_0x1c27f6;this[_0x15f06c(0x128)]({[_0x111561]:_0x476eea},{[_0x111561]:_0x1678d0})[_0x15f06c(0x14a)]((_0x362073,_0x1181a2)=>{const _0xc5230c=_0x15f06c;_0x362073[_0xc5230c(0x160)]=this[_0xc5230c(0xc7)][_0xc5230c(0xe9)]+_0x1181a2,_0x362073[_0xc5230c(0xf4)]=!0x0,this[_0xc5230c(0xef)](_0x362073);}),this[_0x15f06c(0x101)](),await this[_0x15f06c(0x131)]();}async[_0x1c27f6(0x115)](_0x435eb6,_0x4cf03c){const _0x4e28e6=_0x1c27f6;let _0x177de4;this[_0x4e28e6(0x14f)]=_0x435eb6[_0x4e28e6(0xa0)];const _0x2c43dc=_0x435eb6[_0x4e28e6(0x19c)]&&!_0x435eb6[_0x4e28e6(0x107)],_0x5bdffd=_0x2c43dc?0x0:_0x435eb6[_0x4e28e6(0x19d)][_0x4e28e6(0x160)];if(_0x4cf03c[_0x4e28e6(0x14a)](_0x4c1d53=>{const _0x449b96=_0x4e28e6;_0x4c1d53[_0x449b96(0xf4)]=!0x0,_0x4c1d53[_0x449b96(0x18f)]=_0x435eb6[_0x449b96(0x190)],_0x4c1d53[_0x449b96(0x10f)]=null;}),_0x2c43dc)_0x177de4=_0x4cf03c,this[_0x4e28e6(0x149)](_0x177de4,_0x2c43dc);else{if(_0x435eb6[_0x4e28e6(0x107)]){const _0x4bb4df=this[_0x4e28e6(0x128)](_0x435eb6[_0x4e28e6(0x107)]);this[_0x4e28e6(0xc7)][_0x4e28e6(0xaa)][_0x4e28e6(0xe9)]=-_0x4bb4df[_0x4e28e6(0x106)],_0x4bb4df[_0x4e28e6(0x14a)](_0x2e996e=>{const _0x7b8a29=_0x4e28e6;_0x2e996e[_0x7b8a29(0x160)]-=_0x4bb4df[_0x7b8a29(0x106)],_0x2e996e[_0x7b8a29(0x18f)]=_0x435eb6[_0x7b8a29(0x190)],_0x2e996e[_0x7b8a29(0xf4)]=!0x0,_0x2e996e[_0x7b8a29(0x10f)]=null;}),this[_0x4e28e6(0x149)](_0x4bb4df,!0x0),this[_0x4e28e6(0x146)][_0x4e28e6(0xe9)]=-_0x4bb4df[_0x4e28e6(0x106)]+this[_0x4e28e6(0x14f)],this[_0x4e28e6(0x16b)](_0x4bb4df);}this[_0x4e28e6(0xc7)][_0x4e28e6(0xaa)][_0x4e28e6(0xe9)]=_0x5bdffd,_0x177de4=this[_0x4e28e6(0xe4)](_0x435eb6[_0x4e28e6(0x19d)],_0x435eb6[_0x4e28e6(0xdc)]),await this[_0x4e28e6(0xc0)](_0x177de4),this[_0x4e28e6(0x149)](_0x177de4,_0x2c43dc);}_0x435eb6[_0x4e28e6(0x173)]&&(this[_0x4e28e6(0x9f)][_0x4e28e6(0x19a)](_0x177de4,_0x435eb6[_0x4e28e6(0x173)]),this[_0x4e28e6(0x14b)]=_0x435eb6[_0x4e28e6(0x173)]),this[_0x4e28e6(0x146)][_0x4e28e6(0xe9)]=_0x5bdffd+this[_0x4e28e6(0x14f)],this[_0x4e28e6(0x16b)](_0x177de4),_0x4cf03c[_0x4e28e6(0x108)](_0x4d811e=>{const _0x2ae39f=_0x4e28e6,_0x57d350=this[_0x2ae39f(0xc3)](_0x4d811e);return _0x57d350&&!this[_0x2ae39f(0xb6)][_0x2ae39f(0xd4)](_0x57d350);})[_0x4e28e6(0x14a)]((_0x3a66ad,_0x3166ac)=>{const _0x1f8f84=_0x4e28e6;_0x3a66ad[_0x1f8f84(0x160)]=this[_0x1f8f84(0xc7)][_0x1f8f84(0xe9)]+_0x3166ac,this[_0x1f8f84(0xef)](_0x3a66ad);}),this[_0x4e28e6(0xe6)]()?(this[_0x4e28e6(0xd0)]=0x0,this[_0x4e28e6(0x101)](!0x0),await this[_0x4e28e6(0x131)]()):(this[_0x4e28e6(0xe1)]=!0x1,this[_0x4e28e6(0x16e)]());}[_0x1c27f6(0xdb)](_0x5dd43e,_0x30e030){const _0x317efb=_0x1c27f6,_0x1daa41=_0x30e030&&_0x30e030[_0x317efb(0xa7)];if(_0x1daa41&&_0x1daa41[_0x317efb(0x19e)](_0x317efb(0x153)))throw _0x30e030;const _0x27b2e0=this[_0x317efb(0x9b)][_0x317efb(0xcd)][_0x317efb(0x110)](_0x450e91);throw this[_0x317efb(0xe1)]=!0x0,_0x27b2e0[_0x317efb(0x102)](),this[_0x317efb(0x9b)][_0x317efb(0x12e)](_0x317efb(0x166)),new _0x5aa002(_0x5dd43e,this[_0x317efb(0x9b)],_0x1daa41?{'originalError':_0x1daa41}:void 0x0);}[_0x1c27f6(0xef)](_0x266fcf){const _0xcb6cf0=_0x1c27f6;this[_0xcb6cf0(0xab)][_0xcb6cf0(0xd4)](_0x266fcf)||(this[_0xcb6cf0(0xab)][_0xcb6cf0(0x133)](_0x266fcf),this[_0xcb6cf0(0x19f)][_0xcb6cf0(0x112)](_0x266fcf),this[_0xcb6cf0(0x18b)]||_0xcb6cf0(0xb9)==_0x266fcf[_0xcb6cf0(0x177)]&&!_0x266fcf[_0xcb6cf0(0x186)]||this[_0xcb6cf0(0x15b)]());}[_0x1c27f6(0x101)](_0x4f8294=!0x1){const _0x39283c=_0x1c27f6;!_0x4f8294&&this[_0x39283c(0xe1)]||(this[_0x39283c(0xe1)]=!0x0,clearTimeout(this[_0x39283c(0x164)]),this[_0x39283c(0x164)]=setTimeout(()=>{const _0x423e87=_0x39283c;this[_0x423e87(0x124)]()[_0x423e87(0xa2)](_0x2b879e=>{const _0x115122=_0x423e87;_0x2b879e&&(this[_0x115122(0x16e)](),this[_0x115122(0xe1)]=!0x1);})[_0x423e87(0x12a)](_0x1fc4aa=>{const _0x2d887a=_0x423e87;this[_0x2d887a(0x16e)](),this[_0x2d887a(0xe1)]=!0x1,function(_0xfc4efb){const _0x1a0718=_0x2d887a;return _0xfc4efb[_0x1a0718(0xa7)][_0x1a0718(0x19e)](_0x1a0718(0x113))||_0xfc4efb[_0x1a0718(0xa7)][_0x1a0718(0x19e)](_0x1a0718(0x165))||_0xfc4efb[_0x1a0718(0xa7)][_0x1a0718(0x19e)](_0x1a0718(0x152));}(_0x1fc4aa)||this[_0x2d887a(0xdb)](_0x1fc4aa[_0x2d887a(0xa7)],_0x1fc4aa);});},this[_0x39283c(0xd0)]));}[_0x1c27f6(0x131)](){return new Promise(_0x5806ab=>{const _0x45fe41=_0x2f35;this['on'](_0x45fe41(0x187),()=>{_0x5806ab();});});}async[_0x1c27f6(0x124)](){const _0xe2407d=_0x1c27f6,_0x2839de=this[_0xe2407d(0x9b)][_0xe2407d(0xcd)][_0xe2407d(0x110)](_0x4d89a8);if(this[_0xe2407d(0x11f)]()&&(_0x2839de[_0xe2407d(0x157)](),this[_0xe2407d(0x11b)]=!0x1),!this[_0xe2407d(0xe6)]())return!0x0;const _0x855b43=[...this[_0xe2407d(0x19f)]];for(const _0x488cbe of _0x855b43)_0x488cbe[_0xe2407d(0x184)]=this[_0xe2407d(0xc7)][_0xe2407d(0xaa)][_0xe2407d(0x179)](_0x488cbe);const _0x435bd8=this[_0xe2407d(0x9f)][_0xe2407d(0x199)](_0x855b43),_0x477de7=Q++,_0x470908=this[_0xe2407d(0xd1)](_0x855b43),_0x19d22e=await this[_0xe2407d(0x12b)][_0xe2407d(0xc9)](_0x470908,_0x470908[_0xe2407d(0x160)],_0x435bd8);try{return await this[_0xe2407d(0x15e)](_0x855b43,_0x19d22e,_0x477de7);}catch(_0xd52a7c){return this[_0xe2407d(0xdb)](_0xe2407d(0xd2),_0xd52a7c);}}async[_0x1c27f6(0x15e)](_0x38fc96,_0x1038b6,_0x5d465c){const _0x62e079=_0x1c27f6;if(_0x62e079(0x11d)in _0x1038b6)throw _0x1038b6[_0x62e079(0x11d)];let _0x558073=!0x1;if(_0x1038b6[_0x62e079(0x19c)]){_0x1038b6[_0x62e079(0x173)]&&(this[_0x62e079(0x14b)]=_0x1038b6[_0x62e079(0x173)]),this[_0x62e079(0x19f)]=this[_0x62e079(0x19f)][_0x62e079(0x108)](_0x3458c2=>!_0x38fc96[_0x62e079(0x15d)](_0x3458c2));for(const _0x1efebf of _0x38fc96)_0x1efebf[_0x62e079(0x18f)]=_0x62e079(0x14c)in _0x1038b6&&_0x1038b6[_0x62e079(0x14c)]||void 0x0;Y(_0x38fc96,_0x1038b6[_0x62e079(0xe9)]-_0x38fc96[_0x62e079(0x106)]),this[_0x62e079(0x16b)](_0x38fc96);const _0x272271=_0x38fc96[_0x62e079(0x108)](_0x8af88f=>{const _0x4d6091=_0x62e079;if(!_0x8af88f[_0x4d6091(0xf4)])return!0x1;const _0x3fb79e=this[_0x4d6091(0xc3)](_0x8af88f);return _0x3fb79e&&!this[_0x4d6091(0xb6)][_0x4d6091(0xd4)](_0x3fb79e);});Y(_0x272271,this[_0x62e079(0xc7)][_0x62e079(0xe9)]),this[_0x62e079(0x149)](_0x272271),_0x558073=!0x0,this[_0x62e079(0xd0)]=this[_0x62e079(0x162)];}else{const _0x32f4d2=this[_0x62e079(0xe4)](_0x1038b6[_0x62e079(0x19d)],_0x1038b6[_0x62e079(0xdc)])[_0x62e079(0x108)](_0xca56a3=>_0xca56a3[_0x62e079(0x160)]>=this[_0x62e079(0xda)]);_0x32f4d2[_0x62e079(0x14a)](_0x47952f=>this[_0x62e079(0x130)](_0x47952f)),this[_0x62e079(0x19f)]=this[_0x62e079(0x19f)][_0x62e079(0x108)](_0x1460cf=>!_0x1460cf[_0x62e079(0xf4)]||!this[_0x62e079(0xb6)][_0x62e079(0xd4)](this[_0x62e079(0xc3)](_0x1460cf))),this[_0x62e079(0x19f)][_0x62e079(0x106)]&&Y(this[_0x62e079(0x19f)],this[_0x62e079(0x19f)][0x0][_0x62e079(0x160)]),await this[_0x62e079(0xc0)](_0x32f4d2),_0x558073=this[_0x62e079(0xd9)](_0x32f4d2,_0x1038b6[_0x62e079(0xe9)],_0x1038b6[_0x62e079(0x173)]),this[_0x62e079(0xd0)]=Math[_0x62e079(0x139)](this[_0x62e079(0xd0)]/0x2);}return _0x558073?!this[_0x62e079(0xe6)]()||(this[_0x62e079(0x101)](!0x0),!0x1):this[_0x62e079(0xdb)](_0x62e079(0x163));}[_0x1c27f6(0xd9)](_0x243828,_0x2cf723,_0xe4a893){const _0x5b009=_0x1c27f6;try{const _0x1ae74b={'document':this[_0x5b009(0xc7)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x95d16,operationsB:_0x370329,originalOperations:_0x1a00b5}=_0x4c3eee(_0x243828,this[_0x5b009(0x19f)],_0x1ae74b);Y(_0x95d16,this[_0x5b009(0xc7)][_0x5b009(0xe9)]),Y(_0x370329,_0x2cf723);for(const _0xc761de of _0x95d16){const _0x282e65=_0x1a00b5[_0x5b009(0x110)](_0xc761de);_0xc761de[_0x5b009(0x10f)]=_0x282e65?_0x282e65[_0x5b009(0x10f)]:null;}_0xe4a893&&(this[_0x5b009(0x9f)][_0x5b009(0x19a)](_0x243828,_0xe4a893),this[_0x5b009(0x14b)]=_0xe4a893),this[_0x5b009(0x19f)]=[..._0x370329],this[_0x5b009(0x149)](_0x95d16),this[_0x5b009(0x16b)](_0x243828);}catch(_0x32231c){return console[_0x5b009(0x11d)](_0x32231c),!0x1;}return!0x0;}[_0x1c27f6(0x149)](_0x10ff4a,_0x2c91e2=!0x1){const _0x13d06c=_0x1c27f6;this[_0x13d06c(0x9b)][_0x13d06c(0x148)][_0x13d06c(0xc2)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2f73ac=>{const _0x303005=_0x13d06c;for(const _0x24add6 of _0x10ff4a)this[_0x303005(0xab)][_0x303005(0x133)](_0x24add6),this[_0x303005(0x130)](_0x24add6),_0x2f73ac[_0x303005(0x105)][_0x303005(0x10b)](_0x24add6),this[_0x303005(0x9b)][_0x303005(0x148)][_0x303005(0x13e)](_0x24add6);});}[_0x1c27f6(0x130)](_0x292e12){const _0x2fdd03=_0x1c27f6,_0x4dff6f=this[_0x2fdd03(0xc3)](_0x292e12);_0x4dff6f&&this[_0x2fdd03(0xb6)][_0x2fdd03(0x133)](_0x4dff6f);}[_0x1c27f6(0xc3)](_0x75f2ad){const _0x5a5f75=_0x1c27f6;let _0x16d955,_0x1d57da;switch(_0x75f2ad[_0x5a5f75(0x177)]){case _0x5a5f75(0x138):_0x16d955=_0x75f2ad[_0x5a5f75(0xeb)][_0x5a5f75(0x122)];break;case _0x5a5f75(0xb9):if(_0x1d57da=_0x75f2ad[_0x5a5f75(0x11a)],!_0x1d57da)return null;_0x16d955=_0x1d57da[_0x5a5f75(0x122)];break;case _0x5a5f75(0xf8):_0x16d955=_0x75f2ad[_0x5a5f75(0x122)];break;case _0x5a5f75(0x155):_0x16d955=_0x75f2ad[_0x5a5f75(0x156)];break;case _0x5a5f75(0x178):_0x16d955=_0x75f2ad[_0x5a5f75(0xac)][_0x5a5f75(0x122)];break;default:return null;}return _0x16d955[_0x5a5f75(0x134)];}[_0x1c27f6(0x16b)](_0x4be008){const _0x1b4a54=_0x1c27f6;_0x4be008[_0x1b4a54(0x14a)](_0x45ad6f=>{const _0x5daa2c=_0x1b4a54,_0x1701f8=_0x45ad6f[_0x5daa2c(0x17e)]();_0x1701f8[_0x5daa2c(0x10f)]=_0x45ad6f[_0x5daa2c(0x10f)],_0x1701f8[_0x5daa2c(0xf4)]=!!_0x45ad6f[_0x5daa2c(0xf4)],_0x1701f8[_0x5daa2c(0x18f)]=_0x45ad6f[_0x5daa2c(0x18f)],_0x1701f8[_0x5daa2c(0x160)]+=this[_0x5daa2c(0x14f)],_0x45ad6f[_0x5daa2c(0x11e)]&&this[_0x5daa2c(0x132)][_0x5daa2c(0x133)](_0x1701f8),this[_0x5daa2c(0x146)][_0x5daa2c(0x10b)](_0x1701f8);});}[_0x1c27f6(0x176)](_0x43c488){const _0x1cbfa9=_0x1c27f6,_0x1eb986=this[_0x1cbfa9(0x9b)][_0x1cbfa9(0xcd)][_0x1cbfa9(0x110)](_0x1cbfa9(0x158)),_0x7dc071=this[_0x1cbfa9(0x9b)][_0x1cbfa9(0xa6)];_0x43c488||(_0x43c488=_0x359335(_0x7dc071,_0x1cbfa9(0x114))),_0x1eb986[_0x1cbfa9(0xcf)](_0x43c488,{'title':_0x359335(_0x7dc071,_0x1cbfa9(0xdf)),'namespace':_0x1cbfa9(0x16a)}),this[_0x1cbfa9(0x18d)]=!0x0,clearTimeout(this[_0x1cbfa9(0x164)]),this[_0x1cbfa9(0x19f)]=[],this[_0x1cbfa9(0x9b)][_0x1cbfa9(0xcd)][_0x1cbfa9(0x110)](_0x450e91)[_0x1cbfa9(0x102)]();}[_0x1c27f6(0x15b)](){const _0xba818a=_0x1c27f6;this[_0xba818a(0x18b)]||(this[_0xba818a(0x18b)]=this[_0xba818a(0x9b)][_0xba818a(0xcd)][_0xba818a(0x110)](_0x555315)[_0xba818a(0x133)](_0x359335(this[_0xba818a(0x9b)][_0xba818a(0xa6)],_0xba818a(0x17d))));}[_0x1c27f6(0x16e)](){const _0x459974=_0x1c27f6;this[_0x459974(0x18b)]&&(this[_0x459974(0x9b)][_0x459974(0xcd)][_0x459974(0x110)](_0x555315)[_0x459974(0x125)](this[_0x459974(0x18b)]),this[_0x459974(0x18b)]=null);}[_0x1c27f6(0xd1)](_0x3fabfc){const _0x34ee7f=_0x1c27f6,_0x337617=_0x3fabfc[_0x34ee7f(0xf5)](_0x263288=>_0x263288[_0x34ee7f(0xce)]());return this[_0x34ee7f(0xe5)][_0x34ee7f(0xbe)](_0x337617);}[_0x1c27f6(0xe4)](_0x382287,_0x150e7d){const _0x5cc930=_0x1c27f6;return this[_0x5cc930(0xe5)][_0x5cc930(0x17c)](_0x382287)[_0x5cc930(0xf5)]((_0x4f9ee1,_0xe37ad7)=>{const _0xb16ec6=_0x5cc930,_0x58da6c=_0xb16ec6(0x172)==_0x150e7d[_0xe37ad7][_0xb16ec6(0x177)];if(_0xb16ec6(0x168)==_0x4f9ee1[_0xb16ec6(0xbc)]){const _0xf5632f=_0x4f9ee1[_0xb16ec6(0xeb)][_0xb16ec6(0x122)];!this[_0xb16ec6(0xc7)][_0xb16ec6(0xd7)](_0xf5632f)&&(this[_0xb16ec6(0xc7)][_0xb16ec6(0xf1)](_0xb16ec6(0x111),_0xf5632f)[_0xb16ec6(0xfe)]=!0x1);}const _0x445438=_0x5be407[_0xb16ec6(0x147)](_0x4f9ee1,this[_0xb16ec6(0xc7)]);return _0x445438[_0xb16ec6(0x184)]=_0x4f9ee1[_0xb16ec6(0x184)],_0x445438[_0xb16ec6(0xf4)]=_0x58da6c,_0x445438[_0xb16ec6(0x10f)]=_0x58da6c?null:_0x150e7d[_0xe37ad7][_0xb16ec6(0x174)],_0x445438[_0xb16ec6(0x11e)]=_0xb16ec6(0x117)===_0x150e7d[_0xe37ad7][_0xb16ec6(0x177)],_0x445438[_0xb16ec6(0x18f)]=_0x150e7d[_0xe37ad7][_0xb16ec6(0x18f)],_0x445438;});}[_0x1c27f6(0xbf)](){const _0x18e564=_0x1c27f6;this[_0x18e564(0x11b)]=!0x0,this[_0x18e564(0x11f)]()?this[_0x18e564(0x101)]():this[_0x18e564(0x11b)]=!0x1;}[_0x1c27f6(0x11f)](){const _0x18e1e4=_0x1c27f6,_0x2ad36b=this[_0x18e1e4(0x9b)][_0x18e1e4(0xcd)][_0x18e1e4(0x110)](_0x14e3a8)[_0x18e1e4(0x126)][_0x18e1e4(0x110)](this[_0x18e1e4(0xb0)]);return!this[_0x18e1e4(0x9b)][_0x18e1e4(0x135)]&&!!_0x2ad36b&&_0x2ad36b[_0x18e1e4(0x106)]>0x1&&this[_0x18e1e4(0x11b)];}[_0x1c27f6(0xe6)](){const _0x447a7a=_0x1c27f6;return this[_0x447a7a(0x19f)][_0x447a7a(0x106)]>0x0||this[_0x447a7a(0x11f)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x3e0ca1,_0x1897af){const _0x3f3ded=_0x1c27f6;for(const _0x146885 of _0x3e0ca1)_0x146885[_0x3f3ded(0x160)]=_0x1897af++;}class Z{[_0x1c27f6(0x195)];[_0x1c27f6(0x141)];constructor(_0x23f952){const _0x110821=_0x1c27f6;this[_0x110821(0x195)]=_0x23f952,this[_0x110821(0x141)]=new WeakMap();}[_0x1c27f6(0x199)](_0x4f6eb0){const _0x13147b=_0x1c27f6;let _0x394b9b=_0x4f6eb0[_0x13147b(0x106)];for(;_0x394b9b--;){const _0x1240c6=_0x4f6eb0[_0x394b9b];if(!this[_0x13147b(0x195)][_0x13147b(0xd4)](_0x1240c6)){if(!this[_0x13147b(0x141)][_0x13147b(0xd4)](_0x1240c6)){const _0x638b4d=_0x15cd9e()[_0x13147b(0x103)](0x1,0x12);this[_0x13147b(0x141)][_0x13147b(0xfc)](_0x1240c6,_0x638b4d);}return this[_0x13147b(0x141)][_0x13147b(0x110)](_0x1240c6);}}}[_0x1c27f6(0x19a)](_0x38cce3,_0x22dab1){const _0x3f2fc9=_0x1c27f6;if(!_0x22dab1)return;let _0x1ce39f=_0x38cce3[_0x3f2fc9(0x106)];for(;_0x1ce39f--;){const _0x4e8408=_0x38cce3[_0x1ce39f];this[_0x3f2fc9(0x195)][_0x3f2fc9(0xd4)](_0x4e8408)||this[_0x3f2fc9(0x141)][_0x3f2fc9(0xfc)](_0x4e8408,_0x22dab1);}}}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3537(_0xb9a546,_0xe3421){const _0x419b48=_0x419b();return _0x3537=function(_0x3537d6,_0x329ad8){_0x3537d6=_0x3537d6-0x1a5;let _0x20c64e=_0x419b48[_0x3537d6];return _0x20c64e;},_0x3537(_0xb9a546,_0xe3421);}const _0x5b1cdb=_0x3537;(function(_0x5469d6,_0x527f7d){const _0x1728e0=_0x3537,_0x5b05f6=_0x5469d6();while(!![]){try{const _0x5204a2=parseInt(_0x1728e0(0x1d9))/0x1+-parseInt(_0x1728e0(0x1d6))/0x2*(-parseInt(_0x1728e0(0x1cc))/0x3)+parseInt(_0x1728e0(0x1d1))/0x4*(parseInt(_0x1728e0(0x1b4))/0x5)+-parseInt(_0x1728e0(0x1c2))/0x6*(parseInt(_0x1728e0(0x1c9))/0x7)+-parseInt(_0x1728e0(0x1e0))/0x8+-parseInt(_0x1728e0(0x1b3))/0x9*(-parseInt(_0x1728e0(0x1c5))/0xa)+parseInt(_0x1728e0(0x1d7))/0xb*(-parseInt(_0x1728e0(0x1c3))/0xc);if(_0x5204a2===_0x527f7d)break;else _0x5b05f6['push'](_0x5b05f6['shift']());}catch(_0xc52eb8){_0x5b05f6['push'](_0x5b05f6['shift']());}}}(_0x419b,0xa76ca));import{Plugin as _0xda4b2c}from'ckeditor5/src/core.js';import{User as _0x6726f6,TrackChangesService as _0x3a30c4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x260a09}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x36df5a}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x51e17a}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x419b(){const _0x9b1e86=['size','cloud-services-internal-error:\x20Not\x20connected.','932DvCdAo','addUser','add','getUser','requires','442258hkJzKe','55nBEOwy','values','1271410tbkLAH','addToReconnectionStack','plugins','isPremiumPlugin','from','editor','isConnected','338600vLXafe','get','catch','init','update','find','data','isOfficialPlugin','TrackChangesEditing','getSuggestion','_trackChangesService','connection','listenTo','delete','getMany','adapter','connect','hasSuggestion','CloudServicesTrackChangesAdapter','set','startsWith','81ZdRcSl','15665ZAyPRy','cloud-services-internal-error:\x20Request\x20timeout.','connected','suggestionUpdated','then','TrackChangesService','config','reconnect','open','type','_waitForServiceReady','_bufferedRequests','originalSuggestionId','message','5586522nNRRNm','2130192CZAmEH','pluginName','360260smpWat','_fetchMissingUsersForThreads','attributes','addSuggestionData','7sdOrOx','_saved','off','3wWnnDo','collaboration.channelId','state'];_0x419b=function(){return _0x9b1e86;};return _0x419b();}class m extends _0xda4b2c{static [_0x5b1cdb(0x1b9)]=/* #__PURE__ -- @preserve */
24
- ((()=>_0x3a30c4)());[_0x5b1cdb(0x1bf)];[_0x5b1cdb(0x1a8)];static get[_0x5b1cdb(0x1d5)](){const _0x310afc=_0x5b1cdb;return[_0x36df5a,_0x310afc(0x1a6),_0x260a09];}static get[_0x5b1cdb(0x1c4)](){const _0x586136=_0x5b1cdb;return _0x586136(0x1b0);}static get[_0x5b1cdb(0x1a5)](){return!0x0;}static get[_0x5b1cdb(0x1dc)](){return!0x0;}constructor(_0x5a8f1e){const _0x4b684c=_0x5b1cdb;super(_0x5a8f1e);const _0x3690d2=this[_0x4b684c(0x1de)][_0x4b684c(0x1ba)][_0x4b684c(0x1e1)](_0x4b684c(0x1cd));this[_0x4b684c(0x1bf)]=new Map(),this[_0x4b684c(0x1a8)]=new m[(_0x4b684c(0x1b9))](_0x3690d2);}[_0x5b1cdb(0x1e3)](){const _0x1dd8b4=_0x5b1cdb,_0x2514bf=this[_0x1dd8b4(0x1de)][_0x1dd8b4(0x1db)][_0x1dd8b4(0x1e1)](_0x260a09),_0x5d15cb=this[_0x1dd8b4(0x1de)][_0x1dd8b4(0x1db)][_0x1dd8b4(0x1e1)](_0x1dd8b4(0x1a6));return _0x5d15cb[_0x1dd8b4(0x1ad)]={'getSuggestion':async _0x3bb42c=>{const _0x35e9f3=_0x1dd8b4;await this[_0x35e9f3(0x1be)]();const _0x315c0e=await this[_0x35e9f3(0x1a8)][_0x35e9f3(0x1e1)](_0x3bb42c)[_0x35e9f3(0x1e2)](k);return await this[_0x35e9f3(0x1c6)]([_0x315c0e]),_0x315c0e;},'addSuggestion':async({id:_0x3e2e90,type:_0x1c7bfa,data:_0x26be39,originalSuggestionId:_0x264490,attributes:_0x19493d})=>{const _0x4a316e=_0x1dd8b4;await this[_0x4a316e(0x1be)]();const _0x45383e={'id':_0x3e2e90,'type':_0x1c7bfa,'data':_0x26be39,'originalSuggestionId':_0x264490,'attributes':_0x19493d},_0x5044bf=await this[_0x4a316e(0x1a8)][_0x4a316e(0x1d3)](_0x3e2e90,_0x1c7bfa,_0x26be39,_0x264490,_0x19493d)[_0x4a316e(0x1e2)](_0x16f8ca=>{if(q(_0x16f8ca))return new Promise(_0x58517a=>{const _0x5df613=_0x3537;this[_0x5df613(0x1bf)][_0x5df613(0x1b1)](_0x3e2e90,{'resolve':_0x58517a,'suggestionData':_0x45383e});});throw _0x16f8ca;});return this[_0x4a316e(0x1bf)][_0x4a316e(0x1ab)](_0x3e2e90),_0x5044bf;},'updateSuggestion':async(_0x36d619,_0x5c3d36)=>{const _0x5a18ab=_0x1dd8b4;if(await this[_0x5a18ab(0x1be)](),_0x5a18ab(0x1bc)!==_0x5c3d36[_0x5a18ab(0x1ce)])return this[_0x5a18ab(0x1a8)][_0x5a18ab(0x1e4)](_0x36d619,_0x5c3d36)[_0x5a18ab(0x1e2)](k);}},this[_0x1dd8b4(0x1aa)](this[_0x1dd8b4(0x1a8)],_0x1dd8b4(0x1b7),(_0x447f84,_0x34e75d)=>{const _0x322099=_0x1dd8b4;_0x5d15cb[_0x322099(0x1af)](_0x34e75d['id'])&&(_0x5d15cb[_0x322099(0x1a7)](_0x34e75d['id'])[_0x322099(0x1c7)]=_0x34e75d[_0x322099(0x1c7)]);}),this[_0x1dd8b4(0x1a8)][_0x1dd8b4(0x1ae)](_0x2514bf[_0x1dd8b4(0x1a9)])[_0x1dd8b4(0x1b8)](_0x2582b4=>(_0x2514bf[_0x1dd8b4(0x1da)](this),this[_0x1dd8b4(0x1c6)](_0x2582b4)[_0x1dd8b4(0x1b8)](()=>{const _0x572395=_0x1dd8b4;for(const _0x3a3aa1 of _0x2582b4){_0x5d15cb[_0x572395(0x1c8)](_0x3a3aa1)[_0x572395(0x1ca)]=!0x0;}})));}async[_0x5b1cdb(0x1bb)](){const _0x3d0506=_0x5b1cdb,_0x10de58=this[_0x3d0506(0x1de)][_0x3d0506(0x1db)][_0x3d0506(0x1e1)](_0x3d0506(0x1a6)),{connection:_0x48a485}=this[_0x3d0506(0x1de)][_0x3d0506(0x1db)][_0x3d0506(0x1e1)](_0x260a09),_0x860a6c=await this[_0x3d0506(0x1a8)][_0x3d0506(0x1ae)](_0x48a485);await this[_0x3d0506(0x1c6)](_0x860a6c);for(const {suggestionData:_0x3ef817,resolve:_0xb2f9c8}of this[_0x3d0506(0x1bf)][_0x3d0506(0x1d8)]()){let _0x5ce260=_0x860a6c[_0x3d0506(0x1e5)](_0x4cb3b5=>_0x4cb3b5['id']===_0x3ef817['id']);_0x5ce260||(_0x5ce260=await this[_0x3d0506(0x1a8)][_0x3d0506(0x1d3)](_0x3ef817['id'],_0x3ef817[_0x3d0506(0x1bd)],_0x3ef817[_0x3d0506(0x1e6)],_0x3ef817[_0x3d0506(0x1c0)])),_0xb2f9c8(_0x5ce260);}for(const _0x2272f2 of _0x860a6c)_0x10de58[_0x3d0506(0x1af)](_0x2272f2['id'])||_0x10de58[_0x3d0506(0x1c8)](_0x2272f2);}async[_0x5b1cdb(0x1be)](){const _0x18d776=_0x5b1cdb;this[_0x18d776(0x1a8)][_0x18d776(0x1df)]||await new Promise(_0x38accd=>{const _0x4a7700=_0x18d776;this[_0x4a7700(0x1aa)](this[_0x4a7700(0x1a8)],_0x4a7700(0x1b6),_0x33e634=>{const _0x324317=_0x4a7700;_0x33e634[_0x324317(0x1cb)](),_0x38accd();});});}async[_0x5b1cdb(0x1c6)](_0x532356){const _0x1671cf=_0x5b1cdb,_0x317eb1=this[_0x1671cf(0x1de)][_0x1671cf(0x1db)][_0x1671cf(0x1e1)](_0x51e17a),{connection:_0x1b43f8}=this[_0x1671cf(0x1de)][_0x1671cf(0x1db)][_0x1671cf(0x1e1)](_0x260a09),_0x48d076=new Set();for(const {authorId:_0xfd17ac}of _0x532356)_0x317eb1[_0x1671cf(0x1d4)](_0xfd17ac)||_0x48d076[_0x1671cf(0x1d3)](_0xfd17ac);if(0x0===_0x48d076[_0x1671cf(0x1cf)])return;const _0x11b42d=await _0x6726f6[_0x1671cf(0x1ac)](_0x1b43f8,Array[_0x1671cf(0x1dd)](_0x48d076));for(const _0x1266a4 of _0x11b42d)_0x317eb1[_0x1671cf(0x1d4)](_0x1266a4['id'])||_0x317eb1[_0x1671cf(0x1d2)](_0x1266a4);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x151786){if(q(_0x151786))return new Promise(()=>{});throw _0x151786;}function q(_0x45c5ff){const _0x1e4d83=_0x5b1cdb;return _0x45c5ff[_0x1e4d83(0x1c1)][_0x1e4d83(0x1b2)](_0x1e4d83(0x1d0))||_0x45c5ff[_0x1e4d83(0x1c1)][_0x1e4d83(0x1b2)](_0x1e4d83(0x1b5));}
23
+ const _0x77beda=_0x4fcf;(function(_0x2a4119,_0x5e0fa9){const _0xa7dba=_0x4fcf,_0x30c1a7=_0x2a4119();while(!![]){try{const _0x22b0c5=-parseInt(_0xa7dba(0x1ce))/0x1+-parseInt(_0xa7dba(0x1b9))/0x2+-parseInt(_0xa7dba(0x1dc))/0x3*(-parseInt(_0xa7dba(0x1cb))/0x4)+-parseInt(_0xa7dba(0x1ed))/0x5*(-parseInt(_0xa7dba(0x1e1))/0x6)+parseInt(_0xa7dba(0x1d0))/0x7*(-parseInt(_0xa7dba(0x1df))/0x8)+-parseInt(_0xa7dba(0x1c3))/0x9+parseInt(_0xa7dba(0x1c7))/0xa;if(_0x22b0c5===_0x5e0fa9)break;else _0x30c1a7['push'](_0x30c1a7['shift']());}catch(_0x584627){_0x30c1a7['push'](_0x30c1a7['shift']());}}}(_0x188e,0xea272));import{Plugin as _0x3e7d5e}from'ckeditor5/src/core.js';function _0x4fcf(_0x2954fc,_0x50aaeb){const _0x188e12=_0x188e();return _0x4fcf=function(_0x4fcf2e,_0xd9ebe4){_0x4fcf2e=_0x4fcf2e-0x1b3;let _0x2249f5=_0x188e12[_0x4fcf2e];return _0x2249f5;},_0x4fcf(_0x2954fc,_0x50aaeb);}function _0x188e(){const _0x3d786b=['config','364437pFOrxf','reconnect','21goalSB','pluginName','_fetchMissingUsersForThreads','isPremiumPlugin','add','message','plugins','set','attributes','from','size','catch','435159VQexNa','cloud-services-internal-error:\x20Request\x20timeout.','off','2776056toduji','then','12OSYCXs','requires','originalSuggestionId','connected','connect','find','connection','type','values','_saved','cloud-services-internal-error:\x20Not\x20connected.','collaboration.channelId','161615iHKPKE','hasSuggestion','_trackChangesService','_bufferedRequests','get','editor','listenTo','init','open','getUser','addUser','TrackChangesEditing','1210970MWXQiK','addSuggestionData','getSuggestion','adapter','suggestionUpdated','_waitForServiceReady','getMany','state','CloudServicesTrackChangesAdapter','delete','8102835UhqnOc','addToReconnectionStack','TrackChangesService','update','32254900RjugUW','startsWith','isConnected','isOfficialPlugin','16WMZYgu','data'];_0x188e=function(){return _0x3d786b;};return _0x188e();}import{User as _0x4fd8c8,TrackChangesService as _0x1a955a}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x28087f}from'../realtimecollaborativeediting/websocketgateway.js';import{CloudServicesCommentsAdapter as _0x4f5ac7}from'../realtimecollaborativecomments/cloudservicescommentsadapter.js';import{Users as _0x4b4f58}from'ckeditor5-collaboration/src/collaboration-core.js';class m extends _0x3e7d5e{static [_0x77beda(0x1c5)]=/* #__PURE__ -- @preserve */
24
+ ((()=>_0x1a955a)());[_0x77beda(0x1f0)];[_0x77beda(0x1ef)];static get[_0x77beda(0x1e2)](){const _0x52a35=_0x77beda;return[_0x4f5ac7,_0x52a35(0x1b8),_0x28087f];}static get[_0x77beda(0x1d1)](){const _0x380afe=_0x77beda;return _0x380afe(0x1c1);}static get[_0x77beda(0x1ca)](){return!0x0;}static get[_0x77beda(0x1d3)](){return!0x0;}constructor(_0x4b7c50){const _0x13fac4=_0x77beda;super(_0x4b7c50);const _0x32f953=this[_0x13fac4(0x1f2)][_0x13fac4(0x1cd)][_0x13fac4(0x1f1)](_0x13fac4(0x1ec));this[_0x13fac4(0x1f0)]=new Map(),this[_0x13fac4(0x1ef)]=new m[(_0x13fac4(0x1c5))](_0x32f953);}[_0x77beda(0x1b4)](){const _0x583690=_0x77beda,_0x3f3455=this[_0x583690(0x1f2)][_0x583690(0x1d6)][_0x583690(0x1f1)](_0x28087f),_0x44eaf9=this[_0x583690(0x1f2)][_0x583690(0x1d6)][_0x583690(0x1f1)](_0x583690(0x1b8));return _0x44eaf9[_0x583690(0x1bc)]={'getSuggestion':async _0x26dee6=>{const _0xe4fd12=_0x583690;await this[_0xe4fd12(0x1be)]();const _0x241dbe=await this[_0xe4fd12(0x1ef)][_0xe4fd12(0x1f1)](_0x26dee6)[_0xe4fd12(0x1db)](k);return await this[_0xe4fd12(0x1d2)]([_0x241dbe]),_0x241dbe;},'addSuggestion':async({id:_0x5140f0,type:_0x64d6f7,data:_0x49b99a,originalSuggestionId:_0x1b8b62,attributes:_0x34ec27})=>{const _0x348dff=_0x583690;await this[_0x348dff(0x1be)]();const _0x2f6278={'id':_0x5140f0,'type':_0x64d6f7,'data':_0x49b99a,'originalSuggestionId':_0x1b8b62,'attributes':_0x34ec27},_0x20d486=await this[_0x348dff(0x1ef)][_0x348dff(0x1d4)](_0x5140f0,_0x64d6f7,_0x49b99a,_0x1b8b62,_0x34ec27)[_0x348dff(0x1db)](_0x3e849b=>{if(q(_0x3e849b))return new Promise(_0x48cb24=>{const _0x271023=_0x4fcf;this[_0x271023(0x1f0)][_0x271023(0x1d7)](_0x5140f0,{'resolve':_0x48cb24,'suggestionData':_0x2f6278});});throw _0x3e849b;});return this[_0x348dff(0x1f0)][_0x348dff(0x1c2)](_0x5140f0),_0x20d486;},'updateSuggestion':async(_0x39bc96,_0x45acb1)=>{const _0x35b134=_0x583690;if(await this[_0x35b134(0x1be)](),_0x35b134(0x1b5)!==_0x45acb1[_0x35b134(0x1c0)])return this[_0x35b134(0x1ef)][_0x35b134(0x1c6)](_0x39bc96,_0x45acb1)[_0x35b134(0x1db)](k);}},this[_0x583690(0x1b3)](this[_0x583690(0x1ef)],_0x583690(0x1bd),(_0x33f7fb,_0x2e6e8b)=>{const _0x58fd6f=_0x583690;_0x44eaf9[_0x58fd6f(0x1ee)](_0x2e6e8b['id'])&&(_0x44eaf9[_0x58fd6f(0x1bb)](_0x2e6e8b['id'])[_0x58fd6f(0x1d8)]=_0x2e6e8b[_0x58fd6f(0x1d8)]);}),this[_0x583690(0x1ef)][_0x583690(0x1e5)](_0x3f3455[_0x583690(0x1e7)])[_0x583690(0x1e0)](_0x542ac3=>(_0x3f3455[_0x583690(0x1c4)](this),this[_0x583690(0x1d2)](_0x542ac3)[_0x583690(0x1e0)](()=>{const _0x21375c=_0x583690;for(const _0x2f87d1 of _0x542ac3){_0x44eaf9[_0x21375c(0x1ba)](_0x2f87d1)[_0x21375c(0x1ea)]=!0x0;}})));}async[_0x77beda(0x1cf)](){const _0x496617=_0x77beda,_0x2adbab=this[_0x496617(0x1f2)][_0x496617(0x1d6)][_0x496617(0x1f1)](_0x496617(0x1b8)),{connection:_0x2c4873}=this[_0x496617(0x1f2)][_0x496617(0x1d6)][_0x496617(0x1f1)](_0x28087f),_0x178b72=await this[_0x496617(0x1ef)][_0x496617(0x1e5)](_0x2c4873);await this[_0x496617(0x1d2)](_0x178b72);for(const {suggestionData:_0x45df4d,resolve:_0x42f123}of this[_0x496617(0x1f0)][_0x496617(0x1e9)]()){let _0xa7d2d=_0x178b72[_0x496617(0x1e6)](_0x566106=>_0x566106['id']===_0x45df4d['id']);_0xa7d2d||(_0xa7d2d=await this[_0x496617(0x1ef)][_0x496617(0x1d4)](_0x45df4d['id'],_0x45df4d[_0x496617(0x1e8)],_0x45df4d[_0x496617(0x1cc)],_0x45df4d[_0x496617(0x1e3)])),_0x42f123(_0xa7d2d);}for(const _0x1f5aae of _0x178b72)_0x2adbab[_0x496617(0x1ee)](_0x1f5aae['id'])||_0x2adbab[_0x496617(0x1ba)](_0x1f5aae);}async[_0x77beda(0x1be)](){const _0x49da39=_0x77beda;this[_0x49da39(0x1ef)][_0x49da39(0x1c9)]||await new Promise(_0x10b437=>{const _0x51c5e2=_0x49da39;this[_0x51c5e2(0x1b3)](this[_0x51c5e2(0x1ef)],_0x51c5e2(0x1e4),_0x4d8b9a=>{const _0x48a0a0=_0x51c5e2;_0x4d8b9a[_0x48a0a0(0x1de)](),_0x10b437();});});}async[_0x77beda(0x1d2)](_0x255f8e){const _0x1d1b52=_0x77beda,_0x43b2e1=this[_0x1d1b52(0x1f2)][_0x1d1b52(0x1d6)][_0x1d1b52(0x1f1)](_0x4b4f58),{connection:_0x5e0ed7}=this[_0x1d1b52(0x1f2)][_0x1d1b52(0x1d6)][_0x1d1b52(0x1f1)](_0x28087f),_0x37ad67=new Set();for(const {authorId:_0x103d4a}of _0x255f8e)_0x43b2e1[_0x1d1b52(0x1b6)](_0x103d4a)||_0x37ad67[_0x1d1b52(0x1d4)](_0x103d4a);if(0x0===_0x37ad67[_0x1d1b52(0x1da)])return;const _0x2921ed=await _0x4fd8c8[_0x1d1b52(0x1bf)](_0x5e0ed7,Array[_0x1d1b52(0x1d9)](_0x37ad67));for(const _0x329f08 of _0x2921ed)_0x43b2e1[_0x1d1b52(0x1b6)](_0x329f08['id'])||_0x43b2e1[_0x1d1b52(0x1b7)](_0x329f08);}}export{m as CloudServicesTrackChangesAdapter};function k(_0x17525c){if(q(_0x17525c))return new Promise(()=>{});throw _0x17525c;}function q(_0x587d2c){const _0x191ed3=_0x77beda;return _0x587d2c[_0x191ed3(0x1d5)][_0x191ed3(0x1c8)](_0x191ed3(0x1eb))||_0x587d2c[_0x191ed3(0x1d5)][_0x191ed3(0x1c8)](_0x191ed3(0x1dd));}