@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.1 → 46.0.1-alpha.11
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
|
-
const
|
|
23
|
+
const _0x52f881=_0x3da2;function _0x49da(){const _0x335c6e=['aria-expanded','relatedTarget','ck-presence-list__list','setAttribute','list','3782528aZQwRJ','50tcqzWX','render','Connected\x20users\x20list','listenTo','8sPBwHD','setTemplate','12lIVDug','7405ljeLku','.ck-presence-list__dropdown-list','removeAttribute','829555ucoUUp','hasPopup','2295873HSjMfg','querySelector','fire','focus','keystrokes','isExpanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','contains','set','8859042ipmhGg','2806287RPhcuh','bindTemplate','element','2468284HGePwJ','presencelist:show','190kSTvbk','createCollection','change:hasPopup','items','.ck-balloon-panel_with-arrow','div','presencelist:hide'];_0x49da=function(){return _0x335c6e;};return _0x49da();}(function(_0x49ae6c,_0x47bb04){const _0x4bda42=_0x3da2,_0x32f252=_0x49ae6c();while(!![]){try{const _0x4efb69=-parseInt(_0x4bda42(0x1c4))/0x1*(-parseInt(_0x4bda42(0x1b0))/0x2)+-parseInt(_0x4bda42(0x1c9))/0x3+parseInt(_0x4bda42(0x1bc))/0x4+parseInt(_0x4bda42(0x1c7))/0x5*(parseInt(_0x4bda42(0x1c3))/0x6)+-parseInt(_0x4bda42(0x1ae))/0x7+parseInt(_0x4bda42(0x1c1))/0x8*(parseInt(_0x4bda42(0x1aa))/0x9)+parseInt(_0x4bda42(0x1bd))/0xa*(-parseInt(_0x4bda42(0x1ab))/0xb);if(_0x4efb69===_0x47bb04)break;else _0x32f252['push'](_0x32f252['shift']());}catch(_0x70e520){_0x32f252['push'](_0x32f252['shift']());}}}(_0x49da,0x8b983));import{View as _0x5ef98a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x40470f}from'ckeditor5/src/utils.js';function _0x3da2(_0x41f12f,_0x4ade20){const _0x49dacb=_0x49da();return _0x3da2=function(_0x3da2b3,_0x49423d){_0x3da2b3=_0x3da2b3-0x1a9;let _0x4989cb=_0x49dacb[_0x3da2b3];return _0x4989cb;},_0x3da2(_0x41f12f,_0x4ade20);}import{getTranslation as _0x1d3131}from'../../common-translations.js';export class PresenceInlineListView extends _0x5ef98a{[_0x52f881(0x1b3)];[_0x52f881(0x1cd)];constructor(_0x228d56){const _0x4364bc=_0x52f881;super(_0x228d56);const _0x194e8a=this[_0x4364bc(0x1ac)];this[_0x4364bc(0x1b3)]=this[_0x4364bc(0x1b1)](),this[_0x4364bc(0x1cd)]=new _0x40470f(),this[_0x4364bc(0x1a9)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4364bc(0x1c2)]({'tag':_0x4364bc(0x1b5),'attributes':{'aria-haspopup':_0x194e8a['if'](_0x4364bc(0x1c8)),'aria-expanded':_0x194e8a['to'](_0x4364bc(0x1ce),_0x390800=>this[_0x4364bc(0x1c8)]&&String(_0x390800)),'aria-label':_0x194e8a['to'](_0x4364bc(0x1c8),_0x5df267=>_0x1d3131(_0x228d56,_0x5df267?_0x4364bc(0x1cf):_0x4364bc(0x1bf))),'role':_0x4364bc(0x1bb),'tabindex':_0x194e8a['to'](_0x4364bc(0x1c8),_0x56a472=>!!_0x56a472&&0x0),'class':['ck',_0x4364bc(0x1b9)]},'children':this[_0x4364bc(0x1b3)],'on':{'mouseenter':_0x194e8a['to'](()=>this[_0x4364bc(0x1cb)](_0x4364bc(0x1af))),'mouseleave':_0x194e8a['to'](_0x42846b=>{const _0x4672f2=_0x4364bc,_0x5a9f41=_0x42846b,_0x350fed=document[_0x4672f2(0x1ca)](_0x4672f2(0x1c5)),_0x5c9fbd=document[_0x4672f2(0x1ca)](_0x4672f2(0x1b4));_0x350fed?.[_0x4672f2(0x1d0)](_0x5a9f41[_0x4672f2(0x1b8)])||_0x5c9fbd?.[_0x4672f2(0x1d0)](_0x5a9f41[_0x4672f2(0x1b8)])||this[_0x4672f2(0x1cb)](_0x4672f2(0x1b6));})}}),this['on'](_0x4364bc(0x1b2),(_0x341f4a,_0xc3a097,_0x47df7f)=>{const _0x2e3c44=_0x4364bc;this[_0x2e3c44(0x1ad)]&&(_0x47df7f?this[_0x2e3c44(0x1ad)][_0x2e3c44(0x1ba)](_0x2e3c44(0x1b7),String(this[_0x2e3c44(0x1ce)])):this[_0x2e3c44(0x1ad)][_0x2e3c44(0x1c6)](_0x2e3c44(0x1b7)));});}[_0x52f881(0x1cc)](){const _0x542bd3=_0x52f881;this[_0x542bd3(0x1ad)][_0x542bd3(0x1cc)]();}[_0x52f881(0x1be)](){const _0x570e77=_0x52f881;super[_0x570e77(0x1be)](),this[_0x570e77(0x1cd)][_0x570e77(0x1c0)](this[_0x570e77(0x1ad)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4195(_0x532465,_0x5f0811){const _0x62f4fb=_0x62f4();return _0x4195=function(_0x419573,_0x2e247a){_0x419573=_0x419573-0x13e;let _0x23ed2c=_0x62f4fb[_0x419573];return _0x23ed2c;},_0x4195(_0x532465,_0x5f0811);}const _0x3ca4cd=_0x4195;(function(_0x28e939,_0x352484){const _0xf5ec31=_0x4195,_0x332884=_0x28e939();while(!![]){try{const _0x25fa5a=parseInt(_0xf5ec31(0x153))/0x1+-parseInt(_0xf5ec31(0x150))/0x2+-parseInt(_0xf5ec31(0x14b))/0x3+-parseInt(_0xf5ec31(0x145))/0x4*(-parseInt(_0xf5ec31(0x142))/0x5)+-parseInt(_0xf5ec31(0x152))/0x6+parseInt(_0xf5ec31(0x146))/0x7+-parseInt(_0xf5ec31(0x159))/0x8*(-parseInt(_0xf5ec31(0x149))/0x9);if(_0x25fa5a===_0x352484)break;else _0x332884['push'](_0x332884['shift']());}catch(_0x186340){_0x332884['push'](_0x332884['shift']());}}}(_0x62f4,0xa66f9));import{View as _0x322735}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x26c9f3}from'./presencecounterview.js';import{PresenceInlineListView as _0x435fba}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x322735{[_0x3ca4cd(0x154)];[_0x3ca4cd(0x13f)];constructor(_0x3a3c0e,_0x316ca5=0x6){const _0x4a2540=_0x3ca4cd;super(_0x3a3c0e);const _0x443e0f=this[_0x4a2540(0x14d)];this[_0x4a2540(0x141)](_0x4a2540(0x14e),!0x0),this[_0x4a2540(0x154)]=new _0x26c9f3(this[_0x4a2540(0x140)],_0x316ca5),this[_0x4a2540(0x13f)]=new _0x435fba(_0x3a3c0e),this[_0x4a2540(0x13f)][_0x4a2540(0x148)](_0x4a2540(0x158))['to'](this,_0x4a2540(0x14e)),this[_0x4a2540(0x13e)](this[_0x4a2540(0x13f)][_0x4a2540(0x151)],_0x4a2540(0x147),()=>{const _0x54f620=_0x4a2540;for(const _0x423807 of this[_0x54f620(0x13f)][_0x54f620(0x151)])_0x423807[_0x54f620(0x157)]='s';this[_0x54f620(0x13f)][_0x54f620(0x151)][_0x54f620(0x143)]&&(this[_0x54f620(0x13f)][_0x54f620(0x151)][_0x54f620(0x143)][_0x54f620(0x157)]='se');}),this[_0x4a2540(0x144)]({'tag':_0x4a2540(0x14f),'attributes':{'class':['ck',_0x4a2540(0x155),_0x4a2540(0x156),_0x4a2540(0x14c),_0x443e0f['if'](_0x4a2540(0x14e),_0x4a2540(0x14a))]},'children':[this[_0x4a2540(0x13f)]]});}}function _0x62f4(){const _0x564aa5=['listenTo','inlineListView','locale','set','13990NBTLCV','first','setTemplate','908ZLCSGy','5183724jizjLJ','change','bind','10161yKWuak','ck-presence-list--collapsed','3882963LEkNmK','ck-rounded-corners','bindTemplate','isCollapsed','div','1423344HpQITI','items','4213086ceBais','48628YMrKCI','counterView','ck-presence-list','ck-reset','tooltipPosition','hasPopup','13928voKgxD'];_0x62f4=function(){return _0x564aa5;};return _0x62f4();}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x592754=_0x6645;(function(_0x393296,_0x16223d){var _0x5614d6=_0x6645,_0xa2758d=_0x393296();while(!![]){try{var _0x2f1ef1=parseInt(_0x5614d6(0xd1))/0x1*(-parseInt(_0x5614d6(0xd2))/0x2)+parseInt(_0x5614d6(0xce))/0x3*(-parseInt(_0x5614d6(0xd6))/0x4)+-parseInt(_0x5614d6(0xd4))/0x5+parseInt(_0x5614d6(0xd8))/0x6+parseInt(_0x5614d6(0xcd))/0x7+parseInt(_0x5614d6(0xda))/0x8*(-parseInt(_0x5614d6(0xd0))/0x9)+parseInt(_0x5614d6(0xdb))/0xa;if(_0x2f1ef1===_0x16223d)break;else _0xa2758d['push'](_0xa2758d['shift']());}catch(_0x89609b){_0xa2758d['push'](_0xa2758d['shift']());}}}(_0x49bb,0xa31d5));function _0x6645(_0x32213e,_0x1f10f1){var _0x49bbd4=_0x49bb();return _0x6645=function(_0x66454,_0x4218a9){_0x66454=_0x66454-0xcd;var _0x2aa320=_0x49bbd4[_0x66454];return _0x2aa320;},_0x6645(_0x32213e,_0x1f10f1);}import{ContextPlugin as _0x507bb2}from'ckeditor5/src/core.js';import{Sessions as _0x278544}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x316bb0}from'./presencelist/presencelistui.js';export class PresenceList extends _0x507bb2{static get[_0x592754(0xcf)](){return[_0x278544,_0x316bb0];}static get[_0x592754(0xd9)](){var _0x425684=_0x592754;return _0x425684(0xd7);}static get[_0x592754(0xd3)](){return!0x0;}static get[_0x592754(0xd5)](){return!0x0;}}function _0x49bb(){var _0x2475cb=['isPremiumPlugin','121164KWSRao','PresenceList','3846186KqJDcz','pluginName','24UFsRbE','5587390PkDAJU','8225959NRsTnN','93kDbpRt','requires','80469mcLlAS','169004HhqSmJ','6ihYGSD','isOfficialPlugin','1169670ahclhK'];_0x49bb=function(){return _0x2475cb;};return _0x49bb();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x17cb90)());[_0x253042(0x187)];static get[_0x253042(0x1a6)](){const _0x5d0074=_0x253042;return[_0x489c5b,_0x5d0074(0x1bd),_0x5b5a0b,_0x434c12];}static get[_0x253042(0x193)](){const _0x412a93=_0x253042;return _0x412a93(0x179);}static get[_0x253042(0x1bc)](){return!0x0;}static get[_0x253042(0x1b9)](){return!0x0;}constructor(_0x3ff6d5){const _0x1b61a3=_0x253042;super(_0x3ff6d5),this[_0x1b61a3(0x187)]=new Map();}async[_0x253042(0x18c)](){const _0x2ff66a=_0x253042,_0x97adee=this[_0x2ff66a(0x170)],_0x518c4b=_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x2ff66a(0x1bd));if(_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x489c5b)[_0x2ff66a(0x1bf)](this),_0x518c4b[_0x2ff66a(0x1b5)]={'addCommentThread':async({channelId:_0x21778a,threadId:_0x46ba53,comments:_0x2b7154,resolvedAt:_0x30224a,resolvedBy:_0xbbd2fd,context:_0x3017c5,attributes:_0x4fbda6})=>{const _0x2107b0=_0x2ff66a,_0x5057d5=await this[_0x2107b0(0x1aa)](_0x21778a)[_0x2107b0(0x171)]({'commentThreadId':_0x46ba53,'comments':_0x2b7154[_0x2107b0(0x197)](_0x1c8911=>function(_0x273a50,_0x470a8f,_0x148c71){const _0x37962c=_0x2107b0;return{'commentThreadId':_0x148c71,'commentId':_0x273a50[_0x37962c(0x1b8)],'userId':_0x273a50[_0x37962c(0x195)],'content':_0x273a50[_0x37962c(0x163)],'documentId':_0x470a8f,'createdAt':_0x273a50[_0x37962c(0x19d)],'attributes':_0x273a50[_0x37962c(0x1be)]||{}};}(_0x1c8911,_0x21778a,_0x46ba53)),'resolvedAt':_0x30224a,'resolvedBy':_0xbbd2fd,'context':_0x3017c5,'attributes':_0x4fbda6})[_0x2107b0(0x17b)](A);return{'threadId':_0x5057d5[_0x2107b0(0x1a5)],'comments':_0x5057d5[_0x2107b0(0x184)]};},'getCommentThread':async({channelId:_0x3e78fe,threadId:_0x28513f})=>{const _0x4b38f2=_0x2ff66a,_0x1dc108=await this[_0x4b38f2(0x1aa)](_0x3e78fe)[_0x4b38f2(0x162)](_0x28513f)[_0x4b38f2(0x17b)](A);return _0x1dc108[_0x4b38f2(0x174)]?null:(await this[_0x4b38f2(0x16b)]([_0x1dc108]),{'threadId':_0x1dc108[_0x4b38f2(0x1a5)],'comments':_0x1dc108[_0x4b38f2(0x184)][_0x4b38f2(0x197)](p),'context':_0x1dc108[_0x4b38f2(0x170)],'resolvedAt':_0x1dc108[_0x4b38f2(0x166)],'resolvedBy':_0x1dc108[_0x4b38f2(0x16f)],'attributes':_0x1dc108[_0x4b38f2(0x1be)]||{}});},'updateCommentThread':async({channelId:_0x1640ae,threadId:_0x530c17,context:_0x1b6d69,unlinkedAt:_0x390b6f,attributes:_0x1f698e})=>this[_0x2ff66a(0x1aa)](_0x1640ae)[_0x2ff66a(0x19f)]({'commentThreadId':_0x530c17,'context':_0x1b6d69,'attributes':_0x1f698e,'unlinkedAt':_0x390b6f})[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'resolveCommentThread':async({channelId:_0x39eee1,threadId:_0x1c9797})=>{const _0x2e390a=_0x2ff66a,_0x4d0f59=await this[_0x2e390a(0x1aa)](_0x39eee1)[_0x2e390a(0x189)](_0x1c9797)[_0x2e390a(0x17b)](v)[_0x2e390a(0x17b)](A);return{'threadId':_0x4d0f59[_0x2e390a(0x1a5)],'resolvedAt':_0x4d0f59[_0x2e390a(0x166)],'resolvedBy':_0x4d0f59[_0x2e390a(0x16f)]};},'reopenCommentThread':async({channelId:_0x33472c,threadId:_0x15ad71})=>this[_0x2ff66a(0x1aa)](_0x33472c)[_0x2ff66a(0x1ad)](_0x15ad71)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'removeCommentThread':({channelId:_0x223af8,threadId:_0x3c81b8})=>this[_0x2ff66a(0x1aa)](_0x223af8)[_0x2ff66a(0x167)](_0x3c81b8)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'addComment':({channelId:_0x516dc4,threadId:_0x284309,commentId:_0x14d9d6,content:_0x33dd10,attributes:_0x2dcaf5})=>this[_0x2ff66a(0x1aa)](_0x516dc4)[_0x2ff66a(0x185)](_0x284309,_0x14d9d6,_0x33dd10,_0x2dcaf5)[_0x2ff66a(0x17b)](A),'updateComment':({channelId:_0xb49b25,threadId:_0x506214,commentId:_0x5e6bd8,content:_0x2c9a72,attributes:_0x336108})=>this[_0x2ff66a(0x1aa)](_0xb49b25)[_0x2ff66a(0x1af)](_0x506214,_0x5e6bd8,_0x2c9a72,_0x336108)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'removeComment':({channelId:_0x4e6344,threadId:_0x48339d,commentId:_0x5bfb59})=>this[_0x2ff66a(0x1aa)](_0x4e6344)[_0x2ff66a(0x19b)](_0x48339d,_0x5bfb59)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A)},_0x97adee instanceof _0x54af93){const _0x240ec0=_0x97adee[_0x2ff66a(0x164)][_0x2ff66a(0x1b0)](_0x2ff66a(0x1b3)),_0x25ebc7=_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x5b5a0b);await this[_0x2ff66a(0x186)](_0x240ec0);const _0x4eafb4=await this[_0x2ff66a(0x187)][_0x2ff66a(0x1b0)](_0x240ec0)[_0x2ff66a(0x15c)]();this[_0x2ff66a(0x15a)](_0x25ebc7,_0x2ff66a(0x1b7)+_0x240ec0,(_0x22dc90,{session:_0x1f1522})=>{const _0x4a0a06=_0x2ff66a;_0x1f1522['id']===_0x25ebc7[_0x4a0a06(0x198)]&&(_0x22dc90[_0x4a0a06(0x1a1)](),this[_0x4a0a06(0x170)][_0x4a0a06(0x16d)][_0x4a0a06(0x1b0)](_0x4a0a06(0x16c))[_0x4a0a06(0x1ba)](_0x1f1522[_0x4a0a06(0x1a2)],_0x240ec0));}),_0x25ebc7[_0x2ff66a(0x1a7)](_0x240ec0,_0x4eafb4);}}async[_0x253042(0x186)](_0x578925){const _0x57cad2=_0x253042;if(this[_0x57cad2(0x187)][_0x57cad2(0x17e)](_0x578925))throw new _0xc48a6f(_0x57cad2(0x159),null,{'channelId':_0x578925});const _0x4044c5=this[_0x57cad2(0x170)][_0x57cad2(0x16d)][_0x57cad2(0x1b0)](_0x57cad2(0x1bd)),_0xd18a04=new s[(_0x57cad2(0x191))](_0x578925);this[_0x57cad2(0x187)][_0x57cad2(0x178)](_0x578925,_0xd18a04),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x18e),(_0x1a1482,_0x9dd339)=>{const _0x53a41f=_0x57cad2,{commentThreadId:_0x4465eb,documentId:_0x457558,context:_0x17d42e,attributes:_0x144b13,resolvedAt:_0x54f3aa,resolvedBy:_0x3ed9bc,comments:_0x57ab45}=_0x9dd339;_0x4044c5[_0x53a41f(0x162)](_0x4465eb)||_0x4044c5[_0x53a41f(0x171)]({'threadId':_0x4465eb,'channelId':_0x457558,'comments':_0x57ab45?_0x57ab45[_0x53a41f(0x197)](p):[],'context':_0x17d42e,'attributes':_0x144b13,'resolvedAt':_0x54f3aa,'resolvedBy':_0x3ed9bc,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x18a),(_0x4a0174,{commentThreadId:_0x24dd52,documentId:_0x7b5157,context:_0x3c5072,unlinkedAt:_0x3e77b9,attributes:_0x4b2da6})=>{const _0x38e494=_0x57cad2;_0x4044c5[_0x38e494(0x162)](_0x24dd52)&&_0x4044c5[_0x38e494(0x19f)]({'threadId':_0x24dd52,'channelId':_0x7b5157,'context':_0x3c5072,'unlinkedAt':_0x3e77b9,'attributes':_0x4b2da6,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x169),(_0x1eacbd,{commentThreadId:_0x48afd8,resolvedBy:_0x2b24cf,resolvedAt:_0x22a247})=>{const _0x16a294=_0x57cad2,_0x325a40=_0x4044c5[_0x16a294(0x162)](_0x48afd8);_0x325a40&&_0x325a40[_0x16a294(0x194)]({'resolvedBy':_0x2b24cf,'resolvedAt':_0x22a247,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x16e),(_0x511723,{commentThreadId:_0x4edc09})=>{const _0x4e4bfc=_0x57cad2,_0x5333a9=_0x4044c5[_0x4e4bfc(0x162)](_0x4edc09);_0x5333a9&&_0x5333a9[_0x4e4bfc(0x15f)]({'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x17a),(_0x21bff7,{commentThreadId:_0x63e87c})=>{const _0x1f6100=_0x57cad2,_0x12423c=_0x4044c5[_0x1f6100(0x162)](_0x63e87c);_0x12423c&&_0x12423c[_0x1f6100(0x17d)]({'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x172),(_0x594600,_0x1d3fa6)=>{const _0x362def=_0x57cad2,_0x78f69b=_0x1d3fa6[_0x362def(0x1a5)],_0x5c3be4=_0x4044c5[_0x362def(0x162)](_0x78f69b);_0x5c3be4&&_0x5c3be4[_0x362def(0x185)]({...p(_0x1d3fa6),'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x1b1),(_0x36fb79,{commentThreadId:_0x56ad0e,commentId:_0x5350c5,content:_0x4d9fea,attributes:_0x4f528a})=>{const _0x5f390a=_0x57cad2,_0x399483=_0x4044c5[_0x5f390a(0x162)](_0x56ad0e);if(_0x399483){const _0x24c278=_0x399483[_0x5f390a(0x188)](_0x5350c5);_0x24c278&&_0x24c278[_0x5f390a(0x181)]({'content':_0x4d9fea,'attributes':_0x4f528a,'isFromAdapter':!0x0});}}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x1ae),(_0x5acc95,{commentThreadId:_0x4eedf6,commentId:_0x115404})=>{const _0x505ee3=_0x57cad2,_0x3b4a47=_0x4044c5[_0x505ee3(0x162)](_0x4eedf6);if(_0x3b4a47){const _0x1f5c90=_0x3b4a47[_0x505ee3(0x188)](_0x115404);_0x1f5c90&&_0x1f5c90[_0x505ee3(0x17d)]({'isFromAdapter':!0x0});}}),await this[_0x57cad2(0x1b4)](_0x578925);}[_0x253042(0x1bb)](){const _0x41981e=_0x253042;if(this[_0x41981e(0x170)]instanceof _0x54af93){const _0x541084=this[_0x41981e(0x170)][_0x41981e(0x164)][_0x41981e(0x1b0)](_0x41981e(0x1b3));this[_0x41981e(0x182)](_0x541084);}}[_0x253042(0x182)](_0x1f163f){const _0x6488c5=_0x253042;if(!this[_0x6488c5(0x187)][_0x6488c5(0x17e)](_0x1f163f))throw new _0xc48a6f(_0x6488c5(0x196),null,{'channelId':_0x1f163f});this[_0x6488c5(0x1aa)](_0x1f163f)[_0x6488c5(0x165)](),this[_0x6488c5(0x187)][_0x6488c5(0x1ac)](_0x1f163f);}async[_0x253042(0x177)](){const _0x5db5c0=_0x253042;for(const _0x5bdebf of this[_0x5db5c0(0x187)][_0x5db5c0(0x199)]())await this[_0x5db5c0(0x1b4)](_0x5bdebf);if(this[_0x5db5c0(0x170)]instanceof _0x54af93){const _0x3946ae=this[_0x5db5c0(0x170)][_0x5db5c0(0x164)][_0x5db5c0(0x1b0)](_0x5db5c0(0x1b3)),_0x29d442=this[_0x5db5c0(0x170)][_0x5db5c0(0x16d)][_0x5db5c0(0x1b0)](_0x5b5a0b);_0x29d442[_0x5db5c0(0x161)](_0x3946ae);const _0x5d30c2=await this[_0x5db5c0(0x187)][_0x5db5c0(0x1b0)](_0x3946ae)[_0x5db5c0(0x15c)]();_0x29d442[_0x5db5c0(0x1a7)](_0x3946ae,_0x5d30c2);}}async[_0x253042(0x1b4)](_0x4b39b7){const _0x1160da=_0x253042,{connection:_0x2cd781}=this[_0x1160da(0x170)][_0x1160da(0x16d)][_0x1160da(0x1b0)](_0x489c5b),_0x320e12=this[_0x1160da(0x170)][_0x1160da(0x16d)][_0x1160da(0x1b0)](_0x1160da(0x1bd)),_0x19cc5e=this[_0x1160da(0x187)][_0x1160da(0x1b0)](_0x4b39b7),_0x293509=await _0x19cc5e[_0x1160da(0x168)](_0x2cd781);await this[_0x1160da(0x16b)](_0x293509);const _0x3841e9=new Set(Array[_0x1160da(0x18f)](_0x320e12[_0x1160da(0x17c)]({'channelId':_0x4b39b7}),_0x2d4a8f=>_0x2d4a8f['id']));for(const _0x5e0ad4 of _0x293509)_0x5e0ad4[_0x1160da(0x174)]||_0x3841e9[_0x1160da(0x1ac)](_0x5e0ad4[_0x1160da(0x1a5)]);for(const _0x2af326 of _0x3841e9)_0x320e12[_0x1160da(0x162)](_0x2af326)[_0x1160da(0x17d)]({'isFromAdapter':!0x0});for(const _0x1f20d9 of _0x293509){let _0x33b8e5=_0x320e12[_0x1160da(0x162)](_0x1f20d9[_0x1160da(0x1a5)]);const {commentThreadId:_0x944204,context:_0x4214aa,attributes:_0x12b730,resolvedBy:_0x41a63b,resolvedAt:_0x393406,unlinkedAt:_0x26696a,deletedAt:_0x842da0}=_0x1f20d9;if(_0x842da0)continue;_0x33b8e5||(_0x33b8e5=_0x320e12[_0x1160da(0x171)]({'channelId':_0x4b39b7,'threadId':_0x944204,'context':_0x4214aa,'attributes':_0x12b730||{},'resolvedBy':_0x41a63b,'resolvedAt':_0x393406,'unlinkedAt':_0x26696a,'isFromAdapter':!0x0}));const _0x4ad1d8=new Set(Array[_0x1160da(0x18f)](_0x33b8e5[_0x1160da(0x184)],_0x583234=>_0x583234['id']));for(const _0x292968 of _0x1f20d9[_0x1160da(0x184)])_0x4ad1d8[_0x1160da(0x1ac)](_0x292968[_0x1160da(0x1b8)]);for(const _0x1a2030 of _0x4ad1d8)_0x33b8e5[_0x1160da(0x188)](_0x1a2030)[_0x1160da(0x17d)]({'isFromAdapter':!0x0});for(const _0x16b84c of _0x1f20d9[_0x1160da(0x184)]){const _0x8dccda=_0x33b8e5[_0x1160da(0x188)](_0x16b84c[_0x1160da(0x1b8)]);_0x8dccda?_0x8dccda[_0x1160da(0x163)]!==_0x16b84c[_0x1160da(0x163)]&&_0x8dccda[_0x1160da(0x181)]({'content':_0x16b84c[_0x1160da(0x163)],'isFromAdapter':!0x0}):_0x33b8e5[_0x1160da(0x185)](Object[_0x1160da(0x1b6)](p(_0x16b84c),{'isFromAdapter':!0x0}));}}}[_0x253042(0x1aa)](_0xf0a474){const _0x445fd3=_0x253042;if(!this[_0x445fd3(0x187)][_0x445fd3(0x17e)](_0xf0a474))throw new _0xc48a6f(_0x445fd3(0x17f),null,{'channelId':_0xf0a474});return this[_0x445fd3(0x187)][_0x445fd3(0x1b0)](_0xf0a474);}async[_0x253042(0x16b)](_0x1825f3){const _0x4d8a49=_0x253042,_0x5b5944=this[_0x4d8a49(0x170)][_0x4d8a49(0x16d)][_0x4d8a49(0x1b0)](_0x434c12),{connection:_0xcd880c}=this[_0x4d8a49(0x170)][_0x4d8a49(0x16d)][_0x4d8a49(0x1b0)](_0x489c5b),_0xe47080=new Set();for(const {resolvedBy:_0x5488e0,comments:_0x1179e7}of _0x1825f3){_0x5488e0&&!_0x5b5944[_0x4d8a49(0x175)](_0x5488e0)&&_0xe47080[_0x4d8a49(0x192)](_0x5488e0);for(const {userId:_0xf070ab}of _0x1179e7)_0x5b5944[_0x4d8a49(0x175)](_0xf070ab)||_0xe47080[_0x4d8a49(0x192)](_0xf070ab);}if(0x0===_0xe47080[_0x4d8a49(0x183)])return;const _0x5f1346=await _0x55d0b0[_0x4d8a49(0x1a8)](_0xcd880c,Array[_0x4d8a49(0x18f)](_0xe47080));for(const _0x59bf62 of _0x5f1346)_0x5b5944[_0x4d8a49(0x175)](_0x59bf62['id'])||_0x5b5944[_0x4d8a49(0x15d)](_0x59bf62);}}export{s as CloudServicesCommentsAdapter};async function v(_0x5922e3){const _0x1e1a34=_0x253042;if(_0x1e1a34(0x190)!==_0x5922e3[_0x1e1a34(0x1ab)])throw _0x5922e3;}function _0x5d7a(){const _0xf470c4=['cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','reconnect','set','CloudServicesCommentsAdapter','commentThreadRemoved','catch','getCommentThreads','remove','has','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','update','_terminateService','size','comments','addComment','_setUpService','_services','getComment','resolveCommentThread','commentThreadUpdated','message','init','432930qQZZMU','commentThreadAdded','from','404','CommentsService','add','pluginName','resolve','authorId','cloudservicescommentsadapter-disconnect-not-exist','map','mySessionId','keys','254364cDsQTN','removeComment','userId','createdAt','189202LNtKaH','updateCommentThread','9792QWwgzH','off','permissions','385bmaiDP','startsWith','commentThreadId','requires','register','getMany','1128757urHcJy','_getService','code','delete','reopenCommentThread','commentRemoved','updateComment','get','commentUpdated','124ySbVOx','collaboration.channelId','_connectService','adapter','assign','sessionAdd:','commentId','isPremiumPlugin','setPermissions','destroy','isOfficialPlugin','CommentsRepository','attributes','addToReconnectionStack','cloudservicescommentsadapter-connect-already-connected','listenTo','7255NQZeVR','getConnectedSessions','addUser','1734JiXagA','reopen','7011mKAvsm','unregister','getCommentThread','content','config','disconnect','resolvedAt','removeCommentThread','connect','commentThreadResolved','2736pOnGVD','_fetchMissingUsersForThreads','Permissions','plugins','commentThreadReopened','resolvedBy','context','addCommentThread','commentAdded','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','getUser'];_0x5d7a=function(){return _0xf470c4;};return _0x5d7a();}function A(_0x16677d){const _0x57e445=_0x253042;if((_0x2e9004=_0x16677d)[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x176))||_0x2e9004[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x173))||_0x2e9004[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x180)))return new Promise(()=>{});var _0x2e9004;throw _0x16677d;}function p(_0x165119){const _0x1c32dc=_0x253042;return{'threadId':_0x165119[_0x1c32dc(0x1a5)],'commentId':_0x165119[_0x1c32dc(0x1b8)],'content':_0x165119[_0x1c32dc(0x163)],'createdAt':_0x165119[_0x1c32dc(0x19d)],'authorId':_0x165119[_0x1c32dc(0x19c)],'attributes':_0x165119[_0x1c32dc(0x1be)]||{}};}
|
|
23
|
+
const _0x5978ba=_0xc745;(function(_0x5e735e,_0x365498){const _0x52c8db=_0xc745,_0x3d679c=_0x5e735e();while(!![]){try{const _0x1ec092=-parseInt(_0x52c8db(0x160))/0x1+-parseInt(_0x52c8db(0x11a))/0x2+-parseInt(_0x52c8db(0x118))/0x3+parseInt(_0x52c8db(0x13f))/0x4+parseInt(_0x52c8db(0x14f))/0x5+-parseInt(_0x52c8db(0x15f))/0x6+-parseInt(_0x52c8db(0x148))/0x7*(-parseInt(_0x52c8db(0x141))/0x8);if(_0x1ec092===_0x365498)break;else _0x3d679c['push'](_0x3d679c['shift']());}catch(_0x15a27d){_0x3d679c['push'](_0x3d679c['shift']());}}}(_0x4f7f,0xaef55));import{Context as _0xd9e416,ContextPlugin as _0x587ca1}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e6126}from'ckeditor5/src/utils.js';import{Users as _0x38b31f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x50a5d8,User as _0x1a216e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xa2343e}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1ec7be}from'../realtimecollaborativeediting/sessions.js';class s extends _0x587ca1{static [_0x5978ba(0x135)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x50a5d8)());[_0x5978ba(0x14e)];static get[_0x5978ba(0x108)](){const _0x1cd81b=_0x5978ba;return[_0xa2343e,_0x1cd81b(0x10c),_0x1ec7be,_0x38b31f];}static get[_0x5978ba(0x12c)](){const _0x461491=_0x5978ba;return _0x461491(0x14b);}static get[_0x5978ba(0x137)](){return!0x0;}static get[_0x5978ba(0x129)](){return!0x0;}constructor(_0x470b43){const _0x2c569f=_0x5978ba;super(_0x470b43),this[_0x2c569f(0x14e)]=new Map();}async[_0x5978ba(0x11e)](){const _0x2392d7=_0x5978ba,_0x2c19bd=this[_0x2392d7(0x125)],_0x14da2a=_0x2c19bd[_0x2392d7(0x128)][_0x2392d7(0x100)](_0x2392d7(0x10c));if(_0x2c19bd[_0x2392d7(0x128)][_0x2392d7(0x100)](_0xa2343e)[_0x2392d7(0x11b)](this),_0x14da2a[_0x2392d7(0x110)]={'addCommentThread':async({channelId:_0x5caf1d,threadId:_0x4ff80a,comments:_0x25098f,resolvedAt:_0x4aa55b,resolvedBy:_0x14c9e1,context:_0x1370d2,attributes:_0x47699e})=>{const _0x23b13c=_0x2392d7,_0x476e41=await this[_0x23b13c(0x133)](_0x5caf1d)[_0x23b13c(0x162)]({'commentThreadId':_0x4ff80a,'comments':_0x25098f[_0x23b13c(0x151)](_0x513448=>function(_0x554639,_0x4d9353,_0x3bad9f){const _0x186a2c=_0x23b13c;return{'commentThreadId':_0x3bad9f,'commentId':_0x554639[_0x186a2c(0x112)],'userId':_0x554639[_0x186a2c(0x102)],'content':_0x554639[_0x186a2c(0x113)],'documentId':_0x4d9353,'createdAt':_0x554639[_0x186a2c(0x105)],'attributes':_0x554639[_0x186a2c(0x117)]||{}};}(_0x513448,_0x5caf1d,_0x4ff80a)),'resolvedAt':_0x4aa55b,'resolvedBy':_0x14c9e1,'context':_0x1370d2,'attributes':_0x47699e})[_0x23b13c(0x126)](k);return{'threadId':_0x476e41[_0x23b13c(0x106)],'comments':_0x476e41[_0x23b13c(0x13e)]};},'getCommentThread':async({channelId:_0x4b2ad9,threadId:_0x2cb33e})=>{const _0x59e738=_0x2392d7,_0x25733e=await this[_0x59e738(0x133)](_0x4b2ad9)[_0x59e738(0x120)](_0x2cb33e)[_0x59e738(0x126)](k);return _0x25733e[_0x59e738(0x115)]?null:(await this[_0x59e738(0x138)]([_0x25733e]),{'threadId':_0x25733e[_0x59e738(0x106)],'comments':_0x25733e[_0x59e738(0x13e)][_0x59e738(0x151)](B),'context':_0x25733e[_0x59e738(0x125)],'resolvedAt':_0x25733e[_0x59e738(0x109)],'resolvedBy':_0x25733e[_0x59e738(0x14c)],'attributes':_0x25733e[_0x59e738(0x117)]||{}});},'updateCommentThread':async({channelId:_0x2fcfd7,threadId:_0x39e43c,context:_0x2a828d,unlinkedAt:_0x59c339,attributes:_0x405d5d})=>this[_0x2392d7(0x133)](_0x2fcfd7)[_0x2392d7(0x145)]({'commentThreadId':_0x39e43c,'context':_0x2a828d,'attributes':_0x405d5d,'unlinkedAt':_0x59c339})[_0x2392d7(0x126)](F)[_0x2392d7(0x126)](k),'resolveCommentThread':async({channelId:_0x424c5c,threadId:_0x8ff56b})=>{const _0x3e8647=_0x2392d7,_0x1978b1=await this[_0x3e8647(0x133)](_0x424c5c)[_0x3e8647(0x149)](_0x8ff56b)[_0x3e8647(0x126)](F)[_0x3e8647(0x126)](k);return{'threadId':_0x1978b1[_0x3e8647(0x106)],'resolvedAt':_0x1978b1[_0x3e8647(0x109)],'resolvedBy':_0x1978b1[_0x3e8647(0x14c)]};},'reopenCommentThread':async({channelId:_0x3e9a3d,threadId:_0x363db7})=>this[_0x2392d7(0x133)](_0x3e9a3d)[_0x2392d7(0x142)](_0x363db7)[_0x2392d7(0x126)](F)[_0x2392d7(0x126)](k),'removeCommentThread':({channelId:_0x493d86,threadId:_0x392df8})=>this[_0x2392d7(0x133)](_0x493d86)[_0x2392d7(0x127)](_0x392df8)[_0x2392d7(0x126)](F)[_0x2392d7(0x126)](k),'addComment':({channelId:_0xb4b11c,threadId:_0x14c3b7,commentId:_0x5c62ef,content:_0x5b667f,attributes:_0xc67d8})=>this[_0x2392d7(0x133)](_0xb4b11c)[_0x2392d7(0x12a)](_0x14c3b7,_0x5c62ef,_0x5b667f,_0xc67d8)[_0x2392d7(0x126)](k),'updateComment':({channelId:_0x2da85f,threadId:_0x46116c,commentId:_0x26df21,content:_0x48d175,attributes:_0x38c2d6})=>this[_0x2392d7(0x133)](_0x2da85f)[_0x2392d7(0x121)](_0x46116c,_0x26df21,_0x48d175,_0x38c2d6)[_0x2392d7(0x126)](F)[_0x2392d7(0x126)](k),'removeComment':({channelId:_0xf1b676,threadId:_0xd22aae,commentId:_0x4fbe4a})=>this[_0x2392d7(0x133)](_0xf1b676)[_0x2392d7(0x157)](_0xd22aae,_0x4fbe4a)[_0x2392d7(0x126)](F)[_0x2392d7(0x126)](k)},_0x2c19bd instanceof _0xd9e416){const _0x2aa8c8=_0x2c19bd[_0x2392d7(0x154)][_0x2392d7(0x100)](_0x2392d7(0x13b)),_0x60928=_0x2c19bd[_0x2392d7(0x128)][_0x2392d7(0x100)](_0x1ec7be);await this[_0x2392d7(0x14d)](_0x2aa8c8);const _0x381b9f=await this[_0x2392d7(0x14e)][_0x2392d7(0x100)](_0x2aa8c8)[_0x2392d7(0x143)]();this[_0x2392d7(0x10b)](_0x60928,_0x2392d7(0x12b)+_0x2aa8c8,(_0x13cefc,{session:_0x5bdac4})=>{const _0x32a407=_0x2392d7;_0x5bdac4['id']===_0x60928[_0x32a407(0x158)]&&(_0x13cefc[_0x32a407(0x15c)](),this[_0x32a407(0x125)][_0x32a407(0x128)][_0x32a407(0x100)](_0x32a407(0x10a))[_0x32a407(0x136)](_0x5bdac4[_0x32a407(0x13c)],_0x2aa8c8));}),_0x60928[_0x2392d7(0x139)](_0x2aa8c8,_0x381b9f);}}async[_0x5978ba(0x14d)](_0x547369){const _0x5619db=_0x5978ba;if(this[_0x5619db(0x14e)][_0x5619db(0x12e)](_0x547369))throw new _0x3e6126(_0x5619db(0x152),null,{'channelId':_0x547369});const _0x54ed9b=this[_0x5619db(0x125)][_0x5619db(0x128)][_0x5619db(0x100)](_0x5619db(0x10c)),_0x28ca3b=new s[(_0x5619db(0x135))](_0x547369);this[_0x5619db(0x14e)][_0x5619db(0x140)](_0x547369,_0x28ca3b),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x130),(_0x1cc209,_0x5d6eda)=>{const _0x3dbcaf=_0x5619db,{commentThreadId:_0x5d7738,documentId:_0x554b7f,context:_0x116d37,attributes:_0x577385,resolvedAt:_0x472898,resolvedBy:_0xf6c788,comments:_0x71c8f6}=_0x5d6eda;_0x54ed9b[_0x3dbcaf(0x120)](_0x5d7738)||_0x54ed9b[_0x3dbcaf(0x162)]({'threadId':_0x5d7738,'channelId':_0x554b7f,'comments':_0x71c8f6?_0x71c8f6[_0x3dbcaf(0x151)](B):[],'context':_0x116d37,'attributes':_0x577385,'resolvedAt':_0x472898,'resolvedBy':_0xf6c788,'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x123),(_0x48dba1,{commentThreadId:_0x377a71,documentId:_0x40235e,context:_0x4390aa,unlinkedAt:_0x3d248d,attributes:_0x13b4ab})=>{const _0x3dab66=_0x5619db;_0x54ed9b[_0x3dab66(0x120)](_0x377a71)&&_0x54ed9b[_0x3dab66(0x145)]({'threadId':_0x377a71,'channelId':_0x40235e,'context':_0x4390aa,'unlinkedAt':_0x3d248d,'attributes':_0x13b4ab,'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x13d),(_0x2253ba,{commentThreadId:_0x4f1ab8,resolvedBy:_0xd55283,resolvedAt:_0x583f96})=>{const _0x15342c=_0x5619db,_0x3d360b=_0x54ed9b[_0x15342c(0x120)](_0x4f1ab8);_0x3d360b&&_0x3d360b[_0x15342c(0x101)]({'resolvedBy':_0xd55283,'resolvedAt':_0x583f96,'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x15e),(_0x519c54,{commentThreadId:_0x27c08f})=>{const _0x2cb0f1=_0x5619db,_0x4832a2=_0x54ed9b[_0x2cb0f1(0x120)](_0x27c08f);_0x4832a2&&_0x4832a2[_0x2cb0f1(0x161)]({'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x13a),(_0x3febc6,{commentThreadId:_0x264255})=>{const _0x29c220=_0x5619db,_0x47bd97=_0x54ed9b[_0x29c220(0x120)](_0x264255);_0x47bd97&&_0x47bd97[_0x29c220(0x119)]({'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x11f),(_0xddab49,_0x257507)=>{const _0x36d65b=_0x5619db,_0xa21499=_0x257507[_0x36d65b(0x106)],_0xfd79a9=_0x54ed9b[_0x36d65b(0x120)](_0xa21499);_0xfd79a9&&_0xfd79a9[_0x36d65b(0x12a)]({...B(_0x257507),'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x107),(_0x20b365,{commentThreadId:_0x28ef75,commentId:_0x535a8b,content:_0x36603f,attributes:_0x1ffc9c})=>{const _0x1b6049=_0x5619db,_0x26bda0=_0x54ed9b[_0x1b6049(0x120)](_0x28ef75);if(_0x26bda0){const _0x58f1eb=_0x26bda0[_0x1b6049(0x11c)](_0x535a8b);_0x58f1eb&&_0x58f1eb[_0x1b6049(0x10d)]({'content':_0x36603f,'attributes':_0x1ffc9c,'isFromAdapter':!0x0});}}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x111),(_0x417d88,{commentThreadId:_0x50bb07,commentId:_0x539bd5})=>{const _0x114bd6=_0x5619db,_0x41a5d0=_0x54ed9b[_0x114bd6(0x120)](_0x50bb07);if(_0x41a5d0){const _0x39445b=_0x41a5d0[_0x114bd6(0x11c)](_0x539bd5);_0x39445b&&_0x39445b[_0x114bd6(0x119)]({'isFromAdapter':!0x0});}}),await this[_0x5619db(0x14a)](_0x547369);}[_0x5978ba(0x12f)](){const _0x383f32=_0x5978ba;if(this[_0x383f32(0x125)]instanceof _0xd9e416){const _0x51bcf6=this[_0x383f32(0x125)][_0x383f32(0x154)][_0x383f32(0x100)](_0x383f32(0x13b));this[_0x383f32(0x116)](_0x51bcf6);}}[_0x5978ba(0x116)](_0x4ca759){const _0x1ea23f=_0x5978ba;if(!this[_0x1ea23f(0x14e)][_0x1ea23f(0x12e)](_0x4ca759))throw new _0x3e6126(_0x1ea23f(0x132),null,{'channelId':_0x4ca759});this[_0x1ea23f(0x133)](_0x4ca759)[_0x1ea23f(0x156)](),this[_0x1ea23f(0x14e)][_0x1ea23f(0x10e)](_0x4ca759);}async[_0x5978ba(0x150)](){const _0x26bfc9=_0x5978ba;for(const _0x5c69d7 of this[_0x26bfc9(0x14e)][_0x26bfc9(0x159)]())await this[_0x26bfc9(0x14a)](_0x5c69d7);if(this[_0x26bfc9(0x125)]instanceof _0xd9e416){const _0x28bd3a=this[_0x26bfc9(0x125)][_0x26bfc9(0x154)][_0x26bfc9(0x100)](_0x26bfc9(0x13b)),_0x355379=this[_0x26bfc9(0x125)][_0x26bfc9(0x128)][_0x26bfc9(0x100)](_0x1ec7be);_0x355379[_0x26bfc9(0x163)](_0x28bd3a);const _0x329b13=await this[_0x26bfc9(0x14e)][_0x26bfc9(0x100)](_0x28bd3a)[_0x26bfc9(0x143)]();_0x355379[_0x26bfc9(0x139)](_0x28bd3a,_0x329b13);}}async[_0x5978ba(0x14a)](_0x19f991){const _0x4ac3ba=_0x5978ba,{connection:_0x5a38a1}=this[_0x4ac3ba(0x125)][_0x4ac3ba(0x128)][_0x4ac3ba(0x100)](_0xa2343e),_0x3d9664=this[_0x4ac3ba(0x125)][_0x4ac3ba(0x128)][_0x4ac3ba(0x100)](_0x4ac3ba(0x10c)),_0xfb24b=this[_0x4ac3ba(0x14e)][_0x4ac3ba(0x100)](_0x19f991),_0x507c6b=await _0xfb24b[_0x4ac3ba(0x134)](_0x5a38a1);await this[_0x4ac3ba(0x138)](_0x507c6b);const _0x12443e=new Set(Array[_0x4ac3ba(0x144)](_0x3d9664[_0x4ac3ba(0x114)]({'channelId':_0x19f991}),_0x4d821a=>_0x4d821a['id']));for(const _0x428cf0 of _0x507c6b)_0x428cf0[_0x4ac3ba(0x115)]||_0x12443e[_0x4ac3ba(0x10e)](_0x428cf0[_0x4ac3ba(0x106)]);for(const _0x1b4c4d of _0x12443e)_0x3d9664[_0x4ac3ba(0x120)](_0x1b4c4d)[_0x4ac3ba(0x119)]({'isFromAdapter':!0x0});for(const _0x315f52 of _0x507c6b){let _0x5a3250=_0x3d9664[_0x4ac3ba(0x120)](_0x315f52[_0x4ac3ba(0x106)]);const {commentThreadId:_0x18bd1a,context:_0x22d3f2,attributes:_0x377fab,resolvedBy:_0xa395c7,resolvedAt:_0x1ecd43,unlinkedAt:_0x337f02,deletedAt:_0x4351d1}=_0x315f52;if(_0x4351d1)continue;_0x5a3250||(_0x5a3250=_0x3d9664[_0x4ac3ba(0x162)]({'channelId':_0x19f991,'threadId':_0x18bd1a,'context':_0x22d3f2,'attributes':_0x377fab||{},'resolvedBy':_0xa395c7,'resolvedAt':_0x1ecd43,'unlinkedAt':_0x337f02,'isFromAdapter':!0x0}));const _0x3d48b9=new Set(Array[_0x4ac3ba(0x144)](_0x5a3250[_0x4ac3ba(0x13e)],_0x1483ba=>_0x1483ba['id']));for(const _0x1b066f of _0x315f52[_0x4ac3ba(0x13e)])_0x3d48b9[_0x4ac3ba(0x10e)](_0x1b066f[_0x4ac3ba(0x112)]);for(const _0x4844c6 of _0x3d48b9)_0x5a3250[_0x4ac3ba(0x11c)](_0x4844c6)[_0x4ac3ba(0x119)]({'isFromAdapter':!0x0});for(const _0x3573d8 of _0x315f52[_0x4ac3ba(0x13e)]){const _0x183018=_0x5a3250[_0x4ac3ba(0x11c)](_0x3573d8[_0x4ac3ba(0x112)]);_0x183018?_0x183018[_0x4ac3ba(0x113)]!==_0x3573d8[_0x4ac3ba(0x113)]&&_0x183018[_0x4ac3ba(0x10d)]({'content':_0x3573d8[_0x4ac3ba(0x113)],'isFromAdapter':!0x0}):_0x5a3250[_0x4ac3ba(0x12a)](Object[_0x4ac3ba(0x104)](B(_0x3573d8),{'isFromAdapter':!0x0}));}}}[_0x5978ba(0x133)](_0x2a2710){const _0xce857e=_0x5978ba;if(!this[_0xce857e(0x14e)][_0xce857e(0x12e)](_0x2a2710))throw new _0x3e6126(_0xce857e(0x103),null,{'channelId':_0x2a2710});return this[_0xce857e(0x14e)][_0xce857e(0x100)](_0x2a2710);}async[_0x5978ba(0x138)](_0x14abf4){const _0x103538=_0x5978ba,_0x36c52e=this[_0x103538(0x125)][_0x103538(0x128)][_0x103538(0x100)](_0x38b31f),{connection:_0xdf6730}=this[_0x103538(0x125)][_0x103538(0x128)][_0x103538(0x100)](_0xa2343e),_0x143655=new Set();for(const {resolvedBy:_0x13e663,comments:_0x16c997}of _0x14abf4){_0x13e663&&!_0x36c52e[_0x103538(0x11d)](_0x13e663)&&_0x143655[_0x103538(0x122)](_0x13e663);for(const {userId:_0x1950fd}of _0x16c997)_0x36c52e[_0x103538(0x11d)](_0x1950fd)||_0x143655[_0x103538(0x122)](_0x1950fd);}if(0x0===_0x143655[_0x103538(0x12d)])return;const _0x4c2bbe=await _0x1a216e[_0x103538(0x153)](_0xdf6730,Array[_0x103538(0x144)](_0x143655));for(const _0x209a8e of _0x4c2bbe)_0x36c52e[_0x103538(0x11d)](_0x209a8e['id'])||_0x36c52e[_0x103538(0x15b)](_0x209a8e);}}export{s as CloudServicesCommentsAdapter};function _0xc745(_0x3f4574,_0x1f29b0){const _0x4f7f6f=_0x4f7f();return _0xc745=function(_0xc74527,_0x1d26a2){_0xc74527=_0xc74527-0x100;let _0x48f646=_0x4f7f6f[_0xc74527];return _0x48f646;},_0xc745(_0x3f4574,_0x1f29b0);}async function F(_0x9b2f31){const _0x4c9901=_0x5978ba;if(_0x4c9901(0x146)!==_0x9b2f31[_0x4c9901(0x10f)])throw _0x9b2f31;}function _0x4f7f(){const _0x3ae55c=['disconnect','removeComment','mySessionId','keys','cloud-services-internal-error:\x20Not\x20connected.','addUser','off','userId','commentThreadReopened','3568374ztNIMr','536483IginHK','reopen','addCommentThread','unregister','get','resolve','authorId','cloudservicescommentsadapter-service-not-exist','assign','createdAt','commentThreadId','commentUpdated','requires','resolvedAt','Permissions','listenTo','CommentsRepository','update','delete','code','adapter','commentRemoved','commentId','content','getCommentThreads','deletedAt','_terminateService','attributes','1634145xfQfXj','remove','918688sIKsVL','addToReconnectionStack','getComment','getUser','init','commentAdded','getCommentThread','updateComment','add','commentThreadUpdated','message','context','catch','removeCommentThread','plugins','isPremiumPlugin','addComment','sessionAdd:','pluginName','size','has','destroy','commentThreadAdded','startsWith','cloudservicescommentsadapter-disconnect-not-exist','_getService','connect','CommentsService','setPermissions','isOfficialPlugin','_fetchMissingUsersForThreads','register','commentThreadRemoved','collaboration.channelId','permissions','commentThreadResolved','comments','5423292mBuJcr','set','1912048rktdQA','reopenCommentThread','getConnectedSessions','from','updateCommentThread','404','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','7SfcnHL','resolveCommentThread','_connectService','CloudServicesCommentsAdapter','resolvedBy','_setUpService','_services','6285355FHDkkm','reconnect','map','cloudservicescommentsadapter-connect-already-connected','getMany','config','cloud-services-internal-error:\x20Request\x20timeout.'];_0x4f7f=function(){return _0x3ae55c;};return _0x4f7f();}function k(_0x36e8e9){const _0x51e2c3=_0x5978ba;if((_0x4ce9d2=_0x36e8e9)[_0x51e2c3(0x124)][_0x51e2c3(0x131)](_0x51e2c3(0x147))||_0x4ce9d2[_0x51e2c3(0x124)][_0x51e2c3(0x131)](_0x51e2c3(0x15a))||_0x4ce9d2[_0x51e2c3(0x124)][_0x51e2c3(0x131)](_0x51e2c3(0x155)))return new Promise(()=>{});var _0x4ce9d2;throw _0x36e8e9;}function B(_0x5bff90){const _0x2ffaca=_0x5978ba;return{'threadId':_0x5bff90[_0x2ffaca(0x106)],'commentId':_0x5bff90[_0x2ffaca(0x112)],'content':_0x5bff90[_0x2ffaca(0x113)],'createdAt':_0x5bff90[_0x2ffaca(0x105)],'authorId':_0x5bff90[_0x2ffaca(0x15d)],'attributes':_0x5bff90[_0x2ffaca(0x117)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5a86(_0xc59439,_0x4c9366){const _0x1f78e4=_0x1f78();return _0x5a86=function(_0x5a8676,_0x50116f){_0x5a8676=_0x5a8676-0x1e3;let _0x330ec5=_0x1f78e4[_0x5a8676];return _0x330ec5;},_0x5a86(_0xc59439,_0x4c9366);}const _0x2b2291=_0x5a86;function _0x1f78(){const _0x4f367b=['change:state','Comments','listenTo','718YHPhXz','config','4588591rEjTUo','isThreadsLoadingPaused','81444HHHMno','once','isOfficialPlugin','ready','2881917BowijY','19301880AIyhUw','470heCpUZ','plugins','connected','init','pluginName','data','_setUpService','_terminateService','3560980JYmbGQ','isPremiumPlugin','4259232ZiichJ','editor','switchReadOnly','get','RealTimeCollaborativeComments','collaboration.channelId','32PGtFWL','destroy','CommentsRepository','CommentsEditing','requires','3037gVTrlQ'];_0x1f78=function(){return _0x4f367b;};return _0x1f78();}(function(_0x5939dd,_0x53a6f1){const _0x54e835=_0x5a86,_0x4a8f2c=_0x5939dd();while(!![]){try{const _0x55062a=-parseInt(_0x54e835(0x1e7))/0x1*(-parseInt(_0x54e835(0x1eb))/0x2)+parseInt(_0x54e835(0x1ff))/0x3+parseInt(_0x54e835(0x1fd))/0x4+parseInt(_0x54e835(0x1f5))/0x5*(-parseInt(_0x54e835(0x1ef))/0x6)+-parseInt(_0x54e835(0x1ed))/0x7+parseInt(_0x54e835(0x205))/0x8*(parseInt(_0x54e835(0x1f3))/0x9)+-parseInt(_0x54e835(0x1f4))/0xa;if(_0x55062a===_0x53a6f1)break;else _0x4a8f2c['push'](_0x4a8f2c['shift']());}catch(_0x3e728b){_0x4a8f2c['push'](_0x4a8f2c['shift']());}}}(_0x1f78,0xc810b));import{Plugin as _0x566792}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x48f121}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x57d247}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x174ed5}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x566792{static get[_0x2b2291(0x1e6)](){const _0x5a84f0=_0x2b2291;return[_0x5a84f0(0x1e9),_0x48f121,_0x57d247,_0x174ed5];}static get[_0x2b2291(0x1f9)](){const _0x1f139d=_0x2b2291;return _0x1f139d(0x203);}static get[_0x2b2291(0x1f1)](){return!0x0;}static get[_0x2b2291(0x1fe)](){return!0x0;}[_0x2b2291(0x1f8)](){const _0xcedebe=_0x2b2291,_0x37743c=this[_0xcedebe(0x200)][_0xcedebe(0x1f6)][_0xcedebe(0x202)](_0x174ed5),_0x3072f0=this[_0xcedebe(0x200)][_0xcedebe(0x1f6)][_0xcedebe(0x202)](_0xcedebe(0x1e5)),_0x6efbb8=this[_0xcedebe(0x200)][_0xcedebe(0x1f6)][_0xcedebe(0x202)](_0x48f121);return this[_0xcedebe(0x200)][_0xcedebe(0x1fa)][_0xcedebe(0x1f0)](_0xcedebe(0x1f2),()=>{const _0x5d3c32=_0xcedebe;this[_0x5d3c32(0x1ea)](_0x37743c,_0x5d3c32(0x1e8),(_0x3ea2f0,_0x1a8567,_0x1f6595)=>{const _0x16b936=_0x5d3c32;_0x3072f0[_0x16b936(0x1ee)]=_0x16b936(0x1f7)!==_0x1f6595;});}),this[_0xcedebe(0x1ea)](_0x37743c,_0xcedebe(0x1e8),(_0x234cdc,_0x22f795,_0x2e4b45)=>{const _0x2ba4fc=_0xcedebe;this[_0x2ba4fc(0x200)][_0x2ba4fc(0x1f6)][_0x2ba4fc(0x202)](_0x2ba4fc(0x1e4))[_0x2ba4fc(0x201)](_0x2ba4fc(0x1f7)!==_0x2e4b45);}),_0x6efbb8[_0xcedebe(0x1fb)](this[_0xcedebe(0x200)][_0xcedebe(0x1ec)][_0xcedebe(0x202)](_0xcedebe(0x204)));}[_0x2b2291(0x1e3)](){const _0x31a06e=_0x2b2291;this[_0x31a06e(0x200)][_0x31a06e(0x1f6)][_0x31a06e(0x202)](_0x48f121)[_0x31a06e(0x1fc)](this[_0x31a06e(0x200)][_0x31a06e(0x1ec)][_0x31a06e(0x202)](_0x31a06e(0x204))),super[_0x31a06e(0x1e3)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x252501)());[_0x5d8795(0x193)];[_0x5d8795(0x1f6)];[_0x5d8795(0x19e)];[_0x5d8795(0x1eb)];[_0x5d8795(0x1b8)];[_0x5d8795(0x1c3)];[_0x5d8795(0x1b0)];[_0x5d8795(0x18f)];[_0x5d8795(0x1bc)];[_0x5d8795(0x234)];[_0x5d8795(0x176)];[_0x5d8795(0x1b2)];[_0x5d8795(0x231)];[_0x5d8795(0x221)];[_0x5d8795(0x1c9)];[_0x5d8795(0x1a2)];[_0x5d8795(0x1cc)];[_0x5d8795(0x217)];static get[_0x5d8795(0x18d)](){return[_0x138e5a,_0x39741a,_0x3e28e8,_0x476eb8,_0x54e9ca,_0x42fec3];}static get[_0x5d8795(0x241)](){const _0xcf2ce6=_0x5d8795;return _0xcf2ce6(0x195);}static get[_0x5d8795(0x199)](){return!0x0;}static get[_0x5d8795(0x1f3)](){return!0x0;}get[_0x5d8795(0x226)](){const _0x5077df=_0x5d8795;return this[_0x5077df(0x1ea)]+this[_0x5077df(0x193)];}get[_0x5d8795(0x1ea)](){const _0x4962cb=_0x5d8795;return this[_0x4962cb(0x19e)][_0x4962cb(0x225)]-this[_0x4962cb(0x193)];}get[_0x5d8795(0x17c)](){const _0x489251=_0x5d8795,_0x555f9e=this[_0x489251(0x19e)][_0x489251(0x153)]();for(let _0x1d46c0=_0x555f9e[_0x489251(0x196)]-0x1;_0x1d46c0>=0x0;_0x1d46c0--){const _0x20fef5=_0x555f9e[_0x1d46c0];if(!this[_0x489251(0x1cc)][_0x489251(0x24f)](_0x20fef5))return _0x20fef5[_0x489251(0x24a)]+0x1-this[_0x489251(0x193)];}return 0x0;}constructor(_0x13f22f){const _0x2717a1=_0x5d8795;if(super(_0x13f22f),this[_0x2717a1(0x193)]=0x0,this[_0x2717a1(0x1f6)]=null,this[_0x2717a1(0x19e)]=new _0x140a69(),this[_0x2717a1(0x1c8)][_0x2717a1(0x21d)][_0x2717a1(0x171)](_0x2717a1(0x1fb),{}),this[_0x2717a1(0x1eb)]=this[_0x2717a1(0x1c8)][_0x2717a1(0x21d)][_0x2717a1(0x1a1)](_0x2717a1(0x250)),!this[_0x2717a1(0x1eb)])throw new _0x46630e(_0x2717a1(0x1d7),this);const _0x8bb56d=_0x13f22f[_0x2717a1(0x21d)][_0x2717a1(0x1a1)](_0x2717a1(0x1da))||_0x4d9ab4;this[_0x2717a1(0x1b8)]=new l[(_0x2717a1(0x16d))](_0x8bb56d,this[_0x2717a1(0x1eb)]),this[_0x2717a1(0x1c3)]=this[_0x2717a1(0x1c8)][_0x2717a1(0x1a7)][_0x2717a1(0x18a)],this[_0x2717a1(0x1b0)]=new _0x1447ce(),this[_0x2717a1(0x18f)]=[],this[_0x2717a1(0x1bc)]=new WeakSet(),this[_0x2717a1(0x234)]=new Set(),this[_0x2717a1(0x1ce)](_0x2717a1(0x227),!0x1),this[_0x2717a1(0x1ce)](_0x2717a1(0x1a4),!0x1),this[_0x2717a1(0x176)]=null,this[_0x2717a1(0x1b2)]=!0x1,this[_0x2717a1(0x231)]=null,this[_0x2717a1(0x221)]=0x12c,this[_0x2717a1(0x1c9)]=this[_0x2717a1(0x221)],this[_0x2717a1(0x1a2)]=null,this[_0x2717a1(0x1cc)]=new WeakSet(),this[_0x2717a1(0x217)]=new tt(this[_0x2717a1(0x1cc)]);}[_0x5d8795(0x175)](){const _0x57dcf6=_0x5d8795,_0x4a0aa7=this[_0x57dcf6(0x1c8)],_0x20dcaf=_0x4a0aa7[_0x57dcf6(0x165)][_0x57dcf6(0x1a1)](_0x54e9ca),_0xdd960b=_0x4a0aa7[_0x57dcf6(0x165)][_0x57dcf6(0x1a1)](_0x138e5a);this[_0x57dcf6(0x215)](_0x20dcaf,_0x57dcf6(0x1d1),(_0x4f94c3,_0x29375a)=>{const _0x19cbe1=_0x57dcf6,_0x1f137f=_0x29375a[0x0];_0x1f137f[_0x19cbe1(0x1b9)]&&(_0x4f94c3[_0x19cbe1(0x187)]=_0x20dcaf[_0x19cbe1(0x156)](_0x1f137f[_0x19cbe1(0x1b9)]),_0x4f94c3[_0x19cbe1(0x168)]()),null===_0x1f137f[_0x19cbe1(0x1b9)]&&(_0x4f94c3[_0x19cbe1(0x187)]=null,_0x4f94c3[_0x19cbe1(0x168)]());},{'priority':_0x57dcf6(0x166)}),this[_0x57dcf6(0x215)](_0x4a0aa7[_0x57dcf6(0x1a7)][_0x57dcf6(0x18a)][_0x57dcf6(0x20c)],_0x57dcf6(0x177),(_0x24f6f3,_0x2ae749)=>{const _0x4115f5=_0x57dcf6;_0x2ae749[_0x4115f5(0x159)]&&this[_0x4115f5(0x20b)]();}),this[_0x57dcf6(0x215)](_0x4a0aa7[_0x57dcf6(0x236)][_0x57dcf6(0x1af)],_0x57dcf6(0x22e),()=>{const _0xd71c88=_0x57dcf6;this[_0xd71c88(0x20b)]();}),this[_0x57dcf6(0x1bd)](),_0x4a0aa7[_0x57dcf6(0x1a7)]['on'](_0x57dcf6(0x1ec),(_0x13f585,_0x2389ed)=>{const _0x26c21e=_0x57dcf6,_0x38de50=_0x2389ed[0x0];_0x38de50[_0x26c21e(0x23e)]&&(this[_0x26c21e(0x15b)](_0x38de50),this[_0x26c21e(0x1f7)]()&&this[_0x26c21e(0x245)]());}),this[_0x57dcf6(0x185)](),this[_0x57dcf6(0x1a9)](_0x57dcf6(0x1e8))['to'](_0xdd960b,_0x57dcf6(0x1c7),this,_0x57dcf6(0x1a4),(_0x4d5fc8,_0x53dc1c)=>_0x57dcf6(0x223)===_0x4d5fc8&&!_0x53dc1c),this['on'](_0x57dcf6(0x24e),()=>{const _0x166863=_0x57dcf6;this[_0x166863(0x1e8)]?_0x4a0aa7[_0x166863(0x160)](_0x166863(0x200)):_0x4a0aa7[_0x166863(0x243)](_0x166863(0x200));}),this[_0x57dcf6(0x1e8)]?_0x4a0aa7[_0x57dcf6(0x160)](_0x57dcf6(0x200)):_0x4a0aa7[_0x57dcf6(0x243)](_0x57dcf6(0x200)),this[_0x57dcf6(0x1ce)](_0x57dcf6(0x1ca),!0x1);}async[_0x5d8795(0x1cf)](){const _0x522c1e=_0x5d8795,_0x353e7d=this[_0x522c1e(0x1c8)][_0x522c1e(0x165)][_0x522c1e(0x1a1)](_0x39741a),_0x2152d0=this[_0x522c1e(0x1c8)][_0x522c1e(0x165)][_0x522c1e(0x1a1)](_0x138e5a);try{this[_0x522c1e(0x227)]=!0x0,_0x353e7d[_0x522c1e(0x22b)](this[_0x522c1e(0x1eb)]);const _0x5a9658=await this[_0x522c1e(0x1b8)][_0x522c1e(0x1cf)](_0x2152d0[_0x522c1e(0x1ff)],this[_0x522c1e(0x17c)]);await this[_0x522c1e(0x17b)](_0x5a9658)&&(this[_0x522c1e(0x227)]=!0x1,this[_0x522c1e(0x205)]());const _0x15f46b=await this[_0x522c1e(0x1b8)][_0x522c1e(0x1f5)]();_0x353e7d[_0x522c1e(0x1fe)](this[_0x522c1e(0x1eb)],_0x15f46b),this[_0x522c1e(0x178)](),this[_0x522c1e(0x1ca)]=!0x0;}catch(_0x491282){if(function(_0x5f1065){const _0x44d689=_0x522c1e;return _0x44d689(0x23f)===_0x5f1065[_0x44d689(0x1d8)];}(_0x491282)&&this[_0x522c1e(0x1f6)])await this[_0x522c1e(0x24b)]();else{if(function(_0x1799d8){const _0xbdc1ee=_0x522c1e;return _0xbdc1ee(0x19c)===_0x1799d8[_0xbdc1ee(0x1d8)];}(_0x491282)){const _0x2aac75=_0x5af1b4(this[_0x522c1e(0x1c8)][_0x522c1e(0x1bf)],_0x522c1e(0x16e));this[_0x522c1e(0x20a)](_0x2aac75);}else{if(!(_0x491282 instanceof Y))throw _0x491282;this[_0x522c1e(0x20a)]();}}}}[_0x5d8795(0x1c0)](){const _0x504756=_0x5d8795,_0x1deeaf=this[_0x504756(0x1c8)][_0x504756(0x165)][_0x504756(0x1a1)](_0x138e5a),_0x341767=this[_0x504756(0x1c8)][_0x504756(0x165)][_0x504756(0x1a1)](_0x39741a);this[_0x504756(0x1c8)][_0x504756(0x243)](_0x504756(0x202)),_0x341767[_0x504756(0x1e5)][_0x504756(0x24f)](this[_0x504756(0x1eb)])&&_0x341767[_0x504756(0x22b)](this[_0x504756(0x1eb)]),_0x1deeaf[_0x504756(0x198)](this),this[_0x504756(0x252)](),super[_0x504756(0x1c0)]();}async[_0x5d8795(0x17b)](_0x367953){const _0x5f3d54=_0x5d8795;if(this[_0x5f3d54(0x1f6)]!==_0x367953[_0x5f3d54(0x1f6)]&&this[_0x5f3d54(0x1a2)]!==_0x367953[_0x5f3d54(0x16b)])throw new Y();return this[_0x5f3d54(0x1f6)]=_0x367953[_0x5f3d54(0x1f6)],this[_0x5f3d54(0x1e0)]([],{..._0x367953,'wereChangesApplied':!0x1,'data':_0x367953[_0x5f3d54(0x15d)]},_0x5f3d54(0x1cf));}async[_0x5d8795(0x18c)](_0x331df1,_0x594047=!0x1){const _0x598466=_0x5d8795,{connection:_0x4b276c}=this[_0x598466(0x1c8)][_0x598466(0x165)][_0x598466(0x1a1)](_0x138e5a);l[_0x598466(0x16d)][_0x598466(0x1f5)](_0x4b276c,this[_0x598466(0x1eb)])[_0x598466(0x1e3)](_0x1315e5=>this[_0x598466(0x1d2)](_0x1315e5))[_0x598466(0x21c)](_0x4b74a5=>{const _0x4ca513=_0x598466;this[_0x4ca513(0x191)](_0x4ca513(0x15a),_0x4b74a5);}),this[_0x598466(0x215)](this[_0x598466(0x1b8)],_0x598466(0x1f2),this[_0x598466(0x1ac)][_0x598466(0x1a9)](this)),this[_0x598466(0x215)](this[_0x598466(0x1b8)],_0x598466(0x16f),(_0x2447c1,_0x51f88a)=>{const _0x4dc6a0=_0x598466;this[_0x4dc6a0(0x191)](_0x4dc6a0(0x218),_0x51f88a);}),this[_0x598466(0x215)](this[_0x598466(0x1b8)],_0x598466(0x188),()=>{const _0x15f2b6=_0x598466;this[_0x15f2b6(0x1ca)]=!0x1;});const _0x5786db=this[_0x598466(0x217)][_0x598466(0x150)](_0x331df1);this[_0x598466(0x227)]=!0x0;const _0x6d39f7=await this[_0x598466(0x1b8)][_0x598466(0x21e)](_0x4b276c,this[_0x598466(0x161)](_0x331df1),_0x5786db);if(this[_0x598466(0x1f6)]=_0x6d39f7[_0x598466(0x1f6)],_0x594047){if(!_0x6d39f7[_0x598466(0x1dd)])return void this[_0x598466(0x20a)]();this[_0x598466(0x227)]=!0x1,this[_0x598466(0x205)](),this[_0x598466(0x19e)][_0x598466(0x167)](),this[_0x598466(0x193)]=_0x6d39f7[_0x598466(0x1c5)],this[_0x598466(0x19e)][_0x598466(0x225)]=this[_0x598466(0x193)],await this[_0x598466(0x1e0)](_0x331df1,_0x6d39f7,_0x598466(0x1aa));}else await this[_0x598466(0x17e)](_0x6d39f7,_0x331df1);this[_0x598466(0x178)](),this[_0x598466(0x1ca)]=!0x0;}[_0x5d8795(0x178)](){const _0x1d4475=_0x5d8795,_0x8c95a1=this[_0x1d4475(0x1c8)][_0x1d4475(0x165)][_0x1d4475(0x1a1)](_0x39741a),_0x4dc181=this[_0x1d4475(0x1c8)][_0x1d4475(0x165)][_0x1d4475(0x1a1)](_0x3e28e8),_0x5e1d60=_0x8c95a1[_0x1d4475(0x1e5)][_0x1d4475(0x1a1)](this[_0x1d4475(0x1eb)]);_0x5e1d60&&_0x5e1d60[_0x1d4475(0x196)]>0x1?_0x4dc181[_0x1d4475(0x249)]():this[_0x1d4475(0x215)](_0x8c95a1,_0x1d4475(0x22f)+this[_0x1d4475(0x1eb)],()=>{const _0x5a85da=_0x1d4475;0x2===_0x8c95a1[_0x5a85da(0x1e5)][_0x5a85da(0x1a1)](this[_0x5a85da(0x1eb)])[_0x5a85da(0x196)]&&_0x4dc181[_0x5a85da(0x249)]();});}async[_0x5d8795(0x1ac)](_0x1676e7,_0x57f235,_0x35ce96,_0x5d2936){const _0x517763=_0x5d8795;if(!this[_0x517763(0x227)]&&this[_0x517763(0x1c3)][_0x517763(0x225)]==_0x57f235){const _0x4d9601=this[_0x517763(0x22d)](_0x35ce96,_0x5d2936);await this[_0x517763(0x1d4)](_0x4d9601),this[_0x517763(0x19a)](_0x4d9601,_0x57f235,_0x35ce96[_0x517763(0x16b)])||this[_0x517763(0x191)](_0x517763(0x1bb));}}async[_0x5d8795(0x24b)](){const _0x238b21=_0x5d8795;this[_0x238b21(0x252)]();const {locale:_0x317d7d}=this[_0x238b21(0x1c8)];let _0x2858b2;try{_0x2858b2=await this[_0x238b21(0x1b8)][_0x238b21(0x220)]();}catch{const _0x22a0af=_0x5af1b4(_0x317d7d,_0x238b21(0x20f));return void this[_0x238b21(0x20a)](_0x22a0af);}const _0x5b9d97=_0x2858b2[_0x238b21(0x209)]||_0x2858b2[_0x238b21(0x210)];if(this[_0x238b21(0x1a2)]!==_0x5b9d97[_0x238b21(0x16b)]){const _0x514f1e=_0x5af1b4(_0x317d7d,_0x238b21(0x17f));return void this[_0x238b21(0x20a)](_0x514f1e);}await this[_0x238b21(0x18c)](this[_0x238b21(0x1c8)][_0x238b21(0x1a7)][_0x238b21(0x18a)][_0x238b21(0x23b)][_0x238b21(0x153)](),!0x0);}[_0x5d8795(0x252)](){const _0x49f5fa=_0x5d8795;this[_0x49f5fa(0x1b8)][_0x49f5fa(0x1b1)](),this[_0x49f5fa(0x18f)]=[],clearTimeout(this[_0x49f5fa(0x231)]),this[_0x49f5fa(0x15f)](this[_0x49f5fa(0x1b8)]);}[_0x5d8795(0x1d2)](_0x4c6f2){const _0x2b096a=_0x5d8795,_0x5e24a4=this[_0x2b096a(0x1c8)][_0x2b096a(0x165)][_0x2b096a(0x1a1)](_0x39741a);this[_0x2b096a(0x215)](_0x5e24a4,_0x2b096a(0x22f)+this[_0x2b096a(0x1eb)],(_0xae48b3,{session:_0x1fc167})=>{const _0x391a07=_0x2b096a;if(_0x1fc167['id']===_0x5e24a4[_0x391a07(0x16c)]){_0xae48b3[_0x391a07(0x173)]();const _0x396e2c=this[_0x391a07(0x1c8)][_0x391a07(0x165)][_0x391a07(0x24f)](_0x391a07(0x1a0))&&this[_0x391a07(0x1c8)][_0x391a07(0x165)][_0x391a07(0x1a1)](_0x391a07(0x1a0));let _0x2c419a=_0x1fc167[_0x391a07(0x1a5)];_0x396e2c&&_0x396e2c[_0x391a07(0x15c)]&&(_0x2c419a=_0x2c419a[_0x391a07(0x1e2)](_0x5ec1f2=>_0x391a07(0x1ab)!==_0x5ec1f2)),this[_0x391a07(0x1c8)][_0x391a07(0x165)][_0x391a07(0x1a1)](_0x391a07(0x19f))[_0x391a07(0x189)](_0x2c419a,this[_0x391a07(0x1eb)]);}}),_0x5e24a4[_0x2b096a(0x1fe)](this[_0x2b096a(0x1eb)],_0x4c6f2);}[_0x5d8795(0x1bd)](){const _0x1d4404=_0x5d8795,_0x1e4d4f=this[_0x1d4404(0x1c8)][_0x1d4404(0x15d)][_0x1d4404(0x1ce)];this[_0x1d4404(0x1c8)][_0x1d4404(0x15d)][_0x1d4404(0x1ce)]=(..._0x26440f)=>{const _0xd5f23f=_0x1d4404;if(!_0x26440f[_0x26440f[_0xd5f23f(0x196)]-0x1][_0xd5f23f(0x17a)])throw new _0x46630e(_0xd5f23f(0x1b4),this);_0x1e4d4f[_0xd5f23f(0x1b3)](this[_0xd5f23f(0x1c8)][_0xd5f23f(0x15d)],_0x26440f);};}[_0x5d8795(0x185)](){const _0x1a5e97=_0x5d8795;this[_0x1a5e97(0x1c8)][_0x1a5e97(0x15d)]['on'](_0x1a5e97(0x175),(_0x288a6b,[_0x4b6f51])=>{const _0x4702f8=_0x1a5e97;if(this[_0x4702f8(0x1c3)][_0x4702f8(0x225)])throw new _0x46630e(_0x4702f8(0x214),this);_0x288a6b[_0x4702f8(0x168)](),this[_0x4702f8(0x1fd)]();const _0xf14564=this[_0x4702f8(0x1c8)][_0x4702f8(0x21d)][_0x4702f8(0x1a1)](_0x4702f8(0x1a8)),_0x2170be=this[_0x4702f8(0x1f0)](_0x4b6f51,_0xf14564);0x0==_0x2170be[_0x4702f8(0x196)]&&_0x2170be[_0x4702f8(0x1ad)](new _0x5eda03(0x0)),_0x288a6b[_0x4702f8(0x187)]=this[_0x4702f8(0x18c)](_0x2170be)[_0x4702f8(0x1e3)](()=>{const _0x146406=_0x4702f8;this[_0x146406(0x1c8)][_0x146406(0x165)][_0x146406(0x1a1)](_0x138e5a)[_0x146406(0x242)](this),this[_0x146406(0x1c8)][_0x146406(0x15d)][_0x146406(0x233)](_0x146406(0x1e4));})[_0x4702f8(0x21c)](_0x55ba8b=>this[_0x4702f8(0x191)](_0x4702f8(0x1f8),_0x55ba8b))[_0x4702f8(0x1fc)](()=>this[_0x4702f8(0x205)]());},{'priority':_0x1a5e97(0x166)}),this[_0x1a5e97(0x1c8)]['on'](_0x1a5e97(0x23c),async(_0x4299a8,[_0x48328d,_0x455b05])=>{const _0x23fefa=_0x1a5e97;_0x4299a8[_0x23fefa(0x168)]();const _0x51feb3=this[_0x23fefa(0x1c8)][_0x23fefa(0x1a7)][_0x23fefa(0x18a)][_0x23fefa(0x1b5)](_0x48328d);if(!this[_0x23fefa(0x234)][_0x23fefa(0x24f)](_0x48328d)){const _0x507d31=_0x455b05&&_0x455b05[_0x23fefa(0x15d)]?_0x455b05[_0x23fefa(0x15d)]:'',_0x1e435c=_0x455b05&&_0x455b05[_0x23fefa(0x1cd)]?_0x455b05[_0x23fefa(0x1cd)]:{};await this[_0x23fefa(0x23d)](_0x48328d,_0x507d31,_0x1e435c);}this[_0x23fefa(0x1c8)][_0x23fefa(0x1a7)][_0x23fefa(0x230)]({'isUndoable':!0x1},()=>{const _0x9c401c=_0x23fefa;_0x51feb3[_0x9c401c(0x1ed)]=!0x0,this[_0x9c401c(0x1c8)][_0x9c401c(0x1a7)][_0x9c401c(0x18a)][_0x9c401c(0x1e6)][_0x9c401c(0x170)](_0x51feb3);});},{'priority':_0x1a5e97(0x166)});}async[_0x5d8795(0x1d4)](_0x32e554){const _0x908dc9=_0x5d8795,_0x25c8bc=this[_0x908dc9(0x1c8)][_0x908dc9(0x165)][_0x908dc9(0x1a1)](_0x54e9ca),{connection:_0x135624}=this[_0x908dc9(0x1c8)][_0x908dc9(0x165)][_0x908dc9(0x1a1)](_0x138e5a),_0x387b06=new Set();for(const _0x25f550 of _0x32e554){const _0x247cd4=_0x25f550[_0x908dc9(0x1b9)];_0x247cd4&&!_0x25c8bc[_0x908dc9(0x156)](_0x247cd4)&&_0x387b06[_0x908dc9(0x164)](_0x247cd4);}if(0x0===_0x387b06[_0x908dc9(0x16a)])return;const _0x6c0eb1=await _0x42bc8d[_0x908dc9(0x232)](_0x135624,Array[_0x908dc9(0x239)](_0x387b06));for(const _0x4e6dd8 of _0x6c0eb1)_0x25c8bc[_0x908dc9(0x156)](_0x4e6dd8['id'])||_0x25c8bc[_0x908dc9(0x1d9)](_0x4e6dd8);}[_0x5d8795(0x1f0)](_0x4f1bc3,_0x3bf9ef={}){const _0x5b66cf=_0x5d8795,_0x59efa5=this[_0x5b66cf(0x1c8)][_0x5b66cf(0x1a7)],_0xfcbf45=[];let _0x21fed6=0x0;const _0x427432=_0x5b66cf(0x224)==typeof _0x4f1bc3?{'main':_0x4f1bc3}:_0x4f1bc3;for(const _0xeb9ad of Object[_0x5b66cf(0x216)](_0x427432)){if(!this[_0x5b66cf(0x1c3)][_0x5b66cf(0x1d5)][_0x5b66cf(0x24f)](_0xeb9ad))throw new _0x46630e(_0x5b66cf(0x1dc),this);const _0x40e8b1=this[_0x5b66cf(0x1c8)][_0x5b66cf(0x15d)][_0x5b66cf(0x207)](_0x427432[_0xeb9ad]),_0x1720b5=this[_0x5b66cf(0x1c3)][_0x5b66cf(0x1b5)](_0xeb9ad),_0x213a4d=new _0x148a98(_0x59efa5[_0x5b66cf(0x1ef)](_0x1720b5,0x0),_0x40e8b1,_0x21fed6++);_0xfcbf45[_0x5b66cf(0x1ad)](_0x213a4d);for(const [_0x16a677,_0x50305a]of _0x40e8b1[_0x5b66cf(0x15e)]){const _0x2d9d3f=_0x59efa5[_0x5b66cf(0x1ae)](_0x59efa5[_0x5b66cf(0x211)](_0x1720b5,_0x50305a[_0x5b66cf(0x183)][_0x5b66cf(0x1b7)][_0x5b66cf(0x14e)]()),_0x59efa5[_0x5b66cf(0x211)](_0x1720b5,_0x50305a[_0x5b66cf(0x172)][_0x5b66cf(0x1b7)][_0x5b66cf(0x14e)]())),_0x4796fa=new _0xd539d(_0x16a677,null,_0x2d9d3f,_0x59efa5[_0x5b66cf(0x15e)],!0x0,_0x21fed6++);_0xfcbf45[_0x5b66cf(0x1ad)](_0x4796fa);}}if(_0x3bf9ef)for(const [_0x917966,_0x286f4f]of Object[_0x5b66cf(0x244)](_0x3bf9ef)){const _0x28e57d=_0x59efa5[_0x5b66cf(0x18a)][_0x5b66cf(0x1b5)](_0x917966);if(!_0x28e57d)throw new _0x46630e(_0x5b66cf(0x192),null);for(const [_0x2f9cbc,_0x3c72ef]of Object[_0x5b66cf(0x244)](_0x286f4f))if(null!==_0x3c72ef){const _0x1686c1=new _0x486427(_0x28e57d,_0x2f9cbc,null,_0x3c72ef,_0x21fed6++);_0xfcbf45[_0x5b66cf(0x1ad)](_0x1686c1);}}return _0xfcbf45;}async[_0x5d8795(0x23d)](_0x667904,_0x5e8b0c,_0x270dde){const _0x12472e=_0x5d8795;this[_0x12472e(0x1f0)]({[_0x667904]:_0x5e8b0c},{[_0x667904]:_0x270dde})[_0x12472e(0x152)]((_0x3a372d,_0x5157f1)=>{const _0x2a92b9=_0x12472e;_0x3a372d[_0x2a92b9(0x24a)]=this[_0x2a92b9(0x1c3)][_0x2a92b9(0x225)]+_0x5157f1,_0x3a372d[_0x2a92b9(0x20d)]=!0x0,this[_0x2a92b9(0x15b)](_0x3a372d);}),this[_0x12472e(0x245)](),await this[_0x12472e(0x1a3)]();}async[_0x5d8795(0x17e)](_0x138cd9,_0x23f731){const _0x35cde1=_0x5d8795;let _0x451ef5;this[_0x35cde1(0x193)]=_0x138cd9[_0x35cde1(0x1c5)];const _0x49a892=_0x138cd9[_0x35cde1(0x1dd)]&&!_0x138cd9[_0x35cde1(0x229)],_0x6d096f=_0x49a892?0x0:_0x138cd9[_0x35cde1(0x15d)][_0x35cde1(0x24a)];if(_0x23f731[_0x35cde1(0x152)](_0x290649=>{const _0x44893c=_0x35cde1;_0x290649[_0x44893c(0x20d)]=!0x0,_0x290649[_0x44893c(0x194)]=_0x138cd9[_0x44893c(0x1f1)],_0x290649[_0x44893c(0x1b9)]=null;}),_0x49a892)_0x451ef5=_0x23f731,this[_0x35cde1(0x1c6)](_0x451ef5,_0x49a892);else{if(_0x138cd9[_0x35cde1(0x229)]){const _0x545c4d=this[_0x35cde1(0x1f0)](_0x138cd9[_0x35cde1(0x229)]);this[_0x35cde1(0x1c3)][_0x35cde1(0x23b)][_0x35cde1(0x225)]=-_0x545c4d[_0x35cde1(0x196)],_0x545c4d[_0x35cde1(0x152)](_0xe6130b=>{const _0xdf6a4a=_0x35cde1;_0xe6130b[_0xdf6a4a(0x24a)]-=_0x545c4d[_0xdf6a4a(0x196)],_0xe6130b[_0xdf6a4a(0x194)]=_0x138cd9[_0xdf6a4a(0x1f1)],_0xe6130b[_0xdf6a4a(0x20d)]=!0x0,_0xe6130b[_0xdf6a4a(0x1b9)]=null;}),this[_0x35cde1(0x1c6)](_0x545c4d,!0x0),this[_0x35cde1(0x19e)][_0x35cde1(0x225)]=-_0x545c4d[_0x35cde1(0x196)]+this[_0x35cde1(0x193)],this[_0x35cde1(0x247)](_0x545c4d);}this[_0x35cde1(0x1c3)][_0x35cde1(0x23b)][_0x35cde1(0x225)]=_0x6d096f,_0x451ef5=this[_0x35cde1(0x22d)](_0x138cd9[_0x35cde1(0x15d)],_0x138cd9[_0x35cde1(0x1ee)]),await this[_0x35cde1(0x1d4)](_0x451ef5),this[_0x35cde1(0x1c6)](_0x451ef5,_0x49a892);}_0x138cd9[_0x35cde1(0x16b)]&&(this[_0x35cde1(0x217)][_0x35cde1(0x201)](_0x451ef5,_0x138cd9[_0x35cde1(0x16b)]),this[_0x35cde1(0x1a2)]=_0x138cd9[_0x35cde1(0x16b)]),this[_0x35cde1(0x19e)][_0x35cde1(0x225)]=_0x6d096f+this[_0x35cde1(0x193)],this[_0x35cde1(0x247)](_0x451ef5),_0x23f731[_0x35cde1(0x1e2)](_0x17cd00=>{const _0x39f72f=_0x35cde1,_0x335b86=this[_0x39f72f(0x253)](_0x17cd00);return _0x335b86&&!this[_0x39f72f(0x234)][_0x39f72f(0x24f)](_0x335b86);})[_0x35cde1(0x152)]((_0x5453ff,_0x27b6ee)=>{const _0x437202=_0x35cde1;_0x5453ff[_0x437202(0x24a)]=this[_0x437202(0x1c3)][_0x437202(0x225)]+_0x27b6ee,this[_0x437202(0x15b)](_0x5453ff);}),this[_0x35cde1(0x1f7)]()?(this[_0x35cde1(0x1c9)]=0x0,this[_0x35cde1(0x245)](!0x0),await this[_0x35cde1(0x1a3)]()):(this[_0x35cde1(0x227)]=!0x1,this[_0x35cde1(0x205)]());}[_0x5d8795(0x191)](_0x37b559,_0x5bdd4e){const _0x4b48eb=_0x5d8795,_0x2b79cf=_0x5bdd4e&&_0x5bdd4e[_0x4b48eb(0x237)];if(_0x2b79cf&&_0x2b79cf[_0x4b48eb(0x154)](_0x4b48eb(0x151)))throw _0x5bdd4e;const _0x4b89d6=this[_0x4b48eb(0x1c8)][_0x4b48eb(0x165)][_0x4b48eb(0x1a1)](_0x138e5a);throw this[_0x4b48eb(0x227)]=!0x0,_0x4b89d6[_0x4b48eb(0x1b1)](),this[_0x4b48eb(0x1c8)][_0x4b48eb(0x243)](_0x4b48eb(0x24d)),new _0x46630e(_0x37b559,this[_0x4b48eb(0x1c8)],_0x2b79cf?{'originalError':_0x2b79cf}:void 0x0);}[_0x5d8795(0x15b)](_0x3b5c45){const _0x15a784=_0x5d8795;this[_0x15a784(0x1bc)][_0x15a784(0x24f)](_0x3b5c45)||(this[_0x15a784(0x1bc)][_0x15a784(0x164)](_0x3b5c45),this[_0x15a784(0x18f)][_0x15a784(0x1ad)](_0x3b5c45),this[_0x15a784(0x176)]||_0x15a784(0x246)==_0x3b5c45[_0x15a784(0x1c2)]&&!_0x3b5c45[_0x15a784(0x18b)]||this[_0x15a784(0x1fd)]());}[_0x5d8795(0x245)](_0x54897c=!0x1){const _0x352cb0=_0x5d8795;!_0x54897c&&this[_0x352cb0(0x227)]||(this[_0x352cb0(0x227)]=!0x0,clearTimeout(this[_0x352cb0(0x231)]),this[_0x352cb0(0x231)]=setTimeout(()=>{const _0x119bd0=_0x352cb0;this[_0x119bd0(0x248)]()[_0x119bd0(0x1e3)](_0x20cd48=>{const _0x190f84=_0x119bd0;_0x20cd48&&(this[_0x190f84(0x205)](),this[_0x190f84(0x227)]=!0x1);})[_0x119bd0(0x21c)](_0x39bf27=>{const _0x51b75d=_0x119bd0;this[_0x51b75d(0x205)](),this[_0x51b75d(0x227)]=!0x1,function(_0xeea102){const _0x886840=_0x51b75d;return _0xeea102[_0x886840(0x237)][_0x886840(0x154)](_0x886840(0x179))||_0xeea102[_0x886840(0x237)][_0x886840(0x154)](_0x886840(0x1de))||_0xeea102[_0x886840(0x237)][_0x886840(0x154)](_0x886840(0x162));}(_0x39bf27)||this[_0x51b75d(0x191)](_0x39bf27[_0x51b75d(0x237)],_0x39bf27);});},this[_0x352cb0(0x1c9)]));}[_0x5d8795(0x1a3)](){return new Promise(_0x1f7ffe=>{const _0x148c7d=_0x3add;this['on'](_0x148c7d(0x203),()=>{_0x1f7ffe();});});}async[_0x5d8795(0x248)](){const _0x1a3f2f=_0x5d8795,_0xd152c8=this[_0x1a3f2f(0x1c8)][_0x1a3f2f(0x165)][_0x1a3f2f(0x1a1)](_0x3e28e8);if(this[_0x1a3f2f(0x1b6)]()&&(_0xd152c8[_0x1a3f2f(0x249)](),this[_0x1a3f2f(0x1b2)]=!0x1),!this[_0x1a3f2f(0x1f7)]())return!0x0;const _0xaa6d80=[...this[_0x1a3f2f(0x18f)]];for(const _0x2a360a of _0xaa6d80)_0x2a360a[_0x1a3f2f(0x1c4)]=this[_0x1a3f2f(0x1c3)][_0x1a3f2f(0x23b)][_0x1a3f2f(0x22a)](_0x2a360a);const _0x37c614=this[_0x1a3f2f(0x217)][_0x1a3f2f(0x150)](_0xaa6d80),_0x1f9b18=X++,_0x50eba4=this[_0x1a3f2f(0x161)](_0xaa6d80),_0x4efffc=await this[_0x1a3f2f(0x1b8)][_0x1a3f2f(0x23a)](_0x50eba4,_0x50eba4[_0x1a3f2f(0x24a)],_0x37c614);try{return await this[_0x1a3f2f(0x1e0)](_0xaa6d80,_0x4efffc,_0x1f9b18);}catch(_0x15c8a2){return this[_0x1a3f2f(0x191)](_0x1a3f2f(0x213),_0x15c8a2);}}async[_0x5d8795(0x1e0)](_0x516050,_0x264704,_0x1fbd3a){const _0x3bdb0a=_0x5d8795;if(_0x3bdb0a(0x16f)in _0x264704)throw _0x264704[_0x3bdb0a(0x16f)];let _0x51bc56=!0x1;if(_0x264704[_0x3bdb0a(0x1dd)]){_0x264704[_0x3bdb0a(0x16b)]&&(this[_0x3bdb0a(0x1a2)]=_0x264704[_0x3bdb0a(0x16b)]),this[_0x3bdb0a(0x18f)]=this[_0x3bdb0a(0x18f)][_0x3bdb0a(0x1e2)](_0x51f997=>!_0x516050[_0x3bdb0a(0x155)](_0x51f997));for(const _0x22892c of _0x516050)_0x22892c[_0x3bdb0a(0x194)]=_0x3bdb0a(0x174)in _0x264704&&_0x264704[_0x3bdb0a(0x174)]||void 0x0;Z(_0x516050,_0x264704[_0x3bdb0a(0x225)]-_0x516050[_0x3bdb0a(0x196)]),this[_0x3bdb0a(0x247)](_0x516050);const _0x59d1d9=_0x516050[_0x3bdb0a(0x1e2)](_0x3d90cf=>{const _0x40f8f0=_0x3bdb0a;if(!_0x3d90cf[_0x40f8f0(0x20d)])return!0x1;const _0x93e319=this[_0x40f8f0(0x253)](_0x3d90cf);return _0x93e319&&!this[_0x40f8f0(0x234)][_0x40f8f0(0x24f)](_0x93e319);});Z(_0x59d1d9,this[_0x3bdb0a(0x1c3)][_0x3bdb0a(0x225)]),this[_0x3bdb0a(0x1c6)](_0x59d1d9),_0x51bc56=!0x0,this[_0x3bdb0a(0x1c9)]=this[_0x3bdb0a(0x221)];}else{const _0x5a8474=this[_0x3bdb0a(0x22d)](_0x264704[_0x3bdb0a(0x15d)],_0x264704[_0x3bdb0a(0x1ee)])[_0x3bdb0a(0x1e2)](_0x40af1a=>_0x40af1a[_0x3bdb0a(0x24a)]>=this[_0x3bdb0a(0x1ea)]);_0x5a8474[_0x3bdb0a(0x152)](_0x3ce614=>this[_0x3bdb0a(0x19d)](_0x3ce614)),this[_0x3bdb0a(0x18f)]=this[_0x3bdb0a(0x18f)][_0x3bdb0a(0x1e2)](_0x4641da=>!_0x4641da[_0x3bdb0a(0x20d)]||!this[_0x3bdb0a(0x234)][_0x3bdb0a(0x24f)](this[_0x3bdb0a(0x253)](_0x4641da))),this[_0x3bdb0a(0x18f)][_0x3bdb0a(0x196)]&&Z(this[_0x3bdb0a(0x18f)],this[_0x3bdb0a(0x18f)][0x0][_0x3bdb0a(0x24a)]),await this[_0x3bdb0a(0x1d4)](_0x5a8474),_0x51bc56=this[_0x3bdb0a(0x19a)](_0x5a8474,_0x264704[_0x3bdb0a(0x225)],_0x264704[_0x3bdb0a(0x16b)]),this[_0x3bdb0a(0x1c9)]=Math[_0x3bdb0a(0x157)](this[_0x3bdb0a(0x1c9)]/0x2);}return _0x51bc56?!this[_0x3bdb0a(0x1f7)]()||(this[_0x3bdb0a(0x245)](!0x0),!0x1):this[_0x3bdb0a(0x191)](_0x3bdb0a(0x163));}[_0x5d8795(0x19a)](_0x30e2f5,_0x1f7e0d,_0x5efdbc){const _0x176408=_0x5d8795;try{const _0x185a54={'document':this[_0x176408(0x1c3)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x338335,operationsB:_0x1234cc,originalOperations:_0x405fe2}=_0x205bc5(_0x30e2f5,this[_0x176408(0x18f)],_0x185a54);Z(_0x338335,this[_0x176408(0x1c3)][_0x176408(0x225)]),Z(_0x1234cc,_0x1f7e0d);for(const _0x2c54c7 of _0x338335){const _0xac1fa8=_0x405fe2[_0x176408(0x1a1)](_0x2c54c7);_0x2c54c7[_0x176408(0x1b9)]=_0xac1fa8?_0xac1fa8[_0x176408(0x1b9)]:null;}_0x5efdbc&&(this[_0x176408(0x217)][_0x176408(0x201)](_0x30e2f5,_0x5efdbc),this[_0x176408(0x1a2)]=_0x5efdbc),this[_0x176408(0x18f)]=[..._0x1234cc],this[_0x176408(0x1c6)](_0x338335),this[_0x176408(0x247)](_0x30e2f5);}catch(_0x5a2373){return console[_0x176408(0x16f)](_0x5a2373),!0x1;}return!0x0;}[_0x5d8795(0x1c6)](_0x30e2ed,_0x503b9f=!0x1){const _0x403569=_0x5d8795;this[_0x403569(0x1c8)][_0x403569(0x1a7)][_0x403569(0x230)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3f2c7d=>{const _0x4259a8=_0x403569;for(const _0x550746 of _0x30e2ed)this[_0x4259a8(0x1bc)][_0x4259a8(0x164)](_0x550746),this[_0x4259a8(0x19d)](_0x550746),_0x3f2c7d[_0x4259a8(0x1ba)][_0x4259a8(0x1d6)](_0x550746),this[_0x4259a8(0x1c8)][_0x4259a8(0x1a7)][_0x4259a8(0x1ec)](_0x550746);});}[_0x5d8795(0x19d)](_0x325e5d){const _0x5256e2=_0x5d8795,_0x4e6d8c=this[_0x5256e2(0x253)](_0x325e5d);_0x4e6d8c&&this[_0x5256e2(0x234)][_0x5256e2(0x164)](_0x4e6d8c);}[_0x5d8795(0x253)](_0x2f839e){const _0x1cd881=_0x5d8795;let _0xed4da3,_0x1a011a;switch(_0x2f839e[_0x1cd881(0x1c2)]){case _0x1cd881(0x169):_0xed4da3=_0x2f839e[_0x1cd881(0x1fa)][_0x1cd881(0x212)];break;case _0x1cd881(0x246):if(_0x1a011a=_0x2f839e[_0x1cd881(0x20e)],!_0x1a011a)return null;_0xed4da3=_0x1a011a[_0x1cd881(0x212)];break;case _0x1cd881(0x18e):_0xed4da3=_0x2f839e[_0x1cd881(0x212)];break;case _0x1cd881(0x251):_0xed4da3=_0x2f839e[_0x1cd881(0x158)];break;case _0x1cd881(0x1cb):_0xed4da3=_0x2f839e[_0x1cd881(0x204)][_0x1cd881(0x212)];break;default:return null;}return _0xed4da3[_0x1cd881(0x1d0)];}[_0x5d8795(0x247)](_0x4ba19a){const _0x32f99b=_0x5d8795;_0x4ba19a[_0x32f99b(0x152)](_0x214a4d=>{const _0x114eb5=_0x32f99b,_0x3ab14e=_0x214a4d[_0x114eb5(0x1e7)]();_0x3ab14e[_0x114eb5(0x1b9)]=_0x214a4d[_0x114eb5(0x1b9)],_0x3ab14e[_0x114eb5(0x20d)]=!!_0x214a4d[_0x114eb5(0x20d)],_0x3ab14e[_0x114eb5(0x194)]=_0x214a4d[_0x114eb5(0x194)],_0x3ab14e[_0x114eb5(0x24a)]+=this[_0x114eb5(0x193)],_0x214a4d[_0x114eb5(0x1df)]&&this[_0x114eb5(0x1cc)][_0x114eb5(0x164)](_0x3ab14e),this[_0x114eb5(0x19e)][_0x114eb5(0x1d6)](_0x3ab14e);});}[_0x5d8795(0x20a)](_0x257eed){const _0x1b9aa7=_0x5d8795,_0x2d530b=this[_0x1b9aa7(0x1c8)][_0x1b9aa7(0x165)][_0x1b9aa7(0x1a1)](_0x1b9aa7(0x238)),_0x2a888c=this[_0x1b9aa7(0x1c8)][_0x1b9aa7(0x1bf)];_0x257eed||(_0x257eed=_0x5af1b4(_0x2a888c,_0x1b9aa7(0x19b))),_0x2d530b[_0x1b9aa7(0x24c)](_0x257eed,{'title':_0x5af1b4(_0x2a888c,_0x1b9aa7(0x235)),'namespace':_0x1b9aa7(0x21f)}),this[_0x1b9aa7(0x1a4)]=!0x0,clearTimeout(this[_0x1b9aa7(0x231)]),this[_0x1b9aa7(0x18f)]=[],this[_0x1b9aa7(0x1c8)][_0x1b9aa7(0x165)][_0x1b9aa7(0x1a1)](_0x138e5a)[_0x1b9aa7(0x1b1)]();}[_0x5d8795(0x1fd)](){const _0x1c3ccf=_0x5d8795;this[_0x1c3ccf(0x176)]||(this[_0x1c3ccf(0x176)]=this[_0x1c3ccf(0x1c8)][_0x1c3ccf(0x165)][_0x1c3ccf(0x1a1)](_0x476eb8)[_0x1c3ccf(0x164)](_0x5af1b4(this[_0x1c3ccf(0x1c8)][_0x1c3ccf(0x1bf)],_0x1c3ccf(0x219))));}[_0x5d8795(0x205)](){const _0x9b4d14=_0x5d8795;this[_0x9b4d14(0x176)]&&(this[_0x9b4d14(0x1c8)][_0x9b4d14(0x165)][_0x9b4d14(0x1a1)](_0x476eb8)[_0x9b4d14(0x1be)](this[_0x9b4d14(0x176)]),this[_0x9b4d14(0x176)]=null);}[_0x5d8795(0x161)](_0x2e9fc3){const _0x4e1f8c=_0x5d8795,_0x44024b=_0x2e9fc3[_0x4e1f8c(0x22c)](_0x368d8c=>_0x368d8c[_0x4e1f8c(0x208)]());return this[_0x4e1f8c(0x1b0)][_0x4e1f8c(0x184)](_0x44024b);}[_0x5d8795(0x22d)](_0x280d4f,_0x4f4306){const _0x36af32=_0x5d8795;return this[_0x36af32(0x1b0)][_0x36af32(0x1e1)](_0x280d4f)[_0x36af32(0x22c)]((_0x27c1e9,_0x4bcede)=>{const _0x4aefdc=_0x36af32,_0x359792=_0x4aefdc(0x175)==_0x4f4306[_0x4bcede][_0x4aefdc(0x1c2)];if(_0x4aefdc(0x190)==_0x27c1e9[_0x4aefdc(0x1c1)]){const _0xa8d6ed=_0x27c1e9[_0x4aefdc(0x1fa)][_0x4aefdc(0x212)];!this[_0x4aefdc(0x1c3)][_0x4aefdc(0x1b5)](_0xa8d6ed)&&(this[_0x4aefdc(0x1c3)][_0x4aefdc(0x1f9)](_0x4aefdc(0x1a6),_0xa8d6ed)[_0x4aefdc(0x1f4)]=!0x1);}const _0x20b414=_0x409321[_0x4aefdc(0x206)](_0x27c1e9,this[_0x4aefdc(0x1c3)]);return _0x20b414[_0x4aefdc(0x1c4)]=_0x27c1e9[_0x4aefdc(0x1c4)],_0x20b414[_0x4aefdc(0x20d)]=_0x359792,_0x20b414[_0x4aefdc(0x1b9)]=_0x359792?null:_0x4f4306[_0x4bcede][_0x4aefdc(0x21a)],_0x20b414[_0x4aefdc(0x1df)]=_0x4aefdc(0x17d)===_0x4f4306[_0x4bcede][_0x4aefdc(0x1c2)],_0x20b414[_0x4aefdc(0x194)]=_0x4f4306[_0x4bcede][_0x4aefdc(0x194)],_0x20b414;});}[_0x5d8795(0x20b)](){const _0x36af92=_0x5d8795;this[_0x36af92(0x1b2)]=!0x0,this[_0x36af92(0x1b6)]()?this[_0x36af92(0x245)]():this[_0x36af92(0x1b2)]=!0x1;}[_0x5d8795(0x1b6)](){const _0x4719a1=_0x5d8795,_0x352b81=this[_0x4719a1(0x1c8)][_0x4719a1(0x165)][_0x4719a1(0x1a1)](_0x39741a)[_0x4719a1(0x1e5)][_0x4719a1(0x1a1)](this[_0x4719a1(0x1eb)]);return!this[_0x4719a1(0x1c8)][_0x4719a1(0x228)]&&!!_0x352b81&&_0x352b81[_0x4719a1(0x196)]>0x1&&this[_0x4719a1(0x1b2)];}[_0x5d8795(0x1f7)](){const _0x5409b=_0x5d8795;return this[_0x5409b(0x18f)][_0x5409b(0x196)]>0x0||this[_0x5409b(0x1b6)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x44644e,_0x191df7){const _0x162da0=_0x5d8795;for(const _0x2465c6 of _0x44644e)_0x2465c6[_0x162da0(0x24a)]=_0x191df7++;}class tt{[_0x5d8795(0x181)];[_0x5d8795(0x14f)];constructor(_0x481027){const _0x31e9e9=_0x5d8795;this[_0x31e9e9(0x181)]=_0x481027,this[_0x31e9e9(0x14f)]=new WeakMap();}[_0x5d8795(0x150)](_0x4af751){const _0x3a591d=_0x5d8795;let _0x458f34=_0x4af751[_0x3a591d(0x196)];for(;_0x458f34--;){const _0x5baa60=_0x4af751[_0x458f34];if(!this[_0x3a591d(0x181)][_0x3a591d(0x24f)](_0x5baa60)){if(!this[_0x3a591d(0x14f)][_0x3a591d(0x24f)](_0x5baa60)){const _0x4ae0e8=_0x1f3b4e()[_0x3a591d(0x14e)](0x1,0x12);this[_0x3a591d(0x14f)][_0x3a591d(0x1ce)](_0x5baa60,_0x4ae0e8);}return this[_0x3a591d(0x14f)][_0x3a591d(0x1a1)](_0x5baa60);}}}[_0x5d8795(0x201)](_0x3af255,_0x569f5d){const _0x5a74d4=_0x5d8795;if(!_0x569f5d)return;let _0x494571=_0x3af255[_0x5a74d4(0x196)];for(;_0x494571--;){const _0x136a5c=_0x3af255[_0x494571];this[_0x5a74d4(0x181)][_0x5a74d4(0x24f)](_0x136a5c)||this[_0x5a74d4(0x14f)][_0x5a74d4(0x1ce)](_0x136a5c,_0x569f5d);}}}
|
|
23
|
+
const _0x498157=_0x2b91;(function(_0x74d4ec,_0x5db455){const _0x4ab387=_0x2b91,_0x2a1022=_0x74d4ec();while(!![]){try{const _0x1aa063=-parseInt(_0x4ab387(0x1c8))/0x1+parseInt(_0x4ab387(0xea))/0x2*(parseInt(_0x4ab387(0x124))/0x3)+parseInt(_0x4ab387(0x176))/0x4+parseInt(_0x4ab387(0x14e))/0x5*(-parseInt(_0x4ab387(0x1d7))/0x6)+parseInt(_0x4ab387(0x1cb))/0x7+parseInt(_0x4ab387(0x156))/0x8+parseInt(_0x4ab387(0x127))/0x9;if(_0x1aa063===_0x5db455)break;else _0x2a1022['push'](_0x2a1022['shift']());}catch(_0x3bd932){_0x2a1022['push'](_0x2a1022['shift']());}}}(_0x3b59,0x25e42));function _0x2b91(_0x315da2,_0x5ed252){const _0x3b590c=_0x3b59();return _0x2b91=function(_0x2b9167,_0x3e1a79){_0x2b9167=_0x2b9167-0xe9;let _0x11d3cc=_0x3b590c[_0x2b9167];return _0x11d3cc;},_0x2b91(_0x315da2,_0x5ed252);}import{Plugin as _0x4fd8d0,PendingActions as _0x5fee62}from'ckeditor5/src/core.js';import{CKEditorError as _0x39c79a,version as _0x13e62d,uid as _0x56fa90}from'ckeditor5/src/utils.js';import{Notification as _0x17cbaf}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3c2f1e,NoOperation as _0x1af503,InsertOperation as _0x1b74a8,MarkerOperation as _0xa6f18,RootAttributeOperation as _0x223668,OperationFactory as _0x464193,History as _0x12987f}from'ckeditor5/src/engine.js';function _0x3b59(){const _0x418bc4=['rtc-offline','decompress','addToReconnectionStack','_baseBufferDelay','_knownOperations','_isDisconnection','document:write','directChange','_refreshUserSelectionMarkers','startsWith','sessionId','selection','_bufferedOperations','_setUpDataInit','currentDocumentSession','rootName','_isLoaded','collaboration-missing-channelid','_sendBufferedOperations','cloudDocumentVersion','lastDocumentSession','removeFromReconnectionStack','RealTimeCollaborationClient','batch','bind','change:range','get','addRootAttribute','lastOperationId','_loadRoot','off','ready','_connectService','_isConnected','isEnabled','_connectAfterSessionHasBeenFlushed','_getAffectedRoot','lastSyncVersion','_handleReceivedOperations','_setPendingAction','return','config','move','_sendBufferedOperationsDelayId','entries','round','metadata','realtimecollaborationclient-error','sessionAdd:','Permissions','insert','_decompressOperations','_channelId','editing','multi-root-editor-root-attributes-no-root','mySessionId','userId','_getOperationsFromInitData','_updateServerHistory','getIdOfTheLastOperation','toJSON','_operationToId','_addKnownRoot','error','document','_crash','version','state','real-time-collaboration','data','serverHistory','markers','_ignoredOperations','reconnection:\x20flushed\x20session','collaboration','affectsData','isPremiumPlugin','init','cs:removeUser','setIdForTheLastOperation','284534dcUzGA','rtc-destroyed','path','67473SilwGP','locale','_lastServerVersion','end','_shouldSendSelectionUpdate','getConnectedSessions','then','root','getMany','createPositionFromPath','length','plugins','6198nLHhmp','compress','view','_service','suppressErrorInCollaboration','_compressOperations','fromJSON','parse','getUser','_isEditingAllowed','_shouldSendUpdate','realtimecollaborationclient-sendbufferedoperations','CommentsOnly','apply','editor','_disconnectService','change:_isPendingUpdate','wereChangesApplied','filter','roots','_isInit','409','realtimecollaborationclient-handleserverresponse','cloud-services-internal-error:\x20Request\x20timeout.','78232nYGBlS','_saveOperationInBuffer','newRange','set','_handleSendingSelectionMarkers','position','size','forEach','isOfficialPlugin','string','permissions','isReadOnly','unregister','define','_clearPendingAction','_handleInitialConnectionData','_hasSelectionChanged','rootsAttributes','_currentBufferDelay','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','targetPosition','requires','_applyOperationsSet','_sendBufferedOperationsDelayed','_bufferRootLoad','stopListening','clone','addOperation','realtimecollaborationclient-init-connection-failed','_handleReconnectionResponse','realtimecollaborationclient-init-service-internal-error','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createUserMarkerOperations','stop','register','fire','finally','enableReadOnlyMode','code','_compressor','_isAttached','change:hasDomSelection','operationsReceived','_document','history','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.','createRange','getOperations','_initSessionsHandling','realtimecollaborationclient-init-non-existent-root','pluginName','keys','InsertOperation','createdAt','getDocumentDetails','cloudServices.bundleVersion','disconnected','_handleExternalOperations','6klLpNA','_handleServerResponse','remove','3400992PpDqpe','offset','isUndoneOperation','_pendingAction','model','from','_knownRootNames','$root','CollaborativeEditingService','catch','Synchronization\x20issue','_waitUntilSynced','_offset','channelSessions','getRoot','_isPendingUpdate','_operationIdentifier','_disconnectionOperations','map','realtimecollaborationclient-init-service-incorrect-server-operation','initData','add','getOperationAuthor','_handleReconnectionError','createRoot','showWarning','connected','high','_lastSyncedOperationId','realtimecollaborationclient','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.','loadRoot','type','collaboration.channelId','createPositionAt','_fetchMissingUsers','baseVersion','Notification','connection','1410yodFzo','has','connect','affectedSelectable','slice','message','__className','reconnect','195304pgdYts','sessionCreatedAt','marker','listenTo','includes','attributes','PENDING_ACTION_SENDING_DATA','404','disconnect','addRoot','applyOperation','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enqueueChange','_authorId','realtimecollaborationclient-init-document-already-initialized','change:_isEditingAllowed','cloud-services-internal-error:\x20Not\x20connected.','start','differ','disableReadOnlyMode','wasUndone','isDocumentOperation','lastOperationAcceptedAt','realtimecollaborationclient-init-session-connection-error','_initThrowingOnDataSet','reset','sendOperations','push','destroy','addUser','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','setPermissions','963480NcPYwP','_hasSynchronizationProblem'];_0x3b59=function(){return _0x418bc4;};return _0x3b59();}import{WebSocketGateway as _0xcf23fb}from'./websocketgateway.js';import{Sessions as _0x330f0}from'./sessions.js';import{UserMarkers as _0x196185}from'./usermarkers.js';import{getTranslation as _0x2f7dcf}from'../common-translations.js';import{Compressor as _0x1ffcd6}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x41497f}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x375501,CollaborativeEditingService as _0xc532ea}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;class l extends _0x4fd8d0{static [_0x498157(0x12f)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xc532ea)());[_0x498157(0x133)];[_0x498157(0x182)];[_0x498157(0x1be)];[_0x498157(0x1ac)];[_0x498157(0x1da)];[_0x498157(0x115)];[_0x498157(0x111)];[_0x498157(0x184)];[_0x498157(0x17c)];[_0x498157(0x12d)];[_0x498157(0x12a)];[_0x498157(0xfa)];[_0x498157(0x1a3)];[_0x498157(0x17b)];[_0x498157(0xfc)];[_0x498157(0x143)];[_0x498157(0x138)];[_0x498157(0x137)];static get[_0x498157(0xff)](){return[_0xcf23fb,_0x330f0,_0x196185,_0x5fee62,_0x41497f,_0x17cbaf];}static get[_0x498157(0x11c)](){const _0x314639=_0x498157;return _0x314639(0x18e);}static get[_0x498157(0xf2)](){return!0x0;}static get[_0x498157(0x1c4)](){return!0x0;}get[_0x498157(0x18b)](){const _0x1e6b91=_0x498157;return this[_0x1e6b91(0x1cd)]+this[_0x1e6b91(0x133)];}get[_0x498157(0x1cd)](){const _0x2c62df=_0x498157;return this[_0x2c62df(0x1be)][_0x2c62df(0x1ba)]-this[_0x2c62df(0x133)];}get[_0x498157(0x19d)](){const _0x2d1ac2=_0x498157,_0xee38a5=this[_0x2d1ac2(0x1be)][_0x2d1ac2(0x119)]();for(let _0x4619ee=_0xee38a5[_0x2d1ac2(0x1d5)]-0x1;_0x4619ee>=0x0;_0x4619ee--){const _0x1bdba1=_0xee38a5[_0x4619ee];if(!this[_0x2d1ac2(0x138)][_0x2d1ac2(0x14f)](_0x1bdba1))return _0x1bdba1[_0x2d1ac2(0x14b)]+0x1-this[_0x2d1ac2(0x133)];}return 0x0;}constructor(_0x58171c){const _0x55fa15=_0x498157;if(super(_0x58171c),this[_0x55fa15(0x133)]=0x0,this[_0x55fa15(0x182)]=null,this[_0x55fa15(0x1be)]=new _0x12987f(),this[_0x55fa15(0x1e5)][_0x55fa15(0x1a1)][_0x55fa15(0xf7)](_0x55fa15(0x1c2),{}),this[_0x55fa15(0x1ac)]=this[_0x55fa15(0x1e5)][_0x55fa15(0x1a1)][_0x55fa15(0x192)](_0x55fa15(0x148)),!this[_0x55fa15(0x1ac)])throw new _0x39c79a(_0x55fa15(0x189),this);const _0x5f5185=_0x58171c[_0x55fa15(0x1a1)][_0x55fa15(0x192)](_0x55fa15(0x121))||_0x13e62d;this[_0x55fa15(0x1da)]=new l[(_0x55fa15(0x12f))](_0x5f5185,this[_0x55fa15(0x1ac)]),this[_0x55fa15(0x115)]=this[_0x55fa15(0x1e5)][_0x55fa15(0x12b)][_0x55fa15(0x1b8)],this[_0x55fa15(0x111)]=new _0x1ffcd6(),this[_0x55fa15(0x184)]=[],this[_0x55fa15(0x17c)]=new WeakSet(),this[_0x55fa15(0x12d)]=new Set(),this[_0x55fa15(0xed)](_0x55fa15(0x136),!0x1),this[_0x55fa15(0xed)](_0x55fa15(0x177),!0x1),this[_0x55fa15(0x12a)]=null,this[_0x55fa15(0xfa)]=!0x1,this[_0x55fa15(0x1a3)]=null,this[_0x55fa15(0x17b)]=0x12c,this[_0x55fa15(0xfc)]=this[_0x55fa15(0x17b)],this[_0x55fa15(0x143)]=null,this[_0x55fa15(0x138)]=new WeakSet(),this[_0x55fa15(0x137)]=new tt(this[_0x55fa15(0x138)]);}[_0x498157(0x1c5)](){const _0x5a801c=_0x498157,_0x4c339c=this[_0x5a801c(0x1e5)],_0x52f946=_0x4c339c[_0x5a801c(0x1d6)][_0x5a801c(0x192)](_0x41497f),_0x329c57=_0x4c339c[_0x5a801c(0x1d6)][_0x5a801c(0x192)](_0xcf23fb);this[_0x5a801c(0x159)](_0x52f946,_0x5a801c(0x13d),(_0x1eb921,_0x2e0ed8)=>{const _0x219679=_0x5a801c,_0x2fbe02=_0x2e0ed8[0x0];_0x2fbe02[_0x219679(0x163)]&&(_0x1eb921[_0x219679(0x1a0)]=_0x52f946[_0x219679(0x1df)](_0x2fbe02[_0x219679(0x163)]),_0x1eb921[_0x219679(0x10b)]()),null===_0x2fbe02[_0x219679(0x163)]&&(_0x1eb921[_0x219679(0x1a0)]=null,_0x1eb921[_0x219679(0x10b)]());},{'priority':_0x5a801c(0x142)}),this[_0x5a801c(0x159)](_0x4c339c[_0x5a801c(0x12b)][_0x5a801c(0x1b8)][_0x5a801c(0x183)],_0x5a801c(0x191),(_0x2480c2,_0x138a04)=>{const _0x572d12=_0x5a801c;_0x138a04[_0x572d12(0x17f)]&&this[_0x572d12(0x180)]();}),this[_0x5a801c(0x159)](_0x4c339c[_0x5a801c(0x1ad)][_0x5a801c(0x1d9)],_0x5a801c(0x113),()=>{const _0x3efd8a=_0x5a801c;this[_0x3efd8a(0x180)]();}),this[_0x5a801c(0x16e)](),_0x4c339c[_0x5a801c(0x12b)]['on'](_0x5a801c(0x160),(_0x30d9fd,_0x533b5e)=>{const _0x11ca82=_0x5a801c,_0x4da3d4=_0x533b5e[0x0];_0x4da3d4[_0x11ca82(0x16b)]&&(this[_0x11ca82(0xeb)](_0x4da3d4),this[_0x11ca82(0x1e1)]()&&this[_0x11ca82(0x101)]());}),this[_0x5a801c(0x185)](),this[_0x5a801c(0x190)](_0x5a801c(0x1e0))['to'](_0x329c57,_0x5a801c(0x1bb),this,_0x5a801c(0x177),(_0x58493d,_0x502595)=>_0x5a801c(0x141)===_0x58493d&&!_0x502595),this['on'](_0x5a801c(0x165),()=>{const _0x3da0c5=_0x5a801c;this[_0x3da0c5(0x1e0)]?_0x4c339c[_0x3da0c5(0x169)](_0x3da0c5(0x178)):_0x4c339c[_0x3da0c5(0x10f)](_0x3da0c5(0x178));}),this[_0x5a801c(0x1e0)]?_0x4c339c[_0x5a801c(0x169)](_0x5a801c(0x178)):_0x4c339c[_0x5a801c(0x10f)](_0x5a801c(0x178)),this[_0x5a801c(0xed)](_0x5a801c(0x199),!0x1);}async[_0x498157(0x155)](){const _0x56bf02=_0x498157,_0xe074d7=this[_0x56bf02(0x1e5)][_0x56bf02(0x1d6)][_0x56bf02(0x192)](_0x330f0),_0xe73fc3=this[_0x56bf02(0x1e5)][_0x56bf02(0x1d6)][_0x56bf02(0x192)](_0xcf23fb);try{this[_0x56bf02(0x136)]=!0x0,_0xe074d7[_0x56bf02(0xf6)](this[_0x56bf02(0x1ac)]);const _0x48583a=await this[_0x56bf02(0x1da)][_0x56bf02(0x155)](_0xe73fc3[_0x56bf02(0x14d)],this[_0x56bf02(0x19d)]);await this[_0x56bf02(0x107)](_0x48583a)&&(this[_0x56bf02(0x136)]=!0x1,this[_0x56bf02(0xf8)]());const _0xf4b703=await this[_0x56bf02(0x1da)][_0x56bf02(0x1d0)]();_0xe074d7[_0x56bf02(0x10c)](this[_0x56bf02(0x1ac)],_0xf4b703),this[_0x56bf02(0xee)](),this[_0x56bf02(0x199)]=!0x0;}catch(_0x5dd992){if(function(_0x482bf5){const _0x5b2faa=_0x56bf02;return _0x5b2faa(0x15d)===_0x482bf5[_0x5b2faa(0x110)];}(_0x5dd992)&&this[_0x56bf02(0x182)])await this[_0x56bf02(0x19b)]();else{if(function(_0x524d3e){const _0x4907e9=_0x56bf02;return _0x4907e9(0x1ec)===_0x524d3e[_0x4907e9(0x110)];}(_0x5dd992)){const _0x5188eb=_0x2f7dcf(this[_0x56bf02(0x1e5)][_0x56bf02(0x1cc)],_0x56bf02(0x174));this[_0x56bf02(0x13e)](_0x5188eb);}else{if(!(_0x5dd992 instanceof Y))throw _0x5dd992;this[_0x56bf02(0x13e)]();}}}}[_0x498157(0x172)](){const _0x2fbaee=_0x498157,_0x5ebbe4=this[_0x2fbaee(0x1e5)][_0x2fbaee(0x1d6)][_0x2fbaee(0x192)](_0xcf23fb),_0x5317e4=this[_0x2fbaee(0x1e5)][_0x2fbaee(0x1d6)][_0x2fbaee(0x192)](_0x330f0);this[_0x2fbaee(0x1e5)][_0x2fbaee(0x10f)](_0x2fbaee(0x1c9)),_0x5317e4[_0x2fbaee(0x134)][_0x2fbaee(0x14f)](this[_0x2fbaee(0x1ac)])&&_0x5317e4[_0x2fbaee(0xf6)](this[_0x2fbaee(0x1ac)]),_0x5ebbe4[_0x2fbaee(0x18d)](this),this[_0x2fbaee(0x1e6)](),super[_0x2fbaee(0x172)]();}async[_0x498157(0x107)](_0x51a52a){const _0x5b1697=_0x498157;if(this[_0x5b1697(0x182)]!==_0x51a52a[_0x5b1697(0x182)]&&this[_0x5b1697(0x143)]!==_0x51a52a[_0x5b1697(0x194)])throw new Y();return this[_0x5b1697(0x182)]=_0x51a52a[_0x5b1697(0x182)],this[_0x5b1697(0x125)]([],{..._0x51a52a,'wereChangesApplied':!0x1,'data':_0x51a52a[_0x5b1697(0x1bd)]},_0x5b1697(0x155));}async[_0x498157(0x198)](_0x3215b0,_0x4c171f=!0x1){const _0x958182=_0x498157,{connection:_0x1c8acc}=this[_0x958182(0x1e5)][_0x958182(0x1d6)][_0x958182(0x192)](_0xcf23fb);l[_0x958182(0x12f)][_0x958182(0x1d0)](_0x1c8acc,this[_0x958182(0x1ac)])[_0x958182(0x1d1)](_0x5461d6=>this[_0x958182(0x11a)](_0x5461d6))[_0x958182(0x130)](_0x5db0ae=>{const _0x1f9bf7=_0x958182;this[_0x1f9bf7(0x1b9)](_0x1f9bf7(0x16d),_0x5db0ae);}),this[_0x958182(0x159)](this[_0x958182(0x1da)],_0x958182(0x114),this[_0x958182(0x19e)][_0x958182(0x190)](this)),this[_0x958182(0x159)](this[_0x958182(0x1da)],_0x958182(0x1b7),(_0x87ede3,_0x2fdd12)=>{const _0x47adb0=_0x958182;this[_0x47adb0(0x1b9)](_0x47adb0(0x108),_0x2fdd12);}),this[_0x958182(0x159)](this[_0x958182(0x1da)],_0x958182(0x122),()=>{const _0x39a9e6=_0x958182;this[_0x39a9e6(0x199)]=!0x1;});const _0x13823c=this[_0x958182(0x137)][_0x958182(0x1b3)](_0x3215b0);this[_0x958182(0x136)]=!0x0;const _0x21897d=await this[_0x958182(0x1da)][_0x958182(0x150)](_0x1c8acc,this[_0x958182(0x1dc)](_0x3215b0),_0x13823c);if(this[_0x958182(0x182)]=_0x21897d[_0x958182(0x182)],_0x4c171f){if(!_0x21897d[_0x958182(0x1e8)])return void this[_0x958182(0x13e)]();this[_0x958182(0x136)]=!0x1,this[_0x958182(0xf8)](),this[_0x958182(0x1be)][_0x958182(0x16f)](),this[_0x958182(0x133)]=_0x21897d[_0x958182(0x128)],this[_0x958182(0x1be)][_0x958182(0x1ba)]=this[_0x958182(0x133)],await this[_0x958182(0x125)](_0x3215b0,_0x21897d,_0x958182(0x1c1));}else await this[_0x958182(0xf9)](_0x21897d,_0x3215b0);this[_0x958182(0xee)](),this[_0x958182(0x199)]=!0x0;}[_0x498157(0xee)](){const _0x178cb1=_0x498157,_0x563b64=this[_0x178cb1(0x1e5)][_0x178cb1(0x1d6)][_0x178cb1(0x192)](_0x330f0),_0x5efb78=this[_0x178cb1(0x1e5)][_0x178cb1(0x1d6)][_0x178cb1(0x192)](_0x196185),_0x1e3aff=_0x563b64[_0x178cb1(0x134)][_0x178cb1(0x192)](this[_0x178cb1(0x1ac)]);_0x1e3aff&&_0x1e3aff[_0x178cb1(0x1d5)]>0x1?_0x5efb78[_0x178cb1(0x10a)]():this[_0x178cb1(0x159)](_0x563b64,_0x178cb1(0x1a8)+this[_0x178cb1(0x1ac)],()=>{const _0x2f26f0=_0x178cb1;0x2===_0x563b64[_0x2f26f0(0x134)][_0x2f26f0(0x192)](this[_0x2f26f0(0x1ac)])[_0x2f26f0(0x1d5)]&&_0x5efb78[_0x2f26f0(0x10a)]();});}async[_0x498157(0x19e)](_0x28faba,_0x4612b9,_0x2b3b9b,_0xe20284){const _0x48cdae=_0x498157;if(!this[_0x48cdae(0x136)]&&this[_0x48cdae(0x115)][_0x48cdae(0x1ba)]==_0x4612b9){const _0x5713ea=this[_0x48cdae(0x1ab)](_0x2b3b9b,_0xe20284);await this[_0x48cdae(0x14a)](_0x5713ea),this[_0x48cdae(0x123)](_0x5713ea,_0x4612b9,_0x2b3b9b[_0x48cdae(0x194)])||this[_0x48cdae(0x1b9)](_0x48cdae(0x13a));}}async[_0x498157(0x19b)](){const _0x4c98ba=_0x498157;this[_0x4c98ba(0x1e6)]();const {locale:_0x3ac071}=this[_0x4c98ba(0x1e5)];let _0x189d1b;try{_0x189d1b=await this[_0x4c98ba(0x1da)][_0x4c98ba(0x120)]();}catch{const _0x4c8018=_0x2f7dcf(_0x3ac071,_0x4c98ba(0x161));return void this[_0x4c98ba(0x13e)](_0x4c8018);}const _0x4e2eb0=_0x189d1b[_0x4c98ba(0x186)]||_0x189d1b[_0x4c98ba(0x18c)];if(this[_0x4c98ba(0x143)]!==_0x4e2eb0[_0x4c98ba(0x194)]){const _0x4f0443=_0x2f7dcf(_0x3ac071,_0x4c98ba(0x117));return void this[_0x4c98ba(0x13e)](_0x4f0443);}await this[_0x4c98ba(0x198)](this[_0x4c98ba(0x1e5)][_0x4c98ba(0x12b)][_0x4c98ba(0x1b8)][_0x4c98ba(0x116)][_0x4c98ba(0x119)](),!0x0);}[_0x498157(0x1e6)](){const _0x31f96d=_0x498157;this[_0x31f96d(0x1da)][_0x31f96d(0x15e)](),this[_0x31f96d(0x184)]=[],clearTimeout(this[_0x31f96d(0x1a3)]),this[_0x31f96d(0x103)](this[_0x31f96d(0x1da)]);}[_0x498157(0x11a)](_0x182c3c){const _0x41f49c=_0x498157,_0x5739c1=this[_0x41f49c(0x1e5)][_0x41f49c(0x1d6)][_0x41f49c(0x192)](_0x330f0);this[_0x41f49c(0x159)](_0x5739c1,_0x41f49c(0x1a8)+this[_0x41f49c(0x1ac)],(_0x401c4f,{session:_0x3f8e7b})=>{const _0x1e9614=_0x41f49c;if(_0x3f8e7b['id']===_0x5739c1[_0x1e9614(0x1af)]){_0x401c4f[_0x1e9614(0x196)]();const _0x1f7adc=this[_0x1e9614(0x1e5)][_0x1e9614(0x1d6)][_0x1e9614(0x14f)](_0x1e9614(0x1e3))&&this[_0x1e9614(0x1e5)][_0x1e9614(0x1d6)][_0x1e9614(0x192)](_0x1e9614(0x1e3));let _0x5ae46d=_0x3f8e7b[_0x1e9614(0xf4)];_0x1f7adc&&_0x1f7adc[_0x1e9614(0x19a)]&&(_0x5ae46d=_0x5ae46d[_0x1e9614(0x1e9)](_0x520c68=>_0x1e9614(0x17e)!==_0x520c68)),this[_0x1e9614(0x1e5)][_0x1e9614(0x1d6)][_0x1e9614(0x192)](_0x1e9614(0x1a9))[_0x1e9614(0x175)](_0x5ae46d,this[_0x1e9614(0x1ac)]);}}),_0x5739c1[_0x41f49c(0x10c)](this[_0x41f49c(0x1ac)],_0x182c3c);}[_0x498157(0x16e)](){const _0x73f2d2=_0x498157,_0x26e42f=this[_0x73f2d2(0x1e5)][_0x73f2d2(0x1bd)][_0x73f2d2(0xed)];this[_0x73f2d2(0x1e5)][_0x73f2d2(0x1bd)][_0x73f2d2(0xed)]=(..._0x52898d)=>{const _0x2b2d31=_0x73f2d2;if(!_0x52898d[_0x52898d[_0x2b2d31(0x1d5)]-0x1][_0x2b2d31(0x1db)])throw new _0x39c79a(_0x2b2d31(0xfd),this);_0x26e42f[_0x2b2d31(0x1e4)](this[_0x2b2d31(0x1e5)][_0x2b2d31(0x1bd)],_0x52898d);};}[_0x498157(0x185)](){const _0x1f433b=_0x498157;this[_0x1f433b(0x1e5)][_0x1f433b(0x1bd)]['on'](_0x1f433b(0x1c5),(_0x132a9d,[_0x194274])=>{const _0x441fb8=_0x1f433b;if(this[_0x441fb8(0x115)][_0x441fb8(0x1ba)])throw new _0x39c79a(_0x441fb8(0x164),this);_0x132a9d[_0x441fb8(0x10b)](),this[_0x441fb8(0x19f)]();const _0xa47481=this[_0x441fb8(0x1e5)][_0x441fb8(0x1a1)][_0x441fb8(0x192)](_0x441fb8(0xfb)),_0x2d11fc=this[_0x441fb8(0x1b1)](_0x194274,_0xa47481);0x0==_0x2d11fc[_0x441fb8(0x1d5)]&&_0x2d11fc[_0x441fb8(0x171)](new _0x1af503(0x0)),_0x132a9d[_0x441fb8(0x1a0)]=this[_0x441fb8(0x198)](_0x2d11fc)[_0x441fb8(0x1d1)](()=>{const _0x2eb262=_0x441fb8;this[_0x2eb262(0x1e5)][_0x2eb262(0x1d6)][_0x2eb262(0x192)](_0xcf23fb)[_0x2eb262(0x17a)](this),this[_0x2eb262(0x1e5)][_0x2eb262(0x1bd)][_0x2eb262(0x10d)](_0x2eb262(0x197));})[_0x441fb8(0x130)](_0x56af20=>this[_0x441fb8(0x1b9)](_0x441fb8(0x106),_0x56af20))[_0x441fb8(0x10e)](()=>this[_0x441fb8(0xf8)]());},{'priority':_0x1f433b(0x142)}),this[_0x1f433b(0x1e5)]['on'](_0x1f433b(0x146),async(_0x2b6fba,[_0x4c0083,_0x2264be])=>{const _0x3ff145=_0x1f433b;_0x2b6fba[_0x3ff145(0x10b)]();const _0xfbdd1b=this[_0x3ff145(0x1e5)][_0x3ff145(0x12b)][_0x3ff145(0x1b8)][_0x3ff145(0x135)](_0x4c0083);if(!this[_0x3ff145(0x12d)][_0x3ff145(0x14f)](_0x4c0083)){const _0x48eaea=_0x2264be&&_0x2264be[_0x3ff145(0x1bd)]?_0x2264be[_0x3ff145(0x1bd)]:'',_0x36e84b=_0x2264be&&_0x2264be[_0x3ff145(0x15b)]?_0x2264be[_0x3ff145(0x15b)]:{};await this[_0x3ff145(0x195)](_0x4c0083,_0x48eaea,_0x36e84b);}this[_0x3ff145(0x1e5)][_0x3ff145(0x12b)][_0x3ff145(0x162)]({'isUndoable':!0x1},()=>{const _0x3364a8=_0x3ff145;_0xfbdd1b[_0x3364a8(0x188)]=!0x0,this[_0x3364a8(0x1e5)][_0x3364a8(0x12b)][_0x3364a8(0x1b8)][_0x3364a8(0x168)][_0x3364a8(0x102)](_0xfbdd1b);});},{'priority':_0x1f433b(0x142)});}async[_0x498157(0x14a)](_0x4394e9){const _0x2ccc3b=_0x498157,_0x19d7e3=this[_0x2ccc3b(0x1e5)][_0x2ccc3b(0x1d6)][_0x2ccc3b(0x192)](_0x41497f),{connection:_0x40b320}=this[_0x2ccc3b(0x1e5)][_0x2ccc3b(0x1d6)][_0x2ccc3b(0x192)](_0xcf23fb),_0x34dccc=new Set();for(const _0x4499d4 of _0x4394e9){const _0x66cf0c=_0x4499d4[_0x2ccc3b(0x163)];_0x66cf0c&&!_0x19d7e3[_0x2ccc3b(0x1df)](_0x66cf0c)&&_0x34dccc[_0x2ccc3b(0x13c)](_0x66cf0c);}if(0x0===_0x34dccc[_0x2ccc3b(0xf0)])return;const _0x2ad380=await _0x375501[_0x2ccc3b(0x1d3)](_0x40b320,Array[_0x2ccc3b(0x12c)](_0x34dccc));for(const _0x355e82 of _0x2ad380)_0x19d7e3[_0x2ccc3b(0x1df)](_0x355e82['id'])||_0x19d7e3[_0x2ccc3b(0x173)](_0x355e82);}[_0x498157(0x1b1)](_0x3fc40a,_0x56863a={}){const _0x112417=_0x498157,_0x1edbde=this[_0x112417(0x1e5)][_0x112417(0x12b)],_0x340be1=[];let _0x5ca0d9=0x0;const _0x6c8059=_0x112417(0xf3)==typeof _0x3fc40a?{'main':_0x3fc40a}:_0x3fc40a;for(const _0x4b22e6 of Object[_0x112417(0x11d)](_0x6c8059)){if(!this[_0x112417(0x115)][_0x112417(0x1ea)][_0x112417(0x14f)](_0x4b22e6))throw new _0x39c79a(_0x112417(0x11b),this);const _0x1dd654=this[_0x112417(0x1e5)][_0x112417(0x1bd)][_0x112417(0x1de)](_0x6c8059[_0x4b22e6]),_0x4897a0=this[_0x112417(0x115)][_0x112417(0x135)](_0x4b22e6),_0x394760=new _0x1b74a8(_0x1edbde[_0x112417(0x149)](_0x4897a0,0x0),_0x1dd654,_0x5ca0d9++);_0x340be1[_0x112417(0x171)](_0x394760);for(const [_0xaca168,_0x11d909]of _0x1dd654[_0x112417(0x1bf)]){const _0x3f122f=_0x1edbde[_0x112417(0x118)](_0x1edbde[_0x112417(0x1d4)](_0x4897a0,_0x11d909[_0x112417(0x167)][_0x112417(0x1ca)][_0x112417(0x152)]()),_0x1edbde[_0x112417(0x1d4)](_0x4897a0,_0x11d909[_0x112417(0x1ce)][_0x112417(0x1ca)][_0x112417(0x152)]())),_0x5112f6=new _0xa6f18(_0xaca168,null,_0x3f122f,_0x1edbde[_0x112417(0x1bf)],!0x0,_0x5ca0d9++);_0x340be1[_0x112417(0x171)](_0x5112f6);}}if(_0x56863a)for(const [_0x1d2260,_0x2f88a7]of Object[_0x112417(0x1a4)](_0x56863a)){const _0xfd8ab8=_0x1edbde[_0x112417(0x1b8)][_0x112417(0x135)](_0x1d2260);if(!_0xfd8ab8)throw new _0x39c79a(_0x112417(0x1ae),null);for(const [_0x139a66,_0x5a0ef6]of Object[_0x112417(0x1a4)](_0x2f88a7))if(null!==_0x5a0ef6){const _0x10106c=new _0x223668(_0xfd8ab8,_0x139a66,null,_0x5a0ef6,_0x5ca0d9++);_0x340be1[_0x112417(0x171)](_0x10106c);}}return _0x340be1;}async[_0x498157(0x195)](_0x2e5b70,_0x1ce7c4,_0x309c4b){const _0x4b130c=_0x498157;this[_0x4b130c(0x1b1)]({[_0x2e5b70]:_0x1ce7c4},{[_0x2e5b70]:_0x309c4b})[_0x4b130c(0xf1)]((_0xeff6e0,_0x21899a)=>{const _0x1a5e1f=_0x4b130c;_0xeff6e0[_0x1a5e1f(0x14b)]=this[_0x1a5e1f(0x115)][_0x1a5e1f(0x1ba)]+_0x21899a,_0xeff6e0[_0x1a5e1f(0x1eb)]=!0x0,this[_0x1a5e1f(0xeb)](_0xeff6e0);}),this[_0x4b130c(0x101)](),await this[_0x4b130c(0x132)]();}async[_0x498157(0xf9)](_0x530e3b,_0x4f7051){const _0xf5d81a=_0x498157;let _0x4e7983;this[_0xf5d81a(0x133)]=_0x530e3b[_0xf5d81a(0x128)];const _0x56c9af=_0x530e3b[_0xf5d81a(0x1e8)]&&!_0x530e3b[_0xf5d81a(0x13b)],_0x2f1ecb=_0x56c9af?0x0:_0x530e3b[_0xf5d81a(0x1bd)][_0xf5d81a(0x14b)];if(_0x4f7051[_0xf5d81a(0xf1)](_0x4103c5=>{const _0x452fb2=_0xf5d81a;_0x4103c5[_0x452fb2(0x1eb)]=!0x0,_0x4103c5[_0x452fb2(0x11f)]=_0x530e3b[_0x452fb2(0x157)],_0x4103c5[_0x452fb2(0x163)]=null;}),_0x56c9af)_0x4e7983=_0x4f7051,this[_0xf5d81a(0x100)](_0x4e7983,_0x56c9af);else{if(_0x530e3b[_0xf5d81a(0x13b)]){const _0x34d232=this[_0xf5d81a(0x1b1)](_0x530e3b[_0xf5d81a(0x13b)]);this[_0xf5d81a(0x115)][_0xf5d81a(0x116)][_0xf5d81a(0x1ba)]=-_0x34d232[_0xf5d81a(0x1d5)],_0x34d232[_0xf5d81a(0xf1)](_0x4f7ec6=>{const _0x3e6445=_0xf5d81a;_0x4f7ec6[_0x3e6445(0x14b)]-=_0x34d232[_0x3e6445(0x1d5)],_0x4f7ec6[_0x3e6445(0x11f)]=_0x530e3b[_0x3e6445(0x157)],_0x4f7ec6[_0x3e6445(0x1eb)]=!0x0,_0x4f7ec6[_0x3e6445(0x163)]=null;}),this[_0xf5d81a(0x100)](_0x34d232,!0x0),this[_0xf5d81a(0x1be)][_0xf5d81a(0x1ba)]=-_0x34d232[_0xf5d81a(0x1d5)]+this[_0xf5d81a(0x133)],this[_0xf5d81a(0x1b2)](_0x34d232);}this[_0xf5d81a(0x115)][_0xf5d81a(0x116)][_0xf5d81a(0x1ba)]=_0x2f1ecb,_0x4e7983=this[_0xf5d81a(0x1ab)](_0x530e3b[_0xf5d81a(0x1bd)],_0x530e3b[_0xf5d81a(0x1a6)]),await this[_0xf5d81a(0x14a)](_0x4e7983),this[_0xf5d81a(0x100)](_0x4e7983,_0x56c9af);}_0x530e3b[_0xf5d81a(0x194)]&&(this[_0xf5d81a(0x137)][_0xf5d81a(0x1c7)](_0x4e7983,_0x530e3b[_0xf5d81a(0x194)]),this[_0xf5d81a(0x143)]=_0x530e3b[_0xf5d81a(0x194)]),this[_0xf5d81a(0x1be)][_0xf5d81a(0x1ba)]=_0x2f1ecb+this[_0xf5d81a(0x133)],this[_0xf5d81a(0x1b2)](_0x4e7983),_0x4f7051[_0xf5d81a(0x1e9)](_0x598efb=>{const _0x2e1485=_0xf5d81a,_0x12282d=this[_0x2e1485(0x19c)](_0x598efb);return _0x12282d&&!this[_0x2e1485(0x12d)][_0x2e1485(0x14f)](_0x12282d);})[_0xf5d81a(0xf1)]((_0x309d7f,_0x20ce32)=>{const _0x878bc0=_0xf5d81a;_0x309d7f[_0x878bc0(0x14b)]=this[_0x878bc0(0x115)][_0x878bc0(0x1ba)]+_0x20ce32,this[_0x878bc0(0xeb)](_0x309d7f);}),this[_0xf5d81a(0x1e1)]()?(this[_0xf5d81a(0xfc)]=0x0,this[_0xf5d81a(0x101)](!0x0),await this[_0xf5d81a(0x132)]()):(this[_0xf5d81a(0x136)]=!0x1,this[_0xf5d81a(0xf8)]());}[_0x498157(0x1b9)](_0x38b12e,_0x1f5745){const _0x3df008=_0x498157,_0x5efcfb=_0x1f5745&&_0x1f5745[_0x3df008(0x153)];if(_0x5efcfb&&_0x5efcfb[_0x3df008(0x181)](_0x3df008(0x144)))throw _0x1f5745;const _0x5ab7d4=this[_0x3df008(0x1e5)][_0x3df008(0x1d6)][_0x3df008(0x192)](_0xcf23fb);throw this[_0x3df008(0x136)]=!0x0,_0x5ab7d4[_0x3df008(0x15e)](),this[_0x3df008(0x1e5)][_0x3df008(0x10f)](_0x3df008(0x1a7)),new _0x39c79a(_0x38b12e,this[_0x3df008(0x1e5)],_0x5efcfb?{'originalError':_0x5efcfb}:void 0x0);}[_0x498157(0xeb)](_0x476ecc){const _0x15ed99=_0x498157;this[_0x15ed99(0x17c)][_0x15ed99(0x14f)](_0x476ecc)||(this[_0x15ed99(0x17c)][_0x15ed99(0x13c)](_0x476ecc),this[_0x15ed99(0x184)][_0x15ed99(0x171)](_0x476ecc),this[_0x15ed99(0x12a)]||_0x15ed99(0x158)==_0x476ecc[_0x15ed99(0x147)]&&!_0x476ecc[_0x15ed99(0x1c3)]||this[_0x15ed99(0x19f)]());}[_0x498157(0x101)](_0xd35d3b=!0x1){const _0x26496c=_0x498157;!_0xd35d3b&&this[_0x26496c(0x136)]||(this[_0x26496c(0x136)]=!0x0,clearTimeout(this[_0x26496c(0x1a3)]),this[_0x26496c(0x1a3)]=setTimeout(()=>{const _0xfdbd34=_0x26496c;this[_0xfdbd34(0x18a)]()[_0xfdbd34(0x1d1)](_0x281a86=>{const _0x55f510=_0xfdbd34;_0x281a86&&(this[_0x55f510(0xf8)](),this[_0x55f510(0x136)]=!0x1);})[_0xfdbd34(0x130)](_0x3d981e=>{const _0x3c8b02=_0xfdbd34;this[_0x3c8b02(0xf8)](),this[_0x3c8b02(0x136)]=!0x1,function(_0x3fd61b){const _0x2181a2=_0x3c8b02;return _0x3fd61b[_0x2181a2(0x153)][_0x2181a2(0x181)](_0x2181a2(0x166))||_0x3fd61b[_0x2181a2(0x153)][_0x2181a2(0x181)](_0x2181a2(0x109))||_0x3fd61b[_0x2181a2(0x153)][_0x2181a2(0x181)](_0x2181a2(0xe9));}(_0x3d981e)||this[_0x3c8b02(0x1b9)](_0x3d981e[_0x3c8b02(0x153)],_0x3d981e);});},this[_0x26496c(0xfc)]));}[_0x498157(0x132)](){return new Promise(_0x58d7cd=>{const _0x14ee88=_0x2b91;this['on'](_0x14ee88(0x1e7),()=>{_0x58d7cd();});});}async[_0x498157(0x18a)](){const _0x277768=_0x498157,_0x74cf88=this[_0x277768(0x1e5)][_0x277768(0x1d6)][_0x277768(0x192)](_0x196185);if(this[_0x277768(0x1cf)]()&&(_0x74cf88[_0x277768(0x10a)](),this[_0x277768(0xfa)]=!0x1),!this[_0x277768(0x1e1)]())return!0x0;const _0x24de3a=[...this[_0x277768(0x184)]];for(const _0x18b913 of _0x24de3a)_0x18b913[_0x277768(0x16a)]=this[_0x277768(0x115)][_0x277768(0x116)][_0x277768(0x129)](_0x18b913);const _0x2c7031=this[_0x277768(0x137)][_0x277768(0x1b3)](_0x24de3a),_0x1926c2=X++,_0x5ad5bf=this[_0x277768(0x1dc)](_0x24de3a),_0x2ddc2c=await this[_0x277768(0x1da)][_0x277768(0x170)](_0x5ad5bf,_0x5ad5bf[_0x277768(0x14b)],_0x2c7031);try{return await this[_0x277768(0x125)](_0x24de3a,_0x2ddc2c,_0x1926c2);}catch(_0xd8915b){return this[_0x277768(0x1b9)](_0x277768(0x1e2),_0xd8915b);}}async[_0x498157(0x125)](_0x44b398,_0x5ce4a4,_0x3bad02){const _0xd9595a=_0x498157;if(_0xd9595a(0x1b7)in _0x5ce4a4)throw _0x5ce4a4[_0xd9595a(0x1b7)];let _0x45c132=!0x1;if(_0x5ce4a4[_0xd9595a(0x1e8)]){_0x5ce4a4[_0xd9595a(0x194)]&&(this[_0xd9595a(0x143)]=_0x5ce4a4[_0xd9595a(0x194)]),this[_0xd9595a(0x184)]=this[_0xd9595a(0x184)][_0xd9595a(0x1e9)](_0x53b312=>!_0x44b398[_0xd9595a(0x15a)](_0x53b312));for(const _0x4823ee of _0x44b398)_0x4823ee[_0xd9595a(0x11f)]=_0xd9595a(0x16c)in _0x5ce4a4&&_0x5ce4a4[_0xd9595a(0x16c)]||void 0x0;Z(_0x44b398,_0x5ce4a4[_0xd9595a(0x1ba)]-_0x44b398[_0xd9595a(0x1d5)]),this[_0xd9595a(0x1b2)](_0x44b398);const _0x2ce7a7=_0x44b398[_0xd9595a(0x1e9)](_0x3ac12b=>{const _0x83ae9=_0xd9595a;if(!_0x3ac12b[_0x83ae9(0x1eb)])return!0x1;const _0x1e55b6=this[_0x83ae9(0x19c)](_0x3ac12b);return _0x1e55b6&&!this[_0x83ae9(0x12d)][_0x83ae9(0x14f)](_0x1e55b6);});Z(_0x2ce7a7,this[_0xd9595a(0x115)][_0xd9595a(0x1ba)]),this[_0xd9595a(0x100)](_0x2ce7a7),_0x45c132=!0x0,this[_0xd9595a(0xfc)]=this[_0xd9595a(0x17b)];}else{const _0x21f996=this[_0xd9595a(0x1ab)](_0x5ce4a4[_0xd9595a(0x1bd)],_0x5ce4a4[_0xd9595a(0x1a6)])[_0xd9595a(0x1e9)](_0x554bc9=>_0x554bc9[_0xd9595a(0x14b)]>=this[_0xd9595a(0x1cd)]);_0x21f996[_0xd9595a(0xf1)](_0x5647cd=>this[_0xd9595a(0x1b6)](_0x5647cd)),this[_0xd9595a(0x184)]=this[_0xd9595a(0x184)][_0xd9595a(0x1e9)](_0x4497e4=>!_0x4497e4[_0xd9595a(0x1eb)]||!this[_0xd9595a(0x12d)][_0xd9595a(0x14f)](this[_0xd9595a(0x19c)](_0x4497e4))),this[_0xd9595a(0x184)][_0xd9595a(0x1d5)]&&Z(this[_0xd9595a(0x184)],this[_0xd9595a(0x184)][0x0][_0xd9595a(0x14b)]),await this[_0xd9595a(0x14a)](_0x21f996),_0x45c132=this[_0xd9595a(0x123)](_0x21f996,_0x5ce4a4[_0xd9595a(0x1ba)],_0x5ce4a4[_0xd9595a(0x194)]),this[_0xd9595a(0xfc)]=Math[_0xd9595a(0x1a5)](this[_0xd9595a(0xfc)]/0x2);}return _0x45c132?!this[_0xd9595a(0x1e1)]()||(this[_0xd9595a(0x101)](!0x0),!0x1):this[_0xd9595a(0x1b9)](_0xd9595a(0x1ed));}[_0x498157(0x123)](_0x2ff30d,_0x3f5d3f,_0x35aa38){const _0x516693=_0x498157;try{const _0x5cc8c7={'document':this[_0x516693(0x115)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4a219a,operationsB:_0x5d6d2f,originalOperations:_0x178025}=_0x3c2f1e(_0x2ff30d,this[_0x516693(0x184)],_0x5cc8c7);Z(_0x4a219a,this[_0x516693(0x115)][_0x516693(0x1ba)]),Z(_0x5d6d2f,_0x3f5d3f);for(const _0x116f53 of _0x4a219a){const _0x21deed=_0x178025[_0x516693(0x192)](_0x116f53);_0x116f53[_0x516693(0x163)]=_0x21deed?_0x21deed[_0x516693(0x163)]:null;}_0x35aa38&&(this[_0x516693(0x137)][_0x516693(0x1c7)](_0x2ff30d,_0x35aa38),this[_0x516693(0x143)]=_0x35aa38),this[_0x516693(0x184)]=[..._0x5d6d2f],this[_0x516693(0x100)](_0x4a219a),this[_0x516693(0x1b2)](_0x2ff30d);}catch(_0x4df01b){return console[_0x516693(0x1b7)](_0x4df01b),!0x1;}return!0x0;}[_0x498157(0x100)](_0x1b1d1e,_0x408e94=!0x1){const _0x2d74fa=_0x498157;this[_0x2d74fa(0x1e5)][_0x2d74fa(0x12b)][_0x2d74fa(0x162)]({'isUndoable':!0x1,'isLocal':!0x1},_0xfc297c=>{const _0xb7b5a9=_0x2d74fa;for(const _0x57ad67 of _0x1b1d1e)this[_0xb7b5a9(0x17c)][_0xb7b5a9(0x13c)](_0x57ad67),this[_0xb7b5a9(0x1b6)](_0x57ad67),_0xfc297c[_0xb7b5a9(0x18f)][_0xb7b5a9(0x105)](_0x57ad67),this[_0xb7b5a9(0x1e5)][_0xb7b5a9(0x12b)][_0xb7b5a9(0x160)](_0x57ad67);});}[_0x498157(0x1b6)](_0x49dcd7){const _0x28bbe7=_0x498157,_0x4c49d2=this[_0x28bbe7(0x19c)](_0x49dcd7);_0x4c49d2&&this[_0x28bbe7(0x12d)][_0x28bbe7(0x13c)](_0x4c49d2);}[_0x498157(0x19c)](_0x420478){const _0x5477b8=_0x498157;let _0x26226f,_0x5626c8;switch(_0x420478[_0x5477b8(0x147)]){case _0x5477b8(0x1aa):_0x26226f=_0x420478[_0x5477b8(0xef)][_0x5477b8(0x1d2)];break;case _0x5477b8(0x158):if(_0x5626c8=_0x420478[_0x5477b8(0xec)],!_0x5626c8)return null;_0x26226f=_0x5626c8[_0x5477b8(0x1d2)];break;case _0x5477b8(0x193):_0x26226f=_0x420478[_0x5477b8(0x1d2)];break;case _0x5477b8(0x15f):_0x26226f=_0x420478[_0x5477b8(0x151)];break;case _0x5477b8(0x1a2):_0x26226f=_0x420478[_0x5477b8(0xfe)][_0x5477b8(0x1d2)];break;default:return null;}return _0x26226f[_0x5477b8(0x187)];}[_0x498157(0x1b2)](_0x3aaf03){const _0x24262f=_0x498157;_0x3aaf03[_0x24262f(0xf1)](_0x2214f2=>{const _0x56620c=_0x24262f,_0x403ab2=_0x2214f2[_0x56620c(0x104)]();_0x403ab2[_0x56620c(0x163)]=_0x2214f2[_0x56620c(0x163)],_0x403ab2[_0x56620c(0x1eb)]=!!_0x2214f2[_0x56620c(0x1eb)],_0x403ab2[_0x56620c(0x11f)]=_0x2214f2[_0x56620c(0x11f)],_0x403ab2[_0x56620c(0x14b)]+=this[_0x56620c(0x133)],_0x2214f2[_0x56620c(0x17d)]&&this[_0x56620c(0x138)][_0x56620c(0x13c)](_0x403ab2),this[_0x56620c(0x1be)][_0x56620c(0x105)](_0x403ab2);});}[_0x498157(0x13e)](_0x224f34){const _0x1dd658=_0x498157,_0x34926b=this[_0x1dd658(0x1e5)][_0x1dd658(0x1d6)][_0x1dd658(0x192)](_0x1dd658(0x14c)),_0x1ab0ec=this[_0x1dd658(0x1e5)][_0x1dd658(0x1cc)];_0x224f34||(_0x224f34=_0x2f7dcf(_0x1ab0ec,_0x1dd658(0x145))),_0x34926b[_0x1dd658(0x140)](_0x224f34,{'title':_0x2f7dcf(_0x1ab0ec,_0x1dd658(0x131)),'namespace':_0x1dd658(0x1bc)}),this[_0x1dd658(0x177)]=!0x0,clearTimeout(this[_0x1dd658(0x1a3)]),this[_0x1dd658(0x184)]=[],this[_0x1dd658(0x1e5)][_0x1dd658(0x1d6)][_0x1dd658(0x192)](_0xcf23fb)[_0x1dd658(0x15e)]();}[_0x498157(0x19f)](){const _0x5622d8=_0x498157;this[_0x5622d8(0x12a)]||(this[_0x5622d8(0x12a)]=this[_0x5622d8(0x1e5)][_0x5622d8(0x1d6)][_0x5622d8(0x192)](_0x5fee62)[_0x5622d8(0x13c)](_0x2f7dcf(this[_0x5622d8(0x1e5)][_0x5622d8(0x1cc)],_0x5622d8(0x15c))));}[_0x498157(0xf8)](){const _0x24fc48=_0x498157;this[_0x24fc48(0x12a)]&&(this[_0x24fc48(0x1e5)][_0x24fc48(0x1d6)][_0x24fc48(0x192)](_0x5fee62)[_0x24fc48(0x126)](this[_0x24fc48(0x12a)]),this[_0x24fc48(0x12a)]=null);}[_0x498157(0x1dc)](_0x76b62b){const _0x4e1ed1=_0x498157,_0x18000a=_0x76b62b[_0x4e1ed1(0x139)](_0x45d6bd=>_0x45d6bd[_0x4e1ed1(0x1b4)]());return this[_0x4e1ed1(0x111)][_0x4e1ed1(0x1d8)](_0x18000a);}[_0x498157(0x1ab)](_0x469870,_0x3444a7){const _0x55be76=_0x498157;return this[_0x55be76(0x111)][_0x55be76(0x179)](_0x469870)[_0x55be76(0x139)]((_0xde0700,_0x34b444)=>{const _0x4b994c=_0x55be76,_0x452665=_0x4b994c(0x1c5)==_0x3444a7[_0x34b444][_0x4b994c(0x147)];if(_0x4b994c(0x11e)==_0xde0700[_0x4b994c(0x154)]){const _0x28e801=_0xde0700[_0x4b994c(0xef)][_0x4b994c(0x1d2)];!this[_0x4b994c(0x115)][_0x4b994c(0x135)](_0x28e801)&&(this[_0x4b994c(0x115)][_0x4b994c(0x13f)](_0x4b994c(0x12e),_0x28e801)[_0x4b994c(0x112)]=!0x1);}const _0x566ead=_0x464193[_0x4b994c(0x1dd)](_0xde0700,this[_0x4b994c(0x115)]);return _0x566ead[_0x4b994c(0x16a)]=_0xde0700[_0x4b994c(0x16a)],_0x566ead[_0x4b994c(0x1eb)]=_0x452665,_0x566ead[_0x4b994c(0x163)]=_0x452665?null:_0x3444a7[_0x34b444][_0x4b994c(0x1b0)],_0x566ead[_0x4b994c(0x17d)]=_0x4b994c(0x1c6)===_0x3444a7[_0x34b444][_0x4b994c(0x147)],_0x566ead[_0x4b994c(0x11f)]=_0x3444a7[_0x34b444][_0x4b994c(0x11f)],_0x566ead;});}[_0x498157(0x180)](){const _0x1f800c=_0x498157;this[_0x1f800c(0xfa)]=!0x0,this[_0x1f800c(0x1cf)]()?this[_0x1f800c(0x101)]():this[_0x1f800c(0xfa)]=!0x1;}[_0x498157(0x1cf)](){const _0x42066d=_0x498157,_0x41772b=this[_0x42066d(0x1e5)][_0x42066d(0x1d6)][_0x42066d(0x192)](_0x330f0)[_0x42066d(0x134)][_0x42066d(0x192)](this[_0x42066d(0x1ac)]);return!this[_0x42066d(0x1e5)][_0x42066d(0xf5)]&&!!_0x41772b&&_0x41772b[_0x42066d(0x1d5)]>0x1&&this[_0x42066d(0xfa)];}[_0x498157(0x1e1)](){const _0x40eec2=_0x498157;return this[_0x40eec2(0x184)][_0x40eec2(0x1d5)]>0x0||this[_0x40eec2(0x1cf)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x57a8b9,_0x5611ff){const _0x507875=_0x498157;for(const _0x4f0fe9 of _0x57a8b9)_0x4f0fe9[_0x507875(0x14b)]=_0x5611ff++;}class tt{[_0x498157(0x1c0)];[_0x498157(0x1b5)];constructor(_0x1573d6){const _0x19ac95=_0x498157;this[_0x19ac95(0x1c0)]=_0x1573d6,this[_0x19ac95(0x1b5)]=new WeakMap();}[_0x498157(0x1b3)](_0x245afb){const _0x209221=_0x498157;let _0x30ccd4=_0x245afb[_0x209221(0x1d5)];for(;_0x30ccd4--;){const _0x1cd00a=_0x245afb[_0x30ccd4];if(!this[_0x209221(0x1c0)][_0x209221(0x14f)](_0x1cd00a)){if(!this[_0x209221(0x1b5)][_0x209221(0x14f)](_0x1cd00a)){const _0xe7ad7=_0x56fa90()[_0x209221(0x152)](0x1,0x12);this[_0x209221(0x1b5)][_0x209221(0xed)](_0x1cd00a,_0xe7ad7);}return this[_0x209221(0x1b5)][_0x209221(0x192)](_0x1cd00a);}}}[_0x498157(0x1c7)](_0x6ef61a,_0x3cfbda){const _0x47c2bb=_0x498157;if(!_0x3cfbda)return;let _0x3e2f56=_0x6ef61a[_0x47c2bb(0x1d5)];for(;_0x3e2f56--;){const _0x5e5a0c=_0x6ef61a[_0x3e2f56];this[_0x47c2bb(0x1c0)][_0x47c2bb(0x14f)](_0x5e5a0c)||this[_0x47c2bb(0x1b5)][_0x47c2bb(0xed)](_0x5e5a0c,_0x3cfbda);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3e4d(_0x2d55de,_0x56eb5c){const _0x15c668=_0x15c6();return _0x3e4d=function(_0x3e4dbb,_0x50b437){_0x3e4dbb=_0x3e4dbb-0x1ac;let _0x482cc3=_0x15c668[_0x3e4dbb];return _0x482cc3;},_0x3e4d(_0x2d55de,_0x56eb5c);}const _0x53158c=_0x3e4d;(function(_0x4167f4,_0x273f0d){const _0x220f89=_0x3e4d,_0x298f95=_0x4167f4();while(!![]){try{const _0x4fcaeb=parseInt(_0x220f89(0x1c5))/0x1+parseInt(_0x220f89(0x1b6))/0x2*(parseInt(_0x220f89(0x1ca))/0x3)+parseInt(_0x220f89(0x1bc))/0x4+parseInt(_0x220f89(0x1e2))/0x5*(-parseInt(_0x220f89(0x1d9))/0x6)+parseInt(_0x220f89(0x1eb))/0x7*(-parseInt(_0x220f89(0x1c9))/0x8)+-parseInt(_0x220f89(0x1ae))/0x9*(parseInt(_0x220f89(0x1b3))/0xa)+parseInt(_0x220f89(0x1db))/0xb*(parseInt(_0x220f89(0x1cd))/0xc);if(_0x4fcaeb===_0x273f0d)break;else _0x298f95['push'](_0x298f95['shift']());}catch(_0x117e47){_0x298f95['push'](_0x298f95['shift']());}}}(_0x15c6,0x1916c));import{ContextPlugin as _0x2537db}from'ckeditor5/src/core.js';import{Collection as _0x2183aa,CKEditorError as _0x481306}from'ckeditor5/src/utils.js';function _0x15c6(){const _0x14b185=['channelSessions','unregister','add','757864UMMPUB','3849aTjjEN','allConnectedUsers','remove','290148UKffVC','getUserBySessionId','sessions-register-already-registered','getUserRole','defineMe','getUser','user','addUser','mySessionId','pluginName','delete','clear','33960wNTfzz','has','77ALmKMm','orderNumber','sessionAdd:','plugins','role','set','size','120MtvKTc','channelConnectedUsers','context','connected','_registeredSessions','get','isOfficialPlugin','connection','sessions-unregister-not-exist','14zbNWFr','register','isPremiumPlugin','20187DKpHWR','_createUser','_handleSessionAdd','forEach','isMe','710Iqslfi','Sessions','_users','74VEuFIx','fire','sessionId','values','getUserSessions','state','806828XPnfbx','assign','_uniqueUsersCount','init','change:state','listenTo','stopListening','requires','_handleSessionRemove','168892hjxPLE'];_0x15c6=function(){return _0x14b185;};return _0x15c6();}import{WebSocketGateway as _0x2f00e0}from'./websocketgateway.js';import{Users as _0x2fc6b8}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2537db{[_0x53158c(0x1c6)];[_0x53158c(0x1e3)];[_0x53158c(0x1cb)];[_0x53158c(0x1e6)];[_0x53158c(0x1be)];[_0x53158c(0x1b5)];static get[_0x53158c(0x1d6)](){const _0x4f82c8=_0x53158c;return _0x4f82c8(0x1b4);}static get[_0x53158c(0x1e8)](){return!0x0;}static get[_0x53158c(0x1ad)](){return!0x0;}static get[_0x53158c(0x1c3)](){return[_0x2f00e0,_0x2fc6b8];}constructor(_0x5b5563){const _0x24ebd4=_0x53158c;super(_0x5b5563),this[_0x24ebd4(0x1c6)]=new Map(),this[_0x24ebd4(0x1e3)]=new Map(),this[_0x24ebd4(0x1cb)]=new _0x2183aa(),this[_0x24ebd4(0x1e6)]=new Map(),this[_0x24ebd4(0x1be)]=0x0,this[_0x24ebd4(0x1b5)]=this[_0x24ebd4(0x1e4)][_0x24ebd4(0x1de)][_0x24ebd4(0x1e7)](_0x2fc6b8);}[_0x53158c(0x1bf)](){const _0x151ca4=_0x53158c,_0x11f4f5=this[_0x151ca4(0x1e4)][_0x151ca4(0x1de)][_0x151ca4(0x1e7)](_0x2f00e0);this[_0x151ca4(0x1c1)](_0x11f4f5,_0x151ca4(0x1c0),(_0x3a7431,_0x59f85c,_0x279b5b)=>{const _0x1bd9b8=_0x151ca4;if(_0x1bd9b8(0x1e5)!==_0x279b5b)this[_0x1bd9b8(0x1c6)][_0x1bd9b8(0x1b1)](_0x52250f=>_0x52250f[_0x1bd9b8(0x1d8)]()),this[_0x1bd9b8(0x1e3)][_0x1bd9b8(0x1b1)](_0x19e1d3=>_0x19e1d3[_0x1bd9b8(0x1d8)]()),this[_0x1bd9b8(0x1cb)][_0x1bd9b8(0x1d8)]();else{for(const [_0xd8399e,_0x15d3fe]of this[_0x1bd9b8(0x1e6)])for(const _0x5a32dc of _0x15d3fe)this[_0x1bd9b8(0x1b0)](_0xd8399e,_0x5a32dc);}}),this[_0x151ca4(0x1af)](_0x11f4f5[_0x151ca4(0x1e9)]['me'],!0x0);}[_0x53158c(0x1ac)](_0x3915f5,_0x43ddd0){const _0x320e7d=_0x53158c;if(this[_0x320e7d(0x1e6)][_0x320e7d(0x1da)](_0x3915f5))throw new _0x481306(_0x320e7d(0x1cf),null,{'channelId':_0x3915f5});this[_0x320e7d(0x1e6)][_0x320e7d(0x1e0)](_0x3915f5,_0x43ddd0),this[_0x320e7d(0x1c6)][_0x320e7d(0x1e0)](_0x3915f5,new _0x2183aa()),this[_0x320e7d(0x1e3)][_0x320e7d(0x1e0)](_0x3915f5,new _0x2183aa()),this[_0x320e7d(0x1c1)](_0x43ddd0,_0x320e7d(0x1c8),(_0x22b525,_0x316780)=>this[_0x320e7d(0x1b0)](_0x3915f5,_0x316780)),this[_0x320e7d(0x1c1)](_0x43ddd0,_0x320e7d(0x1cc),(_0x5f2e85,_0x9dab98)=>this[_0x320e7d(0x1c4)](_0x3915f5,_0x9dab98));for(const _0x3ccd93 of _0x43ddd0)this[_0x320e7d(0x1b0)](_0x3915f5,_0x3ccd93);}[_0x53158c(0x1c7)](_0x4b1316){const _0x41c506=_0x53158c;if(!this[_0x41c506(0x1e6)][_0x41c506(0x1da)](_0x4b1316))throw new _0x481306(_0x41c506(0x1ea),null,{'channelId':_0x4b1316});const _0x66c579=this[_0x41c506(0x1e6)][_0x41c506(0x1e7)](_0x4b1316);this[_0x41c506(0x1c2)](_0x66c579);for(const _0x22ca2f of _0x66c579)_0x41c506(0x1e5)===this[_0x41c506(0x1e4)][_0x41c506(0x1de)][_0x41c506(0x1e7)](_0x2f00e0)[_0x41c506(0x1bb)]&&this[_0x41c506(0x1c4)](_0x4b1316,_0x22ca2f);this[_0x41c506(0x1e6)][_0x41c506(0x1d7)](_0x4b1316),this[_0x41c506(0x1c6)][_0x41c506(0x1d7)](_0x4b1316),this[_0x41c506(0x1e3)][_0x41c506(0x1d7)](_0x4b1316);}get[_0x53158c(0x1d5)](){const _0x529ee1=_0x53158c;return this[_0x529ee1(0x1e4)][_0x529ee1(0x1de)][_0x529ee1(0x1e7)](_0x2f00e0)[_0x529ee1(0x1e9)][_0x529ee1(0x1b8)];}[_0x53158c(0x1ce)](_0x17487d){const _0x50e7c3=_0x53158c;for(const _0x49bb6c of this[_0x50e7c3(0x1c6)][_0x50e7c3(0x1b9)]())for(const _0x479186 of _0x49bb6c)if(_0x479186['id']===_0x17487d)return _0x479186[_0x50e7c3(0x1d3)];}[_0x53158c(0x1ba)](_0x31a454,_0x1864e1){const _0x5e37e8=_0x53158c,_0x3b4426=_0x1864e1?[this[_0x5e37e8(0x1c6)][_0x5e37e8(0x1e7)](_0x1864e1)]:this[_0x5e37e8(0x1c6)][_0x5e37e8(0x1b9)](),_0x4cafba=new Set();for(const _0x47b059 of _0x3b4426)for(const _0x3badf8 of _0x47b059)_0x3badf8[_0x5e37e8(0x1d3)]['id']===_0x31a454['id']&&_0x4cafba[_0x5e37e8(0x1c8)](_0x3badf8['id']);return _0x4cafba;}[_0x53158c(0x1d0)](_0x31b4a0){const _0x37eedb=_0x53158c;for(const _0x55b0e1 of this[_0x37eedb(0x1c6)][_0x37eedb(0x1b9)]())for(const _0x5dd56f of _0x55b0e1)if(_0x5dd56f[_0x37eedb(0x1d3)]===_0x31b4a0)return _0x5dd56f[_0x37eedb(0x1df)];}[_0x53158c(0x1b0)](_0x416321,_0x91b37e){const _0x31bc6e=_0x53158c;if(_0x31bc6e(0x1e5)!==this[_0x31bc6e(0x1e4)][_0x31bc6e(0x1de)][_0x31bc6e(0x1e7)](_0x2f00e0)[_0x31bc6e(0x1bb)])return;const _0x54c78a=_0x91b37e[_0x31bc6e(0x1d3)],_0x2bd67c=this[_0x31bc6e(0x1b5)][_0x31bc6e(0x1d2)](_0x54c78a['id'])||this[_0x31bc6e(0x1af)](_0x54c78a),_0x2c0342=Object[_0x31bc6e(0x1bd)]({},_0x91b37e,{'user':_0x2bd67c});this[_0x31bc6e(0x1c6)][_0x31bc6e(0x1e7)](_0x416321)[_0x31bc6e(0x1c8)](_0x2c0342);const _0x417fb7=this[_0x31bc6e(0x1e3)][_0x31bc6e(0x1e7)](_0x416321);_0x417fb7[_0x31bc6e(0x1da)](_0x2bd67c['id'])||_0x417fb7[_0x31bc6e(0x1c8)](_0x2bd67c),this[_0x31bc6e(0x1cb)][_0x31bc6e(0x1da)](_0x2bd67c['id'])||this[_0x31bc6e(0x1cb)][_0x31bc6e(0x1c8)](_0x2bd67c,_0x2bd67c[_0x31bc6e(0x1b2)]?0x0:void 0x0),this[_0x31bc6e(0x1b7)](_0x31bc6e(0x1dd)+_0x416321,{'channelId':_0x416321,'session':_0x2c0342});}[_0x53158c(0x1c4)](_0x4f9940,_0xe6714d){const _0x5675ae=_0x53158c;if(_0x5675ae(0x1e5)!==this[_0x5675ae(0x1e4)][_0x5675ae(0x1de)][_0x5675ae(0x1e7)](_0x2f00e0)[_0x5675ae(0x1bb)])return;const _0x5ccc0c=this[_0x5675ae(0x1e3)][_0x5675ae(0x1e7)](_0x4f9940),_0x41e456=_0xe6714d[_0x5675ae(0x1d3)];_0x41e456['id']&&(this[_0x5675ae(0x1c6)][_0x5675ae(0x1e7)](_0x4f9940)[_0x5675ae(0x1cc)](_0xe6714d['id']),_0x5ccc0c[_0x5675ae(0x1da)](_0x41e456['id'])&&!this[_0x5675ae(0x1ba)](_0x41e456,_0x4f9940)[_0x5675ae(0x1e1)]&&_0x5ccc0c[_0x5675ae(0x1cc)](_0x41e456['id']),this[_0x5675ae(0x1cb)][_0x5675ae(0x1e7)](_0x41e456['id'])&&!this[_0x5675ae(0x1ba)](_0x41e456)[_0x5675ae(0x1e1)]&&this[_0x5675ae(0x1cb)][_0x5675ae(0x1cc)](_0x41e456['id']));}[_0x53158c(0x1af)](_0x3c81a2,_0x47678d){const _0x53c62f=_0x53158c,_0x22807=this[_0x53c62f(0x1b5)][_0x53c62f(0x1d4)](_0x3c81a2);return _0x47678d&&this[_0x53c62f(0x1b5)][_0x53c62f(0x1d1)](_0x3c81a2['id']),_0x22807[_0x53c62f(0x1dc)]=this[_0x53c62f(0x1be)]++,_0x22807;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f290a=_0x2c1a;(function(_0x2e7f69,_0x25f7fd){const _0x42e592=_0x2c1a,_0x199985=_0x2e7f69();while(!![]){try{const _0x4daa3a=parseInt(_0x42e592(0x22a))/0x1*(parseInt(_0x42e592(0x211))/0x2)+-parseInt(_0x42e592(0x22c))/0x3+parseInt(_0x42e592(0x1ca))/0x4*(parseInt(_0x42e592(0x1fa))/0x5)+-parseInt(_0x42e592(0x1bd))/0x6*(parseInt(_0x42e592(0x22b))/0x7)+-parseInt(_0x42e592(0x208))/0x8+-parseInt(_0x42e592(0x1e4))/0x9*(parseInt(_0x42e592(0x20a))/0xa)+parseInt(_0x42e592(0x222))/0xb;if(_0x4daa3a===_0x25f7fd)break;else _0x199985['push'](_0x199985['shift']());}catch(_0x167de9){_0x199985['push'](_0x199985['shift']());}}}(_0x16f1,0x1c531));function _0x16f1(){const _0x52429f=['parent','mouseleave','setCustomProperty','$text','markers','add','element','user:position','user:range','split','333HelRAz','user:position:','size','rootName','has','isPremiumPlugin','schema','user:','plugins','delete','markerName','getNearestSelectionRange','classList','Escape','afterInit','fromRange','spellcheck','getAttribute','addEventListener','applyOperation','ck-user__marker\x20','toRange','135TviBtk','editing','hasDomSelection','innerHTML','isOfficialPlugin','isInline','end','userPositionMarker','removeMarker','color','textContent','contenteditable','selection','enqueueChange','1680784ErtZsE','start','25630hYfNap','highest','type','startsWith','getFirstRange','conversion','getRange','2FVACzo','model','isObject','isSimilar','createUserMarkerOperations','user:range:','removeClass','mapper','clear','update:user:range','getSelectionClass','requires','name','getCustomProperty','batch','isCollapsed','markerNameToElements','4250323bVXVwt','mouseenter','get','change:range','view','isLimit','pluginName','commands','83106WUKMnh','1321173rDQdtV','14412DrPvID','remove','UserMarkers','editingDowncast','reconvertMarker','getPositions','setAttribute','detach','editor','getContainedElement','createElement','for','oldRange','markerToElement','deletionPosition','destroy','outerHTML','undo','ck-user__selection','nodeAfter','ck-user__marker-tooltip','isDocumentOperation','updateMarker','$graveyard','getMarkerClass','marker','_domEmitter','hasContent','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','6cRlCYi','tableCell','mySessionId','stopListening','listenTo','checkChild','toDomElement','span','_createdBatches','createUIElement','getStart','data-session-id','false','21480yzwEVQ','document','init','ck-user__marker_hovered','markerToHighlight','createRange','newRange','set','root','change','render','orderNumber','keydown','getUserBySessionId','markerRange','addMarker'];_0x16f1=function(){return _0x52429f;};return _0x16f1();}import{Plugin as _0x42f0d5}from'ckeditor5/src/core.js';import{global as _0x1107f4,DomEmitterMixin as _0x15394c}from'ckeditor5/src/utils.js';import{Sessions as _0x5ea26b}from'./sessions.js';import{ModelLiveRange as _0x23f0f9}from'ckeditor5/src/engine.js';function _0x2c1a(_0x15b3e5,_0x1259a7){const _0x16f1cd=_0x16f1();return _0x2c1a=function(_0x2c1abe,_0x2573cb){_0x2c1abe=_0x2c1abe-0x1af;let _0x397ecc=_0x16f1cd[_0x2c1abe];return _0x397ecc;},_0x2c1a(_0x15b3e5,_0x1259a7);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x42f0d5{[_0x2f290a(0x1ba)]=new(_0x15394c())();static get[_0x2f290a(0x21c)](){return[_0x5ea26b];}static get[_0x2f290a(0x228)](){const _0x31b0ed=_0x2f290a;return _0x31b0ed(0x22e);}static get[_0x2f290a(0x1fe)](){return!0x0;}static get[_0x2f290a(0x1e9)](){return!0x0;}[_0x2f290a(0x1cc)](){const _0x373867=_0x2f290a,_0x3ca1a1=this[_0x373867(0x234)],_0x3005fa=_0x3ca1a1[_0x373867(0x1ec)][_0x373867(0x224)](_0x5ea26b);_0x3ca1a1[_0x373867(0x20f)][_0x373867(0x237)](_0x373867(0x22f))[_0x373867(0x239)]({'model':_0x373867(0x1e1),'view':(_0x367324,{writer:_0x448552})=>function(_0x35ab33,_0x371f85,_0xe77588,_0x1b799b){const _0x4658c6=_0x373867,_0x1fb8fa=_0x35ab33[_0x4658c6(0x1ee)][_0x4658c6(0x1e3)](':')[0x2],_0x14aa86=_0xe77588[_0x4658c6(0x1d7)](_0x1fb8fa);if(!_0x14aa86||_0x1fb8fa===_0xe77588[_0x4658c6(0x1bf)])return;if(!_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1ea)][_0x4658c6(0x1c2)](_0x35ab33[_0x4658c6(0x1d8)][_0x4658c6(0x209)],_0x4658c6(0x1dd)))return;const _0x343634={'class':_0x4658c6(0x1f8)+_0x14aa86[_0x4658c6(0x203)][_0x4658c6(0x1b8)](),'data-name':_0x14aa86[_0x4658c6(0x21d)],'data-session-id':_0x1fb8fa},_0x13ba7d=_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1de)][_0x4658c6(0x224)](_0x35ab33[_0x4658c6(0x1ee)]),_0x1d546f=_0x13ba7d[_0x4658c6(0x1c7)](),_0x55a2cd=_0x1d546f[_0x4658c6(0x1b3)],_0x309db6=_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1ea)];if(_0x55a2cd&&_0x309db6[_0x4658c6(0x213)](_0x55a2cd)&&_0x309db6[_0x4658c6(0x1ff)](_0x55a2cd)&&!_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1de)][_0x4658c6(0x224)](_0x4658c6(0x216)+_0x1fb8fa)[_0x4658c6(0x210)]()[_0x4658c6(0x220)])return;const _0x2504b1=_0x1d546f[_0x4658c6(0x1da)];return _0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1ea)][_0x4658c6(0x227)](_0x2504b1)&&!_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1bb)](_0x2504b1)&&(_0x343634[_0x4658c6(0x205)]=!0x1),function(_0x2f3336,_0x3cd5e2,_0x21cea3){const _0x23b84=_0x4658c6,_0x9452d3=_0x2f3336[_0x23b84(0x1c6)](_0x23b84(0x1c4),_0x3cd5e2);return _0x2f3336[_0x23b84(0x1dc)](_0x23b84(0x201),!0x0,_0x9452d3),_0x9452d3[_0x23b84(0x1d4)]=function(_0x4075a9){const _0x45ba11=_0x23b84,_0x19217c=this[_0x45ba11(0x1c3)](_0x4075a9),_0x4e331b=document[_0x45ba11(0x236)](_0x45ba11(0x1c4));return _0x4e331b[_0x45ba11(0x1f0)][_0x45ba11(0x1df)](_0x45ba11(0x1b4)),_0x4e331b[_0x45ba11(0x232)](_0x45ba11(0x205),_0x45ba11(0x1c9)),_0x4e331b[_0x45ba11(0x232)](_0x45ba11(0x1f4),_0x45ba11(0x1c9)),_0x4e331b[_0x45ba11(0x204)]=_0x21cea3[_0x45ba11(0x21d)],_0x19217c[_0x45ba11(0x1fd)]=_0x45ba11(0x1bc)+_0x4e331b[_0x45ba11(0x1b0)]+'',_0x19217c[_0x45ba11(0x1f6)](_0x45ba11(0x223),()=>{const _0x11f3f8=_0x45ba11;_0x19217c[_0x11f3f8(0x1f0)][_0x11f3f8(0x1df)](_0x11f3f8(0x1cd));}),_0x19217c[_0x45ba11(0x1f6)](_0x45ba11(0x1db),()=>{const _0x4cb233=_0x45ba11;_0x19217c[_0x4cb233(0x1f0)][_0x4cb233(0x22d)](_0x4cb233(0x1cd));}),_0x19217c;},_0x9452d3[_0x23b84(0x214)]=function(_0x418ddb){const _0x54f999=_0x23b84;return!(!this[_0x54f999(0x21e)](_0x54f999(0x201))||!_0x418ddb[_0x54f999(0x21e)](_0x54f999(0x201))||this[_0x54f999(0x1f5)](_0x54f999(0x1c8))!=_0x418ddb[_0x54f999(0x1f5)](_0x54f999(0x1c8)));},_0x9452d3;}(_0x371f85,_0x343634,_0x14aa86);}(_0x367324,_0x448552,_0x3005fa,_0x3ca1a1)}),_0x3ca1a1[_0x373867(0x20f)][_0x373867(0x237)](_0x373867(0x22f))[_0x373867(0x1ce)]({'model':_0x373867(0x1e2),'view':_0x2ad77e=>function(_0xe404af,_0x3e9427){const _0x548229=_0x373867,_0x34d216=_0xe404af[_0x548229(0x1ee)][_0x548229(0x1e3)](':')[0x2];if(_0x34d216===_0x3e9427[_0x548229(0x1bf)])return null;const _0x224344=_0x3e9427[_0x548229(0x1d7)](_0x34d216);if(!_0x224344)return{'id':_0x34d216,'classes':[]};return{'id':_0x34d216,'classes':[_0x548229(0x1b2),_0x224344[_0x548229(0x203)][_0x548229(0x21b)]()],'attributes':{'data-session-id':_0x34d216},'priority':0x7d0+_0x224344[_0x548229(0x1d5)]};}(_0x2ad77e,_0x3005fa)}),function(_0x2a125d){const _0x12d50f=_0x373867,_0x57528e=_0x2a125d[_0x12d50f(0x212)],_0x103108=new Map(),_0x3f7e23=_0x2a125d[_0x12d50f(0x1ec)][_0x12d50f(0x224)](_0x5ea26b);_0x57528e[_0x12d50f(0x1de)]['on'](_0x12d50f(0x21a),(_0x9b9cf9,_0x2b48c8,_0x11ef91,_0x43cbac)=>{const _0x1d812a=_0x12d50f;if(!_0x43cbac&&_0x103108[_0x1d812a(0x224)](_0x2b48c8[_0x1d812a(0x21d)]))return _0x103108[_0x1d812a(0x224)](_0x2b48c8[_0x1d812a(0x21d)])[_0x1d812a(0x233)](),void _0x103108[_0x1d812a(0x1ed)](_0x2b48c8[_0x1d812a(0x21d)]);const _0x5231a0=_0x2b48c8[_0x1d812a(0x21d)][_0x1d812a(0x1e3)](':')[0x2];if(_0x5231a0===_0x3f7e23[_0x1d812a(0x1bf)])return;const _0x382dca=_0x1d812a(0x1e5)+_0x5231a0;_0x57528e[_0x1d812a(0x1de)][_0x1d812a(0x1e8)](_0x382dca)&&_0x2a125d[_0x1d812a(0x1fb)][_0x1d812a(0x230)](_0x382dca),_0x2b48c8['on'](_0x1d812a(0x225),(_0x4f0eb8,_0x5dd138,_0x59fd7f)=>{const _0x32ac7d=_0x1d812a;if(_0x32ac7d(0x1b7)!=_0x5dd138[_0x32ac7d(0x1d2)][_0x32ac7d(0x1e7)]&&_0x32ac7d(0x1b7)==_0x2b48c8[_0x32ac7d(0x210)]()[_0x32ac7d(0x1d2)][_0x32ac7d(0x1e7)]&&!_0x103108[_0x32ac7d(0x1e8)](_0x2b48c8[_0x32ac7d(0x21d)])){const _0x1dc92a=_0x57528e[_0x32ac7d(0x1ea)][_0x32ac7d(0x1ef)](_0x59fd7f[_0x32ac7d(0x23a)]);if(_0x1dc92a){const _0x2006c3=_0x23f0f9[_0x32ac7d(0x1f3)](_0x1dc92a);_0x103108[_0x32ac7d(0x1d1)](_0x2b48c8[_0x32ac7d(0x21d)],_0x2006c3),_0x2006c3['on'](_0x32ac7d(0x225),(_0xec3af2,_0x16a94d,_0x258e8e)=>{const _0x59f67f=_0x32ac7d;if(_0x59f67f(0x1b7)==_0x2006c3[_0x59f67f(0x1d2)][_0x59f67f(0x1e7)]){const _0x884255=_0x57528e[_0x59f67f(0x1ea)][_0x59f67f(0x1ef)](_0x258e8e[_0x59f67f(0x23a)]);_0x884255?(_0x2006c3[_0x59f67f(0x209)]=_0x884255[_0x59f67f(0x209)],_0x2006c3[_0x59f67f(0x200)]=_0x884255[_0x59f67f(0x200)]):(_0x103108[_0x59f67f(0x1ed)](_0x2b48c8[_0x59f67f(0x21d)]),_0x2006c3[_0x59f67f(0x233)]());}});}}});}),_0x57528e[_0x12d50f(0x1cb)]['on'](_0x12d50f(0x1d3),()=>{const _0x1995b5=_0x12d50f;_0x103108[_0x1995b5(0x1e6)]>0x0&&_0x57528e[_0x1995b5(0x207)]({'isUndoable':!0x1},_0x45532d=>{const _0x21a5bf=_0x1995b5;for(const [_0x6039b7,_0x2857db]of _0x103108)_0x21a5bf(0x1b7)==_0x57528e[_0x21a5bf(0x1de)][_0x21a5bf(0x224)](_0x6039b7)[_0x21a5bf(0x210)]()[_0x21a5bf(0x1d2)][_0x21a5bf(0x1e7)]&&(te(_0x6039b7[_0x21a5bf(0x1e3)](':')[0x2],_0x2857db[_0x21a5bf(0x1f9)](),_0x57528e,_0x45532d),_0x2857db[_0x21a5bf(0x233)]());_0x103108[_0x21a5bf(0x219)]();});});}(_0x3ca1a1),this[_0x373867(0x1ba)][_0x373867(0x1c1)](_0x1107f4[_0x373867(0x1cb)],_0x373867(0x1d6),(_0x306754,{key:_0x55e8df})=>{const _0x46bb36=_0x373867;_0x46bb36(0x1f1)===_0x55e8df&&function(_0xf19cbc){const _0xeae5d9=_0x46bb36;_0xf19cbc[_0xeae5d9(0x1fb)][_0xeae5d9(0x226)][_0xeae5d9(0x1d3)](_0x36cf82=>{const _0xcde2c8=_0xeae5d9;for(const _0x3435fb of _0xf19cbc[_0xcde2c8(0x212)][_0xcde2c8(0x1de)]){if(!_0x3435fb[_0xcde2c8(0x21d)][_0xcde2c8(0x20d)](_0xcde2c8(0x1e1)))continue;const _0x184820=_0xf19cbc[_0xcde2c8(0x1fb)][_0xcde2c8(0x218)][_0xcde2c8(0x221)](_0x3435fb[_0xcde2c8(0x21d)]);if(_0x184820){for(const _0x2136ed of _0x184820)_0x36cf82[_0xcde2c8(0x217)](_0xcde2c8(0x1cd),_0x2136ed);}}});}(_0x3ca1a1);},{'useCapture':!0x0});}[_0x2f290a(0x1f2)](){const _0x5b9bb8=_0x2f290a,_0x927713=this[_0x5b9bb8(0x234)],_0x1696df=_0x927713[_0x5b9bb8(0x229)][_0x5b9bb8(0x224)](_0x5b9bb8(0x1b1));_0x1696df&&_0x927713[_0x5b9bb8(0x212)]['on'](_0x5b9bb8(0x1f7),(_0x381efe,_0x3867d3)=>{const _0x469011=_0x5b9bb8,_0x1ff97=_0x3867d3[0x0];if(!_0x1ff97[_0x469011(0x1b5)])return;if(_0x469011(0x1b9)!=_0x1ff97[_0x469011(0x20c)]||!_0x1ff97[_0x469011(0x21d)][_0x469011(0x20d)](_0x469011(0x1eb)))return;const _0x2b4dd9=_0x1ff97[_0x469011(0x21f)];_0x1696df[_0x469011(0x1c5)][_0x469011(0x1e8)](_0x2b4dd9)&&(_0x1ff97[_0x469011(0x1d0)]=_0x1ff97[_0x469011(0x238)]?_0x927713[_0x469011(0x212)][_0x469011(0x1cf)](_0x1ff97[_0x469011(0x238)][_0x469011(0x209)],_0x1ff97[_0x469011(0x238)][_0x469011(0x200)]):null);},{'priority':_0x5b9bb8(0x20b)});}[_0x2f290a(0x1af)](){const _0x83bcec=_0x2f290a;return this[_0x83bcec(0x1ba)][_0x83bcec(0x1c0)](),super[_0x83bcec(0x1af)]();}[_0x2f290a(0x215)](){const _0x35bfec=_0x2f290a,_0x17d012=this[_0x35bfec(0x234)],_0x3c2798=_0x17d012[_0x35bfec(0x212)][_0x35bfec(0x1cb)],_0x4597fe=_0x17d012[_0x35bfec(0x1ec)][_0x35bfec(0x224)](_0x5ea26b);_0x17d012[_0x35bfec(0x212)][_0x35bfec(0x207)]({'isUndoable':!0x1},_0x195533=>{const _0x39d58c=_0x35bfec,_0x37d3c9=_0x39d58c(0x216)+_0x4597fe[_0x39d58c(0x1bf)],_0x15d0a0=_0x39d58c(0x1e5)+_0x4597fe[_0x39d58c(0x1bf)],_0x302324=_0x17d012[_0x39d58c(0x212)][_0x39d58c(0x1de)][_0x39d58c(0x1e8)](_0x37d3c9);_0x17d012[_0x39d58c(0x1fb)][_0x39d58c(0x226)][_0x39d58c(0x1fc)]?te(_0x4597fe[_0x39d58c(0x1bf)],_0x3c2798[_0x39d58c(0x206)][_0x39d58c(0x20e)](),_0x17d012[_0x39d58c(0x212)],_0x195533):_0x302324&&(_0x195533[_0x39d58c(0x202)](_0x37d3c9),_0x195533[_0x39d58c(0x202)](_0x15d0a0));});}}function te(_0x2b78ff,_0x5ac116,_0x4a05d3,_0x57bd9b){const _0x5d8f3f=_0x2f290a,_0x159897=_0x5d8f3f(0x216)+_0x2b78ff,_0x5f49ac=_0x5d8f3f(0x1e5)+_0x2b78ff,_0x5d827a=_0x5ac116[_0x5d8f3f(0x235)]();let _0x6c03a3=_0x5ac116[_0x5d8f3f(0x209)];if(_0x5d827a&&_0x5d827a['is'](_0x5d8f3f(0x1e0),_0x5d8f3f(0x1be))){const _0x4b7278=function(_0x176edf,_0x55a5b7){const _0x13d9b5=_0x5d8f3f;for(const _0x27af2f of _0x176edf[_0x13d9b5(0x231)]())if(_0x55a5b7[_0x13d9b5(0x1ea)][_0x13d9b5(0x1c2)](_0x27af2f,_0x13d9b5(0x1dd)))return _0x27af2f;}(_0x5ac116,_0x4a05d3);_0x4b7278&&(_0x6c03a3=_0x4b7278,_0x5ac116=_0x57bd9b[_0x5d8f3f(0x1cf)](_0x6c03a3));}const _0x1f8711=_0x57bd9b[_0x5d8f3f(0x1cf)](_0x6c03a3);_0x4a05d3[_0x5d8f3f(0x1de)][_0x5d8f3f(0x1e8)](_0x159897)?(_0x57bd9b[_0x5d8f3f(0x1b6)](_0x159897,{'range':_0x5ac116}),_0x57bd9b[_0x5d8f3f(0x1b6)](_0x5f49ac,{'range':_0x1f8711})):(_0x57bd9b[_0x5d8f3f(0x1d9)](_0x159897,{'range':_0x5ac116,'usingOperation':!0x0}),_0x57bd9b[_0x5d8f3f(0x1d9)](_0x5f49ac,{'range':_0x1f8711,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x133eee=_0xa1f6;function _0x65a0(){const _0x49e2c3=['markers','stopListening','root','false','toRange','hasDomSelection','isSimilar','editing','listenTo','batch','105MyoJBi','addEventListener','split','applyOperation','pluginName','get','markerName','delete','getFirstRange','_createdBatches','createUIElement','textContent','data-session-id','model','user:range','fromRange','mapper','getSelectionClass','detach','reconvertMarker','add','highest','color','isDocumentOperation','setAttribute','user:range:','view','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','UserMarkers','contenteditable','getUserBySessionId','type','user:position:','ck-user__marker-tooltip','selection','Escape','checkChild','oldRange','2715570GVOMjk','_domEmitter','11036BiZDPa','getPositions','classList','parent','158792cnXENr','markerRange','removeMarker','rootName','keydown','undo','getCustomProperty','createRange','mySessionId','update:user:range','user:position','editor','size','ck-user__selection','nodeAfter','hasContent','markerNameToElements','$text','addMarker','deletionPosition','change:range','ck-user__marker\x20','isOfficialPlugin','requires','clear','userPositionMarker','getStart','tableCell','conversion','isInline','1619261IUjQFG','getContainedElement','end','init','removeClass','toDomElement','264200hkzGrv','2rIGJJU','for','outerHTML','isObject','getAttribute','323003wZUAvh','spellcheck','newRange','createElement','$graveyard','set','innerHTML','mouseenter','span','markerToHighlight','startsWith','getRange','207gPvDVF','document','afterInit','destroy','start','element','user:','schema','enqueueChange','remove','orderNumber','plugins','commands','name','getMarkerClass','isCollapsed','setCustomProperty','marker','markerToElement','mouseleave','isPremiumPlugin','render','ck-user__marker_hovered','change','createUserMarkerOperations','has','updateMarker','1035410QfOsRY','editingDowncast','getNearestSelectionRange','isLimit','77OiZvOe'];_0x65a0=function(){return _0x49e2c3;};return _0x65a0();}(function(_0x3fb70d,_0x48aad9){const _0x31b531=_0xa1f6,_0x2363d0=_0x3fb70d();while(!![]){try{const _0x96a060=-parseInt(_0x31b531(0x1fd))/0x1*(-parseInt(_0x31b531(0x1f8))/0x2)+-parseInt(_0x31b531(0x233))/0x3*(parseInt(_0x31b531(0x25b))/0x4)+parseInt(_0x31b531(0x1f7))/0x5+parseInt(_0x31b531(0x259))/0x6+-parseInt(_0x31b531(0x1f1))/0x7+-parseInt(_0x31b531(0x25f))/0x8*(-parseInt(_0x31b531(0x209))/0x9)+parseInt(_0x31b531(0x224))/0xa*(-parseInt(_0x31b531(0x228))/0xb);if(_0x96a060===_0x48aad9)break;else _0x2363d0['push'](_0x2363d0['shift']());}catch(_0x41e999){_0x2363d0['push'](_0x2363d0['shift']());}}}(_0x65a0,0x38b62));import{Plugin as _0x30e514}from'ckeditor5/src/core.js';import{global as _0x5d9852,DomEmitterMixin as _0xcbaa2}from'ckeditor5/src/utils.js';import{Sessions as _0x3e598c}from'./sessions.js';function _0xa1f6(_0x514409,_0x269ba5){const _0x65a032=_0x65a0();return _0xa1f6=function(_0xa1f6d2,_0x179312){_0xa1f6d2=_0xa1f6d2-0x1dc;let _0x48aa2f=_0x65a032[_0xa1f6d2];return _0x48aa2f;},_0xa1f6(_0x514409,_0x269ba5);}import{ModelLiveRange as _0x61cd86}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x30e514{[_0x133eee(0x25a)]=new(_0xcbaa2())();static get[_0x133eee(0x1ea)](){return[_0x3e598c];}static get[_0x133eee(0x237)](){const _0x3a2774=_0x133eee;return _0x3a2774(0x24f);}static get[_0x133eee(0x1e9)](){return!0x0;}static get[_0x133eee(0x21d)](){return!0x0;}[_0x133eee(0x1f4)](){const _0x44eb3b=_0x133eee,_0x157e0a=this[_0x44eb3b(0x1de)],_0x2f7bff=_0x157e0a[_0x44eb3b(0x214)][_0x44eb3b(0x238)](_0x3e598c);_0x157e0a[_0x44eb3b(0x1ef)][_0x44eb3b(0x1f9)](_0x44eb3b(0x225))[_0x44eb3b(0x21b)]({'model':_0x44eb3b(0x1dd),'view':(_0x85409d,{writer:_0x3f2082})=>function(_0x2d9d9a,_0x4f72d8,_0x4e8cc8,_0x282703){const _0x130156=_0x44eb3b,_0x58abc7=_0x2d9d9a[_0x130156(0x239)][_0x130156(0x235)](':')[0x2],_0x32e090=_0x4e8cc8[_0x130156(0x251)](_0x58abc7);if(!_0x32e090||_0x58abc7===_0x4e8cc8[_0x130156(0x267)])return;if(!_0x282703[_0x130156(0x240)][_0x130156(0x210)][_0x130156(0x257)](_0x2d9d9a[_0x130156(0x260)][_0x130156(0x20d)],_0x130156(0x1e4)))return;const _0x3d350a={'class':_0x130156(0x1e8)+_0x32e090[_0x130156(0x249)][_0x130156(0x217)](),'data-name':_0x32e090[_0x130156(0x216)],'data-session-id':_0x58abc7},_0x3f27e6=_0x282703[_0x130156(0x240)][_0x130156(0x229)][_0x130156(0x238)](_0x2d9d9a[_0x130156(0x239)]),_0xb29109=_0x3f27e6[_0x130156(0x1ed)](),_0x482ff9=_0xb29109[_0x130156(0x1e1)],_0x7e4029=_0x282703[_0x130156(0x240)][_0x130156(0x210)];if(_0x482ff9&&_0x7e4029[_0x130156(0x1fb)](_0x482ff9)&&_0x7e4029[_0x130156(0x1f0)](_0x482ff9)&&!_0x282703[_0x130156(0x240)][_0x130156(0x229)][_0x130156(0x238)](_0x130156(0x24c)+_0x58abc7)[_0x130156(0x208)]()[_0x130156(0x218)])return;const _0x4f4e6d=_0xb29109[_0x130156(0x25e)];return _0x282703[_0x130156(0x240)][_0x130156(0x210)][_0x130156(0x227)](_0x4f4e6d)&&!_0x282703[_0x130156(0x240)][_0x130156(0x1e2)](_0x4f4e6d)&&(_0x3d350a[_0x130156(0x250)]=!0x1),function(_0x45e44b,_0x300986,_0x28621a){const _0x2ec44f=_0x130156,_0x59fc14=_0x45e44b[_0x2ec44f(0x23d)](_0x2ec44f(0x205),_0x300986);return _0x45e44b[_0x2ec44f(0x219)](_0x2ec44f(0x1ec),!0x0,_0x59fc14),_0x59fc14[_0x2ec44f(0x21e)]=function(_0x5f46a4){const _0x1fd279=_0x2ec44f,_0x456933=this[_0x1fd279(0x1f6)](_0x5f46a4),_0x588599=document[_0x1fd279(0x200)](_0x1fd279(0x205));return _0x588599[_0x1fd279(0x25d)][_0x1fd279(0x247)](_0x1fd279(0x254)),_0x588599[_0x1fd279(0x24b)](_0x1fd279(0x250),_0x1fd279(0x22c)),_0x588599[_0x1fd279(0x24b)](_0x1fd279(0x1fe),_0x1fd279(0x22c)),_0x588599[_0x1fd279(0x23e)]=_0x28621a[_0x1fd279(0x216)],_0x456933[_0x1fd279(0x203)]=_0x1fd279(0x24e)+_0x588599[_0x1fd279(0x1fa)]+'',_0x456933[_0x1fd279(0x234)](_0x1fd279(0x204),()=>{const _0x5ccc84=_0x1fd279;_0x456933[_0x5ccc84(0x25d)][_0x5ccc84(0x247)](_0x5ccc84(0x21f));}),_0x456933[_0x1fd279(0x234)](_0x1fd279(0x21c),()=>{const _0x52a84a=_0x1fd279;_0x456933[_0x52a84a(0x25d)][_0x52a84a(0x212)](_0x52a84a(0x21f));}),_0x456933;},_0x59fc14[_0x2ec44f(0x22f)]=function(_0x5798ab){const _0x37f6c9=_0x2ec44f;return!(!this[_0x37f6c9(0x265)](_0x37f6c9(0x1ec))||!_0x5798ab[_0x37f6c9(0x265)](_0x37f6c9(0x1ec))||this[_0x37f6c9(0x1fc)](_0x37f6c9(0x23f))!=_0x5798ab[_0x37f6c9(0x1fc)](_0x37f6c9(0x23f)));},_0x59fc14;}(_0x4f72d8,_0x3d350a,_0x32e090);}(_0x85409d,_0x3f2082,_0x2f7bff,_0x157e0a)}),_0x157e0a[_0x44eb3b(0x1ef)][_0x44eb3b(0x1f9)](_0x44eb3b(0x225))[_0x44eb3b(0x206)]({'model':_0x44eb3b(0x241),'view':_0x44b26a=>function(_0x28a625,_0x316b7a){const _0x18b1f6=_0x44eb3b,_0x188eb5=_0x28a625[_0x18b1f6(0x239)][_0x18b1f6(0x235)](':')[0x2];if(_0x188eb5===_0x316b7a[_0x18b1f6(0x267)])return null;const _0xea019e=_0x316b7a[_0x18b1f6(0x251)](_0x188eb5);if(!_0xea019e)return{'id':_0x188eb5,'classes':[]};return{'id':_0x188eb5,'classes':[_0x18b1f6(0x1e0),_0xea019e[_0x18b1f6(0x249)][_0x18b1f6(0x244)]()],'attributes':{'data-session-id':_0x188eb5},'priority':0x7d0+_0xea019e[_0x18b1f6(0x213)]};}(_0x44b26a,_0x2f7bff)}),function(_0x81e468){const _0x4596ee=_0x44eb3b,_0x391849=_0x81e468[_0x4596ee(0x240)],_0x1b8377=new Map(),_0x100297=_0x81e468[_0x4596ee(0x214)][_0x4596ee(0x238)](_0x3e598c);_0x391849[_0x4596ee(0x229)]['on'](_0x4596ee(0x1dc),(_0xa1d445,_0x58c18f,_0x169aba,_0x336f0d)=>{const _0x51aa6b=_0x4596ee;if(!_0x336f0d&&_0x1b8377[_0x51aa6b(0x238)](_0x58c18f[_0x51aa6b(0x216)]))return _0x1b8377[_0x51aa6b(0x238)](_0x58c18f[_0x51aa6b(0x216)])[_0x51aa6b(0x245)](),void _0x1b8377[_0x51aa6b(0x23a)](_0x58c18f[_0x51aa6b(0x216)]);const _0x2ad19b=_0x58c18f[_0x51aa6b(0x216)][_0x51aa6b(0x235)](':')[0x2];if(_0x2ad19b===_0x100297[_0x51aa6b(0x267)])return;const _0x4b6340=_0x51aa6b(0x253)+_0x2ad19b;_0x391849[_0x51aa6b(0x229)][_0x51aa6b(0x222)](_0x4b6340)&&_0x81e468[_0x51aa6b(0x230)][_0x51aa6b(0x246)](_0x4b6340),_0x58c18f['on'](_0x51aa6b(0x1e7),(_0x284950,_0x34d067,_0x381919)=>{const _0x54751b=_0x51aa6b;if(_0x54751b(0x201)!=_0x34d067[_0x54751b(0x22b)][_0x54751b(0x262)]&&_0x54751b(0x201)==_0x58c18f[_0x54751b(0x208)]()[_0x54751b(0x22b)][_0x54751b(0x262)]&&!_0x1b8377[_0x54751b(0x222)](_0x58c18f[_0x54751b(0x216)])){const _0x17fdec=_0x391849[_0x54751b(0x210)][_0x54751b(0x226)](_0x381919[_0x54751b(0x1e6)]);if(_0x17fdec){const _0xabc1f8=_0x61cd86[_0x54751b(0x242)](_0x17fdec);_0x1b8377[_0x54751b(0x202)](_0x58c18f[_0x54751b(0x216)],_0xabc1f8),_0xabc1f8['on'](_0x54751b(0x1e7),(_0x18054a,_0x31221f,_0x473f24)=>{const _0x4f8d12=_0x54751b;if(_0x4f8d12(0x201)==_0xabc1f8[_0x4f8d12(0x22b)][_0x4f8d12(0x262)]){const _0x5323d4=_0x391849[_0x4f8d12(0x210)][_0x4f8d12(0x226)](_0x473f24[_0x4f8d12(0x1e6)]);_0x5323d4?(_0xabc1f8[_0x4f8d12(0x20d)]=_0x5323d4[_0x4f8d12(0x20d)],_0xabc1f8[_0x4f8d12(0x1f3)]=_0x5323d4[_0x4f8d12(0x1f3)]):(_0x1b8377[_0x4f8d12(0x23a)](_0x58c18f[_0x4f8d12(0x216)]),_0xabc1f8[_0x4f8d12(0x245)]());}});}}});}),_0x391849[_0x4596ee(0x20a)]['on'](_0x4596ee(0x220),()=>{const _0x14a99a=_0x4596ee;_0x1b8377[_0x14a99a(0x1df)]>0x0&&_0x391849[_0x14a99a(0x211)]({'isUndoable':!0x1},_0x264245=>{const _0x253a4e=_0x14a99a;for(const [_0x563b45,_0x38c8d3]of _0x1b8377)_0x253a4e(0x201)==_0x391849[_0x253a4e(0x229)][_0x253a4e(0x238)](_0x563b45)[_0x253a4e(0x208)]()[_0x253a4e(0x22b)][_0x253a4e(0x262)]&&(te(_0x563b45[_0x253a4e(0x235)](':')[0x2],_0x38c8d3[_0x253a4e(0x22d)](),_0x391849,_0x264245),_0x38c8d3[_0x253a4e(0x245)]());_0x1b8377[_0x253a4e(0x1eb)]();});});}(_0x157e0a),this[_0x44eb3b(0x25a)][_0x44eb3b(0x231)](_0x5d9852[_0x44eb3b(0x20a)],_0x44eb3b(0x263),(_0xbe954b,{key:_0x1ed76c})=>{const _0x49caa4=_0x44eb3b;_0x49caa4(0x256)===_0x1ed76c&&function(_0x5dafae){const _0x32809c=_0x49caa4;_0x5dafae[_0x32809c(0x230)][_0x32809c(0x24d)][_0x32809c(0x220)](_0x1998fe=>{const _0x28f347=_0x32809c;for(const _0x4188e7 of _0x5dafae[_0x28f347(0x240)][_0x28f347(0x229)]){if(!_0x4188e7[_0x28f347(0x216)][_0x28f347(0x207)](_0x28f347(0x1dd)))continue;const _0x4ac0a3=_0x5dafae[_0x28f347(0x230)][_0x28f347(0x243)][_0x28f347(0x1e3)](_0x4188e7[_0x28f347(0x216)]);if(_0x4ac0a3){for(const _0x1d9399 of _0x4ac0a3)_0x1998fe[_0x28f347(0x1f5)](_0x28f347(0x21f),_0x1d9399);}}});}(_0x157e0a);},{'useCapture':!0x0});}[_0x133eee(0x20b)](){const _0x5eb2bc=_0x133eee,_0x8d0f8d=this[_0x5eb2bc(0x1de)],_0x47cf66=_0x8d0f8d[_0x5eb2bc(0x215)][_0x5eb2bc(0x238)](_0x5eb2bc(0x264));_0x47cf66&&_0x8d0f8d[_0x5eb2bc(0x240)]['on'](_0x5eb2bc(0x236),(_0x27700c,_0x2a0466)=>{const _0x556fdc=_0x5eb2bc,_0x413b47=_0x2a0466[0x0];if(!_0x413b47[_0x556fdc(0x24a)])return;if(_0x556fdc(0x21a)!=_0x413b47[_0x556fdc(0x252)]||!_0x413b47[_0x556fdc(0x216)][_0x556fdc(0x207)](_0x556fdc(0x20f)))return;const _0xb2a09b=_0x413b47[_0x556fdc(0x232)];_0x47cf66[_0x556fdc(0x23c)][_0x556fdc(0x222)](_0xb2a09b)&&(_0x413b47[_0x556fdc(0x1ff)]=_0x413b47[_0x556fdc(0x258)]?_0x8d0f8d[_0x556fdc(0x240)][_0x556fdc(0x266)](_0x413b47[_0x556fdc(0x258)][_0x556fdc(0x20d)],_0x413b47[_0x556fdc(0x258)][_0x556fdc(0x1f3)]):null);},{'priority':_0x5eb2bc(0x248)});}[_0x133eee(0x20c)](){const _0x4457e8=_0x133eee;return this[_0x4457e8(0x25a)][_0x4457e8(0x22a)](),super[_0x4457e8(0x20c)]();}[_0x133eee(0x221)](){const _0x3c9041=_0x133eee,_0x1b4a5e=this[_0x3c9041(0x1de)],_0x5e214a=_0x1b4a5e[_0x3c9041(0x240)][_0x3c9041(0x20a)],_0x973f25=_0x1b4a5e[_0x3c9041(0x214)][_0x3c9041(0x238)](_0x3e598c);_0x1b4a5e[_0x3c9041(0x240)][_0x3c9041(0x211)]({'isUndoable':!0x1},_0x423ada=>{const _0x47ad06=_0x3c9041,_0xe73b91=_0x47ad06(0x24c)+_0x973f25[_0x47ad06(0x267)],_0x1a396c=_0x47ad06(0x253)+_0x973f25[_0x47ad06(0x267)],_0x2b32ab=_0x1b4a5e[_0x47ad06(0x240)][_0x47ad06(0x229)][_0x47ad06(0x222)](_0xe73b91);_0x1b4a5e[_0x47ad06(0x230)][_0x47ad06(0x24d)][_0x47ad06(0x22e)]?te(_0x973f25[_0x47ad06(0x267)],_0x5e214a[_0x47ad06(0x255)][_0x47ad06(0x23b)](),_0x1b4a5e[_0x47ad06(0x240)],_0x423ada):_0x2b32ab&&(_0x423ada[_0x47ad06(0x261)](_0xe73b91),_0x423ada[_0x47ad06(0x261)](_0x1a396c));});}}function te(_0x2705d1,_0x5b362e,_0x384792,_0x328ecb){const _0x4085c5=_0x133eee,_0x4d1e4f=_0x4085c5(0x24c)+_0x2705d1,_0x5995dd=_0x4085c5(0x253)+_0x2705d1,_0x366ba4=_0x5b362e[_0x4085c5(0x1f2)]();let _0x7d4760=_0x5b362e[_0x4085c5(0x20d)];if(_0x366ba4&&_0x366ba4['is'](_0x4085c5(0x20e),_0x4085c5(0x1ee))){const _0x218f41=function(_0x569355,_0x181694){const _0x425f2e=_0x4085c5;for(const _0x466912 of _0x569355[_0x425f2e(0x25c)]())if(_0x181694[_0x425f2e(0x210)][_0x425f2e(0x257)](_0x466912,_0x425f2e(0x1e4)))return _0x466912;}(_0x5b362e,_0x384792);_0x218f41&&(_0x7d4760=_0x218f41,_0x5b362e=_0x328ecb[_0x4085c5(0x266)](_0x7d4760));}const _0x558f3b=_0x328ecb[_0x4085c5(0x266)](_0x7d4760);_0x384792[_0x4085c5(0x229)][_0x4085c5(0x222)](_0x4d1e4f)?(_0x328ecb[_0x4085c5(0x223)](_0x4d1e4f,{'range':_0x5b362e}),_0x328ecb[_0x4085c5(0x223)](_0x5995dd,{'range':_0x558f3b})):(_0x328ecb[_0x4085c5(0x1e5)](_0x4d1e4f,{'range':_0x5b362e,'usingOperation':!0x0}),_0x328ecb[_0x4085c5(0x1e5)](_0x5995dd,{'range':_0x558f3b,'usingOperation':!0x0}));}
|