@ckeditor/ckeditor5-real-time-collaboration 45.0.0-alpha.8 → 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
|
-
((()=>_0x1e8a47)());[_0x5ad7d8(0x8b)];static get[_0x5ad7d8(0x9e)](){const _0x37f4b7=_0x5ad7d8;return[_0x3b35c3,_0x37f4b7(0x78),_0xb3c4c4,_0x373669];}static get[_0x5ad7d8(0x74)](){const _0x23535e=_0x5ad7d8;return _0x23535e(0x8d);}static get[_0x5ad7d8(0xbe)](){return!0x0;}static get[_0x5ad7d8(0xd2)](){return!0x0;}constructor(_0x8d25a0){const _0x33a3d5=_0x5ad7d8;super(_0x8d25a0),this[_0x33a3d5(0x8b)]=new Map();}async[_0x5ad7d8(0x87)](){const _0x5cdb69=_0x5ad7d8,_0x4b9d22=this[_0x5cdb69(0xa6)],_0x57c91c=_0x4b9d22[_0x5cdb69(0x81)][_0x5cdb69(0xd0)](_0x5cdb69(0x78));if(_0x4b9d22[_0x5cdb69(0x81)][_0x5cdb69(0xd0)](_0x3b35c3)[_0x5cdb69(0xca)](this),_0x57c91c[_0x5cdb69(0xa9)]={'addCommentThread':async({channelId:_0x2f2543,threadId:_0x17983a,comments:_0x49934b,resolvedAt:_0x27983f,resolvedBy:_0x902eea,context:_0x332cfd,attributes:_0x25efb5})=>{const _0x931e57=_0x5cdb69,_0x346188=await this[_0x931e57(0x8c)](_0x2f2543)[_0x931e57(0xb6)]({'commentThreadId':_0x17983a,'comments':_0x49934b[_0x931e57(0xbc)](_0x57c9ea=>function(_0x2c9ee3,_0x234db8,_0x1398d0){const _0xa69ae2=_0x931e57;return{'commentThreadId':_0x1398d0,'commentId':_0x2c9ee3[_0xa69ae2(0x7b)],'userId':_0x2c9ee3[_0xa69ae2(0x80)],'content':_0x2c9ee3[_0xa69ae2(0x96)],'documentId':_0x234db8,'createdAt':_0x2c9ee3[_0xa69ae2(0xa8)],'attributes':_0x2c9ee3[_0xa69ae2(0xa0)]||{}};}(_0x57c9ea,_0x2f2543,_0x17983a)),'resolvedAt':_0x27983f,'resolvedBy':_0x902eea,'context':_0x332cfd,'attributes':_0x25efb5})[_0x931e57(0xc3)](R);return{'threadId':_0x346188[_0x931e57(0xc5)],'comments':_0x346188[_0x931e57(0xb3)]};},'getCommentThread':async({channelId:_0x56a0d3,threadId:_0x362fff})=>{const _0x3c38eb=_0x5cdb69,_0x19dde4=await this[_0x3c38eb(0x8c)](_0x56a0d3)[_0x3c38eb(0x7d)](_0x362fff)[_0x3c38eb(0xc3)](R);return _0x19dde4[_0x3c38eb(0xa4)]?null:(await this[_0x3c38eb(0xb0)]([_0x19dde4]),{'threadId':_0x19dde4[_0x3c38eb(0xc5)],'comments':_0x19dde4[_0x3c38eb(0xb3)][_0x3c38eb(0xbc)](_),'context':_0x19dde4[_0x3c38eb(0xa6)],'resolvedAt':_0x19dde4[_0x3c38eb(0xc1)],'resolvedBy':_0x19dde4[_0x3c38eb(0xb7)],'attributes':_0x19dde4[_0x3c38eb(0xa0)]||{}});},'updateCommentThread':async({channelId:_0x456919,threadId:_0x2c1fd0,context:_0x45ec00,unlinkedAt:_0x1fb461,attributes:_0x4e4c21})=>this[_0x5cdb69(0x8c)](_0x456919)[_0x5cdb69(0xc4)]({'commentThreadId':_0x2c1fd0,'context':_0x45ec00,'attributes':_0x4e4c21,'unlinkedAt':_0x1fb461})[_0x5cdb69(0xc3)](S)[_0x5cdb69(0xc3)](R),'resolveCommentThread':async({channelId:_0x48bd9f,threadId:_0xa83704})=>{const _0x2aeeda=_0x5cdb69,_0x854618=await this[_0x2aeeda(0x8c)](_0x48bd9f)[_0x2aeeda(0xbb)](_0xa83704)[_0x2aeeda(0xc3)](S)[_0x2aeeda(0xc3)](R);return{'threadId':_0x854618[_0x2aeeda(0xc5)],'resolvedAt':_0x854618[_0x2aeeda(0xc1)],'resolvedBy':_0x854618[_0x2aeeda(0xb7)]};},'reopenCommentThread':async({channelId:_0x3f0e29,threadId:_0xa6ddee})=>this[_0x5cdb69(0x8c)](_0x3f0e29)[_0x5cdb69(0x89)](_0xa6ddee)[_0x5cdb69(0xc3)](S)[_0x5cdb69(0xc3)](R),'removeCommentThread':({channelId:_0x5332be,threadId:_0x21cb36})=>this[_0x5cdb69(0x8c)](_0x5332be)[_0x5cdb69(0xaf)](_0x21cb36)[_0x5cdb69(0xc3)](S)[_0x5cdb69(0xc3)](R),'addComment':({channelId:_0x463cfe,threadId:_0x45e94c,commentId:_0x445174,content:_0x3c09d2,attributes:_0x54f239})=>this[_0x5cdb69(0x8c)](_0x463cfe)[_0x5cdb69(0x7a)](_0x45e94c,_0x445174,_0x3c09d2,_0x54f239)[_0x5cdb69(0xc3)](R),'updateComment':({channelId:_0x3a5945,threadId:_0x5d6f37,commentId:_0x17638f,content:_0xc3b21f,attributes:_0x2d840e})=>this[_0x5cdb69(0x8c)](_0x3a5945)[_0x5cdb69(0xce)](_0x5d6f37,_0x17638f,_0xc3b21f,_0x2d840e)[_0x5cdb69(0xc3)](S)[_0x5cdb69(0xc3)](R),'removeComment':({channelId:_0x240688,threadId:_0x1058dd,commentId:_0x997382})=>this[_0x5cdb69(0x8c)](_0x240688)[_0x5cdb69(0x8a)](_0x1058dd,_0x997382)[_0x5cdb69(0xc3)](S)[_0x5cdb69(0xc3)](R)},_0x4b9d22 instanceof _0x2b049e){const _0x12b196=_0x4b9d22[_0x5cdb69(0xd8)][_0x5cdb69(0xd0)](_0x5cdb69(0xae)),_0x355d1f=_0x4b9d22[_0x5cdb69(0x81)][_0x5cdb69(0xd0)](_0xb3c4c4);await this[_0x5cdb69(0x77)](_0x12b196);const _0x4a4e6b=await this[_0x5cdb69(0x8b)][_0x5cdb69(0xd0)](_0x12b196)[_0x5cdb69(0x94)]();this[_0x5cdb69(0xb5)](_0x355d1f,_0x5cdb69(0x95)+_0x12b196,(_0x4b79bf,{session:_0x25be10})=>{const _0xa9b15a=_0x5cdb69;_0x25be10['id']===_0x355d1f[_0xa9b15a(0xc7)]&&(_0x4b79bf[_0xa9b15a(0x82)](),this[_0xa9b15a(0xa6)][_0xa9b15a(0x81)][_0xa9b15a(0xd0)](_0xa9b15a(0xb2))[_0xa9b15a(0xcd)](_0x25be10[_0xa9b15a(0x7f)],_0x12b196));}),_0x355d1f[_0x5cdb69(0x97)](_0x12b196,_0x4a4e6b);}}async[_0x5ad7d8(0x77)](_0x575525){const _0x339f8d=_0x5ad7d8;if(this[_0x339f8d(0x8b)][_0x339f8d(0xab)](_0x575525))throw new _0x5bdc9a(_0x339f8d(0xa7),null,{'channelId':_0x575525});const _0x5ec00c=this[_0x339f8d(0xa6)][_0x339f8d(0x81)][_0x339f8d(0xd0)](_0x339f8d(0x78)),_0x2fa8e4=new a[(_0x339f8d(0x9a))](_0x575525);this[_0x339f8d(0x8b)][_0x339f8d(0x79)](_0x575525,_0x2fa8e4),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xac),(_0x29bff3,_0x1bbe1e)=>{const _0x2d9736=_0x339f8d,{commentThreadId:_0x55b5f3,documentId:_0x5a86b9,context:_0x4b92a3,attributes:_0x26d5ce,resolvedAt:_0x1c41a8,resolvedBy:_0x5eafd1,comments:_0x90d8fe}=_0x1bbe1e;_0x5ec00c[_0x2d9736(0x7d)](_0x55b5f3)||_0x5ec00c[_0x2d9736(0xb6)]({'threadId':_0x55b5f3,'channelId':_0x5a86b9,'comments':_0x90d8fe?_0x90d8fe[_0x2d9736(0xbc)](_):[],'context':_0x4b92a3,'attributes':_0x26d5ce,'resolvedAt':_0x1c41a8,'resolvedBy':_0x5eafd1,'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xb1),(_0x5b40b0,{commentThreadId:_0x5cff5b,documentId:_0x3ba067,context:_0x3eaaa2,unlinkedAt:_0x2bfb20,attributes:_0x321a16})=>{const _0x40378f=_0x339f8d;_0x5ec00c[_0x40378f(0x7d)](_0x5cff5b)&&_0x5ec00c[_0x40378f(0xc4)]({'threadId':_0x5cff5b,'channelId':_0x3ba067,'context':_0x3eaaa2,'unlinkedAt':_0x2bfb20,'attributes':_0x321a16,'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xc9),(_0x3b790b,{commentThreadId:_0x41803a,resolvedBy:_0x398ae9,resolvedAt:_0x125815})=>{const _0x4e87c2=_0x339f8d,_0x578caa=_0x5ec00c[_0x4e87c2(0x7d)](_0x41803a);_0x578caa&&_0x578caa[_0x4e87c2(0x9d)]({'resolvedBy':_0x398ae9,'resolvedAt':_0x125815,'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xc6),(_0x369fb0,{commentThreadId:_0x416150})=>{const _0x4a6190=_0x339f8d,_0x5420f7=_0x5ec00c[_0x4a6190(0x7d)](_0x416150);_0x5420f7&&_0x5420f7[_0x4a6190(0xd1)]({'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xaa),(_0x137342,{commentThreadId:_0x4204ac})=>{const _0x57a096=_0x339f8d,_0x50e601=_0x5ec00c[_0x57a096(0x7d)](_0x4204ac);_0x50e601&&_0x50e601[_0x57a096(0xcb)]({'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0xb4),(_0x20d968,_0x3a15bc)=>{const _0x14de0c=_0x339f8d,_0xaeaca0=_0x3a15bc[_0x14de0c(0xc5)],_0x2b542c=_0x5ec00c[_0x14de0c(0x7d)](_0xaeaca0);_0x2b542c&&_0x2b542c[_0x14de0c(0x7a)]({..._(_0x3a15bc),'isFromAdapter':!0x0});}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0x9f),(_0x4ec52a,{commentThreadId:_0x4a50ff,commentId:_0x56a920,content:_0x43fc67,attributes:_0x51dc91})=>{const _0xc76728=_0x339f8d,_0x54d0dd=_0x5ec00c[_0xc76728(0x7d)](_0x4a50ff);if(_0x54d0dd){const _0x10d657=_0x54d0dd[_0xc76728(0x75)](_0x56a920);_0x10d657&&_0x10d657[_0xc76728(0x84)]({'content':_0x43fc67,'attributes':_0x51dc91,'isFromAdapter':!0x0});}}),this[_0x339f8d(0xb5)](_0x2fa8e4,_0x339f8d(0x76),(_0x234396,{commentThreadId:_0x828984,commentId:_0x46bd87})=>{const _0x527197=_0x339f8d,_0x39b4eb=_0x5ec00c[_0x527197(0x7d)](_0x828984);if(_0x39b4eb){const _0x2c5db2=_0x39b4eb[_0x527197(0x75)](_0x46bd87);_0x2c5db2&&_0x2c5db2[_0x527197(0xcb)]({'isFromAdapter':!0x0});}}),await this[_0x339f8d(0xd6)](_0x575525);}[_0x5ad7d8(0xbf)](){const _0x16637c=_0x5ad7d8;if(this[_0x16637c(0xa6)]instanceof _0x2b049e){const _0x3321c2=this[_0x16637c(0xa6)][_0x16637c(0xd8)][_0x16637c(0xd0)](_0x16637c(0xae));this[_0x16637c(0x98)](_0x3321c2);}}[_0x5ad7d8(0x98)](_0x1a686b){const _0x2d562a=_0x5ad7d8;if(!this[_0x2d562a(0x8b)][_0x2d562a(0xab)](_0x1a686b))throw new _0x5bdc9a(_0x2d562a(0xc8),null,{'channelId':_0x1a686b});this[_0x2d562a(0x8c)](_0x1a686b)[_0x2d562a(0xa3)](),this[_0x2d562a(0x8b)][_0x2d562a(0x90)](_0x1a686b);}async[_0x5ad7d8(0xd3)](){const _0x5c6d6c=_0x5ad7d8;for(const _0x10c9d8 of this[_0x5c6d6c(0x8b)][_0x5c6d6c(0xd7)]())await this[_0x5c6d6c(0xd6)](_0x10c9d8);if(this[_0x5c6d6c(0xa6)]instanceof _0x2b049e){const _0x5b6e46=this[_0x5c6d6c(0xa6)][_0x5c6d6c(0xd8)][_0x5c6d6c(0xd0)](_0x5c6d6c(0xae)),_0x5a421e=this[_0x5c6d6c(0xa6)][_0x5c6d6c(0x81)][_0x5c6d6c(0xd0)](_0xb3c4c4);_0x5a421e[_0x5c6d6c(0xd4)](_0x5b6e46);const _0x553abf=await this[_0x5c6d6c(0x8b)][_0x5c6d6c(0xd0)](_0x5b6e46)[_0x5c6d6c(0x94)]();_0x5a421e[_0x5c6d6c(0x97)](_0x5b6e46,_0x553abf);}}async[_0x5ad7d8(0xd6)](_0x9bcdb1){const _0x1f92e0=_0x5ad7d8,{connection:_0x3a86de}=this[_0x1f92e0(0xa6)][_0x1f92e0(0x81)][_0x1f92e0(0xd0)](_0x3b35c3),_0x5e49c0=this[_0x1f92e0(0xa6)][_0x1f92e0(0x81)][_0x1f92e0(0xd0)](_0x1f92e0(0x78)),_0x88dc1a=this[_0x1f92e0(0x8b)][_0x1f92e0(0xd0)](_0x9bcdb1),_0x49e3e4=await _0x88dc1a[_0x1f92e0(0xba)](_0x3a86de);await this[_0x1f92e0(0xb0)](_0x49e3e4);const _0x2f4e23=new Set(Array[_0x1f92e0(0x7e)](_0x5e49c0[_0x1f92e0(0x91)]({'channelId':_0x9bcdb1}),_0x1df8fb=>_0x1df8fb['id']));for(const _0x1eec72 of _0x49e3e4)_0x1eec72[_0x1f92e0(0xa4)]||_0x2f4e23[_0x1f92e0(0x90)](_0x1eec72[_0x1f92e0(0xc5)]);for(const _0x4f153d of _0x2f4e23)_0x5e49c0[_0x1f92e0(0x7d)](_0x4f153d)[_0x1f92e0(0xcb)]({'isFromAdapter':!0x0});for(const _0x1c6d9e of _0x49e3e4){let _0x58c4fd=_0x5e49c0[_0x1f92e0(0x7d)](_0x1c6d9e[_0x1f92e0(0xc5)]);const {commentThreadId:_0x57fd6a,context:_0x27373f,attributes:_0x5e98c9,resolvedBy:_0x219b65,resolvedAt:_0x37bb70,unlinkedAt:_0x2a0bbb,deletedAt:_0x4445a2}=_0x1c6d9e;if(_0x4445a2)continue;_0x58c4fd||(_0x58c4fd=_0x5e49c0[_0x1f92e0(0xb6)]({'channelId':_0x9bcdb1,'threadId':_0x57fd6a,'context':_0x27373f,'attributes':_0x5e98c9||{},'resolvedBy':_0x219b65,'resolvedAt':_0x37bb70,'unlinkedAt':_0x2a0bbb,'isFromAdapter':!0x0}));const _0xa9badd=new Set(Array[_0x1f92e0(0x7e)](_0x58c4fd[_0x1f92e0(0xb3)],_0x2ae6ba=>_0x2ae6ba['id']));for(const _0x5eb8e4 of _0x1c6d9e[_0x1f92e0(0xb3)])_0xa9badd[_0x1f92e0(0x90)](_0x5eb8e4[_0x1f92e0(0x7b)]);for(const _0x39e874 of _0xa9badd)_0x58c4fd[_0x1f92e0(0x75)](_0x39e874)[_0x1f92e0(0xcb)]({'isFromAdapter':!0x0});for(const _0x42d757 of _0x1c6d9e[_0x1f92e0(0xb3)]){const _0x84ae6=_0x58c4fd[_0x1f92e0(0x75)](_0x42d757[_0x1f92e0(0x7b)]);_0x84ae6?_0x84ae6[_0x1f92e0(0x96)]!==_0x42d757[_0x1f92e0(0x96)]&&_0x84ae6[_0x1f92e0(0x84)]({'content':_0x42d757[_0x1f92e0(0x96)],'isFromAdapter':!0x0}):_0x58c4fd[_0x1f92e0(0x7a)](Object[_0x1f92e0(0x99)](_(_0x42d757),{'isFromAdapter':!0x0}));}}}[_0x5ad7d8(0x8c)](_0x446d10){const _0x28829d=_0x5ad7d8;if(!this[_0x28829d(0x8b)][_0x28829d(0xab)](_0x446d10))throw new _0x5bdc9a(_0x28829d(0xc0),null,{'channelId':_0x446d10});return this[_0x28829d(0x8b)][_0x28829d(0xd0)](_0x446d10);}async[_0x5ad7d8(0xb0)](_0x363ba9){const _0xdc020a=_0x5ad7d8,_0x487a2c=this[_0xdc020a(0xa6)][_0xdc020a(0x81)][_0xdc020a(0xd0)](_0x373669),{connection:_0x1eaa26}=this[_0xdc020a(0xa6)][_0xdc020a(0x81)][_0xdc020a(0xd0)](_0x3b35c3),_0x3cf11b=new Set();for(const {resolvedBy:_0x3d307f,comments:_0x417661}of _0x363ba9){_0x3d307f&&!_0x487a2c[_0xdc020a(0x7c)](_0x3d307f)&&_0x3cf11b[_0xdc020a(0x8f)](_0x3d307f);for(const {userId:_0x3e3646}of _0x417661)_0x487a2c[_0xdc020a(0x7c)](_0x3e3646)||_0x3cf11b[_0xdc020a(0x8f)](_0x3e3646);}if(0x0===_0x3cf11b[_0xdc020a(0xd5)])return;const _0x327a7b=await _0x412fc8[_0xdc020a(0xbd)](_0x1eaa26,Array[_0xdc020a(0x7e)](_0x3cf11b));for(const _0x5ca9bb of _0x327a7b)_0x487a2c[_0xdc020a(0x7c)](_0x5ca9bb['id'])||_0x487a2c[_0xdc020a(0xd9)](_0x5ca9bb);}}export default a;function _0x502a(_0x46b413,_0x3bd355){const _0x53e7e3=_0x53e7();return _0x502a=function(_0x502a08,_0x27c17b){_0x502a08=_0x502a08-0x74;let _0x5d7df4=_0x53e7e3[_0x502a08];return _0x5d7df4;},_0x502a(_0x46b413,_0x3bd355);}async function S(_0x40e394){const _0x2feec6=_0x5ad7d8;if(_0x2feec6(0x9b)!==_0x40e394[_0x2feec6(0x86)])throw _0x40e394;}function R(_0x3b600f){const _0x8b8d13=_0x5ad7d8;if((_0xc6baa=_0x3b600f)[_0x8b8d13(0xcc)][_0x8b8d13(0xcf)](_0x8b8d13(0xa2))||_0xc6baa[_0x8b8d13(0xcc)][_0x8b8d13(0xcf)](_0x8b8d13(0xb9))||_0xc6baa[_0x8b8d13(0xcc)][_0x8b8d13(0xcf)](_0x8b8d13(0x85)))return new Promise(()=>{});var _0xc6baa;throw _0x3b600f;}function _(_0x8feb03){const _0x1c2b39=_0x5ad7d8;return{'threadId':_0x8feb03[_0x1c2b39(0xc5)],'commentId':_0x8feb03[_0x1c2b39(0x7b)],'content':_0x8feb03[_0x1c2b39(0x96)],'createdAt':_0x8feb03[_0x1c2b39(0xa8)],'authorId':_0x8feb03[_0x1c2b39(0x8e)],'attributes':_0x8feb03[_0x1c2b39(0xa0)]||{}};}
|
|
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
|
-
|
|
24
|
-
((()=>_0x565c8e)());[_0x553ce1(0x12b)];[_0x553ce1(0x17d)];[_0x553ce1(0x1a8)];[_0x553ce1(0x171)];[_0x553ce1(0x119)];[_0x553ce1(0x201)];[_0x553ce1(0x1dc)];[_0x553ce1(0x15e)];[_0x553ce1(0x1b6)];[_0x553ce1(0x15a)];[_0x553ce1(0x18c)];[_0x553ce1(0x1a1)];[_0x553ce1(0x1b9)];[_0x553ce1(0x130)];[_0x553ce1(0x13a)];[_0x553ce1(0x129)];[_0x553ce1(0x203)];[_0x553ce1(0x16b)];static get[_0x553ce1(0x21d)](){return[_0x5aa609,_0x1efa5d,_0x5deb89,_0x3f82a5,_0x2836b7,_0x3b25e7];}static get[_0x553ce1(0x188)](){const _0x1c8f4e=_0x553ce1;return _0x1c8f4e(0x167);}static get[_0x553ce1(0x134)](){return!0x0;}static get[_0x553ce1(0x1d7)](){return!0x0;}get[_0x553ce1(0x126)](){const _0x448ddf=_0x553ce1;return this[_0x448ddf(0x141)]+this[_0x448ddf(0x12b)];}get[_0x553ce1(0x141)](){const _0x432296=_0x553ce1;return this[_0x432296(0x1a8)][_0x432296(0x19c)]-this[_0x432296(0x12b)];}get[_0x553ce1(0x1ae)](){const _0x5303da=_0x553ce1,_0x2ac6e9=this[_0x5303da(0x1a8)][_0x5303da(0x17c)]();for(let _0x15504d=_0x2ac6e9[_0x5303da(0x17a)]-0x1;_0x15504d>=0x0;_0x15504d--){const _0x1fbee3=_0x2ac6e9[_0x15504d];if(!this[_0x5303da(0x203)][_0x5303da(0x219)](_0x1fbee3))return _0x1fbee3[_0x5303da(0x198)]+0x1-this[_0x5303da(0x12b)];}return 0x0;}constructor(_0x1cb316){const _0x153c5b=_0x553ce1;if(super(_0x1cb316),this[_0x153c5b(0x12b)]=0x0,this[_0x153c5b(0x17d)]=null,this[_0x153c5b(0x1a8)]=new _0xd51a30(),this[_0x153c5b(0x1f0)][_0x153c5b(0x195)][_0x153c5b(0x1bc)](_0x153c5b(0x1f8),{}),this[_0x153c5b(0x171)]=this[_0x153c5b(0x1f0)][_0x153c5b(0x195)][_0x153c5b(0x1fa)](_0x153c5b(0x161)),!this[_0x153c5b(0x171)])throw new _0x2c7d7e(_0x153c5b(0x21a),this);const _0x325cdd=_0x1cb316[_0x153c5b(0x195)][_0x153c5b(0x1fa)](_0x153c5b(0x144))||_0x3f9072;this[_0x153c5b(0x119)]=new l[(_0x153c5b(0x150))](_0x325cdd,this[_0x153c5b(0x171)]),this[_0x153c5b(0x201)]=this[_0x153c5b(0x1f0)][_0x153c5b(0x193)][_0x153c5b(0x19f)],this[_0x153c5b(0x1dc)]=new _0x24be99(),this[_0x153c5b(0x15e)]=[],this[_0x153c5b(0x1b6)]=new WeakSet(),this[_0x153c5b(0x15a)]=new Set(),this[_0x153c5b(0x20f)](_0x153c5b(0x123),!0x1),this[_0x153c5b(0x20f)](_0x153c5b(0x13e),!0x1),this[_0x153c5b(0x18c)]=null,this[_0x153c5b(0x1a1)]=!0x1,this[_0x153c5b(0x1b9)]=null,this[_0x153c5b(0x130)]=0x12c,this[_0x153c5b(0x13a)]=this[_0x153c5b(0x130)],this[_0x153c5b(0x129)]=null,this[_0x153c5b(0x203)]=new WeakSet(),this[_0x153c5b(0x16b)]=new Y(this[_0x153c5b(0x203)]);}[_0x553ce1(0x18f)](){const _0x3a0156=_0x553ce1,_0x46fab0=this[_0x3a0156(0x1f0)],_0xd3bf79=_0x46fab0[_0x3a0156(0x133)][_0x3a0156(0x1fa)](_0x2836b7),_0x301e10=_0x46fab0[_0x3a0156(0x133)][_0x3a0156(0x1fa)](_0x5aa609);this[_0x3a0156(0x18d)](_0xd3bf79,_0x3a0156(0x1b1),(_0xdbfdac,_0x58dc7d)=>{const _0x14c906=_0x3a0156,_0x4d30dc=_0x58dc7d[0x0];_0x4d30dc[_0x14c906(0x1db)]&&(_0xdbfdac[_0x14c906(0x1aa)]=_0xd3bf79[_0x14c906(0x1d8)](_0x4d30dc[_0x14c906(0x1db)]),_0xdbfdac[_0x14c906(0x179)]()),null===_0x4d30dc[_0x14c906(0x1db)]&&(_0xdbfdac[_0x14c906(0x1aa)]=null,_0xdbfdac[_0x14c906(0x179)]());},{'priority':_0x3a0156(0x1ef)}),this[_0x3a0156(0x18d)](_0x46fab0[_0x3a0156(0x193)][_0x3a0156(0x19f)][_0x3a0156(0x168)],_0x3a0156(0x1fd),(_0x3fbf09,_0x435db6)=>{const _0x95f5e8=_0x3a0156;_0x435db6[_0x95f5e8(0x1d9)]&&this[_0x95f5e8(0x11d)]();}),this[_0x3a0156(0x18d)](_0x46fab0[_0x3a0156(0x1ba)][_0x3a0156(0x13d)],_0x3a0156(0x1e1),()=>{const _0x25092d=_0x3a0156;this[_0x25092d(0x11d)]();}),this[_0x3a0156(0x185)](),_0x46fab0[_0x3a0156(0x193)]['on'](_0x3a0156(0x128),(_0x11fb37,_0x3b508e)=>{const _0x381d96=_0x3a0156,_0x5df4ca=_0x3b508e[0x0];_0x5df4ca[_0x381d96(0x194)]&&(this[_0x381d96(0x197)](_0x5df4ca),this[_0x381d96(0x1d1)]()&&this[_0x381d96(0x145)]());}),this[_0x3a0156(0x163)](),this[_0x3a0156(0x11b)](_0x3a0156(0x1ad))['to'](_0x301e10,_0x3a0156(0x205),this,_0x3a0156(0x13e),(_0x5cd979,_0x3c8f80)=>_0x3a0156(0x191)===_0x5cd979&&!_0x3c8f80),this['on'](_0x3a0156(0x208),()=>{const _0x2b5377=_0x3a0156;this[_0x2b5377(0x1ad)]?_0x46fab0[_0x2b5377(0x21b)](_0x2b5377(0x148)):_0x46fab0[_0x2b5377(0x1c0)](_0x2b5377(0x148));}),this[_0x3a0156(0x1ad)]?_0x46fab0[_0x3a0156(0x21b)](_0x3a0156(0x148)):_0x46fab0[_0x3a0156(0x1c0)](_0x3a0156(0x148)),this[_0x3a0156(0x20f)](_0x3a0156(0x137),!0x1);}async[_0x553ce1(0x143)](){const _0x56c219=_0x553ce1,_0x2aa419=this[_0x56c219(0x1f0)][_0x56c219(0x133)][_0x56c219(0x1fa)](_0x1efa5d),_0x29ae07=this[_0x56c219(0x1f0)][_0x56c219(0x133)][_0x56c219(0x1fa)](_0x5aa609);try{this[_0x56c219(0x123)]=!0x0,_0x2aa419[_0x56c219(0x1e6)](this[_0x56c219(0x171)]);const _0x10e0f4=await this[_0x56c219(0x119)][_0x56c219(0x143)](_0x29ae07[_0x56c219(0x187)],this[_0x56c219(0x1ae)]);await this[_0x56c219(0x1cf)](_0x10e0f4)&&(this[_0x56c219(0x123)]=!0x1,this[_0x56c219(0x120)]());const _0x327f2d=await this[_0x56c219(0x119)][_0x56c219(0x1f3)]();_0x2aa419[_0x56c219(0x1c3)](this[_0x56c219(0x171)],_0x327f2d),this[_0x56c219(0x212)](),this[_0x56c219(0x137)]=!0x0;}catch(_0x347f03){if(function(_0x3b822d){const _0x270dee=_0x56c219;return _0x270dee(0x1ff)===_0x3b822d[_0x270dee(0x1ea)];}(_0x347f03)&&this[_0x56c219(0x17d)])await this[_0x56c219(0x1ab)]();else{if(function(_0x3224ea){const _0x4334f0=_0x56c219;return _0x4334f0(0x131)===_0x3224ea[_0x4334f0(0x1ea)];}(_0x347f03)){const _0x18509d=_0x1935c5(this[_0x56c219(0x1f0)][_0x56c219(0x16e)],_0x56c219(0x13b));this[_0x56c219(0x1e8)](_0x18509d);}else{if(!(_0x347f03 instanceof Q))throw _0x347f03;this[_0x56c219(0x1e8)]();}}}}[_0x553ce1(0x210)](){const _0x57988f=_0x553ce1,_0x521a78=this[_0x57988f(0x1f0)][_0x57988f(0x133)][_0x57988f(0x1fa)](_0x5aa609),_0x5cdd21=this[_0x57988f(0x1f0)][_0x57988f(0x133)][_0x57988f(0x1fa)](_0x1efa5d);this[_0x57988f(0x1f0)][_0x57988f(0x1c0)](_0x57988f(0x12f)),_0x5cdd21[_0x57988f(0x1c7)][_0x57988f(0x219)](this[_0x57988f(0x171)])&&_0x5cdd21[_0x57988f(0x1e6)](this[_0x57988f(0x171)]),_0x521a78[_0x57988f(0x20c)](this),this[_0x57988f(0x1fc)](),super[_0x57988f(0x210)]();}async[_0x553ce1(0x1cf)](_0x42a3a7){const _0x2c9f42=_0x553ce1;if(this[_0x2c9f42(0x17d)]!==_0x42a3a7[_0x2c9f42(0x17d)]&&this[_0x2c9f42(0x129)]!==_0x42a3a7[_0x2c9f42(0x1ed)])throw new Q();return this[_0x2c9f42(0x17d)]=_0x42a3a7[_0x2c9f42(0x17d)],this[_0x2c9f42(0x19e)]([],{..._0x42a3a7,'wereChangesApplied':!0x1,'data':_0x42a3a7[_0x2c9f42(0x11a)]},_0x2c9f42(0x143));}async[_0x553ce1(0x1dd)](_0x436be2,_0x52aff7=!0x1){const _0x11b8c3=_0x553ce1,{connection:_0x3e455f}=this[_0x11b8c3(0x1f0)][_0x11b8c3(0x133)][_0x11b8c3(0x1fa)](_0x5aa609);l[_0x11b8c3(0x150)][_0x11b8c3(0x1f3)](_0x3e455f,this[_0x11b8c3(0x171)])[_0x11b8c3(0x14f)](_0x86da27=>this[_0x11b8c3(0x173)](_0x86da27))[_0x11b8c3(0x13f)](_0x21cafa=>{const _0x214f8c=_0x11b8c3;this[_0x214f8c(0x12c)](_0x214f8c(0x1e7),_0x21cafa);}),this[_0x11b8c3(0x18d)](this[_0x11b8c3(0x119)],_0x11b8c3(0x14e),this[_0x11b8c3(0x1df)][_0x11b8c3(0x11b)](this)),this[_0x11b8c3(0x18d)](this[_0x11b8c3(0x119)],_0x11b8c3(0x184),(_0x5b9f69,_0x46cba0)=>{const _0x4d07d4=_0x11b8c3;this[_0x4d07d4(0x12c)](_0x4d07d4(0x20d),_0x46cba0);}),this[_0x11b8c3(0x18d)](this[_0x11b8c3(0x119)],_0x11b8c3(0x151),()=>{const _0x4a49d5=_0x11b8c3;this[_0x4a49d5(0x137)]=!0x1;});const _0x4f854a=this[_0x11b8c3(0x16b)][_0x11b8c3(0x217)](_0x436be2);this[_0x11b8c3(0x123)]=!0x0;const _0x37ad2c=await this[_0x11b8c3(0x119)][_0x11b8c3(0x1af)](_0x3e455f,this[_0x11b8c3(0x1eb)](_0x436be2),_0x4f854a);if(this[_0x11b8c3(0x17d)]=_0x37ad2c[_0x11b8c3(0x17d)],_0x52aff7){if(!_0x37ad2c[_0x11b8c3(0x1bb)])return void this[_0x11b8c3(0x1e8)]();this[_0x11b8c3(0x123)]=!0x1,this[_0x11b8c3(0x120)](),this[_0x11b8c3(0x1a8)][_0x11b8c3(0x189)](),this[_0x11b8c3(0x12b)]=_0x37ad2c[_0x11b8c3(0x17f)],this[_0x11b8c3(0x1a8)][_0x11b8c3(0x19c)]=this[_0x11b8c3(0x12b)],await this[_0x11b8c3(0x19e)](_0x436be2,_0x37ad2c,_0x11b8c3(0x19a));}else await this[_0x11b8c3(0x16c)](_0x37ad2c,_0x436be2);this[_0x11b8c3(0x212)](),this[_0x11b8c3(0x137)]=!0x0;}[_0x553ce1(0x212)](){const _0x490e98=_0x553ce1,_0x5f55ac=this[_0x490e98(0x1f0)][_0x490e98(0x133)][_0x490e98(0x1fa)](_0x1efa5d),_0x1dcaaa=this[_0x490e98(0x1f0)][_0x490e98(0x133)][_0x490e98(0x1fa)](_0x5deb89),_0x32b991=_0x5f55ac[_0x490e98(0x1c7)][_0x490e98(0x1fa)](this[_0x490e98(0x171)]);_0x32b991&&_0x32b991[_0x490e98(0x17a)]>0x1?_0x1dcaaa[_0x490e98(0x1c4)]():this[_0x490e98(0x18d)](_0x5f55ac,_0x490e98(0x1c9)+this[_0x490e98(0x171)],()=>{const _0x16eb47=_0x490e98;0x2===_0x5f55ac[_0x16eb47(0x1c7)][_0x16eb47(0x1fa)](this[_0x16eb47(0x171)])[_0x16eb47(0x17a)]&&_0x1dcaaa[_0x16eb47(0x1c4)]();});}async[_0x553ce1(0x1df)](_0x470387,_0xa03e42,_0x154c73,_0x12d15d){const _0x118c9a=_0x553ce1;if(!this[_0x118c9a(0x123)]&&this[_0x118c9a(0x201)][_0x118c9a(0x19c)]==_0xa03e42){const _0x56e21e=this[_0x118c9a(0x21c)](_0x154c73,_0x12d15d);await this[_0x118c9a(0x18b)](_0x56e21e),this[_0x118c9a(0x11c)](_0x56e21e,_0xa03e42,_0x154c73[_0x118c9a(0x1ed)])||this[_0x118c9a(0x12c)](_0x118c9a(0x1e4));}}async[_0x553ce1(0x1ab)](){const _0x5f222a=_0x553ce1;this[_0x5f222a(0x1fc)]();const {locale:_0x1e8b20}=this[_0x5f222a(0x1f0)];let _0x126ffc;try{_0x126ffc=await this[_0x5f222a(0x119)][_0x5f222a(0x177)]();}catch(_0x2803ff){const _0x30abe0=_0x1935c5(_0x1e8b20,_0x5f222a(0x127));return void this[_0x5f222a(0x1e8)](_0x30abe0);}const _0x12e518=_0x126ffc[_0x5f222a(0x149)]||_0x126ffc[_0x5f222a(0x181)];if(this[_0x5f222a(0x129)]===_0x12e518[_0x5f222a(0x1ed)])await this[_0x5f222a(0x1dd)](this[_0x5f222a(0x1f0)][_0x5f222a(0x193)][_0x5f222a(0x19f)][_0x5f222a(0x15b)][_0x5f222a(0x17c)](),!0x0);else{const _0x3bb2b0=_0x1935c5(_0x1e8b20,_0x5f222a(0x1b7));this[_0x5f222a(0x1e8)](_0x3bb2b0);}}[_0x553ce1(0x1fc)](){const _0x3f1be3=_0x553ce1;this[_0x3f1be3(0x119)][_0x3f1be3(0x218)](),this[_0x3f1be3(0x15e)]=[],clearTimeout(this[_0x3f1be3(0x1b9)]),this[_0x3f1be3(0x176)](this[_0x3f1be3(0x119)]);}[_0x553ce1(0x173)](_0x10a16e){const _0x333792=_0x553ce1,_0x508629=this[_0x333792(0x1f0)][_0x333792(0x133)][_0x333792(0x1fa)](_0x1efa5d);this[_0x333792(0x18d)](_0x508629,_0x333792(0x1c9)+this[_0x333792(0x171)],(_0x5eb909,{session:_0x2292ec})=>{const _0x21a888=_0x333792;if(_0x2292ec['id']===_0x508629[_0x21a888(0x202)]){_0x5eb909[_0x21a888(0x207)]();const _0x5df93d=this[_0x21a888(0x1f0)][_0x21a888(0x133)][_0x21a888(0x219)](_0x21a888(0x1b3))&&this[_0x21a888(0x1f0)][_0x21a888(0x133)][_0x21a888(0x1fa)](_0x21a888(0x1b3));let _0xa51a13=_0x2292ec[_0x21a888(0x1fb)];_0x5df93d&&_0x5df93d[_0x21a888(0x183)]&&(_0xa51a13=_0xa51a13[_0x21a888(0x1ee)](_0x54d2d2=>_0x21a888(0x1f1)!==_0x54d2d2)),this[_0x21a888(0x1f0)][_0x21a888(0x133)][_0x21a888(0x1fa)](_0x21a888(0x11f))[_0x21a888(0x152)](_0xa51a13,this[_0x21a888(0x171)]);}}),_0x508629[_0x333792(0x1c3)](this[_0x333792(0x171)],_0x10a16e);}[_0x553ce1(0x185)](){const _0x89da1=_0x553ce1,_0x15ba2c=this[_0x89da1(0x1f0)][_0x89da1(0x11a)][_0x89da1(0x20f)];this[_0x89da1(0x1f0)][_0x89da1(0x11a)][_0x89da1(0x20f)]=(..._0x19daef)=>{const _0x3fdebb=_0x89da1;if(!_0x19daef[_0x19daef[_0x3fdebb(0x17a)]-0x1][_0x3fdebb(0x157)])throw new _0x2c7d7e(_0x3fdebb(0x1ce),this);_0x15ba2c[_0x3fdebb(0x214)](this[_0x3fdebb(0x1f0)][_0x3fdebb(0x11a)],_0x19daef);};}[_0x553ce1(0x163)](){const _0x51b4f4=_0x553ce1;this[_0x51b4f4(0x1f0)][_0x51b4f4(0x11a)]['on'](_0x51b4f4(0x18f),(_0x19e42f,[_0xfb0604])=>{const _0x58ec81=_0x51b4f4;if(this[_0x58ec81(0x201)][_0x58ec81(0x19c)])throw new _0x2c7d7e(_0x58ec81(0x1d3),this);_0x19e42f[_0x58ec81(0x179)](),this[_0x58ec81(0x20a)]();const _0x45497f=this[_0x58ec81(0x1f0)][_0x58ec81(0x195)][_0x58ec81(0x1fa)](_0x58ec81(0x1c5)),_0x1c8cac=this[_0x58ec81(0x138)](_0xfb0604,_0x45497f);0x0==_0x1c8cac[_0x58ec81(0x17a)]&&_0x1c8cac[_0x58ec81(0x1a5)](new _0x1d652f(0x0)),_0x19e42f[_0x58ec81(0x1aa)]=this[_0x58ec81(0x1dd)](_0x1c8cac)[_0x58ec81(0x14f)](()=>{const _0x26b3de=_0x58ec81;this[_0x26b3de(0x1f0)][_0x26b3de(0x133)][_0x26b3de(0x1fa)](_0x5aa609)[_0x26b3de(0x14d)](this),this[_0x26b3de(0x1f0)][_0x26b3de(0x11a)][_0x26b3de(0x18a)](_0x26b3de(0x16d));})[_0x58ec81(0x13f)](_0x2e1946=>this[_0x58ec81(0x12c)](_0x58ec81(0x1cc),_0x2e1946))[_0x58ec81(0x1da)](()=>this[_0x58ec81(0x120)]());},{'priority':_0x51b4f4(0x1ef)}),this[_0x51b4f4(0x1f0)]['on'](_0x51b4f4(0x147),async(_0x535aa3,[_0x4448f7,_0x158a9c])=>{const _0xe03e86=_0x51b4f4;_0x535aa3[_0xe03e86(0x179)]();const _0x1be8d7=this[_0xe03e86(0x1f0)][_0xe03e86(0x193)][_0xe03e86(0x19f)][_0xe03e86(0x1cd)](_0x4448f7);if(!this[_0xe03e86(0x15a)][_0xe03e86(0x219)](_0x4448f7)){const _0x389265=_0x158a9c&&_0x158a9c[_0xe03e86(0x11a)]?_0x158a9c[_0xe03e86(0x11a)]:'',_0x44b770=_0x158a9c&&_0x158a9c[_0xe03e86(0x1ec)]?_0x158a9c[_0xe03e86(0x1ec)]:{};await this[_0xe03e86(0x1c8)](_0x4448f7,_0x389265,_0x44b770);}this[_0xe03e86(0x1f0)][_0xe03e86(0x193)][_0xe03e86(0x135)]({'isUndoable':!0x1},()=>{const _0x55f202=_0xe03e86;_0x1be8d7[_0x55f202(0x1bd)]=!0x0,this[_0x55f202(0x1f0)][_0x55f202(0x193)][_0x55f202(0x19f)][_0x55f202(0x1ac)][_0x55f202(0x165)](_0x1be8d7);});},{'priority':_0x51b4f4(0x1ef)});}async[_0x553ce1(0x18b)](_0x13c9fc){const _0x28abe6=_0x553ce1,_0x5d6790=this[_0x28abe6(0x1f0)][_0x28abe6(0x133)][_0x28abe6(0x1fa)](_0x2836b7),{connection:_0x4a0dd1}=this[_0x28abe6(0x1f0)][_0x28abe6(0x133)][_0x28abe6(0x1fa)](_0x5aa609),_0x261e34=new Set();for(const _0x1dc710 of _0x13c9fc){const _0x4948a9=_0x1dc710[_0x28abe6(0x1db)];_0x4948a9&&!_0x5d6790[_0x28abe6(0x1d8)](_0x4948a9)&&_0x261e34[_0x28abe6(0x1f2)](_0x4948a9);}if(0x0===_0x261e34[_0x28abe6(0x1b5)])return;const _0x24c401=await _0x53a97b[_0x28abe6(0x1a6)](_0x4a0dd1,Array[_0x28abe6(0x211)](_0x261e34));for(const _0x3165c5 of _0x24c401)_0x5d6790[_0x28abe6(0x1d8)](_0x3165c5['id'])||_0x5d6790[_0x28abe6(0x192)](_0x3165c5);}[_0x553ce1(0x138)](_0x136a4b,_0x3af6f8={}){const _0x378f76=_0x553ce1,_0x3bd3b9=this[_0x378f76(0x1f0)][_0x378f76(0x193)],_0x4a0157=[];let _0x27d535=0x0;const _0x2e4003=_0x378f76(0x1e5)==typeof _0x136a4b?{'main':_0x136a4b}:_0x136a4b;for(const _0x2d4834 of Object[_0x378f76(0x1f5)](_0x2e4003)){if(!this[_0x378f76(0x201)][_0x378f76(0x14a)][_0x378f76(0x219)](_0x2d4834))throw new _0x2c7d7e(_0x378f76(0x1e0),this);const _0x4be602=this[_0x378f76(0x1f0)][_0x378f76(0x11a)][_0x378f76(0x1bf)](_0x2e4003[_0x2d4834]),_0x255c56=this[_0x378f76(0x201)][_0x378f76(0x1cd)](_0x2d4834),_0x43d30f=new _0x52f65b(_0x3bd3b9[_0x378f76(0x206)](_0x255c56,0x0),_0x4be602,_0x27d535++);_0x4a0157[_0x378f76(0x1a5)](_0x43d30f);for(const [_0x309867,_0x325c13]of _0x4be602[_0x378f76(0x166)]){const _0x511028=_0x3bd3b9[_0x378f76(0x1f6)](_0x3bd3b9[_0x378f76(0x199)](_0x255c56,_0x325c13[_0x378f76(0x125)][_0x378f76(0x122)][_0x378f76(0x1f7)]()),_0x3bd3b9[_0x378f76(0x199)](_0x255c56,_0x325c13[_0x378f76(0x1c6)][_0x378f76(0x122)][_0x378f76(0x1f7)]())),_0x51d4af=new _0x2e0d24(_0x309867,null,_0x511028,_0x3bd3b9[_0x378f76(0x166)],!0x0,_0x27d535++);_0x4a0157[_0x378f76(0x1a5)](_0x51d4af);}}if(_0x3af6f8)for(const [_0x58f0c3,_0x56d3ac]of Object[_0x378f76(0x21e)](_0x3af6f8)){const _0x4ad58c=_0x3bd3b9[_0x378f76(0x19f)][_0x378f76(0x1cd)](_0x58f0c3);if(!_0x4ad58c)throw new _0x2c7d7e(_0x378f76(0x1cb),null);for(const [_0x22512e,_0x24ead3]of Object[_0x378f76(0x21e)](_0x56d3ac))if(null!==_0x24ead3){const _0x335885=new _0x528a76(_0x4ad58c,_0x22512e,null,_0x24ead3,_0x27d535++);_0x4a0157[_0x378f76(0x1a5)](_0x335885);}}return _0x4a0157;}async[_0x553ce1(0x1c8)](_0x4ecc68,_0x15c1a8,_0x478f0f){const _0x4878d1=_0x553ce1;this[_0x4878d1(0x138)]({[_0x4ecc68]:_0x15c1a8},{[_0x4ecc68]:_0x478f0f})[_0x4878d1(0x132)]((_0x38674e,_0x258244)=>{const _0x33a238=_0x4878d1;_0x38674e[_0x33a238(0x198)]=this[_0x33a238(0x201)][_0x33a238(0x19c)]+_0x258244,_0x38674e[_0x33a238(0x15c)]=!0x0,this[_0x33a238(0x197)](_0x38674e);}),this[_0x4878d1(0x145)](),await this[_0x4878d1(0x204)]();}async[_0x553ce1(0x16c)](_0xe4c867,_0xc55b29){const _0x4e3c17=_0x553ce1;let _0x58eae0;this[_0x4e3c17(0x12b)]=_0xe4c867[_0x4e3c17(0x17f)];const _0x3364e4=_0xe4c867[_0x4e3c17(0x1bb)]&&!_0xe4c867[_0x4e3c17(0x1f4)],_0x3150f8=_0x3364e4?0x0:_0xe4c867[_0x4e3c17(0x11a)][_0x4e3c17(0x198)];if(_0xc55b29[_0x4e3c17(0x132)](_0x267046=>{const _0x178726=_0x4e3c17;_0x267046[_0x178726(0x15c)]=!0x0,_0x267046[_0x178726(0x124)]=_0xe4c867[_0x178726(0x1e3)],_0x267046[_0x178726(0x1db)]=null;}),_0x3364e4)_0x58eae0=_0xc55b29,this[_0x4e3c17(0x1d2)](_0x58eae0,_0x3364e4);else{if(_0xe4c867[_0x4e3c17(0x1f4)]){const _0x291748=this[_0x4e3c17(0x138)](_0xe4c867[_0x4e3c17(0x1f4)]);this[_0x4e3c17(0x201)][_0x4e3c17(0x15b)][_0x4e3c17(0x19c)]=-_0x291748[_0x4e3c17(0x17a)],_0x291748[_0x4e3c17(0x132)](_0x4ccd7b=>{const _0x935d13=_0x4e3c17;_0x4ccd7b[_0x935d13(0x198)]-=_0x291748[_0x935d13(0x17a)],_0x4ccd7b[_0x935d13(0x124)]=_0xe4c867[_0x935d13(0x1e3)],_0x4ccd7b[_0x935d13(0x15c)]=!0x0,_0x4ccd7b[_0x935d13(0x1db)]=null;}),this[_0x4e3c17(0x1d2)](_0x291748,!0x0),this[_0x4e3c17(0x1a8)][_0x4e3c17(0x19c)]=-_0x291748[_0x4e3c17(0x17a)]+this[_0x4e3c17(0x12b)],this[_0x4e3c17(0x155)](_0x291748);}this[_0x4e3c17(0x201)][_0x4e3c17(0x15b)][_0x4e3c17(0x19c)]=_0x3150f8,_0x58eae0=this[_0x4e3c17(0x21c)](_0xe4c867[_0x4e3c17(0x11a)],_0xe4c867[_0x4e3c17(0x180)]),await this[_0x4e3c17(0x18b)](_0x58eae0),this[_0x4e3c17(0x1d2)](_0x58eae0,_0x3364e4);}_0xe4c867[_0x4e3c17(0x1ed)]&&(this[_0x4e3c17(0x16b)][_0x4e3c17(0x178)](_0x58eae0,_0xe4c867[_0x4e3c17(0x1ed)]),this[_0x4e3c17(0x129)]=_0xe4c867[_0x4e3c17(0x1ed)]),this[_0x4e3c17(0x1a8)][_0x4e3c17(0x19c)]=_0x3150f8+this[_0x4e3c17(0x12b)],this[_0x4e3c17(0x155)](_0x58eae0),_0xc55b29[_0x4e3c17(0x1ee)](_0xc0dafe=>{const _0x21e110=_0x4e3c17,_0x1dc66d=this[_0x21e110(0x12d)](_0xc0dafe);return _0x1dc66d&&!this[_0x21e110(0x15a)][_0x21e110(0x219)](_0x1dc66d);})[_0x4e3c17(0x132)]((_0x308283,_0x11ee70)=>{const _0x5f0dde=_0x4e3c17;_0x308283[_0x5f0dde(0x198)]=this[_0x5f0dde(0x201)][_0x5f0dde(0x19c)]+_0x11ee70,this[_0x5f0dde(0x197)](_0x308283);}),this[_0x4e3c17(0x1d1)]()?(this[_0x4e3c17(0x13a)]=0x0,this[_0x4e3c17(0x145)](!0x0),await this[_0x4e3c17(0x204)]()):(this[_0x4e3c17(0x123)]=!0x1,this[_0x4e3c17(0x120)]());}[_0x553ce1(0x12c)](_0x1e88b8,_0x335d68){const _0x35559e=_0x553ce1,_0x484878=_0x335d68&&_0x335d68[_0x35559e(0x153)];if(_0x484878&&_0x484878[_0x35559e(0x1a0)](_0x35559e(0x16a)))throw _0x335d68;const _0x5dc2f8=this[_0x35559e(0x1f0)][_0x35559e(0x133)][_0x35559e(0x1fa)](_0x5aa609);throw this[_0x35559e(0x123)]=!0x0,_0x5dc2f8[_0x35559e(0x218)](),this[_0x35559e(0x1f0)][_0x35559e(0x1c0)](_0x35559e(0x154)),new _0x2c7d7e(_0x1e88b8,this[_0x35559e(0x1f0)],_0x484878?{'originalError':_0x484878}:void 0x0);}[_0x553ce1(0x197)](_0x5b4d77){const _0x40c93e=_0x553ce1;this[_0x40c93e(0x1b6)][_0x40c93e(0x219)](_0x5b4d77)||(this[_0x40c93e(0x1b6)][_0x40c93e(0x1f2)](_0x5b4d77),this[_0x40c93e(0x15e)][_0x40c93e(0x1a5)](_0x5b4d77),this[_0x40c93e(0x18c)]||_0x40c93e(0x136)==_0x5b4d77[_0x40c93e(0x1a7)]&&!_0x5b4d77[_0x40c93e(0x20e)]||this[_0x40c93e(0x20a)]());}[_0x553ce1(0x145)](_0x162309=!0x1){const _0x5e9556=_0x553ce1;!_0x162309&&this[_0x5e9556(0x123)]||(this[_0x5e9556(0x123)]=!0x0,clearTimeout(this[_0x5e9556(0x1b9)]),this[_0x5e9556(0x1b9)]=setTimeout(()=>{const _0x417c94=_0x5e9556;this[_0x417c94(0x1d0)]()[_0x417c94(0x14f)](_0x23c6ac=>{const _0x2df0a3=_0x417c94;_0x23c6ac&&(this[_0x2df0a3(0x120)](),this[_0x2df0a3(0x123)]=!0x1);})[_0x417c94(0x13f)](_0x39e1d6=>{const _0x1e65ba=_0x417c94;this[_0x1e65ba(0x120)](),this[_0x1e65ba(0x123)]=!0x1,function(_0x2b7ab3){const _0x4cc480=_0x1e65ba;return _0x2b7ab3[_0x4cc480(0x153)][_0x4cc480(0x1a0)](_0x4cc480(0x1a4))||_0x2b7ab3[_0x4cc480(0x153)][_0x4cc480(0x1a0)](_0x4cc480(0x18e))||_0x2b7ab3[_0x4cc480(0x153)][_0x4cc480(0x1a0)](_0x4cc480(0x182));}(_0x39e1d6)||this[_0x1e65ba(0x12c)](_0x39e1d6[_0x1e65ba(0x153)],_0x39e1d6);});},this[_0x5e9556(0x13a)]));}[_0x553ce1(0x204)](){return new Promise(_0x30982b=>{const _0x1912d8=_0x33c4;this['on'](_0x1912d8(0x215),()=>{_0x30982b();});});}async[_0x553ce1(0x1d0)](){const _0x1460fe=_0x553ce1,_0x127f57=this[_0x1460fe(0x1f0)][_0x1460fe(0x133)][_0x1460fe(0x1fa)](_0x5deb89);if(this[_0x1460fe(0x118)]()&&(_0x127f57[_0x1460fe(0x1c4)](),this[_0x1460fe(0x1a1)]=!0x1),!this[_0x1460fe(0x1d1)]())return!0x0;const _0x2a17f1=[...this[_0x1460fe(0x15e)]];for(const _0x8659af of _0x2a17f1)_0x8659af[_0x1460fe(0x12a)]=this[_0x1460fe(0x201)][_0x1460fe(0x15b)][_0x1460fe(0x15f)](_0x8659af);const _0x3e9542=this[_0x1460fe(0x16b)][_0x1460fe(0x217)](_0x2a17f1),_0x177c40=J++,_0x16b3cc=this[_0x1460fe(0x1eb)](_0x2a17f1),_0x1be61c=await this[_0x1460fe(0x119)][_0x1460fe(0x17e)](_0x16b3cc,_0x16b3cc[_0x1460fe(0x198)],_0x3e9542);try{return await this[_0x1460fe(0x19e)](_0x2a17f1,_0x1be61c,_0x177c40);}catch(_0x2a8b30){return this[_0x1460fe(0x12c)](_0x1460fe(0x1b8),_0x2a8b30);}}async[_0x553ce1(0x19e)](_0x5d0d29,_0x1c3bb4,_0x1263be){const _0x45d667=_0x553ce1;if(_0x45d667(0x184)in _0x1c3bb4)throw _0x1c3bb4[_0x45d667(0x184)];let _0x4b6b39=!0x1;if(_0x1c3bb4[_0x45d667(0x1bb)]){_0x1c3bb4[_0x45d667(0x1ed)]&&(this[_0x45d667(0x129)]=_0x1c3bb4[_0x45d667(0x1ed)]),this[_0x45d667(0x15e)]=this[_0x45d667(0x15e)][_0x45d667(0x1ee)](_0x19db8e=>!_0x5d0d29[_0x45d667(0x146)](_0x19db8e));for(const _0x4b4943 of _0x5d0d29)_0x4b4943[_0x45d667(0x124)]=_0x45d667(0x190)in _0x1c3bb4&&_0x1c3bb4[_0x45d667(0x190)]||void 0x0;X(_0x5d0d29,_0x1c3bb4[_0x45d667(0x19c)]-_0x5d0d29[_0x45d667(0x17a)]),this[_0x45d667(0x155)](_0x5d0d29);const _0x1b0d41=_0x5d0d29[_0x45d667(0x1ee)](_0x4564b5=>{const _0x1144f0=_0x45d667;if(!_0x4564b5[_0x1144f0(0x15c)])return!0x1;const _0x389db6=this[_0x1144f0(0x12d)](_0x4564b5);return _0x389db6&&!this[_0x1144f0(0x15a)][_0x1144f0(0x219)](_0x389db6);});X(_0x1b0d41,this[_0x45d667(0x201)][_0x45d667(0x19c)]),this[_0x45d667(0x1d2)](_0x1b0d41),_0x4b6b39=!0x0,this[_0x45d667(0x13a)]=this[_0x45d667(0x130)];}else{const _0x492771=this[_0x45d667(0x21c)](_0x1c3bb4[_0x45d667(0x11a)],_0x1c3bb4[_0x45d667(0x180)])[_0x45d667(0x1ee)](_0x599f2e=>_0x599f2e[_0x45d667(0x198)]>=this[_0x45d667(0x141)]);_0x492771[_0x45d667(0x132)](_0x5a4727=>this[_0x45d667(0x15d)](_0x5a4727)),this[_0x45d667(0x15e)]=this[_0x45d667(0x15e)][_0x45d667(0x1ee)](_0x5df860=>!_0x5df860[_0x45d667(0x15c)]||!this[_0x45d667(0x15a)][_0x45d667(0x219)](this[_0x45d667(0x12d)](_0x5df860))),this[_0x45d667(0x15e)][_0x45d667(0x17a)]&&X(this[_0x45d667(0x15e)],this[_0x45d667(0x15e)][0x0][_0x45d667(0x198)]),await this[_0x45d667(0x18b)](_0x492771),_0x4b6b39=this[_0x45d667(0x11c)](_0x492771,_0x1c3bb4[_0x45d667(0x19c)],_0x1c3bb4[_0x45d667(0x1ed)]),this[_0x45d667(0x13a)]=Math[_0x45d667(0x1ca)](this[_0x45d667(0x13a)]/0x2);}return _0x4b6b39?!this[_0x45d667(0x1d1)]()||(this[_0x45d667(0x145)](!0x0),!0x1):this[_0x45d667(0x12c)](_0x45d667(0x172));}[_0x553ce1(0x11c)](_0x9e67d3,_0x359018,_0xabedda){const _0x29077f=_0x553ce1;try{const _0x1dda8a={'document':this[_0x29077f(0x201)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3cc6f1,operationsB:_0x2b56a6,originalOperations:_0x361b05}=_0x54c8e5(_0x9e67d3,this[_0x29077f(0x15e)],_0x1dda8a);X(_0x3cc6f1,this[_0x29077f(0x201)][_0x29077f(0x19c)]),X(_0x2b56a6,_0x359018);for(const _0x119d3c of _0x3cc6f1){const _0x8edfee=_0x361b05[_0x29077f(0x1fa)](_0x119d3c);_0x119d3c[_0x29077f(0x1db)]=_0x8edfee?_0x8edfee[_0x29077f(0x1db)]:null;}_0xabedda&&(this[_0x29077f(0x16b)][_0x29077f(0x178)](_0x9e67d3,_0xabedda),this[_0x29077f(0x129)]=_0xabedda),this[_0x29077f(0x15e)]=[..._0x2b56a6],this[_0x29077f(0x1d2)](_0x3cc6f1),this[_0x29077f(0x155)](_0x9e67d3);}catch(_0x14eba0){return console[_0x29077f(0x184)](_0x14eba0),!0x1;}return!0x0;}[_0x553ce1(0x1d2)](_0x32d9d4,_0x1c7098=!0x1){const _0x2a64f8=_0x553ce1;this[_0x2a64f8(0x1f0)][_0x2a64f8(0x193)][_0x2a64f8(0x135)]({'isUndoable':!0x1,'isLocal':!0x1},_0x46836a=>{const _0x451e56=_0x2a64f8;for(const _0x3d3e36 of _0x32d9d4)this[_0x451e56(0x1b6)][_0x451e56(0x1f2)](_0x3d3e36),this[_0x451e56(0x15d)](_0x3d3e36),_0x46836a[_0x451e56(0x142)][_0x451e56(0x160)](_0x3d3e36),this[_0x451e56(0x1f0)][_0x451e56(0x193)][_0x451e56(0x128)](_0x3d3e36);});}[_0x553ce1(0x15d)](_0xf99108){const _0x427096=_0x553ce1,_0x390879=this[_0x427096(0x12d)](_0xf99108);_0x390879&&this[_0x427096(0x15a)][_0x427096(0x1f2)](_0x390879);}[_0x553ce1(0x12d)](_0x5e1b19){const _0x5ce8af=_0x553ce1;let _0x146ea3,_0x2c015c;switch(_0x5e1b19[_0x5ce8af(0x1a7)]){case _0x5ce8af(0x1a9):_0x146ea3=_0x5e1b19[_0x5ce8af(0x1a3)][_0x5ce8af(0x1be)];break;case _0x5ce8af(0x136):if(_0x2c015c=_0x5e1b19[_0x5ce8af(0x158)],!_0x2c015c)return null;_0x146ea3=_0x2c015c[_0x5ce8af(0x1be)];break;case _0x5ce8af(0x121):_0x146ea3=_0x5e1b19[_0x5ce8af(0x1be)];break;case _0x5ce8af(0x186):_0x146ea3=_0x5e1b19[_0x5ce8af(0x19b)];break;case _0x5ce8af(0x13c):_0x146ea3=_0x5e1b19[_0x5ce8af(0x156)][_0x5ce8af(0x1be)];break;default:return null;}return _0x146ea3[_0x5ce8af(0x16f)];}[_0x553ce1(0x155)](_0x45310e){const _0x317aa1=_0x553ce1;_0x45310e[_0x317aa1(0x132)](_0x59e6f4=>{const _0x429673=_0x317aa1,_0x288bfa=_0x59e6f4[_0x429673(0x1d4)]();_0x288bfa[_0x429673(0x1db)]=_0x59e6f4[_0x429673(0x1db)],_0x288bfa[_0x429673(0x15c)]=!!_0x59e6f4[_0x429673(0x15c)],_0x288bfa[_0x429673(0x124)]=_0x59e6f4[_0x429673(0x124)],_0x288bfa[_0x429673(0x198)]+=this[_0x429673(0x12b)],_0x59e6f4[_0x429673(0x196)]&&this[_0x429673(0x203)][_0x429673(0x1f2)](_0x288bfa),this[_0x429673(0x1a8)][_0x429673(0x160)](_0x288bfa);});}[_0x553ce1(0x1e8)](_0x18aba4){const _0x599cef=_0x553ce1,_0x31a810=this[_0x599cef(0x1f0)][_0x599cef(0x133)][_0x599cef(0x1fa)](_0x599cef(0x1de)),_0x5770af=this[_0x599cef(0x1f0)][_0x599cef(0x16e)];_0x18aba4||(_0x18aba4=_0x1935c5(_0x5770af,_0x599cef(0x1a2))),_0x31a810[_0x599cef(0x14c)](_0x18aba4,{'title':_0x1935c5(_0x5770af,_0x599cef(0x174)),'namespace':_0x599cef(0x1f9)}),this[_0x599cef(0x13e)]=!0x0,clearTimeout(this[_0x599cef(0x1b9)]),this[_0x599cef(0x15e)]=[],this[_0x599cef(0x1f0)][_0x599cef(0x133)][_0x599cef(0x1fa)](_0x5aa609)[_0x599cef(0x218)]();}[_0x553ce1(0x20a)](){const _0xc4ebce=_0x553ce1;this[_0xc4ebce(0x18c)]||(this[_0xc4ebce(0x18c)]=this[_0xc4ebce(0x1f0)][_0xc4ebce(0x133)][_0xc4ebce(0x1fa)](_0x3f82a5)[_0xc4ebce(0x1f2)](_0x1935c5(this[_0xc4ebce(0x1f0)][_0xc4ebce(0x16e)],_0xc4ebce(0x20b))));}[_0x553ce1(0x120)](){const _0x318861=_0x553ce1;this[_0x318861(0x18c)]&&(this[_0x318861(0x1f0)][_0x318861(0x133)][_0x318861(0x1fa)](_0x3f82a5)[_0x318861(0x140)](this[_0x318861(0x18c)]),this[_0x318861(0x18c)]=null);}[_0x553ce1(0x1eb)](_0x54ef1b){const _0x14aa51=_0x553ce1,_0x448d38=_0x54ef1b[_0x14aa51(0x200)](_0x417360=>_0x417360[_0x14aa51(0x139)]());return this[_0x14aa51(0x1dc)][_0x14aa51(0x162)](_0x448d38);}[_0x553ce1(0x21c)](_0x1f7269,_0x35573e){const _0x47580e=_0x553ce1;return this[_0x47580e(0x1dc)][_0x47580e(0x169)](_0x1f7269)[_0x47580e(0x200)]((_0x10cb84,_0x4f66d9)=>{const _0x1a79ed=_0x47580e,_0xeb651d=_0x1a79ed(0x18f)==_0x35573e[_0x4f66d9][_0x1a79ed(0x1a7)];if(_0x1a79ed(0x14b)==_0x10cb84[_0x1a79ed(0x19d)]){const _0x34549f=_0x10cb84[_0x1a79ed(0x1a3)][_0x1a79ed(0x1be)];!this[_0x1a79ed(0x201)][_0x1a79ed(0x1cd)](_0x34549f)&&(this[_0x1a79ed(0x201)][_0x1a79ed(0x1e2)](_0x1a79ed(0x1c1),_0x34549f)[_0x1a79ed(0x1d6)]=!0x1);}const _0x3bf7e4=_0x4e005b[_0x1a79ed(0x159)](_0x10cb84,this[_0x1a79ed(0x201)]);return _0x3bf7e4[_0x1a79ed(0x12a)]=_0x10cb84[_0x1a79ed(0x12a)],_0x3bf7e4[_0x1a79ed(0x15c)]=_0xeb651d,_0x3bf7e4[_0x1a79ed(0x1db)]=_0xeb651d?null:_0x35573e[_0x4f66d9][_0x1a79ed(0x175)],_0x3bf7e4[_0x1a79ed(0x196)]=_0x1a79ed(0x170)===_0x35573e[_0x4f66d9][_0x1a79ed(0x1a7)],_0x3bf7e4[_0x1a79ed(0x124)]=_0x35573e[_0x4f66d9][_0x1a79ed(0x124)],_0x3bf7e4;});}[_0x553ce1(0x11d)](){const _0x231d08=_0x553ce1;this[_0x231d08(0x1a1)]=!0x0,this[_0x231d08(0x118)]()?this[_0x231d08(0x145)]():this[_0x231d08(0x1a1)]=!0x1;}[_0x553ce1(0x118)](){const _0x33e96f=_0x553ce1,_0x49ba17=this[_0x33e96f(0x1f0)][_0x33e96f(0x133)][_0x33e96f(0x1fa)](_0x1efa5d)[_0x33e96f(0x1c7)][_0x33e96f(0x1fa)](this[_0x33e96f(0x171)]);return!this[_0x33e96f(0x1f0)][_0x33e96f(0x11e)]&&!!_0x49ba17&&_0x49ba17[_0x33e96f(0x17a)]>0x1&&this[_0x33e96f(0x1a1)];}[_0x553ce1(0x1d1)](){const _0x2a8498=_0x553ce1;return this[_0x2a8498(0x15e)][_0x2a8498(0x17a)]>0x0||this[_0x2a8498(0x118)]();}}export default l;class Q extends Error{}function X(_0x360446,_0x5061be){const _0x5519c3=_0x553ce1;for(const _0x5dc163 of _0x360446)_0x5dc163[_0x5519c3(0x198)]=_0x5061be++;}class Y{[_0x553ce1(0x213)];[_0x553ce1(0x1b4)];constructor(_0xe9dc44){const _0xf044d7=_0x553ce1;this[_0xf044d7(0x213)]=_0xe9dc44,this[_0xf044d7(0x1b4)]=new WeakMap();}[_0x553ce1(0x217)](_0x12f04c){const _0x27690a=_0x553ce1;let _0x437e9e=_0x12f04c[_0x27690a(0x17a)];for(;_0x437e9e--;){const _0x1dc526=_0x12f04c[_0x437e9e];if(!this[_0x27690a(0x213)][_0x27690a(0x219)](_0x1dc526)){if(!this[_0x27690a(0x1b4)][_0x27690a(0x219)](_0x1dc526)){const _0x2bbb8c=_0x28edf2()[_0x27690a(0x1f7)](0x1,0x12);this[_0x27690a(0x1b4)][_0x27690a(0x20f)](_0x1dc526,_0x2bbb8c);}return this[_0x27690a(0x1b4)][_0x27690a(0x1fa)](_0x1dc526);}}}[_0x553ce1(0x178)](_0x452072,_0x244429){const _0x591719=_0x553ce1;if(!_0x244429)return;let _0x364291=_0x452072[_0x591719(0x17a)];for(;_0x364291--;){const _0x21dbff=_0x452072[_0x364291];this[_0x591719(0x213)][_0x591719(0x219)](_0x21dbff)||this[_0x591719(0x1b4)][_0x591719(0x20f)](_0x21dbff,_0x244429);}}}
|
|
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 _0x4d0274=_0x26c5;(function(_0x51cfb4,_0x4211f5){const _0x43db2a=_0x26c5,_0x22889d=_0x51cfb4();while(!![]){try{const _0x3ab27c=parseInt(_0x43db2a(0x1cc))/0x1+-parseInt(_0x43db2a(0x223))/0x2+-parseInt(_0x43db2a(0x23e))/0x3+-parseInt(_0x43db2a(0x1e3))/0x4+-parseInt(_0x43db2a(0x233))/0x5+-parseInt(_0x43db2a(0x215))/0x6+parseInt(_0x43db2a(0x21f))/0x7;if(_0x3ab27c===_0x4211f5)break;else _0x22889d['push'](_0x22889d['shift']());}catch(_0x3511d9){_0x22889d['push'](_0x22889d['shift']());}}}(_0x2985,0xe8d78));import{Plugin as _0x8e6a49}from'ckeditor5/src/core.js';import{global as _0x28ed15,DomEmitterMixin as _0x1c2429}from'ckeditor5/src/utils.js';import _0xce6a75 from'./sessions.js';import{LiveRange as _0x1fc2a9}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x26c5(_0x27e704,_0x2476f2){const _0x298534=_0x2985();return _0x26c5=function(_0x26c502,_0x5dc3fb){_0x26c502=_0x26c502-0x1bf;let _0x3583b7=_0x298534[_0x26c502];return _0x3583b7;},_0x26c5(_0x27e704,_0x2476f2);}export default class q extends _0x8e6a49{[_0x4d0274(0x200)]=new(_0x1c2429())();static get[_0x4d0274(0x20d)](){return[_0xce6a75];}static get[_0x4d0274(0x228)](){const _0x1182b1=_0x4d0274;return _0x1182b1(0x227);}static get[_0x4d0274(0x1e9)](){return!0x0;}static get[_0x4d0274(0x22a)](){return!0x0;}[_0x4d0274(0x21b)](){const _0x270094=_0x4d0274,_0xcad4f6=this[_0x270094(0x1c8)],_0x438d95=_0xcad4f6[_0x270094(0x241)][_0x270094(0x21e)](_0xce6a75);_0xcad4f6[_0x270094(0x20b)][_0x270094(0x1d6)](_0x270094(0x1f9))[_0x270094(0x22e)]({'model':_0x270094(0x1cd),'view':(_0x2e03bd,{writer:_0x2d38b3})=>function(_0x557999,_0x249998,_0x1ea3de,_0x26c8ca){const _0x2558da=_0x270094,_0x3579d4=_0x557999[_0x2558da(0x20c)][_0x2558da(0x22c)](':')[0x2],_0x429c1e=_0x1ea3de[_0x2558da(0x218)](_0x3579d4);if(!_0x429c1e||_0x3579d4===_0x1ea3de[_0x2558da(0x1cf)])return;if(!_0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x22b)][_0x2558da(0x211)](_0x557999[_0x2558da(0x1ce)][_0x2558da(0x1bf)],_0x2558da(0x1d5)))return;const _0x3b836c={'class':_0x2558da(0x219)+_0x429c1e[_0x2558da(0x1f5)][_0x2558da(0x1ed)](),'data-name':_0x429c1e[_0x2558da(0x1e6)],'data-session-id':_0x3579d4},_0x1cf86c=_0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x22d)][_0x2558da(0x21e)](_0x557999[_0x2558da(0x20c)]),_0x4550f5=_0x1cf86c[_0x2558da(0x210)](),_0x2e1706=_0x4550f5[_0x2558da(0x1f6)],_0x24c124=_0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x22b)];if(_0x2e1706&&_0x24c124[_0x2558da(0x1f0)](_0x2e1706)&&_0x24c124[_0x2558da(0x209)](_0x2e1706)&&!_0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x22d)][_0x2558da(0x21e)](_0x2558da(0x224)+_0x3579d4)[_0x2558da(0x23f)]()[_0x2558da(0x1c9)])return;const _0x5e301b=_0x4550f5[_0x2558da(0x246)];return _0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x22b)][_0x2558da(0x1ca)](_0x5e301b)&&!_0x26c8ca[_0x2558da(0x1d3)][_0x2558da(0x221)](_0x5e301b)&&(_0x3b836c[_0x2558da(0x1c4)]=!0x1),function(_0x266ae6,_0x5e3659,_0x417a08){const _0x7b8b5c=_0x2558da,_0x3ee317=_0x266ae6[_0x7b8b5c(0x1c5)](_0x7b8b5c(0x1c0),_0x5e3659);return _0x266ae6[_0x7b8b5c(0x1db)](_0x7b8b5c(0x23c),!0x0,_0x3ee317),_0x3ee317[_0x7b8b5c(0x1d7)]=function(_0x40b914){const _0x1eedb4=_0x7b8b5c,_0x504e4c=this[_0x1eedb4(0x236)](_0x40b914),_0xa90a1c=document[_0x1eedb4(0x216)](_0x1eedb4(0x1c0));return _0xa90a1c[_0x1eedb4(0x22f)][_0x1eedb4(0x1c6)](_0x1eedb4(0x1de)),_0xa90a1c[_0x1eedb4(0x23b)](_0x1eedb4(0x1c4),_0x1eedb4(0x237)),_0xa90a1c[_0x1eedb4(0x23b)](_0x1eedb4(0x1df),_0x1eedb4(0x237)),_0xa90a1c[_0x1eedb4(0x20a)]=_0x417a08[_0x1eedb4(0x1e6)],_0x504e4c[_0x1eedb4(0x1e4)]=_0x1eedb4(0x242)+_0xa90a1c[_0x1eedb4(0x1fc)]+'',_0x504e4c[_0x1eedb4(0x1ea)](_0x1eedb4(0x1d9),()=>{const _0x4ab553=_0x1eedb4;_0x504e4c[_0x4ab553(0x22f)][_0x4ab553(0x1c6)](_0x4ab553(0x1da));}),_0x504e4c[_0x1eedb4(0x1ea)](_0x1eedb4(0x20f),()=>{const _0x3cb3d0=_0x1eedb4;_0x504e4c[_0x3cb3d0(0x22f)][_0x3cb3d0(0x245)](_0x3cb3d0(0x1da));}),_0x504e4c;},_0x3ee317[_0x7b8b5c(0x1d2)]=function(_0x53d692){const _0x56470c=_0x7b8b5c;return!(!this[_0x56470c(0x1ff)](_0x56470c(0x23c))||!_0x53d692[_0x56470c(0x1ff)](_0x56470c(0x23c))||this[_0x56470c(0x1c2)](_0x56470c(0x1f1))!=_0x53d692[_0x56470c(0x1c2)](_0x56470c(0x1f1)));},_0x3ee317;}(_0x249998,_0x3b836c,_0x429c1e);}(_0x2e03bd,_0x2d38b3,_0x438d95,_0xcad4f6)}),_0xcad4f6[_0x270094(0x20b)][_0x270094(0x1d6)](_0x270094(0x1f9))[_0x270094(0x203)]({'model':_0x270094(0x1c1),'view':_0x10d5dc=>function(_0x3b5405,_0x178dd9){const _0x1080ff=_0x270094,_0x5a15b0=_0x3b5405[_0x1080ff(0x20c)][_0x1080ff(0x22c)](':')[0x2];if(_0x5a15b0===_0x178dd9[_0x1080ff(0x1cf)])return null;const _0x5d75b7=_0x178dd9[_0x1080ff(0x218)](_0x5a15b0);if(!_0x5d75b7)return{'id':_0x5a15b0,'classes':[]};return{'id':_0x5a15b0,'classes':[_0x1080ff(0x229),_0x5d75b7[_0x1080ff(0x1f5)][_0x1080ff(0x1e0)]()],'attributes':{'data-session-id':_0x5a15b0},'priority':0x7d0+_0x5d75b7[_0x1080ff(0x1cb)]};}(_0x10d5dc,_0x438d95)}),function(_0x2a6b2b){const _0x460354=_0x270094,_0x11b826=_0x2a6b2b[_0x460354(0x1d3)],_0x2c9d76=new Map(),_0x8282=_0x2a6b2b[_0x460354(0x241)][_0x460354(0x21e)](_0xce6a75);_0x11b826[_0x460354(0x22d)]['on'](_0x460354(0x1e5),(_0x27ee3,_0x1dfa90,_0x3a15c0,_0x267fd0)=>{const _0x41bdf3=_0x460354;if(!_0x267fd0&&_0x2c9d76[_0x41bdf3(0x21e)](_0x1dfa90[_0x41bdf3(0x1e6)]))return _0x2c9d76[_0x41bdf3(0x21e)](_0x1dfa90[_0x41bdf3(0x1e6)])[_0x41bdf3(0x214)](),void _0x2c9d76[_0x41bdf3(0x243)](_0x1dfa90[_0x41bdf3(0x1e6)]);const _0x5beab4=_0x1dfa90[_0x41bdf3(0x1e6)][_0x41bdf3(0x22c)](':')[0x2];if(_0x5beab4===_0x8282[_0x41bdf3(0x1cf)])return;const _0x2c4029=_0x41bdf3(0x1eb)+_0x5beab4;_0x11b826[_0x41bdf3(0x22d)][_0x41bdf3(0x1f8)](_0x2c4029)&&_0x2a6b2b[_0x41bdf3(0x1e2)][_0x41bdf3(0x1e8)](_0x2c4029),_0x1dfa90['on'](_0x41bdf3(0x1f3),(_0x2c0374,_0x48eab3,_0x2974e8)=>{const _0x155136=_0x41bdf3;if(_0x155136(0x244)!=_0x48eab3[_0x155136(0x21a)][_0x155136(0x239)]&&_0x155136(0x244)==_0x1dfa90[_0x155136(0x23f)]()[_0x155136(0x21a)][_0x155136(0x239)]&&!_0x2c9d76[_0x155136(0x1f8)](_0x1dfa90[_0x155136(0x1e6)])){const _0x391b41=_0x11b826[_0x155136(0x22b)][_0x155136(0x232)](_0x2974e8[_0x155136(0x225)]);if(_0x391b41){const _0x37f52e=_0x1fc2a9[_0x155136(0x1dd)](_0x391b41);_0x2c9d76[_0x155136(0x1d4)](_0x1dfa90[_0x155136(0x1e6)],_0x37f52e),_0x37f52e['on'](_0x155136(0x1f3),(_0x24ff10,_0x82fc06,_0x4388e7)=>{const _0xda7b08=_0x155136;if(_0xda7b08(0x244)==_0x37f52e[_0xda7b08(0x21a)][_0xda7b08(0x239)]){const _0x1fe3f9=_0x11b826[_0xda7b08(0x22b)][_0xda7b08(0x232)](_0x4388e7[_0xda7b08(0x225)]);_0x1fe3f9?(_0x37f52e[_0xda7b08(0x1bf)]=_0x1fe3f9[_0xda7b08(0x1bf)],_0x37f52e[_0xda7b08(0x1f7)]=_0x1fe3f9[_0xda7b08(0x1f7)]):(_0x2c9d76[_0xda7b08(0x243)](_0x1dfa90[_0xda7b08(0x1e6)]),_0x37f52e[_0xda7b08(0x214)]());}});}}});}),_0x11b826[_0x460354(0x1f4)]['on'](_0x460354(0x23d),()=>{const _0x24c4f0=_0x460354;_0x2c9d76[_0x24c4f0(0x204)]>0x0&&_0x11b826[_0x24c4f0(0x234)]({'isUndoable':!0x1},_0x12ea6d=>{const _0x4a8326=_0x24c4f0;for(const [_0x3554e6,_0x4a1a58]of _0x2c9d76)_0x4a8326(0x244)==_0x11b826[_0x4a8326(0x22d)][_0x4a8326(0x21e)](_0x3554e6)[_0x4a8326(0x23f)]()[_0x4a8326(0x21a)][_0x4a8326(0x239)]&&(te(_0x3554e6[_0x4a8326(0x22c)](':')[0x2],_0x4a1a58[_0x4a8326(0x1fe)](),_0x11b826,_0x12ea6d),_0x4a1a58[_0x4a8326(0x214)]());_0x2c9d76[_0x4a8326(0x230)]();});});}(_0xcad4f6),this[_0x270094(0x200)][_0x270094(0x213)](_0x28ed15[_0x270094(0x1f4)],_0x270094(0x21d),(_0x347cfb,{key:_0x589f31})=>{const _0x29ef8d=_0x270094;_0x29ef8d(0x1ef)===_0x589f31&&function(_0x144cbe){const _0x3b4eda=_0x29ef8d;_0x144cbe[_0x3b4eda(0x1e2)][_0x3b4eda(0x202)][_0x3b4eda(0x23d)](_0x1a8a08=>{const _0x4791a5=_0x3b4eda;for(const _0x44e492 of _0x144cbe[_0x4791a5(0x1d3)][_0x4791a5(0x22d)]){if(!_0x44e492[_0x4791a5(0x1e6)][_0x4791a5(0x23a)](_0x4791a5(0x1cd)))continue;const _0x90f61b=_0x144cbe[_0x4791a5(0x1e2)][_0x4791a5(0x20e)][_0x4791a5(0x1d1)](_0x44e492[_0x4791a5(0x1e6)]);if(_0x90f61b){for(const _0x345cd0 of _0x90f61b)_0x1a8a08[_0x4791a5(0x1e1)](_0x4791a5(0x1da),_0x345cd0);}}});}(_0xcad4f6);},{'useCapture':!0x0});}[_0x4d0274(0x207)](){const _0x3c4133=_0x4d0274,_0x54b38a=this[_0x3c4133(0x1c8)],_0x228517=_0x54b38a[_0x3c4133(0x222)][_0x3c4133(0x21e)](_0x3c4133(0x1fa));_0x228517&&_0x54b38a[_0x3c4133(0x1d3)]['on'](_0x3c4133(0x240),(_0x3f9878,_0x3899a8)=>{const _0x2e916e=_0x3c4133,_0x19e471=_0x3899a8[0x0];if(!_0x19e471[_0x2e916e(0x226)])return;if(_0x2e916e(0x1ec)!=_0x19e471[_0x2e916e(0x235)]||!_0x19e471[_0x2e916e(0x1e6)][_0x2e916e(0x23a)](_0x2e916e(0x1e7)))return;const _0x4fd347=_0x19e471[_0x2e916e(0x1c7)];_0x228517[_0x2e916e(0x231)][_0x2e916e(0x1f8)](_0x4fd347)&&(_0x19e471[_0x2e916e(0x1f2)]=_0x19e471[_0x2e916e(0x1ee)]?_0x54b38a[_0x2e916e(0x1d3)][_0x2e916e(0x1fd)](_0x19e471[_0x2e916e(0x1ee)][_0x2e916e(0x1bf)],_0x19e471[_0x2e916e(0x1ee)][_0x2e916e(0x1f7)]):null);},{'priority':_0x3c4133(0x217)});}[_0x4d0274(0x208)](){const _0x4831e8=_0x4d0274;return this[_0x4831e8(0x200)][_0x4831e8(0x1d8)](),super[_0x4831e8(0x208)]();}[_0x4d0274(0x1c3)](){const _0x11defc=_0x4d0274,_0x42cfff=this[_0x11defc(0x1c8)],_0x128379=_0x42cfff[_0x11defc(0x1d3)][_0x11defc(0x1f4)],_0x566814=_0x42cfff[_0x11defc(0x241)][_0x11defc(0x21e)](_0xce6a75);_0x42cfff[_0x11defc(0x1d3)][_0x11defc(0x234)]({'isUndoable':!0x1},_0xffc1d=>{const _0x57efcc=_0x11defc,_0x283bb7=_0x57efcc(0x224)+_0x566814[_0x57efcc(0x1cf)],_0x963b28=_0x57efcc(0x1eb)+_0x566814[_0x57efcc(0x1cf)],_0x1ad80b=_0x42cfff[_0x57efcc(0x1d3)][_0x57efcc(0x22d)][_0x57efcc(0x1f8)](_0x283bb7);_0x42cfff[_0x57efcc(0x1e2)][_0x57efcc(0x202)][_0x57efcc(0x1d0)]?te(_0x566814[_0x57efcc(0x1cf)],_0x128379[_0x57efcc(0x205)][_0x57efcc(0x220)](),_0x42cfff[_0x57efcc(0x1d3)],_0xffc1d):_0x1ad80b&&(_0xffc1d[_0x57efcc(0x201)](_0x283bb7),_0xffc1d[_0x57efcc(0x201)](_0x963b28));});}}function _0x2985(){const _0x1abe6e=['isPremiumPlugin','schema','split','markers','markerToElement','classList','clear','_createdBatches','getNearestSelectionRange','2254375cQiarO','enqueueChange','type','toDomElement','false','tableCell','rootName','startsWith','setAttribute','userPositionMarker','change','3705117VPCPSd','getRange','applyOperation','plugins','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','delete','$graveyard','remove','parent','start','span','user:range','getAttribute','createUserMarkerOperations','contenteditable','createUIElement','add','batch','editor','isCollapsed','isLimit','orderNumber','1474657YskUhU','user:position','markerRange','mySessionId','hasDomSelection','markerNameToElements','isSimilar','model','set','$text','for','render','stopListening','mouseenter','ck-user__marker_hovered','setCustomProperty','updateMarker','fromRange','ck-user__marker-tooltip','spellcheck','getSelectionClass','removeClass','editing','1425384NCGCJa','innerHTML','update:user:range','name','user:','reconvertMarker','isOfficialPlugin','addEventListener','user:position:','marker','getMarkerClass','oldRange','Escape','isObject','data-session-id','newRange','change:range','document','color','nodeAfter','end','has','editingDowncast','undo','getPositions','outerHTML','createRange','toRange','getCustomProperty','_domEmitter','removeMarker','view','markerToHighlight','size','selection','addMarker','afterInit','destroy','isInline','textContent','conversion','markerName','requires','mapper','mouseleave','getStart','checkChild','element','listenTo','detach','588636KrKkjj','createElement','highest','getUserBySessionId','ck-user__marker\x20','root','init','getContainedElement','keydown','get','22361122SPLspT','getFirstRange','hasContent','commands','3150034lhSaJM','user:range:','deletionPosition','isDocumentOperation','UserMarkers','pluginName','ck-user__selection'];_0x2985=function(){return _0x1abe6e;};return _0x2985();}function te(_0x32c9c5,_0x22d6d0,_0x13426c,_0x47a25d){const _0x59424c=_0x4d0274,_0x27bf79=_0x59424c(0x224)+_0x32c9c5,_0x5ca03a=_0x59424c(0x1eb)+_0x32c9c5,_0x135e90=_0x22d6d0[_0x59424c(0x21c)]();let _0x482ea6=_0x22d6d0[_0x59424c(0x1bf)];_0x135e90&&_0x135e90['is'](_0x59424c(0x212),_0x59424c(0x238))&&(_0x482ea6=function(_0x4c39e9,_0x3b8dcf){const _0x5cd4d5=_0x59424c;for(const _0x5c64b2 of _0x4c39e9[_0x5cd4d5(0x1fb)]())if(_0x3b8dcf[_0x5cd4d5(0x22b)][_0x5cd4d5(0x211)](_0x5c64b2,_0x5cd4d5(0x1d5)))return _0x5c64b2;}(_0x22d6d0,_0x13426c),_0x22d6d0=_0x47a25d[_0x59424c(0x1fd)](_0x482ea6));const _0x361981=_0x47a25d[_0x59424c(0x1fd)](_0x482ea6);_0x13426c[_0x59424c(0x22d)][_0x59424c(0x1f8)](_0x27bf79)?(_0x47a25d[_0x59424c(0x1dc)](_0x27bf79,{'range':_0x22d6d0}),_0x47a25d[_0x59424c(0x1dc)](_0x5ca03a,{'range':_0x361981})):(_0x47a25d[_0x59424c(0x206)](_0x27bf79,{'range':_0x22d6d0,'usingOperation':!0x0}),_0x47a25d[_0x59424c(0x206)](_0x5ca03a,{'range':_0x361981,'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}));}
|