@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.5 → 45.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
|
-
|
|
23
|
+
const _0x432fa3=_0x67e0;(function(_0x4b86bb,_0x32433e){const _0x460c96=_0x67e0,_0x5d0f3e=_0x4b86bb();while(!![]){try{const _0x13701f=-parseInt(_0x460c96(0x168))/0x1+parseInt(_0x460c96(0x16c))/0x2+parseInt(_0x460c96(0x15f))/0x3*(parseInt(_0x460c96(0x162))/0x4)+-parseInt(_0x460c96(0x16e))/0x5*(-parseInt(_0x460c96(0x172))/0x6)+-parseInt(_0x460c96(0x16a))/0x7+parseInt(_0x460c96(0x160))/0x8+-parseInt(_0x460c96(0x151))/0x9;if(_0x13701f===_0x32433e)break;else _0x5d0f3e['push'](_0x5d0f3e['shift']());}catch(_0x5e24e2){_0x5d0f3e['push'](_0x5d0f3e['shift']());}}}(_0x222e,0xc05ff));function _0x222e(){const _0x333e05=['createCollection','isExpanded','relatedTarget','presencelist:hide','69qtEbzN','5746056xrIyeM','list','141628xITVaH','keystrokes','presencelist:show','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','hasPopup','setAttribute','1548225gDRzAL','render','589001LTPsyo','contains','1495574PiDqec','removeAttribute','1910JkyXiD','set','ck-presence-list__list','querySelector','10398aLFwaa','listenTo','change:hasPopup','aria-expanded','div','4698684gYCNvF','element','items','focus','Connected\x20users\x20list','.ck-presence-list__dropdown-list','setTemplate','bindTemplate','.ck-balloon-panel_with-arrow','fire'];_0x222e=function(){return _0x333e05;};return _0x222e();}import{View as _0x14ddaa}from'ckeditor5/src/ui.js';function _0x67e0(_0x1dfed7,_0x3b8f34){const _0x222e74=_0x222e();return _0x67e0=function(_0x67e0d0,_0x1e60b2){_0x67e0d0=_0x67e0d0-0x150;let _0x2f7a43=_0x222e74[_0x67e0d0];return _0x2f7a43;},_0x67e0(_0x1dfed7,_0x3b8f34);}import{KeystrokeHandler as _0x345180}from'ckeditor5/src/utils.js';import{getTranslation as _0xe149e7}from'../../common-translations.js';export default class ts extends _0x14ddaa{[_0x432fa3(0x153)];[_0x432fa3(0x163)];constructor(_0x28ba7b){const _0x137d1b=_0x432fa3;super(_0x28ba7b);const _0x338920=this[_0x137d1b(0x158)];this[_0x137d1b(0x153)]=this[_0x137d1b(0x15b)](),this[_0x137d1b(0x163)]=new _0x345180(),this[_0x137d1b(0x16f)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x137d1b(0x157)]({'tag':_0x137d1b(0x150),'attributes':{'aria-haspopup':_0x338920['if'](_0x137d1b(0x166)),'aria-expanded':_0x338920['to'](_0x137d1b(0x15c),_0x3decfa=>this[_0x137d1b(0x166)]&&String(_0x3decfa)),'aria-label':_0x338920['to'](_0x137d1b(0x166),_0x5d7629=>_0xe149e7(_0x28ba7b,_0x5d7629?_0x137d1b(0x165):_0x137d1b(0x155))),'role':_0x137d1b(0x161),'tabindex':_0x338920['to'](_0x137d1b(0x166),_0x111b4f=>!!_0x111b4f&&0x0),'class':['ck',_0x137d1b(0x170)]},'children':this[_0x137d1b(0x153)],'on':{'mouseenter':_0x338920['to'](()=>this[_0x137d1b(0x15a)](_0x137d1b(0x164))),'mouseleave':_0x338920['to'](_0x3e8331=>{const _0x2a37fb=_0x137d1b,_0x33142d=_0x3e8331,_0x6a7b3c=document[_0x2a37fb(0x171)](_0x2a37fb(0x156)),_0x31d3fc=document[_0x2a37fb(0x171)](_0x2a37fb(0x159));_0x6a7b3c?.[_0x2a37fb(0x16b)](_0x33142d[_0x2a37fb(0x15d)])||_0x31d3fc?.[_0x2a37fb(0x16b)](_0x33142d[_0x2a37fb(0x15d)])||this[_0x2a37fb(0x15a)](_0x2a37fb(0x15e));})}}),this['on'](_0x137d1b(0x174),(_0x38cc87,_0x58a6ac,_0x220089)=>{const _0x4e5c82=_0x137d1b;this[_0x4e5c82(0x152)]&&(_0x220089?this[_0x4e5c82(0x152)][_0x4e5c82(0x167)](_0x4e5c82(0x175),String(this[_0x4e5c82(0x15c)])):this[_0x4e5c82(0x152)][_0x4e5c82(0x16d)](_0x4e5c82(0x175)));});}[_0x432fa3(0x154)](){const _0x2a0e66=_0x432fa3;this[_0x2a0e66(0x152)][_0x2a0e66(0x154)]();}[_0x432fa3(0x169)](){const _0x3ffbf5=_0x432fa3;super[_0x3ffbf5(0x169)](),this[_0x3ffbf5(0x163)][_0x3ffbf5(0x173)](this[_0x3ffbf5(0x152)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x51054d=_0x9607;(function(_0x76697c,_0x52da41){const _0x10ca29=_0x9607,_0x5d7bc7=_0x76697c();while(!![]){try{const _0x5aff60=-parseInt(_0x10ca29(0x1f6))/0x1+parseInt(_0x10ca29(0x1f7))/0x2+-parseInt(_0x10ca29(0x1f5))/0x3*(parseInt(_0x10ca29(0x1e8))/0x4)+parseInt(_0x10ca29(0x1f1))/0x5*(parseInt(_0x10ca29(0x1ea))/0x6)+parseInt(_0x10ca29(0x1f4))/0x7*(parseInt(_0x10ca29(0x201))/0x8)+parseInt(_0x10ca29(0x203))/0x9+-parseInt(_0x10ca29(0x1f3))/0xa*(parseInt(_0x10ca29(0x1e6))/0xb);if(_0x5aff60===_0x52da41)break;else _0x5d7bc7['push'](_0x5d7bc7['shift']());}catch(_0x214f76){_0x5d7bc7['push'](_0x5d7bc7['shift']());}}}(_0x1089,0xf2d1d));import{View as _0x2eb6f9}from'ckeditor5/src/ui.js';import _0x276a45 from'./presencecounterview.js';import _0x42d497 from'./presenceinlinelistview.js';function _0x9607(_0x47c714,_0xe31eac){const _0x10890d=_0x1089();return _0x9607=function(_0x96073f,_0x14c2c2){_0x96073f=_0x96073f-0x1e6;let _0x5b354c=_0x10890d[_0x96073f];return _0x5b354c;},_0x9607(_0x47c714,_0xe31eac);}import'../../../theme/presencelist.css';function _0x1089(){const _0x28f3f9=['tooltipPosition','ck-presence-list--collapsed','isCollapsed','div','first','1784BgWbem','ck-rounded-corners','4524426tziqdy','9959455FWLRjR','listenTo','12MqILFo','items','3246366ngvUBv','bind','set','ck-presence-list','inlineListView','locale','counterView','5aAbduA','setTemplate','10OUcJIo','45451lOkJHD','1280613cMsqQL','731016QboFtB','2839818fQgTPx','ck-reset','change','hasPopup','bindTemplate'];_0x1089=function(){return _0x28f3f9;};return _0x1089();}export default class j extends _0x2eb6f9{[_0x51054d(0x1f0)];[_0x51054d(0x1ee)];constructor(_0x28ff66,_0x37200b=0x6){const _0x5040fb=_0x51054d;super(_0x28ff66);const _0x778bfd=this[_0x5040fb(0x1fb)];this[_0x5040fb(0x1ec)](_0x5040fb(0x1fe),!0x0),this[_0x5040fb(0x1f0)]=new _0x276a45(this[_0x5040fb(0x1ef)],_0x37200b),this[_0x5040fb(0x1ee)]=new _0x42d497(_0x28ff66),this[_0x5040fb(0x1ee)][_0x5040fb(0x1eb)](_0x5040fb(0x1fa))['to'](this,_0x5040fb(0x1fe)),this[_0x5040fb(0x1e7)](this[_0x5040fb(0x1ee)][_0x5040fb(0x1e9)],_0x5040fb(0x1f9),()=>{const _0xd38f4a=_0x5040fb;for(const _0x4898ec of this[_0xd38f4a(0x1ee)][_0xd38f4a(0x1e9)])_0x4898ec[_0xd38f4a(0x1fc)]='s';this[_0xd38f4a(0x1ee)][_0xd38f4a(0x1e9)][_0xd38f4a(0x200)]&&(this[_0xd38f4a(0x1ee)][_0xd38f4a(0x1e9)][_0xd38f4a(0x200)][_0xd38f4a(0x1fc)]='se');}),this[_0x5040fb(0x1f2)]({'tag':_0x5040fb(0x1ff),'attributes':{'class':['ck',_0x5040fb(0x1ed),_0x5040fb(0x1f8),_0x5040fb(0x202),_0x778bfd['if'](_0x5040fb(0x1fe),_0x5040fb(0x1fd))]},'children':[this[_0x5040fb(0x1ee)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x2c9032=_0xd1e7;(function(_0xd11637,_0x2fd7aa){var _0x4dfc38=_0xd1e7,_0x5a2ff8=_0xd11637();while(!![]){try{var _0x2d97d8=parseInt(_0x4dfc38(0x119))/0x1*(parseInt(_0x4dfc38(0x11e))/0x2)+parseInt(_0x4dfc38(0x11f))/0x3+-parseInt(_0x4dfc38(0x120))/0x4*(parseInt(_0x4dfc38(0x123))/0x5)+parseInt(_0x4dfc38(0x11b))/0x6+-parseInt(_0x4dfc38(0x11d))/0x7*(parseInt(_0x4dfc38(0x11c))/0x8)+parseInt(_0x4dfc38(0x121))/0x9*(parseInt(_0x4dfc38(0x116))/0xa)+-parseInt(_0x4dfc38(0x118))/0xb;if(_0x2d97d8===_0x2fd7aa)break;else _0x5a2ff8['push'](_0x5a2ff8['shift']());}catch(_0x35a37d){_0x5a2ff8['push'](_0x5a2ff8['shift']());}}}(_0x33ed,0x6b8e1));import{ContextPlugin as _0x51d0c8}from'ckeditor5/src/core.js';function _0x33ed(){var _0x3ddd01=['7534DWBCeP','1997895MECNUU','4132TmRovQ','9OCcYWV','pluginName','2170DjPQpx','requires','isPremiumPlugin','965870GHAVbd','isOfficialPlugin','7903247hJMquX','163bBkaLe','PresenceList','5121438tCpiCi','1096nNgCRV','31822jcdtZT'];_0x33ed=function(){return _0x3ddd01;};return _0x33ed();}function _0xd1e7(_0x295c0c,_0x1b3610){var _0x33ed31=_0x33ed();return _0xd1e7=function(_0xd1e7b5,_0x2b669d){_0xd1e7b5=_0xd1e7b5-0x114;var _0x402930=_0x33ed31[_0xd1e7b5];return _0x402930;},_0xd1e7(_0x295c0c,_0x1b3610);}import _0x300d15 from'./realtimecollaborativeediting/sessions.js';import _0x3ad524 from'./presencelist/presencelistui.js';export default class s extends _0x51d0c8{static get[_0x2c9032(0x114)](){return[_0x300d15,_0x3ad524];}static get[_0x2c9032(0x122)](){var _0x2470f1=_0x2c9032;return _0x2470f1(0x11a);}static get[_0x2c9032(0x117)](){return!0x0;}static get[_0x2c9032(0x115)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x5952f0)());[_0x44e834(0x175)];static get[_0x44e834(0x132)](){const _0x3cad74=_0x44e834;return[_0x5a20a4,_0x3cad74(0x130),_0x4d5ee6,_0x3a4610];}static get[_0x44e834(0x15a)](){const _0x2ebb65=_0x44e834;return _0x2ebb65(0x117);}static get[_0x44e834(0x115)](){return!0x0;}static get[_0x44e834(0x14a)](){return!0x0;}constructor(_0x3cb23d){const _0x25a0fc=_0x44e834;super(_0x3cb23d),this[_0x25a0fc(0x175)]=new Map();}async[_0x44e834(0x153)](){const _0x224296=_0x44e834,_0x458498=this[_0x224296(0x15d)],_0x324976=_0x458498[_0x224296(0x14d)][_0x224296(0x168)](_0x224296(0x130));if(_0x458498[_0x224296(0x14d)][_0x224296(0x168)](_0x5a20a4)[_0x224296(0x166)](this),_0x324976[_0x224296(0x118)]={'addCommentThread':async({channelId:_0x23d72a,threadId:_0x19a333,comments:_0x17285e,resolvedAt:_0x31e777,resolvedBy:_0x5d4505,context:_0x208ef,attributes:_0x41637c})=>{const _0x107a7c=_0x224296,_0x341fc2=await this[_0x107a7c(0x140)](_0x23d72a)[_0x107a7c(0x139)]({'commentThreadId':_0x19a333,'comments':_0x17285e[_0x107a7c(0x11d)](_0x3bba54=>function(_0x5b27c8,_0x2c4b4e,_0x7abd03){const _0x4e89c1=_0x107a7c;return{'commentThreadId':_0x7abd03,'commentId':_0x5b27c8[_0x4e89c1(0x14e)],'userId':_0x5b27c8[_0x4e89c1(0x17a)],'content':_0x5b27c8[_0x4e89c1(0x137)],'documentId':_0x2c4b4e,'createdAt':_0x5b27c8[_0x4e89c1(0x157)],'attributes':_0x5b27c8[_0x4e89c1(0x174)]||{}};}(_0x3bba54,_0x23d72a,_0x19a333)),'resolvedAt':_0x31e777,'resolvedBy':_0x5d4505,'context':_0x208ef,'attributes':_0x41637c})[_0x107a7c(0x145)](w);return{'threadId':_0x341fc2[_0x107a7c(0x15f)],'comments':_0x341fc2[_0x107a7c(0x178)]};},'getCommentThread':async({channelId:_0x23c12c,threadId:_0x4fa052})=>{const _0x4d1327=_0x224296,_0x3c74ba=await this[_0x4d1327(0x140)](_0x23c12c)[_0x4d1327(0x12b)](_0x4fa052)[_0x4d1327(0x145)](w);return _0x3c74ba[_0x4d1327(0x123)]?null:(await this[_0x4d1327(0x114)]([_0x3c74ba]),{'threadId':_0x3c74ba[_0x4d1327(0x15f)],'comments':_0x3c74ba[_0x4d1327(0x178)][_0x4d1327(0x11d)](b),'context':_0x3c74ba[_0x4d1327(0x15d)],'resolvedAt':_0x3c74ba[_0x4d1327(0x169)],'resolvedBy':_0x3c74ba[_0x4d1327(0x16c)],'attributes':_0x3c74ba[_0x4d1327(0x174)]||{}});},'updateCommentThread':async({channelId:_0x4e4399,threadId:_0x3bffd6,context:_0x243902,unlinkedAt:_0x20ed55,attributes:_0x4cc339})=>this[_0x224296(0x140)](_0x4e4399)[_0x224296(0x12d)]({'commentThreadId':_0x3bffd6,'context':_0x243902,'attributes':_0x4cc339,'unlinkedAt':_0x20ed55})[_0x224296(0x145)](y)[_0x224296(0x145)](w),'resolveCommentThread':async({channelId:_0x2e36ad,threadId:_0x1241de})=>{const _0xa578ef=_0x224296,_0x345d49=await this[_0xa578ef(0x140)](_0x2e36ad)[_0xa578ef(0x131)](_0x1241de)[_0xa578ef(0x145)](y)[_0xa578ef(0x145)](w);return{'threadId':_0x345d49[_0xa578ef(0x15f)],'resolvedAt':_0x345d49[_0xa578ef(0x169)],'resolvedBy':_0x345d49[_0xa578ef(0x16c)]};},'reopenCommentThread':async({channelId:_0x2cc1b3,threadId:_0x3665be})=>this[_0x224296(0x140)](_0x2cc1b3)[_0x224296(0x154)](_0x3665be)[_0x224296(0x145)](y)[_0x224296(0x145)](w),'removeCommentThread':({channelId:_0x2f5d75,threadId:_0x28d153})=>this[_0x224296(0x140)](_0x2f5d75)[_0x224296(0x152)](_0x28d153)[_0x224296(0x145)](y)[_0x224296(0x145)](w),'addComment':({channelId:_0x24fdf7,threadId:_0x491db5,commentId:_0x29f4d2,content:_0x34de09,attributes:_0x330a3c})=>this[_0x224296(0x140)](_0x24fdf7)[_0x224296(0x129)](_0x491db5,_0x29f4d2,_0x34de09,_0x330a3c)[_0x224296(0x145)](w),'updateComment':({channelId:_0x16d905,threadId:_0x17de98,commentId:_0x4bd8c5,content:_0x421d1b,attributes:_0x5e1280})=>this[_0x224296(0x140)](_0x16d905)[_0x224296(0x128)](_0x17de98,_0x4bd8c5,_0x421d1b,_0x5e1280)[_0x224296(0x145)](y)[_0x224296(0x145)](w),'removeComment':({channelId:_0xce61f1,threadId:_0x156370,commentId:_0x2715c6})=>this[_0x224296(0x140)](_0xce61f1)[_0x224296(0x165)](_0x156370,_0x2715c6)[_0x224296(0x145)](y)[_0x224296(0x145)](w)},_0x458498 instanceof _0x356e28){const _0x4d19ff=_0x458498[_0x224296(0x136)][_0x224296(0x168)](_0x224296(0x127)),_0x4c1be1=_0x458498[_0x224296(0x14d)][_0x224296(0x168)](_0x4d5ee6);await this[_0x224296(0x13f)](_0x4d19ff);const _0x348fa7=await this[_0x224296(0x175)][_0x224296(0x168)](_0x4d19ff)[_0x224296(0x17b)]();this[_0x224296(0x141)](_0x4c1be1,_0x224296(0x12c)+_0x4d19ff,(_0x4cd8cc,{session:_0x31a90a})=>{const _0x18bbfc=_0x224296;_0x31a90a['id']===_0x4c1be1[_0x18bbfc(0x14b)]&&(_0x4cd8cc[_0x18bbfc(0x13a)](),this[_0x18bbfc(0x15d)][_0x18bbfc(0x14d)][_0x18bbfc(0x168)](_0x18bbfc(0x11c))[_0x18bbfc(0x163)](_0x31a90a[_0x18bbfc(0x144)],_0x4d19ff));}),_0x4c1be1[_0x224296(0x126)](_0x4d19ff,_0x348fa7);}}async[_0x44e834(0x13f)](_0x147f7b){const _0x1f3a2a=_0x44e834;if(this[_0x1f3a2a(0x175)][_0x1f3a2a(0x149)](_0x147f7b))throw new _0x25e4da(_0x1f3a2a(0x135),null,{'channelId':_0x147f7b});const _0x488f40=this[_0x1f3a2a(0x15d)][_0x1f3a2a(0x14d)][_0x1f3a2a(0x168)](_0x1f3a2a(0x130)),_0x20f36a=new a[(_0x1f3a2a(0x120))](_0x147f7b);this[_0x1f3a2a(0x175)][_0x1f3a2a(0x177)](_0x147f7b,_0x20f36a),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x11b),(_0x2a15a2,_0x3b8f6a)=>{const _0x261f1c=_0x1f3a2a,{commentThreadId:_0x3dd752,documentId:_0x339b9c,context:_0x419fba,attributes:_0x59e20c,resolvedAt:_0x2dfb6e,resolvedBy:_0x3084ef,comments:_0x5e5de6}=_0x3b8f6a;_0x488f40[_0x261f1c(0x12b)](_0x3dd752)||_0x488f40[_0x261f1c(0x139)]({'threadId':_0x3dd752,'channelId':_0x339b9c,'comments':_0x5e5de6?_0x5e5de6[_0x261f1c(0x11d)](b):[],'context':_0x419fba,'attributes':_0x59e20c,'resolvedAt':_0x2dfb6e,'resolvedBy':_0x3084ef,'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x122),(_0x465eb8,{commentThreadId:_0x26dbb8,documentId:_0x57584a,context:_0x20d99b,unlinkedAt:_0xf8a669,attributes:_0xd2822f})=>{const _0x317b57=_0x1f3a2a;_0x488f40[_0x317b57(0x12b)](_0x26dbb8)&&_0x488f40[_0x317b57(0x12d)]({'threadId':_0x26dbb8,'channelId':_0x57584a,'context':_0x20d99b,'unlinkedAt':_0xf8a669,'attributes':_0xd2822f,'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x176),(_0x50fdd7,{commentThreadId:_0xd55b5c,resolvedBy:_0x193b3e,resolvedAt:_0x89048b})=>{const _0x104956=_0x1f3a2a,_0x3b4422=_0x488f40[_0x104956(0x12b)](_0xd55b5c);_0x3b4422&&_0x3b4422[_0x104956(0x161)]({'resolvedBy':_0x193b3e,'resolvedAt':_0x89048b,'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x15b),(_0x44b719,{commentThreadId:_0x3cc177})=>{const _0x40f64f=_0x1f3a2a,_0x419bcb=_0x488f40[_0x40f64f(0x12b)](_0x3cc177);_0x419bcb&&_0x419bcb[_0x40f64f(0x170)]({'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x119),(_0x1858b7,{commentThreadId:_0x13255d})=>{const _0x2f4715=_0x1f3a2a,_0x46eda9=_0x488f40[_0x2f4715(0x12b)](_0x13255d);_0x46eda9&&_0x46eda9[_0x2f4715(0x13e)]({'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x158),(_0x1bb1b0,_0x4ff736)=>{const _0x3b056a=_0x1f3a2a,_0x180e2f=_0x4ff736[_0x3b056a(0x15f)],_0x1e0a7c=_0x488f40[_0x3b056a(0x12b)](_0x180e2f);_0x1e0a7c&&_0x1e0a7c[_0x3b056a(0x129)]({...b(_0x4ff736),'isFromAdapter':!0x0});}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x142),(_0x55a58f,{commentThreadId:_0x3ef6c4,commentId:_0x4aff17,content:_0x28d75e,attributes:_0x465e4e})=>{const _0x2dcb04=_0x1f3a2a,_0x13865d=_0x488f40[_0x2dcb04(0x12b)](_0x3ef6c4);if(_0x13865d){const _0x6b663c=_0x13865d[_0x2dcb04(0x133)](_0x4aff17);_0x6b663c&&_0x6b663c[_0x2dcb04(0x16d)]({'content':_0x28d75e,'attributes':_0x465e4e,'isFromAdapter':!0x0});}}),this[_0x1f3a2a(0x141)](_0x20f36a,_0x1f3a2a(0x15c),(_0x1298cf,{commentThreadId:_0x4b379c,commentId:_0x58d6af})=>{const _0x28a710=_0x1f3a2a,_0x483efb=_0x488f40[_0x28a710(0x12b)](_0x4b379c);if(_0x483efb){const _0x3ea242=_0x483efb[_0x28a710(0x133)](_0x58d6af);_0x3ea242&&_0x3ea242[_0x28a710(0x13e)]({'isFromAdapter':!0x0});}}),await this[_0x1f3a2a(0x171)](_0x147f7b);}[_0x44e834(0x134)](){const _0x25d762=_0x44e834;if(this[_0x25d762(0x15d)]instanceof _0x356e28){const _0x1c4332=this[_0x25d762(0x15d)][_0x25d762(0x136)][_0x25d762(0x168)](_0x25d762(0x127));this[_0x25d762(0x124)](_0x1c4332);}}[_0x44e834(0x124)](_0x548908){const _0x2f6c9f=_0x44e834;if(!this[_0x2f6c9f(0x175)][_0x2f6c9f(0x149)](_0x548908))throw new _0x25e4da(_0x2f6c9f(0x173),null,{'channelId':_0x548908});this[_0x2f6c9f(0x140)](_0x548908)[_0x2f6c9f(0x11f)](),this[_0x2f6c9f(0x175)][_0x2f6c9f(0x121)](_0x548908);}async[_0x44e834(0x147)](){const _0x28d27d=_0x44e834;for(const _0xa7221f of this[_0x28d27d(0x175)][_0x28d27d(0x150)]())await this[_0x28d27d(0x171)](_0xa7221f);if(this[_0x28d27d(0x15d)]instanceof _0x356e28){const _0x2f690e=this[_0x28d27d(0x15d)][_0x28d27d(0x136)][_0x28d27d(0x168)](_0x28d27d(0x127)),_0xf04f76=this[_0x28d27d(0x15d)][_0x28d27d(0x14d)][_0x28d27d(0x168)](_0x4d5ee6);_0xf04f76[_0x28d27d(0x160)](_0x2f690e);const _0x187ec8=await this[_0x28d27d(0x175)][_0x28d27d(0x168)](_0x2f690e)[_0x28d27d(0x17b)]();_0xf04f76[_0x28d27d(0x126)](_0x2f690e,_0x187ec8);}}async[_0x44e834(0x171)](_0x189528){const _0x58e9a5=_0x44e834,{connection:_0x3e08fe}=this[_0x58e9a5(0x15d)][_0x58e9a5(0x14d)][_0x58e9a5(0x168)](_0x5a20a4),_0x4e6b7a=this[_0x58e9a5(0x15d)][_0x58e9a5(0x14d)][_0x58e9a5(0x168)](_0x58e9a5(0x130)),_0x5c43c0=this[_0x58e9a5(0x175)][_0x58e9a5(0x168)](_0x189528),_0x18a3a9=await _0x5c43c0[_0x58e9a5(0x156)](_0x3e08fe);await this[_0x58e9a5(0x114)](_0x18a3a9);const _0x258808=new Set(Array[_0x58e9a5(0x125)](_0x4e6b7a[_0x58e9a5(0x16f)]({'channelId':_0x189528}),_0x5b3eb3=>_0x5b3eb3['id']));for(const _0x3996c9 of _0x18a3a9)_0x3996c9[_0x58e9a5(0x123)]||_0x258808[_0x58e9a5(0x121)](_0x3996c9[_0x58e9a5(0x15f)]);for(const _0x180ec3 of _0x258808)_0x4e6b7a[_0x58e9a5(0x12b)](_0x180ec3)[_0x58e9a5(0x13e)]({'isFromAdapter':!0x0});for(const _0x34c79e of _0x18a3a9){let _0x470717=_0x4e6b7a[_0x58e9a5(0x12b)](_0x34c79e[_0x58e9a5(0x15f)]);const {commentThreadId:_0xa6e8aa,context:_0x444958,attributes:_0x1edd0f,resolvedBy:_0x464ecb,resolvedAt:_0xccf807,unlinkedAt:_0x3049ed,deletedAt:_0x44c011}=_0x34c79e;if(_0x44c011)continue;_0x470717||(_0x470717=_0x4e6b7a[_0x58e9a5(0x139)]({'channelId':_0x189528,'threadId':_0xa6e8aa,'context':_0x444958,'attributes':_0x1edd0f||{},'resolvedBy':_0x464ecb,'resolvedAt':_0xccf807,'unlinkedAt':_0x3049ed,'isFromAdapter':!0x0}));const _0x1dd8c8=new Set(Array[_0x58e9a5(0x125)](_0x470717[_0x58e9a5(0x178)],_0x35ed0d=>_0x35ed0d['id']));for(const _0x451096 of _0x34c79e[_0x58e9a5(0x178)])_0x1dd8c8[_0x58e9a5(0x121)](_0x451096[_0x58e9a5(0x14e)]);for(const _0x5b9aed of _0x1dd8c8)_0x470717[_0x58e9a5(0x133)](_0x5b9aed)[_0x58e9a5(0x13e)]({'isFromAdapter':!0x0});for(const _0x543966 of _0x34c79e[_0x58e9a5(0x178)]){const _0x32c9f8=_0x470717[_0x58e9a5(0x133)](_0x543966[_0x58e9a5(0x14e)]);_0x32c9f8?_0x32c9f8[_0x58e9a5(0x137)]!==_0x543966[_0x58e9a5(0x137)]&&_0x32c9f8[_0x58e9a5(0x16d)]({'content':_0x543966[_0x58e9a5(0x137)],'isFromAdapter':!0x0}):_0x470717[_0x58e9a5(0x129)](Object[_0x58e9a5(0x155)](b(_0x543966),{'isFromAdapter':!0x0}));}}}[_0x44e834(0x140)](_0x2efac6){const _0x542e6a=_0x44e834;if(!this[_0x542e6a(0x175)][_0x542e6a(0x149)](_0x2efac6))throw new _0x25e4da(_0x542e6a(0x12f),null,{'channelId':_0x2efac6});return this[_0x542e6a(0x175)][_0x542e6a(0x168)](_0x2efac6);}async[_0x44e834(0x114)](_0x12a1a8){const _0xd1195b=_0x44e834,_0x59b0d9=this[_0xd1195b(0x15d)][_0xd1195b(0x14d)][_0xd1195b(0x168)](_0x3a4610),{connection:_0x22d749}=this[_0xd1195b(0x15d)][_0xd1195b(0x14d)][_0xd1195b(0x168)](_0x5a20a4),_0x407865=new Set();for(const {resolvedBy:_0x742f93,comments:_0x161537}of _0x12a1a8){_0x742f93&&!_0x59b0d9[_0xd1195b(0x16e)](_0x742f93)&&_0x407865[_0xd1195b(0x14c)](_0x742f93);for(const {userId:_0x33e7e6}of _0x161537)_0x59b0d9[_0xd1195b(0x16e)](_0x33e7e6)||_0x407865[_0xd1195b(0x14c)](_0x33e7e6);}if(0x0===_0x407865[_0xd1195b(0x151)])return;const _0x861b52=await _0x560b93[_0xd1195b(0x11a)](_0x22d749,Array[_0xd1195b(0x125)](_0x407865));for(const _0x1a10de of _0x861b52)_0x59b0d9[_0xd1195b(0x16e)](_0x1a10de['id'])||_0x59b0d9[_0xd1195b(0x13c)](_0x1a10de);}}export default a;async function y(_0x731018){const _0x32a63f=_0x44e834;if(_0x32a63f(0x148)!==_0x731018[_0x32a63f(0x12e)])throw _0x731018;}function w(_0x1cda2c){const _0x30040b=_0x44e834;if((_0x1d786f=_0x1cda2c)[_0x30040b(0x16b)][_0x30040b(0x146)](_0x30040b(0x164))||_0x1d786f[_0x30040b(0x16b)][_0x30040b(0x146)](_0x30040b(0x16a))||_0x1d786f[_0x30040b(0x16b)][_0x30040b(0x146)](_0x30040b(0x172)))return new Promise(()=>{});var _0x1d786f;throw _0x1cda2c;}function b(_0x2633d3){const _0x1458b4=_0x44e834;return{'threadId':_0x2633d3[_0x1458b4(0x15f)],'commentId':_0x2633d3[_0x1458b4(0x14e)],'content':_0x2633d3[_0x1458b4(0x137)],'createdAt':_0x2633d3[_0x1458b4(0x157)],'authorId':_0x2633d3[_0x1458b4(0x179)],'attributes':_0x2633d3[_0x1458b4(0x174)]||{}};}
|
|
23
|
+
const _0xed70eb=_0x3888;(function(_0x51281c,_0xe8e39){const _0x35da21=_0x3888,_0x5558d7=_0x51281c();while(!![]){try{const _0x4bf90a=-parseInt(_0x35da21(0x224))/0x1*(-parseInt(_0x35da21(0x1e4))/0x2)+-parseInt(_0x35da21(0x1e3))/0x3+parseInt(_0x35da21(0x22c))/0x4+parseInt(_0x35da21(0x1d5))/0x5*(parseInt(_0x35da21(0x22d))/0x6)+-parseInt(_0x35da21(0x21a))/0x7*(-parseInt(_0x35da21(0x1cb))/0x8)+-parseInt(_0x35da21(0x200))/0x9+-parseInt(_0x35da21(0x1cf))/0xa;if(_0x4bf90a===_0xe8e39)break;else _0x5558d7['push'](_0x5558d7['shift']());}catch(_0xe05f11){_0x5558d7['push'](_0x5558d7['shift']());}}}(_0x3b45,0x64b75));import{Context as _0x36f2b2,ContextPlugin as _0x59b868}from'ckeditor5/src/core.js';function _0x3b45(){const _0x2ab04a=['deletedAt','1114683BfJOMQ','4rNdAwF','resolvedBy','context','addComment','isOfficialPlugin','mySessionId','updateComment','isPremiumPlugin','getConnectedSessions','commentThreadId','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','destroy','connect','keys','userId','off','commentUpdated','getMany','commentRemoved','404','listenTo','disconnect','commentThreadAdded','has','setPermissions','permissions','adapter','commentThreadReopened','485280GmCMNZ','CommentsRepository','CloudServicesCommentsAdapter','resolveCommentThread','getUser','cloud-services-internal-error:\x20Not\x20connected.','addUser','update','commentId','register','get','_connectService','add','reconnect','_getService','resolvedAt','addCommentThread','requires','size','cloudservicescommentsadapter-service-not-exist','collaboration.channelId','commentThreadResolved','updateCommentThread','createdAt','delete','_services','102634UwKHRE','getCommentThread','reopen','commentThreadRemoved','set','removeComment','content','assign','removeCommentThread','map','285123lxoQlB','startsWith','addToReconnectionStack','getComment','Permissions','commentAdded','remove','catch','2671164qplOpl','264jrkTEV','pluginName','unregister','message','160VpbRsc','getCommentThreads','_fetchMissingUsersForThreads','config','7125790tMrfoQ','from','comments','cloudservicescommentsadapter-disconnect-not-exist','commentThreadUpdated','code','2195cSbeon','cloudservicescommentsadapter-connect-already-connected','reopenCommentThread','plugins','cloud-services-internal-error:\x20Request\x20timeout.','CommentsService','_setUpService','init','_terminateService','attributes','sessionAdd:','resolve','authorId'];_0x3b45=function(){return _0x2ab04a;};return _0x3b45();}import{CKEditorError as _0x4d127a}from'ckeditor5/src/utils.js';import{Users as _0x45a0a9}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5a1385,User as _0xe358e9}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x2578c6 from'../realtimecollaborativeediting/websocketgateway.js';import _0x2e33c4 from'../realtimecollaborativeediting/sessions.js';class a extends _0x59b868{static [_0xed70eb(0x1da)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5a1385)());[_0xed70eb(0x219)];static get[_0xed70eb(0x211)](){const _0x225bb3=_0xed70eb;return[_0x2578c6,_0x225bb3(0x201),_0x2e33c4,_0x45a0a9];}static get[_0xed70eb(0x22e)](){const _0x487242=_0xed70eb;return _0x487242(0x202);}static get[_0xed70eb(0x1e8)](){return!0x0;}static get[_0xed70eb(0x1eb)](){return!0x0;}constructor(_0x58b3aa){const _0x1c17ea=_0xed70eb;super(_0x58b3aa),this[_0x1c17ea(0x219)]=new Map();}async[_0xed70eb(0x1dc)](){const _0x37d82e=_0xed70eb,_0xc3f1d7=this[_0x37d82e(0x1e6)],_0xd58104=_0xc3f1d7[_0x37d82e(0x1d8)][_0x37d82e(0x20a)](_0x37d82e(0x201));if(_0xc3f1d7[_0x37d82e(0x1d8)][_0x37d82e(0x20a)](_0x2578c6)[_0x37d82e(0x226)](this),_0xd58104[_0x37d82e(0x1fe)]={'addCommentThread':async({channelId:_0x22d33d,threadId:_0x4c2621,comments:_0x6c3d53,resolvedAt:_0x2dff66,resolvedBy:_0x335816,context:_0x825b69,attributes:_0x9ec09f})=>{const _0x1a2cd9=_0x37d82e,_0x139321=await this[_0x1a2cd9(0x20e)](_0x22d33d)[_0x1a2cd9(0x210)]({'commentThreadId':_0x4c2621,'comments':_0x6c3d53[_0x1a2cd9(0x223)](_0x467b4d=>function(_0x1f0c9f,_0x11d39a,_0x1d1a2d){const _0x393a80=_0x1a2cd9;return{'commentThreadId':_0x1d1a2d,'commentId':_0x1f0c9f[_0x393a80(0x208)],'userId':_0x1f0c9f[_0x393a80(0x1e1)],'content':_0x1f0c9f[_0x393a80(0x220)],'documentId':_0x11d39a,'createdAt':_0x1f0c9f[_0x393a80(0x217)],'attributes':_0x1f0c9f[_0x393a80(0x1de)]||{}};}(_0x467b4d,_0x22d33d,_0x4c2621)),'resolvedAt':_0x2dff66,'resolvedBy':_0x335816,'context':_0x825b69,'attributes':_0x9ec09f})[_0x1a2cd9(0x22b)](R);return{'threadId':_0x139321[_0x1a2cd9(0x1ed)],'comments':_0x139321[_0x1a2cd9(0x1d1)]};},'getCommentThread':async({channelId:_0x3a90c7,threadId:_0x1cf048})=>{const _0x16256d=_0x37d82e,_0x2b3c43=await this[_0x16256d(0x20e)](_0x3a90c7)[_0x16256d(0x21b)](_0x1cf048)[_0x16256d(0x22b)](R);return _0x2b3c43[_0x16256d(0x1e2)]?null:(await this[_0x16256d(0x1cd)]([_0x2b3c43]),{'threadId':_0x2b3c43[_0x16256d(0x1ed)],'comments':_0x2b3c43[_0x16256d(0x1d1)][_0x16256d(0x223)](_),'context':_0x2b3c43[_0x16256d(0x1e6)],'resolvedAt':_0x2b3c43[_0x16256d(0x20f)],'resolvedBy':_0x2b3c43[_0x16256d(0x1e5)],'attributes':_0x2b3c43[_0x16256d(0x1de)]||{}});},'updateCommentThread':async({channelId:_0x399df8,threadId:_0x5bfb6a,context:_0x1d5981,unlinkedAt:_0x24dd55,attributes:_0xf139bf})=>this[_0x37d82e(0x20e)](_0x399df8)[_0x37d82e(0x216)]({'commentThreadId':_0x5bfb6a,'context':_0x1d5981,'attributes':_0xf139bf,'unlinkedAt':_0x24dd55})[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'resolveCommentThread':async({channelId:_0x5a82f5,threadId:_0x16f9c7})=>{const _0x268f35=_0x37d82e,_0x1109c7=await this[_0x268f35(0x20e)](_0x5a82f5)[_0x268f35(0x203)](_0x16f9c7)[_0x268f35(0x22b)](S)[_0x268f35(0x22b)](R);return{'threadId':_0x1109c7[_0x268f35(0x1ed)],'resolvedAt':_0x1109c7[_0x268f35(0x20f)],'resolvedBy':_0x1109c7[_0x268f35(0x1e5)]};},'reopenCommentThread':async({channelId:_0xacf8ea,threadId:_0x5bf0dc})=>this[_0x37d82e(0x20e)](_0xacf8ea)[_0x37d82e(0x1d7)](_0x5bf0dc)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'removeCommentThread':({channelId:_0x4d9bcf,threadId:_0x101379})=>this[_0x37d82e(0x20e)](_0x4d9bcf)[_0x37d82e(0x222)](_0x101379)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'addComment':({channelId:_0x3eab60,threadId:_0x3dde69,commentId:_0x192250,content:_0x48730b,attributes:_0x1f61c4})=>this[_0x37d82e(0x20e)](_0x3eab60)[_0x37d82e(0x1e7)](_0x3dde69,_0x192250,_0x48730b,_0x1f61c4)[_0x37d82e(0x22b)](R),'updateComment':({channelId:_0x5cfca1,threadId:_0x499a40,commentId:_0x2163c7,content:_0xc220a2,attributes:_0x8c81b4})=>this[_0x37d82e(0x20e)](_0x5cfca1)[_0x37d82e(0x1ea)](_0x499a40,_0x2163c7,_0xc220a2,_0x8c81b4)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'removeComment':({channelId:_0x5b8a2a,threadId:_0x54a5d3,commentId:_0x44373b})=>this[_0x37d82e(0x20e)](_0x5b8a2a)[_0x37d82e(0x21f)](_0x54a5d3,_0x44373b)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R)},_0xc3f1d7 instanceof _0x36f2b2){const _0xf9847e=_0xc3f1d7[_0x37d82e(0x1ce)][_0x37d82e(0x20a)](_0x37d82e(0x214)),_0x70c74b=_0xc3f1d7[_0x37d82e(0x1d8)][_0x37d82e(0x20a)](_0x2e33c4);await this[_0x37d82e(0x1db)](_0xf9847e);const _0x1c10e0=await this[_0x37d82e(0x219)][_0x37d82e(0x20a)](_0xf9847e)[_0x37d82e(0x1ec)]();this[_0x37d82e(0x1f8)](_0x70c74b,_0x37d82e(0x1df)+_0xf9847e,(_0x3388c6,{session:_0xe2818a})=>{const _0xce5445=_0x37d82e;_0xe2818a['id']===_0x70c74b[_0xce5445(0x1e9)]&&(_0x3388c6[_0xce5445(0x1f3)](),this[_0xce5445(0x1e6)][_0xce5445(0x1d8)][_0xce5445(0x20a)](_0xce5445(0x228))[_0xce5445(0x1fc)](_0xe2818a[_0xce5445(0x1fd)],_0xf9847e));}),_0x70c74b[_0x37d82e(0x209)](_0xf9847e,_0x1c10e0);}}async[_0xed70eb(0x1db)](_0x5ec889){const _0x37dc13=_0xed70eb;if(this[_0x37dc13(0x219)][_0x37dc13(0x1fb)](_0x5ec889))throw new _0x4d127a(_0x37dc13(0x1d6),null,{'channelId':_0x5ec889});const _0x2cd3e9=this[_0x37dc13(0x1e6)][_0x37dc13(0x1d8)][_0x37dc13(0x20a)](_0x37dc13(0x201)),_0x5b7d7a=new a[(_0x37dc13(0x1da))](_0x5ec889);this[_0x37dc13(0x219)][_0x37dc13(0x21e)](_0x5ec889,_0x5b7d7a),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1fa),(_0x3271a1,_0x35bb23)=>{const _0x219225=_0x37dc13,{commentThreadId:_0x17b4b1,documentId:_0x592114,context:_0x1b92db,attributes:_0x46a711,resolvedAt:_0x37e63e,resolvedBy:_0x52a232,comments:_0x46814e}=_0x35bb23;_0x2cd3e9[_0x219225(0x21b)](_0x17b4b1)||_0x2cd3e9[_0x219225(0x210)]({'threadId':_0x17b4b1,'channelId':_0x592114,'comments':_0x46814e?_0x46814e[_0x219225(0x223)](_):[],'context':_0x1b92db,'attributes':_0x46a711,'resolvedAt':_0x37e63e,'resolvedBy':_0x52a232,'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1d3),(_0x389ff5,{commentThreadId:_0x3c0497,documentId:_0x18fa5c,context:_0x4b38ac,unlinkedAt:_0x2d8aa2,attributes:_0x47e7bf})=>{const _0x525db0=_0x37dc13;_0x2cd3e9[_0x525db0(0x21b)](_0x3c0497)&&_0x2cd3e9[_0x525db0(0x216)]({'threadId':_0x3c0497,'channelId':_0x18fa5c,'context':_0x4b38ac,'unlinkedAt':_0x2d8aa2,'attributes':_0x47e7bf,'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x215),(_0x4b7a87,{commentThreadId:_0x3ec30b,resolvedBy:_0x4c7d29,resolvedAt:_0x5d3c84})=>{const _0x11e3f0=_0x37dc13,_0xa8b22b=_0x2cd3e9[_0x11e3f0(0x21b)](_0x3ec30b);_0xa8b22b&&_0xa8b22b[_0x11e3f0(0x1e0)]({'resolvedBy':_0x4c7d29,'resolvedAt':_0x5d3c84,'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1ff),(_0x43e3eb,{commentThreadId:_0x2265f0})=>{const _0x2c86f9=_0x37dc13,_0x29bead=_0x2cd3e9[_0x2c86f9(0x21b)](_0x2265f0);_0x29bead&&_0x29bead[_0x2c86f9(0x21c)]({'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x21d),(_0xda4c04,{commentThreadId:_0x12ef97})=>{const _0x48b718=_0x37dc13,_0x1ec6c5=_0x2cd3e9[_0x48b718(0x21b)](_0x12ef97);_0x1ec6c5&&_0x1ec6c5[_0x48b718(0x22a)]({'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x229),(_0x434928,_0x26f60e)=>{const _0x1b3e70=_0x37dc13,_0x4bbbde=_0x26f60e[_0x1b3e70(0x1ed)],_0x5016bc=_0x2cd3e9[_0x1b3e70(0x21b)](_0x4bbbde);_0x5016bc&&_0x5016bc[_0x1b3e70(0x1e7)]({..._(_0x26f60e),'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1f4),(_0x218bc1,{commentThreadId:_0x36d261,commentId:_0x44631f,content:_0x510360,attributes:_0x41407e})=>{const _0x5f26c7=_0x37dc13,_0x1877a1=_0x2cd3e9[_0x5f26c7(0x21b)](_0x36d261);if(_0x1877a1){const _0x4aaf1d=_0x1877a1[_0x5f26c7(0x227)](_0x44631f);_0x4aaf1d&&_0x4aaf1d[_0x5f26c7(0x207)]({'content':_0x510360,'attributes':_0x41407e,'isFromAdapter':!0x0});}}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1f6),(_0x1aa20d,{commentThreadId:_0x385684,commentId:_0x3353c2})=>{const _0x351dea=_0x37dc13,_0x3ddf01=_0x2cd3e9[_0x351dea(0x21b)](_0x385684);if(_0x3ddf01){const _0x2d5dca=_0x3ddf01[_0x351dea(0x227)](_0x3353c2);_0x2d5dca&&_0x2d5dca[_0x351dea(0x22a)]({'isFromAdapter':!0x0});}}),await this[_0x37dc13(0x20b)](_0x5ec889);}[_0xed70eb(0x1ef)](){const _0x32f795=_0xed70eb;if(this[_0x32f795(0x1e6)]instanceof _0x36f2b2){const _0x1d1456=this[_0x32f795(0x1e6)][_0x32f795(0x1ce)][_0x32f795(0x20a)](_0x32f795(0x214));this[_0x32f795(0x1dd)](_0x1d1456);}}[_0xed70eb(0x1dd)](_0xfbc949){const _0x2375bf=_0xed70eb;if(!this[_0x2375bf(0x219)][_0x2375bf(0x1fb)](_0xfbc949))throw new _0x4d127a(_0x2375bf(0x1d2),null,{'channelId':_0xfbc949});this[_0x2375bf(0x20e)](_0xfbc949)[_0x2375bf(0x1f9)](),this[_0x2375bf(0x219)][_0x2375bf(0x218)](_0xfbc949);}async[_0xed70eb(0x20d)](){const _0x3c352b=_0xed70eb;for(const _0x3cde15 of this[_0x3c352b(0x219)][_0x3c352b(0x1f1)]())await this[_0x3c352b(0x20b)](_0x3cde15);if(this[_0x3c352b(0x1e6)]instanceof _0x36f2b2){const _0x500d22=this[_0x3c352b(0x1e6)][_0x3c352b(0x1ce)][_0x3c352b(0x20a)](_0x3c352b(0x214)),_0x25bf49=this[_0x3c352b(0x1e6)][_0x3c352b(0x1d8)][_0x3c352b(0x20a)](_0x2e33c4);_0x25bf49[_0x3c352b(0x22f)](_0x500d22);const _0x16a1a7=await this[_0x3c352b(0x219)][_0x3c352b(0x20a)](_0x500d22)[_0x3c352b(0x1ec)]();_0x25bf49[_0x3c352b(0x209)](_0x500d22,_0x16a1a7);}}async[_0xed70eb(0x20b)](_0x73c56a){const _0x542a4b=_0xed70eb,{connection:_0x1954e6}=this[_0x542a4b(0x1e6)][_0x542a4b(0x1d8)][_0x542a4b(0x20a)](_0x2578c6),_0x379071=this[_0x542a4b(0x1e6)][_0x542a4b(0x1d8)][_0x542a4b(0x20a)](_0x542a4b(0x201)),_0x41c725=this[_0x542a4b(0x219)][_0x542a4b(0x20a)](_0x73c56a),_0x58d0c6=await _0x41c725[_0x542a4b(0x1f0)](_0x1954e6);await this[_0x542a4b(0x1cd)](_0x58d0c6);const _0x51a8ef=new Set(Array[_0x542a4b(0x1d0)](_0x379071[_0x542a4b(0x1cc)]({'channelId':_0x73c56a}),_0x17d588=>_0x17d588['id']));for(const _0x9a9e6 of _0x58d0c6)_0x9a9e6[_0x542a4b(0x1e2)]||_0x51a8ef[_0x542a4b(0x218)](_0x9a9e6[_0x542a4b(0x1ed)]);for(const _0x4a8182 of _0x51a8ef)_0x379071[_0x542a4b(0x21b)](_0x4a8182)[_0x542a4b(0x22a)]({'isFromAdapter':!0x0});for(const _0x189af4 of _0x58d0c6){let _0xa67558=_0x379071[_0x542a4b(0x21b)](_0x189af4[_0x542a4b(0x1ed)]);const {commentThreadId:_0x252add,context:_0x230705,attributes:_0x19e1e2,resolvedBy:_0x265dca,resolvedAt:_0xf95456,unlinkedAt:_0x31f31c,deletedAt:_0x28badc}=_0x189af4;if(_0x28badc)continue;_0xa67558||(_0xa67558=_0x379071[_0x542a4b(0x210)]({'channelId':_0x73c56a,'threadId':_0x252add,'context':_0x230705,'attributes':_0x19e1e2||{},'resolvedBy':_0x265dca,'resolvedAt':_0xf95456,'unlinkedAt':_0x31f31c,'isFromAdapter':!0x0}));const _0x513d45=new Set(Array[_0x542a4b(0x1d0)](_0xa67558[_0x542a4b(0x1d1)],_0x2e3dc9=>_0x2e3dc9['id']));for(const _0x19dfe7 of _0x189af4[_0x542a4b(0x1d1)])_0x513d45[_0x542a4b(0x218)](_0x19dfe7[_0x542a4b(0x208)]);for(const _0x48d707 of _0x513d45)_0xa67558[_0x542a4b(0x227)](_0x48d707)[_0x542a4b(0x22a)]({'isFromAdapter':!0x0});for(const _0xf33a96 of _0x189af4[_0x542a4b(0x1d1)]){const _0x18d6bd=_0xa67558[_0x542a4b(0x227)](_0xf33a96[_0x542a4b(0x208)]);_0x18d6bd?_0x18d6bd[_0x542a4b(0x220)]!==_0xf33a96[_0x542a4b(0x220)]&&_0x18d6bd[_0x542a4b(0x207)]({'content':_0xf33a96[_0x542a4b(0x220)],'isFromAdapter':!0x0}):_0xa67558[_0x542a4b(0x1e7)](Object[_0x542a4b(0x221)](_(_0xf33a96),{'isFromAdapter':!0x0}));}}}[_0xed70eb(0x20e)](_0x4328f4){const _0x39b708=_0xed70eb;if(!this[_0x39b708(0x219)][_0x39b708(0x1fb)](_0x4328f4))throw new _0x4d127a(_0x39b708(0x213),null,{'channelId':_0x4328f4});return this[_0x39b708(0x219)][_0x39b708(0x20a)](_0x4328f4);}async[_0xed70eb(0x1cd)](_0x4aa88e){const _0x3bd23a=_0xed70eb,_0x16973c=this[_0x3bd23a(0x1e6)][_0x3bd23a(0x1d8)][_0x3bd23a(0x20a)](_0x45a0a9),{connection:_0x392f53}=this[_0x3bd23a(0x1e6)][_0x3bd23a(0x1d8)][_0x3bd23a(0x20a)](_0x2578c6),_0x186fd0=new Set();for(const {resolvedBy:_0x57b197,comments:_0x4bae6f}of _0x4aa88e){_0x57b197&&!_0x16973c[_0x3bd23a(0x204)](_0x57b197)&&_0x186fd0[_0x3bd23a(0x20c)](_0x57b197);for(const {userId:_0x407f19}of _0x4bae6f)_0x16973c[_0x3bd23a(0x204)](_0x407f19)||_0x186fd0[_0x3bd23a(0x20c)](_0x407f19);}if(0x0===_0x186fd0[_0x3bd23a(0x212)])return;const _0x16fcfd=await _0xe358e9[_0x3bd23a(0x1f5)](_0x392f53,Array[_0x3bd23a(0x1d0)](_0x186fd0));for(const _0x9b6c56 of _0x16fcfd)_0x16973c[_0x3bd23a(0x204)](_0x9b6c56['id'])||_0x16973c[_0x3bd23a(0x206)](_0x9b6c56);}}export default a;async function S(_0x32a63a){const _0x4d1d15=_0xed70eb;if(_0x4d1d15(0x1f7)!==_0x32a63a[_0x4d1d15(0x1d4)])throw _0x32a63a;}function R(_0x4df59e){const _0x2a9047=_0xed70eb;if((_0x123b74=_0x4df59e)[_0x2a9047(0x1ca)][_0x2a9047(0x225)](_0x2a9047(0x1ee))||_0x123b74[_0x2a9047(0x1ca)][_0x2a9047(0x225)](_0x2a9047(0x205))||_0x123b74[_0x2a9047(0x1ca)][_0x2a9047(0x225)](_0x2a9047(0x1d9)))return new Promise(()=>{});var _0x123b74;throw _0x4df59e;}function _0x3888(_0x4ce8be,_0x1300a5){const _0x3b4513=_0x3b45();return _0x3888=function(_0x3888ed,_0xc1c5ad){_0x3888ed=_0x3888ed-0x1ca;let _0x13daee=_0x3b4513[_0x3888ed];return _0x13daee;},_0x3888(_0x4ce8be,_0x1300a5);}function _(_0x4e3fb9){const _0x2e0c76=_0xed70eb;return{'threadId':_0x4e3fb9[_0x2e0c76(0x1ed)],'commentId':_0x4e3fb9[_0x2e0c76(0x208)],'content':_0x4e3fb9[_0x2e0c76(0x220)],'createdAt':_0x4e3fb9[_0x2e0c76(0x217)],'authorId':_0x4e3fb9[_0x2e0c76(0x1f2)],'attributes':_0x4e3fb9[_0x2e0c76(0x1de)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x55ba32=_0x48db;(function(_0x1e4bd6,_0x27b08c){const _0x176cc7=_0x48db,_0x4f2fc9=_0x1e4bd6();while(!![]){try{const _0x32da0a=parseInt(_0x176cc7(0x199))/0x1*(-parseInt(_0x176cc7(0x19f))/0x2)+parseInt(_0x176cc7(0x1aa))/0x3*(parseInt(_0x176cc7(0x192))/0x4)+parseInt(_0x176cc7(0x1ad))/0x5+parseInt(_0x176cc7(0x18f))/0x6*(parseInt(_0x176cc7(0x19b))/0x7)+-parseInt(_0x176cc7(0x198))/0x8*(-parseInt(_0x176cc7(0x197))/0x9)+parseInt(_0x176cc7(0x1a3))/0xa+parseInt(_0x176cc7(0x1b0))/0xb*(parseInt(_0x176cc7(0x19c))/0xc);if(_0x32da0a===_0x27b08c)break;else _0x4f2fc9['push'](_0x4f2fc9['shift']());}catch(_0x20a8eb){_0x4f2fc9['push'](_0x4f2fc9['shift']());}}}(_0x5917,0x81895));function _0x5917(){const _0x1473e8=['once','CommentsRepository','isOfficialPlugin','2197480iDQISD','Comments','switchReadOnly','CommentsEditing','change:state','editor','get','1362477KVDuGh','data','connected','1159300ozkQqG','init','isThreadsLoadingPaused','1067ttszhD','RealTimeCollaborativeComments','requires','_terminateService','96ckMxGX','plugins','pluginName','4bpVzGa','isPremiumPlugin','ready','config','_setUpService','395721Wurnmt','72fRRvrb','18GxYzAl','collaboration.channelId','38017idOWQo','12228ztlpod','listenTo','destroy','106294QbBURH'];_0x5917=function(){return _0x1473e8;};return _0x5917();}function _0x48db(_0x239b4e,_0x3f9a19){const _0x591754=_0x5917();return _0x48db=function(_0x48db50,_0x52dc97){_0x48db50=_0x48db50-0x18c;let _0x453993=_0x591754[_0x48db50];return _0x453993;},_0x48db(_0x239b4e,_0x3f9a19);}import{Plugin as _0x5b5fda}from'ckeditor5/src/core.js';import _0x4875e5 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0xefc73b from'./realtimecollaborativeediting.js';import _0x2fddb7 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x5b5fda{static get[_0x55ba32(0x18d)](){const _0x3f3ff1=_0x55ba32;return[_0x3f3ff1(0x1a4),_0x4875e5,_0xefc73b,_0x2fddb7];}static get[_0x55ba32(0x191)](){const _0x27fc54=_0x55ba32;return _0x27fc54(0x18c);}static get[_0x55ba32(0x1a2)](){return!0x0;}static get[_0x55ba32(0x193)](){return!0x0;}[_0x55ba32(0x1ae)](){const _0x2882ed=_0x55ba32,_0x5d7b59=this[_0x2882ed(0x1a8)][_0x2882ed(0x190)][_0x2882ed(0x1a9)](_0x2fddb7),_0x113555=this[_0x2882ed(0x1a8)][_0x2882ed(0x190)][_0x2882ed(0x1a9)](_0x2882ed(0x1a6)),_0x117e5e=this[_0x2882ed(0x1a8)][_0x2882ed(0x190)][_0x2882ed(0x1a9)](_0x4875e5);return this[_0x2882ed(0x1a8)][_0x2882ed(0x1ab)][_0x2882ed(0x1a0)](_0x2882ed(0x194),()=>{const _0x47f621=_0x2882ed;this[_0x47f621(0x19d)](_0x5d7b59,_0x47f621(0x1a7),(_0x5e7a89,_0x2090aa,_0x2f94c8)=>{const _0x3b9b8f=_0x47f621;_0x113555[_0x3b9b8f(0x1af)]=_0x3b9b8f(0x1ac)!==_0x2f94c8;});}),this[_0x2882ed(0x19d)](_0x5d7b59,_0x2882ed(0x1a7),(_0x3cbc01,_0x26d634,_0x19ac68)=>{const _0x201071=_0x2882ed;this[_0x201071(0x1a8)][_0x201071(0x190)][_0x201071(0x1a9)](_0x201071(0x1a1))[_0x201071(0x1a5)](_0x201071(0x1ac)!==_0x19ac68);}),_0x117e5e[_0x2882ed(0x196)](this[_0x2882ed(0x1a8)][_0x2882ed(0x195)][_0x2882ed(0x1a9)](_0x2882ed(0x19a)));}[_0x55ba32(0x19e)](){const _0x31d6d2=_0x55ba32;this[_0x31d6d2(0x1a8)][_0x31d6d2(0x190)][_0x31d6d2(0x1a9)](_0x4875e5)[_0x31d6d2(0x18e)](this[_0x31d6d2(0x1a8)][_0x31d6d2(0x195)][_0x31d6d2(0x1a9)](_0x31d6d2(0x19a))),super[_0x31d6d2(0x19e)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x6863df)());[_0x257c21(0xde)];[_0x257c21(0x15d)];[_0x257c21(0x16e)];[_0x257c21(0x1aa)];[_0x257c21(0x1b9)];[_0x257c21(0x14c)];[_0x257c21(0xca)];[_0x257c21(0x196)];[_0x257c21(0x1bd)];[_0x257c21(0x106)];[_0x257c21(0x123)];[_0x257c21(0x17e)];[_0x257c21(0x14e)];[_0x257c21(0xf9)];[_0x257c21(0x1b7)];[_0x257c21(0x15c)];[_0x257c21(0x1ab)];[_0x257c21(0x18f)];static get[_0x257c21(0x115)](){return[_0x181154,_0x27458b,_0x1021b6,_0x10be10,_0xc8359,_0x1c411f];}static get[_0x257c21(0x179)](){const _0x11ce23=_0x257c21;return _0x11ce23(0x191);}static get[_0x257c21(0x121)](){return!0x0;}static get[_0x257c21(0xfb)](){return!0x0;}get[_0x257c21(0xe1)](){const _0x16e920=_0x257c21;return this[_0x16e920(0x172)]+this[_0x16e920(0xde)];}get[_0x257c21(0x172)](){const _0x5461d7=_0x257c21;return this[_0x5461d7(0x16e)][_0x5461d7(0x105)]-this[_0x5461d7(0xde)];}get[_0x257c21(0xd2)](){const _0x257609=_0x257c21,_0x2d5155=this[_0x257609(0x16e)][_0x257609(0x189)]();for(let _0x4d8055=_0x2d5155[_0x257609(0xea)]-0x1;_0x4d8055>=0x0;_0x4d8055--){const _0x218e26=_0x2d5155[_0x4d8055];if(!this[_0x257609(0x1ab)][_0x257609(0x101)](_0x218e26))return _0x218e26[_0x257609(0x142)]+0x1-this[_0x257609(0xde)];}return 0x0;}constructor(_0x2d774e){const _0x1d9be6=_0x257c21;if(super(_0x2d774e),this[_0x1d9be6(0xde)]=0x0,this[_0x1d9be6(0x15d)]=null,this[_0x1d9be6(0x16e)]=new _0x111989(),this[_0x1d9be6(0xcd)][_0x1d9be6(0x15b)][_0x1d9be6(0x1a6)](_0x1d9be6(0x10c),{}),this[_0x1d9be6(0x1aa)]=this[_0x1d9be6(0xcd)][_0x1d9be6(0x15b)][_0x1d9be6(0x129)](_0x1d9be6(0x10d)),!this[_0x1d9be6(0x1aa)])throw new _0x331196(_0x1d9be6(0x164),this);const _0x5b2d2a=_0x2d774e[_0x1d9be6(0x15b)][_0x1d9be6(0x129)](_0x1d9be6(0x104))||_0x2f097;this[_0x1d9be6(0x1b9)]=new l[(_0x1d9be6(0x120))](_0x5b2d2a,this[_0x1d9be6(0x1aa)]),this[_0x1d9be6(0x14c)]=this[_0x1d9be6(0xcd)][_0x1d9be6(0x1a7)][_0x1d9be6(0x181)],this[_0x1d9be6(0xca)]=new _0x2cd0e2(),this[_0x1d9be6(0x196)]=[],this[_0x1d9be6(0x1bd)]=new WeakSet(),this[_0x1d9be6(0x106)]=new Set(),this[_0x1d9be6(0x15a)](_0x1d9be6(0x12d),!0x1),this[_0x1d9be6(0x15a)](_0x1d9be6(0xec),!0x1),this[_0x1d9be6(0x123)]=null,this[_0x1d9be6(0x17e)]=!0x1,this[_0x1d9be6(0x14e)]=null,this[_0x1d9be6(0xf9)]=0x12c,this[_0x1d9be6(0x1b7)]=this[_0x1d9be6(0xf9)],this[_0x1d9be6(0x15c)]=null,this[_0x1d9be6(0x1ab)]=new WeakSet(),this[_0x1d9be6(0x18f)]=new Y(this[_0x1d9be6(0x1ab)]);}[_0x257c21(0x176)](){const _0x329b42=_0x257c21,_0x521dbf=this[_0x329b42(0xcd)],_0xae3128=_0x521dbf[_0x329b42(0x11c)][_0x329b42(0x129)](_0xc8359),_0x5914a5=_0x521dbf[_0x329b42(0x11c)][_0x329b42(0x129)](_0x181154);this[_0x329b42(0x19c)](_0xae3128,_0x329b42(0x11b),(_0x5b968a,_0x309a0d)=>{const _0xb3fc00=_0x329b42,_0x206e74=_0x309a0d[0x0];_0x206e74[_0xb3fc00(0x143)]&&(_0x5b968a[_0xb3fc00(0xfe)]=_0xae3128[_0xb3fc00(0xf0)](_0x206e74[_0xb3fc00(0x143)]),_0x5b968a[_0xb3fc00(0x195)]()),null===_0x206e74[_0xb3fc00(0x143)]&&(_0x5b968a[_0xb3fc00(0xfe)]=null,_0x5b968a[_0xb3fc00(0x195)]());},{'priority':_0x329b42(0x158)}),this[_0x329b42(0x19c)](_0x521dbf[_0x329b42(0x1a7)][_0x329b42(0x181)][_0x329b42(0x173)],_0x329b42(0x1ae),(_0x32f43d,_0x5a0047)=>{const _0x3915c2=_0x329b42;_0x5a0047[_0x3915c2(0x1a0)]&&this[_0x3915c2(0x161)]();}),this[_0x329b42(0x19c)](_0x521dbf[_0x329b42(0x199)][_0x329b42(0x14b)],_0x329b42(0xda),()=>{const _0x311c2c=_0x329b42;this[_0x311c2c(0x161)]();}),this[_0x329b42(0x152)](),_0x521dbf[_0x329b42(0x1a7)]['on'](_0x329b42(0xe6),(_0x5b5da1,_0x1c36bc)=>{const _0x26d59d=_0x329b42,_0x34e37a=_0x1c36bc[0x0];_0x34e37a[_0x26d59d(0x155)]&&(this[_0x26d59d(0x17c)](_0x34e37a),this[_0x26d59d(0xc6)]()&&this[_0x26d59d(0xd3)]());}),this[_0x329b42(0x11d)](),this[_0x329b42(0xc4)](_0x329b42(0x156))['to'](_0x5914a5,_0x329b42(0x126),this,_0x329b42(0xec),(_0x4c7204,_0x4a1572)=>_0x329b42(0x1bc)===_0x4c7204&&!_0x4a1572),this['on'](_0x329b42(0x174),()=>{const _0x823519=_0x329b42;this[_0x823519(0x156)]?_0x521dbf[_0x823519(0x107)](_0x823519(0x154)):_0x521dbf[_0x823519(0x17d)](_0x823519(0x154));}),this[_0x329b42(0x156)]?_0x521dbf[_0x329b42(0x107)](_0x329b42(0x154)):_0x521dbf[_0x329b42(0x17d)](_0x329b42(0x154)),this[_0x329b42(0x15a)](_0x329b42(0x1a2),!0x1);}async[_0x257c21(0xef)](){const _0x220a2b=_0x257c21,_0x1e86da=this[_0x220a2b(0xcd)][_0x220a2b(0x11c)][_0x220a2b(0x129)](_0x27458b),_0x4bc5f6=this[_0x220a2b(0xcd)][_0x220a2b(0x11c)][_0x220a2b(0x129)](_0x181154);try{this[_0x220a2b(0x12d)]=!0x0,_0x1e86da[_0x220a2b(0x117)](this[_0x220a2b(0x1aa)]);const _0x3036fa=await this[_0x220a2b(0x1b9)][_0x220a2b(0xef)](_0x4bc5f6[_0x220a2b(0x163)],this[_0x220a2b(0xd2)]);await this[_0x220a2b(0xbd)](_0x3036fa)&&(this[_0x220a2b(0x12d)]=!0x1,this[_0x220a2b(0xdd)]());const _0x3b5923=await this[_0x220a2b(0x1b9)][_0x220a2b(0xcc)]();_0x1e86da[_0x220a2b(0xc7)](this[_0x220a2b(0x1aa)],_0x3b5923),this[_0x220a2b(0x1b0)](),this[_0x220a2b(0x1a2)]=!0x0;}catch(_0x42a5c0){if(function(_0x2a040b){const _0x52520b=_0x220a2b;return _0x52520b(0x119)===_0x2a040b[_0x52520b(0x1a3)];}(_0x42a5c0)&&this[_0x220a2b(0x15d)])await this[_0x220a2b(0xe8)]();else{if(function(_0x464040){const _0x2292fd=_0x220a2b;return _0x2292fd(0xf7)===_0x464040[_0x2292fd(0x1a3)];}(_0x42a5c0)){const _0x2478b2=_0x451038(this[_0x220a2b(0xcd)][_0x220a2b(0x193)],_0x220a2b(0xcf));this[_0x220a2b(0x165)](_0x2478b2);}else{if(!(_0x42a5c0 instanceof Q))throw _0x42a5c0;this[_0x220a2b(0x165)]();}}}}[_0x257c21(0xd8)](){const _0x250c57=_0x257c21,_0x28bdca=this[_0x250c57(0xcd)][_0x250c57(0x11c)][_0x250c57(0x129)](_0x181154),_0x5123c5=this[_0x250c57(0xcd)][_0x250c57(0x11c)][_0x250c57(0x129)](_0x27458b);this[_0x250c57(0xcd)][_0x250c57(0x17d)](_0x250c57(0xed)),_0x5123c5[_0x250c57(0x14f)][_0x250c57(0x101)](this[_0x250c57(0x1aa)])&&_0x5123c5[_0x250c57(0x117)](this[_0x250c57(0x1aa)]),_0x28bdca[_0x250c57(0xee)](this),this[_0x250c57(0x131)](),super[_0x250c57(0xd8)]();}async[_0x257c21(0xbd)](_0x3157d0){const _0x50f24d=_0x257c21;if(this[_0x50f24d(0x15d)]!==_0x3157d0[_0x50f24d(0x15d)]&&this[_0x50f24d(0x15c)]!==_0x3157d0[_0x50f24d(0x113)])throw new Q();return this[_0x50f24d(0x15d)]=_0x3157d0[_0x50f24d(0x15d)],this[_0x50f24d(0xd4)]([],{..._0x3157d0,'wereChangesApplied':!0x1,'data':_0x3157d0[_0x50f24d(0x110)]},_0x50f24d(0xef));}async[_0x257c21(0xf8)](_0x49527d,_0x375e7e=!0x1){const _0x5b86be=_0x257c21,{connection:_0x2c397b}=this[_0x5b86be(0xcd)][_0x5b86be(0x11c)][_0x5b86be(0x129)](_0x181154);l[_0x5b86be(0x120)][_0x5b86be(0xcc)](_0x2c397b,this[_0x5b86be(0x1aa)])[_0x5b86be(0x170)](_0x392a0e=>this[_0x5b86be(0x1bb)](_0x392a0e))[_0x5b86be(0xeb)](_0x323388=>{const _0x1eac78=_0x5b86be;this[_0x1eac78(0x171)](_0x1eac78(0xdb),_0x323388);}),this[_0x5b86be(0x19c)](this[_0x5b86be(0x1b9)],_0x5b86be(0x178),this[_0x5b86be(0x145)][_0x5b86be(0xc4)](this)),this[_0x5b86be(0x19c)](this[_0x5b86be(0x1b9)],_0x5b86be(0x197),(_0x3cd563,_0x57b6a3)=>{const _0x5e23b2=_0x5b86be;this[_0x5e23b2(0x171)](_0x5e23b2(0x128),_0x57b6a3);}),this[_0x5b86be(0x19c)](this[_0x5b86be(0x1b9)],_0x5b86be(0x162),()=>{const _0x3ae0c0=_0x5b86be;this[_0x3ae0c0(0x1a2)]=!0x1;});const _0xedfaa2=this[_0x5b86be(0x18f)][_0x5b86be(0x14d)](_0x49527d);this[_0x5b86be(0x12d)]=!0x0;const _0x1855e2=await this[_0x5b86be(0x1b9)][_0x5b86be(0x10e)](_0x2c397b,this[_0x5b86be(0xf2)](_0x49527d),_0xedfaa2);if(this[_0x5b86be(0x15d)]=_0x1855e2[_0x5b86be(0x15d)],_0x375e7e){if(!_0x1855e2[_0x5b86be(0x13c)])return void this[_0x5b86be(0x165)]();this[_0x5b86be(0x12d)]=!0x1,this[_0x5b86be(0xdd)](),this[_0x5b86be(0x16e)][_0x5b86be(0x134)](),this[_0x5b86be(0xde)]=_0x1855e2[_0x5b86be(0x116)],this[_0x5b86be(0x16e)][_0x5b86be(0x105)]=this[_0x5b86be(0xde)],await this[_0x5b86be(0xd4)](_0x49527d,_0x1855e2,_0x5b86be(0x1a8));}else await this[_0x5b86be(0xf4)](_0x1855e2,_0x49527d);this[_0x5b86be(0x1b0)](),this[_0x5b86be(0x1a2)]=!0x0;}[_0x257c21(0x1b0)](){const _0x51fda3=_0x257c21,_0xa949da=this[_0x51fda3(0xcd)][_0x51fda3(0x11c)][_0x51fda3(0x129)](_0x27458b),_0x16be42=this[_0x51fda3(0xcd)][_0x51fda3(0x11c)][_0x51fda3(0x129)](_0x1021b6),_0xd078be=_0xa949da[_0x51fda3(0x14f)][_0x51fda3(0x129)](this[_0x51fda3(0x1aa)]);_0xd078be&&_0xd078be[_0x51fda3(0xea)]>0x1?_0x16be42[_0x51fda3(0x1ad)]():this[_0x51fda3(0x19c)](_0xa949da,_0x51fda3(0xf5)+this[_0x51fda3(0x1aa)],()=>{const _0x3e41c5=_0x51fda3;0x2===_0xa949da[_0x3e41c5(0x14f)][_0x3e41c5(0x129)](this[_0x3e41c5(0x1aa)])[_0x3e41c5(0xea)]&&_0x16be42[_0x3e41c5(0x1ad)]();});}async[_0x257c21(0x145)](_0x4b5077,_0x514725,_0x542ab7,_0x70fec0){const _0x4202e3=_0x257c21;if(!this[_0x4202e3(0x12d)]&&this[_0x4202e3(0x14c)][_0x4202e3(0x105)]==_0x514725){const _0x4f2707=this[_0x4202e3(0xe5)](_0x542ab7,_0x70fec0);await this[_0x4202e3(0x132)](_0x4f2707),this[_0x4202e3(0xc3)](_0x4f2707,_0x514725,_0x542ab7[_0x4202e3(0x113)])||this[_0x4202e3(0x171)](_0x4202e3(0x124));}}async[_0x257c21(0xe8)](){const _0x2c17ac=_0x257c21;this[_0x2c17ac(0x131)]();const {locale:_0x1bea11}=this[_0x2c17ac(0xcd)];let _0x3b4477;try{_0x3b4477=await this[_0x2c17ac(0x1b9)][_0x2c17ac(0x14a)]();}catch(_0x4b843c){const _0x417141=_0x451038(_0x1bea11,_0x2c17ac(0x1ba));return void this[_0x2c17ac(0x165)](_0x417141);}const _0x531c66=_0x3b4477[_0x2c17ac(0xc5)]||_0x3b4477[_0x2c17ac(0xc0)];if(this[_0x2c17ac(0x15c)]===_0x531c66[_0x2c17ac(0x113)])await this[_0x2c17ac(0xf8)](this[_0x2c17ac(0xcd)][_0x2c17ac(0x1a7)][_0x2c17ac(0x181)][_0x2c17ac(0x169)][_0x2c17ac(0x189)](),!0x0);else{const _0x1df9b0=_0x451038(_0x1bea11,_0x2c17ac(0x19b));this[_0x2c17ac(0x165)](_0x1df9b0);}}[_0x257c21(0x131)](){const _0x127125=_0x257c21;this[_0x127125(0x1b9)][_0x127125(0x16d)](),this[_0x127125(0x196)]=[],clearTimeout(this[_0x127125(0x14e)]),this[_0x127125(0x10a)](this[_0x127125(0x1b9)]);}[_0x257c21(0x1bb)](_0x23681a){const _0x431a37=_0x257c21,_0x41db48=this[_0x431a37(0xcd)][_0x431a37(0x11c)][_0x431a37(0x129)](_0x27458b);this[_0x431a37(0x19c)](_0x41db48,_0x431a37(0xf5)+this[_0x431a37(0x1aa)],(_0x1f0f09,{session:_0x5106b9})=>{const _0x50a0ae=_0x431a37;if(_0x5106b9['id']===_0x41db48[_0x50a0ae(0x17a)]){_0x1f0f09[_0x50a0ae(0x1ac)]();const _0x2ef7ad=this[_0x50a0ae(0xcd)][_0x50a0ae(0x11c)][_0x50a0ae(0x101)](_0x50a0ae(0x1bf))&&this[_0x50a0ae(0xcd)][_0x50a0ae(0x11c)][_0x50a0ae(0x129)](_0x50a0ae(0x1bf));let _0x53bd5d=_0x5106b9[_0x50a0ae(0x127)];_0x2ef7ad&&_0x2ef7ad[_0x50a0ae(0x15f)]&&(_0x53bd5d=_0x53bd5d[_0x50a0ae(0x19d)](_0x5e4476=>_0x50a0ae(0x1b8)!==_0x5e4476)),this[_0x50a0ae(0xcd)][_0x50a0ae(0x11c)][_0x50a0ae(0x129)](_0x50a0ae(0x114))[_0x50a0ae(0x168)](_0x53bd5d,this[_0x50a0ae(0x1aa)]);}}),_0x41db48[_0x431a37(0xc7)](this[_0x431a37(0x1aa)],_0x23681a);}[_0x257c21(0x152)](){const _0x40b793=_0x257c21,_0x1d9ef2=this[_0x40b793(0xcd)][_0x40b793(0x110)][_0x40b793(0x15a)];this[_0x40b793(0xcd)][_0x40b793(0x110)][_0x40b793(0x15a)]=(..._0x344483)=>{const _0x33c58a=_0x40b793;if(!_0x344483[_0x344483[_0x33c58a(0xea)]-0x1][_0x33c58a(0x1be)])throw new _0x331196(_0x33c58a(0x13a),this);_0x1d9ef2[_0x33c58a(0xe0)](this[_0x33c58a(0xcd)][_0x33c58a(0x110)],_0x344483);};}[_0x257c21(0x11d)](){const _0x58188b=_0x257c21;this[_0x58188b(0xcd)][_0x58188b(0x110)]['on'](_0x58188b(0x176),(_0x37344e,[_0x31c8e9])=>{const _0x4dee94=_0x58188b;if(this[_0x4dee94(0x14c)][_0x4dee94(0x105)])throw new _0x331196(_0x4dee94(0x1c1),this);_0x37344e[_0x4dee94(0x195)](),this[_0x4dee94(0x16b)]();const _0x4fde6f=this[_0x4dee94(0xcd)][_0x4dee94(0x15b)][_0x4dee94(0x129)](_0x4dee94(0x1b2)),_0x5dec1d=this[_0x4dee94(0x111)](_0x31c8e9,_0x4fde6f);0x0==_0x5dec1d[_0x4dee94(0xea)]&&_0x5dec1d[_0x4dee94(0x146)](new _0x123937(0x0)),_0x37344e[_0x4dee94(0xfe)]=this[_0x4dee94(0xf8)](_0x5dec1d)[_0x4dee94(0x170)](()=>{const _0x2601c4=_0x4dee94;this[_0x2601c4(0xcd)][_0x2601c4(0x11c)][_0x2601c4(0x129)](_0x181154)[_0x2601c4(0x100)](this),this[_0x2601c4(0xcd)][_0x2601c4(0x110)][_0x2601c4(0x160)](_0x2601c4(0x157));})[_0x4dee94(0xeb)](_0x3f43d5=>this[_0x4dee94(0x171)](_0x4dee94(0x12f),_0x3f43d5))[_0x4dee94(0x1a4)](()=>this[_0x4dee94(0xdd)]());},{'priority':_0x58188b(0x158)}),this[_0x58188b(0xcd)]['on'](_0x58188b(0x141),async(_0x1de76f,[_0x402592,_0x33ed2a])=>{const _0x104478=_0x58188b;_0x1de76f[_0x104478(0x195)]();const _0x548bb4=this[_0x104478(0xcd)][_0x104478(0x1a7)][_0x104478(0x181)][_0x104478(0x118)](_0x402592);if(!this[_0x104478(0x106)][_0x104478(0x101)](_0x402592)){const _0x5142ce=_0x33ed2a&&_0x33ed2a[_0x104478(0x110)]?_0x33ed2a[_0x104478(0x110)]:'',_0x10e277=_0x33ed2a&&_0x33ed2a[_0x104478(0xfa)]?_0x33ed2a[_0x104478(0xfa)]:{};await this[_0x104478(0x18d)](_0x402592,_0x5142ce,_0x10e277);}this[_0x104478(0xcd)][_0x104478(0x1a7)][_0x104478(0x18e)]({'isUndoable':!0x1},()=>{const _0x553087=_0x104478;_0x548bb4[_0x553087(0x136)]=!0x0,this[_0x553087(0xcd)][_0x553087(0x1a7)][_0x553087(0x181)][_0x553087(0xd9)][_0x553087(0x192)](_0x548bb4);});},{'priority':_0x58188b(0x158)});}async[_0x257c21(0x132)](_0x435f3a){const _0x115d2a=_0x257c21,_0xe23294=this[_0x115d2a(0xcd)][_0x115d2a(0x11c)][_0x115d2a(0x129)](_0xc8359),{connection:_0x567ef5}=this[_0x115d2a(0xcd)][_0x115d2a(0x11c)][_0x115d2a(0x129)](_0x181154),_0x128040=new Set();for(const _0x8c7b90 of _0x435f3a){const _0x57520f=_0x8c7b90[_0x115d2a(0x143)];_0x57520f&&!_0xe23294[_0x115d2a(0xf0)](_0x57520f)&&_0x128040[_0x115d2a(0x108)](_0x57520f);}if(0x0===_0x128040[_0x115d2a(0xe2)])return;const _0x44facd=await _0x27efcd[_0x115d2a(0x13d)](_0x567ef5,Array[_0x115d2a(0x175)](_0x128040));for(const _0x40e4b6 of _0x44facd)_0xe23294[_0x115d2a(0xf0)](_0x40e4b6['id'])||_0xe23294[_0x115d2a(0x102)](_0x40e4b6);}[_0x257c21(0x111)](_0x1f94a3,_0x2e5ac8={}){const _0x1b2537=_0x257c21,_0x1eb638=this[_0x1b2537(0xcd)][_0x1b2537(0x1a7)],_0x5e5c05=[];let _0x5ccda6=0x0;const _0x24dda4=_0x1b2537(0x1b4)==typeof _0x1f94a3?{'main':_0x1f94a3}:_0x1f94a3;for(const _0x25d4a6 of Object[_0x1b2537(0x182)](_0x24dda4)){if(!this[_0x1b2537(0x14c)][_0x1b2537(0xc9)][_0x1b2537(0x101)](_0x25d4a6))throw new _0x331196(_0x1b2537(0x1a1),this);const _0x5c063c=this[_0x1b2537(0xcd)][_0x1b2537(0x110)][_0x1b2537(0xf1)](_0x24dda4[_0x25d4a6]),_0x4d9633=this[_0x1b2537(0x14c)][_0x1b2537(0x118)](_0x25d4a6),_0x44f9d0=new _0x23ff36(_0x1eb638[_0x1b2537(0x130)](_0x4d9633,0x0),_0x5c063c,_0x5ccda6++);_0x5e5c05[_0x1b2537(0x146)](_0x44f9d0);for(const [_0x4ec03f,_0x215404]of _0x5c063c[_0x1b2537(0xd1)]){const _0x12bafa=_0x1eb638[_0x1b2537(0x12e)](_0x1eb638[_0x1b2537(0x1b1)](_0x4d9633,_0x215404[_0x1b2537(0xe3)][_0x1b2537(0x135)][_0x1b2537(0xd5)]()),_0x1eb638[_0x1b2537(0x1b1)](_0x4d9633,_0x215404[_0x1b2537(0x103)][_0x1b2537(0x135)][_0x1b2537(0xd5)]())),_0x127e95=new _0x10fa71(_0x4ec03f,null,_0x12bafa,_0x1eb638[_0x1b2537(0xd1)],!0x0,_0x5ccda6++);_0x5e5c05[_0x1b2537(0x146)](_0x127e95);}}if(_0x2e5ac8)for(const [_0x4becdb,_0x28efc5]of Object[_0x1b2537(0x137)](_0x2e5ac8)){const _0x3c5879=_0x1eb638[_0x1b2537(0x181)][_0x1b2537(0x118)](_0x4becdb);if(!_0x3c5879)throw new _0x331196(_0x1b2537(0x112),null);for(const [_0x2f7c4c,_0x2a76a4]of Object[_0x1b2537(0x137)](_0x28efc5))if(null!==_0x2a76a4){const _0x131e00=new _0x966fff(_0x3c5879,_0x2f7c4c,null,_0x2a76a4,_0x5ccda6++);_0x5e5c05[_0x1b2537(0x146)](_0x131e00);}}return _0x5e5c05;}async[_0x257c21(0x18d)](_0x26cdf0,_0x7fee4a,_0x213613){const _0x41e70a=_0x257c21;this[_0x41e70a(0x111)]({[_0x26cdf0]:_0x7fee4a},{[_0x26cdf0]:_0x213613})[_0x41e70a(0xc2)]((_0x40f1aa,_0x48f0c8)=>{const _0x30cb38=_0x41e70a;_0x40f1aa[_0x30cb38(0x142)]=this[_0x30cb38(0x14c)][_0x30cb38(0x105)]+_0x48f0c8,_0x40f1aa[_0x30cb38(0x13b)]=!0x0,this[_0x30cb38(0x17c)](_0x40f1aa);}),this[_0x41e70a(0xd3)](),await this[_0x41e70a(0x177)]();}async[_0x257c21(0xf4)](_0x235513,_0x53987c){const _0x189508=_0x257c21;let _0x342c32;this[_0x189508(0xde)]=_0x235513[_0x189508(0x116)];const _0x8391f6=_0x235513[_0x189508(0x13c)]&&!_0x235513[_0x189508(0x1c0)],_0x7e94a0=_0x8391f6?0x0:_0x235513[_0x189508(0x110)][_0x189508(0x142)];if(_0x53987c[_0x189508(0xc2)](_0x36c08f=>{const _0x4273d7=_0x189508;_0x36c08f[_0x4273d7(0x13b)]=!0x0,_0x36c08f[_0x4273d7(0x18a)]=_0x235513[_0x4273d7(0x153)],_0x36c08f[_0x4273d7(0x143)]=null;}),_0x8391f6)_0x342c32=_0x53987c,this[_0x189508(0x186)](_0x342c32,_0x8391f6);else{if(_0x235513[_0x189508(0x1c0)]){const _0x48dc59=this[_0x189508(0x111)](_0x235513[_0x189508(0x1c0)]);this[_0x189508(0x14c)][_0x189508(0x169)][_0x189508(0x105)]=-_0x48dc59[_0x189508(0xea)],_0x48dc59[_0x189508(0xc2)](_0x432076=>{const _0x3cbfed=_0x189508;_0x432076[_0x3cbfed(0x142)]-=_0x48dc59[_0x3cbfed(0xea)],_0x432076[_0x3cbfed(0x18a)]=_0x235513[_0x3cbfed(0x153)],_0x432076[_0x3cbfed(0x13b)]=!0x0,_0x432076[_0x3cbfed(0x143)]=null;}),this[_0x189508(0x186)](_0x48dc59,!0x0),this[_0x189508(0x16e)][_0x189508(0x105)]=-_0x48dc59[_0x189508(0xea)]+this[_0x189508(0xde)],this[_0x189508(0x10b)](_0x48dc59);}this[_0x189508(0x14c)][_0x189508(0x169)][_0x189508(0x105)]=_0x7e94a0,_0x342c32=this[_0x189508(0xe5)](_0x235513[_0x189508(0x110)],_0x235513[_0x189508(0x12c)]),await this[_0x189508(0x132)](_0x342c32),this[_0x189508(0x186)](_0x342c32,_0x8391f6);}_0x235513[_0x189508(0x113)]&&(this[_0x189508(0x18f)][_0x189508(0x183)](_0x342c32,_0x235513[_0x189508(0x113)]),this[_0x189508(0x15c)]=_0x235513[_0x189508(0x113)]),this[_0x189508(0x16e)][_0x189508(0x105)]=_0x7e94a0+this[_0x189508(0xde)],this[_0x189508(0x10b)](_0x342c32),_0x53987c[_0x189508(0x19d)](_0x509bad=>{const _0x5e3942=_0x189508,_0x28c60b=this[_0x5e3942(0x138)](_0x509bad);return _0x28c60b&&!this[_0x5e3942(0x106)][_0x5e3942(0x101)](_0x28c60b);})[_0x189508(0xc2)]((_0x45bdb0,_0x487bee)=>{const _0x138794=_0x189508;_0x45bdb0[_0x138794(0x142)]=this[_0x138794(0x14c)][_0x138794(0x105)]+_0x487bee,this[_0x138794(0x17c)](_0x45bdb0);}),this[_0x189508(0xc6)]()?(this[_0x189508(0x1b7)]=0x0,this[_0x189508(0xd3)](!0x0),await this[_0x189508(0x177)]()):(this[_0x189508(0x12d)]=!0x1,this[_0x189508(0xdd)]());}[_0x257c21(0x171)](_0x290756,_0xf59530){const _0x4a1817=_0x257c21,_0xf5a40d=_0xf59530&&_0xf59530[_0x4a1817(0x180)];if(_0xf5a40d&&_0xf5a40d[_0x4a1817(0x16a)](_0x4a1817(0x1b5)))throw _0xf59530;const _0xcb7bdc=this[_0x4a1817(0xcd)][_0x4a1817(0x11c)][_0x4a1817(0x129)](_0x181154);throw this[_0x4a1817(0x12d)]=!0x0,_0xcb7bdc[_0x4a1817(0x16d)](),this[_0x4a1817(0xcd)][_0x4a1817(0x17d)](_0x4a1817(0x148)),new _0x331196(_0x290756,this[_0x4a1817(0xcd)],_0xf5a40d?{'originalError':_0xf5a40d}:void 0x0);}[_0x257c21(0x17c)](_0x44481a){const _0x8feb00=_0x257c21;this[_0x8feb00(0x1bd)][_0x8feb00(0x101)](_0x44481a)||(this[_0x8feb00(0x1bd)][_0x8feb00(0x108)](_0x44481a),this[_0x8feb00(0x196)][_0x8feb00(0x146)](_0x44481a),this[_0x8feb00(0x123)]||_0x8feb00(0x184)==_0x44481a[_0x8feb00(0xfc)]&&!_0x44481a[_0x8feb00(0xc1)]||this[_0x8feb00(0x16b)]());}[_0x257c21(0xd3)](_0x418b39=!0x1){const _0x2fa797=_0x257c21;!_0x418b39&&this[_0x2fa797(0x12d)]||(this[_0x2fa797(0x12d)]=!0x0,clearTimeout(this[_0x2fa797(0x14e)]),this[_0x2fa797(0x14e)]=setTimeout(()=>{const _0x2dfdf4=_0x2fa797;this[_0x2dfdf4(0x12a)]()[_0x2dfdf4(0x170)](_0x52c908=>{const _0x1db993=_0x2dfdf4;_0x52c908&&(this[_0x1db993(0xdd)](),this[_0x1db993(0x12d)]=!0x1);})[_0x2dfdf4(0xeb)](_0x499564=>{const _0x15d244=_0x2dfdf4;this[_0x15d244(0xdd)](),this[_0x15d244(0x12d)]=!0x1,function(_0x135521){const _0x5d52ff=_0x15d244;return _0x135521[_0x5d52ff(0x180)][_0x5d52ff(0x16a)](_0x5d52ff(0xfd))||_0x135521[_0x5d52ff(0x180)][_0x5d52ff(0x16a)](_0x5d52ff(0x12b))||_0x135521[_0x5d52ff(0x180)][_0x5d52ff(0x16a)](_0x5d52ff(0x185));}(_0x499564)||this[_0x15d244(0x171)](_0x499564[_0x15d244(0x180)],_0x499564);});},this[_0x2fa797(0x1b7)]));}[_0x257c21(0x177)](){return new Promise(_0x241b50=>{const _0xa7c377=_0x2fe9;this['on'](_0xa7c377(0x122),()=>{_0x241b50();});});}async[_0x257c21(0x12a)](){const _0x3cd139=_0x257c21,_0x35c264=this[_0x3cd139(0xcd)][_0x3cd139(0x11c)][_0x3cd139(0x129)](_0x1021b6);if(this[_0x3cd139(0xbf)]()&&(_0x35c264[_0x3cd139(0x1ad)](),this[_0x3cd139(0x17e)]=!0x1),!this[_0x3cd139(0xc6)]())return!0x0;const _0xe8367a=[...this[_0x3cd139(0x196)]];for(const _0x49f27f of _0xe8367a)_0x49f27f[_0x3cd139(0x133)]=this[_0x3cd139(0x14c)][_0x3cd139(0x169)][_0x3cd139(0x13e)](_0x49f27f);const _0x363c31=this[_0x3cd139(0x18f)][_0x3cd139(0x14d)](_0xe8367a),_0x73cd15=J++,_0x3a023f=this[_0x3cd139(0xf2)](_0xe8367a),_0x54f0ad=await this[_0x3cd139(0x1b9)][_0x3cd139(0x140)](_0x3a023f,_0x3a023f[_0x3cd139(0x142)],_0x363c31);try{return await this[_0x3cd139(0xd4)](_0xe8367a,_0x54f0ad,_0x73cd15);}catch(_0xf69dad){return this[_0x3cd139(0x171)](_0x3cd139(0xd6),_0xf69dad);}}async[_0x257c21(0xd4)](_0x36a6b3,_0x1a80b8,_0x5d72f1){const _0x263467=_0x257c21;if(_0x263467(0x197)in _0x1a80b8)throw _0x1a80b8[_0x263467(0x197)];let _0x5dbec3=!0x1;if(_0x1a80b8[_0x263467(0x13c)]){_0x1a80b8[_0x263467(0x113)]&&(this[_0x263467(0x15c)]=_0x1a80b8[_0x263467(0x113)]),this[_0x263467(0x196)]=this[_0x263467(0x196)][_0x263467(0x19d)](_0x4b8d67=>!_0x36a6b3[_0x263467(0xdc)](_0x4b8d67));for(const _0x40b671 of _0x36a6b3)_0x40b671[_0x263467(0x18a)]=_0x263467(0x11e)in _0x1a80b8&&_0x1a80b8[_0x263467(0x11e)]||void 0x0;X(_0x36a6b3,_0x1a80b8[_0x263467(0x105)]-_0x36a6b3[_0x263467(0xea)]),this[_0x263467(0x10b)](_0x36a6b3);const _0x570c9c=_0x36a6b3[_0x263467(0x19d)](_0x3a6523=>{const _0x35f1b5=_0x263467;if(!_0x3a6523[_0x35f1b5(0x13b)])return!0x1;const _0x11a2f8=this[_0x35f1b5(0x138)](_0x3a6523);return _0x11a2f8&&!this[_0x35f1b5(0x106)][_0x35f1b5(0x101)](_0x11a2f8);});X(_0x570c9c,this[_0x263467(0x14c)][_0x263467(0x105)]),this[_0x263467(0x186)](_0x570c9c),_0x5dbec3=!0x0,this[_0x263467(0x1b7)]=this[_0x263467(0xf9)];}else{const _0x15b84a=this[_0x263467(0xe5)](_0x1a80b8[_0x263467(0x110)],_0x1a80b8[_0x263467(0x12c)])[_0x263467(0x19d)](_0x1b9e9c=>_0x1b9e9c[_0x263467(0x142)]>=this[_0x263467(0x172)]);_0x15b84a[_0x263467(0xc2)](_0x3761cd=>this[_0x263467(0x1a5)](_0x3761cd)),this[_0x263467(0x196)]=this[_0x263467(0x196)][_0x263467(0x19d)](_0x2886ee=>!_0x2886ee[_0x263467(0x13b)]||!this[_0x263467(0x106)][_0x263467(0x101)](this[_0x263467(0x138)](_0x2886ee))),this[_0x263467(0x196)][_0x263467(0xea)]&&X(this[_0x263467(0x196)],this[_0x263467(0x196)][0x0][_0x263467(0x142)]),await this[_0x263467(0x132)](_0x15b84a),_0x5dbec3=this[_0x263467(0xc3)](_0x15b84a,_0x1a80b8[_0x263467(0x105)],_0x1a80b8[_0x263467(0x113)]),this[_0x263467(0x1b7)]=Math[_0x263467(0x17f)](this[_0x263467(0x1b7)]/0x2);}return _0x5dbec3?!this[_0x263467(0xc6)]()||(this[_0x263467(0xd3)](!0x0),!0x1):this[_0x263467(0x171)](_0x263467(0x194));}[_0x257c21(0xc3)](_0x1a109f,_0x2e699c,_0x56352d){const _0x160f82=_0x257c21;try{const _0x251a14={'document':this[_0x160f82(0x14c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2a2523,operationsB:_0x1713e0,originalOperations:_0x1f857d}=_0x4adb24(_0x1a109f,this[_0x160f82(0x196)],_0x251a14);X(_0x2a2523,this[_0x160f82(0x14c)][_0x160f82(0x105)]),X(_0x1713e0,_0x2e699c);for(const _0x556d7f of _0x2a2523){const _0x24439c=_0x1f857d[_0x160f82(0x129)](_0x556d7f);_0x556d7f[_0x160f82(0x143)]=_0x24439c?_0x24439c[_0x160f82(0x143)]:null;}_0x56352d&&(this[_0x160f82(0x18f)][_0x160f82(0x183)](_0x1a109f,_0x56352d),this[_0x160f82(0x15c)]=_0x56352d),this[_0x160f82(0x196)]=[..._0x1713e0],this[_0x160f82(0x186)](_0x2a2523),this[_0x160f82(0x10b)](_0x1a109f);}catch(_0x468060){return console[_0x160f82(0x197)](_0x468060),!0x1;}return!0x0;}[_0x257c21(0x186)](_0x2c3081,_0x36df67=!0x1){const _0x982f4e=_0x257c21;this[_0x982f4e(0xcd)][_0x982f4e(0x1a7)][_0x982f4e(0x18e)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55423b=>{const _0xdba38a=_0x982f4e;for(const _0x4365ff of _0x2c3081)this[_0xdba38a(0x1bd)][_0xdba38a(0x108)](_0x4365ff),this[_0xdba38a(0x1a5)](_0x4365ff),_0x55423b[_0xdba38a(0x166)][_0xdba38a(0x16c)](_0x4365ff),this[_0xdba38a(0xcd)][_0xdba38a(0x1a7)][_0xdba38a(0xe6)](_0x4365ff);});}[_0x257c21(0x1a5)](_0x19ee6c){const _0x4f6112=_0x257c21,_0x2c43d8=this[_0x4f6112(0x138)](_0x19ee6c);_0x2c43d8&&this[_0x4f6112(0x106)][_0x4f6112(0x108)](_0x2c43d8);}[_0x257c21(0x138)](_0x303763){const _0x2353ab=_0x257c21;let _0xd12e92,_0xb6d638;switch(_0x303763[_0x2353ab(0xfc)]){case _0x2353ab(0x144):_0xd12e92=_0x303763[_0x2353ab(0x188)][_0x2353ab(0x18c)];break;case _0x2353ab(0x184):if(_0xb6d638=_0x303763[_0x2353ab(0x1b3)],!_0xb6d638)return null;_0xd12e92=_0xb6d638[_0x2353ab(0x18c)];break;case _0x2353ab(0x1b6):_0xd12e92=_0x303763[_0x2353ab(0x18c)];break;case _0x2353ab(0x17b):_0xd12e92=_0x303763[_0x2353ab(0xe7)];break;case _0x2353ab(0x159):_0xd12e92=_0x303763[_0x2353ab(0x1a9)][_0x2353ab(0x18c)];break;default:return null;}return _0xd12e92[_0x2353ab(0x1af)];}[_0x257c21(0x10b)](_0x37520b){const _0x43c496=_0x257c21;_0x37520b[_0x43c496(0xc2)](_0x1d6b92=>{const _0x1d9df8=_0x43c496,_0x2f26af=_0x1d6b92[_0x1d9df8(0x167)]();_0x2f26af[_0x1d9df8(0x143)]=_0x1d6b92[_0x1d9df8(0x143)],_0x2f26af[_0x1d9df8(0x13b)]=!!_0x1d6b92[_0x1d9df8(0x13b)],_0x2f26af[_0x1d9df8(0x18a)]=_0x1d6b92[_0x1d9df8(0x18a)],_0x2f26af[_0x1d9df8(0x142)]+=this[_0x1d9df8(0xde)],_0x1d6b92[_0x1d9df8(0xce)]&&this[_0x1d9df8(0x1ab)][_0x1d9df8(0x108)](_0x2f26af),this[_0x1d9df8(0x16e)][_0x1d9df8(0x16c)](_0x2f26af);});}[_0x257c21(0x165)](_0xeaa190){const _0x8d31a6=_0x257c21,_0x3d3e97=this[_0x8d31a6(0xcd)][_0x8d31a6(0x11c)][_0x8d31a6(0x129)](_0x8d31a6(0xf3)),_0x587a1e=this[_0x8d31a6(0xcd)][_0x8d31a6(0x193)];_0xeaa190||(_0xeaa190=_0x451038(_0x587a1e,_0x8d31a6(0x190))),_0x3d3e97[_0x8d31a6(0xe4)](_0xeaa190,{'title':_0x451038(_0x587a1e,_0x8d31a6(0x19a)),'namespace':_0x8d31a6(0x13f)}),this[_0x8d31a6(0xec)]=!0x0,clearTimeout(this[_0x8d31a6(0x14e)]),this[_0x8d31a6(0x196)]=[],this[_0x8d31a6(0xcd)][_0x8d31a6(0x11c)][_0x8d31a6(0x129)](_0x181154)[_0x8d31a6(0x16d)]();}[_0x257c21(0x16b)](){const _0x4187a1=_0x257c21;this[_0x4187a1(0x123)]||(this[_0x4187a1(0x123)]=this[_0x4187a1(0xcd)][_0x4187a1(0x11c)][_0x4187a1(0x129)](_0x10be10)[_0x4187a1(0x108)](_0x451038(this[_0x4187a1(0xcd)][_0x4187a1(0x193)],_0x4187a1(0xd7))));}[_0x257c21(0xdd)](){const _0x5b9b45=_0x257c21;this[_0x5b9b45(0x123)]&&(this[_0x5b9b45(0xcd)][_0x5b9b45(0x11c)][_0x5b9b45(0x129)](_0x10be10)[_0x5b9b45(0xff)](this[_0x5b9b45(0x123)]),this[_0x5b9b45(0x123)]=null);}[_0x257c21(0xf2)](_0x95659a){const _0x36af60=_0x257c21,_0x2be44c=_0x95659a[_0x36af60(0x11f)](_0x5296d6=>_0x5296d6[_0x36af60(0x19f)]());return this[_0x36af60(0xca)][_0x36af60(0xbe)](_0x2be44c);}[_0x257c21(0xe5)](_0x5d8d62,_0x2b1a5f){const _0x3a8e0f=_0x257c21;return this[_0x3a8e0f(0xca)][_0x3a8e0f(0xdf)](_0x5d8d62)[_0x3a8e0f(0x11f)]((_0x5d4669,_0x4def29)=>{const _0x2292b9=_0x3a8e0f,_0x10fe1f=_0x2292b9(0x176)==_0x2b1a5f[_0x4def29][_0x2292b9(0xfc)];if(_0x2292b9(0x109)==_0x5d4669[_0x2292b9(0x187)]){const _0x1d1b31=_0x5d4669[_0x2292b9(0x188)][_0x2292b9(0x18c)];!this[_0x2292b9(0x14c)][_0x2292b9(0x118)](_0x1d1b31)&&(this[_0x2292b9(0x14c)][_0x2292b9(0xc8)](_0x2292b9(0xf6),_0x1d1b31)[_0x2292b9(0x19e)]=!0x1);}const _0x161727=_0x2c72da[_0x2292b9(0x16f)](_0x5d4669,this[_0x2292b9(0x14c)]);return _0x161727[_0x2292b9(0x133)]=_0x5d4669[_0x2292b9(0x133)],_0x161727[_0x2292b9(0x13b)]=_0x10fe1f,_0x161727[_0x2292b9(0x143)]=_0x10fe1f?null:_0x2b1a5f[_0x4def29][_0x2292b9(0x150)],_0x161727[_0x2292b9(0xce)]=_0x2292b9(0x125)===_0x2b1a5f[_0x4def29][_0x2292b9(0xfc)],_0x161727[_0x2292b9(0x18a)]=_0x2b1a5f[_0x4def29][_0x2292b9(0x18a)],_0x161727;});}[_0x257c21(0x161)](){const _0x1fc14b=_0x257c21;this[_0x1fc14b(0x17e)]=!0x0,this[_0x1fc14b(0xbf)]()?this[_0x1fc14b(0xd3)]():this[_0x1fc14b(0x17e)]=!0x1;}[_0x257c21(0xbf)](){const _0x45d203=_0x257c21,_0x372d4d=this[_0x45d203(0xcd)][_0x45d203(0x11c)][_0x45d203(0x129)](_0x27458b)[_0x45d203(0x14f)][_0x45d203(0x129)](this[_0x45d203(0x1aa)]);return!this[_0x45d203(0xcd)][_0x45d203(0x149)]&&!!_0x372d4d&&_0x372d4d[_0x45d203(0xea)]>0x1&&this[_0x45d203(0x17e)];}[_0x257c21(0xc6)](){const _0x2c94c8=_0x257c21;return this[_0x2c94c8(0x196)][_0x2c94c8(0xea)]>0x0||this[_0x2c94c8(0xbf)]();}}export default l;class Q extends Error{}function _0x2fe9(_0x2e315c,_0x88caba){const _0x45f97d=_0x45f9();return _0x2fe9=function(_0x2fe958,_0x49a0f){_0x2fe958=_0x2fe958-0xbd;let _0x4cb12d=_0x45f97d[_0x2fe958];return _0x4cb12d;},_0x2fe9(_0x2e315c,_0x88caba);}function X(_0x5606cc,_0x21ea3c){const _0xe3b962=_0x257c21;for(const _0x4ba304 of _0x5606cc)_0x4ba304[_0xe3b962(0x142)]=_0x21ea3c++;}class Y{[_0x257c21(0x10f)];[_0x257c21(0xcb)];constructor(_0x356663){const _0x4c2bc9=_0x257c21;this[_0x4c2bc9(0x10f)]=_0x356663,this[_0x4c2bc9(0xcb)]=new WeakMap();}[_0x257c21(0x14d)](_0x40d213){const _0xe43f4d=_0x257c21;let _0xea1b44=_0x40d213[_0xe43f4d(0xea)];for(;_0xea1b44--;){const _0x9193d3=_0x40d213[_0xea1b44];if(!this[_0xe43f4d(0x10f)][_0xe43f4d(0x101)](_0x9193d3)){if(!this[_0xe43f4d(0xcb)][_0xe43f4d(0x101)](_0x9193d3)){const _0x2da535=_0x6ddd65()[_0xe43f4d(0xd5)](0x1,0x12);this[_0xe43f4d(0xcb)][_0xe43f4d(0x15a)](_0x9193d3,_0x2da535);}return this[_0xe43f4d(0xcb)][_0xe43f4d(0x129)](_0x9193d3);}}}[_0x257c21(0x183)](_0x104cf0,_0x4a925d){const _0x225ccf=_0x257c21;if(!_0x4a925d)return;let _0x35dfcc=_0x104cf0[_0x225ccf(0xea)];for(;_0x35dfcc--;){const _0x5f82af=_0x104cf0[_0x35dfcc];this[_0x225ccf(0x10f)][_0x225ccf(0x101)](_0x5f82af)||this[_0x225ccf(0xcb)][_0x225ccf(0x15a)](_0x5f82af,_0x4a925d);}}}
|
|
23
|
+
const _0x19f815=_0x3207;function _0x1732(){const _0x275368=['define','get','disableReadOnlyMode','realtimecollaborationclient-init-document-already-initialized','editor','_disconnectionOperations','6guKmXK','change:hasDomSelection','register','2551805TbvvKv','_handleReconnectionResponse','_getOperationsFromInitData','addRootAttribute','document','__className','_isEditingAllowed','real-time-collaboration','newRange','start','collaboration.channelId','decompress','wasUndone','_operationToId','bind','enqueueChange','12212352nZpygO','enableReadOnlyMode','message','string','has','marker','_hasSelectionChanged','rootName','stop','listenTo','PENDING_ACTION_SENDING_DATA','collaboration-missing-channelid','_initSessionsHandling','view','loadRoot','mySessionId','editing','disconnected','563781qPgnqT','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.','channelSessions','applyOperation','removeFromReconnectionStack','isPremiumPlugin','_handleInitialConnectionData','_lastServerVersion','length','rootsAttributes','then','_knownRootNames','sessionId','_pendingAction','_addKnownRoot','reconnect','124515VBFion','_authorId','_disconnectService','_sendBufferedOperationsDelayed','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','14gaESkV','_sendBufferedOperationsDelayId','code','Notification','affectsData','_connectService','forEach','lastSyncVersion','requires','markers','addToReconnectionStack','_setUpDataInit','lastDocumentSession','position','_offset','apply','_isDisconnection','409','371848QmWbjb','isOfficialPlugin','add','destroy','compress','cloudServices.bundleVersion','toJSON','pluginName','_compressor','createPositionFromPath','error','differ','catch','batch','realtimecollaborationclient-init-connection-failed','730wXQmgF','stopListening','createdAt','_isLoaded','realtimecollaborationclient-error','_currentBufferDelay','404','rtc-offline','type','addOperation','getRoot','_handleExternalOperations','lastOperationId','cloud-services-internal-error:\x20Request\x20timeout.','document:write','rtc-destroyed','_shouldSendSelectionUpdate','_isPendingUpdate','reconnection:\x20flushed\x20session','root','_shouldSendUpdate','directChange','isDocumentOperation','_saveOperationInBuffer','createPositionAt','_crash','_document','offset','cloudDocumentVersion','realtimecollaborationclient-sendbufferedoperations','startsWith','showWarning','1444437ymWjoO','locale','Permissions','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.','isReadOnly','_service','_getAffectedRoot','permissions','keys','CollaborativeEditingService','_bufferRootLoad','insert','_refreshUserSelectionMarkers','$root','cs:removeUser','path','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_operationIdentifier','getMany','_setPendingAction','68376YupVmP','setPermissions','change:range','set','_decompressOperations','_knownOperations','realtimecollaborationclient-init-service-incorrect-server-operation','createRoot','_fetchMissingUsers','userId','createRange','CommentsOnly','wereChangesApplied','_compressOperations','addUser','data','history','collaboration','metadata','high','roots','realtimecollaborationclient','model','_initThrowingOnDataSet','sendOperations','return','state','_handleReconnectionError','_isAttached','map','initData','attributes','sessionCreatedAt','version','filter','push','realtimecollaborationclient-init-non-existent-root','getConnectedSessions','_handleServerResponse','from','realtimecollaborationclient-handleserverresponse','setIdForTheLastOperation','_waitUntilSynced','Synchronization\x20issue','remove','_channelId','realtimecollaborationclient-init-service-internal-error','sessionAdd:','disconnect','connect','_bufferedOperations','round','cloud-services-internal-error:\x20Not\x20connected.','_applyOperationsSet','getUser','slice','reset','multi-root-editor-root-attributes-no-root','fire','createUserMarkerOperations','affectedSelectable','parse','_updateServerHistory','_ignoredOperations','getDocumentDetails','addRoot','serverHistory','_isConnected','_lastSyncedOperationId','_loadRoot','change:_isEditingAllowed','suppressErrorInCollaboration','_baseBufferDelay','plugins','connected','targetPosition','_hasSynchronizationProblem','_connectAfterSessionHasBeenFlushed','realtimecollaborationclient-init-session-connection-error','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','operationsReceived','_sendBufferedOperations','unregister','includes','getOperationAuthor','getOperations','config','isUndoneOperation','entries','_clearPendingAction','currentDocumentSession','move','lastOperationAcceptedAt','size','change:_isPendingUpdate','fromJSON','ready','finally','selection','end','_isInit','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','off','baseVersion','_handleReceivedOperations','connection','RealTimeCollaborationClient','clone','InsertOperation','isEnabled','_handleSendingSelectionMarkers','init','getIdOfTheLastOperation'];_0x1732=function(){return _0x275368;};return _0x1732();}(function(_0x176a23,_0x59621c){const _0x4104f9=_0x3207,_0x3b08eb=_0x176a23();while(!![]){try{const _0x3a2439=-parseInt(_0x4104f9(0x197))/0x1+parseInt(_0x4104f9(0x222))/0x2*(-parseInt(_0x4104f9(0x247))/0x3)+-parseInt(_0x4104f9(0x26e))/0x4+parseInt(_0x4104f9(0x225))/0x5+-parseInt(_0x4104f9(0x1ab))/0x6*(parseInt(_0x4104f9(0x25c))/0x7)+parseInt(_0x4104f9(0x235))/0x8+-parseInt(_0x4104f9(0x257))/0x9*(-parseInt(_0x4104f9(0x27d))/0xa);if(_0x3a2439===_0x59621c)break;else _0x3b08eb['push'](_0x3b08eb['shift']());}catch(_0x4edc43){_0x3b08eb['push'](_0x3b08eb['shift']());}}}(_0x1732,0xe1508));import{Plugin as _0x334b00,PendingActions as _0x237b84}from'ckeditor5/src/core.js';import{CKEditorError as _0x454772,version as _0x14b518,uid as _0x574659}from'ckeditor5/src/utils.js';import{Notification as _0x531df0}from'ckeditor5/src/ui.js';import{transformSets as _0x41680b,NoOperation as _0x45bea2,InsertOperation as _0x404fd7,MarkerOperation as _0x46e72e,RootAttributeOperation as _0xeb1c56,OperationFactory as _0x41bcdc,History as _0x423934}from'ckeditor5/src/engine.js';import _0x8b346a from'./websocketgateway.js';import _0x3306ac from'./sessions.js';import _0xaa5ec0 from'./usermarkers.js';import{getTranslation as _0x20182c}from'../common-translations.js';import{Compressor as _0x7f36b}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x871d92}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x46718b,CollaborativeEditingService as _0x8a8548}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x334b00{static [_0x19f815(0x1a0)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x8a8548)());[_0x19f815(0x26a)];[_0x19f815(0x253)];[_0x19f815(0x1ed)];[_0x19f815(0x1d8)];[_0x19f815(0x19c)];[_0x19f815(0x297)];[_0x19f815(0x276)];[_0x19f815(0x1dd)];[_0x19f815(0x1b0)];[_0x19f815(0x252)];[_0x19f815(0x254)];[_0x19f815(0x23b)];[_0x19f815(0x25d)];[_0x19f815(0x1f3)];[_0x19f815(0x282)];[_0x19f815(0x1ef)];[_0x19f815(0x221)];[_0x19f815(0x1a8)];static get[_0x19f815(0x264)](){return[_0x8b346a,_0x3306ac,_0xaa5ec0,_0x237b84,_0x871d92,_0x531df0];}static get[_0x19f815(0x275)](){const _0x2d158e=_0x19f815;return _0x2d158e(0x215);}static get[_0x19f815(0x26f)](){return!0x0;}static get[_0x19f815(0x24c)](){return!0x0;}get[_0x19f815(0x193)](){const _0x333b3c=_0x19f815;return this[_0x333b3c(0x24e)]+this[_0x333b3c(0x26a)];}get[_0x19f815(0x24e)](){const _0xabac4b=_0x19f815;return this[_0xabac4b(0x1ed)][_0xabac4b(0x1cc)]-this[_0xabac4b(0x26a)];}get[_0x19f815(0x263)](){const _0x46e6dd=_0x19f815,_0x47a416=this[_0x46e6dd(0x1ed)][_0x46e6dd(0x200)]();for(let _0xa6e86e=_0x47a416[_0x46e6dd(0x24f)]-0x1;_0xa6e86e>=0x0;_0xa6e86e--){const _0x3ff717=_0x47a416[_0xa6e86e];if(!this[_0x46e6dd(0x221)][_0x46e6dd(0x239)](_0x3ff717))return _0x3ff717[_0x46e6dd(0x212)]+0x1-this[_0x46e6dd(0x26a)];}return 0x0;}constructor(_0x4db3c9){const _0x109019=_0x19f815;if(super(_0x4db3c9),this[_0x109019(0x26a)]=0x0,this[_0x109019(0x253)]=null,this[_0x109019(0x1ed)]=new _0x423934(),this[_0x109019(0x220)][_0x109019(0x201)][_0x109019(0x21c)](_0x109019(0x1bc),{}),this[_0x109019(0x1d8)]=this[_0x109019(0x220)][_0x109019(0x201)][_0x109019(0x21d)](_0x109019(0x22f)),!this[_0x109019(0x1d8)])throw new _0x454772(_0x109019(0x240),this);const _0x58bde5=_0x4db3c9[_0x109019(0x201)][_0x109019(0x21d)](_0x109019(0x273))||_0x14b518;this[_0x109019(0x19c)]=new l[(_0x109019(0x1a0))](_0x58bde5,this[_0x109019(0x1d8)]),this[_0x109019(0x297)]=this[_0x109019(0x220)][_0x109019(0x1c1)][_0x109019(0x229)],this[_0x109019(0x276)]=new _0x7f36b(),this[_0x109019(0x1dd)]=[],this[_0x109019(0x1b0)]=new WeakSet(),this[_0x109019(0x252)]=new Set(),this[_0x109019(0x1ae)](_0x109019(0x28e),!0x1),this[_0x109019(0x1ae)](_0x109019(0x1f7),!0x1),this[_0x109019(0x254)]=null,this[_0x109019(0x23b)]=!0x1,this[_0x109019(0x25d)]=null,this[_0x109019(0x1f3)]=0x12c,this[_0x109019(0x282)]=this[_0x109019(0x1f3)],this[_0x109019(0x1ef)]=null,this[_0x109019(0x221)]=new WeakSet(),this[_0x109019(0x1a8)]=new Y(this[_0x109019(0x221)]);}[_0x19f815(0x21a)](){const _0x2666b1=_0x19f815,_0x285888=this[_0x2666b1(0x220)],_0x512697=_0x285888[_0x2666b1(0x1f4)][_0x2666b1(0x21d)](_0x871d92),_0x5d20b5=_0x285888[_0x2666b1(0x1f4)][_0x2666b1(0x21d)](_0x8b346a);this[_0x2666b1(0x23e)](_0x512697,_0x2666b1(0x1ff),(_0x262d74,_0x1a4ff4)=>{const _0x30f760=_0x2666b1,_0x5cf912=_0x1a4ff4[0x0];_0x5cf912[_0x30f760(0x258)]&&(_0x262d74[_0x30f760(0x1c4)]=_0x512697[_0x30f760(0x1e1)](_0x5cf912[_0x30f760(0x258)]),_0x262d74[_0x30f760(0x23d)]()),null===_0x5cf912[_0x30f760(0x258)]&&(_0x262d74[_0x30f760(0x1c4)]=null,_0x262d74[_0x30f760(0x23d)]());},{'priority':_0x2666b1(0x1be)}),this[_0x2666b1(0x23e)](_0x285888[_0x2666b1(0x1c1)][_0x2666b1(0x229)][_0x2666b1(0x20d)],_0x2666b1(0x1ad),(_0x3a7a5c,_0x4fc439)=>{const _0x50feb6=_0x2666b1;_0x4fc439[_0x50feb6(0x292)]&&this[_0x50feb6(0x1a3)]();}),this[_0x2666b1(0x23e)](_0x285888[_0x2666b1(0x245)][_0x2666b1(0x242)],_0x2666b1(0x223),()=>{const _0x2fb8a3=_0x2666b1;this[_0x2fb8a3(0x1a3)]();}),this[_0x2666b1(0x1c2)](),_0x285888[_0x2666b1(0x1c1)]['on'](_0x2666b1(0x24a),(_0x241879,_0x205fb3)=>{const _0x2baac1=_0x2666b1,_0x25627d=_0x205fb3[0x0];_0x25627d[_0x2baac1(0x293)]&&(this[_0x2baac1(0x294)](_0x25627d),this[_0x2baac1(0x291)]()&&this[_0x2baac1(0x25a)]());}),this[_0x2666b1(0x267)](),this[_0x2666b1(0x233)](_0x2666b1(0x22b))['to'](_0x5d20b5,_0x2666b1(0x1c5),this,_0x2666b1(0x1f7),(_0x3ed926,_0x315f1c)=>_0x2666b1(0x1f5)===_0x3ed926&&!_0x315f1c),this['on'](_0x2666b1(0x1f1),()=>{const _0x42005e=_0x2666b1;this[_0x42005e(0x22b)]?_0x285888[_0x42005e(0x21e)](_0x42005e(0x284)):_0x285888[_0x42005e(0x236)](_0x42005e(0x284));}),this[_0x2666b1(0x22b)]?_0x285888[_0x2666b1(0x21e)](_0x2666b1(0x284)):_0x285888[_0x2666b1(0x236)](_0x2666b1(0x284)),this[_0x2666b1(0x1ae)](_0x2666b1(0x1ee),!0x1);}async[_0x19f815(0x256)](){const _0x12838b=_0x19f815,_0x4bf9a9=this[_0x12838b(0x220)][_0x12838b(0x1f4)][_0x12838b(0x21d)](_0x3306ac),_0x42a338=this[_0x12838b(0x220)][_0x12838b(0x1f4)][_0x12838b(0x21d)](_0x8b346a);try{this[_0x12838b(0x28e)]=!0x0,_0x4bf9a9[_0x12838b(0x1fd)](this[_0x12838b(0x1d8)]);const _0x2a7258=await this[_0x12838b(0x19c)][_0x12838b(0x256)](_0x42a338[_0x12838b(0x214)],this[_0x12838b(0x263)]);await this[_0x12838b(0x226)](_0x2a7258)&&(this[_0x12838b(0x28e)]=!0x1,this[_0x12838b(0x204)]());const _0x487933=await this[_0x12838b(0x19c)][_0x12838b(0x1d0)]();_0x4bf9a9[_0x12838b(0x224)](this[_0x12838b(0x1d8)],_0x487933),this[_0x12838b(0x219)](),this[_0x12838b(0x1ee)]=!0x0;}catch(_0x2b0d69){if(function(_0x13ffbd){const _0x18104b=_0x12838b;return _0x18104b(0x283)===_0x13ffbd[_0x18104b(0x25e)];}(_0x2b0d69)&&this[_0x12838b(0x253)])await this[_0x12838b(0x1f8)]();else{if(function(_0xd00671){const _0x35691d=_0x12838b;return _0x35691d(0x26d)===_0xd00671[_0x35691d(0x25e)];}(_0x2b0d69)){const _0x56c642=_0x20182c(this[_0x12838b(0x220)][_0x12838b(0x198)],_0x12838b(0x1a7));this[_0x12838b(0x1c6)](_0x56c642);}else{if(!(_0x2b0d69 instanceof Q))throw _0x2b0d69;this[_0x12838b(0x1c6)]();}}}}[_0x19f815(0x271)](){const _0x43aa49=_0x19f815,_0x2c9df2=this[_0x43aa49(0x220)][_0x43aa49(0x1f4)][_0x43aa49(0x21d)](_0x8b346a),_0x5377a7=this[_0x43aa49(0x220)][_0x43aa49(0x1f4)][_0x43aa49(0x21d)](_0x3306ac);this[_0x43aa49(0x220)][_0x43aa49(0x236)](_0x43aa49(0x28c)),_0x5377a7[_0x43aa49(0x249)][_0x43aa49(0x239)](this[_0x43aa49(0x1d8)])&&_0x5377a7[_0x43aa49(0x1fd)](this[_0x43aa49(0x1d8)]),_0x2c9df2[_0x43aa49(0x24b)](this),this[_0x43aa49(0x259)](),super[_0x43aa49(0x271)]();}async[_0x19f815(0x226)](_0x21c7f1){const _0x737d8d=_0x19f815;if(this[_0x737d8d(0x253)]!==_0x21c7f1[_0x737d8d(0x253)]&&this[_0x737d8d(0x1ef)]!==_0x21c7f1[_0x737d8d(0x289)])throw new Q();return this[_0x737d8d(0x253)]=_0x21c7f1[_0x737d8d(0x253)],this[_0x737d8d(0x1d1)]([],{..._0x21c7f1,'wereChangesApplied':!0x1,'data':_0x21c7f1[_0x737d8d(0x1ba)]},_0x737d8d(0x256));}async[_0x19f815(0x261)](_0x1a90db,_0x41c8d2=!0x1){const _0x4fa46c=_0x19f815,{connection:_0x18face}=this[_0x4fa46c(0x220)][_0x4fa46c(0x1f4)][_0x4fa46c(0x21d)](_0x8b346a);l[_0x4fa46c(0x1a0)][_0x4fa46c(0x1d0)](_0x18face,this[_0x4fa46c(0x1d8)])[_0x4fa46c(0x251)](_0x19d259=>this[_0x4fa46c(0x241)](_0x19d259))[_0x4fa46c(0x27a)](_0x2c5bbc=>{const _0x284e0b=_0x4fa46c;this[_0x284e0b(0x296)](_0x284e0b(0x1f9),_0x2c5bbc);}),this[_0x4fa46c(0x23e)](this[_0x4fa46c(0x19c)],_0x4fa46c(0x1fb),this[_0x4fa46c(0x213)][_0x4fa46c(0x233)](this)),this[_0x4fa46c(0x23e)](this[_0x4fa46c(0x19c)],_0x4fa46c(0x278),(_0x31eb1e,_0x5527cb)=>{const _0x2ddf89=_0x4fa46c;this[_0x2ddf89(0x296)](_0x2ddf89(0x1d9),_0x5527cb);}),this[_0x4fa46c(0x23e)](this[_0x4fa46c(0x19c)],_0x4fa46c(0x246),()=>{const _0x39173a=_0x4fa46c;this[_0x39173a(0x1ee)]=!0x1;});const _0x55cdea=this[_0x4fa46c(0x1a8)][_0x4fa46c(0x21b)](_0x1a90db);this[_0x4fa46c(0x28e)]=!0x0;const _0x240691=await this[_0x4fa46c(0x19c)][_0x4fa46c(0x1dc)](_0x18face,this[_0x4fa46c(0x1b8)](_0x1a90db),_0x55cdea);if(this[_0x4fa46c(0x253)]=_0x240691[_0x4fa46c(0x253)],_0x41c8d2){if(!_0x240691[_0x4fa46c(0x1b7)])return void this[_0x4fa46c(0x1c6)]();this[_0x4fa46c(0x28e)]=!0x1,this[_0x4fa46c(0x204)](),this[_0x4fa46c(0x1ed)][_0x4fa46c(0x1e3)](),this[_0x4fa46c(0x26a)]=_0x240691[_0x4fa46c(0x192)],this[_0x4fa46c(0x1ed)][_0x4fa46c(0x1cc)]=this[_0x4fa46c(0x26a)],await this[_0x4fa46c(0x1d1)](_0x1a90db,_0x240691,_0x4fa46c(0x28f));}else await this[_0x4fa46c(0x24d)](_0x240691,_0x1a90db);this[_0x4fa46c(0x219)](),this[_0x4fa46c(0x1ee)]=!0x0;}[_0x19f815(0x219)](){const _0x3bac13=_0x19f815,_0x292f27=this[_0x3bac13(0x220)][_0x3bac13(0x1f4)][_0x3bac13(0x21d)](_0x3306ac),_0x328843=this[_0x3bac13(0x220)][_0x3bac13(0x1f4)][_0x3bac13(0x21d)](_0xaa5ec0),_0x1058ac=_0x292f27[_0x3bac13(0x249)][_0x3bac13(0x21d)](this[_0x3bac13(0x1d8)]);_0x1058ac&&_0x1058ac[_0x3bac13(0x24f)]>0x1?_0x328843[_0x3bac13(0x1e6)]():this[_0x3bac13(0x23e)](_0x292f27,_0x3bac13(0x1da)+this[_0x3bac13(0x1d8)],()=>{const _0x4b349e=_0x3bac13;0x2===_0x292f27[_0x4b349e(0x249)][_0x4b349e(0x21d)](this[_0x4b349e(0x1d8)])[_0x4b349e(0x24f)]&&_0x328843[_0x4b349e(0x1e6)]();});}async[_0x19f815(0x213)](_0x136af0,_0x574adc,_0x1d53c9,_0x4569d9){const _0x2c1fb9=_0x19f815;if(!this[_0x2c1fb9(0x28e)]&&this[_0x2c1fb9(0x297)][_0x2c1fb9(0x1cc)]==_0x574adc){const _0xd51759=this[_0x2c1fb9(0x1af)](_0x1d53c9,_0x4569d9);await this[_0x2c1fb9(0x1b3)](_0xd51759),this[_0x2c1fb9(0x288)](_0xd51759,_0x574adc,_0x1d53c9[_0x2c1fb9(0x289)])||this[_0x2c1fb9(0x296)](_0x2c1fb9(0x1b1));}}async[_0x19f815(0x1f8)](){const _0x3ef997=_0x19f815;this[_0x3ef997(0x259)]();const {locale:_0x667011}=this[_0x3ef997(0x220)];let _0x5c008d;try{_0x5c008d=await this[_0x3ef997(0x19c)][_0x3ef997(0x1eb)]();}catch(_0x3bc357){const _0x426a42=_0x20182c(_0x667011,_0x3ef997(0x210));return void this[_0x3ef997(0x1c6)](_0x426a42);}const _0x51e642=_0x5c008d[_0x3ef997(0x205)]||_0x5c008d[_0x3ef997(0x268)];if(this[_0x3ef997(0x1ef)]===_0x51e642[_0x3ef997(0x289)])await this[_0x3ef997(0x261)](this[_0x3ef997(0x220)][_0x3ef997(0x1c1)][_0x3ef997(0x229)][_0x3ef997(0x1bb)][_0x3ef997(0x200)](),!0x0);else{const _0x4f72e7=_0x20182c(_0x667011,_0x3ef997(0x19a));this[_0x3ef997(0x1c6)](_0x4f72e7);}}[_0x19f815(0x259)](){const _0x569809=_0x19f815;this[_0x569809(0x19c)][_0x569809(0x1db)](),this[_0x569809(0x1dd)]=[],clearTimeout(this[_0x569809(0x25d)]),this[_0x569809(0x27e)](this[_0x569809(0x19c)]);}[_0x19f815(0x241)](_0xb4826e){const _0x3d6087=_0x19f815,_0x3f3f69=this[_0x3d6087(0x220)][_0x3d6087(0x1f4)][_0x3d6087(0x21d)](_0x3306ac);this[_0x3d6087(0x23e)](_0x3f3f69,_0x3d6087(0x1da)+this[_0x3d6087(0x1d8)],(_0x28c220,{session:_0x40a66b})=>{const _0xf97603=_0x3d6087;if(_0x40a66b['id']===_0x3f3f69[_0xf97603(0x244)]){_0x28c220[_0xf97603(0x211)]();const _0x53c8d6=this[_0xf97603(0x220)][_0xf97603(0x1f4)][_0xf97603(0x239)](_0xf97603(0x1b6))&&this[_0xf97603(0x220)][_0xf97603(0x1f4)][_0xf97603(0x21d)](_0xf97603(0x1b6));let _0x45f6af=_0x40a66b[_0xf97603(0x19e)];_0x53c8d6&&_0x53c8d6[_0xf97603(0x218)]&&(_0x45f6af=_0x45f6af[_0xf97603(0x1cd)](_0x3be810=>_0xf97603(0x28b)!==_0x3be810)),this[_0xf97603(0x220)][_0xf97603(0x1f4)][_0xf97603(0x21d)](_0xf97603(0x199))[_0xf97603(0x1ac)](_0x45f6af,this[_0xf97603(0x1d8)]);}}),_0x3f3f69[_0x3d6087(0x224)](this[_0x3d6087(0x1d8)],_0xb4826e);}[_0x19f815(0x1c2)](){const _0x3161dd=_0x19f815,_0x36adc6=this[_0x3161dd(0x220)][_0x3161dd(0x1ba)][_0x3161dd(0x1ae)];this[_0x3161dd(0x220)][_0x3161dd(0x1ba)][_0x3161dd(0x1ae)]=(..._0x21ac38)=>{const _0x3b2039=_0x3161dd;if(!_0x21ac38[_0x21ac38[_0x3b2039(0x24f)]-0x1][_0x3b2039(0x1f2)])throw new _0x454772(_0x3b2039(0x1fa),this);_0x36adc6[_0x3b2039(0x26b)](this[_0x3b2039(0x220)][_0x3b2039(0x1ba)],_0x21ac38);};}[_0x19f815(0x267)](){const _0x3924e1=_0x19f815;this[_0x3924e1(0x220)][_0x3924e1(0x1ba)]['on'](_0x3924e1(0x21a),(_0x59c8dd,[_0x512aaa])=>{const _0x168f9d=_0x3924e1;if(this[_0x168f9d(0x297)][_0x168f9d(0x1cc)])throw new _0x454772(_0x168f9d(0x21f),this);_0x59c8dd[_0x168f9d(0x23d)](),this[_0x168f9d(0x1aa)]();const _0x54ad3d=this[_0x168f9d(0x220)][_0x168f9d(0x201)][_0x168f9d(0x21d)](_0x168f9d(0x250)),_0x2292a0=this[_0x168f9d(0x227)](_0x512aaa,_0x54ad3d);0x0==_0x2292a0[_0x168f9d(0x24f)]&&_0x2292a0[_0x168f9d(0x1ce)](new _0x45bea2(0x0)),_0x59c8dd[_0x168f9d(0x1c4)]=this[_0x168f9d(0x261)](_0x2292a0)[_0x168f9d(0x251)](()=>{const _0x50332d=_0x168f9d;this[_0x50332d(0x220)][_0x50332d(0x1f4)][_0x50332d(0x21d)](_0x8b346a)[_0x50332d(0x266)](this),this[_0x50332d(0x220)][_0x50332d(0x1ba)][_0x50332d(0x1e5)](_0x50332d(0x20b));})[_0x168f9d(0x27a)](_0xc05eef=>this[_0x168f9d(0x296)](_0x168f9d(0x27c),_0xc05eef))[_0x168f9d(0x20c)](()=>this[_0x168f9d(0x204)]());},{'priority':_0x3924e1(0x1be)}),this[_0x3924e1(0x220)]['on'](_0x3924e1(0x243),async(_0xf60952,[_0x4db16d,_0xa0423f])=>{const _0xe1f10b=_0x3924e1;_0xf60952[_0xe1f10b(0x23d)]();const _0x20993c=this[_0xe1f10b(0x220)][_0xe1f10b(0x1c1)][_0xe1f10b(0x229)][_0xe1f10b(0x287)](_0x4db16d);if(!this[_0xe1f10b(0x252)][_0xe1f10b(0x239)](_0x4db16d)){const _0x2b1821=_0xa0423f&&_0xa0423f[_0xe1f10b(0x1ba)]?_0xa0423f[_0xe1f10b(0x1ba)]:'',_0x2e99f5=_0xa0423f&&_0xa0423f[_0xe1f10b(0x1ca)]?_0xa0423f[_0xe1f10b(0x1ca)]:{};await this[_0xe1f10b(0x1f0)](_0x4db16d,_0x2b1821,_0x2e99f5);}this[_0xe1f10b(0x220)][_0xe1f10b(0x1c1)][_0xe1f10b(0x234)]({'isUndoable':!0x1},()=>{const _0x42a49d=_0xe1f10b;_0x20993c[_0x42a49d(0x280)]=!0x0,this[_0x42a49d(0x220)][_0x42a49d(0x1c1)][_0x42a49d(0x229)][_0x42a49d(0x279)][_0x42a49d(0x1a1)](_0x20993c);});},{'priority':_0x3924e1(0x1be)});}async[_0x19f815(0x1b3)](_0x216e90){const _0x131d60=_0x19f815,_0x5b4edf=this[_0x131d60(0x220)][_0x131d60(0x1f4)][_0x131d60(0x21d)](_0x871d92),{connection:_0x480bda}=this[_0x131d60(0x220)][_0x131d60(0x1f4)][_0x131d60(0x21d)](_0x8b346a),_0x544a13=new Set();for(const _0x3c70ce of _0x216e90){const _0x10bf74=_0x3c70ce[_0x131d60(0x258)];_0x10bf74&&!_0x5b4edf[_0x131d60(0x1e1)](_0x10bf74)&&_0x544a13[_0x131d60(0x270)](_0x10bf74);}if(0x0===_0x544a13[_0x131d60(0x208)])return;const _0x395352=await _0x46718b[_0x131d60(0x1a9)](_0x480bda,Array[_0x131d60(0x1d2)](_0x544a13));for(const _0x46dad9 of _0x395352)_0x5b4edf[_0x131d60(0x1e1)](_0x46dad9['id'])||_0x5b4edf[_0x131d60(0x1b9)](_0x46dad9);}[_0x19f815(0x227)](_0xc1d4b9,_0x3ed1b0={}){const _0x4455a7=_0x19f815,_0x4fa7b9=this[_0x4455a7(0x220)][_0x4455a7(0x1c1)],_0x1ec742=[];let _0x8a7da=0x0;const _0x456941=_0x4455a7(0x238)==typeof _0xc1d4b9?{'main':_0xc1d4b9}:_0xc1d4b9;for(const _0x3edc17 of Object[_0x4455a7(0x19f)](_0x456941)){if(!this[_0x4455a7(0x297)][_0x4455a7(0x1bf)][_0x4455a7(0x239)](_0x3edc17))throw new _0x454772(_0x4455a7(0x1cf),this);const _0x16d037=this[_0x4455a7(0x220)][_0x4455a7(0x1ba)][_0x4455a7(0x1e8)](_0x456941[_0x3edc17]),_0x4b300e=this[_0x4455a7(0x297)][_0x4455a7(0x287)](_0x3edc17),_0x4678c1=new _0x404fd7(_0x4fa7b9[_0x4455a7(0x295)](_0x4b300e,0x0),_0x16d037,_0x8a7da++);_0x1ec742[_0x4455a7(0x1ce)](_0x4678c1);for(const [_0x233f86,_0x35cc33]of _0x16d037[_0x4455a7(0x265)]){const _0x2946a0=_0x4fa7b9[_0x4455a7(0x1b5)](_0x4fa7b9[_0x4455a7(0x277)](_0x4b300e,_0x35cc33[_0x4455a7(0x22e)][_0x4455a7(0x1a6)][_0x4455a7(0x1e2)]()),_0x4fa7b9[_0x4455a7(0x277)](_0x4b300e,_0x35cc33[_0x4455a7(0x20e)][_0x4455a7(0x1a6)][_0x4455a7(0x1e2)]())),_0x5b6f2f=new _0x46e72e(_0x233f86,null,_0x2946a0,_0x4fa7b9[_0x4455a7(0x265)],!0x0,_0x8a7da++);_0x1ec742[_0x4455a7(0x1ce)](_0x5b6f2f);}}if(_0x3ed1b0)for(const [_0x4c75b2,_0x3d61ab]of Object[_0x4455a7(0x203)](_0x3ed1b0)){const _0x58bd9e=_0x4fa7b9[_0x4455a7(0x229)][_0x4455a7(0x287)](_0x4c75b2);if(!_0x58bd9e)throw new _0x454772(_0x4455a7(0x1e4),null);for(const [_0x278a9b,_0x2584d3]of Object[_0x4455a7(0x203)](_0x3d61ab))if(null!==_0x2584d3){const _0x2169f9=new _0xeb1c56(_0x58bd9e,_0x278a9b,null,_0x2584d3,_0x8a7da++);_0x1ec742[_0x4455a7(0x1ce)](_0x2169f9);}}return _0x1ec742;}async[_0x19f815(0x1f0)](_0x51e6bc,_0x37a653,_0x3a6f90){const _0x15543f=_0x19f815;this[_0x15543f(0x227)]({[_0x51e6bc]:_0x37a653},{[_0x51e6bc]:_0x3a6f90})[_0x15543f(0x262)]((_0xfc44a5,_0x51ee6e)=>{const _0x1650fb=_0x15543f;_0xfc44a5[_0x1650fb(0x212)]=this[_0x1650fb(0x297)][_0x1650fb(0x1cc)]+_0x51ee6e,_0xfc44a5[_0x1650fb(0x20f)]=!0x0,this[_0x1650fb(0x294)](_0xfc44a5);}),this[_0x15543f(0x25a)](),await this[_0x15543f(0x1d5)]();}async[_0x19f815(0x24d)](_0x38a3ac,_0x51dd13){const _0x390038=_0x19f815;let _0x581c52;this[_0x390038(0x26a)]=_0x38a3ac[_0x390038(0x192)];const _0x536e74=_0x38a3ac[_0x390038(0x1b7)]&&!_0x38a3ac[_0x390038(0x1c9)],_0x4281f8=_0x536e74?0x0:_0x38a3ac[_0x390038(0x1ba)][_0x390038(0x212)];if(_0x51dd13[_0x390038(0x262)](_0x239503=>{const _0x3ac534=_0x390038;_0x239503[_0x3ac534(0x20f)]=!0x0,_0x239503[_0x3ac534(0x27f)]=_0x38a3ac[_0x3ac534(0x1cb)],_0x239503[_0x3ac534(0x258)]=null;}),_0x536e74)_0x581c52=_0x51dd13,this[_0x390038(0x1e0)](_0x581c52,_0x536e74);else{if(_0x38a3ac[_0x390038(0x1c9)]){const _0x525135=this[_0x390038(0x227)](_0x38a3ac[_0x390038(0x1c9)]);this[_0x390038(0x297)][_0x390038(0x1bb)][_0x390038(0x1cc)]=-_0x525135[_0x390038(0x24f)],_0x525135[_0x390038(0x262)](_0x546e9a=>{const _0x58cdc6=_0x390038;_0x546e9a[_0x58cdc6(0x212)]-=_0x525135[_0x58cdc6(0x24f)],_0x546e9a[_0x58cdc6(0x27f)]=_0x38a3ac[_0x58cdc6(0x1cb)],_0x546e9a[_0x58cdc6(0x20f)]=!0x0,_0x546e9a[_0x58cdc6(0x258)]=null;}),this[_0x390038(0x1e0)](_0x525135,!0x0),this[_0x390038(0x1ed)][_0x390038(0x1cc)]=-_0x525135[_0x390038(0x24f)]+this[_0x390038(0x26a)],this[_0x390038(0x1e9)](_0x525135);}this[_0x390038(0x297)][_0x390038(0x1bb)][_0x390038(0x1cc)]=_0x4281f8,_0x581c52=this[_0x390038(0x1af)](_0x38a3ac[_0x390038(0x1ba)],_0x38a3ac[_0x390038(0x1bd)]),await this[_0x390038(0x1b3)](_0x581c52),this[_0x390038(0x1e0)](_0x581c52,_0x536e74);}_0x38a3ac[_0x390038(0x289)]&&(this[_0x390038(0x1a8)][_0x390038(0x1d4)](_0x581c52,_0x38a3ac[_0x390038(0x289)]),this[_0x390038(0x1ef)]=_0x38a3ac[_0x390038(0x289)]),this[_0x390038(0x1ed)][_0x390038(0x1cc)]=_0x4281f8+this[_0x390038(0x26a)],this[_0x390038(0x1e9)](_0x581c52),_0x51dd13[_0x390038(0x1cd)](_0x31fb65=>{const _0x5dfb3e=_0x390038,_0xacfe01=this[_0x5dfb3e(0x19d)](_0x31fb65);return _0xacfe01&&!this[_0x5dfb3e(0x252)][_0x5dfb3e(0x239)](_0xacfe01);})[_0x390038(0x262)]((_0x2181c9,_0xfc956d)=>{const _0x2e2979=_0x390038;_0x2181c9[_0x2e2979(0x212)]=this[_0x2e2979(0x297)][_0x2e2979(0x1cc)]+_0xfc956d,this[_0x2e2979(0x294)](_0x2181c9);}),this[_0x390038(0x291)]()?(this[_0x390038(0x282)]=0x0,this[_0x390038(0x25a)](!0x0),await this[_0x390038(0x1d5)]()):(this[_0x390038(0x28e)]=!0x1,this[_0x390038(0x204)]());}[_0x19f815(0x296)](_0x3effe5,_0x9635a7){const _0x5b757f=_0x19f815,_0x53bab6=_0x9635a7&&_0x9635a7[_0x5b757f(0x237)];if(_0x53bab6&&_0x53bab6[_0x5b757f(0x195)](_0x5b757f(0x1c0)))throw _0x9635a7;const _0x35dbfa=this[_0x5b757f(0x220)][_0x5b757f(0x1f4)][_0x5b757f(0x21d)](_0x8b346a);throw this[_0x5b757f(0x28e)]=!0x0,_0x35dbfa[_0x5b757f(0x1db)](),this[_0x5b757f(0x220)][_0x5b757f(0x236)](_0x5b757f(0x281)),new _0x454772(_0x3effe5,this[_0x5b757f(0x220)],_0x53bab6?{'originalError':_0x53bab6}:void 0x0);}[_0x19f815(0x294)](_0xef0c4c){const _0x5e43ab=_0x19f815;this[_0x5e43ab(0x1b0)][_0x5e43ab(0x239)](_0xef0c4c)||(this[_0x5e43ab(0x1b0)][_0x5e43ab(0x270)](_0xef0c4c),this[_0x5e43ab(0x1dd)][_0x5e43ab(0x1ce)](_0xef0c4c),this[_0x5e43ab(0x254)]||_0x5e43ab(0x23a)==_0xef0c4c[_0x5e43ab(0x285)]&&!_0xef0c4c[_0x5e43ab(0x260)]||this[_0x5e43ab(0x1aa)]());}[_0x19f815(0x25a)](_0x20c7f1=!0x1){const _0x5e9ac1=_0x19f815;!_0x20c7f1&&this[_0x5e9ac1(0x28e)]||(this[_0x5e9ac1(0x28e)]=!0x0,clearTimeout(this[_0x5e9ac1(0x25d)]),this[_0x5e9ac1(0x25d)]=setTimeout(()=>{const _0xaf7235=_0x5e9ac1;this[_0xaf7235(0x1fc)]()[_0xaf7235(0x251)](_0x59bcdf=>{const _0x2db686=_0xaf7235;_0x59bcdf&&(this[_0x2db686(0x204)](),this[_0x2db686(0x28e)]=!0x1);})[_0xaf7235(0x27a)](_0x8773c4=>{const _0x51d08c=_0xaf7235;this[_0x51d08c(0x204)](),this[_0x51d08c(0x28e)]=!0x1,function(_0x1f087a){const _0x296674=_0x51d08c;return _0x1f087a[_0x296674(0x237)][_0x296674(0x195)](_0x296674(0x1df))||_0x1f087a[_0x296674(0x237)][_0x296674(0x195)](_0x296674(0x25b))||_0x1f087a[_0x296674(0x237)][_0x296674(0x195)](_0x296674(0x28a));}(_0x8773c4)||this[_0x51d08c(0x296)](_0x8773c4[_0x51d08c(0x237)],_0x8773c4);});},this[_0x5e9ac1(0x282)]));}[_0x19f815(0x1d5)](){return new Promise(_0x5bfb27=>{const _0x43b53f=_0x3207;this['on'](_0x43b53f(0x209),()=>{_0x5bfb27();});});}async[_0x19f815(0x1fc)](){const _0x72b78a=_0x19f815,_0x4eed1e=this[_0x72b78a(0x220)][_0x72b78a(0x1f4)][_0x72b78a(0x21d)](_0xaa5ec0);if(this[_0x72b78a(0x28d)]()&&(_0x4eed1e[_0x72b78a(0x1e6)](),this[_0x72b78a(0x23b)]=!0x1),!this[_0x72b78a(0x291)]())return!0x0;const _0x11c784=[...this[_0x72b78a(0x1dd)]];for(const _0x4e6292 of _0x11c784)_0x4e6292[_0x72b78a(0x231)]=this[_0x72b78a(0x297)][_0x72b78a(0x1bb)][_0x72b78a(0x202)](_0x4e6292);const _0x4c21b9=this[_0x72b78a(0x1a8)][_0x72b78a(0x21b)](_0x11c784),_0x10d716=J++,_0x5611b7=this[_0x72b78a(0x1b8)](_0x11c784),_0x45166b=await this[_0x72b78a(0x19c)][_0x72b78a(0x1c3)](_0x5611b7,_0x5611b7[_0x72b78a(0x212)],_0x4c21b9);try{return await this[_0x72b78a(0x1d1)](_0x11c784,_0x45166b,_0x10d716);}catch(_0x4cc056){return this[_0x72b78a(0x296)](_0x72b78a(0x194),_0x4cc056);}}async[_0x19f815(0x1d1)](_0x298578,_0x303467,_0x36c320){const _0x38c629=_0x19f815;if(_0x38c629(0x278)in _0x303467)throw _0x303467[_0x38c629(0x278)];let _0xec90fd=!0x1;if(_0x303467[_0x38c629(0x1b7)]){_0x303467[_0x38c629(0x289)]&&(this[_0x38c629(0x1ef)]=_0x303467[_0x38c629(0x289)]),this[_0x38c629(0x1dd)]=this[_0x38c629(0x1dd)][_0x38c629(0x1cd)](_0xc6756d=>!_0x298578[_0x38c629(0x1fe)](_0xc6756d));for(const _0x5ba8cd of _0x298578)_0x5ba8cd[_0x38c629(0x27f)]=_0x38c629(0x207)in _0x303467&&_0x303467[_0x38c629(0x207)]||void 0x0;X(_0x298578,_0x303467[_0x38c629(0x1cc)]-_0x298578[_0x38c629(0x24f)]),this[_0x38c629(0x1e9)](_0x298578);const _0x5480a7=_0x298578[_0x38c629(0x1cd)](_0x40428f=>{const _0x40cf1b=_0x38c629;if(!_0x40428f[_0x40cf1b(0x20f)])return!0x1;const _0x1add66=this[_0x40cf1b(0x19d)](_0x40428f);return _0x1add66&&!this[_0x40cf1b(0x252)][_0x40cf1b(0x239)](_0x1add66);});X(_0x5480a7,this[_0x38c629(0x297)][_0x38c629(0x1cc)]),this[_0x38c629(0x1e0)](_0x5480a7),_0xec90fd=!0x0,this[_0x38c629(0x282)]=this[_0x38c629(0x1f3)];}else{const _0xc4e5d2=this[_0x38c629(0x1af)](_0x303467[_0x38c629(0x1ba)],_0x303467[_0x38c629(0x1bd)])[_0x38c629(0x1cd)](_0x3b701f=>_0x3b701f[_0x38c629(0x212)]>=this[_0x38c629(0x24e)]);_0xc4e5d2[_0x38c629(0x262)](_0x297f1e=>this[_0x38c629(0x255)](_0x297f1e)),this[_0x38c629(0x1dd)]=this[_0x38c629(0x1dd)][_0x38c629(0x1cd)](_0x505773=>!_0x505773[_0x38c629(0x20f)]||!this[_0x38c629(0x252)][_0x38c629(0x239)](this[_0x38c629(0x19d)](_0x505773))),this[_0x38c629(0x1dd)][_0x38c629(0x24f)]&&X(this[_0x38c629(0x1dd)],this[_0x38c629(0x1dd)][0x0][_0x38c629(0x212)]),await this[_0x38c629(0x1b3)](_0xc4e5d2),_0xec90fd=this[_0x38c629(0x288)](_0xc4e5d2,_0x303467[_0x38c629(0x1cc)],_0x303467[_0x38c629(0x289)]),this[_0x38c629(0x282)]=Math[_0x38c629(0x1de)](this[_0x38c629(0x282)]/0x2);}return _0xec90fd?!this[_0x38c629(0x291)]()||(this[_0x38c629(0x25a)](!0x0),!0x1):this[_0x38c629(0x296)](_0x38c629(0x1d3));}[_0x19f815(0x288)](_0x258f1c,_0x182bea,_0x52a15f){const _0x96894a=_0x19f815;try{const _0x5d373d={'document':this[_0x96894a(0x297)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x20d0e1,operationsB:_0xfc0933,originalOperations:_0x40b44b}=_0x41680b(_0x258f1c,this[_0x96894a(0x1dd)],_0x5d373d);X(_0x20d0e1,this[_0x96894a(0x297)][_0x96894a(0x1cc)]),X(_0xfc0933,_0x182bea);for(const _0x12cfc0 of _0x20d0e1){const _0x163745=_0x40b44b[_0x96894a(0x21d)](_0x12cfc0);_0x12cfc0[_0x96894a(0x258)]=_0x163745?_0x163745[_0x96894a(0x258)]:null;}_0x52a15f&&(this[_0x96894a(0x1a8)][_0x96894a(0x1d4)](_0x258f1c,_0x52a15f),this[_0x96894a(0x1ef)]=_0x52a15f),this[_0x96894a(0x1dd)]=[..._0xfc0933],this[_0x96894a(0x1e0)](_0x20d0e1),this[_0x96894a(0x1e9)](_0x258f1c);}catch(_0x2ada8a){return console[_0x96894a(0x278)](_0x2ada8a),!0x1;}return!0x0;}[_0x19f815(0x1e0)](_0x39b4aa,_0x344d53=!0x1){const _0x52f7c3=_0x19f815;this[_0x52f7c3(0x220)][_0x52f7c3(0x1c1)][_0x52f7c3(0x234)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5bf893=>{const _0x588784=_0x52f7c3;for(const _0x51de8d of _0x39b4aa)this[_0x588784(0x1b0)][_0x588784(0x270)](_0x51de8d),this[_0x588784(0x255)](_0x51de8d),_0x5bf893[_0x588784(0x27b)][_0x588784(0x286)](_0x51de8d),this[_0x588784(0x220)][_0x588784(0x1c1)][_0x588784(0x24a)](_0x51de8d);});}[_0x19f815(0x255)](_0x218fd4){const _0x2634ad=_0x19f815,_0x1f050d=this[_0x2634ad(0x19d)](_0x218fd4);_0x1f050d&&this[_0x2634ad(0x252)][_0x2634ad(0x270)](_0x1f050d);}[_0x19f815(0x19d)](_0x4b40c8){const _0x259dd8=_0x19f815;let _0x20a797,_0x100847;switch(_0x4b40c8[_0x259dd8(0x285)]){case _0x259dd8(0x1a2):_0x20a797=_0x4b40c8[_0x259dd8(0x269)][_0x259dd8(0x290)];break;case _0x259dd8(0x23a):if(_0x100847=_0x4b40c8[_0x259dd8(0x22d)],!_0x100847)return null;_0x20a797=_0x100847[_0x259dd8(0x290)];break;case _0x259dd8(0x228):_0x20a797=_0x4b40c8[_0x259dd8(0x290)];break;case _0x259dd8(0x1ec):_0x20a797=_0x4b40c8[_0x259dd8(0x1e7)];break;case _0x259dd8(0x206):_0x20a797=_0x4b40c8[_0x259dd8(0x1f6)][_0x259dd8(0x290)];break;default:return null;}return _0x20a797[_0x259dd8(0x23c)];}[_0x19f815(0x1e9)](_0x91438f){const _0x285082=_0x19f815;_0x91438f[_0x285082(0x262)](_0x14e6e9=>{const _0x1b31f2=_0x285082,_0x2c8784=_0x14e6e9[_0x1b31f2(0x216)]();_0x2c8784[_0x1b31f2(0x258)]=_0x14e6e9[_0x1b31f2(0x258)],_0x2c8784[_0x1b31f2(0x20f)]=!!_0x14e6e9[_0x1b31f2(0x20f)],_0x2c8784[_0x1b31f2(0x27f)]=_0x14e6e9[_0x1b31f2(0x27f)],_0x2c8784[_0x1b31f2(0x212)]+=this[_0x1b31f2(0x26a)],_0x14e6e9[_0x1b31f2(0x26c)]&&this[_0x1b31f2(0x221)][_0x1b31f2(0x270)](_0x2c8784),this[_0x1b31f2(0x1ed)][_0x1b31f2(0x286)](_0x2c8784);});}[_0x19f815(0x1c6)](_0x1404fb){const _0x5ad707=_0x19f815,_0x5bfce8=this[_0x5ad707(0x220)][_0x5ad707(0x1f4)][_0x5ad707(0x21d)](_0x5ad707(0x25f)),_0x5da204=this[_0x5ad707(0x220)][_0x5ad707(0x198)];_0x1404fb||(_0x1404fb=_0x20182c(_0x5da204,_0x5ad707(0x248))),_0x5bfce8[_0x5ad707(0x196)](_0x1404fb,{'title':_0x20182c(_0x5da204,_0x5ad707(0x1d6)),'namespace':_0x5ad707(0x22c)}),this[_0x5ad707(0x1f7)]=!0x0,clearTimeout(this[_0x5ad707(0x25d)]),this[_0x5ad707(0x1dd)]=[],this[_0x5ad707(0x220)][_0x5ad707(0x1f4)][_0x5ad707(0x21d)](_0x8b346a)[_0x5ad707(0x1db)]();}[_0x19f815(0x1aa)](){const _0x19c584=_0x19f815;this[_0x19c584(0x254)]||(this[_0x19c584(0x254)]=this[_0x19c584(0x220)][_0x19c584(0x1f4)][_0x19c584(0x21d)](_0x237b84)[_0x19c584(0x270)](_0x20182c(this[_0x19c584(0x220)][_0x19c584(0x198)],_0x19c584(0x23f))));}[_0x19f815(0x204)](){const _0x34ae02=_0x19f815;this[_0x34ae02(0x254)]&&(this[_0x34ae02(0x220)][_0x34ae02(0x1f4)][_0x34ae02(0x21d)](_0x237b84)[_0x34ae02(0x1d7)](this[_0x34ae02(0x254)]),this[_0x34ae02(0x254)]=null);}[_0x19f815(0x1b8)](_0x373982){const _0x4cbace=_0x19f815,_0x50b7b8=_0x373982[_0x4cbace(0x1c8)](_0x42d60f=>_0x42d60f[_0x4cbace(0x274)]());return this[_0x4cbace(0x276)][_0x4cbace(0x272)](_0x50b7b8);}[_0x19f815(0x1af)](_0x2e098f,_0x228a21){const _0xfb126c=_0x19f815;return this[_0xfb126c(0x276)][_0xfb126c(0x230)](_0x2e098f)[_0xfb126c(0x1c8)]((_0x4f65ca,_0x5aada5)=>{const _0x54a7e3=_0xfb126c,_0x2f7173=_0x54a7e3(0x21a)==_0x228a21[_0x5aada5][_0x54a7e3(0x285)];if(_0x54a7e3(0x217)==_0x4f65ca[_0x54a7e3(0x22a)]){const _0x46eaf0=_0x4f65ca[_0x54a7e3(0x269)][_0x54a7e3(0x290)];!this[_0x54a7e3(0x297)][_0x54a7e3(0x287)](_0x46eaf0)&&(this[_0x54a7e3(0x297)][_0x54a7e3(0x1b2)](_0x54a7e3(0x1a4),_0x46eaf0)[_0x54a7e3(0x1c7)]=!0x1);}const _0x47cb2d=_0x41bcdc[_0x54a7e3(0x20a)](_0x4f65ca,this[_0x54a7e3(0x297)]);return _0x47cb2d[_0x54a7e3(0x231)]=_0x4f65ca[_0x54a7e3(0x231)],_0x47cb2d[_0x54a7e3(0x20f)]=_0x2f7173,_0x47cb2d[_0x54a7e3(0x258)]=_0x2f7173?null:_0x228a21[_0x5aada5][_0x54a7e3(0x1b4)],_0x47cb2d[_0x54a7e3(0x26c)]=_0x54a7e3(0x1a5)===_0x228a21[_0x5aada5][_0x54a7e3(0x285)],_0x47cb2d[_0x54a7e3(0x27f)]=_0x228a21[_0x5aada5][_0x54a7e3(0x27f)],_0x47cb2d;});}[_0x19f815(0x1a3)](){const _0x490eb5=_0x19f815;this[_0x490eb5(0x23b)]=!0x0,this[_0x490eb5(0x28d)]()?this[_0x490eb5(0x25a)]():this[_0x490eb5(0x23b)]=!0x1;}[_0x19f815(0x28d)](){const _0x3341b0=_0x19f815,_0x3fe860=this[_0x3341b0(0x220)][_0x3341b0(0x1f4)][_0x3341b0(0x21d)](_0x3306ac)[_0x3341b0(0x249)][_0x3341b0(0x21d)](this[_0x3341b0(0x1d8)]);return!this[_0x3341b0(0x220)][_0x3341b0(0x19b)]&&!!_0x3fe860&&_0x3fe860[_0x3341b0(0x24f)]>0x1&&this[_0x3341b0(0x23b)];}[_0x19f815(0x291)](){const _0x40a47b=_0x19f815;return this[_0x40a47b(0x1dd)][_0x40a47b(0x24f)]>0x0||this[_0x40a47b(0x28d)]();}}export default l;class Q extends Error{}function X(_0x3cef26,_0x57af5c){const _0x332228=_0x19f815;for(const _0x44e18b of _0x3cef26)_0x44e18b[_0x332228(0x212)]=_0x57af5c++;}function _0x3207(_0x1da989,_0x15e3d2){const _0x1732a6=_0x1732();return _0x3207=function(_0x320750,_0x4cbfcb){_0x320750=_0x320750-0x192;let _0x1aed97=_0x1732a6[_0x320750];return _0x1aed97;},_0x3207(_0x1da989,_0x15e3d2);}class Y{[_0x19f815(0x1ea)];[_0x19f815(0x232)];constructor(_0x9bcfa3){const _0x3e4b2f=_0x19f815;this[_0x3e4b2f(0x1ea)]=_0x9bcfa3,this[_0x3e4b2f(0x232)]=new WeakMap();}[_0x19f815(0x21b)](_0x4f10f1){const _0x46abe6=_0x19f815;let _0x4f0cbb=_0x4f10f1[_0x46abe6(0x24f)];for(;_0x4f0cbb--;){const _0x3fb713=_0x4f10f1[_0x4f0cbb];if(!this[_0x46abe6(0x1ea)][_0x46abe6(0x239)](_0x3fb713)){if(!this[_0x46abe6(0x232)][_0x46abe6(0x239)](_0x3fb713)){const _0x227465=_0x574659()[_0x46abe6(0x1e2)](0x1,0x12);this[_0x46abe6(0x232)][_0x46abe6(0x1ae)](_0x3fb713,_0x227465);}return this[_0x46abe6(0x232)][_0x46abe6(0x21d)](_0x3fb713);}}}[_0x19f815(0x1d4)](_0x2b2099,_0x335b6d){const _0x3f445f=_0x19f815;if(!_0x335b6d)return;let _0x3ef20b=_0x2b2099[_0x3f445f(0x24f)];for(;_0x3ef20b--;){const _0x1108d0=_0x2b2099[_0x3ef20b];this[_0x3f445f(0x1ea)][_0x3f445f(0x239)](_0x1108d0)||this[_0x3f445f(0x232)][_0x3f445f(0x1ae)](_0x1108d0,_0x335b6d);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3ef339=_0x544d;function _0x544d(_0x37e71a,_0x53ea86){const _0x5ee02e=_0x5ee0();return _0x544d=function(_0x544d61,_0x2a94cd){_0x544d61=_0x544d61-0xf1;let _0x2f4292=_0x5ee02e[_0x544d61];return _0x2f4292;},_0x544d(_0x37e71a,_0x53ea86);}(function(_0x2f1b6b,_0x5f49c8){const _0x41256e=_0x544d,_0x1418f1=_0x2f1b6b();while(!![]){try{const _0x5ee77e=-parseInt(_0x41256e(0x12d))/0x1*(-parseInt(_0x41256e(0x121))/0x2)+-parseInt(_0x41256e(0xf3))/0x3+-parseInt(_0x41256e(0x122))/0x4*(parseInt(_0x41256e(0x109))/0x5)+-parseInt(_0x41256e(0x117))/0x6+-parseInt(_0x41256e(0x10e))/0x7*(parseInt(_0x41256e(0x123))/0x8)+parseInt(_0x41256e(0x11a))/0x9+parseInt(_0x41256e(0x12a))/0xa;if(_0x5ee77e===_0x5f49c8)break;else _0x1418f1['push'](_0x1418f1['shift']());}catch(_0x5e5ace){_0x1418f1['push'](_0x1418f1['shift']());}}}(_0x5ee0,0x44f42));import{ContextPlugin as _0xa64bc8}from'ckeditor5/src/core.js';import{Collection as _0xc24e2e,CKEditorError as _0x2fbe65}from'ckeditor5/src/utils.js';function _0x5ee0(){const _0x499933=['21693ZDArOP','mySessionId','stopListening','remove','clear','defineMe','channelConnectedUsers','isMe','get','1872846XdkpiX','unregister','plugins','530280ehAiUs','user','register','role','sessionAdd:','delete','values','268020yXssEK','5728NQaWkB','552arldfP','listenTo','assign','init','_handleSessionRemove','addUser','connection','9850760lNknhu','has','getUserBySessionId','1VYiCOz','add','sessions-register-already-registered','_users','563208ZOUdlw','forEach','_registeredSessions','pluginName','requires','Sessions','context','state','change:state','sessions-unregister-not-exist','getUserRole','sessionId','connected','set','getUser','getUserSessions','channelSessions','isOfficialPlugin','_uniqueUsersCount','size','allConnectedUsers','fire','635musBHY','_handleSessionAdd','_createUser','orderNumber','isPremiumPlugin'];_0x5ee0=function(){return _0x499933;};return _0x5ee0();}import _0x20b0ce from'./websocketgateway.js';import{Users as _0x1dcfd0}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0xa64bc8{[_0x3ef339(0x103)];[_0x3ef339(0x114)];[_0x3ef339(0x107)];[_0x3ef339(0xf5)];[_0x3ef339(0x105)];[_0x3ef339(0xf2)];static get[_0x3ef339(0xf6)](){const _0x1ec439=_0x3ef339;return _0x1ec439(0xf8);}static get[_0x3ef339(0x104)](){return!0x0;}static get[_0x3ef339(0x10d)](){return!0x0;}static get[_0x3ef339(0xf7)](){return[_0x20b0ce,_0x1dcfd0];}constructor(_0x2e5de0){const _0x3a2e18=_0x3ef339;super(_0x2e5de0),this[_0x3a2e18(0x103)]=new Map(),this[_0x3a2e18(0x114)]=new Map(),this[_0x3a2e18(0x107)]=new _0xc24e2e(),this[_0x3a2e18(0xf5)]=new Map(),this[_0x3a2e18(0x105)]=0x0,this[_0x3a2e18(0xf2)]=this[_0x3a2e18(0xf9)][_0x3a2e18(0x119)][_0x3a2e18(0x116)](_0x1dcfd0);}[_0x3ef339(0x126)](){const _0x4084d1=_0x3ef339,_0x99b9dc=this[_0x4084d1(0xf9)][_0x4084d1(0x119)][_0x4084d1(0x116)](_0x20b0ce);this[_0x4084d1(0x124)](_0x99b9dc,_0x4084d1(0xfb),(_0x53daa3,_0x88dc17,_0x200d44)=>{const _0xca8204=_0x4084d1;if(_0xca8204(0xff)!==_0x200d44)this[_0xca8204(0x103)][_0xca8204(0xf4)](_0x3f6ff4=>_0x3f6ff4[_0xca8204(0x112)]()),this[_0xca8204(0x114)][_0xca8204(0xf4)](_0x160d25=>_0x160d25[_0xca8204(0x112)]()),this[_0xca8204(0x107)][_0xca8204(0x112)]();else{for(const [_0x14f7c8,_0x86a59d]of this[_0xca8204(0xf5)])for(const _0x167f85 of _0x86a59d)this[_0xca8204(0x10a)](_0x14f7c8,_0x167f85);}}),this[_0x4084d1(0x10b)](_0x99b9dc[_0x4084d1(0x129)]['me'],!0x0);}[_0x3ef339(0x11c)](_0x692fa0,_0x414939){const _0x4c4f4=_0x3ef339;if(this[_0x4c4f4(0xf5)][_0x4c4f4(0x12b)](_0x692fa0))throw new _0x2fbe65(_0x4c4f4(0xf1),null,{'channelId':_0x692fa0});this[_0x4c4f4(0xf5)][_0x4c4f4(0x100)](_0x692fa0,_0x414939),this[_0x4c4f4(0x103)][_0x4c4f4(0x100)](_0x692fa0,new _0xc24e2e()),this[_0x4c4f4(0x114)][_0x4c4f4(0x100)](_0x692fa0,new _0xc24e2e()),this[_0x4c4f4(0x124)](_0x414939,_0x4c4f4(0x12e),(_0x55918c,_0x48141b)=>this[_0x4c4f4(0x10a)](_0x692fa0,_0x48141b)),this[_0x4c4f4(0x124)](_0x414939,_0x4c4f4(0x111),(_0x13d785,_0x576c1b)=>this[_0x4c4f4(0x127)](_0x692fa0,_0x576c1b));for(const _0x10da2d of _0x414939)this[_0x4c4f4(0x10a)](_0x692fa0,_0x10da2d);}[_0x3ef339(0x118)](_0x23b3df){const _0x33d1ae=_0x3ef339;if(!this[_0x33d1ae(0xf5)][_0x33d1ae(0x12b)](_0x23b3df))throw new _0x2fbe65(_0x33d1ae(0xfc),null,{'channelId':_0x23b3df});const _0x1199a5=this[_0x33d1ae(0xf5)][_0x33d1ae(0x116)](_0x23b3df);this[_0x33d1ae(0x110)](_0x1199a5);for(const _0xd47895 of _0x1199a5)_0x33d1ae(0xff)===this[_0x33d1ae(0xf9)][_0x33d1ae(0x119)][_0x33d1ae(0x116)](_0x20b0ce)[_0x33d1ae(0xfa)]&&this[_0x33d1ae(0x127)](_0x23b3df,_0xd47895);this[_0x33d1ae(0xf5)][_0x33d1ae(0x11f)](_0x23b3df),this[_0x33d1ae(0x103)][_0x33d1ae(0x11f)](_0x23b3df),this[_0x33d1ae(0x114)][_0x33d1ae(0x11f)](_0x23b3df);}get[_0x3ef339(0x10f)](){const _0x191053=_0x3ef339;return this[_0x191053(0xf9)][_0x191053(0x119)][_0x191053(0x116)](_0x20b0ce)[_0x191053(0x129)][_0x191053(0xfe)];}[_0x3ef339(0x12c)](_0x4ebe08){const _0x5abc4e=_0x3ef339;for(const _0xc77443 of this[_0x5abc4e(0x103)][_0x5abc4e(0x120)]())for(const _0xcd1c12 of _0xc77443)if(_0xcd1c12['id']===_0x4ebe08)return _0xcd1c12[_0x5abc4e(0x11b)];}[_0x3ef339(0x102)](_0x17794a,_0x2176fc){const _0x2a6cfa=_0x3ef339,_0x4f3d31=_0x2176fc?[this[_0x2a6cfa(0x103)][_0x2a6cfa(0x116)](_0x2176fc)]:this[_0x2a6cfa(0x103)][_0x2a6cfa(0x120)](),_0x4d25a9=new Set();for(const _0x4c0065 of _0x4f3d31)for(const _0x1bd28c of _0x4c0065)_0x1bd28c[_0x2a6cfa(0x11b)]['id']===_0x17794a['id']&&_0x4d25a9[_0x2a6cfa(0x12e)](_0x1bd28c['id']);return _0x4d25a9;}[_0x3ef339(0xfd)](_0x17f5e4){const _0x55e65b=_0x3ef339;for(const _0x2de5cf of this[_0x55e65b(0x103)][_0x55e65b(0x120)]())for(const _0x4d744c of _0x2de5cf)if(_0x4d744c[_0x55e65b(0x11b)]===_0x17f5e4)return _0x4d744c[_0x55e65b(0x11d)];}[_0x3ef339(0x10a)](_0x319914,_0x213ca4){const _0x5e811b=_0x3ef339;if(_0x5e811b(0xff)!==this[_0x5e811b(0xf9)][_0x5e811b(0x119)][_0x5e811b(0x116)](_0x20b0ce)[_0x5e811b(0xfa)])return;const _0x1effe1=_0x213ca4[_0x5e811b(0x11b)],_0x153cf1=this[_0x5e811b(0xf2)][_0x5e811b(0x101)](_0x1effe1['id'])||this[_0x5e811b(0x10b)](_0x1effe1),_0x4d28c7=Object[_0x5e811b(0x125)]({},_0x213ca4,{'user':_0x153cf1});this[_0x5e811b(0x103)][_0x5e811b(0x116)](_0x319914)[_0x5e811b(0x12e)](_0x4d28c7);const _0x1900f0=this[_0x5e811b(0x114)][_0x5e811b(0x116)](_0x319914);_0x1900f0[_0x5e811b(0x12b)](_0x153cf1['id'])||_0x1900f0[_0x5e811b(0x12e)](_0x153cf1),this[_0x5e811b(0x107)][_0x5e811b(0x12b)](_0x153cf1['id'])||this[_0x5e811b(0x107)][_0x5e811b(0x12e)](_0x153cf1,_0x153cf1[_0x5e811b(0x115)]?0x0:void 0x0),this[_0x5e811b(0x108)](_0x5e811b(0x11e)+_0x319914,{'channelId':_0x319914,'session':_0x4d28c7});}[_0x3ef339(0x127)](_0x572a81,_0x32a8da){const _0x21c5e2=_0x3ef339;if(_0x21c5e2(0xff)!==this[_0x21c5e2(0xf9)][_0x21c5e2(0x119)][_0x21c5e2(0x116)](_0x20b0ce)[_0x21c5e2(0xfa)])return;const _0x5d226c=this[_0x21c5e2(0x114)][_0x21c5e2(0x116)](_0x572a81),_0x5cc00d=_0x32a8da[_0x21c5e2(0x11b)];_0x5cc00d['id']&&(this[_0x21c5e2(0x103)][_0x21c5e2(0x116)](_0x572a81)[_0x21c5e2(0x111)](_0x32a8da['id']),_0x5d226c[_0x21c5e2(0x12b)](_0x5cc00d['id'])&&!this[_0x21c5e2(0x102)](_0x5cc00d,_0x572a81)[_0x21c5e2(0x106)]&&_0x5d226c[_0x21c5e2(0x111)](_0x5cc00d['id']),this[_0x21c5e2(0x107)][_0x21c5e2(0x116)](_0x5cc00d['id'])&&!this[_0x21c5e2(0x102)](_0x5cc00d)[_0x21c5e2(0x106)]&&this[_0x21c5e2(0x107)][_0x21c5e2(0x111)](_0x5cc00d['id']));}[_0x3ef339(0x10b)](_0x1a2e9c,_0x47c041){const _0x26a30a=_0x3ef339,_0x2c16df=this[_0x26a30a(0xf2)][_0x26a30a(0x128)](_0x1a2e9c);return _0x47c041&&this[_0x26a30a(0xf2)][_0x26a30a(0x113)](_0x1a2e9c['id']),_0x2c16df[_0x26a30a(0x10c)]=this[_0x26a30a(0x105)]++,_0x2c16df;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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}));}
|
|
23
|
+
const _0x21a58e=_0x3e8d;(function(_0x1a2a9f,_0x190aa3){const _0x408abe=_0x3e8d,_0xd96a13=_0x1a2a9f();while(!![]){try{const _0x300e65=-parseInt(_0x408abe(0x8c))/0x1*(parseInt(_0x408abe(0xb5))/0x2)+parseInt(_0x408abe(0x85))/0x3*(parseInt(_0x408abe(0xbd))/0x4)+-parseInt(_0x408abe(0xbc))/0x5*(-parseInt(_0x408abe(0xcb))/0x6)+parseInt(_0x408abe(0xca))/0x7*(-parseInt(_0x408abe(0x9b))/0x8)+parseInt(_0x408abe(0x96))/0x9+parseInt(_0x408abe(0x89))/0xa*(parseInt(_0x408abe(0xe9))/0xb)+-parseInt(_0x408abe(0xfe))/0xc;if(_0x300e65===_0x190aa3)break;else _0xd96a13['push'](_0xd96a13['shift']());}catch(_0x288fb7){_0xd96a13['push'](_0xd96a13['shift']());}}}(_0x4adc,0x61fb7));import{Plugin as _0x521a7a}from'ckeditor5/src/core.js';import{global as _0x22b567,DomEmitterMixin as _0x173bd0}from'ckeditor5/src/utils.js';function _0x4adc(){const _0x185f3c=['2467644enkBhf','marker','isOfficialPlugin','innerHTML','isObject','mouseleave','user:range:','keydown','setAttribute','hasDomSelection','oldRange','editing','getPositions','3744692fniUrP','30VtpYLk','false','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','get','createUIElement','checkChild','isDocumentOperation','_domEmitter','element','addMarker','createElement','data-session-id','clear','tableCell','span','delete','type','change','markerNameToElements','getStart','afterInit','set','isPremiumPlugin','getNearestSelectionRange','classList','markers','reconvertMarker','getAttribute','removeMarker','nodeAfter','8107gdaupr','_createdBatches','ck-user__marker_hovered','change:range','document','userPositionMarker','render','UserMarkers','markerToElement','markerToHighlight','commands','editingDowncast','end','undo','pluginName','user:position','split','selection','getCustomProperty','getRange','addEventListener','2616bvpuxF','removeClass','for','destroy','contenteditable','remove','add','applyOperation','getUserBySessionId','ck-user__selection','setCustomProperty','markerName','ck-user__marker-tooltip','listenTo','editor','detach','textContent','schema','mapper','getMarkerClass','3kYXltp','startsWith','createUserMarkerOperations','$graveyard','1730ycufjH','stopListening','conversion','2xYfSdu','ck-user__marker\x20','hasContent','model','isCollapsed','requires','isSimilar','updateMarker','newRange','outerHTML','6854778euzgAQ','user:position:','rootName','getFirstRange','getContainedElement','8NiWnif','parent','createRange','highest','markerRange','init','spellcheck','mouseenter','user:range','deletionPosition','toRange','view','isInline','start','plugins','isLimit','toDomElement','name','$text','batch','orderNumber','root','update:user:range','enqueueChange','user:','fromRange','782330ZuYGeD','mySessionId','getSelectionClass','color','size','Escape','has','212785gdFtSj'];_0x4adc=function(){return _0x185f3c;};return _0x4adc();}import _0x147751 from'./sessions.js';function _0x3e8d(_0x35e96f,_0xbf0dfc){const _0x4adc3d=_0x4adc();return _0x3e8d=function(_0x3e8de4,_0x30e444){_0x3e8de4=_0x3e8de4-0x82;let _0x5aa0f3=_0x4adc3d[_0x3e8de4];return _0x5aa0f3;},_0x3e8d(_0x35e96f,_0xbf0dfc);}import{LiveRange as _0x467abe}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x521a7a{[_0x21a58e(0xd2)]=new(_0x173bd0())();static get[_0x21a58e(0x91)](){return[_0x147751];}static get[_0x21a58e(0xf7)](){const _0x532f7b=_0x21a58e;return _0x532f7b(0xf0);}static get[_0x21a58e(0xbf)](){return!0x0;}static get[_0x21a58e(0xe1)](){return!0x0;}[_0x21a58e(0xa0)](){const _0x184418=_0x21a58e,_0x127a92=this[_0x184418(0x10c)],_0x13b214=_0x127a92[_0x184418(0xa9)][_0x184418(0xce)](_0x147751);_0x127a92[_0x184418(0x8b)][_0x184418(0x100)](_0x184418(0xf4))[_0x184418(0xf1)]({'model':_0x184418(0xf8),'view':(_0x395164,{writer:_0x53b6e4})=>function(_0x2d33b6,_0x598d40,_0x395faa,_0x4febd8){const _0x1966aa=_0x184418,_0x32a421=_0x2d33b6[_0x1966aa(0x109)][_0x1966aa(0xf9)](':')[0x2],_0x309671=_0x395faa[_0x1966aa(0x106)](_0x32a421);if(!_0x309671||_0x32a421===_0x395faa[_0x1966aa(0xb6)])return;if(!_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x82)][_0x1966aa(0xd0)](_0x2d33b6[_0x1966aa(0x9f)][_0x1966aa(0xa8)],_0x1966aa(0xad)))return;const _0x510cea={'class':_0x1966aa(0x8d)+_0x309671[_0x1966aa(0xb8)][_0x1966aa(0x84)](),'data-name':_0x309671[_0x1966aa(0xac)],'data-session-id':_0x32a421},_0x52ffc9=_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0xe4)][_0x1966aa(0xce)](_0x2d33b6[_0x1966aa(0x109)]),_0x4e08ef=_0x52ffc9[_0x1966aa(0xde)](),_0x757d32=_0x4e08ef[_0x1966aa(0xe8)],_0x1611a6=_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x82)];if(_0x757d32&&_0x1611a6[_0x1966aa(0xc1)](_0x757d32)&&_0x1611a6[_0x1966aa(0xa7)](_0x757d32)&&!_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0xe4)][_0x1966aa(0xce)](_0x1966aa(0xc3)+_0x32a421)[_0x1966aa(0xfc)]()[_0x1966aa(0x90)])return;const _0xde26e6=_0x4e08ef[_0x1966aa(0x9c)];return _0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x82)][_0x1966aa(0xaa)](_0xde26e6)&&!_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x8e)](_0xde26e6)&&(_0x510cea[_0x1966aa(0x102)]=!0x1),function(_0x2a6f3a,_0x1e4ba7,_0x5ed652){const _0x560879=_0x1966aa,_0xb198c6=_0x2a6f3a[_0x560879(0xcf)](_0x560879(0xd9),_0x1e4ba7);return _0x2a6f3a[_0x560879(0x108)](_0x560879(0xee),!0x0,_0xb198c6),_0xb198c6[_0x560879(0xef)]=function(_0x1e1b2e){const _0x289b32=_0x560879,_0x46f4e3=this[_0x289b32(0xab)](_0x1e1b2e),_0x1ec01f=document[_0x289b32(0xd5)](_0x289b32(0xd9));return _0x1ec01f[_0x289b32(0xe3)][_0x289b32(0x104)](_0x289b32(0x10a)),_0x1ec01f[_0x289b32(0xc5)](_0x289b32(0x102),_0x289b32(0xcc)),_0x1ec01f[_0x289b32(0xc5)](_0x289b32(0xa1),_0x289b32(0xcc)),_0x1ec01f[_0x289b32(0x10e)]=_0x5ed652[_0x289b32(0xac)],_0x46f4e3[_0x289b32(0xc0)]=_0x289b32(0xcd)+_0x1ec01f[_0x289b32(0x95)]+'',_0x46f4e3[_0x289b32(0xfd)](_0x289b32(0xa2),()=>{const _0xad55d8=_0x289b32;_0x46f4e3[_0xad55d8(0xe3)][_0xad55d8(0x104)](_0xad55d8(0xeb));}),_0x46f4e3[_0x289b32(0xfd)](_0x289b32(0xc2),()=>{const _0xa559c2=_0x289b32;_0x46f4e3[_0xa559c2(0xe3)][_0xa559c2(0x103)](_0xa559c2(0xeb));}),_0x46f4e3;},_0xb198c6[_0x560879(0x92)]=function(_0x3df57b){const _0x4ee019=_0x560879;return!(!this[_0x4ee019(0xfb)](_0x4ee019(0xee))||!_0x3df57b[_0x4ee019(0xfb)](_0x4ee019(0xee))||this[_0x4ee019(0xe6)](_0x4ee019(0xd6))!=_0x3df57b[_0x4ee019(0xe6)](_0x4ee019(0xd6)));},_0xb198c6;}(_0x598d40,_0x510cea,_0x309671);}(_0x395164,_0x53b6e4,_0x13b214,_0x127a92)}),_0x127a92[_0x184418(0x8b)][_0x184418(0x100)](_0x184418(0xf4))[_0x184418(0xf2)]({'model':_0x184418(0xa3),'view':_0x30ffb4=>function(_0xa72c9a,_0x37a2a6){const _0x13a245=_0x184418,_0x1e02f2=_0xa72c9a[_0x13a245(0x109)][_0x13a245(0xf9)](':')[0x2];if(_0x1e02f2===_0x37a2a6[_0x13a245(0xb6)])return null;const _0x3942ae=_0x37a2a6[_0x13a245(0x106)](_0x1e02f2);if(!_0x3942ae)return{'id':_0x1e02f2,'classes':[]};return{'id':_0x1e02f2,'classes':[_0x13a245(0x107),_0x3942ae[_0x13a245(0xb8)][_0x13a245(0xb7)]()],'attributes':{'data-session-id':_0x1e02f2},'priority':0x7d0+_0x3942ae[_0x13a245(0xaf)]};}(_0x30ffb4,_0x13b214)}),function(_0x238fc0){const _0x269a0f=_0x184418,_0x3a423c=_0x238fc0[_0x269a0f(0x8f)],_0x5b86a6=new Map(),_0x48dd6f=_0x238fc0[_0x269a0f(0xa9)][_0x269a0f(0xce)](_0x147751);_0x3a423c[_0x269a0f(0xe4)]['on'](_0x269a0f(0xb1),(_0x513475,_0x52ba75,_0x57afe0,_0x5e53e8)=>{const _0x2a7070=_0x269a0f;if(!_0x5e53e8&&_0x5b86a6[_0x2a7070(0xce)](_0x52ba75[_0x2a7070(0xac)]))return _0x5b86a6[_0x2a7070(0xce)](_0x52ba75[_0x2a7070(0xac)])[_0x2a7070(0x10d)](),void _0x5b86a6[_0x2a7070(0xda)](_0x52ba75[_0x2a7070(0xac)]);const _0x5b71fc=_0x52ba75[_0x2a7070(0xac)][_0x2a7070(0xf9)](':')[0x2];if(_0x5b71fc===_0x48dd6f[_0x2a7070(0xb6)])return;const _0x1443a0=_0x2a7070(0x97)+_0x5b71fc;_0x3a423c[_0x2a7070(0xe4)][_0x2a7070(0xbb)](_0x1443a0)&&_0x238fc0[_0x2a7070(0xc8)][_0x2a7070(0xe5)](_0x1443a0),_0x52ba75['on'](_0x2a7070(0xec),(_0x2b1b33,_0xcff633,_0x20c614)=>{const _0x1bffad=_0x2a7070;if(_0x1bffad(0x88)!=_0xcff633[_0x1bffad(0xb0)][_0x1bffad(0x98)]&&_0x1bffad(0x88)==_0x52ba75[_0x1bffad(0xfc)]()[_0x1bffad(0xb0)][_0x1bffad(0x98)]&&!_0x5b86a6[_0x1bffad(0xbb)](_0x52ba75[_0x1bffad(0xac)])){const _0x509572=_0x3a423c[_0x1bffad(0x82)][_0x1bffad(0xe2)](_0x20c614[_0x1bffad(0xa4)]);if(_0x509572){const _0x10861a=_0x467abe[_0x1bffad(0xb4)](_0x509572);_0x5b86a6[_0x1bffad(0xe0)](_0x52ba75[_0x1bffad(0xac)],_0x10861a),_0x10861a['on'](_0x1bffad(0xec),(_0x310e2f,_0xc0cfa1,_0x5dc076)=>{const _0x48c3c1=_0x1bffad;if(_0x48c3c1(0x88)==_0x10861a[_0x48c3c1(0xb0)][_0x48c3c1(0x98)]){const _0x4c0b80=_0x3a423c[_0x48c3c1(0x82)][_0x48c3c1(0xe2)](_0x5dc076[_0x48c3c1(0xa4)]);_0x4c0b80?(_0x10861a[_0x48c3c1(0xa8)]=_0x4c0b80[_0x48c3c1(0xa8)],_0x10861a[_0x48c3c1(0xf5)]=_0x4c0b80[_0x48c3c1(0xf5)]):(_0x5b86a6[_0x48c3c1(0xda)](_0x52ba75[_0x48c3c1(0xac)]),_0x10861a[_0x48c3c1(0x10d)]());}});}}});}),_0x3a423c[_0x269a0f(0xed)]['on'](_0x269a0f(0xdc),()=>{const _0x5b8b96=_0x269a0f;_0x5b86a6[_0x5b8b96(0xb9)]>0x0&&_0x3a423c[_0x5b8b96(0xb2)]({'isUndoable':!0x1},_0x49c5cf=>{const _0x55c293=_0x5b8b96;for(const [_0x5ae96c,_0x32d1a1]of _0x5b86a6)_0x55c293(0x88)==_0x3a423c[_0x55c293(0xe4)][_0x55c293(0xce)](_0x5ae96c)[_0x55c293(0xfc)]()[_0x55c293(0xb0)][_0x55c293(0x98)]&&(te(_0x5ae96c[_0x55c293(0xf9)](':')[0x2],_0x32d1a1[_0x55c293(0xa5)](),_0x3a423c,_0x49c5cf),_0x32d1a1[_0x55c293(0x10d)]());_0x5b86a6[_0x55c293(0xd7)]();});});}(_0x127a92),this[_0x184418(0xd2)][_0x184418(0x10b)](_0x22b567[_0x184418(0xed)],_0x184418(0xc4),(_0xbbd3ba,{key:_0x2d32a1})=>{const _0x43c66b=_0x184418;_0x43c66b(0xba)===_0x2d32a1&&function(_0x3808bb){const _0x80b2de=_0x43c66b;_0x3808bb[_0x80b2de(0xc8)][_0x80b2de(0xa6)][_0x80b2de(0xdc)](_0x4b6c7b=>{const _0x27fcfe=_0x80b2de;for(const _0x57cc44 of _0x3808bb[_0x27fcfe(0x8f)][_0x27fcfe(0xe4)]){if(!_0x57cc44[_0x27fcfe(0xac)][_0x27fcfe(0x86)](_0x27fcfe(0xf8)))continue;const _0x176b38=_0x3808bb[_0x27fcfe(0xc8)][_0x27fcfe(0x83)][_0x27fcfe(0xdd)](_0x57cc44[_0x27fcfe(0xac)]);if(_0x176b38){for(const _0x26758e of _0x176b38)_0x4b6c7b[_0x27fcfe(0xff)](_0x27fcfe(0xeb),_0x26758e);}}});}(_0x127a92);},{'useCapture':!0x0});}[_0x21a58e(0xdf)](){const _0x40cdfb=_0x21a58e,_0x220e79=this[_0x40cdfb(0x10c)],_0x25d8fc=_0x220e79[_0x40cdfb(0xf3)][_0x40cdfb(0xce)](_0x40cdfb(0xf6));_0x25d8fc&&_0x220e79[_0x40cdfb(0x8f)]['on'](_0x40cdfb(0x105),(_0x2e5da7,_0x21de6d)=>{const _0x7747ea=_0x40cdfb,_0x2ea918=_0x21de6d[0x0];if(!_0x2ea918[_0x7747ea(0xd1)])return;if(_0x7747ea(0xbe)!=_0x2ea918[_0x7747ea(0xdb)]||!_0x2ea918[_0x7747ea(0xac)][_0x7747ea(0x86)](_0x7747ea(0xb3)))return;const _0x358979=_0x2ea918[_0x7747ea(0xae)];_0x25d8fc[_0x7747ea(0xea)][_0x7747ea(0xbb)](_0x358979)&&(_0x2ea918[_0x7747ea(0x94)]=_0x2ea918[_0x7747ea(0xc7)]?_0x220e79[_0x7747ea(0x8f)][_0x7747ea(0x9d)](_0x2ea918[_0x7747ea(0xc7)][_0x7747ea(0xa8)],_0x2ea918[_0x7747ea(0xc7)][_0x7747ea(0xf5)]):null);},{'priority':_0x40cdfb(0x9e)});}[_0x21a58e(0x101)](){const _0x253c76=_0x21a58e;return this[_0x253c76(0xd2)][_0x253c76(0x8a)](),super[_0x253c76(0x101)]();}[_0x21a58e(0x87)](){const _0x152ccf=_0x21a58e,_0x12ea71=this[_0x152ccf(0x10c)],_0x40e8b7=_0x12ea71[_0x152ccf(0x8f)][_0x152ccf(0xed)],_0x3c7f00=_0x12ea71[_0x152ccf(0xa9)][_0x152ccf(0xce)](_0x147751);_0x12ea71[_0x152ccf(0x8f)][_0x152ccf(0xb2)]({'isUndoable':!0x1},_0x8b5709=>{const _0x4c2f02=_0x152ccf,_0x352dc9=_0x4c2f02(0xc3)+_0x3c7f00[_0x4c2f02(0xb6)],_0x431c93=_0x4c2f02(0x97)+_0x3c7f00[_0x4c2f02(0xb6)],_0x5a0492=_0x12ea71[_0x4c2f02(0x8f)][_0x4c2f02(0xe4)][_0x4c2f02(0xbb)](_0x352dc9);_0x12ea71[_0x4c2f02(0xc8)][_0x4c2f02(0xa6)][_0x4c2f02(0xc6)]?te(_0x3c7f00[_0x4c2f02(0xb6)],_0x40e8b7[_0x4c2f02(0xfa)][_0x4c2f02(0x99)](),_0x12ea71[_0x4c2f02(0x8f)],_0x8b5709):_0x5a0492&&(_0x8b5709[_0x4c2f02(0xe7)](_0x352dc9),_0x8b5709[_0x4c2f02(0xe7)](_0x431c93));});}}function te(_0x40f249,_0x3fb706,_0x440600,_0x1fb0ce){const _0x3218ba=_0x21a58e,_0x1532ad=_0x3218ba(0xc3)+_0x40f249,_0x174eff=_0x3218ba(0x97)+_0x40f249,_0x263ac4=_0x3fb706[_0x3218ba(0x9a)]();let _0x434d9c=_0x3fb706[_0x3218ba(0xa8)];_0x263ac4&&_0x263ac4['is'](_0x3218ba(0xd3),_0x3218ba(0xd8))&&(_0x434d9c=function(_0x28471a,_0x5b2427){const _0x29d334=_0x3218ba;for(const _0x510689 of _0x28471a[_0x29d334(0xc9)]())if(_0x5b2427[_0x29d334(0x82)][_0x29d334(0xd0)](_0x510689,_0x29d334(0xad)))return _0x510689;}(_0x3fb706,_0x440600),_0x3fb706=_0x1fb0ce[_0x3218ba(0x9d)](_0x434d9c));const _0x1edc07=_0x1fb0ce[_0x3218ba(0x9d)](_0x434d9c);_0x440600[_0x3218ba(0xe4)][_0x3218ba(0xbb)](_0x1532ad)?(_0x1fb0ce[_0x3218ba(0x93)](_0x1532ad,{'range':_0x3fb706}),_0x1fb0ce[_0x3218ba(0x93)](_0x174eff,{'range':_0x1edc07})):(_0x1fb0ce[_0x3218ba(0xd4)](_0x1532ad,{'range':_0x3fb706,'usingOperation':!0x0}),_0x1fb0ce[_0x3218ba(0xd4)](_0x174eff,{'range':_0x1edc07,'usingOperation':!0x0}));}
|