@ckeditor/ckeditor5-real-time-collaboration 45.2.1-alpha.5 → 45.2.1-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckeditor/ckeditor5-real-time-collaboration",
|
|
3
|
-
"version": "45.2.1-alpha.
|
|
3
|
+
"version": "45.2.1-alpha.7",
|
|
4
4
|
"description": "A set of CKEditor 5 features enabling real-time collaboration within the editor using CKEditor Cloud Services.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "CKSource (http://cksource.com/)",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@ckeditor/ckeditor-cloud-services-collaboration": "53.0.0",
|
|
50
|
-
"@ckeditor/ckeditor5-cloud-services": "45.2.1-alpha.
|
|
51
|
-
"@ckeditor/ckeditor5-comments": "45.2.1-alpha.
|
|
52
|
-
"@ckeditor/ckeditor5-core": "45.2.1-alpha.
|
|
53
|
-
"@ckeditor/ckeditor5-editor-multi-root": "45.2.1-alpha.
|
|
54
|
-
"@ckeditor/ckeditor5-engine": "45.2.1-alpha.
|
|
55
|
-
"@ckeditor/ckeditor5-operations-compressor": "45.2.1-alpha.
|
|
56
|
-
"@ckeditor/ckeditor5-revision-history": "45.2.1-alpha.
|
|
57
|
-
"@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.
|
|
58
|
-
"@ckeditor/ckeditor5-track-changes": "45.2.1-alpha.
|
|
59
|
-
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.
|
|
60
|
-
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.
|
|
61
|
-
"ckeditor5": "45.2.1-alpha.
|
|
62
|
-
"ckeditor5-collaboration": "45.2.1-alpha.
|
|
50
|
+
"@ckeditor/ckeditor5-cloud-services": "45.2.1-alpha.7",
|
|
51
|
+
"@ckeditor/ckeditor5-comments": "45.2.1-alpha.7",
|
|
52
|
+
"@ckeditor/ckeditor5-core": "45.2.1-alpha.7",
|
|
53
|
+
"@ckeditor/ckeditor5-editor-multi-root": "45.2.1-alpha.7",
|
|
54
|
+
"@ckeditor/ckeditor5-engine": "45.2.1-alpha.7",
|
|
55
|
+
"@ckeditor/ckeditor5-operations-compressor": "45.2.1-alpha.7",
|
|
56
|
+
"@ckeditor/ckeditor5-revision-history": "45.2.1-alpha.7",
|
|
57
|
+
"@ckeditor/ckeditor5-theme-lark": "45.2.1-alpha.7",
|
|
58
|
+
"@ckeditor/ckeditor5-track-changes": "45.2.1-alpha.7",
|
|
59
|
+
"@ckeditor/ckeditor5-ui": "45.2.1-alpha.7",
|
|
60
|
+
"@ckeditor/ckeditor5-utils": "45.2.1-alpha.7",
|
|
61
|
+
"ckeditor5": "45.2.1-alpha.7",
|
|
62
|
+
"ckeditor5-collaboration": "45.2.1-alpha.7",
|
|
63
63
|
"es-toolkit": "1.32.0"
|
|
64
64
|
},
|
|
65
65
|
"types": "src/index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x559716)());[_0x372cf6(0x213)];[_0x372cf6(0x232)];[_0x372cf6(0x288)];[_0x372cf6(0x269)];[_0x372cf6(0x1e0)];[_0x372cf6(0x204)];[_0x372cf6(0x276)];[_0x372cf6(0x26c)];[_0x372cf6(0x21f)];[_0x372cf6(0x267)];[_0x372cf6(0x214)];[_0x372cf6(0x275)];[_0x372cf6(0x2a4)];[_0x372cf6(0x223)];[_0x372cf6(0x1e7)];[_0x372cf6(0x2da)];[_0x372cf6(0x277)];[_0x372cf6(0x25e)];static get[_0x372cf6(0x20d)](){return[_0x63ced9,_0x4d966d,_0x4b552d,_0x924abb,_0x46ed26,_0x323499];}static get[_0x372cf6(0x226)](){const _0x180b68=_0x372cf6;return _0x180b68(0x22c);}static get[_0x372cf6(0x21b)](){return!0x0;}static get[_0x372cf6(0x1ee)](){return!0x0;}get[_0x372cf6(0x2d8)](){const _0x2c44a5=_0x372cf6;return this[_0x2c44a5(0x210)]+this[_0x2c44a5(0x213)];}get[_0x372cf6(0x210)](){const _0x190d50=_0x372cf6;return this[_0x190d50(0x288)][_0x190d50(0x290)]-this[_0x190d50(0x213)];}get[_0x372cf6(0x202)](){const _0x1f2e8a=_0x372cf6,_0x56b7b1=this[_0x1f2e8a(0x288)][_0x1f2e8a(0x1ec)]();for(let _0x6ee7b4=_0x56b7b1[_0x1f2e8a(0x284)]-0x1;_0x6ee7b4>=0x0;_0x6ee7b4--){const _0x399fdb=_0x56b7b1[_0x6ee7b4];if(!this[_0x1f2e8a(0x277)][_0x1f2e8a(0x2a3)](_0x399fdb))return _0x399fdb[_0x1f2e8a(0x1ff)]+0x1-this[_0x1f2e8a(0x213)];}return 0x0;}constructor(_0x586598){const _0x912255=_0x372cf6;if(super(_0x586598),this[_0x912255(0x213)]=0x0,this[_0x912255(0x232)]=null,this[_0x912255(0x288)]=new _0x1890f8(),this[_0x912255(0x2a8)][_0x912255(0x21c)][_0x912255(0x225)](_0x912255(0x21a),{}),this[_0x912255(0x269)]=this[_0x912255(0x2a8)][_0x912255(0x21c)][_0x912255(0x255)](_0x912255(0x1f0)),!this[_0x912255(0x269)])throw new _0x101d3a(_0x912255(0x285),this);const _0x19e1fd=_0x586598[_0x912255(0x21c)][_0x912255(0x255)](_0x912255(0x2ab))||_0x2c9acf;this[_0x912255(0x1e0)]=new l[(_0x912255(0x29f))](_0x19e1fd,this[_0x912255(0x269)]),this[_0x912255(0x204)]=this[_0x912255(0x2a8)][_0x912255(0x2bc)][_0x912255(0x2d0)],this[_0x912255(0x276)]=new _0x3285c9(),this[_0x912255(0x26c)]=[],this[_0x912255(0x21f)]=new WeakSet(),this[_0x912255(0x267)]=new Set(),this[_0x912255(0x296)](_0x912255(0x286),!0x1),this[_0x912255(0x296)](_0x912255(0x1f1),!0x1),this[_0x912255(0x214)]=null,this[_0x912255(0x275)]=!0x1,this[_0x912255(0x2a4)]=null,this[_0x912255(0x223)]=0x12c,this[_0x912255(0x1e7)]=this[_0x912255(0x223)],this[_0x912255(0x2da)]=null,this[_0x912255(0x277)]=new WeakSet(),this[_0x912255(0x25e)]=new Y(this[_0x912255(0x277)]);}[_0x372cf6(0x1d8)](){const _0x2735d0=_0x372cf6,_0x160024=this[_0x2735d0(0x2a8)],_0x3963c1=_0x160024[_0x2735d0(0x222)][_0x2735d0(0x255)](_0x46ed26),_0x1004c7=_0x160024[_0x2735d0(0x222)][_0x2735d0(0x255)](_0x63ced9);this[_0x2735d0(0x240)](_0x3963c1,_0x2735d0(0x2d1),(_0x2fcffe,_0x390e3c)=>{const _0x4a4b81=_0x2735d0,_0xcda31f=_0x390e3c[0x0];_0xcda31f[_0x4a4b81(0x1e3)]&&(_0x2fcffe[_0x4a4b81(0x289)]=_0x3963c1[_0x4a4b81(0x205)](_0xcda31f[_0x4a4b81(0x1e3)]),_0x2fcffe[_0x4a4b81(0x1fb)]()),null===_0xcda31f[_0x4a4b81(0x1e3)]&&(_0x2fcffe[_0x4a4b81(0x289)]=null,_0x2fcffe[_0x4a4b81(0x1fb)]());},{'priority':_0x2735d0(0x27e)}),this[_0x2735d0(0x240)](_0x160024[_0x2735d0(0x2bc)][_0x2735d0(0x2d0)][_0x2735d0(0x200)],_0x2735d0(0x271),(_0x31867c,_0x47f202)=>{const _0x1d5c1b=_0x2735d0;_0x47f202[_0x1d5c1b(0x1fd)]&&this[_0x1d5c1b(0x1fe)]();}),this[_0x2735d0(0x240)](_0x160024[_0x2735d0(0x2d3)][_0x2735d0(0x2c3)],_0x2735d0(0x2bf),()=>{const _0x1d255e=_0x2735d0;this[_0x1d255e(0x1fe)]();}),this[_0x2735d0(0x247)](),_0x160024[_0x2735d0(0x2bc)]['on'](_0x2735d0(0x2c8),(_0x28bc72,_0x4eef8e)=>{const _0x235860=_0x2735d0,_0x39d620=_0x4eef8e[0x0];_0x39d620[_0x235860(0x2d2)]&&(this[_0x235860(0x2c0)](_0x39d620),this[_0x235860(0x22f)]()&&this[_0x235860(0x299)]());}),this[_0x2735d0(0x29c)](),this[_0x2735d0(0x1f4)](_0x2735d0(0x265))['to'](_0x1004c7,_0x2735d0(0x1fc),this,_0x2735d0(0x1f1),(_0x1c26f0,_0x4b7ed6)=>_0x2735d0(0x287)===_0x1c26f0&&!_0x4b7ed6),this['on'](_0x2735d0(0x239),()=>{const _0x50ee27=_0x2735d0;this[_0x50ee27(0x265)]?_0x160024[_0x50ee27(0x218)](_0x50ee27(0x28b)):_0x160024[_0x50ee27(0x237)](_0x50ee27(0x28b));}),this[_0x2735d0(0x265)]?_0x160024[_0x2735d0(0x218)](_0x2735d0(0x28b)):_0x160024[_0x2735d0(0x237)](_0x2735d0(0x28b)),this[_0x2735d0(0x296)](_0x2735d0(0x2a5),!0x1);}async[_0x372cf6(0x261)](){const _0x266d12=_0x372cf6,_0x1e7fbb=this[_0x266d12(0x2a8)][_0x266d12(0x222)][_0x266d12(0x255)](_0x4d966d),_0x52b02b=this[_0x266d12(0x2a8)][_0x266d12(0x222)][_0x266d12(0x255)](_0x63ced9);try{this[_0x266d12(0x286)]=!0x0,_0x1e7fbb[_0x266d12(0x2b3)](this[_0x266d12(0x269)]);const _0x224c36=await this[_0x266d12(0x1e0)][_0x266d12(0x261)](_0x52b02b[_0x266d12(0x26a)],this[_0x266d12(0x202)]);await this[_0x266d12(0x2c7)](_0x224c36)&&(this[_0x266d12(0x286)]=!0x1,this[_0x266d12(0x20c)]());const _0x5dd152=await this[_0x266d12(0x1e0)][_0x266d12(0x212)]();_0x1e7fbb[_0x266d12(0x282)](this[_0x266d12(0x269)],_0x5dd152),this[_0x266d12(0x21e)](),this[_0x266d12(0x2a5)]=!0x0;}catch(_0x52c4e2){if(function(_0x4d6704){const _0x579e09=_0x266d12;return _0x579e09(0x2ac)===_0x4d6704[_0x579e09(0x1e1)];}(_0x52c4e2)&&this[_0x266d12(0x232)])await this[_0x266d12(0x227)]();else{if(function(_0xc6da71){const _0x29fe3b=_0x266d12;return _0x29fe3b(0x1da)===_0xc6da71[_0x29fe3b(0x1e1)];}(_0x52c4e2)){const _0x4907e3=_0xb20de9(this[_0x266d12(0x2a8)][_0x266d12(0x2cb)],_0x266d12(0x250));this[_0x266d12(0x26d)](_0x4907e3);}else{if(!(_0x52c4e2 instanceof Q))throw _0x52c4e2;this[_0x266d12(0x26d)]();}}}}[_0x372cf6(0x27c)](){const _0x1d6fc6=_0x372cf6,_0x33540c=this[_0x1d6fc6(0x2a8)][_0x1d6fc6(0x222)][_0x1d6fc6(0x255)](_0x63ced9),_0x3898f1=this[_0x1d6fc6(0x2a8)][_0x1d6fc6(0x222)][_0x1d6fc6(0x255)](_0x4d966d);this[_0x1d6fc6(0x2a8)][_0x1d6fc6(0x237)](_0x1d6fc6(0x24b)),_0x3898f1[_0x1d6fc6(0x1e9)][_0x1d6fc6(0x2a3)](this[_0x1d6fc6(0x269)])&&_0x3898f1[_0x1d6fc6(0x2b3)](this[_0x1d6fc6(0x269)]),_0x33540c[_0x1d6fc6(0x235)](this),this[_0x1d6fc6(0x291)](),super[_0x1d6fc6(0x27c)]();}async[_0x372cf6(0x2c7)](_0x306dd1){const _0x5efedd=_0x372cf6;if(this[_0x5efedd(0x232)]!==_0x306dd1[_0x5efedd(0x232)]&&this[_0x5efedd(0x2da)]!==_0x306dd1[_0x5efedd(0x298)])throw new Q();return this[_0x5efedd(0x232)]=_0x306dd1[_0x5efedd(0x232)],this[_0x5efedd(0x1e8)]([],{..._0x306dd1,'wereChangesApplied':!0x1,'data':_0x306dd1[_0x5efedd(0x2b0)]},_0x5efedd(0x261));}async[_0x372cf6(0x24e)](_0x18ad61,_0x2e61e8=!0x1){const _0x233b94=_0x372cf6,{connection:_0x5540dc}=this[_0x233b94(0x2a8)][_0x233b94(0x222)][_0x233b94(0x255)](_0x63ced9);l[_0x233b94(0x29f)][_0x233b94(0x212)](_0x5540dc,this[_0x233b94(0x269)])[_0x233b94(0x20a)](_0x9bb381=>this[_0x233b94(0x256)](_0x9bb381))[_0x233b94(0x215)](_0x376271=>{const _0x34e7a6=_0x233b94;this[_0x34e7a6(0x28f)](_0x34e7a6(0x2cc),_0x376271);}),this[_0x233b94(0x240)](this[_0x233b94(0x1e0)],_0x233b94(0x2dc),this[_0x233b94(0x245)][_0x233b94(0x1f4)](this)),this[_0x233b94(0x240)](this[_0x233b94(0x1e0)],_0x233b94(0x2a1),(_0xbfc997,_0x4a2d48)=>{const _0x1761c5=_0x233b94;this[_0x1761c5(0x28f)](_0x1761c5(0x1dd),_0x4a2d48);}),this[_0x233b94(0x240)](this[_0x233b94(0x1e0)],_0x233b94(0x23a),()=>{const _0x3f5a65=_0x233b94;this[_0x3f5a65(0x2a5)]=!0x1;});const _0x3dee2c=this[_0x233b94(0x25e)][_0x233b94(0x29a)](_0x18ad61);this[_0x233b94(0x286)]=!0x0;const _0x138602=await this[_0x233b94(0x1e0)][_0x233b94(0x246)](_0x5540dc,this[_0x233b94(0x266)](_0x18ad61),_0x3dee2c);if(this[_0x233b94(0x232)]=_0x138602[_0x233b94(0x232)],_0x2e61e8){if(!_0x138602[_0x233b94(0x26e)])return void this[_0x233b94(0x26d)]();this[_0x233b94(0x286)]=!0x1,this[_0x233b94(0x20c)](),this[_0x233b94(0x288)][_0x233b94(0x1e2)](),this[_0x233b94(0x213)]=_0x138602[_0x233b94(0x2be)],this[_0x233b94(0x288)][_0x233b94(0x290)]=this[_0x233b94(0x213)],await this[_0x233b94(0x1e8)](_0x18ad61,_0x138602,_0x233b94(0x252));}else await this[_0x233b94(0x23b)](_0x138602,_0x18ad61);this[_0x233b94(0x21e)](),this[_0x233b94(0x2a5)]=!0x0;}[_0x372cf6(0x21e)](){const _0x538268=_0x372cf6,_0x3336fc=this[_0x538268(0x2a8)][_0x538268(0x222)][_0x538268(0x255)](_0x4d966d),_0x316961=this[_0x538268(0x2a8)][_0x538268(0x222)][_0x538268(0x255)](_0x4b552d),_0xe1d1d1=_0x3336fc[_0x538268(0x1e9)][_0x538268(0x255)](this[_0x538268(0x269)]);_0xe1d1d1&&_0xe1d1d1[_0x538268(0x284)]>0x1?_0x316961[_0x538268(0x27a)]():this[_0x538268(0x240)](_0x3336fc,_0x538268(0x2ad)+this[_0x538268(0x269)],()=>{const _0x12a1b3=_0x538268;0x2===_0x3336fc[_0x12a1b3(0x1e9)][_0x12a1b3(0x255)](this[_0x12a1b3(0x269)])[_0x12a1b3(0x284)]&&_0x316961[_0x12a1b3(0x27a)]();});}async[_0x372cf6(0x245)](_0x1e2f13,_0x4bca49,_0x50e3fa,_0x19ecaf){const _0x3de99a=_0x372cf6;if(!this[_0x3de99a(0x286)]&&this[_0x3de99a(0x204)][_0x3de99a(0x290)]==_0x4bca49){const _0x8425ab=this[_0x3de99a(0x2b7)](_0x50e3fa,_0x19ecaf);await this[_0x3de99a(0x2b4)](_0x8425ab),this[_0x3de99a(0x236)](_0x8425ab,_0x4bca49,_0x50e3fa[_0x3de99a(0x298)])||this[_0x3de99a(0x28f)](_0x3de99a(0x1f3));}}async[_0x372cf6(0x227)](){const _0x3aaf30=_0x372cf6;this[_0x3aaf30(0x291)]();const {locale:_0x1bac70}=this[_0x3aaf30(0x2a8)];let _0x13fa6d;try{_0x13fa6d=await this[_0x3aaf30(0x1e0)][_0x3aaf30(0x207)]();}catch{const _0x523bdf=_0xb20de9(_0x1bac70,_0x3aaf30(0x22a));return void this[_0x3aaf30(0x26d)](_0x523bdf);}const _0xedfcd9=_0x13fa6d[_0x3aaf30(0x26f)]||_0x13fa6d[_0x3aaf30(0x28a)];if(this[_0x3aaf30(0x2da)]===_0xedfcd9[_0x3aaf30(0x298)])await this[_0x3aaf30(0x24e)](this[_0x3aaf30(0x2a8)][_0x3aaf30(0x2bc)][_0x3aaf30(0x2d0)][_0x3aaf30(0x293)][_0x3aaf30(0x1ec)](),!0x0);else{const _0x382762=_0xb20de9(_0x1bac70,_0x3aaf30(0x2cd));this[_0x3aaf30(0x26d)](_0x382762);}}[_0x372cf6(0x291)](){const _0x2ee4f6=_0x372cf6;this[_0x2ee4f6(0x1e0)][_0x2ee4f6(0x28e)](),this[_0x2ee4f6(0x26c)]=[],clearTimeout(this[_0x2ee4f6(0x2a4)]),this[_0x2ee4f6(0x1e4)](this[_0x2ee4f6(0x1e0)]);}[_0x372cf6(0x256)](_0x33d75c){const _0x529350=_0x372cf6,_0x51810b=this[_0x529350(0x2a8)][_0x529350(0x222)][_0x529350(0x255)](_0x4d966d);this[_0x529350(0x240)](_0x51810b,_0x529350(0x2ad)+this[_0x529350(0x269)],(_0x281ca2,{session:_0x230e89})=>{const _0x83e79=_0x529350;if(_0x230e89['id']===_0x51810b[_0x83e79(0x20e)]){_0x281ca2[_0x83e79(0x27d)]();const _0x562dbc=this[_0x83e79(0x2a8)][_0x83e79(0x222)][_0x83e79(0x2a3)](_0x83e79(0x2a2))&&this[_0x83e79(0x2a8)][_0x83e79(0x222)][_0x83e79(0x255)](_0x83e79(0x2a2));let _0x1291e1=_0x230e89[_0x83e79(0x1d9)];_0x562dbc&&_0x562dbc[_0x83e79(0x274)]&&(_0x1291e1=_0x1291e1[_0x83e79(0x295)](_0x2a2d76=>_0x83e79(0x2d9)!==_0x2a2d76)),this[_0x83e79(0x2a8)][_0x83e79(0x222)][_0x83e79(0x255)](_0x83e79(0x20f))[_0x83e79(0x268)](_0x1291e1,this[_0x83e79(0x269)]);}}),_0x51810b[_0x529350(0x282)](this[_0x529350(0x269)],_0x33d75c);}[_0x372cf6(0x247)](){const _0xe1653d=_0x372cf6,_0xb21e3c=this[_0xe1653d(0x2a8)][_0xe1653d(0x2b0)][_0xe1653d(0x296)];this[_0xe1653d(0x2a8)][_0xe1653d(0x2b0)][_0xe1653d(0x296)]=(..._0x1e2674)=>{const _0x192496=_0xe1653d;if(!_0x1e2674[_0x1e2674[_0x192496(0x284)]-0x1][_0x192496(0x2c6)])throw new _0x101d3a(_0x192496(0x228),this);_0xb21e3c[_0x192496(0x201)](this[_0x192496(0x2a8)][_0x192496(0x2b0)],_0x1e2674);};}[_0x372cf6(0x29c)](){const _0x2ab65d=_0x372cf6;this[_0x2ab65d(0x2a8)][_0x2ab65d(0x2b0)]['on'](_0x2ab65d(0x1d8),(_0xb55d82,[_0x77d10f])=>{const _0x1181cb=_0x2ab65d;if(this[_0x1181cb(0x204)][_0x1181cb(0x290)])throw new _0x101d3a(_0x1181cb(0x221),this);_0xb55d82[_0x1181cb(0x1fb)](),this[_0x1181cb(0x1df)]();const _0x4fbcf0=this[_0x1181cb(0x2a8)][_0x1181cb(0x21c)][_0x1181cb(0x255)](_0x1181cb(0x1f9)),_0x41814d=this[_0x1181cb(0x217)](_0x77d10f,_0x4fbcf0);0x0==_0x41814d[_0x1181cb(0x284)]&&_0x41814d[_0x1181cb(0x23c)](new _0x543f55(0x0)),_0xb55d82[_0x1181cb(0x289)]=this[_0x1181cb(0x24e)](_0x41814d)[_0x1181cb(0x20a)](()=>{const _0x24c10a=_0x1181cb;this[_0x24c10a(0x2a8)][_0x24c10a(0x222)][_0x24c10a(0x255)](_0x63ced9)[_0x24c10a(0x1f8)](this),this[_0x24c10a(0x2a8)][_0x24c10a(0x2b0)][_0x24c10a(0x2b5)](_0x24c10a(0x20b));})[_0x1181cb(0x215)](_0x224d0d=>this[_0x1181cb(0x28f)](_0x1181cb(0x24f),_0x224d0d))[_0x1181cb(0x2c2)](()=>this[_0x1181cb(0x20c)]());},{'priority':_0x2ab65d(0x27e)}),this[_0x2ab65d(0x2a8)]['on'](_0x2ab65d(0x203),async(_0x3e0837,[_0x548bd8,_0x5c3e0e])=>{const _0x4a38f4=_0x2ab65d;_0x3e0837[_0x4a38f4(0x1fb)]();const _0x192931=this[_0x4a38f4(0x2a8)][_0x4a38f4(0x2bc)][_0x4a38f4(0x2d0)][_0x4a38f4(0x2c5)](_0x548bd8);if(!this[_0x4a38f4(0x267)][_0x4a38f4(0x2a3)](_0x548bd8)){const _0x5f487d=_0x5c3e0e&&_0x5c3e0e[_0x4a38f4(0x2b0)]?_0x5c3e0e[_0x4a38f4(0x2b0)]:'',_0x21f21f=_0x5c3e0e&&_0x5c3e0e[_0x4a38f4(0x220)]?_0x5c3e0e[_0x4a38f4(0x220)]:{};await this[_0x4a38f4(0x2b8)](_0x548bd8,_0x5f487d,_0x21f21f);}this[_0x4a38f4(0x2a8)][_0x4a38f4(0x2bc)][_0x4a38f4(0x273)]({'isUndoable':!0x1},()=>{const _0x41a0b3=_0x4a38f4;_0x192931[_0x41a0b3(0x1e6)]=!0x0,this[_0x41a0b3(0x2a8)][_0x41a0b3(0x2bc)][_0x41a0b3(0x2d0)][_0x41a0b3(0x209)][_0x41a0b3(0x28c)](_0x192931);});},{'priority':_0x2ab65d(0x27e)});}async[_0x372cf6(0x2b4)](_0x3d578b){const _0x2d5c6d=_0x372cf6,_0x67f1f0=this[_0x2d5c6d(0x2a8)][_0x2d5c6d(0x222)][_0x2d5c6d(0x255)](_0x46ed26),{connection:_0x45baf7}=this[_0x2d5c6d(0x2a8)][_0x2d5c6d(0x222)][_0x2d5c6d(0x255)](_0x63ced9),_0x1b83af=new Set();for(const _0xe9c7f2 of _0x3d578b){const _0x366537=_0xe9c7f2[_0x2d5c6d(0x1e3)];_0x366537&&!_0x67f1f0[_0x2d5c6d(0x205)](_0x366537)&&_0x1b83af[_0x2d5c6d(0x25b)](_0x366537);}if(0x0===_0x1b83af[_0x2d5c6d(0x224)])return;const _0x2fd4fe=await _0x5294d1[_0x2d5c6d(0x208)](_0x45baf7,Array[_0x2d5c6d(0x244)](_0x1b83af));for(const _0x11769f of _0x2fd4fe)_0x67f1f0[_0x2d5c6d(0x205)](_0x11769f['id'])||_0x67f1f0[_0x2d5c6d(0x2db)](_0x11769f);}[_0x372cf6(0x217)](_0x83a783,_0xaa8b09={}){const _0x442b86=_0x372cf6,_0x369425=this[_0x442b86(0x2a8)][_0x442b86(0x2bc)],_0x54d222=[];let _0x5ad441=0x0;const _0x6e8168=_0x442b86(0x243)==typeof _0x83a783?{'main':_0x83a783}:_0x83a783;for(const _0x64f80b of Object[_0x442b86(0x238)](_0x6e8168)){if(!this[_0x442b86(0x204)][_0x442b86(0x2d6)][_0x442b86(0x2a3)](_0x64f80b))throw new _0x101d3a(_0x442b86(0x279),this);const _0x4c02db=this[_0x442b86(0x2a8)][_0x442b86(0x2b0)][_0x442b86(0x234)](_0x6e8168[_0x64f80b]),_0x124ae8=this[_0x442b86(0x204)][_0x442b86(0x2c5)](_0x64f80b),_0x484464=new _0x53f6b2(_0x369425[_0x442b86(0x253)](_0x124ae8,0x0),_0x4c02db,_0x5ad441++);_0x54d222[_0x442b86(0x23c)](_0x484464);for(const [_0x3a60f0,_0x5d63db]of _0x4c02db[_0x442b86(0x1f6)]){const _0x4d7bc3=_0x369425[_0x442b86(0x211)](_0x369425[_0x442b86(0x2ce)](_0x124ae8,_0x5d63db[_0x442b86(0x260)][_0x442b86(0x254)][_0x442b86(0x257)]()),_0x369425[_0x442b86(0x2ce)](_0x124ae8,_0x5d63db[_0x442b86(0x1f7)][_0x442b86(0x254)][_0x442b86(0x257)]())),_0x216511=new _0x107a4c(_0x3a60f0,null,_0x4d7bc3,_0x369425[_0x442b86(0x1f6)],!0x0,_0x5ad441++);_0x54d222[_0x442b86(0x23c)](_0x216511);}}if(_0xaa8b09)for(const [_0xd75d5,_0x35eea0]of Object[_0x442b86(0x258)](_0xaa8b09)){const _0x5b29ff=_0x369425[_0x442b86(0x2d0)][_0x442b86(0x2c5)](_0xd75d5);if(!_0x5b29ff)throw new _0x101d3a(_0x442b86(0x2cf),null);for(const [_0x1e0ba1,_0x3bfb8c]of Object[_0x442b86(0x258)](_0x35eea0))if(null!==_0x3bfb8c){const _0x182bb8=new _0x190d65(_0x5b29ff,_0x1e0ba1,null,_0x3bfb8c,_0x5ad441++);_0x54d222[_0x442b86(0x23c)](_0x182bb8);}}return _0x54d222;}async[_0x372cf6(0x2b8)](_0x3840f7,_0x27dfcc,_0x4fb839){const _0x1663f9=_0x372cf6;this[_0x1663f9(0x217)]({[_0x3840f7]:_0x27dfcc},{[_0x3840f7]:_0x4fb839})[_0x1663f9(0x241)]((_0x1fdac7,_0x4a6436)=>{const _0xc55503=_0x1663f9;_0x1fdac7[_0xc55503(0x1ff)]=this[_0xc55503(0x204)][_0xc55503(0x290)]+_0x4a6436,_0x1fdac7[_0xc55503(0x248)]=!0x0,this[_0xc55503(0x2c0)](_0x1fdac7);}),this[_0x1663f9(0x299)](),await this[_0x1663f9(0x242)]();}async[_0x372cf6(0x23b)](_0x4b5900,_0x5a81d2){const _0x423bfb=_0x372cf6;let _0x3f8235;this[_0x423bfb(0x213)]=_0x4b5900[_0x423bfb(0x2be)];const _0xf7a7be=_0x4b5900[_0x423bfb(0x26e)]&&!_0x4b5900[_0x423bfb(0x29d)],_0x4f7573=_0xf7a7be?0x0:_0x4b5900[_0x423bfb(0x2b0)][_0x423bfb(0x1ff)];if(_0x5a81d2[_0x423bfb(0x241)](_0x39d9e1=>{const _0x49c998=_0x423bfb;_0x39d9e1[_0x49c998(0x248)]=!0x0,_0x39d9e1[_0x49c998(0x2d5)]=_0x4b5900[_0x49c998(0x230)],_0x39d9e1[_0x49c998(0x1e3)]=null;}),_0xf7a7be)_0x3f8235=_0x5a81d2,this[_0x423bfb(0x206)](_0x3f8235,_0xf7a7be);else{if(_0x4b5900[_0x423bfb(0x29d)]){const _0x159f06=this[_0x423bfb(0x217)](_0x4b5900[_0x423bfb(0x29d)]);this[_0x423bfb(0x204)][_0x423bfb(0x293)][_0x423bfb(0x290)]=-_0x159f06[_0x423bfb(0x284)],_0x159f06[_0x423bfb(0x241)](_0x18e040=>{const _0x1aed58=_0x423bfb;_0x18e040[_0x1aed58(0x1ff)]-=_0x159f06[_0x1aed58(0x284)],_0x18e040[_0x1aed58(0x2d5)]=_0x4b5900[_0x1aed58(0x230)],_0x18e040[_0x1aed58(0x248)]=!0x0,_0x18e040[_0x1aed58(0x1e3)]=null;}),this[_0x423bfb(0x206)](_0x159f06,!0x0),this[_0x423bfb(0x288)][_0x423bfb(0x290)]=-_0x159f06[_0x423bfb(0x284)]+this[_0x423bfb(0x213)],this[_0x423bfb(0x23f)](_0x159f06);}this[_0x423bfb(0x204)][_0x423bfb(0x293)][_0x423bfb(0x290)]=_0x4f7573,_0x3f8235=this[_0x423bfb(0x2b7)](_0x4b5900[_0x423bfb(0x2b0)],_0x4b5900[_0x423bfb(0x216)]),await this[_0x423bfb(0x2b4)](_0x3f8235),this[_0x423bfb(0x206)](_0x3f8235,_0xf7a7be);}_0x4b5900[_0x423bfb(0x298)]&&(this[_0x423bfb(0x25e)][_0x423bfb(0x272)](_0x3f8235,_0x4b5900[_0x423bfb(0x298)]),this[_0x423bfb(0x2da)]=_0x4b5900[_0x423bfb(0x298)]),this[_0x423bfb(0x288)][_0x423bfb(0x290)]=_0x4f7573+this[_0x423bfb(0x213)],this[_0x423bfb(0x23f)](_0x3f8235),_0x5a81d2[_0x423bfb(0x295)](_0x33535b=>{const _0x40762c=_0x423bfb,_0x167ef3=this[_0x40762c(0x262)](_0x33535b);return _0x167ef3&&!this[_0x40762c(0x267)][_0x40762c(0x2a3)](_0x167ef3);})[_0x423bfb(0x241)]((_0x246a63,_0xd52cd8)=>{const _0x4f89e6=_0x423bfb;_0x246a63[_0x4f89e6(0x1ff)]=this[_0x4f89e6(0x204)][_0x4f89e6(0x290)]+_0xd52cd8,this[_0x4f89e6(0x2c0)](_0x246a63);}),this[_0x423bfb(0x22f)]()?(this[_0x423bfb(0x1e7)]=0x0,this[_0x423bfb(0x299)](!0x0),await this[_0x423bfb(0x242)]()):(this[_0x423bfb(0x286)]=!0x1,this[_0x423bfb(0x20c)]());}[_0x372cf6(0x28f)](_0x235023,_0x32942e){const _0x38d338=_0x372cf6,_0x61229f=_0x32942e&&_0x32942e[_0x38d338(0x251)];if(_0x61229f&&_0x61229f[_0x38d338(0x1ef)](_0x38d338(0x22b)))throw _0x32942e;const _0x55215d=this[_0x38d338(0x2a8)][_0x38d338(0x222)][_0x38d338(0x255)](_0x63ced9);throw this[_0x38d338(0x286)]=!0x0,_0x55215d[_0x38d338(0x28e)](),this[_0x38d338(0x2a8)][_0x38d338(0x237)](_0x38d338(0x2ca)),new _0x101d3a(_0x235023,this[_0x38d338(0x2a8)],_0x61229f?{'originalError':_0x61229f}:void 0x0);}[_0x372cf6(0x2c0)](_0x20eba1){const _0x57a440=_0x372cf6;this[_0x57a440(0x21f)][_0x57a440(0x2a3)](_0x20eba1)||(this[_0x57a440(0x21f)][_0x57a440(0x25b)](_0x20eba1),this[_0x57a440(0x26c)][_0x57a440(0x23c)](_0x20eba1),this[_0x57a440(0x214)]||_0x57a440(0x2a9)==_0x20eba1[_0x57a440(0x28d)]&&!_0x20eba1[_0x57a440(0x259)]||this[_0x57a440(0x1df)]());}[_0x372cf6(0x299)](_0x5f20a9=!0x1){const _0x4d4cc4=_0x372cf6;!_0x5f20a9&&this[_0x4d4cc4(0x286)]||(this[_0x4d4cc4(0x286)]=!0x0,clearTimeout(this[_0x4d4cc4(0x2a4)]),this[_0x4d4cc4(0x2a4)]=setTimeout(()=>{const _0x564538=_0x4d4cc4;this[_0x564538(0x1ed)]()[_0x564538(0x20a)](_0x546217=>{const _0x3243ce=_0x564538;_0x546217&&(this[_0x3243ce(0x20c)](),this[_0x3243ce(0x286)]=!0x1);})[_0x564538(0x215)](_0x49653d=>{const _0x536dc8=_0x564538;this[_0x536dc8(0x20c)](),this[_0x536dc8(0x286)]=!0x1,function(_0x5e7d65){const _0x320469=_0x536dc8;return _0x5e7d65[_0x320469(0x251)][_0x320469(0x1ef)](_0x320469(0x2a6))||_0x5e7d65[_0x320469(0x251)][_0x320469(0x1ef)](_0x320469(0x219))||_0x5e7d65[_0x320469(0x251)][_0x320469(0x1ef)](_0x320469(0x24d));}(_0x49653d)||this[_0x536dc8(0x28f)](_0x49653d[_0x536dc8(0x251)],_0x49653d);});},this[_0x4d4cc4(0x1e7)]));}[_0x372cf6(0x242)](){return new Promise(_0x5db3c9=>{const _0x33e84d=_0x54ff;this['on'](_0x33e84d(0x2b2),()=>{_0x5db3c9();});});}async[_0x372cf6(0x1ed)](){const _0x4bfb38=_0x372cf6,_0x549158=this[_0x4bfb38(0x2a8)][_0x4bfb38(0x222)][_0x4bfb38(0x255)](_0x4b552d);if(this[_0x4bfb38(0x2c9)]()&&(_0x549158[_0x4bfb38(0x27a)](),this[_0x4bfb38(0x275)]=!0x1),!this[_0x4bfb38(0x22f)]())return!0x0;const _0x197eda=[...this[_0x4bfb38(0x26c)]];for(const _0x4be7b2 of _0x197eda)_0x4be7b2[_0x4bfb38(0x2ae)]=this[_0x4bfb38(0x204)][_0x4bfb38(0x293)][_0x4bfb38(0x2a7)](_0x4be7b2);const _0x2007ba=this[_0x4bfb38(0x25e)][_0x4bfb38(0x29a)](_0x197eda),_0x50e1eb=J++,_0x5f134e=this[_0x4bfb38(0x266)](_0x197eda),_0x2c5a79=await this[_0x4bfb38(0x1e0)][_0x4bfb38(0x233)](_0x5f134e,_0x5f134e[_0x4bfb38(0x1ff)],_0x2007ba);try{return await this[_0x4bfb38(0x1e8)](_0x197eda,_0x2c5a79,_0x50e1eb);}catch(_0xaca633){return this[_0x4bfb38(0x28f)](_0x4bfb38(0x2d4),_0xaca633);}}async[_0x372cf6(0x1e8)](_0x18b017,_0x41defc,_0x4ea01d){const _0x479d16=_0x372cf6;if(_0x479d16(0x2a1)in _0x41defc)throw _0x41defc[_0x479d16(0x2a1)];let _0x4d6ec0=!0x1;if(_0x41defc[_0x479d16(0x26e)]){_0x41defc[_0x479d16(0x298)]&&(this[_0x479d16(0x2da)]=_0x41defc[_0x479d16(0x298)]),this[_0x479d16(0x26c)]=this[_0x479d16(0x26c)][_0x479d16(0x295)](_0xeda79b=>!_0x18b017[_0x479d16(0x297)](_0xeda79b));for(const _0x322e03 of _0x18b017)_0x322e03[_0x479d16(0x2d5)]=_0x479d16(0x229)in _0x41defc&&_0x41defc[_0x479d16(0x229)]||void 0x0;X(_0x18b017,_0x41defc[_0x479d16(0x290)]-_0x18b017[_0x479d16(0x284)]),this[_0x479d16(0x23f)](_0x18b017);const _0x2c1127=_0x18b017[_0x479d16(0x295)](_0x489a7c=>{const _0x401910=_0x479d16;if(!_0x489a7c[_0x401910(0x248)])return!0x1;const _0x481a77=this[_0x401910(0x262)](_0x489a7c);return _0x481a77&&!this[_0x401910(0x267)][_0x401910(0x2a3)](_0x481a77);});X(_0x2c1127,this[_0x479d16(0x204)][_0x479d16(0x290)]),this[_0x479d16(0x206)](_0x2c1127),_0x4d6ec0=!0x0,this[_0x479d16(0x1e7)]=this[_0x479d16(0x223)];}else{const _0x3010d7=this[_0x479d16(0x2b7)](_0x41defc[_0x479d16(0x2b0)],_0x41defc[_0x479d16(0x216)])[_0x479d16(0x295)](_0x16278c=>_0x16278c[_0x479d16(0x1ff)]>=this[_0x479d16(0x210)]);_0x3010d7[_0x479d16(0x241)](_0x5165b8=>this[_0x479d16(0x24c)](_0x5165b8)),this[_0x479d16(0x26c)]=this[_0x479d16(0x26c)][_0x479d16(0x295)](_0x1ce8ff=>!_0x1ce8ff[_0x479d16(0x248)]||!this[_0x479d16(0x267)][_0x479d16(0x2a3)](this[_0x479d16(0x262)](_0x1ce8ff))),this[_0x479d16(0x26c)][_0x479d16(0x284)]&&X(this[_0x479d16(0x26c)],this[_0x479d16(0x26c)][0x0][_0x479d16(0x1ff)]),await this[_0x479d16(0x2b4)](_0x3010d7),_0x4d6ec0=this[_0x479d16(0x236)](_0x3010d7,_0x41defc[_0x479d16(0x290)],_0x41defc[_0x479d16(0x298)]),this[_0x479d16(0x1e7)]=Math[_0x479d16(0x264)](this[_0x479d16(0x1e7)]/0x2);}return _0x4d6ec0?!this[_0x479d16(0x22f)]()||(this[_0x479d16(0x299)](!0x0),!0x1):this[_0x479d16(0x28f)](_0x479d16(0x1fa));}[_0x372cf6(0x236)](_0x1f955d,_0x47372c,_0x5a926e){const _0x156abc=_0x372cf6;try{const _0x50614c={'document':this[_0x156abc(0x204)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4bf248,operationsB:_0x4aadd3,originalOperations:_0x197077}=_0x405de6(_0x1f955d,this[_0x156abc(0x26c)],_0x50614c);X(_0x4bf248,this[_0x156abc(0x204)][_0x156abc(0x290)]),X(_0x4aadd3,_0x47372c);for(const _0x3f519e of _0x4bf248){const _0x517477=_0x197077[_0x156abc(0x255)](_0x3f519e);_0x3f519e[_0x156abc(0x1e3)]=_0x517477?_0x517477[_0x156abc(0x1e3)]:null;}_0x5a926e&&(this[_0x156abc(0x25e)][_0x156abc(0x272)](_0x1f955d,_0x5a926e),this[_0x156abc(0x2da)]=_0x5a926e),this[_0x156abc(0x26c)]=[..._0x4aadd3],this[_0x156abc(0x206)](_0x4bf248),this[_0x156abc(0x23f)](_0x1f955d);}catch(_0x586f63){return console[_0x156abc(0x2a1)](_0x586f63),!0x1;}return!0x0;}[_0x372cf6(0x206)](_0x150461,_0xfc8cfa=!0x1){const _0x529a57=_0x372cf6;this[_0x529a57(0x2a8)][_0x529a57(0x2bc)][_0x529a57(0x273)]({'isUndoable':!0x1,'isLocal':!0x1},_0xf94866=>{const _0x4c9cf1=_0x529a57;for(const _0x272bbe of _0x150461)this[_0x4c9cf1(0x21f)][_0x4c9cf1(0x25b)](_0x272bbe),this[_0x4c9cf1(0x24c)](_0x272bbe),_0xf94866[_0x4c9cf1(0x25f)][_0x4c9cf1(0x1ea)](_0x272bbe),this[_0x4c9cf1(0x2a8)][_0x4c9cf1(0x2bc)][_0x4c9cf1(0x2c8)](_0x272bbe);});}[_0x372cf6(0x24c)](_0xd64c4d){const _0x8e3d29=_0x372cf6,_0x10c2a4=this[_0x8e3d29(0x262)](_0xd64c4d);_0x10c2a4&&this[_0x8e3d29(0x267)][_0x8e3d29(0x25b)](_0x10c2a4);}[_0x372cf6(0x262)](_0x20619b){const _0x4695ea=_0x372cf6;let _0x9a786a,_0x56d575;switch(_0x20619b[_0x4695ea(0x28d)]){case _0x4695ea(0x25d):_0x9a786a=_0x20619b[_0x4695ea(0x1f5)][_0x4695ea(0x21d)];break;case _0x4695ea(0x2a9):if(_0x56d575=_0x20619b[_0x4695ea(0x2bb)],!_0x56d575)return null;_0x9a786a=_0x56d575[_0x4695ea(0x21d)];break;case _0x4695ea(0x1dc):_0x9a786a=_0x20619b[_0x4695ea(0x21d)];break;case _0x4695ea(0x1de):_0x9a786a=_0x20619b[_0x4695ea(0x2a0)];break;case _0x4695ea(0x23e):_0x9a786a=_0x20619b[_0x4695ea(0x26b)][_0x4695ea(0x21d)];break;default:return null;}return _0x9a786a[_0x4695ea(0x2d7)];}[_0x372cf6(0x23f)](_0x42f016){const _0xa00ea4=_0x372cf6;_0x42f016[_0xa00ea4(0x241)](_0x1bd75c=>{const _0x2ae6ed=_0xa00ea4,_0x1eb8de=_0x1bd75c[_0x2ae6ed(0x1f2)]();_0x1eb8de[_0x2ae6ed(0x1e3)]=_0x1bd75c[_0x2ae6ed(0x1e3)],_0x1eb8de[_0x2ae6ed(0x248)]=!!_0x1bd75c[_0x2ae6ed(0x248)],_0x1eb8de[_0x2ae6ed(0x2d5)]=_0x1bd75c[_0x2ae6ed(0x2d5)],_0x1eb8de[_0x2ae6ed(0x1ff)]+=this[_0x2ae6ed(0x213)],_0x1bd75c[_0x2ae6ed(0x294)]&&this[_0x2ae6ed(0x277)][_0x2ae6ed(0x25b)](_0x1eb8de),this[_0x2ae6ed(0x288)][_0x2ae6ed(0x1ea)](_0x1eb8de);});}[_0x372cf6(0x26d)](_0xf985d5){const _0x29c2c2=_0x372cf6,_0xb37c7d=this[_0x29c2c2(0x2a8)][_0x29c2c2(0x222)][_0x29c2c2(0x255)](_0x29c2c2(0x22e)),_0x27efa6=this[_0x29c2c2(0x2a8)][_0x29c2c2(0x2cb)];_0xf985d5||(_0xf985d5=_0xb20de9(_0x27efa6,_0x29c2c2(0x2b9))),_0xb37c7d[_0x29c2c2(0x22d)](_0xf985d5,{'title':_0xb20de9(_0x27efa6,_0x29c2c2(0x24a)),'namespace':_0x29c2c2(0x281)}),this[_0x29c2c2(0x1f1)]=!0x0,clearTimeout(this[_0x29c2c2(0x2a4)]),this[_0x29c2c2(0x26c)]=[],this[_0x29c2c2(0x2a8)][_0x29c2c2(0x222)][_0x29c2c2(0x255)](_0x63ced9)[_0x29c2c2(0x28e)]();}[_0x372cf6(0x1df)](){const _0x1d1d24=_0x372cf6;this[_0x1d1d24(0x214)]||(this[_0x1d1d24(0x214)]=this[_0x1d1d24(0x2a8)][_0x1d1d24(0x222)][_0x1d1d24(0x255)](_0x924abb)[_0x1d1d24(0x25b)](_0xb20de9(this[_0x1d1d24(0x2a8)][_0x1d1d24(0x2cb)],_0x1d1d24(0x2b6))));}[_0x372cf6(0x20c)](){const _0x2b8b7b=_0x372cf6;this[_0x2b8b7b(0x214)]&&(this[_0x2b8b7b(0x2a8)][_0x2b8b7b(0x222)][_0x2b8b7b(0x255)](_0x924abb)[_0x2b8b7b(0x29e)](this[_0x2b8b7b(0x214)]),this[_0x2b8b7b(0x214)]=null);}[_0x372cf6(0x266)](_0x4d10a6){const _0x3486c6=_0x372cf6,_0x6a5f8e=_0x4d10a6[_0x3486c6(0x23d)](_0x4d73fb=>_0x4d73fb[_0x3486c6(0x25c)]());return this[_0x3486c6(0x276)][_0x3486c6(0x25a)](_0x6a5f8e);}[_0x372cf6(0x2b7)](_0x3ef6a3,_0x235ff0){const _0x54c0cb=_0x372cf6;return this[_0x54c0cb(0x276)][_0x54c0cb(0x1eb)](_0x3ef6a3)[_0x54c0cb(0x23d)]((_0x53ded9,_0x510390)=>{const _0x101e50=_0x54c0cb,_0xe56f77=_0x101e50(0x1d8)==_0x235ff0[_0x510390][_0x101e50(0x28d)];if(_0x101e50(0x2c4)==_0x53ded9[_0x101e50(0x29b)]){const _0x2ee1ea=_0x53ded9[_0x101e50(0x1f5)][_0x101e50(0x21d)];!this[_0x101e50(0x204)][_0x101e50(0x2c5)](_0x2ee1ea)&&(this[_0x101e50(0x204)][_0x101e50(0x249)](_0x101e50(0x280),_0x2ee1ea)[_0x101e50(0x27b)]=!0x1);}const _0x249005=_0x3500c0[_0x101e50(0x2ba)](_0x53ded9,this[_0x101e50(0x204)]);return _0x249005[_0x101e50(0x2ae)]=_0x53ded9[_0x101e50(0x2ae)],_0x249005[_0x101e50(0x248)]=_0xe56f77,_0x249005[_0x101e50(0x1e3)]=_0xe56f77?null:_0x235ff0[_0x510390][_0x101e50(0x278)],_0x249005[_0x101e50(0x294)]=_0x101e50(0x263)===_0x235ff0[_0x510390][_0x101e50(0x28d)],_0x249005[_0x101e50(0x2d5)]=_0x235ff0[_0x510390][_0x101e50(0x2d5)],_0x249005;});}[_0x372cf6(0x1fe)](){const _0x2b3292=_0x372cf6;this[_0x2b3292(0x275)]=!0x0,this[_0x2b3292(0x2c9)]()?this[_0x2b3292(0x299)]():this[_0x2b3292(0x275)]=!0x1;}[_0x372cf6(0x2c9)](){const _0x4f248b=_0x372cf6,_0x22d968=this[_0x4f248b(0x2a8)][_0x4f248b(0x222)][_0x4f248b(0x255)](_0x4d966d)[_0x4f248b(0x1e9)][_0x4f248b(0x255)](this[_0x4f248b(0x269)]);return!this[_0x4f248b(0x2a8)][_0x4f248b(0x2aa)]&&!!_0x22d968&&_0x22d968[_0x4f248b(0x284)]>0x1&&this[_0x4f248b(0x275)];}[_0x372cf6(0x22f)](){const _0x39f23a=_0x372cf6;return this[_0x39f23a(0x26c)][_0x39f23a(0x284)]>0x0||this[_0x39f23a(0x2c9)]();}}export default l;class Q extends Error{}function X(_0x43bce8,_0x277ba6){const _0x12f561=_0x372cf6;for(const _0x445fe5 of _0x43bce8)_0x445fe5[_0x12f561(0x1ff)]=_0x277ba6++;}class Y{[_0x372cf6(0x283)];[_0x372cf6(0x2af)];constructor(_0x5c98ff){const _0x3af75d=_0x372cf6;this[_0x3af75d(0x283)]=_0x5c98ff,this[_0x3af75d(0x2af)]=new WeakMap();}[_0x372cf6(0x29a)](_0x3f5ef1){const _0x59a9a9=_0x372cf6;let _0x2e09b7=_0x3f5ef1[_0x59a9a9(0x284)];for(;_0x2e09b7--;){const _0x6777bf=_0x3f5ef1[_0x2e09b7];if(!this[_0x59a9a9(0x283)][_0x59a9a9(0x2a3)](_0x6777bf)){if(!this[_0x59a9a9(0x2af)][_0x59a9a9(0x2a3)](_0x6777bf)){const _0x11247d=_0x4660d9()[_0x59a9a9(0x257)](0x1,0x12);this[_0x59a9a9(0x2af)][_0x59a9a9(0x296)](_0x6777bf,_0x11247d);}return this[_0x59a9a9(0x2af)][_0x59a9a9(0x255)](_0x6777bf);}}}[_0x372cf6(0x272)](_0x5784b6,_0x4428dd){const _0xde5caa=_0x372cf6;if(!_0x4428dd)return;let _0x21af93=_0x5784b6[_0xde5caa(0x284)];for(;_0x21af93--;){const _0x2f7a6b=_0x5784b6[_0x21af93];this[_0xde5caa(0x283)][_0xde5caa(0x2a3)](_0x2f7a6b)||this[_0xde5caa(0x2af)][_0xde5caa(0x296)](_0x2f7a6b,_0x4428dd);}}}
|
|
23
|
+
function _0x5708(){const _0xcdc751=['isOfficialPlugin','_hasSelectionChanged','lastSyncVersion','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','disconnect','_decompressOperations','_hasSynchronizationProblem','_applyOperationsSet','_offset','filter','_authorId','attributes','409','sessionId','root','rtc-destroyed','cs:removeUser','createRange','_addKnownRoot','reset','realtimecollaborationclient-handleserverresponse','_bufferRootLoad','destroy','define','data','getOperations','_handleSendingSelectionMarkers','createPositionAt','collaboration-missing-channelid','$root','sendOperations','offset','setPermissions','baseVersion','document','_connectService','getDocumentDetails','RealTimeCollaborationClient','_service','path','change:range','set','code','3222222tYKzlG','parse','error','insert','_document','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.','8240530AnwBhT','toJSON','userId','message','addRoot','isUndoneOperation','rootsAttributes','size','realtimecollaborationclient-init-session-connection-error','realtimecollaborationclient','multi-root-editor-root-attributes-no-root','connected','_shouldSendUpdate','change:_isEditingAllowed','add','state','locale','permissions','_isPendingUpdate','realtimecollaborationclient-error','roots','slice','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','cloud-services-internal-error:\x20Request\x20timeout.','_setUpDataInit','createRoot','_isConnected','model','remove','_clearPendingAction','realtimecollaborationclient-init-service-incorrect-server-operation','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.','fromJSON','wereChangesApplied','Permissions','mySessionId','connection','_operationToId','_compressor','isReadOnly','targetPosition','change:hasDomSelection','fire','batch','position','ready','Synchronization\x20issue','editing','85564OiAcOR','from','_ignoredOperations','off','rtc-offline','getUser','stopListening','_isAttached','_crash','addOperation','start','_pendingAction','155blcQgn','isEnabled','getOperationAuthor','isPremiumPlugin','_baseBufferDelay','cloud-services-internal-error:\x20Not\x20connected.','_initSessionsHandling','initData','cloudDocumentVersion','has','_knownOperations','_isEditingAllowed','affectedSelectable','sessionAdd:','InsertOperation','55fcrjJF','_handleExternalOperations','getIdOfTheLastOperation','removeFromReconnectionStack','3yvYeHd','disableReadOnlyMode','high','view','metadata','_handleReceivedOperations','length','init','_isLoaded','_handleServerResponse','affectsData','_knownRootNames','collaboration','_connectAfterSessionHasBeenFlushed','keys','suppressErrorInCollaboration','lastDocumentSession','9072711HOXfsu','_waitUntilSynced','_currentBufferDelay','isDocumentOperation','enableReadOnlyMode','pluginName','_fetchMissingUsers','getRoot','version','_compressOperations','catch','_disconnectService','_sendBufferedOperations','createPositionFromPath','_sendBufferedOperationsDelayed','startsWith','addToReconnectionStack','404','collaboration.channelId','_isInit','clone','currentDocumentSession','1243189nnJSGM','loadRoot','getConnectedSessions','end','directChange','real-time-collaboration','PENDING_ACTION_SENDING_DATA','selection','147TkRIEq','bind','sessionCreatedAt','type','return','decompress','move','applyOperation','getMany','finally','unregister','_disconnectionOperations','requires','_shouldSendSelectionUpdate','marker','plugins','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_getOperationsFromInitData','_handleReconnectionError','realtimecollaborationclient-init-document-already-initialized','3128896lWBbDp','_isDisconnection','cloudServices.bundleVersion','includes','_sendBufferedOperationsDelayId','lastOperationAcceptedAt','apply','_loadRoot','lastOperationId','disconnected','stop','register','_bufferedOperations','_lastSyncedOperationId','createdAt','round','newRange','markers','__className','string','_getAffectedRoot','_refreshUserSelectionMarkers','operationsReceived','realtimecollaborationclient-sendbufferedoperations','history','change:_isPendingUpdate','createUserMarkerOperations','reconnect','CollaborativeEditingService','showWarning','channelSessions','then','260344scUqEJ','CommentsOnly','_setPendingAction','_handleReconnectionResponse','realtimecollaborationclient-init-connection-failed','rootName','_updateServerHistory','entries','forEach','realtimecollaborationclient-init-service-internal-error','compress','enqueueChange','_lastServerVersion','push','setIdForTheLastOperation','wasUndone','_saveOperationInBuffer','addUser','editor','_channelId','serverHistory','_operationIdentifier','get','realtimecollaborationclient-init-non-existent-root','addRootAttribute','connect','Notification','_handleInitialConnectionData','reconnection:\x20flushed\x20session','document:write','_initThrowingOnDataSet','config','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','differ','map','listenTo'];_0x5708=function(){return _0xcdc751;};return _0x5708();}const _0x460090=_0x564b;(function(_0x227e45,_0x2e5cdc){const _0x546e71=_0x564b,_0x583aff=_0x227e45();while(!![]){try{const _0x2428d5=-parseInt(_0x546e71(0x26c))/0x1+-parseInt(_0x546e71(0x288))/0x2*(parseInt(_0x546e71(0x245))/0x3)+parseInt(_0x546e71(0x226))/0x4*(parseInt(_0x546e71(0x232))/0x5)+parseInt(_0x546e71(0x1f0))/0x6+-parseInt(_0x546e71(0x274))/0x7*(parseInt(_0x546e71(0x2a8))/0x8)+-parseInt(_0x546e71(0x256))/0x9+-parseInt(_0x546e71(0x1f6))/0xa*(-parseInt(_0x546e71(0x241))/0xb);if(_0x2428d5===_0x2e5cdc)break;else _0x583aff['push'](_0x583aff['shift']());}catch(_0x2d0f61){_0x583aff['push'](_0x583aff['shift']());}}}(_0x5708,0xc8838));import{Plugin as _0x516c06,PendingActions as _0x431c54}from'ckeditor5/src/core.js';import{CKEditorError as _0x1c6a94,version as _0x46e302,uid as _0x1e3446}from'ckeditor5/src/utils.js';import{Notification as _0x1933e9}from'ckeditor5/src/ui.js';import{transformSets as _0x432211,NoOperation as _0x42ae7a,InsertOperation as _0x1a3f19,MarkerOperation as _0x280681,RootAttributeOperation as _0x1c7047,OperationFactory as _0x603261,History as _0x543159}from'ckeditor5/src/engine.js';import _0x322d2e from'./websocketgateway.js';import _0x293f85 from'./sessions.js';import _0x97cbb6 from'./usermarkers.js';import{getTranslation as _0x50ed73}from'../common-translations.js';import{Compressor as _0x36adc7}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x49213f}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5ab0dc,CollaborativeEditingService as _0x11f563}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;function _0x564b(_0x3db94b,_0x232c9a){const _0x570824=_0x5708();return _0x564b=function(_0x564bb9,_0x5e0af9){_0x564bb9=_0x564bb9-0x1a8;let _0x119247=_0x570824[_0x564bb9];return _0x119247;},_0x564b(_0x3db94b,_0x232c9a);}class l extends _0x516c06{static [_0x460090(0x2a4)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x11f563)());[_0x460090(0x1cd)];[_0x460090(0x1d2)];[_0x460090(0x1b5)];[_0x460090(0x1b4)];[_0x460090(0x1eb)];[_0x460090(0x1f4)];[_0x460090(0x21c)];[_0x460090(0x294)];[_0x460090(0x23c)];[_0x460090(0x250)];[_0x460090(0x231)];[_0x460090(0x1c6)];[_0x460090(0x28c)];[_0x460090(0x236)];[_0x460090(0x258)];[_0x460090(0x295)];[_0x460090(0x27f)];[_0x460090(0x1b6)];static get[_0x460090(0x280)](){return[_0x322d2e,_0x293f85,_0x97cbb6,_0x431c54,_0x49213f,_0x1933e9];}static get[_0x460090(0x25b)](){const _0x25f3af=_0x460090;return _0x25f3af(0x1ea);}static get[_0x460090(0x1c5)](){return!0x0;}static get[_0x460090(0x235)](){return!0x0;}get[_0x460090(0x23a)](){const _0x4c20bb=_0x460090;return this[_0x4c20bb(0x1ad)]+this[_0x4c20bb(0x1cd)];}get[_0x460090(0x1ad)](){const _0x2a7655=_0x460090;return this[_0x2a7655(0x1b5)][_0x2a7655(0x25e)]-this[_0x2a7655(0x1cd)];}get[_0x460090(0x1c7)](){const _0x20ba91=_0x460090,_0x514a3f=this[_0x20ba91(0x1b5)][_0x20ba91(0x1de)]();for(let _0x182f45=_0x514a3f[_0x20ba91(0x24b)]-0x1;_0x182f45>=0x0;_0x182f45--){const _0xa24727=_0x514a3f[_0x182f45];if(!this[_0x20ba91(0x27f)][_0x20ba91(0x23b)](_0xa24727))return _0xa24727[_0x20ba91(0x1e6)]+0x1-this[_0x20ba91(0x1cd)];}return 0x0;}constructor(_0x42463a){const _0x4fdb8e=_0x460090;if(super(_0x42463a),this[_0x4fdb8e(0x1cd)]=0x0,this[_0x4fdb8e(0x1d2)]=null,this[_0x4fdb8e(0x1b5)]=new _0x543159(),this[_0x4fdb8e(0x1b3)][_0x4fdb8e(0x1c0)][_0x4fdb8e(0x1dc)](_0x4fdb8e(0x251),{}),this[_0x4fdb8e(0x1b4)]=this[_0x4fdb8e(0x1b3)][_0x4fdb8e(0x1c0)][_0x4fdb8e(0x1b7)](_0x4fdb8e(0x268)),!this[_0x4fdb8e(0x1b4)])throw new _0x1c6a94(_0x4fdb8e(0x1e1),this);const _0x307114=_0x42463a[_0x4fdb8e(0x1c0)][_0x4fdb8e(0x1b7)](_0x4fdb8e(0x28a))||_0x46e302;this[_0x4fdb8e(0x1eb)]=new l[(_0x4fdb8e(0x2a4))](_0x307114,this[_0x4fdb8e(0x1b4)]),this[_0x4fdb8e(0x1f4)]=this[_0x4fdb8e(0x1b3)][_0x4fdb8e(0x211)][_0x4fdb8e(0x1e7)],this[_0x4fdb8e(0x21c)]=new _0x36adc7(),this[_0x4fdb8e(0x294)]=[],this[_0x4fdb8e(0x23c)]=new WeakSet(),this[_0x4fdb8e(0x250)]=new Set(),this[_0x4fdb8e(0x1ee)](_0x4fdb8e(0x208),!0x1),this[_0x4fdb8e(0x1ee)](_0x4fdb8e(0x1cb),!0x1),this[_0x4fdb8e(0x231)]=null,this[_0x4fdb8e(0x1c6)]=!0x1,this[_0x4fdb8e(0x28c)]=null,this[_0x4fdb8e(0x236)]=0x12c,this[_0x4fdb8e(0x258)]=this[_0x4fdb8e(0x236)],this[_0x4fdb8e(0x295)]=null,this[_0x4fdb8e(0x27f)]=new WeakSet(),this[_0x4fdb8e(0x1b6)]=new Y(this[_0x4fdb8e(0x27f)]);}[_0x460090(0x24c)](){const _0x324f04=_0x460090,_0x29ea86=this[_0x324f04(0x1b3)],_0x1c9e4e=_0x29ea86[_0x324f04(0x283)][_0x324f04(0x1b7)](_0x49213f),_0x4b875c=_0x29ea86[_0x324f04(0x283)][_0x324f04(0x1b7)](_0x322d2e);this[_0x324f04(0x1c4)](_0x1c9e4e,_0x324f04(0x234),(_0x4bb744,_0x2525aa)=>{const _0x3ef32b=_0x324f04,_0x1e1835=_0x2525aa[0x0];_0x1e1835[_0x3ef32b(0x1cf)]&&(_0x4bb744[_0x3ef32b(0x278)]=_0x1c9e4e[_0x3ef32b(0x22b)](_0x1e1835[_0x3ef32b(0x1cf)]),_0x4bb744[_0x3ef32b(0x292)]()),null===_0x1e1835[_0x3ef32b(0x1cf)]&&(_0x4bb744[_0x3ef32b(0x278)]=null,_0x4bb744[_0x3ef32b(0x292)]());},{'priority':_0x324f04(0x247)}),this[_0x324f04(0x1c4)](_0x29ea86[_0x324f04(0x211)][_0x324f04(0x1e7)][_0x324f04(0x273)],_0x324f04(0x1ed),(_0x1fce29,_0x19c698)=>{const _0x1deab9=_0x324f04;_0x19c698[_0x1deab9(0x270)]&&this[_0x1deab9(0x29d)]();}),this[_0x324f04(0x1c4)](_0x29ea86[_0x324f04(0x225)][_0x324f04(0x248)],_0x324f04(0x21f),()=>{const _0x100365=_0x324f04;this[_0x100365(0x29d)]();}),this[_0x324f04(0x1bf)](),_0x29ea86[_0x324f04(0x211)]['on'](_0x324f04(0x27b),(_0x515b34,_0xe35c0)=>{const _0x7105be=_0x324f04,_0x543408=_0xe35c0[0x0];_0x543408[_0x7105be(0x259)]&&(this[_0x7105be(0x1b1)](_0x543408),this[_0x7105be(0x202)]()&&this[_0x7105be(0x264)]());}),this[_0x324f04(0x20e)](),this[_0x324f04(0x275)](_0x324f04(0x23d))['to'](_0x4b875c,_0x324f04(0x205),this,_0x324f04(0x1cb),(_0x2f8353,_0x17c8b7)=>_0x324f04(0x201)===_0x2f8353&&!_0x17c8b7),this['on'](_0x324f04(0x203),()=>{const _0x1c5222=_0x324f04;this[_0x1c5222(0x23d)]?_0x29ea86[_0x1c5222(0x246)](_0x1c5222(0x22a)):_0x29ea86[_0x1c5222(0x25a)](_0x1c5222(0x22a));}),this[_0x324f04(0x23d)]?_0x29ea86[_0x324f04(0x246)](_0x324f04(0x22a)):_0x29ea86[_0x324f04(0x25a)](_0x324f04(0x22a)),this[_0x324f04(0x1ee)](_0x324f04(0x210),!0x1);}async[_0x460090(0x2a3)](){const _0x5330fa=_0x460090,_0x5e1cf8=this[_0x5330fa(0x1b3)][_0x5330fa(0x283)][_0x5330fa(0x1b7)](_0x293f85),_0xdc18fb=this[_0x5330fa(0x1b3)][_0x5330fa(0x283)][_0x5330fa(0x1b7)](_0x322d2e);try{this[_0x5330fa(0x208)]=!0x0,_0x5e1cf8[_0x5330fa(0x27e)](this[_0x5330fa(0x1b4)]);const _0x708740=await this[_0x5330fa(0x1eb)][_0x5330fa(0x2a3)](_0xdc18fb[_0x5330fa(0x21a)],this[_0x5330fa(0x1c7)]);await this[_0x5330fa(0x2ab)](_0x708740)&&(this[_0x5330fa(0x208)]=!0x1,this[_0x5330fa(0x213)]());const _0x491269=await this[_0x5330fa(0x1eb)][_0x5330fa(0x26e)]();_0x5e1cf8[_0x5330fa(0x293)](this[_0x5330fa(0x1b4)],_0x491269),this[_0x5330fa(0x1df)](),this[_0x5330fa(0x210)]=!0x0;}catch(_0x3c38dd){if(function(_0x4c5c10){const _0x21a702=_0x5330fa;return _0x21a702(0x267)===_0x4c5c10[_0x21a702(0x1ef)];}(_0x3c38dd)&&this[_0x5330fa(0x1d2)])await this[_0x5330fa(0x252)]();else{if(function(_0x3a3208){const _0x5bfd08=_0x5330fa;return _0x5bfd08(0x1d1)===_0x3a3208[_0x5bfd08(0x1ef)];}(_0x3c38dd)){const _0x19d41a=_0x50ed73(this[_0x5330fa(0x1b3)][_0x5330fa(0x206)],_0x5330fa(0x1c8));this[_0x5330fa(0x286)](_0x19d41a);}else{if(!(_0x3c38dd instanceof Q))throw _0x3c38dd;this[_0x5330fa(0x286)]();}}}}[_0x460090(0x1db)](){const _0x48feae=_0x460090,_0x4da381=this[_0x48feae(0x1b3)][_0x48feae(0x283)][_0x48feae(0x1b7)](_0x322d2e),_0x90da1e=this[_0x48feae(0x1b3)][_0x48feae(0x283)][_0x48feae(0x1b7)](_0x293f85);this[_0x48feae(0x1b3)][_0x48feae(0x25a)](_0x48feae(0x1d4)),_0x90da1e[_0x48feae(0x2a6)][_0x48feae(0x23b)](this[_0x48feae(0x1b4)])&&_0x90da1e[_0x48feae(0x27e)](this[_0x48feae(0x1b4)]),_0x4da381[_0x48feae(0x244)](this),this[_0x48feae(0x261)](),super[_0x48feae(0x1db)]();}async[_0x460090(0x2ab)](_0x1a43b6){const _0x17bfb4=_0x460090;if(this[_0x17bfb4(0x1d2)]!==_0x1a43b6[_0x17bfb4(0x1d2)]&&this[_0x17bfb4(0x295)]!==_0x1a43b6[_0x17bfb4(0x290)])throw new Q();return this[_0x17bfb4(0x1d2)]=_0x1a43b6[_0x17bfb4(0x1d2)],this[_0x17bfb4(0x24e)]([],{..._0x1a43b6,'wereChangesApplied':!0x1,'data':_0x1a43b6[_0x17bfb4(0x1dd)]},_0x17bfb4(0x2a3));}async[_0x460090(0x1e8)](_0x258140,_0x326dfc=!0x1){const _0x40af2c=_0x460090,{connection:_0x2d4ec4}=this[_0x40af2c(0x1b3)][_0x40af2c(0x283)][_0x40af2c(0x1b7)](_0x322d2e);l[_0x40af2c(0x2a4)][_0x40af2c(0x26e)](_0x2d4ec4,this[_0x40af2c(0x1b4)])[_0x40af2c(0x2a7)](_0x4779aa=>this[_0x40af2c(0x238)](_0x4779aa))[_0x40af2c(0x260)](_0x14cafa=>{const _0x278db4=_0x40af2c;this[_0x278db4(0x22e)](_0x278db4(0x1fe),_0x14cafa);}),this[_0x40af2c(0x1c4)](this[_0x40af2c(0x1eb)],_0x40af2c(0x29e),this[_0x40af2c(0x24a)][_0x40af2c(0x275)](this)),this[_0x40af2c(0x1c4)](this[_0x40af2c(0x1eb)],_0x40af2c(0x1f2),(_0x245fb7,_0xc85d4c)=>{const _0x3feb49=_0x40af2c;this[_0x3feb49(0x22e)](_0x3feb49(0x1aa),_0xc85d4c);}),this[_0x40af2c(0x1c4)](this[_0x40af2c(0x1eb)],_0x40af2c(0x291),()=>{const _0x51c2eb=_0x40af2c;this[_0x51c2eb(0x210)]=!0x1;});const _0x3574d3=this[_0x40af2c(0x1b6)][_0x40af2c(0x243)](_0x258140);this[_0x40af2c(0x208)]=!0x0;const _0x139711=await this[_0x40af2c(0x1eb)][_0x40af2c(0x1ba)](_0x2d4ec4,this[_0x40af2c(0x25f)](_0x258140),_0x3574d3);if(this[_0x40af2c(0x1d2)]=_0x139711[_0x40af2c(0x1d2)],_0x326dfc){if(!_0x139711[_0x40af2c(0x217)])return void this[_0x40af2c(0x286)]();this[_0x40af2c(0x208)]=!0x1,this[_0x40af2c(0x213)](),this[_0x40af2c(0x1b5)][_0x40af2c(0x1d8)](),this[_0x40af2c(0x1cd)]=_0x139711[_0x40af2c(0x1e4)],this[_0x40af2c(0x1b5)][_0x40af2c(0x25e)]=this[_0x40af2c(0x1cd)],await this[_0x40af2c(0x24e)](_0x258140,_0x139711,_0x40af2c(0x1bd));}else await this[_0x40af2c(0x1bc)](_0x139711,_0x258140);this[_0x40af2c(0x1df)](),this[_0x40af2c(0x210)]=!0x0;}[_0x460090(0x1df)](){const _0x312a83=_0x460090,_0xb47cfa=this[_0x312a83(0x1b3)][_0x312a83(0x283)][_0x312a83(0x1b7)](_0x293f85),_0x172912=this[_0x312a83(0x1b3)][_0x312a83(0x283)][_0x312a83(0x1b7)](_0x97cbb6),_0x53fa65=_0xb47cfa[_0x312a83(0x2a6)][_0x312a83(0x1b7)](this[_0x312a83(0x1b4)]);_0x53fa65&&_0x53fa65[_0x312a83(0x24b)]>0x1?_0x172912[_0x312a83(0x2a2)]():this[_0x312a83(0x1c4)](_0xb47cfa,_0x312a83(0x23f)+this[_0x312a83(0x1b4)],()=>{const _0x4700c9=_0x312a83;0x2===_0xb47cfa[_0x4700c9(0x2a6)][_0x4700c9(0x1b7)](this[_0x4700c9(0x1b4)])[_0x4700c9(0x24b)]&&_0x172912[_0x4700c9(0x2a2)]();});}async[_0x460090(0x24a)](_0x1684ad,_0x13b50f,_0x2c083b,_0x56d9ff){const _0x12d736=_0x460090;if(!this[_0x12d736(0x208)]&&this[_0x12d736(0x1f4)][_0x12d736(0x25e)]==_0x13b50f){const _0x1baabf=this[_0x12d736(0x1ca)](_0x2c083b,_0x56d9ff);await this[_0x12d736(0x25c)](_0x1baabf),this[_0x12d736(0x242)](_0x1baabf,_0x13b50f,_0x2c083b[_0x12d736(0x290)])||this[_0x12d736(0x22e)](_0x12d736(0x214));}}async[_0x460090(0x252)](){const _0x16c453=_0x460090;this[_0x16c453(0x261)]();const {locale:_0x10032f}=this[_0x16c453(0x1b3)];let _0x3d575d;try{_0x3d575d=await this[_0x16c453(0x1eb)][_0x16c453(0x1e9)]();}catch{const _0x2a6561=_0x50ed73(_0x10032f,_0x16c453(0x1c1));return void this[_0x16c453(0x286)](_0x2a6561);}const _0x480359=_0x3d575d[_0x16c453(0x26b)]||_0x3d575d[_0x16c453(0x255)];if(this[_0x16c453(0x295)]!==_0x480359[_0x16c453(0x290)]){const _0x4e5a8d=_0x50ed73(_0x10032f,_0x16c453(0x215));return void this[_0x16c453(0x286)](_0x4e5a8d);}await this[_0x16c453(0x1e8)](this[_0x16c453(0x1b3)][_0x16c453(0x211)][_0x16c453(0x1e7)][_0x16c453(0x2a0)][_0x16c453(0x1de)](),!0x0);}[_0x460090(0x261)](){const _0x3f0f13=_0x460090;this[_0x3f0f13(0x1eb)][_0x3f0f13(0x1c9)](),this[_0x3f0f13(0x294)]=[],clearTimeout(this[_0x3f0f13(0x28c)]),this[_0x3f0f13(0x22c)](this[_0x3f0f13(0x1eb)]);}[_0x460090(0x238)](_0x4845f0){const _0x99d130=_0x460090,_0x507cc9=this[_0x99d130(0x1b3)][_0x99d130(0x283)][_0x99d130(0x1b7)](_0x293f85);this[_0x99d130(0x1c4)](_0x507cc9,_0x99d130(0x23f)+this[_0x99d130(0x1b4)],(_0x44c39c,{session:_0x17834d})=>{const _0x448495=_0x99d130;if(_0x17834d['id']===_0x507cc9[_0x448495(0x219)]){_0x44c39c[_0x448495(0x229)]();const _0x570342=this[_0x448495(0x1b3)][_0x448495(0x283)][_0x448495(0x23b)](_0x448495(0x2a9))&&this[_0x448495(0x1b3)][_0x448495(0x283)][_0x448495(0x1b7)](_0x448495(0x2a9));let _0x226969=_0x17834d[_0x448495(0x207)];_0x570342&&_0x570342[_0x448495(0x233)]&&(_0x226969=_0x226969[_0x448495(0x1ce)](_0x22cfee=>_0x448495(0x1be)!==_0x22cfee)),this[_0x448495(0x1b3)][_0x448495(0x283)][_0x448495(0x1b7)](_0x448495(0x218))[_0x448495(0x1e5)](_0x226969,this[_0x448495(0x1b4)]);}}),_0x507cc9[_0x99d130(0x293)](this[_0x99d130(0x1b4)],_0x4845f0);}[_0x460090(0x1bf)](){const _0x5ac9d1=_0x460090,_0x1e547c=this[_0x5ac9d1(0x1b3)][_0x5ac9d1(0x1dd)][_0x5ac9d1(0x1ee)];this[_0x5ac9d1(0x1b3)][_0x5ac9d1(0x1dd)][_0x5ac9d1(0x1ee)]=(..._0x3df6e8)=>{const _0x53f112=_0x5ac9d1;if(!_0x3df6e8[_0x3df6e8[_0x53f112(0x24b)]-0x1][_0x53f112(0x254)])throw new _0x1c6a94(_0x53f112(0x20c),this);_0x1e547c[_0x53f112(0x28e)](this[_0x53f112(0x1b3)][_0x53f112(0x1dd)],_0x3df6e8);};}[_0x460090(0x20e)](){const _0x31ac66=_0x460090;this[_0x31ac66(0x1b3)][_0x31ac66(0x1dd)]['on'](_0x31ac66(0x24c),(_0x12aa0d,[_0x53b355])=>{const _0x3e91f6=_0x31ac66;if(this[_0x3e91f6(0x1f4)][_0x3e91f6(0x25e)])throw new _0x1c6a94(_0x3e91f6(0x287),this);_0x12aa0d[_0x3e91f6(0x292)](),this[_0x3e91f6(0x2aa)]();const _0x178f76=this[_0x3e91f6(0x1b3)][_0x3e91f6(0x1c0)][_0x3e91f6(0x1b7)](_0x3e91f6(0x1fc)),_0x15d546=this[_0x3e91f6(0x285)](_0x53b355,_0x178f76);0x0==_0x15d546[_0x3e91f6(0x24b)]&&_0x15d546[_0x3e91f6(0x1ae)](new _0x42ae7a(0x0)),_0x12aa0d[_0x3e91f6(0x278)]=this[_0x3e91f6(0x1e8)](_0x15d546)[_0x3e91f6(0x2a7)](()=>{const _0x379a16=_0x3e91f6;this[_0x379a16(0x1b3)][_0x379a16(0x283)][_0x379a16(0x1b7)](_0x322d2e)[_0x379a16(0x266)](this),this[_0x379a16(0x1b3)][_0x379a16(0x1dd)][_0x379a16(0x220)](_0x379a16(0x223));})[_0x3e91f6(0x260)](_0x4a1141=>this[_0x3e91f6(0x22e)](_0x3e91f6(0x2ac),_0x4a1141))[_0x3e91f6(0x27d)](()=>this[_0x3e91f6(0x213)]());},{'priority':_0x31ac66(0x247)}),this[_0x31ac66(0x1b3)]['on'](_0x31ac66(0x26d),async(_0x382e86,[_0x272dc0,_0x2cfb07])=>{const _0x5e9f38=_0x31ac66;_0x382e86[_0x5e9f38(0x292)]();const _0x30e2c5=this[_0x5e9f38(0x1b3)][_0x5e9f38(0x211)][_0x5e9f38(0x1e7)][_0x5e9f38(0x25d)](_0x272dc0);if(!this[_0x5e9f38(0x250)][_0x5e9f38(0x23b)](_0x272dc0)){const _0x29aaf4=_0x2cfb07&&_0x2cfb07[_0x5e9f38(0x1dd)]?_0x2cfb07[_0x5e9f38(0x1dd)]:'',_0x3bc526=_0x2cfb07&&_0x2cfb07[_0x5e9f38(0x1d0)]?_0x2cfb07[_0x5e9f38(0x1d0)]:{};await this[_0x5e9f38(0x28f)](_0x272dc0,_0x29aaf4,_0x3bc526);}this[_0x5e9f38(0x1b3)][_0x5e9f38(0x211)][_0x5e9f38(0x1ac)]({'isUndoable':!0x1},()=>{const _0x4fa78b=_0x5e9f38;_0x30e2c5[_0x4fa78b(0x24d)]=!0x0,this[_0x4fa78b(0x1b3)][_0x4fa78b(0x211)][_0x4fa78b(0x1e7)][_0x4fa78b(0x1c2)][_0x4fa78b(0x1da)](_0x30e2c5);});},{'priority':_0x31ac66(0x247)});}async[_0x460090(0x25c)](_0x5c5a46){const _0x5c731f=_0x460090,_0x4d3efa=this[_0x5c731f(0x1b3)][_0x5c731f(0x283)][_0x5c731f(0x1b7)](_0x49213f),{connection:_0x3d542a}=this[_0x5c731f(0x1b3)][_0x5c731f(0x283)][_0x5c731f(0x1b7)](_0x322d2e),_0x48154e=new Set();for(const _0x80a363 of _0x5c5a46){const _0x3bf518=_0x80a363[_0x5c731f(0x1cf)];_0x3bf518&&!_0x4d3efa[_0x5c731f(0x22b)](_0x3bf518)&&_0x48154e[_0x5c731f(0x204)](_0x3bf518);}if(0x0===_0x48154e[_0x5c731f(0x1fd)])return;const _0x1ff802=await _0x5ab0dc[_0x5c731f(0x27c)](_0x3d542a,Array[_0x5c731f(0x227)](_0x48154e));for(const _0x11b577 of _0x1ff802)_0x4d3efa[_0x5c731f(0x22b)](_0x11b577['id'])||_0x4d3efa[_0x5c731f(0x1b2)](_0x11b577);}[_0x460090(0x285)](_0xd683eb,_0x405c4c={}){const _0x53acfd=_0x460090,_0x3b45fa=this[_0x53acfd(0x1b3)][_0x53acfd(0x211)],_0x5ce64f=[];let _0x3edf9f=0x0;const _0x5d6268=_0x53acfd(0x29b)==typeof _0xd683eb?{'main':_0xd683eb}:_0xd683eb;for(const _0x264a2a of Object[_0x53acfd(0x253)](_0x5d6268)){if(!this[_0x53acfd(0x1f4)][_0x53acfd(0x20a)][_0x53acfd(0x23b)](_0x264a2a))throw new _0x1c6a94(_0x53acfd(0x1b8),this);const _0x3dbdfe=this[_0x53acfd(0x1b3)][_0x53acfd(0x1dd)][_0x53acfd(0x1f1)](_0x5d6268[_0x264a2a]),_0x1d8b5a=this[_0x53acfd(0x1f4)][_0x53acfd(0x25d)](_0x264a2a),_0x3da885=new _0x1a3f19(_0x3b45fa[_0x53acfd(0x1e0)](_0x1d8b5a,0x0),_0x3dbdfe,_0x3edf9f++);_0x5ce64f[_0x53acfd(0x1ae)](_0x3da885);for(const [_0xdca0eb,_0x2ec8d0]of _0x3dbdfe[_0x53acfd(0x299)]){const _0x2185ac=_0x3b45fa[_0x53acfd(0x1d6)](_0x3b45fa[_0x53acfd(0x263)](_0x1d8b5a,_0x2ec8d0[_0x53acfd(0x230)][_0x53acfd(0x1ec)][_0x53acfd(0x20b)]()),_0x3b45fa[_0x53acfd(0x263)](_0x1d8b5a,_0x2ec8d0[_0x53acfd(0x26f)][_0x53acfd(0x1ec)][_0x53acfd(0x20b)]())),_0x292150=new _0x280681(_0xdca0eb,null,_0x2185ac,_0x3b45fa[_0x53acfd(0x299)],!0x0,_0x3edf9f++);_0x5ce64f[_0x53acfd(0x1ae)](_0x292150);}}if(_0x405c4c)for(const [_0x524bfa,_0x3c51e8]of Object[_0x53acfd(0x1a8)](_0x405c4c)){const _0x20e4da=_0x3b45fa[_0x53acfd(0x1e7)][_0x53acfd(0x25d)](_0x524bfa);if(!_0x20e4da)throw new _0x1c6a94(_0x53acfd(0x200),null);for(const [_0x36d1cf,_0x4a5226]of Object[_0x53acfd(0x1a8)](_0x3c51e8))if(null!==_0x4a5226){const _0x247a18=new _0x1c7047(_0x20e4da,_0x36d1cf,null,_0x4a5226,_0x3edf9f++);_0x5ce64f[_0x53acfd(0x1ae)](_0x247a18);}}return _0x5ce64f;}async[_0x460090(0x28f)](_0x112ade,_0x23c49b,_0xc754ef){const _0x263dd2=_0x460090;this[_0x263dd2(0x285)]({[_0x112ade]:_0x23c49b},{[_0x112ade]:_0xc754ef})[_0x263dd2(0x1a9)]((_0x597423,_0x459420)=>{const _0x41b1cb=_0x263dd2;_0x597423[_0x41b1cb(0x1e6)]=this[_0x41b1cb(0x1f4)][_0x41b1cb(0x25e)]+_0x459420,_0x597423[_0x41b1cb(0x269)]=!0x0,this[_0x41b1cb(0x1b1)](_0x597423);}),this[_0x263dd2(0x264)](),await this[_0x263dd2(0x257)]();}async[_0x460090(0x1bc)](_0x5e13c8,_0x440cf5){const _0xa91cdd=_0x460090;let _0x2cd558;this[_0xa91cdd(0x1cd)]=_0x5e13c8[_0xa91cdd(0x1e4)];const _0x2d0c58=_0x5e13c8[_0xa91cdd(0x217)]&&!_0x5e13c8[_0xa91cdd(0x239)],_0x14bdb1=_0x2d0c58?0x0:_0x5e13c8[_0xa91cdd(0x1dd)][_0xa91cdd(0x1e6)];if(_0x440cf5[_0xa91cdd(0x1a9)](_0x130f55=>{const _0x4af6c9=_0xa91cdd;_0x130f55[_0x4af6c9(0x269)]=!0x0,_0x130f55[_0x4af6c9(0x296)]=_0x5e13c8[_0x4af6c9(0x276)],_0x130f55[_0x4af6c9(0x1cf)]=null;}),_0x2d0c58)_0x2cd558=_0x440cf5,this[_0xa91cdd(0x1cc)](_0x2cd558,_0x2d0c58);else{if(_0x5e13c8[_0xa91cdd(0x239)]){const _0x847861=this[_0xa91cdd(0x285)](_0x5e13c8[_0xa91cdd(0x239)]);this[_0xa91cdd(0x1f4)][_0xa91cdd(0x2a0)][_0xa91cdd(0x25e)]=-_0x847861[_0xa91cdd(0x24b)],_0x847861[_0xa91cdd(0x1a9)](_0x11da84=>{const _0x3885cc=_0xa91cdd;_0x11da84[_0x3885cc(0x1e6)]-=_0x847861[_0x3885cc(0x24b)],_0x11da84[_0x3885cc(0x296)]=_0x5e13c8[_0x3885cc(0x276)],_0x11da84[_0x3885cc(0x269)]=!0x0,_0x11da84[_0x3885cc(0x1cf)]=null;}),this[_0xa91cdd(0x1cc)](_0x847861,!0x0),this[_0xa91cdd(0x1b5)][_0xa91cdd(0x25e)]=-_0x847861[_0xa91cdd(0x24b)]+this[_0xa91cdd(0x1cd)],this[_0xa91cdd(0x2ae)](_0x847861);}this[_0xa91cdd(0x1f4)][_0xa91cdd(0x2a0)][_0xa91cdd(0x25e)]=_0x14bdb1,_0x2cd558=this[_0xa91cdd(0x1ca)](_0x5e13c8[_0xa91cdd(0x1dd)],_0x5e13c8[_0xa91cdd(0x249)]),await this[_0xa91cdd(0x25c)](_0x2cd558),this[_0xa91cdd(0x1cc)](_0x2cd558,_0x2d0c58);}_0x5e13c8[_0xa91cdd(0x290)]&&(this[_0xa91cdd(0x1b6)][_0xa91cdd(0x1af)](_0x2cd558,_0x5e13c8[_0xa91cdd(0x290)]),this[_0xa91cdd(0x295)]=_0x5e13c8[_0xa91cdd(0x290)]),this[_0xa91cdd(0x1b5)][_0xa91cdd(0x25e)]=_0x14bdb1+this[_0xa91cdd(0x1cd)],this[_0xa91cdd(0x2ae)](_0x2cd558),_0x440cf5[_0xa91cdd(0x1ce)](_0xb353f9=>{const _0xd350df=_0xa91cdd,_0x487a8a=this[_0xd350df(0x29c)](_0xb353f9);return _0x487a8a&&!this[_0xd350df(0x250)][_0xd350df(0x23b)](_0x487a8a);})[_0xa91cdd(0x1a9)]((_0x4555a9,_0x339d21)=>{const _0x4bdf89=_0xa91cdd;_0x4555a9[_0x4bdf89(0x1e6)]=this[_0x4bdf89(0x1f4)][_0x4bdf89(0x25e)]+_0x339d21,this[_0x4bdf89(0x1b1)](_0x4555a9);}),this[_0xa91cdd(0x202)]()?(this[_0xa91cdd(0x258)]=0x0,this[_0xa91cdd(0x264)](!0x0),await this[_0xa91cdd(0x257)]()):(this[_0xa91cdd(0x208)]=!0x1,this[_0xa91cdd(0x213)]());}[_0x460090(0x22e)](_0x4ea5f8,_0x52639b){const _0x2db717=_0x460090,_0x5d5cef=_0x52639b&&_0x52639b[_0x2db717(0x1f9)];if(_0x5d5cef&&_0x5d5cef[_0x2db717(0x265)](_0x2db717(0x1ff)))throw _0x52639b;const _0x264a4a=this[_0x2db717(0x1b3)][_0x2db717(0x283)][_0x2db717(0x1b7)](_0x322d2e);throw this[_0x2db717(0x208)]=!0x0,_0x264a4a[_0x2db717(0x1c9)](),this[_0x2db717(0x1b3)][_0x2db717(0x25a)](_0x2db717(0x209)),new _0x1c6a94(_0x4ea5f8,this[_0x2db717(0x1b3)],_0x5d5cef?{'originalError':_0x5d5cef}:void 0x0);}[_0x460090(0x1b1)](_0x1d8246){const _0x2b5a9e=_0x460090;this[_0x2b5a9e(0x23c)][_0x2b5a9e(0x23b)](_0x1d8246)||(this[_0x2b5a9e(0x23c)][_0x2b5a9e(0x204)](_0x1d8246),this[_0x2b5a9e(0x294)][_0x2b5a9e(0x1ae)](_0x1d8246),this[_0x2b5a9e(0x231)]||_0x2b5a9e(0x282)==_0x1d8246[_0x2b5a9e(0x277)]&&!_0x1d8246[_0x2b5a9e(0x24f)]||this[_0x2b5a9e(0x2aa)]());}[_0x460090(0x264)](_0x3743b0=!0x1){const _0x568075=_0x460090;!_0x3743b0&&this[_0x568075(0x208)]||(this[_0x568075(0x208)]=!0x0,clearTimeout(this[_0x568075(0x28c)]),this[_0x568075(0x28c)]=setTimeout(()=>{const _0x5a3b44=_0x568075;this[_0x5a3b44(0x262)]()[_0x5a3b44(0x2a7)](_0x5a8377=>{const _0x4c7894=_0x5a3b44;_0x5a8377&&(this[_0x4c7894(0x213)](),this[_0x4c7894(0x208)]=!0x1);})[_0x5a3b44(0x260)](_0x22e6a1=>{const _0x1ed127=_0x5a3b44;this[_0x1ed127(0x213)](),this[_0x1ed127(0x208)]=!0x1,function(_0x49df2a){const _0x268b2b=_0x1ed127;return _0x49df2a[_0x268b2b(0x1f9)][_0x268b2b(0x265)](_0x268b2b(0x237))||_0x49df2a[_0x268b2b(0x1f9)][_0x268b2b(0x265)](_0x268b2b(0x284))||_0x49df2a[_0x268b2b(0x1f9)][_0x268b2b(0x265)](_0x268b2b(0x20d));}(_0x22e6a1)||this[_0x1ed127(0x22e)](_0x22e6a1[_0x1ed127(0x1f9)],_0x22e6a1);});},this[_0x568075(0x258)]));}[_0x460090(0x257)](){return new Promise(_0x191983=>{const _0xcda5a7=_0x564b;this['on'](_0xcda5a7(0x2a1),()=>{_0x191983();});});}async[_0x460090(0x262)](){const _0x2ccb01=_0x460090,_0x178757=this[_0x2ccb01(0x1b3)][_0x2ccb01(0x283)][_0x2ccb01(0x1b7)](_0x97cbb6);if(this[_0x2ccb01(0x281)]()&&(_0x178757[_0x2ccb01(0x2a2)](),this[_0x2ccb01(0x1c6)]=!0x1),!this[_0x2ccb01(0x202)]())return!0x0;const _0x4f7ccf=[...this[_0x2ccb01(0x294)]];for(const _0x6a9018 of _0x4f7ccf)_0x6a9018[_0x2ccb01(0x1b0)]=this[_0x2ccb01(0x1f4)][_0x2ccb01(0x2a0)][_0x2ccb01(0x1fb)](_0x6a9018);const _0x3ee611=this[_0x2ccb01(0x1b6)][_0x2ccb01(0x243)](_0x4f7ccf),_0x534684=J++,_0x5abf65=this[_0x2ccb01(0x25f)](_0x4f7ccf),_0x3ebfe7=await this[_0x2ccb01(0x1eb)][_0x2ccb01(0x1e3)](_0x5abf65,_0x5abf65[_0x2ccb01(0x1e6)],_0x3ee611);try{return await this[_0x2ccb01(0x24e)](_0x4f7ccf,_0x3ebfe7,_0x534684);}catch(_0x10d74f){return this[_0x2ccb01(0x22e)](_0x2ccb01(0x29f),_0x10d74f);}}async[_0x460090(0x24e)](_0x33cf7c,_0x3646b2,_0x23fe95){const _0x268a9c=_0x460090;if(_0x268a9c(0x1f2)in _0x3646b2)throw _0x3646b2[_0x268a9c(0x1f2)];let _0x5e1060=!0x1;if(_0x3646b2[_0x268a9c(0x217)]){_0x3646b2[_0x268a9c(0x290)]&&(this[_0x268a9c(0x295)]=_0x3646b2[_0x268a9c(0x290)]),this[_0x268a9c(0x294)]=this[_0x268a9c(0x294)][_0x268a9c(0x1ce)](_0x21c756=>!_0x33cf7c[_0x268a9c(0x28b)](_0x21c756));for(const _0x49475b of _0x33cf7c)_0x49475b[_0x268a9c(0x296)]=_0x268a9c(0x28d)in _0x3646b2&&_0x3646b2[_0x268a9c(0x28d)]||void 0x0;X(_0x33cf7c,_0x3646b2[_0x268a9c(0x25e)]-_0x33cf7c[_0x268a9c(0x24b)]),this[_0x268a9c(0x2ae)](_0x33cf7c);const _0xf4e672=_0x33cf7c[_0x268a9c(0x1ce)](_0x7f7038=>{const _0x527d60=_0x268a9c;if(!_0x7f7038[_0x527d60(0x269)])return!0x1;const _0x2fa1f0=this[_0x527d60(0x29c)](_0x7f7038);return _0x2fa1f0&&!this[_0x527d60(0x250)][_0x527d60(0x23b)](_0x2fa1f0);});X(_0xf4e672,this[_0x268a9c(0x1f4)][_0x268a9c(0x25e)]),this[_0x268a9c(0x1cc)](_0xf4e672),_0x5e1060=!0x0,this[_0x268a9c(0x258)]=this[_0x268a9c(0x236)];}else{const _0xadab3d=this[_0x268a9c(0x1ca)](_0x3646b2[_0x268a9c(0x1dd)],_0x3646b2[_0x268a9c(0x249)])[_0x268a9c(0x1ce)](_0x563287=>_0x563287[_0x268a9c(0x1e6)]>=this[_0x268a9c(0x1ad)]);_0xadab3d[_0x268a9c(0x1a9)](_0x1c4623=>this[_0x268a9c(0x1d7)](_0x1c4623)),this[_0x268a9c(0x294)]=this[_0x268a9c(0x294)][_0x268a9c(0x1ce)](_0x54b4e1=>!_0x54b4e1[_0x268a9c(0x269)]||!this[_0x268a9c(0x250)][_0x268a9c(0x23b)](this[_0x268a9c(0x29c)](_0x54b4e1))),this[_0x268a9c(0x294)][_0x268a9c(0x24b)]&&X(this[_0x268a9c(0x294)],this[_0x268a9c(0x294)][0x0][_0x268a9c(0x1e6)]),await this[_0x268a9c(0x25c)](_0xadab3d),_0x5e1060=this[_0x268a9c(0x242)](_0xadab3d,_0x3646b2[_0x268a9c(0x25e)],_0x3646b2[_0x268a9c(0x290)]),this[_0x268a9c(0x258)]=Math[_0x268a9c(0x297)](this[_0x268a9c(0x258)]/0x2);}return _0x5e1060?!this[_0x268a9c(0x202)]()||(this[_0x268a9c(0x264)](!0x0),!0x1):this[_0x268a9c(0x22e)](_0x268a9c(0x1d9));}[_0x460090(0x242)](_0x1aa41b,_0x7a5c30,_0x4c1d12){const _0x3fdb2e=_0x460090;try{const _0x1e02a9={'document':this[_0x3fdb2e(0x1f4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x56c0e9,operationsB:_0x2a6641,originalOperations:_0x48e8f6}=_0x432211(_0x1aa41b,this[_0x3fdb2e(0x294)],_0x1e02a9);X(_0x56c0e9,this[_0x3fdb2e(0x1f4)][_0x3fdb2e(0x25e)]),X(_0x2a6641,_0x7a5c30);for(const _0x39366d of _0x56c0e9){const _0x5b3b4f=_0x48e8f6[_0x3fdb2e(0x1b7)](_0x39366d);_0x39366d[_0x3fdb2e(0x1cf)]=_0x5b3b4f?_0x5b3b4f[_0x3fdb2e(0x1cf)]:null;}_0x4c1d12&&(this[_0x3fdb2e(0x1b6)][_0x3fdb2e(0x1af)](_0x1aa41b,_0x4c1d12),this[_0x3fdb2e(0x295)]=_0x4c1d12),this[_0x3fdb2e(0x294)]=[..._0x2a6641],this[_0x3fdb2e(0x1cc)](_0x56c0e9),this[_0x3fdb2e(0x2ae)](_0x1aa41b);}catch(_0xbee9c5){return console[_0x3fdb2e(0x1f2)](_0xbee9c5),!0x1;}return!0x0;}[_0x460090(0x1cc)](_0x424a5f,_0x11632e=!0x1){const _0x21375b=_0x460090;this[_0x21375b(0x1b3)][_0x21375b(0x211)][_0x21375b(0x1ac)]({'isUndoable':!0x1,'isLocal':!0x1},_0x567c00=>{const _0x259eb3=_0x21375b;for(const _0x500b77 of _0x424a5f)this[_0x259eb3(0x23c)][_0x259eb3(0x204)](_0x500b77),this[_0x259eb3(0x1d7)](_0x500b77),_0x567c00[_0x259eb3(0x221)][_0x259eb3(0x22f)](_0x500b77),this[_0x259eb3(0x1b3)][_0x259eb3(0x211)][_0x259eb3(0x27b)](_0x500b77);});}[_0x460090(0x1d7)](_0x43b6c3){const _0x24af78=_0x460090,_0x1b11ef=this[_0x24af78(0x29c)](_0x43b6c3);_0x1b11ef&&this[_0x24af78(0x250)][_0x24af78(0x204)](_0x1b11ef);}[_0x460090(0x29c)](_0x57f90f){const _0x185faf=_0x460090;let _0x1cd242,_0x4c9d25;switch(_0x57f90f[_0x185faf(0x277)]){case _0x185faf(0x1f3):_0x1cd242=_0x57f90f[_0x185faf(0x222)][_0x185faf(0x1d3)];break;case _0x185faf(0x282):if(_0x4c9d25=_0x57f90f[_0x185faf(0x298)],!_0x4c9d25)return null;_0x1cd242=_0x4c9d25[_0x185faf(0x1d3)];break;case _0x185faf(0x1b9):_0x1cd242=_0x57f90f[_0x185faf(0x1d3)];break;case _0x185faf(0x1fa):_0x1cd242=_0x57f90f[_0x185faf(0x23e)];break;case _0x185faf(0x27a):_0x1cd242=_0x57f90f[_0x185faf(0x21e)][_0x185faf(0x1d3)];break;default:return null;}return _0x1cd242[_0x185faf(0x2ad)];}[_0x460090(0x2ae)](_0x35cea1){const _0x13a599=_0x460090;_0x35cea1[_0x13a599(0x1a9)](_0x12aa04=>{const _0x4cde2a=_0x13a599,_0x11687a=_0x12aa04[_0x4cde2a(0x26a)]();_0x11687a[_0x4cde2a(0x1cf)]=_0x12aa04[_0x4cde2a(0x1cf)],_0x11687a[_0x4cde2a(0x269)]=!!_0x12aa04[_0x4cde2a(0x269)],_0x11687a[_0x4cde2a(0x296)]=_0x12aa04[_0x4cde2a(0x296)],_0x11687a[_0x4cde2a(0x1e6)]+=this[_0x4cde2a(0x1cd)],_0x12aa04[_0x4cde2a(0x289)]&&this[_0x4cde2a(0x27f)][_0x4cde2a(0x204)](_0x11687a),this[_0x4cde2a(0x1b5)][_0x4cde2a(0x22f)](_0x11687a);});}[_0x460090(0x286)](_0x5cefa6){const _0x82a0d5=_0x460090,_0xe3fa92=this[_0x82a0d5(0x1b3)][_0x82a0d5(0x283)][_0x82a0d5(0x1b7)](_0x82a0d5(0x1bb)),_0x4dd972=this[_0x82a0d5(0x1b3)][_0x82a0d5(0x206)];_0x5cefa6||(_0x5cefa6=_0x50ed73(_0x4dd972,_0x82a0d5(0x1f5))),_0xe3fa92[_0x82a0d5(0x2a5)](_0x5cefa6,{'title':_0x50ed73(_0x4dd972,_0x82a0d5(0x224)),'namespace':_0x82a0d5(0x271)}),this[_0x82a0d5(0x1cb)]=!0x0,clearTimeout(this[_0x82a0d5(0x28c)]),this[_0x82a0d5(0x294)]=[],this[_0x82a0d5(0x1b3)][_0x82a0d5(0x283)][_0x82a0d5(0x1b7)](_0x322d2e)[_0x82a0d5(0x1c9)]();}[_0x460090(0x2aa)](){const _0x37fd58=_0x460090;this[_0x37fd58(0x231)]||(this[_0x37fd58(0x231)]=this[_0x37fd58(0x1b3)][_0x37fd58(0x283)][_0x37fd58(0x1b7)](_0x431c54)[_0x37fd58(0x204)](_0x50ed73(this[_0x37fd58(0x1b3)][_0x37fd58(0x206)],_0x37fd58(0x272))));}[_0x460090(0x213)](){const _0x957ef1=_0x460090;this[_0x957ef1(0x231)]&&(this[_0x957ef1(0x1b3)][_0x957ef1(0x283)][_0x957ef1(0x1b7)](_0x431c54)[_0x957ef1(0x212)](this[_0x957ef1(0x231)]),this[_0x957ef1(0x231)]=null);}[_0x460090(0x25f)](_0x20e03b){const _0x9105ae=_0x460090,_0x108103=_0x20e03b[_0x9105ae(0x1c3)](_0x355ad1=>_0x355ad1[_0x9105ae(0x1f7)]());return this[_0x9105ae(0x21c)][_0x9105ae(0x1ab)](_0x108103);}[_0x460090(0x1ca)](_0x149146,_0x1be21e){const _0x38e53c=_0x460090;return this[_0x38e53c(0x21c)][_0x38e53c(0x279)](_0x149146)[_0x38e53c(0x1c3)]((_0x56fec1,_0x5eb5f4)=>{const _0x501319=_0x38e53c,_0x44fcaa=_0x501319(0x24c)==_0x1be21e[_0x5eb5f4][_0x501319(0x277)];if(_0x501319(0x240)==_0x56fec1[_0x501319(0x29a)]){const _0x3624c7=_0x56fec1[_0x501319(0x222)][_0x501319(0x1d3)];!this[_0x501319(0x1f4)][_0x501319(0x25d)](_0x3624c7)&&(this[_0x501319(0x1f4)][_0x501319(0x20f)](_0x501319(0x1e2),_0x3624c7)[_0x501319(0x22d)]=!0x1);}const _0x11ede2=_0x603261[_0x501319(0x216)](_0x56fec1,this[_0x501319(0x1f4)]);return _0x11ede2[_0x501319(0x1b0)]=_0x56fec1[_0x501319(0x1b0)],_0x11ede2[_0x501319(0x269)]=_0x44fcaa,_0x11ede2[_0x501319(0x1cf)]=_0x44fcaa?null:_0x1be21e[_0x5eb5f4][_0x501319(0x1f8)],_0x11ede2[_0x501319(0x289)]=_0x501319(0x1d5)===_0x1be21e[_0x5eb5f4][_0x501319(0x277)],_0x11ede2[_0x501319(0x296)]=_0x1be21e[_0x5eb5f4][_0x501319(0x296)],_0x11ede2;});}[_0x460090(0x29d)](){const _0x28bd40=_0x460090;this[_0x28bd40(0x1c6)]=!0x0,this[_0x28bd40(0x281)]()?this[_0x28bd40(0x264)]():this[_0x28bd40(0x1c6)]=!0x1;}[_0x460090(0x281)](){const _0x19ce33=_0x460090,_0xe52e29=this[_0x19ce33(0x1b3)][_0x19ce33(0x283)][_0x19ce33(0x1b7)](_0x293f85)[_0x19ce33(0x2a6)][_0x19ce33(0x1b7)](this[_0x19ce33(0x1b4)]);return!this[_0x19ce33(0x1b3)][_0x19ce33(0x21d)]&&!!_0xe52e29&&_0xe52e29[_0x19ce33(0x24b)]>0x1&&this[_0x19ce33(0x1c6)];}[_0x460090(0x202)](){const _0x47c798=_0x460090;return this[_0x47c798(0x294)][_0x47c798(0x24b)]>0x0||this[_0x47c798(0x281)]();}}export default l;class Q extends Error{}function X(_0x27c9e7,_0x19b2c5){const _0x40a348=_0x460090;for(const _0x5daba5 of _0x27c9e7)_0x5daba5[_0x40a348(0x1e6)]=_0x19b2c5++;}class Y{[_0x460090(0x228)];[_0x460090(0x21b)];constructor(_0x5d7485){const _0x50a6d4=_0x460090;this[_0x50a6d4(0x228)]=_0x5d7485,this[_0x50a6d4(0x21b)]=new WeakMap();}[_0x460090(0x243)](_0x5674c0){const _0x1972c2=_0x460090;let _0x371dd6=_0x5674c0[_0x1972c2(0x24b)];for(;_0x371dd6--;){const _0x5b8bee=_0x5674c0[_0x371dd6];if(!this[_0x1972c2(0x228)][_0x1972c2(0x23b)](_0x5b8bee)){if(!this[_0x1972c2(0x21b)][_0x1972c2(0x23b)](_0x5b8bee)){const _0xee543f=_0x1e3446()[_0x1972c2(0x20b)](0x1,0x12);this[_0x1972c2(0x21b)][_0x1972c2(0x1ee)](_0x5b8bee,_0xee543f);}return this[_0x1972c2(0x21b)][_0x1972c2(0x1b7)](_0x5b8bee);}}}[_0x460090(0x1af)](_0x2b8d8f,_0x3ec8a7){const _0x2bde47=_0x460090;if(!_0x3ec8a7)return;let _0x56878f=_0x2b8d8f[_0x2bde47(0x24b)];for(;_0x56878f--;){const _0x1640bc=_0x2b8d8f[_0x56878f];this[_0x2bde47(0x228)][_0x2bde47(0x23b)](_0x1640bc)||this[_0x2bde47(0x21b)][_0x2bde47(0x1ee)](_0x1640bc,_0x3ec8a7);}}}
|