@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.2 → 45.0.0-alpha.4
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/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x48da(){const _0x27d4b8=['contains','20710GaCqda','hasPopup','85716LaMFQE','331416xzYcZJ','element','2775176UyFPfj','setAttribute','3671740MBHZwp','div','presencelist:hide','322992tHydtm','createCollection','aria-expanded','keystrokes','listenTo','render','setTemplate','24ZWZYwW','1359657WAedYM','relatedTarget','Connected\x20users\x20list','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','querySelector','fire','isExpanded','.ck-presence-list__dropdown-list','focus','presencelist:show','list','21VuUwRq','420gSpUMx','removeAttribute','items','ck-presence-list__list','bindTemplate','change:hasPopup','.ck-balloon-panel_with-arrow','set'];_0x48da=function(){return _0x27d4b8;};return _0x48da();}const _0x15704d=_0x5457;(function(_0x64e50a,_0xcb549c){const _0x4c980e=_0x5457,_0x21ba88=_0x64e50a();while(!![]){try{const _0x544b54=parseInt(_0x4c980e(0x186))/0x1+parseInt(_0x4c980e(0x18d))/0x2*(parseInt(_0x4c980e(0x1a5))/0x3)+parseInt(_0x4c980e(0x19a))/0x4*(-parseInt(_0x4c980e(0x1a3))/0x5)+-parseInt(_0x4c980e(0x1a6))/0x6*(-parseInt(_0x4c980e(0x199))/0x7)+parseInt(_0x4c980e(0x181))/0x8+-parseInt(_0x4c980e(0x18e))/0x9+-parseInt(_0x4c980e(0x183))/0xa;if(_0x544b54===_0xcb549c)break;else _0x21ba88['push'](_0x21ba88['shift']());}catch(_0x48c059){_0x21ba88['push'](_0x21ba88['shift']());}}}(_0x48da,0x37018));import{View as _0x446177}from'ckeditor5/src/ui.js';function _0x5457(_0x38c33c,_0x3671b2){const _0x48da23=_0x48da();return _0x5457=function(_0x5457d7,_0x280365){_0x5457d7=_0x5457d7-0x180;let _0x5f1255=_0x48da23[_0x5457d7];return _0x5f1255;},_0x5457(_0x38c33c,_0x3671b2);}import{KeystrokeHandler as _0x3e9fbe}from'ckeditor5/src/utils.js';import{getTranslation as _0x27587b}from'../../common-translations.js';export default class ts extends _0x446177{[_0x15704d(0x19c)];[_0x15704d(0x189)];constructor(_0x56c82e){const _0x45799b=_0x15704d;super(_0x56c82e);const _0x5125b7=this[_0x45799b(0x19e)];this[_0x45799b(0x19c)]=this[_0x45799b(0x187)](),this[_0x45799b(0x189)]=new _0x3e9fbe(),this[_0x45799b(0x1a1)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x45799b(0x18c)]({'tag':_0x45799b(0x184),'attributes':{'aria-haspopup':_0x5125b7['if'](_0x45799b(0x1a4)),'aria-expanded':_0x5125b7['to'](_0x45799b(0x194),_0x421cef=>this[_0x45799b(0x1a4)]&&String(_0x421cef)),'aria-label':_0x5125b7['to'](_0x45799b(0x1a4),_0x3a6024=>_0x27587b(_0x56c82e,_0x3a6024?_0x45799b(0x191):_0x45799b(0x190))),'role':_0x45799b(0x198),'tabindex':_0x5125b7['to'](_0x45799b(0x1a4),_0x2c21d9=>!!_0x2c21d9&&0x0),'class':['ck',_0x45799b(0x19d)]},'children':this[_0x45799b(0x19c)],'on':{'mouseenter':_0x5125b7['to'](()=>this[_0x45799b(0x193)](_0x45799b(0x197))),'mouseleave':_0x5125b7['to'](_0x51d6ba=>{const _0x5f01d4=_0x45799b,_0xe9cfb7=_0x51d6ba,_0x36cf77=document[_0x5f01d4(0x192)](_0x5f01d4(0x195)),_0x1d4720=document[_0x5f01d4(0x192)](_0x5f01d4(0x1a0));_0x36cf77?.[_0x5f01d4(0x1a2)](_0xe9cfb7[_0x5f01d4(0x18f)])||_0x1d4720?.[_0x5f01d4(0x1a2)](_0xe9cfb7[_0x5f01d4(0x18f)])||this[_0x5f01d4(0x193)](_0x5f01d4(0x185));})}}),this['on'](_0x45799b(0x19f),(_0x10a56b,_0x1be4fa,_0x3f6c0c)=>{const _0x46661d=_0x45799b;this[_0x46661d(0x180)]&&(_0x3f6c0c?this[_0x46661d(0x180)][_0x46661d(0x182)](_0x46661d(0x188),String(this[_0x46661d(0x194)])):this[_0x46661d(0x180)][_0x46661d(0x19b)](_0x46661d(0x188)));});}[_0x15704d(0x196)](){const _0x181121=_0x15704d;this[_0x181121(0x180)][_0x181121(0x196)]();}[_0x15704d(0x18b)](){const _0x2a1dac=_0x15704d;super[_0x2a1dac(0x18b)](),this[_0x2a1dac(0x189)][_0x2a1dac(0x18a)](this[_0x2a1dac(0x180)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x57b2f3=_0x300a;(function(_0x173a7a,_0x4acbd4){const _0x45288b=_0x300a,_0x5157dc=_0x173a7a();while(!![]){try{const _0x114c77=-parseInt(_0x45288b(0x15e))/0x1+-parseInt(_0x45288b(0x178))/0x2+-parseInt(_0x45288b(0x16b))/0x3*(parseInt(_0x45288b(0x177))/0x4)+parseInt(_0x45288b(0x167))/0x5+-parseInt(_0x45288b(0x17a))/0x6*(-parseInt(_0x45288b(0x179))/0x7)+-parseInt(_0x45288b(0x176))/0x8*(-parseInt(_0x45288b(0x164))/0x9)+-parseInt(_0x45288b(0x174))/0xa;if(_0x114c77===_0x4acbd4)break;else _0x5157dc['push'](_0x5157dc['shift']());}catch(_0x52902e){_0x5157dc['push'](_0x5157dc['shift']());}}}(_0x4ce1,0xa1660));import{View as _0x278ee7}from'ckeditor5/src/ui.js';import _0x5e0750 from'./presencecounterview.js';import _0x13a7e1 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x300a(_0x505c50,_0xda1d37){const _0x4ce161=_0x4ce1();return _0x300a=function(_0x300a81,_0x7dac28){_0x300a81=_0x300a81-0x15e;let _0x3edb71=_0x4ce161[_0x300a81];return _0x3edb71;},_0x300a(_0x505c50,_0xda1d37);}function _0x4ce1(){const _0x1705cb=['div','inlineListView','17559hoHggf','bind','hasPopup','listenTo','counterView','isCollapsed','setTemplate','ck-presence-list--collapsed','items','10393290sHZiuB','change','5072fvCPts','152lPLkYO','1104540tSIPVl','7rxDIzk','7023138AHHpUT','220705KuEipy','ck-presence-list','first','bindTemplate','ck-rounded-corners','set','18036FvdPak','ck-reset','tooltipPosition','1273735kpXbRd','locale'];_0x4ce1=function(){return _0x1705cb;};return _0x4ce1();}export default class j extends _0x278ee7{[_0x57b2f3(0x16f)];[_0x57b2f3(0x16a)];constructor(_0x3b5c31,_0x20191c=0x6){const _0x50c896=_0x57b2f3;super(_0x3b5c31);const _0x2e3df7=this[_0x50c896(0x161)];this[_0x50c896(0x163)](_0x50c896(0x170),!0x0),this[_0x50c896(0x16f)]=new _0x5e0750(this[_0x50c896(0x168)],_0x20191c),this[_0x50c896(0x16a)]=new _0x13a7e1(_0x3b5c31),this[_0x50c896(0x16a)][_0x50c896(0x16c)](_0x50c896(0x16d))['to'](this,_0x50c896(0x170)),this[_0x50c896(0x16e)](this[_0x50c896(0x16a)][_0x50c896(0x173)],_0x50c896(0x175),()=>{const _0x391917=_0x50c896;for(const _0x1f04f7 of this[_0x391917(0x16a)][_0x391917(0x173)])_0x1f04f7[_0x391917(0x166)]='s';this[_0x391917(0x16a)][_0x391917(0x173)][_0x391917(0x160)]&&(this[_0x391917(0x16a)][_0x391917(0x173)][_0x391917(0x160)][_0x391917(0x166)]='se');}),this[_0x50c896(0x171)]({'tag':_0x50c896(0x169),'attributes':{'class':['ck',_0x50c896(0x15f),_0x50c896(0x165),_0x50c896(0x162),_0x2e3df7['if'](_0x50c896(0x170),_0x50c896(0x172))]},'children':[this[_0x50c896(0x16a)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x25ca(){var _0x2748c7=['707PPAsNK','6829284PQyjXr','3776imPjOn','257tplXkV','2628WobyfY','requires','PresenceList','pluginName','3619440XDtimD','1527cMmpYs','9ICqhhm','2322aonfwF','isOfficialPlugin','610YaNBrw','1644ZqOmtD','isPremiumPlugin','3092122MBXxqe'];_0x25ca=function(){return _0x2748c7;};return _0x25ca();}var _0x542dc0=_0x167b;(function(_0x1a7ddd,_0x31b975){var _0xafb8f3=_0x167b,_0x5c2a5d=_0x1a7ddd();while(!![]){try{var _0x3bc43a=-parseInt(_0xafb8f3(0x130))/0x1*(parseInt(_0xafb8f3(0x12a))/0x2)+parseInt(_0xafb8f3(0x136))/0x3*(parseInt(_0xafb8f3(0x131))/0x4)+-parseInt(_0xafb8f3(0x129))/0x5*(-parseInt(_0xafb8f3(0x138))/0x6)+-parseInt(_0xafb8f3(0x12d))/0x7*(parseInt(_0xafb8f3(0x12f))/0x8)+-parseInt(_0xafb8f3(0x137))/0x9*(-parseInt(_0xafb8f3(0x135))/0xa)+parseInt(_0xafb8f3(0x12c))/0xb+-parseInt(_0xafb8f3(0x12e))/0xc;if(_0x3bc43a===_0x31b975)break;else _0x5c2a5d['push'](_0x5c2a5d['shift']());}catch(_0x5b4b13){_0x5c2a5d['push'](_0x5c2a5d['shift']());}}}(_0x25ca,0x30020));function _0x167b(_0x1e4b67,_0x331f27){var _0x25ca2e=_0x25ca();return _0x167b=function(_0x167b5c,_0x251ffa){_0x167b5c=_0x167b5c-0x128;var _0xbe71d4=_0x25ca2e[_0x167b5c];return _0xbe71d4;},_0x167b(_0x1e4b67,_0x331f27);}import{ContextPlugin as _0xde089a}from'ckeditor5/src/core.js';import _0x2bbb0f from'./realtimecollaborativeediting/sessions.js';import _0xac4dbf from'./presencelist/presencelistui.js';export default class s extends _0xde089a{static get[_0x542dc0(0x132)](){return[_0x2bbb0f,_0xac4dbf];}static get[_0x542dc0(0x134)](){var _0x490c84=_0x542dc0;return _0x490c84(0x133);}static get[_0x542dc0(0x128)](){return!0x0;}static get[_0x542dc0(0x12b)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x422c35)());[_0x506855(0x1ed)];static get[_0x506855(0x232)](){const _0x55249e=_0x506855;return[_0x289588,_0x55249e(0x1df),_0x14b705,_0x135acf];}static get[_0x506855(0x1d8)](){const _0x5d9896=_0x506855;return _0x5d9896(0x217);}static get[_0x506855(0x1d6)](){return!0x0;}static get[_0x506855(0x1f6)](){return!0x0;}constructor(_0x23b8a8){const _0x31d673=_0x506855;super(_0x23b8a8),this[_0x31d673(0x1ed)]=new Map();}async[_0x506855(0x202)](){const _0x756166=_0x506855,_0x558afe=this[_0x756166(0x1e9)],_0x16f58b=_0x558afe[_0x756166(0x1d2)][_0x756166(0x1ea)](_0x756166(0x1df));if(_0x558afe[_0x756166(0x1d2)][_0x756166(0x1ea)](_0x289588)[_0x756166(0x213)](this),_0x16f58b[_0x756166(0x1f7)]={'addCommentThread':async({channelId:_0x14abee,threadId:_0xc70120,comments:_0x39f055,resolvedAt:_0x18942d,resolvedBy:_0xed8a4d,context:_0x2b5dd6,attributes:_0x3bfeaa})=>{const _0x263a8e=_0x756166,_0x416752=await this[_0x263a8e(0x1e3)](_0x14abee)[_0x263a8e(0x210)]({'commentThreadId':_0xc70120,'comments':_0x39f055[_0x263a8e(0x1ee)](_0x1f7888=>function(_0x1be2f3,_0x11673c,_0x3154ad){const _0x4a4be1=_0x263a8e;return{'commentThreadId':_0x3154ad,'commentId':_0x1be2f3[_0x4a4be1(0x1cc)],'userId':_0x1be2f3[_0x4a4be1(0x1f0)],'content':_0x1be2f3[_0x4a4be1(0x1fc)],'documentId':_0x11673c,'createdAt':_0x1be2f3[_0x4a4be1(0x1f5)],'attributes':_0x1be2f3[_0x4a4be1(0x204)]||{}};}(_0x1f7888,_0x14abee,_0xc70120)),'resolvedAt':_0x18942d,'resolvedBy':_0xed8a4d,'context':_0x2b5dd6,'attributes':_0x3bfeaa})[_0x263a8e(0x1e1)](w);return{'threadId':_0x416752[_0x263a8e(0x1d0)],'comments':_0x416752[_0x263a8e(0x1d4)]};},'getCommentThread':async({channelId:_0x35e2bd,threadId:_0x228c23})=>{const _0x227829=_0x756166,_0x1d1ff1=await this[_0x227829(0x1e3)](_0x35e2bd)[_0x227829(0x211)](_0x228c23)[_0x227829(0x1e1)](w);return _0x1d1ff1[_0x227829(0x21d)]?null:(await this[_0x227829(0x206)]([_0x1d1ff1]),{'threadId':_0x1d1ff1[_0x227829(0x1d0)],'comments':_0x1d1ff1[_0x227829(0x1d4)][_0x227829(0x1ee)](b),'context':_0x1d1ff1[_0x227829(0x1e9)],'resolvedAt':_0x1d1ff1[_0x227829(0x1de)],'resolvedBy':_0x1d1ff1[_0x227829(0x1dc)],'attributes':_0x1d1ff1[_0x227829(0x204)]||{}});},'updateCommentThread':async({channelId:_0x1db18a,threadId:_0x45d8af,context:_0x529d08,unlinkedAt:_0x6b67d7,attributes:_0x38ee60})=>this[_0x756166(0x1e3)](_0x1db18a)[_0x756166(0x1e2)]({'commentThreadId':_0x45d8af,'context':_0x529d08,'attributes':_0x38ee60,'unlinkedAt':_0x6b67d7})[_0x756166(0x1e1)](y)[_0x756166(0x1e1)](w),'resolveCommentThread':async({channelId:_0x40d9b7,threadId:_0x31bd2f})=>{const _0x441601=_0x756166,_0x5b482a=await this[_0x441601(0x1e3)](_0x40d9b7)[_0x441601(0x219)](_0x31bd2f)[_0x441601(0x1e1)](y)[_0x441601(0x1e1)](w);return{'threadId':_0x5b482a[_0x441601(0x1d0)],'resolvedAt':_0x5b482a[_0x441601(0x1de)],'resolvedBy':_0x5b482a[_0x441601(0x1dc)]};},'reopenCommentThread':async({channelId:_0x40fc5c,threadId:_0x4dfe26})=>this[_0x756166(0x1e3)](_0x40fc5c)[_0x756166(0x22b)](_0x4dfe26)[_0x756166(0x1e1)](y)[_0x756166(0x1e1)](w),'removeCommentThread':({channelId:_0x21d261,threadId:_0x569030})=>this[_0x756166(0x1e3)](_0x21d261)[_0x756166(0x230)](_0x569030)[_0x756166(0x1e1)](y)[_0x756166(0x1e1)](w),'addComment':({channelId:_0x1f48fe,threadId:_0x20f778,commentId:_0x1b0c54,content:_0x233fda,attributes:_0x12dd94})=>this[_0x756166(0x1e3)](_0x1f48fe)[_0x756166(0x205)](_0x20f778,_0x1b0c54,_0x233fda,_0x12dd94)[_0x756166(0x1e1)](w),'updateComment':({channelId:_0x3b9cb3,threadId:_0x54d004,commentId:_0x559da4,content:_0x705c0,attributes:_0x2a292f})=>this[_0x756166(0x1e3)](_0x3b9cb3)[_0x756166(0x1eb)](_0x54d004,_0x559da4,_0x705c0,_0x2a292f)[_0x756166(0x1e1)](y)[_0x756166(0x1e1)](w),'removeComment':({channelId:_0x44b674,threadId:_0x4cffb8,commentId:_0x42442f})=>this[_0x756166(0x1e3)](_0x44b674)[_0x756166(0x1fd)](_0x4cffb8,_0x42442f)[_0x756166(0x1e1)](y)[_0x756166(0x1e1)](w)},_0x558afe instanceof _0x3f08d2){const _0x1d65d9=_0x558afe[_0x756166(0x231)][_0x756166(0x1ea)](_0x756166(0x233)),_0x3ea402=_0x558afe[_0x756166(0x1d2)][_0x756166(0x1ea)](_0x14b705);await this[_0x756166(0x218)](_0x1d65d9);const _0x525a15=await this[_0x756166(0x1ed)][_0x756166(0x1ea)](_0x1d65d9)[_0x756166(0x200)]();this[_0x756166(0x20a)](_0x3ea402,_0x756166(0x229)+_0x1d65d9,(_0x298c4f,{session:_0x1c0ba8})=>{const _0x20b494=_0x756166;_0x1c0ba8['id']===_0x3ea402[_0x20b494(0x214)]&&(_0x298c4f[_0x20b494(0x1f2)](),this[_0x20b494(0x1e9)][_0x20b494(0x1d2)][_0x20b494(0x1ea)](_0x20b494(0x220))[_0x20b494(0x1ef)](_0x1c0ba8[_0x20b494(0x1cd)],_0x1d65d9));}),_0x3ea402[_0x756166(0x203)](_0x1d65d9,_0x525a15);}}async[_0x506855(0x218)](_0x4c413a){const _0x2751c4=_0x506855;if(this[_0x2751c4(0x1ed)][_0x2751c4(0x1ce)](_0x4c413a))throw new _0x33a4c5(_0x2751c4(0x1e8),null,{'channelId':_0x4c413a});const _0x17c7a5=this[_0x2751c4(0x1e9)][_0x2751c4(0x1d2)][_0x2751c4(0x1ea)](_0x2751c4(0x1df)),_0x29dabc=new a[(_0x2751c4(0x1f4))](_0x4c413a);this[_0x2751c4(0x1ed)][_0x2751c4(0x212)](_0x4c413a,_0x29dabc),this[_0x2751c4(0x20a)](_0x29dabc,_0x2751c4(0x215),(_0x7b728f,_0x3a7620)=>{const _0x46de72=_0x2751c4,{commentThreadId:_0x434431,documentId:_0x120168,context:_0x67b66d,attributes:_0x1b19c3,resolvedAt:_0x10e26b,resolvedBy:_0x234bfd,comments:_0x4853e0}=_0x3a7620;_0x17c7a5[_0x46de72(0x211)](_0x434431)||_0x17c7a5[_0x46de72(0x210)]({'threadId':_0x434431,'channelId':_0x120168,'comments':_0x4853e0?_0x4853e0[_0x46de72(0x1ee)](b):[],'context':_0x67b66d,'attributes':_0x1b19c3,'resolvedAt':_0x10e26b,'resolvedBy':_0x234bfd,'isFromAdapter':!0x0});}),this[_0x2751c4(0x20a)](_0x29dabc,_0x2751c4(0x201),(_0x329bb3,{commentThreadId:_0x471f27,documentId:_0x408fc4,context:_0x35209a,unlinkedAt:_0x57ce77,attributes:_0x24aa0f})=>{const _0x214ac1=_0x2751c4;_0x17c7a5[_0x214ac1(0x211)](_0x471f27)&&_0x17c7a5[_0x214ac1(0x1e2)]({'threadId':_0x471f27,'channelId':_0x408fc4,'context':_0x35209a,'unlinkedAt':_0x57ce77,'attributes':_0x24aa0f,'isFromAdapter':!0x0});}),this[_0x2751c4(0x20a)](_0x29dabc,_0x2751c4(0x1d5),(_0x181af,{commentThreadId:_0x2535ed,resolvedBy:_0x37f262,resolvedAt:_0x2fdd08})=>{const _0x195bc4=_0x2751c4,_0x2c7f5c=_0x17c7a5[_0x195bc4(0x211)](_0x2535ed);_0x2c7f5c&&_0x2c7f5c[_0x195bc4(0x221)]({'resolvedBy':_0x37f262,'resolvedAt':_0x2fdd08,'isFromAdapter':!0x0});}),this[_0x2751c4(0x20a)](_0x29dabc,_0x2751c4(0x22d),(_0x468daa,{commentThreadId:_0x26b730})=>{const _0x312872=_0x2751c4,_0xa6cae4=_0x17c7a5[_0x312872(0x211)](_0x26b730);_0xa6cae4&&_0xa6cae4[_0x312872(0x222)]({'isFromAdapter':!0x0});}),this[_0x2751c4(0x20a)](_0x29dabc,_0x2751c4(0x1f8),(_0x15279a,{commentThreadId:_0x5b04bf})=>{const _0x5829a3=_0x2751c4,_0x564d2f=_0x17c7a5[_0x5829a3(0x211)](_0x5b04bf);_0x564d2f&&_0x564d2f[_0x5829a3(0x228)]({'isFromAdapter':!0x0});}),this[_0x2751c4(0x20a)](_0x29dabc,_0x2751c4(0x1e6),(_0x210a25,_0x62150f)=>{const _0x25805a=_0x2751c4,_0x27bfc3=_0x62150f[_0x25805a(0x1d0)],_0x2570ac=_0x17c7a5[_0x25805a(0x211)](_0x27bfc3);_0x2570ac&&_0x2570ac[_0x25805a(0x205)]({...b(_0x62150f),'isFromAdapter':!0x0});}),this[_0x2751c4(0x20a)](_0x29dabc,_0x2751c4(0x20e),(_0x5bd732,{commentThreadId:_0x2a5db0,commentId:_0x115151,content:_0x9e3a1,attributes:_0x116256})=>{const _0x5e7cd0=_0x2751c4,_0x21d76c=_0x17c7a5[_0x5e7cd0(0x211)](_0x2a5db0);if(_0x21d76c){const _0x28e473=_0x21d76c[_0x5e7cd0(0x20b)](_0x115151);_0x28e473&&_0x28e473[_0x5e7cd0(0x1da)]({'content':_0x9e3a1,'attributes':_0x116256,'isFromAdapter':!0x0});}}),this[_0x2751c4(0x20a)](_0x29dabc,_0x2751c4(0x21f),(_0x25ee78,{commentThreadId:_0x35ce67,commentId:_0x2dc942})=>{const _0x39c0a2=_0x2751c4,_0x777f4d=_0x17c7a5[_0x39c0a2(0x211)](_0x35ce67);if(_0x777f4d){const _0x9c1af9=_0x777f4d[_0x39c0a2(0x20b)](_0x2dc942);_0x9c1af9&&_0x9c1af9[_0x39c0a2(0x228)]({'isFromAdapter':!0x0});}}),await this[_0x2751c4(0x1fa)](_0x4c413a);}[_0x506855(0x1e7)](){const _0x1edec3=_0x506855;if(this[_0x1edec3(0x1e9)]instanceof _0x3f08d2){const _0x135319=this[_0x1edec3(0x1e9)][_0x1edec3(0x231)][_0x1edec3(0x1ea)](_0x1edec3(0x233));this[_0x1edec3(0x1e5)](_0x135319);}}[_0x506855(0x1e5)](_0x3d4174){const _0x327e00=_0x506855;if(!this[_0x327e00(0x1ed)][_0x327e00(0x1ce)](_0x3d4174))throw new _0x33a4c5(_0x327e00(0x20c),null,{'channelId':_0x3d4174});this[_0x327e00(0x1e3)](_0x3d4174)[_0x327e00(0x1f9)](),this[_0x327e00(0x1ed)][_0x327e00(0x21a)](_0x3d4174);}async[_0x506855(0x207)](){const _0x11d634=_0x506855;for(const _0x30ea15 of this[_0x11d634(0x1ed)][_0x11d634(0x227)]())await this[_0x11d634(0x1fa)](_0x30ea15);if(this[_0x11d634(0x1e9)]instanceof _0x3f08d2){const _0x196e08=this[_0x11d634(0x1e9)][_0x11d634(0x231)][_0x11d634(0x1ea)](_0x11d634(0x233)),_0x378133=this[_0x11d634(0x1e9)][_0x11d634(0x1d2)][_0x11d634(0x1ea)](_0x14b705);_0x378133[_0x11d634(0x1d7)](_0x196e08);const _0x42a400=await this[_0x11d634(0x1ed)][_0x11d634(0x1ea)](_0x196e08)[_0x11d634(0x200)]();_0x378133[_0x11d634(0x203)](_0x196e08,_0x42a400);}}async[_0x506855(0x1fa)](_0x43c92d){const _0x3e726d=_0x506855,{connection:_0x19dd14}=this[_0x3e726d(0x1e9)][_0x3e726d(0x1d2)][_0x3e726d(0x1ea)](_0x289588),_0x56b60b=this[_0x3e726d(0x1e9)][_0x3e726d(0x1d2)][_0x3e726d(0x1ea)](_0x3e726d(0x1df)),_0x3ea9f8=this[_0x3e726d(0x1ed)][_0x3e726d(0x1ea)](_0x43c92d),_0x3550d8=await _0x3ea9f8[_0x3e726d(0x22a)](_0x19dd14);await this[_0x3e726d(0x206)](_0x3550d8);const _0x1aab1b=new Set(Array[_0x3e726d(0x208)](_0x56b60b[_0x3e726d(0x225)]({'channelId':_0x43c92d}),_0x48432d=>_0x48432d['id']));for(const _0x1dbb54 of _0x3550d8)_0x1dbb54[_0x3e726d(0x21d)]||_0x1aab1b[_0x3e726d(0x21a)](_0x1dbb54[_0x3e726d(0x1d0)]);for(const _0x44623e of _0x1aab1b)_0x56b60b[_0x3e726d(0x211)](_0x44623e)[_0x3e726d(0x228)]({'isFromAdapter':!0x0});for(const _0x322d89 of _0x3550d8){let _0x3761bb=_0x56b60b[_0x3e726d(0x211)](_0x322d89[_0x3e726d(0x1d0)]);const {commentThreadId:_0x461770,context:_0x37573e,attributes:_0x6f7c56,resolvedBy:_0xd18c01,resolvedAt:_0x480370,unlinkedAt:_0x530560,deletedAt:_0x45c00b}=_0x322d89;if(_0x45c00b)continue;_0x3761bb||(_0x3761bb=_0x56b60b[_0x3e726d(0x210)]({'channelId':_0x43c92d,'threadId':_0x461770,'context':_0x37573e,'attributes':_0x6f7c56||{},'resolvedBy':_0xd18c01,'resolvedAt':_0x480370,'unlinkedAt':_0x530560,'isFromAdapter':!0x0}));const _0x56c514=new Set(Array[_0x3e726d(0x208)](_0x3761bb[_0x3e726d(0x1d4)],_0x4ca9d0=>_0x4ca9d0['id']));for(const _0x45c1e8 of _0x322d89[_0x3e726d(0x1d4)])_0x56c514[_0x3e726d(0x21a)](_0x45c1e8[_0x3e726d(0x1cc)]);for(const _0xba8cf of _0x56c514)_0x3761bb[_0x3e726d(0x20b)](_0xba8cf)[_0x3e726d(0x228)]({'isFromAdapter':!0x0});for(const _0xf9d71 of _0x322d89[_0x3e726d(0x1d4)]){const _0x5b2bca=_0x3761bb[_0x3e726d(0x20b)](_0xf9d71[_0x3e726d(0x1cc)]);_0x5b2bca?_0x5b2bca[_0x3e726d(0x1fc)]!==_0xf9d71[_0x3e726d(0x1fc)]&&_0x5b2bca[_0x3e726d(0x1da)]({'content':_0xf9d71[_0x3e726d(0x1fc)],'isFromAdapter':!0x0}):_0x3761bb[_0x3e726d(0x205)](Object[_0x3e726d(0x1dd)](b(_0xf9d71),{'isFromAdapter':!0x0}));}}}[_0x506855(0x1e3)](_0x5118b2){const _0x5e4d6e=_0x506855;if(!this[_0x5e4d6e(0x1ed)][_0x5e4d6e(0x1ce)](_0x5118b2))throw new _0x33a4c5(_0x5e4d6e(0x22c),null,{'channelId':_0x5118b2});return this[_0x5e4d6e(0x1ed)][_0x5e4d6e(0x1ea)](_0x5118b2);}async[_0x506855(0x206)](_0xb3c771){const _0x2b8572=_0x506855,_0x3f3eb4=this[_0x2b8572(0x1e9)][_0x2b8572(0x1d2)][_0x2b8572(0x1ea)](_0x135acf),{connection:_0x486a30}=this[_0x2b8572(0x1e9)][_0x2b8572(0x1d2)][_0x2b8572(0x1ea)](_0x289588),_0x36acde=new Set();for(const {resolvedBy:_0x3acaa6,comments:_0x3d535c}of _0xb3c771){_0x3acaa6&&!_0x3f3eb4[_0x2b8572(0x1f1)](_0x3acaa6)&&_0x36acde[_0x2b8572(0x1e0)](_0x3acaa6);for(const {userId:_0x54f256}of _0x3d535c)_0x3f3eb4[_0x2b8572(0x1f1)](_0x54f256)||_0x36acde[_0x2b8572(0x1e0)](_0x54f256);}if(0x0===_0x36acde[_0x2b8572(0x209)])return;const _0x37abec=await _0x2ad449[_0x2b8572(0x1db)](_0x486a30,Array[_0x2b8572(0x208)](_0x36acde));for(const _0x51575a of _0x37abec)_0x3f3eb4[_0x2b8572(0x1f1)](_0x51575a['id'])||_0x3f3eb4[_0x2b8572(0x1fb)](_0x51575a);}}export default a;function _0x9842(){const _0x32cdd4=['has','10xPXXbD','commentThreadId','3832OFtpNj','plugins','cloud-services-internal-error:\x20Not\x20connected.','comments','commentThreadResolved','isOfficialPlugin','unregister','pluginName','userId','update','getMany','resolvedBy','assign','resolvedAt','CommentsRepository','add','catch','updateCommentThread','_getService','1528881OBnLem','_terminateService','commentAdded','destroy','cloudservicescommentsadapter-connect-already-connected','context','get','updateComment','cloud-services-internal-error:\x20Request\x20timeout.','_services','map','setPermissions','authorId','getUser','off','18557KLCuxE','CommentsService','createdAt','isPremiumPlugin','adapter','commentThreadRemoved','disconnect','_connectService','addUser','content','removeComment','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','startsWith','getConnectedSessions','commentThreadUpdated','init','register','attributes','addComment','_fetchMissingUsersForThreads','reconnect','from','size','listenTo','getComment','cloudservicescommentsadapter-disconnect-not-exist','6cpXAVM','commentUpdated','5828412LYxFLG','addCommentThread','getCommentThread','set','addToReconnectionStack','mySessionId','commentThreadAdded','8586908YsDXOg','CloudServicesCommentsAdapter','_setUpService','resolveCommentThread','delete','3001835BtPErz','63628yeZoVC','deletedAt','8wyoZGq','commentRemoved','Permissions','resolve','reopen','code','message','getCommentThreads','22HPqUDe','keys','remove','sessionAdd:','connect','reopenCommentThread','cloudservicescommentsadapter-service-not-exist','commentThreadReopened','404','3278853VMBKBV','removeCommentThread','config','requires','collaboration.channelId','commentId','permissions'];_0x9842=function(){return _0x32cdd4;};return _0x9842();}async function y(_0x33dd29){const _0x3fffef=_0x506855;if(_0x3fffef(0x22e)!==_0x33dd29[_0x3fffef(0x223)])throw _0x33dd29;}function w(_0xa69bd0){const _0x2330f2=_0x506855;if((_0x4971a6=_0xa69bd0)[_0x2330f2(0x224)][_0x2330f2(0x1ff)](_0x2330f2(0x1fe))||_0x4971a6[_0x2330f2(0x224)][_0x2330f2(0x1ff)](_0x2330f2(0x1d3))||_0x4971a6[_0x2330f2(0x224)][_0x2330f2(0x1ff)](_0x2330f2(0x1ec)))return new Promise(()=>{});var _0x4971a6;throw _0xa69bd0;}function b(_0x1cbf2b){const _0x538045=_0x506855;return{'threadId':_0x1cbf2b[_0x538045(0x1d0)],'commentId':_0x1cbf2b[_0x538045(0x1cc)],'content':_0x1cbf2b[_0x538045(0x1fc)],'createdAt':_0x1cbf2b[_0x538045(0x1f5)],'authorId':_0x1cbf2b[_0x538045(0x1d9)],'attributes':_0x1cbf2b[_0x538045(0x204)]||{}};}
|
|
23
|
+
const _0x1513ab=_0x3a9e;(function(_0x1a0de3,_0x1c6a2b){const _0xf06102=_0x3a9e,_0x362920=_0x1a0de3();while(!![]){try{const _0x3c17cb=parseInt(_0xf06102(0xe6))/0x1*(parseInt(_0xf06102(0xed))/0x2)+-parseInt(_0xf06102(0xf8))/0x3*(-parseInt(_0xf06102(0xee))/0x4)+-parseInt(_0xf06102(0x10f))/0x5*(-parseInt(_0xf06102(0x110))/0x6)+parseInt(_0xf06102(0x129))/0x7*(-parseInt(_0xf06102(0x113))/0x8)+parseInt(_0xf06102(0xef))/0x9+-parseInt(_0xf06102(0xf4))/0xa+-parseInt(_0xf06102(0x126))/0xb;if(_0x3c17cb===_0x1c6a2b)break;else _0x362920['push'](_0x362920['shift']());}catch(_0x9d9ed3){_0x362920['push'](_0x362920['shift']());}}}(_0x56d4,0x91f13));import{Context as _0x353562,ContextPlugin as _0x14bcfa}from'ckeditor5/src/core.js';import{CKEditorError as _0x1aa9aa}from'ckeditor5/src/utils.js';import{Users as _0xa42ffa}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5890d4,User as _0x48a7ea}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x38680b from'../realtimecollaborativeediting/websocketgateway.js';import _0x2b8f27 from'../realtimecollaborativeediting/sessions.js';class a extends _0x14bcfa{static [_0x1513ab(0x119)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5890d4)());[_0x1513ab(0x137)];static get[_0x1513ab(0xf5)](){const _0x2b4360=_0x1513ab;return[_0x38680b,_0x2b4360(0xe7),_0x2b8f27,_0xa42ffa];}static get[_0x1513ab(0x12b)](){const _0x1b439a=_0x1513ab;return _0x1b439a(0x12a);}static get[_0x1513ab(0x11d)](){return!0x0;}static get[_0x1513ab(0x11b)](){return!0x0;}constructor(_0x5bfa3f){const _0x441406=_0x1513ab;super(_0x5bfa3f),this[_0x441406(0x137)]=new Map();}async[_0x1513ab(0x12e)](){const _0x51dd30=_0x1513ab,_0x224f7a=this[_0x51dd30(0xf0)],_0x4eaf1c=_0x224f7a[_0x51dd30(0x100)][_0x51dd30(0x122)](_0x51dd30(0xe7));if(_0x224f7a[_0x51dd30(0x100)][_0x51dd30(0x122)](_0x38680b)[_0x51dd30(0xfd)](this),_0x4eaf1c[_0x51dd30(0x10b)]={'addCommentThread':async({channelId:_0x41ae01,threadId:_0x1221e7,comments:_0x45f85f,resolvedAt:_0x12f940,resolvedBy:_0x398a51,context:_0x19380a,attributes:_0x252637})=>{const _0x465cce=_0x51dd30,_0x5c1e1f=await this[_0x465cce(0x13a)](_0x41ae01)[_0x465cce(0x12c)]({'commentThreadId':_0x1221e7,'comments':_0x45f85f[_0x465cce(0xf3)](_0x539071=>function(_0x404101,_0x434197,_0x1a6872){const _0x120088=_0x465cce;return{'commentThreadId':_0x1a6872,'commentId':_0x404101[_0x120088(0x11e)],'userId':_0x404101[_0x120088(0x116)],'content':_0x404101[_0x120088(0xeb)],'documentId':_0x434197,'createdAt':_0x404101[_0x120088(0x115)],'attributes':_0x404101[_0x120088(0x128)]||{}};}(_0x539071,_0x41ae01,_0x1221e7)),'resolvedAt':_0x12f940,'resolvedBy':_0x398a51,'context':_0x19380a,'attributes':_0x252637})[_0x465cce(0x11c)](R);return{'threadId':_0x5c1e1f[_0x465cce(0x142)],'comments':_0x5c1e1f[_0x465cce(0xf9)]};},'getCommentThread':async({channelId:_0x31dbdf,threadId:_0x3390c1})=>{const _0x47fd59=_0x51dd30,_0x11c662=await this[_0x47fd59(0x13a)](_0x31dbdf)[_0x47fd59(0xec)](_0x3390c1)[_0x47fd59(0x11c)](R);return _0x11c662[_0x47fd59(0x109)]?null:(await this[_0x47fd59(0xe2)]([_0x11c662]),{'threadId':_0x11c662[_0x47fd59(0x142)],'comments':_0x11c662[_0x47fd59(0xf9)][_0x47fd59(0xf3)](_),'context':_0x11c662[_0x47fd59(0xf0)],'resolvedAt':_0x11c662[_0x47fd59(0x148)],'resolvedBy':_0x11c662[_0x47fd59(0x112)],'attributes':_0x11c662[_0x47fd59(0x128)]||{}});},'updateCommentThread':async({channelId:_0xa98439,threadId:_0x51f52c,context:_0x2dd048,unlinkedAt:_0x109182,attributes:_0x39e7ef})=>this[_0x51dd30(0x13a)](_0xa98439)[_0x51dd30(0x111)]({'commentThreadId':_0x51f52c,'context':_0x2dd048,'attributes':_0x39e7ef,'unlinkedAt':_0x109182})[_0x51dd30(0x11c)](S)[_0x51dd30(0x11c)](R),'resolveCommentThread':async({channelId:_0xc29e3b,threadId:_0x49b472})=>{const _0x5dcff1=_0x51dd30,_0x5628c4=await this[_0x5dcff1(0x13a)](_0xc29e3b)[_0x5dcff1(0xfa)](_0x49b472)[_0x5dcff1(0x11c)](S)[_0x5dcff1(0x11c)](R);return{'threadId':_0x5628c4[_0x5dcff1(0x142)],'resolvedAt':_0x5628c4[_0x5dcff1(0x148)],'resolvedBy':_0x5628c4[_0x5dcff1(0x112)]};},'reopenCommentThread':async({channelId:_0x4d9e7c,threadId:_0x2cdd61})=>this[_0x51dd30(0x13a)](_0x4d9e7c)[_0x51dd30(0x141)](_0x2cdd61)[_0x51dd30(0x11c)](S)[_0x51dd30(0x11c)](R),'removeCommentThread':({channelId:_0x19db89,threadId:_0x49b9a0})=>this[_0x51dd30(0x13a)](_0x19db89)[_0x51dd30(0x102)](_0x49b9a0)[_0x51dd30(0x11c)](S)[_0x51dd30(0x11c)](R),'addComment':({channelId:_0x2a8112,threadId:_0x1aadb5,commentId:_0x2f7761,content:_0x4feddb,attributes:_0x2206d0})=>this[_0x51dd30(0x13a)](_0x2a8112)[_0x51dd30(0x140)](_0x1aadb5,_0x2f7761,_0x4feddb,_0x2206d0)[_0x51dd30(0x11c)](R),'updateComment':({channelId:_0x254506,threadId:_0x33ce72,commentId:_0x1663de,content:_0x54f7f2,attributes:_0x1b785a})=>this[_0x51dd30(0x13a)](_0x254506)[_0x51dd30(0xfe)](_0x33ce72,_0x1663de,_0x54f7f2,_0x1b785a)[_0x51dd30(0x11c)](S)[_0x51dd30(0x11c)](R),'removeComment':({channelId:_0xebf783,threadId:_0x228866,commentId:_0x2f2d4f})=>this[_0x51dd30(0x13a)](_0xebf783)[_0x51dd30(0xf7)](_0x228866,_0x2f2d4f)[_0x51dd30(0x11c)](S)[_0x51dd30(0x11c)](R)},_0x224f7a instanceof _0x353562){const _0x550a5c=_0x224f7a[_0x51dd30(0xf6)][_0x51dd30(0x122)](_0x51dd30(0xfb)),_0xc5eead=_0x224f7a[_0x51dd30(0x100)][_0x51dd30(0x122)](_0x2b8f27);await this[_0x51dd30(0x143)](_0x550a5c);const _0x1a0a01=await this[_0x51dd30(0x137)][_0x51dd30(0x122)](_0x550a5c)[_0x51dd30(0xe3)]();this[_0x51dd30(0x108)](_0xc5eead,_0x51dd30(0x103)+_0x550a5c,(_0x4308db,{session:_0x54b642})=>{const _0x203f8a=_0x51dd30;_0x54b642['id']===_0xc5eead[_0x203f8a(0x146)]&&(_0x4308db[_0x203f8a(0xff)](),this[_0x203f8a(0xf0)][_0x203f8a(0x100)][_0x203f8a(0x122)](_0x203f8a(0x131))[_0x203f8a(0x12d)](_0x54b642[_0x203f8a(0x13c)],_0x550a5c));}),_0xc5eead[_0x51dd30(0x139)](_0x550a5c,_0x1a0a01);}}async[_0x1513ab(0x143)](_0x3f30e7){const _0x1f5bf6=_0x1513ab;if(this[_0x1f5bf6(0x137)][_0x1f5bf6(0xe5)](_0x3f30e7))throw new _0x1aa9aa(_0x1f5bf6(0x135),null,{'channelId':_0x3f30e7});const _0x493477=this[_0x1f5bf6(0xf0)][_0x1f5bf6(0x100)][_0x1f5bf6(0x122)](_0x1f5bf6(0xe7)),_0x3c3500=new a[(_0x1f5bf6(0x119))](_0x3f30e7);this[_0x1f5bf6(0x137)][_0x1f5bf6(0x117)](_0x3f30e7,_0x3c3500),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x101),(_0x1611b7,_0x54b709)=>{const _0x52ef97=_0x1f5bf6,{commentThreadId:_0x2646fd,documentId:_0x1f8d83,context:_0x58c50a,attributes:_0x56c532,resolvedAt:_0x10359e,resolvedBy:_0x388765,comments:_0x48296a}=_0x54b709;_0x493477[_0x52ef97(0xec)](_0x2646fd)||_0x493477[_0x52ef97(0x12c)]({'threadId':_0x2646fd,'channelId':_0x1f8d83,'comments':_0x48296a?_0x48296a[_0x52ef97(0xf3)](_):[],'context':_0x58c50a,'attributes':_0x56c532,'resolvedAt':_0x10359e,'resolvedBy':_0x388765,'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x13b),(_0x2e44bd,{commentThreadId:_0x4e2940,documentId:_0x55d315,context:_0x2390cd,unlinkedAt:_0x5d34f9,attributes:_0x566dd7})=>{const _0x29fe4c=_0x1f5bf6;_0x493477[_0x29fe4c(0xec)](_0x4e2940)&&_0x493477[_0x29fe4c(0x111)]({'threadId':_0x4e2940,'channelId':_0x55d315,'context':_0x2390cd,'unlinkedAt':_0x5d34f9,'attributes':_0x566dd7,'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0xe8),(_0x217d28,{commentThreadId:_0x49cab6,resolvedBy:_0x28c05a,resolvedAt:_0x35bef0})=>{const _0xbe867d=_0x1f5bf6,_0x33afbe=_0x493477[_0xbe867d(0xec)](_0x49cab6);_0x33afbe&&_0x33afbe[_0xbe867d(0xe9)]({'resolvedBy':_0x28c05a,'resolvedAt':_0x35bef0,'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x105),(_0x3630d4,{commentThreadId:_0x435b60})=>{const _0x3eb488=_0x1f5bf6,_0x3c6af9=_0x493477[_0x3eb488(0xec)](_0x435b60);_0x3c6af9&&_0x3c6af9[_0x3eb488(0xe4)]({'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x106),(_0x4719dd,{commentThreadId:_0x39eb86})=>{const _0x42aa01=_0x1f5bf6,_0x4b9676=_0x493477[_0x42aa01(0xec)](_0x39eb86);_0x4b9676&&_0x4b9676[_0x42aa01(0x145)]({'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x13f),(_0x45d397,_0x5a4906)=>{const _0x40205e=_0x1f5bf6,_0x2c6378=_0x5a4906[_0x40205e(0x142)],_0x19b1b2=_0x493477[_0x40205e(0xec)](_0x2c6378);_0x19b1b2&&_0x19b1b2[_0x40205e(0x140)]({..._(_0x5a4906),'isFromAdapter':!0x0});}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x10d),(_0x5b2d5b,{commentThreadId:_0x10309a,commentId:_0x553c33,content:_0x54ef84,attributes:_0x2c0cb2})=>{const _0x426c48=_0x1f5bf6,_0x439fc9=_0x493477[_0x426c48(0xec)](_0x10309a);if(_0x439fc9){const _0x3e09a4=_0x439fc9[_0x426c48(0x10e)](_0x553c33);_0x3e09a4&&_0x3e09a4[_0x426c48(0x107)]({'content':_0x54ef84,'attributes':_0x2c0cb2,'isFromAdapter':!0x0});}}),this[_0x1f5bf6(0x108)](_0x3c3500,_0x1f5bf6(0x124),(_0x213331,{commentThreadId:_0x393c61,commentId:_0x25cea0})=>{const _0xf7f333=_0x1f5bf6,_0x5c23ba=_0x493477[_0xf7f333(0xec)](_0x393c61);if(_0x5c23ba){const _0x109c27=_0x5c23ba[_0xf7f333(0x10e)](_0x25cea0);_0x109c27&&_0x109c27[_0xf7f333(0x145)]({'isFromAdapter':!0x0});}}),await this[_0x1f5bf6(0x130)](_0x3f30e7);}[_0x1513ab(0x114)](){const _0x4fdacf=_0x1513ab;if(this[_0x4fdacf(0xf0)]instanceof _0x353562){const _0x1e575c=this[_0x4fdacf(0xf0)][_0x4fdacf(0xf6)][_0x4fdacf(0x122)](_0x4fdacf(0xfb));this[_0x4fdacf(0x13e)](_0x1e575c);}}[_0x1513ab(0x13e)](_0x234f79){const _0x5d4f08=_0x1513ab;if(!this[_0x5d4f08(0x137)][_0x5d4f08(0xe5)](_0x234f79))throw new _0x1aa9aa(_0x5d4f08(0x133),null,{'channelId':_0x234f79});this[_0x5d4f08(0x13a)](_0x234f79)[_0x5d4f08(0x118)](),this[_0x5d4f08(0x137)][_0x5d4f08(0xf2)](_0x234f79);}async[_0x1513ab(0xf1)](){const _0x615a67=_0x1513ab;for(const _0x4a8358 of this[_0x615a67(0x137)][_0x615a67(0x13d)]())await this[_0x615a67(0x130)](_0x4a8358);if(this[_0x615a67(0xf0)]instanceof _0x353562){const _0x5f2f8c=this[_0x615a67(0xf0)][_0x615a67(0xf6)][_0x615a67(0x122)](_0x615a67(0xfb)),_0x4a71ac=this[_0x615a67(0xf0)][_0x615a67(0x100)][_0x615a67(0x122)](_0x2b8f27);_0x4a71ac[_0x615a67(0x121)](_0x5f2f8c);const _0x4371a3=await this[_0x615a67(0x137)][_0x615a67(0x122)](_0x5f2f8c)[_0x615a67(0xe3)]();_0x4a71ac[_0x615a67(0x139)](_0x5f2f8c,_0x4371a3);}}async[_0x1513ab(0x130)](_0x4add72){const _0x53895b=_0x1513ab,{connection:_0x57348b}=this[_0x53895b(0xf0)][_0x53895b(0x100)][_0x53895b(0x122)](_0x38680b),_0x578245=this[_0x53895b(0xf0)][_0x53895b(0x100)][_0x53895b(0x122)](_0x53895b(0xe7)),_0x3989ec=this[_0x53895b(0x137)][_0x53895b(0x122)](_0x4add72),_0x347c17=await _0x3989ec[_0x53895b(0x11a)](_0x57348b);await this[_0x53895b(0xe2)](_0x347c17);const _0xe2107b=new Set(Array[_0x53895b(0x134)](_0x578245[_0x53895b(0x12f)]({'channelId':_0x4add72}),_0x5aeb0d=>_0x5aeb0d['id']));for(const _0x38a09c of _0x347c17)_0x38a09c[_0x53895b(0x109)]||_0xe2107b[_0x53895b(0xf2)](_0x38a09c[_0x53895b(0x142)]);for(const _0x4aaf9b of _0xe2107b)_0x578245[_0x53895b(0xec)](_0x4aaf9b)[_0x53895b(0x145)]({'isFromAdapter':!0x0});for(const _0x2845b2 of _0x347c17){let _0x47afa2=_0x578245[_0x53895b(0xec)](_0x2845b2[_0x53895b(0x142)]);const {commentThreadId:_0x36e05d,context:_0x582fa9,attributes:_0x4dd4b1,resolvedBy:_0x505d59,resolvedAt:_0x49d396,unlinkedAt:_0x21eb00,deletedAt:_0x4ad37c}=_0x2845b2;if(_0x4ad37c)continue;_0x47afa2||(_0x47afa2=_0x578245[_0x53895b(0x12c)]({'channelId':_0x4add72,'threadId':_0x36e05d,'context':_0x582fa9,'attributes':_0x4dd4b1||{},'resolvedBy':_0x505d59,'resolvedAt':_0x49d396,'unlinkedAt':_0x21eb00,'isFromAdapter':!0x0}));const _0x17d54b=new Set(Array[_0x53895b(0x134)](_0x47afa2[_0x53895b(0xf9)],_0x330c2b=>_0x330c2b['id']));for(const _0x419ffb of _0x2845b2[_0x53895b(0xf9)])_0x17d54b[_0x53895b(0xf2)](_0x419ffb[_0x53895b(0x11e)]);for(const _0x1ad74d of _0x17d54b)_0x47afa2[_0x53895b(0x10e)](_0x1ad74d)[_0x53895b(0x145)]({'isFromAdapter':!0x0});for(const _0xd06a2e of _0x2845b2[_0x53895b(0xf9)]){const _0x2331dc=_0x47afa2[_0x53895b(0x10e)](_0xd06a2e[_0x53895b(0x11e)]);_0x2331dc?_0x2331dc[_0x53895b(0xeb)]!==_0xd06a2e[_0x53895b(0xeb)]&&_0x2331dc[_0x53895b(0x107)]({'content':_0xd06a2e[_0x53895b(0xeb)],'isFromAdapter':!0x0}):_0x47afa2[_0x53895b(0x140)](Object[_0x53895b(0x132)](_(_0xd06a2e),{'isFromAdapter':!0x0}));}}}[_0x1513ab(0x13a)](_0xb89ef8){const _0x399c10=_0x1513ab;if(!this[_0x399c10(0x137)][_0x399c10(0xe5)](_0xb89ef8))throw new _0x1aa9aa(_0x399c10(0x144),null,{'channelId':_0xb89ef8});return this[_0x399c10(0x137)][_0x399c10(0x122)](_0xb89ef8);}async[_0x1513ab(0xe2)](_0x20f8b4){const _0x23f09b=_0x1513ab,_0x306003=this[_0x23f09b(0xf0)][_0x23f09b(0x100)][_0x23f09b(0x122)](_0xa42ffa),{connection:_0x530610}=this[_0x23f09b(0xf0)][_0x23f09b(0x100)][_0x23f09b(0x122)](_0x38680b),_0x472974=new Set();for(const {resolvedBy:_0x3e71d9,comments:_0x2b2fed}of _0x20f8b4){_0x3e71d9&&!_0x306003[_0x23f09b(0x10c)](_0x3e71d9)&&_0x472974[_0x23f09b(0x138)](_0x3e71d9);for(const {userId:_0x55fbc4}of _0x2b2fed)_0x306003[_0x23f09b(0x10c)](_0x55fbc4)||_0x472974[_0x23f09b(0x138)](_0x55fbc4);}if(0x0===_0x472974[_0x23f09b(0x11f)])return;const _0x37f9fb=await _0x48a7ea[_0x23f09b(0x120)](_0x530610,Array[_0x23f09b(0x134)](_0x472974));for(const _0x17b3cc of _0x37f9fb)_0x306003[_0x23f09b(0x10c)](_0x17b3cc['id'])||_0x306003[_0x23f09b(0x104)](_0x17b3cc);}}export default a;function _0x3a9e(_0x2466cd,_0x332047){const _0x56d4cb=_0x56d4();return _0x3a9e=function(_0x3a9ef2,_0x1e56ba){_0x3a9ef2=_0x3a9ef2-0xe2;let _0x5db870=_0x56d4cb[_0x3a9ef2];return _0x5db870;},_0x3a9e(_0x2466cd,_0x332047);}async function S(_0x530925){const _0x2b5b01=_0x1513ab;if(_0x2b5b01(0xea)!==_0x530925[_0x2b5b01(0x127)])throw _0x530925;}function R(_0x2466ca){const _0x2f5e11=_0x1513ab;if((_0x2be552=_0x2466ca)[_0x2f5e11(0x125)][_0x2f5e11(0x136)](_0x2f5e11(0x147))||_0x2be552[_0x2f5e11(0x125)][_0x2f5e11(0x136)](_0x2f5e11(0x123))||_0x2be552[_0x2f5e11(0x125)][_0x2f5e11(0x136)](_0x2f5e11(0xfc)))return new Promise(()=>{});var _0x2be552;throw _0x2466ca;}function _0x56d4(){const _0x3f5f8e=['resolvedBy','1159880RMKprn','destroy','createdAt','authorId','set','disconnect','CommentsService','connect','isPremiumPlugin','catch','isOfficialPlugin','commentId','size','getMany','unregister','get','cloud-services-internal-error:\x20Not\x20connected.','commentRemoved','message','8649091JRrIyS','code','attributes','21yLSpBR','CloudServicesCommentsAdapter','pluginName','addCommentThread','setPermissions','init','getCommentThreads','_connectService','Permissions','assign','cloudservicescommentsadapter-disconnect-not-exist','from','cloudservicescommentsadapter-connect-already-connected','startsWith','_services','add','register','_getService','commentThreadUpdated','permissions','keys','_terminateService','commentAdded','addComment','reopenCommentThread','commentThreadId','_setUpService','cloudservicescommentsadapter-service-not-exist','remove','mySessionId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','resolvedAt','_fetchMissingUsersForThreads','getConnectedSessions','reopen','has','6BXBBju','CommentsRepository','commentThreadResolved','resolve','404','content','getCommentThread','98950jfnHFI','88SSEEVO','8976906rJgTbJ','context','reconnect','delete','map','5426230rYkDVD','requires','config','removeComment','13470hJzcxu','comments','resolveCommentThread','collaboration.channelId','cloud-services-internal-error:\x20Request\x20timeout.','addToReconnectionStack','updateComment','off','plugins','commentThreadAdded','removeCommentThread','sessionAdd:','addUser','commentThreadReopened','commentThreadRemoved','update','listenTo','deletedAt','userId','adapter','getUser','commentUpdated','getComment','545ujCTTc','53316gJESHE','updateCommentThread'];_0x56d4=function(){return _0x3f5f8e;};return _0x56d4();}function _(_0x53f519){const _0x27de42=_0x1513ab;return{'threadId':_0x53f519[_0x27de42(0x142)],'commentId':_0x53f519[_0x27de42(0x11e)],'content':_0x53f519[_0x27de42(0xeb)],'createdAt':_0x53f519[_0x27de42(0x115)],'authorId':_0x53f519[_0x27de42(0x10a)],'attributes':_0x53f519[_0x27de42(0x128)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x331bbc=_0x2df3;(function(_0x1a5555,_0x1f76fa){const _0x4f4161=_0x2df3,_0x58b8aa=_0x1a5555();while(!![]){try{const _0x250d0a=-parseInt(_0x4f4161(0x11d))/0x1*(parseInt(_0x4f4161(0x121))/0x2)+parseInt(_0x4f4161(0x111))/0x3*(parseInt(_0x4f4161(0x103))/0x4)+parseInt(_0x4f4161(0x114))/0x5*(-parseInt(_0x4f4161(0x10e))/0x6)+-parseInt(_0x4f4161(0x113))/0x7*(parseInt(_0x4f4161(0xfe))/0x8)+-parseInt(_0x4f4161(0x10a))/0x9+-parseInt(_0x4f4161(0xff))/0xa*(-parseInt(_0x4f4161(0x117))/0xb)+parseInt(_0x4f4161(0x10c))/0xc;if(_0x250d0a===_0x1f76fa)break;else _0x58b8aa['push'](_0x58b8aa['shift']());}catch(_0x3a74d3){_0x58b8aa['push'](_0x58b8aa['shift']());}}}(_0x5e43,0xb0371));function _0x5e43(){const _0x457b80=['data','change:state','get','destroy','switchReadOnly','listenTo','9042120hGsAkf','config','44560764FCtNyY','plugins','762462vsdybw','RealTimeCollaborativeComments','CommentsEditing','3skRTPk','isPremiumPlugin','3283AhWdve','35uOSSVJ','editor','isOfficialPlugin','11uJyrMq','ready','init','collaboration.channelId','requires','Comments','4XdEAyz','_terminateService','once','connected','425146jUwOZI','pluginName','14984FbsbiO','3685390wXrayR','_setUpService','isThreadsLoadingPaused','CommentsRepository','1051156tBlsar'];_0x5e43=function(){return _0x457b80;};return _0x5e43();}function _0x2df3(_0x248b36,_0x46e66d){const _0x5e4376=_0x5e43();return _0x2df3=function(_0x2df3c7,_0x1ca0ca){_0x2df3c7=_0x2df3c7-0xfe;let _0x41fb98=_0x5e4376[_0x2df3c7];return _0x41fb98;},_0x2df3(_0x248b36,_0x46e66d);}import{Plugin as _0x3ed051}from'ckeditor5/src/core.js';import _0x43b54d from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x2e70c5 from'./realtimecollaborativeediting.js';import _0x1f2820 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x3ed051{static get[_0x331bbc(0x11b)](){const _0x4d6a39=_0x331bbc;return[_0x4d6a39(0x11c),_0x43b54d,_0x2e70c5,_0x1f2820];}static get[_0x331bbc(0x122)](){const _0x2f40a9=_0x331bbc;return _0x2f40a9(0x10f);}static get[_0x331bbc(0x116)](){return!0x0;}static get[_0x331bbc(0x112)](){return!0x0;}[_0x331bbc(0x119)](){const _0x4ca055=_0x331bbc,_0x49383e=this[_0x4ca055(0x115)][_0x4ca055(0x10d)][_0x4ca055(0x106)](_0x1f2820),_0x29bac6=this[_0x4ca055(0x115)][_0x4ca055(0x10d)][_0x4ca055(0x106)](_0x4ca055(0x110)),_0x432c11=this[_0x4ca055(0x115)][_0x4ca055(0x10d)][_0x4ca055(0x106)](_0x43b54d);return this[_0x4ca055(0x115)][_0x4ca055(0x104)][_0x4ca055(0x11f)](_0x4ca055(0x118),()=>{const _0x1ee960=_0x4ca055;this[_0x1ee960(0x109)](_0x49383e,_0x1ee960(0x105),(_0x46124e,_0x949539,_0x12e253)=>{const _0x54a592=_0x1ee960;_0x29bac6[_0x54a592(0x101)]=_0x54a592(0x120)!==_0x12e253;});}),this[_0x4ca055(0x109)](_0x49383e,_0x4ca055(0x105),(_0x2d95dd,_0x4c6602,_0x2abb53)=>{const _0x5c8276=_0x4ca055;this[_0x5c8276(0x115)][_0x5c8276(0x10d)][_0x5c8276(0x106)](_0x5c8276(0x102))[_0x5c8276(0x108)](_0x5c8276(0x120)!==_0x2abb53);}),_0x432c11[_0x4ca055(0x100)](this[_0x4ca055(0x115)][_0x4ca055(0x10b)][_0x4ca055(0x106)](_0x4ca055(0x11a)));}[_0x331bbc(0x107)](){const _0x242847=_0x331bbc;this[_0x242847(0x115)][_0x242847(0x10d)][_0x242847(0x106)](_0x43b54d)[_0x242847(0x11e)](this[_0x242847(0x115)][_0x242847(0x10b)][_0x242847(0x106)](_0x242847(0x11a))),super[_0x242847(0x107)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4f55c4)());[_0x2f2af6(0x1b7)];[_0x2f2af6(0x148)];[_0x2f2af6(0x131)];[_0x2f2af6(0x139)];[_0x2f2af6(0xf6)];[_0x2f2af6(0x1ac)];[_0x2f2af6(0x100)];[_0x2f2af6(0x137)];[_0x2f2af6(0xd4)];[_0x2f2af6(0xd9)];[_0x2f2af6(0x154)];[_0x2f2af6(0x19a)];[_0x2f2af6(0x1b5)];[_0x2f2af6(0x188)];[_0x2f2af6(0x115)];[_0x2f2af6(0xe6)];[_0x2f2af6(0x119)];[_0x2f2af6(0x17c)];static get[_0x2f2af6(0xfb)](){return[_0x2fccdc,_0x3bef22,_0x12dd0d,_0x10b177,_0x2cfb81,_0x5c87b0];}static get[_0x2f2af6(0xd2)](){const _0xfe926a=_0x2f2af6;return _0xfe926a(0x185);}static get[_0x2f2af6(0x1bf)](){return!0x0;}static get[_0x2f2af6(0x13d)](){return!0x0;}get[_0x2f2af6(0xf7)](){const _0x3ceee0=_0x2f2af6;return this[_0x3ceee0(0x153)]+this[_0x3ceee0(0x1b7)];}get[_0x2f2af6(0x153)](){const _0x597fac=_0x2f2af6;return this[_0x597fac(0x131)][_0x597fac(0x192)]-this[_0x597fac(0x1b7)];}get[_0x2f2af6(0x127)](){const _0x5ab24e=_0x2f2af6,_0x171a70=this[_0x5ab24e(0x131)][_0x5ab24e(0x142)]();for(let _0x289150=_0x171a70[_0x5ab24e(0x132)]-0x1;_0x289150>=0x0;_0x289150--){const _0x44deca=_0x171a70[_0x289150];if(!this[_0x5ab24e(0x119)][_0x5ab24e(0x134)](_0x44deca))return _0x44deca[_0x5ab24e(0x1c3)]+0x1-this[_0x5ab24e(0x1b7)];}return 0x0;}constructor(_0x8f5c4f){const _0x45e8f9=_0x2f2af6;if(super(_0x8f5c4f),this[_0x45e8f9(0x1b7)]=0x0,this[_0x45e8f9(0x148)]=null,this[_0x45e8f9(0x131)]=new _0x1c57d3(),this[_0x45e8f9(0x189)][_0x45e8f9(0xc7)][_0x45e8f9(0x194)](_0x45e8f9(0x13c),{}),this[_0x45e8f9(0x139)]=this[_0x45e8f9(0x189)][_0x45e8f9(0xc7)][_0x45e8f9(0x175)](_0x45e8f9(0xca)),!this[_0x45e8f9(0x139)])throw new _0x423ca9(_0x45e8f9(0x157),this);const _0x41dabd=_0x8f5c4f[_0x45e8f9(0xc7)][_0x45e8f9(0x175)](_0x45e8f9(0xda))||_0x11bd16;this[_0x45e8f9(0xf6)]=new l[(_0x45e8f9(0x1ca))](_0x41dabd,this[_0x45e8f9(0x139)]),this[_0x45e8f9(0x1ac)]=this[_0x45e8f9(0x189)][_0x45e8f9(0x178)][_0x45e8f9(0x179)],this[_0x45e8f9(0x100)]=new _0x3cc487(),this[_0x45e8f9(0x137)]=[],this[_0x45e8f9(0xd4)]=new WeakSet(),this[_0x45e8f9(0xd9)]=new Set(),this[_0x45e8f9(0xf4)](_0x45e8f9(0xe9),!0x1),this[_0x45e8f9(0xf4)](_0x45e8f9(0x12b),!0x1),this[_0x45e8f9(0x154)]=null,this[_0x45e8f9(0x19a)]=!0x1,this[_0x45e8f9(0x1b5)]=null,this[_0x45e8f9(0x188)]=0x12c,this[_0x45e8f9(0x115)]=this[_0x45e8f9(0x188)],this[_0x45e8f9(0xe6)]=null,this[_0x45e8f9(0x119)]=new WeakSet(),this[_0x45e8f9(0x17c)]=new V(this[_0x45e8f9(0x119)]);}[_0x2f2af6(0x182)](){const _0x2f92bc=_0x2f2af6,_0x28a2bc=this[_0x2f92bc(0x189)],_0x596c77=_0x28a2bc[_0x2f92bc(0x1c5)][_0x2f92bc(0x175)](_0x2cfb81),_0x2a551d=_0x28a2bc[_0x2f92bc(0x1c5)][_0x2f92bc(0x175)](_0x2fccdc);this[_0x2f92bc(0xdd)](_0x596c77,_0x2f92bc(0x169),(_0x5ed29a,_0x13f52c)=>{const _0x661d53=_0x2f92bc,_0x3d9acd=_0x13f52c[0x0];_0x3d9acd[_0x661d53(0xf3)]&&(_0x5ed29a[_0x661d53(0x101)]=_0x596c77[_0x661d53(0x1a5)](_0x3d9acd[_0x661d53(0xf3)]),_0x5ed29a[_0x661d53(0x15d)]()),null===_0x3d9acd[_0x661d53(0xf3)]&&(_0x5ed29a[_0x661d53(0x101)]=null,_0x5ed29a[_0x661d53(0x15d)]());},{'priority':_0x2f92bc(0xde)}),this[_0x2f92bc(0xdd)](_0x28a2bc[_0x2f92bc(0x178)][_0x2f92bc(0x179)][_0x2f92bc(0x198)],_0x2f92bc(0x193),(_0x379ecd,_0x3acff5)=>{const _0x31f7c1=_0x2f92bc;_0x3acff5[_0x31f7c1(0x1aa)]&&this[_0x31f7c1(0x17f)]();}),this[_0x2f92bc(0xdd)](_0x28a2bc[_0x2f92bc(0x104)][_0x2f92bc(0x190)],_0x2f92bc(0x141),()=>{const _0x460c34=_0x2f92bc;this[_0x460c34(0x17f)]();}),this[_0x2f92bc(0x11a)](),_0x28a2bc[_0x2f92bc(0x178)]['on'](_0x2f92bc(0x108),(_0x3760aa,_0x567f6b)=>{const _0xa0f3b9=_0x2f92bc,_0x231cf8=_0x567f6b[0x0];_0x231cf8[_0xa0f3b9(0x146)]&&(this[_0xa0f3b9(0x129)](_0x231cf8),this[_0xa0f3b9(0x18e)]()&&this[_0xa0f3b9(0x1b3)]());}),this[_0x2f92bc(0x191)](),this[_0x2f92bc(0x15e)](_0x2f92bc(0x136))['to'](_0x2a551d,_0x2f92bc(0xc9),this,_0x2f92bc(0x12b),(_0x26adb5,_0x12758d)=>_0x2f92bc(0x159)===_0x26adb5&&!_0x12758d),this['on'](_0x2f92bc(0x1a7),()=>{const _0x3f8008=_0x2f92bc;this[_0x3f8008(0x136)]?_0x28a2bc[_0x3f8008(0x1a3)](_0x3f8008(0xf8)):_0x28a2bc[_0x3f8008(0x176)](_0x3f8008(0xf8));}),this[_0x2f92bc(0x136)]?_0x28a2bc[_0x2f92bc(0x1a3)](_0x2f92bc(0xf8)):_0x28a2bc[_0x2f92bc(0x176)](_0x2f92bc(0xf8)),this[_0x2f92bc(0xf4)](_0x2f92bc(0x18f),!0x1);}async[_0x2f2af6(0x186)](){const _0x113033=_0x2f2af6,_0x13f21b=this[_0x113033(0x189)][_0x113033(0x1c5)][_0x113033(0x175)](_0x3bef22),_0x17ef72=this[_0x113033(0x189)][_0x113033(0x1c5)][_0x113033(0x175)](_0x2fccdc);try{this[_0x113033(0xe9)]=!0x0,_0x13f21b[_0x113033(0x12c)](this[_0x113033(0x139)]);const _0xf150ee=await this[_0x113033(0xf6)][_0x113033(0x186)](_0x17ef72[_0x113033(0xe1)],this[_0x113033(0x127)]);await this[_0x113033(0x10a)](_0xf150ee)&&(this[_0x113033(0xe9)]=!0x1,this[_0x113033(0xff)]());const _0xd518cb=await this[_0x113033(0xf6)][_0x113033(0x14e)]();_0x13f21b[_0x113033(0x1c8)](this[_0x113033(0x139)],_0xd518cb),this[_0x113033(0xfa)](),this[_0x113033(0x18f)]=!0x0;}catch(_0x35ab06){if(function(_0x5ae6b9){const _0x1f8c1b=_0x113033;return _0x1f8c1b(0x1c4)===_0x5ae6b9[_0x1f8c1b(0x158)];}(_0x35ab06)&&this[_0x113033(0x148)])await this[_0x113033(0x1bd)]();else{if(function(_0x225562){const _0x5899f0=_0x113033;return _0x5899f0(0x112)===_0x225562[_0x5899f0(0x158)];}(_0x35ab06)){const _0x459729=_0x21ddee(this[_0x113033(0x189)][_0x113033(0x19c)],_0x113033(0x1b1));this[_0x113033(0xd7)](_0x459729);}else{if(!(_0x35ab06 instanceof z))throw _0x35ab06;this[_0x113033(0xd7)]();}}}}[_0x2f2af6(0x109)](){const _0x3b652d=_0x2f2af6,_0x59f935=this[_0x3b652d(0x189)][_0x3b652d(0x1c5)][_0x3b652d(0x175)](_0x2fccdc),_0xe878c1=this[_0x3b652d(0x189)][_0x3b652d(0x1c5)][_0x3b652d(0x175)](_0x3bef22);this[_0x3b652d(0x189)][_0x3b652d(0x176)](_0x3b652d(0x1bb)),_0xe878c1[_0x3b652d(0x1b9)][_0x3b652d(0x134)](this[_0x3b652d(0x139)])&&_0xe878c1[_0x3b652d(0x12c)](this[_0x3b652d(0x139)]),_0x59f935[_0x3b652d(0x177)](this),this[_0x3b652d(0x13e)](),super[_0x3b652d(0x109)]();}async[_0x2f2af6(0x10a)](_0x531758){const _0x33c0e8=_0x2f2af6;if(this[_0x33c0e8(0x148)]!==_0x531758[_0x33c0e8(0x148)]&&this[_0x33c0e8(0xe6)]!==_0x531758[_0x33c0e8(0xf0)])throw new z();return this[_0x33c0e8(0x148)]=_0x531758[_0x33c0e8(0x148)],this[_0x33c0e8(0x106)]([],{..._0x531758,'wereChangesApplied':!0x1,'data':_0x531758[_0x33c0e8(0x1a2)]},_0x33c0e8(0x186));}async[_0x2f2af6(0x1a9)](_0x3c0b4b,_0xb80bf6=!0x1){const _0x4ad9ed=_0x2f2af6,{connection:_0x3b2ec3}=this[_0x4ad9ed(0x189)][_0x4ad9ed(0x1c5)][_0x4ad9ed(0x175)](_0x2fccdc);l[_0x4ad9ed(0x1ca)][_0x4ad9ed(0x14e)](_0x3b2ec3,this[_0x4ad9ed(0x139)])[_0x4ad9ed(0x10e)](_0x143a03=>this[_0x4ad9ed(0xd0)](_0x143a03))[_0x4ad9ed(0x17b)](_0xa66ae=>{const _0x4f1472=_0x4ad9ed;this[_0x4f1472(0x173)](_0x4f1472(0x171),_0xa66ae);}),this[_0x4ad9ed(0xdd)](this[_0x4ad9ed(0xf6)],_0x4ad9ed(0xf9),this[_0x4ad9ed(0x166)][_0x4ad9ed(0x15e)](this)),this[_0x4ad9ed(0xdd)](this[_0x4ad9ed(0xf6)],_0x4ad9ed(0x14d),(_0x5c72bb,_0xcdcdaf)=>{const _0x5f58be=_0x4ad9ed;this[_0x5f58be(0x173)](_0x5f58be(0x160),_0xcdcdaf);}),this[_0x4ad9ed(0xdd)](this[_0x4ad9ed(0xf6)],_0x4ad9ed(0x147),()=>{const _0x164f7b=_0x4ad9ed;this[_0x164f7b(0x18f)]=!0x1;});const _0x4f4981=this[_0x4ad9ed(0x17c)][_0x4ad9ed(0x172)](_0x3c0b4b);this[_0x4ad9ed(0xe9)]=!0x0;const _0x245c2d=await this[_0x4ad9ed(0xf6)][_0x4ad9ed(0x184)](_0x3b2ec3,this[_0x4ad9ed(0x1b0)](_0x3c0b4b),_0x4f4981);if(this[_0x4ad9ed(0x148)]=_0x245c2d[_0x4ad9ed(0x148)],_0xb80bf6){if(!_0x245c2d[_0x4ad9ed(0xe5)])return void this[_0x4ad9ed(0xd7)]();this[_0x4ad9ed(0xe9)]=!0x1,this[_0x4ad9ed(0xff)](),this[_0x4ad9ed(0x131)][_0x4ad9ed(0x1ae)](),this[_0x4ad9ed(0x1b7)]=_0x245c2d[_0x4ad9ed(0x1b2)],this[_0x4ad9ed(0x131)][_0x4ad9ed(0x192)]=this[_0x4ad9ed(0x1b7)],await this[_0x4ad9ed(0x106)](_0x3c0b4b,_0x245c2d,_0x4ad9ed(0xdc));}else await this[_0x4ad9ed(0x174)](_0x245c2d,_0x3c0b4b);this[_0x4ad9ed(0xfa)](),this[_0x4ad9ed(0x18f)]=!0x0;}[_0x2f2af6(0xfa)](){const _0xe49fe5=_0x2f2af6,_0x1ece37=this[_0xe49fe5(0x189)][_0xe49fe5(0x1c5)][_0xe49fe5(0x175)](_0x3bef22),_0x47cd32=this[_0xe49fe5(0x189)][_0xe49fe5(0x1c5)][_0xe49fe5(0x175)](_0x12dd0d),_0x214e65=_0x1ece37[_0xe49fe5(0x1b9)][_0xe49fe5(0x175)](this[_0xe49fe5(0x139)]);_0x214e65&&_0x214e65[_0xe49fe5(0x132)]>0x1?_0x47cd32[_0xe49fe5(0x1a1)]():this[_0xe49fe5(0xdd)](_0x1ece37,_0xe49fe5(0x114)+this[_0xe49fe5(0x139)],()=>{const _0x80d7f7=_0xe49fe5;0x2===_0x1ece37[_0x80d7f7(0x1b9)][_0x80d7f7(0x175)](this[_0x80d7f7(0x139)])[_0x80d7f7(0x132)]&&_0x47cd32[_0x80d7f7(0x1a1)]();});}async[_0x2f2af6(0x166)](_0x1c6167,_0x43ab3f,_0xccdeb5,_0x2c4834){const _0x35bfbc=_0x2f2af6;if(!this[_0x35bfbc(0xe9)]&&this[_0x35bfbc(0x1ac)][_0x35bfbc(0x192)]==_0x43ab3f){const _0x2b2d29=this[_0x35bfbc(0xe4)](_0xccdeb5,_0x2c4834);await this[_0x35bfbc(0x140)](_0x2b2d29),this[_0x35bfbc(0x14a)](_0x2b2d29,_0x43ab3f,_0xccdeb5[_0x35bfbc(0xf0)])||this[_0x35bfbc(0x173)](_0x35bfbc(0x118));}}async[_0x2f2af6(0x1bd)](){const _0x3d3329=_0x2f2af6;this[_0x3d3329(0x13e)]();const {locale:_0xc1702d}=this[_0x3d3329(0x189)];let _0x4f4cd4;try{_0x4f4cd4=await this[_0x3d3329(0xf6)][_0x3d3329(0x103)]();}catch(_0x3cfcfe){const _0x2d6dba=_0x21ddee(_0xc1702d,_0x3d3329(0xeb));return void this[_0x3d3329(0xd7)](_0x2d6dba);}const _0x28e5c2=_0x4f4cd4[_0x3d3329(0x1c7)]||_0x4f4cd4[_0x3d3329(0xfd)];if(this[_0x3d3329(0xe6)]===_0x28e5c2[_0x3d3329(0xf0)])await this[_0x3d3329(0x1a9)](this[_0x3d3329(0x189)][_0x3d3329(0x178)][_0x3d3329(0x179)][_0x3d3329(0x135)][_0x3d3329(0x142)](),!0x0);else{const _0x3f2267=_0x21ddee(_0xc1702d,_0x3d3329(0x19d));this[_0x3d3329(0xd7)](_0x3f2267);}}[_0x2f2af6(0x13e)](){const _0xcca7bf=_0x2f2af6;this[_0xcca7bf(0xf6)][_0xcca7bf(0x17d)](),this[_0xcca7bf(0x137)]=[],clearTimeout(this[_0xcca7bf(0x1b5)]),this[_0xcca7bf(0xf1)](this[_0xcca7bf(0xf6)]);}[_0x2f2af6(0xd0)](_0xe18bda){const _0x5b4f3f=_0x2f2af6,_0xe4b47c=this[_0x5b4f3f(0x189)][_0x5b4f3f(0x1c5)][_0x5b4f3f(0x175)](_0x3bef22);this[_0x5b4f3f(0xdd)](_0xe4b47c,_0x5b4f3f(0x114)+this[_0x5b4f3f(0x139)],(_0xc493c,{session:_0x45b0b3})=>{const _0x5f4241=_0x5b4f3f;if(_0x45b0b3['id']===_0xe4b47c[_0x5f4241(0x116)]){_0xc493c[_0x5f4241(0x120)]();const _0x3b4fad=this[_0x5f4241(0x189)][_0x5f4241(0x1c5)][_0x5f4241(0x134)](_0x5f4241(0x187))&&this[_0x5f4241(0x189)][_0x5f4241(0x1c5)][_0x5f4241(0x175)](_0x5f4241(0x187));let _0x584c4a=_0x45b0b3[_0x5f4241(0x1a6)];_0x3b4fad&&_0x3b4fad[_0x5f4241(0x133)]&&(_0x584c4a=_0x584c4a[_0x5f4241(0x18d)](_0x2d07aa=>_0x5f4241(0x13f)!==_0x2d07aa)),this[_0x5f4241(0x189)][_0x5f4241(0x1c5)][_0x5f4241(0x175)](_0x5f4241(0xce))[_0x5f4241(0xe3)](_0x584c4a,this[_0x5f4241(0x139)]);}}),_0xe4b47c[_0x5b4f3f(0x1c8)](this[_0x5b4f3f(0x139)],_0xe18bda);}[_0x2f2af6(0x11a)](){const _0x2864b1=_0x2f2af6,_0x3d6b0c=this[_0x2864b1(0x189)][_0x2864b1(0x1a2)][_0x2864b1(0xf4)];this[_0x2864b1(0x189)][_0x2864b1(0x1a2)][_0x2864b1(0xf4)]=(..._0xacf8b5)=>{const _0xe8cd93=_0x2864b1;if(!_0xacf8b5[_0xacf8b5[_0xe8cd93(0x132)]-0x1][_0xe8cd93(0x11b)])throw new _0x423ca9(_0xe8cd93(0x12d),this);_0x3d6b0c[_0xe8cd93(0x1c1)](this[_0xe8cd93(0x189)][_0xe8cd93(0x1a2)],_0xacf8b5);};}[_0x2f2af6(0x191)](){const _0x5ef4ed=_0x2f2af6;this[_0x5ef4ed(0x189)][_0x5ef4ed(0x1a2)]['on'](_0x5ef4ed(0x182),(_0x63c558,[_0x35a49b])=>{const _0x5ddf39=_0x5ef4ed;if(this[_0x5ddf39(0x1ac)][_0x5ddf39(0x192)])throw new _0x423ca9(_0x5ddf39(0xe0),this);_0x63c558[_0x5ddf39(0x15d)](),this[_0x5ddf39(0x161)]();const _0x3310d4=this[_0x5ddf39(0x189)][_0x5ddf39(0xc7)][_0x5ddf39(0x175)](_0x5ddf39(0xcf)),_0x491b38=this[_0x5ddf39(0x1af)](_0x35a49b,_0x3310d4);0x0==_0x491b38[_0x5ddf39(0x132)]&&_0x491b38[_0x5ddf39(0xcd)](new _0x62e773(0x0)),_0x63c558[_0x5ddf39(0x101)]=this[_0x5ddf39(0x1a9)](_0x491b38)[_0x5ddf39(0x10e)](()=>{const _0x267900=_0x5ddf39;this[_0x267900(0x189)][_0x267900(0x1c5)][_0x267900(0x175)](_0x2fccdc)[_0x267900(0x14c)](this),this[_0x267900(0x189)][_0x267900(0x1a2)][_0x267900(0xd8)](_0x267900(0x16e));})[_0x5ddf39(0x17b)](_0x3a1dca=>this[_0x5ddf39(0x173)](_0x5ddf39(0x149),_0x3a1dca))[_0x5ddf39(0x18c)](()=>this[_0x5ddf39(0xff)]());},{'priority':_0x5ef4ed(0xde)}),this[_0x5ef4ed(0x189)]['on'](_0x5ef4ed(0x15b),async(_0x337f2a,[_0x4d9857,_0x4e4c5e])=>{const _0x3432a1=_0x5ef4ed;_0x337f2a[_0x3432a1(0x15d)]();const _0x3937e3=this[_0x3432a1(0x189)][_0x3432a1(0x178)][_0x3432a1(0x179)][_0x3432a1(0xef)](_0x4d9857);if(!this[_0x3432a1(0xd9)][_0x3432a1(0x134)](_0x4d9857)){const _0x511f24=_0x4e4c5e&&_0x4e4c5e[_0x3432a1(0x1a2)]?_0x4e4c5e[_0x3432a1(0x1a2)]:'',_0x5e47fa=_0x4e4c5e&&_0x4e4c5e[_0x3432a1(0x150)]?_0x4e4c5e[_0x3432a1(0x150)]:{};await this[_0x3432a1(0xe7)](_0x4d9857,_0x511f24,_0x5e47fa);}this[_0x3432a1(0x189)][_0x3432a1(0x178)][_0x3432a1(0xfe)]({'isUndoable':!0x1},()=>{const _0x4ab626=_0x3432a1;_0x3937e3[_0x4ab626(0x105)]=!0x0,this[_0x4ab626(0x189)][_0x4ab626(0x178)][_0x4ab626(0x179)][_0x4ab626(0x19f)][_0x4ab626(0x19b)](_0x3937e3);});},{'priority':_0x5ef4ed(0xde)});}async[_0x2f2af6(0x140)](_0x24e1f1){const _0x5cba8e=_0x2f2af6,_0x2be20e=this[_0x5cba8e(0x189)][_0x5cba8e(0x1c5)][_0x5cba8e(0x175)](_0x2cfb81),{connection:_0x3ce028}=this[_0x5cba8e(0x189)][_0x5cba8e(0x1c5)][_0x5cba8e(0x175)](_0x2fccdc),_0x47098f=new Set();for(const _0x4ba31b of _0x24e1f1){const _0x1add89=_0x4ba31b[_0x5cba8e(0xf3)];_0x1add89&&!_0x2be20e[_0x5cba8e(0x1a5)](_0x1add89)&&_0x47098f[_0x5cba8e(0x1c6)](_0x1add89);}if(0x0===_0x47098f[_0x5cba8e(0x183)])return;const _0x1f5f69=await _0x260dd2[_0x5cba8e(0x11f)](_0x3ce028,Array[_0x5cba8e(0x130)](_0x47098f));for(const _0x97d5b9 of _0x1f5f69)_0x2be20e[_0x5cba8e(0x1a5)](_0x97d5b9['id'])||_0x2be20e[_0x5cba8e(0xed)](_0x97d5b9);}[_0x2f2af6(0x1af)](_0x3d6dd4,_0x473994={}){const _0x3a44cf=_0x2f2af6,_0x4cfd32=this[_0x3a44cf(0x189)][_0x3a44cf(0x178)],_0x1d8994=[];let _0xda24a7=0x0;const _0x8cf500=_0x3a44cf(0x1a0)==typeof _0x3d6dd4?{'main':_0x3d6dd4}:_0x3d6dd4;for(const _0x188fc4 of Object[_0x3a44cf(0x16b)](_0x8cf500)){if(!this[_0x3a44cf(0x1ac)][_0x3a44cf(0xdf)][_0x3a44cf(0x134)](_0x188fc4))throw new _0x423ca9(_0x3a44cf(0x1a8),this);const _0x45be95=this[_0x3a44cf(0x189)][_0x3a44cf(0x1a2)][_0x3a44cf(0x11c)](_0x8cf500[_0x188fc4]),_0x1234ed=this[_0x3a44cf(0x1ac)][_0x3a44cf(0xef)](_0x188fc4),_0x551abc=new _0x4698aa(_0x4cfd32[_0x3a44cf(0x123)](_0x1234ed,0x0),_0x45be95,_0xda24a7++);_0x1d8994[_0x3a44cf(0xcd)](_0x551abc);for(const [_0x290679,_0x584255]of _0x45be95[_0x3a44cf(0x17e)]){const _0x363f4b=_0x4cfd32[_0x3a44cf(0x122)](_0x4cfd32[_0x3a44cf(0xfc)](_0x1234ed,_0x584255[_0x3a44cf(0x12f)][_0x3a44cf(0xcb)][_0x3a44cf(0x155)]()),_0x4cfd32[_0x3a44cf(0xfc)](_0x1234ed,_0x584255[_0x3a44cf(0x15a)][_0x3a44cf(0xcb)][_0x3a44cf(0x155)]())),_0x10af3a=new _0x1ff9e2(_0x290679,null,_0x363f4b,_0x4cfd32[_0x3a44cf(0x17e)],!0x0,_0xda24a7++);_0x1d8994[_0x3a44cf(0xcd)](_0x10af3a);}}if(_0x473994)for(const [_0x18ade3,_0x3052b7]of Object[_0x3a44cf(0xd6)](_0x473994)){const _0x25d9ad=_0x4cfd32[_0x3a44cf(0x179)][_0x3a44cf(0xef)](_0x18ade3);if(!_0x25d9ad)throw new _0x423ca9(_0x3a44cf(0x144),null);for(const [_0x127a74,_0x2c5d81]of Object[_0x3a44cf(0xd6)](_0x3052b7))if(null!==_0x2c5d81){const _0x5c4523=new _0x115e81(_0x25d9ad,_0x127a74,null,_0x2c5d81,_0xda24a7++);_0x1d8994[_0x3a44cf(0xcd)](_0x5c4523);}}return _0x1d8994;}async[_0x2f2af6(0xe7)](_0xbaeb59,_0x43be2d,_0x577987){const _0x5d273b=_0x2f2af6;this[_0x5d273b(0x1af)]({[_0xbaeb59]:_0x43be2d},{[_0xbaeb59]:_0x577987})[_0x5d273b(0x107)]((_0x3fa02b,_0x41f5ca)=>{const _0x4487d5=_0x5d273b;_0x3fa02b[_0x4487d5(0x1c3)]=this[_0x4487d5(0x1ac)][_0x4487d5(0x192)]+_0x41f5ca,_0x3fa02b[_0x4487d5(0x1ba)]=!0x0,this[_0x4487d5(0x129)](_0x3fa02b);}),this[_0x5d273b(0x1b3)](),await this[_0x5d273b(0x1c0)]();}async[_0x2f2af6(0x174)](_0x16ccbb,_0x2f6503){const _0x4e8e63=_0x2f2af6;let _0x2f3412;this[_0x4e8e63(0x1b7)]=_0x16ccbb[_0x4e8e63(0x1b2)];const _0x92e686=_0x16ccbb[_0x4e8e63(0xe5)]&&!_0x16ccbb[_0x4e8e63(0xf5)],_0x43b1f2=_0x92e686?0x0:_0x16ccbb[_0x4e8e63(0x1a2)][_0x4e8e63(0x1c3)];if(_0x2f6503[_0x4e8e63(0x107)](_0x23cd07=>{const _0x32e95d=_0x4e8e63;_0x23cd07[_0x32e95d(0x1ba)]=!0x0,_0x23cd07[_0x32e95d(0x113)]=_0x16ccbb[_0x32e95d(0xcc)],_0x23cd07[_0x32e95d(0xf3)]=null;}),_0x92e686)_0x2f3412=_0x2f6503,this[_0x4e8e63(0x143)](_0x2f3412,_0x92e686);else{if(_0x16ccbb[_0x4e8e63(0xf5)]){const _0xc87974=this[_0x4e8e63(0x1af)](_0x16ccbb[_0x4e8e63(0xf5)]);this[_0x4e8e63(0x1ac)][_0x4e8e63(0x135)][_0x4e8e63(0x192)]=-_0xc87974[_0x4e8e63(0x132)],_0xc87974[_0x4e8e63(0x107)](_0x27d93a=>{const _0x39592d=_0x4e8e63;_0x27d93a[_0x39592d(0x1c3)]-=_0xc87974[_0x39592d(0x132)],_0x27d93a[_0x39592d(0x113)]=_0x16ccbb[_0x39592d(0xcc)],_0x27d93a[_0x39592d(0x1ba)]=!0x0,_0x27d93a[_0x39592d(0xf3)]=null;}),this[_0x4e8e63(0x143)](_0xc87974,!0x0),this[_0x4e8e63(0x131)][_0x4e8e63(0x192)]=-_0xc87974[_0x4e8e63(0x132)]+this[_0x4e8e63(0x1b7)],this[_0x4e8e63(0x10f)](_0xc87974);}this[_0x4e8e63(0x1ac)][_0x4e8e63(0x135)][_0x4e8e63(0x192)]=_0x43b1f2,_0x2f3412=this[_0x4e8e63(0xe4)](_0x16ccbb[_0x4e8e63(0x1a2)],_0x16ccbb[_0x4e8e63(0x125)]),await this[_0x4e8e63(0x140)](_0x2f3412),this[_0x4e8e63(0x143)](_0x2f3412,_0x92e686);}_0x16ccbb[_0x4e8e63(0xf0)]&&(this[_0x4e8e63(0x17c)][_0x4e8e63(0x1bc)](_0x2f3412,_0x16ccbb[_0x4e8e63(0xf0)]),this[_0x4e8e63(0xe6)]=_0x16ccbb[_0x4e8e63(0xf0)]),this[_0x4e8e63(0x131)][_0x4e8e63(0x192)]=_0x43b1f2+this[_0x4e8e63(0x1b7)],this[_0x4e8e63(0x10f)](_0x2f3412),_0x2f6503[_0x4e8e63(0x18d)](_0x1fa7c4=>{const _0x54dbb5=_0x4e8e63,_0x3924d4=this[_0x54dbb5(0xee)](_0x1fa7c4);return _0x3924d4&&!this[_0x54dbb5(0xd9)][_0x54dbb5(0x134)](_0x3924d4);})[_0x4e8e63(0x107)]((_0xba9ea2,_0x2c035c)=>{const _0x34b0e4=_0x4e8e63;_0xba9ea2[_0x34b0e4(0x1c3)]=this[_0x34b0e4(0x1ac)][_0x34b0e4(0x192)]+_0x2c035c,this[_0x34b0e4(0x129)](_0xba9ea2);}),this[_0x4e8e63(0x18e)]()?(this[_0x4e8e63(0x115)]=0x0,this[_0x4e8e63(0x1b3)](!0x0),await this[_0x4e8e63(0x1c0)]()):(this[_0x4e8e63(0xe9)]=!0x1,this[_0x4e8e63(0xff)]());}[_0x2f2af6(0x173)](_0x6ac9cf,_0x4815ff){const _0x16868d=_0x2f2af6,_0x1523f3=_0x4815ff&&_0x4815ff[_0x16868d(0xd5)];if(_0x1523f3&&_0x1523f3[_0x16868d(0x1ab)](_0x16868d(0x14f)))throw _0x4815ff;const _0x27a9e5=this[_0x16868d(0x189)][_0x16868d(0x1c5)][_0x16868d(0x175)](_0x2fccdc);throw this[_0x16868d(0xe9)]=!0x0,_0x27a9e5[_0x16868d(0x17d)](),this[_0x16868d(0x189)][_0x16868d(0x176)](_0x16868d(0x12e)),new _0x423ca9(_0x6ac9cf,this[_0x16868d(0x189)],_0x1523f3?{'originalError':_0x1523f3}:void 0x0);}[_0x2f2af6(0x129)](_0x1216af){const _0x4f92a2=_0x2f2af6;this[_0x4f92a2(0xd4)][_0x4f92a2(0x134)](_0x1216af)||(this[_0x4f92a2(0xd4)][_0x4f92a2(0x1c6)](_0x1216af),this[_0x4f92a2(0x137)][_0x4f92a2(0xcd)](_0x1216af),this[_0x4f92a2(0x154)]||_0x4f92a2(0x11d)==_0x1216af[_0x4f92a2(0x13b)]&&!_0x1216af[_0x4f92a2(0x168)]||this[_0x4f92a2(0x161)]());}[_0x2f2af6(0x1b3)](_0x22e2ea=!0x1){const _0x371632=_0x2f2af6;!_0x22e2ea&&this[_0x371632(0xe9)]||(this[_0x371632(0xe9)]=!0x0,clearTimeout(this[_0x371632(0x1b5)]),this[_0x371632(0x1b5)]=setTimeout(()=>{const _0x3eb9f3=_0x371632;this[_0x3eb9f3(0x18a)]()[_0x3eb9f3(0x10e)](_0xe14a71=>{const _0x49e0c8=_0x3eb9f3;_0xe14a71&&(this[_0x49e0c8(0xff)](),this[_0x49e0c8(0xe9)]=!0x1);})[_0x3eb9f3(0x17b)](_0x117576=>{const _0x7c6529=_0x3eb9f3;this[_0x7c6529(0xff)](),this[_0x7c6529(0xe9)]=!0x1,function(_0x2ae48c){const _0x3bf446=_0x7c6529;return _0x2ae48c[_0x3bf446(0xd5)][_0x3bf446(0x1ab)](_0x3bf446(0x102))||_0x2ae48c[_0x3bf446(0xd5)][_0x3bf446(0x1ab)](_0x3bf446(0x1b4))||_0x2ae48c[_0x3bf446(0xd5)][_0x3bf446(0x1ab)](_0x3bf446(0x181));}(_0x117576)||this[_0x7c6529(0x173)](_0x117576[_0x7c6529(0xd5)],_0x117576);});},this[_0x371632(0x115)]));}[_0x2f2af6(0x1c0)](){return new Promise(_0x3b8949=>{const _0x3dc9f8=_0x3f55;this['on'](_0x3dc9f8(0x15f),()=>{_0x3b8949();});});}async[_0x2f2af6(0x18a)](){const _0x19c405=_0x2f2af6,_0x218bd9=this[_0x19c405(0x189)][_0x19c405(0x1c5)][_0x19c405(0x175)](_0x12dd0d);if(this[_0x19c405(0xd1)]()&&(_0x218bd9[_0x19c405(0x1a1)](),this[_0x19c405(0x19a)]=!0x1),!this[_0x19c405(0x18e)]())return!0x0;const _0xe56552=[...this[_0x19c405(0x137)]];for(const _0x564676 of _0xe56552)_0x564676[_0x19c405(0xea)]=this[_0x19c405(0x1ac)][_0x19c405(0x135)][_0x19c405(0x197)](_0x564676);const _0xad653a=this[_0x19c405(0x17c)][_0x19c405(0x172)](_0xe56552),_0x26b6ee=M++,_0x3bd86a=this[_0x19c405(0x1b0)](_0xe56552),_0x46d103=await this[_0x19c405(0xf6)][_0x19c405(0x10c)](_0x3bd86a,_0x3bd86a[_0x19c405(0x1c3)],_0xad653a);try{return await this[_0x19c405(0x106)](_0xe56552,_0x46d103,_0x26b6ee);}catch(_0x17d40e){return this[_0x19c405(0x173)](_0x19c405(0x1ad),_0x17d40e);}}async[_0x2f2af6(0x106)](_0x14506c,_0x4457dc,_0x6f09){const _0x5802c6=_0x2f2af6;if(_0x5802c6(0x14d)in _0x4457dc)throw _0x4457dc[_0x5802c6(0x14d)];let _0x1622e8=!0x1;if(_0x4457dc[_0x5802c6(0xe5)]){_0x4457dc[_0x5802c6(0xf0)]&&(this[_0x5802c6(0xe6)]=_0x4457dc[_0x5802c6(0xf0)]),this[_0x5802c6(0x137)]=this[_0x5802c6(0x137)][_0x5802c6(0x18d)](_0x279ade=>!_0x14506c[_0x5802c6(0x12a)](_0x279ade));for(const _0x48056b of _0x14506c)_0x48056b[_0x5802c6(0x113)]=_0x5802c6(0x163)in _0x4457dc&&_0x4457dc[_0x5802c6(0x163)]||void 0x0;H(_0x14506c,_0x4457dc[_0x5802c6(0x192)]-_0x14506c[_0x5802c6(0x132)]),this[_0x5802c6(0x10f)](_0x14506c);const _0x2b14cb=_0x14506c[_0x5802c6(0x18d)](_0x4f182e=>{const _0xa5f6ee=_0x5802c6;if(!_0x4f182e[_0xa5f6ee(0x1ba)])return!0x1;const _0x332d62=this[_0xa5f6ee(0xee)](_0x4f182e);return _0x332d62&&!this[_0xa5f6ee(0xd9)][_0xa5f6ee(0x134)](_0x332d62);});H(_0x2b14cb,this[_0x5802c6(0x1ac)][_0x5802c6(0x192)]),this[_0x5802c6(0x143)](_0x2b14cb),_0x1622e8=!0x0,this[_0x5802c6(0x115)]=this[_0x5802c6(0x188)];}else{const _0x5b0132=this[_0x5802c6(0xe4)](_0x4457dc[_0x5802c6(0x1a2)],_0x4457dc[_0x5802c6(0x125)])[_0x5802c6(0x18d)](_0x2d2a50=>_0x2d2a50[_0x5802c6(0x1c3)]>=this[_0x5802c6(0x153)]);_0x5b0132[_0x5802c6(0x107)](_0x337d69=>this[_0x5802c6(0x195)](_0x337d69)),this[_0x5802c6(0x137)]=this[_0x5802c6(0x137)][_0x5802c6(0x18d)](_0x12592b=>!_0x12592b[_0x5802c6(0x1ba)]||!this[_0x5802c6(0xd9)][_0x5802c6(0x134)](this[_0x5802c6(0xee)](_0x12592b))),this[_0x5802c6(0x137)][_0x5802c6(0x132)]&&H(this[_0x5802c6(0x137)],this[_0x5802c6(0x137)][0x0][_0x5802c6(0x1c3)]),await this[_0x5802c6(0x140)](_0x5b0132),_0x1622e8=this[_0x5802c6(0x14a)](_0x5b0132,_0x4457dc[_0x5802c6(0x192)],_0x4457dc[_0x5802c6(0xf0)]),this[_0x5802c6(0x115)]=Math[_0x5802c6(0xec)](this[_0x5802c6(0x115)]/0x2);}return _0x1622e8?!this[_0x5802c6(0x18e)]()||(this[_0x5802c6(0x1b3)](!0x0),!0x1):this[_0x5802c6(0x173)](_0x5802c6(0x117));}[_0x2f2af6(0x14a)](_0x3737b8,_0xd5da9b,_0xe8ecff){const _0x172cff=_0x2f2af6;try{const _0x13b2d3={'document':this[_0x172cff(0x1ac)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4a155f,operationsB:_0x2a1bb2,originalOperations:_0x571d0b}=_0x2d130a(_0x3737b8,this[_0x172cff(0x137)],_0x13b2d3);H(_0x4a155f,this[_0x172cff(0x1ac)][_0x172cff(0x192)]),H(_0x2a1bb2,_0xd5da9b);for(const _0x393575 of _0x4a155f){const _0xe2e53d=_0x571d0b[_0x172cff(0x175)](_0x393575);_0x393575[_0x172cff(0xf3)]=_0xe2e53d?_0xe2e53d[_0x172cff(0xf3)]:null;}_0xe8ecff&&(this[_0x172cff(0x17c)][_0x172cff(0x1bc)](_0x3737b8,_0xe8ecff),this[_0x172cff(0xe6)]=_0xe8ecff),this[_0x172cff(0x137)]=[..._0x2a1bb2],this[_0x172cff(0x143)](_0x4a155f),this[_0x172cff(0x10f)](_0x3737b8);}catch(_0xd5e8e6){return console[_0x172cff(0x14d)](_0xd5e8e6),!0x1;}return!0x0;}[_0x2f2af6(0x143)](_0x3264fd,_0x1a3619=!0x1){const _0x3f5913=_0x2f2af6;this[_0x3f5913(0x189)][_0x3f5913(0x178)][_0x3f5913(0xfe)]({'isUndoable':!0x1,'isLocal':!0x1},_0x136966=>{const _0x59c2ae=_0x3f5913;for(const _0x18d20f of _0x3264fd)this[_0x59c2ae(0xd4)][_0x59c2ae(0x1c6)](_0x18d20f),this[_0x59c2ae(0x195)](_0x18d20f),_0x136966[_0x59c2ae(0x14b)][_0x59c2ae(0x167)](_0x18d20f),this[_0x59c2ae(0x189)][_0x59c2ae(0x178)][_0x59c2ae(0x108)](_0x18d20f);});}[_0x2f2af6(0x195)](_0x338c43){const _0x1e067a=_0x2f2af6,_0xb01aea=this[_0x1e067a(0xee)](_0x338c43);_0xb01aea&&this[_0x1e067a(0xd9)][_0x1e067a(0x1c6)](_0xb01aea);}[_0x2f2af6(0xee)](_0x5012da){const _0x249303=_0x2f2af6;let _0x511fa1,_0x269f5b;switch(_0x5012da[_0x249303(0x13b)]){case _0x249303(0x152):_0x511fa1=_0x5012da[_0x249303(0xe2)][_0x249303(0x16a)];break;case _0x249303(0x11d):if(_0x269f5b=_0x5012da[_0x249303(0xf2)],!_0x269f5b)return null;_0x511fa1=_0x269f5b[_0x249303(0x16a)];break;case _0x249303(0x1be):_0x511fa1=_0x5012da[_0x249303(0x16a)];break;case _0x249303(0x19e):_0x511fa1=_0x5012da[_0x249303(0x1b8)];break;case _0x249303(0x15c):_0x511fa1=_0x5012da[_0x249303(0x162)][_0x249303(0x16a)];break;default:return null;}return _0x511fa1[_0x249303(0x17a)];}[_0x2f2af6(0x10f)](_0x4acee5){const _0x639a3f=_0x2f2af6;_0x4acee5[_0x639a3f(0x107)](_0x30b648=>{const _0x182c76=_0x639a3f,_0x44204a=_0x30b648[_0x182c76(0x121)]();_0x44204a[_0x182c76(0xf3)]=_0x30b648[_0x182c76(0xf3)],_0x44204a[_0x182c76(0x1ba)]=!!_0x30b648[_0x182c76(0x1ba)],_0x44204a[_0x182c76(0x113)]=_0x30b648[_0x182c76(0x113)],_0x44204a[_0x182c76(0x1c3)]+=this[_0x182c76(0x1b7)],_0x30b648[_0x182c76(0x1c2)]&&this[_0x182c76(0x119)][_0x182c76(0x1c6)](_0x44204a),this[_0x182c76(0x131)][_0x182c76(0x167)](_0x44204a);});}[_0x2f2af6(0xd7)](_0x5cf4ce){const _0x33366c=_0x2f2af6,_0x4a0bd5=this[_0x33366c(0x189)][_0x33366c(0x1c5)][_0x33366c(0x175)](_0x33366c(0x10d)),_0x15d354=this[_0x33366c(0x189)][_0x33366c(0x19c)];_0x5cf4ce||(_0x5cf4ce=_0x21ddee(_0x15d354,_0x33366c(0x164))),_0x4a0bd5[_0x33366c(0x10b)](_0x5cf4ce,{'title':_0x21ddee(_0x15d354,_0x33366c(0x1a4)),'namespace':_0x33366c(0xdb)}),this[_0x33366c(0x12b)]=!0x0,clearTimeout(this[_0x33366c(0x1b5)]),this[_0x33366c(0x137)]=[],this[_0x33366c(0x189)][_0x33366c(0x1c5)][_0x33366c(0x175)](_0x2fccdc)[_0x33366c(0x17d)]();}[_0x2f2af6(0x161)](){const _0x20ff4d=_0x2f2af6;this[_0x20ff4d(0x154)]||(this[_0x20ff4d(0x154)]=this[_0x20ff4d(0x189)][_0x20ff4d(0x1c5)][_0x20ff4d(0x175)](_0x10b177)[_0x20ff4d(0x1c6)](_0x21ddee(this[_0x20ff4d(0x189)][_0x20ff4d(0x19c)],_0x20ff4d(0x151))));}[_0x2f2af6(0xff)](){const _0x36f6db=_0x2f2af6;this[_0x36f6db(0x154)]&&(this[_0x36f6db(0x189)][_0x36f6db(0x1c5)][_0x36f6db(0x175)](_0x10b177)[_0x36f6db(0x111)](this[_0x36f6db(0x154)]),this[_0x36f6db(0x154)]=null);}[_0x2f2af6(0x1b0)](_0x4a7952){const _0x44b7ea=_0x2f2af6,_0x4b4fb6=_0x4a7952[_0x44b7ea(0x13a)](_0x33ebcf=>_0x33ebcf[_0x44b7ea(0x126)]());return this[_0x44b7ea(0x100)][_0x44b7ea(0x16c)](_0x4b4fb6);}[_0x2f2af6(0xe4)](_0x2386d9,_0x785d1c){const _0x35dd04=_0x2f2af6;return this[_0x35dd04(0x100)][_0x35dd04(0x165)](_0x2386d9)[_0x35dd04(0x13a)]((_0x358fd4,_0x4a6069)=>{const _0xd0de05=_0x35dd04,_0x4ebfff=_0xd0de05(0x182)==_0x785d1c[_0x4a6069][_0xd0de05(0x13b)];if(_0xd0de05(0x1b6)==_0x358fd4[_0xd0de05(0x124)]){const _0xe869e4=_0x358fd4[_0xd0de05(0xe2)][_0xd0de05(0x16a)];!this[_0xd0de05(0x1ac)][_0xd0de05(0xef)](_0xe869e4)&&(this[_0xd0de05(0x1ac)][_0xd0de05(0x110)](_0xd0de05(0xe8),_0xe869e4)[_0xd0de05(0x145)]=!0x1);}const _0x5cc172=_0x386dea[_0xd0de05(0x11e)](_0x358fd4,this[_0xd0de05(0x1ac)]);return _0x5cc172[_0xd0de05(0xea)]=_0x358fd4[_0xd0de05(0xea)],_0x5cc172[_0xd0de05(0x1ba)]=_0x4ebfff,_0x5cc172[_0xd0de05(0xf3)]=_0x4ebfff?null:_0x785d1c[_0x4a6069][_0xd0de05(0x128)],_0x5cc172[_0xd0de05(0x1c2)]=_0xd0de05(0x1c9)===_0x785d1c[_0x4a6069][_0xd0de05(0x13b)],_0x5cc172[_0xd0de05(0x113)]=_0x785d1c[_0x4a6069][_0xd0de05(0x113)],_0x5cc172;});}[_0x2f2af6(0x17f)](){const _0x290ab1=_0x2f2af6;this[_0x290ab1(0x19a)]=!0x0,this[_0x290ab1(0xd1)]()?this[_0x290ab1(0x1b3)]():this[_0x290ab1(0x19a)]=!0x1;}[_0x2f2af6(0xd1)](){const _0x2ed8c6=_0x2f2af6,_0x2317aa=this[_0x2ed8c6(0x189)][_0x2ed8c6(0x1c5)][_0x2ed8c6(0x175)](_0x3bef22)[_0x2ed8c6(0x1b9)][_0x2ed8c6(0x175)](this[_0x2ed8c6(0x139)]);return!this[_0x2ed8c6(0x189)][_0x2ed8c6(0x199)]&&!!_0x2317aa&&_0x2317aa[_0x2ed8c6(0x132)]>0x1&&this[_0x2ed8c6(0x19a)];}[_0x2f2af6(0x18e)](){const _0x1991f6=_0x2f2af6;return this[_0x1991f6(0x137)][_0x1991f6(0x132)]>0x0||this[_0x1991f6(0xd1)]();}}export default l;class z extends Error{}function H(_0x359426,_0x17e3e6){const _0x311b5f=_0x2f2af6;for(const _0x3edc2b of _0x359426)_0x3edc2b[_0x311b5f(0x1c3)]=_0x17e3e6++;}class V{[_0x2f2af6(0x196)];[_0x2f2af6(0x138)];constructor(_0xd5436d){const _0x1bdc8e=_0x2f2af6;this[_0x1bdc8e(0x196)]=_0xd5436d,this[_0x1bdc8e(0x138)]=new WeakMap();}[_0x2f2af6(0x172)](_0x59c95d){const _0x57761a=_0x2f2af6;let _0x5de757=_0x59c95d[_0x57761a(0x132)];for(;_0x5de757--;){const _0x17a779=_0x59c95d[_0x5de757];if(!this[_0x57761a(0x196)][_0x57761a(0x134)](_0x17a779)){if(!this[_0x57761a(0x138)][_0x57761a(0x134)](_0x17a779)){const _0x26ca53=_0x5d7825()[_0x57761a(0x155)](0x1,0x12);this[_0x57761a(0x138)][_0x57761a(0xf4)](_0x17a779,_0x26ca53);}return this[_0x57761a(0x138)][_0x57761a(0x175)](_0x17a779);}}}[_0x2f2af6(0x1bc)](_0xec1700,_0x522160){const _0x535173=_0x2f2af6;if(!_0x522160)return;let _0x338864=_0xec1700[_0x535173(0x132)];for(;_0x338864--;){const _0x3a2e5a=_0xec1700[_0x338864];this[_0x535173(0x196)][_0x535173(0x134)](_0x3a2e5a)||this[_0x535173(0x138)][_0x535173(0xf4)](_0x3a2e5a,_0x522160);}}}
|
|
23
|
+
const _0x3cc1d2=_0x29b6;(function(_0x5338f1,_0x1c5721){const _0xdd60b2=_0x29b6,_0x327990=_0x5338f1();while(!![]){try{const _0x1c0adb=parseInt(_0xdd60b2(0xc2))/0x1*(parseInt(_0xdd60b2(0x172))/0x2)+-parseInt(_0xdd60b2(0x183))/0x3*(parseInt(_0xdd60b2(0x175))/0x4)+-parseInt(_0xdd60b2(0xab))/0x5*(-parseInt(_0xdd60b2(0xa6))/0x6)+parseInt(_0xdd60b2(0x98))/0x7*(parseInt(_0xdd60b2(0x169))/0x8)+-parseInt(_0xdd60b2(0x148))/0x9*(-parseInt(_0xdd60b2(0xb8))/0xa)+parseInt(_0xdd60b2(0xe0))/0xb*(-parseInt(_0xdd60b2(0x184))/0xc)+-parseInt(_0xdd60b2(0x141))/0xd;if(_0x1c0adb===_0x1c5721)break;else _0x327990['push'](_0x327990['shift']());}catch(_0x3e60b8){_0x327990['push'](_0x327990['shift']());}}}(_0x1a51,0x8346a));function _0x1a51(){const _0x591507=['_isInit','lastDocumentSession','_bufferedOperations','forEach','collaboration','145423ClAUuS','differ','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_isDisconnection','affectsData','removeFromReconnectionStack','document','move','enableReadOnlyMode','getDocumentDetails','_service','realtimecollaborationclient-error','getMany','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','serverHistory','getOperations','end','applyOperation','_disconnectionOperations','Synchronization\x20issue','_crash','_sendBufferedOperations','realtimecollaborationclient-sendbufferedoperations','_shouldSendUpdate','entries','unregister','isUndoneOperation','_updateServerHistory','_saveOperationInBuffer','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','716551hKjZOf','createRange','_initSessionsHandling','_initThrowingOnDataSet','connect','rootsAttributes','_authorId','_operationToId','size','isPremiumPlugin','createUserMarkerOperations','InsertOperation','sessionId','high','multi-root-editor-root-attributes-no-root','isDocumentOperation','change:range','cloudDocumentVersion','lastOperationId','loadRoot','realtimecollaborationclient','real-time-collaboration','batch','plugins','_handleSendingSelectionMarkers','sessionCreatedAt','_knownRootNames','disconnected','finally','_document','_shouldSendSelectionUpdate','_hasSelectionChanged','marker','setIdForTheLastOperation','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.','rtc-destroyed','getRoot','operationsReceived','off','isReadOnly','collaboration.channelId','return','_isLoaded','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','push','_bufferRootLoad','version','CommentsOnly','permissions','round','_sendBufferedOperationsDelayId','slice','addOperation','destroy','model','parse','_currentBufferDelay','getOperationAuthor','_addKnownRoot','attributes','_lastSyncedOperationId','_setPendingAction','keys','wasUndone','_operationIdentifier','addUser','init','map','change:_isEditingAllowed','then','_ignoredOperations','createdAt','channelSessions','from','has','string','data','isEnabled','change:hasDomSelection','showWarning','state','_applyOperationsSet','_lastServerVersion','clone','_handleReconnectionResponse','position','editor','connection','_loadRoot','realtimecollaborationclient-init-document-already-initialized','_getOperationsFromInitData','stopListening','roots','set','Notification','add','CollaborativeEditingService','8949642qFBRml','toJSON','_isEditingAllowed','error','editing','fire','suppressErrorInCollaboration','3196971wbiqdy','realtimecollaborationclient-init-session-connection-error','code','_connectService','sendOperations','history','fromJSON','_decompressOperations','rootName','document:write','lastSyncVersion','__className','realtimecollaborationclient-init-service-internal-error','_handleReconnectionError','_fetchMissingUsers','lastOperationAcceptedAt','_isConnected','markers','selection','_refreshUserSelectionMarkers','config','register','catch','get','_handleExternalOperations','Permissions','_handleReceivedOperations','isOfficialPlugin','realtimecollaborationclient-init-service-incorrect-server-operation','mySessionId','_connectAfterSessionHasBeenFlushed','_knownOperations','sessionAdd:','30696JOogrO','rtc-offline','setPermissions','targetPosition','listenTo','path','affectedSelectable','cloudServices.bundleVersion','_offset','6etrJNU','_disconnectService','reconnect','356YJQHwL','start','locale','addRootAttribute','apply','baseVersion','_handleServerResponse','offset','PENDING_ACTION_SENDING_DATA','view','compress','_isPendingUpdate','realtimecollaborationclient-init-connection-failed','currentDocumentSession','13569jSOPwD','192YvMunN','insert','addRoot','_setUpDataInit','_compressor','reset','bind','_waitUntilSynced','filter','createPositionAt','startsWith','_isAttached','change:_isPendingUpdate','directChange','addToReconnectionStack','_hasSynchronizationProblem','includes','type','_sendBufferedOperationsDelayed','userId','enqueueChange','createRoot','ready','_baseBufferDelay','409','length','disableReadOnlyMode','createPositionFromPath','message','1470gHBQmt','_handleInitialConnectionData','pluginName','_getAffectedRoot','$root','root','newRange','realtimecollaborationclient-handleserverresponse','_channelId','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.','getUser','metadata','_clearPendingAction','_compressOperations','18cQVRjz','RealTimeCollaborationClient','connected','getIdOfTheLastOperation','wereChangesApplied','1789475ORgQIG','cloud-services-internal-error:\x20Request\x20timeout.','stop','remove','collaboration-missing-channelid','define','getConnectedSessions','cs:removeUser','initData','cloud-services-internal-error:\x20Not\x20connected.','decompress','reconnection:\x20flushed\x20session','404','10YrCSWB','disconnect','requires','realtimecollaborationclient-init-non-existent-root','_pendingAction'];_0x1a51=function(){return _0x591507;};return _0x1a51();}import{Plugin as _0x99f2f0,PendingActions as _0x174f4c}from'ckeditor5/src/core.js';function _0x29b6(_0x2ef8fb,_0x35a231){const _0x1a514c=_0x1a51();return _0x29b6=function(_0x29b6b2,_0x5bd394){_0x29b6b2=_0x29b6b2-0x87;let _0x594237=_0x1a514c[_0x29b6b2];return _0x594237;},_0x29b6(_0x2ef8fb,_0x35a231);}import{CKEditorError as _0x302b2d,version as _0x455929,uid as _0x525a66}from'ckeditor5/src/utils.js';import{Notification as _0x187e56}from'ckeditor5/src/ui.js';import{transformSets as _0x138b81,NoOperation as _0x4d54f6,InsertOperation as _0x4a3a65,MarkerOperation as _0x2467b5,RootAttributeOperation as _0x1ac4ef,OperationFactory as _0x33f2aa,History as _0xe8165b}from'ckeditor5/src/engine.js';import _0x42f097 from'./websocketgateway.js';import _0x280a30 from'./sessions.js';import _0x4887e4 from'./usermarkers.js';import{getTranslation as _0xc6776a}from'../common-translations.js';import{Compressor as _0x18a7c9}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x644a79}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x5a8b6a,CollaborativeEditingService as _0x4c7d6f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x99f2f0{static [_0x3cc1d2(0x140)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4c7d6f)());[_0x3cc1d2(0x171)];[_0x3cc1d2(0xec)];[_0x3cc1d2(0xd0)];[_0x3cc1d2(0xa0)];[_0x3cc1d2(0xcc)];[_0x3cc1d2(0xfd)];[_0x3cc1d2(0x188)];[_0x3cc1d2(0xbf)];[_0x3cc1d2(0x167)];[_0x3cc1d2(0xfa)];[_0x3cc1d2(0xbc)];[_0x3cc1d2(0xff)];[_0x3cc1d2(0x112)];[_0x3cc1d2(0x92)];[_0x3cc1d2(0x118)];[_0x3cc1d2(0x11c)];[_0x3cc1d2(0xd4)];[_0x3cc1d2(0x120)];static get[_0x3cc1d2(0xba)](){return[_0x42f097,_0x280a30,_0x4887e4,_0x174f4c,_0x644a79,_0x187e56];}static get[_0x3cc1d2(0x9a)](){const _0x35d82d=_0x3cc1d2;return _0x35d82d(0xa7);}static get[_0x3cc1d2(0x163)](){return!0x0;}static get[_0x3cc1d2(0xe9)](){return!0x0;}get[_0x3cc1d2(0xf1)](){const _0x51be22=_0x3cc1d2;return this[_0x51be22(0x132)]+this[_0x51be22(0x171)];}get[_0x3cc1d2(0x132)](){const _0x5c8ce9=_0x3cc1d2;return this[_0x5c8ce9(0xd0)][_0x5c8ce9(0x10e)]-this[_0x5c8ce9(0x171)];}get[_0x3cc1d2(0x152)](){const _0x3bd99c=_0x3cc1d2,_0x1cd032=this[_0x3bd99c(0xd0)][_0x3bd99c(0xd1)]();for(let _0x5e64a5=_0x1cd032[_0x3bd99c(0x94)]-0x1;_0x5e64a5>=0x0;_0x5e64a5--){const _0x1c07f9=_0x1cd032[_0x5e64a5];if(!this[_0x3bd99c(0xd4)][_0x3bd99c(0x12a)](_0x1c07f9))return _0x1c07f9[_0x3bd99c(0x17a)]+0x1-this[_0x3bd99c(0x171)];}return 0x0;}constructor(_0x5b1b00){const _0x555b00=_0x3cc1d2;if(super(_0x5b1b00),this[_0x555b00(0x171)]=0x0,this[_0x555b00(0xec)]=null,this[_0x555b00(0xd0)]=new _0xe8165b(),this[_0x555b00(0x136)][_0x555b00(0x15c)][_0x555b00(0xb0)](_0x555b00(0xc1),{}),this[_0x555b00(0xa0)]=this[_0x555b00(0x136)][_0x555b00(0x15c)][_0x555b00(0x15f)](_0x555b00(0x108)),!this[_0x555b00(0xa0)])throw new _0x302b2d(_0x555b00(0xaf),this);const _0x3aabe9=_0x5b1b00[_0x555b00(0x15c)][_0x555b00(0x15f)](_0x555b00(0x170))||_0x455929;this[_0x555b00(0xcc)]=new l[(_0x555b00(0x140))](_0x3aabe9,this[_0x555b00(0xa0)]),this[_0x555b00(0xfd)]=this[_0x555b00(0x136)][_0x555b00(0x116)][_0x555b00(0xc8)],this[_0x555b00(0x188)]=new _0x18a7c9(),this[_0x555b00(0xbf)]=[],this[_0x555b00(0x167)]=new WeakSet(),this[_0x555b00(0xfa)]=new Set(),this[_0x555b00(0x13d)](_0x555b00(0x180),!0x1),this[_0x555b00(0x13d)](_0x555b00(0x8a),!0x1),this[_0x555b00(0xbc)]=null,this[_0x555b00(0xff)]=!0x1,this[_0x555b00(0x112)]=null,this[_0x555b00(0x92)]=0x12c,this[_0x555b00(0x118)]=this[_0x555b00(0x92)],this[_0x555b00(0x11c)]=null,this[_0x555b00(0xd4)]=new WeakSet(),this[_0x555b00(0x120)]=new Y(this[_0x555b00(0xd4)]);}[_0x3cc1d2(0x122)](){const _0x2a8bae=_0x3cc1d2,_0x5d39df=this[_0x2a8bae(0x136)],_0x59384c=_0x5d39df[_0x2a8bae(0xf7)][_0x2a8bae(0x15f)](_0x644a79),_0x27e335=_0x5d39df[_0x2a8bae(0xf7)][_0x2a8bae(0x15f)](_0x42f097);this[_0x2a8bae(0x16d)](_0x59384c,_0x2a8bae(0x119),(_0x24fd7c,_0x1cd20a)=>{const _0x1faffa=_0x2a8bae,_0x29d196=_0x1cd20a[0x0];_0x29d196[_0x1faffa(0xe6)]&&(_0x24fd7c[_0x1faffa(0x109)]=_0x59384c[_0x1faffa(0xa2)](_0x29d196[_0x1faffa(0xe6)]),_0x24fd7c[_0x1faffa(0xad)]()),null===_0x29d196[_0x1faffa(0xe6)]&&(_0x24fd7c[_0x1faffa(0x109)]=null,_0x24fd7c[_0x1faffa(0xad)]());},{'priority':_0x2a8bae(0xed)}),this[_0x2a8bae(0x16d)](_0x5d39df[_0x2a8bae(0x116)][_0x2a8bae(0xc8)][_0x2a8bae(0x15a)],_0x2a8bae(0xf0),(_0x3248de,_0xedd5db)=>{const _0x1a043b=_0x2a8bae;_0xedd5db[_0x1a043b(0x88)]&&this[_0x1a043b(0x15b)]();}),this[_0x2a8bae(0x16d)](_0x5d39df[_0x2a8bae(0x145)][_0x2a8bae(0x17e)],_0x2a8bae(0x12e),()=>{const _0x43fbb3=_0x2a8bae;this[_0x43fbb3(0x15b)]();}),this[_0x2a8bae(0xe3)](),_0x5d39df[_0x2a8bae(0x116)]['on'](_0x2a8bae(0xd3),(_0x2507b4,_0x1d529f)=>{const _0x34cf1c=_0x2a8bae,_0x24a731=_0x1d529f[0x0];_0x24a731[_0x34cf1c(0xef)]&&(this[_0x34cf1c(0xde)](_0x24a731),this[_0x34cf1c(0xd9)]()&&this[_0x34cf1c(0x8d)]());}),this[_0x2a8bae(0x187)](),this[_0x2a8bae(0x18a)](_0x2a8bae(0x143))['to'](_0x27e335,_0x2a8bae(0x130),this,_0x2a8bae(0x8a),(_0x39857d,_0x41907a)=>_0x2a8bae(0xa8)===_0x39857d&&!_0x41907a),this['on'](_0x2a8bae(0x124),()=>{const _0x4c8d2c=_0x2a8bae;this[_0x4c8d2c(0x143)]?_0x5d39df[_0x4c8d2c(0x95)](_0x4c8d2c(0x16a)):_0x5d39df[_0x4c8d2c(0xca)](_0x4c8d2c(0x16a));}),this[_0x2a8bae(0x143)]?_0x5d39df[_0x2a8bae(0x95)](_0x2a8bae(0x16a)):_0x5d39df[_0x2a8bae(0xca)](_0x2a8bae(0x16a)),this[_0x2a8bae(0x13d)](_0x2a8bae(0x158),!0x1);}async[_0x3cc1d2(0x174)](){const _0x2cad3c=_0x3cc1d2,_0x428633=this[_0x2cad3c(0x136)][_0x2cad3c(0xf7)][_0x2cad3c(0x15f)](_0x280a30),_0x32fe9e=this[_0x2cad3c(0x136)][_0x2cad3c(0xf7)][_0x2cad3c(0x15f)](_0x42f097);try{this[_0x2cad3c(0x180)]=!0x0,_0x428633[_0x2cad3c(0xdb)](this[_0x2cad3c(0xa0)]);const _0x133a63=await this[_0x2cad3c(0xcc)][_0x2cad3c(0x174)](_0x32fe9e[_0x2cad3c(0x137)],this[_0x2cad3c(0x152)]);await this[_0x2cad3c(0x134)](_0x133a63)&&(this[_0x2cad3c(0x180)]=!0x1,this[_0x2cad3c(0xa4)]());const _0x41faca=await this[_0x2cad3c(0xcc)][_0x2cad3c(0xb1)]();_0x428633[_0x2cad3c(0x15d)](this[_0x2cad3c(0xa0)],_0x41faca),this[_0x2cad3c(0xf8)](),this[_0x2cad3c(0x158)]=!0x0;}catch(_0x46a1b6){if(function(_0x59ef8a){const _0xaa1969=_0x2cad3c;return _0xaa1969(0xb7)===_0x59ef8a[_0xaa1969(0x14a)];}(_0x46a1b6)&&this[_0x2cad3c(0xec)])await this[_0x2cad3c(0x166)]();else{if(function(_0x307ba9){const _0x428386=_0x2cad3c;return _0x428386(0x93)===_0x307ba9[_0x428386(0x14a)];}(_0x46a1b6)){const _0x266740=_0xc6776a(this[_0x2cad3c(0x136)][_0x2cad3c(0x177)],_0x2cad3c(0xdf));this[_0x2cad3c(0x155)](_0x266740);}else{if(!(_0x46a1b6 instanceof Q))throw _0x46a1b6;this[_0x2cad3c(0x155)]();}}}}[_0x3cc1d2(0x115)](){const _0x4aa891=_0x3cc1d2,_0x1fb91e=this[_0x4aa891(0x136)][_0x4aa891(0xf7)][_0x4aa891(0x15f)](_0x42f097),_0x1d4bb6=this[_0x4aa891(0x136)][_0x4aa891(0xf7)][_0x4aa891(0x15f)](_0x280a30);this[_0x4aa891(0x136)][_0x4aa891(0xca)](_0x4aa891(0x103)),_0x1d4bb6[_0x4aa891(0x128)][_0x4aa891(0x12a)](this[_0x4aa891(0xa0)])&&_0x1d4bb6[_0x4aa891(0xdb)](this[_0x4aa891(0xa0)]),_0x1fb91e[_0x4aa891(0xc7)](this),this[_0x4aa891(0x173)](),super[_0x4aa891(0x115)]();}async[_0x3cc1d2(0x134)](_0x5aca46){const _0x55fd19=_0x3cc1d2;if(this[_0x55fd19(0xec)]!==_0x5aca46[_0x55fd19(0xec)]&&this[_0x55fd19(0x11c)]!==_0x5aca46[_0x55fd19(0xf2)])throw new Q();return this[_0x55fd19(0xec)]=_0x5aca46[_0x55fd19(0xec)],this[_0x55fd19(0x17b)]([],{..._0x5aca46,'wereChangesApplied':!0x1,'data':_0x5aca46[_0x55fd19(0x12c)]},_0x55fd19(0x174));}async[_0x3cc1d2(0x14b)](_0xa8ca99,_0x5153f2=!0x1){const _0x30c780=_0x3cc1d2,{connection:_0x1f2c45}=this[_0x30c780(0x136)][_0x30c780(0xf7)][_0x30c780(0x15f)](_0x42f097);l[_0x30c780(0x140)][_0x30c780(0xb1)](_0x1f2c45,this[_0x30c780(0xa0)])[_0x30c780(0x125)](_0x35652e=>this[_0x30c780(0xe2)](_0x35652e))[_0x30c780(0x15e)](_0x45dc0c=>{const _0x23da24=_0x30c780;this[_0x23da24(0xd6)](_0x23da24(0x149),_0x45dc0c);}),this[_0x30c780(0x16d)](this[_0x30c780(0xcc)],_0x30c780(0x105),this[_0x30c780(0x162)][_0x30c780(0x18a)](this)),this[_0x30c780(0x16d)](this[_0x30c780(0xcc)],_0x30c780(0x144),(_0x335ea5,_0x31c7da)=>{const _0x55398a=_0x30c780;this[_0x55398a(0xd6)](_0x55398a(0x154),_0x31c7da);}),this[_0x30c780(0x16d)](this[_0x30c780(0xcc)],_0x30c780(0xfb),()=>{const _0x1dd774=_0x30c780;this[_0x1dd774(0x158)]=!0x1;});const _0x4194c3=this[_0x30c780(0x120)][_0x30c780(0xa9)](_0xa8ca99);this[_0x30c780(0x180)]=!0x0;const _0x205282=await this[_0x30c780(0xcc)][_0x30c780(0xe4)](_0x1f2c45,this[_0x30c780(0xa5)](_0xa8ca99),_0x4194c3);if(this[_0x30c780(0xec)]=_0x205282[_0x30c780(0xec)],_0x5153f2){if(!_0x205282[_0x30c780(0xaa)])return void this[_0x30c780(0x155)]();this[_0x30c780(0x180)]=!0x1,this[_0x30c780(0xa4)](),this[_0x30c780(0xd0)][_0x30c780(0x189)](),this[_0x30c780(0x171)]=_0x205282[_0x30c780(0x17c)],this[_0x30c780(0xd0)][_0x30c780(0x10e)]=this[_0x30c780(0x171)],await this[_0x30c780(0x17b)](_0xa8ca99,_0x205282,_0x30c780(0xb6));}else await this[_0x30c780(0x99)](_0x205282,_0xa8ca99);this[_0x30c780(0xf8)](),this[_0x30c780(0x158)]=!0x0;}[_0x3cc1d2(0xf8)](){const _0x34e788=_0x3cc1d2,_0x562921=this[_0x34e788(0x136)][_0x34e788(0xf7)][_0x34e788(0x15f)](_0x280a30),_0x33aa00=this[_0x34e788(0x136)][_0x34e788(0xf7)][_0x34e788(0x15f)](_0x4887e4),_0x4972d9=_0x562921[_0x34e788(0x128)][_0x34e788(0x15f)](this[_0x34e788(0xa0)]);_0x4972d9&&_0x4972d9[_0x34e788(0x94)]>0x1?_0x33aa00[_0x34e788(0xea)]():this[_0x34e788(0x16d)](_0x562921,_0x34e788(0x168)+this[_0x34e788(0xa0)],()=>{const _0x4900f5=_0x34e788;0x2===_0x562921[_0x4900f5(0x128)][_0x4900f5(0x15f)](this[_0x4900f5(0xa0)])[_0x4900f5(0x94)]&&_0x33aa00[_0x4900f5(0xea)]();});}async[_0x3cc1d2(0x162)](_0x4fd9af,_0x42be7d,_0x23ee79,_0x506b1b){const _0x35e10a=_0x3cc1d2;if(!this[_0x35e10a(0x180)]&&this[_0x35e10a(0xfd)][_0x35e10a(0x10e)]==_0x42be7d){const _0x94cc57=this[_0x35e10a(0x14f)](_0x23ee79,_0x506b1b);await this[_0x35e10a(0x156)](_0x94cc57),this[_0x35e10a(0x160)](_0x94cc57,_0x42be7d,_0x23ee79[_0x35e10a(0xf2)])||this[_0x35e10a(0xd6)](_0x35e10a(0x164));}}async[_0x3cc1d2(0x166)](){const _0x4837a7=_0x3cc1d2;this[_0x4837a7(0x173)]();const {locale:_0x401afb}=this[_0x4837a7(0x136)];let _0x4dac96;try{_0x4dac96=await this[_0x4837a7(0xcc)][_0x4837a7(0xcb)]();}catch(_0x42faee){const _0x15636e=_0xc6776a(_0x401afb,_0x4837a7(0xc4));return void this[_0x4837a7(0x155)](_0x15636e);}const _0x74a634=_0x4dac96[_0x4837a7(0x182)]||_0x4dac96[_0x4837a7(0xbe)];if(this[_0x4837a7(0x11c)]===_0x74a634[_0x4837a7(0xf2)])await this[_0x4837a7(0x14b)](this[_0x4837a7(0x136)][_0x4837a7(0x116)][_0x4837a7(0xc8)][_0x4837a7(0x14d)][_0x4837a7(0xd1)](),!0x0);else{const _0x509bcb=_0xc6776a(_0x401afb,_0x4837a7(0xa1));this[_0x4837a7(0x155)](_0x509bcb);}}[_0x3cc1d2(0x173)](){const _0x541dd3=_0x3cc1d2;this[_0x541dd3(0xcc)][_0x541dd3(0xb9)](),this[_0x541dd3(0xbf)]=[],clearTimeout(this[_0x541dd3(0x112)]),this[_0x541dd3(0x13b)](this[_0x541dd3(0xcc)]);}[_0x3cc1d2(0xe2)](_0x1a05c3){const _0x893617=_0x3cc1d2,_0x5d0b9a=this[_0x893617(0x136)][_0x893617(0xf7)][_0x893617(0x15f)](_0x280a30);this[_0x893617(0x16d)](_0x5d0b9a,_0x893617(0x168)+this[_0x893617(0xa0)],(_0x3f8b07,{session:_0x3ea35a})=>{const _0x59ec2d=_0x893617;if(_0x3ea35a['id']===_0x5d0b9a[_0x59ec2d(0x165)]){_0x3f8b07[_0x59ec2d(0x106)]();const _0x274e21=this[_0x59ec2d(0x136)][_0x59ec2d(0xf7)][_0x59ec2d(0x12a)](_0x59ec2d(0x10f))&&this[_0x59ec2d(0x136)][_0x59ec2d(0xf7)][_0x59ec2d(0x15f)](_0x59ec2d(0x10f));let _0x39dff9=_0x3ea35a[_0x59ec2d(0x110)];_0x274e21&&_0x274e21[_0x59ec2d(0x12d)]&&(_0x39dff9=_0x39dff9[_0x59ec2d(0x18c)](_0xf0f6cd=>_0x59ec2d(0x151)!==_0xf0f6cd)),this[_0x59ec2d(0x136)][_0x59ec2d(0xf7)][_0x59ec2d(0x15f)](_0x59ec2d(0x161))[_0x59ec2d(0x16b)](_0x39dff9,this[_0x59ec2d(0xa0)]);}}),_0x5d0b9a[_0x893617(0x15d)](this[_0x893617(0xa0)],_0x1a05c3);}[_0x3cc1d2(0xe3)](){const _0x2b6fc1=_0x3cc1d2,_0x3ad492=this[_0x2b6fc1(0x136)][_0x2b6fc1(0x12c)][_0x2b6fc1(0x13d)];this[_0x2b6fc1(0x136)][_0x2b6fc1(0x12c)][_0x2b6fc1(0x13d)]=(..._0x3da0ab)=>{const _0x6506c2=_0x2b6fc1;if(!_0x3da0ab[_0x3da0ab[_0x6506c2(0x94)]-0x1][_0x6506c2(0x147)])throw new _0x302b2d(_0x6506c2(0x10b),this);_0x3ad492[_0x6506c2(0x179)](this[_0x6506c2(0x136)][_0x6506c2(0x12c)],_0x3da0ab);};}[_0x3cc1d2(0x187)](){const _0x5293db=_0x3cc1d2;this[_0x5293db(0x136)][_0x5293db(0x12c)]['on'](_0x5293db(0x122),(_0xd53aa5,[_0x4326c8])=>{const _0x3c9c82=_0x5293db;if(this[_0x3c9c82(0xfd)][_0x3c9c82(0x10e)])throw new _0x302b2d(_0x3c9c82(0x139),this);_0xd53aa5[_0x3c9c82(0xad)](),this[_0x3c9c82(0x11d)]();const _0x4d5155=this[_0x3c9c82(0x136)][_0x3c9c82(0x15c)][_0x3c9c82(0x15f)](_0x3c9c82(0xe5)),_0x269e9d=this[_0x3c9c82(0x13a)](_0x4326c8,_0x4d5155);0x0==_0x269e9d[_0x3c9c82(0x94)]&&_0x269e9d[_0x3c9c82(0x10c)](new _0x4d54f6(0x0)),_0xd53aa5[_0x3c9c82(0x109)]=this[_0x3c9c82(0x14b)](_0x269e9d)[_0x3c9c82(0x125)](()=>{const _0x37c048=_0x3c9c82;this[_0x37c048(0x136)][_0x37c048(0xf7)][_0x37c048(0x15f)](_0x42f097)[_0x37c048(0x89)](this),this[_0x37c048(0x136)][_0x37c048(0x12c)][_0x37c048(0x146)](_0x37c048(0x91));})[_0x3c9c82(0x15e)](_0x8a83e6=>this[_0x3c9c82(0xd6)](_0x3c9c82(0x181),_0x8a83e6))[_0x3c9c82(0xfc)](()=>this[_0x3c9c82(0xa4)]());},{'priority':_0x5293db(0xed)}),this[_0x5293db(0x136)]['on'](_0x5293db(0xf3),async(_0x7677f6,[_0x188338,_0xfdfb73])=>{const _0x5390d1=_0x5293db;_0x7677f6[_0x5390d1(0xad)]();const _0x3ef7fe=this[_0x5390d1(0x136)][_0x5390d1(0x116)][_0x5390d1(0xc8)][_0x5390d1(0x104)](_0x188338);if(!this[_0x5390d1(0xfa)][_0x5390d1(0x12a)](_0x188338)){const _0x21eea2=_0xfdfb73&&_0xfdfb73[_0x5390d1(0x12c)]?_0xfdfb73[_0x5390d1(0x12c)]:'',_0x2181cc=_0xfdfb73&&_0xfdfb73[_0x5390d1(0x11b)]?_0xfdfb73[_0x5390d1(0x11b)]:{};await this[_0x5390d1(0x138)](_0x188338,_0x21eea2,_0x2181cc);}this[_0x5390d1(0x136)][_0x5390d1(0x116)][_0x5390d1(0x8f)]({'isUndoable':!0x1},()=>{const _0x46131a=_0x5390d1;_0x3ef7fe[_0x46131a(0x10a)]=!0x0,this[_0x46131a(0x136)][_0x46131a(0x116)][_0x46131a(0xc8)][_0x46131a(0xc3)][_0x46131a(0x10d)](_0x3ef7fe);});},{'priority':_0x5293db(0xed)});}async[_0x3cc1d2(0x156)](_0x109053){const _0x179625=_0x3cc1d2,_0x148628=this[_0x179625(0x136)][_0x179625(0xf7)][_0x179625(0x15f)](_0x644a79),{connection:_0xff1348}=this[_0x179625(0x136)][_0x179625(0xf7)][_0x179625(0x15f)](_0x42f097),_0x27f85a=new Set();for(const _0x10db25 of _0x109053){const _0x2f2bc7=_0x10db25[_0x179625(0xe6)];_0x2f2bc7&&!_0x148628[_0x179625(0xa2)](_0x2f2bc7)&&_0x27f85a[_0x179625(0x13f)](_0x2f2bc7);}if(0x0===_0x27f85a[_0x179625(0xe8)])return;const _0xac3bed=await _0x5a8b6a[_0x179625(0xce)](_0xff1348,Array[_0x179625(0x129)](_0x27f85a));for(const _0x3fc651 of _0xac3bed)_0x148628[_0x179625(0xa2)](_0x3fc651['id'])||_0x148628[_0x179625(0x121)](_0x3fc651);}[_0x3cc1d2(0x13a)](_0x261289,_0x5c4192={}){const _0x2b5b5c=_0x3cc1d2,_0x6f444d=this[_0x2b5b5c(0x136)][_0x2b5b5c(0x116)],_0x547937=[];let _0x31bfbc=0x0;const _0x1ac379=_0x2b5b5c(0x12b)==typeof _0x261289?{'main':_0x261289}:_0x261289;for(const _0x4077a6 of Object[_0x2b5b5c(0x11e)](_0x1ac379)){if(!this[_0x2b5b5c(0xfd)][_0x2b5b5c(0x13c)][_0x2b5b5c(0x12a)](_0x4077a6))throw new _0x302b2d(_0x2b5b5c(0xbb),this);const _0x4d7267=this[_0x2b5b5c(0x136)][_0x2b5b5c(0x12c)][_0x2b5b5c(0x117)](_0x1ac379[_0x4077a6]),_0x102b14=this[_0x2b5b5c(0xfd)][_0x2b5b5c(0x104)](_0x4077a6),_0x5e8167=new _0x4a3a65(_0x6f444d[_0x2b5b5c(0x18d)](_0x102b14,0x0),_0x4d7267,_0x31bfbc++);_0x547937[_0x2b5b5c(0x10c)](_0x5e8167);for(const [_0x47793e,_0x2e7a7c]of _0x4d7267[_0x2b5b5c(0x159)]){const _0x3b60dc=_0x6f444d[_0x2b5b5c(0xe1)](_0x6f444d[_0x2b5b5c(0x96)](_0x102b14,_0x2e7a7c[_0x2b5b5c(0x176)][_0x2b5b5c(0x16e)][_0x2b5b5c(0x113)]()),_0x6f444d[_0x2b5b5c(0x96)](_0x102b14,_0x2e7a7c[_0x2b5b5c(0xd2)][_0x2b5b5c(0x16e)][_0x2b5b5c(0x113)]())),_0x2b7099=new _0x2467b5(_0x47793e,null,_0x3b60dc,_0x6f444d[_0x2b5b5c(0x159)],!0x0,_0x31bfbc++);_0x547937[_0x2b5b5c(0x10c)](_0x2b7099);}}if(_0x5c4192)for(const [_0xf30039,_0x4d9ccc]of Object[_0x2b5b5c(0xda)](_0x5c4192)){const _0x1e6b36=_0x6f444d[_0x2b5b5c(0xc8)][_0x2b5b5c(0x104)](_0xf30039);if(!_0x1e6b36)throw new _0x302b2d(_0x2b5b5c(0xee),null);for(const [_0x19722d,_0xbae685]of Object[_0x2b5b5c(0xda)](_0x4d9ccc))if(null!==_0xbae685){const _0x1d2083=new _0x1ac4ef(_0x1e6b36,_0x19722d,null,_0xbae685,_0x31bfbc++);_0x547937[_0x2b5b5c(0x10c)](_0x1d2083);}}return _0x547937;}async[_0x3cc1d2(0x138)](_0x2eb47b,_0x38b1ac,_0x3d8909){const _0x3c407d=_0x3cc1d2;this[_0x3c407d(0x13a)]({[_0x2eb47b]:_0x38b1ac},{[_0x2eb47b]:_0x3d8909})[_0x3c407d(0xc0)]((_0x55d22a,_0x30c8ed)=>{const _0x42c94b=_0x3c407d;_0x55d22a[_0x42c94b(0x17a)]=this[_0x42c94b(0xfd)][_0x42c94b(0x10e)]+_0x30c8ed,_0x55d22a[_0x42c94b(0xbd)]=!0x0,this[_0x42c94b(0xde)](_0x55d22a);}),this[_0x3c407d(0x8d)](),await this[_0x3c407d(0x18b)]();}async[_0x3cc1d2(0x99)](_0x93c506,_0xec8a98){const _0x22d29b=_0x3cc1d2;let _0x42ed2e;this[_0x22d29b(0x171)]=_0x93c506[_0x22d29b(0x17c)];const _0xe3ccf0=_0x93c506[_0x22d29b(0xaa)]&&!_0x93c506[_0x22d29b(0xb3)],_0x25a7b1=_0xe3ccf0?0x0:_0x93c506[_0x22d29b(0x12c)][_0x22d29b(0x17a)];if(_0xec8a98[_0x22d29b(0xc0)](_0x19c6ee=>{const _0x4e8b8c=_0x22d29b;_0x19c6ee[_0x4e8b8c(0xbd)]=!0x0,_0x19c6ee[_0x4e8b8c(0x127)]=_0x93c506[_0x4e8b8c(0xf9)],_0x19c6ee[_0x4e8b8c(0xe6)]=null;}),_0xe3ccf0)_0x42ed2e=_0xec8a98,this[_0x22d29b(0x131)](_0x42ed2e,_0xe3ccf0);else{if(_0x93c506[_0x22d29b(0xb3)]){const _0x28b44f=this[_0x22d29b(0x13a)](_0x93c506[_0x22d29b(0xb3)]);this[_0x22d29b(0xfd)][_0x22d29b(0x14d)][_0x22d29b(0x10e)]=-_0x28b44f[_0x22d29b(0x94)],_0x28b44f[_0x22d29b(0xc0)](_0x5d05ff=>{const _0x1b5f50=_0x22d29b;_0x5d05ff[_0x1b5f50(0x17a)]-=_0x28b44f[_0x1b5f50(0x94)],_0x5d05ff[_0x1b5f50(0x127)]=_0x93c506[_0x1b5f50(0xf9)],_0x5d05ff[_0x1b5f50(0xbd)]=!0x0,_0x5d05ff[_0x1b5f50(0xe6)]=null;}),this[_0x22d29b(0x131)](_0x28b44f,!0x0),this[_0x22d29b(0xd0)][_0x22d29b(0x10e)]=-_0x28b44f[_0x22d29b(0x94)]+this[_0x22d29b(0x171)],this[_0x22d29b(0xdd)](_0x28b44f);}this[_0x22d29b(0xfd)][_0x22d29b(0x14d)][_0x22d29b(0x10e)]=_0x25a7b1,_0x42ed2e=this[_0x22d29b(0x14f)](_0x93c506[_0x22d29b(0x12c)],_0x93c506[_0x22d29b(0xa3)]),await this[_0x22d29b(0x156)](_0x42ed2e),this[_0x22d29b(0x131)](_0x42ed2e,_0xe3ccf0);}_0x93c506[_0x22d29b(0xf2)]&&(this[_0x22d29b(0x120)][_0x22d29b(0x101)](_0x42ed2e,_0x93c506[_0x22d29b(0xf2)]),this[_0x22d29b(0x11c)]=_0x93c506[_0x22d29b(0xf2)]),this[_0x22d29b(0xd0)][_0x22d29b(0x10e)]=_0x25a7b1+this[_0x22d29b(0x171)],this[_0x22d29b(0xdd)](_0x42ed2e),_0xec8a98[_0x22d29b(0x18c)](_0x5646aa=>{const _0x553f24=_0x22d29b,_0x57e65d=this[_0x553f24(0x9b)](_0x5646aa);return _0x57e65d&&!this[_0x553f24(0xfa)][_0x553f24(0x12a)](_0x57e65d);})[_0x22d29b(0xc0)]((_0x139de2,_0xad46ba)=>{const _0x424c5b=_0x22d29b;_0x139de2[_0x424c5b(0x17a)]=this[_0x424c5b(0xfd)][_0x424c5b(0x10e)]+_0xad46ba,this[_0x424c5b(0xde)](_0x139de2);}),this[_0x22d29b(0xd9)]()?(this[_0x22d29b(0x118)]=0x0,this[_0x22d29b(0x8d)](!0x0),await this[_0x22d29b(0x18b)]()):(this[_0x22d29b(0x180)]=!0x1,this[_0x22d29b(0xa4)]());}[_0x3cc1d2(0xd6)](_0x478297,_0xc66ecf){const _0x14b5bf=_0x3cc1d2,_0x92407f=_0xc66ecf&&_0xc66ecf[_0x14b5bf(0x97)];if(_0x92407f&&_0x92407f[_0x14b5bf(0x18e)](_0x14b5bf(0xf4)))throw _0xc66ecf;const _0x5a6680=this[_0x14b5bf(0x136)][_0x14b5bf(0xf7)][_0x14b5bf(0x15f)](_0x42f097);throw this[_0x14b5bf(0x180)]=!0x0,_0x5a6680[_0x14b5bf(0xb9)](),this[_0x14b5bf(0x136)][_0x14b5bf(0xca)](_0x14b5bf(0xcd)),new _0x302b2d(_0x478297,this[_0x14b5bf(0x136)],_0x92407f?{'originalError':_0x92407f}:void 0x0);}[_0x3cc1d2(0xde)](_0x5389a2){const _0x5752c6=_0x3cc1d2;this[_0x5752c6(0x167)][_0x5752c6(0x12a)](_0x5389a2)||(this[_0x5752c6(0x167)][_0x5752c6(0x13f)](_0x5389a2),this[_0x5752c6(0xbf)][_0x5752c6(0x10c)](_0x5389a2),this[_0x5752c6(0xbc)]||_0x5752c6(0x100)==_0x5389a2[_0x5752c6(0x8c)]&&!_0x5389a2[_0x5752c6(0xc6)]||this[_0x5752c6(0x11d)]());}[_0x3cc1d2(0x8d)](_0x400bb5=!0x1){const _0xae68ca=_0x3cc1d2;!_0x400bb5&&this[_0xae68ca(0x180)]||(this[_0xae68ca(0x180)]=!0x0,clearTimeout(this[_0xae68ca(0x112)]),this[_0xae68ca(0x112)]=setTimeout(()=>{const _0x2e6602=_0xae68ca;this[_0x2e6602(0xd7)]()[_0x2e6602(0x125)](_0x2d2f48=>{const _0x26598c=_0x2e6602;_0x2d2f48&&(this[_0x26598c(0xa4)](),this[_0x26598c(0x180)]=!0x1);})[_0x2e6602(0x15e)](_0xe61680=>{const _0x24bfc8=_0x2e6602;this[_0x24bfc8(0xa4)](),this[_0x24bfc8(0x180)]=!0x1,function(_0x55544b){const _0x5d09d3=_0x24bfc8;return _0x55544b[_0x5d09d3(0x97)][_0x5d09d3(0x18e)](_0x5d09d3(0xb4))||_0x55544b[_0x5d09d3(0x97)][_0x5d09d3(0x18e)](_0x5d09d3(0xcf))||_0x55544b[_0x5d09d3(0x97)][_0x5d09d3(0x18e)](_0x5d09d3(0xac));}(_0xe61680)||this[_0x24bfc8(0xd6)](_0xe61680[_0x24bfc8(0x97)],_0xe61680);});},this[_0xae68ca(0x118)]));}[_0x3cc1d2(0x18b)](){return new Promise(_0x682ab3=>{const _0x4af989=_0x29b6;this['on'](_0x4af989(0x87),()=>{_0x682ab3();});});}async[_0x3cc1d2(0xd7)](){const _0x1ef759=_0x3cc1d2,_0x19f8ed=this[_0x1ef759(0x136)][_0x1ef759(0xf7)][_0x1ef759(0x15f)](_0x4887e4);if(this[_0x1ef759(0xfe)]()&&(_0x19f8ed[_0x1ef759(0xea)](),this[_0x1ef759(0xff)]=!0x1),!this[_0x1ef759(0xd9)]())return!0x0;const _0x1fe383=[...this[_0x1ef759(0xbf)]];for(const _0x11e2fc of _0x1fe383)_0x11e2fc[_0x1ef759(0x11f)]=this[_0x1ef759(0xfd)][_0x1ef759(0x14d)][_0x1ef759(0xdc)](_0x11e2fc);const _0x2fa146=this[_0x1ef759(0x120)][_0x1ef759(0xa9)](_0x1fe383),_0x3a5eca=J++,_0x57d767=this[_0x1ef759(0xa5)](_0x1fe383),_0x57849a=await this[_0x1ef759(0xcc)][_0x1ef759(0x14c)](_0x57d767,_0x57d767[_0x1ef759(0x17a)],_0x2fa146);try{return await this[_0x1ef759(0x17b)](_0x1fe383,_0x57849a,_0x3a5eca);}catch(_0x2ae3a3){return this[_0x1ef759(0xd6)](_0x1ef759(0xd8),_0x2ae3a3);}}async[_0x3cc1d2(0x17b)](_0x40da21,_0x473e6f,_0x426a36){const _0x26e76b=_0x3cc1d2;if(_0x26e76b(0x144)in _0x473e6f)throw _0x473e6f[_0x26e76b(0x144)];let _0x37a2df=!0x1;if(_0x473e6f[_0x26e76b(0xaa)]){_0x473e6f[_0x26e76b(0xf2)]&&(this[_0x26e76b(0x11c)]=_0x473e6f[_0x26e76b(0xf2)]),this[_0x26e76b(0xbf)]=this[_0x26e76b(0xbf)][_0x26e76b(0x18c)](_0x1c239a=>!_0x40da21[_0x26e76b(0x8b)](_0x1c239a));for(const _0x240149 of _0x40da21)_0x240149[_0x26e76b(0x127)]=_0x26e76b(0x157)in _0x473e6f&&_0x473e6f[_0x26e76b(0x157)]||void 0x0;X(_0x40da21,_0x473e6f[_0x26e76b(0x10e)]-_0x40da21[_0x26e76b(0x94)]),this[_0x26e76b(0xdd)](_0x40da21);const _0x365f81=_0x40da21[_0x26e76b(0x18c)](_0xfdc374=>{const _0x39011d=_0x26e76b;if(!_0xfdc374[_0x39011d(0xbd)])return!0x1;const _0x57ddda=this[_0x39011d(0x9b)](_0xfdc374);return _0x57ddda&&!this[_0x39011d(0xfa)][_0x39011d(0x12a)](_0x57ddda);});X(_0x365f81,this[_0x26e76b(0xfd)][_0x26e76b(0x10e)]),this[_0x26e76b(0x131)](_0x365f81),_0x37a2df=!0x0,this[_0x26e76b(0x118)]=this[_0x26e76b(0x92)];}else{const _0x119a4a=this[_0x26e76b(0x14f)](_0x473e6f[_0x26e76b(0x12c)],_0x473e6f[_0x26e76b(0xa3)])[_0x26e76b(0x18c)](_0x7c282d=>_0x7c282d[_0x26e76b(0x17a)]>=this[_0x26e76b(0x132)]);_0x119a4a[_0x26e76b(0xc0)](_0x408724=>this[_0x26e76b(0x11a)](_0x408724)),this[_0x26e76b(0xbf)]=this[_0x26e76b(0xbf)][_0x26e76b(0x18c)](_0x195717=>!_0x195717[_0x26e76b(0xbd)]||!this[_0x26e76b(0xfa)][_0x26e76b(0x12a)](this[_0x26e76b(0x9b)](_0x195717))),this[_0x26e76b(0xbf)][_0x26e76b(0x94)]&&X(this[_0x26e76b(0xbf)],this[_0x26e76b(0xbf)][0x0][_0x26e76b(0x17a)]),await this[_0x26e76b(0x156)](_0x119a4a),_0x37a2df=this[_0x26e76b(0x160)](_0x119a4a,_0x473e6f[_0x26e76b(0x10e)],_0x473e6f[_0x26e76b(0xf2)]),this[_0x26e76b(0x118)]=Math[_0x26e76b(0x111)](this[_0x26e76b(0x118)]/0x2);}return _0x37a2df?!this[_0x26e76b(0xd9)]()||(this[_0x26e76b(0x8d)](!0x0),!0x1):this[_0x26e76b(0xd6)](_0x26e76b(0x9f));}[_0x3cc1d2(0x160)](_0x296519,_0x3b6fae,_0xc0e41b){const _0x7b5d13=_0x3cc1d2;try{const _0x427e0c={'document':this[_0x7b5d13(0xfd)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x14b945,operationsB:_0x155f85,originalOperations:_0xed84aa}=_0x138b81(_0x296519,this[_0x7b5d13(0xbf)],_0x427e0c);X(_0x14b945,this[_0x7b5d13(0xfd)][_0x7b5d13(0x10e)]),X(_0x155f85,_0x3b6fae);for(const _0x221c92 of _0x14b945){const _0x9b5e=_0xed84aa[_0x7b5d13(0x15f)](_0x221c92);_0x221c92[_0x7b5d13(0xe6)]=_0x9b5e?_0x9b5e[_0x7b5d13(0xe6)]:null;}_0xc0e41b&&(this[_0x7b5d13(0x120)][_0x7b5d13(0x101)](_0x296519,_0xc0e41b),this[_0x7b5d13(0x11c)]=_0xc0e41b),this[_0x7b5d13(0xbf)]=[..._0x155f85],this[_0x7b5d13(0x131)](_0x14b945),this[_0x7b5d13(0xdd)](_0x296519);}catch(_0x1384df){return console[_0x7b5d13(0x144)](_0x1384df),!0x1;}return!0x0;}[_0x3cc1d2(0x131)](_0x3aaca,_0x53e3a5=!0x1){const _0x561625=_0x3cc1d2;this[_0x561625(0x136)][_0x561625(0x116)][_0x561625(0x8f)]({'isUndoable':!0x1,'isLocal':!0x1},_0x58df27=>{const _0x169116=_0x561625;for(const _0x416c45 of _0x3aaca)this[_0x169116(0x167)][_0x169116(0x13f)](_0x416c45),this[_0x169116(0x11a)](_0x416c45),_0x58df27[_0x169116(0xf6)][_0x169116(0x114)](_0x416c45),this[_0x169116(0x136)][_0x169116(0x116)][_0x169116(0xd3)](_0x416c45);});}[_0x3cc1d2(0x11a)](_0x3fba58){const _0x5f250d=_0x3cc1d2,_0x159d07=this[_0x5f250d(0x9b)](_0x3fba58);_0x159d07&&this[_0x5f250d(0xfa)][_0x5f250d(0x13f)](_0x159d07);}[_0x3cc1d2(0x9b)](_0x119344){const _0x3cc492=_0x3cc1d2;let _0x229dd5,_0x865bae;switch(_0x119344[_0x3cc492(0x8c)]){case _0x3cc492(0x185):_0x229dd5=_0x119344[_0x3cc492(0x135)][_0x3cc492(0x9d)];break;case _0x3cc492(0x100):if(_0x865bae=_0x119344[_0x3cc492(0x9e)],!_0x865bae)return null;_0x229dd5=_0x865bae[_0x3cc492(0x9d)];break;case _0x3cc492(0x178):_0x229dd5=_0x119344[_0x3cc492(0x9d)];break;case _0x3cc492(0x186):_0x229dd5=_0x119344[_0x3cc492(0x16f)];break;case _0x3cc492(0xc9):_0x229dd5=_0x119344[_0x3cc492(0x16c)][_0x3cc492(0x9d)];break;default:return null;}return _0x229dd5[_0x3cc492(0x150)];}[_0x3cc1d2(0xdd)](_0x57d744){const _0x42690d=_0x3cc1d2;_0x57d744[_0x42690d(0xc0)](_0x2104d2=>{const _0x3a9ee0=_0x42690d,_0xc71cd1=_0x2104d2[_0x3a9ee0(0x133)]();_0xc71cd1[_0x3a9ee0(0xe6)]=_0x2104d2[_0x3a9ee0(0xe6)],_0xc71cd1[_0x3a9ee0(0xbd)]=!!_0x2104d2[_0x3a9ee0(0xbd)],_0xc71cd1[_0x3a9ee0(0x127)]=_0x2104d2[_0x3a9ee0(0x127)],_0xc71cd1[_0x3a9ee0(0x17a)]+=this[_0x3a9ee0(0x171)],_0x2104d2[_0x3a9ee0(0xc5)]&&this[_0x3a9ee0(0xd4)][_0x3a9ee0(0x13f)](_0xc71cd1),this[_0x3a9ee0(0xd0)][_0x3a9ee0(0x114)](_0xc71cd1);});}[_0x3cc1d2(0x155)](_0x341f7a){const _0x4dbdd9=_0x3cc1d2,_0x5aa82d=this[_0x4dbdd9(0x136)][_0x4dbdd9(0xf7)][_0x4dbdd9(0x15f)](_0x4dbdd9(0x13e)),_0x430b3d=this[_0x4dbdd9(0x136)][_0x4dbdd9(0x177)];_0x341f7a||(_0x341f7a=_0xc6776a(_0x430b3d,_0x4dbdd9(0x102))),_0x5aa82d[_0x4dbdd9(0x12f)](_0x341f7a,{'title':_0xc6776a(_0x430b3d,_0x4dbdd9(0xd5)),'namespace':_0x4dbdd9(0xf5)}),this[_0x4dbdd9(0x8a)]=!0x0,clearTimeout(this[_0x4dbdd9(0x112)]),this[_0x4dbdd9(0xbf)]=[],this[_0x4dbdd9(0x136)][_0x4dbdd9(0xf7)][_0x4dbdd9(0x15f)](_0x42f097)[_0x4dbdd9(0xb9)]();}[_0x3cc1d2(0x11d)](){const _0x3bbb29=_0x3cc1d2;this[_0x3bbb29(0xbc)]||(this[_0x3bbb29(0xbc)]=this[_0x3bbb29(0x136)][_0x3bbb29(0xf7)][_0x3bbb29(0x15f)](_0x174f4c)[_0x3bbb29(0x13f)](_0xc6776a(this[_0x3bbb29(0x136)][_0x3bbb29(0x177)],_0x3bbb29(0x17d))));}[_0x3cc1d2(0xa4)](){const _0x42a540=_0x3cc1d2;this[_0x42a540(0xbc)]&&(this[_0x42a540(0x136)][_0x42a540(0xf7)][_0x42a540(0x15f)](_0x174f4c)[_0x42a540(0xae)](this[_0x42a540(0xbc)]),this[_0x42a540(0xbc)]=null);}[_0x3cc1d2(0xa5)](_0x198451){const _0x20f35d=_0x3cc1d2,_0x47ac07=_0x198451[_0x20f35d(0x123)](_0x31c611=>_0x31c611[_0x20f35d(0x142)]());return this[_0x20f35d(0x188)][_0x20f35d(0x17f)](_0x47ac07);}[_0x3cc1d2(0x14f)](_0x3e1fe8,_0x261997){const _0x5c7a69=_0x3cc1d2;return this[_0x5c7a69(0x188)][_0x5c7a69(0xb5)](_0x3e1fe8)[_0x5c7a69(0x123)]((_0x2f4df5,_0x495367)=>{const _0x46e0e7=_0x5c7a69,_0x3b73c3=_0x46e0e7(0x122)==_0x261997[_0x495367][_0x46e0e7(0x8c)];if(_0x46e0e7(0xeb)==_0x2f4df5[_0x46e0e7(0x153)]){const _0x35ed56=_0x2f4df5[_0x46e0e7(0x135)][_0x46e0e7(0x9d)];!this[_0x46e0e7(0xfd)][_0x46e0e7(0x104)](_0x35ed56)&&(this[_0x46e0e7(0xfd)][_0x46e0e7(0x90)](_0x46e0e7(0x9c),_0x35ed56)[_0x46e0e7(0x18f)]=!0x1);}const _0x492cc3=_0x33f2aa[_0x46e0e7(0x14e)](_0x2f4df5,this[_0x46e0e7(0xfd)]);return _0x492cc3[_0x46e0e7(0x11f)]=_0x2f4df5[_0x46e0e7(0x11f)],_0x492cc3[_0x46e0e7(0xbd)]=_0x3b73c3,_0x492cc3[_0x46e0e7(0xe6)]=_0x3b73c3?null:_0x261997[_0x495367][_0x46e0e7(0x8e)],_0x492cc3[_0x46e0e7(0xc5)]=_0x46e0e7(0xb2)===_0x261997[_0x495367][_0x46e0e7(0x8c)],_0x492cc3[_0x46e0e7(0x127)]=_0x261997[_0x495367][_0x46e0e7(0x127)],_0x492cc3;});}[_0x3cc1d2(0x15b)](){const _0x2c1f14=_0x3cc1d2;this[_0x2c1f14(0xff)]=!0x0,this[_0x2c1f14(0xfe)]()?this[_0x2c1f14(0x8d)]():this[_0x2c1f14(0xff)]=!0x1;}[_0x3cc1d2(0xfe)](){const _0xcbabf3=_0x3cc1d2,_0x4badfc=this[_0xcbabf3(0x136)][_0xcbabf3(0xf7)][_0xcbabf3(0x15f)](_0x280a30)[_0xcbabf3(0x128)][_0xcbabf3(0x15f)](this[_0xcbabf3(0xa0)]);return!this[_0xcbabf3(0x136)][_0xcbabf3(0x107)]&&!!_0x4badfc&&_0x4badfc[_0xcbabf3(0x94)]>0x1&&this[_0xcbabf3(0xff)];}[_0x3cc1d2(0xd9)](){const _0x3fea9c=_0x3cc1d2;return this[_0x3fea9c(0xbf)][_0x3fea9c(0x94)]>0x0||this[_0x3fea9c(0xfe)]();}}export default l;class Q extends Error{}function X(_0x58308d,_0x5a3ecb){const _0x21e773=_0x3cc1d2;for(const _0x35f4ce of _0x58308d)_0x35f4ce[_0x21e773(0x17a)]=_0x5a3ecb++;}class Y{[_0x3cc1d2(0x126)];[_0x3cc1d2(0xe7)];constructor(_0x17d9a3){const _0x1e3056=_0x3cc1d2;this[_0x1e3056(0x126)]=_0x17d9a3,this[_0x1e3056(0xe7)]=new WeakMap();}[_0x3cc1d2(0xa9)](_0x3681ac){const _0xc537dc=_0x3cc1d2;let _0x1b7411=_0x3681ac[_0xc537dc(0x94)];for(;_0x1b7411--;){const _0x532eb5=_0x3681ac[_0x1b7411];if(!this[_0xc537dc(0x126)][_0xc537dc(0x12a)](_0x532eb5)){if(!this[_0xc537dc(0xe7)][_0xc537dc(0x12a)](_0x532eb5)){const _0x4ccd11=_0x525a66()[_0xc537dc(0x113)](0x1,0x12);this[_0xc537dc(0xe7)][_0xc537dc(0x13d)](_0x532eb5,_0x4ccd11);}return this[_0xc537dc(0xe7)][_0xc537dc(0x15f)](_0x532eb5);}}}[_0x3cc1d2(0x101)](_0x33d36c,_0x42c4db){const _0x472749=_0x3cc1d2;if(!_0x42c4db)return;let _0x5affe6=_0x33d36c[_0x472749(0x94)];for(;_0x5affe6--;){const _0x8c56da=_0x33d36c[_0x5affe6];this[_0x472749(0x126)][_0x472749(0x12a)](_0x8c56da)||this[_0x472749(0xe7)][_0x472749(0x13d)](_0x8c56da,_0x42c4db);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3b675e=_0x58c0;(function(_0x429891,_0x51f795){const _0x5d0d3e=_0x58c0,_0x1cf5e4=_0x429891();while(!![]){try{const _0x2db1fa=parseInt(_0x5d0d3e(0x143))/0x1+-parseInt(_0x5d0d3e(0x151))/0x2+-parseInt(_0x5d0d3e(0x154))/0x3+parseInt(_0x5d0d3e(0x158))/0x4+parseInt(_0x5d0d3e(0x156))/0x5+-parseInt(_0x5d0d3e(0x140))/0x6*(-parseInt(_0x5d0d3e(0x159))/0x7)+-parseInt(_0x5d0d3e(0x132))/0x8*(parseInt(_0x5d0d3e(0x147))/0x9);if(_0x2db1fa===_0x51f795)break;else _0x1cf5e4['push'](_0x1cf5e4['shift']());}catch(_0x5c3f5c){_0x1cf5e4['push'](_0x1cf5e4['shift']());}}}(_0x44c0,0x38ab9));import{ContextPlugin as _0x1d0940}from'ckeditor5/src/core.js';function _0x58c0(_0x5cde18,_0x45d970){const _0x44c0fe=_0x44c0();return _0x58c0=function(_0x58c0b2,_0x5088cf){_0x58c0b2=_0x58c0b2-0x12e;let _0x17e313=_0x44c0fe[_0x58c0b2];return _0x17e313;},_0x58c0(_0x5cde18,_0x45d970);}import{Collection as _0x515f58,CKEditorError as _0x2eeb39}from'ckeditor5/src/utils.js';import _0x1f07e5 from'./websocketgateway.js';function _0x44c0(){const _0x10a7ef=['getUserBySessionId','sessions-register-already-registered','_createUser','_users','role','set','allConnectedUsers','defineMe','getUserSessions','isOfficialPlugin','16HpPKFc','remove','requires','has','forEach','_handleSessionAdd','get','register','isPremiumPlugin','delete','getUser','getUserRole','_handleSessionRemove','sessionAdd:','123162TGtaBN','fire','addUser','152844jtetLr','size','listenTo','sessions-unregister-not-exist','1433736tKIGQx','_uniqueUsersCount','init','unregister','channelSessions','clear','connected','user','pluginName','add','904394TMxLmc','stopListening','change:state','48081vFqfel','state','2302680TzjjDl','values','1129644SRPgfb','42siaCsb','sessionId','context','channelConnectedUsers','orderNumber','assign','isMe','_registeredSessions','connection','mySessionId','plugins','Sessions'];_0x44c0=function(){return _0x10a7ef;};return _0x44c0();}import{Users as _0xfbfb53}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x1d0940{[_0x3b675e(0x14b)];[_0x3b675e(0x15c)];[_0x3b675e(0x12e)];[_0x3b675e(0x160)];[_0x3b675e(0x148)];[_0x3b675e(0x168)];static get[_0x3b675e(0x14f)](){const _0x3a5a08=_0x3b675e;return _0x3a5a08(0x164);}static get[_0x3b675e(0x131)](){return!0x0;}static get[_0x3b675e(0x13a)](){return!0x0;}static get[_0x3b675e(0x134)](){return[_0x1f07e5,_0xfbfb53];}constructor(_0x5737c6){const _0x4421c0=_0x3b675e;super(_0x5737c6),this[_0x4421c0(0x14b)]=new Map(),this[_0x4421c0(0x15c)]=new Map(),this[_0x4421c0(0x12e)]=new _0x515f58(),this[_0x4421c0(0x160)]=new Map(),this[_0x4421c0(0x148)]=0x0,this[_0x4421c0(0x168)]=this[_0x4421c0(0x15b)][_0x4421c0(0x163)][_0x4421c0(0x138)](_0xfbfb53);}[_0x3b675e(0x149)](){const _0x49e5be=_0x3b675e,_0x4d6e71=this[_0x49e5be(0x15b)][_0x49e5be(0x163)][_0x49e5be(0x138)](_0x1f07e5);this[_0x49e5be(0x145)](_0x4d6e71,_0x49e5be(0x153),(_0x5acd60,_0x5c152a,_0x46a9cf)=>{const _0xcedfd8=_0x49e5be;if(_0xcedfd8(0x14d)!==_0x46a9cf)this[_0xcedfd8(0x14b)][_0xcedfd8(0x136)](_0x5965b4=>_0x5965b4[_0xcedfd8(0x14c)]()),this[_0xcedfd8(0x15c)][_0xcedfd8(0x136)](_0xcce764=>_0xcce764[_0xcedfd8(0x14c)]()),this[_0xcedfd8(0x12e)][_0xcedfd8(0x14c)]();else{for(const [_0x34da5a,_0x3fb6bc]of this[_0xcedfd8(0x160)])for(const _0x1ee78d of _0x3fb6bc)this[_0xcedfd8(0x137)](_0x34da5a,_0x1ee78d);}}),this[_0x49e5be(0x167)](_0x4d6e71[_0x49e5be(0x161)]['me'],!0x0);}[_0x3b675e(0x139)](_0x124eed,_0x6a4161){const _0x58ab6c=_0x3b675e;if(this[_0x58ab6c(0x160)][_0x58ab6c(0x135)](_0x124eed))throw new _0x2eeb39(_0x58ab6c(0x166),null,{'channelId':_0x124eed});this[_0x58ab6c(0x160)][_0x58ab6c(0x16a)](_0x124eed,_0x6a4161),this[_0x58ab6c(0x14b)][_0x58ab6c(0x16a)](_0x124eed,new _0x515f58()),this[_0x58ab6c(0x15c)][_0x58ab6c(0x16a)](_0x124eed,new _0x515f58()),this[_0x58ab6c(0x145)](_0x6a4161,_0x58ab6c(0x150),(_0x49137f,_0x20dc89)=>this[_0x58ab6c(0x137)](_0x124eed,_0x20dc89)),this[_0x58ab6c(0x145)](_0x6a4161,_0x58ab6c(0x133),(_0x1eec57,_0x249ef7)=>this[_0x58ab6c(0x13e)](_0x124eed,_0x249ef7));for(const _0x4b94d6 of _0x6a4161)this[_0x58ab6c(0x137)](_0x124eed,_0x4b94d6);}[_0x3b675e(0x14a)](_0x260170){const _0x2df5f9=_0x3b675e;if(!this[_0x2df5f9(0x160)][_0x2df5f9(0x135)](_0x260170))throw new _0x2eeb39(_0x2df5f9(0x146),null,{'channelId':_0x260170});const _0x277938=this[_0x2df5f9(0x160)][_0x2df5f9(0x138)](_0x260170);this[_0x2df5f9(0x152)](_0x277938);for(const _0x151cc9 of _0x277938)_0x2df5f9(0x14d)===this[_0x2df5f9(0x15b)][_0x2df5f9(0x163)][_0x2df5f9(0x138)](_0x1f07e5)[_0x2df5f9(0x155)]&&this[_0x2df5f9(0x13e)](_0x260170,_0x151cc9);this[_0x2df5f9(0x160)][_0x2df5f9(0x13b)](_0x260170),this[_0x2df5f9(0x14b)][_0x2df5f9(0x13b)](_0x260170),this[_0x2df5f9(0x15c)][_0x2df5f9(0x13b)](_0x260170);}get[_0x3b675e(0x162)](){const _0x441aca=_0x3b675e;return this[_0x441aca(0x15b)][_0x441aca(0x163)][_0x441aca(0x138)](_0x1f07e5)[_0x441aca(0x161)][_0x441aca(0x15a)];}[_0x3b675e(0x165)](_0x956ed1){const _0x12d5ff=_0x3b675e;for(const _0x5b191c of this[_0x12d5ff(0x14b)][_0x12d5ff(0x157)]())for(const _0x5164b3 of _0x5b191c)if(_0x5164b3['id']===_0x956ed1)return _0x5164b3[_0x12d5ff(0x14e)];}[_0x3b675e(0x130)](_0xf7f41d,_0x4029c6){const _0x324ed6=_0x3b675e,_0x3bf81e=_0x4029c6?[this[_0x324ed6(0x14b)][_0x324ed6(0x138)](_0x4029c6)]:this[_0x324ed6(0x14b)][_0x324ed6(0x157)](),_0x132956=new Set();for(const _0x22e78a of _0x3bf81e)for(const _0x5ee1bd of _0x22e78a)_0x5ee1bd[_0x324ed6(0x14e)]['id']===_0xf7f41d['id']&&_0x132956[_0x324ed6(0x150)](_0x5ee1bd['id']);return _0x132956;}[_0x3b675e(0x13d)](_0x4df23e){const _0x191ce9=_0x3b675e;for(const _0xecb549 of this[_0x191ce9(0x14b)][_0x191ce9(0x157)]())for(const _0x4502f2 of _0xecb549)if(_0x4502f2[_0x191ce9(0x14e)]===_0x4df23e)return _0x4502f2[_0x191ce9(0x169)];}[_0x3b675e(0x137)](_0x355272,_0x2c16b1){const _0x5c07c1=_0x3b675e;if(_0x5c07c1(0x14d)!==this[_0x5c07c1(0x15b)][_0x5c07c1(0x163)][_0x5c07c1(0x138)](_0x1f07e5)[_0x5c07c1(0x155)])return;const _0x45e56d=_0x2c16b1[_0x5c07c1(0x14e)],_0x19e333=this[_0x5c07c1(0x168)][_0x5c07c1(0x13c)](_0x45e56d['id'])||this[_0x5c07c1(0x167)](_0x45e56d),_0x522487=Object[_0x5c07c1(0x15e)]({},_0x2c16b1,{'user':_0x19e333});this[_0x5c07c1(0x14b)][_0x5c07c1(0x138)](_0x355272)[_0x5c07c1(0x150)](_0x522487);const _0x9ad6ba=this[_0x5c07c1(0x15c)][_0x5c07c1(0x138)](_0x355272);_0x9ad6ba[_0x5c07c1(0x135)](_0x19e333['id'])||_0x9ad6ba[_0x5c07c1(0x150)](_0x19e333),this[_0x5c07c1(0x12e)][_0x5c07c1(0x135)](_0x19e333['id'])||this[_0x5c07c1(0x12e)][_0x5c07c1(0x150)](_0x19e333,_0x19e333[_0x5c07c1(0x15f)]?0x0:void 0x0),this[_0x5c07c1(0x141)](_0x5c07c1(0x13f)+_0x355272,{'channelId':_0x355272,'session':_0x522487});}[_0x3b675e(0x13e)](_0x4594dd,_0xcab043){const _0x150c81=_0x3b675e;if(_0x150c81(0x14d)!==this[_0x150c81(0x15b)][_0x150c81(0x163)][_0x150c81(0x138)](_0x1f07e5)[_0x150c81(0x155)])return;const _0x5ea88d=this[_0x150c81(0x15c)][_0x150c81(0x138)](_0x4594dd),_0x47e6f5=_0xcab043[_0x150c81(0x14e)];_0x47e6f5['id']&&(this[_0x150c81(0x14b)][_0x150c81(0x138)](_0x4594dd)[_0x150c81(0x133)](_0xcab043['id']),_0x5ea88d[_0x150c81(0x135)](_0x47e6f5['id'])&&!this[_0x150c81(0x130)](_0x47e6f5,_0x4594dd)[_0x150c81(0x144)]&&_0x5ea88d[_0x150c81(0x133)](_0x47e6f5['id']),this[_0x150c81(0x12e)][_0x150c81(0x138)](_0x47e6f5['id'])&&!this[_0x150c81(0x130)](_0x47e6f5)[_0x150c81(0x144)]&&this[_0x150c81(0x12e)][_0x150c81(0x133)](_0x47e6f5['id']));}[_0x3b675e(0x167)](_0x1f1087,_0x4c3455){const _0x237f9b=_0x3b675e,_0x1cb783=this[_0x237f9b(0x168)][_0x237f9b(0x142)](_0x1f1087);return _0x4c3455&&this[_0x237f9b(0x168)][_0x237f9b(0x12f)](_0x1f1087['id']),_0x1cb783[_0x237f9b(0x15d)]=this[_0x237f9b(0x148)]++,_0x1cb783;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x50ccc1=_0x2d0a;(function(_0x51f6e2,_0x15d55c){const _0x2f8591=_0x2d0a,_0x244cf9=_0x51f6e2();while(!![]){try{const _0x3e742f=parseInt(_0x2f8591(0x220))/0x1+-parseInt(_0x2f8591(0x243))/0x2+parseInt(_0x2f8591(0x20c))/0x3+parseInt(_0x2f8591(0x245))/0x4*(-parseInt(_0x2f8591(0x20f))/0x5)+parseInt(_0x2f8591(0x228))/0x6+parseInt(_0x2f8591(0x23b))/0x7*(-parseInt(_0x2f8591(0x25d))/0x8)+parseInt(_0x2f8591(0x23f))/0x9;if(_0x3e742f===_0x15d55c)break;else _0x244cf9['push'](_0x244cf9['shift']());}catch(_0x3713a4){_0x244cf9['push'](_0x244cf9['shift']());}}}(_0x29c1,0xd2d9c));import{Plugin as _0x8fb795}from'ckeditor5/src/core.js';function _0x29c1(){const _0x148f1f=['mySessionId','detach','_domEmitter','batch','addEventListener','outerHTML','document','conversion','userPositionMarker','user:position','hasContent','createElement','isOfficialPlugin','3656991wmQYfo','init','pluginName','20bQSgIW','isInline','getAttribute','oldRange','textContent','isObject','UserMarkers','getNearestSelectionRange','toDomElement','hasDomSelection','user:range','createUIElement','markerToHighlight','user:range:','change:range','render','nodeAfter','1403704qJWzQR','enqueueChange','removeClass','applyOperation','getContainedElement','for','getMarkerClass','color','1924284vadANY','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerRange','data-session-id','markers','size','afterInit','keydown','has','innerHTML','isPremiumPlugin','_createdBatches','schema','root','get','commands','markerName','setCustomProperty','set','1561XsSsTi','markerToElement','end','reconvertMarker','7206858hzafiQ','isCollapsed','selection','split','2966398IpNDnP','ck-user__marker\x20','1001732TneuKW','user:position:','ck-user__marker-tooltip','addMarker','$graveyard','removeMarker','checkChild','false','toRange','markerNameToElements','ck-user__marker_hovered','spellcheck','start','add','orderNumber','isLimit','mouseleave','editor','listenTo','delete','createRange','getPositions','rootName','updateMarker','14192LfPenD','fromRange','view','parent','deletionPosition','destroy','change','user:','model','name','getFirstRange','mouseenter','contenteditable','getStart','createUserMarkerOperations','Escape','tableCell','type','stopListening','getCustomProperty','remove','editing','update:user:range','requires','isSimilar','ck-user__selection','undo','getSelectionClass','span','classList','element','mapper','setAttribute','clear','$text','getRange','plugins','newRange','getUserBySessionId','editingDowncast','highest','isDocumentOperation','startsWith','marker'];_0x29c1=function(){return _0x148f1f;};return _0x29c1();}import{global as _0x174690,DomEmitterMixin as _0x2bf581}from'ckeditor5/src/utils.js';import _0x536623 from'./sessions.js';import{LiveRange as _0x2abd07}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class E extends _0x8fb795{[_0x50ccc1(0x201)]=new(_0x2bf581())();static get[_0x50ccc1(0x1ea)](){return[_0x536623];}static get[_0x50ccc1(0x20e)](){const _0x2dca1d=_0x50ccc1;return _0x2dca1d(0x215);}static get[_0x50ccc1(0x20b)](){return!0x0;}static get[_0x50ccc1(0x232)](){return!0x0;}[_0x50ccc1(0x20d)](){const _0x4a7933=_0x50ccc1,_0x661b58=this[_0x4a7933(0x256)],_0x379df2=_0x661b58[_0x4a7933(0x1f7)][_0x4a7933(0x236)](_0x536623);_0x661b58[_0x4a7933(0x206)][_0x4a7933(0x225)](_0x4a7933(0x1fa))[_0x4a7933(0x23c)]({'model':_0x4a7933(0x208),'view':(_0x2053ee,{writer:_0x31e4bf})=>function(_0x5ba8c2,_0x5c1cfd,_0x480ba1,_0x3536b7){const _0x212063=_0x4a7933,_0x22db11=_0x5ba8c2[_0x212063(0x238)][_0x212063(0x242)](':')[0x2],_0x219d74=_0x480ba1[_0x212063(0x1f9)](_0x22db11);if(!_0x219d74||_0x22db11===_0x480ba1[_0x212063(0x1ff)])return;if(!_0x3536b7[_0x212063(0x265)][_0x212063(0x234)][_0x212063(0x24b)](_0x5ba8c2[_0x212063(0x22a)][_0x212063(0x251)],_0x212063(0x1f5)))return;const _0x185325={'class':_0x212063(0x244)+_0x219d74[_0x212063(0x227)][_0x212063(0x226)](),'data-name':_0x219d74[_0x212063(0x266)],'data-session-id':_0x22db11},_0x1d097e=_0x3536b7[_0x212063(0x265)][_0x212063(0x22c)][_0x212063(0x236)](_0x5ba8c2[_0x212063(0x238)]),_0x224808=_0x1d097e[_0x212063(0x1e0)](),_0x35e680=_0x224808[_0x212063(0x21f)],_0x5d432c=_0x3536b7[_0x212063(0x265)][_0x212063(0x234)];if(_0x35e680&&_0x5d432c[_0x212063(0x214)](_0x35e680)&&_0x5d432c[_0x212063(0x210)](_0x35e680)&&!_0x3536b7[_0x212063(0x265)][_0x212063(0x22c)][_0x212063(0x236)](_0x212063(0x21c)+_0x22db11)[_0x212063(0x1f6)]()[_0x212063(0x240)])return;const _0x342b33=_0x224808[_0x212063(0x260)];return _0x3536b7[_0x212063(0x265)][_0x212063(0x234)][_0x212063(0x254)](_0x342b33)&&!_0x3536b7[_0x212063(0x265)][_0x212063(0x209)](_0x342b33)&&(_0x185325[_0x212063(0x269)]=!0x1),function(_0x2a3332,_0x1e6888,_0x282ffe){const _0x5bc495=_0x212063,_0x84eec=_0x2a3332[_0x5bc495(0x21a)](_0x5bc495(0x1ef),_0x1e6888);return _0x2a3332[_0x5bc495(0x239)](_0x5bc495(0x207),!0x0,_0x84eec),_0x84eec[_0x5bc495(0x21e)]=function(_0x3b4e3a){const _0x876b27=_0x5bc495,_0x5c65df=this[_0x876b27(0x217)](_0x3b4e3a),_0x3345c0=document[_0x876b27(0x20a)](_0x876b27(0x1ef));return _0x3345c0[_0x876b27(0x1f0)][_0x876b27(0x252)](_0x876b27(0x247)),_0x3345c0[_0x876b27(0x1f3)](_0x876b27(0x269),_0x876b27(0x24c)),_0x3345c0[_0x876b27(0x1f3)](_0x876b27(0x250),_0x876b27(0x24c)),_0x3345c0[_0x876b27(0x213)]=_0x282ffe[_0x876b27(0x266)],_0x5c65df[_0x876b27(0x231)]=_0x876b27(0x229)+_0x3345c0[_0x876b27(0x204)]+'',_0x5c65df[_0x876b27(0x203)](_0x876b27(0x268),()=>{const _0x41ad79=_0x876b27;_0x5c65df[_0x41ad79(0x1f0)][_0x41ad79(0x252)](_0x41ad79(0x24f));}),_0x5c65df[_0x876b27(0x203)](_0x876b27(0x255),()=>{const _0x8f0211=_0x876b27;_0x5c65df[_0x8f0211(0x1f0)][_0x8f0211(0x1e7)](_0x8f0211(0x24f));}),_0x5c65df;},_0x84eec[_0x5bc495(0x1eb)]=function(_0x1c0a14){const _0x9b7474=_0x5bc495;return!(!this[_0x9b7474(0x1e6)](_0x9b7474(0x207))||!_0x1c0a14[_0x9b7474(0x1e6)](_0x9b7474(0x207))||this[_0x9b7474(0x211)](_0x9b7474(0x22b))!=_0x1c0a14[_0x9b7474(0x211)](_0x9b7474(0x22b)));},_0x84eec;}(_0x5c1cfd,_0x185325,_0x219d74);}(_0x2053ee,_0x31e4bf,_0x379df2,_0x661b58)}),_0x661b58[_0x4a7933(0x206)][_0x4a7933(0x225)](_0x4a7933(0x1fa))[_0x4a7933(0x21b)]({'model':_0x4a7933(0x219),'view':_0xec887d=>function(_0x159cd6,_0x5347c0){const _0xb5ceea=_0x4a7933,_0x1d2f39=_0x159cd6[_0xb5ceea(0x238)][_0xb5ceea(0x242)](':')[0x2];if(_0x1d2f39===_0x5347c0[_0xb5ceea(0x1ff)])return null;const _0x27a248=_0x5347c0[_0xb5ceea(0x1f9)](_0x1d2f39);if(!_0x27a248)return{'id':_0x1d2f39,'classes':[]};return{'id':_0x1d2f39,'classes':[_0xb5ceea(0x1ec),_0x27a248[_0xb5ceea(0x227)][_0xb5ceea(0x1ee)]()],'attributes':{'data-session-id':_0x1d2f39},'priority':0x7d0+_0x27a248[_0xb5ceea(0x253)]};}(_0xec887d,_0x379df2)}),function(_0x52b5fe){const _0x181591=_0x4a7933,_0x53ccc=_0x52b5fe[_0x181591(0x265)],_0x551885=new Map(),_0x167bf8=_0x52b5fe[_0x181591(0x1f7)][_0x181591(0x236)](_0x536623);_0x53ccc[_0x181591(0x22c)]['on'](_0x181591(0x1e9),(_0x3d34df,_0x77b998,_0x350615,_0x40fe50)=>{const _0x3bd57e=_0x181591;if(!_0x40fe50&&_0x551885[_0x3bd57e(0x236)](_0x77b998[_0x3bd57e(0x266)]))return _0x551885[_0x3bd57e(0x236)](_0x77b998[_0x3bd57e(0x266)])[_0x3bd57e(0x200)](),void _0x551885[_0x3bd57e(0x258)](_0x77b998[_0x3bd57e(0x266)]);const _0x21f84d=_0x77b998[_0x3bd57e(0x266)][_0x3bd57e(0x242)](':')[0x2];if(_0x21f84d===_0x167bf8[_0x3bd57e(0x1ff)])return;const _0x2d4f55=_0x3bd57e(0x246)+_0x21f84d;_0x53ccc[_0x3bd57e(0x22c)][_0x3bd57e(0x230)](_0x2d4f55)&&_0x52b5fe[_0x3bd57e(0x1e8)][_0x3bd57e(0x23e)](_0x2d4f55),_0x77b998['on'](_0x3bd57e(0x21d),(_0x2530ab,_0x4d3a04,_0x3558c8)=>{const _0x42faa9=_0x3bd57e;if(_0x42faa9(0x249)!=_0x4d3a04[_0x42faa9(0x235)][_0x42faa9(0x25b)]&&_0x42faa9(0x249)==_0x77b998[_0x42faa9(0x1f6)]()[_0x42faa9(0x235)][_0x42faa9(0x25b)]&&!_0x551885[_0x42faa9(0x230)](_0x77b998[_0x42faa9(0x266)])){const _0xcaf045=_0x53ccc[_0x42faa9(0x234)][_0x42faa9(0x216)](_0x3558c8[_0x42faa9(0x261)]);if(_0xcaf045){const _0x28f537=_0x2abd07[_0x42faa9(0x25e)](_0xcaf045);_0x551885[_0x42faa9(0x23a)](_0x77b998[_0x42faa9(0x266)],_0x28f537),_0x28f537['on'](_0x42faa9(0x21d),(_0x2bc32b,_0x436f8e,_0x285d72)=>{const _0xff52e9=_0x42faa9;if(_0xff52e9(0x249)==_0x28f537[_0xff52e9(0x235)][_0xff52e9(0x25b)]){const _0x28375f=_0x53ccc[_0xff52e9(0x234)][_0xff52e9(0x216)](_0x285d72[_0xff52e9(0x261)]);_0x28375f?(_0x28f537[_0xff52e9(0x251)]=_0x28375f[_0xff52e9(0x251)],_0x28f537[_0xff52e9(0x23d)]=_0x28375f[_0xff52e9(0x23d)]):(_0x551885[_0xff52e9(0x258)](_0x77b998[_0xff52e9(0x266)]),_0x28f537[_0xff52e9(0x200)]());}});}}});}),_0x53ccc[_0x181591(0x205)]['on'](_0x181591(0x263),()=>{const _0x21fe49=_0x181591;_0x551885[_0x21fe49(0x22d)]>0x0&&_0x53ccc[_0x21fe49(0x221)]({'isUndoable':!0x1},_0xcb612e=>{const _0x40ea74=_0x21fe49;for(const [_0x4c86cf,_0x285d63]of _0x551885)_0x40ea74(0x249)==_0x53ccc[_0x40ea74(0x22c)][_0x40ea74(0x236)](_0x4c86cf)[_0x40ea74(0x1f6)]()[_0x40ea74(0x235)][_0x40ea74(0x25b)]&&(G(_0x4c86cf[_0x40ea74(0x242)](':')[0x2],_0x285d63[_0x40ea74(0x24d)](),_0x53ccc,_0xcb612e),_0x285d63[_0x40ea74(0x200)]());_0x551885[_0x40ea74(0x1f4)]();});});}(_0x661b58),this[_0x4a7933(0x201)][_0x4a7933(0x257)](_0x174690[_0x4a7933(0x205)],_0x4a7933(0x22f),(_0x1e4b7d,{key:_0x2fbe2c})=>{const _0x346b82=_0x4a7933;_0x346b82(0x1e2)===_0x2fbe2c&&function(_0x1c0a7c){const _0x5ce248=_0x346b82;_0x1c0a7c[_0x5ce248(0x1e8)][_0x5ce248(0x25f)][_0x5ce248(0x263)](_0x1305c5=>{const _0xac57a3=_0x5ce248;for(const _0x2d4d07 of _0x1c0a7c[_0xac57a3(0x265)][_0xac57a3(0x22c)]){if(!_0x2d4d07[_0xac57a3(0x266)][_0xac57a3(0x1fd)](_0xac57a3(0x208)))continue;const _0x34bb07=_0x1c0a7c[_0xac57a3(0x1e8)][_0xac57a3(0x1f2)][_0xac57a3(0x24e)](_0x2d4d07[_0xac57a3(0x266)]);if(_0x34bb07){for(const _0x14891e of _0x34bb07)_0x1305c5[_0xac57a3(0x222)](_0xac57a3(0x24f),_0x14891e);}}});}(_0x661b58);},{'useCapture':!0x0});}[_0x50ccc1(0x22e)](){const _0x37ca7e=_0x50ccc1,_0x49df82=this[_0x37ca7e(0x256)],_0x23ac17=_0x49df82[_0x37ca7e(0x237)][_0x37ca7e(0x236)](_0x37ca7e(0x1ed));_0x23ac17&&_0x49df82[_0x37ca7e(0x265)]['on'](_0x37ca7e(0x223),(_0x35c525,_0x2eaa05)=>{const _0x5b7d12=_0x37ca7e,_0x1af205=_0x2eaa05[0x0];if(!_0x1af205[_0x5b7d12(0x1fc)])return;if(_0x5b7d12(0x1fe)!=_0x1af205[_0x5b7d12(0x1e4)]||!_0x1af205[_0x5b7d12(0x266)][_0x5b7d12(0x1fd)](_0x5b7d12(0x264)))return;const _0x303f42=_0x1af205[_0x5b7d12(0x202)];_0x23ac17[_0x5b7d12(0x233)][_0x5b7d12(0x230)](_0x303f42)&&(_0x1af205[_0x5b7d12(0x1f8)]=_0x1af205[_0x5b7d12(0x212)]?_0x49df82[_0x5b7d12(0x265)][_0x5b7d12(0x259)](_0x1af205[_0x5b7d12(0x212)][_0x5b7d12(0x251)],_0x1af205[_0x5b7d12(0x212)][_0x5b7d12(0x23d)]):null);},{'priority':_0x37ca7e(0x1fb)});}[_0x50ccc1(0x262)](){const _0x45d86d=_0x50ccc1;return this[_0x45d86d(0x201)][_0x45d86d(0x1e5)](),super[_0x45d86d(0x262)]();}[_0x50ccc1(0x1e1)](){const _0x4daa05=_0x50ccc1,_0x32f118=this[_0x4daa05(0x256)],_0x1648b4=_0x32f118[_0x4daa05(0x265)][_0x4daa05(0x205)],_0x2043e2=_0x32f118[_0x4daa05(0x1f7)][_0x4daa05(0x236)](_0x536623);_0x32f118[_0x4daa05(0x265)][_0x4daa05(0x221)]({'isUndoable':!0x1},_0x2a41c=>{const _0x3220b9=_0x4daa05,_0x279956=_0x3220b9(0x21c)+_0x2043e2[_0x3220b9(0x1ff)],_0x5784a4=_0x3220b9(0x246)+_0x2043e2[_0x3220b9(0x1ff)],_0x1328a1=_0x32f118[_0x3220b9(0x265)][_0x3220b9(0x22c)][_0x3220b9(0x230)](_0x279956);_0x32f118[_0x3220b9(0x1e8)][_0x3220b9(0x25f)][_0x3220b9(0x218)]?G(_0x2043e2[_0x3220b9(0x1ff)],_0x1648b4[_0x3220b9(0x241)][_0x3220b9(0x267)](),_0x32f118[_0x3220b9(0x265)],_0x2a41c):_0x1328a1&&(_0x2a41c[_0x3220b9(0x24a)](_0x279956),_0x2a41c[_0x3220b9(0x24a)](_0x5784a4));});}}function _0x2d0a(_0x13e32a,_0xb85c39){const _0x29c194=_0x29c1();return _0x2d0a=function(_0x2d0a0a,_0x51368f){_0x2d0a0a=_0x2d0a0a-0x1e0;let _0x3e9601=_0x29c194[_0x2d0a0a];return _0x3e9601;},_0x2d0a(_0x13e32a,_0xb85c39);}function G(_0x10edc5,_0x21e01d,_0x12f8bc,_0x8f4217){const _0x54f446=_0x50ccc1,_0xcfdada=_0x54f446(0x21c)+_0x10edc5,_0xfd5961=_0x54f446(0x246)+_0x10edc5,_0x3853b7=_0x21e01d[_0x54f446(0x224)]();let _0x3b2779=_0x21e01d[_0x54f446(0x251)];_0x3853b7&&_0x3853b7['is'](_0x54f446(0x1f1),_0x54f446(0x1e3))&&(_0x3b2779=function(_0x33a13e,_0x52d375){const _0x2c9096=_0x54f446;for(const _0x3bdc55 of _0x33a13e[_0x2c9096(0x25a)]())if(_0x52d375[_0x2c9096(0x234)][_0x2c9096(0x24b)](_0x3bdc55,_0x2c9096(0x1f5)))return _0x3bdc55;}(_0x21e01d,_0x12f8bc),_0x21e01d=_0x8f4217[_0x54f446(0x259)](_0x3b2779));const _0x57ea7c=_0x8f4217[_0x54f446(0x259)](_0x3b2779);_0x12f8bc[_0x54f446(0x22c)][_0x54f446(0x230)](_0xcfdada)?(_0x8f4217[_0x54f446(0x25c)](_0xcfdada,{'range':_0x21e01d}),_0x8f4217[_0x54f446(0x25c)](_0xfd5961,{'range':_0x57ea7c})):(_0x8f4217[_0x54f446(0x248)](_0xcfdada,{'range':_0x21e01d,'usingOperation':!0x0}),_0x8f4217[_0x54f446(0x248)](_0xfd5961,{'range':_0x57ea7c,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x3a1c(){const _0x36c781=['undo','classList','hasDomSelection','view','removeMarker','marker','startsWith','highest','isObject','for','markerNameToElements','init','toDomElement','model','newRange','getRange','change','isSimilar','hasContent','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','$text','stopListening','detach','addEventListener','schema','_domEmitter','type','span','Escape','rootName','getSelectionClass','addMarker','ck-user__marker-tooltip','1087244ktYsmt','destroy','300726mKJfIa','markerToElement','data-session-id','userPositionMarker','getFirstRange','textContent','setCustomProperty','isLimit','removeClass','start','selection','user:position','isDocumentOperation','has','mapper','update:user:range','561zpkjHy','element','getMarkerClass','markerToHighlight','delete','deletionPosition','markerRange','user:range','getPositions','conversion','editingDowncast','markers','end','createUIElement','add','174236EtYqsk','user:range:','getUserBySessionId','contenteditable','enqueueChange','name','listenTo','isInline','commands','user:position:','batch','getNearestSelectionRange','getStart','split','editing','createRange','get','$graveyard','926dshkTK','remove','document','ck-user__marker_hovered','fromRange','isPremiumPlugin','createElement','UserMarkers','false','root','change:range','clear','getCustomProperty','requires','outerHTML','185090DOULXN','ck-user__marker\x20','parent','isOfficialPlugin','reconvertMarker','ck-user__selection','afterInit','editor','nodeAfter','keydown','updateMarker','609288KeBoCU','getContainedElement','spellcheck','pluginName','3262356aqGsgg','checkChild','getAttribute','plugins','color','createUserMarkerOperations','orderNumber','toRange','render','size','applyOperation','tableCell','mouseleave','setAttribute','oldRange','set','mySessionId','_createdBatches','21DQMmxv','user:','markerName','isCollapsed','innerHTML','mouseenter'];_0x3a1c=function(){return _0x36c781;};return _0x3a1c();}const _0x49c8c1=_0x5ca0;function _0x5ca0(_0x32e757,_0x16b027){const _0x3a1cf7=_0x3a1c();return _0x5ca0=function(_0x5ca0d8,_0x1c2e06){_0x5ca0d8=_0x5ca0d8-0x1d8;let _0x1fbc6f=_0x3a1cf7[_0x5ca0d8];return _0x1fbc6f;},_0x5ca0(_0x32e757,_0x16b027);}(function(_0x152848,_0x252e05){const _0x5218a3=_0x5ca0,_0x20404e=_0x152848();while(!![]){try{const _0x5ae943=-parseInt(_0x5218a3(0x230))/0x1+parseInt(_0x5218a3(0x242))/0x2*(-parseInt(_0x5218a3(0x221))/0x3)+parseInt(_0x5218a3(0x20f))/0x4+-parseInt(_0x5218a3(0x251))/0x5+parseInt(_0x5218a3(0x211))/0x6+parseInt(_0x5218a3(0x1e8))/0x7*(-parseInt(_0x5218a3(0x25c))/0x8)+parseInt(_0x5218a3(0x260))/0x9;if(_0x5ae943===_0x252e05)break;else _0x20404e['push'](_0x20404e['shift']());}catch(_0x4b8fda){_0x20404e['push'](_0x20404e['shift']());}}}(_0x3a1c,0x26992));import{Plugin as _0x5400be}from'ckeditor5/src/core.js';import{global as _0x12fb58,DomEmitterMixin as _0x8e67de}from'ckeditor5/src/utils.js';import _0x1d9d06 from'./sessions.js';import{LiveRange as _0xb5283}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x5400be{[_0x49c8c1(0x207)]=new(_0x8e67de())();static get[_0x49c8c1(0x24f)](){return[_0x1d9d06];}static get[_0x49c8c1(0x25f)](){const _0x27df47=_0x49c8c1;return _0x27df47(0x249);}static get[_0x49c8c1(0x254)](){return!0x0;}static get[_0x49c8c1(0x247)](){return!0x0;}[_0x49c8c1(0x1f9)](){const _0x43c168=_0x49c8c1,_0x2869df=this[_0x43c168(0x258)],_0x152ff6=_0x2869df[_0x43c168(0x1d9)][_0x43c168(0x240)](_0x1d9d06);_0x2869df[_0x43c168(0x22a)][_0x43c168(0x1f7)](_0x43c168(0x22b))[_0x43c168(0x212)]({'model':_0x43c168(0x21c),'view':(_0x4ce034,{writer:_0x2d6a34})=>function(_0x29dedd,_0x51af29,_0x351310,_0x3e30e4){const _0x2d1c7e=_0x43c168,_0xeceb16=_0x29dedd[_0x2d1c7e(0x1ea)][_0x2d1c7e(0x23d)](':')[0x2],_0x3c025c=_0x351310[_0x2d1c7e(0x232)](_0xeceb16);if(!_0x3c025c||_0xeceb16===_0x351310[_0x2d1c7e(0x1e6)])return;if(!_0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x206)][_0x2d1c7e(0x261)](_0x29dedd[_0x2d1c7e(0x227)][_0x2d1c7e(0x21a)],_0x2d1c7e(0x202)))return;const _0xf7feab={'class':_0x2d1c7e(0x252)+_0x3c025c[_0x2d1c7e(0x1da)][_0x2d1c7e(0x223)](),'data-name':_0x3c025c[_0x2d1c7e(0x235)],'data-session-id':_0xeceb16},_0x4ec492=_0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x22c)][_0x2d1c7e(0x240)](_0x29dedd[_0x2d1c7e(0x1ea)]),_0x3bb35a=_0x4ec492[_0x2d1c7e(0x23c)](),_0x410c9c=_0x3bb35a[_0x2d1c7e(0x259)],_0x3063b7=_0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x206)];if(_0x410c9c&&_0x3063b7[_0x2d1c7e(0x1f6)](_0x410c9c)&&_0x3063b7[_0x2d1c7e(0x237)](_0x410c9c)&&!_0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x22c)][_0x2d1c7e(0x240)](_0x2d1c7e(0x231)+_0xeceb16)[_0x2d1c7e(0x1fd)]()[_0x2d1c7e(0x1eb)])return;const _0x58772e=_0x3bb35a[_0x2d1c7e(0x253)];return _0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x206)][_0x2d1c7e(0x218)](_0x58772e)&&!_0x3e30e4[_0x2d1c7e(0x1fb)][_0x2d1c7e(0x200)](_0x58772e)&&(_0xf7feab[_0x2d1c7e(0x233)]=!0x1),function(_0x26a0a6,_0x15bb55,_0x249d08){const _0x5a7f28=_0x2d1c7e,_0x209f4d=_0x26a0a6[_0x5a7f28(0x22e)](_0x5a7f28(0x209),_0x15bb55);return _0x26a0a6[_0x5a7f28(0x217)](_0x5a7f28(0x214),!0x0,_0x209f4d),_0x209f4d[_0x5a7f28(0x1de)]=function(_0x3f186d){const _0x5d7ab5=_0x5a7f28,_0x837da0=this[_0x5d7ab5(0x1fa)](_0x3f186d),_0x516ca4=document[_0x5d7ab5(0x248)](_0x5d7ab5(0x209));return _0x516ca4[_0x5d7ab5(0x1ef)][_0x5d7ab5(0x22f)](_0x5d7ab5(0x20e)),_0x516ca4[_0x5d7ab5(0x1e3)](_0x5d7ab5(0x233),_0x5d7ab5(0x24a)),_0x516ca4[_0x5d7ab5(0x1e3)](_0x5d7ab5(0x25e),_0x5d7ab5(0x24a)),_0x516ca4[_0x5d7ab5(0x216)]=_0x249d08[_0x5d7ab5(0x235)],_0x837da0[_0x5d7ab5(0x1ec)]=_0x5d7ab5(0x201)+_0x516ca4[_0x5d7ab5(0x250)]+'',_0x837da0[_0x5d7ab5(0x205)](_0x5d7ab5(0x1ed),()=>{const _0x34a83c=_0x5d7ab5;_0x837da0[_0x34a83c(0x1ef)][_0x34a83c(0x22f)](_0x34a83c(0x245));}),_0x837da0[_0x5d7ab5(0x205)](_0x5d7ab5(0x1e2),()=>{const _0x4172c5=_0x5d7ab5;_0x837da0[_0x4172c5(0x1ef)][_0x4172c5(0x243)](_0x4172c5(0x245));}),_0x837da0;},_0x209f4d[_0x5a7f28(0x1ff)]=function(_0x3f0e2b){const _0x53354c=_0x5a7f28;return!(!this[_0x53354c(0x24e)](_0x53354c(0x214))||!_0x3f0e2b[_0x53354c(0x24e)](_0x53354c(0x214))||this[_0x53354c(0x1d8)](_0x53354c(0x213))!=_0x3f0e2b[_0x53354c(0x1d8)](_0x53354c(0x213)));},_0x209f4d;}(_0x51af29,_0xf7feab,_0x3c025c);}(_0x4ce034,_0x2d6a34,_0x152ff6,_0x2869df)}),_0x2869df[_0x43c168(0x22a)][_0x43c168(0x1f7)](_0x43c168(0x22b))[_0x43c168(0x224)]({'model':_0x43c168(0x228),'view':_0x4ea719=>function(_0x24534b,_0x111386){const _0x132b29=_0x43c168,_0x434590=_0x24534b[_0x132b29(0x1ea)][_0x132b29(0x23d)](':')[0x2];if(_0x434590===_0x111386[_0x132b29(0x1e6)])return null;const _0xd53a13=_0x111386[_0x132b29(0x232)](_0x434590);if(!_0xd53a13)return{'id':_0x434590,'classes':[]};return{'id':_0x434590,'classes':[_0x132b29(0x256),_0xd53a13[_0x132b29(0x1da)][_0x132b29(0x20c)]()],'attributes':{'data-session-id':_0x434590},'priority':0x7d0+_0xd53a13[_0x132b29(0x1dc)]};}(_0x4ea719,_0x152ff6)}),function(_0xca394b){const _0x5bcf1f=_0x43c168,_0x180341=_0xca394b[_0x5bcf1f(0x1fb)],_0x12d24e=new Map(),_0x25bc70=_0xca394b[_0x5bcf1f(0x1d9)][_0x5bcf1f(0x240)](_0x1d9d06);_0x180341[_0x5bcf1f(0x22c)]['on'](_0x5bcf1f(0x220),(_0x40a359,_0x18e6b4,_0x2e7cf2,_0x19658c)=>{const _0x429f3c=_0x5bcf1f;if(!_0x19658c&&_0x12d24e[_0x429f3c(0x240)](_0x18e6b4[_0x429f3c(0x235)]))return _0x12d24e[_0x429f3c(0x240)](_0x18e6b4[_0x429f3c(0x235)])[_0x429f3c(0x204)](),void _0x12d24e[_0x429f3c(0x225)](_0x18e6b4[_0x429f3c(0x235)]);const _0x279d83=_0x18e6b4[_0x429f3c(0x235)][_0x429f3c(0x23d)](':')[0x2];if(_0x279d83===_0x25bc70[_0x429f3c(0x1e6)])return;const _0x5c5d8d=_0x429f3c(0x239)+_0x279d83;_0x180341[_0x429f3c(0x22c)][_0x429f3c(0x21e)](_0x5c5d8d)&&_0xca394b[_0x429f3c(0x23e)][_0x429f3c(0x255)](_0x5c5d8d),_0x18e6b4['on'](_0x429f3c(0x24c),(_0x15ff7e,_0x32b8b2,_0x624914)=>{const _0x5c8798=_0x429f3c;if(_0x5c8798(0x241)!=_0x32b8b2[_0x5c8798(0x24b)][_0x5c8798(0x20b)]&&_0x5c8798(0x241)==_0x18e6b4[_0x5c8798(0x1fd)]()[_0x5c8798(0x24b)][_0x5c8798(0x20b)]&&!_0x12d24e[_0x5c8798(0x21e)](_0x18e6b4[_0x5c8798(0x235)])){const _0x4a95da=_0x180341[_0x5c8798(0x206)][_0x5c8798(0x23b)](_0x624914[_0x5c8798(0x226)]);if(_0x4a95da){const _0x34d6e8=_0xb5283[_0x5c8798(0x246)](_0x4a95da);_0x12d24e[_0x5c8798(0x1e5)](_0x18e6b4[_0x5c8798(0x235)],_0x34d6e8),_0x34d6e8['on'](_0x5c8798(0x24c),(_0x1d398e,_0x3522c8,_0x5d69f6)=>{const _0x168fec=_0x5c8798;if(_0x168fec(0x241)==_0x34d6e8[_0x168fec(0x24b)][_0x168fec(0x20b)]){const _0x5e3d7d=_0x180341[_0x168fec(0x206)][_0x168fec(0x23b)](_0x5d69f6[_0x168fec(0x226)]);_0x5e3d7d?(_0x34d6e8[_0x168fec(0x21a)]=_0x5e3d7d[_0x168fec(0x21a)],_0x34d6e8[_0x168fec(0x22d)]=_0x5e3d7d[_0x168fec(0x22d)]):(_0x12d24e[_0x168fec(0x225)](_0x18e6b4[_0x168fec(0x235)]),_0x34d6e8[_0x168fec(0x204)]());}});}}});}),_0x180341[_0x5bcf1f(0x244)]['on'](_0x5bcf1f(0x1fe),()=>{const _0x3bd453=_0x5bcf1f;_0x12d24e[_0x3bd453(0x1df)]>0x0&&_0x180341[_0x3bd453(0x234)]({'isUndoable':!0x1},_0x24f4d5=>{const _0x18433d=_0x3bd453;for(const [_0x54e2e2,_0x59a254]of _0x12d24e)_0x18433d(0x241)==_0x180341[_0x18433d(0x22c)][_0x18433d(0x240)](_0x54e2e2)[_0x18433d(0x1fd)]()[_0x18433d(0x24b)][_0x18433d(0x20b)]&&(te(_0x54e2e2[_0x18433d(0x23d)](':')[0x2],_0x59a254[_0x18433d(0x1dd)](),_0x180341,_0x24f4d5),_0x59a254[_0x18433d(0x204)]());_0x12d24e[_0x18433d(0x24d)]();});});}(_0x2869df),this[_0x43c168(0x207)][_0x43c168(0x236)](_0x12fb58[_0x43c168(0x244)],_0x43c168(0x25a),(_0xfd9d71,{key:_0x1682d9})=>{const _0x5dd197=_0x43c168;_0x5dd197(0x20a)===_0x1682d9&&function(_0x31e2f3){const _0x2cf073=_0x5dd197;_0x31e2f3[_0x2cf073(0x23e)][_0x2cf073(0x1f1)][_0x2cf073(0x1fe)](_0x5848dd=>{const _0x4d7796=_0x2cf073;for(const _0x5040df of _0x31e2f3[_0x4d7796(0x1fb)][_0x4d7796(0x22c)]){if(!_0x5040df[_0x4d7796(0x235)][_0x4d7796(0x1f4)](_0x4d7796(0x21c)))continue;const _0x1c7f2b=_0x31e2f3[_0x4d7796(0x23e)][_0x4d7796(0x21f)][_0x4d7796(0x1f8)](_0x5040df[_0x4d7796(0x235)]);if(_0x1c7f2b){for(const _0x20d6e4 of _0x1c7f2b)_0x5848dd[_0x4d7796(0x219)](_0x4d7796(0x245),_0x20d6e4);}}});}(_0x2869df);},{'useCapture':!0x0});}[_0x49c8c1(0x257)](){const _0x279fae=_0x49c8c1,_0x44d63a=this[_0x279fae(0x258)],_0x498c1f=_0x44d63a[_0x279fae(0x238)][_0x279fae(0x240)](_0x279fae(0x1ee));_0x498c1f&&_0x44d63a[_0x279fae(0x1fb)]['on'](_0x279fae(0x1e0),(_0x4cb315,_0xb78a14)=>{const _0xcd6e8f=_0x279fae,_0x239e63=_0xb78a14[0x0];if(!_0x239e63[_0xcd6e8f(0x21d)])return;if(_0xcd6e8f(0x1f3)!=_0x239e63[_0xcd6e8f(0x208)]||!_0x239e63[_0xcd6e8f(0x235)][_0xcd6e8f(0x1f4)](_0xcd6e8f(0x1e9)))return;const _0x4cd3b1=_0x239e63[_0xcd6e8f(0x23a)];_0x498c1f[_0xcd6e8f(0x1e7)][_0xcd6e8f(0x21e)](_0x4cd3b1)&&(_0x239e63[_0xcd6e8f(0x1fc)]=_0x239e63[_0xcd6e8f(0x1e4)]?_0x44d63a[_0xcd6e8f(0x1fb)][_0xcd6e8f(0x23f)](_0x239e63[_0xcd6e8f(0x1e4)][_0xcd6e8f(0x21a)],_0x239e63[_0xcd6e8f(0x1e4)][_0xcd6e8f(0x22d)]):null);},{'priority':_0x279fae(0x1f5)});}[_0x49c8c1(0x210)](){const _0x1682df=_0x49c8c1;return this[_0x1682df(0x207)][_0x1682df(0x203)](),super[_0x1682df(0x210)]();}[_0x49c8c1(0x1db)](){const _0x3e0e54=_0x49c8c1,_0x372ca4=this[_0x3e0e54(0x258)],_0x5ea124=_0x372ca4[_0x3e0e54(0x1fb)][_0x3e0e54(0x244)],_0x32b6ca=_0x372ca4[_0x3e0e54(0x1d9)][_0x3e0e54(0x240)](_0x1d9d06);_0x372ca4[_0x3e0e54(0x1fb)][_0x3e0e54(0x234)]({'isUndoable':!0x1},_0x1fa7ac=>{const _0x9b455=_0x3e0e54,_0x3e75ab=_0x9b455(0x231)+_0x32b6ca[_0x9b455(0x1e6)],_0x198c14=_0x9b455(0x239)+_0x32b6ca[_0x9b455(0x1e6)],_0x143b5d=_0x372ca4[_0x9b455(0x1fb)][_0x9b455(0x22c)][_0x9b455(0x21e)](_0x3e75ab);_0x372ca4[_0x9b455(0x23e)][_0x9b455(0x1f1)][_0x9b455(0x1f0)]?te(_0x32b6ca[_0x9b455(0x1e6)],_0x5ea124[_0x9b455(0x21b)][_0x9b455(0x215)](),_0x372ca4[_0x9b455(0x1fb)],_0x1fa7ac):_0x143b5d&&(_0x1fa7ac[_0x9b455(0x1f2)](_0x3e75ab),_0x1fa7ac[_0x9b455(0x1f2)](_0x198c14));});}}function te(_0x3c4393,_0x4f14f1,_0x1865f3,_0x54ff86){const _0x4c5b3c=_0x49c8c1,_0x57dd31=_0x4c5b3c(0x231)+_0x3c4393,_0x399af8=_0x4c5b3c(0x239)+_0x3c4393,_0x58ac33=_0x4f14f1[_0x4c5b3c(0x25d)]();let _0x3d0b75=_0x4f14f1[_0x4c5b3c(0x21a)];_0x58ac33&&_0x58ac33['is'](_0x4c5b3c(0x222),_0x4c5b3c(0x1e1))&&(_0x3d0b75=function(_0x2b6ebd,_0x21581d){const _0x519953=_0x4c5b3c;for(const _0x8cd875 of _0x2b6ebd[_0x519953(0x229)]())if(_0x21581d[_0x519953(0x206)][_0x519953(0x261)](_0x8cd875,_0x519953(0x202)))return _0x8cd875;}(_0x4f14f1,_0x1865f3),_0x4f14f1=_0x54ff86[_0x4c5b3c(0x23f)](_0x3d0b75));const _0x59c957=_0x54ff86[_0x4c5b3c(0x23f)](_0x3d0b75);_0x1865f3[_0x4c5b3c(0x22c)][_0x4c5b3c(0x21e)](_0x57dd31)?(_0x54ff86[_0x4c5b3c(0x25b)](_0x57dd31,{'range':_0x4f14f1}),_0x54ff86[_0x4c5b3c(0x25b)](_0x399af8,{'range':_0x59c957})):(_0x54ff86[_0x4c5b3c(0x20d)](_0x57dd31,{'range':_0x4f14f1,'usingOperation':!0x0}),_0x54ff86[_0x4c5b3c(0x20d)](_0x399af8,{'range':_0x59c957,'usingOperation':!0x0}));}
|