@ckeditor/ckeditor5-real-time-collaboration 47.1.0-alpha.2 → 47.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x16c8f8=_0xd9e5;function _0xd9e5(_0x18cdb7,_0x298bfd){const _0x3df1a4=_0x3df1();return _0xd9e5=function(_0xd9e5e5,_0x1e4bc8){_0xd9e5e5=_0xd9e5e5-0x82;let _0x537244=_0x3df1a4[_0xd9e5e5];return _0x537244;},_0xd9e5(_0x18cdb7,_0x298bfd);}(function(_0x1b1b43,_0x5ed241){const _0x5b3396=_0xd9e5,_0x1c4d8e=_0x1b1b43();while(!![]){try{const _0x5675f5=-parseInt(_0x5b3396(0x97))/0x1*(-parseInt(_0x5b3396(0x98))/0x2)+-parseInt(_0x5b3396(0x8d))/0x3+parseInt(_0x5b3396(0x83))/0x4+parseInt(_0x5b3396(0x99))/0x5+parseInt(_0x5b3396(0x90))/0x6*(parseInt(_0x5b3396(0x9b))/0x7)+parseInt(_0x5b3396(0x82))/0x8+parseInt(_0x5b3396(0xa6))/0x9*(-parseInt(_0x5b3396(0x8b))/0xa);if(_0x5675f5===_0x5ed241)break;else _0x1c4d8e['push'](_0x1c4d8e['shift']());}catch(_0x1ab33d){_0x1c4d8e['push'](_0x1c4d8e['shift']());}}}(_0x3df1,0xf34c7));import{View as _0x4052ab}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2a4932}from'ckeditor5/src/utils.js';import{getTranslation as _0x1016d6}from'../../common-translations.js';function _0x3df1(){const _0x3ec1c0=['ck-presence-list__list','Connected\x20users\x20list','11636464rTjisC','6778112tlFimW','.ck-balloon-panel_with-arrow','setAttribute','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','contains','isExpanded','presencelist:show','520jdSjgq','aria-expanded','1031313ijYwVe','hasPopup','relatedTarget','6yfLqiT','setTemplate','fire','render','change:hasPopup','list','listenTo','1WnUsiw','195814znfJAw','2253960qxdJSE','.ck-presence-list__dropdown-list','5476079yRMzIu','set','querySelector','element','keystrokes','div','items','removeAttribute','presencelist:hide','focus','createCollection','543420WXUdwN'];_0x3df1=function(){return _0x3ec1c0;};return _0x3df1();}export class PresenceInlineListView extends _0x4052ab{[_0x16c8f8(0xa1)];[_0x16c8f8(0x9f)];constructor(_0x4c1425){const _0x343ab3=_0x16c8f8;super(_0x4c1425);const _0x41499f=this[_0x343ab3(0x87)];this[_0x343ab3(0xa1)]=this[_0x343ab3(0xa5)](),this[_0x343ab3(0x9f)]=new _0x2a4932(),this[_0x343ab3(0x9c)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x343ab3(0x91)]({'tag':_0x343ab3(0xa0),'attributes':{'aria-haspopup':_0x41499f['if'](_0x343ab3(0x8e)),'aria-expanded':_0x41499f['to'](_0x343ab3(0x89),_0x5cc8a4=>this[_0x343ab3(0x8e)]&&String(_0x5cc8a4)),'aria-label':_0x41499f['to'](_0x343ab3(0x8e),_0x180ac1=>_0x1016d6(_0x4c1425,_0x180ac1?_0x343ab3(0x86):_0x343ab3(0xa8))),'role':_0x343ab3(0x95),'tabindex':_0x41499f['to'](_0x343ab3(0x8e),_0x343e38=>!!_0x343e38&&0x0),'class':['ck',_0x343ab3(0xa7)]},'children':this[_0x343ab3(0xa1)],'on':{'mouseenter':_0x41499f['to'](()=>this[_0x343ab3(0x92)](_0x343ab3(0x8a))),'mouseleave':_0x41499f['to'](_0xb4de24=>{const _0x3e9b58=_0x343ab3,_0x252f03=_0xb4de24,_0x35b61f=document[_0x3e9b58(0x9d)](_0x3e9b58(0x9a)),_0x12881e=document[_0x3e9b58(0x9d)](_0x3e9b58(0x84));_0x35b61f?.[_0x3e9b58(0x88)](_0x252f03[_0x3e9b58(0x8f)])||_0x12881e?.[_0x3e9b58(0x88)](_0x252f03[_0x3e9b58(0x8f)])||this[_0x3e9b58(0x92)](_0x3e9b58(0xa3));})}}),this['on'](_0x343ab3(0x94),(_0x26ce0f,_0x5e6a55,_0x3739f3)=>{const _0x52f177=_0x343ab3;this[_0x52f177(0x9e)]&&(_0x3739f3?this[_0x52f177(0x9e)][_0x52f177(0x85)](_0x52f177(0x8c),String(this[_0x52f177(0x89)])):this[_0x52f177(0x9e)][_0x52f177(0xa2)](_0x52f177(0x8c)));});}[_0x16c8f8(0xa4)](){const _0x1ac6de=_0x16c8f8;this[_0x1ac6de(0x9e)][_0x1ac6de(0xa4)]();}[_0x16c8f8(0x93)](){const _0x30545c=_0x16c8f8;super[_0x30545c(0x93)](),this[_0x30545c(0x9f)][_0x30545c(0x96)](this[_0x30545c(0x9e)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x470de5=_0x55de;(function(_0x5bb62a,_0x11d1b1){const _0x2162f7=_0x55de,_0x599570=_0x5bb62a();while(!![]){try{const _0x368f59=parseInt(_0x2162f7(0x154))/0x1+parseInt(_0x2162f7(0x149))/0x2*(parseInt(_0x2162f7(0x146))/0x3)+parseInt(_0x2162f7(0x160))/0x4*(-parseInt(_0x2162f7(0x145))/0x5)+-parseInt(_0x2162f7(0x15a))/0x6+-parseInt(_0x2162f7(0x159))/0x7*(-parseInt(_0x2162f7(0x15e))/0x8)+-parseInt(_0x2162f7(0x147))/0x9*(parseInt(_0x2162f7(0x15c))/0xa)+-parseInt(_0x2162f7(0x157))/0xb*(-parseInt(_0x2162f7(0x156))/0xc);if(_0x368f59===_0x11d1b1)break;else _0x599570['push'](_0x599570['shift']());}catch(_0x8eab5d){_0x599570['push'](_0x599570['shift']());}}}(_0x1611,0x4e45d));import{View as _0x1fecfb}from'ckeditor5/src/ui.js';function _0x1611(){const _0x2c4b8f=['first','ck-presence-list--collapsed','444305bFHMGv','24558sLWNle','2263635GvirOF','counterView','14EtqPHj','change','inlineListView','tooltipPosition','ck-reset','locale','bindTemplate','setTemplate','bind','ck-presence-list','ck-rounded-corners','376268XymNIJ','div','95412NhxBJZ','506ldVsmi','set','348803xkscul','412188sOtkQJ','items','20jUZELi','listenTo','72XvyCyJ','hasPopup','16fXtDiS','isCollapsed'];_0x1611=function(){return _0x2c4b8f;};return _0x1611();}function _0x55de(_0x2f599b,_0x2c5f8e){const _0x161179=_0x1611();return _0x55de=function(_0x55de71,_0x5d141e){_0x55de71=_0x55de71-0x142;let _0x3715b5=_0x161179[_0x55de71];return _0x3715b5;},_0x55de(_0x2f599b,_0x2c5f8e);}import{PresenceCounterView as _0x3d081e}from'./presencecounterview.js';import{PresenceInlineListView as _0x289677}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x1fecfb{[_0x470de5(0x148)];[_0x470de5(0x14b)];constructor(_0x4f4b2c,_0x5825d9=0x6){const _0x239c76=_0x470de5;super(_0x4f4b2c);const _0x2c2060=this[_0x239c76(0x14f)];this[_0x239c76(0x158)](_0x239c76(0x142),!0x0),this[_0x239c76(0x148)]=new _0x3d081e(this[_0x239c76(0x14e)],_0x5825d9),this[_0x239c76(0x14b)]=new _0x289677(_0x4f4b2c),this[_0x239c76(0x14b)][_0x239c76(0x151)](_0x239c76(0x15f))['to'](this,_0x239c76(0x142)),this[_0x239c76(0x15d)](this[_0x239c76(0x14b)][_0x239c76(0x15b)],_0x239c76(0x14a),()=>{const _0xe81c40=_0x239c76;for(const _0x34856c of this[_0xe81c40(0x14b)][_0xe81c40(0x15b)])_0x34856c[_0xe81c40(0x14c)]='s';this[_0xe81c40(0x14b)][_0xe81c40(0x15b)][_0xe81c40(0x143)]&&(this[_0xe81c40(0x14b)][_0xe81c40(0x15b)][_0xe81c40(0x143)][_0xe81c40(0x14c)]='se');}),this[_0x239c76(0x150)]({'tag':_0x239c76(0x155),'attributes':{'class':['ck',_0x239c76(0x152),_0x239c76(0x14d),_0x239c76(0x153),_0x2c2060['if'](_0x239c76(0x142),_0x239c76(0x144))]},'children':[this[_0x239c76(0x14b)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x34e31e=_0x1afb;function _0x4f00(){var _0x3c28ea=['8097910juMjwm','9909482nyZYKg','isPremiumPlugin','PresenceList','2621942UJXZBA','14TwFsRb','3RlVSkp','2313608sBAtlN','20MaBWWG','244435kOBJXR','12489255UhcMBa','isOfficialPlugin','971196tedgYo','6YsmbyG','pluginName','requires'];_0x4f00=function(){return _0x3c28ea;};return _0x4f00();}(function(_0x48b1eb,_0x450cac){var _0x2faa47=_0x1afb,_0x5b5515=_0x48b1eb();while(!![]){try{var _0x45b50b=-parseInt(_0x2faa47(0x1c2))/0x1+-parseInt(_0x2faa47(0x1bd))/0x2*(parseInt(_0x2faa47(0x1bf))/0x3)+-parseInt(_0x2faa47(0x1c5))/0x4+-parseInt(_0x2faa47(0x1c9))/0x5*(-parseInt(_0x2faa47(0x1c6))/0x6)+-parseInt(_0x2faa47(0x1be))/0x7*(-parseInt(_0x2faa47(0x1c0))/0x8)+-parseInt(_0x2faa47(0x1c3))/0x9+-parseInt(_0x2faa47(0x1c1))/0xa*(-parseInt(_0x2faa47(0x1ca))/0xb);if(_0x45b50b===_0x450cac)break;else _0x5b5515['push'](_0x5b5515['shift']());}catch(_0xe3f9aa){_0x5b5515['push'](_0x5b5515['shift']());}}}(_0x4f00,0xc6af0));import{ContextPlugin as _0xfee54f}from'ckeditor5/src/core.js';import{Sessions as _0x356c06}from'./realtimecollaborativeediting/sessions.js';function _0x1afb(_0x2e431e,_0x3d32ee){var _0x4f0055=_0x4f00();return _0x1afb=function(_0x1afb38,_0x4551a8){_0x1afb38=_0x1afb38-0x1bd;var _0x588445=_0x4f0055[_0x1afb38];return _0x588445;},_0x1afb(_0x2e431e,_0x3d32ee);}import{PresenceListUI as _0x24becc}from'./presencelist/presencelistui.js';export class PresenceList extends _0xfee54f{static get[_0x34e31e(0x1c8)](){return[_0x356c06,_0x24becc];}static get[_0x34e31e(0x1c7)](){var _0x3f3e0d=_0x34e31e;return _0x3f3e0d(0x1cc);}static get[_0x34e31e(0x1c4)](){return!0x0;}static get[_0x34e31e(0x1cb)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x182f26)());[_0x25ac5b(0x17b)];static get[_0x25ac5b(0x1ae)](){const _0x5063f3=_0x25ac5b;return[_0x15bdca,_0x5063f3(0x19d),_0x4e8f9d,_0x18a80f];}static get[_0x25ac5b(0x1a5)](){const _0x481efe=_0x25ac5b;return _0x481efe(0x1a0);}static get[_0x25ac5b(0x176)](){return!0x0;}static get[_0x25ac5b(0x16e)](){return!0x0;}constructor(_0x5961bd){const _0x1afd92=_0x25ac5b;super(_0x5961bd),this[_0x1afd92(0x17b)]=new Map();}async[_0x25ac5b(0x172)](){const _0x4a3889=_0x25ac5b,_0x4427a8=this[_0x4a3889(0x197)],_0xc93246=_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x4a3889(0x19d));if(_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x15bdca)[_0x4a3889(0x17c)](this),_0xc93246[_0x4a3889(0x174)]={'addCommentThread':async({channelId:_0x125aa2,threadId:_0x536461,comments:_0x27f44f,resolvedAt:_0x27b193,resolvedBy:_0x4f184f,context:_0x36b6c9,attributes:_0xaed07c})=>{const _0x510ed0=_0x4a3889,_0x317062=await this[_0x510ed0(0x1b1)](_0x125aa2)[_0x510ed0(0x1ab)]({'commentThreadId':_0x536461,'comments':_0x27f44f[_0x510ed0(0x1ba)](_0x500259=>function(_0x38bf1d,_0x170d59,_0x96a07c){const _0x1d0a5f=_0x510ed0;return{'commentThreadId':_0x96a07c,'commentId':_0x38bf1d[_0x1d0a5f(0x19c)],'userId':_0x38bf1d[_0x1d0a5f(0x188)],'content':_0x38bf1d[_0x1d0a5f(0x195)],'documentId':_0x170d59,'createdAt':_0x38bf1d[_0x1d0a5f(0x1a2)],'attributes':_0x38bf1d[_0x1d0a5f(0x1a8)]||{}};}(_0x500259,_0x125aa2,_0x536461)),'resolvedAt':_0x27b193,'resolvedBy':_0x4f184f,'context':_0x36b6c9,'attributes':_0xaed07c})[_0x510ed0(0x1c1)](et);return{'threadId':_0x317062[_0x510ed0(0x1be)],'comments':_0x317062[_0x510ed0(0x1a9)]};},'getCommentThread':async({channelId:_0xccebe0,threadId:_0x3e8f8d})=>{const _0x1049b0=_0x4a3889,_0x27218b=await this[_0x1049b0(0x1b1)](_0xccebe0)[_0x1049b0(0x171)](_0x3e8f8d)[_0x1049b0(0x1c1)](st)[_0x1049b0(0x1c1)](et);return _0x27218b?_0x27218b[_0x1049b0(0x170)]?null:(await this[_0x1049b0(0x177)]([_0x27218b]),{'threadId':_0x27218b[_0x1049b0(0x1be)],'comments':_0x27218b[_0x1049b0(0x1a9)][_0x1049b0(0x1ba)](rt),'context':_0x27218b[_0x1049b0(0x197)],'resolvedAt':_0x27218b[_0x1049b0(0x17e)],'resolvedBy':_0x27218b[_0x1049b0(0x1a6)],'attributes':_0x27218b[_0x1049b0(0x1a8)]||{}}):null;},'updateCommentThread':async({channelId:_0x182c8d,threadId:_0x379bde,context:_0x165070,unlinkedAt:_0x4f0f5a,attributes:_0x455c8c})=>this[_0x4a3889(0x1b1)](_0x182c8d)[_0x4a3889(0x16f)]({'commentThreadId':_0x379bde,'context':_0x165070,'attributes':_0x455c8c,'unlinkedAt':_0x4f0f5a})[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'resolveCommentThread':async({channelId:_0x592d19,threadId:_0x669b2d})=>{const _0x107ca2=_0x4a3889,_0x94fa3f=await this[_0x107ca2(0x1b1)](_0x592d19)[_0x107ca2(0x18c)](_0x669b2d)[_0x107ca2(0x1c1)](st)[_0x107ca2(0x1c1)](et);return{'threadId':_0x94fa3f[_0x107ca2(0x1be)],'resolvedAt':_0x94fa3f[_0x107ca2(0x17e)],'resolvedBy':_0x94fa3f[_0x107ca2(0x1a6)]};},'reopenCommentThread':async({channelId:_0x162a06,threadId:_0x5659d1})=>this[_0x4a3889(0x1b1)](_0x162a06)[_0x4a3889(0x1b9)](_0x5659d1)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'removeCommentThread':({channelId:_0x177569,threadId:_0x34dff0})=>this[_0x4a3889(0x1b1)](_0x177569)[_0x4a3889(0x184)](_0x34dff0)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'addComment':({channelId:_0x61b757,threadId:_0x1c7a99,commentId:_0x2df9bf,content:_0x25d541,attributes:_0x2dd85a})=>this[_0x4a3889(0x1b1)](_0x61b757)[_0x4a3889(0x1bd)](_0x1c7a99,_0x2df9bf,_0x25d541,_0x2dd85a)[_0x4a3889(0x1c1)](et),'updateComment':({channelId:_0x1a9382,threadId:_0x18e111,commentId:_0x25d8ea,content:_0x7a44f7,attributes:_0x20ce34})=>this[_0x4a3889(0x1b1)](_0x1a9382)[_0x4a3889(0x190)](_0x18e111,_0x25d8ea,_0x7a44f7,_0x20ce34)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et),'removeComment':({channelId:_0x18294e,threadId:_0x39c3b1,commentId:_0x5e5cf1})=>this[_0x4a3889(0x1b1)](_0x18294e)[_0x4a3889(0x18d)](_0x39c3b1,_0x5e5cf1)[_0x4a3889(0x1c1)](st)[_0x4a3889(0x1c1)](et)},_0x4427a8 instanceof _0x38f19b){const _0x4b1122=_0x4427a8[_0x4a3889(0x1aa)][_0x4a3889(0x180)](_0x4a3889(0x1b5)),_0x371550=_0x4427a8[_0x4a3889(0x182)][_0x4a3889(0x180)](_0x4e8f9d);await this[_0x4a3889(0x1ac)](_0x4b1122);const _0x230619=await this[_0x4a3889(0x17b)][_0x4a3889(0x180)](_0x4b1122)[_0x4a3889(0x168)]();this[_0x4a3889(0x179)](_0x371550,_0x4a3889(0x1b7)+_0x4b1122,(_0x3e0626,{session:_0x370329})=>{const _0x2c5a84=_0x4a3889;_0x370329['id']===_0x371550[_0x2c5a84(0x175)]&&(_0x3e0626[_0x2c5a84(0x181)](),this[_0x2c5a84(0x197)][_0x2c5a84(0x182)][_0x2c5a84(0x180)](_0x2c5a84(0x16d))[_0x2c5a84(0x19f)](_0x370329[_0x2c5a84(0x196)],_0x4b1122));}),_0x371550[_0x4a3889(0x1b2)](_0x4b1122,_0x230619);}}async[_0x25ac5b(0x1ac)](_0x24eabb){const _0x5a31e0=_0x25ac5b;if(this[_0x5a31e0(0x17b)][_0x5a31e0(0x18e)](_0x24eabb))throw new _0x4f8d4c(_0x5a31e0(0x167),null,{'channelId':_0x24eabb});const _0x34747a=this[_0x5a31e0(0x197)][_0x5a31e0(0x182)][_0x5a31e0(0x180)](_0x5a31e0(0x19d)),_0x5ccb96=new CloudServicesCommentsAdapter[(_0x5a31e0(0x1a1))](_0x24eabb);this[_0x5a31e0(0x17b)][_0x5a31e0(0x17f)](_0x24eabb,_0x5ccb96),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x16b),(_0x2295d7,_0x4d4971)=>{const _0x57314a=_0x5a31e0,{commentThreadId:_0x4abe39,documentId:_0x313f55,context:_0xf09f08,attributes:_0x432229,resolvedAt:_0x4d9d37,resolvedBy:_0x3d9ec7,comments:_0xef5af9}=_0x4d4971;_0x34747a[_0x57314a(0x171)](_0x4abe39)||_0x34747a[_0x57314a(0x1ab)]({'threadId':_0x4abe39,'channelId':_0x313f55,'comments':_0xef5af9?_0xef5af9[_0x57314a(0x1ba)](rt):[],'context':_0xf09f08,'attributes':_0x432229,'resolvedAt':_0x4d9d37,'resolvedBy':_0x3d9ec7,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x186),(_0x2d63c3,{commentThreadId:_0x2a39b7,documentId:_0x3e3e3a,context:_0x596c68,unlinkedAt:_0x3c1aea,attributes:_0x220d43})=>{const _0x25f83d=_0x5a31e0;_0x34747a[_0x25f83d(0x171)](_0x2a39b7)&&_0x34747a[_0x25f83d(0x16f)]({'threadId':_0x2a39b7,'channelId':_0x3e3e3a,'context':_0x596c68,'unlinkedAt':_0x3c1aea,'attributes':_0x220d43,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x173),(_0x3ccd86,{commentThreadId:_0x419b0a,resolvedBy:_0x4a6cc1,resolvedAt:_0x19bba5})=>{const _0x27db0c=_0x5a31e0,_0x40469d=_0x34747a[_0x27db0c(0x171)](_0x419b0a);_0x40469d&&_0x40469d[_0x27db0c(0x165)]({'resolvedBy':_0x4a6cc1,'resolvedAt':_0x19bba5,'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1c4),(_0x15ebbd,{commentThreadId:_0x267d18})=>{const _0x37a424=_0x5a31e0,_0x6ac1fc=_0x34747a[_0x37a424(0x171)](_0x267d18);_0x6ac1fc&&_0x6ac1fc[_0x37a424(0x19a)]({'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1a7),(_0x421ad8,{commentThreadId:_0x3fe3b6})=>{const _0x14755b=_0x5a31e0,_0x391892=_0x34747a[_0x14755b(0x171)](_0x3fe3b6);_0x391892&&_0x391892[_0x14755b(0x1a4)]({'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1a3),(_0x564fa9,_0x8a2f11)=>{const _0xdd6361=_0x5a31e0,_0x472ffc=_0x8a2f11[_0xdd6361(0x1be)],_0x24e951=_0x34747a[_0xdd6361(0x171)](_0x472ffc);_0x24e951&&_0x24e951[_0xdd6361(0x1bd)]({...rt(_0x8a2f11),'isFromAdapter':!0x0});}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x1c3),(_0xbb9d2d,{commentThreadId:_0x3dc0aa,commentId:_0x52d99a,content:_0x558ca9,attributes:_0x4d2de9})=>{const _0x3dd0d6=_0x5a31e0,_0x34a05b=_0x34747a[_0x3dd0d6(0x171)](_0x3dc0aa);if(_0x34a05b){const _0x17c556=_0x34a05b[_0x3dd0d6(0x1b8)](_0x52d99a);_0x17c556&&_0x17c556[_0x3dd0d6(0x1bc)]({'content':_0x558ca9,'attributes':_0x4d2de9,'isFromAdapter':!0x0});}}),this[_0x5a31e0(0x179)](_0x5ccb96,_0x5a31e0(0x16c),(_0x52285c,{commentThreadId:_0x5043b9,commentId:_0x842b62})=>{const _0x34809a=_0x5a31e0,_0x2eaf09=_0x34747a[_0x34809a(0x171)](_0x5043b9);if(_0x2eaf09){const _0x11d0ec=_0x2eaf09[_0x34809a(0x1b8)](_0x842b62);_0x11d0ec&&_0x11d0ec[_0x34809a(0x1a4)]({'isFromAdapter':!0x0});}}),await this[_0x5a31e0(0x183)](_0x24eabb);}[_0x25ac5b(0x191)](){const _0x203d51=_0x25ac5b;if(this[_0x203d51(0x197)]instanceof _0x38f19b){const _0x44ca8c=this[_0x203d51(0x197)][_0x203d51(0x1aa)][_0x203d51(0x180)](_0x203d51(0x1b5));this[_0x203d51(0x17d)](_0x44ca8c);}}[_0x25ac5b(0x17d)](_0x4b95e5){const _0x4b5b47=_0x25ac5b;if(!this[_0x4b5b47(0x17b)][_0x4b5b47(0x18e)](_0x4b95e5))throw new _0x4f8d4c(_0x4b5b47(0x193),null,{'channelId':_0x4b95e5});this[_0x4b5b47(0x1b1)](_0x4b95e5)[_0x4b5b47(0x178)](),this[_0x4b5b47(0x17b)][_0x4b5b47(0x199)](_0x4b95e5);}async[_0x25ac5b(0x189)](){const _0x4266ef=_0x25ac5b;for(const _0x983e90 of this[_0x4266ef(0x17b)][_0x4266ef(0x1af)]())await this[_0x4266ef(0x183)](_0x983e90);if(this[_0x4266ef(0x197)]instanceof _0x38f19b){const _0x130a31=this[_0x4266ef(0x197)][_0x4266ef(0x1aa)][_0x4266ef(0x180)](_0x4266ef(0x1b5)),_0x32bedb=this[_0x4266ef(0x197)][_0x4266ef(0x182)][_0x4266ef(0x180)](_0x4e8f9d);_0x32bedb[_0x4266ef(0x17a)](_0x130a31);const _0x21ccf4=await this[_0x4266ef(0x17b)][_0x4266ef(0x180)](_0x130a31)[_0x4266ef(0x168)]();_0x32bedb[_0x4266ef(0x1b2)](_0x130a31,_0x21ccf4);}}async[_0x25ac5b(0x183)](_0xf02c39){const _0x5e9e4b=_0x25ac5b,{connection:_0x2a7d6d}=this[_0x5e9e4b(0x197)][_0x5e9e4b(0x182)][_0x5e9e4b(0x180)](_0x15bdca),_0x2bd914=this[_0x5e9e4b(0x197)][_0x5e9e4b(0x182)][_0x5e9e4b(0x180)](_0x5e9e4b(0x19d)),_0x2e3fac=this[_0x5e9e4b(0x17b)][_0x5e9e4b(0x180)](_0xf02c39),_0x3c5a6a=await _0x2e3fac[_0x5e9e4b(0x18f)](_0x2a7d6d);await this[_0x5e9e4b(0x177)](_0x3c5a6a);const _0x587396=new Set(Array[_0x5e9e4b(0x1b0)](_0x2bd914[_0x5e9e4b(0x18b)]({'channelId':_0xf02c39}),_0x3d633c=>_0x3d633c['id']));for(const _0x485095 of _0x3c5a6a)_0x485095[_0x5e9e4b(0x170)]||_0x587396[_0x5e9e4b(0x199)](_0x485095[_0x5e9e4b(0x1be)]);for(const _0x26db60 of _0x587396)_0x2bd914[_0x5e9e4b(0x171)](_0x26db60)[_0x5e9e4b(0x1a4)]({'isFromAdapter':!0x0});for(const _0xaa210a of _0x3c5a6a){let _0x50cc26=_0x2bd914[_0x5e9e4b(0x171)](_0xaa210a[_0x5e9e4b(0x1be)]);const {commentThreadId:_0x142784,context:_0x300a69,attributes:_0x29250f,resolvedBy:_0x14bbb6,resolvedAt:_0x506d60,unlinkedAt:_0x5339d3,deletedAt:_0xc14a28}=_0xaa210a;if(_0xc14a28)continue;_0x50cc26||(_0x50cc26=_0x2bd914[_0x5e9e4b(0x1ab)]({'channelId':_0xf02c39,'threadId':_0x142784,'context':_0x300a69,'attributes':_0x29250f||{},'resolvedBy':_0x14bbb6,'resolvedAt':_0x506d60,'unlinkedAt':_0x5339d3,'isFromAdapter':!0x0}));const _0x3d13db=new Set(Array[_0x5e9e4b(0x1b0)](_0x50cc26[_0x5e9e4b(0x1a9)],_0x4893e3=>_0x4893e3['id']));for(const _0x595782 of _0xaa210a[_0x5e9e4b(0x1a9)])_0x3d13db[_0x5e9e4b(0x199)](_0x595782[_0x5e9e4b(0x19c)]);for(const _0x1398ff of _0x3d13db)_0x50cc26[_0x5e9e4b(0x1b8)](_0x1398ff)[_0x5e9e4b(0x1a4)]({'isFromAdapter':!0x0});for(const _0x443d19 of _0xaa210a[_0x5e9e4b(0x1a9)]){const _0x196986=_0x50cc26[_0x5e9e4b(0x1b8)](_0x443d19[_0x5e9e4b(0x19c)]);_0x196986?_0x196986[_0x5e9e4b(0x195)]!==_0x443d19[_0x5e9e4b(0x195)]&&_0x196986[_0x5e9e4b(0x1bc)]({'content':_0x443d19[_0x5e9e4b(0x195)],'isFromAdapter':!0x0}):_0x50cc26[_0x5e9e4b(0x1bd)](Object[_0x5e9e4b(0x1c7)](rt(_0x443d19),{'isFromAdapter':!0x0}));}}}[_0x25ac5b(0x1b1)](_0x2e13bb){const _0x5bcc8f=_0x25ac5b;if(!this[_0x5bcc8f(0x17b)][_0x5bcc8f(0x18e)](_0x2e13bb))throw new _0x4f8d4c(_0x5bcc8f(0x166),null,{'channelId':_0x2e13bb});return this[_0x5bcc8f(0x17b)][_0x5bcc8f(0x180)](_0x2e13bb);}async[_0x25ac5b(0x177)](_0x22bc78){const _0x2c4193=_0x25ac5b,_0x29cda7=this[_0x2c4193(0x197)][_0x2c4193(0x182)][_0x2c4193(0x180)](_0x18a80f),{connection:_0x2c0d15}=this[_0x2c4193(0x197)][_0x2c4193(0x182)][_0x2c4193(0x180)](_0x15bdca),_0x5cc164=new Set();for(const {resolvedBy:_0x1a16e0,comments:_0x456cd6}of _0x22bc78){_0x1a16e0&&!_0x29cda7[_0x2c4193(0x1c6)](_0x1a16e0)&&_0x5cc164[_0x2c4193(0x1b3)](_0x1a16e0);for(const {userId:_0x414f45}of _0x456cd6)_0x29cda7[_0x2c4193(0x1c6)](_0x414f45)||_0x5cc164[_0x2c4193(0x1b3)](_0x414f45);}if(0x0===_0x5cc164[_0x2c4193(0x164)])return;const _0x7b6f7d=await _0x1f60bb[_0x2c4193(0x1b4)](_0x2c0d15,Array[_0x2c4193(0x1b0)](_0x5cc164));for(const _0x267095 of _0x7b6f7d)_0x29cda7[_0x2c4193(0x1c6)](_0x267095['id'])||_0x29cda7[_0x2c4193(0x169)](_0x267095);}}function _0x4531(_0xaf374a,_0x31ba3b){const _0x1b42f6=_0x1b42();return _0x4531=function(_0x45313c,_0x631023){_0x45313c=_0x45313c-0x163;let _0x43e88d=_0x1b42f6[_0x45313c];return _0x43e88d;},_0x4531(_0xaf374a,_0x31ba3b);}async function st(_0x1e2efd){const _0x2954a8=_0x25ac5b;if(_0x2954a8(0x1c0)!==_0x1e2efd[_0x2954a8(0x16a)])throw _0x1e2efd;}function et(_0x2ecc84){const _0x7cb8b6=_0x25ac5b;if((_0x5354fe=_0x2ecc84)[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x19e))||_0x5354fe[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x1ad))||_0x5354fe[_0x7cb8b6(0x194)][_0x7cb8b6(0x198)](_0x7cb8b6(0x19b)))return new Promise(()=>{});var _0x5354fe;throw _0x2ecc84;}function rt(_0x280b97){const _0x558e8c=_0x25ac5b;return{'threadId':_0x280b97[_0x558e8c(0x1be)],'commentId':_0x280b97[_0x558e8c(0x19c)],'content':_0x280b97[_0x558e8c(0x195)],'createdAt':_0x280b97[_0x558e8c(0x1a2)],'authorId':_0x280b97[_0x558e8c(0x18a)],'attributes':_0x280b97[_0x558e8c(0x1a8)]||{}};}
|
|
23
|
+
const _0x2ffc44=_0x4b3e;(function(_0x2dec7c,_0x6f51d1){const _0xc66f5e=_0x4b3e,_0x40107f=_0x2dec7c();while(!![]){try{const _0x74adc0=parseInt(_0xc66f5e(0x151))/0x1*(-parseInt(_0xc66f5e(0x14c))/0x2)+-parseInt(_0xc66f5e(0x16b))/0x3+parseInt(_0xc66f5e(0x144))/0x4*(-parseInt(_0xc66f5e(0x131))/0x5)+parseInt(_0xc66f5e(0x169))/0x6+-parseInt(_0xc66f5e(0x137))/0x7+-parseInt(_0xc66f5e(0x148))/0x8+parseInt(_0xc66f5e(0x127))/0x9*(parseInt(_0xc66f5e(0x13c))/0xa);if(_0x74adc0===_0x6f51d1)break;else _0x40107f['push'](_0x40107f['shift']());}catch(_0x2cc5cd){_0x40107f['push'](_0x40107f['shift']());}}}(_0x524f,0x8627d));function _0x524f(){const _0x3610e8=['220920cJGRsh','destroy','3242922BrbCRu','adapter','CloudServicesCommentsAdapter','commentRemoved','getCommentThread','cloudservicescommentsadapter-connect-already-connected','resolveCommentThread','CommentsService','_fetchMissingUsersForThreads','_connectService','init','comments','has','reconnect','commentThreadReopened','resolve','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getComment','commentThreadRemoved','cloud-services-internal-error:\x20Not\x20connected.','cloudservicescommentsadapter-service-not-exist','setPermissions','commentThreadResolved','permissions','plugins','update','context','Permissions','commentThreadUpdated','sessionAdd:','getUser','404','add','message','423gaAiGA','CommentsRepository','disconnect','removeCommentThread','reopen','collaboration.channelId','cloudservicescommentsadapter-disconnect-not-exist','content','get','catch','22275sMtZvT','keys','resolvedBy','_terminateService','isOfficialPlugin','getCommentThreads','7479262XvexEu','addUser','isPremiumPlugin','authorId','commentId','885340CmQbcJ','userId','assign','cloud-services-internal-error:\x20Request\x20timeout.','updateCommentThread','getConnectedSessions','addToReconnectionStack','register','612ktjZBb','delete','remove','mySessionId','622512AsvgkX','resolvedAt','off','_services','493032AAWAaT','pluginName','commentThreadId','addComment','code','3CfNlLj','commentUpdated','addCommentThread','getMany','set','createdAt','startsWith','deletedAt','map','listenTo','_setUpService','reopenCommentThread','unregister','connect','updateComment','attributes','_getService','commentThreadAdded','from','config','requires','removeComment','size','commentAdded'];_0x524f=function(){return _0x3610e8;};return _0x524f();}import{Context as _0x34a7dc,ContextPlugin as _0x1fb24a}from'ckeditor5/src/core.js';import{CKEditorError as _0x48408a}from'ckeditor5/src/utils.js';import{Users as _0x467ef8}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x6f8fa0,User as _0x277057}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x379ff0}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x40b013}from'../realtimecollaborativeediting/sessions.js';function _0x4b3e(_0x250bb6,_0x75671d){const _0x524f8e=_0x524f();return _0x4b3e=function(_0x4b3e15,_0x2a07ce){_0x4b3e15=_0x4b3e15-0x125;let _0x868060=_0x524f8e[_0x4b3e15];return _0x868060;},_0x4b3e(_0x250bb6,_0x75671d);}export class CloudServicesCommentsAdapter extends _0x1fb24a{static [_0x2ffc44(0x172)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x6f8fa0)());[_0x2ffc44(0x14b)];static get[_0x2ffc44(0x165)](){const _0x3b0012=_0x2ffc44;return[_0x379ff0,_0x3b0012(0x128),_0x40b013,_0x467ef8];}static get[_0x2ffc44(0x14d)](){const _0x1112e3=_0x2ffc44;return _0x1112e3(0x16d);}static get[_0x2ffc44(0x135)](){return!0x0;}static get[_0x2ffc44(0x139)](){return!0x0;}constructor(_0x57b9d4){const _0x3a2c21=_0x2ffc44;super(_0x57b9d4),this[_0x3a2c21(0x14b)]=new Map();}async[_0x2ffc44(0x175)](){const _0x5e8497=_0x2ffc44,_0x1a1393=this[_0x5e8497(0x185)],_0xf1872e=_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x5e8497(0x128));if(_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x379ff0)[_0x5e8497(0x142)](this),_0xf1872e[_0x5e8497(0x16c)]={'addCommentThread':async({channelId:_0x571d37,threadId:_0x3da392,comments:_0x6c3a4a,resolvedAt:_0xef2515,resolvedBy:_0x186ebd,context:_0x5cdf98,attributes:_0x1e3978})=>{const _0x4e8066=_0x5e8497,_0x29efdd=await this[_0x4e8066(0x161)](_0x571d37)[_0x4e8066(0x153)]({'commentThreadId':_0x3da392,'comments':_0x6c3a4a[_0x4e8066(0x159)](_0x29e7d6=>function(_0x220cf8,_0x4859ee,_0xa7a3cf){const _0x20ad78=_0x4e8066;return{'commentThreadId':_0xa7a3cf,'commentId':_0x220cf8[_0x20ad78(0x13b)],'userId':_0x220cf8[_0x20ad78(0x13a)],'content':_0x220cf8[_0x20ad78(0x12e)],'documentId':_0x4859ee,'createdAt':_0x220cf8[_0x20ad78(0x156)],'attributes':_0x220cf8[_0x20ad78(0x160)]||{}};}(_0x29e7d6,_0x571d37,_0x3da392)),'resolvedAt':_0xef2515,'resolvedBy':_0x186ebd,'context':_0x5cdf98,'attributes':_0x1e3978})[_0x4e8066(0x130)](A);return{'threadId':_0x29efdd[_0x4e8066(0x14e)],'comments':_0x29efdd[_0x4e8066(0x176)]};},'getCommentThread':async({channelId:_0x363118,threadId:_0x290495})=>{const _0x13341b=_0x5e8497,_0x2cd0da=await this[_0x13341b(0x161)](_0x363118)[_0x13341b(0x16f)](_0x290495)[_0x13341b(0x130)](f)[_0x13341b(0x130)](A);return _0x2cd0da?_0x2cd0da[_0x13341b(0x158)]?null:(await this[_0x13341b(0x173)]([_0x2cd0da]),{'threadId':_0x2cd0da[_0x13341b(0x14e)],'comments':_0x2cd0da[_0x13341b(0x176)][_0x13341b(0x159)](p),'context':_0x2cd0da[_0x13341b(0x185)],'resolvedAt':_0x2cd0da[_0x13341b(0x149)],'resolvedBy':_0x2cd0da[_0x13341b(0x133)],'attributes':_0x2cd0da[_0x13341b(0x160)]||{}}):null;},'updateCommentThread':async({channelId:_0x5bbfca,threadId:_0x263e05,context:_0x2528bd,unlinkedAt:_0x21b0e8,attributes:_0x59246a})=>this[_0x5e8497(0x161)](_0x5bbfca)[_0x5e8497(0x140)]({'commentThreadId':_0x263e05,'context':_0x2528bd,'attributes':_0x59246a,'unlinkedAt':_0x21b0e8})[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'resolveCommentThread':async({channelId:_0x3158a9,threadId:_0x214329})=>{const _0x51a6d6=_0x5e8497,_0x504c16=await this[_0x51a6d6(0x161)](_0x3158a9)[_0x51a6d6(0x171)](_0x214329)[_0x51a6d6(0x130)](f)[_0x51a6d6(0x130)](A);return{'threadId':_0x504c16[_0x51a6d6(0x14e)],'resolvedAt':_0x504c16[_0x51a6d6(0x149)],'resolvedBy':_0x504c16[_0x51a6d6(0x133)]};},'reopenCommentThread':async({channelId:_0x1117f1,threadId:_0x449cc7})=>this[_0x5e8497(0x161)](_0x1117f1)[_0x5e8497(0x15c)](_0x449cc7)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'removeCommentThread':({channelId:_0x5ca8a5,threadId:_0x5d4d65})=>this[_0x5e8497(0x161)](_0x5ca8a5)[_0x5e8497(0x12a)](_0x5d4d65)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'addComment':({channelId:_0x18f8fd,threadId:_0x14a5da,commentId:_0x3fada3,content:_0x5f50d7,attributes:_0x4c0d7e})=>this[_0x5e8497(0x161)](_0x18f8fd)[_0x5e8497(0x14f)](_0x14a5da,_0x3fada3,_0x5f50d7,_0x4c0d7e)[_0x5e8497(0x130)](A),'updateComment':({channelId:_0x2c94c3,threadId:_0x2a35e3,commentId:_0x1b7fb1,content:_0x284014,attributes:_0x3070f3})=>this[_0x5e8497(0x161)](_0x2c94c3)[_0x5e8497(0x15f)](_0x2a35e3,_0x1b7fb1,_0x284014,_0x3070f3)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A),'removeComment':({channelId:_0x16e9bc,threadId:_0x53b79d,commentId:_0x1e068b})=>this[_0x5e8497(0x161)](_0x16e9bc)[_0x5e8497(0x166)](_0x53b79d,_0x1e068b)[_0x5e8497(0x130)](f)[_0x5e8497(0x130)](A)},_0x1a1393 instanceof _0x34a7dc){const _0x8b3f43=_0x1a1393[_0x5e8497(0x164)][_0x5e8497(0x12f)](_0x5e8497(0x12c)),_0x2054c2=_0x1a1393[_0x5e8497(0x183)][_0x5e8497(0x12f)](_0x40b013);await this[_0x5e8497(0x15b)](_0x8b3f43);const _0x1a7f2f=await this[_0x5e8497(0x14b)][_0x5e8497(0x12f)](_0x8b3f43)[_0x5e8497(0x141)]();this[_0x5e8497(0x15a)](_0x2054c2,_0x5e8497(0x188)+_0x8b3f43,(_0x5b6e58,{session:_0x4e5fdb})=>{const _0x45cc63=_0x5e8497;_0x4e5fdb['id']===_0x2054c2[_0x45cc63(0x147)]&&(_0x5b6e58[_0x45cc63(0x14a)](),this[_0x45cc63(0x185)][_0x45cc63(0x183)][_0x45cc63(0x12f)](_0x45cc63(0x186))[_0x45cc63(0x180)](_0x4e5fdb[_0x45cc63(0x182)],_0x8b3f43));}),_0x2054c2[_0x5e8497(0x143)](_0x8b3f43,_0x1a7f2f);}}async[_0x2ffc44(0x15b)](_0x2984a5){const _0x17f26b=_0x2ffc44;if(this[_0x17f26b(0x14b)][_0x17f26b(0x177)](_0x2984a5))throw new _0x48408a(_0x17f26b(0x170),null,{'channelId':_0x2984a5});const _0x39892b=this[_0x17f26b(0x185)][_0x17f26b(0x183)][_0x17f26b(0x12f)](_0x17f26b(0x128)),_0xadb545=new CloudServicesCommentsAdapter[(_0x17f26b(0x172))](_0x2984a5);this[_0x17f26b(0x14b)][_0x17f26b(0x155)](_0x2984a5,_0xadb545),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x162),(_0x3cfe66,_0x161a24)=>{const _0x26e8f7=_0x17f26b,{commentThreadId:_0x2aa096,documentId:_0x38b801,context:_0x1948e6,attributes:_0x1bd2c,resolvedAt:_0x3f7b63,resolvedBy:_0x2f1aab,comments:_0x175656}=_0x161a24;_0x39892b[_0x26e8f7(0x16f)](_0x2aa096)||_0x39892b[_0x26e8f7(0x153)]({'threadId':_0x2aa096,'channelId':_0x38b801,'comments':_0x175656?_0x175656[_0x26e8f7(0x159)](p):[],'context':_0x1948e6,'attributes':_0x1bd2c,'resolvedAt':_0x3f7b63,'resolvedBy':_0x2f1aab,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x187),(_0x10daa0,{commentThreadId:_0x3304a4,documentId:_0x438fb8,context:_0x4fef4c,unlinkedAt:_0x439380,attributes:_0x79c0e1})=>{const _0x97692e=_0x17f26b;_0x39892b[_0x97692e(0x16f)](_0x3304a4)&&_0x39892b[_0x97692e(0x140)]({'threadId':_0x3304a4,'channelId':_0x438fb8,'context':_0x4fef4c,'unlinkedAt':_0x439380,'attributes':_0x79c0e1,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x181),(_0x287255,{commentThreadId:_0x52a291,resolvedBy:_0x2d41c8,resolvedAt:_0x1c11e3})=>{const _0x21c9ab=_0x17f26b,_0x37c0e4=_0x39892b[_0x21c9ab(0x16f)](_0x52a291);_0x37c0e4&&_0x37c0e4[_0x21c9ab(0x17a)]({'resolvedBy':_0x2d41c8,'resolvedAt':_0x1c11e3,'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x179),(_0x13a199,{commentThreadId:_0x1e283f})=>{const _0x3633d4=_0x17f26b,_0x5c8686=_0x39892b[_0x3633d4(0x16f)](_0x1e283f);_0x5c8686&&_0x5c8686[_0x3633d4(0x12b)]({'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x17d),(_0x4f4418,{commentThreadId:_0x1843bf})=>{const _0x3e66ca=_0x17f26b,_0xd18f73=_0x39892b[_0x3e66ca(0x16f)](_0x1843bf);_0xd18f73&&_0xd18f73[_0x3e66ca(0x146)]({'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x168),(_0x506245,_0x571f03)=>{const _0x4634a9=_0x17f26b,_0x25063a=_0x571f03[_0x4634a9(0x14e)],_0x18d118=_0x39892b[_0x4634a9(0x16f)](_0x25063a);_0x18d118&&_0x18d118[_0x4634a9(0x14f)]({...p(_0x571f03),'isFromAdapter':!0x0});}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x152),(_0x5e7d64,{commentThreadId:_0x1cadf5,commentId:_0x4e99bb,content:_0x3c57b8,attributes:_0x3e02fd})=>{const _0x418b5b=_0x17f26b,_0x4838dd=_0x39892b[_0x418b5b(0x16f)](_0x1cadf5);if(_0x4838dd){const _0x2995ee=_0x4838dd[_0x418b5b(0x17c)](_0x4e99bb);_0x2995ee&&_0x2995ee[_0x418b5b(0x184)]({'content':_0x3c57b8,'attributes':_0x3e02fd,'isFromAdapter':!0x0});}}),this[_0x17f26b(0x15a)](_0xadb545,_0x17f26b(0x16e),(_0x1d03be,{commentThreadId:_0x51e25e,commentId:_0x385323})=>{const _0x54e551=_0x17f26b,_0x4736d2=_0x39892b[_0x54e551(0x16f)](_0x51e25e);if(_0x4736d2){const _0x4bfd4f=_0x4736d2[_0x54e551(0x17c)](_0x385323);_0x4bfd4f&&_0x4bfd4f[_0x54e551(0x146)]({'isFromAdapter':!0x0});}}),await this[_0x17f26b(0x174)](_0x2984a5);}[_0x2ffc44(0x16a)](){const _0x1ec291=_0x2ffc44;if(this[_0x1ec291(0x185)]instanceof _0x34a7dc){const _0x585d7b=this[_0x1ec291(0x185)][_0x1ec291(0x164)][_0x1ec291(0x12f)](_0x1ec291(0x12c));this[_0x1ec291(0x134)](_0x585d7b);}}[_0x2ffc44(0x134)](_0x4cf402){const _0x3fb88b=_0x2ffc44;if(!this[_0x3fb88b(0x14b)][_0x3fb88b(0x177)](_0x4cf402))throw new _0x48408a(_0x3fb88b(0x12d),null,{'channelId':_0x4cf402});this[_0x3fb88b(0x161)](_0x4cf402)[_0x3fb88b(0x129)](),this[_0x3fb88b(0x14b)][_0x3fb88b(0x145)](_0x4cf402);}async[_0x2ffc44(0x178)](){const _0x185c20=_0x2ffc44;for(const _0x1c21ee of this[_0x185c20(0x14b)][_0x185c20(0x132)]())await this[_0x185c20(0x174)](_0x1c21ee);if(this[_0x185c20(0x185)]instanceof _0x34a7dc){const _0x53a072=this[_0x185c20(0x185)][_0x185c20(0x164)][_0x185c20(0x12f)](_0x185c20(0x12c)),_0x5035ce=this[_0x185c20(0x185)][_0x185c20(0x183)][_0x185c20(0x12f)](_0x40b013);_0x5035ce[_0x185c20(0x15d)](_0x53a072);const _0x3a29a2=await this[_0x185c20(0x14b)][_0x185c20(0x12f)](_0x53a072)[_0x185c20(0x141)]();_0x5035ce[_0x185c20(0x143)](_0x53a072,_0x3a29a2);}}async[_0x2ffc44(0x174)](_0x19dc92){const _0x41f715=_0x2ffc44,{connection:_0x3a6d86}=this[_0x41f715(0x185)][_0x41f715(0x183)][_0x41f715(0x12f)](_0x379ff0),_0x41a665=this[_0x41f715(0x185)][_0x41f715(0x183)][_0x41f715(0x12f)](_0x41f715(0x128)),_0x21c4d4=this[_0x41f715(0x14b)][_0x41f715(0x12f)](_0x19dc92),_0x5cf946=await _0x21c4d4[_0x41f715(0x15e)](_0x3a6d86);await this[_0x41f715(0x173)](_0x5cf946);const _0x1b0238=new Set(Array[_0x41f715(0x163)](_0x41a665[_0x41f715(0x136)]({'channelId':_0x19dc92}),_0x370795=>_0x370795['id']));for(const _0x27e958 of _0x5cf946)_0x27e958[_0x41f715(0x158)]||_0x1b0238[_0x41f715(0x145)](_0x27e958[_0x41f715(0x14e)]);for(const _0x520fd9 of _0x1b0238)_0x41a665[_0x41f715(0x16f)](_0x520fd9)[_0x41f715(0x146)]({'isFromAdapter':!0x0});for(const _0x5419ce of _0x5cf946){let _0x549e79=_0x41a665[_0x41f715(0x16f)](_0x5419ce[_0x41f715(0x14e)]);const {commentThreadId:_0x300786,context:_0xaf78bc,attributes:_0x2106aa,resolvedBy:_0x380743,resolvedAt:_0xe65d61,unlinkedAt:_0x1c3988,deletedAt:_0x55f9ed}=_0x5419ce;if(_0x55f9ed)continue;_0x549e79||(_0x549e79=_0x41a665[_0x41f715(0x153)]({'channelId':_0x19dc92,'threadId':_0x300786,'context':_0xaf78bc,'attributes':_0x2106aa||{},'resolvedBy':_0x380743,'resolvedAt':_0xe65d61,'unlinkedAt':_0x1c3988,'isFromAdapter':!0x0}));const _0x56438d=new Set(Array[_0x41f715(0x163)](_0x549e79[_0x41f715(0x176)],_0x50139d=>_0x50139d['id']));for(const _0x1f76ee of _0x5419ce[_0x41f715(0x176)])_0x56438d[_0x41f715(0x145)](_0x1f76ee[_0x41f715(0x13b)]);for(const _0x46a1ac of _0x56438d)_0x549e79[_0x41f715(0x17c)](_0x46a1ac)[_0x41f715(0x146)]({'isFromAdapter':!0x0});for(const _0x2c857b of _0x5419ce[_0x41f715(0x176)]){const _0x160d3a=_0x549e79[_0x41f715(0x17c)](_0x2c857b[_0x41f715(0x13b)]);_0x160d3a?_0x160d3a[_0x41f715(0x12e)]!==_0x2c857b[_0x41f715(0x12e)]&&_0x160d3a[_0x41f715(0x184)]({'content':_0x2c857b[_0x41f715(0x12e)],'isFromAdapter':!0x0}):_0x549e79[_0x41f715(0x14f)](Object[_0x41f715(0x13e)](p(_0x2c857b),{'isFromAdapter':!0x0}));}}}[_0x2ffc44(0x161)](_0x3716e0){const _0x183daa=_0x2ffc44;if(!this[_0x183daa(0x14b)][_0x183daa(0x177)](_0x3716e0))throw new _0x48408a(_0x183daa(0x17f),null,{'channelId':_0x3716e0});return this[_0x183daa(0x14b)][_0x183daa(0x12f)](_0x3716e0);}async[_0x2ffc44(0x173)](_0x1d1081){const _0x71eb55=_0x2ffc44,_0x49a500=this[_0x71eb55(0x185)][_0x71eb55(0x183)][_0x71eb55(0x12f)](_0x467ef8),{connection:_0x7ccfcb}=this[_0x71eb55(0x185)][_0x71eb55(0x183)][_0x71eb55(0x12f)](_0x379ff0),_0x245529=new Set();for(const {resolvedBy:_0x5ae286,comments:_0x567bff}of _0x1d1081){_0x5ae286&&!_0x49a500[_0x71eb55(0x189)](_0x5ae286)&&_0x245529[_0x71eb55(0x125)](_0x5ae286);for(const {userId:_0x5d5deb}of _0x567bff)_0x49a500[_0x71eb55(0x189)](_0x5d5deb)||_0x245529[_0x71eb55(0x125)](_0x5d5deb);}if(0x0===_0x245529[_0x71eb55(0x167)])return;const _0x5c33b6=await _0x277057[_0x71eb55(0x154)](_0x7ccfcb,Array[_0x71eb55(0x163)](_0x245529));for(const _0x3d3207 of _0x5c33b6)_0x49a500[_0x71eb55(0x189)](_0x3d3207['id'])||_0x49a500[_0x71eb55(0x138)](_0x3d3207);}}async function f(_0x5cb58d){const _0x369d73=_0x2ffc44;if(_0x369d73(0x18a)!==_0x5cb58d[_0x369d73(0x150)])throw _0x5cb58d;}function A(_0x5204b4){const _0x2df7a6=_0x2ffc44;if((_0x131362=_0x5204b4)[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x17b))||_0x131362[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x17e))||_0x131362[_0x2df7a6(0x126)][_0x2df7a6(0x157)](_0x2df7a6(0x13f)))return new Promise(()=>{});var _0x131362;throw _0x5204b4;}function p(_0x24650f){const _0x47eac8=_0x2ffc44;return{'threadId':_0x24650f[_0x47eac8(0x14e)],'commentId':_0x24650f[_0x47eac8(0x13b)],'content':_0x24650f[_0x47eac8(0x12e)],'createdAt':_0x24650f[_0x47eac8(0x156)],'authorId':_0x24650f[_0x47eac8(0x13d)],'attributes':_0x24650f[_0x47eac8(0x160)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x70b069=_0x4ae3;(function(_0x24eabb,_0x5af5fe){const _0x56f0d6=_0x4ae3,_0x3333c0=_0x24eabb();while(!![]){try{const _0x4f9fea=-parseInt(_0x56f0d6(0xee))/0x1*(parseInt(_0x56f0d6(0xdc))/0x2)+-parseInt(_0x56f0d6(0xe0))/0x3+parseInt(_0x56f0d6(0xf8))/0x4+parseInt(_0x56f0d6(0xf5))/0x5*(-parseInt(_0x56f0d6(0xdb))/0x6)+-parseInt(_0x56f0d6(0xf3))/0x7+-parseInt(_0x56f0d6(0xe4))/0x8*(parseInt(_0x56f0d6(0xd9))/0x9)+parseInt(_0x56f0d6(0xde))/0xa;if(_0x4f9fea===_0x5af5fe)break;else _0x3333c0['push'](_0x3333c0['shift']());}catch(_0x463701){_0x3333c0['push'](_0x3333c0['shift']());}}}(_0x2d37,0x4f930));import{Plugin as _0xdd6d87}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x5eac0c}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x4ae3(_0x5a138f,_0x37d835){const _0x2d375b=_0x2d37();return _0x4ae3=function(_0x4ae3a4,_0x29d162){_0x4ae3a4=_0x4ae3a4-0xd7;let _0x403553=_0x2d375b[_0x4ae3a4];return _0x403553;},_0x4ae3(_0x5a138f,_0x37d835);}import{RealTimeCollaborativeEditing as _0x12c346}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x55ec59}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0xdd6d87{static get[_0x70b069(0xd7)](){const _0x2a2617=_0x70b069;return[_0x2a2617(0xec),_0x5eac0c,_0x12c346,_0x55ec59];}static get[_0x70b069(0xf0)](){const _0x5d548a=_0x70b069;return _0x5d548a(0xd8);}static get[_0x70b069(0xea)](){return!0x0;}static get[_0x70b069(0xeb)](){return!0x0;}[_0x70b069(0xe3)](){const _0x258bbf=_0x70b069,_0x43bfc9=this[_0x258bbf(0xf7)][_0x258bbf(0xe6)][_0x258bbf(0xe9)](_0x55ec59),_0x13ce67=this[_0x258bbf(0xf7)][_0x258bbf(0xe6)][_0x258bbf(0xe9)](_0x258bbf(0xdf)),_0xb9ca56=this[_0x258bbf(0xf7)][_0x258bbf(0xe6)][_0x258bbf(0xe9)](_0x5eac0c);return this[_0x258bbf(0xf7)][_0x258bbf(0xf4)][_0x258bbf(0xf6)](_0x258bbf(0xe1),()=>{const _0x14ebba=_0x258bbf;this[_0x14ebba(0xf1)](_0x43bfc9,_0x14ebba(0xe8),(_0x25603f,_0x2d8827,_0x322d49)=>{const _0x236178=_0x14ebba;_0x13ce67[_0x236178(0xe7)]=_0x236178(0xed)!==_0x322d49;});}),this[_0x258bbf(0xf1)](_0x43bfc9,_0x258bbf(0xe8),(_0xf569ef,_0x5765ac,_0xf8018a)=>{const _0x125bfc=_0x258bbf;this[_0x125bfc(0xf7)][_0x125bfc(0xe6)][_0x125bfc(0xe9)](_0x125bfc(0xf2))[_0x125bfc(0xe2)](_0x125bfc(0xed)!==_0xf8018a);}),_0xb9ca56[_0x258bbf(0xe5)](this[_0x258bbf(0xf7)][_0x258bbf(0xda)][_0x258bbf(0xe9)](_0x258bbf(0xf9)));}[_0x70b069(0xdd)](){const _0x4307e0=_0x70b069;this[_0x4307e0(0xf7)][_0x4307e0(0xe6)][_0x4307e0(0xe9)](_0x5eac0c)[_0x4307e0(0xef)](this[_0x4307e0(0xf7)][_0x4307e0(0xda)][_0x4307e0(0xe9)](_0x4307e0(0xf9))),super[_0x4307e0(0xdd)]();}}function _0x2d37(){const _0xde5a61=['data','3460EjdCJJ','once','editor','168728XADcCs','collaboration.channelId','requires','RealTimeCollaborativeComments','2439zYhOlN','config','2568OIaXmX','170ZzXFIw','destroy','21110030VVWkEv','CommentsEditing','366501mCThmN','ready','switchReadOnly','init','15240okCFRw','_setUpService','plugins','isThreadsLoadingPaused','change:state','get','isOfficialPlugin','isPremiumPlugin','Comments','connected','6121vpfUCv','_terminateService','pluginName','listenTo','CommentsRepository','2606562GAOYmu'];_0x2d37=function(){return _0xde5a61;};return _0x2d37();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x52c267)());[_0x297c45(0x21a)];[_0x297c45(0x1e7)];[_0x297c45(0x258)];[_0x297c45(0x217)];[_0x297c45(0x17d)];[_0x297c45(0x19c)];[_0x297c45(0x1f5)];[_0x297c45(0x1e1)];[_0x297c45(0x18c)];[_0x297c45(0x176)];[_0x297c45(0x24d)];[_0x297c45(0x25e)];[_0x297c45(0x1d2)];[_0x297c45(0x253)];[_0x297c45(0x1f0)];[_0x297c45(0x21c)];[_0x297c45(0x15e)];[_0x297c45(0x1d0)];static get[_0x297c45(0x17a)](){return[_0x2d03da,_0x21b1bc,_0x301068,_0x4bff20,_0x5e8ae0,_0x5df9f9];}static get[_0x297c45(0x1c4)](){const _0x29da5a=_0x297c45;return _0x29da5a(0x23c);}static get[_0x297c45(0x161)](){return!0x0;}static get[_0x297c45(0x239)](){return!0x0;}get[_0x297c45(0x182)](){const _0x36815d=_0x297c45;return this[_0x36815d(0x254)]+this[_0x36815d(0x21a)];}get[_0x297c45(0x254)](){const _0x4e9378=_0x297c45;return this[_0x4e9378(0x258)][_0x4e9378(0x248)]-this[_0x4e9378(0x21a)];}get[_0x297c45(0x15f)](){const _0x45ae06=_0x297c45,_0x2291e0=this[_0x45ae06(0x258)][_0x45ae06(0x18d)]();for(let _0x2ab589=_0x2291e0[_0x45ae06(0x15d)]-0x1;_0x2ab589>=0x0;_0x2ab589--){const _0x20e204=_0x2291e0[_0x2ab589];if(!this[_0x45ae06(0x15e)][_0x45ae06(0x1c6)](_0x20e204))return _0x20e204[_0x45ae06(0x1a2)]+0x1-this[_0x45ae06(0x21a)];}return 0x0;}constructor(_0x311a81){const _0x3656b1=_0x297c45;if(super(_0x311a81),this[_0x3656b1(0x21a)]=0x0,this[_0x3656b1(0x1e7)]=null,this[_0x3656b1(0x258)]=new _0x425ce8(),this[_0x3656b1(0x1b8)][_0x3656b1(0x1ad)][_0x3656b1(0x1f3)](_0x3656b1(0x1a4),{}),this[_0x3656b1(0x217)]=this[_0x3656b1(0x1b8)][_0x3656b1(0x1ad)][_0x3656b1(0x190)](_0x3656b1(0x1b5)),!this[_0x3656b1(0x217)])throw new _0xa2f92a(_0x3656b1(0x214),this);const _0x5655fd=_0x311a81[_0x3656b1(0x1ad)][_0x3656b1(0x190)](_0x3656b1(0x1a0))||_0x468f59;this[_0x3656b1(0x17d)]=new RealTimeCollaborationClient[(_0x3656b1(0x1dc))](_0x5655fd,this[_0x3656b1(0x217)]),this[_0x3656b1(0x19c)]=this[_0x3656b1(0x1b8)][_0x3656b1(0x171)][_0x3656b1(0x188)],this[_0x3656b1(0x1f5)]=new _0x522889(),this[_0x3656b1(0x1e1)]=[],this[_0x3656b1(0x18c)]=new WeakSet(),this[_0x3656b1(0x176)]=new Set(),this[_0x3656b1(0x185)](_0x3656b1(0x20b),!0x1),this[_0x3656b1(0x185)](_0x3656b1(0x1a1),!0x1),this[_0x3656b1(0x24d)]=null,this[_0x3656b1(0x25e)]=!0x1,this[_0x3656b1(0x1d2)]=null,this[_0x3656b1(0x253)]=0x12c,this[_0x3656b1(0x1f0)]=this[_0x3656b1(0x253)],this[_0x3656b1(0x21c)]=null,this[_0x3656b1(0x15e)]=new WeakSet(),this[_0x3656b1(0x1d0)]=new F(this[_0x3656b1(0x15e)]);}[_0x297c45(0x250)](){const _0x3ea759=_0x297c45,_0x37a7e1=this[_0x3ea759(0x1b8)],_0xd538a=_0x37a7e1[_0x3ea759(0x1cf)][_0x3ea759(0x190)](_0x5e8ae0),_0x5b46c6=_0x37a7e1[_0x3ea759(0x1cf)][_0x3ea759(0x190)](_0x2d03da);this[_0x3ea759(0x1e5)](_0xd538a,_0x3ea759(0x223),(_0x2caf7c,_0x1a395f)=>{const _0x5e45ae=_0x3ea759,_0xc1649=_0x1a395f[0x0];_0xc1649[_0x5e45ae(0x180)]&&(_0x2caf7c[_0x5e45ae(0x205)]=_0xd538a[_0x5e45ae(0x1b7)](_0xc1649[_0x5e45ae(0x180)]),_0x2caf7c[_0x5e45ae(0x1a7)]()),null===_0xc1649[_0x5e45ae(0x180)]&&(_0x2caf7c[_0x5e45ae(0x205)]=null,_0x2caf7c[_0x5e45ae(0x1a7)]());},{'priority':_0x3ea759(0x23a)}),this[_0x3ea759(0x1e5)](_0x37a7e1[_0x3ea759(0x171)][_0x3ea759(0x188)][_0x3ea759(0x257)],_0x3ea759(0x165),(_0x34a8e4,_0x53de41)=>{const _0x101c03=_0x3ea759;_0x53de41[_0x101c03(0x1f4)]&&this[_0x101c03(0x22e)]();}),this[_0x3ea759(0x1e5)](_0x37a7e1[_0x3ea759(0x1fc)][_0x3ea759(0x246)],_0x3ea759(0x179),()=>{const _0x31504a=_0x3ea759;this[_0x31504a(0x22e)]();}),this[_0x3ea759(0x255)](),_0x37a7e1[_0x3ea759(0x171)]['on'](_0x3ea759(0x219),(_0x27a978,_0x126db9)=>{const _0x3d9d10=_0x3ea759,_0x4c0244=_0x126db9[0x0];_0x4c0244[_0x3d9d10(0x1db)]&&(this[_0x3d9d10(0x1d5)](_0x4c0244),this[_0x3d9d10(0x1af)]()&&this[_0x3d9d10(0x16b)]());}),this[_0x3ea759(0x230)](),this[_0x3ea759(0x1de)](_0x3ea759(0x1ba))['to'](_0x5b46c6,_0x3ea759(0x222),this,_0x3ea759(0x1a1),(_0x2a272a,_0x433711)=>_0x3ea759(0x1aa)===_0x2a272a&&!_0x433711),this['on'](_0x3ea759(0x256),()=>{const _0x513863=_0x3ea759;this[_0x513863(0x1ba)]?_0x37a7e1[_0x513863(0x1b3)](_0x513863(0x196)):_0x37a7e1[_0x513863(0x162)](_0x513863(0x196));}),this[_0x3ea759(0x1ba)]?_0x37a7e1[_0x3ea759(0x1b3)](_0x3ea759(0x196)):_0x37a7e1[_0x3ea759(0x162)](_0x3ea759(0x196)),this[_0x3ea759(0x185)](_0x3ea759(0x20c),!0x1);}async[_0x297c45(0x1da)](){const _0x37fb35=_0x297c45,_0x150b05=this[_0x37fb35(0x1b8)][_0x37fb35(0x1cf)][_0x37fb35(0x190)](_0x21b1bc),_0x2156b3=this[_0x37fb35(0x1b8)][_0x37fb35(0x1cf)][_0x37fb35(0x190)](_0x2d03da);try{this[_0x37fb35(0x20b)]=!0x0,_0x150b05[_0x37fb35(0x1e3)](this[_0x37fb35(0x217)]);const _0x3a98be=await this[_0x37fb35(0x17d)][_0x37fb35(0x1da)](_0x2156b3[_0x37fb35(0x247)],this[_0x37fb35(0x15f)]);await this[_0x37fb35(0x252)](_0x3a98be)&&(this[_0x37fb35(0x20b)]=!0x1,this[_0x37fb35(0x170)]());const _0x12c3b4=await this[_0x37fb35(0x17d)][_0x37fb35(0x235)]();_0x150b05[_0x37fb35(0x183)](this[_0x37fb35(0x217)],_0x12c3b4),this[_0x37fb35(0x1bc)](),this[_0x37fb35(0x20c)]=!0x0;}catch(_0x2ea01b){if(function(_0x43b843){const _0x1b3a0a=_0x37fb35;return _0x1b3a0a(0x1c1)===_0x43b843[_0x1b3a0a(0x1d3)];}(_0x2ea01b)&&this[_0x37fb35(0x1e7)])await this[_0x37fb35(0x172)]();else{if(function(_0x337e25){const _0x64cd2c=_0x37fb35;return _0x64cd2c(0x23b)===_0x337e25[_0x64cd2c(0x1d3)];}(_0x2ea01b)){const _0xcd1f9f=_0x3b0bb0(this[_0x37fb35(0x1b8)][_0x37fb35(0x210)],_0x37fb35(0x1d6));this[_0x37fb35(0x1cc)](_0xcd1f9f);}else{if(!(_0x2ea01b instanceof V))throw _0x2ea01b;this[_0x37fb35(0x1cc)]();}}}}[_0x297c45(0x213)](){const _0x3b6e33=_0x297c45,_0x49aae5=this[_0x3b6e33(0x1b8)][_0x3b6e33(0x1cf)][_0x3b6e33(0x190)](_0x2d03da),_0x223580=this[_0x3b6e33(0x1b8)][_0x3b6e33(0x1cf)][_0x3b6e33(0x190)](_0x21b1bc);this[_0x3b6e33(0x1b8)][_0x3b6e33(0x162)](_0x3b6e33(0x260)),_0x223580[_0x3b6e33(0x1dd)][_0x3b6e33(0x1c6)](this[_0x3b6e33(0x217)])&&_0x223580[_0x3b6e33(0x1e3)](this[_0x3b6e33(0x217)]),_0x49aae5[_0x3b6e33(0x1b9)](this),this[_0x3b6e33(0x166)](),super[_0x3b6e33(0x213)]();}async[_0x297c45(0x252)](_0x2e750f){const _0x22eb8f=_0x297c45;if(this[_0x22eb8f(0x1e7)]!==_0x2e750f[_0x22eb8f(0x1e7)]&&this[_0x22eb8f(0x21c)]!==_0x2e750f[_0x22eb8f(0x23e)])throw new V();return this[_0x22eb8f(0x1e7)]=_0x2e750f[_0x22eb8f(0x1e7)],this[_0x22eb8f(0x18f)]([],{..._0x2e750f,'wereChangesApplied':!0x1,'data':_0x2e750f[_0x22eb8f(0x21b)]},_0x22eb8f(0x1da));}async[_0x297c45(0x1a5)](_0x5213f4,_0x2244ba=!0x1){const _0x37fbde=_0x297c45,{connection:_0x4c158a}=this[_0x37fbde(0x1b8)][_0x37fbde(0x1cf)][_0x37fbde(0x190)](_0x2d03da);RealTimeCollaborationClient[_0x37fbde(0x1dc)][_0x37fbde(0x235)](_0x4c158a,this[_0x37fbde(0x217)])[_0x37fbde(0x1b1)](_0x178f02=>this[_0x37fbde(0x1d8)](_0x178f02))[_0x37fbde(0x16e)](_0x2f99c1=>{const _0x48e6d1=_0x37fbde;this[_0x48e6d1(0x212)](_0x48e6d1(0x220),_0x2f99c1);}),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x17c),this[_0x37fbde(0x1bf)][_0x37fbde(0x1de)](this)),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x211),(_0x1b52ae,_0x17aa61)=>{const _0x46c090=_0x37fbde;this[_0x46c090(0x212)](_0x46c090(0x19b),_0x17aa61);}),this[_0x37fbde(0x1e5)](this[_0x37fbde(0x17d)],_0x37fbde(0x202),()=>{const _0x57c1e7=_0x37fbde;this[_0x57c1e7(0x20c)]=!0x1;});const _0x40f354=this[_0x37fbde(0x1d0)][_0x37fbde(0x251)](_0x5213f4);this[_0x37fbde(0x20b)]=!0x0;const _0x250326=await this[_0x37fbde(0x17d)][_0x37fbde(0x1cd)](_0x4c158a,this[_0x37fbde(0x201)](_0x5213f4),_0x40f354);if(this[_0x37fbde(0x1e7)]=_0x250326[_0x37fbde(0x1e7)],_0x2244ba){if(!_0x250326[_0x37fbde(0x17e)])return void this[_0x37fbde(0x1cc)]();this[_0x37fbde(0x20b)]=!0x1,this[_0x37fbde(0x170)](),this[_0x37fbde(0x258)][_0x37fbde(0x244)](),this[_0x37fbde(0x21a)]=_0x250326[_0x37fbde(0x195)],this[_0x37fbde(0x258)][_0x37fbde(0x248)]=this[_0x37fbde(0x21a)],await this[_0x37fbde(0x18f)](_0x5213f4,_0x250326,_0x37fbde(0x1fa));}else await this[_0x37fbde(0x19a)](_0x250326,_0x5213f4);this[_0x37fbde(0x1bc)](),this[_0x37fbde(0x20c)]=!0x0;}[_0x297c45(0x1bc)](){const _0xedbecb=_0x297c45,_0x594753=this[_0xedbecb(0x1b8)][_0xedbecb(0x1cf)][_0xedbecb(0x190)](_0x21b1bc),_0x4aee25=this[_0xedbecb(0x1b8)][_0xedbecb(0x1cf)][_0xedbecb(0x190)](_0x301068),_0x56d4dc=_0x594753[_0xedbecb(0x1dd)][_0xedbecb(0x190)](this[_0xedbecb(0x217)]);_0x56d4dc&&_0x56d4dc[_0xedbecb(0x15d)]>0x1?_0x4aee25[_0xedbecb(0x1b4)]():this[_0xedbecb(0x1e5)](_0x594753,_0xedbecb(0x1ee)+this[_0xedbecb(0x217)],()=>{const _0x51d344=_0xedbecb;0x2===_0x594753[_0x51d344(0x1dd)][_0x51d344(0x190)](this[_0x51d344(0x217)])[_0x51d344(0x15d)]&&_0x4aee25[_0x51d344(0x1b4)]();});}async[_0x297c45(0x1bf)](_0x2209a,_0x51b47e,_0x462058,_0x463bd9){const _0x5adca1=_0x297c45;if(!this[_0x5adca1(0x20b)]&&this[_0x5adca1(0x19c)][_0x5adca1(0x248)]==_0x51b47e){const _0x49cc04=this[_0x5adca1(0x229)](_0x462058,_0x463bd9);await this[_0x5adca1(0x262)](_0x49cc04),this[_0x5adca1(0x24b)](_0x49cc04,_0x51b47e,_0x462058[_0x5adca1(0x23e)])||this[_0x5adca1(0x212)](_0x5adca1(0x198));}}async[_0x297c45(0x172)](){const _0x358340=_0x297c45;this[_0x358340(0x166)]();const {locale:_0xd42a20}=this[_0x358340(0x1b8)];let _0x548cc;try{_0x548cc=await this[_0x358340(0x17d)][_0x358340(0x1ae)]();}catch{const _0x20ca1d=_0x3b0bb0(_0xd42a20,_0x358340(0x1b0));return void this[_0x358340(0x1cc)](_0x20ca1d);}const _0x3a78ca=_0x548cc[_0x358340(0x224)]||_0x548cc[_0x358340(0x16f)];if(this[_0x358340(0x21c)]!==_0x3a78ca[_0x358340(0x23e)]){const _0x3b9255=_0x3b0bb0(_0xd42a20,_0x358340(0x1d7));return void this[_0x358340(0x1cc)](_0x3b9255);}await this[_0x358340(0x1a5)](this[_0x358340(0x1b8)][_0x358340(0x171)][_0x358340(0x188)][_0x358340(0x237)][_0x358340(0x18d)](),!0x0);}[_0x297c45(0x166)](){const _0x24d347=_0x297c45;this[_0x24d347(0x17d)][_0x24d347(0x221)](),this[_0x24d347(0x1e1)]=[],clearTimeout(this[_0x24d347(0x1d2)]),this[_0x24d347(0x1eb)](this[_0x24d347(0x17d)]);}[_0x297c45(0x1d8)](_0x475f13){const _0x54b735=_0x297c45,_0x18ae74=this[_0x54b735(0x1b8)][_0x54b735(0x1cf)][_0x54b735(0x190)](_0x21b1bc);this[_0x54b735(0x1e5)](_0x18ae74,_0x54b735(0x1ee)+this[_0x54b735(0x217)],(_0x286d79,{session:_0x18a3e8})=>{const _0x2d1e70=_0x54b735;if(_0x18a3e8['id']===_0x18ae74[_0x2d1e70(0x16a)]){_0x286d79[_0x2d1e70(0x1f8)]();const _0x14e6d3=this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x1c6)](_0x2d1e70(0x21e))&&this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x190)](_0x2d1e70(0x21e));let _0x38e556=_0x18a3e8[_0x2d1e70(0x1e6)];_0x14e6d3&&_0x14e6d3[_0x2d1e70(0x208)]&&(_0x38e556=_0x38e556[_0x2d1e70(0x1b2)](_0x112005=>_0x2d1e70(0x1e2)!==_0x112005)),this[_0x2d1e70(0x1b8)][_0x2d1e70(0x1cf)][_0x2d1e70(0x190)](_0x2d1e70(0x1ce))[_0x2d1e70(0x20f)](_0x38e556,this[_0x2d1e70(0x217)]);}}),_0x18ae74[_0x54b735(0x183)](this[_0x54b735(0x217)],_0x475f13);}[_0x297c45(0x255)](){const _0x3c8879=_0x297c45,_0x12721c=this[_0x3c8879(0x1b8)][_0x3c8879(0x21b)][_0x3c8879(0x185)];this[_0x3c8879(0x1b8)][_0x3c8879(0x21b)][_0x3c8879(0x185)]=(..._0x1109bc)=>{const _0x3dec9d=_0x3c8879;if(!_0x1109bc[_0x1109bc[_0x3dec9d(0x15d)]-0x1][_0x3dec9d(0x22f)])throw new _0xa2f92a(_0x3dec9d(0x1c0),this);_0x12721c[_0x3dec9d(0x236)](this[_0x3dec9d(0x1b8)][_0x3dec9d(0x21b)],_0x1109bc);};}[_0x297c45(0x230)](){const _0x2fe41c=_0x297c45;this[_0x2fe41c(0x1b8)][_0x2fe41c(0x21b)]['on'](_0x2fe41c(0x250),(_0x10a7a3,[_0x2a25d8])=>{const _0x50661f=_0x2fe41c;if(this[_0x50661f(0x19c)][_0x50661f(0x248)])throw new _0xa2f92a(_0x50661f(0x228),this);_0x10a7a3[_0x50661f(0x1a7)](),this[_0x50661f(0x1e8)]();const _0x32e9c5=this[_0x50661f(0x1b8)][_0x50661f(0x1ad)][_0x50661f(0x190)](_0x50661f(0x1c5)),_0x523c68=this[_0x50661f(0x175)](_0x2a25d8,_0x32e9c5);0x0==_0x523c68[_0x50661f(0x15d)]&&_0x523c68[_0x50661f(0x15c)](new _0x1ac49a(0x0)),_0x10a7a3[_0x50661f(0x205)]=this[_0x50661f(0x1a5)](_0x523c68)[_0x50661f(0x1b1)](()=>{const _0x10ac03=_0x50661f;this[_0x10ac03(0x1b8)][_0x10ac03(0x1cf)][_0x10ac03(0x190)](_0x2d03da)[_0x10ac03(0x25a)](this),this[_0x10ac03(0x1b8)][_0x10ac03(0x21b)][_0x10ac03(0x24a)](_0x10ac03(0x24c));})[_0x50661f(0x16e)](_0x123445=>this[_0x50661f(0x212)](_0x50661f(0x1be),_0x123445))[_0x50661f(0x1df)](()=>this[_0x50661f(0x170)]());},{'priority':_0x2fe41c(0x23a)}),this[_0x2fe41c(0x1b8)]['on'](_0x2fe41c(0x233),async(_0x4fd0d0,[_0x39caea,_0x393f9b])=>{const _0x1f5e4f=_0x2fe41c;_0x4fd0d0[_0x1f5e4f(0x1a7)]();const _0x1457af=this[_0x1f5e4f(0x1b8)][_0x1f5e4f(0x171)][_0x1f5e4f(0x188)][_0x1f5e4f(0x225)](_0x39caea);if(!this[_0x1f5e4f(0x176)][_0x1f5e4f(0x1c6)](_0x39caea)){const _0x363ef7=_0x393f9b&&_0x393f9b[_0x1f5e4f(0x21b)]?_0x393f9b[_0x1f5e4f(0x21b)]:'',_0x309adf=_0x393f9b&&_0x393f9b[_0x1f5e4f(0x191)]?_0x393f9b[_0x1f5e4f(0x191)]:{};await this[_0x1f5e4f(0x184)](_0x39caea,_0x363ef7,_0x309adf);}this[_0x1f5e4f(0x1b8)][_0x1f5e4f(0x171)][_0x1f5e4f(0x1ab)]({'isUndoable':!0x1},()=>{const _0x59b881=_0x1f5e4f;_0x1457af[_0x59b881(0x1ac)]=!0x0,this[_0x59b881(0x1b8)][_0x59b881(0x171)][_0x59b881(0x188)][_0x59b881(0x163)][_0x59b881(0x25c)](_0x1457af);});},{'priority':_0x2fe41c(0x23a)});}async[_0x297c45(0x262)](_0x4ec68d){const _0x2c11f6=_0x297c45,_0x4673f5=this[_0x2c11f6(0x1b8)][_0x2c11f6(0x1cf)][_0x2c11f6(0x190)](_0x5e8ae0),{connection:_0x2562db}=this[_0x2c11f6(0x1b8)][_0x2c11f6(0x1cf)][_0x2c11f6(0x190)](_0x2d03da),_0x3dc99b=new Set();for(const _0x39b2d9 of _0x4ec68d){const _0x5e1857=_0x39b2d9[_0x2c11f6(0x180)];_0x5e1857&&!_0x4673f5[_0x2c11f6(0x1b7)](_0x5e1857)&&_0x3dc99b[_0x2c11f6(0x25f)](_0x5e1857);}if(0x0===_0x3dc99b[_0x2c11f6(0x194)])return;const _0xe2718f=await _0xf4520f[_0x2c11f6(0x20d)](_0x2562db,Array[_0x2c11f6(0x189)](_0x3dc99b));for(const _0x4302a4 of _0xe2718f)_0x4673f5[_0x2c11f6(0x1b7)](_0x4302a4['id'])||_0x4673f5[_0x2c11f6(0x17b)](_0x4302a4);}[_0x297c45(0x175)](_0x343d44,_0x166a40={}){const _0x183716=_0x297c45,_0x4eca18=this[_0x183716(0x1b8)][_0x183716(0x171)],_0x48a0ec=[];let _0x2531e1=0x0;const _0x2d7ce7=_0x183716(0x23d)==typeof _0x343d44?{'main':_0x343d44}:_0x343d44;for(const _0x795dec of Object[_0x183716(0x1c7)](_0x2d7ce7)){if(!this[_0x183716(0x19c)][_0x183716(0x1fe)][_0x183716(0x1c6)](_0x795dec))throw new _0xa2f92a(_0x183716(0x18b),this);const _0x3e2a16=this[_0x183716(0x1b8)][_0x183716(0x21b)][_0x183716(0x209)](_0x2d7ce7[_0x795dec]),_0x4c7894=this[_0x183716(0x19c)][_0x183716(0x225)](_0x795dec),_0x51ac30=new _0x551dc7(_0x4eca18[_0x183716(0x19f)](_0x4c7894,0x0),_0x3e2a16,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x51ac30);for(const [_0x3afffa,_0x226317]of _0x3e2a16[_0x183716(0x169)]){const _0x420ca0=_0x4eca18[_0x183716(0x22b)](_0x4eca18[_0x183716(0x245)](_0x4c7894,_0x226317[_0x183716(0x1ed)][_0x183716(0x1e9)][_0x183716(0x160)]()),_0x4eca18[_0x183716(0x245)](_0x4c7894,_0x226317[_0x183716(0x241)][_0x183716(0x1e9)][_0x183716(0x160)]())),_0x19377b=new _0x59077a(_0x3afffa,null,_0x420ca0,_0x4eca18[_0x183716(0x169)],!0x0,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x19377b);}}if(_0x166a40)for(const [_0x4fd027,_0x3acd07]of Object[_0x183716(0x177)](_0x166a40)){const _0x576ea8=_0x4eca18[_0x183716(0x188)][_0x183716(0x225)](_0x4fd027);if(!_0x576ea8)throw new _0xa2f92a(_0x183716(0x1e0),null);for(const [_0x241aee,_0x4706ee]of Object[_0x183716(0x177)](_0x3acd07))if(null!==_0x4706ee){const _0x33655b=new _0x43056c(_0x576ea8,_0x241aee,null,_0x4706ee,_0x2531e1++);_0x48a0ec[_0x183716(0x15c)](_0x33655b);}}return _0x48a0ec;}async[_0x297c45(0x184)](_0x530839,_0x3117d9,_0x2434dc){const _0x4e12c0=_0x297c45;this[_0x4e12c0(0x175)]({[_0x530839]:_0x3117d9},{[_0x530839]:_0x2434dc})[_0x4e12c0(0x200)]((_0x7eba5e,_0x1fe710)=>{const _0x37496b=_0x4e12c0;_0x7eba5e[_0x37496b(0x1a2)]=this[_0x37496b(0x19c)][_0x37496b(0x248)]+_0x1fe710,_0x7eba5e[_0x37496b(0x1d9)]=!0x0,this[_0x37496b(0x1d5)](_0x7eba5e);}),this[_0x4e12c0(0x16b)](),await this[_0x4e12c0(0x216)]();}async[_0x297c45(0x19a)](_0x541efe,_0x5aa4f2){const _0x3fd70a=_0x297c45;let _0x3c98b4;this[_0x3fd70a(0x21a)]=_0x541efe[_0x3fd70a(0x195)];const _0x321fb2=_0x541efe[_0x3fd70a(0x17e)]&&!_0x541efe[_0x3fd70a(0x1c2)],_0x4fea14=_0x321fb2?0x0:_0x541efe[_0x3fd70a(0x21b)][_0x3fd70a(0x1a2)];if(_0x5aa4f2[_0x3fd70a(0x200)](_0x3e6b91=>{const _0x10fa5f=_0x3fd70a;_0x3e6b91[_0x10fa5f(0x1d9)]=!0x0,_0x3e6b91[_0x10fa5f(0x25d)]=_0x541efe[_0x10fa5f(0x25b)],_0x3e6b91[_0x10fa5f(0x180)]=null;}),_0x321fb2)_0x3c98b4=_0x5aa4f2,this[_0x3fd70a(0x174)](_0x3c98b4,_0x321fb2);else{if(_0x541efe[_0x3fd70a(0x1c2)]){const _0x15d448=this[_0x3fd70a(0x175)](_0x541efe[_0x3fd70a(0x1c2)]);this[_0x3fd70a(0x19c)][_0x3fd70a(0x237)][_0x3fd70a(0x248)]=-_0x15d448[_0x3fd70a(0x15d)],_0x15d448[_0x3fd70a(0x200)](_0x35000=>{const _0x24b075=_0x3fd70a;_0x35000[_0x24b075(0x1a2)]-=_0x15d448[_0x24b075(0x15d)],_0x35000[_0x24b075(0x25d)]=_0x541efe[_0x24b075(0x25b)],_0x35000[_0x24b075(0x1d9)]=!0x0,_0x35000[_0x24b075(0x180)]=null;}),this[_0x3fd70a(0x174)](_0x15d448,!0x0),this[_0x3fd70a(0x258)][_0x3fd70a(0x248)]=-_0x15d448[_0x3fd70a(0x15d)]+this[_0x3fd70a(0x21a)],this[_0x3fd70a(0x1a9)](_0x15d448);}this[_0x3fd70a(0x19c)][_0x3fd70a(0x237)][_0x3fd70a(0x248)]=_0x4fea14,_0x3c98b4=this[_0x3fd70a(0x229)](_0x541efe[_0x3fd70a(0x21b)],_0x541efe[_0x3fd70a(0x1e4)]),await this[_0x3fd70a(0x262)](_0x3c98b4),this[_0x3fd70a(0x174)](_0x3c98b4,_0x321fb2);}_0x541efe[_0x3fd70a(0x23e)]&&(this[_0x3fd70a(0x1d0)][_0x3fd70a(0x187)](_0x3c98b4,_0x541efe[_0x3fd70a(0x23e)]),this[_0x3fd70a(0x21c)]=_0x541efe[_0x3fd70a(0x23e)]),this[_0x3fd70a(0x258)][_0x3fd70a(0x248)]=_0x4fea14+this[_0x3fd70a(0x21a)],this[_0x3fd70a(0x1a9)](_0x3c98b4),_0x5aa4f2[_0x3fd70a(0x1b2)](_0x53298a=>{const _0x2870bb=_0x3fd70a,_0x3c77d0=this[_0x2870bb(0x1bb)](_0x53298a);return _0x3c77d0&&!this[_0x2870bb(0x176)][_0x2870bb(0x1c6)](_0x3c77d0);})[_0x3fd70a(0x200)]((_0x1b7dc9,_0x52033b)=>{const _0x34796a=_0x3fd70a;_0x1b7dc9[_0x34796a(0x1a2)]=this[_0x34796a(0x19c)][_0x34796a(0x248)]+_0x52033b,this[_0x34796a(0x1d5)](_0x1b7dc9);}),this[_0x3fd70a(0x1af)]()?(this[_0x3fd70a(0x1f0)]=0x0,this[_0x3fd70a(0x16b)](!0x0),await this[_0x3fd70a(0x216)]()):(this[_0x3fd70a(0x20b)]=!0x1,this[_0x3fd70a(0x170)]());}[_0x297c45(0x212)](_0x4df83b,_0x6d31a2){const _0x86d9a4=_0x297c45,_0x2e6d23=_0x6d31a2&&_0x6d31a2[_0x86d9a4(0x22a)];if(_0x2e6d23&&_0x2e6d23[_0x86d9a4(0x215)](_0x86d9a4(0x227)))throw _0x6d31a2;const _0x1bf986=this[_0x86d9a4(0x1b8)][_0x86d9a4(0x1cf)][_0x86d9a4(0x190)](_0x2d03da);throw this[_0x86d9a4(0x20b)]=!0x0,_0x1bf986[_0x86d9a4(0x221)](),this[_0x86d9a4(0x1b8)][_0x86d9a4(0x162)](_0x86d9a4(0x21f)),new _0xa2f92a(_0x4df83b,this[_0x86d9a4(0x1b8)],_0x2e6d23?{'originalError':_0x2e6d23}:void 0x0);}[_0x297c45(0x1d5)](_0x35da32){const _0x3d22e5=_0x297c45;this[_0x3d22e5(0x18c)][_0x3d22e5(0x1c6)](_0x35da32)||(this[_0x3d22e5(0x18c)][_0x3d22e5(0x25f)](_0x35da32),this[_0x3d22e5(0x1e1)][_0x3d22e5(0x15c)](_0x35da32),this[_0x3d22e5(0x24d)]||_0x3d22e5(0x199)==_0x35da32[_0x3d22e5(0x164)]&&!_0x35da32[_0x3d22e5(0x17f)]||this[_0x3d22e5(0x1e8)]());}[_0x297c45(0x16b)](_0x24254d=!0x1){const _0x4c4eaa=_0x297c45;!_0x24254d&&this[_0x4c4eaa(0x20b)]||(this[_0x4c4eaa(0x20b)]=!0x0,clearTimeout(this[_0x4c4eaa(0x1d2)]),this[_0x4c4eaa(0x1d2)]=setTimeout(()=>{const _0x33f7a3=_0x4c4eaa;this[_0x33f7a3(0x192)]()[_0x33f7a3(0x1b1)](_0x31fe72=>{const _0x42d005=_0x33f7a3;_0x31fe72&&(this[_0x42d005(0x170)](),this[_0x42d005(0x20b)]=!0x1);})[_0x33f7a3(0x16e)](_0xa1f9f9=>{const _0xb3edba=_0x33f7a3;this[_0xb3edba(0x170)](),this[_0xb3edba(0x20b)]=!0x1,function(_0x4aab37){const _0x3c89bd=_0xb3edba;return _0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x1f1))||_0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x259))||_0x4aab37[_0x3c89bd(0x22a)][_0x3c89bd(0x215)](_0x3c89bd(0x1a3));}(_0xa1f9f9)||this[_0xb3edba(0x212)](_0xa1f9f9[_0xb3edba(0x22a)],_0xa1f9f9);});},this[_0x4c4eaa(0x1f0)]));}[_0x297c45(0x216)](){return new Promise(_0x203e3f=>{const _0x2e60f5=_0x17a2;this['on'](_0x2e60f5(0x178),()=>{_0x203e3f();});});}async[_0x297c45(0x192)](){const _0x33c5c5=_0x297c45,_0x59cae7=this[_0x33c5c5(0x1b8)][_0x33c5c5(0x1cf)][_0x33c5c5(0x190)](_0x301068);if(this[_0x33c5c5(0x240)]()&&(_0x59cae7[_0x33c5c5(0x1b4)](),this[_0x33c5c5(0x25e)]=!0x1),!this[_0x33c5c5(0x1af)]())return!0x0;const _0x1e9b52=[...this[_0x33c5c5(0x1e1)]];for(const _0x1bdf7b of _0x1e9b52)_0x1bdf7b[_0x33c5c5(0x218)]=this[_0x33c5c5(0x19c)][_0x33c5c5(0x237)][_0x33c5c5(0x19d)](_0x1bdf7b);const _0x305cf4=this[_0x33c5c5(0x1d0)][_0x33c5c5(0x251)](_0x1e9b52),_0x43727d=H++,_0x472bed=this[_0x33c5c5(0x201)](_0x1e9b52),_0x3694e2=await this[_0x33c5c5(0x17d)][_0x33c5c5(0x1f9)](_0x472bed,_0x472bed[_0x33c5c5(0x1a2)],_0x305cf4);try{return await this[_0x33c5c5(0x18f)](_0x1e9b52,_0x3694e2,_0x43727d);}catch(_0x59854a){return this[_0x33c5c5(0x212)](_0x33c5c5(0x186),_0x59854a);}}async[_0x297c45(0x18f)](_0x383949,_0x369c8b,_0x2ead26){const _0x1c3e49=_0x297c45;if(_0x1c3e49(0x211)in _0x369c8b)throw _0x369c8b[_0x1c3e49(0x211)];let _0x76f76f=!0x1;if(_0x369c8b[_0x1c3e49(0x17e)]){_0x369c8b[_0x1c3e49(0x23e)]&&(this[_0x1c3e49(0x21c)]=_0x369c8b[_0x1c3e49(0x23e)]),this[_0x1c3e49(0x1e1)]=this[_0x1c3e49(0x1e1)][_0x1c3e49(0x1b2)](_0x103702=>!_0x383949[_0x1c3e49(0x1fd)](_0x103702));for(const _0x512234 of _0x383949)_0x512234[_0x1c3e49(0x25d)]=_0x1c3e49(0x23f)in _0x369c8b&&_0x369c8b[_0x1c3e49(0x23f)]||void 0x0;W(_0x383949,_0x369c8b[_0x1c3e49(0x248)]-_0x383949[_0x1c3e49(0x15d)]),this[_0x1c3e49(0x1a9)](_0x383949);const _0xcb327f=_0x383949[_0x1c3e49(0x1b2)](_0x4e912c=>{const _0x12b70c=_0x1c3e49;if(!_0x4e912c[_0x12b70c(0x1d9)])return!0x1;const _0x15144b=this[_0x12b70c(0x1bb)](_0x4e912c);return _0x15144b&&!this[_0x12b70c(0x176)][_0x12b70c(0x1c6)](_0x15144b);});W(_0xcb327f,this[_0x1c3e49(0x19c)][_0x1c3e49(0x248)]),this[_0x1c3e49(0x174)](_0xcb327f),_0x76f76f=!0x0,this[_0x1c3e49(0x1f0)]=this[_0x1c3e49(0x253)];}else{const _0x3e34f4=this[_0x1c3e49(0x229)](_0x369c8b[_0x1c3e49(0x21b)],_0x369c8b[_0x1c3e49(0x1e4)])[_0x1c3e49(0x1b2)](_0x35acf5=>_0x35acf5[_0x1c3e49(0x1a2)]>=this[_0x1c3e49(0x254)]);_0x3e34f4[_0x1c3e49(0x200)](_0x58228b=>this[_0x1c3e49(0x20a)](_0x58228b)),this[_0x1c3e49(0x1e1)]=this[_0x1c3e49(0x1e1)][_0x1c3e49(0x1b2)](_0x4eddb5=>!_0x4eddb5[_0x1c3e49(0x1d9)]||!this[_0x1c3e49(0x176)][_0x1c3e49(0x1c6)](this[_0x1c3e49(0x1bb)](_0x4eddb5))),this[_0x1c3e49(0x1e1)][_0x1c3e49(0x15d)]&&W(this[_0x1c3e49(0x1e1)],this[_0x1c3e49(0x1e1)][0x0][_0x1c3e49(0x1a2)]),await this[_0x1c3e49(0x262)](_0x3e34f4),_0x76f76f=this[_0x1c3e49(0x24b)](_0x3e34f4,_0x369c8b[_0x1c3e49(0x248)],_0x369c8b[_0x1c3e49(0x23e)]),this[_0x1c3e49(0x1f0)]=Math[_0x1c3e49(0x181)](this[_0x1c3e49(0x1f0)]/0x2);}return _0x76f76f?!this[_0x1c3e49(0x1af)]()||(this[_0x1c3e49(0x16b)](!0x0),!0x1):this[_0x1c3e49(0x212)](_0x1c3e49(0x1ea));}[_0x297c45(0x24b)](_0x28d0bf,_0x5df468,_0x261331){const _0x1c8808=_0x297c45;try{const _0x4f573a={'document':this[_0x1c8808(0x19c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x125c44,operationsB:_0x45abc0,originalOperations:_0x286e66}=_0x518664(_0x28d0bf,this[_0x1c8808(0x1e1)],_0x4f573a);W(_0x125c44,this[_0x1c8808(0x19c)][_0x1c8808(0x248)]),W(_0x45abc0,_0x5df468);for(const _0x367a28 of _0x125c44){const _0x577c92=_0x286e66[_0x1c8808(0x190)](_0x367a28);_0x367a28[_0x1c8808(0x180)]=_0x577c92?_0x577c92[_0x1c8808(0x180)]:null;}_0x261331&&(this[_0x1c8808(0x1d0)][_0x1c8808(0x187)](_0x28d0bf,_0x261331),this[_0x1c8808(0x21c)]=_0x261331),this[_0x1c8808(0x1e1)]=[..._0x45abc0],this[_0x1c8808(0x174)](_0x125c44),this[_0x1c8808(0x1a9)](_0x28d0bf);}catch(_0x259f72){return console[_0x1c8808(0x211)](_0x259f72),!0x1;}return!0x0;}[_0x297c45(0x174)](_0x5e7afa,_0x5c1787=!0x1){const _0x5b9648=_0x297c45;this[_0x5b9648(0x1b8)][_0x5b9648(0x171)][_0x5b9648(0x1ab)]({'isUndoable':!0x1,'isLocal':!0x1},_0x351441=>{const _0x440064=_0x5b9648;for(const _0x338d8e of _0x5e7afa)this[_0x440064(0x18c)][_0x440064(0x25f)](_0x338d8e),this[_0x440064(0x20a)](_0x338d8e),_0x351441[_0x440064(0x1c3)][_0x440064(0x1f7)](_0x338d8e),this[_0x440064(0x1b8)][_0x440064(0x171)][_0x440064(0x219)](_0x338d8e);});}[_0x297c45(0x20a)](_0x54caa8){const _0x2574d3=_0x297c45,_0x1aa1cd=this[_0x2574d3(0x1bb)](_0x54caa8);_0x1aa1cd&&this[_0x2574d3(0x176)][_0x2574d3(0x25f)](_0x1aa1cd);}[_0x297c45(0x1bb)](_0x319656){const _0x47a91b=_0x297c45;let _0x47dcbf,_0x4c61ad;switch(_0x319656[_0x47a91b(0x164)]){case _0x47a91b(0x24f):_0x47dcbf=_0x319656[_0x47a91b(0x1f6)][_0x47a91b(0x1ca)];break;case _0x47a91b(0x199):if(_0x4c61ad=_0x319656[_0x47a91b(0x1d4)],!_0x4c61ad)return null;_0x47dcbf=_0x4c61ad[_0x47a91b(0x1ca)];break;case _0x47a91b(0x1cb):_0x47dcbf=_0x319656[_0x47a91b(0x1ca)];break;case _0x47a91b(0x231):_0x47dcbf=_0x319656[_0x47a91b(0x261)];break;case _0x47a91b(0x167):_0x47dcbf=_0x319656[_0x47a91b(0x18a)][_0x47a91b(0x1ca)];break;default:return null;}return _0x47dcbf[_0x47a91b(0x21d)];}[_0x297c45(0x1a9)](_0x5d7297){const _0x23368d=_0x297c45;_0x5d7297[_0x23368d(0x200)](_0x569558=>{const _0xb538ce=_0x23368d,_0x237c14=_0x569558[_0xb538ce(0x173)]();_0x237c14[_0xb538ce(0x180)]=_0x569558[_0xb538ce(0x180)],_0x237c14[_0xb538ce(0x1d9)]=!!_0x569558[_0xb538ce(0x1d9)],_0x237c14[_0xb538ce(0x25d)]=_0x569558[_0xb538ce(0x25d)],_0x237c14[_0xb538ce(0x1a2)]+=this[_0xb538ce(0x21a)],_0x569558[_0xb538ce(0x204)]&&this[_0xb538ce(0x15e)][_0xb538ce(0x25f)](_0x237c14),this[_0xb538ce(0x258)][_0xb538ce(0x1f7)](_0x237c14);});}[_0x297c45(0x1cc)](_0x560de5){const _0x57339b=_0x297c45,_0x41de0f=this[_0x57339b(0x1b8)][_0x57339b(0x1cf)][_0x57339b(0x190)](_0x57339b(0x22d)),_0x3f29c1=this[_0x57339b(0x1b8)][_0x57339b(0x210)];_0x560de5||(_0x560de5=_0x3b0bb0(_0x3f29c1,_0x57339b(0x1a8))),_0x41de0f[_0x57339b(0x206)](_0x560de5,{'title':_0x3b0bb0(_0x3f29c1,_0x57339b(0x242)),'namespace':_0x57339b(0x232)}),this[_0x57339b(0x1a1)]=!0x0,clearTimeout(this[_0x57339b(0x1d2)]),this[_0x57339b(0x1e1)]=[],this[_0x57339b(0x1b8)][_0x57339b(0x1cf)][_0x57339b(0x190)](_0x2d03da)[_0x57339b(0x221)]();}[_0x297c45(0x1e8)](){const _0x45291e=_0x297c45;this[_0x45291e(0x24d)]||(this[_0x45291e(0x24d)]=this[_0x45291e(0x1b8)][_0x45291e(0x1cf)][_0x45291e(0x190)](_0x4bff20)[_0x45291e(0x25f)](_0x3b0bb0(this[_0x45291e(0x1b8)][_0x45291e(0x210)],_0x45291e(0x24e))));}[_0x297c45(0x170)](){const _0xa3d8d8=_0x297c45;this[_0xa3d8d8(0x24d)]&&(this[_0xa3d8d8(0x1b8)][_0xa3d8d8(0x1cf)][_0xa3d8d8(0x190)](_0x4bff20)[_0xa3d8d8(0x207)](this[_0xa3d8d8(0x24d)]),this[_0xa3d8d8(0x24d)]=null);}[_0x297c45(0x201)](_0x2a586a){const _0x544e2e=_0x297c45,_0x3f05f1=_0x2a586a[_0x544e2e(0x1ec)](_0x8da4aa=>_0x8da4aa[_0x544e2e(0x1ef)]());return this[_0x544e2e(0x1f5)][_0x544e2e(0x1bd)](_0x3f05f1);}[_0x297c45(0x229)](_0x1c15a5,_0x5f3dd0){const _0x5a4374=_0x297c45;return this[_0x5a4374(0x1f5)][_0x5a4374(0x238)](_0x1c15a5)[_0x5a4374(0x1ec)]((_0x1a79db,_0x122f9f)=>{const _0x7390c4=_0x5a4374,_0x553b7a=_0x7390c4(0x250)==_0x5f3dd0[_0x122f9f][_0x7390c4(0x164)];if(_0x7390c4(0x193)==_0x1a79db[_0x7390c4(0x1c9)]){const _0x376e6b=_0x1a79db[_0x7390c4(0x1f6)][_0x7390c4(0x1ca)];!this[_0x7390c4(0x19c)][_0x7390c4(0x225)](_0x376e6b)&&(this[_0x7390c4(0x19c)][_0x7390c4(0x18e)](_0x7390c4(0x1fb),_0x376e6b)[_0x7390c4(0x197)]=!0x1);}const _0x3dcf6e=_0x4d9438[_0x7390c4(0x234)](_0x1a79db,this[_0x7390c4(0x19c)]);return _0x3dcf6e[_0x7390c4(0x218)]=_0x1a79db[_0x7390c4(0x218)],_0x3dcf6e[_0x7390c4(0x1d9)]=_0x553b7a,_0x3dcf6e[_0x7390c4(0x180)]=_0x553b7a?null:_0x5f3dd0[_0x122f9f][_0x7390c4(0x249)],_0x3dcf6e[_0x7390c4(0x204)]=_0x7390c4(0x1c8)===_0x5f3dd0[_0x122f9f][_0x7390c4(0x164)],_0x3dcf6e[_0x7390c4(0x25d)]=_0x5f3dd0[_0x122f9f][_0x7390c4(0x25d)],_0x3dcf6e;});}[_0x297c45(0x22e)](){const _0x54bc8d=_0x297c45;this[_0x54bc8d(0x25e)]=!0x0,this[_0x54bc8d(0x240)]()?this[_0x54bc8d(0x16b)]():this[_0x54bc8d(0x25e)]=!0x1;}[_0x297c45(0x240)](){const _0x28edb6=_0x297c45,_0x2be767=this[_0x28edb6(0x1b8)][_0x28edb6(0x1cf)][_0x28edb6(0x190)](_0x21b1bc)[_0x28edb6(0x1dd)][_0x28edb6(0x190)](this[_0x28edb6(0x217)]);return!this[_0x28edb6(0x1b8)][_0x28edb6(0x1f2)]&&!!_0x2be767&&_0x2be767[_0x28edb6(0x15d)]>0x1&&this[_0x28edb6(0x25e)];}[_0x297c45(0x1af)](){const _0x33ea3a=_0x297c45;return this[_0x33ea3a(0x1e1)][_0x33ea3a(0x15d)]>0x0||this[_0x33ea3a(0x240)]();}}class V extends Error{}function W(_0x3821ee,_0x20b778){const _0x32017a=_0x297c45;for(const _0x583343 of _0x3821ee)_0x583343[_0x32017a(0x1a2)]=_0x20b778++;}function _0x3106(){const _0x8bf268=['sendOperations','reconnection:\x20flushed\x20session','$root','editing','includes','roots','1403620qgMEHP','forEach','_compressOperations','disconnected','_ignoredOperations','_isDisconnection','return','showWarning','remove','isEnabled','parse','_addKnownRoot','_isPendingUpdate','_isConnected','getMany','8bDNWzd','setPermissions','locale','error','_crash','destroy','collaboration-missing-channelid','startsWith','_waitUntilSynced','_channelId','wasUndone','applyOperation','_offset','data','_lastSyncedOperationId','rootName','CommentsOnly','realtimecollaborationclient-error','realtimecollaborationclient-init-session-connection-error','disconnect','state','getOperationAuthor','currentDocumentSession','getRoot','11SwxoaU','realtimecollaborationclient','realtimecollaborationclient-init-document-already-initialized','_decompressOperations','message','createRange','3ytAOer','Notification','_refreshUserSelectionMarkers','suppressErrorInCollaboration','_setUpDataInit','addRoot','real-time-collaboration','loadRoot','fromJSON','getConnectedSessions','apply','history','decompress','isPremiumPlugin','high','409','RealTimeCollaborationClient','string','lastOperationId','lastOperationAcceptedAt','_shouldSendSelectionUpdate','end','Synchronization\x20issue','4772064twFLRD','reset','createPositionFromPath','view','connection','version','userId','fire','_handleExternalOperations','ready','_pendingAction','PENDING_ACTION_SENDING_DATA','insert','init','getIdOfTheLastOperation','_handleReconnectionResponse','_baseBufferDelay','_lastServerVersion','_initThrowingOnDataSet','change:_isEditingAllowed','selection','serverHistory','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','addToReconnectionStack','sessionCreatedAt','_bufferRootLoad','createdAt','_hasSelectionChanged','add','rtc-destroyed','affectedSelectable','_fetchMissingUsers','_operationToId','push','length','_disconnectionOperations','lastSyncVersion','slice','isOfficialPlugin','enableReadOnlyMode','differ','type','change:range','_disconnectService','move','24HYTtPi','markers','mySessionId','_sendBufferedOperationsDelayed','389332SzmlQf','478401hElolq','catch','lastDocumentSession','_clearPendingAction','model','_connectAfterSessionHasBeenFlushed','clone','_applyOperationsSet','_getOperationsFromInitData','_knownRootNames','entries','change:_isPendingUpdate','change:hasDomSelection','requires','addUser','operationsReceived','_service','wereChangesApplied','affectsData','_authorId','round','cloudDocumentVersion','register','_loadRoot','set','realtimecollaborationclient-sendbufferedoperations','setIdForTheLastOperation','document','from','targetPosition','realtimecollaborationclient-init-non-existent-root','_knownOperations','getOperations','createRoot','_handleServerResponse','get','attributes','_sendBufferedOperations','InsertOperation','size','offset','rtc-offline','_isAttached','realtimecollaborationclient-init-service-incorrect-server-operation','marker','_handleInitialConnectionData','realtimecollaborationclient-init-service-internal-error','_document','isUndoneOperation','9RQbOSw','createPositionAt','cloudServices.bundleVersion','_hasSynchronizationProblem','baseVersion','cloud-services-internal-error:\x20Request\x20timeout.','collaboration','_connectService','6513204rALomo','stop','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.','_updateServerHistory','connected','enqueueChange','_isLoaded','config','getDocumentDetails','_shouldSendUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','then','filter','disableReadOnlyMode','createUserMarkerOperations','collaboration.channelId','31210SyRhvL','getUser','editor','removeFromReconnectionStack','_isEditingAllowed','_getAffectedRoot','_handleSendingSelectionMarkers','compress','realtimecollaborationclient-init-connection-failed','_handleReceivedOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','404','initData','batch','pluginName','rootsAttributes','has','keys','cs:removeUser','__className','root','addRootAttribute','_handleReconnectionError','connect','Permissions','plugins','_operationIdentifier','343176UeJwed','_sendBufferedOperationsDelayId','code','newRange','_saveOperationInBuffer','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','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.','_initSessionsHandling','_isInit','reconnect','isDocumentOperation','CollaborativeEditingService','channelSessions','bind','finally','multi-root-editor-root-attributes-no-root','_bufferedOperations','document:write','unregister','metadata','listenTo','permissions','sessionId','_setPendingAction','path','realtimecollaborationclient-handleserverresponse','stopListening','map','start','sessionAdd:','toJSON','_currentBufferDelay','cloud-services-internal-error:\x20Not\x20connected.','isReadOnly','define','directChange','_compressor','position','addOperation','off'];_0x3106=function(){return _0x8bf268;};return _0x3106();}class F{[_0x297c45(0x203)];[_0x297c45(0x263)];constructor(_0x3eefa8){const _0x3235e9=_0x297c45;this[_0x3235e9(0x203)]=_0x3eefa8,this[_0x3235e9(0x263)]=new WeakMap();}[_0x297c45(0x251)](_0x438f80){const _0x206134=_0x297c45;let _0xec0853=_0x438f80[_0x206134(0x15d)];for(;_0xec0853--;){const _0x3ce445=_0x438f80[_0xec0853];if(!this[_0x206134(0x203)][_0x206134(0x1c6)](_0x3ce445)){if(!this[_0x206134(0x263)][_0x206134(0x1c6)](_0x3ce445)){const _0x470125=_0x474dfd()[_0x206134(0x160)](0x1,0x12);this[_0x206134(0x263)][_0x206134(0x185)](_0x3ce445,_0x470125);}return this[_0x206134(0x263)][_0x206134(0x190)](_0x3ce445);}}}[_0x297c45(0x187)](_0x16755e,_0x2a5e94){const _0x5cc4ce=_0x297c45;if(!_0x2a5e94)return;let _0x1568d2=_0x16755e[_0x5cc4ce(0x15d)];for(;_0x1568d2--;){const _0x379e37=_0x16755e[_0x1568d2];this[_0x5cc4ce(0x203)][_0x5cc4ce(0x1c6)](_0x379e37)||this[_0x5cc4ce(0x263)][_0x5cc4ce(0x185)](_0x379e37,_0x2a5e94);}}}
|
|
23
|
+
const _0x1c7799=_0x3e36;function _0x3e36(_0x44aee6,_0x106bdb){const _0x329d8e=_0x329d();return _0x3e36=function(_0x3e366d,_0x17e390){_0x3e366d=_0x3e366d-0x154;let _0x30b520=_0x329d8e[_0x3e366d];return _0x30b520;},_0x3e36(_0x44aee6,_0x106bdb);}(function(_0x1488b6,_0x2bf956){const _0x99882b=_0x3e36,_0x17e9e2=_0x1488b6();while(!![]){try{const _0x114115=parseInt(_0x99882b(0x1e6))/0x1*(parseInt(_0x99882b(0x200))/0x2)+-parseInt(_0x99882b(0x180))/0x3*(-parseInt(_0x99882b(0x194))/0x4)+-parseInt(_0x99882b(0x169))/0x5+-parseInt(_0x99882b(0x20e))/0x6+parseInt(_0x99882b(0x166))/0x7*(parseInt(_0x99882b(0x179))/0x8)+-parseInt(_0x99882b(0x218))/0x9*(-parseInt(_0x99882b(0x1d1))/0xa)+-parseInt(_0x99882b(0x21c))/0xb;if(_0x114115===_0x2bf956)break;else _0x17e9e2['push'](_0x17e9e2['shift']());}catch(_0x226c23){_0x17e9e2['push'](_0x17e9e2['shift']());}}}(_0x329d,0x4ba50));import{Plugin as _0x10fe59,PendingActions as _0x12731f}from'ckeditor5/src/core.js';import{CKEditorError as _0x3af072,version as _0x59d1e6,uid as _0x4ba152}from'ckeditor5/src/utils.js';import{Notification as _0x5494b3}from'ckeditor5/src/ui.js';function _0x329d(){const _0x2a80c2=['_ignoredOperations','realtimecollaborationclient-init-connection-failed','_pendingAction','_refreshUserSelectionMarkers','_crash','9820ggTqbx','Permissions','affectsData','startsWith','cloudDocumentVersion','disableReadOnlyMode','selection','rtc-offline','unregister','suppressErrorInCollaboration','_authorId','_lastSyncedOperationId','_updateServerHistory','_isInit','from','baseVersion','lastSyncVersion','_initSessionsHandling','addToReconnectionStack','_shouldSendSelectionUpdate','_decompressOperations','11153NhJPsu','_getOperationsFromInitData','getDocumentDetails','root','filter','requires','error','addRootAttribute','fromJSON','listenTo','realtimecollaborationclient-init-service-internal-error','affectedSelectable','state','map','_loadRoot','Synchronization\x20issue','channelSessions','collaboration.channelId','locale','_connectService','Notification','position','stop','document','directChange','_service','66esScvv','_isConnected','_isAttached','off','sessionCreatedAt','createUserMarkerOperations','realtimecollaborationclient-init-document-already-initialized','change:_isEditingAllowed','wasUndone','_clearPendingAction','bind','isEnabled','wereChangesApplied','define','2163210tSwSOQ','realtimecollaborationclient-init-session-connection-error','newRange','decompress','disconnect','reconnection:\x20flushed\x20session','getOperationAuthor','slice','config','markers','4788fIYRHy','editing','getConnectedSessions','loadRoot','2446499HndPjm','_knownOperations','attributes','toJSON','_fetchMissingUsers','CollaborativeEditingService','realtimecollaborationclient','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','size','data','enqueueChange','RealTimeCollaborationClient','cloud-services-internal-error:\x20Request\x20timeout.','version','batch','getUser','catch','_compressor','serverHistory','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-handleserverresponse','set','change:range','_lastServerVersion','insert','getRoot','init','offset','_hasSynchronizationProblem','targetPosition','_isPendingUpdate','_bufferedOperations','_handleSendingSelectionMarkers','currentDocumentSession','initData','isPremiumPlugin','connected','get','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.','register','cloudServices.bundleVersion','finally','createRoot','reset','_sendBufferedOperations','collaboration-missing-channelid','_hasSelectionChanged','_handleReceivedOperations','_channelId','createPositionFromPath','_disconnectService','start','_isEditingAllowed','PENDING_ACTION_SENDING_DATA','model','applyOperation','_disconnectionOperations','_sendBufferedOperationsDelayId','createPositionAt','_handleExternalOperations','apply','_handleReconnectionResponse','CommentsOnly','getMany','remove','view','_knownRootNames','rootName','lastOperationId','return','editor','move','mySessionId','message','$root','_initThrowingOnDataSet','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addOperation','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','showWarning','history','14MUlDYN','createdAt','addUser','1526370IxlhaS','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','rootsAttributes','operationsReceived','_sendBufferedOperationsDelayed','addRoot','_handleInitialConnectionData','_document','_applyOperationsSet','isReadOnly','then','_isLoaded','lastDocumentSession','code','fire','_currentBufferDelay','494152RHprAS','_bufferRootLoad','_waitUntilSynced','clone','destroy','realtimecollaborationclient-error','reconnect','93HuasZJ','cs:removeUser','stopListening','_baseBufferDelay','_getAffectedRoot','lastOperationAcceptedAt','parse','cloud-services-internal-error:\x20Not\x20connected.','404','high','_operationToId','marker','realtimecollaborationclient-init-non-existent-root','setPermissions','includes','permissions','end','add','getIdOfTheLastOperation','has','23748BZqLXT','sessionAdd:','_isDisconnection','keys','pluginName','realtimecollaborationclient-sendbufferedoperations','connect','_handleReconnectionError','isUndoneOperation','type','isDocumentOperation','metadata','change:_isPendingUpdate','userId','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.','__className','_handleServerResponse','isOfficialPlugin','rtc-destroyed','connection','forEach','_compressOperations','roots','differ','409','InsertOperation','real-time-collaboration','setIdForTheLastOperation','removeFromReconnectionStack','_saveOperationInBuffer','path','change:hasDomSelection','_addKnownRoot','_setPendingAction','length','compress','_offset','ready','getOperations','entries','push','disconnected','plugins','sessionId','document:write','sendOperations','_setUpDataInit','_operationIdentifier','_shouldSendUpdate','collaboration','createRange','enableReadOnlyMode','multi-root-editor-root-attributes-no-root','_connectAfterSessionHasBeenFlushed','string','round'];_0x329d=function(){return _0x2a80c2;};return _0x329d();}import{transformOperationSets as _0x8985f5,NoOperation as _0x379d05,InsertOperation as _0x304e12,MarkerOperation as _0x196036,RootAttributeOperation as _0x1e264f,OperationFactory as _0x5b6ba9,History as _0x276d6e}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x21506e}from'./websocketgateway.js';import{Sessions as _0x48d6c0}from'./sessions.js';import{UserMarkers as _0x4b64bd}from'./usermarkers.js';import{getTranslation as _0x1513a6}from'../common-translations.js';import{Compressor as _0xf76f5d}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1fb8a9}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0xb2772,CollaborativeEditingService as _0x11613d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x10fe59{static [_0x1c7799(0x221)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x11613d)());[_0x1c7799(0x1b8)];[_0x1c7799(0x1bf)];[_0x1c7799(0x22e)];[_0x1c7799(0x24c)];[_0x1c7799(0x1ff)];[_0x1c7799(0x170)];[_0x1c7799(0x22d)];[_0x1c7799(0x23b)];[_0x1c7799(0x21d)];[_0x1c7799(0x157)];[_0x1c7799(0x1ce)];[_0x1c7799(0x24a)];[_0x1c7799(0x255)];[_0x1c7799(0x183)];[_0x1c7799(0x178)];[_0x1c7799(0x1dc)];[_0x1c7799(0x254)];[_0x1c7799(0x1c3)];static get[_0x1c7799(0x1eb)](){return[_0x21506e,_0x48d6c0,_0x4b64bd,_0x12731f,_0x1fb8a9,_0x5494b3];}static get[_0x1c7799(0x198)](){const _0x12b855=_0x1c7799;return _0x12b855(0x227);}static get[_0x1c7799(0x1a5)](){return!0x0;}static get[_0x1c7799(0x23f)](){return!0x0;}get[_0x1c7799(0x1d5)](){const _0x4df81a=_0x1c7799;return this[_0x4df81a(0x233)]+this[_0x4df81a(0x1b8)];}get[_0x1c7799(0x233)](){const _0x5a1c47=_0x1c7799;return this[_0x5a1c47(0x22e)][_0x5a1c47(0x229)]-this[_0x5a1c47(0x1b8)];}get[_0x1c7799(0x1e1)](){const _0x399d96=_0x1c7799,_0x3bee37=this[_0x399d96(0x22e)][_0x399d96(0x1ba)]();for(let _0x514ca9=_0x3bee37[_0x399d96(0x1b6)]-0x1;_0x514ca9>=0x0;_0x514ca9--){const _0x3fb942=_0x3bee37[_0x514ca9];if(!this[_0x399d96(0x254)][_0x399d96(0x193)](_0x3fb942))return _0x3fb942[_0x399d96(0x1e0)]+0x1-this[_0x399d96(0x1b8)];}return 0x0;}constructor(_0x52aae7){const _0x5abdf8=_0x1c7799;if(super(_0x52aae7),this[_0x5abdf8(0x1b8)]=0x0,this[_0x5abdf8(0x1bf)]=null,this[_0x5abdf8(0x22e)]=new _0x276d6e(),this[_0x5abdf8(0x15b)][_0x5abdf8(0x216)][_0x5abdf8(0x20d)](_0x5abdf8(0x1c5),{}),this[_0x5abdf8(0x24c)]=this[_0x5abdf8(0x15b)][_0x5abdf8(0x216)][_0x5abdf8(0x241)](_0x5abdf8(0x1f7)),!this[_0x5abdf8(0x24c)])throw new _0x3af072(_0x5abdf8(0x249),this);const _0x47f0bb=_0x52aae7[_0x5abdf8(0x216)][_0x5abdf8(0x241)](_0x5abdf8(0x244))||_0x59d1e6;this[_0x5abdf8(0x1ff)]=new RealTimeCollaborationClient[(_0x5abdf8(0x221))](_0x47f0bb,this[_0x5abdf8(0x24c)]),this[_0x5abdf8(0x170)]=this[_0x5abdf8(0x15b)][_0x5abdf8(0x252)][_0x5abdf8(0x1fd)],this[_0x5abdf8(0x22d)]=new _0xf76f5d(),this[_0x5abdf8(0x23b)]=[],this[_0x5abdf8(0x21d)]=new WeakSet(),this[_0x5abdf8(0x157)]=new Set(),this[_0x5abdf8(0x231)](_0x5abdf8(0x23a),!0x1),this[_0x5abdf8(0x231)](_0x5abdf8(0x238),!0x1),this[_0x5abdf8(0x1ce)]=null,this[_0x5abdf8(0x24a)]=!0x1,this[_0x5abdf8(0x255)]=null,this[_0x5abdf8(0x183)]=0x12c,this[_0x5abdf8(0x178)]=this[_0x5abdf8(0x183)],this[_0x5abdf8(0x1dc)]=null,this[_0x5abdf8(0x254)]=new WeakSet(),this[_0x5abdf8(0x1c3)]=new J(this[_0x5abdf8(0x254)]);}[_0x1c7799(0x236)](){const _0x131600=_0x1c7799,_0x401883=this[_0x131600(0x15b)],_0x422ed4=_0x401883[_0x131600(0x1be)][_0x131600(0x241)](_0x1fb8a9),_0x42ae68=_0x401883[_0x131600(0x1be)][_0x131600(0x241)](_0x21506e);this[_0x131600(0x1ef)](_0x422ed4,_0x131600(0x214),(_0x2ff0a6,_0x340322)=>{const _0x545898=_0x131600,_0x181640=_0x340322[0x0];_0x181640[_0x545898(0x1db)]&&(_0x2ff0a6[_0x545898(0x15a)]=_0x422ed4[_0x545898(0x22b)](_0x181640[_0x545898(0x1db)]),_0x2ff0a6[_0x545898(0x1fc)]()),null===_0x181640[_0x545898(0x1db)]&&(_0x2ff0a6[_0x545898(0x15a)]=null,_0x2ff0a6[_0x545898(0x1fc)]());},{'priority':_0x131600(0x189)}),this[_0x131600(0x1ef)](_0x401883[_0x131600(0x252)][_0x131600(0x1fd)][_0x131600(0x1d7)],_0x131600(0x232),(_0x23e89b,_0x2a1733)=>{const _0xec2a0a=_0x131600;_0x2a1733[_0xec2a0a(0x1fe)]&&this[_0xec2a0a(0x1cf)]();}),this[_0x131600(0x1ef)](_0x401883[_0x131600(0x219)][_0x131600(0x156)],_0x131600(0x1b3),()=>{const _0x46253d=_0x131600;this[_0x46253d(0x1cf)]();}),this[_0x131600(0x160)](),_0x401883[_0x131600(0x252)]['on'](_0x131600(0x253),(_0x24a811,_0x1e5050)=>{const _0x180036=_0x131600,_0x3f1756=_0x1e5050[0x0];_0x3f1756[_0x180036(0x19e)]&&(this[_0x180036(0x1b1)](_0x3f1756),this[_0x180036(0x1c4)]()&&this[_0x180036(0x16d)]());}),this[_0x131600(0x1c2)](),this[_0x131600(0x20a)](_0x131600(0x250))['to'](_0x42ae68,_0x131600(0x1f2),this,_0x131600(0x238),(_0x472076,_0x42803f)=>_0x131600(0x240)===_0x472076&&!_0x42803f),this['on'](_0x131600(0x207),()=>{const _0x5740f=_0x131600;this[_0x5740f(0x250)]?_0x401883[_0x5740f(0x1d6)](_0x5740f(0x1d8)):_0x401883[_0x5740f(0x1c7)](_0x5740f(0x1d8));}),this[_0x131600(0x250)]?_0x401883[_0x131600(0x1d6)](_0x131600(0x1d8)):_0x401883[_0x131600(0x1c7)](_0x131600(0x1d8)),this[_0x131600(0x231)](_0x131600(0x201),!0x1);}async[_0x1c7799(0x17f)](){const _0x2a672b=_0x1c7799,_0x967a41=this[_0x2a672b(0x15b)][_0x2a672b(0x1be)][_0x2a672b(0x241)](_0x48d6c0),_0x446d12=this[_0x2a672b(0x15b)][_0x2a672b(0x1be)][_0x2a672b(0x241)](_0x21506e);try{this[_0x2a672b(0x23a)]=!0x0,_0x967a41[_0x2a672b(0x1d9)](this[_0x2a672b(0x24c)]);const _0x13a4a5=await this[_0x2a672b(0x1ff)][_0x2a672b(0x17f)](_0x446d12[_0x2a672b(0x1a7)],this[_0x2a672b(0x1e1)]);await this[_0x2a672b(0x259)](_0x13a4a5)&&(this[_0x2a672b(0x23a)]=!0x1,this[_0x2a672b(0x209)]());const _0x115593=await this[_0x2a672b(0x1ff)][_0x2a672b(0x21a)]();_0x967a41[_0x2a672b(0x243)](this[_0x2a672b(0x24c)],_0x115593),this[_0x2a672b(0x23c)](),this[_0x2a672b(0x201)]=!0x0;}catch(_0x5e6a4c){if(function(_0x1c42c3){const _0x1f0ca5=_0x2a672b;return _0x1f0ca5(0x188)===_0x1c42c3[_0x1f0ca5(0x176)];}(_0x5e6a4c)&&this[_0x2a672b(0x1bf)])await this[_0x2a672b(0x1c9)]();else{if(function(_0x216707){const _0x30c373=_0x2a672b;return _0x30c373(0x1ac)===_0x216707[_0x30c373(0x176)];}(_0x5e6a4c)){const _0x8be9dd=_0x1513a6(this[_0x2a672b(0x15b)][_0x2a672b(0x1f8)],_0x2a672b(0x223));this[_0x2a672b(0x19b)](_0x8be9dd);}else{if(!(_0x5e6a4c instanceof $))throw _0x5e6a4c;this[_0x2a672b(0x19b)]();}}}}[_0x1c7799(0x17d)](){const _0x3d564b=_0x1c7799,_0x1b590a=this[_0x3d564b(0x15b)][_0x3d564b(0x1be)][_0x3d564b(0x241)](_0x21506e),_0x5c7172=this[_0x3d564b(0x15b)][_0x3d564b(0x1be)][_0x3d564b(0x241)](_0x48d6c0);this[_0x3d564b(0x15b)][_0x3d564b(0x1c7)](_0x3d564b(0x1a6)),_0x5c7172[_0x3d564b(0x1f6)][_0x3d564b(0x193)](this[_0x3d564b(0x24c)])&&_0x5c7172[_0x3d564b(0x1d9)](this[_0x3d564b(0x24c)]),_0x1b590a[_0x3d564b(0x1b0)](this),this[_0x3d564b(0x24e)](),super[_0x3d564b(0x17d)]();}async[_0x1c7799(0x259)](_0xf15cb3){const _0x653dfa=_0x1c7799;if(this[_0x653dfa(0x1bf)]!==_0xf15cb3[_0x653dfa(0x1bf)]&&this[_0x653dfa(0x1dc)]!==_0xf15cb3[_0x653dfa(0x159)])throw new $();return this[_0x653dfa(0x1bf)]=_0xf15cb3[_0x653dfa(0x1bf)],this[_0x653dfa(0x1a4)]([],{..._0xf15cb3,'wereChangesApplied':!0x1,'data':_0xf15cb3[_0x653dfa(0x225)]},_0x653dfa(0x17f));}async[_0x1c7799(0x1f9)](_0x5b2945,_0x4ce61e=!0x1){const _0x2ae1d0=_0x1c7799,{connection:_0x59d2fc}=this[_0x2ae1d0(0x15b)][_0x2ae1d0(0x1be)][_0x2ae1d0(0x241)](_0x21506e);RealTimeCollaborationClient[_0x2ae1d0(0x221)][_0x2ae1d0(0x21a)](_0x59d2fc,this[_0x2ae1d0(0x24c)])[_0x2ae1d0(0x173)](_0x51179e=>this[_0x2ae1d0(0x1e2)](_0x51179e))[_0x2ae1d0(0x22c)](_0x2af2fd=>{const _0x229089=_0x2ae1d0;this[_0x229089(0x1d0)](_0x229089(0x20f),_0x2af2fd);}),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x16c),this[_0x2ae1d0(0x24b)][_0x2ae1d0(0x20a)](this)),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x1ec),(_0x123c35,_0x3c247f)=>{const _0x16b82e=_0x2ae1d0;this[_0x16b82e(0x1d0)](_0x16b82e(0x1f0),_0x3c247f);}),this[_0x2ae1d0(0x1ef)](this[_0x2ae1d0(0x1ff)],_0x2ae1d0(0x1bd),()=>{const _0x328de7=_0x2ae1d0;this[_0x328de7(0x201)]=!0x1;});const _0xf7f257=this[_0x2ae1d0(0x1c3)][_0x2ae1d0(0x192)](_0x5b2945);this[_0x2ae1d0(0x23a)]=!0x0;const _0x79934=await this[_0x2ae1d0(0x1ff)][_0x2ae1d0(0x19a)](_0x59d2fc,this[_0x2ae1d0(0x1a9)](_0x5b2945),_0xf7f257);if(this[_0x2ae1d0(0x1bf)]=_0x79934[_0x2ae1d0(0x1bf)],_0x4ce61e){if(!_0x79934[_0x2ae1d0(0x20c)])return void this[_0x2ae1d0(0x19b)]();this[_0x2ae1d0(0x23a)]=!0x1,this[_0x2ae1d0(0x209)](),this[_0x2ae1d0(0x22e)][_0x2ae1d0(0x247)](),this[_0x2ae1d0(0x1b8)]=_0x79934[_0x2ae1d0(0x237)],this[_0x2ae1d0(0x22e)][_0x2ae1d0(0x229)]=this[_0x2ae1d0(0x1b8)],await this[_0x2ae1d0(0x1a4)](_0x5b2945,_0x79934,_0x2ae1d0(0x213));}else await this[_0x2ae1d0(0x16f)](_0x79934,_0x5b2945);this[_0x2ae1d0(0x23c)](),this[_0x2ae1d0(0x201)]=!0x0;}[_0x1c7799(0x23c)](){const _0x435a3e=_0x1c7799,_0x1faa8e=this[_0x435a3e(0x15b)][_0x435a3e(0x1be)][_0x435a3e(0x241)](_0x48d6c0),_0x19719f=this[_0x435a3e(0x15b)][_0x435a3e(0x1be)][_0x435a3e(0x241)](_0x4b64bd),_0x542158=_0x1faa8e[_0x435a3e(0x1f6)][_0x435a3e(0x241)](this[_0x435a3e(0x24c)]);_0x542158&&_0x542158[_0x435a3e(0x1b6)]>0x1?_0x19719f[_0x435a3e(0x205)]():this[_0x435a3e(0x1ef)](_0x1faa8e,_0x435a3e(0x195)+this[_0x435a3e(0x24c)],()=>{const _0x5b0f32=_0x435a3e;0x2===_0x1faa8e[_0x5b0f32(0x1f6)][_0x5b0f32(0x241)](this[_0x5b0f32(0x24c)])[_0x5b0f32(0x1b6)]&&_0x19719f[_0x5b0f32(0x205)]();});}async[_0x1c7799(0x24b)](_0x250bab,_0x548cb2,_0x89765d,_0x1665b8){const _0x4de551=_0x1c7799;if(!this[_0x4de551(0x23a)]&&this[_0x4de551(0x170)][_0x4de551(0x229)]==_0x548cb2){const _0x409b7f=this[_0x4de551(0x1e5)](_0x89765d,_0x1665b8);await this[_0x4de551(0x220)](_0x409b7f),this[_0x4de551(0x257)](_0x409b7f,_0x548cb2,_0x89765d[_0x4de551(0x159)])||this[_0x4de551(0x1d0)](_0x4de551(0x22f));}}async[_0x1c7799(0x1c9)](){const _0x32ee17=_0x1c7799;this[_0x32ee17(0x24e)]();const {locale:_0x15c105}=this[_0x32ee17(0x15b)];let _0x21ba83;try{_0x21ba83=await this[_0x32ee17(0x1ff)][_0x32ee17(0x1e8)]();}catch{const _0x1d7dd7=_0x1513a6(_0x15c105,_0x32ee17(0x161));return void this[_0x32ee17(0x19b)](_0x1d7dd7);}const _0x207c05=_0x21ba83[_0x32ee17(0x23d)]||_0x21ba83[_0x32ee17(0x175)];if(this[_0x32ee17(0x1dc)]!==_0x207c05[_0x32ee17(0x159)]){const _0x1bb9fc=_0x1513a6(_0x15c105,_0x32ee17(0x1a2));return void this[_0x32ee17(0x19b)](_0x1bb9fc);}await this[_0x32ee17(0x1f9)](this[_0x32ee17(0x15b)][_0x32ee17(0x252)][_0x32ee17(0x1fd)][_0x32ee17(0x165)][_0x32ee17(0x1ba)](),!0x0);}[_0x1c7799(0x24e)](){const _0x413f79=_0x1c7799;this[_0x413f79(0x1ff)][_0x413f79(0x212)](),this[_0x413f79(0x23b)]=[],clearTimeout(this[_0x413f79(0x255)]),this[_0x413f79(0x182)](this[_0x413f79(0x1ff)]);}[_0x1c7799(0x1e2)](_0x1197e1){const _0x2def6f=_0x1c7799,_0x17a7c7=this[_0x2def6f(0x15b)][_0x2def6f(0x1be)][_0x2def6f(0x241)](_0x48d6c0);this[_0x2def6f(0x1ef)](_0x17a7c7,_0x2def6f(0x195)+this[_0x2def6f(0x24c)],(_0x1a10bc,{session:_0x58b224})=>{const _0x198814=_0x2def6f;if(_0x58b224['id']===_0x17a7c7[_0x198814(0x15d)]){_0x1a10bc[_0x198814(0x203)]();const _0x15700e=this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x193)](_0x198814(0x25a))&&this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x241)](_0x198814(0x25a));let _0x6d9ff8=_0x58b224[_0x198814(0x18f)];_0x15700e&&_0x15700e[_0x198814(0x20b)]&&(_0x6d9ff8=_0x6d9ff8[_0x198814(0x1ea)](_0x8418d0=>_0x198814(0x1c0)!==_0x8418d0)),this[_0x198814(0x15b)][_0x198814(0x1be)][_0x198814(0x241)](_0x198814(0x1d2))[_0x198814(0x18d)](_0x6d9ff8,this[_0x198814(0x24c)]);}}),_0x17a7c7[_0x2def6f(0x243)](this[_0x2def6f(0x24c)],_0x1197e1);}[_0x1c7799(0x160)](){const _0x297623=_0x1c7799,_0x299a28=this[_0x297623(0x15b)][_0x297623(0x225)][_0x297623(0x231)];this[_0x297623(0x15b)][_0x297623(0x225)][_0x297623(0x231)]=(..._0x12166b)=>{const _0x3ace01=_0x297623;if(!_0x12166b[_0x12166b[_0x3ace01(0x1b6)]-0x1][_0x3ace01(0x1da)])throw new _0x3af072(_0x3ace01(0x163),this);_0x299a28[_0x3ace01(0x258)](this[_0x3ace01(0x15b)][_0x3ace01(0x225)],_0x12166b);};}[_0x1c7799(0x1c2)](){const _0x507391=_0x1c7799;this[_0x507391(0x15b)][_0x507391(0x225)]['on'](_0x507391(0x236),(_0x13ffb7,[_0x3c78f4])=>{const _0xafe661=_0x507391;if(this[_0xafe661(0x170)][_0xafe661(0x229)])throw new _0x3af072(_0xafe661(0x206),this);_0x13ffb7[_0xafe661(0x1fc)](),this[_0xafe661(0x1b5)]();const _0x14520d=this[_0xafe661(0x15b)][_0xafe661(0x216)][_0xafe661(0x241)](_0xafe661(0x16b)),_0xcf3e2c=this[_0xafe661(0x1e7)](_0x3c78f4,_0x14520d);0x0==_0xcf3e2c[_0xafe661(0x1b6)]&&_0xcf3e2c[_0xafe661(0x1bc)](new _0x379d05(0x0)),_0x13ffb7[_0xafe661(0x15a)]=this[_0xafe661(0x1f9)](_0xcf3e2c)[_0xafe661(0x173)](()=>{const _0x233281=_0xafe661;this[_0x233281(0x15b)][_0x233281(0x1be)][_0x233281(0x241)](_0x21506e)[_0x233281(0x1e3)](this),this[_0x233281(0x15b)][_0x233281(0x225)][_0x233281(0x177)](_0x233281(0x1b9));})[_0xafe661(0x22c)](_0xb00d9a=>this[_0xafe661(0x1d0)](_0xafe661(0x1cd),_0xb00d9a))[_0xafe661(0x245)](()=>this[_0xafe661(0x209)]());},{'priority':_0x507391(0x189)}),this[_0x507391(0x15b)]['on'](_0x507391(0x21b),async(_0x4b55eb,[_0x1a700e,_0x5f0ae7])=>{const _0x450d9c=_0x507391;_0x4b55eb[_0x450d9c(0x1fc)]();const _0x592f1f=this[_0x450d9c(0x15b)][_0x450d9c(0x252)][_0x450d9c(0x1fd)][_0x450d9c(0x235)](_0x1a700e);if(!this[_0x450d9c(0x157)][_0x450d9c(0x193)](_0x1a700e)){const _0x2cfeda=_0x5f0ae7&&_0x5f0ae7[_0x450d9c(0x225)]?_0x5f0ae7[_0x450d9c(0x225)]:'',_0x3d5286=_0x5f0ae7&&_0x5f0ae7[_0x450d9c(0x21e)]?_0x5f0ae7[_0x450d9c(0x21e)]:{};await this[_0x450d9c(0x1f4)](_0x1a700e,_0x2cfeda,_0x3d5286);}this[_0x450d9c(0x15b)][_0x450d9c(0x252)][_0x450d9c(0x226)]({'isUndoable':!0x1},()=>{const _0x185818=_0x450d9c;_0x592f1f[_0x185818(0x174)]=!0x0,this[_0x185818(0x15b)][_0x185818(0x252)][_0x185818(0x1fd)][_0x185818(0x1ab)][_0x185818(0x17a)](_0x592f1f);});},{'priority':_0x507391(0x189)});}async[_0x1c7799(0x220)](_0x1dfe7a){const _0x58716f=_0x1c7799,_0x30d827=this[_0x58716f(0x15b)][_0x58716f(0x1be)][_0x58716f(0x241)](_0x1fb8a9),{connection:_0x23cf1b}=this[_0x58716f(0x15b)][_0x58716f(0x1be)][_0x58716f(0x241)](_0x21506e),_0x4c7a98=new Set();for(const _0xa9dba6 of _0x1dfe7a){const _0x22cdec=_0xa9dba6[_0x58716f(0x1db)];_0x22cdec&&!_0x30d827[_0x58716f(0x22b)](_0x22cdec)&&_0x4c7a98[_0x58716f(0x191)](_0x22cdec);}if(0x0===_0x4c7a98[_0x58716f(0x224)])return;const _0x5222a2=await _0xb2772[_0x58716f(0x154)](_0x23cf1b,Array[_0x58716f(0x1df)](_0x4c7a98));for(const _0x2c5f11 of _0x5222a2)_0x30d827[_0x58716f(0x22b)](_0x2c5f11['id'])||_0x30d827[_0x58716f(0x168)](_0x2c5f11);}[_0x1c7799(0x1e7)](_0x3fb965,_0x45c69d={}){const _0x56c72e=_0x1c7799,_0x436fbe=this[_0x56c72e(0x15b)][_0x56c72e(0x252)],_0x4bf7f1=[];let _0x2a2b2f=0x0;const _0x487d62=_0x56c72e(0x1ca)==typeof _0x3fb965?{'main':_0x3fb965}:_0x3fb965;for(const _0x25ca53 of Object[_0x56c72e(0x197)](_0x487d62)){if(!this[_0x56c72e(0x170)][_0x56c72e(0x1aa)][_0x56c72e(0x193)](_0x25ca53))throw new _0x3af072(_0x56c72e(0x18c),this);const _0x2ce783=this[_0x56c72e(0x15b)][_0x56c72e(0x225)][_0x56c72e(0x186)](_0x487d62[_0x25ca53]),_0x5b9e32=this[_0x56c72e(0x170)][_0x56c72e(0x235)](_0x25ca53),_0x1bbbd3=new _0x304e12(_0x436fbe[_0x56c72e(0x256)](_0x5b9e32,0x0),_0x2ce783,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x1bbbd3);for(const [_0x51a2c9,_0x29d2aa]of _0x2ce783[_0x56c72e(0x217)]){const _0x1ccf5c=_0x436fbe[_0x56c72e(0x1c6)](_0x436fbe[_0x56c72e(0x24d)](_0x5b9e32,_0x29d2aa[_0x56c72e(0x24f)][_0x56c72e(0x1b2)][_0x56c72e(0x215)]()),_0x436fbe[_0x56c72e(0x24d)](_0x5b9e32,_0x29d2aa[_0x56c72e(0x190)][_0x56c72e(0x1b2)][_0x56c72e(0x215)]())),_0x293b5d=new _0x196036(_0x51a2c9,null,_0x1ccf5c,_0x436fbe[_0x56c72e(0x217)],!0x0,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x293b5d);}}if(_0x45c69d)for(const [_0x46d681,_0x31c184]of Object[_0x56c72e(0x1bb)](_0x45c69d)){const _0x357207=_0x436fbe[_0x56c72e(0x1fd)][_0x56c72e(0x235)](_0x46d681);if(!_0x357207)throw new _0x3af072(_0x56c72e(0x1c8),null);for(const [_0x22392e,_0xffb429]of Object[_0x56c72e(0x1bb)](_0x31c184))if(null!==_0xffb429){const _0x880a59=new _0x1e264f(_0x357207,_0x22392e,null,_0xffb429,_0x2a2b2f++);_0x4bf7f1[_0x56c72e(0x1bc)](_0x880a59);}}return _0x4bf7f1;}async[_0x1c7799(0x1f4)](_0x1c28a6,_0xd2f3fe,_0x24246e){const _0x2f2873=_0x1c7799;this[_0x2f2873(0x1e7)]({[_0x1c28a6]:_0xd2f3fe},{[_0x1c28a6]:_0x24246e})[_0x2f2873(0x1a8)]((_0x470cdc,_0x20a5dc)=>{const _0x5c6f8f=_0x2f2873;_0x470cdc[_0x5c6f8f(0x1e0)]=this[_0x5c6f8f(0x170)][_0x5c6f8f(0x229)]+_0x20a5dc,_0x470cdc[_0x5c6f8f(0x1de)]=!0x0,this[_0x5c6f8f(0x1b1)](_0x470cdc);}),this[_0x2f2873(0x16d)](),await this[_0x2f2873(0x17b)]();}async[_0x1c7799(0x16f)](_0x66062a,_0x225766){const _0x4bb44a=_0x1c7799;let _0xfbe1db;this[_0x4bb44a(0x1b8)]=_0x66062a[_0x4bb44a(0x237)];const _0x4be425=_0x66062a[_0x4bb44a(0x20c)]&&!_0x66062a[_0x4bb44a(0x23e)],_0x238f53=_0x4be425?0x0:_0x66062a[_0x4bb44a(0x225)][_0x4bb44a(0x1e0)];if(_0x225766[_0x4bb44a(0x1a8)](_0x1b65ef=>{const _0x5c5cc2=_0x4bb44a;_0x1b65ef[_0x5c5cc2(0x1de)]=!0x0,_0x1b65ef[_0x5c5cc2(0x167)]=_0x66062a[_0x5c5cc2(0x204)],_0x1b65ef[_0x5c5cc2(0x1db)]=null;}),_0x4be425)_0xfbe1db=_0x225766,this[_0x4bb44a(0x171)](_0xfbe1db,_0x4be425);else{if(_0x66062a[_0x4bb44a(0x23e)]){const _0x1103f1=this[_0x4bb44a(0x1e7)](_0x66062a[_0x4bb44a(0x23e)]);this[_0x4bb44a(0x170)][_0x4bb44a(0x165)][_0x4bb44a(0x229)]=-_0x1103f1[_0x4bb44a(0x1b6)],_0x1103f1[_0x4bb44a(0x1a8)](_0x13f2bc=>{const _0x257002=_0x4bb44a;_0x13f2bc[_0x257002(0x1e0)]-=_0x1103f1[_0x257002(0x1b6)],_0x13f2bc[_0x257002(0x167)]=_0x66062a[_0x257002(0x204)],_0x13f2bc[_0x257002(0x1de)]=!0x0,_0x13f2bc[_0x257002(0x1db)]=null;}),this[_0x4bb44a(0x171)](_0x1103f1,!0x0),this[_0x4bb44a(0x22e)][_0x4bb44a(0x229)]=-_0x1103f1[_0x4bb44a(0x1b6)]+this[_0x4bb44a(0x1b8)],this[_0x4bb44a(0x1dd)](_0x1103f1);}this[_0x4bb44a(0x170)][_0x4bb44a(0x165)][_0x4bb44a(0x229)]=_0x238f53,_0xfbe1db=this[_0x4bb44a(0x1e5)](_0x66062a[_0x4bb44a(0x225)],_0x66062a[_0x4bb44a(0x19f)]),await this[_0x4bb44a(0x220)](_0xfbe1db),this[_0x4bb44a(0x171)](_0xfbe1db,_0x4be425);}_0x66062a[_0x4bb44a(0x159)]&&(this[_0x4bb44a(0x1c3)][_0x4bb44a(0x1af)](_0xfbe1db,_0x66062a[_0x4bb44a(0x159)]),this[_0x4bb44a(0x1dc)]=_0x66062a[_0x4bb44a(0x159)]),this[_0x4bb44a(0x22e)][_0x4bb44a(0x229)]=_0x238f53+this[_0x4bb44a(0x1b8)],this[_0x4bb44a(0x1dd)](_0xfbe1db),_0x225766[_0x4bb44a(0x1ea)](_0x466cef=>{const _0x22057b=_0x4bb44a,_0x5569bf=this[_0x22057b(0x184)](_0x466cef);return _0x5569bf&&!this[_0x22057b(0x157)][_0x22057b(0x193)](_0x5569bf);})[_0x4bb44a(0x1a8)]((_0x1f47a3,_0x4a35b6)=>{const _0x385dae=_0x4bb44a;_0x1f47a3[_0x385dae(0x1e0)]=this[_0x385dae(0x170)][_0x385dae(0x229)]+_0x4a35b6,this[_0x385dae(0x1b1)](_0x1f47a3);}),this[_0x4bb44a(0x1c4)]()?(this[_0x4bb44a(0x178)]=0x0,this[_0x4bb44a(0x16d)](!0x0),await this[_0x4bb44a(0x17b)]()):(this[_0x4bb44a(0x23a)]=!0x1,this[_0x4bb44a(0x209)]());}[_0x1c7799(0x1d0)](_0x2d6cae,_0x2d5e7a){const _0x47d4a3=_0x1c7799,_0x3ca6ec=_0x2d5e7a&&_0x2d5e7a[_0x47d4a3(0x15e)];if(_0x3ca6ec&&_0x3ca6ec[_0x47d4a3(0x1d4)](_0x47d4a3(0x222)))throw _0x2d5e7a;const _0x5c491e=this[_0x47d4a3(0x15b)][_0x47d4a3(0x1be)][_0x47d4a3(0x241)](_0x21506e);throw this[_0x47d4a3(0x23a)]=!0x0,_0x5c491e[_0x47d4a3(0x212)](),this[_0x47d4a3(0x15b)][_0x47d4a3(0x1c7)](_0x47d4a3(0x17e)),new _0x3af072(_0x2d6cae,this[_0x47d4a3(0x15b)],_0x3ca6ec?{'originalError':_0x3ca6ec}:void 0x0);}[_0x1c7799(0x1b1)](_0x1d5648){const _0x148c45=_0x1c7799;this[_0x148c45(0x21d)][_0x148c45(0x193)](_0x1d5648)||(this[_0x148c45(0x21d)][_0x148c45(0x191)](_0x1d5648),this[_0x148c45(0x23b)][_0x148c45(0x1bc)](_0x1d5648),this[_0x148c45(0x1ce)]||_0x148c45(0x18b)==_0x1d5648[_0x148c45(0x19d)]&&!_0x1d5648[_0x148c45(0x1d3)]||this[_0x148c45(0x1b5)]());}[_0x1c7799(0x16d)](_0x34157b=!0x1){const _0x3d3214=_0x1c7799;!_0x34157b&&this[_0x3d3214(0x23a)]||(this[_0x3d3214(0x23a)]=!0x0,clearTimeout(this[_0x3d3214(0x255)]),this[_0x3d3214(0x255)]=setTimeout(()=>{const _0x5aa2c9=_0x3d3214;this[_0x5aa2c9(0x248)]()[_0x5aa2c9(0x173)](_0x540dc2=>{const _0x1cccc3=_0x5aa2c9;_0x540dc2&&(this[_0x1cccc3(0x209)](),this[_0x1cccc3(0x23a)]=!0x1);})[_0x5aa2c9(0x22c)](_0x188987=>{const _0x131cfa=_0x5aa2c9;this[_0x131cfa(0x209)](),this[_0x131cfa(0x23a)]=!0x1,function(_0x56c29c){const _0x274ddc=_0x131cfa;return _0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x187))||_0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x16a))||_0x56c29c[_0x274ddc(0x15e)][_0x274ddc(0x1d4)](_0x274ddc(0x228));}(_0x188987)||this[_0x131cfa(0x1d0)](_0x188987[_0x131cfa(0x15e)],_0x188987);});},this[_0x3d3214(0x178)]));}[_0x1c7799(0x17b)](){return new Promise(_0x1fe0ba=>{const _0x4b3be4=_0x3e36;this['on'](_0x4b3be4(0x1a0),()=>{_0x1fe0ba();});});}async[_0x1c7799(0x248)](){const _0x10fff6=_0x1c7799,_0x53a5ec=this[_0x10fff6(0x15b)][_0x10fff6(0x1be)][_0x10fff6(0x241)](_0x4b64bd);if(this[_0x10fff6(0x1e4)]()&&(_0x53a5ec[_0x10fff6(0x205)](),this[_0x10fff6(0x24a)]=!0x1),!this[_0x10fff6(0x1c4)]())return!0x0;const _0x855f31=[...this[_0x10fff6(0x23b)]];for(const _0x42e0e7 of _0x855f31)_0x42e0e7[_0x10fff6(0x208)]=this[_0x10fff6(0x170)][_0x10fff6(0x165)][_0x10fff6(0x19c)](_0x42e0e7);const _0x145a60=this[_0x10fff6(0x1c3)][_0x10fff6(0x192)](_0x855f31),_0x3a10f1=G++,_0x589a73=this[_0x10fff6(0x1a9)](_0x855f31),_0x491c8c=await this[_0x10fff6(0x1ff)][_0x10fff6(0x1c1)](_0x589a73,_0x589a73[_0x10fff6(0x1e0)],_0x145a60);try{return await this[_0x10fff6(0x1a4)](_0x855f31,_0x491c8c,_0x3a10f1);}catch(_0xc05604){return this[_0x10fff6(0x1d0)](_0x10fff6(0x199),_0xc05604);}}async[_0x1c7799(0x1a4)](_0x8ea758,_0xa5e2cf,_0x415057){const _0x5bd372=_0x1c7799;if(_0x5bd372(0x1ec)in _0xa5e2cf)throw _0xa5e2cf[_0x5bd372(0x1ec)];let _0x1c685d=!0x1;if(_0xa5e2cf[_0x5bd372(0x20c)]){_0xa5e2cf[_0x5bd372(0x159)]&&(this[_0x5bd372(0x1dc)]=_0xa5e2cf[_0x5bd372(0x159)]),this[_0x5bd372(0x23b)]=this[_0x5bd372(0x23b)][_0x5bd372(0x1ea)](_0x206cc6=>!_0x8ea758[_0x5bd372(0x18e)](_0x206cc6));for(const _0x548177 of _0x8ea758)_0x548177[_0x5bd372(0x167)]=_0x5bd372(0x185)in _0xa5e2cf&&_0xa5e2cf[_0x5bd372(0x185)]||void 0x0;K(_0x8ea758,_0xa5e2cf[_0x5bd372(0x229)]-_0x8ea758[_0x5bd372(0x1b6)]),this[_0x5bd372(0x1dd)](_0x8ea758);const _0x378851=_0x8ea758[_0x5bd372(0x1ea)](_0xf6951e=>{const _0x5f3ed4=_0x5bd372;if(!_0xf6951e[_0x5f3ed4(0x1de)])return!0x1;const _0x52de88=this[_0x5f3ed4(0x184)](_0xf6951e);return _0x52de88&&!this[_0x5f3ed4(0x157)][_0x5f3ed4(0x193)](_0x52de88);});K(_0x378851,this[_0x5bd372(0x170)][_0x5bd372(0x229)]),this[_0x5bd372(0x171)](_0x378851),_0x1c685d=!0x0,this[_0x5bd372(0x178)]=this[_0x5bd372(0x183)];}else{const _0x32da26=this[_0x5bd372(0x1e5)](_0xa5e2cf[_0x5bd372(0x225)],_0xa5e2cf[_0x5bd372(0x19f)])[_0x5bd372(0x1ea)](_0x1e2d44=>_0x1e2d44[_0x5bd372(0x1e0)]>=this[_0x5bd372(0x233)]);_0x32da26[_0x5bd372(0x1a8)](_0x1ffa21=>this[_0x5bd372(0x1b4)](_0x1ffa21)),this[_0x5bd372(0x23b)]=this[_0x5bd372(0x23b)][_0x5bd372(0x1ea)](_0x23022b=>!_0x23022b[_0x5bd372(0x1de)]||!this[_0x5bd372(0x157)][_0x5bd372(0x193)](this[_0x5bd372(0x184)](_0x23022b))),this[_0x5bd372(0x23b)][_0x5bd372(0x1b6)]&&K(this[_0x5bd372(0x23b)],this[_0x5bd372(0x23b)][0x0][_0x5bd372(0x1e0)]),await this[_0x5bd372(0x220)](_0x32da26),_0x1c685d=this[_0x5bd372(0x257)](_0x32da26,_0xa5e2cf[_0x5bd372(0x229)],_0xa5e2cf[_0x5bd372(0x159)]),this[_0x5bd372(0x178)]=Math[_0x5bd372(0x1cb)](this[_0x5bd372(0x178)]/0x2);}return _0x1c685d?!this[_0x5bd372(0x1c4)]()||(this[_0x5bd372(0x16d)](!0x0),!0x1):this[_0x5bd372(0x1d0)](_0x5bd372(0x230));}[_0x1c7799(0x257)](_0x2661ba,_0x68adde,_0x5b0e2d){const _0x14c5e4=_0x1c7799;try{const _0x3da733={'document':this[_0x14c5e4(0x170)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x280b4c,operationsB:_0x1082c4,originalOperations:_0x15e3fd}=_0x8985f5(_0x2661ba,this[_0x14c5e4(0x23b)],_0x3da733);K(_0x280b4c,this[_0x14c5e4(0x170)][_0x14c5e4(0x229)]),K(_0x1082c4,_0x68adde);for(const _0xbe16f3 of _0x280b4c){const _0xcf0561=_0x15e3fd[_0x14c5e4(0x241)](_0xbe16f3);_0xbe16f3[_0x14c5e4(0x1db)]=_0xcf0561?_0xcf0561[_0x14c5e4(0x1db)]:null;}_0x5b0e2d&&(this[_0x14c5e4(0x1c3)][_0x14c5e4(0x1af)](_0x2661ba,_0x5b0e2d),this[_0x14c5e4(0x1dc)]=_0x5b0e2d),this[_0x14c5e4(0x23b)]=[..._0x1082c4],this[_0x14c5e4(0x171)](_0x280b4c),this[_0x14c5e4(0x1dd)](_0x2661ba);}catch(_0xcb838a){return console[_0x14c5e4(0x1ec)](_0xcb838a),!0x1;}return!0x0;}[_0x1c7799(0x171)](_0x2f8a48,_0x3a1025=!0x1){const _0x104253=_0x1c7799;this[_0x104253(0x15b)][_0x104253(0x252)][_0x104253(0x226)]({'isUndoable':!0x1,'isLocal':!0x1},_0x28522c=>{const _0x192541=_0x104253;for(const _0xa6e39b of _0x2f8a48)this[_0x192541(0x21d)][_0x192541(0x191)](_0xa6e39b),this[_0x192541(0x1b4)](_0xa6e39b),_0x28522c[_0x192541(0x22a)][_0x192541(0x162)](_0xa6e39b),this[_0x192541(0x15b)][_0x192541(0x252)][_0x192541(0x253)](_0xa6e39b);});}[_0x1c7799(0x1b4)](_0x299276){const _0x262266=_0x1c7799,_0x3edd86=this[_0x262266(0x184)](_0x299276);_0x3edd86&&this[_0x262266(0x157)][_0x262266(0x191)](_0x3edd86);}[_0x1c7799(0x184)](_0x113fed){const _0x2d881f=_0x1c7799;let _0x4065d5,_0x3546be;switch(_0x113fed[_0x2d881f(0x19d)]){case _0x2d881f(0x234):_0x4065d5=_0x113fed[_0x2d881f(0x1fb)][_0x2d881f(0x1e9)];break;case _0x2d881f(0x18b):if(_0x3546be=_0x113fed[_0x2d881f(0x210)],!_0x3546be)return null;_0x4065d5=_0x3546be[_0x2d881f(0x1e9)];break;case _0x2d881f(0x1ed):_0x4065d5=_0x113fed[_0x2d881f(0x1e9)];break;case _0x2d881f(0x16e):_0x4065d5=_0x113fed[_0x2d881f(0x1f1)];break;case _0x2d881f(0x15c):_0x4065d5=_0x113fed[_0x2d881f(0x239)][_0x2d881f(0x1e9)];break;default:return null;}return _0x4065d5[_0x2d881f(0x158)];}[_0x1c7799(0x1dd)](_0xf11dec){const _0x8a462a=_0x1c7799;_0xf11dec[_0x8a462a(0x1a8)](_0x4dfa99=>{const _0x3d5fac=_0x8a462a,_0x510ed1=_0x4dfa99[_0x3d5fac(0x17c)]();_0x510ed1[_0x3d5fac(0x1db)]=_0x4dfa99[_0x3d5fac(0x1db)],_0x510ed1[_0x3d5fac(0x1de)]=!!_0x4dfa99[_0x3d5fac(0x1de)],_0x510ed1[_0x3d5fac(0x167)]=_0x4dfa99[_0x3d5fac(0x167)],_0x510ed1[_0x3d5fac(0x1e0)]+=this[_0x3d5fac(0x1b8)],_0x4dfa99[_0x3d5fac(0x196)]&&this[_0x3d5fac(0x254)][_0x3d5fac(0x191)](_0x510ed1),this[_0x3d5fac(0x22e)][_0x3d5fac(0x162)](_0x510ed1);});}[_0x1c7799(0x19b)](_0x5e8602){const _0xa07f01=_0x1c7799,_0x30ef05=this[_0xa07f01(0x15b)][_0xa07f01(0x1be)][_0xa07f01(0x241)](_0xa07f01(0x1fa)),_0x492e3f=this[_0xa07f01(0x15b)][_0xa07f01(0x1f8)];_0x5e8602||(_0x5e8602=_0x1513a6(_0x492e3f,_0xa07f01(0x242))),_0x30ef05[_0xa07f01(0x164)](_0x5e8602,{'title':_0x1513a6(_0x492e3f,_0xa07f01(0x1f5)),'namespace':_0xa07f01(0x1ae)}),this[_0xa07f01(0x238)]=!0x0,clearTimeout(this[_0xa07f01(0x255)]),this[_0xa07f01(0x23b)]=[],this[_0xa07f01(0x15b)][_0xa07f01(0x1be)][_0xa07f01(0x241)](_0x21506e)[_0xa07f01(0x212)]();}[_0x1c7799(0x1b5)](){const _0x2b9ce6=_0x1c7799;this[_0x2b9ce6(0x1ce)]||(this[_0x2b9ce6(0x1ce)]=this[_0x2b9ce6(0x15b)][_0x2b9ce6(0x1be)][_0x2b9ce6(0x241)](_0x12731f)[_0x2b9ce6(0x191)](_0x1513a6(this[_0x2b9ce6(0x15b)][_0x2b9ce6(0x1f8)],_0x2b9ce6(0x251))));}[_0x1c7799(0x209)](){const _0x3e6a97=_0x1c7799;this[_0x3e6a97(0x1ce)]&&(this[_0x3e6a97(0x15b)][_0x3e6a97(0x1be)][_0x3e6a97(0x241)](_0x12731f)[_0x3e6a97(0x155)](this[_0x3e6a97(0x1ce)]),this[_0x3e6a97(0x1ce)]=null);}[_0x1c7799(0x1a9)](_0x79d51b){const _0x473ecc=_0x1c7799,_0x3e42cf=_0x79d51b[_0x473ecc(0x1f3)](_0x263368=>_0x263368[_0x473ecc(0x21f)]());return this[_0x473ecc(0x22d)][_0x473ecc(0x1b7)](_0x3e42cf);}[_0x1c7799(0x1e5)](_0x531e9f,_0x473df2){const _0x5392a4=_0x1c7799;return this[_0x5392a4(0x22d)][_0x5392a4(0x211)](_0x531e9f)[_0x5392a4(0x1f3)]((_0x5c37f2,_0x3e3c2f)=>{const _0x22d069=_0x5392a4,_0x2f596b=_0x22d069(0x236)==_0x473df2[_0x3e3c2f][_0x22d069(0x19d)];if(_0x22d069(0x1ad)==_0x5c37f2[_0x22d069(0x1a3)]){const _0x59cc28=_0x5c37f2[_0x22d069(0x1fb)][_0x22d069(0x1e9)];!this[_0x22d069(0x170)][_0x22d069(0x235)](_0x59cc28)&&(this[_0x22d069(0x170)][_0x22d069(0x246)](_0x22d069(0x15f),_0x59cc28)[_0x22d069(0x202)]=!0x1);}const _0x7fa1b=_0x5b6ba9[_0x22d069(0x1ee)](_0x5c37f2,this[_0x22d069(0x170)]);return _0x7fa1b[_0x22d069(0x208)]=_0x5c37f2[_0x22d069(0x208)],_0x7fa1b[_0x22d069(0x1de)]=_0x2f596b,_0x7fa1b[_0x22d069(0x1db)]=_0x2f596b?null:_0x473df2[_0x3e3c2f][_0x22d069(0x1a1)],_0x7fa1b[_0x22d069(0x196)]=_0x22d069(0x181)===_0x473df2[_0x3e3c2f][_0x22d069(0x19d)],_0x7fa1b[_0x22d069(0x167)]=_0x473df2[_0x3e3c2f][_0x22d069(0x167)],_0x7fa1b;});}[_0x1c7799(0x1cf)](){const _0x1493cd=_0x1c7799;this[_0x1493cd(0x24a)]=!0x0,this[_0x1493cd(0x1e4)]()?this[_0x1493cd(0x16d)]():this[_0x1493cd(0x24a)]=!0x1;}[_0x1c7799(0x1e4)](){const _0x17b150=_0x1c7799,_0x597a3f=this[_0x17b150(0x15b)][_0x17b150(0x1be)][_0x17b150(0x241)](_0x48d6c0)[_0x17b150(0x1f6)][_0x17b150(0x241)](this[_0x17b150(0x24c)]);return!this[_0x17b150(0x15b)][_0x17b150(0x172)]&&!!_0x597a3f&&_0x597a3f[_0x17b150(0x1b6)]>0x1&&this[_0x17b150(0x24a)];}[_0x1c7799(0x1c4)](){const _0x473b2b=_0x1c7799;return this[_0x473b2b(0x23b)][_0x473b2b(0x1b6)]>0x0||this[_0x473b2b(0x1e4)]();}}class $ extends Error{}function K(_0x29ad10,_0x54d70c){const _0xdeb9=_0x1c7799;for(const _0x53ad46 of _0x29ad10)_0x53ad46[_0xdeb9(0x1e0)]=_0x54d70c++;}class J{[_0x1c7799(0x1cc)];[_0x1c7799(0x18a)];constructor(_0x535de8){const _0x4c720a=_0x1c7799;this[_0x4c720a(0x1cc)]=_0x535de8,this[_0x4c720a(0x18a)]=new WeakMap();}[_0x1c7799(0x192)](_0xf86265){const _0x268351=_0x1c7799;let _0x18b2b5=_0xf86265[_0x268351(0x1b6)];for(;_0x18b2b5--;){const _0x3f8273=_0xf86265[_0x18b2b5];if(!this[_0x268351(0x1cc)][_0x268351(0x193)](_0x3f8273)){if(!this[_0x268351(0x18a)][_0x268351(0x193)](_0x3f8273)){const _0xc54955=_0x4ba152()[_0x268351(0x215)](0x1,0x12);this[_0x268351(0x18a)][_0x268351(0x231)](_0x3f8273,_0xc54955);}return this[_0x268351(0x18a)][_0x268351(0x241)](_0x3f8273);}}}[_0x1c7799(0x1af)](_0x271ed3,_0x135b17){const _0x2baa8d=_0x1c7799;if(!_0x135b17)return;let _0x3f411f=_0x271ed3[_0x2baa8d(0x1b6)];for(;_0x3f411f--;){const _0x4a4dc8=_0x271ed3[_0x3f411f];this[_0x2baa8d(0x1cc)][_0x2baa8d(0x193)](_0x4a4dc8)||this[_0x2baa8d(0x18a)][_0x2baa8d(0x231)](_0x4a4dc8,_0x135b17);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5b1e56=_0x3f1c;(function(_0x14bc8c,_0x4d2c21){const _0x1aac46=_0x3f1c,_0x10c4b1=_0x14bc8c();while(!![]){try{const _0xb72a9d=-parseInt(_0x1aac46(0x218))/0x1+parseInt(_0x1aac46(0x223))/0x2*(-parseInt(_0x1aac46(0x224))/0x3)+-parseInt(_0x1aac46(0x211))/0x4*(-parseInt(_0x1aac46(0x20a))/0x5)+parseInt(_0x1aac46(0x216))/0x6*(-parseInt(_0x1aac46(0x1fd))/0x7)+parseInt(_0x1aac46(0x1fb))/0x8*(parseInt(_0x1aac46(0x1f6))/0x9)+-parseInt(_0x1aac46(0x1fa))/0xa+parseInt(_0x1aac46(0x21f))/0xb*(parseInt(_0x1aac46(0x1f3))/0xc);if(_0xb72a9d===_0x4d2c21)break;else _0x10c4b1['push'](_0x10c4b1['shift']());}catch(_0x140ae0){_0x10c4b1['push'](_0x10c4b1['shift']());}}}(_0x1a4b,0x41d59));import{ContextPlugin as _0x3036d7}from'ckeditor5/src/core.js';function _0x1a4b(){const _0x17efd0=['orderNumber','plugins','channelConnectedUsers','fire','sessionId','getUserBySessionId','_createUser','has','assign','14412HpkChh','mySessionId','channelSessions','54072eFgdzw','connection','set','pluginName','3231090GmnucB','120BPzaLm','requires','7mIkNNT','add','listenTo','_users','_handleSessionRemove','_registeredSessions','sessionAdd:','stopListening','remove','context','unregister','values','isPremiumPlugin','5EnsLUi','size','isMe','Sessions','clear','_uniqueUsersCount','getUser','2140104MaMPLB','getUserRole','getUserSessions','addUser','role','2231748EqfzCk','defineMe','355145tCfKHM','sessions-unregister-not-exist','register','sessions-register-already-registered','delete','change:state','hiddenInPresenceList','9713RBbTDO','connected','get','allConnectedUsers','18288sTrvwO','120zqDYIH','_handleSessionAdd','state','user','init','forEach','isOfficialPlugin'];_0x1a4b=function(){return _0x17efd0;};return _0x1a4b();}import{Collection as _0x14092a,CKEditorError as _0xfe9745}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0xc69c96}from'./websocketgateway.js';import{Users as _0x575d13}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x3f1c(_0xd82b3a,_0x334a9b){const _0x1a4b12=_0x1a4b();return _0x3f1c=function(_0x3f1ca7,_0x3aaeec){_0x3f1ca7=_0x3f1ca7-0x1f1;let _0x51dd34=_0x1a4b12[_0x3f1ca7];return _0x51dd34;},_0x3f1c(_0xd82b3a,_0x334a9b);}export class Sessions extends _0x3036d7{[_0x5b1e56(0x1f5)];[_0x5b1e56(0x22d)];[_0x5b1e56(0x222)];[_0x5b1e56(0x202)];[_0x5b1e56(0x20f)];[_0x5b1e56(0x200)];static get[_0x5b1e56(0x1f9)](){const _0x58dd78=_0x5b1e56;return _0x58dd78(0x20d);}static get[_0x5b1e56(0x22a)](){return!0x0;}static get[_0x5b1e56(0x209)](){return!0x0;}static get[_0x5b1e56(0x1fc)](){return[_0xc69c96,_0x575d13];}constructor(_0x482380){const _0x4b3e6d=_0x5b1e56;super(_0x482380),this[_0x4b3e6d(0x1f5)]=new Map(),this[_0x4b3e6d(0x22d)]=new Map(),this[_0x4b3e6d(0x222)]=new _0x14092a(),this[_0x4b3e6d(0x202)]=new Map(),this[_0x4b3e6d(0x20f)]=0x0,this[_0x4b3e6d(0x200)]=this[_0x4b3e6d(0x206)][_0x4b3e6d(0x22c)][_0x4b3e6d(0x221)](_0x575d13);}[_0x5b1e56(0x228)](){const _0x4e7b7e=_0x5b1e56,_0x172e4f=this[_0x4e7b7e(0x206)][_0x4e7b7e(0x22c)][_0x4e7b7e(0x221)](_0xc69c96);this[_0x4e7b7e(0x1ff)](_0x172e4f,_0x4e7b7e(0x21d),(_0x5199fc,_0x3f50d,_0x1ee8a3)=>{const _0x38052f=_0x4e7b7e;if(_0x38052f(0x220)!==_0x1ee8a3)this[_0x38052f(0x1f5)][_0x38052f(0x229)](_0xeac54e=>_0xeac54e[_0x38052f(0x20e)]()),this[_0x38052f(0x22d)][_0x38052f(0x229)](_0x571a1f=>_0x571a1f[_0x38052f(0x20e)]()),this[_0x38052f(0x222)][_0x38052f(0x20e)]();else{for(const [_0x2075dc,_0x2fb92c]of this[_0x38052f(0x202)])for(const _0x32bb8d of _0x2fb92c)this[_0x38052f(0x225)](_0x2075dc,_0x32bb8d);}}),this[_0x4e7b7e(0x231)](_0x172e4f[_0x4e7b7e(0x1f7)]['me'],!0x0);}[_0x5b1e56(0x21a)](_0x1b15a6,_0x1aba8a){const _0xdb5e78=_0x5b1e56;if(this[_0xdb5e78(0x202)][_0xdb5e78(0x1f1)](_0x1b15a6))throw new _0xfe9745(_0xdb5e78(0x21b),null,{'channelId':_0x1b15a6});this[_0xdb5e78(0x202)][_0xdb5e78(0x1f8)](_0x1b15a6,_0x1aba8a),this[_0xdb5e78(0x1f5)][_0xdb5e78(0x1f8)](_0x1b15a6,new _0x14092a()),this[_0xdb5e78(0x22d)][_0xdb5e78(0x1f8)](_0x1b15a6,new _0x14092a()),this[_0xdb5e78(0x1ff)](_0x1aba8a,_0xdb5e78(0x1fe),(_0x3ad6db,_0x2d95dc)=>this[_0xdb5e78(0x225)](_0x1b15a6,_0x2d95dc)),this[_0xdb5e78(0x1ff)](_0x1aba8a,_0xdb5e78(0x205),(_0x1b67d8,_0x1cd36e)=>this[_0xdb5e78(0x201)](_0x1b15a6,_0x1cd36e));for(const _0x2289fa of _0x1aba8a)this[_0xdb5e78(0x225)](_0x1b15a6,_0x2289fa);}[_0x5b1e56(0x207)](_0x3567c3){const _0x165e0c=_0x5b1e56;if(!this[_0x165e0c(0x202)][_0x165e0c(0x1f1)](_0x3567c3))throw new _0xfe9745(_0x165e0c(0x219),null,{'channelId':_0x3567c3});const _0x5c1d67=this[_0x165e0c(0x202)][_0x165e0c(0x221)](_0x3567c3);this[_0x165e0c(0x204)](_0x5c1d67);for(const _0x37fad8 of _0x5c1d67)_0x165e0c(0x220)===this[_0x165e0c(0x206)][_0x165e0c(0x22c)][_0x165e0c(0x221)](_0xc69c96)[_0x165e0c(0x226)]&&this[_0x165e0c(0x201)](_0x3567c3,_0x37fad8);this[_0x165e0c(0x202)][_0x165e0c(0x21c)](_0x3567c3),this[_0x165e0c(0x1f5)][_0x165e0c(0x21c)](_0x3567c3),this[_0x165e0c(0x22d)][_0x165e0c(0x21c)](_0x3567c3);}get[_0x5b1e56(0x1f4)](){const _0x56cc71=_0x5b1e56;return this[_0x56cc71(0x206)][_0x56cc71(0x22c)][_0x56cc71(0x221)](_0xc69c96)[_0x56cc71(0x1f7)][_0x56cc71(0x22f)];}[_0x5b1e56(0x230)](_0x57dc5c){const _0x527e3e=_0x5b1e56;for(const _0x2b7e9c of this[_0x527e3e(0x1f5)][_0x527e3e(0x208)]())for(const _0xc0754b of _0x2b7e9c)if(_0xc0754b['id']===_0x57dc5c)return _0xc0754b[_0x527e3e(0x227)];}[_0x5b1e56(0x213)](_0x58a05e,_0x4568ce){const _0x2dc9e1=_0x5b1e56,_0x5571c3=_0x4568ce?[this[_0x2dc9e1(0x1f5)][_0x2dc9e1(0x221)](_0x4568ce)]:this[_0x2dc9e1(0x1f5)][_0x2dc9e1(0x208)](),_0x10ea7d=new Set();for(const _0x19c1fc of _0x5571c3)for(const _0xfede69 of _0x19c1fc)_0xfede69[_0x2dc9e1(0x227)]['id']===_0x58a05e['id']&&_0x10ea7d[_0x2dc9e1(0x1fe)](_0xfede69['id']);return _0x10ea7d;}[_0x5b1e56(0x212)](_0x38ef90){const _0x23cfc3=_0x5b1e56;for(const _0x37770c of this[_0x23cfc3(0x1f5)][_0x23cfc3(0x208)]())for(const _0x348350 of _0x37770c)if(_0x348350[_0x23cfc3(0x227)]===_0x38ef90)return _0x348350[_0x23cfc3(0x215)];}[_0x5b1e56(0x225)](_0x34c332,_0x20eb15){const _0x5e6c1c=_0x5b1e56;if(_0x5e6c1c(0x220)!==this[_0x5e6c1c(0x206)][_0x5e6c1c(0x22c)][_0x5e6c1c(0x221)](_0xc69c96)[_0x5e6c1c(0x226)])return;const _0x1b9c9f=_0x20eb15[_0x5e6c1c(0x227)],_0x3b1513=this[_0x5e6c1c(0x200)][_0x5e6c1c(0x210)](_0x1b9c9f['id'])||this[_0x5e6c1c(0x231)](_0x1b9c9f),_0x1dc767=Object[_0x5e6c1c(0x1f2)]({},_0x20eb15,{'user':_0x3b1513});if(this[_0x5e6c1c(0x1f5)][_0x5e6c1c(0x221)](_0x34c332)[_0x5e6c1c(0x1fe)](_0x1dc767),!_0x1b9c9f[_0x5e6c1c(0x21e)]){const _0x38f500=this[_0x5e6c1c(0x22d)][_0x5e6c1c(0x221)](_0x34c332);_0x38f500[_0x5e6c1c(0x1f1)](_0x3b1513['id'])||_0x38f500[_0x5e6c1c(0x1fe)](_0x3b1513),this[_0x5e6c1c(0x222)][_0x5e6c1c(0x1f1)](_0x3b1513['id'])||_0x1b9c9f[_0x5e6c1c(0x21e)]||this[_0x5e6c1c(0x222)][_0x5e6c1c(0x1fe)](_0x3b1513,_0x3b1513[_0x5e6c1c(0x20c)]?0x0:void 0x0);}this[_0x5e6c1c(0x22e)](_0x5e6c1c(0x203)+_0x34c332,{'channelId':_0x34c332,'session':_0x1dc767});}[_0x5b1e56(0x201)](_0x1be46d,_0x2b744d){const _0x225ea0=_0x5b1e56;if(_0x225ea0(0x220)!==this[_0x225ea0(0x206)][_0x225ea0(0x22c)][_0x225ea0(0x221)](_0xc69c96)[_0x225ea0(0x226)])return;const _0x107f72=this[_0x225ea0(0x22d)][_0x225ea0(0x221)](_0x1be46d),_0x260119=_0x2b744d[_0x225ea0(0x227)];_0x260119['id']&&(this[_0x225ea0(0x1f5)][_0x225ea0(0x221)](_0x1be46d)[_0x225ea0(0x205)](_0x2b744d['id']),_0x107f72[_0x225ea0(0x1f1)](_0x260119['id'])&&!this[_0x225ea0(0x213)](_0x260119,_0x1be46d)[_0x225ea0(0x20b)]&&_0x107f72[_0x225ea0(0x205)](_0x260119['id']),this[_0x225ea0(0x222)][_0x225ea0(0x221)](_0x260119['id'])&&!this[_0x225ea0(0x213)](_0x260119)[_0x225ea0(0x20b)]&&this[_0x225ea0(0x222)][_0x225ea0(0x205)](_0x260119['id']));}[_0x5b1e56(0x231)](_0x3ebda0,_0x54dcd9){const _0x458c44=_0x5b1e56,_0x4e7ad9=this[_0x458c44(0x200)][_0x458c44(0x214)](_0x3ebda0);return _0x54dcd9&&this[_0x458c44(0x200)][_0x458c44(0x217)](_0x3ebda0['id']),_0x4e7ad9[_0x458c44(0x22b)]=this[_0x458c44(0x20f)]++,_0x4e7ad9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x2a2d(_0x19ff0f,_0x6f7973){const _0xbc7466=_0xbc74();return _0x2a2d=function(_0x2a2d2f,_0x578bd9){_0x2a2d2f=_0x2a2d2f-0x75;let _0x247c7c=_0xbc7466[_0x2a2d2f];return _0x247c7c;},_0x2a2d(_0x19ff0f,_0x6f7973);}const _0x1eae72=_0x2a2d;(function(_0x488d0f,_0x5f0579){const _0x5e2438=_0x2a2d,_0x57b3b6=_0x488d0f();while(!![]){try{const _0x26eaac=parseInt(_0x5e2438(0x97))/0x1+parseInt(_0x5e2438(0xf5))/0x2*(parseInt(_0x5e2438(0xcb))/0x3)+-parseInt(_0x5e2438(0xb0))/0x4+parseInt(_0x5e2438(0xfe))/0x5*(-parseInt(_0x5e2438(0x80))/0x6)+parseInt(_0x5e2438(0xc6))/0x7*(-parseInt(_0x5e2438(0xc1))/0x8)+-parseInt(_0x5e2438(0xd0))/0x9*(-parseInt(_0x5e2438(0x8b))/0xa)+-parseInt(_0x5e2438(0x100))/0xb*(-parseInt(_0x5e2438(0xd4))/0xc);if(_0x26eaac===_0x5f0579)break;else _0x57b3b6['push'](_0x57b3b6['shift']());}catch(_0x1bf675){_0x57b3b6['push'](_0x57b3b6['shift']());}}}(_0xbc74,0x67238));import{Plugin as _0x4f2c55}from'ckeditor5/src/core.js';function _0xbc74(){const _0xbff7cb=['enqueueChange','mapper','applyOperation','user:range:','user:position','get','requires','markerName','5gyNDxj','userPositionMarker','33fBDjXe','user:range','user:','for','toDomElement','addEventListener','isLimit','checkChild','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','split','listenTo','stopListening','newRange','3953238ptHbfm','classList','start','plugins','$graveyard','outerHTML','isDocumentOperation','UserMarkers','render','false','change:range','118420vqNDhf','createUIElement','setAttribute','mySessionId','deletionPosition','destroy','span','getUserBySessionId','init','model','hasContent','size','752332NwiXaQ','_domEmitter','view','clear','updateMarker','set','orderNumber','ck-user__selection','delete','spellcheck','Escape','markerToElement','conversion','isInline','getContainedElement','createElement','isObject','type','setCustomProperty','ck-user__marker\x20','document','isSimilar','parent','schema','change','2639740rSRfAk','markerRange','contenteditable','innerHTML','markers','update:user:range','pluginName','startsWith','nodeAfter','getCustomProperty','oldRange','getStart','ck-user__marker-tooltip','root','end','editor','editing','8WzNYup','getNearestSelectionRange','marker','$text','add','2656787lkktHG','getMarkerClass','selection','afterInit','removeClass','1332DsbCPy','createRange','toRange','getSelectionClass','editingDowncast','72SFoHYp','markerToHighlight','removeMarker','fromRange','3395316GIiOaD','user:position:','highest','getRange','textContent','mouseenter','remove','createUserMarkerOperations','mouseleave','detach','keydown','name','batch','data-session-id','commands','getPositions','isOfficialPlugin','_createdBatches','element','has','color','reconvertMarker','rootName','tableCell','ck-user__marker_hovered','addMarker','isPremiumPlugin','undo','markerNameToElements','getFirstRange','hasDomSelection','getAttribute','isCollapsed','1914sRaSpk'];_0xbc74=function(){return _0xbff7cb;};return _0xbc74();}import{global as _0x5bd093,DomEmitterMixin as _0x103280}from'ckeditor5/src/utils.js';import{Sessions as _0x210814}from'./sessions.js';import{ModelLiveRange as _0x2593a0}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4f2c55{[_0x1eae72(0x98)]=new(_0x103280())();static get[_0x1eae72(0xfc)](){return[_0x210814];}static get[_0x1eae72(0xb6)](){const _0x29ead1=_0x1eae72;return _0x29ead1(0x87);}static get[_0x1eae72(0xe4)](){return!0x0;}static get[_0x1eae72(0xee)](){return!0x0;}[_0x1eae72(0x93)](){const _0x400323=_0x1eae72,_0x10265e=this[_0x400323(0xbf)],_0x2e45f3=_0x10265e[_0x400323(0x83)][_0x400323(0xfb)](_0x210814);_0x10265e[_0x400323(0xa3)][_0x400323(0x76)](_0x400323(0xcf))[_0x400323(0xa2)]({'model':_0x400323(0xfa),'view':(_0x1411df,{writer:_0x46272e})=>function(_0x516661,_0x1d8945,_0x3423ca,_0x54e46b){const _0xbeabc2=_0x400323,_0x48fe4e=_0x516661[_0xbeabc2(0xfd)][_0xbeabc2(0x7c)](':')[0x2],_0x4f7079=_0x3423ca[_0xbeabc2(0x92)](_0x48fe4e);if(!_0x4f7079||_0x48fe4e===_0x3423ca[_0xbeabc2(0x8e)])return;if(!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)][_0xbeabc2(0x7a)](_0x516661[_0xbeabc2(0xb1)][_0xbeabc2(0x82)],_0xbeabc2(0xc4)))return;const _0x31f2ea={'class':_0xbeabc2(0xaa)+_0x4f7079[_0xbeabc2(0xe8)][_0xbeabc2(0xc7)](),'data-name':_0x4f7079[_0xbeabc2(0xdf)],'data-session-id':_0x48fe4e},_0x108a00=_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xb4)][_0xbeabc2(0xfb)](_0x516661[_0xbeabc2(0xfd)]),_0x2f4f7d=_0x108a00[_0xbeabc2(0xbb)](),_0x2f8cff=_0x2f4f7d[_0xbeabc2(0xb8)],_0x1160b2=_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)];if(_0x2f8cff&&_0x1160b2[_0xbeabc2(0xa7)](_0x2f8cff)&&_0x1160b2[_0xbeabc2(0xa4)](_0x2f8cff)&&!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xb4)][_0xbeabc2(0xfb)](_0xbeabc2(0xf9)+_0x48fe4e)[_0xbeabc2(0xd7)]()[_0xbeabc2(0xf4)])return;const _0x151aa4=_0x2f4f7d[_0xbeabc2(0xad)];return _0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0xae)][_0xbeabc2(0x79)](_0x151aa4)&&!_0x54e46b[_0xbeabc2(0x94)][_0xbeabc2(0x95)](_0x151aa4)&&(_0x31f2ea[_0xbeabc2(0xb2)]=!0x1),function(_0x50d35b,_0x37528f,_0x3cdb0e){const _0x1982b0=_0xbeabc2,_0x157c60=_0x50d35b[_0x1982b0(0x8c)](_0x1982b0(0x91),_0x37528f);return _0x50d35b[_0x1982b0(0xa9)](_0x1982b0(0xff),!0x0,_0x157c60),_0x157c60[_0x1982b0(0x88)]=function(_0x170e13){const _0x3f0662=_0x1982b0,_0x24c1b0=this[_0x3f0662(0x77)](_0x170e13),_0x347b10=document[_0x3f0662(0xa6)](_0x3f0662(0x91));return _0x347b10[_0x3f0662(0x81)][_0x3f0662(0xc5)](_0x3f0662(0xbc)),_0x347b10[_0x3f0662(0x8d)](_0x3f0662(0xb2),_0x3f0662(0x89)),_0x347b10[_0x3f0662(0x8d)](_0x3f0662(0xa0),_0x3f0662(0x89)),_0x347b10[_0x3f0662(0xd8)]=_0x3cdb0e[_0x3f0662(0xdf)],_0x24c1b0[_0x3f0662(0xb3)]=_0x3f0662(0x7b)+_0x347b10[_0x3f0662(0x85)]+'',_0x24c1b0[_0x3f0662(0x78)](_0x3f0662(0xd9),()=>{const _0x4b2b3a=_0x3f0662;_0x24c1b0[_0x4b2b3a(0x81)][_0x4b2b3a(0xc5)](_0x4b2b3a(0xec));}),_0x24c1b0[_0x3f0662(0x78)](_0x3f0662(0xdc),()=>{const _0x4ec338=_0x3f0662;_0x24c1b0[_0x4ec338(0x81)][_0x4ec338(0xda)](_0x4ec338(0xec));}),_0x24c1b0;},_0x157c60[_0x1982b0(0xac)]=function(_0x4f4211){const _0x48f85e=_0x1982b0;return!(!this[_0x48f85e(0xb9)](_0x48f85e(0xff))||!_0x4f4211[_0x48f85e(0xb9)](_0x48f85e(0xff))||this[_0x48f85e(0xf3)](_0x48f85e(0xe1))!=_0x4f4211[_0x48f85e(0xf3)](_0x48f85e(0xe1)));},_0x157c60;}(_0x1d8945,_0x31f2ea,_0x4f7079);}(_0x1411df,_0x46272e,_0x2e45f3,_0x10265e)}),_0x10265e[_0x400323(0xa3)][_0x400323(0x76)](_0x400323(0xcf))[_0x400323(0xd1)]({'model':_0x400323(0x101),'view':_0x5e1ddd=>function(_0x21c251,_0x4001e8){const _0x34036f=_0x400323,_0x290ac5=_0x21c251[_0x34036f(0xfd)][_0x34036f(0x7c)](':')[0x2];if(_0x290ac5===_0x4001e8[_0x34036f(0x8e)])return null;const _0x2f8d7c=_0x4001e8[_0x34036f(0x92)](_0x290ac5);if(!_0x2f8d7c)return{'id':_0x290ac5,'classes':[]};return{'id':_0x290ac5,'classes':[_0x34036f(0x9e),_0x2f8d7c[_0x34036f(0xe8)][_0x34036f(0xce)]()],'attributes':{'data-session-id':_0x290ac5},'priority':0x7d0+_0x2f8d7c[_0x34036f(0x9d)]};}(_0x5e1ddd,_0x2e45f3)}),function(_0x2039d1){const _0x4a2472=_0x400323,_0x3f09f9=_0x2039d1[_0x4a2472(0x94)],_0x377fe8=new Map(),_0x5df694=_0x2039d1[_0x4a2472(0x83)][_0x4a2472(0xfb)](_0x210814);_0x3f09f9[_0x4a2472(0xb4)]['on'](_0x4a2472(0xb5),(_0x3ec8df,_0x289774,_0x54999c,_0x45839a)=>{const _0x1a2f1f=_0x4a2472;if(!_0x45839a&&_0x377fe8[_0x1a2f1f(0xfb)](_0x289774[_0x1a2f1f(0xdf)]))return _0x377fe8[_0x1a2f1f(0xfb)](_0x289774[_0x1a2f1f(0xdf)])[_0x1a2f1f(0xdd)](),void _0x377fe8[_0x1a2f1f(0x9f)](_0x289774[_0x1a2f1f(0xdf)]);const _0x11e15a=_0x289774[_0x1a2f1f(0xdf)][_0x1a2f1f(0x7c)](':')[0x2];if(_0x11e15a===_0x5df694[_0x1a2f1f(0x8e)])return;const _0x41edf1=_0x1a2f1f(0xd5)+_0x11e15a;_0x3f09f9[_0x1a2f1f(0xb4)][_0x1a2f1f(0xe7)](_0x41edf1)&&_0x2039d1[_0x1a2f1f(0xc0)][_0x1a2f1f(0xe9)](_0x41edf1),_0x289774['on'](_0x1a2f1f(0x8a),(_0x201095,_0x5c1c23,_0x4bcb3d)=>{const _0x40735f=_0x1a2f1f;if(_0x40735f(0x84)!=_0x5c1c23[_0x40735f(0xbd)][_0x40735f(0xea)]&&_0x40735f(0x84)==_0x289774[_0x40735f(0xd7)]()[_0x40735f(0xbd)][_0x40735f(0xea)]&&!_0x377fe8[_0x40735f(0xe7)](_0x289774[_0x40735f(0xdf)])){const _0x3920de=_0x3f09f9[_0x40735f(0xae)][_0x40735f(0xc2)](_0x4bcb3d[_0x40735f(0x8f)]);if(_0x3920de){const _0x37dfea=_0x2593a0[_0x40735f(0xd3)](_0x3920de);_0x377fe8[_0x40735f(0x9c)](_0x289774[_0x40735f(0xdf)],_0x37dfea),_0x37dfea['on'](_0x40735f(0x8a),(_0x5e53fe,_0x231437,_0x343069)=>{const _0x38dfd8=_0x40735f;if(_0x38dfd8(0x84)==_0x37dfea[_0x38dfd8(0xbd)][_0x38dfd8(0xea)]){const _0x53a0af=_0x3f09f9[_0x38dfd8(0xae)][_0x38dfd8(0xc2)](_0x343069[_0x38dfd8(0x8f)]);_0x53a0af?(_0x37dfea[_0x38dfd8(0x82)]=_0x53a0af[_0x38dfd8(0x82)],_0x37dfea[_0x38dfd8(0xbe)]=_0x53a0af[_0x38dfd8(0xbe)]):(_0x377fe8[_0x38dfd8(0x9f)](_0x289774[_0x38dfd8(0xdf)]),_0x37dfea[_0x38dfd8(0xdd)]());}});}}});}),_0x3f09f9[_0x4a2472(0xab)]['on'](_0x4a2472(0xaf),()=>{const _0x33bd46=_0x4a2472;_0x377fe8[_0x33bd46(0x96)]>0x0&&_0x3f09f9[_0x33bd46(0xf6)]({'isUndoable':!0x1},_0x1e2c72=>{const _0x16632f=_0x33bd46;for(const [_0x50e439,_0x4aada1]of _0x377fe8)_0x16632f(0x84)==_0x3f09f9[_0x16632f(0xb4)][_0x16632f(0xfb)](_0x50e439)[_0x16632f(0xd7)]()[_0x16632f(0xbd)][_0x16632f(0xea)]&&(J(_0x50e439[_0x16632f(0x7c)](':')[0x2],_0x4aada1[_0x16632f(0xcd)](),_0x3f09f9,_0x1e2c72),_0x4aada1[_0x16632f(0xdd)]());_0x377fe8[_0x16632f(0x9a)]();});});}(_0x10265e),this[_0x400323(0x98)][_0x400323(0x7d)](_0x5bd093[_0x400323(0xab)],_0x400323(0xde),(_0x719812,{key:_0x318e73})=>{const _0x19cbd3=_0x400323;_0x19cbd3(0xa1)===_0x318e73&&function(_0x5957df){const _0x13b338=_0x19cbd3;_0x5957df[_0x13b338(0xc0)][_0x13b338(0x99)][_0x13b338(0xaf)](_0x25beae=>{const _0x4f5863=_0x13b338;for(const _0x129576 of _0x5957df[_0x4f5863(0x94)][_0x4f5863(0xb4)]){if(!_0x129576[_0x4f5863(0xdf)][_0x4f5863(0xb7)](_0x4f5863(0xfa)))continue;const _0x1fa5c7=_0x5957df[_0x4f5863(0xc0)][_0x4f5863(0xf7)][_0x4f5863(0xf0)](_0x129576[_0x4f5863(0xdf)]);if(_0x1fa5c7){for(const _0x140594 of _0x1fa5c7)_0x25beae[_0x4f5863(0xca)](_0x4f5863(0xec),_0x140594);}}});}(_0x10265e);},{'useCapture':!0x0});}[_0x1eae72(0xc9)](){const _0x3f83d5=_0x1eae72,_0xb5f127=this[_0x3f83d5(0xbf)],_0x36cea8=_0xb5f127[_0x3f83d5(0xe2)][_0x3f83d5(0xfb)](_0x3f83d5(0xef));_0x36cea8&&_0xb5f127[_0x3f83d5(0x94)]['on'](_0x3f83d5(0xf8),(_0x27f259,_0x368435)=>{const _0x1e2c78=_0x3f83d5,_0x16ca9b=_0x368435[0x0];if(!_0x16ca9b[_0x1e2c78(0x86)])return;if(_0x1e2c78(0xc3)!=_0x16ca9b[_0x1e2c78(0xa8)]||!_0x16ca9b[_0x1e2c78(0xdf)][_0x1e2c78(0xb7)](_0x1e2c78(0x75)))return;const _0x52627d=_0x16ca9b[_0x1e2c78(0xe0)];_0x36cea8[_0x1e2c78(0xe5)][_0x1e2c78(0xe7)](_0x52627d)&&(_0x16ca9b[_0x1e2c78(0x7f)]=_0x16ca9b[_0x1e2c78(0xba)]?_0xb5f127[_0x1e2c78(0x94)][_0x1e2c78(0xcc)](_0x16ca9b[_0x1e2c78(0xba)][_0x1e2c78(0x82)],_0x16ca9b[_0x1e2c78(0xba)][_0x1e2c78(0xbe)]):null);},{'priority':_0x3f83d5(0xd6)});}[_0x1eae72(0x90)](){const _0x118d2c=_0x1eae72;return this[_0x118d2c(0x98)][_0x118d2c(0x7e)](),super[_0x118d2c(0x90)]();}[_0x1eae72(0xdb)](){const _0x5bff5e=_0x1eae72,_0x3e0d9b=this[_0x5bff5e(0xbf)],_0x3ac2cc=_0x3e0d9b[_0x5bff5e(0x94)][_0x5bff5e(0xab)],_0x4b2b96=_0x3e0d9b[_0x5bff5e(0x83)][_0x5bff5e(0xfb)](_0x210814);_0x3e0d9b[_0x5bff5e(0x94)][_0x5bff5e(0xf6)]({'isUndoable':!0x1},_0x27444c=>{const _0x2ae132=_0x5bff5e,_0x518cc7=_0x2ae132(0xf9)+_0x4b2b96[_0x2ae132(0x8e)],_0x3454d4=_0x2ae132(0xd5)+_0x4b2b96[_0x2ae132(0x8e)],_0x67535c=_0x3e0d9b[_0x2ae132(0x94)][_0x2ae132(0xb4)][_0x2ae132(0xe7)](_0x518cc7);_0x3e0d9b[_0x2ae132(0xc0)][_0x2ae132(0x99)][_0x2ae132(0xf2)]?J(_0x4b2b96[_0x2ae132(0x8e)],_0x3ac2cc[_0x2ae132(0xc8)][_0x2ae132(0xf1)](),_0x3e0d9b[_0x2ae132(0x94)],_0x27444c):_0x67535c&&(_0x27444c[_0x2ae132(0xd2)](_0x518cc7),_0x27444c[_0x2ae132(0xd2)](_0x3454d4));});}}function J(_0x5ea688,_0x36cb79,_0x6e10cb,_0x4291b5){const _0x1a6ab3=_0x1eae72,_0x46fa6d=_0x1a6ab3(0xf9)+_0x5ea688,_0x29a679=_0x1a6ab3(0xd5)+_0x5ea688,_0x45dc5d=_0x36cb79[_0x1a6ab3(0xa5)]();let _0x277a19=_0x36cb79[_0x1a6ab3(0x82)];if(_0x45dc5d&&_0x45dc5d['is'](_0x1a6ab3(0xe6),_0x1a6ab3(0xeb))){const _0x34657d=function(_0x3775c3,_0x3c7f40){const _0x2be8fb=_0x1a6ab3;for(const _0x4704b5 of _0x3775c3[_0x2be8fb(0xe3)]())if(_0x3c7f40[_0x2be8fb(0xae)][_0x2be8fb(0x7a)](_0x4704b5,_0x2be8fb(0xc4)))return _0x4704b5;}(_0x36cb79,_0x6e10cb);_0x34657d&&(_0x277a19=_0x34657d,_0x36cb79=_0x4291b5[_0x1a6ab3(0xcc)](_0x277a19));}const _0x51932a=_0x4291b5[_0x1a6ab3(0xcc)](_0x277a19);_0x6e10cb[_0x1a6ab3(0xb4)][_0x1a6ab3(0xe7)](_0x46fa6d)?(_0x4291b5[_0x1a6ab3(0x9b)](_0x46fa6d,{'range':_0x36cb79}),_0x4291b5[_0x1a6ab3(0x9b)](_0x29a679,{'range':_0x51932a})):(_0x4291b5[_0x1a6ab3(0xed)](_0x46fa6d,{'range':_0x36cb79,'usingOperation':!0x0}),_0x4291b5[_0x1a6ab3(0xed)](_0x29a679,{'range':_0x51932a,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x20a41b=_0x583a;function _0x2897(){const _0x14839c=['applyOperation','update:user:range','markerRange','get','isOfficialPlugin','reconvertMarker','toRange','keydown','destroy','for','createUIElement','getStart','batch','span','enqueueChange','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mySessionId','type','13321ZCuVDY','startsWith','markerToElement','Escape','isDocumentOperation','getContainedElement','data-session-id','getNearestSelectionRange','color','editingDowncast','isObject','root','conversion','ck-user__marker\x20','nodeAfter','createUserMarkerOperations','schema','3252qNQqld','user:','3483423DILSoY','toDomElement','markerNameToElements','isPremiumPlugin','pluginName','editing','element','requires','hasContent','isSimilar','635daQNUt','mouseleave','editor','mapper','getRange','outerHTML','newRange','markerToHighlight','226800xgBAYF','deletionPosition','hasDomSelection','commands','delete','spellcheck','getFirstRange','1025416fGaaBL','getMarkerClass','init','add','classList','getSelectionClass','name','ck-user__selection','rootName','ck-user__marker-tooltip','render','addMarker','updateMarker','checkChild','user:position','isCollapsed','getAttribute','marker','76569ncfTRp','undo','detach','setCustomProperty','$text','createElement','fromRange','textContent','getCustomProperty','afterInit','change:range','user:range','mouseenter','tableCell','highest','orderNumber','start','addEventListener','selection','document','getUserBySessionId','_domEmitter','remove','change','ck-user__marker_hovered','getPositions','createRange','model','innerHTML','plugins','listenTo','UserMarkers','user:position:','331409HSRUEZ','set','removeMarker','stopListening','isLimit','size','has','contenteditable','split','oldRange','markerName','clear','false','parent','984YuVBdk','end','user:range:','setAttribute','removeClass','isInline','view','$graveyard','userPositionMarker','markers','_createdBatches'];_0x2897=function(){return _0x14839c;};return _0x2897();}(function(_0x2bb971,_0x30cdbf){const _0x1ed93e=_0x583a,_0x4c6029=_0x2bb971();while(!![]){try{const _0x44df1b=parseInt(_0x1ed93e(0x204))/0x1+-parseInt(_0x1ed93e(0x254))/0x2+-parseInt(_0x1ed93e(0x1e3))/0x3+parseInt(_0x1ed93e(0x25b))/0x4+-parseInt(_0x1ed93e(0x24c))/0x5*(parseInt(_0x1ed93e(0x240))/0x6)+parseInt(_0x1ed93e(0x22f))/0x7*(parseInt(_0x1ed93e(0x212))/0x8)+-parseInt(_0x1ed93e(0x242))/0x9;if(_0x44df1b===_0x30cdbf)break;else _0x4c6029['push'](_0x4c6029['shift']());}catch(_0x592a87){_0x4c6029['push'](_0x4c6029['shift']());}}}(_0x2897,0x376d4));function _0x583a(_0x4dca87,_0x5eb039){const _0x2897ab=_0x2897();return _0x583a=function(_0x583a1e,_0x5d48e6){_0x583a1e=_0x583a1e-0x1da;let _0x1a7545=_0x2897ab[_0x583a1e];return _0x1a7545;},_0x583a(_0x4dca87,_0x5eb039);}import{Plugin as _0x599974}from'ckeditor5/src/core.js';import{global as _0x1ab8b4,DomEmitterMixin as _0x549b6e}from'ckeditor5/src/utils.js';import{Sessions as _0x3cb4b4}from'./sessions.js';import{ModelLiveRange as _0x450b03}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x599974{[_0x20a41b(0x1f8)]=new(_0x549b6e())();static get[_0x20a41b(0x249)](){return[_0x3cb4b4];}static get[_0x20a41b(0x246)](){const _0x5f2840=_0x20a41b;return _0x5f2840(0x202);}static get[_0x20a41b(0x221)](){return!0x0;}static get[_0x20a41b(0x245)](){return!0x0;}[_0x20a41b(0x25d)](){const _0xee4776=_0x20a41b,_0x1be170=this[_0xee4776(0x24e)],_0xc665ed=_0x1be170[_0xee4776(0x200)][_0xee4776(0x220)](_0x3cb4b4);_0x1be170[_0xee4776(0x23b)][_0xee4776(0x226)](_0xee4776(0x238))[_0xee4776(0x231)]({'model':_0xee4776(0x1df),'view':(_0x159cb7,{writer:_0x296201})=>function(_0x104a9c,_0x902200,_0x278a59,_0x48c52c){const _0x2a7539=_0xee4776,_0x29f8cc=_0x104a9c[_0x2a7539(0x20e)][_0x2a7539(0x20c)](':')[0x2],_0x5cc042=_0x278a59[_0x2a7539(0x1f7)](_0x29f8cc);if(!_0x5cc042||_0x29f8cc===_0x278a59[_0x2a7539(0x22d)])return;if(!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)][_0x2a7539(0x1de)](_0x104a9c[_0x2a7539(0x21f)][_0x2a7539(0x1f3)],_0x2a7539(0x1e7)))return;const _0x1eeabe={'class':_0x2a7539(0x23c)+_0x5cc042[_0x2a7539(0x237)][_0x2a7539(0x25c)](),'data-name':_0x5cc042[_0x2a7539(0x261)],'data-session-id':_0x29f8cc},_0x27fddb=_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x21b)][_0x2a7539(0x220)](_0x104a9c[_0x2a7539(0x20e)]),_0x4b64fb=_0x27fddb[_0x2a7539(0x228)](),_0x200a2a=_0x4b64fb[_0x2a7539(0x23d)],_0x3a4985=_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)];if(_0x200a2a&&_0x3a4985[_0x2a7539(0x239)](_0x200a2a)&&_0x3a4985[_0x2a7539(0x217)](_0x200a2a)&&!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x21b)][_0x2a7539(0x220)](_0x2a7539(0x214)+_0x29f8cc)[_0x2a7539(0x250)]()[_0x2a7539(0x1e0)])return;const _0x70b9ff=_0x4b64fb[_0x2a7539(0x211)];return _0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x23f)][_0x2a7539(0x208)](_0x70b9ff)&&!_0x48c52c[_0x2a7539(0x1fe)][_0x2a7539(0x24a)](_0x70b9ff)&&(_0x1eeabe[_0x2a7539(0x20b)]=!0x1),function(_0x221ff7,_0x1f0f2c,_0x248bb0){const _0x2cb8a4=_0x2a7539,_0x281113=_0x221ff7[_0x2cb8a4(0x227)](_0x2cb8a4(0x22a),_0x1f0f2c);return _0x221ff7[_0x2cb8a4(0x1e6)](_0x2cb8a4(0x21a),!0x0,_0x281113),_0x281113[_0x2cb8a4(0x1db)]=function(_0x4a2b1d){const _0x36e85c=_0x2cb8a4,_0x150b66=this[_0x36e85c(0x243)](_0x4a2b1d),_0x1b3db6=document[_0x36e85c(0x1e8)](_0x36e85c(0x22a));return _0x1b3db6[_0x36e85c(0x25f)][_0x36e85c(0x25e)](_0x36e85c(0x1da)),_0x1b3db6[_0x36e85c(0x215)](_0x36e85c(0x20b),_0x36e85c(0x210)),_0x1b3db6[_0x36e85c(0x215)](_0x36e85c(0x259),_0x36e85c(0x210)),_0x1b3db6[_0x36e85c(0x1ea)]=_0x248bb0[_0x36e85c(0x261)],_0x150b66[_0x36e85c(0x1ff)]=_0x36e85c(0x22c)+_0x1b3db6[_0x36e85c(0x251)]+'',_0x150b66[_0x36e85c(0x1f4)](_0x36e85c(0x1ef),()=>{const _0x18a3ee=_0x36e85c;_0x150b66[_0x18a3ee(0x25f)][_0x18a3ee(0x25e)](_0x18a3ee(0x1fb));}),_0x150b66[_0x36e85c(0x1f4)](_0x36e85c(0x24d),()=>{const _0x40be0f=_0x36e85c;_0x150b66[_0x40be0f(0x25f)][_0x40be0f(0x1f9)](_0x40be0f(0x1fb));}),_0x150b66;},_0x281113[_0x2cb8a4(0x24b)]=function(_0x3c2e36){const _0x2cdb9f=_0x2cb8a4;return!(!this[_0x2cdb9f(0x1eb)](_0x2cdb9f(0x21a))||!_0x3c2e36[_0x2cdb9f(0x1eb)](_0x2cdb9f(0x21a))||this[_0x2cdb9f(0x1e1)](_0x2cdb9f(0x235))!=_0x3c2e36[_0x2cdb9f(0x1e1)](_0x2cdb9f(0x235)));},_0x281113;}(_0x902200,_0x1eeabe,_0x5cc042);}(_0x159cb7,_0x296201,_0xc665ed,_0x1be170)}),_0x1be170[_0xee4776(0x23b)][_0xee4776(0x226)](_0xee4776(0x238))[_0xee4776(0x253)]({'model':_0xee4776(0x1ee),'view':_0x23b61e=>function(_0x26e0ef,_0x2c94ef){const _0x51fa19=_0xee4776,_0x3355aa=_0x26e0ef[_0x51fa19(0x20e)][_0x51fa19(0x20c)](':')[0x2];if(_0x3355aa===_0x2c94ef[_0x51fa19(0x22d)])return null;const _0x54376f=_0x2c94ef[_0x51fa19(0x1f7)](_0x3355aa);if(!_0x54376f)return{'id':_0x3355aa,'classes':[]};return{'id':_0x3355aa,'classes':[_0x51fa19(0x262),_0x54376f[_0x51fa19(0x237)][_0x51fa19(0x260)]()],'attributes':{'data-session-id':_0x3355aa},'priority':0x7d0+_0x54376f[_0x51fa19(0x1f2)]};}(_0x23b61e,_0xc665ed)}),function(_0x501ed8){const _0x1615c0=_0xee4776,_0x3d02b9=_0x501ed8[_0x1615c0(0x1fe)],_0x426239=new Map(),_0x120a97=_0x501ed8[_0x1615c0(0x200)][_0x1615c0(0x220)](_0x3cb4b4);_0x3d02b9[_0x1615c0(0x21b)]['on'](_0x1615c0(0x21e),(_0x559ced,_0x27ade1,_0x507dea,_0x23aa3e)=>{const _0xb3dea4=_0x1615c0;if(!_0x23aa3e&&_0x426239[_0xb3dea4(0x220)](_0x27ade1[_0xb3dea4(0x261)]))return _0x426239[_0xb3dea4(0x220)](_0x27ade1[_0xb3dea4(0x261)])[_0xb3dea4(0x1e5)](),void _0x426239[_0xb3dea4(0x258)](_0x27ade1[_0xb3dea4(0x261)]);const _0x5acc07=_0x27ade1[_0xb3dea4(0x261)][_0xb3dea4(0x20c)](':')[0x2];if(_0x5acc07===_0x120a97[_0xb3dea4(0x22d)])return;const _0x525e3c=_0xb3dea4(0x203)+_0x5acc07;_0x3d02b9[_0xb3dea4(0x21b)][_0xb3dea4(0x20a)](_0x525e3c)&&_0x501ed8[_0xb3dea4(0x247)][_0xb3dea4(0x222)](_0x525e3c),_0x27ade1['on'](_0xb3dea4(0x1ed),(_0x39ad29,_0x3f07f8,_0x3d0db0)=>{const _0x53215d=_0xb3dea4;if(_0x53215d(0x219)!=_0x3f07f8[_0x53215d(0x23a)][_0x53215d(0x263)]&&_0x53215d(0x219)==_0x27ade1[_0x53215d(0x250)]()[_0x53215d(0x23a)][_0x53215d(0x263)]&&!_0x426239[_0x53215d(0x20a)](_0x27ade1[_0x53215d(0x261)])){const _0x55bf40=_0x3d02b9[_0x53215d(0x23f)][_0x53215d(0x236)](_0x3d0db0[_0x53215d(0x255)]);if(_0x55bf40){const _0x5af59c=_0x450b03[_0x53215d(0x1e9)](_0x55bf40);_0x426239[_0x53215d(0x205)](_0x27ade1[_0x53215d(0x261)],_0x5af59c),_0x5af59c['on'](_0x53215d(0x1ed),(_0x1e3ea6,_0x53a4d7,_0x17eaaf)=>{const _0x1badc4=_0x53215d;if(_0x1badc4(0x219)==_0x5af59c[_0x1badc4(0x23a)][_0x1badc4(0x263)]){const _0x5983b8=_0x3d02b9[_0x1badc4(0x23f)][_0x1badc4(0x236)](_0x17eaaf[_0x1badc4(0x255)]);_0x5983b8?(_0x5af59c[_0x1badc4(0x1f3)]=_0x5983b8[_0x1badc4(0x1f3)],_0x5af59c[_0x1badc4(0x213)]=_0x5983b8[_0x1badc4(0x213)]):(_0x426239[_0x1badc4(0x258)](_0x27ade1[_0x1badc4(0x261)]),_0x5af59c[_0x1badc4(0x1e5)]());}});}}});}),_0x3d02b9[_0x1615c0(0x1f6)]['on'](_0x1615c0(0x1fa),()=>{const _0x1e02d6=_0x1615c0;_0x426239[_0x1e02d6(0x209)]>0x0&&_0x3d02b9[_0x1e02d6(0x22b)]({'isUndoable':!0x1},_0x3690ae=>{const _0x1d2a52=_0x1e02d6;for(const [_0x139deb,_0x5ecdb7]of _0x426239)_0x1d2a52(0x219)==_0x3d02b9[_0x1d2a52(0x21b)][_0x1d2a52(0x220)](_0x139deb)[_0x1d2a52(0x250)]()[_0x1d2a52(0x23a)][_0x1d2a52(0x263)]&&(Z(_0x139deb[_0x1d2a52(0x20c)](':')[0x2],_0x5ecdb7[_0x1d2a52(0x223)](),_0x3d02b9,_0x3690ae),_0x5ecdb7[_0x1d2a52(0x1e5)]());_0x426239[_0x1d2a52(0x20f)]();});});}(_0x1be170),this[_0xee4776(0x1f8)][_0xee4776(0x201)](_0x1ab8b4[_0xee4776(0x1f6)],_0xee4776(0x224),(_0x7d2f4f,{key:_0x2db0eb})=>{const _0x30139f=_0xee4776;_0x30139f(0x232)===_0x2db0eb&&function(_0x11dcd4){const _0x56e01c=_0x30139f;_0x11dcd4[_0x56e01c(0x247)][_0x56e01c(0x218)][_0x56e01c(0x1fa)](_0x158979=>{const _0x597ed8=_0x56e01c;for(const _0x48b009 of _0x11dcd4[_0x597ed8(0x1fe)][_0x597ed8(0x21b)]){if(!_0x48b009[_0x597ed8(0x261)][_0x597ed8(0x230)](_0x597ed8(0x1df)))continue;const _0x16af06=_0x11dcd4[_0x597ed8(0x247)][_0x597ed8(0x24f)][_0x597ed8(0x244)](_0x48b009[_0x597ed8(0x261)]);if(_0x16af06){for(const _0x3f4fa7 of _0x16af06)_0x158979[_0x597ed8(0x216)](_0x597ed8(0x1fb),_0x3f4fa7);}}});}(_0x1be170);},{'useCapture':!0x0});}[_0x20a41b(0x1ec)](){const _0x57dfb3=_0x20a41b,_0x26849e=this[_0x57dfb3(0x24e)],_0x7756cd=_0x26849e[_0x57dfb3(0x257)][_0x57dfb3(0x220)](_0x57dfb3(0x1e4));_0x7756cd&&_0x26849e[_0x57dfb3(0x1fe)]['on'](_0x57dfb3(0x21d),(_0x3a8d62,_0x42902f)=>{const _0x10156a=_0x57dfb3,_0x1ec92b=_0x42902f[0x0];if(!_0x1ec92b[_0x10156a(0x233)])return;if(_0x10156a(0x1e2)!=_0x1ec92b[_0x10156a(0x22e)]||!_0x1ec92b[_0x10156a(0x261)][_0x10156a(0x230)](_0x10156a(0x241)))return;const _0x605eed=_0x1ec92b[_0x10156a(0x229)];_0x7756cd[_0x10156a(0x21c)][_0x10156a(0x20a)](_0x605eed)&&(_0x1ec92b[_0x10156a(0x252)]=_0x1ec92b[_0x10156a(0x20d)]?_0x26849e[_0x10156a(0x1fe)][_0x10156a(0x1fd)](_0x1ec92b[_0x10156a(0x20d)][_0x10156a(0x1f3)],_0x1ec92b[_0x10156a(0x20d)][_0x10156a(0x213)]):null);},{'priority':_0x57dfb3(0x1f1)});}[_0x20a41b(0x225)](){const _0x541462=_0x20a41b;return this[_0x541462(0x1f8)][_0x541462(0x207)](),super[_0x541462(0x225)]();}[_0x20a41b(0x23e)](){const _0x55e6d0=_0x20a41b,_0x224102=this[_0x55e6d0(0x24e)],_0x5758cd=_0x224102[_0x55e6d0(0x1fe)][_0x55e6d0(0x1f6)],_0xbb92ad=_0x224102[_0x55e6d0(0x200)][_0x55e6d0(0x220)](_0x3cb4b4);_0x224102[_0x55e6d0(0x1fe)][_0x55e6d0(0x22b)]({'isUndoable':!0x1},_0x58085b=>{const _0x443c47=_0x55e6d0,_0x4827c2=_0x443c47(0x214)+_0xbb92ad[_0x443c47(0x22d)],_0x39b4f5=_0x443c47(0x203)+_0xbb92ad[_0x443c47(0x22d)],_0x80dac1=_0x224102[_0x443c47(0x1fe)][_0x443c47(0x21b)][_0x443c47(0x20a)](_0x4827c2);_0x224102[_0x443c47(0x247)][_0x443c47(0x218)][_0x443c47(0x256)]?Z(_0xbb92ad[_0x443c47(0x22d)],_0x5758cd[_0x443c47(0x1f5)][_0x443c47(0x25a)](),_0x224102[_0x443c47(0x1fe)],_0x58085b):_0x80dac1&&(_0x58085b[_0x443c47(0x206)](_0x4827c2),_0x58085b[_0x443c47(0x206)](_0x39b4f5));});}}function Z(_0x4adfe3,_0x3a6a04,_0x42ef88,_0x23d82c){const _0x47e316=_0x20a41b,_0x15fdde=_0x47e316(0x214)+_0x4adfe3,_0x175431=_0x47e316(0x203)+_0x4adfe3,_0x18849e=_0x3a6a04[_0x47e316(0x234)]();let _0x236317=_0x3a6a04[_0x47e316(0x1f3)];if(_0x18849e&&_0x18849e['is'](_0x47e316(0x248),_0x47e316(0x1f0))){const _0x45e742=function(_0x1cb0b1,_0x25518a){const _0x55dd7b=_0x47e316;for(const _0x4d5294 of _0x1cb0b1[_0x55dd7b(0x1fc)]())if(_0x25518a[_0x55dd7b(0x23f)][_0x55dd7b(0x1de)](_0x4d5294,_0x55dd7b(0x1e7)))return _0x4d5294;}(_0x3a6a04,_0x42ef88);_0x45e742&&(_0x236317=_0x45e742,_0x3a6a04=_0x23d82c[_0x47e316(0x1fd)](_0x236317));}const _0x53487d=_0x23d82c[_0x47e316(0x1fd)](_0x236317);_0x42ef88[_0x47e316(0x21b)][_0x47e316(0x20a)](_0x15fdde)?(_0x23d82c[_0x47e316(0x1dd)](_0x15fdde,{'range':_0x3a6a04}),_0x23d82c[_0x47e316(0x1dd)](_0x175431,{'range':_0x53487d})):(_0x23d82c[_0x47e316(0x1dc)](_0x15fdde,{'range':_0x3a6a04,'usingOperation':!0x0}),_0x23d82c[_0x47e316(0x1dc)](_0x175431,{'range':_0x53487d,'usingOperation':!0x0}));}
|