@ckeditor/ckeditor5-real-time-collaboration 47.7.0 → 47.7.1
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 +15 -15
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1f5e38=_0x352d;(function(_0x167326,_0x5c9b4c){const _0x157873=_0x352d,_0xc56934=_0x167326();while(!![]){try{const _0x21101f=parseInt(_0x157873(0x175))/0x1+-parseInt(_0x157873(0x18e))/0x2*(-parseInt(_0x157873(0x183))/0x3)+parseInt(_0x157873(0x181))/0x4*(parseInt(_0x157873(0x189))/0x5)+parseInt(_0x157873(0x178))/0x6*(parseInt(_0x157873(0x18d))/0x7)+-parseInt(_0x157873(0x17b))/0x8+parseInt(_0x157873(0x185))/0x9*(-parseInt(_0x157873(0x180))/0xa)+-parseInt(_0x157873(0x198))/0xb;if(_0x21101f===_0x5c9b4c)break;else _0xc56934['push'](_0xc56934['shift']());}catch(_0x27780f){_0xc56934['push'](_0xc56934['shift']());}}}(_0x1c16,0x33785));function _0x352d(_0x1c4248,_0x5ee144){const _0x1c16cc=_0x1c16();return _0x352d=function(_0x352d72,_0x5ab310){_0x352d72=_0x352d72-0x172;let _0x23cdd7=_0x1c16cc[_0x352d72];return _0x23cdd7;},_0x352d(_0x1c4248,_0x5ee144);}import{View as _0x3d0aad}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1d9422}from'ckeditor5/src/utils.js';import{getTranslation as _0x834d29}from'../../common-translations.js';export class PresenceInlineListView extends _0x3d0aad{[_0x1f5e38(0x18f)];[_0x1f5e38(0x192)];constructor(_0x362cf2){const _0x1aa7ab=_0x1f5e38;super(_0x362cf2);const _0x53a05b=this[_0x1aa7ab(0x193)];this[_0x1aa7ab(0x18f)]=this[_0x1aa7ab(0x17a)](),this[_0x1aa7ab(0x192)]=new _0x1d9422(),this[_0x1aa7ab(0x17d)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1aa7ab(0x174)]({'tag':_0x1aa7ab(0x18b),'attributes':{'aria-haspopup':_0x53a05b['if'](_0x1aa7ab(0x191)),'aria-expanded':_0x53a05b['to'](_0x1aa7ab(0x182),_0x175c47=>this[_0x1aa7ab(0x191)]&&String(_0x175c47)),'aria-label':_0x53a05b['to'](_0x1aa7ab(0x191),_0x20a295=>_0x834d29(_0x362cf2,_0x20a295?_0x1aa7ab(0x177):_0x1aa7ab(0x18c))),'role':_0x1aa7ab(0x184),'tabindex':_0x53a05b['to'](_0x1aa7ab(0x191),_0x35d819=>!!_0x35d819&&0x0),'class':['ck',_0x1aa7ab(0x172)]},'children':this[_0x1aa7ab(0x18f)],'on':{'mouseenter':_0x53a05b['to'](()=>this[_0x1aa7ab(0x188)](_0x1aa7ab(0x187))),'mouseleave':_0x53a05b['to'](_0x41f771=>{const _0x5462b0=_0x1aa7ab,_0x265866=_0x41f771,_0x4743e7=document[_0x5462b0(0x196)](_0x5462b0(0x190)),_0x5ca9e5=document[_0x5462b0(0x196)](_0x5462b0(0x17f));_0x4743e7?.[_0x5462b0(0x195)](_0x265866[_0x5462b0(0x179)])||_0x5ca9e5?.[_0x5462b0(0x195)](_0x265866[_0x5462b0(0x179)])||this[_0x5462b0(0x188)](_0x5462b0(0x176));})}}),this['on'](_0x1aa7ab(0x17e),(_0x1ee73d,_0x5e2c92,_0x3adf2f)=>{const _0xc2c816=_0x1aa7ab;this[_0xc2c816(0x194)]&&(_0x3adf2f?this[_0xc2c816(0x194)][_0xc2c816(0x18a)](_0xc2c816(0x197),String(this[_0xc2c816(0x182)])):this[_0xc2c816(0x194)][_0xc2c816(0x186)](_0xc2c816(0x197)));});}[_0x1f5e38(0x199)](){const _0x56159d=_0x1f5e38;this[_0x56159d(0x194)][_0x56159d(0x199)]();}[_0x1f5e38(0x17c)](){const _0x4187df=_0x1f5e38;super[_0x4187df(0x17c)](),this[_0x4187df(0x192)][_0x4187df(0x173)](this[_0x4187df(0x194)]);}}function _0x1c16(){const _0x3eaca9=['querySelector','aria-expanded','4998180JNYPTd','focus','ck-presence-list__list','listenTo','setTemplate','201256oWKKIx','presencelist:hide','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','36esbZBb','relatedTarget','createCollection','2303784MmICtP','render','set','change:hasPopup','.ck-balloon-panel_with-arrow','10WqtILD','69796yipEQI','isExpanded','12NhQkwe','list','1841247IxXaab','removeAttribute','presencelist:show','fire','95yOjtpW','setAttribute','div','Connected\x20users\x20list','312067QaYWyg','178742oGCvCw','items','.ck-presence-list__dropdown-list','hasPopup','keystrokes','bindTemplate','element','contains'];_0x1c16=function(){return _0x3eaca9;};return _0x1c16();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x197b8e=_0x1d1b;function _0x1d1b(_0x4acd93,_0x44f2f2){const _0x5a60b9=_0x5a60();return _0x1d1b=function(_0x1d1b38,_0xadaa62){_0x1d1b38=_0x1d1b38-0x1b0;let _0x461e5c=_0x5a60b9[_0x1d1b38];return _0x461e5c;},_0x1d1b(_0x4acd93,_0x44f2f2);}(function(_0x5b40cb,_0x3a8629){const _0x4eb181=_0x1d1b,_0x2b921c=_0x5b40cb();while(!![]){try{const _0x119d41=parseInt(_0x4eb181(0x1bb))/0x1+parseInt(_0x4eb181(0x1b3))/0x2*(parseInt(_0x4eb181(0x1bc))/0x3)+-parseInt(_0x4eb181(0x1b1))/0x4*(parseInt(_0x4eb181(0x1ba))/0x5)+-parseInt(_0x4eb181(0x1c8))/0x6+-parseInt(_0x4eb181(0x1b7))/0x7*(parseInt(_0x4eb181(0x1bd))/0x8)+-parseInt(_0x4eb181(0x1ca))/0x9*(parseInt(_0x4eb181(0x1c0))/0xa)+parseInt(_0x4eb181(0x1b4))/0xb*(parseInt(_0x4eb181(0x1ce))/0xc);if(_0x119d41===_0x3a8629)break;else _0x2b921c['push'](_0x2b921c['shift']());}catch(_0x108770){_0x2b921c['push'](_0x2b921c['shift']());}}}(_0x5a60,0x6229f));import{View as _0x26e859}from'ckeditor5/src/ui.js';function _0x5a60(){const _0x11c116=['12sPkEwM','tooltipPosition','205584pOZmwm','bindTemplate','795464jLWwzY','14569577qScvMw','ck-reset','bind','1087226RfUQGZ','change','locale','10XygzRR','747285DQvysj','3mafOLX','24aBtiEP','counterView','items','3971420BjHkYB','ck-presence-list','set','div','inlineListView','listenTo','setTemplate','ck-presence-list--collapsed','4226490GkWgpn','ck-rounded-corners','18gEHSJc','hasPopup','isCollapsed','first'];_0x5a60=function(){return _0x11c116;};return _0x5a60();}import{PresenceCounterView as _0x51827d}from'./presencecounterview.js';import{PresenceInlineListView as _0x3a3fe4}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x26e859{[_0x197b8e(0x1be)];[_0x197b8e(0x1c4)];constructor(_0x335979,_0x57d9b0=0x6){const _0x76909a=_0x197b8e;super(_0x335979);const _0x5623c0=this[_0x76909a(0x1b2)];this[_0x76909a(0x1c2)](_0x76909a(0x1cc),!0x0),this[_0x76909a(0x1be)]=new _0x51827d(this[_0x76909a(0x1b9)],_0x57d9b0),this[_0x76909a(0x1c4)]=new _0x3a3fe4(_0x335979),this[_0x76909a(0x1c4)][_0x76909a(0x1b6)](_0x76909a(0x1cb))['to'](this,_0x76909a(0x1cc)),this[_0x76909a(0x1c5)](this[_0x76909a(0x1c4)][_0x76909a(0x1bf)],_0x76909a(0x1b8),()=>{const _0x39a0a0=_0x76909a;for(const _0x702ba8 of this[_0x39a0a0(0x1c4)][_0x39a0a0(0x1bf)])_0x702ba8[_0x39a0a0(0x1b0)]='s';this[_0x39a0a0(0x1c4)][_0x39a0a0(0x1bf)][_0x39a0a0(0x1cd)]&&(this[_0x39a0a0(0x1c4)][_0x39a0a0(0x1bf)][_0x39a0a0(0x1cd)][_0x39a0a0(0x1b0)]='se');}),this[_0x76909a(0x1c6)]({'tag':_0x76909a(0x1c3),'attributes':{'class':['ck',_0x76909a(0x1c1),_0x76909a(0x1b5),_0x76909a(0x1c9),_0x5623c0['if'](_0x76909a(0x1cc),_0x76909a(0x1c7))]},'children':[this[_0x76909a(0x1c4)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x5ce99f=_0xf0bf;function _0xf0bf(_0x2366aa,_0x43c080){var _0x54760a=_0x5476();return _0xf0bf=function(_0xf0bf1e,_0xe1a9e2){_0xf0bf1e=_0xf0bf1e-0x1a3;var _0x5d8628=_0x54760a[_0xf0bf1e];return _0x5d8628;},_0xf0bf(_0x2366aa,_0x43c080);}(function(_0x1ed184,_0x8a9faf){var _0x5ede53=_0xf0bf,_0x667071=_0x1ed184();while(!![]){try{var _0x476a13=-parseInt(_0x5ede53(0x1aa))/0x1*(-parseInt(_0x5ede53(0x1a3))/0x2)+parseInt(_0x5ede53(0x1af))/0x3+-parseInt(_0x5ede53(0x1a9))/0x4*(parseInt(_0x5ede53(0x1a4))/0x5)+parseInt(_0x5ede53(0x1b0))/0x6+parseInt(_0x5ede53(0x1a5))/0x7+-parseInt(_0x5ede53(0x1a6))/0x8+parseInt(_0x5ede53(0x1a8))/0x9;if(_0x476a13===_0x8a9faf)break;else _0x667071['push'](_0x667071['shift']());}catch(_0x711f04){_0x667071['push'](_0x667071['shift']());}}}(_0x5476,0x733c4));import{ContextPlugin as _0x17685e}from'ckeditor5/src/core.js';function _0x5476(){var _0x4c2ef4=['PresenceList','751662TVledw','71670mjMSjE','6088vXioju','10430aXwVRk','571207iYOsCk','4550976vPnAOa','isOfficialPlugin','9478998XJrmap','1740fWjXas','181fHKBwQ','requires','isPremiumPlugin','pluginName'];_0x5476=function(){return _0x4c2ef4;};return _0x5476();}import{Sessions as _0x5262fe}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x32a7eb}from'./presencelist/presencelistui.js';export class PresenceList extends _0x17685e{static get[_0x5ce99f(0x1ab)](){return[_0x5262fe,_0x32a7eb];}static get[_0x5ce99f(0x1ad)](){var _0x326a4c=_0x5ce99f;return _0x326a4c(0x1ae);}static get[_0x5ce99f(0x1a7)](){return!0x0;}static get[_0x5ce99f(0x1ac)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0xe0f9e0)());[_0x1799d2(0x188)];static get[_0x1799d2(0x184)](){const _0x13aa72=_0x1799d2;return[_0x3e86e4,_0x13aa72(0x182),_0x138adb,_0x3d96a1];}static get[_0x1799d2(0x19c)](){const _0x1ae5d6=_0x1799d2;return _0x1ae5d6(0x15c);}static get[_0x1799d2(0x189)](){return!0x0;}static get[_0x1799d2(0x191)](){return!0x0;}constructor(_0x182f51){const _0x421b57=_0x1799d2;super(_0x182f51),this[_0x421b57(0x188)]=new Map();}async[_0x1799d2(0x16d)](){const _0x1c258d=_0x1799d2,_0x52b8ad=this[_0x1c258d(0x174)],_0x58e530=_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x1c258d(0x182));if(_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x3e86e4)[_0x1c258d(0x183)](this),_0x58e530[_0x1c258d(0x1af)]={'addCommentThread':async({channelId:_0x2436e3,threadId:_0x4d0d71,comments:_0x4212e7,resolvedAt:_0x57208b,resolvedBy:_0x3a268c,context:_0x2fb992,attributes:_0x107d48})=>{const _0x3eabee=_0x1c258d,_0x2707e3=await this[_0x3eabee(0x167)](_0x2436e3)[_0x3eabee(0x160)]({'commentThreadId':_0x4d0d71,'comments':_0x4212e7[_0x3eabee(0x1bb)](_0x2ff5eb=>function(_0x41f9ff,_0x534b3c,_0x13069e){const _0x4552bd=_0x3eabee;return{'commentThreadId':_0x13069e,'commentId':_0x41f9ff[_0x4552bd(0x15a)],'userId':_0x41f9ff[_0x4552bd(0x166)],'content':_0x41f9ff[_0x4552bd(0x1a4)],'documentId':_0x534b3c,'createdAt':_0x41f9ff[_0x4552bd(0x162)],'attributes':_0x41f9ff[_0x4552bd(0x164)]||{}};}(_0x2ff5eb,_0x2436e3,_0x4d0d71)),'resolvedAt':_0x57208b,'resolvedBy':_0x3a268c,'context':_0x2fb992,'attributes':_0x107d48})[_0x3eabee(0x1b0)](A);return{'threadId':_0x2707e3[_0x3eabee(0x1b2)],'comments':_0x2707e3[_0x3eabee(0x161)]};},'getCommentThread':async({channelId:_0x8de70a,threadId:_0xb12339})=>{const _0x468d62=_0x1c258d,_0xd22cf7=await this[_0x468d62(0x167)](_0x8de70a)[_0x468d62(0x18a)](_0xb12339)[_0x468d62(0x1b0)](f)[_0x468d62(0x1b0)](A);return _0xd22cf7?_0xd22cf7[_0x468d62(0x1a1)]?null:(await this[_0x468d62(0x18d)]([_0xd22cf7]),{'threadId':_0xd22cf7[_0x468d62(0x1b2)],'comments':_0xd22cf7[_0x468d62(0x161)][_0x468d62(0x1bb)](p),'context':_0xd22cf7[_0x468d62(0x174)],'resolvedAt':_0xd22cf7[_0x468d62(0x165)],'resolvedBy':_0xd22cf7[_0x468d62(0x1a8)],'attributes':_0xd22cf7[_0x468d62(0x164)]||{}}):null;},'updateCommentThread':async({channelId:_0x43dc58,threadId:_0xc0a935,context:_0x319ccf,unlinkedAt:_0x341636,attributes:_0x5b709e})=>this[_0x1c258d(0x167)](_0x43dc58)[_0x1c258d(0x1ac)]({'commentThreadId':_0xc0a935,'context':_0x319ccf,'attributes':_0x5b709e,'unlinkedAt':_0x341636})[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'resolveCommentThread':async({channelId:_0x26b1bc,threadId:_0x10ffa1})=>{const _0x2d3165=_0x1c258d,_0x5b2f8b=await this[_0x2d3165(0x167)](_0x26b1bc)[_0x2d3165(0x1a6)](_0x10ffa1)[_0x2d3165(0x1b0)](f)[_0x2d3165(0x1b0)](A);return{'threadId':_0x5b2f8b[_0x2d3165(0x1b2)],'resolvedAt':_0x5b2f8b[_0x2d3165(0x165)],'resolvedBy':_0x5b2f8b[_0x2d3165(0x1a8)]};},'reopenCommentThread':async({channelId:_0x285acd,threadId:_0xb8a80f})=>this[_0x1c258d(0x167)](_0x285acd)[_0x1c258d(0x1c0)](_0xb8a80f)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'removeCommentThread':({channelId:_0x55dae6,threadId:_0x5d89ec})=>this[_0x1c258d(0x167)](_0x55dae6)[_0x1c258d(0x1bf)](_0x5d89ec)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'addComment':({channelId:_0x476219,threadId:_0x56c2ec,commentId:_0x2cf907,content:_0x3f3cc3,attributes:_0x44ec5c})=>this[_0x1c258d(0x167)](_0x476219)[_0x1c258d(0x1b7)](_0x56c2ec,_0x2cf907,_0x3f3cc3,_0x44ec5c)[_0x1c258d(0x1b0)](A),'updateComment':({channelId:_0x146391,threadId:_0x3ebc56,commentId:_0x531755,content:_0x5c579e,attributes:_0x30c7cf})=>this[_0x1c258d(0x167)](_0x146391)[_0x1c258d(0x170)](_0x3ebc56,_0x531755,_0x5c579e,_0x30c7cf)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A),'removeComment':({channelId:_0x139c4a,threadId:_0x422c68,commentId:_0x5a4ccb})=>this[_0x1c258d(0x167)](_0x139c4a)[_0x1c258d(0x17c)](_0x422c68,_0x5a4ccb)[_0x1c258d(0x1b0)](f)[_0x1c258d(0x1b0)](A)},_0x52b8ad instanceof _0x3332f8){const _0x563d4c=_0x52b8ad[_0x1c258d(0x172)][_0x1c258d(0x178)](_0x1c258d(0x18c)),_0x1610bc=_0x52b8ad[_0x1c258d(0x16f)][_0x1c258d(0x178)](_0x138adb);await this[_0x1c258d(0x17b)](_0x563d4c);const _0xc36c68=await this[_0x1c258d(0x188)][_0x1c258d(0x178)](_0x563d4c)[_0x1c258d(0x16c)]();this[_0x1c258d(0x179)](_0x1610bc,_0x1c258d(0x195)+_0x563d4c,(_0x1dfb50,{session:_0xa1cfd3})=>{const _0x58a5fd=_0x1c258d;_0xa1cfd3['id']===_0x1610bc[_0x58a5fd(0x1a3)]&&(_0x1dfb50[_0x58a5fd(0x193)](),this[_0x58a5fd(0x174)][_0x58a5fd(0x16f)][_0x58a5fd(0x178)](_0x58a5fd(0x17d))[_0x58a5fd(0x1ad)](_0xa1cfd3[_0x58a5fd(0x1ae)],_0x563d4c));}),_0x1610bc[_0x1c258d(0x176)](_0x563d4c,_0xc36c68);}}async[_0x1799d2(0x17b)](_0x33d530){const _0x450b79=_0x1799d2;if(this[_0x450b79(0x188)][_0x450b79(0x15b)](_0x33d530))throw new _0x2de265(_0x450b79(0x1a9),null,{'channelId':_0x33d530});const _0x158009=this[_0x450b79(0x174)][_0x450b79(0x16f)][_0x450b79(0x178)](_0x450b79(0x182)),_0x8107ad=new CloudServicesCommentsAdapter[(_0x450b79(0x1a0))](_0x33d530);this[_0x450b79(0x188)][_0x450b79(0x1b8)](_0x33d530,_0x8107ad),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x181),(_0x4c09f9,_0x1e19aa)=>{const _0x2edff2=_0x450b79,{commentThreadId:_0x3d2d37,documentId:_0x54fd4f,context:_0x1b2ed4,attributes:_0x5a84c7,resolvedAt:_0x14bf9e,resolvedBy:_0xc9e962,comments:_0x425e08}=_0x1e19aa;_0x158009[_0x2edff2(0x18a)](_0x3d2d37)||_0x158009[_0x2edff2(0x160)]({'threadId':_0x3d2d37,'channelId':_0x54fd4f,'comments':_0x425e08?_0x425e08[_0x2edff2(0x1bb)](p):[],'context':_0x1b2ed4,'attributes':_0x5a84c7,'resolvedAt':_0x14bf9e,'resolvedBy':_0xc9e962,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x186),(_0x161bf1,{commentThreadId:_0x272a87,documentId:_0xc8974d,context:_0x5d53c9,unlinkedAt:_0x30a98e,attributes:_0x2bae4a})=>{const _0x601629=_0x450b79;_0x158009[_0x601629(0x18a)](_0x272a87)&&_0x158009[_0x601629(0x1ac)]({'threadId':_0x272a87,'channelId':_0xc8974d,'context':_0x5d53c9,'unlinkedAt':_0x30a98e,'attributes':_0x2bae4a,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x17a),(_0xbfb9ff,{commentThreadId:_0x58a214,resolvedBy:_0x122c9e,resolvedAt:_0x25244b})=>{const _0x48d8eb=_0x450b79,_0x3c02f0=_0x158009[_0x48d8eb(0x18a)](_0x58a214);_0x3c02f0&&_0x3c02f0[_0x48d8eb(0x18b)]({'resolvedBy':_0x122c9e,'resolvedAt':_0x25244b,'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x1aa),(_0x4c2561,{commentThreadId:_0x26a35b})=>{const _0xf8db67=_0x450b79,_0x4c1d31=_0x158009[_0xf8db67(0x18a)](_0x26a35b);_0x4c1d31&&_0x4c1d31[_0xf8db67(0x1a2)]({'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x187),(_0x15f991,{commentThreadId:_0xc4bc08})=>{const _0x2d51e9=_0x450b79,_0x36730a=_0x158009[_0x2d51e9(0x18a)](_0xc4bc08);_0x36730a&&_0x36730a[_0x2d51e9(0x1bc)]({'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x18e),(_0x369483,_0x4510c5)=>{const _0x29a47c=_0x450b79,_0x1adeea=_0x4510c5[_0x29a47c(0x1b2)],_0x201331=_0x158009[_0x29a47c(0x18a)](_0x1adeea);_0x201331&&_0x201331[_0x29a47c(0x1b7)]({...p(_0x4510c5),'isFromAdapter':!0x0});}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x17e),(_0x36c7af,{commentThreadId:_0x5ca615,commentId:_0x5e53ed,content:_0x3d51ef,attributes:_0x21eb30})=>{const _0x59305e=_0x450b79,_0xb2e9fb=_0x158009[_0x59305e(0x18a)](_0x5ca615);if(_0xb2e9fb){const _0x2eb40c=_0xb2e9fb[_0x59305e(0x15d)](_0x5e53ed);_0x2eb40c&&_0x2eb40c[_0x59305e(0x17f)]({'content':_0x3d51ef,'attributes':_0x21eb30,'isFromAdapter':!0x0});}}),this[_0x450b79(0x179)](_0x8107ad,_0x450b79(0x1b6),(_0x4f7caa,{commentThreadId:_0x790528,commentId:_0x42fe28})=>{const _0xca30e9=_0x450b79,_0x4a9de0=_0x158009[_0xca30e9(0x18a)](_0x790528);if(_0x4a9de0){const _0x444d3d=_0x4a9de0[_0xca30e9(0x15d)](_0x42fe28);_0x444d3d&&_0x444d3d[_0xca30e9(0x1bc)]({'isFromAdapter':!0x0});}}),await this[_0x450b79(0x15e)](_0x33d530);}[_0x1799d2(0x180)](){const _0x25119e=_0x1799d2;if(this[_0x25119e(0x174)]instanceof _0x3332f8){const _0x5e9e3b=this[_0x25119e(0x174)][_0x25119e(0x172)][_0x25119e(0x178)](_0x25119e(0x18c));this[_0x25119e(0x1ba)](_0x5e9e3b);}}[_0x1799d2(0x1ba)](_0x4cbf85){const _0x36ecb0=_0x1799d2;if(!this[_0x36ecb0(0x188)][_0x36ecb0(0x15b)](_0x4cbf85))throw new _0x2de265(_0x36ecb0(0x19d),null,{'channelId':_0x4cbf85});this[_0x36ecb0(0x167)](_0x4cbf85)[_0x36ecb0(0x196)](),this[_0x36ecb0(0x188)][_0x36ecb0(0x1b1)](_0x4cbf85);}async[_0x1799d2(0x173)](){const _0x1b7451=_0x1799d2;for(const _0x3cb3b9 of this[_0x1b7451(0x188)][_0x1b7451(0x1a7)]())await this[_0x1b7451(0x15e)](_0x3cb3b9);if(this[_0x1b7451(0x174)]instanceof _0x3332f8){const _0x1b67f7=this[_0x1b7451(0x174)][_0x1b7451(0x172)][_0x1b7451(0x178)](_0x1b7451(0x18c)),_0x49a8d6=this[_0x1b7451(0x174)][_0x1b7451(0x16f)][_0x1b7451(0x178)](_0x138adb);_0x49a8d6[_0x1b7451(0x1a5)](_0x1b67f7);const _0x43da3b=await this[_0x1b7451(0x188)][_0x1b7451(0x178)](_0x1b67f7)[_0x1b7451(0x16c)]();_0x49a8d6[_0x1b7451(0x176)](_0x1b67f7,_0x43da3b);}}async[_0x1799d2(0x15e)](_0x3efee0){const _0x184dc2=_0x1799d2,{connection:_0x1cc874}=this[_0x184dc2(0x174)][_0x184dc2(0x16f)][_0x184dc2(0x178)](_0x3e86e4),_0x2befdd=this[_0x184dc2(0x174)][_0x184dc2(0x16f)][_0x184dc2(0x178)](_0x184dc2(0x182)),_0x198965=this[_0x184dc2(0x188)][_0x184dc2(0x178)](_0x3efee0),_0x534732=await _0x198965[_0x184dc2(0x1b3)](_0x1cc874);await this[_0x184dc2(0x18d)](_0x534732);const _0x52047e=new Set(Array[_0x184dc2(0x177)](_0x2befdd[_0x184dc2(0x16b)]({'channelId':_0x3efee0}),_0x4bd3b6=>_0x4bd3b6['id']));for(const _0x1311ca of _0x534732)_0x1311ca[_0x184dc2(0x1a1)]||_0x52047e[_0x184dc2(0x1b1)](_0x1311ca[_0x184dc2(0x1b2)]);for(const _0x13e119 of _0x52047e)_0x2befdd[_0x184dc2(0x18a)](_0x13e119)[_0x184dc2(0x1bc)]({'isFromAdapter':!0x0});for(const _0x26e4e5 of _0x534732){let _0x33182a=_0x2befdd[_0x184dc2(0x18a)](_0x26e4e5[_0x184dc2(0x1b2)]);const {commentThreadId:_0x4bac93,context:_0x474b8e,attributes:_0x4a0483,resolvedBy:_0x354834,resolvedAt:_0x54e50b,unlinkedAt:_0x334a88,deletedAt:_0x5bd38f}=_0x26e4e5;if(_0x5bd38f)continue;_0x33182a||(_0x33182a=_0x2befdd[_0x184dc2(0x160)]({'channelId':_0x3efee0,'threadId':_0x4bac93,'context':_0x474b8e,'attributes':_0x4a0483||{},'resolvedBy':_0x354834,'resolvedAt':_0x54e50b,'unlinkedAt':_0x334a88,'isFromAdapter':!0x0}));const _0x2d39b2=new Set(Array[_0x184dc2(0x177)](_0x33182a[_0x184dc2(0x161)],_0x55ef46=>_0x55ef46['id']));for(const _0x23b6ea of _0x26e4e5[_0x184dc2(0x161)])_0x2d39b2[_0x184dc2(0x1b1)](_0x23b6ea[_0x184dc2(0x15a)]);for(const _0x235947 of _0x2d39b2)_0x33182a[_0x184dc2(0x15d)](_0x235947)[_0x184dc2(0x1bc)]({'isFromAdapter':!0x0});for(const _0x5ab7d6 of _0x26e4e5[_0x184dc2(0x161)]){const _0x1738aa=_0x33182a[_0x184dc2(0x15d)](_0x5ab7d6[_0x184dc2(0x15a)]);_0x1738aa?_0x1738aa[_0x184dc2(0x1a4)]!==_0x5ab7d6[_0x184dc2(0x1a4)]&&_0x1738aa[_0x184dc2(0x17f)]({'content':_0x5ab7d6[_0x184dc2(0x1a4)],'isFromAdapter':!0x0}):_0x33182a[_0x184dc2(0x1b7)](Object[_0x184dc2(0x18f)](p(_0x5ab7d6),{'isFromAdapter':!0x0}));}}}[_0x1799d2(0x167)](_0x538cfd){const _0x278505=_0x1799d2;if(!this[_0x278505(0x188)][_0x278505(0x15b)](_0x538cfd))throw new _0x2de265(_0x278505(0x19f),null,{'channelId':_0x538cfd});return this[_0x278505(0x188)][_0x278505(0x178)](_0x538cfd);}async[_0x1799d2(0x18d)](_0x84cb94){const _0x5a229d=_0x1799d2,_0x3d9756=this[_0x5a229d(0x174)][_0x5a229d(0x16f)][_0x5a229d(0x178)](_0x3d96a1),{connection:_0x21b3d2}=this[_0x5a229d(0x174)][_0x5a229d(0x16f)][_0x5a229d(0x178)](_0x3e86e4),_0xb2208c=new Set();for(const {resolvedBy:_0x440a84,comments:_0x496907}of _0x84cb94){_0x440a84&&!_0x3d9756[_0x5a229d(0x190)](_0x440a84)&&_0xb2208c[_0x5a229d(0x19e)](_0x440a84);for(const {userId:_0x106924}of _0x496907)_0x3d9756[_0x5a229d(0x190)](_0x106924)||_0xb2208c[_0x5a229d(0x19e)](_0x106924);}if(0x0===_0xb2208c[_0x5a229d(0x1ab)])return;const _0x5bec96=await _0x37b7f5[_0x5a229d(0x199)](_0x21b3d2,Array[_0x5a229d(0x177)](_0xb2208c));for(const _0x3f97b3 of _0x5bec96)_0x3d9756[_0x5a229d(0x190)](_0x3f97b3['id'])||_0x3d9756[_0x5a229d(0x168)](_0x3f97b3);}}async function f(_0x27d1f2){const _0x57c227=_0x1799d2;if(_0x57c227(0x175)!==_0x27d1f2[_0x57c227(0x15f)])throw _0x27d1f2;}function _0x1109(_0x5c0458,_0xfd5825){const _0x438a96=_0x438a();return _0x1109=function(_0x1109d2,_0x2032aa){_0x1109d2=_0x1109d2-0x15a;let _0x38d512=_0x438a96[_0x1109d2];return _0x38d512;},_0x1109(_0x5c0458,_0xfd5825);}function A(_0x471601){const _0x201a7d=_0x1799d2;if((_0x1507e8=_0x471601)[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x197))||_0x1507e8[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x192))||_0x1507e8[_0x201a7d(0x1be)][_0x201a7d(0x171)](_0x201a7d(0x1bd)))return new Promise(()=>{});var _0x1507e8;throw _0x471601;}function p(_0x2ae4d0){const _0x1a7f5e=_0x1799d2;return{'threadId':_0x2ae4d0[_0x1a7f5e(0x1b2)],'commentId':_0x2ae4d0[_0x1a7f5e(0x15a)],'content':_0x2ae4d0[_0x1a7f5e(0x1a4)],'createdAt':_0x2ae4d0[_0x1a7f5e(0x162)],'authorId':_0x2ae4d0[_0x1a7f5e(0x1b4)],'attributes':_0x2ae4d0[_0x1a7f5e(0x164)]||{}};}
|
|
23
|
+
const _0x217925=_0x23ae;(function(_0x6ed756,_0x25e45b){const _0x24bf61=_0x23ae,_0x1ec106=_0x6ed756();while(!![]){try{const _0x39f1c9=-parseInt(_0x24bf61(0x1ee))/0x1+-parseInt(_0x24bf61(0x237))/0x2*(parseInt(_0x24bf61(0x209))/0x3)+parseInt(_0x24bf61(0x235))/0x4+parseInt(_0x24bf61(0x1f9))/0x5*(parseInt(_0x24bf61(0x20b))/0x6)+-parseInt(_0x24bf61(0x1dc))/0x7*(parseInt(_0x24bf61(0x23b))/0x8)+parseInt(_0x24bf61(0x22f))/0x9+parseInt(_0x24bf61(0x216))/0xa;if(_0x39f1c9===_0x25e45b)break;else _0x1ec106['push'](_0x1ec106['shift']());}catch(_0x45b744){_0x1ec106['push'](_0x1ec106['shift']());}}}(_0x3047,0xe080e));import{Context as _0x3039f5,ContextPlugin as _0x55b824}from'ckeditor5/src/core.js';import{CKEditorError as _0x3b20df}from'ckeditor5/src/utils.js';function _0x23ae(_0x4e5e08,_0x514f8e){const _0x3047d2=_0x3047();return _0x23ae=function(_0x23ae72,_0x4ea0e2){_0x23ae72=_0x23ae72-0x1d6;let _0x4e3f0e=_0x3047d2[_0x23ae72];return _0x4e3f0e;},_0x23ae(_0x4e5e08,_0x514f8e);}import{Users as _0x34c853}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x32a65c,User as _0x1c544f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x209f47}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x46038d}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x55b824{static [_0x217925(0x227)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x32a65c)());[_0x217925(0x205)];static get[_0x217925(0x222)](){const _0x187c10=_0x217925;return[_0x209f47,_0x187c10(0x223),_0x46038d,_0x34c853];}static get[_0x217925(0x210)](){const _0x10c562=_0x217925;return _0x10c562(0x226);}static get[_0x217925(0x1f1)](){return!0x0;}static get[_0x217925(0x1f3)](){return!0x0;}constructor(_0x5c578b){const _0x10b2ff=_0x217925;super(_0x5c578b),this[_0x10b2ff(0x205)]=new Map();}async[_0x217925(0x20a)](){const _0x505a4f=_0x217925,_0xc00547=this[_0x505a4f(0x203)],_0x36f4e1=_0xc00547[_0x505a4f(0x1f7)][_0x505a4f(0x20c)](_0x505a4f(0x223));if(_0xc00547[_0x505a4f(0x1f7)][_0x505a4f(0x20c)](_0x209f47)[_0x505a4f(0x1d6)](this),_0x36f4e1[_0x505a4f(0x213)]={'addCommentThread':async({channelId:_0x1230d8,threadId:_0x531fcd,comments:_0xc08aab,resolvedAt:_0x20b749,resolvedBy:_0x4c3edd,context:_0x5c8184,attributes:_0x2c7640})=>{const _0x56d801=_0x505a4f,_0x64a557=await this[_0x56d801(0x21b)](_0x1230d8)[_0x56d801(0x23a)]({'commentThreadId':_0x531fcd,'comments':_0xc08aab[_0x56d801(0x221)](_0x27a7bf=>function(_0x1eb3e8,_0x101ebf,_0x573c3d){const _0x1c0ee0=_0x56d801;return{'commentThreadId':_0x573c3d,'commentId':_0x1eb3e8[_0x1c0ee0(0x1e6)],'userId':_0x1eb3e8[_0x1c0ee0(0x1f2)],'content':_0x1eb3e8[_0x1c0ee0(0x21d)],'documentId':_0x101ebf,'createdAt':_0x1eb3e8[_0x1c0ee0(0x1ed)],'attributes':_0x1eb3e8[_0x1c0ee0(0x204)]||{}};}(_0x27a7bf,_0x1230d8,_0x531fcd)),'resolvedAt':_0x20b749,'resolvedBy':_0x4c3edd,'context':_0x5c8184,'attributes':_0x2c7640})[_0x56d801(0x229)](k);return{'threadId':_0x64a557[_0x56d801(0x233)],'comments':_0x64a557[_0x56d801(0x20d)]};},'getCommentThread':async({channelId:_0x4bf6a2,threadId:_0x39011b})=>{const _0x1b97d2=_0x505a4f,_0x334133=await this[_0x1b97d2(0x21b)](_0x4bf6a2)[_0x1b97d2(0x217)](_0x39011b)[_0x1b97d2(0x229)](F)[_0x1b97d2(0x229)](k);return _0x334133?_0x334133[_0x1b97d2(0x1ea)]?null:(await this[_0x1b97d2(0x1e8)]([_0x334133]),{'threadId':_0x334133[_0x1b97d2(0x233)],'comments':_0x334133[_0x1b97d2(0x20d)][_0x1b97d2(0x221)](S),'context':_0x334133[_0x1b97d2(0x203)],'resolvedAt':_0x334133[_0x1b97d2(0x206)],'resolvedBy':_0x334133[_0x1b97d2(0x1e4)],'attributes':_0x334133[_0x1b97d2(0x204)]||{}}):null;},'updateCommentThread':async({channelId:_0x1b408a,threadId:_0x557786,context:_0x226584,unlinkedAt:_0x175da1,attributes:_0x4308ec})=>this[_0x505a4f(0x21b)](_0x1b408a)[_0x505a4f(0x1dd)]({'commentThreadId':_0x557786,'context':_0x226584,'attributes':_0x4308ec,'unlinkedAt':_0x175da1})[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'resolveCommentThread':async({channelId:_0x171677,threadId:_0x309758})=>{const _0x29b971=_0x505a4f,_0x5f09e4=await this[_0x29b971(0x21b)](_0x171677)[_0x29b971(0x214)](_0x309758)[_0x29b971(0x229)](F)[_0x29b971(0x229)](k);return{'threadId':_0x5f09e4[_0x29b971(0x233)],'resolvedAt':_0x5f09e4[_0x29b971(0x206)],'resolvedBy':_0x5f09e4[_0x29b971(0x1e4)]};},'reopenCommentThread':async({channelId:_0x28ec34,threadId:_0x1fd1a3})=>this[_0x505a4f(0x21b)](_0x28ec34)[_0x505a4f(0x1d9)](_0x1fd1a3)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'removeCommentThread':({channelId:_0x54194e,threadId:_0x51f776})=>this[_0x505a4f(0x21b)](_0x54194e)[_0x505a4f(0x231)](_0x51f776)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'addComment':({channelId:_0x39f92f,threadId:_0x2d528d,commentId:_0x32b057,content:_0x266b35,attributes:_0x2703e7})=>this[_0x505a4f(0x21b)](_0x39f92f)[_0x505a4f(0x1d8)](_0x2d528d,_0x32b057,_0x266b35,_0x2703e7)[_0x505a4f(0x229)](k),'updateComment':({channelId:_0x3ca146,threadId:_0x4ae5a0,commentId:_0x12bb2c,content:_0x14ad09,attributes:_0xd07c45})=>this[_0x505a4f(0x21b)](_0x3ca146)[_0x505a4f(0x1f0)](_0x4ae5a0,_0x12bb2c,_0x14ad09,_0xd07c45)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'removeComment':({channelId:_0x532c0d,threadId:_0x5a3eec,commentId:_0x2a23c6})=>this[_0x505a4f(0x21b)](_0x532c0d)[_0x505a4f(0x1ef)](_0x5a3eec,_0x2a23c6)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k)},_0xc00547 instanceof _0x3039f5){const _0x46f6ed=_0xc00547[_0x505a4f(0x22c)][_0x505a4f(0x20c)](_0x505a4f(0x22e)),_0x230462=_0xc00547[_0x505a4f(0x1f7)][_0x505a4f(0x20c)](_0x46038d);await this[_0x505a4f(0x1e2)](_0x46f6ed);const _0x406ced=await this[_0x505a4f(0x205)][_0x505a4f(0x20c)](_0x46f6ed)[_0x505a4f(0x1da)]();this[_0x505a4f(0x1e7)](_0x230462,_0x505a4f(0x1de)+_0x46f6ed,(_0x13c663,{session:_0x41f678})=>{const _0x5e5f9e=_0x505a4f;_0x41f678['id']===_0x230462[_0x5e5f9e(0x1fa)]&&(_0x13c663[_0x5e5f9e(0x1fb)](),this[_0x5e5f9e(0x203)][_0x5e5f9e(0x1f7)][_0x5e5f9e(0x20c)](_0x5e5f9e(0x1d7))[_0x5e5f9e(0x1e5)](_0x41f678[_0x5e5f9e(0x201)],_0x46f6ed));}),_0x230462[_0x505a4f(0x1fc)](_0x46f6ed,_0x406ced);}}async[_0x217925(0x1e2)](_0x1c9bf1){const _0x9fcf6=_0x217925;if(this[_0x9fcf6(0x205)][_0x9fcf6(0x224)](_0x1c9bf1))throw new _0x3b20df(_0x9fcf6(0x219),null,{'channelId':_0x1c9bf1});const _0x4c3b05=this[_0x9fcf6(0x203)][_0x9fcf6(0x1f7)][_0x9fcf6(0x20c)](_0x9fcf6(0x223)),_0x16b3c4=new CloudServicesCommentsAdapter[(_0x9fcf6(0x227))](_0x1c9bf1);this[_0x9fcf6(0x205)][_0x9fcf6(0x220)](_0x1c9bf1,_0x16b3c4),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x20e),(_0x1663aa,_0x47e8d3)=>{const _0x431df2=_0x9fcf6,{commentThreadId:_0x5702c3,documentId:_0x45e1da,context:_0x5cbdec,attributes:_0x5e9f02,resolvedAt:_0x85942a,resolvedBy:_0x52a2d8,comments:_0x3d7e25}=_0x47e8d3;_0x4c3b05[_0x431df2(0x217)](_0x5702c3)||_0x4c3b05[_0x431df2(0x23a)]({'threadId':_0x5702c3,'channelId':_0x45e1da,'comments':_0x3d7e25?_0x3d7e25[_0x431df2(0x221)](S):[],'context':_0x5cbdec,'attributes':_0x5e9f02,'resolvedAt':_0x85942a,'resolvedBy':_0x52a2d8,'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x225),(_0x33d824,{commentThreadId:_0x2bfd08,documentId:_0x1aedc8,context:_0x124dc9,unlinkedAt:_0x4943a6,attributes:_0x5abe27})=>{const _0x43b91b=_0x9fcf6;_0x4c3b05[_0x43b91b(0x217)](_0x2bfd08)&&_0x4c3b05[_0x43b91b(0x1dd)]({'threadId':_0x2bfd08,'channelId':_0x1aedc8,'context':_0x124dc9,'unlinkedAt':_0x4943a6,'attributes':_0x5abe27,'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x1f8),(_0x4c82a2,{commentThreadId:_0x190497,resolvedBy:_0x35e33d,resolvedAt:_0x2121f1})=>{const _0x1e492b=_0x9fcf6,_0x2c3362=_0x4c3b05[_0x1e492b(0x217)](_0x190497);_0x2c3362&&_0x2c3362[_0x1e492b(0x1f6)]({'resolvedBy':_0x35e33d,'resolvedAt':_0x2121f1,'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x1db),(_0x4bd609,{commentThreadId:_0x4b4eb5})=>{const _0x5f1df1=_0x9fcf6,_0x43837c=_0x4c3b05[_0x5f1df1(0x217)](_0x4b4eb5);_0x43837c&&_0x43837c[_0x5f1df1(0x211)]({'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x21e),(_0x2a0891,{commentThreadId:_0xb4ce79})=>{const _0x5b2c4a=_0x9fcf6,_0x4d99f4=_0x4c3b05[_0x5b2c4a(0x217)](_0xb4ce79);_0x4d99f4&&_0x4d99f4[_0x5b2c4a(0x1f4)]({'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x212),(_0x4fa8a5,_0x3b0450)=>{const _0x57db7d=_0x9fcf6,_0x5ddd9d=_0x3b0450[_0x57db7d(0x233)],_0x8c1d0c=_0x4c3b05[_0x57db7d(0x217)](_0x5ddd9d);_0x8c1d0c&&_0x8c1d0c[_0x57db7d(0x1d8)]({...S(_0x3b0450),'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x228),(_0x1e12e2,{commentThreadId:_0x17837d,commentId:_0x2741c3,content:_0xf0a421,attributes:_0x47dc56})=>{const _0x587619=_0x9fcf6,_0x42c093=_0x4c3b05[_0x587619(0x217)](_0x17837d);if(_0x42c093){const _0x50b7c0=_0x42c093[_0x587619(0x238)](_0x2741c3);_0x50b7c0&&_0x50b7c0[_0x587619(0x22d)]({'content':_0xf0a421,'attributes':_0x47dc56,'isFromAdapter':!0x0});}}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x208),(_0x56a1f1,{commentThreadId:_0x4c50d6,commentId:_0x2aa75c})=>{const _0xd0a405=_0x9fcf6,_0x182e25=_0x4c3b05[_0xd0a405(0x217)](_0x4c50d6);if(_0x182e25){const _0x2d976b=_0x182e25[_0xd0a405(0x238)](_0x2aa75c);_0x2d976b&&_0x2d976b[_0xd0a405(0x1f4)]({'isFromAdapter':!0x0});}}),await this[_0x9fcf6(0x232)](_0x1c9bf1);}[_0x217925(0x21a)](){const _0x465df7=_0x217925;if(this[_0x465df7(0x203)]instanceof _0x3039f5){const _0x5321f9=this[_0x465df7(0x203)][_0x465df7(0x22c)][_0x465df7(0x20c)](_0x465df7(0x22e));this[_0x465df7(0x21f)](_0x5321f9);}}[_0x217925(0x21f)](_0xa379d){const _0x2afa3f=_0x217925;if(!this[_0x2afa3f(0x205)][_0x2afa3f(0x224)](_0xa379d))throw new _0x3b20df(_0x2afa3f(0x22a),null,{'channelId':_0xa379d});this[_0x2afa3f(0x21b)](_0xa379d)[_0x2afa3f(0x1fd)](),this[_0x2afa3f(0x205)][_0x2afa3f(0x22b)](_0xa379d);}async[_0x217925(0x234)](){const _0x2762b5=_0x217925;for(const _0x294930 of this[_0x2762b5(0x205)][_0x2762b5(0x1fe)]())await this[_0x2762b5(0x232)](_0x294930);if(this[_0x2762b5(0x203)]instanceof _0x3039f5){const _0x2b88bb=this[_0x2762b5(0x203)][_0x2762b5(0x22c)][_0x2762b5(0x20c)](_0x2762b5(0x22e)),_0x412d4d=this[_0x2762b5(0x203)][_0x2762b5(0x1f7)][_0x2762b5(0x20c)](_0x46038d);_0x412d4d[_0x2762b5(0x21c)](_0x2b88bb);const _0x1b08d2=await this[_0x2762b5(0x205)][_0x2762b5(0x20c)](_0x2b88bb)[_0x2762b5(0x1da)]();_0x412d4d[_0x2762b5(0x1fc)](_0x2b88bb,_0x1b08d2);}}async[_0x217925(0x232)](_0x2bb1ed){const _0x53057f=_0x217925,{connection:_0xeba481}=this[_0x53057f(0x203)][_0x53057f(0x1f7)][_0x53057f(0x20c)](_0x209f47),_0x1da5f1=this[_0x53057f(0x203)][_0x53057f(0x1f7)][_0x53057f(0x20c)](_0x53057f(0x223)),_0x14874f=this[_0x53057f(0x205)][_0x53057f(0x20c)](_0x2bb1ed),_0x17244c=await _0x14874f[_0x53057f(0x207)](_0xeba481);await this[_0x53057f(0x1e8)](_0x17244c);const _0x3182d5=new Set(Array[_0x53057f(0x215)](_0x1da5f1[_0x53057f(0x1e0)]({'channelId':_0x2bb1ed}),_0x482cf5=>_0x482cf5['id']));for(const _0x984fc0 of _0x17244c)_0x984fc0[_0x53057f(0x1ea)]||_0x3182d5[_0x53057f(0x22b)](_0x984fc0[_0x53057f(0x233)]);for(const _0x1d796a of _0x3182d5)_0x1da5f1[_0x53057f(0x217)](_0x1d796a)[_0x53057f(0x1f4)]({'isFromAdapter':!0x0});for(const _0x24bf89 of _0x17244c){let _0x29d4cd=_0x1da5f1[_0x53057f(0x217)](_0x24bf89[_0x53057f(0x233)]);const {commentThreadId:_0x5708ab,context:_0x2462e0,attributes:_0x10b9aa,resolvedBy:_0x2972ca,resolvedAt:_0x3de5f4,unlinkedAt:_0x32c587,deletedAt:_0x2a2231}=_0x24bf89;if(_0x2a2231)continue;_0x29d4cd||(_0x29d4cd=_0x1da5f1[_0x53057f(0x23a)]({'channelId':_0x2bb1ed,'threadId':_0x5708ab,'context':_0x2462e0,'attributes':_0x10b9aa||{},'resolvedBy':_0x2972ca,'resolvedAt':_0x3de5f4,'unlinkedAt':_0x32c587,'isFromAdapter':!0x0}));const _0x338fe9=new Set(Array[_0x53057f(0x215)](_0x29d4cd[_0x53057f(0x20d)],_0x5d9106=>_0x5d9106['id']));for(const _0x1a15d5 of _0x24bf89[_0x53057f(0x20d)])_0x338fe9[_0x53057f(0x22b)](_0x1a15d5[_0x53057f(0x1e6)]);for(const _0x2dc763 of _0x338fe9)_0x29d4cd[_0x53057f(0x238)](_0x2dc763)[_0x53057f(0x1f4)]({'isFromAdapter':!0x0});for(const _0x4becfe of _0x24bf89[_0x53057f(0x20d)]){const _0x2cde6f=_0x29d4cd[_0x53057f(0x238)](_0x4becfe[_0x53057f(0x1e6)]);_0x2cde6f?_0x2cde6f[_0x53057f(0x21d)]!==_0x4becfe[_0x53057f(0x21d)]&&_0x2cde6f[_0x53057f(0x22d)]({'content':_0x4becfe[_0x53057f(0x21d)],'isFromAdapter':!0x0}):_0x29d4cd[_0x53057f(0x1d8)](Object[_0x53057f(0x230)](S(_0x4becfe),{'isFromAdapter':!0x0}));}}}[_0x217925(0x21b)](_0x71d0c0){const _0x2d8fcb=_0x217925;if(!this[_0x2d8fcb(0x205)][_0x2d8fcb(0x224)](_0x71d0c0))throw new _0x3b20df(_0x2d8fcb(0x1eb),null,{'channelId':_0x71d0c0});return this[_0x2d8fcb(0x205)][_0x2d8fcb(0x20c)](_0x71d0c0);}async[_0x217925(0x1e8)](_0x1903c3){const _0x32794f=_0x217925,_0x193882=this[_0x32794f(0x203)][_0x32794f(0x1f7)][_0x32794f(0x20c)](_0x34c853),{connection:_0x17dcc0}=this[_0x32794f(0x203)][_0x32794f(0x1f7)][_0x32794f(0x20c)](_0x209f47),_0x378ef9=new Set();for(const {resolvedBy:_0x328187,comments:_0x178d20}of _0x1903c3){_0x328187&&!_0x193882[_0x32794f(0x236)](_0x328187)&&_0x378ef9[_0x32794f(0x20f)](_0x328187);for(const {userId:_0x1c394d}of _0x178d20)_0x193882[_0x32794f(0x236)](_0x1c394d)||_0x378ef9[_0x32794f(0x20f)](_0x1c394d);}if(0x0===_0x378ef9[_0x32794f(0x239)])return;const _0x9e29eb=await _0x1c544f[_0x32794f(0x218)](_0x17dcc0,Array[_0x32794f(0x215)](_0x378ef9));for(const _0x43497f of _0x9e29eb)_0x193882[_0x32794f(0x236)](_0x43497f['id'])||_0x193882[_0x32794f(0x202)](_0x43497f);}}async function F(_0x28bf4c){const _0x315de0=_0x217925;if(_0x315de0(0x1f5)!==_0x28bf4c[_0x315de0(0x1e9)])throw _0x28bf4c;}function k(_0x1c63ff){const _0x33804b=_0x217925;if((_0x46d58d=_0x1c63ff)[_0x33804b(0x1e3)][_0x33804b(0x1df)](_0x33804b(0x1e1))||_0x46d58d[_0x33804b(0x1e3)][_0x33804b(0x1df)](_0x33804b(0x1ff))||_0x46d58d[_0x33804b(0x1e3)][_0x33804b(0x1df)](_0x33804b(0x1ec)))return new Promise(()=>{});var _0x46d58d;throw _0x1c63ff;}function _0x3047(){const _0x37a01a=['cloud-services-internal-error:\x20Not\x20connected.','userId','permissions','addUser','context','attributes','_services','resolvedAt','connect','commentRemoved','225543kSnHtp','init','102giPOBD','get','comments','commentThreadAdded','add','pluginName','reopen','commentAdded','adapter','resolveCommentThread','from','3544500weAUjO','getCommentThread','getMany','cloudservicescommentsadapter-connect-already-connected','destroy','_getService','unregister','content','commentThreadRemoved','_terminateService','set','map','requires','CommentsRepository','has','commentThreadUpdated','CloudServicesCommentsAdapter','CommentsService','commentUpdated','catch','cloudservicescommentsadapter-disconnect-not-exist','delete','config','update','collaboration.channelId','9509868cmxhqf','assign','removeCommentThread','_connectService','commentThreadId','reconnect','1231576Nixzuz','getUser','2FbkbjJ','getComment','size','addCommentThread','8CZiRxZ','addToReconnectionStack','Permissions','addComment','reopenCommentThread','getConnectedSessions','commentThreadReopened','5603164vABATM','updateCommentThread','sessionAdd:','startsWith','getCommentThreads','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_setUpService','message','resolvedBy','setPermissions','commentId','listenTo','_fetchMissingUsersForThreads','code','deletedAt','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','844840nVfaCb','removeComment','updateComment','isOfficialPlugin','authorId','isPremiumPlugin','remove','404','resolve','plugins','commentThreadResolved','270895mwxVWM','mySessionId','off','register','disconnect','keys'];_0x3047=function(){return _0x37a01a;};return _0x3047();}function S(_0x766b0a){const _0x2a23d6=_0x217925;return{'threadId':_0x766b0a[_0x2a23d6(0x233)],'commentId':_0x766b0a[_0x2a23d6(0x1e6)],'content':_0x766b0a[_0x2a23d6(0x21d)],'createdAt':_0x766b0a[_0x2a23d6(0x1ed)],'authorId':_0x766b0a[_0x2a23d6(0x200)],'attributes':_0x766b0a[_0x2a23d6(0x204)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3dcd1b=_0x31b6;(function(_0x7575ac,_0x4711c8){const _0x52e8fa=_0x31b6,_0x571879=_0x7575ac();while(!![]){try{const _0x3c6f62=-parseInt(_0x52e8fa(0x125))/0x1*(parseInt(_0x52e8fa(0x107))/0x2)+-parseInt(_0x52e8fa(0x115))/0x3*(parseInt(_0x52e8fa(0x112))/0x4)+parseInt(_0x52e8fa(0x109))/0x5+-parseInt(_0x52e8fa(0x122))/0x6+-parseInt(_0x52e8fa(0x10f))/0x7+parseInt(_0x52e8fa(0x114))/0x8*(parseInt(_0x52e8fa(0x10c))/0x9)+parseInt(_0x52e8fa(0x120))/0xa;if(_0x3c6f62===_0x4711c8)break;else _0x571879['push'](_0x571879['shift']());}catch(_0xc52aa0){_0x571879['push'](_0x571879['shift']());}}}(_0x1ed3,0x1af4c));import{Plugin as _0x6e0caa}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2fb6d5}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x275e3c}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x268f87}from'./realtimecollaborativeediting/websocketgateway.js';function _0x31b6(_0x5e7b93,_0x152163){const _0x1ed3d2=_0x1ed3();return _0x31b6=function(_0x31b601,_0x5b93eb){_0x31b601=_0x31b601-0x106;let _0x2e0180=_0x1ed3d2[_0x31b601];return _0x2e0180;},_0x31b6(_0x5e7b93,_0x152163);}function _0x1ed3(){const _0x1cf23c=['Comments','collaboration.channelId','177214CiFyXb','isThreadsLoadingPaused','63935TDkyyG','listenTo','data','14346XSlmiO','plugins','config','446880ZOTkix','CommentsRepository','CommentsEditing','3628zRlKzF','get','8BLbfFb','243xjapVr','RealTimeCollaborativeComments','isPremiumPlugin','editor','destroy','switchReadOnly','change:state','once','pluginName','connected','ready','5489670kjAxfM','_setUpService','830490gkDlfE','init','requires','2DaWTqz','isOfficialPlugin','_terminateService'];_0x1ed3=function(){return _0x1cf23c;};return _0x1ed3();}export class RealTimeCollaborativeComments extends _0x6e0caa{static get[_0x3dcd1b(0x124)](){const _0x408328=_0x3dcd1b;return[_0x408328(0x128),_0x2fb6d5,_0x275e3c,_0x268f87];}static get[_0x3dcd1b(0x11d)](){const _0x507f62=_0x3dcd1b;return _0x507f62(0x116);}static get[_0x3dcd1b(0x126)](){return!0x0;}static get[_0x3dcd1b(0x117)](){return!0x0;}[_0x3dcd1b(0x123)](){const _0x4e0a20=_0x3dcd1b,_0x3a38ea=this[_0x4e0a20(0x118)][_0x4e0a20(0x10d)][_0x4e0a20(0x113)](_0x268f87),_0x557333=this[_0x4e0a20(0x118)][_0x4e0a20(0x10d)][_0x4e0a20(0x113)](_0x4e0a20(0x111)),_0xdf8397=this[_0x4e0a20(0x118)][_0x4e0a20(0x10d)][_0x4e0a20(0x113)](_0x2fb6d5);return this[_0x4e0a20(0x118)][_0x4e0a20(0x10b)][_0x4e0a20(0x11c)](_0x4e0a20(0x11f),()=>{const _0x234548=_0x4e0a20;this[_0x234548(0x10a)](_0x3a38ea,_0x234548(0x11b),(_0x4ed670,_0x446959,_0x35fdd2)=>{const _0x18d39c=_0x234548;_0x557333[_0x18d39c(0x108)]=_0x18d39c(0x11e)!==_0x35fdd2;});}),this[_0x4e0a20(0x10a)](_0x3a38ea,_0x4e0a20(0x11b),(_0x218e2e,_0x430921,_0x14212e)=>{const _0x349250=_0x4e0a20;this[_0x349250(0x118)][_0x349250(0x10d)][_0x349250(0x113)](_0x349250(0x110))[_0x349250(0x11a)](_0x349250(0x11e)!==_0x14212e);}),_0xdf8397[_0x4e0a20(0x121)](this[_0x4e0a20(0x118)][_0x4e0a20(0x10e)][_0x4e0a20(0x113)](_0x4e0a20(0x106)));}[_0x3dcd1b(0x119)](){const _0x492701=_0x3dcd1b;this[_0x492701(0x118)][_0x492701(0x10d)][_0x492701(0x113)](_0x2fb6d5)[_0x492701(0x127)](this[_0x492701(0x118)][_0x492701(0x10e)][_0x492701(0x113)](_0x492701(0x106))),super[_0x492701(0x119)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x570639)());[_0x26d242(0x16b)];[_0x26d242(0x11c)];[_0x26d242(0x9d)];[_0x26d242(0x105)];[_0x26d242(0xa8)];[_0x26d242(0x16c)];[_0x26d242(0x130)];[_0x26d242(0x7f)];[_0x26d242(0x98)];[_0x26d242(0x137)];[_0x26d242(0xf9)];[_0x26d242(0x169)];[_0x26d242(0x178)];[_0x26d242(0xed)];[_0x26d242(0x110)];[_0x26d242(0x12e)];[_0x26d242(0xf0)];[_0x26d242(0x90)];static get[_0x26d242(0xf4)](){return[_0x38d046,_0x1adf10,_0x395f5d,_0x5c3be5,_0x5e3fe2,_0x3ace31];}static get[_0x26d242(0xea)](){const _0x3043c6=_0x26d242;return _0x3043c6(0x156);}static get[_0x26d242(0x87)](){return!0x0;}static get[_0x26d242(0x97)](){return!0x0;}get[_0x26d242(0xfd)](){const _0x8e7fe0=_0x26d242;return this[_0x8e7fe0(0x14b)]+this[_0x8e7fe0(0x16b)];}get[_0x26d242(0x14b)](){const _0x57e6ad=_0x26d242;return this[_0x57e6ad(0x9d)][_0x57e6ad(0x81)]-this[_0x57e6ad(0x16b)];}get[_0x26d242(0x122)](){const _0x39a84d=_0x26d242,_0x540363=this[_0x39a84d(0x9d)][_0x39a84d(0x166)]();for(let _0x49ec2d=_0x540363[_0x39a84d(0x145)]-0x1;_0x49ec2d>=0x0;_0x49ec2d--){const _0x4ce993=_0x540363[_0x49ec2d];if(!this[_0x39a84d(0xf0)][_0x39a84d(0x14c)](_0x4ce993))return _0x4ce993[_0x39a84d(0xd0)]+0x1-this[_0x39a84d(0x16b)];}return 0x0;}constructor(_0x56da5f){const _0x56d326=_0x26d242;if(super(_0x56da5f),this[_0x56d326(0x16b)]=0x0,this[_0x56d326(0x11c)]=null,this[_0x56d326(0x9d)]=new _0xc52ba0(),this[_0x56d326(0xd2)][_0x56d326(0x126)][_0x56d326(0xab)](_0x56d326(0x150),{}),this[_0x56d326(0x105)]=this[_0x56d326(0xd2)][_0x56d326(0x126)][_0x56d326(0xe3)](_0x56d326(0x7d)),!this[_0x56d326(0x105)])throw new _0x50a0b9(_0x56d326(0x10e),this);const _0x4571e1=_0x56da5f[_0x56d326(0x126)][_0x56d326(0xe3)](_0x56d326(0x179))||_0x29ba18;this[_0x56d326(0xa8)]=new RealTimeCollaborationClient[(_0x56d326(0xa6))](_0x4571e1,this[_0x56d326(0x105)]),this[_0x56d326(0x16c)]=this[_0x56d326(0xd2)][_0x56d326(0xcc)][_0x56d326(0xb6)],this[_0x56d326(0x130)]=new _0x49feac(),this[_0x56d326(0x7f)]=[],this[_0x56d326(0x98)]=new WeakSet(),this[_0x56d326(0x137)]=new Set(),this[_0x56d326(0x92)](_0x56d326(0x8c),!0x1),this[_0x56d326(0x92)](_0x56d326(0xbd),!0x1),this[_0x56d326(0xf9)]=null,this[_0x56d326(0x169)]=!0x1,this[_0x56d326(0x178)]=null,this[_0x56d326(0xed)]=0x12c,this[_0x56d326(0x110)]=this[_0x56d326(0xed)],this[_0x56d326(0x12e)]=null,this[_0x56d326(0xf0)]=new WeakSet(),this[_0x56d326(0x90)]=new J(this[_0x56d326(0xf0)]);}[_0x26d242(0x10f)](){const _0x3e0940=_0x26d242,_0x2f6b6d=this[_0x3e0940(0xd2)],_0x252701=_0x2f6b6d[_0x3e0940(0x11a)][_0x3e0940(0xe3)](_0x5e3fe2),_0x480805=_0x2f6b6d[_0x3e0940(0x11a)][_0x3e0940(0xe3)](_0x38d046);this[_0x3e0940(0x147)](_0x252701,_0x3e0940(0x132),(_0x1310a8,_0x3cbfe6)=>{const _0xa4c316=_0x3e0940,_0x57211c=_0x3cbfe6[0x0];_0x57211c[_0xa4c316(0x11e)]&&(_0x1310a8[_0xa4c316(0xfb)]=_0x252701[_0xa4c316(0x13f)](_0x57211c[_0xa4c316(0x11e)]),_0x1310a8[_0xa4c316(0x96)]()),null===_0x57211c[_0xa4c316(0x11e)]&&(_0x1310a8[_0xa4c316(0xfb)]=null,_0x1310a8[_0xa4c316(0x96)]());},{'priority':_0x3e0940(0xad)}),this[_0x3e0940(0x147)](_0x2f6b6d[_0x3e0940(0xcc)][_0x3e0940(0xb6)][_0x3e0940(0x8b)],_0x3e0940(0x113),(_0x316874,_0x2cf6f0)=>{const _0x32997f=_0x3e0940;_0x2cf6f0[_0x32997f(0xb3)]&&this[_0x32997f(0x121)]();}),this[_0x3e0940(0x147)](_0x2f6b6d[_0x3e0940(0xd8)][_0x3e0940(0x144)],_0x3e0940(0xd6),()=>{const _0x3318ae=_0x3e0940;this[_0x3318ae(0x121)]();}),this[_0x3e0940(0x162)](),_0x2f6b6d[_0x3e0940(0xcc)]['on'](_0x3e0940(0xa9),(_0x29e420,_0x335939)=>{const _0x1784f3=_0x3e0940,_0x2565a2=_0x335939[0x0];_0x2565a2[_0x1784f3(0x161)]&&(this[_0x1784f3(0x15d)](_0x2565a2),this[_0x1784f3(0x173)]()&&this[_0x1784f3(0x152)]());}),this[_0x3e0940(0x14f)](),this[_0x3e0940(0xd7)](_0x3e0940(0x119))['to'](_0x480805,_0x3e0940(0xc4),this,_0x3e0940(0xbd),(_0x5bf17a,_0x40b0ae)=>_0x3e0940(0x8f)===_0x5bf17a&&!_0x40b0ae),this['on'](_0x3e0940(0x13b),()=>{const _0x1899c5=_0x3e0940;this[_0x1899c5(0x119)]?_0x2f6b6d[_0x1899c5(0x83)](_0x1899c5(0x154)):_0x2f6b6d[_0x1899c5(0x9e)](_0x1899c5(0x154));}),this[_0x3e0940(0x119)]?_0x2f6b6d[_0x3e0940(0x83)](_0x3e0940(0x154)):_0x2f6b6d[_0x3e0940(0x9e)](_0x3e0940(0x154)),this[_0x3e0940(0x92)](_0x3e0940(0xc8),!0x1);}async[_0x26d242(0x84)](){const _0x2b67fb=_0x26d242,_0xb387e5=this[_0x2b67fb(0xd2)][_0x2b67fb(0x11a)][_0x2b67fb(0xe3)](_0x1adf10),_0x395039=this[_0x2b67fb(0xd2)][_0x2b67fb(0x11a)][_0x2b67fb(0xe3)](_0x38d046);try{this[_0x2b67fb(0x8c)]=!0x0,_0xb387e5[_0x2b67fb(0x142)](this[_0x2b67fb(0x105)]);const _0x57d8bb=await this[_0x2b67fb(0xa8)][_0x2b67fb(0x84)](_0x395039[_0x2b67fb(0xbb)],this[_0x2b67fb(0x122)]);await this[_0x2b67fb(0x9a)](_0x57d8bb)&&(this[_0x2b67fb(0x8c)]=!0x1,this[_0x2b67fb(0xf5)]());const _0x3d3a08=await this[_0x2b67fb(0xa8)][_0x2b67fb(0x13d)]();_0xb387e5[_0x2b67fb(0xf2)](this[_0x2b67fb(0x105)],_0x3d3a08),this[_0x2b67fb(0x9c)](),this[_0x2b67fb(0xc8)]=!0x0;}catch(_0x2a7e16){if(function(_0x10faae){const _0x2e0ec=_0x2b67fb;return _0x2e0ec(0x138)===_0x10faae[_0x2e0ec(0x135)];}(_0x2a7e16)&&this[_0x2b67fb(0x11c)])await this[_0x2b67fb(0x109)]();else{if(function(_0x468752){const _0x4f0aa0=_0x2b67fb;return _0x4f0aa0(0xbf)===_0x468752[_0x4f0aa0(0x135)];}(_0x2a7e16)){const _0xdc4bd2=_0x3e8d08(this[_0x2b67fb(0xd2)][_0x2b67fb(0xc9)],_0x2b67fb(0x143));this[_0x2b67fb(0x102)](_0xdc4bd2);}else{if(!(_0x2a7e16 instanceof $))throw _0x2a7e16;this[_0x2b67fb(0x102)]();}}}}[_0x26d242(0xd9)](){const _0x11afb2=_0x26d242,_0x288f08=this[_0x11afb2(0xd2)][_0x11afb2(0x11a)][_0x11afb2(0xe3)](_0x38d046),_0x2c7bbc=this[_0x11afb2(0xd2)][_0x11afb2(0x11a)][_0x11afb2(0xe3)](_0x1adf10);this[_0x11afb2(0xd2)][_0x11afb2(0x9e)](_0x11afb2(0xb4)),_0x2c7bbc[_0x11afb2(0x141)][_0x11afb2(0x14c)](this[_0x11afb2(0x105)])&&_0x2c7bbc[_0x11afb2(0x142)](this[_0x11afb2(0x105)]),_0x288f08[_0x11afb2(0xa4)](this),this[_0x11afb2(0x15c)](),super[_0x11afb2(0xd9)]();}async[_0x26d242(0x9a)](_0x467128){const _0x1f28a0=_0x26d242;if(this[_0x1f28a0(0x11c)]!==_0x467128[_0x1f28a0(0x11c)]&&this[_0x1f28a0(0x12e)]!==_0x467128[_0x1f28a0(0x170)])throw new $();return this[_0x1f28a0(0x11c)]=_0x467128[_0x1f28a0(0x11c)],this[_0x1f28a0(0x160)]([],{..._0x467128,'wereChangesApplied':!0x1,'data':_0x467128[_0x1f28a0(0xfa)]},_0x1f28a0(0x84));}async[_0x26d242(0x14a)](_0x35eb46,_0x2f4ebf=!0x1){const _0x523167=_0x26d242,{connection:_0x4ca4ff}=this[_0x523167(0xd2)][_0x523167(0x11a)][_0x523167(0xe3)](_0x38d046);RealTimeCollaborationClient[_0x523167(0xa6)][_0x523167(0x13d)](_0x4ca4ff,this[_0x523167(0x105)])[_0x523167(0xa0)](_0x1d157a=>this[_0x523167(0xce)](_0x1d157a))[_0x523167(0x85)](_0x3ff39c=>{const _0x49ecdb=_0x523167;this[_0x49ecdb(0x82)](_0x49ecdb(0x16a),_0x3ff39c);}),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xae),this[_0x523167(0xda)][_0x523167(0xd7)](this)),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xe6),(_0x576977,_0x444eda)=>{const _0x4d21b0=_0x523167;this[_0x4d21b0(0x82)](_0x4d21b0(0xa1),_0x444eda);}),this[_0x523167(0x147)](this[_0x523167(0xa8)],_0x523167(0xf7),()=>{const _0x54a299=_0x523167;this[_0x54a299(0xc8)]=!0x1;});const _0x36cf79=this[_0x523167(0x90)][_0x523167(0x134)](_0x35eb46);this[_0x523167(0x8c)]=!0x0;const _0x4a07ca=await this[_0x523167(0xa8)][_0x523167(0xe2)](_0x4ca4ff,this[_0x523167(0x93)](_0x35eb46),_0x36cf79);if(this[_0x523167(0x11c)]=_0x4a07ca[_0x523167(0x11c)],_0x2f4ebf){if(!_0x4a07ca[_0x523167(0x139)])return void this[_0x523167(0x102)]();this[_0x523167(0x8c)]=!0x1,this[_0x523167(0xf5)](),this[_0x523167(0x9d)][_0x523167(0x103)](),this[_0x523167(0x16b)]=_0x4a07ca[_0x523167(0xe4)],this[_0x523167(0x9d)][_0x523167(0x81)]=this[_0x523167(0x16b)],await this[_0x523167(0x160)](_0x35eb46,_0x4a07ca,_0x523167(0x167));}else await this[_0x523167(0x174)](_0x4a07ca,_0x35eb46);this[_0x523167(0x9c)](),this[_0x523167(0xc8)]=!0x0;}[_0x26d242(0x9c)](){const _0x404fe3=_0x26d242,_0xe2d9eb=this[_0x404fe3(0xd2)][_0x404fe3(0x11a)][_0x404fe3(0xe3)](_0x1adf10),_0x2cf986=this[_0x404fe3(0xd2)][_0x404fe3(0x11a)][_0x404fe3(0xe3)](_0x395f5d),_0x230d49=_0xe2d9eb[_0x404fe3(0x141)][_0x404fe3(0xe3)](this[_0x404fe3(0x105)]);_0x230d49&&_0x230d49[_0x404fe3(0x145)]>0x1?_0x2cf986[_0x404fe3(0xfc)]():this[_0x404fe3(0x147)](_0xe2d9eb,_0x404fe3(0xeb)+this[_0x404fe3(0x105)],()=>{const _0x21d876=_0x404fe3;0x2===_0xe2d9eb[_0x21d876(0x141)][_0x21d876(0xe3)](this[_0x21d876(0x105)])[_0x21d876(0x145)]&&_0x2cf986[_0x21d876(0xfc)]();});}async[_0x26d242(0xda)](_0x5c8698,_0x7ec980,_0x99aff,_0x8e4cc3){const _0x1b3e8b=_0x26d242;if(!this[_0x1b3e8b(0x8c)]&&this[_0x1b3e8b(0x16c)][_0x1b3e8b(0x81)]==_0x7ec980){const _0x40c36e=this[_0x1b3e8b(0x175)](_0x99aff,_0x8e4cc3);await this[_0x1b3e8b(0x13e)](_0x40c36e),this[_0x1b3e8b(0x7c)](_0x40c36e,_0x7ec980,_0x99aff[_0x1b3e8b(0x170)])||this[_0x1b3e8b(0x82)](_0x1b3e8b(0x16f));}}async[_0x26d242(0x109)](){const _0x5cb841=_0x26d242;this[_0x5cb841(0x15c)]();const {locale:_0x3b4956}=this[_0x5cb841(0xd2)];let _0x3e8b34;try{_0x3e8b34=await this[_0x5cb841(0xa8)][_0x5cb841(0x89)]();}catch{const _0x37c62f=_0x3e8d08(_0x3b4956,_0x5cb841(0x155));return void this[_0x5cb841(0x102)](_0x37c62f);}const _0x2233f2=_0x3e8b34[_0x5cb841(0x17b)]||_0x3e8b34[_0x5cb841(0x10d)];if(this[_0x5cb841(0x12e)]!==_0x2233f2[_0x5cb841(0x170)]){const _0xc0ba58=_0x3e8d08(_0x3b4956,_0x5cb841(0xdc));return void this[_0x5cb841(0x102)](_0xc0ba58);}await this[_0x5cb841(0x14a)](this[_0x5cb841(0xd2)][_0x5cb841(0xcc)][_0x5cb841(0xb6)][_0x5cb841(0x79)][_0x5cb841(0x166)](),!0x0);}[_0x26d242(0x15c)](){const _0x401108=_0x26d242;this[_0x401108(0xa8)][_0x401108(0xdb)](),this[_0x401108(0x7f)]=[],clearTimeout(this[_0x401108(0x178)]),this[_0x401108(0xb9)](this[_0x401108(0xa8)]);}[_0x26d242(0xce)](_0x4b7278){const _0x4ee1df=_0x26d242,_0x142d2e=this[_0x4ee1df(0xd2)][_0x4ee1df(0x11a)][_0x4ee1df(0xe3)](_0x1adf10);this[_0x4ee1df(0x147)](_0x142d2e,_0x4ee1df(0xeb)+this[_0x4ee1df(0x105)],(_0x37906a,{session:_0x3fa1d4})=>{const _0x38a6f0=_0x4ee1df;if(_0x3fa1d4['id']===_0x142d2e[_0x38a6f0(0x10b)]){_0x37906a[_0x38a6f0(0xec)]();const _0x3f5295=this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0x14c)](_0x38a6f0(0x112))&&this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0xe3)](_0x38a6f0(0x112));let _0x5b8f4c=_0x3fa1d4[_0x38a6f0(0xb5)];_0x3f5295&&_0x3f5295[_0x38a6f0(0xe7)]&&(_0x5b8f4c=_0x5b8f4c[_0x38a6f0(0x128)](_0x4d2335=>_0x38a6f0(0xba)!==_0x4d2335)),this[_0x38a6f0(0xd2)][_0x38a6f0(0x11a)][_0x38a6f0(0xe3)](_0x38a6f0(0x12a))[_0x38a6f0(0x8a)](_0x5b8f4c,this[_0x38a6f0(0x105)]);}}),_0x142d2e[_0x4ee1df(0xf2)](this[_0x4ee1df(0x105)],_0x4b7278);}[_0x26d242(0x162)](){const _0x4d2bc5=_0x26d242,_0x2807d3=this[_0x4d2bc5(0xd2)][_0x4d2bc5(0xfa)][_0x4d2bc5(0x92)];this[_0x4d2bc5(0xd2)][_0x4d2bc5(0xfa)][_0x4d2bc5(0x92)]=(..._0x18d4f0)=>{const _0x49f9b0=_0x4d2bc5;if(!_0x18d4f0[_0x18d4f0[_0x49f9b0(0x145)]-0x1][_0x49f9b0(0x11f)])throw new _0x50a0b9(_0x49f9b0(0xb0),this);_0x2807d3[_0x49f9b0(0xcf)](this[_0x49f9b0(0xd2)][_0x49f9b0(0xfa)],_0x18d4f0);};}[_0x26d242(0x14f)](){const _0x1c46dd=_0x26d242;this[_0x1c46dd(0xd2)][_0x1c46dd(0xfa)]['on'](_0x1c46dd(0x10f),(_0x15518b,[_0x7325e])=>{const _0x39f800=_0x1c46dd;if(this[_0x39f800(0x16c)][_0x39f800(0x81)])throw new _0x50a0b9(_0x39f800(0xa3),this);_0x15518b[_0x39f800(0x96)](),this[_0x39f800(0xcb)]();const _0x3dad78=this[_0x39f800(0xd2)][_0x39f800(0x126)][_0x39f800(0xe3)](_0x39f800(0xc7)),_0x506764=this[_0x39f800(0x17c)](_0x7325e,_0x3dad78);0x0==_0x506764[_0x39f800(0x145)]&&_0x506764[_0x39f800(0xb1)](new _0x328ec9(0x0)),_0x15518b[_0x39f800(0xfb)]=this[_0x39f800(0x14a)](_0x506764)[_0x39f800(0xa0)](()=>{const _0x16f3ab=_0x39f800;this[_0x16f3ab(0xd2)][_0x16f3ab(0x11a)][_0x16f3ab(0xe3)](_0x38d046)[_0x16f3ab(0x107)](this),this[_0x16f3ab(0xd2)][_0x16f3ab(0xfa)][_0x16f3ab(0x8d)](_0x16f3ab(0x168));})[_0x39f800(0x85)](_0x496f6b=>this[_0x39f800(0x82)](_0x39f800(0x9b),_0x496f6b))[_0x39f800(0x123)](()=>this[_0x39f800(0xf5)]());},{'priority':_0x1c46dd(0xad)}),this[_0x1c46dd(0xd2)]['on'](_0x1c46dd(0x120),async(_0x45d723,[_0x30239b,_0x689bad])=>{const _0x1e0624=_0x1c46dd;_0x45d723[_0x1e0624(0x96)]();const _0x18b186=this[_0x1e0624(0xd2)][_0x1e0624(0xcc)][_0x1e0624(0xb6)][_0x1e0624(0xd5)](_0x30239b);if(!this[_0x1e0624(0x137)][_0x1e0624(0x14c)](_0x30239b)){const _0x3aad3f=_0x689bad&&_0x689bad[_0x1e0624(0xfa)]?_0x689bad[_0x1e0624(0xfa)]:'',_0x366fda=_0x689bad&&_0x689bad[_0x1e0624(0xc5)]?_0x689bad[_0x1e0624(0xc5)]:{};await this[_0x1e0624(0xa2)](_0x30239b,_0x3aad3f,_0x366fda);}this[_0x1e0624(0xd2)][_0x1e0624(0xcc)][_0x1e0624(0x10a)]({'isUndoable':!0x1},()=>{const _0x5a1e03=_0x1e0624;_0x18b186[_0x5a1e03(0x151)]=!0x0,this[_0x5a1e03(0xd2)][_0x5a1e03(0xcc)][_0x5a1e03(0xb6)][_0x5a1e03(0x116)][_0x5a1e03(0xee)](_0x18b186);});},{'priority':_0x1c46dd(0xad)});}async[_0x26d242(0x13e)](_0x44334a){const _0x4af3b7=_0x26d242,_0x4f8fd3=this[_0x4af3b7(0xd2)][_0x4af3b7(0x11a)][_0x4af3b7(0xe3)](_0x5e3fe2),{connection:_0x311409}=this[_0x4af3b7(0xd2)][_0x4af3b7(0x11a)][_0x4af3b7(0xe3)](_0x38d046),_0x1fcf77=new Set();for(const _0x166266 of _0x44334a){const _0x902ea1=_0x166266[_0x4af3b7(0x11e)];_0x902ea1&&!_0x4f8fd3[_0x4af3b7(0x13f)](_0x902ea1)&&_0x1fcf77[_0x4af3b7(0xf3)](_0x902ea1);}if(0x0===_0x1fcf77[_0x4af3b7(0x7e)])return;const _0x43250f=await _0x21e716[_0x4af3b7(0x171)](_0x311409,Array[_0x4af3b7(0x15a)](_0x1fcf77));for(const _0x177a3a of _0x43250f)_0x4f8fd3[_0x4af3b7(0x13f)](_0x177a3a['id'])||_0x4f8fd3[_0x4af3b7(0x12c)](_0x177a3a);}[_0x26d242(0x17c)](_0x22fd02,_0x1bf133={}){const _0x255f77=_0x26d242,_0x50c800=this[_0x255f77(0xd2)][_0x255f77(0xcc)],_0x100244=[];let _0x402928=0x0;const _0x2bcf68=_0x255f77(0xd1)==typeof _0x22fd02?{'main':_0x22fd02}:_0x22fd02;for(const _0x71d8f8 of Object[_0x255f77(0xe5)](_0x2bcf68)){if(!this[_0x255f77(0x16c)][_0x255f77(0xef)][_0x255f77(0x14c)](_0x71d8f8))throw new _0x50a0b9(_0x255f77(0xa5),this);const _0x14fded=this[_0x255f77(0xd2)][_0x255f77(0xfa)][_0x255f77(0x136)](_0x2bcf68[_0x71d8f8]),_0x11a656=this[_0x255f77(0x16c)][_0x255f77(0xd5)](_0x71d8f8),_0x80227a=new _0x5b750a(_0x50c800[_0x255f77(0xc6)](_0x11a656,0x0),_0x14fded,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x80227a);for(const [_0x5e4041,_0x3a22f6]of _0x14fded[_0x255f77(0xbc)]){const _0x1118de=_0x50c800[_0x255f77(0xe8)](_0x50c800[_0x255f77(0x106)](_0x11a656,_0x3a22f6[_0x255f77(0x17e)][_0x255f77(0xaa)][_0x255f77(0xc0)]()),_0x50c800[_0x255f77(0x106)](_0x11a656,_0x3a22f6[_0x255f77(0xff)][_0x255f77(0xaa)][_0x255f77(0xc0)]())),_0x433edf=new _0x1768ee(_0x5e4041,null,_0x1118de,_0x50c800[_0x255f77(0xbc)],!0x0,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x433edf);}}if(_0x1bf133)for(const [_0x3a5618,_0x1e1115]of Object[_0x255f77(0x15e)](_0x1bf133)){const _0x5335e9=_0x50c800[_0x255f77(0xb6)][_0x255f77(0xd5)](_0x3a5618);if(!_0x5335e9)throw new _0x50a0b9(_0x255f77(0xca),null);for(const [_0x3b3b2f,_0x3cb0fc]of Object[_0x255f77(0x15e)](_0x1e1115))if(null!==_0x3cb0fc){const _0x29073a=new _0x15ff31(_0x5335e9,_0x3b3b2f,null,_0x3cb0fc,_0x402928++);_0x100244[_0x255f77(0xb1)](_0x29073a);}}return _0x100244;}async[_0x26d242(0xa2)](_0x5c10b1,_0x6ed28f,_0xfbe8b8){const _0x3e4ee6=_0x26d242;this[_0x3e4ee6(0x17c)]({[_0x5c10b1]:_0x6ed28f},{[_0x5c10b1]:_0xfbe8b8})[_0x3e4ee6(0xb2)]((_0x4148fc,_0x4525ac)=>{const _0x3f3bd6=_0x3e4ee6;_0x4148fc[_0x3f3bd6(0xd0)]=this[_0x3f3bd6(0x16c)][_0x3f3bd6(0x81)]+_0x4525ac,_0x4148fc[_0x3f3bd6(0xe1)]=!0x0,this[_0x3f3bd6(0x15d)](_0x4148fc);}),this[_0x3e4ee6(0x152)](),await this[_0x3e4ee6(0x158)]();}async[_0x26d242(0x174)](_0x42726a,_0x4a37e4){const _0x508c60=_0x26d242;let _0x3e6f2b;this[_0x508c60(0x16b)]=_0x42726a[_0x508c60(0xe4)];const _0x489c31=_0x42726a[_0x508c60(0x139)]&&!_0x42726a[_0x508c60(0x117)],_0x467bdc=_0x489c31?0x0:_0x42726a[_0x508c60(0xfa)][_0x508c60(0xd0)];if(_0x4a37e4[_0x508c60(0xb2)](_0x2d38e1=>{const _0x5cd501=_0x508c60;_0x2d38e1[_0x5cd501(0xe1)]=!0x0,_0x2d38e1[_0x5cd501(0x153)]=_0x42726a[_0x5cd501(0x91)],_0x2d38e1[_0x5cd501(0x11e)]=null;}),_0x489c31)_0x3e6f2b=_0x4a37e4,this[_0x508c60(0x16d)](_0x3e6f2b,_0x489c31);else{if(_0x42726a[_0x508c60(0x117)]){const _0x20db31=this[_0x508c60(0x17c)](_0x42726a[_0x508c60(0x117)]);this[_0x508c60(0x16c)][_0x508c60(0x79)][_0x508c60(0x81)]=-_0x20db31[_0x508c60(0x145)],_0x20db31[_0x508c60(0xb2)](_0x215280=>{const _0x3b5baa=_0x508c60;_0x215280[_0x3b5baa(0xd0)]-=_0x20db31[_0x3b5baa(0x145)],_0x215280[_0x3b5baa(0x153)]=_0x42726a[_0x3b5baa(0x91)],_0x215280[_0x3b5baa(0xe1)]=!0x0,_0x215280[_0x3b5baa(0x11e)]=null;}),this[_0x508c60(0x16d)](_0x20db31,!0x0),this[_0x508c60(0x9d)][_0x508c60(0x81)]=-_0x20db31[_0x508c60(0x145)]+this[_0x508c60(0x16b)],this[_0x508c60(0x114)](_0x20db31);}this[_0x508c60(0x16c)][_0x508c60(0x79)][_0x508c60(0x81)]=_0x467bdc,_0x3e6f2b=this[_0x508c60(0x175)](_0x42726a[_0x508c60(0xfa)],_0x42726a[_0x508c60(0x13c)]),await this[_0x508c60(0x13e)](_0x3e6f2b),this[_0x508c60(0x16d)](_0x3e6f2b,_0x489c31);}_0x42726a[_0x508c60(0x170)]&&(this[_0x508c60(0x90)][_0x508c60(0xc2)](_0x3e6f2b,_0x42726a[_0x508c60(0x170)]),this[_0x508c60(0x12e)]=_0x42726a[_0x508c60(0x170)]),this[_0x508c60(0x9d)][_0x508c60(0x81)]=_0x467bdc+this[_0x508c60(0x16b)],this[_0x508c60(0x114)](_0x3e6f2b),_0x4a37e4[_0x508c60(0x128)](_0x250c9f=>{const _0x23fea6=_0x508c60,_0x2bab68=this[_0x23fea6(0x17a)](_0x250c9f);return _0x2bab68&&!this[_0x23fea6(0x137)][_0x23fea6(0x14c)](_0x2bab68);})[_0x508c60(0xb2)]((_0x5c4761,_0x2aab75)=>{const _0x14528e=_0x508c60;_0x5c4761[_0x14528e(0xd0)]=this[_0x14528e(0x16c)][_0x14528e(0x81)]+_0x2aab75,this[_0x14528e(0x15d)](_0x5c4761);}),this[_0x508c60(0x173)]()?(this[_0x508c60(0x110)]=0x0,this[_0x508c60(0x152)](!0x0),await this[_0x508c60(0x158)]()):(this[_0x508c60(0x8c)]=!0x1,this[_0x508c60(0xf5)]());}[_0x26d242(0x82)](_0x176bef,_0x460d06){const _0x230c16=_0x26d242,_0x145f36=_0x460d06&&_0x460d06[_0x230c16(0xd4)];if(_0x145f36&&_0x145f36[_0x230c16(0x94)](_0x230c16(0x86)))throw _0x460d06;const _0x1f6ca5=this[_0x230c16(0xd2)][_0x230c16(0x11a)][_0x230c16(0xe3)](_0x38d046);throw this[_0x230c16(0x8c)]=!0x0,_0x1f6ca5[_0x230c16(0xdb)](),this[_0x230c16(0xd2)][_0x230c16(0x9e)](_0x230c16(0x7a)),new _0x50a0b9(_0x176bef,this[_0x230c16(0xd2)],_0x145f36?{'originalError':_0x145f36}:void 0x0);}[_0x26d242(0x15d)](_0x7aa987){const _0x2bbdff=_0x26d242;this[_0x2bbdff(0x98)][_0x2bbdff(0x14c)](_0x7aa987)||(this[_0x2bbdff(0x98)][_0x2bbdff(0xf3)](_0x7aa987),this[_0x2bbdff(0x7f)][_0x2bbdff(0xb1)](_0x7aa987),this[_0x2bbdff(0xf9)]||_0x2bbdff(0x118)==_0x7aa987[_0x2bbdff(0x80)]&&!_0x7aa987[_0x2bbdff(0x104)]||this[_0x2bbdff(0xcb)]());}[_0x26d242(0x152)](_0x41532f=!0x1){const _0x4c0742=_0x26d242;!_0x41532f&&this[_0x4c0742(0x8c)]||(this[_0x4c0742(0x8c)]=!0x0,clearTimeout(this[_0x4c0742(0x178)]),this[_0x4c0742(0x178)]=setTimeout(()=>{const _0x30abcf=_0x4c0742;this[_0x30abcf(0xc3)]()[_0x30abcf(0xa0)](_0x557bbe=>{const _0x4fab7c=_0x30abcf;_0x557bbe&&(this[_0x4fab7c(0xf5)](),this[_0x4fab7c(0x8c)]=!0x1);})[_0x30abcf(0x85)](_0x178ce5=>{const _0x447493=_0x30abcf;this[_0x447493(0xf5)](),this[_0x447493(0x8c)]=!0x1,function(_0x16f665){const _0x35c3a8=_0x447493;return _0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x15b))||_0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x159))||_0x16f665[_0x35c3a8(0xd4)][_0x35c3a8(0x94)](_0x35c3a8(0x13a));}(_0x178ce5)||this[_0x447493(0x82)](_0x178ce5[_0x447493(0xd4)],_0x178ce5);});},this[_0x4c0742(0x110)]));}[_0x26d242(0x158)](){return new Promise(_0x3d10d2=>{const _0x1366ca=_0xe5ab;this['on'](_0x1366ca(0xf8),()=>{_0x3d10d2();});});}async[_0x26d242(0xc3)](){const _0x4a6681=_0x26d242,_0x1ef5b9=this[_0x4a6681(0xd2)][_0x4a6681(0x11a)][_0x4a6681(0xe3)](_0x395f5d);if(this[_0x4a6681(0xf1)]()&&(_0x1ef5b9[_0x4a6681(0xfc)](),this[_0x4a6681(0x169)]=!0x1),!this[_0x4a6681(0x173)]())return!0x0;const _0xcb9492=[...this[_0x4a6681(0x7f)]];for(const _0x243732 of _0xcb9492)_0x243732[_0x4a6681(0xb8)]=this[_0x4a6681(0x16c)][_0x4a6681(0x79)][_0x4a6681(0xe9)](_0x243732);const _0x82e743=this[_0x4a6681(0x90)][_0x4a6681(0x134)](_0xcb9492),_0x2762d0=G++,_0x552d9c=this[_0x4a6681(0x93)](_0xcb9492),_0x2358ec=await this[_0x4a6681(0xa8)][_0x4a6681(0x146)](_0x552d9c,_0x552d9c[_0x4a6681(0xd0)],_0x82e743);try{return await this[_0x4a6681(0x160)](_0xcb9492,_0x2358ec,_0x2762d0);}catch(_0x487d17){return this[_0x4a6681(0x82)](_0x4a6681(0x163),_0x487d17);}}async[_0x26d242(0x160)](_0x3d61fa,_0x15c387,_0x1f8ca2){const _0xdb1fe3=_0x26d242;if(_0xdb1fe3(0xe6)in _0x15c387)throw _0x15c387[_0xdb1fe3(0xe6)];let _0x475afa=!0x1;if(_0x15c387[_0xdb1fe3(0x139)]){_0x15c387[_0xdb1fe3(0x170)]&&(this[_0xdb1fe3(0x12e)]=_0x15c387[_0xdb1fe3(0x170)]),this[_0xdb1fe3(0x7f)]=this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x128)](_0x466f0f=>!_0x3d61fa[_0xdb1fe3(0x124)](_0x466f0f));for(const _0x10b93e of _0x3d61fa)_0x10b93e[_0xdb1fe3(0x153)]=_0xdb1fe3(0xfe)in _0x15c387&&_0x15c387[_0xdb1fe3(0xfe)]||void 0x0;K(_0x3d61fa,_0x15c387[_0xdb1fe3(0x81)]-_0x3d61fa[_0xdb1fe3(0x145)]),this[_0xdb1fe3(0x114)](_0x3d61fa);const _0x3fb8d5=_0x3d61fa[_0xdb1fe3(0x128)](_0x1993fb=>{const _0x1b37f9=_0xdb1fe3;if(!_0x1993fb[_0x1b37f9(0xe1)])return!0x1;const _0x4164f7=this[_0x1b37f9(0x17a)](_0x1993fb);return _0x4164f7&&!this[_0x1b37f9(0x137)][_0x1b37f9(0x14c)](_0x4164f7);});K(_0x3fb8d5,this[_0xdb1fe3(0x16c)][_0xdb1fe3(0x81)]),this[_0xdb1fe3(0x16d)](_0x3fb8d5),_0x475afa=!0x0,this[_0xdb1fe3(0x110)]=this[_0xdb1fe3(0xed)];}else{const _0x31b79d=this[_0xdb1fe3(0x175)](_0x15c387[_0xdb1fe3(0xfa)],_0x15c387[_0xdb1fe3(0x13c)])[_0xdb1fe3(0x128)](_0x1e201b=>_0x1e201b[_0xdb1fe3(0xd0)]>=this[_0xdb1fe3(0x14b)]);_0x31b79d[_0xdb1fe3(0xb2)](_0x2cfab8=>this[_0xdb1fe3(0x11d)](_0x2cfab8)),this[_0xdb1fe3(0x7f)]=this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x128)](_0x35c62a=>!_0x35c62a[_0xdb1fe3(0xe1)]||!this[_0xdb1fe3(0x137)][_0xdb1fe3(0x14c)](this[_0xdb1fe3(0x17a)](_0x35c62a))),this[_0xdb1fe3(0x7f)][_0xdb1fe3(0x145)]&&K(this[_0xdb1fe3(0x7f)],this[_0xdb1fe3(0x7f)][0x0][_0xdb1fe3(0xd0)]),await this[_0xdb1fe3(0x13e)](_0x31b79d),_0x475afa=this[_0xdb1fe3(0x7c)](_0x31b79d,_0x15c387[_0xdb1fe3(0x81)],_0x15c387[_0xdb1fe3(0x170)]),this[_0xdb1fe3(0x110)]=Math[_0xdb1fe3(0x172)](this[_0xdb1fe3(0x110)]/0x2);}return _0x475afa?!this[_0xdb1fe3(0x173)]()||(this[_0xdb1fe3(0x152)](!0x0),!0x1):this[_0xdb1fe3(0x82)](_0xdb1fe3(0x88));}[_0x26d242(0x7c)](_0x8ad63b,_0x549acd,_0x44c18c){const _0x5c0ae0=_0x26d242;try{const _0x18a00d={'document':this[_0x5c0ae0(0x16c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x25459e,operationsB:_0x315929,originalOperations:_0x1a88bb}=_0x30a7c4(_0x8ad63b,this[_0x5c0ae0(0x7f)],_0x18a00d);K(_0x25459e,this[_0x5c0ae0(0x16c)][_0x5c0ae0(0x81)]),K(_0x315929,_0x549acd);for(const _0xef920e of _0x25459e){const _0x2613ba=_0x1a88bb[_0x5c0ae0(0xe3)](_0xef920e);_0xef920e[_0x5c0ae0(0x11e)]=_0x2613ba?_0x2613ba[_0x5c0ae0(0x11e)]:null;}_0x44c18c&&(this[_0x5c0ae0(0x90)][_0x5c0ae0(0xc2)](_0x8ad63b,_0x44c18c),this[_0x5c0ae0(0x12e)]=_0x44c18c),this[_0x5c0ae0(0x7f)]=[..._0x315929],this[_0x5c0ae0(0x16d)](_0x25459e),this[_0x5c0ae0(0x114)](_0x8ad63b);}catch(_0x501f0f){return console[_0x5c0ae0(0xe6)](_0x501f0f),!0x1;}return!0x0;}[_0x26d242(0x16d)](_0x1811d5,_0x57d22f=!0x1){const _0x5700ab=_0x26d242;this[_0x5700ab(0xd2)][_0x5700ab(0xcc)][_0x5700ab(0x10a)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5c888b=>{const _0x5b7030=_0x5700ab;for(const _0x2a6ad5 of _0x1811d5)this[_0x5b7030(0x98)][_0x5b7030(0xf3)](_0x2a6ad5),this[_0x5b7030(0x11d)](_0x2a6ad5),_0x5c888b[_0x5b7030(0x148)][_0x5b7030(0xd3)](_0x2a6ad5),this[_0x5b7030(0xd2)][_0x5b7030(0xcc)][_0x5b7030(0xa9)](_0x2a6ad5);});}[_0x26d242(0x11d)](_0xb7e6c9){const _0x507c07=_0x26d242,_0x7f9bba=this[_0x507c07(0x17a)](_0xb7e6c9);_0x7f9bba&&this[_0x507c07(0x137)][_0x507c07(0xf3)](_0x7f9bba);}[_0x26d242(0x17a)](_0x11c7cf){const _0x1509d0=_0x26d242;let _0x6813e5,_0xeff81;switch(_0x11c7cf[_0x1509d0(0x80)]){case _0x1509d0(0x176):_0x6813e5=_0x11c7cf[_0x1509d0(0x15f)][_0x1509d0(0x133)];break;case _0x1509d0(0x118):if(_0xeff81=_0x11c7cf[_0x1509d0(0x11b)],!_0xeff81)return null;_0x6813e5=_0xeff81[_0x1509d0(0x133)];break;case _0x1509d0(0x177):_0x6813e5=_0x11c7cf[_0x1509d0(0x133)];break;case _0x1509d0(0x8e):_0x6813e5=_0x11c7cf[_0x1509d0(0x129)];break;case _0x1509d0(0x125):_0x6813e5=_0x11c7cf[_0x1509d0(0x164)][_0x1509d0(0x133)];break;default:return null;}return _0x6813e5[_0x1509d0(0x10c)];}[_0x26d242(0x114)](_0x5186f9){const _0x48430a=_0x26d242;_0x5186f9[_0x48430a(0xb2)](_0x14c015=>{const _0x5a5917=_0x48430a,_0x516cda=_0x14c015[_0x5a5917(0xb7)]();_0x516cda[_0x5a5917(0x11e)]=_0x14c015[_0x5a5917(0x11e)],_0x516cda[_0x5a5917(0xe1)]=!!_0x14c015[_0x5a5917(0xe1)],_0x516cda[_0x5a5917(0x153)]=_0x14c015[_0x5a5917(0x153)],_0x516cda[_0x5a5917(0xd0)]+=this[_0x5a5917(0x16b)],_0x14c015[_0x5a5917(0x149)]&&this[_0x5a5917(0xf0)][_0x5a5917(0xf3)](_0x516cda),this[_0x5a5917(0x9d)][_0x5a5917(0xd3)](_0x516cda);});}[_0x26d242(0x102)](_0x7c2c95){const _0x3cdd4d=_0x26d242,_0x5478b9=this[_0x3cdd4d(0xd2)][_0x3cdd4d(0x11a)][_0x3cdd4d(0xe3)](_0x3cdd4d(0xdd)),_0x487ee8=this[_0x3cdd4d(0xd2)][_0x3cdd4d(0xc9)];_0x7c2c95||(_0x7c2c95=_0x3e8d08(_0x487ee8,_0x3cdd4d(0x12b))),_0x5478b9[_0x3cdd4d(0x108)](_0x7c2c95,{'title':_0x3e8d08(_0x487ee8,_0x3cdd4d(0xaf)),'namespace':_0x3cdd4d(0xbe)}),this[_0x3cdd4d(0xbd)]=!0x0,clearTimeout(this[_0x3cdd4d(0x178)]),this[_0x3cdd4d(0x7f)]=[],this[_0x3cdd4d(0xd2)][_0x3cdd4d(0x11a)][_0x3cdd4d(0xe3)](_0x38d046)[_0x3cdd4d(0xdb)]();}[_0x26d242(0xcb)](){const _0x311a60=_0x26d242;this[_0x311a60(0xf9)]||(this[_0x311a60(0xf9)]=this[_0x311a60(0xd2)][_0x311a60(0x11a)][_0x311a60(0xe3)](_0x5c3be5)[_0x311a60(0xf3)](_0x3e8d08(this[_0x311a60(0xd2)][_0x311a60(0xc9)],_0x311a60(0xcd))));}[_0x26d242(0xf5)](){const _0x569d0b=_0x26d242;this[_0x569d0b(0xf9)]&&(this[_0x569d0b(0xd2)][_0x569d0b(0x11a)][_0x569d0b(0xe3)](_0x5c3be5)[_0x569d0b(0xf6)](this[_0x569d0b(0xf9)]),this[_0x569d0b(0xf9)]=null);}[_0x26d242(0x93)](_0x2ea370){const _0x209fa1=_0x26d242,_0x413e4b=_0x2ea370[_0x209fa1(0x12f)](_0x13e688=>_0x13e688[_0x209fa1(0xc1)]());return this[_0x209fa1(0x130)][_0x209fa1(0x14e)](_0x413e4b);}[_0x26d242(0x175)](_0x28c597,_0x4e6883){const _0x1a5250=_0x26d242;return this[_0x1a5250(0x130)][_0x1a5250(0xac)](_0x28c597)[_0x1a5250(0x12f)]((_0x21f3e2,_0x21e01b)=>{const _0x4f0dea=_0x1a5250,_0x41fcd1=_0x4f0dea(0x10f)==_0x4e6883[_0x21e01b][_0x4f0dea(0x80)];if(_0x4f0dea(0x99)==_0x21f3e2[_0x4f0dea(0xa7)]){const _0x384839=_0x21f3e2[_0x4f0dea(0x15f)][_0x4f0dea(0x133)];!this[_0x4f0dea(0x16c)][_0x4f0dea(0xd5)](_0x384839)&&(this[_0x4f0dea(0x16c)][_0x4f0dea(0x95)](_0x4f0dea(0x140),_0x384839)[_0x4f0dea(0xdf)]=!0x1);}const _0x50e9f1=_0x2a60df[_0x4f0dea(0x115)](_0x21f3e2,this[_0x4f0dea(0x16c)]);return _0x50e9f1[_0x4f0dea(0xb8)]=_0x21f3e2[_0x4f0dea(0xb8)],_0x50e9f1[_0x4f0dea(0xe1)]=_0x41fcd1,_0x50e9f1[_0x4f0dea(0x11e)]=_0x41fcd1?null:_0x4e6883[_0x21e01b][_0x4f0dea(0x14d)],_0x50e9f1[_0x4f0dea(0x149)]=_0x4f0dea(0x100)===_0x4e6883[_0x21e01b][_0x4f0dea(0x80)],_0x50e9f1[_0x4f0dea(0x153)]=_0x4e6883[_0x21e01b][_0x4f0dea(0x153)],_0x50e9f1;});}[_0x26d242(0x121)](){const _0x2cc285=_0x26d242;this[_0x2cc285(0x169)]=!0x0,this[_0x2cc285(0xf1)]()?this[_0x2cc285(0x152)]():this[_0x2cc285(0x169)]=!0x1;}[_0x26d242(0xf1)](){const _0x6b4f3c=_0x26d242,_0x4714dd=this[_0x6b4f3c(0xd2)][_0x6b4f3c(0x11a)][_0x6b4f3c(0xe3)](_0x1adf10)[_0x6b4f3c(0x141)][_0x6b4f3c(0xe3)](this[_0x6b4f3c(0x105)]);return!this[_0x6b4f3c(0xd2)][_0x6b4f3c(0x131)]&&!!_0x4714dd&&_0x4714dd[_0x6b4f3c(0x145)]>0x1&&this[_0x6b4f3c(0x169)];}[_0x26d242(0x173)](){const _0x5f4277=_0x26d242;return this[_0x5f4277(0x7f)][_0x5f4277(0x145)]>0x0||this[_0x5f4277(0xf1)]();}}class $ extends Error{}function _0x1412(){const _0x483313=['1342164LoPOuu','then','realtimecollaborationclient-init-service-internal-error','_loadRoot','realtimecollaborationclient-init-document-already-initialized','removeFromReconnectionStack','realtimecollaborationclient-init-non-existent-root','CollaborativeEditingService','__className','_service','applyOperation','path','define','decompress','high','operationsReceived','Synchronization\x20issue','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','push','forEach','directChange','rtc-destroyed','permissions','document','clone','wasUndone','stopListening','document:write','connection','markers','_hasSynchronizationProblem','real-time-collaboration','409','slice','toJSON','setIdForTheLastOperation','_sendBufferedOperations','state','attributes','createPositionAt','rootsAttributes','_isConnected','locale','multi-root-editor-root-attributes-no-root','_setPendingAction','model','PENDING_ACTION_SENDING_DATA','_initSessionsHandling','apply','baseVersion','string','editor','addOperation','message','getRoot','change:hasDomSelection','bind','editing','destroy','_handleReceivedOperations','disconnect','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.','Notification','2752254QzlNAY','_isAttached','_ignoredOperations','_isInit','connect','get','offset','keys','error','isEnabled','createRange','isUndoneOperation','pluginName','sessionAdd:','off','_baseBufferDelay','_bufferRootLoad','roots','_disconnectionOperations','_shouldSendSelectionUpdate','register','add','requires','_clearPendingAction','remove','disconnected','change:_isPendingUpdate','_pendingAction','data','return','createUserMarkerOperations','cloudDocumentVersion','lastOperationAcceptedAt','end','cs:removeUser','17333770WGOZam','_handleReconnectionError','reset','affectsData','_channelId','createPositionFromPath','addToReconnectionStack','showWarning','_connectAfterSessionHasBeenFlushed','enqueueChange','mySessionId','rootName','lastDocumentSession','collaboration-missing-channelid','init','_currentBufferDelay','452415HzyVlL','CommentsOnly','change:range','_updateServerHistory','fromJSON','differ','initData','marker','_isEditingAllowed','plugins','newRange','sessionId','_addKnownRoot','_authorId','suppressErrorInCollaboration','loadRoot','_refreshUserSelectionMarkers','lastSyncVersion','finally','includes','move','config','12VeTEeY','filter','affectedSelectable','Permissions','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.','addUser','_operationToId','_lastSyncedOperationId','map','_compressor','isReadOnly','getOperationAuthor','root','getIdOfTheLastOperation','code','parse','_knownRootNames','404','wereChangesApplied','cloud-services-internal-error:\x20Request\x20timeout.','change:_isEditingAllowed','metadata','getConnectedSessions','_fetchMissingUsers','getUser','$root','channelSessions','unregister','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','view','length','sendOperations','listenTo','batch','_isDisconnection','_connectService','_lastServerVersion','has','userId','compress','_setUpDataInit','collaboration','_isLoaded','_sendBufferedOperationsDelayed','createdAt','rtc-offline','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','RealTimeCollaborationClient','183UfCWId','_waitUntilSynced','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','from','cloud-services-internal-error:\x20Not\x20connected.','_disconnectService','_saveOperationInBuffer','entries','position','_handleServerResponse','isDocumentOperation','_initThrowingOnDataSet','realtimecollaborationclient-sendbufferedoperations','targetPosition','29533fcmThg','getOperations','reconnection:\x20flushed\x20session','ready','_hasSelectionChanged','realtimecollaborationclient-init-session-connection-error','_offset','_document','_applyOperationsSet','1485567tdVRED','realtimecollaborationclient-init-service-incorrect-server-operation','lastOperationId','getMany','round','_shouldSendUpdate','_handleInitialConnectionData','_decompressOperations','insert','addRootAttribute','_sendBufferedOperationsDelayId','cloudServices.bundleVersion','_getAffectedRoot','currentDocumentSession','_getOperationsFromInitData','72AyokKU','start','history','realtimecollaborationclient-error','7024poxrBV','_handleExternalOperations','collaboration.channelId','size','_bufferedOperations','type','version','_crash','disableReadOnlyMode','reconnect','catch','realtimecollaborationclient','isOfficialPlugin','realtimecollaborationclient-handleserverresponse','getDocumentDetails','setPermissions','selection','_isPendingUpdate','fire','addRoot','connected','_operationIdentifier','sessionCreatedAt','set','_compressOperations','startsWith','createRoot','stop','isPremiumPlugin','_knownOperations','InsertOperation','_handleReconnectionResponse','realtimecollaborationclient-init-connection-failed','_handleSendingSelectionMarkers','serverHistory','enableReadOnlyMode'];_0x1412=function(){return _0x483313;};return _0x1412();}function K(_0x39e77a,_0x3a2fce){const _0x39fe3e=_0x26d242;for(const _0x462ef4 of _0x39e77a)_0x462ef4[_0x39fe3e(0xd0)]=_0x3a2fce++;}class J{[_0x26d242(0xe0)];[_0x26d242(0x12d)];constructor(_0x3eeecb){const _0x59b898=_0x26d242;this[_0x59b898(0xe0)]=_0x3eeecb,this[_0x59b898(0x12d)]=new WeakMap();}[_0x26d242(0x134)](_0x476851){const _0x16691b=_0x26d242;let _0x23aaae=_0x476851[_0x16691b(0x145)];for(;_0x23aaae--;){const _0x3459c5=_0x476851[_0x23aaae];if(!this[_0x16691b(0xe0)][_0x16691b(0x14c)](_0x3459c5)){if(!this[_0x16691b(0x12d)][_0x16691b(0x14c)](_0x3459c5)){const _0x252263=_0x4a8868()[_0x16691b(0xc0)](0x1,0x12);this[_0x16691b(0x12d)][_0x16691b(0x92)](_0x3459c5,_0x252263);}return this[_0x16691b(0x12d)][_0x16691b(0xe3)](_0x3459c5);}}}[_0x26d242(0xc2)](_0x4b0135,_0x54cec9){const _0x4ebb3f=_0x26d242;if(!_0x54cec9)return;let _0x383ca5=_0x4b0135[_0x4ebb3f(0x145)];for(;_0x383ca5--;){const _0xaaff7a=_0x4b0135[_0x383ca5];this[_0x4ebb3f(0xe0)][_0x4ebb3f(0x14c)](_0xaaff7a)||this[_0x4ebb3f(0x12d)][_0x4ebb3f(0x92)](_0xaaff7a,_0x54cec9);}}}
|
|
23
|
+
function _0x4363(){const _0xc6b7c9=['includes','_disconnectService','serverHistory','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','move','position','apply','4821111lFISJv','batch','initData','addOperation','_authorId','define','keys','start','lastSyncVersion','fromJSON','_waitUntilSynced','_setPendingAction','pluginName','_isEditingAllowed','_saveOperationInBuffer','cloudDocumentVersion','editor','parse','getRoot','_refreshUserSelectionMarkers','24krllVV','mySessionId','channelSessions','_initSessionsHandling','isUndoneOperation','getConnectedSessions','_isAttached','affectsData','entries','rtc-destroyed','change:hasDomSelection','stopListening','getUser','_isConnected','_handleReconnectionResponse','realtimecollaborationclient-init-service-incorrect-server-operation','newRange','InsertOperation','marker','startsWith','collaboration.channelId','realtimecollaborationclient-init-non-existent-root','_getOperationsFromInitData','add','setPermissions','_hasSynchronizationProblem','_loadRoot','createPositionFromPath','18158ncmtQY','_decompressOperations','realtimecollaborationclient-error','setIdForTheLastOperation','_handleServerResponse','view','register','targetPosition','realtimecollaborationclient-handleserverresponse','Synchronization\x20issue','404','RealTimeCollaborationClient','connected','permissions','_ignoredOperations','_knownOperations','isDocumentOperation','ready','_lastServerVersion','from','connect','version','isOfficialPlugin','_isDisconnection','createRoot','_shouldSendUpdate','reconnection:\x20flushed\x20session','type','_applyOperationsSet','5mqzyhH','CollaborativeEditingService','_document','userId','PENDING_ACTION_SENDING_DATA','filter','rootsAttributes','createUserMarkerOperations','9035635sgbaQF','string','reset','has','markers','requires','_addKnownRoot','operationsReceived','realtimecollaborationclient-init-service-internal-error','decompress','selection','rtc-offline','baseVersion','compress','_handleSendingSelectionMarkers','enableReadOnlyMode','_compressor','__className','get','remove','realtimecollaborationclient-init-session-connection-error','currentDocumentSession','lastDocumentSession','insert','disconnected','lastOperationId','affectedSelectable','end','document:write','differ','_connectAfterSessionHasBeenFlushed','push','_clearPendingAction','off','showWarning','unregister','cs:removeUser','Notification','realtimecollaborationclient-init-connection-failed','catch','round','locale','_crash','clone','_fetchMissingUsers','_isLoaded','_initThrowingOnDataSet','1752114rnxCxi','CommentsOnly','finally','message','5430224jjvbvT','real-time-collaboration','document','forEach','listenTo','change:_isPendingUpdate','root','getOperationAuthor','stop','_isPendingUpdate','bind','size','state','high','metadata','destroy','realtimecollaborationclient','addToReconnectionStack','_handleInitialConnectionData','createRange','_updateServerHistory','config','fire','then','getMany','cloud-services-internal-error:\x20Not\x20connected.','The\x20local\x20document\x20and\x20server\x20document\x20differ\x20and\x20merging\x20them\x20can\x20cause\x20unexpected\x20behavior.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-sendbufferedoperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','connection','_hasSelectionChanged','enqueueChange','_currentBufferDelay','addRootAttribute','_handleExternalOperations','length','sessionAdd:','disconnect','_connectService','_isInit','suppressErrorInCollaboration','applyOperation','_sendBufferedOperations','getDocumentDetails','disableReadOnlyMode','realtimecollaborationclient-init-document-already-initialized','addUser','loadRoot','wereChangesApplied','_service','collaboration','_operationToId','5733470nTAaKO','sessionId','340128XJaiUa','set','409','isReadOnly','61anhcgc','model','createdAt','history','addRoot','error','_baseBufferDelay','_offset','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.','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','sendOperations','_getAffectedRoot','Permissions','_sendBufferedOperationsDelayId','_pendingAction','code','editing','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','plugins','isEnabled','_bufferedOperations','change:range','init','multi-root-editor-root-attributes-no-root','cloudServices.bundleVersion','getOperations','_setUpDataInit','_channelId','_disconnectionOperations','_lastSyncedOperationId','lastOperationAcceptedAt','sessionCreatedAt','_operationIdentifier','_bufferRootLoad','_sendBufferedOperationsDelayed','removeFromReconnectionStack','collaboration-missing-channelid','$root','_knownRootNames','_handleReceivedOperations','_shouldSendSelectionUpdate','directChange','data','cloud-services-internal-error:\x20Request\x20timeout.','roots','wasUndone','createPositionAt','_compressOperations','_handleReconnectionError','isPremiumPlugin','getIdOfTheLastOperation','map','return','attributes','offset','change:_isEditingAllowed','slice','rootName','reconnect','path','toJSON'];_0x4363=function(){return _0xc6b7c9;};return _0x4363();}const _0x5d849d=_0xdbcd;(function(_0x54f99e,_0x3413f3){const _0x5513e8=_0xdbcd,_0x4d9a8b=_0x54f99e();while(!![]){try{const _0x5067a0=-parseInt(_0x5513e8(0x20c))/0x1*(parseInt(_0x5513e8(0x17a))/0x2)+parseInt(_0x5513e8(0x208))/0x3+-parseInt(_0x5513e8(0x1d2))/0x4*(-parseInt(_0x5513e8(0x197))/0x5)+parseInt(_0x5513e8(0x1ce))/0x6+-parseInt(_0x5513e8(0x19f))/0x7+-parseInt(_0x5513e8(0x15e))/0x8*(-parseInt(_0x5513e8(0x14a))/0x9)+-parseInt(_0x5513e8(0x206))/0xa;if(_0x5067a0===_0x3413f3)break;else _0x4d9a8b['push'](_0x4d9a8b['shift']());}catch(_0x23e085){_0x4d9a8b['push'](_0x4d9a8b['shift']());}}}(_0x4363,0xe86d1));import{Plugin as _0x1689a0,PendingActions as _0x251430}from'ckeditor5/src/core.js';import{CKEditorError as _0x2de0f4,version as _0x1fc640,uid as _0x148077}from'ckeditor5/src/utils.js';import{Notification as _0x5b8123}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x311240,NoOperation as _0x3e53b5,InsertOperation as _0xf57866,MarkerOperation as _0x1082e6,RootAttributeOperation as _0x53c1f7,OperationFactory as _0x2ead6e,History as _0x516425}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x128b01}from'./websocketgateway.js';function _0xdbcd(_0x3c75cb,_0x56b4ba){const _0x436305=_0x4363();return _0xdbcd=function(_0xdbcd88,_0x4453a5){_0xdbcd88=_0xdbcd88-0x13f;let _0x786219=_0x436305[_0xdbcd88];return _0x786219;},_0xdbcd(_0x3c75cb,_0x56b4ba);}import{Sessions as _0x29d56b}from'./sessions.js';import{UserMarkers as _0x32d7c2}from'./usermarkers.js';import{getTranslation as _0x210617}from'../common-translations.js';import{Compressor as _0x520848}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x3d2787}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x449b71,CollaborativeEditingService as _0x40cb60}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x1689a0{static [_0x5d849d(0x198)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x40cb60)());[_0x5d849d(0x213)];[_0x5d849d(0x207)];[_0x5d849d(0x145)];[_0x5d849d(0x227)];[_0x5d849d(0x203)];[_0x5d849d(0x199)];[_0x5d849d(0x1af)];[_0x5d849d(0x220)];[_0x5d849d(0x189)];[_0x5d849d(0x232)];[_0x5d849d(0x21a)];[_0x5d849d(0x1f0)];[_0x5d849d(0x219)];[_0x5d849d(0x212)];[_0x5d849d(0x1f2)];[_0x5d849d(0x229)];[_0x5d849d(0x228)];[_0x5d849d(0x22c)];static get[_0x5d849d(0x1a4)](){return[_0x128b01,_0x29d56b,_0x32d7c2,_0x251430,_0x3d2787,_0x5b8123];}static get[_0x5d849d(0x156)](){const _0x3e8415=_0x5d849d;return _0x3e8415(0x185);}static get[_0x5d849d(0x190)](){return!0x0;}static get[_0x5d849d(0x23d)](){return!0x0;}get[_0x5d849d(0x159)](){const _0x344ebc=_0x5d849d;return this[_0x344ebc(0x18c)]+this[_0x344ebc(0x213)];}get[_0x5d849d(0x18c)](){const _0x17f599=_0x5d849d;return this[_0x17f599(0x145)][_0x17f599(0x18f)]-this[_0x17f599(0x213)];}get[_0x5d849d(0x152)](){const _0x3276f4=_0x5d849d,_0x5bd6da=this[_0x3276f4(0x145)][_0x3276f4(0x225)]();for(let _0x498db2=_0x5bd6da[_0x3276f4(0x1f5)]-0x1;_0x498db2>=0x0;_0x498db2--){const _0x1724c7=_0x5bd6da[_0x498db2];if(!this[_0x3276f4(0x228)][_0x3276f4(0x1a2)](_0x1724c7))return _0x1724c7[_0x3276f4(0x1ab)]+0x1-this[_0x3276f4(0x213)];}return 0x0;}constructor(_0x11efbe){const _0x103afd=_0x5d849d;if(super(_0x11efbe),this[_0x103afd(0x213)]=0x0,this[_0x103afd(0x207)]=null,this[_0x103afd(0x145)]=new _0x516425(),this[_0x103afd(0x15a)][_0x103afd(0x1e7)][_0x103afd(0x14f)](_0x103afd(0x204),{}),this[_0x103afd(0x227)]=this[_0x103afd(0x15a)][_0x103afd(0x1e7)][_0x103afd(0x1b1)](_0x103afd(0x172)),!this[_0x103afd(0x227)])throw new _0x2de0f4(_0x103afd(0x230),this);const _0x5d1a2e=_0x11efbe[_0x103afd(0x1e7)][_0x103afd(0x1b1)](_0x103afd(0x224))||_0x1fc640;this[_0x103afd(0x203)]=new RealTimeCollaborationClient[(_0x103afd(0x198))](_0x5d1a2e,this[_0x103afd(0x227)]),this[_0x103afd(0x199)]=this[_0x103afd(0x15a)][_0x103afd(0x20d)][_0x103afd(0x1d4)],this[_0x103afd(0x1af)]=new _0x520848(),this[_0x103afd(0x220)]=[],this[_0x103afd(0x189)]=new WeakSet(),this[_0x103afd(0x232)]=new Set(),this[_0x103afd(0x209)](_0x103afd(0x1db),!0x1),this[_0x103afd(0x209)](_0x103afd(0x177),!0x1),this[_0x103afd(0x21a)]=null,this[_0x103afd(0x1f0)]=!0x1,this[_0x103afd(0x219)]=null,this[_0x103afd(0x212)]=0x12c,this[_0x103afd(0x1f2)]=this[_0x103afd(0x212)],this[_0x103afd(0x229)]=null,this[_0x103afd(0x228)]=new WeakSet(),this[_0x103afd(0x22c)]=new J(this[_0x103afd(0x228)]);}[_0x5d849d(0x222)](){const _0x21e6f2=_0x5d849d,_0x4950e6=this[_0x21e6f2(0x15a)],_0xb24196=_0x4950e6[_0x21e6f2(0x21e)][_0x21e6f2(0x1b1)](_0x3d2787),_0x5d4775=_0x4950e6[_0x21e6f2(0x21e)][_0x21e6f2(0x1b1)](_0x128b01);this[_0x21e6f2(0x1d6)](_0xb24196,_0x21e6f2(0x1d9),(_0x16996f,_0x71ff94)=>{const _0x2cadd3=_0x21e6f2,_0x1a09ae=_0x71ff94[0x0];_0x1a09ae[_0x2cadd3(0x14e)]&&(_0x16996f[_0x2cadd3(0x240)]=_0xb24196[_0x2cadd3(0x16a)](_0x1a09ae[_0x2cadd3(0x14e)]),_0x16996f[_0x2cadd3(0x1da)]()),null===_0x1a09ae[_0x2cadd3(0x14e)]&&(_0x16996f[_0x2cadd3(0x240)]=null,_0x16996f[_0x2cadd3(0x1da)]());},{'priority':_0x21e6f2(0x1df)}),this[_0x21e6f2(0x1d6)](_0x4950e6[_0x21e6f2(0x20d)][_0x21e6f2(0x1d4)][_0x21e6f2(0x1a9)],_0x21e6f2(0x221),(_0x2959ef,_0x2f4cb1)=>{const _0x544910=_0x21e6f2;_0x2f4cb1[_0x544910(0x235)]&&this[_0x544910(0x15d)]();}),this[_0x21e6f2(0x1d6)](_0x4950e6[_0x21e6f2(0x21c)][_0x21e6f2(0x17f)],_0x21e6f2(0x168),()=>{const _0x27eb7b=_0x21e6f2;this[_0x27eb7b(0x15d)]();}),this[_0x21e6f2(0x1cd)](),_0x4950e6[_0x21e6f2(0x20d)]['on'](_0x21e6f2(0x1fb),(_0x19a930,_0x1f0404)=>{const _0x10a8d7=_0x21e6f2,_0xc61a72=_0x1f0404[0x0];_0xc61a72[_0x10a8d7(0x18a)]&&(this[_0x10a8d7(0x158)](_0xc61a72),this[_0x10a8d7(0x193)]()&&this[_0x10a8d7(0x22e)]());}),this[_0x21e6f2(0x226)](),this[_0x21e6f2(0x1dc)](_0x21e6f2(0x157))['to'](_0x5d4775,_0x21e6f2(0x1de),this,_0x21e6f2(0x177),(_0x13c8ef,_0x2089b0)=>_0x21e6f2(0x186)===_0x13c8ef&&!_0x2089b0),this['on'](_0x21e6f2(0x243),()=>{const _0x52583f=_0x21e6f2;this[_0x52583f(0x157)]?_0x4950e6[_0x52583f(0x1fe)](_0x52583f(0x1aa)):_0x4950e6[_0x52583f(0x1ae)](_0x52583f(0x1aa));}),this[_0x21e6f2(0x157)]?_0x4950e6[_0x21e6f2(0x1fe)](_0x21e6f2(0x1aa)):_0x4950e6[_0x21e6f2(0x1ae)](_0x21e6f2(0x1aa)),this[_0x21e6f2(0x209)](_0x21e6f2(0x16b),!0x1);}async[_0x5d849d(0x140)](){const _0x42cff1=_0x5d849d,_0x3a0c33=this[_0x42cff1(0x15a)][_0x42cff1(0x21e)][_0x42cff1(0x1b1)](_0x29d56b),_0x24643d=this[_0x42cff1(0x15a)][_0x42cff1(0x21e)][_0x42cff1(0x1b1)](_0x128b01);try{this[_0x42cff1(0x1db)]=!0x0,_0x3a0c33[_0x42cff1(0x1c2)](this[_0x42cff1(0x227)]);const _0x568401=await this[_0x42cff1(0x203)][_0x42cff1(0x140)](_0x24643d[_0x42cff1(0x1ef)],this[_0x42cff1(0x152)]);await this[_0x42cff1(0x16c)](_0x568401)&&(this[_0x42cff1(0x1db)]=!0x1,this[_0x42cff1(0x1bf)]());const _0x1b05d7=await this[_0x42cff1(0x203)][_0x42cff1(0x163)]();_0x3a0c33[_0x42cff1(0x180)](this[_0x42cff1(0x227)],_0x1b05d7),this[_0x42cff1(0x1ad)](),this[_0x42cff1(0x16b)]=!0x0;}catch(_0x5e6136){if(function(_0x5cc422){const _0x503efe=_0x42cff1;return _0x503efe(0x184)===_0x5cc422[_0x503efe(0x21b)];}(_0x5e6136)&&this[_0x42cff1(0x207)])await this[_0x42cff1(0x1bd)]();else{if(function(_0x54176b){const _0x32c808=_0x42cff1;return _0x32c808(0x20a)===_0x54176b[_0x32c808(0x21b)];}(_0x5e6136)){const _0x9aea72=_0x210617(this[_0x42cff1(0x15a)][_0x42cff1(0x1c8)],_0x42cff1(0x1ee));this[_0x42cff1(0x23c)](_0x9aea72);}else{if(!(_0x5e6136 instanceof $))throw _0x5e6136;this[_0x42cff1(0x23c)]();}}}}[_0x5d849d(0x1e1)](){const _0x5722b1=_0x5d849d,_0x4ef05d=this[_0x5722b1(0x15a)][_0x5722b1(0x21e)][_0x5722b1(0x1b1)](_0x128b01),_0xdf607=this[_0x5722b1(0x15a)][_0x5722b1(0x21e)][_0x5722b1(0x1b1)](_0x29d56b);this[_0x5722b1(0x15a)][_0x5722b1(0x1ae)](_0x5722b1(0x167)),_0xdf607[_0x5722b1(0x160)][_0x5722b1(0x1a2)](this[_0x5722b1(0x227)])&&_0xdf607[_0x5722b1(0x1c2)](this[_0x5722b1(0x227)]),_0x4ef05d[_0x5722b1(0x22f)](this),this[_0x5722b1(0x144)](),super[_0x5722b1(0x1e1)]();}async[_0x5d849d(0x16c)](_0x852048){const _0xb00d45=_0x5d849d;if(this[_0xb00d45(0x207)]!==_0x852048[_0xb00d45(0x207)]&&this[_0xb00d45(0x229)]!==_0x852048[_0xb00d45(0x1b8)])throw new $();return this[_0xb00d45(0x207)]=_0x852048[_0xb00d45(0x207)],this[_0xb00d45(0x17e)]([],{..._0x852048,'wereChangesApplied':!0x1,'data':_0x852048[_0xb00d45(0x236)]},_0xb00d45(0x140));}async[_0x5d849d(0x1f8)](_0x2d6e37,_0x3c505d=!0x1){const _0x43a7a6=_0x5d849d,{connection:_0x5aca70}=this[_0x43a7a6(0x15a)][_0x43a7a6(0x21e)][_0x43a7a6(0x1b1)](_0x128b01);RealTimeCollaborationClient[_0x43a7a6(0x198)][_0x43a7a6(0x163)](_0x5aca70,this[_0x43a7a6(0x227)])[_0x43a7a6(0x1e9)](_0x2b9f26=>this[_0x43a7a6(0x161)](_0x2b9f26))[_0x43a7a6(0x1c6)](_0x483647=>{const _0xf07934=_0x43a7a6;this[_0xf07934(0x1c9)](_0xf07934(0x1b3),_0x483647);}),this[_0x43a7a6(0x1d6)](this[_0x43a7a6(0x203)],_0x43a7a6(0x1a6),this[_0x43a7a6(0x233)][_0x43a7a6(0x1dc)](this)),this[_0x43a7a6(0x1d6)](this[_0x43a7a6(0x203)],_0x43a7a6(0x211),(_0x38bb1f,_0x21272c)=>{const _0x2c220f=_0x43a7a6;this[_0x2c220f(0x1c9)](_0x2c220f(0x1a7),_0x21272c);}),this[_0x43a7a6(0x1d6)](this[_0x43a7a6(0x203)],_0x43a7a6(0x1b7),()=>{const _0x1284d9=_0x43a7a6;this[_0x1284d9(0x16b)]=!0x1;});const _0xc0edda=this[_0x43a7a6(0x22c)][_0x43a7a6(0x23e)](_0x2d6e37);this[_0x43a7a6(0x1db)]=!0x0;const _0x583823=await this[_0x43a7a6(0x203)][_0x43a7a6(0x18e)](_0x5aca70,this[_0x43a7a6(0x23b)](_0x2d6e37),_0xc0edda);if(this[_0x43a7a6(0x207)]=_0x583823[_0x43a7a6(0x207)],_0x3c505d){if(!_0x583823[_0x43a7a6(0x202)])return void this[_0x43a7a6(0x23c)]();this[_0x43a7a6(0x1db)]=!0x1,this[_0x43a7a6(0x1bf)](),this[_0x43a7a6(0x145)][_0x43a7a6(0x1a1)](),this[_0x43a7a6(0x213)]=_0x583823[_0x43a7a6(0x242)],this[_0x43a7a6(0x145)][_0x43a7a6(0x18f)]=this[_0x43a7a6(0x213)],await this[_0x43a7a6(0x17e)](_0x2d6e37,_0x583823,_0x43a7a6(0x194));}else await this[_0x43a7a6(0x1e4)](_0x583823,_0x2d6e37);this[_0x43a7a6(0x1ad)](),this[_0x43a7a6(0x16b)]=!0x0;}[_0x5d849d(0x1ad)](){const _0x2b1503=_0x5d849d,_0x304ee0=this[_0x2b1503(0x15a)][_0x2b1503(0x21e)][_0x2b1503(0x1b1)](_0x29d56b),_0x4a7380=this[_0x2b1503(0x15a)][_0x2b1503(0x21e)][_0x2b1503(0x1b1)](_0x32d7c2),_0x18c8d9=_0x304ee0[_0x2b1503(0x160)][_0x2b1503(0x1b1)](this[_0x2b1503(0x227)]);_0x18c8d9&&_0x18c8d9[_0x2b1503(0x1f5)]>0x1?_0x4a7380[_0x2b1503(0x19e)]():this[_0x2b1503(0x1d6)](_0x304ee0,_0x2b1503(0x1f6)+this[_0x2b1503(0x227)],()=>{const _0x26fe09=_0x2b1503;0x2===_0x304ee0[_0x26fe09(0x160)][_0x26fe09(0x1b1)](this[_0x26fe09(0x227)])[_0x26fe09(0x1f5)]&&_0x4a7380[_0x26fe09(0x19e)]();});}async[_0x5d849d(0x233)](_0x44d383,_0x3f694a,_0x3d8b83,_0x51adf3){const _0x565347=_0x5d849d;if(!this[_0x565347(0x1db)]&&this[_0x565347(0x199)][_0x565347(0x18f)]==_0x3f694a){const _0x20c32f=this[_0x565347(0x17b)](_0x3d8b83,_0x51adf3);await this[_0x565347(0x1cb)](_0x20c32f),this[_0x565347(0x1f4)](_0x20c32f,_0x3f694a,_0x3d8b83[_0x565347(0x1b8)])||this[_0x565347(0x1c9)](_0x565347(0x16d));}}async[_0x5d849d(0x1bd)](){const _0x1ba1b3=_0x5d849d;this[_0x1ba1b3(0x144)]();const {locale:_0x57dcf2}=this[_0x1ba1b3(0x15a)];let _0x8ab176;try{_0x8ab176=await this[_0x1ba1b3(0x203)][_0x1ba1b3(0x1fd)]();}catch{const _0x279422=_0x210617(_0x57dcf2,_0x1ba1b3(0x21d));return void this[_0x1ba1b3(0x23c)](_0x279422);}const _0x412393=_0x8ab176[_0x1ba1b3(0x1b4)]||_0x8ab176[_0x1ba1b3(0x1b5)];if(this[_0x1ba1b3(0x229)]!==_0x412393[_0x1ba1b3(0x1b8)]){const _0x1eebf9=_0x210617(_0x57dcf2,_0x1ba1b3(0x214));return void this[_0x1ba1b3(0x23c)](_0x1eebf9);}await this[_0x1ba1b3(0x1f8)](this[_0x1ba1b3(0x15a)][_0x1ba1b3(0x20d)][_0x1ba1b3(0x1d4)][_0x1ba1b3(0x20f)][_0x1ba1b3(0x225)](),!0x0);}[_0x5d849d(0x144)](){const _0x593194=_0x5d849d;this[_0x593194(0x203)][_0x593194(0x1f7)](),this[_0x593194(0x220)]=[],clearTimeout(this[_0x593194(0x219)]),this[_0x593194(0x169)](this[_0x593194(0x203)]);}[_0x5d849d(0x161)](_0x4bd676){const _0x53dceb=_0x5d849d,_0x533388=this[_0x53dceb(0x15a)][_0x53dceb(0x21e)][_0x53dceb(0x1b1)](_0x29d56b);this[_0x53dceb(0x1d6)](_0x533388,_0x53dceb(0x1f6)+this[_0x53dceb(0x227)],(_0x28d0c6,{session:_0x4dc4b7})=>{const _0x1ae7ec=_0x53dceb;if(_0x4dc4b7['id']===_0x533388[_0x1ae7ec(0x15f)]){_0x28d0c6[_0x1ae7ec(0x1c0)]();const _0x2e6f21=this[_0x1ae7ec(0x15a)][_0x1ae7ec(0x21e)][_0x1ae7ec(0x1a2)](_0x1ae7ec(0x1cf))&&this[_0x1ae7ec(0x15a)][_0x1ae7ec(0x21e)][_0x1ae7ec(0x1b1)](_0x1ae7ec(0x1cf));let _0x55aedc=_0x4dc4b7[_0x1ae7ec(0x187)];_0x2e6f21&&_0x2e6f21[_0x1ae7ec(0x21f)]&&(_0x55aedc=_0x55aedc[_0x1ae7ec(0x19c)](_0x1d7620=>_0x1ae7ec(0x1bb)!==_0x1d7620)),this[_0x1ae7ec(0x15a)][_0x1ae7ec(0x21e)][_0x1ae7ec(0x1b1)](_0x1ae7ec(0x218))[_0x1ae7ec(0x176)](_0x55aedc,this[_0x1ae7ec(0x227)]);}}),_0x533388[_0x53dceb(0x180)](this[_0x53dceb(0x227)],_0x4bd676);}[_0x5d849d(0x1cd)](){const _0x205c06=_0x5d849d,_0x189314=this[_0x205c06(0x15a)][_0x205c06(0x236)][_0x205c06(0x209)];this[_0x205c06(0x15a)][_0x205c06(0x236)][_0x205c06(0x209)]=(..._0x4554d3)=>{const _0x4415a0=_0x205c06;if(!_0x4554d3[_0x4554d3[_0x4415a0(0x1f5)]-0x1][_0x4415a0(0x1fa)])throw new _0x2de0f4(_0x4415a0(0x215),this);_0x189314[_0x4415a0(0x149)](this[_0x4415a0(0x15a)][_0x4415a0(0x236)],_0x4554d3);};}[_0x5d849d(0x226)](){const _0x4754ab=_0x5d849d;this[_0x4754ab(0x15a)][_0x4754ab(0x236)]['on'](_0x4754ab(0x222),(_0x4c5b40,[_0x4f041f])=>{const _0x424660=_0x4754ab;if(this[_0x424660(0x199)][_0x424660(0x18f)])throw new _0x2de0f4(_0x424660(0x1ff),this);_0x4c5b40[_0x424660(0x1da)](),this[_0x424660(0x155)]();const _0x3d7d22=this[_0x424660(0x15a)][_0x424660(0x1e7)][_0x424660(0x1b1)](_0x424660(0x19d)),_0x55e956=this[_0x424660(0x174)](_0x4f041f,_0x3d7d22);0x0==_0x55e956[_0x424660(0x1f5)]&&_0x55e956[_0x424660(0x1be)](new _0x3e53b5(0x0)),_0x4c5b40[_0x424660(0x240)]=this[_0x424660(0x1f8)](_0x55e956)[_0x424660(0x1e9)](()=>{const _0x59d437=_0x424660;this[_0x59d437(0x15a)][_0x59d437(0x21e)][_0x59d437(0x1b1)](_0x128b01)[_0x59d437(0x1e3)](this),this[_0x59d437(0x15a)][_0x59d437(0x236)][_0x59d437(0x1e8)](_0x59d437(0x18b));})[_0x424660(0x1c6)](_0x3f8d95=>this[_0x424660(0x1c9)](_0x424660(0x1c5),_0x3f8d95))[_0x424660(0x1d0)](()=>this[_0x424660(0x1bf)]());},{'priority':_0x4754ab(0x1df)}),this[_0x4754ab(0x15a)]['on'](_0x4754ab(0x201),async(_0x5a7f5c,[_0x522aa9,_0x36c064])=>{const _0x200eaf=_0x4754ab;_0x5a7f5c[_0x200eaf(0x1da)]();const _0x13cd7e=this[_0x200eaf(0x15a)][_0x200eaf(0x20d)][_0x200eaf(0x1d4)][_0x200eaf(0x15c)](_0x522aa9);if(!this[_0x200eaf(0x232)][_0x200eaf(0x1a2)](_0x522aa9)){const _0x1560d6=_0x36c064&&_0x36c064[_0x200eaf(0x236)]?_0x36c064[_0x200eaf(0x236)]:'',_0x483249=_0x36c064&&_0x36c064[_0x200eaf(0x241)]?_0x36c064[_0x200eaf(0x241)]:{};await this[_0x200eaf(0x178)](_0x522aa9,_0x1560d6,_0x483249);}this[_0x200eaf(0x15a)][_0x200eaf(0x20d)][_0x200eaf(0x1f1)]({'isUndoable':!0x1},()=>{const _0x36fd7e=_0x200eaf;_0x13cd7e[_0x36fd7e(0x1cc)]=!0x0,this[_0x36fd7e(0x15a)][_0x36fd7e(0x20d)][_0x36fd7e(0x1d4)][_0x36fd7e(0x1bc)][_0x36fd7e(0x22d)](_0x13cd7e);});},{'priority':_0x4754ab(0x1df)});}async[_0x5d849d(0x1cb)](_0x1536fc){const _0x3be7bb=_0x5d849d,_0x205ed0=this[_0x3be7bb(0x15a)][_0x3be7bb(0x21e)][_0x3be7bb(0x1b1)](_0x3d2787),{connection:_0x6050fd}=this[_0x3be7bb(0x15a)][_0x3be7bb(0x21e)][_0x3be7bb(0x1b1)](_0x128b01),_0x23e1a5=new Set();for(const _0x383ad7 of _0x1536fc){const _0x3f08aa=_0x383ad7[_0x3be7bb(0x14e)];_0x3f08aa&&!_0x205ed0[_0x3be7bb(0x16a)](_0x3f08aa)&&_0x23e1a5[_0x3be7bb(0x175)](_0x3f08aa);}if(0x0===_0x23e1a5[_0x3be7bb(0x1dd)])return;const _0x5849b0=await _0x449b71[_0x3be7bb(0x1ea)](_0x6050fd,Array[_0x3be7bb(0x18d)](_0x23e1a5));for(const _0x450725 of _0x5849b0)_0x205ed0[_0x3be7bb(0x16a)](_0x450725['id'])||_0x205ed0[_0x3be7bb(0x200)](_0x450725);}[_0x5d849d(0x174)](_0x47da10,_0x2cfc0e={}){const _0x27f07f=_0x5d849d,_0x102149=this[_0x27f07f(0x15a)][_0x27f07f(0x20d)],_0x14166b=[];let _0x424950=0x0;const _0x241a84=_0x27f07f(0x1a0)==typeof _0x47da10?{'main':_0x47da10}:_0x47da10;for(const _0x56716d of Object[_0x27f07f(0x150)](_0x241a84)){if(!this[_0x27f07f(0x199)][_0x27f07f(0x238)][_0x27f07f(0x1a2)](_0x56716d))throw new _0x2de0f4(_0x27f07f(0x173),this);const _0x24812c=this[_0x27f07f(0x15a)][_0x27f07f(0x236)][_0x27f07f(0x15b)](_0x241a84[_0x56716d]),_0x444118=this[_0x27f07f(0x199)][_0x27f07f(0x15c)](_0x56716d),_0x136658=new _0xf57866(_0x102149[_0x27f07f(0x23a)](_0x444118,0x0),_0x24812c,_0x424950++);_0x14166b[_0x27f07f(0x1be)](_0x136658);for(const [_0x2e65bf,_0x6c3a04]of _0x24812c[_0x27f07f(0x1a3)]){const _0x49a23e=_0x102149[_0x27f07f(0x1e5)](_0x102149[_0x27f07f(0x179)](_0x444118,_0x6c3a04[_0x27f07f(0x151)][_0x27f07f(0x141)][_0x27f07f(0x244)]()),_0x102149[_0x27f07f(0x179)](_0x444118,_0x6c3a04[_0x27f07f(0x1ba)][_0x27f07f(0x141)][_0x27f07f(0x244)]())),_0x168dba=new _0x1082e6(_0x2e65bf,null,_0x49a23e,_0x102149[_0x27f07f(0x1a3)],!0x0,_0x424950++);_0x14166b[_0x27f07f(0x1be)](_0x168dba);}}if(_0x2cfc0e)for(const [_0x179fe5,_0x466475]of Object[_0x27f07f(0x166)](_0x2cfc0e)){const _0xa5a699=_0x102149[_0x27f07f(0x1d4)][_0x27f07f(0x15c)](_0x179fe5);if(!_0xa5a699)throw new _0x2de0f4(_0x27f07f(0x223),null);for(const [_0x537b59,_0x439b4a]of Object[_0x27f07f(0x166)](_0x466475))if(null!==_0x439b4a){const _0x11c011=new _0x53c1f7(_0xa5a699,_0x537b59,null,_0x439b4a,_0x424950++);_0x14166b[_0x27f07f(0x1be)](_0x11c011);}}return _0x14166b;}async[_0x5d849d(0x178)](_0x1dd5f2,_0x5ce683,_0x14aaa5){const _0x303639=_0x5d849d;this[_0x303639(0x174)]({[_0x1dd5f2]:_0x5ce683},{[_0x1dd5f2]:_0x14aaa5})[_0x303639(0x1d5)]((_0x1403f8,_0x4502c8)=>{const _0x558a75=_0x303639;_0x1403f8[_0x558a75(0x1ab)]=this[_0x558a75(0x199)][_0x558a75(0x18f)]+_0x4502c8,_0x1403f8[_0x558a75(0x1f9)]=!0x0,this[_0x558a75(0x158)](_0x1403f8);}),this[_0x303639(0x22e)](),await this[_0x303639(0x154)]();}async[_0x5d849d(0x1e4)](_0x164600,_0xfc4f62){const _0x28a96d=_0x5d849d;let _0x2c85fa;this[_0x28a96d(0x213)]=_0x164600[_0x28a96d(0x242)];const _0x52f150=_0x164600[_0x28a96d(0x202)]&&!_0x164600[_0x28a96d(0x14c)],_0x57b5fc=_0x52f150?0x0:_0x164600[_0x28a96d(0x236)][_0x28a96d(0x1ab)];if(_0xfc4f62[_0x28a96d(0x1d5)](_0x4bafcc=>{const _0x1aa9df=_0x28a96d;_0x4bafcc[_0x1aa9df(0x1f9)]=!0x0,_0x4bafcc[_0x1aa9df(0x20e)]=_0x164600[_0x1aa9df(0x22b)],_0x4bafcc[_0x1aa9df(0x14e)]=null;}),_0x52f150)_0x2c85fa=_0xfc4f62,this[_0x28a96d(0x196)](_0x2c85fa,_0x52f150);else{if(_0x164600[_0x28a96d(0x14c)]){const _0x495d4b=this[_0x28a96d(0x174)](_0x164600[_0x28a96d(0x14c)]);this[_0x28a96d(0x199)][_0x28a96d(0x20f)][_0x28a96d(0x18f)]=-_0x495d4b[_0x28a96d(0x1f5)],_0x495d4b[_0x28a96d(0x1d5)](_0x5ab2de=>{const _0x3d4105=_0x28a96d;_0x5ab2de[_0x3d4105(0x1ab)]-=_0x495d4b[_0x3d4105(0x1f5)],_0x5ab2de[_0x3d4105(0x20e)]=_0x164600[_0x3d4105(0x22b)],_0x5ab2de[_0x3d4105(0x1f9)]=!0x0,_0x5ab2de[_0x3d4105(0x14e)]=null;}),this[_0x28a96d(0x196)](_0x495d4b,!0x0),this[_0x28a96d(0x145)][_0x28a96d(0x18f)]=-_0x495d4b[_0x28a96d(0x1f5)]+this[_0x28a96d(0x213)],this[_0x28a96d(0x1e6)](_0x495d4b);}this[_0x28a96d(0x199)][_0x28a96d(0x20f)][_0x28a96d(0x18f)]=_0x57b5fc,_0x2c85fa=this[_0x28a96d(0x17b)](_0x164600[_0x28a96d(0x236)],_0x164600[_0x28a96d(0x1e0)]),await this[_0x28a96d(0x1cb)](_0x2c85fa),this[_0x28a96d(0x196)](_0x2c85fa,_0x52f150);}_0x164600[_0x28a96d(0x1b8)]&&(this[_0x28a96d(0x22c)][_0x28a96d(0x17d)](_0x2c85fa,_0x164600[_0x28a96d(0x1b8)]),this[_0x28a96d(0x229)]=_0x164600[_0x28a96d(0x1b8)]),this[_0x28a96d(0x145)][_0x28a96d(0x18f)]=_0x57b5fc+this[_0x28a96d(0x213)],this[_0x28a96d(0x1e6)](_0x2c85fa),_0xfc4f62[_0x28a96d(0x19c)](_0x58bfb4=>{const _0x484e19=_0x28a96d,_0x11e4a7=this[_0x484e19(0x217)](_0x58bfb4);return _0x11e4a7&&!this[_0x484e19(0x232)][_0x484e19(0x1a2)](_0x11e4a7);})[_0x28a96d(0x1d5)]((_0x56f296,_0x4b27d6)=>{const _0x2d8378=_0x28a96d;_0x56f296[_0x2d8378(0x1ab)]=this[_0x2d8378(0x199)][_0x2d8378(0x18f)]+_0x4b27d6,this[_0x2d8378(0x158)](_0x56f296);}),this[_0x28a96d(0x193)]()?(this[_0x28a96d(0x1f2)]=0x0,this[_0x28a96d(0x22e)](!0x0),await this[_0x28a96d(0x154)]()):(this[_0x28a96d(0x1db)]=!0x1,this[_0x28a96d(0x1bf)]());}[_0x5d849d(0x1c9)](_0x1cb7d9,_0x12b1fc){const _0x53fea0=_0x5d849d,_0x15afdb=_0x12b1fc&&_0x12b1fc[_0x53fea0(0x1d1)];if(_0x15afdb&&_0x15afdb[_0x53fea0(0x171)](_0x53fea0(0x1e2)))throw _0x12b1fc;const _0x3d0cad=this[_0x53fea0(0x15a)][_0x53fea0(0x21e)][_0x53fea0(0x1b1)](_0x128b01);throw this[_0x53fea0(0x1db)]=!0x0,_0x3d0cad[_0x53fea0(0x1f7)](),this[_0x53fea0(0x15a)][_0x53fea0(0x1ae)](_0x53fea0(0x17c)),new _0x2de0f4(_0x1cb7d9,this[_0x53fea0(0x15a)],_0x15afdb?{'originalError':_0x15afdb}:void 0x0);}[_0x5d849d(0x158)](_0x399e7c){const _0x116e9c=_0x5d849d;this[_0x116e9c(0x189)][_0x116e9c(0x1a2)](_0x399e7c)||(this[_0x116e9c(0x189)][_0x116e9c(0x175)](_0x399e7c),this[_0x116e9c(0x220)][_0x116e9c(0x1be)](_0x399e7c),this[_0x116e9c(0x21a)]||_0x116e9c(0x170)==_0x399e7c[_0x116e9c(0x195)]&&!_0x399e7c[_0x116e9c(0x165)]||this[_0x116e9c(0x155)]());}[_0x5d849d(0x22e)](_0xc64c55=!0x1){const _0x3cc884=_0x5d849d;!_0xc64c55&&this[_0x3cc884(0x1db)]||(this[_0x3cc884(0x1db)]=!0x0,clearTimeout(this[_0x3cc884(0x219)]),this[_0x3cc884(0x219)]=setTimeout(()=>{const _0x545df8=_0x3cc884;this[_0x545df8(0x1fc)]()[_0x545df8(0x1e9)](_0x191d05=>{const _0x215630=_0x545df8;_0x191d05&&(this[_0x215630(0x1bf)](),this[_0x215630(0x1db)]=!0x1);})[_0x545df8(0x1c6)](_0x5c9ec0=>{const _0x1e30c0=_0x545df8;this[_0x1e30c0(0x1bf)](),this[_0x1e30c0(0x1db)]=!0x1,function(_0x4326a3){const _0x2730a3=_0x1e30c0;return _0x4326a3[_0x2730a3(0x1d1)][_0x2730a3(0x171)](_0x2730a3(0x1eb))||_0x4326a3[_0x2730a3(0x1d1)][_0x2730a3(0x171)](_0x2730a3(0x146))||_0x4326a3[_0x2730a3(0x1d1)][_0x2730a3(0x171)](_0x2730a3(0x237));}(_0x5c9ec0)||this[_0x1e30c0(0x1c9)](_0x5c9ec0[_0x1e30c0(0x1d1)],_0x5c9ec0);});},this[_0x3cc884(0x1f2)]));}[_0x5d849d(0x154)](){return new Promise(_0x58c951=>{const _0x5bb355=_0xdbcd;this['on'](_0x5bb355(0x1d7),()=>{_0x58c951();});});}async[_0x5d849d(0x1fc)](){const _0x5fa38=_0x5d849d,_0x37f052=this[_0x5fa38(0x15a)][_0x5fa38(0x21e)][_0x5fa38(0x1b1)](_0x32d7c2);if(this[_0x5fa38(0x234)]()&&(_0x37f052[_0x5fa38(0x19e)](),this[_0x5fa38(0x1f0)]=!0x1),!this[_0x5fa38(0x193)]())return!0x0;const _0x30690b=[...this[_0x5fa38(0x220)]];for(const _0x319f9a of _0x30690b)_0x319f9a[_0x5fa38(0x239)]=this[_0x5fa38(0x199)][_0x5fa38(0x20f)][_0x5fa38(0x162)](_0x319f9a);const _0x33f5d7=this[_0x5fa38(0x22c)][_0x5fa38(0x23e)](_0x30690b),_0x1c12f7=G++,_0x4119c=this[_0x5fa38(0x23b)](_0x30690b),_0x5cbbb2=await this[_0x5fa38(0x203)][_0x5fa38(0x216)](_0x4119c,_0x4119c[_0x5fa38(0x1ab)],_0x33f5d7);try{return await this[_0x5fa38(0x17e)](_0x30690b,_0x5cbbb2,_0x1c12f7);}catch(_0x423585){return this[_0x5fa38(0x1c9)](_0x5fa38(0x1ed),_0x423585);}}async[_0x5d849d(0x17e)](_0x1b5a78,_0x4c00be,_0x529c35){const _0x30b7fc=_0x5d849d;if(_0x30b7fc(0x211)in _0x4c00be)throw _0x4c00be[_0x30b7fc(0x211)];let _0x13a533=!0x1;if(_0x4c00be[_0x30b7fc(0x202)]){_0x4c00be[_0x30b7fc(0x1b8)]&&(this[_0x30b7fc(0x229)]=_0x4c00be[_0x30b7fc(0x1b8)]),this[_0x30b7fc(0x220)]=this[_0x30b7fc(0x220)][_0x30b7fc(0x19c)](_0x287e7e=>!_0x1b5a78[_0x30b7fc(0x143)](_0x287e7e));for(const _0x59daf4 of _0x1b5a78)_0x59daf4[_0x30b7fc(0x20e)]=_0x30b7fc(0x22a)in _0x4c00be&&_0x4c00be[_0x30b7fc(0x22a)]||void 0x0;K(_0x1b5a78,_0x4c00be[_0x30b7fc(0x18f)]-_0x1b5a78[_0x30b7fc(0x1f5)]),this[_0x30b7fc(0x1e6)](_0x1b5a78);const _0x4b90c5=_0x1b5a78[_0x30b7fc(0x19c)](_0x3144b4=>{const _0x345162=_0x30b7fc;if(!_0x3144b4[_0x345162(0x1f9)])return!0x1;const _0x1038f9=this[_0x345162(0x217)](_0x3144b4);return _0x1038f9&&!this[_0x345162(0x232)][_0x345162(0x1a2)](_0x1038f9);});K(_0x4b90c5,this[_0x30b7fc(0x199)][_0x30b7fc(0x18f)]),this[_0x30b7fc(0x196)](_0x4b90c5),_0x13a533=!0x0,this[_0x30b7fc(0x1f2)]=this[_0x30b7fc(0x212)];}else{const _0x2c07d9=this[_0x30b7fc(0x17b)](_0x4c00be[_0x30b7fc(0x236)],_0x4c00be[_0x30b7fc(0x1e0)])[_0x30b7fc(0x19c)](_0x5ef529=>_0x5ef529[_0x30b7fc(0x1ab)]>=this[_0x30b7fc(0x18c)]);_0x2c07d9[_0x30b7fc(0x1d5)](_0x5ebb05=>this[_0x30b7fc(0x1a5)](_0x5ebb05)),this[_0x30b7fc(0x220)]=this[_0x30b7fc(0x220)][_0x30b7fc(0x19c)](_0x1d2800=>!_0x1d2800[_0x30b7fc(0x1f9)]||!this[_0x30b7fc(0x232)][_0x30b7fc(0x1a2)](this[_0x30b7fc(0x217)](_0x1d2800))),this[_0x30b7fc(0x220)][_0x30b7fc(0x1f5)]&&K(this[_0x30b7fc(0x220)],this[_0x30b7fc(0x220)][0x0][_0x30b7fc(0x1ab)]),await this[_0x30b7fc(0x1cb)](_0x2c07d9),_0x13a533=this[_0x30b7fc(0x1f4)](_0x2c07d9,_0x4c00be[_0x30b7fc(0x18f)],_0x4c00be[_0x30b7fc(0x1b8)]),this[_0x30b7fc(0x1f2)]=Math[_0x30b7fc(0x1c7)](this[_0x30b7fc(0x1f2)]/0x2);}return _0x13a533?!this[_0x30b7fc(0x193)]()||(this[_0x30b7fc(0x22e)](!0x0),!0x1):this[_0x30b7fc(0x1c9)](_0x30b7fc(0x182));}[_0x5d849d(0x1f4)](_0x418a4c,_0x1976da,_0x3627c9){const _0x3d15f1=_0x5d849d;try{const _0x551bcb={'document':this[_0x3d15f1(0x199)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x506363,operationsB:_0x4f067b,originalOperations:_0x4eb3b0}=_0x311240(_0x418a4c,this[_0x3d15f1(0x220)],_0x551bcb);K(_0x506363,this[_0x3d15f1(0x199)][_0x3d15f1(0x18f)]),K(_0x4f067b,_0x1976da);for(const _0x442481 of _0x506363){const _0x21e1f6=_0x4eb3b0[_0x3d15f1(0x1b1)](_0x442481);_0x442481[_0x3d15f1(0x14e)]=_0x21e1f6?_0x21e1f6[_0x3d15f1(0x14e)]:null;}_0x3627c9&&(this[_0x3d15f1(0x22c)][_0x3d15f1(0x17d)](_0x418a4c,_0x3627c9),this[_0x3d15f1(0x229)]=_0x3627c9),this[_0x3d15f1(0x220)]=[..._0x4f067b],this[_0x3d15f1(0x196)](_0x506363),this[_0x3d15f1(0x1e6)](_0x418a4c);}catch(_0xd616be){return console[_0x3d15f1(0x211)](_0xd616be),!0x1;}return!0x0;}[_0x5d849d(0x196)](_0x15ff0b,_0x5245c9=!0x1){const _0x46bce1=_0x5d849d;this[_0x46bce1(0x15a)][_0x46bce1(0x20d)][_0x46bce1(0x1f1)]({'isUndoable':!0x1,'isLocal':!0x1},_0x6e9f15=>{const _0x5b2612=_0x46bce1;for(const _0x6d456c of _0x15ff0b)this[_0x5b2612(0x189)][_0x5b2612(0x175)](_0x6d456c),this[_0x5b2612(0x1a5)](_0x6d456c),_0x6e9f15[_0x5b2612(0x14b)][_0x5b2612(0x14d)](_0x6d456c),this[_0x5b2612(0x15a)][_0x5b2612(0x20d)][_0x5b2612(0x1fb)](_0x6d456c);});}[_0x5d849d(0x1a5)](_0x1bab72){const _0x17e01e=_0x5d849d,_0x1acdd4=this[_0x17e01e(0x217)](_0x1bab72);_0x1acdd4&&this[_0x17e01e(0x232)][_0x17e01e(0x175)](_0x1acdd4);}[_0x5d849d(0x217)](_0x3d5bc1){const _0x5c547a=_0x5d849d;let _0x28042b,_0x8ab51;switch(_0x3d5bc1[_0x5c547a(0x195)]){case _0x5c547a(0x1b6):_0x28042b=_0x3d5bc1[_0x5c547a(0x148)][_0x5c547a(0x1d8)];break;case _0x5c547a(0x170):if(_0x8ab51=_0x3d5bc1[_0x5c547a(0x16e)],!_0x8ab51)return null;_0x28042b=_0x8ab51[_0x5c547a(0x1d8)];break;case _0x5c547a(0x1f3):_0x28042b=_0x3d5bc1[_0x5c547a(0x1d8)];break;case _0x5c547a(0x210):_0x28042b=_0x3d5bc1[_0x5c547a(0x1b9)];break;case _0x5c547a(0x147):_0x28042b=_0x3d5bc1[_0x5c547a(0x181)][_0x5c547a(0x1d8)];break;default:return null;}return _0x28042b[_0x5c547a(0x13f)];}[_0x5d849d(0x1e6)](_0x282af2){const _0x100a20=_0x5d849d;_0x282af2[_0x100a20(0x1d5)](_0x29cdbf=>{const _0x5ce4c8=_0x100a20,_0x5e7e69=_0x29cdbf[_0x5ce4c8(0x1ca)]();_0x5e7e69[_0x5ce4c8(0x14e)]=_0x29cdbf[_0x5ce4c8(0x14e)],_0x5e7e69[_0x5ce4c8(0x1f9)]=!!_0x29cdbf[_0x5ce4c8(0x1f9)],_0x5e7e69[_0x5ce4c8(0x20e)]=_0x29cdbf[_0x5ce4c8(0x20e)],_0x5e7e69[_0x5ce4c8(0x1ab)]+=this[_0x5ce4c8(0x213)],_0x29cdbf[_0x5ce4c8(0x191)]&&this[_0x5ce4c8(0x228)][_0x5ce4c8(0x175)](_0x5e7e69),this[_0x5ce4c8(0x145)][_0x5ce4c8(0x14d)](_0x5e7e69);});}[_0x5d849d(0x23c)](_0x1a8388){const _0x4e9da0=_0x5d849d,_0x112283=this[_0x4e9da0(0x15a)][_0x4e9da0(0x21e)][_0x4e9da0(0x1b1)](_0x4e9da0(0x1c4)),_0x252a5a=this[_0x4e9da0(0x15a)][_0x4e9da0(0x1c8)];_0x1a8388||(_0x1a8388=_0x210617(_0x252a5a,_0x4e9da0(0x1ec))),_0x112283[_0x4e9da0(0x1c1)](_0x1a8388,{'title':_0x210617(_0x252a5a,_0x4e9da0(0x183)),'namespace':_0x4e9da0(0x1d3)}),this[_0x4e9da0(0x177)]=!0x0,clearTimeout(this[_0x4e9da0(0x219)]),this[_0x4e9da0(0x220)]=[],this[_0x4e9da0(0x15a)][_0x4e9da0(0x21e)][_0x4e9da0(0x1b1)](_0x128b01)[_0x4e9da0(0x1f7)]();}[_0x5d849d(0x155)](){const _0x128f52=_0x5d849d;this[_0x128f52(0x21a)]||(this[_0x128f52(0x21a)]=this[_0x128f52(0x15a)][_0x128f52(0x21e)][_0x128f52(0x1b1)](_0x251430)[_0x128f52(0x175)](_0x210617(this[_0x128f52(0x15a)][_0x128f52(0x1c8)],_0x128f52(0x19b))));}[_0x5d849d(0x1bf)](){const _0x1ea062=_0x5d849d;this[_0x1ea062(0x21a)]&&(this[_0x1ea062(0x15a)][_0x1ea062(0x21e)][_0x1ea062(0x1b1)](_0x251430)[_0x1ea062(0x1b2)](this[_0x1ea062(0x21a)]),this[_0x1ea062(0x21a)]=null);}[_0x5d849d(0x23b)](_0x7f1e5c){const _0xd5d11b=_0x5d849d,_0x478262=_0x7f1e5c[_0xd5d11b(0x23f)](_0xbbcae2=>_0xbbcae2[_0xd5d11b(0x142)]());return this[_0xd5d11b(0x1af)][_0xd5d11b(0x1ac)](_0x478262);}[_0x5d849d(0x17b)](_0x1c58b1,_0x416d15){const _0x23395a=_0x5d849d;return this[_0x23395a(0x1af)][_0x23395a(0x1a8)](_0x1c58b1)[_0x23395a(0x23f)]((_0x2c4b80,_0x3d44f5)=>{const _0x4faeaf=_0x23395a,_0x406498=_0x4faeaf(0x222)==_0x416d15[_0x3d44f5][_0x4faeaf(0x195)];if(_0x4faeaf(0x16f)==_0x2c4b80[_0x4faeaf(0x1b0)]){const _0x21398d=_0x2c4b80[_0x4faeaf(0x148)][_0x4faeaf(0x1d8)];!this[_0x4faeaf(0x199)][_0x4faeaf(0x15c)](_0x21398d)&&(this[_0x4faeaf(0x199)][_0x4faeaf(0x192)](_0x4faeaf(0x231),_0x21398d)[_0x4faeaf(0x164)]=!0x1);}const _0x1de9a9=_0x2ead6e[_0x4faeaf(0x153)](_0x2c4b80,this[_0x4faeaf(0x199)]);return _0x1de9a9[_0x4faeaf(0x239)]=_0x2c4b80[_0x4faeaf(0x239)],_0x1de9a9[_0x4faeaf(0x1f9)]=_0x406498,_0x1de9a9[_0x4faeaf(0x14e)]=_0x406498?null:_0x416d15[_0x3d44f5][_0x4faeaf(0x19a)],_0x1de9a9[_0x4faeaf(0x191)]=_0x4faeaf(0x1c3)===_0x416d15[_0x3d44f5][_0x4faeaf(0x195)],_0x1de9a9[_0x4faeaf(0x20e)]=_0x416d15[_0x3d44f5][_0x4faeaf(0x20e)],_0x1de9a9;});}[_0x5d849d(0x15d)](){const _0x5456d5=_0x5d849d;this[_0x5456d5(0x1f0)]=!0x0,this[_0x5456d5(0x234)]()?this[_0x5456d5(0x22e)]():this[_0x5456d5(0x1f0)]=!0x1;}[_0x5d849d(0x234)](){const _0x25d6d7=_0x5d849d,_0x24cba5=this[_0x25d6d7(0x15a)][_0x25d6d7(0x21e)][_0x25d6d7(0x1b1)](_0x29d56b)[_0x25d6d7(0x160)][_0x25d6d7(0x1b1)](this[_0x25d6d7(0x227)]);return!this[_0x25d6d7(0x15a)][_0x25d6d7(0x20b)]&&!!_0x24cba5&&_0x24cba5[_0x25d6d7(0x1f5)]>0x1&&this[_0x25d6d7(0x1f0)];}[_0x5d849d(0x193)](){const _0x502565=_0x5d849d;return this[_0x502565(0x220)][_0x502565(0x1f5)]>0x0||this[_0x502565(0x234)]();}}class $ extends Error{}function K(_0x27a5b3,_0x1cfcbc){const _0xc062ba=_0x5d849d;for(const _0x35ca4c of _0x27a5b3)_0x35ca4c[_0xc062ba(0x1ab)]=_0x1cfcbc++;}class J{[_0x5d849d(0x188)];[_0x5d849d(0x205)];constructor(_0x50cd40){const _0xfa9b50=_0x5d849d;this[_0xfa9b50(0x188)]=_0x50cd40,this[_0xfa9b50(0x205)]=new WeakMap();}[_0x5d849d(0x23e)](_0x3fc818){const _0x260ecd=_0x5d849d;let _0x161e35=_0x3fc818[_0x260ecd(0x1f5)];for(;_0x161e35--;){const _0x197cc8=_0x3fc818[_0x161e35];if(!this[_0x260ecd(0x188)][_0x260ecd(0x1a2)](_0x197cc8)){if(!this[_0x260ecd(0x205)][_0x260ecd(0x1a2)](_0x197cc8)){const _0x32ee48=_0x148077()[_0x260ecd(0x244)](0x1,0x12);this[_0x260ecd(0x205)][_0x260ecd(0x209)](_0x197cc8,_0x32ee48);}return this[_0x260ecd(0x205)][_0x260ecd(0x1b1)](_0x197cc8);}}}[_0x5d849d(0x17d)](_0x2dc969,_0x5aca31){const _0x5558be=_0x5d849d;if(!_0x5aca31)return;let _0x4616b3=_0x2dc969[_0x5558be(0x1f5)];for(;_0x4616b3--;){const _0x220def=_0x2dc969[_0x4616b3];this[_0x5558be(0x188)][_0x5558be(0x1a2)](_0x220def)||this[_0x5558be(0x205)][_0x5558be(0x209)](_0x220def,_0x5aca31);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a6fba=_0x18cb;(function(_0x9250d4,_0x164743){const _0x575311=_0x18cb,_0x525e70=_0x9250d4();while(!![]){try{const _0x1e4f85=-parseInt(_0x575311(0xe1))/0x1+parseInt(_0x575311(0xf0))/0x2+-parseInt(_0x575311(0xed))/0x3*(-parseInt(_0x575311(0x11a))/0x4)+-parseInt(_0x575311(0x101))/0x5+parseInt(_0x575311(0xfd))/0x6+parseInt(_0x575311(0xe5))/0x7+parseInt(_0x575311(0xee))/0x8*(-parseInt(_0x575311(0x114))/0x9);if(_0x1e4f85===_0x164743)break;else _0x525e70['push'](_0x525e70['shift']());}catch(_0x56631d){_0x525e70['push'](_0x525e70['shift']());}}}(_0x5568,0x29e29));import{ContextPlugin as _0x14815c}from'ckeditor5/src/core.js';function _0x18cb(_0x2a8819,_0xa07134){const _0x55680c=_0x5568();return _0x18cb=function(_0x18cb80,_0x6560dc){_0x18cb80=_0x18cb80-0xe1;let _0x46825c=_0x55680c[_0x18cb80];return _0x46825c;},_0x18cb(_0x2a8819,_0xa07134);}import{Collection as _0x27c6f2,CKEditorError as _0x1981d5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2a6141}from'./websocketgateway.js';import{Users as _0xd5662f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5568(){const _0x1f25bd=['requires','712922PmLLiL','allConnectedUsers','fire','register','sessions-unregister-not-exist','connection','unregister','_handleSessionAdd','359481uaOirN','6616MZVDuE','clear','55216tsCiFa','pluginName','addUser','Sessions','defineMe','delete','change:state','mySessionId','init','state','isMe','_registeredSessions','sessionAdd:','772872rQcJTk','sessions-register-already-registered','assign','stopListening','376710GyelMq','isPremiumPlugin','channelConnectedUsers','context','_uniqueUsersCount','getUserRole','user','hiddenInPresenceList','plugins','has','add','_users','forEach','getUserBySessionId','_createUser','channelSessions','listenTo','remove','sessionId','639xZfyXQ','getUser','set','getUserSessions','orderNumber','_handleSessionRemove','4DTwFqw','role','connected','values','get','72473UybOcC','isOfficialPlugin','size'];_0x5568=function(){return _0x1f25bd;};return _0x5568();}export class Sessions extends _0x14815c{[_0x5a6fba(0x110)];[_0x5a6fba(0x103)];[_0x5a6fba(0xe6)];[_0x5a6fba(0xfb)];[_0x5a6fba(0x105)];[_0x5a6fba(0x10c)];static get[_0x5a6fba(0xf1)](){const _0x3fa991=_0x5a6fba;return _0x3fa991(0xf3);}static get[_0x5a6fba(0xe2)](){return!0x0;}static get[_0x5a6fba(0x102)](){return!0x0;}static get[_0x5a6fba(0xe4)](){return[_0x2a6141,_0xd5662f];}constructor(_0xc2163){const _0x35ac38=_0x5a6fba;super(_0xc2163),this[_0x35ac38(0x110)]=new Map(),this[_0x35ac38(0x103)]=new Map(),this[_0x35ac38(0xe6)]=new _0x27c6f2(),this[_0x35ac38(0xfb)]=new Map(),this[_0x35ac38(0x105)]=0x0,this[_0x35ac38(0x10c)]=this[_0x35ac38(0x104)][_0x35ac38(0x109)][_0x35ac38(0x11e)](_0xd5662f);}[_0x5a6fba(0xf8)](){const _0x4269a7=_0x5a6fba,_0x3fcd18=this[_0x4269a7(0x104)][_0x4269a7(0x109)][_0x4269a7(0x11e)](_0x2a6141);this[_0x4269a7(0x111)](_0x3fcd18,_0x4269a7(0xf6),(_0x40b0ab,_0x221792,_0xf8b59c)=>{const _0x357c22=_0x4269a7;if(_0x357c22(0x11c)!==_0xf8b59c)this[_0x357c22(0x110)][_0x357c22(0x10d)](_0x1419e4=>_0x1419e4[_0x357c22(0xef)]()),this[_0x357c22(0x103)][_0x357c22(0x10d)](_0x4bafb2=>_0x4bafb2[_0x357c22(0xef)]()),this[_0x357c22(0xe6)][_0x357c22(0xef)]();else{for(const [_0x1e5b68,_0x573af5]of this[_0x357c22(0xfb)])for(const _0x22dcf0 of _0x573af5)this[_0x357c22(0xec)](_0x1e5b68,_0x22dcf0);}}),this[_0x4269a7(0x10f)](_0x3fcd18[_0x4269a7(0xea)]['me'],!0x0);}[_0x5a6fba(0xe8)](_0x2bad96,_0x353050){const _0x5af716=_0x5a6fba;if(this[_0x5af716(0xfb)][_0x5af716(0x10a)](_0x2bad96))throw new _0x1981d5(_0x5af716(0xfe),null,{'channelId':_0x2bad96});this[_0x5af716(0xfb)][_0x5af716(0x116)](_0x2bad96,_0x353050),this[_0x5af716(0x110)][_0x5af716(0x116)](_0x2bad96,new _0x27c6f2()),this[_0x5af716(0x103)][_0x5af716(0x116)](_0x2bad96,new _0x27c6f2()),this[_0x5af716(0x111)](_0x353050,_0x5af716(0x10b),(_0x183831,_0x384305)=>this[_0x5af716(0xec)](_0x2bad96,_0x384305)),this[_0x5af716(0x111)](_0x353050,_0x5af716(0x112),(_0x5a2fb0,_0x4d2574)=>this[_0x5af716(0x119)](_0x2bad96,_0x4d2574));for(const _0x39ff52 of _0x353050)this[_0x5af716(0xec)](_0x2bad96,_0x39ff52);}[_0x5a6fba(0xeb)](_0x36e4f6){const _0x1a0280=_0x5a6fba;if(!this[_0x1a0280(0xfb)][_0x1a0280(0x10a)](_0x36e4f6))throw new _0x1981d5(_0x1a0280(0xe9),null,{'channelId':_0x36e4f6});const _0x1fecd9=this[_0x1a0280(0xfb)][_0x1a0280(0x11e)](_0x36e4f6);this[_0x1a0280(0x100)](_0x1fecd9);for(const _0x8f17fc of _0x1fecd9)_0x1a0280(0x11c)===this[_0x1a0280(0x104)][_0x1a0280(0x109)][_0x1a0280(0x11e)](_0x2a6141)[_0x1a0280(0xf9)]&&this[_0x1a0280(0x119)](_0x36e4f6,_0x8f17fc);this[_0x1a0280(0xfb)][_0x1a0280(0xf5)](_0x36e4f6),this[_0x1a0280(0x110)][_0x1a0280(0xf5)](_0x36e4f6),this[_0x1a0280(0x103)][_0x1a0280(0xf5)](_0x36e4f6);}get[_0x5a6fba(0xf7)](){const _0x103697=_0x5a6fba;return this[_0x103697(0x104)][_0x103697(0x109)][_0x103697(0x11e)](_0x2a6141)[_0x103697(0xea)][_0x103697(0x113)];}[_0x5a6fba(0x10e)](_0x52b445){const _0x40cb58=_0x5a6fba;for(const _0x461c83 of this[_0x40cb58(0x110)][_0x40cb58(0x11d)]())for(const _0x1132cd of _0x461c83)if(_0x1132cd['id']===_0x52b445)return _0x1132cd[_0x40cb58(0x107)];}[_0x5a6fba(0x117)](_0xd41b49,_0x26a8de){const _0x5cf45f=_0x5a6fba,_0x362919=_0x26a8de?[this[_0x5cf45f(0x110)][_0x5cf45f(0x11e)](_0x26a8de)]:this[_0x5cf45f(0x110)][_0x5cf45f(0x11d)](),_0x16bdff=new Set();for(const _0x57d48f of _0x362919)for(const _0x1df890 of _0x57d48f)_0x1df890[_0x5cf45f(0x107)]['id']===_0xd41b49['id']&&_0x16bdff[_0x5cf45f(0x10b)](_0x1df890['id']);return _0x16bdff;}[_0x5a6fba(0x106)](_0x50d026){const _0x243665=_0x5a6fba;for(const _0x15608f of this[_0x243665(0x110)][_0x243665(0x11d)]())for(const _0x416172 of _0x15608f)if(_0x416172[_0x243665(0x107)]===_0x50d026)return _0x416172[_0x243665(0x11b)];}[_0x5a6fba(0xec)](_0x214590,_0x2bef0d){const _0x546e23=_0x5a6fba;if(_0x546e23(0x11c)!==this[_0x546e23(0x104)][_0x546e23(0x109)][_0x546e23(0x11e)](_0x2a6141)[_0x546e23(0xf9)])return;const _0x1d93c6=_0x2bef0d[_0x546e23(0x107)],_0x41cc1d=this[_0x546e23(0x10c)][_0x546e23(0x115)](_0x1d93c6['id'])||this[_0x546e23(0x10f)](_0x1d93c6),_0x36fbde=Object[_0x546e23(0xff)]({},_0x2bef0d,{'user':_0x41cc1d});if(this[_0x546e23(0x110)][_0x546e23(0x11e)](_0x214590)[_0x546e23(0x10b)](_0x36fbde),!_0x1d93c6[_0x546e23(0x108)]){const _0x125992=this[_0x546e23(0x103)][_0x546e23(0x11e)](_0x214590);_0x125992[_0x546e23(0x10a)](_0x41cc1d['id'])||_0x125992[_0x546e23(0x10b)](_0x41cc1d),this[_0x546e23(0xe6)][_0x546e23(0x10a)](_0x41cc1d['id'])||_0x1d93c6[_0x546e23(0x108)]||this[_0x546e23(0xe6)][_0x546e23(0x10b)](_0x41cc1d,_0x41cc1d[_0x546e23(0xfa)]?0x0:void 0x0);}this[_0x546e23(0xe7)](_0x546e23(0xfc)+_0x214590,{'channelId':_0x214590,'session':_0x36fbde});}[_0x5a6fba(0x119)](_0x2b5b31,_0xc0b4a2){const _0x47d2aa=_0x5a6fba;if(_0x47d2aa(0x11c)!==this[_0x47d2aa(0x104)][_0x47d2aa(0x109)][_0x47d2aa(0x11e)](_0x2a6141)[_0x47d2aa(0xf9)])return;const _0x404774=this[_0x47d2aa(0x103)][_0x47d2aa(0x11e)](_0x2b5b31),_0x1b8e95=_0xc0b4a2[_0x47d2aa(0x107)];_0x1b8e95['id']&&(this[_0x47d2aa(0x110)][_0x47d2aa(0x11e)](_0x2b5b31)[_0x47d2aa(0x112)](_0xc0b4a2['id']),_0x404774[_0x47d2aa(0x10a)](_0x1b8e95['id'])&&!this[_0x47d2aa(0x117)](_0x1b8e95,_0x2b5b31)[_0x47d2aa(0xe3)]&&_0x404774[_0x47d2aa(0x112)](_0x1b8e95['id']),this[_0x47d2aa(0xe6)][_0x47d2aa(0x11e)](_0x1b8e95['id'])&&!this[_0x47d2aa(0x117)](_0x1b8e95)[_0x47d2aa(0xe3)]&&this[_0x47d2aa(0xe6)][_0x47d2aa(0x112)](_0x1b8e95['id']));}[_0x5a6fba(0x10f)](_0x3669ef,_0x54eeec){const _0x9d61bf=_0x5a6fba,_0xf7c3b6=this[_0x9d61bf(0x10c)][_0x9d61bf(0xf2)](_0x3669ef);return _0x54eeec&&this[_0x9d61bf(0x10c)][_0x9d61bf(0xf4)](_0x3669ef['id']),_0xf7c3b6[_0x9d61bf(0x118)]=this[_0x9d61bf(0x105)]++,_0xf7c3b6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2a55e8=_0x58f5;(function(_0x2feb71,_0x29293c){const _0x5dbf4d=_0x58f5,_0xebabd4=_0x2feb71();while(!![]){try{const _0x31ed05=parseInt(_0x5dbf4d(0x77))/0x1*(parseInt(_0x5dbf4d(0x9b))/0x2)+-parseInt(_0x5dbf4d(0xc6))/0x3+-parseInt(_0x5dbf4d(0xa5))/0x4*(parseInt(_0x5dbf4d(0x81))/0x5)+parseInt(_0x5dbf4d(0xb5))/0x6+parseInt(_0x5dbf4d(0x6f))/0x7+parseInt(_0x5dbf4d(0xbd))/0x8*(-parseInt(_0x5dbf4d(0x8b))/0x9)+parseInt(_0x5dbf4d(0x73))/0xa*(parseInt(_0x5dbf4d(0x80))/0xb);if(_0x31ed05===_0x29293c)break;else _0xebabd4['push'](_0xebabd4['shift']());}catch(_0x4d5cc3){_0xebabd4['push'](_0xebabd4['shift']());}}}(_0x10a5,0xb5354));import{Plugin as _0x49c223}from'ckeditor5/src/core.js';import{global as _0xa46b4,DomEmitterMixin as _0x543cd4}from'ckeditor5/src/utils.js';import{Sessions as _0x56389d}from'./sessions.js';function _0x58f5(_0x3f458d,_0x4b8f77){const _0x10a58a=_0x10a5();return _0x58f5=function(_0x58f579,_0x5770c1){_0x58f579=_0x58f579-0x6d;let _0xc328f9=_0x10a58a[_0x58f579];return _0xc328f9;},_0x58f5(_0x3f458d,_0x4b8f77);}import{ModelLiveRange as _0x149c4a}from'ckeditor5/src/engine.js';function _0x10a5(){const _0x57d852=['3561615KyqoIy','startsWith','getPositions','getSelectionClass','plugins','orderNumber','setAttribute','getMarkerClass','getFirstRange','set','markerName','checkChild','markerToHighlight','addMarker','element','hasContent','isSimilar','delete','$text','innerHTML','userPositionMarker','clear','setCustomProperty','change','getUserBySessionId','Escape','stopListening','size','deletionPosition','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getAttribute','ck-user__marker-tooltip','isObject','hasDomSelection','createElement','reconvertMarker','afterInit','editing','detach','isLimit','updateMarker','for','isPremiumPlugin','textContent','span','getContainedElement','start','markerNameToElements','addEventListener','name','mapper','removeMarker','applyOperation','6168834qWyGzX','root','get','schema','370vIqqCo','_domEmitter','batch','getCustomProperty','3387erSnyG','requires','conversion','isDocumentOperation','type','isInline','mouseenter','model','classList','337238uQAVVo','500650vVmxfu','ck-user__selection','destroy','false','tableCell','keydown','getRange','ck-user__marker_hovered','spellcheck','nodeAfter','153lFCuvz','fromRange','newRange','oldRange','editingDowncast','toDomElement','user:','toRange','createUserMarkerOperations','removeClass','markers','mouseleave','init','getNearestSelectionRange','createUIElement','isCollapsed','386zGNzAL','render','has','parent','update:user:range','end','undo','highest','outerHTML','split','48KEtvXN','pluginName','_createdBatches','color','remove','markerRange','user:range:','$graveyard','document','enqueueChange','contenteditable','mySessionId','isOfficialPlugin','editor','add','getStart','7592010mhmnXx','change:range','commands','createRange','view','selection','data-session-id','ck-user__marker\x20','378184ZnqmYN','user:position','UserMarkers','user:range','listenTo','marker','user:position:','markerToElement','rootName'];_0x10a5=function(){return _0x57d852;};return _0x10a5();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x49c223{[_0x2a55e8(0x74)]=new(_0x543cd4())();static get[_0x2a55e8(0x78)](){return[_0x56389d];}static get[_0x2a55e8(0xa6)](){const _0x3e5e38=_0x2a55e8;return _0x3e5e38(0xbf);}static get[_0x2a55e8(0xb1)](){return!0x0;}static get[_0x2a55e8(0xf0)](){return!0x0;}[_0x2a55e8(0x97)](){const _0x91aaed=_0x2a55e8,_0x2214cd=this[_0x91aaed(0xb2)],_0x51f45a=_0x2214cd[_0x91aaed(0xca)][_0x91aaed(0x71)](_0x56389d);_0x2214cd[_0x91aaed(0x79)][_0x91aaed(0xef)](_0x91aaed(0x8f))[_0x91aaed(0xc4)]({'model':_0x91aaed(0xbe),'view':(_0x25197f,{writer:_0x275eb1})=>function(_0x19cc9a,_0x39eb47,_0x3eb26b,_0x28ed57){const _0x1146a6=_0x91aaed,_0x12554d=_0x19cc9a[_0x1146a6(0xd0)][_0x1146a6(0xa4)](':')[0x2],_0x3ca327=_0x3eb26b[_0x1146a6(0xde)](_0x12554d);if(!_0x3ca327||_0x12554d===_0x3eb26b[_0x1146a6(0xb0)])return;if(!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)][_0x1146a6(0xd1)](_0x19cc9a[_0x1146a6(0xaa)][_0x1146a6(0xf4)],_0x1146a6(0xd8)))return;const _0xa363cb={'class':_0x1146a6(0xbc)+_0x3ca327[_0x1146a6(0xa8)][_0x1146a6(0xcd)](),'data-name':_0x3ca327[_0x1146a6(0xf7)],'data-session-id':_0x12554d},_0x2527f8=_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x95)][_0x1146a6(0x71)](_0x19cc9a[_0x1146a6(0xd0)]),_0x348141=_0x2527f8[_0x1146a6(0xb4)](),_0x38e69f=_0x348141[_0x1146a6(0x8a)],_0x41e62a=_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)];if(_0x38e69f&&_0x41e62a[_0x1146a6(0xe6)](_0x38e69f)&&_0x41e62a[_0x1146a6(0x7c)](_0x38e69f)&&!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x95)][_0x1146a6(0x71)](_0x1146a6(0xab)+_0x12554d)[_0x1146a6(0x87)]()[_0x1146a6(0x9a)])return;const _0x587dda=_0x348141[_0x1146a6(0x9e)];return _0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0x72)][_0x1146a6(0xed)](_0x587dda)&&!_0x28ed57[_0x1146a6(0x7e)][_0x1146a6(0xd5)](_0x587dda)&&(_0xa363cb[_0x1146a6(0xaf)]=!0x1),function(_0x40255f,_0x5a7ad2,_0x448f20){const _0x4536f6=_0x1146a6,_0x4fe3f0=_0x40255f[_0x4536f6(0x99)](_0x4536f6(0xf2),_0x5a7ad2);return _0x40255f[_0x4536f6(0xdc)](_0x4536f6(0xda),!0x0,_0x4fe3f0),_0x4fe3f0[_0x4536f6(0x9c)]=function(_0x61c869){const _0x27ca26=_0x4536f6,_0x2099ff=this[_0x27ca26(0x90)](_0x61c869),_0x4afea7=document[_0x27ca26(0xe8)](_0x27ca26(0xf2));return _0x4afea7[_0x27ca26(0x7f)][_0x27ca26(0xb3)](_0x27ca26(0xe5)),_0x4afea7[_0x27ca26(0xcc)](_0x27ca26(0xaf),_0x27ca26(0x84)),_0x4afea7[_0x27ca26(0xcc)](_0x27ca26(0x89),_0x27ca26(0x84)),_0x4afea7[_0x27ca26(0xf1)]=_0x448f20[_0x27ca26(0xf7)],_0x2099ff[_0x27ca26(0xd9)]=_0x27ca26(0xe3)+_0x4afea7[_0x27ca26(0xa3)]+'',_0x2099ff[_0x27ca26(0xf6)](_0x27ca26(0x7d),()=>{const _0x202cc2=_0x27ca26;_0x2099ff[_0x202cc2(0x7f)][_0x202cc2(0xb3)](_0x202cc2(0x88));}),_0x2099ff[_0x27ca26(0xf6)](_0x27ca26(0x96),()=>{const _0x55c2f6=_0x27ca26;_0x2099ff[_0x55c2f6(0x7f)][_0x55c2f6(0xa9)](_0x55c2f6(0x88));}),_0x2099ff;},_0x4fe3f0[_0x4536f6(0xd6)]=function(_0x48d392){const _0x2c786e=_0x4536f6;return!(!this[_0x2c786e(0x76)](_0x2c786e(0xda))||!_0x48d392[_0x2c786e(0x76)](_0x2c786e(0xda))||this[_0x2c786e(0xe4)](_0x2c786e(0xbb))!=_0x48d392[_0x2c786e(0xe4)](_0x2c786e(0xbb)));},_0x4fe3f0;}(_0x39eb47,_0xa363cb,_0x3ca327);}(_0x25197f,_0x275eb1,_0x51f45a,_0x2214cd)}),_0x2214cd[_0x91aaed(0x79)][_0x91aaed(0xef)](_0x91aaed(0x8f))[_0x91aaed(0xd2)]({'model':_0x91aaed(0xc0),'view':_0x45bf0e=>function(_0x4e2edf,_0x5f3d3a){const _0x46a8b1=_0x91aaed,_0x4526f4=_0x4e2edf[_0x46a8b1(0xd0)][_0x46a8b1(0xa4)](':')[0x2];if(_0x4526f4===_0x5f3d3a[_0x46a8b1(0xb0)])return null;const _0x3c2601=_0x5f3d3a[_0x46a8b1(0xde)](_0x4526f4);if(!_0x3c2601)return{'id':_0x4526f4,'classes':[]};return{'id':_0x4526f4,'classes':[_0x46a8b1(0x82),_0x3c2601[_0x46a8b1(0xa8)][_0x46a8b1(0xc9)]()],'attributes':{'data-session-id':_0x4526f4},'priority':0x7d0+_0x3c2601[_0x46a8b1(0xcb)]};}(_0x45bf0e,_0x51f45a)}),function(_0x37df2a){const _0x5d9545=_0x91aaed,_0x297f58=_0x37df2a[_0x5d9545(0x7e)],_0x4c8d77=new Map(),_0x5e6b29=_0x37df2a[_0x5d9545(0xca)][_0x5d9545(0x71)](_0x56389d);_0x297f58[_0x5d9545(0x95)]['on'](_0x5d9545(0x9f),(_0x2180d3,_0x16d5e1,_0x6274e2,_0xea5783)=>{const _0x3cf5f6=_0x5d9545;if(!_0xea5783&&_0x4c8d77[_0x3cf5f6(0x71)](_0x16d5e1[_0x3cf5f6(0xf7)]))return _0x4c8d77[_0x3cf5f6(0x71)](_0x16d5e1[_0x3cf5f6(0xf7)])[_0x3cf5f6(0xec)](),void _0x4c8d77[_0x3cf5f6(0xd7)](_0x16d5e1[_0x3cf5f6(0xf7)]);const _0x50ef6a=_0x16d5e1[_0x3cf5f6(0xf7)][_0x3cf5f6(0xa4)](':')[0x2];if(_0x50ef6a===_0x5e6b29[_0x3cf5f6(0xb0)])return;const _0x880d61=_0x3cf5f6(0xc3)+_0x50ef6a;_0x297f58[_0x3cf5f6(0x95)][_0x3cf5f6(0x9d)](_0x880d61)&&_0x37df2a[_0x3cf5f6(0xeb)][_0x3cf5f6(0xe9)](_0x880d61),_0x16d5e1['on'](_0x3cf5f6(0xb6),(_0x2faf2b,_0x51477e,_0x506522)=>{const _0x2b1a6a=_0x3cf5f6;if(_0x2b1a6a(0xac)!=_0x51477e[_0x2b1a6a(0x70)][_0x2b1a6a(0xc5)]&&_0x2b1a6a(0xac)==_0x16d5e1[_0x2b1a6a(0x87)]()[_0x2b1a6a(0x70)][_0x2b1a6a(0xc5)]&&!_0x4c8d77[_0x2b1a6a(0x9d)](_0x16d5e1[_0x2b1a6a(0xf7)])){const _0x414ec2=_0x297f58[_0x2b1a6a(0x72)][_0x2b1a6a(0x98)](_0x506522[_0x2b1a6a(0xe2)]);if(_0x414ec2){const _0x21e14d=_0x149c4a[_0x2b1a6a(0x8c)](_0x414ec2);_0x4c8d77[_0x2b1a6a(0xcf)](_0x16d5e1[_0x2b1a6a(0xf7)],_0x21e14d),_0x21e14d['on'](_0x2b1a6a(0xb6),(_0x15c8b3,_0x2690ef,_0x497ce8)=>{const _0x12fa27=_0x2b1a6a;if(_0x12fa27(0xac)==_0x21e14d[_0x12fa27(0x70)][_0x12fa27(0xc5)]){const _0x537eee=_0x297f58[_0x12fa27(0x72)][_0x12fa27(0x98)](_0x497ce8[_0x12fa27(0xe2)]);_0x537eee?(_0x21e14d[_0x12fa27(0xf4)]=_0x537eee[_0x12fa27(0xf4)],_0x21e14d[_0x12fa27(0xa0)]=_0x537eee[_0x12fa27(0xa0)]):(_0x4c8d77[_0x12fa27(0xd7)](_0x16d5e1[_0x12fa27(0xf7)]),_0x21e14d[_0x12fa27(0xec)]());}});}}});}),_0x297f58[_0x5d9545(0xad)]['on'](_0x5d9545(0xdd),()=>{const _0x553f29=_0x5d9545;_0x4c8d77[_0x553f29(0xe1)]>0x0&&_0x297f58[_0x553f29(0xae)]({'isUndoable':!0x1},_0x466b0a=>{const _0x363b50=_0x553f29;for(const [_0x12780a,_0x26c664]of _0x4c8d77)_0x363b50(0xac)==_0x297f58[_0x363b50(0x95)][_0x363b50(0x71)](_0x12780a)[_0x363b50(0x87)]()[_0x363b50(0x70)][_0x363b50(0xc5)]&&(Z(_0x12780a[_0x363b50(0xa4)](':')[0x2],_0x26c664[_0x363b50(0x92)](),_0x297f58,_0x466b0a),_0x26c664[_0x363b50(0xec)]());_0x4c8d77[_0x363b50(0xdb)]();});});}(_0x2214cd),this[_0x91aaed(0x74)][_0x91aaed(0xc1)](_0xa46b4[_0x91aaed(0xad)],_0x91aaed(0x86),(_0x288d99,{key:_0x422a89})=>{const _0x377870=_0x91aaed;_0x377870(0xdf)===_0x422a89&&function(_0x33f4d9){const _0x5dfb17=_0x377870;_0x33f4d9[_0x5dfb17(0xeb)][_0x5dfb17(0xb9)][_0x5dfb17(0xdd)](_0x1f70b2=>{const _0x37c096=_0x5dfb17;for(const _0x4d4a1e of _0x33f4d9[_0x37c096(0x7e)][_0x37c096(0x95)]){if(!_0x4d4a1e[_0x37c096(0xf7)][_0x37c096(0xc7)](_0x37c096(0xbe)))continue;const _0x3b07fd=_0x33f4d9[_0x37c096(0xeb)][_0x37c096(0xf8)][_0x37c096(0xf5)](_0x4d4a1e[_0x37c096(0xf7)]);if(_0x3b07fd){for(const _0x51b041 of _0x3b07fd)_0x1f70b2[_0x37c096(0x94)](_0x37c096(0x88),_0x51b041);}}});}(_0x2214cd);},{'useCapture':!0x0});}[_0x2a55e8(0xea)](){const _0x3a87e3=_0x2a55e8,_0x40fa5d=this[_0x3a87e3(0xb2)],_0x158d13=_0x40fa5d[_0x3a87e3(0xb7)][_0x3a87e3(0x71)](_0x3a87e3(0xa1));_0x158d13&&_0x40fa5d[_0x3a87e3(0x7e)]['on'](_0x3a87e3(0x6e),(_0x46fc1f,_0x3ecf42)=>{const _0x40b661=_0x3a87e3,_0x4e7217=_0x3ecf42[0x0];if(!_0x4e7217[_0x40b661(0x7a)])return;if(_0x40b661(0xc2)!=_0x4e7217[_0x40b661(0x7b)]||!_0x4e7217[_0x40b661(0xf7)][_0x40b661(0xc7)](_0x40b661(0x91)))return;const _0x1b3254=_0x4e7217[_0x40b661(0x75)];_0x158d13[_0x40b661(0xa7)][_0x40b661(0x9d)](_0x1b3254)&&(_0x4e7217[_0x40b661(0x8d)]=_0x4e7217[_0x40b661(0x8e)]?_0x40fa5d[_0x40b661(0x7e)][_0x40b661(0xb8)](_0x4e7217[_0x40b661(0x8e)][_0x40b661(0xf4)],_0x4e7217[_0x40b661(0x8e)][_0x40b661(0xa0)]):null);},{'priority':_0x3a87e3(0xa2)});}[_0x2a55e8(0x83)](){const _0x15fa10=_0x2a55e8;return this[_0x15fa10(0x74)][_0x15fa10(0xe0)](),super[_0x15fa10(0x83)]();}[_0x2a55e8(0x93)](){const _0x435966=_0x2a55e8,_0x5d4bb7=this[_0x435966(0xb2)],_0x2344d3=_0x5d4bb7[_0x435966(0x7e)][_0x435966(0xad)],_0x395b6c=_0x5d4bb7[_0x435966(0xca)][_0x435966(0x71)](_0x56389d);_0x5d4bb7[_0x435966(0x7e)][_0x435966(0xae)]({'isUndoable':!0x1},_0x86a9ba=>{const _0x119905=_0x435966,_0x539905=_0x119905(0xab)+_0x395b6c[_0x119905(0xb0)],_0x1226b8=_0x119905(0xc3)+_0x395b6c[_0x119905(0xb0)],_0x4e1e72=_0x5d4bb7[_0x119905(0x7e)][_0x119905(0x95)][_0x119905(0x9d)](_0x539905);_0x5d4bb7[_0x119905(0xeb)][_0x119905(0xb9)][_0x119905(0xe7)]?Z(_0x395b6c[_0x119905(0xb0)],_0x2344d3[_0x119905(0xba)][_0x119905(0xce)](),_0x5d4bb7[_0x119905(0x7e)],_0x86a9ba):_0x4e1e72&&(_0x86a9ba[_0x119905(0x6d)](_0x539905),_0x86a9ba[_0x119905(0x6d)](_0x1226b8));});}}function Z(_0x5beab5,_0x3fb664,_0x44eb8d,_0x31af05){const _0x54dc31=_0x2a55e8,_0x1f84eb=_0x54dc31(0xab)+_0x5beab5,_0x36128f=_0x54dc31(0xc3)+_0x5beab5,_0xd02169=_0x3fb664[_0x54dc31(0xf3)]();let _0x564ea9=_0x3fb664[_0x54dc31(0xf4)];if(_0xd02169&&_0xd02169['is'](_0x54dc31(0xd4),_0x54dc31(0x85))){const _0x9022ff=function(_0x26e627,_0x5d5377){const _0x4dadd5=_0x54dc31;for(const _0x2e7d76 of _0x26e627[_0x4dadd5(0xc8)]())if(_0x5d5377[_0x4dadd5(0x72)][_0x4dadd5(0xd1)](_0x2e7d76,_0x4dadd5(0xd8)))return _0x2e7d76;}(_0x3fb664,_0x44eb8d);_0x9022ff&&(_0x564ea9=_0x9022ff,_0x3fb664=_0x31af05[_0x54dc31(0xb8)](_0x564ea9));}const _0x2b05ee=_0x31af05[_0x54dc31(0xb8)](_0x564ea9);_0x44eb8d[_0x54dc31(0x95)][_0x54dc31(0x9d)](_0x1f84eb)?(_0x31af05[_0x54dc31(0xee)](_0x1f84eb,{'range':_0x3fb664}),_0x31af05[_0x54dc31(0xee)](_0x36128f,{'range':_0x2b05ee})):(_0x31af05[_0x54dc31(0xd3)](_0x1f84eb,{'range':_0x3fb664,'usingOperation':!0x0}),_0x31af05[_0x54dc31(0xd3)](_0x36128f,{'range':_0x2b05ee,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x3d0427=_0x45f8;(function(_0x21cc6c,_0xab0445){const _0x36fb06=_0x45f8,_0x15a396=_0x21cc6c();while(!![]){try{const _0x279c20=parseInt(_0x36fb06(0x121))/0x1+parseInt(_0x36fb06(0xd7))/0x2+-parseInt(_0x36fb06(0xe6))/0x3+parseInt(_0x36fb06(0x142))/0x4+parseInt(_0x36fb06(0x124))/0x5*(parseInt(_0x36fb06(0x13c))/0x6)+parseInt(_0x36fb06(0xea))/0x7*(parseInt(_0x36fb06(0x123))/0x8)+-parseInt(_0x36fb06(0x107))/0x9*(parseInt(_0x36fb06(0x105))/0xa);if(_0x279c20===_0xab0445)break;else _0x15a396['push'](_0x15a396['shift']());}catch(_0x348f4b){_0x15a396['push'](_0x15a396['shift']());}}}(_0x57b5,0x740b2));function _0x45f8(_0x2784ef,_0x3eb876){const _0x57b5a2=_0x57b5();return _0x45f8=function(_0x45f834,_0xb6b86a){_0x45f834=_0x45f834-0xc0;let _0x2725d7=_0x57b5a2[_0x45f834];return _0x2725d7;},_0x45f8(_0x2784ef,_0x3eb876);}import{Plugin as _0x324809}from'ckeditor5/src/core.js';import{global as _0x178a35,DomEmitterMixin as _0xead13d}from'ckeditor5/src/utils.js';import{Sessions as _0x1fb713}from'./sessions.js';import{ModelLiveRange as _0x39fe1f}from'ckeditor5/src/engine.js';function _0x57b5(){const _0x4ed85b=['update:user:range','detach','toRange','getFirstRange','set','reconvertMarker','type','addEventListener','parent','createUserMarkerOperations','getAttribute','isCollapsed','span','markerName','user:range','Escape','batch','selection','change:range','destroy','user:position','orderNumber','removeClass','editingDowncast','root','innerHTML','344692PMlTeL','tableCell','markerToHighlight','hasContent','$graveyard','listenTo','rootName','setAttribute','spellcheck','isDocumentOperation','deletionPosition','createUIElement','oldRange','isPremiumPlugin','getSelectionClass','1358298QSGXtQ','startsWith','outerHTML','_domEmitter','52220fPeudo','updateMarker','get','$text','name','isSimilar','getNearestSelectionRange','keydown','schema','render','mySessionId','ck-user__selection','ck-user__marker-tooltip','setCustomProperty','user:position:','getPositions','_createdBatches','for','createElement','createRange','removeMarker','mouseleave','getMarkerClass','clear','getContainedElement','editing','commands','10DkOqjX','view','7245738uLibFy','stopListening','add','toDomElement','checkChild','data-session-id','element','start','nodeAfter','document','model','markerToElement','undo','delete','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerRange','fromRange','getCustomProperty','afterInit','isInline','UserMarkers','marker','editor','mouseenter','user:range:','highest','455412lzbPwC','isLimit','88UjKwFV','39670DttWls','textContent','classList','size','change','user:','enqueueChange','hasDomSelection','isObject','ck-user__marker_hovered','conversion','applyOperation','end','markerNameToElements','ck-user__marker\x20','remove','markers','pluginName','newRange','getRange','plugins','false','split','mapper','474nnBWAO','requires','userPositionMarker','getUserBySessionId','getStart','isOfficialPlugin','1586232sncxdh','color','addMarker','init','has','contenteditable'];_0x57b5=function(){return _0x4ed85b;};return _0x57b5();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x324809{[_0x3d0427(0xe9)]=new(_0xead13d())();static get[_0x3d0427(0x13d)](){return[_0x1fb713];}static get[_0x3d0427(0x135)](){const _0x1fcf14=_0x3d0427;return _0x1fcf14(0x11b);}static get[_0x3d0427(0x141)](){return!0x0;}static get[_0x3d0427(0xe4)](){return!0x0;}[_0x3d0427(0x145)](){const _0x128fca=_0x3d0427,_0x490909=this[_0x128fca(0x11d)],_0xfd8efb=_0x490909[_0x128fca(0x138)][_0x128fca(0xec)](_0x1fb713);_0x490909[_0x128fca(0x12e)][_0x128fca(0xfb)](_0x128fca(0xd4))[_0x128fca(0x112)]({'model':_0x128fca(0xd1),'view':(_0x5b0182,{writer:_0x3df093})=>function(_0x347bfb,_0x3c8f6a,_0x51c961,_0x40c1c5){const _0x3e4244=_0x128fca,_0x3ae33a=_0x347bfb[_0x3e4244(0xca)][_0x3e4244(0x13a)](':')[0x2],_0x5a3b40=_0x51c961[_0x3e4244(0x13f)](_0x3ae33a);if(!_0x5a3b40||_0x3ae33a===_0x51c961[_0x3e4244(0xf4)])return;if(!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)][_0x3e4244(0x10b)](_0x347bfb[_0x3e4244(0x116)][_0x3e4244(0x10e)],_0x3e4244(0xed)))return;const _0x2fde86={'class':_0x3e4244(0x132)+_0x5a3b40[_0x3e4244(0x143)][_0x3e4244(0x100)](),'data-name':_0x5a3b40[_0x3e4244(0xee)],'data-session-id':_0x3ae33a},_0x5329b2=_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0x134)][_0x3e4244(0xec)](_0x347bfb[_0x3e4244(0xca)]),_0x906cec=_0x5329b2[_0x3e4244(0x140)](),_0x351957=_0x906cec[_0x3e4244(0x10f)],_0x1a1f28=_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)];if(_0x351957&&_0x1a1f28[_0x3e4244(0x12c)](_0x351957)&&_0x1a1f28[_0x3e4244(0x11a)](_0x351957)&&!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0x134)][_0x3e4244(0xec)](_0x3e4244(0x11f)+_0x3ae33a)[_0x3e4244(0x137)]()[_0x3e4244(0xc8)])return;const _0x18124e=_0x906cec[_0x3e4244(0xc5)];return _0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)][_0x3e4244(0x122)](_0x18124e)&&!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xda)](_0x18124e)&&(_0x2fde86[_0x3e4244(0x147)]=!0x1),function(_0x594e3b,_0x3e2458,_0x155bf9){const _0x3828a3=_0x3e4244,_0x1824aa=_0x594e3b[_0x3828a3(0xe2)](_0x3828a3(0xc9),_0x3e2458);return _0x594e3b[_0x3828a3(0xf7)](_0x3828a3(0x13e),!0x0,_0x1824aa),_0x1824aa[_0x3828a3(0xf3)]=function(_0x5e047d){const _0x130893=_0x3828a3,_0x90ed2c=this[_0x130893(0x10a)](_0x5e047d),_0x325297=document[_0x130893(0xfc)](_0x130893(0xc9));return _0x325297[_0x130893(0x126)][_0x130893(0x109)](_0x130893(0xf6)),_0x325297[_0x130893(0xde)](_0x130893(0x147),_0x130893(0x139)),_0x325297[_0x130893(0xde)](_0x130893(0xdf),_0x130893(0x139)),_0x325297[_0x130893(0x125)]=_0x155bf9[_0x130893(0xee)],_0x90ed2c[_0x130893(0xd6)]=_0x130893(0x115)+_0x325297[_0x130893(0xe8)]+'',_0x90ed2c[_0x130893(0xc4)](_0x130893(0x11e),()=>{const _0x6b7cf4=_0x130893;_0x90ed2c[_0x6b7cf4(0x126)][_0x6b7cf4(0x109)](_0x6b7cf4(0x12d));}),_0x90ed2c[_0x130893(0xc4)](_0x130893(0xff),()=>{const _0x5b3245=_0x130893;_0x90ed2c[_0x5b3245(0x126)][_0x5b3245(0x133)](_0x5b3245(0x12d));}),_0x90ed2c;},_0x1824aa[_0x3828a3(0xef)]=function(_0xfa5d70){const _0x5e44ac=_0x3828a3;return!(!this[_0x5e44ac(0x118)](_0x5e44ac(0x13e))||!_0xfa5d70[_0x5e44ac(0x118)](_0x5e44ac(0x13e))||this[_0x5e44ac(0xc7)](_0x5e44ac(0x10c))!=_0xfa5d70[_0x5e44ac(0xc7)](_0x5e44ac(0x10c)));},_0x1824aa;}(_0x3c8f6a,_0x2fde86,_0x5a3b40);}(_0x5b0182,_0x3df093,_0xfd8efb,_0x490909)}),_0x490909[_0x128fca(0x12e)][_0x128fca(0xfb)](_0x128fca(0xd4))[_0x128fca(0xd9)]({'model':_0x128fca(0xcb),'view':_0x5833a5=>function(_0x3e9295,_0x42570a){const _0x5fd429=_0x128fca,_0x364a40=_0x3e9295[_0x5fd429(0xca)][_0x5fd429(0x13a)](':')[0x2];if(_0x364a40===_0x42570a[_0x5fd429(0xf4)])return null;const _0x5638be=_0x42570a[_0x5fd429(0x13f)](_0x364a40);if(!_0x5638be)return{'id':_0x364a40,'classes':[]};return{'id':_0x364a40,'classes':[_0x5fd429(0xf5),_0x5638be[_0x5fd429(0x143)][_0x5fd429(0xe5)]()],'attributes':{'data-session-id':_0x364a40},'priority':0x7d0+_0x5638be[_0x5fd429(0xd2)]};}(_0x5833a5,_0xfd8efb)}),function(_0x207c3d){const _0x4f1119=_0x128fca,_0x43417a=_0x207c3d[_0x4f1119(0x111)],_0x4ac599=new Map(),_0x2c6ca6=_0x207c3d[_0x4f1119(0x138)][_0x4f1119(0xec)](_0x1fb713);_0x43417a[_0x4f1119(0x134)]['on'](_0x4f1119(0x148),(_0x229d57,_0x364bdd,_0x2ecd62,_0x6911f9)=>{const _0x49a473=_0x4f1119;if(!_0x6911f9&&_0x4ac599[_0x49a473(0xec)](_0x364bdd[_0x49a473(0xee)]))return _0x4ac599[_0x49a473(0xec)](_0x364bdd[_0x49a473(0xee)])[_0x49a473(0x149)](),void _0x4ac599[_0x49a473(0x114)](_0x364bdd[_0x49a473(0xee)]);const _0x1f8d01=_0x364bdd[_0x49a473(0xee)][_0x49a473(0x13a)](':')[0x2];if(_0x1f8d01===_0x2c6ca6[_0x49a473(0xf4)])return;const _0x1cab5b=_0x49a473(0xf8)+_0x1f8d01;_0x43417a[_0x49a473(0x134)][_0x49a473(0x146)](_0x1cab5b)&&_0x207c3d[_0x49a473(0x103)][_0x49a473(0xc2)](_0x1cab5b),_0x364bdd['on'](_0x49a473(0xcf),(_0xde64ff,_0x478abf,_0x8359b5)=>{const _0x363140=_0x49a473;if(_0x363140(0xdb)!=_0x478abf[_0x363140(0xd5)][_0x363140(0xdd)]&&_0x363140(0xdb)==_0x364bdd[_0x363140(0x137)]()[_0x363140(0xd5)][_0x363140(0xdd)]&&!_0x4ac599[_0x363140(0x146)](_0x364bdd[_0x363140(0xee)])){const _0x3f2b01=_0x43417a[_0x363140(0xf2)][_0x363140(0xf0)](_0x8359b5[_0x363140(0xe1)]);if(_0x3f2b01){const _0x424650=_0x39fe1f[_0x363140(0x117)](_0x3f2b01);_0x4ac599[_0x363140(0xc1)](_0x364bdd[_0x363140(0xee)],_0x424650),_0x424650['on'](_0x363140(0xcf),(_0x281a86,_0x5dfe89,_0x30f25c)=>{const _0x24f8f5=_0x363140;if(_0x24f8f5(0xdb)==_0x424650[_0x24f8f5(0xd5)][_0x24f8f5(0xdd)]){const _0x4b9dfc=_0x43417a[_0x24f8f5(0xf2)][_0x24f8f5(0xf0)](_0x30f25c[_0x24f8f5(0xe1)]);_0x4b9dfc?(_0x424650[_0x24f8f5(0x10e)]=_0x4b9dfc[_0x24f8f5(0x10e)],_0x424650[_0x24f8f5(0x130)]=_0x4b9dfc[_0x24f8f5(0x130)]):(_0x4ac599[_0x24f8f5(0x114)](_0x364bdd[_0x24f8f5(0xee)]),_0x424650[_0x24f8f5(0x149)]());}});}}});}),_0x43417a[_0x4f1119(0x110)]['on'](_0x4f1119(0x128),()=>{const _0x4b896b=_0x4f1119;_0x4ac599[_0x4b896b(0x127)]>0x0&&_0x43417a[_0x4b896b(0x12a)]({'isUndoable':!0x1},_0x5851d6=>{const _0x415f30=_0x4b896b;for(const [_0x1d8a91,_0x36c38c]of _0x4ac599)_0x415f30(0xdb)==_0x43417a[_0x415f30(0x134)][_0x415f30(0xec)](_0x1d8a91)[_0x415f30(0x137)]()[_0x415f30(0xd5)][_0x415f30(0xdd)]&&(Z(_0x1d8a91[_0x415f30(0x13a)](':')[0x2],_0x36c38c[_0x415f30(0x14a)](),_0x43417a,_0x5851d6),_0x36c38c[_0x415f30(0x149)]());_0x4ac599[_0x415f30(0x101)]();});});}(_0x490909),this[_0x128fca(0xe9)][_0x128fca(0xdc)](_0x178a35[_0x128fca(0x110)],_0x128fca(0xf1),(_0x53ff10,{key:_0x229b31})=>{const _0x4de026=_0x128fca;_0x4de026(0xcc)===_0x229b31&&function(_0x273500){const _0x4ec599=_0x4de026;_0x273500[_0x4ec599(0x103)][_0x4ec599(0x106)][_0x4ec599(0x128)](_0x1b541d=>{const _0x1f1bb0=_0x4ec599;for(const _0x920288 of _0x273500[_0x1f1bb0(0x111)][_0x1f1bb0(0x134)]){if(!_0x920288[_0x1f1bb0(0xee)][_0x1f1bb0(0xe7)](_0x1f1bb0(0xd1)))continue;const _0x5749e9=_0x273500[_0x1f1bb0(0x103)][_0x1f1bb0(0x13b)][_0x1f1bb0(0x131)](_0x920288[_0x1f1bb0(0xee)]);if(_0x5749e9){for(const _0x1d9910 of _0x5749e9)_0x1b541d[_0x1f1bb0(0xd3)](_0x1f1bb0(0x12d),_0x1d9910);}}});}(_0x490909);},{'useCapture':!0x0});}[_0x3d0427(0x119)](){const _0x9ea5f6=_0x3d0427,_0x1d5236=this[_0x9ea5f6(0x11d)],_0xcec3e3=_0x1d5236[_0x9ea5f6(0x104)][_0x9ea5f6(0xec)](_0x9ea5f6(0x113));_0xcec3e3&&_0x1d5236[_0x9ea5f6(0x111)]['on'](_0x9ea5f6(0x12f),(_0x2a583b,_0x169030)=>{const _0x6f770f=_0x9ea5f6,_0x3d93a4=_0x169030[0x0];if(!_0x3d93a4[_0x6f770f(0xe0)])return;if(_0x6f770f(0x11c)!=_0x3d93a4[_0x6f770f(0xc3)]||!_0x3d93a4[_0x6f770f(0xee)][_0x6f770f(0xe7)](_0x6f770f(0x129)))return;const _0x474f49=_0x3d93a4[_0x6f770f(0xcd)];_0xcec3e3[_0x6f770f(0xfa)][_0x6f770f(0x146)](_0x474f49)&&(_0x3d93a4[_0x6f770f(0x136)]=_0x3d93a4[_0x6f770f(0xe3)]?_0x1d5236[_0x6f770f(0x111)][_0x6f770f(0xfd)](_0x3d93a4[_0x6f770f(0xe3)][_0x6f770f(0x10e)],_0x3d93a4[_0x6f770f(0xe3)][_0x6f770f(0x130)]):null);},{'priority':_0x9ea5f6(0x120)});}[_0x3d0427(0xd0)](){const _0x444d0b=_0x3d0427;return this[_0x444d0b(0xe9)][_0x444d0b(0x108)](),super[_0x444d0b(0xd0)]();}[_0x3d0427(0xc6)](){const _0x4f67e0=_0x3d0427,_0x1978bc=this[_0x4f67e0(0x11d)],_0x2befb0=_0x1978bc[_0x4f67e0(0x111)][_0x4f67e0(0x110)],_0x18c553=_0x1978bc[_0x4f67e0(0x138)][_0x4f67e0(0xec)](_0x1fb713);_0x1978bc[_0x4f67e0(0x111)][_0x4f67e0(0x12a)]({'isUndoable':!0x1},_0x1f112f=>{const _0x1dd8c5=_0x4f67e0,_0x3f50a3=_0x1dd8c5(0x11f)+_0x18c553[_0x1dd8c5(0xf4)],_0x45cb7e=_0x1dd8c5(0xf8)+_0x18c553[_0x1dd8c5(0xf4)],_0x439d52=_0x1978bc[_0x1dd8c5(0x111)][_0x1dd8c5(0x134)][_0x1dd8c5(0x146)](_0x3f50a3);_0x1978bc[_0x1dd8c5(0x103)][_0x1dd8c5(0x106)][_0x1dd8c5(0x12b)]?Z(_0x18c553[_0x1dd8c5(0xf4)],_0x2befb0[_0x1dd8c5(0xce)][_0x1dd8c5(0xc0)](),_0x1978bc[_0x1dd8c5(0x111)],_0x1f112f):_0x439d52&&(_0x1f112f[_0x1dd8c5(0xfe)](_0x3f50a3),_0x1f112f[_0x1dd8c5(0xfe)](_0x45cb7e));});}}function Z(_0x4dc61d,_0x142e2b,_0x408e18,_0x18679f){const _0x49ee25=_0x3d0427,_0x2c9f37=_0x49ee25(0x11f)+_0x4dc61d,_0x2b12b2=_0x49ee25(0xf8)+_0x4dc61d,_0x4e963e=_0x142e2b[_0x49ee25(0x102)]();let _0x315709=_0x142e2b[_0x49ee25(0x10e)];if(_0x4e963e&&_0x4e963e['is'](_0x49ee25(0x10d),_0x49ee25(0xd8))){const _0xd048f6=function(_0x24fc6d,_0x24374e){const _0x1b10a5=_0x49ee25;for(const _0x1674d9 of _0x24fc6d[_0x1b10a5(0xf9)]())if(_0x24374e[_0x1b10a5(0xf2)][_0x1b10a5(0x10b)](_0x1674d9,_0x1b10a5(0xed)))return _0x1674d9;}(_0x142e2b,_0x408e18);_0xd048f6&&(_0x315709=_0xd048f6,_0x142e2b=_0x18679f[_0x49ee25(0xfd)](_0x315709));}const _0x53f674=_0x18679f[_0x49ee25(0xfd)](_0x315709);_0x408e18[_0x49ee25(0x134)][_0x49ee25(0x146)](_0x2c9f37)?(_0x18679f[_0x49ee25(0xeb)](_0x2c9f37,{'range':_0x142e2b}),_0x18679f[_0x49ee25(0xeb)](_0x2b12b2,{'range':_0x53f674})):(_0x18679f[_0x49ee25(0x144)](_0x2c9f37,{'range':_0x142e2b,'usingOperation':!0x0}),_0x18679f[_0x49ee25(0x144)](_0x2b12b2,{'range':_0x53f674,'usingOperation':!0x0}));}
|