@ckeditor/ckeditor5-real-time-collaboration 47.4.0-alpha.0 → 47.4.0-alpha.2
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 _0x1c5fbd=_0x3904;(function(_0x3189d9,_0x3c83b5){const _0x3d5a9c=_0x3904,_0x213581=_0x3189d9();while(!![]){try{const _0x4c744f=parseInt(_0x3d5a9c(0x181))/0x1*(-parseInt(_0x3d5a9c(0x191))/0x2)+parseInt(_0x3d5a9c(0x182))/0x3*(parseInt(_0x3d5a9c(0x17d))/0x4)+parseInt(_0x3d5a9c(0x196))/0x5*(-parseInt(_0x3d5a9c(0x185))/0x6)+parseInt(_0x3d5a9c(0x183))/0x7+parseInt(_0x3d5a9c(0x19a))/0x8*(parseInt(_0x3d5a9c(0x189))/0x9)+parseInt(_0x3d5a9c(0x184))/0xa*(-parseInt(_0x3d5a9c(0x199))/0xb)+-parseInt(_0x3d5a9c(0x19c))/0xc;if(_0x4c744f===_0x3c83b5)break;else _0x213581['push'](_0x213581['shift']());}catch(_0x5cf256){_0x213581['push'](_0x213581['shift']());}}}(_0xecd9,0x97993));import{View as _0x44faa9}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x1226d3}from'ckeditor5/src/utils.js';import{getTranslation as _0x57f1e7}from'../../common-translations.js';function _0x3904(_0x320194,_0x56cbb5){const _0xecd9d8=_0xecd9();return _0x3904=function(_0x390487,_0x1267eb){_0x390487=_0x390487-0x17d;let _0x90cbd2=_0xecd9d8[_0x390487];return _0x90cbd2;},_0x3904(_0x320194,_0x56cbb5);}export class PresenceInlineListView extends _0x44faa9{[_0x1c5fbd(0x1a5)];[_0x1c5fbd(0x1a2)];constructor(_0x4e53fa){const _0x489c33=_0x1c5fbd;super(_0x4e53fa);const _0x200155=this[_0x489c33(0x18b)];this[_0x489c33(0x1a5)]=this[_0x489c33(0x17e)](),this[_0x489c33(0x1a2)]=new _0x1226d3(),this[_0x489c33(0x187)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x489c33(0x18c)]({'tag':_0x489c33(0x195),'attributes':{'aria-haspopup':_0x200155['if'](_0x489c33(0x19f)),'aria-expanded':_0x200155['to'](_0x489c33(0x188),_0x1be2b1=>this[_0x489c33(0x19f)]&&String(_0x1be2b1)),'aria-label':_0x200155['to'](_0x489c33(0x19f),_0x2c580c=>_0x57f1e7(_0x4e53fa,_0x2c580c?_0x489c33(0x18a):_0x489c33(0x194))),'role':_0x489c33(0x197),'tabindex':_0x200155['to'](_0x489c33(0x19f),_0x490904=>!!_0x490904&&0x0),'class':['ck',_0x489c33(0x1a4)]},'children':this[_0x489c33(0x1a5)],'on':{'mouseenter':_0x200155['to'](()=>this[_0x489c33(0x180)](_0x489c33(0x198))),'mouseleave':_0x200155['to'](_0x205a7e=>{const _0x1c63e3=_0x489c33,_0x21ecbe=_0x205a7e,_0x252a8e=document[_0x1c63e3(0x19e)](_0x1c63e3(0x18d)),_0x4c536f=document[_0x1c63e3(0x19e)](_0x1c63e3(0x190));_0x252a8e?.[_0x1c63e3(0x192)](_0x21ecbe[_0x1c63e3(0x193)])||_0x4c536f?.[_0x1c63e3(0x192)](_0x21ecbe[_0x1c63e3(0x193)])||this[_0x1c63e3(0x180)](_0x1c63e3(0x186));})}}),this['on'](_0x489c33(0x18e),(_0x288ee1,_0x27559e,_0x483249)=>{const _0x40f976=_0x489c33;this[_0x40f976(0x1a1)]&&(_0x483249?this[_0x40f976(0x1a1)][_0x40f976(0x17f)](_0x40f976(0x1a0),String(this[_0x40f976(0x188)])):this[_0x40f976(0x1a1)][_0x40f976(0x19d)](_0x40f976(0x1a0)));});}[_0x1c5fbd(0x18f)](){const _0x3b635b=_0x1c5fbd;this[_0x3b635b(0x1a1)][_0x3b635b(0x18f)]();}[_0x1c5fbd(0x19b)](){const _0x16ce09=_0x1c5fbd;super[_0x16ce09(0x19b)](),this[_0x16ce09(0x1a2)][_0x16ce09(0x1a3)](this[_0x16ce09(0x1a1)]);}}function _0xecd9(){const _0x47e2f8=['8HIjOiC','createCollection','setAttribute','fire','21501odIonW','1166244SZMqmR','6608532WMRUud','472430ULFmAY','1416THxAnj','presencelist:hide','set','isExpanded','1017AQxurL','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','setTemplate','.ck-presence-list__dropdown-list','change:hasPopup','focus','.ck-balloon-panel_with-arrow','6KbGuvb','contains','relatedTarget','Connected\x20users\x20list','div','20665DWONwE','list','presencelist:show','55bcnLUI','38536BmgUjM','render','4426080NaLItP','removeAttribute','querySelector','hasPopup','aria-expanded','element','keystrokes','listenTo','ck-presence-list__list','items'];_0xecd9=function(){return _0x47e2f8;};return _0xecd9();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2699f4=_0x255d;(function(_0xb08b0d,_0x4e1145){const _0x5812bb=_0x255d,_0x435f4a=_0xb08b0d();while(!![]){try{const _0x1b2bcf=-parseInt(_0x5812bb(0x1a3))/0x1+parseInt(_0x5812bb(0x19b))/0x2+parseInt(_0x5812bb(0x1a7))/0x3*(parseInt(_0x5812bb(0x1a2))/0x4)+parseInt(_0x5812bb(0x199))/0x5*(parseInt(_0x5812bb(0x1a4))/0x6)+-parseInt(_0x5812bb(0x19a))/0x7+parseInt(_0x5812bb(0x1a5))/0x8*(-parseInt(_0x5812bb(0x19e))/0x9)+parseInt(_0x5812bb(0x19d))/0xa;if(_0x1b2bcf===_0x4e1145)break;else _0x435f4a['push'](_0x435f4a['shift']());}catch(_0x1d12a3){_0x435f4a['push'](_0x435f4a['shift']());}}}(_0x4fa9,0xef4c5));import{View as _0x4414b8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x33ef7d}from'./presencecounterview.js';import{PresenceInlineListView as _0x458bab}from'./presenceinlinelistview.js';function _0x255d(_0x38aae5,_0x168d4f){const _0x4fa9db=_0x4fa9();return _0x255d=function(_0x255d35,_0x2eac20){_0x255d35=_0x255d35-0x18d;let _0x19a50a=_0x4fa9db[_0x255d35];return _0x19a50a;},_0x255d(_0x38aae5,_0x168d4f);}import'../../../theme/presencelist.css';function _0x4fa9(){const _0x10c2f6=['bindTemplate','3HFDDcs','isCollapsed','setTemplate','tooltipPosition','locale','ck-presence-list','ck-presence-list--collapsed','listenTo','change','items','bind','hasPopup','set','ck-reset','counterView','1708885LZKvoZ','4920013pWYvKP','334478sFtutz','ck-rounded-corners','28964410CsXZVm','275679pwhKgE','div','inlineListView','first','171528xWzJPl','1428374HdOoWu','6Snldxm','88FHXrux'];_0x4fa9=function(){return _0x10c2f6;};return _0x4fa9();}export class PresenceListView extends _0x4414b8{[_0x2699f4(0x198)];[_0x2699f4(0x1a0)];constructor(_0x421e6e,_0x2198b2=0x6){const _0x1a2825=_0x2699f4;super(_0x421e6e);const _0x159b29=this[_0x1a2825(0x1a6)];this[_0x1a2825(0x196)](_0x1a2825(0x1a8),!0x0),this[_0x1a2825(0x198)]=new _0x33ef7d(this[_0x1a2825(0x18e)],_0x2198b2),this[_0x1a2825(0x1a0)]=new _0x458bab(_0x421e6e),this[_0x1a2825(0x1a0)][_0x1a2825(0x194)](_0x1a2825(0x195))['to'](this,_0x1a2825(0x1a8)),this[_0x1a2825(0x191)](this[_0x1a2825(0x1a0)][_0x1a2825(0x193)],_0x1a2825(0x192),()=>{const _0x42177b=_0x1a2825;for(const _0x5d6857 of this[_0x42177b(0x1a0)][_0x42177b(0x193)])_0x5d6857[_0x42177b(0x18d)]='s';this[_0x42177b(0x1a0)][_0x42177b(0x193)][_0x42177b(0x1a1)]&&(this[_0x42177b(0x1a0)][_0x42177b(0x193)][_0x42177b(0x1a1)][_0x42177b(0x18d)]='se');}),this[_0x1a2825(0x1a9)]({'tag':_0x1a2825(0x19f),'attributes':{'class':['ck',_0x1a2825(0x18f),_0x1a2825(0x197),_0x1a2825(0x19c),_0x159b29['if'](_0x1a2825(0x1a8),_0x1a2825(0x190))]},'children':[this[_0x1a2825(0x1a0)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x31ca4c=_0x6106;(function(_0x2497af,_0x6c730a){var _0x402923=_0x6106,_0x23ee6f=_0x2497af();while(!![]){try{var _0x2ebf2c=parseInt(_0x402923(0xf3))/0x1+-parseInt(_0x402923(0xef))/0x2+parseInt(_0x402923(0xf6))/0x3+parseInt(_0x402923(0xf0))/0x4+-parseInt(_0x402923(0xed))/0x5*(-parseInt(_0x402923(0xf7))/0x6)+parseInt(_0x402923(0xfa))/0x7*(-parseInt(_0x402923(0xf1))/0x8)+-parseInt(_0x402923(0xf9))/0x9;if(_0x2ebf2c===_0x6c730a)break;else _0x23ee6f['push'](_0x23ee6f['shift']());}catch(_0x31bbd5){_0x23ee6f['push'](_0x23ee6f['shift']());}}}(_0x45d8,0x39bcb));import{ContextPlugin as _0xb8cf5b}from'ckeditor5/src/core.js';import{Sessions as _0x1b4291}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x5f0a1d}from'./presencelist/presencelistui.js';export class PresenceList extends _0xb8cf5b{static get[_0x31ca4c(0xf5)](){return[_0x1b4291,_0x5f0a1d];}static get[_0x31ca4c(0xf8)](){var _0x50834b=_0x31ca4c;return _0x50834b(0xee);}static get[_0x31ca4c(0xf2)](){return!0x0;}static get[_0x31ca4c(0xf4)](){return!0x0;}}function _0x6106(_0x7d557c,_0x38b7c7){var _0x45d859=_0x45d8();return _0x6106=function(_0x610603,_0x3052b6){_0x610603=_0x610603-0xed;var _0x59d5ec=_0x45d859[_0x610603];return _0x59d5ec;},_0x6106(_0x7d557c,_0x38b7c7);}function _0x45d8(){var _0x310280=['12hwpTaM','pluginName','4146147jWPeja','196vUYGnG','423210JeppPH','PresenceList','409948sJUsUy','1876136SIbdNC','57696LBkuOQ','isOfficialPlugin','297509UileaY','isPremiumPlugin','requires','504771MWEisY'];_0x45d8=function(){return _0x310280;};return _0x45d8();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x2e4980)());[_0x465a59(0xc3)];static get[_0x465a59(0x9f)](){const _0x47caa0=_0x465a59;return[_0x56feef,_0x47caa0(0xd0),_0x4e9630,_0x3709e9];}static get[_0x465a59(0xb9)](){const _0x2fd92b=_0x465a59;return _0x2fd92b(0xaa);}static get[_0x465a59(0x6e)](){return!0x0;}static get[_0x465a59(0x73)](){return!0x0;}constructor(_0x1da8ff){const _0x3c06fc=_0x465a59;super(_0x1da8ff),this[_0x3c06fc(0xc3)]=new Map();}async[_0x465a59(0x74)](){const _0x1fa42f=_0x465a59,_0x41dd37=this[_0x1fa42f(0xd2)],_0x2cb0bc=_0x41dd37[_0x1fa42f(0x83)][_0x1fa42f(0x9e)](_0x1fa42f(0xd0));if(_0x41dd37[_0x1fa42f(0x83)][_0x1fa42f(0x9e)](_0x56feef)[_0x1fa42f(0x87)](this),_0x2cb0bc[_0x1fa42f(0xa5)]={'addCommentThread':async({channelId:_0x2097e4,threadId:_0x26f70b,comments:_0x262342,resolvedAt:_0x4353dc,resolvedBy:_0x240469,context:_0x5ee0c2,attributes:_0x531ad1})=>{const _0x27f6ce=_0x1fa42f,_0x278fea=await this[_0x27f6ce(0x8b)](_0x2097e4)[_0x27f6ce(0x75)]({'commentThreadId':_0x26f70b,'comments':_0x262342[_0x27f6ce(0xa0)](_0xb4b569=>function(_0xc104b7,_0x1b068d,_0x26f614){const _0x423b40=_0x27f6ce;return{'commentThreadId':_0x26f614,'commentId':_0xc104b7[_0x423b40(0xca)],'userId':_0xc104b7[_0x423b40(0xb4)],'content':_0xc104b7[_0x423b40(0xb7)],'documentId':_0x1b068d,'createdAt':_0xc104b7[_0x423b40(0xba)],'attributes':_0xc104b7[_0x423b40(0x88)]||{}};}(_0xb4b569,_0x2097e4,_0x26f70b)),'resolvedAt':_0x4353dc,'resolvedBy':_0x240469,'context':_0x5ee0c2,'attributes':_0x531ad1})[_0x27f6ce(0xae)](A);return{'threadId':_0x278fea[_0x27f6ce(0xc5)],'comments':_0x278fea[_0x27f6ce(0xbc)]};},'getCommentThread':async({channelId:_0x4baeaf,threadId:_0x439c8e})=>{const _0xe3933a=_0x1fa42f,_0x4223a6=await this[_0xe3933a(0x8b)](_0x4baeaf)[_0xe3933a(0x95)](_0x439c8e)[_0xe3933a(0xae)](f)[_0xe3933a(0xae)](A);return _0x4223a6?_0x4223a6[_0xe3933a(0xc4)]?null:(await this[_0xe3933a(0x77)]([_0x4223a6]),{'threadId':_0x4223a6[_0xe3933a(0xc5)],'comments':_0x4223a6[_0xe3933a(0xbc)][_0xe3933a(0xa0)](p),'context':_0x4223a6[_0xe3933a(0xd2)],'resolvedAt':_0x4223a6[_0xe3933a(0x9b)],'resolvedBy':_0x4223a6[_0xe3933a(0xbd)],'attributes':_0x4223a6[_0xe3933a(0x88)]||{}}):null;},'updateCommentThread':async({channelId:_0x34a930,threadId:_0x9e28ad,context:_0x3d9e6c,unlinkedAt:_0x20bc30,attributes:_0x1a0778})=>this[_0x1fa42f(0x8b)](_0x34a930)[_0x1fa42f(0xa9)]({'commentThreadId':_0x9e28ad,'context':_0x3d9e6c,'attributes':_0x1a0778,'unlinkedAt':_0x20bc30})[_0x1fa42f(0xae)](f)[_0x1fa42f(0xae)](A),'resolveCommentThread':async({channelId:_0x221bb8,threadId:_0x4f2cd4})=>{const _0x2c9333=_0x1fa42f,_0x4378a7=await this[_0x2c9333(0x8b)](_0x221bb8)[_0x2c9333(0xa7)](_0x4f2cd4)[_0x2c9333(0xae)](f)[_0x2c9333(0xae)](A);return{'threadId':_0x4378a7[_0x2c9333(0xc5)],'resolvedAt':_0x4378a7[_0x2c9333(0x9b)],'resolvedBy':_0x4378a7[_0x2c9333(0xbd)]};},'reopenCommentThread':async({channelId:_0x4b139c,threadId:_0x176ec8})=>this[_0x1fa42f(0x8b)](_0x4b139c)[_0x1fa42f(0x9d)](_0x176ec8)[_0x1fa42f(0xae)](f)[_0x1fa42f(0xae)](A),'removeCommentThread':({channelId:_0x3a4209,threadId:_0xbdd6d1})=>this[_0x1fa42f(0x8b)](_0x3a4209)[_0x1fa42f(0x76)](_0xbdd6d1)[_0x1fa42f(0xae)](f)[_0x1fa42f(0xae)](A),'addComment':({channelId:_0x5545e8,threadId:_0x3cf2c4,commentId:_0x47a48b,content:_0x101e06,attributes:_0x3fe203})=>this[_0x1fa42f(0x8b)](_0x5545e8)[_0x1fa42f(0xaf)](_0x3cf2c4,_0x47a48b,_0x101e06,_0x3fe203)[_0x1fa42f(0xae)](A),'updateComment':({channelId:_0x26d425,threadId:_0x5a8509,commentId:_0x4d425d,content:_0x17c76d,attributes:_0x16db85})=>this[_0x1fa42f(0x8b)](_0x26d425)[_0x1fa42f(0xc9)](_0x5a8509,_0x4d425d,_0x17c76d,_0x16db85)[_0x1fa42f(0xae)](f)[_0x1fa42f(0xae)](A),'removeComment':({channelId:_0x59c1df,threadId:_0x23a072,commentId:_0x5df625})=>this[_0x1fa42f(0x8b)](_0x59c1df)[_0x1fa42f(0x6d)](_0x23a072,_0x5df625)[_0x1fa42f(0xae)](f)[_0x1fa42f(0xae)](A)},_0x41dd37 instanceof _0x1e4948){const _0x5137e3=_0x41dd37[_0x1fa42f(0x8c)][_0x1fa42f(0x9e)](_0x1fa42f(0x86)),_0x3ddca1=_0x41dd37[_0x1fa42f(0x83)][_0x1fa42f(0x9e)](_0x4e9630);await this[_0x1fa42f(0xc2)](_0x5137e3);const _0x4aaf58=await this[_0x1fa42f(0xc3)][_0x1fa42f(0x9e)](_0x5137e3)[_0x1fa42f(0xc8)]();this[_0x1fa42f(0xb8)](_0x3ddca1,_0x1fa42f(0xa8)+_0x5137e3,(_0x39e415,{session:_0x2baa27})=>{const _0x631c4b=_0x1fa42f;_0x2baa27['id']===_0x3ddca1[_0x631c4b(0x92)]&&(_0x39e415[_0x631c4b(0x84)](),this[_0x631c4b(0xd2)][_0x631c4b(0x83)][_0x631c4b(0x9e)](_0x631c4b(0x80))[_0x631c4b(0xc0)](_0x2baa27[_0x631c4b(0x8f)],_0x5137e3));}),_0x3ddca1[_0x1fa42f(0x94)](_0x5137e3,_0x4aaf58);}}async[_0x465a59(0xc2)](_0x433e69){const _0x49606e=_0x465a59;if(this[_0x49606e(0xc3)][_0x49606e(0x6f)](_0x433e69))throw new _0x2a734d(_0x49606e(0x7d),null,{'channelId':_0x433e69});const _0x49d95a=this[_0x49606e(0xd2)][_0x49606e(0x83)][_0x49606e(0x9e)](_0x49606e(0xd0)),_0x2325a2=new CloudServicesCommentsAdapter[(_0x49606e(0x85))](_0x433e69);this[_0x49606e(0xc3)][_0x49606e(0x99)](_0x433e69,_0x2325a2),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0x7c),(_0x4b7ff2,_0x31792d)=>{const _0x17294f=_0x49606e,{commentThreadId:_0x2a12f8,documentId:_0x562a44,context:_0x2b6a68,attributes:_0x1685a1,resolvedAt:_0x5ad2f3,resolvedBy:_0x36fd93,comments:_0x1f41d0}=_0x31792d;_0x49d95a[_0x17294f(0x95)](_0x2a12f8)||_0x49d95a[_0x17294f(0x75)]({'threadId':_0x2a12f8,'channelId':_0x562a44,'comments':_0x1f41d0?_0x1f41d0[_0x17294f(0xa0)](p):[],'context':_0x2b6a68,'attributes':_0x1685a1,'resolvedAt':_0x5ad2f3,'resolvedBy':_0x36fd93,'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0xa3),(_0x26bf3a,{commentThreadId:_0x76e089,documentId:_0xae778c,context:_0xdcf2f3,unlinkedAt:_0x2b344b,attributes:_0x2af240})=>{const _0x9dd2b9=_0x49606e;_0x49d95a[_0x9dd2b9(0x95)](_0x76e089)&&_0x49d95a[_0x9dd2b9(0xa9)]({'threadId':_0x76e089,'channelId':_0xae778c,'context':_0xdcf2f3,'unlinkedAt':_0x2b344b,'attributes':_0x2af240,'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0xad),(_0x34c0e9,{commentThreadId:_0x23350a,resolvedBy:_0x455e30,resolvedAt:_0x3c3b88})=>{const _0x7b9895=_0x49606e,_0x3d9955=_0x49d95a[_0x7b9895(0x95)](_0x23350a);_0x3d9955&&_0x3d9955[_0x7b9895(0xc6)]({'resolvedBy':_0x455e30,'resolvedAt':_0x3c3b88,'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0x9c),(_0x11019c,{commentThreadId:_0x5918a0})=>{const _0x23f4b6=_0x49606e,_0x3142c4=_0x49d95a[_0x23f4b6(0x95)](_0x5918a0);_0x3142c4&&_0x3142c4[_0x23f4b6(0xa4)]({'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0xcb),(_0x102715,{commentThreadId:_0x53989b})=>{const _0x766463=_0x49606e,_0x3b81a3=_0x49d95a[_0x766463(0x95)](_0x53989b);_0x3b81a3&&_0x3b81a3[_0x766463(0x96)]({'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0xbe),(_0x31213d,_0x144ee3)=>{const _0x5d4a79=_0x49606e,_0x3cfed3=_0x144ee3[_0x5d4a79(0xc5)],_0x544054=_0x49d95a[_0x5d4a79(0x95)](_0x3cfed3);_0x544054&&_0x544054[_0x5d4a79(0xaf)]({...p(_0x144ee3),'isFromAdapter':!0x0});}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0x93),(_0x390eda,{commentThreadId:_0x44b3df,commentId:_0x3276e3,content:_0x330dd2,attributes:_0x1d1125})=>{const _0x5c7ba5=_0x49606e,_0x2de620=_0x49d95a[_0x5c7ba5(0x95)](_0x44b3df);if(_0x2de620){const _0x5b5adb=_0x2de620[_0x5c7ba5(0x9a)](_0x3276e3);_0x5b5adb&&_0x5b5adb[_0x5c7ba5(0x71)]({'content':_0x330dd2,'attributes':_0x1d1125,'isFromAdapter':!0x0});}}),this[_0x49606e(0xb8)](_0x2325a2,_0x49606e(0x70),(_0x4c1aed,{commentThreadId:_0x3ff3c7,commentId:_0x23b883})=>{const _0x9481f8=_0x49606e,_0x3c150f=_0x49d95a[_0x9481f8(0x95)](_0x3ff3c7);if(_0x3c150f){const _0x26d15a=_0x3c150f[_0x9481f8(0x9a)](_0x23b883);_0x26d15a&&_0x26d15a[_0x9481f8(0x96)]({'isFromAdapter':!0x0});}}),await this[_0x49606e(0xd3)](_0x433e69);}[_0x465a59(0x8d)](){const _0x173edf=_0x465a59;if(this[_0x173edf(0xd2)]instanceof _0x1e4948){const _0x1e56c3=this[_0x173edf(0xd2)][_0x173edf(0x8c)][_0x173edf(0x9e)](_0x173edf(0x86));this[_0x173edf(0x7b)](_0x1e56c3);}}[_0x465a59(0x7b)](_0x22b19d){const _0x38c86d=_0x465a59;if(!this[_0x38c86d(0xc3)][_0x38c86d(0x6f)](_0x22b19d))throw new _0x2a734d(_0x38c86d(0xb1),null,{'channelId':_0x22b19d});this[_0x38c86d(0x8b)](_0x22b19d)[_0x38c86d(0xa1)](),this[_0x38c86d(0xc3)][_0x38c86d(0x7e)](_0x22b19d);}async[_0x465a59(0x78)](){const _0x669e58=_0x465a59;for(const _0x20a743 of this[_0x669e58(0xc3)][_0x669e58(0x79)]())await this[_0x669e58(0xd3)](_0x20a743);if(this[_0x669e58(0xd2)]instanceof _0x1e4948){const _0x32214a=this[_0x669e58(0xd2)][_0x669e58(0x8c)][_0x669e58(0x9e)](_0x669e58(0x86)),_0x3a8b76=this[_0x669e58(0xd2)][_0x669e58(0x83)][_0x669e58(0x9e)](_0x4e9630);_0x3a8b76[_0x669e58(0xb3)](_0x32214a);const _0x62ebc9=await this[_0x669e58(0xc3)][_0x669e58(0x9e)](_0x32214a)[_0x669e58(0xc8)]();_0x3a8b76[_0x669e58(0x94)](_0x32214a,_0x62ebc9);}}async[_0x465a59(0xd3)](_0x5bf774){const _0xde5fb8=_0x465a59,{connection:_0x4e10c9}=this[_0xde5fb8(0xd2)][_0xde5fb8(0x83)][_0xde5fb8(0x9e)](_0x56feef),_0x239db5=this[_0xde5fb8(0xd2)][_0xde5fb8(0x83)][_0xde5fb8(0x9e)](_0xde5fb8(0xd0)),_0x279b6c=this[_0xde5fb8(0xc3)][_0xde5fb8(0x9e)](_0x5bf774),_0x4b95dc=await _0x279b6c[_0xde5fb8(0xac)](_0x4e10c9);await this[_0xde5fb8(0x77)](_0x4b95dc);const _0xb1c109=new Set(Array[_0xde5fb8(0xd1)](_0x239db5[_0xde5fb8(0xa2)]({'channelId':_0x5bf774}),_0x1fb31a=>_0x1fb31a['id']));for(const _0xe66732 of _0x4b95dc)_0xe66732[_0xde5fb8(0xc4)]||_0xb1c109[_0xde5fb8(0x7e)](_0xe66732[_0xde5fb8(0xc5)]);for(const _0x30f91b of _0xb1c109)_0x239db5[_0xde5fb8(0x95)](_0x30f91b)[_0xde5fb8(0x96)]({'isFromAdapter':!0x0});for(const _0x78551c of _0x4b95dc){let _0x508c32=_0x239db5[_0xde5fb8(0x95)](_0x78551c[_0xde5fb8(0xc5)]);const {commentThreadId:_0x45269a,context:_0x3aabfc,attributes:_0x403f9a,resolvedBy:_0x2e73e8,resolvedAt:_0x14f76a,unlinkedAt:_0x52574f,deletedAt:_0x5a884f}=_0x78551c;if(_0x5a884f)continue;_0x508c32||(_0x508c32=_0x239db5[_0xde5fb8(0x75)]({'channelId':_0x5bf774,'threadId':_0x45269a,'context':_0x3aabfc,'attributes':_0x403f9a||{},'resolvedBy':_0x2e73e8,'resolvedAt':_0x14f76a,'unlinkedAt':_0x52574f,'isFromAdapter':!0x0}));const _0x2b5180=new Set(Array[_0xde5fb8(0xd1)](_0x508c32[_0xde5fb8(0xbc)],_0x19693c=>_0x19693c['id']));for(const _0x671f7b of _0x78551c[_0xde5fb8(0xbc)])_0x2b5180[_0xde5fb8(0x7e)](_0x671f7b[_0xde5fb8(0xca)]);for(const _0x2d6779 of _0x2b5180)_0x508c32[_0xde5fb8(0x9a)](_0x2d6779)[_0xde5fb8(0x96)]({'isFromAdapter':!0x0});for(const _0x51927a of _0x78551c[_0xde5fb8(0xbc)]){const _0x43bc09=_0x508c32[_0xde5fb8(0x9a)](_0x51927a[_0xde5fb8(0xca)]);_0x43bc09?_0x43bc09[_0xde5fb8(0xb7)]!==_0x51927a[_0xde5fb8(0xb7)]&&_0x43bc09[_0xde5fb8(0x71)]({'content':_0x51927a[_0xde5fb8(0xb7)],'isFromAdapter':!0x0}):_0x508c32[_0xde5fb8(0xaf)](Object[_0xde5fb8(0x81)](p(_0x51927a),{'isFromAdapter':!0x0}));}}}[_0x465a59(0x8b)](_0x17a88d){const _0x272888=_0x465a59;if(!this[_0x272888(0xc3)][_0x272888(0x6f)](_0x17a88d))throw new _0x2a734d(_0x272888(0xab),null,{'channelId':_0x17a88d});return this[_0x272888(0xc3)][_0x272888(0x9e)](_0x17a88d);}async[_0x465a59(0x77)](_0x6fec6d){const _0x3f21f2=_0x465a59,_0xd82c09=this[_0x3f21f2(0xd2)][_0x3f21f2(0x83)][_0x3f21f2(0x9e)](_0x3709e9),{connection:_0x1afcfb}=this[_0x3f21f2(0xd2)][_0x3f21f2(0x83)][_0x3f21f2(0x9e)](_0x56feef),_0x5edcda=new Set();for(const {resolvedBy:_0x27c4b4,comments:_0xc04a7d}of _0x6fec6d){_0x27c4b4&&!_0xd82c09[_0x3f21f2(0x97)](_0x27c4b4)&&_0x5edcda[_0x3f21f2(0xb6)](_0x27c4b4);for(const {userId:_0x31fda2}of _0xc04a7d)_0xd82c09[_0x3f21f2(0x97)](_0x31fda2)||_0x5edcda[_0x3f21f2(0xb6)](_0x31fda2);}if(0x0===_0x5edcda[_0x3f21f2(0x90)])return;const _0x39164d=await _0x47ed5c[_0x3f21f2(0x7a)](_0x1afcfb,Array[_0x3f21f2(0xd1)](_0x5edcda));for(const _0x245672 of _0x39164d)_0xd82c09[_0x3f21f2(0x97)](_0x245672['id'])||_0xd82c09[_0x3f21f2(0xb5)](_0x245672);}}async function f(_0x40627b){const _0x50e69e=_0x465a59;if(_0x50e69e(0x89)!==_0x40627b[_0x50e69e(0xb0)])throw _0x40627b;}function A(_0x2d34af){const _0x327e67=_0x465a59;if((_0x563d4b=_0x2d34af)[_0x327e67(0xcc)][_0x327e67(0xbb)](_0x327e67(0xbf))||_0x563d4b[_0x327e67(0xcc)][_0x327e67(0xbb)](_0x327e67(0xcf))||_0x563d4b[_0x327e67(0xcc)][_0x327e67(0xbb)](_0x327e67(0x82)))return new Promise(()=>{});var _0x563d4b;throw _0x2d34af;}function p(_0x3fbff0){const _0x234de5=_0x465a59;return{'threadId':_0x3fbff0[_0x234de5(0xc5)],'commentId':_0x3fbff0[_0x234de5(0xca)],'content':_0x3fbff0[_0x234de5(0xb7)],'createdAt':_0x3fbff0[_0x234de5(0xba)],'authorId':_0x3fbff0[_0x234de5(0x72)],'attributes':_0x3fbff0[_0x234de5(0x88)]||{}};}
|
|
23
|
+
const _0x252b77=_0xd625;(function(_0x4df3fc,_0x5c5e49){const _0x2af2b3=_0xd625,_0x236ed3=_0x4df3fc();while(!![]){try{const _0x2390ac=parseInt(_0x2af2b3(0xbd))/0x1+parseInt(_0x2af2b3(0xad))/0x2+parseInt(_0x2af2b3(0xc6))/0x3*(-parseInt(_0x2af2b3(0xb7))/0x4)+parseInt(_0x2af2b3(0xd8))/0x5*(-parseInt(_0x2af2b3(0xdd))/0x6)+parseInt(_0x2af2b3(0xde))/0x7*(-parseInt(_0x2af2b3(0xec))/0x8)+-parseInt(_0x2af2b3(0xd9))/0x9*(-parseInt(_0x2af2b3(0xfb))/0xa)+-parseInt(_0x2af2b3(0xb2))/0xb*(-parseInt(_0x2af2b3(0xa7))/0xc);if(_0x2390ac===_0x5c5e49)break;else _0x236ed3['push'](_0x236ed3['shift']());}catch(_0x35aad0){_0x236ed3['push'](_0x236ed3['shift']());}}}(_0x225a,0x6e935));import{Context as _0x15bc32,ContextPlugin as _0x227437}from'ckeditor5/src/core.js';import{CKEditorError as _0x381e19}from'ckeditor5/src/utils.js';function _0xd625(_0x4a0dc8,_0xac226d){const _0x225ab6=_0x225a();return _0xd625=function(_0xd625ed,_0x4092e2){_0xd625ed=_0xd625ed-0xa4;let _0xa54c3e=_0x225ab6[_0xd625ed];return _0xa54c3e;},_0xd625(_0x4a0dc8,_0xac226d);}import{Users as _0x3ef70d}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x100ae6,User as _0x25d22e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x31d550}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0xb29762}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x227437{static [_0x252b77(0xd6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x100ae6)());[_0x252b77(0xed)];static get[_0x252b77(0xf9)](){const _0xe19e3a=_0x252b77;return[_0x31d550,_0xe19e3a(0xc1),_0xb29762,_0x3ef70d];}static get[_0x252b77(0xee)](){const _0x51e056=_0x252b77;return _0x51e056(0xce);}static get[_0x252b77(0xba)](){return!0x0;}static get[_0x252b77(0xf7)](){return!0x0;}constructor(_0x48d17d){const _0x49564e=_0x252b77;super(_0x48d17d),this[_0x49564e(0xed)]=new Map();}async[_0x252b77(0xc0)](){const _0x39efec=_0x252b77,_0x5d43a4=this[_0x39efec(0xd5)],_0x37a51f=_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0x39efec(0xc1));if(_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0x31d550)[_0x39efec(0xfc)](this),_0x37a51f[_0x39efec(0x101)]={'addCommentThread':async({channelId:_0x403c82,threadId:_0x35471e,comments:_0x5d79c4,resolvedAt:_0x53b194,resolvedBy:_0x18c6f8,context:_0x36de35,attributes:_0x4feb01})=>{const _0x3bc38d=_0x39efec,_0x1a230f=await this[_0x3bc38d(0x102)](_0x403c82)[_0x3bc38d(0xcb)]({'commentThreadId':_0x35471e,'comments':_0x5d79c4[_0x3bc38d(0xb3)](_0x5be646=>function(_0x4d9791,_0x3b0dc0,_0x162287){const _0x51c91f=_0x3bc38d;return{'commentThreadId':_0x162287,'commentId':_0x4d9791[_0x51c91f(0xd7)],'userId':_0x4d9791[_0x51c91f(0xeb)],'content':_0x4d9791[_0x51c91f(0xdb)],'documentId':_0x3b0dc0,'createdAt':_0x4d9791[_0x51c91f(0xca)],'attributes':_0x4d9791[_0x51c91f(0xd2)]||{}};}(_0x5be646,_0x403c82,_0x35471e)),'resolvedAt':_0x53b194,'resolvedBy':_0x18c6f8,'context':_0x36de35,'attributes':_0x4feb01})[_0x3bc38d(0xcc)](k);return{'threadId':_0x1a230f[_0x3bc38d(0xe8)],'comments':_0x1a230f[_0x3bc38d(0xe4)]};},'getCommentThread':async({channelId:_0x5d90b3,threadId:_0x564372})=>{const _0x3e1a83=_0x39efec,_0x3df9a2=await this[_0x3e1a83(0x102)](_0x5d90b3)[_0x3e1a83(0xc5)](_0x564372)[_0x3e1a83(0xcc)](F)[_0x3e1a83(0xcc)](k);return _0x3df9a2?_0x3df9a2[_0x3e1a83(0xbf)]?null:(await this[_0x3e1a83(0xb6)]([_0x3df9a2]),{'threadId':_0x3df9a2[_0x3e1a83(0xe8)],'comments':_0x3df9a2[_0x3e1a83(0xe4)][_0x3e1a83(0xb3)](S),'context':_0x3df9a2[_0x3e1a83(0xd5)],'resolvedAt':_0x3df9a2[_0x3e1a83(0x106)],'resolvedBy':_0x3df9a2[_0x3e1a83(0xaf)],'attributes':_0x3df9a2[_0x3e1a83(0xd2)]||{}}):null;},'updateCommentThread':async({channelId:_0x4a7ac1,threadId:_0x5bd241,context:_0x99c3ed,unlinkedAt:_0x509b5d,attributes:_0x1a5568})=>this[_0x39efec(0x102)](_0x4a7ac1)[_0x39efec(0xb5)]({'commentThreadId':_0x5bd241,'context':_0x99c3ed,'attributes':_0x1a5568,'unlinkedAt':_0x509b5d})[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'resolveCommentThread':async({channelId:_0x44e05f,threadId:_0x16cc3c})=>{const _0x4e8c04=_0x39efec,_0x1954bd=await this[_0x4e8c04(0x102)](_0x44e05f)[_0x4e8c04(0xe3)](_0x16cc3c)[_0x4e8c04(0xcc)](F)[_0x4e8c04(0xcc)](k);return{'threadId':_0x1954bd[_0x4e8c04(0xe8)],'resolvedAt':_0x1954bd[_0x4e8c04(0x106)],'resolvedBy':_0x1954bd[_0x4e8c04(0xaf)]};},'reopenCommentThread':async({channelId:_0x15c72f,threadId:_0x2cb8ea})=>this[_0x39efec(0x102)](_0x15c72f)[_0x39efec(0xae)](_0x2cb8ea)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'removeCommentThread':({channelId:_0x51125f,threadId:_0x2c5729})=>this[_0x39efec(0x102)](_0x51125f)[_0x39efec(0xea)](_0x2c5729)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'addComment':({channelId:_0x43a41b,threadId:_0x4ce562,commentId:_0x3ce710,content:_0x25af49,attributes:_0x299e06})=>this[_0x39efec(0x102)](_0x43a41b)[_0x39efec(0xd0)](_0x4ce562,_0x3ce710,_0x25af49,_0x299e06)[_0x39efec(0xcc)](k),'updateComment':({channelId:_0x301de8,threadId:_0x245f98,commentId:_0x2102e0,content:_0x42b193,attributes:_0x5cedb9})=>this[_0x39efec(0x102)](_0x301de8)[_0x39efec(0xbc)](_0x245f98,_0x2102e0,_0x42b193,_0x5cedb9)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k),'removeComment':({channelId:_0x221fcd,threadId:_0x17aa99,commentId:_0x2b4b03})=>this[_0x39efec(0x102)](_0x221fcd)[_0x39efec(0xac)](_0x17aa99,_0x2b4b03)[_0x39efec(0xcc)](F)[_0x39efec(0xcc)](k)},_0x5d43a4 instanceof _0x15bc32){const _0x47e7c6=_0x5d43a4[_0x39efec(0xa8)][_0x39efec(0xe7)](_0x39efec(0x108)),_0x432209=_0x5d43a4[_0x39efec(0xb1)][_0x39efec(0xe7)](_0xb29762);await this[_0x39efec(0x109)](_0x47e7c6);const _0x3f33fb=await this[_0x39efec(0xed)][_0x39efec(0xe7)](_0x47e7c6)[_0x39efec(0xb8)]();this[_0x39efec(0xe0)](_0x432209,_0x39efec(0xfe)+_0x47e7c6,(_0x4195ec,{session:_0x444262})=>{const _0x4d137b=_0x39efec;_0x444262['id']===_0x432209[_0x4d137b(0x100)]&&(_0x4195ec[_0x4d137b(0xc9)](),this[_0x4d137b(0xd5)][_0x4d137b(0xb1)][_0x4d137b(0xe7)](_0x4d137b(0xf8))[_0x4d137b(0x103)](_0x444262[_0x4d137b(0x104)],_0x47e7c6));}),_0x432209[_0x39efec(0xa4)](_0x47e7c6,_0x3f33fb);}}async[_0x252b77(0x109)](_0x3c0aea){const _0x37f898=_0x252b77;if(this[_0x37f898(0xed)][_0x37f898(0xdc)](_0x3c0aea))throw new _0x381e19(_0x37f898(0x10a),null,{'channelId':_0x3c0aea});const _0x20c38d=this[_0x37f898(0xd5)][_0x37f898(0xb1)][_0x37f898(0xe7)](_0x37f898(0xc1)),_0x18b4ec=new CloudServicesCommentsAdapter[(_0x37f898(0xd6))](_0x3c0aea);this[_0x37f898(0xed)][_0x37f898(0xc7)](_0x3c0aea,_0x18b4ec),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xf3),(_0x3bf28a,_0x166cef)=>{const _0x436ac0=_0x37f898,{commentThreadId:_0x4407b7,documentId:_0x4872ec,context:_0x5ce6e3,attributes:_0x1b7960,resolvedAt:_0x3bd325,resolvedBy:_0x458bf2,comments:_0x2d2969}=_0x166cef;_0x20c38d[_0x436ac0(0xc5)](_0x4407b7)||_0x20c38d[_0x436ac0(0xcb)]({'threadId':_0x4407b7,'channelId':_0x4872ec,'comments':_0x2d2969?_0x2d2969[_0x436ac0(0xb3)](S):[],'context':_0x5ce6e3,'attributes':_0x1b7960,'resolvedAt':_0x3bd325,'resolvedBy':_0x458bf2,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xd1),(_0x1a8ab6,{commentThreadId:_0xdee2e2,documentId:_0x177fc4,context:_0x1fe3eb,unlinkedAt:_0x622afc,attributes:_0x479fd3})=>{const _0x4abb1e=_0x37f898;_0x20c38d[_0x4abb1e(0xc5)](_0xdee2e2)&&_0x20c38d[_0x4abb1e(0xb5)]({'threadId':_0xdee2e2,'channelId':_0x177fc4,'context':_0x1fe3eb,'unlinkedAt':_0x622afc,'attributes':_0x479fd3,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xf6),(_0x4802f4,{commentThreadId:_0xe229bd,resolvedBy:_0x8942c5,resolvedAt:_0x432c74})=>{const _0x328903=_0x37f898,_0x40a3d5=_0x20c38d[_0x328903(0xc5)](_0xe229bd);_0x40a3d5&&_0x40a3d5[_0x328903(0xf1)]({'resolvedBy':_0x8942c5,'resolvedAt':_0x432c74,'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xfa),(_0x4f0091,{commentThreadId:_0x5c8d00})=>{const _0x3edf26=_0x37f898,_0x557887=_0x20c38d[_0x3edf26(0xc5)](_0x5c8d00);_0x557887&&_0x557887[_0x3edf26(0xab)]({'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xe9),(_0x1db594,{commentThreadId:_0x2b5f46})=>{const _0x4456f9=_0x37f898,_0x579443=_0x20c38d[_0x4456f9(0xc5)](_0x2b5f46);_0x579443&&_0x579443[_0x4456f9(0xf4)]({'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xaa),(_0x5014ce,_0x2a7e1d)=>{const _0x5ee35f=_0x37f898,_0x2ea57f=_0x2a7e1d[_0x5ee35f(0xe8)],_0x4a78cd=_0x20c38d[_0x5ee35f(0xc5)](_0x2ea57f);_0x4a78cd&&_0x4a78cd[_0x5ee35f(0xd0)]({...S(_0x2a7e1d),'isFromAdapter':!0x0});}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xc4),(_0x20de01,{commentThreadId:_0x1eaca8,commentId:_0x1e7e1e,content:_0x28c918,attributes:_0x1fcf1e})=>{const _0x172f9f=_0x37f898,_0x314f7d=_0x20c38d[_0x172f9f(0xc5)](_0x1eaca8);if(_0x314f7d){const _0x34ca88=_0x314f7d[_0x172f9f(0xc2)](_0x1e7e1e);_0x34ca88&&_0x34ca88[_0x172f9f(0xe1)]({'content':_0x28c918,'attributes':_0x1fcf1e,'isFromAdapter':!0x0});}}),this[_0x37f898(0xe0)](_0x18b4ec,_0x37f898(0xc8),(_0x51f481,{commentThreadId:_0x520c80,commentId:_0x531267})=>{const _0x19f1e7=_0x37f898,_0x13a18e=_0x20c38d[_0x19f1e7(0xc5)](_0x520c80);if(_0x13a18e){const _0x31bdbe=_0x13a18e[_0x19f1e7(0xc2)](_0x531267);_0x31bdbe&&_0x31bdbe[_0x19f1e7(0xf4)]({'isFromAdapter':!0x0});}}),await this[_0x37f898(0xcf)](_0x3c0aea);}[_0x252b77(0xda)](){const _0x5ca83c=_0x252b77;if(this[_0x5ca83c(0xd5)]instanceof _0x15bc32){const _0x1e7027=this[_0x5ca83c(0xd5)][_0x5ca83c(0xa8)][_0x5ca83c(0xe7)](_0x5ca83c(0x108));this[_0x5ca83c(0xa9)](_0x1e7027);}}[_0x252b77(0xa9)](_0x548867){const _0x2e64d1=_0x252b77;if(!this[_0x2e64d1(0xed)][_0x2e64d1(0xdc)](_0x548867))throw new _0x381e19(_0x2e64d1(0xdf),null,{'channelId':_0x548867});this[_0x2e64d1(0x102)](_0x548867)[_0x2e64d1(0xbe)](),this[_0x2e64d1(0xed)][_0x2e64d1(0xff)](_0x548867);}async[_0x252b77(0xe6)](){const _0x3f0118=_0x252b77;for(const _0x15005c of this[_0x3f0118(0xed)][_0x3f0118(0x105)]())await this[_0x3f0118(0xcf)](_0x15005c);if(this[_0x3f0118(0xd5)]instanceof _0x15bc32){const _0x15a6d7=this[_0x3f0118(0xd5)][_0x3f0118(0xa8)][_0x3f0118(0xe7)](_0x3f0118(0x108)),_0x1740bb=this[_0x3f0118(0xd5)][_0x3f0118(0xb1)][_0x3f0118(0xe7)](_0xb29762);_0x1740bb[_0x3f0118(0xfd)](_0x15a6d7);const _0xfe49b1=await this[_0x3f0118(0xed)][_0x3f0118(0xe7)](_0x15a6d7)[_0x3f0118(0xb8)]();_0x1740bb[_0x3f0118(0xa4)](_0x15a6d7,_0xfe49b1);}}async[_0x252b77(0xcf)](_0x4d5118){const _0xc1f9a2=_0x252b77,{connection:_0x2b2f52}=this[_0xc1f9a2(0xd5)][_0xc1f9a2(0xb1)][_0xc1f9a2(0xe7)](_0x31d550),_0x12e54c=this[_0xc1f9a2(0xd5)][_0xc1f9a2(0xb1)][_0xc1f9a2(0xe7)](_0xc1f9a2(0xc1)),_0x5568f8=this[_0xc1f9a2(0xed)][_0xc1f9a2(0xe7)](_0x4d5118),_0x4ad3b6=await _0x5568f8[_0xc1f9a2(0xcd)](_0x2b2f52);await this[_0xc1f9a2(0xb6)](_0x4ad3b6);const _0x3f61fb=new Set(Array[_0xc1f9a2(0xb9)](_0x12e54c[_0xc1f9a2(0xf5)]({'channelId':_0x4d5118}),_0x41b3a3=>_0x41b3a3['id']));for(const _0x5bbec9 of _0x4ad3b6)_0x5bbec9[_0xc1f9a2(0xbf)]||_0x3f61fb[_0xc1f9a2(0xff)](_0x5bbec9[_0xc1f9a2(0xe8)]);for(const _0x47b130 of _0x3f61fb)_0x12e54c[_0xc1f9a2(0xc5)](_0x47b130)[_0xc1f9a2(0xf4)]({'isFromAdapter':!0x0});for(const _0x1ac554 of _0x4ad3b6){let _0x1728b9=_0x12e54c[_0xc1f9a2(0xc5)](_0x1ac554[_0xc1f9a2(0xe8)]);const {commentThreadId:_0xa3e2bd,context:_0x1b55ec,attributes:_0x4c5f18,resolvedBy:_0x2b5677,resolvedAt:_0x3bd309,unlinkedAt:_0x3a1f75,deletedAt:_0x34b065}=_0x1ac554;if(_0x34b065)continue;_0x1728b9||(_0x1728b9=_0x12e54c[_0xc1f9a2(0xcb)]({'channelId':_0x4d5118,'threadId':_0xa3e2bd,'context':_0x1b55ec,'attributes':_0x4c5f18||{},'resolvedBy':_0x2b5677,'resolvedAt':_0x3bd309,'unlinkedAt':_0x3a1f75,'isFromAdapter':!0x0}));const _0x1e212d=new Set(Array[_0xc1f9a2(0xb9)](_0x1728b9[_0xc1f9a2(0xe4)],_0x330102=>_0x330102['id']));for(const _0x8092e4 of _0x1ac554[_0xc1f9a2(0xe4)])_0x1e212d[_0xc1f9a2(0xff)](_0x8092e4[_0xc1f9a2(0xd7)]);for(const _0x3016d9 of _0x1e212d)_0x1728b9[_0xc1f9a2(0xc2)](_0x3016d9)[_0xc1f9a2(0xf4)]({'isFromAdapter':!0x0});for(const _0xbc7d8a of _0x1ac554[_0xc1f9a2(0xe4)]){const _0x5dfac8=_0x1728b9[_0xc1f9a2(0xc2)](_0xbc7d8a[_0xc1f9a2(0xd7)]);_0x5dfac8?_0x5dfac8[_0xc1f9a2(0xdb)]!==_0xbc7d8a[_0xc1f9a2(0xdb)]&&_0x5dfac8[_0xc1f9a2(0xe1)]({'content':_0xbc7d8a[_0xc1f9a2(0xdb)],'isFromAdapter':!0x0}):_0x1728b9[_0xc1f9a2(0xd0)](Object[_0xc1f9a2(0xe5)](S(_0xbc7d8a),{'isFromAdapter':!0x0}));}}}[_0x252b77(0x102)](_0x4b70f0){const _0x4debef=_0x252b77;if(!this[_0x4debef(0xed)][_0x4debef(0xdc)](_0x4b70f0))throw new _0x381e19(_0x4debef(0xf2),null,{'channelId':_0x4b70f0});return this[_0x4debef(0xed)][_0x4debef(0xe7)](_0x4b70f0);}async[_0x252b77(0xb6)](_0xed981a){const _0x28e912=_0x252b77,_0x4b3de0=this[_0x28e912(0xd5)][_0x28e912(0xb1)][_0x28e912(0xe7)](_0x3ef70d),{connection:_0x5b7fd6}=this[_0x28e912(0xd5)][_0x28e912(0xb1)][_0x28e912(0xe7)](_0x31d550),_0x4ced52=new Set();for(const {resolvedBy:_0x136b3a,comments:_0x3bcc95}of _0xed981a){_0x136b3a&&!_0x4b3de0[_0x28e912(0xbb)](_0x136b3a)&&_0x4ced52[_0x28e912(0xf0)](_0x136b3a);for(const {userId:_0x249a01}of _0x3bcc95)_0x4b3de0[_0x28e912(0xbb)](_0x249a01)||_0x4ced52[_0x28e912(0xf0)](_0x249a01);}if(0x0===_0x4ced52[_0x28e912(0xb0)])return;const _0xf9ec52=await _0x25d22e[_0x28e912(0xd4)](_0x5b7fd6,Array[_0x28e912(0xb9)](_0x4ced52));for(const _0x1cdf58 of _0xf9ec52)_0x4b3de0[_0x28e912(0xbb)](_0x1cdf58['id'])||_0x4b3de0[_0x28e912(0xef)](_0x1cdf58);}}async function F(_0x300992){const _0x38d5a1=_0x252b77;if(_0x38d5a1(0xb4)!==_0x300992[_0x38d5a1(0xa6)])throw _0x300992;}function k(_0x4edb7a){const _0x46961e=_0x252b77;if((_0x261ff3=_0x4edb7a)[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0xa5))||_0x261ff3[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0x10b))||_0x261ff3[_0x46961e(0xc3)][_0x46961e(0x107)](_0x46961e(0xd3)))return new Promise(()=>{});var _0x261ff3;throw _0x4edb7a;}function _0x225a(){const _0x29084c=['reconnect','get','commentThreadId','commentThreadRemoved','removeCommentThread','authorId','410704RYUBPT','_services','pluginName','addUser','add','resolve','cloudservicescommentsadapter-service-not-exist','commentThreadAdded','remove','getCommentThreads','commentThreadResolved','isPremiumPlugin','Permissions','requires','commentThreadReopened','10UiHdIH','addToReconnectionStack','unregister','sessionAdd:','delete','mySessionId','adapter','_getService','setPermissions','permissions','keys','resolvedAt','startsWith','collaboration.channelId','_setUpService','cloudservicescommentsadapter-connect-already-connected','cloud-services-internal-error:\x20Not\x20connected.','register','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','code','48vSNpRB','config','_terminateService','commentAdded','reopen','removeComment','1230246DHFZCv','reopenCommentThread','resolvedBy','size','plugins','276353xlQmJo','map','404','updateCommentThread','_fetchMissingUsersForThreads','148RwFccQ','getConnectedSessions','from','isOfficialPlugin','getUser','updateComment','667099jBsZlF','disconnect','deletedAt','init','CommentsRepository','getComment','message','commentUpdated','getCommentThread','3582YMLzfI','set','commentRemoved','off','createdAt','addCommentThread','catch','connect','CloudServicesCommentsAdapter','_connectService','addComment','commentThreadUpdated','attributes','cloud-services-internal-error:\x20Request\x20timeout.','getMany','context','CommentsService','commentId','255dVcSke','284382GwJJWS','destroy','content','has','53550NKSCuo','63OKfOpm','cloudservicescommentsadapter-disconnect-not-exist','listenTo','update','userId','resolveCommentThread','comments','assign'];_0x225a=function(){return _0x29084c;};return _0x225a();}function S(_0x1a8866){const _0x4a6312=_0x252b77;return{'threadId':_0x1a8866[_0x4a6312(0xe8)],'commentId':_0x1a8866[_0x4a6312(0xd7)],'content':_0x1a8866[_0x4a6312(0xdb)],'createdAt':_0x1a8866[_0x4a6312(0xca)],'authorId':_0x1a8866[_0x4a6312(0xe2)],'attributes':_0x1a8866[_0x4a6312(0xd2)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x19b9ea=_0x349d;(function(_0x55f3db,_0x182ef7){const _0x3ef9b0=_0x349d,_0x48a2dd=_0x55f3db();while(!![]){try{const _0x573795=parseInt(_0x3ef9b0(0x1f9))/0x1+parseInt(_0x3ef9b0(0x1fe))/0x2+parseInt(_0x3ef9b0(0x202))/0x3+-parseInt(_0x3ef9b0(0x1e9))/0x4+parseInt(_0x3ef9b0(0x1fb))/0x5*(parseInt(_0x3ef9b0(0x1ff))/0x6)+-parseInt(_0x3ef9b0(0x201))/0x7*(-parseInt(_0x3ef9b0(0x200))/0x8)+-parseInt(_0x3ef9b0(0x1fa))/0x9;if(_0x573795===_0x182ef7)break;else _0x48a2dd['push'](_0x48a2dd['shift']());}catch(_0x5decdc){_0x48a2dd['push'](_0x48a2dd['shift']());}}}(_0x290f,0xc82bc));import{Plugin as _0x4e75e0}from'ckeditor5/src/core.js';function _0x349d(_0x230b6b,_0x188c61){const _0x290fef=_0x290f();return _0x349d=function(_0x349d0b,_0x7b60bb){_0x349d0b=_0x349d0b-0x1e6;let _0x375075=_0x290fef[_0x349d0b];return _0x375075;},_0x349d(_0x230b6b,_0x188c61);}import{CloudServicesCommentsAdapter as _0x47570d}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x3fcafa}from'./realtimecollaborativeediting.js';function _0x290f(){const _0x262e6f=['CommentsEditing','editor','isPremiumPlugin','_terminateService','3478480rahScy','_setUpService','connected','listenTo','RealTimeCollaborativeComments','destroy','init','requires','plugins','CommentsRepository','Comments','collaboration.channelId','change:state','switchReadOnly','pluginName','data','672386XseZoM','14061303kAIEPZ','1903745iMeoWi','get','isThreadsLoadingPaused','1083750IznnkL','12QPmELh','56XLYrWD','411551NefPbx','2593731SnSHEp','isOfficialPlugin','ready','once','config'];_0x290f=function(){return _0x262e6f;};return _0x290f();}import{WebSocketGateway as _0xdfb510}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4e75e0{static get[_0x19b9ea(0x1f0)](){const _0x26bbe9=_0x19b9ea;return[_0x26bbe9(0x1f3),_0x47570d,_0x3fcafa,_0xdfb510];}static get[_0x19b9ea(0x1f7)](){const _0x39f529=_0x19b9ea;return _0x39f529(0x1ed);}static get[_0x19b9ea(0x203)](){return!0x0;}static get[_0x19b9ea(0x1e7)](){return!0x0;}[_0x19b9ea(0x1ef)](){const _0x3ae982=_0x19b9ea,_0x979d7a=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0xdfb510),_0x25c57b=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0x3ae982(0x207)),_0xf5382b=this[_0x3ae982(0x1e6)][_0x3ae982(0x1f1)][_0x3ae982(0x1fc)](_0x47570d);return this[_0x3ae982(0x1e6)][_0x3ae982(0x1f8)][_0x3ae982(0x205)](_0x3ae982(0x204),()=>{const _0x5c241f=_0x3ae982;this[_0x5c241f(0x1ec)](_0x979d7a,_0x5c241f(0x1f5),(_0x32ebb7,_0x4f3e60,_0x275a67)=>{const _0x428427=_0x5c241f;_0x25c57b[_0x428427(0x1fd)]=_0x428427(0x1eb)!==_0x275a67;});}),this[_0x3ae982(0x1ec)](_0x979d7a,_0x3ae982(0x1f5),(_0x4f7e79,_0x451115,_0x1ee248)=>{const _0x1a9c57=_0x3ae982;this[_0x1a9c57(0x1e6)][_0x1a9c57(0x1f1)][_0x1a9c57(0x1fc)](_0x1a9c57(0x1f2))[_0x1a9c57(0x1f6)](_0x1a9c57(0x1eb)!==_0x1ee248);}),_0xf5382b[_0x3ae982(0x1ea)](this[_0x3ae982(0x1e6)][_0x3ae982(0x206)][_0x3ae982(0x1fc)](_0x3ae982(0x1f4)));}[_0x19b9ea(0x1ee)](){const _0x3b760b=_0x19b9ea;this[_0x3b760b(0x1e6)][_0x3b760b(0x1f1)][_0x3b760b(0x1fc)](_0x47570d)[_0x3b760b(0x1e8)](this[_0x3b760b(0x1e6)][_0x3b760b(0x206)][_0x3b760b(0x1fc)](_0x3b760b(0x1f4))),super[_0x3b760b(0x1ee)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x439385)());[_0x4f492b(0x242)];[_0x4f492b(0x1a6)];[_0x4f492b(0x202)];[_0x4f492b(0x259)];[_0x4f492b(0x193)];[_0x4f492b(0x1dd)];[_0x4f492b(0x20b)];[_0x4f492b(0x24c)];[_0x4f492b(0x25f)];[_0x4f492b(0x263)];[_0x4f492b(0x24d)];[_0x4f492b(0x227)];[_0x4f492b(0x252)];[_0x4f492b(0x249)];[_0x4f492b(0x1a8)];[_0x4f492b(0x1af)];[_0x4f492b(0x222)];[_0x4f492b(0x1bf)];static get[_0x4f492b(0x22b)](){return[_0x1022d2,_0x409c07,_0x4cd1fe,_0x1337dd,_0x28de5a,_0x271aff];}static get[_0x4f492b(0x18b)](){const _0x4ffffb=_0x4f492b;return _0x4ffffb(0x24a);}static get[_0x4f492b(0x1d2)](){return!0x0;}static get[_0x4f492b(0x1b2)](){return!0x0;}get[_0x4f492b(0x243)](){const _0x408473=_0x4f492b;return this[_0x408473(0x194)]+this[_0x408473(0x242)];}get[_0x4f492b(0x194)](){const _0x49b54c=_0x4f492b;return this[_0x49b54c(0x202)][_0x49b54c(0x203)]-this[_0x49b54c(0x242)];}get[_0x4f492b(0x1bc)](){const _0x285124=_0x4f492b,_0x4a348c=this[_0x285124(0x202)][_0x285124(0x23a)]();for(let _0x429d2d=_0x4a348c[_0x285124(0x234)]-0x1;_0x429d2d>=0x0;_0x429d2d--){const _0x53ab79=_0x4a348c[_0x429d2d];if(!this[_0x285124(0x222)][_0x285124(0x245)](_0x53ab79))return _0x53ab79[_0x285124(0x1c6)]+0x1-this[_0x285124(0x242)];}return 0x0;}constructor(_0x4253b4){const _0x4da259=_0x4f492b;if(super(_0x4253b4),this[_0x4da259(0x242)]=0x0,this[_0x4da259(0x1a6)]=null,this[_0x4da259(0x202)]=new _0x1f2242(),this[_0x4da259(0x26b)][_0x4da259(0x1f0)][_0x4da259(0x1fe)](_0x4da259(0x189),{}),this[_0x4da259(0x259)]=this[_0x4da259(0x26b)][_0x4da259(0x1f0)][_0x4da259(0x1ce)](_0x4da259(0x253)),!this[_0x4da259(0x259)])throw new _0x1091d2(_0x4da259(0x1bb),this);const _0x229db4=_0x4253b4[_0x4da259(0x1f0)][_0x4da259(0x1ce)](_0x4da259(0x198))||_0xccf417;this[_0x4da259(0x193)]=new RealTimeCollaborationClient[(_0x4da259(0x1db))](_0x229db4,this[_0x4da259(0x259)]),this[_0x4da259(0x1dd)]=this[_0x4da259(0x26b)][_0x4da259(0x1c4)][_0x4da259(0x207)],this[_0x4da259(0x20b)]=new _0x52aee0(),this[_0x4da259(0x24c)]=[],this[_0x4da259(0x25f)]=new WeakSet(),this[_0x4da259(0x263)]=new Set(),this[_0x4da259(0x1d4)](_0x4da259(0x26c),!0x1),this[_0x4da259(0x1d4)](_0x4da259(0x26e),!0x1),this[_0x4da259(0x24d)]=null,this[_0x4da259(0x227)]=!0x1,this[_0x4da259(0x252)]=null,this[_0x4da259(0x249)]=0x12c,this[_0x4da259(0x1a8)]=this[_0x4da259(0x249)],this[_0x4da259(0x1af)]=null,this[_0x4da259(0x222)]=new WeakSet(),this[_0x4da259(0x1bf)]=new J(this[_0x4da259(0x222)]);}[_0x4f492b(0x204)](){const _0x262f4a=_0x4f492b,_0x2c9c93=this[_0x262f4a(0x26b)],_0x10b4dd=_0x2c9c93[_0x262f4a(0x1b8)][_0x262f4a(0x1ce)](_0x28de5a),_0x184a46=_0x2c9c93[_0x262f4a(0x1b8)][_0x262f4a(0x1ce)](_0x1022d2);this[_0x262f4a(0x26d)](_0x10b4dd,_0x262f4a(0x1ca),(_0x51afa,_0x219ea4)=>{const _0x235cb5=_0x262f4a,_0x58d75c=_0x219ea4[0x0];_0x58d75c[_0x235cb5(0x1f3)]&&(_0x51afa[_0x235cb5(0x282)]=_0x10b4dd[_0x235cb5(0x1ed)](_0x58d75c[_0x235cb5(0x1f3)]),_0x51afa[_0x235cb5(0x265)]()),null===_0x58d75c[_0x235cb5(0x1f3)]&&(_0x51afa[_0x235cb5(0x282)]=null,_0x51afa[_0x235cb5(0x265)]());},{'priority':_0x262f4a(0x250)}),this[_0x262f4a(0x26d)](_0x2c9c93[_0x262f4a(0x1c4)][_0x262f4a(0x207)][_0x262f4a(0x271)],_0x262f4a(0x1e5),(_0x1b3c6d,_0x4a4b15)=>{const _0x166c2d=_0x262f4a;_0x4a4b15[_0x166c2d(0x1e9)]&&this[_0x166c2d(0x22c)]();}),this[_0x262f4a(0x26d)](_0x2c9c93[_0x262f4a(0x1b6)][_0x262f4a(0x1e3)],_0x262f4a(0x201),()=>{const _0x480cef=_0x262f4a;this[_0x480cef(0x22c)]();}),this[_0x262f4a(0x261)](),_0x2c9c93[_0x262f4a(0x1c4)]['on'](_0x262f4a(0x20d),(_0x11e405,_0x1f5114)=>{const _0x57f58f=_0x262f4a,_0x45ab90=_0x1f5114[0x0];_0x45ab90[_0x57f58f(0x1d7)]&&(this[_0x57f58f(0x257)](_0x45ab90),this[_0x57f58f(0x26a)]()&&this[_0x57f58f(0x248)]());}),this[_0x262f4a(0x18c)](),this[_0x262f4a(0x1d8)](_0x262f4a(0x1f2))['to'](_0x184a46,_0x262f4a(0x24b),this,_0x262f4a(0x26e),(_0x216355,_0x4fac7f)=>_0x262f4a(0x20c)===_0x216355&&!_0x4fac7f),this['on'](_0x262f4a(0x256),()=>{const _0x112f61=_0x262f4a;this[_0x112f61(0x1f2)]?_0x2c9c93[_0x112f61(0x244)](_0x112f61(0x1a1)):_0x2c9c93[_0x112f61(0x21a)](_0x112f61(0x1a1));}),this[_0x262f4a(0x1f2)]?_0x2c9c93[_0x262f4a(0x244)](_0x262f4a(0x1a1)):_0x2c9c93[_0x262f4a(0x21a)](_0x262f4a(0x1a1)),this[_0x262f4a(0x1d4)](_0x262f4a(0x237),!0x1);}async[_0x4f492b(0x1ec)](){const _0x428b16=_0x4f492b,_0x184cc8=this[_0x428b16(0x26b)][_0x428b16(0x1b8)][_0x428b16(0x1ce)](_0x409c07),_0x1df386=this[_0x428b16(0x26b)][_0x428b16(0x1b8)][_0x428b16(0x1ce)](_0x1022d2);try{this[_0x428b16(0x26c)]=!0x0,_0x184cc8[_0x428b16(0x278)](this[_0x428b16(0x259)]);const _0x75c9b3=await this[_0x428b16(0x193)][_0x428b16(0x1ec)](_0x1df386[_0x428b16(0x1b7)],this[_0x428b16(0x1bc)]);await this[_0x428b16(0x19e)](_0x75c9b3)&&(this[_0x428b16(0x26c)]=!0x1,this[_0x428b16(0x190)]());const _0x537690=await this[_0x428b16(0x193)][_0x428b16(0x1e7)]();_0x184cc8[_0x428b16(0x1b9)](this[_0x428b16(0x259)],_0x537690),this[_0x428b16(0x1ff)](),this[_0x428b16(0x237)]=!0x0;}catch(_0x1fd1e0){if(function(_0x238196){const _0x355685=_0x428b16;return _0x355685(0x22f)===_0x238196[_0x355685(0x1f8)];}(_0x1fd1e0)&&this[_0x428b16(0x1a6)])await this[_0x428b16(0x1e8)]();else{if(function(_0x325a03){const _0x27f7f8=_0x428b16;return _0x27f7f8(0x26f)===_0x325a03[_0x27f7f8(0x1f8)];}(_0x1fd1e0)){const _0x64b8b9=_0x8372f5(this[_0x428b16(0x26b)][_0x428b16(0x200)],_0x428b16(0x233));this[_0x428b16(0x1a5)](_0x64b8b9);}else{if(!(_0x1fd1e0 instanceof $))throw _0x1fd1e0;this[_0x428b16(0x1a5)]();}}}}[_0x4f492b(0x1a9)](){const _0x3ac602=_0x4f492b,_0x460094=this[_0x3ac602(0x26b)][_0x3ac602(0x1b8)][_0x3ac602(0x1ce)](_0x1022d2),_0x52bae3=this[_0x3ac602(0x26b)][_0x3ac602(0x1b8)][_0x3ac602(0x1ce)](_0x409c07);this[_0x3ac602(0x26b)][_0x3ac602(0x21a)](_0x3ac602(0x212)),_0x52bae3[_0x3ac602(0x21c)][_0x3ac602(0x245)](this[_0x3ac602(0x259)])&&_0x52bae3[_0x3ac602(0x278)](this[_0x3ac602(0x259)]),_0x460094[_0x3ac602(0x18e)](this),this[_0x3ac602(0x1f5)](),super[_0x3ac602(0x1a9)]();}async[_0x4f492b(0x19e)](_0x3d584c){const _0x3ee981=_0x4f492b;if(this[_0x3ee981(0x1a6)]!==_0x3d584c[_0x3ee981(0x1a6)]&&this[_0x3ee981(0x1af)]!==_0x3d584c[_0x3ee981(0x1d5)])throw new $();return this[_0x3ee981(0x1a6)]=_0x3d584c[_0x3ee981(0x1a6)],this[_0x3ee981(0x283)]([],{..._0x3d584c,'wereChangesApplied':!0x1,'data':_0x3d584c[_0x3ee981(0x1fd)]},_0x3ee981(0x1ec));}async[_0x4f492b(0x195)](_0xda8841,_0x3e342e=!0x1){const _0x524f70=_0x4f492b,{connection:_0xa978c8}=this[_0x524f70(0x26b)][_0x524f70(0x1b8)][_0x524f70(0x1ce)](_0x1022d2);RealTimeCollaborationClient[_0x524f70(0x1db)][_0x524f70(0x1e7)](_0xa978c8,this[_0x524f70(0x259)])[_0x524f70(0x25c)](_0x4f0a19=>this[_0x524f70(0x241)](_0x4f0a19))[_0x524f70(0x262)](_0x1c1947=>{const _0x329e41=_0x524f70;this[_0x329e41(0x208)](_0x329e41(0x287),_0x1c1947);}),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x1ee),this[_0x524f70(0x1d1)][_0x524f70(0x1d8)](this)),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x213),(_0x331c49,_0x180623)=>{const _0x2a54d0=_0x524f70;this[_0x2a54d0(0x208)](_0x2a54d0(0x1ef),_0x180623);}),this[_0x524f70(0x26d)](this[_0x524f70(0x193)],_0x524f70(0x1b5),()=>{const _0x479c47=_0x524f70;this[_0x479c47(0x237)]=!0x1;});const _0x5774e5=this[_0x524f70(0x1bf)][_0x524f70(0x264)](_0xda8841);this[_0x524f70(0x26c)]=!0x0;const _0x57e36c=await this[_0x524f70(0x193)][_0x524f70(0x192)](_0xa978c8,this[_0x524f70(0x228)](_0xda8841),_0x5774e5);if(this[_0x524f70(0x1a6)]=_0x57e36c[_0x524f70(0x1a6)],_0x3e342e){if(!_0x57e36c[_0x524f70(0x1e6)])return void this[_0x524f70(0x1a5)]();this[_0x524f70(0x26c)]=!0x1,this[_0x524f70(0x190)](),this[_0x524f70(0x202)][_0x524f70(0x22a)](),this[_0x524f70(0x242)]=_0x57e36c[_0x524f70(0x266)],this[_0x524f70(0x202)][_0x524f70(0x203)]=this[_0x524f70(0x242)],await this[_0x524f70(0x283)](_0xda8841,_0x57e36c,_0x524f70(0x214));}else await this[_0x524f70(0x1aa)](_0x57e36c,_0xda8841);this[_0x524f70(0x1ff)](),this[_0x524f70(0x237)]=!0x0;}[_0x4f492b(0x1ff)](){const _0x17ca0d=_0x4f492b,_0x5e0740=this[_0x17ca0d(0x26b)][_0x17ca0d(0x1b8)][_0x17ca0d(0x1ce)](_0x409c07),_0x15bdd1=this[_0x17ca0d(0x26b)][_0x17ca0d(0x1b8)][_0x17ca0d(0x1ce)](_0x4cd1fe),_0x52d6ce=_0x5e0740[_0x17ca0d(0x21c)][_0x17ca0d(0x1ce)](this[_0x17ca0d(0x259)]);_0x52d6ce&&_0x52d6ce[_0x17ca0d(0x234)]>0x1?_0x15bdd1[_0x17ca0d(0x1e2)]():this[_0x17ca0d(0x26d)](_0x5e0740,_0x17ca0d(0x254)+this[_0x17ca0d(0x259)],()=>{const _0x48ba22=_0x17ca0d;0x2===_0x5e0740[_0x48ba22(0x21c)][_0x48ba22(0x1ce)](this[_0x48ba22(0x259)])[_0x48ba22(0x234)]&&_0x15bdd1[_0x48ba22(0x1e2)]();});}async[_0x4f492b(0x1d1)](_0x373188,_0x5e0f39,_0x51e06e,_0x9aac74){const _0x23e765=_0x4f492b;if(!this[_0x23e765(0x26c)]&&this[_0x23e765(0x1dd)][_0x23e765(0x203)]==_0x5e0f39){const _0x59a081=this[_0x23e765(0x268)](_0x51e06e,_0x9aac74);await this[_0x23e765(0x211)](_0x59a081),this[_0x23e765(0x1c2)](_0x59a081,_0x5e0f39,_0x51e06e[_0x23e765(0x1d5)])||this[_0x23e765(0x208)](_0x23e765(0x1f7));}}async[_0x4f492b(0x1e8)](){const _0x2b1029=_0x4f492b;this[_0x2b1029(0x1f5)]();const {locale:_0x232114}=this[_0x2b1029(0x26b)];let _0x4a8c52;try{_0x4a8c52=await this[_0x2b1029(0x193)][_0x2b1029(0x276)]();}catch{const _0x4dd375=_0x8372f5(_0x232114,_0x2b1029(0x267));return void this[_0x2b1029(0x1a5)](_0x4dd375);}const _0x283e4c=_0x4a8c52[_0x2b1029(0x215)]||_0x4a8c52[_0x2b1029(0x225)];if(this[_0x2b1029(0x1af)]!==_0x283e4c[_0x2b1029(0x1d5)]){const _0x12298b=_0x8372f5(_0x232114,_0x2b1029(0x20f));return void this[_0x2b1029(0x1a5)](_0x12298b);}await this[_0x2b1029(0x195)](this[_0x2b1029(0x26b)][_0x2b1029(0x1c4)][_0x2b1029(0x207)][_0x2b1029(0x20a)][_0x2b1029(0x23a)](),!0x0);}[_0x4f492b(0x1f5)](){const _0x435abd=_0x4f492b;this[_0x435abd(0x193)][_0x435abd(0x1da)](),this[_0x435abd(0x24c)]=[],clearTimeout(this[_0x435abd(0x252)]),this[_0x435abd(0x28a)](this[_0x435abd(0x193)]);}[_0x4f492b(0x241)](_0x4e64e9){const _0x752cfc=_0x4f492b,_0x45c46e=this[_0x752cfc(0x26b)][_0x752cfc(0x1b8)][_0x752cfc(0x1ce)](_0x409c07);this[_0x752cfc(0x26d)](_0x45c46e,_0x752cfc(0x254)+this[_0x752cfc(0x259)],(_0x4fb453,{session:_0x35be5d})=>{const _0x7b77e=_0x752cfc;if(_0x35be5d['id']===_0x45c46e[_0x7b77e(0x1f9)]){_0x4fb453[_0x7b77e(0x23d)]();const _0xe3aaa3=this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x245)](_0x7b77e(0x1f4))&&this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x1ce)](_0x7b77e(0x1f4));let _0x4cb034=_0x35be5d[_0x7b77e(0x22d)];_0xe3aaa3&&_0xe3aaa3[_0x7b77e(0x1de)]&&(_0x4cb034=_0x4cb034[_0x7b77e(0x1a4)](_0x395d18=>_0x7b77e(0x1a0)!==_0x395d18)),this[_0x7b77e(0x26b)][_0x7b77e(0x1b8)][_0x7b77e(0x1ce)](_0x7b77e(0x275))[_0x7b77e(0x226)](_0x4cb034,this[_0x7b77e(0x259)]);}}),_0x45c46e[_0x752cfc(0x1b9)](this[_0x752cfc(0x259)],_0x4e64e9);}[_0x4f492b(0x261)](){const _0x5a1c8b=_0x4f492b,_0x22ef7a=this[_0x5a1c8b(0x26b)][_0x5a1c8b(0x1fd)][_0x5a1c8b(0x1d4)];this[_0x5a1c8b(0x26b)][_0x5a1c8b(0x1fd)][_0x5a1c8b(0x1d4)]=(..._0x2d39f7)=>{const _0x4fa6ce=_0x5a1c8b;if(!_0x2d39f7[_0x2d39f7[_0x4fa6ce(0x234)]-0x1][_0x4fa6ce(0x246)])throw new _0x1091d2(_0x4fa6ce(0x277),this);_0x22ef7a[_0x4fa6ce(0x19d)](this[_0x4fa6ce(0x26b)][_0x4fa6ce(0x1fd)],_0x2d39f7);};}[_0x4f492b(0x18c)](){const _0x4386f4=_0x4f492b;this[_0x4386f4(0x26b)][_0x4386f4(0x1fd)]['on'](_0x4386f4(0x204),(_0x358131,[_0x79ff24])=>{const _0x576c42=_0x4386f4;if(this[_0x576c42(0x1dd)][_0x576c42(0x203)])throw new _0x1091d2(_0x576c42(0x240),this);_0x358131[_0x576c42(0x265)](),this[_0x576c42(0x229)]();const _0x32be4e=this[_0x576c42(0x26b)][_0x576c42(0x1f0)][_0x576c42(0x1ce)](_0x576c42(0x1e0)),_0x4b96a1=this[_0x576c42(0x1fa)](_0x79ff24,_0x32be4e);0x0==_0x4b96a1[_0x576c42(0x234)]&&_0x4b96a1[_0x576c42(0x223)](new _0x1ded9f(0x0)),_0x358131[_0x576c42(0x282)]=this[_0x576c42(0x195)](_0x4b96a1)[_0x576c42(0x25c)](()=>{const _0x4486c9=_0x576c42;this[_0x4486c9(0x26b)][_0x4486c9(0x1b8)][_0x4486c9(0x1ce)](_0x1022d2)[_0x4486c9(0x191)](this),this[_0x4486c9(0x26b)][_0x4486c9(0x1fd)][_0x4486c9(0x209)](_0x4486c9(0x1d3));})[_0x576c42(0x262)](_0x4b4386=>this[_0x576c42(0x208)](_0x576c42(0x1ab),_0x4b4386))[_0x576c42(0x285)](()=>this[_0x576c42(0x190)]());},{'priority':_0x4386f4(0x250)}),this[_0x4386f4(0x26b)]['on'](_0x4386f4(0x1f1),async(_0x14a39c,[_0x550715,_0x59b725])=>{const _0x5e73b2=_0x4386f4;_0x14a39c[_0x5e73b2(0x265)]();const _0x53c1cb=this[_0x5e73b2(0x26b)][_0x5e73b2(0x1c4)][_0x5e73b2(0x207)][_0x5e73b2(0x205)](_0x550715);if(!this[_0x5e73b2(0x263)][_0x5e73b2(0x245)](_0x550715)){const _0x28444d=_0x59b725&&_0x59b725[_0x5e73b2(0x1fd)]?_0x59b725[_0x5e73b2(0x1fd)]:'',_0x22b903=_0x59b725&&_0x59b725[_0x5e73b2(0x270)]?_0x59b725[_0x5e73b2(0x270)]:{};await this[_0x5e73b2(0x23f)](_0x550715,_0x28444d,_0x22b903);}this[_0x5e73b2(0x26b)][_0x5e73b2(0x1c4)][_0x5e73b2(0x217)]({'isUndoable':!0x1},()=>{const _0x17275d=_0x5e73b2;_0x53c1cb[_0x17275d(0x22e)]=!0x0,this[_0x17275d(0x26b)][_0x17275d(0x1c4)][_0x17275d(0x207)][_0x17275d(0x251)][_0x17275d(0x1a2)](_0x53c1cb);});},{'priority':_0x4386f4(0x250)});}async[_0x4f492b(0x211)](_0x27d065){const _0x3c9f72=_0x4f492b,_0x21b869=this[_0x3c9f72(0x26b)][_0x3c9f72(0x1b8)][_0x3c9f72(0x1ce)](_0x28de5a),{connection:_0x4dda0d}=this[_0x3c9f72(0x26b)][_0x3c9f72(0x1b8)][_0x3c9f72(0x1ce)](_0x1022d2),_0x42c1a0=new Set();for(const _0x5dad41 of _0x27d065){const _0x6edb08=_0x5dad41[_0x3c9f72(0x1f3)];_0x6edb08&&!_0x21b869[_0x3c9f72(0x1ed)](_0x6edb08)&&_0x42c1a0[_0x3c9f72(0x199)](_0x6edb08);}if(0x0===_0x42c1a0[_0x3c9f72(0x21f)])return;const _0x4ec810=await _0x302cfb[_0x3c9f72(0x27c)](_0x4dda0d,Array[_0x3c9f72(0x27f)](_0x42c1a0));for(const _0x1156c4 of _0x4ec810)_0x21b869[_0x3c9f72(0x1ed)](_0x1156c4['id'])||_0x21b869[_0x3c9f72(0x274)](_0x1156c4);}[_0x4f492b(0x1fa)](_0x5e5517,_0x2eb836={}){const _0x661fff=_0x4f492b,_0x5b75b1=this[_0x661fff(0x26b)][_0x661fff(0x1c4)],_0x506844=[];let _0x275566=0x0;const _0x2eb950=_0x661fff(0x1c0)==typeof _0x5e5517?{'main':_0x5e5517}:_0x5e5517;for(const _0x443099 of Object[_0x661fff(0x23e)](_0x2eb950)){if(!this[_0x661fff(0x1dd)][_0x661fff(0x19b)][_0x661fff(0x245)](_0x443099))throw new _0x1091d2(_0x661fff(0x25d),this);const _0x583324=this[_0x661fff(0x26b)][_0x661fff(0x1fd)][_0x661fff(0x1c1)](_0x2eb950[_0x443099]),_0x255926=this[_0x661fff(0x1dd)][_0x661fff(0x205)](_0x443099),_0xe6f2f4=new _0x3b2724(_0x5b75b1[_0x661fff(0x197)](_0x255926,0x0),_0x583324,_0x275566++);_0x506844[_0x661fff(0x223)](_0xe6f2f4);for(const [_0x464bd8,_0x555959]of _0x583324[_0x661fff(0x1b1)]){const _0x618801=_0x5b75b1[_0x661fff(0x231)](_0x5b75b1[_0x661fff(0x18d)](_0x255926,_0x555959[_0x661fff(0x27e)][_0x661fff(0x279)][_0x661fff(0x1cb)]()),_0x5b75b1[_0x661fff(0x18d)](_0x255926,_0x555959[_0x661fff(0x224)][_0x661fff(0x279)][_0x661fff(0x1cb)]())),_0x5ea1b7=new _0x1aae9c(_0x464bd8,null,_0x618801,_0x5b75b1[_0x661fff(0x1b1)],!0x0,_0x275566++);_0x506844[_0x661fff(0x223)](_0x5ea1b7);}}if(_0x2eb836)for(const [_0x4e5a32,_0x97b9a3]of Object[_0x661fff(0x1ac)](_0x2eb836)){const _0x226cd5=_0x5b75b1[_0x661fff(0x207)][_0x661fff(0x205)](_0x4e5a32);if(!_0x226cd5)throw new _0x1091d2(_0x661fff(0x220),null);for(const [_0x38b161,_0x16a455]of Object[_0x661fff(0x1ac)](_0x97b9a3))if(null!==_0x16a455){const _0x5609f2=new _0x5dfeeb(_0x226cd5,_0x38b161,null,_0x16a455,_0x275566++);_0x506844[_0x661fff(0x223)](_0x5609f2);}}return _0x506844;}async[_0x4f492b(0x23f)](_0x3d52d6,_0x262089,_0x41c044){const _0x4f16a3=_0x4f492b;this[_0x4f16a3(0x1fa)]({[_0x3d52d6]:_0x262089},{[_0x3d52d6]:_0x41c044})[_0x4f16a3(0x25b)]((_0x2b84e3,_0x53c1be)=>{const _0x5f1584=_0x4f16a3;_0x2b84e3[_0x5f1584(0x1c6)]=this[_0x5f1584(0x1dd)][_0x5f1584(0x203)]+_0x53c1be,_0x2b84e3[_0x5f1584(0x27d)]=!0x0,this[_0x5f1584(0x257)](_0x2b84e3);}),this[_0x4f16a3(0x248)](),await this[_0x4f16a3(0x18a)]();}async[_0x4f492b(0x1aa)](_0x4130d0,_0x2393fb){const _0x531c7a=_0x4f492b;let _0x41a46c;this[_0x531c7a(0x242)]=_0x4130d0[_0x531c7a(0x266)];const _0x1d1028=_0x4130d0[_0x531c7a(0x1e6)]&&!_0x4130d0[_0x531c7a(0x23c)],_0x43b089=_0x1d1028?0x0:_0x4130d0[_0x531c7a(0x1fd)][_0x531c7a(0x1c6)];if(_0x2393fb[_0x531c7a(0x25b)](_0x147976=>{const _0x2a35e5=_0x531c7a;_0x147976[_0x2a35e5(0x27d)]=!0x0,_0x147976[_0x2a35e5(0x255)]=_0x4130d0[_0x2a35e5(0x1df)],_0x147976[_0x2a35e5(0x1f3)]=null;}),_0x1d1028)_0x41a46c=_0x2393fb,this[_0x531c7a(0x221)](_0x41a46c,_0x1d1028);else{if(_0x4130d0[_0x531c7a(0x23c)]){const _0x39cad1=this[_0x531c7a(0x1fa)](_0x4130d0[_0x531c7a(0x23c)]);this[_0x531c7a(0x1dd)][_0x531c7a(0x20a)][_0x531c7a(0x203)]=-_0x39cad1[_0x531c7a(0x234)],_0x39cad1[_0x531c7a(0x25b)](_0x2d4cd5=>{const _0x2cf5a0=_0x531c7a;_0x2d4cd5[_0x2cf5a0(0x1c6)]-=_0x39cad1[_0x2cf5a0(0x234)],_0x2d4cd5[_0x2cf5a0(0x255)]=_0x4130d0[_0x2cf5a0(0x1df)],_0x2d4cd5[_0x2cf5a0(0x27d)]=!0x0,_0x2d4cd5[_0x2cf5a0(0x1f3)]=null;}),this[_0x531c7a(0x221)](_0x39cad1,!0x0),this[_0x531c7a(0x202)][_0x531c7a(0x203)]=-_0x39cad1[_0x531c7a(0x234)]+this[_0x531c7a(0x242)],this[_0x531c7a(0x27a)](_0x39cad1);}this[_0x531c7a(0x1dd)][_0x531c7a(0x20a)][_0x531c7a(0x203)]=_0x43b089,_0x41a46c=this[_0x531c7a(0x268)](_0x4130d0[_0x531c7a(0x1fd)],_0x4130d0[_0x531c7a(0x1b4)]),await this[_0x531c7a(0x211)](_0x41a46c),this[_0x531c7a(0x221)](_0x41a46c,_0x1d1028);}_0x4130d0[_0x531c7a(0x1d5)]&&(this[_0x531c7a(0x1bf)][_0x531c7a(0x1e1)](_0x41a46c,_0x4130d0[_0x531c7a(0x1d5)]),this[_0x531c7a(0x1af)]=_0x4130d0[_0x531c7a(0x1d5)]),this[_0x531c7a(0x202)][_0x531c7a(0x203)]=_0x43b089+this[_0x531c7a(0x242)],this[_0x531c7a(0x27a)](_0x41a46c),_0x2393fb[_0x531c7a(0x1a4)](_0x51132c=>{const _0x28adcc=_0x531c7a,_0x2e9e50=this[_0x28adcc(0x288)](_0x51132c);return _0x2e9e50&&!this[_0x28adcc(0x263)][_0x28adcc(0x245)](_0x2e9e50);})[_0x531c7a(0x25b)]((_0x4133bb,_0x34737c)=>{const _0x31feb4=_0x531c7a;_0x4133bb[_0x31feb4(0x1c6)]=this[_0x31feb4(0x1dd)][_0x31feb4(0x203)]+_0x34737c,this[_0x31feb4(0x257)](_0x4133bb);}),this[_0x531c7a(0x26a)]()?(this[_0x531c7a(0x1a8)]=0x0,this[_0x531c7a(0x248)](!0x0),await this[_0x531c7a(0x18a)]()):(this[_0x531c7a(0x26c)]=!0x1,this[_0x531c7a(0x190)]());}[_0x4f492b(0x208)](_0x2d4089,_0x1daddd){const _0x136511=_0x4f492b,_0x1f8bdc=_0x1daddd&&_0x1daddd[_0x136511(0x236)];if(_0x1f8bdc&&_0x1f8bdc[_0x136511(0x19c)](_0x136511(0x18f)))throw _0x1daddd;const _0x342630=this[_0x136511(0x26b)][_0x136511(0x1b8)][_0x136511(0x1ce)](_0x1022d2);throw this[_0x136511(0x26c)]=!0x0,_0x342630[_0x136511(0x1da)](),this[_0x136511(0x26b)][_0x136511(0x21a)](_0x136511(0x1c9)),new _0x1091d2(_0x2d4089,this[_0x136511(0x26b)],_0x1f8bdc?{'originalError':_0x1f8bdc}:void 0x0);}[_0x4f492b(0x257)](_0x23df4e){const _0x27c9b6=_0x4f492b;this[_0x27c9b6(0x25f)][_0x27c9b6(0x245)](_0x23df4e)||(this[_0x27c9b6(0x25f)][_0x27c9b6(0x199)](_0x23df4e),this[_0x27c9b6(0x24c)][_0x27c9b6(0x223)](_0x23df4e),this[_0x27c9b6(0x24d)]||_0x27c9b6(0x1be)==_0x23df4e[_0x27c9b6(0x206)]&&!_0x23df4e[_0x27c9b6(0x1c7)]||this[_0x27c9b6(0x229)]());}[_0x4f492b(0x248)](_0x228938=!0x1){const _0x3eaf4d=_0x4f492b;!_0x228938&&this[_0x3eaf4d(0x26c)]||(this[_0x3eaf4d(0x26c)]=!0x0,clearTimeout(this[_0x3eaf4d(0x252)]),this[_0x3eaf4d(0x252)]=setTimeout(()=>{const _0x1d6eb7=_0x3eaf4d;this[_0x1d6eb7(0x1d9)]()[_0x1d6eb7(0x25c)](_0xa89597=>{const _0x4661d0=_0x1d6eb7;_0xa89597&&(this[_0x4661d0(0x190)](),this[_0x4661d0(0x26c)]=!0x1);})[_0x1d6eb7(0x262)](_0x22abd2=>{const _0xe9ba07=_0x1d6eb7;this[_0xe9ba07(0x190)](),this[_0xe9ba07(0x26c)]=!0x1,function(_0x1d434b){const _0x42a0aa=_0xe9ba07;return _0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x286))||_0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x1ea))||_0x1d434b[_0x42a0aa(0x236)][_0x42a0aa(0x19c)](_0x42a0aa(0x1fc));}(_0x22abd2)||this[_0xe9ba07(0x208)](_0x22abd2[_0xe9ba07(0x236)],_0x22abd2);});},this[_0x3eaf4d(0x1a8)]));}[_0x4f492b(0x18a)](){return new Promise(_0x120109=>{const _0x1f92ed=_0xc8cb;this['on'](_0x1f92ed(0x21b),()=>{_0x120109();});});}async[_0x4f492b(0x1d9)](){const _0x12e70b=_0x4f492b,_0x51fd44=this[_0x12e70b(0x26b)][_0x12e70b(0x1b8)][_0x12e70b(0x1ce)](_0x4cd1fe);if(this[_0x12e70b(0x269)]()&&(_0x51fd44[_0x12e70b(0x1e2)](),this[_0x12e70b(0x227)]=!0x1),!this[_0x12e70b(0x26a)]())return!0x0;const _0x526d7e=[...this[_0x12e70b(0x24c)]];for(const _0x38f9ef of _0x526d7e)_0x38f9ef[_0x12e70b(0x289)]=this[_0x12e70b(0x1dd)][_0x12e70b(0x20a)][_0x12e70b(0x235)](_0x38f9ef);const _0x1ef3e9=this[_0x12e70b(0x1bf)][_0x12e70b(0x264)](_0x526d7e),_0x3b9745=G++,_0xe1a165=this[_0x12e70b(0x228)](_0x526d7e),_0x59109e=await this[_0x12e70b(0x193)][_0x12e70b(0x1d6)](_0xe1a165,_0xe1a165[_0x12e70b(0x1c6)],_0x1ef3e9);try{return await this[_0x12e70b(0x283)](_0x526d7e,_0x59109e,_0x3b9745);}catch(_0x29afaa){return this[_0x12e70b(0x208)](_0x12e70b(0x1c8),_0x29afaa);}}async[_0x4f492b(0x283)](_0x5810c3,_0x24d0b7,_0x20cf69){const _0x40d878=_0x4f492b;if(_0x40d878(0x213)in _0x24d0b7)throw _0x24d0b7[_0x40d878(0x213)];let _0x2d1ace=!0x1;if(_0x24d0b7[_0x40d878(0x1e6)]){_0x24d0b7[_0x40d878(0x1d5)]&&(this[_0x40d878(0x1af)]=_0x24d0b7[_0x40d878(0x1d5)]),this[_0x40d878(0x24c)]=this[_0x40d878(0x24c)][_0x40d878(0x1a4)](_0x330056=>!_0x5810c3[_0x40d878(0x210)](_0x330056));for(const _0x35c258 of _0x5810c3)_0x35c258[_0x40d878(0x255)]=_0x40d878(0x1c5)in _0x24d0b7&&_0x24d0b7[_0x40d878(0x1c5)]||void 0x0;K(_0x5810c3,_0x24d0b7[_0x40d878(0x203)]-_0x5810c3[_0x40d878(0x234)]),this[_0x40d878(0x27a)](_0x5810c3);const _0x1edfb9=_0x5810c3[_0x40d878(0x1a4)](_0x5e3b89=>{const _0x14651a=_0x40d878;if(!_0x5e3b89[_0x14651a(0x27d)])return!0x1;const _0x4cf00e=this[_0x14651a(0x288)](_0x5e3b89);return _0x4cf00e&&!this[_0x14651a(0x263)][_0x14651a(0x245)](_0x4cf00e);});K(_0x1edfb9,this[_0x40d878(0x1dd)][_0x40d878(0x203)]),this[_0x40d878(0x221)](_0x1edfb9),_0x2d1ace=!0x0,this[_0x40d878(0x1a8)]=this[_0x40d878(0x249)];}else{const _0x719abd=this[_0x40d878(0x268)](_0x24d0b7[_0x40d878(0x1fd)],_0x24d0b7[_0x40d878(0x1b4)])[_0x40d878(0x1a4)](_0x444552=>_0x444552[_0x40d878(0x1c6)]>=this[_0x40d878(0x194)]);_0x719abd[_0x40d878(0x25b)](_0x6bde95=>this[_0x40d878(0x19a)](_0x6bde95)),this[_0x40d878(0x24c)]=this[_0x40d878(0x24c)][_0x40d878(0x1a4)](_0x51943c=>!_0x51943c[_0x40d878(0x27d)]||!this[_0x40d878(0x263)][_0x40d878(0x245)](this[_0x40d878(0x288)](_0x51943c))),this[_0x40d878(0x24c)][_0x40d878(0x234)]&&K(this[_0x40d878(0x24c)],this[_0x40d878(0x24c)][0x0][_0x40d878(0x1c6)]),await this[_0x40d878(0x211)](_0x719abd),_0x2d1ace=this[_0x40d878(0x1c2)](_0x719abd,_0x24d0b7[_0x40d878(0x203)],_0x24d0b7[_0x40d878(0x1d5)]),this[_0x40d878(0x1a8)]=Math[_0x40d878(0x216)](this[_0x40d878(0x1a8)]/0x2);}return _0x2d1ace?!this[_0x40d878(0x26a)]()||(this[_0x40d878(0x248)](!0x0),!0x1):this[_0x40d878(0x208)](_0x40d878(0x1ae));}[_0x4f492b(0x1c2)](_0x4d9cb9,_0x16993f,_0x212df3){const _0x506316=_0x4f492b;try{const _0x5eb8fb={'document':this[_0x506316(0x1dd)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x446059,operationsB:_0x377938,originalOperations:_0x335202}=_0xdcce9a(_0x4d9cb9,this[_0x506316(0x24c)],_0x5eb8fb);K(_0x446059,this[_0x506316(0x1dd)][_0x506316(0x203)]),K(_0x377938,_0x16993f);for(const _0x3819a7 of _0x446059){const _0x3d8624=_0x335202[_0x506316(0x1ce)](_0x3819a7);_0x3819a7[_0x506316(0x1f3)]=_0x3d8624?_0x3d8624[_0x506316(0x1f3)]:null;}_0x212df3&&(this[_0x506316(0x1bf)][_0x506316(0x1e1)](_0x4d9cb9,_0x212df3),this[_0x506316(0x1af)]=_0x212df3),this[_0x506316(0x24c)]=[..._0x377938],this[_0x506316(0x221)](_0x446059),this[_0x506316(0x27a)](_0x4d9cb9);}catch(_0x51d2d5){return console[_0x506316(0x213)](_0x51d2d5),!0x1;}return!0x0;}[_0x4f492b(0x221)](_0x32bf1a,_0x51e7ed=!0x1){const _0x458b03=_0x4f492b;this[_0x458b03(0x26b)][_0x458b03(0x1c4)][_0x458b03(0x217)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5aa922=>{const _0xede49c=_0x458b03;for(const _0x19a30a of _0x32bf1a)this[_0xede49c(0x25f)][_0xede49c(0x199)](_0x19a30a),this[_0xede49c(0x19a)](_0x19a30a),_0x5aa922[_0xede49c(0x1ad)][_0xede49c(0x188)](_0x19a30a),this[_0xede49c(0x26b)][_0xede49c(0x1c4)][_0xede49c(0x20d)](_0x19a30a);});}[_0x4f492b(0x19a)](_0x43942e){const _0xecc448=_0x4f492b,_0x5d0090=this[_0xecc448(0x288)](_0x43942e);_0x5d0090&&this[_0xecc448(0x263)][_0xecc448(0x199)](_0x5d0090);}[_0x4f492b(0x288)](_0x447837){const _0x34d100=_0x4f492b;let _0x5cbf49,_0x12a3e6;switch(_0x447837[_0x34d100(0x206)]){case _0x34d100(0x1fb):_0x5cbf49=_0x447837[_0x34d100(0x1b0)][_0x34d100(0x1a3)];break;case _0x34d100(0x1be):if(_0x12a3e6=_0x447837[_0x34d100(0x196)],!_0x12a3e6)return null;_0x5cbf49=_0x12a3e6[_0x34d100(0x1a3)];break;case _0x34d100(0x1b3):_0x5cbf49=_0x447837[_0x34d100(0x1a3)];break;case _0x34d100(0x1bd):_0x5cbf49=_0x447837[_0x34d100(0x258)];break;case _0x34d100(0x1cf):_0x5cbf49=_0x447837[_0x34d100(0x20e)][_0x34d100(0x1a3)];break;default:return null;}return _0x5cbf49[_0x34d100(0x280)];}[_0x4f492b(0x27a)](_0x635f51){const _0x1b3f1e=_0x4f492b;_0x635f51[_0x1b3f1e(0x25b)](_0x830e57=>{const _0x13e82f=_0x1b3f1e,_0x312af6=_0x830e57[_0x13e82f(0x1cc)]();_0x312af6[_0x13e82f(0x1f3)]=_0x830e57[_0x13e82f(0x1f3)],_0x312af6[_0x13e82f(0x27d)]=!!_0x830e57[_0x13e82f(0x27d)],_0x312af6[_0x13e82f(0x255)]=_0x830e57[_0x13e82f(0x255)],_0x312af6[_0x13e82f(0x1c6)]+=this[_0x13e82f(0x242)],_0x830e57[_0x13e82f(0x247)]&&this[_0x13e82f(0x222)][_0x13e82f(0x199)](_0x312af6),this[_0x13e82f(0x202)][_0x13e82f(0x188)](_0x312af6);});}[_0x4f492b(0x1a5)](_0x2d66f2){const _0x232c33=_0x4f492b,_0x38368d=this[_0x232c33(0x26b)][_0x232c33(0x1b8)][_0x232c33(0x1ce)](_0x232c33(0x19f)),_0x21ec1c=this[_0x232c33(0x26b)][_0x232c33(0x200)];_0x2d66f2||(_0x2d66f2=_0x8372f5(_0x21ec1c,_0x232c33(0x21e))),_0x38368d[_0x232c33(0x273)](_0x2d66f2,{'title':_0x8372f5(_0x21ec1c,_0x232c33(0x24e)),'namespace':_0x232c33(0x260)}),this[_0x232c33(0x26e)]=!0x0,clearTimeout(this[_0x232c33(0x252)]),this[_0x232c33(0x24c)]=[],this[_0x232c33(0x26b)][_0x232c33(0x1b8)][_0x232c33(0x1ce)](_0x1022d2)[_0x232c33(0x1da)]();}[_0x4f492b(0x229)](){const _0x572ce3=_0x4f492b;this[_0x572ce3(0x24d)]||(this[_0x572ce3(0x24d)]=this[_0x572ce3(0x26b)][_0x572ce3(0x1b8)][_0x572ce3(0x1ce)](_0x1337dd)[_0x572ce3(0x199)](_0x8372f5(this[_0x572ce3(0x26b)][_0x572ce3(0x200)],_0x572ce3(0x25a))));}[_0x4f492b(0x190)](){const _0x3691af=_0x4f492b;this[_0x3691af(0x24d)]&&(this[_0x3691af(0x26b)][_0x3691af(0x1b8)][_0x3691af(0x1ce)](_0x1337dd)[_0x3691af(0x238)](this[_0x3691af(0x24d)]),this[_0x3691af(0x24d)]=null);}[_0x4f492b(0x228)](_0x294562){const _0x3f6066=_0x4f492b,_0x3eb37c=_0x294562[_0x3f6066(0x232)](_0x40b1df=>_0x40b1df[_0x3f6066(0x27b)]());return this[_0x3f6066(0x20b)][_0x3f6066(0x1c3)](_0x3eb37c);}[_0x4f492b(0x268)](_0x3c1ed9,_0x5c0c04){const _0x4bd679=_0x4f492b;return this[_0x4bd679(0x20b)][_0x4bd679(0x1eb)](_0x3c1ed9)[_0x4bd679(0x232)]((_0x5863aa,_0x5c0fe3)=>{const _0x4c4f67=_0x4bd679,_0x2651a4=_0x4c4f67(0x204)==_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x206)];if(_0x4c4f67(0x1ba)==_0x5863aa[_0x4c4f67(0x272)]){const _0x2fb6f6=_0x5863aa[_0x4c4f67(0x1b0)][_0x4c4f67(0x1a3)];!this[_0x4c4f67(0x1dd)][_0x4c4f67(0x205)](_0x2fb6f6)&&(this[_0x4c4f67(0x1dd)][_0x4c4f67(0x1dc)](_0x4c4f67(0x23b),_0x2fb6f6)[_0x4c4f67(0x28b)]=!0x1);}const _0x2f4c51=_0x491e8f[_0x4c4f67(0x281)](_0x5863aa,this[_0x4c4f67(0x1dd)]);return _0x2f4c51[_0x4c4f67(0x289)]=_0x5863aa[_0x4c4f67(0x289)],_0x2f4c51[_0x4c4f67(0x27d)]=_0x2651a4,_0x2f4c51[_0x4c4f67(0x1f3)]=_0x2651a4?null:_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x230)],_0x2f4c51[_0x4c4f67(0x247)]=_0x4c4f67(0x239)===_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x206)],_0x2f4c51[_0x4c4f67(0x255)]=_0x5c0c04[_0x5c0fe3][_0x4c4f67(0x255)],_0x2f4c51;});}[_0x4f492b(0x22c)](){const _0xa043c7=_0x4f492b;this[_0xa043c7(0x227)]=!0x0,this[_0xa043c7(0x269)]()?this[_0xa043c7(0x248)]():this[_0xa043c7(0x227)]=!0x1;}[_0x4f492b(0x269)](){const _0x5d8899=_0x4f492b,_0x34fec5=this[_0x5d8899(0x26b)][_0x5d8899(0x1b8)][_0x5d8899(0x1ce)](_0x409c07)[_0x5d8899(0x21c)][_0x5d8899(0x1ce)](this[_0x5d8899(0x259)]);return!this[_0x5d8899(0x26b)][_0x5d8899(0x24f)]&&!!_0x34fec5&&_0x34fec5[_0x5d8899(0x234)]>0x1&&this[_0x5d8899(0x227)];}[_0x4f492b(0x26a)](){const _0xb139c2=_0x4f492b;return this[_0xb139c2(0x24c)][_0xb139c2(0x234)]>0x0||this[_0xb139c2(0x269)]();}}class $ extends Error{}function K(_0x46176c,_0x512867){const _0x4e40e7=_0x4f492b;for(const _0x2094da of _0x46176c)_0x2094da[_0x4e40e7(0x1c6)]=_0x512867++;}class J{[_0x4f492b(0x25e)];[_0x4f492b(0x1d0)];constructor(_0x4131e8){const _0x127a81=_0x4f492b;this[_0x127a81(0x25e)]=_0x4131e8,this[_0x127a81(0x1d0)]=new WeakMap();}[_0x4f492b(0x264)](_0x5cf8eb){const _0x348f19=_0x4f492b;let _0x13b48f=_0x5cf8eb[_0x348f19(0x234)];for(;_0x13b48f--;){const _0x1dccc3=_0x5cf8eb[_0x13b48f];if(!this[_0x348f19(0x25e)][_0x348f19(0x245)](_0x1dccc3)){if(!this[_0x348f19(0x1d0)][_0x348f19(0x245)](_0x1dccc3)){const _0x1db567=_0x244c95()[_0x348f19(0x1cb)](0x1,0x12);this[_0x348f19(0x1d0)][_0x348f19(0x1d4)](_0x1dccc3,_0x1db567);}return this[_0x348f19(0x1d0)][_0x348f19(0x1ce)](_0x1dccc3);}}}[_0x4f492b(0x1e1)](_0x348097,_0x4ec7ae){const _0x2e8a70=_0x4f492b;if(!_0x4ec7ae)return;let _0x4f4588=_0x348097[_0x2e8a70(0x234)];for(;_0x4f4588--;){const _0xe23ac7=_0x348097[_0x4f4588];this[_0x2e8a70(0x25e)][_0x2e8a70(0x245)](_0xe23ac7)||this[_0x2e8a70(0x1d0)][_0x2e8a70(0x1d4)](_0xe23ac7,_0x4ec7ae);}}}function _0x3e90(){const _0x4bedad=['__className','showWarning','addUser','Permissions','getDocumentDetails','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','unregister','path','_updateServerHistory','toJSON','getMany','_isInit','start','from','rootName','fromJSON','return','_handleServerResponse','177003oiJENZ','finally','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-init-session-connection-error','_getAffectedRoot','wasUndone','stopListening','_isAttached','3401237xhGmnQ','addOperation','collaboration','_waitUntilSynced','pluginName','_setUpDataInit','createPositionFromPath','removeFromReconnectionStack','realtimecollaborationclient','_clearPendingAction','addToReconnectionStack','connect','_service','_lastServerVersion','_connectService','newRange','createPositionAt','cloudServices.bundleVersion','add','_addKnownRoot','roots','startsWith','apply','_handleReconnectionResponse','Notification','document:write','rtc-offline','_bufferRootLoad','root','filter','_handleReconnectionError','sessionId','6434672rjkDam','_currentBufferDelay','destroy','_handleInitialConnectionData','realtimecollaborationclient-init-connection-failed','entries','batch','realtimecollaborationclient-handleserverresponse','_lastSyncedOperationId','position','markers','isPremiumPlugin','addRootAttribute','metadata','disconnected','editing','connection','plugins','register','InsertOperation','collaboration-missing-channelid','lastSyncVersion','addRoot','marker','_operationIdentifier','string','parse','_handleExternalOperations','compress','model','lastOperationAcceptedAt','baseVersion','affectsData','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-error','getOperationAuthor','slice','clone','2036860JiOEpT','get','move','_operationToId','_handleReceivedOperations','isOfficialPlugin','ready','set','lastOperationId','sendOperations','isDocumentOperation','bind','_sendBufferedOperations','disconnect','CollaborativeEditingService','createRoot','_document','isEnabled','sessionCreatedAt','rootsAttributes','setIdForTheLastOperation','createUserMarkerOperations','view','5847354ezebYh','change:range','wereChangesApplied','getConnectedSessions','_connectAfterSessionHasBeenFlushed','directChange','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','decompress','reconnect','getUser','operationsReceived','realtimecollaborationclient-init-service-internal-error','config','loadRoot','_isEditingAllowed','_authorId','CommentsOnly','_disconnectService','6bsXbTG','realtimecollaborationclient-init-service-incorrect-server-operation','code','mySessionId','_getOperationsFromInitData','insert','cloud-services-internal-error:\x20Request\x20timeout.','data','define','_handleSendingSelectionMarkers','locale','change:hasDomSelection','serverHistory','version','init','getRoot','type','document','_crash','fire','history','_compressor','connected','applyOperation','targetPosition','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.','includes','_fetchMissingUsers','rtc-destroyed','error','reconnection:\x20flushed\x20session','currentDocumentSession','round','enqueueChange','47064CGXzeU','342535dhtcaN','enableReadOnlyMode','change:_isPendingUpdate','channelSessions','27hnSyUB','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.','size','multi-root-editor-root-attributes-no-root','_applyOperationsSet','_disconnectionOperations','push','end','lastDocumentSession','setPermissions','_hasSelectionChanged','_compressOperations','_setPendingAction','reset','requires','_refreshUserSelectionMarkers','permissions','_isLoaded','404','userId','createRange','map','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','length','isUndoneOperation','message','_isConnected','remove','cs:removeUser','getOperations','$root','initData','off','keys','_loadRoot','realtimecollaborationclient-init-document-already-initialized','_initSessionsHandling','_offset','cloudDocumentVersion','disableReadOnlyMode','has','suppressErrorInCollaboration','_isDisconnection','_sendBufferedOperationsDelayed','_baseBufferDelay','RealTimeCollaborationClient','state','_bufferedOperations','_pendingAction','Synchronization\x20issue','isReadOnly','high','differ','_sendBufferedOperationsDelayId','collaboration.channelId','sessionAdd:','createdAt','change:_isEditingAllowed','_saveOperationInBuffer','affectedSelectable','_channelId','PENDING_ACTION_SENDING_DATA','forEach','then','realtimecollaborationclient-init-non-existent-root','_ignoredOperations','_knownOperations','real-time-collaboration','_initThrowingOnDataSet','catch','_knownRootNames','getIdOfTheLastOperation','stop','offset','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_decompressOperations','_shouldSendSelectionUpdate','_shouldSendUpdate','editor','_isPendingUpdate','listenTo','_hasSynchronizationProblem','409','attributes','selection'];_0x3e90=function(){return _0x4bedad;};return _0x3e90();}
|
|
23
|
+
const _0x35432b=_0x40df;(function(_0x5e470b,_0x19e542){const _0x32b415=_0x40df,_0x27d212=_0x5e470b();while(!![]){try{const _0x15f601=-parseInt(_0x32b415(0x19a))/0x1*(parseInt(_0x32b415(0x111))/0x2)+-parseInt(_0x32b415(0x194))/0x3*(parseInt(_0x32b415(0x10a))/0x4)+parseInt(_0x32b415(0x1bd))/0x5+parseInt(_0x32b415(0x11a))/0x6+parseInt(_0x32b415(0x197))/0x7*(-parseInt(_0x32b415(0x181))/0x8)+parseInt(_0x32b415(0x17e))/0x9*(-parseInt(_0x32b415(0xc8))/0xa)+parseInt(_0x32b415(0xc9))/0xb;if(_0x15f601===_0x19e542)break;else _0x27d212['push'](_0x27d212['shift']());}catch(_0x8f61d2){_0x27d212['push'](_0x27d212['shift']());}}}(_0x35b2,0xa57fc));import{Plugin as _0x5a7a56,PendingActions as _0x2e9a93}from'ckeditor5/src/core.js';import{CKEditorError as _0x8d2547,version as _0x5d150f,uid as _0x2ffcae}from'ckeditor5/src/utils.js';import{Notification as _0x278c50}from'ckeditor5/src/ui.js';function _0x35b2(){const _0x1c6a38=['loadRoot','newRange','move','change:_isEditingAllowed','lastSyncVersion','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_isConnected','entries','createUserMarkerOperations','roots','string','isPremiumPlugin','suppressErrorInCollaboration','_knownRootNames','baseVersion','insert','startsWith','Notification','plugins','multi-root-editor-root-attributes-no-root','_loadRoot','_isLoaded','config','editing','_addKnownRoot','serverHistory','state','_initThrowingOnDataSet','_decompressOperations','_handleInitialConnectionData','_channelId','error','_operationIdentifier','Permissions','enqueueChange','path','from','sessionCreatedAt','wereChangesApplied','targetPosition','initData','listenTo','currentDocumentSession','editor','slice','parse','bind','version','lastOperationId','permissions','remove','_refreshUserSelectionMarkers','sessionAdd:','_document','disableReadOnlyMode','_compressOperations','_applyOperationsSet','clone','addRoot','409','has','CommentsOnly','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.','createRoot','createdAt','filter','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','realtimecollaborationclient-init-service-internal-error','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','push','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','metadata','batch','PENDING_ACTION_SENDING_DATA','_shouldSendSelectionUpdate','selection','showWarning','decompress','addRootAttribute','_saveOperationInBuffer','_handleExternalOperations','_getOperationsFromInitData','addToReconnectionStack','disconnect','realtimecollaborationclient-error','realtimecollaborationclient-init-document-already-initialized','type','return','_pendingAction','channelSessions','disconnected','round','getOperationAuthor','_currentBufferDelay','_connectService','fire','_disconnectService','_sendBufferedOperations','rootsAttributes','477xaYXhl','_knownOperations','document','96IUwAwm','createRange','collaboration-missing-channelid','_hasSelectionChanged','_sendBufferedOperationsDelayId','addUser','affectedSelectable','unregister','_updateServerHistory','data','_hasSynchronizationProblem','start','_waitUntilSynced','createPositionFromPath','realtimecollaborationclient-init-non-existent-root','404','sendOperations','_connectAfterSessionHasBeenFlushed','register','153kzNiCC','removeFromReconnectionStack','collaboration','698278ZtregQ','toJSON','_isDisconnection','1osJnUY','rootName','getRoot','code','_offset','CollaborativeEditingService','forEach','requires','map','_bufferedOperations','_initSessionsHandling','_authorId','getIdOfTheLastOperation','connection','setPermissions','_sendBufferedOperationsDelayed','change:range','keys','_getAffectedRoot','stopListening','_lastSyncedOperationId','length','sessionId','_operationToId','_disconnectionOperations','markers','change:_isPendingUpdate','high','_compressor','isOfficialPlugin','cloud-services-internal-error:\x20Request\x20timeout.','operationsReceived','getOperations','rtc-destroyed','includes','26160BKZxtY','_setUpDataInit','finally','realtimecollaborationclient-init-connection-failed','getMany','InsertOperation','apply','fromJSON','_lastServerVersion','_setPendingAction','connect','__className','RealTimeCollaborationClient','_baseBufferDelay','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.','_bufferRootLoad','ready','realtimecollaborationclient-handleserverresponse','156630MvNiTc','30585841IlnRdh','get','realtimecollaborationclient','rtc-offline','_handleReconnectionError','_isEditingAllowed','collaboration.channelId','root','cloudServices.bundleVersion','reconnection:\x20flushed\x20session','set','stop','_handleReceivedOperations','locale','setIdForTheLastOperation','getUser','add','affectsData','_shouldSendUpdate','_clearPendingAction','_handleServerResponse','cs:removeUser','realtimecollaborationclient-init-session-connection-error','Synchronization\x20issue','_isAttached','history','real-time-collaboration','define','destroy','marker','addOperation','_isInit','getDocumentDetails','_handleReconnectionResponse','_ignoredOperations','_service','wasUndone','document:write','createPositionAt','then','offset','model','reconnect','size','lastOperationAcceptedAt','message','applyOperation','differ','off','change:hasDomSelection','_handleSendingSelectionMarkers','connected','reset','end','directChange','view','_crash','isReadOnly','getConnectedSessions','mySessionId','pluginName','compress','init','lastDocumentSession','_fetchMissingUsers','16096RdaXvV','attributes','_isPendingUpdate','$root','isDocumentOperation','enableReadOnlyMode','position','285220MrQzhU','isEnabled','cloud-services-internal-error:\x20Not\x20connected.','realtimecollaborationclient-sendbufferedoperations','userId','realtimecollaborationclient-init-service-incorrect-server-operation','cloudDocumentVersion','isUndoneOperation','catch','1602852FJQUcl'];_0x35b2=function(){return _0x1c6a38;};return _0x35b2();}import{transformOperationSets as _0x25eca8,NoOperation as _0x261110,InsertOperation as _0x1c5d40,MarkerOperation as _0x195287,RootAttributeOperation as _0x46e98a,OperationFactory as _0x3dbd72,History as _0x268ccc}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x3e8eea}from'./websocketgateway.js';import{Sessions as _0x49072b}from'./sessions.js';import{UserMarkers as _0x58ab1f}from'./usermarkers.js';import{getTranslation as _0x4c7266}from'../common-translations.js';import{Compressor as _0x5a158e}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2b9cb9}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x40df(_0xc44897,_0x28ac44){const _0x35b230=_0x35b2();return _0x40df=function(_0x40df0d,_0x464dc5){_0x40df0d=_0x40df0d-0xc1;let _0x424d29=_0x35b230[_0x40df0d];return _0x424d29;},_0x40df(_0xc44897,_0x28ac44);}import{User as _0x24f185,CollaborativeEditingService as _0x7fb618}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;export class RealTimeCollaborationClient extends _0x5a7a56{static [_0x35432b(0x19f)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x7fb618)());[_0x35432b(0x19e)];[_0x35432b(0x1b0)];[_0x35432b(0x134)];[_0x35432b(0x139)];[_0x35432b(0xec)];[_0x35432b(0x150)];[_0x35432b(0x1b6)];[_0x35432b(0x1a3)];[_0x35432b(0x17f)];[_0x35432b(0x128)];[_0x35432b(0x173)];[_0x35432b(0x184)];[_0x35432b(0x185)];[_0x35432b(0xc3)];[_0x35432b(0x178)];[_0x35432b(0x1ae)];[_0x35432b(0x1b2)];[_0x35432b(0x13b)];static get[_0x35432b(0x1a1)](){return[_0x3e8eea,_0x49072b,_0x58ab1f,_0x2e9a93,_0x2b9cb9,_0x278c50];}static get[_0x35432b(0x105)](){const _0x3933fe=_0x35432b;return _0x3933fe(0xc2);}static get[_0x35432b(0x1b7)](){return!0x0;}static get[_0x35432b(0x126)](){return!0x0;}get[_0x35432b(0x117)](){const _0x169a4b=_0x35432b;return this[_0x169a4b(0x1c5)]+this[_0x169a4b(0x19e)];}get[_0x35432b(0x1c5)](){const _0x1a2c51=_0x35432b;return this[_0x1a2c51(0x134)][_0x1a2c51(0x14a)]-this[_0x1a2c51(0x19e)];}get[_0x35432b(0x11f)](){const _0x4e1f1c=_0x35432b,_0x4bd418=this[_0x4e1f1c(0x134)][_0x4e1f1c(0x1ba)]();for(let _0x4ebbbb=_0x4bd418[_0x4e1f1c(0x1af)]-0x1;_0x4ebbbb>=0x0;_0x4ebbbb--){const _0x349157=_0x4bd418[_0x4ebbbb];if(!this[_0x4e1f1c(0x1b2)][_0x4e1f1c(0x157)](_0x349157))return _0x349157[_0x4e1f1c(0x129)]+0x1-this[_0x4e1f1c(0x19e)];}return 0x0;}constructor(_0x2aaafe){const _0x3c6317=_0x35432b;if(super(_0x2aaafe),this[_0x3c6317(0x19e)]=0x0,this[_0x3c6317(0x1b0)]=null,this[_0x3c6317(0x134)]=new _0x268ccc(),this[_0x3c6317(0x146)][_0x3c6317(0x131)][_0x3c6317(0xe4)](_0x3c6317(0x196),{}),this[_0x3c6317(0x139)]=this[_0x3c6317(0x146)][_0x3c6317(0x131)][_0x3c6317(0xca)](_0x3c6317(0xcf)),!this[_0x3c6317(0x139)])throw new _0x8d2547(_0x3c6317(0x183),this);const _0x20f29c=_0x2aaafe[_0x3c6317(0x131)][_0x3c6317(0xca)](_0x3c6317(0xd1))||_0x5d150f;this[_0x3c6317(0xec)]=new RealTimeCollaborationClient[(_0x3c6317(0x19f))](_0x20f29c,this[_0x3c6317(0x139)]),this[_0x3c6317(0x150)]=this[_0x3c6317(0x146)][_0x3c6317(0xf2)][_0x3c6317(0x180)],this[_0x3c6317(0x1b6)]=new _0x5a158e(),this[_0x3c6317(0x1a3)]=[],this[_0x3c6317(0x17f)]=new WeakSet(),this[_0x3c6317(0x128)]=new Set(),this[_0x3c6317(0xd3)](_0x3c6317(0x10c),!0x1),this[_0x3c6317(0xd3)](_0x3c6317(0x18b),!0x1),this[_0x3c6317(0x173)]=null,this[_0x3c6317(0x184)]=!0x1,this[_0x3c6317(0x185)]=null,this[_0x3c6317(0xc3)]=0x12c,this[_0x3c6317(0x178)]=this[_0x3c6317(0xc3)],this[_0x3c6317(0x1ae)]=null,this[_0x3c6317(0x1b2)]=new WeakSet(),this[_0x3c6317(0x13b)]=new J(this[_0x3c6317(0x1b2)]);}[_0x35432b(0x107)](){const _0x1abb3c=_0x35432b,_0x26d1b7=this[_0x1abb3c(0x146)],_0x358952=_0x26d1b7[_0x1abb3c(0x12d)][_0x1abb3c(0xca)](_0x2b9cb9),_0x1c3710=_0x26d1b7[_0x1abb3c(0x12d)][_0x1abb3c(0xca)](_0x3e8eea);this[_0x1abb3c(0x144)](_0x358952,_0x1abb3c(0x177),(_0x1ccb44,_0x6aacd2)=>{const _0x411e1f=_0x1abb3c,_0x6188f9=_0x6aacd2[0x0];_0x6188f9[_0x411e1f(0x1a5)]&&(_0x1ccb44[_0x411e1f(0x172)]=_0x358952[_0x411e1f(0xd8)](_0x6188f9[_0x411e1f(0x1a5)]),_0x1ccb44[_0x411e1f(0xd4)]()),null===_0x6188f9[_0x411e1f(0x1a5)]&&(_0x1ccb44[_0x411e1f(0x172)]=null,_0x1ccb44[_0x411e1f(0xd4)]());},{'priority':_0x1abb3c(0x1b5)}),this[_0x1abb3c(0x144)](_0x26d1b7[_0x1abb3c(0xf2)][_0x1abb3c(0x180)][_0x1abb3c(0x166)],_0x1abb3c(0x1aa),(_0x231686,_0x3d45f5)=>{const _0xddf7e8=_0x1abb3c;_0x3d45f5[_0xddf7e8(0xff)]&&this[_0xddf7e8(0x14e)]();}),this[_0x1abb3c(0x144)](_0x26d1b7[_0x1abb3c(0x132)][_0x1abb3c(0x100)],_0x1abb3c(0xfa),()=>{const _0x577db9=_0x1abb3c;this[_0x577db9(0x14e)]();}),this[_0x1abb3c(0x136)](),_0x26d1b7[_0x1abb3c(0xf2)]['on'](_0x1abb3c(0xf7),(_0x531e08,_0x2e3d6a)=>{const _0x26eff8=_0x1abb3c,_0x2718fa=_0x2e3d6a[0x0];_0x2718fa[_0x26eff8(0x10e)]&&(this[_0x26eff8(0x16a)](_0x2718fa),this[_0x26eff8(0xdb)]()&&this[_0x26eff8(0x1a9)]());}),this[_0x1abb3c(0x1be)](),this[_0x1abb3c(0x149)](_0x1abb3c(0xce))['to'](_0x1c3710,_0x1abb3c(0x135),this,_0x1abb3c(0x18b),(_0xa230b2,_0x596718)=>_0x1abb3c(0xfc)===_0xa230b2&&!_0x596718),this['on'](_0x1abb3c(0x11e),()=>{const _0x259d9a=_0x1abb3c;this[_0x259d9a(0xce)]?_0x26d1b7[_0x259d9a(0x151)](_0x259d9a(0xcc)):_0x26d1b7[_0x259d9a(0x10f)](_0x259d9a(0xcc));}),this[_0x1abb3c(0xce)]?_0x26d1b7[_0x1abb3c(0x151)](_0x1abb3c(0xcc)):_0x26d1b7[_0x1abb3c(0x10f)](_0x1abb3c(0xcc)),this[_0x1abb3c(0xd3)](_0x1abb3c(0x121),!0x1);}async[_0x35432b(0xf3)](){const _0x300247=_0x35432b,_0xedc9a8=this[_0x300247(0x146)][_0x300247(0x12d)][_0x300247(0xca)](_0x49072b),_0x43fc6e=this[_0x300247(0x146)][_0x300247(0x12d)][_0x300247(0xca)](_0x3e8eea);try{this[_0x300247(0x10c)]=!0x0,_0xedc9a8[_0x300247(0x188)](this[_0x300247(0x139)]);const _0x3a9519=await this[_0x300247(0xec)][_0x300247(0xf3)](_0x43fc6e[_0x300247(0x1a7)],this[_0x300247(0x11f)]);await this[_0x300247(0xea)](_0x3a9519)&&(this[_0x300247(0x10c)]=!0x1,this[_0x300247(0xdc)]());const _0x3c9e7e=await this[_0x300247(0xec)][_0x300247(0x103)]();_0xedc9a8[_0x300247(0x193)](this[_0x300247(0x139)],_0x3c9e7e),this[_0x300247(0xfb)](),this[_0x300247(0x121)]=!0x0;}catch(_0x36101b){if(function(_0x19cf16){const _0x5baa17=_0x300247;return _0x5baa17(0x190)===_0x19cf16[_0x5baa17(0x19d)];}(_0x36101b)&&this[_0x300247(0x1b0)])await this[_0x300247(0x192)]();else{if(function(_0x4aeaf1){const _0xcb6a6d=_0x300247;return _0xcb6a6d(0x156)===_0x4aeaf1[_0xcb6a6d(0x19d)];}(_0x36101b)){const _0x283549=_0x4c7266(this[_0x300247(0x146)][_0x300247(0xd6)],_0x300247(0x15f));this[_0x300247(0xcd)](_0x283549);}else{if(!(_0x36101b instanceof $))throw _0x36101b;this[_0x300247(0xcd)]();}}}}[_0x35432b(0xe5)](){const _0x5a604f=_0x35432b,_0x2f069b=this[_0x5a604f(0x146)][_0x5a604f(0x12d)][_0x5a604f(0xca)](_0x3e8eea),_0x58ab97=this[_0x5a604f(0x146)][_0x5a604f(0x12d)][_0x5a604f(0xca)](_0x49072b);this[_0x5a604f(0x146)][_0x5a604f(0x10f)](_0x5a604f(0x1bb)),_0x58ab97[_0x5a604f(0x174)][_0x5a604f(0x157)](this[_0x5a604f(0x139)])&&_0x58ab97[_0x5a604f(0x188)](this[_0x5a604f(0x139)]),_0x2f069b[_0x5a604f(0x195)](this),this[_0x5a604f(0x17b)](),super[_0x5a604f(0xe5)]();}async[_0x35432b(0xea)](_0x41a69b){const _0x4b4400=_0x35432b;if(this[_0x4b4400(0x1b0)]!==_0x41a69b[_0x4b4400(0x1b0)]&&this[_0x4b4400(0x1ae)]!==_0x41a69b[_0x4b4400(0x14b)])throw new $();return this[_0x4b4400(0x1b0)]=_0x41a69b[_0x4b4400(0x1b0)],this[_0x4b4400(0xdd)]([],{..._0x41a69b,'wereChangesApplied':!0x1,'data':_0x41a69b[_0x4b4400(0x18a)]},_0x4b4400(0xf3));}async[_0x35432b(0x179)](_0x241c65,_0x2e1d96=!0x1){const _0x526f7f=_0x35432b,{connection:_0x3c8811}=this[_0x526f7f(0x146)][_0x526f7f(0x12d)][_0x526f7f(0xca)](_0x3e8eea);RealTimeCollaborationClient[_0x526f7f(0x19f)][_0x526f7f(0x103)](_0x3c8811,this[_0x526f7f(0x139)])[_0x526f7f(0xf0)](_0x25aea1=>this[_0x526f7f(0x1a4)](_0x25aea1))[_0x526f7f(0x119)](_0x35c8ba=>{const _0x2e13ae=_0x526f7f;this[_0x2e13ae(0x101)](_0x2e13ae(0xdf),_0x35c8ba);}),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x1b9),this[_0x526f7f(0xd5)][_0x526f7f(0x149)](this)),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x13a),(_0x3ae0fc,_0x546c5c)=>{const _0x4d71ea=_0x526f7f;this[_0x4d71ea(0x101)](_0x4d71ea(0x15e),_0x546c5c);}),this[_0x526f7f(0x144)](this[_0x526f7f(0xec)],_0x526f7f(0x175),()=>{const _0x25f1c3=_0x526f7f;this[_0x25f1c3(0x121)]=!0x1;});const _0x23e9a1=this[_0x526f7f(0x13b)][_0x526f7f(0x1a6)](_0x241c65);this[_0x526f7f(0x10c)]=!0x0;const _0x1d763e=await this[_0x526f7f(0xec)][_0x526f7f(0x1c7)](_0x3c8811,this[_0x526f7f(0x152)](_0x241c65),_0x23e9a1);if(this[_0x526f7f(0x1b0)]=_0x1d763e[_0x526f7f(0x1b0)],_0x2e1d96){if(!_0x1d763e[_0x526f7f(0x141)])return void this[_0x526f7f(0xcd)]();this[_0x526f7f(0x10c)]=!0x1,this[_0x526f7f(0xdc)](),this[_0x526f7f(0x134)][_0x526f7f(0xfd)](),this[_0x526f7f(0x19e)]=_0x1d763e[_0x526f7f(0xf1)],this[_0x526f7f(0x134)][_0x526f7f(0x14a)]=this[_0x526f7f(0x19e)],await this[_0x526f7f(0xdd)](_0x241c65,_0x1d763e,_0x526f7f(0xd2));}else await this[_0x526f7f(0x138)](_0x1d763e,_0x241c65);this[_0x526f7f(0xfb)](),this[_0x526f7f(0x121)]=!0x0;}[_0x35432b(0xfb)](){const _0x4e19fe=_0x35432b,_0x280779=this[_0x4e19fe(0x146)][_0x4e19fe(0x12d)][_0x4e19fe(0xca)](_0x49072b),_0x40a569=this[_0x4e19fe(0x146)][_0x4e19fe(0x12d)][_0x4e19fe(0xca)](_0x58ab1f),_0x1e49f3=_0x280779[_0x4e19fe(0x174)][_0x4e19fe(0xca)](this[_0x4e19fe(0x139)]);_0x1e49f3&&_0x1e49f3[_0x4e19fe(0x1af)]>0x1?_0x40a569[_0x4e19fe(0x123)]():this[_0x4e19fe(0x144)](_0x280779,_0x4e19fe(0x14f)+this[_0x4e19fe(0x139)],()=>{const _0x46415b=_0x4e19fe;0x2===_0x280779[_0x46415b(0x174)][_0x46415b(0xca)](this[_0x46415b(0x139)])[_0x46415b(0x1af)]&&_0x40a569[_0x46415b(0x123)]();});}async[_0x35432b(0xd5)](_0x3a4e42,_0x5ae5b8,_0xd2bfb7,_0x19fa1e){const _0x4fc476=_0x35432b;if(!this[_0x4fc476(0x10c)]&&this[_0x4fc476(0x150)][_0x4fc476(0x14a)]==_0x5ae5b8){const _0x22da81=this[_0x4fc476(0x137)](_0xd2bfb7,_0x19fa1e);await this[_0x4fc476(0x109)](_0x22da81),this[_0x4fc476(0x16b)](_0x22da81,_0x5ae5b8,_0xd2bfb7[_0x4fc476(0x14b)])||this[_0x4fc476(0x101)](_0x4fc476(0x116));}}async[_0x35432b(0x192)](){const _0x33b712=_0x35432b;this[_0x33b712(0x17b)]();const {locale:_0x10b88b}=this[_0x33b712(0x146)];let _0x84ee40;try{_0x84ee40=await this[_0x33b712(0xec)][_0x33b712(0xe9)]();}catch{const _0x4974d1=_0x4c7266(_0x10b88b,_0x33b712(0x15d));return void this[_0x33b712(0xcd)](_0x4974d1);}const _0x1b67b5=_0x84ee40[_0x33b712(0x145)]||_0x84ee40[_0x33b712(0x108)];if(this[_0x33b712(0x1ae)]!==_0x1b67b5[_0x33b712(0x14b)]){const _0x52824f=_0x4c7266(_0x10b88b,_0x33b712(0x159));return void this[_0x33b712(0xcd)](_0x52824f);}await this[_0x33b712(0x179)](this[_0x33b712(0x146)][_0x33b712(0xf2)][_0x33b712(0x180)][_0x33b712(0xe2)][_0x33b712(0x1ba)](),!0x0);}[_0x35432b(0x17b)](){const _0x963b46=_0x35432b;this[_0x963b46(0xec)][_0x963b46(0x16e)](),this[_0x963b46(0x1a3)]=[],clearTimeout(this[_0x963b46(0x185)]),this[_0x963b46(0x1ad)](this[_0x963b46(0xec)]);}[_0x35432b(0x1a4)](_0x57588b){const _0x30906b=_0x35432b,_0x2be26c=this[_0x30906b(0x146)][_0x30906b(0x12d)][_0x30906b(0xca)](_0x49072b);this[_0x30906b(0x144)](_0x2be26c,_0x30906b(0x14f)+this[_0x30906b(0x139)],(_0x656dfc,{session:_0xd88fd7})=>{const _0x430ad8=_0x30906b;if(_0xd88fd7['id']===_0x2be26c[_0x430ad8(0x104)]){_0x656dfc[_0x430ad8(0xf9)]();const _0x5b4448=this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0x157)](_0x430ad8(0x158))&&this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0xca)](_0x430ad8(0x158));let _0xbfc042=_0xd88fd7[_0x430ad8(0x14c)];_0x5b4448&&_0x5b4448[_0x430ad8(0x112)]&&(_0xbfc042=_0xbfc042[_0x430ad8(0x15c)](_0x144c9a=>_0x430ad8(0xee)!==_0x144c9a)),this[_0x430ad8(0x146)][_0x430ad8(0x12d)][_0x430ad8(0xca)](_0x430ad8(0x13c))[_0x430ad8(0x1a8)](_0xbfc042,this[_0x430ad8(0x139)]);}}),_0x2be26c[_0x30906b(0x193)](this[_0x30906b(0x139)],_0x57588b);}[_0x35432b(0x136)](){const _0x41d237=_0x35432b,_0x414198=this[_0x41d237(0x146)][_0x41d237(0x18a)][_0x41d237(0xd3)];this[_0x41d237(0x146)][_0x41d237(0x18a)][_0x41d237(0xd3)]=(..._0x271d7c)=>{const _0x31fc0d=_0x41d237;if(!_0x271d7c[_0x271d7c[_0x31fc0d(0x1af)]-0x1][_0x31fc0d(0x127)])throw new _0x8d2547(_0x31fc0d(0x120),this);_0x414198[_0x31fc0d(0x1c3)](this[_0x31fc0d(0x146)][_0x31fc0d(0x18a)],_0x271d7c);};}[_0x35432b(0x1be)](){const _0x1553a5=_0x35432b;this[_0x1553a5(0x146)][_0x1553a5(0x18a)]['on'](_0x1553a5(0x107),(_0x4c8cf5,[_0x4101bc])=>{const _0xb961b5=_0x1553a5;if(this[_0xb961b5(0x150)][_0xb961b5(0x14a)])throw new _0x8d2547(_0xb961b5(0x170),this);_0x4c8cf5[_0xb961b5(0xd4)](),this[_0xb961b5(0x1c6)]();const _0x2d4c2f=this[_0xb961b5(0x146)][_0xb961b5(0x131)][_0xb961b5(0xca)](_0xb961b5(0x17d)),_0x49a0c8=this[_0xb961b5(0x16c)](_0x4101bc,_0x2d4c2f);0x0==_0x49a0c8[_0xb961b5(0x1af)]&&_0x49a0c8[_0xb961b5(0x160)](new _0x261110(0x0)),_0x4c8cf5[_0xb961b5(0x172)]=this[_0xb961b5(0x179)](_0x49a0c8)[_0xb961b5(0xf0)](()=>{const _0x1f340f=_0xb961b5;this[_0x1f340f(0x146)][_0x1f340f(0x12d)][_0x1f340f(0xca)](_0x3e8eea)[_0x1f340f(0x16d)](this),this[_0x1f340f(0x146)][_0x1f340f(0x18a)][_0x1f340f(0x17a)](_0x1f340f(0xc6));})[_0xb961b5(0x119)](_0xdba9d6=>this[_0xb961b5(0x101)](_0xb961b5(0x1c0),_0xdba9d6))[_0xb961b5(0x1bf)](()=>this[_0xb961b5(0xdc)]());},{'priority':_0x1553a5(0x1b5)}),this[_0x1553a5(0x146)]['on'](_0x1553a5(0x11b),async(_0x1a36d1,[_0x5d2022,_0x1550ca])=>{const _0x5a0099=_0x1553a5;_0x1a36d1[_0x5a0099(0xd4)]();const _0x384415=this[_0x5a0099(0x146)][_0x5a0099(0xf2)][_0x5a0099(0x180)][_0x5a0099(0x19c)](_0x5d2022);if(!this[_0x5a0099(0x128)][_0x5a0099(0x157)](_0x5d2022)){const _0x23349b=_0x1550ca&&_0x1550ca[_0x5a0099(0x18a)]?_0x1550ca[_0x5a0099(0x18a)]:'',_0x349fdb=_0x1550ca&&_0x1550ca[_0x5a0099(0x10b)]?_0x1550ca[_0x5a0099(0x10b)]:{};await this[_0x5a0099(0x12f)](_0x5d2022,_0x23349b,_0x349fdb);}this[_0x5a0099(0x146)][_0x5a0099(0xf2)][_0x5a0099(0x13d)]({'isUndoable':!0x1},()=>{const _0x5af431=_0x5a0099;_0x384415[_0x5af431(0x130)]=!0x0,this[_0x5af431(0x146)][_0x5af431(0xf2)][_0x5af431(0x180)][_0x5af431(0xf8)][_0x5af431(0xc5)](_0x384415);});},{'priority':_0x1553a5(0x1b5)});}async[_0x35432b(0x109)](_0x5b9e10){const _0x12fd3b=_0x35432b,_0x1f4734=this[_0x12fd3b(0x146)][_0x12fd3b(0x12d)][_0x12fd3b(0xca)](_0x2b9cb9),{connection:_0x55c7d5}=this[_0x12fd3b(0x146)][_0x12fd3b(0x12d)][_0x12fd3b(0xca)](_0x3e8eea),_0x530aa7=new Set();for(const _0x2ff385 of _0x5b9e10){const _0x3655b2=_0x2ff385[_0x12fd3b(0x1a5)];_0x3655b2&&!_0x1f4734[_0x12fd3b(0xd8)](_0x3655b2)&&_0x530aa7[_0x12fd3b(0xd9)](_0x3655b2);}if(0x0===_0x530aa7[_0x12fd3b(0xf4)])return;const _0x44eacc=await _0x24f185[_0x12fd3b(0x1c1)](_0x55c7d5,Array[_0x12fd3b(0x13f)](_0x530aa7));for(const _0x1ff660 of _0x44eacc)_0x1f4734[_0x12fd3b(0xd8)](_0x1ff660['id'])||_0x1f4734[_0x12fd3b(0x186)](_0x1ff660);}[_0x35432b(0x16c)](_0x42a319,_0x14c3b6={}){const _0x1aa656=_0x35432b,_0x4f96cc=this[_0x1aa656(0x146)][_0x1aa656(0xf2)],_0x117b66=[];let _0x360ad3=0x0;const _0x49d8a4=_0x1aa656(0x125)==typeof _0x42a319?{'main':_0x42a319}:_0x42a319;for(const _0x1caf22 of Object[_0x1aa656(0x1ab)](_0x49d8a4)){if(!this[_0x1aa656(0x150)][_0x1aa656(0x124)][_0x1aa656(0x157)](_0x1caf22))throw new _0x8d2547(_0x1aa656(0x18f),this);const _0x2bdbe7=this[_0x1aa656(0x146)][_0x1aa656(0x18a)][_0x1aa656(0x148)](_0x49d8a4[_0x1caf22]),_0x576785=this[_0x1aa656(0x150)][_0x1aa656(0x19c)](_0x1caf22),_0xbedd38=new _0x1c5d40(_0x4f96cc[_0x1aa656(0xef)](_0x576785,0x0),_0x2bdbe7,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0xbedd38);for(const [_0x36151e,_0x1f5c5e]of _0x2bdbe7[_0x1aa656(0x1b3)]){const _0x5c7329=_0x4f96cc[_0x1aa656(0x182)](_0x4f96cc[_0x1aa656(0x18e)](_0x576785,_0x1f5c5e[_0x1aa656(0x18c)][_0x1aa656(0x13e)][_0x1aa656(0x147)]()),_0x4f96cc[_0x1aa656(0x18e)](_0x576785,_0x1f5c5e[_0x1aa656(0xfe)][_0x1aa656(0x13e)][_0x1aa656(0x147)]())),_0x3d77e3=new _0x195287(_0x36151e,null,_0x5c7329,_0x4f96cc[_0x1aa656(0x1b3)],!0x0,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0x3d77e3);}}if(_0x14c3b6)for(const [_0x634578,_0x1a16a3]of Object[_0x1aa656(0x122)](_0x14c3b6)){const _0x36bf90=_0x4f96cc[_0x1aa656(0x180)][_0x1aa656(0x19c)](_0x634578);if(!_0x36bf90)throw new _0x8d2547(_0x1aa656(0x12e),null);for(const [_0x4269af,_0x15483c]of Object[_0x1aa656(0x122)](_0x1a16a3))if(null!==_0x15483c){const _0x326b78=new _0x46e98a(_0x36bf90,_0x4269af,null,_0x15483c,_0x360ad3++);_0x117b66[_0x1aa656(0x160)](_0x326b78);}}return _0x117b66;}async[_0x35432b(0x12f)](_0x586ab7,_0x16aa30,_0x2d8266){const _0x15d061=_0x35432b;this[_0x15d061(0x16c)]({[_0x586ab7]:_0x16aa30},{[_0x586ab7]:_0x2d8266})[_0x15d061(0x1a0)]((_0x306f91,_0x2ad94f)=>{const _0x147ebb=_0x15d061;_0x306f91[_0x147ebb(0x129)]=this[_0x147ebb(0x150)][_0x147ebb(0x14a)]+_0x2ad94f,_0x306f91[_0x147ebb(0xe8)]=!0x0,this[_0x147ebb(0x16a)](_0x306f91);}),this[_0x15d061(0x1a9)](),await this[_0x15d061(0x18d)]();}async[_0x35432b(0x138)](_0x4fe6c6,_0x1aaee7){const _0x267f75=_0x35432b;let _0x5aa0a8;this[_0x267f75(0x19e)]=_0x4fe6c6[_0x267f75(0xf1)];const _0x5c9fc9=_0x4fe6c6[_0x267f75(0x141)]&&!_0x4fe6c6[_0x267f75(0x143)],_0x22bfc3=_0x5c9fc9?0x0:_0x4fe6c6[_0x267f75(0x18a)][_0x267f75(0x129)];if(_0x1aaee7[_0x267f75(0x1a0)](_0x1bd12c=>{const _0xbeddd1=_0x267f75;_0x1bd12c[_0xbeddd1(0xe8)]=!0x0,_0x1bd12c[_0xbeddd1(0x15b)]=_0x4fe6c6[_0xbeddd1(0x140)],_0x1bd12c[_0xbeddd1(0x1a5)]=null;}),_0x5c9fc9)_0x5aa0a8=_0x1aaee7,this[_0x267f75(0x153)](_0x5aa0a8,_0x5c9fc9);else{if(_0x4fe6c6[_0x267f75(0x143)]){const _0x58f253=this[_0x267f75(0x16c)](_0x4fe6c6[_0x267f75(0x143)]);this[_0x267f75(0x150)][_0x267f75(0xe2)][_0x267f75(0x14a)]=-_0x58f253[_0x267f75(0x1af)],_0x58f253[_0x267f75(0x1a0)](_0x39fae5=>{const _0x65337b=_0x267f75;_0x39fae5[_0x65337b(0x129)]-=_0x58f253[_0x65337b(0x1af)],_0x39fae5[_0x65337b(0x15b)]=_0x4fe6c6[_0x65337b(0x140)],_0x39fae5[_0x65337b(0xe8)]=!0x0,_0x39fae5[_0x65337b(0x1a5)]=null;}),this[_0x267f75(0x153)](_0x58f253,!0x0),this[_0x267f75(0x134)][_0x267f75(0x14a)]=-_0x58f253[_0x267f75(0x1af)]+this[_0x267f75(0x19e)],this[_0x267f75(0x189)](_0x58f253);}this[_0x267f75(0x150)][_0x267f75(0xe2)][_0x267f75(0x14a)]=_0x22bfc3,_0x5aa0a8=this[_0x267f75(0x137)](_0x4fe6c6[_0x267f75(0x18a)],_0x4fe6c6[_0x267f75(0x162)]),await this[_0x267f75(0x109)](_0x5aa0a8),this[_0x267f75(0x153)](_0x5aa0a8,_0x5c9fc9);}_0x4fe6c6[_0x267f75(0x14b)]&&(this[_0x267f75(0x13b)][_0x267f75(0xd7)](_0x5aa0a8,_0x4fe6c6[_0x267f75(0x14b)]),this[_0x267f75(0x1ae)]=_0x4fe6c6[_0x267f75(0x14b)]),this[_0x267f75(0x134)][_0x267f75(0x14a)]=_0x22bfc3+this[_0x267f75(0x19e)],this[_0x267f75(0x189)](_0x5aa0a8),_0x1aaee7[_0x267f75(0x15c)](_0x52fd7c=>{const _0x2595b6=_0x267f75,_0x58750e=this[_0x2595b6(0x1ac)](_0x52fd7c);return _0x58750e&&!this[_0x2595b6(0x128)][_0x2595b6(0x157)](_0x58750e);})[_0x267f75(0x1a0)]((_0x5eceb1,_0x43fa32)=>{const _0x13a9e5=_0x267f75;_0x5eceb1[_0x13a9e5(0x129)]=this[_0x13a9e5(0x150)][_0x13a9e5(0x14a)]+_0x43fa32,this[_0x13a9e5(0x16a)](_0x5eceb1);}),this[_0x267f75(0xdb)]()?(this[_0x267f75(0x178)]=0x0,this[_0x267f75(0x1a9)](!0x0),await this[_0x267f75(0x18d)]()):(this[_0x267f75(0x10c)]=!0x1,this[_0x267f75(0xdc)]());}[_0x35432b(0x101)](_0x3fc90a,_0x56a292){const _0x5c5d1b=_0x35432b,_0x3c16a1=_0x56a292&&_0x56a292[_0x5c5d1b(0xf6)];if(_0x3c16a1&&_0x3c16a1[_0x5c5d1b(0x12b)](_0x5c5d1b(0xcb)))throw _0x56a292;const _0x24d36a=this[_0x5c5d1b(0x146)][_0x5c5d1b(0x12d)][_0x5c5d1b(0xca)](_0x3e8eea);throw this[_0x5c5d1b(0x10c)]=!0x0,_0x24d36a[_0x5c5d1b(0x16e)](),this[_0x5c5d1b(0x146)][_0x5c5d1b(0x10f)](_0x5c5d1b(0x16f)),new _0x8d2547(_0x3fc90a,this[_0x5c5d1b(0x146)],_0x3c16a1?{'originalError':_0x3c16a1}:void 0x0);}[_0x35432b(0x16a)](_0xb92079){const _0x2db916=_0x35432b;this[_0x2db916(0x17f)][_0x2db916(0x157)](_0xb92079)||(this[_0x2db916(0x17f)][_0x2db916(0xd9)](_0xb92079),this[_0x2db916(0x1a3)][_0x2db916(0x160)](_0xb92079),this[_0x2db916(0x173)]||_0x2db916(0xe6)==_0xb92079[_0x2db916(0x171)]&&!_0xb92079[_0x2db916(0xda)]||this[_0x2db916(0x1c6)]());}[_0x35432b(0x1a9)](_0x5af70f=!0x1){const _0x4414b9=_0x35432b;!_0x5af70f&&this[_0x4414b9(0x10c)]||(this[_0x4414b9(0x10c)]=!0x0,clearTimeout(this[_0x4414b9(0x185)]),this[_0x4414b9(0x185)]=setTimeout(()=>{const _0x2b6605=_0x4414b9;this[_0x2b6605(0x17c)]()[_0x2b6605(0xf0)](_0x406bac=>{const _0x545a91=_0x2b6605;_0x406bac&&(this[_0x545a91(0xdc)](),this[_0x545a91(0x10c)]=!0x1);})[_0x2b6605(0x119)](_0x3379cd=>{const _0x412160=_0x2b6605;this[_0x412160(0xdc)](),this[_0x412160(0x10c)]=!0x1,function(_0xc924db){const _0x190b75=_0x412160;return _0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x113))||_0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x161))||_0xc924db[_0x190b75(0xf6)][_0x190b75(0x12b)](_0x190b75(0x1b8));}(_0x3379cd)||this[_0x412160(0x101)](_0x3379cd[_0x412160(0xf6)],_0x3379cd);});},this[_0x4414b9(0x178)]));}[_0x35432b(0x18d)](){return new Promise(_0x57729a=>{const _0x47108b=_0x40df;this['on'](_0x47108b(0x1b4),()=>{_0x57729a();});});}async[_0x35432b(0x17c)](){const _0x2f393c=_0x35432b,_0x4b0495=this[_0x2f393c(0x146)][_0x2f393c(0x12d)][_0x2f393c(0xca)](_0x58ab1f);if(this[_0x2f393c(0x165)]()&&(_0x4b0495[_0x2f393c(0x123)](),this[_0x2f393c(0x184)]=!0x1),!this[_0x2f393c(0xdb)]())return!0x0;const _0x21708b=[...this[_0x2f393c(0x1a3)]];for(const _0x148037 of _0x21708b)_0x148037[_0x2f393c(0xed)]=this[_0x2f393c(0x150)][_0x2f393c(0xe2)][_0x2f393c(0x118)](_0x148037);const _0x3bbedf=this[_0x2f393c(0x13b)][_0x2f393c(0x1a6)](_0x21708b),_0x14ffcf=G++,_0x13769c=this[_0x2f393c(0x152)](_0x21708b),_0x7a9311=await this[_0x2f393c(0xec)][_0x2f393c(0x191)](_0x13769c,_0x13769c[_0x2f393c(0x129)],_0x3bbedf);try{return await this[_0x2f393c(0xdd)](_0x21708b,_0x7a9311,_0x14ffcf);}catch(_0x1b9761){return this[_0x2f393c(0x101)](_0x2f393c(0x114),_0x1b9761);}}async[_0x35432b(0xdd)](_0x31d65d,_0x13b21c,_0x417f63){const _0xc26efc=_0x35432b;if(_0xc26efc(0x13a)in _0x13b21c)throw _0x13b21c[_0xc26efc(0x13a)];let _0x6521d6=!0x1;if(_0x13b21c[_0xc26efc(0x141)]){_0x13b21c[_0xc26efc(0x14b)]&&(this[_0xc26efc(0x1ae)]=_0x13b21c[_0xc26efc(0x14b)]),this[_0xc26efc(0x1a3)]=this[_0xc26efc(0x1a3)][_0xc26efc(0x15c)](_0x4c90e8=>!_0x31d65d[_0xc26efc(0x1bc)](_0x4c90e8));for(const _0x3980ee of _0x31d65d)_0x3980ee[_0xc26efc(0x15b)]=_0xc26efc(0xf5)in _0x13b21c&&_0x13b21c[_0xc26efc(0xf5)]||void 0x0;K(_0x31d65d,_0x13b21c[_0xc26efc(0x14a)]-_0x31d65d[_0xc26efc(0x1af)]),this[_0xc26efc(0x189)](_0x31d65d);const _0x406f3a=_0x31d65d[_0xc26efc(0x15c)](_0x5dbd2b=>{const _0x426f99=_0xc26efc;if(!_0x5dbd2b[_0x426f99(0xe8)])return!0x1;const _0xba347e=this[_0x426f99(0x1ac)](_0x5dbd2b);return _0xba347e&&!this[_0x426f99(0x128)][_0x426f99(0x157)](_0xba347e);});K(_0x406f3a,this[_0xc26efc(0x150)][_0xc26efc(0x14a)]),this[_0xc26efc(0x153)](_0x406f3a),_0x6521d6=!0x0,this[_0xc26efc(0x178)]=this[_0xc26efc(0xc3)];}else{const _0x38b2b7=this[_0xc26efc(0x137)](_0x13b21c[_0xc26efc(0x18a)],_0x13b21c[_0xc26efc(0x162)])[_0xc26efc(0x15c)](_0x114d01=>_0x114d01[_0xc26efc(0x129)]>=this[_0xc26efc(0x1c5)]);_0x38b2b7[_0xc26efc(0x1a0)](_0x124bf3=>this[_0xc26efc(0x133)](_0x124bf3)),this[_0xc26efc(0x1a3)]=this[_0xc26efc(0x1a3)][_0xc26efc(0x15c)](_0x3eeb1d=>!_0x3eeb1d[_0xc26efc(0xe8)]||!this[_0xc26efc(0x128)][_0xc26efc(0x157)](this[_0xc26efc(0x1ac)](_0x3eeb1d))),this[_0xc26efc(0x1a3)][_0xc26efc(0x1af)]&&K(this[_0xc26efc(0x1a3)],this[_0xc26efc(0x1a3)][0x0][_0xc26efc(0x129)]),await this[_0xc26efc(0x109)](_0x38b2b7),_0x6521d6=this[_0xc26efc(0x16b)](_0x38b2b7,_0x13b21c[_0xc26efc(0x14a)],_0x13b21c[_0xc26efc(0x14b)]),this[_0xc26efc(0x178)]=Math[_0xc26efc(0x176)](this[_0xc26efc(0x178)]/0x2);}return _0x6521d6?!this[_0xc26efc(0xdb)]()||(this[_0xc26efc(0x1a9)](!0x0),!0x1):this[_0xc26efc(0x101)](_0xc26efc(0xc7));}[_0x35432b(0x16b)](_0xd695be,_0x22f961,_0x58e44a){const _0x499e00=_0x35432b;try{const _0x5f10ba={'document':this[_0x499e00(0x150)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x441330,operationsB:_0x48f236,originalOperations:_0x230ee3}=_0x25eca8(_0xd695be,this[_0x499e00(0x1a3)],_0x5f10ba);K(_0x441330,this[_0x499e00(0x150)][_0x499e00(0x14a)]),K(_0x48f236,_0x22f961);for(const _0x142ef9 of _0x441330){const _0x200300=_0x230ee3[_0x499e00(0xca)](_0x142ef9);_0x142ef9[_0x499e00(0x1a5)]=_0x200300?_0x200300[_0x499e00(0x1a5)]:null;}_0x58e44a&&(this[_0x499e00(0x13b)][_0x499e00(0xd7)](_0xd695be,_0x58e44a),this[_0x499e00(0x1ae)]=_0x58e44a),this[_0x499e00(0x1a3)]=[..._0x48f236],this[_0x499e00(0x153)](_0x441330),this[_0x499e00(0x189)](_0xd695be);}catch(_0x3acb12){return console[_0x499e00(0x13a)](_0x3acb12),!0x1;}return!0x0;}[_0x35432b(0x153)](_0x3c7ae,_0x46287b=!0x1){const _0x2dd7a4=_0x35432b;this[_0x2dd7a4(0x146)][_0x2dd7a4(0xf2)][_0x2dd7a4(0x13d)]({'isUndoable':!0x1,'isLocal':!0x1},_0x565c6d=>{const _0x20fa46=_0x2dd7a4;for(const _0x3963f4 of _0x3c7ae)this[_0x20fa46(0x17f)][_0x20fa46(0xd9)](_0x3963f4),this[_0x20fa46(0x133)](_0x3963f4),_0x565c6d[_0x20fa46(0x163)][_0x20fa46(0xe7)](_0x3963f4),this[_0x20fa46(0x146)][_0x20fa46(0xf2)][_0x20fa46(0xf7)](_0x3963f4);});}[_0x35432b(0x133)](_0x25aabf){const _0x2e7c78=_0x35432b,_0x160d8d=this[_0x2e7c78(0x1ac)](_0x25aabf);_0x160d8d&&this[_0x2e7c78(0x128)][_0x2e7c78(0xd9)](_0x160d8d);}[_0x35432b(0x1ac)](_0x5afeb9){const _0x1bab51=_0x35432b;let _0x9585e0,_0x5a9810;switch(_0x5afeb9[_0x1bab51(0x171)]){case _0x1bab51(0x12a):_0x9585e0=_0x5afeb9[_0x1bab51(0x110)][_0x1bab51(0xd0)];break;case _0x1bab51(0xe6):if(_0x5a9810=_0x5afeb9[_0x1bab51(0x11c)],!_0x5a9810)return null;_0x9585e0=_0x5a9810[_0x1bab51(0xd0)];break;case _0x1bab51(0x169):_0x9585e0=_0x5afeb9[_0x1bab51(0xd0)];break;case _0x1bab51(0x155):_0x9585e0=_0x5afeb9[_0x1bab51(0x187)];break;case _0x1bab51(0x11d):_0x9585e0=_0x5afeb9[_0x1bab51(0x142)][_0x1bab51(0xd0)];break;default:return null;}return _0x9585e0[_0x1bab51(0x19b)];}[_0x35432b(0x189)](_0x5a9d93){const _0x4c3697=_0x35432b;_0x5a9d93[_0x4c3697(0x1a0)](_0x52e1a2=>{const _0xee49e2=_0x4c3697,_0x2d69df=_0x52e1a2[_0xee49e2(0x154)]();_0x2d69df[_0xee49e2(0x1a5)]=_0x52e1a2[_0xee49e2(0x1a5)],_0x2d69df[_0xee49e2(0xe8)]=!!_0x52e1a2[_0xee49e2(0xe8)],_0x2d69df[_0xee49e2(0x15b)]=_0x52e1a2[_0xee49e2(0x15b)],_0x2d69df[_0xee49e2(0x129)]+=this[_0xee49e2(0x19e)],_0x52e1a2[_0xee49e2(0x199)]&&this[_0xee49e2(0x1b2)][_0xee49e2(0xd9)](_0x2d69df),this[_0xee49e2(0x134)][_0xee49e2(0xe7)](_0x2d69df);});}[_0x35432b(0xcd)](_0x592737){const _0x2bd0dc=_0x35432b,_0x321441=this[_0x2bd0dc(0x146)][_0x2bd0dc(0x12d)][_0x2bd0dc(0xca)](_0x2bd0dc(0x12c)),_0x40f0e8=this[_0x2bd0dc(0x146)][_0x2bd0dc(0xd6)];_0x592737||(_0x592737=_0x4c7266(_0x40f0e8,_0x2bd0dc(0xc4))),_0x321441[_0x2bd0dc(0x167)](_0x592737,{'title':_0x4c7266(_0x40f0e8,_0x2bd0dc(0xe0)),'namespace':_0x2bd0dc(0xe3)}),this[_0x2bd0dc(0x18b)]=!0x0,clearTimeout(this[_0x2bd0dc(0x185)]),this[_0x2bd0dc(0x1a3)]=[],this[_0x2bd0dc(0x146)][_0x2bd0dc(0x12d)][_0x2bd0dc(0xca)](_0x3e8eea)[_0x2bd0dc(0x16e)]();}[_0x35432b(0x1c6)](){const _0x2fc93f=_0x35432b;this[_0x2fc93f(0x173)]||(this[_0x2fc93f(0x173)]=this[_0x2fc93f(0x146)][_0x2fc93f(0x12d)][_0x2fc93f(0xca)](_0x2e9a93)[_0x2fc93f(0xd9)](_0x4c7266(this[_0x2fc93f(0x146)][_0x2fc93f(0xd6)],_0x2fc93f(0x164))));}[_0x35432b(0xdc)](){const _0x3296a6=_0x35432b;this[_0x3296a6(0x173)]&&(this[_0x3296a6(0x146)][_0x3296a6(0x12d)][_0x3296a6(0xca)](_0x2e9a93)[_0x3296a6(0x14d)](this[_0x3296a6(0x173)]),this[_0x3296a6(0x173)]=null);}[_0x35432b(0x152)](_0x2d1eaa){const _0x12f9d0=_0x35432b,_0x369c24=_0x2d1eaa[_0x12f9d0(0x1a2)](_0xf2c9d8=>_0xf2c9d8[_0x12f9d0(0x198)]());return this[_0x12f9d0(0x1b6)][_0x12f9d0(0x106)](_0x369c24);}[_0x35432b(0x137)](_0x3f1279,_0x56d43f){const _0x15657f=_0x35432b;return this[_0x15657f(0x1b6)][_0x15657f(0x168)](_0x3f1279)[_0x15657f(0x1a2)]((_0x3ed847,_0x5a0857)=>{const _0x130932=_0x15657f,_0x4bac5c=_0x130932(0x107)==_0x56d43f[_0x5a0857][_0x130932(0x171)];if(_0x130932(0x1c2)==_0x3ed847[_0x130932(0xc1)]){const _0x8649c7=_0x3ed847[_0x130932(0x110)][_0x130932(0xd0)];!this[_0x130932(0x150)][_0x130932(0x19c)](_0x8649c7)&&(this[_0x130932(0x150)][_0x130932(0x15a)](_0x130932(0x10d),_0x8649c7)[_0x130932(0xe1)]=!0x1);}const _0xddc270=_0x3dbd72[_0x130932(0x1c4)](_0x3ed847,this[_0x130932(0x150)]);return _0xddc270[_0x130932(0xed)]=_0x3ed847[_0x130932(0xed)],_0xddc270[_0x130932(0xe8)]=_0x4bac5c,_0xddc270[_0x130932(0x1a5)]=_0x4bac5c?null:_0x56d43f[_0x5a0857][_0x130932(0x115)],_0xddc270[_0x130932(0x199)]=_0x130932(0xde)===_0x56d43f[_0x5a0857][_0x130932(0x171)],_0xddc270[_0x130932(0x15b)]=_0x56d43f[_0x5a0857][_0x130932(0x15b)],_0xddc270;});}[_0x35432b(0x14e)](){const _0x13c22c=_0x35432b;this[_0x13c22c(0x184)]=!0x0,this[_0x13c22c(0x165)]()?this[_0x13c22c(0x1a9)]():this[_0x13c22c(0x184)]=!0x1;}[_0x35432b(0x165)](){const _0x469578=_0x35432b,_0x560bb2=this[_0x469578(0x146)][_0x469578(0x12d)][_0x469578(0xca)](_0x49072b)[_0x469578(0x174)][_0x469578(0xca)](this[_0x469578(0x139)]);return!this[_0x469578(0x146)][_0x469578(0x102)]&&!!_0x560bb2&&_0x560bb2[_0x469578(0x1af)]>0x1&&this[_0x469578(0x184)];}[_0x35432b(0xdb)](){const _0x3a9147=_0x35432b;return this[_0x3a9147(0x1a3)][_0x3a9147(0x1af)]>0x0||this[_0x3a9147(0x165)]();}}class $ extends Error{}function K(_0x4220af,_0x221e85){const _0x18421d=_0x35432b;for(const _0x3f3df7 of _0x4220af)_0x3f3df7[_0x18421d(0x129)]=_0x221e85++;}class J{[_0x35432b(0xeb)];[_0x35432b(0x1b1)];constructor(_0x88cb58){const _0x3154e1=_0x35432b;this[_0x3154e1(0xeb)]=_0x88cb58,this[_0x3154e1(0x1b1)]=new WeakMap();}[_0x35432b(0x1a6)](_0x529bc6){const _0x28d33f=_0x35432b;let _0x44eb53=_0x529bc6[_0x28d33f(0x1af)];for(;_0x44eb53--;){const _0x5016f6=_0x529bc6[_0x44eb53];if(!this[_0x28d33f(0xeb)][_0x28d33f(0x157)](_0x5016f6)){if(!this[_0x28d33f(0x1b1)][_0x28d33f(0x157)](_0x5016f6)){const _0xe03aa9=_0x2ffcae()[_0x28d33f(0x147)](0x1,0x12);this[_0x28d33f(0x1b1)][_0x28d33f(0xd3)](_0x5016f6,_0xe03aa9);}return this[_0x28d33f(0x1b1)][_0x28d33f(0xca)](_0x5016f6);}}}[_0x35432b(0xd7)](_0x1c0b9d,_0x209a70){const _0x10633d=_0x35432b;if(!_0x209a70)return;let _0x5df41c=_0x1c0b9d[_0x10633d(0x1af)];for(;_0x5df41c--;){const _0x489770=_0x1c0b9d[_0x5df41c];this[_0x10633d(0xeb)][_0x10633d(0x157)](_0x489770)||this[_0x10633d(0x1b1)][_0x10633d(0xd3)](_0x489770,_0x209a70);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23a124=_0x4df8;function _0x4df8(_0x35a051,_0x11364){const _0x30dda8=_0x30dd();return _0x4df8=function(_0x4df84c,_0x17a1f6){_0x4df84c=_0x4df84c-0xe1;let _0x2d32b9=_0x30dda8[_0x4df84c];return _0x2d32b9;},_0x4df8(_0x35a051,_0x11364);}(function(_0x19c52a,_0x372a10){const _0x26e373=_0x4df8,_0x2c50c2=_0x19c52a();while(!![]){try{const _0xe3943a=-parseInt(_0x26e373(0xed))/0x1*(parseInt(_0x26e373(0xe6))/0x2)+parseInt(_0x26e373(0x102))/0x3*(parseInt(_0x26e373(0x11c))/0x4)+parseInt(_0x26e373(0xe3))/0x5+parseInt(_0x26e373(0x111))/0x6*(-parseInt(_0x26e373(0xfb))/0x7)+-parseInt(_0x26e373(0x10c))/0x8+-parseInt(_0x26e373(0xf9))/0x9*(-parseInt(_0x26e373(0xf3))/0xa)+-parseInt(_0x26e373(0xe8))/0xb*(parseInt(_0x26e373(0x110))/0xc);if(_0xe3943a===_0x372a10)break;else _0x2c50c2['push'](_0x2c50c2['shift']());}catch(_0x1992eb){_0x2c50c2['push'](_0x2c50c2['shift']());}}}(_0x30dd,0xbed74));import{ContextPlugin as _0x5c34fe}from'ckeditor5/src/core.js';import{Collection as _0x296a3b,CKEditorError as _0x49d0c1}from'ckeditor5/src/utils.js';function _0x30dd(){const _0x18ce63=['get','plugins','63gTUYWc','forEach','681555kPIQVI','addUser','remove','delete','clear','allConnectedUsers','context','135cBcJLv','orderNumber','requires','init','size','_handleSessionAdd','getUser','isMe','_uniqueUsersCount','_users','4141120EgFUrK','mySessionId','_handleSessionRemove','role','9035256fgKImA','24LNnRcA','getUserSessions','has','getUserBySessionId','sessionAdd:','_registeredSessions','assign','listenTo','pluginName','isOfficialPlugin','unregister','33148ZYWIsz','channelSessions','Sessions','add','register','sessions-unregister-not-exist','_createUser','sessions-register-already-registered','5840730dfeMFn','getUserRole','change:state','314akUgBa','sessionId','11AhEDks','state','connected','channelConnectedUsers','set','2903eeKuQG','user','values','isPremiumPlugin','fire','defineMe','1937760hIzKMP','stopListening','hiddenInPresenceList','connection'];_0x30dd=function(){return _0x18ce63;};return _0x30dd();}import{WebSocketGateway as _0x3e7ab7}from'./websocketgateway.js';import{Users as _0x2d8c4c}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x5c34fe{[_0x23a124(0x11d)];[_0x23a124(0xeb)];[_0x23a124(0x100)];[_0x23a124(0x116)];[_0x23a124(0x10a)];[_0x23a124(0x10b)];static get[_0x23a124(0x119)](){const _0x31f39e=_0x23a124;return _0x31f39e(0x11e);}static get[_0x23a124(0x11a)](){return!0x0;}static get[_0x23a124(0xf0)](){return!0x0;}static get[_0x23a124(0x104)](){return[_0x3e7ab7,_0x2d8c4c];}constructor(_0x44b341){const _0x57e68e=_0x23a124;super(_0x44b341),this[_0x57e68e(0x11d)]=new Map(),this[_0x57e68e(0xeb)]=new Map(),this[_0x57e68e(0x100)]=new _0x296a3b(),this[_0x57e68e(0x116)]=new Map(),this[_0x57e68e(0x10a)]=0x0,this[_0x57e68e(0x10b)]=this[_0x57e68e(0x101)][_0x57e68e(0xf8)][_0x57e68e(0xf7)](_0x2d8c4c);}[_0x23a124(0x105)](){const _0x3a223d=_0x23a124,_0x4e4dab=this[_0x3a223d(0x101)][_0x3a223d(0xf8)][_0x3a223d(0xf7)](_0x3e7ab7);this[_0x3a223d(0x118)](_0x4e4dab,_0x3a223d(0xe5),(_0x168e12,_0x165af5,_0x42d27d)=>{const _0x21cf8a=_0x3a223d;if(_0x21cf8a(0xea)!==_0x42d27d)this[_0x21cf8a(0x11d)][_0x21cf8a(0xfa)](_0x125b8c=>_0x125b8c[_0x21cf8a(0xff)]()),this[_0x21cf8a(0xeb)][_0x21cf8a(0xfa)](_0x35223d=>_0x35223d[_0x21cf8a(0xff)]()),this[_0x21cf8a(0x100)][_0x21cf8a(0xff)]();else{for(const [_0x52c8d8,_0x3c2696]of this[_0x21cf8a(0x116)])for(const _0x42633b of _0x3c2696)this[_0x21cf8a(0x107)](_0x52c8d8,_0x42633b);}}),this[_0x3a223d(0xe1)](_0x4e4dab[_0x3a223d(0xf6)]['me'],!0x0);}[_0x23a124(0x120)](_0x25106a,_0x445dc5){const _0xb080a4=_0x23a124;if(this[_0xb080a4(0x116)][_0xb080a4(0x113)](_0x25106a))throw new _0x49d0c1(_0xb080a4(0xe2),null,{'channelId':_0x25106a});this[_0xb080a4(0x116)][_0xb080a4(0xec)](_0x25106a,_0x445dc5),this[_0xb080a4(0x11d)][_0xb080a4(0xec)](_0x25106a,new _0x296a3b()),this[_0xb080a4(0xeb)][_0xb080a4(0xec)](_0x25106a,new _0x296a3b()),this[_0xb080a4(0x118)](_0x445dc5,_0xb080a4(0x11f),(_0x7b2061,_0x57e61f)=>this[_0xb080a4(0x107)](_0x25106a,_0x57e61f)),this[_0xb080a4(0x118)](_0x445dc5,_0xb080a4(0xfd),(_0x2ec06d,_0x26c2ad)=>this[_0xb080a4(0x10e)](_0x25106a,_0x26c2ad));for(const _0x2bfc42 of _0x445dc5)this[_0xb080a4(0x107)](_0x25106a,_0x2bfc42);}[_0x23a124(0x11b)](_0xa49413){const _0x16ac9c=_0x23a124;if(!this[_0x16ac9c(0x116)][_0x16ac9c(0x113)](_0xa49413))throw new _0x49d0c1(_0x16ac9c(0x121),null,{'channelId':_0xa49413});const _0x1e6ca6=this[_0x16ac9c(0x116)][_0x16ac9c(0xf7)](_0xa49413);this[_0x16ac9c(0xf4)](_0x1e6ca6);for(const _0x30daf9 of _0x1e6ca6)_0x16ac9c(0xea)===this[_0x16ac9c(0x101)][_0x16ac9c(0xf8)][_0x16ac9c(0xf7)](_0x3e7ab7)[_0x16ac9c(0xe9)]&&this[_0x16ac9c(0x10e)](_0xa49413,_0x30daf9);this[_0x16ac9c(0x116)][_0x16ac9c(0xfe)](_0xa49413),this[_0x16ac9c(0x11d)][_0x16ac9c(0xfe)](_0xa49413),this[_0x16ac9c(0xeb)][_0x16ac9c(0xfe)](_0xa49413);}get[_0x23a124(0x10d)](){const _0x13e652=_0x23a124;return this[_0x13e652(0x101)][_0x13e652(0xf8)][_0x13e652(0xf7)](_0x3e7ab7)[_0x13e652(0xf6)][_0x13e652(0xe7)];}[_0x23a124(0x114)](_0x148714){const _0x5daf53=_0x23a124;for(const _0x543ba6 of this[_0x5daf53(0x11d)][_0x5daf53(0xef)]())for(const _0x5121f4 of _0x543ba6)if(_0x5121f4['id']===_0x148714)return _0x5121f4[_0x5daf53(0xee)];}[_0x23a124(0x112)](_0x1934e0,_0x3fd731){const _0x861c89=_0x23a124,_0x16a7cb=_0x3fd731?[this[_0x861c89(0x11d)][_0x861c89(0xf7)](_0x3fd731)]:this[_0x861c89(0x11d)][_0x861c89(0xef)](),_0x7af0ad=new Set();for(const _0x33244b of _0x16a7cb)for(const _0x2cdd00 of _0x33244b)_0x2cdd00[_0x861c89(0xee)]['id']===_0x1934e0['id']&&_0x7af0ad[_0x861c89(0x11f)](_0x2cdd00['id']);return _0x7af0ad;}[_0x23a124(0xe4)](_0x2c5e95){const _0xa5fc22=_0x23a124;for(const _0x46d509 of this[_0xa5fc22(0x11d)][_0xa5fc22(0xef)]())for(const _0x40f5a4 of _0x46d509)if(_0x40f5a4[_0xa5fc22(0xee)]===_0x2c5e95)return _0x40f5a4[_0xa5fc22(0x10f)];}[_0x23a124(0x107)](_0x416843,_0x95c322){const _0x257704=_0x23a124;if(_0x257704(0xea)!==this[_0x257704(0x101)][_0x257704(0xf8)][_0x257704(0xf7)](_0x3e7ab7)[_0x257704(0xe9)])return;const _0x2f1204=_0x95c322[_0x257704(0xee)],_0x406b27=this[_0x257704(0x10b)][_0x257704(0x108)](_0x2f1204['id'])||this[_0x257704(0xe1)](_0x2f1204),_0x58f5e4=Object[_0x257704(0x117)]({},_0x95c322,{'user':_0x406b27});if(this[_0x257704(0x11d)][_0x257704(0xf7)](_0x416843)[_0x257704(0x11f)](_0x58f5e4),!_0x2f1204[_0x257704(0xf5)]){const _0xd2ae2c=this[_0x257704(0xeb)][_0x257704(0xf7)](_0x416843);_0xd2ae2c[_0x257704(0x113)](_0x406b27['id'])||_0xd2ae2c[_0x257704(0x11f)](_0x406b27),this[_0x257704(0x100)][_0x257704(0x113)](_0x406b27['id'])||_0x2f1204[_0x257704(0xf5)]||this[_0x257704(0x100)][_0x257704(0x11f)](_0x406b27,_0x406b27[_0x257704(0x109)]?0x0:void 0x0);}this[_0x257704(0xf1)](_0x257704(0x115)+_0x416843,{'channelId':_0x416843,'session':_0x58f5e4});}[_0x23a124(0x10e)](_0x12f74e,_0x2450b9){const _0x4a963c=_0x23a124;if(_0x4a963c(0xea)!==this[_0x4a963c(0x101)][_0x4a963c(0xf8)][_0x4a963c(0xf7)](_0x3e7ab7)[_0x4a963c(0xe9)])return;const _0x425cfb=this[_0x4a963c(0xeb)][_0x4a963c(0xf7)](_0x12f74e),_0x1fc9a4=_0x2450b9[_0x4a963c(0xee)];_0x1fc9a4['id']&&(this[_0x4a963c(0x11d)][_0x4a963c(0xf7)](_0x12f74e)[_0x4a963c(0xfd)](_0x2450b9['id']),_0x425cfb[_0x4a963c(0x113)](_0x1fc9a4['id'])&&!this[_0x4a963c(0x112)](_0x1fc9a4,_0x12f74e)[_0x4a963c(0x106)]&&_0x425cfb[_0x4a963c(0xfd)](_0x1fc9a4['id']),this[_0x4a963c(0x100)][_0x4a963c(0xf7)](_0x1fc9a4['id'])&&!this[_0x4a963c(0x112)](_0x1fc9a4)[_0x4a963c(0x106)]&&this[_0x4a963c(0x100)][_0x4a963c(0xfd)](_0x1fc9a4['id']));}[_0x23a124(0xe1)](_0x127bd0,_0x63e002){const _0x1666ee=_0x23a124,_0x466a63=this[_0x1666ee(0x10b)][_0x1666ee(0xfc)](_0x127bd0);return _0x63e002&&this[_0x1666ee(0x10b)][_0x1666ee(0xf2)](_0x127bd0['id']),_0x466a63[_0x1666ee(0x103)]=this[_0x1666ee(0x10a)]++,_0x466a63;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1e7cf5=_0x6f7f;(function(_0x32c436,_0xf5de86){const _0x364885=_0x6f7f,_0x1fd280=_0x32c436();while(!![]){try{const _0x1bf9e3=parseInt(_0x364885(0x148))/0x1*(-parseInt(_0x364885(0x178))/0x2)+parseInt(_0x364885(0x1ac))/0x3*(parseInt(_0x364885(0x165))/0x4)+-parseInt(_0x364885(0x1bc))/0x5*(parseInt(_0x364885(0x1b4))/0x6)+-parseInt(_0x364885(0x1a8))/0x7+-parseInt(_0x364885(0x1a7))/0x8+parseInt(_0x364885(0x145))/0x9*(parseInt(_0x364885(0x191))/0xa)+parseInt(_0x364885(0x1aa))/0xb;if(_0x1bf9e3===_0xf5de86)break;else _0x1fd280['push'](_0x1fd280['shift']());}catch(_0x1cab77){_0x1fd280['push'](_0x1fd280['shift']());}}}(_0xef81,0xc6932));function _0xef81(){const _0x42ce2a=['removeClass','user:position','name','57010vxZaWP','fromRange','getUserBySessionId','add','nodeAfter','data-session-id','user:','getSelectionClass','editing','mouseleave','outerHTML','getAttribute','addEventListener','updateMarker','reconvertMarker','hasDomSelection','isCollapsed','user:range','type','getFirstRange','clear','setAttribute','12043704cFFhIM','9220582tqAMvo','user:position:','49273169wByxli','afterInit','39eKMYwg','root','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','UserMarkers','isLimit','view','$graveyard','change:range','1308egpXyX','set','keydown','ck-user__marker\x20','markerNameToElements','_domEmitter','marker','getStart','2745PZtwea','init','getContainedElement','createElement','removeMarker','markerName','remove','isInline','Escape','toRange','toDomElement','checkChild','createRange','delete','change','$text','plugins','document','getNearestSelectionRange','stopListening','textContent','522aSlYTx','hasContent','color','11WnRVqF','rootName','classList','mapper','render','detach','undo','innerHTML','setCustomProperty','userPositionMarker','oldRange','getPositions','isDocumentOperation','size','conversion','markerRange','pluginName','startsWith','_createdBatches','getCustomProperty','addMarker','parent','ck-user__marker-tooltip','isSimilar','getRange','start','createUIElement','user:range:','highest','85452UuzKyL','ck-user__selection','get','orderNumber','split','editor','for','markerToElement','spellcheck','element','isPremiumPlugin','schema','commands','applyOperation','deletionPosition','end','tableCell','createUserMarkerOperations','newRange','242186nbCjbo','model','ck-user__marker_hovered','listenTo','mySessionId','mouseenter','requires','has','selection','span','getMarkerClass','markerToHighlight','enqueueChange','isOfficialPlugin','isObject','contenteditable','batch','markers','update:user:range','editingDowncast','false','destroy'];_0xef81=function(){return _0x42ce2a;};return _0xef81();}import{Plugin as _0x436e1c}from'ckeditor5/src/core.js';function _0x6f7f(_0x1b15a4,_0x3b81cc){const _0xef81f7=_0xef81();return _0x6f7f=function(_0x6f7f5b,_0x41f4b0){_0x6f7f5b=_0x6f7f5b-0x145;let _0x5358f0=_0xef81f7[_0x6f7f5b];return _0x5358f0;},_0x6f7f(_0x1b15a4,_0x3b81cc);}import{global as _0x1708e6,DomEmitterMixin as _0x45e844}from'ckeditor5/src/utils.js';import{Sessions as _0x12392b}from'./sessions.js';import{ModelLiveRange as _0x57f31e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x436e1c{[_0x1e7cf5(0x1b9)]=new(_0x45e844())();static get[_0x1e7cf5(0x17e)](){return[_0x12392b];}static get[_0x1e7cf5(0x158)](){const _0x92382b=_0x1e7cf5;return _0x92382b(0x1af);}static get[_0x1e7cf5(0x185)](){return!0x0;}static get[_0x1e7cf5(0x16f)](){return!0x0;}[_0x1e7cf5(0x1bd)](){const _0x31650e=_0x1e7cf5,_0x54f4bb=this[_0x31650e(0x16a)],_0x5221f1=_0x54f4bb[_0x31650e(0x1cc)][_0x31650e(0x167)](_0x12392b);_0x54f4bb[_0x31650e(0x156)][_0x31650e(0x16b)](_0x31650e(0x18b))[_0x31650e(0x16c)]({'model':_0x31650e(0x18f),'view':(_0x3b5263,{writer:_0x1f27ba})=>function(_0x3c46b6,_0x178c31,_0x2c73e0,_0x3435ad){const _0x4f9cbd=_0x31650e,_0x3e5643=_0x3c46b6[_0x4f9cbd(0x1c1)][_0x4f9cbd(0x169)](':')[0x2],_0x15e17a=_0x2c73e0[_0x4f9cbd(0x193)](_0x3e5643);if(!_0x15e17a||_0x3e5643===_0x2c73e0[_0x4f9cbd(0x17c)])return;if(!_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x170)][_0x4f9cbd(0x1c7)](_0x3c46b6[_0x4f9cbd(0x157)][_0x4f9cbd(0x161)],_0x4f9cbd(0x1cb)))return;const _0x17ac88={'class':_0x4f9cbd(0x1b7)+_0x15e17a[_0x4f9cbd(0x147)][_0x4f9cbd(0x182)](),'data-name':_0x15e17a[_0x4f9cbd(0x190)],'data-session-id':_0x3e5643},_0x39b811=_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x189)][_0x4f9cbd(0x167)](_0x3c46b6[_0x4f9cbd(0x1c1)]),_0x4df153=_0x39b811[_0x4f9cbd(0x1bb)](),_0x37a818=_0x4df153[_0x4f9cbd(0x195)],_0x5b214c=_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x170)];if(_0x37a818&&_0x5b214c[_0x4f9cbd(0x186)](_0x37a818)&&_0x5b214c[_0x4f9cbd(0x1c3)](_0x37a818)&&!_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x189)][_0x4f9cbd(0x167)](_0x4f9cbd(0x163)+_0x3e5643)[_0x4f9cbd(0x160)]()[_0x4f9cbd(0x1a1)])return;const _0x55b061=_0x4df153[_0x4f9cbd(0x15d)];return _0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x170)][_0x4f9cbd(0x1b0)](_0x55b061)&&!_0x3435ad[_0x4f9cbd(0x179)][_0x4f9cbd(0x146)](_0x55b061)&&(_0x17ac88[_0x4f9cbd(0x187)]=!0x1),function(_0xcd6794,_0x11f921,_0x497e96){const _0x2ea5cf=_0x4f9cbd,_0x385727=_0xcd6794[_0x2ea5cf(0x162)](_0x2ea5cf(0x181),_0x11f921);return _0xcd6794[_0x2ea5cf(0x150)](_0x2ea5cf(0x151),!0x0,_0x385727),_0x385727[_0x2ea5cf(0x14c)]=function(_0x3afe4a){const _0x1b17ae=_0x2ea5cf,_0x45d4b2=this[_0x1b17ae(0x1c6)](_0x3afe4a),_0x4362cb=document[_0x1b17ae(0x1bf)](_0x1b17ae(0x181));return _0x4362cb[_0x1b17ae(0x14a)][_0x1b17ae(0x194)](_0x1b17ae(0x15e)),_0x4362cb[_0x1b17ae(0x1a6)](_0x1b17ae(0x187),_0x1b17ae(0x18c)),_0x4362cb[_0x1b17ae(0x1a6)](_0x1b17ae(0x16d),_0x1b17ae(0x18c)),_0x4362cb[_0x1b17ae(0x1d0)]=_0x497e96[_0x1b17ae(0x190)],_0x45d4b2[_0x1b17ae(0x14f)]=_0x1b17ae(0x1ae)+_0x4362cb[_0x1b17ae(0x19b)]+'',_0x45d4b2[_0x1b17ae(0x19d)](_0x1b17ae(0x17d),()=>{const _0x6f042=_0x1b17ae;_0x45d4b2[_0x6f042(0x14a)][_0x6f042(0x194)](_0x6f042(0x17a));}),_0x45d4b2[_0x1b17ae(0x19d)](_0x1b17ae(0x19a),()=>{const _0x5d2e87=_0x1b17ae;_0x45d4b2[_0x5d2e87(0x14a)][_0x5d2e87(0x1c2)](_0x5d2e87(0x17a));}),_0x45d4b2;},_0x385727[_0x2ea5cf(0x15f)]=function(_0x43d33f){const _0x1935e3=_0x2ea5cf;return!(!this[_0x1935e3(0x15b)](_0x1935e3(0x151))||!_0x43d33f[_0x1935e3(0x15b)](_0x1935e3(0x151))||this[_0x1935e3(0x19c)](_0x1935e3(0x196))!=_0x43d33f[_0x1935e3(0x19c)](_0x1935e3(0x196)));},_0x385727;}(_0x178c31,_0x17ac88,_0x15e17a);}(_0x3b5263,_0x1f27ba,_0x5221f1,_0x54f4bb)}),_0x54f4bb[_0x31650e(0x156)][_0x31650e(0x16b)](_0x31650e(0x18b))[_0x31650e(0x183)]({'model':_0x31650e(0x1a2),'view':_0x4d37ee=>function(_0x4d8502,_0x596198){const _0x5d2160=_0x31650e,_0x241130=_0x4d8502[_0x5d2160(0x1c1)][_0x5d2160(0x169)](':')[0x2];if(_0x241130===_0x596198[_0x5d2160(0x17c)])return null;const _0xd6b8bc=_0x596198[_0x5d2160(0x193)](_0x241130);if(!_0xd6b8bc)return{'id':_0x241130,'classes':[]};return{'id':_0x241130,'classes':[_0x5d2160(0x166),_0xd6b8bc[_0x5d2160(0x147)][_0x5d2160(0x198)]()],'attributes':{'data-session-id':_0x241130},'priority':0x7d0+_0xd6b8bc[_0x5d2160(0x168)]};}(_0x4d37ee,_0x5221f1)}),function(_0x50c4d1){const _0x582caf=_0x31650e,_0x176abc=_0x50c4d1[_0x582caf(0x179)],_0x526b34=new Map(),_0x5123e8=_0x50c4d1[_0x582caf(0x1cc)][_0x582caf(0x167)](_0x12392b);_0x176abc[_0x582caf(0x189)]['on'](_0x582caf(0x18a),(_0x1230d3,_0x657e27,_0x1cfd74,_0x59ee45)=>{const _0x546653=_0x582caf;if(!_0x59ee45&&_0x526b34[_0x546653(0x167)](_0x657e27[_0x546653(0x190)]))return _0x526b34[_0x546653(0x167)](_0x657e27[_0x546653(0x190)])[_0x546653(0x14d)](),void _0x526b34[_0x546653(0x1c9)](_0x657e27[_0x546653(0x190)]);const _0x525503=_0x657e27[_0x546653(0x190)][_0x546653(0x169)](':')[0x2];if(_0x525503===_0x5123e8[_0x546653(0x17c)])return;const _0x10b1d9=_0x546653(0x1a9)+_0x525503;_0x176abc[_0x546653(0x189)][_0x546653(0x17f)](_0x10b1d9)&&_0x50c4d1[_0x546653(0x199)][_0x546653(0x19f)](_0x10b1d9),_0x657e27['on'](_0x546653(0x1b3),(_0x54a0ca,_0x43ae93,_0x157c37)=>{const _0x18afd2=_0x546653;if(_0x18afd2(0x1b2)!=_0x43ae93[_0x18afd2(0x1ad)][_0x18afd2(0x149)]&&_0x18afd2(0x1b2)==_0x657e27[_0x18afd2(0x160)]()[_0x18afd2(0x1ad)][_0x18afd2(0x149)]&&!_0x526b34[_0x18afd2(0x17f)](_0x657e27[_0x18afd2(0x190)])){const _0x5e8689=_0x176abc[_0x18afd2(0x170)][_0x18afd2(0x1ce)](_0x157c37[_0x18afd2(0x173)]);if(_0x5e8689){const _0x2056f4=_0x57f31e[_0x18afd2(0x192)](_0x5e8689);_0x526b34[_0x18afd2(0x1b5)](_0x657e27[_0x18afd2(0x190)],_0x2056f4),_0x2056f4['on'](_0x18afd2(0x1b3),(_0x346519,_0x53c102,_0x49b99c)=>{const _0x4b07bc=_0x18afd2;if(_0x4b07bc(0x1b2)==_0x2056f4[_0x4b07bc(0x1ad)][_0x4b07bc(0x149)]){const _0x3c70ca=_0x176abc[_0x4b07bc(0x170)][_0x4b07bc(0x1ce)](_0x49b99c[_0x4b07bc(0x173)]);_0x3c70ca?(_0x2056f4[_0x4b07bc(0x161)]=_0x3c70ca[_0x4b07bc(0x161)],_0x2056f4[_0x4b07bc(0x174)]=_0x3c70ca[_0x4b07bc(0x174)]):(_0x526b34[_0x4b07bc(0x1c9)](_0x657e27[_0x4b07bc(0x190)]),_0x2056f4[_0x4b07bc(0x14d)]());}});}}});}),_0x176abc[_0x582caf(0x1cd)]['on'](_0x582caf(0x1ca),()=>{const _0x5b4ba8=_0x582caf;_0x526b34[_0x5b4ba8(0x155)]>0x0&&_0x176abc[_0x5b4ba8(0x184)]({'isUndoable':!0x1},_0x141c29=>{const _0xa84190=_0x5b4ba8;for(const [_0x59c22f,_0x32ba7b]of _0x526b34)_0xa84190(0x1b2)==_0x176abc[_0xa84190(0x189)][_0xa84190(0x167)](_0x59c22f)[_0xa84190(0x160)]()[_0xa84190(0x1ad)][_0xa84190(0x149)]&&(Z(_0x59c22f[_0xa84190(0x169)](':')[0x2],_0x32ba7b[_0xa84190(0x1c5)](),_0x176abc,_0x141c29),_0x32ba7b[_0xa84190(0x14d)]());_0x526b34[_0xa84190(0x1a5)]();});});}(_0x54f4bb),this[_0x31650e(0x1b9)][_0x31650e(0x17b)](_0x1708e6[_0x31650e(0x1cd)],_0x31650e(0x1b6),(_0x259134,{key:_0x59dd48})=>{const _0x5c3915=_0x31650e;_0x5c3915(0x1c4)===_0x59dd48&&function(_0x43d1cf){const _0x46ac2c=_0x5c3915;_0x43d1cf[_0x46ac2c(0x199)][_0x46ac2c(0x1b1)][_0x46ac2c(0x1ca)](_0x55baa1=>{const _0x87e7eb=_0x46ac2c;for(const _0x3eab69 of _0x43d1cf[_0x87e7eb(0x179)][_0x87e7eb(0x189)]){if(!_0x3eab69[_0x87e7eb(0x190)][_0x87e7eb(0x159)](_0x87e7eb(0x18f)))continue;const _0x2ccafe=_0x43d1cf[_0x87e7eb(0x199)][_0x87e7eb(0x14b)][_0x87e7eb(0x1b8)](_0x3eab69[_0x87e7eb(0x190)]);if(_0x2ccafe){for(const _0x5383a3 of _0x2ccafe)_0x55baa1[_0x87e7eb(0x18e)](_0x87e7eb(0x17a),_0x5383a3);}}});}(_0x54f4bb);},{'useCapture':!0x0});}[_0x1e7cf5(0x1ab)](){const _0x1326a7=_0x1e7cf5,_0x4c5df8=this[_0x1326a7(0x16a)],_0x5eb3a=_0x4c5df8[_0x1326a7(0x171)][_0x1326a7(0x167)](_0x1326a7(0x14e));_0x5eb3a&&_0x4c5df8[_0x1326a7(0x179)]['on'](_0x1326a7(0x172),(_0x53b4c1,_0x346736)=>{const _0x5b5af6=_0x1326a7,_0x3c0fbe=_0x346736[0x0];if(!_0x3c0fbe[_0x5b5af6(0x154)])return;if(_0x5b5af6(0x1ba)!=_0x3c0fbe[_0x5b5af6(0x1a3)]||!_0x3c0fbe[_0x5b5af6(0x190)][_0x5b5af6(0x159)](_0x5b5af6(0x197)))return;const _0x2f2621=_0x3c0fbe[_0x5b5af6(0x188)];_0x5eb3a[_0x5b5af6(0x15a)][_0x5b5af6(0x17f)](_0x2f2621)&&(_0x3c0fbe[_0x5b5af6(0x177)]=_0x3c0fbe[_0x5b5af6(0x152)]?_0x4c5df8[_0x5b5af6(0x179)][_0x5b5af6(0x1c8)](_0x3c0fbe[_0x5b5af6(0x152)][_0x5b5af6(0x161)],_0x3c0fbe[_0x5b5af6(0x152)][_0x5b5af6(0x174)]):null);},{'priority':_0x1326a7(0x164)});}[_0x1e7cf5(0x18d)](){const _0x48bbea=_0x1e7cf5;return this[_0x48bbea(0x1b9)][_0x48bbea(0x1cf)](),super[_0x48bbea(0x18d)]();}[_0x1e7cf5(0x176)](){const _0x9e513b=_0x1e7cf5,_0x331c19=this[_0x9e513b(0x16a)],_0x4d8d4d=_0x331c19[_0x9e513b(0x179)][_0x9e513b(0x1cd)],_0x505445=_0x331c19[_0x9e513b(0x1cc)][_0x9e513b(0x167)](_0x12392b);_0x331c19[_0x9e513b(0x179)][_0x9e513b(0x184)]({'isUndoable':!0x1},_0xae996b=>{const _0x599216=_0x9e513b,_0x57591a=_0x599216(0x163)+_0x505445[_0x599216(0x17c)],_0x4b4093=_0x599216(0x1a9)+_0x505445[_0x599216(0x17c)],_0x2a651c=_0x331c19[_0x599216(0x179)][_0x599216(0x189)][_0x599216(0x17f)](_0x57591a);_0x331c19[_0x599216(0x199)][_0x599216(0x1b1)][_0x599216(0x1a0)]?Z(_0x505445[_0x599216(0x17c)],_0x4d8d4d[_0x599216(0x180)][_0x599216(0x1a4)](),_0x331c19[_0x599216(0x179)],_0xae996b):_0x2a651c&&(_0xae996b[_0x599216(0x1c0)](_0x57591a),_0xae996b[_0x599216(0x1c0)](_0x4b4093));});}}function Z(_0x3ac909,_0xb40bbd,_0xf6d8e0,_0xe77a0a){const _0x2c9d8c=_0x1e7cf5,_0x561cf9=_0x2c9d8c(0x163)+_0x3ac909,_0x5e9134=_0x2c9d8c(0x1a9)+_0x3ac909,_0xab984b=_0xb40bbd[_0x2c9d8c(0x1be)]();let _0x4edc30=_0xb40bbd[_0x2c9d8c(0x161)];if(_0xab984b&&_0xab984b['is'](_0x2c9d8c(0x16e),_0x2c9d8c(0x175))){const _0x18d0c9=function(_0x303802,_0x18a035){const _0x145144=_0x2c9d8c;for(const _0xc935cb of _0x303802[_0x145144(0x153)]())if(_0x18a035[_0x145144(0x170)][_0x145144(0x1c7)](_0xc935cb,_0x145144(0x1cb)))return _0xc935cb;}(_0xb40bbd,_0xf6d8e0);_0x18d0c9&&(_0x4edc30=_0x18d0c9,_0xb40bbd=_0xe77a0a[_0x2c9d8c(0x1c8)](_0x4edc30));}const _0x334795=_0xe77a0a[_0x2c9d8c(0x1c8)](_0x4edc30);_0xf6d8e0[_0x2c9d8c(0x189)][_0x2c9d8c(0x17f)](_0x561cf9)?(_0xe77a0a[_0x2c9d8c(0x19e)](_0x561cf9,{'range':_0xb40bbd}),_0xe77a0a[_0x2c9d8c(0x19e)](_0x5e9134,{'range':_0x334795})):(_0xe77a0a[_0x2c9d8c(0x15c)](_0x561cf9,{'range':_0xb40bbd,'usingOperation':!0x0}),_0xe77a0a[_0x2c9d8c(0x15c)](_0x5e9134,{'range':_0x334795,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x3ca79c=_0xd126;function _0x2538(){const _0x268868=['newRange','_createdBatches','516FiyRTo','createUIElement','user:position:','remove','1bbIhWx','getPositions','isPremiumPlugin','toRange','getContainedElement','UserMarkers','6269010bxnVeq','mouseleave','clear','schema','start','false','getNearestSelectionRange','isCollapsed','color','removeClass','setCustomProperty','toDomElement','_domEmitter','selection','spellcheck','markerRange','removeMarker','marker','getStart','ck-user__marker\x20','createElement','3lYyqgO','9uaoWwG','275219hbuNSu','addMarker','root','isOfficialPlugin','$graveyard','data-session-id','tableCell','oldRange','rootName','user:range:','listenTo','fromRange','editing','destroy','name','orderNumber','mouseenter','keydown','$text','for','model','textContent','ck-user__marker-tooltip','editingDowncast','hasDomSelection','detach','commands','userPositionMarker','contenteditable','createRange','startsWith','render','isInline','isSimilar','change:range','user:','conversion','requires','outerHTML','markerToElement','12086710JIzzvD','isDocumentOperation','getMarkerClass','reconvertMarker','document','getRange','delete','ck-user__selection','pluginName','enqueueChange','deletionPosition','update:user:range','split','updateMarker','add','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','get','set','getAttribute','6186zKTqIF','classList','setAttribute','has','undo','markers','highest','isLimit','span','431764iyRWua','innerHTML','hasContent','afterInit','296aGVFUe','getUserBySessionId','view','mapper','getSelectionClass','225576uyuGTQ','markerNameToElements','element','user:position','user:range','527654ZhmfYO','markerName','init','getCustomProperty','ck-user__marker_hovered','addEventListener','parent','stopListening','isObject','applyOperation','nodeAfter','getFirstRange','batch','change','editor','type','createUserMarkerOperations','plugins','size','mySessionId','end','markerToHighlight','4260iNgSWe','checkChild','Escape'];_0x2538=function(){return _0x268868;};return _0x2538();}function _0xd126(_0x3a8426,_0x28a8d6){const _0x253891=_0x2538();return _0xd126=function(_0xd1269a,_0x1868ee){_0xd1269a=_0xd1269a-0x125;let _0x1cb877=_0x253891[_0xd1269a];return _0x1cb877;},_0xd126(_0x3a8426,_0x28a8d6);}(function(_0x11cdda,_0x45dfcd){const _0x2fbec6=_0xd126,_0x4905ef=_0x11cdda();while(!![]){try{const _0x141e8c=parseInt(_0x2fbec6(0x19c))/0x1*(parseInt(_0x2fbec6(0x17d))/0x2)+parseInt(_0x2fbec6(0x129))/0x3*(parseInt(_0x2fbec6(0x16f))/0x4)+-parseInt(_0x2fbec6(0x193))/0x5*(-parseInt(_0x2fbec6(0x166))/0x6)+-parseInt(_0x2fbec6(0x12b))/0x7*(parseInt(_0x2fbec6(0x173))/0x8)+-parseInt(_0x2fbec6(0x12a))/0x9*(-parseInt(_0x2fbec6(0x153))/0xa)+parseInt(_0x2fbec6(0x1a2))/0xb+-parseInt(_0x2fbec6(0x198))/0xc*(parseInt(_0x2fbec6(0x178))/0xd);if(_0x141e8c===_0x45dfcd)break;else _0x4905ef['push'](_0x4905ef['shift']());}catch(_0x3fe0e8){_0x4905ef['push'](_0x4905ef['shift']());}}}(_0x2538,0xca1f8));import{Plugin as _0x5be099}from'ckeditor5/src/core.js';import{global as _0xea0329,DomEmitterMixin as _0x5b54a5}from'ckeditor5/src/utils.js';import{Sessions as _0x27c69c}from'./sessions.js';import{ModelLiveRange as _0x2cdbb8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x5be099{[_0x3ca79c(0x1ae)]=new(_0x5b54a5())();static get[_0x3ca79c(0x150)](){return[_0x27c69c];}static get[_0x3ca79c(0x15b)](){const _0x217fcf=_0x3ca79c;return _0x217fcf(0x1a1);}static get[_0x3ca79c(0x12e)](){return!0x0;}static get[_0x3ca79c(0x19e)](){return!0x0;}[_0x3ca79c(0x17f)](){const _0x5f02ea=_0x3ca79c,_0x41c12f=this[_0x5f02ea(0x18b)],_0x155256=_0x41c12f[_0x5f02ea(0x18e)][_0x5f02ea(0x163)](_0x27c69c);_0x41c12f[_0x5f02ea(0x14f)][_0x5f02ea(0x13e)](_0x5f02ea(0x142))[_0x5f02ea(0x152)]({'model':_0x5f02ea(0x17b),'view':(_0x4b0ede,{writer:_0x28ee31})=>function(_0x381025,_0x3efa83,_0x16a297,_0x510f29){const _0x405a4f=_0x5f02ea,_0x59061b=_0x381025[_0x405a4f(0x17e)][_0x405a4f(0x15f)](':')[0x2],_0x307b23=_0x16a297[_0x405a4f(0x174)](_0x59061b);if(!_0x307b23||_0x59061b===_0x16a297[_0x405a4f(0x190)])return;if(!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)][_0x405a4f(0x194)](_0x381025[_0x405a4f(0x1b1)][_0x405a4f(0x1a6)],_0x405a4f(0x13d)))return;const _0x20a414={'class':_0x405a4f(0x127)+_0x307b23[_0x405a4f(0x1aa)][_0x405a4f(0x155)](),'data-name':_0x307b23[_0x405a4f(0x139)],'data-session-id':_0x59061b},_0x505deb=_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x16b)][_0x405a4f(0x163)](_0x381025[_0x405a4f(0x17e)]),_0x5ef4bb=_0x505deb[_0x405a4f(0x126)](),_0x33a790=_0x5ef4bb[_0x405a4f(0x187)],_0x4e2970=_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)];if(_0x33a790&&_0x4e2970[_0x405a4f(0x185)](_0x33a790)&&_0x4e2970[_0x405a4f(0x14b)](_0x33a790)&&!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x16b)][_0x405a4f(0x163)](_0x405a4f(0x134)+_0x59061b)[_0x405a4f(0x158)]()[_0x405a4f(0x1a9)])return;const _0x1641a8=_0x5ef4bb[_0x405a4f(0x183)];return _0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x1a5)][_0x405a4f(0x16d)](_0x1641a8)&&!_0x510f29[_0x405a4f(0x13f)][_0x405a4f(0x171)](_0x1641a8)&&(_0x20a414[_0x405a4f(0x147)]=!0x1),function(_0x25a96d,_0x472e24,_0x412a4c){const _0x4a5ed2=_0x405a4f,_0x1ce1eb=_0x25a96d[_0x4a5ed2(0x199)](_0x4a5ed2(0x16e),_0x472e24);return _0x25a96d[_0x4a5ed2(0x1ac)](_0x4a5ed2(0x146),!0x0,_0x1ce1eb),_0x1ce1eb[_0x4a5ed2(0x14a)]=function(_0x5b026a){const _0x2c90d4=_0x4a5ed2,_0xca9501=this[_0x2c90d4(0x1ad)](_0x5b026a),_0x353357=document[_0x2c90d4(0x128)](_0x2c90d4(0x16e));return _0x353357[_0x2c90d4(0x167)][_0x2c90d4(0x161)](_0x2c90d4(0x141)),_0x353357[_0x2c90d4(0x168)](_0x2c90d4(0x147),_0x2c90d4(0x1a7)),_0x353357[_0x2c90d4(0x168)](_0x2c90d4(0x1b0),_0x2c90d4(0x1a7)),_0x353357[_0x2c90d4(0x140)]=_0x412a4c[_0x2c90d4(0x139)],_0xca9501[_0x2c90d4(0x170)]=_0x2c90d4(0x162)+_0x353357[_0x2c90d4(0x151)]+'',_0xca9501[_0x2c90d4(0x182)](_0x2c90d4(0x13b),()=>{const _0x5d7111=_0x2c90d4;_0xca9501[_0x5d7111(0x167)][_0x5d7111(0x161)](_0x5d7111(0x181));}),_0xca9501[_0x2c90d4(0x182)](_0x2c90d4(0x1a3),()=>{const _0x360eee=_0x2c90d4;_0xca9501[_0x360eee(0x167)][_0x360eee(0x19b)](_0x360eee(0x181));}),_0xca9501;},_0x1ce1eb[_0x4a5ed2(0x14c)]=function(_0x338aa3){const _0x3be9bb=_0x4a5ed2;return!(!this[_0x3be9bb(0x180)](_0x3be9bb(0x146))||!_0x338aa3[_0x3be9bb(0x180)](_0x3be9bb(0x146))||this[_0x3be9bb(0x165)](_0x3be9bb(0x130))!=_0x338aa3[_0x3be9bb(0x165)](_0x3be9bb(0x130)));},_0x1ce1eb;}(_0x3efa83,_0x20a414,_0x307b23);}(_0x4b0ede,_0x28ee31,_0x155256,_0x41c12f)}),_0x41c12f[_0x5f02ea(0x14f)][_0x5f02ea(0x13e)](_0x5f02ea(0x142))[_0x5f02ea(0x192)]({'model':_0x5f02ea(0x17c),'view':_0x5b31f9=>function(_0x5c506e,_0x5555c9){const _0x2f9f80=_0x5f02ea,_0x2cce21=_0x5c506e[_0x2f9f80(0x17e)][_0x2f9f80(0x15f)](':')[0x2];if(_0x2cce21===_0x5555c9[_0x2f9f80(0x190)])return null;const _0x12c843=_0x5555c9[_0x2f9f80(0x174)](_0x2cce21);if(!_0x12c843)return{'id':_0x2cce21,'classes':[]};return{'id':_0x2cce21,'classes':[_0x2f9f80(0x15a),_0x12c843[_0x2f9f80(0x1aa)][_0x2f9f80(0x177)]()],'attributes':{'data-session-id':_0x2cce21},'priority':0x7d0+_0x12c843[_0x2f9f80(0x13a)]};}(_0x5b31f9,_0x155256)}),function(_0x49ea98){const _0x47b878=_0x5f02ea,_0xa4f0dd=_0x49ea98[_0x47b878(0x13f)],_0x1e0a26=new Map(),_0x3ef685=_0x49ea98[_0x47b878(0x18e)][_0x47b878(0x163)](_0x27c69c);_0xa4f0dd[_0x47b878(0x16b)]['on'](_0x47b878(0x15e),(_0x922422,_0x29f905,_0x172efd,_0x36a8a6)=>{const _0xc9e73f=_0x47b878;if(!_0x36a8a6&&_0x1e0a26[_0xc9e73f(0x163)](_0x29f905[_0xc9e73f(0x139)]))return _0x1e0a26[_0xc9e73f(0x163)](_0x29f905[_0xc9e73f(0x139)])[_0xc9e73f(0x144)](),void _0x1e0a26[_0xc9e73f(0x159)](_0x29f905[_0xc9e73f(0x139)]);const _0x20465a=_0x29f905[_0xc9e73f(0x139)][_0xc9e73f(0x15f)](':')[0x2];if(_0x20465a===_0x3ef685[_0xc9e73f(0x190)])return;const _0x5dc1c7=_0xc9e73f(0x19a)+_0x20465a;_0xa4f0dd[_0xc9e73f(0x16b)][_0xc9e73f(0x169)](_0x5dc1c7)&&_0x49ea98[_0xc9e73f(0x137)][_0xc9e73f(0x156)](_0x5dc1c7),_0x29f905['on'](_0xc9e73f(0x14d),(_0x3c9d4e,_0x20a60a,_0x133234)=>{const _0x5feb0e=_0xc9e73f;if(_0x5feb0e(0x12f)!=_0x20a60a[_0x5feb0e(0x12d)][_0x5feb0e(0x133)]&&_0x5feb0e(0x12f)==_0x29f905[_0x5feb0e(0x158)]()[_0x5feb0e(0x12d)][_0x5feb0e(0x133)]&&!_0x1e0a26[_0x5feb0e(0x169)](_0x29f905[_0x5feb0e(0x139)])){const _0x46aded=_0xa4f0dd[_0x5feb0e(0x1a5)][_0x5feb0e(0x1a8)](_0x133234[_0x5feb0e(0x15d)]);if(_0x46aded){const _0x4dfa3d=_0x2cdbb8[_0x5feb0e(0x136)](_0x46aded);_0x1e0a26[_0x5feb0e(0x164)](_0x29f905[_0x5feb0e(0x139)],_0x4dfa3d),_0x4dfa3d['on'](_0x5feb0e(0x14d),(_0x19f75a,_0x2cfc97,_0x81ca37)=>{const _0x53ee5a=_0x5feb0e;if(_0x53ee5a(0x12f)==_0x4dfa3d[_0x53ee5a(0x12d)][_0x53ee5a(0x133)]){const _0x551493=_0xa4f0dd[_0x53ee5a(0x1a5)][_0x53ee5a(0x1a8)](_0x81ca37[_0x53ee5a(0x15d)]);_0x551493?(_0x4dfa3d[_0x53ee5a(0x1a6)]=_0x551493[_0x53ee5a(0x1a6)],_0x4dfa3d[_0x53ee5a(0x191)]=_0x551493[_0x53ee5a(0x191)]):(_0x1e0a26[_0x53ee5a(0x159)](_0x29f905[_0x53ee5a(0x139)]),_0x4dfa3d[_0x53ee5a(0x144)]());}});}}});}),_0xa4f0dd[_0x47b878(0x157)]['on'](_0x47b878(0x18a),()=>{const _0x363898=_0x47b878;_0x1e0a26[_0x363898(0x18f)]>0x0&&_0xa4f0dd[_0x363898(0x15c)]({'isUndoable':!0x1},_0x27da9b=>{const _0xf2f1c3=_0x363898;for(const [_0x84a8c5,_0x14f0c0]of _0x1e0a26)_0xf2f1c3(0x12f)==_0xa4f0dd[_0xf2f1c3(0x16b)][_0xf2f1c3(0x163)](_0x84a8c5)[_0xf2f1c3(0x158)]()[_0xf2f1c3(0x12d)][_0xf2f1c3(0x133)]&&(Z(_0x84a8c5[_0xf2f1c3(0x15f)](':')[0x2],_0x14f0c0[_0xf2f1c3(0x19f)](),_0xa4f0dd,_0x27da9b),_0x14f0c0[_0xf2f1c3(0x144)]());_0x1e0a26[_0xf2f1c3(0x1a4)]();});});}(_0x41c12f),this[_0x5f02ea(0x1ae)][_0x5f02ea(0x135)](_0xea0329[_0x5f02ea(0x157)],_0x5f02ea(0x13c),(_0x44da52,{key:_0x58b69c})=>{const _0x1fedba=_0x5f02ea;_0x1fedba(0x195)===_0x58b69c&&function(_0x1484fd){const _0x256b94=_0x1fedba;_0x1484fd[_0x256b94(0x137)][_0x256b94(0x175)][_0x256b94(0x18a)](_0x57b137=>{const _0xbabf67=_0x256b94;for(const _0x3d659f of _0x1484fd[_0xbabf67(0x13f)][_0xbabf67(0x16b)]){if(!_0x3d659f[_0xbabf67(0x139)][_0xbabf67(0x149)](_0xbabf67(0x17b)))continue;const _0x1905b3=_0x1484fd[_0xbabf67(0x137)][_0xbabf67(0x176)][_0xbabf67(0x179)](_0x3d659f[_0xbabf67(0x139)]);if(_0x1905b3){for(const _0x29fe30 of _0x1905b3)_0x57b137[_0xbabf67(0x1ab)](_0xbabf67(0x181),_0x29fe30);}}});}(_0x41c12f);},{'useCapture':!0x0});}[_0x3ca79c(0x172)](){const _0x19b12d=_0x3ca79c,_0xfdca7a=this[_0x19b12d(0x18b)],_0x19230a=_0xfdca7a[_0x19b12d(0x145)][_0x19b12d(0x163)](_0x19b12d(0x16a));_0x19230a&&_0xfdca7a[_0x19b12d(0x13f)]['on'](_0x19b12d(0x186),(_0x56261e,_0x14d216)=>{const _0x41990c=_0x19b12d,_0x24fae2=_0x14d216[0x0];if(!_0x24fae2[_0x41990c(0x154)])return;if(_0x41990c(0x125)!=_0x24fae2[_0x41990c(0x18c)]||!_0x24fae2[_0x41990c(0x139)][_0x41990c(0x149)](_0x41990c(0x14e)))return;const _0x443c37=_0x24fae2[_0x41990c(0x189)];_0x19230a[_0x41990c(0x197)][_0x41990c(0x169)](_0x443c37)&&(_0x24fae2[_0x41990c(0x196)]=_0x24fae2[_0x41990c(0x132)]?_0xfdca7a[_0x41990c(0x13f)][_0x41990c(0x148)](_0x24fae2[_0x41990c(0x132)][_0x41990c(0x1a6)],_0x24fae2[_0x41990c(0x132)][_0x41990c(0x191)]):null);},{'priority':_0x19b12d(0x16c)});}[_0x3ca79c(0x138)](){const _0x27baf8=_0x3ca79c;return this[_0x27baf8(0x1ae)][_0x27baf8(0x184)](),super[_0x27baf8(0x138)]();}[_0x3ca79c(0x18d)](){const _0x9995b0=_0x3ca79c,_0x222be4=this[_0x9995b0(0x18b)],_0x5b39d0=_0x222be4[_0x9995b0(0x13f)][_0x9995b0(0x157)],_0x201d64=_0x222be4[_0x9995b0(0x18e)][_0x9995b0(0x163)](_0x27c69c);_0x222be4[_0x9995b0(0x13f)][_0x9995b0(0x15c)]({'isUndoable':!0x1},_0x257eb4=>{const _0x55c7c9=_0x9995b0,_0x13579d=_0x55c7c9(0x134)+_0x201d64[_0x55c7c9(0x190)],_0x594398=_0x55c7c9(0x19a)+_0x201d64[_0x55c7c9(0x190)],_0x510883=_0x222be4[_0x55c7c9(0x13f)][_0x55c7c9(0x16b)][_0x55c7c9(0x169)](_0x13579d);_0x222be4[_0x55c7c9(0x137)][_0x55c7c9(0x175)][_0x55c7c9(0x143)]?Z(_0x201d64[_0x55c7c9(0x190)],_0x5b39d0[_0x55c7c9(0x1af)][_0x55c7c9(0x188)](),_0x222be4[_0x55c7c9(0x13f)],_0x257eb4):_0x510883&&(_0x257eb4[_0x55c7c9(0x1b2)](_0x13579d),_0x257eb4[_0x55c7c9(0x1b2)](_0x594398));});}}function Z(_0x3d1933,_0x2b6969,_0x1ad735,_0x2e76ef){const _0x2b1b7d=_0x3ca79c,_0x3288af=_0x2b1b7d(0x134)+_0x3d1933,_0x143928=_0x2b1b7d(0x19a)+_0x3d1933,_0x3403f8=_0x2b6969[_0x2b1b7d(0x1a0)]();let _0x4546d8=_0x2b6969[_0x2b1b7d(0x1a6)];if(_0x3403f8&&_0x3403f8['is'](_0x2b1b7d(0x17a),_0x2b1b7d(0x131))){const _0x94ea64=function(_0xb4d7a0,_0x56701e){const _0x18011b=_0x2b1b7d;for(const _0x564e91 of _0xb4d7a0[_0x18011b(0x19d)]())if(_0x56701e[_0x18011b(0x1a5)][_0x18011b(0x194)](_0x564e91,_0x18011b(0x13d)))return _0x564e91;}(_0x2b6969,_0x1ad735);_0x94ea64&&(_0x4546d8=_0x94ea64,_0x2b6969=_0x2e76ef[_0x2b1b7d(0x148)](_0x4546d8));}const _0x4a3106=_0x2e76ef[_0x2b1b7d(0x148)](_0x4546d8);_0x1ad735[_0x2b1b7d(0x16b)][_0x2b1b7d(0x169)](_0x3288af)?(_0x2e76ef[_0x2b1b7d(0x160)](_0x3288af,{'range':_0x2b6969}),_0x2e76ef[_0x2b1b7d(0x160)](_0x143928,{'range':_0x4a3106})):(_0x2e76ef[_0x2b1b7d(0x12c)](_0x3288af,{'range':_0x2b6969,'usingOperation':!0x0}),_0x2e76ef[_0x2b1b7d(0x12c)](_0x143928,{'range':_0x4a3106,'usingOperation':!0x0}));}
|