@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.2 → 46.0.0-alpha.3
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
|
-
|
|
23
|
+
function _0x3680(){const _0x180320=['presencelist:show','render','1563020CrkAGq','createCollection','fire','element','157OnejaN','presencelist:hide','1411420mEftqR','list','ck-presence-list__list','1169644rEFwAW','isExpanded','set','3212025nidIgz','keystrokes','removeAttribute','12674IoInHQ','querySelector','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setTemplate','contains','focus','376hXeVtQ','listenTo','.ck-presence-list__dropdown-list','change:hasPopup','setAttribute','relatedTarget','3106554YKOBjT','.ck-balloon-panel_with-arrow','108GPUkeh','Connected\x20users\x20list','div','129731WyBjSR','bindTemplate','hasPopup','items','aria-expanded'];_0x3680=function(){return _0x180320;};return _0x3680();}function _0x2a96(_0x2200ca,_0x11b4a7){const _0x368015=_0x3680();return _0x2a96=function(_0x2a966a,_0x2b90fe){_0x2a966a=_0x2a966a-0x175;let _0x5bd7a4=_0x368015[_0x2a966a];return _0x5bd7a4;},_0x2a96(_0x2200ca,_0x11b4a7);}const _0x422a84=_0x2a96;(function(_0x5701b4,_0x255608){const _0x19548f=_0x2a96,_0x3f2b73=_0x5701b4();while(!![]){try{const _0x2d05c3=parseInt(_0x19548f(0x179))/0x1*(parseInt(_0x19548f(0x184))/0x2)+parseInt(_0x19548f(0x181))/0x3+parseInt(_0x19548f(0x17e))/0x4+-parseInt(_0x19548f(0x17b))/0x5+-parseInt(_0x19548f(0x190))/0x6+-parseInt(_0x19548f(0x195))/0x7*(-parseInt(_0x19548f(0x18a))/0x8)+parseInt(_0x19548f(0x192))/0x9*(-parseInt(_0x19548f(0x175))/0xa);if(_0x2d05c3===_0x255608)break;else _0x3f2b73['push'](_0x3f2b73['shift']());}catch(_0x2d990f){_0x3f2b73['push'](_0x3f2b73['shift']());}}}(_0x3680,0x871a3));import{View as _0x56e911}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5eae40}from'ckeditor5/src/utils.js';import{getTranslation as _0x51762f}from'../../common-translations.js';export class PresenceInlineListView extends _0x56e911{[_0x422a84(0x198)];[_0x422a84(0x182)];constructor(_0x26fdad){const _0x1a9500=_0x422a84;super(_0x26fdad);const _0x3a8e68=this[_0x1a9500(0x196)];this[_0x1a9500(0x198)]=this[_0x1a9500(0x176)](),this[_0x1a9500(0x182)]=new _0x5eae40(),this[_0x1a9500(0x180)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1a9500(0x187)]({'tag':_0x1a9500(0x194),'attributes':{'aria-haspopup':_0x3a8e68['if'](_0x1a9500(0x197)),'aria-expanded':_0x3a8e68['to'](_0x1a9500(0x17f),_0x400476=>this[_0x1a9500(0x197)]&&String(_0x400476)),'aria-label':_0x3a8e68['to'](_0x1a9500(0x197),_0x52e4bb=>_0x51762f(_0x26fdad,_0x52e4bb?_0x1a9500(0x186):_0x1a9500(0x193))),'role':_0x1a9500(0x17c),'tabindex':_0x3a8e68['to'](_0x1a9500(0x197),_0x3c2d45=>!!_0x3c2d45&&0x0),'class':['ck',_0x1a9500(0x17d)]},'children':this[_0x1a9500(0x198)],'on':{'mouseenter':_0x3a8e68['to'](()=>this[_0x1a9500(0x177)](_0x1a9500(0x19a))),'mouseleave':_0x3a8e68['to'](_0x1a68c8=>{const _0x3c67ba=_0x1a9500,_0x4b6219=_0x1a68c8,_0xe2f506=document[_0x3c67ba(0x185)](_0x3c67ba(0x18c)),_0x5dd9e3=document[_0x3c67ba(0x185)](_0x3c67ba(0x191));_0xe2f506?.[_0x3c67ba(0x188)](_0x4b6219[_0x3c67ba(0x18f)])||_0x5dd9e3?.[_0x3c67ba(0x188)](_0x4b6219[_0x3c67ba(0x18f)])||this[_0x3c67ba(0x177)](_0x3c67ba(0x17a));})}}),this['on'](_0x1a9500(0x18d),(_0x24b9c4,_0xaf2ea7,_0x3f8079)=>{const _0x2dcf4e=_0x1a9500;this[_0x2dcf4e(0x178)]&&(_0x3f8079?this[_0x2dcf4e(0x178)][_0x2dcf4e(0x18e)](_0x2dcf4e(0x199),String(this[_0x2dcf4e(0x17f)])):this[_0x2dcf4e(0x178)][_0x2dcf4e(0x183)](_0x2dcf4e(0x199)));});}[_0x422a84(0x189)](){const _0x36104d=_0x422a84;this[_0x36104d(0x178)][_0x36104d(0x189)]();}[_0x422a84(0x19b)](){const _0x13d66c=_0x422a84;super[_0x13d66c(0x19b)](),this[_0x13d66c(0x182)][_0x13d66c(0x18b)](this[_0x13d66c(0x178)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x8bfc94=_0x3b98;(function(_0x803fee,_0xf050a2){const _0x36f7ba=_0x3b98,_0x2f9d41=_0x803fee();while(!![]){try{const _0x4cb4b9=-parseInt(_0x36f7ba(0x182))/0x1*(-parseInt(_0x36f7ba(0x183))/0x2)+-parseInt(_0x36f7ba(0x180))/0x3+-parseInt(_0x36f7ba(0x17c))/0x4+-parseInt(_0x36f7ba(0x18c))/0x5*(-parseInt(_0x36f7ba(0x17f))/0x6)+-parseInt(_0x36f7ba(0x17b))/0x7+-parseInt(_0x36f7ba(0x17e))/0x8+parseInt(_0x36f7ba(0x18b))/0x9;if(_0x4cb4b9===_0xf050a2)break;else _0x2f9d41['push'](_0x2f9d41['shift']());}catch(_0x23fdd4){_0x2f9d41['push'](_0x2f9d41['shift']());}}}(_0x3d59,0xb1246));import{View as _0x4ea375}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x1fa208}from'./presencecounterview.js';function _0x3d59(){const _0x252490=['hasPopup','setTemplate','7200242XTXfPp','979996TTrJii','set','3528424xmCxfy','84IRTQVY','1112115DmJhPq','items','1TBPMCS','373058LJXaTQ','inlineListView','first','change','ck-presence-list--collapsed','locale','bind','ck-rounded-corners','12383118KOuxlM','445895wWQOsy','tooltipPosition','ck-presence-list','div','counterView','ck-reset','listenTo','isCollapsed','bindTemplate'];_0x3d59=function(){return _0x252490;};return _0x3d59();}function _0x3b98(_0xc8d16e,_0x45a9f9){const _0x3d598f=_0x3d59();return _0x3b98=function(_0x3b9870,_0x18d200){_0x3b9870=_0x3b9870-0x174;let _0x281d16=_0x3d598f[_0x3b9870];return _0x281d16;},_0x3b98(_0xc8d16e,_0x45a9f9);}import{PresenceInlineListView as _0x13a334}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x4ea375{[_0x8bfc94(0x174)];[_0x8bfc94(0x184)];constructor(_0x55edfd,_0x204ab7=0x6){const _0x53fa04=_0x8bfc94;super(_0x55edfd);const _0x3f72ff=this[_0x53fa04(0x178)];this[_0x53fa04(0x17d)](_0x53fa04(0x177),!0x0),this[_0x53fa04(0x174)]=new _0x1fa208(this[_0x53fa04(0x188)],_0x204ab7),this[_0x53fa04(0x184)]=new _0x13a334(_0x55edfd),this[_0x53fa04(0x184)][_0x53fa04(0x189)](_0x53fa04(0x179))['to'](this,_0x53fa04(0x177)),this[_0x53fa04(0x176)](this[_0x53fa04(0x184)][_0x53fa04(0x181)],_0x53fa04(0x186),()=>{const _0x35a8f7=_0x53fa04;for(const _0x29c058 of this[_0x35a8f7(0x184)][_0x35a8f7(0x181)])_0x29c058[_0x35a8f7(0x18d)]='s';this[_0x35a8f7(0x184)][_0x35a8f7(0x181)][_0x35a8f7(0x185)]&&(this[_0x35a8f7(0x184)][_0x35a8f7(0x181)][_0x35a8f7(0x185)][_0x35a8f7(0x18d)]='se');}),this[_0x53fa04(0x17a)]({'tag':_0x53fa04(0x18f),'attributes':{'class':['ck',_0x53fa04(0x18e),_0x53fa04(0x175),_0x53fa04(0x18a),_0x3f72ff['if'](_0x53fa04(0x177),_0x53fa04(0x187))]},'children':[this[_0x53fa04(0x184)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x349e(_0x59f9e5,_0x1d2fe7){var _0x179a75=_0x179a();return _0x349e=function(_0x349e7b,_0x1506d9){_0x349e7b=_0x349e7b-0x78;var _0x646246=_0x179a75[_0x349e7b];return _0x646246;},_0x349e(_0x59f9e5,_0x1d2fe7);}var _0xf212f0=_0x349e;(function(_0x2e294b,_0x1c9d27){var _0xedf339=_0x349e,_0xb80163=_0x2e294b();while(!![]){try{var _0x42b763=-parseInt(_0xedf339(0x84))/0x1*(parseInt(_0xedf339(0x7f))/0x2)+-parseInt(_0xedf339(0x7d))/0x3+parseInt(_0xedf339(0x82))/0x4+parseInt(_0xedf339(0x78))/0x5*(-parseInt(_0xedf339(0x7b))/0x6)+parseInt(_0xedf339(0x7e))/0x7+parseInt(_0xedf339(0x81))/0x8*(parseInt(_0xedf339(0x80))/0x9)+-parseInt(_0xedf339(0x7a))/0xa;if(_0x42b763===_0x1c9d27)break;else _0xb80163['push'](_0xb80163['shift']());}catch(_0x3ebf05){_0xb80163['push'](_0xb80163['shift']());}}}(_0x179a,0xec4a5));function _0x179a(){var _0x21613f=['isOfficialPlugin','PresenceList','100uPAThs','isPremiumPlugin','8566150UmFCLo','325188oTjeIz','requires','1375911XRyrll','5919368HBxggE','18SVEHui','81612vwKEtB','1240UWnYuw','5048644GTlneh','pluginName','16252kmMOPJ'];_0x179a=function(){return _0x21613f;};return _0x179a();}import{ContextPlugin as _0xa10687}from'ckeditor5/src/core.js';import{Sessions as _0x47110c}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x1a704d}from'./presencelist/presencelistui.js';export class PresenceList extends _0xa10687{static get[_0xf212f0(0x7c)](){return[_0x47110c,_0x1a704d];}static get[_0xf212f0(0x83)](){var _0x3a5f70=_0xf212f0;return _0x3a5f70(0x86);}static get[_0xf212f0(0x85)](){return!0x0;}static get[_0xf212f0(0x79)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x113879)());[_0x1fe42e(0x170)];static get[_0x1fe42e(0x132)](){const _0x328245=_0x1fe42e;return[_0x37768f,_0x328245(0x127),_0x586cb8,_0x39499f];}static get[_0x1fe42e(0x13b)](){const _0x1f806f=_0x1fe42e;return _0x1f806f(0x139);}static get[_0x1fe42e(0x12d)](){return!0x0;}static get[_0x1fe42e(0x179)](){return!0x0;}constructor(_0x477ebc){const _0xd0176b=_0x1fe42e;super(_0x477ebc),this[_0xd0176b(0x170)]=new Map();}async[_0x1fe42e(0x175)](){const _0x4b57c5=_0x1fe42e,_0x5395f9=this[_0x4b57c5(0x150)],_0x12ab1d=_0x5395f9[_0x4b57c5(0x188)][_0x4b57c5(0x152)](_0x4b57c5(0x127));if(_0x5395f9[_0x4b57c5(0x188)][_0x4b57c5(0x152)](_0x37768f)[_0x4b57c5(0x16b)](this),_0x12ab1d[_0x4b57c5(0x174)]={'addCommentThread':async({channelId:_0x546598,threadId:_0x36a127,comments:_0x4c98cf,resolvedAt:_0x404f82,resolvedBy:_0x455d2a,context:_0x314baa,attributes:_0x8fa138})=>{const _0xe904da=_0x4b57c5,_0x5d201f=await this[_0xe904da(0x13f)](_0x546598)[_0xe904da(0x134)]({'commentThreadId':_0x36a127,'comments':_0x4c98cf[_0xe904da(0x165)](_0x228a28=>function(_0x596950,_0x3b35f9,_0x499159){const _0x386157=_0xe904da;return{'commentThreadId':_0x499159,'commentId':_0x596950[_0x386157(0x16f)],'userId':_0x596950[_0x386157(0x166)],'content':_0x596950[_0x386157(0x16e)],'documentId':_0x3b35f9,'createdAt':_0x596950[_0x386157(0x129)],'attributes':_0x596950[_0x386157(0x158)]||{}};}(_0x228a28,_0x546598,_0x36a127)),'resolvedAt':_0x404f82,'resolvedBy':_0x455d2a,'context':_0x314baa,'attributes':_0x8fa138})[_0xe904da(0x130)](tt);return{'threadId':_0x5d201f[_0xe904da(0x141)],'comments':_0x5d201f[_0xe904da(0x16d)]};},'getCommentThread':async({channelId:_0x539c00,threadId:_0x1e0f6e})=>{const _0x1ceadf=_0x4b57c5,_0x2e0b4f=await this[_0x1ceadf(0x13f)](_0x539c00)[_0x1ceadf(0x135)](_0x1e0f6e)[_0x1ceadf(0x130)](tt);return _0x2e0b4f[_0x1ceadf(0x14e)]?null:(await this[_0x1ceadf(0x172)]([_0x2e0b4f]),{'threadId':_0x2e0b4f[_0x1ceadf(0x141)],'comments':_0x2e0b4f[_0x1ceadf(0x16d)][_0x1ceadf(0x165)](et),'context':_0x2e0b4f[_0x1ceadf(0x150)],'resolvedAt':_0x2e0b4f[_0x1ceadf(0x12c)],'resolvedBy':_0x2e0b4f[_0x1ceadf(0x15e)],'attributes':_0x2e0b4f[_0x1ceadf(0x158)]||{}});},'updateCommentThread':async({channelId:_0x5e690c,threadId:_0x5e4b36,context:_0x421300,unlinkedAt:_0x5983c7,attributes:_0x30d7e8})=>this[_0x4b57c5(0x13f)](_0x5e690c)[_0x4b57c5(0x153)]({'commentThreadId':_0x5e4b36,'context':_0x421300,'attributes':_0x30d7e8,'unlinkedAt':_0x5983c7})[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'resolveCommentThread':async({channelId:_0x2d3aee,threadId:_0x156bb9})=>{const _0x121266=_0x4b57c5,_0x4961f8=await this[_0x121266(0x13f)](_0x2d3aee)[_0x121266(0x140)](_0x156bb9)[_0x121266(0x130)](Z)[_0x121266(0x130)](tt);return{'threadId':_0x4961f8[_0x121266(0x141)],'resolvedAt':_0x4961f8[_0x121266(0x12c)],'resolvedBy':_0x4961f8[_0x121266(0x15e)]};},'reopenCommentThread':async({channelId:_0x32a9dd,threadId:_0x1a79d1})=>this[_0x4b57c5(0x13f)](_0x32a9dd)[_0x4b57c5(0x14c)](_0x1a79d1)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'removeCommentThread':({channelId:_0x3ce7c0,threadId:_0x1b65f3})=>this[_0x4b57c5(0x13f)](_0x3ce7c0)[_0x4b57c5(0x162)](_0x1b65f3)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'addComment':({channelId:_0x37ad4a,threadId:_0x2ef9e3,commentId:_0x37b653,content:_0x2e47bc,attributes:_0x3e4d4e})=>this[_0x4b57c5(0x13f)](_0x37ad4a)[_0x4b57c5(0x183)](_0x2ef9e3,_0x37b653,_0x2e47bc,_0x3e4d4e)[_0x4b57c5(0x130)](tt),'updateComment':({channelId:_0x52dc0e,threadId:_0x577e4a,commentId:_0x566993,content:_0xb544f,attributes:_0x372c3f})=>this[_0x4b57c5(0x13f)](_0x52dc0e)[_0x4b57c5(0x16a)](_0x577e4a,_0x566993,_0xb544f,_0x372c3f)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'removeComment':({channelId:_0x2c8bc8,threadId:_0x1d6ae1,commentId:_0x351bba})=>this[_0x4b57c5(0x13f)](_0x2c8bc8)[_0x4b57c5(0x169)](_0x1d6ae1,_0x351bba)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt)},_0x5395f9 instanceof _0xef6b14){const _0x223053=_0x5395f9[_0x4b57c5(0x17c)][_0x4b57c5(0x152)](_0x4b57c5(0x167)),_0xc7c19f=_0x5395f9[_0x4b57c5(0x188)][_0x4b57c5(0x152)](_0x586cb8);await this[_0x4b57c5(0x182)](_0x223053);const _0x5f01d1=await this[_0x4b57c5(0x170)][_0x4b57c5(0x152)](_0x223053)[_0x4b57c5(0x171)]();this[_0x4b57c5(0x173)](_0xc7c19f,_0x4b57c5(0x15a)+_0x223053,(_0x29e16c,{session:_0x3a9b6e})=>{const _0x53c4a4=_0x4b57c5;_0x3a9b6e['id']===_0xc7c19f[_0x53c4a4(0x185)]&&(_0x29e16c[_0x53c4a4(0x126)](),this[_0x53c4a4(0x150)][_0x53c4a4(0x188)][_0x53c4a4(0x152)](_0x53c4a4(0x155))[_0x53c4a4(0x142)](_0x3a9b6e[_0x53c4a4(0x147)],_0x223053));}),_0xc7c19f[_0x4b57c5(0x145)](_0x223053,_0x5f01d1);}}async[_0x1fe42e(0x182)](_0x21b82d){const _0x4a98da=_0x1fe42e;if(this[_0x4a98da(0x170)][_0x4a98da(0x186)](_0x21b82d))throw new _0xdd9fb6(_0x4a98da(0x164),null,{'channelId':_0x21b82d});const _0x50117a=this[_0x4a98da(0x150)][_0x4a98da(0x188)][_0x4a98da(0x152)](_0x4a98da(0x127)),_0x48dcce=new s[(_0x4a98da(0x17e))](_0x21b82d);this[_0x4a98da(0x170)][_0x4a98da(0x15f)](_0x21b82d,_0x48dcce),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x13c),(_0x2a331b,_0x5bdc67)=>{const _0xd9f4ee=_0x4a98da,{commentThreadId:_0x4a4513,documentId:_0xe494c2,context:_0x6058e1,attributes:_0x223a9e,resolvedAt:_0x2991bc,resolvedBy:_0x15e470,comments:_0x569fe0}=_0x5bdc67;_0x50117a[_0xd9f4ee(0x135)](_0x4a4513)||_0x50117a[_0xd9f4ee(0x134)]({'threadId':_0x4a4513,'channelId':_0xe494c2,'comments':_0x569fe0?_0x569fe0[_0xd9f4ee(0x165)](et):[],'context':_0x6058e1,'attributes':_0x223a9e,'resolvedAt':_0x2991bc,'resolvedBy':_0x15e470,'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x154),(_0x8e9256,{commentThreadId:_0xf09bd9,documentId:_0x30a981,context:_0x260142,unlinkedAt:_0xedbaa2,attributes:_0xfb848b})=>{const _0xc71834=_0x4a98da;_0x50117a[_0xc71834(0x135)](_0xf09bd9)&&_0x50117a[_0xc71834(0x153)]({'threadId':_0xf09bd9,'channelId':_0x30a981,'context':_0x260142,'unlinkedAt':_0xedbaa2,'attributes':_0xfb848b,'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x18b),(_0x29a084,{commentThreadId:_0x2ba38c,resolvedBy:_0x5842fa,resolvedAt:_0x21fbaa})=>{const _0x283350=_0x4a98da,_0x239e42=_0x50117a[_0x283350(0x135)](_0x2ba38c);_0x239e42&&_0x239e42[_0x283350(0x12f)]({'resolvedBy':_0x5842fa,'resolvedAt':_0x21fbaa,'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x180),(_0x449209,{commentThreadId:_0x582b17})=>{const _0x34edb6=_0x4a98da,_0x31931d=_0x50117a[_0x34edb6(0x135)](_0x582b17);_0x31931d&&_0x31931d[_0x34edb6(0x168)]({'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x176),(_0x29b8a5,{commentThreadId:_0x5a4b33})=>{const _0x315240=_0x4a98da,_0x204549=_0x50117a[_0x315240(0x135)](_0x5a4b33);_0x204549&&_0x204549[_0x315240(0x138)]({'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x157),(_0x14b906,_0x11970e)=>{const _0x28a7a1=_0x4a98da,_0x2bed57=_0x11970e[_0x28a7a1(0x141)],_0x5a995c=_0x50117a[_0x28a7a1(0x135)](_0x2bed57);_0x5a995c&&_0x5a995c[_0x28a7a1(0x183)]({...et(_0x11970e),'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x143),(_0x5b3e5a,{commentThreadId:_0xda1a0,commentId:_0x350230,content:_0x4f97a1,attributes:_0x3dcdfb})=>{const _0x48c273=_0x4a98da,_0x31b801=_0x50117a[_0x48c273(0x135)](_0xda1a0);if(_0x31b801){const _0x57b551=_0x31b801[_0x48c273(0x151)](_0x350230);_0x57b551&&_0x57b551[_0x48c273(0x17b)]({'content':_0x4f97a1,'attributes':_0x3dcdfb,'isFromAdapter':!0x0});}}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x12b),(_0x5953e8,{commentThreadId:_0xfd4ab1,commentId:_0x10a93d})=>{const _0x138ea7=_0x4a98da,_0x383536=_0x50117a[_0x138ea7(0x135)](_0xfd4ab1);if(_0x383536){const _0x1737f1=_0x383536[_0x138ea7(0x151)](_0x10a93d);_0x1737f1&&_0x1737f1[_0x138ea7(0x138)]({'isFromAdapter':!0x0});}}),await this[_0x4a98da(0x15b)](_0x21b82d);}[_0x1fe42e(0x17f)](){const _0x5f40e4=_0x1fe42e;if(this[_0x5f40e4(0x150)]instanceof _0xef6b14){const _0x2a18a3=this[_0x5f40e4(0x150)][_0x5f40e4(0x17c)][_0x5f40e4(0x152)](_0x5f40e4(0x167));this[_0x5f40e4(0x13a)](_0x2a18a3);}}[_0x1fe42e(0x13a)](_0x1c8a75){const _0x67d45d=_0x1fe42e;if(!this[_0x67d45d(0x170)][_0x67d45d(0x186)](_0x1c8a75))throw new _0xdd9fb6(_0x67d45d(0x14f),null,{'channelId':_0x1c8a75});this[_0x67d45d(0x13f)](_0x1c8a75)[_0x67d45d(0x136)](),this[_0x67d45d(0x170)][_0x67d45d(0x137)](_0x1c8a75);}async[_0x1fe42e(0x14b)](){const _0x2bd7f4=_0x1fe42e;for(const _0x463e3e of this[_0x2bd7f4(0x170)][_0x2bd7f4(0x14a)]())await this[_0x2bd7f4(0x15b)](_0x463e3e);if(this[_0x2bd7f4(0x150)]instanceof _0xef6b14){const _0x5b08b6=this[_0x2bd7f4(0x150)][_0x2bd7f4(0x17c)][_0x2bd7f4(0x152)](_0x2bd7f4(0x167)),_0x27d35e=this[_0x2bd7f4(0x150)][_0x2bd7f4(0x188)][_0x2bd7f4(0x152)](_0x586cb8);_0x27d35e[_0x2bd7f4(0x133)](_0x5b08b6);const _0x54e50d=await this[_0x2bd7f4(0x170)][_0x2bd7f4(0x152)](_0x5b08b6)[_0x2bd7f4(0x171)]();_0x27d35e[_0x2bd7f4(0x145)](_0x5b08b6,_0x54e50d);}}async[_0x1fe42e(0x15b)](_0x4c758c){const _0x342c93=_0x1fe42e,{connection:_0x5457d6}=this[_0x342c93(0x150)][_0x342c93(0x188)][_0x342c93(0x152)](_0x37768f),_0xe17919=this[_0x342c93(0x150)][_0x342c93(0x188)][_0x342c93(0x152)](_0x342c93(0x127)),_0x122ca6=this[_0x342c93(0x170)][_0x342c93(0x152)](_0x4c758c),_0x3d2750=await _0x122ca6[_0x342c93(0x144)](_0x5457d6);await this[_0x342c93(0x172)](_0x3d2750);const _0x3c5d97=new Set(Array[_0x342c93(0x13e)](_0xe17919[_0x342c93(0x146)]({'channelId':_0x4c758c}),_0xe64ed0=>_0xe64ed0['id']));for(const _0x44b0cb of _0x3d2750)_0x44b0cb[_0x342c93(0x14e)]||_0x3c5d97[_0x342c93(0x137)](_0x44b0cb[_0x342c93(0x141)]);for(const _0x1b3a78 of _0x3c5d97)_0xe17919[_0x342c93(0x135)](_0x1b3a78)[_0x342c93(0x138)]({'isFromAdapter':!0x0});for(const _0x5d0e4a of _0x3d2750){let _0x385bba=_0xe17919[_0x342c93(0x135)](_0x5d0e4a[_0x342c93(0x141)]);const {commentThreadId:_0x15adb6,context:_0x33e785,attributes:_0xe6b3e4,resolvedBy:_0x53f915,resolvedAt:_0x4bc781,unlinkedAt:_0x182901,deletedAt:_0x5a3742}=_0x5d0e4a;if(_0x5a3742)continue;_0x385bba||(_0x385bba=_0xe17919[_0x342c93(0x134)]({'channelId':_0x4c758c,'threadId':_0x15adb6,'context':_0x33e785,'attributes':_0xe6b3e4||{},'resolvedBy':_0x53f915,'resolvedAt':_0x4bc781,'unlinkedAt':_0x182901,'isFromAdapter':!0x0}));const _0x29a2c8=new Set(Array[_0x342c93(0x13e)](_0x385bba[_0x342c93(0x16d)],_0x25664a=>_0x25664a['id']));for(const _0x261111 of _0x5d0e4a[_0x342c93(0x16d)])_0x29a2c8[_0x342c93(0x137)](_0x261111[_0x342c93(0x16f)]);for(const _0x3dd632 of _0x29a2c8)_0x385bba[_0x342c93(0x151)](_0x3dd632)[_0x342c93(0x138)]({'isFromAdapter':!0x0});for(const _0x2e4f73 of _0x5d0e4a[_0x342c93(0x16d)]){const _0x3a9a17=_0x385bba[_0x342c93(0x151)](_0x2e4f73[_0x342c93(0x16f)]);_0x3a9a17?_0x3a9a17[_0x342c93(0x16e)]!==_0x2e4f73[_0x342c93(0x16e)]&&_0x3a9a17[_0x342c93(0x17b)]({'content':_0x2e4f73[_0x342c93(0x16e)],'isFromAdapter':!0x0}):_0x385bba[_0x342c93(0x183)](Object[_0x342c93(0x15d)](et(_0x2e4f73),{'isFromAdapter':!0x0}));}}}[_0x1fe42e(0x13f)](_0xbe3250){const _0x37841b=_0x1fe42e;if(!this[_0x37841b(0x170)][_0x37841b(0x186)](_0xbe3250))throw new _0xdd9fb6(_0x37841b(0x177),null,{'channelId':_0xbe3250});return this[_0x37841b(0x170)][_0x37841b(0x152)](_0xbe3250);}async[_0x1fe42e(0x172)](_0x548afd){const _0x2851ae=_0x1fe42e,_0x17d628=this[_0x2851ae(0x150)][_0x2851ae(0x188)][_0x2851ae(0x152)](_0x39499f),{connection:_0x4254f0}=this[_0x2851ae(0x150)][_0x2851ae(0x188)][_0x2851ae(0x152)](_0x37768f),_0x15f61c=new Set();for(const {resolvedBy:_0x115be7,comments:_0x33b423}of _0x548afd){_0x115be7&&!_0x17d628[_0x2851ae(0x17a)](_0x115be7)&&_0x15f61c[_0x2851ae(0x128)](_0x115be7);for(const {userId:_0x5da5c2}of _0x33b423)_0x17d628[_0x2851ae(0x17a)](_0x5da5c2)||_0x15f61c[_0x2851ae(0x128)](_0x5da5c2);}if(0x0===_0x15f61c[_0x2851ae(0x159)])return;const _0x3a37b1=await _0x55d551[_0x2851ae(0x148)](_0x4254f0,Array[_0x2851ae(0x13e)](_0x15f61c));for(const _0x3963f0 of _0x3a37b1)_0x17d628[_0x2851ae(0x17a)](_0x3963f0['id'])||_0x17d628[_0x2851ae(0x17d)](_0x3963f0);}}function _0x3552(){const _0x19675a=['map','authorId','collaboration.channelId','reopen','removeComment','updateComment','addToReconnectionStack','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','comments','content','commentId','_services','getConnectedSessions','_fetchMissingUsersForThreads','listenTo','adapter','init','commentThreadRemoved','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','getUser','update','config','addUser','CommentsService','destroy','commentThreadReopened','9176358xhChuA','_setUpService','addComment','9MAIGOq','mySessionId','has','message','plugins','1291671jyXeoj','startsWith','commentThreadResolved','off','CommentsRepository','add','createdAt','5379850aHdFQw','commentRemoved','resolvedAt','isOfficialPlugin','6XvpAUk','resolve','catch','32852920LNZHYg','requires','unregister','addCommentThread','getCommentThread','disconnect','delete','remove','CloudServicesCommentsAdapter','_terminateService','pluginName','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','from','_getService','resolveCommentThread','commentThreadId','setPermissions','commentUpdated','connect','register','getCommentThreads','permissions','getMany','404','keys','reconnect','reopenCommentThread','code','deletedAt','cloudservicescommentsadapter-disconnect-not-exist','context','getComment','get','updateCommentThread','commentThreadUpdated','Permissions','userId','commentAdded','attributes','size','sessionAdd:','_connectService','600580OvZBht','assign','resolvedBy','set','933112wwbHCE','2833148aWyDqc','removeCommentThread','7usUZgx','cloudservicescommentsadapter-connect-already-connected'];_0x3552=function(){return _0x19675a;};return _0x3552();}export{s as CloudServicesCommentsAdapter};async function Z(_0x7b418a){const _0x4bc27a=_0x1fe42e;if(_0x4bc27a(0x149)!==_0x7b418a[_0x4bc27a(0x14d)])throw _0x7b418a;}function tt(_0xe6001e){const _0x222739=_0x1fe42e;if((_0x6174d7=_0xe6001e)[_0x222739(0x187)][_0x222739(0x18a)](_0x222739(0x16c))||_0x6174d7[_0x222739(0x187)][_0x222739(0x18a)](_0x222739(0x178))||_0x6174d7[_0x222739(0x187)][_0x222739(0x18a)](_0x222739(0x13d)))return new Promise(()=>{});var _0x6174d7;throw _0xe6001e;}function et(_0x705ef6){const _0x1c4f3b=_0x1fe42e;return{'threadId':_0x705ef6[_0x1c4f3b(0x141)],'commentId':_0x705ef6[_0x1c4f3b(0x16f)],'content':_0x705ef6[_0x1c4f3b(0x16e)],'createdAt':_0x705ef6[_0x1c4f3b(0x129)],'authorId':_0x705ef6[_0x1c4f3b(0x156)],'attributes':_0x705ef6[_0x1c4f3b(0x158)]||{}};}
|
|
23
|
+
const _0x4224ad=_0x49ff;(function(_0x100544,_0x14bc5e){const _0x2ab009=_0x49ff,_0x6fb275=_0x100544();while(!![]){try{const _0x237dcb=-parseInt(_0x2ab009(0x133))/0x1+parseInt(_0x2ab009(0x127))/0x2+parseInt(_0x2ab009(0x13d))/0x3+-parseInt(_0x2ab009(0xdf))/0x4*(-parseInt(_0x2ab009(0x10a))/0x5)+-parseInt(_0x2ab009(0x137))/0x6*(-parseInt(_0x2ab009(0x139))/0x7)+parseInt(_0x2ab009(0xff))/0x8*(-parseInt(_0x2ab009(0xfb))/0x9)+parseInt(_0x2ab009(0xfd))/0xa*(-parseInt(_0x2ab009(0x121))/0xb);if(_0x237dcb===_0x14bc5e)break;else _0x6fb275['push'](_0x6fb275['shift']());}catch(_0x3a70e){_0x6fb275['push'](_0x6fb275['shift']());}}}(_0x2aaa,0x1b976));import{Context as _0x321968,ContextPlugin as _0x2241ee}from'ckeditor5/src/core.js';function _0x49ff(_0xf7f190,_0x145778){const _0x2aaadd=_0x2aaa();return _0x49ff=function(_0x49ff72,_0x23b65d){_0x49ff72=_0x49ff72-0xd8;let _0x3291a4=_0x2aaadd[_0x49ff72];return _0x3291a4;},_0x49ff(_0xf7f190,_0x145778);}import{CKEditorError as _0x9a9c4}from'ckeditor5/src/utils.js';import{Users as _0x5e3cb0}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0xe59d4,User as _0x14e34d}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x283d34}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x3d53a0}from'../realtimecollaborativeediting/sessions.js';class s extends _0x2241ee{static [_0x4224ad(0xeb)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0xe59d4)());[_0x4224ad(0x104)];static get[_0x4224ad(0xed)](){const _0x34a668=_0x4224ad;return[_0x283d34,_0x34a668(0x134),_0x3d53a0,_0x5e3cb0];}static get[_0x4224ad(0x115)](){const _0x37b31d=_0x4224ad;return _0x37b31d(0x105);}static get[_0x4224ad(0xf6)](){return!0x0;}static get[_0x4224ad(0xf2)](){return!0x0;}constructor(_0x5208f4){const _0x385edf=_0x4224ad;super(_0x5208f4),this[_0x385edf(0x104)]=new Map();}async[_0x4224ad(0x135)](){const _0x37ff6c=_0x4224ad,_0x30723f=this[_0x37ff6c(0xe2)],_0x4dfffe=_0x30723f[_0x37ff6c(0x12d)][_0x37ff6c(0xe7)](_0x37ff6c(0x134));if(_0x30723f[_0x37ff6c(0x12d)][_0x37ff6c(0xe7)](_0x283d34)[_0x37ff6c(0x103)](this),_0x4dfffe[_0x37ff6c(0xe3)]={'addCommentThread':async({channelId:_0x157183,threadId:_0x623d49,comments:_0x4599aa,resolvedAt:_0x1c3bed,resolvedBy:_0x59f225,context:_0x437d17,attributes:_0x46af08})=>{const _0x1cae80=_0x37ff6c,_0x30f4b7=await this[_0x1cae80(0xf9)](_0x157183)[_0x1cae80(0x13a)]({'commentThreadId':_0x623d49,'comments':_0x4599aa[_0x1cae80(0xfe)](_0x51bfa2=>function(_0x191ab9,_0x18f173,_0x15f07e){const _0x2ab583=_0x1cae80;return{'commentThreadId':_0x15f07e,'commentId':_0x191ab9[_0x2ab583(0x123)],'userId':_0x191ab9[_0x2ab583(0x111)],'content':_0x191ab9[_0x2ab583(0xf7)],'documentId':_0x18f173,'createdAt':_0x191ab9[_0x2ab583(0x13b)],'attributes':_0x191ab9[_0x2ab583(0x11f)]||{}};}(_0x51bfa2,_0x157183,_0x623d49)),'resolvedAt':_0x1c3bed,'resolvedBy':_0x59f225,'context':_0x437d17,'attributes':_0x46af08})[_0x1cae80(0x110)](tt);return{'threadId':_0x30f4b7[_0x1cae80(0x113)],'comments':_0x30f4b7[_0x1cae80(0xf8)]};},'getCommentThread':async({channelId:_0x2f2b92,threadId:_0x25aed0})=>{const _0x5e117d=_0x37ff6c,_0x5ee477=await this[_0x5e117d(0xf9)](_0x2f2b92)[_0x5e117d(0x124)](_0x25aed0)[_0x5e117d(0x110)](tt);return _0x5ee477[_0x5e117d(0x12c)]?null:(await this[_0x5e117d(0xee)]([_0x5ee477]),{'threadId':_0x5ee477[_0x5e117d(0x113)],'comments':_0x5ee477[_0x5e117d(0xf8)][_0x5e117d(0xfe)](et),'context':_0x5ee477[_0x5e117d(0xe2)],'resolvedAt':_0x5ee477[_0x5e117d(0x109)],'resolvedBy':_0x5ee477[_0x5e117d(0xe4)],'attributes':_0x5ee477[_0x5e117d(0x11f)]||{}});},'updateCommentThread':async({channelId:_0x195032,threadId:_0x495d29,context:_0x195a63,unlinkedAt:_0x3ce574,attributes:_0x28086a})=>this[_0x37ff6c(0xf9)](_0x195032)[_0x37ff6c(0xf3)]({'commentThreadId':_0x495d29,'context':_0x195a63,'attributes':_0x28086a,'unlinkedAt':_0x3ce574})[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'resolveCommentThread':async({channelId:_0x560d84,threadId:_0x500457})=>{const _0x36eb98=_0x37ff6c,_0x457520=await this[_0x36eb98(0xf9)](_0x560d84)[_0x36eb98(0xec)](_0x500457)[_0x36eb98(0x110)](Z)[_0x36eb98(0x110)](tt);return{'threadId':_0x457520[_0x36eb98(0x113)],'resolvedAt':_0x457520[_0x36eb98(0x109)],'resolvedBy':_0x457520[_0x36eb98(0xe4)]};},'reopenCommentThread':async({channelId:_0x4d5e5b,threadId:_0x6ba342})=>this[_0x37ff6c(0xf9)](_0x4d5e5b)[_0x37ff6c(0x128)](_0x6ba342)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'removeCommentThread':({channelId:_0x2961d9,threadId:_0x1f8de9})=>this[_0x37ff6c(0xf9)](_0x2961d9)[_0x37ff6c(0x132)](_0x1f8de9)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'addComment':({channelId:_0x3343b8,threadId:_0x23de67,commentId:_0x5d8ee1,content:_0x18adb8,attributes:_0xba4958})=>this[_0x37ff6c(0xf9)](_0x3343b8)[_0x37ff6c(0x114)](_0x23de67,_0x5d8ee1,_0x18adb8,_0xba4958)[_0x37ff6c(0x110)](tt),'updateComment':({channelId:_0x2787c8,threadId:_0x4f90d3,commentId:_0x7c9b0d,content:_0x5cbf30,attributes:_0x35a76c})=>this[_0x37ff6c(0xf9)](_0x2787c8)[_0x37ff6c(0x10e)](_0x4f90d3,_0x7c9b0d,_0x5cbf30,_0x35a76c)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt),'removeComment':({channelId:_0x16188b,threadId:_0x183d7f,commentId:_0x36066c})=>this[_0x37ff6c(0xf9)](_0x16188b)[_0x37ff6c(0xd8)](_0x183d7f,_0x36066c)[_0x37ff6c(0x110)](Z)[_0x37ff6c(0x110)](tt)},_0x30723f instanceof _0x321968){const _0x2b1bf0=_0x30723f[_0x37ff6c(0xdc)][_0x37ff6c(0xe7)](_0x37ff6c(0x11e)),_0x1721da=_0x30723f[_0x37ff6c(0x12d)][_0x37ff6c(0xe7)](_0x3d53a0);await this[_0x37ff6c(0xda)](_0x2b1bf0);const _0x1e3c3d=await this[_0x37ff6c(0x104)][_0x37ff6c(0xe7)](_0x2b1bf0)[_0x37ff6c(0x116)]();this[_0x37ff6c(0xfa)](_0x1721da,_0x37ff6c(0xef)+_0x2b1bf0,(_0x2d915c,{session:_0x52cecf})=>{const _0x2b1e28=_0x37ff6c;_0x52cecf['id']===_0x1721da[_0x2b1e28(0x10f)]&&(_0x2d915c[_0x2b1e28(0x125)](),this[_0x2b1e28(0xe2)][_0x2b1e28(0x12d)][_0x2b1e28(0xe7)](_0x2b1e28(0xe5))[_0x2b1e28(0x122)](_0x52cecf[_0x2b1e28(0x10c)],_0x2b1bf0));}),_0x1721da[_0x37ff6c(0x13c)](_0x2b1bf0,_0x1e3c3d);}}async[_0x4224ad(0xda)](_0x38067c){const _0x470897=_0x4224ad;if(this[_0x470897(0x104)][_0x470897(0x108)](_0x38067c))throw new _0x9a9c4(_0x470897(0x11a),null,{'channelId':_0x38067c});const _0x5afccb=this[_0x470897(0xe2)][_0x470897(0x12d)][_0x470897(0xe7)](_0x470897(0x134)),_0x26e9cb=new s[(_0x470897(0xeb))](_0x38067c);this[_0x470897(0x104)][_0x470897(0x136)](_0x38067c,_0x26e9cb),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x12e),(_0x2bee45,_0x350473)=>{const _0x2b289c=_0x470897,{commentThreadId:_0x460e65,documentId:_0x409434,context:_0x5b28af,attributes:_0x4b97bc,resolvedAt:_0x10cfdf,resolvedBy:_0xa5256a,comments:_0xecf561}=_0x350473;_0x5afccb[_0x2b289c(0x124)](_0x460e65)||_0x5afccb[_0x2b289c(0x13a)]({'threadId':_0x460e65,'channelId':_0x409434,'comments':_0xecf561?_0xecf561[_0x2b289c(0xfe)](et):[],'context':_0x5b28af,'attributes':_0x4b97bc,'resolvedAt':_0x10cfdf,'resolvedBy':_0xa5256a,'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x12b),(_0x5ae9df,{commentThreadId:_0xf903da,documentId:_0x372ea0,context:_0x525de7,unlinkedAt:_0x448638,attributes:_0x4b0c7c})=>{const _0x412eb5=_0x470897;_0x5afccb[_0x412eb5(0x124)](_0xf903da)&&_0x5afccb[_0x412eb5(0xf3)]({'threadId':_0xf903da,'channelId':_0x372ea0,'context':_0x525de7,'unlinkedAt':_0x448638,'attributes':_0x4b0c7c,'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x11c),(_0x1bcaa5,{commentThreadId:_0xfd02c5,resolvedBy:_0x1c3071,resolvedAt:_0x2e4858})=>{const _0x380d4c=_0x470897,_0x2e4674=_0x5afccb[_0x380d4c(0x124)](_0xfd02c5);_0x2e4674&&_0x2e4674[_0x380d4c(0x119)]({'resolvedBy':_0x1c3071,'resolvedAt':_0x2e4858,'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xf1),(_0x22ba63,{commentThreadId:_0x48f48e})=>{const _0x85a4a4=_0x470897,_0x4998ae=_0x5afccb[_0x85a4a4(0x124)](_0x48f48e);_0x4998ae&&_0x4998ae[_0x85a4a4(0xf4)]({'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0x102),(_0x409ed1,{commentThreadId:_0x3ee2c4})=>{const _0x1c5fc1=_0x470897,_0x500ff9=_0x5afccb[_0x1c5fc1(0x124)](_0x3ee2c4);_0x500ff9&&_0x500ff9[_0x1c5fc1(0x10d)]({'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xe6),(_0x2cc947,_0x299ef6)=>{const _0x5077ba=_0x470897,_0x3fe324=_0x299ef6[_0x5077ba(0x113)],_0x47bec5=_0x5afccb[_0x5077ba(0x124)](_0x3fe324);_0x47bec5&&_0x47bec5[_0x5077ba(0x114)]({...et(_0x299ef6),'isFromAdapter':!0x0});}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xe9),(_0x4f8497,{commentThreadId:_0xb48e81,commentId:_0x254fce,content:_0x38de3a,attributes:_0x49d8c8})=>{const _0x559bbf=_0x470897,_0x32494d=_0x5afccb[_0x559bbf(0x124)](_0xb48e81);if(_0x32494d){const _0x21bc72=_0x32494d[_0x559bbf(0x100)](_0x254fce);_0x21bc72&&_0x21bc72[_0x559bbf(0xe0)]({'content':_0x38de3a,'attributes':_0x49d8c8,'isFromAdapter':!0x0});}}),this[_0x470897(0xfa)](_0x26e9cb,_0x470897(0xf5),(_0x76431a,{commentThreadId:_0x2f5481,commentId:_0x1719ea})=>{const _0x47e191=_0x470897,_0x2765d9=_0x5afccb[_0x47e191(0x124)](_0x2f5481);if(_0x2765d9){const _0x3cd085=_0x2765d9[_0x47e191(0x100)](_0x1719ea);_0x3cd085&&_0x3cd085[_0x47e191(0x10d)]({'isFromAdapter':!0x0});}}),await this[_0x470897(0xe1)](_0x38067c);}[_0x4224ad(0xd9)](){const _0x1db6c6=_0x4224ad;if(this[_0x1db6c6(0xe2)]instanceof _0x321968){const _0x50a65d=this[_0x1db6c6(0xe2)][_0x1db6c6(0xdc)][_0x1db6c6(0xe7)](_0x1db6c6(0x11e));this[_0x1db6c6(0xea)](_0x50a65d);}}[_0x4224ad(0xea)](_0x353dd5){const _0x64d9fe=_0x4224ad;if(!this[_0x64d9fe(0x104)][_0x64d9fe(0x108)](_0x353dd5))throw new _0x9a9c4(_0x64d9fe(0x107),null,{'channelId':_0x353dd5});this[_0x64d9fe(0xf9)](_0x353dd5)[_0x64d9fe(0x11b)](),this[_0x64d9fe(0x104)][_0x64d9fe(0x131)](_0x353dd5);}async[_0x4224ad(0x126)](){const _0x431952=_0x4224ad;for(const _0x55dd3c of this[_0x431952(0x104)][_0x431952(0xf0)]())await this[_0x431952(0xe1)](_0x55dd3c);if(this[_0x431952(0xe2)]instanceof _0x321968){const _0xb78b60=this[_0x431952(0xe2)][_0x431952(0xdc)][_0x431952(0xe7)](_0x431952(0x11e)),_0x49752d=this[_0x431952(0xe2)][_0x431952(0x12d)][_0x431952(0xe7)](_0x3d53a0);_0x49752d[_0x431952(0xde)](_0xb78b60);const _0x2390b4=await this[_0x431952(0x104)][_0x431952(0xe7)](_0xb78b60)[_0x431952(0x116)]();_0x49752d[_0x431952(0x13c)](_0xb78b60,_0x2390b4);}}async[_0x4224ad(0xe1)](_0x2da181){const _0x57e201=_0x4224ad,{connection:_0x44542f}=this[_0x57e201(0xe2)][_0x57e201(0x12d)][_0x57e201(0xe7)](_0x283d34),_0x2d3e6b=this[_0x57e201(0xe2)][_0x57e201(0x12d)][_0x57e201(0xe7)](_0x57e201(0x134)),_0x15690f=this[_0x57e201(0x104)][_0x57e201(0xe7)](_0x2da181),_0x104147=await _0x15690f[_0x57e201(0x130)](_0x44542f);await this[_0x57e201(0xee)](_0x104147);const _0x21dbb4=new Set(Array[_0x57e201(0xfc)](_0x2d3e6b[_0x57e201(0x129)]({'channelId':_0x2da181}),_0x4e764e=>_0x4e764e['id']));for(const _0x4b9139 of _0x104147)_0x4b9139[_0x57e201(0x12c)]||_0x21dbb4[_0x57e201(0x131)](_0x4b9139[_0x57e201(0x113)]);for(const _0x253d3d of _0x21dbb4)_0x2d3e6b[_0x57e201(0x124)](_0x253d3d)[_0x57e201(0x10d)]({'isFromAdapter':!0x0});for(const _0x5be771 of _0x104147){let _0x314f6a=_0x2d3e6b[_0x57e201(0x124)](_0x5be771[_0x57e201(0x113)]);const {commentThreadId:_0x2c1652,context:_0x5f2cd8,attributes:_0x320551,resolvedBy:_0x5dae51,resolvedAt:_0x22cccd,unlinkedAt:_0xa184aa,deletedAt:_0x36103e}=_0x5be771;if(_0x36103e)continue;_0x314f6a||(_0x314f6a=_0x2d3e6b[_0x57e201(0x13a)]({'channelId':_0x2da181,'threadId':_0x2c1652,'context':_0x5f2cd8,'attributes':_0x320551||{},'resolvedBy':_0x5dae51,'resolvedAt':_0x22cccd,'unlinkedAt':_0xa184aa,'isFromAdapter':!0x0}));const _0x52c8e3=new Set(Array[_0x57e201(0xfc)](_0x314f6a[_0x57e201(0xf8)],_0x589aa3=>_0x589aa3['id']));for(const _0x58e6fe of _0x5be771[_0x57e201(0xf8)])_0x52c8e3[_0x57e201(0x131)](_0x58e6fe[_0x57e201(0x123)]);for(const _0x56d72a of _0x52c8e3)_0x314f6a[_0x57e201(0x100)](_0x56d72a)[_0x57e201(0x10d)]({'isFromAdapter':!0x0});for(const _0x86e1c8 of _0x5be771[_0x57e201(0xf8)]){const _0x1f7ce5=_0x314f6a[_0x57e201(0x100)](_0x86e1c8[_0x57e201(0x123)]);_0x1f7ce5?_0x1f7ce5[_0x57e201(0xf7)]!==_0x86e1c8[_0x57e201(0xf7)]&&_0x1f7ce5[_0x57e201(0xe0)]({'content':_0x86e1c8[_0x57e201(0xf7)],'isFromAdapter':!0x0}):_0x314f6a[_0x57e201(0x114)](Object[_0x57e201(0x117)](et(_0x86e1c8),{'isFromAdapter':!0x0}));}}}[_0x4224ad(0xf9)](_0x56ff99){const _0x497dfa=_0x4224ad;if(!this[_0x497dfa(0x104)][_0x497dfa(0x108)](_0x56ff99))throw new _0x9a9c4(_0x497dfa(0xe8),null,{'channelId':_0x56ff99});return this[_0x497dfa(0x104)][_0x497dfa(0xe7)](_0x56ff99);}async[_0x4224ad(0xee)](_0x4649b1){const _0x1f5caf=_0x4224ad,_0x450d3c=this[_0x1f5caf(0xe2)][_0x1f5caf(0x12d)][_0x1f5caf(0xe7)](_0x5e3cb0),{connection:_0x3f309c}=this[_0x1f5caf(0xe2)][_0x1f5caf(0x12d)][_0x1f5caf(0xe7)](_0x283d34),_0x583a19=new Set();for(const {resolvedBy:_0x25c25f,comments:_0x51d80c}of _0x4649b1){_0x25c25f&&!_0x450d3c[_0x1f5caf(0x106)](_0x25c25f)&&_0x583a19[_0x1f5caf(0x11d)](_0x25c25f);for(const {userId:_0x2bc6fb}of _0x51d80c)_0x450d3c[_0x1f5caf(0x106)](_0x2bc6fb)||_0x583a19[_0x1f5caf(0x11d)](_0x2bc6fb);}if(0x0===_0x583a19[_0x1f5caf(0x10b)])return;const _0x24e697=await _0x14e34d[_0x1f5caf(0x101)](_0x3f309c,Array[_0x1f5caf(0xfc)](_0x583a19));for(const _0x3f3c95 of _0x24e697)_0x450d3c[_0x1f5caf(0x106)](_0x3f3c95['id'])||_0x450d3c[_0x1f5caf(0x13e)](_0x3f3c95);}}export{s as CloudServicesCommentsAdapter};function _0x2aaa(){const _0x3032fd=['resolvedAt','138000UkzGge','size','permissions','remove','updateComment','mySessionId','catch','authorId','cloud-services-internal-error:\x20Not\x20connected.','commentThreadId','addComment','pluginName','getConnectedSessions','assign','code','resolve','cloudservicescommentsadapter-connect-already-connected','disconnect','commentThreadResolved','add','collaboration.channelId','attributes','message','425755WasRgE','setPermissions','commentId','getCommentThread','off','reconnect','424852OcINwF','reopenCommentThread','getCommentThreads','userId','commentThreadUpdated','deletedAt','plugins','commentThreadAdded','404','connect','delete','removeCommentThread','35076uIRjiL','CommentsRepository','init','set','668232ltVLoM','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','14DQRrYp','addCommentThread','createdAt','register','135390zqJrsQ','addUser','removeComment','destroy','_setUpService','startsWith','config','cloud-services-internal-error:\x20Request\x20timeout.','unregister','8FloufG','update','_connectService','context','adapter','resolvedBy','Permissions','commentAdded','get','cloudservicescommentsadapter-service-not-exist','commentUpdated','_terminateService','CommentsService','resolveCommentThread','requires','_fetchMissingUsersForThreads','sessionAdd:','keys','commentThreadReopened','isPremiumPlugin','updateCommentThread','reopen','commentRemoved','isOfficialPlugin','content','comments','_getService','listenTo','69831hwvUbY','from','60vdacfv','map','160BgsDrJ','getComment','getMany','commentThreadRemoved','addToReconnectionStack','_services','CloudServicesCommentsAdapter','getUser','cloudservicescommentsadapter-disconnect-not-exist','has'];_0x2aaa=function(){return _0x3032fd;};return _0x2aaa();}async function Z(_0x39e103){const _0x3e451d=_0x4224ad;if(_0x3e451d(0x12f)!==_0x39e103[_0x3e451d(0x118)])throw _0x39e103;}function tt(_0x1c3e28){const _0x2da6f3=_0x4224ad;if((_0x4cabb0=_0x1c3e28)[_0x2da6f3(0x120)][_0x2da6f3(0xdb)](_0x2da6f3(0x138))||_0x4cabb0[_0x2da6f3(0x120)][_0x2da6f3(0xdb)](_0x2da6f3(0x112))||_0x4cabb0[_0x2da6f3(0x120)][_0x2da6f3(0xdb)](_0x2da6f3(0xdd)))return new Promise(()=>{});var _0x4cabb0;throw _0x1c3e28;}function et(_0x1c08a8){const _0xf422a9=_0x4224ad;return{'threadId':_0x1c08a8[_0xf422a9(0x113)],'commentId':_0x1c08a8[_0xf422a9(0x123)],'content':_0x1c08a8[_0xf422a9(0xf7)],'createdAt':_0x1c08a8[_0xf422a9(0x13b)],'authorId':_0x1c08a8[_0xf422a9(0x12a)],'attributes':_0x1c08a8[_0xf422a9(0x11f)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3157ea=_0x14b5;(function(_0x2e6fdb,_0x1ee197){const _0x27d182=_0x14b5,_0x5f31f0=_0x2e6fdb();while(!![]){try{const _0x3095e5=-parseInt(_0x27d182(0x141))/0x1+parseInt(_0x27d182(0x13f))/0x2*(parseInt(_0x27d182(0x138))/0x3)+-parseInt(_0x27d182(0x149))/0x4+parseInt(_0x27d182(0x13e))/0x5+parseInt(_0x27d182(0x140))/0x6+-parseInt(_0x27d182(0x143))/0x7*(-parseInt(_0x27d182(0x14f))/0x8)+-parseInt(_0x27d182(0x14a))/0x9;if(_0x3095e5===_0x1ee197)break;else _0x5f31f0['push'](_0x5f31f0['shift']());}catch(_0x37dcf9){_0x5f31f0['push'](_0x5f31f0['shift']());}}}(_0x322d,0x1b02f));function _0x322d(){const _0x4614cc=['data','collaboration.channelId','switchReadOnly','_terminateService','plugins','once','141YxoBnw','CommentsEditing','RealTimeCollaborativeComments','editor','destroy','isPremiumPlugin','648890OldoJO','4424bFAqFW','1060674kZJhAG','133668mrMBDg','CommentsRepository','35iCrFqM','connected','isOfficialPlugin','init','requires','change:state','483836sIXxOk','1872900sceSOi','isThreadsLoadingPaused','pluginName','Comments','ready','260552KPdYbk','_setUpService','listenTo','config','get'];_0x322d=function(){return _0x4614cc;};return _0x322d();}function _0x14b5(_0x36df51,_0x14a97c){const _0x322d22=_0x322d();return _0x14b5=function(_0x14b5de,_0x57d829){_0x14b5de=_0x14b5de-0x132;let _0x5ebc9f=_0x322d22[_0x14b5de];return _0x5ebc9f;},_0x14b5(_0x36df51,_0x14a97c);}import{Plugin as _0x6c6bf5}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x5780c5}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4ae01c}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x27835d}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x6c6bf5{static get[_0x3157ea(0x147)](){const _0x34f839=_0x3157ea;return[_0x34f839(0x14d),_0x5780c5,_0x4ae01c,_0x27835d];}static get[_0x3157ea(0x14c)](){const _0x505f46=_0x3157ea;return _0x505f46(0x13a);}static get[_0x3157ea(0x145)](){return!0x0;}static get[_0x3157ea(0x13d)](){return!0x0;}[_0x3157ea(0x146)](){const _0x40fbeb=_0x3157ea,_0x18aa4c=this[_0x40fbeb(0x13b)][_0x40fbeb(0x136)][_0x40fbeb(0x153)](_0x27835d),_0x57e8bb=this[_0x40fbeb(0x13b)][_0x40fbeb(0x136)][_0x40fbeb(0x153)](_0x40fbeb(0x139)),_0x1d20bb=this[_0x40fbeb(0x13b)][_0x40fbeb(0x136)][_0x40fbeb(0x153)](_0x5780c5);return this[_0x40fbeb(0x13b)][_0x40fbeb(0x132)][_0x40fbeb(0x137)](_0x40fbeb(0x14e),()=>{const _0x115487=_0x40fbeb;this[_0x115487(0x151)](_0x18aa4c,_0x115487(0x148),(_0x1e6d2b,_0x740b2,_0x2694a5)=>{const _0x1ee8ed=_0x115487;_0x57e8bb[_0x1ee8ed(0x14b)]=_0x1ee8ed(0x144)!==_0x2694a5;});}),this[_0x40fbeb(0x151)](_0x18aa4c,_0x40fbeb(0x148),(_0xad632a,_0x432f9a,_0x5283b9)=>{const _0x348f3c=_0x40fbeb;this[_0x348f3c(0x13b)][_0x348f3c(0x136)][_0x348f3c(0x153)](_0x348f3c(0x142))[_0x348f3c(0x134)](_0x348f3c(0x144)!==_0x5283b9);}),_0x1d20bb[_0x40fbeb(0x150)](this[_0x40fbeb(0x13b)][_0x40fbeb(0x152)][_0x40fbeb(0x153)](_0x40fbeb(0x133)));}[_0x3157ea(0x13c)](){const _0x21b1e7=_0x3157ea;this[_0x21b1e7(0x13b)][_0x21b1e7(0x136)][_0x21b1e7(0x153)](_0x5780c5)[_0x21b1e7(0x135)](this[_0x21b1e7(0x13b)][_0x21b1e7(0x152)][_0x21b1e7(0x153)](_0x21b1e7(0x133))),super[_0x21b1e7(0x13c)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1bcb5c)());[_0x46ec9e(0x25f)];[_0x46ec9e(0x256)];[_0x46ec9e(0x1c6)];[_0x46ec9e(0x1ba)];[_0x46ec9e(0x294)];[_0x46ec9e(0x282)];[_0x46ec9e(0x226)];[_0x46ec9e(0x1de)];[_0x46ec9e(0x1db)];[_0x46ec9e(0x216)];[_0x46ec9e(0x220)];[_0x46ec9e(0x27b)];[_0x46ec9e(0x249)];[_0x46ec9e(0x237)];[_0x46ec9e(0x242)];[_0x46ec9e(0x1e9)];[_0x46ec9e(0x1c4)];[_0x46ec9e(0x1d7)];static get[_0x46ec9e(0x24e)](){return[_0x49b70b,_0xf9728e,_0x195cd3,_0x234a3b,_0x430dac,_0xe302f];}static get[_0x46ec9e(0x262)](){const _0x411e1f=_0x46ec9e;return _0x411e1f(0x1b4);}static get[_0x46ec9e(0x280)](){return!0x0;}static get[_0x46ec9e(0x29b)](){return!0x0;}get[_0x46ec9e(0x1f7)](){const _0x18f48b=_0x46ec9e;return this[_0x18f48b(0x1bb)]+this[_0x18f48b(0x25f)];}get[_0x46ec9e(0x1bb)](){const _0x34c0d8=_0x46ec9e;return this[_0x34c0d8(0x1c6)][_0x34c0d8(0x1d2)]-this[_0x34c0d8(0x25f)];}get[_0x46ec9e(0x1ed)](){const _0x44b577=_0x46ec9e,_0x32de75=this[_0x44b577(0x1c6)][_0x44b577(0x232)]();for(let _0x54575f=_0x32de75[_0x44b577(0x1f3)]-0x1;_0x54575f>=0x0;_0x54575f--){const _0x306779=_0x32de75[_0x54575f];if(!this[_0x44b577(0x1c4)][_0x44b577(0x26a)](_0x306779))return _0x306779[_0x44b577(0x201)]+0x1-this[_0x44b577(0x25f)];}return 0x0;}constructor(_0x27609e){const _0x48f9c1=_0x46ec9e;if(super(_0x27609e),this[_0x48f9c1(0x25f)]=0x0,this[_0x48f9c1(0x256)]=null,this[_0x48f9c1(0x1c6)]=new _0x59c3fa(),this[_0x48f9c1(0x1d3)][_0x48f9c1(0x254)][_0x48f9c1(0x28b)](_0x48f9c1(0x297),{}),this[_0x48f9c1(0x1ba)]=this[_0x48f9c1(0x1d3)][_0x48f9c1(0x254)][_0x48f9c1(0x22a)](_0x48f9c1(0x207)),!this[_0x48f9c1(0x1ba)])throw new _0x671325(_0x48f9c1(0x21d),this);const _0x2b86f0=_0x27609e[_0x48f9c1(0x254)][_0x48f9c1(0x22a)](_0x48f9c1(0x1fd))||_0x3f5070;this[_0x48f9c1(0x294)]=new l[(_0x48f9c1(0x26f))](_0x2b86f0,this[_0x48f9c1(0x1ba)]),this[_0x48f9c1(0x282)]=this[_0x48f9c1(0x1d3)][_0x48f9c1(0x28c)][_0x48f9c1(0x24a)],this[_0x48f9c1(0x226)]=new _0x51534c(),this[_0x48f9c1(0x1de)]=[],this[_0x48f9c1(0x1db)]=new WeakSet(),this[_0x48f9c1(0x216)]=new Set(),this[_0x48f9c1(0x240)](_0x48f9c1(0x2ab),!0x1),this[_0x48f9c1(0x240)](_0x48f9c1(0x214),!0x1),this[_0x48f9c1(0x220)]=null,this[_0x48f9c1(0x27b)]=!0x1,this[_0x48f9c1(0x249)]=null,this[_0x48f9c1(0x237)]=0x12c,this[_0x48f9c1(0x242)]=this[_0x48f9c1(0x237)],this[_0x48f9c1(0x1e9)]=null,this[_0x48f9c1(0x1c4)]=new WeakSet(),this[_0x48f9c1(0x1d7)]=new F(this[_0x48f9c1(0x1c4)]);}[_0x46ec9e(0x1bc)](){const _0x2d3142=_0x46ec9e,_0x363174=this[_0x2d3142(0x1d3)],_0x339b75=_0x363174[_0x2d3142(0x20b)][_0x2d3142(0x22a)](_0x430dac),_0x3dffb6=_0x363174[_0x2d3142(0x20b)][_0x2d3142(0x22a)](_0x49b70b);this[_0x2d3142(0x20f)](_0x339b75,_0x2d3142(0x20c),(_0x21d7d9,_0x5db4b8)=>{const _0x5978d7=_0x2d3142,_0x21adac=_0x5db4b8[0x0];_0x21adac[_0x5978d7(0x2a1)]&&(_0x21d7d9[_0x5978d7(0x264)]=_0x339b75[_0x5978d7(0x271)](_0x21adac[_0x5978d7(0x2a1)]),_0x21d7d9[_0x5978d7(0x231)]()),null===_0x21adac[_0x5978d7(0x2a1)]&&(_0x21d7d9[_0x5978d7(0x264)]=null,_0x21d7d9[_0x5978d7(0x231)]());},{'priority':_0x2d3142(0x2a3)}),this[_0x2d3142(0x20f)](_0x363174[_0x2d3142(0x28c)][_0x2d3142(0x24a)][_0x2d3142(0x1d6)],_0x2d3142(0x1c7),(_0x499eda,_0x4f5980)=>{const _0x24ec19=_0x2d3142;_0x4f5980[_0x24ec19(0x1d8)]&&this[_0x24ec19(0x1ff)]();}),this[_0x2d3142(0x20f)](_0x363174[_0x2d3142(0x298)][_0x2d3142(0x211)],_0x2d3142(0x203),()=>{const _0x33fa2d=_0x2d3142;this[_0x33fa2d(0x1ff)]();}),this[_0x2d3142(0x1fe)](),_0x363174[_0x2d3142(0x28c)]['on'](_0x2d3142(0x1d4),(_0x26beba,_0x4e6f84)=>{const _0x3a876a=_0x2d3142,_0x8c8052=_0x4e6f84[0x0];_0x8c8052[_0x3a876a(0x1c0)]&&(this[_0x3a876a(0x2a0)](_0x8c8052),this[_0x3a876a(0x291)]()&&this[_0x3a876a(0x279)]());}),this[_0x2d3142(0x267)](),this[_0x2d3142(0x22e)](_0x2d3142(0x22f))['to'](_0x3dffb6,_0x2d3142(0x241),this,_0x2d3142(0x214),(_0x574fda,_0x4e8207)=>_0x2d3142(0x1ad)===_0x574fda&&!_0x4e8207),this['on'](_0x2d3142(0x21e),()=>{const _0x905d4c=_0x2d3142;this[_0x905d4c(0x22f)]?_0x363174[_0x905d4c(0x257)](_0x905d4c(0x209)):_0x363174[_0x905d4c(0x208)](_0x905d4c(0x209));}),this[_0x2d3142(0x22f)]?_0x363174[_0x2d3142(0x257)](_0x2d3142(0x209)):_0x363174[_0x2d3142(0x208)](_0x2d3142(0x209)),this[_0x2d3142(0x240)](_0x2d3142(0x295),!0x1);}async[_0x46ec9e(0x1ea)](){const _0x22c228=_0x46ec9e,_0x263cb1=this[_0x22c228(0x1d3)][_0x22c228(0x20b)][_0x22c228(0x22a)](_0xf9728e),_0x37c966=this[_0x22c228(0x1d3)][_0x22c228(0x20b)][_0x22c228(0x22a)](_0x49b70b);try{this[_0x22c228(0x2ab)]=!0x0,_0x263cb1[_0x22c228(0x29a)](this[_0x22c228(0x1ba)]);const _0x466f0a=await this[_0x22c228(0x294)][_0x22c228(0x1ea)](_0x37c966[_0x22c228(0x1f5)],this[_0x22c228(0x1ed)]);await this[_0x22c228(0x246)](_0x466f0a)&&(this[_0x22c228(0x2ab)]=!0x1,this[_0x22c228(0x281)]());const _0x47fa33=await this[_0x22c228(0x294)][_0x22c228(0x252)]();_0x263cb1[_0x22c228(0x215)](this[_0x22c228(0x1ba)],_0x47fa33),this[_0x22c228(0x228)](),this[_0x22c228(0x295)]=!0x0;}catch(_0x41ea7f){if(function(_0xeaac49){const _0xb3215c=_0x22c228;return _0xb3215c(0x23f)===_0xeaac49[_0xb3215c(0x26b)];}(_0x41ea7f)&&this[_0x22c228(0x256)])await this[_0x22c228(0x218)]();else{if(function(_0x5ef2e2){const _0x546e03=_0x22c228;return _0x546e03(0x1b3)===_0x5ef2e2[_0x546e03(0x26b)];}(_0x41ea7f)){const _0xeef4f1=_0x3a3340(this[_0x22c228(0x1d3)][_0x22c228(0x1b8)],_0x22c228(0x2a8));this[_0x22c228(0x227)](_0xeef4f1);}else{if(!(_0x41ea7f instanceof V))throw _0x41ea7f;this[_0x22c228(0x227)]();}}}}[_0x46ec9e(0x277)](){const _0xec53e1=_0x46ec9e,_0x4fb809=this[_0xec53e1(0x1d3)][_0xec53e1(0x20b)][_0xec53e1(0x22a)](_0x49b70b),_0x3eca7c=this[_0xec53e1(0x1d3)][_0xec53e1(0x20b)][_0xec53e1(0x22a)](_0xf9728e);this[_0xec53e1(0x1d3)][_0xec53e1(0x208)](_0xec53e1(0x25c)),_0x3eca7c[_0xec53e1(0x247)][_0xec53e1(0x26a)](this[_0xec53e1(0x1ba)])&&_0x3eca7c[_0xec53e1(0x29a)](this[_0xec53e1(0x1ba)]),_0x4fb809[_0xec53e1(0x23e)](this),this[_0xec53e1(0x28d)](),super[_0xec53e1(0x277)]();}async[_0x46ec9e(0x246)](_0x5a5ee4){const _0x41ddec=_0x46ec9e;if(this[_0x41ddec(0x256)]!==_0x5a5ee4[_0x41ddec(0x256)]&&this[_0x41ddec(0x1e9)]!==_0x5a5ee4[_0x41ddec(0x288)])throw new V();return this[_0x41ddec(0x256)]=_0x5a5ee4[_0x41ddec(0x256)],this[_0x41ddec(0x24f)]([],{..._0x5a5ee4,'wereChangesApplied':!0x1,'data':_0x5a5ee4[_0x41ddec(0x268)]},_0x41ddec(0x1ea));}async[_0x46ec9e(0x1b6)](_0x5335c3,_0x5c82d9=!0x1){const _0x781721=_0x46ec9e,{connection:_0x5e902f}=this[_0x781721(0x1d3)][_0x781721(0x20b)][_0x781721(0x22a)](_0x49b70b);l[_0x781721(0x26f)][_0x781721(0x252)](_0x5e902f,this[_0x781721(0x1ba)])[_0x781721(0x2ae)](_0x12a691=>this[_0x781721(0x22c)](_0x12a691))[_0x781721(0x263)](_0x41a6da=>{const _0x3055cd=_0x781721;this[_0x3055cd(0x1e0)](_0x3055cd(0x283),_0x41a6da);}),this[_0x781721(0x20f)](this[_0x781721(0x294)],_0x781721(0x275),this[_0x781721(0x2a5)][_0x781721(0x22e)](this)),this[_0x781721(0x20f)](this[_0x781721(0x294)],_0x781721(0x210),(_0x182675,_0x301643)=>{const _0x268839=_0x781721;this[_0x268839(0x1e0)](_0x268839(0x1fc),_0x301643);}),this[_0x781721(0x20f)](this[_0x781721(0x294)],_0x781721(0x28a),()=>{const _0x1334d9=_0x781721;this[_0x1334d9(0x295)]=!0x1;});const _0x80a347=this[_0x781721(0x1d7)][_0x781721(0x1c8)](_0x5335c3);this[_0x781721(0x2ab)]=!0x0;const _0x3c3aa0=await this[_0x781721(0x294)][_0x781721(0x1f0)](_0x5e902f,this[_0x781721(0x27c)](_0x5335c3),_0x80a347);if(this[_0x781721(0x256)]=_0x3c3aa0[_0x781721(0x256)],_0x5c82d9){if(!_0x3c3aa0[_0x781721(0x1bd)])return void this[_0x781721(0x227)]();this[_0x781721(0x2ab)]=!0x1,this[_0x781721(0x281)](),this[_0x781721(0x1c6)][_0x781721(0x25b)](),this[_0x781721(0x25f)]=_0x3c3aa0[_0x781721(0x21f)],this[_0x781721(0x1c6)][_0x781721(0x1d2)]=this[_0x781721(0x25f)],await this[_0x781721(0x24f)](_0x5335c3,_0x3c3aa0,_0x781721(0x1ce));}else await this[_0x781721(0x212)](_0x3c3aa0,_0x5335c3);this[_0x781721(0x228)](),this[_0x781721(0x295)]=!0x0;}[_0x46ec9e(0x228)](){const _0x3f9ddc=_0x46ec9e,_0x181c2d=this[_0x3f9ddc(0x1d3)][_0x3f9ddc(0x20b)][_0x3f9ddc(0x22a)](_0xf9728e),_0x454a73=this[_0x3f9ddc(0x1d3)][_0x3f9ddc(0x20b)][_0x3f9ddc(0x22a)](_0x195cd3),_0x3cb187=_0x181c2d[_0x3f9ddc(0x247)][_0x3f9ddc(0x22a)](this[_0x3f9ddc(0x1ba)]);_0x3cb187&&_0x3cb187[_0x3f9ddc(0x1f3)]>0x1?_0x454a73[_0x3f9ddc(0x265)]():this[_0x3f9ddc(0x20f)](_0x181c2d,_0x3f9ddc(0x2aa)+this[_0x3f9ddc(0x1ba)],()=>{const _0x365bac=_0x3f9ddc;0x2===_0x181c2d[_0x365bac(0x247)][_0x365bac(0x22a)](this[_0x365bac(0x1ba)])[_0x365bac(0x1f3)]&&_0x454a73[_0x365bac(0x265)]();});}async[_0x46ec9e(0x2a5)](_0x4ccc8f,_0x172408,_0x2b8702,_0x51a01e){const _0x3b9045=_0x46ec9e;if(!this[_0x3b9045(0x2ab)]&&this[_0x3b9045(0x282)][_0x3b9045(0x1d2)]==_0x172408){const _0x33ed8b=this[_0x3b9045(0x29e)](_0x2b8702,_0x51a01e);await this[_0x3b9045(0x2a4)](_0x33ed8b),this[_0x3b9045(0x1e7)](_0x33ed8b,_0x172408,_0x2b8702[_0x3b9045(0x288)])||this[_0x3b9045(0x1e0)](_0x3b9045(0x213));}}async[_0x46ec9e(0x218)](){const _0x254dfb=_0x46ec9e;this[_0x254dfb(0x28d)]();const {locale:_0xfce1a1}=this[_0x254dfb(0x1d3)];let _0x5bd9e2;try{_0x5bd9e2=await this[_0x254dfb(0x294)][_0x254dfb(0x1b7)]();}catch{const _0x59d11f=_0x3a3340(_0xfce1a1,_0x254dfb(0x1d0));return void this[_0x254dfb(0x227)](_0x59d11f);}const _0x1e36d6=_0x5bd9e2[_0x254dfb(0x1df)]||_0x5bd9e2[_0x254dfb(0x244)];if(this[_0x254dfb(0x1e9)]!==_0x1e36d6[_0x254dfb(0x288)]){const _0x3938ab=_0x3a3340(_0xfce1a1,_0x254dfb(0x24d));return void this[_0x254dfb(0x227)](_0x3938ab);}await this[_0x254dfb(0x1b6)](this[_0x254dfb(0x1d3)][_0x254dfb(0x28c)][_0x254dfb(0x24a)][_0x254dfb(0x236)][_0x254dfb(0x232)](),!0x0);}[_0x46ec9e(0x28d)](){const _0x329e41=_0x46ec9e;this[_0x329e41(0x294)][_0x329e41(0x1b1)](),this[_0x329e41(0x1de)]=[],clearTimeout(this[_0x329e41(0x249)]),this[_0x329e41(0x1d1)](this[_0x329e41(0x294)]);}[_0x46ec9e(0x22c)](_0x4d8bdb){const _0x1371ed=_0x46ec9e,_0x1e11c0=this[_0x1371ed(0x1d3)][_0x1371ed(0x20b)][_0x1371ed(0x22a)](_0xf9728e);this[_0x1371ed(0x20f)](_0x1e11c0,_0x1371ed(0x2aa)+this[_0x1371ed(0x1ba)],(_0x35bd83,{session:_0x9e1bf0})=>{const _0x4ed25b=_0x1371ed;if(_0x9e1bf0['id']===_0x1e11c0[_0x4ed25b(0x221)]){_0x35bd83[_0x4ed25b(0x233)]();const _0x351d2a=this[_0x4ed25b(0x1d3)][_0x4ed25b(0x20b)][_0x4ed25b(0x26a)](_0x4ed25b(0x25d))&&this[_0x4ed25b(0x1d3)][_0x4ed25b(0x20b)][_0x4ed25b(0x22a)](_0x4ed25b(0x25d));let _0x4f05cf=_0x9e1bf0[_0x4ed25b(0x1f9)];_0x351d2a&&_0x351d2a[_0x4ed25b(0x27e)]&&(_0x4f05cf=_0x4f05cf[_0x4ed25b(0x1ef)](_0x1ec49a=>_0x4ed25b(0x24c)!==_0x1ec49a)),this[_0x4ed25b(0x1d3)][_0x4ed25b(0x20b)][_0x4ed25b(0x22a)](_0x4ed25b(0x2ac))[_0x4ed25b(0x217)](_0x4f05cf,this[_0x4ed25b(0x1ba)]);}}),_0x1e11c0[_0x1371ed(0x215)](this[_0x1371ed(0x1ba)],_0x4d8bdb);}[_0x46ec9e(0x1fe)](){const _0x37bf57=_0x46ec9e,_0x3e7350=this[_0x37bf57(0x1d3)][_0x37bf57(0x268)][_0x37bf57(0x240)];this[_0x37bf57(0x1d3)][_0x37bf57(0x268)][_0x37bf57(0x240)]=(..._0x1d90ba)=>{const _0x29de42=_0x37bf57;if(!_0x1d90ba[_0x1d90ba[_0x29de42(0x1f3)]-0x1][_0x29de42(0x293)])throw new _0x671325(_0x29de42(0x253),this);_0x3e7350[_0x29de42(0x1b2)](this[_0x29de42(0x1d3)][_0x29de42(0x268)],_0x1d90ba);};}[_0x46ec9e(0x267)](){const _0x3d7551=_0x46ec9e;this[_0x3d7551(0x1d3)][_0x3d7551(0x268)]['on'](_0x3d7551(0x1bc),(_0x25ed40,[_0x32cf4d])=>{const _0xcf6593=_0x3d7551;if(this[_0xcf6593(0x282)][_0xcf6593(0x1d2)])throw new _0x671325(_0xcf6593(0x1e2),this);_0x25ed40[_0xcf6593(0x231)](),this[_0xcf6593(0x1da)]();const _0x17329b=this[_0xcf6593(0x1d3)][_0xcf6593(0x254)][_0xcf6593(0x22a)](_0xcf6593(0x1e8)),_0x39e8e0=this[_0xcf6593(0x205)](_0x32cf4d,_0x17329b);0x0==_0x39e8e0[_0xcf6593(0x1f3)]&&_0x39e8e0[_0xcf6593(0x1c1)](new _0x26b05c(0x0)),_0x25ed40[_0xcf6593(0x264)]=this[_0xcf6593(0x1b6)](_0x39e8e0)[_0xcf6593(0x2ae)](()=>{const _0x46ccc5=_0xcf6593;this[_0x46ccc5(0x1d3)][_0x46ccc5(0x20b)][_0x46ccc5(0x22a)](_0x49b70b)[_0x46ccc5(0x24b)](this),this[_0x46ccc5(0x1d3)][_0x46ccc5(0x268)][_0x46ccc5(0x206)](_0x46ccc5(0x1be));})[_0xcf6593(0x263)](_0x5cfb61=>this[_0xcf6593(0x1e0)](_0xcf6593(0x299),_0x5cfb61))[_0xcf6593(0x1cf)](()=>this[_0xcf6593(0x281)]());},{'priority':_0x3d7551(0x2a3)}),this[_0x3d7551(0x1d3)]['on'](_0x3d7551(0x225),async(_0x2c331d,[_0x153bb2,_0x29441d])=>{const _0x36fc3c=_0x3d7551;_0x2c331d[_0x36fc3c(0x231)]();const _0x2e088e=this[_0x36fc3c(0x1d3)][_0x36fc3c(0x28c)][_0x36fc3c(0x24a)][_0x36fc3c(0x200)](_0x153bb2);if(!this[_0x36fc3c(0x216)][_0x36fc3c(0x26a)](_0x153bb2)){const _0x1d8540=_0x29441d&&_0x29441d[_0x36fc3c(0x268)]?_0x29441d[_0x36fc3c(0x268)]:'',_0x457f51=_0x29441d&&_0x29441d[_0x36fc3c(0x2ad)]?_0x29441d[_0x36fc3c(0x2ad)]:{};await this[_0x36fc3c(0x20a)](_0x153bb2,_0x1d8540,_0x457f51);}this[_0x36fc3c(0x1d3)][_0x36fc3c(0x28c)][_0x36fc3c(0x2a9)]({'isUndoable':!0x1},()=>{const _0x38aa3a=_0x36fc3c;_0x2e088e[_0x38aa3a(0x202)]=!0x0,this[_0x38aa3a(0x1d3)][_0x38aa3a(0x28c)][_0x38aa3a(0x24a)][_0x38aa3a(0x261)][_0x38aa3a(0x259)](_0x2e088e);});},{'priority':_0x3d7551(0x2a3)});}async[_0x46ec9e(0x2a4)](_0xf900ab){const _0x41a5b6=_0x46ec9e,_0x559f94=this[_0x41a5b6(0x1d3)][_0x41a5b6(0x20b)][_0x41a5b6(0x22a)](_0x430dac),{connection:_0x258a50}=this[_0x41a5b6(0x1d3)][_0x41a5b6(0x20b)][_0x41a5b6(0x22a)](_0x49b70b),_0x2f5e82=new Set();for(const _0x2550ac of _0xf900ab){const _0x1816c9=_0x2550ac[_0x41a5b6(0x2a1)];_0x1816c9&&!_0x559f94[_0x41a5b6(0x271)](_0x1816c9)&&_0x2f5e82[_0x41a5b6(0x243)](_0x1816c9);}if(0x0===_0x2f5e82[_0x41a5b6(0x22d)])return;const _0x3a7ef4=await _0x217628[_0x41a5b6(0x1e4)](_0x258a50,Array[_0x41a5b6(0x23d)](_0x2f5e82));for(const _0x568516 of _0x3a7ef4)_0x559f94[_0x41a5b6(0x271)](_0x568516['id'])||_0x559f94[_0x41a5b6(0x1bf)](_0x568516);}[_0x46ec9e(0x205)](_0x2ec99d,_0x5b2e7f={}){const _0x900504=_0x46ec9e,_0x43f886=this[_0x900504(0x1d3)][_0x900504(0x28c)],_0x20aff6=[];let _0x119116=0x0;const _0x4c7106=_0x900504(0x1b0)==typeof _0x2ec99d?{'main':_0x2ec99d}:_0x2ec99d;for(const _0x5f1113 of Object[_0x900504(0x1b9)](_0x4c7106)){if(!this[_0x900504(0x282)][_0x900504(0x290)][_0x900504(0x26a)](_0x5f1113))throw new _0x671325(_0x900504(0x23a),this);const _0x1bea4b=this[_0x900504(0x1d3)][_0x900504(0x268)][_0x900504(0x245)](_0x4c7106[_0x5f1113]),_0x7976af=this[_0x900504(0x282)][_0x900504(0x200)](_0x5f1113),_0x37080e=new _0x3fa0fc(_0x43f886[_0x900504(0x22b)](_0x7976af,0x0),_0x1bea4b,_0x119116++);_0x20aff6[_0x900504(0x1c1)](_0x37080e);for(const [_0x25d660,_0x5bf54f]of _0x1bea4b[_0x900504(0x1c2)]){const _0x439f4b=_0x43f886[_0x900504(0x1dd)](_0x43f886[_0x900504(0x1d5)](_0x7976af,_0x5bf54f[_0x900504(0x1cc)][_0x900504(0x27d)][_0x900504(0x1c3)]()),_0x43f886[_0x900504(0x1d5)](_0x7976af,_0x5bf54f[_0x900504(0x29c)][_0x900504(0x27d)][_0x900504(0x1c3)]())),_0x1254bb=new _0x101329(_0x25d660,null,_0x439f4b,_0x43f886[_0x900504(0x1c2)],!0x0,_0x119116++);_0x20aff6[_0x900504(0x1c1)](_0x1254bb);}}if(_0x5b2e7f)for(const [_0x226d2f,_0x1a714c]of Object[_0x900504(0x1fa)](_0x5b2e7f)){const _0x57ca54=_0x43f886[_0x900504(0x24a)][_0x900504(0x200)](_0x226d2f);if(!_0x57ca54)throw new _0x671325(_0x900504(0x1f2),null);for(const [_0x46dd4f,_0x415f62]of Object[_0x900504(0x1fa)](_0x1a714c))if(null!==_0x415f62){const _0x4be9fc=new _0x85f4e1(_0x57ca54,_0x46dd4f,null,_0x415f62,_0x119116++);_0x20aff6[_0x900504(0x1c1)](_0x4be9fc);}}return _0x20aff6;}async[_0x46ec9e(0x20a)](_0x2f5b62,_0x56ceb4,_0x337e5e){const _0x2fb065=_0x46ec9e;this[_0x2fb065(0x205)]({[_0x2f5b62]:_0x56ceb4},{[_0x2f5b62]:_0x337e5e})[_0x2fb065(0x29d)]((_0x33b713,_0x26167d)=>{const _0x5ae1ac=_0x2fb065;_0x33b713[_0x5ae1ac(0x201)]=this[_0x5ae1ac(0x282)][_0x5ae1ac(0x1d2)]+_0x26167d,_0x33b713[_0x5ae1ac(0x239)]=!0x0,this[_0x5ae1ac(0x2a0)](_0x33b713);}),this[_0x2fb065(0x279)](),await this[_0x2fb065(0x276)]();}async[_0x46ec9e(0x212)](_0x5f2f0c,_0x324464){const _0x284748=_0x46ec9e;let _0x47a059;this[_0x284748(0x25f)]=_0x5f2f0c[_0x284748(0x21f)];const _0x5b3128=_0x5f2f0c[_0x284748(0x1bd)]&&!_0x5f2f0c[_0x284748(0x235)],_0xd3d17d=_0x5b3128?0x0:_0x5f2f0c[_0x284748(0x268)][_0x284748(0x201)];if(_0x324464[_0x284748(0x29d)](_0x175fd0=>{const _0xebe188=_0x284748;_0x175fd0[_0xebe188(0x239)]=!0x0,_0x175fd0[_0xebe188(0x26e)]=_0x5f2f0c[_0xebe188(0x26c)],_0x175fd0[_0xebe188(0x2a1)]=null;}),_0x5b3128)_0x47a059=_0x324464,this[_0x284748(0x1af)](_0x47a059,_0x5b3128);else{if(_0x5f2f0c[_0x284748(0x235)]){const _0x2d1daf=this[_0x284748(0x205)](_0x5f2f0c[_0x284748(0x235)]);this[_0x284748(0x282)][_0x284748(0x236)][_0x284748(0x1d2)]=-_0x2d1daf[_0x284748(0x1f3)],_0x2d1daf[_0x284748(0x29d)](_0x5ae1bf=>{const _0x5319f5=_0x284748;_0x5ae1bf[_0x5319f5(0x201)]-=_0x2d1daf[_0x5319f5(0x1f3)],_0x5ae1bf[_0x5319f5(0x26e)]=_0x5f2f0c[_0x5319f5(0x26c)],_0x5ae1bf[_0x5319f5(0x239)]=!0x0,_0x5ae1bf[_0x5319f5(0x2a1)]=null;}),this[_0x284748(0x1af)](_0x2d1daf,!0x0),this[_0x284748(0x1c6)][_0x284748(0x1d2)]=-_0x2d1daf[_0x284748(0x1f3)]+this[_0x284748(0x25f)],this[_0x284748(0x250)](_0x2d1daf);}this[_0x284748(0x282)][_0x284748(0x236)][_0x284748(0x1d2)]=_0xd3d17d,_0x47a059=this[_0x284748(0x29e)](_0x5f2f0c[_0x284748(0x268)],_0x5f2f0c[_0x284748(0x23c)]),await this[_0x284748(0x2a4)](_0x47a059),this[_0x284748(0x1af)](_0x47a059,_0x5b3128);}_0x5f2f0c[_0x284748(0x288)]&&(this[_0x284748(0x1d7)][_0x284748(0x1ec)](_0x47a059,_0x5f2f0c[_0x284748(0x288)]),this[_0x284748(0x1e9)]=_0x5f2f0c[_0x284748(0x288)]),this[_0x284748(0x1c6)][_0x284748(0x1d2)]=_0xd3d17d+this[_0x284748(0x25f)],this[_0x284748(0x250)](_0x47a059),_0x324464[_0x284748(0x1ef)](_0x2c9ae6=>{const _0x413452=_0x284748,_0x24aff5=this[_0x413452(0x273)](_0x2c9ae6);return _0x24aff5&&!this[_0x413452(0x216)][_0x413452(0x26a)](_0x24aff5);})[_0x284748(0x29d)]((_0x5e0ff0,_0x1abaad)=>{const _0x2b103d=_0x284748;_0x5e0ff0[_0x2b103d(0x201)]=this[_0x2b103d(0x282)][_0x2b103d(0x1d2)]+_0x1abaad,this[_0x2b103d(0x2a0)](_0x5e0ff0);}),this[_0x284748(0x291)]()?(this[_0x284748(0x242)]=0x0,this[_0x284748(0x279)](!0x0),await this[_0x284748(0x276)]()):(this[_0x284748(0x2ab)]=!0x1,this[_0x284748(0x281)]());}[_0x46ec9e(0x1e0)](_0xe0c101,_0x528eeb){const _0x160890=_0x46ec9e,_0x14a9e9=_0x528eeb&&_0x528eeb[_0x160890(0x2b0)];if(_0x14a9e9&&_0x14a9e9[_0x160890(0x20e)](_0x160890(0x29f)))throw _0x528eeb;const _0x5860db=this[_0x160890(0x1d3)][_0x160890(0x20b)][_0x160890(0x22a)](_0x49b70b);throw this[_0x160890(0x2ab)]=!0x0,_0x5860db[_0x160890(0x1b1)](),this[_0x160890(0x1d3)][_0x160890(0x208)](_0x160890(0x204)),new _0x671325(_0xe0c101,this[_0x160890(0x1d3)],_0x14a9e9?{'originalError':_0x14a9e9}:void 0x0);}[_0x46ec9e(0x2a0)](_0xd7cc50){const _0xa658cd=_0x46ec9e;this[_0xa658cd(0x1db)][_0xa658cd(0x26a)](_0xd7cc50)||(this[_0xa658cd(0x1db)][_0xa658cd(0x243)](_0xd7cc50),this[_0xa658cd(0x1de)][_0xa658cd(0x1c1)](_0xd7cc50),this[_0xa658cd(0x220)]||_0xa658cd(0x1cb)==_0xd7cc50[_0xa658cd(0x278)]&&!_0xd7cc50[_0xa658cd(0x296)]||this[_0xa658cd(0x1da)]());}[_0x46ec9e(0x279)](_0x29c3ed=!0x1){const _0x5031bd=_0x46ec9e;!_0x29c3ed&&this[_0x5031bd(0x2ab)]||(this[_0x5031bd(0x2ab)]=!0x0,clearTimeout(this[_0x5031bd(0x249)]),this[_0x5031bd(0x249)]=setTimeout(()=>{const _0x141419=_0x5031bd;this[_0x141419(0x23b)]()[_0x141419(0x2ae)](_0xc929fc=>{const _0x5aa16f=_0x141419;_0xc929fc&&(this[_0x5aa16f(0x281)](),this[_0x5aa16f(0x2ab)]=!0x1);})[_0x141419(0x263)](_0x574a9a=>{const _0x4113b1=_0x141419;this[_0x4113b1(0x281)](),this[_0x4113b1(0x2ab)]=!0x1,function(_0x27faa7){const _0x12831c=_0x4113b1;return _0x27faa7[_0x12831c(0x2b0)][_0x12831c(0x20e)](_0x12831c(0x1f8))||_0x27faa7[_0x12831c(0x2b0)][_0x12831c(0x20e)](_0x12831c(0x1e6))||_0x27faa7[_0x12831c(0x2b0)][_0x12831c(0x20e)](_0x12831c(0x26d));}(_0x574a9a)||this[_0x4113b1(0x1e0)](_0x574a9a[_0x4113b1(0x2b0)],_0x574a9a);});},this[_0x5031bd(0x242)]));}[_0x46ec9e(0x276)](){return new Promise(_0x2607e1=>{const _0x4abcd8=_0x39e6;this['on'](_0x4abcd8(0x286),()=>{_0x2607e1();});});}async[_0x46ec9e(0x23b)](){const _0x2a87fb=_0x46ec9e,_0x510d08=this[_0x2a87fb(0x1d3)][_0x2a87fb(0x20b)][_0x2a87fb(0x22a)](_0x195cd3);if(this[_0x2a87fb(0x2af)]()&&(_0x510d08[_0x2a87fb(0x265)](),this[_0x2a87fb(0x27b)]=!0x1),!this[_0x2a87fb(0x291)]())return!0x0;const _0x787cfe=[...this[_0x2a87fb(0x1de)]];for(const _0x13ad0c of _0x787cfe)_0x13ad0c[_0x2a87fb(0x260)]=this[_0x2a87fb(0x282)][_0x2a87fb(0x236)][_0x2a87fb(0x1ae)](_0x13ad0c);const _0x1b5747=this[_0x2a87fb(0x1d7)][_0x2a87fb(0x1c8)](_0x787cfe),_0x4345ec=H++,_0x1928ea=this[_0x2a87fb(0x27c)](_0x787cfe),_0x359339=await this[_0x2a87fb(0x294)][_0x2a87fb(0x1fb)](_0x1928ea,_0x1928ea[_0x2a87fb(0x201)],_0x1b5747);try{return await this[_0x2a87fb(0x24f)](_0x787cfe,_0x359339,_0x4345ec);}catch(_0x167e85){return this[_0x2a87fb(0x1e0)](_0x2a87fb(0x1b5),_0x167e85);}}async[_0x46ec9e(0x24f)](_0xa8b178,_0x495fd6,_0x3b01f8){const _0x5afaed=_0x46ec9e;if(_0x5afaed(0x210)in _0x495fd6)throw _0x495fd6[_0x5afaed(0x210)];let _0x45f8c2=!0x1;if(_0x495fd6[_0x5afaed(0x1bd)]){_0x495fd6[_0x5afaed(0x288)]&&(this[_0x5afaed(0x1e9)]=_0x495fd6[_0x5afaed(0x288)]),this[_0x5afaed(0x1de)]=this[_0x5afaed(0x1de)][_0x5afaed(0x1ef)](_0x197b8b=>!_0xa8b178[_0x5afaed(0x28e)](_0x197b8b));for(const _0x4e2f98 of _0xa8b178)_0x4e2f98[_0x5afaed(0x26e)]=_0x5afaed(0x248)in _0x495fd6&&_0x495fd6[_0x5afaed(0x248)]||void 0x0;W(_0xa8b178,_0x495fd6[_0x5afaed(0x1d2)]-_0xa8b178[_0x5afaed(0x1f3)]),this[_0x5afaed(0x250)](_0xa8b178);const _0x43b980=_0xa8b178[_0x5afaed(0x1ef)](_0x16a56f=>{const _0x2cc079=_0x5afaed;if(!_0x16a56f[_0x2cc079(0x239)])return!0x1;const _0x7b471c=this[_0x2cc079(0x273)](_0x16a56f);return _0x7b471c&&!this[_0x2cc079(0x216)][_0x2cc079(0x26a)](_0x7b471c);});W(_0x43b980,this[_0x5afaed(0x282)][_0x5afaed(0x1d2)]),this[_0x5afaed(0x1af)](_0x43b980),_0x45f8c2=!0x0,this[_0x5afaed(0x242)]=this[_0x5afaed(0x237)];}else{const _0x540213=this[_0x5afaed(0x29e)](_0x495fd6[_0x5afaed(0x268)],_0x495fd6[_0x5afaed(0x23c)])[_0x5afaed(0x1ef)](_0x3279f2=>_0x3279f2[_0x5afaed(0x201)]>=this[_0x5afaed(0x1bb)]);_0x540213[_0x5afaed(0x29d)](_0x2c9631=>this[_0x5afaed(0x2a2)](_0x2c9631)),this[_0x5afaed(0x1de)]=this[_0x5afaed(0x1de)][_0x5afaed(0x1ef)](_0x4411e0=>!_0x4411e0[_0x5afaed(0x239)]||!this[_0x5afaed(0x216)][_0x5afaed(0x26a)](this[_0x5afaed(0x273)](_0x4411e0))),this[_0x5afaed(0x1de)][_0x5afaed(0x1f3)]&&W(this[_0x5afaed(0x1de)],this[_0x5afaed(0x1de)][0x0][_0x5afaed(0x201)]),await this[_0x5afaed(0x2a4)](_0x540213),_0x45f8c2=this[_0x5afaed(0x1e7)](_0x540213,_0x495fd6[_0x5afaed(0x1d2)],_0x495fd6[_0x5afaed(0x288)]),this[_0x5afaed(0x242)]=Math[_0x5afaed(0x1e5)](this[_0x5afaed(0x242)]/0x2);}return _0x45f8c2?!this[_0x5afaed(0x291)]()||(this[_0x5afaed(0x279)](!0x0),!0x1):this[_0x5afaed(0x1e0)](_0x5afaed(0x238));}[_0x46ec9e(0x1e7)](_0x56a609,_0x4b888,_0x535c68){const _0x35bfb4=_0x46ec9e;try{const _0x351803={'document':this[_0x35bfb4(0x282)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x475fa0,operationsB:_0x152355,originalOperations:_0x57b8aa}=_0x12d2e3(_0x56a609,this[_0x35bfb4(0x1de)],_0x351803);W(_0x475fa0,this[_0x35bfb4(0x282)][_0x35bfb4(0x1d2)]),W(_0x152355,_0x4b888);for(const _0x31d55d of _0x475fa0){const _0x504d35=_0x57b8aa[_0x35bfb4(0x22a)](_0x31d55d);_0x31d55d[_0x35bfb4(0x2a1)]=_0x504d35?_0x504d35[_0x35bfb4(0x2a1)]:null;}_0x535c68&&(this[_0x35bfb4(0x1d7)][_0x35bfb4(0x1ec)](_0x56a609,_0x535c68),this[_0x35bfb4(0x1e9)]=_0x535c68),this[_0x35bfb4(0x1de)]=[..._0x152355],this[_0x35bfb4(0x1af)](_0x475fa0),this[_0x35bfb4(0x250)](_0x56a609);}catch(_0x58b31a){return console[_0x35bfb4(0x210)](_0x58b31a),!0x1;}return!0x0;}[_0x46ec9e(0x1af)](_0x844612,_0x4bdf2a=!0x1){const _0x300e40=_0x46ec9e;this[_0x300e40(0x1d3)][_0x300e40(0x28c)][_0x300e40(0x2a9)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3384ff=>{const _0x29980b=_0x300e40;for(const _0x2a0ad5 of _0x844612)this[_0x29980b(0x1db)][_0x29980b(0x243)](_0x2a0ad5),this[_0x29980b(0x2a2)](_0x2a0ad5),_0x3384ff[_0x29980b(0x266)][_0x29980b(0x223)](_0x2a0ad5),this[_0x29980b(0x1d3)][_0x29980b(0x28c)][_0x29980b(0x1d4)](_0x2a0ad5);});}[_0x46ec9e(0x2a2)](_0x36f42c){const _0xbab5d8=_0x46ec9e,_0x42b3ec=this[_0xbab5d8(0x273)](_0x36f42c);_0x42b3ec&&this[_0xbab5d8(0x216)][_0xbab5d8(0x243)](_0x42b3ec);}[_0x46ec9e(0x273)](_0x58e2e7){const _0x3df318=_0x46ec9e;let _0x484682,_0x7d43c0;switch(_0x58e2e7[_0x3df318(0x278)]){case _0x3df318(0x27a):_0x484682=_0x58e2e7[_0x3df318(0x21b)][_0x3df318(0x1c9)];break;case _0x3df318(0x1cb):if(_0x7d43c0=_0x58e2e7[_0x3df318(0x284)],!_0x7d43c0)return null;_0x484682=_0x7d43c0[_0x3df318(0x1c9)];break;case _0x3df318(0x2a6):_0x484682=_0x58e2e7[_0x3df318(0x1c9)];break;case _0x3df318(0x1dc):_0x484682=_0x58e2e7[_0x3df318(0x27f)];break;case _0x3df318(0x222):_0x484682=_0x58e2e7[_0x3df318(0x219)][_0x3df318(0x1c9)];break;default:return null;}return _0x484682[_0x3df318(0x25a)];}[_0x46ec9e(0x250)](_0x556b9a){const _0x17fc99=_0x46ec9e;_0x556b9a[_0x17fc99(0x29d)](_0xb4bf4a=>{const _0x47ae07=_0x17fc99,_0x135ad=_0xb4bf4a[_0x47ae07(0x1e1)]();_0x135ad[_0x47ae07(0x2a1)]=_0xb4bf4a[_0x47ae07(0x2a1)],_0x135ad[_0x47ae07(0x239)]=!!_0xb4bf4a[_0x47ae07(0x239)],_0x135ad[_0x47ae07(0x26e)]=_0xb4bf4a[_0x47ae07(0x26e)],_0x135ad[_0x47ae07(0x201)]+=this[_0x47ae07(0x25f)],_0xb4bf4a[_0x47ae07(0x285)]&&this[_0x47ae07(0x1c4)][_0x47ae07(0x243)](_0x135ad),this[_0x47ae07(0x1c6)][_0x47ae07(0x223)](_0x135ad);});}[_0x46ec9e(0x227)](_0x38ce45){const _0x3e6a23=_0x46ec9e,_0x520a42=this[_0x3e6a23(0x1d3)][_0x3e6a23(0x20b)][_0x3e6a23(0x22a)](_0x3e6a23(0x287)),_0x39af68=this[_0x3e6a23(0x1d3)][_0x3e6a23(0x1b8)];_0x38ce45||(_0x38ce45=_0x3a3340(_0x39af68,_0x3e6a23(0x1f1))),_0x520a42[_0x3e6a23(0x1ee)](_0x38ce45,{'title':_0x3a3340(_0x39af68,_0x3e6a23(0x1f6)),'namespace':_0x3e6a23(0x21a)}),this[_0x3e6a23(0x214)]=!0x0,clearTimeout(this[_0x3e6a23(0x249)]),this[_0x3e6a23(0x1de)]=[],this[_0x3e6a23(0x1d3)][_0x3e6a23(0x20b)][_0x3e6a23(0x22a)](_0x49b70b)[_0x3e6a23(0x1b1)]();}[_0x46ec9e(0x1da)](){const _0x341784=_0x46ec9e;this[_0x341784(0x220)]||(this[_0x341784(0x220)]=this[_0x341784(0x1d3)][_0x341784(0x20b)][_0x341784(0x22a)](_0x234a3b)[_0x341784(0x243)](_0x3a3340(this[_0x341784(0x1d3)][_0x341784(0x1b8)],_0x341784(0x234))));}[_0x46ec9e(0x281)](){const _0x3d3ebf=_0x46ec9e;this[_0x3d3ebf(0x220)]&&(this[_0x3d3ebf(0x1d3)][_0x3d3ebf(0x20b)][_0x3d3ebf(0x22a)](_0x234a3b)[_0x3d3ebf(0x272)](this[_0x3d3ebf(0x220)]),this[_0x3d3ebf(0x220)]=null);}[_0x46ec9e(0x27c)](_0x27c1ed){const _0x2cb260=_0x46ec9e,_0x2840ee=_0x27c1ed[_0x2cb260(0x1d9)](_0xf33888=>_0xf33888[_0x2cb260(0x270)]());return this[_0x2cb260(0x226)][_0x2cb260(0x1f4)](_0x2840ee);}[_0x46ec9e(0x29e)](_0x5747d8,_0x42e307){const _0x3f9f92=_0x46ec9e;return this[_0x3f9f92(0x226)][_0x3f9f92(0x20d)](_0x5747d8)[_0x3f9f92(0x1d9)]((_0x165401,_0x36d2ce)=>{const _0x5e6329=_0x3f9f92,_0x76157=_0x5e6329(0x1bc)==_0x42e307[_0x36d2ce][_0x5e6329(0x278)];if(_0x5e6329(0x269)==_0x165401[_0x5e6329(0x1ca)]){const _0x27d931=_0x165401[_0x5e6329(0x21b)][_0x5e6329(0x1c9)];!this[_0x5e6329(0x282)][_0x5e6329(0x200)](_0x27d931)&&(this[_0x5e6329(0x282)][_0x5e6329(0x289)](_0x5e6329(0x230),_0x27d931)[_0x5e6329(0x292)]=!0x1);}const _0x3053bc=_0x1229e9[_0x5e6329(0x1cd)](_0x165401,this[_0x5e6329(0x282)]);return _0x3053bc[_0x5e6329(0x260)]=_0x165401[_0x5e6329(0x260)],_0x3053bc[_0x5e6329(0x239)]=_0x76157,_0x3053bc[_0x5e6329(0x2a1)]=_0x76157?null:_0x42e307[_0x36d2ce][_0x5e6329(0x1ac)],_0x3053bc[_0x5e6329(0x285)]=_0x5e6329(0x1eb)===_0x42e307[_0x36d2ce][_0x5e6329(0x278)],_0x3053bc[_0x5e6329(0x26e)]=_0x42e307[_0x36d2ce][_0x5e6329(0x26e)],_0x3053bc;});}[_0x46ec9e(0x1ff)](){const _0x3a52d7=_0x46ec9e;this[_0x3a52d7(0x27b)]=!0x0,this[_0x3a52d7(0x2af)]()?this[_0x3a52d7(0x279)]():this[_0x3a52d7(0x27b)]=!0x1;}[_0x46ec9e(0x2af)](){const _0x24961d=_0x46ec9e,_0x1055db=this[_0x24961d(0x1d3)][_0x24961d(0x20b)][_0x24961d(0x22a)](_0xf9728e)[_0x24961d(0x247)][_0x24961d(0x22a)](this[_0x24961d(0x1ba)]);return!this[_0x24961d(0x1d3)][_0x24961d(0x1e3)]&&!!_0x1055db&&_0x1055db[_0x24961d(0x1f3)]>0x1&&this[_0x24961d(0x27b)];}[_0x46ec9e(0x291)](){const _0x1ef2c9=_0x46ec9e;return this[_0x1ef2c9(0x1de)][_0x1ef2c9(0x1f3)]>0x0||this[_0x1ef2c9(0x2af)]();}}export{l as RealTimeCollaborationClient};function _0x39e6(_0x45b7db,_0x4ea79f){const _0x12158a=_0x1215();return _0x39e6=function(_0x39e677,_0x42b6d1){_0x39e677=_0x39e677-0x1ac;let _0x4a052f=_0x12158a[_0x39e677];return _0x4a052f;},_0x39e6(_0x45b7db,_0x4ea79f);}class V extends Error{}function _0x1215(){const _0x570842=['_handleSendingSelectionMarkers','1223165toSDjd','get','createPositionAt','_initSessionsHandling','size','bind','_isEditingAllowed','$root','stop','getOperations','off','PENDING_ACTION_SENDING_DATA','initData','history','_baseBufferDelay','realtimecollaborationclient-handleserverresponse','_isInit','realtimecollaborationclient-init-non-existent-root','_sendBufferedOperations','metadata','from','removeFromReconnectionStack','404','set','state','_currentBufferDelay','add','lastDocumentSession','parse','_handleReconnectionResponse','channelSessions','lastOperationAcceptedAt','_sendBufferedOperationsDelayId','document','addToReconnectionStack','document:write','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.','requires','_handleServerResponse','_updateServerHistory','2147808frbLPy','getConnectedSessions','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','config','_ignoredOperations','sessionId','disableReadOnlyMode','7742392KlkbcK','_bufferRootLoad','rootName','reset','rtc-destroyed','CommentsOnly','8252KnPXAy','_offset','wasUndone','differ','pluginName','catch','return','createUserMarkerOperations','batch','_setUpDataInit','data','InsertOperation','has','code','sessionCreatedAt','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','CollaborativeEditingService','toJSON','getUser','remove','_getAffectedRoot','_operationToId','operationsReceived','_waitUntilSynced','destroy','type','_sendBufferedOperationsDelayed','insert','_hasSelectionChanged','_compressOperations','path','isEnabled','affectedSelectable','isOfficialPlugin','_clearPendingAction','_document','realtimecollaborationclient-init-session-connection-error','newRange','_isDisconnection','change:_isPendingUpdate','Notification','lastOperationId','createRoot','disconnected','define','model','_disconnectService','includes','13240125DuOAcm','roots','_shouldSendUpdate','_isAttached','suppressErrorInCollaboration','_service','_isConnected','affectsData','collaboration','editing','realtimecollaborationclient-init-connection-failed','unregister','isPremiumPlugin','end','forEach','_decompressOperations','realtimecollaborationclient','_saveOperationInBuffer','_authorId','_addKnownRoot','high','_fetchMissingUsers','_handleReceivedOperations','addRootAttribute','374AxTfIY','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enqueueChange','sessionAdd:','_isPendingUpdate','Permissions','attributes','then','_shouldSendSelectionUpdate','message','userId','connected','isUndoneOperation','_applyOperationsSet','string','disconnect','apply','409','RealTimeCollaborationClient','realtimecollaborationclient-sendbufferedoperations','_connectService','getDocumentDetails','locale','keys','_channelId','_lastServerVersion','init','wereChangesApplied','ready','addUser','isDocumentOperation','push','markers','slice','_disconnectionOperations','9387654HYYNFE','serverHistory','change:range','getIdOfTheLastOperation','root','__className','marker','start','fromJSON','reconnection:\x20flushed\x20session','finally','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stopListening','version','editor','applyOperation','createPositionFromPath','selection','_operationIdentifier','directChange','map','_setPendingAction','_knownOperations','addRoot','createRange','_bufferedOperations','currentDocumentSession','_crash','clone','realtimecollaborationclient-init-document-already-initialized','isReadOnly','getMany','round','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_handleExternalOperations','rootsAttributes','_lastSyncedOperationId','reconnect','cs:removeUser','setIdForTheLastOperation','lastSyncVersion','showWarning','filter','connect','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.','multi-root-editor-root-attributes-no-root','length','compress','connection','Synchronization\x20issue','cloudDocumentVersion','cloud-services-internal-error:\x20Not\x20connected.','permissions','entries','sendOperations','realtimecollaborationclient-init-service-internal-error','cloudServices.bundleVersion','_initThrowingOnDataSet','_refreshUserSelectionMarkers','getRoot','baseVersion','_isLoaded','change:hasDomSelection','realtimecollaborationclient-error','_getOperationsFromInitData','fire','collaboration.channelId','enableReadOnlyMode','rtc-offline','_loadRoot','plugins','getOperationAuthor','decompress','startsWith','listenTo','error','view','_handleInitialConnectionData','realtimecollaborationclient-init-service-incorrect-server-operation','_hasSynchronizationProblem','register','_knownRootNames','setPermissions','_connectAfterSessionHasBeenFlushed','targetPosition','real-time-collaboration','position','7219891llpPFO','collaboration-missing-channelid','change:_isEditingAllowed','offset','_pendingAction','mySessionId','move','addOperation','20pZzUUF','loadRoot','_compressor','_handleReconnectionError'];_0x1215=function(){return _0x570842;};return _0x1215();}function W(_0x1cfc06,_0x365ef0){const _0x4f5bcb=_0x46ec9e;for(const _0x3b5769 of _0x1cfc06)_0x3b5769[_0x4f5bcb(0x201)]=_0x365ef0++;}class F{[_0x46ec9e(0x255)];[_0x46ec9e(0x274)];constructor(_0x1f30e3){const _0x42db73=_0x46ec9e;this[_0x42db73(0x255)]=_0x1f30e3,this[_0x42db73(0x274)]=new WeakMap();}[_0x46ec9e(0x1c8)](_0x1ce1f9){const _0xa91430=_0x46ec9e;let _0xdf0ad3=_0x1ce1f9[_0xa91430(0x1f3)];for(;_0xdf0ad3--;){const _0x213d1b=_0x1ce1f9[_0xdf0ad3];if(!this[_0xa91430(0x255)][_0xa91430(0x26a)](_0x213d1b)){if(!this[_0xa91430(0x274)][_0xa91430(0x26a)](_0x213d1b)){const _0x5d4188=_0x2c72f6()[_0xa91430(0x1c3)](0x1,0x12);this[_0xa91430(0x274)][_0xa91430(0x240)](_0x213d1b,_0x5d4188);}return this[_0xa91430(0x274)][_0xa91430(0x22a)](_0x213d1b);}}}[_0x46ec9e(0x1ec)](_0x2c0266,_0x5eca8d){const _0x3a6cb9=_0x46ec9e;if(!_0x5eca8d)return;let _0x128de4=_0x2c0266[_0x3a6cb9(0x1f3)];for(;_0x128de4--;){const _0x52df78=_0x2c0266[_0x128de4];this[_0x3a6cb9(0x255)][_0x3a6cb9(0x26a)](_0x52df78)||this[_0x3a6cb9(0x274)][_0x3a6cb9(0x240)](_0x52df78,_0x5eca8d);}}}
|
|
23
|
+
const _0x159529=_0x31c8;(function(_0x2e0e98,_0x424913){const _0xdc2e04=_0x31c8,_0x548db6=_0x2e0e98();while(!![]){try{const _0x2085e9=-parseInt(_0xdc2e04(0xa4))/0x1*(-parseInt(_0xdc2e04(0x11f))/0x2)+-parseInt(_0xdc2e04(0xec))/0x3+-parseInt(_0xdc2e04(0x190))/0x4*(parseInt(_0xdc2e04(0x11d))/0x5)+parseInt(_0xdc2e04(0x124))/0x6+parseInt(_0xdc2e04(0x178))/0x7+parseInt(_0xdc2e04(0xe1))/0x8+parseInt(_0xdc2e04(0x12c))/0x9*(parseInt(_0xdc2e04(0xf8))/0xa);if(_0x2085e9===_0x424913)break;else _0x548db6['push'](_0x548db6['shift']());}catch(_0x103188){_0x548db6['push'](_0x548db6['shift']());}}}(_0x1d67,0x6907f));import{Plugin as _0x11c049,PendingActions as _0x1e5774}from'ckeditor5/src/core.js';import{CKEditorError as _0x375b1,version as _0x6e04ea,uid as _0x1d5413}from'ckeditor5/src/utils.js';import{Notification as _0x2b1f9f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x15f012,NoOperation as _0x1ec415,InsertOperation as _0x3fa1d8,MarkerOperation as _0x3c0c0b,RootAttributeOperation as _0x28272e,OperationFactory as _0x408bf8,History as _0x20c63f}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x272763}from'./websocketgateway.js';import{Sessions as _0x43facc}from'./sessions.js';import{UserMarkers as _0x1284d0}from'./usermarkers.js';import{getTranslation as _0x36eb0e}from'../common-translations.js';function _0x31c8(_0x12d8d1,_0x3ef69b){const _0x1d67cb=_0x1d67();return _0x31c8=function(_0x31c814,_0x2e18b9){_0x31c814=_0x31c814-0xa1;let _0x5efa03=_0x1d67cb[_0x31c814];return _0x5efa03;},_0x31c8(_0x12d8d1,_0x3ef69b);}import{Compressor as _0x50ab3f}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xba7229}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x31cf61,CollaborativeEditingService as _0x358367}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;class l extends _0x11c049{static [_0x159529(0xdb)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x358367)());[_0x159529(0x15d)];[_0x159529(0xf7)];[_0x159529(0x12b)];[_0x159529(0x100)];[_0x159529(0x125)];[_0x159529(0xcf)];[_0x159529(0x19e)];[_0x159529(0x154)];[_0x159529(0xc7)];[_0x159529(0x186)];[_0x159529(0xc4)];[_0x159529(0x15b)];[_0x159529(0x1a0)];[_0x159529(0xe0)];[_0x159529(0xae)];[_0x159529(0x161)];[_0x159529(0x187)];[_0x159529(0xcd)];static get[_0x159529(0xa5)](){return[_0x272763,_0x43facc,_0x1284d0,_0x1e5774,_0xba7229,_0x2b1f9f];}static get[_0x159529(0xee)](){const _0x457683=_0x159529;return _0x457683(0x111);}static get[_0x159529(0x129)](){return!0x0;}static get[_0x159529(0x196)](){return!0x0;}get[_0x159529(0x148)](){const _0x1cf239=_0x159529;return this[_0x1cf239(0x171)]+this[_0x1cf239(0x15d)];}get[_0x159529(0x171)](){const _0x17044c=_0x159529;return this[_0x17044c(0x12b)][_0x17044c(0x152)]-this[_0x17044c(0x15d)];}get[_0x159529(0x1a1)](){const _0x30bfef=_0x159529,_0xd74f7f=this[_0x30bfef(0x12b)][_0x30bfef(0x188)]();for(let _0x523592=_0xd74f7f[_0x30bfef(0x10e)]-0x1;_0x523592>=0x0;_0x523592--){const _0x176c3f=_0xd74f7f[_0x523592];if(!this[_0x30bfef(0x187)][_0x30bfef(0xb9)](_0x176c3f))return _0x176c3f[_0x30bfef(0xab)]+0x1-this[_0x30bfef(0x15d)];}return 0x0;}constructor(_0x144d82){const _0x3a5914=_0x159529;if(super(_0x144d82),this[_0x3a5914(0x15d)]=0x0,this[_0x3a5914(0xf7)]=null,this[_0x3a5914(0x12b)]=new _0x20c63f(),this[_0x3a5914(0x1a5)][_0x3a5914(0x1a2)][_0x3a5914(0xa8)](_0x3a5914(0x141),{}),this[_0x3a5914(0x100)]=this[_0x3a5914(0x1a5)][_0x3a5914(0x1a2)][_0x3a5914(0x109)](_0x3a5914(0x14a)),!this[_0x3a5914(0x100)])throw new _0x375b1(_0x3a5914(0x146),this);const _0x2802a8=_0x144d82[_0x3a5914(0x1a2)][_0x3a5914(0x109)](_0x3a5914(0xb2))||_0x6e04ea;this[_0x3a5914(0x125)]=new l[(_0x3a5914(0xdb))](_0x2802a8,this[_0x3a5914(0x100)]),this[_0x3a5914(0xcf)]=this[_0x3a5914(0x1a5)][_0x3a5914(0xdf)][_0x3a5914(0xc2)],this[_0x3a5914(0x19e)]=new _0x50ab3f(),this[_0x3a5914(0x154)]=[],this[_0x3a5914(0xc7)]=new WeakSet(),this[_0x3a5914(0x186)]=new Set(),this[_0x3a5914(0x14d)](_0x3a5914(0x137),!0x1),this[_0x3a5914(0x14d)](_0x3a5914(0xa1),!0x1),this[_0x3a5914(0xc4)]=null,this[_0x3a5914(0x15b)]=!0x1,this[_0x3a5914(0x1a0)]=null,this[_0x3a5914(0xe0)]=0x12c,this[_0x3a5914(0xae)]=this[_0x3a5914(0xe0)],this[_0x3a5914(0x161)]=null,this[_0x3a5914(0x187)]=new WeakSet(),this[_0x3a5914(0xcd)]=new F(this[_0x3a5914(0x187)]);}[_0x159529(0x16e)](){const _0x20f7b9=_0x159529,_0x5e3b97=this[_0x20f7b9(0x1a5)],_0x488d5a=_0x5e3b97[_0x20f7b9(0xd4)][_0x20f7b9(0x109)](_0xba7229),_0x59b95b=_0x5e3b97[_0x20f7b9(0xd4)][_0x20f7b9(0x109)](_0x272763);this[_0x20f7b9(0xc8)](_0x488d5a,_0x20f7b9(0x170),(_0x599a08,_0x2bef35)=>{const _0x10e98c=_0x20f7b9,_0x3cac98=_0x2bef35[0x0];_0x3cac98[_0x10e98c(0x120)]&&(_0x599a08[_0x10e98c(0x17e)]=_0x488d5a[_0x10e98c(0x13a)](_0x3cac98[_0x10e98c(0x120)]),_0x599a08[_0x10e98c(0x12a)]()),null===_0x3cac98[_0x10e98c(0x120)]&&(_0x599a08[_0x10e98c(0x17e)]=null,_0x599a08[_0x10e98c(0x12a)]());},{'priority':_0x20f7b9(0x19d)}),this[_0x20f7b9(0xc8)](_0x5e3b97[_0x20f7b9(0xdf)][_0x20f7b9(0xc2)][_0x20f7b9(0x182)],_0x20f7b9(0xc9),(_0x594f8e,_0x5659cd)=>{const _0x2bc194=_0x20f7b9;_0x5659cd[_0x2bc194(0x123)]&&this[_0x2bc194(0x18b)]();}),this[_0x20f7b9(0xc8)](_0x5e3b97[_0x20f7b9(0x17d)][_0x20f7b9(0x127)],_0x20f7b9(0x119),()=>{const _0x11d34d=_0x20f7b9;this[_0x11d34d(0x18b)]();}),this[_0x20f7b9(0x10a)](),_0x5e3b97[_0x20f7b9(0xdf)]['on'](_0x20f7b9(0x193),(_0x1894a7,_0xf9d36b)=>{const _0x547570=_0x20f7b9,_0x11cc22=_0xf9d36b[0x0];_0x11cc22[_0x547570(0xe3)]&&(this[_0x547570(0x11e)](_0x11cc22),this[_0x547570(0xef)]()&&this[_0x547570(0xad)]());}),this[_0x20f7b9(0xca)](),this[_0x20f7b9(0x118)](_0x20f7b9(0x112))['to'](_0x59b95b,_0x20f7b9(0x172),this,_0x20f7b9(0xa1),(_0x4b6841,_0xf49784)=>_0x20f7b9(0xd9)===_0x4b6841&&!_0xf49784),this['on'](_0x20f7b9(0xda),()=>{const _0x5ba721=_0x20f7b9;this[_0x5ba721(0x112)]?_0x5e3b97[_0x5ba721(0xe5)](_0x5ba721(0x189)):_0x5e3b97[_0x5ba721(0xf4)](_0x5ba721(0x189));}),this[_0x20f7b9(0x112)]?_0x5e3b97[_0x20f7b9(0xe5)](_0x20f7b9(0x189)):_0x5e3b97[_0x20f7b9(0xf4)](_0x20f7b9(0x189)),this[_0x20f7b9(0x14d)](_0x20f7b9(0x140),!0x1);}async[_0x159529(0x11b)](){const _0x150090=_0x159529,_0x472f23=this[_0x150090(0x1a5)][_0x150090(0xd4)][_0x150090(0x109)](_0x43facc),_0x2f335b=this[_0x150090(0x1a5)][_0x150090(0xd4)][_0x150090(0x109)](_0x272763);try{this[_0x150090(0x137)]=!0x0,_0x472f23[_0x150090(0xac)](this[_0x150090(0x100)]);const _0x2babd2=await this[_0x150090(0x125)][_0x150090(0x11b)](_0x2f335b[_0x150090(0xea)],this[_0x150090(0x1a1)]);await this[_0x150090(0x19c)](_0x2babd2)&&(this[_0x150090(0x137)]=!0x1,this[_0x150090(0xe6)]());const _0x20528d=await this[_0x150090(0x125)][_0x150090(0x19f)]();_0x472f23[_0x150090(0x19b)](this[_0x150090(0x100)],_0x20528d),this[_0x150090(0x197)](),this[_0x150090(0x140)]=!0x0;}catch(_0x19635f){if(function(_0x44ae12){const _0x343533=_0x150090;return _0x343533(0x116)===_0x44ae12[_0x343533(0x13f)];}(_0x19635f)&&this[_0x150090(0xf7)])await this[_0x150090(0xfc)]();else{if(function(_0x535392){const _0x20a363=_0x150090;return _0x20a363(0xfe)===_0x535392[_0x20a363(0x13f)];}(_0x19635f)){const _0x417237=_0x36eb0e(this[_0x150090(0x1a5)][_0x150090(0x19a)],_0x150090(0x155));this[_0x150090(0xff)](_0x417237);}else{if(!(_0x19635f instanceof V))throw _0x19635f;this[_0x150090(0xff)]();}}}}[_0x159529(0x139)](){const _0x56d31c=_0x159529,_0x4e65a8=this[_0x56d31c(0x1a5)][_0x56d31c(0xd4)][_0x56d31c(0x109)](_0x272763),_0x524277=this[_0x56d31c(0x1a5)][_0x56d31c(0xd4)][_0x56d31c(0x109)](_0x43facc);this[_0x56d31c(0x1a5)][_0x56d31c(0xf4)](_0x56d31c(0x184)),_0x524277[_0x56d31c(0x157)][_0x56d31c(0xb9)](this[_0x56d31c(0x100)])&&_0x524277[_0x56d31c(0xac)](this[_0x56d31c(0x100)]),_0x4e65a8[_0x56d31c(0xd7)](this),this[_0x56d31c(0x132)](),super[_0x56d31c(0x139)]();}async[_0x159529(0x19c)](_0x5b4ca1){const _0x246934=_0x159529;if(this[_0x246934(0xf7)]!==_0x5b4ca1[_0x246934(0xf7)]&&this[_0x246934(0x161)]!==_0x5b4ca1[_0x246934(0xc6)])throw new V();return this[_0x246934(0xf7)]=_0x5b4ca1[_0x246934(0xf7)],this[_0x246934(0x12f)]([],{..._0x5b4ca1,'wereChangesApplied':!0x1,'data':_0x5b4ca1[_0x246934(0x16a)]},_0x246934(0x11b));}async[_0x159529(0xb5)](_0x134d4d,_0x4e9802=!0x1){const _0x2833a3=_0x159529,{connection:_0x12ca58}=this[_0x2833a3(0x1a5)][_0x2833a3(0xd4)][_0x2833a3(0x109)](_0x272763);l[_0x2833a3(0xdb)][_0x2833a3(0x19f)](_0x12ca58,this[_0x2833a3(0x100)])[_0x2833a3(0x121)](_0x42e9b7=>this[_0x2833a3(0x138)](_0x42e9b7))[_0x2833a3(0x14f)](_0x51d01b=>{const _0x584e3e=_0x2833a3;this[_0x584e3e(0xf1)](_0x584e3e(0x17b),_0x51d01b);}),this[_0x2833a3(0xc8)](this[_0x2833a3(0x125)],_0x2833a3(0x181),this[_0x2833a3(0x130)][_0x2833a3(0x118)](this)),this[_0x2833a3(0xc8)](this[_0x2833a3(0x125)],_0x2833a3(0x113),(_0x489f09,_0x2846e2)=>{const _0x50c0cf=_0x2833a3;this[_0x50c0cf(0xf1)](_0x50c0cf(0xce),_0x2846e2);}),this[_0x2833a3(0xc8)](this[_0x2833a3(0x125)],_0x2833a3(0xa3),()=>{const _0x553dd8=_0x2833a3;this[_0x553dd8(0x140)]=!0x1;});const _0xaf0b2e=this[_0x2833a3(0xcd)][_0x2833a3(0xa6)](_0x134d4d);this[_0x2833a3(0x137)]=!0x0;const _0x2738a5=await this[_0x2833a3(0x125)][_0x2833a3(0x1a4)](_0x12ca58,this[_0x2833a3(0xdd)](_0x134d4d),_0xaf0b2e);if(this[_0x2833a3(0xf7)]=_0x2738a5[_0x2833a3(0xf7)],_0x4e9802){if(!_0x2738a5[_0x2833a3(0x15c)])return void this[_0x2833a3(0xff)]();this[_0x2833a3(0x137)]=!0x1,this[_0x2833a3(0xe6)](),this[_0x2833a3(0x12b)][_0x2833a3(0x136)](),this[_0x2833a3(0x15d)]=_0x2738a5[_0x2833a3(0x1a3)],this[_0x2833a3(0x12b)][_0x2833a3(0x152)]=this[_0x2833a3(0x15d)],await this[_0x2833a3(0x12f)](_0x134d4d,_0x2738a5,_0x2833a3(0x110));}else await this[_0x2833a3(0x159)](_0x2738a5,_0x134d4d);this[_0x2833a3(0x197)](),this[_0x2833a3(0x140)]=!0x0;}[_0x159529(0x197)](){const _0x4eaa66=_0x159529,_0x3a86d7=this[_0x4eaa66(0x1a5)][_0x4eaa66(0xd4)][_0x4eaa66(0x109)](_0x43facc),_0xeddeb=this[_0x4eaa66(0x1a5)][_0x4eaa66(0xd4)][_0x4eaa66(0x109)](_0x1284d0),_0x1eb83c=_0x3a86d7[_0x4eaa66(0x157)][_0x4eaa66(0x109)](this[_0x4eaa66(0x100)]);_0x1eb83c&&_0x1eb83c[_0x4eaa66(0x10e)]>0x1?_0xeddeb[_0x4eaa66(0xe8)]():this[_0x4eaa66(0xc8)](_0x3a86d7,_0x4eaa66(0x126)+this[_0x4eaa66(0x100)],()=>{const _0x11b804=_0x4eaa66;0x2===_0x3a86d7[_0x11b804(0x157)][_0x11b804(0x109)](this[_0x11b804(0x100)])[_0x11b804(0x10e)]&&_0xeddeb[_0x11b804(0xe8)]();});}async[_0x159529(0x130)](_0x45d018,_0x1cd0e3,_0x1d9b78,_0x3eb5c7){const _0x1576a0=_0x159529;if(!this[_0x1576a0(0x137)]&&this[_0x1576a0(0xcf)][_0x1576a0(0x152)]==_0x1cd0e3){const _0x191f4d=this[_0x1576a0(0xd6)](_0x1d9b78,_0x3eb5c7);await this[_0x1576a0(0xa9)](_0x191f4d),this[_0x1576a0(0xbe)](_0x191f4d,_0x1cd0e3,_0x1d9b78[_0x1576a0(0xc6)])||this[_0x1576a0(0xf1)](_0x1576a0(0xd3));}}async[_0x159529(0xfc)](){const _0x23ac79=_0x159529;this[_0x23ac79(0x132)]();const {locale:_0x6342d8}=this[_0x23ac79(0x1a5)];let _0x7b6a93;try{_0x7b6a93=await this[_0x23ac79(0x125)][_0x23ac79(0xbd)]();}catch{const _0x47f124=_0x36eb0e(_0x6342d8,_0x23ac79(0x199));return void this[_0x23ac79(0xff)](_0x47f124);}const _0x172785=_0x7b6a93[_0x23ac79(0xc1)]||_0x7b6a93[_0x23ac79(0xf9)];if(this[_0x23ac79(0x161)]!==_0x172785[_0x23ac79(0xc6)]){const _0x45beba=_0x36eb0e(_0x6342d8,_0x23ac79(0x13c));return void this[_0x23ac79(0xff)](_0x45beba);}await this[_0x23ac79(0xb5)](this[_0x23ac79(0x1a5)][_0x23ac79(0xdf)][_0x23ac79(0xc2)][_0x23ac79(0x14e)][_0x23ac79(0x188)](),!0x0);}[_0x159529(0x132)](){const _0xbfaf50=_0x159529;this[_0xbfaf50(0x125)][_0xbfaf50(0x191)](),this[_0xbfaf50(0x154)]=[],clearTimeout(this[_0xbfaf50(0x1a0)]),this[_0xbfaf50(0x162)](this[_0xbfaf50(0x125)]);}[_0x159529(0x138)](_0x564b81){const _0x3fe5e6=_0x159529,_0x1623d7=this[_0x3fe5e6(0x1a5)][_0x3fe5e6(0xd4)][_0x3fe5e6(0x109)](_0x43facc);this[_0x3fe5e6(0xc8)](_0x1623d7,_0x3fe5e6(0x126)+this[_0x3fe5e6(0x100)],(_0x160a27,{session:_0x5f0c45})=>{const _0x28356f=_0x3fe5e6;if(_0x5f0c45['id']===_0x1623d7[_0x28356f(0xf5)]){_0x160a27[_0x28356f(0x195)]();const _0x555940=this[_0x28356f(0x1a5)][_0x28356f(0xd4)][_0x28356f(0xb9)](_0x28356f(0xb4))&&this[_0x28356f(0x1a5)][_0x28356f(0xd4)][_0x28356f(0x109)](_0x28356f(0xb4));let _0x1cf325=_0x5f0c45[_0x28356f(0x18d)];_0x555940&&_0x555940[_0x28356f(0xfa)]&&(_0x1cf325=_0x1cf325[_0x28356f(0x131)](_0x126f9f=>_0x28356f(0xf2)!==_0x126f9f)),this[_0x28356f(0x1a5)][_0x28356f(0xd4)][_0x28356f(0x109)](_0x28356f(0xc5))[_0x28356f(0x102)](_0x1cf325,this[_0x28356f(0x100)]);}}),_0x1623d7[_0x3fe5e6(0x19b)](this[_0x3fe5e6(0x100)],_0x564b81);}[_0x159529(0x10a)](){const _0x1cce6e=_0x159529,_0x252213=this[_0x1cce6e(0x1a5)][_0x1cce6e(0x16a)][_0x1cce6e(0x14d)];this[_0x1cce6e(0x1a5)][_0x1cce6e(0x16a)][_0x1cce6e(0x14d)]=(..._0x444bcb)=>{const _0x4a5989=_0x1cce6e;if(!_0x444bcb[_0x444bcb[_0x4a5989(0x10e)]-0x1][_0x4a5989(0x13e)])throw new _0x375b1(_0x4a5989(0xcc),this);_0x252213[_0x4a5989(0x18f)](this[_0x4a5989(0x1a5)][_0x4a5989(0x16a)],_0x444bcb);};}[_0x159529(0xca)](){const _0x5e136e=_0x159529;this[_0x5e136e(0x1a5)][_0x5e136e(0x16a)]['on'](_0x5e136e(0x16e),(_0x1822be,[_0x487c83])=>{const _0x273e85=_0x5e136e;if(this[_0x273e85(0xcf)][_0x273e85(0x152)])throw new _0x375b1(_0x273e85(0x105),this);_0x1822be[_0x273e85(0x12a)](),this[_0x273e85(0x153)]();const _0xd01c2b=this[_0x273e85(0x1a5)][_0x273e85(0x1a2)][_0x273e85(0x109)](_0x273e85(0x144)),_0x41a5e2=this[_0x273e85(0x164)](_0x487c83,_0xd01c2b);0x0==_0x41a5e2[_0x273e85(0x10e)]&&_0x41a5e2[_0x273e85(0x176)](new _0x1ec415(0x0)),_0x1822be[_0x273e85(0x17e)]=this[_0x273e85(0xb5)](_0x41a5e2)[_0x273e85(0x121)](()=>{const _0x56f041=_0x273e85;this[_0x56f041(0x1a5)][_0x56f041(0xd4)][_0x56f041(0x109)](_0x272763)[_0x56f041(0xaa)](this),this[_0x56f041(0x1a5)][_0x56f041(0x16a)][_0x56f041(0x177)](_0x56f041(0x185));})[_0x273e85(0x14f)](_0x5ce653=>this[_0x273e85(0xf1)](_0x273e85(0x158),_0x5ce653))[_0x273e85(0x194)](()=>this[_0x273e85(0xe6)]());},{'priority':_0x5e136e(0x19d)}),this[_0x5e136e(0x1a5)]['on'](_0x5e136e(0x169),async(_0x485ed8,[_0x28847c,_0x40ab56])=>{const _0x51ef54=_0x5e136e;_0x485ed8[_0x51ef54(0x12a)]();const _0x4cf137=this[_0x51ef54(0x1a5)][_0x51ef54(0xdf)][_0x51ef54(0xc2)][_0x51ef54(0x168)](_0x28847c);if(!this[_0x51ef54(0x186)][_0x51ef54(0xb9)](_0x28847c)){const _0x3f23c6=_0x40ab56&&_0x40ab56[_0x51ef54(0x16a)]?_0x40ab56[_0x51ef54(0x16a)]:'',_0x53f9f6=_0x40ab56&&_0x40ab56[_0x51ef54(0x117)]?_0x40ab56[_0x51ef54(0x117)]:{};await this[_0x51ef54(0x128)](_0x28847c,_0x3f23c6,_0x53f9f6);}this[_0x51ef54(0x1a5)][_0x51ef54(0xdf)][_0x51ef54(0xeb)]({'isUndoable':!0x1},()=>{const _0x519650=_0x51ef54;_0x4cf137[_0x519650(0xd8)]=!0x0,this[_0x519650(0x1a5)][_0x519650(0xdf)][_0x519650(0xc2)][_0x519650(0x16d)][_0x519650(0xb1)](_0x4cf137);});},{'priority':_0x5e136e(0x19d)});}async[_0x159529(0xa9)](_0x3f2a6f){const _0x54f9fe=_0x159529,_0x41c085=this[_0x54f9fe(0x1a5)][_0x54f9fe(0xd4)][_0x54f9fe(0x109)](_0xba7229),{connection:_0x25f8af}=this[_0x54f9fe(0x1a5)][_0x54f9fe(0xd4)][_0x54f9fe(0x109)](_0x272763),_0x3858f7=new Set();for(const _0x265110 of _0x3f2a6f){const _0x3437df=_0x265110[_0x54f9fe(0x120)];_0x3437df&&!_0x41c085[_0x54f9fe(0x13a)](_0x3437df)&&_0x3858f7[_0x54f9fe(0x101)](_0x3437df);}if(0x0===_0x3858f7[_0x54f9fe(0x149)])return;const _0x2f37e5=await _0x31cf61[_0x54f9fe(0xf0)](_0x25f8af,Array[_0x54f9fe(0xfd)](_0x3858f7));for(const _0x144326 of _0x2f37e5)_0x41c085[_0x54f9fe(0x13a)](_0x144326['id'])||_0x41c085[_0x54f9fe(0x14c)](_0x144326);}[_0x159529(0x164)](_0x170683,_0x379004={}){const _0x28286f=_0x159529,_0x1aacd9=this[_0x28286f(0x1a5)][_0x28286f(0xdf)],_0x32fd6d=[];let _0x346b8a=0x0;const _0x209d7b=_0x28286f(0x160)==typeof _0x170683?{'main':_0x170683}:_0x170683;for(const _0x4c04cc of Object[_0x28286f(0xb0)](_0x209d7b)){if(!this[_0x28286f(0xcf)][_0x28286f(0x108)][_0x28286f(0xb9)](_0x4c04cc))throw new _0x375b1(_0x28286f(0x183),this);const _0x241ba4=this[_0x28286f(0x1a5)][_0x28286f(0x16a)][_0x28286f(0xe4)](_0x209d7b[_0x4c04cc]),_0x591d44=this[_0x28286f(0xcf)][_0x28286f(0x168)](_0x4c04cc),_0x37372f=new _0x3fa1d8(_0x1aacd9[_0x28286f(0x165)](_0x591d44,0x0),_0x241ba4,_0x346b8a++);_0x32fd6d[_0x28286f(0x176)](_0x37372f);for(const [_0x4529c7,_0x479928]of _0x241ba4[_0x28286f(0xaf)]){const _0x35dd16=_0x1aacd9[_0x28286f(0x163)](_0x1aacd9[_0x28286f(0x133)](_0x591d44,_0x479928[_0x28286f(0x16b)][_0x28286f(0x10b)][_0x28286f(0xba)]()),_0x1aacd9[_0x28286f(0x133)](_0x591d44,_0x479928[_0x28286f(0x174)][_0x28286f(0x10b)][_0x28286f(0xba)]())),_0x3be28d=new _0x3c0c0b(_0x4529c7,null,_0x35dd16,_0x1aacd9[_0x28286f(0xaf)],!0x0,_0x346b8a++);_0x32fd6d[_0x28286f(0x176)](_0x3be28d);}}if(_0x379004)for(const [_0x386bb6,_0x2cdb3b]of Object[_0x28286f(0xfb)](_0x379004)){const _0x5566b7=_0x1aacd9[_0x28286f(0xc2)][_0x28286f(0x168)](_0x386bb6);if(!_0x5566b7)throw new _0x375b1(_0x28286f(0x134),null);for(const [_0x10a1cd,_0x375b9f]of Object[_0x28286f(0xfb)](_0x2cdb3b))if(null!==_0x375b9f){const _0x4a767e=new _0x28272e(_0x5566b7,_0x10a1cd,null,_0x375b9f,_0x346b8a++);_0x32fd6d[_0x28286f(0x176)](_0x4a767e);}}return _0x32fd6d;}async[_0x159529(0x128)](_0x1afc63,_0x6fbd56,_0xa0950c){const _0x5847ad=_0x159529;this[_0x5847ad(0x164)]({[_0x1afc63]:_0x6fbd56},{[_0x1afc63]:_0xa0950c})[_0x5847ad(0xb6)]((_0x52f6a4,_0x10ba69)=>{const _0x1f20b9=_0x5847ad;_0x52f6a4[_0x1f20b9(0xab)]=this[_0x1f20b9(0xcf)][_0x1f20b9(0x152)]+_0x10ba69,_0x52f6a4[_0x1f20b9(0xdc)]=!0x0,this[_0x1f20b9(0x11e)](_0x52f6a4);}),this[_0x5847ad(0xad)](),await this[_0x5847ad(0xb3)]();}async[_0x159529(0x159)](_0x10f137,_0x23f733){const _0x44adc8=_0x159529;let _0x2ca85f;this[_0x44adc8(0x15d)]=_0x10f137[_0x44adc8(0x1a3)];const _0x44abd9=_0x10f137[_0x44adc8(0x15c)]&&!_0x10f137[_0x44adc8(0x147)],_0x478b85=_0x44abd9?0x0:_0x10f137[_0x44adc8(0x16a)][_0x44adc8(0xab)];if(_0x23f733[_0x44adc8(0xb6)](_0x1a86bf=>{const _0x30e1cb=_0x44adc8;_0x1a86bf[_0x30e1cb(0xdc)]=!0x0,_0x1a86bf[_0x30e1cb(0x15a)]=_0x10f137[_0x30e1cb(0x179)],_0x1a86bf[_0x30e1cb(0x120)]=null;}),_0x44abd9)_0x2ca85f=_0x23f733,this[_0x44adc8(0x114)](_0x2ca85f,_0x44abd9);else{if(_0x10f137[_0x44adc8(0x147)]){const _0xcd0a0a=this[_0x44adc8(0x164)](_0x10f137[_0x44adc8(0x147)]);this[_0x44adc8(0xcf)][_0x44adc8(0x14e)][_0x44adc8(0x152)]=-_0xcd0a0a[_0x44adc8(0x10e)],_0xcd0a0a[_0x44adc8(0xb6)](_0x5249ad=>{const _0x33d756=_0x44adc8;_0x5249ad[_0x33d756(0xab)]-=_0xcd0a0a[_0x33d756(0x10e)],_0x5249ad[_0x33d756(0x15a)]=_0x10f137[_0x33d756(0x179)],_0x5249ad[_0x33d756(0xdc)]=!0x0,_0x5249ad[_0x33d756(0x120)]=null;}),this[_0x44adc8(0x114)](_0xcd0a0a,!0x0),this[_0x44adc8(0x12b)][_0x44adc8(0x152)]=-_0xcd0a0a[_0x44adc8(0x10e)]+this[_0x44adc8(0x15d)],this[_0x44adc8(0x17c)](_0xcd0a0a);}this[_0x44adc8(0xcf)][_0x44adc8(0x14e)][_0x44adc8(0x152)]=_0x478b85,_0x2ca85f=this[_0x44adc8(0xd6)](_0x10f137[_0x44adc8(0x16a)],_0x10f137[_0x44adc8(0x10c)]),await this[_0x44adc8(0xa9)](_0x2ca85f),this[_0x44adc8(0x114)](_0x2ca85f,_0x44abd9);}_0x10f137[_0x44adc8(0xc6)]&&(this[_0x44adc8(0xcd)][_0x44adc8(0xc3)](_0x2ca85f,_0x10f137[_0x44adc8(0xc6)]),this[_0x44adc8(0x161)]=_0x10f137[_0x44adc8(0xc6)]),this[_0x44adc8(0x12b)][_0x44adc8(0x152)]=_0x478b85+this[_0x44adc8(0x15d)],this[_0x44adc8(0x17c)](_0x2ca85f),_0x23f733[_0x44adc8(0x131)](_0xc2f03c=>{const _0x59afe1=_0x44adc8,_0x412b5f=this[_0x59afe1(0x150)](_0xc2f03c);return _0x412b5f&&!this[_0x59afe1(0x186)][_0x59afe1(0xb9)](_0x412b5f);})[_0x44adc8(0xb6)]((_0x6755c8,_0x28a939)=>{const _0x3549fe=_0x44adc8;_0x6755c8[_0x3549fe(0xab)]=this[_0x3549fe(0xcf)][_0x3549fe(0x152)]+_0x28a939,this[_0x3549fe(0x11e)](_0x6755c8);}),this[_0x44adc8(0xef)]()?(this[_0x44adc8(0xae)]=0x0,this[_0x44adc8(0xad)](!0x0),await this[_0x44adc8(0xb3)]()):(this[_0x44adc8(0x137)]=!0x1,this[_0x44adc8(0xe6)]());}[_0x159529(0xf1)](_0x113dc2,_0x4f1478){const _0x5bc319=_0x159529,_0x92a76=_0x4f1478&&_0x4f1478[_0x5bc319(0x145)];if(_0x92a76&&_0x92a76[_0x5bc319(0xbc)](_0x5bc319(0x1a6)))throw _0x4f1478;const _0x39fc7d=this[_0x5bc319(0x1a5)][_0x5bc319(0xd4)][_0x5bc319(0x109)](_0x272763);throw this[_0x5bc319(0x137)]=!0x0,_0x39fc7d[_0x5bc319(0x191)](),this[_0x5bc319(0x1a5)][_0x5bc319(0xf4)](_0x5bc319(0x166)),new _0x375b1(_0x113dc2,this[_0x5bc319(0x1a5)],_0x92a76?{'originalError':_0x92a76}:void 0x0);}[_0x159529(0x11e)](_0x24f6f2){const _0x100ae1=_0x159529;this[_0x100ae1(0xc7)][_0x100ae1(0xb9)](_0x24f6f2)||(this[_0x100ae1(0xc7)][_0x100ae1(0x101)](_0x24f6f2),this[_0x100ae1(0x154)][_0x100ae1(0x176)](_0x24f6f2),this[_0x100ae1(0xc4)]||_0x100ae1(0x135)==_0x24f6f2[_0x100ae1(0x18e)]&&!_0x24f6f2[_0x100ae1(0x15e)]||this[_0x100ae1(0x153)]());}[_0x159529(0xad)](_0x435b80=!0x1){const _0x51a728=_0x159529;!_0x435b80&&this[_0x51a728(0x137)]||(this[_0x51a728(0x137)]=!0x0,clearTimeout(this[_0x51a728(0x1a0)]),this[_0x51a728(0x1a0)]=setTimeout(()=>{const _0x4e924c=_0x51a728;this[_0x4e924c(0x198)]()[_0x4e924c(0x121)](_0x4bb549=>{const _0x5719f0=_0x4e924c;_0x4bb549&&(this[_0x5719f0(0xe6)](),this[_0x5719f0(0x137)]=!0x1);})[_0x4e924c(0x14f)](_0xb55395=>{const _0x2b0907=_0x4e924c;this[_0x2b0907(0xe6)](),this[_0x2b0907(0x137)]=!0x1,function(_0x5f0766){const _0x2f28f1=_0x2b0907;return _0x5f0766[_0x2f28f1(0x145)][_0x2f28f1(0xbc)](_0x2f28f1(0xe7))||_0x5f0766[_0x2f28f1(0x145)][_0x2f28f1(0xbc)](_0x2f28f1(0xd0))||_0x5f0766[_0x2f28f1(0x145)][_0x2f28f1(0xbc)](_0x2f28f1(0x151));}(_0xb55395)||this[_0x2b0907(0xf1)](_0xb55395[_0x2b0907(0x145)],_0xb55395);});},this[_0x51a728(0xae)]));}[_0x159529(0xb3)](){return new Promise(_0x5cb6f4=>{const _0x5a03f2=_0x31c8;this['on'](_0x5a03f2(0x122),()=>{_0x5cb6f4();});});}async[_0x159529(0x198)](){const _0x5d023a=_0x159529,_0x23774e=this[_0x5d023a(0x1a5)][_0x5d023a(0xd4)][_0x5d023a(0x109)](_0x1284d0);if(this[_0x5d023a(0xd5)]()&&(_0x23774e[_0x5d023a(0xe8)](),this[_0x5d023a(0x15b)]=!0x1),!this[_0x5d023a(0xef)]())return!0x0;const _0x25f437=[...this[_0x5d023a(0x154)]];for(const _0x2620f7 of _0x25f437)_0x2620f7[_0x5d023a(0x17f)]=this[_0x5d023a(0xcf)][_0x5d023a(0x14e)][_0x5d023a(0xde)](_0x2620f7);const _0x15731d=this[_0x5d023a(0xcd)][_0x5d023a(0xa6)](_0x25f437),_0x334e9a=H++,_0x143805=this[_0x5d023a(0xdd)](_0x25f437),_0x48152c=await this[_0x5d023a(0x125)][_0x5d023a(0x103)](_0x143805,_0x143805[_0x5d023a(0xab)],_0x15731d);try{return await this[_0x5d023a(0x12f)](_0x25f437,_0x48152c,_0x334e9a);}catch(_0x5819ea){return this[_0x5d023a(0xf1)](_0x5d023a(0x104),_0x5819ea);}}async[_0x159529(0x12f)](_0x39dc4f,_0x43addb,_0x3fe6bc){const _0x34c1b9=_0x159529;if(_0x34c1b9(0x113)in _0x43addb)throw _0x43addb[_0x34c1b9(0x113)];let _0x3c6ac4=!0x1;if(_0x43addb[_0x34c1b9(0x15c)]){_0x43addb[_0x34c1b9(0xc6)]&&(this[_0x34c1b9(0x161)]=_0x43addb[_0x34c1b9(0xc6)]),this[_0x34c1b9(0x154)]=this[_0x34c1b9(0x154)][_0x34c1b9(0x131)](_0xa37279=>!_0x39dc4f[_0x34c1b9(0x16f)](_0xa37279));for(const _0x535574 of _0x39dc4f)_0x535574[_0x34c1b9(0x15a)]=_0x34c1b9(0x143)in _0x43addb&&_0x43addb[_0x34c1b9(0x143)]||void 0x0;W(_0x39dc4f,_0x43addb[_0x34c1b9(0x152)]-_0x39dc4f[_0x34c1b9(0x10e)]),this[_0x34c1b9(0x17c)](_0x39dc4f);const _0x239984=_0x39dc4f[_0x34c1b9(0x131)](_0xc2bb2b=>{const _0x2779e2=_0x34c1b9;if(!_0xc2bb2b[_0x2779e2(0xdc)])return!0x1;const _0x5ab7ca=this[_0x2779e2(0x150)](_0xc2bb2b);return _0x5ab7ca&&!this[_0x2779e2(0x186)][_0x2779e2(0xb9)](_0x5ab7ca);});W(_0x239984,this[_0x34c1b9(0xcf)][_0x34c1b9(0x152)]),this[_0x34c1b9(0x114)](_0x239984),_0x3c6ac4=!0x0,this[_0x34c1b9(0xae)]=this[_0x34c1b9(0xe0)];}else{const _0x21abba=this[_0x34c1b9(0xd6)](_0x43addb[_0x34c1b9(0x16a)],_0x43addb[_0x34c1b9(0x10c)])[_0x34c1b9(0x131)](_0xbc8ed5=>_0xbc8ed5[_0x34c1b9(0xab)]>=this[_0x34c1b9(0x171)]);_0x21abba[_0x34c1b9(0xb6)](_0x2e3d30=>this[_0x34c1b9(0xbb)](_0x2e3d30)),this[_0x34c1b9(0x154)]=this[_0x34c1b9(0x154)][_0x34c1b9(0x131)](_0x5069eb=>!_0x5069eb[_0x34c1b9(0xdc)]||!this[_0x34c1b9(0x186)][_0x34c1b9(0xb9)](this[_0x34c1b9(0x150)](_0x5069eb))),this[_0x34c1b9(0x154)][_0x34c1b9(0x10e)]&&W(this[_0x34c1b9(0x154)],this[_0x34c1b9(0x154)][0x0][_0x34c1b9(0xab)]),await this[_0x34c1b9(0xa9)](_0x21abba),_0x3c6ac4=this[_0x34c1b9(0xbe)](_0x21abba,_0x43addb[_0x34c1b9(0x152)],_0x43addb[_0x34c1b9(0xc6)]),this[_0x34c1b9(0xae)]=Math[_0x34c1b9(0x156)](this[_0x34c1b9(0xae)]/0x2);}return _0x3c6ac4?!this[_0x34c1b9(0xef)]()||(this[_0x34c1b9(0xad)](!0x0),!0x1):this[_0x34c1b9(0xf1)](_0x34c1b9(0x11a));}[_0x159529(0xbe)](_0x5a2b0d,_0x57fded,_0x16c2e7){const _0x5a0601=_0x159529;try{const _0x446921={'document':this[_0x5a0601(0xcf)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x5eacf7,operationsB:_0x5cbd60,originalOperations:_0x47e681}=_0x15f012(_0x5a2b0d,this[_0x5a0601(0x154)],_0x446921);W(_0x5eacf7,this[_0x5a0601(0xcf)][_0x5a0601(0x152)]),W(_0x5cbd60,_0x57fded);for(const _0x87dd41 of _0x5eacf7){const _0x2b1f96=_0x47e681[_0x5a0601(0x109)](_0x87dd41);_0x87dd41[_0x5a0601(0x120)]=_0x2b1f96?_0x2b1f96[_0x5a0601(0x120)]:null;}_0x16c2e7&&(this[_0x5a0601(0xcd)][_0x5a0601(0xc3)](_0x5a2b0d,_0x16c2e7),this[_0x5a0601(0x161)]=_0x16c2e7),this[_0x5a0601(0x154)]=[..._0x5cbd60],this[_0x5a0601(0x114)](_0x5eacf7),this[_0x5a0601(0x17c)](_0x5a2b0d);}catch(_0x424cd5){return console[_0x5a0601(0x113)](_0x424cd5),!0x1;}return!0x0;}[_0x159529(0x114)](_0x33a3cf,_0x120550=!0x1){const _0xd31ddb=_0x159529;this[_0xd31ddb(0x1a5)][_0xd31ddb(0xdf)][_0xd31ddb(0xeb)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3e3f25=>{const _0x3248cf=_0xd31ddb;for(const _0x39ad6b of _0x33a3cf)this[_0x3248cf(0xc7)][_0x3248cf(0x101)](_0x39ad6b),this[_0x3248cf(0xbb)](_0x39ad6b),_0x3e3f25[_0x3248cf(0x106)][_0x3248cf(0x175)](_0x39ad6b),this[_0x3248cf(0x1a5)][_0x3248cf(0xdf)][_0x3248cf(0x193)](_0x39ad6b);});}[_0x159529(0xbb)](_0x2601c2){const _0x29773b=_0x159529,_0xcd5a75=this[_0x29773b(0x150)](_0x2601c2);_0xcd5a75&&this[_0x29773b(0x186)][_0x29773b(0x101)](_0xcd5a75);}[_0x159529(0x150)](_0x5101da){const _0x26f382=_0x159529;let _0x3295f5,_0x119ff2;switch(_0x5101da[_0x26f382(0x18e)]){case _0x26f382(0xf6):_0x3295f5=_0x5101da[_0x26f382(0xe2)][_0x26f382(0x107)];break;case _0x26f382(0x135):if(_0x119ff2=_0x5101da[_0x26f382(0xd1)],!_0x119ff2)return null;_0x3295f5=_0x119ff2[_0x26f382(0x107)];break;case _0x26f382(0x192):_0x3295f5=_0x5101da[_0x26f382(0x107)];break;case _0x26f382(0x10d):_0x3295f5=_0x5101da[_0x26f382(0xe9)];break;case _0x26f382(0x142):_0x3295f5=_0x5101da[_0x26f382(0x13b)][_0x26f382(0x107)];break;default:return null;}return _0x3295f5[_0x26f382(0xbf)];}[_0x159529(0x17c)](_0x31e455){const _0x38281f=_0x159529;_0x31e455[_0x38281f(0xb6)](_0x2831fe=>{const _0x4b70d7=_0x38281f,_0x4e62c6=_0x2831fe[_0x4b70d7(0x10f)]();_0x4e62c6[_0x4b70d7(0x120)]=_0x2831fe[_0x4b70d7(0x120)],_0x4e62c6[_0x4b70d7(0xdc)]=!!_0x2831fe[_0x4b70d7(0xdc)],_0x4e62c6[_0x4b70d7(0x15a)]=_0x2831fe[_0x4b70d7(0x15a)],_0x4e62c6[_0x4b70d7(0xab)]+=this[_0x4b70d7(0x15d)],_0x2831fe[_0x4b70d7(0x18c)]&&this[_0x4b70d7(0x187)][_0x4b70d7(0x101)](_0x4e62c6),this[_0x4b70d7(0x12b)][_0x4b70d7(0x175)](_0x4e62c6);});}[_0x159529(0xff)](_0x5826a3){const _0x201df5=_0x159529,_0x1d869d=this[_0x201df5(0x1a5)][_0x201df5(0xd4)][_0x201df5(0x109)](_0x201df5(0x18a)),_0x7aad9=this[_0x201df5(0x1a5)][_0x201df5(0x19a)];_0x5826a3||(_0x5826a3=_0x36eb0e(_0x7aad9,_0x201df5(0xed))),_0x1d869d[_0x201df5(0xb8)](_0x5826a3,{'title':_0x36eb0e(_0x7aad9,_0x201df5(0xd2)),'namespace':_0x201df5(0xc0)}),this[_0x201df5(0xa1)]=!0x0,clearTimeout(this[_0x201df5(0x1a0)]),this[_0x201df5(0x154)]=[],this[_0x201df5(0x1a5)][_0x201df5(0xd4)][_0x201df5(0x109)](_0x272763)[_0x201df5(0x191)]();}[_0x159529(0x153)](){const _0x232ba8=_0x159529;this[_0x232ba8(0xc4)]||(this[_0x232ba8(0xc4)]=this[_0x232ba8(0x1a5)][_0x232ba8(0xd4)][_0x232ba8(0x109)](_0x1e5774)[_0x232ba8(0x101)](_0x36eb0e(this[_0x232ba8(0x1a5)][_0x232ba8(0x19a)],_0x232ba8(0x14b))));}[_0x159529(0xe6)](){const _0x10e1f1=_0x159529;this[_0x10e1f1(0xc4)]&&(this[_0x10e1f1(0x1a5)][_0x10e1f1(0xd4)][_0x10e1f1(0x109)](_0x1e5774)[_0x10e1f1(0xf3)](this[_0x10e1f1(0xc4)]),this[_0x10e1f1(0xc4)]=null);}[_0x159529(0xdd)](_0x1a14fe){const _0x4288f7=_0x159529,_0xa73dc2=_0x1a14fe[_0x4288f7(0x12d)](_0x30fc9f=>_0x30fc9f[_0x4288f7(0x16c)]());return this[_0x4288f7(0x19e)][_0x4288f7(0x15f)](_0xa73dc2);}[_0x159529(0xd6)](_0x2b088f,_0x2f0fbe){const _0xe2d87d=_0x159529;return this[_0xe2d87d(0x19e)][_0xe2d87d(0x115)](_0x2b088f)[_0xe2d87d(0x12d)]((_0x5a49e,_0x530b22)=>{const _0x48bc05=_0xe2d87d,_0xfea694=_0x48bc05(0x16e)==_0x2f0fbe[_0x530b22][_0x48bc05(0x18e)];if(_0x48bc05(0x17a)==_0x5a49e[_0x48bc05(0xa7)]){const _0x422802=_0x5a49e[_0x48bc05(0xe2)][_0x48bc05(0x107)];!this[_0x48bc05(0xcf)][_0x48bc05(0x168)](_0x422802)&&(this[_0x48bc05(0xcf)][_0x48bc05(0x173)](_0x48bc05(0x180),_0x422802)[_0x48bc05(0x13d)]=!0x1);}const _0x53a921=_0x408bf8[_0x48bc05(0xcb)](_0x5a49e,this[_0x48bc05(0xcf)]);return _0x53a921[_0x48bc05(0x17f)]=_0x5a49e[_0x48bc05(0x17f)],_0x53a921[_0x48bc05(0xdc)]=_0xfea694,_0x53a921[_0x48bc05(0x120)]=_0xfea694?null:_0x2f0fbe[_0x530b22][_0x48bc05(0x12e)],_0x53a921[_0x48bc05(0x18c)]=_0x48bc05(0xa2)===_0x2f0fbe[_0x530b22][_0x48bc05(0x18e)],_0x53a921[_0x48bc05(0x15a)]=_0x2f0fbe[_0x530b22][_0x48bc05(0x15a)],_0x53a921;});}[_0x159529(0x18b)](){const _0x1c668c=_0x159529;this[_0x1c668c(0x15b)]=!0x0,this[_0x1c668c(0xd5)]()?this[_0x1c668c(0xad)]():this[_0x1c668c(0x15b)]=!0x1;}[_0x159529(0xd5)](){const _0x1faffc=_0x159529,_0x504dab=this[_0x1faffc(0x1a5)][_0x1faffc(0xd4)][_0x1faffc(0x109)](_0x43facc)[_0x1faffc(0x157)][_0x1faffc(0x109)](this[_0x1faffc(0x100)]);return!this[_0x1faffc(0x1a5)][_0x1faffc(0x11c)]&&!!_0x504dab&&_0x504dab[_0x1faffc(0x10e)]>0x1&&this[_0x1faffc(0x15b)];}[_0x159529(0xef)](){const _0x510fbd=_0x159529;return this[_0x510fbd(0x154)][_0x510fbd(0x10e)]>0x0||this[_0x510fbd(0xd5)]();}}export{l as RealTimeCollaborationClient};class V extends Error{}function W(_0x2814bd,_0x3007f2){const _0xdbfd66=_0x159529;for(const _0x26f8da of _0x2814bd)_0x26f8da[_0xdbfd66(0xab)]=_0x3007f2++;}function _0x1d67(){const _0x3ec1e0=['userId','_handleServerResponse','_handleReceivedOperations','filter','_disconnectService','createPositionFromPath','multi-root-editor-root-attributes-no-root','marker','reset','_isPendingUpdate','_initSessionsHandling','destroy','getUser','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.','_isAttached','suppressErrorInCollaboration','code','_isConnected','collaboration','move','lastOperationAcceptedAt','rootsAttributes','message','collaboration-missing-channelid','initData','cloudDocumentVersion','size','collaboration.channelId','PENDING_ACTION_SENDING_DATA','addUser','set','history','catch','_getAffectedRoot','cloud-services-internal-error:\x20Request\x20timeout.','version','_setPendingAction','_bufferedOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','round','channelSessions','realtimecollaborationclient-init-connection-failed','_handleInitialConnectionData','createdAt','_hasSelectionChanged','wereChangesApplied','_offset','affectsData','compress','string','_lastSyncedOperationId','stopListening','createRange','_getOperationsFromInitData','createPositionAt','realtimecollaborationclient-error','_ignoredOperations','getRoot','loadRoot','data','start','toJSON','differ','init','includes','getOperationAuthor','_lastServerVersion','state','createRoot','end','addOperation','push','fire','3801245mZnJzh','sessionCreatedAt','InsertOperation','realtimecollaborationclient-init-session-connection-error','_updateServerHistory','editing','return','wasUndone','$root','operationsReceived','selection','realtimecollaborationclient-init-non-existent-root','rtc-destroyed','ready','_knownRootNames','_disconnectionOperations','getOperations','rtc-offline','Notification','_refreshUserSelectionMarkers','_isDisconnection','permissions','type','apply','2588OHjpHd','disconnect','addRootAttribute','applyOperation','finally','off','isPremiumPlugin','_handleSendingSelectionMarkers','_sendBufferedOperations','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','locale','register','_handleReconnectionResponse','high','_compressor','getConnectedSessions','_sendBufferedOperationsDelayId','lastSyncVersion','config','offset','connect','editor','realtimecollaborationclient','_hasSynchronizationProblem','cs:removeUser','disconnected','722418YmOMWw','requires','getIdOfTheLastOperation','__className','define','_fetchMissingUsers','addToReconnectionStack','baseVersion','unregister','_sendBufferedOperationsDelayed','_currentBufferDelay','markers','keys','_bufferRootLoad','cloudServices.bundleVersion','_waitUntilSynced','CommentsOnly','_connectService','forEach','_operationToId','showWarning','has','slice','_addKnownRoot','startsWith','getDocumentDetails','_handleExternalOperations','rootName','real-time-collaboration','currentDocumentSession','document','setIdForTheLastOperation','_pendingAction','Permissions','lastOperationId','_knownOperations','listenTo','change:range','_setUpDataInit','fromJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_operationIdentifier','realtimecollaborationclient-init-service-internal-error','_document','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','newRange','Synchronization\x20issue','realtimecollaborationclient-init-service-incorrect-server-operation','plugins','_shouldSendSelectionUpdate','_decompressOperations','removeFromReconnectionStack','_isLoaded','connected','change:_isEditingAllowed','CollaborativeEditingService','_isInit','_compressOperations','isUndoneOperation','model','_baseBufferDelay','1887960WUtfcm','position','isDocumentOperation','parse','disableReadOnlyMode','_clearPendingAction','cloud-services-internal-error:\x20Not\x20connected.','createUserMarkerOperations','affectedSelectable','connection','enqueueChange','2252364sSzxbm','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.','pluginName','_shouldSendUpdate','getMany','_crash','document:write','remove','enableReadOnlyMode','mySessionId','insert','sessionId','6970CShALl','lastDocumentSession','isEnabled','entries','_connectAfterSessionHasBeenFlushed','from','409','_handleReconnectionError','_channelId','add','setPermissions','sendOperations','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-init-document-already-initialized','batch','root','roots','get','_initThrowingOnDataSet','path','metadata','addRoot','length','clone','reconnection:\x20flushed\x20session','RealTimeCollaborationClient','_isEditingAllowed','error','_applyOperationsSet','decompress','404','attributes','bind','change:hasDomSelection','realtimecollaborationclient-handleserverresponse','reconnect','isReadOnly','4405acRmaV','_saveOperationInBuffer','2SECmDA','_authorId','then','change:_isPendingUpdate','directChange','953664zcaDJU','_service','sessionAdd:','view','_loadRoot','isOfficialPlugin','stop','serverHistory','1170pZsqZY','map'];_0x1d67=function(){return _0x3ec1e0;};return _0x1d67();}class F{[_0x159529(0x167)];[_0x159529(0xb7)];constructor(_0x3570c2){const _0x62e5e2=_0x159529;this[_0x62e5e2(0x167)]=_0x3570c2,this[_0x62e5e2(0xb7)]=new WeakMap();}[_0x159529(0xa6)](_0x224ceb){const _0x469e8c=_0x159529;let _0x18acf2=_0x224ceb[_0x469e8c(0x10e)];for(;_0x18acf2--;){const _0x43492c=_0x224ceb[_0x18acf2];if(!this[_0x469e8c(0x167)][_0x469e8c(0xb9)](_0x43492c)){if(!this[_0x469e8c(0xb7)][_0x469e8c(0xb9)](_0x43492c)){const _0x1b9726=_0x1d5413()[_0x469e8c(0xba)](0x1,0x12);this[_0x469e8c(0xb7)][_0x469e8c(0x14d)](_0x43492c,_0x1b9726);}return this[_0x469e8c(0xb7)][_0x469e8c(0x109)](_0x43492c);}}}[_0x159529(0xc3)](_0x296f78,_0x14b436){const _0xd9be74=_0x159529;if(!_0x14b436)return;let _0x49766a=_0x296f78[_0xd9be74(0x10e)];for(;_0x49766a--;){const _0x5abffa=_0x296f78[_0x49766a];this[_0xd9be74(0x167)][_0xd9be74(0xb9)](_0x5abffa)||this[_0xd9be74(0xb7)][_0xd9be74(0x14d)](_0x5abffa,_0x14b436);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x108bac=_0x5823;(function(_0x238316,_0x30f1b5){const _0x56b47c=_0x5823,_0x1eadf8=_0x238316();while(!![]){try{const _0x1af2b2=parseInt(_0x56b47c(0x108))/0x1+-parseInt(_0x56b47c(0x112))/0x2+parseInt(_0x56b47c(0x111))/0x3*(parseInt(_0x56b47c(0xff))/0x4)+parseInt(_0x56b47c(0x107))/0x5*(parseInt(_0x56b47c(0xf1))/0x6)+parseInt(_0x56b47c(0x100))/0x7+-parseInt(_0x56b47c(0xe7))/0x8*(-parseInt(_0x56b47c(0xf6))/0x9)+parseInt(_0x56b47c(0x105))/0xa*(-parseInt(_0x56b47c(0xfe))/0xb);if(_0x1af2b2===_0x30f1b5)break;else _0x1eadf8['push'](_0x1eadf8['shift']());}catch(_0x39b0c6){_0x1eadf8['push'](_0x1eadf8['shift']());}}}(_0x2d6a,0x6da89));function _0x5823(_0x27b81e,_0x444f4a){const _0x2d6a08=_0x2d6a();return _0x5823=function(_0x582383,_0x109867){_0x582383=_0x582383-0xe2;let _0x3d6cbc=_0x2d6a08[_0x582383];return _0x3d6cbc;},_0x5823(_0x27b81e,_0x444f4a);}import{ContextPlugin as _0x5363de}from'ckeditor5/src/core.js';import{Collection as _0x38fd6b,CKEditorError as _0x2bb562}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4b97de}from'./websocketgateway.js';import{Users as _0x3a812c}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x2d6a(){const _0x57f77d=['5EWzLRQ','764207JvPLAU','remove','listenTo','allConnectedUsers','_users','unregister','getUserBySessionId','_registeredSessions','_handleSessionAdd','51kbqgXs','1683514oKYepx','forEach','init','state','channelSessions','isMe','role','orderNumber','requires','fire','getUser','sessionAdd:','Sessions','register','getUserSessions','clear','_handleSessionRemove','has','plugins','sessionId','8EgTqeq','context','get','assign','addUser','sessions-register-already-registered','values','stopListening','pluginName','set','1539834osqqaZ','change:state','delete','_uniqueUsersCount','sessions-unregister-not-exist','3939543TLKvbE','defineMe','channelConnectedUsers','size','isOfficialPlugin','add','_createUser','connected','1727fpovRt','67708miXvGS','3176411fPojvr','getUserRole','connection','mySessionId','user','57910sQtHmZ','isPremiumPlugin'];_0x2d6a=function(){return _0x57f77d;};return _0x2d6a();}export class Sessions extends _0x5363de{[_0x108bac(0x116)];[_0x108bac(0xf8)];[_0x108bac(0x10b)];[_0x108bac(0x10f)];[_0x108bac(0xf4)];[_0x108bac(0x10c)];static get[_0x108bac(0xef)](){const _0x3746fe=_0x108bac;return _0x3746fe(0x11e);}static get[_0x108bac(0xfa)](){return!0x0;}static get[_0x108bac(0x106)](){return!0x0;}static get[_0x108bac(0x11a)](){return[_0x4b97de,_0x3a812c];}constructor(_0x5c60fc){const _0xa075e1=_0x108bac;super(_0x5c60fc),this[_0xa075e1(0x116)]=new Map(),this[_0xa075e1(0xf8)]=new Map(),this[_0xa075e1(0x10b)]=new _0x38fd6b(),this[_0xa075e1(0x10f)]=new Map(),this[_0xa075e1(0xf4)]=0x0,this[_0xa075e1(0x10c)]=this[_0xa075e1(0xe8)][_0xa075e1(0xe5)][_0xa075e1(0xe9)](_0x3a812c);}[_0x108bac(0x114)](){const _0x5e51d6=_0x108bac,_0x337cd1=this[_0x5e51d6(0xe8)][_0x5e51d6(0xe5)][_0x5e51d6(0xe9)](_0x4b97de);this[_0x5e51d6(0x10a)](_0x337cd1,_0x5e51d6(0xf2),(_0x389b93,_0x48c522,_0x1507b7)=>{const _0x2992f3=_0x5e51d6;if(_0x2992f3(0xfd)!==_0x1507b7)this[_0x2992f3(0x116)][_0x2992f3(0x113)](_0x53162c=>_0x53162c[_0x2992f3(0xe2)]()),this[_0x2992f3(0xf8)][_0x2992f3(0x113)](_0x54888a=>_0x54888a[_0x2992f3(0xe2)]()),this[_0x2992f3(0x10b)][_0x2992f3(0xe2)]();else{for(const [_0x34900c,_0x4d03b4]of this[_0x2992f3(0x10f)])for(const _0x333948 of _0x4d03b4)this[_0x2992f3(0x110)](_0x34900c,_0x333948);}}),this[_0x5e51d6(0xfc)](_0x337cd1[_0x5e51d6(0x102)]['me'],!0x0);}[_0x108bac(0x11f)](_0x53a40f,_0x1c3ae8){const _0x46dfe0=_0x108bac;if(this[_0x46dfe0(0x10f)][_0x46dfe0(0xe4)](_0x53a40f))throw new _0x2bb562(_0x46dfe0(0xec),null,{'channelId':_0x53a40f});this[_0x46dfe0(0x10f)][_0x46dfe0(0xf0)](_0x53a40f,_0x1c3ae8),this[_0x46dfe0(0x116)][_0x46dfe0(0xf0)](_0x53a40f,new _0x38fd6b()),this[_0x46dfe0(0xf8)][_0x46dfe0(0xf0)](_0x53a40f,new _0x38fd6b()),this[_0x46dfe0(0x10a)](_0x1c3ae8,_0x46dfe0(0xfb),(_0x47e921,_0x2840c1)=>this[_0x46dfe0(0x110)](_0x53a40f,_0x2840c1)),this[_0x46dfe0(0x10a)](_0x1c3ae8,_0x46dfe0(0x109),(_0x440e49,_0x53d386)=>this[_0x46dfe0(0xe3)](_0x53a40f,_0x53d386));for(const _0x328063 of _0x1c3ae8)this[_0x46dfe0(0x110)](_0x53a40f,_0x328063);}[_0x108bac(0x10d)](_0x4ebb54){const _0x115acb=_0x108bac;if(!this[_0x115acb(0x10f)][_0x115acb(0xe4)](_0x4ebb54))throw new _0x2bb562(_0x115acb(0xf5),null,{'channelId':_0x4ebb54});const _0x5028de=this[_0x115acb(0x10f)][_0x115acb(0xe9)](_0x4ebb54);this[_0x115acb(0xee)](_0x5028de);for(const _0xbb1a24 of _0x5028de)_0x115acb(0xfd)===this[_0x115acb(0xe8)][_0x115acb(0xe5)][_0x115acb(0xe9)](_0x4b97de)[_0x115acb(0x115)]&&this[_0x115acb(0xe3)](_0x4ebb54,_0xbb1a24);this[_0x115acb(0x10f)][_0x115acb(0xf3)](_0x4ebb54),this[_0x115acb(0x116)][_0x115acb(0xf3)](_0x4ebb54),this[_0x115acb(0xf8)][_0x115acb(0xf3)](_0x4ebb54);}get[_0x108bac(0x103)](){const _0xcd7270=_0x108bac;return this[_0xcd7270(0xe8)][_0xcd7270(0xe5)][_0xcd7270(0xe9)](_0x4b97de)[_0xcd7270(0x102)][_0xcd7270(0xe6)];}[_0x108bac(0x10e)](_0x51e673){const _0x1cebea=_0x108bac;for(const _0x427cdb of this[_0x1cebea(0x116)][_0x1cebea(0xed)]())for(const _0x5a559 of _0x427cdb)if(_0x5a559['id']===_0x51e673)return _0x5a559[_0x1cebea(0x104)];}[_0x108bac(0x120)](_0x38e5dd,_0x22a411){const _0x6411e5=_0x108bac,_0xf8f3b=_0x22a411?[this[_0x6411e5(0x116)][_0x6411e5(0xe9)](_0x22a411)]:this[_0x6411e5(0x116)][_0x6411e5(0xed)](),_0x834c1e=new Set();for(const _0x2445c1 of _0xf8f3b)for(const _0x2002d3 of _0x2445c1)_0x2002d3[_0x6411e5(0x104)]['id']===_0x38e5dd['id']&&_0x834c1e[_0x6411e5(0xfb)](_0x2002d3['id']);return _0x834c1e;}[_0x108bac(0x101)](_0x2be227){const _0x20e4c9=_0x108bac;for(const _0xb486fd of this[_0x20e4c9(0x116)][_0x20e4c9(0xed)]())for(const _0x52c7f6 of _0xb486fd)if(_0x52c7f6[_0x20e4c9(0x104)]===_0x2be227)return _0x52c7f6[_0x20e4c9(0x118)];}[_0x108bac(0x110)](_0x29cf70,_0xe4362c){const _0x3b6617=_0x108bac;if(_0x3b6617(0xfd)!==this[_0x3b6617(0xe8)][_0x3b6617(0xe5)][_0x3b6617(0xe9)](_0x4b97de)[_0x3b6617(0x115)])return;const _0x437fd1=_0xe4362c[_0x3b6617(0x104)],_0x2e16bb=this[_0x3b6617(0x10c)][_0x3b6617(0x11c)](_0x437fd1['id'])||this[_0x3b6617(0xfc)](_0x437fd1),_0x10a5da=Object[_0x3b6617(0xea)]({},_0xe4362c,{'user':_0x2e16bb});this[_0x3b6617(0x116)][_0x3b6617(0xe9)](_0x29cf70)[_0x3b6617(0xfb)](_0x10a5da);const _0xe383bb=this[_0x3b6617(0xf8)][_0x3b6617(0xe9)](_0x29cf70);_0xe383bb[_0x3b6617(0xe4)](_0x2e16bb['id'])||_0xe383bb[_0x3b6617(0xfb)](_0x2e16bb),this[_0x3b6617(0x10b)][_0x3b6617(0xe4)](_0x2e16bb['id'])||this[_0x3b6617(0x10b)][_0x3b6617(0xfb)](_0x2e16bb,_0x2e16bb[_0x3b6617(0x117)]?0x0:void 0x0),this[_0x3b6617(0x11b)](_0x3b6617(0x11d)+_0x29cf70,{'channelId':_0x29cf70,'session':_0x10a5da});}[_0x108bac(0xe3)](_0x214def,_0x27f73d){const _0x332660=_0x108bac;if(_0x332660(0xfd)!==this[_0x332660(0xe8)][_0x332660(0xe5)][_0x332660(0xe9)](_0x4b97de)[_0x332660(0x115)])return;const _0x26f951=this[_0x332660(0xf8)][_0x332660(0xe9)](_0x214def),_0x56005e=_0x27f73d[_0x332660(0x104)];_0x56005e['id']&&(this[_0x332660(0x116)][_0x332660(0xe9)](_0x214def)[_0x332660(0x109)](_0x27f73d['id']),_0x26f951[_0x332660(0xe4)](_0x56005e['id'])&&!this[_0x332660(0x120)](_0x56005e,_0x214def)[_0x332660(0xf9)]&&_0x26f951[_0x332660(0x109)](_0x56005e['id']),this[_0x332660(0x10b)][_0x332660(0xe9)](_0x56005e['id'])&&!this[_0x332660(0x120)](_0x56005e)[_0x332660(0xf9)]&&this[_0x332660(0x10b)][_0x332660(0x109)](_0x56005e['id']));}[_0x108bac(0xfc)](_0xd6f47a,_0x3f6b95){const _0x81f168=_0x108bac,_0x340298=this[_0x81f168(0x10c)][_0x81f168(0xeb)](_0xd6f47a);return _0x3f6b95&&this[_0x81f168(0x10c)][_0x81f168(0xf7)](_0xd6f47a['id']),_0x340298[_0x81f168(0x119)]=this[_0x81f168(0xf4)]++,_0x340298;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4dfb00=_0x3934;(function(_0x2e93d3,_0x1187d5){const _0x2e6b69=_0x3934,_0x3df359=_0x2e93d3();while(!![]){try{const _0xb95331=-parseInt(_0x2e6b69(0x265))/0x1*(-parseInt(_0x2e6b69(0x22c))/0x2)+parseInt(_0x2e6b69(0x255))/0x3*(-parseInt(_0x2e6b69(0x269))/0x4)+parseInt(_0x2e6b69(0x1ea))/0x5*(parseInt(_0x2e6b69(0x25a))/0x6)+-parseInt(_0x2e6b69(0x235))/0x7*(-parseInt(_0x2e6b69(0x25f))/0x8)+parseInt(_0x2e6b69(0x263))/0x9+-parseInt(_0x2e6b69(0x20e))/0xa*(parseInt(_0x2e6b69(0x20f))/0xb)+parseInt(_0x2e6b69(0x1eb))/0xc*(-parseInt(_0x2e6b69(0x238))/0xd);if(_0xb95331===_0x1187d5)break;else _0x3df359['push'](_0x3df359['shift']());}catch(_0x5110cf){_0x3df359['push'](_0x3df359['shift']());}}}(_0x513d,0xeb0ac));import{Plugin as _0x4492f8}from'ckeditor5/src/core.js';import{global as _0x5839ed,DomEmitterMixin as _0x4ea7b6}from'ckeditor5/src/utils.js';import{Sessions as _0xdac61f}from'./sessions.js';function _0x3934(_0x29cc5e,_0x58eb93){const _0x513da5=_0x513d();return _0x3934=function(_0x3934f8,_0x59690d){_0x3934f8=_0x3934f8-0x1ea;let _0x4fb4a1=_0x513da5[_0x3934f8];return _0x4fb4a1;},_0x3934(_0x29cc5e,_0x58eb93);}import{ModelLiveRange as _0x45073f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4492f8{[_0x4dfb00(0x206)]=new(_0x4ea7b6())();static get[_0x4dfb00(0x24c)](){return[_0xdac61f];}static get[_0x4dfb00(0x211)](){const _0x2ea66c=_0x4dfb00;return _0x2ea66c(0x261);}static get[_0x4dfb00(0x273)](){return!0x0;}static get[_0x4dfb00(0x25d)](){return!0x0;}[_0x4dfb00(0x24e)](){const _0x13dd7f=_0x4dfb00,_0x368b20=this[_0x13dd7f(0x200)],_0x176fdb=_0x368b20[_0x13dd7f(0x234)][_0x13dd7f(0x237)](_0xdac61f);_0x368b20[_0x13dd7f(0x22a)][_0x13dd7f(0x231)](_0x13dd7f(0x212))[_0x13dd7f(0x21f)]({'model':_0x13dd7f(0x21c),'view':(_0x552595,{writer:_0x282be6})=>function(_0x3ca9fe,_0x5c9891,_0x3ce328,_0x469ec7){const _0x5b0fae=_0x13dd7f,_0x322f56=_0x3ca9fe[_0x5b0fae(0x21b)][_0x5b0fae(0x26d)](':')[0x2],_0x57a474=_0x3ce328[_0x5b0fae(0x208)](_0x322f56);if(!_0x57a474||_0x322f56===_0x3ce328[_0x5b0fae(0x257)])return;if(!_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1f9)][_0x5b0fae(0x256)](_0x3ca9fe[_0x5b0fae(0x1ee)][_0x5b0fae(0x262)],_0x5b0fae(0x25b)))return;const _0x3f0866={'class':_0x5b0fae(0x242)+_0x57a474[_0x5b0fae(0x20c)][_0x5b0fae(0x1f4)](),'data-name':_0x57a474[_0x5b0fae(0x223)],'data-session-id':_0x322f56},_0x587f6b=_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1fe)][_0x5b0fae(0x237)](_0x3ca9fe[_0x5b0fae(0x21b)]),_0x56db5f=_0x587f6b[_0x5b0fae(0x209)](),_0x35d210=_0x56db5f[_0x5b0fae(0x267)],_0x12f028=_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1f9)];if(_0x35d210&&_0x12f028[_0x5b0fae(0x23f)](_0x35d210)&&_0x12f028[_0x5b0fae(0x1f5)](_0x35d210)&&!_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1fe)][_0x5b0fae(0x237)](_0x5b0fae(0x23b)+_0x322f56)[_0x5b0fae(0x259)]()[_0x5b0fae(0x1ef)])return;const _0x4be421=_0x56db5f[_0x5b0fae(0x1fb)];return _0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1f9)][_0x5b0fae(0x1f1)](_0x4be421)&&!_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x214)](_0x4be421)&&(_0x3f0866[_0x5b0fae(0x276)]=!0x1),function(_0x278ace,_0x5024dd,_0x327c60){const _0x43e3f7=_0x5b0fae,_0x2df39c=_0x278ace[_0x43e3f7(0x25e)](_0x43e3f7(0x201),_0x5024dd);return _0x278ace[_0x43e3f7(0x1fa)](_0x43e3f7(0x24a),!0x0,_0x2df39c),_0x2df39c[_0x43e3f7(0x244)]=function(_0x3758cd){const _0x366005=_0x43e3f7,_0x5cac49=this[_0x366005(0x218)](_0x3758cd),_0x38e5cd=document[_0x366005(0x1f3)](_0x366005(0x201));return _0x38e5cd[_0x366005(0x243)][_0x366005(0x204)](_0x366005(0x240)),_0x38e5cd[_0x366005(0x239)](_0x366005(0x276),_0x366005(0x224)),_0x38e5cd[_0x366005(0x239)](_0x366005(0x264),_0x366005(0x224)),_0x38e5cd[_0x366005(0x203)]=_0x327c60[_0x366005(0x223)],_0x5cac49[_0x366005(0x210)]=_0x366005(0x226)+_0x38e5cd[_0x366005(0x22e)]+'',_0x5cac49[_0x366005(0x24f)](_0x366005(0x253),()=>{const _0x3e3132=_0x366005;_0x5cac49[_0x3e3132(0x243)][_0x3e3132(0x204)](_0x3e3132(0x251));}),_0x5cac49[_0x366005(0x24f)](_0x366005(0x26b),()=>{const _0x5ec333=_0x366005;_0x5cac49[_0x5ec333(0x243)][_0x5ec333(0x26e)](_0x5ec333(0x251));}),_0x5cac49;},_0x2df39c[_0x43e3f7(0x24b)]=function(_0x349e46){const _0xa932b1=_0x43e3f7;return!(!this[_0xa932b1(0x21a)](_0xa932b1(0x24a))||!_0x349e46[_0xa932b1(0x21a)](_0xa932b1(0x24a))||this[_0xa932b1(0x248)](_0xa932b1(0x1f7))!=_0x349e46[_0xa932b1(0x248)](_0xa932b1(0x1f7)));},_0x2df39c;}(_0x5c9891,_0x3f0866,_0x57a474);}(_0x552595,_0x282be6,_0x176fdb,_0x368b20)}),_0x368b20[_0x13dd7f(0x22a)][_0x13dd7f(0x231)](_0x13dd7f(0x212))[_0x13dd7f(0x1fd)]({'model':_0x13dd7f(0x266),'view':_0x3f11ee=>function(_0x2a91e0,_0x412c69){const _0x516e99=_0x13dd7f,_0x403cdb=_0x2a91e0[_0x516e99(0x21b)][_0x516e99(0x26d)](':')[0x2];if(_0x403cdb===_0x412c69[_0x516e99(0x257)])return null;const _0x1d024d=_0x412c69[_0x516e99(0x208)](_0x403cdb);if(!_0x1d024d)return{'id':_0x403cdb,'classes':[]};return{'id':_0x403cdb,'classes':[_0x516e99(0x23e),_0x1d024d[_0x516e99(0x20c)][_0x516e99(0x1ed)]()],'attributes':{'data-session-id':_0x403cdb},'priority':0x7d0+_0x1d024d[_0x516e99(0x23c)]};}(_0x3f11ee,_0x176fdb)}),function(_0x5a39b3){const _0x5dc7a8=_0x13dd7f,_0xf58214=_0x5a39b3[_0x5dc7a8(0x258)],_0x1724f9=new Map(),_0x5cb2f7=_0x5a39b3[_0x5dc7a8(0x234)][_0x5dc7a8(0x237)](_0xdac61f);_0xf58214[_0x5dc7a8(0x1fe)]['on'](_0x5dc7a8(0x260),(_0x420104,_0x8f1c5a,_0x18bef2,_0x293d0f)=>{const _0x268134=_0x5dc7a8;if(!_0x293d0f&&_0x1724f9[_0x268134(0x237)](_0x8f1c5a[_0x268134(0x223)]))return _0x1724f9[_0x268134(0x237)](_0x8f1c5a[_0x268134(0x223)])[_0x268134(0x250)](),void _0x1724f9[_0x268134(0x1f6)](_0x8f1c5a[_0x268134(0x223)]);const _0x2691f0=_0x8f1c5a[_0x268134(0x223)][_0x268134(0x26d)](':')[0x2];if(_0x2691f0===_0x5cb2f7[_0x268134(0x257)])return;const _0x4fd487=_0x268134(0x268)+_0x2691f0;_0xf58214[_0x268134(0x1fe)][_0x268134(0x246)](_0x4fd487)&&_0x5a39b3[_0x268134(0x275)][_0x268134(0x216)](_0x4fd487),_0x8f1c5a['on'](_0x268134(0x247),(_0x7d60fa,_0xc209ac,_0x4659f6)=>{const _0x372a94=_0x268134;if(_0x372a94(0x225)!=_0xc209ac[_0x372a94(0x252)][_0x372a94(0x25c)]&&_0x372a94(0x225)==_0x8f1c5a[_0x372a94(0x259)]()[_0x372a94(0x252)][_0x372a94(0x25c)]&&!_0x1724f9[_0x372a94(0x246)](_0x8f1c5a[_0x372a94(0x223)])){const _0x59caa7=_0xf58214[_0x372a94(0x1f9)][_0x372a94(0x227)](_0x4659f6[_0x372a94(0x213)]);if(_0x59caa7){const _0x34385d=_0x45073f[_0x372a94(0x205)](_0x59caa7);_0x1724f9[_0x372a94(0x1f0)](_0x8f1c5a[_0x372a94(0x223)],_0x34385d),_0x34385d['on'](_0x372a94(0x247),(_0x2b7957,_0xd75904,_0x22068a)=>{const _0x410c08=_0x372a94;if(_0x410c08(0x225)==_0x34385d[_0x410c08(0x252)][_0x410c08(0x25c)]){const _0x521327=_0xf58214[_0x410c08(0x1f9)][_0x410c08(0x227)](_0x22068a[_0x410c08(0x213)]);_0x521327?(_0x34385d[_0x410c08(0x262)]=_0x521327[_0x410c08(0x262)],_0x34385d[_0x410c08(0x1ff)]=_0x521327[_0x410c08(0x1ff)]):(_0x1724f9[_0x410c08(0x1f6)](_0x8f1c5a[_0x410c08(0x223)]),_0x34385d[_0x410c08(0x250)]());}});}}});}),_0xf58214[_0x5dc7a8(0x274)]['on'](_0x5dc7a8(0x1f8),()=>{const _0x1ce641=_0x5dc7a8;_0x1724f9[_0x1ce641(0x1f2)]>0x0&&_0xf58214[_0x1ce641(0x1ec)]({'isUndoable':!0x1},_0x15fa54=>{const _0x534385=_0x1ce641;for(const [_0x4c5fc5,_0x412362]of _0x1724f9)_0x534385(0x225)==_0xf58214[_0x534385(0x1fe)][_0x534385(0x237)](_0x4c5fc5)[_0x534385(0x259)]()[_0x534385(0x252)][_0x534385(0x25c)]&&(J(_0x4c5fc5[_0x534385(0x26d)](':')[0x2],_0x412362[_0x534385(0x207)](),_0xf58214,_0x15fa54),_0x412362[_0x534385(0x250)]());_0x1724f9[_0x534385(0x241)]();});});}(_0x368b20),this[_0x13dd7f(0x206)][_0x13dd7f(0x217)](_0x5839ed[_0x13dd7f(0x274)],_0x13dd7f(0x245),(_0x2a21c2,{key:_0x21ffb6})=>{const _0x561513=_0x13dd7f;_0x561513(0x229)===_0x21ffb6&&function(_0x4b52ea){const _0x49d296=_0x561513;_0x4b52ea[_0x49d296(0x275)][_0x49d296(0x23a)][_0x49d296(0x1f8)](_0x525788=>{const _0x229ec0=_0x49d296;for(const _0x3a5dde of _0x4b52ea[_0x229ec0(0x258)][_0x229ec0(0x1fe)]){if(!_0x3a5dde[_0x229ec0(0x223)][_0x229ec0(0x21d)](_0x229ec0(0x21c)))continue;const _0x3c57d1=_0x4b52ea[_0x229ec0(0x275)][_0x229ec0(0x277)][_0x229ec0(0x26a)](_0x3a5dde[_0x229ec0(0x223)]);if(_0x3c57d1){for(const _0x40e70f of _0x3c57d1)_0x525788[_0x229ec0(0x233)](_0x229ec0(0x251),_0x40e70f);}}});}(_0x368b20);},{'useCapture':!0x0});}[_0x4dfb00(0x222)](){const _0x11fd0a=_0x4dfb00,_0x3ac310=this[_0x11fd0a(0x200)],_0x52594b=_0x3ac310[_0x11fd0a(0x202)][_0x11fd0a(0x237)](_0x11fd0a(0x21e));_0x52594b&&_0x3ac310[_0x11fd0a(0x258)]['on'](_0x11fd0a(0x249),(_0x2fc383,_0xf63631)=>{const _0x45e9ed=_0x11fd0a,_0x3d4920=_0xf63631[0x0];if(!_0x3d4920[_0x45e9ed(0x24d)])return;if(_0x45e9ed(0x20b)!=_0x3d4920[_0x45e9ed(0x230)]||!_0x3d4920[_0x45e9ed(0x223)][_0x45e9ed(0x21d)](_0x45e9ed(0x26f)))return;const _0x385c05=_0x3d4920[_0x45e9ed(0x271)];_0x52594b[_0x45e9ed(0x1fc)][_0x45e9ed(0x246)](_0x385c05)&&(_0x3d4920[_0x45e9ed(0x23d)]=_0x3d4920[_0x45e9ed(0x228)]?_0x3ac310[_0x45e9ed(0x258)][_0x45e9ed(0x215)](_0x3d4920[_0x45e9ed(0x228)][_0x45e9ed(0x262)],_0x3d4920[_0x45e9ed(0x228)][_0x45e9ed(0x1ff)]):null);},{'priority':_0x11fd0a(0x22f)});}[_0x4dfb00(0x220)](){const _0x22a651=_0x4dfb00;return this[_0x22a651(0x206)][_0x22a651(0x272)](),super[_0x22a651(0x220)]();}[_0x4dfb00(0x20d)](){const _0x15732e=_0x4dfb00,_0x2d114b=this[_0x15732e(0x200)],_0x502640=_0x2d114b[_0x15732e(0x258)][_0x15732e(0x274)],_0x519fce=_0x2d114b[_0x15732e(0x234)][_0x15732e(0x237)](_0xdac61f);_0x2d114b[_0x15732e(0x258)][_0x15732e(0x1ec)]({'isUndoable':!0x1},_0xab7d77=>{const _0xa6dea=_0x15732e,_0x3a7fcb=_0xa6dea(0x23b)+_0x519fce[_0xa6dea(0x257)],_0x4bb23a=_0xa6dea(0x268)+_0x519fce[_0xa6dea(0x257)],_0x3a6f4e=_0x2d114b[_0xa6dea(0x258)][_0xa6dea(0x1fe)][_0xa6dea(0x246)](_0x3a7fcb);_0x2d114b[_0xa6dea(0x275)][_0xa6dea(0x23a)][_0xa6dea(0x26c)]?J(_0x519fce[_0xa6dea(0x257)],_0x502640[_0xa6dea(0x22b)][_0xa6dea(0x22d)](),_0x2d114b[_0xa6dea(0x258)],_0xab7d77):_0x3a6f4e&&(_0xab7d77[_0xa6dea(0x232)](_0x3a7fcb),_0xab7d77[_0xa6dea(0x232)](_0x4bb23a));});}}function _0x513d(){const _0x4c9137=['user:position:','24724XVsFpd','markerNameToElements','mouseleave','hasDomSelection','split','remove','user:','updateMarker','batch','stopListening','isOfficialPlugin','document','editing','contenteditable','mapper','8053315TYiQKo','14177640luhcUx','enqueueChange','getSelectionClass','markerRange','isCollapsed','set','isLimit','size','createElement','getMarkerClass','isInline','delete','data-session-id','change','schema','setCustomProperty','parent','_createdBatches','markerToHighlight','markers','end','editor','span','commands','textContent','add','fromRange','_domEmitter','toRange','getUserBySessionId','getStart','getContainedElement','marker','color','createUserMarkerOperations','5450bRAbJR','18953KVKORD','innerHTML','pluginName','editingDowncast','deletionPosition','hasContent','createRange','reconvertMarker','listenTo','toDomElement','getPositions','getCustomProperty','markerName','user:position','startsWith','undo','markerToElement','destroy','element','afterInit','name','false','$graveyard','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getNearestSelectionRange','oldRange','Escape','conversion','selection','8cbgxUG','getFirstRange','outerHTML','highest','type','for','removeMarker','removeClass','plugins','427uxCCLr','addMarker','get','26mFLFcq','setAttribute','view','user:range:','orderNumber','newRange','ck-user__selection','isObject','ck-user__marker-tooltip','clear','ck-user__marker\x20','classList','render','keydown','has','change:range','getAttribute','applyOperation','userPositionMarker','isSimilar','requires','isDocumentOperation','init','addEventListener','detach','ck-user__marker_hovered','root','mouseenter','tableCell','315mlUogs','checkChild','mySessionId','model','getRange','6ghYcVa','$text','rootName','isPremiumPlugin','createUIElement','218584JXKkSo','update:user:range','UserMarkers','start','13394358iRfoPx','spellcheck','37021oppkUs','user:range','nodeAfter'];_0x513d=function(){return _0x4c9137;};return _0x513d();}function J(_0x4a9db9,_0x3507b8,_0x550974,_0xa9cda9){const _0x3a7df9=_0x4dfb00,_0x41c35c=_0x3a7df9(0x23b)+_0x4a9db9,_0x535d73=_0x3a7df9(0x268)+_0x4a9db9,_0x342f36=_0x3507b8[_0x3a7df9(0x20a)]();let _0xb69df=_0x3507b8[_0x3a7df9(0x262)];if(_0x342f36&&_0x342f36['is'](_0x3a7df9(0x221),_0x3a7df9(0x254))){const _0xa2c393=function(_0x3edeae,_0x1b66dc){const _0x170652=_0x3a7df9;for(const _0x6f2f22 of _0x3edeae[_0x170652(0x219)]())if(_0x1b66dc[_0x170652(0x1f9)][_0x170652(0x256)](_0x6f2f22,_0x170652(0x25b)))return _0x6f2f22;}(_0x3507b8,_0x550974);_0xa2c393&&(_0xb69df=_0xa2c393,_0x3507b8=_0xa9cda9[_0x3a7df9(0x215)](_0xb69df));}const _0xfac617=_0xa9cda9[_0x3a7df9(0x215)](_0xb69df);_0x550974[_0x3a7df9(0x1fe)][_0x3a7df9(0x246)](_0x41c35c)?(_0xa9cda9[_0x3a7df9(0x270)](_0x41c35c,{'range':_0x3507b8}),_0xa9cda9[_0x3a7df9(0x270)](_0x535d73,{'range':_0xfac617})):(_0xa9cda9[_0x3a7df9(0x236)](_0x41c35c,{'range':_0x3507b8,'usingOperation':!0x0}),_0xa9cda9[_0x3a7df9(0x236)](_0x535d73,{'range':_0xfac617,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x482868=_0x22c4;(function(_0x51715f,_0x389b6d){const _0xaba87d=_0x22c4,_0x51aa27=_0x51715f();while(!![]){try{const _0x3b9dbc=-parseInt(_0xaba87d(0xea))/0x1*(-parseInt(_0xaba87d(0xa2))/0x2)+-parseInt(_0xaba87d(0x9c))/0x3*(parseInt(_0xaba87d(0x9d))/0x4)+-parseInt(_0xaba87d(0xb8))/0x5+-parseInt(_0xaba87d(0xc1))/0x6+parseInt(_0xaba87d(0xdc))/0x7+parseInt(_0xaba87d(0xe2))/0x8+-parseInt(_0xaba87d(0xc9))/0x9*(-parseInt(_0xaba87d(0xd3))/0xa);if(_0x3b9dbc===_0x389b6d)break;else _0x51aa27['push'](_0x51aa27['shift']());}catch(_0x450340){_0x51aa27['push'](_0x51aa27['shift']());}}}(_0x129b,0xbf41a));function _0x129b(){const _0x28db56=['getAttribute','user:range:','undo','init','newRange','user:position:','toDomElement','plugins','contenteditable','stopListening','isCollapsed','requires','createElement','checkChild','classList','mouseleave','getContainedElement','detach','highest','delete','getPositions','isObject','applyOperation','getFirstRange','parent','batch','rootName','set','selection','hasContent','end','for','change','markerNameToElements','user:','editor','15vWKwzn','819028iqPDTR','_createdBatches','destroy','reconvertMarker','isDocumentOperation','196EtrtQk','root','_domEmitter','createUserMarkerOperations','view','keydown','isInline','markerRange','markerToElement','clear','toRange','marker','addMarker','false','getNearestSelectionRange','commands','setAttribute','spellcheck','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','updateMarker','textContent','isOfficialPlugin','4515825JsDTVT','enqueueChange','userPositionMarker','nodeAfter','removeClass','markers','isLimit','getUserBySessionId','setCustomProperty','5457168bfSpOJ','editing','getCustomProperty','element','listenTo','markerName','get','mapper','147213ySasOD','deletionPosition','mySessionId','remove','conversion','getMarkerClass','name','data-session-id','outerHTML','update:user:range','510sBWcUX','isSimilar','user:range','startsWith','getSelectionClass','type','$text','schema','getRange','538419mQZgnF','split','innerHTML','ck-user__selection','pluginName','removeMarker','10426576iiVWwG','add','start','createRange','change:range','editingDowncast','render','orderNumber','14341PCZQkE','isPremiumPlugin','mouseenter','tableCell','ck-user__marker_hovered','hasDomSelection','UserMarkers','afterInit','model','fromRange','getStart','user:position','ck-user__marker\x20','color','document','span','$graveyard','addEventListener','Escape','ck-user__marker-tooltip','createUIElement','has','oldRange','size','markerToHighlight'];_0x129b=function(){return _0x28db56;};return _0x129b();}import{Plugin as _0x4534fc}from'ckeditor5/src/core.js';import{global as _0x22f48b,DomEmitterMixin as _0x802dcb}from'ckeditor5/src/utils.js';import{Sessions as _0x38fa51}from'./sessions.js';import{ModelLiveRange as _0x3bd113}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x22c4(_0x517bf6,_0x55bb6a){const _0x129baf=_0x129b();return _0x22c4=function(_0x22c420,_0x150ef5){_0x22c420=_0x22c420-0x73;let _0xe84ddd=_0x129baf[_0x22c420];return _0xe84ddd;},_0x22c4(_0x517bf6,_0x55bb6a);}export class UserMarkers extends _0x4534fc{[_0x482868(0xa4)]=new(_0x802dcb())();static get[_0x482868(0x83)](){return[_0x38fa51];}static get[_0x482868(0xe0)](){const _0x294c6f=_0x482868;return _0x294c6f(0xf0);}static get[_0x482868(0xb7)](){return!0x0;}static get[_0x482868(0xeb)](){return!0x0;}[_0x482868(0x7b)](){const _0x390f7d=_0x482868,_0x394bcd=this[_0x390f7d(0x9b)],_0x1b80b6=_0x394bcd[_0x390f7d(0x7f)][_0x390f7d(0xc7)](_0x38fa51);_0x394bcd[_0x390f7d(0xcd)][_0x390f7d(0x97)](_0x390f7d(0xe7))[_0x390f7d(0xaa)]({'model':_0x390f7d(0xf5),'view':(_0x3c70fb,{writer:_0x299932})=>function(_0x1880fc,_0x18761e,_0x4a8762,_0x5634ed){const _0x30a3c4=_0x390f7d,_0x79b54a=_0x1880fc[_0x30a3c4(0xc6)][_0x30a3c4(0xdd)](':')[0x2],_0x476358=_0x4a8762[_0x30a3c4(0xbf)](_0x79b54a);if(!_0x476358||_0x79b54a===_0x4a8762[_0x30a3c4(0xcb)])return;if(!_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xda)][_0x30a3c4(0x85)](_0x1880fc[_0x30a3c4(0xa9)][_0x30a3c4(0xe4)],_0x30a3c4(0xd9)))return;const _0x20b74f={'class':_0x30a3c4(0xf6)+_0x476358[_0x30a3c4(0xf7)][_0x30a3c4(0xce)](),'data-name':_0x476358[_0x30a3c4(0xcf)],'data-session-id':_0x79b54a},_0x2ae594=_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xbd)][_0x30a3c4(0xc7)](_0x1880fc[_0x30a3c4(0xc6)]),_0x583bad=_0x2ae594[_0x30a3c4(0xf4)](),_0x1e2dee=_0x583bad[_0x30a3c4(0xbb)],_0x29de2c=_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xda)];if(_0x1e2dee&&_0x29de2c[_0x30a3c4(0x8d)](_0x1e2dee)&&_0x29de2c[_0x30a3c4(0xa8)](_0x1e2dee)&&!_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xbd)][_0x30a3c4(0xc7)](_0x30a3c4(0x79)+_0x79b54a)[_0x30a3c4(0xdb)]()[_0x30a3c4(0x82)])return;const _0x4d86af=_0x583bad[_0x30a3c4(0x90)];return _0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0xda)][_0x30a3c4(0xbe)](_0x4d86af)&&!_0x5634ed[_0x30a3c4(0xf2)][_0x30a3c4(0x95)](_0x4d86af)&&(_0x20b74f[_0x30a3c4(0x80)]=!0x1),function(_0xcda66f,_0x3b0181,_0x2145c9){const _0x16d009=_0x30a3c4,_0x337187=_0xcda66f[_0x16d009(0x73)](_0x16d009(0xf9),_0x3b0181);return _0xcda66f[_0x16d009(0xc0)](_0x16d009(0xba),!0x0,_0x337187),_0x337187[_0x16d009(0xe8)]=function(_0x5de661){const _0x2a030c=_0x16d009,_0x577bfc=this[_0x2a030c(0x7e)](_0x5de661),_0x40f031=document[_0x2a030c(0x84)](_0x2a030c(0xf9));return _0x40f031[_0x2a030c(0x86)][_0x2a030c(0xe3)](_0x2a030c(0xfd)),_0x40f031[_0x2a030c(0xb2)](_0x2a030c(0x80),_0x2a030c(0xaf)),_0x40f031[_0x2a030c(0xb2)](_0x2a030c(0xb3),_0x2a030c(0xaf)),_0x40f031[_0x2a030c(0xb6)]=_0x2145c9[_0x2a030c(0xcf)],_0x577bfc[_0x2a030c(0xde)]=_0x2a030c(0xb4)+_0x40f031[_0x2a030c(0xd1)]+'',_0x577bfc[_0x2a030c(0xfb)](_0x2a030c(0xec),()=>{const _0xee5764=_0x2a030c;_0x577bfc[_0xee5764(0x86)][_0xee5764(0xe3)](_0xee5764(0xee));}),_0x577bfc[_0x2a030c(0xfb)](_0x2a030c(0x87),()=>{const _0x162423=_0x2a030c;_0x577bfc[_0x162423(0x86)][_0x162423(0xcc)](_0x162423(0xee));}),_0x577bfc;},_0x337187[_0x16d009(0xd4)]=function(_0x569187){const _0x1f814b=_0x16d009;return!(!this[_0x1f814b(0xc3)](_0x1f814b(0xba))||!_0x569187[_0x1f814b(0xc3)](_0x1f814b(0xba))||this[_0x1f814b(0x78)](_0x1f814b(0xd0))!=_0x569187[_0x1f814b(0x78)](_0x1f814b(0xd0)));},_0x337187;}(_0x18761e,_0x20b74f,_0x476358);}(_0x3c70fb,_0x299932,_0x1b80b6,_0x394bcd)}),_0x394bcd[_0x390f7d(0xcd)][_0x390f7d(0x97)](_0x390f7d(0xe7))[_0x390f7d(0x77)]({'model':_0x390f7d(0xd5),'view':_0x4d70d5=>function(_0x691bce,_0x3e9a40){const _0x37697b=_0x390f7d,_0x22ac1e=_0x691bce[_0x37697b(0xc6)][_0x37697b(0xdd)](':')[0x2];if(_0x22ac1e===_0x3e9a40[_0x37697b(0xcb)])return null;const _0x449c85=_0x3e9a40[_0x37697b(0xbf)](_0x22ac1e);if(!_0x449c85)return{'id':_0x22ac1e,'classes':[]};return{'id':_0x22ac1e,'classes':[_0x37697b(0xdf),_0x449c85[_0x37697b(0xf7)][_0x37697b(0xd7)]()],'attributes':{'data-session-id':_0x22ac1e},'priority':0x7d0+_0x449c85[_0x37697b(0xe9)]};}(_0x4d70d5,_0x1b80b6)}),function(_0x4eae79){const _0x5484d4=_0x390f7d,_0x2b842f=_0x4eae79[_0x5484d4(0xf2)],_0x289482=new Map(),_0x598626=_0x4eae79[_0x5484d4(0x7f)][_0x5484d4(0xc7)](_0x38fa51);_0x2b842f[_0x5484d4(0xbd)]['on'](_0x5484d4(0xd2),(_0x3c29fa,_0x2fabcc,_0x482322,_0xde53b1)=>{const _0x4ef5f1=_0x5484d4;if(!_0xde53b1&&_0x289482[_0x4ef5f1(0xc7)](_0x2fabcc[_0x4ef5f1(0xcf)]))return _0x289482[_0x4ef5f1(0xc7)](_0x2fabcc[_0x4ef5f1(0xcf)])[_0x4ef5f1(0x89)](),void _0x289482[_0x4ef5f1(0x8b)](_0x2fabcc[_0x4ef5f1(0xcf)]);const _0x43d517=_0x2fabcc[_0x4ef5f1(0xcf)][_0x4ef5f1(0xdd)](':')[0x2];if(_0x43d517===_0x598626[_0x4ef5f1(0xcb)])return;const _0x4c0ca1=_0x4ef5f1(0x7d)+_0x43d517;_0x2b842f[_0x4ef5f1(0xbd)][_0x4ef5f1(0x74)](_0x4c0ca1)&&_0x4eae79[_0x4ef5f1(0xc2)][_0x4ef5f1(0xa0)](_0x4c0ca1),_0x2fabcc['on'](_0x4ef5f1(0xe6),(_0x39fd29,_0x1b5c9c,_0x29e7cb)=>{const _0x5a7e36=_0x4ef5f1;if(_0x5a7e36(0xfa)!=_0x1b5c9c[_0x5a7e36(0xa3)][_0x5a7e36(0x92)]&&_0x5a7e36(0xfa)==_0x2fabcc[_0x5a7e36(0xdb)]()[_0x5a7e36(0xa3)][_0x5a7e36(0x92)]&&!_0x289482[_0x5a7e36(0x74)](_0x2fabcc[_0x5a7e36(0xcf)])){const _0xad5be0=_0x2b842f[_0x5a7e36(0xda)][_0x5a7e36(0xb0)](_0x29e7cb[_0x5a7e36(0xca)]);if(_0xad5be0){const _0x5a1c7c=_0x3bd113[_0x5a7e36(0xf3)](_0xad5be0);_0x289482[_0x5a7e36(0x93)](_0x2fabcc[_0x5a7e36(0xcf)],_0x5a1c7c),_0x5a1c7c['on'](_0x5a7e36(0xe6),(_0x3e680a,_0x4396d0,_0x15f50c)=>{const _0x57adbe=_0x5a7e36;if(_0x57adbe(0xfa)==_0x5a1c7c[_0x57adbe(0xa3)][_0x57adbe(0x92)]){const _0x2410b4=_0x2b842f[_0x57adbe(0xda)][_0x57adbe(0xb0)](_0x15f50c[_0x57adbe(0xca)]);_0x2410b4?(_0x5a1c7c[_0x57adbe(0xe4)]=_0x2410b4[_0x57adbe(0xe4)],_0x5a1c7c[_0x57adbe(0x96)]=_0x2410b4[_0x57adbe(0x96)]):(_0x289482[_0x57adbe(0x8b)](_0x2fabcc[_0x57adbe(0xcf)]),_0x5a1c7c[_0x57adbe(0x89)]());}});}}});}),_0x2b842f[_0x5484d4(0xf8)]['on'](_0x5484d4(0x98),()=>{const _0x514249=_0x5484d4;_0x289482[_0x514249(0x76)]>0x0&&_0x2b842f[_0x514249(0xb9)]({'isUndoable':!0x1},_0x4e288b=>{const _0x18e0ea=_0x514249;for(const [_0x15b110,_0x35568c]of _0x289482)_0x18e0ea(0xfa)==_0x2b842f[_0x18e0ea(0xbd)][_0x18e0ea(0xc7)](_0x15b110)[_0x18e0ea(0xdb)]()[_0x18e0ea(0xa3)][_0x18e0ea(0x92)]&&(J(_0x15b110[_0x18e0ea(0xdd)](':')[0x2],_0x35568c[_0x18e0ea(0xac)](),_0x2b842f,_0x4e288b),_0x35568c[_0x18e0ea(0x89)]());_0x289482[_0x18e0ea(0xab)]();});});}(_0x394bcd),this[_0x390f7d(0xa4)][_0x390f7d(0xc5)](_0x22f48b[_0x390f7d(0xf8)],_0x390f7d(0xa7),(_0x16f8c1,{key:_0x2ddb89})=>{const _0x3ae48c=_0x390f7d;_0x3ae48c(0xfc)===_0x2ddb89&&function(_0x4a337f){const _0x46a585=_0x3ae48c;_0x4a337f[_0x46a585(0xc2)][_0x46a585(0xa6)][_0x46a585(0x98)](_0x23b0d6=>{const _0x29726f=_0x46a585;for(const _0x5759e6 of _0x4a337f[_0x29726f(0xf2)][_0x29726f(0xbd)]){if(!_0x5759e6[_0x29726f(0xcf)][_0x29726f(0xd6)](_0x29726f(0xf5)))continue;const _0x145224=_0x4a337f[_0x29726f(0xc2)][_0x29726f(0xc8)][_0x29726f(0x99)](_0x5759e6[_0x29726f(0xcf)]);if(_0x145224){for(const _0x4f45d2 of _0x145224)_0x23b0d6[_0x29726f(0xbc)](_0x29726f(0xee),_0x4f45d2);}}});}(_0x394bcd);},{'useCapture':!0x0});}[_0x482868(0xf1)](){const _0xf5c2c2=_0x482868,_0x1d35bc=this[_0xf5c2c2(0x9b)],_0x136d1a=_0x1d35bc[_0xf5c2c2(0xb1)][_0xf5c2c2(0xc7)](_0xf5c2c2(0x7a));_0x136d1a&&_0x1d35bc[_0xf5c2c2(0xf2)]['on'](_0xf5c2c2(0x8e),(_0x530890,_0x352b19)=>{const _0x364dd6=_0xf5c2c2,_0x199634=_0x352b19[0x0];if(!_0x199634[_0x364dd6(0xa1)])return;if(_0x364dd6(0xad)!=_0x199634[_0x364dd6(0xd8)]||!_0x199634[_0x364dd6(0xcf)][_0x364dd6(0xd6)](_0x364dd6(0x9a)))return;const _0x3cb64d=_0x199634[_0x364dd6(0x91)];_0x136d1a[_0x364dd6(0x9e)][_0x364dd6(0x74)](_0x3cb64d)&&(_0x199634[_0x364dd6(0x7c)]=_0x199634[_0x364dd6(0x75)]?_0x1d35bc[_0x364dd6(0xf2)][_0x364dd6(0xe5)](_0x199634[_0x364dd6(0x75)][_0x364dd6(0xe4)],_0x199634[_0x364dd6(0x75)][_0x364dd6(0x96)]):null);},{'priority':_0xf5c2c2(0x8a)});}[_0x482868(0x9f)](){const _0x53eefb=_0x482868;return this[_0x53eefb(0xa4)][_0x53eefb(0x81)](),super[_0x53eefb(0x9f)]();}[_0x482868(0xa5)](){const _0x35a4c6=_0x482868,_0x19ba90=this[_0x35a4c6(0x9b)],_0x1779bd=_0x19ba90[_0x35a4c6(0xf2)][_0x35a4c6(0xf8)],_0x562ee8=_0x19ba90[_0x35a4c6(0x7f)][_0x35a4c6(0xc7)](_0x38fa51);_0x19ba90[_0x35a4c6(0xf2)][_0x35a4c6(0xb9)]({'isUndoable':!0x1},_0x31377c=>{const _0x5b3a44=_0x35a4c6,_0x1bc627=_0x5b3a44(0x79)+_0x562ee8[_0x5b3a44(0xcb)],_0x201924=_0x5b3a44(0x7d)+_0x562ee8[_0x5b3a44(0xcb)],_0xd24388=_0x19ba90[_0x5b3a44(0xf2)][_0x5b3a44(0xbd)][_0x5b3a44(0x74)](_0x1bc627);_0x19ba90[_0x5b3a44(0xc2)][_0x5b3a44(0xa6)][_0x5b3a44(0xef)]?J(_0x562ee8[_0x5b3a44(0xcb)],_0x1779bd[_0x5b3a44(0x94)][_0x5b3a44(0x8f)](),_0x19ba90[_0x5b3a44(0xf2)],_0x31377c):_0xd24388&&(_0x31377c[_0x5b3a44(0xe1)](_0x1bc627),_0x31377c[_0x5b3a44(0xe1)](_0x201924));});}}function J(_0x3922ed,_0x538e67,_0x21d24d,_0x12c22d){const _0x3a2565=_0x482868,_0x68a786=_0x3a2565(0x79)+_0x3922ed,_0x5de20f=_0x3a2565(0x7d)+_0x3922ed,_0x3d5ef3=_0x538e67[_0x3a2565(0x88)]();let _0x19657e=_0x538e67[_0x3a2565(0xe4)];if(_0x3d5ef3&&_0x3d5ef3['is'](_0x3a2565(0xc4),_0x3a2565(0xed))){const _0x337715=function(_0x1a1044,_0x2326ba){const _0x1607b1=_0x3a2565;for(const _0x1e1d0d of _0x1a1044[_0x1607b1(0x8c)]())if(_0x2326ba[_0x1607b1(0xda)][_0x1607b1(0x85)](_0x1e1d0d,_0x1607b1(0xd9)))return _0x1e1d0d;}(_0x538e67,_0x21d24d);_0x337715&&(_0x19657e=_0x337715,_0x538e67=_0x12c22d[_0x3a2565(0xe5)](_0x19657e));}const _0x25df51=_0x12c22d[_0x3a2565(0xe5)](_0x19657e);_0x21d24d[_0x3a2565(0xbd)][_0x3a2565(0x74)](_0x68a786)?(_0x12c22d[_0x3a2565(0xb5)](_0x68a786,{'range':_0x538e67}),_0x12c22d[_0x3a2565(0xb5)](_0x5de20f,{'range':_0x25df51})):(_0x12c22d[_0x3a2565(0xae)](_0x68a786,{'range':_0x538e67,'usingOperation':!0x0}),_0x12c22d[_0x3a2565(0xae)](_0x5de20f,{'range':_0x25df51,'usingOperation':!0x0}));}
|