@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.3 → 47.0.0-alpha.5
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 _0x38aef4=_0x5c03;(function(_0x32c557,_0x4da0df){const _0x2a1849=_0x5c03,_0x74db1c=_0x32c557();while(!![]){try{const _0x186547=parseInt(_0x2a1849(0x207))/0x1+-parseInt(_0x2a1849(0x200))/0x2+-parseInt(_0x2a1849(0x1f5))/0x3+-parseInt(_0x2a1849(0x1f3))/0x4*(-parseInt(_0x2a1849(0x1fb))/0x5)+parseInt(_0x2a1849(0x1e7))/0x6*(-parseInt(_0x2a1849(0x203))/0x7)+parseInt(_0x2a1849(0x1ed))/0x8*(parseInt(_0x2a1849(0x1e6))/0x9)+parseInt(_0x2a1849(0x1f1))/0xa*(parseInt(_0x2a1849(0x206))/0xb);if(_0x186547===_0x4da0df)break;else _0x74db1c['push'](_0x74db1c['shift']());}catch(_0x4808ef){_0x74db1c['push'](_0x74db1c['shift']());}}}(_0x3315,0xc86bb));import{View as _0x48d390}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x34d8ed}from'ckeditor5/src/utils.js';function _0x5c03(_0x548988,_0x55d6ed){const _0x33157e=_0x3315();return _0x5c03=function(_0x5c0397,_0x4c6c36){_0x5c0397=_0x5c0397-0x1e0;let _0x233f17=_0x33157e[_0x5c0397];return _0x233f17;},_0x5c03(_0x548988,_0x55d6ed);}import{getTranslation as _0x337c1d}from'../../common-translations.js';export class PresenceInlineListView extends _0x48d390{[_0x38aef4(0x1f7)];[_0x38aef4(0x1eb)];constructor(_0x5686e7){const _0x4842f9=_0x38aef4;super(_0x5686e7);const _0x282f3b=this[_0x4842f9(0x1ff)];this[_0x4842f9(0x1f7)]=this[_0x4842f9(0x1f2)](),this[_0x4842f9(0x1eb)]=new _0x34d8ed(),this[_0x4842f9(0x1ec)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4842f9(0x1e1)]({'tag':_0x4842f9(0x1e2),'attributes':{'aria-haspopup':_0x282f3b['if'](_0x4842f9(0x1f0)),'aria-expanded':_0x282f3b['to'](_0x4842f9(0x1e0),_0x444420=>this[_0x4842f9(0x1f0)]&&String(_0x444420)),'aria-label':_0x282f3b['to'](_0x4842f9(0x1f0),_0x575085=>_0x337c1d(_0x5686e7,_0x575085?_0x4842f9(0x1ee):_0x4842f9(0x1f4))),'role':_0x4842f9(0x1fa),'tabindex':_0x282f3b['to'](_0x4842f9(0x1f0),_0x18d7b6=>!!_0x18d7b6&&0x0),'class':['ck',_0x4842f9(0x201)]},'children':this[_0x4842f9(0x1f7)],'on':{'mouseenter':_0x282f3b['to'](()=>this[_0x4842f9(0x1fc)](_0x4842f9(0x1fd))),'mouseleave':_0x282f3b['to'](_0xc0c090=>{const _0x3d16b1=_0x4842f9,_0x5a2c2b=_0xc0c090,_0x2a3359=document[_0x3d16b1(0x1e8)](_0x3d16b1(0x204)),_0x57cd43=document[_0x3d16b1(0x1e8)](_0x3d16b1(0x1e3));_0x2a3359?.[_0x3d16b1(0x1f9)](_0x5a2c2b[_0x3d16b1(0x1f8)])||_0x57cd43?.[_0x3d16b1(0x1f9)](_0x5a2c2b[_0x3d16b1(0x1f8)])||this[_0x3d16b1(0x1fc)](_0x3d16b1(0x1ef));})}}),this['on'](_0x4842f9(0x1e9),(_0x5c7b0d,_0x379fea,_0x117e01)=>{const _0x4933b4=_0x4842f9;this[_0x4933b4(0x1e4)]&&(_0x117e01?this[_0x4933b4(0x1e4)][_0x4933b4(0x1ea)](_0x4933b4(0x1e5),String(this[_0x4933b4(0x1e0)])):this[_0x4933b4(0x1e4)][_0x4933b4(0x1f6)](_0x4933b4(0x1e5)));});}[_0x38aef4(0x1fe)](){const _0x1b76e6=_0x38aef4;this[_0x1b76e6(0x1e4)][_0x1b76e6(0x1fe)]();}[_0x38aef4(0x205)](){const _0x4c9a6b=_0x38aef4;super[_0x4c9a6b(0x205)](),this[_0x4c9a6b(0x1eb)][_0x4c9a6b(0x202)](this[_0x4c9a6b(0x1e4)]);}}function _0x3315(){const _0x409f04=['render','15024031UygmDb','853677ySuHIP','isExpanded','setTemplate','div','.ck-balloon-panel_with-arrow','element','aria-expanded','864BGYUzL','195882QYwwel','querySelector','change:hasPopup','setAttribute','keystrokes','set','86608medeKx','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','presencelist:hide','hasPopup','10uOMmbv','createCollection','44EVJxCf','Connected\x20users\x20list','4097112mkpCEp','removeAttribute','items','relatedTarget','contains','list','574160XLPcCu','fire','presencelist:show','focus','bindTemplate','1993584uBmtRh','ck-presence-list__list','listenTo','287bREnTJ','.ck-presence-list__dropdown-list'];_0x3315=function(){return _0x409f04;};return _0x3315();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x2e7b0b=_0x4afb;(function(_0x524f8a,_0x43e32a){const _0x2315cf=_0x4afb,_0x4000d4=_0x524f8a();while(!![]){try{const _0x236754=-parseInt(_0x2315cf(0x8a))/0x1*(parseInt(_0x2315cf(0x72))/0x2)+-parseInt(_0x2315cf(0x7a))/0x3+parseInt(_0x2315cf(0x85))/0x4+-parseInt(_0x2315cf(0x83))/0x5*(-parseInt(_0x2315cf(0x88))/0x6)+parseInt(_0x2315cf(0x7b))/0x7*(parseInt(_0x2315cf(0x7f))/0x8)+parseInt(_0x2315cf(0x6e))/0x9+parseInt(_0x2315cf(0x74))/0xa;if(_0x236754===_0x43e32a)break;else _0x4000d4['push'](_0x4000d4['shift']());}catch(_0x351b5d){_0x4000d4['push'](_0x4000d4['shift']());}}}(_0x5af6,0x3b88c));import{View as _0x567ad9}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x58c025}from'./presencecounterview.js';function _0x4afb(_0x24ce3e,_0x35a27e){const _0x5af62f=_0x5af6();return _0x4afb=function(_0x4afbcc,_0x1f798b){_0x4afbcc=_0x4afbcc-0x6e;let _0x11f23b=_0x5af62f[_0x4afbcc];return _0x11f23b;},_0x4afb(_0x24ce3e,_0x35a27e);}import{PresenceInlineListView as _0xf0e6c5}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x5af6(){const _0x2dbfe8=['bind','362VHhipn','counterView','917000DwbHtm','setTemplate','ck-reset','ck-presence-list--collapsed','items','ck-rounded-corners','1040748YhuNHP','164094USiGKC','listenTo','div','locale','24Tjdwli','tooltipPosition','inlineListView','bindTemplate','5555okmTJW','change','1414320aXltYK','hasPopup','first','2358ZIrJlt','isCollapsed','2207RPdPYI','342054VvBFyE','set','ck-presence-list'];_0x5af6=function(){return _0x2dbfe8;};return _0x5af6();}export class PresenceListView extends _0x567ad9{[_0x2e7b0b(0x73)];[_0x2e7b0b(0x81)];constructor(_0x846069,_0x4155cc=0x6){const _0x1e47f9=_0x2e7b0b;super(_0x846069);const _0x4f7057=this[_0x1e47f9(0x82)];this[_0x1e47f9(0x6f)](_0x1e47f9(0x89),!0x0),this[_0x1e47f9(0x73)]=new _0x58c025(this[_0x1e47f9(0x7e)],_0x4155cc),this[_0x1e47f9(0x81)]=new _0xf0e6c5(_0x846069),this[_0x1e47f9(0x81)][_0x1e47f9(0x71)](_0x1e47f9(0x86))['to'](this,_0x1e47f9(0x89)),this[_0x1e47f9(0x7c)](this[_0x1e47f9(0x81)][_0x1e47f9(0x78)],_0x1e47f9(0x84),()=>{const _0x19a95c=_0x1e47f9;for(const _0x34aea6 of this[_0x19a95c(0x81)][_0x19a95c(0x78)])_0x34aea6[_0x19a95c(0x80)]='s';this[_0x19a95c(0x81)][_0x19a95c(0x78)][_0x19a95c(0x87)]&&(this[_0x19a95c(0x81)][_0x19a95c(0x78)][_0x19a95c(0x87)][_0x19a95c(0x80)]='se');}),this[_0x1e47f9(0x75)]({'tag':_0x1e47f9(0x7d),'attributes':{'class':['ck',_0x1e47f9(0x70),_0x1e47f9(0x76),_0x1e47f9(0x79),_0x4f7057['if'](_0x1e47f9(0x89),_0x1e47f9(0x77))]},'children':[this[_0x1e47f9(0x81)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x1edc57=_0x5dc8;(function(_0x14f8c7,_0x29a690){var _0x37c6ac=_0x5dc8,_0x46da89=_0x14f8c7();while(!![]){try{var _0x1e147e=-parseInt(_0x37c6ac(0x15a))/0x1*(-parseInt(_0x37c6ac(0x159))/0x2)+parseInt(_0x37c6ac(0x15b))/0x3*(parseInt(_0x37c6ac(0x163))/0x4)+parseInt(_0x37c6ac(0x15c))/0x5+-parseInt(_0x37c6ac(0x15e))/0x6*(-parseInt(_0x37c6ac(0x158))/0x7)+parseInt(_0x37c6ac(0x160))/0x8*(-parseInt(_0x37c6ac(0x165))/0x9)+parseInt(_0x37c6ac(0x162))/0xa+-parseInt(_0x37c6ac(0x15d))/0xb;if(_0x1e147e===_0x29a690)break;else _0x46da89['push'](_0x46da89['shift']());}catch(_0x15f452){_0x46da89['push'](_0x46da89['shift']());}}}(_0x3b8a,0xf2d80));function _0x5dc8(_0x4f4f61,_0xaec3d7){var _0x3b8ab3=_0x3b8a();return _0x5dc8=function(_0x5dc8e2,_0x5f2c29){_0x5dc8e2=_0x5dc8e2-0x157;var _0x25ea0f=_0x3b8ab3[_0x5dc8e2];return _0x25ea0f;},_0x5dc8(_0x4f4f61,_0xaec3d7);}import{ContextPlugin as _0x2cf29a}from'ckeditor5/src/core.js';import{Sessions as _0xa03d3a}from'./realtimecollaborativeediting/sessions.js';function _0x3b8a(){var _0x55496e=['4545919SNylDi','990134oqdxMK','3vXhSxg','25263SphfgC','7750355VeeyMP','41146501fLBxmH','12NWaVGg','pluginName','16GLTenE','PresenceList','1507180uEucRz','164GADWxx','isOfficialPlugin','426627ySdFwm','requires','isPremiumPlugin'];_0x3b8a=function(){return _0x55496e;};return _0x3b8a();}import{PresenceListUI as _0x4d89de}from'./presencelist/presencelistui.js';export class PresenceList extends _0x2cf29a{static get[_0x1edc57(0x166)](){return[_0xa03d3a,_0x4d89de];}static get[_0x1edc57(0x15f)](){var _0x3da14f=_0x1edc57;return _0x3da14f(0x161);}static get[_0x1edc57(0x164)](){return!0x0;}static get[_0x1edc57(0x157)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0xaa6fd3)());[_0x8b009f(0x179)];static get[_0x8b009f(0x17b)](){const _0x2a4636=_0x8b009f;return[_0x2e22bf,_0x2a4636(0x15f),_0x1d01ce,_0x4d130b];}static get[_0x8b009f(0x145)](){const _0x280f1c=_0x8b009f;return _0x280f1c(0x198);}static get[_0x8b009f(0x163)](){return!0x0;}static get[_0x8b009f(0x161)](){return!0x0;}constructor(_0x283f8a){const _0x246b85=_0x8b009f;super(_0x283f8a),this[_0x246b85(0x179)]=new Map();}async[_0x8b009f(0x19c)](){const _0x339eb9=_0x8b009f,_0x33217b=this[_0x339eb9(0x19a)],_0x5a4aa7=_0x33217b[_0x339eb9(0x16c)][_0x339eb9(0x168)](_0x339eb9(0x15f));if(_0x33217b[_0x339eb9(0x16c)][_0x339eb9(0x168)](_0x2e22bf)[_0x339eb9(0x18f)](this),_0x5a4aa7[_0x339eb9(0x140)]={'addCommentThread':async({channelId:_0x18251a,threadId:_0xa7e39f,comments:_0x4ed555,resolvedAt:_0x509f08,resolvedBy:_0x319f17,context:_0x4050ca,attributes:_0xbd5e8d})=>{const _0x2c3e8b=_0x339eb9,_0x314a4f=await this[_0x2c3e8b(0x153)](_0x18251a)[_0x2c3e8b(0x15e)]({'commentThreadId':_0xa7e39f,'comments':_0x4ed555[_0x2c3e8b(0x16b)](_0x14ecfc=>function(_0x13bfca,_0x4e5eae,_0x39f068){const _0x521e5d=_0x2c3e8b;return{'commentThreadId':_0x39f068,'commentId':_0x13bfca[_0x521e5d(0x184)],'userId':_0x13bfca[_0x521e5d(0x191)],'content':_0x13bfca[_0x521e5d(0x178)],'documentId':_0x4e5eae,'createdAt':_0x13bfca[_0x521e5d(0x157)],'attributes':_0x13bfca[_0x521e5d(0x183)]||{}};}(_0x14ecfc,_0x18251a,_0xa7e39f)),'resolvedAt':_0x509f08,'resolvedBy':_0x319f17,'context':_0x4050ca,'attributes':_0xbd5e8d})[_0x2c3e8b(0x13d)](A);return{'threadId':_0x314a4f[_0x2c3e8b(0x152)],'comments':_0x314a4f[_0x2c3e8b(0x192)]};},'getCommentThread':async({channelId:_0x5269a7,threadId:_0xce38a1})=>{const _0x55511f=_0x339eb9,_0x7c8815=await this[_0x55511f(0x153)](_0x5269a7)[_0x55511f(0x15d)](_0xce38a1)[_0x55511f(0x13d)](f)[_0x55511f(0x13d)](A);return _0x7c8815?_0x7c8815[_0x55511f(0x165)]?null:(await this[_0x55511f(0x14c)]([_0x7c8815]),{'threadId':_0x7c8815[_0x55511f(0x152)],'comments':_0x7c8815[_0x55511f(0x192)][_0x55511f(0x16b)](p),'context':_0x7c8815[_0x55511f(0x19a)],'resolvedAt':_0x7c8815[_0x55511f(0x166)],'resolvedBy':_0x7c8815[_0x55511f(0x185)],'attributes':_0x7c8815[_0x55511f(0x183)]||{}}):null;},'updateCommentThread':async({channelId:_0x4e655c,threadId:_0x40d3ca,context:_0xd4f939,unlinkedAt:_0x71b25d,attributes:_0x4407f9})=>this[_0x339eb9(0x153)](_0x4e655c)[_0x339eb9(0x144)]({'commentThreadId':_0x40d3ca,'context':_0xd4f939,'attributes':_0x4407f9,'unlinkedAt':_0x71b25d})[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'resolveCommentThread':async({channelId:_0x2e4344,threadId:_0x2e88c0})=>{const _0x2d9b76=_0x339eb9,_0x4bacdf=await this[_0x2d9b76(0x153)](_0x2e4344)[_0x2d9b76(0x169)](_0x2e88c0)[_0x2d9b76(0x13d)](f)[_0x2d9b76(0x13d)](A);return{'threadId':_0x4bacdf[_0x2d9b76(0x152)],'resolvedAt':_0x4bacdf[_0x2d9b76(0x166)],'resolvedBy':_0x4bacdf[_0x2d9b76(0x185)]};},'reopenCommentThread':async({channelId:_0x155a7d,threadId:_0x43c43f})=>this[_0x339eb9(0x153)](_0x155a7d)[_0x339eb9(0x150)](_0x43c43f)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'removeCommentThread':({channelId:_0x207a4d,threadId:_0x30bc9e})=>this[_0x339eb9(0x153)](_0x207a4d)[_0x339eb9(0x188)](_0x30bc9e)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'addComment':({channelId:_0x4289c0,threadId:_0x5df978,commentId:_0x14c1af,content:_0x1149ca,attributes:_0x4e08fd})=>this[_0x339eb9(0x153)](_0x4289c0)[_0x339eb9(0x148)](_0x5df978,_0x14c1af,_0x1149ca,_0x4e08fd)[_0x339eb9(0x13d)](A),'updateComment':({channelId:_0x1b7710,threadId:_0x4c9b1f,commentId:_0x3ec659,content:_0x257828,attributes:_0x7b16ac})=>this[_0x339eb9(0x153)](_0x1b7710)[_0x339eb9(0x197)](_0x4c9b1f,_0x3ec659,_0x257828,_0x7b16ac)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A),'removeComment':({channelId:_0x4f864e,threadId:_0x402e0e,commentId:_0x4be5ce})=>this[_0x339eb9(0x153)](_0x4f864e)[_0x339eb9(0x172)](_0x402e0e,_0x4be5ce)[_0x339eb9(0x13d)](f)[_0x339eb9(0x13d)](A)},_0x33217b instanceof _0x117b73){const _0x46646f=_0x33217b[_0x339eb9(0x17f)][_0x339eb9(0x168)](_0x339eb9(0x189)),_0x5b5272=_0x33217b[_0x339eb9(0x16c)][_0x339eb9(0x168)](_0x1d01ce);await this[_0x339eb9(0x147)](_0x46646f);const _0x476a6a=await this[_0x339eb9(0x179)][_0x339eb9(0x168)](_0x46646f)[_0x339eb9(0x14f)]();this[_0x339eb9(0x187)](_0x5b5272,_0x339eb9(0x13b)+_0x46646f,(_0x1cd8fe,{session:_0x4572f9})=>{const _0x576af0=_0x339eb9;_0x4572f9['id']===_0x5b5272[_0x576af0(0x19d)]&&(_0x1cd8fe[_0x576af0(0x19f)](),this[_0x576af0(0x19a)][_0x576af0(0x16c)][_0x576af0(0x168)](_0x576af0(0x174))[_0x576af0(0x186)](_0x4572f9[_0x576af0(0x15a)],_0x46646f));}),_0x5b5272[_0x339eb9(0x190)](_0x46646f,_0x476a6a);}}async[_0x8b009f(0x147)](_0x243436){const _0x3028de=_0x8b009f;if(this[_0x3028de(0x179)][_0x3028de(0x176)](_0x243436))throw new _0x499b01(_0x3028de(0x17a),null,{'channelId':_0x243436});const _0x5beb9f=this[_0x3028de(0x19a)][_0x3028de(0x16c)][_0x3028de(0x168)](_0x3028de(0x15f)),_0x30d948=new CloudServicesCommentsAdapter[(_0x3028de(0x177))](_0x243436);this[_0x3028de(0x179)][_0x3028de(0x18b)](_0x243436,_0x30d948),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x158),(_0x101ca0,_0x285b58)=>{const _0x4637d8=_0x3028de,{commentThreadId:_0x26f80c,documentId:_0x5736f3,context:_0x1552bb,attributes:_0xfcdd7b,resolvedAt:_0x540251,resolvedBy:_0x5e5bf1,comments:_0x791c23}=_0x285b58;_0x5beb9f[_0x4637d8(0x15d)](_0x26f80c)||_0x5beb9f[_0x4637d8(0x15e)]({'threadId':_0x26f80c,'channelId':_0x5736f3,'comments':_0x791c23?_0x791c23[_0x4637d8(0x16b)](p):[],'context':_0x1552bb,'attributes':_0xfcdd7b,'resolvedAt':_0x540251,'resolvedBy':_0x5e5bf1,'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x18e),(_0xa19ece,{commentThreadId:_0x51ac6d,documentId:_0x31b754,context:_0x2e7a99,unlinkedAt:_0x259e20,attributes:_0x102355})=>{const _0x45414a=_0x3028de;_0x5beb9f[_0x45414a(0x15d)](_0x51ac6d)&&_0x5beb9f[_0x45414a(0x144)]({'threadId':_0x51ac6d,'channelId':_0x31b754,'context':_0x2e7a99,'unlinkedAt':_0x259e20,'attributes':_0x102355,'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x180),(_0xe8d552,{commentThreadId:_0x548ea0,resolvedBy:_0x494891,resolvedAt:_0x4d6c98})=>{const _0x3b8986=_0x3028de,_0x342b1a=_0x5beb9f[_0x3b8986(0x15d)](_0x548ea0);_0x342b1a&&_0x342b1a[_0x3b8986(0x18c)]({'resolvedBy':_0x494891,'resolvedAt':_0x4d6c98,'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x155),(_0x5ddae3,{commentThreadId:_0x13a7a6})=>{const _0x1c3b9d=_0x3028de,_0x45526a=_0x5beb9f[_0x1c3b9d(0x15d)](_0x13a7a6);_0x45526a&&_0x45526a[_0x1c3b9d(0x19b)]({'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x196),(_0x26f259,{commentThreadId:_0x1cd709})=>{const _0x4b0025=_0x3028de,_0x5efb60=_0x5beb9f[_0x4b0025(0x15d)](_0x1cd709);_0x5efb60&&_0x5efb60[_0x4b0025(0x199)]({'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x13a),(_0x42626b,_0x131afc)=>{const _0x36f140=_0x3028de,_0x9edc7a=_0x131afc[_0x36f140(0x152)],_0x318d80=_0x5beb9f[_0x36f140(0x15d)](_0x9edc7a);_0x318d80&&_0x318d80[_0x36f140(0x148)]({...p(_0x131afc),'isFromAdapter':!0x0});}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x16a),(_0x14747e,{commentThreadId:_0x5a3cfb,commentId:_0x57e873,content:_0x1127e7,attributes:_0x1a5a5f})=>{const _0x170557=_0x3028de,_0x3cf4a1=_0x5beb9f[_0x170557(0x15d)](_0x5a3cfb);if(_0x3cf4a1){const _0x582c58=_0x3cf4a1[_0x170557(0x17d)](_0x57e873);_0x582c58&&_0x582c58[_0x170557(0x149)]({'content':_0x1127e7,'attributes':_0x1a5a5f,'isFromAdapter':!0x0});}}),this[_0x3028de(0x187)](_0x30d948,_0x3028de(0x14d),(_0x4410d1,{commentThreadId:_0x3c7b3b,commentId:_0x50f084})=>{const _0x6f95f9=_0x3028de,_0x42c762=_0x5beb9f[_0x6f95f9(0x15d)](_0x3c7b3b);if(_0x42c762){const _0x323a3a=_0x42c762[_0x6f95f9(0x17d)](_0x50f084);_0x323a3a&&_0x323a3a[_0x6f95f9(0x199)]({'isFromAdapter':!0x0});}}),await this[_0x3028de(0x193)](_0x243436);}[_0x8b009f(0x167)](){const _0x52492e=_0x8b009f;if(this[_0x52492e(0x19a)]instanceof _0x117b73){const _0x400552=this[_0x52492e(0x19a)][_0x52492e(0x17f)][_0x52492e(0x168)](_0x52492e(0x189));this[_0x52492e(0x16d)](_0x400552);}}[_0x8b009f(0x16d)](_0x2f2005){const _0x3831c0=_0x8b009f;if(!this[_0x3831c0(0x179)][_0x3831c0(0x176)](_0x2f2005))throw new _0x499b01(_0x3831c0(0x164),null,{'channelId':_0x2f2005});this[_0x3831c0(0x153)](_0x2f2005)[_0x3831c0(0x17c)](),this[_0x3831c0(0x179)][_0x3831c0(0x15c)](_0x2f2005);}async[_0x8b009f(0x181)](){const _0x15cc01=_0x8b009f;for(const _0xe0f6a1 of this[_0x15cc01(0x179)][_0x15cc01(0x13f)]())await this[_0x15cc01(0x193)](_0xe0f6a1);if(this[_0x15cc01(0x19a)]instanceof _0x117b73){const _0x4f501a=this[_0x15cc01(0x19a)][_0x15cc01(0x17f)][_0x15cc01(0x168)](_0x15cc01(0x189)),_0x5d205d=this[_0x15cc01(0x19a)][_0x15cc01(0x16c)][_0x15cc01(0x168)](_0x1d01ce);_0x5d205d[_0x15cc01(0x15b)](_0x4f501a);const _0x2683ff=await this[_0x15cc01(0x179)][_0x15cc01(0x168)](_0x4f501a)[_0x15cc01(0x14f)]();_0x5d205d[_0x15cc01(0x190)](_0x4f501a,_0x2683ff);}}async[_0x8b009f(0x193)](_0x2740a5){const _0x4340b5=_0x8b009f,{connection:_0x21bbef}=this[_0x4340b5(0x19a)][_0x4340b5(0x16c)][_0x4340b5(0x168)](_0x2e22bf),_0x3b40e4=this[_0x4340b5(0x19a)][_0x4340b5(0x16c)][_0x4340b5(0x168)](_0x4340b5(0x15f)),_0x5c08e2=this[_0x4340b5(0x179)][_0x4340b5(0x168)](_0x2740a5),_0x3815d6=await _0x5c08e2[_0x4340b5(0x162)](_0x21bbef);await this[_0x4340b5(0x14c)](_0x3815d6);const _0x5ebf24=new Set(Array[_0x4340b5(0x143)](_0x3b40e4[_0x4340b5(0x142)]({'channelId':_0x2740a5}),_0x3600ea=>_0x3600ea['id']));for(const _0x47f8f7 of _0x3815d6)_0x47f8f7[_0x4340b5(0x165)]||_0x5ebf24[_0x4340b5(0x15c)](_0x47f8f7[_0x4340b5(0x152)]);for(const _0x18d0b9 of _0x5ebf24)_0x3b40e4[_0x4340b5(0x15d)](_0x18d0b9)[_0x4340b5(0x199)]({'isFromAdapter':!0x0});for(const _0xaef681 of _0x3815d6){let _0x253814=_0x3b40e4[_0x4340b5(0x15d)](_0xaef681[_0x4340b5(0x152)]);const {commentThreadId:_0x2019c3,context:_0x565ac4,attributes:_0x28eb78,resolvedBy:_0x315d86,resolvedAt:_0x526b3a,unlinkedAt:_0x3412fa,deletedAt:_0xa7df86}=_0xaef681;if(_0xa7df86)continue;_0x253814||(_0x253814=_0x3b40e4[_0x4340b5(0x15e)]({'channelId':_0x2740a5,'threadId':_0x2019c3,'context':_0x565ac4,'attributes':_0x28eb78||{},'resolvedBy':_0x315d86,'resolvedAt':_0x526b3a,'unlinkedAt':_0x3412fa,'isFromAdapter':!0x0}));const _0x5b54fe=new Set(Array[_0x4340b5(0x143)](_0x253814[_0x4340b5(0x192)],_0x47564f=>_0x47564f['id']));for(const _0x4aedf9 of _0xaef681[_0x4340b5(0x192)])_0x5b54fe[_0x4340b5(0x15c)](_0x4aedf9[_0x4340b5(0x184)]);for(const _0x1991ee of _0x5b54fe)_0x253814[_0x4340b5(0x17d)](_0x1991ee)[_0x4340b5(0x199)]({'isFromAdapter':!0x0});for(const _0x36b309 of _0xaef681[_0x4340b5(0x192)]){const _0x185d98=_0x253814[_0x4340b5(0x17d)](_0x36b309[_0x4340b5(0x184)]);_0x185d98?_0x185d98[_0x4340b5(0x178)]!==_0x36b309[_0x4340b5(0x178)]&&_0x185d98[_0x4340b5(0x149)]({'content':_0x36b309[_0x4340b5(0x178)],'isFromAdapter':!0x0}):_0x253814[_0x4340b5(0x148)](Object[_0x4340b5(0x171)](p(_0x36b309),{'isFromAdapter':!0x0}));}}}[_0x8b009f(0x153)](_0x15b7b4){const _0x108bf4=_0x8b009f;if(!this[_0x108bf4(0x179)][_0x108bf4(0x176)](_0x15b7b4))throw new _0x499b01(_0x108bf4(0x159),null,{'channelId':_0x15b7b4});return this[_0x108bf4(0x179)][_0x108bf4(0x168)](_0x15b7b4);}async[_0x8b009f(0x14c)](_0x5e04a4){const _0x10772e=_0x8b009f,_0x18c130=this[_0x10772e(0x19a)][_0x10772e(0x16c)][_0x10772e(0x168)](_0x4d130b),{connection:_0x24e702}=this[_0x10772e(0x19a)][_0x10772e(0x16c)][_0x10772e(0x168)](_0x2e22bf),_0x5b636f=new Set();for(const {resolvedBy:_0x11279c,comments:_0x5b5245}of _0x5e04a4){_0x11279c&&!_0x18c130[_0x10772e(0x18a)](_0x11279c)&&_0x5b636f[_0x10772e(0x146)](_0x11279c);for(const {userId:_0x44f605}of _0x5b5245)_0x18c130[_0x10772e(0x18a)](_0x44f605)||_0x5b636f[_0x10772e(0x146)](_0x44f605);}if(0x0===_0x5b636f[_0x10772e(0x195)])return;const _0x49c0c2=await _0x1fdb28[_0x10772e(0x175)](_0x24e702,Array[_0x10772e(0x143)](_0x5b636f));for(const _0x24a3ca of _0x49c0c2)_0x18c130[_0x10772e(0x18a)](_0x24a3ca['id'])||_0x18c130[_0x10772e(0x141)](_0x24a3ca);}}async function f(_0x3c9033){const _0x2b7b6a=_0x8b009f;if(_0x2b7b6a(0x13e)!==_0x3c9033[_0x2b7b6a(0x160)])throw _0x3c9033;}function A(_0xb551f0){const _0x17d4ee=_0x8b009f;if((_0x45a5f7=_0xb551f0)[_0x17d4ee(0x16f)][_0x17d4ee(0x154)](_0x17d4ee(0x14b))||_0x45a5f7[_0x17d4ee(0x16f)][_0x17d4ee(0x154)](_0x17d4ee(0x173))||_0x45a5f7[_0x17d4ee(0x16f)][_0x17d4ee(0x154)](_0x17d4ee(0x16e)))return new Promise(()=>{});var _0x45a5f7;throw _0xb551f0;}function p(_0x445bdc){const _0x35726f=_0x8b009f;return{'threadId':_0x445bdc[_0x35726f(0x152)],'commentId':_0x445bdc[_0x35726f(0x184)],'content':_0x445bdc[_0x35726f(0x178)],'createdAt':_0x445bdc[_0x35726f(0x157)],'authorId':_0x445bdc[_0x35726f(0x14a)],'attributes':_0x445bdc[_0x35726f(0x183)]||{}};}
|
|
23
|
+
const _0xc3cd37=_0x24b1;(function(_0x573111,_0x54ad15){const _0x3a3f59=_0x24b1,_0x41b58e=_0x573111();while(!![]){try{const _0x3392dc=parseInt(_0x3a3f59(0x1d6))/0x1*(-parseInt(_0x3a3f59(0x217))/0x2)+parseInt(_0x3a3f59(0x21f))/0x3*(-parseInt(_0x3a3f59(0x1d8))/0x4)+-parseInt(_0x3a3f59(0x237))/0x5*(-parseInt(_0x3a3f59(0x220))/0x6)+parseInt(_0x3a3f59(0x20e))/0x7+parseInt(_0x3a3f59(0x201))/0x8+parseInt(_0x3a3f59(0x200))/0x9*(-parseInt(_0x3a3f59(0x1fb))/0xa)+-parseInt(_0x3a3f59(0x20d))/0xb*(parseInt(_0x3a3f59(0x1f5))/0xc);if(_0x3392dc===_0x54ad15)break;else _0x41b58e['push'](_0x41b58e['shift']());}catch(_0x32911f){_0x41b58e['push'](_0x41b58e['shift']());}}}(_0x180e,0xd687f));import{Context as _0x54a25f,ContextPlugin as _0x430cfb}from'ckeditor5/src/core.js';import{CKEditorError as _0x4ab0b6}from'ckeditor5/src/utils.js';import{Users as _0x4bdffb}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x24b1(_0x1c0701,_0x573f8e){const _0x180e26=_0x180e();return _0x24b1=function(_0x24b1c3,_0xe385e){_0x24b1c3=_0x24b1c3-0x1d5;let _0x957fba=_0x180e26[_0x24b1c3];return _0x957fba;},_0x24b1(_0x1c0701,_0x573f8e);}import{CommentsService as _0x49756d,User as _0x37ec73}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x241bb3}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x45b3cc}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x430cfb{static [_0xc3cd37(0x1da)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x49756d)());[_0xc3cd37(0x22a)];static get[_0xc3cd37(0x22b)](){const _0x2eb1c8=_0xc3cd37;return[_0x241bb3,_0x2eb1c8(0x238),_0x45b3cc,_0x4bdffb];}static get[_0xc3cd37(0x23b)](){const _0x2fc798=_0xc3cd37;return _0x2fc798(0x23c);}static get[_0xc3cd37(0x1de)](){return!0x0;}static get[_0xc3cd37(0x231)](){return!0x0;}constructor(_0x516458){const _0x2ca619=_0xc3cd37;super(_0x516458),this[_0x2ca619(0x22a)]=new Map();}async[_0xc3cd37(0x1fe)](){const _0x4e111a=_0xc3cd37,_0xa7a797=this[_0x4e111a(0x21d)],_0x3eb0f7=_0xa7a797[_0x4e111a(0x210)][_0x4e111a(0x1d7)](_0x4e111a(0x238));if(_0xa7a797[_0x4e111a(0x210)][_0x4e111a(0x1d7)](_0x241bb3)[_0x4e111a(0x214)](this),_0x3eb0f7[_0x4e111a(0x1e3)]={'addCommentThread':async({channelId:_0x2a2669,threadId:_0x1c0cf8,comments:_0x31df8a,resolvedAt:_0x40901f,resolvedBy:_0x51dd62,context:_0x9658a8,attributes:_0x257e07})=>{const _0x3fe600=_0x4e111a,_0x5ec011=await this[_0x3fe600(0x1db)](_0x2a2669)[_0x3fe600(0x206)]({'commentThreadId':_0x1c0cf8,'comments':_0x31df8a[_0x3fe600(0x216)](_0x57acf8=>function(_0x2b09d9,_0x4ad556,_0x36d0fd){const _0x1d0d4f=_0x3fe600;return{'commentThreadId':_0x36d0fd,'commentId':_0x2b09d9[_0x1d0d4f(0x1ec)],'userId':_0x2b09d9[_0x1d0d4f(0x225)],'content':_0x2b09d9[_0x1d0d4f(0x22e)],'documentId':_0x4ad556,'createdAt':_0x2b09d9[_0x1d0d4f(0x1f2)],'attributes':_0x2b09d9[_0x1d0d4f(0x1f7)]||{}};}(_0x57acf8,_0x2a2669,_0x1c0cf8)),'resolvedAt':_0x40901f,'resolvedBy':_0x51dd62,'context':_0x9658a8,'attributes':_0x257e07})[_0x3fe600(0x239)](k);return{'threadId':_0x5ec011[_0x3fe600(0x215)],'comments':_0x5ec011[_0x3fe600(0x228)]};},'getCommentThread':async({channelId:_0x319bae,threadId:_0x4a376e})=>{const _0x278e81=_0x4e111a,_0x5ac0f2=await this[_0x278e81(0x1db)](_0x319bae)[_0x278e81(0x1e5)](_0x4a376e)[_0x278e81(0x239)](F)[_0x278e81(0x239)](k);return _0x5ac0f2?_0x5ac0f2[_0x278e81(0x1e8)]?null:(await this[_0x278e81(0x1dc)]([_0x5ac0f2]),{'threadId':_0x5ac0f2[_0x278e81(0x215)],'comments':_0x5ac0f2[_0x278e81(0x228)][_0x278e81(0x216)](S),'context':_0x5ac0f2[_0x278e81(0x21d)],'resolvedAt':_0x5ac0f2[_0x278e81(0x1ff)],'resolvedBy':_0x5ac0f2[_0x278e81(0x230)],'attributes':_0x5ac0f2[_0x278e81(0x1f7)]||{}}):null;},'updateCommentThread':async({channelId:_0x23f3f4,threadId:_0x4289ad,context:_0x47be45,unlinkedAt:_0x26fb32,attributes:_0x4f31cd})=>this[_0x4e111a(0x1db)](_0x23f3f4)[_0x4e111a(0x21c)]({'commentThreadId':_0x4289ad,'context':_0x47be45,'attributes':_0x4f31cd,'unlinkedAt':_0x26fb32})[_0x4e111a(0x239)](F)[_0x4e111a(0x239)](k),'resolveCommentThread':async({channelId:_0x187660,threadId:_0x22c682})=>{const _0x390ce9=_0x4e111a,_0x2609b0=await this[_0x390ce9(0x1db)](_0x187660)[_0x390ce9(0x21a)](_0x22c682)[_0x390ce9(0x239)](F)[_0x390ce9(0x239)](k);return{'threadId':_0x2609b0[_0x390ce9(0x215)],'resolvedAt':_0x2609b0[_0x390ce9(0x1ff)],'resolvedBy':_0x2609b0[_0x390ce9(0x230)]};},'reopenCommentThread':async({channelId:_0x548498,threadId:_0x5428d2})=>this[_0x4e111a(0x1db)](_0x548498)[_0x4e111a(0x211)](_0x5428d2)[_0x4e111a(0x239)](F)[_0x4e111a(0x239)](k),'removeCommentThread':({channelId:_0x45f17e,threadId:_0x3d3b9d})=>this[_0x4e111a(0x1db)](_0x45f17e)[_0x4e111a(0x208)](_0x3d3b9d)[_0x4e111a(0x239)](F)[_0x4e111a(0x239)](k),'addComment':({channelId:_0x5e3c7c,threadId:_0x28cf5e,commentId:_0x27ae67,content:_0x43aa1b,attributes:_0xce7c96})=>this[_0x4e111a(0x1db)](_0x5e3c7c)[_0x4e111a(0x23a)](_0x28cf5e,_0x27ae67,_0x43aa1b,_0xce7c96)[_0x4e111a(0x239)](k),'updateComment':({channelId:_0x169a04,threadId:_0xd927eb,commentId:_0x1f109b,content:_0x1d945b,attributes:_0x49af82})=>this[_0x4e111a(0x1db)](_0x169a04)[_0x4e111a(0x20f)](_0xd927eb,_0x1f109b,_0x1d945b,_0x49af82)[_0x4e111a(0x239)](F)[_0x4e111a(0x239)](k),'removeComment':({channelId:_0x3a2052,threadId:_0x11cf91,commentId:_0x3e101d})=>this[_0x4e111a(0x1db)](_0x3a2052)[_0x4e111a(0x1e9)](_0x11cf91,_0x3e101d)[_0x4e111a(0x239)](F)[_0x4e111a(0x239)](k)},_0xa7a797 instanceof _0x54a25f){const _0x4362e6=_0xa7a797[_0x4e111a(0x219)][_0x4e111a(0x1d7)](_0x4e111a(0x212)),_0x1234fb=_0xa7a797[_0x4e111a(0x210)][_0x4e111a(0x1d7)](_0x45b3cc);await this[_0x4e111a(0x233)](_0x4362e6);const _0x3cd839=await this[_0x4e111a(0x22a)][_0x4e111a(0x1d7)](_0x4362e6)[_0x4e111a(0x222)]();this[_0x4e111a(0x21e)](_0x1234fb,_0x4e111a(0x1e0)+_0x4362e6,(_0x2f5805,{session:_0x135295})=>{const _0x120b1b=_0x4e111a;_0x135295['id']===_0x1234fb[_0x120b1b(0x207)]&&(_0x2f5805[_0x120b1b(0x232)](),this[_0x120b1b(0x21d)][_0x120b1b(0x210)][_0x120b1b(0x1d7)](_0x120b1b(0x20b))[_0x120b1b(0x22f)](_0x135295[_0x120b1b(0x1ee)],_0x4362e6));}),_0x1234fb[_0x4e111a(0x1ed)](_0x4362e6,_0x3cd839);}}async[_0xc3cd37(0x233)](_0x43eb15){const _0x4bea30=_0xc3cd37;if(this[_0x4bea30(0x22a)][_0x4bea30(0x1f1)](_0x43eb15))throw new _0x4ab0b6(_0x4bea30(0x226),null,{'channelId':_0x43eb15});const _0x55a25a=this[_0x4bea30(0x21d)][_0x4bea30(0x210)][_0x4bea30(0x1d7)](_0x4bea30(0x238)),_0x4c8110=new CloudServicesCommentsAdapter[(_0x4bea30(0x1da))](_0x43eb15);this[_0x4bea30(0x22a)][_0x4bea30(0x1dd)](_0x43eb15,_0x4c8110),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x235),(_0x330b3e,_0x4da39b)=>{const _0x4c7fed=_0x4bea30,{commentThreadId:_0x1f4c25,documentId:_0x561267,context:_0xa16572,attributes:_0x29cf72,resolvedAt:_0x5ce21a,resolvedBy:_0x41eb75,comments:_0x59ee87}=_0x4da39b;_0x55a25a[_0x4c7fed(0x1e5)](_0x1f4c25)||_0x55a25a[_0x4c7fed(0x206)]({'threadId':_0x1f4c25,'channelId':_0x561267,'comments':_0x59ee87?_0x59ee87[_0x4c7fed(0x216)](S):[],'context':_0xa16572,'attributes':_0x29cf72,'resolvedAt':_0x5ce21a,'resolvedBy':_0x41eb75,'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x1f9),(_0x42f981,{commentThreadId:_0x47c7d0,documentId:_0x532b86,context:_0x3d435f,unlinkedAt:_0x18ec09,attributes:_0x4055bb})=>{const _0x5b1704=_0x4bea30;_0x55a25a[_0x5b1704(0x1e5)](_0x47c7d0)&&_0x55a25a[_0x5b1704(0x21c)]({'threadId':_0x47c7d0,'channelId':_0x532b86,'context':_0x3d435f,'unlinkedAt':_0x18ec09,'attributes':_0x4055bb,'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x218),(_0x394126,{commentThreadId:_0xf25422,resolvedBy:_0x44f04c,resolvedAt:_0x4bd2f7})=>{const _0xb58637=_0x4bea30,_0x40b8bc=_0x55a25a[_0xb58637(0x1e5)](_0xf25422);_0x40b8bc&&_0x40b8bc[_0xb58637(0x21b)]({'resolvedBy':_0x44f04c,'resolvedAt':_0x4bd2f7,'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x1ea),(_0x7bbd15,{commentThreadId:_0x55b044})=>{const _0x33c27c=_0x4bea30,_0x127013=_0x55a25a[_0x33c27c(0x1e5)](_0x55b044);_0x127013&&_0x127013[_0x33c27c(0x204)]({'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x1f3),(_0x30b2ed,{commentThreadId:_0x1eccd9})=>{const _0xc49370=_0x4bea30,_0x3cc4a4=_0x55a25a[_0xc49370(0x1e5)](_0x1eccd9);_0x3cc4a4&&_0x3cc4a4[_0xc49370(0x203)]({'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x213),(_0x5a0c70,_0x537c88)=>{const _0x3862a5=_0x4bea30,_0x2b405f=_0x537c88[_0x3862a5(0x215)],_0x16ef01=_0x55a25a[_0x3862a5(0x1e5)](_0x2b405f);_0x16ef01&&_0x16ef01[_0x3862a5(0x23a)]({...S(_0x537c88),'isFromAdapter':!0x0});}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x223),(_0x100bc8,{commentThreadId:_0x4043cd,commentId:_0x197283,content:_0x164a05,attributes:_0x1e9fc0})=>{const _0x5cfb4b=_0x4bea30,_0x382e5f=_0x55a25a[_0x5cfb4b(0x1e5)](_0x4043cd);if(_0x382e5f){const _0x23e2b1=_0x382e5f[_0x5cfb4b(0x227)](_0x197283);_0x23e2b1&&_0x23e2b1[_0x5cfb4b(0x22c)]({'content':_0x164a05,'attributes':_0x1e9fc0,'isFromAdapter':!0x0});}}),this[_0x4bea30(0x21e)](_0x4c8110,_0x4bea30(0x1e4),(_0xb4367,{commentThreadId:_0x3b3e21,commentId:_0x300dca})=>{const _0x1814d6=_0x4bea30,_0x5cec1e=_0x55a25a[_0x1814d6(0x1e5)](_0x3b3e21);if(_0x5cec1e){const _0x4f29ac=_0x5cec1e[_0x1814d6(0x227)](_0x300dca);_0x4f29ac&&_0x4f29ac[_0x1814d6(0x203)]({'isFromAdapter':!0x0});}}),await this[_0x4bea30(0x229)](_0x43eb15);}[_0xc3cd37(0x224)](){const _0x4de183=_0xc3cd37;if(this[_0x4de183(0x21d)]instanceof _0x54a25f){const _0x4c1442=this[_0x4de183(0x21d)][_0x4de183(0x219)][_0x4de183(0x1d7)](_0x4de183(0x212));this[_0x4de183(0x22d)](_0x4c1442);}}[_0xc3cd37(0x22d)](_0x24fa1f){const _0x20947d=_0xc3cd37;if(!this[_0x20947d(0x22a)][_0x20947d(0x1f1)](_0x24fa1f))throw new _0x4ab0b6(_0x20947d(0x209),null,{'channelId':_0x24fa1f});this[_0x20947d(0x1db)](_0x24fa1f)[_0x20947d(0x1fd)](),this[_0x20947d(0x22a)][_0x20947d(0x236)](_0x24fa1f);}async[_0xc3cd37(0x1fa)](){const _0x465118=_0xc3cd37;for(const _0x4a2e43 of this[_0x465118(0x22a)][_0x465118(0x20a)]())await this[_0x465118(0x229)](_0x4a2e43);if(this[_0x465118(0x21d)]instanceof _0x54a25f){const _0x32861d=this[_0x465118(0x21d)][_0x465118(0x219)][_0x465118(0x1d7)](_0x465118(0x212)),_0x5f3e11=this[_0x465118(0x21d)][_0x465118(0x210)][_0x465118(0x1d7)](_0x45b3cc);_0x5f3e11[_0x465118(0x1e2)](_0x32861d);const _0x3b7ce7=await this[_0x465118(0x22a)][_0x465118(0x1d7)](_0x32861d)[_0x465118(0x222)]();_0x5f3e11[_0x465118(0x1ed)](_0x32861d,_0x3b7ce7);}}async[_0xc3cd37(0x229)](_0x47b780){const _0x281c1b=_0xc3cd37,{connection:_0x44852f}=this[_0x281c1b(0x21d)][_0x281c1b(0x210)][_0x281c1b(0x1d7)](_0x241bb3),_0x1ee9e2=this[_0x281c1b(0x21d)][_0x281c1b(0x210)][_0x281c1b(0x1d7)](_0x281c1b(0x238)),_0x52ea63=this[_0x281c1b(0x22a)][_0x281c1b(0x1d7)](_0x47b780),_0x2af88b=await _0x52ea63[_0x281c1b(0x1f4)](_0x44852f);await this[_0x281c1b(0x1dc)](_0x2af88b);const _0x2e2e8c=new Set(Array[_0x281c1b(0x202)](_0x1ee9e2[_0x281c1b(0x1e7)]({'channelId':_0x47b780}),_0x4b12b2=>_0x4b12b2['id']));for(const _0x411c48 of _0x2af88b)_0x411c48[_0x281c1b(0x1e8)]||_0x2e2e8c[_0x281c1b(0x236)](_0x411c48[_0x281c1b(0x215)]);for(const _0x22ce4f of _0x2e2e8c)_0x1ee9e2[_0x281c1b(0x1e5)](_0x22ce4f)[_0x281c1b(0x203)]({'isFromAdapter':!0x0});for(const _0x56c8e4 of _0x2af88b){let _0x24326e=_0x1ee9e2[_0x281c1b(0x1e5)](_0x56c8e4[_0x281c1b(0x215)]);const {commentThreadId:_0x48c3c4,context:_0x385873,attributes:_0x5f1785,resolvedBy:_0x5becf9,resolvedAt:_0x9569be,unlinkedAt:_0x1c3ce0,deletedAt:_0x55d40a}=_0x56c8e4;if(_0x55d40a)continue;_0x24326e||(_0x24326e=_0x1ee9e2[_0x281c1b(0x206)]({'channelId':_0x47b780,'threadId':_0x48c3c4,'context':_0x385873,'attributes':_0x5f1785||{},'resolvedBy':_0x5becf9,'resolvedAt':_0x9569be,'unlinkedAt':_0x1c3ce0,'isFromAdapter':!0x0}));const _0x38002f=new Set(Array[_0x281c1b(0x202)](_0x24326e[_0x281c1b(0x228)],_0x46dc2a=>_0x46dc2a['id']));for(const _0x434af8 of _0x56c8e4[_0x281c1b(0x228)])_0x38002f[_0x281c1b(0x236)](_0x434af8[_0x281c1b(0x1ec)]);for(const _0x1058c3 of _0x38002f)_0x24326e[_0x281c1b(0x227)](_0x1058c3)[_0x281c1b(0x203)]({'isFromAdapter':!0x0});for(const _0x5d9883 of _0x56c8e4[_0x281c1b(0x228)]){const _0x1d6fcf=_0x24326e[_0x281c1b(0x227)](_0x5d9883[_0x281c1b(0x1ec)]);_0x1d6fcf?_0x1d6fcf[_0x281c1b(0x22e)]!==_0x5d9883[_0x281c1b(0x22e)]&&_0x1d6fcf[_0x281c1b(0x22c)]({'content':_0x5d9883[_0x281c1b(0x22e)],'isFromAdapter':!0x0}):_0x24326e[_0x281c1b(0x23a)](Object[_0x281c1b(0x1d5)](S(_0x5d9883),{'isFromAdapter':!0x0}));}}}[_0xc3cd37(0x1db)](_0x197860){const _0x44e288=_0xc3cd37;if(!this[_0x44e288(0x22a)][_0x44e288(0x1f1)](_0x197860))throw new _0x4ab0b6(_0x44e288(0x221),null,{'channelId':_0x197860});return this[_0x44e288(0x22a)][_0x44e288(0x1d7)](_0x197860);}async[_0xc3cd37(0x1dc)](_0x3e8693){const _0x13dfcf=_0xc3cd37,_0x3be75d=this[_0x13dfcf(0x21d)][_0x13dfcf(0x210)][_0x13dfcf(0x1d7)](_0x4bdffb),{connection:_0x5eadf6}=this[_0x13dfcf(0x21d)][_0x13dfcf(0x210)][_0x13dfcf(0x1d7)](_0x241bb3),_0xa749ea=new Set();for(const {resolvedBy:_0x5e8c39,comments:_0x4ccf7a}of _0x3e8693){_0x5e8c39&&!_0x3be75d[_0x13dfcf(0x1df)](_0x5e8c39)&&_0xa749ea[_0x13dfcf(0x205)](_0x5e8c39);for(const {userId:_0x36268e}of _0x4ccf7a)_0x3be75d[_0x13dfcf(0x1df)](_0x36268e)||_0xa749ea[_0x13dfcf(0x205)](_0x36268e);}if(0x0===_0xa749ea[_0x13dfcf(0x1ef)])return;const _0x1163b0=await _0x37ec73[_0x13dfcf(0x1f6)](_0x5eadf6,Array[_0x13dfcf(0x202)](_0xa749ea));for(const _0x36cce7 of _0x1163b0)_0x3be75d[_0x13dfcf(0x1df)](_0x36cce7['id'])||_0x3be75d[_0x13dfcf(0x1fc)](_0x36cce7);}}function _0x180e(){const _0x1f0454=['24XGjzxI','cloudservicescommentsadapter-service-not-exist','getConnectedSessions','commentUpdated','destroy','authorId','cloudservicescommentsadapter-connect-already-connected','getComment','comments','_connectService','_services','requires','update','_terminateService','content','setPermissions','resolvedBy','isPremiumPlugin','off','_setUpService','userId','commentThreadAdded','delete','1081540HXsZxG','CommentsRepository','catch','addComment','pluginName','CloudServicesCommentsAdapter','assign','73oAHTDz','get','14088WCulZF','cloud-services-internal-error:\x20Request\x20timeout.','CommentsService','_getService','_fetchMissingUsersForThreads','set','isOfficialPlugin','getUser','sessionAdd:','startsWith','unregister','adapter','commentRemoved','getCommentThread','cloud-services-internal-error:\x20Not\x20connected.','getCommentThreads','deletedAt','removeComment','commentThreadReopened','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','commentId','register','permissions','size','code','has','createdAt','commentThreadRemoved','connect','12TOZyDc','getMany','attributes','message','commentThreadUpdated','reconnect','10JQYsBA','addUser','disconnect','init','resolvedAt','5519511DfMHei','13250736fxYkue','from','remove','reopen','add','addCommentThread','mySessionId','removeCommentThread','cloudservicescommentsadapter-disconnect-not-exist','keys','Permissions','404','3030335TtMHPb','2673986HjKBZH','updateComment','plugins','reopenCommentThread','collaboration.channelId','commentAdded','addToReconnectionStack','commentThreadId','map','20222liCCty','commentThreadResolved','config','resolveCommentThread','resolve','updateCommentThread','context','listenTo','339KRnsfv'];_0x180e=function(){return _0x1f0454;};return _0x180e();}async function F(_0x3048c0){const _0x283972=_0xc3cd37;if(_0x283972(0x20c)!==_0x3048c0[_0x283972(0x1f0)])throw _0x3048c0;}function k(_0x2559c6){const _0x3c5d9e=_0xc3cd37;if((_0x22ae81=_0x2559c6)[_0x3c5d9e(0x1f8)][_0x3c5d9e(0x1e1)](_0x3c5d9e(0x1eb))||_0x22ae81[_0x3c5d9e(0x1f8)][_0x3c5d9e(0x1e1)](_0x3c5d9e(0x1e6))||_0x22ae81[_0x3c5d9e(0x1f8)][_0x3c5d9e(0x1e1)](_0x3c5d9e(0x1d9)))return new Promise(()=>{});var _0x22ae81;throw _0x2559c6;}function S(_0x7d35d6){const _0x185aeb=_0xc3cd37;return{'threadId':_0x7d35d6[_0x185aeb(0x215)],'commentId':_0x7d35d6[_0x185aeb(0x1ec)],'content':_0x7d35d6[_0x185aeb(0x22e)],'createdAt':_0x7d35d6[_0x185aeb(0x1f2)],'authorId':_0x7d35d6[_0x185aeb(0x234)],'attributes':_0x7d35d6[_0x185aeb(0x1f7)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3a5a54=_0x160a;(function(_0x2a0bf6,_0x57cf03){const _0xfb9d84=_0x160a,_0x5f236a=_0x2a0bf6();while(!![]){try{const _0x1469aa=-parseInt(_0xfb9d84(0x17c))/0x1*(parseInt(_0xfb9d84(0x165))/0x2)+-parseInt(_0xfb9d84(0x15c))/0x3+-parseInt(_0xfb9d84(0x173))/0x4*(parseInt(_0xfb9d84(0x176))/0x5)+-parseInt(_0xfb9d84(0x17a))/0x6*(-parseInt(_0xfb9d84(0x164))/0x7)+-parseInt(_0xfb9d84(0x16c))/0x8*(parseInt(_0xfb9d84(0x15d))/0x9)+parseInt(_0xfb9d84(0x163))/0xa*(-parseInt(_0xfb9d84(0x177))/0xb)+-parseInt(_0xfb9d84(0x166))/0xc*(-parseInt(_0xfb9d84(0x16e))/0xd);if(_0x1469aa===_0x57cf03)break;else _0x5f236a['push'](_0x5f236a['shift']());}catch(_0x295094){_0x5f236a['push'](_0x5f236a['shift']());}}}(_0x1da3,0x39fdd));import{Plugin as _0x445d07}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x1385ec}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x1e06ee}from'./realtimecollaborativeediting.js';function _0x1da3(){const _0x4085e7=['connected','data','CommentsEditing','22716ptCmxt','requires','once','125NbWVze','319KUAxaS','change:state','RealTimeCollaborativeComments','735708WeHaJJ','listenTo','4916AFKlNo','Comments','_setUpService','config','plugins','editor','546846ZTCgJj','86742nKjEDt','isOfficialPlugin','isPremiumPlugin','pluginName','init','isThreadsLoadingPaused','108520DVGNBt','7TiyJpS','192uDuRel','72reWydc','get','ready','CommentsRepository','collaboration.channelId','switchReadOnly','80lRARzE','destroy','2864758nvqGPY','_terminateService'];_0x1da3=function(){return _0x4085e7;};return _0x1da3();}function _0x160a(_0x11360a,_0x235416){const _0x1da3db=_0x1da3();return _0x160a=function(_0x160a0a,_0x274ae7){_0x160a0a=_0x160a0a-0x159;let _0x400093=_0x1da3db[_0x160a0a];return _0x400093;},_0x160a(_0x11360a,_0x235416);}import{WebSocketGateway as _0x42415c}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x445d07{static get[_0x3a5a54(0x174)](){const _0x56f982=_0x3a5a54;return[_0x56f982(0x17d),_0x1385ec,_0x1e06ee,_0x42415c];}static get[_0x3a5a54(0x160)](){const _0x58127c=_0x3a5a54;return _0x58127c(0x179);}static get[_0x3a5a54(0x15e)](){return!0x0;}static get[_0x3a5a54(0x15f)](){return!0x0;}[_0x3a5a54(0x161)](){const _0x37051a=_0x3a5a54,_0x3c50a8=this[_0x37051a(0x15b)][_0x37051a(0x15a)][_0x37051a(0x167)](_0x42415c),_0x1b08fa=this[_0x37051a(0x15b)][_0x37051a(0x15a)][_0x37051a(0x167)](_0x37051a(0x172)),_0x28bd38=this[_0x37051a(0x15b)][_0x37051a(0x15a)][_0x37051a(0x167)](_0x1385ec);return this[_0x37051a(0x15b)][_0x37051a(0x171)][_0x37051a(0x175)](_0x37051a(0x168),()=>{const _0x1e49dd=_0x37051a;this[_0x1e49dd(0x17b)](_0x3c50a8,_0x1e49dd(0x178),(_0x3ad15b,_0x255f8a,_0x1b170f)=>{const _0x513b6d=_0x1e49dd;_0x1b08fa[_0x513b6d(0x162)]=_0x513b6d(0x170)!==_0x1b170f;});}),this[_0x37051a(0x17b)](_0x3c50a8,_0x37051a(0x178),(_0x1963b0,_0xe6b808,_0x33f7e9)=>{const _0x1272f9=_0x37051a;this[_0x1272f9(0x15b)][_0x1272f9(0x15a)][_0x1272f9(0x167)](_0x1272f9(0x169))[_0x1272f9(0x16b)](_0x1272f9(0x170)!==_0x33f7e9);}),_0x28bd38[_0x37051a(0x17e)](this[_0x37051a(0x15b)][_0x37051a(0x159)][_0x37051a(0x167)](_0x37051a(0x16a)));}[_0x3a5a54(0x16d)](){const _0x37e908=_0x3a5a54;this[_0x37e908(0x15b)][_0x37e908(0x15a)][_0x37e908(0x167)](_0x1385ec)[_0x37e908(0x16f)](this[_0x37e908(0x15b)][_0x37e908(0x159)][_0x37e908(0x167)](_0x37e908(0x16a))),super[_0x37e908(0x16d)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x502c3a)());[_0xae5d04(0x29a)];[_0xae5d04(0x1fe)];[_0xae5d04(0x1b3)];[_0xae5d04(0x21c)];[_0xae5d04(0x263)];[_0xae5d04(0x20d)];[_0xae5d04(0x24f)];[_0xae5d04(0x294)];[_0xae5d04(0x221)];[_0xae5d04(0x1c1)];[_0xae5d04(0x248)];[_0xae5d04(0x250)];[_0xae5d04(0x1f5)];[_0xae5d04(0x26f)];[_0xae5d04(0x1e9)];[_0xae5d04(0x23a)];[_0xae5d04(0x222)];[_0xae5d04(0x257)];static get[_0xae5d04(0x22c)](){return[_0x40c7a1,_0x15de0c,_0x37687c,_0x17ac66,_0xdb823b,_0x49998b];}static get[_0xae5d04(0x210)](){const _0x26250c=_0xae5d04;return _0x26250c(0x1e8);}static get[_0xae5d04(0x28b)](){return!0x0;}static get[_0xae5d04(0x1e2)](){return!0x0;}get[_0xae5d04(0x280)](){const _0x198ed2=_0xae5d04;return this[_0x198ed2(0x2b7)]+this[_0x198ed2(0x29a)];}get[_0xae5d04(0x2b7)](){const _0x539bb5=_0xae5d04;return this[_0x539bb5(0x1b3)][_0x539bb5(0x293)]-this[_0x539bb5(0x29a)];}get[_0xae5d04(0x227)](){const _0x525d72=_0xae5d04,_0x372c70=this[_0x525d72(0x1b3)][_0x525d72(0x20e)]();for(let _0x3e4a5e=_0x372c70[_0x525d72(0x1cc)]-0x1;_0x3e4a5e>=0x0;_0x3e4a5e--){const _0x4c3fa1=_0x372c70[_0x3e4a5e];if(!this[_0x525d72(0x222)][_0x525d72(0x25e)](_0x4c3fa1))return _0x4c3fa1[_0x525d72(0x284)]+0x1-this[_0x525d72(0x29a)];}return 0x0;}constructor(_0x27fe3f){const _0x3a2d86=_0xae5d04;if(super(_0x27fe3f),this[_0x3a2d86(0x29a)]=0x0,this[_0x3a2d86(0x1fe)]=null,this[_0x3a2d86(0x1b3)]=new _0x490248(),this[_0x3a2d86(0x243)][_0x3a2d86(0x1f7)][_0x3a2d86(0x29c)](_0x3a2d86(0x1d8),{}),this[_0x3a2d86(0x21c)]=this[_0x3a2d86(0x243)][_0x3a2d86(0x1f7)][_0x3a2d86(0x201)](_0x3a2d86(0x2ad)),!this[_0x3a2d86(0x21c)])throw new _0x1ccadc(_0x3a2d86(0x1b1),this);const _0x1545aa=_0x27fe3f[_0x3a2d86(0x1f7)][_0x3a2d86(0x201)](_0x3a2d86(0x22b))||_0x39eb69;this[_0x3a2d86(0x263)]=new RealTimeCollaborationClient[(_0x3a2d86(0x1d6))](_0x1545aa,this[_0x3a2d86(0x21c)]),this[_0x3a2d86(0x20d)]=this[_0x3a2d86(0x243)][_0x3a2d86(0x1bd)][_0x3a2d86(0x27e)],this[_0x3a2d86(0x24f)]=new _0x2307aa(),this[_0x3a2d86(0x294)]=[],this[_0x3a2d86(0x221)]=new WeakSet(),this[_0x3a2d86(0x1c1)]=new Set(),this[_0x3a2d86(0x24e)](_0x3a2d86(0x20b),!0x1),this[_0x3a2d86(0x24e)](_0x3a2d86(0x239),!0x1),this[_0x3a2d86(0x248)]=null,this[_0x3a2d86(0x250)]=!0x1,this[_0x3a2d86(0x1f5)]=null,this[_0x3a2d86(0x26f)]=0x12c,this[_0x3a2d86(0x1e9)]=this[_0x3a2d86(0x26f)],this[_0x3a2d86(0x23a)]=null,this[_0x3a2d86(0x222)]=new WeakSet(),this[_0x3a2d86(0x257)]=new J(this[_0x3a2d86(0x222)]);}[_0xae5d04(0x220)](){const _0x4e3921=_0xae5d04,_0x437a90=this[_0x4e3921(0x243)],_0x289ede=_0x437a90[_0x4e3921(0x208)][_0x4e3921(0x201)](_0xdb823b),_0x1eb045=_0x437a90[_0x4e3921(0x208)][_0x4e3921(0x201)](_0x40c7a1);this[_0x4e3921(0x268)](_0x289ede,_0x4e3921(0x273),(_0x5b1d3b,_0x3e6a63)=>{const _0x38c740=_0x4e3921,_0x401e3b=_0x3e6a63[0x0];_0x401e3b[_0x38c740(0x1c4)]&&(_0x5b1d3b[_0x38c740(0x1b2)]=_0x289ede[_0x38c740(0x224)](_0x401e3b[_0x38c740(0x1c4)]),_0x5b1d3b[_0x38c740(0x290)]()),null===_0x401e3b[_0x38c740(0x1c4)]&&(_0x5b1d3b[_0x38c740(0x1b2)]=null,_0x5b1d3b[_0x38c740(0x290)]());},{'priority':_0x4e3921(0x206)}),this[_0x4e3921(0x268)](_0x437a90[_0x4e3921(0x1bd)][_0x4e3921(0x27e)][_0x4e3921(0x1f4)],_0x4e3921(0x298),(_0x28399b,_0x17a3c8)=>{const _0x5f27f0=_0x4e3921;_0x17a3c8[_0x5f27f0(0x211)]&&this[_0x5f27f0(0x1b5)]();}),this[_0x4e3921(0x268)](_0x437a90[_0x4e3921(0x1f9)][_0x4e3921(0x1c8)],_0x4e3921(0x27b),()=>{const _0x544c63=_0x4e3921;this[_0x544c63(0x1b5)]();}),this[_0x4e3921(0x240)](),_0x437a90[_0x4e3921(0x1bd)]['on'](_0x4e3921(0x2ac),(_0xc8f4e0,_0x36750c)=>{const _0x232927=_0x4e3921,_0x2204b4=_0x36750c[0x0];_0x2204b4[_0x232927(0x223)]&&(this[_0x232927(0x1bf)](_0x2204b4),this[_0x232927(0x1e6)]()&&this[_0x232927(0x229)]());}),this[_0x4e3921(0x242)](),this[_0x4e3921(0x1fd)](_0x4e3921(0x214))['to'](_0x1eb045,_0x4e3921(0x21e),this,_0x4e3921(0x239),(_0x5d177a,_0x581846)=>_0x4e3921(0x299)===_0x5d177a&&!_0x581846),this['on'](_0x4e3921(0x1f0),()=>{const _0x5a1ad2=_0x4e3921;this[_0x5a1ad2(0x214)]?_0x437a90[_0x5a1ad2(0x1fc)](_0x5a1ad2(0x1ed)):_0x437a90[_0x5a1ad2(0x253)](_0x5a1ad2(0x1ed));}),this[_0x4e3921(0x214)]?_0x437a90[_0x4e3921(0x1fc)](_0x4e3921(0x1ed)):_0x437a90[_0x4e3921(0x253)](_0x4e3921(0x1ed)),this[_0x4e3921(0x24e)](_0x4e3921(0x2b1),!0x1);}async[_0xae5d04(0x1cd)](){const _0xb1d85c=_0xae5d04,_0x421abe=this[_0xb1d85c(0x243)][_0xb1d85c(0x208)][_0xb1d85c(0x201)](_0x15de0c),_0x41b515=this[_0xb1d85c(0x243)][_0xb1d85c(0x208)][_0xb1d85c(0x201)](_0x40c7a1);try{this[_0xb1d85c(0x20b)]=!0x0,_0x421abe[_0xb1d85c(0x1f8)](this[_0xb1d85c(0x21c)]);const _0x29e654=await this[_0xb1d85c(0x263)][_0xb1d85c(0x1cd)](_0x41b515[_0xb1d85c(0x204)],this[_0xb1d85c(0x227)]);await this[_0xb1d85c(0x1dd)](_0x29e654)&&(this[_0xb1d85c(0x20b)]=!0x1,this[_0xb1d85c(0x1d4)]());const _0x220c53=await this[_0xb1d85c(0x263)][_0xb1d85c(0x1ec)]();_0x421abe[_0xb1d85c(0x23e)](this[_0xb1d85c(0x21c)],_0x220c53),this[_0xb1d85c(0x289)](),this[_0xb1d85c(0x2b1)]=!0x0;}catch(_0x554f03){if(function(_0x50d859){const _0x57431f=_0xb1d85c;return _0x57431f(0x2a3)===_0x50d859[_0x57431f(0x2b5)];}(_0x554f03)&&this[_0xb1d85c(0x1fe)])await this[_0xb1d85c(0x1fa)]();else{if(function(_0x3333ea){const _0x476461=_0xb1d85c;return _0x476461(0x28d)===_0x3333ea[_0x476461(0x2b5)];}(_0x554f03)){const _0xcb75d4=_0x267250(this[_0xb1d85c(0x243)][_0xb1d85c(0x274)],_0xb1d85c(0x22a));this[_0xb1d85c(0x2a1)](_0xcb75d4);}else{if(!(_0x554f03 instanceof $))throw _0x554f03;this[_0xb1d85c(0x2a1)]();}}}}[_0xae5d04(0x252)](){const _0x1c48e7=_0xae5d04,_0x2d6bd6=this[_0x1c48e7(0x243)][_0x1c48e7(0x208)][_0x1c48e7(0x201)](_0x40c7a1),_0x63fb7e=this[_0x1c48e7(0x243)][_0x1c48e7(0x208)][_0x1c48e7(0x201)](_0x15de0c);this[_0x1c48e7(0x243)][_0x1c48e7(0x253)](_0x1c48e7(0x270)),_0x63fb7e[_0x1c48e7(0x236)][_0x1c48e7(0x25e)](this[_0x1c48e7(0x21c)])&&_0x63fb7e[_0x1c48e7(0x1f8)](this[_0x1c48e7(0x21c)]),_0x2d6bd6[_0x1c48e7(0x23d)](this),this[_0x1c48e7(0x26d)](),super[_0x1c48e7(0x252)]();}async[_0xae5d04(0x1dd)](_0x5c6ec9){const _0x1da294=_0xae5d04;if(this[_0x1da294(0x1fe)]!==_0x5c6ec9[_0x1da294(0x1fe)]&&this[_0x1da294(0x23a)]!==_0x5c6ec9[_0x1da294(0x1ce)])throw new $();return this[_0x1da294(0x1fe)]=_0x5c6ec9[_0x1da294(0x1fe)],this[_0x1da294(0x26b)]([],{..._0x5c6ec9,'wereChangesApplied':!0x1,'data':_0x5c6ec9[_0x1da294(0x27f)]},_0x1da294(0x1cd));}async[_0xae5d04(0x1d1)](_0x53b7a,_0x58bc1a=!0x1){const _0x1fa513=_0xae5d04,{connection:_0x19f3d4}=this[_0x1fa513(0x243)][_0x1fa513(0x208)][_0x1fa513(0x201)](_0x40c7a1);RealTimeCollaborationClient[_0x1fa513(0x1d6)][_0x1fa513(0x1ec)](_0x19f3d4,this[_0x1fa513(0x21c)])[_0x1fa513(0x2a0)](_0x32a857=>this[_0x1fa513(0x25f)](_0x32a857))[_0x1fa513(0x2b2)](_0x754a2c=>{const _0x414f78=_0x1fa513;this[_0x414f78(0x2a4)](_0x414f78(0x1ba),_0x754a2c);}),this[_0x1fa513(0x268)](this[_0x1fa513(0x263)],_0x1fa513(0x21d),this[_0x1fa513(0x28e)][_0x1fa513(0x1fd)](this)),this[_0x1fa513(0x268)](this[_0x1fa513(0x263)],_0x1fa513(0x256),(_0xaa21ac,_0x96ab06)=>{const _0x17e89c=_0x1fa513;this[_0x17e89c(0x2a4)](_0x17e89c(0x1e4),_0x96ab06);}),this[_0x1fa513(0x268)](this[_0x1fa513(0x263)],_0x1fa513(0x212),()=>{const _0x20c49f=_0x1fa513;this[_0x20c49f(0x2b1)]=!0x1;});const _0x5ce470=this[_0x1fa513(0x257)][_0x1fa513(0x21f)](_0x53b7a);this[_0x1fa513(0x20b)]=!0x0;const _0x274017=await this[_0x1fa513(0x263)][_0x1fa513(0x265)](_0x19f3d4,this[_0x1fa513(0x233)](_0x53b7a),_0x5ce470);if(this[_0x1fa513(0x1fe)]=_0x274017[_0x1fa513(0x1fe)],_0x58bc1a){if(!_0x274017[_0x1fa513(0x1db)])return void this[_0x1fa513(0x2a1)]();this[_0x1fa513(0x20b)]=!0x1,this[_0x1fa513(0x1d4)](),this[_0x1fa513(0x1b3)][_0x1fa513(0x1d5)](),this[_0x1fa513(0x29a)]=_0x274017[_0x1fa513(0x1e7)],this[_0x1fa513(0x1b3)][_0x1fa513(0x293)]=this[_0x1fa513(0x29a)],await this[_0x1fa513(0x26b)](_0x53b7a,_0x274017,_0x1fa513(0x260));}else await this[_0x1fa513(0x1da)](_0x274017,_0x53b7a);this[_0x1fa513(0x289)](),this[_0x1fa513(0x2b1)]=!0x0;}[_0xae5d04(0x289)](){const _0x23d04d=_0xae5d04,_0x575fd6=this[_0x23d04d(0x243)][_0x23d04d(0x208)][_0x23d04d(0x201)](_0x15de0c),_0x26e930=this[_0x23d04d(0x243)][_0x23d04d(0x208)][_0x23d04d(0x201)](_0x37687c),_0x22e646=_0x575fd6[_0x23d04d(0x236)][_0x23d04d(0x201)](this[_0x23d04d(0x21c)]);_0x22e646&&_0x22e646[_0x23d04d(0x1cc)]>0x1?_0x26e930[_0x23d04d(0x1dc)]():this[_0x23d04d(0x268)](_0x575fd6,_0x23d04d(0x205)+this[_0x23d04d(0x21c)],()=>{const _0x7f3a0d=_0x23d04d;0x2===_0x575fd6[_0x7f3a0d(0x236)][_0x7f3a0d(0x201)](this[_0x7f3a0d(0x21c)])[_0x7f3a0d(0x1cc)]&&_0x26e930[_0x7f3a0d(0x1dc)]();});}async[_0xae5d04(0x28e)](_0x4e7c2a,_0x57961b,_0x1e6ddd,_0x157d0f){const _0x47d1ba=_0xae5d04;if(!this[_0x47d1ba(0x20b)]&&this[_0x47d1ba(0x20d)][_0x47d1ba(0x293)]==_0x57961b){const _0x3636f9=this[_0x47d1ba(0x1d7)](_0x1e6ddd,_0x157d0f);await this[_0x47d1ba(0x23c)](_0x3636f9),this[_0x47d1ba(0x285)](_0x3636f9,_0x57961b,_0x1e6ddd[_0x47d1ba(0x1ce)])||this[_0x47d1ba(0x2a4)](_0x47d1ba(0x20f));}}async[_0xae5d04(0x1fa)](){const _0x237d3e=_0xae5d04;this[_0x237d3e(0x26d)]();const {locale:_0x2ac06f}=this[_0x237d3e(0x243)];let _0x4acc49;try{_0x4acc49=await this[_0x237d3e(0x263)][_0x237d3e(0x262)]();}catch{const _0x3379f6=_0x267250(_0x2ac06f,_0x237d3e(0x241));return void this[_0x237d3e(0x2a1)](_0x3379f6);}const _0x2f8e67=_0x4acc49[_0x237d3e(0x1df)]||_0x4acc49[_0x237d3e(0x237)];if(this[_0x237d3e(0x23a)]!==_0x2f8e67[_0x237d3e(0x1ce)]){const _0x5c34cb=_0x267250(_0x2ac06f,_0x237d3e(0x254));return void this[_0x237d3e(0x2a1)](_0x5c34cb);}await this[_0x237d3e(0x1d1)](this[_0x237d3e(0x243)][_0x237d3e(0x1bd)][_0x237d3e(0x27e)][_0x237d3e(0x1f3)][_0x237d3e(0x20e)](),!0x0);}[_0xae5d04(0x26d)](){const _0x2df982=_0xae5d04;this[_0x2df982(0x263)][_0x2df982(0x291)](),this[_0x2df982(0x294)]=[],clearTimeout(this[_0x2df982(0x1f5)]),this[_0x2df982(0x1f2)](this[_0x2df982(0x263)]);}[_0xae5d04(0x25f)](_0x206383){const _0x2a7b97=_0xae5d04,_0x228e63=this[_0x2a7b97(0x243)][_0x2a7b97(0x208)][_0x2a7b97(0x201)](_0x15de0c);this[_0x2a7b97(0x268)](_0x228e63,_0x2a7b97(0x205)+this[_0x2a7b97(0x21c)],(_0x246e01,{session:_0x54b8f8})=>{const _0x253e1f=_0x2a7b97;if(_0x54b8f8['id']===_0x228e63[_0x253e1f(0x1cf)]){_0x246e01[_0x253e1f(0x275)]();const _0x42b50c=this[_0x253e1f(0x243)][_0x253e1f(0x208)][_0x253e1f(0x25e)](_0x253e1f(0x26c))&&this[_0x253e1f(0x243)][_0x253e1f(0x208)][_0x253e1f(0x201)](_0x253e1f(0x26c));let _0x3dde81=_0x54b8f8[_0x253e1f(0x1ee)];_0x42b50c&&_0x42b50c[_0x253e1f(0x295)]&&(_0x3dde81=_0x3dde81[_0x253e1f(0x1d9)](_0x4417e4=>_0x253e1f(0x22d)!==_0x4417e4)),this[_0x253e1f(0x243)][_0x253e1f(0x208)][_0x253e1f(0x201)](_0x253e1f(0x1ca))[_0x253e1f(0x29d)](_0x3dde81,this[_0x253e1f(0x21c)]);}}),_0x228e63[_0x2a7b97(0x23e)](this[_0x2a7b97(0x21c)],_0x206383);}[_0xae5d04(0x240)](){const _0x58bdbb=_0xae5d04,_0x27dd0c=this[_0x58bdbb(0x243)][_0x58bdbb(0x27f)][_0x58bdbb(0x24e)];this[_0x58bdbb(0x243)][_0x58bdbb(0x27f)][_0x58bdbb(0x24e)]=(..._0x3b8e99)=>{const _0x3dfad6=_0x58bdbb;if(!_0x3b8e99[_0x3b8e99[_0x3dfad6(0x1cc)]-0x1][_0x3dfad6(0x1d3)])throw new _0x1ccadc(_0x3dfad6(0x1e3),this);_0x27dd0c[_0x3dfad6(0x23f)](this[_0x3dfad6(0x243)][_0x3dfad6(0x27f)],_0x3b8e99);};}[_0xae5d04(0x242)](){const _0x1fc008=_0xae5d04;this[_0x1fc008(0x243)][_0x1fc008(0x27f)]['on'](_0x1fc008(0x220),(_0x17c073,[_0x283d22])=>{const _0x529e0d=_0x1fc008;if(this[_0x529e0d(0x20d)][_0x529e0d(0x293)])throw new _0x1ccadc(_0x529e0d(0x2a2),this);_0x17c073[_0x529e0d(0x290)](),this[_0x529e0d(0x22f)]();const _0x413694=this[_0x529e0d(0x243)][_0x529e0d(0x1f7)][_0x529e0d(0x201)](_0x529e0d(0x286)),_0x17b52d=this[_0x529e0d(0x2aa)](_0x283d22,_0x413694);0x0==_0x17b52d[_0x529e0d(0x1cc)]&&_0x17b52d[_0x529e0d(0x2b6)](new _0x1d2a5b(0x0)),_0x17c073[_0x529e0d(0x1b2)]=this[_0x529e0d(0x1d1)](_0x17b52d)[_0x529e0d(0x2a0)](()=>{const _0x244a4c=_0x529e0d;this[_0x244a4c(0x243)][_0x244a4c(0x208)][_0x244a4c(0x201)](_0x40c7a1)[_0x244a4c(0x266)](this),this[_0x244a4c(0x243)][_0x244a4c(0x27f)][_0x244a4c(0x282)](_0x244a4c(0x1f1));})[_0x529e0d(0x2b2)](_0x2389cf=>this[_0x529e0d(0x2a4)](_0x529e0d(0x27d),_0x2389cf))[_0x529e0d(0x278)](()=>this[_0x529e0d(0x1d4)]());},{'priority':_0x1fc008(0x206)}),this[_0x1fc008(0x243)]['on'](_0x1fc008(0x271),async(_0x15a7f1,[_0x14548d,_0x4a40cc])=>{const _0x415ab9=_0x1fc008;_0x15a7f1[_0x415ab9(0x290)]();const _0x3c2207=this[_0x415ab9(0x243)][_0x415ab9(0x1bd)][_0x415ab9(0x27e)][_0x415ab9(0x21a)](_0x14548d);if(!this[_0x415ab9(0x1c1)][_0x415ab9(0x25e)](_0x14548d)){const _0x218d2d=_0x4a40cc&&_0x4a40cc[_0x415ab9(0x27f)]?_0x4a40cc[_0x415ab9(0x27f)]:'',_0xbe2f1f=_0x4a40cc&&_0x4a40cc[_0x415ab9(0x1f6)]?_0x4a40cc[_0x415ab9(0x1f6)]:{};await this[_0x415ab9(0x2ab)](_0x14548d,_0x218d2d,_0xbe2f1f);}this[_0x415ab9(0x243)][_0x415ab9(0x1bd)][_0x415ab9(0x281)]({'isUndoable':!0x1},()=>{const _0x5e6722=_0x415ab9;_0x3c2207[_0x5e6722(0x1b8)]=!0x0,this[_0x5e6722(0x243)][_0x5e6722(0x1bd)][_0x5e6722(0x27e)][_0x5e6722(0x24b)][_0x5e6722(0x209)](_0x3c2207);});},{'priority':_0x1fc008(0x206)});}async[_0xae5d04(0x23c)](_0xa945e8){const _0x4988fe=_0xae5d04,_0x17ba62=this[_0x4988fe(0x243)][_0x4988fe(0x208)][_0x4988fe(0x201)](_0xdb823b),{connection:_0x55e69a}=this[_0x4988fe(0x243)][_0x4988fe(0x208)][_0x4988fe(0x201)](_0x40c7a1),_0x2dd066=new Set();for(const _0x4a2301 of _0xa945e8){const _0x4cb678=_0x4a2301[_0x4988fe(0x1c4)];_0x4cb678&&!_0x17ba62[_0x4988fe(0x224)](_0x4cb678)&&_0x2dd066[_0x4988fe(0x2b0)](_0x4cb678);}if(0x0===_0x2dd066[_0x4988fe(0x1bb)])return;const _0x2af212=await _0x3e4434[_0x4988fe(0x296)](_0x55e69a,Array[_0x4988fe(0x25b)](_0x2dd066));for(const _0x1a3ad8 of _0x2af212)_0x17ba62[_0x4988fe(0x224)](_0x1a3ad8['id'])||_0x17ba62[_0x4988fe(0x297)](_0x1a3ad8);}[_0xae5d04(0x2aa)](_0x2d2af0,_0x1d2e54={}){const _0x2611c9=_0xae5d04,_0x1711a6=this[_0x2611c9(0x243)][_0x2611c9(0x1bd)],_0x2e5eff=[];let _0x582368=0x0;const _0x59c384=_0x2611c9(0x215)==typeof _0x2d2af0?{'main':_0x2d2af0}:_0x2d2af0;for(const _0x181c64 of Object[_0x2611c9(0x28c)](_0x59c384)){if(!this[_0x2611c9(0x20d)][_0x2611c9(0x277)][_0x2611c9(0x25e)](_0x181c64))throw new _0x1ccadc(_0x2611c9(0x1b7),this);const _0x449ec5=this[_0x2611c9(0x243)][_0x2611c9(0x27f)][_0x2611c9(0x276)](_0x59c384[_0x181c64]),_0x2aea24=this[_0x2611c9(0x20d)][_0x2611c9(0x21a)](_0x181c64),_0x3fdf58=new _0x18a46c(_0x1711a6[_0x2611c9(0x292)](_0x2aea24,0x0),_0x449ec5,_0x582368++);_0x2e5eff[_0x2611c9(0x2b6)](_0x3fdf58);for(const [_0x557097,_0x24edb0]of _0x449ec5[_0x2611c9(0x28a)]){const _0x339105=_0x1711a6[_0x2611c9(0x1fb)](_0x1711a6[_0x2611c9(0x1d0)](_0x2aea24,_0x24edb0[_0x2611c9(0x1ff)][_0x2611c9(0x200)][_0x2611c9(0x228)]()),_0x1711a6[_0x2611c9(0x1d0)](_0x2aea24,_0x24edb0[_0x2611c9(0x203)][_0x2611c9(0x200)][_0x2611c9(0x228)]())),_0x3f7dc3=new _0x4941be(_0x557097,null,_0x339105,_0x1711a6[_0x2611c9(0x28a)],!0x0,_0x582368++);_0x2e5eff[_0x2611c9(0x2b6)](_0x3f7dc3);}}if(_0x1d2e54)for(const [_0x5e1a1b,_0x5bcbe6]of Object[_0x2611c9(0x2ae)](_0x1d2e54)){const _0x55d531=_0x1711a6[_0x2611c9(0x27e)][_0x2611c9(0x21a)](_0x5e1a1b);if(!_0x55d531)throw new _0x1ccadc(_0x2611c9(0x202),null);for(const [_0xdf4dbd,_0x310fdf]of Object[_0x2611c9(0x2ae)](_0x5bcbe6))if(null!==_0x310fdf){const _0x581c6=new _0x59ce1b(_0x55d531,_0xdf4dbd,null,_0x310fdf,_0x582368++);_0x2e5eff[_0x2611c9(0x2b6)](_0x581c6);}}return _0x2e5eff;}async[_0xae5d04(0x2ab)](_0x42e5f0,_0x2142b1,_0x11cba5){const _0x1ae817=_0xae5d04;this[_0x1ae817(0x2aa)]({[_0x42e5f0]:_0x2142b1},{[_0x42e5f0]:_0x11cba5})[_0x1ae817(0x216)]((_0xc5f5c2,_0x55541f)=>{const _0x88d3e=_0x1ae817;_0xc5f5c2[_0x88d3e(0x284)]=this[_0x88d3e(0x20d)][_0x88d3e(0x293)]+_0x55541f,_0xc5f5c2[_0x88d3e(0x1c3)]=!0x0,this[_0x88d3e(0x1bf)](_0xc5f5c2);}),this[_0x1ae817(0x229)](),await this[_0x1ae817(0x272)]();}async[_0xae5d04(0x1da)](_0x15357e,_0x2faf6e){const _0x4b26ab=_0xae5d04;let _0x4006db;this[_0x4b26ab(0x29a)]=_0x15357e[_0x4b26ab(0x1e7)];const _0x33b8c3=_0x15357e[_0x4b26ab(0x1db)]&&!_0x15357e[_0x4b26ab(0x1c5)],_0x14eb3e=_0x33b8c3?0x0:_0x15357e[_0x4b26ab(0x27f)][_0x4b26ab(0x284)];if(_0x2faf6e[_0x4b26ab(0x216)](_0x3fe791=>{const _0x26dbf1=_0x4b26ab;_0x3fe791[_0x26dbf1(0x1c3)]=!0x0,_0x3fe791[_0x26dbf1(0x230)]=_0x15357e[_0x26dbf1(0x226)],_0x3fe791[_0x26dbf1(0x1c4)]=null;}),_0x33b8c3)_0x4006db=_0x2faf6e,this[_0x4b26ab(0x25a)](_0x4006db,_0x33b8c3);else{if(_0x15357e[_0x4b26ab(0x1c5)]){const _0x9638c3=this[_0x4b26ab(0x2aa)](_0x15357e[_0x4b26ab(0x1c5)]);this[_0x4b26ab(0x20d)][_0x4b26ab(0x1f3)][_0x4b26ab(0x293)]=-_0x9638c3[_0x4b26ab(0x1cc)],_0x9638c3[_0x4b26ab(0x216)](_0x5642c5=>{const _0x2fd8b2=_0x4b26ab;_0x5642c5[_0x2fd8b2(0x284)]-=_0x9638c3[_0x2fd8b2(0x1cc)],_0x5642c5[_0x2fd8b2(0x230)]=_0x15357e[_0x2fd8b2(0x226)],_0x5642c5[_0x2fd8b2(0x1c3)]=!0x0,_0x5642c5[_0x2fd8b2(0x1c4)]=null;}),this[_0x4b26ab(0x25a)](_0x9638c3,!0x0),this[_0x4b26ab(0x1b3)][_0x4b26ab(0x293)]=-_0x9638c3[_0x4b26ab(0x1cc)]+this[_0x4b26ab(0x29a)],this[_0x4b26ab(0x1c0)](_0x9638c3);}this[_0x4b26ab(0x20d)][_0x4b26ab(0x1f3)][_0x4b26ab(0x293)]=_0x14eb3e,_0x4006db=this[_0x4b26ab(0x1d7)](_0x15357e[_0x4b26ab(0x27f)],_0x15357e[_0x4b26ab(0x234)]),await this[_0x4b26ab(0x23c)](_0x4006db),this[_0x4b26ab(0x25a)](_0x4006db,_0x33b8c3);}_0x15357e[_0x4b26ab(0x1ce)]&&(this[_0x4b26ab(0x257)][_0x4b26ab(0x231)](_0x4006db,_0x15357e[_0x4b26ab(0x1ce)]),this[_0x4b26ab(0x23a)]=_0x15357e[_0x4b26ab(0x1ce)]),this[_0x4b26ab(0x1b3)][_0x4b26ab(0x293)]=_0x14eb3e+this[_0x4b26ab(0x29a)],this[_0x4b26ab(0x1c0)](_0x4006db),_0x2faf6e[_0x4b26ab(0x1d9)](_0xec158a=>{const _0x2cc321=_0x4b26ab,_0x5c6dfe=this[_0x2cc321(0x232)](_0xec158a);return _0x5c6dfe&&!this[_0x2cc321(0x1c1)][_0x2cc321(0x25e)](_0x5c6dfe);})[_0x4b26ab(0x216)]((_0x2e89a4,_0x581231)=>{const _0x57401e=_0x4b26ab;_0x2e89a4[_0x57401e(0x284)]=this[_0x57401e(0x20d)][_0x57401e(0x293)]+_0x581231,this[_0x57401e(0x1bf)](_0x2e89a4);}),this[_0x4b26ab(0x1e6)]()?(this[_0x4b26ab(0x1e9)]=0x0,this[_0x4b26ab(0x229)](!0x0),await this[_0x4b26ab(0x272)]()):(this[_0x4b26ab(0x20b)]=!0x1,this[_0x4b26ab(0x1d4)]());}[_0xae5d04(0x2a4)](_0x51e4e0,_0x5b2148){const _0x583787=_0xae5d04,_0x16a5ba=_0x5b2148&&_0x5b2148[_0x583787(0x1d2)];if(_0x16a5ba&&_0x16a5ba[_0x583787(0x28f)](_0x583787(0x20a)))throw _0x5b2148;const _0xe3eaf1=this[_0x583787(0x243)][_0x583787(0x208)][_0x583787(0x201)](_0x40c7a1);throw this[_0x583787(0x20b)]=!0x0,_0xe3eaf1[_0x583787(0x291)](),this[_0x583787(0x243)][_0x583787(0x253)](_0x583787(0x29b)),new _0x1ccadc(_0x51e4e0,this[_0x583787(0x243)],_0x16a5ba?{'originalError':_0x16a5ba}:void 0x0);}[_0xae5d04(0x1bf)](_0x54b54b){const _0x11df2b=_0xae5d04;this[_0x11df2b(0x221)][_0x11df2b(0x25e)](_0x54b54b)||(this[_0x11df2b(0x221)][_0x11df2b(0x2b0)](_0x54b54b),this[_0x11df2b(0x294)][_0x11df2b(0x2b6)](_0x54b54b),this[_0x11df2b(0x248)]||_0x11df2b(0x1b6)==_0x54b54b[_0x11df2b(0x1be)]&&!_0x54b54b[_0x11df2b(0x264)]||this[_0x11df2b(0x22f)]());}[_0xae5d04(0x229)](_0x4c7d26=!0x1){const _0x2c71b8=_0xae5d04;!_0x4c7d26&&this[_0x2c71b8(0x20b)]||(this[_0x2c71b8(0x20b)]=!0x0,clearTimeout(this[_0x2c71b8(0x1f5)]),this[_0x2c71b8(0x1f5)]=setTimeout(()=>{const _0xdd24c7=_0x2c71b8;this[_0xdd24c7(0x1b9)]()[_0xdd24c7(0x2a0)](_0x4000c2=>{const _0x1e2637=_0xdd24c7;_0x4000c2&&(this[_0x1e2637(0x1d4)](),this[_0x1e2637(0x20b)]=!0x1);})[_0xdd24c7(0x2b2)](_0x4e38c7=>{const _0x21198f=_0xdd24c7;this[_0x21198f(0x1d4)](),this[_0x21198f(0x20b)]=!0x1,function(_0x11652a){const _0x2d6609=_0x21198f;return _0x11652a[_0x2d6609(0x1d2)][_0x2d6609(0x28f)](_0x2d6609(0x23b))||_0x11652a[_0x2d6609(0x1d2)][_0x2d6609(0x28f)](_0x2d6609(0x261))||_0x11652a[_0x2d6609(0x1d2)][_0x2d6609(0x28f)](_0x2d6609(0x25d));}(_0x4e38c7)||this[_0x21198f(0x2a4)](_0x4e38c7[_0x21198f(0x1d2)],_0x4e38c7);});},this[_0x2c71b8(0x1e9)]));}[_0xae5d04(0x272)](){return new Promise(_0xb08141=>{const _0x45f6da=_0x53ec;this['on'](_0x45f6da(0x219),()=>{_0xb08141();});});}async[_0xae5d04(0x1b9)](){const _0x488dfb=_0xae5d04,_0x19fb11=this[_0x488dfb(0x243)][_0x488dfb(0x208)][_0x488dfb(0x201)](_0x37687c);if(this[_0x488dfb(0x225)]()&&(_0x19fb11[_0x488dfb(0x1dc)](),this[_0x488dfb(0x250)]=!0x1),!this[_0x488dfb(0x1e6)]())return!0x0;const _0x539500=[...this[_0x488dfb(0x294)]];for(const _0x5517b5 of _0x539500)_0x5517b5[_0x488dfb(0x21b)]=this[_0x488dfb(0x20d)][_0x488dfb(0x1f3)][_0x488dfb(0x249)](_0x5517b5);const _0x11b096=this[_0x488dfb(0x257)][_0x488dfb(0x21f)](_0x539500),_0x22b521=G++,_0x12a228=this[_0x488dfb(0x233)](_0x539500),_0x3c9ad8=await this[_0x488dfb(0x263)][_0x488dfb(0x1e0)](_0x12a228,_0x12a228[_0x488dfb(0x284)],_0x11b096);try{return await this[_0x488dfb(0x26b)](_0x539500,_0x3c9ad8,_0x22b521);}catch(_0x1cb206){return this[_0x488dfb(0x2a4)](_0x488dfb(0x1c7),_0x1cb206);}}async[_0xae5d04(0x26b)](_0x53edba,_0x23cff3,_0x55b693){const _0x175891=_0xae5d04;if(_0x175891(0x256)in _0x23cff3)throw _0x23cff3[_0x175891(0x256)];let _0x3eb3f9=!0x1;if(_0x23cff3[_0x175891(0x1db)]){_0x23cff3[_0x175891(0x1ce)]&&(this[_0x175891(0x23a)]=_0x23cff3[_0x175891(0x1ce)]),this[_0x175891(0x294)]=this[_0x175891(0x294)][_0x175891(0x1d9)](_0x4e9ccb=>!_0x53edba[_0x175891(0x2b4)](_0x4e9ccb));for(const _0x451cc4 of _0x53edba)_0x451cc4[_0x175891(0x230)]=_0x175891(0x259)in _0x23cff3&&_0x23cff3[_0x175891(0x259)]||void 0x0;K(_0x53edba,_0x23cff3[_0x175891(0x293)]-_0x53edba[_0x175891(0x1cc)]),this[_0x175891(0x1c0)](_0x53edba);const _0x2f21ee=_0x53edba[_0x175891(0x1d9)](_0x379bb1=>{const _0x4ce54b=_0x175891;if(!_0x379bb1[_0x4ce54b(0x1c3)])return!0x1;const _0x4a13c6=this[_0x4ce54b(0x232)](_0x379bb1);return _0x4a13c6&&!this[_0x4ce54b(0x1c1)][_0x4ce54b(0x25e)](_0x4a13c6);});K(_0x2f21ee,this[_0x175891(0x20d)][_0x175891(0x293)]),this[_0x175891(0x25a)](_0x2f21ee),_0x3eb3f9=!0x0,this[_0x175891(0x1e9)]=this[_0x175891(0x26f)];}else{const _0xc9382c=this[_0x175891(0x1d7)](_0x23cff3[_0x175891(0x27f)],_0x23cff3[_0x175891(0x234)])[_0x175891(0x1d9)](_0xe9bbc2=>_0xe9bbc2[_0x175891(0x284)]>=this[_0x175891(0x2b7)]);_0xc9382c[_0x175891(0x216)](_0x39a785=>this[_0x175891(0x218)](_0x39a785)),this[_0x175891(0x294)]=this[_0x175891(0x294)][_0x175891(0x1d9)](_0x5750f7=>!_0x5750f7[_0x175891(0x1c3)]||!this[_0x175891(0x1c1)][_0x175891(0x25e)](this[_0x175891(0x232)](_0x5750f7))),this[_0x175891(0x294)][_0x175891(0x1cc)]&&K(this[_0x175891(0x294)],this[_0x175891(0x294)][0x0][_0x175891(0x284)]),await this[_0x175891(0x23c)](_0xc9382c),_0x3eb3f9=this[_0x175891(0x285)](_0xc9382c,_0x23cff3[_0x175891(0x293)],_0x23cff3[_0x175891(0x1ce)]),this[_0x175891(0x1e9)]=Math[_0x175891(0x1de)](this[_0x175891(0x1e9)]/0x2);}return _0x3eb3f9?!this[_0x175891(0x1e6)]()||(this[_0x175891(0x229)](!0x0),!0x1):this[_0x175891(0x2a4)](_0x175891(0x235));}[_0xae5d04(0x285)](_0x460769,_0x3b6370,_0x546269){const _0x5f0424=_0xae5d04;try{const _0xd0a245={'document':this[_0x5f0424(0x20d)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3e4fb4,operationsB:_0x267f9f,originalOperations:_0x1ec8d8}=_0x12954f(_0x460769,this[_0x5f0424(0x294)],_0xd0a245);K(_0x3e4fb4,this[_0x5f0424(0x20d)][_0x5f0424(0x293)]),K(_0x267f9f,_0x3b6370);for(const _0x14201b of _0x3e4fb4){const _0x5c9d40=_0x1ec8d8[_0x5f0424(0x201)](_0x14201b);_0x14201b[_0x5f0424(0x1c4)]=_0x5c9d40?_0x5c9d40[_0x5f0424(0x1c4)]:null;}_0x546269&&(this[_0x5f0424(0x257)][_0x5f0424(0x231)](_0x460769,_0x546269),this[_0x5f0424(0x23a)]=_0x546269),this[_0x5f0424(0x294)]=[..._0x267f9f],this[_0x5f0424(0x25a)](_0x3e4fb4),this[_0x5f0424(0x1c0)](_0x460769);}catch(_0x5c60df){return console[_0x5f0424(0x256)](_0x5c60df),!0x1;}return!0x0;}[_0xae5d04(0x25a)](_0x296b45,_0x3d9135=!0x1){const _0x24e913=_0xae5d04;this[_0x24e913(0x243)][_0x24e913(0x1bd)][_0x24e913(0x281)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4f20f4=>{const _0x272496=_0x24e913;for(const _0x14e2fe of _0x296b45)this[_0x272496(0x221)][_0x272496(0x2b0)](_0x14e2fe),this[_0x272496(0x218)](_0x14e2fe),_0x4f20f4[_0x272496(0x245)][_0x272496(0x27a)](_0x14e2fe),this[_0x272496(0x243)][_0x272496(0x1bd)][_0x272496(0x2ac)](_0x14e2fe);});}[_0xae5d04(0x218)](_0x59482f){const _0x2c64d6=_0xae5d04,_0x17324c=this[_0x2c64d6(0x232)](_0x59482f);_0x17324c&&this[_0x2c64d6(0x1c1)][_0x2c64d6(0x2b0)](_0x17324c);}[_0xae5d04(0x232)](_0x5bd2e4){const _0x16c7a6=_0xae5d04;let _0x334bb7,_0x257252;switch(_0x5bd2e4[_0x16c7a6(0x1be)]){case _0x16c7a6(0x1bc):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x2a8)][_0x16c7a6(0x29f)];break;case _0x16c7a6(0x1b6):if(_0x257252=_0x5bd2e4[_0x16c7a6(0x2a9)],!_0x257252)return null;_0x334bb7=_0x257252[_0x16c7a6(0x29f)];break;case _0x16c7a6(0x26e):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x29f)];break;case _0x16c7a6(0x1c2):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x213)];break;case _0x16c7a6(0x255):_0x334bb7=_0x5bd2e4[_0x16c7a6(0x246)][_0x16c7a6(0x29f)];break;default:return null;}return _0x334bb7[_0x16c7a6(0x247)];}[_0xae5d04(0x1c0)](_0x2c54c7){const _0x4969e6=_0xae5d04;_0x2c54c7[_0x4969e6(0x216)](_0x401ba0=>{const _0x5ed543=_0x4969e6,_0x33f09a=_0x401ba0[_0x5ed543(0x217)]();_0x33f09a[_0x5ed543(0x1c4)]=_0x401ba0[_0x5ed543(0x1c4)],_0x33f09a[_0x5ed543(0x1c3)]=!!_0x401ba0[_0x5ed543(0x1c3)],_0x33f09a[_0x5ed543(0x230)]=_0x401ba0[_0x5ed543(0x230)],_0x33f09a[_0x5ed543(0x284)]+=this[_0x5ed543(0x29a)],_0x401ba0[_0x5ed543(0x27c)]&&this[_0x5ed543(0x222)][_0x5ed543(0x2b0)](_0x33f09a),this[_0x5ed543(0x1b3)][_0x5ed543(0x27a)](_0x33f09a);});}[_0xae5d04(0x2a1)](_0x9d9531){const _0x223857=_0xae5d04,_0x4c6bf8=this[_0x223857(0x243)][_0x223857(0x208)][_0x223857(0x201)](_0x223857(0x25c)),_0x300d23=this[_0x223857(0x243)][_0x223857(0x274)];_0x9d9531||(_0x9d9531=_0x267250(_0x300d23,_0x223857(0x24c))),_0x4c6bf8[_0x223857(0x1c6)](_0x9d9531,{'title':_0x267250(_0x300d23,_0x223857(0x2a5)),'namespace':_0x223857(0x238)}),this[_0x223857(0x239)]=!0x0,clearTimeout(this[_0x223857(0x1f5)]),this[_0x223857(0x294)]=[],this[_0x223857(0x243)][_0x223857(0x208)][_0x223857(0x201)](_0x40c7a1)[_0x223857(0x291)]();}[_0xae5d04(0x22f)](){const _0x43e269=_0xae5d04;this[_0x43e269(0x248)]||(this[_0x43e269(0x248)]=this[_0x43e269(0x243)][_0x43e269(0x208)][_0x43e269(0x201)](_0x17ac66)[_0x43e269(0x2b0)](_0x267250(this[_0x43e269(0x243)][_0x43e269(0x274)],_0x43e269(0x207))));}[_0xae5d04(0x1d4)](){const _0xf0695=_0xae5d04;this[_0xf0695(0x248)]&&(this[_0xf0695(0x243)][_0xf0695(0x208)][_0xf0695(0x201)](_0x17ac66)[_0xf0695(0x1b4)](this[_0xf0695(0x248)]),this[_0xf0695(0x248)]=null);}[_0xae5d04(0x233)](_0x18e967){const _0x21f2f6=_0xae5d04,_0x201be0=_0x18e967[_0x21f2f6(0x251)](_0x523b69=>_0x523b69[_0x21f2f6(0x24d)]());return this[_0x21f2f6(0x24f)][_0x21f2f6(0x2b3)](_0x201be0);}[_0xae5d04(0x1d7)](_0x48269b,_0x2dac56){const _0x38e333=_0xae5d04;return this[_0x38e333(0x24f)][_0x38e333(0x29e)](_0x48269b)[_0x38e333(0x251)]((_0x56dfe6,_0x29a0c9)=>{const _0x94cea4=_0x38e333,_0x46207d=_0x94cea4(0x220)==_0x2dac56[_0x29a0c9][_0x94cea4(0x1be)];if(_0x94cea4(0x1e5)==_0x56dfe6[_0x94cea4(0x24a)]){const _0x2a7db1=_0x56dfe6[_0x94cea4(0x2a8)][_0x94cea4(0x29f)];!this[_0x94cea4(0x20d)][_0x94cea4(0x21a)](_0x2a7db1)&&(this[_0x94cea4(0x20d)][_0x94cea4(0x244)](_0x94cea4(0x22e),_0x2a7db1)[_0x94cea4(0x2a7)]=!0x1);}const _0x579bb5=_0x363f33[_0x94cea4(0x1e1)](_0x56dfe6,this[_0x94cea4(0x20d)]);return _0x579bb5[_0x94cea4(0x21b)]=_0x56dfe6[_0x94cea4(0x21b)],_0x579bb5[_0x94cea4(0x1c3)]=_0x46207d,_0x579bb5[_0x94cea4(0x1c4)]=_0x46207d?null:_0x2dac56[_0x29a0c9][_0x94cea4(0x1c9)],_0x579bb5[_0x94cea4(0x27c)]=_0x94cea4(0x1ef)===_0x2dac56[_0x29a0c9][_0x94cea4(0x1be)],_0x579bb5[_0x94cea4(0x230)]=_0x2dac56[_0x29a0c9][_0x94cea4(0x230)],_0x579bb5;});}[_0xae5d04(0x1b5)](){const _0xbac294=_0xae5d04;this[_0xbac294(0x250)]=!0x0,this[_0xbac294(0x225)]()?this[_0xbac294(0x229)]():this[_0xbac294(0x250)]=!0x1;}[_0xae5d04(0x225)](){const _0x4da7b8=_0xae5d04,_0x903dae=this[_0x4da7b8(0x243)][_0x4da7b8(0x208)][_0x4da7b8(0x201)](_0x15de0c)[_0x4da7b8(0x236)][_0x4da7b8(0x201)](this[_0x4da7b8(0x21c)]);return!this[_0x4da7b8(0x243)][_0x4da7b8(0x1eb)]&&!!_0x903dae&&_0x903dae[_0x4da7b8(0x1cc)]>0x1&&this[_0x4da7b8(0x250)];}[_0xae5d04(0x1e6)](){const _0x49def1=_0xae5d04;return this[_0x49def1(0x294)][_0x49def1(0x1cc)]>0x0||this[_0x49def1(0x225)]();}}class $ extends Error{}function K(_0x290962,_0x379039){const _0x10edb9=_0xae5d04;for(const _0x2a7f79 of _0x290962)_0x2a7f79[_0x10edb9(0x284)]=_0x379039++;}class J{[_0xae5d04(0x287)];[_0xae5d04(0x1ea)];constructor(_0x1b2e56){const _0x5704b3=_0xae5d04;this[_0x5704b3(0x287)]=_0x1b2e56,this[_0x5704b3(0x1ea)]=new WeakMap();}[_0xae5d04(0x21f)](_0x21fd54){const _0x5e5795=_0xae5d04;let _0x4e5644=_0x21fd54[_0x5e5795(0x1cc)];for(;_0x4e5644--;){const _0x196394=_0x21fd54[_0x4e5644];if(!this[_0x5e5795(0x287)][_0x5e5795(0x25e)](_0x196394)){if(!this[_0x5e5795(0x1ea)][_0x5e5795(0x25e)](_0x196394)){const _0x3ca47e=_0x56aaff()[_0x5e5795(0x228)](0x1,0x12);this[_0x5e5795(0x1ea)][_0x5e5795(0x24e)](_0x196394,_0x3ca47e);}return this[_0x5e5795(0x1ea)][_0x5e5795(0x201)](_0x196394);}}}[_0xae5d04(0x231)](_0xb57ba2,_0x582cd4){const _0x44edc1=_0xae5d04;if(!_0x582cd4)return;let _0x3160ba=_0xb57ba2[_0x44edc1(0x1cc)];for(;_0x3160ba--;){const _0x268ca0=_0xb57ba2[_0x3160ba];this[_0x44edc1(0x287)][_0x44edc1(0x25e)](_0x268ca0)||this[_0x44edc1(0x1ea)][_0x44edc1(0x24e)](_0x268ca0,_0x582cd4);}}}
|
|
23
|
+
const _0x58dff2=_0x3386;(function(_0x56e72c,_0x2687d7){const _0x6ae910=_0x3386,_0x381836=_0x56e72c();while(!![]){try{const _0x295a98=-parseInt(_0x6ae910(0x251))/0x1*(-parseInt(_0x6ae910(0x278))/0x2)+-parseInt(_0x6ae910(0x2ca))/0x3+parseInt(_0x6ae910(0x22a))/0x4+parseInt(_0x6ae910(0x27c))/0x5*(-parseInt(_0x6ae910(0x21d))/0x6)+parseInt(_0x6ae910(0x292))/0x7+parseInt(_0x6ae910(0x22b))/0x8+parseInt(_0x6ae910(0x20c))/0x9*(-parseInt(_0x6ae910(0x229))/0xa);if(_0x295a98===_0x2687d7)break;else _0x381836['push'](_0x381836['shift']());}catch(_0x510bc2){_0x381836['push'](_0x381836['shift']());}}}(_0x4b0e,0x9baee));import{Plugin as _0x284eb5,PendingActions as _0x10b427}from'ckeditor5/src/core.js';import{CKEditorError as _0x11fd2e,version as _0x336b80,uid as _0x57d00d}from'ckeditor5/src/utils.js';import{Notification as _0x3728da}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x452290,NoOperation as _0x29f1dd,InsertOperation as _0xc2366d,MarkerOperation as _0x236d07,RootAttributeOperation as _0x2de7fc,OperationFactory as _0x2d84da,History as _0x5a0430}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x44585b}from'./websocketgateway.js';import{Sessions as _0x44807a}from'./sessions.js';import{UserMarkers as _0x5958b7}from'./usermarkers.js';import{getTranslation as _0x54aceb}from'../common-translations.js';import{Compressor as _0x4717b8}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x694ec4}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x485e81,CollaborativeEditingService as _0x8f9b5b}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x3386(_0x22ee57,_0x3536c0){const _0x4b0ee1=_0x4b0e();return _0x3386=function(_0x338663,_0x30a97b){_0x338663=_0x338663-0x1d8;let _0x11a4c7=_0x4b0ee1[_0x338663];return _0x11a4c7;},_0x3386(_0x22ee57,_0x3536c0);}let K=0x1;export class RealTimeCollaborationClient extends _0x284eb5{static [_0x58dff2(0x285)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x8f9b5b)());[_0x58dff2(0x270)];[_0x58dff2(0x253)];[_0x58dff2(0x2b8)];[_0x58dff2(0x275)];[_0x58dff2(0x29c)];[_0x58dff2(0x280)];[_0x58dff2(0x2c9)];[_0x58dff2(0x2d3)];[_0x58dff2(0x24c)];[_0x58dff2(0x276)];[_0x58dff2(0x284)];[_0x58dff2(0x2c0)];[_0x58dff2(0x2a0)];[_0x58dff2(0x2af)];[_0x58dff2(0x24a)];[_0x58dff2(0x234)];[_0x58dff2(0x2cc)];[_0x58dff2(0x27b)];static get[_0x58dff2(0x258)](){return[_0x44585b,_0x44807a,_0x5958b7,_0x10b427,_0x694ec4,_0x3728da];}static get[_0x58dff2(0x1ed)](){const _0x14e302=_0x58dff2;return _0x14e302(0x20f);}static get[_0x58dff2(0x1eb)](){return!0x0;}static get[_0x58dff2(0x1e9)](){return!0x0;}get[_0x58dff2(0x296)](){const _0x4f6c99=_0x58dff2;return this[_0x4f6c99(0x1dc)]+this[_0x4f6c99(0x270)];}get[_0x58dff2(0x1dc)](){const _0x3f462a=_0x58dff2;return this[_0x3f462a(0x2b8)][_0x3f462a(0x200)]-this[_0x3f462a(0x270)];}get[_0x58dff2(0x22c)](){const _0x53ed69=_0x58dff2,_0x340bbc=this[_0x53ed69(0x2b8)][_0x53ed69(0x2bc)]();for(let _0x5e0ebd=_0x340bbc[_0x53ed69(0x23d)]-0x1;_0x5e0ebd>=0x0;_0x5e0ebd--){const _0x49cf0d=_0x340bbc[_0x5e0ebd];if(!this[_0x53ed69(0x2cc)][_0x53ed69(0x249)](_0x49cf0d))return _0x49cf0d[_0x53ed69(0x2a7)]+0x1-this[_0x53ed69(0x270)];}return 0x0;}constructor(_0x5da181){const _0x370c42=_0x58dff2;if(super(_0x5da181),this[_0x370c42(0x270)]=0x0,this[_0x370c42(0x253)]=null,this[_0x370c42(0x2b8)]=new _0x5a0430(),this[_0x370c42(0x1e1)][_0x370c42(0x22d)][_0x370c42(0x21a)](_0x370c42(0x233),{}),this[_0x370c42(0x275)]=this[_0x370c42(0x1e1)][_0x370c42(0x22d)][_0x370c42(0x24b)](_0x370c42(0x212)),!this[_0x370c42(0x275)])throw new _0x11fd2e(_0x370c42(0x246),this);const _0x2022d9=_0x5da181[_0x370c42(0x22d)][_0x370c42(0x24b)](_0x370c42(0x20a))||_0x336b80;this[_0x370c42(0x29c)]=new RealTimeCollaborationClient[(_0x370c42(0x285))](_0x2022d9,this[_0x370c42(0x275)]),this[_0x370c42(0x280)]=this[_0x370c42(0x1e1)][_0x370c42(0x2cf)][_0x370c42(0x1f3)],this[_0x370c42(0x2c9)]=new _0x4717b8(),this[_0x370c42(0x2d3)]=[],this[_0x370c42(0x24c)]=new WeakSet(),this[_0x370c42(0x276)]=new Set(),this[_0x370c42(0x2d4)](_0x370c42(0x23c),!0x1),this[_0x370c42(0x2d4)](_0x370c42(0x2c4),!0x1),this[_0x370c42(0x284)]=null,this[_0x370c42(0x2c0)]=!0x1,this[_0x370c42(0x2a0)]=null,this[_0x370c42(0x2af)]=0x12c,this[_0x370c42(0x24a)]=this[_0x370c42(0x2af)],this[_0x370c42(0x234)]=null,this[_0x370c42(0x2cc)]=new WeakSet(),this[_0x370c42(0x27b)]=new X(this[_0x370c42(0x2cc)]);}[_0x58dff2(0x2d0)](){const _0x2b2d8a=_0x58dff2,_0x4f44ed=this[_0x2b2d8a(0x1e1)],_0x56f821=_0x4f44ed[_0x2b2d8a(0x239)][_0x2b2d8a(0x24b)](_0x694ec4),_0x114ee7=_0x4f44ed[_0x2b2d8a(0x239)][_0x2b2d8a(0x24b)](_0x44585b);this[_0x2b2d8a(0x24e)](_0x56f821,_0x2b2d8a(0x268),(_0x31571d,_0x22e689)=>{const _0x20a12f=_0x2b2d8a,_0x1e9f23=_0x22e689[0x0];_0x1e9f23[_0x20a12f(0x230)]&&(_0x31571d[_0x20a12f(0x1de)]=_0x56f821[_0x20a12f(0x29b)](_0x1e9f23[_0x20a12f(0x230)]),_0x31571d[_0x20a12f(0x225)]()),null===_0x1e9f23[_0x20a12f(0x230)]&&(_0x31571d[_0x20a12f(0x1de)]=null,_0x31571d[_0x20a12f(0x225)]());},{'priority':_0x2b2d8a(0x215)}),this[_0x2b2d8a(0x24e)](_0x4f44ed[_0x2b2d8a(0x2cf)][_0x2b2d8a(0x1f3)][_0x2b2d8a(0x2b5)],_0x2b2d8a(0x26c),(_0x3f8d43,_0x331430)=>{const _0x38059d=_0x2b2d8a;_0x331430[_0x38059d(0x1d8)]&&this[_0x38059d(0x26f)]();}),this[_0x2b2d8a(0x24e)](_0x4f44ed[_0x2b2d8a(0x22e)][_0x2b2d8a(0x209)],_0x2b2d8a(0x28a),()=>{const _0x509312=_0x2b2d8a;this[_0x509312(0x26f)]();}),this[_0x2b2d8a(0x206)](),_0x4f44ed[_0x2b2d8a(0x2cf)]['on'](_0x2b2d8a(0x260),(_0x3bbd0d,_0xc84350)=>{const _0x388e30=_0x2b2d8a,_0x2584a2=_0xc84350[0x0];_0x2584a2[_0x388e30(0x2be)]&&(this[_0x388e30(0x2b0)](_0x2584a2),this[_0x388e30(0x264)]()&&this[_0x388e30(0x269)]());}),this[_0x2b2d8a(0x1f4)](),this[_0x2b2d8a(0x279)](_0x2b2d8a(0x2aa))['to'](_0x114ee7,_0x2b2d8a(0x1f7),this,_0x2b2d8a(0x2c4),(_0x19b1f5,_0xdfd852)=>_0x2b2d8a(0x238)===_0x19b1f5&&!_0xdfd852),this['on'](_0x2b2d8a(0x235),()=>{const _0x5b825a=_0x2b2d8a;this[_0x5b825a(0x2aa)]?_0x4f44ed[_0x5b825a(0x1e6)](_0x5b825a(0x1e8)):_0x4f44ed[_0x5b825a(0x203)](_0x5b825a(0x1e8));}),this[_0x2b2d8a(0x2aa)]?_0x4f44ed[_0x2b2d8a(0x1e6)](_0x2b2d8a(0x1e8)):_0x4f44ed[_0x2b2d8a(0x203)](_0x2b2d8a(0x1e8)),this[_0x2b2d8a(0x2d4)](_0x2b2d8a(0x1df),!0x1);}async[_0x58dff2(0x2b1)](){const _0x8aad8b=_0x58dff2,_0x10f5cb=this[_0x8aad8b(0x1e1)][_0x8aad8b(0x239)][_0x8aad8b(0x24b)](_0x44807a),_0x596f90=this[_0x8aad8b(0x1e1)][_0x8aad8b(0x239)][_0x8aad8b(0x24b)](_0x44585b);try{this[_0x8aad8b(0x23c)]=!0x0,_0x10f5cb[_0x8aad8b(0x1f5)](this[_0x8aad8b(0x275)]);const _0x5c8cc6=await this[_0x8aad8b(0x29c)][_0x8aad8b(0x2b1)](_0x596f90[_0x8aad8b(0x257)],this[_0x8aad8b(0x22c)]);await this[_0x8aad8b(0x201)](_0x5c8cc6)&&(this[_0x8aad8b(0x23c)]=!0x1,this[_0x8aad8b(0x26d)]());const _0x549bbc=await this[_0x8aad8b(0x29c)][_0x8aad8b(0x277)]();_0x10f5cb[_0x8aad8b(0x2d9)](this[_0x8aad8b(0x275)],_0x549bbc),this[_0x8aad8b(0x214)](),this[_0x8aad8b(0x1df)]=!0x0;}catch(_0x3be2de){if(function(_0x563391){const _0x5306ac=_0x8aad8b;return _0x5306ac(0x248)===_0x563391[_0x5306ac(0x219)];}(_0x3be2de)&&this[_0x8aad8b(0x253)])await this[_0x8aad8b(0x2da)]();else{if(function(_0x3c11e3){const _0x1747d9=_0x8aad8b;return _0x1747d9(0x2ab)===_0x3c11e3[_0x1747d9(0x219)];}(_0x3be2de)){const _0x23538c=_0x54aceb(this[_0x8aad8b(0x1e1)][_0x8aad8b(0x207)],_0x8aad8b(0x28b));this[_0x8aad8b(0x298)](_0x23538c);}else{if(!(_0x3be2de instanceof J))throw _0x3be2de;this[_0x8aad8b(0x298)]();}}}}[_0x58dff2(0x223)](){const _0x3398ca=_0x58dff2,_0x58744e=this[_0x3398ca(0x1e1)][_0x3398ca(0x239)][_0x3398ca(0x24b)](_0x44585b),_0xa63457=this[_0x3398ca(0x1e1)][_0x3398ca(0x239)][_0x3398ca(0x24b)](_0x44807a);this[_0x3398ca(0x1e1)][_0x3398ca(0x203)](_0x3398ca(0x1fc)),_0xa63457[_0x3398ca(0x288)][_0x3398ca(0x249)](this[_0x3398ca(0x275)])&&_0xa63457[_0x3398ca(0x1f5)](this[_0x3398ca(0x275)]),_0x58744e[_0x3398ca(0x25b)](this),this[_0x3398ca(0x2db)](),super[_0x3398ca(0x223)]();}async[_0x58dff2(0x201)](_0x589c66){const _0x53cd91=_0x58dff2;if(this[_0x53cd91(0x253)]!==_0x589c66[_0x53cd91(0x253)]&&this[_0x53cd91(0x234)]!==_0x589c66[_0x53cd91(0x2d5)])throw new J();return this[_0x53cd91(0x253)]=_0x589c66[_0x53cd91(0x253)],this[_0x53cd91(0x1ee)]([],{..._0x589c66,'wereChangesApplied':!0x1,'data':_0x589c66[_0x53cd91(0x267)]},_0x53cd91(0x2b1));}async[_0x58dff2(0x283)](_0x992dd0,_0x5aaa10=!0x1){const _0xa47bbe=_0x58dff2,{connection:_0x2e1bfd}=this[_0xa47bbe(0x1e1)][_0xa47bbe(0x239)][_0xa47bbe(0x24b)](_0x44585b);RealTimeCollaborationClient[_0xa47bbe(0x285)][_0xa47bbe(0x277)](_0x2e1bfd,this[_0xa47bbe(0x275)])[_0xa47bbe(0x1e0)](_0x479c38=>this[_0xa47bbe(0x1e3)](_0x479c38))[_0xa47bbe(0x23e)](_0xb84167=>{const _0x273553=_0xa47bbe;this[_0x273553(0x29e)](_0x273553(0x26b),_0xb84167);}),this[_0xa47bbe(0x24e)](this[_0xa47bbe(0x29c)],_0xa47bbe(0x242),this[_0xa47bbe(0x2d1)][_0xa47bbe(0x279)](this)),this[_0xa47bbe(0x24e)](this[_0xa47bbe(0x29c)],_0xa47bbe(0x21c),(_0x430049,_0x41ce6e)=>{const _0x385e45=_0xa47bbe;this[_0x385e45(0x29e)](_0x385e45(0x232),_0x41ce6e);}),this[_0xa47bbe(0x24e)](this[_0xa47bbe(0x29c)],_0xa47bbe(0x2c8),()=>{const _0x5b434e=_0xa47bbe;this[_0x5b434e(0x1df)]=!0x1;});const _0x1d3c93=this[_0xa47bbe(0x27b)][_0xa47bbe(0x2c2)](_0x992dd0);this[_0xa47bbe(0x23c)]=!0x0;const _0x4ae9b0=await this[_0xa47bbe(0x29c)][_0xa47bbe(0x2b4)](_0x2e1bfd,this[_0xa47bbe(0x1e7)](_0x992dd0),_0x1d3c93);if(this[_0xa47bbe(0x253)]=_0x4ae9b0[_0xa47bbe(0x253)],_0x5aaa10){if(!_0x4ae9b0[_0xa47bbe(0x290)])return void this[_0xa47bbe(0x298)]();this[_0xa47bbe(0x23c)]=!0x1,this[_0xa47bbe(0x26d)](),this[_0xa47bbe(0x2b8)][_0xa47bbe(0x2b3)](),this[_0xa47bbe(0x270)]=_0x4ae9b0[_0xa47bbe(0x28e)],this[_0xa47bbe(0x2b8)][_0xa47bbe(0x200)]=this[_0xa47bbe(0x270)],await this[_0xa47bbe(0x1ee)](_0x992dd0,_0x4ae9b0,_0xa47bbe(0x240));}else await this[_0xa47bbe(0x1e4)](_0x4ae9b0,_0x992dd0);this[_0xa47bbe(0x214)](),this[_0xa47bbe(0x1df)]=!0x0;}[_0x58dff2(0x214)](){const _0xf13acf=_0x58dff2,_0x32eba9=this[_0xf13acf(0x1e1)][_0xf13acf(0x239)][_0xf13acf(0x24b)](_0x44807a),_0x32f437=this[_0xf13acf(0x1e1)][_0xf13acf(0x239)][_0xf13acf(0x24b)](_0x5958b7),_0x449a9=_0x32eba9[_0xf13acf(0x288)][_0xf13acf(0x24b)](this[_0xf13acf(0x275)]);_0x449a9&&_0x449a9[_0xf13acf(0x23d)]>0x1?_0x32f437[_0xf13acf(0x2b2)]():this[_0xf13acf(0x24e)](_0x32eba9,_0xf13acf(0x231)+this[_0xf13acf(0x275)],()=>{const _0x5c87a8=_0xf13acf;0x2===_0x32eba9[_0x5c87a8(0x288)][_0x5c87a8(0x24b)](this[_0x5c87a8(0x275)])[_0x5c87a8(0x23d)]&&_0x32f437[_0x5c87a8(0x2b2)]();});}async[_0x58dff2(0x2d1)](_0x18f9f2,_0x567589,_0x5e7661,_0x5b0869){const _0x6c942b=_0x58dff2;if(!this[_0x6c942b(0x23c)]&&this[_0x6c942b(0x280)][_0x6c942b(0x200)]==_0x567589){const _0x32985f=this[_0x6c942b(0x25f)](_0x5e7661,_0x5b0869);await this[_0x6c942b(0x2bd)](_0x32985f),this[_0x6c942b(0x255)](_0x32985f,_0x567589,_0x5e7661[_0x6c942b(0x2d5)])||this[_0x6c942b(0x29e)](_0x6c942b(0x281));}}async[_0x58dff2(0x2da)](){const _0x28b089=_0x58dff2;this[_0x28b089(0x2db)]();const {locale:_0x2daa78}=this[_0x28b089(0x1e1)];let _0x357270;try{_0x357270=await this[_0x28b089(0x29c)][_0x28b089(0x289)]();}catch{const _0x2830e6=_0x54aceb(_0x2daa78,_0x28b089(0x1fa));return void this[_0x28b089(0x298)](_0x2830e6);}const _0x2dc3c4=_0x357270[_0x28b089(0x217)]||_0x357270[_0x28b089(0x2a3)];if(this[_0x28b089(0x234)]!==_0x2dc3c4[_0x28b089(0x2d5)]){const _0x2f5521=_0x54aceb(_0x2daa78,_0x28b089(0x26e));return void this[_0x28b089(0x298)](_0x2f5521);}await this[_0x28b089(0x283)](this[_0x28b089(0x1e1)][_0x28b089(0x2cf)][_0x28b089(0x1f3)][_0x28b089(0x237)][_0x28b089(0x2bc)](),!0x0);}[_0x58dff2(0x2db)](){const _0xb2e86e=_0x58dff2;this[_0xb2e86e(0x29c)][_0xb2e86e(0x2a4)](),this[_0xb2e86e(0x2d3)]=[],clearTimeout(this[_0xb2e86e(0x2a0)]),this[_0xb2e86e(0x2b9)](this[_0xb2e86e(0x29c)]);}[_0x58dff2(0x1e3)](_0x720d39){const _0x3a60da=_0x58dff2,_0xbc4399=this[_0x3a60da(0x1e1)][_0x3a60da(0x239)][_0x3a60da(0x24b)](_0x44807a);this[_0x3a60da(0x24e)](_0xbc4399,_0x3a60da(0x231)+this[_0x3a60da(0x275)],(_0x980682,{session:_0x3a0884})=>{const _0x138911=_0x3a60da;if(_0x3a0884['id']===_0xbc4399[_0x138911(0x218)]){_0x980682[_0x138911(0x256)]();const _0xa1226a=this[_0x138911(0x1e1)][_0x138911(0x239)][_0x138911(0x249)](_0x138911(0x205))&&this[_0x138911(0x1e1)][_0x138911(0x239)][_0x138911(0x24b)](_0x138911(0x205));let _0x37360e=_0x3a0884[_0x138911(0x29f)];_0xa1226a&&_0xa1226a[_0x138911(0x2c3)]&&(_0x37360e=_0x37360e[_0x138911(0x2cb)](_0x1aa418=>_0x138911(0x2c5)!==_0x1aa418)),this[_0x138911(0x1e1)][_0x138911(0x239)][_0x138911(0x24b)](_0x138911(0x236))[_0x138911(0x24d)](_0x37360e,this[_0x138911(0x275)]);}}),_0xbc4399[_0x3a60da(0x2d9)](this[_0x3a60da(0x275)],_0x720d39);}[_0x58dff2(0x206)](){const _0x4de044=_0x58dff2,_0x3dbe22=this[_0x4de044(0x1e1)][_0x4de044(0x267)][_0x4de044(0x2d4)];this[_0x4de044(0x1e1)][_0x4de044(0x267)][_0x4de044(0x2d4)]=(..._0x243d98)=>{const _0x4f3662=_0x4de044;if(!_0x243d98[_0x243d98[_0x4f3662(0x23d)]-0x1][_0x4f3662(0x272)])throw new _0x11fd2e(_0x4f3662(0x273),this);_0x3dbe22[_0x4f3662(0x1da)](this[_0x4f3662(0x1e1)][_0x4f3662(0x267)],_0x243d98);};}[_0x58dff2(0x1f4)](){const _0x343572=_0x58dff2;this[_0x343572(0x1e1)][_0x343572(0x267)]['on'](_0x343572(0x2d0),(_0x4db141,[_0x20b11d])=>{const _0x29457a=_0x343572;if(this[_0x29457a(0x280)][_0x29457a(0x200)])throw new _0x11fd2e(_0x29457a(0x227),this);_0x4db141[_0x29457a(0x225)](),this[_0x29457a(0x2c6)]();const _0x78358b=this[_0x29457a(0x1e1)][_0x29457a(0x22d)][_0x29457a(0x24b)](_0x29457a(0x23f)),_0x40f1e5=this[_0x29457a(0x2c1)](_0x20b11d,_0x78358b);0x0==_0x40f1e5[_0x29457a(0x23d)]&&_0x40f1e5[_0x29457a(0x1e2)](new _0x29f1dd(0x0)),_0x4db141[_0x29457a(0x1de)]=this[_0x29457a(0x283)](_0x40f1e5)[_0x29457a(0x1e0)](()=>{const _0x3a67a7=_0x29457a;this[_0x3a67a7(0x1e1)][_0x3a67a7(0x239)][_0x3a67a7(0x24b)](_0x44585b)[_0x3a67a7(0x25c)](this),this[_0x3a67a7(0x1e1)][_0x3a67a7(0x267)][_0x3a67a7(0x241)](_0x3a67a7(0x20d));})[_0x29457a(0x23e)](_0x29804c=>this[_0x29457a(0x29e)](_0x29457a(0x259),_0x29804c))[_0x29457a(0x250)](()=>this[_0x29457a(0x26d)]());},{'priority':_0x343572(0x215)}),this[_0x343572(0x1e1)]['on'](_0x343572(0x2ba),async(_0x30165a,[_0x555463,_0xa04758])=>{const _0x13f6f6=_0x343572;_0x30165a[_0x13f6f6(0x225)]();const _0x74b253=this[_0x13f6f6(0x1e1)][_0x13f6f6(0x2cf)][_0x13f6f6(0x1f3)][_0x13f6f6(0x1dd)](_0x555463);if(!this[_0x13f6f6(0x276)][_0x13f6f6(0x249)](_0x555463)){const _0x16d787=_0xa04758&&_0xa04758[_0x13f6f6(0x267)]?_0xa04758[_0x13f6f6(0x267)]:'',_0x268303=_0xa04758&&_0xa04758[_0x13f6f6(0x1fb)]?_0xa04758[_0x13f6f6(0x1fb)]:{};await this[_0x13f6f6(0x228)](_0x555463,_0x16d787,_0x268303);}this[_0x13f6f6(0x1e1)][_0x13f6f6(0x2cf)][_0x13f6f6(0x1fe)]({'isUndoable':!0x1},()=>{const _0x31805a=_0x13f6f6;_0x74b253[_0x31805a(0x2d8)]=!0x0,this[_0x31805a(0x1e1)][_0x31805a(0x2cf)][_0x31805a(0x1f3)][_0x31805a(0x2d6)][_0x31805a(0x274)](_0x74b253);});},{'priority':_0x343572(0x215)});}async[_0x58dff2(0x2bd)](_0x5c3923){const _0x441dc8=_0x58dff2,_0x2b0d47=this[_0x441dc8(0x1e1)][_0x441dc8(0x239)][_0x441dc8(0x24b)](_0x694ec4),{connection:_0x40a274}=this[_0x441dc8(0x1e1)][_0x441dc8(0x239)][_0x441dc8(0x24b)](_0x44585b),_0x4e3f00=new Set();for(const _0x8be121 of _0x5c3923){const _0x5820dc=_0x8be121[_0x441dc8(0x230)];_0x5820dc&&!_0x2b0d47[_0x441dc8(0x29b)](_0x5820dc)&&_0x4e3f00[_0x441dc8(0x22f)](_0x5820dc);}if(0x0===_0x4e3f00[_0x441dc8(0x263)])return;const _0x5fce3c=await _0x485e81[_0x441dc8(0x282)](_0x40a274,Array[_0x441dc8(0x226)](_0x4e3f00));for(const _0x30ff88 of _0x5fce3c)_0x2b0d47[_0x441dc8(0x29b)](_0x30ff88['id'])||_0x2b0d47[_0x441dc8(0x25d)](_0x30ff88);}[_0x58dff2(0x2c1)](_0x4c1e5f,_0x2c7879={}){const _0x4a272c=_0x58dff2,_0x34273a=this[_0x4a272c(0x1e1)][_0x4a272c(0x2cf)],_0x2e274=[];let _0x329df2=0x0;const _0x4f63d8=_0x4a272c(0x216)==typeof _0x4c1e5f?{'main':_0x4c1e5f}:_0x4c1e5f;for(const _0x30deb4 of Object[_0x4a272c(0x202)](_0x4f63d8)){if(!this[_0x4a272c(0x280)][_0x4a272c(0x211)][_0x4a272c(0x249)](_0x30deb4))throw new _0x11fd2e(_0x4a272c(0x2a8),this);const _0x5be140=this[_0x4a272c(0x1e1)][_0x4a272c(0x267)][_0x4a272c(0x1f8)](_0x4f63d8[_0x30deb4]),_0x3147b1=this[_0x4a272c(0x280)][_0x4a272c(0x1dd)](_0x30deb4),_0x1b1c96=new _0xc2366d(_0x34273a[_0x4a272c(0x243)](_0x3147b1,0x0),_0x5be140,_0x329df2++);_0x2e274[_0x4a272c(0x1e2)](_0x1b1c96);for(const [_0x237b6f,_0x398541]of _0x5be140[_0x4a272c(0x1f0)]){const _0x4f5e37=_0x34273a[_0x4a272c(0x252)](_0x34273a[_0x4a272c(0x2ce)](_0x3147b1,_0x398541[_0x4a272c(0x2bb)][_0x4a272c(0x261)][_0x4a272c(0x1f6)]()),_0x34273a[_0x4a272c(0x2ce)](_0x3147b1,_0x398541[_0x4a272c(0x287)][_0x4a272c(0x261)][_0x4a272c(0x1f6)]())),_0x3a5737=new _0x236d07(_0x237b6f,null,_0x4f5e37,_0x34273a[_0x4a272c(0x1f0)],!0x0,_0x329df2++);_0x2e274[_0x4a272c(0x1e2)](_0x3a5737);}}if(_0x2c7879)for(const [_0x11280f,_0x45a29a]of Object[_0x4a272c(0x2d7)](_0x2c7879)){const _0x3fa681=_0x34273a[_0x4a272c(0x1f3)][_0x4a272c(0x1dd)](_0x11280f);if(!_0x3fa681)throw new _0x11fd2e(_0x4a272c(0x291),null);for(const [_0x5a8d26,_0x130c14]of Object[_0x4a272c(0x2d7)](_0x45a29a))if(null!==_0x130c14){const _0x33b2ac=new _0x2de7fc(_0x3fa681,_0x5a8d26,null,_0x130c14,_0x329df2++);_0x2e274[_0x4a272c(0x1e2)](_0x33b2ac);}}return _0x2e274;}async[_0x58dff2(0x228)](_0x42f425,_0x24ee29,_0x527914){const _0x3a6a92=_0x58dff2;this[_0x3a6a92(0x2c1)]({[_0x42f425]:_0x24ee29},{[_0x42f425]:_0x527914})[_0x3a6a92(0x222)]((_0x2e11bd,_0x5a862b)=>{const _0x4649e3=_0x3a6a92;_0x2e11bd[_0x4649e3(0x2a7)]=this[_0x4649e3(0x280)][_0x4649e3(0x200)]+_0x5a862b,_0x2e11bd[_0x4649e3(0x23b)]=!0x0,this[_0x4649e3(0x2b0)](_0x2e11bd);}),this[_0x3a6a92(0x269)](),await this[_0x3a6a92(0x1ec)]();}async[_0x58dff2(0x1e4)](_0x30dffd,_0x5cfef1){const _0x1f34df=_0x58dff2;let _0x3c8820;this[_0x1f34df(0x270)]=_0x30dffd[_0x1f34df(0x28e)];const _0x54785d=_0x30dffd[_0x1f34df(0x290)]&&!_0x30dffd[_0x1f34df(0x254)],_0x289b64=_0x54785d?0x0:_0x30dffd[_0x1f34df(0x267)][_0x1f34df(0x2a7)];if(_0x5cfef1[_0x1f34df(0x222)](_0x29966a=>{const _0x526e7a=_0x1f34df;_0x29966a[_0x526e7a(0x23b)]=!0x0,_0x29966a[_0x526e7a(0x208)]=_0x30dffd[_0x526e7a(0x1fd)],_0x29966a[_0x526e7a(0x230)]=null;}),_0x54785d)_0x3c8820=_0x5cfef1,this[_0x1f34df(0x21b)](_0x3c8820,_0x54785d);else{if(_0x30dffd[_0x1f34df(0x254)]){const _0x2fbc99=this[_0x1f34df(0x2c1)](_0x30dffd[_0x1f34df(0x254)]);this[_0x1f34df(0x280)][_0x1f34df(0x237)][_0x1f34df(0x200)]=-_0x2fbc99[_0x1f34df(0x23d)],_0x2fbc99[_0x1f34df(0x222)](_0x3f38a8=>{const _0x574c24=_0x1f34df;_0x3f38a8[_0x574c24(0x2a7)]-=_0x2fbc99[_0x574c24(0x23d)],_0x3f38a8[_0x574c24(0x208)]=_0x30dffd[_0x574c24(0x1fd)],_0x3f38a8[_0x574c24(0x23b)]=!0x0,_0x3f38a8[_0x574c24(0x230)]=null;}),this[_0x1f34df(0x21b)](_0x2fbc99,!0x0),this[_0x1f34df(0x2b8)][_0x1f34df(0x200)]=-_0x2fbc99[_0x1f34df(0x23d)]+this[_0x1f34df(0x270)],this[_0x1f34df(0x2cd)](_0x2fbc99);}this[_0x1f34df(0x280)][_0x1f34df(0x237)][_0x1f34df(0x200)]=_0x289b64,_0x3c8820=this[_0x1f34df(0x25f)](_0x30dffd[_0x1f34df(0x267)],_0x30dffd[_0x1f34df(0x294)]),await this[_0x1f34df(0x2bd)](_0x3c8820),this[_0x1f34df(0x21b)](_0x3c8820,_0x54785d);}_0x30dffd[_0x1f34df(0x2d5)]&&(this[_0x1f34df(0x27b)][_0x1f34df(0x2dc)](_0x3c8820,_0x30dffd[_0x1f34df(0x2d5)]),this[_0x1f34df(0x234)]=_0x30dffd[_0x1f34df(0x2d5)]),this[_0x1f34df(0x2b8)][_0x1f34df(0x200)]=_0x289b64+this[_0x1f34df(0x270)],this[_0x1f34df(0x2cd)](_0x3c8820),_0x5cfef1[_0x1f34df(0x2cb)](_0x5658e2=>{const _0x344a46=_0x1f34df,_0xba5e40=this[_0x344a46(0x295)](_0x5658e2);return _0xba5e40&&!this[_0x344a46(0x276)][_0x344a46(0x249)](_0xba5e40);})[_0x1f34df(0x222)]((_0x227d07,_0x4c4d91)=>{const _0x28097c=_0x1f34df;_0x227d07[_0x28097c(0x2a7)]=this[_0x28097c(0x280)][_0x28097c(0x200)]+_0x4c4d91,this[_0x28097c(0x2b0)](_0x227d07);}),this[_0x1f34df(0x264)]()?(this[_0x1f34df(0x24a)]=0x0,this[_0x1f34df(0x269)](!0x0),await this[_0x1f34df(0x1ec)]()):(this[_0x1f34df(0x23c)]=!0x1,this[_0x1f34df(0x26d)]());}[_0x58dff2(0x29e)](_0x409bc5,_0x476403){const _0x360055=_0x58dff2,_0x4f04e3=_0x476403&&_0x476403[_0x360055(0x2a1)];if(_0x4f04e3&&_0x4f04e3[_0x360055(0x247)](_0x360055(0x1ff)))throw _0x476403;const _0x54a067=this[_0x360055(0x1e1)][_0x360055(0x239)][_0x360055(0x24b)](_0x44585b);throw this[_0x360055(0x23c)]=!0x0,_0x54a067[_0x360055(0x2a4)](),this[_0x360055(0x1e1)][_0x360055(0x203)](_0x360055(0x25e)),new _0x11fd2e(_0x409bc5,this[_0x360055(0x1e1)],_0x4f04e3?{'originalError':_0x4f04e3}:void 0x0);}[_0x58dff2(0x2b0)](_0x3a90e1){const _0xb63f50=_0x58dff2;this[_0xb63f50(0x24c)][_0xb63f50(0x249)](_0x3a90e1)||(this[_0xb63f50(0x24c)][_0xb63f50(0x22f)](_0x3a90e1),this[_0xb63f50(0x2d3)][_0xb63f50(0x1e2)](_0x3a90e1),this[_0xb63f50(0x284)]||_0xb63f50(0x244)==_0x3a90e1[_0xb63f50(0x2a9)]&&!_0x3a90e1[_0xb63f50(0x204)]||this[_0xb63f50(0x2c6)]());}[_0x58dff2(0x269)](_0x7ef0a=!0x1){const _0x2557c9=_0x58dff2;!_0x7ef0a&&this[_0x2557c9(0x23c)]||(this[_0x2557c9(0x23c)]=!0x0,clearTimeout(this[_0x2557c9(0x2a0)]),this[_0x2557c9(0x2a0)]=setTimeout(()=>{const _0x5c9881=_0x2557c9;this[_0x5c9881(0x1e5)]()[_0x5c9881(0x1e0)](_0x5adeca=>{const _0x1754e8=_0x5c9881;_0x5adeca&&(this[_0x1754e8(0x26d)](),this[_0x1754e8(0x23c)]=!0x1);})[_0x5c9881(0x23e)](_0x326e26=>{const _0x5a5fd9=_0x5c9881;this[_0x5a5fd9(0x26d)](),this[_0x5a5fd9(0x23c)]=!0x1,function(_0x2552f4){const _0x5c88c4=_0x5a5fd9;return _0x2552f4[_0x5c88c4(0x2a1)][_0x5c88c4(0x247)](_0x5c88c4(0x2b6))||_0x2552f4[_0x5c88c4(0x2a1)][_0x5c88c4(0x247)](_0x5c88c4(0x21f))||_0x2552f4[_0x5c88c4(0x2a1)][_0x5c88c4(0x247)](_0x5c88c4(0x28d));}(_0x326e26)||this[_0x5a5fd9(0x29e)](_0x326e26[_0x5a5fd9(0x2a1)],_0x326e26);});},this[_0x2557c9(0x24a)]));}[_0x58dff2(0x1ec)](){return new Promise(_0xdb4385=>{const _0x44e7ca=_0x3386;this['on'](_0x44e7ca(0x2a2),()=>{_0xdb4385();});});}async[_0x58dff2(0x1e5)](){const _0x23aaa2=_0x58dff2,_0x2a61b1=this[_0x23aaa2(0x1e1)][_0x23aaa2(0x239)][_0x23aaa2(0x24b)](_0x5958b7);if(this[_0x23aaa2(0x265)]()&&(_0x2a61b1[_0x23aaa2(0x2b2)](),this[_0x23aaa2(0x2c0)]=!0x1),!this[_0x23aaa2(0x264)]())return!0x0;const _0x58e922=[...this[_0x23aaa2(0x2d3)]];for(const _0x350b82 of _0x58e922)_0x350b82[_0x23aaa2(0x29a)]=this[_0x23aaa2(0x280)][_0x23aaa2(0x237)][_0x23aaa2(0x1db)](_0x350b82);const _0x143874=this[_0x23aaa2(0x27b)][_0x23aaa2(0x2c2)](_0x58e922),_0x13b32f=K++,_0x49ca89=this[_0x23aaa2(0x1e7)](_0x58e922),_0x2cd2ef=await this[_0x23aaa2(0x29c)][_0x23aaa2(0x23a)](_0x49ca89,_0x49ca89[_0x23aaa2(0x2a7)],_0x143874);try{return await this[_0x23aaa2(0x1ee)](_0x58e922,_0x2cd2ef,_0x13b32f);}catch(_0x31590f){return this[_0x23aaa2(0x29e)](_0x23aaa2(0x1ea),_0x31590f);}}async[_0x58dff2(0x1ee)](_0x230f4c,_0x54e098,_0x4ba687){const _0x501028=_0x58dff2;if(_0x501028(0x21c)in _0x54e098)throw _0x54e098[_0x501028(0x21c)];let _0x1738b7=!0x1;if(_0x54e098[_0x501028(0x290)]){_0x54e098[_0x501028(0x2d5)]&&(this[_0x501028(0x234)]=_0x54e098[_0x501028(0x2d5)]),this[_0x501028(0x2d3)]=this[_0x501028(0x2d3)][_0x501028(0x2cb)](_0x548d78=>!_0x230f4c[_0x501028(0x262)](_0x548d78));for(const _0x28fd1a of _0x230f4c)_0x28fd1a[_0x501028(0x208)]=_0x501028(0x27d)in _0x54e098&&_0x54e098[_0x501028(0x27d)]||void 0x0;Q(_0x230f4c,_0x54e098[_0x501028(0x200)]-_0x230f4c[_0x501028(0x23d)]),this[_0x501028(0x2cd)](_0x230f4c);const _0x36f8c6=_0x230f4c[_0x501028(0x2cb)](_0x252c07=>{const _0x5069cf=_0x501028;if(!_0x252c07[_0x5069cf(0x23b)])return!0x1;const _0x162e61=this[_0x5069cf(0x295)](_0x252c07);return _0x162e61&&!this[_0x5069cf(0x276)][_0x5069cf(0x249)](_0x162e61);});Q(_0x36f8c6,this[_0x501028(0x280)][_0x501028(0x200)]),this[_0x501028(0x21b)](_0x36f8c6),_0x1738b7=!0x0,this[_0x501028(0x24a)]=this[_0x501028(0x2af)];}else{const _0xb4f71f=this[_0x501028(0x25f)](_0x54e098[_0x501028(0x267)],_0x54e098[_0x501028(0x294)])[_0x501028(0x2cb)](_0x2eb149=>_0x2eb149[_0x501028(0x2a7)]>=this[_0x501028(0x1dc)]);_0xb4f71f[_0x501028(0x222)](_0x2e6fb2=>this[_0x501028(0x2bf)](_0x2e6fb2)),this[_0x501028(0x2d3)]=this[_0x501028(0x2d3)][_0x501028(0x2cb)](_0x588e68=>!_0x588e68[_0x501028(0x23b)]||!this[_0x501028(0x276)][_0x501028(0x249)](this[_0x501028(0x295)](_0x588e68))),this[_0x501028(0x2d3)][_0x501028(0x23d)]&&Q(this[_0x501028(0x2d3)],this[_0x501028(0x2d3)][0x0][_0x501028(0x2a7)]),await this[_0x501028(0x2bd)](_0xb4f71f),_0x1738b7=this[_0x501028(0x255)](_0xb4f71f,_0x54e098[_0x501028(0x200)],_0x54e098[_0x501028(0x2d5)]),this[_0x501028(0x24a)]=Math[_0x501028(0x2dd)](this[_0x501028(0x24a)]/0x2);}return _0x1738b7?!this[_0x501028(0x264)]()||(this[_0x501028(0x269)](!0x0),!0x1):this[_0x501028(0x29e)](_0x501028(0x297));}[_0x58dff2(0x255)](_0x5bfc5a,_0x17d8af,_0x461539){const _0x6694ba=_0x58dff2;try{const _0x594c86={'document':this[_0x6694ba(0x280)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5059b7,operationsB:_0x20386b,originalOperations:_0x2bc079}=_0x452290(_0x5bfc5a,this[_0x6694ba(0x2d3)],_0x594c86);Q(_0x5059b7,this[_0x6694ba(0x280)][_0x6694ba(0x200)]),Q(_0x20386b,_0x17d8af);for(const _0x209232 of _0x5059b7){const _0x468e18=_0x2bc079[_0x6694ba(0x24b)](_0x209232);_0x209232[_0x6694ba(0x230)]=_0x468e18?_0x468e18[_0x6694ba(0x230)]:null;}_0x461539&&(this[_0x6694ba(0x27b)][_0x6694ba(0x2dc)](_0x5bfc5a,_0x461539),this[_0x6694ba(0x234)]=_0x461539),this[_0x6694ba(0x2d3)]=[..._0x20386b],this[_0x6694ba(0x21b)](_0x5059b7),this[_0x6694ba(0x2cd)](_0x5bfc5a);}catch(_0x5bfa8f){return console[_0x6694ba(0x21c)](_0x5bfa8f),!0x1;}return!0x0;}[_0x58dff2(0x21b)](_0x519c05,_0x1b7997=!0x1){const _0x251eb4=_0x58dff2;this[_0x251eb4(0x1e1)][_0x251eb4(0x2cf)][_0x251eb4(0x1fe)]({'isUndoable':!0x1,'isLocal':!0x1},_0x402b47=>{const _0xe6617e=_0x251eb4;for(const _0x3ba867 of _0x519c05)this[_0xe6617e(0x24c)][_0xe6617e(0x22f)](_0x3ba867),this[_0xe6617e(0x2bf)](_0x3ba867),_0x402b47[_0xe6617e(0x266)][_0xe6617e(0x2b7)](_0x3ba867),this[_0xe6617e(0x1e1)][_0xe6617e(0x2cf)][_0xe6617e(0x260)](_0x3ba867);});}[_0x58dff2(0x2bf)](_0x2ada34){const _0x47a091=_0x58dff2,_0x5c6df3=this[_0x47a091(0x295)](_0x2ada34);_0x5c6df3&&this[_0x47a091(0x276)][_0x47a091(0x22f)](_0x5c6df3);}[_0x58dff2(0x295)](_0x5daa57){const _0x1a4f20=_0x58dff2;let _0x2d2eb9,_0x1b65a6;switch(_0x5daa57[_0x1a4f20(0x2a9)]){case _0x1a4f20(0x210):_0x2d2eb9=_0x5daa57[_0x1a4f20(0x224)][_0x1a4f20(0x1f1)];break;case _0x1a4f20(0x244):if(_0x1b65a6=_0x5daa57[_0x1a4f20(0x24f)],!_0x1b65a6)return null;_0x2d2eb9=_0x1b65a6[_0x1a4f20(0x1f1)];break;case _0x1a4f20(0x2d2):_0x2d2eb9=_0x5daa57[_0x1a4f20(0x1f1)];break;case _0x1a4f20(0x20b):_0x2d2eb9=_0x5daa57[_0x1a4f20(0x2a6)];break;case _0x1a4f20(0x20e):_0x2d2eb9=_0x5daa57[_0x1a4f20(0x245)][_0x1a4f20(0x1f1)];break;default:return null;}return _0x2d2eb9[_0x1a4f20(0x27a)];}[_0x58dff2(0x2cd)](_0x4661fc){const _0x1964d4=_0x58dff2;_0x4661fc[_0x1964d4(0x222)](_0xf9d481=>{const _0x5222f5=_0x1964d4,_0x5e1c3d=_0xf9d481[_0x5222f5(0x1d9)]();_0x5e1c3d[_0x5222f5(0x230)]=_0xf9d481[_0x5222f5(0x230)],_0x5e1c3d[_0x5222f5(0x23b)]=!!_0xf9d481[_0x5222f5(0x23b)],_0x5e1c3d[_0x5222f5(0x208)]=_0xf9d481[_0x5222f5(0x208)],_0x5e1c3d[_0x5222f5(0x2a7)]+=this[_0x5222f5(0x270)],_0xf9d481[_0x5222f5(0x213)]&&this[_0x5222f5(0x2cc)][_0x5222f5(0x22f)](_0x5e1c3d),this[_0x5222f5(0x2b8)][_0x5222f5(0x2b7)](_0x5e1c3d);});}[_0x58dff2(0x298)](_0x3f1942){const _0x2b5fee=_0x58dff2,_0x592706=this[_0x2b5fee(0x1e1)][_0x2b5fee(0x239)][_0x2b5fee(0x24b)](_0x2b5fee(0x1f9)),_0x3a7cbd=this[_0x2b5fee(0x1e1)][_0x2b5fee(0x207)];_0x3f1942||(_0x3f1942=_0x54aceb(_0x3a7cbd,_0x2b5fee(0x21e))),_0x592706[_0x2b5fee(0x27f)](_0x3f1942,{'title':_0x54aceb(_0x3a7cbd,_0x2b5fee(0x25a)),'namespace':_0x2b5fee(0x2a5)}),this[_0x2b5fee(0x2c4)]=!0x0,clearTimeout(this[_0x2b5fee(0x2a0)]),this[_0x2b5fee(0x2d3)]=[],this[_0x2b5fee(0x1e1)][_0x2b5fee(0x239)][_0x2b5fee(0x24b)](_0x44585b)[_0x2b5fee(0x2a4)]();}[_0x58dff2(0x2c6)](){const _0x4a3bd2=_0x58dff2;this[_0x4a3bd2(0x284)]||(this[_0x4a3bd2(0x284)]=this[_0x4a3bd2(0x1e1)][_0x4a3bd2(0x239)][_0x4a3bd2(0x24b)](_0x10b427)[_0x4a3bd2(0x22f)](_0x54aceb(this[_0x4a3bd2(0x1e1)][_0x4a3bd2(0x207)],_0x4a3bd2(0x2c7))));}[_0x58dff2(0x26d)](){const _0x53c44b=_0x58dff2;this[_0x53c44b(0x284)]&&(this[_0x53c44b(0x1e1)][_0x53c44b(0x239)][_0x53c44b(0x24b)](_0x10b427)[_0x53c44b(0x1ef)](this[_0x53c44b(0x284)]),this[_0x53c44b(0x284)]=null);}[_0x58dff2(0x1e7)](_0x35a06f){const _0x58759c=_0x58dff2,_0x24bcce=_0x35a06f[_0x58759c(0x299)](_0x47f548=>_0x47f548[_0x58759c(0x221)]());return this[_0x58759c(0x2c9)][_0x58759c(0x2ae)](_0x24bcce);}[_0x58dff2(0x25f)](_0x639c4e,_0x5b4bbd){const _0x360b86=_0x58dff2;return this[_0x360b86(0x2c9)][_0x360b86(0x220)](_0x639c4e)[_0x360b86(0x299)]((_0x4c9e29,_0xd95de6)=>{const _0x3c2b68=_0x360b86,_0x3ca4e0=_0x3c2b68(0x2d0)==_0x5b4bbd[_0xd95de6][_0x3c2b68(0x2a9)];if(_0x3c2b68(0x2ad)==_0x4c9e29[_0x3c2b68(0x28f)]){const _0x1f03d8=_0x4c9e29[_0x3c2b68(0x224)][_0x3c2b68(0x1f1)];!this[_0x3c2b68(0x280)][_0x3c2b68(0x1dd)](_0x1f03d8)&&(this[_0x3c2b68(0x280)][_0x3c2b68(0x28c)](_0x3c2b68(0x293),_0x1f03d8)[_0x3c2b68(0x26a)]=!0x1);}const _0x1cc143=_0x2d84da[_0x3c2b68(0x271)](_0x4c9e29,this[_0x3c2b68(0x280)]);return _0x1cc143[_0x3c2b68(0x29a)]=_0x4c9e29[_0x3c2b68(0x29a)],_0x1cc143[_0x3c2b68(0x23b)]=_0x3ca4e0,_0x1cc143[_0x3c2b68(0x230)]=_0x3ca4e0?null:_0x5b4bbd[_0xd95de6][_0x3c2b68(0x1f2)],_0x1cc143[_0x3c2b68(0x213)]=_0x3c2b68(0x29d)===_0x5b4bbd[_0xd95de6][_0x3c2b68(0x2a9)],_0x1cc143[_0x3c2b68(0x208)]=_0x5b4bbd[_0xd95de6][_0x3c2b68(0x208)],_0x1cc143;});}[_0x58dff2(0x26f)](){const _0x9b7399=_0x58dff2;this[_0x9b7399(0x2c0)]=!0x0,this[_0x9b7399(0x265)]()?this[_0x9b7399(0x269)]():this[_0x9b7399(0x2c0)]=!0x1;}[_0x58dff2(0x265)](){const _0xa7ae99=_0x58dff2,_0x5a6591=this[_0xa7ae99(0x1e1)][_0xa7ae99(0x239)][_0xa7ae99(0x24b)](_0x44807a)[_0xa7ae99(0x288)][_0xa7ae99(0x24b)](this[_0xa7ae99(0x275)]);return!this[_0xa7ae99(0x1e1)][_0xa7ae99(0x2ac)]&&!!_0x5a6591&&_0x5a6591[_0xa7ae99(0x23d)]>0x1&&this[_0xa7ae99(0x2c0)];}[_0x58dff2(0x264)](){const _0xfe188b=_0x58dff2;return this[_0xfe188b(0x2d3)][_0xfe188b(0x23d)]>0x0||this[_0xfe188b(0x265)]();}}function _0x4b0e(){const _0x255dc5=['215PrcWgp','lastOperationAcceptedAt','_ignoredOperations','showWarning','_document','realtimecollaborationclient-init-service-incorrect-server-operation','getMany','_connectService','_pendingAction','CollaborativeEditingService','_operationToId','end','channelSessions','getDocumentDetails','change:hasDomSelection','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','createRoot','cloud-services-internal-error:\x20Request\x20timeout.','offset','__className','wereChangesApplied','multi-root-editor-root-attributes-no-root','6448267zVDakx','$root','metadata','_getAffectedRoot','cloudDocumentVersion','realtimecollaborationclient-handleserverresponse','_handleReconnectionError','map','wasUndone','getUser','_service','cs:removeUser','_crash','permissions','_sendBufferedOperationsDelayId','message','change:_isPendingUpdate','lastDocumentSession','disconnect','real-time-collaboration','affectedSelectable','baseVersion','realtimecollaborationclient-init-non-existent-root','type','_isEditingAllowed','409','isReadOnly','InsertOperation','compress','_baseBufferDelay','_saveOperationInBuffer','reconnect','createUserMarkerOperations','reset','connect','selection','cloud-services-internal-error:\x20Not\x20connected.','addOperation','serverHistory','stopListening','loadRoot','start','getOperations','_fetchMissingUsers','isDocumentOperation','_addKnownRoot','_hasSelectionChanged','_getOperationsFromInitData','getIdOfTheLastOperation','isEnabled','_hasSynchronizationProblem','document:write','_setPendingAction','PENDING_ACTION_SENDING_DATA','disconnected','_compressor','604296wSFtXL','filter','_disconnectionOperations','_updateServerHistory','createPositionFromPath','model','init','_handleReceivedOperations','addRootAttribute','_bufferedOperations','set','lastOperationId','differ','entries','_isLoaded','register','_connectAfterSessionHasBeenFlushed','_disconnectService','setIdForTheLastOperation','round','directChange','clone','apply','isUndoneOperation','_lastServerVersion','getRoot','return','_isConnected','then','editor','push','_initSessionsHandling','_handleInitialConnectionData','_sendBufferedOperations','disableReadOnlyMode','_compressOperations','rtc-offline','isPremiumPlugin','realtimecollaborationclient-sendbufferedoperations','isOfficialPlugin','_waitUntilSynced','pluginName','_handleServerResponse','remove','markers','root','userId','document','_setUpDataInit','unregister','slice','state','parse','Notification','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','attributes','rtc-destroyed','sessionCreatedAt','enqueueChange','realtimecollaborationclient','version','_handleReconnectionResponse','keys','enableReadOnlyMode','affectsData','CommentsOnly','_initThrowingOnDataSet','locale','createdAt','view','cloudServices.bundleVersion','addRoot','1329165Anmcvn','ready','move','RealTimeCollaborationClient','insert','roots','collaboration.channelId','_isDisconnection','_handleSendingSelectionMarkers','high','string','currentDocumentSession','mySessionId','code','define','_applyOperationsSet','error','110232RhEvDZ','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.','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','decompress','toJSON','forEach','destroy','position','stop','from','realtimecollaborationclient-init-document-already-initialized','_loadRoot','50RraWsb','801832HuNefc','528640PeQJyn','lastSyncVersion','config','editing','add','_authorId','sessionAdd:','realtimecollaborationclient-init-service-internal-error','collaboration','_lastSyncedOperationId','change:_isEditingAllowed','Permissions','history','connected','plugins','sendOperations','_isInit','_isPendingUpdate','length','catch','rootsAttributes','reconnection:\x20flushed\x20session','fire','operationsReceived','createPositionAt','marker','targetPosition','collaboration-missing-channelid','startsWith','404','has','_currentBufferDelay','get','_knownOperations','setPermissions','listenTo','newRange','finally','1179812yxyDmU','createRange','sessionId','initData','_handleExternalOperations','off','connection','requires','realtimecollaborationclient-init-connection-failed','Synchronization\x20issue','removeFromReconnectionStack','addToReconnectionStack','addUser','realtimecollaborationclient-error','_decompressOperations','applyOperation','path','includes','size','_shouldSendUpdate','_shouldSendSelectionUpdate','batch','data','getOperationAuthor','_sendBufferedOperationsDelayed','_isAttached','realtimecollaborationclient-init-session-connection-error','change:range','_clearPendingAction','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.','_refreshUserSelectionMarkers','_offset','fromJSON','suppressErrorInCollaboration','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_bufferRootLoad','_channelId','_knownRootNames','getConnectedSessions','2EDFsAA','bind','rootName','_operationIdentifier'];_0x4b0e=function(){return _0x255dc5;};return _0x4b0e();}class J extends Error{}function Q(_0xd65658,_0x5a9ab6){const _0x49e960=_0x58dff2;for(const _0x22a878 of _0xd65658)_0x22a878[_0x49e960(0x2a7)]=_0x5a9ab6++;}class X{[_0x58dff2(0x27e)];[_0x58dff2(0x286)];constructor(_0x26302a){const _0x211fb0=_0x58dff2;this[_0x211fb0(0x27e)]=_0x26302a,this[_0x211fb0(0x286)]=new WeakMap();}[_0x58dff2(0x2c2)](_0x333a1e){const _0x31b83d=_0x58dff2;let _0x1bbea0=_0x333a1e[_0x31b83d(0x23d)];for(;_0x1bbea0--;){const _0x2e1b72=_0x333a1e[_0x1bbea0];if(!this[_0x31b83d(0x27e)][_0x31b83d(0x249)](_0x2e1b72)){if(!this[_0x31b83d(0x286)][_0x31b83d(0x249)](_0x2e1b72)){const _0x40aad2=_0x57d00d()[_0x31b83d(0x1f6)](0x1,0x12);this[_0x31b83d(0x286)][_0x31b83d(0x2d4)](_0x2e1b72,_0x40aad2);}return this[_0x31b83d(0x286)][_0x31b83d(0x24b)](_0x2e1b72);}}}[_0x58dff2(0x2dc)](_0x42a265,_0x292466){const _0x4d172f=_0x58dff2;if(!_0x292466)return;let _0x29e466=_0x42a265[_0x4d172f(0x23d)];for(;_0x29e466--;){const _0xc42248=_0x42a265[_0x29e466];this[_0x4d172f(0x27e)][_0x4d172f(0x249)](_0xc42248)||this[_0x4d172f(0x286)][_0x4d172f(0x2d4)](_0xc42248,_0x292466);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x11d3(_0x4825f7,_0x3ac41c){const _0xf2fe8a=_0xf2fe();return _0x11d3=function(_0x11d3a2,_0x6df21a){_0x11d3a2=_0x11d3a2-0x147;let _0x321cec=_0xf2fe8a[_0x11d3a2];return _0x321cec;},_0x11d3(_0x4825f7,_0x3ac41c);}function _0xf2fe(){const _0x3aac2f=['164716ibVSrg','plugins','getUser','4sFizvZ','getUserSessions','_handleSessionRemove','role','state','mySessionId','remove','init','channelSessions','isMe','forEach','isPremiumPlugin','allConnectedUsers','clear','isOfficialPlugin','_registeredSessions','7188426xEAfzZ','change:state','user','unregister','sessionAdd:','size','7142970DTScWB','channelConnectedUsers','2285853JTlwGD','542514AuqZsD','700360utdtUu','11DPQjKo','hiddenInPresenceList','delete','requires','connected','getUserRole','connection','set','values','listenTo','orderNumber','3464923ZsmUqn','addUser','8sgzAfZ','add','context','fire','has','_uniqueUsersCount','register','pluginName','defineMe','6CWloaL','_handleSessionAdd','Sessions','getUserBySessionId','sessionId','_users','_createUser','get','sessions-register-already-registered','assign','sessions-unregister-not-exist','stopListening'];_0xf2fe=function(){return _0x3aac2f;};return _0xf2fe();}const _0x4a1fd7=_0x11d3;(function(_0x221533,_0x345e4c){const _0x43b316=_0x11d3,_0x7c5031=_0x221533();while(!![]){try{const _0x4302b1=parseInt(_0x43b316(0x159))/0x1*(parseInt(_0x43b316(0x165))/0x2)+-parseInt(_0x43b316(0x180))/0x3*(-parseInt(_0x43b316(0x168))/0x4)+-parseInt(_0x43b316(0x182))/0x5+-parseInt(_0x43b316(0x181))/0x6+-parseInt(_0x43b316(0x14e))/0x7+-parseInt(_0x43b316(0x150))/0x8*(parseInt(_0x43b316(0x178))/0x9)+-parseInt(_0x43b316(0x17e))/0xa*(-parseInt(_0x43b316(0x183))/0xb);if(_0x4302b1===_0x345e4c)break;else _0x7c5031['push'](_0x7c5031['shift']());}catch(_0x5abc4a){_0x7c5031['push'](_0x7c5031['shift']());}}}(_0xf2fe,0x6cefa));import{ContextPlugin as _0x4e6e68}from'ckeditor5/src/core.js';import{Collection as _0x1142e8,CKEditorError as _0x192ff5}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x5b61f0}from'./websocketgateway.js';import{Users as _0x455a15}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x4e6e68{[_0x4a1fd7(0x170)];[_0x4a1fd7(0x17f)];[_0x4a1fd7(0x174)];[_0x4a1fd7(0x177)];[_0x4a1fd7(0x155)];[_0x4a1fd7(0x15e)];static get[_0x4a1fd7(0x157)](){const _0x2f359c=_0x4a1fd7;return _0x2f359c(0x15b);}static get[_0x4a1fd7(0x176)](){return!0x0;}static get[_0x4a1fd7(0x173)](){return!0x0;}static get[_0x4a1fd7(0x186)](){return[_0x5b61f0,_0x455a15];}constructor(_0xbad3f0){const _0x2d04b7=_0x4a1fd7;super(_0xbad3f0),this[_0x2d04b7(0x170)]=new Map(),this[_0x2d04b7(0x17f)]=new Map(),this[_0x2d04b7(0x174)]=new _0x1142e8(),this[_0x2d04b7(0x177)]=new Map(),this[_0x2d04b7(0x155)]=0x0,this[_0x2d04b7(0x15e)]=this[_0x2d04b7(0x152)][_0x2d04b7(0x166)][_0x2d04b7(0x160)](_0x455a15);}[_0x4a1fd7(0x16f)](){const _0x3c9b66=_0x4a1fd7,_0x276015=this[_0x3c9b66(0x152)][_0x3c9b66(0x166)][_0x3c9b66(0x160)](_0x5b61f0);this[_0x3c9b66(0x14c)](_0x276015,_0x3c9b66(0x179),(_0xab025,_0x3ae281,_0x5c2559)=>{const _0x195032=_0x3c9b66;if(_0x195032(0x147)!==_0x5c2559)this[_0x195032(0x170)][_0x195032(0x172)](_0x479a70=>_0x479a70[_0x195032(0x175)]()),this[_0x195032(0x17f)][_0x195032(0x172)](_0x1ba410=>_0x1ba410[_0x195032(0x175)]()),this[_0x195032(0x174)][_0x195032(0x175)]();else{for(const [_0x100d39,_0x2cd536]of this[_0x195032(0x177)])for(const _0x1d0ee9 of _0x2cd536)this[_0x195032(0x15a)](_0x100d39,_0x1d0ee9);}}),this[_0x3c9b66(0x15f)](_0x276015[_0x3c9b66(0x149)]['me'],!0x0);}[_0x4a1fd7(0x156)](_0x259183,_0x55a4c7){const _0x11a2fe=_0x4a1fd7;if(this[_0x11a2fe(0x177)][_0x11a2fe(0x154)](_0x259183))throw new _0x192ff5(_0x11a2fe(0x161),null,{'channelId':_0x259183});this[_0x11a2fe(0x177)][_0x11a2fe(0x14a)](_0x259183,_0x55a4c7),this[_0x11a2fe(0x170)][_0x11a2fe(0x14a)](_0x259183,new _0x1142e8()),this[_0x11a2fe(0x17f)][_0x11a2fe(0x14a)](_0x259183,new _0x1142e8()),this[_0x11a2fe(0x14c)](_0x55a4c7,_0x11a2fe(0x151),(_0x2bdcb0,_0x11b9dd)=>this[_0x11a2fe(0x15a)](_0x259183,_0x11b9dd)),this[_0x11a2fe(0x14c)](_0x55a4c7,_0x11a2fe(0x16e),(_0x5ceb8b,_0x361ee1)=>this[_0x11a2fe(0x16a)](_0x259183,_0x361ee1));for(const _0x2a2303 of _0x55a4c7)this[_0x11a2fe(0x15a)](_0x259183,_0x2a2303);}[_0x4a1fd7(0x17b)](_0x28ea64){const _0x11e117=_0x4a1fd7;if(!this[_0x11e117(0x177)][_0x11e117(0x154)](_0x28ea64))throw new _0x192ff5(_0x11e117(0x163),null,{'channelId':_0x28ea64});const _0xa6019a=this[_0x11e117(0x177)][_0x11e117(0x160)](_0x28ea64);this[_0x11e117(0x164)](_0xa6019a);for(const _0x12d112 of _0xa6019a)_0x11e117(0x147)===this[_0x11e117(0x152)][_0x11e117(0x166)][_0x11e117(0x160)](_0x5b61f0)[_0x11e117(0x16c)]&&this[_0x11e117(0x16a)](_0x28ea64,_0x12d112);this[_0x11e117(0x177)][_0x11e117(0x185)](_0x28ea64),this[_0x11e117(0x170)][_0x11e117(0x185)](_0x28ea64),this[_0x11e117(0x17f)][_0x11e117(0x185)](_0x28ea64);}get[_0x4a1fd7(0x16d)](){const _0x5be13e=_0x4a1fd7;return this[_0x5be13e(0x152)][_0x5be13e(0x166)][_0x5be13e(0x160)](_0x5b61f0)[_0x5be13e(0x149)][_0x5be13e(0x15d)];}[_0x4a1fd7(0x15c)](_0x3e4cbb){const _0x5ef629=_0x4a1fd7;for(const _0x31e70f of this[_0x5ef629(0x170)][_0x5ef629(0x14b)]())for(const _0x45fda6 of _0x31e70f)if(_0x45fda6['id']===_0x3e4cbb)return _0x45fda6[_0x5ef629(0x17a)];}[_0x4a1fd7(0x169)](_0x2ee54b,_0x353f9a){const _0x54baa5=_0x4a1fd7,_0x24af0d=_0x353f9a?[this[_0x54baa5(0x170)][_0x54baa5(0x160)](_0x353f9a)]:this[_0x54baa5(0x170)][_0x54baa5(0x14b)](),_0x365416=new Set();for(const _0xdf825b of _0x24af0d)for(const _0x43dafd of _0xdf825b)_0x43dafd[_0x54baa5(0x17a)]['id']===_0x2ee54b['id']&&_0x365416[_0x54baa5(0x151)](_0x43dafd['id']);return _0x365416;}[_0x4a1fd7(0x148)](_0x2b7eb2){const _0x1eb87b=_0x4a1fd7;for(const _0x248390 of this[_0x1eb87b(0x170)][_0x1eb87b(0x14b)]())for(const _0x53606e of _0x248390)if(_0x53606e[_0x1eb87b(0x17a)]===_0x2b7eb2)return _0x53606e[_0x1eb87b(0x16b)];}[_0x4a1fd7(0x15a)](_0x4bea21,_0x46ecf3){const _0x2cb916=_0x4a1fd7;if(_0x2cb916(0x147)!==this[_0x2cb916(0x152)][_0x2cb916(0x166)][_0x2cb916(0x160)](_0x5b61f0)[_0x2cb916(0x16c)])return;const _0x1a6a41=_0x46ecf3[_0x2cb916(0x17a)],_0x22ef3c=this[_0x2cb916(0x15e)][_0x2cb916(0x167)](_0x1a6a41['id'])||this[_0x2cb916(0x15f)](_0x1a6a41),_0x4c4333=Object[_0x2cb916(0x162)]({},_0x46ecf3,{'user':_0x22ef3c});if(this[_0x2cb916(0x170)][_0x2cb916(0x160)](_0x4bea21)[_0x2cb916(0x151)](_0x4c4333),!_0x1a6a41[_0x2cb916(0x184)]){const _0x2b9aad=this[_0x2cb916(0x17f)][_0x2cb916(0x160)](_0x4bea21);_0x2b9aad[_0x2cb916(0x154)](_0x22ef3c['id'])||_0x2b9aad[_0x2cb916(0x151)](_0x22ef3c),this[_0x2cb916(0x174)][_0x2cb916(0x154)](_0x22ef3c['id'])||_0x1a6a41[_0x2cb916(0x184)]||this[_0x2cb916(0x174)][_0x2cb916(0x151)](_0x22ef3c,_0x22ef3c[_0x2cb916(0x171)]?0x0:void 0x0);}this[_0x2cb916(0x153)](_0x2cb916(0x17c)+_0x4bea21,{'channelId':_0x4bea21,'session':_0x4c4333});}[_0x4a1fd7(0x16a)](_0x483427,_0x20b9bd){const _0x2d014e=_0x4a1fd7;if(_0x2d014e(0x147)!==this[_0x2d014e(0x152)][_0x2d014e(0x166)][_0x2d014e(0x160)](_0x5b61f0)[_0x2d014e(0x16c)])return;const _0x1fd89a=this[_0x2d014e(0x17f)][_0x2d014e(0x160)](_0x483427),_0x17432b=_0x20b9bd[_0x2d014e(0x17a)];_0x17432b['id']&&(this[_0x2d014e(0x170)][_0x2d014e(0x160)](_0x483427)[_0x2d014e(0x16e)](_0x20b9bd['id']),_0x1fd89a[_0x2d014e(0x154)](_0x17432b['id'])&&!this[_0x2d014e(0x169)](_0x17432b,_0x483427)[_0x2d014e(0x17d)]&&_0x1fd89a[_0x2d014e(0x16e)](_0x17432b['id']),this[_0x2d014e(0x174)][_0x2d014e(0x160)](_0x17432b['id'])&&!this[_0x2d014e(0x169)](_0x17432b)[_0x2d014e(0x17d)]&&this[_0x2d014e(0x174)][_0x2d014e(0x16e)](_0x17432b['id']));}[_0x4a1fd7(0x15f)](_0x57dbbf,_0x50fac3){const _0x36dea1=_0x4a1fd7,_0xfebca4=this[_0x36dea1(0x15e)][_0x36dea1(0x14f)](_0x57dbbf);return _0x50fac3&&this[_0x36dea1(0x15e)][_0x36dea1(0x158)](_0x57dbbf['id']),_0xfebca4[_0x36dea1(0x14d)]=this[_0x36dea1(0x155)]++,_0xfebca4;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x95c950=_0x5e75;(function(_0x502a07,_0x5c8025){const _0x314f39=_0x5e75,_0x3cc3c2=_0x502a07();while(!![]){try{const _0x427a1d=parseInt(_0x314f39(0x1d3))/0x1+-parseInt(_0x314f39(0x21c))/0x2+-parseInt(_0x314f39(0x1d9))/0x3+parseInt(_0x314f39(0x228))/0x4*(-parseInt(_0x314f39(0x1db))/0x5)+-parseInt(_0x314f39(0x1fd))/0x6*(parseInt(_0x314f39(0x216))/0x7)+parseInt(_0x314f39(0x1e5))/0x8+parseInt(_0x314f39(0x202))/0x9*(parseInt(_0x314f39(0x240))/0xa);if(_0x427a1d===_0x5c8025)break;else _0x3cc3c2['push'](_0x3cc3c2['shift']());}catch(_0x54d71c){_0x3cc3c2['push'](_0x3cc3c2['shift']());}}}(_0x338a,0x92ca3));import{Plugin as _0x51a560}from'ckeditor5/src/core.js';function _0x338a(){const _0x417708=['stopListening','conversion','getMarkerClass','name','user:position:','ck-user__marker-tooltip','listenTo','ck-user__selection','false','update:user:range','50pnPwhR','editor','element','Escape','user:','clear','contenteditable','_createdBatches','startsWith','document','start','applyOperation','isOfficialPlugin','getRange','isInline','schema','newRange','tableCell','getPositions','markerToElement','isDocumentOperation','type','set','addEventListener','createElement','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','afterInit','fromRange','updateMarker','getNearestSelectionRange','431789ZYQLEW','markerRange','pluginName','nodeAfter','hasDomSelection','innerHTML','1583559QLVuXP','markerName','1940byVqOv','markerNameToElements','rootName','plugins','ck-user__marker_hovered','getFirstRange','setAttribute','color','end','data-session-id','891584gYvAnw','createUserMarkerOperations','ck-user__marker\x20','model','createUIElement','get','marker','requires','UserMarkers','selection','editingDowncast','removeClass','isPremiumPlugin','batch','split','isLimit','orderNumber','$graveyard','textContent','mapper','destroy','render','highest','mouseenter','213204rAdNEE','user:position','mouseleave','add','getSelectionClass','5253021qWKKin','oldRange','for','detach','isCollapsed','markers','markerToHighlight','mySessionId','toRange','has','init','$text','change','span','user:range','getAttribute','parent','getStart','root','isSimilar','182MkiFvk','commands','isObject','createRange','outerHTML','view','1799076MGTMif','enqueueChange','_domEmitter','remove','userPositionMarker','setCustomProperty','addMarker','delete','toDomElement','undo','change:range','spellcheck','5248yUgaJC','removeMarker','getUserBySessionId','editing','reconvertMarker','keydown','getContainedElement','size','getCustomProperty','checkChild','deletionPosition','classList','hasContent','user:range:'];_0x338a=function(){return _0x417708;};return _0x338a();}import{global as _0x471483,DomEmitterMixin as _0x33462d}from'ckeditor5/src/utils.js';import{Sessions as _0x1e2986}from'./sessions.js';import{ModelLiveRange as _0x172544}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x51a560{[_0x95c950(0x21e)]=new(_0x33462d())();static get[_0x95c950(0x1ec)](){return[_0x1e2986];}static get[_0x95c950(0x1d5)](){const _0x1b558d=_0x95c950;return _0x1b558d(0x1ed);}static get[_0x95c950(0x24c)](){return!0x0;}static get[_0x95c950(0x1f1)](){return!0x0;}[_0x95c950(0x20c)](){const _0x13795c=_0x95c950,_0x1d2710=this[_0x13795c(0x241)],_0x249f30=_0x1d2710[_0x13795c(0x1de)][_0x13795c(0x1ea)](_0x1e2986);_0x1d2710[_0x13795c(0x237)][_0x13795c(0x204)](_0x13795c(0x1ef))[_0x13795c(0x253)]({'model':_0x13795c(0x1fe),'view':(_0xc458e8,{writer:_0x29b81f})=>function(_0xd9439a,_0xa50a49,_0x356641,_0x2f88ed){const _0x19d74b=_0x13795c,_0x1b9060=_0xd9439a[_0x19d74b(0x1da)][_0x19d74b(0x1f3)](':')[0x2],_0xc173f=_0x356641[_0x19d74b(0x22a)](_0x1b9060);if(!_0xc173f||_0x1b9060===_0x356641[_0x19d74b(0x209)])return;if(!_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x24f)][_0x19d74b(0x231)](_0xd9439a[_0x19d74b(0x1d4)][_0x19d74b(0x24a)],_0x19d74b(0x20d)))return;const _0x451666={'class':_0x19d74b(0x1e7)+_0xc173f[_0x19d74b(0x1e2)][_0x19d74b(0x238)](),'data-name':_0xc173f[_0x19d74b(0x239)],'data-session-id':_0x1b9060},_0x2443c5=_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x207)][_0x19d74b(0x1ea)](_0xd9439a[_0x19d74b(0x1da)]),_0x4806ea=_0x2443c5[_0x19d74b(0x213)](),_0x47e4ab=_0x4806ea[_0x19d74b(0x1d6)],_0x102403=_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x24f)];if(_0x47e4ab&&_0x102403[_0x19d74b(0x218)](_0x47e4ab)&&_0x102403[_0x19d74b(0x24e)](_0x47e4ab)&&!_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x207)][_0x19d74b(0x1ea)](_0x19d74b(0x235)+_0x1b9060)[_0x19d74b(0x24d)]()[_0x19d74b(0x206)])return;const _0x374f35=_0x4806ea[_0x19d74b(0x212)];return _0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x24f)][_0x19d74b(0x1f4)](_0x374f35)&&!_0x2f88ed[_0x19d74b(0x1e8)][_0x19d74b(0x234)](_0x374f35)&&(_0x451666[_0x19d74b(0x246)]=!0x1),function(_0xebaf67,_0x3256c0,_0x140775){const _0x58dfa6=_0x19d74b,_0x1ef141=_0xebaf67[_0x58dfa6(0x1e9)](_0x58dfa6(0x20f),_0x3256c0);return _0xebaf67[_0x58dfa6(0x221)](_0x58dfa6(0x220),!0x0,_0x1ef141),_0x1ef141[_0x58dfa6(0x1fa)]=function(_0x302295){const _0x133b76=_0x58dfa6,_0x19e2a8=this[_0x133b76(0x224)](_0x302295),_0x362bfa=document[_0x133b76(0x1cd)](_0x133b76(0x20f));return _0x362bfa[_0x133b76(0x233)][_0x133b76(0x200)](_0x133b76(0x23b)),_0x362bfa[_0x133b76(0x1e1)](_0x133b76(0x246),_0x133b76(0x23e)),_0x362bfa[_0x133b76(0x1e1)](_0x133b76(0x227),_0x133b76(0x23e)),_0x362bfa[_0x133b76(0x1f7)]=_0x140775[_0x133b76(0x239)],_0x19e2a8[_0x133b76(0x1d8)]=_0x133b76(0x1ce)+_0x362bfa[_0x133b76(0x21a)]+'',_0x19e2a8[_0x133b76(0x1cc)](_0x133b76(0x1fc),()=>{const _0x444d56=_0x133b76;_0x19e2a8[_0x444d56(0x233)][_0x444d56(0x200)](_0x444d56(0x1df));}),_0x19e2a8[_0x133b76(0x1cc)](_0x133b76(0x1ff),()=>{const _0x3340e6=_0x133b76;_0x19e2a8[_0x3340e6(0x233)][_0x3340e6(0x21f)](_0x3340e6(0x1df));}),_0x19e2a8;},_0x1ef141[_0x58dfa6(0x215)]=function(_0xef0e07){const _0x203cfe=_0x58dfa6;return!(!this[_0x203cfe(0x230)](_0x203cfe(0x220))||!_0xef0e07[_0x203cfe(0x230)](_0x203cfe(0x220))||this[_0x203cfe(0x211)](_0x203cfe(0x1e4))!=_0xef0e07[_0x203cfe(0x211)](_0x203cfe(0x1e4)));},_0x1ef141;}(_0xa50a49,_0x451666,_0xc173f);}(_0xc458e8,_0x29b81f,_0x249f30,_0x1d2710)}),_0x1d2710[_0x13795c(0x237)][_0x13795c(0x204)](_0x13795c(0x1ef))[_0x13795c(0x208)]({'model':_0x13795c(0x210),'view':_0x2e1290=>function(_0x25c52b,_0x50d0b1){const _0x51b88e=_0x13795c,_0xd6810d=_0x25c52b[_0x51b88e(0x1da)][_0x51b88e(0x1f3)](':')[0x2];if(_0xd6810d===_0x50d0b1[_0x51b88e(0x209)])return null;const _0x1aefdb=_0x50d0b1[_0x51b88e(0x22a)](_0xd6810d);if(!_0x1aefdb)return{'id':_0xd6810d,'classes':[]};return{'id':_0xd6810d,'classes':[_0x51b88e(0x23d),_0x1aefdb[_0x51b88e(0x1e2)][_0x51b88e(0x201)]()],'attributes':{'data-session-id':_0xd6810d},'priority':0x7d0+_0x1aefdb[_0x51b88e(0x1f5)]};}(_0x2e1290,_0x249f30)}),function(_0x301664){const _0x168adc=_0x13795c,_0x449272=_0x301664[_0x168adc(0x1e8)],_0x44822c=new Map(),_0x2d5006=_0x301664[_0x168adc(0x1de)][_0x168adc(0x1ea)](_0x1e2986);_0x449272[_0x168adc(0x207)]['on'](_0x168adc(0x23f),(_0x2ae8be,_0x5dc6b3,_0x24c9b7,_0x58d89b)=>{const _0x276480=_0x168adc;if(!_0x58d89b&&_0x44822c[_0x276480(0x1ea)](_0x5dc6b3[_0x276480(0x239)]))return _0x44822c[_0x276480(0x1ea)](_0x5dc6b3[_0x276480(0x239)])[_0x276480(0x205)](),void _0x44822c[_0x276480(0x223)](_0x5dc6b3[_0x276480(0x239)]);const _0x4d5439=_0x5dc6b3[_0x276480(0x239)][_0x276480(0x1f3)](':')[0x2];if(_0x4d5439===_0x2d5006[_0x276480(0x209)])return;const _0x32eff2=_0x276480(0x23a)+_0x4d5439;_0x449272[_0x276480(0x207)][_0x276480(0x20b)](_0x32eff2)&&_0x301664[_0x276480(0x22b)][_0x276480(0x22c)](_0x32eff2),_0x5dc6b3['on'](_0x276480(0x226),(_0x25cf65,_0x45e77b,_0x108ae1)=>{const _0x19f142=_0x276480;if(_0x19f142(0x1f6)!=_0x45e77b[_0x19f142(0x214)][_0x19f142(0x1dd)]&&_0x19f142(0x1f6)==_0x5dc6b3[_0x19f142(0x24d)]()[_0x19f142(0x214)][_0x19f142(0x1dd)]&&!_0x44822c[_0x19f142(0x20b)](_0x5dc6b3[_0x19f142(0x239)])){const _0x48183f=_0x449272[_0x19f142(0x24f)][_0x19f142(0x1d2)](_0x108ae1[_0x19f142(0x232)]);if(_0x48183f){const _0x36b615=_0x172544[_0x19f142(0x1d0)](_0x48183f);_0x44822c[_0x19f142(0x1cb)](_0x5dc6b3[_0x19f142(0x239)],_0x36b615),_0x36b615['on'](_0x19f142(0x226),(_0x220cb0,_0x262380,_0x2d3ad7)=>{const _0x5ce1a8=_0x19f142;if(_0x5ce1a8(0x1f6)==_0x36b615[_0x5ce1a8(0x214)][_0x5ce1a8(0x1dd)]){const _0x2cf68d=_0x449272[_0x5ce1a8(0x24f)][_0x5ce1a8(0x1d2)](_0x2d3ad7[_0x5ce1a8(0x232)]);_0x2cf68d?(_0x36b615[_0x5ce1a8(0x24a)]=_0x2cf68d[_0x5ce1a8(0x24a)],_0x36b615[_0x5ce1a8(0x1e3)]=_0x2cf68d[_0x5ce1a8(0x1e3)]):(_0x44822c[_0x5ce1a8(0x223)](_0x5dc6b3[_0x5ce1a8(0x239)]),_0x36b615[_0x5ce1a8(0x205)]());}});}}});}),_0x449272[_0x168adc(0x249)]['on'](_0x168adc(0x20e),()=>{const _0xeb9a9a=_0x168adc;_0x44822c[_0xeb9a9a(0x22f)]>0x0&&_0x449272[_0xeb9a9a(0x21d)]({'isUndoable':!0x1},_0x117119=>{const _0x33a869=_0xeb9a9a;for(const [_0x101815,_0x559ccf]of _0x44822c)_0x33a869(0x1f6)==_0x449272[_0x33a869(0x207)][_0x33a869(0x1ea)](_0x101815)[_0x33a869(0x24d)]()[_0x33a869(0x214)][_0x33a869(0x1dd)]&&(Z(_0x101815[_0x33a869(0x1f3)](':')[0x2],_0x559ccf[_0x33a869(0x20a)](),_0x449272,_0x117119),_0x559ccf[_0x33a869(0x205)]());_0x44822c[_0x33a869(0x245)]();});});}(_0x1d2710),this[_0x13795c(0x21e)][_0x13795c(0x23c)](_0x471483[_0x13795c(0x249)],_0x13795c(0x22d),(_0x6076f6,{key:_0xe9bba})=>{const _0x1d9591=_0x13795c;_0x1d9591(0x243)===_0xe9bba&&function(_0x35f556){const _0x8f635a=_0x1d9591;_0x35f556[_0x8f635a(0x22b)][_0x8f635a(0x21b)][_0x8f635a(0x20e)](_0x538b25=>{const _0x47e5db=_0x8f635a;for(const _0x472755 of _0x35f556[_0x47e5db(0x1e8)][_0x47e5db(0x207)]){if(!_0x472755[_0x47e5db(0x239)][_0x47e5db(0x248)](_0x47e5db(0x1fe)))continue;const _0x43a93e=_0x35f556[_0x47e5db(0x22b)][_0x47e5db(0x1f8)][_0x47e5db(0x1dc)](_0x472755[_0x47e5db(0x239)]);if(_0x43a93e){for(const _0x3305ae of _0x43a93e)_0x538b25[_0x47e5db(0x1f0)](_0x47e5db(0x1df),_0x3305ae);}}});}(_0x1d2710);},{'useCapture':!0x0});}[_0x95c950(0x1cf)](){const _0x2bab3d=_0x95c950,_0x19785b=this[_0x2bab3d(0x241)],_0x2a626a=_0x19785b[_0x2bab3d(0x217)][_0x2bab3d(0x1ea)](_0x2bab3d(0x225));_0x2a626a&&_0x19785b[_0x2bab3d(0x1e8)]['on'](_0x2bab3d(0x24b),(_0x306535,_0x4404a9)=>{const _0x540c77=_0x2bab3d,_0x912fc0=_0x4404a9[0x0];if(!_0x912fc0[_0x540c77(0x254)])return;if(_0x540c77(0x1eb)!=_0x912fc0[_0x540c77(0x1ca)]||!_0x912fc0[_0x540c77(0x239)][_0x540c77(0x248)](_0x540c77(0x244)))return;const _0xe08725=_0x912fc0[_0x540c77(0x1f2)];_0x2a626a[_0x540c77(0x247)][_0x540c77(0x20b)](_0xe08725)&&(_0x912fc0[_0x540c77(0x250)]=_0x912fc0[_0x540c77(0x203)]?_0x19785b[_0x540c77(0x1e8)][_0x540c77(0x219)](_0x912fc0[_0x540c77(0x203)][_0x540c77(0x24a)],_0x912fc0[_0x540c77(0x203)][_0x540c77(0x1e3)]):null);},{'priority':_0x2bab3d(0x1fb)});}[_0x95c950(0x1f9)](){const _0x4acafd=_0x95c950;return this[_0x4acafd(0x21e)][_0x4acafd(0x236)](),super[_0x4acafd(0x1f9)]();}[_0x95c950(0x1e6)](){const _0x4826cb=_0x95c950,_0x19c050=this[_0x4826cb(0x241)],_0x3cb9b9=_0x19c050[_0x4826cb(0x1e8)][_0x4826cb(0x249)],_0x48429c=_0x19c050[_0x4826cb(0x1de)][_0x4826cb(0x1ea)](_0x1e2986);_0x19c050[_0x4826cb(0x1e8)][_0x4826cb(0x21d)]({'isUndoable':!0x1},_0x14d53b=>{const _0x20507c=_0x4826cb,_0x597316=_0x20507c(0x235)+_0x48429c[_0x20507c(0x209)],_0x241c79=_0x20507c(0x23a)+_0x48429c[_0x20507c(0x209)],_0x32c142=_0x19c050[_0x20507c(0x1e8)][_0x20507c(0x207)][_0x20507c(0x20b)](_0x597316);_0x19c050[_0x20507c(0x22b)][_0x20507c(0x21b)][_0x20507c(0x1d7)]?Z(_0x48429c[_0x20507c(0x209)],_0x3cb9b9[_0x20507c(0x1ee)][_0x20507c(0x1e0)](),_0x19c050[_0x20507c(0x1e8)],_0x14d53b):_0x32c142&&(_0x14d53b[_0x20507c(0x229)](_0x597316),_0x14d53b[_0x20507c(0x229)](_0x241c79));});}}function _0x5e75(_0x35475a,_0x48ebab){const _0x338a2c=_0x338a();return _0x5e75=function(_0x5e75c4,_0x46b768){_0x5e75c4=_0x5e75c4-0x1ca;let _0x15d129=_0x338a2c[_0x5e75c4];return _0x15d129;},_0x5e75(_0x35475a,_0x48ebab);}function Z(_0x17add8,_0x44d86b,_0x13cce0,_0x15a52e){const _0x347348=_0x95c950,_0x124557=_0x347348(0x235)+_0x17add8,_0x1b8916=_0x347348(0x23a)+_0x17add8,_0x57e5a3=_0x44d86b[_0x347348(0x22e)]();let _0x37db29=_0x44d86b[_0x347348(0x24a)];if(_0x57e5a3&&_0x57e5a3['is'](_0x347348(0x242),_0x347348(0x251))){const _0x570a3a=function(_0x37d688,_0x3e154b){const _0x1cd6b1=_0x347348;for(const _0xd97f5f of _0x37d688[_0x1cd6b1(0x252)]())if(_0x3e154b[_0x1cd6b1(0x24f)][_0x1cd6b1(0x231)](_0xd97f5f,_0x1cd6b1(0x20d)))return _0xd97f5f;}(_0x44d86b,_0x13cce0);_0x570a3a&&(_0x37db29=_0x570a3a,_0x44d86b=_0x15a52e[_0x347348(0x219)](_0x37db29));}const _0xf97e3d=_0x15a52e[_0x347348(0x219)](_0x37db29);_0x13cce0[_0x347348(0x207)][_0x347348(0x20b)](_0x124557)?(_0x15a52e[_0x347348(0x1d1)](_0x124557,{'range':_0x44d86b}),_0x15a52e[_0x347348(0x1d1)](_0x1b8916,{'range':_0xf97e3d})):(_0x15a52e[_0x347348(0x222)](_0x124557,{'range':_0x44d86b,'usingOperation':!0x0}),_0x15a52e[_0x347348(0x222)](_0x1b8916,{'range':_0xf97e3d,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x41287e=_0x3351;(function(_0x578f9c,_0x1610e8){const _0x2a1a75=_0x3351,_0x2778c6=_0x578f9c();while(!![]){try{const _0x57d84f=-parseInt(_0x2a1a75(0x239))/0x1+-parseInt(_0x2a1a75(0x1f4))/0x2*(parseInt(_0x2a1a75(0x23b))/0x3)+-parseInt(_0x2a1a75(0x201))/0x4+-parseInt(_0x2a1a75(0x245))/0x5*(-parseInt(_0x2a1a75(0x21d))/0x6)+-parseInt(_0x2a1a75(0x263))/0x7+-parseInt(_0x2a1a75(0x1f9))/0x8*(parseInt(_0x2a1a75(0x23c))/0x9)+-parseInt(_0x2a1a75(0x217))/0xa*(-parseInt(_0x2a1a75(0x252))/0xb);if(_0x57d84f===_0x1610e8)break;else _0x2778c6['push'](_0x2778c6['shift']());}catch(_0x4e6697){_0x2778c6['push'](_0x2778c6['shift']());}}}(_0xa1ff,0xac7ec));function _0xa1ff(){const _0x28bb07=['change:range','isObject','2VeEsUV','markerToHighlight','ck-user__marker\x20','getPositions','outerHTML','38152chsSUH','getMarkerClass','nodeAfter','data-session-id','_createdBatches','commands','requires','isDocumentOperation','512112DahcFz','getNearestSelectionRange','user:position','createUIElement','name','reconvertMarker','createRange','getCustomProperty','schema','updateMarker','isInline','tableCell','root','mySessionId','parent','checkChild','false','type','ck-user__marker-tooltip','remove','user:range','conversion','4570yBIKfY','getContainedElement','selection','listenTo','undo','view','18mNwkIX','getRange','createElement','detach','isLimit','color','markerNameToElements','userPositionMarker','_domEmitter','fromRange','plugins','innerHTML','getAttribute','contenteditable','mapper','markerName','update:user:range','document','spellcheck','isCollapsed','ck-user__selection','pluginName','hasContent','ck-user__marker_hovered','span','removeClass','enqueueChange','classList','708350KexqlH','markerRange','2290197KlAfWx','1665UJNGOc','toDomElement','hasDomSelection','Escape','change','setCustomProperty','getUserBySessionId','removeMarker','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','1494335cpGBig','batch','toRange','addMarker','get','startsWith','marker','size','newRange','start','isOfficialPlugin','set','for','80905gfIxPp','highest','destroy','mouseleave','editor','render','$graveyard','clear','getStart','markerToElement','editing','getFirstRange','isSimilar','applyOperation','add','user:position:','mouseenter','7484778YWvTlS','editingDowncast','getSelectionClass','split','init','stopListening','markers','createUserMarkerOperations','has','delete','addEventListener','$text','user:range:','model','isPremiumPlugin','UserMarkers','element','user:','afterInit','end','oldRange','rootName','textContent','deletionPosition','setAttribute','orderNumber','keydown'];_0xa1ff=function(){return _0x28bb07;};return _0xa1ff();}import{Plugin as _0x35d327}from'ckeditor5/src/core.js';function _0x3351(_0x3db27b,_0x1f3ed8){const _0xa1ff7e=_0xa1ff();return _0x3351=function(_0x33515b,_0x1a21ef){_0x33515b=_0x33515b-0x1db;let _0x1c71d2=_0xa1ff7e[_0x33515b];return _0x1c71d2;},_0x3351(_0x3db27b,_0x1f3ed8);}import{global as _0x4dc17b,DomEmitterMixin as _0x120e1c}from'ckeditor5/src/utils.js';import{Sessions as _0x135bbf}from'./sessions.js';import{ModelLiveRange as _0x141b0e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x35d327{[_0x41287e(0x225)]=new(_0x120e1c())();static get[_0x41287e(0x1ff)](){return[_0x135bbf];}static get[_0x41287e(0x232)](){const _0x9e2f39=_0x41287e;return _0x9e2f39(0x1e6);}static get[_0x41287e(0x24f)](){return!0x0;}static get[_0x41287e(0x1e5)](){return!0x0;}[_0x41287e(0x1db)](){const _0x439269=_0x41287e,_0x2274f3=this[_0x439269(0x256)],_0x37ede8=_0x2274f3[_0x439269(0x227)][_0x439269(0x249)](_0x135bbf);_0x2274f3[_0x439269(0x216)][_0x439269(0x251)](_0x439269(0x264))[_0x439269(0x25b)]({'model':_0x439269(0x203),'view':(_0x2a8397,{writer:_0x3c3230})=>function(_0x1cb19e,_0x3d2086,_0x339249,_0x12b53d){const _0x5b3eb0=_0x439269,_0x19c50a=_0x1cb19e[_0x5b3eb0(0x22c)][_0x5b3eb0(0x266)](':')[0x2],_0x2e988c=_0x339249[_0x5b3eb0(0x242)](_0x19c50a);if(!_0x2e988c||_0x19c50a===_0x339249[_0x5b3eb0(0x20e)])return;if(!_0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x209)][_0x5b3eb0(0x210)](_0x1cb19e[_0x5b3eb0(0x23a)][_0x5b3eb0(0x24e)],_0x5b3eb0(0x1e2)))return;const _0xc1401={'class':_0x5b3eb0(0x1f6)+_0x2e988c[_0x5b3eb0(0x222)][_0x5b3eb0(0x1fa)](),'data-name':_0x2e988c[_0x5b3eb0(0x205)],'data-session-id':_0x19c50a},_0x18cb8e=_0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x1dd)][_0x5b3eb0(0x249)](_0x1cb19e[_0x5b3eb0(0x22c)]),_0x1d9699=_0x18cb8e[_0x5b3eb0(0x25a)](),_0x3ac2bb=_0x1d9699[_0x5b3eb0(0x1fb)],_0x693ae6=_0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x209)];if(_0x3ac2bb&&_0x693ae6[_0x5b3eb0(0x1f3)](_0x3ac2bb)&&_0x693ae6[_0x5b3eb0(0x20b)](_0x3ac2bb)&&!_0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x1dd)][_0x5b3eb0(0x249)](_0x5b3eb0(0x1e3)+_0x19c50a)[_0x5b3eb0(0x21e)]()[_0x5b3eb0(0x230)])return;const _0x182374=_0x1d9699[_0x5b3eb0(0x20f)];return _0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x209)][_0x5b3eb0(0x221)](_0x182374)&&!_0x12b53d[_0x5b3eb0(0x1e4)][_0x5b3eb0(0x233)](_0x182374)&&(_0xc1401[_0x5b3eb0(0x22a)]=!0x1),function(_0x4cb3f4,_0x13dfd9,_0x15702e){const _0x520ede=_0x5b3eb0,_0x15ad2b=_0x4cb3f4[_0x520ede(0x204)](_0x520ede(0x235),_0x13dfd9);return _0x4cb3f4[_0x520ede(0x241)](_0x520ede(0x224),!0x0,_0x15ad2b),_0x15ad2b[_0x520ede(0x257)]=function(_0x522f70){const _0x3c7694=_0x520ede,_0x11b93c=this[_0x3c7694(0x23d)](_0x522f70),_0x46e199=document[_0x3c7694(0x21f)](_0x3c7694(0x235));return _0x46e199[_0x3c7694(0x238)][_0x3c7694(0x260)](_0x3c7694(0x213)),_0x46e199[_0x3c7694(0x1ef)](_0x3c7694(0x22a),_0x3c7694(0x211)),_0x46e199[_0x3c7694(0x1ef)](_0x3c7694(0x22f),_0x3c7694(0x211)),_0x46e199[_0x3c7694(0x1ed)]=_0x15702e[_0x3c7694(0x205)],_0x11b93c[_0x3c7694(0x228)]=_0x3c7694(0x244)+_0x46e199[_0x3c7694(0x1f8)]+'',_0x11b93c[_0x3c7694(0x1e1)](_0x3c7694(0x262),()=>{const _0x24df2e=_0x3c7694;_0x11b93c[_0x24df2e(0x238)][_0x24df2e(0x260)](_0x24df2e(0x234));}),_0x11b93c[_0x3c7694(0x1e1)](_0x3c7694(0x255),()=>{const _0x352cf1=_0x3c7694;_0x11b93c[_0x352cf1(0x238)][_0x352cf1(0x214)](_0x352cf1(0x234));}),_0x11b93c;},_0x15ad2b[_0x520ede(0x25e)]=function(_0x5b0569){const _0x1aaa50=_0x520ede;return!(!this[_0x1aaa50(0x208)](_0x1aaa50(0x224))||!_0x5b0569[_0x1aaa50(0x208)](_0x1aaa50(0x224))||this[_0x1aaa50(0x229)](_0x1aaa50(0x1fc))!=_0x5b0569[_0x1aaa50(0x229)](_0x1aaa50(0x1fc)));},_0x15ad2b;}(_0x3d2086,_0xc1401,_0x2e988c);}(_0x2a8397,_0x3c3230,_0x37ede8,_0x2274f3)}),_0x2274f3[_0x439269(0x216)][_0x439269(0x251)](_0x439269(0x264))[_0x439269(0x1f5)]({'model':_0x439269(0x215),'view':_0x588ef1=>function(_0x1f9938,_0x429a64){const _0x2683d8=_0x439269,_0xd4dddd=_0x1f9938[_0x2683d8(0x22c)][_0x2683d8(0x266)](':')[0x2];if(_0xd4dddd===_0x429a64[_0x2683d8(0x20e)])return null;const _0x2afee6=_0x429a64[_0x2683d8(0x242)](_0xd4dddd);if(!_0x2afee6)return{'id':_0xd4dddd,'classes':[]};return{'id':_0xd4dddd,'classes':[_0x2683d8(0x231),_0x2afee6[_0x2683d8(0x222)][_0x2683d8(0x265)]()],'attributes':{'data-session-id':_0xd4dddd},'priority':0x7d0+_0x2afee6[_0x2683d8(0x1f0)]};}(_0x588ef1,_0x37ede8)}),function(_0x14d766){const _0x294789=_0x439269,_0xa954bd=_0x14d766[_0x294789(0x1e4)],_0x300ccb=new Map(),_0x14dd27=_0x14d766[_0x294789(0x227)][_0x294789(0x249)](_0x135bbf);_0xa954bd[_0x294789(0x1dd)]['on'](_0x294789(0x22d),(_0x52afd4,_0x5843de,_0x52ecf2,_0x197535)=>{const _0x2fa275=_0x294789;if(!_0x197535&&_0x300ccb[_0x2fa275(0x249)](_0x5843de[_0x2fa275(0x205)]))return _0x300ccb[_0x2fa275(0x249)](_0x5843de[_0x2fa275(0x205)])[_0x2fa275(0x220)](),void _0x300ccb[_0x2fa275(0x1e0)](_0x5843de[_0x2fa275(0x205)]);const _0x10e0dd=_0x5843de[_0x2fa275(0x205)][_0x2fa275(0x266)](':')[0x2];if(_0x10e0dd===_0x14dd27[_0x2fa275(0x20e)])return;const _0x4f44c1=_0x2fa275(0x261)+_0x10e0dd;_0xa954bd[_0x2fa275(0x1dd)][_0x2fa275(0x1df)](_0x4f44c1)&&_0x14d766[_0x2fa275(0x25c)][_0x2fa275(0x206)](_0x4f44c1),_0x5843de['on'](_0x2fa275(0x1f2),(_0x30ee39,_0x1cca55,_0x3dd552)=>{const _0x4bd617=_0x2fa275;if(_0x4bd617(0x258)!=_0x1cca55[_0x4bd617(0x20d)][_0x4bd617(0x1ec)]&&_0x4bd617(0x258)==_0x5843de[_0x4bd617(0x21e)]()[_0x4bd617(0x20d)][_0x4bd617(0x1ec)]&&!_0x300ccb[_0x4bd617(0x1df)](_0x5843de[_0x4bd617(0x205)])){const _0x3f4f33=_0xa954bd[_0x4bd617(0x209)][_0x4bd617(0x202)](_0x3dd552[_0x4bd617(0x1ee)]);if(_0x3f4f33){const _0x506049=_0x141b0e[_0x4bd617(0x226)](_0x3f4f33);_0x300ccb[_0x4bd617(0x250)](_0x5843de[_0x4bd617(0x205)],_0x506049),_0x506049['on'](_0x4bd617(0x1f2),(_0x1ba539,_0x1326a9,_0x5ab7da)=>{const _0x1b5c23=_0x4bd617;if(_0x1b5c23(0x258)==_0x506049[_0x1b5c23(0x20d)][_0x1b5c23(0x1ec)]){const _0x1ff00e=_0xa954bd[_0x1b5c23(0x209)][_0x1b5c23(0x202)](_0x5ab7da[_0x1b5c23(0x1ee)]);_0x1ff00e?(_0x506049[_0x1b5c23(0x24e)]=_0x1ff00e[_0x1b5c23(0x24e)],_0x506049[_0x1b5c23(0x1ea)]=_0x1ff00e[_0x1b5c23(0x1ea)]):(_0x300ccb[_0x1b5c23(0x1e0)](_0x5843de[_0x1b5c23(0x205)]),_0x506049[_0x1b5c23(0x220)]());}});}}});}),_0xa954bd[_0x294789(0x22e)]['on'](_0x294789(0x240),()=>{const _0x21d95a=_0x294789;_0x300ccb[_0x21d95a(0x24c)]>0x0&&_0xa954bd[_0x21d95a(0x237)]({'isUndoable':!0x1},_0x149150=>{const _0x3d2638=_0x21d95a;for(const [_0x3c6843,_0x433bae]of _0x300ccb)_0x3d2638(0x258)==_0xa954bd[_0x3d2638(0x1dd)][_0x3d2638(0x249)](_0x3c6843)[_0x3d2638(0x21e)]()[_0x3d2638(0x20d)][_0x3d2638(0x1ec)]&&(re(_0x3c6843[_0x3d2638(0x266)](':')[0x2],_0x433bae[_0x3d2638(0x247)](),_0xa954bd,_0x149150),_0x433bae[_0x3d2638(0x220)]());_0x300ccb[_0x3d2638(0x259)]();});});}(_0x2274f3),this[_0x439269(0x225)][_0x439269(0x21a)](_0x4dc17b[_0x439269(0x22e)],_0x439269(0x1f1),(_0x188ee3,{key:_0x16c8f1})=>{const _0x4c1ccc=_0x439269;_0x4c1ccc(0x23f)===_0x16c8f1&&function(_0x1a2eae){const _0x387de4=_0x4c1ccc;_0x1a2eae[_0x387de4(0x25c)][_0x387de4(0x21c)][_0x387de4(0x240)](_0x4eceea=>{const _0x178d9d=_0x387de4;for(const _0xaea8e4 of _0x1a2eae[_0x178d9d(0x1e4)][_0x178d9d(0x1dd)]){if(!_0xaea8e4[_0x178d9d(0x205)][_0x178d9d(0x24a)](_0x178d9d(0x203)))continue;const _0x45430b=_0x1a2eae[_0x178d9d(0x25c)][_0x178d9d(0x22b)][_0x178d9d(0x223)](_0xaea8e4[_0x178d9d(0x205)]);if(_0x45430b){for(const _0x3d7f67 of _0x45430b)_0x4eceea[_0x178d9d(0x236)](_0x178d9d(0x234),_0x3d7f67);}}});}(_0x2274f3);},{'useCapture':!0x0});}[_0x41287e(0x1e9)](){const _0x406fb5=_0x41287e,_0x21997d=this[_0x406fb5(0x256)],_0x43b55a=_0x21997d[_0x406fb5(0x1fe)][_0x406fb5(0x249)](_0x406fb5(0x21b));_0x43b55a&&_0x21997d[_0x406fb5(0x1e4)]['on'](_0x406fb5(0x25f),(_0x56cff1,_0x3182e0)=>{const _0x1f601e=_0x406fb5,_0x26bee2=_0x3182e0[0x0];if(!_0x26bee2[_0x1f601e(0x200)])return;if(_0x1f601e(0x24b)!=_0x26bee2[_0x1f601e(0x212)]||!_0x26bee2[_0x1f601e(0x205)][_0x1f601e(0x24a)](_0x1f601e(0x1e8)))return;const _0x5b9de1=_0x26bee2[_0x1f601e(0x246)];_0x43b55a[_0x1f601e(0x1fd)][_0x1f601e(0x1df)](_0x5b9de1)&&(_0x26bee2[_0x1f601e(0x24d)]=_0x26bee2[_0x1f601e(0x1eb)]?_0x21997d[_0x1f601e(0x1e4)][_0x1f601e(0x207)](_0x26bee2[_0x1f601e(0x1eb)][_0x1f601e(0x24e)],_0x26bee2[_0x1f601e(0x1eb)][_0x1f601e(0x1ea)]):null);},{'priority':_0x406fb5(0x253)});}[_0x41287e(0x254)](){const _0x888d76=_0x41287e;return this[_0x888d76(0x225)][_0x888d76(0x1dc)](),super[_0x888d76(0x254)]();}[_0x41287e(0x1de)](){const _0x48e0ee=_0x41287e,_0xba6641=this[_0x48e0ee(0x256)],_0x5cbc06=_0xba6641[_0x48e0ee(0x1e4)][_0x48e0ee(0x22e)],_0x8d621=_0xba6641[_0x48e0ee(0x227)][_0x48e0ee(0x249)](_0x135bbf);_0xba6641[_0x48e0ee(0x1e4)][_0x48e0ee(0x237)]({'isUndoable':!0x1},_0x5ee315=>{const _0xc8bdb2=_0x48e0ee,_0x475d42=_0xc8bdb2(0x1e3)+_0x8d621[_0xc8bdb2(0x20e)],_0x264882=_0xc8bdb2(0x261)+_0x8d621[_0xc8bdb2(0x20e)],_0x5f3491=_0xba6641[_0xc8bdb2(0x1e4)][_0xc8bdb2(0x1dd)][_0xc8bdb2(0x1df)](_0x475d42);_0xba6641[_0xc8bdb2(0x25c)][_0xc8bdb2(0x21c)][_0xc8bdb2(0x23e)]?re(_0x8d621[_0xc8bdb2(0x20e)],_0x5cbc06[_0xc8bdb2(0x219)][_0xc8bdb2(0x25d)](),_0xba6641[_0xc8bdb2(0x1e4)],_0x5ee315):_0x5f3491&&(_0x5ee315[_0xc8bdb2(0x243)](_0x475d42),_0x5ee315[_0xc8bdb2(0x243)](_0x264882));});}}function re(_0x1a0f3e,_0x3e9c94,_0x5595f1,_0x247e0f){const _0x413236=_0x41287e,_0x6d9d00=_0x413236(0x1e3)+_0x1a0f3e,_0x5dd103=_0x413236(0x261)+_0x1a0f3e,_0x316b58=_0x3e9c94[_0x413236(0x218)]();let _0x4dc781=_0x3e9c94[_0x413236(0x24e)];if(_0x316b58&&_0x316b58['is'](_0x413236(0x1e7),_0x413236(0x20c))){const _0x1f5bb5=function(_0x1d6747,_0x6a78b8){const _0x25ce25=_0x413236;for(const _0x2d20c2 of _0x1d6747[_0x25ce25(0x1f7)]())if(_0x6a78b8[_0x25ce25(0x209)][_0x25ce25(0x210)](_0x2d20c2,_0x25ce25(0x1e2)))return _0x2d20c2;}(_0x3e9c94,_0x5595f1);_0x1f5bb5&&(_0x4dc781=_0x1f5bb5,_0x3e9c94=_0x247e0f[_0x413236(0x207)](_0x4dc781));}const _0x4f25bb=_0x247e0f[_0x413236(0x207)](_0x4dc781);_0x5595f1[_0x413236(0x1dd)][_0x413236(0x1df)](_0x6d9d00)?(_0x247e0f[_0x413236(0x20a)](_0x6d9d00,{'range':_0x3e9c94}),_0x247e0f[_0x413236(0x20a)](_0x5dd103,{'range':_0x4f25bb})):(_0x247e0f[_0x413236(0x248)](_0x6d9d00,{'range':_0x3e9c94,'usingOperation':!0x0}),_0x247e0f[_0x413236(0x248)](_0x5dd103,{'range':_0x4f25bb,'usingOperation':!0x0}));}
|