@ckeditor/ckeditor5-real-time-collaboration 46.1.0-alpha.2 → 46.1.1-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 +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x38e9(_0x461241,_0x4d6123){const _0x591b90=_0x591b();return _0x38e9=function(_0x38e9aa,_0x4cbe6c){_0x38e9aa=_0x38e9aa-0xfb;let _0x2856aa=_0x591b90[_0x38e9aa];return _0x2856aa;},_0x38e9(_0x461241,_0x4d6123);}const _0x5b5a7c=_0x38e9;(function(_0x1c3ed4,_0xb46a8a){const _0x43b2be=_0x38e9,_0x429cf2=_0x1c3ed4();while(!![]){try{const _0x39f40a=parseInt(_0x43b2be(0x113))/0x1*(parseInt(_0x43b2be(0x100))/0x2)+parseInt(_0x43b2be(0x10e))/0x3+-parseInt(_0x43b2be(0x10f))/0x4+parseInt(_0x43b2be(0x10c))/0x5+-parseInt(_0x43b2be(0xfd))/0x6+parseInt(_0x43b2be(0x11c))/0x7+-parseInt(_0x43b2be(0x101))/0x8;if(_0x39f40a===_0xb46a8a)break;else _0x429cf2['push'](_0x429cf2['shift']());}catch(_0x4a4ebc){_0x429cf2['push'](_0x429cf2['shift']());}}}(_0x591b,0x1d607));import{View as _0x1897ed}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x20b1ab}from'ckeditor5/src/utils.js';import{getTranslation as _0x428847}from'../../common-translations.js';function _0x591b(){const _0x134e70=['734160qGPTFf','hasPopup','434337IBcwCG','785544XJhIaG','list','createCollection','set','28703cQgoGh','querySelector','presencelist:show','focus','.ck-presence-list__dropdown-list','presencelist:hide','removeAttribute','bindTemplate','items','1530655kdbUXO','keystrokes','listenTo','fire','aria-expanded','Connected\x20users\x20list','1240470AvewHz','change:hasPopup','relatedTarget','2IMtcnu','124168TDZvtJ','setTemplate','div','.ck-balloon-panel_with-arrow','element','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','render','ck-presence-list__list','isExpanded','contains','setAttribute'];_0x591b=function(){return _0x134e70;};return _0x591b();}export class PresenceInlineListView extends _0x1897ed{[_0x5b5a7c(0x11b)];[_0x5b5a7c(0x11d)];constructor(_0x2de714){const _0x42df6f=_0x5b5a7c;super(_0x2de714);const _0x34c884=this[_0x42df6f(0x11a)];this[_0x42df6f(0x11b)]=this[_0x42df6f(0x111)](),this[_0x42df6f(0x11d)]=new _0x20b1ab(),this[_0x42df6f(0x112)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x42df6f(0x102)]({'tag':_0x42df6f(0x103),'attributes':{'aria-haspopup':_0x34c884['if'](_0x42df6f(0x10d)),'aria-expanded':_0x34c884['to'](_0x42df6f(0x109),_0x550ccb=>this[_0x42df6f(0x10d)]&&String(_0x550ccb)),'aria-label':_0x34c884['to'](_0x42df6f(0x10d),_0x2b4598=>_0x428847(_0x2de714,_0x2b4598?_0x42df6f(0x106):_0x42df6f(0xfc))),'role':_0x42df6f(0x110),'tabindex':_0x34c884['to'](_0x42df6f(0x10d),_0x52ddc9=>!!_0x52ddc9&&0x0),'class':['ck',_0x42df6f(0x108)]},'children':this[_0x42df6f(0x11b)],'on':{'mouseenter':_0x34c884['to'](()=>this[_0x42df6f(0x11f)](_0x42df6f(0x115))),'mouseleave':_0x34c884['to'](_0x3d7bf6=>{const _0x180c14=_0x42df6f,_0x38cc96=_0x3d7bf6,_0x1f44a0=document[_0x180c14(0x114)](_0x180c14(0x117)),_0xf855b0=document[_0x180c14(0x114)](_0x180c14(0x104));_0x1f44a0?.[_0x180c14(0x10a)](_0x38cc96[_0x180c14(0xff)])||_0xf855b0?.[_0x180c14(0x10a)](_0x38cc96[_0x180c14(0xff)])||this[_0x180c14(0x11f)](_0x180c14(0x118));})}}),this['on'](_0x42df6f(0xfe),(_0x57ed21,_0x3658cc,_0x131008)=>{const _0x1d688b=_0x42df6f;this[_0x1d688b(0x105)]&&(_0x131008?this[_0x1d688b(0x105)][_0x1d688b(0x10b)](_0x1d688b(0xfb),String(this[_0x1d688b(0x109)])):this[_0x1d688b(0x105)][_0x1d688b(0x119)](_0x1d688b(0xfb)));});}[_0x5b5a7c(0x116)](){const _0x57aa79=_0x5b5a7c;this[_0x57aa79(0x105)][_0x57aa79(0x116)]();}[_0x5b5a7c(0x107)](){const _0x3fb4c7=_0x5b5a7c;super[_0x3fb4c7(0x107)](),this[_0x3fb4c7(0x11d)][_0x3fb4c7(0x11e)](this[_0x3fb4c7(0x105)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2cd5cb=_0x189f;(function(_0xb73456,_0x131f68){const _0x276e20=_0x189f,_0x590015=_0xb73456();while(!![]){try{const _0x4ef767=-parseInt(_0x276e20(0x127))/0x1*(-parseInt(_0x276e20(0x12c))/0x2)+parseInt(_0x276e20(0x124))/0x3*(-parseInt(_0x276e20(0x138))/0x4)+parseInt(_0x276e20(0x126))/0x5*(-parseInt(_0x276e20(0x125))/0x6)+parseInt(_0x276e20(0x13b))/0x7*(parseInt(_0x276e20(0x134))/0x8)+-parseInt(_0x276e20(0x11e))/0x9*(-parseInt(_0x276e20(0x131))/0xa)+-parseInt(_0x276e20(0x139))/0xb+parseInt(_0x276e20(0x135))/0xc;if(_0x4ef767===_0x131f68)break;else _0x590015['push'](_0x590015['shift']());}catch(_0x3a7626){_0x590015['push'](_0x590015['shift']());}}}(_0xee20,0xaafdc));import{View as _0x8ca58}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0xf79279}from'./presencecounterview.js';function _0x189f(_0x37ade8,_0x40186d){const _0xee2089=_0xee20();return _0x189f=function(_0x189f6b,_0x3dd9cc){_0x189f6b=_0x189f6b-0x11e;let _0x50d86f=_0xee2089[_0x189f6b];return _0x50d86f;},_0x189f(_0x37ade8,_0x40186d);}import{PresenceInlineListView as _0xe1adfe}from'./presenceinlinelistview.js';function _0xee20(){const _0x41230e=['763582fBgBHD','counterView','ck-rounded-corners','bindTemplate','tooltipPosition','23960JrKiZF','locale','items','24TmDWWW','18713400yiEPXb','ck-presence-list','setTemplate','759344Vioigb','10027930ClKLGP','ck-presence-list--collapsed','1247407yrbzmt','inlineListView','3447cVmhVK','isCollapsed','listenTo','ck-reset','set','first','21kSVSGy','9876omvoFK','1375PPthwj','1zQoXhC','hasPopup','change','bind','div'];_0xee20=function(){return _0x41230e;};return _0xee20();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x8ca58{[_0x2cd5cb(0x12d)];[_0x2cd5cb(0x13c)];constructor(_0x536320,_0xa89df7=0x6){const _0x50d125=_0x2cd5cb;super(_0x536320);const _0x37535f=this[_0x50d125(0x12f)];this[_0x50d125(0x122)](_0x50d125(0x11f),!0x0),this[_0x50d125(0x12d)]=new _0xf79279(this[_0x50d125(0x132)],_0xa89df7),this[_0x50d125(0x13c)]=new _0xe1adfe(_0x536320),this[_0x50d125(0x13c)][_0x50d125(0x12a)](_0x50d125(0x128))['to'](this,_0x50d125(0x11f)),this[_0x50d125(0x120)](this[_0x50d125(0x13c)][_0x50d125(0x133)],_0x50d125(0x129),()=>{const _0xf2216d=_0x50d125;for(const _0x16350d of this[_0xf2216d(0x13c)][_0xf2216d(0x133)])_0x16350d[_0xf2216d(0x130)]='s';this[_0xf2216d(0x13c)][_0xf2216d(0x133)][_0xf2216d(0x123)]&&(this[_0xf2216d(0x13c)][_0xf2216d(0x133)][_0xf2216d(0x123)][_0xf2216d(0x130)]='se');}),this[_0x50d125(0x137)]({'tag':_0x50d125(0x12b),'attributes':{'class':['ck',_0x50d125(0x136),_0x50d125(0x121),_0x50d125(0x12e),_0x37535f['if'](_0x50d125(0x11f),_0x50d125(0x13a))]},'children':[this[_0x50d125(0x13c)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x498ca7=_0x2c75;(function(_0x636057,_0x320e33){var _0x30a9d8=_0x2c75,_0x304eed=_0x636057();while(!![]){try{var _0x4a62ab=parseInt(_0x30a9d8(0xf1))/0x1*(-parseInt(_0x30a9d8(0xfa))/0x2)+parseInt(_0x30a9d8(0xfc))/0x3+-parseInt(_0x30a9d8(0xf2))/0x4*(parseInt(_0x30a9d8(0xf5))/0x5)+parseInt(_0x30a9d8(0xf0))/0x6+-parseInt(_0x30a9d8(0xf7))/0x7+parseInt(_0x30a9d8(0xf9))/0x8*(-parseInt(_0x30a9d8(0xf8))/0x9)+-parseInt(_0x30a9d8(0xf6))/0xa*(-parseInt(_0x30a9d8(0xfb))/0xb);if(_0x4a62ab===_0x320e33)break;else _0x304eed['push'](_0x304eed['shift']());}catch(_0x477eb8){_0x304eed['push'](_0x304eed['shift']());}}}(_0x2482,0x81c31));function _0x2c75(_0x21b900,_0x283eec){var _0x248218=_0x2482();return _0x2c75=function(_0x2c75c4,_0x46c628){_0x2c75c4=_0x2c75c4-0xed;var _0x40c1da=_0x248218[_0x2c75c4];return _0x40c1da;},_0x2c75(_0x21b900,_0x283eec);}import{ContextPlugin as _0x285997}from'ckeditor5/src/core.js';import{Sessions as _0x5dd7f6}from'./realtimecollaborativeediting/sessions.js';function _0x2482(){var _0x443df0=['PresenceList','isPremiumPlugin','requires','2778606qPeixe','4677PMXWCq','4QlnFJE','pluginName','isOfficialPlugin','5312850rQFvRo','30mGsNfS','1246637QEwGaa','25209CXMmfy','2800vZfnLp','302BjzjNj','9883489ekjOex','900435vzQlfJ'];_0x2482=function(){return _0x443df0;};return _0x2482();}import{PresenceListUI as _0x4b3c8f}from'./presencelist/presencelistui.js';export class PresenceList extends _0x285997{static get[_0x498ca7(0xef)](){return[_0x5dd7f6,_0x4b3c8f];}static get[_0x498ca7(0xf3)](){var _0xe3f7c2=_0x498ca7;return _0xe3f7c2(0xed);}static get[_0x498ca7(0xf4)](){return!0x0;}static get[_0x498ca7(0xee)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
24
|
-
((()=>_0x3d1b83)());[_0x4f273f(0x195)];static get[_0x4f273f(0x166)](){const _0x2af247=_0x4f273f;return[_0x1339d1,_0x2af247(0x144),_0x95d09b,_0x3edf02];}static get[_0x4f273f(0x170)](){const _0x7cdf6d=_0x4f273f;return _0x7cdf6d(0x18d);}static get[_0x4f273f(0x1a1)](){return!0x0;}static get[_0x4f273f(0x19a)](){return!0x0;}constructor(_0xa1aee8){const _0x55fb31=_0x4f273f;super(_0xa1aee8),this[_0x55fb31(0x195)]=new Map();}async[_0x4f273f(0x149)](){const _0x12d27f=_0x4f273f,_0x1bf5aa=this[_0x12d27f(0x196)],_0x3e78c1=_0x1bf5aa[_0x12d27f(0x157)][_0x12d27f(0x199)](_0x12d27f(0x144));if(_0x1bf5aa[_0x12d27f(0x157)][_0x12d27f(0x199)](_0x1339d1)[_0x12d27f(0x191)](this),_0x3e78c1[_0x12d27f(0x19d)]={'addCommentThread':async({channelId:_0x3a5767,threadId:_0x3768b4,comments:_0x1c3379,resolvedAt:_0x58a212,resolvedBy:_0x26070a,context:_0x59beb0,attributes:_0x55a9c7})=>{const _0x44c0f9=_0x12d27f,_0x2fae06=await this[_0x44c0f9(0x162)](_0x3a5767)[_0x44c0f9(0x198)]({'commentThreadId':_0x3768b4,'comments':_0x1c3379[_0x44c0f9(0x19b)](_0x439a91=>function(_0x53bfc7,_0x19b6cf,_0x3ce611){const _0x30d092=_0x44c0f9;return{'commentThreadId':_0x3ce611,'commentId':_0x53bfc7[_0x30d092(0x167)],'userId':_0x53bfc7[_0x30d092(0x15f)],'content':_0x53bfc7[_0x30d092(0x187)],'documentId':_0x19b6cf,'createdAt':_0x53bfc7[_0x30d092(0x15e)],'attributes':_0x53bfc7[_0x30d092(0x18f)]||{}};}(_0x439a91,_0x3a5767,_0x3768b4)),'resolvedAt':_0x58a212,'resolvedBy':_0x26070a,'context':_0x59beb0,'attributes':_0x55a9c7})[_0x44c0f9(0x19f)](A);return{'threadId':_0x2fae06[_0x44c0f9(0x14a)],'comments':_0x2fae06[_0x44c0f9(0x16b)]};},'getCommentThread':async({channelId:_0x175a1a,threadId:_0x2b41b3})=>{const _0x4d85ed=_0x12d27f,_0x1b657b=await this[_0x4d85ed(0x162)](_0x175a1a)[_0x4d85ed(0x185)](_0x2b41b3)[_0x4d85ed(0x19f)](v)[_0x4d85ed(0x19f)](A);return _0x1b657b?_0x1b657b[_0x4d85ed(0x154)]?null:(await this[_0x4d85ed(0x175)]([_0x1b657b]),{'threadId':_0x1b657b[_0x4d85ed(0x14a)],'comments':_0x1b657b[_0x4d85ed(0x16b)][_0x4d85ed(0x19b)](p),'context':_0x1b657b[_0x4d85ed(0x196)],'resolvedAt':_0x1b657b[_0x4d85ed(0x160)],'resolvedBy':_0x1b657b[_0x4d85ed(0x190)],'attributes':_0x1b657b[_0x4d85ed(0x18f)]||{}}):null;},'updateCommentThread':async({channelId:_0x1e4a42,threadId:_0x598177,context:_0x511fad,unlinkedAt:_0x39f4c5,attributes:_0x129a69})=>this[_0x12d27f(0x162)](_0x1e4a42)[_0x12d27f(0x155)]({'commentThreadId':_0x598177,'context':_0x511fad,'attributes':_0x129a69,'unlinkedAt':_0x39f4c5})[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'resolveCommentThread':async({channelId:_0x34ae6c,threadId:_0x441873})=>{const _0x2fe06f=_0x12d27f,_0x3f9c82=await this[_0x2fe06f(0x162)](_0x34ae6c)[_0x2fe06f(0x180)](_0x441873)[_0x2fe06f(0x19f)](v)[_0x2fe06f(0x19f)](A);return{'threadId':_0x3f9c82[_0x2fe06f(0x14a)],'resolvedAt':_0x3f9c82[_0x2fe06f(0x160)],'resolvedBy':_0x3f9c82[_0x2fe06f(0x190)]};},'reopenCommentThread':async({channelId:_0x1aa740,threadId:_0x104c19})=>this[_0x12d27f(0x162)](_0x1aa740)[_0x12d27f(0x1a2)](_0x104c19)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'removeCommentThread':({channelId:_0x43d306,threadId:_0x54f1f8})=>this[_0x12d27f(0x162)](_0x43d306)[_0x12d27f(0x15a)](_0x54f1f8)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'addComment':({channelId:_0x2e5517,threadId:_0x5b24c8,commentId:_0x3613dc,content:_0x3df3c4,attributes:_0x5c3d2a})=>this[_0x12d27f(0x162)](_0x2e5517)[_0x12d27f(0x14d)](_0x5b24c8,_0x3613dc,_0x3df3c4,_0x5c3d2a)[_0x12d27f(0x19f)](A),'updateComment':({channelId:_0x781022,threadId:_0x1c1b2e,commentId:_0x35cb7c,content:_0x32d700,attributes:_0x2de351})=>this[_0x12d27f(0x162)](_0x781022)[_0x12d27f(0x164)](_0x1c1b2e,_0x35cb7c,_0x32d700,_0x2de351)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A),'removeComment':({channelId:_0x4d9746,threadId:_0x3a2df2,commentId:_0x92bf04})=>this[_0x12d27f(0x162)](_0x4d9746)[_0x12d27f(0x140)](_0x3a2df2,_0x92bf04)[_0x12d27f(0x19f)](v)[_0x12d27f(0x19f)](A)},_0x1bf5aa instanceof _0x3a48f1){const _0x5ad6c2=_0x1bf5aa[_0x12d27f(0x161)][_0x12d27f(0x199)](_0x12d27f(0x153)),_0x2e6e8c=_0x1bf5aa[_0x12d27f(0x157)][_0x12d27f(0x199)](_0x95d09b);await this[_0x12d27f(0x156)](_0x5ad6c2);const _0x5dfda8=await this[_0x12d27f(0x195)][_0x12d27f(0x199)](_0x5ad6c2)[_0x12d27f(0x15c)]();this[_0x12d27f(0x1a4)](_0x2e6e8c,_0x12d27f(0x197)+_0x5ad6c2,(_0x5ba06a,{session:_0x253b03})=>{const _0x3d3e53=_0x12d27f;_0x253b03['id']===_0x2e6e8c[_0x3d3e53(0x17f)]&&(_0x5ba06a[_0x3d3e53(0x14b)](),this[_0x3d3e53(0x196)][_0x3d3e53(0x157)][_0x3d3e53(0x199)](_0x3d3e53(0x179))[_0x3d3e53(0x171)](_0x253b03[_0x3d3e53(0x16f)],_0x5ad6c2));}),_0x2e6e8c[_0x12d27f(0x145)](_0x5ad6c2,_0x5dfda8);}}async[_0x4f273f(0x156)](_0x31b4b7){const _0x111034=_0x4f273f;if(this[_0x111034(0x195)][_0x111034(0x18b)](_0x31b4b7))throw new _0x57b31f(_0x111034(0x158),null,{'channelId':_0x31b4b7});const _0x5beae3=this[_0x111034(0x196)][_0x111034(0x157)][_0x111034(0x199)](_0x111034(0x144)),_0x428b3e=new s[(_0x111034(0x172))](_0x31b4b7);this[_0x111034(0x195)][_0x111034(0x14c)](_0x31b4b7,_0x428b3e),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x17d),(_0x483abc,_0x308cd2)=>{const _0x2c9a48=_0x111034,{commentThreadId:_0x6ec20a,documentId:_0x1f7329,context:_0x3597f9,attributes:_0x40120f,resolvedAt:_0x23dd3f,resolvedBy:_0x4d8623,comments:_0x643edd}=_0x308cd2;_0x5beae3[_0x2c9a48(0x185)](_0x6ec20a)||_0x5beae3[_0x2c9a48(0x198)]({'threadId':_0x6ec20a,'channelId':_0x1f7329,'comments':_0x643edd?_0x643edd[_0x2c9a48(0x19b)](p):[],'context':_0x3597f9,'attributes':_0x40120f,'resolvedAt':_0x23dd3f,'resolvedBy':_0x4d8623,'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x181),(_0x16a979,{commentThreadId:_0xbb9198,documentId:_0x23a25d,context:_0x2cb4e8,unlinkedAt:_0xcf7aac,attributes:_0xf87fe7})=>{const _0x25508c=_0x111034;_0x5beae3[_0x25508c(0x185)](_0xbb9198)&&_0x5beae3[_0x25508c(0x155)]({'threadId':_0xbb9198,'channelId':_0x23a25d,'context':_0x2cb4e8,'unlinkedAt':_0xcf7aac,'attributes':_0xf87fe7,'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x16d),(_0xf8c4c4,{commentThreadId:_0x102905,resolvedBy:_0x221421,resolvedAt:_0x14b7f4})=>{const _0x155d31=_0x111034,_0x22e4eb=_0x5beae3[_0x155d31(0x185)](_0x102905);_0x22e4eb&&_0x22e4eb[_0x155d31(0x17a)]({'resolvedBy':_0x221421,'resolvedAt':_0x14b7f4,'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x1a5),(_0x4ceeed,{commentThreadId:_0x2d70da})=>{const _0x293d14=_0x111034,_0x5bc27b=_0x5beae3[_0x293d14(0x185)](_0x2d70da);_0x5bc27b&&_0x5bc27b[_0x293d14(0x177)]({'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x19e),(_0x35c1a3,{commentThreadId:_0x5e34da})=>{const _0x451e95=_0x111034,_0x135d57=_0x5beae3[_0x451e95(0x185)](_0x5e34da);_0x135d57&&_0x135d57[_0x451e95(0x16e)]({'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x147),(_0x49c1e1,_0x4b5354)=>{const _0x393498=_0x111034,_0x5e338b=_0x4b5354[_0x393498(0x14a)],_0x68e84d=_0x5beae3[_0x393498(0x185)](_0x5e338b);_0x68e84d&&_0x68e84d[_0x393498(0x14d)]({...p(_0x4b5354),'isFromAdapter':!0x0});}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x193),(_0x43b42a,{commentThreadId:_0x1c9081,commentId:_0x5f2ad1,content:_0x21bb82,attributes:_0x8d3b1e})=>{const _0x20013a=_0x111034,_0x36af36=_0x5beae3[_0x20013a(0x185)](_0x1c9081);if(_0x36af36){const _0x4925b8=_0x36af36[_0x20013a(0x142)](_0x5f2ad1);_0x4925b8&&_0x4925b8[_0x20013a(0x18e)]({'content':_0x21bb82,'attributes':_0x8d3b1e,'isFromAdapter':!0x0});}}),this[_0x111034(0x1a4)](_0x428b3e,_0x111034(0x192),(_0x149328,{commentThreadId:_0x2a62d4,commentId:_0x420e3b})=>{const _0x49b2b0=_0x111034,_0x2fdce9=_0x5beae3[_0x49b2b0(0x185)](_0x2a62d4);if(_0x2fdce9){const _0x359b53=_0x2fdce9[_0x49b2b0(0x142)](_0x420e3b);_0x359b53&&_0x359b53[_0x49b2b0(0x16e)]({'isFromAdapter':!0x0});}}),await this[_0x111034(0x169)](_0x31b4b7);}[_0x4f273f(0x152)](){const _0x57759a=_0x4f273f;if(this[_0x57759a(0x196)]instanceof _0x3a48f1){const _0x292472=this[_0x57759a(0x196)][_0x57759a(0x161)][_0x57759a(0x199)](_0x57759a(0x153));this[_0x57759a(0x184)](_0x292472);}}[_0x4f273f(0x184)](_0x1b07c3){const _0x6e61f3=_0x4f273f;if(!this[_0x6e61f3(0x195)][_0x6e61f3(0x18b)](_0x1b07c3))throw new _0x57b31f(_0x6e61f3(0x17c),null,{'channelId':_0x1b07c3});this[_0x6e61f3(0x162)](_0x1b07c3)[_0x6e61f3(0x15b)](),this[_0x6e61f3(0x195)][_0x6e61f3(0x15d)](_0x1b07c3);}async[_0x4f273f(0x150)](){const _0x254c58=_0x4f273f;for(const _0x4d2c22 of this[_0x254c58(0x195)][_0x254c58(0x163)]())await this[_0x254c58(0x169)](_0x4d2c22);if(this[_0x254c58(0x196)]instanceof _0x3a48f1){const _0x14dc86=this[_0x254c58(0x196)][_0x254c58(0x161)][_0x254c58(0x199)](_0x254c58(0x153)),_0x3ac42b=this[_0x254c58(0x196)][_0x254c58(0x157)][_0x254c58(0x199)](_0x95d09b);_0x3ac42b[_0x254c58(0x182)](_0x14dc86);const _0x383841=await this[_0x254c58(0x195)][_0x254c58(0x199)](_0x14dc86)[_0x254c58(0x15c)]();_0x3ac42b[_0x254c58(0x145)](_0x14dc86,_0x383841);}}async[_0x4f273f(0x169)](_0x2e922e){const _0x13d17f=_0x4f273f,{connection:_0x553181}=this[_0x13d17f(0x196)][_0x13d17f(0x157)][_0x13d17f(0x199)](_0x1339d1),_0x41838e=this[_0x13d17f(0x196)][_0x13d17f(0x157)][_0x13d17f(0x199)](_0x13d17f(0x144)),_0x3e6f2e=this[_0x13d17f(0x195)][_0x13d17f(0x199)](_0x2e922e),_0x25276c=await _0x3e6f2e[_0x13d17f(0x183)](_0x553181);await this[_0x13d17f(0x175)](_0x25276c);const _0x2075bd=new Set(Array[_0x13d17f(0x189)](_0x41838e[_0x13d17f(0x141)]({'channelId':_0x2e922e}),_0x1b12ec=>_0x1b12ec['id']));for(const _0x746422 of _0x25276c)_0x746422[_0x13d17f(0x154)]||_0x2075bd[_0x13d17f(0x15d)](_0x746422[_0x13d17f(0x14a)]);for(const _0x15ee6e of _0x2075bd)_0x41838e[_0x13d17f(0x185)](_0x15ee6e)[_0x13d17f(0x16e)]({'isFromAdapter':!0x0});for(const _0x4c1990 of _0x25276c){let _0x36c4a4=_0x41838e[_0x13d17f(0x185)](_0x4c1990[_0x13d17f(0x14a)]);const {commentThreadId:_0x46521b,context:_0x301d81,attributes:_0x4c03,resolvedBy:_0x5b776b,resolvedAt:_0x2c25d2,unlinkedAt:_0x43a27c,deletedAt:_0x1bb118}=_0x4c1990;if(_0x1bb118)continue;_0x36c4a4||(_0x36c4a4=_0x41838e[_0x13d17f(0x198)]({'channelId':_0x2e922e,'threadId':_0x46521b,'context':_0x301d81,'attributes':_0x4c03||{},'resolvedBy':_0x5b776b,'resolvedAt':_0x2c25d2,'unlinkedAt':_0x43a27c,'isFromAdapter':!0x0}));const _0x212d75=new Set(Array[_0x13d17f(0x189)](_0x36c4a4[_0x13d17f(0x16b)],_0x1b4816=>_0x1b4816['id']));for(const _0x2f656c of _0x4c1990[_0x13d17f(0x16b)])_0x212d75[_0x13d17f(0x15d)](_0x2f656c[_0x13d17f(0x167)]);for(const _0x36e31d of _0x212d75)_0x36c4a4[_0x13d17f(0x142)](_0x36e31d)[_0x13d17f(0x16e)]({'isFromAdapter':!0x0});for(const _0x592052 of _0x4c1990[_0x13d17f(0x16b)]){const _0x1901c8=_0x36c4a4[_0x13d17f(0x142)](_0x592052[_0x13d17f(0x167)]);_0x1901c8?_0x1901c8[_0x13d17f(0x187)]!==_0x592052[_0x13d17f(0x187)]&&_0x1901c8[_0x13d17f(0x18e)]({'content':_0x592052[_0x13d17f(0x187)],'isFromAdapter':!0x0}):_0x36c4a4[_0x13d17f(0x14d)](Object[_0x13d17f(0x165)](p(_0x592052),{'isFromAdapter':!0x0}));}}}[_0x4f273f(0x162)](_0x4c47ac){const _0x4c5664=_0x4f273f;if(!this[_0x4c5664(0x195)][_0x4c5664(0x18b)](_0x4c47ac))throw new _0x57b31f(_0x4c5664(0x188),null,{'channelId':_0x4c47ac});return this[_0x4c5664(0x195)][_0x4c5664(0x199)](_0x4c47ac);}async[_0x4f273f(0x175)](_0x3202b4){const _0x42072f=_0x4f273f,_0xfc0ff8=this[_0x42072f(0x196)][_0x42072f(0x157)][_0x42072f(0x199)](_0x3edf02),{connection:_0x287abb}=this[_0x42072f(0x196)][_0x42072f(0x157)][_0x42072f(0x199)](_0x1339d1),_0x5c7ba7=new Set();for(const {resolvedBy:_0x52f53e,comments:_0x34391c}of _0x3202b4){_0x52f53e&&!_0xfc0ff8[_0x42072f(0x17e)](_0x52f53e)&&_0x5c7ba7[_0x42072f(0x14f)](_0x52f53e);for(const {userId:_0x5bb959}of _0x34391c)_0xfc0ff8[_0x42072f(0x17e)](_0x5bb959)||_0x5c7ba7[_0x42072f(0x14f)](_0x5bb959);}if(0x0===_0x5c7ba7[_0x42072f(0x174)])return;const _0xbdffa3=await _0x578d72[_0x42072f(0x168)](_0x287abb,Array[_0x42072f(0x189)](_0x5c7ba7));for(const _0x12b280 of _0xbdffa3)_0xfc0ff8[_0x42072f(0x17e)](_0x12b280['id'])||_0xfc0ff8[_0x42072f(0x18c)](_0x12b280);}}export{s as CloudServicesCommentsAdapter};async function v(_0x18f3b3){const _0x1931bb=_0x4f273f;if(_0x1931bb(0x159)!==_0x18f3b3[_0x1931bb(0x194)])throw _0x18f3b3;}function _0x5b91(_0x13f27b,_0x31fded){const _0x307ef9=_0x307e();return _0x5b91=function(_0x5b91e4,_0x10c0ec){_0x5b91e4=_0x5b91e4-0x140;let _0x22c348=_0x307ef9[_0x5b91e4];return _0x22c348;},_0x5b91(_0x13f27b,_0x31fded);}function A(_0x54c4d0){const _0x2cde1e=_0x4f273f;if((_0x32bb1b=_0x54c4d0)[_0x2cde1e(0x16a)][_0x2cde1e(0x14e)](_0x2cde1e(0x178))||_0x32bb1b[_0x2cde1e(0x16a)][_0x2cde1e(0x14e)](_0x2cde1e(0x176))||_0x32bb1b[_0x2cde1e(0x16a)][_0x2cde1e(0x14e)](_0x2cde1e(0x1a3)))return new Promise(()=>{});var _0x32bb1b;throw _0x54c4d0;}function p(_0x39cd9b){const _0x1917c6=_0x4f273f;return{'threadId':_0x39cd9b[_0x1917c6(0x14a)],'commentId':_0x39cd9b[_0x1917c6(0x167)],'content':_0x39cd9b[_0x1917c6(0x187)],'createdAt':_0x39cd9b[_0x1917c6(0x15e)],'authorId':_0x39cd9b[_0x1917c6(0x1a0)],'attributes':_0x39cd9b[_0x1917c6(0x18f)]||{}};}
|
|
23
|
+
const _0x4a9002=_0xe885;(function(_0x8ba40a,_0x26ef66){const _0x18a59b=_0xe885,_0x1f52ea=_0x8ba40a();while(!![]){try{const _0x201873=parseInt(_0x18a59b(0x92))/0x1*(parseInt(_0x18a59b(0xa1))/0x2)+-parseInt(_0x18a59b(0x8f))/0x3+parseInt(_0x18a59b(0xae))/0x4+-parseInt(_0x18a59b(0xd5))/0x5*(parseInt(_0x18a59b(0xad))/0x6)+parseInt(_0x18a59b(0x94))/0x7*(-parseInt(_0x18a59b(0x75))/0x8)+parseInt(_0x18a59b(0xc0))/0x9*(-parseInt(_0x18a59b(0xc7))/0xa)+parseInt(_0x18a59b(0xb7))/0xb;if(_0x201873===_0x26ef66)break;else _0x1f52ea['push'](_0x1f52ea['shift']());}catch(_0x160928){_0x1f52ea['push'](_0x1f52ea['shift']());}}}(_0x4e82,0xa07cc));import{Context as _0x545cda,ContextPlugin as _0x2caa13}from'ckeditor5/src/core.js';import{CKEditorError as _0x1fc73f}from'ckeditor5/src/utils.js';import{Users as _0x3259f1}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4649e4,User as _0x4728f0}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x4e82(){const _0x169939=['removeComment','userId','commentThreadResolved','context','68785irnTST','comments','getConnectedSessions','CommentsRepository','reopenCommentThread','_getService','register','104gKHNAL','get','authorId','delete','getComment','message','cloudservicescommentsadapter-service-not-exist','config','isPremiumPlugin','update','Permissions','getMany','deletedAt','commentThreadUpdated','attributes','keys','commentThreadId','connect','getCommentThreads','init','adapter','setPermissions','cloudservicescommentsadapter-disconnect-not-exist','reconnect','startsWith','addCommentThread','3360891siAjUI','commentRemoved','resolveCommentThread','7hdbTTx','_terminateService','381451dHEoJn','plugins','mySessionId','removeCommentThread','addUser','resolvedBy','permissions','sessionAdd:','_setUpService','from','commentThreadReopened','destroy','cloudservicescommentsadapter-connect-already-connected','164914lgRups','collaboration.channelId','pluginName','set','off','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','cloud-services-internal-error:\x20Not\x20connected.','listenTo','has','_connectService','commentId','add','312qaGEXs','4756260tztgGf','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','catch','updateCommentThread','CloudServicesCommentsAdapter','getUser','map','addToReconnectionStack','15850120RjRgRZ','404','addComment','CommentsService','_services','resolvedAt','requires','reopen','updateComment','25911yVyjtT','remove','commentUpdated','assign','resolve','unregister','size','20DPpEUl','createdAt','commentThreadRemoved','disconnect','_fetchMissingUsersForThreads','commentAdded','content','isOfficialPlugin','getCommentThread','code'];_0x4e82=function(){return _0x169939;};return _0x4e82();}import{WebSocketGateway as _0x46319f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x435c65}from'../realtimecollaborativeediting/sessions.js';class s extends _0x2caa13{static [_0x4a9002(0xba)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4649e4)());[_0x4a9002(0xbb)];static get[_0x4a9002(0xbd)](){const _0x36f949=_0x4a9002;return[_0x46319f,_0x36f949(0xd8),_0x435c65,_0x3259f1];}static get[_0x4a9002(0xa3)](){const _0x6f556a=_0x4a9002;return _0x6f556a(0xb3);}static get[_0x4a9002(0xce)](){return!0x0;}static get[_0x4a9002(0x7d)](){return!0x0;}constructor(_0x2d8ac0){const _0x381e7e=_0x4a9002;super(_0x2d8ac0),this[_0x381e7e(0xbb)]=new Map();}async[_0x4a9002(0x88)](){const _0x2d2713=_0x4a9002,_0x3fc9c0=this[_0x2d2713(0xd4)],_0x1579ca=_0x3fc9c0[_0x2d2713(0x95)][_0x2d2713(0x76)](_0x2d2713(0xd8));if(_0x3fc9c0[_0x2d2713(0x95)][_0x2d2713(0x76)](_0x46319f)[_0x2d2713(0xb6)](this),_0x1579ca[_0x2d2713(0x89)]={'addCommentThread':async({channelId:_0x833715,threadId:_0x120261,comments:_0x30e114,resolvedAt:_0x1dccbc,resolvedBy:_0x2b8f49,context:_0x451775,attributes:_0x5d68e6})=>{const _0x4344ce=_0x2d2713,_0x5c4435=await this[_0x4344ce(0x73)](_0x833715)[_0x4344ce(0x8e)]({'commentThreadId':_0x120261,'comments':_0x30e114[_0x4344ce(0xb5)](_0x521f0b=>function(_0x575406,_0xa8ce25,_0x520d91){const _0x226cda=_0x4344ce;return{'commentThreadId':_0x520d91,'commentId':_0x575406[_0x226cda(0xab)],'userId':_0x575406[_0x226cda(0x77)],'content':_0x575406[_0x226cda(0xcd)],'documentId':_0xa8ce25,'createdAt':_0x575406[_0x226cda(0xc8)],'attributes':_0x575406[_0x226cda(0x83)]||{}};}(_0x521f0b,_0x833715,_0x120261)),'resolvedAt':_0x1dccbc,'resolvedBy':_0x2b8f49,'context':_0x451775,'attributes':_0x5d68e6})[_0x4344ce(0xb1)](tt);return{'threadId':_0x5c4435[_0x4344ce(0x85)],'comments':_0x5c4435[_0x4344ce(0xd6)]};},'getCommentThread':async({channelId:_0x427a29,threadId:_0x308252})=>{const _0x301a2c=_0x2d2713,_0x5101c5=await this[_0x301a2c(0x73)](_0x427a29)[_0x301a2c(0xcf)](_0x308252)[_0x301a2c(0xb1)](Z)[_0x301a2c(0xb1)](tt);return _0x5101c5?_0x5101c5[_0x301a2c(0x81)]?null:(await this[_0x301a2c(0xcb)]([_0x5101c5]),{'threadId':_0x5101c5[_0x301a2c(0x85)],'comments':_0x5101c5[_0x301a2c(0xd6)][_0x301a2c(0xb5)](et),'context':_0x5101c5[_0x301a2c(0xd4)],'resolvedAt':_0x5101c5[_0x301a2c(0xbc)],'resolvedBy':_0x5101c5[_0x301a2c(0x99)],'attributes':_0x5101c5[_0x301a2c(0x83)]||{}}):null;},'updateCommentThread':async({channelId:_0x2f5642,threadId:_0x30b64b,context:_0x5b8598,unlinkedAt:_0x469841,attributes:_0xaf88a3})=>this[_0x2d2713(0x73)](_0x2f5642)[_0x2d2713(0xb2)]({'commentThreadId':_0x30b64b,'context':_0x5b8598,'attributes':_0xaf88a3,'unlinkedAt':_0x469841})[_0x2d2713(0xb1)](Z)[_0x2d2713(0xb1)](tt),'resolveCommentThread':async({channelId:_0x468527,threadId:_0x3866a8})=>{const _0x27803e=_0x2d2713,_0x516958=await this[_0x27803e(0x73)](_0x468527)[_0x27803e(0x91)](_0x3866a8)[_0x27803e(0xb1)](Z)[_0x27803e(0xb1)](tt);return{'threadId':_0x516958[_0x27803e(0x85)],'resolvedAt':_0x516958[_0x27803e(0xbc)],'resolvedBy':_0x516958[_0x27803e(0x99)]};},'reopenCommentThread':async({channelId:_0x53d13a,threadId:_0x21e6fa})=>this[_0x2d2713(0x73)](_0x53d13a)[_0x2d2713(0xd9)](_0x21e6fa)[_0x2d2713(0xb1)](Z)[_0x2d2713(0xb1)](tt),'removeCommentThread':({channelId:_0x1fee98,threadId:_0x136a76})=>this[_0x2d2713(0x73)](_0x1fee98)[_0x2d2713(0x97)](_0x136a76)[_0x2d2713(0xb1)](Z)[_0x2d2713(0xb1)](tt),'addComment':({channelId:_0x296878,threadId:_0x600edc,commentId:_0x56a24a,content:_0xfe499e,attributes:_0x468b32})=>this[_0x2d2713(0x73)](_0x296878)[_0x2d2713(0xb9)](_0x600edc,_0x56a24a,_0xfe499e,_0x468b32)[_0x2d2713(0xb1)](tt),'updateComment':({channelId:_0xa95130,threadId:_0x1a68e4,commentId:_0x18b9f8,content:_0x11bcd6,attributes:_0x4c57f9})=>this[_0x2d2713(0x73)](_0xa95130)[_0x2d2713(0xbf)](_0x1a68e4,_0x18b9f8,_0x11bcd6,_0x4c57f9)[_0x2d2713(0xb1)](Z)[_0x2d2713(0xb1)](tt),'removeComment':({channelId:_0x292cc1,threadId:_0x375138,commentId:_0x2dc43e})=>this[_0x2d2713(0x73)](_0x292cc1)[_0x2d2713(0xd1)](_0x375138,_0x2dc43e)[_0x2d2713(0xb1)](Z)[_0x2d2713(0xb1)](tt)},_0x3fc9c0 instanceof _0x545cda){const _0x222561=_0x3fc9c0[_0x2d2713(0x7c)][_0x2d2713(0x76)](_0x2d2713(0xa2)),_0x59f513=_0x3fc9c0[_0x2d2713(0x95)][_0x2d2713(0x76)](_0x435c65);await this[_0x2d2713(0x9c)](_0x222561);const _0x22bc17=await this[_0x2d2713(0xbb)][_0x2d2713(0x76)](_0x222561)[_0x2d2713(0xd7)]();this[_0x2d2713(0xa8)](_0x59f513,_0x2d2713(0x9b)+_0x222561,(_0x6881a0,{session:_0x3c4305})=>{const _0x368e79=_0x2d2713;_0x3c4305['id']===_0x59f513[_0x368e79(0x96)]&&(_0x6881a0[_0x368e79(0xa5)](),this[_0x368e79(0xd4)][_0x368e79(0x95)][_0x368e79(0x76)](_0x368e79(0x7f))[_0x368e79(0x8a)](_0x3c4305[_0x368e79(0x9a)],_0x222561));}),_0x59f513[_0x2d2713(0x74)](_0x222561,_0x22bc17);}}async[_0x4a9002(0x9c)](_0x193ab4){const _0x2b5701=_0x4a9002;if(this[_0x2b5701(0xbb)][_0x2b5701(0xa9)](_0x193ab4))throw new _0x1fc73f(_0x2b5701(0xa0),null,{'channelId':_0x193ab4});const _0x23af8f=this[_0x2b5701(0xd4)][_0x2b5701(0x95)][_0x2b5701(0x76)](_0x2b5701(0xd8)),_0x3be90a=new s[(_0x2b5701(0xba))](_0x193ab4);this[_0x2b5701(0xbb)][_0x2b5701(0xa4)](_0x193ab4,_0x3be90a),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0xaf),(_0x82b947,_0xd0a8c8)=>{const _0x27e5ed=_0x2b5701,{commentThreadId:_0x123910,documentId:_0x96948e,context:_0x146187,attributes:_0x4d53a3,resolvedAt:_0x23ab39,resolvedBy:_0xd0e75f,comments:_0x419f29}=_0xd0a8c8;_0x23af8f[_0x27e5ed(0xcf)](_0x123910)||_0x23af8f[_0x27e5ed(0x8e)]({'threadId':_0x123910,'channelId':_0x96948e,'comments':_0x419f29?_0x419f29[_0x27e5ed(0xb5)](et):[],'context':_0x146187,'attributes':_0x4d53a3,'resolvedAt':_0x23ab39,'resolvedBy':_0xd0e75f,'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0x82),(_0x3b98f6,{commentThreadId:_0x505018,documentId:_0x128bc9,context:_0x4aeb85,unlinkedAt:_0x2b018f,attributes:_0x1edb2e})=>{const _0x30867=_0x2b5701;_0x23af8f[_0x30867(0xcf)](_0x505018)&&_0x23af8f[_0x30867(0xb2)]({'threadId':_0x505018,'channelId':_0x128bc9,'context':_0x4aeb85,'unlinkedAt':_0x2b018f,'attributes':_0x1edb2e,'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0xd3),(_0xb1d68e,{commentThreadId:_0x568745,resolvedBy:_0x5d8dbf,resolvedAt:_0x441787})=>{const _0x316f66=_0x2b5701,_0x122dcd=_0x23af8f[_0x316f66(0xcf)](_0x568745);_0x122dcd&&_0x122dcd[_0x316f66(0xc4)]({'resolvedBy':_0x5d8dbf,'resolvedAt':_0x441787,'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0x9e),(_0xde34c3,{commentThreadId:_0x552446})=>{const _0x4c27b1=_0x2b5701,_0x1b66e8=_0x23af8f[_0x4c27b1(0xcf)](_0x552446);_0x1b66e8&&_0x1b66e8[_0x4c27b1(0xbe)]({'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0xc9),(_0x1e669f,{commentThreadId:_0x253dc9})=>{const _0xec0efa=_0x2b5701,_0x38780e=_0x23af8f[_0xec0efa(0xcf)](_0x253dc9);_0x38780e&&_0x38780e[_0xec0efa(0xc1)]({'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0xcc),(_0x82d1ed,_0x13314d)=>{const _0x2eb10b=_0x2b5701,_0x13045a=_0x13314d[_0x2eb10b(0x85)],_0x271198=_0x23af8f[_0x2eb10b(0xcf)](_0x13045a);_0x271198&&_0x271198[_0x2eb10b(0xb9)]({...et(_0x13314d),'isFromAdapter':!0x0});}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0xc2),(_0x27a79d,{commentThreadId:_0x2a2c32,commentId:_0x453bc3,content:_0x3a7134,attributes:_0x1b35e7})=>{const _0x26cc42=_0x2b5701,_0x3b0fde=_0x23af8f[_0x26cc42(0xcf)](_0x2a2c32);if(_0x3b0fde){const _0x5b8630=_0x3b0fde[_0x26cc42(0x79)](_0x453bc3);_0x5b8630&&_0x5b8630[_0x26cc42(0x7e)]({'content':_0x3a7134,'attributes':_0x1b35e7,'isFromAdapter':!0x0});}}),this[_0x2b5701(0xa8)](_0x3be90a,_0x2b5701(0x90),(_0x31d9ce,{commentThreadId:_0x5c3205,commentId:_0xf0a629})=>{const _0x77763d=_0x2b5701,_0x35eee9=_0x23af8f[_0x77763d(0xcf)](_0x5c3205);if(_0x35eee9){const _0x108b09=_0x35eee9[_0x77763d(0x79)](_0xf0a629);_0x108b09&&_0x108b09[_0x77763d(0xc1)]({'isFromAdapter':!0x0});}}),await this[_0x2b5701(0xaa)](_0x193ab4);}[_0x4a9002(0x9f)](){const _0xeebfe1=_0x4a9002;if(this[_0xeebfe1(0xd4)]instanceof _0x545cda){const _0x5a7209=this[_0xeebfe1(0xd4)][_0xeebfe1(0x7c)][_0xeebfe1(0x76)](_0xeebfe1(0xa2));this[_0xeebfe1(0x93)](_0x5a7209);}}[_0x4a9002(0x93)](_0x538f34){const _0x5b9c6c=_0x4a9002;if(!this[_0x5b9c6c(0xbb)][_0x5b9c6c(0xa9)](_0x538f34))throw new _0x1fc73f(_0x5b9c6c(0x8b),null,{'channelId':_0x538f34});this[_0x5b9c6c(0x73)](_0x538f34)[_0x5b9c6c(0xca)](),this[_0x5b9c6c(0xbb)][_0x5b9c6c(0x78)](_0x538f34);}async[_0x4a9002(0x8c)](){const _0x40fba3=_0x4a9002;for(const _0x596bde of this[_0x40fba3(0xbb)][_0x40fba3(0x84)]())await this[_0x40fba3(0xaa)](_0x596bde);if(this[_0x40fba3(0xd4)]instanceof _0x545cda){const _0x235b9d=this[_0x40fba3(0xd4)][_0x40fba3(0x7c)][_0x40fba3(0x76)](_0x40fba3(0xa2)),_0x3b6884=this[_0x40fba3(0xd4)][_0x40fba3(0x95)][_0x40fba3(0x76)](_0x435c65);_0x3b6884[_0x40fba3(0xc5)](_0x235b9d);const _0x12e7c3=await this[_0x40fba3(0xbb)][_0x40fba3(0x76)](_0x235b9d)[_0x40fba3(0xd7)]();_0x3b6884[_0x40fba3(0x74)](_0x235b9d,_0x12e7c3);}}async[_0x4a9002(0xaa)](_0x501a68){const _0x580976=_0x4a9002,{connection:_0x45eabb}=this[_0x580976(0xd4)][_0x580976(0x95)][_0x580976(0x76)](_0x46319f),_0x3b4a06=this[_0x580976(0xd4)][_0x580976(0x95)][_0x580976(0x76)](_0x580976(0xd8)),_0x42cac2=this[_0x580976(0xbb)][_0x580976(0x76)](_0x501a68),_0x5169c7=await _0x42cac2[_0x580976(0x86)](_0x45eabb);await this[_0x580976(0xcb)](_0x5169c7);const _0x567c74=new Set(Array[_0x580976(0x9d)](_0x3b4a06[_0x580976(0x87)]({'channelId':_0x501a68}),_0x17d6ed=>_0x17d6ed['id']));for(const _0x578ea1 of _0x5169c7)_0x578ea1[_0x580976(0x81)]||_0x567c74[_0x580976(0x78)](_0x578ea1[_0x580976(0x85)]);for(const _0x1d1f11 of _0x567c74)_0x3b4a06[_0x580976(0xcf)](_0x1d1f11)[_0x580976(0xc1)]({'isFromAdapter':!0x0});for(const _0x35155d of _0x5169c7){let _0x1fe022=_0x3b4a06[_0x580976(0xcf)](_0x35155d[_0x580976(0x85)]);const {commentThreadId:_0x1a25da,context:_0x613107,attributes:_0x1c6462,resolvedBy:_0x37c50e,resolvedAt:_0x512472,unlinkedAt:_0x2a8295,deletedAt:_0x31f8e1}=_0x35155d;if(_0x31f8e1)continue;_0x1fe022||(_0x1fe022=_0x3b4a06[_0x580976(0x8e)]({'channelId':_0x501a68,'threadId':_0x1a25da,'context':_0x613107,'attributes':_0x1c6462||{},'resolvedBy':_0x37c50e,'resolvedAt':_0x512472,'unlinkedAt':_0x2a8295,'isFromAdapter':!0x0}));const _0x32a925=new Set(Array[_0x580976(0x9d)](_0x1fe022[_0x580976(0xd6)],_0x17db50=>_0x17db50['id']));for(const _0x4857d4 of _0x35155d[_0x580976(0xd6)])_0x32a925[_0x580976(0x78)](_0x4857d4[_0x580976(0xab)]);for(const _0x3542b6 of _0x32a925)_0x1fe022[_0x580976(0x79)](_0x3542b6)[_0x580976(0xc1)]({'isFromAdapter':!0x0});for(const _0x3f49a4 of _0x35155d[_0x580976(0xd6)]){const _0x36054a=_0x1fe022[_0x580976(0x79)](_0x3f49a4[_0x580976(0xab)]);_0x36054a?_0x36054a[_0x580976(0xcd)]!==_0x3f49a4[_0x580976(0xcd)]&&_0x36054a[_0x580976(0x7e)]({'content':_0x3f49a4[_0x580976(0xcd)],'isFromAdapter':!0x0}):_0x1fe022[_0x580976(0xb9)](Object[_0x580976(0xc3)](et(_0x3f49a4),{'isFromAdapter':!0x0}));}}}[_0x4a9002(0x73)](_0x5ce105){const _0x321cbf=_0x4a9002;if(!this[_0x321cbf(0xbb)][_0x321cbf(0xa9)](_0x5ce105))throw new _0x1fc73f(_0x321cbf(0x7b),null,{'channelId':_0x5ce105});return this[_0x321cbf(0xbb)][_0x321cbf(0x76)](_0x5ce105);}async[_0x4a9002(0xcb)](_0x50f4bc){const _0x4eea77=_0x4a9002,_0x3a3d73=this[_0x4eea77(0xd4)][_0x4eea77(0x95)][_0x4eea77(0x76)](_0x3259f1),{connection:_0xba56ec}=this[_0x4eea77(0xd4)][_0x4eea77(0x95)][_0x4eea77(0x76)](_0x46319f),_0x17bb7a=new Set();for(const {resolvedBy:_0x61752e,comments:_0x1361ca}of _0x50f4bc){_0x61752e&&!_0x3a3d73[_0x4eea77(0xb4)](_0x61752e)&&_0x17bb7a[_0x4eea77(0xac)](_0x61752e);for(const {userId:_0x3c86a4}of _0x1361ca)_0x3a3d73[_0x4eea77(0xb4)](_0x3c86a4)||_0x17bb7a[_0x4eea77(0xac)](_0x3c86a4);}if(0x0===_0x17bb7a[_0x4eea77(0xc6)])return;const _0x303373=await _0x4728f0[_0x4eea77(0x80)](_0xba56ec,Array[_0x4eea77(0x9d)](_0x17bb7a));for(const _0x1aa883 of _0x303373)_0x3a3d73[_0x4eea77(0xb4)](_0x1aa883['id'])||_0x3a3d73[_0x4eea77(0x98)](_0x1aa883);}}function _0xe885(_0x4111ed,_0x1824d9){const _0x4e82cd=_0x4e82();return _0xe885=function(_0xe88526,_0x1b2635){_0xe88526=_0xe88526-0x73;let _0x490758=_0x4e82cd[_0xe88526];return _0x490758;},_0xe885(_0x4111ed,_0x1824d9);}export{s as CloudServicesCommentsAdapter};async function Z(_0x210b6e){const _0x4b0a30=_0x4a9002;if(_0x4b0a30(0xb8)!==_0x210b6e[_0x4b0a30(0xd0)])throw _0x210b6e;}function tt(_0x2b406c){const _0x1438ab=_0x4a9002;if((_0x497a64=_0x2b406c)[_0x1438ab(0x7a)][_0x1438ab(0x8d)](_0x1438ab(0xa6))||_0x497a64[_0x1438ab(0x7a)][_0x1438ab(0x8d)](_0x1438ab(0xa7))||_0x497a64[_0x1438ab(0x7a)][_0x1438ab(0x8d)](_0x1438ab(0xb0)))return new Promise(()=>{});var _0x497a64;throw _0x2b406c;}function et(_0x139ac0){const _0xb35056=_0x4a9002;return{'threadId':_0x139ac0[_0xb35056(0x85)],'commentId':_0x139ac0[_0xb35056(0xab)],'content':_0x139ac0[_0xb35056(0xcd)],'createdAt':_0x139ac0[_0xb35056(0xc8)],'authorId':_0x139ac0[_0xb35056(0xd2)],'attributes':_0x139ac0[_0xb35056(0x83)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xd4f5c3=_0x137d;function _0x137d(_0x1ae598,_0x5173e0){const _0x3481cb=_0x3481();return _0x137d=function(_0x137d54,_0x36b4e3){_0x137d54=_0x137d54-0x16e;let _0x357e67=_0x3481cb[_0x137d54];return _0x357e67;},_0x137d(_0x1ae598,_0x5173e0);}(function(_0x1c4109,_0x476005){const _0x48277c=_0x137d,_0x30e7e2=_0x1c4109();while(!![]){try{const _0x512097=-parseInt(_0x48277c(0x17b))/0x1*(-parseInt(_0x48277c(0x172))/0x2)+parseInt(_0x48277c(0x188))/0x3+parseInt(_0x48277c(0x183))/0x4+parseInt(_0x48277c(0x187))/0x5+-parseInt(_0x48277c(0x182))/0x6*(parseInt(_0x48277c(0x18a))/0x7)+parseInt(_0x48277c(0x18d))/0x8+-parseInt(_0x48277c(0x16e))/0x9*(parseInt(_0x48277c(0x17e))/0xa);if(_0x512097===_0x476005)break;else _0x30e7e2['push'](_0x30e7e2['shift']());}catch(_0x29cad9){_0x30e7e2['push'](_0x30e7e2['shift']());}}}(_0x3481,0xb023b));import{Plugin as _0x4078b2}from'ckeditor5/src/core.js';function _0x3481(){const _0x68429a=['change:state','data','294EVlXIk','306252UrFDQx','CommentsEditing','_setUpService','_terminateService','2999460vPiRlJ','4159089IcRfBx','requires','152740QpObfA','RealTimeCollaborativeComments','get','8988640MytRSA','isThreadsLoadingPaused','collaboration.channelId','CommentsRepository','23370696UTAKZF','isPremiumPlugin','editor','config','2401986NekcmE','pluginName','once','init','Comments','plugins','listenTo','ready','switchReadOnly','1yPgAui','destroy','isOfficialPlugin','10MxzfPt','connected'];_0x3481=function(){return _0x68429a;};return _0x3481();}import{CloudServicesCommentsAdapter as _0x441287}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x53d1e3}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x620092}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4078b2{static get[_0xd4f5c3(0x189)](){const _0x2bb0ee=_0xd4f5c3;return[_0x2bb0ee(0x176),_0x441287,_0x53d1e3,_0x620092];}static get[_0xd4f5c3(0x173)](){const _0x527b06=_0xd4f5c3;return _0x527b06(0x18b);}static get[_0xd4f5c3(0x17d)](){return!0x0;}static get[_0xd4f5c3(0x16f)](){return!0x0;}[_0xd4f5c3(0x175)](){const _0x301b1d=_0xd4f5c3,_0x322f46=this[_0x301b1d(0x170)][_0x301b1d(0x177)][_0x301b1d(0x18c)](_0x620092),_0xf70685=this[_0x301b1d(0x170)][_0x301b1d(0x177)][_0x301b1d(0x18c)](_0x301b1d(0x184)),_0x2ecfda=this[_0x301b1d(0x170)][_0x301b1d(0x177)][_0x301b1d(0x18c)](_0x441287);return this[_0x301b1d(0x170)][_0x301b1d(0x181)][_0x301b1d(0x174)](_0x301b1d(0x179),()=>{const _0x8462f2=_0x301b1d;this[_0x8462f2(0x178)](_0x322f46,_0x8462f2(0x180),(_0x241b82,_0x38e4f1,_0x2de0da)=>{const _0x4f991a=_0x8462f2;_0xf70685[_0x4f991a(0x18e)]=_0x4f991a(0x17f)!==_0x2de0da;});}),this[_0x301b1d(0x178)](_0x322f46,_0x301b1d(0x180),(_0x20267d,_0x70db3a,_0x4fd38c)=>{const _0x30cdbd=_0x301b1d;this[_0x30cdbd(0x170)][_0x30cdbd(0x177)][_0x30cdbd(0x18c)](_0x30cdbd(0x190))[_0x30cdbd(0x17a)](_0x30cdbd(0x17f)!==_0x4fd38c);}),_0x2ecfda[_0x301b1d(0x185)](this[_0x301b1d(0x170)][_0x301b1d(0x171)][_0x301b1d(0x18c)](_0x301b1d(0x18f)));}[_0xd4f5c3(0x17c)](){const _0x48aea1=_0xd4f5c3;this[_0x48aea1(0x170)][_0x48aea1(0x177)][_0x48aea1(0x18c)](_0x441287)[_0x48aea1(0x186)](this[_0x48aea1(0x170)][_0x48aea1(0x171)][_0x48aea1(0x18c)](_0x48aea1(0x18f))),super[_0x48aea1(0x17c)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x8816df)());[_0x1bea44(0x126)];[_0x1bea44(0x193)];[_0x1bea44(0x18f)];[_0x1bea44(0x1a1)];[_0x1bea44(0x10e)];[_0x1bea44(0x162)];[_0x1bea44(0x1b9)];[_0x1bea44(0x198)];[_0x1bea44(0x190)];[_0x1bea44(0x15b)];[_0x1bea44(0x112)];[_0x1bea44(0x1b1)];[_0x1bea44(0x116)];[_0x1bea44(0x114)];[_0x1bea44(0x1d7)];[_0x1bea44(0x1a5)];[_0x1bea44(0x16b)];[_0x1bea44(0x1b7)];static get[_0x1bea44(0x19d)](){return[_0x47cf5e,_0x10f393,_0x13b1ce,_0x33ad1c,_0x5afec8,_0x211d0a];}static get[_0x1bea44(0x189)](){const _0x2bab8b=_0x1bea44;return _0x2bab8b(0x1ce);}static get[_0x1bea44(0x1e5)](){return!0x0;}static get[_0x1bea44(0x1e0)](){return!0x0;}get[_0x1bea44(0x1a4)](){const _0x3e3aef=_0x1bea44;return this[_0x3e3aef(0x157)]+this[_0x3e3aef(0x126)];}get[_0x1bea44(0x157)](){const _0x4e07c0=_0x1bea44;return this[_0x4e07c0(0x18f)][_0x4e07c0(0x118)]-this[_0x4e07c0(0x126)];}get[_0x1bea44(0x132)](){const _0x4f7607=_0x1bea44,_0x92d356=this[_0x4f7607(0x18f)][_0x4f7607(0x204)]();for(let _0x41d6c3=_0x92d356[_0x4f7607(0x195)]-0x1;_0x41d6c3>=0x0;_0x41d6c3--){const _0x9616d5=_0x92d356[_0x41d6c3];if(!this[_0x4f7607(0x16b)][_0x4f7607(0x1c0)](_0x9616d5))return _0x9616d5[_0x4f7607(0x128)]+0x1-this[_0x4f7607(0x126)];}return 0x0;}constructor(_0x672f4){const _0x50df61=_0x1bea44;if(super(_0x672f4),this[_0x50df61(0x126)]=0x0,this[_0x50df61(0x193)]=null,this[_0x50df61(0x18f)]=new _0x461d0d(),this[_0x50df61(0x19b)][_0x50df61(0x1e3)][_0x50df61(0x1b4)](_0x50df61(0x15f),{}),this[_0x50df61(0x1a1)]=this[_0x50df61(0x19b)][_0x50df61(0x1e3)][_0x50df61(0x1b8)](_0x50df61(0x11b)),!this[_0x50df61(0x1a1)])throw new _0x58a5ab(_0x50df61(0x1a8),this);const _0x329791=_0x672f4[_0x50df61(0x1e3)][_0x50df61(0x1b8)](_0x50df61(0x149))||_0x3a98c4;this[_0x50df61(0x10e)]=new l[(_0x50df61(0x1b5))](_0x329791,this[_0x50df61(0x1a1)]),this[_0x50df61(0x162)]=this[_0x50df61(0x19b)][_0x50df61(0x1e6)][_0x50df61(0x176)],this[_0x50df61(0x1b9)]=new _0x4a9e91(),this[_0x50df61(0x198)]=[],this[_0x50df61(0x190)]=new WeakSet(),this[_0x50df61(0x15b)]=new Set(),this[_0x50df61(0x1d3)](_0x50df61(0x1fd),!0x1),this[_0x50df61(0x1d3)](_0x50df61(0x18e),!0x1),this[_0x50df61(0x112)]=null,this[_0x50df61(0x1b1)]=!0x1,this[_0x50df61(0x116)]=null,this[_0x50df61(0x114)]=0x12c,this[_0x50df61(0x1d7)]=this[_0x50df61(0x114)],this[_0x50df61(0x1a5)]=null,this[_0x50df61(0x16b)]=new WeakSet(),this[_0x50df61(0x1b7)]=new J(this[_0x50df61(0x16b)]);}[_0x1bea44(0x1a6)](){const _0x5e23a8=_0x1bea44,_0x1c9857=this[_0x5e23a8(0x19b)],_0xc8e943=_0x1c9857[_0x5e23a8(0x1a2)][_0x5e23a8(0x1b8)](_0x5afec8),_0x593ee8=_0x1c9857[_0x5e23a8(0x1a2)][_0x5e23a8(0x1b8)](_0x47cf5e);this[_0x5e23a8(0x1f6)](_0xc8e943,_0x5e23a8(0x1df),(_0x280729,_0xd18f10)=>{const _0x2fcce8=_0x5e23a8,_0x27d96d=_0xd18f10[0x0];_0x27d96d[_0x2fcce8(0x1d2)]&&(_0x280729[_0x2fcce8(0x170)]=_0xc8e943[_0x2fcce8(0x17a)](_0x27d96d[_0x2fcce8(0x1d2)]),_0x280729[_0x2fcce8(0x169)]()),null===_0x27d96d[_0x2fcce8(0x1d2)]&&(_0x280729[_0x2fcce8(0x170)]=null,_0x280729[_0x2fcce8(0x169)]());},{'priority':_0x5e23a8(0x197)}),this[_0x5e23a8(0x1f6)](_0x1c9857[_0x5e23a8(0x1e6)][_0x5e23a8(0x176)][_0x5e23a8(0x1dd)],_0x5e23a8(0x19f),(_0x521ed3,_0x5b296a)=>{const _0x579439=_0x5e23a8;_0x5b296a[_0x579439(0x1f2)]&&this[_0x579439(0x165)]();}),this[_0x5e23a8(0x1f6)](_0x1c9857[_0x5e23a8(0x14d)][_0x5e23a8(0x138)],_0x5e23a8(0x1ed),()=>{const _0x19dc38=_0x5e23a8;this[_0x19dc38(0x165)]();}),this[_0x5e23a8(0x1f5)](),_0x1c9857[_0x5e23a8(0x1e6)]['on'](_0x5e23a8(0x13e),(_0x4c4218,_0x30643e)=>{const _0x4047cf=_0x5e23a8,_0x5d7eb4=_0x30643e[0x0];_0x5d7eb4[_0x4047cf(0x1e4)]&&(this[_0x4047cf(0x202)](_0x5d7eb4),this[_0x4047cf(0x1de)]()&&this[_0x4047cf(0x1f8)]());}),this[_0x5e23a8(0x139)](),this[_0x5e23a8(0x135)](_0x5e23a8(0x1cc))['to'](_0x593ee8,_0x5e23a8(0x1f9),this,_0x5e23a8(0x18e),(_0x29c720,_0x17f6be)=>_0x5e23a8(0x1c7)===_0x29c720&&!_0x17f6be),this['on'](_0x5e23a8(0x11d),()=>{const _0x49b041=_0x5e23a8;this[_0x49b041(0x1cc)]?_0x1c9857[_0x49b041(0x1f3)](_0x49b041(0x1a3)):_0x1c9857[_0x49b041(0x15a)](_0x49b041(0x1a3));}),this[_0x5e23a8(0x1cc)]?_0x1c9857[_0x5e23a8(0x1f3)](_0x5e23a8(0x1a3)):_0x1c9857[_0x5e23a8(0x15a)](_0x5e23a8(0x1a3)),this[_0x5e23a8(0x1d3)](_0x5e23a8(0x1bd),!0x1);}async[_0x1bea44(0x11f)](){const _0x5417c9=_0x1bea44,_0x1d3428=this[_0x5417c9(0x19b)][_0x5417c9(0x1a2)][_0x5417c9(0x1b8)](_0x10f393),_0x3be0ec=this[_0x5417c9(0x19b)][_0x5417c9(0x1a2)][_0x5417c9(0x1b8)](_0x47cf5e);try{this[_0x5417c9(0x1fd)]=!0x0,_0x1d3428[_0x5417c9(0x13c)](this[_0x5417c9(0x1a1)]);const _0x4141b3=await this[_0x5417c9(0x10e)][_0x5417c9(0x11f)](_0x3be0ec[_0x5417c9(0x1eb)],this[_0x5417c9(0x132)]);await this[_0x5417c9(0x151)](_0x4141b3)&&(this[_0x5417c9(0x1fd)]=!0x1,this[_0x5417c9(0x1c2)]());const _0x185256=await this[_0x5417c9(0x10e)][_0x5417c9(0x13a)]();_0x1d3428[_0x5417c9(0x142)](this[_0x5417c9(0x1a1)],_0x185256),this[_0x5417c9(0x10f)](),this[_0x5417c9(0x1bd)]=!0x0;}catch(_0x4bc8ec){if(function(_0x38dae5){const _0x30e382=_0x5417c9;return _0x30e382(0x13b)===_0x38dae5[_0x30e382(0x1ac)];}(_0x4bc8ec)&&this[_0x5417c9(0x193)])await this[_0x5417c9(0x134)]();else{if(function(_0x7e8a9a){const _0x4b70b3=_0x5417c9;return _0x4b70b3(0x1b0)===_0x7e8a9a[_0x4b70b3(0x1ac)];}(_0x4bc8ec)){const _0x419571=_0x4a75f7(this[_0x5417c9(0x19b)][_0x5417c9(0x11c)],_0x5417c9(0x130));this[_0x5417c9(0x1be)](_0x419571);}else{if(!(_0x4bc8ec instanceof $))throw _0x4bc8ec;this[_0x5417c9(0x1be)]();}}}}[_0x1bea44(0x1c5)](){const _0x47f5b2=_0x1bea44,_0x48c442=this[_0x47f5b2(0x19b)][_0x47f5b2(0x1a2)][_0x47f5b2(0x1b8)](_0x47cf5e),_0x185c0a=this[_0x47f5b2(0x19b)][_0x47f5b2(0x1a2)][_0x47f5b2(0x1b8)](_0x10f393);this[_0x47f5b2(0x19b)][_0x47f5b2(0x15a)](_0x47f5b2(0x191)),_0x185c0a[_0x47f5b2(0x19e)][_0x47f5b2(0x1c0)](this[_0x47f5b2(0x1a1)])&&_0x185c0a[_0x47f5b2(0x13c)](this[_0x47f5b2(0x1a1)]),_0x48c442[_0x47f5b2(0x17e)](this),this[_0x47f5b2(0x154)](),super[_0x47f5b2(0x1c5)]();}async[_0x1bea44(0x151)](_0x4d0428){const _0x4347ba=_0x1bea44;if(this[_0x4347ba(0x193)]!==_0x4d0428[_0x4347ba(0x193)]&&this[_0x4347ba(0x1a5)]!==_0x4d0428[_0x4347ba(0x1ef)])throw new $();return this[_0x4347ba(0x193)]=_0x4d0428[_0x4347ba(0x193)],this[_0x4347ba(0x1e1)]([],{..._0x4d0428,'wereChangesApplied':!0x1,'data':_0x4d0428[_0x4347ba(0x160)]},_0x4347ba(0x11f));}async[_0x1bea44(0x184)](_0x2245fe,_0x40c494=!0x1){const _0x4034da=_0x1bea44,{connection:_0x235368}=this[_0x4034da(0x19b)][_0x4034da(0x1a2)][_0x4034da(0x1b8)](_0x47cf5e);l[_0x4034da(0x1b5)][_0x4034da(0x13a)](_0x235368,this[_0x4034da(0x1a1)])[_0x4034da(0x1c4)](_0x4d8340=>this[_0x4034da(0x120)](_0x4d8340))[_0x4034da(0x143)](_0x2fc8ad=>{const _0x543d81=_0x4034da;this[_0x543d81(0x16c)](_0x543d81(0x178),_0x2fc8ad);}),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x1d6),this[_0x4034da(0x18a)][_0x4034da(0x135)](this)),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x188),(_0x5278d6,_0x10b0d6)=>{const _0x229fe3=_0x4034da;this[_0x229fe3(0x16c)](_0x229fe3(0x192),_0x10b0d6);}),this[_0x4034da(0x1f6)](this[_0x4034da(0x10e)],_0x4034da(0x1cb),()=>{const _0x43f6ee=_0x4034da;this[_0x43f6ee(0x1bd)]=!0x1;});const _0x3f5811=this[_0x4034da(0x1b7)][_0x4034da(0x194)](_0x2245fe);this[_0x4034da(0x1fd)]=!0x0;const _0x2c465b=await this[_0x4034da(0x10e)][_0x4034da(0x1b3)](_0x235368,this[_0x4034da(0x12d)](_0x2245fe),_0x3f5811);if(this[_0x4034da(0x193)]=_0x2c465b[_0x4034da(0x193)],_0x40c494){if(!_0x2c465b[_0x4034da(0x16a)])return void this[_0x4034da(0x1be)]();this[_0x4034da(0x1fd)]=!0x1,this[_0x4034da(0x1c2)](),this[_0x4034da(0x18f)][_0x4034da(0x167)](),this[_0x4034da(0x126)]=_0x2c465b[_0x4034da(0x1a7)],this[_0x4034da(0x18f)][_0x4034da(0x118)]=this[_0x4034da(0x126)],await this[_0x4034da(0x1e1)](_0x2245fe,_0x2c465b,_0x4034da(0x11a));}else await this[_0x4034da(0x129)](_0x2c465b,_0x2245fe);this[_0x4034da(0x10f)](),this[_0x4034da(0x1bd)]=!0x0;}[_0x1bea44(0x10f)](){const _0x598145=_0x1bea44,_0x4610e0=this[_0x598145(0x19b)][_0x598145(0x1a2)][_0x598145(0x1b8)](_0x10f393),_0x36d3f1=this[_0x598145(0x19b)][_0x598145(0x1a2)][_0x598145(0x1b8)](_0x13b1ce),_0x43e9de=_0x4610e0[_0x598145(0x19e)][_0x598145(0x1b8)](this[_0x598145(0x1a1)]);_0x43e9de&&_0x43e9de[_0x598145(0x195)]>0x1?_0x36d3f1[_0x598145(0x1ec)]():this[_0x598145(0x1f6)](_0x4610e0,_0x598145(0x19c)+this[_0x598145(0x1a1)],()=>{const _0x3fd1d2=_0x598145;0x2===_0x4610e0[_0x3fd1d2(0x19e)][_0x3fd1d2(0x1b8)](this[_0x3fd1d2(0x1a1)])[_0x3fd1d2(0x195)]&&_0x36d3f1[_0x3fd1d2(0x1ec)]();});}async[_0x1bea44(0x18a)](_0x4ba033,_0x204c27,_0x546127,_0xcfc389){const _0xf4a10f=_0x1bea44;if(!this[_0xf4a10f(0x1fd)]&&this[_0xf4a10f(0x162)][_0xf4a10f(0x118)]==_0x204c27){const _0x1d7143=this[_0xf4a10f(0x145)](_0x546127,_0xcfc389);await this[_0xf4a10f(0x1ba)](_0x1d7143),this[_0xf4a10f(0x207)](_0x1d7143,_0x204c27,_0x546127[_0xf4a10f(0x1ef)])||this[_0xf4a10f(0x16c)](_0xf4a10f(0x158));}}async[_0x1bea44(0x134)](){const _0x29044c=_0x1bea44;this[_0x29044c(0x154)]();const {locale:_0x5378ae}=this[_0x29044c(0x19b)];let _0x5b48c9;try{_0x5b48c9=await this[_0x29044c(0x10e)][_0x29044c(0x1d1)]();}catch{const _0x19425a=_0x4a75f7(_0x5378ae,_0x29044c(0x155));return void this[_0x29044c(0x1be)](_0x19425a);}const _0x123f82=_0x5b48c9[_0x29044c(0x122)]||_0x5b48c9[_0x29044c(0x208)];if(this[_0x29044c(0x1a5)]!==_0x123f82[_0x29044c(0x1ef)]){const _0xedef52=_0x4a75f7(_0x5378ae,_0x29044c(0x1f1));return void this[_0x29044c(0x1be)](_0xedef52);}await this[_0x29044c(0x184)](this[_0x29044c(0x19b)][_0x29044c(0x1e6)][_0x29044c(0x176)][_0x29044c(0x185)][_0x29044c(0x204)](),!0x0);}[_0x1bea44(0x154)](){const _0x20799c=_0x1bea44;this[_0x20799c(0x10e)][_0x20799c(0x127)](),this[_0x20799c(0x198)]=[],clearTimeout(this[_0x20799c(0x116)]),this[_0x20799c(0x15c)](this[_0x20799c(0x10e)]);}[_0x1bea44(0x120)](_0xe53d78){const _0x39cb02=_0x1bea44,_0x22aa56=this[_0x39cb02(0x19b)][_0x39cb02(0x1a2)][_0x39cb02(0x1b8)](_0x10f393);this[_0x39cb02(0x1f6)](_0x22aa56,_0x39cb02(0x19c)+this[_0x39cb02(0x1a1)],(_0x3afa2b,{session:_0x4eae53})=>{const _0x27c532=_0x39cb02;if(_0x4eae53['id']===_0x22aa56[_0x27c532(0x10a)]){_0x3afa2b[_0x27c532(0x166)]();const _0x2558a8=this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1c0)](_0x27c532(0x14b))&&this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1b8)](_0x27c532(0x14b));let _0x40a3bc=_0x4eae53[_0x27c532(0x1db)];_0x2558a8&&_0x2558a8[_0x27c532(0x172)]&&(_0x40a3bc=_0x40a3bc[_0x27c532(0x152)](_0x2c0a55=>_0x27c532(0x1af)!==_0x2c0a55)),this[_0x27c532(0x19b)][_0x27c532(0x1a2)][_0x27c532(0x1b8)](_0x27c532(0x173))[_0x27c532(0x140)](_0x40a3bc,this[_0x27c532(0x1a1)]);}}),_0x22aa56[_0x39cb02(0x142)](this[_0x39cb02(0x1a1)],_0xe53d78);}[_0x1bea44(0x1f5)](){const _0x115365=_0x1bea44,_0x4d92ff=this[_0x115365(0x19b)][_0x115365(0x160)][_0x115365(0x1d3)];this[_0x115365(0x19b)][_0x115365(0x160)][_0x115365(0x1d3)]=(..._0x160b60)=>{const _0x5c61a0=_0x115365;if(!_0x160b60[_0x160b60[_0x5c61a0(0x195)]-0x1][_0x5c61a0(0x175)])throw new _0x58a5ab(_0x5c61a0(0x1fb),this);_0x4d92ff[_0x5c61a0(0x186)](this[_0x5c61a0(0x19b)][_0x5c61a0(0x160)],_0x160b60);};}[_0x1bea44(0x139)](){const _0x5b09cd=_0x1bea44;this[_0x5b09cd(0x19b)][_0x5b09cd(0x160)]['on'](_0x5b09cd(0x1a6),(_0x195236,[_0x5c357f])=>{const _0x2329fd=_0x5b09cd;if(this[_0x2329fd(0x162)][_0x2329fd(0x118)])throw new _0x58a5ab(_0x2329fd(0x181),this);_0x195236[_0x2329fd(0x169)](),this[_0x2329fd(0x161)]();const _0x248ec8=this[_0x2329fd(0x19b)][_0x2329fd(0x1e3)][_0x2329fd(0x1b8)](_0x2329fd(0x137)),_0xec0f87=this[_0x2329fd(0x199)](_0x5c357f,_0x248ec8);0x0==_0xec0f87[_0x2329fd(0x195)]&&_0xec0f87[_0x2329fd(0x1c6)](new _0x3670fa(0x0)),_0x195236[_0x2329fd(0x170)]=this[_0x2329fd(0x184)](_0xec0f87)[_0x2329fd(0x1c4)](()=>{const _0x35ce37=_0x2329fd;this[_0x35ce37(0x19b)][_0x35ce37(0x1a2)][_0x35ce37(0x1b8)](_0x47cf5e)[_0x35ce37(0x108)](this),this[_0x35ce37(0x19b)][_0x35ce37(0x160)][_0x35ce37(0x1bc)](_0x35ce37(0x203));})[_0x2329fd(0x143)](_0x4d9e4c=>this[_0x2329fd(0x16c)](_0x2329fd(0x205),_0x4d9e4c))[_0x2329fd(0x1a0)](()=>this[_0x2329fd(0x1c2)]());},{'priority':_0x5b09cd(0x197)}),this[_0x5b09cd(0x19b)]['on'](_0x5b09cd(0x1d5),async(_0x370479,[_0x5b7997,_0x141700])=>{const _0x1dcfae=_0x5b09cd;_0x370479[_0x1dcfae(0x169)]();const _0x1a48c4=this[_0x1dcfae(0x19b)][_0x1dcfae(0x1e6)][_0x1dcfae(0x176)][_0x1dcfae(0x1ea)](_0x5b7997);if(!this[_0x1dcfae(0x15b)][_0x1dcfae(0x1c0)](_0x5b7997)){const _0x3b67d9=_0x141700&&_0x141700[_0x1dcfae(0x160)]?_0x141700[_0x1dcfae(0x160)]:'',_0x1441ef=_0x141700&&_0x141700[_0x1dcfae(0x17d)]?_0x141700[_0x1dcfae(0x17d)]:{};await this[_0x1dcfae(0x1ad)](_0x5b7997,_0x3b67d9,_0x1441ef);}this[_0x1dcfae(0x19b)][_0x1dcfae(0x1e6)][_0x1dcfae(0x10c)]({'isUndoable':!0x1},()=>{const _0x577def=_0x1dcfae;_0x1a48c4[_0x577def(0x206)]=!0x0,this[_0x577def(0x19b)][_0x577def(0x1e6)][_0x577def(0x176)][_0x577def(0x144)][_0x577def(0x1f7)](_0x1a48c4);});},{'priority':_0x5b09cd(0x197)});}async[_0x1bea44(0x1ba)](_0x15d9a0){const _0x1b459b=_0x1bea44,_0x42f254=this[_0x1b459b(0x19b)][_0x1b459b(0x1a2)][_0x1b459b(0x1b8)](_0x5afec8),{connection:_0x265ef3}=this[_0x1b459b(0x19b)][_0x1b459b(0x1a2)][_0x1b459b(0x1b8)](_0x47cf5e),_0xe4f5d5=new Set();for(const _0x2a5dbd of _0x15d9a0){const _0x33eabc=_0x2a5dbd[_0x1b459b(0x1d2)];_0x33eabc&&!_0x42f254[_0x1b459b(0x17a)](_0x33eabc)&&_0xe4f5d5[_0x1b459b(0x1e8)](_0x33eabc);}if(0x0===_0xe4f5d5[_0x1b459b(0x1dc)])return;const _0x19cd87=await _0x5215cc[_0x1b459b(0x163)](_0x265ef3,Array[_0x1b459b(0x200)](_0xe4f5d5));for(const _0x344094 of _0x19cd87)_0x42f254[_0x1b459b(0x17a)](_0x344094['id'])||_0x42f254[_0x1b459b(0x133)](_0x344094);}[_0x1bea44(0x199)](_0x33ea84,_0x22b295={}){const _0x1b3ef9=_0x1bea44,_0x5a44ec=this[_0x1b3ef9(0x19b)][_0x1b3ef9(0x1e6)],_0x11cb87=[];let _0x43e833=0x0;const _0x21d2d8=_0x1b3ef9(0x1cf)==typeof _0x33ea84?{'main':_0x33ea84}:_0x33ea84;for(const _0x58ffb7 of Object[_0x1b3ef9(0x1ca)](_0x21d2d8)){if(!this[_0x1b3ef9(0x162)][_0x1b3ef9(0x1aa)][_0x1b3ef9(0x1c0)](_0x58ffb7))throw new _0x58a5ab(_0x1b3ef9(0x17b),this);const _0x1d1f65=this[_0x1b3ef9(0x19b)][_0x1b3ef9(0x160)][_0x1b3ef9(0x1b2)](_0x21d2d8[_0x58ffb7]),_0x44592b=this[_0x1b3ef9(0x162)][_0x1b3ef9(0x1ea)](_0x58ffb7),_0x3a3433=new _0x355a32(_0x5a44ec[_0x1b3ef9(0x1cd)](_0x44592b,0x0),_0x1d1f65,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x3a3433);for(const [_0x4a1e65,_0x52d585]of _0x1d1f65[_0x1b3ef9(0x187)]){const _0x5cd669=_0x5a44ec[_0x1b3ef9(0x14f)](_0x5a44ec[_0x1b3ef9(0x18d)](_0x44592b,_0x52d585[_0x1b3ef9(0x12c)][_0x1b3ef9(0x1fa)][_0x1b3ef9(0x1e7)]()),_0x5a44ec[_0x1b3ef9(0x18d)](_0x44592b,_0x52d585[_0x1b3ef9(0x171)][_0x1b3ef9(0x1fa)][_0x1b3ef9(0x1e7)]())),_0x1420d1=new _0x584013(_0x4a1e65,null,_0x5cd669,_0x5a44ec[_0x1b3ef9(0x187)],!0x0,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x1420d1);}}if(_0x22b295)for(const [_0x1a5f63,_0x4e714f]of Object[_0x1b3ef9(0x1bf)](_0x22b295)){const _0x3b51d5=_0x5a44ec[_0x1b3ef9(0x176)][_0x1b3ef9(0x1ea)](_0x1a5f63);if(!_0x3b51d5)throw new _0x58a5ab(_0x1b3ef9(0x1c3),null);for(const [_0x174768,_0x1a7ebd]of Object[_0x1b3ef9(0x1bf)](_0x4e714f))if(null!==_0x1a7ebd){const _0x14509b=new _0x2c996b(_0x3b51d5,_0x174768,null,_0x1a7ebd,_0x43e833++);_0x11cb87[_0x1b3ef9(0x1c6)](_0x14509b);}}return _0x11cb87;}async[_0x1bea44(0x1ad)](_0x13db9f,_0x105a3e,_0x2426aa){const _0x57fcc8=_0x1bea44;this[_0x57fcc8(0x199)]({[_0x13db9f]:_0x105a3e},{[_0x13db9f]:_0x2426aa})[_0x57fcc8(0x159)]((_0xfd8659,_0x5a5ddd)=>{const _0x428445=_0x57fcc8;_0xfd8659[_0x428445(0x128)]=this[_0x428445(0x162)][_0x428445(0x118)]+_0x5a5ddd,_0xfd8659[_0x428445(0x16e)]=!0x0,this[_0x428445(0x202)](_0xfd8659);}),this[_0x57fcc8(0x1f8)](),await this[_0x57fcc8(0x153)]();}async[_0x1bea44(0x129)](_0x402628,_0x1e4aed){const _0x226043=_0x1bea44;let _0x1791ed;this[_0x226043(0x126)]=_0x402628[_0x226043(0x1a7)];const _0x3aa938=_0x402628[_0x226043(0x16a)]&&!_0x402628[_0x226043(0x150)],_0xa8516=_0x3aa938?0x0:_0x402628[_0x226043(0x160)][_0x226043(0x128)];if(_0x1e4aed[_0x226043(0x159)](_0xf68aa1=>{const _0x44827f=_0x226043;_0xf68aa1[_0x44827f(0x16e)]=!0x0,_0xf68aa1[_0x44827f(0x13d)]=_0x402628[_0x44827f(0x174)],_0xf68aa1[_0x44827f(0x1d2)]=null;}),_0x3aa938)_0x1791ed=_0x1e4aed,this[_0x226043(0x18b)](_0x1791ed,_0x3aa938);else{if(_0x402628[_0x226043(0x150)]){const _0x49ed96=this[_0x226043(0x199)](_0x402628[_0x226043(0x150)]);this[_0x226043(0x162)][_0x226043(0x185)][_0x226043(0x118)]=-_0x49ed96[_0x226043(0x195)],_0x49ed96[_0x226043(0x159)](_0xab98a9=>{const _0xb83d7f=_0x226043;_0xab98a9[_0xb83d7f(0x128)]-=_0x49ed96[_0xb83d7f(0x195)],_0xab98a9[_0xb83d7f(0x13d)]=_0x402628[_0xb83d7f(0x174)],_0xab98a9[_0xb83d7f(0x16e)]=!0x0,_0xab98a9[_0xb83d7f(0x1d2)]=null;}),this[_0x226043(0x18b)](_0x49ed96,!0x0),this[_0x226043(0x18f)][_0x226043(0x118)]=-_0x49ed96[_0x226043(0x195)]+this[_0x226043(0x126)],this[_0x226043(0x1e9)](_0x49ed96);}this[_0x226043(0x162)][_0x226043(0x185)][_0x226043(0x118)]=_0xa8516,_0x1791ed=this[_0x226043(0x145)](_0x402628[_0x226043(0x160)],_0x402628[_0x226043(0x1a9)]),await this[_0x226043(0x1ba)](_0x1791ed),this[_0x226043(0x18b)](_0x1791ed,_0x3aa938);}_0x402628[_0x226043(0x1ef)]&&(this[_0x226043(0x1b7)][_0x226043(0x19a)](_0x1791ed,_0x402628[_0x226043(0x1ef)]),this[_0x226043(0x1a5)]=_0x402628[_0x226043(0x1ef)]),this[_0x226043(0x18f)][_0x226043(0x118)]=_0xa8516+this[_0x226043(0x126)],this[_0x226043(0x1e9)](_0x1791ed),_0x1e4aed[_0x226043(0x152)](_0x374c92=>{const _0x1076c0=_0x226043,_0x48ff79=this[_0x1076c0(0x124)](_0x374c92);return _0x48ff79&&!this[_0x1076c0(0x15b)][_0x1076c0(0x1c0)](_0x48ff79);})[_0x226043(0x159)]((_0x55a3e8,_0x290c85)=>{const _0x379ce0=_0x226043;_0x55a3e8[_0x379ce0(0x128)]=this[_0x379ce0(0x162)][_0x379ce0(0x118)]+_0x290c85,this[_0x379ce0(0x202)](_0x55a3e8);}),this[_0x226043(0x1de)]()?(this[_0x226043(0x1d7)]=0x0,this[_0x226043(0x1f8)](!0x0),await this[_0x226043(0x153)]()):(this[_0x226043(0x1fd)]=!0x1,this[_0x226043(0x1c2)]());}[_0x1bea44(0x16c)](_0x321037,_0x1d9394){const _0x4769f8=_0x1bea44,_0x20e9fe=_0x1d9394&&_0x1d9394[_0x4769f8(0x121)];if(_0x20e9fe&&_0x20e9fe[_0x4769f8(0x1ab)](_0x4769f8(0x16d)))throw _0x1d9394;const _0x3a7a2f=this[_0x4769f8(0x19b)][_0x4769f8(0x1a2)][_0x4769f8(0x1b8)](_0x47cf5e);throw this[_0x4769f8(0x1fd)]=!0x0,_0x3a7a2f[_0x4769f8(0x127)](),this[_0x4769f8(0x19b)][_0x4769f8(0x15a)](_0x4769f8(0x113)),new _0x58a5ab(_0x321037,this[_0x4769f8(0x19b)],_0x20e9fe?{'originalError':_0x20e9fe}:void 0x0);}[_0x1bea44(0x202)](_0x56b22b){const _0x3f244f=_0x1bea44;this[_0x3f244f(0x190)][_0x3f244f(0x1c0)](_0x56b22b)||(this[_0x3f244f(0x190)][_0x3f244f(0x1e8)](_0x56b22b),this[_0x3f244f(0x198)][_0x3f244f(0x1c6)](_0x56b22b),this[_0x3f244f(0x112)]||_0x3f244f(0x177)==_0x56b22b[_0x3f244f(0x209)]&&!_0x56b22b[_0x3f244f(0x1f0)]||this[_0x3f244f(0x161)]());}[_0x1bea44(0x1f8)](_0x3e7fc1=!0x1){const _0x22fb24=_0x1bea44;!_0x3e7fc1&&this[_0x22fb24(0x1fd)]||(this[_0x22fb24(0x1fd)]=!0x0,clearTimeout(this[_0x22fb24(0x116)]),this[_0x22fb24(0x116)]=setTimeout(()=>{const _0x52267a=_0x22fb24;this[_0x52267a(0x10b)]()[_0x52267a(0x1c4)](_0x359b71=>{const _0x34db60=_0x52267a;_0x359b71&&(this[_0x34db60(0x1c2)](),this[_0x34db60(0x1fd)]=!0x1);})[_0x52267a(0x143)](_0x53c740=>{const _0x26d89e=_0x52267a;this[_0x26d89e(0x1c2)](),this[_0x26d89e(0x1fd)]=!0x1,function(_0x2179dc){const _0x516318=_0x26d89e;return _0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x110))||_0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x12e))||_0x2179dc[_0x516318(0x121)][_0x516318(0x1ab)](_0x516318(0x183));}(_0x53c740)||this[_0x26d89e(0x16c)](_0x53c740[_0x26d89e(0x121)],_0x53c740);});},this[_0x22fb24(0x1d7)]));}[_0x1bea44(0x153)](){return new Promise(_0x18f402=>{const _0x436309=_0x49c9;this['on'](_0x436309(0x131),()=>{_0x18f402();});});}async[_0x1bea44(0x10b)](){const _0x2fe250=_0x1bea44,_0x11014f=this[_0x2fe250(0x19b)][_0x2fe250(0x1a2)][_0x2fe250(0x1b8)](_0x13b1ce);if(this[_0x2fe250(0x119)]()&&(_0x11014f[_0x2fe250(0x1ec)](),this[_0x2fe250(0x1b1)]=!0x1),!this[_0x2fe250(0x1de)]())return!0x0;const _0x1d0c8a=[...this[_0x2fe250(0x198)]];for(const _0x351a2e of _0x1d0c8a)_0x351a2e[_0x2fe250(0x182)]=this[_0x2fe250(0x162)][_0x2fe250(0x185)][_0x2fe250(0x1d0)](_0x351a2e);const _0x4a43e7=this[_0x2fe250(0x1b7)][_0x2fe250(0x194)](_0x1d0c8a),_0x2f3711=G++,_0x14932e=this[_0x2fe250(0x12d)](_0x1d0c8a),_0x3046e1=await this[_0x2fe250(0x10e)][_0x2fe250(0x15d)](_0x14932e,_0x14932e[_0x2fe250(0x128)],_0x4a43e7);try{return await this[_0x2fe250(0x1e1)](_0x1d0c8a,_0x3046e1,_0x2f3711);}catch(_0xafbe2e){return this[_0x2fe250(0x16c)](_0x2fe250(0x16f),_0xafbe2e);}}async[_0x1bea44(0x1e1)](_0x1e29a3,_0x5e0648,_0x528741){const _0x2d0d8d=_0x1bea44;if(_0x2d0d8d(0x188)in _0x5e0648)throw _0x5e0648[_0x2d0d8d(0x188)];let _0x259d5f=!0x1;if(_0x5e0648[_0x2d0d8d(0x16a)]){_0x5e0648[_0x2d0d8d(0x1ef)]&&(this[_0x2d0d8d(0x1a5)]=_0x5e0648[_0x2d0d8d(0x1ef)]),this[_0x2d0d8d(0x198)]=this[_0x2d0d8d(0x198)][_0x2d0d8d(0x152)](_0x4f9dd0=>!_0x1e29a3[_0x2d0d8d(0x14c)](_0x4f9dd0));for(const _0x2d1c5a of _0x1e29a3)_0x2d1c5a[_0x2d0d8d(0x13d)]=_0x2d0d8d(0x107)in _0x5e0648&&_0x5e0648[_0x2d0d8d(0x107)]||void 0x0;K(_0x1e29a3,_0x5e0648[_0x2d0d8d(0x118)]-_0x1e29a3[_0x2d0d8d(0x195)]),this[_0x2d0d8d(0x1e9)](_0x1e29a3);const _0x5a7d91=_0x1e29a3[_0x2d0d8d(0x152)](_0x3d2074=>{const _0x833847=_0x2d0d8d;if(!_0x3d2074[_0x833847(0x16e)])return!0x1;const _0x4589b4=this[_0x833847(0x124)](_0x3d2074);return _0x4589b4&&!this[_0x833847(0x15b)][_0x833847(0x1c0)](_0x4589b4);});K(_0x5a7d91,this[_0x2d0d8d(0x162)][_0x2d0d8d(0x118)]),this[_0x2d0d8d(0x18b)](_0x5a7d91),_0x259d5f=!0x0,this[_0x2d0d8d(0x1d7)]=this[_0x2d0d8d(0x114)];}else{const _0x1eb3df=this[_0x2d0d8d(0x145)](_0x5e0648[_0x2d0d8d(0x160)],_0x5e0648[_0x2d0d8d(0x1a9)])[_0x2d0d8d(0x152)](_0x40abae=>_0x40abae[_0x2d0d8d(0x128)]>=this[_0x2d0d8d(0x157)]);_0x1eb3df[_0x2d0d8d(0x159)](_0x23e0c6=>this[_0x2d0d8d(0x179)](_0x23e0c6)),this[_0x2d0d8d(0x198)]=this[_0x2d0d8d(0x198)][_0x2d0d8d(0x152)](_0x1410c6=>!_0x1410c6[_0x2d0d8d(0x16e)]||!this[_0x2d0d8d(0x15b)][_0x2d0d8d(0x1c0)](this[_0x2d0d8d(0x124)](_0x1410c6))),this[_0x2d0d8d(0x198)][_0x2d0d8d(0x195)]&&K(this[_0x2d0d8d(0x198)],this[_0x2d0d8d(0x198)][0x0][_0x2d0d8d(0x128)]),await this[_0x2d0d8d(0x1ba)](_0x1eb3df),_0x259d5f=this[_0x2d0d8d(0x207)](_0x1eb3df,_0x5e0648[_0x2d0d8d(0x118)],_0x5e0648[_0x2d0d8d(0x1ef)]),this[_0x2d0d8d(0x1d7)]=Math[_0x2d0d8d(0x12b)](this[_0x2d0d8d(0x1d7)]/0x2);}return _0x259d5f?!this[_0x2d0d8d(0x1de)]()||(this[_0x2d0d8d(0x1f8)](!0x0),!0x1):this[_0x2d0d8d(0x16c)](_0x2d0d8d(0x10d));}[_0x1bea44(0x207)](_0x2ca459,_0x55ddec,_0x1171f0){const _0x57ee3f=_0x1bea44;try{const _0x5f08c4={'document':this[_0x57ee3f(0x162)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xc0d427,operationsB:_0x265699,originalOperations:_0x4047e2}=_0x44dbdf(_0x2ca459,this[_0x57ee3f(0x198)],_0x5f08c4);K(_0xc0d427,this[_0x57ee3f(0x162)][_0x57ee3f(0x118)]),K(_0x265699,_0x55ddec);for(const _0x484cce of _0xc0d427){const _0x105690=_0x4047e2[_0x57ee3f(0x1b8)](_0x484cce);_0x484cce[_0x57ee3f(0x1d2)]=_0x105690?_0x105690[_0x57ee3f(0x1d2)]:null;}_0x1171f0&&(this[_0x57ee3f(0x1b7)][_0x57ee3f(0x19a)](_0x2ca459,_0x1171f0),this[_0x57ee3f(0x1a5)]=_0x1171f0),this[_0x57ee3f(0x198)]=[..._0x265699],this[_0x57ee3f(0x18b)](_0xc0d427),this[_0x57ee3f(0x1e9)](_0x2ca459);}catch(_0x346552){return console[_0x57ee3f(0x188)](_0x346552),!0x1;}return!0x0;}[_0x1bea44(0x18b)](_0x53c5c3,_0x1bbc39=!0x1){const _0x4dcb63=_0x1bea44;this[_0x4dcb63(0x19b)][_0x4dcb63(0x1e6)][_0x4dcb63(0x10c)]({'isUndoable':!0x1,'isLocal':!0x1},_0x572e32=>{const _0x4997b9=_0x4dcb63;for(const _0x5ac7d9 of _0x53c5c3)this[_0x4997b9(0x190)][_0x4997b9(0x1e8)](_0x5ac7d9),this[_0x4997b9(0x179)](_0x5ac7d9),_0x572e32[_0x4997b9(0x18c)][_0x4997b9(0x1d4)](_0x5ac7d9),this[_0x4997b9(0x19b)][_0x4997b9(0x1e6)][_0x4997b9(0x13e)](_0x5ac7d9);});}[_0x1bea44(0x179)](_0x78c77c){const _0x127c51=_0x1bea44,_0x2ac353=this[_0x127c51(0x124)](_0x78c77c);_0x2ac353&&this[_0x127c51(0x15b)][_0x127c51(0x1e8)](_0x2ac353);}[_0x1bea44(0x124)](_0x1ce178){const _0x2d3436=_0x1bea44;let _0x59b793,_0x142bff;switch(_0x1ce178[_0x2d3436(0x209)]){case _0x2d3436(0x1ff):_0x59b793=_0x1ce178[_0x2d3436(0x164)][_0x2d3436(0x17c)];break;case _0x2d3436(0x177):if(_0x142bff=_0x1ce178[_0x2d3436(0x180)],!_0x142bff)return null;_0x59b793=_0x142bff[_0x2d3436(0x17c)];break;case _0x2d3436(0x1fe):_0x59b793=_0x1ce178[_0x2d3436(0x17c)];break;case _0x2d3436(0x117):_0x59b793=_0x1ce178[_0x2d3436(0x1d8)];break;case _0x2d3436(0x1c8):_0x59b793=_0x1ce178[_0x2d3436(0x13f)][_0x2d3436(0x17c)];break;default:return null;}return _0x59b793[_0x2d3436(0x1c1)];}[_0x1bea44(0x1e9)](_0x52ca7c){const _0x305068=_0x1bea44;_0x52ca7c[_0x305068(0x159)](_0x4d55fb=>{const _0x558ece=_0x305068,_0x4bd29a=_0x4d55fb[_0x558ece(0x1fc)]();_0x4bd29a[_0x558ece(0x1d2)]=_0x4d55fb[_0x558ece(0x1d2)],_0x4bd29a[_0x558ece(0x16e)]=!!_0x4d55fb[_0x558ece(0x16e)],_0x4bd29a[_0x558ece(0x13d)]=_0x4d55fb[_0x558ece(0x13d)],_0x4bd29a[_0x558ece(0x128)]+=this[_0x558ece(0x126)],_0x4d55fb[_0x558ece(0x1ee)]&&this[_0x558ece(0x16b)][_0x558ece(0x1e8)](_0x4bd29a),this[_0x558ece(0x18f)][_0x558ece(0x1d4)](_0x4bd29a);});}[_0x1bea44(0x1be)](_0x2f877a){const _0x21a5a6=_0x1bea44,_0x1a5923=this[_0x21a5a6(0x19b)][_0x21a5a6(0x1a2)][_0x21a5a6(0x1b8)](_0x21a5a6(0x11e)),_0x322590=this[_0x21a5a6(0x19b)][_0x21a5a6(0x11c)];_0x2f877a||(_0x2f877a=_0x4a75f7(_0x322590,_0x21a5a6(0x1c9))),_0x1a5923[_0x21a5a6(0x12f)](_0x2f877a,{'title':_0x4a75f7(_0x322590,_0x21a5a6(0x201)),'namespace':_0x21a5a6(0x156)}),this[_0x21a5a6(0x18e)]=!0x0,clearTimeout(this[_0x21a5a6(0x116)]),this[_0x21a5a6(0x198)]=[],this[_0x21a5a6(0x19b)][_0x21a5a6(0x1a2)][_0x21a5a6(0x1b8)](_0x47cf5e)[_0x21a5a6(0x127)]();}[_0x1bea44(0x161)](){const _0x32b1e0=_0x1bea44;this[_0x32b1e0(0x112)]||(this[_0x32b1e0(0x112)]=this[_0x32b1e0(0x19b)][_0x32b1e0(0x1a2)][_0x32b1e0(0x1b8)](_0x33ad1c)[_0x32b1e0(0x1e8)](_0x4a75f7(this[_0x32b1e0(0x19b)][_0x32b1e0(0x11c)],_0x32b1e0(0x14a))));}[_0x1bea44(0x1c2)](){const _0x229ba5=_0x1bea44;this[_0x229ba5(0x112)]&&(this[_0x229ba5(0x19b)][_0x229ba5(0x1a2)][_0x229ba5(0x1b8)](_0x33ad1c)[_0x229ba5(0x141)](this[_0x229ba5(0x112)]),this[_0x229ba5(0x112)]=null);}[_0x1bea44(0x12d)](_0x240f0c){const _0x272e13=_0x1bea44,_0x4022a7=_0x240f0c[_0x272e13(0x20a)](_0x4ed22f=>_0x4ed22f[_0x272e13(0x17f)]());return this[_0x272e13(0x1b9)][_0x272e13(0x125)](_0x4022a7);}[_0x1bea44(0x145)](_0x57345b,_0x45ec03){const _0xb261c2=_0x1bea44;return this[_0xb261c2(0x1b9)][_0xb261c2(0x147)](_0x57345b)[_0xb261c2(0x20a)]((_0x7f0eb3,_0x4c38ae)=>{const _0x10aedc=_0xb261c2,_0x55d36d=_0x10aedc(0x1a6)==_0x45ec03[_0x4c38ae][_0x10aedc(0x209)];if(_0x10aedc(0x1b6)==_0x7f0eb3[_0x10aedc(0x1d9)]){const _0x4fe34c=_0x7f0eb3[_0x10aedc(0x164)][_0x10aedc(0x17c)];!this[_0x10aedc(0x162)][_0x10aedc(0x1ea)](_0x4fe34c)&&(this[_0x10aedc(0x162)][_0x10aedc(0x1bb)](_0x10aedc(0x196),_0x4fe34c)[_0x10aedc(0x136)]=!0x1);}const _0x222ae7=_0x1b1d77[_0x10aedc(0x1f4)](_0x7f0eb3,this[_0x10aedc(0x162)]);return _0x222ae7[_0x10aedc(0x182)]=_0x7f0eb3[_0x10aedc(0x182)],_0x222ae7[_0x10aedc(0x16e)]=_0x55d36d,_0x222ae7[_0x10aedc(0x1d2)]=_0x55d36d?null:_0x45ec03[_0x4c38ae][_0x10aedc(0x115)],_0x222ae7[_0x10aedc(0x1ee)]=_0x10aedc(0x1e2)===_0x45ec03[_0x4c38ae][_0x10aedc(0x209)],_0x222ae7[_0x10aedc(0x13d)]=_0x45ec03[_0x4c38ae][_0x10aedc(0x13d)],_0x222ae7;});}[_0x1bea44(0x165)](){const _0x286150=_0x1bea44;this[_0x286150(0x1b1)]=!0x0,this[_0x286150(0x119)]()?this[_0x286150(0x1f8)]():this[_0x286150(0x1b1)]=!0x1;}[_0x1bea44(0x119)](){const _0x10e429=_0x1bea44,_0x428faf=this[_0x10e429(0x19b)][_0x10e429(0x1a2)][_0x10e429(0x1b8)](_0x10f393)[_0x10e429(0x19e)][_0x10e429(0x1b8)](this[_0x10e429(0x1a1)]);return!this[_0x10e429(0x19b)][_0x10e429(0x12a)]&&!!_0x428faf&&_0x428faf[_0x10e429(0x195)]>0x1&&this[_0x10e429(0x1b1)];}[_0x1bea44(0x1de)](){const _0x51ef07=_0x1bea44;return this[_0x51ef07(0x198)][_0x51ef07(0x195)]>0x0||this[_0x51ef07(0x119)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x36cab0,_0x3f8685){const _0x6f1076=_0x1bea44;for(const _0x489c2b of _0x36cab0)_0x489c2b[_0x6f1076(0x128)]=_0x3f8685++;}class J{[_0x1bea44(0x1ae)];[_0x1bea44(0x146)];constructor(_0x3a4a88){const _0x2bad40=_0x1bea44;this[_0x2bad40(0x1ae)]=_0x3a4a88,this[_0x2bad40(0x146)]=new WeakMap();}[_0x1bea44(0x194)](_0x4c9417){const _0x40d0b2=_0x1bea44;let _0x30824c=_0x4c9417[_0x40d0b2(0x195)];for(;_0x30824c--;){const _0x4202d1=_0x4c9417[_0x30824c];if(!this[_0x40d0b2(0x1ae)][_0x40d0b2(0x1c0)](_0x4202d1)){if(!this[_0x40d0b2(0x146)][_0x40d0b2(0x1c0)](_0x4202d1)){const _0x4fc11c=_0xff2b59()[_0x40d0b2(0x1e7)](0x1,0x12);this[_0x40d0b2(0x146)][_0x40d0b2(0x1d3)](_0x4202d1,_0x4fc11c);}return this[_0x40d0b2(0x146)][_0x40d0b2(0x1b8)](_0x4202d1);}}}[_0x1bea44(0x19a)](_0x1c6e3d,_0x45128f){const _0x433b0c=_0x1bea44;if(!_0x45128f)return;let _0x4d90c9=_0x1c6e3d[_0x433b0c(0x195)];for(;_0x4d90c9--;){const _0x355791=_0x1c6e3d[_0x4d90c9];this[_0x433b0c(0x1ae)][_0x433b0c(0x1c0)](_0x355791)||this[_0x433b0c(0x146)][_0x433b0c(0x1d3)](_0x355791,_0x45128f);}}}
|
|
23
|
+
const _0x226577=_0x2c3d;(function(_0x15678c,_0x560e01){const _0x39016a=_0x2c3d,_0x18b4b6=_0x15678c();while(!![]){try{const _0x252fd3=-parseInt(_0x39016a(0x22d))/0x1*(-parseInt(_0x39016a(0x1f3))/0x2)+-parseInt(_0x39016a(0x1df))/0x3+parseInt(_0x39016a(0x1e5))/0x4+-parseInt(_0x39016a(0x1c1))/0x5*(parseInt(_0x39016a(0x17b))/0x6)+parseInt(_0x39016a(0x13a))/0x7*(-parseInt(_0x39016a(0x1db))/0x8)+parseInt(_0x39016a(0x14d))/0x9*(parseInt(_0x39016a(0x21d))/0xa)+-parseInt(_0x39016a(0x188))/0xb;if(_0x252fd3===_0x560e01)break;else _0x18b4b6['push'](_0x18b4b6['shift']());}catch(_0x171b20){_0x18b4b6['push'](_0x18b4b6['shift']());}}}(_0x1a5c,0x56a1e));import{Plugin as _0x6186ae,PendingActions as _0x1ea745}from'ckeditor5/src/core.js';import{CKEditorError as _0x5e68c9,version as _0x9dee38,uid as _0x36aa51}from'ckeditor5/src/utils.js';import{Notification as _0x53e0ae}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3c091e,NoOperation as _0x5a7a2e,InsertOperation as _0x47cc5e,MarkerOperation as _0x5646d6,RootAttributeOperation as _0x3f192f,OperationFactory as _0x2d1868,History as _0x454f77}from'ckeditor5/src/engine.js';function _0x2c3d(_0x50e71c,_0x12b45a){const _0x1a5cff=_0x1a5c();return _0x2c3d=function(_0x2c3d75,_0x204ff7){_0x2c3d75=_0x2c3d75-0x138;let _0xc45064=_0x1a5cff[_0x2c3d75];return _0xc45064;},_0x2c3d(_0x50e71c,_0x12b45a);}import{WebSocketGateway as _0x1b9bd0}from'./websocketgateway.js';import{Sessions as _0xac2796}from'./sessions.js';import{UserMarkers as _0x12d10e}from'./usermarkers.js';import{getTranslation as _0x3419bc}from'../common-translations.js';import{Compressor as _0x5284bf}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x58d49a}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x37fe72,CollaborativeEditingService as _0x4fcc5b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let D=0x1;class l extends _0x6186ae{static [_0x226577(0x1f9)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4fcc5b)());[_0x226577(0x17d)];[_0x226577(0x1ed)];[_0x226577(0x1ad)];[_0x226577(0x1fb)];[_0x226577(0x20b)];[_0x226577(0x1bc)];[_0x226577(0x228)];[_0x226577(0x148)];[_0x226577(0x21b)];[_0x226577(0x213)];[_0x226577(0x209)];[_0x226577(0x21e)];[_0x226577(0x234)];[_0x226577(0x218)];[_0x226577(0x14f)];[_0x226577(0x16a)];[_0x226577(0x217)];[_0x226577(0x152)];static get[_0x226577(0x214)](){return[_0x1b9bd0,_0xac2796,_0x12d10e,_0x1ea745,_0x58d49a,_0x53e0ae];}static get[_0x226577(0x20d)](){const _0x18810a=_0x226577;return _0x18810a(0x14e);}static get[_0x226577(0x229)](){return!0x0;}static get[_0x226577(0x18a)](){return!0x0;}get[_0x226577(0x199)](){const _0x4018c2=_0x226577;return this[_0x4018c2(0x195)]+this[_0x4018c2(0x17d)];}get[_0x226577(0x195)](){const _0x519a59=_0x226577;return this[_0x519a59(0x1ad)][_0x519a59(0x1ec)]-this[_0x519a59(0x17d)];}get[_0x226577(0x17c)](){const _0x30f7e0=_0x226577,_0x248aac=this[_0x30f7e0(0x1ad)][_0x30f7e0(0x1ca)]();for(let _0x4bbc23=_0x248aac[_0x30f7e0(0x239)]-0x1;_0x4bbc23>=0x0;_0x4bbc23--){const _0x51e102=_0x248aac[_0x4bbc23];if(!this[_0x30f7e0(0x217)][_0x30f7e0(0x1e0)](_0x51e102))return _0x51e102[_0x30f7e0(0x1b3)]+0x1-this[_0x30f7e0(0x17d)];}return 0x0;}constructor(_0x22f6ea){const _0x506e87=_0x226577;if(super(_0x22f6ea),this[_0x506e87(0x17d)]=0x0,this[_0x506e87(0x1ed)]=null,this[_0x506e87(0x1ad)]=new _0x454f77(),this[_0x506e87(0x1c3)][_0x506e87(0x1c4)][_0x506e87(0x1f2)](_0x506e87(0x1b7),{}),this[_0x506e87(0x1fb)]=this[_0x506e87(0x1c3)][_0x506e87(0x1c4)][_0x506e87(0x180)](_0x506e87(0x215)),!this[_0x506e87(0x1fb)])throw new _0x5e68c9(_0x506e87(0x155),this);const _0x31c587=_0x22f6ea[_0x506e87(0x1c4)][_0x506e87(0x180)](_0x506e87(0x1ef))||_0x9dee38;this[_0x506e87(0x20b)]=new l[(_0x506e87(0x1f9))](_0x31c587,this[_0x506e87(0x1fb)]),this[_0x506e87(0x1bc)]=this[_0x506e87(0x1c3)][_0x506e87(0x1c7)][_0x506e87(0x203)],this[_0x506e87(0x228)]=new _0x5284bf(),this[_0x506e87(0x148)]=[],this[_0x506e87(0x21b)]=new WeakSet(),this[_0x506e87(0x213)]=new Set(),this[_0x506e87(0x232)](_0x506e87(0x172),!0x1),this[_0x506e87(0x232)](_0x506e87(0x170),!0x1),this[_0x506e87(0x209)]=null,this[_0x506e87(0x21e)]=!0x1,this[_0x506e87(0x234)]=null,this[_0x506e87(0x218)]=0x12c,this[_0x506e87(0x14f)]=this[_0x506e87(0x218)],this[_0x506e87(0x16a)]=null,this[_0x506e87(0x217)]=new WeakSet(),this[_0x506e87(0x152)]=new C(this[_0x506e87(0x217)]);}[_0x226577(0x16b)](){const _0x3b8dad=_0x226577,_0x56d2e2=this[_0x3b8dad(0x1c3)],_0x28bd0f=_0x56d2e2[_0x3b8dad(0x15e)][_0x3b8dad(0x180)](_0x58d49a),_0x81c0bb=_0x56d2e2[_0x3b8dad(0x15e)][_0x3b8dad(0x180)](_0x1b9bd0);this[_0x3b8dad(0x138)](_0x28bd0f,_0x3b8dad(0x160),(_0x50aeee,_0x7f638e)=>{const _0xd9dd05=_0x3b8dad,_0x2e09bf=_0x7f638e[0x0];_0x2e09bf[_0xd9dd05(0x1a6)]&&(_0x50aeee[_0xd9dd05(0x16c)]=_0x28bd0f[_0xd9dd05(0x238)](_0x2e09bf[_0xd9dd05(0x1a6)]),_0x50aeee[_0xd9dd05(0x139)]()),null===_0x2e09bf[_0xd9dd05(0x1a6)]&&(_0x50aeee[_0xd9dd05(0x16c)]=null,_0x50aeee[_0xd9dd05(0x139)]());},{'priority':_0x3b8dad(0x201)}),this[_0x3b8dad(0x138)](_0x56d2e2[_0x3b8dad(0x1c7)][_0x3b8dad(0x203)][_0x3b8dad(0x22a)],_0x3b8dad(0x1cd),(_0x10d291,_0x5a855c)=>{const _0x540a7e=_0x3b8dad;_0x5a855c[_0x540a7e(0x192)]&&this[_0x540a7e(0x182)]();}),this[_0x3b8dad(0x138)](_0x56d2e2[_0x3b8dad(0x23b)][_0x3b8dad(0x184)],_0x3b8dad(0x191),()=>{const _0x531e4a=_0x3b8dad;this[_0x531e4a(0x182)]();}),this[_0x3b8dad(0x1ea)](),_0x56d2e2[_0x3b8dad(0x1c7)]['on'](_0x3b8dad(0x140),(_0x475c9e,_0x38eb2d)=>{const _0x7a5c2b=_0x3b8dad,_0x41d24c=_0x38eb2d[0x0];_0x41d24c[_0x7a5c2b(0x185)]&&(this[_0x7a5c2b(0x1f8)](_0x41d24c),this[_0x7a5c2b(0x19f)]()&&this[_0x7a5c2b(0x18d)]());}),this[_0x3b8dad(0x153)](),this[_0x3b8dad(0x151)](_0x3b8dad(0x22f))['to'](_0x81c0bb,_0x3b8dad(0x216),this,_0x3b8dad(0x170),(_0x559cb8,_0x2dc0e1)=>_0x3b8dad(0x1cc)===_0x559cb8&&!_0x2dc0e1),this['on'](_0x3b8dad(0x163),()=>{const _0x300748=_0x3b8dad;this[_0x300748(0x22f)]?_0x56d2e2[_0x300748(0x219)](_0x300748(0x1d3)):_0x56d2e2[_0x300748(0x1ba)](_0x300748(0x1d3));}),this[_0x3b8dad(0x22f)]?_0x56d2e2[_0x3b8dad(0x219)](_0x3b8dad(0x1d3)):_0x56d2e2[_0x3b8dad(0x1ba)](_0x3b8dad(0x1d3)),this[_0x3b8dad(0x232)](_0x3b8dad(0x1a9),!0x1);}async[_0x226577(0x1f1)](){const _0x185d5e=_0x226577,_0x2ef188=this[_0x185d5e(0x1c3)][_0x185d5e(0x15e)][_0x185d5e(0x180)](_0xac2796),_0x17311b=this[_0x185d5e(0x1c3)][_0x185d5e(0x15e)][_0x185d5e(0x180)](_0x1b9bd0);try{this[_0x185d5e(0x172)]=!0x0,_0x2ef188[_0x185d5e(0x235)](this[_0x185d5e(0x1fb)]);const _0x2ef344=await this[_0x185d5e(0x20b)][_0x185d5e(0x1f1)](_0x17311b[_0x185d5e(0x197)],this[_0x185d5e(0x17c)]);await this[_0x185d5e(0x1a3)](_0x2ef344)&&(this[_0x185d5e(0x172)]=!0x1,this[_0x185d5e(0x1d2)]());const _0x4394bc=await this[_0x185d5e(0x20b)][_0x185d5e(0x1dd)]();_0x2ef188[_0x185d5e(0x1ee)](this[_0x185d5e(0x1fb)],_0x4394bc),this[_0x185d5e(0x13e)](),this[_0x185d5e(0x1a9)]=!0x0;}catch(_0xa8f4e0){if(function(_0x409f0e){const _0x79bba2=_0x185d5e;return _0x79bba2(0x1cb)===_0x409f0e[_0x79bba2(0x1d1)];}(_0xa8f4e0)&&this[_0x185d5e(0x1ed)])await this[_0x185d5e(0x1b0)]();else{if(function(_0x48bc48){const _0x34eace=_0x185d5e;return _0x34eace(0x19c)===_0x48bc48[_0x34eace(0x1d1)];}(_0xa8f4e0)){const _0x234d59=_0x3419bc(this[_0x185d5e(0x1c3)][_0x185d5e(0x1f5)],_0x185d5e(0x1fa));this[_0x185d5e(0x15a)](_0x234d59);}else{if(!(_0xa8f4e0 instanceof P))throw _0xa8f4e0;this[_0x185d5e(0x15a)]();}}}}[_0x226577(0x1b9)](){const _0x44ec78=_0x226577,_0x46d754=this[_0x44ec78(0x1c3)][_0x44ec78(0x15e)][_0x44ec78(0x180)](_0x1b9bd0),_0x35b22e=this[_0x44ec78(0x1c3)][_0x44ec78(0x15e)][_0x44ec78(0x180)](_0xac2796);this[_0x44ec78(0x1c3)][_0x44ec78(0x1ba)](_0x44ec78(0x18e)),_0x35b22e[_0x44ec78(0x193)][_0x44ec78(0x1e0)](this[_0x44ec78(0x1fb)])&&_0x35b22e[_0x44ec78(0x235)](this[_0x44ec78(0x1fb)]),_0x46d754[_0x44ec78(0x1cf)](this),this[_0x44ec78(0x19a)](),super[_0x44ec78(0x1b9)]();}async[_0x226577(0x1a3)](_0x58b529){const _0x62167f=_0x226577;if(this[_0x62167f(0x1ed)]!==_0x58b529[_0x62167f(0x1ed)]&&this[_0x62167f(0x16a)]!==_0x58b529[_0x62167f(0x1d0)])throw new P();return this[_0x62167f(0x1ed)]=_0x58b529[_0x62167f(0x1ed)],this[_0x62167f(0x1af)]([],{..._0x58b529,'wereChangesApplied':!0x1,'data':_0x58b529[_0x62167f(0x1bb)]},_0x62167f(0x1f1));}async[_0x226577(0x236)](_0x3bccfd,_0x1ae183=!0x1){const _0x43bc74=_0x226577,{connection:_0xb79103}=this[_0x43bc74(0x1c3)][_0x43bc74(0x15e)][_0x43bc74(0x180)](_0x1b9bd0);l[_0x43bc74(0x1f9)][_0x43bc74(0x1dd)](_0xb79103,this[_0x43bc74(0x1fb)])[_0x43bc74(0x1f0)](_0x79cedb=>this[_0x43bc74(0x230)](_0x79cedb))[_0x43bc74(0x19d)](_0x2bcba2=>{const _0x30ac07=_0x43bc74;this[_0x30ac07(0x17a)](_0x30ac07(0x16e),_0x2bcba2);}),this[_0x43bc74(0x138)](this[_0x43bc74(0x20b)],_0x43bc74(0x147),this[_0x43bc74(0x1c5)][_0x43bc74(0x151)](this)),this[_0x43bc74(0x138)](this[_0x43bc74(0x20b)],_0x43bc74(0x1ac),(_0x34e751,_0x2ddea6)=>{const _0x45b4f2=_0x43bc74;this[_0x45b4f2(0x17a)](_0x45b4f2(0x1e2),_0x2ddea6);}),this[_0x43bc74(0x138)](this[_0x43bc74(0x20b)],_0x43bc74(0x1a1),()=>{const _0xdffafd=_0x43bc74;this[_0xdffafd(0x1a9)]=!0x1;});const _0x129c98=this[_0x43bc74(0x152)][_0x43bc74(0x187)](_0x3bccfd);this[_0x43bc74(0x172)]=!0x0;const _0x17e66c=await this[_0x43bc74(0x20b)][_0x43bc74(0x196)](_0xb79103,this[_0x43bc74(0x183)](_0x3bccfd),_0x129c98);if(this[_0x43bc74(0x1ed)]=_0x17e66c[_0x43bc74(0x1ed)],_0x1ae183){if(!_0x17e66c[_0x43bc74(0x231)])return void this[_0x43bc74(0x15a)]();this[_0x43bc74(0x172)]=!0x1,this[_0x43bc74(0x1d2)](),this[_0x43bc74(0x1ad)][_0x43bc74(0x233)](),this[_0x43bc74(0x17d)]=_0x17e66c[_0x43bc74(0x181)],this[_0x43bc74(0x1ad)][_0x43bc74(0x1ec)]=this[_0x43bc74(0x17d)],await this[_0x43bc74(0x1af)](_0x3bccfd,_0x17e66c,_0x43bc74(0x17e));}else await this[_0x43bc74(0x178)](_0x17e66c,_0x3bccfd);this[_0x43bc74(0x13e)](),this[_0x43bc74(0x1a9)]=!0x0;}[_0x226577(0x13e)](){const _0x5d8c30=_0x226577,_0x5a37bf=this[_0x5d8c30(0x1c3)][_0x5d8c30(0x15e)][_0x5d8c30(0x180)](_0xac2796),_0x77bc9a=this[_0x5d8c30(0x1c3)][_0x5d8c30(0x15e)][_0x5d8c30(0x180)](_0x12d10e),_0x46dfee=_0x5a37bf[_0x5d8c30(0x193)][_0x5d8c30(0x180)](this[_0x5d8c30(0x1fb)]);_0x46dfee&&_0x46dfee[_0x5d8c30(0x239)]>0x1?_0x77bc9a[_0x5d8c30(0x162)]():this[_0x5d8c30(0x138)](_0x5a37bf,_0x5d8c30(0x166)+this[_0x5d8c30(0x1fb)],()=>{const _0x1dc0ba=_0x5d8c30;0x2===_0x5a37bf[_0x1dc0ba(0x193)][_0x1dc0ba(0x180)](this[_0x1dc0ba(0x1fb)])[_0x1dc0ba(0x239)]&&_0x77bc9a[_0x1dc0ba(0x162)]();});}async[_0x226577(0x1c5)](_0x1e6dab,_0x53d125,_0x14c104,_0x37a06a){const _0x816745=_0x226577;if(!this[_0x816745(0x172)]&&this[_0x816745(0x1bc)][_0x816745(0x1ec)]==_0x53d125){const _0x352032=this[_0x816745(0x20c)](_0x14c104,_0x37a06a);await this[_0x816745(0x1d6)](_0x352032),this[_0x816745(0x1fd)](_0x352032,_0x53d125,_0x14c104[_0x816745(0x1d0)])||this[_0x816745(0x17a)](_0x816745(0x202));}}async[_0x226577(0x1b0)](){const _0x398943=_0x226577;this[_0x398943(0x19a)]();const {locale:_0x5f3b4f}=this[_0x398943(0x1c3)];let _0xf77c99;try{_0xf77c99=await this[_0x398943(0x20b)][_0x398943(0x1a7)]();}catch{const _0x505473=_0x3419bc(_0x5f3b4f,_0x398943(0x1e7));return void this[_0x398943(0x15a)](_0x505473);}const _0x52eddd=_0xf77c99[_0x398943(0x171)]||_0xf77c99[_0x398943(0x177)];if(this[_0x398943(0x16a)]!==_0x52eddd[_0x398943(0x1d0)]){const _0x3f5f6b=_0x3419bc(_0x5f3b4f,_0x398943(0x13c));return void this[_0x398943(0x15a)](_0x3f5f6b);}await this[_0x398943(0x236)](this[_0x398943(0x1c3)][_0x398943(0x1c7)][_0x398943(0x203)][_0x398943(0x208)][_0x398943(0x1ca)](),!0x0);}[_0x226577(0x19a)](){const _0x242280=_0x226577;this[_0x242280(0x20b)][_0x242280(0x1a5)](),this[_0x242280(0x148)]=[],clearTimeout(this[_0x242280(0x234)]),this[_0x242280(0x1bf)](this[_0x242280(0x20b)]);}[_0x226577(0x230)](_0x29e264){const _0x1031a8=_0x226577,_0x4c3a69=this[_0x1031a8(0x1c3)][_0x1031a8(0x15e)][_0x1031a8(0x180)](_0xac2796);this[_0x1031a8(0x138)](_0x4c3a69,_0x1031a8(0x166)+this[_0x1031a8(0x1fb)],(_0xad8931,{session:_0x3e95f8})=>{const _0x49ca6d=_0x1031a8;if(_0x3e95f8['id']===_0x4c3a69[_0x49ca6d(0x14c)]){_0xad8931[_0x49ca6d(0x1eb)]();const _0x2b266c=this[_0x49ca6d(0x1c3)][_0x49ca6d(0x15e)][_0x49ca6d(0x1e0)](_0x49ca6d(0x164))&&this[_0x49ca6d(0x1c3)][_0x49ca6d(0x15e)][_0x49ca6d(0x180)](_0x49ca6d(0x164));let _0x4116fc=_0x3e95f8[_0x49ca6d(0x1e6)];_0x2b266c&&_0x2b266c[_0x49ca6d(0x15b)]&&(_0x4116fc=_0x4116fc[_0x49ca6d(0x220)](_0x2545ce=>_0x49ca6d(0x20a)!==_0x2545ce)),this[_0x49ca6d(0x1c3)][_0x49ca6d(0x15e)][_0x49ca6d(0x180)](_0x49ca6d(0x18f))[_0x49ca6d(0x13f)](_0x4116fc,this[_0x49ca6d(0x1fb)]);}}),_0x4c3a69[_0x1031a8(0x1ee)](this[_0x1031a8(0x1fb)],_0x29e264);}[_0x226577(0x1ea)](){const _0x235d74=_0x226577,_0x28ce3c=this[_0x235d74(0x1c3)][_0x235d74(0x1bb)][_0x235d74(0x232)];this[_0x235d74(0x1c3)][_0x235d74(0x1bb)][_0x235d74(0x232)]=(..._0x195565)=>{const _0x442ae6=_0x235d74;if(!_0x195565[_0x195565[_0x442ae6(0x239)]-0x1][_0x442ae6(0x176)])throw new _0x5e68c9(_0x442ae6(0x207),this);_0x28ce3c[_0x442ae6(0x19b)](this[_0x442ae6(0x1c3)][_0x442ae6(0x1bb)],_0x195565);};}[_0x226577(0x153)](){const _0x47d858=_0x226577;this[_0x47d858(0x1c3)][_0x47d858(0x1bb)]['on'](_0x47d858(0x16b),(_0x4f90aa,[_0x48341d])=>{const _0x5f09e7=_0x47d858;if(this[_0x5f09e7(0x1bc)][_0x5f09e7(0x1ec)])throw new _0x5e68c9(_0x5f09e7(0x17f),this);_0x4f90aa[_0x5f09e7(0x139)](),this[_0x5f09e7(0x1ab)]();const _0x412c4e=this[_0x5f09e7(0x1c3)][_0x5f09e7(0x1c4)][_0x5f09e7(0x180)](_0x5f09e7(0x23a)),_0x332c2c=this[_0x5f09e7(0x23c)](_0x48341d,_0x412c4e);0x0==_0x332c2c[_0x5f09e7(0x239)]&&_0x332c2c[_0x5f09e7(0x225)](new _0x5a7a2e(0x0)),_0x4f90aa[_0x5f09e7(0x16c)]=this[_0x5f09e7(0x236)](_0x332c2c)[_0x5f09e7(0x1f0)](()=>{const _0x200ba5=_0x5f09e7;this[_0x200ba5(0x1c3)][_0x200ba5(0x15e)][_0x200ba5(0x180)](_0x1b9bd0)[_0x200ba5(0x1b2)](this),this[_0x200ba5(0x1c3)][_0x200ba5(0x1bb)][_0x200ba5(0x179)](_0x200ba5(0x23e));})[_0x5f09e7(0x19d)](_0x3c4a91=>this[_0x5f09e7(0x17a)](_0x5f09e7(0x169),_0x3c4a91))[_0x5f09e7(0x154)](()=>this[_0x5f09e7(0x1d2)]());},{'priority':_0x47d858(0x201)}),this[_0x47d858(0x1c3)]['on'](_0x47d858(0x19e),async(_0x322dde,[_0x12d5a0,_0x59d3db])=>{const _0x1ae108=_0x47d858;_0x322dde[_0x1ae108(0x139)]();const _0x9ea676=this[_0x1ae108(0x1c3)][_0x1ae108(0x1c7)][_0x1ae108(0x203)][_0x1ae108(0x210)](_0x12d5a0);if(!this[_0x1ae108(0x213)][_0x1ae108(0x1e0)](_0x12d5a0)){const _0x2655a5=_0x59d3db&&_0x59d3db[_0x1ae108(0x1bb)]?_0x59d3db[_0x1ae108(0x1bb)]:'',_0x397450=_0x59d3db&&_0x59d3db[_0x1ae108(0x1e4)]?_0x59d3db[_0x1ae108(0x1e4)]:{};await this[_0x1ae108(0x20f)](_0x12d5a0,_0x2655a5,_0x397450);}this[_0x1ae108(0x1c3)][_0x1ae108(0x1c7)][_0x1ae108(0x1f4)]({'isUndoable':!0x1},()=>{const _0x3cc90f=_0x1ae108;_0x9ea676[_0x3cc90f(0x223)]=!0x0,this[_0x3cc90f(0x1c3)][_0x3cc90f(0x1c7)][_0x3cc90f(0x203)][_0x3cc90f(0x150)][_0x3cc90f(0x1c0)](_0x9ea676);});},{'priority':_0x47d858(0x201)});}async[_0x226577(0x1d6)](_0x2188b8){const _0x4e9912=_0x226577,_0x4234c2=this[_0x4e9912(0x1c3)][_0x4e9912(0x15e)][_0x4e9912(0x180)](_0x58d49a),{connection:_0x12190a}=this[_0x4e9912(0x1c3)][_0x4e9912(0x15e)][_0x4e9912(0x180)](_0x1b9bd0),_0x49d0f7=new Set();for(const _0x1434d8 of _0x2188b8){const _0x483dc8=_0x1434d8[_0x4e9912(0x1a6)];_0x483dc8&&!_0x4234c2[_0x4e9912(0x238)](_0x483dc8)&&_0x49d0f7[_0x4e9912(0x224)](_0x483dc8);}if(0x0===_0x49d0f7[_0x4e9912(0x1ae)])return;const _0xb6cb87=await _0x37fe72[_0x4e9912(0x159)](_0x12190a,Array[_0x4e9912(0x1b4)](_0x49d0f7));for(const _0x120046 of _0xb6cb87)_0x4234c2[_0x4e9912(0x238)](_0x120046['id'])||_0x4234c2[_0x4e9912(0x20e)](_0x120046);}[_0x226577(0x23c)](_0x2a4a02,_0x2912fb={}){const _0x16aa9a=_0x226577,_0x24125f=this[_0x16aa9a(0x1c3)][_0x16aa9a(0x1c7)],_0x3361fb=[];let _0x1d84f6=0x0;const _0xb43e10=_0x16aa9a(0x186)==typeof _0x2a4a02?{'main':_0x2a4a02}:_0x2a4a02;for(const _0x540bac of Object[_0x16aa9a(0x1a0)](_0xb43e10)){if(!this[_0x16aa9a(0x1bc)][_0x16aa9a(0x18b)][_0x16aa9a(0x1e0)](_0x540bac))throw new _0x5e68c9(_0x16aa9a(0x227),this);const _0x500a41=this[_0x16aa9a(0x1c3)][_0x16aa9a(0x1bb)][_0x16aa9a(0x1ff)](_0xb43e10[_0x540bac]),_0x4985d0=this[_0x16aa9a(0x1bc)][_0x16aa9a(0x210)](_0x540bac),_0x358131=new _0x47cc5e(_0x24125f[_0x16aa9a(0x22e)](_0x4985d0,0x0),_0x500a41,_0x1d84f6++);_0x3361fb[_0x16aa9a(0x225)](_0x358131);for(const [_0x58b79e,_0x5141e1]of _0x500a41[_0x16aa9a(0x141)]){const _0x866b63=_0x24125f[_0x16aa9a(0x1a8)](_0x24125f[_0x16aa9a(0x1a2)](_0x4985d0,_0x5141e1[_0x16aa9a(0x1b6)][_0x16aa9a(0x1de)][_0x16aa9a(0x15d)]()),_0x24125f[_0x16aa9a(0x1a2)](_0x4985d0,_0x5141e1[_0x16aa9a(0x1e1)][_0x16aa9a(0x1de)][_0x16aa9a(0x15d)]())),_0x1d83d9=new _0x5646d6(_0x58b79e,null,_0x866b63,_0x24125f[_0x16aa9a(0x141)],!0x0,_0x1d84f6++);_0x3361fb[_0x16aa9a(0x225)](_0x1d83d9);}}if(_0x2912fb)for(const [_0x5e7b3f,_0x6709bc]of Object[_0x16aa9a(0x13b)](_0x2912fb)){const _0x114e5b=_0x24125f[_0x16aa9a(0x203)][_0x16aa9a(0x210)](_0x5e7b3f);if(!_0x114e5b)throw new _0x5e68c9(_0x16aa9a(0x15f),null);for(const [_0x129015,_0x949d6c]of Object[_0x16aa9a(0x13b)](_0x6709bc))if(null!==_0x949d6c){const _0x5b16d2=new _0x3f192f(_0x114e5b,_0x129015,null,_0x949d6c,_0x1d84f6++);_0x3361fb[_0x16aa9a(0x225)](_0x5b16d2);}}return _0x3361fb;}async[_0x226577(0x20f)](_0x3623c4,_0x7cf886,_0x54dfc0){const _0x45944d=_0x226577;this[_0x45944d(0x23c)]({[_0x3623c4]:_0x7cf886},{[_0x3623c4]:_0x54dfc0})[_0x45944d(0x21a)]((_0xe7063,_0x4108c1)=>{const _0x30eb47=_0x45944d;_0xe7063[_0x30eb47(0x1b3)]=this[_0x30eb47(0x1bc)][_0x30eb47(0x1ec)]+_0x4108c1,_0xe7063[_0x30eb47(0x175)]=!0x0,this[_0x30eb47(0x1f8)](_0xe7063);}),this[_0x45944d(0x18d)](),await this[_0x45944d(0x149)]();}async[_0x226577(0x178)](_0x64f192,_0x249a32){const _0x41b235=_0x226577;let _0x418cd8;this[_0x41b235(0x17d)]=_0x64f192[_0x41b235(0x181)];const _0x113a00=_0x64f192[_0x41b235(0x231)]&&!_0x64f192[_0x41b235(0x1c2)],_0x31aa46=_0x113a00?0x0:_0x64f192[_0x41b235(0x1bb)][_0x41b235(0x1b3)];if(_0x249a32[_0x41b235(0x21a)](_0x341f38=>{const _0x5cb173=_0x41b235;_0x341f38[_0x5cb173(0x175)]=!0x0,_0x341f38[_0x5cb173(0x14b)]=_0x64f192[_0x5cb173(0x16f)],_0x341f38[_0x5cb173(0x1a6)]=null;}),_0x113a00)_0x418cd8=_0x249a32,this[_0x41b235(0x1b8)](_0x418cd8,_0x113a00);else{if(_0x64f192[_0x41b235(0x1c2)]){const _0x59e835=this[_0x41b235(0x23c)](_0x64f192[_0x41b235(0x1c2)]);this[_0x41b235(0x1bc)][_0x41b235(0x208)][_0x41b235(0x1ec)]=-_0x59e835[_0x41b235(0x239)],_0x59e835[_0x41b235(0x21a)](_0x172b4f=>{const _0x314435=_0x41b235;_0x172b4f[_0x314435(0x1b3)]-=_0x59e835[_0x314435(0x239)],_0x172b4f[_0x314435(0x14b)]=_0x64f192[_0x314435(0x16f)],_0x172b4f[_0x314435(0x175)]=!0x0,_0x172b4f[_0x314435(0x1a6)]=null;}),this[_0x41b235(0x1b8)](_0x59e835,!0x0),this[_0x41b235(0x1ad)][_0x41b235(0x1ec)]=-_0x59e835[_0x41b235(0x239)]+this[_0x41b235(0x17d)],this[_0x41b235(0x1fe)](_0x59e835);}this[_0x41b235(0x1bc)][_0x41b235(0x208)][_0x41b235(0x1ec)]=_0x31aa46,_0x418cd8=this[_0x41b235(0x20c)](_0x64f192[_0x41b235(0x1bb)],_0x64f192[_0x41b235(0x1c6)]),await this[_0x41b235(0x1d6)](_0x418cd8),this[_0x41b235(0x1b8)](_0x418cd8,_0x113a00);}_0x64f192[_0x41b235(0x1d0)]&&(this[_0x41b235(0x152)][_0x41b235(0x142)](_0x418cd8,_0x64f192[_0x41b235(0x1d0)]),this[_0x41b235(0x16a)]=_0x64f192[_0x41b235(0x1d0)]),this[_0x41b235(0x1ad)][_0x41b235(0x1ec)]=_0x31aa46+this[_0x41b235(0x17d)],this[_0x41b235(0x1fe)](_0x418cd8),_0x249a32[_0x41b235(0x220)](_0x585c10=>{const _0x36af87=_0x41b235,_0x795e81=this[_0x36af87(0x221)](_0x585c10);return _0x795e81&&!this[_0x36af87(0x213)][_0x36af87(0x1e0)](_0x795e81);})[_0x41b235(0x21a)]((_0x4c95bb,_0x558cef)=>{const _0x26e253=_0x41b235;_0x4c95bb[_0x26e253(0x1b3)]=this[_0x26e253(0x1bc)][_0x26e253(0x1ec)]+_0x558cef,this[_0x26e253(0x1f8)](_0x4c95bb);}),this[_0x41b235(0x19f)]()?(this[_0x41b235(0x14f)]=0x0,this[_0x41b235(0x18d)](!0x0),await this[_0x41b235(0x149)]()):(this[_0x41b235(0x172)]=!0x1,this[_0x41b235(0x1d2)]());}[_0x226577(0x17a)](_0x4ac4af,_0x49b101){const _0x331787=_0x226577,_0x37e024=_0x49b101&&_0x49b101[_0x331787(0x1d9)];if(_0x37e024&&_0x37e024[_0x331787(0x16d)](_0x331787(0x237)))throw _0x49b101;const _0x506de2=this[_0x331787(0x1c3)][_0x331787(0x15e)][_0x331787(0x180)](_0x1b9bd0);throw this[_0x331787(0x172)]=!0x0,_0x506de2[_0x331787(0x1a5)](),this[_0x331787(0x1c3)][_0x331787(0x1ba)](_0x331787(0x146)),new _0x5e68c9(_0x4ac4af,this[_0x331787(0x1c3)],_0x37e024?{'originalError':_0x37e024}:void 0x0);}[_0x226577(0x1f8)](_0xa5a249){const _0x7ea425=_0x226577;this[_0x7ea425(0x21b)][_0x7ea425(0x1e0)](_0xa5a249)||(this[_0x7ea425(0x21b)][_0x7ea425(0x224)](_0xa5a249),this[_0x7ea425(0x148)][_0x7ea425(0x225)](_0xa5a249),this[_0x7ea425(0x209)]||_0x7ea425(0x143)==_0xa5a249[_0x7ea425(0x168)]&&!_0xa5a249[_0x7ea425(0x144)]||this[_0x7ea425(0x1ab)]());}[_0x226577(0x18d)](_0x819363=!0x1){const _0x78a329=_0x226577;!_0x819363&&this[_0x78a329(0x172)]||(this[_0x78a329(0x172)]=!0x0,clearTimeout(this[_0x78a329(0x234)]),this[_0x78a329(0x234)]=setTimeout(()=>{const _0x427f53=_0x78a329;this[_0x427f53(0x212)]()[_0x427f53(0x1f0)](_0x359f88=>{const _0x5030fc=_0x427f53;_0x359f88&&(this[_0x5030fc(0x1d2)](),this[_0x5030fc(0x172)]=!0x1);})[_0x427f53(0x19d)](_0x26f16b=>{const _0x231106=_0x427f53;this[_0x231106(0x1d2)](),this[_0x231106(0x172)]=!0x1,function(_0x1f3488){const _0x43b64d=_0x231106;return _0x1f3488[_0x43b64d(0x1d9)][_0x43b64d(0x16d)](_0x43b64d(0x205))||_0x1f3488[_0x43b64d(0x1d9)][_0x43b64d(0x16d)](_0x43b64d(0x18c))||_0x1f3488[_0x43b64d(0x1d9)][_0x43b64d(0x16d)](_0x43b64d(0x157));}(_0x26f16b)||this[_0x231106(0x17a)](_0x26f16b[_0x231106(0x1d9)],_0x26f16b);});},this[_0x78a329(0x14f)]));}[_0x226577(0x149)](){return new Promise(_0x1863b2=>{const _0x9fb2bd=_0x2c3d;this['on'](_0x9fb2bd(0x206),()=>{_0x1863b2();});});}async[_0x226577(0x212)](){const _0x317b47=_0x226577,_0x2f0ac5=this[_0x317b47(0x1c3)][_0x317b47(0x15e)][_0x317b47(0x180)](_0x12d10e);if(this[_0x317b47(0x13d)]()&&(_0x2f0ac5[_0x317b47(0x162)](),this[_0x317b47(0x21e)]=!0x1),!this[_0x317b47(0x19f)]())return!0x0;const _0x192998=[...this[_0x317b47(0x148)]];for(const _0x559b48 of _0x192998)_0x559b48[_0x317b47(0x21c)]=this[_0x317b47(0x1bc)][_0x317b47(0x208)][_0x317b47(0x1d5)](_0x559b48);const _0x19781e=this[_0x317b47(0x152)][_0x317b47(0x187)](_0x192998),_0x44ec35=D++,_0x534ade=this[_0x317b47(0x183)](_0x192998),_0x4a40c0=await this[_0x317b47(0x20b)][_0x317b47(0x1e8)](_0x534ade,_0x534ade[_0x317b47(0x1b3)],_0x19781e);try{return await this[_0x317b47(0x1af)](_0x192998,_0x4a40c0,_0x44ec35);}catch(_0x1b516e){return this[_0x317b47(0x17a)](_0x317b47(0x1fc),_0x1b516e);}}async[_0x226577(0x1af)](_0x10da04,_0x22b461,_0x1f92d7){const _0x29fde6=_0x226577;if(_0x29fde6(0x1ac)in _0x22b461)throw _0x22b461[_0x29fde6(0x1ac)];let _0x26ad0b=!0x1;if(_0x22b461[_0x29fde6(0x231)]){_0x22b461[_0x29fde6(0x1d0)]&&(this[_0x29fde6(0x16a)]=_0x22b461[_0x29fde6(0x1d0)]),this[_0x29fde6(0x148)]=this[_0x29fde6(0x148)][_0x29fde6(0x220)](_0x7409da=>!_0x10da04[_0x29fde6(0x15c)](_0x7409da));for(const _0x3ec68d of _0x10da04)_0x3ec68d[_0x29fde6(0x14b)]=_0x29fde6(0x173)in _0x22b461&&_0x22b461[_0x29fde6(0x173)]||void 0x0;U(_0x10da04,_0x22b461[_0x29fde6(0x1ec)]-_0x10da04[_0x29fde6(0x239)]),this[_0x29fde6(0x1fe)](_0x10da04);const _0x46f066=_0x10da04[_0x29fde6(0x220)](_0x143884=>{const _0xf69a23=_0x29fde6;if(!_0x143884[_0xf69a23(0x175)])return!0x1;const _0x5f40ae=this[_0xf69a23(0x221)](_0x143884);return _0x5f40ae&&!this[_0xf69a23(0x213)][_0xf69a23(0x1e0)](_0x5f40ae);});U(_0x46f066,this[_0x29fde6(0x1bc)][_0x29fde6(0x1ec)]),this[_0x29fde6(0x1b8)](_0x46f066),_0x26ad0b=!0x0,this[_0x29fde6(0x14f)]=this[_0x29fde6(0x218)];}else{const _0x55c63c=this[_0x29fde6(0x20c)](_0x22b461[_0x29fde6(0x1bb)],_0x22b461[_0x29fde6(0x1c6)])[_0x29fde6(0x220)](_0x54067c=>_0x54067c[_0x29fde6(0x1b3)]>=this[_0x29fde6(0x195)]);_0x55c63c[_0x29fde6(0x21a)](_0x4bfd1f=>this[_0x29fde6(0x190)](_0x4bfd1f)),this[_0x29fde6(0x148)]=this[_0x29fde6(0x148)][_0x29fde6(0x220)](_0x28665f=>!_0x28665f[_0x29fde6(0x175)]||!this[_0x29fde6(0x213)][_0x29fde6(0x1e0)](this[_0x29fde6(0x221)](_0x28665f))),this[_0x29fde6(0x148)][_0x29fde6(0x239)]&&U(this[_0x29fde6(0x148)],this[_0x29fde6(0x148)][0x0][_0x29fde6(0x1b3)]),await this[_0x29fde6(0x1d6)](_0x55c63c),_0x26ad0b=this[_0x29fde6(0x1fd)](_0x55c63c,_0x22b461[_0x29fde6(0x1ec)],_0x22b461[_0x29fde6(0x1d0)]),this[_0x29fde6(0x14f)]=Math[_0x29fde6(0x198)](this[_0x29fde6(0x14f)]/0x2);}return _0x26ad0b?!this[_0x29fde6(0x19f)]()||(this[_0x29fde6(0x18d)](!0x0),!0x1):this[_0x29fde6(0x17a)](_0x29fde6(0x14a));}[_0x226577(0x1fd)](_0x440c08,_0x23b7f7,_0x31ce2b){const _0x4fd6fc=_0x226577;try{const _0x4ebd90={'document':this[_0x4fd6fc(0x1bc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x56c2b0,operationsB:_0x1eb939,originalOperations:_0x1cfd9a}=_0x3c091e(_0x440c08,this[_0x4fd6fc(0x148)],_0x4ebd90);U(_0x56c2b0,this[_0x4fd6fc(0x1bc)][_0x4fd6fc(0x1ec)]),U(_0x1eb939,_0x23b7f7);for(const _0x59c103 of _0x56c2b0){const _0x3ba64c=_0x1cfd9a[_0x4fd6fc(0x180)](_0x59c103);_0x59c103[_0x4fd6fc(0x1a6)]=_0x3ba64c?_0x3ba64c[_0x4fd6fc(0x1a6)]:null;}_0x31ce2b&&(this[_0x4fd6fc(0x152)][_0x4fd6fc(0x142)](_0x440c08,_0x31ce2b),this[_0x4fd6fc(0x16a)]=_0x31ce2b),this[_0x4fd6fc(0x148)]=[..._0x1eb939],this[_0x4fd6fc(0x1b8)](_0x56c2b0),this[_0x4fd6fc(0x1fe)](_0x440c08);}catch(_0x2aca72){return console[_0x4fd6fc(0x1ac)](_0x2aca72),!0x1;}return!0x0;}[_0x226577(0x1b8)](_0x414b1c,_0x899902=!0x1){const _0x5471a1=_0x226577;this[_0x5471a1(0x1c3)][_0x5471a1(0x1c7)][_0x5471a1(0x1f4)]({'isUndoable':!0x1,'isLocal':!0x1},_0x44c89e=>{const _0x492774=_0x5471a1;for(const _0x44a5c5 of _0x414b1c)this[_0x492774(0x21b)][_0x492774(0x224)](_0x44a5c5),this[_0x492774(0x190)](_0x44a5c5),_0x44c89e[_0x492774(0x1d4)][_0x492774(0x1e9)](_0x44a5c5),this[_0x492774(0x1c3)][_0x492774(0x1c7)][_0x492774(0x140)](_0x44a5c5);});}[_0x226577(0x190)](_0xf93523){const _0x1b243e=_0x226577,_0x4b5e9d=this[_0x1b243e(0x221)](_0xf93523);_0x4b5e9d&&this[_0x1b243e(0x213)][_0x1b243e(0x224)](_0x4b5e9d);}[_0x226577(0x221)](_0x568b0b){const _0x456fc4=_0x226577;let _0x1ae62c,_0x5bb371;switch(_0x568b0b[_0x456fc4(0x168)]){case _0x456fc4(0x21f):_0x1ae62c=_0x568b0b[_0x456fc4(0x226)][_0x456fc4(0x156)];break;case _0x456fc4(0x143):if(_0x5bb371=_0x568b0b[_0x456fc4(0x158)],!_0x5bb371)return null;_0x1ae62c=_0x5bb371[_0x456fc4(0x156)];break;case _0x456fc4(0x1c9):_0x1ae62c=_0x568b0b[_0x456fc4(0x156)];break;case _0x456fc4(0x1be):_0x1ae62c=_0x568b0b[_0x456fc4(0x167)];break;case _0x456fc4(0x22b):_0x1ae62c=_0x568b0b[_0x456fc4(0x22c)][_0x456fc4(0x156)];break;default:return null;}return _0x1ae62c[_0x456fc4(0x161)];}[_0x226577(0x1fe)](_0x1fcaae){const _0x2b26a6=_0x226577;_0x1fcaae[_0x2b26a6(0x21a)](_0x2e1b16=>{const _0x1eb81e=_0x2b26a6,_0x1f5efe=_0x2e1b16[_0x1eb81e(0x1b1)]();_0x1f5efe[_0x1eb81e(0x1a6)]=_0x2e1b16[_0x1eb81e(0x1a6)],_0x1f5efe[_0x1eb81e(0x175)]=!!_0x2e1b16[_0x1eb81e(0x175)],_0x1f5efe[_0x1eb81e(0x14b)]=_0x2e1b16[_0x1eb81e(0x14b)],_0x1f5efe[_0x1eb81e(0x1b3)]+=this[_0x1eb81e(0x17d)],_0x2e1b16[_0x1eb81e(0x200)]&&this[_0x1eb81e(0x217)][_0x1eb81e(0x224)](_0x1f5efe),this[_0x1eb81e(0x1ad)][_0x1eb81e(0x1e9)](_0x1f5efe);});}[_0x226577(0x15a)](_0x448ef1){const _0x4d244f=_0x226577,_0x353075=this[_0x4d244f(0x1c3)][_0x4d244f(0x15e)][_0x4d244f(0x180)](_0x4d244f(0x1b5)),_0x4a8c6a=this[_0x4d244f(0x1c3)][_0x4d244f(0x1f5)];_0x448ef1||(_0x448ef1=_0x3419bc(_0x4a8c6a,_0x4d244f(0x1d7))),_0x353075[_0x4d244f(0x1bd)](_0x448ef1,{'title':_0x3419bc(_0x4a8c6a,_0x4d244f(0x165)),'namespace':_0x4d244f(0x194)}),this[_0x4d244f(0x170)]=!0x0,clearTimeout(this[_0x4d244f(0x234)]),this[_0x4d244f(0x148)]=[],this[_0x4d244f(0x1c3)][_0x4d244f(0x15e)][_0x4d244f(0x180)](_0x1b9bd0)[_0x4d244f(0x1a5)]();}[_0x226577(0x1ab)](){const _0x34599e=_0x226577;this[_0x34599e(0x209)]||(this[_0x34599e(0x209)]=this[_0x34599e(0x1c3)][_0x34599e(0x15e)][_0x34599e(0x180)](_0x1ea745)[_0x34599e(0x224)](_0x3419bc(this[_0x34599e(0x1c3)][_0x34599e(0x1f5)],_0x34599e(0x204))));}[_0x226577(0x1d2)](){const _0x268f3b=_0x226577;this[_0x268f3b(0x209)]&&(this[_0x268f3b(0x1c3)][_0x268f3b(0x15e)][_0x268f3b(0x180)](_0x1ea745)[_0x268f3b(0x1c8)](this[_0x268f3b(0x209)]),this[_0x268f3b(0x209)]=null);}[_0x226577(0x183)](_0x5567b2){const _0x1217f4=_0x226577,_0x4af068=_0x5567b2[_0x1217f4(0x1dc)](_0x1595dc=>_0x1595dc[_0x1217f4(0x1f6)]());return this[_0x1217f4(0x228)][_0x1217f4(0x1e3)](_0x4af068);}[_0x226577(0x20c)](_0x71505e,_0x54f958){const _0x2c34b3=_0x226577;return this[_0x2c34b3(0x228)][_0x2c34b3(0x1da)](_0x71505e)[_0x2c34b3(0x1dc)]((_0x2e01a8,_0xa5e347)=>{const _0x294379=_0x2c34b3,_0x37c7a3=_0x294379(0x16b)==_0x54f958[_0xa5e347][_0x294379(0x168)];if(_0x294379(0x211)==_0x2e01a8[_0x294379(0x222)]){const _0x548e30=_0x2e01a8[_0x294379(0x226)][_0x294379(0x156)];!this[_0x294379(0x1bc)][_0x294379(0x210)](_0x548e30)&&(this[_0x294379(0x1bc)][_0x294379(0x1aa)](_0x294379(0x189),_0x548e30)[_0x294379(0x145)]=!0x1);}const _0x1634c2=_0x2d1868[_0x294379(0x1a4)](_0x2e01a8,this[_0x294379(0x1bc)]);return _0x1634c2[_0x294379(0x21c)]=_0x2e01a8[_0x294379(0x21c)],_0x1634c2[_0x294379(0x175)]=_0x37c7a3,_0x1634c2[_0x294379(0x1a6)]=_0x37c7a3?null:_0x54f958[_0xa5e347][_0x294379(0x174)],_0x1634c2[_0x294379(0x200)]=_0x294379(0x1d8)===_0x54f958[_0xa5e347][_0x294379(0x168)],_0x1634c2[_0x294379(0x14b)]=_0x54f958[_0xa5e347][_0x294379(0x14b)],_0x1634c2;});}[_0x226577(0x182)](){const _0x31f288=_0x226577;this[_0x31f288(0x21e)]=!0x0,this[_0x31f288(0x13d)]()?this[_0x31f288(0x18d)]():this[_0x31f288(0x21e)]=!0x1;}[_0x226577(0x13d)](){const _0x2ac891=_0x226577,_0x3081db=this[_0x2ac891(0x1c3)][_0x2ac891(0x15e)][_0x2ac891(0x180)](_0xac2796)[_0x2ac891(0x193)][_0x2ac891(0x180)](this[_0x2ac891(0x1fb)]);return!this[_0x2ac891(0x1c3)][_0x2ac891(0x1ce)]&&!!_0x3081db&&_0x3081db[_0x2ac891(0x239)]>0x1&&this[_0x2ac891(0x21e)];}[_0x226577(0x19f)](){const _0x5a413d=_0x226577;return this[_0x5a413d(0x148)][_0x5a413d(0x239)]>0x0||this[_0x5a413d(0x13d)]();}}export{l as RealTimeCollaborationClient};class P extends Error{}function U(_0x50ebc6,_0x15d5e4){const _0x5709ab=_0x226577;for(const _0x2b6826 of _0x50ebc6)_0x2b6826[_0x5709ab(0x1b3)]=_0x15d5e4++;}class C{[_0x226577(0x23d)];[_0x226577(0x1f7)];constructor(_0x5917fc){const _0x622fa3=_0x226577;this[_0x622fa3(0x23d)]=_0x5917fc,this[_0x622fa3(0x1f7)]=new WeakMap();}[_0x226577(0x187)](_0x348409){const _0x1e7bd6=_0x226577;let _0x33c435=_0x348409[_0x1e7bd6(0x239)];for(;_0x33c435--;){const _0x5b570b=_0x348409[_0x33c435];if(!this[_0x1e7bd6(0x23d)][_0x1e7bd6(0x1e0)](_0x5b570b)){if(!this[_0x1e7bd6(0x1f7)][_0x1e7bd6(0x1e0)](_0x5b570b)){const _0x324086=_0x36aa51()[_0x1e7bd6(0x15d)](0x1,0x12);this[_0x1e7bd6(0x1f7)][_0x1e7bd6(0x232)](_0x5b570b,_0x324086);}return this[_0x1e7bd6(0x1f7)][_0x1e7bd6(0x180)](_0x5b570b);}}}[_0x226577(0x142)](_0x23b636,_0x3d4b7e){const _0x5ce94b=_0x226577;if(!_0x3d4b7e)return;let _0x53855a=_0x23b636[_0x5ce94b(0x239)];for(;_0x53855a--;){const _0x53d9cd=_0x23b636[_0x53855a];this[_0x5ce94b(0x23d)][_0x5ce94b(0x1e0)](_0x53d9cd)||this[_0x5ce94b(0x1f7)][_0x5ce94b(0x232)](_0x53d9cd,_0x3d4b7e);}}}function _0x1a5c(){const _0x4831ec=['_isDisconnection','high','realtimecollaborationclient-init-service-incorrect-server-operation','document','PENDING_ACTION_SENDING_DATA','cloud-services-internal-error:\x20Not\x20connected.','change:_isPendingUpdate','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','history','_pendingAction','document:write','_service','_decompressOperations','pluginName','addUser','_loadRoot','getRoot','InsertOperation','_sendBufferedOperations','_knownRootNames','requires','collaboration.channelId','state','_disconnectionOperations','_baseBufferDelay','disableReadOnlyMode','forEach','_knownOperations','wasUndone','1760JItBGL','_hasSelectionChanged','insert','filter','_getAffectedRoot','__className','_isLoaded','add','push','position','realtimecollaborationclient-init-non-existent-root','_compressor','isOfficialPlugin','selection','move','targetPosition','1jsudoG','createPositionAt','_isEditingAllowed','_initSessionsHandling','wereChangesApplied','set','reset','_sendBufferedOperationsDelayId','unregister','_connectService','realtimecollaborationclient','getUser','length','rootsAttributes','editing','_getOperationsFromInitData','_ignoredOperations','ready','listenTo','stop','82481VerAbz','entries','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.','_shouldSendSelectionUpdate','_handleSendingSelectionMarkers','setPermissions','applyOperation','markers','setIdForTheLastOperation','marker','affectsData','_isAttached','realtimecollaborationclient-error','operationsReceived','_bufferedOperations','_waitUntilSynced','realtimecollaborationclient-handleserverresponse','createdAt','mySessionId','31446qSVVkx','RealTimeCollaborationClient','_currentBufferDelay','differ','bind','_operationIdentifier','_setUpDataInit','finally','collaboration-missing-channelid','root','cloud-services-internal-error:\x20Request\x20timeout.','newRange','getMany','_handleReconnectionError','isEnabled','includes','slice','plugins','multi-root-editor-root-attributes-no-root','getOperationAuthor','rootName','createUserMarkerOperations','change:_isEditingAllowed','CommentsOnly','Synchronization\x20issue','sessionAdd:','affectedSelectable','type','realtimecollaborationclient-init-connection-failed','_lastSyncedOperationId','init','return','startsWith','realtimecollaborationclient-init-session-connection-error','sessionCreatedAt','_hasSynchronizationProblem','currentDocumentSession','_isPendingUpdate','lastOperationAcceptedAt','userId','_isInit','suppressErrorInCollaboration','lastDocumentSession','_handleInitialConnectionData','fire','_crash','9318gcvOLP','lastSyncVersion','_offset','reconnection:\x20flushed\x20session','realtimecollaborationclient-init-document-already-initialized','get','offset','_refreshUserSelectionMarkers','_compressOperations','view','isDocumentOperation','string','getIdOfTheLastOperation','6693929nlWfaX','$root','isPremiumPlugin','roots','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_sendBufferedOperationsDelayed','rtc-destroyed','Permissions','_addKnownRoot','change:hasDomSelection','directChange','channelSessions','real-time-collaboration','_lastServerVersion','connect','connection','round','cloudDocumentVersion','_disconnectService','apply','409','catch','loadRoot','_shouldSendUpdate','keys','disconnected','createPositionFromPath','_handleReconnectionResponse','fromJSON','disconnect','_authorId','getDocumentDetails','createRange','_isConnected','createRoot','_setPendingAction','error','serverHistory','size','_handleServerResponse','_connectAfterSessionHasBeenFlushed','clone','addToReconnectionStack','baseVersion','from','Notification','start','collaboration','_applyOperationsSet','destroy','enableReadOnlyMode','data','_document','showWarning','addRoot','stopListening','_bufferRootLoad','5dXIzMR','initData','editor','config','_handleReceivedOperations','metadata','model','remove','addRootAttribute','getOperations','404','connected','change:range','isReadOnly','removeFromReconnectionStack','lastOperationId','code','_clearPendingAction','rtc-offline','batch','isUndoneOperation','_fetchMissingUsers','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.','cs:removeUser','message','decompress','376otwxkQ','map','getConnectedSessions','path','660192FHYEfd','has','end','realtimecollaborationclient-init-service-internal-error','compress','attributes','2829124pVsOce','permissions','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','sendOperations','addOperation','_initThrowingOnDataSet','off','version','sessionId','register','cloudServices.bundleVersion','then','reconnect','define','833156UvPNmM','enqueueChange','locale','toJSON','_operationToId','_saveOperationInBuffer','CollaborativeEditingService','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_channelId','realtimecollaborationclient-sendbufferedoperations','_handleExternalOperations','_updateServerHistory','parse'];_0x1a5c=function(){return _0x4831ec;};return _0x1a5c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xb7c7(_0x1325e4,_0xdeb1d9){const _0x5ba2c1=_0x5ba2();return _0xb7c7=function(_0xb7c7e4,_0xa42408){_0xb7c7e4=_0xb7c7e4-0x1de;let _0x3cba2a=_0x5ba2c1[_0xb7c7e4];return _0x3cba2a;},_0xb7c7(_0x1325e4,_0xdeb1d9);}const _0x2e8cb=_0xb7c7;(function(_0x289919,_0x13fb9d){const _0x1d3e78=_0xb7c7,_0x1a43c0=_0x289919();while(!![]){try{const _0x451872=-parseInt(_0x1d3e78(0x1ff))/0x1*(-parseInt(_0x1d3e78(0x21b))/0x2)+-parseInt(_0x1d3e78(0x201))/0x3*(parseInt(_0x1d3e78(0x213))/0x4)+-parseInt(_0x1d3e78(0x21d))/0x5*(-parseInt(_0x1d3e78(0x21a))/0x6)+parseInt(_0x1d3e78(0x1fd))/0x7+parseInt(_0x1d3e78(0x204))/0x8+-parseInt(_0x1d3e78(0x1e4))/0x9*(parseInt(_0x1d3e78(0x1ed))/0xa)+parseInt(_0x1d3e78(0x1ec))/0xb*(parseInt(_0x1d3e78(0x20a))/0xc);if(_0x451872===_0x13fb9d)break;else _0x1a43c0['push'](_0x1a43c0['shift']());}catch(_0x476362){_0x1a43c0['push'](_0x1a43c0['shift']());}}}(_0x5ba2,0x3c84e));import{ContextPlugin as _0x28eec5}from'ckeditor5/src/core.js';import{Collection as _0x24e226,CKEditorError as _0xe200ba}from'ckeditor5/src/utils.js';function _0x5ba2(){const _0x4ca179=['assign','366363wGcxQO','forEach','role','clear','getUser','_createUser','_handleSessionAdd','getUserBySessionId','55lIADbu','110cmasGs','hiddenInPresenceList','mySessionId','sessionId','stopListening','register','channelConnectedUsers','unregister','delete','requires','_uniqueUsersCount','isOfficialPlugin','pluginName','sessions-unregister-not-exist','Sessions','sessionAdd:','541786PatZDP','change:state','19JnNMwm','allConnectedUsers','384nlhWlC','state','set','2360816DLUFOd','fire','addUser','_registeredSessions','getUserSessions','add','363348FuEFUE','values','has','connected','plugins','isMe','channelSessions','getUserRole','context','13276DwXtzm','_handleSessionRemove','init','listenTo','size','remove','orderNumber','120774qfbCBl','22542IIoROW','_users','95JgJkvM','get','defineMe','isPremiumPlugin','connection','user','sessions-register-already-registered'];_0x5ba2=function(){return _0x4ca179;};return _0x5ba2();}import{WebSocketGateway as _0x265898}from'./websocketgateway.js';import{Users as _0x541aef}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x28eec5{[_0x2e8cb(0x210)];[_0x2e8cb(0x1f3)];[_0x2e8cb(0x200)];[_0x2e8cb(0x207)];[_0x2e8cb(0x1f7)];[_0x2e8cb(0x21c)];static get[_0x2e8cb(0x1f9)](){const _0x4010c3=_0x2e8cb;return _0x4010c3(0x1fb);}static get[_0x2e8cb(0x1f8)](){return!0x0;}static get[_0x2e8cb(0x1df)](){return!0x0;}static get[_0x2e8cb(0x1f6)](){return[_0x265898,_0x541aef];}constructor(_0x47c24c){const _0x4cd2ac=_0x2e8cb;super(_0x47c24c),this[_0x4cd2ac(0x210)]=new Map(),this[_0x4cd2ac(0x1f3)]=new Map(),this[_0x4cd2ac(0x200)]=new _0x24e226(),this[_0x4cd2ac(0x207)]=new Map(),this[_0x4cd2ac(0x1f7)]=0x0,this[_0x4cd2ac(0x21c)]=this[_0x4cd2ac(0x212)][_0x4cd2ac(0x20e)][_0x4cd2ac(0x21e)](_0x541aef);}[_0x2e8cb(0x215)](){const _0x27d15e=_0x2e8cb,_0x3ac1a2=this[_0x27d15e(0x212)][_0x27d15e(0x20e)][_0x27d15e(0x21e)](_0x265898);this[_0x27d15e(0x216)](_0x3ac1a2,_0x27d15e(0x1fe),(_0xefd3ea,_0x4d16b3,_0x3eca18)=>{const _0x32cce0=_0x27d15e;if(_0x32cce0(0x20d)!==_0x3eca18)this[_0x32cce0(0x210)][_0x32cce0(0x1e5)](_0x6662c2=>_0x6662c2[_0x32cce0(0x1e7)]()),this[_0x32cce0(0x1f3)][_0x32cce0(0x1e5)](_0x56c32e=>_0x56c32e[_0x32cce0(0x1e7)]()),this[_0x32cce0(0x200)][_0x32cce0(0x1e7)]();else{for(const [_0x426cc8,_0x302c5a]of this[_0x32cce0(0x207)])for(const _0x4de392 of _0x302c5a)this[_0x32cce0(0x1ea)](_0x426cc8,_0x4de392);}}),this[_0x27d15e(0x1e9)](_0x3ac1a2[_0x27d15e(0x1e0)]['me'],!0x0);}[_0x2e8cb(0x1f2)](_0x593e94,_0x6076db){const _0x5b3353=_0x2e8cb;if(this[_0x5b3353(0x207)][_0x5b3353(0x20c)](_0x593e94))throw new _0xe200ba(_0x5b3353(0x1e2),null,{'channelId':_0x593e94});this[_0x5b3353(0x207)][_0x5b3353(0x203)](_0x593e94,_0x6076db),this[_0x5b3353(0x210)][_0x5b3353(0x203)](_0x593e94,new _0x24e226()),this[_0x5b3353(0x1f3)][_0x5b3353(0x203)](_0x593e94,new _0x24e226()),this[_0x5b3353(0x216)](_0x6076db,_0x5b3353(0x209),(_0x315777,_0x2802de)=>this[_0x5b3353(0x1ea)](_0x593e94,_0x2802de)),this[_0x5b3353(0x216)](_0x6076db,_0x5b3353(0x218),(_0x147ff3,_0x31d506)=>this[_0x5b3353(0x214)](_0x593e94,_0x31d506));for(const _0x153c9c of _0x6076db)this[_0x5b3353(0x1ea)](_0x593e94,_0x153c9c);}[_0x2e8cb(0x1f4)](_0x2f3865){const _0x49b976=_0x2e8cb;if(!this[_0x49b976(0x207)][_0x49b976(0x20c)](_0x2f3865))throw new _0xe200ba(_0x49b976(0x1fa),null,{'channelId':_0x2f3865});const _0x4c3c7e=this[_0x49b976(0x207)][_0x49b976(0x21e)](_0x2f3865);this[_0x49b976(0x1f1)](_0x4c3c7e);for(const _0x4cf227 of _0x4c3c7e)_0x49b976(0x20d)===this[_0x49b976(0x212)][_0x49b976(0x20e)][_0x49b976(0x21e)](_0x265898)[_0x49b976(0x202)]&&this[_0x49b976(0x214)](_0x2f3865,_0x4cf227);this[_0x49b976(0x207)][_0x49b976(0x1f5)](_0x2f3865),this[_0x49b976(0x210)][_0x49b976(0x1f5)](_0x2f3865),this[_0x49b976(0x1f3)][_0x49b976(0x1f5)](_0x2f3865);}get[_0x2e8cb(0x1ef)](){const _0x406e4b=_0x2e8cb;return this[_0x406e4b(0x212)][_0x406e4b(0x20e)][_0x406e4b(0x21e)](_0x265898)[_0x406e4b(0x1e0)][_0x406e4b(0x1f0)];}[_0x2e8cb(0x1eb)](_0xeebd11){const _0x2809ac=_0x2e8cb;for(const _0x2dd392 of this[_0x2809ac(0x210)][_0x2809ac(0x20b)]())for(const _0x4eafcc of _0x2dd392)if(_0x4eafcc['id']===_0xeebd11)return _0x4eafcc[_0x2809ac(0x1e1)];}[_0x2e8cb(0x208)](_0x246283,_0x543364){const _0x3b24e6=_0x2e8cb,_0x1d75d4=_0x543364?[this[_0x3b24e6(0x210)][_0x3b24e6(0x21e)](_0x543364)]:this[_0x3b24e6(0x210)][_0x3b24e6(0x20b)](),_0x3e1dc6=new Set();for(const _0x43036d of _0x1d75d4)for(const _0x6627de of _0x43036d)_0x6627de[_0x3b24e6(0x1e1)]['id']===_0x246283['id']&&_0x3e1dc6[_0x3b24e6(0x209)](_0x6627de['id']);return _0x3e1dc6;}[_0x2e8cb(0x211)](_0x1ec4f4){const _0x23e5ed=_0x2e8cb;for(const _0x2886b2 of this[_0x23e5ed(0x210)][_0x23e5ed(0x20b)]())for(const _0x3d8bee of _0x2886b2)if(_0x3d8bee[_0x23e5ed(0x1e1)]===_0x1ec4f4)return _0x3d8bee[_0x23e5ed(0x1e6)];}[_0x2e8cb(0x1ea)](_0x43a56c,_0xda1e6a){const _0x4c3bfa=_0x2e8cb;if(_0x4c3bfa(0x20d)!==this[_0x4c3bfa(0x212)][_0x4c3bfa(0x20e)][_0x4c3bfa(0x21e)](_0x265898)[_0x4c3bfa(0x202)])return;const _0x49c881=_0xda1e6a[_0x4c3bfa(0x1e1)],_0x2087f6=this[_0x4c3bfa(0x21c)][_0x4c3bfa(0x1e8)](_0x49c881['id'])||this[_0x4c3bfa(0x1e9)](_0x49c881),_0x2233da=Object[_0x4c3bfa(0x1e3)]({},_0xda1e6a,{'user':_0x2087f6});if(this[_0x4c3bfa(0x210)][_0x4c3bfa(0x21e)](_0x43a56c)[_0x4c3bfa(0x209)](_0x2233da),!_0x49c881[_0x4c3bfa(0x1ee)]){const _0x56b22f=this[_0x4c3bfa(0x1f3)][_0x4c3bfa(0x21e)](_0x43a56c);_0x56b22f[_0x4c3bfa(0x20c)](_0x2087f6['id'])||_0x56b22f[_0x4c3bfa(0x209)](_0x2087f6),this[_0x4c3bfa(0x200)][_0x4c3bfa(0x20c)](_0x2087f6['id'])||_0x49c881[_0x4c3bfa(0x1ee)]||this[_0x4c3bfa(0x200)][_0x4c3bfa(0x209)](_0x2087f6,_0x2087f6[_0x4c3bfa(0x20f)]?0x0:void 0x0);}this[_0x4c3bfa(0x205)](_0x4c3bfa(0x1fc)+_0x43a56c,{'channelId':_0x43a56c,'session':_0x2233da});}[_0x2e8cb(0x214)](_0x689a91,_0x2c1382){const _0x4b2e21=_0x2e8cb;if(_0x4b2e21(0x20d)!==this[_0x4b2e21(0x212)][_0x4b2e21(0x20e)][_0x4b2e21(0x21e)](_0x265898)[_0x4b2e21(0x202)])return;const _0x50b90f=this[_0x4b2e21(0x1f3)][_0x4b2e21(0x21e)](_0x689a91),_0x4161ed=_0x2c1382[_0x4b2e21(0x1e1)];_0x4161ed['id']&&(this[_0x4b2e21(0x210)][_0x4b2e21(0x21e)](_0x689a91)[_0x4b2e21(0x218)](_0x2c1382['id']),_0x50b90f[_0x4b2e21(0x20c)](_0x4161ed['id'])&&!this[_0x4b2e21(0x208)](_0x4161ed,_0x689a91)[_0x4b2e21(0x217)]&&_0x50b90f[_0x4b2e21(0x218)](_0x4161ed['id']),this[_0x4b2e21(0x200)][_0x4b2e21(0x21e)](_0x4161ed['id'])&&!this[_0x4b2e21(0x208)](_0x4161ed)[_0x4b2e21(0x217)]&&this[_0x4b2e21(0x200)][_0x4b2e21(0x218)](_0x4161ed['id']));}[_0x2e8cb(0x1e9)](_0x2dc41d,_0x1a624a){const _0xf744=_0x2e8cb,_0x4ac38b=this[_0xf744(0x21c)][_0xf744(0x206)](_0x2dc41d);return _0x1a624a&&this[_0xf744(0x21c)][_0xf744(0x1de)](_0x2dc41d['id']),_0x4ac38b[_0xf744(0x219)]=this[_0xf744(0x1f7)]++,_0x4ac38b;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x458e30=_0x182e;(function(_0xc6a80,_0x5c3251){const _0x488c36=_0x182e,_0x5ac5b9=_0xc6a80();while(!![]){try{const _0x227e34=-parseInt(_0x488c36(0x13c))/0x1+parseInt(_0x488c36(0x137))/0x2*(-parseInt(_0x488c36(0x11b))/0x3)+-parseInt(_0x488c36(0x149))/0x4+-parseInt(_0x488c36(0x153))/0x5+parseInt(_0x488c36(0x178))/0x6*(-parseInt(_0x488c36(0x14b))/0x7)+-parseInt(_0x488c36(0x139))/0x8*(-parseInt(_0x488c36(0x16c))/0x9)+parseInt(_0x488c36(0x141))/0xa;if(_0x227e34===_0x5c3251)break;else _0x5ac5b9['push'](_0x5ac5b9['shift']());}catch(_0x306004){_0x5ac5b9['push'](_0x5ac5b9['shift']());}}}(_0x4824,0xee092));import{Plugin as _0x81d1cd}from'ckeditor5/src/core.js';function _0x182e(_0x25e055,_0x506f19){const _0x48243b=_0x4824();return _0x182e=function(_0x182e8e,_0x30eeb9){_0x182e8e=_0x182e8e-0x113;let _0x57f2b9=_0x48243b[_0x182e8e];return _0x57f2b9;},_0x182e(_0x25e055,_0x506f19);}import{global as _0x12f304,DomEmitterMixin as _0x2ac433}from'ckeditor5/src/utils.js';import{Sessions as _0x39b204}from'./sessions.js';import{ModelLiveRange as _0x58cd9a}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x81d1cd{[_0x458e30(0x129)]=new(_0x2ac433())();static get[_0x458e30(0x16e)](){return[_0x39b204];}static get[_0x458e30(0x12e)](){const _0xa4bb17=_0x458e30;return _0xa4bb17(0x134);}static get[_0x458e30(0x15d)](){return!0x0;}static get[_0x458e30(0x165)](){return!0x0;}[_0x458e30(0x11f)](){const _0x175c44=_0x458e30,_0x47f28a=this[_0x175c44(0x17a)],_0x50e410=_0x47f28a[_0x175c44(0x132)][_0x175c44(0x198)](_0x39b204);_0x47f28a[_0x175c44(0x174)][_0x175c44(0x130)](_0x175c44(0x11c))[_0x175c44(0x17f)]({'model':_0x175c44(0x13b),'view':(_0x19561c,{writer:_0x3f6981})=>function(_0x258a25,_0x37aa10,_0x647949,_0x3856da){const _0xfd2693=_0x175c44,_0x3ee2c=_0x258a25[_0xfd2693(0x17e)][_0xfd2693(0x16b)](':')[0x2],_0x203a9a=_0x647949[_0xfd2693(0x15c)](_0x3ee2c);if(!_0x203a9a||_0x3ee2c===_0x647949[_0xfd2693(0x135)])return;if(!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)][_0xfd2693(0x13f)](_0x258a25[_0xfd2693(0x142)][_0xfd2693(0x114)],_0xfd2693(0x19a)))return;const _0x556024={'class':_0xfd2693(0x162)+_0x203a9a[_0xfd2693(0x126)][_0xfd2693(0x11a)](),'data-name':_0x203a9a[_0xfd2693(0x13d)],'data-session-id':_0x3ee2c},_0x1011e6=_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x121)][_0xfd2693(0x198)](_0x258a25[_0xfd2693(0x17e)]),_0x17abb3=_0x1011e6[_0xfd2693(0x118)](),_0x400c5b=_0x17abb3[_0xfd2693(0x172)],_0x4ae4ad=_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)];if(_0x400c5b&&_0x4ae4ad[_0xfd2693(0x170)](_0x400c5b)&&_0x4ae4ad[_0xfd2693(0x18f)](_0x400c5b)&&!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x121)][_0xfd2693(0x198)](_0xfd2693(0x16f)+_0x3ee2c)[_0xfd2693(0x180)]()[_0xfd2693(0x13a)])return;const _0x53615d=_0x17abb3[_0xfd2693(0x140)];return _0x3856da[_0xfd2693(0x183)][_0xfd2693(0x119)][_0xfd2693(0x144)](_0x53615d)&&!_0x3856da[_0xfd2693(0x183)][_0xfd2693(0x199)](_0x53615d)&&(_0x556024[_0xfd2693(0x193)]=!0x1),function(_0x5578ff,_0x4d7dd1,_0x4d9331){const _0xb1f62a=_0xfd2693,_0x597a58=_0x5578ff[_0xb1f62a(0x13e)](_0xb1f62a(0x148),_0x4d7dd1);return _0x5578ff[_0xb1f62a(0x196)](_0xb1f62a(0x127),!0x0,_0x597a58),_0x597a58[_0xb1f62a(0x123)]=function(_0x57fc7f){const _0x3c37b7=_0xb1f62a,_0x35543b=this[_0x3c37b7(0x167)](_0x57fc7f),_0x341bc2=document[_0x3c37b7(0x15b)](_0x3c37b7(0x148));return _0x341bc2[_0x3c37b7(0x17c)][_0x3c37b7(0x12d)](_0x3c37b7(0x136)),_0x341bc2[_0x3c37b7(0x187)](_0x3c37b7(0x193),_0x3c37b7(0x122)),_0x341bc2[_0x3c37b7(0x187)](_0x3c37b7(0x117),_0x3c37b7(0x122)),_0x341bc2[_0x3c37b7(0x176)]=_0x4d9331[_0x3c37b7(0x13d)],_0x35543b[_0x3c37b7(0x14a)]=_0x3c37b7(0x14d)+_0x341bc2[_0x3c37b7(0x177)]+'',_0x35543b[_0x3c37b7(0x155)](_0x3c37b7(0x131),()=>{const _0x36d5e2=_0x3c37b7;_0x35543b[_0x36d5e2(0x17c)][_0x36d5e2(0x12d)](_0x36d5e2(0x125));}),_0x35543b[_0x3c37b7(0x155)](_0x3c37b7(0x188),()=>{const _0x7396dc=_0x3c37b7;_0x35543b[_0x7396dc(0x17c)][_0x7396dc(0x181)](_0x7396dc(0x125));}),_0x35543b;},_0x597a58[_0xb1f62a(0x156)]=function(_0x4fc93f){const _0x32d3cc=_0xb1f62a;return!(!this[_0x32d3cc(0x195)](_0x32d3cc(0x127))||!_0x4fc93f[_0x32d3cc(0x195)](_0x32d3cc(0x127))||this[_0x32d3cc(0x147)](_0x32d3cc(0x169))!=_0x4fc93f[_0x32d3cc(0x147)](_0x32d3cc(0x169)));},_0x597a58;}(_0x37aa10,_0x556024,_0x203a9a);}(_0x19561c,_0x3f6981,_0x50e410,_0x47f28a)}),_0x47f28a[_0x175c44(0x174)][_0x175c44(0x130)](_0x175c44(0x11c))[_0x175c44(0x11d)]({'model':_0x175c44(0x186),'view':_0x3da786=>function(_0x65c846,_0x3e6dc8){const _0x3f4f18=_0x175c44,_0x54d45f=_0x65c846[_0x3f4f18(0x17e)][_0x3f4f18(0x16b)](':')[0x2];if(_0x54d45f===_0x3e6dc8[_0x3f4f18(0x135)])return null;const _0x5ed05f=_0x3e6dc8[_0x3f4f18(0x15c)](_0x54d45f);if(!_0x5ed05f)return{'id':_0x54d45f,'classes':[]};return{'id':_0x54d45f,'classes':[_0x3f4f18(0x17b),_0x5ed05f[_0x3f4f18(0x126)][_0x3f4f18(0x150)]()],'attributes':{'data-session-id':_0x54d45f},'priority':0x7d0+_0x5ed05f[_0x3f4f18(0x19c)]};}(_0x3da786,_0x50e410)}),function(_0x580455){const _0x298a8b=_0x175c44,_0x2c5260=_0x580455[_0x298a8b(0x183)],_0x16bf07=new Map(),_0x5991ae=_0x580455[_0x298a8b(0x132)][_0x298a8b(0x198)](_0x39b204);_0x2c5260[_0x298a8b(0x121)]['on'](_0x298a8b(0x166),(_0x47f332,_0x3a8b3e,_0x39ec9d,_0x1c7fd0)=>{const _0x4116dd=_0x298a8b;if(!_0x1c7fd0&&_0x16bf07[_0x4116dd(0x198)](_0x3a8b3e[_0x4116dd(0x13d)]))return _0x16bf07[_0x4116dd(0x198)](_0x3a8b3e[_0x4116dd(0x13d)])[_0x4116dd(0x12c)](),void _0x16bf07[_0x4116dd(0x19d)](_0x3a8b3e[_0x4116dd(0x13d)]);const _0x241a8a=_0x3a8b3e[_0x4116dd(0x13d)][_0x4116dd(0x16b)](':')[0x2];if(_0x241a8a===_0x5991ae[_0x4116dd(0x135)])return;const _0x48b048=_0x4116dd(0x18a)+_0x241a8a;_0x2c5260[_0x4116dd(0x121)][_0x4116dd(0x185)](_0x48b048)&&_0x580455[_0x4116dd(0x12f)][_0x4116dd(0x18c)](_0x48b048),_0x3a8b3e['on'](_0x4116dd(0x116),(_0xfc9c22,_0x5253d2,_0x42135b)=>{const _0x2df196=_0x4116dd;if(_0x2df196(0x157)!=_0x5253d2[_0x2df196(0x161)][_0x2df196(0x197)]&&_0x2df196(0x157)==_0x3a8b3e[_0x2df196(0x180)]()[_0x2df196(0x161)][_0x2df196(0x197)]&&!_0x16bf07[_0x2df196(0x185)](_0x3a8b3e[_0x2df196(0x13d)])){const _0x11f44d=_0x2c5260[_0x2df196(0x119)][_0x2df196(0x160)](_0x42135b[_0x2df196(0x120)]);if(_0x11f44d){const _0x2408e2=_0x58cd9a[_0x2df196(0x159)](_0x11f44d);_0x16bf07[_0x2df196(0x171)](_0x3a8b3e[_0x2df196(0x13d)],_0x2408e2),_0x2408e2['on'](_0x2df196(0x116),(_0x2109d5,_0x1270a1,_0x464e06)=>{const _0x34537f=_0x2df196;if(_0x34537f(0x157)==_0x2408e2[_0x34537f(0x161)][_0x34537f(0x197)]){const _0x365e56=_0x2c5260[_0x34537f(0x119)][_0x34537f(0x160)](_0x464e06[_0x34537f(0x120)]);_0x365e56?(_0x2408e2[_0x34537f(0x114)]=_0x365e56[_0x34537f(0x114)],_0x2408e2[_0x34537f(0x128)]=_0x365e56[_0x34537f(0x128)]):(_0x16bf07[_0x34537f(0x19d)](_0x3a8b3e[_0x34537f(0x13d)]),_0x2408e2[_0x34537f(0x12c)]());}});}}});}),_0x2c5260[_0x298a8b(0x189)]['on'](_0x298a8b(0x124),()=>{const _0x417dc1=_0x298a8b;_0x16bf07[_0x417dc1(0x163)]>0x0&&_0x2c5260[_0x417dc1(0x168)]({'isUndoable':!0x1},_0x27c6b3=>{const _0x197f5f=_0x417dc1;for(const [_0x71c6f2,_0x31e2a0]of _0x16bf07)_0x197f5f(0x157)==_0x2c5260[_0x197f5f(0x121)][_0x197f5f(0x198)](_0x71c6f2)[_0x197f5f(0x180)]()[_0x197f5f(0x161)][_0x197f5f(0x197)]&&(Z(_0x71c6f2[_0x197f5f(0x16b)](':')[0x2],_0x31e2a0[_0x197f5f(0x158)](),_0x2c5260,_0x27c6b3),_0x31e2a0[_0x197f5f(0x12c)]());_0x16bf07[_0x197f5f(0x12b)]();});});}(_0x47f28a),this[_0x175c44(0x129)][_0x175c44(0x182)](_0x12f304[_0x175c44(0x189)],_0x175c44(0x113),(_0x55e4c9,{key:_0x2aefd9})=>{const _0xeebeef=_0x175c44;_0xeebeef(0x14c)===_0x2aefd9&&function(_0x2c405d){const _0x2898dd=_0xeebeef;_0x2c405d[_0x2898dd(0x12f)][_0x2898dd(0x184)][_0x2898dd(0x124)](_0x730c7c=>{const _0x205c5e=_0x2898dd;for(const _0xa3aef0 of _0x2c405d[_0x205c5e(0x183)][_0x205c5e(0x121)]){if(!_0xa3aef0[_0x205c5e(0x13d)][_0x205c5e(0x179)](_0x205c5e(0x13b)))continue;const _0x4d1cc0=_0x2c405d[_0x205c5e(0x12f)][_0x205c5e(0x14e)][_0x205c5e(0x154)](_0xa3aef0[_0x205c5e(0x13d)]);if(_0x4d1cc0){for(const _0x3bbdcd of _0x4d1cc0)_0x730c7c[_0x205c5e(0x164)](_0x205c5e(0x125),_0x3bbdcd);}}});}(_0x47f28a);},{'useCapture':!0x0});}[_0x458e30(0x12a)](){const _0x50577a=_0x458e30,_0x43f4f7=this[_0x50577a(0x17a)],_0x13611e=_0x43f4f7[_0x50577a(0x194)][_0x50577a(0x198)](_0x50577a(0x19b));_0x13611e&&_0x43f4f7[_0x50577a(0x183)]['on'](_0x50577a(0x14f),(_0x5e4f1d,_0x5d71cb)=>{const _0x3bbd5d=_0x50577a,_0x221726=_0x5d71cb[0x0];if(!_0x221726[_0x3bbd5d(0x190)])return;if(_0x3bbd5d(0x18b)!=_0x221726[_0x3bbd5d(0x146)]||!_0x221726[_0x3bbd5d(0x13d)][_0x3bbd5d(0x179)](_0x3bbd5d(0x192)))return;const _0x1410ee=_0x221726[_0x3bbd5d(0x143)];_0x13611e[_0x3bbd5d(0x175)][_0x3bbd5d(0x185)](_0x1410ee)&&(_0x221726[_0x3bbd5d(0x133)]=_0x221726[_0x3bbd5d(0x191)]?_0x43f4f7[_0x3bbd5d(0x183)][_0x3bbd5d(0x152)](_0x221726[_0x3bbd5d(0x191)][_0x3bbd5d(0x114)],_0x221726[_0x3bbd5d(0x191)][_0x3bbd5d(0x128)]):null);},{'priority':_0x50577a(0x138)});}[_0x458e30(0x173)](){const _0x32a9d6=_0x458e30;return this[_0x32a9d6(0x129)][_0x32a9d6(0x15a)](),super[_0x32a9d6(0x173)]();}[_0x458e30(0x17d)](){const _0x583795=_0x458e30,_0x21482a=this[_0x583795(0x17a)],_0x1bcba0=_0x21482a[_0x583795(0x183)][_0x583795(0x189)],_0x5b24c8=_0x21482a[_0x583795(0x132)][_0x583795(0x198)](_0x39b204);_0x21482a[_0x583795(0x183)][_0x583795(0x168)]({'isUndoable':!0x1},_0x5ecd19=>{const _0x2220be=_0x583795,_0x1b65c1=_0x2220be(0x16f)+_0x5b24c8[_0x2220be(0x135)],_0x46cb1b=_0x2220be(0x18a)+_0x5b24c8[_0x2220be(0x135)],_0x2a04f6=_0x21482a[_0x2220be(0x183)][_0x2220be(0x121)][_0x2220be(0x185)](_0x1b65c1);_0x21482a[_0x2220be(0x12f)][_0x2220be(0x184)][_0x2220be(0x16a)]?Z(_0x5b24c8[_0x2220be(0x135)],_0x1bcba0[_0x2220be(0x18e)][_0x2220be(0x15e)](),_0x21482a[_0x2220be(0x183)],_0x5ecd19):_0x2a04f6&&(_0x5ecd19[_0x2220be(0x11e)](_0x1b65c1),_0x5ecd19[_0x2220be(0x11e)](_0x46cb1b));});}}function _0x4824(){const _0x1a1320=['1328499NOSgVG','name','createUIElement','checkChild','parent','52458550CdCrGN','markerRange','batch','isLimit','element','type','getAttribute','span','1520044EEMGnQ','innerHTML','15323RXFESi','Escape','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mapper','applyOperation','getSelectionClass','addMarker','createRange','6100875FlgCTG','markerNameToElements','addEventListener','isSimilar','$graveyard','toRange','fromRange','stopListening','createElement','getUserBySessionId','isOfficialPlugin','getFirstRange','tableCell','getNearestSelectionRange','root','ck-user__marker\x20','size','removeClass','isPremiumPlugin','update:user:range','toDomElement','enqueueChange','data-session-id','hasDomSelection','split','220869hippYC','updateMarker','requires','user:range:','isObject','set','nodeAfter','destroy','conversion','_createdBatches','textContent','outerHTML','2136PUrTMi','startsWith','editor','ck-user__selection','classList','createUserMarkerOperations','markerName','markerToElement','getRange','remove','listenTo','model','view','has','user:range','setAttribute','mouseleave','document','user:position:','marker','reconvertMarker','getContainedElement','selection','isInline','isDocumentOperation','oldRange','user:','contenteditable','commands','getCustomProperty','setCustomProperty','rootName','get','hasContent','$text','undo','orderNumber','delete','keydown','start','getPositions','change:range','spellcheck','getStart','schema','getMarkerClass','79629fvBacK','editingDowncast','markerToHighlight','removeMarker','init','deletionPosition','markers','false','render','change','ck-user__marker_hovered','color','userPositionMarker','end','_domEmitter','afterInit','clear','detach','add','pluginName','editing','for','mouseenter','plugins','newRange','UserMarkers','mySessionId','ck-user__marker-tooltip','72bPpfbm','highest','128jKJiDy','isCollapsed','user:position'];_0x4824=function(){return _0x1a1320;};return _0x4824();}function Z(_0x2fae42,_0x3b9f38,_0x2a39cd,_0x234399){const _0x551700=_0x458e30,_0x40073f=_0x551700(0x16f)+_0x2fae42,_0x32ecb8=_0x551700(0x18a)+_0x2fae42,_0x1783c2=_0x3b9f38[_0x551700(0x18d)]();let _0x29373b=_0x3b9f38[_0x551700(0x114)];if(_0x1783c2&&_0x1783c2['is'](_0x551700(0x145),_0x551700(0x15f))){const _0x27304f=function(_0x54865d,_0x470567){const _0x29b6f4=_0x551700;for(const _0x28bb9e of _0x54865d[_0x29b6f4(0x115)]())if(_0x470567[_0x29b6f4(0x119)][_0x29b6f4(0x13f)](_0x28bb9e,_0x29b6f4(0x19a)))return _0x28bb9e;}(_0x3b9f38,_0x2a39cd);_0x27304f&&(_0x29373b=_0x27304f,_0x3b9f38=_0x234399[_0x551700(0x152)](_0x29373b));}const _0x2c3f98=_0x234399[_0x551700(0x152)](_0x29373b);_0x2a39cd[_0x551700(0x121)][_0x551700(0x185)](_0x40073f)?(_0x234399[_0x551700(0x16d)](_0x40073f,{'range':_0x3b9f38}),_0x234399[_0x551700(0x16d)](_0x32ecb8,{'range':_0x2c3f98})):(_0x234399[_0x551700(0x151)](_0x40073f,{'range':_0x3b9f38,'usingOperation':!0x0}),_0x234399[_0x551700(0x151)](_0x32ecb8,{'range':_0x2c3f98,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x26e2(){const _0x17d2e7=['1247826AVrAnn','148coHobU','getCustomProperty','nodeAfter','isLimit','fromRange','getFirstRange','isOfficialPlugin','schema','2069565NGLQUM','start','addEventListener','mouseenter','keydown','split','deletionPosition','getContainedElement','classList','markerRange','Escape','newRange','mapper','user:range:','has','reconvertMarker','getNearestSelectionRange','isSimilar','update:user:range','2155860IKcOVi','spellcheck','span','createRange','commands','setAttribute','removeClass','root','getSelectionClass','name','pluginName','isObject','stopListening','clear','isInline','innerHTML','model','_createdBatches','marker','applyOperation','user:range','_domEmitter','createElement','contenteditable','orderNumber','getAttribute','oldRange','5458HaALYx','hasDomSelection','get','getPositions','requires','add','setCustomProperty','destroy','conversion','5qrflfk','enqueueChange','detach','ck-user__marker\x20','ck-user__selection','createUserMarkerOperations','removeMarker','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','remove','getStart','outerHTML','listenTo','7mMQWbc','set','toDomElement','view','change:range','init','startsWith','mouseleave','mySessionId','$graveyard','editing','$text','data-session-id','change','end','element','1328508slCjpa','isDocumentOperation','ck-user__marker_hovered','type','false','user:','parent','markerNameToElements','markerToHighlight','markers','rootName','getUserBySessionId','size','afterInit','hasContent','tableCell','batch','markerToElement','userPositionMarker','7853820kOzTMU','ck-user__marker-tooltip','toRange','user:position','document','plugins','editingDowncast','isCollapsed','createUIElement','addMarker','selection','user:position:','isPremiumPlugin','color','getRange','delete','UserMarkers','editor','undo','checkChild','render','updateMarker','highest','markerName','getMarkerClass','for','textContent','3999536ewUJJK'];_0x26e2=function(){return _0x17d2e7;};return _0x26e2();}function _0x4766(_0xf10e96,_0x5f0494){const _0x26e2b9=_0x26e2();return _0x4766=function(_0x4766ed,_0x51aa61){_0x4766ed=_0x4766ed-0xc6;let _0x51b776=_0x26e2b9[_0x4766ed];return _0x51b776;},_0x4766(_0xf10e96,_0x5f0494);}const _0x4ab7a7=_0x4766;(function(_0x487b78,_0x11401c){const _0xc254b=_0x4766,_0x1aedb8=_0x487b78();while(!![]){try{const _0xb9c9d4=-parseInt(_0xc254b(0x10e))/0x1*(-parseInt(_0xc254b(0x144))/0x2)+parseInt(_0xc254b(0x116))/0x3+parseInt(_0xc254b(0x129))/0x4+parseInt(_0xc254b(0x14d))/0x5*(parseInt(_0xc254b(0x10d))/0x6)+-parseInt(_0xc254b(0xce))/0x7*(parseInt(_0xc254b(0x10c))/0x8)+-parseInt(_0xc254b(0xde))/0x9+-parseInt(_0xc254b(0xf1))/0xa;if(_0xb9c9d4===_0x11401c)break;else _0x1aedb8['push'](_0x1aedb8['shift']());}catch(_0x40a4b0){_0x1aedb8['push'](_0x1aedb8['shift']());}}}(_0x26e2,0x638c3));import{Plugin as _0x2092c2}from'ckeditor5/src/core.js';import{global as _0x13af45,DomEmitterMixin as _0x210b25}from'ckeditor5/src/utils.js';import{Sessions as _0x5d57d2}from'./sessions.js';import{ModelLiveRange as _0x68921a}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2092c2{[_0x4ab7a7(0x13e)]=new(_0x210b25())();static get[_0x4ab7a7(0x148)](){return[_0x5d57d2];}static get[_0x4ab7a7(0x133)](){const _0x3b5577=_0x4ab7a7;return _0x3b5577(0x101);}static get[_0x4ab7a7(0x114)](){return!0x0;}static get[_0x4ab7a7(0xfd)](){return!0x0;}[_0x4ab7a7(0xd3)](){const _0x44a18d=_0x4ab7a7,_0x263519=this[_0x44a18d(0x102)],_0x222ed9=_0x263519[_0x44a18d(0xf6)][_0x44a18d(0x146)](_0x5d57d2);_0x263519[_0x44a18d(0x14c)][_0x44a18d(0x10a)](_0x44a18d(0xf7))[_0x44a18d(0xef)]({'model':_0x44a18d(0xf4),'view':(_0x40afd3,{writer:_0x5a7b59})=>function(_0x4e29c1,_0x4adec1,_0x188575,_0x1f0248){const _0x45f4af=_0x44a18d,_0x4f831d=_0x4e29c1[_0x45f4af(0x108)][_0x45f4af(0x11b)](':')[0x2],_0x311ec5=_0x188575[_0x45f4af(0xe9)](_0x4f831d);if(!_0x311ec5||_0x4f831d===_0x188575[_0x45f4af(0xd6)])return;if(!_0x1f0248[_0x45f4af(0x139)][_0x45f4af(0x115)][_0x45f4af(0x104)](_0x4e29c1[_0x45f4af(0x11f)][_0x45f4af(0x117)],_0x45f4af(0xd9)))return;const _0x47a618={'class':_0x45f4af(0x150)+_0x311ec5[_0x45f4af(0xfe)][_0x45f4af(0x109)](),'data-name':_0x311ec5[_0x45f4af(0x132)],'data-session-id':_0x4f831d},_0x43fb5a=_0x1f0248[_0x45f4af(0x139)][_0x45f4af(0xe7)][_0x45f4af(0x146)](_0x4e29c1[_0x45f4af(0x108)]),_0x5d1647=_0x43fb5a[_0x45f4af(0xcb)](),_0x197c79=_0x5d1647[_0x45f4af(0x110)],_0x318512=_0x1f0248[_0x45f4af(0x139)][_0x45f4af(0x115)];if(_0x197c79&&_0x318512[_0x45f4af(0x134)](_0x197c79)&&_0x318512[_0x45f4af(0x137)](_0x197c79)&&!_0x1f0248[_0x45f4af(0x139)][_0x45f4af(0xe7)][_0x45f4af(0x146)](_0x45f4af(0x123)+_0x4f831d)[_0x45f4af(0xff)]()[_0x45f4af(0xf8)])return;const _0x56ac8e=_0x5d1647[_0x45f4af(0xe4)];return _0x1f0248[_0x45f4af(0x139)][_0x45f4af(0x115)][_0x45f4af(0x111)](_0x56ac8e)&&!_0x1f0248[_0x45f4af(0x139)][_0x45f4af(0xec)](_0x56ac8e)&&(_0x47a618[_0x45f4af(0x140)]=!0x1),function(_0x591be6,_0x108d7b,_0x11584a){const _0x15ed7d=_0x45f4af,_0x31f8f5=_0x591be6[_0x15ed7d(0xf9)](_0x15ed7d(0x12b),_0x108d7b);return _0x591be6[_0x15ed7d(0x14a)](_0x15ed7d(0xf0),!0x0,_0x31f8f5),_0x31f8f5[_0x15ed7d(0x105)]=function(_0x32b3cd){const _0x592c0a=_0x15ed7d,_0x481530=this[_0x592c0a(0xd0)](_0x32b3cd),_0x390519=document[_0x592c0a(0x13f)](_0x592c0a(0x12b));return _0x390519[_0x592c0a(0x11e)][_0x592c0a(0x149)](_0x592c0a(0xf2)),_0x390519[_0x592c0a(0x12e)](_0x592c0a(0x140),_0x592c0a(0xe2)),_0x390519[_0x592c0a(0x12e)](_0x592c0a(0x12a),_0x592c0a(0xe2)),_0x390519[_0x592c0a(0x10b)]=_0x11584a[_0x592c0a(0x132)],_0x481530[_0x592c0a(0x138)]=_0x592c0a(0xc9)+_0x390519[_0x592c0a(0xcc)]+'',_0x481530[_0x592c0a(0x118)](_0x592c0a(0x119),()=>{const _0x56d171=_0x592c0a;_0x481530[_0x56d171(0x11e)][_0x56d171(0x149)](_0x56d171(0xe0));}),_0x481530[_0x592c0a(0x118)](_0x592c0a(0xd5),()=>{const _0x5c85bc=_0x592c0a;_0x481530[_0x5c85bc(0x11e)][_0x5c85bc(0xca)](_0x5c85bc(0xe0));}),_0x481530;},_0x31f8f5[_0x15ed7d(0x127)]=function(_0x2e7cd2){const _0x13b111=_0x15ed7d;return!(!this[_0x13b111(0x10f)](_0x13b111(0xf0))||!_0x2e7cd2[_0x13b111(0x10f)](_0x13b111(0xf0))||this[_0x13b111(0x142)](_0x13b111(0xda))!=_0x2e7cd2[_0x13b111(0x142)](_0x13b111(0xda)));},_0x31f8f5;}(_0x4adec1,_0x47a618,_0x311ec5);}(_0x40afd3,_0x5a7b59,_0x222ed9,_0x263519)}),_0x263519[_0x44a18d(0x14c)][_0x44a18d(0x10a)](_0x44a18d(0xf7))[_0x44a18d(0xe6)]({'model':_0x44a18d(0x13d),'view':_0x316020=>function(_0x45c851,_0x1aa83e){const _0x275d25=_0x44a18d,_0xfba991=_0x45c851[_0x275d25(0x108)][_0x275d25(0x11b)](':')[0x2];if(_0xfba991===_0x1aa83e[_0x275d25(0xd6)])return null;const _0x4634d5=_0x1aa83e[_0x275d25(0xe9)](_0xfba991);if(!_0x4634d5)return{'id':_0xfba991,'classes':[]};return{'id':_0xfba991,'classes':[_0x275d25(0xc6),_0x4634d5[_0x275d25(0xfe)][_0x275d25(0x131)]()],'attributes':{'data-session-id':_0xfba991},'priority':0x7d0+_0x4634d5[_0x275d25(0x141)]};}(_0x316020,_0x222ed9)}),function(_0x568e00){const _0x20497e=_0x44a18d,_0xb7bc6c=_0x568e00[_0x20497e(0x139)],_0x321a74=new Map(),_0x366869=_0x568e00[_0x20497e(0xf6)][_0x20497e(0x146)](_0x5d57d2);_0xb7bc6c[_0x20497e(0xe7)]['on'](_0x20497e(0x128),(_0xb6112b,_0x1cfd91,_0x200b0d,_0x3a9e5b)=>{const _0x49c7dd=_0x20497e;if(!_0x3a9e5b&&_0x321a74[_0x49c7dd(0x146)](_0x1cfd91[_0x49c7dd(0x132)]))return _0x321a74[_0x49c7dd(0x146)](_0x1cfd91[_0x49c7dd(0x132)])[_0x49c7dd(0x14f)](),void _0x321a74[_0x49c7dd(0x100)](_0x1cfd91[_0x49c7dd(0x132)]);const _0x10658d=_0x1cfd91[_0x49c7dd(0x132)][_0x49c7dd(0x11b)](':')[0x2];if(_0x10658d===_0x366869[_0x49c7dd(0xd6)])return;const _0x4d4fe9=_0x49c7dd(0xfc)+_0x10658d;_0xb7bc6c[_0x49c7dd(0xe7)][_0x49c7dd(0x124)](_0x4d4fe9)&&_0x568e00[_0x49c7dd(0xd8)][_0x49c7dd(0x125)](_0x4d4fe9),_0x1cfd91['on'](_0x49c7dd(0xd2),(_0x123296,_0x536e34,_0x4c1598)=>{const _0x321b5f=_0x49c7dd;if(_0x321b5f(0xd7)!=_0x536e34[_0x321b5f(0x130)][_0x321b5f(0xe8)]&&_0x321b5f(0xd7)==_0x1cfd91[_0x321b5f(0xff)]()[_0x321b5f(0x130)][_0x321b5f(0xe8)]&&!_0x321a74[_0x321b5f(0x124)](_0x1cfd91[_0x321b5f(0x132)])){const _0x457917=_0xb7bc6c[_0x321b5f(0x115)][_0x321b5f(0x126)](_0x4c1598[_0x321b5f(0x11c)]);if(_0x457917){const _0x56b17f=_0x68921a[_0x321b5f(0x112)](_0x457917);_0x321a74[_0x321b5f(0xcf)](_0x1cfd91[_0x321b5f(0x132)],_0x56b17f),_0x56b17f['on'](_0x321b5f(0xd2),(_0x18f0a8,_0x121fb9,_0x5f3434)=>{const _0x1bfdda=_0x321b5f;if(_0x1bfdda(0xd7)==_0x56b17f[_0x1bfdda(0x130)][_0x1bfdda(0xe8)]){const _0x332618=_0xb7bc6c[_0x1bfdda(0x115)][_0x1bfdda(0x126)](_0x5f3434[_0x1bfdda(0x11c)]);_0x332618?(_0x56b17f[_0x1bfdda(0x117)]=_0x332618[_0x1bfdda(0x117)],_0x56b17f[_0x1bfdda(0xdc)]=_0x332618[_0x1bfdda(0xdc)]):(_0x321a74[_0x1bfdda(0x100)](_0x1cfd91[_0x1bfdda(0x132)]),_0x56b17f[_0x1bfdda(0x14f)]());}});}}});}),_0xb7bc6c[_0x20497e(0xf5)]['on'](_0x20497e(0xdb),()=>{const _0x9757c6=_0x20497e;_0x321a74[_0x9757c6(0xea)]>0x0&&_0xb7bc6c[_0x9757c6(0x14e)]({'isUndoable':!0x1},_0x1d105e=>{const _0x577688=_0x9757c6;for(const [_0xed4da1,_0x69ffe3]of _0x321a74)_0x577688(0xd7)==_0xb7bc6c[_0x577688(0xe7)][_0x577688(0x146)](_0xed4da1)[_0x577688(0xff)]()[_0x577688(0x130)][_0x577688(0xe8)]&&(q(_0xed4da1[_0x577688(0x11b)](':')[0x2],_0x69ffe3[_0x577688(0xf3)](),_0xb7bc6c,_0x1d105e),_0x69ffe3[_0x577688(0x14f)]());_0x321a74[_0x577688(0x136)]();});});}(_0x263519),this[_0x44a18d(0x13e)][_0x44a18d(0xcd)](_0x13af45[_0x44a18d(0xf5)],_0x44a18d(0x11a),(_0x5cd7ea,{key:_0x1c74bc})=>{const _0x2131d9=_0x44a18d;_0x2131d9(0x120)===_0x1c74bc&&function(_0x49d1d4){const _0x1ab569=_0x2131d9;_0x49d1d4[_0x1ab569(0xd8)][_0x1ab569(0xd1)][_0x1ab569(0xdb)](_0x5a5440=>{const _0x301be9=_0x1ab569;for(const _0x19ec2a of _0x49d1d4[_0x301be9(0x139)][_0x301be9(0xe7)]){if(!_0x19ec2a[_0x301be9(0x132)][_0x301be9(0xd4)](_0x301be9(0xf4)))continue;const _0x29d74a=_0x49d1d4[_0x301be9(0xd8)][_0x301be9(0x122)][_0x301be9(0xe5)](_0x19ec2a[_0x301be9(0x132)]);if(_0x29d74a){for(const _0x4d88f2 of _0x29d74a)_0x5a5440[_0x301be9(0x12f)](_0x301be9(0xe0),_0x4d88f2);}}});}(_0x263519);},{'useCapture':!0x0});}[_0x4ab7a7(0xeb)](){const _0x313cf3=_0x4ab7a7,_0x5a967e=this[_0x313cf3(0x102)],_0x5bb8f1=_0x5a967e[_0x313cf3(0x12d)][_0x313cf3(0x146)](_0x313cf3(0x103));_0x5bb8f1&&_0x5a967e[_0x313cf3(0x139)]['on'](_0x313cf3(0x13c),(_0x441db8,_0x1db2ef)=>{const _0xf2f2ec=_0x313cf3,_0x3fe5b4=_0x1db2ef[0x0];if(!_0x3fe5b4[_0xf2f2ec(0xdf)])return;if(_0xf2f2ec(0x13b)!=_0x3fe5b4[_0xf2f2ec(0xe1)]||!_0x3fe5b4[_0xf2f2ec(0x132)][_0xf2f2ec(0xd4)](_0xf2f2ec(0xe3)))return;const _0x45ee52=_0x3fe5b4[_0xf2f2ec(0xee)];_0x5bb8f1[_0xf2f2ec(0x13a)][_0xf2f2ec(0x124)](_0x45ee52)&&(_0x3fe5b4[_0xf2f2ec(0x121)]=_0x3fe5b4[_0xf2f2ec(0x143)]?_0x5a967e[_0xf2f2ec(0x139)][_0xf2f2ec(0x12c)](_0x3fe5b4[_0xf2f2ec(0x143)][_0xf2f2ec(0x117)],_0x3fe5b4[_0xf2f2ec(0x143)][_0xf2f2ec(0xdc)]):null);},{'priority':_0x313cf3(0x107)});}[_0x4ab7a7(0x14b)](){const _0x362a02=_0x4ab7a7;return this[_0x362a02(0x13e)][_0x362a02(0x135)](),super[_0x362a02(0x14b)]();}[_0x4ab7a7(0xc7)](){const _0x4fae68=_0x4ab7a7,_0x10c92d=this[_0x4fae68(0x102)],_0x239675=_0x10c92d[_0x4fae68(0x139)][_0x4fae68(0xf5)],_0x3e0494=_0x10c92d[_0x4fae68(0xf6)][_0x4fae68(0x146)](_0x5d57d2);_0x10c92d[_0x4fae68(0x139)][_0x4fae68(0x14e)]({'isUndoable':!0x1},_0x45e7a0=>{const _0x3bad60=_0x4fae68,_0x21a909=_0x3bad60(0x123)+_0x3e0494[_0x3bad60(0xd6)],_0x2e1f46=_0x3bad60(0xfc)+_0x3e0494[_0x3bad60(0xd6)],_0x22de32=_0x10c92d[_0x3bad60(0x139)][_0x3bad60(0xe7)][_0x3bad60(0x124)](_0x21a909);_0x10c92d[_0x3bad60(0xd8)][_0x3bad60(0xd1)][_0x3bad60(0x145)]?q(_0x3e0494[_0x3bad60(0xd6)],_0x239675[_0x3bad60(0xfb)][_0x3bad60(0x113)](),_0x10c92d[_0x3bad60(0x139)],_0x45e7a0):_0x22de32&&(_0x45e7a0[_0x3bad60(0xc8)](_0x21a909),_0x45e7a0[_0x3bad60(0xc8)](_0x2e1f46));});}}function q(_0x448caf,_0x20cbb6,_0x13a3a0,_0x2fe2f0){const _0x39bc1a=_0x4ab7a7,_0xae74e3=_0x39bc1a(0x123)+_0x448caf,_0x440fb8=_0x39bc1a(0xfc)+_0x448caf,_0x18fc16=_0x20cbb6[_0x39bc1a(0x11d)]();let _0x2e4180=_0x20cbb6[_0x39bc1a(0x117)];if(_0x18fc16&&_0x18fc16['is'](_0x39bc1a(0xdd),_0x39bc1a(0xed))){const _0x24cf7a=function(_0x2de395,_0x51c29d){const _0x16a89f=_0x39bc1a;for(const _0x8a0cc5 of _0x2de395[_0x16a89f(0x147)]())if(_0x51c29d[_0x16a89f(0x115)][_0x16a89f(0x104)](_0x8a0cc5,_0x16a89f(0xd9)))return _0x8a0cc5;}(_0x20cbb6,_0x13a3a0);_0x24cf7a&&(_0x2e4180=_0x24cf7a,_0x20cbb6=_0x2fe2f0[_0x39bc1a(0x12c)](_0x2e4180));}const _0x5e5855=_0x2fe2f0[_0x39bc1a(0x12c)](_0x2e4180);_0x13a3a0[_0x39bc1a(0xe7)][_0x39bc1a(0x124)](_0xae74e3)?(_0x2fe2f0[_0x39bc1a(0x106)](_0xae74e3,{'range':_0x20cbb6}),_0x2fe2f0[_0x39bc1a(0x106)](_0x440fb8,{'range':_0x5e5855})):(_0x2fe2f0[_0x39bc1a(0xfa)](_0xae74e3,{'range':_0x20cbb6,'usingOperation':!0x0}),_0x2fe2f0[_0x39bc1a(0xfa)](_0x440fb8,{'range':_0x5e5855,'usingOperation':!0x0}));}
|