@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.7 → 45.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2cbfbf=_0x276a;function _0x276a(_0x452671,_0x3828e2){const _0x2c7af5=_0x2c7a();return _0x276a=function(_0x276a30,_0x565766){_0x276a30=_0x276a30-0xa4;let _0x44bf66=_0x2c7af5[_0x276a30];return _0x44bf66;},_0x276a(_0x452671,_0x3828e2);}(function(_0x2bd89c,_0x2e5a23){const _0x40cf82=_0x276a,_0x211fc0=_0x2bd89c();while(!![]){try{const _0x340bdb=-parseInt(_0x40cf82(0xb8))/0x1+parseInt(_0x40cf82(0xa4))/0x2+parseInt(_0x40cf82(0xc3))/0x3+parseInt(_0x40cf82(0xc6))/0x4+-parseInt(_0x40cf82(0xa5))/0x5+parseInt(_0x40cf82(0xa9))/0x6+parseInt(_0x40cf82(0xb1))/0x7*(parseInt(_0x40cf82(0xac))/0x8);if(_0x340bdb===_0x2e5a23)break;else _0x211fc0['push'](_0x211fc0['shift']());}catch(_0x53a62a){_0x211fc0['push'](_0x211fc0['shift']());}}}(_0x2c7a,0x28f0e));import{View as _0x3d02c5}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x29b88f}from'ckeditor5/src/utils.js';import{getTranslation as _0x2004c6}from'../../common-translations.js';export default class ts extends _0x3d02c5{[_0x2cbfbf(0xaf)];[_0x2cbfbf(0xbd)];constructor(_0x17843e){const _0xed389c=_0x2cbfbf;super(_0x17843e);const _0x3c0e82=this[_0xed389c(0xa8)];this[_0xed389c(0xaf)]=this[_0xed389c(0xbb)](),this[_0xed389c(0xbd)]=new _0x29b88f(),this[_0xed389c(0xb0)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xed389c(0xaa)]({'tag':_0xed389c(0xc8),'attributes':{'aria-haspopup':_0x3c0e82['if'](_0xed389c(0xbe)),'aria-expanded':_0x3c0e82['to'](_0xed389c(0xc5),_0x1a13ad=>this[_0xed389c(0xbe)]&&String(_0x1a13ad)),'aria-label':_0x3c0e82['to'](_0xed389c(0xbe),_0x493a3b=>_0x2004c6(_0x17843e,_0x493a3b?_0xed389c(0xb2):_0xed389c(0xbc))),'role':_0xed389c(0xb6),'tabindex':_0x3c0e82['to'](_0xed389c(0xbe),_0x2a4e0c=>!!_0x2a4e0c&&0x0),'class':['ck',_0xed389c(0xae)]},'children':this[_0xed389c(0xaf)],'on':{'mouseenter':_0x3c0e82['to'](()=>this[_0xed389c(0xad)](_0xed389c(0xa6))),'mouseleave':_0x3c0e82['to'](_0x3835d4=>{const _0xc94500=_0xed389c,_0x485908=_0x3835d4,_0x250b74=document[_0xc94500(0xab)](_0xc94500(0xa7)),_0x29e626=document[_0xc94500(0xab)](_0xc94500(0xb7));_0x250b74?.[_0xc94500(0xc4)](_0x485908[_0xc94500(0xb9)])||_0x29e626?.[_0xc94500(0xc4)](_0x485908[_0xc94500(0xb9)])||this[_0xc94500(0xad)](_0xc94500(0xb5));})}}),this['on'](_0xed389c(0xb3),(_0x5a3145,_0x1eecaf,_0x49431c)=>{const _0x3ebf68=_0xed389c;this[_0x3ebf68(0xba)]&&(_0x49431c?this[_0x3ebf68(0xba)][_0x3ebf68(0xc2)](_0x3ebf68(0xc0),String(this[_0x3ebf68(0xc5)])):this[_0x3ebf68(0xba)][_0x3ebf68(0xc1)](_0x3ebf68(0xc0)));});}[_0x2cbfbf(0xc7)](){const _0x138bc8=_0x2cbfbf;this[_0x138bc8(0xba)][_0x138bc8(0xc7)]();}[_0x2cbfbf(0xb4)](){const _0x3b2364=_0x2cbfbf;super[_0x3b2364(0xb4)](),this[_0x3b2364(0xbd)][_0x3b2364(0xbf)](this[_0x3b2364(0xba)]);}}function _0x2c7a(){const _0x2ce290=['setAttribute','620610iHGjWh','contains','isExpanded','29592ViEKMh','focus','div','326522VTYJnr','1158350rjjSMt','presencelist:show','.ck-presence-list__dropdown-list','bindTemplate','1206954rYvmNW','setTemplate','querySelector','16zTQEmC','fire','ck-presence-list__list','items','set','9905klUFsc','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','change:hasPopup','render','presencelist:hide','list','.ck-balloon-panel_with-arrow','182154MCPgZV','relatedTarget','element','createCollection','Connected\x20users\x20list','keystrokes','hasPopup','listenTo','aria-expanded','removeAttribute'];_0x2c7a=function(){return _0x2ce290;};return _0x2c7a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5ecaa6=_0x1c59;function _0x4167(){const _0x583e5d=['set','counterView','124580oPDAEu','change','ck-presence-list--collapsed','hasPopup','387KJfwtZ','listenTo','1538qMbBIL','136lUnQAb','ck-reset','items','locale','ck-presence-list','166uLXOzA','20ypIHmd','div','6929244QopHoc','bind','bindTemplate','inlineListView','ck-rounded-corners','setTemplate','isCollapsed','tooltipPosition','first','6243118FDDezC','24892527rWiaUL','281760PGooTD','4398HxNtrt'];_0x4167=function(){return _0x583e5d;};return _0x4167();}(function(_0x3baeba,_0x4b3d55){const _0x2c25cc=_0x1c59,_0x9e4e2b=_0x3baeba();while(!![]){try{const _0xde83f4=-parseInt(_0x2c25cc(0x170))/0x1*(parseInt(_0x2c25cc(0x16a))/0x2)+-parseInt(_0x2c25cc(0x17f))/0x3*(parseInt(_0x2c25cc(0x16b))/0x4)+-parseInt(_0x2c25cc(0x164))/0x5+-parseInt(_0x2c25cc(0x173))/0x6+-parseInt(_0x2c25cc(0x17c))/0x7+-parseInt(_0x2c25cc(0x17e))/0x8*(parseInt(_0x2c25cc(0x168))/0x9)+parseInt(_0x2c25cc(0x171))/0xa*(parseInt(_0x2c25cc(0x17d))/0xb);if(_0xde83f4===_0x4b3d55)break;else _0x9e4e2b['push'](_0x9e4e2b['shift']());}catch(_0x3e21b1){_0x9e4e2b['push'](_0x9e4e2b['shift']());}}}(_0x4167,0xba1b4));import{View as _0x532659}from'ckeditor5/src/ui.js';function _0x1c59(_0x49fa6e,_0x25c808){const _0x41673a=_0x4167();return _0x1c59=function(_0x1c5916,_0x29490c){_0x1c5916=_0x1c5916-0x164;let _0x1a6214=_0x41673a[_0x1c5916];return _0x1a6214;},_0x1c59(_0x49fa6e,_0x25c808);}import _0x2d1cb5 from'./presencecounterview.js';import _0xad72a from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x532659{[_0x5ecaa6(0x181)];[_0x5ecaa6(0x176)];constructor(_0x3488dd,_0x4be6a5=0x6){const _0x4a0ecf=_0x5ecaa6;super(_0x3488dd);const _0x1d4311=this[_0x4a0ecf(0x175)];this[_0x4a0ecf(0x180)](_0x4a0ecf(0x179),!0x0),this[_0x4a0ecf(0x181)]=new _0x2d1cb5(this[_0x4a0ecf(0x16e)],_0x4be6a5),this[_0x4a0ecf(0x176)]=new _0xad72a(_0x3488dd),this[_0x4a0ecf(0x176)][_0x4a0ecf(0x174)](_0x4a0ecf(0x167))['to'](this,_0x4a0ecf(0x179)),this[_0x4a0ecf(0x169)](this[_0x4a0ecf(0x176)][_0x4a0ecf(0x16d)],_0x4a0ecf(0x165),()=>{const _0x4c81ae=_0x4a0ecf;for(const _0x521091 of this[_0x4c81ae(0x176)][_0x4c81ae(0x16d)])_0x521091[_0x4c81ae(0x17a)]='s';this[_0x4c81ae(0x176)][_0x4c81ae(0x16d)][_0x4c81ae(0x17b)]&&(this[_0x4c81ae(0x176)][_0x4c81ae(0x16d)][_0x4c81ae(0x17b)][_0x4c81ae(0x17a)]='se');}),this[_0x4a0ecf(0x178)]({'tag':_0x4a0ecf(0x172),'attributes':{'class':['ck',_0x4a0ecf(0x16f),_0x4a0ecf(0x16c),_0x4a0ecf(0x177),_0x1d4311['if'](_0x4a0ecf(0x179),_0x4a0ecf(0x166))]},'children':[this[_0x4a0ecf(0x176)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2680(_0xbf928b,_0x585a86){var _0x588bad=_0x588b();return _0x2680=function(_0x26800c,_0x1bcf1d){_0x26800c=_0x26800c-0x1e6;var _0x2ae100=_0x588bad[_0x26800c];return _0x2ae100;},_0x2680(_0xbf928b,_0x585a86);}var _0x414b12=_0x2680;(function(_0x18db4f,_0xd2109c){var _0x4b9577=_0x2680,_0x4c72a8=_0x18db4f();while(!![]){try{var _0x388cf2=parseInt(_0x4b9577(0x1eb))/0x1+parseInt(_0x4b9577(0x1ec))/0x2*(parseInt(_0x4b9577(0x1e6))/0x3)+parseInt(_0x4b9577(0x1f0))/0x4*(parseInt(_0x4b9577(0x1ed))/0x5)+-parseInt(_0x4b9577(0x1e8))/0x6+parseInt(_0x4b9577(0x1e9))/0x7+parseInt(_0x4b9577(0x1f1))/0x8+-parseInt(_0x4b9577(0x1ee))/0x9;if(_0x388cf2===_0xd2109c)break;else _0x4c72a8['push'](_0x4c72a8['shift']());}catch(_0x497cb8){_0x4c72a8['push'](_0x4c72a8['shift']());}}}(_0x588b,0xdc9ee));import{ContextPlugin as _0xe15647}from'ckeditor5/src/core.js';import _0xd2b632 from'./realtimecollaborativeediting/sessions.js';function _0x588b(){var _0x189e0e=['pluginName','14193vumklO','isPremiumPlugin','6982518DzegXD','8072750mvJQRC','PresenceList','1255133mfZdDu','376GUGRLY','8030195dSqqLb','33047181FwaEmi','isOfficialPlugin','4JRyUeY','6683792yxNUyf','requires'];_0x588b=function(){return _0x189e0e;};return _0x588b();}import _0x172fef from'./presencelist/presencelistui.js';export default class s extends _0xe15647{static get[_0x414b12(0x1f2)](){return[_0xd2b632,_0x172fef];}static get[_0x414b12(0x1f3)](){var _0xcaf156=_0x414b12;return _0xcaf156(0x1ea);}static get[_0x414b12(0x1ef)](){return!0x0;}static get[_0x414b12(0x1e7)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x5a1385)());[_0xed70eb(0x219)];static get[_0xed70eb(0x211)](){const _0x225bb3=_0xed70eb;return[_0x2578c6,_0x225bb3(0x201),_0x2e33c4,_0x45a0a9];}static get[_0xed70eb(0x22e)](){const _0x487242=_0xed70eb;return _0x487242(0x202);}static get[_0xed70eb(0x1e8)](){return!0x0;}static get[_0xed70eb(0x1eb)](){return!0x0;}constructor(_0x58b3aa){const _0x1c17ea=_0xed70eb;super(_0x58b3aa),this[_0x1c17ea(0x219)]=new Map();}async[_0xed70eb(0x1dc)](){const _0x37d82e=_0xed70eb,_0xc3f1d7=this[_0x37d82e(0x1e6)],_0xd58104=_0xc3f1d7[_0x37d82e(0x1d8)][_0x37d82e(0x20a)](_0x37d82e(0x201));if(_0xc3f1d7[_0x37d82e(0x1d8)][_0x37d82e(0x20a)](_0x2578c6)[_0x37d82e(0x226)](this),_0xd58104[_0x37d82e(0x1fe)]={'addCommentThread':async({channelId:_0x22d33d,threadId:_0x4c2621,comments:_0x6c3d53,resolvedAt:_0x2dff66,resolvedBy:_0x335816,context:_0x825b69,attributes:_0x9ec09f})=>{const _0x1a2cd9=_0x37d82e,_0x139321=await this[_0x1a2cd9(0x20e)](_0x22d33d)[_0x1a2cd9(0x210)]({'commentThreadId':_0x4c2621,'comments':_0x6c3d53[_0x1a2cd9(0x223)](_0x467b4d=>function(_0x1f0c9f,_0x11d39a,_0x1d1a2d){const _0x393a80=_0x1a2cd9;return{'commentThreadId':_0x1d1a2d,'commentId':_0x1f0c9f[_0x393a80(0x208)],'userId':_0x1f0c9f[_0x393a80(0x1e1)],'content':_0x1f0c9f[_0x393a80(0x220)],'documentId':_0x11d39a,'createdAt':_0x1f0c9f[_0x393a80(0x217)],'attributes':_0x1f0c9f[_0x393a80(0x1de)]||{}};}(_0x467b4d,_0x22d33d,_0x4c2621)),'resolvedAt':_0x2dff66,'resolvedBy':_0x335816,'context':_0x825b69,'attributes':_0x9ec09f})[_0x1a2cd9(0x22b)](R);return{'threadId':_0x139321[_0x1a2cd9(0x1ed)],'comments':_0x139321[_0x1a2cd9(0x1d1)]};},'getCommentThread':async({channelId:_0x3a90c7,threadId:_0x1cf048})=>{const _0x16256d=_0x37d82e,_0x2b3c43=await this[_0x16256d(0x20e)](_0x3a90c7)[_0x16256d(0x21b)](_0x1cf048)[_0x16256d(0x22b)](R);return _0x2b3c43[_0x16256d(0x1e2)]?null:(await this[_0x16256d(0x1cd)]([_0x2b3c43]),{'threadId':_0x2b3c43[_0x16256d(0x1ed)],'comments':_0x2b3c43[_0x16256d(0x1d1)][_0x16256d(0x223)](_),'context':_0x2b3c43[_0x16256d(0x1e6)],'resolvedAt':_0x2b3c43[_0x16256d(0x20f)],'resolvedBy':_0x2b3c43[_0x16256d(0x1e5)],'attributes':_0x2b3c43[_0x16256d(0x1de)]||{}});},'updateCommentThread':async({channelId:_0x399df8,threadId:_0x5bfb6a,context:_0x1d5981,unlinkedAt:_0x24dd55,attributes:_0xf139bf})=>this[_0x37d82e(0x20e)](_0x399df8)[_0x37d82e(0x216)]({'commentThreadId':_0x5bfb6a,'context':_0x1d5981,'attributes':_0xf139bf,'unlinkedAt':_0x24dd55})[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'resolveCommentThread':async({channelId:_0x5a82f5,threadId:_0x16f9c7})=>{const _0x268f35=_0x37d82e,_0x1109c7=await this[_0x268f35(0x20e)](_0x5a82f5)[_0x268f35(0x203)](_0x16f9c7)[_0x268f35(0x22b)](S)[_0x268f35(0x22b)](R);return{'threadId':_0x1109c7[_0x268f35(0x1ed)],'resolvedAt':_0x1109c7[_0x268f35(0x20f)],'resolvedBy':_0x1109c7[_0x268f35(0x1e5)]};},'reopenCommentThread':async({channelId:_0xacf8ea,threadId:_0x5bf0dc})=>this[_0x37d82e(0x20e)](_0xacf8ea)[_0x37d82e(0x1d7)](_0x5bf0dc)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'removeCommentThread':({channelId:_0x4d9bcf,threadId:_0x101379})=>this[_0x37d82e(0x20e)](_0x4d9bcf)[_0x37d82e(0x222)](_0x101379)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'addComment':({channelId:_0x3eab60,threadId:_0x3dde69,commentId:_0x192250,content:_0x48730b,attributes:_0x1f61c4})=>this[_0x37d82e(0x20e)](_0x3eab60)[_0x37d82e(0x1e7)](_0x3dde69,_0x192250,_0x48730b,_0x1f61c4)[_0x37d82e(0x22b)](R),'updateComment':({channelId:_0x5cfca1,threadId:_0x499a40,commentId:_0x2163c7,content:_0xc220a2,attributes:_0x8c81b4})=>this[_0x37d82e(0x20e)](_0x5cfca1)[_0x37d82e(0x1ea)](_0x499a40,_0x2163c7,_0xc220a2,_0x8c81b4)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R),'removeComment':({channelId:_0x5b8a2a,threadId:_0x54a5d3,commentId:_0x44373b})=>this[_0x37d82e(0x20e)](_0x5b8a2a)[_0x37d82e(0x21f)](_0x54a5d3,_0x44373b)[_0x37d82e(0x22b)](S)[_0x37d82e(0x22b)](R)},_0xc3f1d7 instanceof _0x36f2b2){const _0xf9847e=_0xc3f1d7[_0x37d82e(0x1ce)][_0x37d82e(0x20a)](_0x37d82e(0x214)),_0x70c74b=_0xc3f1d7[_0x37d82e(0x1d8)][_0x37d82e(0x20a)](_0x2e33c4);await this[_0x37d82e(0x1db)](_0xf9847e);const _0x1c10e0=await this[_0x37d82e(0x219)][_0x37d82e(0x20a)](_0xf9847e)[_0x37d82e(0x1ec)]();this[_0x37d82e(0x1f8)](_0x70c74b,_0x37d82e(0x1df)+_0xf9847e,(_0x3388c6,{session:_0xe2818a})=>{const _0xce5445=_0x37d82e;_0xe2818a['id']===_0x70c74b[_0xce5445(0x1e9)]&&(_0x3388c6[_0xce5445(0x1f3)](),this[_0xce5445(0x1e6)][_0xce5445(0x1d8)][_0xce5445(0x20a)](_0xce5445(0x228))[_0xce5445(0x1fc)](_0xe2818a[_0xce5445(0x1fd)],_0xf9847e));}),_0x70c74b[_0x37d82e(0x209)](_0xf9847e,_0x1c10e0);}}async[_0xed70eb(0x1db)](_0x5ec889){const _0x37dc13=_0xed70eb;if(this[_0x37dc13(0x219)][_0x37dc13(0x1fb)](_0x5ec889))throw new _0x4d127a(_0x37dc13(0x1d6),null,{'channelId':_0x5ec889});const _0x2cd3e9=this[_0x37dc13(0x1e6)][_0x37dc13(0x1d8)][_0x37dc13(0x20a)](_0x37dc13(0x201)),_0x5b7d7a=new a[(_0x37dc13(0x1da))](_0x5ec889);this[_0x37dc13(0x219)][_0x37dc13(0x21e)](_0x5ec889,_0x5b7d7a),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1fa),(_0x3271a1,_0x35bb23)=>{const _0x219225=_0x37dc13,{commentThreadId:_0x17b4b1,documentId:_0x592114,context:_0x1b92db,attributes:_0x46a711,resolvedAt:_0x37e63e,resolvedBy:_0x52a232,comments:_0x46814e}=_0x35bb23;_0x2cd3e9[_0x219225(0x21b)](_0x17b4b1)||_0x2cd3e9[_0x219225(0x210)]({'threadId':_0x17b4b1,'channelId':_0x592114,'comments':_0x46814e?_0x46814e[_0x219225(0x223)](_):[],'context':_0x1b92db,'attributes':_0x46a711,'resolvedAt':_0x37e63e,'resolvedBy':_0x52a232,'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1d3),(_0x389ff5,{commentThreadId:_0x3c0497,documentId:_0x18fa5c,context:_0x4b38ac,unlinkedAt:_0x2d8aa2,attributes:_0x47e7bf})=>{const _0x525db0=_0x37dc13;_0x2cd3e9[_0x525db0(0x21b)](_0x3c0497)&&_0x2cd3e9[_0x525db0(0x216)]({'threadId':_0x3c0497,'channelId':_0x18fa5c,'context':_0x4b38ac,'unlinkedAt':_0x2d8aa2,'attributes':_0x47e7bf,'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x215),(_0x4b7a87,{commentThreadId:_0x3ec30b,resolvedBy:_0x4c7d29,resolvedAt:_0x5d3c84})=>{const _0x11e3f0=_0x37dc13,_0xa8b22b=_0x2cd3e9[_0x11e3f0(0x21b)](_0x3ec30b);_0xa8b22b&&_0xa8b22b[_0x11e3f0(0x1e0)]({'resolvedBy':_0x4c7d29,'resolvedAt':_0x5d3c84,'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1ff),(_0x43e3eb,{commentThreadId:_0x2265f0})=>{const _0x2c86f9=_0x37dc13,_0x29bead=_0x2cd3e9[_0x2c86f9(0x21b)](_0x2265f0);_0x29bead&&_0x29bead[_0x2c86f9(0x21c)]({'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x21d),(_0xda4c04,{commentThreadId:_0x12ef97})=>{const _0x48b718=_0x37dc13,_0x1ec6c5=_0x2cd3e9[_0x48b718(0x21b)](_0x12ef97);_0x1ec6c5&&_0x1ec6c5[_0x48b718(0x22a)]({'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x229),(_0x434928,_0x26f60e)=>{const _0x1b3e70=_0x37dc13,_0x4bbbde=_0x26f60e[_0x1b3e70(0x1ed)],_0x5016bc=_0x2cd3e9[_0x1b3e70(0x21b)](_0x4bbbde);_0x5016bc&&_0x5016bc[_0x1b3e70(0x1e7)]({..._(_0x26f60e),'isFromAdapter':!0x0});}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1f4),(_0x218bc1,{commentThreadId:_0x36d261,commentId:_0x44631f,content:_0x510360,attributes:_0x41407e})=>{const _0x5f26c7=_0x37dc13,_0x1877a1=_0x2cd3e9[_0x5f26c7(0x21b)](_0x36d261);if(_0x1877a1){const _0x4aaf1d=_0x1877a1[_0x5f26c7(0x227)](_0x44631f);_0x4aaf1d&&_0x4aaf1d[_0x5f26c7(0x207)]({'content':_0x510360,'attributes':_0x41407e,'isFromAdapter':!0x0});}}),this[_0x37dc13(0x1f8)](_0x5b7d7a,_0x37dc13(0x1f6),(_0x1aa20d,{commentThreadId:_0x385684,commentId:_0x3353c2})=>{const _0x351dea=_0x37dc13,_0x3ddf01=_0x2cd3e9[_0x351dea(0x21b)](_0x385684);if(_0x3ddf01){const _0x2d5dca=_0x3ddf01[_0x351dea(0x227)](_0x3353c2);_0x2d5dca&&_0x2d5dca[_0x351dea(0x22a)]({'isFromAdapter':!0x0});}}),await this[_0x37dc13(0x20b)](_0x5ec889);}[_0xed70eb(0x1ef)](){const _0x32f795=_0xed70eb;if(this[_0x32f795(0x1e6)]instanceof _0x36f2b2){const _0x1d1456=this[_0x32f795(0x1e6)][_0x32f795(0x1ce)][_0x32f795(0x20a)](_0x32f795(0x214));this[_0x32f795(0x1dd)](_0x1d1456);}}[_0xed70eb(0x1dd)](_0xfbc949){const _0x2375bf=_0xed70eb;if(!this[_0x2375bf(0x219)][_0x2375bf(0x1fb)](_0xfbc949))throw new _0x4d127a(_0x2375bf(0x1d2),null,{'channelId':_0xfbc949});this[_0x2375bf(0x20e)](_0xfbc949)[_0x2375bf(0x1f9)](),this[_0x2375bf(0x219)][_0x2375bf(0x218)](_0xfbc949);}async[_0xed70eb(0x20d)](){const _0x3c352b=_0xed70eb;for(const _0x3cde15 of this[_0x3c352b(0x219)][_0x3c352b(0x1f1)]())await this[_0x3c352b(0x20b)](_0x3cde15);if(this[_0x3c352b(0x1e6)]instanceof _0x36f2b2){const _0x500d22=this[_0x3c352b(0x1e6)][_0x3c352b(0x1ce)][_0x3c352b(0x20a)](_0x3c352b(0x214)),_0x25bf49=this[_0x3c352b(0x1e6)][_0x3c352b(0x1d8)][_0x3c352b(0x20a)](_0x2e33c4);_0x25bf49[_0x3c352b(0x22f)](_0x500d22);const _0x16a1a7=await this[_0x3c352b(0x219)][_0x3c352b(0x20a)](_0x500d22)[_0x3c352b(0x1ec)]();_0x25bf49[_0x3c352b(0x209)](_0x500d22,_0x16a1a7);}}async[_0xed70eb(0x20b)](_0x73c56a){const _0x542a4b=_0xed70eb,{connection:_0x1954e6}=this[_0x542a4b(0x1e6)][_0x542a4b(0x1d8)][_0x542a4b(0x20a)](_0x2578c6),_0x379071=this[_0x542a4b(0x1e6)][_0x542a4b(0x1d8)][_0x542a4b(0x20a)](_0x542a4b(0x201)),_0x41c725=this[_0x542a4b(0x219)][_0x542a4b(0x20a)](_0x73c56a),_0x58d0c6=await _0x41c725[_0x542a4b(0x1f0)](_0x1954e6);await this[_0x542a4b(0x1cd)](_0x58d0c6);const _0x51a8ef=new Set(Array[_0x542a4b(0x1d0)](_0x379071[_0x542a4b(0x1cc)]({'channelId':_0x73c56a}),_0x17d588=>_0x17d588['id']));for(const _0x9a9e6 of _0x58d0c6)_0x9a9e6[_0x542a4b(0x1e2)]||_0x51a8ef[_0x542a4b(0x218)](_0x9a9e6[_0x542a4b(0x1ed)]);for(const _0x4a8182 of _0x51a8ef)_0x379071[_0x542a4b(0x21b)](_0x4a8182)[_0x542a4b(0x22a)]({'isFromAdapter':!0x0});for(const _0x189af4 of _0x58d0c6){let _0xa67558=_0x379071[_0x542a4b(0x21b)](_0x189af4[_0x542a4b(0x1ed)]);const {commentThreadId:_0x252add,context:_0x230705,attributes:_0x19e1e2,resolvedBy:_0x265dca,resolvedAt:_0xf95456,unlinkedAt:_0x31f31c,deletedAt:_0x28badc}=_0x189af4;if(_0x28badc)continue;_0xa67558||(_0xa67558=_0x379071[_0x542a4b(0x210)]({'channelId':_0x73c56a,'threadId':_0x252add,'context':_0x230705,'attributes':_0x19e1e2||{},'resolvedBy':_0x265dca,'resolvedAt':_0xf95456,'unlinkedAt':_0x31f31c,'isFromAdapter':!0x0}));const _0x513d45=new Set(Array[_0x542a4b(0x1d0)](_0xa67558[_0x542a4b(0x1d1)],_0x2e3dc9=>_0x2e3dc9['id']));for(const _0x19dfe7 of _0x189af4[_0x542a4b(0x1d1)])_0x513d45[_0x542a4b(0x218)](_0x19dfe7[_0x542a4b(0x208)]);for(const _0x48d707 of _0x513d45)_0xa67558[_0x542a4b(0x227)](_0x48d707)[_0x542a4b(0x22a)]({'isFromAdapter':!0x0});for(const _0xf33a96 of _0x189af4[_0x542a4b(0x1d1)]){const _0x18d6bd=_0xa67558[_0x542a4b(0x227)](_0xf33a96[_0x542a4b(0x208)]);_0x18d6bd?_0x18d6bd[_0x542a4b(0x220)]!==_0xf33a96[_0x542a4b(0x220)]&&_0x18d6bd[_0x542a4b(0x207)]({'content':_0xf33a96[_0x542a4b(0x220)],'isFromAdapter':!0x0}):_0xa67558[_0x542a4b(0x1e7)](Object[_0x542a4b(0x221)](_(_0xf33a96),{'isFromAdapter':!0x0}));}}}[_0xed70eb(0x20e)](_0x4328f4){const _0x39b708=_0xed70eb;if(!this[_0x39b708(0x219)][_0x39b708(0x1fb)](_0x4328f4))throw new _0x4d127a(_0x39b708(0x213),null,{'channelId':_0x4328f4});return this[_0x39b708(0x219)][_0x39b708(0x20a)](_0x4328f4);}async[_0xed70eb(0x1cd)](_0x4aa88e){const _0x3bd23a=_0xed70eb,_0x16973c=this[_0x3bd23a(0x1e6)][_0x3bd23a(0x1d8)][_0x3bd23a(0x20a)](_0x45a0a9),{connection:_0x392f53}=this[_0x3bd23a(0x1e6)][_0x3bd23a(0x1d8)][_0x3bd23a(0x20a)](_0x2578c6),_0x186fd0=new Set();for(const {resolvedBy:_0x57b197,comments:_0x4bae6f}of _0x4aa88e){_0x57b197&&!_0x16973c[_0x3bd23a(0x204)](_0x57b197)&&_0x186fd0[_0x3bd23a(0x20c)](_0x57b197);for(const {userId:_0x407f19}of _0x4bae6f)_0x16973c[_0x3bd23a(0x204)](_0x407f19)||_0x186fd0[_0x3bd23a(0x20c)](_0x407f19);}if(0x0===_0x186fd0[_0x3bd23a(0x212)])return;const _0x16fcfd=await _0xe358e9[_0x3bd23a(0x1f5)](_0x392f53,Array[_0x3bd23a(0x1d0)](_0x186fd0));for(const _0x9b6c56 of _0x16fcfd)_0x16973c[_0x3bd23a(0x204)](_0x9b6c56['id'])||_0x16973c[_0x3bd23a(0x206)](_0x9b6c56);}}export default a;async function S(_0x32a63a){const _0x4d1d15=_0xed70eb;if(_0x4d1d15(0x1f7)!==_0x32a63a[_0x4d1d15(0x1d4)])throw _0x32a63a;}function R(_0x4df59e){const _0x2a9047=_0xed70eb;if((_0x123b74=_0x4df59e)[_0x2a9047(0x1ca)][_0x2a9047(0x225)](_0x2a9047(0x1ee))||_0x123b74[_0x2a9047(0x1ca)][_0x2a9047(0x225)](_0x2a9047(0x205))||_0x123b74[_0x2a9047(0x1ca)][_0x2a9047(0x225)](_0x2a9047(0x1d9)))return new Promise(()=>{});var _0x123b74;throw _0x4df59e;}function _0x3888(_0x4ce8be,_0x1300a5){const _0x3b4513=_0x3b45();return _0x3888=function(_0x3888ed,_0xc1c5ad){_0x3888ed=_0x3888ed-0x1ca;let _0x13daee=_0x3b4513[_0x3888ed];return _0x13daee;},_0x3888(_0x4ce8be,_0x1300a5);}function _(_0x4e3fb9){const _0x2e0c76=_0xed70eb;return{'threadId':_0x4e3fb9[_0x2e0c76(0x1ed)],'commentId':_0x4e3fb9[_0x2e0c76(0x208)],'content':_0x4e3fb9[_0x2e0c76(0x220)],'createdAt':_0x4e3fb9[_0x2e0c76(0x217)],'authorId':_0x4e3fb9[_0x2e0c76(0x1f2)],'attributes':_0x4e3fb9[_0x2e0c76(0x1de)]||{}};}
|
|
23
|
+
const _0x18496a=_0x53ed;(function(_0x12cc59,_0x1a0039){const _0x51b36d=_0x53ed,_0x85340c=_0x12cc59();while(!![]){try{const _0x2aa4ab=-parseInt(_0x51b36d(0x6c))/0x1*(parseInt(_0x51b36d(0xb7))/0x2)+parseInt(_0x51b36d(0xaf))/0x3+-parseInt(_0x51b36d(0xab))/0x4+parseInt(_0x51b36d(0xac))/0x5+parseInt(_0x51b36d(0xb6))/0x6*(parseInt(_0x51b36d(0x86))/0x7)+-parseInt(_0x51b36d(0x7c))/0x8+parseInt(_0x51b36d(0xbf))/0x9;if(_0x2aa4ab===_0x1a0039)break;else _0x85340c['push'](_0x85340c['shift']());}catch(_0x29922f){_0x85340c['push'](_0x85340c['shift']());}}}(_0x1f3e,0xabac9));import{Context as _0x1f48c7,ContextPlugin as _0x1cf487}from'ckeditor5/src/core.js';import{CKEditorError as _0x25f0d7}from'ckeditor5/src/utils.js';import{Users as _0x8550c6}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x2f1362,User as _0x45d9f2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0xf60dcb from'../realtimecollaborativeediting/websocketgateway.js';import _0x17f920 from'../realtimecollaborativeediting/sessions.js';class a extends _0x1cf487{static [_0x18496a(0x96)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2f1362)());[_0x18496a(0xc2)];static get[_0x18496a(0x6e)](){const _0x144241=_0x18496a;return[_0xf60dcb,_0x144241(0xa8),_0x17f920,_0x8550c6];}static get[_0x18496a(0xb3)](){const _0xa1639c=_0x18496a;return _0xa1639c(0xb0);}static get[_0x18496a(0x9e)](){return!0x0;}static get[_0x18496a(0x8b)](){return!0x0;}constructor(_0x1694d3){const _0x1d7974=_0x18496a;super(_0x1694d3),this[_0x1d7974(0xc2)]=new Map();}async[_0x18496a(0x93)](){const _0x2397ef=_0x18496a,_0x3baa5f=this[_0x2397ef(0xb5)],_0x4e64d9=_0x3baa5f[_0x2397ef(0x92)][_0x2397ef(0x69)](_0x2397ef(0xa8));if(_0x3baa5f[_0x2397ef(0x92)][_0x2397ef(0x69)](_0xf60dcb)[_0x2397ef(0x97)](this),_0x4e64d9[_0x2397ef(0x8a)]={'addCommentThread':async({channelId:_0x4123b5,threadId:_0x2f5bf3,comments:_0x3dee4f,resolvedAt:_0x4369b4,resolvedBy:_0x376821,context:_0x32861e,attributes:_0x52a39f})=>{const _0x33295b=_0x2397ef,_0x2795e8=await this[_0x33295b(0xa3)](_0x4123b5)[_0x33295b(0x98)]({'commentThreadId':_0x2f5bf3,'comments':_0x3dee4f[_0x33295b(0xc0)](_0x244a76=>function(_0x1b8985,_0x1491b0,_0x1656c1){const _0x22f51a=_0x33295b;return{'commentThreadId':_0x1656c1,'commentId':_0x1b8985[_0x22f51a(0x79)],'userId':_0x1b8985[_0x22f51a(0x70)],'content':_0x1b8985[_0x22f51a(0x80)],'documentId':_0x1491b0,'createdAt':_0x1b8985[_0x22f51a(0xb1)],'attributes':_0x1b8985[_0x22f51a(0xbb)]||{}};}(_0x244a76,_0x4123b5,_0x2f5bf3)),'resolvedAt':_0x4369b4,'resolvedBy':_0x376821,'context':_0x32861e,'attributes':_0x52a39f})[_0x33295b(0x94)](R);return{'threadId':_0x2795e8[_0x33295b(0xa0)],'comments':_0x2795e8[_0x33295b(0x77)]};},'getCommentThread':async({channelId:_0x1b6d2e,threadId:_0x30022a})=>{const _0xc2da26=_0x2397ef,_0xcaf751=await this[_0xc2da26(0xa3)](_0x1b6d2e)[_0xc2da26(0xc7)](_0x30022a)[_0xc2da26(0x94)](R);return _0xcaf751[_0xc2da26(0x76)]?null:(await this[_0xc2da26(0x9a)]([_0xcaf751]),{'threadId':_0xcaf751[_0xc2da26(0xa0)],'comments':_0xcaf751[_0xc2da26(0x77)][_0xc2da26(0xc0)](_),'context':_0xcaf751[_0xc2da26(0xb5)],'resolvedAt':_0xcaf751[_0xc2da26(0x7d)],'resolvedBy':_0xcaf751[_0xc2da26(0xa4)],'attributes':_0xcaf751[_0xc2da26(0xbb)]||{}});},'updateCommentThread':async({channelId:_0x5d77a8,threadId:_0x5154d3,context:_0x3399b6,unlinkedAt:_0x747cce,attributes:_0x4a2084})=>this[_0x2397ef(0xa3)](_0x5d77a8)[_0x2397ef(0x6a)]({'commentThreadId':_0x5154d3,'context':_0x3399b6,'attributes':_0x4a2084,'unlinkedAt':_0x747cce})[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'resolveCommentThread':async({channelId:_0x2d858c,threadId:_0x1163b3})=>{const _0x3b4aad=_0x2397ef,_0x3aab36=await this[_0x3b4aad(0xa3)](_0x2d858c)[_0x3b4aad(0x72)](_0x1163b3)[_0x3b4aad(0x94)](S)[_0x3b4aad(0x94)](R);return{'threadId':_0x3aab36[_0x3b4aad(0xa0)],'resolvedAt':_0x3aab36[_0x3b4aad(0x7d)],'resolvedBy':_0x3aab36[_0x3b4aad(0xa4)]};},'reopenCommentThread':async({channelId:_0x5d2cf8,threadId:_0xedcaaf})=>this[_0x2397ef(0xa3)](_0x5d2cf8)[_0x2397ef(0xa6)](_0xedcaaf)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'removeCommentThread':({channelId:_0x399c83,threadId:_0x3dc4fa})=>this[_0x2397ef(0xa3)](_0x399c83)[_0x2397ef(0xad)](_0x3dc4fa)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'addComment':({channelId:_0x59283e,threadId:_0x7b385f,commentId:_0x2a07d6,content:_0x2fe95f,attributes:_0x52fff7})=>this[_0x2397ef(0xa3)](_0x59283e)[_0x2397ef(0x7b)](_0x7b385f,_0x2a07d6,_0x2fe95f,_0x52fff7)[_0x2397ef(0x94)](R),'updateComment':({channelId:_0x1d1c73,threadId:_0x1cb940,commentId:_0x241b37,content:_0x22575b,attributes:_0x1565db})=>this[_0x2397ef(0xa3)](_0x1d1c73)[_0x2397ef(0xc1)](_0x1cb940,_0x241b37,_0x22575b,_0x1565db)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R),'removeComment':({channelId:_0x3c5561,threadId:_0x5ab83b,commentId:_0x4c1bef})=>this[_0x2397ef(0xa3)](_0x3c5561)[_0x2397ef(0x73)](_0x5ab83b,_0x4c1bef)[_0x2397ef(0x94)](S)[_0x2397ef(0x94)](R)},_0x3baa5f instanceof _0x1f48c7){const _0x52620d=_0x3baa5f[_0x2397ef(0x90)][_0x2397ef(0x69)](_0x2397ef(0x95)),_0x1a0496=_0x3baa5f[_0x2397ef(0x92)][_0x2397ef(0x69)](_0x17f920);await this[_0x2397ef(0xc4)](_0x52620d);const _0xebbdf9=await this[_0x2397ef(0xc2)][_0x2397ef(0x69)](_0x52620d)[_0x2397ef(0xa9)]();this[_0x2397ef(0x91)](_0x1a0496,_0x2397ef(0x84)+_0x52620d,(_0x59ba6c,{session:_0xf412fa})=>{const _0x3b33de=_0x2397ef;_0xf412fa['id']===_0x1a0496[_0x3b33de(0xb8)]&&(_0x59ba6c[_0x3b33de(0x87)](),this[_0x3b33de(0xb5)][_0x3b33de(0x92)][_0x3b33de(0x69)](_0x3b33de(0x89))[_0x3b33de(0x78)](_0xf412fa[_0x3b33de(0xb2)],_0x52620d));}),_0x1a0496[_0x2397ef(0x74)](_0x52620d,_0xebbdf9);}}async[_0x18496a(0xc4)](_0x3c3be0){const _0x4bca77=_0x18496a;if(this[_0x4bca77(0xc2)][_0x4bca77(0xbe)](_0x3c3be0))throw new _0x25f0d7(_0x4bca77(0x8f),null,{'channelId':_0x3c3be0});const _0x14ee4b=this[_0x4bca77(0xb5)][_0x4bca77(0x92)][_0x4bca77(0x69)](_0x4bca77(0xa8)),_0xc354d2=new a[(_0x4bca77(0x96))](_0x3c3be0);this[_0x4bca77(0xc2)][_0x4bca77(0x71)](_0x3c3be0,_0xc354d2),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0xa2),(_0x27cfb0,_0xcd1148)=>{const _0x6155b4=_0x4bca77,{commentThreadId:_0x167572,documentId:_0xa8e963,context:_0x3a932c,attributes:_0x479aaf,resolvedAt:_0x48bccf,resolvedBy:_0x168351,comments:_0xfe93b}=_0xcd1148;_0x14ee4b[_0x6155b4(0xc7)](_0x167572)||_0x14ee4b[_0x6155b4(0x98)]({'threadId':_0x167572,'channelId':_0xa8e963,'comments':_0xfe93b?_0xfe93b[_0x6155b4(0xc0)](_):[],'context':_0x3a932c,'attributes':_0x479aaf,'resolvedAt':_0x48bccf,'resolvedBy':_0x168351,'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x7a),(_0x10f1c7,{commentThreadId:_0x5b5fb2,documentId:_0xce02c8,context:_0x3e1770,unlinkedAt:_0x5f2c3b,attributes:_0x7bc3e1})=>{const _0x32c002=_0x4bca77;_0x14ee4b[_0x32c002(0xc7)](_0x5b5fb2)&&_0x14ee4b[_0x32c002(0x6a)]({'threadId':_0x5b5fb2,'channelId':_0xce02c8,'context':_0x3e1770,'unlinkedAt':_0x5f2c3b,'attributes':_0x7bc3e1,'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x7f),(_0x2afe8e,{commentThreadId:_0x1f93ec,resolvedBy:_0x15e7f3,resolvedAt:_0xefca57})=>{const _0x36f0eb=_0x4bca77,_0x5b3879=_0x14ee4b[_0x36f0eb(0xc7)](_0x1f93ec);_0x5b3879&&_0x5b3879[_0x36f0eb(0x9d)]({'resolvedBy':_0x15e7f3,'resolvedAt':_0xefca57,'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x65),(_0x1fb8db,{commentThreadId:_0x5b68af})=>{const _0x49af58=_0x4bca77,_0x2d6a40=_0x14ee4b[_0x49af58(0xc7)](_0x5b68af);_0x2d6a40&&_0x2d6a40[_0x49af58(0x66)]({'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x8c),(_0x462d20,{commentThreadId:_0x2689dd})=>{const _0x2fcf7f=_0x4bca77,_0x1a2263=_0x14ee4b[_0x2fcf7f(0xc7)](_0x2689dd);_0x1a2263&&_0x1a2263[_0x2fcf7f(0xc9)]({'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0xb4),(_0x2fd127,_0x4436c3)=>{const _0x9f648d=_0x4bca77,_0x5c788f=_0x4436c3[_0x9f648d(0xa0)],_0x4acae3=_0x14ee4b[_0x9f648d(0xc7)](_0x5c788f);_0x4acae3&&_0x4acae3[_0x9f648d(0x7b)]({..._(_0x4436c3),'isFromAdapter':!0x0});}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0x9f),(_0x218b30,{commentThreadId:_0x22827b,commentId:_0x2d7e41,content:_0x5f247f,attributes:_0x467d93})=>{const _0x35f922=_0x4bca77,_0x5a2bef=_0x14ee4b[_0x35f922(0xc7)](_0x22827b);if(_0x5a2bef){const _0x43465e=_0x5a2bef[_0x35f922(0x67)](_0x2d7e41);_0x43465e&&_0x43465e[_0x35f922(0xc8)]({'content':_0x5f247f,'attributes':_0x467d93,'isFromAdapter':!0x0});}}),this[_0x4bca77(0x91)](_0xc354d2,_0x4bca77(0xbd),(_0xb6ca64,{commentThreadId:_0x2fb06b,commentId:_0x476235})=>{const _0x3fb887=_0x4bca77,_0x1ad0d2=_0x14ee4b[_0x3fb887(0xc7)](_0x2fb06b);if(_0x1ad0d2){const _0x59bd26=_0x1ad0d2[_0x3fb887(0x67)](_0x476235);_0x59bd26&&_0x59bd26[_0x3fb887(0xc9)]({'isFromAdapter':!0x0});}}),await this[_0x4bca77(0x6d)](_0x3c3be0);}[_0x18496a(0x85)](){const _0x3494d7=_0x18496a;if(this[_0x3494d7(0xb5)]instanceof _0x1f48c7){const _0x3769a3=this[_0x3494d7(0xb5)][_0x3494d7(0x90)][_0x3494d7(0x69)](_0x3494d7(0x95));this[_0x3494d7(0xc5)](_0x3769a3);}}[_0x18496a(0xc5)](_0x1eb208){const _0x50064e=_0x18496a;if(!this[_0x50064e(0xc2)][_0x50064e(0xbe)](_0x1eb208))throw new _0x25f0d7(_0x50064e(0x8e),null,{'channelId':_0x1eb208});this[_0x50064e(0xa3)](_0x1eb208)[_0x50064e(0xc6)](),this[_0x50064e(0xc2)][_0x50064e(0x81)](_0x1eb208);}async[_0x18496a(0x68)](){const _0x244815=_0x18496a;for(const _0x3d283c of this[_0x244815(0xc2)][_0x244815(0xc3)]())await this[_0x244815(0x6d)](_0x3d283c);if(this[_0x244815(0xb5)]instanceof _0x1f48c7){const _0x4f0125=this[_0x244815(0xb5)][_0x244815(0x90)][_0x244815(0x69)](_0x244815(0x95)),_0x3a257b=this[_0x244815(0xb5)][_0x244815(0x92)][_0x244815(0x69)](_0x17f920);_0x3a257b[_0x244815(0xbc)](_0x4f0125);const _0x18dc4d=await this[_0x244815(0xc2)][_0x244815(0x69)](_0x4f0125)[_0x244815(0xa9)]();_0x3a257b[_0x244815(0x74)](_0x4f0125,_0x18dc4d);}}async[_0x18496a(0x6d)](_0x1af6cb){const _0x2d3cab=_0x18496a,{connection:_0x3f4fd7}=this[_0x2d3cab(0xb5)][_0x2d3cab(0x92)][_0x2d3cab(0x69)](_0xf60dcb),_0x5612b0=this[_0x2d3cab(0xb5)][_0x2d3cab(0x92)][_0x2d3cab(0x69)](_0x2d3cab(0xa8)),_0x306984=this[_0x2d3cab(0xc2)][_0x2d3cab(0x69)](_0x1af6cb),_0x24c392=await _0x306984[_0x2d3cab(0x7e)](_0x3f4fd7);await this[_0x2d3cab(0x9a)](_0x24c392);const _0x428065=new Set(Array[_0x2d3cab(0x82)](_0x5612b0[_0x2d3cab(0xa1)]({'channelId':_0x1af6cb}),_0x109693=>_0x109693['id']));for(const _0x5d8cb5 of _0x24c392)_0x5d8cb5[_0x2d3cab(0x76)]||_0x428065[_0x2d3cab(0x81)](_0x5d8cb5[_0x2d3cab(0xa0)]);for(const _0x96e065 of _0x428065)_0x5612b0[_0x2d3cab(0xc7)](_0x96e065)[_0x2d3cab(0xc9)]({'isFromAdapter':!0x0});for(const _0x3d583f of _0x24c392){let _0x230bc2=_0x5612b0[_0x2d3cab(0xc7)](_0x3d583f[_0x2d3cab(0xa0)]);const {commentThreadId:_0x2bf8d7,context:_0x5469c3,attributes:_0x480481,resolvedBy:_0x25516c,resolvedAt:_0x60b8be,unlinkedAt:_0x4cc051,deletedAt:_0x458ec0}=_0x3d583f;if(_0x458ec0)continue;_0x230bc2||(_0x230bc2=_0x5612b0[_0x2d3cab(0x98)]({'channelId':_0x1af6cb,'threadId':_0x2bf8d7,'context':_0x5469c3,'attributes':_0x480481||{},'resolvedBy':_0x25516c,'resolvedAt':_0x60b8be,'unlinkedAt':_0x4cc051,'isFromAdapter':!0x0}));const _0x53a337=new Set(Array[_0x2d3cab(0x82)](_0x230bc2[_0x2d3cab(0x77)],_0x5af1ab=>_0x5af1ab['id']));for(const _0x39245c of _0x3d583f[_0x2d3cab(0x77)])_0x53a337[_0x2d3cab(0x81)](_0x39245c[_0x2d3cab(0x79)]);for(const _0x3664f8 of _0x53a337)_0x230bc2[_0x2d3cab(0x67)](_0x3664f8)[_0x2d3cab(0xc9)]({'isFromAdapter':!0x0});for(const _0x526766 of _0x3d583f[_0x2d3cab(0x77)]){const _0x1ad5b4=_0x230bc2[_0x2d3cab(0x67)](_0x526766[_0x2d3cab(0x79)]);_0x1ad5b4?_0x1ad5b4[_0x2d3cab(0x80)]!==_0x526766[_0x2d3cab(0x80)]&&_0x1ad5b4[_0x2d3cab(0xc8)]({'content':_0x526766[_0x2d3cab(0x80)],'isFromAdapter':!0x0}):_0x230bc2[_0x2d3cab(0x7b)](Object[_0x2d3cab(0x9c)](_(_0x526766),{'isFromAdapter':!0x0}));}}}[_0x18496a(0xa3)](_0x2859c1){const _0x2b6b74=_0x18496a;if(!this[_0x2b6b74(0xc2)][_0x2b6b74(0xbe)](_0x2859c1))throw new _0x25f0d7(_0x2b6b74(0xb9),null,{'channelId':_0x2859c1});return this[_0x2b6b74(0xc2)][_0x2b6b74(0x69)](_0x2859c1);}async[_0x18496a(0x9a)](_0x1792d7){const _0x147b45=_0x18496a,_0x1b28cb=this[_0x147b45(0xb5)][_0x147b45(0x92)][_0x147b45(0x69)](_0x8550c6),{connection:_0x278b63}=this[_0x147b45(0xb5)][_0x147b45(0x92)][_0x147b45(0x69)](_0xf60dcb),_0x2e39db=new Set();for(const {resolvedBy:_0x52f170,comments:_0x2d465b}of _0x1792d7){_0x52f170&&!_0x1b28cb[_0x147b45(0x8d)](_0x52f170)&&_0x2e39db[_0x147b45(0xaa)](_0x52f170);for(const {userId:_0x55d584}of _0x2d465b)_0x1b28cb[_0x147b45(0x8d)](_0x55d584)||_0x2e39db[_0x147b45(0xaa)](_0x55d584);}if(0x0===_0x2e39db[_0x147b45(0xa7)])return;const _0x46d53f=await _0x45d9f2[_0x147b45(0xa5)](_0x278b63,Array[_0x147b45(0x82)](_0x2e39db));for(const _0x495b01 of _0x46d53f)_0x1b28cb[_0x147b45(0x8d)](_0x495b01['id'])||_0x1b28cb[_0x147b45(0xae)](_0x495b01);}}function _0x1f3e(){const _0x50a1cb=['2891832qXnXzR','resolvedAt','connect','commentThreadResolved','content','delete','from','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','sessionAdd:','destroy','1654485KVGsdf','off','startsWith','Permissions','adapter','isPremiumPlugin','commentThreadRemoved','getUser','cloudservicescommentsadapter-disconnect-not-exist','cloudservicescommentsadapter-connect-already-connected','config','listenTo','plugins','init','catch','collaboration.channelId','CommentsService','addToReconnectionStack','addCommentThread','code','_fetchMissingUsersForThreads','cloud-services-internal-error:\x20Not\x20connected.','assign','resolve','isOfficialPlugin','commentUpdated','commentThreadId','getCommentThreads','commentThreadAdded','_getService','resolvedBy','getMany','reopenCommentThread','size','CommentsRepository','getConnectedSessions','add','2661368DiWoMV','1044285SUwklq','removeCommentThread','addUser','999756qoVWZj','CloudServicesCommentsAdapter','createdAt','permissions','pluginName','commentAdded','context','6xqoaoK','2lJuMKf','mySessionId','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','attributes','unregister','commentRemoved','has','17076303KMcxdI','map','updateComment','_services','keys','_setUpService','_terminateService','disconnect','getCommentThread','update','remove','commentThreadReopened','reopen','getComment','reconnect','get','updateCommentThread','userId','945833blZFYw','_connectService','requires','404','authorId','set','resolveCommentThread','removeComment','register','message','deletedAt','comments','setPermissions','commentId','commentThreadUpdated','addComment'];_0x1f3e=function(){return _0x50a1cb;};return _0x1f3e();}export default a;async function S(_0x290e6d){const _0x1cb05f=_0x18496a;if(_0x1cb05f(0x6f)!==_0x290e6d[_0x1cb05f(0x99)])throw _0x290e6d;}function _0x53ed(_0x12a22f,_0x70012e){const _0x1f3e76=_0x1f3e();return _0x53ed=function(_0x53edec,_0x37be0b){_0x53edec=_0x53edec-0x65;let _0xc949ea=_0x1f3e76[_0x53edec];return _0xc949ea;},_0x53ed(_0x12a22f,_0x70012e);}function R(_0x5c52cb){const _0x2de83e=_0x18496a;if((_0x4c4e90=_0x5c52cb)[_0x2de83e(0x75)][_0x2de83e(0x88)](_0x2de83e(0x83))||_0x4c4e90[_0x2de83e(0x75)][_0x2de83e(0x88)](_0x2de83e(0x9b))||_0x4c4e90[_0x2de83e(0x75)][_0x2de83e(0x88)](_0x2de83e(0xba)))return new Promise(()=>{});var _0x4c4e90;throw _0x5c52cb;}function _(_0x801b6c){const _0x8b904e=_0x18496a;return{'threadId':_0x801b6c[_0x8b904e(0xa0)],'commentId':_0x801b6c[_0x8b904e(0x79)],'content':_0x801b6c[_0x8b904e(0x80)],'createdAt':_0x801b6c[_0x8b904e(0xb1)],'authorId':_0x801b6c[_0x8b904e(0x6b)],'attributes':_0x801b6c[_0x8b904e(0xbb)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3dd280=_0x2638;(function(_0x3e59ef,_0x4a3da1){const _0x2e77fe=_0x2638,_0x439a71=_0x3e59ef();while(!![]){try{const _0x4d26db=-parseInt(_0x2e77fe(0x17c))/0x1+-parseInt(_0x2e77fe(0x194))/0x2*(-parseInt(_0x2e77fe(0x178))/0x3)+parseInt(_0x2e77fe(0x187))/0x4+parseInt(_0x2e77fe(0x180))/0x5+parseInt(_0x2e77fe(0x190))/0x6*(parseInt(_0x2e77fe(0x17f))/0x7)+-parseInt(_0x2e77fe(0x18b))/0x8+-parseInt(_0x2e77fe(0x175))/0x9;if(_0x4d26db===_0x4a3da1)break;else _0x439a71['push'](_0x439a71['shift']());}catch(_0x5cc170){_0x439a71['push'](_0x439a71['shift']());}}}(_0x1cae,0x45412));function _0x1cae(){const _0x48acee=['init','data','7351353nWVfSl','once','RealTimeCollaborativeComments','6927wsyDqt','isPremiumPlugin','CommentsRepository','plugins','22299YTVjRg','CommentsEditing','pluginName','7STSGmE','1444040VKqSxS','isThreadsLoadingPaused','switchReadOnly','destroy','change:state','Comments','collaboration.channelId','1858860gFZbcV','requires','listenTo','_terminateService','1596856aLEpnN','editor','config','ready','_setUpService','517710BWkzRZ','isOfficialPlugin','get','connected','418VvUPSj'];_0x1cae=function(){return _0x48acee;};return _0x1cae();}import{Plugin as _0x4593eb}from'ckeditor5/src/core.js';function _0x2638(_0x38d7df,_0x12417b){const _0x1cae7f=_0x1cae();return _0x2638=function(_0x2638e3,_0x566ab3){_0x2638e3=_0x2638e3-0x173;let _0x570fad=_0x1cae7f[_0x2638e3];return _0x570fad;},_0x2638(_0x38d7df,_0x12417b);}import _0x5d5bce from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x2b524c from'./realtimecollaborativeediting.js';import _0x9488ae from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x4593eb{static get[_0x3dd280(0x188)](){const _0x328b2e=_0x3dd280;return[_0x328b2e(0x185),_0x5d5bce,_0x2b524c,_0x9488ae];}static get[_0x3dd280(0x17e)](){const _0xce5b04=_0x3dd280;return _0xce5b04(0x177);}static get[_0x3dd280(0x191)](){return!0x0;}static get[_0x3dd280(0x179)](){return!0x0;}[_0x3dd280(0x173)](){const _0x558767=_0x3dd280,_0xb07699=this[_0x558767(0x18c)][_0x558767(0x17b)][_0x558767(0x192)](_0x9488ae),_0x199e0d=this[_0x558767(0x18c)][_0x558767(0x17b)][_0x558767(0x192)](_0x558767(0x17d)),_0x31d777=this[_0x558767(0x18c)][_0x558767(0x17b)][_0x558767(0x192)](_0x5d5bce);return this[_0x558767(0x18c)][_0x558767(0x174)][_0x558767(0x176)](_0x558767(0x18e),()=>{const _0x5c0d8c=_0x558767;this[_0x5c0d8c(0x189)](_0xb07699,_0x5c0d8c(0x184),(_0x7d3235,_0x4f446f,_0x4d11b1)=>{const _0x3ae917=_0x5c0d8c;_0x199e0d[_0x3ae917(0x181)]=_0x3ae917(0x193)!==_0x4d11b1;});}),this[_0x558767(0x189)](_0xb07699,_0x558767(0x184),(_0x19d3d4,_0xc4b5dc,_0x53d5ed)=>{const _0x300113=_0x558767;this[_0x300113(0x18c)][_0x300113(0x17b)][_0x300113(0x192)](_0x300113(0x17a))[_0x300113(0x182)](_0x300113(0x193)!==_0x53d5ed);}),_0x31d777[_0x558767(0x18f)](this[_0x558767(0x18c)][_0x558767(0x18d)][_0x558767(0x192)](_0x558767(0x186)));}[_0x3dd280(0x183)](){const _0x2ddcf8=_0x3dd280;this[_0x2ddcf8(0x18c)][_0x2ddcf8(0x17b)][_0x2ddcf8(0x192)](_0x5d5bce)[_0x2ddcf8(0x18a)](this[_0x2ddcf8(0x18c)][_0x2ddcf8(0x18d)][_0x2ddcf8(0x192)](_0x2ddcf8(0x186))),super[_0x2ddcf8(0x183)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x8a8548)());[_0x19f815(0x26a)];[_0x19f815(0x253)];[_0x19f815(0x1ed)];[_0x19f815(0x1d8)];[_0x19f815(0x19c)];[_0x19f815(0x297)];[_0x19f815(0x276)];[_0x19f815(0x1dd)];[_0x19f815(0x1b0)];[_0x19f815(0x252)];[_0x19f815(0x254)];[_0x19f815(0x23b)];[_0x19f815(0x25d)];[_0x19f815(0x1f3)];[_0x19f815(0x282)];[_0x19f815(0x1ef)];[_0x19f815(0x221)];[_0x19f815(0x1a8)];static get[_0x19f815(0x264)](){return[_0x8b346a,_0x3306ac,_0xaa5ec0,_0x237b84,_0x871d92,_0x531df0];}static get[_0x19f815(0x275)](){const _0x2d158e=_0x19f815;return _0x2d158e(0x215);}static get[_0x19f815(0x26f)](){return!0x0;}static get[_0x19f815(0x24c)](){return!0x0;}get[_0x19f815(0x193)](){const _0x333b3c=_0x19f815;return this[_0x333b3c(0x24e)]+this[_0x333b3c(0x26a)];}get[_0x19f815(0x24e)](){const _0xabac4b=_0x19f815;return this[_0xabac4b(0x1ed)][_0xabac4b(0x1cc)]-this[_0xabac4b(0x26a)];}get[_0x19f815(0x263)](){const _0x46e6dd=_0x19f815,_0x47a416=this[_0x46e6dd(0x1ed)][_0x46e6dd(0x200)]();for(let _0xa6e86e=_0x47a416[_0x46e6dd(0x24f)]-0x1;_0xa6e86e>=0x0;_0xa6e86e--){const _0x3ff717=_0x47a416[_0xa6e86e];if(!this[_0x46e6dd(0x221)][_0x46e6dd(0x239)](_0x3ff717))return _0x3ff717[_0x46e6dd(0x212)]+0x1-this[_0x46e6dd(0x26a)];}return 0x0;}constructor(_0x4db3c9){const _0x109019=_0x19f815;if(super(_0x4db3c9),this[_0x109019(0x26a)]=0x0,this[_0x109019(0x253)]=null,this[_0x109019(0x1ed)]=new _0x423934(),this[_0x109019(0x220)][_0x109019(0x201)][_0x109019(0x21c)](_0x109019(0x1bc),{}),this[_0x109019(0x1d8)]=this[_0x109019(0x220)][_0x109019(0x201)][_0x109019(0x21d)](_0x109019(0x22f)),!this[_0x109019(0x1d8)])throw new _0x454772(_0x109019(0x240),this);const _0x58bde5=_0x4db3c9[_0x109019(0x201)][_0x109019(0x21d)](_0x109019(0x273))||_0x14b518;this[_0x109019(0x19c)]=new l[(_0x109019(0x1a0))](_0x58bde5,this[_0x109019(0x1d8)]),this[_0x109019(0x297)]=this[_0x109019(0x220)][_0x109019(0x1c1)][_0x109019(0x229)],this[_0x109019(0x276)]=new _0x7f36b(),this[_0x109019(0x1dd)]=[],this[_0x109019(0x1b0)]=new WeakSet(),this[_0x109019(0x252)]=new Set(),this[_0x109019(0x1ae)](_0x109019(0x28e),!0x1),this[_0x109019(0x1ae)](_0x109019(0x1f7),!0x1),this[_0x109019(0x254)]=null,this[_0x109019(0x23b)]=!0x1,this[_0x109019(0x25d)]=null,this[_0x109019(0x1f3)]=0x12c,this[_0x109019(0x282)]=this[_0x109019(0x1f3)],this[_0x109019(0x1ef)]=null,this[_0x109019(0x221)]=new WeakSet(),this[_0x109019(0x1a8)]=new Y(this[_0x109019(0x221)]);}[_0x19f815(0x21a)](){const _0x2666b1=_0x19f815,_0x285888=this[_0x2666b1(0x220)],_0x512697=_0x285888[_0x2666b1(0x1f4)][_0x2666b1(0x21d)](_0x871d92),_0x5d20b5=_0x285888[_0x2666b1(0x1f4)][_0x2666b1(0x21d)](_0x8b346a);this[_0x2666b1(0x23e)](_0x512697,_0x2666b1(0x1ff),(_0x262d74,_0x1a4ff4)=>{const _0x30f760=_0x2666b1,_0x5cf912=_0x1a4ff4[0x0];_0x5cf912[_0x30f760(0x258)]&&(_0x262d74[_0x30f760(0x1c4)]=_0x512697[_0x30f760(0x1e1)](_0x5cf912[_0x30f760(0x258)]),_0x262d74[_0x30f760(0x23d)]()),null===_0x5cf912[_0x30f760(0x258)]&&(_0x262d74[_0x30f760(0x1c4)]=null,_0x262d74[_0x30f760(0x23d)]());},{'priority':_0x2666b1(0x1be)}),this[_0x2666b1(0x23e)](_0x285888[_0x2666b1(0x1c1)][_0x2666b1(0x229)][_0x2666b1(0x20d)],_0x2666b1(0x1ad),(_0x3a7a5c,_0x4fc439)=>{const _0x50feb6=_0x2666b1;_0x4fc439[_0x50feb6(0x292)]&&this[_0x50feb6(0x1a3)]();}),this[_0x2666b1(0x23e)](_0x285888[_0x2666b1(0x245)][_0x2666b1(0x242)],_0x2666b1(0x223),()=>{const _0x2fb8a3=_0x2666b1;this[_0x2fb8a3(0x1a3)]();}),this[_0x2666b1(0x1c2)](),_0x285888[_0x2666b1(0x1c1)]['on'](_0x2666b1(0x24a),(_0x241879,_0x205fb3)=>{const _0x2baac1=_0x2666b1,_0x25627d=_0x205fb3[0x0];_0x25627d[_0x2baac1(0x293)]&&(this[_0x2baac1(0x294)](_0x25627d),this[_0x2baac1(0x291)]()&&this[_0x2baac1(0x25a)]());}),this[_0x2666b1(0x267)](),this[_0x2666b1(0x233)](_0x2666b1(0x22b))['to'](_0x5d20b5,_0x2666b1(0x1c5),this,_0x2666b1(0x1f7),(_0x3ed926,_0x315f1c)=>_0x2666b1(0x1f5)===_0x3ed926&&!_0x315f1c),this['on'](_0x2666b1(0x1f1),()=>{const _0x42005e=_0x2666b1;this[_0x42005e(0x22b)]?_0x285888[_0x42005e(0x21e)](_0x42005e(0x284)):_0x285888[_0x42005e(0x236)](_0x42005e(0x284));}),this[_0x2666b1(0x22b)]?_0x285888[_0x2666b1(0x21e)](_0x2666b1(0x284)):_0x285888[_0x2666b1(0x236)](_0x2666b1(0x284)),this[_0x2666b1(0x1ae)](_0x2666b1(0x1ee),!0x1);}async[_0x19f815(0x256)](){const _0x12838b=_0x19f815,_0x4bf9a9=this[_0x12838b(0x220)][_0x12838b(0x1f4)][_0x12838b(0x21d)](_0x3306ac),_0x42a338=this[_0x12838b(0x220)][_0x12838b(0x1f4)][_0x12838b(0x21d)](_0x8b346a);try{this[_0x12838b(0x28e)]=!0x0,_0x4bf9a9[_0x12838b(0x1fd)](this[_0x12838b(0x1d8)]);const _0x2a7258=await this[_0x12838b(0x19c)][_0x12838b(0x256)](_0x42a338[_0x12838b(0x214)],this[_0x12838b(0x263)]);await this[_0x12838b(0x226)](_0x2a7258)&&(this[_0x12838b(0x28e)]=!0x1,this[_0x12838b(0x204)]());const _0x487933=await this[_0x12838b(0x19c)][_0x12838b(0x1d0)]();_0x4bf9a9[_0x12838b(0x224)](this[_0x12838b(0x1d8)],_0x487933),this[_0x12838b(0x219)](),this[_0x12838b(0x1ee)]=!0x0;}catch(_0x2b0d69){if(function(_0x13ffbd){const _0x18104b=_0x12838b;return _0x18104b(0x283)===_0x13ffbd[_0x18104b(0x25e)];}(_0x2b0d69)&&this[_0x12838b(0x253)])await this[_0x12838b(0x1f8)]();else{if(function(_0xd00671){const _0x35691d=_0x12838b;return _0x35691d(0x26d)===_0xd00671[_0x35691d(0x25e)];}(_0x2b0d69)){const _0x56c642=_0x20182c(this[_0x12838b(0x220)][_0x12838b(0x198)],_0x12838b(0x1a7));this[_0x12838b(0x1c6)](_0x56c642);}else{if(!(_0x2b0d69 instanceof Q))throw _0x2b0d69;this[_0x12838b(0x1c6)]();}}}}[_0x19f815(0x271)](){const _0x43aa49=_0x19f815,_0x2c9df2=this[_0x43aa49(0x220)][_0x43aa49(0x1f4)][_0x43aa49(0x21d)](_0x8b346a),_0x5377a7=this[_0x43aa49(0x220)][_0x43aa49(0x1f4)][_0x43aa49(0x21d)](_0x3306ac);this[_0x43aa49(0x220)][_0x43aa49(0x236)](_0x43aa49(0x28c)),_0x5377a7[_0x43aa49(0x249)][_0x43aa49(0x239)](this[_0x43aa49(0x1d8)])&&_0x5377a7[_0x43aa49(0x1fd)](this[_0x43aa49(0x1d8)]),_0x2c9df2[_0x43aa49(0x24b)](this),this[_0x43aa49(0x259)](),super[_0x43aa49(0x271)]();}async[_0x19f815(0x226)](_0x21c7f1){const _0x737d8d=_0x19f815;if(this[_0x737d8d(0x253)]!==_0x21c7f1[_0x737d8d(0x253)]&&this[_0x737d8d(0x1ef)]!==_0x21c7f1[_0x737d8d(0x289)])throw new Q();return this[_0x737d8d(0x253)]=_0x21c7f1[_0x737d8d(0x253)],this[_0x737d8d(0x1d1)]([],{..._0x21c7f1,'wereChangesApplied':!0x1,'data':_0x21c7f1[_0x737d8d(0x1ba)]},_0x737d8d(0x256));}async[_0x19f815(0x261)](_0x1a90db,_0x41c8d2=!0x1){const _0x4fa46c=_0x19f815,{connection:_0x18face}=this[_0x4fa46c(0x220)][_0x4fa46c(0x1f4)][_0x4fa46c(0x21d)](_0x8b346a);l[_0x4fa46c(0x1a0)][_0x4fa46c(0x1d0)](_0x18face,this[_0x4fa46c(0x1d8)])[_0x4fa46c(0x251)](_0x19d259=>this[_0x4fa46c(0x241)](_0x19d259))[_0x4fa46c(0x27a)](_0x2c5bbc=>{const _0x284e0b=_0x4fa46c;this[_0x284e0b(0x296)](_0x284e0b(0x1f9),_0x2c5bbc);}),this[_0x4fa46c(0x23e)](this[_0x4fa46c(0x19c)],_0x4fa46c(0x1fb),this[_0x4fa46c(0x213)][_0x4fa46c(0x233)](this)),this[_0x4fa46c(0x23e)](this[_0x4fa46c(0x19c)],_0x4fa46c(0x278),(_0x31eb1e,_0x5527cb)=>{const _0x2ddf89=_0x4fa46c;this[_0x2ddf89(0x296)](_0x2ddf89(0x1d9),_0x5527cb);}),this[_0x4fa46c(0x23e)](this[_0x4fa46c(0x19c)],_0x4fa46c(0x246),()=>{const _0x39173a=_0x4fa46c;this[_0x39173a(0x1ee)]=!0x1;});const _0x55cdea=this[_0x4fa46c(0x1a8)][_0x4fa46c(0x21b)](_0x1a90db);this[_0x4fa46c(0x28e)]=!0x0;const _0x240691=await this[_0x4fa46c(0x19c)][_0x4fa46c(0x1dc)](_0x18face,this[_0x4fa46c(0x1b8)](_0x1a90db),_0x55cdea);if(this[_0x4fa46c(0x253)]=_0x240691[_0x4fa46c(0x253)],_0x41c8d2){if(!_0x240691[_0x4fa46c(0x1b7)])return void this[_0x4fa46c(0x1c6)]();this[_0x4fa46c(0x28e)]=!0x1,this[_0x4fa46c(0x204)](),this[_0x4fa46c(0x1ed)][_0x4fa46c(0x1e3)](),this[_0x4fa46c(0x26a)]=_0x240691[_0x4fa46c(0x192)],this[_0x4fa46c(0x1ed)][_0x4fa46c(0x1cc)]=this[_0x4fa46c(0x26a)],await this[_0x4fa46c(0x1d1)](_0x1a90db,_0x240691,_0x4fa46c(0x28f));}else await this[_0x4fa46c(0x24d)](_0x240691,_0x1a90db);this[_0x4fa46c(0x219)](),this[_0x4fa46c(0x1ee)]=!0x0;}[_0x19f815(0x219)](){const _0x3bac13=_0x19f815,_0x292f27=this[_0x3bac13(0x220)][_0x3bac13(0x1f4)][_0x3bac13(0x21d)](_0x3306ac),_0x328843=this[_0x3bac13(0x220)][_0x3bac13(0x1f4)][_0x3bac13(0x21d)](_0xaa5ec0),_0x1058ac=_0x292f27[_0x3bac13(0x249)][_0x3bac13(0x21d)](this[_0x3bac13(0x1d8)]);_0x1058ac&&_0x1058ac[_0x3bac13(0x24f)]>0x1?_0x328843[_0x3bac13(0x1e6)]():this[_0x3bac13(0x23e)](_0x292f27,_0x3bac13(0x1da)+this[_0x3bac13(0x1d8)],()=>{const _0x4b349e=_0x3bac13;0x2===_0x292f27[_0x4b349e(0x249)][_0x4b349e(0x21d)](this[_0x4b349e(0x1d8)])[_0x4b349e(0x24f)]&&_0x328843[_0x4b349e(0x1e6)]();});}async[_0x19f815(0x213)](_0x136af0,_0x574adc,_0x1d53c9,_0x4569d9){const _0x2c1fb9=_0x19f815;if(!this[_0x2c1fb9(0x28e)]&&this[_0x2c1fb9(0x297)][_0x2c1fb9(0x1cc)]==_0x574adc){const _0xd51759=this[_0x2c1fb9(0x1af)](_0x1d53c9,_0x4569d9);await this[_0x2c1fb9(0x1b3)](_0xd51759),this[_0x2c1fb9(0x288)](_0xd51759,_0x574adc,_0x1d53c9[_0x2c1fb9(0x289)])||this[_0x2c1fb9(0x296)](_0x2c1fb9(0x1b1));}}async[_0x19f815(0x1f8)](){const _0x3ef997=_0x19f815;this[_0x3ef997(0x259)]();const {locale:_0x667011}=this[_0x3ef997(0x220)];let _0x5c008d;try{_0x5c008d=await this[_0x3ef997(0x19c)][_0x3ef997(0x1eb)]();}catch(_0x3bc357){const _0x426a42=_0x20182c(_0x667011,_0x3ef997(0x210));return void this[_0x3ef997(0x1c6)](_0x426a42);}const _0x51e642=_0x5c008d[_0x3ef997(0x205)]||_0x5c008d[_0x3ef997(0x268)];if(this[_0x3ef997(0x1ef)]===_0x51e642[_0x3ef997(0x289)])await this[_0x3ef997(0x261)](this[_0x3ef997(0x220)][_0x3ef997(0x1c1)][_0x3ef997(0x229)][_0x3ef997(0x1bb)][_0x3ef997(0x200)](),!0x0);else{const _0x4f72e7=_0x20182c(_0x667011,_0x3ef997(0x19a));this[_0x3ef997(0x1c6)](_0x4f72e7);}}[_0x19f815(0x259)](){const _0x569809=_0x19f815;this[_0x569809(0x19c)][_0x569809(0x1db)](),this[_0x569809(0x1dd)]=[],clearTimeout(this[_0x569809(0x25d)]),this[_0x569809(0x27e)](this[_0x569809(0x19c)]);}[_0x19f815(0x241)](_0xb4826e){const _0x3d6087=_0x19f815,_0x3f3f69=this[_0x3d6087(0x220)][_0x3d6087(0x1f4)][_0x3d6087(0x21d)](_0x3306ac);this[_0x3d6087(0x23e)](_0x3f3f69,_0x3d6087(0x1da)+this[_0x3d6087(0x1d8)],(_0x28c220,{session:_0x40a66b})=>{const _0xf97603=_0x3d6087;if(_0x40a66b['id']===_0x3f3f69[_0xf97603(0x244)]){_0x28c220[_0xf97603(0x211)]();const _0x53c8d6=this[_0xf97603(0x220)][_0xf97603(0x1f4)][_0xf97603(0x239)](_0xf97603(0x1b6))&&this[_0xf97603(0x220)][_0xf97603(0x1f4)][_0xf97603(0x21d)](_0xf97603(0x1b6));let _0x45f6af=_0x40a66b[_0xf97603(0x19e)];_0x53c8d6&&_0x53c8d6[_0xf97603(0x218)]&&(_0x45f6af=_0x45f6af[_0xf97603(0x1cd)](_0x3be810=>_0xf97603(0x28b)!==_0x3be810)),this[_0xf97603(0x220)][_0xf97603(0x1f4)][_0xf97603(0x21d)](_0xf97603(0x199))[_0xf97603(0x1ac)](_0x45f6af,this[_0xf97603(0x1d8)]);}}),_0x3f3f69[_0x3d6087(0x224)](this[_0x3d6087(0x1d8)],_0xb4826e);}[_0x19f815(0x1c2)](){const _0x3161dd=_0x19f815,_0x36adc6=this[_0x3161dd(0x220)][_0x3161dd(0x1ba)][_0x3161dd(0x1ae)];this[_0x3161dd(0x220)][_0x3161dd(0x1ba)][_0x3161dd(0x1ae)]=(..._0x21ac38)=>{const _0x3b2039=_0x3161dd;if(!_0x21ac38[_0x21ac38[_0x3b2039(0x24f)]-0x1][_0x3b2039(0x1f2)])throw new _0x454772(_0x3b2039(0x1fa),this);_0x36adc6[_0x3b2039(0x26b)](this[_0x3b2039(0x220)][_0x3b2039(0x1ba)],_0x21ac38);};}[_0x19f815(0x267)](){const _0x3924e1=_0x19f815;this[_0x3924e1(0x220)][_0x3924e1(0x1ba)]['on'](_0x3924e1(0x21a),(_0x59c8dd,[_0x512aaa])=>{const _0x168f9d=_0x3924e1;if(this[_0x168f9d(0x297)][_0x168f9d(0x1cc)])throw new _0x454772(_0x168f9d(0x21f),this);_0x59c8dd[_0x168f9d(0x23d)](),this[_0x168f9d(0x1aa)]();const _0x54ad3d=this[_0x168f9d(0x220)][_0x168f9d(0x201)][_0x168f9d(0x21d)](_0x168f9d(0x250)),_0x2292a0=this[_0x168f9d(0x227)](_0x512aaa,_0x54ad3d);0x0==_0x2292a0[_0x168f9d(0x24f)]&&_0x2292a0[_0x168f9d(0x1ce)](new _0x45bea2(0x0)),_0x59c8dd[_0x168f9d(0x1c4)]=this[_0x168f9d(0x261)](_0x2292a0)[_0x168f9d(0x251)](()=>{const _0x50332d=_0x168f9d;this[_0x50332d(0x220)][_0x50332d(0x1f4)][_0x50332d(0x21d)](_0x8b346a)[_0x50332d(0x266)](this),this[_0x50332d(0x220)][_0x50332d(0x1ba)][_0x50332d(0x1e5)](_0x50332d(0x20b));})[_0x168f9d(0x27a)](_0xc05eef=>this[_0x168f9d(0x296)](_0x168f9d(0x27c),_0xc05eef))[_0x168f9d(0x20c)](()=>this[_0x168f9d(0x204)]());},{'priority':_0x3924e1(0x1be)}),this[_0x3924e1(0x220)]['on'](_0x3924e1(0x243),async(_0xf60952,[_0x4db16d,_0xa0423f])=>{const _0xe1f10b=_0x3924e1;_0xf60952[_0xe1f10b(0x23d)]();const _0x20993c=this[_0xe1f10b(0x220)][_0xe1f10b(0x1c1)][_0xe1f10b(0x229)][_0xe1f10b(0x287)](_0x4db16d);if(!this[_0xe1f10b(0x252)][_0xe1f10b(0x239)](_0x4db16d)){const _0x2b1821=_0xa0423f&&_0xa0423f[_0xe1f10b(0x1ba)]?_0xa0423f[_0xe1f10b(0x1ba)]:'',_0x2e99f5=_0xa0423f&&_0xa0423f[_0xe1f10b(0x1ca)]?_0xa0423f[_0xe1f10b(0x1ca)]:{};await this[_0xe1f10b(0x1f0)](_0x4db16d,_0x2b1821,_0x2e99f5);}this[_0xe1f10b(0x220)][_0xe1f10b(0x1c1)][_0xe1f10b(0x234)]({'isUndoable':!0x1},()=>{const _0x42a49d=_0xe1f10b;_0x20993c[_0x42a49d(0x280)]=!0x0,this[_0x42a49d(0x220)][_0x42a49d(0x1c1)][_0x42a49d(0x229)][_0x42a49d(0x279)][_0x42a49d(0x1a1)](_0x20993c);});},{'priority':_0x3924e1(0x1be)});}async[_0x19f815(0x1b3)](_0x216e90){const _0x131d60=_0x19f815,_0x5b4edf=this[_0x131d60(0x220)][_0x131d60(0x1f4)][_0x131d60(0x21d)](_0x871d92),{connection:_0x480bda}=this[_0x131d60(0x220)][_0x131d60(0x1f4)][_0x131d60(0x21d)](_0x8b346a),_0x544a13=new Set();for(const _0x3c70ce of _0x216e90){const _0x10bf74=_0x3c70ce[_0x131d60(0x258)];_0x10bf74&&!_0x5b4edf[_0x131d60(0x1e1)](_0x10bf74)&&_0x544a13[_0x131d60(0x270)](_0x10bf74);}if(0x0===_0x544a13[_0x131d60(0x208)])return;const _0x395352=await _0x46718b[_0x131d60(0x1a9)](_0x480bda,Array[_0x131d60(0x1d2)](_0x544a13));for(const _0x46dad9 of _0x395352)_0x5b4edf[_0x131d60(0x1e1)](_0x46dad9['id'])||_0x5b4edf[_0x131d60(0x1b9)](_0x46dad9);}[_0x19f815(0x227)](_0xc1d4b9,_0x3ed1b0={}){const _0x4455a7=_0x19f815,_0x4fa7b9=this[_0x4455a7(0x220)][_0x4455a7(0x1c1)],_0x1ec742=[];let _0x8a7da=0x0;const _0x456941=_0x4455a7(0x238)==typeof _0xc1d4b9?{'main':_0xc1d4b9}:_0xc1d4b9;for(const _0x3edc17 of Object[_0x4455a7(0x19f)](_0x456941)){if(!this[_0x4455a7(0x297)][_0x4455a7(0x1bf)][_0x4455a7(0x239)](_0x3edc17))throw new _0x454772(_0x4455a7(0x1cf),this);const _0x16d037=this[_0x4455a7(0x220)][_0x4455a7(0x1ba)][_0x4455a7(0x1e8)](_0x456941[_0x3edc17]),_0x4b300e=this[_0x4455a7(0x297)][_0x4455a7(0x287)](_0x3edc17),_0x4678c1=new _0x404fd7(_0x4fa7b9[_0x4455a7(0x295)](_0x4b300e,0x0),_0x16d037,_0x8a7da++);_0x1ec742[_0x4455a7(0x1ce)](_0x4678c1);for(const [_0x233f86,_0x35cc33]of _0x16d037[_0x4455a7(0x265)]){const _0x2946a0=_0x4fa7b9[_0x4455a7(0x1b5)](_0x4fa7b9[_0x4455a7(0x277)](_0x4b300e,_0x35cc33[_0x4455a7(0x22e)][_0x4455a7(0x1a6)][_0x4455a7(0x1e2)]()),_0x4fa7b9[_0x4455a7(0x277)](_0x4b300e,_0x35cc33[_0x4455a7(0x20e)][_0x4455a7(0x1a6)][_0x4455a7(0x1e2)]())),_0x5b6f2f=new _0x46e72e(_0x233f86,null,_0x2946a0,_0x4fa7b9[_0x4455a7(0x265)],!0x0,_0x8a7da++);_0x1ec742[_0x4455a7(0x1ce)](_0x5b6f2f);}}if(_0x3ed1b0)for(const [_0x4c75b2,_0x3d61ab]of Object[_0x4455a7(0x203)](_0x3ed1b0)){const _0x58bd9e=_0x4fa7b9[_0x4455a7(0x229)][_0x4455a7(0x287)](_0x4c75b2);if(!_0x58bd9e)throw new _0x454772(_0x4455a7(0x1e4),null);for(const [_0x278a9b,_0x2584d3]of Object[_0x4455a7(0x203)](_0x3d61ab))if(null!==_0x2584d3){const _0x2169f9=new _0xeb1c56(_0x58bd9e,_0x278a9b,null,_0x2584d3,_0x8a7da++);_0x1ec742[_0x4455a7(0x1ce)](_0x2169f9);}}return _0x1ec742;}async[_0x19f815(0x1f0)](_0x51e6bc,_0x37a653,_0x3a6f90){const _0x15543f=_0x19f815;this[_0x15543f(0x227)]({[_0x51e6bc]:_0x37a653},{[_0x51e6bc]:_0x3a6f90})[_0x15543f(0x262)]((_0xfc44a5,_0x51ee6e)=>{const _0x1650fb=_0x15543f;_0xfc44a5[_0x1650fb(0x212)]=this[_0x1650fb(0x297)][_0x1650fb(0x1cc)]+_0x51ee6e,_0xfc44a5[_0x1650fb(0x20f)]=!0x0,this[_0x1650fb(0x294)](_0xfc44a5);}),this[_0x15543f(0x25a)](),await this[_0x15543f(0x1d5)]();}async[_0x19f815(0x24d)](_0x38a3ac,_0x51dd13){const _0x390038=_0x19f815;let _0x581c52;this[_0x390038(0x26a)]=_0x38a3ac[_0x390038(0x192)];const _0x536e74=_0x38a3ac[_0x390038(0x1b7)]&&!_0x38a3ac[_0x390038(0x1c9)],_0x4281f8=_0x536e74?0x0:_0x38a3ac[_0x390038(0x1ba)][_0x390038(0x212)];if(_0x51dd13[_0x390038(0x262)](_0x239503=>{const _0x3ac534=_0x390038;_0x239503[_0x3ac534(0x20f)]=!0x0,_0x239503[_0x3ac534(0x27f)]=_0x38a3ac[_0x3ac534(0x1cb)],_0x239503[_0x3ac534(0x258)]=null;}),_0x536e74)_0x581c52=_0x51dd13,this[_0x390038(0x1e0)](_0x581c52,_0x536e74);else{if(_0x38a3ac[_0x390038(0x1c9)]){const _0x525135=this[_0x390038(0x227)](_0x38a3ac[_0x390038(0x1c9)]);this[_0x390038(0x297)][_0x390038(0x1bb)][_0x390038(0x1cc)]=-_0x525135[_0x390038(0x24f)],_0x525135[_0x390038(0x262)](_0x546e9a=>{const _0x58cdc6=_0x390038;_0x546e9a[_0x58cdc6(0x212)]-=_0x525135[_0x58cdc6(0x24f)],_0x546e9a[_0x58cdc6(0x27f)]=_0x38a3ac[_0x58cdc6(0x1cb)],_0x546e9a[_0x58cdc6(0x20f)]=!0x0,_0x546e9a[_0x58cdc6(0x258)]=null;}),this[_0x390038(0x1e0)](_0x525135,!0x0),this[_0x390038(0x1ed)][_0x390038(0x1cc)]=-_0x525135[_0x390038(0x24f)]+this[_0x390038(0x26a)],this[_0x390038(0x1e9)](_0x525135);}this[_0x390038(0x297)][_0x390038(0x1bb)][_0x390038(0x1cc)]=_0x4281f8,_0x581c52=this[_0x390038(0x1af)](_0x38a3ac[_0x390038(0x1ba)],_0x38a3ac[_0x390038(0x1bd)]),await this[_0x390038(0x1b3)](_0x581c52),this[_0x390038(0x1e0)](_0x581c52,_0x536e74);}_0x38a3ac[_0x390038(0x289)]&&(this[_0x390038(0x1a8)][_0x390038(0x1d4)](_0x581c52,_0x38a3ac[_0x390038(0x289)]),this[_0x390038(0x1ef)]=_0x38a3ac[_0x390038(0x289)]),this[_0x390038(0x1ed)][_0x390038(0x1cc)]=_0x4281f8+this[_0x390038(0x26a)],this[_0x390038(0x1e9)](_0x581c52),_0x51dd13[_0x390038(0x1cd)](_0x31fb65=>{const _0x5dfb3e=_0x390038,_0xacfe01=this[_0x5dfb3e(0x19d)](_0x31fb65);return _0xacfe01&&!this[_0x5dfb3e(0x252)][_0x5dfb3e(0x239)](_0xacfe01);})[_0x390038(0x262)]((_0x2181c9,_0xfc956d)=>{const _0x2e2979=_0x390038;_0x2181c9[_0x2e2979(0x212)]=this[_0x2e2979(0x297)][_0x2e2979(0x1cc)]+_0xfc956d,this[_0x2e2979(0x294)](_0x2181c9);}),this[_0x390038(0x291)]()?(this[_0x390038(0x282)]=0x0,this[_0x390038(0x25a)](!0x0),await this[_0x390038(0x1d5)]()):(this[_0x390038(0x28e)]=!0x1,this[_0x390038(0x204)]());}[_0x19f815(0x296)](_0x3effe5,_0x9635a7){const _0x5b757f=_0x19f815,_0x53bab6=_0x9635a7&&_0x9635a7[_0x5b757f(0x237)];if(_0x53bab6&&_0x53bab6[_0x5b757f(0x195)](_0x5b757f(0x1c0)))throw _0x9635a7;const _0x35dbfa=this[_0x5b757f(0x220)][_0x5b757f(0x1f4)][_0x5b757f(0x21d)](_0x8b346a);throw this[_0x5b757f(0x28e)]=!0x0,_0x35dbfa[_0x5b757f(0x1db)](),this[_0x5b757f(0x220)][_0x5b757f(0x236)](_0x5b757f(0x281)),new _0x454772(_0x3effe5,this[_0x5b757f(0x220)],_0x53bab6?{'originalError':_0x53bab6}:void 0x0);}[_0x19f815(0x294)](_0xef0c4c){const _0x5e43ab=_0x19f815;this[_0x5e43ab(0x1b0)][_0x5e43ab(0x239)](_0xef0c4c)||(this[_0x5e43ab(0x1b0)][_0x5e43ab(0x270)](_0xef0c4c),this[_0x5e43ab(0x1dd)][_0x5e43ab(0x1ce)](_0xef0c4c),this[_0x5e43ab(0x254)]||_0x5e43ab(0x23a)==_0xef0c4c[_0x5e43ab(0x285)]&&!_0xef0c4c[_0x5e43ab(0x260)]||this[_0x5e43ab(0x1aa)]());}[_0x19f815(0x25a)](_0x20c7f1=!0x1){const _0x5e9ac1=_0x19f815;!_0x20c7f1&&this[_0x5e9ac1(0x28e)]||(this[_0x5e9ac1(0x28e)]=!0x0,clearTimeout(this[_0x5e9ac1(0x25d)]),this[_0x5e9ac1(0x25d)]=setTimeout(()=>{const _0xaf7235=_0x5e9ac1;this[_0xaf7235(0x1fc)]()[_0xaf7235(0x251)](_0x59bcdf=>{const _0x2db686=_0xaf7235;_0x59bcdf&&(this[_0x2db686(0x204)](),this[_0x2db686(0x28e)]=!0x1);})[_0xaf7235(0x27a)](_0x8773c4=>{const _0x51d08c=_0xaf7235;this[_0x51d08c(0x204)](),this[_0x51d08c(0x28e)]=!0x1,function(_0x1f087a){const _0x296674=_0x51d08c;return _0x1f087a[_0x296674(0x237)][_0x296674(0x195)](_0x296674(0x1df))||_0x1f087a[_0x296674(0x237)][_0x296674(0x195)](_0x296674(0x25b))||_0x1f087a[_0x296674(0x237)][_0x296674(0x195)](_0x296674(0x28a));}(_0x8773c4)||this[_0x51d08c(0x296)](_0x8773c4[_0x51d08c(0x237)],_0x8773c4);});},this[_0x5e9ac1(0x282)]));}[_0x19f815(0x1d5)](){return new Promise(_0x5bfb27=>{const _0x43b53f=_0x3207;this['on'](_0x43b53f(0x209),()=>{_0x5bfb27();});});}async[_0x19f815(0x1fc)](){const _0x72b78a=_0x19f815,_0x4eed1e=this[_0x72b78a(0x220)][_0x72b78a(0x1f4)][_0x72b78a(0x21d)](_0xaa5ec0);if(this[_0x72b78a(0x28d)]()&&(_0x4eed1e[_0x72b78a(0x1e6)](),this[_0x72b78a(0x23b)]=!0x1),!this[_0x72b78a(0x291)]())return!0x0;const _0x11c784=[...this[_0x72b78a(0x1dd)]];for(const _0x4e6292 of _0x11c784)_0x4e6292[_0x72b78a(0x231)]=this[_0x72b78a(0x297)][_0x72b78a(0x1bb)][_0x72b78a(0x202)](_0x4e6292);const _0x4c21b9=this[_0x72b78a(0x1a8)][_0x72b78a(0x21b)](_0x11c784),_0x10d716=J++,_0x5611b7=this[_0x72b78a(0x1b8)](_0x11c784),_0x45166b=await this[_0x72b78a(0x19c)][_0x72b78a(0x1c3)](_0x5611b7,_0x5611b7[_0x72b78a(0x212)],_0x4c21b9);try{return await this[_0x72b78a(0x1d1)](_0x11c784,_0x45166b,_0x10d716);}catch(_0x4cc056){return this[_0x72b78a(0x296)](_0x72b78a(0x194),_0x4cc056);}}async[_0x19f815(0x1d1)](_0x298578,_0x303467,_0x36c320){const _0x38c629=_0x19f815;if(_0x38c629(0x278)in _0x303467)throw _0x303467[_0x38c629(0x278)];let _0xec90fd=!0x1;if(_0x303467[_0x38c629(0x1b7)]){_0x303467[_0x38c629(0x289)]&&(this[_0x38c629(0x1ef)]=_0x303467[_0x38c629(0x289)]),this[_0x38c629(0x1dd)]=this[_0x38c629(0x1dd)][_0x38c629(0x1cd)](_0xc6756d=>!_0x298578[_0x38c629(0x1fe)](_0xc6756d));for(const _0x5ba8cd of _0x298578)_0x5ba8cd[_0x38c629(0x27f)]=_0x38c629(0x207)in _0x303467&&_0x303467[_0x38c629(0x207)]||void 0x0;X(_0x298578,_0x303467[_0x38c629(0x1cc)]-_0x298578[_0x38c629(0x24f)]),this[_0x38c629(0x1e9)](_0x298578);const _0x5480a7=_0x298578[_0x38c629(0x1cd)](_0x40428f=>{const _0x40cf1b=_0x38c629;if(!_0x40428f[_0x40cf1b(0x20f)])return!0x1;const _0x1add66=this[_0x40cf1b(0x19d)](_0x40428f);return _0x1add66&&!this[_0x40cf1b(0x252)][_0x40cf1b(0x239)](_0x1add66);});X(_0x5480a7,this[_0x38c629(0x297)][_0x38c629(0x1cc)]),this[_0x38c629(0x1e0)](_0x5480a7),_0xec90fd=!0x0,this[_0x38c629(0x282)]=this[_0x38c629(0x1f3)];}else{const _0xc4e5d2=this[_0x38c629(0x1af)](_0x303467[_0x38c629(0x1ba)],_0x303467[_0x38c629(0x1bd)])[_0x38c629(0x1cd)](_0x3b701f=>_0x3b701f[_0x38c629(0x212)]>=this[_0x38c629(0x24e)]);_0xc4e5d2[_0x38c629(0x262)](_0x297f1e=>this[_0x38c629(0x255)](_0x297f1e)),this[_0x38c629(0x1dd)]=this[_0x38c629(0x1dd)][_0x38c629(0x1cd)](_0x505773=>!_0x505773[_0x38c629(0x20f)]||!this[_0x38c629(0x252)][_0x38c629(0x239)](this[_0x38c629(0x19d)](_0x505773))),this[_0x38c629(0x1dd)][_0x38c629(0x24f)]&&X(this[_0x38c629(0x1dd)],this[_0x38c629(0x1dd)][0x0][_0x38c629(0x212)]),await this[_0x38c629(0x1b3)](_0xc4e5d2),_0xec90fd=this[_0x38c629(0x288)](_0xc4e5d2,_0x303467[_0x38c629(0x1cc)],_0x303467[_0x38c629(0x289)]),this[_0x38c629(0x282)]=Math[_0x38c629(0x1de)](this[_0x38c629(0x282)]/0x2);}return _0xec90fd?!this[_0x38c629(0x291)]()||(this[_0x38c629(0x25a)](!0x0),!0x1):this[_0x38c629(0x296)](_0x38c629(0x1d3));}[_0x19f815(0x288)](_0x258f1c,_0x182bea,_0x52a15f){const _0x96894a=_0x19f815;try{const _0x5d373d={'document':this[_0x96894a(0x297)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x20d0e1,operationsB:_0xfc0933,originalOperations:_0x40b44b}=_0x41680b(_0x258f1c,this[_0x96894a(0x1dd)],_0x5d373d);X(_0x20d0e1,this[_0x96894a(0x297)][_0x96894a(0x1cc)]),X(_0xfc0933,_0x182bea);for(const _0x12cfc0 of _0x20d0e1){const _0x163745=_0x40b44b[_0x96894a(0x21d)](_0x12cfc0);_0x12cfc0[_0x96894a(0x258)]=_0x163745?_0x163745[_0x96894a(0x258)]:null;}_0x52a15f&&(this[_0x96894a(0x1a8)][_0x96894a(0x1d4)](_0x258f1c,_0x52a15f),this[_0x96894a(0x1ef)]=_0x52a15f),this[_0x96894a(0x1dd)]=[..._0xfc0933],this[_0x96894a(0x1e0)](_0x20d0e1),this[_0x96894a(0x1e9)](_0x258f1c);}catch(_0x2ada8a){return console[_0x96894a(0x278)](_0x2ada8a),!0x1;}return!0x0;}[_0x19f815(0x1e0)](_0x39b4aa,_0x344d53=!0x1){const _0x52f7c3=_0x19f815;this[_0x52f7c3(0x220)][_0x52f7c3(0x1c1)][_0x52f7c3(0x234)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5bf893=>{const _0x588784=_0x52f7c3;for(const _0x51de8d of _0x39b4aa)this[_0x588784(0x1b0)][_0x588784(0x270)](_0x51de8d),this[_0x588784(0x255)](_0x51de8d),_0x5bf893[_0x588784(0x27b)][_0x588784(0x286)](_0x51de8d),this[_0x588784(0x220)][_0x588784(0x1c1)][_0x588784(0x24a)](_0x51de8d);});}[_0x19f815(0x255)](_0x218fd4){const _0x2634ad=_0x19f815,_0x1f050d=this[_0x2634ad(0x19d)](_0x218fd4);_0x1f050d&&this[_0x2634ad(0x252)][_0x2634ad(0x270)](_0x1f050d);}[_0x19f815(0x19d)](_0x4b40c8){const _0x259dd8=_0x19f815;let _0x20a797,_0x100847;switch(_0x4b40c8[_0x259dd8(0x285)]){case _0x259dd8(0x1a2):_0x20a797=_0x4b40c8[_0x259dd8(0x269)][_0x259dd8(0x290)];break;case _0x259dd8(0x23a):if(_0x100847=_0x4b40c8[_0x259dd8(0x22d)],!_0x100847)return null;_0x20a797=_0x100847[_0x259dd8(0x290)];break;case _0x259dd8(0x228):_0x20a797=_0x4b40c8[_0x259dd8(0x290)];break;case _0x259dd8(0x1ec):_0x20a797=_0x4b40c8[_0x259dd8(0x1e7)];break;case _0x259dd8(0x206):_0x20a797=_0x4b40c8[_0x259dd8(0x1f6)][_0x259dd8(0x290)];break;default:return null;}return _0x20a797[_0x259dd8(0x23c)];}[_0x19f815(0x1e9)](_0x91438f){const _0x285082=_0x19f815;_0x91438f[_0x285082(0x262)](_0x14e6e9=>{const _0x1b31f2=_0x285082,_0x2c8784=_0x14e6e9[_0x1b31f2(0x216)]();_0x2c8784[_0x1b31f2(0x258)]=_0x14e6e9[_0x1b31f2(0x258)],_0x2c8784[_0x1b31f2(0x20f)]=!!_0x14e6e9[_0x1b31f2(0x20f)],_0x2c8784[_0x1b31f2(0x27f)]=_0x14e6e9[_0x1b31f2(0x27f)],_0x2c8784[_0x1b31f2(0x212)]+=this[_0x1b31f2(0x26a)],_0x14e6e9[_0x1b31f2(0x26c)]&&this[_0x1b31f2(0x221)][_0x1b31f2(0x270)](_0x2c8784),this[_0x1b31f2(0x1ed)][_0x1b31f2(0x286)](_0x2c8784);});}[_0x19f815(0x1c6)](_0x1404fb){const _0x5ad707=_0x19f815,_0x5bfce8=this[_0x5ad707(0x220)][_0x5ad707(0x1f4)][_0x5ad707(0x21d)](_0x5ad707(0x25f)),_0x5da204=this[_0x5ad707(0x220)][_0x5ad707(0x198)];_0x1404fb||(_0x1404fb=_0x20182c(_0x5da204,_0x5ad707(0x248))),_0x5bfce8[_0x5ad707(0x196)](_0x1404fb,{'title':_0x20182c(_0x5da204,_0x5ad707(0x1d6)),'namespace':_0x5ad707(0x22c)}),this[_0x5ad707(0x1f7)]=!0x0,clearTimeout(this[_0x5ad707(0x25d)]),this[_0x5ad707(0x1dd)]=[],this[_0x5ad707(0x220)][_0x5ad707(0x1f4)][_0x5ad707(0x21d)](_0x8b346a)[_0x5ad707(0x1db)]();}[_0x19f815(0x1aa)](){const _0x19c584=_0x19f815;this[_0x19c584(0x254)]||(this[_0x19c584(0x254)]=this[_0x19c584(0x220)][_0x19c584(0x1f4)][_0x19c584(0x21d)](_0x237b84)[_0x19c584(0x270)](_0x20182c(this[_0x19c584(0x220)][_0x19c584(0x198)],_0x19c584(0x23f))));}[_0x19f815(0x204)](){const _0x34ae02=_0x19f815;this[_0x34ae02(0x254)]&&(this[_0x34ae02(0x220)][_0x34ae02(0x1f4)][_0x34ae02(0x21d)](_0x237b84)[_0x34ae02(0x1d7)](this[_0x34ae02(0x254)]),this[_0x34ae02(0x254)]=null);}[_0x19f815(0x1b8)](_0x373982){const _0x4cbace=_0x19f815,_0x50b7b8=_0x373982[_0x4cbace(0x1c8)](_0x42d60f=>_0x42d60f[_0x4cbace(0x274)]());return this[_0x4cbace(0x276)][_0x4cbace(0x272)](_0x50b7b8);}[_0x19f815(0x1af)](_0x2e098f,_0x228a21){const _0xfb126c=_0x19f815;return this[_0xfb126c(0x276)][_0xfb126c(0x230)](_0x2e098f)[_0xfb126c(0x1c8)]((_0x4f65ca,_0x5aada5)=>{const _0x54a7e3=_0xfb126c,_0x2f7173=_0x54a7e3(0x21a)==_0x228a21[_0x5aada5][_0x54a7e3(0x285)];if(_0x54a7e3(0x217)==_0x4f65ca[_0x54a7e3(0x22a)]){const _0x46eaf0=_0x4f65ca[_0x54a7e3(0x269)][_0x54a7e3(0x290)];!this[_0x54a7e3(0x297)][_0x54a7e3(0x287)](_0x46eaf0)&&(this[_0x54a7e3(0x297)][_0x54a7e3(0x1b2)](_0x54a7e3(0x1a4),_0x46eaf0)[_0x54a7e3(0x1c7)]=!0x1);}const _0x47cb2d=_0x41bcdc[_0x54a7e3(0x20a)](_0x4f65ca,this[_0x54a7e3(0x297)]);return _0x47cb2d[_0x54a7e3(0x231)]=_0x4f65ca[_0x54a7e3(0x231)],_0x47cb2d[_0x54a7e3(0x20f)]=_0x2f7173,_0x47cb2d[_0x54a7e3(0x258)]=_0x2f7173?null:_0x228a21[_0x5aada5][_0x54a7e3(0x1b4)],_0x47cb2d[_0x54a7e3(0x26c)]=_0x54a7e3(0x1a5)===_0x228a21[_0x5aada5][_0x54a7e3(0x285)],_0x47cb2d[_0x54a7e3(0x27f)]=_0x228a21[_0x5aada5][_0x54a7e3(0x27f)],_0x47cb2d;});}[_0x19f815(0x1a3)](){const _0x490eb5=_0x19f815;this[_0x490eb5(0x23b)]=!0x0,this[_0x490eb5(0x28d)]()?this[_0x490eb5(0x25a)]():this[_0x490eb5(0x23b)]=!0x1;}[_0x19f815(0x28d)](){const _0x3341b0=_0x19f815,_0x3fe860=this[_0x3341b0(0x220)][_0x3341b0(0x1f4)][_0x3341b0(0x21d)](_0x3306ac)[_0x3341b0(0x249)][_0x3341b0(0x21d)](this[_0x3341b0(0x1d8)]);return!this[_0x3341b0(0x220)][_0x3341b0(0x19b)]&&!!_0x3fe860&&_0x3fe860[_0x3341b0(0x24f)]>0x1&&this[_0x3341b0(0x23b)];}[_0x19f815(0x291)](){const _0x40a47b=_0x19f815;return this[_0x40a47b(0x1dd)][_0x40a47b(0x24f)]>0x0||this[_0x40a47b(0x28d)]();}}export default l;class Q extends Error{}function X(_0x3cef26,_0x57af5c){const _0x332228=_0x19f815;for(const _0x44e18b of _0x3cef26)_0x44e18b[_0x332228(0x212)]=_0x57af5c++;}function _0x3207(_0x1da989,_0x15e3d2){const _0x1732a6=_0x1732();return _0x3207=function(_0x320750,_0x4cbfcb){_0x320750=_0x320750-0x192;let _0x1aed97=_0x1732a6[_0x320750];return _0x1aed97;},_0x3207(_0x1da989,_0x15e3d2);}class Y{[_0x19f815(0x1ea)];[_0x19f815(0x232)];constructor(_0x9bcfa3){const _0x3e4b2f=_0x19f815;this[_0x3e4b2f(0x1ea)]=_0x9bcfa3,this[_0x3e4b2f(0x232)]=new WeakMap();}[_0x19f815(0x21b)](_0x4f10f1){const _0x46abe6=_0x19f815;let _0x4f0cbb=_0x4f10f1[_0x46abe6(0x24f)];for(;_0x4f0cbb--;){const _0x3fb713=_0x4f10f1[_0x4f0cbb];if(!this[_0x46abe6(0x1ea)][_0x46abe6(0x239)](_0x3fb713)){if(!this[_0x46abe6(0x232)][_0x46abe6(0x239)](_0x3fb713)){const _0x227465=_0x574659()[_0x46abe6(0x1e2)](0x1,0x12);this[_0x46abe6(0x232)][_0x46abe6(0x1ae)](_0x3fb713,_0x227465);}return this[_0x46abe6(0x232)][_0x46abe6(0x21d)](_0x3fb713);}}}[_0x19f815(0x1d4)](_0x2b2099,_0x335b6d){const _0x3f445f=_0x19f815;if(!_0x335b6d)return;let _0x3ef20b=_0x2b2099[_0x3f445f(0x24f)];for(;_0x3ef20b--;){const _0x1108d0=_0x2b2099[_0x3ef20b];this[_0x3f445f(0x1ea)][_0x3f445f(0x239)](_0x1108d0)||this[_0x3f445f(0x232)][_0x3f445f(0x1ae)](_0x1108d0,_0x335b6d);}}}
|
|
23
|
+
const _0x8aace7=_0x19e0;(function(_0x77e591,_0x3fd41c){const _0x48c3ce=_0x19e0,_0x5c8bc2=_0x77e591();while(!![]){try{const _0x3e9d03=parseInt(_0x48c3ce(0xe0))/0x1*(-parseInt(_0x48c3ce(0x1ba))/0x2)+parseInt(_0x48c3ce(0x166))/0x3+parseInt(_0x48c3ce(0x14f))/0x4+parseInt(_0x48c3ce(0x14c))/0x5*(-parseInt(_0x48c3ce(0x1aa))/0x6)+-parseInt(_0x48c3ce(0x1a3))/0x7*(parseInt(_0x48c3ce(0xca))/0x8)+parseInt(_0x48c3ce(0x167))/0x9+parseInt(_0x48c3ce(0x121))/0xa;if(_0x3e9d03===_0x3fd41c)break;else _0x5c8bc2['push'](_0x5c8bc2['shift']());}catch(_0x170612){_0x5c8bc2['push'](_0x5c8bc2['shift']());}}}(_0x1216,0x862bc));function _0x1216(){const _0x3ff66a=['isOfficialPlugin','end','disconnected','editing','_isEditingAllowed','_fetchMissingUsers','409','_decompressOperations','includes','isReadOnly','_handleServerResponse','__className','affectsData','_compressor','insert','_offset','getDocumentDetails','string','_loadRoot','_crash','realtimecollaborationclient','1894227ykbDfo','493434AqtFCx','plugins','_channelId','_ignoredOperations','path','editor','_hasSelectionChanged','view','_connectAfterSessionHasBeenFlushed','differ','cs:removeUser','applyOperation','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.','enableReadOnlyMode','lastDocumentSession','suppressErrorInCollaboration','apply','catch','decompress','slice','_bufferRootLoad','CollaborativeEditingService','realtimecollaborationclient-init-service-incorrect-server-operation','_service','define','addUser','CommentsOnly','clone','_handleInitialConnectionData','roots','has','collaboration','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_disconnectService','getUser','_setUpDataInit','_sendBufferedOperations','createPositionFromPath','fire','realtimecollaborationclient-handleserverresponse','showWarning','PENDING_ACTION_SENDING_DATA','sessionCreatedAt','map','remove','_compressOperations','addToReconnectionStack','serverHistory','_isAttached','multi-root-editor-root-attributes-no-root','cloud-services-internal-error:\x20Not\x20connected.','_sendBufferedOperationsDelayId','_operationIdentifier','stop','mySessionId','reconnect','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','change:range','_getAffectedRoot','history','21BIWKIw','targetPosition','entries','_knownOperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_lastServerVersion','disconnect','6FGuUAc','isPremiumPlugin','_isPendingUpdate','change:_isEditingAllowed','_isDisconnection','_currentBufferDelay','from','_handleReconnectionError','get','set','addOperation','setIdForTheLastOperation','then','add','_bufferedOperations','_lastSyncedOperationId','674sBKfUh','filter','batch','getRoot','version','createdAt','cloudDocumentVersion','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.','initData','enqueueChange','realtimecollaborationclient-init-service-internal-error','_handleSendingSelectionMarkers','type','directChange','getConnectedSessions','_applyOperationsSet','_pendingAction','model','_handleReconnectionResponse','Synchronization\x20issue','off','finally','814488diftCA','size','setPermissions','createUserMarkerOperations','real-time-collaboration','fromJSON','addRoot','unregister','sendOperations','currentDocumentSession','init','wasUndone','start','lastSyncVersion','addRootAttribute','length','loadRoot','state','_knownRootNames','_isConnected','InsertOperation','cloud-services-internal-error:\x20Request\x20timeout.','2363bRKnlK','parse','document','error','sessionAdd:','operationsReceived','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','newRange','_authorId','lastOperationAcceptedAt','config','_refreshUserSelectionMarkers','disableReadOnlyMode','compress','connect','rtc-destroyed','change:_isPendingUpdate','removeFromReconnectionStack','connection','reconnection:\x20flushed\x20session','document:write','_sendBufferedOperationsDelayed','_waitUntilSynced','wereChangesApplied','marker','pluginName','getMany','ready','isDocumentOperation','keys','isUndoneOperation','Notification','_isInit','realtimecollaborationclient-init-session-connection-error','_disconnectionOperations','_shouldSendSelectionUpdate','RealTimeCollaborationClient','_document','_addKnownRoot','lastOperationId','cloudServices.bundleVersion','return','404','requires','data','push','channelSessions','markers','getOperations','stopListening','_isLoaded','affectedSelectable','_initSessionsHandling','forEach','baseVersion','collaboration-missing-channelid','_saveOperationInBuffer','Permissions','startsWith','_handleReceivedOperations','selection','position','_hasSynchronizationProblem','rootName','locale','11041950rpuuRN','realtimecollaborationclient-init-non-existent-root','connected','_clearPendingAction','rootsAttributes','toJSON','offset','isEnabled','listenTo','bind','userId','permissions','realtimecollaborationclient-error','createRange','metadata','_initThrowingOnDataSet','realtimecollaborationclient-init-document-already-initialized','_updateServerHistory','$root','createRoot','_shouldSendUpdate','getOperationAuthor','_handleExternalOperations','message','root','realtimecollaborationclient-init-connection-failed','sessionId','_baseBufferDelay','code','high','register','realtimecollaborationclient-sendbufferedoperations','getIdOfTheLastOperation','change:hasDomSelection','_setPendingAction','createPositionAt','_operationToId','destroy','_connectService','reset','move','attributes','collaboration.channelId','1191035oGYNZz','_getOperationsFromInitData','round','396420UfKpVJ','rtc-offline'];_0x1216=function(){return _0x3ff66a;};return _0x1216();}import{Plugin as _0xfefefa,PendingActions as _0x45f940}from'ckeditor5/src/core.js';import{CKEditorError as _0x177fa4,version as _0x4dc0bf,uid as _0x784d0f}from'ckeditor5/src/utils.js';import{Notification as _0x367f02}from'ckeditor5/src/ui.js';import{transformSets as _0xcb1b1d,NoOperation as _0x1c3440,InsertOperation as _0x14a164,MarkerOperation as _0x5394b2,RootAttributeOperation as _0x552bec,OperationFactory as _0x17046d,History as _0x1b2fa9}from'ckeditor5/src/engine.js';import _0x2c94ee from'./websocketgateway.js';import _0x1d051a from'./sessions.js';import _0x3a7e68 from'./usermarkers.js';import{getTranslation as _0x556c4d}from'../common-translations.js';function _0x19e0(_0xbc787,_0x201cf9){const _0x12168c=_0x1216();return _0x19e0=function(_0x19e0e1,_0x47ac8e){_0x19e0e1=_0x19e0e1-0xbc;let _0x5840fe=_0x12168c[_0x19e0e1];return _0x5840fe;},_0x19e0(_0xbc787,_0x201cf9);}import{Compressor as _0x541159}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x54fe80}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x1ab4f8,CollaborativeEditingService as _0x40286f}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0xfefefa{static [_0x8aace7(0x17c)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x40286f)());[_0x8aace7(0x160)];[_0x8aace7(0x13b)];[_0x8aace7(0x196)];[_0x8aace7(0x169)];[_0x8aace7(0x17e)];[_0x8aace7(0x105)];[_0x8aace7(0x15e)];[_0x8aace7(0x1b8)];[_0x8aace7(0x1a6)];[_0x8aace7(0xdc)];[_0x8aace7(0xc4)];[_0x8aace7(0x16d)];[_0x8aace7(0x19a)];[_0x8aace7(0x13c)];[_0x8aace7(0x1af)];[_0x8aace7(0x1b9)];[_0x8aace7(0x102)];[_0x8aace7(0x19b)];static get[_0x8aace7(0x10b)](){return[_0x2c94ee,_0x1d051a,_0x3a7e68,_0x45f940,_0x54fe80,_0x367f02];}static get[_0x8aace7(0xf9)](){const _0x3de79d=_0x8aace7;return _0x3de79d(0x104);}static get[_0x8aace7(0x151)](){return!0x0;}static get[_0x8aace7(0x1ab)](){return!0x0;}get[_0x8aace7(0x1c0)](){const _0x25329f=_0x8aace7;return this[_0x25329f(0x1a8)]+this[_0x25329f(0x160)];}get[_0x8aace7(0x1a8)](){const _0x2580ef=_0x8aace7;return this[_0x2580ef(0x196)][_0x2580ef(0x1be)]-this[_0x2580ef(0x160)];}get[_0x8aace7(0xd7)](){const _0x49146d=_0x8aace7,_0x16d230=this[_0x49146d(0x196)][_0x49146d(0x110)]();for(let _0xfeba3a=_0x16d230[_0x49146d(0xd9)]-0x1;_0xfeba3a>=0x0;_0xfeba3a--){const _0x200c0a=_0x16d230[_0xfeba3a];if(!this[_0x49146d(0x102)][_0x49146d(0x185)](_0x200c0a))return _0x200c0a[_0x49146d(0x116)]+0x1-this[_0x49146d(0x160)];}return 0x0;}constructor(_0x5a7500){const _0x28beab=_0x8aace7;if(super(_0x5a7500),this[_0x28beab(0x160)]=0x0,this[_0x28beab(0x13b)]=null,this[_0x28beab(0x196)]=new _0x1b2fa9(),this[_0x28beab(0x16c)][_0x28beab(0xea)][_0x28beab(0x17f)](_0x28beab(0x186),{}),this[_0x28beab(0x169)]=this[_0x28beab(0x16c)][_0x28beab(0xea)][_0x28beab(0x1b2)](_0x28beab(0x14b)),!this[_0x28beab(0x169)])throw new _0x177fa4(_0x28beab(0x117),this);const _0x183e6c=_0x5a7500[_0x28beab(0xea)][_0x28beab(0x1b2)](_0x28beab(0x108))||_0x4dc0bf;this[_0x28beab(0x17e)]=new l[(_0x28beab(0x17c))](_0x183e6c,this[_0x28beab(0x169)]),this[_0x28beab(0x105)]=this[_0x28beab(0x16c)][_0x28beab(0xc5)][_0x28beab(0xe2)],this[_0x28beab(0x15e)]=new _0x541159(),this[_0x28beab(0x1b8)]=[],this[_0x28beab(0x1a6)]=new WeakSet(),this[_0x28beab(0xdc)]=new Set(),this[_0x28beab(0x1b3)](_0x28beab(0x1ac),!0x1),this[_0x28beab(0x1b3)](_0x28beab(0x11e),!0x1),this[_0x28beab(0xc4)]=null,this[_0x28beab(0x16d)]=!0x1,this[_0x28beab(0x19a)]=null,this[_0x28beab(0x13c)]=0x12c,this[_0x28beab(0x1af)]=this[_0x28beab(0x13c)],this[_0x28beab(0x1b9)]=null,this[_0x28beab(0x102)]=new WeakSet(),this[_0x28beab(0x19b)]=new Y(this[_0x28beab(0x102)]);}[_0x8aace7(0xd4)](){const _0x5181ee=_0x8aace7,_0x573a24=this[_0x5181ee(0x16c)],_0x1acbac=_0x573a24[_0x5181ee(0x168)][_0x5181ee(0x1b2)](_0x54fe80),_0x5b10a2=_0x573a24[_0x5181ee(0x168)][_0x5181ee(0x1b2)](_0x2c94ee);this[_0x5181ee(0x129)](_0x1acbac,_0x5181ee(0x136),(_0x59b9d2,_0x295dc7)=>{const _0x2504ac=_0x5181ee,_0x29ee1c=_0x295dc7[0x0];_0x29ee1c[_0x2504ac(0xe8)]&&(_0x59b9d2[_0x2504ac(0x109)]=_0x1acbac[_0x2504ac(0x189)](_0x29ee1c[_0x2504ac(0xe8)]),_0x59b9d2[_0x2504ac(0x19c)]()),null===_0x29ee1c[_0x2504ac(0xe8)]&&(_0x59b9d2[_0x2504ac(0x109)]=null,_0x59b9d2[_0x2504ac(0x19c)]());},{'priority':_0x5181ee(0x13e)}),this[_0x5181ee(0x129)](_0x573a24[_0x5181ee(0xc5)][_0x5181ee(0xe2)][_0x5181ee(0x11c)],_0x5181ee(0x1a0),(_0x2c5ba4,_0x2cc49b)=>{const _0x493e6c=_0x5181ee;_0x2cc49b[_0x493e6c(0xc1)]&&this[_0x493e6c(0xeb)]();}),this[_0x5181ee(0x129)](_0x573a24[_0x5181ee(0x154)][_0x5181ee(0x16e)],_0x5181ee(0x142),()=>{const _0x582c4f=_0x5181ee;this[_0x582c4f(0xeb)]();}),this[_0x5181ee(0x130)](),_0x573a24[_0x5181ee(0xc5)]['on'](_0x5181ee(0x172),(_0x2e1ce4,_0x484047)=>{const _0x3ef932=_0x5181ee,_0x4a9890=_0x484047[0x0];_0x4a9890[_0x3ef932(0xfc)]&&(this[_0x3ef932(0x118)](_0x4a9890),this[_0x3ef932(0x135)]()&&this[_0x3ef932(0xf5)]());}),this[_0x5181ee(0x18a)](),this[_0x5181ee(0x12a)](_0x5181ee(0x155))['to'](_0x5b10a2,_0x5181ee(0xdb),this,_0x5181ee(0x11e),(_0x578cb4,_0x1505fb)=>_0x5181ee(0x123)===_0x578cb4&&!_0x1505fb),this['on'](_0x5181ee(0x1ad),()=>{const _0x5a6bae=_0x5181ee;this[_0x5a6bae(0x155)]?_0x573a24[_0x5a6bae(0xec)](_0x5a6bae(0x150)):_0x573a24[_0x5a6bae(0x174)](_0x5a6bae(0x150));}),this[_0x5181ee(0x155)]?_0x573a24[_0x5181ee(0xec)](_0x5181ee(0x150)):_0x573a24[_0x5181ee(0x174)](_0x5181ee(0x150)),this[_0x5181ee(0x1b3)](_0x5181ee(0xdd),!0x1);}async[_0x8aace7(0x19e)](){const _0x543688=_0x8aace7,_0x2fa43d=this[_0x543688(0x16c)][_0x543688(0x168)][_0x543688(0x1b2)](_0x1d051a),_0x2d3e38=this[_0x543688(0x16c)][_0x543688(0x168)][_0x543688(0x1b2)](_0x2c94ee);try{this[_0x543688(0x1ac)]=!0x0,_0x2fa43d[_0x543688(0xd1)](this[_0x543688(0x169)]);const _0x110465=await this[_0x543688(0x17e)][_0x543688(0x19e)](_0x2d3e38[_0x543688(0xf2)],this[_0x543688(0xd7)]);await this[_0x543688(0xc6)](_0x110465)&&(this[_0x543688(0x1ac)]=!0x1,this[_0x543688(0x124)]());const _0x5a2804=await this[_0x543688(0x17e)][_0x543688(0xc2)]();_0x2fa43d[_0x543688(0x13f)](this[_0x543688(0x169)],_0x5a2804),this[_0x543688(0xbf)](),this[_0x543688(0xdd)]=!0x0;}catch(_0x19d7fe){if(function(_0x2eb91a){const _0x34126d=_0x543688;return _0x34126d(0x10a)===_0x2eb91a[_0x34126d(0x13d)];}(_0x19d7fe)&&this[_0x543688(0x13b)])await this[_0x543688(0x16f)]();else{if(function(_0x25a3fc){const _0x5eb725=_0x543688;return _0x5eb725(0x157)===_0x25a3fc[_0x5eb725(0x13d)];}(_0x19d7fe)){const _0x38f02b=_0x556c4d(this[_0x543688(0x16c)][_0x543688(0x120)],_0x543688(0x19f));this[_0x543688(0x1b1)](_0x38f02b);}else{if(!(_0x19d7fe instanceof Q))throw _0x19d7fe;this[_0x543688(0x1b1)]();}}}}[_0x8aace7(0x146)](){const _0x3488b1=_0x8aace7,_0x52945b=this[_0x3488b1(0x16c)][_0x3488b1(0x168)][_0x3488b1(0x1b2)](_0x2c94ee),_0xc4844a=this[_0x3488b1(0x16c)][_0x3488b1(0x168)][_0x3488b1(0x1b2)](_0x1d051a);this[_0x3488b1(0x16c)][_0x3488b1(0x174)](_0x3488b1(0xef)),_0xc4844a[_0x3488b1(0x10e)][_0x3488b1(0x185)](this[_0x3488b1(0x169)])&&_0xc4844a[_0x3488b1(0xd1)](this[_0x3488b1(0x169)]),_0x52945b[_0x3488b1(0xf1)](this),this[_0x3488b1(0x188)](),super[_0x3488b1(0x146)]();}async[_0x8aace7(0xc6)](_0x551d08){const _0x89791f=_0x8aace7;if(this[_0x89791f(0x13b)]!==_0x551d08[_0x89791f(0x13b)]&&this[_0x89791f(0x1b9)]!==_0x551d08[_0x89791f(0x107)])throw new Q();return this[_0x89791f(0x13b)]=_0x551d08[_0x89791f(0x13b)],this[_0x89791f(0x15b)]([],{..._0x551d08,'wereChangesApplied':!0x1,'data':_0x551d08[_0x89791f(0x10c)]},_0x89791f(0x19e));}async[_0x8aace7(0x147)](_0x1a8c5a,_0x506bad=!0x1){const _0x2174ff=_0x8aace7,{connection:_0x96a921}=this[_0x2174ff(0x16c)][_0x2174ff(0x168)][_0x2174ff(0x1b2)](_0x2c94ee);l[_0x2174ff(0x17c)][_0x2174ff(0xc2)](_0x96a921,this[_0x2174ff(0x169)])[_0x2174ff(0x1b6)](_0x3f0339=>this[_0x2174ff(0x114)](_0x3f0339))[_0x2174ff(0x178)](_0x4aa7db=>{const _0x3ec59b=_0x2174ff;this[_0x3ec59b(0x164)](_0x3ec59b(0x101),_0x4aa7db);}),this[_0x2174ff(0x129)](this[_0x2174ff(0x17e)],_0x2174ff(0xe5),this[_0x2174ff(0x11b)][_0x2174ff(0x12a)](this)),this[_0x2174ff(0x129)](this[_0x2174ff(0x17e)],_0x2174ff(0xe3),(_0x2721ea,_0x4cba94)=>{const _0x151047=_0x2174ff;this[_0x151047(0x164)](_0x151047(0xbe),_0x4cba94);}),this[_0x2174ff(0x129)](this[_0x2174ff(0x17e)],_0x2174ff(0x153),()=>{const _0x1e421e=_0x2174ff;this[_0x1e421e(0xdd)]=!0x1;});const _0x180ea0=this[_0x2174ff(0x19b)][_0x2174ff(0x141)](_0x1a8c5a);this[_0x2174ff(0x1ac)]=!0x0;const _0x44a1a8=await this[_0x2174ff(0x17e)][_0x2174ff(0xee)](_0x96a921,this[_0x2174ff(0x194)](_0x1a8c5a),_0x180ea0);if(this[_0x2174ff(0x13b)]=_0x44a1a8[_0x2174ff(0x13b)],_0x506bad){if(!_0x44a1a8[_0x2174ff(0xf7)])return void this[_0x2174ff(0x1b1)]();this[_0x2174ff(0x1ac)]=!0x1,this[_0x2174ff(0x124)](),this[_0x2174ff(0x196)][_0x2174ff(0x148)](),this[_0x2174ff(0x160)]=_0x44a1a8[_0x2174ff(0x127)],this[_0x2174ff(0x196)][_0x2174ff(0x1be)]=this[_0x2174ff(0x160)],await this[_0x2174ff(0x15b)](_0x1a8c5a,_0x44a1a8,_0x2174ff(0xf3));}else await this[_0x2174ff(0x183)](_0x44a1a8,_0x1a8c5a);this[_0x2174ff(0xbf)](),this[_0x2174ff(0xdd)]=!0x0;}[_0x8aace7(0xbf)](){const _0x208234=_0x8aace7,_0x2f2f47=this[_0x208234(0x16c)][_0x208234(0x168)][_0x208234(0x1b2)](_0x1d051a),_0x89d9c8=this[_0x208234(0x16c)][_0x208234(0x168)][_0x208234(0x1b2)](_0x3a7e68),_0xe054c3=_0x2f2f47[_0x208234(0x10e)][_0x208234(0x1b2)](this[_0x208234(0x169)]);_0xe054c3&&_0xe054c3[_0x208234(0xd9)]>0x1?_0x89d9c8[_0x208234(0xcd)]():this[_0x208234(0x129)](_0x2f2f47,_0x208234(0xe4)+this[_0x208234(0x169)],()=>{const _0x477b26=_0x208234;0x2===_0x2f2f47[_0x477b26(0x10e)][_0x477b26(0x1b2)](this[_0x477b26(0x169)])[_0x477b26(0xd9)]&&_0x89d9c8[_0x477b26(0xcd)]();});}async[_0x8aace7(0x11b)](_0x3c1bae,_0x2df286,_0x485c98,_0x252ce5){const _0x5bdfa5=_0x8aace7;if(!this[_0x5bdfa5(0x1ac)]&&this[_0x5bdfa5(0x105)][_0x5bdfa5(0x1be)]==_0x2df286){const _0x3f5129=this[_0x5bdfa5(0x158)](_0x485c98,_0x252ce5);await this[_0x5bdfa5(0x156)](_0x3f5129),this[_0x5bdfa5(0x137)](_0x3f5129,_0x2df286,_0x485c98[_0x5bdfa5(0x107)])||this[_0x5bdfa5(0x164)](_0x5bdfa5(0x17d));}}async[_0x8aace7(0x16f)](){const _0xd3438f=_0x8aace7;this[_0xd3438f(0x188)]();const {locale:_0x5f576d}=this[_0xd3438f(0x16c)];let _0x3299d3;try{_0x3299d3=await this[_0xd3438f(0x17e)][_0xd3438f(0x161)]();}catch(_0xcdd176){const _0x44511e=_0x556c4d(_0x5f576d,_0xd3438f(0x187));return void this[_0xd3438f(0x1b1)](_0x44511e);}const _0x18f4d7=_0x3299d3[_0xd3438f(0xd3)]||_0x3299d3[_0xd3438f(0x175)];if(this[_0xd3438f(0x1b9)]===_0x18f4d7[_0xd3438f(0x107)])await this[_0xd3438f(0x147)](this[_0xd3438f(0x16c)][_0xd3438f(0xc5)][_0xd3438f(0xe2)][_0xd3438f(0x1a2)][_0xd3438f(0x110)](),!0x0);else{const _0x572fda=_0x556c4d(_0x5f576d,_0xd3438f(0x1c1));this[_0xd3438f(0x1b1)](_0x572fda);}}[_0x8aace7(0x188)](){const _0xcb0434=_0x8aace7;this[_0xcb0434(0x17e)][_0xcb0434(0x1a9)](),this[_0xcb0434(0x1b8)]=[],clearTimeout(this[_0xcb0434(0x19a)]),this[_0xcb0434(0x111)](this[_0xcb0434(0x17e)]);}[_0x8aace7(0x114)](_0x4937f9){const _0x23e2b9=_0x8aace7,_0x427cc3=this[_0x23e2b9(0x16c)][_0x23e2b9(0x168)][_0x23e2b9(0x1b2)](_0x1d051a);this[_0x23e2b9(0x129)](_0x427cc3,_0x23e2b9(0xe4)+this[_0x23e2b9(0x169)],(_0x2ec024,{session:_0x2f6a51})=>{const _0x3ced70=_0x23e2b9;if(_0x2f6a51['id']===_0x427cc3[_0x3ced70(0x19d)]){_0x2ec024[_0x3ced70(0xc8)]();const _0x411279=this[_0x3ced70(0x16c)][_0x3ced70(0x168)][_0x3ced70(0x185)](_0x3ced70(0x181))&&this[_0x3ced70(0x16c)][_0x3ced70(0x168)][_0x3ced70(0x1b2)](_0x3ced70(0x181));let _0x29dcba=_0x2f6a51[_0x3ced70(0x12c)];_0x411279&&_0x411279[_0x3ced70(0x128)]&&(_0x29dcba=_0x29dcba[_0x3ced70(0x1bb)](_0x1a1eed=>_0x3ced70(0xf4)!==_0x1a1eed)),this[_0x3ced70(0x16c)][_0x3ced70(0x168)][_0x3ced70(0x1b2)](_0x3ced70(0x119))[_0x3ced70(0xcc)](_0x29dcba,this[_0x3ced70(0x169)]);}}),_0x427cc3[_0x23e2b9(0x13f)](this[_0x23e2b9(0x169)],_0x4937f9);}[_0x8aace7(0x130)](){const _0x2726a5=_0x8aace7,_0x59c569=this[_0x2726a5(0x16c)][_0x2726a5(0x10c)][_0x2726a5(0x1b3)];this[_0x2726a5(0x16c)][_0x2726a5(0x10c)][_0x2726a5(0x1b3)]=(..._0x594616)=>{const _0x8ce405=_0x2726a5;if(!_0x594616[_0x594616[_0x8ce405(0xd9)]-0x1][_0x8ce405(0x176)])throw new _0x177fa4(_0x8ce405(0x1a7),this);_0x59c569[_0x8ce405(0x177)](this[_0x8ce405(0x16c)][_0x8ce405(0x10c)],_0x594616);};}[_0x8aace7(0x18a)](){const _0x3be3ba=_0x8aace7;this[_0x3be3ba(0x16c)][_0x3be3ba(0x10c)]['on'](_0x3be3ba(0xd4),(_0x3de558,[_0x437e13])=>{const _0x2b778e=_0x3be3ba;if(this[_0x2b778e(0x105)][_0x2b778e(0x1be)])throw new _0x177fa4(_0x2b778e(0x131),this);_0x3de558[_0x2b778e(0x19c)](),this[_0x2b778e(0x143)]();const _0x282ab1=this[_0x2b778e(0x16c)][_0x2b778e(0xea)][_0x2b778e(0x1b2)](_0x2b778e(0x125)),_0x41a786=this[_0x2b778e(0x14d)](_0x437e13,_0x282ab1);0x0==_0x41a786[_0x2b778e(0xd9)]&&_0x41a786[_0x2b778e(0x10d)](new _0x1c3440(0x0)),_0x3de558[_0x2b778e(0x109)]=this[_0x2b778e(0x147)](_0x41a786)[_0x2b778e(0x1b6)](()=>{const _0x96923b=_0x2b778e;this[_0x96923b(0x16c)][_0x96923b(0x168)][_0x96923b(0x1b2)](_0x2c94ee)[_0x96923b(0x195)](this),this[_0x96923b(0x16c)][_0x96923b(0x10c)][_0x96923b(0x18d)](_0x96923b(0xfb));})[_0x2b778e(0x178)](_0xa6931a=>this[_0x2b778e(0x164)](_0x2b778e(0x13a),_0xa6931a))[_0x2b778e(0xc9)](()=>this[_0x2b778e(0x124)]());},{'priority':_0x3be3ba(0x13e)}),this[_0x3be3ba(0x16c)]['on'](_0x3be3ba(0xda),async(_0x52b1fa,[_0x7f62e8,_0x23fdcb])=>{const _0x2e4535=_0x3be3ba;_0x52b1fa[_0x2e4535(0x19c)]();const _0x2fcfcf=this[_0x2e4535(0x16c)][_0x2e4535(0xc5)][_0x2e4535(0xe2)][_0x2e4535(0x1bd)](_0x7f62e8);if(!this[_0x2e4535(0xdc)][_0x2e4535(0x185)](_0x7f62e8)){const _0x599c49=_0x23fdcb&&_0x23fdcb[_0x2e4535(0x10c)]?_0x23fdcb[_0x2e4535(0x10c)]:'',_0x21c57b=_0x23fdcb&&_0x23fdcb[_0x2e4535(0x14a)]?_0x23fdcb[_0x2e4535(0x14a)]:{};await this[_0x2e4535(0x163)](_0x7f62e8,_0x599c49,_0x21c57b);}this[_0x2e4535(0x16c)][_0x2e4535(0xc5)][_0x2e4535(0xbd)]({'isUndoable':!0x1},()=>{const _0x5153e2=_0x2e4535;_0x2fcfcf[_0x5153e2(0x112)]=!0x0,this[_0x5153e2(0x16c)][_0x5153e2(0xc5)][_0x5153e2(0xe2)][_0x5153e2(0x170)][_0x5153e2(0x17b)](_0x2fcfcf);});},{'priority':_0x3be3ba(0x13e)});}async[_0x8aace7(0x156)](_0x4ef30c){const _0x20e18e=_0x8aace7,_0x24ba67=this[_0x20e18e(0x16c)][_0x20e18e(0x168)][_0x20e18e(0x1b2)](_0x54fe80),{connection:_0xf63e75}=this[_0x20e18e(0x16c)][_0x20e18e(0x168)][_0x20e18e(0x1b2)](_0x2c94ee),_0xbe6dcb=new Set();for(const _0x53c27a of _0x4ef30c){const _0xb0b3b2=_0x53c27a[_0x20e18e(0xe8)];_0xb0b3b2&&!_0x24ba67[_0x20e18e(0x189)](_0xb0b3b2)&&_0xbe6dcb[_0x20e18e(0x1b7)](_0xb0b3b2);}if(0x0===_0xbe6dcb[_0x20e18e(0xcb)])return;const _0x40a86c=await _0x1ab4f8[_0x20e18e(0xfa)](_0xf63e75,Array[_0x20e18e(0x1b0)](_0xbe6dcb));for(const _0x3fa21f of _0x40a86c)_0x24ba67[_0x20e18e(0x189)](_0x3fa21f['id'])||_0x24ba67[_0x20e18e(0x180)](_0x3fa21f);}[_0x8aace7(0x14d)](_0xb4f453,_0x2d3c0e={}){const _0x4d0e46=_0x8aace7,_0x23f36f=this[_0x4d0e46(0x16c)][_0x4d0e46(0xc5)],_0xb23d17=[];let _0x2b5f62=0x0;const _0x5bbf5c=_0x4d0e46(0x162)==typeof _0xb4f453?{'main':_0xb4f453}:_0xb4f453;for(const _0xadabb9 of Object[_0x4d0e46(0xfd)](_0x5bbf5c)){if(!this[_0x4d0e46(0x105)][_0x4d0e46(0x184)][_0x4d0e46(0x185)](_0xadabb9))throw new _0x177fa4(_0x4d0e46(0x122),this);const _0x3ee213=this[_0x4d0e46(0x16c)][_0x4d0e46(0x10c)][_0x4d0e46(0xe1)](_0x5bbf5c[_0xadabb9]),_0x1b377b=this[_0x4d0e46(0x105)][_0x4d0e46(0x1bd)](_0xadabb9),_0x2b10aa=new _0x14a164(_0x23f36f[_0x4d0e46(0x144)](_0x1b377b,0x0),_0x3ee213,_0x2b5f62++);_0xb23d17[_0x4d0e46(0x10d)](_0x2b10aa);for(const [_0x322b4d,_0x14363b]of _0x3ee213[_0x4d0e46(0x10f)]){const _0x4b83b9=_0x23f36f[_0x4d0e46(0x12e)](_0x23f36f[_0x4d0e46(0x18c)](_0x1b377b,_0x14363b[_0x4d0e46(0xd6)][_0x4d0e46(0x16b)][_0x4d0e46(0x17a)]()),_0x23f36f[_0x4d0e46(0x18c)](_0x1b377b,_0x14363b[_0x4d0e46(0x152)][_0x4d0e46(0x16b)][_0x4d0e46(0x17a)]())),_0x43031e=new _0x5394b2(_0x322b4d,null,_0x4b83b9,_0x23f36f[_0x4d0e46(0x10f)],!0x0,_0x2b5f62++);_0xb23d17[_0x4d0e46(0x10d)](_0x43031e);}}if(_0x2d3c0e)for(const [_0x2c9216,_0xb6a038]of Object[_0x4d0e46(0x1a5)](_0x2d3c0e)){const _0x39e39a=_0x23f36f[_0x4d0e46(0xe2)][_0x4d0e46(0x1bd)](_0x2c9216);if(!_0x39e39a)throw new _0x177fa4(_0x4d0e46(0x198),null);for(const [_0x1783f5,_0x1c9ac8]of Object[_0x4d0e46(0x1a5)](_0xb6a038))if(null!==_0x1c9ac8){const _0x46671f=new _0x552bec(_0x39e39a,_0x1783f5,null,_0x1c9ac8,_0x2b5f62++);_0xb23d17[_0x4d0e46(0x10d)](_0x46671f);}}return _0xb23d17;}async[_0x8aace7(0x163)](_0x1e873c,_0x25c8c9,_0x56cbba){const _0x12644f=_0x8aace7;this[_0x12644f(0x14d)]({[_0x1e873c]:_0x25c8c9},{[_0x1e873c]:_0x56cbba})[_0x12644f(0x115)]((_0x2ad9cb,_0x4bc5e5)=>{const _0x3195fd=_0x12644f;_0x2ad9cb[_0x3195fd(0x116)]=this[_0x3195fd(0x105)][_0x3195fd(0x1be)]+_0x4bc5e5,_0x2ad9cb[_0x3195fd(0x100)]=!0x0,this[_0x3195fd(0x118)](_0x2ad9cb);}),this[_0x12644f(0xf5)](),await this[_0x12644f(0xf6)]();}async[_0x8aace7(0x183)](_0x593464,_0x44f1a2){const _0x3ad349=_0x8aace7;let _0x56d619;this[_0x3ad349(0x160)]=_0x593464[_0x3ad349(0x127)];const _0x18bbb2=_0x593464[_0x3ad349(0xf7)]&&!_0x593464[_0x3ad349(0xbc)],_0x57ab84=_0x18bbb2?0x0:_0x593464[_0x3ad349(0x10c)][_0x3ad349(0x116)];if(_0x44f1a2[_0x3ad349(0x115)](_0x593e55=>{const _0x49ed3c=_0x3ad349;_0x593e55[_0x49ed3c(0x100)]=!0x0,_0x593e55[_0x49ed3c(0x1bf)]=_0x593464[_0x49ed3c(0x191)],_0x593e55[_0x49ed3c(0xe8)]=null;}),_0x18bbb2)_0x56d619=_0x44f1a2,this[_0x3ad349(0xc3)](_0x56d619,_0x18bbb2);else{if(_0x593464[_0x3ad349(0xbc)]){const _0x4033b3=this[_0x3ad349(0x14d)](_0x593464[_0x3ad349(0xbc)]);this[_0x3ad349(0x105)][_0x3ad349(0x1a2)][_0x3ad349(0x1be)]=-_0x4033b3[_0x3ad349(0xd9)],_0x4033b3[_0x3ad349(0x115)](_0x2ef433=>{const _0x5ebe32=_0x3ad349;_0x2ef433[_0x5ebe32(0x116)]-=_0x4033b3[_0x5ebe32(0xd9)],_0x2ef433[_0x5ebe32(0x1bf)]=_0x593464[_0x5ebe32(0x191)],_0x2ef433[_0x5ebe32(0x100)]=!0x0,_0x2ef433[_0x5ebe32(0xe8)]=null;}),this[_0x3ad349(0xc3)](_0x4033b3,!0x0),this[_0x3ad349(0x196)][_0x3ad349(0x1be)]=-_0x4033b3[_0x3ad349(0xd9)]+this[_0x3ad349(0x160)],this[_0x3ad349(0x132)](_0x4033b3);}this[_0x3ad349(0x105)][_0x3ad349(0x1a2)][_0x3ad349(0x1be)]=_0x57ab84,_0x56d619=this[_0x3ad349(0x158)](_0x593464[_0x3ad349(0x10c)],_0x593464[_0x3ad349(0x12f)]),await this[_0x3ad349(0x156)](_0x56d619),this[_0x3ad349(0xc3)](_0x56d619,_0x18bbb2);}_0x593464[_0x3ad349(0x107)]&&(this[_0x3ad349(0x19b)][_0x3ad349(0x1b5)](_0x56d619,_0x593464[_0x3ad349(0x107)]),this[_0x3ad349(0x1b9)]=_0x593464[_0x3ad349(0x107)]),this[_0x3ad349(0x196)][_0x3ad349(0x1be)]=_0x57ab84+this[_0x3ad349(0x160)],this[_0x3ad349(0x132)](_0x56d619),_0x44f1a2[_0x3ad349(0x1bb)](_0x207aaf=>{const _0x24d7d4=_0x3ad349,_0x186e64=this[_0x24d7d4(0x1a1)](_0x207aaf);return _0x186e64&&!this[_0x24d7d4(0xdc)][_0x24d7d4(0x185)](_0x186e64);})[_0x3ad349(0x115)]((_0x2b3869,_0x35cf24)=>{const _0x58f2bf=_0x3ad349;_0x2b3869[_0x58f2bf(0x116)]=this[_0x58f2bf(0x105)][_0x58f2bf(0x1be)]+_0x35cf24,this[_0x58f2bf(0x118)](_0x2b3869);}),this[_0x3ad349(0x135)]()?(this[_0x3ad349(0x1af)]=0x0,this[_0x3ad349(0xf5)](!0x0),await this[_0x3ad349(0xf6)]()):(this[_0x3ad349(0x1ac)]=!0x1,this[_0x3ad349(0x124)]());}[_0x8aace7(0x164)](_0x2044c5,_0x1011df){const _0x55107f=_0x8aace7,_0x42e528=_0x1011df&&_0x1011df[_0x55107f(0x138)];if(_0x42e528&&_0x42e528[_0x55107f(0x11a)](_0x55107f(0x165)))throw _0x1011df;const _0x40f13e=this[_0x55107f(0x16c)][_0x55107f(0x168)][_0x55107f(0x1b2)](_0x2c94ee);throw this[_0x55107f(0x1ac)]=!0x0,_0x40f13e[_0x55107f(0x1a9)](),this[_0x55107f(0x16c)][_0x55107f(0x174)](_0x55107f(0x12d)),new _0x177fa4(_0x2044c5,this[_0x55107f(0x16c)],_0x42e528?{'originalError':_0x42e528}:void 0x0);}[_0x8aace7(0x118)](_0xafb0e){const _0x1a9376=_0x8aace7;this[_0x1a9376(0x1a6)][_0x1a9376(0x185)](_0xafb0e)||(this[_0x1a9376(0x1a6)][_0x1a9376(0x1b7)](_0xafb0e),this[_0x1a9376(0x1b8)][_0x1a9376(0x10d)](_0xafb0e),this[_0x1a9376(0xc4)]||_0x1a9376(0xf8)==_0xafb0e[_0x1a9376(0xc0)]&&!_0xafb0e[_0x1a9376(0x15d)]||this[_0x1a9376(0x143)]());}[_0x8aace7(0xf5)](_0x4d1276=!0x1){const _0x5b2ce6=_0x8aace7;!_0x4d1276&&this[_0x5b2ce6(0x1ac)]||(this[_0x5b2ce6(0x1ac)]=!0x0,clearTimeout(this[_0x5b2ce6(0x19a)]),this[_0x5b2ce6(0x19a)]=setTimeout(()=>{const _0x3712d2=_0x5b2ce6;this[_0x3712d2(0x18b)]()[_0x3712d2(0x1b6)](_0x3553b0=>{const _0x1b9389=_0x3712d2;_0x3553b0&&(this[_0x1b9389(0x124)](),this[_0x1b9389(0x1ac)]=!0x1);})[_0x3712d2(0x178)](_0x11e225=>{const _0x25f1c6=_0x3712d2;this[_0x25f1c6(0x124)](),this[_0x25f1c6(0x1ac)]=!0x1,function(_0x120f3e){const _0x4d39e9=_0x25f1c6;return _0x120f3e[_0x4d39e9(0x138)][_0x4d39e9(0x11a)](_0x4d39e9(0x199))||_0x120f3e[_0x4d39e9(0x138)][_0x4d39e9(0x11a)](_0x4d39e9(0xe6))||_0x120f3e[_0x4d39e9(0x138)][_0x4d39e9(0x11a)](_0x4d39e9(0xdf));}(_0x11e225)||this[_0x25f1c6(0x164)](_0x11e225[_0x25f1c6(0x138)],_0x11e225);});},this[_0x5b2ce6(0x1af)]));}[_0x8aace7(0xf6)](){return new Promise(_0x336342=>{const _0x56dfd6=_0x19e0;this['on'](_0x56dfd6(0xf0),()=>{_0x336342();});});}async[_0x8aace7(0x18b)](){const _0x2b1c10=_0x8aace7,_0x2348aa=this[_0x2b1c10(0x16c)][_0x2b1c10(0x168)][_0x2b1c10(0x1b2)](_0x3a7e68);if(this[_0x2b1c10(0x103)]()&&(_0x2348aa[_0x2b1c10(0xcd)](),this[_0x2b1c10(0x16d)]=!0x1),!this[_0x2b1c10(0x135)]())return!0x0;const _0x2072a4=[...this[_0x2b1c10(0x1b8)]];for(const _0x5dda07 of _0x2072a4)_0x5dda07[_0x2b1c10(0xd5)]=this[_0x2b1c10(0x105)][_0x2b1c10(0x1a2)][_0x2b1c10(0xfe)](_0x5dda07);const _0x388df5=this[_0x2b1c10(0x19b)][_0x2b1c10(0x141)](_0x2072a4),_0x4d97a1=J++,_0x5c7130=this[_0x2b1c10(0x194)](_0x2072a4),_0x2e063c=await this[_0x2b1c10(0x17e)][_0x2b1c10(0xd2)](_0x5c7130,_0x5c7130[_0x2b1c10(0x116)],_0x388df5);try{return await this[_0x2b1c10(0x15b)](_0x2072a4,_0x2e063c,_0x4d97a1);}catch(_0x91e20f){return this[_0x2b1c10(0x164)](_0x2b1c10(0x140),_0x91e20f);}}async[_0x8aace7(0x15b)](_0x88bf48,_0x3cb5e1,_0x546b38){const _0x4fce7b=_0x8aace7;if(_0x4fce7b(0xe3)in _0x3cb5e1)throw _0x3cb5e1[_0x4fce7b(0xe3)];let _0x40136f=!0x1;if(_0x3cb5e1[_0x4fce7b(0xf7)]){_0x3cb5e1[_0x4fce7b(0x107)]&&(this[_0x4fce7b(0x1b9)]=_0x3cb5e1[_0x4fce7b(0x107)]),this[_0x4fce7b(0x1b8)]=this[_0x4fce7b(0x1b8)][_0x4fce7b(0x1bb)](_0x36db7b=>!_0x88bf48[_0x4fce7b(0x159)](_0x36db7b));for(const _0x107c8f of _0x88bf48)_0x107c8f[_0x4fce7b(0x1bf)]=_0x4fce7b(0xe9)in _0x3cb5e1&&_0x3cb5e1[_0x4fce7b(0xe9)]||void 0x0;X(_0x88bf48,_0x3cb5e1[_0x4fce7b(0x1be)]-_0x88bf48[_0x4fce7b(0xd9)]),this[_0x4fce7b(0x132)](_0x88bf48);const _0x99764f=_0x88bf48[_0x4fce7b(0x1bb)](_0x17b335=>{const _0x39cd52=_0x4fce7b;if(!_0x17b335[_0x39cd52(0x100)])return!0x1;const _0xd7bbfb=this[_0x39cd52(0x1a1)](_0x17b335);return _0xd7bbfb&&!this[_0x39cd52(0xdc)][_0x39cd52(0x185)](_0xd7bbfb);});X(_0x99764f,this[_0x4fce7b(0x105)][_0x4fce7b(0x1be)]),this[_0x4fce7b(0xc3)](_0x99764f),_0x40136f=!0x0,this[_0x4fce7b(0x1af)]=this[_0x4fce7b(0x13c)];}else{const _0x1951fc=this[_0x4fce7b(0x158)](_0x3cb5e1[_0x4fce7b(0x10c)],_0x3cb5e1[_0x4fce7b(0x12f)])[_0x4fce7b(0x1bb)](_0xed61e7=>_0xed61e7[_0x4fce7b(0x116)]>=this[_0x4fce7b(0x1a8)]);_0x1951fc[_0x4fce7b(0x115)](_0x2d38d5=>this[_0x4fce7b(0x106)](_0x2d38d5)),this[_0x4fce7b(0x1b8)]=this[_0x4fce7b(0x1b8)][_0x4fce7b(0x1bb)](_0x2e40a9=>!_0x2e40a9[_0x4fce7b(0x100)]||!this[_0x4fce7b(0xdc)][_0x4fce7b(0x185)](this[_0x4fce7b(0x1a1)](_0x2e40a9))),this[_0x4fce7b(0x1b8)][_0x4fce7b(0xd9)]&&X(this[_0x4fce7b(0x1b8)],this[_0x4fce7b(0x1b8)][0x0][_0x4fce7b(0x116)]),await this[_0x4fce7b(0x156)](_0x1951fc),_0x40136f=this[_0x4fce7b(0x137)](_0x1951fc,_0x3cb5e1[_0x4fce7b(0x1be)],_0x3cb5e1[_0x4fce7b(0x107)]),this[_0x4fce7b(0x1af)]=Math[_0x4fce7b(0x14e)](this[_0x4fce7b(0x1af)]/0x2);}return _0x40136f?!this[_0x4fce7b(0x135)]()||(this[_0x4fce7b(0xf5)](!0x0),!0x1):this[_0x4fce7b(0x164)](_0x4fce7b(0x18e));}[_0x8aace7(0x137)](_0x53fb3d,_0x43d63c,_0x58da90){const _0x2cc05c=_0x8aace7;try{const _0x1abf48={'document':this[_0x2cc05c(0x105)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xdc4529,operationsB:_0x158e2d,originalOperations:_0x3d10a6}=_0xcb1b1d(_0x53fb3d,this[_0x2cc05c(0x1b8)],_0x1abf48);X(_0xdc4529,this[_0x2cc05c(0x105)][_0x2cc05c(0x1be)]),X(_0x158e2d,_0x43d63c);for(const _0x38d8a5 of _0xdc4529){const _0x5c0ba9=_0x3d10a6[_0x2cc05c(0x1b2)](_0x38d8a5);_0x38d8a5[_0x2cc05c(0xe8)]=_0x5c0ba9?_0x5c0ba9[_0x2cc05c(0xe8)]:null;}_0x58da90&&(this[_0x2cc05c(0x19b)][_0x2cc05c(0x1b5)](_0x53fb3d,_0x58da90),this[_0x2cc05c(0x1b9)]=_0x58da90),this[_0x2cc05c(0x1b8)]=[..._0x158e2d],this[_0x2cc05c(0xc3)](_0xdc4529),this[_0x2cc05c(0x132)](_0x53fb3d);}catch(_0x3404aa){return console[_0x2cc05c(0xe3)](_0x3404aa),!0x1;}return!0x0;}[_0x8aace7(0xc3)](_0x23bec1,_0x3d5d7d=!0x1){const _0x27da0a=_0x8aace7;this[_0x27da0a(0x16c)][_0x27da0a(0xc5)][_0x27da0a(0xbd)]({'isUndoable':!0x1,'isLocal':!0x1},_0x468c76=>{const _0x3a8911=_0x27da0a;for(const _0xba6a3e of _0x23bec1)this[_0x3a8911(0x1a6)][_0x3a8911(0x1b7)](_0xba6a3e),this[_0x3a8911(0x106)](_0xba6a3e),_0x468c76[_0x3a8911(0x1bc)][_0x3a8911(0x1b4)](_0xba6a3e),this[_0x3a8911(0x16c)][_0x3a8911(0xc5)][_0x3a8911(0x172)](_0xba6a3e);});}[_0x8aace7(0x106)](_0x291795){const _0x2e1c7b=_0x8aace7,_0x3bdfd5=this[_0x2e1c7b(0x1a1)](_0x291795);_0x3bdfd5&&this[_0x2e1c7b(0xdc)][_0x2e1c7b(0x1b7)](_0x3bdfd5);}[_0x8aace7(0x1a1)](_0x28168d){const _0x4596b2=_0x8aace7;let _0x34817c,_0x16a5c5;switch(_0x28168d[_0x4596b2(0xc0)]){case _0x4596b2(0x15f):_0x34817c=_0x28168d[_0x4596b2(0x11d)][_0x4596b2(0x139)];break;case _0x4596b2(0xf8):if(_0x16a5c5=_0x28168d[_0x4596b2(0xe7)],!_0x16a5c5)return null;_0x34817c=_0x16a5c5[_0x4596b2(0x139)];break;case _0x4596b2(0xd8):_0x34817c=_0x28168d[_0x4596b2(0x139)];break;case _0x4596b2(0xd0):_0x34817c=_0x28168d[_0x4596b2(0x113)];break;case _0x4596b2(0x149):_0x34817c=_0x28168d[_0x4596b2(0x1a4)][_0x4596b2(0x139)];break;default:return null;}return _0x34817c[_0x4596b2(0x11f)];}[_0x8aace7(0x132)](_0x33da0f){const _0x35bde0=_0x8aace7;_0x33da0f[_0x35bde0(0x115)](_0x2324a9=>{const _0x54563d=_0x35bde0,_0xac218e=_0x2324a9[_0x54563d(0x182)]();_0xac218e[_0x54563d(0xe8)]=_0x2324a9[_0x54563d(0xe8)],_0xac218e[_0x54563d(0x100)]=!!_0x2324a9[_0x54563d(0x100)],_0xac218e[_0x54563d(0x1bf)]=_0x2324a9[_0x54563d(0x1bf)],_0xac218e[_0x54563d(0x116)]+=this[_0x54563d(0x160)],_0x2324a9[_0x54563d(0x1ae)]&&this[_0x54563d(0x102)][_0x54563d(0x1b7)](_0xac218e),this[_0x54563d(0x196)][_0x54563d(0x1b4)](_0xac218e);});}[_0x8aace7(0x1b1)](_0x1fc9a2){const _0x1d4e70=_0x8aace7,_0x1103d6=this[_0x1d4e70(0x16c)][_0x1d4e70(0x168)][_0x1d4e70(0x1b2)](_0x1d4e70(0xff)),_0x1407fd=this[_0x1d4e70(0x16c)][_0x1d4e70(0x120)];_0x1fc9a2||(_0x1fc9a2=_0x556c4d(_0x1407fd,_0x1d4e70(0x173))),_0x1103d6[_0x1d4e70(0x18f)](_0x1fc9a2,{'title':_0x556c4d(_0x1407fd,_0x1d4e70(0xc7)),'namespace':_0x1d4e70(0xce)}),this[_0x1d4e70(0x11e)]=!0x0,clearTimeout(this[_0x1d4e70(0x19a)]),this[_0x1d4e70(0x1b8)]=[],this[_0x1d4e70(0x16c)][_0x1d4e70(0x168)][_0x1d4e70(0x1b2)](_0x2c94ee)[_0x1d4e70(0x1a9)]();}[_0x8aace7(0x143)](){const _0x3f555e=_0x8aace7;this[_0x3f555e(0xc4)]||(this[_0x3f555e(0xc4)]=this[_0x3f555e(0x16c)][_0x3f555e(0x168)][_0x3f555e(0x1b2)](_0x45f940)[_0x3f555e(0x1b7)](_0x556c4d(this[_0x3f555e(0x16c)][_0x3f555e(0x120)],_0x3f555e(0x190))));}[_0x8aace7(0x124)](){const _0x5d8d3b=_0x8aace7;this[_0x5d8d3b(0xc4)]&&(this[_0x5d8d3b(0x16c)][_0x5d8d3b(0x168)][_0x5d8d3b(0x1b2)](_0x45f940)[_0x5d8d3b(0x193)](this[_0x5d8d3b(0xc4)]),this[_0x5d8d3b(0xc4)]=null);}[_0x8aace7(0x194)](_0x2b6396){const _0x5e061f=_0x8aace7,_0x50e593=_0x2b6396[_0x5e061f(0x192)](_0x2333ad=>_0x2333ad[_0x5e061f(0x126)]());return this[_0x5e061f(0x15e)][_0x5e061f(0xed)](_0x50e593);}[_0x8aace7(0x158)](_0x275161,_0x5ac604){const _0x151e3a=_0x8aace7;return this[_0x151e3a(0x15e)][_0x151e3a(0x179)](_0x275161)[_0x151e3a(0x192)]((_0x53c2c6,_0x3f8348)=>{const _0x206644=_0x151e3a,_0x59f0de=_0x206644(0xd4)==_0x5ac604[_0x3f8348][_0x206644(0xc0)];if(_0x206644(0xde)==_0x53c2c6[_0x206644(0x15c)]){const _0xd10848=_0x53c2c6[_0x206644(0x11d)][_0x206644(0x139)];!this[_0x206644(0x105)][_0x206644(0x1bd)](_0xd10848)&&(this[_0x206644(0x105)][_0x206644(0x134)](_0x206644(0x133),_0xd10848)[_0x206644(0x197)]=!0x1);}const _0x3c170e=_0x17046d[_0x206644(0xcf)](_0x53c2c6,this[_0x206644(0x105)]);return _0x3c170e[_0x206644(0xd5)]=_0x53c2c6[_0x206644(0xd5)],_0x3c170e[_0x206644(0x100)]=_0x59f0de,_0x3c170e[_0x206644(0xe8)]=_0x59f0de?null:_0x5ac604[_0x3f8348][_0x206644(0x12b)],_0x3c170e[_0x206644(0x1ae)]=_0x206644(0x171)===_0x5ac604[_0x3f8348][_0x206644(0xc0)],_0x3c170e[_0x206644(0x1bf)]=_0x5ac604[_0x3f8348][_0x206644(0x1bf)],_0x3c170e;});}[_0x8aace7(0xeb)](){const _0x51103f=_0x8aace7;this[_0x51103f(0x16d)]=!0x0,this[_0x51103f(0x103)]()?this[_0x51103f(0xf5)]():this[_0x51103f(0x16d)]=!0x1;}[_0x8aace7(0x103)](){const _0x3fd009=_0x8aace7,_0x1bf649=this[_0x3fd009(0x16c)][_0x3fd009(0x168)][_0x3fd009(0x1b2)](_0x1d051a)[_0x3fd009(0x10e)][_0x3fd009(0x1b2)](this[_0x3fd009(0x169)]);return!this[_0x3fd009(0x16c)][_0x3fd009(0x15a)]&&!!_0x1bf649&&_0x1bf649[_0x3fd009(0xd9)]>0x1&&this[_0x3fd009(0x16d)];}[_0x8aace7(0x135)](){const _0x1ea72e=_0x8aace7;return this[_0x1ea72e(0x1b8)][_0x1ea72e(0xd9)]>0x0||this[_0x1ea72e(0x103)]();}}export default l;class Q extends Error{}function X(_0x488478,_0x26c2b3){const _0x4707b1=_0x8aace7;for(const _0x438095 of _0x488478)_0x438095[_0x4707b1(0x116)]=_0x26c2b3++;}class Y{[_0x8aace7(0x16a)];[_0x8aace7(0x145)];constructor(_0x173760){const _0x5465dd=_0x8aace7;this[_0x5465dd(0x16a)]=_0x173760,this[_0x5465dd(0x145)]=new WeakMap();}[_0x8aace7(0x141)](_0x407426){const _0x457896=_0x8aace7;let _0x7e2c9b=_0x407426[_0x457896(0xd9)];for(;_0x7e2c9b--;){const _0x348c8d=_0x407426[_0x7e2c9b];if(!this[_0x457896(0x16a)][_0x457896(0x185)](_0x348c8d)){if(!this[_0x457896(0x145)][_0x457896(0x185)](_0x348c8d)){const _0x4d19a2=_0x784d0f()[_0x457896(0x17a)](0x1,0x12);this[_0x457896(0x145)][_0x457896(0x1b3)](_0x348c8d,_0x4d19a2);}return this[_0x457896(0x145)][_0x457896(0x1b2)](_0x348c8d);}}}[_0x8aace7(0x1b5)](_0x5a2749,_0x575b15){const _0x1357a3=_0x8aace7;if(!_0x575b15)return;let _0x24d927=_0x5a2749[_0x1357a3(0xd9)];for(;_0x24d927--;){const _0x95a412=_0x5a2749[_0x24d927];this[_0x1357a3(0x16a)][_0x1357a3(0x185)](_0x95a412)||this[_0x1357a3(0x145)][_0x1357a3(0x1b3)](_0x95a412,_0x575b15);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x137201=_0x5104;(function(_0xa1ce9b,_0x24bcef){const _0x4c6d02=_0x5104,_0x4d4969=_0xa1ce9b();while(!![]){try{const _0xa94d06=parseInt(_0x4c6d02(0x1a1))/0x1+parseInt(_0x4c6d02(0x1c1))/0x2*(parseInt(_0x4c6d02(0x1b7))/0x3)+parseInt(_0x4c6d02(0x1c9))/0x4+parseInt(_0x4c6d02(0x1d9))/0x5+-parseInt(_0x4c6d02(0x1d0))/0x6*(parseInt(_0x4c6d02(0x1ae))/0x7)+-parseInt(_0x4c6d02(0x1d5))/0x8*(-parseInt(_0x4c6d02(0x1db))/0x9)+-parseInt(_0x4c6d02(0x1a2))/0xa*(parseInt(_0x4c6d02(0x1a8))/0xb);if(_0xa94d06===_0x24bcef)break;else _0x4d4969['push'](_0x4d4969['shift']());}catch(_0xf14bc2){_0x4d4969['push'](_0x4d4969['shift']());}}}(_0x2a86,0x45383));import{ContextPlugin as _0x3950f2}from'ckeditor5/src/core.js';import{Collection as _0x15acb4,CKEditorError as _0x26a413}from'ckeditor5/src/utils.js';import _0x2d0141 from'./websocketgateway.js';import{Users as _0x53dd8f}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x5104(_0x586f4e,_0x5e589c){const _0x2a86cd=_0x2a86();return _0x5104=function(_0x51045,_0x2941ec){_0x51045=_0x51045-0x1a1;let _0xd8ba38=_0x2a86cd[_0x51045];return _0xd8ba38;},_0x5104(_0x586f4e,_0x5e589c);}function _0x2a86(){const _0x2d15a2=['2154272pGKxjT','init','mySessionId','Sessions','defineMe','get','allConnectedUsers','18996IKatnS','role','getUserRole','unregister','assign','273432UxJUXC','sessions-register-already-registered','sessions-unregister-not-exist','remove','1219340JyoDUX','connected','18BgBRGr','add','forEach','getUser','_handleSessionAdd','404067IMvNhC','1603470EgkcpV','isPremiumPlugin','fire','listenTo','register','connection','99jkEOfH','getUserSessions','_handleSessionRemove','user','pluginName','channelSessions','189OvBLsh','getUserBySessionId','_uniqueUsersCount','addUser','delete','clear','isOfficialPlugin','requires','stopListening','1671801qCfrPv','sessionId','sessionAdd:','change:state','_createUser','values','size','_users','context','set','2YRWkZe','_registeredSessions','channelConnectedUsers','state','plugins','orderNumber','has','isMe'];_0x2a86=function(){return _0x2d15a2;};return _0x2a86();}export default class i extends _0x3950f2{[_0x137201(0x1ad)];[_0x137201(0x1c3)];[_0x137201(0x1cf)];[_0x137201(0x1c2)];[_0x137201(0x1b0)];[_0x137201(0x1be)];static get[_0x137201(0x1ac)](){const _0x3aaf6a=_0x137201;return _0x3aaf6a(0x1cc);}static get[_0x137201(0x1b4)](){return!0x0;}static get[_0x137201(0x1a3)](){return!0x0;}static get[_0x137201(0x1b5)](){return[_0x2d0141,_0x53dd8f];}constructor(_0x812712){const _0x6a2b29=_0x137201;super(_0x812712),this[_0x6a2b29(0x1ad)]=new Map(),this[_0x6a2b29(0x1c3)]=new Map(),this[_0x6a2b29(0x1cf)]=new _0x15acb4(),this[_0x6a2b29(0x1c2)]=new Map(),this[_0x6a2b29(0x1b0)]=0x0,this[_0x6a2b29(0x1be)]=this[_0x6a2b29(0x1bf)][_0x6a2b29(0x1c5)][_0x6a2b29(0x1ce)](_0x53dd8f);}[_0x137201(0x1ca)](){const _0x53fb68=_0x137201,_0x59b3d3=this[_0x53fb68(0x1bf)][_0x53fb68(0x1c5)][_0x53fb68(0x1ce)](_0x2d0141);this[_0x53fb68(0x1a5)](_0x59b3d3,_0x53fb68(0x1ba),(_0x5449e8,_0x35a8d6,_0x2ee64d)=>{const _0x459a3d=_0x53fb68;if(_0x459a3d(0x1da)!==_0x2ee64d)this[_0x459a3d(0x1ad)][_0x459a3d(0x1dd)](_0x1c69ff=>_0x1c69ff[_0x459a3d(0x1b3)]()),this[_0x459a3d(0x1c3)][_0x459a3d(0x1dd)](_0x48fe96=>_0x48fe96[_0x459a3d(0x1b3)]()),this[_0x459a3d(0x1cf)][_0x459a3d(0x1b3)]();else{for(const [_0x365fca,_0x2834b6]of this[_0x459a3d(0x1c2)])for(const _0x4777dd of _0x2834b6)this[_0x459a3d(0x1df)](_0x365fca,_0x4777dd);}}),this[_0x53fb68(0x1bb)](_0x59b3d3[_0x53fb68(0x1a7)]['me'],!0x0);}[_0x137201(0x1a6)](_0x4e77ef,_0x530e54){const _0x42f2d8=_0x137201;if(this[_0x42f2d8(0x1c2)][_0x42f2d8(0x1c7)](_0x4e77ef))throw new _0x26a413(_0x42f2d8(0x1d6),null,{'channelId':_0x4e77ef});this[_0x42f2d8(0x1c2)][_0x42f2d8(0x1c0)](_0x4e77ef,_0x530e54),this[_0x42f2d8(0x1ad)][_0x42f2d8(0x1c0)](_0x4e77ef,new _0x15acb4()),this[_0x42f2d8(0x1c3)][_0x42f2d8(0x1c0)](_0x4e77ef,new _0x15acb4()),this[_0x42f2d8(0x1a5)](_0x530e54,_0x42f2d8(0x1dc),(_0x564fe6,_0x3cefd0)=>this[_0x42f2d8(0x1df)](_0x4e77ef,_0x3cefd0)),this[_0x42f2d8(0x1a5)](_0x530e54,_0x42f2d8(0x1d8),(_0x50a44e,_0x448ff2)=>this[_0x42f2d8(0x1aa)](_0x4e77ef,_0x448ff2));for(const _0x13643d of _0x530e54)this[_0x42f2d8(0x1df)](_0x4e77ef,_0x13643d);}[_0x137201(0x1d3)](_0x205a4c){const _0x4d6320=_0x137201;if(!this[_0x4d6320(0x1c2)][_0x4d6320(0x1c7)](_0x205a4c))throw new _0x26a413(_0x4d6320(0x1d7),null,{'channelId':_0x205a4c});const _0x58f346=this[_0x4d6320(0x1c2)][_0x4d6320(0x1ce)](_0x205a4c);this[_0x4d6320(0x1b6)](_0x58f346);for(const _0x43187e of _0x58f346)_0x4d6320(0x1da)===this[_0x4d6320(0x1bf)][_0x4d6320(0x1c5)][_0x4d6320(0x1ce)](_0x2d0141)[_0x4d6320(0x1c4)]&&this[_0x4d6320(0x1aa)](_0x205a4c,_0x43187e);this[_0x4d6320(0x1c2)][_0x4d6320(0x1b2)](_0x205a4c),this[_0x4d6320(0x1ad)][_0x4d6320(0x1b2)](_0x205a4c),this[_0x4d6320(0x1c3)][_0x4d6320(0x1b2)](_0x205a4c);}get[_0x137201(0x1cb)](){const _0x56baa0=_0x137201;return this[_0x56baa0(0x1bf)][_0x56baa0(0x1c5)][_0x56baa0(0x1ce)](_0x2d0141)[_0x56baa0(0x1a7)][_0x56baa0(0x1b8)];}[_0x137201(0x1af)](_0x593636){const _0x5e2714=_0x137201;for(const _0x4fed6b of this[_0x5e2714(0x1ad)][_0x5e2714(0x1bc)]())for(const _0x5342d0 of _0x4fed6b)if(_0x5342d0['id']===_0x593636)return _0x5342d0[_0x5e2714(0x1ab)];}[_0x137201(0x1a9)](_0x1500f8,_0x58cc28){const _0x312826=_0x137201,_0x15f9c0=_0x58cc28?[this[_0x312826(0x1ad)][_0x312826(0x1ce)](_0x58cc28)]:this[_0x312826(0x1ad)][_0x312826(0x1bc)](),_0x577956=new Set();for(const _0xdce5ed of _0x15f9c0)for(const _0xc8a6ac of _0xdce5ed)_0xc8a6ac[_0x312826(0x1ab)]['id']===_0x1500f8['id']&&_0x577956[_0x312826(0x1dc)](_0xc8a6ac['id']);return _0x577956;}[_0x137201(0x1d2)](_0x4877b0){const _0x2ff123=_0x137201;for(const _0xaf580f of this[_0x2ff123(0x1ad)][_0x2ff123(0x1bc)]())for(const _0x57cd38 of _0xaf580f)if(_0x57cd38[_0x2ff123(0x1ab)]===_0x4877b0)return _0x57cd38[_0x2ff123(0x1d1)];}[_0x137201(0x1df)](_0x48f62c,_0x4dd915){const _0x7b8702=_0x137201;if(_0x7b8702(0x1da)!==this[_0x7b8702(0x1bf)][_0x7b8702(0x1c5)][_0x7b8702(0x1ce)](_0x2d0141)[_0x7b8702(0x1c4)])return;const _0xafba3d=_0x4dd915[_0x7b8702(0x1ab)],_0x40d510=this[_0x7b8702(0x1be)][_0x7b8702(0x1de)](_0xafba3d['id'])||this[_0x7b8702(0x1bb)](_0xafba3d),_0x3b0500=Object[_0x7b8702(0x1d4)]({},_0x4dd915,{'user':_0x40d510});this[_0x7b8702(0x1ad)][_0x7b8702(0x1ce)](_0x48f62c)[_0x7b8702(0x1dc)](_0x3b0500);const _0x1bbf24=this[_0x7b8702(0x1c3)][_0x7b8702(0x1ce)](_0x48f62c);_0x1bbf24[_0x7b8702(0x1c7)](_0x40d510['id'])||_0x1bbf24[_0x7b8702(0x1dc)](_0x40d510),this[_0x7b8702(0x1cf)][_0x7b8702(0x1c7)](_0x40d510['id'])||this[_0x7b8702(0x1cf)][_0x7b8702(0x1dc)](_0x40d510,_0x40d510[_0x7b8702(0x1c8)]?0x0:void 0x0),this[_0x7b8702(0x1a4)](_0x7b8702(0x1b9)+_0x48f62c,{'channelId':_0x48f62c,'session':_0x3b0500});}[_0x137201(0x1aa)](_0xaaa680,_0xc897d6){const _0x55dd20=_0x137201;if(_0x55dd20(0x1da)!==this[_0x55dd20(0x1bf)][_0x55dd20(0x1c5)][_0x55dd20(0x1ce)](_0x2d0141)[_0x55dd20(0x1c4)])return;const _0x4fd56a=this[_0x55dd20(0x1c3)][_0x55dd20(0x1ce)](_0xaaa680),_0x5f0103=_0xc897d6[_0x55dd20(0x1ab)];_0x5f0103['id']&&(this[_0x55dd20(0x1ad)][_0x55dd20(0x1ce)](_0xaaa680)[_0x55dd20(0x1d8)](_0xc897d6['id']),_0x4fd56a[_0x55dd20(0x1c7)](_0x5f0103['id'])&&!this[_0x55dd20(0x1a9)](_0x5f0103,_0xaaa680)[_0x55dd20(0x1bd)]&&_0x4fd56a[_0x55dd20(0x1d8)](_0x5f0103['id']),this[_0x55dd20(0x1cf)][_0x55dd20(0x1ce)](_0x5f0103['id'])&&!this[_0x55dd20(0x1a9)](_0x5f0103)[_0x55dd20(0x1bd)]&&this[_0x55dd20(0x1cf)][_0x55dd20(0x1d8)](_0x5f0103['id']));}[_0x137201(0x1bb)](_0x750577,_0xe799fc){const _0x492508=_0x137201,_0x15b091=this[_0x492508(0x1be)][_0x492508(0x1b1)](_0x750577);return _0xe799fc&&this[_0x492508(0x1be)][_0x492508(0x1cd)](_0x750577['id']),_0x15b091[_0x492508(0x1c6)]=this[_0x492508(0x1b0)]++,_0x15b091;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x21a58e=_0x3e8d;(function(_0x1a2a9f,_0x190aa3){const _0x408abe=_0x3e8d,_0xd96a13=_0x1a2a9f();while(!![]){try{const _0x300e65=-parseInt(_0x408abe(0x8c))/0x1*(parseInt(_0x408abe(0xb5))/0x2)+parseInt(_0x408abe(0x85))/0x3*(parseInt(_0x408abe(0xbd))/0x4)+-parseInt(_0x408abe(0xbc))/0x5*(-parseInt(_0x408abe(0xcb))/0x6)+parseInt(_0x408abe(0xca))/0x7*(-parseInt(_0x408abe(0x9b))/0x8)+parseInt(_0x408abe(0x96))/0x9+parseInt(_0x408abe(0x89))/0xa*(parseInt(_0x408abe(0xe9))/0xb)+-parseInt(_0x408abe(0xfe))/0xc;if(_0x300e65===_0x190aa3)break;else _0xd96a13['push'](_0xd96a13['shift']());}catch(_0x288fb7){_0xd96a13['push'](_0xd96a13['shift']());}}}(_0x4adc,0x61fb7));import{Plugin as _0x521a7a}from'ckeditor5/src/core.js';import{global as _0x22b567,DomEmitterMixin as _0x173bd0}from'ckeditor5/src/utils.js';function _0x4adc(){const _0x185f3c=['2467644enkBhf','marker','isOfficialPlugin','innerHTML','isObject','mouseleave','user:range:','keydown','setAttribute','hasDomSelection','oldRange','editing','getPositions','3744692fniUrP','30VtpYLk','false','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','get','createUIElement','checkChild','isDocumentOperation','_domEmitter','element','addMarker','createElement','data-session-id','clear','tableCell','span','delete','type','change','markerNameToElements','getStart','afterInit','set','isPremiumPlugin','getNearestSelectionRange','classList','markers','reconvertMarker','getAttribute','removeMarker','nodeAfter','8107gdaupr','_createdBatches','ck-user__marker_hovered','change:range','document','userPositionMarker','render','UserMarkers','markerToElement','markerToHighlight','commands','editingDowncast','end','undo','pluginName','user:position','split','selection','getCustomProperty','getRange','addEventListener','2616bvpuxF','removeClass','for','destroy','contenteditable','remove','add','applyOperation','getUserBySessionId','ck-user__selection','setCustomProperty','markerName','ck-user__marker-tooltip','listenTo','editor','detach','textContent','schema','mapper','getMarkerClass','3kYXltp','startsWith','createUserMarkerOperations','$graveyard','1730ycufjH','stopListening','conversion','2xYfSdu','ck-user__marker\x20','hasContent','model','isCollapsed','requires','isSimilar','updateMarker','newRange','outerHTML','6854778euzgAQ','user:position:','rootName','getFirstRange','getContainedElement','8NiWnif','parent','createRange','highest','markerRange','init','spellcheck','mouseenter','user:range','deletionPosition','toRange','view','isInline','start','plugins','isLimit','toDomElement','name','$text','batch','orderNumber','root','update:user:range','enqueueChange','user:','fromRange','782330ZuYGeD','mySessionId','getSelectionClass','color','size','Escape','has','212785gdFtSj'];_0x4adc=function(){return _0x185f3c;};return _0x4adc();}import _0x147751 from'./sessions.js';function _0x3e8d(_0x35e96f,_0xbf0dfc){const _0x4adc3d=_0x4adc();return _0x3e8d=function(_0x3e8de4,_0x30e444){_0x3e8de4=_0x3e8de4-0x82;let _0x5aa0f3=_0x4adc3d[_0x3e8de4];return _0x5aa0f3;},_0x3e8d(_0x35e96f,_0xbf0dfc);}import{LiveRange as _0x467abe}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x521a7a{[_0x21a58e(0xd2)]=new(_0x173bd0())();static get[_0x21a58e(0x91)](){return[_0x147751];}static get[_0x21a58e(0xf7)](){const _0x532f7b=_0x21a58e;return _0x532f7b(0xf0);}static get[_0x21a58e(0xbf)](){return!0x0;}static get[_0x21a58e(0xe1)](){return!0x0;}[_0x21a58e(0xa0)](){const _0x184418=_0x21a58e,_0x127a92=this[_0x184418(0x10c)],_0x13b214=_0x127a92[_0x184418(0xa9)][_0x184418(0xce)](_0x147751);_0x127a92[_0x184418(0x8b)][_0x184418(0x100)](_0x184418(0xf4))[_0x184418(0xf1)]({'model':_0x184418(0xf8),'view':(_0x395164,{writer:_0x53b6e4})=>function(_0x2d33b6,_0x598d40,_0x395faa,_0x4febd8){const _0x1966aa=_0x184418,_0x32a421=_0x2d33b6[_0x1966aa(0x109)][_0x1966aa(0xf9)](':')[0x2],_0x309671=_0x395faa[_0x1966aa(0x106)](_0x32a421);if(!_0x309671||_0x32a421===_0x395faa[_0x1966aa(0xb6)])return;if(!_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x82)][_0x1966aa(0xd0)](_0x2d33b6[_0x1966aa(0x9f)][_0x1966aa(0xa8)],_0x1966aa(0xad)))return;const _0x510cea={'class':_0x1966aa(0x8d)+_0x309671[_0x1966aa(0xb8)][_0x1966aa(0x84)](),'data-name':_0x309671[_0x1966aa(0xac)],'data-session-id':_0x32a421},_0x52ffc9=_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0xe4)][_0x1966aa(0xce)](_0x2d33b6[_0x1966aa(0x109)]),_0x4e08ef=_0x52ffc9[_0x1966aa(0xde)](),_0x757d32=_0x4e08ef[_0x1966aa(0xe8)],_0x1611a6=_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x82)];if(_0x757d32&&_0x1611a6[_0x1966aa(0xc1)](_0x757d32)&&_0x1611a6[_0x1966aa(0xa7)](_0x757d32)&&!_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0xe4)][_0x1966aa(0xce)](_0x1966aa(0xc3)+_0x32a421)[_0x1966aa(0xfc)]()[_0x1966aa(0x90)])return;const _0xde26e6=_0x4e08ef[_0x1966aa(0x9c)];return _0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x82)][_0x1966aa(0xaa)](_0xde26e6)&&!_0x4febd8[_0x1966aa(0x8f)][_0x1966aa(0x8e)](_0xde26e6)&&(_0x510cea[_0x1966aa(0x102)]=!0x1),function(_0x2a6f3a,_0x1e4ba7,_0x5ed652){const _0x560879=_0x1966aa,_0xb198c6=_0x2a6f3a[_0x560879(0xcf)](_0x560879(0xd9),_0x1e4ba7);return _0x2a6f3a[_0x560879(0x108)](_0x560879(0xee),!0x0,_0xb198c6),_0xb198c6[_0x560879(0xef)]=function(_0x1e1b2e){const _0x289b32=_0x560879,_0x46f4e3=this[_0x289b32(0xab)](_0x1e1b2e),_0x1ec01f=document[_0x289b32(0xd5)](_0x289b32(0xd9));return _0x1ec01f[_0x289b32(0xe3)][_0x289b32(0x104)](_0x289b32(0x10a)),_0x1ec01f[_0x289b32(0xc5)](_0x289b32(0x102),_0x289b32(0xcc)),_0x1ec01f[_0x289b32(0xc5)](_0x289b32(0xa1),_0x289b32(0xcc)),_0x1ec01f[_0x289b32(0x10e)]=_0x5ed652[_0x289b32(0xac)],_0x46f4e3[_0x289b32(0xc0)]=_0x289b32(0xcd)+_0x1ec01f[_0x289b32(0x95)]+'',_0x46f4e3[_0x289b32(0xfd)](_0x289b32(0xa2),()=>{const _0xad55d8=_0x289b32;_0x46f4e3[_0xad55d8(0xe3)][_0xad55d8(0x104)](_0xad55d8(0xeb));}),_0x46f4e3[_0x289b32(0xfd)](_0x289b32(0xc2),()=>{const _0xa559c2=_0x289b32;_0x46f4e3[_0xa559c2(0xe3)][_0xa559c2(0x103)](_0xa559c2(0xeb));}),_0x46f4e3;},_0xb198c6[_0x560879(0x92)]=function(_0x3df57b){const _0x4ee019=_0x560879;return!(!this[_0x4ee019(0xfb)](_0x4ee019(0xee))||!_0x3df57b[_0x4ee019(0xfb)](_0x4ee019(0xee))||this[_0x4ee019(0xe6)](_0x4ee019(0xd6))!=_0x3df57b[_0x4ee019(0xe6)](_0x4ee019(0xd6)));},_0xb198c6;}(_0x598d40,_0x510cea,_0x309671);}(_0x395164,_0x53b6e4,_0x13b214,_0x127a92)}),_0x127a92[_0x184418(0x8b)][_0x184418(0x100)](_0x184418(0xf4))[_0x184418(0xf2)]({'model':_0x184418(0xa3),'view':_0x30ffb4=>function(_0xa72c9a,_0x37a2a6){const _0x13a245=_0x184418,_0x1e02f2=_0xa72c9a[_0x13a245(0x109)][_0x13a245(0xf9)](':')[0x2];if(_0x1e02f2===_0x37a2a6[_0x13a245(0xb6)])return null;const _0x3942ae=_0x37a2a6[_0x13a245(0x106)](_0x1e02f2);if(!_0x3942ae)return{'id':_0x1e02f2,'classes':[]};return{'id':_0x1e02f2,'classes':[_0x13a245(0x107),_0x3942ae[_0x13a245(0xb8)][_0x13a245(0xb7)]()],'attributes':{'data-session-id':_0x1e02f2},'priority':0x7d0+_0x3942ae[_0x13a245(0xaf)]};}(_0x30ffb4,_0x13b214)}),function(_0x238fc0){const _0x269a0f=_0x184418,_0x3a423c=_0x238fc0[_0x269a0f(0x8f)],_0x5b86a6=new Map(),_0x48dd6f=_0x238fc0[_0x269a0f(0xa9)][_0x269a0f(0xce)](_0x147751);_0x3a423c[_0x269a0f(0xe4)]['on'](_0x269a0f(0xb1),(_0x513475,_0x52ba75,_0x57afe0,_0x5e53e8)=>{const _0x2a7070=_0x269a0f;if(!_0x5e53e8&&_0x5b86a6[_0x2a7070(0xce)](_0x52ba75[_0x2a7070(0xac)]))return _0x5b86a6[_0x2a7070(0xce)](_0x52ba75[_0x2a7070(0xac)])[_0x2a7070(0x10d)](),void _0x5b86a6[_0x2a7070(0xda)](_0x52ba75[_0x2a7070(0xac)]);const _0x5b71fc=_0x52ba75[_0x2a7070(0xac)][_0x2a7070(0xf9)](':')[0x2];if(_0x5b71fc===_0x48dd6f[_0x2a7070(0xb6)])return;const _0x1443a0=_0x2a7070(0x97)+_0x5b71fc;_0x3a423c[_0x2a7070(0xe4)][_0x2a7070(0xbb)](_0x1443a0)&&_0x238fc0[_0x2a7070(0xc8)][_0x2a7070(0xe5)](_0x1443a0),_0x52ba75['on'](_0x2a7070(0xec),(_0x2b1b33,_0xcff633,_0x20c614)=>{const _0x1bffad=_0x2a7070;if(_0x1bffad(0x88)!=_0xcff633[_0x1bffad(0xb0)][_0x1bffad(0x98)]&&_0x1bffad(0x88)==_0x52ba75[_0x1bffad(0xfc)]()[_0x1bffad(0xb0)][_0x1bffad(0x98)]&&!_0x5b86a6[_0x1bffad(0xbb)](_0x52ba75[_0x1bffad(0xac)])){const _0x509572=_0x3a423c[_0x1bffad(0x82)][_0x1bffad(0xe2)](_0x20c614[_0x1bffad(0xa4)]);if(_0x509572){const _0x10861a=_0x467abe[_0x1bffad(0xb4)](_0x509572);_0x5b86a6[_0x1bffad(0xe0)](_0x52ba75[_0x1bffad(0xac)],_0x10861a),_0x10861a['on'](_0x1bffad(0xec),(_0x310e2f,_0xc0cfa1,_0x5dc076)=>{const _0x48c3c1=_0x1bffad;if(_0x48c3c1(0x88)==_0x10861a[_0x48c3c1(0xb0)][_0x48c3c1(0x98)]){const _0x4c0b80=_0x3a423c[_0x48c3c1(0x82)][_0x48c3c1(0xe2)](_0x5dc076[_0x48c3c1(0xa4)]);_0x4c0b80?(_0x10861a[_0x48c3c1(0xa8)]=_0x4c0b80[_0x48c3c1(0xa8)],_0x10861a[_0x48c3c1(0xf5)]=_0x4c0b80[_0x48c3c1(0xf5)]):(_0x5b86a6[_0x48c3c1(0xda)](_0x52ba75[_0x48c3c1(0xac)]),_0x10861a[_0x48c3c1(0x10d)]());}});}}});}),_0x3a423c[_0x269a0f(0xed)]['on'](_0x269a0f(0xdc),()=>{const _0x5b8b96=_0x269a0f;_0x5b86a6[_0x5b8b96(0xb9)]>0x0&&_0x3a423c[_0x5b8b96(0xb2)]({'isUndoable':!0x1},_0x49c5cf=>{const _0x55c293=_0x5b8b96;for(const [_0x5ae96c,_0x32d1a1]of _0x5b86a6)_0x55c293(0x88)==_0x3a423c[_0x55c293(0xe4)][_0x55c293(0xce)](_0x5ae96c)[_0x55c293(0xfc)]()[_0x55c293(0xb0)][_0x55c293(0x98)]&&(te(_0x5ae96c[_0x55c293(0xf9)](':')[0x2],_0x32d1a1[_0x55c293(0xa5)](),_0x3a423c,_0x49c5cf),_0x32d1a1[_0x55c293(0x10d)]());_0x5b86a6[_0x55c293(0xd7)]();});});}(_0x127a92),this[_0x184418(0xd2)][_0x184418(0x10b)](_0x22b567[_0x184418(0xed)],_0x184418(0xc4),(_0xbbd3ba,{key:_0x2d32a1})=>{const _0x43c66b=_0x184418;_0x43c66b(0xba)===_0x2d32a1&&function(_0x3808bb){const _0x80b2de=_0x43c66b;_0x3808bb[_0x80b2de(0xc8)][_0x80b2de(0xa6)][_0x80b2de(0xdc)](_0x4b6c7b=>{const _0x27fcfe=_0x80b2de;for(const _0x57cc44 of _0x3808bb[_0x27fcfe(0x8f)][_0x27fcfe(0xe4)]){if(!_0x57cc44[_0x27fcfe(0xac)][_0x27fcfe(0x86)](_0x27fcfe(0xf8)))continue;const _0x176b38=_0x3808bb[_0x27fcfe(0xc8)][_0x27fcfe(0x83)][_0x27fcfe(0xdd)](_0x57cc44[_0x27fcfe(0xac)]);if(_0x176b38){for(const _0x26758e of _0x176b38)_0x4b6c7b[_0x27fcfe(0xff)](_0x27fcfe(0xeb),_0x26758e);}}});}(_0x127a92);},{'useCapture':!0x0});}[_0x21a58e(0xdf)](){const _0x40cdfb=_0x21a58e,_0x220e79=this[_0x40cdfb(0x10c)],_0x25d8fc=_0x220e79[_0x40cdfb(0xf3)][_0x40cdfb(0xce)](_0x40cdfb(0xf6));_0x25d8fc&&_0x220e79[_0x40cdfb(0x8f)]['on'](_0x40cdfb(0x105),(_0x2e5da7,_0x21de6d)=>{const _0x7747ea=_0x40cdfb,_0x2ea918=_0x21de6d[0x0];if(!_0x2ea918[_0x7747ea(0xd1)])return;if(_0x7747ea(0xbe)!=_0x2ea918[_0x7747ea(0xdb)]||!_0x2ea918[_0x7747ea(0xac)][_0x7747ea(0x86)](_0x7747ea(0xb3)))return;const _0x358979=_0x2ea918[_0x7747ea(0xae)];_0x25d8fc[_0x7747ea(0xea)][_0x7747ea(0xbb)](_0x358979)&&(_0x2ea918[_0x7747ea(0x94)]=_0x2ea918[_0x7747ea(0xc7)]?_0x220e79[_0x7747ea(0x8f)][_0x7747ea(0x9d)](_0x2ea918[_0x7747ea(0xc7)][_0x7747ea(0xa8)],_0x2ea918[_0x7747ea(0xc7)][_0x7747ea(0xf5)]):null);},{'priority':_0x40cdfb(0x9e)});}[_0x21a58e(0x101)](){const _0x253c76=_0x21a58e;return this[_0x253c76(0xd2)][_0x253c76(0x8a)](),super[_0x253c76(0x101)]();}[_0x21a58e(0x87)](){const _0x152ccf=_0x21a58e,_0x12ea71=this[_0x152ccf(0x10c)],_0x40e8b7=_0x12ea71[_0x152ccf(0x8f)][_0x152ccf(0xed)],_0x3c7f00=_0x12ea71[_0x152ccf(0xa9)][_0x152ccf(0xce)](_0x147751);_0x12ea71[_0x152ccf(0x8f)][_0x152ccf(0xb2)]({'isUndoable':!0x1},_0x8b5709=>{const _0x4c2f02=_0x152ccf,_0x352dc9=_0x4c2f02(0xc3)+_0x3c7f00[_0x4c2f02(0xb6)],_0x431c93=_0x4c2f02(0x97)+_0x3c7f00[_0x4c2f02(0xb6)],_0x5a0492=_0x12ea71[_0x4c2f02(0x8f)][_0x4c2f02(0xe4)][_0x4c2f02(0xbb)](_0x352dc9);_0x12ea71[_0x4c2f02(0xc8)][_0x4c2f02(0xa6)][_0x4c2f02(0xc6)]?te(_0x3c7f00[_0x4c2f02(0xb6)],_0x40e8b7[_0x4c2f02(0xfa)][_0x4c2f02(0x99)](),_0x12ea71[_0x4c2f02(0x8f)],_0x8b5709):_0x5a0492&&(_0x8b5709[_0x4c2f02(0xe7)](_0x352dc9),_0x8b5709[_0x4c2f02(0xe7)](_0x431c93));});}}function te(_0x40f249,_0x3fb706,_0x440600,_0x1fb0ce){const _0x3218ba=_0x21a58e,_0x1532ad=_0x3218ba(0xc3)+_0x40f249,_0x174eff=_0x3218ba(0x97)+_0x40f249,_0x263ac4=_0x3fb706[_0x3218ba(0x9a)]();let _0x434d9c=_0x3fb706[_0x3218ba(0xa8)];_0x263ac4&&_0x263ac4['is'](_0x3218ba(0xd3),_0x3218ba(0xd8))&&(_0x434d9c=function(_0x28471a,_0x5b2427){const _0x29d334=_0x3218ba;for(const _0x510689 of _0x28471a[_0x29d334(0xc9)]())if(_0x5b2427[_0x29d334(0x82)][_0x29d334(0xd0)](_0x510689,_0x29d334(0xad)))return _0x510689;}(_0x3fb706,_0x440600),_0x3fb706=_0x1fb0ce[_0x3218ba(0x9d)](_0x434d9c));const _0x1edc07=_0x1fb0ce[_0x3218ba(0x9d)](_0x434d9c);_0x440600[_0x3218ba(0xe4)][_0x3218ba(0xbb)](_0x1532ad)?(_0x1fb0ce[_0x3218ba(0x93)](_0x1532ad,{'range':_0x3fb706}),_0x1fb0ce[_0x3218ba(0x93)](_0x174eff,{'range':_0x1edc07})):(_0x1fb0ce[_0x3218ba(0xd4)](_0x1532ad,{'range':_0x3fb706,'usingOperation':!0x0}),_0x1fb0ce[_0x3218ba(0xd4)](_0x174eff,{'range':_0x1edc07,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x585351=_0x3909;function _0x43b2(){const _0x59dc9f=['hasContent','for','classList','enqueueChange','9byQGtN','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker-tooltip','1300741OIdbZh','39jRTuQT','pluginName','nodeAfter','type','data-session-id','user:','has','editor','Escape','innerHTML','user:range','removeClass','change:range','$text','isSimilar','markerRange','oldRange','batch','getContainedElement','getRange','387130qzWTet','ck-user__marker\x20','editingDowncast','addMarker','markerToElement','root','stopListening','user:position:','plugins','afterInit','ck-user__selection','set','model','marker','start','render','setAttribute','60yMbRsu','listenTo','markerToHighlight','change','mouseleave','clear','_domEmitter','size','UserMarkers','document','commands','createUIElement','isLimit','isDocumentOperation','name','get','deletionPosition','userPositionMarker','$graveyard','applyOperation','createElement','color','markerName','getMarkerClass','init','getStart','tableCell','view','outerHTML','1670648uQSnrq','fromRange','newRange','editing','reconvertMarker','getPositions','contenteditable','markerNameToElements','conversion','update:user:range','createUserMarkerOperations','setCustomProperty','spellcheck','isInline','parent','isObject','hasDomSelection','updateMarker','mapper','startsWith','highest','getCustomProperty','destroy','getSelectionClass','mySessionId','getFirstRange','user:range:','keydown','markers','toDomElement','undo','157375nRMFuO','2282312vToIVZ','isOfficialPlugin','addEventListener','52528hRdMvC','_createdBatches','span','isCollapsed','34XzZriL','removeMarker','orderNumber','schema','55udnsYl','remove','ck-user__marker_hovered','false','checkChild','mouseenter','selection','delete','createRange','user:position','split','6KrzJic','5378MeknyW','textContent','getUserBySessionId','element','add','isPremiumPlugin','end','getNearestSelectionRange','getAttribute','requires','detach','rootName','toRange'];_0x43b2=function(){return _0x59dc9f;};return _0x43b2();}(function(_0x1d8293,_0x4a6819){const _0x44d388=_0x3909,_0x4f310d=_0x1d8293();while(!![]){try{const _0x5ac3ea=-parseInt(_0x44d388(0x13a))/0x1*(-parseInt(_0x44d388(0x12a))/0x2)+-parseInt(_0x44d388(0x14f))/0x3*(parseInt(_0x44d388(0x126))/0x4)+parseInt(_0x44d388(0x122))/0x5*(parseInt(_0x44d388(0x139))/0x6)+parseInt(_0x44d388(0x103))/0x7+parseInt(_0x44d388(0x123))/0x8*(parseInt(_0x44d388(0x14b))/0x9)+-parseInt(_0x44d388(0x163))/0xa*(-parseInt(_0x44d388(0x12e))/0xb)+parseInt(_0x44d388(0x174))/0xc*(-parseInt(_0x44d388(0x14e))/0xd);if(_0x5ac3ea===_0x4a6819)break;else _0x4f310d['push'](_0x4f310d['shift']());}catch(_0x55c3bc){_0x4f310d['push'](_0x4f310d['shift']());}}}(_0x43b2,0x295ca));import{Plugin as _0x5f1172}from'ckeditor5/src/core.js';function _0x3909(_0x377b05,_0x4aa45c){const _0x43b2ac=_0x43b2();return _0x3909=function(_0x3909c3,_0x48a085){_0x3909c3=_0x3909c3-0xed;let _0x38555d=_0x43b2ac[_0x3909c3];return _0x38555d;},_0x3909(_0x377b05,_0x4aa45c);}import{global as _0x4ab384,DomEmitterMixin as _0x4353b2}from'ckeditor5/src/utils.js';import _0x17b4b4 from'./sessions.js';import{LiveRange as _0xa4d461}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x5f1172{[_0x585351(0x17a)]=new(_0x4353b2())();static get[_0x585351(0x143)](){return[_0x17b4b4];}static get[_0x585351(0x150)](){const _0x41d233=_0x585351;return _0x41d233(0xee);}static get[_0x585351(0x124)](){return!0x0;}static get[_0x585351(0x13f)](){return!0x0;}[_0x585351(0xfe)](){const _0x754afa=_0x585351,_0x4f92ca=this[_0x754afa(0x156)],_0x5a5153=_0x4f92ca[_0x754afa(0x16b)][_0x754afa(0xf5)](_0x17b4b4);_0x4f92ca[_0x754afa(0x10b)][_0x754afa(0x148)](_0x754afa(0x165))[_0x754afa(0x167)]({'model':_0x754afa(0x137),'view':(_0x1399ff,{writer:_0x10031e})=>function(_0x51ee3f,_0x254f63,_0x2db115,_0x13b30b){const _0x293cf5=_0x754afa,_0x513bc5=_0x51ee3f[_0x293cf5(0xfc)][_0x293cf5(0x138)](':')[0x2],_0x1fc3d0=_0x2db115[_0x293cf5(0x13c)](_0x513bc5);if(!_0x1fc3d0||_0x513bc5===_0x2db115[_0x293cf5(0x11b)])return;if(!_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x12d)][_0x293cf5(0x132)](_0x51ee3f[_0x293cf5(0x15e)][_0x293cf5(0x171)],_0x293cf5(0x15c)))return;const _0x36e93b={'class':_0x293cf5(0x164)+_0x1fc3d0[_0x293cf5(0xfb)][_0x293cf5(0xfd)](),'data-name':_0x1fc3d0[_0x293cf5(0xf4)],'data-session-id':_0x513bc5},_0x29c817=_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x11f)][_0x293cf5(0xf5)](_0x51ee3f[_0x293cf5(0xfc)]),_0x28fc70=_0x29c817[_0x293cf5(0xff)](),_0x4bf580=_0x28fc70[_0x293cf5(0x151)],_0x5e62ec=_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x12d)];if(_0x4bf580&&_0x5e62ec[_0x293cf5(0x112)](_0x4bf580)&&_0x5e62ec[_0x293cf5(0x110)](_0x4bf580)&&!_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x11f)][_0x293cf5(0xf5)](_0x293cf5(0x11d)+_0x513bc5)[_0x293cf5(0x162)]()[_0x293cf5(0x129)])return;const _0x505198=_0x28fc70[_0x293cf5(0x111)];return _0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x12d)][_0x293cf5(0xf2)](_0x505198)&&!_0x13b30b[_0x293cf5(0x16f)][_0x293cf5(0x147)](_0x505198)&&(_0x36e93b[_0x293cf5(0x109)]=!0x1),function(_0x4bef4e,_0x2a5234,_0xef3bf7){const _0x316430=_0x293cf5,_0x29f0f7=_0x4bef4e[_0x316430(0xf1)](_0x316430(0x128),_0x2a5234);return _0x4bef4e[_0x316430(0x10e)](_0x316430(0xf7),!0x0,_0x29f0f7),_0x29f0f7[_0x316430(0x172)]=function(_0x397cca){const _0x323d98=_0x316430,_0x54df85=this[_0x323d98(0x120)](_0x397cca),_0xfc58ef=document[_0x323d98(0xfa)](_0x323d98(0x128));return _0xfc58ef[_0x323d98(0x149)][_0x323d98(0x13e)](_0x323d98(0x14d)),_0xfc58ef[_0x323d98(0x173)](_0x323d98(0x109),_0x323d98(0x131)),_0xfc58ef[_0x323d98(0x173)](_0x323d98(0x10f),_0x323d98(0x131)),_0xfc58ef[_0x323d98(0x13b)]=_0xef3bf7[_0x323d98(0xf4)],_0x54df85[_0x323d98(0x158)]=_0x323d98(0x14c)+_0xfc58ef[_0x323d98(0x102)]+'',_0x54df85[_0x323d98(0x125)](_0x323d98(0x133),()=>{const _0x4e4656=_0x323d98;_0x54df85[_0x4e4656(0x149)][_0x4e4656(0x13e)](_0x4e4656(0x130));}),_0x54df85[_0x323d98(0x125)](_0x323d98(0x178),()=>{const _0x1f6133=_0x323d98;_0x54df85[_0x1f6133(0x149)][_0x1f6133(0x12f)](_0x1f6133(0x130));}),_0x54df85;},_0x29f0f7[_0x316430(0x15d)]=function(_0x2a3278){const _0xe24b62=_0x316430;return!(!this[_0xe24b62(0x118)](_0xe24b62(0xf7))||!_0x2a3278[_0xe24b62(0x118)](_0xe24b62(0xf7))||this[_0xe24b62(0x142)](_0xe24b62(0x153))!=_0x2a3278[_0xe24b62(0x142)](_0xe24b62(0x153)));},_0x29f0f7;}(_0x254f63,_0x36e93b,_0x1fc3d0);}(_0x1399ff,_0x10031e,_0x5a5153,_0x4f92ca)}),_0x4f92ca[_0x754afa(0x10b)][_0x754afa(0x148)](_0x754afa(0x165))[_0x754afa(0x176)]({'model':_0x754afa(0x159),'view':_0x1451ee=>function(_0x13fc84,_0x31bd0c){const _0x189450=_0x754afa,_0x16fe46=_0x13fc84[_0x189450(0xfc)][_0x189450(0x138)](':')[0x2];if(_0x16fe46===_0x31bd0c[_0x189450(0x11b)])return null;const _0x2f7e85=_0x31bd0c[_0x189450(0x13c)](_0x16fe46);if(!_0x2f7e85)return{'id':_0x16fe46,'classes':[]};return{'id':_0x16fe46,'classes':[_0x189450(0x16d),_0x2f7e85[_0x189450(0xfb)][_0x189450(0x11a)]()],'attributes':{'data-session-id':_0x16fe46},'priority':0x7d0+_0x2f7e85[_0x189450(0x12c)]};}(_0x1451ee,_0x5a5153)}),function(_0x558442){const _0x5abc0b=_0x754afa,_0x1f8732=_0x558442[_0x5abc0b(0x16f)],_0x3feadf=new Map(),_0x2b2b01=_0x558442[_0x5abc0b(0x16b)][_0x5abc0b(0xf5)](_0x17b4b4);_0x1f8732[_0x5abc0b(0x11f)]['on'](_0x5abc0b(0x10c),(_0x10c7f6,_0x2fe9c8,_0x3e6417,_0x2ec950)=>{const _0x28b778=_0x5abc0b;if(!_0x2ec950&&_0x3feadf[_0x28b778(0xf5)](_0x2fe9c8[_0x28b778(0xf4)]))return _0x3feadf[_0x28b778(0xf5)](_0x2fe9c8[_0x28b778(0xf4)])[_0x28b778(0x144)](),void _0x3feadf[_0x28b778(0x135)](_0x2fe9c8[_0x28b778(0xf4)]);const _0x37dab2=_0x2fe9c8[_0x28b778(0xf4)][_0x28b778(0x138)](':')[0x2];if(_0x37dab2===_0x2b2b01[_0x28b778(0x11b)])return;const _0x3cf9b8=_0x28b778(0x16a)+_0x37dab2;_0x1f8732[_0x28b778(0x11f)][_0x28b778(0x155)](_0x3cf9b8)&&_0x558442[_0x28b778(0x106)][_0x28b778(0x107)](_0x3cf9b8),_0x2fe9c8['on'](_0x28b778(0x15b),(_0x244858,_0x5ee15a,_0x424c5a)=>{const _0x503f20=_0x28b778;if(_0x503f20(0xf8)!=_0x5ee15a[_0x503f20(0x168)][_0x503f20(0x145)]&&_0x503f20(0xf8)==_0x2fe9c8[_0x503f20(0x162)]()[_0x503f20(0x168)][_0x503f20(0x145)]&&!_0x3feadf[_0x503f20(0x155)](_0x2fe9c8[_0x503f20(0xf4)])){const _0x2d3944=_0x1f8732[_0x503f20(0x12d)][_0x503f20(0x141)](_0x424c5a[_0x503f20(0xf6)]);if(_0x2d3944){const _0x1877d4=_0xa4d461[_0x503f20(0x104)](_0x2d3944);_0x3feadf[_0x503f20(0x16e)](_0x2fe9c8[_0x503f20(0xf4)],_0x1877d4),_0x1877d4['on'](_0x503f20(0x15b),(_0x51007d,_0xff6a96,_0x3da864)=>{const _0x26098d=_0x503f20;if(_0x26098d(0xf8)==_0x1877d4[_0x26098d(0x168)][_0x26098d(0x145)]){const _0x440c61=_0x1f8732[_0x26098d(0x12d)][_0x26098d(0x141)](_0x3da864[_0x26098d(0xf6)]);_0x440c61?(_0x1877d4[_0x26098d(0x171)]=_0x440c61[_0x26098d(0x171)],_0x1877d4[_0x26098d(0x140)]=_0x440c61[_0x26098d(0x140)]):(_0x3feadf[_0x26098d(0x135)](_0x2fe9c8[_0x26098d(0xf4)]),_0x1877d4[_0x26098d(0x144)]());}});}}});}),_0x1f8732[_0x5abc0b(0xef)]['on'](_0x5abc0b(0x177),()=>{const _0x4e4f80=_0x5abc0b;_0x3feadf[_0x4e4f80(0xed)]>0x0&&_0x1f8732[_0x4e4f80(0x14a)]({'isUndoable':!0x1},_0x487344=>{const _0x28d20c=_0x4e4f80;for(const [_0x28d636,_0x33ee79]of _0x3feadf)_0x28d20c(0xf8)==_0x1f8732[_0x28d20c(0x11f)][_0x28d20c(0xf5)](_0x28d636)[_0x28d20c(0x162)]()[_0x28d20c(0x168)][_0x28d20c(0x145)]&&(te(_0x28d636[_0x28d20c(0x138)](':')[0x2],_0x33ee79[_0x28d20c(0x146)](),_0x1f8732,_0x487344),_0x33ee79[_0x28d20c(0x144)]());_0x3feadf[_0x28d20c(0x179)]();});});}(_0x4f92ca),this[_0x754afa(0x17a)][_0x754afa(0x175)](_0x4ab384[_0x754afa(0xef)],_0x754afa(0x11e),(_0x16db90,{key:_0x5212ca})=>{const _0x3d9ed3=_0x754afa;_0x3d9ed3(0x157)===_0x5212ca&&function(_0x154040){const _0x17d92f=_0x3d9ed3;_0x154040[_0x17d92f(0x106)][_0x17d92f(0x101)][_0x17d92f(0x177)](_0x54f1a4=>{const _0x45ac92=_0x17d92f;for(const _0xdb0c5a of _0x154040[_0x45ac92(0x16f)][_0x45ac92(0x11f)]){if(!_0xdb0c5a[_0x45ac92(0xf4)][_0x45ac92(0x116)](_0x45ac92(0x137)))continue;const _0x5d3d63=_0x154040[_0x45ac92(0x106)][_0x45ac92(0x115)][_0x45ac92(0x10a)](_0xdb0c5a[_0x45ac92(0xf4)]);if(_0x5d3d63){for(const _0x5c5002 of _0x5d3d63)_0x54f1a4[_0x45ac92(0x15a)](_0x45ac92(0x130),_0x5c5002);}}});}(_0x4f92ca);},{'useCapture':!0x0});}[_0x585351(0x16c)](){const _0x26be91=_0x585351,_0x3aa87d=this[_0x26be91(0x156)],_0x19cee1=_0x3aa87d[_0x26be91(0xf0)][_0x26be91(0xf5)](_0x26be91(0x121));_0x19cee1&&_0x3aa87d[_0x26be91(0x16f)]['on'](_0x26be91(0xf9),(_0x2899d8,_0x3dafbf)=>{const _0x346f34=_0x26be91,_0xde1093=_0x3dafbf[0x0];if(!_0xde1093[_0x346f34(0xf3)])return;if(_0x346f34(0x170)!=_0xde1093[_0x346f34(0x152)]||!_0xde1093[_0x346f34(0xf4)][_0x346f34(0x116)](_0x346f34(0x154)))return;const _0x453dc4=_0xde1093[_0x346f34(0x160)];_0x19cee1[_0x346f34(0x127)][_0x346f34(0x155)](_0x453dc4)&&(_0xde1093[_0x346f34(0x105)]=_0xde1093[_0x346f34(0x15f)]?_0x3aa87d[_0x346f34(0x16f)][_0x346f34(0x136)](_0xde1093[_0x346f34(0x15f)][_0x346f34(0x171)],_0xde1093[_0x346f34(0x15f)][_0x346f34(0x140)]):null);},{'priority':_0x26be91(0x117)});}[_0x585351(0x119)](){const _0x219626=_0x585351;return this[_0x219626(0x17a)][_0x219626(0x169)](),super[_0x219626(0x119)]();}[_0x585351(0x10d)](){const _0x47fe20=_0x585351,_0x446ffc=this[_0x47fe20(0x156)],_0x373224=_0x446ffc[_0x47fe20(0x16f)][_0x47fe20(0xef)],_0x393b36=_0x446ffc[_0x47fe20(0x16b)][_0x47fe20(0xf5)](_0x17b4b4);_0x446ffc[_0x47fe20(0x16f)][_0x47fe20(0x14a)]({'isUndoable':!0x1},_0x52cbf3=>{const _0x2ecafc=_0x47fe20,_0x441779=_0x2ecafc(0x11d)+_0x393b36[_0x2ecafc(0x11b)],_0x21c1c3=_0x2ecafc(0x16a)+_0x393b36[_0x2ecafc(0x11b)],_0x1c1e15=_0x446ffc[_0x2ecafc(0x16f)][_0x2ecafc(0x11f)][_0x2ecafc(0x155)](_0x441779);_0x446ffc[_0x2ecafc(0x106)][_0x2ecafc(0x101)][_0x2ecafc(0x113)]?te(_0x393b36[_0x2ecafc(0x11b)],_0x373224[_0x2ecafc(0x134)][_0x2ecafc(0x11c)](),_0x446ffc[_0x2ecafc(0x16f)],_0x52cbf3):_0x1c1e15&&(_0x52cbf3[_0x2ecafc(0x12b)](_0x441779),_0x52cbf3[_0x2ecafc(0x12b)](_0x21c1c3));});}}function te(_0x56698e,_0x56292b,_0x5982b8,_0x38ff9e){const _0x1e5060=_0x585351,_0x126bbf=_0x1e5060(0x11d)+_0x56698e,_0x2a43bd=_0x1e5060(0x16a)+_0x56698e,_0x125d6c=_0x56292b[_0x1e5060(0x161)]();let _0x24f3c3=_0x56292b[_0x1e5060(0x171)];_0x125d6c&&_0x125d6c['is'](_0x1e5060(0x13d),_0x1e5060(0x100))&&(_0x24f3c3=function(_0x39a2f1,_0x4d2d45){const _0x231cd1=_0x1e5060;for(const _0x2757fa of _0x39a2f1[_0x231cd1(0x108)]())if(_0x4d2d45[_0x231cd1(0x12d)][_0x231cd1(0x132)](_0x2757fa,_0x231cd1(0x15c)))return _0x2757fa;}(_0x56292b,_0x5982b8),_0x56292b=_0x38ff9e[_0x1e5060(0x136)](_0x24f3c3));const _0x463282=_0x38ff9e[_0x1e5060(0x136)](_0x24f3c3);_0x5982b8[_0x1e5060(0x11f)][_0x1e5060(0x155)](_0x126bbf)?(_0x38ff9e[_0x1e5060(0x114)](_0x126bbf,{'range':_0x56292b}),_0x38ff9e[_0x1e5060(0x114)](_0x2a43bd,{'range':_0x463282})):(_0x38ff9e[_0x1e5060(0x166)](_0x126bbf,{'range':_0x56292b,'usingOperation':!0x0}),_0x38ff9e[_0x1e5060(0x166)](_0x2a43bd,{'range':_0x463282,'usingOperation':!0x0}));}
|