@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.8 → 46.0.0
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 +2 -2
- 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
|
+
function _0x5b3d(){const _0x3ea202=['relatedTarget','342642Mgpkno','.ck-presence-list__dropdown-list','element','keystrokes','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','aria-expanded','isExpanded','render','listenTo','querySelector','22185450MvofRM','161016OCQgrk','3725785qPwSpX','4519716aVsrCX','focus','removeAttribute','fire','presencelist:show','list','contains','.ck-balloon-panel_with-arrow','set','change:hasPopup','presencelist:hide','4rdGDvM','70oJHVbw','setAttribute','createCollection','bindTemplate','div','items','ck-presence-list__list','90DoVXLL','hasPopup','6673226ReubEF','Connected\x20users\x20list','36756TkeoHU','setTemplate'];_0x5b3d=function(){return _0x3ea202;};return _0x5b3d();}function _0x3833(_0x2cac2a,_0x3f89f2){const _0x5b3d94=_0x5b3d();return _0x3833=function(_0x3833ce,_0x3ac71a){_0x3833ce=_0x3833ce-0x167;let _0x26248e=_0x5b3d94[_0x3833ce];return _0x26248e;},_0x3833(_0x2cac2a,_0x3f89f2);}const _0x528e89=_0x3833;(function(_0x5be0c5,_0x454d60){const _0x3dccf7=_0x3833,_0x3995aa=_0x5be0c5();while(!![]){try{const _0x4865a3=-parseInt(_0x3dccf7(0x174))/0x1+-parseInt(_0x3dccf7(0x18d))/0x2*(-parseInt(_0x3dccf7(0x171))/0x3)+-parseInt(_0x3dccf7(0x18c))/0x4*(-parseInt(_0x3dccf7(0x180))/0x5)+parseInt(_0x3dccf7(0x181))/0x6+parseInt(_0x3dccf7(0x16f))/0x7+parseInt(_0x3dccf7(0x17f))/0x8*(parseInt(_0x3dccf7(0x16d))/0x9)+-parseInt(_0x3dccf7(0x17e))/0xa;if(_0x4865a3===_0x454d60)break;else _0x3995aa['push'](_0x3995aa['shift']());}catch(_0x4eda5b){_0x3995aa['push'](_0x3995aa['shift']());}}}(_0x5b3d,0x7f1d8));import{View as _0x4c563c}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x4cdc1d}from'ckeditor5/src/utils.js';import{getTranslation as _0x8f5337}from'../../common-translations.js';export class PresenceInlineListView extends _0x4c563c{[_0x528e89(0x16b)];[_0x528e89(0x177)];constructor(_0x40a87e){const _0x2b5d5a=_0x528e89;super(_0x40a87e);const _0x3518f2=this[_0x2b5d5a(0x169)];this[_0x2b5d5a(0x16b)]=this[_0x2b5d5a(0x168)](),this[_0x2b5d5a(0x177)]=new _0x4cdc1d(),this[_0x2b5d5a(0x189)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2b5d5a(0x172)]({'tag':_0x2b5d5a(0x16a),'attributes':{'aria-haspopup':_0x3518f2['if'](_0x2b5d5a(0x16e)),'aria-expanded':_0x3518f2['to'](_0x2b5d5a(0x17a),_0x3c3701=>this[_0x2b5d5a(0x16e)]&&String(_0x3c3701)),'aria-label':_0x3518f2['to'](_0x2b5d5a(0x16e),_0x22aa48=>_0x8f5337(_0x40a87e,_0x22aa48?_0x2b5d5a(0x178):_0x2b5d5a(0x170))),'role':_0x2b5d5a(0x186),'tabindex':_0x3518f2['to'](_0x2b5d5a(0x16e),_0x4099ad=>!!_0x4099ad&&0x0),'class':['ck',_0x2b5d5a(0x16c)]},'children':this[_0x2b5d5a(0x16b)],'on':{'mouseenter':_0x3518f2['to'](()=>this[_0x2b5d5a(0x184)](_0x2b5d5a(0x185))),'mouseleave':_0x3518f2['to'](_0x45756e=>{const _0x6d97fc=_0x2b5d5a,_0x5b7cd6=_0x45756e,_0x3484e2=document[_0x6d97fc(0x17d)](_0x6d97fc(0x175)),_0x33bad6=document[_0x6d97fc(0x17d)](_0x6d97fc(0x188));_0x3484e2?.[_0x6d97fc(0x187)](_0x5b7cd6[_0x6d97fc(0x173)])||_0x33bad6?.[_0x6d97fc(0x187)](_0x5b7cd6[_0x6d97fc(0x173)])||this[_0x6d97fc(0x184)](_0x6d97fc(0x18b));})}}),this['on'](_0x2b5d5a(0x18a),(_0x3e9bdb,_0x44eb67,_0xc77ca1)=>{const _0x38aeac=_0x2b5d5a;this[_0x38aeac(0x176)]&&(_0xc77ca1?this[_0x38aeac(0x176)][_0x38aeac(0x167)](_0x38aeac(0x179),String(this[_0x38aeac(0x17a)])):this[_0x38aeac(0x176)][_0x38aeac(0x183)](_0x38aeac(0x179)));});}[_0x528e89(0x182)](){const _0x325e7a=_0x528e89;this[_0x325e7a(0x176)][_0x325e7a(0x182)]();}[_0x528e89(0x17b)](){const _0x2639f9=_0x528e89;super[_0x2639f9(0x17b)](),this[_0x2639f9(0x177)][_0x2639f9(0x17c)](this[_0x2639f9(0x176)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0xda9f(_0x514fa8,_0x53d53c){const _0x589cde=_0x589c();return _0xda9f=function(_0xda9f6,_0x2f87af){_0xda9f6=_0xda9f6-0xb0;let _0xe1c7ac=_0x589cde[_0xda9f6];return _0xe1c7ac;},_0xda9f(_0x514fa8,_0x53d53c);}const _0x5eb390=_0xda9f;(function(_0x4cf66f,_0x576aa3){const _0x56cb26=_0xda9f,_0x3b7070=_0x4cf66f();while(!![]){try{const _0x3a9cb=parseInt(_0x56cb26(0xc0))/0x1*(parseInt(_0x56cb26(0xb8))/0x2)+-parseInt(_0x56cb26(0xc7))/0x3+parseInt(_0x56cb26(0xb0))/0x4*(parseInt(_0x56cb26(0xbf))/0x5)+-parseInt(_0x56cb26(0xca))/0x6+parseInt(_0x56cb26(0xba))/0x7+parseInt(_0x56cb26(0xc5))/0x8*(parseInt(_0x56cb26(0xb5))/0x9)+-parseInt(_0x56cb26(0xb2))/0xa;if(_0x3a9cb===_0x576aa3)break;else _0x3b7070['push'](_0x3b7070['shift']());}catch(_0x3ae862){_0x3b7070['push'](_0x3b7070['shift']());}}}(_0x589c,0x6693b));import{View as _0x5d24c2}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x3cb04d}from'./presencecounterview.js';function _0x589c(){const _0x5c2882=['ck-rounded-corners','1409553wgMVJd','items','bindTemplate','2bGrRjw','first','5834563PCttBc','tooltipPosition','inlineListView','set','listenTo','844700aXygpL','609397MlUgXb','change','ck-reset','isCollapsed','hasPopup','24tMtFQN','counterView','1034784CQjADJ','setTemplate','locale','3180180nEpPbw','ck-presence-list','div','12PBnXHq','bind','11244640KHxWUg','ck-presence-list--collapsed'];_0x589c=function(){return _0x5c2882;};return _0x589c();}import{PresenceInlineListView as _0x27c31d}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x5d24c2{[_0x5eb390(0xc6)];[_0x5eb390(0xbc)];constructor(_0x28401f,_0x1fb149=0x6){const _0x1d0237=_0x5eb390;super(_0x28401f);const _0x58484c=this[_0x1d0237(0xb7)];this[_0x1d0237(0xbd)](_0x1d0237(0xc3),!0x0),this[_0x1d0237(0xc6)]=new _0x3cb04d(this[_0x1d0237(0xc9)],_0x1fb149),this[_0x1d0237(0xbc)]=new _0x27c31d(_0x28401f),this[_0x1d0237(0xbc)][_0x1d0237(0xb1)](_0x1d0237(0xc4))['to'](this,_0x1d0237(0xc3)),this[_0x1d0237(0xbe)](this[_0x1d0237(0xbc)][_0x1d0237(0xb6)],_0x1d0237(0xc1),()=>{const _0x1ce5c0=_0x1d0237;for(const _0x1c32a6 of this[_0x1ce5c0(0xbc)][_0x1ce5c0(0xb6)])_0x1c32a6[_0x1ce5c0(0xbb)]='s';this[_0x1ce5c0(0xbc)][_0x1ce5c0(0xb6)][_0x1ce5c0(0xb9)]&&(this[_0x1ce5c0(0xbc)][_0x1ce5c0(0xb6)][_0x1ce5c0(0xb9)][_0x1ce5c0(0xbb)]='se');}),this[_0x1d0237(0xc8)]({'tag':_0x1d0237(0xcc),'attributes':{'class':['ck',_0x1d0237(0xcb),_0x1d0237(0xc2),_0x1d0237(0xb4),_0x58484c['if'](_0x1d0237(0xc3),_0x1d0237(0xb3))]},'children':[this[_0x1d0237(0xbc)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0xf85876=_0x3f2f;(function(_0x3d4e4c,_0x3229a1){var _0x5b0146=_0x3f2f,_0x34470a=_0x3d4e4c();while(!![]){try{var _0x1e89d4=-parseInt(_0x5b0146(0x1c3))/0x1*(-parseInt(_0x5b0146(0x1c4))/0x2)+-parseInt(_0x5b0146(0x1cc))/0x3+parseInt(_0x5b0146(0x1ca))/0x4*(-parseInt(_0x5b0146(0x1c8))/0x5)+parseInt(_0x5b0146(0x1bf))/0x6+-parseInt(_0x5b0146(0x1c9))/0x7*(-parseInt(_0x5b0146(0x1c7))/0x8)+-parseInt(_0x5b0146(0x1c0))/0x9*(-parseInt(_0x5b0146(0x1be))/0xa)+parseInt(_0x5b0146(0x1c1))/0xb;if(_0x1e89d4===_0x3229a1)break;else _0x34470a['push'](_0x34470a['shift']());}catch(_0x2586bd){_0x34470a['push'](_0x34470a['shift']());}}}(_0x51ac,0xa4386));import{ContextPlugin as _0x3786ea}from'ckeditor5/src/core.js';import{Sessions as _0x5f4cd7}from'./realtimecollaborativeediting/sessions.js';function _0x51ac(){var _0x551e3b=['47907uyDAEk','1387023cYIbgq','requires','549247vxwsaY','2GrMyJC','isPremiumPlugin','PresenceList','1638928nfZxkI','65IGHKUU','7emzUTQ','328124HXGdLO','isOfficialPlugin','1736544IRylHp','pluginName','1790FchDIx','2909244DrJUMG'];_0x51ac=function(){return _0x551e3b;};return _0x51ac();}function _0x3f2f(_0x3e90c0,_0x486146){var _0x51ac02=_0x51ac();return _0x3f2f=function(_0x3f2fe2,_0xcb6dea){_0x3f2fe2=_0x3f2fe2-0x1be;var _0x42b713=_0x51ac02[_0x3f2fe2];return _0x42b713;},_0x3f2f(_0x3e90c0,_0x486146);}import{PresenceListUI as _0x482c80}from'./presencelist/presencelistui.js';export class PresenceList extends _0x3786ea{static get[_0xf85876(0x1c2)](){return[_0x5f4cd7,_0x482c80];}static get[_0xf85876(0x1cd)](){var _0x530b70=_0xf85876;return _0x530b70(0x1c6);}static get[_0xf85876(0x1cb)](){return!0x0;}static get[_0xf85876(0x1c5)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x5d09f2)());[_0x40cabb(0x1e1)];static get[_0x40cabb(0x1ce)](){const _0x53a62b=_0x40cabb;return[_0x164178,_0x53a62b(0x1ea),_0x3edf86,_0x13861e];}static get[_0x40cabb(0x1ac)](){const _0x499777=_0x40cabb;return _0x499777(0x1c9);}static get[_0x40cabb(0x1ed)](){return!0x0;}static get[_0x40cabb(0x1e5)](){return!0x0;}constructor(_0x2d6b32){const _0x118ed8=_0x40cabb;super(_0x2d6b32),this[_0x118ed8(0x1e1)]=new Map();}async[_0x40cabb(0x1d6)](){const _0x15c631=_0x40cabb,_0x218058=this[_0x15c631(0x1a6)],_0x3f6dbb=_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x15c631(0x1ea));if(_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x164178)[_0x15c631(0x1e3)](this),_0x3f6dbb[_0x15c631(0x1da)]={'addCommentThread':async({channelId:_0xc8321f,threadId:_0x591f67,comments:_0x5e12cf,resolvedAt:_0x13553c,resolvedBy:_0x462575,context:_0x60016a,attributes:_0x1362fa})=>{const _0x58d8e6=_0x15c631,_0x36df8f=await this[_0x58d8e6(0x1d4)](_0xc8321f)[_0x58d8e6(0x1a1)]({'commentThreadId':_0x591f67,'comments':_0x5e12cf[_0x58d8e6(0x1a5)](_0x41186e=>function(_0x578d62,_0x54f2c0,_0x30e0f4){const _0xc58010=_0x58d8e6;return{'commentThreadId':_0x30e0f4,'commentId':_0x578d62[_0xc58010(0x1e6)],'userId':_0x578d62[_0xc58010(0x1b1)],'content':_0x578d62[_0xc58010(0x1f4)],'documentId':_0x54f2c0,'createdAt':_0x578d62[_0xc58010(0x1a3)],'attributes':_0x578d62[_0xc58010(0x1ee)]||{}};}(_0x41186e,_0xc8321f,_0x591f67)),'resolvedAt':_0x13553c,'resolvedBy':_0x462575,'context':_0x60016a,'attributes':_0x1362fa})[_0x58d8e6(0x1fd)](A);return{'threadId':_0x36df8f[_0x58d8e6(0x1d3)],'comments':_0x36df8f[_0x58d8e6(0x1d0)]};},'getCommentThread':async({channelId:_0x585576,threadId:_0x430b86})=>{const _0x1ba292=_0x15c631,_0x79df8b=await this[_0x1ba292(0x1d4)](_0x585576)[_0x1ba292(0x1f7)](_0x430b86)[_0x1ba292(0x1fd)](A);return _0x79df8b[_0x1ba292(0x1f1)]?null:(await this[_0x1ba292(0x1c2)]([_0x79df8b]),{'threadId':_0x79df8b[_0x1ba292(0x1d3)],'comments':_0x79df8b[_0x1ba292(0x1d0)][_0x1ba292(0x1a5)](p),'context':_0x79df8b[_0x1ba292(0x1a6)],'resolvedAt':_0x79df8b[_0x1ba292(0x1ec)],'resolvedBy':_0x79df8b[_0x1ba292(0x1a0)],'attributes':_0x79df8b[_0x1ba292(0x1ee)]||{}});},'updateCommentThread':async({channelId:_0x4632e7,threadId:_0xde6741,context:_0x1b2919,unlinkedAt:_0x2a7fa4,attributes:_0x54c778})=>this[_0x15c631(0x1d4)](_0x4632e7)[_0x15c631(0x1e9)]({'commentThreadId':_0xde6741,'context':_0x1b2919,'attributes':_0x54c778,'unlinkedAt':_0x2a7fa4})[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'resolveCommentThread':async({channelId:_0x2c7f58,threadId:_0x31ab32})=>{const _0x410b7f=_0x15c631,_0x7dad3c=await this[_0x410b7f(0x1d4)](_0x2c7f58)[_0x410b7f(0x1bf)](_0x31ab32)[_0x410b7f(0x1fd)](v)[_0x410b7f(0x1fd)](A);return{'threadId':_0x7dad3c[_0x410b7f(0x1d3)],'resolvedAt':_0x7dad3c[_0x410b7f(0x1ec)],'resolvedBy':_0x7dad3c[_0x410b7f(0x1a0)]};},'reopenCommentThread':async({channelId:_0x43c17c,threadId:_0x326ed7})=>this[_0x15c631(0x1d4)](_0x43c17c)[_0x15c631(0x1ad)](_0x326ed7)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'removeCommentThread':({channelId:_0x54a066,threadId:_0x15ce2e})=>this[_0x15c631(0x1d4)](_0x54a066)[_0x15c631(0x1b4)](_0x15ce2e)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'addComment':({channelId:_0x4db9ff,threadId:_0x36db22,commentId:_0x45ff80,content:_0x2e7b45,attributes:_0x294379})=>this[_0x15c631(0x1d4)](_0x4db9ff)[_0x15c631(0x1c5)](_0x36db22,_0x45ff80,_0x2e7b45,_0x294379)[_0x15c631(0x1fd)](A),'updateComment':({channelId:_0x1c6e8c,threadId:_0x4203a0,commentId:_0x18b7cf,content:_0x41e7dc,attributes:_0x424d8f})=>this[_0x15c631(0x1d4)](_0x1c6e8c)[_0x15c631(0x19f)](_0x4203a0,_0x18b7cf,_0x41e7dc,_0x424d8f)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'removeComment':({channelId:_0x3d5bcc,threadId:_0x3f7d99,commentId:_0x1f47a0})=>this[_0x15c631(0x1d4)](_0x3d5bcc)[_0x15c631(0x1af)](_0x3f7d99,_0x1f47a0)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A)},_0x218058 instanceof _0x338402){const _0x12ef27=_0x218058[_0x15c631(0x1f5)][_0x15c631(0x1e2)](_0x15c631(0x1f0)),_0x504cd2=_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x3edf86);await this[_0x15c631(0x1d5)](_0x12ef27);const _0x2b7cab=await this[_0x15c631(0x1e1)][_0x15c631(0x1e2)](_0x12ef27)[_0x15c631(0x1ff)]();this[_0x15c631(0x1cd)](_0x504cd2,_0x15c631(0x1f8)+_0x12ef27,(_0xbd1491,{session:_0x6a611d})=>{const _0x53eb10=_0x15c631;_0x6a611d['id']===_0x504cd2[_0x53eb10(0x1b7)]&&(_0xbd1491[_0x53eb10(0x1d2)](),this[_0x53eb10(0x1a6)][_0x53eb10(0x1b3)][_0x53eb10(0x1e2)](_0x53eb10(0x1fa))[_0x53eb10(0x1b9)](_0x6a611d[_0x53eb10(0x1e7)],_0x12ef27));}),_0x504cd2[_0x15c631(0x1fb)](_0x12ef27,_0x2b7cab);}}async[_0x40cabb(0x1d5)](_0x5bc118){const _0x5e858c=_0x40cabb;if(this[_0x5e858c(0x1e1)][_0x5e858c(0x19e)](_0x5bc118))throw new _0x2a4f64(_0x5e858c(0x1a2),null,{'channelId':_0x5bc118});const _0x1fe016=this[_0x5e858c(0x1a6)][_0x5e858c(0x1b3)][_0x5e858c(0x1e2)](_0x5e858c(0x1ea)),_0x36d613=new s[(_0x5e858c(0x1b0))](_0x5bc118);this[_0x5e858c(0x1e1)][_0x5e858c(0x1e0)](_0x5bc118,_0x36d613),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1bd),(_0x6b3697,_0x480f3c)=>{const _0x35312b=_0x5e858c,{commentThreadId:_0x5d9b87,documentId:_0x36fa45,context:_0x23beda,attributes:_0x2d4052,resolvedAt:_0x160d5c,resolvedBy:_0x318b51,comments:_0x25c033}=_0x480f3c;_0x1fe016[_0x35312b(0x1f7)](_0x5d9b87)||_0x1fe016[_0x35312b(0x1a1)]({'threadId':_0x5d9b87,'channelId':_0x36fa45,'comments':_0x25c033?_0x25c033[_0x35312b(0x1a5)](p):[],'context':_0x23beda,'attributes':_0x2d4052,'resolvedAt':_0x160d5c,'resolvedBy':_0x318b51,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1aa),(_0x3dd98d,{commentThreadId:_0x5db90f,documentId:_0x379943,context:_0x451ef9,unlinkedAt:_0x11c01b,attributes:_0x4dad95})=>{const _0x561735=_0x5e858c;_0x1fe016[_0x561735(0x1f7)](_0x5db90f)&&_0x1fe016[_0x561735(0x1e9)]({'threadId':_0x5db90f,'channelId':_0x379943,'context':_0x451ef9,'unlinkedAt':_0x11c01b,'attributes':_0x4dad95,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1d1),(_0x2d77d6,{commentThreadId:_0x2135f5,resolvedBy:_0x4e1332,resolvedAt:_0x3f1846})=>{const _0x180b0a=_0x5e858c,_0x295d8f=_0x1fe016[_0x180b0a(0x1f7)](_0x2135f5);_0x295d8f&&_0x295d8f[_0x180b0a(0x1ba)]({'resolvedBy':_0x4e1332,'resolvedAt':_0x3f1846,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1b2),(_0x27a645,{commentThreadId:_0x70fd20})=>{const _0x59dad7=_0x5e858c,_0x3e1e26=_0x1fe016[_0x59dad7(0x1f7)](_0x70fd20);_0x3e1e26&&_0x3e1e26[_0x59dad7(0x1eb)]({'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1c7),(_0x11f8f3,{commentThreadId:_0x1834b6})=>{const _0x18be86=_0x5e858c,_0x59f9e9=_0x1fe016[_0x18be86(0x1f7)](_0x1834b6);_0x59f9e9&&_0x59f9e9[_0x18be86(0x1a4)]({'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1f6),(_0x46f6f9,_0x4f8c2b)=>{const _0x34762f=_0x5e858c,_0x586632=_0x4f8c2b[_0x34762f(0x1d3)],_0x3bfae1=_0x1fe016[_0x34762f(0x1f7)](_0x586632);_0x3bfae1&&_0x3bfae1[_0x34762f(0x1c5)]({...p(_0x4f8c2b),'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1ab),(_0x572cf7,{commentThreadId:_0x585a13,commentId:_0x3cfef7,content:_0x5c5926,attributes:_0x414f72})=>{const _0x500a72=_0x5e858c,_0x182b0c=_0x1fe016[_0x500a72(0x1f7)](_0x585a13);if(_0x182b0c){const _0x4b55a5=_0x182b0c[_0x500a72(0x1dc)](_0x3cfef7);_0x4b55a5&&_0x4b55a5[_0x500a72(0x1ca)]({'content':_0x5c5926,'attributes':_0x414f72,'isFromAdapter':!0x0});}}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1cf),(_0x2d7247,{commentThreadId:_0x24cb81,commentId:_0x307bc3})=>{const _0xd11629=_0x5e858c,_0x1fa424=_0x1fe016[_0xd11629(0x1f7)](_0x24cb81);if(_0x1fa424){const _0x2ba3eb=_0x1fa424[_0xd11629(0x1dc)](_0x307bc3);_0x2ba3eb&&_0x2ba3eb[_0xd11629(0x1a4)]({'isFromAdapter':!0x0});}}),await this[_0x5e858c(0x201)](_0x5bc118);}[_0x40cabb(0x19d)](){const _0x133dc0=_0x40cabb;if(this[_0x133dc0(0x1a6)]instanceof _0x338402){const _0x5cbef3=this[_0x133dc0(0x1a6)][_0x133dc0(0x1f5)][_0x133dc0(0x1e2)](_0x133dc0(0x1f0));this[_0x133dc0(0x1f9)](_0x5cbef3);}}[_0x40cabb(0x1f9)](_0x2ddb48){const _0x5bccf8=_0x40cabb;if(!this[_0x5bccf8(0x1e1)][_0x5bccf8(0x19e)](_0x2ddb48))throw new _0x2a4f64(_0x5bccf8(0x1a7),null,{'channelId':_0x2ddb48});this[_0x5bccf8(0x1d4)](_0x2ddb48)[_0x5bccf8(0x1ef)](),this[_0x5bccf8(0x1e1)][_0x5bccf8(0x1fe)](_0x2ddb48);}async[_0x40cabb(0x1be)](){const _0x43fcc9=_0x40cabb;for(const _0x326bf1 of this[_0x43fcc9(0x1e1)][_0x43fcc9(0x1e4)]())await this[_0x43fcc9(0x201)](_0x326bf1);if(this[_0x43fcc9(0x1a6)]instanceof _0x338402){const _0x47a574=this[_0x43fcc9(0x1a6)][_0x43fcc9(0x1f5)][_0x43fcc9(0x1e2)](_0x43fcc9(0x1f0)),_0x14b1ed=this[_0x43fcc9(0x1a6)][_0x43fcc9(0x1b3)][_0x43fcc9(0x1e2)](_0x3edf86);_0x14b1ed[_0x43fcc9(0x1fc)](_0x47a574);const _0x3f8c7d=await this[_0x43fcc9(0x1e1)][_0x43fcc9(0x1e2)](_0x47a574)[_0x43fcc9(0x1ff)]();_0x14b1ed[_0x43fcc9(0x1fb)](_0x47a574,_0x3f8c7d);}}async[_0x40cabb(0x201)](_0x1247d2){const _0x3bb187=_0x40cabb,{connection:_0x2409c9}=this[_0x3bb187(0x1a6)][_0x3bb187(0x1b3)][_0x3bb187(0x1e2)](_0x164178),_0x32efed=this[_0x3bb187(0x1a6)][_0x3bb187(0x1b3)][_0x3bb187(0x1e2)](_0x3bb187(0x1ea)),_0x56b0eb=this[_0x3bb187(0x1e1)][_0x3bb187(0x1e2)](_0x1247d2),_0x1b5ddc=await _0x56b0eb[_0x3bb187(0x1c6)](_0x2409c9);await this[_0x3bb187(0x1c2)](_0x1b5ddc);const _0xb909b1=new Set(Array[_0x3bb187(0x1d8)](_0x32efed[_0x3bb187(0x1d7)]({'channelId':_0x1247d2}),_0x588d9c=>_0x588d9c['id']));for(const _0x31c18b of _0x1b5ddc)_0x31c18b[_0x3bb187(0x1f1)]||_0xb909b1[_0x3bb187(0x1fe)](_0x31c18b[_0x3bb187(0x1d3)]);for(const _0x3d9836 of _0xb909b1)_0x32efed[_0x3bb187(0x1f7)](_0x3d9836)[_0x3bb187(0x1a4)]({'isFromAdapter':!0x0});for(const _0x3134a2 of _0x1b5ddc){let _0x15e1d6=_0x32efed[_0x3bb187(0x1f7)](_0x3134a2[_0x3bb187(0x1d3)]);const {commentThreadId:_0xeb7682,context:_0x3affc6,attributes:_0x47b1f5,resolvedBy:_0x2c252b,resolvedAt:_0x45018b,unlinkedAt:_0x206ad8,deletedAt:_0x17e735}=_0x3134a2;if(_0x17e735)continue;_0x15e1d6||(_0x15e1d6=_0x32efed[_0x3bb187(0x1a1)]({'channelId':_0x1247d2,'threadId':_0xeb7682,'context':_0x3affc6,'attributes':_0x47b1f5||{},'resolvedBy':_0x2c252b,'resolvedAt':_0x45018b,'unlinkedAt':_0x206ad8,'isFromAdapter':!0x0}));const _0x512d9c=new Set(Array[_0x3bb187(0x1d8)](_0x15e1d6[_0x3bb187(0x1d0)],_0x9f8a93=>_0x9f8a93['id']));for(const _0x4ea6f9 of _0x3134a2[_0x3bb187(0x1d0)])_0x512d9c[_0x3bb187(0x1fe)](_0x4ea6f9[_0x3bb187(0x1e6)]);for(const _0x825bb8 of _0x512d9c)_0x15e1d6[_0x3bb187(0x1dc)](_0x825bb8)[_0x3bb187(0x1a4)]({'isFromAdapter':!0x0});for(const _0x5956e4 of _0x3134a2[_0x3bb187(0x1d0)]){const _0x481298=_0x15e1d6[_0x3bb187(0x1dc)](_0x5956e4[_0x3bb187(0x1e6)]);_0x481298?_0x481298[_0x3bb187(0x1f4)]!==_0x5956e4[_0x3bb187(0x1f4)]&&_0x481298[_0x3bb187(0x1ca)]({'content':_0x5956e4[_0x3bb187(0x1f4)],'isFromAdapter':!0x0}):_0x15e1d6[_0x3bb187(0x1c5)](Object[_0x3bb187(0x1bc)](p(_0x5956e4),{'isFromAdapter':!0x0}));}}}[_0x40cabb(0x1d4)](_0x5876d8){const _0x32b236=_0x40cabb;if(!this[_0x32b236(0x1e1)][_0x32b236(0x19e)](_0x5876d8))throw new _0x2a4f64(_0x32b236(0x1d9),null,{'channelId':_0x5876d8});return this[_0x32b236(0x1e1)][_0x32b236(0x1e2)](_0x5876d8);}async[_0x40cabb(0x1c2)](_0x37c6a2){const _0x32d084=_0x40cabb,_0x13b967=this[_0x32d084(0x1a6)][_0x32d084(0x1b3)][_0x32d084(0x1e2)](_0x13861e),{connection:_0x16e7dd}=this[_0x32d084(0x1a6)][_0x32d084(0x1b3)][_0x32d084(0x1e2)](_0x164178),_0x12a593=new Set();for(const {resolvedBy:_0x38d703,comments:_0x306db4}of _0x37c6a2){_0x38d703&&!_0x13b967[_0x32d084(0x202)](_0x38d703)&&_0x12a593[_0x32d084(0x1df)](_0x38d703);for(const {userId:_0x242363}of _0x306db4)_0x13b967[_0x32d084(0x202)](_0x242363)||_0x12a593[_0x32d084(0x1df)](_0x242363);}if(0x0===_0x12a593[_0x32d084(0x1cc)])return;const _0x2ac380=await _0x3e1cd6[_0x32d084(0x1c0)](_0x16e7dd,Array[_0x32d084(0x1d8)](_0x12a593));for(const _0x56c575 of _0x2ac380)_0x13b967[_0x32d084(0x202)](_0x56c575['id'])||_0x13b967[_0x32d084(0x1c3)](_0x56c575);}}export{s as CloudServicesCommentsAdapter};async function v(_0x39991c){const _0x4756a4=_0x40cabb;if(_0x4756a4(0x1b5)!==_0x39991c[_0x4756a4(0x1c1)])throw _0x39991c;}function A(_0x476d9d){const _0x1c5611=_0x40cabb;if((_0x30186c=_0x476d9d)[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1de))||_0x30186c[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1e8))||_0x30186c[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1b6)))return new Promise(()=>{});var _0x30186c;throw _0x476d9d;}function p(_0x1fe630){const _0x201cac=_0x40cabb;return{'threadId':_0x1fe630[_0x201cac(0x1d3)],'commentId':_0x1fe630[_0x201cac(0x1e6)],'content':_0x1fe630[_0x201cac(0x1f4)],'createdAt':_0x1fe630[_0x201cac(0x1a3)],'authorId':_0x1fe630[_0x201cac(0x1a8)],'attributes':_0x1fe630[_0x201cac(0x1ee)]||{}};}function _0x6057(){const _0x51a3db=['resolvedAt','isOfficialPlugin','attributes','disconnect','collaboration.channelId','deletedAt','1508708eurNli','message','content','config','commentAdded','getCommentThread','sessionAdd:','_terminateService','Permissions','register','unregister','catch','delete','getConnectedSessions','20sjguSs','_connectService','getUser','31262BHeqio','destroy','has','updateComment','resolvedBy','addCommentThread','cloudservicescommentsadapter-connect-already-connected','createdAt','remove','map','context','cloudservicescommentsadapter-disconnect-not-exist','userId','8021651IDzjIX','commentThreadUpdated','commentUpdated','pluginName','reopenCommentThread','startsWith','removeComment','CommentsService','authorId','commentThreadReopened','plugins','removeCommentThread','404','cloud-services-internal-error:\x20Request\x20timeout.','mySessionId','1326654wNWTyq','setPermissions','resolve','17647LKtcnn','assign','commentThreadAdded','reconnect','resolveCommentThread','getMany','code','_fetchMissingUsersForThreads','addUser','990tximDF','addComment','connect','commentThreadRemoved','184nJnXnO','CloudServicesCommentsAdapter','update','5590512FWFuAu','size','listenTo','requires','commentRemoved','comments','commentThreadResolved','off','commentThreadId','_getService','_setUpService','init','getCommentThreads','from','cloudservicescommentsadapter-service-not-exist','adapter','10145hjGNph','getComment','5KRwmFr','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','add','set','_services','get','addToReconnectionStack','keys','isPremiumPlugin','commentId','permissions','cloud-services-internal-error:\x20Not\x20connected.','updateCommentThread','CommentsRepository','reopen'];_0x6057=function(){return _0x51a3db;};return _0x6057();}
|
|
23
|
+
const _0x3ef3dc=_0x2adc;function _0x2618(){const _0x5b5b71=['_setUpService','1664184bpRAfO','getUser','CommentsRepository','updateComment','14560IPaEDc','getCommentThreads','commentRemoved','getMany','code','unregister','cloudservicescommentsadapter-disconnect-not-exist','context','remove','connect','size','commentAdded','destroy','adapter','comments','register','cloud-services-internal-error:\x20Request\x20timeout.','disconnect','startsWith','CloudServicesCommentsAdapter','isPremiumPlugin','permissions','getComment','cloudservicescommentsadapter-connect-already-connected','createdAt','commentThreadAdded','listenTo','addUser','collaboration.channelId','Permissions','getConnectedSessions','addCommentThread','reopenCommentThread','commentThreadId','userId','_terminateService','removeCommentThread','resolve','cloudservicescommentsadapter-service-not-exist','attributes','_fetchMissingUsersForThreads','message','resolvedBy','_getService','mySessionId','_services','_connectService','sessionAdd:','update','updateCommentThread','cloud-services-internal-error:\x20Not\x20connected.','addToReconnectionStack','set','from','805824mavoTA','214446stPHVo','commentId','isOfficialPlugin','4944870qanAsz','reopen','add','CommentsService','deletedAt','get','assign','map','404','delete','removeComment','config','off','commentThreadRemoved','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','84IGXbuU','resolvedAt','commentThreadReopened','content','plugins','commentThreadUpdated','catch','reconnect','setPermissions','pluginName','keys','commentUpdated','init','1087184osMSeE','resolveCommentThread','commentThreadResolved','authorId','has','21APRCtg','requires','addComment','10744uShBiT','getCommentThread'];_0x2618=function(){return _0x5b5b71;};return _0x2618();}(function(_0x447cb3,_0x132cfd){const _0x227ba1=_0x2adc,_0x5951ab=_0x447cb3();while(!![]){try{const _0xae1a1=-parseInt(_0x227ba1(0xb3))/0x1+-parseInt(_0x227ba1(0xf0))/0x2+parseInt(_0x227ba1(0xf1))/0x3+parseInt(_0x227ba1(0xb6))/0x4+parseInt(_0x227ba1(0xba))/0x5*(parseInt(_0x227ba1(0x9e))/0x6)+parseInt(_0x227ba1(0xb0))/0x7*(-parseInt(_0x227ba1(0xab))/0x8)+parseInt(_0x227ba1(0xf4))/0x9;if(_0xae1a1===_0x132cfd)break;else _0x5951ab['push'](_0x5951ab['shift']());}catch(_0x4047e9){_0x5951ab['push'](_0x5951ab['shift']());}}}(_0x2618,0x3e978));import{Context as _0x5f0c1d,ContextPlugin as _0x3cdb9a}from'ckeditor5/src/core.js';function _0x2adc(_0x5a30da,_0x579d1a){const _0x2618c5=_0x2618();return _0x2adc=function(_0x2adc4e,_0x392ee9){_0x2adc4e=_0x2adc4e-0x9b;let _0x1b5022=_0x2618c5[_0x2adc4e];return _0x1b5022;},_0x2adc(_0x5a30da,_0x579d1a);}import{CKEditorError as _0x2c9401}from'ckeditor5/src/utils.js';import{Users as _0x3316c0}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x3aa10b,User as _0x464395}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x42ddff}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x4f6bee}from'../realtimecollaborativeediting/sessions.js';class s extends _0x3cdb9a{static [_0x3ef3dc(0xf7)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x3aa10b)());[_0x3ef3dc(0xe7)];static get[_0x3ef3dc(0xb1)](){const _0x452954=_0x3ef3dc;return[_0x42ddff,_0x452954(0xb8),_0x4f6bee,_0x3316c0];}static get[_0x3ef3dc(0xa7)](){const _0x1ed707=_0x3ef3dc;return _0x1ed707(0xcd);}static get[_0x3ef3dc(0xf3)](){return!0x0;}static get[_0x3ef3dc(0xce)](){return!0x0;}constructor(_0x2d1d79){const _0x5db593=_0x3ef3dc;super(_0x2d1d79),this[_0x5db593(0xe7)]=new Map();}async[_0x3ef3dc(0xaa)](){const _0x5949e2=_0x3ef3dc,_0x53e834=this[_0x5949e2(0xc1)],_0x1d589c=_0x53e834[_0x5949e2(0xa2)][_0x5949e2(0xf9)](_0x5949e2(0xb8));if(_0x53e834[_0x5949e2(0xa2)][_0x5949e2(0xf9)](_0x42ddff)[_0x5949e2(0xed)](this),_0x1d589c[_0x5949e2(0xc7)]={'addCommentThread':async({channelId:_0x18a058,threadId:_0x49e184,comments:_0x234477,resolvedAt:_0x53edcf,resolvedBy:_0x3da372,context:_0x5c4205,attributes:_0xd18c33})=>{const _0x2ae6e6=_0x5949e2,_0x49da63=await this[_0x2ae6e6(0xe5)](_0x18a058)[_0x2ae6e6(0xd9)]({'commentThreadId':_0x49e184,'comments':_0x234477[_0x2ae6e6(0xfb)](_0x4bd860=>function(_0x3ecfd0,_0x123caf,_0x448da0){const _0x5a87c9=_0x2ae6e6;return{'commentThreadId':_0x448da0,'commentId':_0x3ecfd0[_0x5a87c9(0xf2)],'userId':_0x3ecfd0[_0x5a87c9(0xae)],'content':_0x3ecfd0[_0x5a87c9(0xa1)],'documentId':_0x123caf,'createdAt':_0x3ecfd0[_0x5a87c9(0xd2)],'attributes':_0x3ecfd0[_0x5a87c9(0xe1)]||{}};}(_0x4bd860,_0x18a058,_0x49e184)),'resolvedAt':_0x53edcf,'resolvedBy':_0x3da372,'context':_0x5c4205,'attributes':_0xd18c33})[_0x2ae6e6(0xa4)](A);return{'threadId':_0x49da63[_0x2ae6e6(0xdb)],'comments':_0x49da63[_0x2ae6e6(0xc8)]};},'getCommentThread':async({channelId:_0x2d1c23,threadId:_0x2b9701})=>{const _0x10d6c9=_0x5949e2,_0x2b43e2=await this[_0x10d6c9(0xe5)](_0x2d1c23)[_0x10d6c9(0xb4)](_0x2b9701)[_0x10d6c9(0xa4)](A);return _0x2b43e2[_0x10d6c9(0xf8)]?null:(await this[_0x10d6c9(0xe2)]([_0x2b43e2]),{'threadId':_0x2b43e2[_0x10d6c9(0xdb)],'comments':_0x2b43e2[_0x10d6c9(0xc8)][_0x10d6c9(0xfb)](p),'context':_0x2b43e2[_0x10d6c9(0xc1)],'resolvedAt':_0x2b43e2[_0x10d6c9(0x9f)],'resolvedBy':_0x2b43e2[_0x10d6c9(0xe4)],'attributes':_0x2b43e2[_0x10d6c9(0xe1)]||{}});},'updateCommentThread':async({channelId:_0x587f38,threadId:_0x5a4b76,context:_0x4409e0,unlinkedAt:_0x4fd667,attributes:_0x1adacc})=>this[_0x5949e2(0xe5)](_0x587f38)[_0x5949e2(0xeb)]({'commentThreadId':_0x5a4b76,'context':_0x4409e0,'attributes':_0x1adacc,'unlinkedAt':_0x4fd667})[_0x5949e2(0xa4)](v)[_0x5949e2(0xa4)](A),'resolveCommentThread':async({channelId:_0x5cd04f,threadId:_0x200a61})=>{const _0x5009a1=_0x5949e2,_0x3b98ba=await this[_0x5009a1(0xe5)](_0x5cd04f)[_0x5009a1(0xac)](_0x200a61)[_0x5009a1(0xa4)](v)[_0x5009a1(0xa4)](A);return{'threadId':_0x3b98ba[_0x5009a1(0xdb)],'resolvedAt':_0x3b98ba[_0x5009a1(0x9f)],'resolvedBy':_0x3b98ba[_0x5009a1(0xe4)]};},'reopenCommentThread':async({channelId:_0x437998,threadId:_0x4e9a34})=>this[_0x5949e2(0xe5)](_0x437998)[_0x5949e2(0xda)](_0x4e9a34)[_0x5949e2(0xa4)](v)[_0x5949e2(0xa4)](A),'removeCommentThread':({channelId:_0x428fcd,threadId:_0x2b39bd})=>this[_0x5949e2(0xe5)](_0x428fcd)[_0x5949e2(0xde)](_0x2b39bd)[_0x5949e2(0xa4)](v)[_0x5949e2(0xa4)](A),'addComment':({channelId:_0x313546,threadId:_0x2d9b97,commentId:_0x5722d7,content:_0x3e854c,attributes:_0x3c9717})=>this[_0x5949e2(0xe5)](_0x313546)[_0x5949e2(0xb2)](_0x2d9b97,_0x5722d7,_0x3e854c,_0x3c9717)[_0x5949e2(0xa4)](A),'updateComment':({channelId:_0x562c41,threadId:_0xc0650f,commentId:_0xbafeb8,content:_0x1d7bc4,attributes:_0xf23ae9})=>this[_0x5949e2(0xe5)](_0x562c41)[_0x5949e2(0xb9)](_0xc0650f,_0xbafeb8,_0x1d7bc4,_0xf23ae9)[_0x5949e2(0xa4)](v)[_0x5949e2(0xa4)](A),'removeComment':({channelId:_0x2427d8,threadId:_0x57ebe9,commentId:_0x578fa2})=>this[_0x5949e2(0xe5)](_0x2427d8)[_0x5949e2(0xfe)](_0x57ebe9,_0x578fa2)[_0x5949e2(0xa4)](v)[_0x5949e2(0xa4)](A)},_0x53e834 instanceof _0x5f0c1d){const _0x5a61e6=_0x53e834[_0x5949e2(0xff)][_0x5949e2(0xf9)](_0x5949e2(0xd6)),_0x49245c=_0x53e834[_0x5949e2(0xa2)][_0x5949e2(0xf9)](_0x4f6bee);await this[_0x5949e2(0xb5)](_0x5a61e6);const _0x1b3af1=await this[_0x5949e2(0xe7)][_0x5949e2(0xf9)](_0x5a61e6)[_0x5949e2(0xd8)]();this[_0x5949e2(0xd4)](_0x49245c,_0x5949e2(0xe9)+_0x5a61e6,(_0xc49efb,{session:_0x45096b})=>{const _0x2bac54=_0x5949e2;_0x45096b['id']===_0x49245c[_0x2bac54(0xe6)]&&(_0xc49efb[_0x2bac54(0x9b)](),this[_0x2bac54(0xc1)][_0x2bac54(0xa2)][_0x2bac54(0xf9)](_0x2bac54(0xd7))[_0x2bac54(0xa6)](_0x45096b[_0x2bac54(0xcf)],_0x5a61e6));}),_0x49245c[_0x5949e2(0xc9)](_0x5a61e6,_0x1b3af1);}}async[_0x3ef3dc(0xb5)](_0x4123be){const _0x2a9c2f=_0x3ef3dc;if(this[_0x2a9c2f(0xe7)][_0x2a9c2f(0xaf)](_0x4123be))throw new _0x2c9401(_0x2a9c2f(0xd1),null,{'channelId':_0x4123be});const _0x27561f=this[_0x2a9c2f(0xc1)][_0x2a9c2f(0xa2)][_0x2a9c2f(0xf9)](_0x2a9c2f(0xb8)),_0x3af42f=new s[(_0x2a9c2f(0xf7))](_0x4123be);this[_0x2a9c2f(0xe7)][_0x2a9c2f(0xee)](_0x4123be,_0x3af42f),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xd3),(_0x31c5f6,_0x417287)=>{const _0x2d8ec7=_0x2a9c2f,{commentThreadId:_0x3d907a,documentId:_0x30bef8,context:_0x1dc8b1,attributes:_0x25e174,resolvedAt:_0x279bc6,resolvedBy:_0x3f65a9,comments:_0x37908d}=_0x417287;_0x27561f[_0x2d8ec7(0xb4)](_0x3d907a)||_0x27561f[_0x2d8ec7(0xd9)]({'threadId':_0x3d907a,'channelId':_0x30bef8,'comments':_0x37908d?_0x37908d[_0x2d8ec7(0xfb)](p):[],'context':_0x1dc8b1,'attributes':_0x25e174,'resolvedAt':_0x279bc6,'resolvedBy':_0x3f65a9,'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xa3),(_0x339a14,{commentThreadId:_0x51c48b,documentId:_0x17406b,context:_0x514c8d,unlinkedAt:_0x18a938,attributes:_0x5a7ce9})=>{const _0x1b1a3a=_0x2a9c2f;_0x27561f[_0x1b1a3a(0xb4)](_0x51c48b)&&_0x27561f[_0x1b1a3a(0xeb)]({'threadId':_0x51c48b,'channelId':_0x17406b,'context':_0x514c8d,'unlinkedAt':_0x18a938,'attributes':_0x5a7ce9,'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xad),(_0x3f6435,{commentThreadId:_0xa5610c,resolvedBy:_0x1fb74e,resolvedAt:_0x2a12a0})=>{const _0x223a98=_0x2a9c2f,_0x362ad7=_0x27561f[_0x223a98(0xb4)](_0xa5610c);_0x362ad7&&_0x362ad7[_0x223a98(0xdf)]({'resolvedBy':_0x1fb74e,'resolvedAt':_0x2a12a0,'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xa0),(_0x160d5f,{commentThreadId:_0x2aa1f1})=>{const _0x1d4187=_0x2a9c2f,_0x4b0dc7=_0x27561f[_0x1d4187(0xb4)](_0x2aa1f1);_0x4b0dc7&&_0x4b0dc7[_0x1d4187(0xf5)]({'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0x9c),(_0x5dc517,{commentThreadId:_0x37c4cb})=>{const _0x3f8b31=_0x2a9c2f,_0x131531=_0x27561f[_0x3f8b31(0xb4)](_0x37c4cb);_0x131531&&_0x131531[_0x3f8b31(0xc2)]({'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xc5),(_0x4c6a4b,_0x1f8201)=>{const _0x40cc6d=_0x2a9c2f,_0x446d82=_0x1f8201[_0x40cc6d(0xdb)],_0x14b425=_0x27561f[_0x40cc6d(0xb4)](_0x446d82);_0x14b425&&_0x14b425[_0x40cc6d(0xb2)]({...p(_0x1f8201),'isFromAdapter':!0x0});}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xa9),(_0x16387c,{commentThreadId:_0x553607,commentId:_0x1b0419,content:_0x27a219,attributes:_0x1d7a1a})=>{const _0x3b3949=_0x2a9c2f,_0x2182c1=_0x27561f[_0x3b3949(0xb4)](_0x553607);if(_0x2182c1){const _0x2baa69=_0x2182c1[_0x3b3949(0xd0)](_0x1b0419);_0x2baa69&&_0x2baa69[_0x3b3949(0xea)]({'content':_0x27a219,'attributes':_0x1d7a1a,'isFromAdapter':!0x0});}}),this[_0x2a9c2f(0xd4)](_0x3af42f,_0x2a9c2f(0xbc),(_0x51e713,{commentThreadId:_0x3dbed1,commentId:_0x4d5c14})=>{const _0x41c608=_0x2a9c2f,_0x43962e=_0x27561f[_0x41c608(0xb4)](_0x3dbed1);if(_0x43962e){const _0x26ba8c=_0x43962e[_0x41c608(0xd0)](_0x4d5c14);_0x26ba8c&&_0x26ba8c[_0x41c608(0xc2)]({'isFromAdapter':!0x0});}}),await this[_0x2a9c2f(0xe8)](_0x4123be);}[_0x3ef3dc(0xc6)](){const _0x4eb8fb=_0x3ef3dc;if(this[_0x4eb8fb(0xc1)]instanceof _0x5f0c1d){const _0x4334b9=this[_0x4eb8fb(0xc1)][_0x4eb8fb(0xff)][_0x4eb8fb(0xf9)](_0x4eb8fb(0xd6));this[_0x4eb8fb(0xdd)](_0x4334b9);}}[_0x3ef3dc(0xdd)](_0x48432d){const _0x6e443e=_0x3ef3dc;if(!this[_0x6e443e(0xe7)][_0x6e443e(0xaf)](_0x48432d))throw new _0x2c9401(_0x6e443e(0xc0),null,{'channelId':_0x48432d});this[_0x6e443e(0xe5)](_0x48432d)[_0x6e443e(0xcb)](),this[_0x6e443e(0xe7)][_0x6e443e(0xfd)](_0x48432d);}async[_0x3ef3dc(0xa5)](){const _0x376941=_0x3ef3dc;for(const _0x8fcf5b of this[_0x376941(0xe7)][_0x376941(0xa8)]())await this[_0x376941(0xe8)](_0x8fcf5b);if(this[_0x376941(0xc1)]instanceof _0x5f0c1d){const _0x598c16=this[_0x376941(0xc1)][_0x376941(0xff)][_0x376941(0xf9)](_0x376941(0xd6)),_0x40f796=this[_0x376941(0xc1)][_0x376941(0xa2)][_0x376941(0xf9)](_0x4f6bee);_0x40f796[_0x376941(0xbf)](_0x598c16);const _0x24aba4=await this[_0x376941(0xe7)][_0x376941(0xf9)](_0x598c16)[_0x376941(0xd8)]();_0x40f796[_0x376941(0xc9)](_0x598c16,_0x24aba4);}}async[_0x3ef3dc(0xe8)](_0x17bb5c){const _0x23f595=_0x3ef3dc,{connection:_0x3feb2f}=this[_0x23f595(0xc1)][_0x23f595(0xa2)][_0x23f595(0xf9)](_0x42ddff),_0x572c91=this[_0x23f595(0xc1)][_0x23f595(0xa2)][_0x23f595(0xf9)](_0x23f595(0xb8)),_0x3037cb=this[_0x23f595(0xe7)][_0x23f595(0xf9)](_0x17bb5c),_0x2f2330=await _0x3037cb[_0x23f595(0xc3)](_0x3feb2f);await this[_0x23f595(0xe2)](_0x2f2330);const _0x2b0395=new Set(Array[_0x23f595(0xef)](_0x572c91[_0x23f595(0xbb)]({'channelId':_0x17bb5c}),_0x53f48a=>_0x53f48a['id']));for(const _0x50d3c9 of _0x2f2330)_0x50d3c9[_0x23f595(0xf8)]||_0x2b0395[_0x23f595(0xfd)](_0x50d3c9[_0x23f595(0xdb)]);for(const _0x5ee807 of _0x2b0395)_0x572c91[_0x23f595(0xb4)](_0x5ee807)[_0x23f595(0xc2)]({'isFromAdapter':!0x0});for(const _0x4f48e9 of _0x2f2330){let _0x5e73cf=_0x572c91[_0x23f595(0xb4)](_0x4f48e9[_0x23f595(0xdb)]);const {commentThreadId:_0x5a8c24,context:_0x2a481d,attributes:_0x3bc83f,resolvedBy:_0x571165,resolvedAt:_0x493b82,unlinkedAt:_0x23518c,deletedAt:_0x1d235d}=_0x4f48e9;if(_0x1d235d)continue;_0x5e73cf||(_0x5e73cf=_0x572c91[_0x23f595(0xd9)]({'channelId':_0x17bb5c,'threadId':_0x5a8c24,'context':_0x2a481d,'attributes':_0x3bc83f||{},'resolvedBy':_0x571165,'resolvedAt':_0x493b82,'unlinkedAt':_0x23518c,'isFromAdapter':!0x0}));const _0x512921=new Set(Array[_0x23f595(0xef)](_0x5e73cf[_0x23f595(0xc8)],_0x1df260=>_0x1df260['id']));for(const _0x136b4e of _0x4f48e9[_0x23f595(0xc8)])_0x512921[_0x23f595(0xfd)](_0x136b4e[_0x23f595(0xf2)]);for(const _0x3b257c of _0x512921)_0x5e73cf[_0x23f595(0xd0)](_0x3b257c)[_0x23f595(0xc2)]({'isFromAdapter':!0x0});for(const _0x1140a2 of _0x4f48e9[_0x23f595(0xc8)]){const _0x334d3e=_0x5e73cf[_0x23f595(0xd0)](_0x1140a2[_0x23f595(0xf2)]);_0x334d3e?_0x334d3e[_0x23f595(0xa1)]!==_0x1140a2[_0x23f595(0xa1)]&&_0x334d3e[_0x23f595(0xea)]({'content':_0x1140a2[_0x23f595(0xa1)],'isFromAdapter':!0x0}):_0x5e73cf[_0x23f595(0xb2)](Object[_0x23f595(0xfa)](p(_0x1140a2),{'isFromAdapter':!0x0}));}}}[_0x3ef3dc(0xe5)](_0x5e0e70){const _0x38c590=_0x3ef3dc;if(!this[_0x38c590(0xe7)][_0x38c590(0xaf)](_0x5e0e70))throw new _0x2c9401(_0x38c590(0xe0),null,{'channelId':_0x5e0e70});return this[_0x38c590(0xe7)][_0x38c590(0xf9)](_0x5e0e70);}async[_0x3ef3dc(0xe2)](_0x3a01ee){const _0x55f350=_0x3ef3dc,_0x303b38=this[_0x55f350(0xc1)][_0x55f350(0xa2)][_0x55f350(0xf9)](_0x3316c0),{connection:_0x32bb1f}=this[_0x55f350(0xc1)][_0x55f350(0xa2)][_0x55f350(0xf9)](_0x42ddff),_0x42c690=new Set();for(const {resolvedBy:_0x4e7aae,comments:_0xda2773}of _0x3a01ee){_0x4e7aae&&!_0x303b38[_0x55f350(0xb7)](_0x4e7aae)&&_0x42c690[_0x55f350(0xf6)](_0x4e7aae);for(const {userId:_0x3342d2}of _0xda2773)_0x303b38[_0x55f350(0xb7)](_0x3342d2)||_0x42c690[_0x55f350(0xf6)](_0x3342d2);}if(0x0===_0x42c690[_0x55f350(0xc4)])return;const _0x224cce=await _0x464395[_0x55f350(0xbd)](_0x32bb1f,Array[_0x55f350(0xef)](_0x42c690));for(const _0xba0776 of _0x224cce)_0x303b38[_0x55f350(0xb7)](_0xba0776['id'])||_0x303b38[_0x55f350(0xd5)](_0xba0776);}}export{s as CloudServicesCommentsAdapter};async function v(_0x126eed){const _0x4377d4=_0x3ef3dc;if(_0x4377d4(0xfc)!==_0x126eed[_0x4377d4(0xbe)])throw _0x126eed;}function A(_0x3c7918){const _0x5bd368=_0x3ef3dc;if((_0x24902c=_0x3c7918)[_0x5bd368(0xe3)][_0x5bd368(0xcc)](_0x5bd368(0x9d))||_0x24902c[_0x5bd368(0xe3)][_0x5bd368(0xcc)](_0x5bd368(0xec))||_0x24902c[_0x5bd368(0xe3)][_0x5bd368(0xcc)](_0x5bd368(0xca)))return new Promise(()=>{});var _0x24902c;throw _0x3c7918;}function p(_0x2b5d13){const _0x2e36ef=_0x3ef3dc;return{'threadId':_0x2b5d13[_0x2e36ef(0xdb)],'commentId':_0x2b5d13[_0x2e36ef(0xf2)],'content':_0x2b5d13[_0x2e36ef(0xa1)],'createdAt':_0x2b5d13[_0x2e36ef(0xd2)],'authorId':_0x2b5d13[_0x2e36ef(0xdc)],'attributes':_0x2b5d13[_0x2e36ef(0xe1)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4002d1=_0x3ef6;(function(_0x28b239,_0x183b7d){const _0x23abfb=_0x3ef6,_0x59e1b2=_0x28b239();while(!![]){try{const _0x58b325=-parseInt(_0x23abfb(0x191))/0x1*(-parseInt(_0x23abfb(0x187))/0x2)+parseInt(_0x23abfb(0x189))/0x3+parseInt(_0x23abfb(0x173))/0x4+parseInt(_0x23abfb(0x17f))/0x5+parseInt(_0x23abfb(0x171))/0x6+parseInt(_0x23abfb(0x182))/0x7+-parseInt(_0x23abfb(0x18f))/0x8*(parseInt(_0x23abfb(0x175))/0x9);if(_0x58b325===_0x183b7d)break;else _0x59e1b2['push'](_0x59e1b2['shift']());}catch(_0x5aadbb){_0x59e1b2['push'](_0x59e1b2['shift']());}}}(_0x315d,0x43ca8));function _0x3ef6(_0x2e0fd8,_0x15f83f){const _0x315d44=_0x315d();return _0x3ef6=function(_0x3ef607,_0x4586d6){_0x3ef607=_0x3ef607-0x170;let _0x520f10=_0x315d44[_0x3ef607];return _0x520f10;},_0x3ef6(_0x2e0fd8,_0x15f83f);}import{Plugin as _0x2a0270}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x3a2083}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x2b790a}from'./realtimecollaborativeediting.js';function _0x315d(){const _0x590a2e=['editor','connected','CommentsEditing','CommentsRepository','Comments','plugins','433225MrXrTc','change:state','get','2896397gZDuOi','config','init','_setUpService','collaboration.channelId','17286ofYvPJ','switchReadOnly','180744udxpkf','isThreadsLoadingPaused','ready','isPremiumPlugin','pluginName','listenTo','6860272QZPQES','isOfficialPlugin','34tHgRyk','_terminateService','76632ZmBZTu','requires','1071632mgZdLw','destroy','9ydckyO','once','data','RealTimeCollaborativeComments'];_0x315d=function(){return _0x590a2e;};return _0x315d();}import{WebSocketGateway as _0x279f26}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x2a0270{static get[_0x4002d1(0x172)](){const _0x4d2fe5=_0x4002d1;return[_0x4d2fe5(0x17d),_0x3a2083,_0x2b790a,_0x279f26];}static get[_0x4002d1(0x18d)](){const _0x5640e4=_0x4002d1;return _0x5640e4(0x178);}static get[_0x4002d1(0x190)](){return!0x0;}static get[_0x4002d1(0x18c)](){return!0x0;}[_0x4002d1(0x184)](){const _0x6a220a=_0x4002d1,_0x50ad36=this[_0x6a220a(0x179)][_0x6a220a(0x17e)][_0x6a220a(0x181)](_0x279f26),_0x687051=this[_0x6a220a(0x179)][_0x6a220a(0x17e)][_0x6a220a(0x181)](_0x6a220a(0x17b)),_0x23f231=this[_0x6a220a(0x179)][_0x6a220a(0x17e)][_0x6a220a(0x181)](_0x3a2083);return this[_0x6a220a(0x179)][_0x6a220a(0x177)][_0x6a220a(0x176)](_0x6a220a(0x18b),()=>{const _0x5cbd31=_0x6a220a;this[_0x5cbd31(0x18e)](_0x50ad36,_0x5cbd31(0x180),(_0x4996c7,_0x538709,_0x3d8e54)=>{const _0x4282e8=_0x5cbd31;_0x687051[_0x4282e8(0x18a)]=_0x4282e8(0x17a)!==_0x3d8e54;});}),this[_0x6a220a(0x18e)](_0x50ad36,_0x6a220a(0x180),(_0xd663fa,_0x1f9ddf,_0x59bc14)=>{const _0x4a9278=_0x6a220a;this[_0x4a9278(0x179)][_0x4a9278(0x17e)][_0x4a9278(0x181)](_0x4a9278(0x17c))[_0x4a9278(0x188)](_0x4a9278(0x17a)!==_0x59bc14);}),_0x23f231[_0x6a220a(0x185)](this[_0x6a220a(0x179)][_0x6a220a(0x183)][_0x6a220a(0x181)](_0x6a220a(0x186)));}[_0x4002d1(0x174)](){const _0x426fa6=_0x4002d1;this[_0x426fa6(0x179)][_0x426fa6(0x17e)][_0x426fa6(0x181)](_0x3a2083)[_0x426fa6(0x170)](this[_0x426fa6(0x179)][_0x426fa6(0x183)][_0x426fa6(0x181)](_0x426fa6(0x186))),super[_0x426fa6(0x174)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0xcaf64)());[_0x5c6e6e(0x1b4)];[_0x5c6e6e(0x1df)];[_0x5c6e6e(0x1d0)];[_0x5c6e6e(0x128)];[_0x5c6e6e(0x1d8)];[_0x5c6e6e(0x1dc)];[_0x5c6e6e(0x135)];[_0x5c6e6e(0x19f)];[_0x5c6e6e(0x191)];[_0x5c6e6e(0x1c6)];[_0x5c6e6e(0x16b)];[_0x5c6e6e(0x1aa)];[_0x5c6e6e(0x170)];[_0x5c6e6e(0x195)];[_0x5c6e6e(0x1b3)];[_0x5c6e6e(0x214)];[_0x5c6e6e(0x12e)];[_0x5c6e6e(0x1e8)];static get[_0x5c6e6e(0x1fa)](){return[_0x1ceaf1,_0x588e59,_0x8e76f3,_0xbad72d,_0x1feb15,_0x3f7127];}static get[_0x5c6e6e(0x118)](){const _0x2ed39a=_0x5c6e6e;return _0x2ed39a(0x117);}static get[_0x5c6e6e(0x138)](){return!0x0;}static get[_0x5c6e6e(0x194)](){return!0x0;}get[_0x5c6e6e(0x1e0)](){const _0x4995b6=_0x5c6e6e;return this[_0x4995b6(0x114)]+this[_0x4995b6(0x1b4)];}get[_0x5c6e6e(0x114)](){const _0x1d0efa=_0x5c6e6e;return this[_0x1d0efa(0x1d0)][_0x1d0efa(0x154)]-this[_0x1d0efa(0x1b4)];}get[_0x5c6e6e(0x169)](){const _0x388451=_0x5c6e6e,_0x1faea4=this[_0x388451(0x1d0)][_0x388451(0x1cf)]();for(let _0x34b3aa=_0x1faea4[_0x388451(0x148)]-0x1;_0x34b3aa>=0x0;_0x34b3aa--){const _0x3f7be5=_0x1faea4[_0x34b3aa];if(!this[_0x388451(0x12e)][_0x388451(0x179)](_0x3f7be5))return _0x3f7be5[_0x388451(0x1a8)]+0x1-this[_0x388451(0x1b4)];}return 0x0;}constructor(_0x14680d){const _0x480000=_0x5c6e6e;if(super(_0x14680d),this[_0x480000(0x1b4)]=0x0,this[_0x480000(0x1df)]=null,this[_0x480000(0x1d0)]=new _0x419320(),this[_0x480000(0x1ca)][_0x480000(0x166)][_0x480000(0x187)](_0x480000(0x159),{}),this[_0x480000(0x128)]=this[_0x480000(0x1ca)][_0x480000(0x166)][_0x480000(0x186)](_0x480000(0x164)),!this[_0x480000(0x128)])throw new _0x485afc(_0x480000(0x1ec),this);const _0x2809ec=_0x14680d[_0x480000(0x166)][_0x480000(0x186)](_0x480000(0x1fb))||_0x53fba9;this[_0x480000(0x1d8)]=new l[(_0x480000(0x217))](_0x2809ec,this[_0x480000(0x128)]),this[_0x480000(0x1dc)]=this[_0x480000(0x1ca)][_0x480000(0x126)][_0x480000(0x167)],this[_0x480000(0x135)]=new _0xe6d7d5(),this[_0x480000(0x19f)]=[],this[_0x480000(0x191)]=new WeakSet(),this[_0x480000(0x1c6)]=new Set(),this[_0x480000(0x204)](_0x480000(0x13d),!0x1),this[_0x480000(0x204)](_0x480000(0x17d),!0x1),this[_0x480000(0x16b)]=null,this[_0x480000(0x1aa)]=!0x1,this[_0x480000(0x170)]=null,this[_0x480000(0x195)]=0x12c,this[_0x480000(0x1b3)]=this[_0x480000(0x195)],this[_0x480000(0x214)]=null,this[_0x480000(0x12e)]=new WeakSet(),this[_0x480000(0x1e8)]=new J(this[_0x480000(0x12e)]);}[_0x5c6e6e(0x1e7)](){const _0x2cb371=_0x5c6e6e,_0x555bd7=this[_0x2cb371(0x1ca)],_0x5bb1b2=_0x555bd7[_0x2cb371(0x1ac)][_0x2cb371(0x186)](_0x1feb15),_0x410b8c=_0x555bd7[_0x2cb371(0x1ac)][_0x2cb371(0x186)](_0x1ceaf1);this[_0x2cb371(0x1e1)](_0x5bb1b2,_0x2cb371(0x1c1),(_0x516806,_0x20e4ea)=>{const _0x2f0a38=_0x2cb371,_0x168fa8=_0x20e4ea[0x0];_0x168fa8[_0x2f0a38(0x16d)]&&(_0x516806[_0x2f0a38(0x12f)]=_0x5bb1b2[_0x2f0a38(0x17e)](_0x168fa8[_0x2f0a38(0x16d)]),_0x516806[_0x2f0a38(0x1ee)]()),null===_0x168fa8[_0x2f0a38(0x16d)]&&(_0x516806[_0x2f0a38(0x12f)]=null,_0x516806[_0x2f0a38(0x1ee)]());},{'priority':_0x2cb371(0x142)}),this[_0x2cb371(0x1e1)](_0x555bd7[_0x2cb371(0x126)][_0x2cb371(0x167)][_0x2cb371(0x1cb)],_0x2cb371(0x121),(_0x4a4344,_0x825af7)=>{const _0x4ec09c=_0x2cb371;_0x825af7[_0x4ec09c(0x1b9)]&&this[_0x4ec09c(0x1f7)]();}),this[_0x2cb371(0x1e1)](_0x555bd7[_0x2cb371(0x1de)][_0x2cb371(0x110)],_0x2cb371(0x172),()=>{const _0x5ce123=_0x2cb371;this[_0x5ce123(0x1f7)]();}),this[_0x2cb371(0x176)](),_0x555bd7[_0x2cb371(0x126)]['on'](_0x2cb371(0x207),(_0x3674e5,_0x15204c)=>{const _0x8ad7a2=_0x2cb371,_0x4ecf02=_0x15204c[0x0];_0x4ecf02[_0x8ad7a2(0x1e6)]&&(this[_0x8ad7a2(0x1fe)](_0x4ecf02),this[_0x8ad7a2(0x143)]()&&this[_0x8ad7a2(0x1a4)]());}),this[_0x2cb371(0x150)](),this[_0x2cb371(0x168)](_0x2cb371(0x1ef))['to'](_0x410b8c,_0x2cb371(0x15f),this,_0x2cb371(0x17d),(_0x9bb8d5,_0x1a4467)=>_0x2cb371(0x1e3)===_0x9bb8d5&&!_0x1a4467),this['on'](_0x2cb371(0x14c),()=>{const _0x4a7b89=_0x2cb371;this[_0x4a7b89(0x1ef)]?_0x555bd7[_0x4a7b89(0x1a1)](_0x4a7b89(0x131)):_0x555bd7[_0x4a7b89(0x122)](_0x4a7b89(0x131));}),this[_0x2cb371(0x1ef)]?_0x555bd7[_0x2cb371(0x1a1)](_0x2cb371(0x131)):_0x555bd7[_0x2cb371(0x122)](_0x2cb371(0x131)),this[_0x2cb371(0x204)](_0x2cb371(0x198),!0x1);}async[_0x5c6e6e(0x1eb)](){const _0x2a3eaf=_0x5c6e6e,_0xeea6e8=this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x1ac)][_0x2a3eaf(0x186)](_0x588e59),_0x30304d=this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x1ac)][_0x2a3eaf(0x186)](_0x1ceaf1);try{this[_0x2a3eaf(0x13d)]=!0x0,_0xeea6e8[_0x2a3eaf(0x18c)](this[_0x2a3eaf(0x128)]);const _0x15d62d=await this[_0x2a3eaf(0x1d8)][_0x2a3eaf(0x1eb)](_0x30304d[_0x2a3eaf(0x1f8)],this[_0x2a3eaf(0x169)]);await this[_0x2a3eaf(0x1f9)](_0x15d62d)&&(this[_0x2a3eaf(0x13d)]=!0x1,this[_0x2a3eaf(0x19a)]());const _0x2269e5=await this[_0x2a3eaf(0x1d8)][_0x2a3eaf(0x216)]();_0xeea6e8[_0x2a3eaf(0x202)](this[_0x2a3eaf(0x128)],_0x2269e5),this[_0x2a3eaf(0x115)](),this[_0x2a3eaf(0x198)]=!0x0;}catch(_0x150517){if(function(_0x50f1f0){const _0x13eb45=_0x2a3eaf;return _0x13eb45(0x125)===_0x50f1f0[_0x13eb45(0x127)];}(_0x150517)&&this[_0x2a3eaf(0x1df)])await this[_0x2a3eaf(0x152)]();else{if(function(_0x5858f8){const _0x248721=_0x2a3eaf;return _0x248721(0x136)===_0x5858f8[_0x248721(0x127)];}(_0x150517)){const _0x5557af=_0x7aa812(this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x160)],_0x2a3eaf(0x1e4));this[_0x2a3eaf(0x1bb)](_0x5557af);}else{if(!(_0x150517 instanceof $))throw _0x150517;this[_0x2a3eaf(0x1bb)]();}}}}[_0x5c6e6e(0x1ab)](){const _0x4d5a7b=_0x5c6e6e,_0x5b2ae1=this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x1ac)][_0x4d5a7b(0x186)](_0x1ceaf1),_0x6e3430=this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x1ac)][_0x4d5a7b(0x186)](_0x588e59);this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x122)](_0x4d5a7b(0x137)),_0x6e3430[_0x4d5a7b(0x1b1)][_0x4d5a7b(0x179)](this[_0x4d5a7b(0x128)])&&_0x6e3430[_0x4d5a7b(0x18c)](this[_0x4d5a7b(0x128)]),_0x5b2ae1[_0x4d5a7b(0x1ad)](this),this[_0x4d5a7b(0x190)](),super[_0x4d5a7b(0x1ab)]();}async[_0x5c6e6e(0x1f9)](_0x50a47f){const _0x900d39=_0x5c6e6e;if(this[_0x900d39(0x1df)]!==_0x50a47f[_0x900d39(0x1df)]&&this[_0x900d39(0x214)]!==_0x50a47f[_0x900d39(0x1a5)])throw new $();return this[_0x900d39(0x1df)]=_0x50a47f[_0x900d39(0x1df)],this[_0x900d39(0x201)]([],{..._0x50a47f,'wereChangesApplied':!0x1,'data':_0x50a47f[_0x900d39(0x129)]},_0x900d39(0x1eb));}async[_0x5c6e6e(0x205)](_0x1d63a0,_0x4f3965=!0x1){const _0x51365d=_0x5c6e6e,{connection:_0x6b0181}=this[_0x51365d(0x1ca)][_0x51365d(0x1ac)][_0x51365d(0x186)](_0x1ceaf1);l[_0x51365d(0x217)][_0x51365d(0x216)](_0x6b0181,this[_0x51365d(0x128)])[_0x51365d(0x1a6)](_0x583abd=>this[_0x51365d(0x15e)](_0x583abd))[_0x51365d(0x12a)](_0x87ceb5=>{const _0x17e4c6=_0x51365d;this[_0x17e4c6(0x1b0)](_0x17e4c6(0x19c),_0x87ceb5);}),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x119),this[_0x51365d(0x173)][_0x51365d(0x168)](this)),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x1dd),(_0x48430e,_0x4f5da1)=>{const _0x293ffc=_0x51365d;this[_0x293ffc(0x1b0)](_0x293ffc(0x1b8),_0x4f5da1);}),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x209),()=>{const _0x46ab25=_0x51365d;this[_0x46ab25(0x198)]=!0x1;});const _0x533c7e=this[_0x51365d(0x1e8)][_0x51365d(0x130)](_0x1d63a0);this[_0x51365d(0x13d)]=!0x0;const _0x4a0b83=await this[_0x51365d(0x1d8)][_0x51365d(0x192)](_0x6b0181,this[_0x51365d(0x17a)](_0x1d63a0),_0x533c7e);if(this[_0x51365d(0x1df)]=_0x4a0b83[_0x51365d(0x1df)],_0x4f3965){if(!_0x4a0b83[_0x51365d(0x1db)])return void this[_0x51365d(0x1bb)]();this[_0x51365d(0x13d)]=!0x1,this[_0x51365d(0x19a)](),this[_0x51365d(0x1d0)][_0x51365d(0x151)](),this[_0x51365d(0x1b4)]=_0x4a0b83[_0x51365d(0x208)],this[_0x51365d(0x1d0)][_0x51365d(0x154)]=this[_0x51365d(0x1b4)],await this[_0x51365d(0x201)](_0x1d63a0,_0x4a0b83,_0x51365d(0x120));}else await this[_0x51365d(0x20c)](_0x4a0b83,_0x1d63a0);this[_0x51365d(0x115)](),this[_0x51365d(0x198)]=!0x0;}[_0x5c6e6e(0x115)](){const _0x69099b=_0x5c6e6e,_0x37c3e4=this[_0x69099b(0x1ca)][_0x69099b(0x1ac)][_0x69099b(0x186)](_0x588e59),_0x53cc8d=this[_0x69099b(0x1ca)][_0x69099b(0x1ac)][_0x69099b(0x186)](_0x8e76f3),_0x518797=_0x37c3e4[_0x69099b(0x1b1)][_0x69099b(0x186)](this[_0x69099b(0x128)]);_0x518797&&_0x518797[_0x69099b(0x148)]>0x1?_0x53cc8d[_0x69099b(0x1a2)]():this[_0x69099b(0x1e1)](_0x37c3e4,_0x69099b(0x158)+this[_0x69099b(0x128)],()=>{const _0x2c6f8f=_0x69099b;0x2===_0x37c3e4[_0x2c6f8f(0x1b1)][_0x2c6f8f(0x186)](this[_0x2c6f8f(0x128)])[_0x2c6f8f(0x148)]&&_0x53cc8d[_0x2c6f8f(0x1a2)]();});}async[_0x5c6e6e(0x173)](_0x100a61,_0xb6035c,_0x2d4d02,_0x1def25){const _0x3d187d=_0x5c6e6e;if(!this[_0x3d187d(0x13d)]&&this[_0x3d187d(0x1dc)][_0x3d187d(0x154)]==_0xb6035c){const _0x26d594=this[_0x3d187d(0x1be)](_0x2d4d02,_0x1def25);await this[_0x3d187d(0x144)](_0x26d594),this[_0x3d187d(0x13e)](_0x26d594,_0xb6035c,_0x2d4d02[_0x3d187d(0x1a5)])||this[_0x3d187d(0x1b0)](_0x3d187d(0x12b));}}async[_0x5c6e6e(0x152)](){const _0x411858=_0x5c6e6e;this[_0x411858(0x190)]();const {locale:_0x2a64d6}=this[_0x411858(0x1ca)];let _0x1f84b7;try{_0x1f84b7=await this[_0x411858(0x1d8)][_0x411858(0x174)]();}catch{const _0x5e04ae=_0x7aa812(_0x2a64d6,_0x411858(0x193));return void this[_0x411858(0x1bb)](_0x5e04ae);}const _0xfd8d0b=_0x1f84b7[_0x411858(0x15c)]||_0x1f84b7[_0x411858(0x139)];if(this[_0x411858(0x214)]!==_0xfd8d0b[_0x411858(0x1a5)]){const _0x478a37=_0x7aa812(_0x2a64d6,_0x411858(0x111));return void this[_0x411858(0x1bb)](_0x478a37);}await this[_0x411858(0x205)](this[_0x411858(0x1ca)][_0x411858(0x126)][_0x411858(0x167)][_0x411858(0x1c5)][_0x411858(0x1cf)](),!0x0);}[_0x5c6e6e(0x190)](){const _0x18530a=_0x5c6e6e;this[_0x18530a(0x1d8)][_0x18530a(0x20b)](),this[_0x18530a(0x19f)]=[],clearTimeout(this[_0x18530a(0x170)]),this[_0x18530a(0x163)](this[_0x18530a(0x1d8)]);}[_0x5c6e6e(0x15e)](_0x76cff5){const _0x154b1e=_0x5c6e6e,_0x4a5570=this[_0x154b1e(0x1ca)][_0x154b1e(0x1ac)][_0x154b1e(0x186)](_0x588e59);this[_0x154b1e(0x1e1)](_0x4a5570,_0x154b1e(0x158)+this[_0x154b1e(0x128)],(_0x1e0ad3,{session:_0x49d16c})=>{const _0x3150b9=_0x154b1e;if(_0x49d16c['id']===_0x4a5570[_0x3150b9(0x1a3)]){_0x1e0ad3[_0x3150b9(0x1d2)]();const _0xbc652c=this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x179)](_0x3150b9(0x1d1))&&this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x186)](_0x3150b9(0x1d1));let _0x194f40=_0x49d16c[_0x3150b9(0x19e)];_0xbc652c&&_0xbc652c[_0x3150b9(0x178)]&&(_0x194f40=_0x194f40[_0x3150b9(0x1f1)](_0x29a33f=>_0x3150b9(0x1a0)!==_0x29a33f)),this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x186)](_0x3150b9(0x11d))[_0x3150b9(0x161)](_0x194f40,this[_0x3150b9(0x128)]);}}),_0x4a5570[_0x154b1e(0x202)](this[_0x154b1e(0x128)],_0x76cff5);}[_0x5c6e6e(0x176)](){const _0x1683f4=_0x5c6e6e,_0x5da799=this[_0x1683f4(0x1ca)][_0x1683f4(0x129)][_0x1683f4(0x204)];this[_0x1683f4(0x1ca)][_0x1683f4(0x129)][_0x1683f4(0x204)]=(..._0x766051)=>{const _0x51fe07=_0x1683f4;if(!_0x766051[_0x766051[_0x51fe07(0x148)]-0x1][_0x51fe07(0x188)])throw new _0x485afc(_0x51fe07(0x1e2),this);_0x5da799[_0x51fe07(0x215)](this[_0x51fe07(0x1ca)][_0x51fe07(0x129)],_0x766051);};}[_0x5c6e6e(0x150)](){const _0x3e03d9=_0x5c6e6e;this[_0x3e03d9(0x1ca)][_0x3e03d9(0x129)]['on'](_0x3e03d9(0x1e7),(_0x5b6bf5,[_0x16e527])=>{const _0x3c8566=_0x3e03d9;if(this[_0x3c8566(0x1dc)][_0x3c8566(0x154)])throw new _0x485afc(_0x3c8566(0x140),this);_0x5b6bf5[_0x3c8566(0x1ee)](),this[_0x3c8566(0x1d6)]();const _0x572ec9=this[_0x3c8566(0x1ca)][_0x3c8566(0x166)][_0x3c8566(0x186)](_0x3c8566(0x14f)),_0x101b45=this[_0x3c8566(0x14a)](_0x16e527,_0x572ec9);0x0==_0x101b45[_0x3c8566(0x148)]&&_0x101b45[_0x3c8566(0x200)](new _0x23c417(0x0)),_0x5b6bf5[_0x3c8566(0x12f)]=this[_0x3c8566(0x205)](_0x101b45)[_0x3c8566(0x1a6)](()=>{const _0x9c4676=_0x3c8566;this[_0x9c4676(0x1ca)][_0x9c4676(0x1ac)][_0x9c4676(0x186)](_0x1ceaf1)[_0x9c4676(0x1d5)](this),this[_0x9c4676(0x1ca)][_0x9c4676(0x129)][_0x9c4676(0x153)](_0x9c4676(0x183));})[_0x3c8566(0x12a)](_0x5ce398=>this[_0x3c8566(0x1b0)](_0x3c8566(0x1fd),_0x5ce398))[_0x3c8566(0x1c3)](()=>this[_0x3c8566(0x19a)]());},{'priority':_0x3e03d9(0x142)}),this[_0x3e03d9(0x1ca)]['on'](_0x3e03d9(0x14e),async(_0x37a341,[_0x318289,_0x106ef0])=>{const _0x22ddc9=_0x3e03d9;_0x37a341[_0x22ddc9(0x1ee)]();const _0x3c5007=this[_0x22ddc9(0x1ca)][_0x22ddc9(0x126)][_0x22ddc9(0x167)][_0x22ddc9(0x1f2)](_0x318289);if(!this[_0x22ddc9(0x1c6)][_0x22ddc9(0x179)](_0x318289)){const _0x48dd8f=_0x106ef0&&_0x106ef0[_0x22ddc9(0x129)]?_0x106ef0[_0x22ddc9(0x129)]:'',_0x20d374=_0x106ef0&&_0x106ef0[_0x22ddc9(0x1ae)]?_0x106ef0[_0x22ddc9(0x1ae)]:{};await this[_0x22ddc9(0x11f)](_0x318289,_0x48dd8f,_0x20d374);}this[_0x22ddc9(0x1ca)][_0x22ddc9(0x126)][_0x22ddc9(0x15d)]({'isUndoable':!0x1},()=>{const _0xf46223=_0x22ddc9;_0x3c5007[_0xf46223(0x11b)]=!0x0,this[_0xf46223(0x1ca)][_0xf46223(0x126)][_0xf46223(0x167)][_0xf46223(0x141)][_0xf46223(0x149)](_0x3c5007);});},{'priority':_0x3e03d9(0x142)});}async[_0x5c6e6e(0x144)](_0x10cb9e){const _0x313e5d=_0x5c6e6e,_0x1d00b8=this[_0x313e5d(0x1ca)][_0x313e5d(0x1ac)][_0x313e5d(0x186)](_0x1feb15),{connection:_0x1b2fd5}=this[_0x313e5d(0x1ca)][_0x313e5d(0x1ac)][_0x313e5d(0x186)](_0x1ceaf1),_0x2cf9ce=new Set();for(const _0x220e31 of _0x10cb9e){const _0x956bfd=_0x220e31[_0x313e5d(0x16d)];_0x956bfd&&!_0x1d00b8[_0x313e5d(0x17e)](_0x956bfd)&&_0x2cf9ce[_0x313e5d(0x1e5)](_0x956bfd);}if(0x0===_0x2cf9ce[_0x313e5d(0x13f)])return;const _0x3a18d5=await _0x2abcd9[_0x313e5d(0x1da)](_0x1b2fd5,Array[_0x313e5d(0x157)](_0x2cf9ce));for(const _0x4f7cea of _0x3a18d5)_0x1d00b8[_0x313e5d(0x17e)](_0x4f7cea['id'])||_0x1d00b8[_0x313e5d(0x16f)](_0x4f7cea);}[_0x5c6e6e(0x14a)](_0xb28c7e,_0x479081={}){const _0x58ad61=_0x5c6e6e,_0x4fef03=this[_0x58ad61(0x1ca)][_0x58ad61(0x126)],_0x48379d=[];let _0x457893=0x0;const _0x3bec1a=_0x58ad61(0x165)==typeof _0xb28c7e?{'main':_0xb28c7e}:_0xb28c7e;for(const _0x320304 of Object[_0x58ad61(0x132)](_0x3bec1a)){if(!this[_0x58ad61(0x1dc)][_0x58ad61(0x11c)][_0x58ad61(0x179)](_0x320304))throw new _0x485afc(_0x58ad61(0x1b7),this);const _0x1df2cb=this[_0x58ad61(0x1ca)][_0x58ad61(0x129)][_0x58ad61(0x19d)](_0x3bec1a[_0x320304]),_0x513cab=this[_0x58ad61(0x1dc)][_0x58ad61(0x1f2)](_0x320304),_0x5e70d4=new _0x4397e8(_0x4fef03[_0x58ad61(0x1f5)](_0x513cab,0x0),_0x1df2cb,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x5e70d4);for(const [_0x5d3d15,_0x13cdb1]of _0x1df2cb[_0x58ad61(0x1b2)]){const _0x27ed5f=_0x4fef03[_0x58ad61(0x212)](_0x4fef03[_0x58ad61(0x184)](_0x513cab,_0x13cdb1[_0x58ad61(0x1ce)][_0x58ad61(0x1a9)][_0x58ad61(0x20a)]()),_0x4fef03[_0x58ad61(0x184)](_0x513cab,_0x13cdb1[_0x58ad61(0x1fc)][_0x58ad61(0x1a9)][_0x58ad61(0x20a)]())),_0x93675=new _0x13c377(_0x5d3d15,null,_0x27ed5f,_0x4fef03[_0x58ad61(0x1b2)],!0x0,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x93675);}}if(_0x479081)for(const [_0x3d5410,_0xeb981a]of Object[_0x58ad61(0x1d3)](_0x479081)){const _0x4a59d1=_0x4fef03[_0x58ad61(0x167)][_0x58ad61(0x1f2)](_0x3d5410);if(!_0x4a59d1)throw new _0x485afc(_0x58ad61(0x1ba),null);for(const [_0x2ac55c,_0x2b6741]of Object[_0x58ad61(0x1d3)](_0xeb981a))if(null!==_0x2b6741){const _0x42b7dd=new _0x96c981(_0x4a59d1,_0x2ac55c,null,_0x2b6741,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x42b7dd);}}return _0x48379d;}async[_0x5c6e6e(0x11f)](_0x23cf90,_0x961e68,_0x538705){const _0x1a3e60=_0x5c6e6e;this[_0x1a3e60(0x14a)]({[_0x23cf90]:_0x961e68},{[_0x23cf90]:_0x538705})[_0x1a3e60(0x1c9)]((_0x4c9d43,_0x5baeaf)=>{const _0x4affd1=_0x1a3e60;_0x4c9d43[_0x4affd1(0x1a8)]=this[_0x4affd1(0x1dc)][_0x4affd1(0x154)]+_0x5baeaf,_0x4c9d43[_0x4affd1(0x16c)]=!0x0,this[_0x4affd1(0x1fe)](_0x4c9d43);}),this[_0x1a3e60(0x1a4)](),await this[_0x1a3e60(0x210)]();}async[_0x5c6e6e(0x20c)](_0x1da66a,_0x4e2718){const _0x423fcc=_0x5c6e6e;let _0xc7c133;this[_0x423fcc(0x1b4)]=_0x1da66a[_0x423fcc(0x208)];const _0x5f083=_0x1da66a[_0x423fcc(0x1db)]&&!_0x1da66a[_0x423fcc(0x123)],_0x96672b=_0x5f083?0x0:_0x1da66a[_0x423fcc(0x129)][_0x423fcc(0x1a8)];if(_0x4e2718[_0x423fcc(0x1c9)](_0xeb77a6=>{const _0x5b89af=_0x423fcc;_0xeb77a6[_0x5b89af(0x16c)]=!0x0,_0xeb77a6[_0x5b89af(0x1cc)]=_0x1da66a[_0x5b89af(0x1f3)],_0xeb77a6[_0x5b89af(0x16d)]=null;}),_0x5f083)_0xc7c133=_0x4e2718,this[_0x423fcc(0x1cd)](_0xc7c133,_0x5f083);else{if(_0x1da66a[_0x423fcc(0x123)]){const _0x7e8235=this[_0x423fcc(0x14a)](_0x1da66a[_0x423fcc(0x123)]);this[_0x423fcc(0x1dc)][_0x423fcc(0x1c5)][_0x423fcc(0x154)]=-_0x7e8235[_0x423fcc(0x148)],_0x7e8235[_0x423fcc(0x1c9)](_0x3a36b8=>{const _0x54f5e8=_0x423fcc;_0x3a36b8[_0x54f5e8(0x1a8)]-=_0x7e8235[_0x54f5e8(0x148)],_0x3a36b8[_0x54f5e8(0x1cc)]=_0x1da66a[_0x54f5e8(0x1f3)],_0x3a36b8[_0x54f5e8(0x16c)]=!0x0,_0x3a36b8[_0x54f5e8(0x16d)]=null;}),this[_0x423fcc(0x1cd)](_0x7e8235,!0x0),this[_0x423fcc(0x1d0)][_0x423fcc(0x154)]=-_0x7e8235[_0x423fcc(0x148)]+this[_0x423fcc(0x1b4)],this[_0x423fcc(0x16a)](_0x7e8235);}this[_0x423fcc(0x1dc)][_0x423fcc(0x1c5)][_0x423fcc(0x154)]=_0x96672b,_0xc7c133=this[_0x423fcc(0x1be)](_0x1da66a[_0x423fcc(0x129)],_0x1da66a[_0x423fcc(0x12c)]),await this[_0x423fcc(0x144)](_0xc7c133),this[_0x423fcc(0x1cd)](_0xc7c133,_0x5f083);}_0x1da66a[_0x423fcc(0x1a5)]&&(this[_0x423fcc(0x1e8)][_0x423fcc(0x17b)](_0xc7c133,_0x1da66a[_0x423fcc(0x1a5)]),this[_0x423fcc(0x214)]=_0x1da66a[_0x423fcc(0x1a5)]),this[_0x423fcc(0x1d0)][_0x423fcc(0x154)]=_0x96672b+this[_0x423fcc(0x1b4)],this[_0x423fcc(0x16a)](_0xc7c133),_0x4e2718[_0x423fcc(0x1f1)](_0x386fb6=>{const _0x376427=_0x423fcc,_0x333c4c=this[_0x376427(0x199)](_0x386fb6);return _0x333c4c&&!this[_0x376427(0x1c6)][_0x376427(0x179)](_0x333c4c);})[_0x423fcc(0x1c9)]((_0x4cc4c0,_0x5f5eae)=>{const _0x2aa659=_0x423fcc;_0x4cc4c0[_0x2aa659(0x1a8)]=this[_0x2aa659(0x1dc)][_0x2aa659(0x154)]+_0x5f5eae,this[_0x2aa659(0x1fe)](_0x4cc4c0);}),this[_0x423fcc(0x143)]()?(this[_0x423fcc(0x1b3)]=0x0,this[_0x423fcc(0x1a4)](!0x0),await this[_0x423fcc(0x210)]()):(this[_0x423fcc(0x13d)]=!0x1,this[_0x423fcc(0x19a)]());}[_0x5c6e6e(0x1b0)](_0x3e9d99,_0x191ef8){const _0x53ccb8=_0x5c6e6e,_0x278c3f=_0x191ef8&&_0x191ef8[_0x53ccb8(0x1f0)];if(_0x278c3f&&_0x278c3f[_0x53ccb8(0x203)](_0x53ccb8(0x17c)))throw _0x191ef8;const _0x5a1436=this[_0x53ccb8(0x1ca)][_0x53ccb8(0x1ac)][_0x53ccb8(0x186)](_0x1ceaf1);throw this[_0x53ccb8(0x13d)]=!0x0,_0x5a1436[_0x53ccb8(0x20b)](),this[_0x53ccb8(0x1ca)][_0x53ccb8(0x122)](_0x53ccb8(0x1c0)),new _0x485afc(_0x3e9d99,this[_0x53ccb8(0x1ca)],_0x278c3f?{'originalError':_0x278c3f}:void 0x0);}[_0x5c6e6e(0x1fe)](_0x3744b8){const _0x4f73bb=_0x5c6e6e;this[_0x4f73bb(0x191)][_0x4f73bb(0x179)](_0x3744b8)||(this[_0x4f73bb(0x191)][_0x4f73bb(0x1e5)](_0x3744b8),this[_0x4f73bb(0x19f)][_0x4f73bb(0x200)](_0x3744b8),this[_0x4f73bb(0x16b)]||_0x4f73bb(0x189)==_0x3744b8[_0x4f73bb(0x145)]&&!_0x3744b8[_0x4f73bb(0x196)]||this[_0x4f73bb(0x1d6)]());}[_0x5c6e6e(0x1a4)](_0x35cb4c=!0x1){const _0x232273=_0x5c6e6e;!_0x35cb4c&&this[_0x232273(0x13d)]||(this[_0x232273(0x13d)]=!0x0,clearTimeout(this[_0x232273(0x170)]),this[_0x232273(0x170)]=setTimeout(()=>{const _0x1f0389=_0x232273;this[_0x1f0389(0x13a)]()[_0x1f0389(0x1a6)](_0x454b92=>{const _0x21f58e=_0x1f0389;_0x454b92&&(this[_0x21f58e(0x19a)](),this[_0x21f58e(0x13d)]=!0x1);})[_0x1f0389(0x12a)](_0x57b1c2=>{const _0x223b1c=_0x1f0389;this[_0x223b1c(0x19a)](),this[_0x223b1c(0x13d)]=!0x1,function(_0x2e4c4f){const _0x3a92da=_0x223b1c;return _0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x15a))||_0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x112))||_0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x20e));}(_0x57b1c2)||this[_0x223b1c(0x1b0)](_0x57b1c2[_0x223b1c(0x1f0)],_0x57b1c2);});},this[_0x232273(0x1b3)]));}[_0x5c6e6e(0x210)](){return new Promise(_0x27484b=>{const _0x3f113a=_0x11a5;this['on'](_0x3f113a(0x175),()=>{_0x27484b();});});}async[_0x5c6e6e(0x13a)](){const _0x2d17b2=_0x5c6e6e,_0x1d8fc0=this[_0x2d17b2(0x1ca)][_0x2d17b2(0x1ac)][_0x2d17b2(0x186)](_0x8e76f3);if(this[_0x2d17b2(0x18b)]()&&(_0x1d8fc0[_0x2d17b2(0x1a2)](),this[_0x2d17b2(0x1aa)]=!0x1),!this[_0x2d17b2(0x143)]())return!0x0;const _0x2cbf36=[...this[_0x2d17b2(0x19f)]];for(const _0x17bd92 of _0x2cbf36)_0x17bd92[_0x2d17b2(0x133)]=this[_0x2d17b2(0x1dc)][_0x2d17b2(0x1c5)][_0x2d17b2(0x1a7)](_0x17bd92);const _0x4f6be1=this[_0x2d17b2(0x1e8)][_0x2d17b2(0x130)](_0x2cbf36),_0x5d940b=G++,_0x5c0e61=this[_0x2d17b2(0x17a)](_0x2cbf36),_0xabec56=await this[_0x2d17b2(0x1d8)][_0x2d17b2(0x134)](_0x5c0e61,_0x5c0e61[_0x2d17b2(0x1a8)],_0x4f6be1);try{return await this[_0x2d17b2(0x201)](_0x2cbf36,_0xabec56,_0x5d940b);}catch(_0x4c8824){return this[_0x2d17b2(0x1b0)](_0x2d17b2(0x12d),_0x4c8824);}}async[_0x5c6e6e(0x201)](_0x28819a,_0x1244b1,_0x25be87){const _0x4267dd=_0x5c6e6e;if(_0x4267dd(0x1dd)in _0x1244b1)throw _0x1244b1[_0x4267dd(0x1dd)];let _0x54a472=!0x1;if(_0x1244b1[_0x4267dd(0x1db)]){_0x1244b1[_0x4267dd(0x1a5)]&&(this[_0x4267dd(0x214)]=_0x1244b1[_0x4267dd(0x1a5)]),this[_0x4267dd(0x19f)]=this[_0x4267dd(0x19f)][_0x4267dd(0x1f1)](_0x5503ec=>!_0x28819a[_0x4267dd(0x182)](_0x5503ec));for(const _0x12e645 of _0x28819a)_0x12e645[_0x4267dd(0x1cc)]=_0x4267dd(0x13c)in _0x1244b1&&_0x1244b1[_0x4267dd(0x13c)]||void 0x0;K(_0x28819a,_0x1244b1[_0x4267dd(0x154)]-_0x28819a[_0x4267dd(0x148)]),this[_0x4267dd(0x16a)](_0x28819a);const _0x26aaad=_0x28819a[_0x4267dd(0x1f1)](_0x5eced0=>{const _0x37ec76=_0x4267dd;if(!_0x5eced0[_0x37ec76(0x16c)])return!0x1;const _0xcc8ec5=this[_0x37ec76(0x199)](_0x5eced0);return _0xcc8ec5&&!this[_0x37ec76(0x1c6)][_0x37ec76(0x179)](_0xcc8ec5);});K(_0x26aaad,this[_0x4267dd(0x1dc)][_0x4267dd(0x154)]),this[_0x4267dd(0x1cd)](_0x26aaad),_0x54a472=!0x0,this[_0x4267dd(0x1b3)]=this[_0x4267dd(0x195)];}else{const _0x3808f9=this[_0x4267dd(0x1be)](_0x1244b1[_0x4267dd(0x129)],_0x1244b1[_0x4267dd(0x12c)])[_0x4267dd(0x1f1)](_0x5dc1cf=>_0x5dc1cf[_0x4267dd(0x1a8)]>=this[_0x4267dd(0x114)]);_0x3808f9[_0x4267dd(0x1c9)](_0x1ee4b2=>this[_0x4267dd(0x1ea)](_0x1ee4b2)),this[_0x4267dd(0x19f)]=this[_0x4267dd(0x19f)][_0x4267dd(0x1f1)](_0x50514a=>!_0x50514a[_0x4267dd(0x16c)]||!this[_0x4267dd(0x1c6)][_0x4267dd(0x179)](this[_0x4267dd(0x199)](_0x50514a))),this[_0x4267dd(0x19f)][_0x4267dd(0x148)]&&K(this[_0x4267dd(0x19f)],this[_0x4267dd(0x19f)][0x0][_0x4267dd(0x1a8)]),await this[_0x4267dd(0x144)](_0x3808f9),_0x54a472=this[_0x4267dd(0x13e)](_0x3808f9,_0x1244b1[_0x4267dd(0x154)],_0x1244b1[_0x4267dd(0x1a5)]),this[_0x4267dd(0x1b3)]=Math[_0x4267dd(0x14d)](this[_0x4267dd(0x1b3)]/0x2);}return _0x54a472?!this[_0x4267dd(0x143)]()||(this[_0x4267dd(0x1a4)](!0x0),!0x1):this[_0x4267dd(0x1b0)](_0x4267dd(0x1f4));}[_0x5c6e6e(0x13e)](_0x354a95,_0x2f1682,_0x280516){const _0xfa2867=_0x5c6e6e;try{const _0x1182ff={'document':this[_0xfa2867(0x1dc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5108db,operationsB:_0x4a7982,originalOperations:_0xa42101}=_0xf34b17(_0x354a95,this[_0xfa2867(0x19f)],_0x1182ff);K(_0x5108db,this[_0xfa2867(0x1dc)][_0xfa2867(0x154)]),K(_0x4a7982,_0x2f1682);for(const _0x24425e of _0x5108db){const _0x38e0ee=_0xa42101[_0xfa2867(0x186)](_0x24425e);_0x24425e[_0xfa2867(0x16d)]=_0x38e0ee?_0x38e0ee[_0xfa2867(0x16d)]:null;}_0x280516&&(this[_0xfa2867(0x1e8)][_0xfa2867(0x17b)](_0x354a95,_0x280516),this[_0xfa2867(0x214)]=_0x280516),this[_0xfa2867(0x19f)]=[..._0x4a7982],this[_0xfa2867(0x1cd)](_0x5108db),this[_0xfa2867(0x16a)](_0x354a95);}catch(_0x2567f0){return console[_0xfa2867(0x1dd)](_0x2567f0),!0x1;}return!0x0;}[_0x5c6e6e(0x1cd)](_0x39ab4e,_0x593ce7=!0x1){const _0x34827e=_0x5c6e6e;this[_0x34827e(0x1ca)][_0x34827e(0x126)][_0x34827e(0x15d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2540b6=>{const _0x58e696=_0x34827e;for(const _0x3e5a56 of _0x39ab4e)this[_0x58e696(0x191)][_0x58e696(0x1e5)](_0x3e5a56),this[_0x58e696(0x1ea)](_0x3e5a56),_0x2540b6[_0x58e696(0x19b)][_0x58e696(0x1bd)](_0x3e5a56),this[_0x58e696(0x1ca)][_0x58e696(0x126)][_0x58e696(0x207)](_0x3e5a56);});}[_0x5c6e6e(0x1ea)](_0x49d9ac){const _0x4f2a47=_0x5c6e6e,_0x3465dc=this[_0x4f2a47(0x199)](_0x49d9ac);_0x3465dc&&this[_0x4f2a47(0x1c6)][_0x4f2a47(0x1e5)](_0x3465dc);}[_0x5c6e6e(0x199)](_0x220c9a){const _0x1bfb56=_0x5c6e6e;let _0x1611a5,_0x48cdc5;switch(_0x220c9a[_0x1bfb56(0x145)]){case _0x1bfb56(0x185):_0x1611a5=_0x220c9a[_0x1bfb56(0x206)][_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x189):if(_0x48cdc5=_0x220c9a[_0x1bfb56(0x20f)],!_0x48cdc5)return null;_0x1611a5=_0x48cdc5[_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x1af):_0x1611a5=_0x220c9a[_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x180):_0x1611a5=_0x220c9a[_0x1bfb56(0x1c8)];break;case _0x1bfb56(0x116):_0x1611a5=_0x220c9a[_0x1bfb56(0x13b)][_0x1bfb56(0x1b5)];break;default:return null;}return _0x1611a5[_0x1bfb56(0x113)];}[_0x5c6e6e(0x16a)](_0x5d23ad){const _0x225f8b=_0x5c6e6e;_0x5d23ad[_0x225f8b(0x1c9)](_0x5b1509=>{const _0x494699=_0x225f8b,_0x3dac89=_0x5b1509[_0x494699(0x124)]();_0x3dac89[_0x494699(0x16d)]=_0x5b1509[_0x494699(0x16d)],_0x3dac89[_0x494699(0x16c)]=!!_0x5b1509[_0x494699(0x16c)],_0x3dac89[_0x494699(0x1cc)]=_0x5b1509[_0x494699(0x1cc)],_0x3dac89[_0x494699(0x1a8)]+=this[_0x494699(0x1b4)],_0x5b1509[_0x494699(0x146)]&&this[_0x494699(0x12e)][_0x494699(0x1e5)](_0x3dac89),this[_0x494699(0x1d0)][_0x494699(0x1bd)](_0x3dac89);});}[_0x5c6e6e(0x1bb)](_0x40f924){const _0x7800db=_0x5c6e6e,_0x36d842=this[_0x7800db(0x1ca)][_0x7800db(0x1ac)][_0x7800db(0x186)](_0x7800db(0x147)),_0x367de5=this[_0x7800db(0x1ca)][_0x7800db(0x160)];_0x40f924||(_0x40f924=_0x7aa812(_0x367de5,_0x7800db(0x156))),_0x36d842[_0x7800db(0x1c4)](_0x40f924,{'title':_0x7aa812(_0x367de5,_0x7800db(0x11e)),'namespace':_0x7800db(0x181)}),this[_0x7800db(0x17d)]=!0x0,clearTimeout(this[_0x7800db(0x170)]),this[_0x7800db(0x19f)]=[],this[_0x7800db(0x1ca)][_0x7800db(0x1ac)][_0x7800db(0x186)](_0x1ceaf1)[_0x7800db(0x20b)]();}[_0x5c6e6e(0x1d6)](){const _0x4393f1=_0x5c6e6e;this[_0x4393f1(0x16b)]||(this[_0x4393f1(0x16b)]=this[_0x4393f1(0x1ca)][_0x4393f1(0x1ac)][_0x4393f1(0x186)](_0xbad72d)[_0x4393f1(0x1e5)](_0x7aa812(this[_0x4393f1(0x1ca)][_0x4393f1(0x160)],_0x4393f1(0x1ff))));}[_0x5c6e6e(0x19a)](){const _0x2f3626=_0x5c6e6e;this[_0x2f3626(0x16b)]&&(this[_0x2f3626(0x1ca)][_0x2f3626(0x1ac)][_0x2f3626(0x186)](_0xbad72d)[_0x2f3626(0x17f)](this[_0x2f3626(0x16b)]),this[_0x2f3626(0x16b)]=null);}[_0x5c6e6e(0x17a)](_0x5849f2){const _0x1e78e3=_0x5c6e6e,_0x2453a7=_0x5849f2[_0x1e78e3(0x213)](_0x9edceb=>_0x9edceb[_0x1e78e3(0x18e)]());return this[_0x1e78e3(0x135)][_0x1e78e3(0x16e)](_0x2453a7);}[_0x5c6e6e(0x1be)](_0xbce8bf,_0x22e7d1){const _0x6a64bd=_0x5c6e6e;return this[_0x6a64bd(0x135)][_0x6a64bd(0x1e9)](_0xbce8bf)[_0x6a64bd(0x213)]((_0x1d2e68,_0x1710e6)=>{const _0xbe5c91=_0x6a64bd,_0x7f8d9f=_0xbe5c91(0x1e7)==_0x22e7d1[_0x1710e6][_0xbe5c91(0x145)];if(_0xbe5c91(0x1d7)==_0x1d2e68[_0xbe5c91(0x1ed)]){const _0x311277=_0x1d2e68[_0xbe5c91(0x206)][_0xbe5c91(0x1b5)];!this[_0xbe5c91(0x1dc)][_0xbe5c91(0x1f2)](_0x311277)&&(this[_0xbe5c91(0x1dc)][_0xbe5c91(0x1b6)](_0xbe5c91(0x18a),_0x311277)[_0xbe5c91(0x15b)]=!0x1);}const _0x4ab232=_0x4ae083[_0xbe5c91(0x1c7)](_0x1d2e68,this[_0xbe5c91(0x1dc)]);return _0x4ab232[_0xbe5c91(0x133)]=_0x1d2e68[_0xbe5c91(0x133)],_0x4ab232[_0xbe5c91(0x16c)]=_0x7f8d9f,_0x4ab232[_0xbe5c91(0x16d)]=_0x7f8d9f?null:_0x22e7d1[_0x1710e6][_0xbe5c91(0x14b)],_0x4ab232[_0xbe5c91(0x146)]=_0xbe5c91(0x20d)===_0x22e7d1[_0x1710e6][_0xbe5c91(0x145)],_0x4ab232[_0xbe5c91(0x1cc)]=_0x22e7d1[_0x1710e6][_0xbe5c91(0x1cc)],_0x4ab232;});}[_0x5c6e6e(0x1f7)](){const _0x509e05=_0x5c6e6e;this[_0x509e05(0x1aa)]=!0x0,this[_0x509e05(0x18b)]()?this[_0x509e05(0x1a4)]():this[_0x509e05(0x1aa)]=!0x1;}[_0x5c6e6e(0x18b)](){const _0x451ce2=_0x5c6e6e,_0x329fd6=this[_0x451ce2(0x1ca)][_0x451ce2(0x1ac)][_0x451ce2(0x186)](_0x588e59)[_0x451ce2(0x1b1)][_0x451ce2(0x186)](this[_0x451ce2(0x128)]);return!this[_0x451ce2(0x1ca)][_0x451ce2(0x1bc)]&&!!_0x329fd6&&_0x329fd6[_0x451ce2(0x148)]>0x1&&this[_0x451ce2(0x1aa)];}[_0x5c6e6e(0x143)](){const _0x2892bd=_0x5c6e6e;return this[_0x2892bd(0x19f)][_0x2892bd(0x148)]>0x0||this[_0x2892bd(0x18b)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x5bb683,_0x4c163c){const _0x315027=_0x5c6e6e;for(const _0x4d134c of _0x5bb683)_0x4d134c[_0x315027(0x1a8)]=_0x4c163c++;}class J{[_0x5c6e6e(0x197)];[_0x5c6e6e(0x1c2)];constructor(_0x3cd041){const _0x2f427d=_0x5c6e6e;this[_0x2f427d(0x197)]=_0x3cd041,this[_0x2f427d(0x1c2)]=new WeakMap();}[_0x5c6e6e(0x130)](_0x277960){const _0x5540ab=_0x5c6e6e;let _0xc1457b=_0x277960[_0x5540ab(0x148)];for(;_0xc1457b--;){const _0x564aac=_0x277960[_0xc1457b];if(!this[_0x5540ab(0x197)][_0x5540ab(0x179)](_0x564aac)){if(!this[_0x5540ab(0x1c2)][_0x5540ab(0x179)](_0x564aac)){const _0x44d0a8=_0x44d963()[_0x5540ab(0x20a)](0x1,0x12);this[_0x5540ab(0x1c2)][_0x5540ab(0x204)](_0x564aac,_0x44d0a8);}return this[_0x5540ab(0x1c2)][_0x5540ab(0x186)](_0x564aac);}}}[_0x5c6e6e(0x17b)](_0x410695,_0x2515f3){const _0x1e3c46=_0x5c6e6e;if(!_0x2515f3)return;let _0x59f0f0=_0x410695[_0x1e3c46(0x148)];for(;_0x59f0f0--;){const _0x7ad912=_0x410695[_0x59f0f0];this[_0x1e3c46(0x197)][_0x1e3c46(0x179)](_0x7ad912)||this[_0x1e3c46(0x1c2)][_0x1e3c46(0x204)](_0x7ad912,_0x2515f3);}}}
|
|
23
|
+
const _0x193acb=_0x2120;(function(_0x428128,_0x532dbf){const _0x21f526=_0x2120,_0x4f7c65=_0x428128();while(!![]){try{const _0x332c2e=-parseInt(_0x21f526(0x116))/0x1+-parseInt(_0x21f526(0x1bb))/0x2+parseInt(_0x21f526(0x1d1))/0x3*(-parseInt(_0x21f526(0x11f))/0x4)+-parseInt(_0x21f526(0x136))/0x5+-parseInt(_0x21f526(0x1e5))/0x6+-parseInt(_0x21f526(0x10a))/0x7+parseInt(_0x21f526(0x183))/0x8;if(_0x332c2e===_0x532dbf)break;else _0x4f7c65['push'](_0x4f7c65['shift']());}catch(_0x134c42){_0x4f7c65['push'](_0x4f7c65['shift']());}}}(_0x1b45,0x27d39));import{Plugin as _0x1c6379,PendingActions as _0x422c48}from'ckeditor5/src/core.js';import{CKEditorError as _0xee023d,version as _0x501f78,uid as _0x1b2547}from'ckeditor5/src/utils.js';import{Notification as _0x1d84a7}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x2d54a2,NoOperation as _0x1a58c0,InsertOperation as _0x42b20e,MarkerOperation as _0x30ddd4,RootAttributeOperation as _0x77a20f,OperationFactory as _0x2e75c6,History as _0xf9fe5c}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x2b6adb}from'./websocketgateway.js';import{Sessions as _0x59582d}from'./sessions.js';function _0x2120(_0x1311f7,_0x45eab5){const _0x1b459f=_0x1b45();return _0x2120=function(_0x21203b,_0x43dcec){_0x21203b=_0x21203b-0xea;let _0x4742f0=_0x1b459f[_0x21203b];return _0x4742f0;},_0x2120(_0x1311f7,_0x45eab5);}import{UserMarkers as _0x4c2078}from'./usermarkers.js';import{getTranslation as _0x4f32f9}from'../common-translations.js';import{Compressor as _0x221af9}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1f1cf7}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xff91df,CollaborativeEditingService as _0x4c0be7}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x1c6379{static [_0x193acb(0x1a0)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4c0be7)());[_0x193acb(0xf9)];[_0x193acb(0xfe)];[_0x193acb(0x19a)];[_0x193acb(0x150)];[_0x193acb(0x164)];[_0x193acb(0x12e)];[_0x193acb(0x1a2)];[_0x193acb(0x195)];[_0x193acb(0x17d)];[_0x193acb(0x131)];[_0x193acb(0x132)];[_0x193acb(0x14e)];[_0x193acb(0x16a)];[_0x193acb(0x16d)];[_0x193acb(0x188)];[_0x193acb(0x19f)];[_0x193acb(0x16c)];[_0x193acb(0x1a4)];static get[_0x193acb(0x1d7)](){return[_0x2b6adb,_0x59582d,_0x4c2078,_0x422c48,_0x1f1cf7,_0x1d84a7];}static get[_0x193acb(0x144)](){const _0x25a045=_0x193acb;return _0x25a045(0xf0);}static get[_0x193acb(0x118)](){return!0x0;}static get[_0x193acb(0x166)](){return!0x0;}get[_0x193acb(0x14a)](){const _0xfa83c3=_0x193acb;return this[_0xfa83c3(0x1bf)]+this[_0xfa83c3(0xf9)];}get[_0x193acb(0x1bf)](){const _0x143601=_0x193acb;return this[_0x143601(0x19a)][_0x143601(0x14f)]-this[_0x143601(0xf9)];}get[_0x193acb(0x139)](){const _0x59b79d=_0x193acb,_0x4649a7=this[_0x59b79d(0x19a)][_0x59b79d(0x10b)]();for(let _0x3da586=_0x4649a7[_0x59b79d(0x17b)]-0x1;_0x3da586>=0x0;_0x3da586--){const _0x3bc77f=_0x4649a7[_0x3da586];if(!this[_0x59b79d(0x16c)][_0x59b79d(0x100)](_0x3bc77f))return _0x3bc77f[_0x59b79d(0x1ae)]+0x1-this[_0x59b79d(0xf9)];}return 0x0;}constructor(_0x51a8cb){const _0x408c0c=_0x193acb;if(super(_0x51a8cb),this[_0x408c0c(0xf9)]=0x0,this[_0x408c0c(0xfe)]=null,this[_0x408c0c(0x19a)]=new _0xf9fe5c(),this[_0x408c0c(0x15c)][_0x408c0c(0x1c5)][_0x408c0c(0x19b)](_0x408c0c(0xf7),{}),this[_0x408c0c(0x150)]=this[_0x408c0c(0x15c)][_0x408c0c(0x1c5)][_0x408c0c(0x193)](_0x408c0c(0x1e2)),!this[_0x408c0c(0x150)])throw new _0xee023d(_0x408c0c(0x1d8),this);const _0x433576=_0x51a8cb[_0x408c0c(0x1c5)][_0x408c0c(0x193)](_0x408c0c(0x153))||_0x501f78;this[_0x408c0c(0x164)]=new l[(_0x408c0c(0x1a0))](_0x433576,this[_0x408c0c(0x150)]),this[_0x408c0c(0x12e)]=this[_0x408c0c(0x15c)][_0x408c0c(0x146)][_0x408c0c(0xfd)],this[_0x408c0c(0x1a2)]=new _0x221af9(),this[_0x408c0c(0x195)]=[],this[_0x408c0c(0x17d)]=new WeakSet(),this[_0x408c0c(0x131)]=new Set(),this[_0x408c0c(0x18f)](_0x408c0c(0x175),!0x1),this[_0x408c0c(0x18f)](_0x408c0c(0x126),!0x1),this[_0x408c0c(0x132)]=null,this[_0x408c0c(0x14e)]=!0x1,this[_0x408c0c(0x16a)]=null,this[_0x408c0c(0x16d)]=0x12c,this[_0x408c0c(0x188)]=this[_0x408c0c(0x16d)],this[_0x408c0c(0x19f)]=null,this[_0x408c0c(0x16c)]=new WeakSet(),this[_0x408c0c(0x1a4)]=new J(this[_0x408c0c(0x16c)]);}[_0x193acb(0xf5)](){const _0x538b3d=_0x193acb,_0x54c246=this[_0x538b3d(0x15c)],_0x2860fd=_0x54c246[_0x538b3d(0x17f)][_0x538b3d(0x193)](_0x1f1cf7),_0x321738=_0x54c246[_0x538b3d(0x17f)][_0x538b3d(0x193)](_0x2b6adb);this[_0x538b3d(0x1a6)](_0x2860fd,_0x538b3d(0x16e),(_0x47082a,_0x474f5c)=>{const _0x1bccf7=_0x538b3d,_0x3e1099=_0x474f5c[0x0];_0x3e1099[_0x1bccf7(0xfc)]&&(_0x47082a[_0x1bccf7(0x194)]=_0x2860fd[_0x1bccf7(0x1c6)](_0x3e1099[_0x1bccf7(0xfc)]),_0x47082a[_0x1bccf7(0x1e1)]()),null===_0x3e1099[_0x1bccf7(0xfc)]&&(_0x47082a[_0x1bccf7(0x194)]=null,_0x47082a[_0x1bccf7(0x1e1)]());},{'priority':_0x538b3d(0x1d3)}),this[_0x538b3d(0x1a6)](_0x54c246[_0x538b3d(0x146)][_0x538b3d(0xfd)][_0x538b3d(0x123)],_0x538b3d(0x1c0),(_0x1da54f,_0x1dddcf)=>{const _0xe9d60e=_0x538b3d;_0x1dddcf[_0xe9d60e(0x13e)]&&this[_0xe9d60e(0x169)]();}),this[_0x538b3d(0x1a6)](_0x54c246[_0x538b3d(0x177)][_0x538b3d(0x161)],_0x538b3d(0x170),()=>{const _0x57bf11=_0x538b3d;this[_0x57bf11(0x169)]();}),this[_0x538b3d(0xf3)](),_0x54c246[_0x538b3d(0x146)]['on'](_0x538b3d(0x157),(_0x13586d,_0x12da9a)=>{const _0x5e01f0=_0x538b3d,_0x46b915=_0x12da9a[0x0];_0x46b915[_0x5e01f0(0x159)]&&(this[_0x5e01f0(0x167)](_0x46b915),this[_0x5e01f0(0x119)]()&&this[_0x5e01f0(0x12c)]());}),this[_0x538b3d(0x1a3)](),this[_0x538b3d(0x1d2)](_0x538b3d(0x18a))['to'](_0x321738,_0x538b3d(0x17a),this,_0x538b3d(0x126),(_0x1bb3c4,_0x509a2b)=>_0x538b3d(0x134)===_0x1bb3c4&&!_0x509a2b),this['on'](_0x538b3d(0x1cd),()=>{const _0x509951=_0x538b3d;this[_0x509951(0x18a)]?_0x54c246[_0x509951(0x1cb)](_0x509951(0x1ce)):_0x54c246[_0x509951(0x1c4)](_0x509951(0x1ce));}),this[_0x538b3d(0x18a)]?_0x54c246[_0x538b3d(0x1cb)](_0x538b3d(0x1ce)):_0x54c246[_0x538b3d(0x1c4)](_0x538b3d(0x1ce)),this[_0x538b3d(0x18f)](_0x538b3d(0x18d),!0x1);}async[_0x193acb(0x12f)](){const _0x10eadf=_0x193acb,_0x29dd26=this[_0x10eadf(0x15c)][_0x10eadf(0x17f)][_0x10eadf(0x193)](_0x59582d),_0x28894f=this[_0x10eadf(0x15c)][_0x10eadf(0x17f)][_0x10eadf(0x193)](_0x2b6adb);try{this[_0x10eadf(0x175)]=!0x0,_0x29dd26[_0x10eadf(0x196)](this[_0x10eadf(0x150)]);const _0xdd0e44=await this[_0x10eadf(0x164)][_0x10eadf(0x12f)](_0x28894f[_0x10eadf(0x1cf)],this[_0x10eadf(0x139)]);await this[_0x10eadf(0x11a)](_0xdd0e44)&&(this[_0x10eadf(0x175)]=!0x1,this[_0x10eadf(0x101)]());const _0x271961=await this[_0x10eadf(0x164)][_0x10eadf(0x1b9)]();_0x29dd26[_0x10eadf(0x1ac)](this[_0x10eadf(0x150)],_0x271961),this[_0x10eadf(0x12a)](),this[_0x10eadf(0x18d)]=!0x0;}catch(_0x328bc1){if(function(_0x34d88a){const _0x2645e1=_0x10eadf;return _0x2645e1(0x186)===_0x34d88a[_0x2645e1(0x109)];}(_0x328bc1)&&this[_0x10eadf(0xfe)])await this[_0x10eadf(0xec)]();else{if(function(_0x308f60){const _0x2cb052=_0x10eadf;return _0x2cb052(0x1bd)===_0x308f60[_0x2cb052(0x109)];}(_0x328bc1)){const _0x40f41e=_0x4f32f9(this[_0x10eadf(0x15c)][_0x10eadf(0xf2)],_0x10eadf(0x1cc));this[_0x10eadf(0x15d)](_0x40f41e);}else{if(!(_0x328bc1 instanceof $))throw _0x328bc1;this[_0x10eadf(0x15d)]();}}}}[_0x193acb(0x1b8)](){const _0x181a1d=_0x193acb,_0x1e61e2=this[_0x181a1d(0x15c)][_0x181a1d(0x17f)][_0x181a1d(0x193)](_0x2b6adb),_0xe76026=this[_0x181a1d(0x15c)][_0x181a1d(0x17f)][_0x181a1d(0x193)](_0x59582d);this[_0x181a1d(0x15c)][_0x181a1d(0x1c4)](_0x181a1d(0x1e7)),_0xe76026[_0x181a1d(0x1ba)][_0x181a1d(0x100)](this[_0x181a1d(0x150)])&&_0xe76026[_0x181a1d(0x196)](this[_0x181a1d(0x150)]),_0x1e61e2[_0x181a1d(0x1bc)](this),this[_0x181a1d(0x1b6)](),super[_0x181a1d(0x1b8)]();}async[_0x193acb(0x11a)](_0x4b27e4){const _0x5cdd34=_0x193acb;if(this[_0x5cdd34(0xfe)]!==_0x4b27e4[_0x5cdd34(0xfe)]&&this[_0x5cdd34(0x19f)]!==_0x4b27e4[_0x5cdd34(0xfa)])throw new $();return this[_0x5cdd34(0xfe)]=_0x4b27e4[_0x5cdd34(0xfe)],this[_0x5cdd34(0x13f)]([],{..._0x4b27e4,'wereChangesApplied':!0x1,'data':_0x4b27e4[_0x5cdd34(0x113)]},_0x5cdd34(0x12f));}async[_0x193acb(0x19e)](_0x89b024,_0x4a8f8f=!0x1){const _0x155311=_0x193acb,{connection:_0x3279cc}=this[_0x155311(0x15c)][_0x155311(0x17f)][_0x155311(0x193)](_0x2b6adb);l[_0x155311(0x1a0)][_0x155311(0x1b9)](_0x3279cc,this[_0x155311(0x150)])[_0x155311(0x133)](_0x4fd37c=>this[_0x155311(0x10f)](_0x4fd37c))[_0x155311(0x172)](_0xfdcccb=>{const _0xdb804c=_0x155311;this[_0xdb804c(0x147)](_0xdb804c(0x127),_0xfdcccb);}),this[_0x155311(0x1a6)](this[_0x155311(0x164)],_0x155311(0x103),this[_0x155311(0xfb)][_0x155311(0x1d2)](this)),this[_0x155311(0x1a6)](this[_0x155311(0x164)],_0x155311(0x1ca),(_0x111090,_0x3579b7)=>{const _0x153a8d=_0x155311;this[_0x153a8d(0x147)](_0x153a8d(0x1af),_0x3579b7);}),this[_0x155311(0x1a6)](this[_0x155311(0x164)],_0x155311(0x1e9),()=>{const _0x3157fe=_0x155311;this[_0x3157fe(0x18d)]=!0x1;});const _0x22edcf=this[_0x155311(0x1a4)][_0x155311(0x15a)](_0x89b024);this[_0x155311(0x175)]=!0x0;const _0x49845c=await this[_0x155311(0x164)][_0x155311(0x18e)](_0x3279cc,this[_0x155311(0x112)](_0x89b024),_0x22edcf);if(this[_0x155311(0xfe)]=_0x49845c[_0x155311(0xfe)],_0x4a8f8f){if(!_0x49845c[_0x155311(0x156)])return void this[_0x155311(0x15d)]();this[_0x155311(0x175)]=!0x1,this[_0x155311(0x101)](),this[_0x155311(0x19a)][_0x155311(0x107)](),this[_0x155311(0xf9)]=_0x49845c[_0x155311(0x1e8)],this[_0x155311(0x19a)][_0x155311(0x14f)]=this[_0x155311(0xf9)],await this[_0x155311(0x13f)](_0x89b024,_0x49845c,_0x155311(0x1d0));}else await this[_0x155311(0x1d9)](_0x49845c,_0x89b024);this[_0x155311(0x12a)](),this[_0x155311(0x18d)]=!0x0;}[_0x193acb(0x12a)](){const _0x2db2f4=_0x193acb,_0x61a77b=this[_0x2db2f4(0x15c)][_0x2db2f4(0x17f)][_0x2db2f4(0x193)](_0x59582d),_0x529127=this[_0x2db2f4(0x15c)][_0x2db2f4(0x17f)][_0x2db2f4(0x193)](_0x4c2078),_0x974e39=_0x61a77b[_0x2db2f4(0x1ba)][_0x2db2f4(0x193)](this[_0x2db2f4(0x150)]);_0x974e39&&_0x974e39[_0x2db2f4(0x17b)]>0x1?_0x529127[_0x2db2f4(0x1df)]():this[_0x2db2f4(0x1a6)](_0x61a77b,_0x2db2f4(0x10c)+this[_0x2db2f4(0x150)],()=>{const _0x1e80c4=_0x2db2f4;0x2===_0x61a77b[_0x1e80c4(0x1ba)][_0x1e80c4(0x193)](this[_0x1e80c4(0x150)])[_0x1e80c4(0x17b)]&&_0x529127[_0x1e80c4(0x1df)]();});}async[_0x193acb(0xfb)](_0x4424e1,_0x29088,_0x3a32b5,_0x5a6224){const _0x1b89d1=_0x193acb;if(!this[_0x1b89d1(0x175)]&&this[_0x1b89d1(0x12e)][_0x1b89d1(0x14f)]==_0x29088){const _0x27f27b=this[_0x1b89d1(0x184)](_0x3a32b5,_0x5a6224);await this[_0x1b89d1(0x154)](_0x27f27b),this[_0x1b89d1(0x152)](_0x27f27b,_0x29088,_0x3a32b5[_0x1b89d1(0xfa)])||this[_0x1b89d1(0x147)](_0x1b89d1(0x117));}}async[_0x193acb(0xec)](){const _0xba43f5=_0x193acb;this[_0xba43f5(0x1b6)]();const {locale:_0x393fa7}=this[_0xba43f5(0x15c)];let _0x91ebac;try{_0x91ebac=await this[_0xba43f5(0x164)][_0xba43f5(0x19c)]();}catch{const _0x2c8bd2=_0x4f32f9(_0x393fa7,_0xba43f5(0x15b));return void this[_0xba43f5(0x15d)](_0x2c8bd2);}const _0x48aa32=_0x91ebac[_0xba43f5(0x15f)]||_0x91ebac[_0xba43f5(0x16f)];if(this[_0xba43f5(0x19f)]!==_0x48aa32[_0xba43f5(0xfa)]){const _0x154a1c=_0x4f32f9(_0x393fa7,_0xba43f5(0x1aa));return void this[_0xba43f5(0x15d)](_0x154a1c);}await this[_0xba43f5(0x19e)](this[_0xba43f5(0x15c)][_0xba43f5(0x146)][_0xba43f5(0xfd)][_0xba43f5(0x1e0)][_0xba43f5(0x10b)](),!0x0);}[_0x193acb(0x1b6)](){const _0x21a04a=_0x193acb;this[_0x21a04a(0x164)][_0x21a04a(0x130)](),this[_0x21a04a(0x195)]=[],clearTimeout(this[_0x21a04a(0x16a)]),this[_0x21a04a(0x1c1)](this[_0x21a04a(0x164)]);}[_0x193acb(0x10f)](_0x4b5db6){const _0x6f107b=_0x193acb,_0x112a42=this[_0x6f107b(0x15c)][_0x6f107b(0x17f)][_0x6f107b(0x193)](_0x59582d);this[_0x6f107b(0x1a6)](_0x112a42,_0x6f107b(0x10c)+this[_0x6f107b(0x150)],(_0x6f7e6a,{session:_0x224787})=>{const _0x373d36=_0x6f107b;if(_0x224787['id']===_0x112a42[_0x373d36(0x160)]){_0x6f7e6a[_0x373d36(0x158)]();const _0x1cc4ed=this[_0x373d36(0x15c)][_0x373d36(0x17f)][_0x373d36(0x100)](_0x373d36(0xed))&&this[_0x373d36(0x15c)][_0x373d36(0x17f)][_0x373d36(0x193)](_0x373d36(0xed));let _0x173f57=_0x224787[_0x373d36(0x1c7)];_0x1cc4ed&&_0x1cc4ed[_0x373d36(0x192)]&&(_0x173f57=_0x173f57[_0x373d36(0x121)](_0x250cbf=>_0x373d36(0x176)!==_0x250cbf)),this[_0x373d36(0x15c)][_0x373d36(0x17f)][_0x373d36(0x193)](_0x373d36(0x1da))[_0x373d36(0x105)](_0x173f57,this[_0x373d36(0x150)]);}}),_0x112a42[_0x6f107b(0x1ac)](this[_0x6f107b(0x150)],_0x4b5db6);}[_0x193acb(0xf3)](){const _0x1fe063=_0x193acb,_0x2a72d1=this[_0x1fe063(0x15c)][_0x1fe063(0x113)][_0x1fe063(0x18f)];this[_0x1fe063(0x15c)][_0x1fe063(0x113)][_0x1fe063(0x18f)]=(..._0x1b3ee1)=>{const _0x35502c=_0x1fe063;if(!_0x1b3ee1[_0x1b3ee1[_0x35502c(0x17b)]-0x1][_0x35502c(0x149)])throw new _0xee023d(_0x35502c(0x1b1),this);_0x2a72d1[_0x35502c(0x1dd)](this[_0x35502c(0x15c)][_0x35502c(0x113)],_0x1b3ee1);};}[_0x193acb(0x1a3)](){const _0x44deb4=_0x193acb;this[_0x44deb4(0x15c)][_0x44deb4(0x113)]['on'](_0x44deb4(0xf5),(_0x4cdea6,[_0x2cfc60])=>{const _0x21af50=_0x44deb4;if(this[_0x21af50(0x12e)][_0x21af50(0x14f)])throw new _0xee023d(_0x21af50(0xff),this);_0x4cdea6[_0x21af50(0x1e1)](),this[_0x21af50(0x19d)]();const _0x2ed073=this[_0x21af50(0x15c)][_0x21af50(0x1c5)][_0x21af50(0x193)](_0x21af50(0x180)),_0x3866c5=this[_0x21af50(0x14c)](_0x2cfc60,_0x2ed073);0x0==_0x3866c5[_0x21af50(0x17b)]&&_0x3866c5[_0x21af50(0x1d4)](new _0x1a58c0(0x0)),_0x4cdea6[_0x21af50(0x194)]=this[_0x21af50(0x19e)](_0x3866c5)[_0x21af50(0x133)](()=>{const _0x45856a=_0x21af50;this[_0x45856a(0x15c)][_0x45856a(0x17f)][_0x45856a(0x193)](_0x2b6adb)[_0x45856a(0x15e)](this),this[_0x45856a(0x15c)][_0x45856a(0x113)][_0x45856a(0x1a5)](_0x45856a(0x1b5));})[_0x21af50(0x172)](_0x1b58e5=>this[_0x21af50(0x147)](_0x21af50(0x141),_0x1b58e5))[_0x21af50(0x111)](()=>this[_0x21af50(0x101)]());},{'priority':_0x44deb4(0x1d3)}),this[_0x44deb4(0x15c)]['on'](_0x44deb4(0x13d),async(_0x29553e,[_0x5cfe59,_0x4644db])=>{const _0xeca154=_0x44deb4;_0x29553e[_0xeca154(0x1e1)]();const _0x39e281=this[_0xeca154(0x15c)][_0xeca154(0x146)][_0xeca154(0xfd)][_0xeca154(0xef)](_0x5cfe59);if(!this[_0xeca154(0x131)][_0xeca154(0x100)](_0x5cfe59)){const _0x594e26=_0x4644db&&_0x4644db[_0xeca154(0x113)]?_0x4644db[_0xeca154(0x113)]:'',_0x3b545d=_0x4644db&&_0x4644db[_0xeca154(0x124)]?_0x4644db[_0xeca154(0x124)]:{};await this[_0xeca154(0x181)](_0x5cfe59,_0x594e26,_0x3b545d);}this[_0xeca154(0x15c)][_0xeca154(0x146)][_0xeca154(0x1e3)]({'isUndoable':!0x1},()=>{const _0x25ea97=_0xeca154;_0x39e281[_0x25ea97(0x137)]=!0x0,this[_0x25ea97(0x15c)][_0x25ea97(0x146)][_0x25ea97(0xfd)][_0x25ea97(0x165)][_0x25ea97(0x13b)](_0x39e281);});},{'priority':_0x44deb4(0x1d3)});}async[_0x193acb(0x154)](_0x12dfea){const _0x3e9a00=_0x193acb,_0x147546=this[_0x3e9a00(0x15c)][_0x3e9a00(0x17f)][_0x3e9a00(0x193)](_0x1f1cf7),{connection:_0x5dcc2e}=this[_0x3e9a00(0x15c)][_0x3e9a00(0x17f)][_0x3e9a00(0x193)](_0x2b6adb),_0x508ce4=new Set();for(const _0x314fda of _0x12dfea){const _0x5786a8=_0x314fda[_0x3e9a00(0xfc)];_0x5786a8&&!_0x147546[_0x3e9a00(0x1c6)](_0x5786a8)&&_0x508ce4[_0x3e9a00(0x1a1)](_0x5786a8);}if(0x0===_0x508ce4[_0x3e9a00(0x1dc)])return;const _0xe568a2=await _0xff91df[_0x3e9a00(0x1a9)](_0x5dcc2e,Array[_0x3e9a00(0x1be)](_0x508ce4));for(const _0x264969 of _0xe568a2)_0x147546[_0x3e9a00(0x1c6)](_0x264969['id'])||_0x147546[_0x3e9a00(0x1ec)](_0x264969);}[_0x193acb(0x14c)](_0x52b7a2,_0x241a10={}){const _0x4ae0b1=_0x193acb,_0x59f1ec=this[_0x4ae0b1(0x15c)][_0x4ae0b1(0x146)],_0x47ca59=[];let _0x48d0bb=0x0;const _0x33efe7=_0x4ae0b1(0x148)==typeof _0x52b7a2?{'main':_0x52b7a2}:_0x52b7a2;for(const _0x19dbf7 of Object[_0x4ae0b1(0x155)](_0x33efe7)){if(!this[_0x4ae0b1(0x12e)][_0x4ae0b1(0x17c)][_0x4ae0b1(0x100)](_0x19dbf7))throw new _0xee023d(_0x4ae0b1(0x18c),this);const _0x4fef4f=this[_0x4ae0b1(0x15c)][_0x4ae0b1(0x113)][_0x4ae0b1(0xf1)](_0x33efe7[_0x19dbf7]),_0x3def15=this[_0x4ae0b1(0x12e)][_0x4ae0b1(0xef)](_0x19dbf7),_0x158389=new _0x42b20e(_0x59f1ec[_0x4ae0b1(0x1eb)](_0x3def15,0x0),_0x4fef4f,_0x48d0bb++);_0x47ca59[_0x4ae0b1(0x1d4)](_0x158389);for(const [_0xeb0b78,_0x4795b7]of _0x4fef4f[_0x4ae0b1(0x122)]){const _0x368474=_0x59f1ec[_0x4ae0b1(0x1ad)](_0x59f1ec[_0x4ae0b1(0x1ed)](_0x3def15,_0x4795b7[_0x4ae0b1(0x12d)][_0x4ae0b1(0x1c9)][_0x4ae0b1(0x1ab)]()),_0x59f1ec[_0x4ae0b1(0x1ed)](_0x3def15,_0x4795b7[_0x4ae0b1(0x13c)][_0x4ae0b1(0x1c9)][_0x4ae0b1(0x1ab)]())),_0xae193a=new _0x30ddd4(_0xeb0b78,null,_0x368474,_0x59f1ec[_0x4ae0b1(0x122)],!0x0,_0x48d0bb++);_0x47ca59[_0x4ae0b1(0x1d4)](_0xae193a);}}if(_0x241a10)for(const [_0x3185db,_0x21e353]of Object[_0x4ae0b1(0x16b)](_0x241a10)){const _0x2f297c=_0x59f1ec[_0x4ae0b1(0xfd)][_0x4ae0b1(0xef)](_0x3185db);if(!_0x2f297c)throw new _0xee023d(_0x4ae0b1(0x1b3),null);for(const [_0xd01a12,_0x5e37e0]of Object[_0x4ae0b1(0x16b)](_0x21e353))if(null!==_0x5e37e0){const _0x576781=new _0x77a20f(_0x2f297c,_0xd01a12,null,_0x5e37e0,_0x48d0bb++);_0x47ca59[_0x4ae0b1(0x1d4)](_0x576781);}}return _0x47ca59;}async[_0x193acb(0x181)](_0x1e6ccb,_0x5db88c,_0x3fb5a7){const _0xd3e36e=_0x193acb;this[_0xd3e36e(0x14c)]({[_0x1e6ccb]:_0x5db88c},{[_0x1e6ccb]:_0x3fb5a7})[_0xd3e36e(0x168)]((_0x1303ca,_0x4661b9)=>{const _0x53582f=_0xd3e36e;_0x1303ca[_0x53582f(0x1ae)]=this[_0x53582f(0x12e)][_0x53582f(0x14f)]+_0x4661b9,_0x1303ca[_0x53582f(0x14d)]=!0x0,this[_0x53582f(0x167)](_0x1303ca);}),this[_0xd3e36e(0x12c)](),await this[_0xd3e36e(0x138)]();}async[_0x193acb(0x1d9)](_0x1e9eff,_0x54aea8){const _0x27f8f2=_0x193acb;let _0x331976;this[_0x27f8f2(0xf9)]=_0x1e9eff[_0x27f8f2(0x1e8)];const _0x4e5f18=_0x1e9eff[_0x27f8f2(0x156)]&&!_0x1e9eff[_0x27f8f2(0x114)],_0xf6ed27=_0x4e5f18?0x0:_0x1e9eff[_0x27f8f2(0x113)][_0x27f8f2(0x1ae)];if(_0x54aea8[_0x27f8f2(0x168)](_0x2e833e=>{const _0x200fa0=_0x27f8f2;_0x2e833e[_0x200fa0(0x14d)]=!0x0,_0x2e833e[_0x200fa0(0x128)]=_0x1e9eff[_0x200fa0(0x1de)],_0x2e833e[_0x200fa0(0xfc)]=null;}),_0x4e5f18)_0x331976=_0x54aea8,this[_0x27f8f2(0x1d6)](_0x331976,_0x4e5f18);else{if(_0x1e9eff[_0x27f8f2(0x114)]){const _0x5804bb=this[_0x27f8f2(0x14c)](_0x1e9eff[_0x27f8f2(0x114)]);this[_0x27f8f2(0x12e)][_0x27f8f2(0x1e0)][_0x27f8f2(0x14f)]=-_0x5804bb[_0x27f8f2(0x17b)],_0x5804bb[_0x27f8f2(0x168)](_0x596fdc=>{const _0x26d699=_0x27f8f2;_0x596fdc[_0x26d699(0x1ae)]-=_0x5804bb[_0x26d699(0x17b)],_0x596fdc[_0x26d699(0x128)]=_0x1e9eff[_0x26d699(0x1de)],_0x596fdc[_0x26d699(0x14d)]=!0x0,_0x596fdc[_0x26d699(0xfc)]=null;}),this[_0x27f8f2(0x1d6)](_0x5804bb,!0x0),this[_0x27f8f2(0x19a)][_0x27f8f2(0x14f)]=-_0x5804bb[_0x27f8f2(0x17b)]+this[_0x27f8f2(0xf9)],this[_0x27f8f2(0x115)](_0x5804bb);}this[_0x27f8f2(0x12e)][_0x27f8f2(0x1e0)][_0x27f8f2(0x14f)]=_0xf6ed27,_0x331976=this[_0x27f8f2(0x184)](_0x1e9eff[_0x27f8f2(0x113)],_0x1e9eff[_0x27f8f2(0x140)]),await this[_0x27f8f2(0x154)](_0x331976),this[_0x27f8f2(0x1d6)](_0x331976,_0x4e5f18);}_0x1e9eff[_0x27f8f2(0xfa)]&&(this[_0x27f8f2(0x1a4)][_0x27f8f2(0x11b)](_0x331976,_0x1e9eff[_0x27f8f2(0xfa)]),this[_0x27f8f2(0x19f)]=_0x1e9eff[_0x27f8f2(0xfa)]),this[_0x27f8f2(0x19a)][_0x27f8f2(0x14f)]=_0xf6ed27+this[_0x27f8f2(0xf9)],this[_0x27f8f2(0x115)](_0x331976),_0x54aea8[_0x27f8f2(0x121)](_0x31ca44=>{const _0x341501=_0x27f8f2,_0x592d7c=this[_0x341501(0x199)](_0x31ca44);return _0x592d7c&&!this[_0x341501(0x131)][_0x341501(0x100)](_0x592d7c);})[_0x27f8f2(0x168)]((_0x351c08,_0x27dc51)=>{const _0x3f38aa=_0x27f8f2;_0x351c08[_0x3f38aa(0x1ae)]=this[_0x3f38aa(0x12e)][_0x3f38aa(0x14f)]+_0x27dc51,this[_0x3f38aa(0x167)](_0x351c08);}),this[_0x27f8f2(0x119)]()?(this[_0x27f8f2(0x188)]=0x0,this[_0x27f8f2(0x12c)](!0x0),await this[_0x27f8f2(0x138)]()):(this[_0x27f8f2(0x175)]=!0x1,this[_0x27f8f2(0x101)]());}[_0x193acb(0x147)](_0x4e33ea,_0x276655){const _0x19e96b=_0x193acb,_0x197a86=_0x276655&&_0x276655[_0x19e96b(0x108)];if(_0x197a86&&_0x197a86[_0x19e96b(0x151)](_0x19e96b(0x1b4)))throw _0x276655;const _0x1eb714=this[_0x19e96b(0x15c)][_0x19e96b(0x17f)][_0x19e96b(0x193)](_0x2b6adb);throw this[_0x19e96b(0x175)]=!0x0,_0x1eb714[_0x19e96b(0x130)](),this[_0x19e96b(0x15c)][_0x19e96b(0x1c4)](_0x19e96b(0x14b)),new _0xee023d(_0x4e33ea,this[_0x19e96b(0x15c)],_0x197a86?{'originalError':_0x197a86}:void 0x0);}[_0x193acb(0x167)](_0x1f09b2){const _0x2a1818=_0x193acb;this[_0x2a1818(0x17d)][_0x2a1818(0x100)](_0x1f09b2)||(this[_0x2a1818(0x17d)][_0x2a1818(0x1a1)](_0x1f09b2),this[_0x2a1818(0x195)][_0x2a1818(0x1d4)](_0x1f09b2),this[_0x2a1818(0x132)]||_0x2a1818(0x125)==_0x1f09b2[_0x2a1818(0x12b)]&&!_0x1f09b2[_0x2a1818(0x1a7)]||this[_0x2a1818(0x19d)]());}[_0x193acb(0x12c)](_0x16d507=!0x1){const _0x3c96a3=_0x193acb;!_0x16d507&&this[_0x3c96a3(0x175)]||(this[_0x3c96a3(0x175)]=!0x0,clearTimeout(this[_0x3c96a3(0x16a)]),this[_0x3c96a3(0x16a)]=setTimeout(()=>{const _0x362a8a=_0x3c96a3;this[_0x362a8a(0x120)]()[_0x362a8a(0x133)](_0x5c71f3=>{const _0x5e3611=_0x362a8a;_0x5c71f3&&(this[_0x5e3611(0x101)](),this[_0x5e3611(0x175)]=!0x1);})[_0x362a8a(0x172)](_0x4a30d8=>{const _0x5283fd=_0x362a8a;this[_0x5283fd(0x101)](),this[_0x5283fd(0x175)]=!0x1,function(_0x47a98e){const _0x5a1bb7=_0x5283fd;return _0x47a98e[_0x5a1bb7(0x108)][_0x5a1bb7(0x151)](_0x5a1bb7(0x187))||_0x47a98e[_0x5a1bb7(0x108)][_0x5a1bb7(0x151)](_0x5a1bb7(0xeb))||_0x47a98e[_0x5a1bb7(0x108)][_0x5a1bb7(0x151)](_0x5a1bb7(0xf4));}(_0x4a30d8)||this[_0x5283fd(0x147)](_0x4a30d8[_0x5283fd(0x108)],_0x4a30d8);});},this[_0x3c96a3(0x188)]));}[_0x193acb(0x138)](){return new Promise(_0x3949e0=>{const _0xba1236=_0x2120;this['on'](_0xba1236(0x110),()=>{_0x3949e0();});});}async[_0x193acb(0x120)](){const _0x79a6cc=_0x193acb,_0x4ae2b5=this[_0x79a6cc(0x15c)][_0x79a6cc(0x17f)][_0x79a6cc(0x193)](_0x4c2078);if(this[_0x79a6cc(0x1e4)]()&&(_0x4ae2b5[_0x79a6cc(0x1df)](),this[_0x79a6cc(0x14e)]=!0x1),!this[_0x79a6cc(0x119)]())return!0x0;const _0x1997bd=[...this[_0x79a6cc(0x195)]];for(const _0x4760a1 of _0x1997bd)_0x4760a1[_0x79a6cc(0x11d)]=this[_0x79a6cc(0x12e)][_0x79a6cc(0x1e0)][_0x79a6cc(0x198)](_0x4760a1);const _0x4516fc=this[_0x79a6cc(0x1a4)][_0x79a6cc(0x15a)](_0x1997bd),_0x12b14b=G++,_0x3d0473=this[_0x79a6cc(0x112)](_0x1997bd),_0x5789f6=await this[_0x79a6cc(0x164)][_0x79a6cc(0x145)](_0x3d0473,_0x3d0473[_0x79a6cc(0x1ae)],_0x4516fc);try{return await this[_0x79a6cc(0x13f)](_0x1997bd,_0x5789f6,_0x12b14b);}catch(_0x2c925f){return this[_0x79a6cc(0x147)](_0x79a6cc(0x13a),_0x2c925f);}}async[_0x193acb(0x13f)](_0x473039,_0x47e635,_0x1b4362){const _0x359611=_0x193acb;if(_0x359611(0x1ca)in _0x47e635)throw _0x47e635[_0x359611(0x1ca)];let _0x2bbf25=!0x1;if(_0x47e635[_0x359611(0x156)]){_0x47e635[_0x359611(0xfa)]&&(this[_0x359611(0x19f)]=_0x47e635[_0x359611(0xfa)]),this[_0x359611(0x195)]=this[_0x359611(0x195)][_0x359611(0x121)](_0x3c4a49=>!_0x473039[_0x359611(0x162)](_0x3c4a49));for(const _0x584cf3 of _0x473039)_0x584cf3[_0x359611(0x128)]=_0x359611(0x1b0)in _0x47e635&&_0x47e635[_0x359611(0x1b0)]||void 0x0;K(_0x473039,_0x47e635[_0x359611(0x14f)]-_0x473039[_0x359611(0x17b)]),this[_0x359611(0x115)](_0x473039);const _0x362773=_0x473039[_0x359611(0x121)](_0x130a6b=>{const _0x1ab8d2=_0x359611;if(!_0x130a6b[_0x1ab8d2(0x14d)])return!0x1;const _0x5c425d=this[_0x1ab8d2(0x199)](_0x130a6b);return _0x5c425d&&!this[_0x1ab8d2(0x131)][_0x1ab8d2(0x100)](_0x5c425d);});K(_0x362773,this[_0x359611(0x12e)][_0x359611(0x14f)]),this[_0x359611(0x1d6)](_0x362773),_0x2bbf25=!0x0,this[_0x359611(0x188)]=this[_0x359611(0x16d)];}else{const _0x2391cf=this[_0x359611(0x184)](_0x47e635[_0x359611(0x113)],_0x47e635[_0x359611(0x140)])[_0x359611(0x121)](_0x12991b=>_0x12991b[_0x359611(0x1ae)]>=this[_0x359611(0x1bf)]);_0x2391cf[_0x359611(0x168)](_0x2e5ebe=>this[_0x359611(0x179)](_0x2e5ebe)),this[_0x359611(0x195)]=this[_0x359611(0x195)][_0x359611(0x121)](_0x4a77c9=>!_0x4a77c9[_0x359611(0x14d)]||!this[_0x359611(0x131)][_0x359611(0x100)](this[_0x359611(0x199)](_0x4a77c9))),this[_0x359611(0x195)][_0x359611(0x17b)]&&K(this[_0x359611(0x195)],this[_0x359611(0x195)][0x0][_0x359611(0x1ae)]),await this[_0x359611(0x154)](_0x2391cf),_0x2bbf25=this[_0x359611(0x152)](_0x2391cf,_0x47e635[_0x359611(0x14f)],_0x47e635[_0x359611(0xfa)]),this[_0x359611(0x188)]=Math[_0x359611(0x189)](this[_0x359611(0x188)]/0x2);}return _0x2bbf25?!this[_0x359611(0x119)]()||(this[_0x359611(0x12c)](!0x0),!0x1):this[_0x359611(0x147)](_0x359611(0x1b7));}[_0x193acb(0x152)](_0x4eb493,_0x4262cc,_0xd78057){const _0x328ba9=_0x193acb;try{const _0x50d875={'document':this[_0x328ba9(0x12e)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x49a940,operationsB:_0x114e83,originalOperations:_0x4a2c3a}=_0x2d54a2(_0x4eb493,this[_0x328ba9(0x195)],_0x50d875);K(_0x49a940,this[_0x328ba9(0x12e)][_0x328ba9(0x14f)]),K(_0x114e83,_0x4262cc);for(const _0x5010f4 of _0x49a940){const _0x25b22a=_0x4a2c3a[_0x328ba9(0x193)](_0x5010f4);_0x5010f4[_0x328ba9(0xfc)]=_0x25b22a?_0x25b22a[_0x328ba9(0xfc)]:null;}_0xd78057&&(this[_0x328ba9(0x1a4)][_0x328ba9(0x11b)](_0x4eb493,_0xd78057),this[_0x328ba9(0x19f)]=_0xd78057),this[_0x328ba9(0x195)]=[..._0x114e83],this[_0x328ba9(0x1d6)](_0x49a940),this[_0x328ba9(0x115)](_0x4eb493);}catch(_0x50943){return console[_0x328ba9(0x1ca)](_0x50943),!0x1;}return!0x0;}[_0x193acb(0x1d6)](_0x1c3113,_0x52e8f6=!0x1){const _0x24dfe2=_0x193acb;this[_0x24dfe2(0x15c)][_0x24dfe2(0x146)][_0x24dfe2(0x1e3)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2967ee=>{const _0x2604b3=_0x24dfe2;for(const _0x8d487f of _0x1c3113)this[_0x2604b3(0x17d)][_0x2604b3(0x1a1)](_0x8d487f),this[_0x2604b3(0x179)](_0x8d487f),_0x2967ee[_0x2604b3(0xea)][_0x2604b3(0x143)](_0x8d487f),this[_0x2604b3(0x15c)][_0x2604b3(0x146)][_0x2604b3(0x157)](_0x8d487f);});}[_0x193acb(0x179)](_0x1a7b6e){const _0x19bba1=_0x193acb,_0x5e40cc=this[_0x19bba1(0x199)](_0x1a7b6e);_0x5e40cc&&this[_0x19bba1(0x131)][_0x19bba1(0x1a1)](_0x5e40cc);}[_0x193acb(0x199)](_0x2cd9c8){const _0x1fb46a=_0x193acb;let _0x58aede,_0x39c68e;switch(_0x2cd9c8[_0x1fb46a(0x12b)]){case _0x1fb46a(0xee):_0x58aede=_0x2cd9c8[_0x1fb46a(0x185)][_0x1fb46a(0x102)];break;case _0x1fb46a(0x125):if(_0x39c68e=_0x2cd9c8[_0x1fb46a(0x10d)],!_0x39c68e)return null;_0x58aede=_0x39c68e[_0x1fb46a(0x102)];break;case _0x1fb46a(0x190):_0x58aede=_0x2cd9c8[_0x1fb46a(0x102)];break;case _0x1fb46a(0x10e):_0x58aede=_0x2cd9c8[_0x1fb46a(0x142)];break;case _0x1fb46a(0x171):_0x58aede=_0x2cd9c8[_0x1fb46a(0x182)][_0x1fb46a(0x102)];break;default:return null;}return _0x58aede[_0x1fb46a(0x1ea)];}[_0x193acb(0x115)](_0x356d6f){const _0x13087b=_0x193acb;_0x356d6f[_0x13087b(0x168)](_0x305394=>{const _0x33b77d=_0x13087b,_0x22f9f4=_0x305394[_0x33b77d(0x135)]();_0x22f9f4[_0x33b77d(0xfc)]=_0x305394[_0x33b77d(0xfc)],_0x22f9f4[_0x33b77d(0x14d)]=!!_0x305394[_0x33b77d(0x14d)],_0x22f9f4[_0x33b77d(0x128)]=_0x305394[_0x33b77d(0x128)],_0x22f9f4[_0x33b77d(0x1ae)]+=this[_0x33b77d(0xf9)],_0x305394[_0x33b77d(0x191)]&&this[_0x33b77d(0x16c)][_0x33b77d(0x1a1)](_0x22f9f4),this[_0x33b77d(0x19a)][_0x33b77d(0x143)](_0x22f9f4);});}[_0x193acb(0x15d)](_0x92f4da){const _0x106fd6=_0x193acb,_0x46a4d4=this[_0x106fd6(0x15c)][_0x106fd6(0x17f)][_0x106fd6(0x193)](_0x106fd6(0x197)),_0x5c606b=this[_0x106fd6(0x15c)][_0x106fd6(0xf2)];_0x92f4da||(_0x92f4da=_0x4f32f9(_0x5c606b,_0x106fd6(0x18b))),_0x46a4d4[_0x106fd6(0x1db)](_0x92f4da,{'title':_0x4f32f9(_0x5c606b,_0x106fd6(0x106)),'namespace':_0x106fd6(0x163)}),this[_0x106fd6(0x126)]=!0x0,clearTimeout(this[_0x106fd6(0x16a)]),this[_0x106fd6(0x195)]=[],this[_0x106fd6(0x15c)][_0x106fd6(0x17f)][_0x106fd6(0x193)](_0x2b6adb)[_0x106fd6(0x130)]();}[_0x193acb(0x19d)](){const _0x5ee924=_0x193acb;this[_0x5ee924(0x132)]||(this[_0x5ee924(0x132)]=this[_0x5ee924(0x15c)][_0x5ee924(0x17f)][_0x5ee924(0x193)](_0x422c48)[_0x5ee924(0x1a1)](_0x4f32f9(this[_0x5ee924(0x15c)][_0x5ee924(0xf2)],_0x5ee924(0x1e6))));}[_0x193acb(0x101)](){const _0x451e16=_0x193acb;this[_0x451e16(0x132)]&&(this[_0x451e16(0x15c)][_0x451e16(0x17f)][_0x451e16(0x193)](_0x422c48)[_0x451e16(0xf8)](this[_0x451e16(0x132)]),this[_0x451e16(0x132)]=null);}[_0x193acb(0x112)](_0x2ec007){const _0x1af476=_0x193acb,_0x4cc576=_0x2ec007[_0x1af476(0x173)](_0x5b6837=>_0x5b6837[_0x1af476(0x1d5)]());return this[_0x1af476(0x1a2)][_0x1af476(0x129)](_0x4cc576);}[_0x193acb(0x184)](_0x1f7ee4,_0x240e80){const _0x2d5e77=_0x193acb;return this[_0x2d5e77(0x1a2)][_0x2d5e77(0x1b2)](_0x1f7ee4)[_0x2d5e77(0x173)]((_0x26fcd8,_0x30742b)=>{const _0x497525=_0x2d5e77,_0x506637=_0x497525(0xf5)==_0x240e80[_0x30742b][_0x497525(0x12b)];if(_0x497525(0x11e)==_0x26fcd8[_0x497525(0x1c2)]){const _0x4e5eda=_0x26fcd8[_0x497525(0x185)][_0x497525(0x102)];!this[_0x497525(0x12e)][_0x497525(0xef)](_0x4e5eda)&&(this[_0x497525(0x12e)][_0x497525(0x104)](_0x497525(0x174),_0x4e5eda)[_0x497525(0x1c8)]=!0x1);}const _0x437575=_0x2e75c6[_0x497525(0xf6)](_0x26fcd8,this[_0x497525(0x12e)]);return _0x437575[_0x497525(0x11d)]=_0x26fcd8[_0x497525(0x11d)],_0x437575[_0x497525(0x14d)]=_0x506637,_0x437575[_0x497525(0xfc)]=_0x506637?null:_0x240e80[_0x30742b][_0x497525(0x1c3)],_0x437575[_0x497525(0x191)]=_0x497525(0x178)===_0x240e80[_0x30742b][_0x497525(0x12b)],_0x437575[_0x497525(0x128)]=_0x240e80[_0x30742b][_0x497525(0x128)],_0x437575;});}[_0x193acb(0x169)](){const _0xd1404e=_0x193acb;this[_0xd1404e(0x14e)]=!0x0,this[_0xd1404e(0x1e4)]()?this[_0xd1404e(0x12c)]():this[_0xd1404e(0x14e)]=!0x1;}[_0x193acb(0x1e4)](){const _0x80813=_0x193acb,_0xba00be=this[_0x80813(0x15c)][_0x80813(0x17f)][_0x80813(0x193)](_0x59582d)[_0x80813(0x1ba)][_0x80813(0x193)](this[_0x80813(0x150)]);return!this[_0x80813(0x15c)][_0x80813(0x1a8)]&&!!_0xba00be&&_0xba00be[_0x80813(0x17b)]>0x1&&this[_0x80813(0x14e)];}[_0x193acb(0x119)](){const _0x4c2284=_0x193acb;return this[_0x4c2284(0x195)][_0x4c2284(0x17b)]>0x0||this[_0x4c2284(0x1e4)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function _0x1b45(){const _0x239f4c=['404','cloud-services-internal-error:\x20Not\x20connected.','_currentBufferDelay','round','_isEditingAllowed','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.','realtimecollaborationclient-init-non-existent-root','_isConnected','connect','set','addRootAttribute','_isDisconnection','isEnabled','get','return','_bufferedOperations','unregister','Notification','isUndoneOperation','_getAffectedRoot','serverHistory','define','getDocumentDetails','_setPendingAction','_connectService','_lastSyncedOperationId','CollaborativeEditingService','add','_compressor','_setUpDataInit','_operationIdentifier','fire','listenTo','affectsData','isReadOnly','getMany','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.','slice','register','createRange','baseVersion','realtimecollaborationclient-init-service-internal-error','lastOperationAcceptedAt','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','decompress','multi-root-editor-root-attributes-no-root','realtimecollaborationclient','ready','_disconnectService','realtimecollaborationclient-handleserverresponse','destroy','getConnectedSessions','channelSessions','186354JJKoCn','removeFromReconnectionStack','409','from','_lastServerVersion','change:range','stopListening','__className','userId','enableReadOnlyMode','config','getUser','permissions','_isAttached','path','error','disableReadOnlyMode','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:_isEditingAllowed','rtc-offline','connection','reconnection:\x20flushed\x20session','25374OAkffY','bind','high','push','toJSON','_applyOperationsSet','requires','collaboration-missing-channelid','_handleInitialConnectionData','Permissions','showWarning','size','apply','sessionCreatedAt','createUserMarkerOperations','history','stop','collaboration.channelId','enqueueChange','_shouldSendSelectionUpdate','494214hptHOq','PENDING_ACTION_SENDING_DATA','rtc-destroyed','offset','disconnected','rootName','createPositionAt','addUser','createPositionFromPath','batch','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_connectAfterSessionHasBeenFlushed','CommentsOnly','insert','getRoot','RealTimeCollaborationClient','parse','locale','_initThrowingOnDataSet','cloud-services-internal-error:\x20Request\x20timeout.','init','fromJSON','collaboration','remove','_offset','lastOperationId','_handleReceivedOperations','_authorId','document','sessionId','realtimecollaborationclient-init-document-already-initialized','has','_clearPendingAction','root','operationsReceived','createRoot','setPermissions','Synchronization\x20issue','reset','message','code','388465ElQCTk','getOperations','sessionAdd:','newRange','addRoot','_initSessionsHandling','change:_isPendingUpdate','finally','_compressOperations','data','initData','_updateServerHistory','196326LdagEm','realtimecollaborationclient-init-service-incorrect-server-operation','isOfficialPlugin','_shouldSendUpdate','_handleReconnectionResponse','setIdForTheLastOperation','_ignoredOperations','wasUndone','InsertOperation','44OEDzrg','_sendBufferedOperations','filter','markers','selection','attributes','marker','_hasSynchronizationProblem','realtimecollaborationclient-init-session-connection-error','createdAt','compress','_handleSendingSelectionMarkers','type','_sendBufferedOperationsDelayed','start','_document','reconnect','disconnect','_knownRootNames','_pendingAction','then','connected','clone','1245940TXfbGS','_isLoaded','_waitUntilSynced','lastSyncVersion','realtimecollaborationclient-sendbufferedoperations','_bufferRootLoad','end','loadRoot','directChange','_handleServerResponse','metadata','realtimecollaborationclient-init-connection-failed','affectedSelectable','addOperation','pluginName','sendOperations','model','_crash','string','suppressErrorInCollaboration','cloudDocumentVersion','realtimecollaborationclient-error','_getOperationsFromInitData','_isInit','_hasSelectionChanged','version','_channelId','startsWith','_handleExternalOperations','cloudServices.bundleVersion','_fetchMissingUsers','keys','wereChangesApplied','applyOperation','off','isDocumentOperation','getIdOfTheLastOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','editor','_handleReconnectionError','addToReconnectionStack','currentDocumentSession','mySessionId','view','includes','real-time-collaboration','_service','differ','isPremiumPlugin','_saveOperationInBuffer','forEach','_refreshUserSelectionMarkers','_sendBufferedOperationsDelayId','entries','_disconnectionOperations','_baseBufferDelay','getOperationAuthor','lastDocumentSession','change:hasDomSelection','move','catch','map','$root','_isPendingUpdate','document:write','editing','cs:removeUser','_addKnownRoot','state','length','roots','_knownOperations','_operationToId','plugins','rootsAttributes','_loadRoot','targetPosition','7461776KBnboX','_decompressOperations','position'];_0x1b45=function(){return _0x239f4c;};return _0x1b45();}function K(_0x2f826d,_0x45b9ca){const _0x34ac78=_0x193acb;for(const _0x2a9ed3 of _0x2f826d)_0x2a9ed3[_0x34ac78(0x1ae)]=_0x45b9ca++;}class J{[_0x193acb(0x11c)];[_0x193acb(0x17e)];constructor(_0x256a08){const _0x283b87=_0x193acb;this[_0x283b87(0x11c)]=_0x256a08,this[_0x283b87(0x17e)]=new WeakMap();}[_0x193acb(0x15a)](_0x353033){const _0x7f2532=_0x193acb;let _0x2e38e8=_0x353033[_0x7f2532(0x17b)];for(;_0x2e38e8--;){const _0x56569c=_0x353033[_0x2e38e8];if(!this[_0x7f2532(0x11c)][_0x7f2532(0x100)](_0x56569c)){if(!this[_0x7f2532(0x17e)][_0x7f2532(0x100)](_0x56569c)){const _0x234453=_0x1b2547()[_0x7f2532(0x1ab)](0x1,0x12);this[_0x7f2532(0x17e)][_0x7f2532(0x18f)](_0x56569c,_0x234453);}return this[_0x7f2532(0x17e)][_0x7f2532(0x193)](_0x56569c);}}}[_0x193acb(0x11b)](_0x5007d4,_0x3c2391){const _0x2f9f80=_0x193acb;if(!_0x3c2391)return;let _0x558bd1=_0x5007d4[_0x2f9f80(0x17b)];for(;_0x558bd1--;){const _0x1de47b=_0x5007d4[_0x558bd1];this[_0x2f9f80(0x11c)][_0x2f9f80(0x100)](_0x1de47b)||this[_0x2f9f80(0x17e)][_0x2f9f80(0x18f)](_0x1de47b,_0x3c2391);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x4e87(){const _0x24a760=['context','isMe','561942eRinMX','allConnectedUsers','Sessions','assign','connected','1043146oFEqwc','_handleSessionAdd','sessionId','isPremiumPlugin','user','77aUERZr','_createUser','values','48012012ZORbUA','getUserSessions','channelConnectedUsers','connection','11QwIEnT','1516324pPAkbf','role','16lUDqgx','requires','getUserRole','defineMe','stopListening','getUser','sessionAdd:','remove','change:state','_registeredSessions','mySessionId','get','sessions-unregister-not-exist','getUserBySessionId','_users','4uKhzZd','add','size','_handleSessionRemove','addUser','fire','register','pluginName','listenTo','clear','unregister','forEach','isOfficialPlugin','delete','channelSessions','set','8778820GYhHQK','orderNumber','state','sessions-register-already-registered','plugins','_uniqueUsersCount','init','1076585kYbDEq','3EjkrVm','has','3297843bEanWx'];_0x4e87=function(){return _0x24a760;};return _0x4e87();}const _0x51ad8c=_0x1b1c;(function(_0x1c8ba6,_0xfa11cb){const _0x3fda80=_0x1b1c,_0x3c5291=_0x1c8ba6();while(!![]){try{const _0xccbbb4=-parseInt(_0x3fda80(0xf4))/0x1+parseInt(_0x3fda80(0xe7))/0x2*(-parseInt(_0x3fda80(0xdd))/0x3)+parseInt(_0x3fda80(0x105))/0x4*(-parseInt(_0x3fda80(0xdc))/0x5)+parseInt(_0x3fda80(0xe2))/0x6*(-parseInt(_0x3fda80(0xec))/0x7)+-parseInt(_0x3fda80(0xf6))/0x8*(parseInt(_0x3fda80(0xdf))/0x9)+parseInt(_0x3fda80(0x115))/0xa*(parseInt(_0x3fda80(0xf3))/0xb)+parseInt(_0x3fda80(0xef))/0xc;if(_0xccbbb4===_0xfa11cb)break;else _0x3c5291['push'](_0x3c5291['shift']());}catch(_0x24b506){_0x3c5291['push'](_0x3c5291['shift']());}}}(_0x4e87,0xd297c));import{ContextPlugin as _0x274e62}from'ckeditor5/src/core.js';import{Collection as _0x21aaa0,CKEditorError as _0x244006}from'ckeditor5/src/utils.js';function _0x1b1c(_0x25363f,_0x492ce1){const _0x4e8720=_0x4e87();return _0x1b1c=function(_0x1b1ceb,_0x286b9f){_0x1b1ceb=_0x1b1ceb-0xda;let _0x33ab5f=_0x4e8720[_0x1b1ceb];return _0x33ab5f;},_0x1b1c(_0x25363f,_0x492ce1);}import{WebSocketGateway as _0x59d317}from'./websocketgateway.js';import{Users as _0x5a2571}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x274e62{[_0x51ad8c(0x113)];[_0x51ad8c(0xf1)];[_0x51ad8c(0xe3)];[_0x51ad8c(0xff)];[_0x51ad8c(0xda)];[_0x51ad8c(0x104)];static get[_0x51ad8c(0x10c)](){const _0x3feb11=_0x51ad8c;return _0x3feb11(0xe4);}static get[_0x51ad8c(0x111)](){return!0x0;}static get[_0x51ad8c(0xea)](){return!0x0;}static get[_0x51ad8c(0xf7)](){return[_0x59d317,_0x5a2571];}constructor(_0x80d0dc){const _0x2f74af=_0x51ad8c;super(_0x80d0dc),this[_0x2f74af(0x113)]=new Map(),this[_0x2f74af(0xf1)]=new Map(),this[_0x2f74af(0xe3)]=new _0x21aaa0(),this[_0x2f74af(0xff)]=new Map(),this[_0x2f74af(0xda)]=0x0,this[_0x2f74af(0x104)]=this[_0x2f74af(0xe0)][_0x2f74af(0x119)][_0x2f74af(0x101)](_0x5a2571);}[_0x51ad8c(0xdb)](){const _0x5e749d=_0x51ad8c,_0x51464c=this[_0x5e749d(0xe0)][_0x5e749d(0x119)][_0x5e749d(0x101)](_0x59d317);this[_0x5e749d(0x10d)](_0x51464c,_0x5e749d(0xfe),(_0x5a6b23,_0xf78c12,_0x952403)=>{const _0x315b26=_0x5e749d;if(_0x315b26(0xe6)!==_0x952403)this[_0x315b26(0x113)][_0x315b26(0x110)](_0x17a710=>_0x17a710[_0x315b26(0x10e)]()),this[_0x315b26(0xf1)][_0x315b26(0x110)](_0x286496=>_0x286496[_0x315b26(0x10e)]()),this[_0x315b26(0xe3)][_0x315b26(0x10e)]();else{for(const [_0x5d8fa7,_0x319e0d]of this[_0x315b26(0xff)])for(const _0x30b0b7 of _0x319e0d)this[_0x315b26(0xe8)](_0x5d8fa7,_0x30b0b7);}}),this[_0x5e749d(0xed)](_0x51464c[_0x5e749d(0xf2)]['me'],!0x0);}[_0x51ad8c(0x10b)](_0x2279d4,_0xc17ed4){const _0x26413b=_0x51ad8c;if(this[_0x26413b(0xff)][_0x26413b(0xde)](_0x2279d4))throw new _0x244006(_0x26413b(0x118),null,{'channelId':_0x2279d4});this[_0x26413b(0xff)][_0x26413b(0x114)](_0x2279d4,_0xc17ed4),this[_0x26413b(0x113)][_0x26413b(0x114)](_0x2279d4,new _0x21aaa0()),this[_0x26413b(0xf1)][_0x26413b(0x114)](_0x2279d4,new _0x21aaa0()),this[_0x26413b(0x10d)](_0xc17ed4,_0x26413b(0x106),(_0x5bc723,_0x5513cf)=>this[_0x26413b(0xe8)](_0x2279d4,_0x5513cf)),this[_0x26413b(0x10d)](_0xc17ed4,_0x26413b(0xfd),(_0x30eb90,_0x2d0af2)=>this[_0x26413b(0x108)](_0x2279d4,_0x2d0af2));for(const _0x422439 of _0xc17ed4)this[_0x26413b(0xe8)](_0x2279d4,_0x422439);}[_0x51ad8c(0x10f)](_0x363c3e){const _0x2cb616=_0x51ad8c;if(!this[_0x2cb616(0xff)][_0x2cb616(0xde)](_0x363c3e))throw new _0x244006(_0x2cb616(0x102),null,{'channelId':_0x363c3e});const _0x24ff32=this[_0x2cb616(0xff)][_0x2cb616(0x101)](_0x363c3e);this[_0x2cb616(0xfa)](_0x24ff32);for(const _0x1fcc0f of _0x24ff32)_0x2cb616(0xe6)===this[_0x2cb616(0xe0)][_0x2cb616(0x119)][_0x2cb616(0x101)](_0x59d317)[_0x2cb616(0x117)]&&this[_0x2cb616(0x108)](_0x363c3e,_0x1fcc0f);this[_0x2cb616(0xff)][_0x2cb616(0x112)](_0x363c3e),this[_0x2cb616(0x113)][_0x2cb616(0x112)](_0x363c3e),this[_0x2cb616(0xf1)][_0x2cb616(0x112)](_0x363c3e);}get[_0x51ad8c(0x100)](){const _0x5eb3ca=_0x51ad8c;return this[_0x5eb3ca(0xe0)][_0x5eb3ca(0x119)][_0x5eb3ca(0x101)](_0x59d317)[_0x5eb3ca(0xf2)][_0x5eb3ca(0xe9)];}[_0x51ad8c(0x103)](_0x4d4545){const _0x4220b5=_0x51ad8c;for(const _0xcfdd4 of this[_0x4220b5(0x113)][_0x4220b5(0xee)]())for(const _0x575680 of _0xcfdd4)if(_0x575680['id']===_0x4d4545)return _0x575680[_0x4220b5(0xeb)];}[_0x51ad8c(0xf0)](_0x5de716,_0x1027be){const _0x42dbd1=_0x51ad8c,_0x524718=_0x1027be?[this[_0x42dbd1(0x113)][_0x42dbd1(0x101)](_0x1027be)]:this[_0x42dbd1(0x113)][_0x42dbd1(0xee)](),_0x14d193=new Set();for(const _0x346aa9 of _0x524718)for(const _0xdecaeb of _0x346aa9)_0xdecaeb[_0x42dbd1(0xeb)]['id']===_0x5de716['id']&&_0x14d193[_0x42dbd1(0x106)](_0xdecaeb['id']);return _0x14d193;}[_0x51ad8c(0xf8)](_0x2a0ae2){const _0x259add=_0x51ad8c;for(const _0x2f31b1 of this[_0x259add(0x113)][_0x259add(0xee)]())for(const _0x2f2c1b of _0x2f31b1)if(_0x2f2c1b[_0x259add(0xeb)]===_0x2a0ae2)return _0x2f2c1b[_0x259add(0xf5)];}[_0x51ad8c(0xe8)](_0xfaecb1,_0x1dc440){const _0x764ce2=_0x51ad8c;if(_0x764ce2(0xe6)!==this[_0x764ce2(0xe0)][_0x764ce2(0x119)][_0x764ce2(0x101)](_0x59d317)[_0x764ce2(0x117)])return;const _0x4ed329=_0x1dc440[_0x764ce2(0xeb)],_0xeb3d9d=this[_0x764ce2(0x104)][_0x764ce2(0xfb)](_0x4ed329['id'])||this[_0x764ce2(0xed)](_0x4ed329),_0x322bbc=Object[_0x764ce2(0xe5)]({},_0x1dc440,{'user':_0xeb3d9d});this[_0x764ce2(0x113)][_0x764ce2(0x101)](_0xfaecb1)[_0x764ce2(0x106)](_0x322bbc);const _0x16c359=this[_0x764ce2(0xf1)][_0x764ce2(0x101)](_0xfaecb1);_0x16c359[_0x764ce2(0xde)](_0xeb3d9d['id'])||_0x16c359[_0x764ce2(0x106)](_0xeb3d9d),this[_0x764ce2(0xe3)][_0x764ce2(0xde)](_0xeb3d9d['id'])||this[_0x764ce2(0xe3)][_0x764ce2(0x106)](_0xeb3d9d,_0xeb3d9d[_0x764ce2(0xe1)]?0x0:void 0x0),this[_0x764ce2(0x10a)](_0x764ce2(0xfc)+_0xfaecb1,{'channelId':_0xfaecb1,'session':_0x322bbc});}[_0x51ad8c(0x108)](_0x1a7fb4,_0x2f2094){const _0x29db7b=_0x51ad8c;if(_0x29db7b(0xe6)!==this[_0x29db7b(0xe0)][_0x29db7b(0x119)][_0x29db7b(0x101)](_0x59d317)[_0x29db7b(0x117)])return;const _0x43f11c=this[_0x29db7b(0xf1)][_0x29db7b(0x101)](_0x1a7fb4),_0x6d38e6=_0x2f2094[_0x29db7b(0xeb)];_0x6d38e6['id']&&(this[_0x29db7b(0x113)][_0x29db7b(0x101)](_0x1a7fb4)[_0x29db7b(0xfd)](_0x2f2094['id']),_0x43f11c[_0x29db7b(0xde)](_0x6d38e6['id'])&&!this[_0x29db7b(0xf0)](_0x6d38e6,_0x1a7fb4)[_0x29db7b(0x107)]&&_0x43f11c[_0x29db7b(0xfd)](_0x6d38e6['id']),this[_0x29db7b(0xe3)][_0x29db7b(0x101)](_0x6d38e6['id'])&&!this[_0x29db7b(0xf0)](_0x6d38e6)[_0x29db7b(0x107)]&&this[_0x29db7b(0xe3)][_0x29db7b(0xfd)](_0x6d38e6['id']));}[_0x51ad8c(0xed)](_0x497727,_0xe71d9a){const _0x352220=_0x51ad8c,_0x55a717=this[_0x352220(0x104)][_0x352220(0x109)](_0x497727);return _0xe71d9a&&this[_0x352220(0x104)][_0x352220(0xf9)](_0x497727['id']),_0x55a717[_0x352220(0x116)]=this[_0x352220(0xda)]++,_0x55a717;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xb425=_0x3332;(function(_0x4281f4,_0x274f70){const _0x22c757=_0x3332,_0x47d8e9=_0x4281f4();while(!![]){try{const _0x2cda75=-parseInt(_0x22c757(0xba))/0x1*(parseInt(_0x22c757(0x101))/0x2)+-parseInt(_0x22c757(0x98))/0x3*(parseInt(_0x22c757(0xb6))/0x4)+-parseInt(_0x22c757(0xe0))/0x5*(parseInt(_0x22c757(0xdb))/0x6)+-parseInt(_0x22c757(0xd8))/0x7+parseInt(_0x22c757(0xd7))/0x8+-parseInt(_0x22c757(0xfb))/0x9*(parseInt(_0x22c757(0xab))/0xa)+parseInt(_0x22c757(0xbd))/0xb;if(_0x2cda75===_0x274f70)break;else _0x47d8e9['push'](_0x47d8e9['shift']());}catch(_0x108090){_0x47d8e9['push'](_0x47d8e9['shift']());}}}(_0x48ab,0x6e89a));function _0x48ab(){const _0x135671=['markerToElement','applyOperation','mouseenter','size','add','editor','markerToHighlight','Escape','stopListening','document','isLimit','ck-user__marker\x20','UserMarkers','user:range','change','getFirstRange','140goehQo','has','get','editingDowncast','start','batch','toRange','getCustomProperty','ck-user__marker_hovered','getRange','for','439356xWeeDO','selection','enqueueChange','init','1009OwECGq','user:range:','ck-user__selection','26448312ozXLUo','setCustomProperty','addMarker','mouseleave','color','user:position:','getUserBySessionId','set','fromRange','render','change:range','rootName','oldRange','createUserMarkerOperations','createElement','name','removeMarker','createRange','getNearestSelectionRange','editing','mapper','isInline','getMarkerClass','user:position','element','span','3481928YLnipU','3085271NzPdiB','hasDomSelection','clear','6hOFGcU','schema','toDomElement','ck-user__marker-tooltip','startsWith','4358590TEwmvv','destroy','_createdBatches','view','delete','$graveyard','pluginName','addEventListener','markerNameToElements','isDocumentOperation','false','isCollapsed','_domEmitter','newRange','nodeAfter','root','user:','userPositionMarker','requires','marker','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','reconvertMarker','isObject','createUIElement','mySessionId','split','classList','454671QFokvV','conversion','model','update:user:range','isOfficialPlugin','commands','510cwwDDX','contenteditable','updateMarker','remove','deletionPosition','getStart','orderNumber','data-session-id','type','innerHTML','plugins','removeClass','$text','highest','spellcheck','isSimilar','keydown','textContent','getAttribute','checkChild','hasContent','isPremiumPlugin','getSelectionClass','parent','getContainedElement','setAttribute','getPositions','undo','markerRange','tableCell','detach','markers','end','listenTo','afterInit','3oeCWWK','markerName','outerHTML'];_0x48ab=function(){return _0x135671;};return _0x48ab();}import{Plugin as _0x17bd42}from'ckeditor5/src/core.js';import{global as _0x4de3d9,DomEmitterMixin as _0x4da6f1}from'ckeditor5/src/utils.js';import{Sessions as _0x14faa7}from'./sessions.js';import{ModelLiveRange as _0x38ded7}from'ckeditor5/src/engine.js';function _0x3332(_0x1ad65b,_0x1fa3c5){const _0x48ab94=_0x48ab();return _0x3332=function(_0x3332de,_0x2a9964){_0x3332de=_0x3332de-0x8d;let _0x341176=_0x48ab94[_0x3332de];return _0x341176;},_0x3332(_0x1ad65b,_0x1fa3c5);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x17bd42{[_0xb425(0xec)]=new(_0x4da6f1())();static get[_0xb425(0xf2)](){return[_0x14faa7];}static get[_0xb425(0xe6)](){const _0x5339d7=_0xb425;return _0x5339d7(0xa7);}static get[_0xb425(0xff)](){return!0x0;}static get[_0xb425(0x116)](){return!0x0;}[_0xb425(0xb9)](){const _0xd57f09=_0xb425,_0x2b3c6a=this[_0xd57f09(0xa0)],_0xd6f8de=_0x2b3c6a[_0xd57f09(0x10b)][_0xd57f09(0xad)](_0x14faa7);_0x2b3c6a[_0xd57f09(0xfc)][_0xd57f09(0xb5)](_0xd57f09(0xae))[_0xd57f09(0x9b)]({'model':_0xd57f09(0xd4),'view':(_0x3439e5,{writer:_0x1e7ce9})=>function(_0x8b1d93,_0x190170,_0x57d2b9,_0xd2f129){const _0x2f6a71=_0xd57f09,_0xf18b9a=_0x8b1d93[_0x2f6a71(0x99)][_0x2f6a71(0xf9)](':')[0x2],_0x28ac99=_0x57d2b9[_0x2f6a71(0xc3)](_0xf18b9a);if(!_0x28ac99||_0xf18b9a===_0x57d2b9[_0x2f6a71(0xf8)])return;if(!_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0xdc)][_0x2f6a71(0x114)](_0x8b1d93[_0x2f6a71(0x91)][_0x2f6a71(0xaf)],_0x2f6a71(0x10d)))return;const _0x54f1fe={'class':_0x2f6a71(0xa6)+_0x28ac99[_0x2f6a71(0xc1)][_0x2f6a71(0xd3)](),'data-name':_0x28ac99[_0x2f6a71(0xcc)],'data-session-id':_0xf18b9a},_0x395abc=_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0x94)][_0x2f6a71(0xad)](_0x8b1d93[_0x2f6a71(0x99)]),_0xcda499=_0x395abc[_0x2f6a71(0x106)](),_0x57efef=_0xcda499[_0x2f6a71(0xee)],_0x90e740=_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0xdc)];if(_0x57efef&&_0x90e740[_0x2f6a71(0xf6)](_0x57efef)&&_0x90e740[_0x2f6a71(0xd2)](_0x57efef)&&!_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0x94)][_0x2f6a71(0xad)](_0x2f6a71(0xbb)+_0xf18b9a)[_0x2f6a71(0xb4)]()[_0x2f6a71(0xeb)])return;const _0x346f5f=_0xcda499[_0x2f6a71(0x118)];return _0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0xdc)][_0x2f6a71(0xa5)](_0x346f5f)&&!_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0x115)](_0x346f5f)&&(_0x54f1fe[_0x2f6a71(0x102)]=!0x1),function(_0x26e544,_0x40864e,_0x5807de){const _0xe693e1=_0x2f6a71,_0x3cdcbf=_0x26e544[_0xe693e1(0xf7)](_0xe693e1(0xd6),_0x40864e);return _0x26e544[_0xe693e1(0xbe)](_0xe693e1(0xf1),!0x0,_0x3cdcbf),_0x3cdcbf[_0xe693e1(0xc6)]=function(_0x580df3){const _0x57a96f=_0xe693e1,_0x376515=this[_0x57a96f(0xdd)](_0x580df3),_0x53ba2f=document[_0x57a96f(0xcb)](_0x57a96f(0xd6));return _0x53ba2f[_0x57a96f(0xfa)][_0x57a96f(0x9f)](_0x57a96f(0xde)),_0x53ba2f[_0x57a96f(0x8e)](_0x57a96f(0x102),_0x57a96f(0xea)),_0x53ba2f[_0x57a96f(0x8e)](_0x57a96f(0x10f),_0x57a96f(0xea)),_0x53ba2f[_0x57a96f(0x112)]=_0x5807de[_0x57a96f(0xcc)],_0x376515[_0x57a96f(0x10a)]=_0x57a96f(0xf4)+_0x53ba2f[_0x57a96f(0x9a)]+'',_0x376515[_0x57a96f(0xe7)](_0x57a96f(0x9d),()=>{const _0x1e5c91=_0x57a96f;_0x376515[_0x1e5c91(0xfa)][_0x1e5c91(0x9f)](_0x1e5c91(0xb3));}),_0x376515[_0x57a96f(0xe7)](_0x57a96f(0xc0),()=>{const _0x45086a=_0x57a96f;_0x376515[_0x45086a(0xfa)][_0x45086a(0x104)](_0x45086a(0xb3));}),_0x376515;},_0x3cdcbf[_0xe693e1(0x110)]=function(_0x4f627f){const _0x507099=_0xe693e1;return!(!this[_0x507099(0xb2)](_0x507099(0xf1))||!_0x4f627f[_0x507099(0xb2)](_0x507099(0xf1))||this[_0x507099(0x113)](_0x507099(0x108))!=_0x4f627f[_0x507099(0x113)](_0x507099(0x108)));},_0x3cdcbf;}(_0x190170,_0x54f1fe,_0x28ac99);}(_0x3439e5,_0x1e7ce9,_0xd6f8de,_0x2b3c6a)}),_0x2b3c6a[_0xd57f09(0xfc)][_0xd57f09(0xb5)](_0xd57f09(0xae))[_0xd57f09(0xa1)]({'model':_0xd57f09(0xa8),'view':_0x294443=>function(_0x5c2cbc,_0x5a37f5){const _0x48938c=_0xd57f09,_0x3917e0=_0x5c2cbc[_0x48938c(0x99)][_0x48938c(0xf9)](':')[0x2];if(_0x3917e0===_0x5a37f5[_0x48938c(0xf8)])return null;const _0x46854b=_0x5a37f5[_0x48938c(0xc3)](_0x3917e0);if(!_0x46854b)return{'id':_0x3917e0,'classes':[]};return{'id':_0x3917e0,'classes':[_0x48938c(0xbc),_0x46854b[_0x48938c(0xc1)][_0x48938c(0x117)]()],'attributes':{'data-session-id':_0x3917e0},'priority':0x7d0+_0x46854b[_0x48938c(0x107)]};}(_0x294443,_0xd6f8de)}),function(_0x459340){const _0x37bfb6=_0xd57f09,_0x297ec5=_0x459340[_0x37bfb6(0xfd)],_0x285028=new Map(),_0x285cb4=_0x459340[_0x37bfb6(0x10b)][_0x37bfb6(0xad)](_0x14faa7);_0x297ec5[_0x37bfb6(0x94)]['on'](_0x37bfb6(0xfe),(_0x5736b0,_0x58337c,_0x2ebe42,_0x57a768)=>{const _0x40fda2=_0x37bfb6;if(!_0x57a768&&_0x285028[_0x40fda2(0xad)](_0x58337c[_0x40fda2(0xcc)]))return _0x285028[_0x40fda2(0xad)](_0x58337c[_0x40fda2(0xcc)])[_0x40fda2(0x93)](),void _0x285028[_0x40fda2(0xe4)](_0x58337c[_0x40fda2(0xcc)]);const _0x33214c=_0x58337c[_0x40fda2(0xcc)][_0x40fda2(0xf9)](':')[0x2];if(_0x33214c===_0x285cb4[_0x40fda2(0xf8)])return;const _0x2054d0=_0x40fda2(0xc2)+_0x33214c;_0x297ec5[_0x40fda2(0x94)][_0x40fda2(0xac)](_0x2054d0)&&_0x459340[_0x40fda2(0xd0)][_0x40fda2(0xf5)](_0x2054d0),_0x58337c['on'](_0x40fda2(0xc7),(_0x3897c0,_0x40fb05,_0x4e80d3)=>{const _0x3cd595=_0x40fda2;if(_0x3cd595(0xe5)!=_0x40fb05[_0x3cd595(0xef)][_0x3cd595(0xc8)]&&_0x3cd595(0xe5)==_0x58337c[_0x3cd595(0xb4)]()[_0x3cd595(0xef)][_0x3cd595(0xc8)]&&!_0x285028[_0x3cd595(0xac)](_0x58337c[_0x3cd595(0xcc)])){const _0x150e2e=_0x297ec5[_0x3cd595(0xdc)][_0x3cd595(0xcf)](_0x4e80d3[_0x3cd595(0x105)]);if(_0x150e2e){const _0x1aca1b=_0x38ded7[_0x3cd595(0xc5)](_0x150e2e);_0x285028[_0x3cd595(0xc4)](_0x58337c[_0x3cd595(0xcc)],_0x1aca1b),_0x1aca1b['on'](_0x3cd595(0xc7),(_0x56165c,_0x66030e,_0x454221)=>{const _0x37b731=_0x3cd595;if(_0x37b731(0xe5)==_0x1aca1b[_0x37b731(0xef)][_0x37b731(0xc8)]){const _0x48d365=_0x297ec5[_0x37b731(0xdc)][_0x37b731(0xcf)](_0x454221[_0x37b731(0x105)]);_0x48d365?(_0x1aca1b[_0x37b731(0xaf)]=_0x48d365[_0x37b731(0xaf)],_0x1aca1b[_0x37b731(0x95)]=_0x48d365[_0x37b731(0x95)]):(_0x285028[_0x37b731(0xe4)](_0x58337c[_0x37b731(0xcc)]),_0x1aca1b[_0x37b731(0x93)]());}});}}});}),_0x297ec5[_0x37bfb6(0xa4)]['on'](_0x37bfb6(0xa9),()=>{const _0x182968=_0x37bfb6;_0x285028[_0x182968(0x9e)]>0x0&&_0x297ec5[_0x182968(0xb8)]({'isUndoable':!0x1},_0x5cdc8d=>{const _0x5582a1=_0x182968;for(const [_0x361d3a,_0x50b16b]of _0x285028)_0x5582a1(0xe5)==_0x297ec5[_0x5582a1(0x94)][_0x5582a1(0xad)](_0x361d3a)[_0x5582a1(0xb4)]()[_0x5582a1(0xef)][_0x5582a1(0xc8)]&&(Z(_0x361d3a[_0x5582a1(0xf9)](':')[0x2],_0x50b16b[_0x5582a1(0xb1)](),_0x297ec5,_0x5cdc8d),_0x50b16b[_0x5582a1(0x93)]());_0x285028[_0x5582a1(0xda)]();});});}(_0x2b3c6a),this[_0xd57f09(0xec)][_0xd57f09(0x96)](_0x4de3d9[_0xd57f09(0xa4)],_0xd57f09(0x111),(_0x4b37aa,{key:_0x1f3a27})=>{const _0x1d9e09=_0xd57f09;_0x1d9e09(0xa2)===_0x1f3a27&&function(_0x184628){const _0x198e99=_0x1d9e09;_0x184628[_0x198e99(0xd0)][_0x198e99(0xe3)][_0x198e99(0xa9)](_0x5f471a=>{const _0x4a63d1=_0x198e99;for(const _0x1eb798 of _0x184628[_0x4a63d1(0xfd)][_0x4a63d1(0x94)]){if(!_0x1eb798[_0x4a63d1(0xcc)][_0x4a63d1(0xdf)](_0x4a63d1(0xd4)))continue;const _0x5eb722=_0x184628[_0x4a63d1(0xd0)][_0x4a63d1(0xd1)][_0x4a63d1(0xe8)](_0x1eb798[_0x4a63d1(0xcc)]);if(_0x5eb722){for(const _0x5c4ca3 of _0x5eb722)_0x5f471a[_0x4a63d1(0x10c)](_0x4a63d1(0xb3),_0x5c4ca3);}}});}(_0x2b3c6a);},{'useCapture':!0x0});}[_0xb425(0x97)](){const _0x5a3458=_0xb425,_0xd81ddd=this[_0x5a3458(0xa0)],_0x6b160b=_0xd81ddd[_0x5a3458(0x100)][_0x5a3458(0xad)](_0x5a3458(0x90));_0x6b160b&&_0xd81ddd[_0x5a3458(0xfd)]['on'](_0x5a3458(0x9c),(_0x42114e,_0x3209e7)=>{const _0x68c238=_0x5a3458,_0x31b0bf=_0x3209e7[0x0];if(!_0x31b0bf[_0x68c238(0xe9)])return;if(_0x68c238(0xf3)!=_0x31b0bf[_0x68c238(0x109)]||!_0x31b0bf[_0x68c238(0xcc)][_0x68c238(0xdf)](_0x68c238(0xf0)))return;const _0x4a53e9=_0x31b0bf[_0x68c238(0xb0)];_0x6b160b[_0x68c238(0xe2)][_0x68c238(0xac)](_0x4a53e9)&&(_0x31b0bf[_0x68c238(0xed)]=_0x31b0bf[_0x68c238(0xc9)]?_0xd81ddd[_0x68c238(0xfd)][_0x68c238(0xce)](_0x31b0bf[_0x68c238(0xc9)][_0x68c238(0xaf)],_0x31b0bf[_0x68c238(0xc9)][_0x68c238(0x95)]):null);},{'priority':_0x5a3458(0x10e)});}[_0xb425(0xe1)](){const _0x56f586=_0xb425;return this[_0x56f586(0xec)][_0x56f586(0xa3)](),super[_0x56f586(0xe1)]();}[_0xb425(0xca)](){const _0x3ae413=_0xb425,_0x1c7ff0=this[_0x3ae413(0xa0)],_0x9a1ca6=_0x1c7ff0[_0x3ae413(0xfd)][_0x3ae413(0xa4)],_0xd2a5e8=_0x1c7ff0[_0x3ae413(0x10b)][_0x3ae413(0xad)](_0x14faa7);_0x1c7ff0[_0x3ae413(0xfd)][_0x3ae413(0xb8)]({'isUndoable':!0x1},_0x16ccf6=>{const _0x49b278=_0x3ae413,_0x2a9e9b=_0x49b278(0xbb)+_0xd2a5e8[_0x49b278(0xf8)],_0x482631=_0x49b278(0xc2)+_0xd2a5e8[_0x49b278(0xf8)],_0x4832dc=_0x1c7ff0[_0x49b278(0xfd)][_0x49b278(0x94)][_0x49b278(0xac)](_0x2a9e9b);_0x1c7ff0[_0x49b278(0xd0)][_0x49b278(0xe3)][_0x49b278(0xd9)]?Z(_0xd2a5e8[_0x49b278(0xf8)],_0x9a1ca6[_0x49b278(0xb7)][_0x49b278(0xaa)](),_0x1c7ff0[_0x49b278(0xfd)],_0x16ccf6):_0x4832dc&&(_0x16ccf6[_0x49b278(0xcd)](_0x2a9e9b),_0x16ccf6[_0x49b278(0xcd)](_0x482631));});}}function Z(_0x2fc1cb,_0x622ac4,_0x29ee1c,_0x5e7730){const _0x4ef4c9=_0xb425,_0x5f5347=_0x4ef4c9(0xbb)+_0x2fc1cb,_0x1e9096=_0x4ef4c9(0xc2)+_0x2fc1cb,_0x13ad6b=_0x622ac4[_0x4ef4c9(0x8d)]();let _0x4938eb=_0x622ac4[_0x4ef4c9(0xaf)];if(_0x13ad6b&&_0x13ad6b['is'](_0x4ef4c9(0xd5),_0x4ef4c9(0x92))){const _0x25e5cd=function(_0xb33380,_0x305b4b){const _0x4a0846=_0x4ef4c9;for(const _0x4b3ef1 of _0xb33380[_0x4a0846(0x8f)]())if(_0x305b4b[_0x4a0846(0xdc)][_0x4a0846(0x114)](_0x4b3ef1,_0x4a0846(0x10d)))return _0x4b3ef1;}(_0x622ac4,_0x29ee1c);_0x25e5cd&&(_0x4938eb=_0x25e5cd,_0x622ac4=_0x5e7730[_0x4ef4c9(0xce)](_0x4938eb));}const _0x5b1a92=_0x5e7730[_0x4ef4c9(0xce)](_0x4938eb);_0x29ee1c[_0x4ef4c9(0x94)][_0x4ef4c9(0xac)](_0x5f5347)?(_0x5e7730[_0x4ef4c9(0x103)](_0x5f5347,{'range':_0x622ac4}),_0x5e7730[_0x4ef4c9(0x103)](_0x1e9096,{'range':_0x5b1a92})):(_0x5e7730[_0x4ef4c9(0xbf)](_0x5f5347,{'range':_0x622ac4,'usingOperation':!0x0}),_0x5e7730[_0x4ef4c9(0xbf)](_0x1e9096,{'range':_0x5b1a92,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x1a120f=_0xfd0e;(function(_0x5cf02d,_0x38b313){const _0x4b8592=_0xfd0e,_0x3fc01a=_0x5cf02d();while(!![]){try{const _0x54840a=-parseInt(_0x4b8592(0x133))/0x1*(parseInt(_0x4b8592(0x13b))/0x2)+-parseInt(_0x4b8592(0x1a0))/0x3*(parseInt(_0x4b8592(0x137))/0x4)+-parseInt(_0x4b8592(0x157))/0x5+-parseInt(_0x4b8592(0x159))/0x6+parseInt(_0x4b8592(0x19f))/0x7*(parseInt(_0x4b8592(0x184))/0x8)+-parseInt(_0x4b8592(0x150))/0x9+parseInt(_0x4b8592(0x174))/0xa;if(_0x54840a===_0x38b313)break;else _0x3fc01a['push'](_0x3fc01a['shift']());}catch(_0x30f5a3){_0x3fc01a['push'](_0x3fc01a['shift']());}}}(_0x8b96,0x5ffa9));import{Plugin as _0x34caa2}from'ckeditor5/src/core.js';import{global as _0x454886,DomEmitterMixin as _0x2b583f}from'ckeditor5/src/utils.js';function _0xfd0e(_0x51d27e,_0x8013aa){const _0x8b968f=_0x8b96();return _0xfd0e=function(_0xfd0e13,_0xe937e1){_0xfd0e13=_0xfd0e13-0x122;let _0x4af766=_0x8b968f[_0xfd0e13];return _0x4af766;},_0xfd0e(_0x51d27e,_0x8013aa);}import{Sessions as _0xd075a8}from'./sessions.js';function _0x8b96(){const _0x49c4dd=['addEventListener','destroy','isObject','change:range','ck-user__marker_hovered','hasContent','ck-user__marker\x20','nodeAfter','toRange','reconvertMarker','name','add','conversion','createElement','markerName','ck-user__marker-tooltip','rootName','split','afterInit','outerHTML','_createdBatches','userPositionMarker','selection','hasDomSelection','removeMarker','16981730HXScGv','user:range','getStart','createUserMarkerOperations','startsWith','model','keydown','getCustomProperty','isPremiumPlugin','marker','newRange','schema','updateMarker','for','stopListening','createUIElement','192WahgUf','getMarkerClass','delete','document','contenteditable','color','parent','user:range:','applyOperation','getAttribute','isDocumentOperation','getRange','mouseenter','has','setAttribute','undo','user:position','user:','detach','setCustomProperty','checkChild','data-session-id','commands','get','clear','orderNumber','change','78666aMbqEJ','87PIvqsa','enqueueChange','ck-user__selection','getNearestSelectionRange','$text','false','mouseleave','UserMarkers','getPositions','isLimit','toDomElement','listenTo','getSelectionClass','set','classList','render','type','deletionPosition','init','oldRange','fromRange','start','remove','user:position:','markerRange','mapper','getContainedElement','Escape','editor','createRange','5nKNHRw','innerHTML','pluginName','end','71444bjTjnE','size','batch','_domEmitter','23286julkGi','editingDowncast','addMarker','element','isOfficialPlugin','markerToElement','isInline','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','spellcheck','markers','markerNameToElements','markerToHighlight','view','textContent','editing','update:user:range','removeClass','tableCell','isSimilar','highest','isCollapsed','1460961NhDViE','getUserBySessionId','span','root','getFirstRange','plugins','requires','1765990sIXnha','mySessionId','2898270dmLikf','$graveyard'];_0x8b96=function(){return _0x49c4dd;};return _0x8b96();}import{ModelLiveRange as _0x3c876a}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x34caa2{[_0x1a120f(0x13a)]=new(_0x2b583f())();static get[_0x1a120f(0x156)](){return[_0xd075a8];}static get[_0x1a120f(0x135)](){const _0xef2972=_0x1a120f;return _0xef2972(0x1a7);}static get[_0x1a120f(0x13f)](){return!0x0;}static get[_0x1a120f(0x17c)](){return!0x0;}[_0x1a120f(0x127)](){const _0x2bb2bb=_0x1a120f,_0x5ec2d9=this[_0x2bb2bb(0x131)],_0x55fb15=_0x5ec2d9[_0x2bb2bb(0x155)][_0x2bb2bb(0x19b)](_0xd075a8);_0x5ec2d9[_0x2bb2bb(0x167)][_0x2bb2bb(0x181)](_0x2bb2bb(0x13c))[_0x2bb2bb(0x140)]({'model':_0x2bb2bb(0x194),'view':(_0x88a4d2,{writer:_0x58c700})=>function(_0xe5fd26,_0x5ca8ba,_0x42d58f,_0x3b3ca3){const _0x21a193=_0x2bb2bb,_0x41f009=_0xe5fd26[_0x21a193(0x169)][_0x21a193(0x16c)](':')[0x2],_0x4e0f9d=_0x42d58f[_0x21a193(0x151)](_0x41f009);if(!_0x4e0f9d||_0x41f009===_0x42d58f[_0x21a193(0x158)])return;if(!_0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x17f)][_0x21a193(0x198)](_0xe5fd26[_0x21a193(0x12d)][_0x21a193(0x12a)],_0x21a193(0x1a4)))return;const _0x2aef03={'class':_0x21a193(0x161)+_0x4e0f9d[_0x21a193(0x189)][_0x21a193(0x185)](),'data-name':_0x4e0f9d[_0x21a193(0x165)],'data-session-id':_0x41f009},_0x2541e9=_0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x144)][_0x21a193(0x19b)](_0xe5fd26[_0x21a193(0x169)]),_0x177ea3=_0x2541e9[_0x21a193(0x176)](),_0x813e06=_0x177ea3[_0x21a193(0x162)],_0x548a8e=_0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x17f)];if(_0x813e06&&_0x548a8e[_0x21a193(0x15d)](_0x813e06)&&_0x548a8e[_0x21a193(0x141)](_0x813e06)&&!_0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x144)][_0x21a193(0x19b)](_0x21a193(0x18b)+_0x41f009)[_0x21a193(0x18f)]()[_0x21a193(0x14f)])return;const _0x556b01=_0x177ea3[_0x21a193(0x18a)];return _0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x17f)][_0x21a193(0x1a9)](_0x556b01)&&!_0x3b3ca3[_0x21a193(0x179)][_0x21a193(0x160)](_0x556b01)&&(_0x2aef03[_0x21a193(0x188)]=!0x1),function(_0x452cd1,_0x498e0b,_0x119ba1){const _0x27ed19=_0x21a193,_0x472f5e=_0x452cd1[_0x27ed19(0x183)](_0x27ed19(0x152),_0x498e0b);return _0x452cd1[_0x27ed19(0x197)](_0x27ed19(0x170),!0x0,_0x472f5e),_0x472f5e[_0x27ed19(0x124)]=function(_0x4b89e4){const _0x35583f=_0x27ed19,_0x27ff04=this[_0x35583f(0x1aa)](_0x4b89e4),_0x5919d3=document[_0x35583f(0x168)](_0x35583f(0x152));return _0x5919d3[_0x35583f(0x123)][_0x35583f(0x166)](_0x35583f(0x16a)),_0x5919d3[_0x35583f(0x192)](_0x35583f(0x188),_0x35583f(0x1a5)),_0x5919d3[_0x35583f(0x192)](_0x35583f(0x143),_0x35583f(0x1a5)),_0x5919d3[_0x35583f(0x148)]=_0x119ba1[_0x35583f(0x165)],_0x27ff04[_0x35583f(0x134)]=_0x35583f(0x142)+_0x5919d3[_0x35583f(0x16e)]+'',_0x27ff04[_0x35583f(0x15b)](_0x35583f(0x190),()=>{const _0x5c701d=_0x35583f;_0x27ff04[_0x5c701d(0x123)][_0x5c701d(0x166)](_0x5c701d(0x15f));}),_0x27ff04[_0x35583f(0x15b)](_0x35583f(0x1a6),()=>{const _0x221146=_0x35583f;_0x27ff04[_0x221146(0x123)][_0x221146(0x12b)](_0x221146(0x15f));}),_0x27ff04;},_0x472f5e[_0x27ed19(0x14d)]=function(_0x3b47ad){const _0x1868bb=_0x27ed19;return!(!this[_0x1868bb(0x17b)](_0x1868bb(0x170))||!_0x3b47ad[_0x1868bb(0x17b)](_0x1868bb(0x170))||this[_0x1868bb(0x18d)](_0x1868bb(0x199))!=_0x3b47ad[_0x1868bb(0x18d)](_0x1868bb(0x199)));},_0x472f5e;}(_0x5ca8ba,_0x2aef03,_0x4e0f9d);}(_0x88a4d2,_0x58c700,_0x55fb15,_0x5ec2d9)}),_0x5ec2d9[_0x2bb2bb(0x167)][_0x2bb2bb(0x181)](_0x2bb2bb(0x13c))[_0x2bb2bb(0x146)]({'model':_0x2bb2bb(0x175),'view':_0x2edf17=>function(_0x2a5338,_0x38d2cc){const _0x4f7941=_0x2bb2bb,_0xe37c0f=_0x2a5338[_0x4f7941(0x169)][_0x4f7941(0x16c)](':')[0x2];if(_0xe37c0f===_0x38d2cc[_0x4f7941(0x158)])return null;const _0x5f3c80=_0x38d2cc[_0x4f7941(0x151)](_0xe37c0f);if(!_0x5f3c80)return{'id':_0xe37c0f,'classes':[]};return{'id':_0xe37c0f,'classes':[_0x4f7941(0x1a2),_0x5f3c80[_0x4f7941(0x189)][_0x4f7941(0x1ac)]()],'attributes':{'data-session-id':_0xe37c0f},'priority':0x7d0+_0x5f3c80[_0x4f7941(0x19d)]};}(_0x2edf17,_0x55fb15)}),function(_0x4fc0f6){const _0x2587dd=_0x2bb2bb,_0x688fc7=_0x4fc0f6[_0x2587dd(0x179)],_0x1b111b=new Map(),_0x584f51=_0x4fc0f6[_0x2587dd(0x155)][_0x2587dd(0x19b)](_0xd075a8);_0x688fc7[_0x2587dd(0x144)]['on'](_0x2587dd(0x14a),(_0x41ed53,_0x56d701,_0x3a672b,_0x4484f9)=>{const _0x5687ab=_0x2587dd;if(!_0x4484f9&&_0x1b111b[_0x5687ab(0x19b)](_0x56d701[_0x5687ab(0x165)]))return _0x1b111b[_0x5687ab(0x19b)](_0x56d701[_0x5687ab(0x165)])[_0x5687ab(0x196)](),void _0x1b111b[_0x5687ab(0x186)](_0x56d701[_0x5687ab(0x165)]);const _0x1b5d62=_0x56d701[_0x5687ab(0x165)][_0x5687ab(0x16c)](':')[0x2];if(_0x1b5d62===_0x584f51[_0x5687ab(0x158)])return;const _0x3b4268=_0x5687ab(0x12c)+_0x1b5d62;_0x688fc7[_0x5687ab(0x144)][_0x5687ab(0x191)](_0x3b4268)&&_0x4fc0f6[_0x5687ab(0x149)][_0x5687ab(0x164)](_0x3b4268),_0x56d701['on'](_0x5687ab(0x15e),(_0x2433a5,_0x53435c,_0x363f02)=>{const _0xc8a1cf=_0x5687ab;if(_0xc8a1cf(0x15a)!=_0x53435c[_0xc8a1cf(0x153)][_0xc8a1cf(0x16b)]&&_0xc8a1cf(0x15a)==_0x56d701[_0xc8a1cf(0x18f)]()[_0xc8a1cf(0x153)][_0xc8a1cf(0x16b)]&&!_0x1b111b[_0xc8a1cf(0x191)](_0x56d701[_0xc8a1cf(0x165)])){const _0x2481c4=_0x688fc7[_0xc8a1cf(0x17f)][_0xc8a1cf(0x1a3)](_0x363f02[_0xc8a1cf(0x126)]);if(_0x2481c4){const _0x467c26=_0x3c876a[_0xc8a1cf(0x129)](_0x2481c4);_0x1b111b[_0xc8a1cf(0x122)](_0x56d701[_0xc8a1cf(0x165)],_0x467c26),_0x467c26['on'](_0xc8a1cf(0x15e),(_0x24052e,_0x2df200,_0x5070f7)=>{const _0x3cf921=_0xc8a1cf;if(_0x3cf921(0x15a)==_0x467c26[_0x3cf921(0x153)][_0x3cf921(0x16b)]){const _0x4f8160=_0x688fc7[_0x3cf921(0x17f)][_0x3cf921(0x1a3)](_0x5070f7[_0x3cf921(0x126)]);_0x4f8160?(_0x467c26[_0x3cf921(0x12a)]=_0x4f8160[_0x3cf921(0x12a)],_0x467c26[_0x3cf921(0x136)]=_0x4f8160[_0x3cf921(0x136)]):(_0x1b111b[_0x3cf921(0x186)](_0x56d701[_0x3cf921(0x165)]),_0x467c26[_0x3cf921(0x196)]());}});}}});}),_0x688fc7[_0x2587dd(0x187)]['on'](_0x2587dd(0x19e),()=>{const _0x147c09=_0x2587dd;_0x1b111b[_0x147c09(0x138)]>0x0&&_0x688fc7[_0x147c09(0x1a1)]({'isUndoable':!0x1},_0x7e121e=>{const _0xcad149=_0x147c09;for(const [_0xb700c0,_0x24b1e6]of _0x1b111b)_0xcad149(0x15a)==_0x688fc7[_0xcad149(0x144)][_0xcad149(0x19b)](_0xb700c0)[_0xcad149(0x18f)]()[_0xcad149(0x153)][_0xcad149(0x16b)]&&(Z(_0xb700c0[_0xcad149(0x16c)](':')[0x2],_0x24b1e6[_0xcad149(0x163)](),_0x688fc7,_0x7e121e),_0x24b1e6[_0xcad149(0x196)]());_0x1b111b[_0xcad149(0x19c)]();});});}(_0x5ec2d9),this[_0x2bb2bb(0x13a)][_0x2bb2bb(0x1ab)](_0x454886[_0x2bb2bb(0x187)],_0x2bb2bb(0x17a),(_0x144140,{key:_0x3fa0ea})=>{const _0x28437d=_0x2bb2bb;_0x28437d(0x130)===_0x3fa0ea&&function(_0x4208ed){const _0x3998c8=_0x28437d;_0x4208ed[_0x3998c8(0x149)][_0x3998c8(0x147)][_0x3998c8(0x19e)](_0x59dd6e=>{const _0x31e59c=_0x3998c8;for(const _0x4777be of _0x4208ed[_0x31e59c(0x179)][_0x31e59c(0x144)]){if(!_0x4777be[_0x31e59c(0x165)][_0x31e59c(0x178)](_0x31e59c(0x194)))continue;const _0x5be735=_0x4208ed[_0x31e59c(0x149)][_0x31e59c(0x12e)][_0x31e59c(0x145)](_0x4777be[_0x31e59c(0x165)]);if(_0x5be735){for(const _0x58e79c of _0x5be735)_0x59dd6e[_0x31e59c(0x14b)](_0x31e59c(0x15f),_0x58e79c);}}});}(_0x5ec2d9);},{'useCapture':!0x0});}[_0x1a120f(0x16d)](){const _0x10a208=_0x1a120f,_0x2d615a=this[_0x10a208(0x131)],_0xf4c3b1=_0x2d615a[_0x10a208(0x19a)][_0x10a208(0x19b)](_0x10a208(0x193));_0xf4c3b1&&_0x2d615a[_0x10a208(0x179)]['on'](_0x10a208(0x18c),(_0x56e84e,_0x5c2ac9)=>{const _0x6db639=_0x10a208,_0x38e31b=_0x5c2ac9[0x0];if(!_0x38e31b[_0x6db639(0x18e)])return;if(_0x6db639(0x17d)!=_0x38e31b[_0x6db639(0x125)]||!_0x38e31b[_0x6db639(0x165)][_0x6db639(0x178)](_0x6db639(0x195)))return;const _0x212cdd=_0x38e31b[_0x6db639(0x139)];_0xf4c3b1[_0x6db639(0x16f)][_0x6db639(0x191)](_0x212cdd)&&(_0x38e31b[_0x6db639(0x17e)]=_0x38e31b[_0x6db639(0x128)]?_0x2d615a[_0x6db639(0x179)][_0x6db639(0x132)](_0x38e31b[_0x6db639(0x128)][_0x6db639(0x12a)],_0x38e31b[_0x6db639(0x128)][_0x6db639(0x136)]):null);},{'priority':_0x10a208(0x14e)});}[_0x1a120f(0x15c)](){const _0x3f5cb7=_0x1a120f;return this[_0x3f5cb7(0x13a)][_0x3f5cb7(0x182)](),super[_0x3f5cb7(0x15c)]();}[_0x1a120f(0x177)](){const _0x1080ce=_0x1a120f,_0x2d44f3=this[_0x1080ce(0x131)],_0x4bfe67=_0x2d44f3[_0x1080ce(0x179)][_0x1080ce(0x187)],_0x20c8da=_0x2d44f3[_0x1080ce(0x155)][_0x1080ce(0x19b)](_0xd075a8);_0x2d44f3[_0x1080ce(0x179)][_0x1080ce(0x1a1)]({'isUndoable':!0x1},_0x40c5df=>{const _0x47c181=_0x1080ce,_0x526532=_0x47c181(0x18b)+_0x20c8da[_0x47c181(0x158)],_0x53ff80=_0x47c181(0x12c)+_0x20c8da[_0x47c181(0x158)],_0x3e0f5=_0x2d44f3[_0x47c181(0x179)][_0x47c181(0x144)][_0x47c181(0x191)](_0x526532);_0x2d44f3[_0x47c181(0x149)][_0x47c181(0x147)][_0x47c181(0x172)]?Z(_0x20c8da[_0x47c181(0x158)],_0x4bfe67[_0x47c181(0x171)][_0x47c181(0x154)](),_0x2d44f3[_0x47c181(0x179)],_0x40c5df):_0x3e0f5&&(_0x40c5df[_0x47c181(0x173)](_0x526532),_0x40c5df[_0x47c181(0x173)](_0x53ff80));});}}function Z(_0x318cd5,_0x36a5c4,_0x57ab04,_0x14ff2f){const _0x27892d=_0x1a120f,_0x27e492=_0x27892d(0x18b)+_0x318cd5,_0x46cdaa=_0x27892d(0x12c)+_0x318cd5,_0x3c4cb3=_0x36a5c4[_0x27892d(0x12f)]();let _0x2b4e6b=_0x36a5c4[_0x27892d(0x12a)];if(_0x3c4cb3&&_0x3c4cb3['is'](_0x27892d(0x13e),_0x27892d(0x14c))){const _0x29626d=function(_0x36791e,_0x19a494){const _0x43db2f=_0x27892d;for(const _0x55df01 of _0x36791e[_0x43db2f(0x1a8)]())if(_0x19a494[_0x43db2f(0x17f)][_0x43db2f(0x198)](_0x55df01,_0x43db2f(0x1a4)))return _0x55df01;}(_0x36a5c4,_0x57ab04);_0x29626d&&(_0x2b4e6b=_0x29626d,_0x36a5c4=_0x14ff2f[_0x27892d(0x132)](_0x2b4e6b));}const _0x3f7f58=_0x14ff2f[_0x27892d(0x132)](_0x2b4e6b);_0x57ab04[_0x27892d(0x144)][_0x27892d(0x191)](_0x27e492)?(_0x14ff2f[_0x27892d(0x180)](_0x27e492,{'range':_0x36a5c4}),_0x14ff2f[_0x27892d(0x180)](_0x46cdaa,{'range':_0x3f7f58})):(_0x14ff2f[_0x27892d(0x13d)](_0x27e492,{'range':_0x36a5c4,'usingOperation':!0x0}),_0x14ff2f[_0x27892d(0x13d)](_0x46cdaa,{'range':_0x3f7f58,'usingOperation':!0x0}));}
|