@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.2 → 47.3.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3406dd=_0x3186;(function(_0x5d1481,_0x4b3d94){const _0x111e4a=_0x3186,_0x15b83f=_0x5d1481();while(!![]){try{const _0x9c9747=-parseInt(_0x111e4a(0x160))/0x1+-parseInt(_0x111e4a(0x15f))/0x2+-parseInt(_0x111e4a(0x17a))/0x3+-parseInt(_0x111e4a(0x16c))/0x4+parseInt(_0x111e4a(0x169))/0x5*(parseInt(_0x111e4a(0x170))/0x6)+parseInt(_0x111e4a(0x15a))/0x7+-parseInt(_0x111e4a(0x17c))/0x8*(-parseInt(_0x111e4a(0x15b))/0x9);if(_0x9c9747===_0x4b3d94)break;else _0x15b83f['push'](_0x15b83f['shift']());}catch(_0x55d220){_0x15b83f['push'](_0x15b83f['shift']());}}}(_0x1847,0xe0b45));import{View as _0x3701c0}from'ckeditor5/src/ui.js';function _0x3186(_0x46e66e,_0x33f6af){const _0x1847d9=_0x1847();return _0x3186=function(_0x318659,_0x5f07b6){_0x318659=_0x318659-0x159;let _0x86340=_0x1847d9[_0x318659];return _0x86340;},_0x3186(_0x46e66e,_0x33f6af);}import{KeystrokeHandler as _0x1d7653}from'ckeditor5/src/utils.js';import{getTranslation as _0x42324a}from'../../common-translations.js';function _0x1847(){const _0xa7a1ff=['isExpanded','fire','ck-presence-list__list','focus','.ck-balloon-panel_with-arrow','render','relatedTarget','3429255MdBqjl','list','8GXCuYr','aria-expanded','listenTo','removeAttribute','12780418zlpSDR','34102098xRPXNM','set','hasPopup','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','2503862PSjHaL','1641665kLnUya','contains','presencelist:show','Connected\x20users\x20list','element','querySelector','bindTemplate','presencelist:hide','createCollection','30ZlKBMQ','items','setAttribute','3349336VcWzEZ','.ck-presence-list__dropdown-list','div','keystrokes','179508RAGNbD','setTemplate','change:hasPopup'];_0x1847=function(){return _0xa7a1ff;};return _0x1847();}export class PresenceInlineListView extends _0x3701c0{[_0x3406dd(0x16a)];[_0x3406dd(0x16f)];constructor(_0x593437){const _0x2ebc30=_0x3406dd;super(_0x593437);const _0x4b441c=this[_0x2ebc30(0x166)];this[_0x2ebc30(0x16a)]=this[_0x2ebc30(0x168)](),this[_0x2ebc30(0x16f)]=new _0x1d7653(),this[_0x2ebc30(0x15c)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x2ebc30(0x171)]({'tag':_0x2ebc30(0x16e),'attributes':{'aria-haspopup':_0x4b441c['if'](_0x2ebc30(0x15d)),'aria-expanded':_0x4b441c['to'](_0x2ebc30(0x173),_0x5a2165=>this[_0x2ebc30(0x15d)]&&String(_0x5a2165)),'aria-label':_0x4b441c['to'](_0x2ebc30(0x15d),_0x164791=>_0x42324a(_0x593437,_0x164791?_0x2ebc30(0x15e):_0x2ebc30(0x163))),'role':_0x2ebc30(0x17b),'tabindex':_0x4b441c['to'](_0x2ebc30(0x15d),_0x41a4ff=>!!_0x41a4ff&&0x0),'class':['ck',_0x2ebc30(0x175)]},'children':this[_0x2ebc30(0x16a)],'on':{'mouseenter':_0x4b441c['to'](()=>this[_0x2ebc30(0x174)](_0x2ebc30(0x162))),'mouseleave':_0x4b441c['to'](_0x2b2ee1=>{const _0x4d84b4=_0x2ebc30,_0x269755=_0x2b2ee1,_0x571b2b=document[_0x4d84b4(0x165)](_0x4d84b4(0x16d)),_0x4d0484=document[_0x4d84b4(0x165)](_0x4d84b4(0x177));_0x571b2b?.[_0x4d84b4(0x161)](_0x269755[_0x4d84b4(0x179)])||_0x4d0484?.[_0x4d84b4(0x161)](_0x269755[_0x4d84b4(0x179)])||this[_0x4d84b4(0x174)](_0x4d84b4(0x167));})}}),this['on'](_0x2ebc30(0x172),(_0x4e4f7d,_0x2dc491,_0x3f6ea3)=>{const _0x30f2fa=_0x2ebc30;this[_0x30f2fa(0x164)]&&(_0x3f6ea3?this[_0x30f2fa(0x164)][_0x30f2fa(0x16b)](_0x30f2fa(0x17d),String(this[_0x30f2fa(0x173)])):this[_0x30f2fa(0x164)][_0x30f2fa(0x159)](_0x30f2fa(0x17d)));});}[_0x3406dd(0x176)](){const _0x325727=_0x3406dd;this[_0x325727(0x164)][_0x325727(0x176)]();}[_0x3406dd(0x178)](){const _0x4a76d2=_0x3406dd;super[_0x4a76d2(0x178)](),this[_0x4a76d2(0x16f)][_0x4a76d2(0x17e)](this[_0x4a76d2(0x164)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xe965(){const _0x184ce3=['42980COVNiG','inlineListView','ck-rounded-corners','first','listenTo','ck-presence-list','isCollapsed','items','bindTemplate','locale','736850Pgjolh','hasPopup','ck-presence-list--collapsed','565041CfbFSY','change','119637UgzZVn','2tahSby','1099XSaqeC','12128KHQIgc','37087AUzssi','ck-reset','div','setTemplate','counterView','45661hkZUCU','210BkUnKk','bind','set','6PstDgS','tooltipPosition'];_0xe965=function(){return _0x184ce3;};return _0xe965();}const _0xf6ef82=_0x3387;(function(_0x339753,_0x1defbd){const _0x40a2f6=_0x3387,_0x2acbd2=_0x339753();while(!![]){try{const _0x567306=-parseInt(_0x40a2f6(0x1c8))/0x1*(-parseInt(_0x40a2f6(0x1c5))/0x2)+-parseInt(_0x40a2f6(0x1c2))/0x3+-parseInt(_0x40a2f6(0x1d3))/0x4+parseInt(_0x40a2f6(0x1bf))/0x5*(parseInt(_0x40a2f6(0x1d1))/0x6)+-parseInt(_0x40a2f6(0x1c6))/0x7*(-parseInt(_0x40a2f6(0x1c7))/0x8)+parseInt(_0x40a2f6(0x1c4))/0x9+-parseInt(_0x40a2f6(0x1ce))/0xa*(parseInt(_0x40a2f6(0x1cd))/0xb);if(_0x567306===_0x1defbd)break;else _0x2acbd2['push'](_0x2acbd2['shift']());}catch(_0x276c91){_0x2acbd2['push'](_0x2acbd2['shift']());}}}(_0xe965,0x247fb));import{View as _0x19b905}from'ckeditor5/src/ui.js';function _0x3387(_0x31e874,_0x211282){const _0xe9650=_0xe965();return _0x3387=function(_0x338703,_0x4cc5ae){_0x338703=_0x338703-0x1bb;let _0x18c224=_0xe9650[_0x338703];return _0x18c224;},_0x3387(_0x31e874,_0x211282);}import{PresenceCounterView as _0x126fd0}from'./presencecounterview.js';import{PresenceInlineListView as _0x32e064}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x19b905{[_0xf6ef82(0x1cc)];[_0xf6ef82(0x1d4)];constructor(_0x5dda9a,_0x57580f=0x6){const _0x28f7a0=_0xf6ef82;super(_0x5dda9a);const _0x595df4=this[_0x28f7a0(0x1bd)];this[_0x28f7a0(0x1d0)](_0x28f7a0(0x1bb),!0x0),this[_0x28f7a0(0x1cc)]=new _0x126fd0(this[_0x28f7a0(0x1be)],_0x57580f),this[_0x28f7a0(0x1d4)]=new _0x32e064(_0x5dda9a),this[_0x28f7a0(0x1d4)][_0x28f7a0(0x1cf)](_0x28f7a0(0x1c0))['to'](this,_0x28f7a0(0x1bb)),this[_0x28f7a0(0x1d7)](this[_0x28f7a0(0x1d4)][_0x28f7a0(0x1bc)],_0x28f7a0(0x1c3),()=>{const _0x19105e=_0x28f7a0;for(const _0x5140ad of this[_0x19105e(0x1d4)][_0x19105e(0x1bc)])_0x5140ad[_0x19105e(0x1d2)]='s';this[_0x19105e(0x1d4)][_0x19105e(0x1bc)][_0x19105e(0x1d6)]&&(this[_0x19105e(0x1d4)][_0x19105e(0x1bc)][_0x19105e(0x1d6)][_0x19105e(0x1d2)]='se');}),this[_0x28f7a0(0x1cb)]({'tag':_0x28f7a0(0x1ca),'attributes':{'class':['ck',_0x28f7a0(0x1d8),_0x28f7a0(0x1c9),_0x28f7a0(0x1d5),_0x595df4['if'](_0x28f7a0(0x1bb),_0x28f7a0(0x1c1))]},'children':[this[_0x28f7a0(0x1d4)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x322d35=_0x5d3d;(function(_0x1c1c09,_0x170295){var _0x91e66e=_0x5d3d,_0x48e8d6=_0x1c1c09();while(!![]){try{var _0x1efd1b=-parseInt(_0x91e66e(0x82))/0x1+-parseInt(_0x91e66e(0x84))/0x2+parseInt(_0x91e66e(0x80))/0x3+-parseInt(_0x91e66e(0x87))/0x4+parseInt(_0x91e66e(0x86))/0x5+parseInt(_0x91e66e(0x8b))/0x6+-parseInt(_0x91e66e(0x89))/0x7*(-parseInt(_0x91e66e(0x83))/0x8);if(_0x1efd1b===_0x170295)break;else _0x48e8d6['push'](_0x48e8d6['shift']());}catch(_0x2fbfeb){_0x48e8d6['push'](_0x48e8d6['shift']());}}}(_0x3f80,0x1d3e5));function _0x5d3d(_0x2a72fc,_0x1d2a28){var _0x3f801d=_0x3f80();return _0x5d3d=function(_0x5d3d00,_0xd8e389){_0x5d3d00=_0x5d3d00-0x7f;var _0x4f2b11=_0x3f801d[_0x5d3d00];return _0x4f2b11;},_0x5d3d(_0x2a72fc,_0x1d2a28);}import{ContextPlugin as _0x341ea7}from'ckeditor5/src/core.js';function _0x3f80(){var _0x3cca9=['pluginName','652236UbkNBj','PresenceList','344055roaSar','requires','215106wxYYFs','1592XWzhXB','364588sRLnzQ','isOfficialPlugin','11610MaCVTm','81460TXHPnR','isPremiumPlugin','10969FQcVhc'];_0x3f80=function(){return _0x3cca9;};return _0x3f80();}import{Sessions as _0x20ba6d}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x9aa0b1}from'./presencelist/presencelistui.js';export class PresenceList extends _0x341ea7{static get[_0x322d35(0x81)](){return[_0x20ba6d,_0x9aa0b1];}static get[_0x322d35(0x8a)](){var _0x49935c=_0x322d35;return _0x49935c(0x7f);}static get[_0x322d35(0x85)](){return!0x0;}static get[_0x322d35(0x88)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0xd94a2)());[_0x412de2(0x1c3)];static get[_0x412de2(0x1ab)](){const _0x396384=_0x412de2;return[_0x1643e5,_0x396384(0x1b0),_0x2cef3e,_0x270f4c];}static get[_0x412de2(0x1a9)](){const _0x34023b=_0x412de2;return _0x34023b(0x20c);}static get[_0x412de2(0x1ce)](){return!0x0;}static get[_0x412de2(0x1ad)](){return!0x0;}constructor(_0x211e43){const _0x1e7f40=_0x412de2;super(_0x211e43),this[_0x1e7f40(0x1c3)]=new Map();}async[_0x412de2(0x1e4)](){const _0x35b2f3=_0x412de2,_0x13b909=this[_0x35b2f3(0x1b3)],_0x28f6f8=_0x13b909[_0x35b2f3(0x1e6)][_0x35b2f3(0x1ef)](_0x35b2f3(0x1b0));if(_0x13b909[_0x35b2f3(0x1e6)][_0x35b2f3(0x1ef)](_0x1643e5)[_0x35b2f3(0x1f2)](this),_0x28f6f8[_0x35b2f3(0x1c6)]={'addCommentThread':async({channelId:_0x58b5af,threadId:_0x430be3,comments:_0x481ddb,resolvedAt:_0x1bc462,resolvedBy:_0x4d18d2,context:_0x479ace,attributes:_0x524b0a})=>{const _0x2cdab7=_0x35b2f3,_0x1960da=await this[_0x2cdab7(0x1dc)](_0x58b5af)[_0x2cdab7(0x208)]({'commentThreadId':_0x430be3,'comments':_0x481ddb[_0x2cdab7(0x1c5)](_0x359f66=>function(_0x4e283f,_0x2128ca,_0x457d7a){const _0xb709c6=_0x2cdab7;return{'commentThreadId':_0x457d7a,'commentId':_0x4e283f[_0xb709c6(0x1d4)],'userId':_0x4e283f[_0xb709c6(0x1ee)],'content':_0x4e283f[_0xb709c6(0x1fc)],'documentId':_0x2128ca,'createdAt':_0x4e283f[_0xb709c6(0x1ec)],'attributes':_0x4e283f[_0xb709c6(0x210)]||{}};}(_0x359f66,_0x58b5af,_0x430be3)),'resolvedAt':_0x1bc462,'resolvedBy':_0x4d18d2,'context':_0x479ace,'attributes':_0x524b0a})[_0x2cdab7(0x1eb)](k);return{'threadId':_0x1960da[_0x2cdab7(0x1d7)],'comments':_0x1960da[_0x2cdab7(0x1d3)]};},'getCommentThread':async({channelId:_0x380dc8,threadId:_0x2b1518})=>{const _0x3917da=_0x35b2f3,_0x4c7552=await this[_0x3917da(0x1dc)](_0x380dc8)[_0x3917da(0x1b6)](_0x2b1518)[_0x3917da(0x1eb)](F)[_0x3917da(0x1eb)](k);return _0x4c7552?_0x4c7552[_0x3917da(0x1ca)]?null:(await this[_0x3917da(0x1d1)]([_0x4c7552]),{'threadId':_0x4c7552[_0x3917da(0x1d7)],'comments':_0x4c7552[_0x3917da(0x1d3)][_0x3917da(0x1c5)](S),'context':_0x4c7552[_0x3917da(0x1b3)],'resolvedAt':_0x4c7552[_0x3917da(0x1ea)],'resolvedBy':_0x4c7552[_0x3917da(0x209)],'attributes':_0x4c7552[_0x3917da(0x210)]||{}}):null;},'updateCommentThread':async({channelId:_0x545dfb,threadId:_0x1052da,context:_0x258c72,unlinkedAt:_0x4cec4b,attributes:_0x5d9897})=>this[_0x35b2f3(0x1dc)](_0x545dfb)[_0x35b2f3(0x1b2)]({'commentThreadId':_0x1052da,'context':_0x258c72,'attributes':_0x5d9897,'unlinkedAt':_0x4cec4b})[_0x35b2f3(0x1eb)](F)[_0x35b2f3(0x1eb)](k),'resolveCommentThread':async({channelId:_0x39c968,threadId:_0x1f18ac})=>{const _0xebbd1e=_0x35b2f3,_0x138f7c=await this[_0xebbd1e(0x1dc)](_0x39c968)[_0xebbd1e(0x1c9)](_0x1f18ac)[_0xebbd1e(0x1eb)](F)[_0xebbd1e(0x1eb)](k);return{'threadId':_0x138f7c[_0xebbd1e(0x1d7)],'resolvedAt':_0x138f7c[_0xebbd1e(0x1ea)],'resolvedBy':_0x138f7c[_0xebbd1e(0x209)]};},'reopenCommentThread':async({channelId:_0x3c1deb,threadId:_0x5aa4ea})=>this[_0x35b2f3(0x1dc)](_0x3c1deb)[_0x35b2f3(0x1f7)](_0x5aa4ea)[_0x35b2f3(0x1eb)](F)[_0x35b2f3(0x1eb)](k),'removeCommentThread':({channelId:_0x1d45ac,threadId:_0x41f447})=>this[_0x35b2f3(0x1dc)](_0x1d45ac)[_0x35b2f3(0x1b4)](_0x41f447)[_0x35b2f3(0x1eb)](F)[_0x35b2f3(0x1eb)](k),'addComment':({channelId:_0x45ac60,threadId:_0x1fcbe4,commentId:_0x306de2,content:_0x228d2c,attributes:_0x3576ae})=>this[_0x35b2f3(0x1dc)](_0x45ac60)[_0x35b2f3(0x1be)](_0x1fcbe4,_0x306de2,_0x228d2c,_0x3576ae)[_0x35b2f3(0x1eb)](k),'updateComment':({channelId:_0xe6d1cd,threadId:_0x49a22c,commentId:_0x12babf,content:_0x4b5336,attributes:_0x679310})=>this[_0x35b2f3(0x1dc)](_0xe6d1cd)[_0x35b2f3(0x1e2)](_0x49a22c,_0x12babf,_0x4b5336,_0x679310)[_0x35b2f3(0x1eb)](F)[_0x35b2f3(0x1eb)](k),'removeComment':({channelId:_0xcc1161,threadId:_0x4ee56a,commentId:_0x4374b4})=>this[_0x35b2f3(0x1dc)](_0xcc1161)[_0x35b2f3(0x1b9)](_0x4ee56a,_0x4374b4)[_0x35b2f3(0x1eb)](F)[_0x35b2f3(0x1eb)](k)},_0x13b909 instanceof _0x1c8ce5){const _0x1f15cd=_0x13b909[_0x35b2f3(0x203)][_0x35b2f3(0x1ef)](_0x35b2f3(0x1b5)),_0x935701=_0x13b909[_0x35b2f3(0x1e6)][_0x35b2f3(0x1ef)](_0x2cef3e);await this[_0x35b2f3(0x1e5)](_0x1f15cd);const _0x31ad28=await this[_0x35b2f3(0x1c3)][_0x35b2f3(0x1ef)](_0x1f15cd)[_0x35b2f3(0x1f6)]();this[_0x35b2f3(0x1fa)](_0x935701,_0x35b2f3(0x1cb)+_0x1f15cd,(_0xa39502,{session:_0xb15e9b})=>{const _0x4bb9da=_0x35b2f3;_0xb15e9b['id']===_0x935701[_0x4bb9da(0x1d5)]&&(_0xa39502[_0x4bb9da(0x1cc)](),this[_0x4bb9da(0x1b3)][_0x4bb9da(0x1e6)][_0x4bb9da(0x1ef)](_0x4bb9da(0x1b7))[_0x4bb9da(0x1bc)](_0xb15e9b[_0x4bb9da(0x1c8)],_0x1f15cd));}),_0x935701[_0x35b2f3(0x1da)](_0x1f15cd,_0x31ad28);}}async[_0x412de2(0x1e5)](_0x8daa85){const _0x379983=_0x412de2;if(this[_0x379983(0x1c3)][_0x379983(0x202)](_0x8daa85))throw new _0x40aba7(_0x379983(0x1cf),null,{'channelId':_0x8daa85});const _0x31ff11=this[_0x379983(0x1b3)][_0x379983(0x1e6)][_0x379983(0x1ef)](_0x379983(0x1b0)),_0x60f10b=new CloudServicesCommentsAdapter[(_0x379983(0x20e))](_0x8daa85);this[_0x379983(0x1c3)][_0x379983(0x1cd)](_0x8daa85,_0x60f10b),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x1dd),(_0x9b098,_0x27580e)=>{const _0x17cbfa=_0x379983,{commentThreadId:_0x576753,documentId:_0x2b722a,context:_0x3b9f16,attributes:_0x59e5b9,resolvedAt:_0x5342c3,resolvedBy:_0x3c107d,comments:_0xc0a6b6}=_0x27580e;_0x31ff11[_0x17cbfa(0x1b6)](_0x576753)||_0x31ff11[_0x17cbfa(0x208)]({'threadId':_0x576753,'channelId':_0x2b722a,'comments':_0xc0a6b6?_0xc0a6b6[_0x17cbfa(0x1c5)](S):[],'context':_0x3b9f16,'attributes':_0x59e5b9,'resolvedAt':_0x5342c3,'resolvedBy':_0x3c107d,'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x1db),(_0x102302,{commentThreadId:_0x3c46f0,documentId:_0x5d8474,context:_0x526c16,unlinkedAt:_0x54e4db,attributes:_0x78423f})=>{const _0x17aa57=_0x379983;_0x31ff11[_0x17aa57(0x1b6)](_0x3c46f0)&&_0x31ff11[_0x17aa57(0x1b2)]({'threadId':_0x3c46f0,'channelId':_0x5d8474,'context':_0x526c16,'unlinkedAt':_0x54e4db,'attributes':_0x78423f,'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x1bb),(_0x69f227,{commentThreadId:_0x3486f4,resolvedBy:_0x39b804,resolvedAt:_0x3b033e})=>{const _0x17c0a9=_0x379983,_0x1826f0=_0x31ff11[_0x17c0a9(0x1b6)](_0x3486f4);_0x1826f0&&_0x1826f0[_0x17c0a9(0x1b1)]({'resolvedBy':_0x39b804,'resolvedAt':_0x3b033e,'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x20f),(_0x5e7e25,{commentThreadId:_0x4c3efc})=>{const _0x23570a=_0x379983,_0x55bd86=_0x31ff11[_0x23570a(0x1b6)](_0x4c3efc);_0x55bd86&&_0x55bd86[_0x23570a(0x1bd)]({'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x1df),(_0x9b0a86,{commentThreadId:_0x21bc98})=>{const _0x18239d=_0x379983,_0x71fdad=_0x31ff11[_0x18239d(0x1b6)](_0x21bc98);_0x71fdad&&_0x71fdad[_0x18239d(0x1f0)]({'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x204),(_0x3275ba,_0x778d64)=>{const _0x5cf045=_0x379983,_0x3a9ad9=_0x778d64[_0x5cf045(0x1d7)],_0x153b3e=_0x31ff11[_0x5cf045(0x1b6)](_0x3a9ad9);_0x153b3e&&_0x153b3e[_0x5cf045(0x1be)]({...S(_0x778d64),'isFromAdapter':!0x0});}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x205),(_0x16847d,{commentThreadId:_0x36ee3e,commentId:_0x4ab712,content:_0x17de70,attributes:_0x4c70df})=>{const _0xb45fbe=_0x379983,_0x1f3aea=_0x31ff11[_0xb45fbe(0x1b6)](_0x36ee3e);if(_0x1f3aea){const _0x4fced4=_0x1f3aea[_0xb45fbe(0x1e1)](_0x4ab712);_0x4fced4&&_0x4fced4[_0xb45fbe(0x1b8)]({'content':_0x17de70,'attributes':_0x4c70df,'isFromAdapter':!0x0});}}),this[_0x379983(0x1fa)](_0x60f10b,_0x379983(0x1bf),(_0x1aea22,{commentThreadId:_0x2a726d,commentId:_0x946051})=>{const _0x5e9067=_0x379983,_0x24cd26=_0x31ff11[_0x5e9067(0x1b6)](_0x2a726d);if(_0x24cd26){const _0x411bf4=_0x24cd26[_0x5e9067(0x1e1)](_0x946051);_0x411bf4&&_0x411bf4[_0x5e9067(0x1f0)]({'isFromAdapter':!0x0});}}),await this[_0x379983(0x1d8)](_0x8daa85);}[_0x412de2(0x201)](){const _0x518654=_0x412de2;if(this[_0x518654(0x1b3)]instanceof _0x1c8ce5){const _0x5730e6=this[_0x518654(0x1b3)][_0x518654(0x203)][_0x518654(0x1ef)](_0x518654(0x1b5));this[_0x518654(0x20a)](_0x5730e6);}}[_0x412de2(0x20a)](_0x129d4d){const _0x3a6c70=_0x412de2;if(!this[_0x3a6c70(0x1c3)][_0x3a6c70(0x202)](_0x129d4d))throw new _0x40aba7(_0x3a6c70(0x200),null,{'channelId':_0x129d4d});this[_0x3a6c70(0x1dc)](_0x129d4d)[_0x3a6c70(0x1de)](),this[_0x3a6c70(0x1c3)][_0x3a6c70(0x1ae)](_0x129d4d);}async[_0x412de2(0x1e3)](){const _0x4157de=_0x412de2;for(const _0x149a5b of this[_0x4157de(0x1c3)][_0x4157de(0x1f5)]())await this[_0x4157de(0x1d8)](_0x149a5b);if(this[_0x4157de(0x1b3)]instanceof _0x1c8ce5){const _0x2176ef=this[_0x4157de(0x1b3)][_0x4157de(0x203)][_0x4157de(0x1ef)](_0x4157de(0x1b5)),_0xeec2c8=this[_0x4157de(0x1b3)][_0x4157de(0x1e6)][_0x4157de(0x1ef)](_0x2cef3e);_0xeec2c8[_0x4157de(0x1c4)](_0x2176ef);const _0x5c9157=await this[_0x4157de(0x1c3)][_0x4157de(0x1ef)](_0x2176ef)[_0x4157de(0x1f6)]();_0xeec2c8[_0x4157de(0x1da)](_0x2176ef,_0x5c9157);}}async[_0x412de2(0x1d8)](_0x48faed){const _0x1b5a4e=_0x412de2,{connection:_0x51e5bf}=this[_0x1b5a4e(0x1b3)][_0x1b5a4e(0x1e6)][_0x1b5a4e(0x1ef)](_0x1643e5),_0x228ef8=this[_0x1b5a4e(0x1b3)][_0x1b5a4e(0x1e6)][_0x1b5a4e(0x1ef)](_0x1b5a4e(0x1b0)),_0x2a2938=this[_0x1b5a4e(0x1c3)][_0x1b5a4e(0x1ef)](_0x48faed),_0xf44f09=await _0x2a2938[_0x1b5a4e(0x1c2)](_0x51e5bf);await this[_0x1b5a4e(0x1d1)](_0xf44f09);const _0x1628f1=new Set(Array[_0x1b5a4e(0x1f3)](_0x228ef8[_0x1b5a4e(0x20d)]({'channelId':_0x48faed}),_0x15c868=>_0x15c868['id']));for(const _0x20cf41 of _0xf44f09)_0x20cf41[_0x1b5a4e(0x1ca)]||_0x1628f1[_0x1b5a4e(0x1ae)](_0x20cf41[_0x1b5a4e(0x1d7)]);for(const _0x320d4e of _0x1628f1)_0x228ef8[_0x1b5a4e(0x1b6)](_0x320d4e)[_0x1b5a4e(0x1f0)]({'isFromAdapter':!0x0});for(const _0x2393dc of _0xf44f09){let _0x4c2948=_0x228ef8[_0x1b5a4e(0x1b6)](_0x2393dc[_0x1b5a4e(0x1d7)]);const {commentThreadId:_0x2eaa02,context:_0xeb4dd9,attributes:_0x4fe717,resolvedBy:_0x4deba4,resolvedAt:_0x275b51,unlinkedAt:_0x3428ff,deletedAt:_0x419ae1}=_0x2393dc;if(_0x419ae1)continue;_0x4c2948||(_0x4c2948=_0x228ef8[_0x1b5a4e(0x208)]({'channelId':_0x48faed,'threadId':_0x2eaa02,'context':_0xeb4dd9,'attributes':_0x4fe717||{},'resolvedBy':_0x4deba4,'resolvedAt':_0x275b51,'unlinkedAt':_0x3428ff,'isFromAdapter':!0x0}));const _0x4ab0bc=new Set(Array[_0x1b5a4e(0x1f3)](_0x4c2948[_0x1b5a4e(0x1d3)],_0x3a0adc=>_0x3a0adc['id']));for(const _0x39db72 of _0x2393dc[_0x1b5a4e(0x1d3)])_0x4ab0bc[_0x1b5a4e(0x1ae)](_0x39db72[_0x1b5a4e(0x1d4)]);for(const _0x4dfeb9 of _0x4ab0bc)_0x4c2948[_0x1b5a4e(0x1e1)](_0x4dfeb9)[_0x1b5a4e(0x1f0)]({'isFromAdapter':!0x0});for(const _0x127b28 of _0x2393dc[_0x1b5a4e(0x1d3)]){const _0xd333e5=_0x4c2948[_0x1b5a4e(0x1e1)](_0x127b28[_0x1b5a4e(0x1d4)]);_0xd333e5?_0xd333e5[_0x1b5a4e(0x1fc)]!==_0x127b28[_0x1b5a4e(0x1fc)]&&_0xd333e5[_0x1b5a4e(0x1b8)]({'content':_0x127b28[_0x1b5a4e(0x1fc)],'isFromAdapter':!0x0}):_0x4c2948[_0x1b5a4e(0x1be)](Object[_0x1b5a4e(0x1fe)](S(_0x127b28),{'isFromAdapter':!0x0}));}}}[_0x412de2(0x1dc)](_0x2a2620){const _0x346765=_0x412de2;if(!this[_0x346765(0x1c3)][_0x346765(0x202)](_0x2a2620))throw new _0x40aba7(_0x346765(0x1fb),null,{'channelId':_0x2a2620});return this[_0x346765(0x1c3)][_0x346765(0x1ef)](_0x2a2620);}async[_0x412de2(0x1d1)](_0x1bcbb8){const _0x228101=_0x412de2,_0x100c2b=this[_0x228101(0x1b3)][_0x228101(0x1e6)][_0x228101(0x1ef)](_0x270f4c),{connection:_0x5391ab}=this[_0x228101(0x1b3)][_0x228101(0x1e6)][_0x228101(0x1ef)](_0x1643e5),_0x1049ad=new Set();for(const {resolvedBy:_0x7b8d34,comments:_0x5f1687}of _0x1bcbb8){_0x7b8d34&&!_0x100c2b[_0x228101(0x207)](_0x7b8d34)&&_0x1049ad[_0x228101(0x1f1)](_0x7b8d34);for(const {userId:_0xe5ba82}of _0x5f1687)_0x100c2b[_0x228101(0x207)](_0xe5ba82)||_0x1049ad[_0x228101(0x1f1)](_0xe5ba82);}if(0x0===_0x1049ad[_0x228101(0x1ed)])return;const _0x42497f=await _0x20c4a0[_0x228101(0x1e9)](_0x5391ab,Array[_0x228101(0x1f3)](_0x1049ad));for(const _0x31829c of _0x42497f)_0x100c2b[_0x228101(0x207)](_0x31829c['id'])||_0x100c2b[_0x228101(0x1e0)](_0x31829c);}}async function F(_0x5328c7){const _0xbb7f6a=_0x412de2;if(_0xbb7f6a(0x1fd)!==_0x5328c7[_0xbb7f6a(0x1d2)])throw _0x5328c7;}function k(_0x3a109f){const _0x39f609=_0x412de2;if((_0x5f3400=_0x3a109f)[_0x39f609(0x20b)][_0x39f609(0x1ac)](_0x39f609(0x1ba))||_0x5f3400[_0x39f609(0x20b)][_0x39f609(0x1ac)](_0x39f609(0x1d0))||_0x5f3400[_0x39f609(0x20b)][_0x39f609(0x1ac)](_0x39f609(0x1f9)))return new Promise(()=>{});var _0x5f3400;throw _0x3a109f;}function S(_0x262481){const _0x5c5cd5=_0x412de2;return{'threadId':_0x262481[_0x5c5cd5(0x1d7)],'commentId':_0x262481[_0x5c5cd5(0x1d4)],'content':_0x262481[_0x5c5cd5(0x1fc)],'createdAt':_0x262481[_0x5c5cd5(0x1ec)],'authorId':_0x262481[_0x5c5cd5(0x1aa)],'attributes':_0x262481[_0x5c5cd5(0x210)]||{}};}
|
|
23
|
+
const _0x5ec08a=_0x209f;(function(_0x555377,_0xea2e84){const _0x3d0533=_0x209f,_0x44a88d=_0x555377();while(!![]){try{const _0x258b66=-parseInt(_0x3d0533(0x140))/0x1*(parseInt(_0x3d0533(0xfa))/0x2)+-parseInt(_0x3d0533(0x138))/0x3+parseInt(_0x3d0533(0xdf))/0x4*(parseInt(_0x3d0533(0x106))/0x5)+parseInt(_0x3d0533(0xf2))/0x6+parseInt(_0x3d0533(0xe1))/0x7*(-parseInt(_0x3d0533(0x11f))/0x8)+parseInt(_0x3d0533(0xec))/0x9*(parseInt(_0x3d0533(0xfd))/0xa)+parseInt(_0x3d0533(0xf7))/0xb;if(_0x258b66===_0xea2e84)break;else _0x44a88d['push'](_0x44a88d['shift']());}catch(_0x706213){_0x44a88d['push'](_0x44a88d['shift']());}}}(_0x48b8,0xe379a));import{Context as _0x55f2b0,ContextPlugin as _0x46fb52}from'ckeditor5/src/core.js';function _0x209f(_0x4d6a79,_0x5563ed){const _0x48b805=_0x48b8();return _0x209f=function(_0x209f41,_0x4b4862){_0x209f41=_0x209f41-0xda;let _0x5c1470=_0x48b805[_0x209f41];return _0x5c1470;},_0x209f(_0x4d6a79,_0x5563ed);}import{CKEditorError as _0x29dc15}from'ckeditor5/src/utils.js';import{Users as _0x26eca7}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2b1ba9,User as _0x5bb7eb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x2c6b5d}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5a4184}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x46fb52{static [_0x5ec08a(0x134)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2b1ba9)());[_0x5ec08a(0x120)];static get[_0x5ec08a(0x11e)](){const _0x49de7d=_0x5ec08a;return[_0x2c6b5d,_0x49de7d(0x12e),_0x5a4184,_0x26eca7];}static get[_0x5ec08a(0xda)](){const _0x5abdfe=_0x5ec08a;return _0x5abdfe(0x11c);}static get[_0x5ec08a(0x122)](){return!0x0;}static get[_0x5ec08a(0xea)](){return!0x0;}constructor(_0x28c225){const _0x2b035a=_0x5ec08a;super(_0x28c225),this[_0x2b035a(0x120)]=new Map();}async[_0x5ec08a(0xf9)](){const _0x4c2a2e=_0x5ec08a,_0x2b1646=this[_0x4c2a2e(0xdb)],_0x26c3f6=_0x2b1646[_0x4c2a2e(0x13a)][_0x4c2a2e(0xdc)](_0x4c2a2e(0x12e));if(_0x2b1646[_0x4c2a2e(0x13a)][_0x4c2a2e(0xdc)](_0x2c6b5d)[_0x4c2a2e(0x113)](this),_0x26c3f6[_0x4c2a2e(0x107)]={'addCommentThread':async({channelId:_0x56496a,threadId:_0x49beb8,comments:_0x1a4578,resolvedAt:_0x156e35,resolvedBy:_0x4e07b4,context:_0x1647fe,attributes:_0x5197ba})=>{const _0x1689b9=_0x4c2a2e,_0x18a5ef=await this[_0x1689b9(0x135)](_0x56496a)[_0x1689b9(0x12d)]({'commentThreadId':_0x49beb8,'comments':_0x1a4578[_0x1689b9(0xf8)](_0x34145d=>function(_0x5050d2,_0x50c48e,_0x66f96f){const _0x41728f=_0x1689b9;return{'commentThreadId':_0x66f96f,'commentId':_0x5050d2[_0x41728f(0xed)],'userId':_0x5050d2[_0x41728f(0x127)],'content':_0x5050d2[_0x41728f(0xe0)],'documentId':_0x50c48e,'createdAt':_0x5050d2[_0x41728f(0x105)],'attributes':_0x5050d2[_0x41728f(0x10a)]||{}};}(_0x34145d,_0x56496a,_0x49beb8)),'resolvedAt':_0x156e35,'resolvedBy':_0x4e07b4,'context':_0x1647fe,'attributes':_0x5197ba})[_0x1689b9(0xe5)](A);return{'threadId':_0x18a5ef[_0x1689b9(0x114)],'comments':_0x18a5ef[_0x1689b9(0x10d)]};},'getCommentThread':async({channelId:_0x3afd88,threadId:_0x50d891})=>{const _0x50352f=_0x4c2a2e,_0x45f5aa=await this[_0x50352f(0x135)](_0x3afd88)[_0x50352f(0xee)](_0x50d891)[_0x50352f(0xe5)](f)[_0x50352f(0xe5)](A);return _0x45f5aa?_0x45f5aa[_0x50352f(0x10e)]?null:(await this[_0x50352f(0x126)]([_0x45f5aa]),{'threadId':_0x45f5aa[_0x50352f(0x114)],'comments':_0x45f5aa[_0x50352f(0x10d)][_0x50352f(0xf8)](p),'context':_0x45f5aa[_0x50352f(0xdb)],'resolvedAt':_0x45f5aa[_0x50352f(0x121)],'resolvedBy':_0x45f5aa[_0x50352f(0x101)],'attributes':_0x45f5aa[_0x50352f(0x10a)]||{}}):null;},'updateCommentThread':async({channelId:_0x4a0e60,threadId:_0x5784fb,context:_0x1b0b2d,unlinkedAt:_0x110d67,attributes:_0x11622c})=>this[_0x4c2a2e(0x135)](_0x4a0e60)[_0x4c2a2e(0x136)]({'commentThreadId':_0x5784fb,'context':_0x1b0b2d,'attributes':_0x11622c,'unlinkedAt':_0x110d67})[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'resolveCommentThread':async({channelId:_0x4a5105,threadId:_0x1d3546})=>{const _0x286106=_0x4c2a2e,_0x3c3d56=await this[_0x286106(0x135)](_0x4a5105)[_0x286106(0x12c)](_0x1d3546)[_0x286106(0xe5)](f)[_0x286106(0xe5)](A);return{'threadId':_0x3c3d56[_0x286106(0x114)],'resolvedAt':_0x3c3d56[_0x286106(0x121)],'resolvedBy':_0x3c3d56[_0x286106(0x101)]};},'reopenCommentThread':async({channelId:_0xc084c7,threadId:_0x365685})=>this[_0x4c2a2e(0x135)](_0xc084c7)[_0x4c2a2e(0x111)](_0x365685)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'removeCommentThread':({channelId:_0x35ea71,threadId:_0x56371c})=>this[_0x4c2a2e(0x135)](_0x35ea71)[_0x4c2a2e(0x11a)](_0x56371c)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'addComment':({channelId:_0x470c2b,threadId:_0x4ceb23,commentId:_0x274aac,content:_0x5caf45,attributes:_0x32cf72})=>this[_0x4c2a2e(0x135)](_0x470c2b)[_0x4c2a2e(0x13b)](_0x4ceb23,_0x274aac,_0x5caf45,_0x32cf72)[_0x4c2a2e(0xe5)](A),'updateComment':({channelId:_0x470648,threadId:_0x62303a,commentId:_0x38030b,content:_0x1b8f2d,attributes:_0x382ff8})=>this[_0x4c2a2e(0x135)](_0x470648)[_0x4c2a2e(0xeb)](_0x62303a,_0x38030b,_0x1b8f2d,_0x382ff8)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A),'removeComment':({channelId:_0x3803c5,threadId:_0x3d33c9,commentId:_0x146e11})=>this[_0x4c2a2e(0x135)](_0x3803c5)[_0x4c2a2e(0x132)](_0x3d33c9,_0x146e11)[_0x4c2a2e(0xe5)](f)[_0x4c2a2e(0xe5)](A)},_0x2b1646 instanceof _0x55f2b0){const _0x2673f8=_0x2b1646[_0x4c2a2e(0x11b)][_0x4c2a2e(0xdc)](_0x4c2a2e(0xf4)),_0x5b5a30=_0x2b1646[_0x4c2a2e(0x13a)][_0x4c2a2e(0xdc)](_0x5a4184);await this[_0x4c2a2e(0x112)](_0x2673f8);const _0x27914d=await this[_0x4c2a2e(0x120)][_0x4c2a2e(0xdc)](_0x2673f8)[_0x4c2a2e(0x130)]();this[_0x4c2a2e(0xf6)](_0x5b5a30,_0x4c2a2e(0x129)+_0x2673f8,(_0x48c9e3,{session:_0x5b3c0e})=>{const _0x2fef75=_0x4c2a2e;_0x5b3c0e['id']===_0x5b5a30[_0x2fef75(0xfb)]&&(_0x48c9e3[_0x2fef75(0xe3)](),this[_0x2fef75(0xdb)][_0x2fef75(0x13a)][_0x2fef75(0xdc)](_0x2fef75(0x13d))[_0x2fef75(0xdd)](_0x5b3c0e[_0x2fef75(0xef)],_0x2673f8));}),_0x5b5a30[_0x4c2a2e(0x117)](_0x2673f8,_0x27914d);}}async[_0x5ec08a(0x112)](_0x11495f){const _0x51eb1d=_0x5ec08a;if(this[_0x51eb1d(0x120)][_0x51eb1d(0xfe)](_0x11495f))throw new _0x29dc15(_0x51eb1d(0xfc),null,{'channelId':_0x11495f});const _0x39f386=this[_0x51eb1d(0xdb)][_0x51eb1d(0x13a)][_0x51eb1d(0xdc)](_0x51eb1d(0x12e)),_0x9918ea=new CloudServicesCommentsAdapter[(_0x51eb1d(0x134))](_0x11495f);this[_0x51eb1d(0x120)][_0x51eb1d(0x103)](_0x11495f,_0x9918ea),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x124),(_0x94023e,_0x164dcf)=>{const _0x421ab4=_0x51eb1d,{commentThreadId:_0xf9fecc,documentId:_0xdf7c9c,context:_0x18e257,attributes:_0x93d1ba,resolvedAt:_0x8fce37,resolvedBy:_0xb875a5,comments:_0x2a9031}=_0x164dcf;_0x39f386[_0x421ab4(0xee)](_0xf9fecc)||_0x39f386[_0x421ab4(0x12d)]({'threadId':_0xf9fecc,'channelId':_0xdf7c9c,'comments':_0x2a9031?_0x2a9031[_0x421ab4(0xf8)](p):[],'context':_0x18e257,'attributes':_0x93d1ba,'resolvedAt':_0x8fce37,'resolvedBy':_0xb875a5,'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xe7),(_0x3a784e,{commentThreadId:_0x305520,documentId:_0x74c78,context:_0x4cbd7e,unlinkedAt:_0x5ccb59,attributes:_0x604051})=>{const _0x59592f=_0x51eb1d;_0x39f386[_0x59592f(0xee)](_0x305520)&&_0x39f386[_0x59592f(0x136)]({'threadId':_0x305520,'channelId':_0x74c78,'context':_0x4cbd7e,'unlinkedAt':_0x5ccb59,'attributes':_0x604051,'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x12a),(_0x4bd26c,{commentThreadId:_0x385491,resolvedBy:_0x145b76,resolvedAt:_0x515337})=>{const _0x371391=_0x51eb1d,_0x47c141=_0x39f386[_0x371391(0xee)](_0x385491);_0x47c141&&_0x47c141[_0x371391(0x133)]({'resolvedBy':_0x145b76,'resolvedAt':_0x515337,'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x11d),(_0x231ded,{commentThreadId:_0x5660c4})=>{const _0x1f9ab7=_0x51eb1d,_0x16c685=_0x39f386[_0x1f9ab7(0xee)](_0x5660c4);_0x16c685&&_0x16c685[_0x1f9ab7(0xe8)]({'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xde),(_0x2f600a,{commentThreadId:_0x25f62b})=>{const _0x2e7e53=_0x51eb1d,_0x12ad53=_0x39f386[_0x2e7e53(0xee)](_0x25f62b);_0x12ad53&&_0x12ad53[_0x2e7e53(0xe2)]({'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0x10b),(_0x1c1725,_0x3f7e57)=>{const _0x77a3f3=_0x51eb1d,_0x959d2b=_0x3f7e57[_0x77a3f3(0x114)],_0x41155e=_0x39f386[_0x77a3f3(0xee)](_0x959d2b);_0x41155e&&_0x41155e[_0x77a3f3(0x13b)]({...p(_0x3f7e57),'isFromAdapter':!0x0});}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xe6),(_0xc87cbd,{commentThreadId:_0x105b6d,commentId:_0x19dab9,content:_0x5ab047,attributes:_0x58ee1d})=>{const _0xf567c7=_0x51eb1d,_0x2b3cad=_0x39f386[_0xf567c7(0xee)](_0x105b6d);if(_0x2b3cad){const _0x376a96=_0x2b3cad[_0xf567c7(0x137)](_0x19dab9);_0x376a96&&_0x376a96[_0xf567c7(0xe4)]({'content':_0x5ab047,'attributes':_0x58ee1d,'isFromAdapter':!0x0});}}),this[_0x51eb1d(0xf6)](_0x9918ea,_0x51eb1d(0xf1),(_0x40eb38,{commentThreadId:_0x396656,commentId:_0x51e11d})=>{const _0x41ad0e=_0x51eb1d,_0x515993=_0x39f386[_0x41ad0e(0xee)](_0x396656);if(_0x515993){const _0xb18af2=_0x515993[_0x41ad0e(0x137)](_0x51e11d);_0xb18af2&&_0xb18af2[_0x41ad0e(0xe2)]({'isFromAdapter':!0x0});}}),await this[_0x51eb1d(0x100)](_0x11495f);}[_0x5ec08a(0x104)](){const _0x86471b=_0x5ec08a;if(this[_0x86471b(0xdb)]instanceof _0x55f2b0){const _0x7b1e52=this[_0x86471b(0xdb)][_0x86471b(0x11b)][_0x86471b(0xdc)](_0x86471b(0xf4));this[_0x86471b(0x108)](_0x7b1e52);}}[_0x5ec08a(0x108)](_0x225066){const _0x130067=_0x5ec08a;if(!this[_0x130067(0x120)][_0x130067(0xfe)](_0x225066))throw new _0x29dc15(_0x130067(0x13c),null,{'channelId':_0x225066});this[_0x130067(0x135)](_0x225066)[_0x130067(0x116)](),this[_0x130067(0x120)][_0x130067(0x10f)](_0x225066);}async[_0x5ec08a(0x125)](){const _0x3bdd0a=_0x5ec08a;for(const _0x40592c of this[_0x3bdd0a(0x120)][_0x3bdd0a(0x102)]())await this[_0x3bdd0a(0x100)](_0x40592c);if(this[_0x3bdd0a(0xdb)]instanceof _0x55f2b0){const _0x59cff5=this[_0x3bdd0a(0xdb)][_0x3bdd0a(0x11b)][_0x3bdd0a(0xdc)](_0x3bdd0a(0xf4)),_0x357399=this[_0x3bdd0a(0xdb)][_0x3bdd0a(0x13a)][_0x3bdd0a(0xdc)](_0x5a4184);_0x357399[_0x3bdd0a(0x109)](_0x59cff5);const _0x497ba6=await this[_0x3bdd0a(0x120)][_0x3bdd0a(0xdc)](_0x59cff5)[_0x3bdd0a(0x130)]();_0x357399[_0x3bdd0a(0x117)](_0x59cff5,_0x497ba6);}}async[_0x5ec08a(0x100)](_0x44f062){const _0x2c81db=_0x5ec08a,{connection:_0x44cc2e}=this[_0x2c81db(0xdb)][_0x2c81db(0x13a)][_0x2c81db(0xdc)](_0x2c6b5d),_0x20c4aa=this[_0x2c81db(0xdb)][_0x2c81db(0x13a)][_0x2c81db(0xdc)](_0x2c81db(0x12e)),_0x2d149e=this[_0x2c81db(0x120)][_0x2c81db(0xdc)](_0x44f062),_0x5e72d3=await _0x2d149e[_0x2c81db(0x115)](_0x44cc2e);await this[_0x2c81db(0x126)](_0x5e72d3);const _0x4fb2df=new Set(Array[_0x2c81db(0xf5)](_0x20c4aa[_0x2c81db(0x119)]({'channelId':_0x44f062}),_0x5cc970=>_0x5cc970['id']));for(const _0x5b8169 of _0x5e72d3)_0x5b8169[_0x2c81db(0x10e)]||_0x4fb2df[_0x2c81db(0x10f)](_0x5b8169[_0x2c81db(0x114)]);for(const _0x29d021 of _0x4fb2df)_0x20c4aa[_0x2c81db(0xee)](_0x29d021)[_0x2c81db(0xe2)]({'isFromAdapter':!0x0});for(const _0x5c3f17 of _0x5e72d3){let _0x9f2b96=_0x20c4aa[_0x2c81db(0xee)](_0x5c3f17[_0x2c81db(0x114)]);const {commentThreadId:_0x56b261,context:_0x95227,attributes:_0x199e0c,resolvedBy:_0x4c9f2c,resolvedAt:_0x3e3eb5,unlinkedAt:_0x1a1485,deletedAt:_0x10c159}=_0x5c3f17;if(_0x10c159)continue;_0x9f2b96||(_0x9f2b96=_0x20c4aa[_0x2c81db(0x12d)]({'channelId':_0x44f062,'threadId':_0x56b261,'context':_0x95227,'attributes':_0x199e0c||{},'resolvedBy':_0x4c9f2c,'resolvedAt':_0x3e3eb5,'unlinkedAt':_0x1a1485,'isFromAdapter':!0x0}));const _0x4bf2a0=new Set(Array[_0x2c81db(0xf5)](_0x9f2b96[_0x2c81db(0x10d)],_0x1eee77=>_0x1eee77['id']));for(const _0x57c105 of _0x5c3f17[_0x2c81db(0x10d)])_0x4bf2a0[_0x2c81db(0x10f)](_0x57c105[_0x2c81db(0xed)]);for(const _0x1d0e6b of _0x4bf2a0)_0x9f2b96[_0x2c81db(0x137)](_0x1d0e6b)[_0x2c81db(0xe2)]({'isFromAdapter':!0x0});for(const _0x400b79 of _0x5c3f17[_0x2c81db(0x10d)]){const _0x5d69b2=_0x9f2b96[_0x2c81db(0x137)](_0x400b79[_0x2c81db(0xed)]);_0x5d69b2?_0x5d69b2[_0x2c81db(0xe0)]!==_0x400b79[_0x2c81db(0xe0)]&&_0x5d69b2[_0x2c81db(0xe4)]({'content':_0x400b79[_0x2c81db(0xe0)],'isFromAdapter':!0x0}):_0x9f2b96[_0x2c81db(0x13b)](Object[_0x2c81db(0xf0)](p(_0x400b79),{'isFromAdapter':!0x0}));}}}[_0x5ec08a(0x135)](_0x19bc6){const _0x23e917=_0x5ec08a;if(!this[_0x23e917(0x120)][_0x23e917(0xfe)](_0x19bc6))throw new _0x29dc15(_0x23e917(0x13f),null,{'channelId':_0x19bc6});return this[_0x23e917(0x120)][_0x23e917(0xdc)](_0x19bc6);}async[_0x5ec08a(0x126)](_0x478375){const _0x3e194e=_0x5ec08a,_0x4f5ad3=this[_0x3e194e(0xdb)][_0x3e194e(0x13a)][_0x3e194e(0xdc)](_0x26eca7),{connection:_0x4232e2}=this[_0x3e194e(0xdb)][_0x3e194e(0x13a)][_0x3e194e(0xdc)](_0x2c6b5d),_0x17ed9a=new Set();for(const {resolvedBy:_0x5c3967,comments:_0x48d8df}of _0x478375){_0x5c3967&&!_0x4f5ad3[_0x3e194e(0x118)](_0x5c3967)&&_0x17ed9a[_0x3e194e(0xf3)](_0x5c3967);for(const {userId:_0x43c9ee}of _0x48d8df)_0x4f5ad3[_0x3e194e(0x118)](_0x43c9ee)||_0x17ed9a[_0x3e194e(0xf3)](_0x43c9ee);}if(0x0===_0x17ed9a[_0x3e194e(0x131)])return;const _0x4aff38=await _0x5bb7eb[_0x3e194e(0x128)](_0x4232e2,Array[_0x3e194e(0xf5)](_0x17ed9a));for(const _0x245db3 of _0x4aff38)_0x4f5ad3[_0x3e194e(0x118)](_0x245db3['id'])||_0x4f5ad3[_0x3e194e(0x139)](_0x245db3);}}async function f(_0x4849d3){const _0x5b01ad=_0x5ec08a;if(_0x5b01ad(0xe9)!==_0x4849d3[_0x5b01ad(0xff)])throw _0x4849d3;}function A(_0x29773e){const _0x591b8d=_0x5ec08a;if((_0x1ac001=_0x29773e)[_0x591b8d(0x10c)][_0x591b8d(0x12b)](_0x591b8d(0x13e))||_0x1ac001[_0x591b8d(0x10c)][_0x591b8d(0x12b)](_0x591b8d(0x123))||_0x1ac001[_0x591b8d(0x10c)][_0x591b8d(0x12b)](_0x591b8d(0x12f)))return new Promise(()=>{});var _0x1ac001;throw _0x29773e;}function _0x48b8(){const _0x439c79=['12283944vfqxZo','_services','resolvedAt','isOfficialPlugin','cloud-services-internal-error:\x20Not\x20connected.','commentThreadAdded','reconnect','_fetchMissingUsersForThreads','authorId','getMany','sessionAdd:','commentThreadResolved','startsWith','resolveCommentThread','addCommentThread','CommentsRepository','cloud-services-internal-error:\x20Request\x20timeout.','getConnectedSessions','size','removeComment','resolve','CommentsService','_getService','updateCommentThread','getComment','2629728zgkRzB','addUser','plugins','addComment','cloudservicescommentsadapter-disconnect-not-exist','Permissions','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','cloudservicescommentsadapter-service-not-exist','3TBvREu','pluginName','context','get','setPermissions','commentThreadRemoved','1880yeiNhz','content','7PfvDkh','remove','off','update','catch','commentUpdated','commentThreadUpdated','reopen','404','isPremiumPlugin','updateComment','602892FTGwyS','commentId','getCommentThread','permissions','assign','commentRemoved','3149352xHNAII','add','collaboration.channelId','from','listenTo','50312416ELXUfB','map','init','1215246zCqSkw','mySessionId','cloudservicescommentsadapter-connect-already-connected','10jpbtIL','has','code','_connectService','resolvedBy','keys','set','destroy','createdAt','10aNxmUf','adapter','_terminateService','unregister','attributes','commentAdded','message','comments','deletedAt','delete','userId','reopenCommentThread','_setUpService','addToReconnectionStack','commentThreadId','connect','disconnect','register','getUser','getCommentThreads','removeCommentThread','config','CloudServicesCommentsAdapter','commentThreadReopened','requires'];_0x48b8=function(){return _0x439c79;};return _0x48b8();}function p(_0x3cbd49){const _0x5e0e4d=_0x5ec08a;return{'threadId':_0x3cbd49[_0x5e0e4d(0x114)],'commentId':_0x3cbd49[_0x5e0e4d(0xed)],'content':_0x3cbd49[_0x5e0e4d(0xe0)],'createdAt':_0x3cbd49[_0x5e0e4d(0x105)],'authorId':_0x3cbd49[_0x5e0e4d(0x110)],'attributes':_0x3cbd49[_0x5e0e4d(0x10a)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x149916=_0x10a3;(function(_0xf05162,_0x2b5534){const _0x2ce173=_0x10a3,_0x586427=_0xf05162();while(!![]){try{const _0x50cf44=parseInt(_0x2ce173(0x8b))/0x1+-parseInt(_0x2ce173(0x8a))/0x2+-parseInt(_0x2ce173(0x6d))/0x3+-parseInt(_0x2ce173(0x6f))/0x4+-parseInt(_0x2ce173(0x80))/0x5+-parseInt(_0x2ce173(0x7c))/0x6+-parseInt(_0x2ce173(0x81))/0x7*(-parseInt(_0x2ce173(0x74))/0x8);if(_0x50cf44===_0x2b5534)break;else _0x586427['push'](_0x586427['shift']());}catch(_0x2e1048){_0x586427['push'](_0x586427['shift']());}}}(_0x1efe,0x7ad20));import{Plugin as _0x3c1ce7}from'ckeditor5/src/core.js';function _0x1efe(){const _0x345e47=['collaboration.channelId','ready','config','CommentsRepository','isOfficialPlugin','355088cwsqgs','831127aoYQjU','destroy','pluginName','944910gRjLaZ','_setUpService','3565412HfWoEU','listenTo','isPremiumPlugin','change:state','RealTimeCollaborativeComments','200bCgvoM','requires','init','_terminateService','data','isThreadsLoadingPaused','once','plugins','2434368qMwyAc','switchReadOnly','get','editor','1907425YvFZiQ','516047MevSAm','CommentsEditing','connected','Comments'];_0x1efe=function(){return _0x345e47;};return _0x1efe();}import{CloudServicesCommentsAdapter as _0x4ae009}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x30cb36}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5d238d}from'./realtimecollaborativeediting/websocketgateway.js';function _0x10a3(_0x2b1bad,_0x201431){const _0x1efe37=_0x1efe();return _0x10a3=function(_0x10a32c,_0x49e802){_0x10a32c=_0x10a32c-0x6d;let _0x53973e=_0x1efe37[_0x10a32c];return _0x53973e;},_0x10a3(_0x2b1bad,_0x201431);}export class RealTimeCollaborativeComments extends _0x3c1ce7{static get[_0x149916(0x75)](){const _0x4f4ee7=_0x149916;return[_0x4f4ee7(0x84),_0x4ae009,_0x30cb36,_0x5d238d];}static get[_0x149916(0x8d)](){const _0x48a807=_0x149916;return _0x48a807(0x73);}static get[_0x149916(0x89)](){return!0x0;}static get[_0x149916(0x71)](){return!0x0;}[_0x149916(0x76)](){const _0xbbf5fe=_0x149916,_0x271c0d=this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x7b)][_0xbbf5fe(0x7e)](_0x5d238d),_0x1ef73=this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x7b)][_0xbbf5fe(0x7e)](_0xbbf5fe(0x82)),_0x5d7d99=this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x7b)][_0xbbf5fe(0x7e)](_0x4ae009);return this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x78)][_0xbbf5fe(0x7a)](_0xbbf5fe(0x86),()=>{const _0x4355f9=_0xbbf5fe;this[_0x4355f9(0x70)](_0x271c0d,_0x4355f9(0x72),(_0x33ad9,_0x3eff55,_0x572882)=>{const _0x17ec8f=_0x4355f9;_0x1ef73[_0x17ec8f(0x79)]=_0x17ec8f(0x83)!==_0x572882;});}),this[_0xbbf5fe(0x70)](_0x271c0d,_0xbbf5fe(0x72),(_0x10e367,_0x2fef05,_0x573d44)=>{const _0x205da7=_0xbbf5fe;this[_0x205da7(0x7f)][_0x205da7(0x7b)][_0x205da7(0x7e)](_0x205da7(0x88))[_0x205da7(0x7d)](_0x205da7(0x83)!==_0x573d44);}),_0x5d7d99[_0xbbf5fe(0x6e)](this[_0xbbf5fe(0x7f)][_0xbbf5fe(0x87)][_0xbbf5fe(0x7e)](_0xbbf5fe(0x85)));}[_0x149916(0x8c)](){const _0x1912be=_0x149916;this[_0x1912be(0x7f)][_0x1912be(0x7b)][_0x1912be(0x7e)](_0x4ae009)[_0x1912be(0x77)](this[_0x1912be(0x7f)][_0x1912be(0x87)][_0x1912be(0x7e)](_0x1912be(0x85))),super[_0x1912be(0x8c)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x2d525e)());[_0x4eaf5b(0x291)];[_0x4eaf5b(0x259)];[_0x4eaf5b(0x27a)];[_0x4eaf5b(0x1f0)];[_0x4eaf5b(0x293)];[_0x4eaf5b(0x270)];[_0x4eaf5b(0x274)];[_0x4eaf5b(0x247)];[_0x4eaf5b(0x2d1)];[_0x4eaf5b(0x25e)];[_0x4eaf5b(0x232)];[_0x4eaf5b(0x2a0)];[_0x4eaf5b(0x2b5)];[_0x4eaf5b(0x1fc)];[_0x4eaf5b(0x29d)];[_0x4eaf5b(0x255)];[_0x4eaf5b(0x249)];[_0x4eaf5b(0x20d)];static get[_0x4eaf5b(0x2a6)](){return[_0x388a3a,_0x5d3e5e,_0x2d10ea,_0x59a20a,_0x270f01,_0x5e6b75];}static get[_0x4eaf5b(0x292)](){const _0x51e39f=_0x4eaf5b;return _0x51e39f(0x210);}static get[_0x4eaf5b(0x256)](){return!0x0;}static get[_0x4eaf5b(0x2dc)](){return!0x0;}get[_0x4eaf5b(0x29c)](){const _0x97be25=_0x4eaf5b;return this[_0x97be25(0x263)]+this[_0x97be25(0x291)];}get[_0x4eaf5b(0x263)](){const _0x251e51=_0x4eaf5b;return this[_0x251e51(0x27a)][_0x251e51(0x23b)]-this[_0x251e51(0x291)];}get[_0x4eaf5b(0x26b)](){const _0xe3b9c4=_0x4eaf5b,_0x5485ad=this[_0xe3b9c4(0x27a)][_0xe3b9c4(0x2c0)]();for(let _0x1f3180=_0x5485ad[_0xe3b9c4(0x201)]-0x1;_0x1f3180>=0x0;_0x1f3180--){const _0x22abe3=_0x5485ad[_0x1f3180];if(!this[_0xe3b9c4(0x249)][_0xe3b9c4(0x2b4)](_0x22abe3))return _0x22abe3[_0xe3b9c4(0x242)]+0x1-this[_0xe3b9c4(0x291)];}return 0x0;}constructor(_0x4919a2){const _0x4ea74b=_0x4eaf5b;if(super(_0x4919a2),this[_0x4ea74b(0x291)]=0x0,this[_0x4ea74b(0x259)]=null,this[_0x4ea74b(0x27a)]=new _0x5e314d(),this[_0x4ea74b(0x22e)][_0x4ea74b(0x20e)][_0x4ea74b(0x27b)](_0x4ea74b(0x203),{}),this[_0x4ea74b(0x1f0)]=this[_0x4ea74b(0x22e)][_0x4ea74b(0x20e)][_0x4ea74b(0x2df)](_0x4ea74b(0x264)),!this[_0x4ea74b(0x1f0)])throw new _0x1ced12(_0x4ea74b(0x2e2),this);const _0x59db11=_0x4919a2[_0x4ea74b(0x20e)][_0x4ea74b(0x2df)](_0x4ea74b(0x27d))||_0x46cc5f;this[_0x4ea74b(0x293)]=new RealTimeCollaborationClient[(_0x4ea74b(0x222))](_0x59db11,this[_0x4ea74b(0x1f0)]),this[_0x4ea74b(0x270)]=this[_0x4ea74b(0x22e)][_0x4ea74b(0x25b)][_0x4ea74b(0x29f)],this[_0x4ea74b(0x274)]=new _0x11dfd3(),this[_0x4ea74b(0x247)]=[],this[_0x4ea74b(0x2d1)]=new WeakSet(),this[_0x4ea74b(0x25e)]=new Set(),this[_0x4ea74b(0x2c6)](_0x4ea74b(0x21f),!0x1),this[_0x4ea74b(0x2c6)](_0x4ea74b(0x1f9),!0x1),this[_0x4ea74b(0x232)]=null,this[_0x4ea74b(0x2a0)]=!0x1,this[_0x4ea74b(0x2b5)]=null,this[_0x4ea74b(0x1fc)]=0x12c,this[_0x4ea74b(0x29d)]=this[_0x4ea74b(0x1fc)],this[_0x4ea74b(0x255)]=null,this[_0x4ea74b(0x249)]=new WeakSet(),this[_0x4ea74b(0x20d)]=new J(this[_0x4ea74b(0x249)]);}[_0x4eaf5b(0x2be)](){const _0x4dcbfd=_0x4eaf5b,_0x464b3c=this[_0x4dcbfd(0x22e)],_0x23ae29=_0x464b3c[_0x4dcbfd(0x2c4)][_0x4dcbfd(0x2df)](_0x270f01),_0x432a26=_0x464b3c[_0x4dcbfd(0x2c4)][_0x4dcbfd(0x2df)](_0x388a3a);this[_0x4dcbfd(0x21d)](_0x23ae29,_0x4dcbfd(0x26a),(_0x1ec094,_0x4c1f2b)=>{const _0x267eca=_0x4dcbfd,_0x27e817=_0x4c1f2b[0x0];_0x27e817[_0x267eca(0x266)]&&(_0x1ec094[_0x267eca(0x1f6)]=_0x23ae29[_0x267eca(0x26f)](_0x27e817[_0x267eca(0x266)]),_0x1ec094[_0x267eca(0x23a)]()),null===_0x27e817[_0x267eca(0x266)]&&(_0x1ec094[_0x267eca(0x1f6)]=null,_0x1ec094[_0x267eca(0x23a)]());},{'priority':_0x4dcbfd(0x276)}),this[_0x4dcbfd(0x21d)](_0x464b3c[_0x4dcbfd(0x25b)][_0x4dcbfd(0x29f)][_0x4dcbfd(0x1f4)],_0x4dcbfd(0x1e9),(_0xed304e,_0x52d73e)=>{const _0x27fe9c=_0x4dcbfd;_0x52d73e[_0x27fe9c(0x27e)]&&this[_0x27fe9c(0x21b)]();}),this[_0x4dcbfd(0x21d)](_0x464b3c[_0x4dcbfd(0x230)][_0x4dcbfd(0x22b)],_0x4dcbfd(0x20f),()=>{const _0x325e91=_0x4dcbfd;this[_0x325e91(0x21b)]();}),this[_0x4dcbfd(0x2b2)](),_0x464b3c[_0x4dcbfd(0x25b)]['on'](_0x4dcbfd(0x2d8),(_0x249642,_0x1d90f3)=>{const _0xa1c8e7=_0x4dcbfd,_0x47b4f9=_0x1d90f3[0x0];_0x47b4f9[_0xa1c8e7(0x27c)]&&(this[_0xa1c8e7(0x254)](_0x47b4f9),this[_0xa1c8e7(0x2d9)]()&&this[_0xa1c8e7(0x22f)]());}),this[_0x4dcbfd(0x2ae)](),this[_0x4dcbfd(0x287)](_0x4dcbfd(0x2a5))['to'](_0x432a26,_0x4dcbfd(0x262),this,_0x4dcbfd(0x1f9),(_0x331707,_0x525c0e)=>_0x4dcbfd(0x2c5)===_0x331707&&!_0x525c0e),this['on'](_0x4dcbfd(0x2e7),()=>{const _0x11fd6b=_0x4dcbfd;this[_0x11fd6b(0x2a5)]?_0x464b3c[_0x11fd6b(0x2e6)](_0x11fd6b(0x2db)):_0x464b3c[_0x11fd6b(0x28a)](_0x11fd6b(0x2db));}),this[_0x4dcbfd(0x2a5)]?_0x464b3c[_0x4dcbfd(0x2e6)](_0x4dcbfd(0x2db)):_0x464b3c[_0x4dcbfd(0x28a)](_0x4dcbfd(0x2db)),this[_0x4dcbfd(0x2c6)](_0x4dcbfd(0x279),!0x1);}async[_0x4eaf5b(0x25c)](){const _0x9ae0c4=_0x4eaf5b,_0x3d1276=this[_0x9ae0c4(0x22e)][_0x9ae0c4(0x2c4)][_0x9ae0c4(0x2df)](_0x5d3e5e),_0xf32a3c=this[_0x9ae0c4(0x22e)][_0x9ae0c4(0x2c4)][_0x9ae0c4(0x2df)](_0x388a3a);try{this[_0x9ae0c4(0x21f)]=!0x0,_0x3d1276[_0x9ae0c4(0x1ec)](this[_0x9ae0c4(0x1f0)]);const _0x13ffbe=await this[_0x9ae0c4(0x293)][_0x9ae0c4(0x25c)](_0xf32a3c[_0x9ae0c4(0x212)],this[_0x9ae0c4(0x26b)]);await this[_0x9ae0c4(0x1e7)](_0x13ffbe)&&(this[_0x9ae0c4(0x21f)]=!0x1,this[_0x9ae0c4(0x2d4)]());const _0x48b707=await this[_0x9ae0c4(0x293)][_0x9ae0c4(0x1e2)]();_0x3d1276[_0x9ae0c4(0x26d)](this[_0x9ae0c4(0x1f0)],_0x48b707),this[_0x9ae0c4(0x2c9)](),this[_0x9ae0c4(0x279)]=!0x0;}catch(_0x352b28){if(function(_0x19af28){const _0x4f4c53=_0x9ae0c4;return _0x4f4c53(0x285)===_0x19af28[_0x4f4c53(0x2e3)];}(_0x352b28)&&this[_0x9ae0c4(0x259)])await this[_0x9ae0c4(0x1eb)]();else{if(function(_0x5c2719){const _0x582090=_0x9ae0c4;return _0x582090(0x297)===_0x5c2719[_0x582090(0x2e3)];}(_0x352b28)){const _0xac34ef=_0x3640b5(this[_0x9ae0c4(0x22e)][_0x9ae0c4(0x224)],_0x9ae0c4(0x272));this[_0x9ae0c4(0x299)](_0xac34ef);}else{if(!(_0x352b28 instanceof $))throw _0x352b28;this[_0x9ae0c4(0x299)]();}}}}[_0x4eaf5b(0x252)](){const _0x11d03f=_0x4eaf5b,_0x472cfb=this[_0x11d03f(0x22e)][_0x11d03f(0x2c4)][_0x11d03f(0x2df)](_0x388a3a),_0x311c6a=this[_0x11d03f(0x22e)][_0x11d03f(0x2c4)][_0x11d03f(0x2df)](_0x5d3e5e);this[_0x11d03f(0x22e)][_0x11d03f(0x28a)](_0x11d03f(0x1fa)),_0x311c6a[_0x11d03f(0x2ac)][_0x11d03f(0x2b4)](this[_0x11d03f(0x1f0)])&&_0x311c6a[_0x11d03f(0x1ec)](this[_0x11d03f(0x1f0)]),_0x472cfb[_0x11d03f(0x202)](this),this[_0x11d03f(0x2bd)](),super[_0x11d03f(0x252)]();}async[_0x4eaf5b(0x1e7)](_0x1d256d){const _0x16a99a=_0x4eaf5b;if(this[_0x16a99a(0x259)]!==_0x1d256d[_0x16a99a(0x259)]&&this[_0x16a99a(0x255)]!==_0x1d256d[_0x16a99a(0x281)])throw new $();return this[_0x16a99a(0x259)]=_0x1d256d[_0x16a99a(0x259)],this[_0x16a99a(0x278)]([],{..._0x1d256d,'wereChangesApplied':!0x1,'data':_0x1d256d[_0x16a99a(0x221)]},_0x16a99a(0x25c));}async[_0x4eaf5b(0x23e)](_0x49712a,_0x50ec4b=!0x1){const _0x1bc804=_0x4eaf5b,{connection:_0x474865}=this[_0x1bc804(0x22e)][_0x1bc804(0x2c4)][_0x1bc804(0x2df)](_0x388a3a);RealTimeCollaborationClient[_0x1bc804(0x222)][_0x1bc804(0x1e2)](_0x474865,this[_0x1bc804(0x1f0)])[_0x1bc804(0x25d)](_0x2ac786=>this[_0x1bc804(0x226)](_0x2ac786))[_0x1bc804(0x1ee)](_0x238ced=>{const _0x549f53=_0x1bc804;this[_0x549f53(0x205)](_0x549f53(0x2aa),_0x238ced);}),this[_0x1bc804(0x21d)](this[_0x1bc804(0x293)],_0x1bc804(0x28f),this[_0x1bc804(0x257)][_0x1bc804(0x287)](this)),this[_0x1bc804(0x21d)](this[_0x1bc804(0x293)],_0x1bc804(0x214),(_0x24cf3f,_0x215b29)=>{const _0x17d1f2=_0x1bc804;this[_0x17d1f2(0x205)](_0x17d1f2(0x2a8),_0x215b29);}),this[_0x1bc804(0x21d)](this[_0x1bc804(0x293)],_0x1bc804(0x2a3),()=>{const _0x2e22fd=_0x1bc804;this[_0x2e22fd(0x279)]=!0x1;});const _0xed3eb4=this[_0x1bc804(0x20d)][_0x1bc804(0x2d5)](_0x49712a);this[_0x1bc804(0x21f)]=!0x0;const _0x3211c1=await this[_0x1bc804(0x293)][_0x1bc804(0x2e0)](_0x474865,this[_0x1bc804(0x260)](_0x49712a),_0xed3eb4);if(this[_0x1bc804(0x259)]=_0x3211c1[_0x1bc804(0x259)],_0x50ec4b){if(!_0x3211c1[_0x1bc804(0x21c)])return void this[_0x1bc804(0x299)]();this[_0x1bc804(0x21f)]=!0x1,this[_0x1bc804(0x2d4)](),this[_0x1bc804(0x27a)][_0x1bc804(0x244)](),this[_0x1bc804(0x291)]=_0x3211c1[_0x1bc804(0x236)],this[_0x1bc804(0x27a)][_0x1bc804(0x23b)]=this[_0x1bc804(0x291)],await this[_0x1bc804(0x278)](_0x49712a,_0x3211c1,_0x1bc804(0x250));}else await this[_0x1bc804(0x27f)](_0x3211c1,_0x49712a);this[_0x1bc804(0x2c9)](),this[_0x1bc804(0x279)]=!0x0;}[_0x4eaf5b(0x2c9)](){const _0x532b64=_0x4eaf5b,_0x21cec6=this[_0x532b64(0x22e)][_0x532b64(0x2c4)][_0x532b64(0x2df)](_0x5d3e5e),_0xb49f19=this[_0x532b64(0x22e)][_0x532b64(0x2c4)][_0x532b64(0x2df)](_0x2d10ea),_0x16b7c7=_0x21cec6[_0x532b64(0x2ac)][_0x532b64(0x2df)](this[_0x532b64(0x1f0)]);_0x16b7c7&&_0x16b7c7[_0x532b64(0x201)]>0x1?_0xb49f19[_0x532b64(0x229)]():this[_0x532b64(0x21d)](_0x21cec6,_0x532b64(0x267)+this[_0x532b64(0x1f0)],()=>{const _0x1cbd6d=_0x532b64;0x2===_0x21cec6[_0x1cbd6d(0x2ac)][_0x1cbd6d(0x2df)](this[_0x1cbd6d(0x1f0)])[_0x1cbd6d(0x201)]&&_0xb49f19[_0x1cbd6d(0x229)]();});}async[_0x4eaf5b(0x257)](_0x3a58fe,_0x5be126,_0x48477e,_0xca1bca){const _0x110704=_0x4eaf5b;if(!this[_0x110704(0x21f)]&&this[_0x110704(0x270)][_0x110704(0x23b)]==_0x5be126){const _0x1d0c16=this[_0x110704(0x24b)](_0x48477e,_0xca1bca);await this[_0x110704(0x251)](_0x1d0c16),this[_0x110704(0x24a)](_0x1d0c16,_0x5be126,_0x48477e[_0x110704(0x281)])||this[_0x110704(0x205)](_0x110704(0x288));}}async[_0x4eaf5b(0x1eb)](){const _0x4bc627=_0x4eaf5b;this[_0x4bc627(0x2bd)]();const {locale:_0x279c1d}=this[_0x4bc627(0x22e)];let _0x3fb092;try{_0x3fb092=await this[_0x4bc627(0x293)][_0x4bc627(0x2a2)]();}catch{const _0xd83bdd=_0x3640b5(_0x279c1d,_0x4bc627(0x24c));return void this[_0x4bc627(0x299)](_0xd83bdd);}const _0x421002=_0x3fb092[_0x4bc627(0x1ea)]||_0x3fb092[_0x4bc627(0x200)];if(this[_0x4bc627(0x255)]!==_0x421002[_0x4bc627(0x281)]){const _0x1d3f29=_0x3640b5(_0x279c1d,_0x4bc627(0x23c));return void this[_0x4bc627(0x299)](_0x1d3f29);}await this[_0x4bc627(0x23e)](this[_0x4bc627(0x22e)][_0x4bc627(0x25b)][_0x4bc627(0x29f)][_0x4bc627(0x28b)][_0x4bc627(0x2c0)](),!0x0);}[_0x4eaf5b(0x2bd)](){const _0x60f34=_0x4eaf5b;this[_0x60f34(0x293)][_0x60f34(0x289)](),this[_0x60f34(0x247)]=[],clearTimeout(this[_0x60f34(0x2b5)]),this[_0x60f34(0x261)](this[_0x60f34(0x293)]);}[_0x4eaf5b(0x226)](_0x45be97){const _0xacf65c=_0x4eaf5b,_0x47b4a2=this[_0xacf65c(0x22e)][_0xacf65c(0x2c4)][_0xacf65c(0x2df)](_0x5d3e5e);this[_0xacf65c(0x21d)](_0x47b4a2,_0xacf65c(0x267)+this[_0xacf65c(0x1f0)],(_0x168766,{session:_0x49166b})=>{const _0x31e357=_0xacf65c;if(_0x49166b['id']===_0x47b4a2[_0x31e357(0x2bf)]){_0x168766[_0x31e357(0x1e5)]();const _0x434516=this[_0x31e357(0x22e)][_0x31e357(0x2c4)][_0x31e357(0x2b4)](_0x31e357(0x2bc))&&this[_0x31e357(0x22e)][_0x31e357(0x2c4)][_0x31e357(0x2df)](_0x31e357(0x2bc));let _0x41e46e=_0x49166b[_0x31e357(0x2c2)];_0x434516&&_0x434516[_0x31e357(0x243)]&&(_0x41e46e=_0x41e46e[_0x31e357(0x2c1)](_0x2961f4=>_0x31e357(0x2b6)!==_0x2961f4)),this[_0x31e357(0x22e)][_0x31e357(0x2c4)][_0x31e357(0x2df)](_0x31e357(0x211))[_0x31e357(0x271)](_0x41e46e,this[_0x31e357(0x1f0)]);}}),_0x47b4a2[_0xacf65c(0x26d)](this[_0xacf65c(0x1f0)],_0x45be97);}[_0x4eaf5b(0x2b2)](){const _0x4115e2=_0x4eaf5b,_0x3fd0d5=this[_0x4115e2(0x22e)][_0x4115e2(0x221)][_0x4115e2(0x2c6)];this[_0x4115e2(0x22e)][_0x4115e2(0x221)][_0x4115e2(0x2c6)]=(..._0x2a0bac)=>{const _0x5a8627=_0x4115e2;if(!_0x2a0bac[_0x2a0bac[_0x5a8627(0x201)]-0x1][_0x5a8627(0x2cb)])throw new _0x1ced12(_0x5a8627(0x286),this);_0x3fd0d5[_0x5a8627(0x231)](this[_0x5a8627(0x22e)][_0x5a8627(0x221)],_0x2a0bac);};}[_0x4eaf5b(0x2ae)](){const _0x587552=_0x4eaf5b;this[_0x587552(0x22e)][_0x587552(0x221)]['on'](_0x587552(0x2be),(_0x4f037,[_0x599d0e])=>{const _0x4827b8=_0x587552;if(this[_0x4827b8(0x270)][_0x4827b8(0x23b)])throw new _0x1ced12(_0x4827b8(0x204),this);_0x4f037[_0x4827b8(0x23a)](),this[_0x4827b8(0x29e)]();const _0x4595f0=this[_0x4827b8(0x22e)][_0x4827b8(0x20e)][_0x4827b8(0x2df)](_0x4827b8(0x290)),_0x5f30c4=this[_0x4827b8(0x1e3)](_0x599d0e,_0x4595f0);0x0==_0x5f30c4[_0x4827b8(0x201)]&&_0x5f30c4[_0x4827b8(0x1ef)](new _0xa8bf29(0x0)),_0x4f037[_0x4827b8(0x1f6)]=this[_0x4827b8(0x23e)](_0x5f30c4)[_0x4827b8(0x25d)](()=>{const _0x57736b=_0x4827b8;this[_0x57736b(0x22e)][_0x57736b(0x2c4)][_0x57736b(0x2df)](_0x388a3a)[_0x57736b(0x235)](this),this[_0x57736b(0x22e)][_0x57736b(0x221)][_0x57736b(0x2ab)](_0x57736b(0x2d2));})[_0x4827b8(0x1ee)](_0x2efe91=>this[_0x4827b8(0x205)](_0x4827b8(0x29b),_0x2efe91))[_0x4827b8(0x298)](()=>this[_0x4827b8(0x2d4)]());},{'priority':_0x587552(0x276)}),this[_0x587552(0x22e)]['on'](_0x587552(0x1fd),async(_0x3e2975,[_0x1baa6b,_0x449f8a])=>{const _0x331aaa=_0x587552;_0x3e2975[_0x331aaa(0x23a)]();const _0x3fc75c=this[_0x331aaa(0x22e)][_0x331aaa(0x25b)][_0x331aaa(0x29f)][_0x331aaa(0x1f2)](_0x1baa6b);if(!this[_0x331aaa(0x25e)][_0x331aaa(0x2b4)](_0x1baa6b)){const _0x3d7b23=_0x449f8a&&_0x449f8a[_0x331aaa(0x221)]?_0x449f8a[_0x331aaa(0x221)]:'',_0x5005af=_0x449f8a&&_0x449f8a[_0x331aaa(0x2ba)]?_0x449f8a[_0x331aaa(0x2ba)]:{};await this[_0x331aaa(0x2d7)](_0x1baa6b,_0x3d7b23,_0x5005af);}this[_0x331aaa(0x22e)][_0x331aaa(0x25b)][_0x331aaa(0x209)]({'isUndoable':!0x1},()=>{const _0x5d6f05=_0x331aaa;_0x3fc75c[_0x5d6f05(0x29a)]=!0x0,this[_0x5d6f05(0x22e)][_0x5d6f05(0x25b)][_0x5d6f05(0x29f)][_0x5d6f05(0x240)][_0x5d6f05(0x28c)](_0x3fc75c);});},{'priority':_0x587552(0x276)});}async[_0x4eaf5b(0x251)](_0x1e3e5a){const _0x2e650c=_0x4eaf5b,_0x4f010f=this[_0x2e650c(0x22e)][_0x2e650c(0x2c4)][_0x2e650c(0x2df)](_0x270f01),{connection:_0x377238}=this[_0x2e650c(0x22e)][_0x2e650c(0x2c4)][_0x2e650c(0x2df)](_0x388a3a),_0xe44377=new Set();for(const _0x2c54e5 of _0x1e3e5a){const _0x2c201d=_0x2c54e5[_0x2e650c(0x266)];_0x2c201d&&!_0x4f010f[_0x2e650c(0x26f)](_0x2c201d)&&_0xe44377[_0x2e650c(0x208)](_0x2c201d);}if(0x0===_0xe44377[_0x2e650c(0x284)])return;const _0x58be95=await _0x51a585[_0x2e650c(0x246)](_0x377238,Array[_0x2e650c(0x218)](_0xe44377));for(const _0x125abc of _0x58be95)_0x4f010f[_0x2e650c(0x26f)](_0x125abc['id'])||_0x4f010f[_0x2e650c(0x1ed)](_0x125abc);}[_0x4eaf5b(0x1e3)](_0x5e96cc,_0x5c51fb={}){const _0x2f19f3=_0x4eaf5b,_0x9cfe99=this[_0x2f19f3(0x22e)][_0x2f19f3(0x25b)],_0x5be44b=[];let _0x18793d=0x0;const _0x7cb8d2=_0x2f19f3(0x253)==typeof _0x5e96cc?{'main':_0x5e96cc}:_0x5e96cc;for(const _0x4654ee of Object[_0x2f19f3(0x234)](_0x7cb8d2)){if(!this[_0x2f19f3(0x270)][_0x2f19f3(0x237)][_0x2f19f3(0x2b4)](_0x4654ee))throw new _0x1ced12(_0x2f19f3(0x1e6),this);const _0x40ec9c=this[_0x2f19f3(0x22e)][_0x2f19f3(0x221)][_0x2f19f3(0x1fe)](_0x7cb8d2[_0x4654ee]),_0x546fc0=this[_0x2f19f3(0x270)][_0x2f19f3(0x1f2)](_0x4654ee),_0x4f875e=new _0x3c42fc(_0x9cfe99[_0x2f19f3(0x1f7)](_0x546fc0,0x0),_0x40ec9c,_0x18793d++);_0x5be44b[_0x2f19f3(0x1ef)](_0x4f875e);for(const [_0x218fde,_0x4ec67e]of _0x40ec9c[_0x2f19f3(0x275)]){const _0x190285=_0x9cfe99[_0x2f19f3(0x1fb)](_0x9cfe99[_0x2f19f3(0x2bb)](_0x546fc0,_0x4ec67e[_0x2f19f3(0x2c7)][_0x2f19f3(0x207)][_0x2f19f3(0x227)]()),_0x9cfe99[_0x2f19f3(0x2bb)](_0x546fc0,_0x4ec67e[_0x2f19f3(0x24d)][_0x2f19f3(0x207)][_0x2f19f3(0x227)]())),_0x36575a=new _0x5a7f81(_0x218fde,null,_0x190285,_0x9cfe99[_0x2f19f3(0x275)],!0x0,_0x18793d++);_0x5be44b[_0x2f19f3(0x1ef)](_0x36575a);}}if(_0x5c51fb)for(const [_0x29d9ef,_0x41b216]of Object[_0x2f19f3(0x2a9)](_0x5c51fb)){const _0x981e3c=_0x9cfe99[_0x2f19f3(0x29f)][_0x2f19f3(0x1f2)](_0x29d9ef);if(!_0x981e3c)throw new _0x1ced12(_0x2f19f3(0x2ce),null);for(const [_0x246bf2,_0xc4f1c5]of Object[_0x2f19f3(0x2a9)](_0x41b216))if(null!==_0xc4f1c5){const _0x2f3228=new _0x18dbca(_0x981e3c,_0x246bf2,null,_0xc4f1c5,_0x18793d++);_0x5be44b[_0x2f19f3(0x1ef)](_0x2f3228);}}return _0x5be44b;}async[_0x4eaf5b(0x2d7)](_0x4a3965,_0x32e0a6,_0x4f42b1){const _0x503a41=_0x4eaf5b;this[_0x503a41(0x1e3)]({[_0x4a3965]:_0x32e0a6},{[_0x4a3965]:_0x4f42b1})[_0x503a41(0x220)]((_0x197fb8,_0x451ae0)=>{const _0x48ecc1=_0x503a41;_0x197fb8[_0x48ecc1(0x242)]=this[_0x48ecc1(0x270)][_0x48ecc1(0x23b)]+_0x451ae0,_0x197fb8[_0x48ecc1(0x277)]=!0x0,this[_0x48ecc1(0x254)](_0x197fb8);}),this[_0x503a41(0x22f)](),await this[_0x503a41(0x22d)]();}async[_0x4eaf5b(0x27f)](_0x2e5d70,_0x491cd3){const _0x427c5e=_0x4eaf5b;let _0x437595;this[_0x427c5e(0x291)]=_0x2e5d70[_0x427c5e(0x236)];const _0x7aaefb=_0x2e5d70[_0x427c5e(0x21c)]&&!_0x2e5d70[_0x427c5e(0x2e1)],_0x21a812=_0x7aaefb?0x0:_0x2e5d70[_0x427c5e(0x221)][_0x427c5e(0x242)];if(_0x491cd3[_0x427c5e(0x220)](_0x1a2745=>{const _0x272816=_0x427c5e;_0x1a2745[_0x272816(0x277)]=!0x0,_0x1a2745[_0x272816(0x21e)]=_0x2e5d70[_0x272816(0x206)],_0x1a2745[_0x272816(0x266)]=null;}),_0x7aaefb)_0x437595=_0x491cd3,this[_0x427c5e(0x2c8)](_0x437595,_0x7aaefb);else{if(_0x2e5d70[_0x427c5e(0x2e1)]){const _0x11e5a9=this[_0x427c5e(0x1e3)](_0x2e5d70[_0x427c5e(0x2e1)]);this[_0x427c5e(0x270)][_0x427c5e(0x28b)][_0x427c5e(0x23b)]=-_0x11e5a9[_0x427c5e(0x201)],_0x11e5a9[_0x427c5e(0x220)](_0x59cf5a=>{const _0x1c83ba=_0x427c5e;_0x59cf5a[_0x1c83ba(0x242)]-=_0x11e5a9[_0x1c83ba(0x201)],_0x59cf5a[_0x1c83ba(0x21e)]=_0x2e5d70[_0x1c83ba(0x206)],_0x59cf5a[_0x1c83ba(0x277)]=!0x0,_0x59cf5a[_0x1c83ba(0x266)]=null;}),this[_0x427c5e(0x2c8)](_0x11e5a9,!0x0),this[_0x427c5e(0x27a)][_0x427c5e(0x23b)]=-_0x11e5a9[_0x427c5e(0x201)]+this[_0x427c5e(0x291)],this[_0x427c5e(0x2a1)](_0x11e5a9);}this[_0x427c5e(0x270)][_0x427c5e(0x28b)][_0x427c5e(0x23b)]=_0x21a812,_0x437595=this[_0x427c5e(0x24b)](_0x2e5d70[_0x427c5e(0x221)],_0x2e5d70[_0x427c5e(0x2cc)]),await this[_0x427c5e(0x251)](_0x437595),this[_0x427c5e(0x2c8)](_0x437595,_0x7aaefb);}_0x2e5d70[_0x427c5e(0x281)]&&(this[_0x427c5e(0x20d)][_0x427c5e(0x265)](_0x437595,_0x2e5d70[_0x427c5e(0x281)]),this[_0x427c5e(0x255)]=_0x2e5d70[_0x427c5e(0x281)]),this[_0x427c5e(0x27a)][_0x427c5e(0x23b)]=_0x21a812+this[_0x427c5e(0x291)],this[_0x427c5e(0x2a1)](_0x437595),_0x491cd3[_0x427c5e(0x2c1)](_0x39fe82=>{const _0x24d9f5=_0x427c5e,_0x4c4bb2=this[_0x24d9f5(0x26e)](_0x39fe82);return _0x4c4bb2&&!this[_0x24d9f5(0x25e)][_0x24d9f5(0x2b4)](_0x4c4bb2);})[_0x427c5e(0x220)]((_0x3ddcd4,_0x1b4362)=>{const _0x169846=_0x427c5e;_0x3ddcd4[_0x169846(0x242)]=this[_0x169846(0x270)][_0x169846(0x23b)]+_0x1b4362,this[_0x169846(0x254)](_0x3ddcd4);}),this[_0x427c5e(0x2d9)]()?(this[_0x427c5e(0x29d)]=0x0,this[_0x427c5e(0x22f)](!0x0),await this[_0x427c5e(0x22d)]()):(this[_0x427c5e(0x21f)]=!0x1,this[_0x427c5e(0x2d4)]());}[_0x4eaf5b(0x205)](_0x238991,_0x433491){const _0x32447f=_0x4eaf5b,_0x297a5b=_0x433491&&_0x433491[_0x32447f(0x258)];if(_0x297a5b&&_0x297a5b[_0x32447f(0x25f)](_0x32447f(0x2cd)))throw _0x433491;const _0x29b353=this[_0x32447f(0x22e)][_0x32447f(0x2c4)][_0x32447f(0x2df)](_0x388a3a);throw this[_0x32447f(0x21f)]=!0x0,_0x29b353[_0x32447f(0x289)](),this[_0x32447f(0x22e)][_0x32447f(0x28a)](_0x32447f(0x1e8)),new _0x1ced12(_0x238991,this[_0x32447f(0x22e)],_0x297a5b?{'originalError':_0x297a5b}:void 0x0);}[_0x4eaf5b(0x254)](_0x2fd465){const _0x58f555=_0x4eaf5b;this[_0x58f555(0x2d1)][_0x58f555(0x2b4)](_0x2fd465)||(this[_0x58f555(0x2d1)][_0x58f555(0x208)](_0x2fd465),this[_0x58f555(0x247)][_0x58f555(0x1ef)](_0x2fd465),this[_0x58f555(0x232)]||_0x58f555(0x216)==_0x2fd465[_0x58f555(0x280)]&&!_0x2fd465[_0x58f555(0x2da)]||this[_0x58f555(0x29e)]());}[_0x4eaf5b(0x22f)](_0x520be8=!0x1){const _0x137dcb=_0x4eaf5b;!_0x520be8&&this[_0x137dcb(0x21f)]||(this[_0x137dcb(0x21f)]=!0x0,clearTimeout(this[_0x137dcb(0x2b5)]),this[_0x137dcb(0x2b5)]=setTimeout(()=>{const _0x5ac81e=_0x137dcb;this[_0x5ac81e(0x2b0)]()[_0x5ac81e(0x25d)](_0x2eaacf=>{const _0x13c8e2=_0x5ac81e;_0x2eaacf&&(this[_0x13c8e2(0x2d4)](),this[_0x13c8e2(0x21f)]=!0x1);})[_0x5ac81e(0x1ee)](_0xdee8e4=>{const _0x2cb92d=_0x5ac81e;this[_0x2cb92d(0x2d4)](),this[_0x2cb92d(0x21f)]=!0x1,function(_0x4460fe){const _0xa043aa=_0x2cb92d;return _0x4460fe[_0xa043aa(0x258)][_0xa043aa(0x25f)](_0xa043aa(0x1f8))||_0x4460fe[_0xa043aa(0x258)][_0xa043aa(0x25f)](_0xa043aa(0x23d))||_0x4460fe[_0xa043aa(0x258)][_0xa043aa(0x25f)](_0xa043aa(0x2b3));}(_0xdee8e4)||this[_0x2cb92d(0x205)](_0xdee8e4[_0x2cb92d(0x258)],_0xdee8e4);});},this[_0x137dcb(0x29d)]));}[_0x4eaf5b(0x22d)](){return new Promise(_0x1db83e=>{const _0x41d415=_0x38da;this['on'](_0x41d415(0x294),()=>{_0x1db83e();});});}async[_0x4eaf5b(0x2b0)](){const _0x50a14e=_0x4eaf5b,_0x1dd57e=this[_0x50a14e(0x22e)][_0x50a14e(0x2c4)][_0x50a14e(0x2df)](_0x2d10ea);if(this[_0x50a14e(0x2b8)]()&&(_0x1dd57e[_0x50a14e(0x229)](),this[_0x50a14e(0x2a0)]=!0x1),!this[_0x50a14e(0x2d9)]())return!0x0;const _0x3b0988=[...this[_0x50a14e(0x247)]];for(const _0xce53b7 of _0x3b0988)_0xce53b7[_0x50a14e(0x2a4)]=this[_0x50a14e(0x270)][_0x50a14e(0x28b)][_0x50a14e(0x2e4)](_0xce53b7);const _0x3b734b=this[_0x50a14e(0x20d)][_0x50a14e(0x2d5)](_0x3b0988),_0x2ab6cc=G++,_0xe670b9=this[_0x50a14e(0x260)](_0x3b0988),_0x166180=await this[_0x50a14e(0x293)][_0x50a14e(0x241)](_0xe670b9,_0xe670b9[_0x50a14e(0x242)],_0x3b734b);try{return await this[_0x50a14e(0x278)](_0x3b0988,_0x166180,_0x2ab6cc);}catch(_0x2d7b82){return this[_0x50a14e(0x205)](_0x50a14e(0x1e4),_0x2d7b82);}}async[_0x4eaf5b(0x278)](_0x3580d2,_0x828601,_0x528baa){const _0xc7a2e2=_0x4eaf5b;if(_0xc7a2e2(0x214)in _0x828601)throw _0x828601[_0xc7a2e2(0x214)];let _0x26ce55=!0x1;if(_0x828601[_0xc7a2e2(0x21c)]){_0x828601[_0xc7a2e2(0x281)]&&(this[_0xc7a2e2(0x255)]=_0x828601[_0xc7a2e2(0x281)]),this[_0xc7a2e2(0x247)]=this[_0xc7a2e2(0x247)][_0xc7a2e2(0x2c1)](_0x2135be=>!_0x3580d2[_0xc7a2e2(0x1f3)](_0x2135be));for(const _0x6140e6 of _0x3580d2)_0x6140e6[_0xc7a2e2(0x21e)]=_0xc7a2e2(0x2e5)in _0x828601&&_0x828601[_0xc7a2e2(0x2e5)]||void 0x0;K(_0x3580d2,_0x828601[_0xc7a2e2(0x23b)]-_0x3580d2[_0xc7a2e2(0x201)]),this[_0xc7a2e2(0x2a1)](_0x3580d2);const _0x36bd5c=_0x3580d2[_0xc7a2e2(0x2c1)](_0x3d410b=>{const _0x1c8e63=_0xc7a2e2;if(!_0x3d410b[_0x1c8e63(0x277)])return!0x1;const _0x40c295=this[_0x1c8e63(0x26e)](_0x3d410b);return _0x40c295&&!this[_0x1c8e63(0x25e)][_0x1c8e63(0x2b4)](_0x40c295);});K(_0x36bd5c,this[_0xc7a2e2(0x270)][_0xc7a2e2(0x23b)]),this[_0xc7a2e2(0x2c8)](_0x36bd5c),_0x26ce55=!0x0,this[_0xc7a2e2(0x29d)]=this[_0xc7a2e2(0x1fc)];}else{const _0x24b7e3=this[_0xc7a2e2(0x24b)](_0x828601[_0xc7a2e2(0x221)],_0x828601[_0xc7a2e2(0x2cc)])[_0xc7a2e2(0x2c1)](_0x305b31=>_0x305b31[_0xc7a2e2(0x242)]>=this[_0xc7a2e2(0x263)]);_0x24b7e3[_0xc7a2e2(0x220)](_0x393f34=>this[_0xc7a2e2(0x296)](_0x393f34)),this[_0xc7a2e2(0x247)]=this[_0xc7a2e2(0x247)][_0xc7a2e2(0x2c1)](_0xec69cc=>!_0xec69cc[_0xc7a2e2(0x277)]||!this[_0xc7a2e2(0x25e)][_0xc7a2e2(0x2b4)](this[_0xc7a2e2(0x26e)](_0xec69cc))),this[_0xc7a2e2(0x247)][_0xc7a2e2(0x201)]&&K(this[_0xc7a2e2(0x247)],this[_0xc7a2e2(0x247)][0x0][_0xc7a2e2(0x242)]),await this[_0xc7a2e2(0x251)](_0x24b7e3),_0x26ce55=this[_0xc7a2e2(0x24a)](_0x24b7e3,_0x828601[_0xc7a2e2(0x23b)],_0x828601[_0xc7a2e2(0x281)]),this[_0xc7a2e2(0x29d)]=Math[_0xc7a2e2(0x239)](this[_0xc7a2e2(0x29d)]/0x2);}return _0x26ce55?!this[_0xc7a2e2(0x2d9)]()||(this[_0xc7a2e2(0x22f)](!0x0),!0x1):this[_0xc7a2e2(0x205)](_0xc7a2e2(0x1f1));}[_0x4eaf5b(0x24a)](_0x16dea3,_0x49fd47,_0x363008){const _0x531ee7=_0x4eaf5b;try{const _0x2bea03={'document':this[_0x531ee7(0x270)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1217ea,operationsB:_0x3ee494,originalOperations:_0x3f3b6d}=_0x9583e6(_0x16dea3,this[_0x531ee7(0x247)],_0x2bea03);K(_0x1217ea,this[_0x531ee7(0x270)][_0x531ee7(0x23b)]),K(_0x3ee494,_0x49fd47);for(const _0x5c6a89 of _0x1217ea){const _0x536be2=_0x3f3b6d[_0x531ee7(0x2df)](_0x5c6a89);_0x5c6a89[_0x531ee7(0x266)]=_0x536be2?_0x536be2[_0x531ee7(0x266)]:null;}_0x363008&&(this[_0x531ee7(0x20d)][_0x531ee7(0x265)](_0x16dea3,_0x363008),this[_0x531ee7(0x255)]=_0x363008),this[_0x531ee7(0x247)]=[..._0x3ee494],this[_0x531ee7(0x2c8)](_0x1217ea),this[_0x531ee7(0x2a1)](_0x16dea3);}catch(_0x104dc5){return console[_0x531ee7(0x214)](_0x104dc5),!0x1;}return!0x0;}[_0x4eaf5b(0x2c8)](_0x20a6f7,_0x2e0de7=!0x1){const _0x31dc89=_0x4eaf5b;this[_0x31dc89(0x22e)][_0x31dc89(0x25b)][_0x31dc89(0x209)]({'isUndoable':!0x1,'isLocal':!0x1},_0x157d33=>{const _0x3fbb3e=_0x31dc89;for(const _0x3d982a of _0x20a6f7)this[_0x3fbb3e(0x2d1)][_0x3fbb3e(0x208)](_0x3d982a),this[_0x3fbb3e(0x296)](_0x3d982a),_0x157d33[_0x3fbb3e(0x24f)][_0x3fbb3e(0x2d0)](_0x3d982a),this[_0x3fbb3e(0x22e)][_0x3fbb3e(0x25b)][_0x3fbb3e(0x2d8)](_0x3d982a);});}[_0x4eaf5b(0x296)](_0xc24f93){const _0x162bc7=_0x4eaf5b,_0x1b25ee=this[_0x162bc7(0x26e)](_0xc24f93);_0x1b25ee&&this[_0x162bc7(0x25e)][_0x162bc7(0x208)](_0x1b25ee);}[_0x4eaf5b(0x26e)](_0x46a26d){const _0x1b968c=_0x4eaf5b;let _0x198500,_0x521e2e;switch(_0x46a26d[_0x1b968c(0x280)]){case _0x1b968c(0x233):_0x198500=_0x46a26d[_0x1b968c(0x1e1)][_0x1b968c(0x28e)];break;case _0x1b968c(0x216):if(_0x521e2e=_0x46a26d[_0x1b968c(0x2dd)],!_0x521e2e)return null;_0x198500=_0x521e2e[_0x1b968c(0x28e)];break;case _0x1b968c(0x213):_0x198500=_0x46a26d[_0x1b968c(0x28e)];break;case _0x1b968c(0x20b):_0x198500=_0x46a26d[_0x1b968c(0x238)];break;case _0x1b968c(0x2ad):_0x198500=_0x46a26d[_0x1b968c(0x225)][_0x1b968c(0x28e)];break;default:return null;}return _0x198500[_0x1b968c(0x28d)];}[_0x4eaf5b(0x2a1)](_0xf7aca3){const _0x5c3712=_0x4eaf5b;_0xf7aca3[_0x5c3712(0x220)](_0x3b3a1d=>{const _0x2927da=_0x5c3712,_0x3a5de2=_0x3b3a1d[_0x2927da(0x219)]();_0x3a5de2[_0x2927da(0x266)]=_0x3b3a1d[_0x2927da(0x266)],_0x3a5de2[_0x2927da(0x277)]=!!_0x3b3a1d[_0x2927da(0x277)],_0x3a5de2[_0x2927da(0x21e)]=_0x3b3a1d[_0x2927da(0x21e)],_0x3a5de2[_0x2927da(0x242)]+=this[_0x2927da(0x291)],_0x3b3a1d[_0x2927da(0x20c)]&&this[_0x2927da(0x249)][_0x2927da(0x208)](_0x3a5de2),this[_0x2927da(0x27a)][_0x2927da(0x2d0)](_0x3a5de2);});}[_0x4eaf5b(0x299)](_0x1124e0){const _0x199dd0=_0x4eaf5b,_0xa172bb=this[_0x199dd0(0x22e)][_0x199dd0(0x2c4)][_0x199dd0(0x2df)](_0x199dd0(0x23f)),_0x1d1b13=this[_0x199dd0(0x22e)][_0x199dd0(0x224)];_0x1124e0||(_0x1124e0=_0x3640b5(_0x1d1b13,_0x199dd0(0x2cf))),_0xa172bb[_0x199dd0(0x283)](_0x1124e0,{'title':_0x3640b5(_0x1d1b13,_0x199dd0(0x21a)),'namespace':_0x199dd0(0x24e)}),this[_0x199dd0(0x1f9)]=!0x0,clearTimeout(this[_0x199dd0(0x2b5)]),this[_0x199dd0(0x247)]=[],this[_0x199dd0(0x22e)][_0x199dd0(0x2c4)][_0x199dd0(0x2df)](_0x388a3a)[_0x199dd0(0x289)]();}[_0x4eaf5b(0x29e)](){const _0x240afb=_0x4eaf5b;this[_0x240afb(0x232)]||(this[_0x240afb(0x232)]=this[_0x240afb(0x22e)][_0x240afb(0x2c4)][_0x240afb(0x2df)](_0x59a20a)[_0x240afb(0x208)](_0x3640b5(this[_0x240afb(0x22e)][_0x240afb(0x224)],_0x240afb(0x295))));}[_0x4eaf5b(0x2d4)](){const _0x257168=_0x4eaf5b;this[_0x257168(0x232)]&&(this[_0x257168(0x22e)][_0x257168(0x2c4)][_0x257168(0x2df)](_0x59a20a)[_0x257168(0x25a)](this[_0x257168(0x232)]),this[_0x257168(0x232)]=null);}[_0x4eaf5b(0x260)](_0x387ac3){const _0x1d6312=_0x4eaf5b,_0x5bf246=_0x387ac3[_0x1d6312(0x20a)](_0x51955d=>_0x51955d[_0x1d6312(0x269)]());return this[_0x1d6312(0x274)][_0x1d6312(0x223)](_0x5bf246);}[_0x4eaf5b(0x24b)](_0x41e9d8,_0x813672){const _0x15f4a4=_0x4eaf5b;return this[_0x15f4a4(0x274)][_0x15f4a4(0x2b7)](_0x41e9d8)[_0x15f4a4(0x20a)]((_0x2ad89a,_0x23aa7c)=>{const _0x26baba=_0x15f4a4,_0x1f0dfb=_0x26baba(0x2be)==_0x813672[_0x23aa7c][_0x26baba(0x280)];if(_0x26baba(0x2c3)==_0x2ad89a[_0x26baba(0x217)]){const _0x15eb10=_0x2ad89a[_0x26baba(0x1e1)][_0x26baba(0x28e)];!this[_0x26baba(0x270)][_0x26baba(0x1f2)](_0x15eb10)&&(this[_0x26baba(0x270)][_0x26baba(0x2b9)](_0x26baba(0x22c),_0x15eb10)[_0x26baba(0x2de)]=!0x1);}const _0x220306=_0x5ab9e6[_0x26baba(0x215)](_0x2ad89a,this[_0x26baba(0x270)]);return _0x220306[_0x26baba(0x2a4)]=_0x2ad89a[_0x26baba(0x2a4)],_0x220306[_0x26baba(0x277)]=_0x1f0dfb,_0x220306[_0x26baba(0x266)]=_0x1f0dfb?null:_0x813672[_0x23aa7c][_0x26baba(0x2a7)],_0x220306[_0x26baba(0x20c)]=_0x26baba(0x273)===_0x813672[_0x23aa7c][_0x26baba(0x280)],_0x220306[_0x26baba(0x21e)]=_0x813672[_0x23aa7c][_0x26baba(0x21e)],_0x220306;});}[_0x4eaf5b(0x21b)](){const _0x38f1cf=_0x4eaf5b;this[_0x38f1cf(0x2a0)]=!0x0,this[_0x38f1cf(0x2b8)]()?this[_0x38f1cf(0x22f)]():this[_0x38f1cf(0x2a0)]=!0x1;}[_0x4eaf5b(0x2b8)](){const _0x5c9bdf=_0x4eaf5b,_0x2609f7=this[_0x5c9bdf(0x22e)][_0x5c9bdf(0x2c4)][_0x5c9bdf(0x2df)](_0x5d3e5e)[_0x5c9bdf(0x2ac)][_0x5c9bdf(0x2df)](this[_0x5c9bdf(0x1f0)]);return!this[_0x5c9bdf(0x22e)][_0x5c9bdf(0x248)]&&!!_0x2609f7&&_0x2609f7[_0x5c9bdf(0x201)]>0x1&&this[_0x5c9bdf(0x2a0)];}[_0x4eaf5b(0x2d9)](){const _0x6257cb=_0x4eaf5b;return this[_0x6257cb(0x247)][_0x6257cb(0x201)]>0x0||this[_0x6257cb(0x2b8)]();}}class $ extends Error{}function K(_0x308b47,_0x580063){const _0xf52d2=_0x4eaf5b;for(const _0x22e7d7 of _0x308b47)_0x22e7d7[_0xf52d2(0x242)]=_0x580063++;}class J{[_0x4eaf5b(0x22a)];[_0x4eaf5b(0x282)];constructor(_0x775685){const _0xb8b5d3=_0x4eaf5b;this[_0xb8b5d3(0x22a)]=_0x775685,this[_0xb8b5d3(0x282)]=new WeakMap();}[_0x4eaf5b(0x2d5)](_0x2b5125){const _0x20fba3=_0x4eaf5b;let _0x542086=_0x2b5125[_0x20fba3(0x201)];for(;_0x542086--;){const _0x159aaf=_0x2b5125[_0x542086];if(!this[_0x20fba3(0x22a)][_0x20fba3(0x2b4)](_0x159aaf)){if(!this[_0x20fba3(0x282)][_0x20fba3(0x2b4)](_0x159aaf)){const _0x5c5c9c=_0x5acec4()[_0x20fba3(0x227)](0x1,0x12);this[_0x20fba3(0x282)][_0x20fba3(0x2c6)](_0x159aaf,_0x5c5c9c);}return this[_0x20fba3(0x282)][_0x20fba3(0x2df)](_0x159aaf);}}}[_0x4eaf5b(0x265)](_0x3deb9f,_0x5dc1fc){const _0x51f4eb=_0x4eaf5b;if(!_0x5dc1fc)return;let _0x2f13af=_0x3deb9f[_0x51f4eb(0x201)];for(;_0x2f13af--;){const _0xe4286e=_0x3deb9f[_0x2f13af];this[_0x51f4eb(0x22a)][_0x51f4eb(0x2b4)](_0xe4286e)||this[_0x51f4eb(0x282)][_0x51f4eb(0x2c6)](_0xe4286e,_0x5dc1fc);}}}
|
|
23
|
+
const _0x3d8f8b=_0x390b;function _0x503c(){const _0x5da0b9=['7985341nKFDxH','_sendBufferedOperationsDelayed','document','destroy','rootsAttributes','realtimecollaborationclient-init-document-already-initialized','_pendingAction','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','stopListening','sessionCreatedAt','string','listenTo','CollaborativeEditingService','enableReadOnlyMode','getUser','map','createdAt','sendOperations','add','_isEditingAllowed','5ybCPnz','1957348JdKqhE','connected','collaboration.channelId','parse','_disconnectService','InsertOperation','isPremiumPlugin','_handleReceivedOperations','cloudDocumentVersion','realtimecollaborationclient-init-connection-failed','code','_ignoredOperations','length','_isLoaded','position','lastSyncVersion','fire','realtimecollaborationclient-handleserverresponse','sessionId','setPermissions','_connectService','getOperationAuthor','high','move','_handleExternalOperations','getDocumentDetails','_handleInitialConnectionData','getRoot','disconnect','ready','error','stop','PENDING_ACTION_SENDING_DATA','_getOperationsFromInitData','_hasSynchronizationProblem','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.','disableReadOnlyMode','_operationToId','_baseBufferDelay','keys','roots','__className','10410042DefmZm','_waitUntilSynced','_getAffectedRoot','907712PNymYf','_lastSyncedOperationId','catch','createRoot','apply','_isAttached','realtimecollaborationclient-init-non-existent-root','view','createRange','isDocumentOperation','createUserMarkerOperations','_bufferedOperations','pluginName','createPositionAt','_refreshUserSelectionMarkers','_applyOperationsSet','batch','root','_lastServerVersion','compress','_loadRoot','entries','affectedSelectable','_isInit','serverHistory','reset','from','addRoot','_channelId','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','lastDocumentSession','start','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.','isUndoneOperation','_disconnectionOperations','isEnabled','end','_handleSendingSelectionMarkers','editor','real-time-collaboration','_offset','getConnectedSessions','push','_setPendingAction','decompress','newRange','mySessionId','createPositionFromPath','off','getMany','init','collaboration','offset','enqueueChange','applyOperation','_initThrowingOnDataSet','attributes','409','realtimecollaborationclient-init-session-connection-error','history','finally','rtc-offline','_connectAfterSessionHasBeenFlushed','cs:removeUser','_knownOperations','requires','reconnection:\x20flushed\x20session','unregister','isOfficialPlugin','rtc-destroyed','addOperation','isReadOnly','affectsData','forEach','cloudServices.bundleVersion','Synchronization\x20issue','Notification','slice','_isDisconnection','wereChangesApplied','disconnected','_operationIdentifier','removeFromReconnectionStack','_currentBufferDelay','targetPosition','plugins','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_sendBufferedOperations','filter','_hasSelectionChanged','editing','_knownRootNames','addUser','connection','config','_shouldSendUpdate','_handleReconnectionError','multi-root-editor-root-attributes-no-root','change:range','message','_compressOperations','differ','return','initData','_document','path','_setUpDataInit','marker','_handleServerResponse','fromJSON','define','realtimecollaborationclient-init-service-internal-error','currentDocumentSession','register','startsWith','_authorId','addToReconnectionStack','_isPendingUpdate','remove','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-error','_shouldSendSelectionUpdate','collaboration-missing-channelid','showWarning','markers','model','toJSON','RealTimeCollaborationClient','suppressErrorInCollaboration','cloud-services-internal-error:\x20Request\x20timeout.','_initSessionsHandling','selection','realtimecollaborationclient-sendbufferedoperations','_addKnownRoot','includes','_handleReconnectionResponse','404','directChange','loadRoot','4052292koZaRy','version','size','_service','CommentsOnly','change:_isEditingAllowed','userId','set','addRootAttribute','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','insert','state','bind','rootName','lastOperationId','clone','permissions','getOperations','wasUndone','get','_crash','baseVersion','data','type','_bufferRootLoad','_fetchMissingUsers','connect','operationsReceived','locale','$root','channelSessions','_decompressOperations','round','getIdOfTheLastOperation','_compressor','setIdForTheLastOperation','change:_isPendingUpdate','_isConnected','sessionAdd:','_saveOperationInBuffer','20321024GdZzyr','metadata','change:hasDomSelection','realtimecollaborationclient','document:write','_updateServerHistory','Permissions','660904zayxqm','lastOperationAcceptedAt','then','_sendBufferedOperationsDelayId','has','_clearPendingAction','realtimecollaborationclient-init-service-incorrect-server-operation','reconnect'];_0x503c=function(){return _0x5da0b9;};return _0x503c();}(function(_0x402615,_0x353293){const _0x400739=_0x390b,_0x4dc49c=_0x402615();while(!![]){try{const _0x22110b=-parseInt(_0x400739(0x15d))/0x1+parseInt(_0x400739(0x1a7))/0x2+-parseInt(_0x400739(0x12e))/0x3+parseInt(_0x400739(0x17a))/0x4*(parseInt(_0x400739(0x179))/0x5)+-parseInt(_0x400739(0x1a4))/0x6+parseInt(_0x400739(0x165))/0x7+parseInt(_0x400739(0x156))/0x8;if(_0x22110b===_0x353293)break;else _0x4dc49c['push'](_0x4dc49c['shift']());}catch(_0x30d1bd){_0x4dc49c['push'](_0x4dc49c['shift']());}}}(_0x503c,0xd6361));import{Plugin as _0x46ea28,PendingActions as _0x385c22}from'ckeditor5/src/core.js';import{CKEditorError as _0x4744ca,version as _0x1e19df,uid as _0x4134d}from'ckeditor5/src/utils.js';import{Notification as _0x25d720}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x5e5f4f,NoOperation as _0x2ebb10,InsertOperation as _0x45f472,MarkerOperation as _0x30b704,RootAttributeOperation as _0xa16b61,OperationFactory as _0x49d088,History as _0x98509}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x7cf06c}from'./websocketgateway.js';import{Sessions as _0xb047bd}from'./sessions.js';import{UserMarkers as _0xd27be6}from'./usermarkers.js';import{getTranslation as _0x475a1c}from'../common-translations.js';import{Compressor as _0x427176}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x300e02}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x59b63a,CollaborativeEditingService as _0xe75a60}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let N=0x1;export class RealTimeCollaborationClient extends _0x46ea28{static [_0x3d8f8b(0x171)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xe75a60)());[_0x3d8f8b(0x1cf)];[_0x3d8f8b(0x18c)];[_0x3d8f8b(0x1bf)];[_0x3d8f8b(0x1c3)];[_0x3d8f8b(0x131)];[_0x3d8f8b(0x10b)];[_0x3d8f8b(0x150)];[_0x3d8f8b(0x1b2)];[_0x3d8f8b(0xe3)];[_0x3d8f8b(0xfe)];[_0x3d8f8b(0x16b)];[_0x3d8f8b(0xfc)];[_0x3d8f8b(0x160)];[_0x3d8f8b(0x1a0)];[_0x3d8f8b(0xf6)];[_0x3d8f8b(0x1a8)];[_0x3d8f8b(0x1c9)];[_0x3d8f8b(0xf4)];static get[_0x3d8f8b(0xe4)](){return[_0x7cf06c,_0xb047bd,_0xd27be6,_0x385c22,_0x300e02,_0x25d720];}static get[_0x3d8f8b(0x1b3)](){const _0xc2ed9f=_0x3d8f8b;return _0xc2ed9f(0x122);}static get[_0x3d8f8b(0xe7)](){return!0x0;}static get[_0x3d8f8b(0x180)](){return!0x0;}get[_0x3d8f8b(0x182)](){const _0x239ee5=_0x3d8f8b;return this[_0x239ee5(0x1b9)]+this[_0x239ee5(0x1cf)];}get[_0x3d8f8b(0x1b9)](){const _0x2e85da=_0x3d8f8b;return this[_0x2e85da(0x1bf)][_0x2e85da(0x12f)]-this[_0x2e85da(0x1cf)];}get[_0x3d8f8b(0x189)](){const _0x140762=_0x3d8f8b,_0x2b0fc1=this[_0x140762(0x1bf)][_0x140762(0x13f)]();for(let _0x56ff01=_0x2b0fc1[_0x140762(0x186)]-0x1;_0x56ff01>=0x0;_0x56ff01--){const _0x48f83b=_0x2b0fc1[_0x56ff01];if(!this[_0x140762(0x1c9)][_0x140762(0x161)](_0x48f83b))return _0x48f83b[_0x140762(0x143)]+0x1-this[_0x140762(0x1cf)];}return 0x0;}constructor(_0x553557){const _0x2113e0=_0x3d8f8b;if(super(_0x553557),this[_0x2113e0(0x1cf)]=0x0,this[_0x2113e0(0x18c)]=null,this[_0x2113e0(0x1bf)]=new _0x98509(),this[_0x2113e0(0x1cd)][_0x2113e0(0x101)][_0x2113e0(0x111)](_0x2113e0(0x1da),{}),this[_0x2113e0(0x1c3)]=this[_0x2113e0(0x1cd)][_0x2113e0(0x101)][_0x2113e0(0x141)](_0x2113e0(0x17c)),!this[_0x2113e0(0x1c3)])throw new _0x4744ca(_0x2113e0(0x11d),this);const _0x3299db=_0x553557[_0x2113e0(0x101)][_0x2113e0(0x141)](_0x2113e0(0xed))||_0x1e19df;this[_0x2113e0(0x131)]=new RealTimeCollaborationClient[(_0x2113e0(0x171))](_0x3299db,this[_0x2113e0(0x1c3)]),this[_0x2113e0(0x10b)]=this[_0x2113e0(0x1cd)][_0x2113e0(0x120)][_0x2113e0(0x167)],this[_0x2113e0(0x150)]=new _0x427176(),this[_0x2113e0(0x1b2)]=[],this[_0x2113e0(0xe3)]=new WeakSet(),this[_0x2113e0(0xfe)]=new Set(),this[_0x2113e0(0x135)](_0x2113e0(0x118),!0x1),this[_0x2113e0(0x135)](_0x2113e0(0x19c),!0x1),this[_0x2113e0(0x16b)]=null,this[_0x2113e0(0xfc)]=!0x1,this[_0x2113e0(0x160)]=null,this[_0x2113e0(0x1a0)]=0x12c,this[_0x2113e0(0xf6)]=this[_0x2113e0(0x1a0)],this[_0x2113e0(0x1a8)]=null,this[_0x2113e0(0x1c9)]=new WeakSet(),this[_0x2113e0(0xf4)]=new M(this[_0x2113e0(0x1c9)]);}[_0x3d8f8b(0x1d9)](){const _0x26a669=_0x3d8f8b,_0x29c8ea=this[_0x26a669(0x1cd)],_0x28c5e5=_0x29c8ea[_0x26a669(0xf8)][_0x26a669(0x141)](_0x300e02),_0x33eec7=_0x29c8ea[_0x26a669(0xf8)][_0x26a669(0x141)](_0x7cf06c);this[_0x26a669(0x170)](_0x28c5e5,_0x26a669(0x18f),(_0x537824,_0x5aa091)=>{const _0x3a19b4=_0x26a669,_0x883fe1=_0x5aa091[0x0];_0x883fe1[_0x3a19b4(0x116)]&&(_0x537824[_0x3a19b4(0x109)]=_0x28c5e5[_0x3a19b4(0x173)](_0x883fe1[_0x3a19b4(0x116)]),_0x537824[_0x3a19b4(0x199)]()),null===_0x883fe1[_0x3a19b4(0x116)]&&(_0x537824[_0x3a19b4(0x109)]=null,_0x537824[_0x3a19b4(0x199)]());},{'priority':_0x26a669(0x190)}),this[_0x26a669(0x170)](_0x29c8ea[_0x26a669(0x120)][_0x26a669(0x167)][_0x26a669(0x126)],_0x26a669(0x105),(_0x17a701,_0x368f7e)=>{const _0x963b21=_0x26a669;_0x368f7e[_0x963b21(0x12c)]&&this[_0x963b21(0x1b5)]();}),this[_0x26a669(0x170)](_0x29c8ea[_0x26a669(0xfd)][_0x26a669(0x1ae)],_0x26a669(0x158),()=>{const _0x17c825=_0x26a669;this[_0x17c825(0x1b5)]();}),this[_0x26a669(0x1de)](),_0x29c8ea[_0x26a669(0x120)]['on'](_0x26a669(0x1dd),(_0x432a35,_0x4622e0)=>{const _0x3bba59=_0x26a669,_0x395508=_0x4622e0[0x0];_0x395508[_0x3bba59(0x1b0)]&&(this[_0x3bba59(0x155)](_0x395508),this[_0x3bba59(0x102)]()&&this[_0x3bba59(0x166)]());}),this[_0x26a669(0x10d)](),this[_0x26a669(0x13a)](_0x26a669(0x178))['to'](_0x33eec7,_0x26a669(0x139),this,_0x26a669(0x19c),(_0x5878d3,_0xc59bef)=>_0x26a669(0x17b)===_0x5878d3&&!_0xc59bef),this['on'](_0x26a669(0x133),()=>{const _0x2e1c13=_0x26a669;this[_0x2e1c13(0x178)]?_0x29c8ea[_0x2e1c13(0x19e)](_0x2e1c13(0xe0)):_0x29c8ea[_0x2e1c13(0x172)](_0x2e1c13(0xe0));}),this[_0x26a669(0x178)]?_0x29c8ea[_0x26a669(0x19e)](_0x26a669(0xe0)):_0x29c8ea[_0x26a669(0x172)](_0x26a669(0xe0)),this[_0x26a669(0x135)](_0x26a669(0x153),!0x1);}async[_0x3d8f8b(0x164)](){const _0x2f96e0=_0x3d8f8b,_0x2d9382=this[_0x2f96e0(0x1cd)][_0x2f96e0(0xf8)][_0x2f96e0(0x141)](_0xb047bd),_0x17ab2d=this[_0x2f96e0(0x1cd)][_0x2f96e0(0xf8)][_0x2f96e0(0x141)](_0x7cf06c);try{this[_0x2f96e0(0x118)]=!0x0,_0x2d9382[_0x2f96e0(0xe6)](this[_0x2f96e0(0x1c3)]);const _0x2c7f7e=await this[_0x2f96e0(0x131)][_0x2f96e0(0x164)](_0x17ab2d[_0x2f96e0(0x100)],this[_0x2f96e0(0x189)]);await this[_0x2f96e0(0x12a)](_0x2c7f7e)&&(this[_0x2f96e0(0x118)]=!0x1,this[_0x2f96e0(0x162)]());const _0x442ffc=await this[_0x2f96e0(0x131)][_0x2f96e0(0x1d0)]();_0x2d9382[_0x2f96e0(0x114)](this[_0x2f96e0(0x1c3)],_0x442ffc),this[_0x2f96e0(0x1cc)](),this[_0x2f96e0(0x153)]=!0x0;}catch(_0x34ed2d){if(function(_0x4356ae){const _0x49b398=_0x2f96e0;return _0x49b398(0x12b)===_0x4356ae[_0x49b398(0x184)];}(_0x34ed2d)&&this[_0x2f96e0(0x18c)])await this[_0x2f96e0(0xe1)]();else{if(function(_0x50ed75){const _0x34fbe9=_0x2f96e0;return _0x34fbe9(0x1e0)===_0x50ed75[_0x34fbe9(0x184)];}(_0x34ed2d)){const _0x2ada15=_0x475a1c(this[_0x2f96e0(0x1cd)][_0x2f96e0(0x14a)],_0x2f96e0(0x1c4));this[_0x2f96e0(0x103)](_0x2ada15);}else{if(!(_0x34ed2d instanceof B))throw _0x34ed2d;this[_0x2f96e0(0x103)]();}}}}[_0x3d8f8b(0x168)](){const _0x1b5dc2=_0x3d8f8b,_0x5f5438=this[_0x1b5dc2(0x1cd)][_0x1b5dc2(0xf8)][_0x1b5dc2(0x141)](_0x7cf06c),_0x3714c5=this[_0x1b5dc2(0x1cd)][_0x1b5dc2(0xf8)][_0x1b5dc2(0x141)](_0xb047bd);this[_0x1b5dc2(0x1cd)][_0x1b5dc2(0x172)](_0x1b5dc2(0xe8)),_0x3714c5[_0x1b5dc2(0x14c)][_0x1b5dc2(0x161)](this[_0x1b5dc2(0x1c3)])&&_0x3714c5[_0x1b5dc2(0xe6)](this[_0x1b5dc2(0x1c3)]),_0x5f5438[_0x1b5dc2(0xf5)](this),this[_0x1b5dc2(0x17e)](),super[_0x1b5dc2(0x168)]();}async[_0x3d8f8b(0x12a)](_0x447204){const _0x148467=_0x3d8f8b;if(this[_0x148467(0x18c)]!==_0x447204[_0x148467(0x18c)]&&this[_0x148467(0x1a8)]!==_0x447204[_0x148467(0x13c)])throw new B();return this[_0x148467(0x18c)]=_0x447204[_0x148467(0x18c)],this[_0x148467(0x10f)]([],{..._0x447204,'wereChangesApplied':!0x1,'data':_0x447204[_0x148467(0x144)]},_0x148467(0x164));}async[_0x3d8f8b(0x18e)](_0x558d71,_0x2fa718=!0x1){const _0x45e902=_0x3d8f8b,{connection:_0x12dc79}=this[_0x45e902(0x1cd)][_0x45e902(0xf8)][_0x45e902(0x141)](_0x7cf06c);RealTimeCollaborationClient[_0x45e902(0x171)][_0x45e902(0x1d0)](_0x12dc79,this[_0x45e902(0x1c3)])[_0x45e902(0x15f)](_0x345a95=>this[_0x45e902(0x125)](_0x345a95))[_0x45e902(0x1a9)](_0x59e1e7=>{const _0x884de5=_0x45e902;this[_0x884de5(0x142)](_0x884de5(0x1e1),_0x59e1e7);}),this[_0x45e902(0x170)](this[_0x45e902(0x131)],_0x45e902(0x149),this[_0x45e902(0x181)][_0x45e902(0x13a)](this)),this[_0x45e902(0x170)](this[_0x45e902(0x131)],_0x45e902(0x198),(_0x16b8c7,_0x65b2ed)=>{const _0x1883fd=_0x45e902;this[_0x1883fd(0x142)](_0x1883fd(0x112),_0x65b2ed);}),this[_0x45e902(0x170)](this[_0x45e902(0x131)],_0x45e902(0xf3),()=>{const _0x458be9=_0x45e902;this[_0x458be9(0x153)]=!0x1;});const _0x57b200=this[_0x45e902(0xf4)][_0x45e902(0x14f)](_0x558d71);this[_0x45e902(0x118)]=!0x0;const _0x19de1f=await this[_0x45e902(0x131)][_0x45e902(0x148)](_0x12dc79,this[_0x45e902(0x107)](_0x558d71),_0x57b200);if(this[_0x45e902(0x18c)]=_0x19de1f[_0x45e902(0x18c)],_0x2fa718){if(!_0x19de1f[_0x45e902(0xf2)])return void this[_0x45e902(0x103)]();this[_0x45e902(0x118)]=!0x1,this[_0x45e902(0x162)](),this[_0x45e902(0x1bf)][_0x45e902(0x1c0)](),this[_0x45e902(0x1cf)]=_0x19de1f[_0x45e902(0x1db)],this[_0x45e902(0x1bf)][_0x45e902(0x12f)]=this[_0x45e902(0x1cf)],await this[_0x45e902(0x10f)](_0x558d71,_0x19de1f,_0x45e902(0xe5));}else await this[_0x45e902(0x194)](_0x19de1f,_0x558d71);this[_0x45e902(0x1cc)](),this[_0x45e902(0x153)]=!0x0;}[_0x3d8f8b(0x1cc)](){const _0x27de59=_0x3d8f8b,_0x27bc5a=this[_0x27de59(0x1cd)][_0x27de59(0xf8)][_0x27de59(0x141)](_0xb047bd),_0x3889e5=this[_0x27de59(0x1cd)][_0x27de59(0xf8)][_0x27de59(0x141)](_0xd27be6),_0x3a5289=_0x27bc5a[_0x27de59(0x14c)][_0x27de59(0x141)](this[_0x27de59(0x1c3)]);_0x3a5289&&_0x3a5289[_0x27de59(0x186)]>0x1?_0x3889e5[_0x27de59(0x1b1)]():this[_0x27de59(0x170)](_0x27bc5a,_0x27de59(0x154)+this[_0x27de59(0x1c3)],()=>{const _0x5e6340=_0x27de59;0x2===_0x27bc5a[_0x5e6340(0x14c)][_0x5e6340(0x141)](this[_0x5e6340(0x1c3)])[_0x5e6340(0x186)]&&_0x3889e5[_0x5e6340(0x1b1)]();});}async[_0x3d8f8b(0x181)](_0x45ade7,_0x16b249,_0x407ca9,_0x1f4636){const _0x114e0a=_0x3d8f8b;if(!this[_0x114e0a(0x118)]&&this[_0x114e0a(0x10b)][_0x114e0a(0x12f)]==_0x16b249){const _0x278b13=this[_0x114e0a(0x14d)](_0x407ca9,_0x1f4636);await this[_0x114e0a(0x147)](_0x278b13),this[_0x114e0a(0x192)](_0x278b13,_0x16b249,_0x407ca9[_0x114e0a(0x13c)])||this[_0x114e0a(0x142)](_0x114e0a(0x163));}}async[_0x3d8f8b(0xe1)](){const _0x1a2fcf=_0x3d8f8b;this[_0x1a2fcf(0x17e)]();const {locale:_0x350605}=this[_0x1a2fcf(0x1cd)];let _0x3a19c3;try{_0x3a19c3=await this[_0x1a2fcf(0x131)][_0x1a2fcf(0x193)]();}catch{const _0xdf792c=_0x475a1c(_0x350605,_0x1a2fcf(0x137));return void this[_0x1a2fcf(0x103)](_0xdf792c);}const _0x4fe705=_0x3a19c3[_0x1a2fcf(0x113)]||_0x3a19c3[_0x1a2fcf(0x1c5)];if(this[_0x1a2fcf(0x1a8)]!==_0x4fe705[_0x1a2fcf(0x13c)]){const _0x68d9f9=_0x475a1c(_0x350605,_0x1a2fcf(0x1c7));return void this[_0x1a2fcf(0x103)](_0x68d9f9);}await this[_0x1a2fcf(0x18e)](this[_0x1a2fcf(0x1cd)][_0x1a2fcf(0x120)][_0x1a2fcf(0x167)][_0x1a2fcf(0x1e2)][_0x1a2fcf(0x13f)](),!0x0);}[_0x3d8f8b(0x17e)](){const _0x253e10=_0x3d8f8b;this[_0x253e10(0x131)][_0x253e10(0x196)](),this[_0x253e10(0x1b2)]=[],clearTimeout(this[_0x253e10(0x160)]),this[_0x253e10(0x16d)](this[_0x253e10(0x131)]);}[_0x3d8f8b(0x125)](_0x5e9f87){const _0x3cc2b1=_0x3d8f8b,_0x288a5e=this[_0x3cc2b1(0x1cd)][_0x3cc2b1(0xf8)][_0x3cc2b1(0x141)](_0xb047bd);this[_0x3cc2b1(0x170)](_0x288a5e,_0x3cc2b1(0x154)+this[_0x3cc2b1(0x1c3)],(_0x12c75a,{session:_0x18ca49})=>{const _0x34641f=_0x3cc2b1;if(_0x18ca49['id']===_0x288a5e[_0x34641f(0x1d5)]){_0x12c75a[_0x34641f(0x1d7)]();const _0x374423=this[_0x34641f(0x1cd)][_0x34641f(0xf8)][_0x34641f(0x161)](_0x34641f(0x132))&&this[_0x34641f(0x1cd)][_0x34641f(0xf8)][_0x34641f(0x141)](_0x34641f(0x132));let _0x5315ae=_0x18ca49[_0x34641f(0x13e)];_0x374423&&_0x374423[_0x34641f(0x1ca)]&&(_0x5315ae=_0x5315ae[_0x34641f(0xfb)](_0x3be036=>_0x34641f(0x15a)!==_0x3be036)),this[_0x34641f(0x1cd)][_0x34641f(0xf8)][_0x34641f(0x141)](_0x34641f(0x15c))[_0x34641f(0x18d)](_0x5315ae,this[_0x34641f(0x1c3)]);}}),_0x288a5e[_0x3cc2b1(0x114)](this[_0x3cc2b1(0x1c3)],_0x5e9f87);}[_0x3d8f8b(0x1de)](){const _0x2b08b7=_0x3d8f8b,_0x40a98c=this[_0x2b08b7(0x1cd)][_0x2b08b7(0x144)][_0x2b08b7(0x135)];this[_0x2b08b7(0x1cd)][_0x2b08b7(0x144)][_0x2b08b7(0x135)]=(..._0x2bc841)=>{const _0xf6e740=_0x2b08b7;if(!_0x2bc841[_0x2bc841[_0xf6e740(0x186)]-0x1][_0xf6e740(0x123)])throw new _0x4744ca(_0xf6e740(0xf9),this);_0x40a98c[_0xf6e740(0x1ab)](this[_0xf6e740(0x1cd)][_0xf6e740(0x144)],_0x2bc841);};}[_0x3d8f8b(0x10d)](){const _0x47942f=_0x3d8f8b;this[_0x47942f(0x1cd)][_0x47942f(0x144)]['on'](_0x47942f(0x1d9),(_0x33ca0b,[_0x443b41])=>{const _0x40f653=_0x47942f;if(this[_0x40f653(0x10b)][_0x40f653(0x12f)])throw new _0x4744ca(_0x40f653(0x16a),this);_0x33ca0b[_0x40f653(0x199)](),this[_0x40f653(0x1d2)]();const _0xbf3b0=this[_0x40f653(0x1cd)][_0x40f653(0x101)][_0x40f653(0x141)](_0x40f653(0x169)),_0x50384a=this[_0x40f653(0x19b)](_0x443b41,_0xbf3b0);0x0==_0x50384a[_0x40f653(0x186)]&&_0x50384a[_0x40f653(0x1d1)](new _0x2ebb10(0x0)),_0x33ca0b[_0x40f653(0x109)]=this[_0x40f653(0x18e)](_0x50384a)[_0x40f653(0x15f)](()=>{const _0xce6e7c=_0x40f653;this[_0xce6e7c(0x1cd)][_0xce6e7c(0xf8)][_0xce6e7c(0x141)](_0x7cf06c)[_0xce6e7c(0x117)](this),this[_0xce6e7c(0x1cd)][_0xce6e7c(0x144)][_0xce6e7c(0x18a)](_0xce6e7c(0x197));})[_0x40f653(0x1a9)](_0x1add8b=>this[_0x40f653(0x142)](_0x40f653(0x183),_0x1add8b))[_0x40f653(0x1e3)](()=>this[_0x40f653(0x162)]());},{'priority':_0x47942f(0x190)}),this[_0x47942f(0x1cd)]['on'](_0x47942f(0x12d),async(_0x4f9463,[_0x30f522,_0x11c928])=>{const _0x40e015=_0x47942f;_0x4f9463[_0x40e015(0x199)]();const _0x2866fe=this[_0x40e015(0x1cd)][_0x40e015(0x120)][_0x40e015(0x167)][_0x40e015(0x195)](_0x30f522);if(!this[_0x40e015(0xfe)][_0x40e015(0x161)](_0x30f522)){const _0x1d037b=_0x11c928&&_0x11c928[_0x40e015(0x144)]?_0x11c928[_0x40e015(0x144)]:'',_0x4394e4=_0x11c928&&_0x11c928[_0x40e015(0x1df)]?_0x11c928[_0x40e015(0x1df)]:{};await this[_0x40e015(0x1bb)](_0x30f522,_0x1d037b,_0x4394e4);}this[_0x40e015(0x1cd)][_0x40e015(0x120)][_0x40e015(0x1dc)]({'isUndoable':!0x1},()=>{const _0x5de44b=_0x40e015;_0x2866fe[_0x5de44b(0x187)]=!0x0,this[_0x5de44b(0x1cd)][_0x5de44b(0x120)][_0x5de44b(0x167)][_0x5de44b(0x108)][_0x5de44b(0x146)](_0x2866fe);});},{'priority':_0x47942f(0x190)});}async[_0x3d8f8b(0x147)](_0x397669){const _0x541bbf=_0x3d8f8b,_0x55d6a5=this[_0x541bbf(0x1cd)][_0x541bbf(0xf8)][_0x541bbf(0x141)](_0x300e02),{connection:_0x469fd5}=this[_0x541bbf(0x1cd)][_0x541bbf(0xf8)][_0x541bbf(0x141)](_0x7cf06c),_0x1ea92b=new Set();for(const _0x46f9f7 of _0x397669){const _0x1ddcfc=_0x46f9f7[_0x541bbf(0x116)];_0x1ddcfc&&!_0x55d6a5[_0x541bbf(0x173)](_0x1ddcfc)&&_0x1ea92b[_0x541bbf(0x177)](_0x1ddcfc);}if(0x0===_0x1ea92b[_0x541bbf(0x130)])return;const _0xdeb472=await _0x59b63a[_0x541bbf(0x1d8)](_0x469fd5,Array[_0x541bbf(0x1c1)](_0x1ea92b));for(const _0x206528 of _0xdeb472)_0x55d6a5[_0x541bbf(0x173)](_0x206528['id'])||_0x55d6a5[_0x541bbf(0xff)](_0x206528);}[_0x3d8f8b(0x19b)](_0x26bfc4,_0x13754d={}){const _0x10745e=_0x3d8f8b,_0x146bd3=this[_0x10745e(0x1cd)][_0x10745e(0x120)],_0x5d777b=[];let _0x35616f=0x0;const _0x4d3a66=_0x10745e(0x16f)==typeof _0x26bfc4?{'main':_0x26bfc4}:_0x26bfc4;for(const _0x5dc6d1 of Object[_0x10745e(0x1a1)](_0x4d3a66)){if(!this[_0x10745e(0x10b)][_0x10745e(0x1a2)][_0x10745e(0x161)](_0x5dc6d1))throw new _0x4744ca(_0x10745e(0x1ad),this);const _0x2657c6=this[_0x10745e(0x1cd)][_0x10745e(0x144)][_0x10745e(0x17d)](_0x4d3a66[_0x5dc6d1]),_0x321ef6=this[_0x10745e(0x10b)][_0x10745e(0x195)](_0x5dc6d1),_0x1aa9a4=new _0x45f472(_0x146bd3[_0x10745e(0x1b4)](_0x321ef6,0x0),_0x2657c6,_0x35616f++);_0x5d777b[_0x10745e(0x1d1)](_0x1aa9a4);for(const [_0xdfbccb,_0x1dd843]of _0x2657c6[_0x10745e(0x11f)]){const _0x51e2be=_0x146bd3[_0x10745e(0x1af)](_0x146bd3[_0x10745e(0x1d6)](_0x321ef6,_0x1dd843[_0x10745e(0x1c6)][_0x10745e(0x10c)][_0x10745e(0xf0)]()),_0x146bd3[_0x10745e(0x1d6)](_0x321ef6,_0x1dd843[_0x10745e(0x1cb)][_0x10745e(0x10c)][_0x10745e(0xf0)]())),_0x159530=new _0x30b704(_0xdfbccb,null,_0x51e2be,_0x146bd3[_0x10745e(0x11f)],!0x0,_0x35616f++);_0x5d777b[_0x10745e(0x1d1)](_0x159530);}}if(_0x13754d)for(const [_0x2bb6fa,_0x31361d]of Object[_0x10745e(0x1bc)](_0x13754d)){const _0x3b38f8=_0x146bd3[_0x10745e(0x167)][_0x10745e(0x195)](_0x2bb6fa);if(!_0x3b38f8)throw new _0x4744ca(_0x10745e(0x104),null);for(const [_0x19005e,_0x203801]of Object[_0x10745e(0x1bc)](_0x31361d))if(null!==_0x203801){const _0x1eb6fe=new _0xa16b61(_0x3b38f8,_0x19005e,null,_0x203801,_0x35616f++);_0x5d777b[_0x10745e(0x1d1)](_0x1eb6fe);}}return _0x5d777b;}async[_0x3d8f8b(0x1bb)](_0x19917a,_0x47f81c,_0x2d2909){const _0x260de3=_0x3d8f8b;this[_0x260de3(0x19b)]({[_0x19917a]:_0x47f81c},{[_0x19917a]:_0x2d2909})[_0x260de3(0xec)]((_0x3d41f8,_0x368923)=>{const _0x2d4031=_0x260de3;_0x3d41f8[_0x2d4031(0x143)]=this[_0x2d4031(0x10b)][_0x2d4031(0x12f)]+_0x368923,_0x3d41f8[_0x2d4031(0x1be)]=!0x0,this[_0x2d4031(0x155)](_0x3d41f8);}),this[_0x260de3(0x166)](),await this[_0x260de3(0x1a5)]();}async[_0x3d8f8b(0x194)](_0xfcfb0e,_0x54a18a){const _0x45e7d7=_0x3d8f8b;let _0x1de11a;this[_0x45e7d7(0x1cf)]=_0xfcfb0e[_0x45e7d7(0x1db)];const _0x59eb73=_0xfcfb0e[_0x45e7d7(0xf2)]&&!_0xfcfb0e[_0x45e7d7(0x10a)],_0x3e7ce4=_0x59eb73?0x0:_0xfcfb0e[_0x45e7d7(0x144)][_0x45e7d7(0x143)];if(_0x54a18a[_0x45e7d7(0xec)](_0x2c7e04=>{const _0x881ae2=_0x45e7d7;_0x2c7e04[_0x881ae2(0x1be)]=!0x0,_0x2c7e04[_0x881ae2(0x175)]=_0xfcfb0e[_0x881ae2(0x16e)],_0x2c7e04[_0x881ae2(0x116)]=null;}),_0x59eb73)_0x1de11a=_0x54a18a,this[_0x45e7d7(0x1b6)](_0x1de11a,_0x59eb73);else{if(_0xfcfb0e[_0x45e7d7(0x10a)]){const _0x5c8acb=this[_0x45e7d7(0x19b)](_0xfcfb0e[_0x45e7d7(0x10a)]);this[_0x45e7d7(0x10b)][_0x45e7d7(0x1e2)][_0x45e7d7(0x12f)]=-_0x5c8acb[_0x45e7d7(0x186)],_0x5c8acb[_0x45e7d7(0xec)](_0x114c91=>{const _0x2d042b=_0x45e7d7;_0x114c91[_0x2d042b(0x143)]-=_0x5c8acb[_0x2d042b(0x186)],_0x114c91[_0x2d042b(0x175)]=_0xfcfb0e[_0x2d042b(0x16e)],_0x114c91[_0x2d042b(0x1be)]=!0x0,_0x114c91[_0x2d042b(0x116)]=null;}),this[_0x45e7d7(0x1b6)](_0x5c8acb,!0x0),this[_0x45e7d7(0x1bf)][_0x45e7d7(0x12f)]=-_0x5c8acb[_0x45e7d7(0x186)]+this[_0x45e7d7(0x1cf)],this[_0x45e7d7(0x15b)](_0x5c8acb);}this[_0x45e7d7(0x10b)][_0x45e7d7(0x1e2)][_0x45e7d7(0x12f)]=_0x3e7ce4,_0x1de11a=this[_0x45e7d7(0x14d)](_0xfcfb0e[_0x45e7d7(0x144)],_0xfcfb0e[_0x45e7d7(0x157)]),await this[_0x45e7d7(0x147)](_0x1de11a),this[_0x45e7d7(0x1b6)](_0x1de11a,_0x59eb73);}_0xfcfb0e[_0x45e7d7(0x13c)]&&(this[_0x45e7d7(0xf4)][_0x45e7d7(0x151)](_0x1de11a,_0xfcfb0e[_0x45e7d7(0x13c)]),this[_0x45e7d7(0x1a8)]=_0xfcfb0e[_0x45e7d7(0x13c)]),this[_0x45e7d7(0x1bf)][_0x45e7d7(0x12f)]=_0x3e7ce4+this[_0x45e7d7(0x1cf)],this[_0x45e7d7(0x15b)](_0x1de11a),_0x54a18a[_0x45e7d7(0xfb)](_0x3ff18b=>{const _0x233c5d=_0x45e7d7,_0xaf73c1=this[_0x233c5d(0x1a6)](_0x3ff18b);return _0xaf73c1&&!this[_0x233c5d(0xfe)][_0x233c5d(0x161)](_0xaf73c1);})[_0x45e7d7(0xec)]((_0x23364d,_0x421392)=>{const _0x8974a5=_0x45e7d7;_0x23364d[_0x8974a5(0x143)]=this[_0x8974a5(0x10b)][_0x8974a5(0x12f)]+_0x421392,this[_0x8974a5(0x155)](_0x23364d);}),this[_0x45e7d7(0x102)]()?(this[_0x45e7d7(0xf6)]=0x0,this[_0x45e7d7(0x166)](!0x0),await this[_0x45e7d7(0x1a5)]()):(this[_0x45e7d7(0x118)]=!0x1,this[_0x45e7d7(0x162)]());}[_0x3d8f8b(0x142)](_0x64be37,_0x16a470){const _0x2937f4=_0x3d8f8b,_0xcc777=_0x16a470&&_0x16a470[_0x2937f4(0x106)];if(_0xcc777&&_0xcc777[_0x2937f4(0x115)](_0x2937f4(0x159)))throw _0x16a470;const _0x2a6960=this[_0x2937f4(0x1cd)][_0x2937f4(0xf8)][_0x2937f4(0x141)](_0x7cf06c);throw this[_0x2937f4(0x118)]=!0x0,_0x2a6960[_0x2937f4(0x196)](),this[_0x2937f4(0x1cd)][_0x2937f4(0x172)](_0x2937f4(0x11b)),new _0x4744ca(_0x64be37,this[_0x2937f4(0x1cd)],_0xcc777?{'originalError':_0xcc777}:void 0x0);}[_0x3d8f8b(0x155)](_0x532557){const _0x3e6767=_0x3d8f8b;this[_0x3e6767(0xe3)][_0x3e6767(0x161)](_0x532557)||(this[_0x3e6767(0xe3)][_0x3e6767(0x177)](_0x532557),this[_0x3e6767(0x1b2)][_0x3e6767(0x1d1)](_0x532557),this[_0x3e6767(0x16b)]||_0x3e6767(0x10e)==_0x532557[_0x3e6767(0x145)]&&!_0x532557[_0x3e6767(0xeb)]||this[_0x3e6767(0x1d2)]());}[_0x3d8f8b(0x166)](_0x5d9320=!0x1){const _0x2c0eee=_0x3d8f8b;!_0x5d9320&&this[_0x2c0eee(0x118)]||(this[_0x2c0eee(0x118)]=!0x0,clearTimeout(this[_0x2c0eee(0x160)]),this[_0x2c0eee(0x160)]=setTimeout(()=>{const _0x2b2950=_0x2c0eee;this[_0x2b2950(0xfa)]()[_0x2b2950(0x15f)](_0xfe2e19=>{const _0x47184e=_0x2b2950;_0xfe2e19&&(this[_0x47184e(0x162)](),this[_0x47184e(0x118)]=!0x1);})[_0x2b2950(0x1a9)](_0x401cd2=>{const _0x23895c=_0x2b2950;this[_0x23895c(0x162)](),this[_0x23895c(0x118)]=!0x1,function(_0x17c409){const _0x180305=_0x23895c;return _0x17c409[_0x180305(0x106)][_0x180305(0x115)](_0x180305(0x11a))||_0x17c409[_0x180305(0x106)][_0x180305(0x115)](_0x180305(0x16c))||_0x17c409[_0x180305(0x106)][_0x180305(0x115)](_0x180305(0x124));}(_0x401cd2)||this[_0x23895c(0x142)](_0x401cd2[_0x23895c(0x106)],_0x401cd2);});},this[_0x2c0eee(0xf6)]));}[_0x3d8f8b(0x1a5)](){return new Promise(_0x10cd64=>{const _0x3cb719=_0x390b;this['on'](_0x3cb719(0x152),()=>{_0x10cd64();});});}async[_0x3d8f8b(0xfa)](){const _0x41b057=_0x3d8f8b,_0x53d4c0=this[_0x41b057(0x1cd)][_0x41b057(0xf8)][_0x41b057(0x141)](_0xd27be6);if(this[_0x41b057(0x11c)]()&&(_0x53d4c0[_0x41b057(0x1b1)](),this[_0x41b057(0xfc)]=!0x1),!this[_0x41b057(0x102)]())return!0x0;const _0xace0e1=[...this[_0x41b057(0x1b2)]];for(const _0x486a06 of _0xace0e1)_0x486a06[_0x41b057(0x140)]=this[_0x41b057(0x10b)][_0x41b057(0x1e2)][_0x41b057(0x1c8)](_0x486a06);const _0x5c6846=this[_0x41b057(0xf4)][_0x41b057(0x14f)](_0xace0e1),_0x150561=N++,_0x2f3320=this[_0x41b057(0x107)](_0xace0e1),_0x5400bc=await this[_0x41b057(0x131)][_0x41b057(0x176)](_0x2f3320,_0x2f3320[_0x41b057(0x143)],_0x5c6846);try{return await this[_0x41b057(0x10f)](_0xace0e1,_0x5400bc,_0x150561);}catch(_0x1217e8){return this[_0x41b057(0x142)](_0x41b057(0x127),_0x1217e8);}}async[_0x3d8f8b(0x10f)](_0x90cf4e,_0xe6af37,_0x1bf75a){const _0x12d02b=_0x3d8f8b;if(_0x12d02b(0x198)in _0xe6af37)throw _0xe6af37[_0x12d02b(0x198)];let _0x1d604b=!0x1;if(_0xe6af37[_0x12d02b(0xf2)]){_0xe6af37[_0x12d02b(0x13c)]&&(this[_0x12d02b(0x1a8)]=_0xe6af37[_0x12d02b(0x13c)]),this[_0x12d02b(0x1b2)]=this[_0x12d02b(0x1b2)][_0x12d02b(0xfb)](_0x5cc39b=>!_0x90cf4e[_0x12d02b(0x129)](_0x5cc39b));for(const _0x165f94 of _0x90cf4e)_0x165f94[_0x12d02b(0x175)]=_0x12d02b(0x15e)in _0xe6af37&&_0xe6af37[_0x12d02b(0x15e)]||void 0x0;x(_0x90cf4e,_0xe6af37[_0x12d02b(0x12f)]-_0x90cf4e[_0x12d02b(0x186)]),this[_0x12d02b(0x15b)](_0x90cf4e);const _0x154abd=_0x90cf4e[_0x12d02b(0xfb)](_0xfa16cf=>{const _0x15350b=_0x12d02b;if(!_0xfa16cf[_0x15350b(0x1be)])return!0x1;const _0x135063=this[_0x15350b(0x1a6)](_0xfa16cf);return _0x135063&&!this[_0x15350b(0xfe)][_0x15350b(0x161)](_0x135063);});x(_0x154abd,this[_0x12d02b(0x10b)][_0x12d02b(0x12f)]),this[_0x12d02b(0x1b6)](_0x154abd),_0x1d604b=!0x0,this[_0x12d02b(0xf6)]=this[_0x12d02b(0x1a0)];}else{const _0x30020c=this[_0x12d02b(0x14d)](_0xe6af37[_0x12d02b(0x144)],_0xe6af37[_0x12d02b(0x157)])[_0x12d02b(0xfb)](_0x3e8682=>_0x3e8682[_0x12d02b(0x143)]>=this[_0x12d02b(0x1b9)]);_0x30020c[_0x12d02b(0xec)](_0xe9a392=>this[_0x12d02b(0x128)](_0xe9a392)),this[_0x12d02b(0x1b2)]=this[_0x12d02b(0x1b2)][_0x12d02b(0xfb)](_0x336b1b=>!_0x336b1b[_0x12d02b(0x1be)]||!this[_0x12d02b(0xfe)][_0x12d02b(0x161)](this[_0x12d02b(0x1a6)](_0x336b1b))),this[_0x12d02b(0x1b2)][_0x12d02b(0x186)]&&x(this[_0x12d02b(0x1b2)],this[_0x12d02b(0x1b2)][0x0][_0x12d02b(0x143)]),await this[_0x12d02b(0x147)](_0x30020c),_0x1d604b=this[_0x12d02b(0x192)](_0x30020c,_0xe6af37[_0x12d02b(0x12f)],_0xe6af37[_0x12d02b(0x13c)]),this[_0x12d02b(0xf6)]=Math[_0x12d02b(0x14e)](this[_0x12d02b(0xf6)]/0x2);}return _0x1d604b?!this[_0x12d02b(0x102)]()||(this[_0x12d02b(0x166)](!0x0),!0x1):this[_0x12d02b(0x142)](_0x12d02b(0x18b));}[_0x3d8f8b(0x192)](_0x4653fc,_0x25672d,_0x29d454){const _0x51369a=_0x3d8f8b;try{const _0x220121={'document':this[_0x51369a(0x10b)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x254725,operationsB:_0x1daf70,originalOperations:_0x4d2653}=_0x5e5f4f(_0x4653fc,this[_0x51369a(0x1b2)],_0x220121);x(_0x254725,this[_0x51369a(0x10b)][_0x51369a(0x12f)]),x(_0x1daf70,_0x25672d);for(const _0x116fa0 of _0x254725){const _0x1ad6de=_0x4d2653[_0x51369a(0x141)](_0x116fa0);_0x116fa0[_0x51369a(0x116)]=_0x1ad6de?_0x1ad6de[_0x51369a(0x116)]:null;}_0x29d454&&(this[_0x51369a(0xf4)][_0x51369a(0x151)](_0x4653fc,_0x29d454),this[_0x51369a(0x1a8)]=_0x29d454),this[_0x51369a(0x1b2)]=[..._0x1daf70],this[_0x51369a(0x1b6)](_0x254725),this[_0x51369a(0x15b)](_0x4653fc);}catch(_0x4278b7){return console[_0x51369a(0x198)](_0x4278b7),!0x1;}return!0x0;}[_0x3d8f8b(0x1b6)](_0x27dcbc,_0x4c72cd=!0x1){const _0x3024f9=_0x3d8f8b;this[_0x3024f9(0x1cd)][_0x3024f9(0x120)][_0x3024f9(0x1dc)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2e4a65=>{const _0x4b74b4=_0x3024f9;for(const _0x4160b1 of _0x27dcbc)this[_0x4b74b4(0xe3)][_0x4b74b4(0x177)](_0x4160b1),this[_0x4b74b4(0x128)](_0x4160b1),_0x2e4a65[_0x4b74b4(0x1b7)][_0x4b74b4(0xe9)](_0x4160b1),this[_0x4b74b4(0x1cd)][_0x4b74b4(0x120)][_0x4b74b4(0x1dd)](_0x4160b1);});}[_0x3d8f8b(0x128)](_0x3464ec){const _0x3c58f4=_0x3d8f8b,_0xa482e7=this[_0x3c58f4(0x1a6)](_0x3464ec);_0xa482e7&&this[_0x3c58f4(0xfe)][_0x3c58f4(0x177)](_0xa482e7);}[_0x3d8f8b(0x1a6)](_0x3f85ff){const _0x330517=_0x3d8f8b;let _0x58d40a,_0xe48730;switch(_0x3f85ff[_0x330517(0x145)]){case _0x330517(0x138):_0x58d40a=_0x3f85ff[_0x330517(0x188)][_0x330517(0x1b8)];break;case _0x330517(0x10e):if(_0xe48730=_0x3f85ff[_0x330517(0x1d4)],!_0xe48730)return null;_0x58d40a=_0xe48730[_0x330517(0x1b8)];break;case _0x330517(0x136):_0x58d40a=_0x3f85ff[_0x330517(0x1b8)];break;case _0x330517(0x1c2):_0x58d40a=_0x3f85ff[_0x330517(0x1bd)];break;case _0x330517(0x191):_0x58d40a=_0x3f85ff[_0x330517(0xf7)][_0x330517(0x1b8)];break;default:return null;}return _0x58d40a[_0x330517(0x13b)];}[_0x3d8f8b(0x15b)](_0x387e68){const _0x57f33a=_0x3d8f8b;_0x387e68[_0x57f33a(0xec)](_0x5002e4=>{const _0x10c950=_0x57f33a,_0x381d1a=_0x5002e4[_0x10c950(0x13d)]();_0x381d1a[_0x10c950(0x116)]=_0x5002e4[_0x10c950(0x116)],_0x381d1a[_0x10c950(0x1be)]=!!_0x5002e4[_0x10c950(0x1be)],_0x381d1a[_0x10c950(0x175)]=_0x5002e4[_0x10c950(0x175)],_0x381d1a[_0x10c950(0x143)]+=this[_0x10c950(0x1cf)],_0x5002e4[_0x10c950(0xf1)]&&this[_0x10c950(0x1c9)][_0x10c950(0x177)](_0x381d1a),this[_0x10c950(0x1bf)][_0x10c950(0xe9)](_0x381d1a);});}[_0x3d8f8b(0x103)](_0x57fe56){const _0x4aedf0=_0x3d8f8b,_0x385f53=this[_0x4aedf0(0x1cd)][_0x4aedf0(0xf8)][_0x4aedf0(0x141)](_0x4aedf0(0xef)),_0x1410b4=this[_0x4aedf0(0x1cd)][_0x4aedf0(0x14a)];_0x57fe56||(_0x57fe56=_0x475a1c(_0x1410b4,_0x4aedf0(0x19d))),_0x385f53[_0x4aedf0(0x11e)](_0x57fe56,{'title':_0x475a1c(_0x1410b4,_0x4aedf0(0xee)),'namespace':_0x4aedf0(0x1ce)}),this[_0x4aedf0(0x19c)]=!0x0,clearTimeout(this[_0x4aedf0(0x160)]),this[_0x4aedf0(0x1b2)]=[],this[_0x4aedf0(0x1cd)][_0x4aedf0(0xf8)][_0x4aedf0(0x141)](_0x7cf06c)[_0x4aedf0(0x196)]();}[_0x3d8f8b(0x1d2)](){const _0x5114f8=_0x3d8f8b;this[_0x5114f8(0x16b)]||(this[_0x5114f8(0x16b)]=this[_0x5114f8(0x1cd)][_0x5114f8(0xf8)][_0x5114f8(0x141)](_0x385c22)[_0x5114f8(0x177)](_0x475a1c(this[_0x5114f8(0x1cd)][_0x5114f8(0x14a)],_0x5114f8(0x19a))));}[_0x3d8f8b(0x162)](){const _0x38bf56=_0x3d8f8b;this[_0x38bf56(0x16b)]&&(this[_0x38bf56(0x1cd)][_0x38bf56(0xf8)][_0x38bf56(0x141)](_0x385c22)[_0x38bf56(0x119)](this[_0x38bf56(0x16b)]),this[_0x38bf56(0x16b)]=null);}[_0x3d8f8b(0x107)](_0xdb2d78){const _0x49b9ee=_0x3d8f8b,_0x314f3f=_0xdb2d78[_0x49b9ee(0x174)](_0x59f763=>_0x59f763[_0x49b9ee(0x121)]());return this[_0x49b9ee(0x150)][_0x49b9ee(0x1ba)](_0x314f3f);}[_0x3d8f8b(0x14d)](_0x5877b7,_0x3c1718){const _0x2f1ab8=_0x3d8f8b;return this[_0x2f1ab8(0x150)][_0x2f1ab8(0x1d3)](_0x5877b7)[_0x2f1ab8(0x174)]((_0x5a0ace,_0x1374d6)=>{const _0x4408cb=_0x2f1ab8,_0x31d328=_0x4408cb(0x1d9)==_0x3c1718[_0x1374d6][_0x4408cb(0x145)];if(_0x4408cb(0x17f)==_0x5a0ace[_0x4408cb(0x1a3)]){const _0x36ca85=_0x5a0ace[_0x4408cb(0x188)][_0x4408cb(0x1b8)];!this[_0x4408cb(0x10b)][_0x4408cb(0x195)](_0x36ca85)&&(this[_0x4408cb(0x10b)][_0x4408cb(0x1aa)](_0x4408cb(0x14b),_0x36ca85)[_0x4408cb(0x1ac)]=!0x1);}const _0x45e773=_0x49d088[_0x4408cb(0x110)](_0x5a0ace,this[_0x4408cb(0x10b)]);return _0x45e773[_0x4408cb(0x140)]=_0x5a0ace[_0x4408cb(0x140)],_0x45e773[_0x4408cb(0x1be)]=_0x31d328,_0x45e773[_0x4408cb(0x116)]=_0x31d328?null:_0x3c1718[_0x1374d6][_0x4408cb(0x134)],_0x45e773[_0x4408cb(0xf1)]=_0x4408cb(0xe2)===_0x3c1718[_0x1374d6][_0x4408cb(0x145)],_0x45e773[_0x4408cb(0x175)]=_0x3c1718[_0x1374d6][_0x4408cb(0x175)],_0x45e773;});}[_0x3d8f8b(0x1b5)](){const _0x31beeb=_0x3d8f8b;this[_0x31beeb(0xfc)]=!0x0,this[_0x31beeb(0x11c)]()?this[_0x31beeb(0x166)]():this[_0x31beeb(0xfc)]=!0x1;}[_0x3d8f8b(0x11c)](){const _0x5ef92b=_0x3d8f8b,_0x318569=this[_0x5ef92b(0x1cd)][_0x5ef92b(0xf8)][_0x5ef92b(0x141)](_0xb047bd)[_0x5ef92b(0x14c)][_0x5ef92b(0x141)](this[_0x5ef92b(0x1c3)]);return!this[_0x5ef92b(0x1cd)][_0x5ef92b(0xea)]&&!!_0x318569&&_0x318569[_0x5ef92b(0x186)]>0x1&&this[_0x5ef92b(0xfc)];}[_0x3d8f8b(0x102)](){const _0x39ec0f=_0x3d8f8b;return this[_0x39ec0f(0x1b2)][_0x39ec0f(0x186)]>0x0||this[_0x39ec0f(0x11c)]();}}class B extends Error{}function _0x390b(_0x9a98c0,_0x38f23c){const _0x503cfd=_0x503c();return _0x390b=function(_0x390b0e,_0x3dfc6c){_0x390b0e=_0x390b0e-0xe0;let _0x418ab7=_0x503cfd[_0x390b0e];return _0x418ab7;},_0x390b(_0x9a98c0,_0x38f23c);}function x(_0x3426a5,_0x300b8b){const _0x309557=_0x3d8f8b;for(const _0xab4f95 of _0x3426a5)_0xab4f95[_0x309557(0x143)]=_0x300b8b++;}class M{[_0x3d8f8b(0x185)];[_0x3d8f8b(0x19f)];constructor(_0x27e534){const _0x693d62=_0x3d8f8b;this[_0x693d62(0x185)]=_0x27e534,this[_0x693d62(0x19f)]=new WeakMap();}[_0x3d8f8b(0x14f)](_0x4481ee){const _0x1e8571=_0x3d8f8b;let _0x3b7e0b=_0x4481ee[_0x1e8571(0x186)];for(;_0x3b7e0b--;){const _0x17a648=_0x4481ee[_0x3b7e0b];if(!this[_0x1e8571(0x185)][_0x1e8571(0x161)](_0x17a648)){if(!this[_0x1e8571(0x19f)][_0x1e8571(0x161)](_0x17a648)){const _0xc57e49=_0x4134d()[_0x1e8571(0xf0)](0x1,0x12);this[_0x1e8571(0x19f)][_0x1e8571(0x135)](_0x17a648,_0xc57e49);}return this[_0x1e8571(0x19f)][_0x1e8571(0x141)](_0x17a648);}}}[_0x3d8f8b(0x151)](_0x3a7f1f,_0xbb590f){const _0x37f658=_0x3d8f8b;if(!_0xbb590f)return;let _0x1daacf=_0x3a7f1f[_0x37f658(0x186)];for(;_0x1daacf--;){const _0x3b16ba=_0x3a7f1f[_0x1daacf];this[_0x37f658(0x185)][_0x37f658(0x161)](_0x3b16ba)||this[_0x37f658(0x19f)][_0x37f658(0x135)](_0x3b16ba,_0xbb590f);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x17c360=_0x566f;function _0x2325(){const _0x157a3c=['size','sessions-unregister-not-exist','isOfficialPlugin','_handleSessionRemove','requires','values','hiddenInPresenceList','assign','22089ZqNBrR','change:state','isPremiumPlugin','9176216ShwpUG','user','context','register','state','allConnectedUsers','remove','init','mySessionId','3fzCTWd','stopListening','_handleSessionAdd','addUser','isMe','getUser','11955190BNcBxx','has','Sessions','unregister','channelConnectedUsers','sessions-register-already-registered','defineMe','getUserSessions','role','getUserRole','200HIvUou','listenTo','sessionAdd:','orderNumber','1926952TZNWJm','_registeredSessions','106008KGPGVk','_createUser','add','getUserBySessionId','pluginName','285TEPufq','66062lfjSQz','_uniqueUsersCount','set','plugins','delete','get','790173iFdCCr','sessionId','connection','fire','connected','channelSessions','forEach','clear','_users'];_0x2325=function(){return _0x157a3c;};return _0x2325();}(function(_0x5aa9f1,_0x2acdfd){const _0x3cd3ce=_0x566f,_0x2785a4=_0x5aa9f1();while(!![]){try{const _0x4ed5c2=-parseInt(_0x3cd3ce(0x123))/0x1*(parseInt(_0x3cd3ce(0x13f))/0x2)+-parseInt(_0x3cd3ce(0x117))/0x3*(parseInt(_0x3cd3ce(0x133))/0x4)+parseInt(_0x3cd3ce(0x13e))/0x5*(parseInt(_0x3cd3ce(0x139))/0x6)+parseInt(_0x3cd3ce(0x11a))/0x7+parseInt(_0x3cd3ce(0x137))/0x8+-parseInt(_0x3cd3ce(0x145))/0x9+-parseInt(_0x3cd3ce(0x129))/0xa;if(_0x4ed5c2===_0x2acdfd)break;else _0x2785a4['push'](_0x2785a4['shift']());}catch(_0x307162){_0x2785a4['push'](_0x2785a4['shift']());}}}(_0x2325,0xc5552));import{ContextPlugin as _0x147a35}from'ckeditor5/src/core.js';import{Collection as _0x18d383,CKEditorError as _0x4609da}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5c263f}from'./websocketgateway.js';function _0x566f(_0x592923,_0x2425b1){const _0x2325ff=_0x2325();return _0x566f=function(_0x566f21,_0x13c277){_0x566f21=_0x566f21-0x107;let _0x34bdb6=_0x2325ff[_0x566f21];return _0x34bdb6;},_0x566f(_0x592923,_0x2425b1);}import{Users as _0x1c5363}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x147a35{[_0x17c360(0x10b)];[_0x17c360(0x12d)];[_0x17c360(0x11f)];[_0x17c360(0x138)];[_0x17c360(0x140)];[_0x17c360(0x10e)];static get[_0x17c360(0x13d)](){const _0x378e51=_0x17c360;return _0x378e51(0x12b);}static get[_0x17c360(0x111)](){return!0x0;}static get[_0x17c360(0x119)](){return!0x0;}static get[_0x17c360(0x113)](){return[_0x5c263f,_0x1c5363];}constructor(_0x338977){const _0x586211=_0x17c360;super(_0x338977),this[_0x586211(0x10b)]=new Map(),this[_0x586211(0x12d)]=new Map(),this[_0x586211(0x11f)]=new _0x18d383(),this[_0x586211(0x138)]=new Map(),this[_0x586211(0x140)]=0x0,this[_0x586211(0x10e)]=this[_0x586211(0x11c)][_0x586211(0x142)][_0x586211(0x144)](_0x1c5363);}[_0x17c360(0x121)](){const _0x35405b=_0x17c360,_0x53b96d=this[_0x35405b(0x11c)][_0x35405b(0x142)][_0x35405b(0x144)](_0x5c263f);this[_0x35405b(0x134)](_0x53b96d,_0x35405b(0x118),(_0x23a4ff,_0x128658,_0x17f6ce)=>{const _0x26a148=_0x35405b;if(_0x26a148(0x10a)!==_0x17f6ce)this[_0x26a148(0x10b)][_0x26a148(0x10c)](_0x110bce=>_0x110bce[_0x26a148(0x10d)]()),this[_0x26a148(0x12d)][_0x26a148(0x10c)](_0x5d3d17=>_0x5d3d17[_0x26a148(0x10d)]()),this[_0x26a148(0x11f)][_0x26a148(0x10d)]();else{for(const [_0x3cb458,_0x31a4ee]of this[_0x26a148(0x138)])for(const _0x47d507 of _0x31a4ee)this[_0x26a148(0x125)](_0x3cb458,_0x47d507);}}),this[_0x35405b(0x13a)](_0x53b96d[_0x35405b(0x108)]['me'],!0x0);}[_0x17c360(0x11d)](_0x4212e5,_0x2749b0){const _0x565780=_0x17c360;if(this[_0x565780(0x138)][_0x565780(0x12a)](_0x4212e5))throw new _0x4609da(_0x565780(0x12e),null,{'channelId':_0x4212e5});this[_0x565780(0x138)][_0x565780(0x141)](_0x4212e5,_0x2749b0),this[_0x565780(0x10b)][_0x565780(0x141)](_0x4212e5,new _0x18d383()),this[_0x565780(0x12d)][_0x565780(0x141)](_0x4212e5,new _0x18d383()),this[_0x565780(0x134)](_0x2749b0,_0x565780(0x13b),(_0x4165de,_0x45a8e8)=>this[_0x565780(0x125)](_0x4212e5,_0x45a8e8)),this[_0x565780(0x134)](_0x2749b0,_0x565780(0x120),(_0x5e66ba,_0x2681c8)=>this[_0x565780(0x112)](_0x4212e5,_0x2681c8));for(const _0x2c8264 of _0x2749b0)this[_0x565780(0x125)](_0x4212e5,_0x2c8264);}[_0x17c360(0x12c)](_0x241aba){const _0x5c8d3c=_0x17c360;if(!this[_0x5c8d3c(0x138)][_0x5c8d3c(0x12a)](_0x241aba))throw new _0x4609da(_0x5c8d3c(0x110),null,{'channelId':_0x241aba});const _0x573e2f=this[_0x5c8d3c(0x138)][_0x5c8d3c(0x144)](_0x241aba);this[_0x5c8d3c(0x124)](_0x573e2f);for(const _0x4cb2bd of _0x573e2f)_0x5c8d3c(0x10a)===this[_0x5c8d3c(0x11c)][_0x5c8d3c(0x142)][_0x5c8d3c(0x144)](_0x5c263f)[_0x5c8d3c(0x11e)]&&this[_0x5c8d3c(0x112)](_0x241aba,_0x4cb2bd);this[_0x5c8d3c(0x138)][_0x5c8d3c(0x143)](_0x241aba),this[_0x5c8d3c(0x10b)][_0x5c8d3c(0x143)](_0x241aba),this[_0x5c8d3c(0x12d)][_0x5c8d3c(0x143)](_0x241aba);}get[_0x17c360(0x122)](){const _0x454c1d=_0x17c360;return this[_0x454c1d(0x11c)][_0x454c1d(0x142)][_0x454c1d(0x144)](_0x5c263f)[_0x454c1d(0x108)][_0x454c1d(0x107)];}[_0x17c360(0x13c)](_0x23c5dd){const _0x1458a2=_0x17c360;for(const _0x57488a of this[_0x1458a2(0x10b)][_0x1458a2(0x114)]())for(const _0x56774a of _0x57488a)if(_0x56774a['id']===_0x23c5dd)return _0x56774a[_0x1458a2(0x11b)];}[_0x17c360(0x130)](_0x309111,_0xd80e18){const _0x514ee4=_0x17c360,_0x4d269f=_0xd80e18?[this[_0x514ee4(0x10b)][_0x514ee4(0x144)](_0xd80e18)]:this[_0x514ee4(0x10b)][_0x514ee4(0x114)](),_0x256215=new Set();for(const _0x18f952 of _0x4d269f)for(const _0x5d6090 of _0x18f952)_0x5d6090[_0x514ee4(0x11b)]['id']===_0x309111['id']&&_0x256215[_0x514ee4(0x13b)](_0x5d6090['id']);return _0x256215;}[_0x17c360(0x132)](_0x136be0){const _0x400115=_0x17c360;for(const _0xed7ef2 of this[_0x400115(0x10b)][_0x400115(0x114)]())for(const _0x312bef of _0xed7ef2)if(_0x312bef[_0x400115(0x11b)]===_0x136be0)return _0x312bef[_0x400115(0x131)];}[_0x17c360(0x125)](_0x58ee84,_0x2e55bf){const _0x4d8499=_0x17c360;if(_0x4d8499(0x10a)!==this[_0x4d8499(0x11c)][_0x4d8499(0x142)][_0x4d8499(0x144)](_0x5c263f)[_0x4d8499(0x11e)])return;const _0x35eed7=_0x2e55bf[_0x4d8499(0x11b)],_0x78a7a7=this[_0x4d8499(0x10e)][_0x4d8499(0x128)](_0x35eed7['id'])||this[_0x4d8499(0x13a)](_0x35eed7),_0x246c73=Object[_0x4d8499(0x116)]({},_0x2e55bf,{'user':_0x78a7a7});if(this[_0x4d8499(0x10b)][_0x4d8499(0x144)](_0x58ee84)[_0x4d8499(0x13b)](_0x246c73),!_0x35eed7[_0x4d8499(0x115)]){const _0x4f0dfb=this[_0x4d8499(0x12d)][_0x4d8499(0x144)](_0x58ee84);_0x4f0dfb[_0x4d8499(0x12a)](_0x78a7a7['id'])||_0x4f0dfb[_0x4d8499(0x13b)](_0x78a7a7),this[_0x4d8499(0x11f)][_0x4d8499(0x12a)](_0x78a7a7['id'])||_0x35eed7[_0x4d8499(0x115)]||this[_0x4d8499(0x11f)][_0x4d8499(0x13b)](_0x78a7a7,_0x78a7a7[_0x4d8499(0x127)]?0x0:void 0x0);}this[_0x4d8499(0x109)](_0x4d8499(0x135)+_0x58ee84,{'channelId':_0x58ee84,'session':_0x246c73});}[_0x17c360(0x112)](_0x166969,_0x273729){const _0x755a57=_0x17c360;if(_0x755a57(0x10a)!==this[_0x755a57(0x11c)][_0x755a57(0x142)][_0x755a57(0x144)](_0x5c263f)[_0x755a57(0x11e)])return;const _0x157fa7=this[_0x755a57(0x12d)][_0x755a57(0x144)](_0x166969),_0x2db743=_0x273729[_0x755a57(0x11b)];_0x2db743['id']&&(this[_0x755a57(0x10b)][_0x755a57(0x144)](_0x166969)[_0x755a57(0x120)](_0x273729['id']),_0x157fa7[_0x755a57(0x12a)](_0x2db743['id'])&&!this[_0x755a57(0x130)](_0x2db743,_0x166969)[_0x755a57(0x10f)]&&_0x157fa7[_0x755a57(0x120)](_0x2db743['id']),this[_0x755a57(0x11f)][_0x755a57(0x144)](_0x2db743['id'])&&!this[_0x755a57(0x130)](_0x2db743)[_0x755a57(0x10f)]&&this[_0x755a57(0x11f)][_0x755a57(0x120)](_0x2db743['id']));}[_0x17c360(0x13a)](_0xf9ed7d,_0x476cd9){const _0x5829fd=_0x17c360,_0x53accb=this[_0x5829fd(0x10e)][_0x5829fd(0x126)](_0xf9ed7d);return _0x476cd9&&this[_0x5829fd(0x10e)][_0x5829fd(0x12f)](_0xf9ed7d['id']),_0x53accb[_0x5829fd(0x136)]=this[_0x5829fd(0x140)]++,_0x53accb;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x49b6dc=_0x77f3;(function(_0x3d0e7,_0x32c641){const _0x1ed566=_0x77f3,_0x4f044b=_0x3d0e7();while(!![]){try{const _0x3e49fb=parseInt(_0x1ed566(0x1d5))/0x1+parseInt(_0x1ed566(0x18d))/0x2+-parseInt(_0x1ed566(0x168))/0x3+parseInt(_0x1ed566(0x178))/0x4+-parseInt(_0x1ed566(0x1cf))/0x5+-parseInt(_0x1ed566(0x1c1))/0x6+-parseInt(_0x1ed566(0x1ca))/0x7*(-parseInt(_0x1ed566(0x1d8))/0x8);if(_0x3e49fb===_0x32c641)break;else _0x4f044b['push'](_0x4f044b['shift']());}catch(_0x160502){_0x4f044b['push'](_0x4f044b['shift']());}}}(_0x4f1a,0x3d59c));import{Plugin as _0x1cbfd3}from'ckeditor5/src/core.js';function _0x77f3(_0x13f589,_0x494689){const _0x4f1acb=_0x4f1a();return _0x77f3=function(_0x77f3b6,_0x4dd39c){_0x77f3b6=_0x77f3b6-0x154;let _0x2461de=_0x4f1acb[_0x77f3b6];return _0x2461de;},_0x77f3(_0x13f589,_0x494689);}import{global as _0x159637,DomEmitterMixin as _0x4556c1}from'ckeditor5/src/utils.js';import{Sessions as _0x398bb3}from'./sessions.js';import{ModelLiveRange as _0x8cb815}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x1cbfd3{[_0x49b6dc(0x185)]=new(_0x4556c1())();static get[_0x49b6dc(0x17f)](){return[_0x398bb3];}static get[_0x49b6dc(0x1c0)](){const _0x3b279f=_0x49b6dc;return _0x3b279f(0x1bf);}static get[_0x49b6dc(0x17b)](){return!0x0;}static get[_0x49b6dc(0x198)](){return!0x0;}[_0x49b6dc(0x190)](){const _0x5e2c06=_0x49b6dc,_0xcac8e1=this[_0x5e2c06(0x1a7)],_0x11c706=_0xcac8e1[_0x5e2c06(0x1c3)][_0x5e2c06(0x1bd)](_0x398bb3);_0xcac8e1[_0x5e2c06(0x19e)][_0x5e2c06(0x1b9)](_0x5e2c06(0x1b6))[_0x5e2c06(0x158)]({'model':_0x5e2c06(0x1ab),'view':(_0x2c758f,{writer:_0x409206})=>function(_0x1b9d2f,_0x1d2eb1,_0x37c260,_0x334a15){const _0x5dfab6=_0x5e2c06,_0x221cef=_0x1b9d2f[_0x5dfab6(0x1c6)][_0x5dfab6(0x1d3)](':')[0x2],_0x5c2c29=_0x37c260[_0x5dfab6(0x180)](_0x221cef);if(!_0x5c2c29||_0x221cef===_0x37c260[_0x5dfab6(0x160)])return;if(!_0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x173)][_0x5dfab6(0x15e)](_0x1b9d2f[_0x5dfab6(0x16e)][_0x5dfab6(0x1c5)],_0x5dfab6(0x19a)))return;const _0x5449e1={'class':_0x5dfab6(0x1b1)+_0x5c2c29[_0x5dfab6(0x1b0)][_0x5dfab6(0x172)](),'data-name':_0x5c2c29[_0x5dfab6(0x1d1)],'data-session-id':_0x221cef},_0x2459da=_0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x195)][_0x5dfab6(0x1bd)](_0x1b9d2f[_0x5dfab6(0x1c6)]),_0x3611e8=_0x2459da[_0x5dfab6(0x1db)](),_0xad6695=_0x3611e8[_0x5dfab6(0x1da)],_0x2f2c94=_0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x173)];if(_0xad6695&&_0x2f2c94[_0x5dfab6(0x15a)](_0xad6695)&&_0x2f2c94[_0x5dfab6(0x1ac)](_0xad6695)&&!_0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x195)][_0x5dfab6(0x1bd)](_0x5dfab6(0x183)+_0x221cef)[_0x5dfab6(0x197)]()[_0x5dfab6(0x189)])return;const _0x221bd8=_0x3611e8[_0x5dfab6(0x18e)];return _0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x173)][_0x5dfab6(0x186)](_0x221bd8)&&!_0x334a15[_0x5dfab6(0x181)][_0x5dfab6(0x1cc)](_0x221bd8)&&(_0x5449e1[_0x5dfab6(0x1d7)]=!0x1),function(_0x1ced65,_0x38e0ca,_0xc5fac7){const _0x43c0bd=_0x5dfab6,_0x151ce6=_0x1ced65[_0x43c0bd(0x194)](_0x43c0bd(0x18b),_0x38e0ca);return _0x1ced65[_0x43c0bd(0x154)](_0x43c0bd(0x1d9),!0x0,_0x151ce6),_0x151ce6[_0x43c0bd(0x171)]=function(_0x175fb2){const _0x2e9650=_0x43c0bd,_0x5647b6=this[_0x2e9650(0x156)](_0x175fb2),_0x19e3b6=document[_0x2e9650(0x1b3)](_0x2e9650(0x18b));return _0x19e3b6[_0x2e9650(0x193)][_0x2e9650(0x182)](_0x2e9650(0x15c)),_0x19e3b6[_0x2e9650(0x16c)](_0x2e9650(0x1d7),_0x2e9650(0x1b5)),_0x19e3b6[_0x2e9650(0x16c)](_0x2e9650(0x159),_0x2e9650(0x1b5)),_0x19e3b6[_0x2e9650(0x176)]=_0xc5fac7[_0x2e9650(0x1d1)],_0x5647b6[_0x2e9650(0x15d)]=_0x2e9650(0x1a8)+_0x19e3b6[_0x2e9650(0x1ae)]+'',_0x5647b6[_0x2e9650(0x1c8)](_0x2e9650(0x1c7),()=>{const _0x506c9a=_0x2e9650;_0x5647b6[_0x506c9a(0x193)][_0x506c9a(0x182)](_0x506c9a(0x1d0));}),_0x5647b6[_0x2e9650(0x1c8)](_0x2e9650(0x170),()=>{const _0x424717=_0x2e9650;_0x5647b6[_0x424717(0x193)][_0x424717(0x1be)](_0x424717(0x1d0));}),_0x5647b6;},_0x151ce6[_0x43c0bd(0x19b)]=function(_0x308673){const _0x3e2aca=_0x43c0bd;return!(!this[_0x3e2aca(0x1ba)](_0x3e2aca(0x1d9))||!_0x308673[_0x3e2aca(0x1ba)](_0x3e2aca(0x1d9))||this[_0x3e2aca(0x1a2)](_0x3e2aca(0x17a))!=_0x308673[_0x3e2aca(0x1a2)](_0x3e2aca(0x17a)));},_0x151ce6;}(_0x1d2eb1,_0x5449e1,_0x5c2c29);}(_0x2c758f,_0x409206,_0x11c706,_0xcac8e1)}),_0xcac8e1[_0x5e2c06(0x19e)][_0x5e2c06(0x1b9)](_0x5e2c06(0x1b6))[_0x5e2c06(0x161)]({'model':_0x5e2c06(0x162),'view':_0x3ccdc4=>function(_0x5f3bf3,_0x188c01){const _0x466de4=_0x5e2c06,_0x4daa16=_0x5f3bf3[_0x466de4(0x1c6)][_0x466de4(0x1d3)](':')[0x2];if(_0x4daa16===_0x188c01[_0x466de4(0x160)])return null;const _0x278c77=_0x188c01[_0x466de4(0x180)](_0x4daa16);if(!_0x278c77)return{'id':_0x4daa16,'classes':[]};return{'id':_0x4daa16,'classes':[_0x466de4(0x179),_0x278c77[_0x466de4(0x1b0)][_0x466de4(0x1c2)]()],'attributes':{'data-session-id':_0x4daa16},'priority':0x7d0+_0x278c77[_0x466de4(0x164)]};}(_0x3ccdc4,_0x11c706)}),function(_0x10ef79){const _0x331423=_0x5e2c06,_0xf480a9=_0x10ef79[_0x331423(0x181)],_0x1728e7=new Map(),_0x4f0655=_0x10ef79[_0x331423(0x1c3)][_0x331423(0x1bd)](_0x398bb3);_0xf480a9[_0x331423(0x195)]['on'](_0x331423(0x1d2),(_0x27b9db,_0x1bdd82,_0xfab20a,_0x51e10e)=>{const _0x24b299=_0x331423;if(!_0x51e10e&&_0x1728e7[_0x24b299(0x1bd)](_0x1bdd82[_0x24b299(0x1d1)]))return _0x1728e7[_0x24b299(0x1bd)](_0x1bdd82[_0x24b299(0x1d1)])[_0x24b299(0x15f)](),void _0x1728e7[_0x24b299(0x1c4)](_0x1bdd82[_0x24b299(0x1d1)]);const _0x4048a3=_0x1bdd82[_0x24b299(0x1d1)][_0x24b299(0x1d3)](':')[0x2];if(_0x4048a3===_0x4f0655[_0x24b299(0x160)])return;const _0x2acec6=_0x24b299(0x18c)+_0x4048a3;_0xf480a9[_0x24b299(0x195)][_0x24b299(0x16d)](_0x2acec6)&&_0x10ef79[_0x24b299(0x174)][_0x24b299(0x196)](_0x2acec6),_0x1bdd82['on'](_0x24b299(0x188),(_0x1c5534,_0x459657,_0x161ebc)=>{const _0x307942=_0x24b299;if(_0x307942(0x166)!=_0x459657[_0x307942(0x165)][_0x307942(0x1a3)]&&_0x307942(0x166)==_0x1bdd82[_0x307942(0x197)]()[_0x307942(0x165)][_0x307942(0x1a3)]&&!_0x1728e7[_0x307942(0x16d)](_0x1bdd82[_0x307942(0x1d1)])){const _0x154cb6=_0xf480a9[_0x307942(0x173)][_0x307942(0x175)](_0x161ebc[_0x307942(0x1d4)]);if(_0x154cb6){const _0x41a20d=_0x8cb815[_0x307942(0x19f)](_0x154cb6);_0x1728e7[_0x307942(0x1c9)](_0x1bdd82[_0x307942(0x1d1)],_0x41a20d),_0x41a20d['on'](_0x307942(0x188),(_0x109acb,_0x281270,_0x392b63)=>{const _0x4960a7=_0x307942;if(_0x4960a7(0x166)==_0x41a20d[_0x4960a7(0x165)][_0x4960a7(0x1a3)]){const _0x21515f=_0xf480a9[_0x4960a7(0x173)][_0x4960a7(0x175)](_0x392b63[_0x4960a7(0x1d4)]);_0x21515f?(_0x41a20d[_0x4960a7(0x1c5)]=_0x21515f[_0x4960a7(0x1c5)],_0x41a20d[_0x4960a7(0x192)]=_0x21515f[_0x4960a7(0x192)]):(_0x1728e7[_0x4960a7(0x1c4)](_0x1bdd82[_0x4960a7(0x1d1)]),_0x41a20d[_0x4960a7(0x15f)]());}});}}});}),_0xf480a9[_0x331423(0x1cb)]['on'](_0x331423(0x15b),()=>{const _0x413d15=_0x331423;_0x1728e7[_0x413d15(0x1aa)]>0x0&&_0xf480a9[_0x413d15(0x1a1)]({'isUndoable':!0x1},_0x260333=>{const _0x424a8d=_0x413d15;for(const [_0x16a8de,_0x3d7675]of _0x1728e7)_0x424a8d(0x166)==_0xf480a9[_0x424a8d(0x195)][_0x424a8d(0x1bd)](_0x16a8de)[_0x424a8d(0x197)]()[_0x424a8d(0x165)][_0x424a8d(0x1a3)]&&(Z(_0x16a8de[_0x424a8d(0x1d3)](':')[0x2],_0x3d7675[_0x424a8d(0x1bb)](),_0xf480a9,_0x260333),_0x3d7675[_0x424a8d(0x15f)]());_0x1728e7[_0x424a8d(0x157)]();});});}(_0xcac8e1),this[_0x5e2c06(0x185)][_0x5e2c06(0x17e)](_0x159637[_0x5e2c06(0x1cb)],_0x5e2c06(0x17d),(_0x17cbc1,{key:_0x131707})=>{const _0xb5de2b=_0x5e2c06;_0xb5de2b(0x17c)===_0x131707&&function(_0x15c92a){const _0x591fd7=_0xb5de2b;_0x15c92a[_0x591fd7(0x174)][_0x591fd7(0x16f)][_0x591fd7(0x15b)](_0x369e41=>{const _0x23b588=_0x591fd7;for(const _0x9edd90 of _0x15c92a[_0x23b588(0x181)][_0x23b588(0x195)]){if(!_0x9edd90[_0x23b588(0x1d1)][_0x23b588(0x187)](_0x23b588(0x1ab)))continue;const _0x211412=_0x15c92a[_0x23b588(0x174)][_0x23b588(0x163)][_0x23b588(0x1cd)](_0x9edd90[_0x23b588(0x1d1)]);if(_0x211412){for(const _0x58161e of _0x211412)_0x369e41[_0x23b588(0x1a4)](_0x23b588(0x1d0),_0x58161e);}}});}(_0xcac8e1);},{'useCapture':!0x0});}[_0x49b6dc(0x155)](){const _0x2ded73=_0x49b6dc,_0x47a0e7=this[_0x2ded73(0x1a7)],_0x30e39e=_0x47a0e7[_0x2ded73(0x18a)][_0x2ded73(0x1bd)](_0x2ded73(0x1a9));_0x30e39e&&_0x47a0e7[_0x2ded73(0x181)]['on'](_0x2ded73(0x1af),(_0x38cd75,_0x5f02ea)=>{const _0xdcb136=_0x2ded73,_0x9f7e47=_0x5f02ea[0x0];if(!_0x9f7e47[_0xdcb136(0x169)])return;if(_0xdcb136(0x19d)!=_0x9f7e47[_0xdcb136(0x1b4)]||!_0x9f7e47[_0xdcb136(0x1d1)][_0xdcb136(0x187)](_0xdcb136(0x1d6)))return;const _0x40d6bf=_0x9f7e47[_0xdcb136(0x1dc)];_0x30e39e[_0xdcb136(0x16a)][_0xdcb136(0x16d)](_0x40d6bf)&&(_0x9f7e47[_0xdcb136(0x191)]=_0x9f7e47[_0xdcb136(0x1bc)]?_0x47a0e7[_0xdcb136(0x181)][_0xdcb136(0x177)](_0x9f7e47[_0xdcb136(0x1bc)][_0xdcb136(0x1c5)],_0x9f7e47[_0xdcb136(0x1bc)][_0xdcb136(0x192)]):null);},{'priority':_0x2ded73(0x1b7)});}[_0x49b6dc(0x1a6)](){const _0x62ef47=_0x49b6dc;return this[_0x62ef47(0x185)][_0x62ef47(0x184)](),super[_0x62ef47(0x1a6)]();}[_0x49b6dc(0x1a5)](){const _0xc74f85=_0x49b6dc,_0x4f8f50=this[_0xc74f85(0x1a7)],_0x5476c8=_0x4f8f50[_0xc74f85(0x181)][_0xc74f85(0x1cb)],_0x54c421=_0x4f8f50[_0xc74f85(0x1c3)][_0xc74f85(0x1bd)](_0x398bb3);_0x4f8f50[_0xc74f85(0x181)][_0xc74f85(0x1a1)]({'isUndoable':!0x1},_0x19275f=>{const _0x31261a=_0xc74f85,_0x18ba7a=_0x31261a(0x183)+_0x54c421[_0x31261a(0x160)],_0x21fe81=_0x31261a(0x18c)+_0x54c421[_0x31261a(0x160)],_0x39e626=_0x4f8f50[_0x31261a(0x181)][_0x31261a(0x195)][_0x31261a(0x16d)](_0x18ba7a);_0x4f8f50[_0x31261a(0x174)][_0x31261a(0x16f)][_0x31261a(0x1b8)]?Z(_0x54c421[_0x31261a(0x160)],_0x5476c8[_0x31261a(0x1ad)][_0x31261a(0x1ce)](),_0x4f8f50[_0x31261a(0x181)],_0x19275f):_0x39e626&&(_0x19275f[_0x31261a(0x19c)](_0x18ba7a),_0x19275f[_0x31261a(0x19c)](_0x21fe81));});}}function _0x4f1a(){const _0x529b2f=['undo','size','user:position','isInline','selection','outerHTML','applyOperation','color','ck-user__marker\x20','element','createElement','type','false','editingDowncast','highest','hasDomSelection','for','getCustomProperty','toRange','oldRange','get','remove','UserMarkers','pluginName','1711692QfcvIj','getSelectionClass','plugins','delete','start','markerName','mouseenter','addEventListener','set','3101GPYtzA','document','hasContent','markerNameToElements','getFirstRange','1633515CqBXQJ','ck-user__marker_hovered','name','update:user:range','split','deletionPosition','330065ebIQlr','user:','contenteditable','2728jLwhYQ','userPositionMarker','nodeAfter','getStart','batch','setCustomProperty','afterInit','toDomElement','clear','markerToElement','spellcheck','isObject','change','ck-user__marker-tooltip','innerHTML','checkChild','detach','mySessionId','markerToHighlight','user:range','mapper','orderNumber','root','$graveyard','updateMarker','1204788vopanE','isDocumentOperation','_createdBatches','getPositions','setAttribute','has','markerRange','view','mouseleave','render','getMarkerClass','schema','editing','getNearestSelectionRange','textContent','createRange','1563676rutkFH','ck-user__selection','data-session-id','isOfficialPlugin','Escape','keydown','listenTo','requires','getUserBySessionId','model','add','user:range:','stopListening','_domEmitter','isLimit','startsWith','change:range','isCollapsed','commands','span','user:position:','785652QJCTpK','parent','addMarker','init','newRange','end','classList','createUIElement','markers','reconvertMarker','getRange','isPremiumPlugin','getContainedElement','$text','isSimilar','removeMarker','marker','conversion','fromRange','tableCell','enqueueChange','getAttribute','rootName','removeClass','createUserMarkerOperations','destroy','editor','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'];_0x4f1a=function(){return _0x529b2f;};return _0x4f1a();}function Z(_0x97488e,_0x1ef8a0,_0x2acd13,_0x3b5882){const _0x5ef03c=_0x49b6dc,_0xfa7bf0=_0x5ef03c(0x183)+_0x97488e,_0x24852a=_0x5ef03c(0x18c)+_0x97488e,_0x4317aa=_0x1ef8a0[_0x5ef03c(0x199)]();let _0x1696d8=_0x1ef8a0[_0x5ef03c(0x1c5)];if(_0x4317aa&&_0x4317aa['is'](_0x5ef03c(0x1b2),_0x5ef03c(0x1a0))){const _0x74ac0b=function(_0x48bcc8,_0x2f0d41){const _0x43dd9c=_0x5ef03c;for(const _0x4d858d of _0x48bcc8[_0x43dd9c(0x16b)]())if(_0x2f0d41[_0x43dd9c(0x173)][_0x43dd9c(0x15e)](_0x4d858d,_0x43dd9c(0x19a)))return _0x4d858d;}(_0x1ef8a0,_0x2acd13);_0x74ac0b&&(_0x1696d8=_0x74ac0b,_0x1ef8a0=_0x3b5882[_0x5ef03c(0x177)](_0x1696d8));}const _0x276b8d=_0x3b5882[_0x5ef03c(0x177)](_0x1696d8);_0x2acd13[_0x5ef03c(0x195)][_0x5ef03c(0x16d)](_0xfa7bf0)?(_0x3b5882[_0x5ef03c(0x167)](_0xfa7bf0,{'range':_0x1ef8a0}),_0x3b5882[_0x5ef03c(0x167)](_0x24852a,{'range':_0x276b8d})):(_0x3b5882[_0x5ef03c(0x18f)](_0xfa7bf0,{'range':_0x1ef8a0,'usingOperation':!0x0}),_0x3b5882[_0x5ef03c(0x18f)](_0x24852a,{'range':_0x276b8d,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x8e73bb=_0x3920;(function(_0x30cda9,_0x81d1b8){const _0x7beb6e=_0x3920,_0xc66cce=_0x30cda9();while(!![]){try{const _0x4816a9=-parseInt(_0x7beb6e(0xa0))/0x1+-parseInt(_0x7beb6e(0xb9))/0x2*(-parseInt(_0x7beb6e(0xcb))/0x3)+-parseInt(_0x7beb6e(0xc2))/0x4+-parseInt(_0x7beb6e(0x103))/0x5+parseInt(_0x7beb6e(0x10e))/0x6+parseInt(_0x7beb6e(0x114))/0x7*(-parseInt(_0x7beb6e(0xaf))/0x8)+parseInt(_0x7beb6e(0xbe))/0x9;if(_0x4816a9===_0x81d1b8)break;else _0xc66cce['push'](_0xc66cce['shift']());}catch(_0x27221f){_0xc66cce['push'](_0xc66cce['shift']());}}}(_0x3232,0x70b9c));import{Plugin as _0x4f5bbd}from'ckeditor5/src/core.js';import{global as _0x52414e,DomEmitterMixin as _0x10e082}from'ckeditor5/src/utils.js';import{Sessions as _0x178672}from'./sessions.js';import{ModelLiveRange as _0xb74ad6}from'ckeditor5/src/engine.js';function _0x3232(){const _0x5642f2=['hasDomSelection','checkChild','setCustomProperty','marker','editing','contenteditable','reconvertMarker','selection','innerHTML','false','getPositions','Escape','addEventListener','markerName','change:range','textContent','376777UgZQiG','data-session-id','parent','userPositionMarker','markerRange','classList','pluginName','$text','commands','init','mouseenter','startsWith','ck-user__marker-tooltip','conversion','isOfficialPlugin','1379984CqrijK','isDocumentOperation','mouseleave','getAttribute','has','getSelectionClass','isPremiumPlugin','add','getMarkerClass','tableCell','5714ePfJid','markerToHighlight','element','delete','render','8460963VVeXHh','markers','toRange','_createdBatches','3353680TRTHVj','set','$graveyard','hasContent','spellcheck','getNearestSelectionRange','mySessionId','ck-user__selection','for','843ngHble','enqueueChange','batch','schema','deletionPosition','orderNumber','split','getRange','detach','highest','listenTo','removeClass','stopListening','type','applyOperation','isSimilar','setAttribute','clear','user:range','user:position','mapper','getContainedElement','isInline','getStart','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','user:range:','UserMarkers','destroy','createRange','addMarker','document','isLimit','undo','end','plugins','editingDowncast','get','remove','size','model','createUserMarkerOperations','removeMarker','root','getFirstRange','createUIElement','getUserBySessionId','update:user:range','start','view','markerToElement','updateMarker','span','getCustomProperty','isObject','isCollapsed','user:position:','1902945YthtHY','toDomElement','rootName','user:','name','color','nodeAfter','fromRange','createElement','requires','editor','3957492VvhXFv','keydown','ck-user__marker_hovered','change','afterInit','outerHTML','14LDOWCn','oldRange','newRange','_domEmitter','ck-user__marker\x20','markerNameToElements'];_0x3232=function(){return _0x5642f2;};return _0x3232();}import'../../theme/usermarkers.css';function _0x3920(_0x5674a9,_0x5379c7){const _0x3232b9=_0x3232();return _0x3920=function(_0x392048,_0x48add0){_0x392048=_0x392048-0x8f;let _0x2c0d7f=_0x3232b9[_0x392048];return _0x2c0d7f;},_0x3920(_0x5674a9,_0x5379c7);}export class UserMarkers extends _0x4f5bbd{[_0x8e73bb(0x117)]=new(_0x10e082())();static get[_0x8e73bb(0x10c)](){return[_0x178672];}static get[_0x8e73bb(0xa6)](){const _0x298e21=_0x8e73bb;return _0x298e21(0xe5);}static get[_0x8e73bb(0xae)](){return!0x0;}static get[_0x8e73bb(0xb5)](){return!0x0;}[_0x8e73bb(0xa9)](){const _0x5223fe=_0x8e73bb,_0x49d60e=this[_0x5223fe(0x10d)],_0x2f1f28=_0x49d60e[_0x5223fe(0xed)][_0x5223fe(0xef)](_0x178672);_0x49d60e[_0x5223fe(0xad)][_0x5223fe(0xca)](_0x5223fe(0xee))[_0x5223fe(0xfc)]({'model':_0x5223fe(0xde),'view':(_0x354ec6,{writer:_0x438fb8})=>function(_0x3be19f,_0x5165f6,_0x5d7870,_0x48862a){const _0xe3cd0c=_0x5223fe,_0x4248ff=_0x3be19f[_0xe3cd0c(0x9d)][_0xe3cd0c(0xd1)](':')[0x2],_0x42a978=_0x5d7870[_0xe3cd0c(0xf8)](_0x4248ff);if(!_0x42a978||_0x4248ff===_0x5d7870[_0xe3cd0c(0xc8)])return;if(!_0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xce)][_0xe3cd0c(0x91)](_0x3be19f[_0xe3cd0c(0xa4)][_0xe3cd0c(0xfa)],_0xe3cd0c(0xa7)))return;const _0x307f3f={'class':_0xe3cd0c(0x118)+_0x42a978[_0xe3cd0c(0x108)][_0xe3cd0c(0xb7)](),'data-name':_0x42a978[_0xe3cd0c(0x107)],'data-session-id':_0x4248ff},_0x193adc=_0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xbf)][_0xe3cd0c(0xef)](_0x3be19f[_0xe3cd0c(0x9d)]),_0x18c101=_0x193adc[_0xe3cd0c(0xe2)](),_0x36b01d=_0x18c101[_0xe3cd0c(0x109)],_0x4b806e=_0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xce)];if(_0x36b01d&&_0x4b806e[_0xe3cd0c(0x100)](_0x36b01d)&&_0x4b806e[_0xe3cd0c(0xe1)](_0x36b01d)&&!_0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xbf)][_0xe3cd0c(0xef)](_0xe3cd0c(0xe4)+_0x4248ff)[_0xe3cd0c(0xd2)]()[_0xe3cd0c(0x101)])return;const _0x4f7ac0=_0x18c101[_0xe3cd0c(0xa2)];return _0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xce)][_0xe3cd0c(0xea)](_0x4f7ac0)&&!_0x48862a[_0xe3cd0c(0xf2)][_0xe3cd0c(0xc5)](_0x4f7ac0)&&(_0x307f3f[_0xe3cd0c(0x95)]=!0x1),function(_0x32336e,_0x1004e7,_0x2c95a1){const _0x13fb09=_0xe3cd0c,_0x3bd5ef=_0x32336e[_0x13fb09(0xf7)](_0x13fb09(0xfe),_0x1004e7);return _0x32336e[_0x13fb09(0x92)](_0x13fb09(0xa3),!0x0,_0x3bd5ef),_0x3bd5ef[_0x13fb09(0xbd)]=function(_0x52091a){const _0x1e6764=_0x13fb09,_0x206744=this[_0x1e6764(0x104)](_0x52091a),_0x2ae339=document[_0x1e6764(0x10b)](_0x1e6764(0xfe));return _0x2ae339[_0x1e6764(0xa5)][_0x1e6764(0xb6)](_0x1e6764(0xac)),_0x2ae339[_0x1e6764(0xdb)](_0x1e6764(0x95),_0x1e6764(0x99)),_0x2ae339[_0x1e6764(0xdb)](_0x1e6764(0xc6),_0x1e6764(0x99)),_0x2ae339[_0x1e6764(0x9f)]=_0x2c95a1[_0x1e6764(0x107)],_0x206744[_0x1e6764(0x98)]=_0x1e6764(0xe3)+_0x2ae339[_0x1e6764(0x113)]+'',_0x206744[_0x1e6764(0x9c)](_0x1e6764(0xaa),()=>{const _0x546ae8=_0x1e6764;_0x206744[_0x546ae8(0xa5)][_0x546ae8(0xb6)](_0x546ae8(0x110));}),_0x206744[_0x1e6764(0x9c)](_0x1e6764(0xb1),()=>{const _0x104952=_0x1e6764;_0x206744[_0x104952(0xa5)][_0x104952(0xf0)](_0x104952(0x110));}),_0x206744;},_0x3bd5ef[_0x13fb09(0xda)]=function(_0x329632){const _0x2ffd1e=_0x13fb09;return!(!this[_0x2ffd1e(0xff)](_0x2ffd1e(0xa3))||!_0x329632[_0x2ffd1e(0xff)](_0x2ffd1e(0xa3))||this[_0x2ffd1e(0xb2)](_0x2ffd1e(0xa1))!=_0x329632[_0x2ffd1e(0xb2)](_0x2ffd1e(0xa1)));},_0x3bd5ef;}(_0x5165f6,_0x307f3f,_0x42a978);}(_0x354ec6,_0x438fb8,_0x2f1f28,_0x49d60e)}),_0x49d60e[_0x5223fe(0xad)][_0x5223fe(0xca)](_0x5223fe(0xee))[_0x5223fe(0xba)]({'model':_0x5223fe(0xdd),'view':_0x1dcbf9=>function(_0x2656d9,_0x3899e0){const _0x5264c1=_0x5223fe,_0x319ed9=_0x2656d9[_0x5264c1(0x9d)][_0x5264c1(0xd1)](':')[0x2];if(_0x319ed9===_0x3899e0[_0x5264c1(0xc8)])return null;const _0x1fcbbc=_0x3899e0[_0x5264c1(0xf8)](_0x319ed9);if(!_0x1fcbbc)return{'id':_0x319ed9,'classes':[]};return{'id':_0x319ed9,'classes':[_0x5264c1(0xc9),_0x1fcbbc[_0x5264c1(0x108)][_0x5264c1(0xb4)]()],'attributes':{'data-session-id':_0x319ed9},'priority':0x7d0+_0x1fcbbc[_0x5264c1(0xd0)]};}(_0x1dcbf9,_0x2f1f28)}),function(_0x21d66b){const _0x36b3bf=_0x5223fe,_0x58a56e=_0x21d66b[_0x36b3bf(0xf2)],_0x31990f=new Map(),_0x3ca9de=_0x21d66b[_0x36b3bf(0xed)][_0x36b3bf(0xef)](_0x178672);_0x58a56e[_0x36b3bf(0xbf)]['on'](_0x36b3bf(0xf9),(_0x387235,_0x2beebb,_0x443969,_0x46a5cd)=>{const _0x1edc96=_0x36b3bf;if(!_0x46a5cd&&_0x31990f[_0x1edc96(0xef)](_0x2beebb[_0x1edc96(0x107)]))return _0x31990f[_0x1edc96(0xef)](_0x2beebb[_0x1edc96(0x107)])[_0x1edc96(0xd3)](),void _0x31990f[_0x1edc96(0xbc)](_0x2beebb[_0x1edc96(0x107)]);const _0x58ff29=_0x2beebb[_0x1edc96(0x107)][_0x1edc96(0xd1)](':')[0x2];if(_0x58ff29===_0x3ca9de[_0x1edc96(0xc8)])return;const _0x46f0f3=_0x1edc96(0x102)+_0x58ff29;_0x58a56e[_0x1edc96(0xbf)][_0x1edc96(0xb3)](_0x46f0f3)&&_0x21d66b[_0x1edc96(0x94)][_0x1edc96(0x96)](_0x46f0f3),_0x2beebb['on'](_0x1edc96(0x9e),(_0x38f2e8,_0x464cc4,_0x5d4973)=>{const _0x20d90f=_0x1edc96;if(_0x20d90f(0xc4)!=_0x464cc4[_0x20d90f(0xf5)][_0x20d90f(0x105)]&&_0x20d90f(0xc4)==_0x2beebb[_0x20d90f(0xd2)]()[_0x20d90f(0xf5)][_0x20d90f(0x105)]&&!_0x31990f[_0x20d90f(0xb3)](_0x2beebb[_0x20d90f(0x107)])){const _0x495524=_0x58a56e[_0x20d90f(0xce)][_0x20d90f(0xc7)](_0x5d4973[_0x20d90f(0xcf)]);if(_0x495524){const _0x41f904=_0xb74ad6[_0x20d90f(0x10a)](_0x495524);_0x31990f[_0x20d90f(0xc3)](_0x2beebb[_0x20d90f(0x107)],_0x41f904),_0x41f904['on'](_0x20d90f(0x9e),(_0x2be239,_0x485348,_0x19b9b6)=>{const _0x120161=_0x20d90f;if(_0x120161(0xc4)==_0x41f904[_0x120161(0xf5)][_0x120161(0x105)]){const _0x25fcf5=_0x58a56e[_0x120161(0xce)][_0x120161(0xc7)](_0x19b9b6[_0x120161(0xcf)]);_0x25fcf5?(_0x41f904[_0x120161(0xfa)]=_0x25fcf5[_0x120161(0xfa)],_0x41f904[_0x120161(0xec)]=_0x25fcf5[_0x120161(0xec)]):(_0x31990f[_0x120161(0xbc)](_0x2beebb[_0x120161(0x107)]),_0x41f904[_0x120161(0xd3)]());}});}}});}),_0x58a56e[_0x36b3bf(0xe9)]['on'](_0x36b3bf(0x111),()=>{const _0x35eb4a=_0x36b3bf;_0x31990f[_0x35eb4a(0xf1)]>0x0&&_0x58a56e[_0x35eb4a(0xcc)]({'isUndoable':!0x1},_0x180d1b=>{const _0x162a67=_0x35eb4a;for(const [_0x6bdf8e,_0x46c887]of _0x31990f)_0x162a67(0xc4)==_0x58a56e[_0x162a67(0xbf)][_0x162a67(0xef)](_0x6bdf8e)[_0x162a67(0xd2)]()[_0x162a67(0xf5)][_0x162a67(0x105)]&&(G(_0x6bdf8e[_0x162a67(0xd1)](':')[0x2],_0x46c887[_0x162a67(0xc0)](),_0x58a56e,_0x180d1b),_0x46c887[_0x162a67(0xd3)]());_0x31990f[_0x162a67(0xdc)]();});});}(_0x49d60e),this[_0x5223fe(0x117)][_0x5223fe(0xd5)](_0x52414e[_0x5223fe(0xe9)],_0x5223fe(0x10f),(_0x23b6e3,{key:_0xc992dd})=>{const _0x458aac=_0x5223fe;_0x458aac(0x9b)===_0xc992dd&&function(_0x529334){const _0x1d33ac=_0x458aac;_0x529334[_0x1d33ac(0x94)][_0x1d33ac(0xfb)][_0x1d33ac(0x111)](_0x49fad3=>{const _0x588884=_0x1d33ac;for(const _0x34fb28 of _0x529334[_0x588884(0xf2)][_0x588884(0xbf)]){if(!_0x34fb28[_0x588884(0x107)][_0x588884(0xab)](_0x588884(0xde)))continue;const _0x30ab19=_0x529334[_0x588884(0x94)][_0x588884(0xdf)][_0x588884(0x8f)](_0x34fb28[_0x588884(0x107)]);if(_0x30ab19){for(const _0x1b1387 of _0x30ab19)_0x49fad3[_0x588884(0xd6)](_0x588884(0x110),_0x1b1387);}}});}(_0x49d60e);},{'useCapture':!0x0});}[_0x8e73bb(0x112)](){const _0x534ec3=_0x8e73bb,_0x1ba805=this[_0x534ec3(0x10d)],_0x51ab8e=_0x1ba805[_0x534ec3(0xa8)][_0x534ec3(0xef)](_0x534ec3(0xeb));_0x51ab8e&&_0x1ba805[_0x534ec3(0xf2)]['on'](_0x534ec3(0xd9),(_0x36687d,_0x44c68b)=>{const _0x113824=_0x534ec3,_0x57f6e9=_0x44c68b[0x0];if(!_0x57f6e9[_0x113824(0xb0)])return;if(_0x113824(0x93)!=_0x57f6e9[_0x113824(0xd8)]||!_0x57f6e9[_0x113824(0x107)][_0x113824(0xab)](_0x113824(0x106)))return;const _0xfcd17b=_0x57f6e9[_0x113824(0xcd)];_0x51ab8e[_0x113824(0xc1)][_0x113824(0xb3)](_0xfcd17b)&&(_0x57f6e9[_0x113824(0x116)]=_0x57f6e9[_0x113824(0x115)]?_0x1ba805[_0x113824(0xf2)][_0x113824(0xe7)](_0x57f6e9[_0x113824(0x115)][_0x113824(0xfa)],_0x57f6e9[_0x113824(0x115)][_0x113824(0xec)]):null);},{'priority':_0x534ec3(0xd4)});}[_0x8e73bb(0xe6)](){const _0x1ab957=_0x8e73bb;return this[_0x1ab957(0x117)][_0x1ab957(0xd7)](),super[_0x1ab957(0xe6)]();}[_0x8e73bb(0xf3)](){const _0x39194d=_0x8e73bb,_0x444686=this[_0x39194d(0x10d)],_0x66ab99=_0x444686[_0x39194d(0xf2)][_0x39194d(0xe9)],_0x1c5937=_0x444686[_0x39194d(0xed)][_0x39194d(0xef)](_0x178672);_0x444686[_0x39194d(0xf2)][_0x39194d(0xcc)]({'isUndoable':!0x1},_0x3d350d=>{const _0x262683=_0x39194d,_0x19b6de=_0x262683(0xe4)+_0x1c5937[_0x262683(0xc8)],_0x5d0e9c=_0x262683(0x102)+_0x1c5937[_0x262683(0xc8)],_0x4e4f54=_0x444686[_0x262683(0xf2)][_0x262683(0xbf)][_0x262683(0xb3)](_0x19b6de);_0x444686[_0x262683(0x94)][_0x262683(0xfb)][_0x262683(0x90)]?G(_0x1c5937[_0x262683(0xc8)],_0x66ab99[_0x262683(0x97)][_0x262683(0xf6)](),_0x444686[_0x262683(0xf2)],_0x3d350d):_0x4e4f54&&(_0x3d350d[_0x262683(0xf4)](_0x19b6de),_0x3d350d[_0x262683(0xf4)](_0x5d0e9c));});}}function G(_0x4015c8,_0x42dd2a,_0x4dcbef,_0x57c94a){const _0xa26070=_0x8e73bb,_0x575717=_0xa26070(0xe4)+_0x4015c8,_0x3f0954=_0xa26070(0x102)+_0x4015c8,_0x2dcff6=_0x42dd2a[_0xa26070(0xe0)]();let _0x16d9f4=_0x42dd2a[_0xa26070(0xfa)];if(_0x2dcff6&&_0x2dcff6['is'](_0xa26070(0xbb),_0xa26070(0xb8))){const _0x1da6fc=function(_0x1b89a0,_0x1974b3){const _0x74fd34=_0xa26070;for(const _0x2991d7 of _0x1b89a0[_0x74fd34(0x9a)]())if(_0x1974b3[_0x74fd34(0xce)][_0x74fd34(0x91)](_0x2991d7,_0x74fd34(0xa7)))return _0x2991d7;}(_0x42dd2a,_0x4dcbef);_0x1da6fc&&(_0x16d9f4=_0x1da6fc,_0x42dd2a=_0x57c94a[_0xa26070(0xe7)](_0x16d9f4));}const _0x1a3eb3=_0x57c94a[_0xa26070(0xe7)](_0x16d9f4);_0x4dcbef[_0xa26070(0xbf)][_0xa26070(0xb3)](_0x575717)?(_0x57c94a[_0xa26070(0xfd)](_0x575717,{'range':_0x42dd2a}),_0x57c94a[_0xa26070(0xfd)](_0x3f0954,{'range':_0x1a3eb3})):(_0x57c94a[_0xa26070(0xe8)](_0x575717,{'range':_0x42dd2a,'usingOperation':!0x0}),_0x57c94a[_0xa26070(0xe8)](_0x3f0954,{'range':_0x1a3eb3,'usingOperation':!0x0}));}
|