@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.6 → 46.0.0-alpha.8
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 _0x4a09ab=_0x383e;(function(_0x353e5f,_0x366dd4){const _0x525c7b=_0x383e,_0x2da90e=_0x353e5f();while(!![]){try{const _0x1e16a1=-parseInt(_0x525c7b(0x1d3))/0x1*(parseInt(_0x525c7b(0x1d9))/0x2)+parseInt(_0x525c7b(0x1ee))/0x3+-parseInt(_0x525c7b(0x1cd))/0x4*(-parseInt(_0x525c7b(0x1e6))/0x5)+-parseInt(_0x525c7b(0x1f2))/0x6+-parseInt(_0x525c7b(0x1ea))/0x7*(parseInt(_0x525c7b(0x1db))/0x8)+-parseInt(_0x525c7b(0x1ef))/0x9*(-parseInt(_0x525c7b(0x1eb))/0xa)+-parseInt(_0x525c7b(0x1d4))/0xb;if(_0x1e16a1===_0x366dd4)break;else _0x2da90e['push'](_0x2da90e['shift']());}catch(_0x22960b){_0x2da90e['push'](_0x2da90e['shift']());}}}(_0x5667,0xdc7c1));function _0x5667(){const _0x2ab75f=['presencelist:hide','createCollection','render','listenTo','change:hasPopup','467265ZpvTPc','fire','bindTemplate','set','4042962KiqQWL','1588930ZrrMSV','removeAttribute','aria-expanded','4904151FDEVyj','63cxoqKl','element','querySelector','4200342RRLQec','keystrokes','hasPopup','72mGoHcy','setTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','Connected\x20users\x20list','items','relatedTarget','8TgcYTt','2236652DMSejo','isExpanded','focus','presencelist:show','setAttribute','366874rATTgx','.ck-balloon-panel_with-arrow','16BpSgHQ','div','contains','.ck-presence-list__dropdown-list','list','ck-presence-list__list'];_0x5667=function(){return _0x2ab75f;};return _0x5667();}import{View as _0x18bdb6}from'ckeditor5/src/ui.js';function _0x383e(_0x418ca0,_0x74ad55){const _0x5667c1=_0x5667();return _0x383e=function(_0x383e13,_0x293665){_0x383e13=_0x383e13-0x1cb;let _0x3dca2c=_0x5667c1[_0x383e13];return _0x3dca2c;},_0x383e(_0x418ca0,_0x74ad55);}import{KeystrokeHandler as _0x37f256}from'ckeditor5/src/utils.js';import{getTranslation as _0x1fd5d8}from'../../common-translations.js';export class PresenceInlineListView extends _0x18bdb6{[_0x4a09ab(0x1d1)];[_0x4a09ab(0x1cb)];constructor(_0x319477){const _0x47b88c=_0x4a09ab;super(_0x319477);const _0x28b454=this[_0x47b88c(0x1e8)];this[_0x47b88c(0x1d1)]=this[_0x47b88c(0x1e2)](),this[_0x47b88c(0x1cb)]=new _0x37f256(),this[_0x47b88c(0x1e9)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x47b88c(0x1ce)]({'tag':_0x47b88c(0x1dc),'attributes':{'aria-haspopup':_0x28b454['if'](_0x47b88c(0x1cc)),'aria-expanded':_0x28b454['to'](_0x47b88c(0x1d5),_0x372e31=>this[_0x47b88c(0x1cc)]&&String(_0x372e31)),'aria-label':_0x28b454['to'](_0x47b88c(0x1cc),_0x482c30=>_0x1fd5d8(_0x319477,_0x482c30?_0x47b88c(0x1cf):_0x47b88c(0x1d0))),'role':_0x47b88c(0x1df),'tabindex':_0x28b454['to'](_0x47b88c(0x1cc),_0x24665e=>!!_0x24665e&&0x0),'class':['ck',_0x47b88c(0x1e0)]},'children':this[_0x47b88c(0x1d1)],'on':{'mouseenter':_0x28b454['to'](()=>this[_0x47b88c(0x1e7)](_0x47b88c(0x1d7))),'mouseleave':_0x28b454['to'](_0x188ae2=>{const _0x4c1dd9=_0x47b88c,_0x409e30=_0x188ae2,_0x449d97=document[_0x4c1dd9(0x1f1)](_0x4c1dd9(0x1de)),_0x37ff5d=document[_0x4c1dd9(0x1f1)](_0x4c1dd9(0x1da));_0x449d97?.[_0x4c1dd9(0x1dd)](_0x409e30[_0x4c1dd9(0x1d2)])||_0x37ff5d?.[_0x4c1dd9(0x1dd)](_0x409e30[_0x4c1dd9(0x1d2)])||this[_0x4c1dd9(0x1e7)](_0x4c1dd9(0x1e1));})}}),this['on'](_0x47b88c(0x1e5),(_0x1ec724,_0x4997c9,_0x2bc879)=>{const _0xa6ade9=_0x47b88c;this[_0xa6ade9(0x1f0)]&&(_0x2bc879?this[_0xa6ade9(0x1f0)][_0xa6ade9(0x1d8)](_0xa6ade9(0x1ed),String(this[_0xa6ade9(0x1d5)])):this[_0xa6ade9(0x1f0)][_0xa6ade9(0x1ec)](_0xa6ade9(0x1ed)));});}[_0x4a09ab(0x1d6)](){const _0x50f77a=_0x4a09ab;this[_0x50f77a(0x1f0)][_0x50f77a(0x1d6)]();}[_0x4a09ab(0x1e3)](){const _0xfebf92=_0x4a09ab;super[_0xfebf92(0x1e3)](),this[_0xfebf92(0x1cb)][_0xfebf92(0x1e4)](this[_0xfebf92(0x1f0)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5a7c29=_0x5648;function _0x5648(_0x25b9a2,_0x12f0de){const _0x10dcee=_0x10dc();return _0x5648=function(_0x564859,_0x3c3f4a){_0x564859=_0x564859-0x92;let _0x52c5db=_0x10dcee[_0x564859];return _0x52c5db;},_0x5648(_0x25b9a2,_0x12f0de);}(function(_0x569a89,_0x14aea6){const _0x3e2ea1=_0x5648,_0xbab10d=_0x569a89();while(!![]){try{const _0x484758=parseInt(_0x3e2ea1(0xab))/0x1*(-parseInt(_0x3e2ea1(0xa8))/0x2)+parseInt(_0x3e2ea1(0x96))/0x3+parseInt(_0x3e2ea1(0x9b))/0x4+parseInt(_0x3e2ea1(0xac))/0x5+-parseInt(_0x3e2ea1(0xae))/0x6*(-parseInt(_0x3e2ea1(0xa9))/0x7)+-parseInt(_0x3e2ea1(0xa1))/0x8+parseInt(_0x3e2ea1(0xa0))/0x9*(parseInt(_0x3e2ea1(0x92))/0xa);if(_0x484758===_0x14aea6)break;else _0xbab10d['push'](_0xbab10d['shift']());}catch(_0x4e9a41){_0xbab10d['push'](_0xbab10d['shift']());}}}(_0x10dc,0xb2fcf));import{View as _0x39d19c}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x207363}from'./presencecounterview.js';import{PresenceInlineListView as _0x5408ec}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x39d19c{[_0x5a7c29(0x9e)];[_0x5a7c29(0x9f)];constructor(_0x4a2a8d,_0x14e4bc=0x6){const _0x4557af=_0x5a7c29;super(_0x4a2a8d);const _0x25f56d=this[_0x4557af(0xa4)];this[_0x4557af(0x9d)](_0x4557af(0x99),!0x0),this[_0x4557af(0x9e)]=new _0x207363(this[_0x4557af(0xad)],_0x14e4bc),this[_0x4557af(0x9f)]=new _0x5408ec(_0x4a2a8d),this[_0x4557af(0x9f)][_0x4557af(0x95)](_0x4557af(0xa6))['to'](this,_0x4557af(0x99)),this[_0x4557af(0x93)](this[_0x4557af(0x9f)][_0x4557af(0x97)],_0x4557af(0xa3),()=>{const _0x488b93=_0x4557af;for(const _0x4f5883 of this[_0x488b93(0x9f)][_0x488b93(0x97)])_0x4f5883[_0x488b93(0xa5)]='s';this[_0x488b93(0x9f)][_0x488b93(0x97)][_0x488b93(0x9c)]&&(this[_0x488b93(0x9f)][_0x488b93(0x97)][_0x488b93(0x9c)][_0x488b93(0xa5)]='se');}),this[_0x4557af(0xaa)]({'tag':_0x4557af(0xa2),'attributes':{'class':['ck',_0x4557af(0x98),_0x4557af(0x9a),_0x4557af(0x94),_0x25f56d['if'](_0x4557af(0x99),_0x4557af(0xa7))]},'children':[this[_0x4557af(0x9f)]]});}}function _0x10dc(){const _0x1a91d3=['change','bindTemplate','tooltipPosition','hasPopup','ck-presence-list--collapsed','102562RwxhSn','615398xsTWUc','setTemplate','14zNixoE','2781065NWiTGy','locale','42KTosiL','182510MwdTmF','listenTo','ck-rounded-corners','bind','31098dNlgtK','items','ck-presence-list','isCollapsed','ck-reset','2738476YEWrdb','first','set','counterView','inlineListView','81dpFDLN','4638288QEARZP','div'];_0x10dc=function(){return _0x1a91d3;};return _0x10dc();}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2cb0(_0x13113a,_0x5967b9){var _0xcc2606=_0xcc26();return _0x2cb0=function(_0x2cb0df,_0x20d449){_0x2cb0df=_0x2cb0df-0x9c;var _0x14e304=_0xcc2606[_0x2cb0df];return _0x14e304;},_0x2cb0(_0x13113a,_0x5967b9);}var _0x1b8fd2=_0x2cb0;(function(_0x5eb4d3,_0x1cf87d){var _0x22956d=_0x2cb0,_0x315c94=_0x5eb4d3();while(!![]){try{var _0x5afffb=-parseInt(_0x22956d(0xa5))/0x1*(-parseInt(_0x22956d(0xa9))/0x2)+-parseInt(_0x22956d(0xab))/0x3*(parseInt(_0x22956d(0xaa))/0x4)+-parseInt(_0x22956d(0xa2))/0x5+parseInt(_0x22956d(0xa4))/0x6*(parseInt(_0x22956d(0x9c))/0x7)+-parseInt(_0x22956d(0xa6))/0x8+parseInt(_0x22956d(0x9d))/0x9+parseInt(_0x22956d(0xa0))/0xa*(parseInt(_0x22956d(0xa8))/0xb);if(_0x5afffb===_0x1cf87d)break;else _0x315c94['push'](_0x315c94['shift']());}catch(_0x47db27){_0x315c94['push'](_0x315c94['shift']());}}}(_0xcc26,0x7b65b));import{ContextPlugin as _0x453d74}from'ckeditor5/src/core.js';import{Sessions as _0x40c434}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x4c56ad}from'./presencelist/presencelistui.js';function _0xcc26(){var _0x4d723e=['3060496Uqokgv','isPremiumPlugin','11jjgoAG','21594jCxCaG','208imvfLW','28722NyiUOV','7OdSEQa','1763604AHGfkY','isOfficialPlugin','pluginName','6508070hZuryi','requires','278905ZQnVWL','PresenceList','3050922SymCDL','8kKePvY'];_0xcc26=function(){return _0x4d723e;};return _0xcc26();}export class PresenceList extends _0x453d74{static get[_0x1b8fd2(0xa1)](){return[_0x40c434,_0x4c56ad];}static get[_0x1b8fd2(0x9f)](){var _0x2c1653=_0x1b8fd2;return _0x2c1653(0xa3);}static get[_0x1b8fd2(0x9e)](){return!0x0;}static get[_0x1b8fd2(0xa7)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x583e70)());[_0x404913(0x7c)];static get[_0x404913(0x6f)](){const _0x1d8464=_0x404913;return[_0x119252,_0x1d8464(0xa5),_0x52e909,_0x2cbe78];}static get[_0x404913(0x6e)](){const _0x1aae6d=_0x404913;return _0x1aae6d(0x77);}static get[_0x404913(0x93)](){return!0x0;}static get[_0x404913(0x7f)](){return!0x0;}constructor(_0x43b375){const _0xe4556d=_0x404913;super(_0x43b375),this[_0xe4556d(0x7c)]=new Map();}async[_0x404913(0x97)](){const _0x5f2aee=_0x404913,_0x9c05f5=this[_0x5f2aee(0x9f)],_0x13fed4=_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x5f2aee(0xa5));if(_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x119252)[_0x5f2aee(0x80)](this),_0x13fed4[_0x5f2aee(0xc6)]={'addCommentThread':async({channelId:_0x1c8134,threadId:_0x230b80,comments:_0x4cfbe4,resolvedAt:_0xb7760e,resolvedBy:_0x293957,context:_0x24bbea,attributes:_0x490c37})=>{const _0x499c23=_0x5f2aee,_0x1a507c=await this[_0x499c23(0x86)](_0x1c8134)[_0x499c23(0xb0)]({'commentThreadId':_0x230b80,'comments':_0x4cfbe4[_0x499c23(0xcd)](_0x8b74e9=>function(_0x22c240,_0x73ccc3,_0x541930){const _0x57d119=_0x499c23;return{'commentThreadId':_0x541930,'commentId':_0x22c240[_0x57d119(0x96)],'userId':_0x22c240[_0x57d119(0x6b)],'content':_0x22c240[_0x57d119(0xc4)],'documentId':_0x73ccc3,'createdAt':_0x22c240[_0x57d119(0x89)],'attributes':_0x22c240[_0x57d119(0xae)]||{}};}(_0x8b74e9,_0x1c8134,_0x230b80)),'resolvedAt':_0xb7760e,'resolvedBy':_0x293957,'context':_0x24bbea,'attributes':_0x490c37})[_0x499c23(0x76)](k);return{'threadId':_0x1a507c[_0x499c23(0xad)],'comments':_0x1a507c[_0x499c23(0x8f)]};},'getCommentThread':async({channelId:_0x5d46e1,threadId:_0x369787})=>{const _0x151433=_0x5f2aee,_0x2df2f0=await this[_0x151433(0x86)](_0x5d46e1)[_0x151433(0xb5)](_0x369787)[_0x151433(0x76)](k);return _0x2df2f0[_0x151433(0xc9)]?null:(await this[_0x151433(0x73)]([_0x2df2f0]),{'threadId':_0x2df2f0[_0x151433(0xad)],'comments':_0x2df2f0[_0x151433(0x8f)][_0x151433(0xcd)](B),'context':_0x2df2f0[_0x151433(0x9f)],'resolvedAt':_0x2df2f0[_0x151433(0xc1)],'resolvedBy':_0x2df2f0[_0x151433(0xba)],'attributes':_0x2df2f0[_0x151433(0xae)]||{}});},'updateCommentThread':async({channelId:_0x2b784b,threadId:_0x5d724a,context:_0x54f287,unlinkedAt:_0x2fc467,attributes:_0x5556cb})=>this[_0x5f2aee(0x86)](_0x2b784b)[_0x5f2aee(0x99)]({'commentThreadId':_0x5d724a,'context':_0x54f287,'attributes':_0x5556cb,'unlinkedAt':_0x2fc467})[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'resolveCommentThread':async({channelId:_0x3906e5,threadId:_0x4d5507})=>{const _0x173408=_0x5f2aee,_0x849c39=await this[_0x173408(0x86)](_0x3906e5)[_0x173408(0xcb)](_0x4d5507)[_0x173408(0x76)](F)[_0x173408(0x76)](k);return{'threadId':_0x849c39[_0x173408(0xad)],'resolvedAt':_0x849c39[_0x173408(0xc1)],'resolvedBy':_0x849c39[_0x173408(0xba)]};},'reopenCommentThread':async({channelId:_0xef1226,threadId:_0x2a28e8})=>this[_0x5f2aee(0x86)](_0xef1226)[_0x5f2aee(0xc7)](_0x2a28e8)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'removeCommentThread':({channelId:_0x230519,threadId:_0x3d59a6})=>this[_0x5f2aee(0x86)](_0x230519)[_0x5f2aee(0x8c)](_0x3d59a6)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'addComment':({channelId:_0x3dbc11,threadId:_0x159091,commentId:_0x556f07,content:_0x80119b,attributes:_0x215b47})=>this[_0x5f2aee(0x86)](_0x3dbc11)[_0x5f2aee(0xa6)](_0x159091,_0x556f07,_0x80119b,_0x215b47)[_0x5f2aee(0x76)](k),'updateComment':({channelId:_0x412eb4,threadId:_0x32b323,commentId:_0x45b427,content:_0x59ccf4,attributes:_0x23e7c9})=>this[_0x5f2aee(0x86)](_0x412eb4)[_0x5f2aee(0xc3)](_0x32b323,_0x45b427,_0x59ccf4,_0x23e7c9)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k),'removeComment':({channelId:_0x7ea6f6,threadId:_0x4fe917,commentId:_0x1f4741})=>this[_0x5f2aee(0x86)](_0x7ea6f6)[_0x5f2aee(0x9d)](_0x4fe917,_0x1f4741)[_0x5f2aee(0x76)](F)[_0x5f2aee(0x76)](k)},_0x9c05f5 instanceof _0x2f53f5){const _0x2e00b6=_0x9c05f5[_0x5f2aee(0xaa)][_0x5f2aee(0x91)](_0x5f2aee(0x6d)),_0x2e39c7=_0x9c05f5[_0x5f2aee(0x9a)][_0x5f2aee(0x91)](_0x52e909);await this[_0x5f2aee(0x81)](_0x2e00b6);const _0x20fc69=await this[_0x5f2aee(0x7c)][_0x5f2aee(0x91)](_0x2e00b6)[_0x5f2aee(0x83)]();this[_0x5f2aee(0x8a)](_0x2e39c7,_0x5f2aee(0x71)+_0x2e00b6,(_0x418f5d,{session:_0x4611ef})=>{const _0xc7c938=_0x5f2aee;_0x4611ef['id']===_0x2e39c7[_0xc7c938(0x95)]&&(_0x418f5d[_0xc7c938(0x90)](),this[_0xc7c938(0x9f)][_0xc7c938(0x9a)][_0xc7c938(0x91)](_0xc7c938(0xaf))[_0xc7c938(0x7d)](_0x4611ef[_0xc7c938(0x74)],_0x2e00b6));}),_0x2e39c7[_0x5f2aee(0xa2)](_0x2e00b6,_0x20fc69);}}async[_0x404913(0x81)](_0x1df551){const _0x17de6d=_0x404913;if(this[_0x17de6d(0x7c)][_0x17de6d(0x85)](_0x1df551))throw new _0x31f2f4(_0x17de6d(0xc2),null,{'channelId':_0x1df551});const _0x1cd2a7=this[_0x17de6d(0x9f)][_0x17de6d(0x9a)][_0x17de6d(0x91)](_0x17de6d(0xa5)),_0x146fc0=new s[(_0x17de6d(0xb7))](_0x1df551);this[_0x17de6d(0x7c)][_0x17de6d(0xc8)](_0x1df551,_0x146fc0),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xc5),(_0x35b098,_0x13043a)=>{const _0x52c145=_0x17de6d,{commentThreadId:_0x14f8c3,documentId:_0x5def5e,context:_0x153bc7,attributes:_0x5765c9,resolvedAt:_0x2a9bc5,resolvedBy:_0x320a04,comments:_0x172926}=_0x13043a;_0x1cd2a7[_0x52c145(0xb5)](_0x14f8c3)||_0x1cd2a7[_0x52c145(0xb0)]({'threadId':_0x14f8c3,'channelId':_0x5def5e,'comments':_0x172926?_0x172926[_0x52c145(0xcd)](B):[],'context':_0x153bc7,'attributes':_0x5765c9,'resolvedAt':_0x2a9bc5,'resolvedBy':_0x320a04,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xa0),(_0x3867de,{commentThreadId:_0x299eaf,documentId:_0x1167d6,context:_0x568a46,unlinkedAt:_0x4a859a,attributes:_0x31b018})=>{const _0x36e694=_0x17de6d;_0x1cd2a7[_0x36e694(0xb5)](_0x299eaf)&&_0x1cd2a7[_0x36e694(0x99)]({'threadId':_0x299eaf,'channelId':_0x1167d6,'context':_0x568a46,'unlinkedAt':_0x4a859a,'attributes':_0x31b018,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xcc),(_0x3b835d,{commentThreadId:_0x1867c5,resolvedBy:_0x5bb99e,resolvedAt:_0x487bc0})=>{const _0x1ac2f1=_0x17de6d,_0x4fa95a=_0x1cd2a7[_0x1ac2f1(0xb5)](_0x1867c5);_0x4fa95a&&_0x4fa95a[_0x1ac2f1(0xce)]({'resolvedBy':_0x5bb99e,'resolvedAt':_0x487bc0,'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0xbd),(_0x2aeb76,{commentThreadId:_0xc61045})=>{const _0x2f92d8=_0x17de6d,_0x2b7207=_0x1cd2a7[_0x2f92d8(0xb5)](_0xc61045);_0x2b7207&&_0x2b7207[_0x2f92d8(0x94)]({'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x78),(_0x3bba61,{commentThreadId:_0x1d40f5})=>{const _0x28c2b8=_0x17de6d,_0xb61b85=_0x1cd2a7[_0x28c2b8(0xb5)](_0x1d40f5);_0xb61b85&&_0xb61b85[_0x28c2b8(0xbe)]({'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x8d),(_0x496881,_0x35c0e5)=>{const _0x13884d=_0x17de6d,_0x1cd978=_0x35c0e5[_0x13884d(0xad)],_0x101614=_0x1cd2a7[_0x13884d(0xb5)](_0x1cd978);_0x101614&&_0x101614[_0x13884d(0xa6)]({...B(_0x35c0e5),'isFromAdapter':!0x0});}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x6a),(_0x10ae45,{commentThreadId:_0x11b6c5,commentId:_0x5771b1,content:_0xaa45fa,attributes:_0x3de175})=>{const _0x5c1b0f=_0x17de6d,_0x34bcb2=_0x1cd2a7[_0x5c1b0f(0xb5)](_0x11b6c5);if(_0x34bcb2){const _0x5ac5bd=_0x34bcb2[_0x5c1b0f(0x8e)](_0x5771b1);_0x5ac5bd&&_0x5ac5bd[_0x5c1b0f(0xa4)]({'content':_0xaa45fa,'attributes':_0x3de175,'isFromAdapter':!0x0});}}),this[_0x17de6d(0x8a)](_0x146fc0,_0x17de6d(0x9e),(_0x43f9dd,{commentThreadId:_0x19fca6,commentId:_0x2338d0})=>{const _0xf415bd=_0x17de6d,_0x441ea5=_0x1cd2a7[_0xf415bd(0xb5)](_0x19fca6);if(_0x441ea5){const _0x3e07f1=_0x441ea5[_0xf415bd(0x8e)](_0x2338d0);_0x3e07f1&&_0x3e07f1[_0xf415bd(0xbe)]({'isFromAdapter':!0x0});}}),await this[_0x17de6d(0xab)](_0x1df551);}[_0x404913(0x7b)](){const _0x2b36a6=_0x404913;if(this[_0x2b36a6(0x9f)]instanceof _0x2f53f5){const _0x9447e6=this[_0x2b36a6(0x9f)][_0x2b36a6(0xaa)][_0x2b36a6(0x91)](_0x2b36a6(0x6d));this[_0x2b36a6(0x87)](_0x9447e6);}}[_0x404913(0x87)](_0xea5bdf){const _0x1d2080=_0x404913;if(!this[_0x1d2080(0x7c)][_0x1d2080(0x85)](_0xea5bdf))throw new _0x31f2f4(_0x1d2080(0x98),null,{'channelId':_0xea5bdf});this[_0x1d2080(0x86)](_0xea5bdf)[_0x1d2080(0x75)](),this[_0x1d2080(0x7c)][_0x1d2080(0xbf)](_0xea5bdf);}async[_0x404913(0x6c)](){const _0x429d30=_0x404913;for(const _0x4d3f70 of this[_0x429d30(0x7c)][_0x429d30(0xb1)]())await this[_0x429d30(0xab)](_0x4d3f70);if(this[_0x429d30(0x9f)]instanceof _0x2f53f5){const _0x40f81a=this[_0x429d30(0x9f)][_0x429d30(0xaa)][_0x429d30(0x91)](_0x429d30(0x6d)),_0x2d6d=this[_0x429d30(0x9f)][_0x429d30(0x9a)][_0x429d30(0x91)](_0x52e909);_0x2d6d[_0x429d30(0xb6)](_0x40f81a);const _0x44c0f2=await this[_0x429d30(0x7c)][_0x429d30(0x91)](_0x40f81a)[_0x429d30(0x83)]();_0x2d6d[_0x429d30(0xa2)](_0x40f81a,_0x44c0f2);}}async[_0x404913(0xab)](_0xbffd4){const _0x4de636=_0x404913,{connection:_0x530f03}=this[_0x4de636(0x9f)][_0x4de636(0x9a)][_0x4de636(0x91)](_0x119252),_0x8e52cc=this[_0x4de636(0x9f)][_0x4de636(0x9a)][_0x4de636(0x91)](_0x4de636(0xa5)),_0x3d2bb7=this[_0x4de636(0x7c)][_0x4de636(0x91)](_0xbffd4),_0x4c9c71=await _0x3d2bb7[_0x4de636(0x69)](_0x530f03);await this[_0x4de636(0x73)](_0x4c9c71);const _0x127fd7=new Set(Array[_0x4de636(0x82)](_0x8e52cc[_0x4de636(0x79)]({'channelId':_0xbffd4}),_0x33bac7=>_0x33bac7['id']));for(const _0xc674aa of _0x4c9c71)_0xc674aa[_0x4de636(0xc9)]||_0x127fd7[_0x4de636(0xbf)](_0xc674aa[_0x4de636(0xad)]);for(const _0x518c2a of _0x127fd7)_0x8e52cc[_0x4de636(0xb5)](_0x518c2a)[_0x4de636(0xbe)]({'isFromAdapter':!0x0});for(const _0x11c4e7 of _0x4c9c71){let _0xa60ec8=_0x8e52cc[_0x4de636(0xb5)](_0x11c4e7[_0x4de636(0xad)]);const {commentThreadId:_0x251c78,context:_0x14c267,attributes:_0x2f8301,resolvedBy:_0x4e615e,resolvedAt:_0x1307ed,unlinkedAt:_0xbe83e7,deletedAt:_0x126d2e}=_0x11c4e7;if(_0x126d2e)continue;_0xa60ec8||(_0xa60ec8=_0x8e52cc[_0x4de636(0xb0)]({'channelId':_0xbffd4,'threadId':_0x251c78,'context':_0x14c267,'attributes':_0x2f8301||{},'resolvedBy':_0x4e615e,'resolvedAt':_0x1307ed,'unlinkedAt':_0xbe83e7,'isFromAdapter':!0x0}));const _0x1f922d=new Set(Array[_0x4de636(0x82)](_0xa60ec8[_0x4de636(0x8f)],_0x2622a9=>_0x2622a9['id']));for(const _0x3c3272 of _0x11c4e7[_0x4de636(0x8f)])_0x1f922d[_0x4de636(0xbf)](_0x3c3272[_0x4de636(0x96)]);for(const _0x36eb3e of _0x1f922d)_0xa60ec8[_0x4de636(0x8e)](_0x36eb3e)[_0x4de636(0xbe)]({'isFromAdapter':!0x0});for(const _0x52c5a4 of _0x11c4e7[_0x4de636(0x8f)]){const _0x343c37=_0xa60ec8[_0x4de636(0x8e)](_0x52c5a4[_0x4de636(0x96)]);_0x343c37?_0x343c37[_0x4de636(0xc4)]!==_0x52c5a4[_0x4de636(0xc4)]&&_0x343c37[_0x4de636(0xa4)]({'content':_0x52c5a4[_0x4de636(0xc4)],'isFromAdapter':!0x0}):_0xa60ec8[_0x4de636(0xa6)](Object[_0x4de636(0x8b)](B(_0x52c5a4),{'isFromAdapter':!0x0}));}}}[_0x404913(0x86)](_0x167ba9){const _0x5c8a58=_0x404913;if(!this[_0x5c8a58(0x7c)][_0x5c8a58(0x85)](_0x167ba9))throw new _0x31f2f4(_0x5c8a58(0xa1),null,{'channelId':_0x167ba9});return this[_0x5c8a58(0x7c)][_0x5c8a58(0x91)](_0x167ba9);}async[_0x404913(0x73)](_0x4239f1){const _0x576713=_0x404913,_0x40ac43=this[_0x576713(0x9f)][_0x576713(0x9a)][_0x576713(0x91)](_0x2cbe78),{connection:_0x5b36b0}=this[_0x576713(0x9f)][_0x576713(0x9a)][_0x576713(0x91)](_0x119252),_0x146d01=new Set();for(const {resolvedBy:_0x27c1ff,comments:_0x21cc6a}of _0x4239f1){_0x27c1ff&&!_0x40ac43[_0x576713(0xb8)](_0x27c1ff)&&_0x146d01[_0x576713(0xb4)](_0x27c1ff);for(const {userId:_0x28bf47}of _0x21cc6a)_0x40ac43[_0x576713(0xb8)](_0x28bf47)||_0x146d01[_0x576713(0xb4)](_0x28bf47);}if(0x0===_0x146d01[_0x576713(0x88)])return;const _0x2cf21b=await _0x46537d[_0x576713(0x7e)](_0x5b36b0,Array[_0x576713(0x82)](_0x146d01));for(const _0x400522 of _0x2cf21b)_0x40ac43[_0x576713(0xb8)](_0x400522['id'])||_0x40ac43[_0x576713(0x72)](_0x400522);}}export{s as CloudServicesCommentsAdapter};async function F(_0x182b14){const _0xa8c853=_0x404913;if(_0xa8c853(0xb9)!==_0x182b14[_0xa8c853(0xa3)])throw _0x182b14;}function k(_0xc83947){const _0x382db6=_0x404913;if((_0x472a19=_0xc83947)[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xc0))||_0x472a19[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xca))||_0x472a19[_0x382db6(0xac)][_0x382db6(0xbc)](_0x382db6(0xb2)))return new Promise(()=>{});var _0x472a19;throw _0xc83947;}function B(_0x346cb3){const _0x5c98a3=_0x404913;return{'threadId':_0x346cb3[_0x5c98a3(0xad)],'commentId':_0x346cb3[_0x5c98a3(0x96)],'content':_0x346cb3[_0x5c98a3(0xc4)],'createdAt':_0x346cb3[_0x5c98a3(0x89)],'authorId':_0x346cb3[_0x5c98a3(0x9c)],'attributes':_0x346cb3[_0x5c98a3(0xae)]||{}};}
|
|
23
|
+
const _0x40cabb=_0x2b10;(function(_0x3ea6f3,_0xd9b3d2){const _0x1200f7=_0x2b10,_0x5a3873=_0x3ea6f3();while(!![]){try{const _0x1858e6=-parseInt(_0x1200f7(0x1dd))/0x1*(parseInt(_0x1200f7(0x19c))/0x2)+-parseInt(_0x1200f7(0x1b8))/0x3+parseInt(_0x1200f7(0x1f2))/0x4+parseInt(_0x1200f7(0x1db))/0x5*(-parseInt(_0x1200f7(0x1c4))/0x6)+-parseInt(_0x1200f7(0x1bb))/0x7*(-parseInt(_0x1200f7(0x1c8))/0x8)+-parseInt(_0x1200f7(0x1cb))/0x9+-parseInt(_0x1200f7(0x200))/0xa*(-parseInt(_0x1200f7(0x1a9))/0xb);if(_0x1858e6===_0xd9b3d2)break;else _0x5a3873['push'](_0x5a3873['shift']());}catch(_0xcb480d){_0x5a3873['push'](_0x5a3873['shift']());}}}(_0x6057,0x65e24));function _0x2b10(_0x103917,_0x1dad93){const _0x6057c=_0x6057();return _0x2b10=function(_0x2b1087,_0x6ef38d){_0x2b1087=_0x2b1087-0x19c;let _0x174726=_0x6057c[_0x2b1087];return _0x174726;},_0x2b10(_0x103917,_0x1dad93);}import{Context as _0x338402,ContextPlugin as _0x1f48d1}from'ckeditor5/src/core.js';import{CKEditorError as _0x2a4f64}from'ckeditor5/src/utils.js';import{Users as _0x13861e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5d09f2,User as _0x3e1cd6}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x164178}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3edf86}from'../realtimecollaborativeediting/sessions.js';class s extends _0x1f48d1{static [_0x40cabb(0x1b0)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5d09f2)());[_0x40cabb(0x1e1)];static get[_0x40cabb(0x1ce)](){const _0x53a62b=_0x40cabb;return[_0x164178,_0x53a62b(0x1ea),_0x3edf86,_0x13861e];}static get[_0x40cabb(0x1ac)](){const _0x499777=_0x40cabb;return _0x499777(0x1c9);}static get[_0x40cabb(0x1ed)](){return!0x0;}static get[_0x40cabb(0x1e5)](){return!0x0;}constructor(_0x2d6b32){const _0x118ed8=_0x40cabb;super(_0x2d6b32),this[_0x118ed8(0x1e1)]=new Map();}async[_0x40cabb(0x1d6)](){const _0x15c631=_0x40cabb,_0x218058=this[_0x15c631(0x1a6)],_0x3f6dbb=_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x15c631(0x1ea));if(_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x164178)[_0x15c631(0x1e3)](this),_0x3f6dbb[_0x15c631(0x1da)]={'addCommentThread':async({channelId:_0xc8321f,threadId:_0x591f67,comments:_0x5e12cf,resolvedAt:_0x13553c,resolvedBy:_0x462575,context:_0x60016a,attributes:_0x1362fa})=>{const _0x58d8e6=_0x15c631,_0x36df8f=await this[_0x58d8e6(0x1d4)](_0xc8321f)[_0x58d8e6(0x1a1)]({'commentThreadId':_0x591f67,'comments':_0x5e12cf[_0x58d8e6(0x1a5)](_0x41186e=>function(_0x578d62,_0x54f2c0,_0x30e0f4){const _0xc58010=_0x58d8e6;return{'commentThreadId':_0x30e0f4,'commentId':_0x578d62[_0xc58010(0x1e6)],'userId':_0x578d62[_0xc58010(0x1b1)],'content':_0x578d62[_0xc58010(0x1f4)],'documentId':_0x54f2c0,'createdAt':_0x578d62[_0xc58010(0x1a3)],'attributes':_0x578d62[_0xc58010(0x1ee)]||{}};}(_0x41186e,_0xc8321f,_0x591f67)),'resolvedAt':_0x13553c,'resolvedBy':_0x462575,'context':_0x60016a,'attributes':_0x1362fa})[_0x58d8e6(0x1fd)](A);return{'threadId':_0x36df8f[_0x58d8e6(0x1d3)],'comments':_0x36df8f[_0x58d8e6(0x1d0)]};},'getCommentThread':async({channelId:_0x585576,threadId:_0x430b86})=>{const _0x1ba292=_0x15c631,_0x79df8b=await this[_0x1ba292(0x1d4)](_0x585576)[_0x1ba292(0x1f7)](_0x430b86)[_0x1ba292(0x1fd)](A);return _0x79df8b[_0x1ba292(0x1f1)]?null:(await this[_0x1ba292(0x1c2)]([_0x79df8b]),{'threadId':_0x79df8b[_0x1ba292(0x1d3)],'comments':_0x79df8b[_0x1ba292(0x1d0)][_0x1ba292(0x1a5)](p),'context':_0x79df8b[_0x1ba292(0x1a6)],'resolvedAt':_0x79df8b[_0x1ba292(0x1ec)],'resolvedBy':_0x79df8b[_0x1ba292(0x1a0)],'attributes':_0x79df8b[_0x1ba292(0x1ee)]||{}});},'updateCommentThread':async({channelId:_0x4632e7,threadId:_0xde6741,context:_0x1b2919,unlinkedAt:_0x2a7fa4,attributes:_0x54c778})=>this[_0x15c631(0x1d4)](_0x4632e7)[_0x15c631(0x1e9)]({'commentThreadId':_0xde6741,'context':_0x1b2919,'attributes':_0x54c778,'unlinkedAt':_0x2a7fa4})[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'resolveCommentThread':async({channelId:_0x2c7f58,threadId:_0x31ab32})=>{const _0x410b7f=_0x15c631,_0x7dad3c=await this[_0x410b7f(0x1d4)](_0x2c7f58)[_0x410b7f(0x1bf)](_0x31ab32)[_0x410b7f(0x1fd)](v)[_0x410b7f(0x1fd)](A);return{'threadId':_0x7dad3c[_0x410b7f(0x1d3)],'resolvedAt':_0x7dad3c[_0x410b7f(0x1ec)],'resolvedBy':_0x7dad3c[_0x410b7f(0x1a0)]};},'reopenCommentThread':async({channelId:_0x43c17c,threadId:_0x326ed7})=>this[_0x15c631(0x1d4)](_0x43c17c)[_0x15c631(0x1ad)](_0x326ed7)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'removeCommentThread':({channelId:_0x54a066,threadId:_0x15ce2e})=>this[_0x15c631(0x1d4)](_0x54a066)[_0x15c631(0x1b4)](_0x15ce2e)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'addComment':({channelId:_0x4db9ff,threadId:_0x36db22,commentId:_0x45ff80,content:_0x2e7b45,attributes:_0x294379})=>this[_0x15c631(0x1d4)](_0x4db9ff)[_0x15c631(0x1c5)](_0x36db22,_0x45ff80,_0x2e7b45,_0x294379)[_0x15c631(0x1fd)](A),'updateComment':({channelId:_0x1c6e8c,threadId:_0x4203a0,commentId:_0x18b7cf,content:_0x41e7dc,attributes:_0x424d8f})=>this[_0x15c631(0x1d4)](_0x1c6e8c)[_0x15c631(0x19f)](_0x4203a0,_0x18b7cf,_0x41e7dc,_0x424d8f)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A),'removeComment':({channelId:_0x3d5bcc,threadId:_0x3f7d99,commentId:_0x1f47a0})=>this[_0x15c631(0x1d4)](_0x3d5bcc)[_0x15c631(0x1af)](_0x3f7d99,_0x1f47a0)[_0x15c631(0x1fd)](v)[_0x15c631(0x1fd)](A)},_0x218058 instanceof _0x338402){const _0x12ef27=_0x218058[_0x15c631(0x1f5)][_0x15c631(0x1e2)](_0x15c631(0x1f0)),_0x504cd2=_0x218058[_0x15c631(0x1b3)][_0x15c631(0x1e2)](_0x3edf86);await this[_0x15c631(0x1d5)](_0x12ef27);const _0x2b7cab=await this[_0x15c631(0x1e1)][_0x15c631(0x1e2)](_0x12ef27)[_0x15c631(0x1ff)]();this[_0x15c631(0x1cd)](_0x504cd2,_0x15c631(0x1f8)+_0x12ef27,(_0xbd1491,{session:_0x6a611d})=>{const _0x53eb10=_0x15c631;_0x6a611d['id']===_0x504cd2[_0x53eb10(0x1b7)]&&(_0xbd1491[_0x53eb10(0x1d2)](),this[_0x53eb10(0x1a6)][_0x53eb10(0x1b3)][_0x53eb10(0x1e2)](_0x53eb10(0x1fa))[_0x53eb10(0x1b9)](_0x6a611d[_0x53eb10(0x1e7)],_0x12ef27));}),_0x504cd2[_0x15c631(0x1fb)](_0x12ef27,_0x2b7cab);}}async[_0x40cabb(0x1d5)](_0x5bc118){const _0x5e858c=_0x40cabb;if(this[_0x5e858c(0x1e1)][_0x5e858c(0x19e)](_0x5bc118))throw new _0x2a4f64(_0x5e858c(0x1a2),null,{'channelId':_0x5bc118});const _0x1fe016=this[_0x5e858c(0x1a6)][_0x5e858c(0x1b3)][_0x5e858c(0x1e2)](_0x5e858c(0x1ea)),_0x36d613=new s[(_0x5e858c(0x1b0))](_0x5bc118);this[_0x5e858c(0x1e1)][_0x5e858c(0x1e0)](_0x5bc118,_0x36d613),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1bd),(_0x6b3697,_0x480f3c)=>{const _0x35312b=_0x5e858c,{commentThreadId:_0x5d9b87,documentId:_0x36fa45,context:_0x23beda,attributes:_0x2d4052,resolvedAt:_0x160d5c,resolvedBy:_0x318b51,comments:_0x25c033}=_0x480f3c;_0x1fe016[_0x35312b(0x1f7)](_0x5d9b87)||_0x1fe016[_0x35312b(0x1a1)]({'threadId':_0x5d9b87,'channelId':_0x36fa45,'comments':_0x25c033?_0x25c033[_0x35312b(0x1a5)](p):[],'context':_0x23beda,'attributes':_0x2d4052,'resolvedAt':_0x160d5c,'resolvedBy':_0x318b51,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1aa),(_0x3dd98d,{commentThreadId:_0x5db90f,documentId:_0x379943,context:_0x451ef9,unlinkedAt:_0x11c01b,attributes:_0x4dad95})=>{const _0x561735=_0x5e858c;_0x1fe016[_0x561735(0x1f7)](_0x5db90f)&&_0x1fe016[_0x561735(0x1e9)]({'threadId':_0x5db90f,'channelId':_0x379943,'context':_0x451ef9,'unlinkedAt':_0x11c01b,'attributes':_0x4dad95,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1d1),(_0x2d77d6,{commentThreadId:_0x2135f5,resolvedBy:_0x4e1332,resolvedAt:_0x3f1846})=>{const _0x180b0a=_0x5e858c,_0x295d8f=_0x1fe016[_0x180b0a(0x1f7)](_0x2135f5);_0x295d8f&&_0x295d8f[_0x180b0a(0x1ba)]({'resolvedBy':_0x4e1332,'resolvedAt':_0x3f1846,'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1b2),(_0x27a645,{commentThreadId:_0x70fd20})=>{const _0x59dad7=_0x5e858c,_0x3e1e26=_0x1fe016[_0x59dad7(0x1f7)](_0x70fd20);_0x3e1e26&&_0x3e1e26[_0x59dad7(0x1eb)]({'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1c7),(_0x11f8f3,{commentThreadId:_0x1834b6})=>{const _0x18be86=_0x5e858c,_0x59f9e9=_0x1fe016[_0x18be86(0x1f7)](_0x1834b6);_0x59f9e9&&_0x59f9e9[_0x18be86(0x1a4)]({'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1f6),(_0x46f6f9,_0x4f8c2b)=>{const _0x34762f=_0x5e858c,_0x586632=_0x4f8c2b[_0x34762f(0x1d3)],_0x3bfae1=_0x1fe016[_0x34762f(0x1f7)](_0x586632);_0x3bfae1&&_0x3bfae1[_0x34762f(0x1c5)]({...p(_0x4f8c2b),'isFromAdapter':!0x0});}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1ab),(_0x572cf7,{commentThreadId:_0x585a13,commentId:_0x3cfef7,content:_0x5c5926,attributes:_0x414f72})=>{const _0x500a72=_0x5e858c,_0x182b0c=_0x1fe016[_0x500a72(0x1f7)](_0x585a13);if(_0x182b0c){const _0x4b55a5=_0x182b0c[_0x500a72(0x1dc)](_0x3cfef7);_0x4b55a5&&_0x4b55a5[_0x500a72(0x1ca)]({'content':_0x5c5926,'attributes':_0x414f72,'isFromAdapter':!0x0});}}),this[_0x5e858c(0x1cd)](_0x36d613,_0x5e858c(0x1cf),(_0x2d7247,{commentThreadId:_0x24cb81,commentId:_0x307bc3})=>{const _0xd11629=_0x5e858c,_0x1fa424=_0x1fe016[_0xd11629(0x1f7)](_0x24cb81);if(_0x1fa424){const _0x2ba3eb=_0x1fa424[_0xd11629(0x1dc)](_0x307bc3);_0x2ba3eb&&_0x2ba3eb[_0xd11629(0x1a4)]({'isFromAdapter':!0x0});}}),await this[_0x5e858c(0x201)](_0x5bc118);}[_0x40cabb(0x19d)](){const _0x133dc0=_0x40cabb;if(this[_0x133dc0(0x1a6)]instanceof _0x338402){const _0x5cbef3=this[_0x133dc0(0x1a6)][_0x133dc0(0x1f5)][_0x133dc0(0x1e2)](_0x133dc0(0x1f0));this[_0x133dc0(0x1f9)](_0x5cbef3);}}[_0x40cabb(0x1f9)](_0x2ddb48){const _0x5bccf8=_0x40cabb;if(!this[_0x5bccf8(0x1e1)][_0x5bccf8(0x19e)](_0x2ddb48))throw new _0x2a4f64(_0x5bccf8(0x1a7),null,{'channelId':_0x2ddb48});this[_0x5bccf8(0x1d4)](_0x2ddb48)[_0x5bccf8(0x1ef)](),this[_0x5bccf8(0x1e1)][_0x5bccf8(0x1fe)](_0x2ddb48);}async[_0x40cabb(0x1be)](){const _0x43fcc9=_0x40cabb;for(const _0x326bf1 of this[_0x43fcc9(0x1e1)][_0x43fcc9(0x1e4)]())await this[_0x43fcc9(0x201)](_0x326bf1);if(this[_0x43fcc9(0x1a6)]instanceof _0x338402){const _0x47a574=this[_0x43fcc9(0x1a6)][_0x43fcc9(0x1f5)][_0x43fcc9(0x1e2)](_0x43fcc9(0x1f0)),_0x14b1ed=this[_0x43fcc9(0x1a6)][_0x43fcc9(0x1b3)][_0x43fcc9(0x1e2)](_0x3edf86);_0x14b1ed[_0x43fcc9(0x1fc)](_0x47a574);const _0x3f8c7d=await this[_0x43fcc9(0x1e1)][_0x43fcc9(0x1e2)](_0x47a574)[_0x43fcc9(0x1ff)]();_0x14b1ed[_0x43fcc9(0x1fb)](_0x47a574,_0x3f8c7d);}}async[_0x40cabb(0x201)](_0x1247d2){const _0x3bb187=_0x40cabb,{connection:_0x2409c9}=this[_0x3bb187(0x1a6)][_0x3bb187(0x1b3)][_0x3bb187(0x1e2)](_0x164178),_0x32efed=this[_0x3bb187(0x1a6)][_0x3bb187(0x1b3)][_0x3bb187(0x1e2)](_0x3bb187(0x1ea)),_0x56b0eb=this[_0x3bb187(0x1e1)][_0x3bb187(0x1e2)](_0x1247d2),_0x1b5ddc=await _0x56b0eb[_0x3bb187(0x1c6)](_0x2409c9);await this[_0x3bb187(0x1c2)](_0x1b5ddc);const _0xb909b1=new Set(Array[_0x3bb187(0x1d8)](_0x32efed[_0x3bb187(0x1d7)]({'channelId':_0x1247d2}),_0x588d9c=>_0x588d9c['id']));for(const _0x31c18b of _0x1b5ddc)_0x31c18b[_0x3bb187(0x1f1)]||_0xb909b1[_0x3bb187(0x1fe)](_0x31c18b[_0x3bb187(0x1d3)]);for(const _0x3d9836 of _0xb909b1)_0x32efed[_0x3bb187(0x1f7)](_0x3d9836)[_0x3bb187(0x1a4)]({'isFromAdapter':!0x0});for(const _0x3134a2 of _0x1b5ddc){let _0x15e1d6=_0x32efed[_0x3bb187(0x1f7)](_0x3134a2[_0x3bb187(0x1d3)]);const {commentThreadId:_0xeb7682,context:_0x3affc6,attributes:_0x47b1f5,resolvedBy:_0x2c252b,resolvedAt:_0x45018b,unlinkedAt:_0x206ad8,deletedAt:_0x17e735}=_0x3134a2;if(_0x17e735)continue;_0x15e1d6||(_0x15e1d6=_0x32efed[_0x3bb187(0x1a1)]({'channelId':_0x1247d2,'threadId':_0xeb7682,'context':_0x3affc6,'attributes':_0x47b1f5||{},'resolvedBy':_0x2c252b,'resolvedAt':_0x45018b,'unlinkedAt':_0x206ad8,'isFromAdapter':!0x0}));const _0x512d9c=new Set(Array[_0x3bb187(0x1d8)](_0x15e1d6[_0x3bb187(0x1d0)],_0x9f8a93=>_0x9f8a93['id']));for(const _0x4ea6f9 of _0x3134a2[_0x3bb187(0x1d0)])_0x512d9c[_0x3bb187(0x1fe)](_0x4ea6f9[_0x3bb187(0x1e6)]);for(const _0x825bb8 of _0x512d9c)_0x15e1d6[_0x3bb187(0x1dc)](_0x825bb8)[_0x3bb187(0x1a4)]({'isFromAdapter':!0x0});for(const _0x5956e4 of _0x3134a2[_0x3bb187(0x1d0)]){const _0x481298=_0x15e1d6[_0x3bb187(0x1dc)](_0x5956e4[_0x3bb187(0x1e6)]);_0x481298?_0x481298[_0x3bb187(0x1f4)]!==_0x5956e4[_0x3bb187(0x1f4)]&&_0x481298[_0x3bb187(0x1ca)]({'content':_0x5956e4[_0x3bb187(0x1f4)],'isFromAdapter':!0x0}):_0x15e1d6[_0x3bb187(0x1c5)](Object[_0x3bb187(0x1bc)](p(_0x5956e4),{'isFromAdapter':!0x0}));}}}[_0x40cabb(0x1d4)](_0x5876d8){const _0x32b236=_0x40cabb;if(!this[_0x32b236(0x1e1)][_0x32b236(0x19e)](_0x5876d8))throw new _0x2a4f64(_0x32b236(0x1d9),null,{'channelId':_0x5876d8});return this[_0x32b236(0x1e1)][_0x32b236(0x1e2)](_0x5876d8);}async[_0x40cabb(0x1c2)](_0x37c6a2){const _0x32d084=_0x40cabb,_0x13b967=this[_0x32d084(0x1a6)][_0x32d084(0x1b3)][_0x32d084(0x1e2)](_0x13861e),{connection:_0x16e7dd}=this[_0x32d084(0x1a6)][_0x32d084(0x1b3)][_0x32d084(0x1e2)](_0x164178),_0x12a593=new Set();for(const {resolvedBy:_0x38d703,comments:_0x306db4}of _0x37c6a2){_0x38d703&&!_0x13b967[_0x32d084(0x202)](_0x38d703)&&_0x12a593[_0x32d084(0x1df)](_0x38d703);for(const {userId:_0x242363}of _0x306db4)_0x13b967[_0x32d084(0x202)](_0x242363)||_0x12a593[_0x32d084(0x1df)](_0x242363);}if(0x0===_0x12a593[_0x32d084(0x1cc)])return;const _0x2ac380=await _0x3e1cd6[_0x32d084(0x1c0)](_0x16e7dd,Array[_0x32d084(0x1d8)](_0x12a593));for(const _0x56c575 of _0x2ac380)_0x13b967[_0x32d084(0x202)](_0x56c575['id'])||_0x13b967[_0x32d084(0x1c3)](_0x56c575);}}export{s as CloudServicesCommentsAdapter};async function v(_0x39991c){const _0x4756a4=_0x40cabb;if(_0x4756a4(0x1b5)!==_0x39991c[_0x4756a4(0x1c1)])throw _0x39991c;}function A(_0x476d9d){const _0x1c5611=_0x40cabb;if((_0x30186c=_0x476d9d)[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1de))||_0x30186c[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1e8))||_0x30186c[_0x1c5611(0x1f3)][_0x1c5611(0x1ae)](_0x1c5611(0x1b6)))return new Promise(()=>{});var _0x30186c;throw _0x476d9d;}function p(_0x1fe630){const _0x201cac=_0x40cabb;return{'threadId':_0x1fe630[_0x201cac(0x1d3)],'commentId':_0x1fe630[_0x201cac(0x1e6)],'content':_0x1fe630[_0x201cac(0x1f4)],'createdAt':_0x1fe630[_0x201cac(0x1a3)],'authorId':_0x1fe630[_0x201cac(0x1a8)],'attributes':_0x1fe630[_0x201cac(0x1ee)]||{}};}function _0x6057(){const _0x51a3db=['resolvedAt','isOfficialPlugin','attributes','disconnect','collaboration.channelId','deletedAt','1508708eurNli','message','content','config','commentAdded','getCommentThread','sessionAdd:','_terminateService','Permissions','register','unregister','catch','delete','getConnectedSessions','20sjguSs','_connectService','getUser','31262BHeqio','destroy','has','updateComment','resolvedBy','addCommentThread','cloudservicescommentsadapter-connect-already-connected','createdAt','remove','map','context','cloudservicescommentsadapter-disconnect-not-exist','userId','8021651IDzjIX','commentThreadUpdated','commentUpdated','pluginName','reopenCommentThread','startsWith','removeComment','CommentsService','authorId','commentThreadReopened','plugins','removeCommentThread','404','cloud-services-internal-error:\x20Request\x20timeout.','mySessionId','1326654wNWTyq','setPermissions','resolve','17647LKtcnn','assign','commentThreadAdded','reconnect','resolveCommentThread','getMany','code','_fetchMissingUsersForThreads','addUser','990tximDF','addComment','connect','commentThreadRemoved','184nJnXnO','CloudServicesCommentsAdapter','update','5590512FWFuAu','size','listenTo','requires','commentRemoved','comments','commentThreadResolved','off','commentThreadId','_getService','_setUpService','init','getCommentThreads','from','cloudservicescommentsadapter-service-not-exist','adapter','10145hjGNph','getComment','5KRwmFr','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','add','set','_services','get','addToReconnectionStack','keys','isPremiumPlugin','commentId','permissions','cloud-services-internal-error:\x20Not\x20connected.','updateCommentThread','CommentsRepository','reopen'];_0x6057=function(){return _0x51a3db;};return _0x6057();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x5ee9(){const _0x358cf9=['_setUpService','editor','get','change:state','12CMTojU','data','connected','requires','103587ojifFw','9804510WBHEOt','collaboration.channelId','switchReadOnly','15uYDuNH','1733154wsgJtG','destroy','CommentsRepository','isOfficialPlugin','Comments','once','isPremiumPlugin','CommentsEditing','config','2813724cpmWKZ','init','912212PDQQIw','1068933woHaVZ','plugins','_terminateService','ready','RealTimeCollaborativeComments','isThreadsLoadingPaused','3416808CKAkGi','listenTo','pluginName'];_0x5ee9=function(){return _0x358cf9;};return _0x5ee9();}const _0x28835f=_0x4153;(function(_0x601448,_0xd10496){const _0x3390c8=_0x4153,_0xc8f8b=_0x601448();while(!![]){try{const _0x433128=-parseInt(_0x3390c8(0xbd))/0x1+parseInt(_0x3390c8(0xcb))/0x2+parseInt(_0x3390c8(0xce))/0x3*(parseInt(_0x3390c8(0xdb))/0x4)+parseInt(_0x3390c8(0xc1))/0x5*(-parseInt(_0x3390c8(0xc2))/0x6)+-parseInt(_0x3390c8(0xcd))/0x7+parseInt(_0x3390c8(0xd4))/0x8+-parseInt(_0x3390c8(0xbe))/0x9;if(_0x433128===_0xd10496)break;else _0xc8f8b['push'](_0xc8f8b['shift']());}catch(_0x24b106){_0xc8f8b['push'](_0xc8f8b['shift']());}}}(_0x5ee9,0xae142));import{Plugin as _0x3e885b}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2eb697}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x49fff1}from'./realtimecollaborativeediting.js';function _0x4153(_0xe138e,_0x4e1fed){const _0x5ee90d=_0x5ee9();return _0x4153=function(_0x4153d2,_0xec1f84){_0x4153d2=_0x4153d2-0xbd;let _0x1fb672=_0x5ee90d[_0x4153d2];return _0x1fb672;},_0x4153(_0xe138e,_0x4e1fed);}import{WebSocketGateway as _0x1174b4}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x3e885b{static get[_0x28835f(0xde)](){const _0x4fe2d1=_0x28835f;return[_0x4fe2d1(0xc6),_0x2eb697,_0x49fff1,_0x1174b4];}static get[_0x28835f(0xd6)](){const _0xb05295=_0x28835f;return _0xb05295(0xd2);}static get[_0x28835f(0xc5)](){return!0x0;}static get[_0x28835f(0xc8)](){return!0x0;}[_0x28835f(0xcc)](){const _0x134612=_0x28835f,_0x41d39a=this[_0x134612(0xd8)][_0x134612(0xcf)][_0x134612(0xd9)](_0x1174b4),_0x55c02b=this[_0x134612(0xd8)][_0x134612(0xcf)][_0x134612(0xd9)](_0x134612(0xc9)),_0x24c4d4=this[_0x134612(0xd8)][_0x134612(0xcf)][_0x134612(0xd9)](_0x2eb697);return this[_0x134612(0xd8)][_0x134612(0xdc)][_0x134612(0xc7)](_0x134612(0xd1),()=>{const _0x3b67dc=_0x134612;this[_0x3b67dc(0xd5)](_0x41d39a,_0x3b67dc(0xda),(_0x58d468,_0x5cafa0,_0x22ab0a)=>{const _0x50f43a=_0x3b67dc;_0x55c02b[_0x50f43a(0xd3)]=_0x50f43a(0xdd)!==_0x22ab0a;});}),this[_0x134612(0xd5)](_0x41d39a,_0x134612(0xda),(_0x5b4d18,_0x2d303a,_0x2f8770)=>{const _0x19890e=_0x134612;this[_0x19890e(0xd8)][_0x19890e(0xcf)][_0x19890e(0xd9)](_0x19890e(0xc4))[_0x19890e(0xc0)](_0x19890e(0xdd)!==_0x2f8770);}),_0x24c4d4[_0x134612(0xd7)](this[_0x134612(0xd8)][_0x134612(0xca)][_0x134612(0xd9)](_0x134612(0xbf)));}[_0x28835f(0xc3)](){const _0x47c8bc=_0x28835f;this[_0x47c8bc(0xd8)][_0x47c8bc(0xcf)][_0x47c8bc(0xd9)](_0x2eb697)[_0x47c8bc(0xd0)](this[_0x47c8bc(0xd8)][_0x47c8bc(0xca)][_0x47c8bc(0xd9)](_0x47c8bc(0xbf))),super[_0x47c8bc(0xc3)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0xc7dd8a)());[_0x11b185(0x16a)];[_0x11b185(0x181)];[_0x11b185(0x16b)];[_0x11b185(0x130)];[_0x11b185(0x174)];[_0x11b185(0x14e)];[_0x11b185(0x17b)];[_0x11b185(0x170)];[_0x11b185(0x18e)];[_0x11b185(0x1e7)];[_0x11b185(0x1e0)];[_0x11b185(0x1d1)];[_0x11b185(0x117)];[_0x11b185(0x21c)];[_0x11b185(0x165)];[_0x11b185(0x123)];[_0x11b185(0x1d3)];[_0x11b185(0x20f)];static get[_0x11b185(0x15b)](){return[_0x8aa329,_0x10854f,_0x304d6b,_0x58ef67,_0x14a7cf,_0xda24db];}static get[_0x11b185(0x183)](){const _0x4135e6=_0x11b185;return _0x4135e6(0x19f);}static get[_0x11b185(0x218)](){return!0x0;}static get[_0x11b185(0x126)](){return!0x0;}get[_0x11b185(0x141)](){const _0x1c571a=_0x11b185;return this[_0x1c571a(0x135)]+this[_0x1c571a(0x16a)];}get[_0x11b185(0x135)](){const _0x3519c8=_0x11b185;return this[_0x3519c8(0x16b)][_0x3519c8(0x209)]-this[_0x3519c8(0x16a)];}get[_0x11b185(0x11e)](){const _0x479f79=_0x11b185,_0x510e8c=this[_0x479f79(0x16b)][_0x479f79(0x13a)]();for(let _0x388724=_0x510e8c[_0x479f79(0x208)]-0x1;_0x388724>=0x0;_0x388724--){const _0x4e29db=_0x510e8c[_0x388724];if(!this[_0x479f79(0x1d3)][_0x479f79(0x172)](_0x4e29db))return _0x4e29db[_0x479f79(0x1be)]+0x1-this[_0x479f79(0x16a)];}return 0x0;}constructor(_0x21e513){const _0x47a974=_0x11b185;if(super(_0x21e513),this[_0x47a974(0x16a)]=0x0,this[_0x47a974(0x181)]=null,this[_0x47a974(0x16b)]=new _0x4d6a87(),this[_0x47a974(0x129)][_0x47a974(0x206)][_0x47a974(0x127)](_0x47a974(0x1e1),{}),this[_0x47a974(0x130)]=this[_0x47a974(0x129)][_0x47a974(0x206)][_0x47a974(0x160)](_0x47a974(0x128)),!this[_0x47a974(0x130)])throw new _0x1510e6(_0x47a974(0x212),this);const _0x1b54a1=_0x21e513[_0x47a974(0x206)][_0x47a974(0x160)](_0x47a974(0x1dc))||_0x3c1129;this[_0x47a974(0x174)]=new l[(_0x47a974(0x1b6))](_0x1b54a1,this[_0x47a974(0x130)]),this[_0x47a974(0x14e)]=this[_0x47a974(0x129)][_0x47a974(0x1bd)][_0x47a974(0x1ba)],this[_0x47a974(0x17b)]=new _0x2dfa6(),this[_0x47a974(0x170)]=[],this[_0x47a974(0x18e)]=new WeakSet(),this[_0x47a974(0x1e7)]=new Set(),this[_0x47a974(0x210)](_0x47a974(0x202),!0x1),this[_0x47a974(0x210)](_0x47a974(0x1c4),!0x1),this[_0x47a974(0x1e0)]=null,this[_0x47a974(0x1d1)]=!0x1,this[_0x47a974(0x117)]=null,this[_0x47a974(0x21c)]=0x12c,this[_0x47a974(0x165)]=this[_0x47a974(0x21c)],this[_0x47a974(0x123)]=null,this[_0x47a974(0x1d3)]=new WeakSet(),this[_0x47a974(0x20f)]=new J(this[_0x47a974(0x1d3)]);}[_0x11b185(0x205)](){const _0x23cb71=_0x11b185,_0x2d71d0=this[_0x23cb71(0x129)],_0x4d59e1=_0x2d71d0[_0x23cb71(0x1dd)][_0x23cb71(0x160)](_0x14a7cf),_0x30c5b5=_0x2d71d0[_0x23cb71(0x1dd)][_0x23cb71(0x160)](_0x8aa329);this[_0x23cb71(0x13c)](_0x4d59e1,_0x23cb71(0x1fc),(_0x523b6e,_0x199615)=>{const _0x5a9ea7=_0x23cb71,_0x5c011b=_0x199615[0x0];_0x5c011b[_0x5a9ea7(0x166)]&&(_0x523b6e[_0x5a9ea7(0x1bb)]=_0x4d59e1[_0x5a9ea7(0x14f)](_0x5c011b[_0x5a9ea7(0x166)]),_0x523b6e[_0x5a9ea7(0x12d)]()),null===_0x5c011b[_0x5a9ea7(0x166)]&&(_0x523b6e[_0x5a9ea7(0x1bb)]=null,_0x523b6e[_0x5a9ea7(0x12d)]());},{'priority':_0x23cb71(0x199)}),this[_0x23cb71(0x13c)](_0x2d71d0[_0x23cb71(0x1bd)][_0x23cb71(0x1ba)][_0x23cb71(0x21e)],_0x23cb71(0x1ce),(_0xaa4eb,_0x1a6aef)=>{const _0xad800f=_0x23cb71;_0x1a6aef[_0xad800f(0x21a)]&&this[_0xad800f(0x12f)]();}),this[_0x23cb71(0x13c)](_0x2d71d0[_0x23cb71(0x1cb)][_0x23cb71(0x120)],_0x23cb71(0x1c0),()=>{const _0x3133e9=_0x23cb71;this[_0x3133e9(0x12f)]();}),this[_0x23cb71(0x214)](),_0x2d71d0[_0x23cb71(0x1bd)]['on'](_0x23cb71(0x1cd),(_0xf76db2,_0x231c27)=>{const _0x4c459b=_0x23cb71,_0x2fde8e=_0x231c27[0x0];_0x2fde8e[_0x4c459b(0x1fb)]&&(this[_0x4c459b(0x11c)](_0x2fde8e),this[_0x4c459b(0x1de)]()&&this[_0x4c459b(0x182)]());}),this[_0x23cb71(0x122)](),this[_0x23cb71(0x1bf)](_0x23cb71(0x159))['to'](_0x30c5b5,_0x23cb71(0x1b8),this,_0x23cb71(0x1c4),(_0x252e02,_0x41a625)=>_0x23cb71(0x194)===_0x252e02&&!_0x41a625),this['on'](_0x23cb71(0x138),()=>{const _0x35c3ac=_0x23cb71;this[_0x35c3ac(0x159)]?_0x2d71d0[_0x35c3ac(0x14b)](_0x35c3ac(0x1ca)):_0x2d71d0[_0x35c3ac(0x1b0)](_0x35c3ac(0x1ca));}),this[_0x23cb71(0x159)]?_0x2d71d0[_0x23cb71(0x14b)](_0x23cb71(0x1ca)):_0x2d71d0[_0x23cb71(0x1b0)](_0x23cb71(0x1ca)),this[_0x23cb71(0x210)](_0x23cb71(0x149),!0x1);}async[_0x11b185(0x157)](){const _0x5ad048=_0x11b185,_0x34c4ce=this[_0x5ad048(0x129)][_0x5ad048(0x1dd)][_0x5ad048(0x160)](_0x10854f),_0x2cd1e7=this[_0x5ad048(0x129)][_0x5ad048(0x1dd)][_0x5ad048(0x160)](_0x8aa329);try{this[_0x5ad048(0x202)]=!0x0,_0x34c4ce[_0x5ad048(0x137)](this[_0x5ad048(0x130)]);const _0x51134a=await this[_0x5ad048(0x174)][_0x5ad048(0x157)](_0x2cd1e7[_0x5ad048(0x167)],this[_0x5ad048(0x11e)]);await this[_0x5ad048(0x1ec)](_0x51134a)&&(this[_0x5ad048(0x202)]=!0x1,this[_0x5ad048(0x1e3)]());const _0x42bc34=await this[_0x5ad048(0x174)][_0x5ad048(0x152)]();_0x34c4ce[_0x5ad048(0x142)](this[_0x5ad048(0x130)],_0x42bc34),this[_0x5ad048(0x1cc)](),this[_0x5ad048(0x149)]=!0x0;}catch(_0x42e2e6){if(function(_0x3290b4){const _0x3aaade=_0x5ad048;return _0x3aaade(0x153)===_0x3290b4[_0x3aaade(0x1a0)];}(_0x42e2e6)&&this[_0x5ad048(0x181)])await this[_0x5ad048(0x213)]();else{if(function(_0x1656ea){const _0x365728=_0x5ad048;return _0x365728(0x1a2)===_0x1656ea[_0x365728(0x1a0)];}(_0x42e2e6)){const _0x10d00f=_0x473c58(this[_0x5ad048(0x129)][_0x5ad048(0x178)],_0x5ad048(0x1b1));this[_0x5ad048(0x19a)](_0x10d00f);}else{if(!(_0x42e2e6 instanceof $))throw _0x42e2e6;this[_0x5ad048(0x19a)]();}}}}[_0x11b185(0x1a9)](){const _0x146786=_0x11b185,_0xbcdd1c=this[_0x146786(0x129)][_0x146786(0x1dd)][_0x146786(0x160)](_0x8aa329),_0x69b494=this[_0x146786(0x129)][_0x146786(0x1dd)][_0x146786(0x160)](_0x10854f);this[_0x146786(0x129)][_0x146786(0x1b0)](_0x146786(0x1f3)),_0x69b494[_0x146786(0x203)][_0x146786(0x172)](this[_0x146786(0x130)])&&_0x69b494[_0x146786(0x137)](this[_0x146786(0x130)]),_0xbcdd1c[_0x146786(0x155)](this),this[_0x146786(0x1f5)](),super[_0x146786(0x1a9)]();}async[_0x11b185(0x1ec)](_0x2460b7){const _0x5eea7b=_0x11b185;if(this[_0x5eea7b(0x181)]!==_0x2460b7[_0x5eea7b(0x181)]&&this[_0x5eea7b(0x123)]!==_0x2460b7[_0x5eea7b(0x162)])throw new $();return this[_0x5eea7b(0x181)]=_0x2460b7[_0x5eea7b(0x181)],this[_0x5eea7b(0x12b)]([],{..._0x2460b7,'wereChangesApplied':!0x1,'data':_0x2460b7[_0x5eea7b(0x1d6)]},_0x5eea7b(0x157));}async[_0x11b185(0x1f0)](_0x2f7981,_0x24c42b=!0x1){const _0x2a8829=_0x11b185,{connection:_0xd8fcfa}=this[_0x2a8829(0x129)][_0x2a8829(0x1dd)][_0x2a8829(0x160)](_0x8aa329);l[_0x2a8829(0x1b6)][_0x2a8829(0x152)](_0xd8fcfa,this[_0x2a8829(0x130)])[_0x2a8829(0x1ee)](_0x4f7ed8=>this[_0x2a8829(0x17e)](_0x4f7ed8))[_0x2a8829(0x14c)](_0x477bce=>{const _0x1525e7=_0x2a8829;this[_0x1525e7(0x1a4)](_0x1525e7(0x132),_0x477bce);}),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x1a8),this[_0x2a8829(0x1af)][_0x2a8829(0x1bf)](this)),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x1c1),(_0x2ff4b6,_0x18ab3e)=>{const _0x9885f4=_0x2a8829;this[_0x9885f4(0x1a4)](_0x9885f4(0x1b4),_0x18ab3e);}),this[_0x2a8829(0x13c)](this[_0x2a8829(0x174)],_0x2a8829(0x154),()=>{const _0x34b5e7=_0x2a8829;this[_0x34b5e7(0x149)]=!0x1;});const _0x4b8e5d=this[_0x2a8829(0x20f)][_0x2a8829(0x20d)](_0x2f7981);this[_0x2a8829(0x202)]=!0x0;const _0x1b0c8e=await this[_0x2a8829(0x174)][_0x2a8829(0x139)](_0xd8fcfa,this[_0x2a8829(0x16c)](_0x2f7981),_0x4b8e5d);if(this[_0x2a8829(0x181)]=_0x1b0c8e[_0x2a8829(0x181)],_0x24c42b){if(!_0x1b0c8e[_0x2a8829(0x1c3)])return void this[_0x2a8829(0x19a)]();this[_0x2a8829(0x202)]=!0x1,this[_0x2a8829(0x1e3)](),this[_0x2a8829(0x16b)][_0x2a8829(0x1e6)](),this[_0x2a8829(0x16a)]=_0x1b0c8e[_0x2a8829(0x179)],this[_0x2a8829(0x16b)][_0x2a8829(0x209)]=this[_0x2a8829(0x16a)],await this[_0x2a8829(0x12b)](_0x2f7981,_0x1b0c8e,_0x2a8829(0x198));}else await this[_0x2a8829(0x1f1)](_0x1b0c8e,_0x2f7981);this[_0x2a8829(0x1cc)](),this[_0x2a8829(0x149)]=!0x0;}[_0x11b185(0x1cc)](){const _0x29c5e5=_0x11b185,_0x33e3e1=this[_0x29c5e5(0x129)][_0x29c5e5(0x1dd)][_0x29c5e5(0x160)](_0x10854f),_0x3396ec=this[_0x29c5e5(0x129)][_0x29c5e5(0x1dd)][_0x29c5e5(0x160)](_0x304d6b),_0x41c915=_0x33e3e1[_0x29c5e5(0x203)][_0x29c5e5(0x160)](this[_0x29c5e5(0x130)]);_0x41c915&&_0x41c915[_0x29c5e5(0x208)]>0x1?_0x3396ec[_0x29c5e5(0x20c)]():this[_0x29c5e5(0x13c)](_0x33e3e1,_0x29c5e5(0x1ac)+this[_0x29c5e5(0x130)],()=>{const _0xf7c499=_0x29c5e5;0x2===_0x33e3e1[_0xf7c499(0x203)][_0xf7c499(0x160)](this[_0xf7c499(0x130)])[_0xf7c499(0x208)]&&_0x3396ec[_0xf7c499(0x20c)]();});}async[_0x11b185(0x1af)](_0x5bf733,_0x132c37,_0x4ee2fe,_0x4ae537){const _0x41a145=_0x11b185;if(!this[_0x41a145(0x202)]&&this[_0x41a145(0x14e)][_0x41a145(0x209)]==_0x132c37){const _0x152b3d=this[_0x41a145(0x1ff)](_0x4ee2fe,_0x4ae537);await this[_0x41a145(0x21d)](_0x152b3d),this[_0x41a145(0x1d4)](_0x152b3d,_0x132c37,_0x4ee2fe[_0x41a145(0x162)])||this[_0x41a145(0x1a4)](_0x41a145(0x15a));}}async[_0x11b185(0x213)](){const _0x510dfb=_0x11b185;this[_0x510dfb(0x1f5)]();const {locale:_0x18c5c3}=this[_0x510dfb(0x129)];let _0x18cce3;try{_0x18cce3=await this[_0x510dfb(0x174)][_0x510dfb(0x1f6)]();}catch{const _0x230973=_0x473c58(_0x18c5c3,_0x510dfb(0x17f));return void this[_0x510dfb(0x19a)](_0x230973);}const _0x3ff794=_0x18cce3[_0x510dfb(0x21b)]||_0x18cce3[_0x510dfb(0x168)];if(this[_0x510dfb(0x123)]!==_0x3ff794[_0x510dfb(0x162)]){const _0x1bee2a=_0x473c58(_0x18c5c3,_0x510dfb(0x207));return void this[_0x510dfb(0x19a)](_0x1bee2a);}await this[_0x510dfb(0x1f0)](this[_0x510dfb(0x129)][_0x510dfb(0x1bd)][_0x510dfb(0x1ba)][_0x510dfb(0x188)][_0x510dfb(0x13a)](),!0x0);}[_0x11b185(0x1f5)](){const _0x33c8c0=_0x11b185;this[_0x33c8c0(0x174)][_0x33c8c0(0x17d)](),this[_0x33c8c0(0x170)]=[],clearTimeout(this[_0x33c8c0(0x117)]),this[_0x33c8c0(0x1f9)](this[_0x33c8c0(0x174)]);}[_0x11b185(0x17e)](_0x208fe5){const _0x5c9dc5=_0x11b185,_0xd52af=this[_0x5c9dc5(0x129)][_0x5c9dc5(0x1dd)][_0x5c9dc5(0x160)](_0x10854f);this[_0x5c9dc5(0x13c)](_0xd52af,_0x5c9dc5(0x1ac)+this[_0x5c9dc5(0x130)],(_0x1c8695,{session:_0x406066})=>{const _0x174433=_0x5c9dc5;if(_0x406066['id']===_0xd52af[_0x174433(0x145)]){_0x1c8695[_0x174433(0x15d)]();const _0x562592=this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x172)](_0x174433(0x1a3))&&this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x160)](_0x174433(0x1a3));let _0x192d40=_0x406066[_0x174433(0x1f2)];_0x562592&&_0x562592[_0x174433(0x1b7)]&&(_0x192d40=_0x192d40[_0x174433(0x18c)](_0x328532=>_0x174433(0x1fa)!==_0x328532)),this[_0x174433(0x129)][_0x174433(0x1dd)][_0x174433(0x160)](_0x174433(0x1e8))[_0x174433(0x118)](_0x192d40,this[_0x174433(0x130)]);}}),_0xd52af[_0x5c9dc5(0x142)](this[_0x5c9dc5(0x130)],_0x208fe5);}[_0x11b185(0x214)](){const _0x2175f9=_0x11b185,_0x2f5322=this[_0x2175f9(0x129)][_0x2175f9(0x1d6)][_0x2175f9(0x210)];this[_0x2175f9(0x129)][_0x2175f9(0x1d6)][_0x2175f9(0x210)]=(..._0x8e4460)=>{const _0x41992d=_0x2175f9;if(!_0x8e4460[_0x8e4460[_0x41992d(0x208)]-0x1][_0x41992d(0x17c)])throw new _0x1510e6(_0x41992d(0x18d),this);_0x2f5322[_0x41992d(0x216)](this[_0x41992d(0x129)][_0x41992d(0x1d6)],_0x8e4460);};}[_0x11b185(0x122)](){const _0x11b908=_0x11b185;this[_0x11b908(0x129)][_0x11b908(0x1d6)]['on'](_0x11b908(0x205),(_0x17752c,[_0x3ca638])=>{const _0x2d83a3=_0x11b908;if(this[_0x2d83a3(0x14e)][_0x2d83a3(0x209)])throw new _0x1510e6(_0x2d83a3(0x204),this);_0x17752c[_0x2d83a3(0x12d)](),this[_0x2d83a3(0x180)]();const _0x3f2914=this[_0x2d83a3(0x129)][_0x2d83a3(0x206)][_0x2d83a3(0x160)](_0x2d83a3(0x1a1)),_0x5503d3=this[_0x2d83a3(0x196)](_0x3ca638,_0x3f2914);0x0==_0x5503d3[_0x2d83a3(0x208)]&&_0x5503d3[_0x2d83a3(0x200)](new _0x27aecf(0x0)),_0x17752c[_0x2d83a3(0x1bb)]=this[_0x2d83a3(0x1f0)](_0x5503d3)[_0x2d83a3(0x1ee)](()=>{const _0x21c831=_0x2d83a3;this[_0x21c831(0x129)][_0x21c831(0x1dd)][_0x21c831(0x160)](_0x8aa329)[_0x21c831(0x1e2)](this),this[_0x21c831(0x129)][_0x21c831(0x1d6)][_0x21c831(0x1ea)](_0x21c831(0x19b));})[_0x2d83a3(0x14c)](_0x4a5274=>this[_0x2d83a3(0x1a4)](_0x2d83a3(0x134),_0x4a5274))[_0x2d83a3(0x1e4)](()=>this[_0x2d83a3(0x1e3)]());},{'priority':_0x11b908(0x199)}),this[_0x11b908(0x129)]['on'](_0x11b908(0x12c),async(_0x548400,[_0x5675d4,_0x3fb737])=>{const _0x7c7b1b=_0x11b908;_0x548400[_0x7c7b1b(0x12d)]();const _0x436b13=this[_0x7c7b1b(0x129)][_0x7c7b1b(0x1bd)][_0x7c7b1b(0x1ba)][_0x7c7b1b(0x164)](_0x5675d4);if(!this[_0x7c7b1b(0x1e7)][_0x7c7b1b(0x172)](_0x5675d4)){const _0x38b4ff=_0x3fb737&&_0x3fb737[_0x7c7b1b(0x1d6)]?_0x3fb737[_0x7c7b1b(0x1d6)]:'',_0x31d82f=_0x3fb737&&_0x3fb737[_0x7c7b1b(0x171)]?_0x3fb737[_0x7c7b1b(0x171)]:{};await this[_0x7c7b1b(0x19c)](_0x5675d4,_0x38b4ff,_0x31d82f);}this[_0x7c7b1b(0x129)][_0x7c7b1b(0x1bd)][_0x7c7b1b(0x1ad)]({'isUndoable':!0x1},()=>{const _0x146b94=_0x7c7b1b;_0x436b13[_0x146b94(0x11d)]=!0x0,this[_0x146b94(0x129)][_0x146b94(0x1bd)][_0x146b94(0x1ba)][_0x146b94(0x1a7)][_0x146b94(0x1fd)](_0x436b13);});},{'priority':_0x11b908(0x199)});}async[_0x11b185(0x21d)](_0x4777d3){const _0xa87b9a=_0x11b185,_0x1ea85b=this[_0xa87b9a(0x129)][_0xa87b9a(0x1dd)][_0xa87b9a(0x160)](_0x14a7cf),{connection:_0x584a71}=this[_0xa87b9a(0x129)][_0xa87b9a(0x1dd)][_0xa87b9a(0x160)](_0x8aa329),_0x3a2256=new Set();for(const _0x46b103 of _0x4777d3){const _0x59e033=_0x46b103[_0xa87b9a(0x166)];_0x59e033&&!_0x1ea85b[_0xa87b9a(0x14f)](_0x59e033)&&_0x3a2256[_0xa87b9a(0x143)](_0x59e033);}if(0x0===_0x3a2256[_0xa87b9a(0x15e)])return;const _0x3ff189=await _0xcf351c[_0xa87b9a(0x20e)](_0x584a71,Array[_0xa87b9a(0x20b)](_0x3a2256));for(const _0x226fe0 of _0x3ff189)_0x1ea85b[_0xa87b9a(0x14f)](_0x226fe0['id'])||_0x1ea85b[_0xa87b9a(0x1f8)](_0x226fe0);}[_0x11b185(0x196)](_0x146b6b,_0x212d82={}){const _0x17aba6=_0x11b185,_0x4d0f01=this[_0x17aba6(0x129)][_0x17aba6(0x1bd)],_0x6eafd9=[];let _0x507bd4=0x0;const _0x54e7dd=_0x17aba6(0x1f4)==typeof _0x146b6b?{'main':_0x146b6b}:_0x146b6b;for(const _0x2be16c of Object[_0x17aba6(0x156)](_0x54e7dd)){if(!this[_0x17aba6(0x14e)][_0x17aba6(0x1d8)][_0x17aba6(0x172)](_0x2be16c))throw new _0x1510e6(_0x17aba6(0x1eb),this);const _0x7f67e5=this[_0x17aba6(0x129)][_0x17aba6(0x1d6)][_0x17aba6(0x186)](_0x54e7dd[_0x2be16c]),_0x4ac9b6=this[_0x17aba6(0x14e)][_0x17aba6(0x164)](_0x2be16c),_0x56d567=new _0x35ef47(_0x4d0f01[_0x17aba6(0x16e)](_0x4ac9b6,0x0),_0x7f67e5,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x56d567);for(const [_0x305e62,_0x1d423d]of _0x7f67e5[_0x17aba6(0x13b)]){const _0x2a9898=_0x4d0f01[_0x17aba6(0x1da)](_0x4d0f01[_0x17aba6(0x15f)](_0x4ac9b6,_0x1d423d[_0x17aba6(0x18f)][_0x17aba6(0x1c5)][_0x17aba6(0x169)]()),_0x4d0f01[_0x17aba6(0x15f)](_0x4ac9b6,_0x1d423d[_0x17aba6(0x148)][_0x17aba6(0x1c5)][_0x17aba6(0x169)]())),_0x11d3ad=new _0x520762(_0x305e62,null,_0x2a9898,_0x4d0f01[_0x17aba6(0x13b)],!0x0,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x11d3ad);}}if(_0x212d82)for(const [_0x5868a2,_0x1511f7]of Object[_0x17aba6(0x1a5)](_0x212d82)){const _0xe92aa5=_0x4d0f01[_0x17aba6(0x1ba)][_0x17aba6(0x164)](_0x5868a2);if(!_0xe92aa5)throw new _0x1510e6(_0x17aba6(0x163),null);for(const [_0x227624,_0xf113ee]of Object[_0x17aba6(0x1a5)](_0x1511f7))if(null!==_0xf113ee){const _0x5e34b4=new _0x62aac(_0xe92aa5,_0x227624,null,_0xf113ee,_0x507bd4++);_0x6eafd9[_0x17aba6(0x200)](_0x5e34b4);}}return _0x6eafd9;}async[_0x11b185(0x19c)](_0xadb2a4,_0x39c197,_0x4f492b){const _0x468e90=_0x11b185;this[_0x468e90(0x196)]({[_0xadb2a4]:_0x39c197},{[_0xadb2a4]:_0x4f492b})[_0x468e90(0x1d7)]((_0x4abf6d,_0x4e0959)=>{const _0x4d93cc=_0x468e90;_0x4abf6d[_0x4d93cc(0x1be)]=this[_0x4d93cc(0x14e)][_0x4d93cc(0x209)]+_0x4e0959,_0x4abf6d[_0x4d93cc(0x161)]=!0x0,this[_0x4d93cc(0x11c)](_0x4abf6d);}),this[_0x468e90(0x182)](),await this[_0x468e90(0x1d0)]();}async[_0x11b185(0x1f1)](_0x228e33,_0x4de179){const _0x430dcd=_0x11b185;let _0x43f788;this[_0x430dcd(0x16a)]=_0x228e33[_0x430dcd(0x179)];const _0x397c7c=_0x228e33[_0x430dcd(0x1c3)]&&!_0x228e33[_0x430dcd(0x19e)],_0x359168=_0x397c7c?0x0:_0x228e33[_0x430dcd(0x1d6)][_0x430dcd(0x1be)];if(_0x4de179[_0x430dcd(0x1d7)](_0x308c29=>{const _0x491d6a=_0x430dcd;_0x308c29[_0x491d6a(0x161)]=!0x0,_0x308c29[_0x491d6a(0x215)]=_0x228e33[_0x491d6a(0x13f)],_0x308c29[_0x491d6a(0x166)]=null;}),_0x397c7c)_0x43f788=_0x4de179,this[_0x430dcd(0x11b)](_0x43f788,_0x397c7c);else{if(_0x228e33[_0x430dcd(0x19e)]){const _0x58fe96=this[_0x430dcd(0x196)](_0x228e33[_0x430dcd(0x19e)]);this[_0x430dcd(0x14e)][_0x430dcd(0x188)][_0x430dcd(0x209)]=-_0x58fe96[_0x430dcd(0x208)],_0x58fe96[_0x430dcd(0x1d7)](_0x54209f=>{const _0x319c0a=_0x430dcd;_0x54209f[_0x319c0a(0x1be)]-=_0x58fe96[_0x319c0a(0x208)],_0x54209f[_0x319c0a(0x215)]=_0x228e33[_0x319c0a(0x13f)],_0x54209f[_0x319c0a(0x161)]=!0x0,_0x54209f[_0x319c0a(0x166)]=null;}),this[_0x430dcd(0x11b)](_0x58fe96,!0x0),this[_0x430dcd(0x16b)][_0x430dcd(0x209)]=-_0x58fe96[_0x430dcd(0x208)]+this[_0x430dcd(0x16a)],this[_0x430dcd(0x1b3)](_0x58fe96);}this[_0x430dcd(0x14e)][_0x430dcd(0x188)][_0x430dcd(0x209)]=_0x359168,_0x43f788=this[_0x430dcd(0x1ff)](_0x228e33[_0x430dcd(0x1d6)],_0x228e33[_0x430dcd(0x16d)]),await this[_0x430dcd(0x21d)](_0x43f788),this[_0x430dcd(0x11b)](_0x43f788,_0x397c7c);}_0x228e33[_0x430dcd(0x162)]&&(this[_0x430dcd(0x20f)][_0x430dcd(0x125)](_0x43f788,_0x228e33[_0x430dcd(0x162)]),this[_0x430dcd(0x123)]=_0x228e33[_0x430dcd(0x162)]),this[_0x430dcd(0x16b)][_0x430dcd(0x209)]=_0x359168+this[_0x430dcd(0x16a)],this[_0x430dcd(0x1b3)](_0x43f788),_0x4de179[_0x430dcd(0x18c)](_0x3c6fd7=>{const _0x7bd248=_0x430dcd,_0x5f164a=this[_0x7bd248(0x1c2)](_0x3c6fd7);return _0x5f164a&&!this[_0x7bd248(0x1e7)][_0x7bd248(0x172)](_0x5f164a);})[_0x430dcd(0x1d7)]((_0x175c89,_0x3cb17b)=>{const _0x4dfb2c=_0x430dcd;_0x175c89[_0x4dfb2c(0x1be)]=this[_0x4dfb2c(0x14e)][_0x4dfb2c(0x209)]+_0x3cb17b,this[_0x4dfb2c(0x11c)](_0x175c89);}),this[_0x430dcd(0x1de)]()?(this[_0x430dcd(0x165)]=0x0,this[_0x430dcd(0x182)](!0x0),await this[_0x430dcd(0x1d0)]()):(this[_0x430dcd(0x202)]=!0x1,this[_0x430dcd(0x1e3)]());}[_0x11b185(0x1a4)](_0xae9c0d,_0x546852){const _0x39b756=_0x11b185,_0x4982f=_0x546852&&_0x546852[_0x39b756(0x147)];if(_0x4982f&&_0x4982f[_0x39b756(0x185)](_0x39b756(0x173)))throw _0x546852;const _0x1a351f=this[_0x39b756(0x129)][_0x39b756(0x1dd)][_0x39b756(0x160)](_0x8aa329);throw this[_0x39b756(0x202)]=!0x0,_0x1a351f[_0x39b756(0x17d)](),this[_0x39b756(0x129)][_0x39b756(0x1b0)](_0x39b756(0x1b9)),new _0x1510e6(_0xae9c0d,this[_0x39b756(0x129)],_0x4982f?{'originalError':_0x4982f}:void 0x0);}[_0x11b185(0x11c)](_0xbc87d){const _0x12c44e=_0x11b185;this[_0x12c44e(0x18e)][_0x12c44e(0x172)](_0xbc87d)||(this[_0x12c44e(0x18e)][_0x12c44e(0x143)](_0xbc87d),this[_0x12c44e(0x170)][_0x12c44e(0x200)](_0xbc87d),this[_0x12c44e(0x1e0)]||_0x12c44e(0x1d9)==_0xbc87d[_0x12c44e(0x140)]&&!_0xbc87d[_0x12c44e(0x12e)]||this[_0x12c44e(0x180)]());}[_0x11b185(0x182)](_0xafc7c2=!0x1){const _0x58714f=_0x11b185;!_0xafc7c2&&this[_0x58714f(0x202)]||(this[_0x58714f(0x202)]=!0x0,clearTimeout(this[_0x58714f(0x117)]),this[_0x58714f(0x117)]=setTimeout(()=>{const _0x15584a=_0x58714f;this[_0x15584a(0x11f)]()[_0x15584a(0x1ee)](_0x479280=>{const _0x290224=_0x15584a;_0x479280&&(this[_0x290224(0x1e3)](),this[_0x290224(0x202)]=!0x1);})[_0x15584a(0x14c)](_0x36202d=>{const _0x46504f=_0x15584a;this[_0x46504f(0x1e3)](),this[_0x46504f(0x202)]=!0x1,function(_0x57e9ed){const _0x1b4acb=_0x46504f;return _0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1e5))||_0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1c8))||_0x57e9ed[_0x1b4acb(0x147)][_0x1b4acb(0x185)](_0x1b4acb(0x1d2));}(_0x36202d)||this[_0x46504f(0x1a4)](_0x36202d[_0x46504f(0x147)],_0x36202d);});},this[_0x58714f(0x165)]));}[_0x11b185(0x1d0)](){return new Promise(_0x6d14e7=>{const _0x571fa1=_0x51b4;this['on'](_0x571fa1(0x175),()=>{_0x6d14e7();});});}async[_0x11b185(0x11f)](){const _0x480e4e=_0x11b185,_0x1871ed=this[_0x480e4e(0x129)][_0x480e4e(0x1dd)][_0x480e4e(0x160)](_0x304d6b);if(this[_0x480e4e(0x192)]()&&(_0x1871ed[_0x480e4e(0x20c)](),this[_0x480e4e(0x1d1)]=!0x1),!this[_0x480e4e(0x1de)]())return!0x0;const _0x1dc1ec=[...this[_0x480e4e(0x170)]];for(const _0x487c1c of _0x1dc1ec)_0x487c1c[_0x480e4e(0x184)]=this[_0x480e4e(0x14e)][_0x480e4e(0x188)][_0x480e4e(0x18b)](_0x487c1c);const _0x40a959=this[_0x480e4e(0x20f)][_0x480e4e(0x20d)](_0x1dc1ec),_0x2cfe1b=G++,_0x2c0bad=this[_0x480e4e(0x16c)](_0x1dc1ec),_0x1bb1cc=await this[_0x480e4e(0x174)][_0x480e4e(0x133)](_0x2c0bad,_0x2c0bad[_0x480e4e(0x1be)],_0x40a959);try{return await this[_0x480e4e(0x12b)](_0x1dc1ec,_0x1bb1cc,_0x2cfe1b);}catch(_0x4ed331){return this[_0x480e4e(0x1a4)](_0x480e4e(0x1ab),_0x4ed331);}}async[_0x11b185(0x12b)](_0x2c16a8,_0x36ffc1,_0x38a12f){const _0x30b4ac=_0x11b185;if(_0x30b4ac(0x1c1)in _0x36ffc1)throw _0x36ffc1[_0x30b4ac(0x1c1)];let _0x333b81=!0x1;if(_0x36ffc1[_0x30b4ac(0x1c3)]){_0x36ffc1[_0x30b4ac(0x162)]&&(this[_0x30b4ac(0x123)]=_0x36ffc1[_0x30b4ac(0x162)]),this[_0x30b4ac(0x170)]=this[_0x30b4ac(0x170)][_0x30b4ac(0x18c)](_0x3ab392=>!_0x2c16a8[_0x30b4ac(0x190)](_0x3ab392));for(const _0x3377f9 of _0x2c16a8)_0x3377f9[_0x30b4ac(0x215)]=_0x30b4ac(0x14a)in _0x36ffc1&&_0x36ffc1[_0x30b4ac(0x14a)]||void 0x0;K(_0x2c16a8,_0x36ffc1[_0x30b4ac(0x209)]-_0x2c16a8[_0x30b4ac(0x208)]),this[_0x30b4ac(0x1b3)](_0x2c16a8);const _0x18a4b5=_0x2c16a8[_0x30b4ac(0x18c)](_0x45215a=>{const _0x2f5c19=_0x30b4ac;if(!_0x45215a[_0x2f5c19(0x161)])return!0x1;const _0x1cc17e=this[_0x2f5c19(0x1c2)](_0x45215a);return _0x1cc17e&&!this[_0x2f5c19(0x1e7)][_0x2f5c19(0x172)](_0x1cc17e);});K(_0x18a4b5,this[_0x30b4ac(0x14e)][_0x30b4ac(0x209)]),this[_0x30b4ac(0x11b)](_0x18a4b5),_0x333b81=!0x0,this[_0x30b4ac(0x165)]=this[_0x30b4ac(0x21c)];}else{const _0x25329a=this[_0x30b4ac(0x1ff)](_0x36ffc1[_0x30b4ac(0x1d6)],_0x36ffc1[_0x30b4ac(0x16d)])[_0x30b4ac(0x18c)](_0x2d5a84=>_0x2d5a84[_0x30b4ac(0x1be)]>=this[_0x30b4ac(0x135)]);_0x25329a[_0x30b4ac(0x1d7)](_0x3b63e2=>this[_0x30b4ac(0x158)](_0x3b63e2)),this[_0x30b4ac(0x170)]=this[_0x30b4ac(0x170)][_0x30b4ac(0x18c)](_0x278100=>!_0x278100[_0x30b4ac(0x161)]||!this[_0x30b4ac(0x1e7)][_0x30b4ac(0x172)](this[_0x30b4ac(0x1c2)](_0x278100))),this[_0x30b4ac(0x170)][_0x30b4ac(0x208)]&&K(this[_0x30b4ac(0x170)],this[_0x30b4ac(0x170)][0x0][_0x30b4ac(0x1be)]),await this[_0x30b4ac(0x21d)](_0x25329a),_0x333b81=this[_0x30b4ac(0x1d4)](_0x25329a,_0x36ffc1[_0x30b4ac(0x209)],_0x36ffc1[_0x30b4ac(0x162)]),this[_0x30b4ac(0x165)]=Math[_0x30b4ac(0x1a6)](this[_0x30b4ac(0x165)]/0x2);}return _0x333b81?!this[_0x30b4ac(0x1de)]()||(this[_0x30b4ac(0x182)](!0x0),!0x1):this[_0x30b4ac(0x1a4)](_0x30b4ac(0x13d));}[_0x11b185(0x1d4)](_0x14ba1d,_0x50685d,_0x58b823){const _0x39ac83=_0x11b185;try{const _0x4dfbce={'document':this[_0x39ac83(0x14e)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x35e326,operationsB:_0x5aed0b,originalOperations:_0x52e49d}=_0x59e1b3(_0x14ba1d,this[_0x39ac83(0x170)],_0x4dfbce);K(_0x35e326,this[_0x39ac83(0x14e)][_0x39ac83(0x209)]),K(_0x5aed0b,_0x50685d);for(const _0x463490 of _0x35e326){const _0x505a0b=_0x52e49d[_0x39ac83(0x160)](_0x463490);_0x463490[_0x39ac83(0x166)]=_0x505a0b?_0x505a0b[_0x39ac83(0x166)]:null;}_0x58b823&&(this[_0x39ac83(0x20f)][_0x39ac83(0x125)](_0x14ba1d,_0x58b823),this[_0x39ac83(0x123)]=_0x58b823),this[_0x39ac83(0x170)]=[..._0x5aed0b],this[_0x39ac83(0x11b)](_0x35e326),this[_0x39ac83(0x1b3)](_0x14ba1d);}catch(_0x55a05f){return console[_0x39ac83(0x1c1)](_0x55a05f),!0x1;}return!0x0;}[_0x11b185(0x11b)](_0x18456,_0x2d24a0=!0x1){const _0x1ecb14=_0x11b185;this[_0x1ecb14(0x129)][_0x1ecb14(0x1bd)][_0x1ecb14(0x1ad)]({'isUndoable':!0x1,'isLocal':!0x1},_0x6267ca=>{const _0x5496a0=_0x1ecb14;for(const _0x3dfb83 of _0x18456)this[_0x5496a0(0x18e)][_0x5496a0(0x143)](_0x3dfb83),this[_0x5496a0(0x158)](_0x3dfb83),_0x6267ca[_0x5496a0(0x1df)][_0x5496a0(0x1d5)](_0x3dfb83),this[_0x5496a0(0x129)][_0x5496a0(0x1bd)][_0x5496a0(0x1cd)](_0x3dfb83);});}[_0x11b185(0x158)](_0x21bab5){const _0x309dff=_0x11b185,_0x375968=this[_0x309dff(0x1c2)](_0x21bab5);_0x375968&&this[_0x309dff(0x1e7)][_0x309dff(0x143)](_0x375968);}[_0x11b185(0x1c2)](_0x1bb9eb){const _0x3eb2a3=_0x11b185;let _0x3820ba,_0x456223;switch(_0x1bb9eb[_0x3eb2a3(0x140)]){case _0x3eb2a3(0x193):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x1ed)][_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x1d9):if(_0x456223=_0x1bb9eb[_0x3eb2a3(0x1cf)],!_0x456223)return null;_0x3820ba=_0x456223[_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x176):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x1ae)];break;case _0x3eb2a3(0x124):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x13e)];break;case _0x3eb2a3(0x16f):_0x3820ba=_0x1bb9eb[_0x3eb2a3(0x201)][_0x3eb2a3(0x1ae)];break;default:return null;}return _0x3820ba[_0x3eb2a3(0x136)];}[_0x11b185(0x1b3)](_0x555ffc){const _0xd8174b=_0x11b185;_0x555ffc[_0xd8174b(0x1d7)](_0x2be055=>{const _0x79ff16=_0xd8174b,_0x457f5a=_0x2be055[_0x79ff16(0x187)]();_0x457f5a[_0x79ff16(0x166)]=_0x2be055[_0x79ff16(0x166)],_0x457f5a[_0x79ff16(0x161)]=!!_0x2be055[_0x79ff16(0x161)],_0x457f5a[_0x79ff16(0x215)]=_0x2be055[_0x79ff16(0x215)],_0x457f5a[_0x79ff16(0x1be)]+=this[_0x79ff16(0x16a)],_0x2be055[_0x79ff16(0x20a)]&&this[_0x79ff16(0x1d3)][_0x79ff16(0x143)](_0x457f5a),this[_0x79ff16(0x16b)][_0x79ff16(0x1d5)](_0x457f5a);});}[_0x11b185(0x19a)](_0x2d69ce){const _0x150d8c=_0x11b185,_0x15b0f5=this[_0x150d8c(0x129)][_0x150d8c(0x1dd)][_0x150d8c(0x160)](_0x150d8c(0x131)),_0xbd77a0=this[_0x150d8c(0x129)][_0x150d8c(0x178)];_0x2d69ce||(_0x2d69ce=_0x473c58(_0xbd77a0,_0x150d8c(0x121))),_0x15b0f5[_0x150d8c(0x219)](_0x2d69ce,{'title':_0x473c58(_0xbd77a0,_0x150d8c(0x1c9)),'namespace':_0x150d8c(0x1db)}),this[_0x150d8c(0x1c4)]=!0x0,clearTimeout(this[_0x150d8c(0x117)]),this[_0x150d8c(0x170)]=[],this[_0x150d8c(0x129)][_0x150d8c(0x1dd)][_0x150d8c(0x160)](_0x8aa329)[_0x150d8c(0x17d)]();}[_0x11b185(0x180)](){const _0x3b7b88=_0x11b185;this[_0x3b7b88(0x1e0)]||(this[_0x3b7b88(0x1e0)]=this[_0x3b7b88(0x129)][_0x3b7b88(0x1dd)][_0x3b7b88(0x160)](_0x58ef67)[_0x3b7b88(0x143)](_0x473c58(this[_0x3b7b88(0x129)][_0x3b7b88(0x178)],_0x3b7b88(0x11a))));}[_0x11b185(0x1e3)](){const _0x46863f=_0x11b185;this[_0x46863f(0x1e0)]&&(this[_0x46863f(0x129)][_0x46863f(0x1dd)][_0x46863f(0x160)](_0x58ef67)[_0x46863f(0x144)](this[_0x46863f(0x1e0)]),this[_0x46863f(0x1e0)]=null);}[_0x11b185(0x16c)](_0x34e78b){const _0x40df20=_0x11b185,_0x19b2f0=_0x34e78b[_0x40df20(0x12a)](_0x31eaf9=>_0x31eaf9[_0x40df20(0x119)]());return this[_0x40df20(0x17b)][_0x40df20(0x18a)](_0x19b2f0);}[_0x11b185(0x1ff)](_0x29d0b5,_0x2de4ff){const _0xa33b33=_0x11b185;return this[_0xa33b33(0x17b)][_0xa33b33(0x17a)](_0x29d0b5)[_0xa33b33(0x12a)]((_0x118dbb,_0x10ad0a)=>{const _0x5e40c3=_0xa33b33,_0x46606a=_0x5e40c3(0x205)==_0x2de4ff[_0x10ad0a][_0x5e40c3(0x140)];if(_0x5e40c3(0x1bc)==_0x118dbb[_0x5e40c3(0x1e9)]){const _0x2eb26d=_0x118dbb[_0x5e40c3(0x1ed)][_0x5e40c3(0x1ae)];!this[_0x5e40c3(0x14e)][_0x5e40c3(0x164)](_0x2eb26d)&&(this[_0x5e40c3(0x14e)][_0x5e40c3(0x1b2)](_0x5e40c3(0x14d),_0x2eb26d)[_0x5e40c3(0x189)]=!0x1);}const _0x46d1a6=_0x1e1845[_0x5e40c3(0x1aa)](_0x118dbb,this[_0x5e40c3(0x14e)]);return _0x46d1a6[_0x5e40c3(0x184)]=_0x118dbb[_0x5e40c3(0x184)],_0x46d1a6[_0x5e40c3(0x161)]=_0x46606a,_0x46d1a6[_0x5e40c3(0x166)]=_0x46606a?null:_0x2de4ff[_0x10ad0a][_0x5e40c3(0x191)],_0x46d1a6[_0x5e40c3(0x20a)]=_0x5e40c3(0x15c)===_0x2de4ff[_0x10ad0a][_0x5e40c3(0x140)],_0x46d1a6[_0x5e40c3(0x215)]=_0x2de4ff[_0x10ad0a][_0x5e40c3(0x215)],_0x46d1a6;});}[_0x11b185(0x12f)](){const _0x3415c5=_0x11b185;this[_0x3415c5(0x1d1)]=!0x0,this[_0x3415c5(0x192)]()?this[_0x3415c5(0x182)]():this[_0x3415c5(0x1d1)]=!0x1;}[_0x11b185(0x192)](){const _0x50d61e=_0x11b185,_0x52c5a0=this[_0x50d61e(0x129)][_0x50d61e(0x1dd)][_0x50d61e(0x160)](_0x10854f)[_0x50d61e(0x203)][_0x50d61e(0x160)](this[_0x50d61e(0x130)]);return!this[_0x50d61e(0x129)][_0x50d61e(0x217)]&&!!_0x52c5a0&&_0x52c5a0[_0x50d61e(0x208)]>0x1&&this[_0x50d61e(0x1d1)];}[_0x11b185(0x1de)](){const _0x2e77b4=_0x11b185;return this[_0x2e77b4(0x170)][_0x2e77b4(0x208)]>0x0||this[_0x2e77b4(0x192)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x9f6f04,_0xf0c00f){const _0x395b47=_0x11b185;for(const _0xd811a0 of _0x9f6f04)_0xd811a0[_0x395b47(0x1be)]=_0xf0c00f++;}class J{[_0x11b185(0x1ef)];[_0x11b185(0x1c7)];constructor(_0xb06548){const _0x3fba2a=_0x11b185;this[_0x3fba2a(0x1ef)]=_0xb06548,this[_0x3fba2a(0x1c7)]=new WeakMap();}[_0x11b185(0x20d)](_0x290f0f){const _0x446f98=_0x11b185;let _0x13e23e=_0x290f0f[_0x446f98(0x208)];for(;_0x13e23e--;){const _0x2b84be=_0x290f0f[_0x13e23e];if(!this[_0x446f98(0x1ef)][_0x446f98(0x172)](_0x2b84be)){if(!this[_0x446f98(0x1c7)][_0x446f98(0x172)](_0x2b84be)){const _0x55568f=_0x22c164()[_0x446f98(0x169)](0x1,0x12);this[_0x446f98(0x1c7)][_0x446f98(0x210)](_0x2b84be,_0x55568f);}return this[_0x446f98(0x1c7)][_0x446f98(0x160)](_0x2b84be);}}}[_0x11b185(0x125)](_0x376f8a,_0x4545cd){const _0x539a0d=_0x11b185;if(!_0x4545cd)return;let _0x45f7fe=_0x376f8a[_0x539a0d(0x208)];for(;_0x45f7fe--;){const _0x6eb834=_0x376f8a[_0x45f7fe];this[_0x539a0d(0x1ef)][_0x539a0d(0x172)](_0x6eb834)||this[_0x539a0d(0x1c7)][_0x539a0d(0x210)](_0x6eb834,_0x4545cd);}}}
|
|
23
|
+
const _0x5c6e6e=_0x11a5;(function(_0x3c8c25,_0x538b68){const _0x1a3c37=_0x11a5,_0x15eb96=_0x3c8c25();while(!![]){try{const _0x2ba4bb=parseInt(_0x1a3c37(0x1d4))/0x1+-parseInt(_0x1a3c37(0x18f))/0x2*(parseInt(_0x1a3c37(0x155))/0x3)+parseInt(_0x1a3c37(0x1f6))/0x4+parseInt(_0x1a3c37(0x11a))/0x5*(parseInt(_0x1a3c37(0x177))/0x6)+parseInt(_0x1a3c37(0x1d9))/0x7*(-parseInt(_0x1a3c37(0x171))/0x8)+parseInt(_0x1a3c37(0x18d))/0x9*(-parseInt(_0x1a3c37(0x211))/0xa)+parseInt(_0x1a3c37(0x1bf))/0xb*(parseInt(_0x1a3c37(0x162))/0xc);if(_0x2ba4bb===_0x538b68)break;else _0x15eb96['push'](_0x15eb96['shift']());}catch(_0x17844c){_0x15eb96['push'](_0x15eb96['shift']());}}}(_0x36cc,0xd5906));import{Plugin as _0x49dc6c,PendingActions as _0xbad72d}from'ckeditor5/src/core.js';import{CKEditorError as _0x485afc,version as _0x53fba9,uid as _0x44d963}from'ckeditor5/src/utils.js';import{Notification as _0x3f7127}from'ckeditor5/src/ui.js';import{transformOperationSets as _0xf34b17,NoOperation as _0x23c417,InsertOperation as _0x4397e8,MarkerOperation as _0x13c377,RootAttributeOperation as _0x96c981,OperationFactory as _0x4ae083,History as _0x419320}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1ceaf1}from'./websocketgateway.js';function _0x36cc(){const _0x564398=['listenTo','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','connected','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','add','isDocumentOperation','init','_operationIdentifier','decompress','_addKnownRoot','reconnect','collaboration-missing-channelid','__className','stop','_isEditingAllowed','message','filter','getRoot','sessionCreatedAt','realtimecollaborationclient-handleserverresponse','createPositionAt','4156912PtACCq','_refreshUserSelectionMarkers','connection','_handleReconnectionResponse','requires','cloudServices.bundleVersion','end','realtimecollaborationclient-init-connection-failed','_saveOperationInBuffer','PENDING_ACTION_SENDING_DATA','push','_handleServerResponse','register','startsWith','set','_connectService','position','applyOperation','offset','disconnected','slice','disconnect','_handleInitialConnectionData','cs:removeUser','cloud-services-internal-error:\x20Request\x20timeout.','newRange','_waitUntilSynced','7939790YmdAzm','createRange','map','_lastSyncedOperationId','apply','getConnectedSessions','CollaborativeEditingService','view','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.','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','rootName','_lastServerVersion','_handleSendingSelectionMarkers','move','RealTimeCollaborationClient','pluginName','operationsReceived','186385FRrZmD','_isLoaded','roots','Permissions','Synchronization\x20issue','_loadRoot','reconnection:\x20flushed\x20session','change:range','enableReadOnlyMode','initData','clone','404','model','code','_channelId','data','catch','realtimecollaborationclient-init-service-incorrect-server-operation','metadata','realtimecollaborationclient-sendbufferedoperations','_disconnectionOperations','return','getIdOfTheLastOperation','rtc-offline','keys','wasUndone','sendOperations','_compressor','409','rtc-destroyed','isOfficialPlugin','lastDocumentSession','_sendBufferedOperations','targetPosition','lastOperationAcceptedAt','_isPendingUpdate','_handleExternalOperations','size','realtimecollaborationclient-init-document-already-initialized','differ','high','_shouldSendUpdate','_fetchMissingUsers','type','_isDisconnection','Notification','length','_bufferRootLoad','_getOperationsFromInitData','userId','change:_isEditingAllowed','round','loadRoot','rootsAttributes','_setUpDataInit','reset','_connectAfterSessionHasBeenFlushed','fire','version','303iSkusQ','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.','from','sessionAdd:','collaboration','cloud-services-internal-error:\x20Not\x20connected.','_isAttached','currentDocumentSession','enqueueChange','_initSessionsHandling','state','locale','setPermissions','948lKfnpz','stopListening','collaboration.channelId','string','config','document','bind','lastSyncVersion','_updateServerHistory','_pendingAction','_isInit','_authorId','compress','addUser','_sendBufferedOperationsDelayId','28896QpRShq','change:hasDomSelection','_handleReceivedOperations','getDocumentDetails','change:_isPendingUpdate','_initThrowingOnDataSet','114wPviOR','isEnabled','has','_compressOperations','setIdForTheLastOperation','realtimecollaborationclient','_hasSynchronizationProblem','getUser','remove','addRoot','real-time-collaboration','includes','ready','createPositionFromPath','insert','get','define','suppressErrorInCollaboration','marker','$root','_shouldSendSelectionUpdate','unregister','9JJVkFh','toJSON','15686YHLVYM','_disconnectService','_knownOperations','connect','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isPremiumPlugin','_baseBufferDelay','affectsData','_ignoredOperations','_isConnected','_getAffectedRoot','_clearPendingAction','batch','realtimecollaborationclient-init-session-connection-error','parse','permissions','_bufferedOperations','document:write','disableReadOnlyMode','createUserMarkerOperations','mySessionId','_sendBufferedOperationsDelayed','lastOperationId','then','isUndoneOperation','baseVersion','path','_hasSelectionChanged','destroy','plugins','removeFromReconnectionStack','attributes','addRootAttribute','_crash','channelSessions','markers','_currentBufferDelay','_offset','root','createRoot','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-init-service-internal-error','directChange','multi-root-editor-root-attributes-no-root','_handleReconnectionError','isReadOnly','addOperation','_decompressOperations','146377XwLtYk','realtimecollaborationclient-error','getOperationAuthor','_operationToId','finally','showWarning','history','_knownRootNames','fromJSON','affectedSelectable','forEach','editor','selection','createdAt','_applyOperationsSet','start','getOperations','serverHistory','CommentsOnly','off','entries','84740uMLTnN','addToReconnectionStack','_setPendingAction','InsertOperation','_service','819lTILzs','getMany','wereChangesApplied','_document','error','editing','sessionId','cloudDocumentVersion'];_0x36cc=function(){return _0x564398;};return _0x36cc();}import{Sessions as _0x588e59}from'./sessions.js';import{UserMarkers as _0x8e76f3}from'./usermarkers.js';import{getTranslation as _0x7aa812}from'../common-translations.js';import{Compressor as _0xe6d7d5}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1feb15}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x11a5(_0xa22d41,_0x585fd8){const _0x36cc1b=_0x36cc();return _0x11a5=function(_0x11a5e9,_0x5dc4d7){_0x11a5e9=_0x11a5e9-0x110;let _0x2def7d=_0x36cc1b[_0x11a5e9];return _0x2def7d;},_0x11a5(_0xa22d41,_0x585fd8);}import{User as _0x2abcd9,CollaborativeEditingService as _0xcaf64}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x49dc6c{static [_0x5c6e6e(0x217)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xcaf64)());[_0x5c6e6e(0x1b4)];[_0x5c6e6e(0x1df)];[_0x5c6e6e(0x1d0)];[_0x5c6e6e(0x128)];[_0x5c6e6e(0x1d8)];[_0x5c6e6e(0x1dc)];[_0x5c6e6e(0x135)];[_0x5c6e6e(0x19f)];[_0x5c6e6e(0x191)];[_0x5c6e6e(0x1c6)];[_0x5c6e6e(0x16b)];[_0x5c6e6e(0x1aa)];[_0x5c6e6e(0x170)];[_0x5c6e6e(0x195)];[_0x5c6e6e(0x1b3)];[_0x5c6e6e(0x214)];[_0x5c6e6e(0x12e)];[_0x5c6e6e(0x1e8)];static get[_0x5c6e6e(0x1fa)](){return[_0x1ceaf1,_0x588e59,_0x8e76f3,_0xbad72d,_0x1feb15,_0x3f7127];}static get[_0x5c6e6e(0x118)](){const _0x2ed39a=_0x5c6e6e;return _0x2ed39a(0x117);}static get[_0x5c6e6e(0x138)](){return!0x0;}static get[_0x5c6e6e(0x194)](){return!0x0;}get[_0x5c6e6e(0x1e0)](){const _0x4995b6=_0x5c6e6e;return this[_0x4995b6(0x114)]+this[_0x4995b6(0x1b4)];}get[_0x5c6e6e(0x114)](){const _0x1d0efa=_0x5c6e6e;return this[_0x1d0efa(0x1d0)][_0x1d0efa(0x154)]-this[_0x1d0efa(0x1b4)];}get[_0x5c6e6e(0x169)](){const _0x388451=_0x5c6e6e,_0x1faea4=this[_0x388451(0x1d0)][_0x388451(0x1cf)]();for(let _0x34b3aa=_0x1faea4[_0x388451(0x148)]-0x1;_0x34b3aa>=0x0;_0x34b3aa--){const _0x3f7be5=_0x1faea4[_0x34b3aa];if(!this[_0x388451(0x12e)][_0x388451(0x179)](_0x3f7be5))return _0x3f7be5[_0x388451(0x1a8)]+0x1-this[_0x388451(0x1b4)];}return 0x0;}constructor(_0x14680d){const _0x480000=_0x5c6e6e;if(super(_0x14680d),this[_0x480000(0x1b4)]=0x0,this[_0x480000(0x1df)]=null,this[_0x480000(0x1d0)]=new _0x419320(),this[_0x480000(0x1ca)][_0x480000(0x166)][_0x480000(0x187)](_0x480000(0x159),{}),this[_0x480000(0x128)]=this[_0x480000(0x1ca)][_0x480000(0x166)][_0x480000(0x186)](_0x480000(0x164)),!this[_0x480000(0x128)])throw new _0x485afc(_0x480000(0x1ec),this);const _0x2809ec=_0x14680d[_0x480000(0x166)][_0x480000(0x186)](_0x480000(0x1fb))||_0x53fba9;this[_0x480000(0x1d8)]=new l[(_0x480000(0x217))](_0x2809ec,this[_0x480000(0x128)]),this[_0x480000(0x1dc)]=this[_0x480000(0x1ca)][_0x480000(0x126)][_0x480000(0x167)],this[_0x480000(0x135)]=new _0xe6d7d5(),this[_0x480000(0x19f)]=[],this[_0x480000(0x191)]=new WeakSet(),this[_0x480000(0x1c6)]=new Set(),this[_0x480000(0x204)](_0x480000(0x13d),!0x1),this[_0x480000(0x204)](_0x480000(0x17d),!0x1),this[_0x480000(0x16b)]=null,this[_0x480000(0x1aa)]=!0x1,this[_0x480000(0x170)]=null,this[_0x480000(0x195)]=0x12c,this[_0x480000(0x1b3)]=this[_0x480000(0x195)],this[_0x480000(0x214)]=null,this[_0x480000(0x12e)]=new WeakSet(),this[_0x480000(0x1e8)]=new J(this[_0x480000(0x12e)]);}[_0x5c6e6e(0x1e7)](){const _0x2cb371=_0x5c6e6e,_0x555bd7=this[_0x2cb371(0x1ca)],_0x5bb1b2=_0x555bd7[_0x2cb371(0x1ac)][_0x2cb371(0x186)](_0x1feb15),_0x410b8c=_0x555bd7[_0x2cb371(0x1ac)][_0x2cb371(0x186)](_0x1ceaf1);this[_0x2cb371(0x1e1)](_0x5bb1b2,_0x2cb371(0x1c1),(_0x516806,_0x20e4ea)=>{const _0x2f0a38=_0x2cb371,_0x168fa8=_0x20e4ea[0x0];_0x168fa8[_0x2f0a38(0x16d)]&&(_0x516806[_0x2f0a38(0x12f)]=_0x5bb1b2[_0x2f0a38(0x17e)](_0x168fa8[_0x2f0a38(0x16d)]),_0x516806[_0x2f0a38(0x1ee)]()),null===_0x168fa8[_0x2f0a38(0x16d)]&&(_0x516806[_0x2f0a38(0x12f)]=null,_0x516806[_0x2f0a38(0x1ee)]());},{'priority':_0x2cb371(0x142)}),this[_0x2cb371(0x1e1)](_0x555bd7[_0x2cb371(0x126)][_0x2cb371(0x167)][_0x2cb371(0x1cb)],_0x2cb371(0x121),(_0x4a4344,_0x825af7)=>{const _0x4ec09c=_0x2cb371;_0x825af7[_0x4ec09c(0x1b9)]&&this[_0x4ec09c(0x1f7)]();}),this[_0x2cb371(0x1e1)](_0x555bd7[_0x2cb371(0x1de)][_0x2cb371(0x110)],_0x2cb371(0x172),()=>{const _0x5ce123=_0x2cb371;this[_0x5ce123(0x1f7)]();}),this[_0x2cb371(0x176)](),_0x555bd7[_0x2cb371(0x126)]['on'](_0x2cb371(0x207),(_0x3674e5,_0x15204c)=>{const _0x8ad7a2=_0x2cb371,_0x4ecf02=_0x15204c[0x0];_0x4ecf02[_0x8ad7a2(0x1e6)]&&(this[_0x8ad7a2(0x1fe)](_0x4ecf02),this[_0x8ad7a2(0x143)]()&&this[_0x8ad7a2(0x1a4)]());}),this[_0x2cb371(0x150)](),this[_0x2cb371(0x168)](_0x2cb371(0x1ef))['to'](_0x410b8c,_0x2cb371(0x15f),this,_0x2cb371(0x17d),(_0x9bb8d5,_0x1a4467)=>_0x2cb371(0x1e3)===_0x9bb8d5&&!_0x1a4467),this['on'](_0x2cb371(0x14c),()=>{const _0x4a7b89=_0x2cb371;this[_0x4a7b89(0x1ef)]?_0x555bd7[_0x4a7b89(0x1a1)](_0x4a7b89(0x131)):_0x555bd7[_0x4a7b89(0x122)](_0x4a7b89(0x131));}),this[_0x2cb371(0x1ef)]?_0x555bd7[_0x2cb371(0x1a1)](_0x2cb371(0x131)):_0x555bd7[_0x2cb371(0x122)](_0x2cb371(0x131)),this[_0x2cb371(0x204)](_0x2cb371(0x198),!0x1);}async[_0x5c6e6e(0x1eb)](){const _0x2a3eaf=_0x5c6e6e,_0xeea6e8=this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x1ac)][_0x2a3eaf(0x186)](_0x588e59),_0x30304d=this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x1ac)][_0x2a3eaf(0x186)](_0x1ceaf1);try{this[_0x2a3eaf(0x13d)]=!0x0,_0xeea6e8[_0x2a3eaf(0x18c)](this[_0x2a3eaf(0x128)]);const _0x15d62d=await this[_0x2a3eaf(0x1d8)][_0x2a3eaf(0x1eb)](_0x30304d[_0x2a3eaf(0x1f8)],this[_0x2a3eaf(0x169)]);await this[_0x2a3eaf(0x1f9)](_0x15d62d)&&(this[_0x2a3eaf(0x13d)]=!0x1,this[_0x2a3eaf(0x19a)]());const _0x2269e5=await this[_0x2a3eaf(0x1d8)][_0x2a3eaf(0x216)]();_0xeea6e8[_0x2a3eaf(0x202)](this[_0x2a3eaf(0x128)],_0x2269e5),this[_0x2a3eaf(0x115)](),this[_0x2a3eaf(0x198)]=!0x0;}catch(_0x150517){if(function(_0x50f1f0){const _0x13eb45=_0x2a3eaf;return _0x13eb45(0x125)===_0x50f1f0[_0x13eb45(0x127)];}(_0x150517)&&this[_0x2a3eaf(0x1df)])await this[_0x2a3eaf(0x152)]();else{if(function(_0x5858f8){const _0x248721=_0x2a3eaf;return _0x248721(0x136)===_0x5858f8[_0x248721(0x127)];}(_0x150517)){const _0x5557af=_0x7aa812(this[_0x2a3eaf(0x1ca)][_0x2a3eaf(0x160)],_0x2a3eaf(0x1e4));this[_0x2a3eaf(0x1bb)](_0x5557af);}else{if(!(_0x150517 instanceof $))throw _0x150517;this[_0x2a3eaf(0x1bb)]();}}}}[_0x5c6e6e(0x1ab)](){const _0x4d5a7b=_0x5c6e6e,_0x5b2ae1=this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x1ac)][_0x4d5a7b(0x186)](_0x1ceaf1),_0x6e3430=this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x1ac)][_0x4d5a7b(0x186)](_0x588e59);this[_0x4d5a7b(0x1ca)][_0x4d5a7b(0x122)](_0x4d5a7b(0x137)),_0x6e3430[_0x4d5a7b(0x1b1)][_0x4d5a7b(0x179)](this[_0x4d5a7b(0x128)])&&_0x6e3430[_0x4d5a7b(0x18c)](this[_0x4d5a7b(0x128)]),_0x5b2ae1[_0x4d5a7b(0x1ad)](this),this[_0x4d5a7b(0x190)](),super[_0x4d5a7b(0x1ab)]();}async[_0x5c6e6e(0x1f9)](_0x50a47f){const _0x900d39=_0x5c6e6e;if(this[_0x900d39(0x1df)]!==_0x50a47f[_0x900d39(0x1df)]&&this[_0x900d39(0x214)]!==_0x50a47f[_0x900d39(0x1a5)])throw new $();return this[_0x900d39(0x1df)]=_0x50a47f[_0x900d39(0x1df)],this[_0x900d39(0x201)]([],{..._0x50a47f,'wereChangesApplied':!0x1,'data':_0x50a47f[_0x900d39(0x129)]},_0x900d39(0x1eb));}async[_0x5c6e6e(0x205)](_0x1d63a0,_0x4f3965=!0x1){const _0x51365d=_0x5c6e6e,{connection:_0x6b0181}=this[_0x51365d(0x1ca)][_0x51365d(0x1ac)][_0x51365d(0x186)](_0x1ceaf1);l[_0x51365d(0x217)][_0x51365d(0x216)](_0x6b0181,this[_0x51365d(0x128)])[_0x51365d(0x1a6)](_0x583abd=>this[_0x51365d(0x15e)](_0x583abd))[_0x51365d(0x12a)](_0x87ceb5=>{const _0x17e4c6=_0x51365d;this[_0x17e4c6(0x1b0)](_0x17e4c6(0x19c),_0x87ceb5);}),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x119),this[_0x51365d(0x173)][_0x51365d(0x168)](this)),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x1dd),(_0x48430e,_0x4f5da1)=>{const _0x293ffc=_0x51365d;this[_0x293ffc(0x1b0)](_0x293ffc(0x1b8),_0x4f5da1);}),this[_0x51365d(0x1e1)](this[_0x51365d(0x1d8)],_0x51365d(0x209),()=>{const _0x46ab25=_0x51365d;this[_0x46ab25(0x198)]=!0x1;});const _0x533c7e=this[_0x51365d(0x1e8)][_0x51365d(0x130)](_0x1d63a0);this[_0x51365d(0x13d)]=!0x0;const _0x4a0b83=await this[_0x51365d(0x1d8)][_0x51365d(0x192)](_0x6b0181,this[_0x51365d(0x17a)](_0x1d63a0),_0x533c7e);if(this[_0x51365d(0x1df)]=_0x4a0b83[_0x51365d(0x1df)],_0x4f3965){if(!_0x4a0b83[_0x51365d(0x1db)])return void this[_0x51365d(0x1bb)]();this[_0x51365d(0x13d)]=!0x1,this[_0x51365d(0x19a)](),this[_0x51365d(0x1d0)][_0x51365d(0x151)](),this[_0x51365d(0x1b4)]=_0x4a0b83[_0x51365d(0x208)],this[_0x51365d(0x1d0)][_0x51365d(0x154)]=this[_0x51365d(0x1b4)],await this[_0x51365d(0x201)](_0x1d63a0,_0x4a0b83,_0x51365d(0x120));}else await this[_0x51365d(0x20c)](_0x4a0b83,_0x1d63a0);this[_0x51365d(0x115)](),this[_0x51365d(0x198)]=!0x0;}[_0x5c6e6e(0x115)](){const _0x69099b=_0x5c6e6e,_0x37c3e4=this[_0x69099b(0x1ca)][_0x69099b(0x1ac)][_0x69099b(0x186)](_0x588e59),_0x53cc8d=this[_0x69099b(0x1ca)][_0x69099b(0x1ac)][_0x69099b(0x186)](_0x8e76f3),_0x518797=_0x37c3e4[_0x69099b(0x1b1)][_0x69099b(0x186)](this[_0x69099b(0x128)]);_0x518797&&_0x518797[_0x69099b(0x148)]>0x1?_0x53cc8d[_0x69099b(0x1a2)]():this[_0x69099b(0x1e1)](_0x37c3e4,_0x69099b(0x158)+this[_0x69099b(0x128)],()=>{const _0x2c6f8f=_0x69099b;0x2===_0x37c3e4[_0x2c6f8f(0x1b1)][_0x2c6f8f(0x186)](this[_0x2c6f8f(0x128)])[_0x2c6f8f(0x148)]&&_0x53cc8d[_0x2c6f8f(0x1a2)]();});}async[_0x5c6e6e(0x173)](_0x100a61,_0xb6035c,_0x2d4d02,_0x1def25){const _0x3d187d=_0x5c6e6e;if(!this[_0x3d187d(0x13d)]&&this[_0x3d187d(0x1dc)][_0x3d187d(0x154)]==_0xb6035c){const _0x26d594=this[_0x3d187d(0x1be)](_0x2d4d02,_0x1def25);await this[_0x3d187d(0x144)](_0x26d594),this[_0x3d187d(0x13e)](_0x26d594,_0xb6035c,_0x2d4d02[_0x3d187d(0x1a5)])||this[_0x3d187d(0x1b0)](_0x3d187d(0x12b));}}async[_0x5c6e6e(0x152)](){const _0x411858=_0x5c6e6e;this[_0x411858(0x190)]();const {locale:_0x2a64d6}=this[_0x411858(0x1ca)];let _0x1f84b7;try{_0x1f84b7=await this[_0x411858(0x1d8)][_0x411858(0x174)]();}catch{const _0x5e04ae=_0x7aa812(_0x2a64d6,_0x411858(0x193));return void this[_0x411858(0x1bb)](_0x5e04ae);}const _0xfd8d0b=_0x1f84b7[_0x411858(0x15c)]||_0x1f84b7[_0x411858(0x139)];if(this[_0x411858(0x214)]!==_0xfd8d0b[_0x411858(0x1a5)]){const _0x478a37=_0x7aa812(_0x2a64d6,_0x411858(0x111));return void this[_0x411858(0x1bb)](_0x478a37);}await this[_0x411858(0x205)](this[_0x411858(0x1ca)][_0x411858(0x126)][_0x411858(0x167)][_0x411858(0x1c5)][_0x411858(0x1cf)](),!0x0);}[_0x5c6e6e(0x190)](){const _0x18530a=_0x5c6e6e;this[_0x18530a(0x1d8)][_0x18530a(0x20b)](),this[_0x18530a(0x19f)]=[],clearTimeout(this[_0x18530a(0x170)]),this[_0x18530a(0x163)](this[_0x18530a(0x1d8)]);}[_0x5c6e6e(0x15e)](_0x76cff5){const _0x154b1e=_0x5c6e6e,_0x4a5570=this[_0x154b1e(0x1ca)][_0x154b1e(0x1ac)][_0x154b1e(0x186)](_0x588e59);this[_0x154b1e(0x1e1)](_0x4a5570,_0x154b1e(0x158)+this[_0x154b1e(0x128)],(_0x1e0ad3,{session:_0x49d16c})=>{const _0x3150b9=_0x154b1e;if(_0x49d16c['id']===_0x4a5570[_0x3150b9(0x1a3)]){_0x1e0ad3[_0x3150b9(0x1d2)]();const _0xbc652c=this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x179)](_0x3150b9(0x1d1))&&this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x186)](_0x3150b9(0x1d1));let _0x194f40=_0x49d16c[_0x3150b9(0x19e)];_0xbc652c&&_0xbc652c[_0x3150b9(0x178)]&&(_0x194f40=_0x194f40[_0x3150b9(0x1f1)](_0x29a33f=>_0x3150b9(0x1a0)!==_0x29a33f)),this[_0x3150b9(0x1ca)][_0x3150b9(0x1ac)][_0x3150b9(0x186)](_0x3150b9(0x11d))[_0x3150b9(0x161)](_0x194f40,this[_0x3150b9(0x128)]);}}),_0x4a5570[_0x154b1e(0x202)](this[_0x154b1e(0x128)],_0x76cff5);}[_0x5c6e6e(0x176)](){const _0x1683f4=_0x5c6e6e,_0x5da799=this[_0x1683f4(0x1ca)][_0x1683f4(0x129)][_0x1683f4(0x204)];this[_0x1683f4(0x1ca)][_0x1683f4(0x129)][_0x1683f4(0x204)]=(..._0x766051)=>{const _0x51fe07=_0x1683f4;if(!_0x766051[_0x766051[_0x51fe07(0x148)]-0x1][_0x51fe07(0x188)])throw new _0x485afc(_0x51fe07(0x1e2),this);_0x5da799[_0x51fe07(0x215)](this[_0x51fe07(0x1ca)][_0x51fe07(0x129)],_0x766051);};}[_0x5c6e6e(0x150)](){const _0x3e03d9=_0x5c6e6e;this[_0x3e03d9(0x1ca)][_0x3e03d9(0x129)]['on'](_0x3e03d9(0x1e7),(_0x5b6bf5,[_0x16e527])=>{const _0x3c8566=_0x3e03d9;if(this[_0x3c8566(0x1dc)][_0x3c8566(0x154)])throw new _0x485afc(_0x3c8566(0x140),this);_0x5b6bf5[_0x3c8566(0x1ee)](),this[_0x3c8566(0x1d6)]();const _0x572ec9=this[_0x3c8566(0x1ca)][_0x3c8566(0x166)][_0x3c8566(0x186)](_0x3c8566(0x14f)),_0x101b45=this[_0x3c8566(0x14a)](_0x16e527,_0x572ec9);0x0==_0x101b45[_0x3c8566(0x148)]&&_0x101b45[_0x3c8566(0x200)](new _0x23c417(0x0)),_0x5b6bf5[_0x3c8566(0x12f)]=this[_0x3c8566(0x205)](_0x101b45)[_0x3c8566(0x1a6)](()=>{const _0x9c4676=_0x3c8566;this[_0x9c4676(0x1ca)][_0x9c4676(0x1ac)][_0x9c4676(0x186)](_0x1ceaf1)[_0x9c4676(0x1d5)](this),this[_0x9c4676(0x1ca)][_0x9c4676(0x129)][_0x9c4676(0x153)](_0x9c4676(0x183));})[_0x3c8566(0x12a)](_0x5ce398=>this[_0x3c8566(0x1b0)](_0x3c8566(0x1fd),_0x5ce398))[_0x3c8566(0x1c3)](()=>this[_0x3c8566(0x19a)]());},{'priority':_0x3e03d9(0x142)}),this[_0x3e03d9(0x1ca)]['on'](_0x3e03d9(0x14e),async(_0x37a341,[_0x318289,_0x106ef0])=>{const _0x22ddc9=_0x3e03d9;_0x37a341[_0x22ddc9(0x1ee)]();const _0x3c5007=this[_0x22ddc9(0x1ca)][_0x22ddc9(0x126)][_0x22ddc9(0x167)][_0x22ddc9(0x1f2)](_0x318289);if(!this[_0x22ddc9(0x1c6)][_0x22ddc9(0x179)](_0x318289)){const _0x48dd8f=_0x106ef0&&_0x106ef0[_0x22ddc9(0x129)]?_0x106ef0[_0x22ddc9(0x129)]:'',_0x20d374=_0x106ef0&&_0x106ef0[_0x22ddc9(0x1ae)]?_0x106ef0[_0x22ddc9(0x1ae)]:{};await this[_0x22ddc9(0x11f)](_0x318289,_0x48dd8f,_0x20d374);}this[_0x22ddc9(0x1ca)][_0x22ddc9(0x126)][_0x22ddc9(0x15d)]({'isUndoable':!0x1},()=>{const _0xf46223=_0x22ddc9;_0x3c5007[_0xf46223(0x11b)]=!0x0,this[_0xf46223(0x1ca)][_0xf46223(0x126)][_0xf46223(0x167)][_0xf46223(0x141)][_0xf46223(0x149)](_0x3c5007);});},{'priority':_0x3e03d9(0x142)});}async[_0x5c6e6e(0x144)](_0x10cb9e){const _0x313e5d=_0x5c6e6e,_0x1d00b8=this[_0x313e5d(0x1ca)][_0x313e5d(0x1ac)][_0x313e5d(0x186)](_0x1feb15),{connection:_0x1b2fd5}=this[_0x313e5d(0x1ca)][_0x313e5d(0x1ac)][_0x313e5d(0x186)](_0x1ceaf1),_0x2cf9ce=new Set();for(const _0x220e31 of _0x10cb9e){const _0x956bfd=_0x220e31[_0x313e5d(0x16d)];_0x956bfd&&!_0x1d00b8[_0x313e5d(0x17e)](_0x956bfd)&&_0x2cf9ce[_0x313e5d(0x1e5)](_0x956bfd);}if(0x0===_0x2cf9ce[_0x313e5d(0x13f)])return;const _0x3a18d5=await _0x2abcd9[_0x313e5d(0x1da)](_0x1b2fd5,Array[_0x313e5d(0x157)](_0x2cf9ce));for(const _0x4f7cea of _0x3a18d5)_0x1d00b8[_0x313e5d(0x17e)](_0x4f7cea['id'])||_0x1d00b8[_0x313e5d(0x16f)](_0x4f7cea);}[_0x5c6e6e(0x14a)](_0xb28c7e,_0x479081={}){const _0x58ad61=_0x5c6e6e,_0x4fef03=this[_0x58ad61(0x1ca)][_0x58ad61(0x126)],_0x48379d=[];let _0x457893=0x0;const _0x3bec1a=_0x58ad61(0x165)==typeof _0xb28c7e?{'main':_0xb28c7e}:_0xb28c7e;for(const _0x320304 of Object[_0x58ad61(0x132)](_0x3bec1a)){if(!this[_0x58ad61(0x1dc)][_0x58ad61(0x11c)][_0x58ad61(0x179)](_0x320304))throw new _0x485afc(_0x58ad61(0x1b7),this);const _0x1df2cb=this[_0x58ad61(0x1ca)][_0x58ad61(0x129)][_0x58ad61(0x19d)](_0x3bec1a[_0x320304]),_0x513cab=this[_0x58ad61(0x1dc)][_0x58ad61(0x1f2)](_0x320304),_0x5e70d4=new _0x4397e8(_0x4fef03[_0x58ad61(0x1f5)](_0x513cab,0x0),_0x1df2cb,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x5e70d4);for(const [_0x5d3d15,_0x13cdb1]of _0x1df2cb[_0x58ad61(0x1b2)]){const _0x27ed5f=_0x4fef03[_0x58ad61(0x212)](_0x4fef03[_0x58ad61(0x184)](_0x513cab,_0x13cdb1[_0x58ad61(0x1ce)][_0x58ad61(0x1a9)][_0x58ad61(0x20a)]()),_0x4fef03[_0x58ad61(0x184)](_0x513cab,_0x13cdb1[_0x58ad61(0x1fc)][_0x58ad61(0x1a9)][_0x58ad61(0x20a)]())),_0x93675=new _0x13c377(_0x5d3d15,null,_0x27ed5f,_0x4fef03[_0x58ad61(0x1b2)],!0x0,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x93675);}}if(_0x479081)for(const [_0x3d5410,_0xeb981a]of Object[_0x58ad61(0x1d3)](_0x479081)){const _0x4a59d1=_0x4fef03[_0x58ad61(0x167)][_0x58ad61(0x1f2)](_0x3d5410);if(!_0x4a59d1)throw new _0x485afc(_0x58ad61(0x1ba),null);for(const [_0x2ac55c,_0x2b6741]of Object[_0x58ad61(0x1d3)](_0xeb981a))if(null!==_0x2b6741){const _0x42b7dd=new _0x96c981(_0x4a59d1,_0x2ac55c,null,_0x2b6741,_0x457893++);_0x48379d[_0x58ad61(0x200)](_0x42b7dd);}}return _0x48379d;}async[_0x5c6e6e(0x11f)](_0x23cf90,_0x961e68,_0x538705){const _0x1a3e60=_0x5c6e6e;this[_0x1a3e60(0x14a)]({[_0x23cf90]:_0x961e68},{[_0x23cf90]:_0x538705})[_0x1a3e60(0x1c9)]((_0x4c9d43,_0x5baeaf)=>{const _0x4affd1=_0x1a3e60;_0x4c9d43[_0x4affd1(0x1a8)]=this[_0x4affd1(0x1dc)][_0x4affd1(0x154)]+_0x5baeaf,_0x4c9d43[_0x4affd1(0x16c)]=!0x0,this[_0x4affd1(0x1fe)](_0x4c9d43);}),this[_0x1a3e60(0x1a4)](),await this[_0x1a3e60(0x210)]();}async[_0x5c6e6e(0x20c)](_0x1da66a,_0x4e2718){const _0x423fcc=_0x5c6e6e;let _0xc7c133;this[_0x423fcc(0x1b4)]=_0x1da66a[_0x423fcc(0x208)];const _0x5f083=_0x1da66a[_0x423fcc(0x1db)]&&!_0x1da66a[_0x423fcc(0x123)],_0x96672b=_0x5f083?0x0:_0x1da66a[_0x423fcc(0x129)][_0x423fcc(0x1a8)];if(_0x4e2718[_0x423fcc(0x1c9)](_0xeb77a6=>{const _0x5b89af=_0x423fcc;_0xeb77a6[_0x5b89af(0x16c)]=!0x0,_0xeb77a6[_0x5b89af(0x1cc)]=_0x1da66a[_0x5b89af(0x1f3)],_0xeb77a6[_0x5b89af(0x16d)]=null;}),_0x5f083)_0xc7c133=_0x4e2718,this[_0x423fcc(0x1cd)](_0xc7c133,_0x5f083);else{if(_0x1da66a[_0x423fcc(0x123)]){const _0x7e8235=this[_0x423fcc(0x14a)](_0x1da66a[_0x423fcc(0x123)]);this[_0x423fcc(0x1dc)][_0x423fcc(0x1c5)][_0x423fcc(0x154)]=-_0x7e8235[_0x423fcc(0x148)],_0x7e8235[_0x423fcc(0x1c9)](_0x3a36b8=>{const _0x54f5e8=_0x423fcc;_0x3a36b8[_0x54f5e8(0x1a8)]-=_0x7e8235[_0x54f5e8(0x148)],_0x3a36b8[_0x54f5e8(0x1cc)]=_0x1da66a[_0x54f5e8(0x1f3)],_0x3a36b8[_0x54f5e8(0x16c)]=!0x0,_0x3a36b8[_0x54f5e8(0x16d)]=null;}),this[_0x423fcc(0x1cd)](_0x7e8235,!0x0),this[_0x423fcc(0x1d0)][_0x423fcc(0x154)]=-_0x7e8235[_0x423fcc(0x148)]+this[_0x423fcc(0x1b4)],this[_0x423fcc(0x16a)](_0x7e8235);}this[_0x423fcc(0x1dc)][_0x423fcc(0x1c5)][_0x423fcc(0x154)]=_0x96672b,_0xc7c133=this[_0x423fcc(0x1be)](_0x1da66a[_0x423fcc(0x129)],_0x1da66a[_0x423fcc(0x12c)]),await this[_0x423fcc(0x144)](_0xc7c133),this[_0x423fcc(0x1cd)](_0xc7c133,_0x5f083);}_0x1da66a[_0x423fcc(0x1a5)]&&(this[_0x423fcc(0x1e8)][_0x423fcc(0x17b)](_0xc7c133,_0x1da66a[_0x423fcc(0x1a5)]),this[_0x423fcc(0x214)]=_0x1da66a[_0x423fcc(0x1a5)]),this[_0x423fcc(0x1d0)][_0x423fcc(0x154)]=_0x96672b+this[_0x423fcc(0x1b4)],this[_0x423fcc(0x16a)](_0xc7c133),_0x4e2718[_0x423fcc(0x1f1)](_0x386fb6=>{const _0x376427=_0x423fcc,_0x333c4c=this[_0x376427(0x199)](_0x386fb6);return _0x333c4c&&!this[_0x376427(0x1c6)][_0x376427(0x179)](_0x333c4c);})[_0x423fcc(0x1c9)]((_0x4cc4c0,_0x5f5eae)=>{const _0x2aa659=_0x423fcc;_0x4cc4c0[_0x2aa659(0x1a8)]=this[_0x2aa659(0x1dc)][_0x2aa659(0x154)]+_0x5f5eae,this[_0x2aa659(0x1fe)](_0x4cc4c0);}),this[_0x423fcc(0x143)]()?(this[_0x423fcc(0x1b3)]=0x0,this[_0x423fcc(0x1a4)](!0x0),await this[_0x423fcc(0x210)]()):(this[_0x423fcc(0x13d)]=!0x1,this[_0x423fcc(0x19a)]());}[_0x5c6e6e(0x1b0)](_0x3e9d99,_0x191ef8){const _0x53ccb8=_0x5c6e6e,_0x278c3f=_0x191ef8&&_0x191ef8[_0x53ccb8(0x1f0)];if(_0x278c3f&&_0x278c3f[_0x53ccb8(0x203)](_0x53ccb8(0x17c)))throw _0x191ef8;const _0x5a1436=this[_0x53ccb8(0x1ca)][_0x53ccb8(0x1ac)][_0x53ccb8(0x186)](_0x1ceaf1);throw this[_0x53ccb8(0x13d)]=!0x0,_0x5a1436[_0x53ccb8(0x20b)](),this[_0x53ccb8(0x1ca)][_0x53ccb8(0x122)](_0x53ccb8(0x1c0)),new _0x485afc(_0x3e9d99,this[_0x53ccb8(0x1ca)],_0x278c3f?{'originalError':_0x278c3f}:void 0x0);}[_0x5c6e6e(0x1fe)](_0x3744b8){const _0x4f73bb=_0x5c6e6e;this[_0x4f73bb(0x191)][_0x4f73bb(0x179)](_0x3744b8)||(this[_0x4f73bb(0x191)][_0x4f73bb(0x1e5)](_0x3744b8),this[_0x4f73bb(0x19f)][_0x4f73bb(0x200)](_0x3744b8),this[_0x4f73bb(0x16b)]||_0x4f73bb(0x189)==_0x3744b8[_0x4f73bb(0x145)]&&!_0x3744b8[_0x4f73bb(0x196)]||this[_0x4f73bb(0x1d6)]());}[_0x5c6e6e(0x1a4)](_0x35cb4c=!0x1){const _0x232273=_0x5c6e6e;!_0x35cb4c&&this[_0x232273(0x13d)]||(this[_0x232273(0x13d)]=!0x0,clearTimeout(this[_0x232273(0x170)]),this[_0x232273(0x170)]=setTimeout(()=>{const _0x1f0389=_0x232273;this[_0x1f0389(0x13a)]()[_0x1f0389(0x1a6)](_0x454b92=>{const _0x21f58e=_0x1f0389;_0x454b92&&(this[_0x21f58e(0x19a)](),this[_0x21f58e(0x13d)]=!0x1);})[_0x1f0389(0x12a)](_0x57b1c2=>{const _0x223b1c=_0x1f0389;this[_0x223b1c(0x19a)](),this[_0x223b1c(0x13d)]=!0x1,function(_0x2e4c4f){const _0x3a92da=_0x223b1c;return _0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x15a))||_0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x112))||_0x2e4c4f[_0x3a92da(0x1f0)][_0x3a92da(0x203)](_0x3a92da(0x20e));}(_0x57b1c2)||this[_0x223b1c(0x1b0)](_0x57b1c2[_0x223b1c(0x1f0)],_0x57b1c2);});},this[_0x232273(0x1b3)]));}[_0x5c6e6e(0x210)](){return new Promise(_0x27484b=>{const _0x3f113a=_0x11a5;this['on'](_0x3f113a(0x175),()=>{_0x27484b();});});}async[_0x5c6e6e(0x13a)](){const _0x2d17b2=_0x5c6e6e,_0x1d8fc0=this[_0x2d17b2(0x1ca)][_0x2d17b2(0x1ac)][_0x2d17b2(0x186)](_0x8e76f3);if(this[_0x2d17b2(0x18b)]()&&(_0x1d8fc0[_0x2d17b2(0x1a2)](),this[_0x2d17b2(0x1aa)]=!0x1),!this[_0x2d17b2(0x143)]())return!0x0;const _0x2cbf36=[...this[_0x2d17b2(0x19f)]];for(const _0x17bd92 of _0x2cbf36)_0x17bd92[_0x2d17b2(0x133)]=this[_0x2d17b2(0x1dc)][_0x2d17b2(0x1c5)][_0x2d17b2(0x1a7)](_0x17bd92);const _0x4f6be1=this[_0x2d17b2(0x1e8)][_0x2d17b2(0x130)](_0x2cbf36),_0x5d940b=G++,_0x5c0e61=this[_0x2d17b2(0x17a)](_0x2cbf36),_0xabec56=await this[_0x2d17b2(0x1d8)][_0x2d17b2(0x134)](_0x5c0e61,_0x5c0e61[_0x2d17b2(0x1a8)],_0x4f6be1);try{return await this[_0x2d17b2(0x201)](_0x2cbf36,_0xabec56,_0x5d940b);}catch(_0x4c8824){return this[_0x2d17b2(0x1b0)](_0x2d17b2(0x12d),_0x4c8824);}}async[_0x5c6e6e(0x201)](_0x28819a,_0x1244b1,_0x25be87){const _0x4267dd=_0x5c6e6e;if(_0x4267dd(0x1dd)in _0x1244b1)throw _0x1244b1[_0x4267dd(0x1dd)];let _0x54a472=!0x1;if(_0x1244b1[_0x4267dd(0x1db)]){_0x1244b1[_0x4267dd(0x1a5)]&&(this[_0x4267dd(0x214)]=_0x1244b1[_0x4267dd(0x1a5)]),this[_0x4267dd(0x19f)]=this[_0x4267dd(0x19f)][_0x4267dd(0x1f1)](_0x5503ec=>!_0x28819a[_0x4267dd(0x182)](_0x5503ec));for(const _0x12e645 of _0x28819a)_0x12e645[_0x4267dd(0x1cc)]=_0x4267dd(0x13c)in _0x1244b1&&_0x1244b1[_0x4267dd(0x13c)]||void 0x0;K(_0x28819a,_0x1244b1[_0x4267dd(0x154)]-_0x28819a[_0x4267dd(0x148)]),this[_0x4267dd(0x16a)](_0x28819a);const _0x26aaad=_0x28819a[_0x4267dd(0x1f1)](_0x5eced0=>{const _0x37ec76=_0x4267dd;if(!_0x5eced0[_0x37ec76(0x16c)])return!0x1;const _0xcc8ec5=this[_0x37ec76(0x199)](_0x5eced0);return _0xcc8ec5&&!this[_0x37ec76(0x1c6)][_0x37ec76(0x179)](_0xcc8ec5);});K(_0x26aaad,this[_0x4267dd(0x1dc)][_0x4267dd(0x154)]),this[_0x4267dd(0x1cd)](_0x26aaad),_0x54a472=!0x0,this[_0x4267dd(0x1b3)]=this[_0x4267dd(0x195)];}else{const _0x3808f9=this[_0x4267dd(0x1be)](_0x1244b1[_0x4267dd(0x129)],_0x1244b1[_0x4267dd(0x12c)])[_0x4267dd(0x1f1)](_0x5dc1cf=>_0x5dc1cf[_0x4267dd(0x1a8)]>=this[_0x4267dd(0x114)]);_0x3808f9[_0x4267dd(0x1c9)](_0x1ee4b2=>this[_0x4267dd(0x1ea)](_0x1ee4b2)),this[_0x4267dd(0x19f)]=this[_0x4267dd(0x19f)][_0x4267dd(0x1f1)](_0x50514a=>!_0x50514a[_0x4267dd(0x16c)]||!this[_0x4267dd(0x1c6)][_0x4267dd(0x179)](this[_0x4267dd(0x199)](_0x50514a))),this[_0x4267dd(0x19f)][_0x4267dd(0x148)]&&K(this[_0x4267dd(0x19f)],this[_0x4267dd(0x19f)][0x0][_0x4267dd(0x1a8)]),await this[_0x4267dd(0x144)](_0x3808f9),_0x54a472=this[_0x4267dd(0x13e)](_0x3808f9,_0x1244b1[_0x4267dd(0x154)],_0x1244b1[_0x4267dd(0x1a5)]),this[_0x4267dd(0x1b3)]=Math[_0x4267dd(0x14d)](this[_0x4267dd(0x1b3)]/0x2);}return _0x54a472?!this[_0x4267dd(0x143)]()||(this[_0x4267dd(0x1a4)](!0x0),!0x1):this[_0x4267dd(0x1b0)](_0x4267dd(0x1f4));}[_0x5c6e6e(0x13e)](_0x354a95,_0x2f1682,_0x280516){const _0xfa2867=_0x5c6e6e;try{const _0x1182ff={'document':this[_0xfa2867(0x1dc)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5108db,operationsB:_0x4a7982,originalOperations:_0xa42101}=_0xf34b17(_0x354a95,this[_0xfa2867(0x19f)],_0x1182ff);K(_0x5108db,this[_0xfa2867(0x1dc)][_0xfa2867(0x154)]),K(_0x4a7982,_0x2f1682);for(const _0x24425e of _0x5108db){const _0x38e0ee=_0xa42101[_0xfa2867(0x186)](_0x24425e);_0x24425e[_0xfa2867(0x16d)]=_0x38e0ee?_0x38e0ee[_0xfa2867(0x16d)]:null;}_0x280516&&(this[_0xfa2867(0x1e8)][_0xfa2867(0x17b)](_0x354a95,_0x280516),this[_0xfa2867(0x214)]=_0x280516),this[_0xfa2867(0x19f)]=[..._0x4a7982],this[_0xfa2867(0x1cd)](_0x5108db),this[_0xfa2867(0x16a)](_0x354a95);}catch(_0x2567f0){return console[_0xfa2867(0x1dd)](_0x2567f0),!0x1;}return!0x0;}[_0x5c6e6e(0x1cd)](_0x39ab4e,_0x593ce7=!0x1){const _0x34827e=_0x5c6e6e;this[_0x34827e(0x1ca)][_0x34827e(0x126)][_0x34827e(0x15d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2540b6=>{const _0x58e696=_0x34827e;for(const _0x3e5a56 of _0x39ab4e)this[_0x58e696(0x191)][_0x58e696(0x1e5)](_0x3e5a56),this[_0x58e696(0x1ea)](_0x3e5a56),_0x2540b6[_0x58e696(0x19b)][_0x58e696(0x1bd)](_0x3e5a56),this[_0x58e696(0x1ca)][_0x58e696(0x126)][_0x58e696(0x207)](_0x3e5a56);});}[_0x5c6e6e(0x1ea)](_0x49d9ac){const _0x4f2a47=_0x5c6e6e,_0x3465dc=this[_0x4f2a47(0x199)](_0x49d9ac);_0x3465dc&&this[_0x4f2a47(0x1c6)][_0x4f2a47(0x1e5)](_0x3465dc);}[_0x5c6e6e(0x199)](_0x220c9a){const _0x1bfb56=_0x5c6e6e;let _0x1611a5,_0x48cdc5;switch(_0x220c9a[_0x1bfb56(0x145)]){case _0x1bfb56(0x185):_0x1611a5=_0x220c9a[_0x1bfb56(0x206)][_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x189):if(_0x48cdc5=_0x220c9a[_0x1bfb56(0x20f)],!_0x48cdc5)return null;_0x1611a5=_0x48cdc5[_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x1af):_0x1611a5=_0x220c9a[_0x1bfb56(0x1b5)];break;case _0x1bfb56(0x180):_0x1611a5=_0x220c9a[_0x1bfb56(0x1c8)];break;case _0x1bfb56(0x116):_0x1611a5=_0x220c9a[_0x1bfb56(0x13b)][_0x1bfb56(0x1b5)];break;default:return null;}return _0x1611a5[_0x1bfb56(0x113)];}[_0x5c6e6e(0x16a)](_0x5d23ad){const _0x225f8b=_0x5c6e6e;_0x5d23ad[_0x225f8b(0x1c9)](_0x5b1509=>{const _0x494699=_0x225f8b,_0x3dac89=_0x5b1509[_0x494699(0x124)]();_0x3dac89[_0x494699(0x16d)]=_0x5b1509[_0x494699(0x16d)],_0x3dac89[_0x494699(0x16c)]=!!_0x5b1509[_0x494699(0x16c)],_0x3dac89[_0x494699(0x1cc)]=_0x5b1509[_0x494699(0x1cc)],_0x3dac89[_0x494699(0x1a8)]+=this[_0x494699(0x1b4)],_0x5b1509[_0x494699(0x146)]&&this[_0x494699(0x12e)][_0x494699(0x1e5)](_0x3dac89),this[_0x494699(0x1d0)][_0x494699(0x1bd)](_0x3dac89);});}[_0x5c6e6e(0x1bb)](_0x40f924){const _0x7800db=_0x5c6e6e,_0x36d842=this[_0x7800db(0x1ca)][_0x7800db(0x1ac)][_0x7800db(0x186)](_0x7800db(0x147)),_0x367de5=this[_0x7800db(0x1ca)][_0x7800db(0x160)];_0x40f924||(_0x40f924=_0x7aa812(_0x367de5,_0x7800db(0x156))),_0x36d842[_0x7800db(0x1c4)](_0x40f924,{'title':_0x7aa812(_0x367de5,_0x7800db(0x11e)),'namespace':_0x7800db(0x181)}),this[_0x7800db(0x17d)]=!0x0,clearTimeout(this[_0x7800db(0x170)]),this[_0x7800db(0x19f)]=[],this[_0x7800db(0x1ca)][_0x7800db(0x1ac)][_0x7800db(0x186)](_0x1ceaf1)[_0x7800db(0x20b)]();}[_0x5c6e6e(0x1d6)](){const _0x4393f1=_0x5c6e6e;this[_0x4393f1(0x16b)]||(this[_0x4393f1(0x16b)]=this[_0x4393f1(0x1ca)][_0x4393f1(0x1ac)][_0x4393f1(0x186)](_0xbad72d)[_0x4393f1(0x1e5)](_0x7aa812(this[_0x4393f1(0x1ca)][_0x4393f1(0x160)],_0x4393f1(0x1ff))));}[_0x5c6e6e(0x19a)](){const _0x2f3626=_0x5c6e6e;this[_0x2f3626(0x16b)]&&(this[_0x2f3626(0x1ca)][_0x2f3626(0x1ac)][_0x2f3626(0x186)](_0xbad72d)[_0x2f3626(0x17f)](this[_0x2f3626(0x16b)]),this[_0x2f3626(0x16b)]=null);}[_0x5c6e6e(0x17a)](_0x5849f2){const _0x1e78e3=_0x5c6e6e,_0x2453a7=_0x5849f2[_0x1e78e3(0x213)](_0x9edceb=>_0x9edceb[_0x1e78e3(0x18e)]());return this[_0x1e78e3(0x135)][_0x1e78e3(0x16e)](_0x2453a7);}[_0x5c6e6e(0x1be)](_0xbce8bf,_0x22e7d1){const _0x6a64bd=_0x5c6e6e;return this[_0x6a64bd(0x135)][_0x6a64bd(0x1e9)](_0xbce8bf)[_0x6a64bd(0x213)]((_0x1d2e68,_0x1710e6)=>{const _0xbe5c91=_0x6a64bd,_0x7f8d9f=_0xbe5c91(0x1e7)==_0x22e7d1[_0x1710e6][_0xbe5c91(0x145)];if(_0xbe5c91(0x1d7)==_0x1d2e68[_0xbe5c91(0x1ed)]){const _0x311277=_0x1d2e68[_0xbe5c91(0x206)][_0xbe5c91(0x1b5)];!this[_0xbe5c91(0x1dc)][_0xbe5c91(0x1f2)](_0x311277)&&(this[_0xbe5c91(0x1dc)][_0xbe5c91(0x1b6)](_0xbe5c91(0x18a),_0x311277)[_0xbe5c91(0x15b)]=!0x1);}const _0x4ab232=_0x4ae083[_0xbe5c91(0x1c7)](_0x1d2e68,this[_0xbe5c91(0x1dc)]);return _0x4ab232[_0xbe5c91(0x133)]=_0x1d2e68[_0xbe5c91(0x133)],_0x4ab232[_0xbe5c91(0x16c)]=_0x7f8d9f,_0x4ab232[_0xbe5c91(0x16d)]=_0x7f8d9f?null:_0x22e7d1[_0x1710e6][_0xbe5c91(0x14b)],_0x4ab232[_0xbe5c91(0x146)]=_0xbe5c91(0x20d)===_0x22e7d1[_0x1710e6][_0xbe5c91(0x145)],_0x4ab232[_0xbe5c91(0x1cc)]=_0x22e7d1[_0x1710e6][_0xbe5c91(0x1cc)],_0x4ab232;});}[_0x5c6e6e(0x1f7)](){const _0x509e05=_0x5c6e6e;this[_0x509e05(0x1aa)]=!0x0,this[_0x509e05(0x18b)]()?this[_0x509e05(0x1a4)]():this[_0x509e05(0x1aa)]=!0x1;}[_0x5c6e6e(0x18b)](){const _0x451ce2=_0x5c6e6e,_0x329fd6=this[_0x451ce2(0x1ca)][_0x451ce2(0x1ac)][_0x451ce2(0x186)](_0x588e59)[_0x451ce2(0x1b1)][_0x451ce2(0x186)](this[_0x451ce2(0x128)]);return!this[_0x451ce2(0x1ca)][_0x451ce2(0x1bc)]&&!!_0x329fd6&&_0x329fd6[_0x451ce2(0x148)]>0x1&&this[_0x451ce2(0x1aa)];}[_0x5c6e6e(0x143)](){const _0x2892bd=_0x5c6e6e;return this[_0x2892bd(0x19f)][_0x2892bd(0x148)]>0x0||this[_0x2892bd(0x18b)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x5bb683,_0x4c163c){const _0x315027=_0x5c6e6e;for(const _0x4d134c of _0x5bb683)_0x4d134c[_0x315027(0x1a8)]=_0x4c163c++;}class J{[_0x5c6e6e(0x197)];[_0x5c6e6e(0x1c2)];constructor(_0x3cd041){const _0x2f427d=_0x5c6e6e;this[_0x2f427d(0x197)]=_0x3cd041,this[_0x2f427d(0x1c2)]=new WeakMap();}[_0x5c6e6e(0x130)](_0x277960){const _0x5540ab=_0x5c6e6e;let _0xc1457b=_0x277960[_0x5540ab(0x148)];for(;_0xc1457b--;){const _0x564aac=_0x277960[_0xc1457b];if(!this[_0x5540ab(0x197)][_0x5540ab(0x179)](_0x564aac)){if(!this[_0x5540ab(0x1c2)][_0x5540ab(0x179)](_0x564aac)){const _0x44d0a8=_0x44d963()[_0x5540ab(0x20a)](0x1,0x12);this[_0x5540ab(0x1c2)][_0x5540ab(0x204)](_0x564aac,_0x44d0a8);}return this[_0x5540ab(0x1c2)][_0x5540ab(0x186)](_0x564aac);}}}[_0x5c6e6e(0x17b)](_0x410695,_0x2515f3){const _0x1e3c46=_0x5c6e6e;if(!_0x2515f3)return;let _0x59f0f0=_0x410695[_0x1e3c46(0x148)];for(;_0x59f0f0--;){const _0x7ad912=_0x410695[_0x59f0f0];this[_0x1e3c46(0x197)][_0x1e3c46(0x179)](_0x7ad912)||this[_0x1e3c46(0x1c2)][_0x1e3c46(0x204)](_0x7ad912,_0x2515f3);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x58de(){const _0x3eea16=['connection','getUserBySessionId','_handleSessionAdd','isPremiumPlugin','670125lGTCbc','context','addUser','7OUCxCg','_handleSessionRemove','plugins','sessionAdd:','fire','3794106QpTZpL','set','register','add','listenTo','allConnectedUsers','clear','size','delete','Sessions','_uniqueUsersCount','stopListening','remove','user','assign','isOfficialPlugin','change:state','role','12qKGbwE','sessions-register-already-registered','getUserRole','2vCRLnx','_users','isMe','requires','_createUser','14945iDattw','90490bZVfjT','channelSessions','defineMe','getUser','channelConnectedUsers','sessionId','init','get','1460sdpsbM','orderNumber','values','forEach','629370hskXas','pluginName','22120461FeWhPs','getUserSessions','7805688iZXauw','state','_registeredSessions','unregister','675zXMbdw','sessions-unregister-not-exist','connected','mySessionId','has'];_0x58de=function(){return _0x3eea16;};return _0x58de();}const _0x583bc6=_0x1ae9;function _0x1ae9(_0x3f42e9,_0x2aed47){const _0x58debd=_0x58de();return _0x1ae9=function(_0x1ae952,_0x2e9c10){_0x1ae952=_0x1ae952-0x100;let _0x1529b1=_0x58debd[_0x1ae952];return _0x1529b1;},_0x1ae9(_0x3f42e9,_0x2aed47);}(function(_0x3af1de,_0x1fad99){const _0x276ddf=_0x1ae9,_0x50fdf3=_0x3af1de();while(!![]){try{const _0x476f8d=-parseInt(_0x276ddf(0x13c))/0x1*(-parseInt(_0x276ddf(0x12a))/0x2)+parseInt(_0x276ddf(0x10d))/0x3+parseInt(_0x276ddf(0x138))/0x4*(-parseInt(_0x276ddf(0x12f))/0x5)+parseInt(_0x276ddf(0x115))/0x6*(-parseInt(_0x276ddf(0x110))/0x7)+-parseInt(_0x276ddf(0x100))/0x8+-parseInt(_0x276ddf(0x104))/0x9*(-parseInt(_0x276ddf(0x130))/0xa)+-parseInt(_0x276ddf(0x13e))/0xb*(-parseInt(_0x276ddf(0x127))/0xc);if(_0x476f8d===_0x1fad99)break;else _0x50fdf3['push'](_0x50fdf3['shift']());}catch(_0xb0e9f3){_0x50fdf3['push'](_0x50fdf3['shift']());}}}(_0x58de,0xcde3c));import{ContextPlugin as _0x53d091}from'ckeditor5/src/core.js';import{Collection as _0x50ae6f,CKEditorError as _0x1577da}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2bdeca}from'./websocketgateway.js';import{Users as _0x3f5848}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x53d091{[_0x583bc6(0x131)];[_0x583bc6(0x134)];[_0x583bc6(0x11a)];[_0x583bc6(0x102)];[_0x583bc6(0x11f)];[_0x583bc6(0x12b)];static get[_0x583bc6(0x13d)](){const _0x379b2e=_0x583bc6;return _0x379b2e(0x11e);}static get[_0x583bc6(0x124)](){return!0x0;}static get[_0x583bc6(0x10c)](){return!0x0;}static get[_0x583bc6(0x12d)](){return[_0x2bdeca,_0x3f5848];}constructor(_0x2dcd28){const _0x4deb79=_0x583bc6;super(_0x2dcd28),this[_0x4deb79(0x131)]=new Map(),this[_0x4deb79(0x134)]=new Map(),this[_0x4deb79(0x11a)]=new _0x50ae6f(),this[_0x4deb79(0x102)]=new Map(),this[_0x4deb79(0x11f)]=0x0,this[_0x4deb79(0x12b)]=this[_0x4deb79(0x10e)][_0x4deb79(0x112)][_0x4deb79(0x137)](_0x3f5848);}[_0x583bc6(0x136)](){const _0x5cc2c4=_0x583bc6,_0x5b9a9a=this[_0x5cc2c4(0x10e)][_0x5cc2c4(0x112)][_0x5cc2c4(0x137)](_0x2bdeca);this[_0x5cc2c4(0x119)](_0x5b9a9a,_0x5cc2c4(0x125),(_0x21a087,_0x38849f,_0x30a87a)=>{const _0x2707a9=_0x5cc2c4;if(_0x2707a9(0x106)!==_0x30a87a)this[_0x2707a9(0x131)][_0x2707a9(0x13b)](_0x487e9d=>_0x487e9d[_0x2707a9(0x11b)]()),this[_0x2707a9(0x134)][_0x2707a9(0x13b)](_0x295954=>_0x295954[_0x2707a9(0x11b)]()),this[_0x2707a9(0x11a)][_0x2707a9(0x11b)]();else{for(const [_0x691ff1,_0x4ebf63]of this[_0x2707a9(0x102)])for(const _0x4a5168 of _0x4ebf63)this[_0x2707a9(0x10b)](_0x691ff1,_0x4a5168);}}),this[_0x5cc2c4(0x12e)](_0x5b9a9a[_0x5cc2c4(0x109)]['me'],!0x0);}[_0x583bc6(0x117)](_0x1ce5b7,_0x224d31){const _0x31b2ac=_0x583bc6;if(this[_0x31b2ac(0x102)][_0x31b2ac(0x108)](_0x1ce5b7))throw new _0x1577da(_0x31b2ac(0x128),null,{'channelId':_0x1ce5b7});this[_0x31b2ac(0x102)][_0x31b2ac(0x116)](_0x1ce5b7,_0x224d31),this[_0x31b2ac(0x131)][_0x31b2ac(0x116)](_0x1ce5b7,new _0x50ae6f()),this[_0x31b2ac(0x134)][_0x31b2ac(0x116)](_0x1ce5b7,new _0x50ae6f()),this[_0x31b2ac(0x119)](_0x224d31,_0x31b2ac(0x118),(_0x3ca22f,_0x5e1a7d)=>this[_0x31b2ac(0x10b)](_0x1ce5b7,_0x5e1a7d)),this[_0x31b2ac(0x119)](_0x224d31,_0x31b2ac(0x121),(_0x223385,_0x4521a4)=>this[_0x31b2ac(0x111)](_0x1ce5b7,_0x4521a4));for(const _0xbf7a0 of _0x224d31)this[_0x31b2ac(0x10b)](_0x1ce5b7,_0xbf7a0);}[_0x583bc6(0x103)](_0x25a2e9){const _0x371db4=_0x583bc6;if(!this[_0x371db4(0x102)][_0x371db4(0x108)](_0x25a2e9))throw new _0x1577da(_0x371db4(0x105),null,{'channelId':_0x25a2e9});const _0x11adec=this[_0x371db4(0x102)][_0x371db4(0x137)](_0x25a2e9);this[_0x371db4(0x120)](_0x11adec);for(const _0x5a6921 of _0x11adec)_0x371db4(0x106)===this[_0x371db4(0x10e)][_0x371db4(0x112)][_0x371db4(0x137)](_0x2bdeca)[_0x371db4(0x101)]&&this[_0x371db4(0x111)](_0x25a2e9,_0x5a6921);this[_0x371db4(0x102)][_0x371db4(0x11d)](_0x25a2e9),this[_0x371db4(0x131)][_0x371db4(0x11d)](_0x25a2e9),this[_0x371db4(0x134)][_0x371db4(0x11d)](_0x25a2e9);}get[_0x583bc6(0x107)](){const _0x24ee68=_0x583bc6;return this[_0x24ee68(0x10e)][_0x24ee68(0x112)][_0x24ee68(0x137)](_0x2bdeca)[_0x24ee68(0x109)][_0x24ee68(0x135)];}[_0x583bc6(0x10a)](_0x9819f8){const _0x5eb9ff=_0x583bc6;for(const _0x1e9c7c of this[_0x5eb9ff(0x131)][_0x5eb9ff(0x13a)]())for(const _0x9229e3 of _0x1e9c7c)if(_0x9229e3['id']===_0x9819f8)return _0x9229e3[_0x5eb9ff(0x122)];}[_0x583bc6(0x13f)](_0x4725c8,_0x21cf0e){const _0x11a87c=_0x583bc6,_0x102f1d=_0x21cf0e?[this[_0x11a87c(0x131)][_0x11a87c(0x137)](_0x21cf0e)]:this[_0x11a87c(0x131)][_0x11a87c(0x13a)](),_0x5e23a9=new Set();for(const _0x54e75 of _0x102f1d)for(const _0x43c581 of _0x54e75)_0x43c581[_0x11a87c(0x122)]['id']===_0x4725c8['id']&&_0x5e23a9[_0x11a87c(0x118)](_0x43c581['id']);return _0x5e23a9;}[_0x583bc6(0x129)](_0x377910){const _0x536ad9=_0x583bc6;for(const _0x4db49b of this[_0x536ad9(0x131)][_0x536ad9(0x13a)]())for(const _0x5c0bec of _0x4db49b)if(_0x5c0bec[_0x536ad9(0x122)]===_0x377910)return _0x5c0bec[_0x536ad9(0x126)];}[_0x583bc6(0x10b)](_0x4ccc97,_0x26c0ab){const _0xf473e9=_0x583bc6;if(_0xf473e9(0x106)!==this[_0xf473e9(0x10e)][_0xf473e9(0x112)][_0xf473e9(0x137)](_0x2bdeca)[_0xf473e9(0x101)])return;const _0x3419d1=_0x26c0ab[_0xf473e9(0x122)],_0x3909b3=this[_0xf473e9(0x12b)][_0xf473e9(0x133)](_0x3419d1['id'])||this[_0xf473e9(0x12e)](_0x3419d1),_0x1f9b5b=Object[_0xf473e9(0x123)]({},_0x26c0ab,{'user':_0x3909b3});this[_0xf473e9(0x131)][_0xf473e9(0x137)](_0x4ccc97)[_0xf473e9(0x118)](_0x1f9b5b);const _0x3bcc23=this[_0xf473e9(0x134)][_0xf473e9(0x137)](_0x4ccc97);_0x3bcc23[_0xf473e9(0x108)](_0x3909b3['id'])||_0x3bcc23[_0xf473e9(0x118)](_0x3909b3),this[_0xf473e9(0x11a)][_0xf473e9(0x108)](_0x3909b3['id'])||this[_0xf473e9(0x11a)][_0xf473e9(0x118)](_0x3909b3,_0x3909b3[_0xf473e9(0x12c)]?0x0:void 0x0),this[_0xf473e9(0x114)](_0xf473e9(0x113)+_0x4ccc97,{'channelId':_0x4ccc97,'session':_0x1f9b5b});}[_0x583bc6(0x111)](_0x3d6f01,_0x38e5b1){const _0x4d36a1=_0x583bc6;if(_0x4d36a1(0x106)!==this[_0x4d36a1(0x10e)][_0x4d36a1(0x112)][_0x4d36a1(0x137)](_0x2bdeca)[_0x4d36a1(0x101)])return;const _0x17528c=this[_0x4d36a1(0x134)][_0x4d36a1(0x137)](_0x3d6f01),_0x1855b1=_0x38e5b1[_0x4d36a1(0x122)];_0x1855b1['id']&&(this[_0x4d36a1(0x131)][_0x4d36a1(0x137)](_0x3d6f01)[_0x4d36a1(0x121)](_0x38e5b1['id']),_0x17528c[_0x4d36a1(0x108)](_0x1855b1['id'])&&!this[_0x4d36a1(0x13f)](_0x1855b1,_0x3d6f01)[_0x4d36a1(0x11c)]&&_0x17528c[_0x4d36a1(0x121)](_0x1855b1['id']),this[_0x4d36a1(0x11a)][_0x4d36a1(0x137)](_0x1855b1['id'])&&!this[_0x4d36a1(0x13f)](_0x1855b1)[_0x4d36a1(0x11c)]&&this[_0x4d36a1(0x11a)][_0x4d36a1(0x121)](_0x1855b1['id']));}[_0x583bc6(0x12e)](_0x4f3c0d,_0x551711){const _0x5ba7a1=_0x583bc6,_0x34cf60=this[_0x5ba7a1(0x12b)][_0x5ba7a1(0x10f)](_0x4f3c0d);return _0x551711&&this[_0x5ba7a1(0x12b)][_0x5ba7a1(0x132)](_0x4f3c0d['id']),_0x34cf60[_0x5ba7a1(0x139)]=this[_0x5ba7a1(0x11f)]++,_0x34cf60;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1ed243=_0x2c03;(function(_0x2cad80,_0x50e415){const _0x4401a7=_0x2c03,_0x38e076=_0x2cad80();while(!![]){try{const _0x2d1a90=parseInt(_0x4401a7(0x1c3))/0x1*(-parseInt(_0x4401a7(0x1d6))/0x2)+parseInt(_0x4401a7(0x1ee))/0x3*(-parseInt(_0x4401a7(0x1dc))/0x4)+-parseInt(_0x4401a7(0x221))/0x5*(-parseInt(_0x4401a7(0x1c9))/0x6)+-parseInt(_0x4401a7(0x1af))/0x7*(-parseInt(_0x4401a7(0x20f))/0x8)+parseInt(_0x4401a7(0x1ac))/0x9+-parseInt(_0x4401a7(0x1f0))/0xa+parseInt(_0x4401a7(0x200))/0xb;if(_0x2d1a90===_0x50e415)break;else _0x38e076['push'](_0x38e076['shift']());}catch(_0x382478){_0x38e076['push'](_0x38e076['shift']());}}}(_0x2779,0x6aeb3));import{Plugin as _0x514fab}from'ckeditor5/src/core.js';import{global as _0x2394ad,DomEmitterMixin as _0x13b138}from'ckeditor5/src/utils.js';import{Sessions as _0x355080}from'./sessions.js';import{ModelLiveRange as _0x1d38cf}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x2c03(_0x307ff3,_0x3df7c1){const _0x277938=_0x2779();return _0x2c03=function(_0x2c03f1,_0x325874){_0x2c03f1=_0x2c03f1-0x1ab;let _0x5b8dbd=_0x277938[_0x2c03f1];return _0x5b8dbd;},_0x2c03(_0x307ff3,_0x3df7c1);}export class UserMarkers extends _0x514fab{[_0x1ed243(0x232)]=new(_0x13b138())();static get[_0x1ed243(0x233)](){return[_0x355080];}static get[_0x1ed243(0x1ad)](){const _0x573f66=_0x1ed243;return _0x573f66(0x21f);}static get[_0x1ed243(0x224)](){return!0x0;}static get[_0x1ed243(0x22d)](){return!0x0;}[_0x1ed243(0x202)](){const _0x149fc9=_0x1ed243,_0x3fe26a=this[_0x149fc9(0x208)],_0x48b7d6=_0x3fe26a[_0x149fc9(0x1e1)][_0x149fc9(0x1b2)](_0x355080);_0x3fe26a[_0x149fc9(0x214)][_0x149fc9(0x1de)](_0x149fc9(0x22a))[_0x149fc9(0x1db)]({'model':_0x149fc9(0x1b4),'view':(_0x186d99,{writer:_0x10d843})=>function(_0x47a9f0,_0x3d39b,_0x2c32ef,_0x2acd5e){const _0xcacda0=_0x149fc9,_0x4695d1=_0x47a9f0[_0xcacda0(0x1ce)][_0xcacda0(0x20b)](':')[0x2],_0x105af4=_0x2c32ef[_0xcacda0(0x21c)](_0x4695d1);if(!_0x105af4||_0x4695d1===_0x2c32ef[_0xcacda0(0x1cf)])return;if(!_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1cd)][_0xcacda0(0x235)](_0x47a9f0[_0xcacda0(0x1d9)][_0xcacda0(0x1c4)],_0xcacda0(0x210)))return;const _0x38c651={'class':_0xcacda0(0x206)+_0x105af4[_0xcacda0(0x215)][_0xcacda0(0x22b)](),'data-name':_0x105af4[_0xcacda0(0x1eb)],'data-session-id':_0x4695d1},_0x2e4af5=_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1dd)][_0xcacda0(0x1b2)](_0x47a9f0[_0xcacda0(0x1ce)]),_0x5db449=_0x2e4af5[_0xcacda0(0x226)](),_0x59db8a=_0x5db449[_0xcacda0(0x212)],_0xbd208f=_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1cd)];if(_0x59db8a&&_0xbd208f[_0xcacda0(0x1b9)](_0x59db8a)&&_0xbd208f[_0xcacda0(0x1c2)](_0x59db8a)&&!_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1dd)][_0xcacda0(0x1b2)](_0xcacda0(0x21e)+_0x4695d1)[_0xcacda0(0x211)]()[_0xcacda0(0x229)])return;const _0x8ff5d0=_0x5db449[_0xcacda0(0x22c)];return _0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1cd)][_0xcacda0(0x22f)](_0x8ff5d0)&&!_0x2acd5e[_0xcacda0(0x1f6)][_0xcacda0(0x1c8)](_0x8ff5d0)&&(_0x38c651[_0xcacda0(0x1fd)]=!0x1),function(_0x4aeb6f,_0xfa337f,_0x3c6bb6){const _0x4832ca=_0xcacda0,_0x5009f4=_0x4aeb6f[_0x4832ca(0x1f2)](_0x4832ca(0x1d7),_0xfa337f);return _0x4aeb6f[_0x4832ca(0x1b3)](_0x4832ca(0x227),!0x0,_0x5009f4),_0x5009f4[_0x4832ca(0x236)]=function(_0x510dda){const _0x256340=_0x4832ca,_0x4476b2=this[_0x256340(0x1bd)](_0x510dda),_0x2de5f6=document[_0x256340(0x1b7)](_0x256340(0x1d7));return _0x2de5f6[_0x256340(0x217)][_0x256340(0x219)](_0x256340(0x1c5)),_0x2de5f6[_0x256340(0x218)](_0x256340(0x1fd),_0x256340(0x1b8)),_0x2de5f6[_0x256340(0x218)](_0x256340(0x1b5),_0x256340(0x1b8)),_0x2de5f6[_0x256340(0x1f1)]=_0x3c6bb6[_0x256340(0x1eb)],_0x4476b2[_0x256340(0x1c0)]=_0x256340(0x1ca)+_0x2de5f6[_0x256340(0x1f9)]+'',_0x4476b2[_0x256340(0x201)](_0x256340(0x1cb),()=>{const _0x275066=_0x256340;_0x4476b2[_0x275066(0x217)][_0x275066(0x219)](_0x275066(0x1ba));}),_0x4476b2[_0x256340(0x201)](_0x256340(0x20d),()=>{const _0xdff1a5=_0x256340;_0x4476b2[_0xdff1a5(0x217)][_0xdff1a5(0x1e3)](_0xdff1a5(0x1ba));}),_0x4476b2;},_0x5009f4[_0x4832ca(0x213)]=function(_0x2aa208){const _0x2ba065=_0x4832ca;return!(!this[_0x2ba065(0x1d2)](_0x2ba065(0x227))||!_0x2aa208[_0x2ba065(0x1d2)](_0x2ba065(0x227))||this[_0x2ba065(0x1e0)](_0x2ba065(0x1d0))!=_0x2aa208[_0x2ba065(0x1e0)](_0x2ba065(0x1d0)));},_0x5009f4;}(_0x3d39b,_0x38c651,_0x105af4);}(_0x186d99,_0x10d843,_0x48b7d6,_0x3fe26a)}),_0x3fe26a[_0x149fc9(0x214)][_0x149fc9(0x1de)](_0x149fc9(0x22a))[_0x149fc9(0x234)]({'model':_0x149fc9(0x231),'view':_0x3b33cc=>function(_0x16598b,_0x17fbf0){const _0x59b2f2=_0x149fc9,_0x17ff99=_0x16598b[_0x59b2f2(0x1ce)][_0x59b2f2(0x20b)](':')[0x2];if(_0x17ff99===_0x17fbf0[_0x59b2f2(0x1cf)])return null;const _0x241374=_0x17fbf0[_0x59b2f2(0x21c)](_0x17ff99);if(!_0x241374)return{'id':_0x17ff99,'classes':[]};return{'id':_0x17ff99,'classes':[_0x59b2f2(0x1d3),_0x241374[_0x59b2f2(0x215)][_0x59b2f2(0x21a)]()],'attributes':{'data-session-id':_0x17ff99},'priority':0x7d0+_0x241374[_0x59b2f2(0x21b)]};}(_0x3b33cc,_0x48b7d6)}),function(_0x50ff50){const _0x43ed76=_0x149fc9,_0x588244=_0x50ff50[_0x43ed76(0x1f6)],_0x59a59e=new Map(),_0x58857c=_0x50ff50[_0x43ed76(0x1e1)][_0x43ed76(0x1b2)](_0x355080);_0x588244[_0x43ed76(0x1dd)]['on'](_0x43ed76(0x20c),(_0x7d74a1,_0x53819d,_0xc190aa,_0x243d51)=>{const _0x38eda9=_0x43ed76;if(!_0x243d51&&_0x59a59e[_0x38eda9(0x1b2)](_0x53819d[_0x38eda9(0x1eb)]))return _0x59a59e[_0x38eda9(0x1b2)](_0x53819d[_0x38eda9(0x1eb)])[_0x38eda9(0x1da)](),void _0x59a59e[_0x38eda9(0x216)](_0x53819d[_0x38eda9(0x1eb)]);const _0x3b2ace=_0x53819d[_0x38eda9(0x1eb)][_0x38eda9(0x20b)](':')[0x2];if(_0x3b2ace===_0x58857c[_0x38eda9(0x1cf)])return;const _0x4e98a4=_0x38eda9(0x1e6)+_0x3b2ace;_0x588244[_0x38eda9(0x1dd)][_0x38eda9(0x1b0)](_0x4e98a4)&&_0x50ff50[_0x38eda9(0x1fa)][_0x38eda9(0x223)](_0x4e98a4),_0x53819d['on'](_0x38eda9(0x1d8),(_0x4f100c,_0x3684b4,_0x2b44f8)=>{const _0x47ee09=_0x38eda9;if(_0x47ee09(0x1f5)!=_0x3684b4[_0x47ee09(0x1df)][_0x47ee09(0x1f7)]&&_0x47ee09(0x1f5)==_0x53819d[_0x47ee09(0x211)]()[_0x47ee09(0x1df)][_0x47ee09(0x1f7)]&&!_0x59a59e[_0x47ee09(0x1b0)](_0x53819d[_0x47ee09(0x1eb)])){const _0x33bb16=_0x588244[_0x47ee09(0x1cd)][_0x47ee09(0x1ec)](_0x2b44f8[_0x47ee09(0x207)]);if(_0x33bb16){const _0x2670ef=_0x1d38cf[_0x47ee09(0x1ed)](_0x33bb16);_0x59a59e[_0x47ee09(0x203)](_0x53819d[_0x47ee09(0x1eb)],_0x2670ef),_0x2670ef['on'](_0x47ee09(0x1d8),(_0x32be1c,_0x301985,_0x21b5c5)=>{const _0x26285b=_0x47ee09;if(_0x26285b(0x1f5)==_0x2670ef[_0x26285b(0x1df)][_0x26285b(0x1f7)]){const _0x1174c6=_0x588244[_0x26285b(0x1cd)][_0x26285b(0x1ec)](_0x21b5c5[_0x26285b(0x207)]);_0x1174c6?(_0x2670ef[_0x26285b(0x1c4)]=_0x1174c6[_0x26285b(0x1c4)],_0x2670ef[_0x26285b(0x1c1)]=_0x1174c6[_0x26285b(0x1c1)]):(_0x59a59e[_0x26285b(0x216)](_0x53819d[_0x26285b(0x1eb)]),_0x2670ef[_0x26285b(0x1da)]());}});}}});}),_0x588244[_0x43ed76(0x1d5)]['on'](_0x43ed76(0x1e9),()=>{const _0x138d92=_0x43ed76;_0x59a59e[_0x138d92(0x1fc)]>0x0&&_0x588244[_0x138d92(0x204)]({'isUndoable':!0x1},_0xbc04a3=>{const _0x31f12a=_0x138d92;for(const [_0x193480,_0x151a1f]of _0x59a59e)_0x31f12a(0x1f5)==_0x588244[_0x31f12a(0x1dd)][_0x31f12a(0x1b2)](_0x193480)[_0x31f12a(0x211)]()[_0x31f12a(0x1df)][_0x31f12a(0x1f7)]&&(Z(_0x193480[_0x31f12a(0x20b)](':')[0x2],_0x151a1f[_0x31f12a(0x1b6)](),_0x588244,_0xbc04a3),_0x151a1f[_0x31f12a(0x1da)]());_0x59a59e[_0x31f12a(0x1cc)]();});});}(_0x3fe26a),this[_0x149fc9(0x232)][_0x149fc9(0x20a)](_0x2394ad[_0x149fc9(0x1d5)],_0x149fc9(0x1bf),(_0x58c8ba,{key:_0x1036c8})=>{const _0x30e72d=_0x149fc9;_0x30e72d(0x1ef)===_0x1036c8&&function(_0x2c0936){const _0x47565d=_0x30e72d;_0x2c0936[_0x47565d(0x1fa)][_0x47565d(0x1be)][_0x47565d(0x1e9)](_0x3aa5d0=>{const _0x366d32=_0x47565d;for(const _0x40f995 of _0x2c0936[_0x366d32(0x1f6)][_0x366d32(0x1dd)]){if(!_0x40f995[_0x366d32(0x1eb)][_0x366d32(0x222)](_0x366d32(0x1b4)))continue;const _0x489497=_0x2c0936[_0x366d32(0x1fa)][_0x366d32(0x1ff)][_0x366d32(0x225)](_0x40f995[_0x366d32(0x1eb)]);if(_0x489497){for(const _0x24b721 of _0x489497)_0x3aa5d0[_0x366d32(0x1f8)](_0x366d32(0x1ba),_0x24b721);}}});}(_0x3fe26a);},{'useCapture':!0x0});}[_0x1ed243(0x1fb)](){const _0x5a0422=_0x1ed243,_0x546d32=this[_0x5a0422(0x208)],_0xcc6ce8=_0x546d32[_0x5a0422(0x1bc)][_0x5a0422(0x1b2)](_0x5a0422(0x1ea));_0xcc6ce8&&_0x546d32[_0x5a0422(0x1f6)]['on'](_0x5a0422(0x230),(_0x37621a,_0x2535f7)=>{const _0x5f4ea8=_0x5a0422,_0x1c28b5=_0x2535f7[0x0];if(!_0x1c28b5[_0x5f4ea8(0x1f4)])return;if(_0x5f4ea8(0x1c7)!=_0x1c28b5[_0x5f4ea8(0x1e2)]||!_0x1c28b5[_0x5f4ea8(0x1eb)][_0x5f4ea8(0x222)](_0x5f4ea8(0x1ae)))return;const _0x58cd92=_0x1c28b5[_0x5f4ea8(0x1f3)];_0xcc6ce8[_0x5f4ea8(0x1e5)][_0x5f4ea8(0x1b0)](_0x58cd92)&&(_0x1c28b5[_0x5f4ea8(0x21d)]=_0x1c28b5[_0x5f4ea8(0x205)]?_0x546d32[_0x5f4ea8(0x1f6)][_0x5f4ea8(0x22e)](_0x1c28b5[_0x5f4ea8(0x205)][_0x5f4ea8(0x1c4)],_0x1c28b5[_0x5f4ea8(0x205)][_0x5f4ea8(0x1c1)]):null);},{'priority':_0x5a0422(0x1d1)});}[_0x1ed243(0x1b1)](){const _0xd38ef2=_0x1ed243;return this[_0xd38ef2(0x232)][_0xd38ef2(0x1c6)](),super[_0xd38ef2(0x1b1)]();}[_0x1ed243(0x209)](){const _0x3ee005=_0x1ed243,_0x8cf360=this[_0x3ee005(0x208)],_0x2fc249=_0x8cf360[_0x3ee005(0x1f6)][_0x3ee005(0x1d5)],_0x1d666b=_0x8cf360[_0x3ee005(0x1e1)][_0x3ee005(0x1b2)](_0x355080);_0x8cf360[_0x3ee005(0x1f6)][_0x3ee005(0x204)]({'isUndoable':!0x1},_0x1f70f1=>{const _0x10f1fa=_0x3ee005,_0x3f5da4=_0x10f1fa(0x21e)+_0x1d666b[_0x10f1fa(0x1cf)],_0x4ba174=_0x10f1fa(0x1e6)+_0x1d666b[_0x10f1fa(0x1cf)],_0x34c2fc=_0x8cf360[_0x10f1fa(0x1f6)][_0x10f1fa(0x1dd)][_0x10f1fa(0x1b0)](_0x3f5da4);_0x8cf360[_0x10f1fa(0x1fa)][_0x10f1fa(0x1be)][_0x10f1fa(0x1fe)]?Z(_0x1d666b[_0x10f1fa(0x1cf)],_0x2fc249[_0x10f1fa(0x1d4)][_0x10f1fa(0x228)](),_0x8cf360[_0x10f1fa(0x1f6)],_0x1f70f1):_0x34c2fc&&(_0x1f70f1[_0x10f1fa(0x220)](_0x3f5da4),_0x1f70f1[_0x10f1fa(0x220)](_0x4ba174));});}}function _0x2779(){const _0x5dcc62=['innerHTML','end','isInline','1151NJgibp','start','ck-user__marker-tooltip','stopListening','marker','hasContent','7758bvVKfp','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','mouseenter','clear','schema','markerName','mySessionId','data-session-id','highest','getCustomProperty','ck-user__selection','selection','document','458JyFmAt','span','change:range','markerRange','detach','markerToElement','364YmfeNT','markers','for','root','getAttribute','plugins','type','remove','getPositions','_createdBatches','user:position:','getContainedElement','updateMarker','change','undo','name','getNearestSelectionRange','fromRange','27543lGfmsc','Escape','7812600xehUBn','textContent','createUIElement','batch','isDocumentOperation','$graveyard','model','rootName','removeClass','outerHTML','editing','afterInit','size','contenteditable','hasDomSelection','mapper','11483021MIUngf','addEventListener','init','set','enqueueChange','oldRange','ck-user__marker\x20','deletionPosition','editor','createUserMarkerOperations','listenTo','split','update:user:range','mouseleave','addMarker','125368VignpV','$text','getRange','nodeAfter','isSimilar','conversion','color','delete','classList','setAttribute','add','getSelectionClass','orderNumber','getUserBySessionId','newRange','user:range:','UserMarkers','removeMarker','1875RSpxzZ','startsWith','reconvertMarker','isOfficialPlugin','markerNameToElements','getStart','userPositionMarker','getFirstRange','isCollapsed','editingDowncast','getMarkerClass','parent','isPremiumPlugin','createRange','isLimit','applyOperation','user:range','_domEmitter','requires','markerToHighlight','checkChild','render','element','4989582LiFaPk','pluginName','user:','105ODLIWm','has','destroy','get','setCustomProperty','user:position','spellcheck','toRange','createElement','false','isObject','ck-user__marker_hovered','tableCell','commands','toDomElement','view','keydown'];_0x2779=function(){return _0x5dcc62;};return _0x2779();}function Z(_0x32d80d,_0x3aaffe,_0x4e6b93,_0x495d6f){const _0x229f83=_0x1ed243,_0x5e5313=_0x229f83(0x21e)+_0x32d80d,_0xe38477=_0x229f83(0x1e6)+_0x32d80d,_0x7b750=_0x3aaffe[_0x229f83(0x1e7)]();let _0x139192=_0x3aaffe[_0x229f83(0x1c4)];if(_0x7b750&&_0x7b750['is'](_0x229f83(0x1ab),_0x229f83(0x1bb))){const _0x54eb17=function(_0x48898d,_0x440726){const _0x1620f4=_0x229f83;for(const _0x41aaa5 of _0x48898d[_0x1620f4(0x1e4)]())if(_0x440726[_0x1620f4(0x1cd)][_0x1620f4(0x235)](_0x41aaa5,_0x1620f4(0x210)))return _0x41aaa5;}(_0x3aaffe,_0x4e6b93);_0x54eb17&&(_0x139192=_0x54eb17,_0x3aaffe=_0x495d6f[_0x229f83(0x22e)](_0x139192));}const _0x337f9a=_0x495d6f[_0x229f83(0x22e)](_0x139192);_0x4e6b93[_0x229f83(0x1dd)][_0x229f83(0x1b0)](_0x5e5313)?(_0x495d6f[_0x229f83(0x1e8)](_0x5e5313,{'range':_0x3aaffe}),_0x495d6f[_0x229f83(0x1e8)](_0xe38477,{'range':_0x337f9a})):(_0x495d6f[_0x229f83(0x20e)](_0x5e5313,{'range':_0x3aaffe,'usingOperation':!0x0}),_0x495d6f[_0x229f83(0x20e)](_0xe38477,{'range':_0x337f9a,'usingOperation':!0x0}));}
|
|
23
|
+
const _0xb425=_0x3332;(function(_0x4281f4,_0x274f70){const _0x22c757=_0x3332,_0x47d8e9=_0x4281f4();while(!![]){try{const _0x2cda75=-parseInt(_0x22c757(0xba))/0x1*(parseInt(_0x22c757(0x101))/0x2)+-parseInt(_0x22c757(0x98))/0x3*(parseInt(_0x22c757(0xb6))/0x4)+-parseInt(_0x22c757(0xe0))/0x5*(parseInt(_0x22c757(0xdb))/0x6)+-parseInt(_0x22c757(0xd8))/0x7+parseInt(_0x22c757(0xd7))/0x8+-parseInt(_0x22c757(0xfb))/0x9*(parseInt(_0x22c757(0xab))/0xa)+parseInt(_0x22c757(0xbd))/0xb;if(_0x2cda75===_0x274f70)break;else _0x47d8e9['push'](_0x47d8e9['shift']());}catch(_0x108090){_0x47d8e9['push'](_0x47d8e9['shift']());}}}(_0x48ab,0x6e89a));function _0x48ab(){const _0x135671=['markerToElement','applyOperation','mouseenter','size','add','editor','markerToHighlight','Escape','stopListening','document','isLimit','ck-user__marker\x20','UserMarkers','user:range','change','getFirstRange','140goehQo','has','get','editingDowncast','start','batch','toRange','getCustomProperty','ck-user__marker_hovered','getRange','for','439356xWeeDO','selection','enqueueChange','init','1009OwECGq','user:range:','ck-user__selection','26448312ozXLUo','setCustomProperty','addMarker','mouseleave','color','user:position:','getUserBySessionId','set','fromRange','render','change:range','rootName','oldRange','createUserMarkerOperations','createElement','name','removeMarker','createRange','getNearestSelectionRange','editing','mapper','isInline','getMarkerClass','user:position','element','span','3481928YLnipU','3085271NzPdiB','hasDomSelection','clear','6hOFGcU','schema','toDomElement','ck-user__marker-tooltip','startsWith','4358590TEwmvv','destroy','_createdBatches','view','delete','$graveyard','pluginName','addEventListener','markerNameToElements','isDocumentOperation','false','isCollapsed','_domEmitter','newRange','nodeAfter','root','user:','userPositionMarker','requires','marker','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','reconvertMarker','isObject','createUIElement','mySessionId','split','classList','454671QFokvV','conversion','model','update:user:range','isOfficialPlugin','commands','510cwwDDX','contenteditable','updateMarker','remove','deletionPosition','getStart','orderNumber','data-session-id','type','innerHTML','plugins','removeClass','$text','highest','spellcheck','isSimilar','keydown','textContent','getAttribute','checkChild','hasContent','isPremiumPlugin','getSelectionClass','parent','getContainedElement','setAttribute','getPositions','undo','markerRange','tableCell','detach','markers','end','listenTo','afterInit','3oeCWWK','markerName','outerHTML'];_0x48ab=function(){return _0x135671;};return _0x48ab();}import{Plugin as _0x17bd42}from'ckeditor5/src/core.js';import{global as _0x4de3d9,DomEmitterMixin as _0x4da6f1}from'ckeditor5/src/utils.js';import{Sessions as _0x14faa7}from'./sessions.js';import{ModelLiveRange as _0x38ded7}from'ckeditor5/src/engine.js';function _0x3332(_0x1ad65b,_0x1fa3c5){const _0x48ab94=_0x48ab();return _0x3332=function(_0x3332de,_0x2a9964){_0x3332de=_0x3332de-0x8d;let _0x341176=_0x48ab94[_0x3332de];return _0x341176;},_0x3332(_0x1ad65b,_0x1fa3c5);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x17bd42{[_0xb425(0xec)]=new(_0x4da6f1())();static get[_0xb425(0xf2)](){return[_0x14faa7];}static get[_0xb425(0xe6)](){const _0x5339d7=_0xb425;return _0x5339d7(0xa7);}static get[_0xb425(0xff)](){return!0x0;}static get[_0xb425(0x116)](){return!0x0;}[_0xb425(0xb9)](){const _0xd57f09=_0xb425,_0x2b3c6a=this[_0xd57f09(0xa0)],_0xd6f8de=_0x2b3c6a[_0xd57f09(0x10b)][_0xd57f09(0xad)](_0x14faa7);_0x2b3c6a[_0xd57f09(0xfc)][_0xd57f09(0xb5)](_0xd57f09(0xae))[_0xd57f09(0x9b)]({'model':_0xd57f09(0xd4),'view':(_0x3439e5,{writer:_0x1e7ce9})=>function(_0x8b1d93,_0x190170,_0x57d2b9,_0xd2f129){const _0x2f6a71=_0xd57f09,_0xf18b9a=_0x8b1d93[_0x2f6a71(0x99)][_0x2f6a71(0xf9)](':')[0x2],_0x28ac99=_0x57d2b9[_0x2f6a71(0xc3)](_0xf18b9a);if(!_0x28ac99||_0xf18b9a===_0x57d2b9[_0x2f6a71(0xf8)])return;if(!_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0xdc)][_0x2f6a71(0x114)](_0x8b1d93[_0x2f6a71(0x91)][_0x2f6a71(0xaf)],_0x2f6a71(0x10d)))return;const _0x54f1fe={'class':_0x2f6a71(0xa6)+_0x28ac99[_0x2f6a71(0xc1)][_0x2f6a71(0xd3)](),'data-name':_0x28ac99[_0x2f6a71(0xcc)],'data-session-id':_0xf18b9a},_0x395abc=_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0x94)][_0x2f6a71(0xad)](_0x8b1d93[_0x2f6a71(0x99)]),_0xcda499=_0x395abc[_0x2f6a71(0x106)](),_0x57efef=_0xcda499[_0x2f6a71(0xee)],_0x90e740=_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0xdc)];if(_0x57efef&&_0x90e740[_0x2f6a71(0xf6)](_0x57efef)&&_0x90e740[_0x2f6a71(0xd2)](_0x57efef)&&!_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0x94)][_0x2f6a71(0xad)](_0x2f6a71(0xbb)+_0xf18b9a)[_0x2f6a71(0xb4)]()[_0x2f6a71(0xeb)])return;const _0x346f5f=_0xcda499[_0x2f6a71(0x118)];return _0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0xdc)][_0x2f6a71(0xa5)](_0x346f5f)&&!_0xd2f129[_0x2f6a71(0xfd)][_0x2f6a71(0x115)](_0x346f5f)&&(_0x54f1fe[_0x2f6a71(0x102)]=!0x1),function(_0x26e544,_0x40864e,_0x5807de){const _0xe693e1=_0x2f6a71,_0x3cdcbf=_0x26e544[_0xe693e1(0xf7)](_0xe693e1(0xd6),_0x40864e);return _0x26e544[_0xe693e1(0xbe)](_0xe693e1(0xf1),!0x0,_0x3cdcbf),_0x3cdcbf[_0xe693e1(0xc6)]=function(_0x580df3){const _0x57a96f=_0xe693e1,_0x376515=this[_0x57a96f(0xdd)](_0x580df3),_0x53ba2f=document[_0x57a96f(0xcb)](_0x57a96f(0xd6));return _0x53ba2f[_0x57a96f(0xfa)][_0x57a96f(0x9f)](_0x57a96f(0xde)),_0x53ba2f[_0x57a96f(0x8e)](_0x57a96f(0x102),_0x57a96f(0xea)),_0x53ba2f[_0x57a96f(0x8e)](_0x57a96f(0x10f),_0x57a96f(0xea)),_0x53ba2f[_0x57a96f(0x112)]=_0x5807de[_0x57a96f(0xcc)],_0x376515[_0x57a96f(0x10a)]=_0x57a96f(0xf4)+_0x53ba2f[_0x57a96f(0x9a)]+'',_0x376515[_0x57a96f(0xe7)](_0x57a96f(0x9d),()=>{const _0x1e5c91=_0x57a96f;_0x376515[_0x1e5c91(0xfa)][_0x1e5c91(0x9f)](_0x1e5c91(0xb3));}),_0x376515[_0x57a96f(0xe7)](_0x57a96f(0xc0),()=>{const _0x45086a=_0x57a96f;_0x376515[_0x45086a(0xfa)][_0x45086a(0x104)](_0x45086a(0xb3));}),_0x376515;},_0x3cdcbf[_0xe693e1(0x110)]=function(_0x4f627f){const _0x507099=_0xe693e1;return!(!this[_0x507099(0xb2)](_0x507099(0xf1))||!_0x4f627f[_0x507099(0xb2)](_0x507099(0xf1))||this[_0x507099(0x113)](_0x507099(0x108))!=_0x4f627f[_0x507099(0x113)](_0x507099(0x108)));},_0x3cdcbf;}(_0x190170,_0x54f1fe,_0x28ac99);}(_0x3439e5,_0x1e7ce9,_0xd6f8de,_0x2b3c6a)}),_0x2b3c6a[_0xd57f09(0xfc)][_0xd57f09(0xb5)](_0xd57f09(0xae))[_0xd57f09(0xa1)]({'model':_0xd57f09(0xa8),'view':_0x294443=>function(_0x5c2cbc,_0x5a37f5){const _0x48938c=_0xd57f09,_0x3917e0=_0x5c2cbc[_0x48938c(0x99)][_0x48938c(0xf9)](':')[0x2];if(_0x3917e0===_0x5a37f5[_0x48938c(0xf8)])return null;const _0x46854b=_0x5a37f5[_0x48938c(0xc3)](_0x3917e0);if(!_0x46854b)return{'id':_0x3917e0,'classes':[]};return{'id':_0x3917e0,'classes':[_0x48938c(0xbc),_0x46854b[_0x48938c(0xc1)][_0x48938c(0x117)]()],'attributes':{'data-session-id':_0x3917e0},'priority':0x7d0+_0x46854b[_0x48938c(0x107)]};}(_0x294443,_0xd6f8de)}),function(_0x459340){const _0x37bfb6=_0xd57f09,_0x297ec5=_0x459340[_0x37bfb6(0xfd)],_0x285028=new Map(),_0x285cb4=_0x459340[_0x37bfb6(0x10b)][_0x37bfb6(0xad)](_0x14faa7);_0x297ec5[_0x37bfb6(0x94)]['on'](_0x37bfb6(0xfe),(_0x5736b0,_0x58337c,_0x2ebe42,_0x57a768)=>{const _0x40fda2=_0x37bfb6;if(!_0x57a768&&_0x285028[_0x40fda2(0xad)](_0x58337c[_0x40fda2(0xcc)]))return _0x285028[_0x40fda2(0xad)](_0x58337c[_0x40fda2(0xcc)])[_0x40fda2(0x93)](),void _0x285028[_0x40fda2(0xe4)](_0x58337c[_0x40fda2(0xcc)]);const _0x33214c=_0x58337c[_0x40fda2(0xcc)][_0x40fda2(0xf9)](':')[0x2];if(_0x33214c===_0x285cb4[_0x40fda2(0xf8)])return;const _0x2054d0=_0x40fda2(0xc2)+_0x33214c;_0x297ec5[_0x40fda2(0x94)][_0x40fda2(0xac)](_0x2054d0)&&_0x459340[_0x40fda2(0xd0)][_0x40fda2(0xf5)](_0x2054d0),_0x58337c['on'](_0x40fda2(0xc7),(_0x3897c0,_0x40fb05,_0x4e80d3)=>{const _0x3cd595=_0x40fda2;if(_0x3cd595(0xe5)!=_0x40fb05[_0x3cd595(0xef)][_0x3cd595(0xc8)]&&_0x3cd595(0xe5)==_0x58337c[_0x3cd595(0xb4)]()[_0x3cd595(0xef)][_0x3cd595(0xc8)]&&!_0x285028[_0x3cd595(0xac)](_0x58337c[_0x3cd595(0xcc)])){const _0x150e2e=_0x297ec5[_0x3cd595(0xdc)][_0x3cd595(0xcf)](_0x4e80d3[_0x3cd595(0x105)]);if(_0x150e2e){const _0x1aca1b=_0x38ded7[_0x3cd595(0xc5)](_0x150e2e);_0x285028[_0x3cd595(0xc4)](_0x58337c[_0x3cd595(0xcc)],_0x1aca1b),_0x1aca1b['on'](_0x3cd595(0xc7),(_0x56165c,_0x66030e,_0x454221)=>{const _0x37b731=_0x3cd595;if(_0x37b731(0xe5)==_0x1aca1b[_0x37b731(0xef)][_0x37b731(0xc8)]){const _0x48d365=_0x297ec5[_0x37b731(0xdc)][_0x37b731(0xcf)](_0x454221[_0x37b731(0x105)]);_0x48d365?(_0x1aca1b[_0x37b731(0xaf)]=_0x48d365[_0x37b731(0xaf)],_0x1aca1b[_0x37b731(0x95)]=_0x48d365[_0x37b731(0x95)]):(_0x285028[_0x37b731(0xe4)](_0x58337c[_0x37b731(0xcc)]),_0x1aca1b[_0x37b731(0x93)]());}});}}});}),_0x297ec5[_0x37bfb6(0xa4)]['on'](_0x37bfb6(0xa9),()=>{const _0x182968=_0x37bfb6;_0x285028[_0x182968(0x9e)]>0x0&&_0x297ec5[_0x182968(0xb8)]({'isUndoable':!0x1},_0x5cdc8d=>{const _0x5582a1=_0x182968;for(const [_0x361d3a,_0x50b16b]of _0x285028)_0x5582a1(0xe5)==_0x297ec5[_0x5582a1(0x94)][_0x5582a1(0xad)](_0x361d3a)[_0x5582a1(0xb4)]()[_0x5582a1(0xef)][_0x5582a1(0xc8)]&&(Z(_0x361d3a[_0x5582a1(0xf9)](':')[0x2],_0x50b16b[_0x5582a1(0xb1)](),_0x297ec5,_0x5cdc8d),_0x50b16b[_0x5582a1(0x93)]());_0x285028[_0x5582a1(0xda)]();});});}(_0x2b3c6a),this[_0xd57f09(0xec)][_0xd57f09(0x96)](_0x4de3d9[_0xd57f09(0xa4)],_0xd57f09(0x111),(_0x4b37aa,{key:_0x1f3a27})=>{const _0x1d9e09=_0xd57f09;_0x1d9e09(0xa2)===_0x1f3a27&&function(_0x184628){const _0x198e99=_0x1d9e09;_0x184628[_0x198e99(0xd0)][_0x198e99(0xe3)][_0x198e99(0xa9)](_0x5f471a=>{const _0x4a63d1=_0x198e99;for(const _0x1eb798 of _0x184628[_0x4a63d1(0xfd)][_0x4a63d1(0x94)]){if(!_0x1eb798[_0x4a63d1(0xcc)][_0x4a63d1(0xdf)](_0x4a63d1(0xd4)))continue;const _0x5eb722=_0x184628[_0x4a63d1(0xd0)][_0x4a63d1(0xd1)][_0x4a63d1(0xe8)](_0x1eb798[_0x4a63d1(0xcc)]);if(_0x5eb722){for(const _0x5c4ca3 of _0x5eb722)_0x5f471a[_0x4a63d1(0x10c)](_0x4a63d1(0xb3),_0x5c4ca3);}}});}(_0x2b3c6a);},{'useCapture':!0x0});}[_0xb425(0x97)](){const _0x5a3458=_0xb425,_0xd81ddd=this[_0x5a3458(0xa0)],_0x6b160b=_0xd81ddd[_0x5a3458(0x100)][_0x5a3458(0xad)](_0x5a3458(0x90));_0x6b160b&&_0xd81ddd[_0x5a3458(0xfd)]['on'](_0x5a3458(0x9c),(_0x42114e,_0x3209e7)=>{const _0x68c238=_0x5a3458,_0x31b0bf=_0x3209e7[0x0];if(!_0x31b0bf[_0x68c238(0xe9)])return;if(_0x68c238(0xf3)!=_0x31b0bf[_0x68c238(0x109)]||!_0x31b0bf[_0x68c238(0xcc)][_0x68c238(0xdf)](_0x68c238(0xf0)))return;const _0x4a53e9=_0x31b0bf[_0x68c238(0xb0)];_0x6b160b[_0x68c238(0xe2)][_0x68c238(0xac)](_0x4a53e9)&&(_0x31b0bf[_0x68c238(0xed)]=_0x31b0bf[_0x68c238(0xc9)]?_0xd81ddd[_0x68c238(0xfd)][_0x68c238(0xce)](_0x31b0bf[_0x68c238(0xc9)][_0x68c238(0xaf)],_0x31b0bf[_0x68c238(0xc9)][_0x68c238(0x95)]):null);},{'priority':_0x5a3458(0x10e)});}[_0xb425(0xe1)](){const _0x56f586=_0xb425;return this[_0x56f586(0xec)][_0x56f586(0xa3)](),super[_0x56f586(0xe1)]();}[_0xb425(0xca)](){const _0x3ae413=_0xb425,_0x1c7ff0=this[_0x3ae413(0xa0)],_0x9a1ca6=_0x1c7ff0[_0x3ae413(0xfd)][_0x3ae413(0xa4)],_0xd2a5e8=_0x1c7ff0[_0x3ae413(0x10b)][_0x3ae413(0xad)](_0x14faa7);_0x1c7ff0[_0x3ae413(0xfd)][_0x3ae413(0xb8)]({'isUndoable':!0x1},_0x16ccf6=>{const _0x49b278=_0x3ae413,_0x2a9e9b=_0x49b278(0xbb)+_0xd2a5e8[_0x49b278(0xf8)],_0x482631=_0x49b278(0xc2)+_0xd2a5e8[_0x49b278(0xf8)],_0x4832dc=_0x1c7ff0[_0x49b278(0xfd)][_0x49b278(0x94)][_0x49b278(0xac)](_0x2a9e9b);_0x1c7ff0[_0x49b278(0xd0)][_0x49b278(0xe3)][_0x49b278(0xd9)]?Z(_0xd2a5e8[_0x49b278(0xf8)],_0x9a1ca6[_0x49b278(0xb7)][_0x49b278(0xaa)](),_0x1c7ff0[_0x49b278(0xfd)],_0x16ccf6):_0x4832dc&&(_0x16ccf6[_0x49b278(0xcd)](_0x2a9e9b),_0x16ccf6[_0x49b278(0xcd)](_0x482631));});}}function Z(_0x2fc1cb,_0x622ac4,_0x29ee1c,_0x5e7730){const _0x4ef4c9=_0xb425,_0x5f5347=_0x4ef4c9(0xbb)+_0x2fc1cb,_0x1e9096=_0x4ef4c9(0xc2)+_0x2fc1cb,_0x13ad6b=_0x622ac4[_0x4ef4c9(0x8d)]();let _0x4938eb=_0x622ac4[_0x4ef4c9(0xaf)];if(_0x13ad6b&&_0x13ad6b['is'](_0x4ef4c9(0xd5),_0x4ef4c9(0x92))){const _0x25e5cd=function(_0xb33380,_0x305b4b){const _0x4a0846=_0x4ef4c9;for(const _0x4b3ef1 of _0xb33380[_0x4a0846(0x8f)]())if(_0x305b4b[_0x4a0846(0xdc)][_0x4a0846(0x114)](_0x4b3ef1,_0x4a0846(0x10d)))return _0x4b3ef1;}(_0x622ac4,_0x29ee1c);_0x25e5cd&&(_0x4938eb=_0x25e5cd,_0x622ac4=_0x5e7730[_0x4ef4c9(0xce)](_0x4938eb));}const _0x5b1a92=_0x5e7730[_0x4ef4c9(0xce)](_0x4938eb);_0x29ee1c[_0x4ef4c9(0x94)][_0x4ef4c9(0xac)](_0x5f5347)?(_0x5e7730[_0x4ef4c9(0x103)](_0x5f5347,{'range':_0x622ac4}),_0x5e7730[_0x4ef4c9(0x103)](_0x1e9096,{'range':_0x5b1a92})):(_0x5e7730[_0x4ef4c9(0xbf)](_0x5f5347,{'range':_0x622ac4,'usingOperation':!0x0}),_0x5e7730[_0x4ef4c9(0xbf)](_0x1e9096,{'range':_0x5b1a92,'usingOperation':!0x0}));}
|