@ckeditor/ckeditor5-real-time-collaboration 47.0.0-alpha.8 → 47.0.0
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
|
+
const _0x1f50ee=_0x5528;(function(_0x509a3b,_0x4d5157){const _0x3d053f=_0x5528,_0x5520d1=_0x509a3b();while(!![]){try{const _0x4958e7=-parseInt(_0x3d053f(0xca))/0x1+-parseInt(_0x3d053f(0xc8))/0x2*(-parseInt(_0x3d053f(0xd2))/0x3)+parseInt(_0x3d053f(0xd6))/0x4+parseInt(_0x3d053f(0xcb))/0x5*(parseInt(_0x3d053f(0xde))/0x6)+parseInt(_0x3d053f(0xc9))/0x7*(parseInt(_0x3d053f(0xcd))/0x8)+parseInt(_0x3d053f(0xe9))/0x9*(-parseInt(_0x3d053f(0xe3))/0xa)+-parseInt(_0x3d053f(0xd9))/0xb;if(_0x4958e7===_0x4d5157)break;else _0x5520d1['push'](_0x5520d1['shift']());}catch(_0x10b388){_0x5520d1['push'](_0x5520d1['shift']());}}}(_0x3c79,0xf307f));import{View as _0x31fe6a}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x3664ef}from'ckeditor5/src/utils.js';function _0x3c79(){const _0x21a5a0=['list','setTemplate','createCollection','7611232aaqgQN','.ck-balloon-panel_with-arrow','isExpanded','24160389ejcdiE','ck-presence-list__list','change:hasPopup','.ck-presence-list__dropdown-list','setAttribute','117252FBXZmU','fire','div','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','aria-expanded','10dUNzxR','hasPopup','bindTemplate','listenTo','render','presencelist:hide','3710277FfksFs','contains','element','presencelist:show','keystrokes','removeAttribute','focus','118CppoLT','133PsIBnr','392955QPZdxD','375hBsAwR','set','16304WVYeLn','querySelector','items','Connected\x20users\x20list','relatedTarget','29994cJhGyY'];_0x3c79=function(){return _0x21a5a0;};return _0x3c79();}function _0x5528(_0x35ed22,_0x2f0aca){const _0x3c7957=_0x3c79();return _0x5528=function(_0x552848,_0x29852c){_0x552848=_0x552848-0xc7;let _0x522a81=_0x3c7957[_0x552848];return _0x522a81;},_0x5528(_0x35ed22,_0x2f0aca);}import{getTranslation as _0x19e9f4}from'../../common-translations.js';export class PresenceInlineListView extends _0x31fe6a{[_0x1f50ee(0xcf)];[_0x1f50ee(0xed)];constructor(_0x324f76){const _0x173803=_0x1f50ee;super(_0x324f76);const _0x30d2a2=this[_0x173803(0xe5)];this[_0x173803(0xcf)]=this[_0x173803(0xd5)](),this[_0x173803(0xed)]=new _0x3664ef(),this[_0x173803(0xcc)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x173803(0xd4)]({'tag':_0x173803(0xe0),'attributes':{'aria-haspopup':_0x30d2a2['if'](_0x173803(0xe4)),'aria-expanded':_0x30d2a2['to'](_0x173803(0xd8),_0x565532=>this[_0x173803(0xe4)]&&String(_0x565532)),'aria-label':_0x30d2a2['to'](_0x173803(0xe4),_0x24493d=>_0x19e9f4(_0x324f76,_0x24493d?_0x173803(0xe1):_0x173803(0xd0))),'role':_0x173803(0xd3),'tabindex':_0x30d2a2['to'](_0x173803(0xe4),_0x378756=>!!_0x378756&&0x0),'class':['ck',_0x173803(0xda)]},'children':this[_0x173803(0xcf)],'on':{'mouseenter':_0x30d2a2['to'](()=>this[_0x173803(0xdf)](_0x173803(0xec))),'mouseleave':_0x30d2a2['to'](_0xcc8b9=>{const _0x40ad87=_0x173803,_0x537419=_0xcc8b9,_0x3278da=document[_0x40ad87(0xce)](_0x40ad87(0xdc)),_0x381edf=document[_0x40ad87(0xce)](_0x40ad87(0xd7));_0x3278da?.[_0x40ad87(0xea)](_0x537419[_0x40ad87(0xd1)])||_0x381edf?.[_0x40ad87(0xea)](_0x537419[_0x40ad87(0xd1)])||this[_0x40ad87(0xdf)](_0x40ad87(0xe8));})}}),this['on'](_0x173803(0xdb),(_0x5b8c0f,_0x39c0e8,_0x15e6b9)=>{const _0x5c5be2=_0x173803;this[_0x5c5be2(0xeb)]&&(_0x15e6b9?this[_0x5c5be2(0xeb)][_0x5c5be2(0xdd)](_0x5c5be2(0xe2),String(this[_0x5c5be2(0xd8)])):this[_0x5c5be2(0xeb)][_0x5c5be2(0xee)](_0x5c5be2(0xe2)));});}[_0x1f50ee(0xc7)](){const _0x5e2e57=_0x1f50ee;this[_0x5e2e57(0xeb)][_0x5e2e57(0xc7)]();}[_0x1f50ee(0xe7)](){const _0xde30e6=_0x1f50ee;super[_0xde30e6(0xe7)](),this[_0xde30e6(0xed)][_0xde30e6(0xe6)](this[_0xde30e6(0xeb)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5633d5=_0x54e3;(function(_0x116249,_0x88982){const _0x14fb04=_0x54e3,_0x109e7b=_0x116249();while(!![]){try{const _0xebf33b=parseInt(_0x14fb04(0x10e))/0x1+parseInt(_0x14fb04(0x10f))/0x2+-parseInt(_0x14fb04(0x106))/0x3*(parseInt(_0x14fb04(0x10b))/0x4)+parseInt(_0x14fb04(0x119))/0x5*(parseInt(_0x14fb04(0x111))/0x6)+-parseInt(_0x14fb04(0x117))/0x7*(-parseInt(_0x14fb04(0x110))/0x8)+-parseInt(_0x14fb04(0x10d))/0x9*(parseInt(_0x14fb04(0x107))/0xa)+parseInt(_0x14fb04(0x113))/0xb*(parseInt(_0x14fb04(0x10c))/0xc);if(_0xebf33b===_0x88982)break;else _0x109e7b['push'](_0x109e7b['shift']());}catch(_0x1820bc){_0x109e7b['push'](_0x109e7b['shift']());}}}(_0x43ba,0xe7bae));import{View as _0x270c6b}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x2dd2ea}from'./presencecounterview.js';function _0x43ba(){const _0x2e5bcd=['1669944mozWJy','tooltipPosition','11393140gwEcpX','hasPopup','counterView','setTemplate','21NRBbJP','bind','10rGAomb','div','locale','items','set','inlineListView','ck-reset','isCollapsed','ck-presence-list','listenTo','change','bindTemplate','41367JhHzQI','1890PNYpGr','ck-rounded-corners','first','ck-presence-list--collapsed','436DsZcgv','12SDXifs','74511iEGAOk','287374oNkmWo','2740534sGwiLO','2044984yEJHYy'];_0x43ba=function(){return _0x2e5bcd;};return _0x43ba();}function _0x54e3(_0x159833,_0x3aa280){const _0x43baab=_0x43ba();return _0x54e3=function(_0x54e335,_0x49a884){_0x54e335=_0x54e335-0xfe;let _0x22168f=_0x43baab[_0x54e335];return _0x22168f;},_0x54e3(_0x159833,_0x3aa280);}import{PresenceInlineListView as _0x231606}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x270c6b{[_0x5633d5(0x115)];[_0x5633d5(0xff)];constructor(_0x475225,_0x681be1=0x6){const _0x102488=_0x5633d5;super(_0x475225);const _0x527cb6=this[_0x102488(0x105)];this[_0x102488(0xfe)](_0x102488(0x101),!0x0),this[_0x102488(0x115)]=new _0x2dd2ea(this[_0x102488(0x11b)],_0x681be1),this[_0x102488(0xff)]=new _0x231606(_0x475225),this[_0x102488(0xff)][_0x102488(0x118)](_0x102488(0x114))['to'](this,_0x102488(0x101)),this[_0x102488(0x103)](this[_0x102488(0xff)][_0x102488(0x11c)],_0x102488(0x104),()=>{const _0x129c83=_0x102488;for(const _0x287b93 of this[_0x129c83(0xff)][_0x129c83(0x11c)])_0x287b93[_0x129c83(0x112)]='s';this[_0x129c83(0xff)][_0x129c83(0x11c)][_0x129c83(0x109)]&&(this[_0x129c83(0xff)][_0x129c83(0x11c)][_0x129c83(0x109)][_0x129c83(0x112)]='se');}),this[_0x102488(0x116)]({'tag':_0x102488(0x11a),'attributes':{'class':['ck',_0x102488(0x102),_0x102488(0x100),_0x102488(0x108),_0x527cb6['if'](_0x102488(0x101),_0x102488(0x10a))]},'children':[this[_0x102488(0xff)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x572893=_0x154f;(function(_0x4034c6,_0x303f79){var _0x33ff22=_0x154f,_0x5315b5=_0x4034c6();while(!![]){try{var _0xf21855=parseInt(_0x33ff22(0x1d7))/0x1+-parseInt(_0x33ff22(0x1cd))/0x2*(-parseInt(_0x33ff22(0x1d5))/0x3)+parseInt(_0x33ff22(0x1d0))/0x4+-parseInt(_0x33ff22(0x1d4))/0x5+parseInt(_0x33ff22(0x1d1))/0x6*(parseInt(_0x33ff22(0x1d6))/0x7)+-parseInt(_0x33ff22(0x1d3))/0x8+-parseInt(_0x33ff22(0x1ce))/0x9;if(_0xf21855===_0x303f79)break;else _0x5315b5['push'](_0x5315b5['shift']());}catch(_0x4bc29c){_0x5315b5['push'](_0x5315b5['shift']());}}}(_0x5dcc,0xd3f46));import{ContextPlugin as _0x145db9}from'ckeditor5/src/core.js';function _0x5dcc(){var _0x736a81=['324104uGfveC','6IgGhDj','requires','6246616cRwOIO','1559510SkrXNa','736842gthhOr','2059295KTnpNH','1675943OOYKjJ','PresenceList','pluginName','isOfficialPlugin','2LjKjxB','3022857uKhTQm','isPremiumPlugin'];_0x5dcc=function(){return _0x736a81;};return _0x5dcc();}import{Sessions as _0x1b23f3}from'./realtimecollaborativeediting/sessions.js';function _0x154f(_0x5328ed,_0x1e3b40){var _0x5dcce0=_0x5dcc();return _0x154f=function(_0x154fe0,_0x8c1d05){_0x154fe0=_0x154fe0-0x1cc;var _0x5c0116=_0x5dcce0[_0x154fe0];return _0x5c0116;},_0x154f(_0x5328ed,_0x1e3b40);}import{PresenceListUI as _0x184920}from'./presencelist/presencelistui.js';export class PresenceList extends _0x145db9{static get[_0x572893(0x1d2)](){return[_0x1b23f3,_0x184920];}static get[_0x572893(0x1d9)](){var _0x5ad96b=_0x572893;return _0x5ad96b(0x1d8);}static get[_0x572893(0x1cc)](){return!0x0;}static get[_0x572893(0x1cf)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x5657f9)());[_0x3f1008(0x23a)];static get[_0x3f1008(0x240)](){const _0x1aae21=_0x3f1008;return[_0x43b371,_0x1aae21(0x20f),_0x21093b,_0x61deb9];}static get[_0x3f1008(0x1f4)](){const _0x5a9b4b=_0x3f1008;return _0x5a9b4b(0x232);}static get[_0x3f1008(0x222)](){return!0x0;}static get[_0x3f1008(0x234)](){return!0x0;}constructor(_0x5871a3){const _0x5652b2=_0x3f1008;super(_0x5871a3),this[_0x5652b2(0x23a)]=new Map();}async[_0x3f1008(0x21a)](){const _0x4a9fcc=_0x3f1008,_0x9b3d55=this[_0x4a9fcc(0x20c)],_0xe4a4aa=_0x9b3d55[_0x4a9fcc(0x1eb)][_0x4a9fcc(0x201)](_0x4a9fcc(0x20f));if(_0x9b3d55[_0x4a9fcc(0x1eb)][_0x4a9fcc(0x201)](_0x43b371)[_0x4a9fcc(0x231)](this),_0xe4a4aa[_0x4a9fcc(0x1e1)]={'addCommentThread':async({channelId:_0x577d59,threadId:_0x1301c9,comments:_0x3592b0,resolvedAt:_0x1ba876,resolvedBy:_0x5018e8,context:_0x4e65f4,attributes:_0x1ab087})=>{const _0xfa7175=_0x4a9fcc,_0xbbc072=await this[_0xfa7175(0x236)](_0x577d59)[_0xfa7175(0x1fa)]({'commentThreadId':_0x1301c9,'comments':_0x3592b0[_0xfa7175(0x1ea)](_0x4152a4=>function(_0x499114,_0x38989e,_0x530b04){const _0x582d26=_0xfa7175;return{'commentThreadId':_0x530b04,'commentId':_0x499114[_0x582d26(0x21f)],'userId':_0x499114[_0x582d26(0x1fb)],'content':_0x499114[_0x582d26(0x23d)],'documentId':_0x38989e,'createdAt':_0x499114[_0x582d26(0x1f2)],'attributes':_0x499114[_0x582d26(0x226)]||{}};}(_0x4152a4,_0x577d59,_0x1301c9)),'resolvedAt':_0x1ba876,'resolvedBy':_0x5018e8,'context':_0x4e65f4,'attributes':_0x1ab087})[_0xfa7175(0x209)](A);return{'threadId':_0xbbc072[_0xfa7175(0x239)],'comments':_0xbbc072[_0xfa7175(0x1f5)]};},'getCommentThread':async({channelId:_0x2ab243,threadId:_0x533d4d})=>{const _0x41956a=_0x4a9fcc,_0x4d0272=await this[_0x41956a(0x236)](_0x2ab243)[_0x41956a(0x20e)](_0x533d4d)[_0x41956a(0x209)](f)[_0x41956a(0x209)](A);return _0x4d0272?_0x4d0272[_0x41956a(0x200)]?null:(await this[_0x41956a(0x228)]([_0x4d0272]),{'threadId':_0x4d0272[_0x41956a(0x239)],'comments':_0x4d0272[_0x41956a(0x1f5)][_0x41956a(0x1ea)](p),'context':_0x4d0272[_0x41956a(0x20c)],'resolvedAt':_0x4d0272[_0x41956a(0x216)],'resolvedBy':_0x4d0272[_0x41956a(0x214)],'attributes':_0x4d0272[_0x41956a(0x226)]||{}}):null;},'updateCommentThread':async({channelId:_0x38cd35,threadId:_0x5465e5,context:_0xf089ff,unlinkedAt:_0x3c3d0a,attributes:_0x463fe1})=>this[_0x4a9fcc(0x236)](_0x38cd35)[_0x4a9fcc(0x1e4)]({'commentThreadId':_0x5465e5,'context':_0xf089ff,'attributes':_0x463fe1,'unlinkedAt':_0x3c3d0a})[_0x4a9fcc(0x209)](f)[_0x4a9fcc(0x209)](A),'resolveCommentThread':async({channelId:_0x1bf75f,threadId:_0x247ddb})=>{const _0x3ae032=_0x4a9fcc,_0x29047f=await this[_0x3ae032(0x236)](_0x1bf75f)[_0x3ae032(0x204)](_0x247ddb)[_0x3ae032(0x209)](f)[_0x3ae032(0x209)](A);return{'threadId':_0x29047f[_0x3ae032(0x239)],'resolvedAt':_0x29047f[_0x3ae032(0x216)],'resolvedBy':_0x29047f[_0x3ae032(0x214)]};},'reopenCommentThread':async({channelId:_0x131f7a,threadId:_0x22bf78})=>this[_0x4a9fcc(0x236)](_0x131f7a)[_0x4a9fcc(0x221)](_0x22bf78)[_0x4a9fcc(0x209)](f)[_0x4a9fcc(0x209)](A),'removeCommentThread':({channelId:_0x32051d,threadId:_0x1f16c4})=>this[_0x4a9fcc(0x236)](_0x32051d)[_0x4a9fcc(0x1df)](_0x1f16c4)[_0x4a9fcc(0x209)](f)[_0x4a9fcc(0x209)](A),'addComment':({channelId:_0x2283de,threadId:_0x3fda46,commentId:_0x11ed9a,content:_0x325999,attributes:_0xc558fd})=>this[_0x4a9fcc(0x236)](_0x2283de)[_0x4a9fcc(0x23c)](_0x3fda46,_0x11ed9a,_0x325999,_0xc558fd)[_0x4a9fcc(0x209)](A),'updateComment':({channelId:_0x2d3986,threadId:_0xe96b77,commentId:_0x4058a7,content:_0x38f3e6,attributes:_0x89b147})=>this[_0x4a9fcc(0x236)](_0x2d3986)[_0x4a9fcc(0x233)](_0xe96b77,_0x4058a7,_0x38f3e6,_0x89b147)[_0x4a9fcc(0x209)](f)[_0x4a9fcc(0x209)](A),'removeComment':({channelId:_0x17c268,threadId:_0x51114b,commentId:_0x415acf})=>this[_0x4a9fcc(0x236)](_0x17c268)[_0x4a9fcc(0x210)](_0x51114b,_0x415acf)[_0x4a9fcc(0x209)](f)[_0x4a9fcc(0x209)](A)},_0x9b3d55 instanceof _0x4e06d0){const _0x3591a0=_0x9b3d55[_0x4a9fcc(0x22c)][_0x4a9fcc(0x201)](_0x4a9fcc(0x22f)),_0x4189b6=_0x9b3d55[_0x4a9fcc(0x1eb)][_0x4a9fcc(0x201)](_0x21093b);await this[_0x4a9fcc(0x1ec)](_0x3591a0);const _0x671b05=await this[_0x4a9fcc(0x23a)][_0x4a9fcc(0x201)](_0x3591a0)[_0x4a9fcc(0x215)]();this[_0x4a9fcc(0x23e)](_0x4189b6,_0x4a9fcc(0x207)+_0x3591a0,(_0x4eaf4f,{session:_0x3bdddf})=>{const _0x36df87=_0x4a9fcc;_0x3bdddf['id']===_0x4189b6[_0x36df87(0x230)]&&(_0x4eaf4f[_0x36df87(0x223)](),this[_0x36df87(0x20c)][_0x36df87(0x1eb)][_0x36df87(0x201)](_0x36df87(0x220))[_0x36df87(0x1e9)](_0x3bdddf[_0x36df87(0x1f8)],_0x3591a0));}),_0x4189b6[_0x4a9fcc(0x227)](_0x3591a0,_0x671b05);}}async[_0x3f1008(0x1ec)](_0x4f1db4){const _0xbd5aab=_0x3f1008;if(this[_0xbd5aab(0x23a)][_0xbd5aab(0x218)](_0x4f1db4))throw new _0x56ab25(_0xbd5aab(0x1dd),null,{'channelId':_0x4f1db4});const _0xb7a70d=this[_0xbd5aab(0x20c)][_0xbd5aab(0x1eb)][_0xbd5aab(0x201)](_0xbd5aab(0x20f)),_0x5abbb8=new CloudServicesCommentsAdapter[(_0xbd5aab(0x1ed))](_0x4f1db4);this[_0xbd5aab(0x23a)][_0xbd5aab(0x23f)](_0x4f1db4,_0x5abbb8),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x237),(_0xf2256f,_0x3539c1)=>{const _0x3077d3=_0xbd5aab,{commentThreadId:_0x45f2e7,documentId:_0x913e70,context:_0x52951f,attributes:_0x5cc5e4,resolvedAt:_0x14a2a9,resolvedBy:_0x592f81,comments:_0x2fa479}=_0x3539c1;_0xb7a70d[_0x3077d3(0x20e)](_0x45f2e7)||_0xb7a70d[_0x3077d3(0x1fa)]({'threadId':_0x45f2e7,'channelId':_0x913e70,'comments':_0x2fa479?_0x2fa479[_0x3077d3(0x1ea)](p):[],'context':_0x52951f,'attributes':_0x5cc5e4,'resolvedAt':_0x14a2a9,'resolvedBy':_0x592f81,'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x1f7),(_0x150253,{commentThreadId:_0x2b07a3,documentId:_0x52e297,context:_0x2eacc5,unlinkedAt:_0x37f6e0,attributes:_0x10b003})=>{const _0x5ceaa2=_0xbd5aab;_0xb7a70d[_0x5ceaa2(0x20e)](_0x2b07a3)&&_0xb7a70d[_0x5ceaa2(0x1e4)]({'threadId':_0x2b07a3,'channelId':_0x52e297,'context':_0x2eacc5,'unlinkedAt':_0x37f6e0,'attributes':_0x10b003,'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x1ef),(_0x80c386,{commentThreadId:_0xcae0cf,resolvedBy:_0x3b8976,resolvedAt:_0x1f2a63})=>{const _0x88a522=_0xbd5aab,_0x2338e5=_0xb7a70d[_0x88a522(0x20e)](_0xcae0cf);_0x2338e5&&_0x2338e5[_0x88a522(0x1de)]({'resolvedBy':_0x3b8976,'resolvedAt':_0x1f2a63,'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x1e5),(_0x347e58,{commentThreadId:_0x4f89cc})=>{const _0x575094=_0xbd5aab,_0x5549bb=_0xb7a70d[_0x575094(0x20e)](_0x4f89cc);_0x5549bb&&_0x5549bb[_0x575094(0x1e3)]({'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x22a),(_0x58e53a,{commentThreadId:_0x28a42a})=>{const _0x8fd080=_0xbd5aab,_0x2fb3d8=_0xb7a70d[_0x8fd080(0x20e)](_0x28a42a);_0x2fb3d8&&_0x2fb3d8[_0x8fd080(0x21e)]({'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x238),(_0x2d3c25,_0x3fcb60)=>{const _0x5b4a6a=_0xbd5aab,_0x1dcba8=_0x3fcb60[_0x5b4a6a(0x239)],_0x45013f=_0xb7a70d[_0x5b4a6a(0x20e)](_0x1dcba8);_0x45013f&&_0x45013f[_0x5b4a6a(0x23c)]({...p(_0x3fcb60),'isFromAdapter':!0x0});}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x22d),(_0x3581e7,{commentThreadId:_0x1d87cb,commentId:_0xcad28a,content:_0x14ba6b,attributes:_0x393daf})=>{const _0x4ed9d3=_0xbd5aab,_0x588298=_0xb7a70d[_0x4ed9d3(0x20e)](_0x1d87cb);if(_0x588298){const _0x509738=_0x588298[_0x4ed9d3(0x1fd)](_0xcad28a);_0x509738&&_0x509738[_0x4ed9d3(0x21b)]({'content':_0x14ba6b,'attributes':_0x393daf,'isFromAdapter':!0x0});}}),this[_0xbd5aab(0x23e)](_0x5abbb8,_0xbd5aab(0x1ee),(_0x5b3a7d,{commentThreadId:_0x10a082,commentId:_0x21bd53})=>{const _0x1b4f60=_0xbd5aab,_0x577e8f=_0xb7a70d[_0x1b4f60(0x20e)](_0x10a082);if(_0x577e8f){const _0x2e04cc=_0x577e8f[_0x1b4f60(0x1fd)](_0x21bd53);_0x2e04cc&&_0x2e04cc[_0x1b4f60(0x21e)]({'isFromAdapter':!0x0});}}),await this[_0xbd5aab(0x213)](_0x4f1db4);}[_0x3f1008(0x20a)](){const _0x84df3b=_0x3f1008;if(this[_0x84df3b(0x20c)]instanceof _0x4e06d0){const _0x5115c9=this[_0x84df3b(0x20c)][_0x84df3b(0x22c)][_0x84df3b(0x201)](_0x84df3b(0x22f));this[_0x84df3b(0x20b)](_0x5115c9);}}[_0x3f1008(0x20b)](_0x49fdff){const _0x18f3db=_0x3f1008;if(!this[_0x18f3db(0x23a)][_0x18f3db(0x218)](_0x49fdff))throw new _0x56ab25(_0x18f3db(0x212),null,{'channelId':_0x49fdff});this[_0x18f3db(0x236)](_0x49fdff)[_0x18f3db(0x21d)](),this[_0x18f3db(0x23a)][_0x18f3db(0x21c)](_0x49fdff);}async[_0x3f1008(0x1ff)](){const _0x3ae359=_0x3f1008;for(const _0x2b1cf7 of this[_0x3ae359(0x23a)][_0x3ae359(0x206)]())await this[_0x3ae359(0x213)](_0x2b1cf7);if(this[_0x3ae359(0x20c)]instanceof _0x4e06d0){const _0x355aac=this[_0x3ae359(0x20c)][_0x3ae359(0x22c)][_0x3ae359(0x201)](_0x3ae359(0x22f)),_0x42071a=this[_0x3ae359(0x20c)][_0x3ae359(0x1eb)][_0x3ae359(0x201)](_0x21093b);_0x42071a[_0x3ae359(0x1f0)](_0x355aac);const _0x3bc69d=await this[_0x3ae359(0x23a)][_0x3ae359(0x201)](_0x355aac)[_0x3ae359(0x215)]();_0x42071a[_0x3ae359(0x227)](_0x355aac,_0x3bc69d);}}async[_0x3f1008(0x213)](_0x587677){const _0x12a6b7=_0x3f1008,{connection:_0xbd915}=this[_0x12a6b7(0x20c)][_0x12a6b7(0x1eb)][_0x12a6b7(0x201)](_0x43b371),_0x1962a2=this[_0x12a6b7(0x20c)][_0x12a6b7(0x1eb)][_0x12a6b7(0x201)](_0x12a6b7(0x20f)),_0x219c4d=this[_0x12a6b7(0x23a)][_0x12a6b7(0x201)](_0x587677),_0x679769=await _0x219c4d[_0x12a6b7(0x203)](_0xbd915);await this[_0x12a6b7(0x228)](_0x679769);const _0x40a1d4=new Set(Array[_0x12a6b7(0x22e)](_0x1962a2[_0x12a6b7(0x1e7)]({'channelId':_0x587677}),_0xac76a=>_0xac76a['id']));for(const _0x559ff7 of _0x679769)_0x559ff7[_0x12a6b7(0x200)]||_0x40a1d4[_0x12a6b7(0x21c)](_0x559ff7[_0x12a6b7(0x239)]);for(const _0x429959 of _0x40a1d4)_0x1962a2[_0x12a6b7(0x20e)](_0x429959)[_0x12a6b7(0x21e)]({'isFromAdapter':!0x0});for(const _0x422f91 of _0x679769){let _0x8d60cf=_0x1962a2[_0x12a6b7(0x20e)](_0x422f91[_0x12a6b7(0x239)]);const {commentThreadId:_0x3032ea,context:_0x1856e8,attributes:_0x1bf70f,resolvedBy:_0x73202d,resolvedAt:_0x5deebe,unlinkedAt:_0x2af644,deletedAt:_0x2d9d61}=_0x422f91;if(_0x2d9d61)continue;_0x8d60cf||(_0x8d60cf=_0x1962a2[_0x12a6b7(0x1fa)]({'channelId':_0x587677,'threadId':_0x3032ea,'context':_0x1856e8,'attributes':_0x1bf70f||{},'resolvedBy':_0x73202d,'resolvedAt':_0x5deebe,'unlinkedAt':_0x2af644,'isFromAdapter':!0x0}));const _0x14335a=new Set(Array[_0x12a6b7(0x22e)](_0x8d60cf[_0x12a6b7(0x1f5)],_0x3e5ffa=>_0x3e5ffa['id']));for(const _0x182ff7 of _0x422f91[_0x12a6b7(0x1f5)])_0x14335a[_0x12a6b7(0x21c)](_0x182ff7[_0x12a6b7(0x21f)]);for(const _0x439dd0 of _0x14335a)_0x8d60cf[_0x12a6b7(0x1fd)](_0x439dd0)[_0x12a6b7(0x21e)]({'isFromAdapter':!0x0});for(const _0xa9fab1 of _0x422f91[_0x12a6b7(0x1f5)]){const _0x74b10d=_0x8d60cf[_0x12a6b7(0x1fd)](_0xa9fab1[_0x12a6b7(0x21f)]);_0x74b10d?_0x74b10d[_0x12a6b7(0x23d)]!==_0xa9fab1[_0x12a6b7(0x23d)]&&_0x74b10d[_0x12a6b7(0x21b)]({'content':_0xa9fab1[_0x12a6b7(0x23d)],'isFromAdapter':!0x0}):_0x8d60cf[_0x12a6b7(0x23c)](Object[_0x12a6b7(0x217)](p(_0xa9fab1),{'isFromAdapter':!0x0}));}}}[_0x3f1008(0x236)](_0x59b7b1){const _0x3c9d99=_0x3f1008;if(!this[_0x3c9d99(0x23a)][_0x3c9d99(0x218)](_0x59b7b1))throw new _0x56ab25(_0x3c9d99(0x211),null,{'channelId':_0x59b7b1});return this[_0x3c9d99(0x23a)][_0x3c9d99(0x201)](_0x59b7b1);}async[_0x3f1008(0x228)](_0x2a0f16){const _0x51c2de=_0x3f1008,_0x5c9aa3=this[_0x51c2de(0x20c)][_0x51c2de(0x1eb)][_0x51c2de(0x201)](_0x61deb9),{connection:_0x44561e}=this[_0x51c2de(0x20c)][_0x51c2de(0x1eb)][_0x51c2de(0x201)](_0x43b371),_0x2d6189=new Set();for(const {resolvedBy:_0x338c1f,comments:_0x51b017}of _0x2a0f16){_0x338c1f&&!_0x5c9aa3[_0x51c2de(0x1dc)](_0x338c1f)&&_0x2d6189[_0x51c2de(0x1fc)](_0x338c1f);for(const {userId:_0x126b91}of _0x51b017)_0x5c9aa3[_0x51c2de(0x1dc)](_0x126b91)||_0x2d6189[_0x51c2de(0x1fc)](_0x126b91);}if(0x0===_0x2d6189[_0x51c2de(0x202)])return;const _0x33caf8=await _0x389523[_0x51c2de(0x22b)](_0x44561e,Array[_0x51c2de(0x22e)](_0x2d6189));for(const _0x310491 of _0x33caf8)_0x5c9aa3[_0x51c2de(0x1dc)](_0x310491['id'])||_0x5c9aa3[_0x51c2de(0x1e2)](_0x310491);}}async function f(_0x171d5d){const _0x192ebb=_0x3f1008;if(_0x192ebb(0x1f3)!==_0x171d5d[_0x192ebb(0x224)])throw _0x171d5d;}function A(_0x17decf){const _0x12973a=_0x3f1008;if((_0x28cf34=_0x17decf)[_0x12973a(0x229)][_0x12973a(0x235)](_0x12973a(0x1f6))||_0x28cf34[_0x12973a(0x229)][_0x12973a(0x235)](_0x12973a(0x225))||_0x28cf34[_0x12973a(0x229)][_0x12973a(0x235)](_0x12973a(0x208)))return new Promise(()=>{});var _0x28cf34;throw _0x17decf;}function p(_0x4d3ee8){const _0x170daf=_0x3f1008;return{'threadId':_0x4d3ee8[_0x170daf(0x239)],'commentId':_0x4d3ee8[_0x170daf(0x21f)],'content':_0x4d3ee8[_0x170daf(0x23d)],'createdAt':_0x4d3ee8[_0x170daf(0x1f2)],'authorId':_0x4d3ee8[_0x170daf(0x23b)],'attributes':_0x4d3ee8[_0x170daf(0x226)]||{}};}
|
|
23
|
+
function _0x5c53(){const _0x5c272e=['removeCommentThread','reopen','getMany','destroy','_fetchMissingUsersForThreads','adapter','code','commentThreadRemoved','_terminateService','createdAt','commentThreadReopened','delete','CloudServicesCommentsAdapter','connect','_connectService','Permissions','cloudservicescommentsadapter-disconnect-not-exist','510UhzsSw','commentThreadUpdated','cloud-services-internal-error:\x20Request\x20timeout.','cloudservicescommentsadapter-service-not-exist','config','keys','commentThreadResolved','listenTo','pluginName','1048FxrWNN','disconnect','isOfficialPlugin','commentUpdated','resolveCommentThread','init','content','permissions','plugins','getConnectedSessions','register','cloudservicescommentsadapter-connect-already-connected','CommentsService','commentThreadAdded','cloud-services-internal-error:\x20Not\x20connected.','75500EnKZtL','remove','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','CommentsRepository','updateCommentThread','get','getComment','resolve','resolvedAt','context','597750yXbUNr','update','has','_setUpService','from','addComment','45038IdgPsT','authorId','mySessionId','_getService','commentId','resolvedBy','comments','map','reopenCommentThread','userId','removeComment','set','_services','addToReconnectionStack','requires','addCommentThread','126duPvYz','assign','commentThreadId','add','startsWith','unregister','1002023yFhOEH','reconnect','catch','message','getCommentThreads','getCommentThread','attributes','404','commentRemoved','isPremiumPlugin','size','582LvWomF','setPermissions','4551952zfOuzQ','sessionAdd:','commentAdded','435510eAIafX','1213FaETFb','off','addUser','collaboration.channelId','deletedAt','updateComment','getUser'];_0x5c53=function(){return _0x5c272e;};return _0x5c53();}const _0x4f98fb=_0x517b;(function(_0x21760e,_0x5c141c){const _0x2c6108=_0x517b,_0x18a8c6=_0x21760e();while(!![]){try{const _0x37a274=-parseInt(_0x2c6108(0xa8))/0x1*(parseInt(_0x2c6108(0xc0))/0x2)+-parseInt(_0x2c6108(0x7b))/0x3+parseInt(_0x2c6108(0xa4))/0x4+parseInt(_0x2c6108(0xd8))/0x5*(parseInt(_0x2c6108(0xa2))/0x6)+-parseInt(_0x2c6108(0x81))/0x7*(parseInt(_0x2c6108(0xc9))/0x8)+-parseInt(_0x2c6108(0x91))/0x9*(parseInt(_0x2c6108(0xa7))/0xa)+parseInt(_0x2c6108(0x97))/0xb;if(_0x37a274===_0x5c141c)break;else _0x18a8c6['push'](_0x18a8c6['shift']());}catch(_0x2a8674){_0x18a8c6['push'](_0x18a8c6['shift']());}}}(_0x5c53,0xb2de8));import{Context as _0x144ab2,ContextPlugin as _0x3a8588}from'ckeditor5/src/core.js';import{CKEditorError as _0x3a3941}from'ckeditor5/src/utils.js';import{Users as _0x5598a2}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x4553b2,User as _0x354364}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x519236}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x485949}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x3a8588{static [_0x4f98fb(0xd5)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x4553b2)());[_0x4f98fb(0x8d)];static get[_0x4f98fb(0x8f)](){const _0x283263=_0x4f98fb;return[_0x519236,_0x283263(0xdb),_0x485949,_0x5598a2];}static get[_0x4f98fb(0xc8)](){const _0x1f0343=_0x4f98fb;return _0x1f0343(0xbb);}static get[_0x4f98fb(0xcb)](){return!0x0;}static get[_0x4f98fb(0xa0)](){return!0x0;}constructor(_0x11ceab){const _0xa2b3c1=_0x4f98fb;super(_0x11ceab),this[_0xa2b3c1(0x8d)]=new Map();}async[_0x4f98fb(0xce)](){const _0x1d1506=_0x4f98fb,_0x8036cf=this[_0x1d1506(0x7a)],_0x4f4923=_0x8036cf[_0x1d1506(0xd1)][_0x1d1506(0xdd)](_0x1d1506(0xdb));if(_0x8036cf[_0x1d1506(0xd1)][_0x1d1506(0xdd)](_0x519236)[_0x1d1506(0x8e)](this),_0x4f4923[_0x1d1506(0xb4)]={'addCommentThread':async({channelId:_0x332a20,threadId:_0x3f1e9e,comments:_0x39f096,resolvedAt:_0x2b22f8,resolvedBy:_0x270306,context:_0x14b577,attributes:_0x3047b8})=>{const _0x47098b=_0x1d1506,_0x55f174=await this[_0x47098b(0x84)](_0x332a20)[_0x47098b(0x90)]({'commentThreadId':_0x3f1e9e,'comments':_0x39f096[_0x47098b(0x88)](_0x19bc27=>function(_0x1370be,_0xc04893,_0x5c1255){const _0x5b7ded=_0x47098b;return{'commentThreadId':_0x5c1255,'commentId':_0x1370be[_0x5b7ded(0x85)],'userId':_0x1370be[_0x5b7ded(0x82)],'content':_0x1370be[_0x5b7ded(0xcf)],'documentId':_0xc04893,'createdAt':_0x1370be[_0x5b7ded(0xb8)],'attributes':_0x1370be[_0x5b7ded(0x9d)]||{}};}(_0x19bc27,_0x332a20,_0x3f1e9e)),'resolvedAt':_0x2b22f8,'resolvedBy':_0x270306,'context':_0x14b577,'attributes':_0x3047b8})[_0x47098b(0x99)](Y);return{'threadId':_0x55f174[_0x47098b(0x93)],'comments':_0x55f174[_0x47098b(0x87)]};},'getCommentThread':async({channelId:_0x1eb955,threadId:_0x1f9833})=>{const _0x394080=_0x1d1506,_0x487d61=await this[_0x394080(0x84)](_0x1eb955)[_0x394080(0x9c)](_0x1f9833)[_0x394080(0x99)](nt)[_0x394080(0x99)](Y);return _0x487d61?_0x487d61[_0x394080(0xac)]?null:(await this[_0x394080(0xb3)]([_0x487d61]),{'threadId':_0x487d61[_0x394080(0x93)],'comments':_0x487d61[_0x394080(0x87)][_0x394080(0x88)](st),'context':_0x487d61[_0x394080(0x7a)],'resolvedAt':_0x487d61[_0x394080(0x79)],'resolvedBy':_0x487d61[_0x394080(0x86)],'attributes':_0x487d61[_0x394080(0x9d)]||{}}):null;},'updateCommentThread':async({channelId:_0x5b9b42,threadId:_0x525516,context:_0x5dc19e,unlinkedAt:_0x3d6aab,attributes:_0xc4b15f})=>this[_0x1d1506(0x84)](_0x5b9b42)[_0x1d1506(0xdc)]({'commentThreadId':_0x525516,'context':_0x5dc19e,'attributes':_0xc4b15f,'unlinkedAt':_0x3d6aab})[_0x1d1506(0x99)](nt)[_0x1d1506(0x99)](Y),'resolveCommentThread':async({channelId:_0x1b4660,threadId:_0x29843e})=>{const _0x5151b4=_0x1d1506,_0x39a8d7=await this[_0x5151b4(0x84)](_0x1b4660)[_0x5151b4(0xcd)](_0x29843e)[_0x5151b4(0x99)](nt)[_0x5151b4(0x99)](Y);return{'threadId':_0x39a8d7[_0x5151b4(0x93)],'resolvedAt':_0x39a8d7[_0x5151b4(0x79)],'resolvedBy':_0x39a8d7[_0x5151b4(0x86)]};},'reopenCommentThread':async({channelId:_0x2096fa,threadId:_0x171da4})=>this[_0x1d1506(0x84)](_0x2096fa)[_0x1d1506(0x89)](_0x171da4)[_0x1d1506(0x99)](nt)[_0x1d1506(0x99)](Y),'removeCommentThread':({channelId:_0x3ea8ae,threadId:_0x4da414})=>this[_0x1d1506(0x84)](_0x3ea8ae)[_0x1d1506(0xaf)](_0x4da414)[_0x1d1506(0x99)](nt)[_0x1d1506(0x99)](Y),'addComment':({channelId:_0x51c4e9,threadId:_0x24807d,commentId:_0x2581a0,content:_0x563f9d,attributes:_0xe4b9fd})=>this[_0x1d1506(0x84)](_0x51c4e9)[_0x1d1506(0x80)](_0x24807d,_0x2581a0,_0x563f9d,_0xe4b9fd)[_0x1d1506(0x99)](Y),'updateComment':({channelId:_0xbd36b,threadId:_0x2972e1,commentId:_0x1dd4f6,content:_0x2f44a5,attributes:_0x23bf37})=>this[_0x1d1506(0x84)](_0xbd36b)[_0x1d1506(0xad)](_0x2972e1,_0x1dd4f6,_0x2f44a5,_0x23bf37)[_0x1d1506(0x99)](nt)[_0x1d1506(0x99)](Y),'removeComment':({channelId:_0x37050a,threadId:_0x46bc2a,commentId:_0x3fc094})=>this[_0x1d1506(0x84)](_0x37050a)[_0x1d1506(0x8b)](_0x46bc2a,_0x3fc094)[_0x1d1506(0x99)](nt)[_0x1d1506(0x99)](Y)},_0x8036cf instanceof _0x144ab2){const _0x5ea4b8=_0x8036cf[_0x1d1506(0xc4)][_0x1d1506(0xdd)](_0x1d1506(0xab)),_0x1c7649=_0x8036cf[_0x1d1506(0xd1)][_0x1d1506(0xdd)](_0x485949);await this[_0x1d1506(0x7e)](_0x5ea4b8);const _0x529805=await this[_0x1d1506(0x8d)][_0x1d1506(0xdd)](_0x5ea4b8)[_0x1d1506(0xd2)]();this[_0x1d1506(0xc7)](_0x1c7649,_0x1d1506(0xa5)+_0x5ea4b8,(_0x3b3e44,{session:_0x56728f})=>{const _0x5524b4=_0x1d1506;_0x56728f['id']===_0x1c7649[_0x5524b4(0x83)]&&(_0x3b3e44[_0x5524b4(0xa9)](),this[_0x5524b4(0x7a)][_0x5524b4(0xd1)][_0x5524b4(0xdd)](_0x5524b4(0xbe))[_0x5524b4(0xa3)](_0x56728f[_0x5524b4(0xd0)],_0x5ea4b8));}),_0x1c7649[_0x1d1506(0xd3)](_0x5ea4b8,_0x529805);}}async[_0x4f98fb(0x7e)](_0x24be91){const _0x1cf1bf=_0x4f98fb;if(this[_0x1cf1bf(0x8d)][_0x1cf1bf(0x7d)](_0x24be91))throw new _0x3a3941(_0x1cf1bf(0xd4),null,{'channelId':_0x24be91});const _0x3adc8f=this[_0x1cf1bf(0x7a)][_0x1cf1bf(0xd1)][_0x1cf1bf(0xdd)](_0x1cf1bf(0xdb)),_0x37b5b3=new CloudServicesCommentsAdapter[(_0x1cf1bf(0xd5))](_0x24be91);this[_0x1cf1bf(0x8d)][_0x1cf1bf(0x8c)](_0x24be91,_0x37b5b3),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xd6),(_0x34b688,_0x25054f)=>{const _0x5294d3=_0x1cf1bf,{commentThreadId:_0x591341,documentId:_0x266178,context:_0x57bf80,attributes:_0x1b12f1,resolvedAt:_0x15a57a,resolvedBy:_0x4ad0d6,comments:_0x18d85c}=_0x25054f;_0x3adc8f[_0x5294d3(0x9c)](_0x591341)||_0x3adc8f[_0x5294d3(0x90)]({'threadId':_0x591341,'channelId':_0x266178,'comments':_0x18d85c?_0x18d85c[_0x5294d3(0x88)](st):[],'context':_0x57bf80,'attributes':_0x1b12f1,'resolvedAt':_0x15a57a,'resolvedBy':_0x4ad0d6,'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xc1),(_0x28a187,{commentThreadId:_0x43b825,documentId:_0x5ec33f,context:_0x4761fd,unlinkedAt:_0x53e5a6,attributes:_0x144ba7})=>{const _0x35e712=_0x1cf1bf;_0x3adc8f[_0x35e712(0x9c)](_0x43b825)&&_0x3adc8f[_0x35e712(0xdc)]({'threadId':_0x43b825,'channelId':_0x5ec33f,'context':_0x4761fd,'unlinkedAt':_0x53e5a6,'attributes':_0x144ba7,'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xc6),(_0x33efd6,{commentThreadId:_0x1b092a,resolvedBy:_0x37bfde,resolvedAt:_0x23bbfd})=>{const _0x506545=_0x1cf1bf,_0x5158f5=_0x3adc8f[_0x506545(0x9c)](_0x1b092a);_0x5158f5&&_0x5158f5[_0x506545(0x78)]({'resolvedBy':_0x37bfde,'resolvedAt':_0x23bbfd,'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xb9),(_0x14bc6d,{commentThreadId:_0x100106})=>{const _0x525099=_0x1cf1bf,_0x14da1b=_0x3adc8f[_0x525099(0x9c)](_0x100106);_0x14da1b&&_0x14da1b[_0x525099(0xb0)]({'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xb6),(_0x5818fb,{commentThreadId:_0x4b4008})=>{const _0x52cfd9=_0x1cf1bf,_0x63230c=_0x3adc8f[_0x52cfd9(0x9c)](_0x4b4008);_0x63230c&&_0x63230c[_0x52cfd9(0xd9)]({'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xa6),(_0x22690b,_0x4fd427)=>{const _0x557ee6=_0x1cf1bf,_0x214894=_0x4fd427[_0x557ee6(0x93)],_0x2cfa3b=_0x3adc8f[_0x557ee6(0x9c)](_0x214894);_0x2cfa3b&&_0x2cfa3b[_0x557ee6(0x80)]({...st(_0x4fd427),'isFromAdapter':!0x0});}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0xcc),(_0x303393,{commentThreadId:_0x48ca1b,commentId:_0x1561fd,content:_0x587eff,attributes:_0xefb38c})=>{const _0x422cff=_0x1cf1bf,_0x280f92=_0x3adc8f[_0x422cff(0x9c)](_0x48ca1b);if(_0x280f92){const _0x44cd6b=_0x280f92[_0x422cff(0xde)](_0x1561fd);_0x44cd6b&&_0x44cd6b[_0x422cff(0x7c)]({'content':_0x587eff,'attributes':_0xefb38c,'isFromAdapter':!0x0});}}),this[_0x1cf1bf(0xc7)](_0x37b5b3,_0x1cf1bf(0x9f),(_0x208aca,{commentThreadId:_0x7ca879,commentId:_0x5790f0})=>{const _0x11ce38=_0x1cf1bf,_0x24715d=_0x3adc8f[_0x11ce38(0x9c)](_0x7ca879);if(_0x24715d){const _0x10c70c=_0x24715d[_0x11ce38(0xde)](_0x5790f0);_0x10c70c&&_0x10c70c[_0x11ce38(0xd9)]({'isFromAdapter':!0x0});}}),await this[_0x1cf1bf(0xbd)](_0x24be91);}[_0x4f98fb(0xb2)](){const _0x151f7e=_0x4f98fb;if(this[_0x151f7e(0x7a)]instanceof _0x144ab2){const _0x38b661=this[_0x151f7e(0x7a)][_0x151f7e(0xc4)][_0x151f7e(0xdd)](_0x151f7e(0xab));this[_0x151f7e(0xb7)](_0x38b661);}}[_0x4f98fb(0xb7)](_0x15d08c){const _0x3b619c=_0x4f98fb;if(!this[_0x3b619c(0x8d)][_0x3b619c(0x7d)](_0x15d08c))throw new _0x3a3941(_0x3b619c(0xbf),null,{'channelId':_0x15d08c});this[_0x3b619c(0x84)](_0x15d08c)[_0x3b619c(0xca)](),this[_0x3b619c(0x8d)][_0x3b619c(0xba)](_0x15d08c);}async[_0x4f98fb(0x98)](){const _0x101d2c=_0x4f98fb;for(const _0x386b60 of this[_0x101d2c(0x8d)][_0x101d2c(0xc5)]())await this[_0x101d2c(0xbd)](_0x386b60);if(this[_0x101d2c(0x7a)]instanceof _0x144ab2){const _0x2a4420=this[_0x101d2c(0x7a)][_0x101d2c(0xc4)][_0x101d2c(0xdd)](_0x101d2c(0xab)),_0x1527a7=this[_0x101d2c(0x7a)][_0x101d2c(0xd1)][_0x101d2c(0xdd)](_0x485949);_0x1527a7[_0x101d2c(0x96)](_0x2a4420);const _0x77f14e=await this[_0x101d2c(0x8d)][_0x101d2c(0xdd)](_0x2a4420)[_0x101d2c(0xd2)]();_0x1527a7[_0x101d2c(0xd3)](_0x2a4420,_0x77f14e);}}async[_0x4f98fb(0xbd)](_0x52f144){const _0x645647=_0x4f98fb,{connection:_0x2b2b0e}=this[_0x645647(0x7a)][_0x645647(0xd1)][_0x645647(0xdd)](_0x519236),_0x254dfc=this[_0x645647(0x7a)][_0x645647(0xd1)][_0x645647(0xdd)](_0x645647(0xdb)),_0x60bac4=this[_0x645647(0x8d)][_0x645647(0xdd)](_0x52f144),_0x13d6f6=await _0x60bac4[_0x645647(0xbc)](_0x2b2b0e);await this[_0x645647(0xb3)](_0x13d6f6);const _0x19deef=new Set(Array[_0x645647(0x7f)](_0x254dfc[_0x645647(0x9b)]({'channelId':_0x52f144}),_0x1ebdcc=>_0x1ebdcc['id']));for(const _0x4a2546 of _0x13d6f6)_0x4a2546[_0x645647(0xac)]||_0x19deef[_0x645647(0xba)](_0x4a2546[_0x645647(0x93)]);for(const _0x208a00 of _0x19deef)_0x254dfc[_0x645647(0x9c)](_0x208a00)[_0x645647(0xd9)]({'isFromAdapter':!0x0});for(const _0x3dbef3 of _0x13d6f6){let _0x1e98a5=_0x254dfc[_0x645647(0x9c)](_0x3dbef3[_0x645647(0x93)]);const {commentThreadId:_0x119762,context:_0x452903,attributes:_0x8b5a6c,resolvedBy:_0xccb60f,resolvedAt:_0x29075e,unlinkedAt:_0x194070,deletedAt:_0x2b904d}=_0x3dbef3;if(_0x2b904d)continue;_0x1e98a5||(_0x1e98a5=_0x254dfc[_0x645647(0x90)]({'channelId':_0x52f144,'threadId':_0x119762,'context':_0x452903,'attributes':_0x8b5a6c||{},'resolvedBy':_0xccb60f,'resolvedAt':_0x29075e,'unlinkedAt':_0x194070,'isFromAdapter':!0x0}));const _0x4585ca=new Set(Array[_0x645647(0x7f)](_0x1e98a5[_0x645647(0x87)],_0x2d447b=>_0x2d447b['id']));for(const _0x44280d of _0x3dbef3[_0x645647(0x87)])_0x4585ca[_0x645647(0xba)](_0x44280d[_0x645647(0x85)]);for(const _0x1e13c9 of _0x4585ca)_0x1e98a5[_0x645647(0xde)](_0x1e13c9)[_0x645647(0xd9)]({'isFromAdapter':!0x0});for(const _0x5ec792 of _0x3dbef3[_0x645647(0x87)]){const _0x222f27=_0x1e98a5[_0x645647(0xde)](_0x5ec792[_0x645647(0x85)]);_0x222f27?_0x222f27[_0x645647(0xcf)]!==_0x5ec792[_0x645647(0xcf)]&&_0x222f27[_0x645647(0x7c)]({'content':_0x5ec792[_0x645647(0xcf)],'isFromAdapter':!0x0}):_0x1e98a5[_0x645647(0x80)](Object[_0x645647(0x92)](st(_0x5ec792),{'isFromAdapter':!0x0}));}}}[_0x4f98fb(0x84)](_0x10a05b){const _0x18a117=_0x4f98fb;if(!this[_0x18a117(0x8d)][_0x18a117(0x7d)](_0x10a05b))throw new _0x3a3941(_0x18a117(0xc3),null,{'channelId':_0x10a05b});return this[_0x18a117(0x8d)][_0x18a117(0xdd)](_0x10a05b);}async[_0x4f98fb(0xb3)](_0x2d7805){const _0x348a78=_0x4f98fb,_0x2c3b48=this[_0x348a78(0x7a)][_0x348a78(0xd1)][_0x348a78(0xdd)](_0x5598a2),{connection:_0x3e5cb5}=this[_0x348a78(0x7a)][_0x348a78(0xd1)][_0x348a78(0xdd)](_0x519236),_0x51bff4=new Set();for(const {resolvedBy:_0x214e8b,comments:_0xc5b376}of _0x2d7805){_0x214e8b&&!_0x2c3b48[_0x348a78(0xae)](_0x214e8b)&&_0x51bff4[_0x348a78(0x94)](_0x214e8b);for(const {userId:_0x47e2eb}of _0xc5b376)_0x2c3b48[_0x348a78(0xae)](_0x47e2eb)||_0x51bff4[_0x348a78(0x94)](_0x47e2eb);}if(0x0===_0x51bff4[_0x348a78(0xa1)])return;const _0x7806ed=await _0x354364[_0x348a78(0xb1)](_0x3e5cb5,Array[_0x348a78(0x7f)](_0x51bff4));for(const _0x4545cf of _0x7806ed)_0x2c3b48[_0x348a78(0xae)](_0x4545cf['id'])||_0x2c3b48[_0x348a78(0xaa)](_0x4545cf);}}function _0x517b(_0x1d103c,_0x39203c){const _0x5c53d6=_0x5c53();return _0x517b=function(_0x517b1e,_0x2e5aac){_0x517b1e=_0x517b1e-0x78;let _0x2e7792=_0x5c53d6[_0x517b1e];return _0x2e7792;},_0x517b(_0x1d103c,_0x39203c);}async function nt(_0x586a62){const _0x23f807=_0x4f98fb;if(_0x23f807(0x9e)!==_0x586a62[_0x23f807(0xb5)])throw _0x586a62;}function Y(_0x58cc47){const _0x24b03c=_0x4f98fb;if((_0x3786ce=_0x58cc47)[_0x24b03c(0x9a)][_0x24b03c(0x95)](_0x24b03c(0xda))||_0x3786ce[_0x24b03c(0x9a)][_0x24b03c(0x95)](_0x24b03c(0xd7))||_0x3786ce[_0x24b03c(0x9a)][_0x24b03c(0x95)](_0x24b03c(0xc2)))return new Promise(()=>{});var _0x3786ce;throw _0x58cc47;}function st(_0x322b40){const _0x29966f=_0x4f98fb;return{'threadId':_0x322b40[_0x29966f(0x93)],'commentId':_0x322b40[_0x29966f(0x85)],'content':_0x322b40[_0x29966f(0xcf)],'createdAt':_0x322b40[_0x29966f(0xb8)],'authorId':_0x322b40[_0x29966f(0x8a)],'attributes':_0x322b40[_0x29966f(0x9d)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x13c20e=_0x294e;(function(_0x18540b,_0x466573){const _0x5d3eed=_0x294e,_0x41c889=_0x18540b();while(!![]){try{const _0x493645=parseInt(_0x5d3eed(0xcb))/0x1*(-parseInt(_0x5d3eed(0xc7))/0x2)+-parseInt(_0x5d3eed(0xd0))/0x3+-parseInt(_0x5d3eed(0xe7))/0x4+parseInt(_0x5d3eed(0xc8))/0x5+parseInt(_0x5d3eed(0xdc))/0x6+-parseInt(_0x5d3eed(0xce))/0x7+parseInt(_0x5d3eed(0xe3))/0x8;if(_0x493645===_0x466573)break;else _0x41c889['push'](_0x41c889['shift']());}catch(_0x5d726e){_0x41c889['push'](_0x41c889['shift']());}}}(_0x5a35,0xd0b43));import{Plugin as _0x40f8dc}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x2e45f7}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x5a35(){const _0x4686fa=['3264086nmzRUd','config','1934760VNZcBm','CommentsRepository','pluginName','change:state','isOfficialPlugin','once','_setUpService','data','isThreadsLoadingPaused','ready','plugins','RealTimeCollaborativeComments','6178452mLvJIr','switchReadOnly','editor','get','_terminateService','destroy','CommentsEditing','21787448fHLeQg','Comments','isPremiumPlugin','connected','3254668ZwuePy','586nITMIB','20055ICGaXr','collaboration.channelId','listenTo','3336sCXUYm','requires','init'];_0x5a35=function(){return _0x4686fa;};return _0x5a35();}import{RealTimeCollaborativeEditing as _0x4c5691}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x564db8}from'./realtimecollaborativeediting/websocketgateway.js';function _0x294e(_0x3be673,_0x345e80){const _0x5a3530=_0x5a35();return _0x294e=function(_0x294e8e,_0x7b558c){_0x294e8e=_0x294e8e-0xc7;let _0x40e663=_0x5a3530[_0x294e8e];return _0x40e663;},_0x294e(_0x3be673,_0x345e80);}export class RealTimeCollaborativeComments extends _0x40f8dc{static get[_0x13c20e(0xcc)](){const _0x5cdfaa=_0x13c20e;return[_0x5cdfaa(0xe4),_0x2e45f7,_0x4c5691,_0x564db8];}static get[_0x13c20e(0xd2)](){const _0x2434a8=_0x13c20e;return _0x2434a8(0xdb);}static get[_0x13c20e(0xd4)](){return!0x0;}static get[_0x13c20e(0xe5)](){return!0x0;}[_0x13c20e(0xcd)](){const _0x3d96e3=_0x13c20e,_0x5b99a8=this[_0x3d96e3(0xde)][_0x3d96e3(0xda)][_0x3d96e3(0xdf)](_0x564db8),_0x26fd8c=this[_0x3d96e3(0xde)][_0x3d96e3(0xda)][_0x3d96e3(0xdf)](_0x3d96e3(0xe2)),_0x3b63bb=this[_0x3d96e3(0xde)][_0x3d96e3(0xda)][_0x3d96e3(0xdf)](_0x2e45f7);return this[_0x3d96e3(0xde)][_0x3d96e3(0xd7)][_0x3d96e3(0xd5)](_0x3d96e3(0xd9),()=>{const _0x37ffa3=_0x3d96e3;this[_0x37ffa3(0xca)](_0x5b99a8,_0x37ffa3(0xd3),(_0x1ca2bb,_0x3b608d,_0x307f75)=>{const _0xe0074f=_0x37ffa3;_0x26fd8c[_0xe0074f(0xd8)]=_0xe0074f(0xe6)!==_0x307f75;});}),this[_0x3d96e3(0xca)](_0x5b99a8,_0x3d96e3(0xd3),(_0x335acf,_0x27914c,_0x3650ea)=>{const _0x3f960d=_0x3d96e3;this[_0x3f960d(0xde)][_0x3f960d(0xda)][_0x3f960d(0xdf)](_0x3f960d(0xd1))[_0x3f960d(0xdd)](_0x3f960d(0xe6)!==_0x3650ea);}),_0x3b63bb[_0x3d96e3(0xd6)](this[_0x3d96e3(0xde)][_0x3d96e3(0xcf)][_0x3d96e3(0xdf)](_0x3d96e3(0xc9)));}[_0x13c20e(0xe1)](){const _0x763281=_0x13c20e;this[_0x763281(0xde)][_0x763281(0xda)][_0x763281(0xdf)](_0x2e45f7)[_0x763281(0xe0)](this[_0x763281(0xde)][_0x763281(0xcf)][_0x763281(0xdf)](_0x763281(0xc9))),super[_0x763281(0xe1)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x1fcc6a)());[_0x10e274(0x272)];[_0x10e274(0x1de)];[_0x10e274(0x267)];[_0x10e274(0x269)];[_0x10e274(0x219)];[_0x10e274(0x29f)];[_0x10e274(0x202)];[_0x10e274(0x2b0)];[_0x10e274(0x213)];[_0x10e274(0x242)];[_0x10e274(0x223)];[_0x10e274(0x2ae)];[_0x10e274(0x21b)];[_0x10e274(0x1c3)];[_0x10e274(0x244)];[_0x10e274(0x1e5)];[_0x10e274(0x206)];[_0x10e274(0x291)];static get[_0x10e274(0x1fe)](){return[_0x2f0865,_0x2a0cfe,_0x912664,_0x3edcf9,_0x1f758b,_0x316140];}static get[_0x10e274(0x24a)](){const _0x5ddd3b=_0x10e274;return _0x5ddd3b(0x1d0);}static get[_0x10e274(0x1ed)](){return!0x0;}static get[_0x10e274(0x2a9)](){return!0x0;}get[_0x10e274(0x228)](){const _0x4513cb=_0x10e274;return this[_0x4513cb(0x201)]+this[_0x4513cb(0x272)];}get[_0x10e274(0x201)](){const _0x31ea65=_0x10e274;return this[_0x31ea65(0x267)][_0x31ea65(0x268)]-this[_0x31ea65(0x272)];}get[_0x10e274(0x231)](){const _0xabe1b2=_0x10e274,_0x189f77=this[_0xabe1b2(0x267)][_0xabe1b2(0x1cd)]();for(let _0x38141f=_0x189f77[_0xabe1b2(0x28d)]-0x1;_0x38141f>=0x0;_0x38141f--){const _0x5ea197=_0x189f77[_0x38141f];if(!this[_0xabe1b2(0x206)][_0xabe1b2(0x1f0)](_0x5ea197))return _0x5ea197[_0xabe1b2(0x28f)]+0x1-this[_0xabe1b2(0x272)];}return 0x0;}constructor(_0x1a27fe){const _0x297546=_0x10e274;if(super(_0x1a27fe),this[_0x297546(0x272)]=0x0,this[_0x297546(0x1de)]=null,this[_0x297546(0x267)]=new _0x2953a8(),this[_0x297546(0x211)][_0x297546(0x28e)][_0x297546(0x2c6)](_0x297546(0x2b6),{}),this[_0x297546(0x269)]=this[_0x297546(0x211)][_0x297546(0x28e)][_0x297546(0x2bc)](_0x297546(0x23e)),!this[_0x297546(0x269)])throw new _0x266f7f(_0x297546(0x284),this);const _0xfa485f=_0x1a27fe[_0x297546(0x28e)][_0x297546(0x2bc)](_0x297546(0x2a5))||_0x29c638;this[_0x297546(0x219)]=new RealTimeCollaborationClient[(_0x297546(0x1ff))](_0xfa485f,this[_0x297546(0x269)]),this[_0x297546(0x29f)]=this[_0x297546(0x211)][_0x297546(0x1cb)][_0x297546(0x1ce)],this[_0x297546(0x202)]=new _0x19c2de(),this[_0x297546(0x2b0)]=[],this[_0x297546(0x213)]=new WeakSet(),this[_0x297546(0x242)]=new Set(),this[_0x297546(0x227)](_0x297546(0x273),!0x1),this[_0x297546(0x227)](_0x297546(0x2bb),!0x1),this[_0x297546(0x223)]=null,this[_0x297546(0x2ae)]=!0x1,this[_0x297546(0x21b)]=null,this[_0x297546(0x1c3)]=0x12c,this[_0x297546(0x244)]=this[_0x297546(0x1c3)],this[_0x297546(0x1e5)]=null,this[_0x297546(0x206)]=new WeakSet(),this[_0x297546(0x291)]=new F(this[_0x297546(0x206)]);}[_0x10e274(0x1ea)](){const _0x5b83a5=_0x10e274,_0x1442bc=this[_0x5b83a5(0x211)],_0x5d2dbc=_0x1442bc[_0x5b83a5(0x29c)][_0x5b83a5(0x2bc)](_0x1f758b),_0x2309ca=_0x1442bc[_0x5b83a5(0x29c)][_0x5b83a5(0x2bc)](_0x2f0865);this[_0x5b83a5(0x25b)](_0x5d2dbc,_0x5b83a5(0x225),(_0x449a6f,_0x29e3d0)=>{const _0x54840b=_0x5b83a5,_0x39aa18=_0x29e3d0[0x0];_0x39aa18[_0x54840b(0x2c1)]&&(_0x449a6f[_0x54840b(0x1df)]=_0x5d2dbc[_0x54840b(0x204)](_0x39aa18[_0x54840b(0x2c1)]),_0x449a6f[_0x54840b(0x210)]()),null===_0x39aa18[_0x54840b(0x2c1)]&&(_0x449a6f[_0x54840b(0x1df)]=null,_0x449a6f[_0x54840b(0x210)]());},{'priority':_0x5b83a5(0x20e)}),this[_0x5b83a5(0x25b)](_0x1442bc[_0x5b83a5(0x1cb)][_0x5b83a5(0x1ce)][_0x5b83a5(0x25a)],_0x5b83a5(0x240),(_0x1a6694,_0x2667a8)=>{const _0x59cc2f=_0x5b83a5;_0x2667a8[_0x59cc2f(0x200)]&&this[_0x59cc2f(0x1f8)]();}),this[_0x5b83a5(0x25b)](_0x1442bc[_0x5b83a5(0x24b)][_0x5b83a5(0x276)],_0x5b83a5(0x275),()=>{const _0x259eed=_0x5b83a5;this[_0x259eed(0x1f8)]();}),this[_0x5b83a5(0x1e6)](),_0x1442bc[_0x5b83a5(0x1cb)]['on'](_0x5b83a5(0x1cf),(_0x4d3e42,_0x1d61d9)=>{const _0x2774e9=_0x5b83a5,_0x14f90d=_0x1d61d9[0x0];_0x14f90d[_0x2774e9(0x27c)]&&(this[_0x2774e9(0x1d1)](_0x14f90d),this[_0x2774e9(0x218)]()&&this[_0x2774e9(0x226)]());}),this[_0x5b83a5(0x23a)](),this[_0x5b83a5(0x2b3)](_0x5b83a5(0x2ac))['to'](_0x2309ca,_0x5b83a5(0x288),this,_0x5b83a5(0x2bb),(_0xefebab,_0x4ccdd1)=>_0x5b83a5(0x1d9)===_0xefebab&&!_0x4ccdd1),this['on'](_0x5b83a5(0x230),()=>{const _0x208bbd=_0x5b83a5;this[_0x208bbd(0x2ac)]?_0x1442bc[_0x208bbd(0x2ad)](_0x208bbd(0x20b)):_0x1442bc[_0x208bbd(0x20f)](_0x208bbd(0x20b));}),this[_0x5b83a5(0x2ac)]?_0x1442bc[_0x5b83a5(0x2ad)](_0x5b83a5(0x20b)):_0x1442bc[_0x5b83a5(0x20f)](_0x5b83a5(0x20b)),this[_0x5b83a5(0x227)](_0x5b83a5(0x245),!0x1);}async[_0x10e274(0x1da)](){const _0x2c4397=_0x10e274,_0x823334=this[_0x2c4397(0x211)][_0x2c4397(0x29c)][_0x2c4397(0x2bc)](_0x2a0cfe),_0x5c8ab8=this[_0x2c4397(0x211)][_0x2c4397(0x29c)][_0x2c4397(0x2bc)](_0x2f0865);try{this[_0x2c4397(0x273)]=!0x0,_0x823334[_0x2c4397(0x1e7)](this[_0x2c4397(0x269)]);const _0x56c776=await this[_0x2c4397(0x219)][_0x2c4397(0x1da)](_0x5c8ab8[_0x2c4397(0x1f4)],this[_0x2c4397(0x231)]);await this[_0x2c4397(0x247)](_0x56c776)&&(this[_0x2c4397(0x273)]=!0x1,this[_0x2c4397(0x1e3)]());const _0x3c5a80=await this[_0x2c4397(0x219)][_0x2c4397(0x222)]();_0x823334[_0x2c4397(0x22a)](this[_0x2c4397(0x269)],_0x3c5a80),this[_0x2c4397(0x2b1)](),this[_0x2c4397(0x245)]=!0x0;}catch(_0x471899){if(function(_0x51d552){const _0x3fbe79=_0x2c4397;return _0x3fbe79(0x1f7)===_0x51d552[_0x3fbe79(0x232)];}(_0x471899)&&this[_0x2c4397(0x1de)])await this[_0x2c4397(0x27e)]();else{if(function(_0x539476){const _0x32bd30=_0x2c4397;return _0x32bd30(0x233)===_0x539476[_0x32bd30(0x232)];}(_0x471899)){const _0x4d84b0=_0x10b1ab(this[_0x2c4397(0x211)][_0x2c4397(0x22d)],_0x2c4397(0x1d6));this[_0x2c4397(0x22f)](_0x4d84b0);}else{if(!(_0x471899 instanceof V))throw _0x471899;this[_0x2c4397(0x22f)]();}}}}[_0x10e274(0x24d)](){const _0x4efc84=_0x10e274,_0x5872f7=this[_0x4efc84(0x211)][_0x4efc84(0x29c)][_0x4efc84(0x2bc)](_0x2f0865),_0x2e781d=this[_0x4efc84(0x211)][_0x4efc84(0x29c)][_0x4efc84(0x2bc)](_0x2a0cfe);this[_0x4efc84(0x211)][_0x4efc84(0x20f)](_0x4efc84(0x2ba)),_0x2e781d[_0x4efc84(0x26c)][_0x4efc84(0x1f0)](this[_0x4efc84(0x269)])&&_0x2e781d[_0x4efc84(0x1e7)](this[_0x4efc84(0x269)]),_0x5872f7[_0x4efc84(0x23b)](this),this[_0x4efc84(0x294)](),super[_0x4efc84(0x24d)]();}async[_0x10e274(0x247)](_0x50f3a5){const _0x5c83d2=_0x10e274;if(this[_0x5c83d2(0x1de)]!==_0x50f3a5[_0x5c83d2(0x1de)]&&this[_0x5c83d2(0x1e5)]!==_0x50f3a5[_0x5c83d2(0x1c4)])throw new V();return this[_0x5c83d2(0x1de)]=_0x50f3a5[_0x5c83d2(0x1de)],this[_0x5c83d2(0x243)]([],{..._0x50f3a5,'wereChangesApplied':!0x1,'data':_0x50f3a5[_0x5c83d2(0x25d)]},_0x5c83d2(0x1da));}async[_0x10e274(0x253)](_0xd1c3d,_0x432018=!0x1){const _0xd1c13d=_0x10e274,{connection:_0x5b12a9}=this[_0xd1c13d(0x211)][_0xd1c13d(0x29c)][_0xd1c13d(0x2bc)](_0x2f0865);RealTimeCollaborationClient[_0xd1c13d(0x1ff)][_0xd1c13d(0x222)](_0x5b12a9,this[_0xd1c13d(0x269)])[_0xd1c13d(0x248)](_0x4281c9=>this[_0xd1c13d(0x21f)](_0x4281c9))[_0xd1c13d(0x1fa)](_0x4c992c=>{const _0x4c1e85=_0xd1c13d;this[_0x4c1e85(0x2a0)](_0x4c1e85(0x1f5),_0x4c992c);}),this[_0xd1c13d(0x25b)](this[_0xd1c13d(0x219)],_0xd1c13d(0x214),this[_0xd1c13d(0x1ee)][_0xd1c13d(0x2b3)](this)),this[_0xd1c13d(0x25b)](this[_0xd1c13d(0x219)],_0xd1c13d(0x255),(_0x4eea34,_0x96cec8)=>{const _0xb0ac96=_0xd1c13d;this[_0xb0ac96(0x2a0)](_0xb0ac96(0x299),_0x96cec8);}),this[_0xd1c13d(0x25b)](this[_0xd1c13d(0x219)],_0xd1c13d(0x1e4),()=>{const _0x222caf=_0xd1c13d;this[_0x222caf(0x245)]=!0x1;});const _0x4ba975=this[_0xd1c13d(0x291)][_0xd1c13d(0x2bd)](_0xd1c3d);this[_0xd1c13d(0x273)]=!0x0;const _0x11e9fa=await this[_0xd1c13d(0x219)][_0xd1c13d(0x1c6)](_0x5b12a9,this[_0xd1c13d(0x260)](_0xd1c3d),_0x4ba975);if(this[_0xd1c13d(0x1de)]=_0x11e9fa[_0xd1c13d(0x1de)],_0x432018){if(!_0x11e9fa[_0xd1c13d(0x26f)])return void this[_0xd1c13d(0x22f)]();this[_0xd1c13d(0x273)]=!0x1,this[_0xd1c13d(0x1e3)](),this[_0xd1c13d(0x267)][_0xd1c13d(0x239)](),this[_0xd1c13d(0x272)]=_0x11e9fa[_0xd1c13d(0x283)],this[_0xd1c13d(0x267)][_0xd1c13d(0x268)]=this[_0xd1c13d(0x272)],await this[_0xd1c13d(0x243)](_0xd1c3d,_0x11e9fa,_0xd1c13d(0x287));}else await this[_0xd1c13d(0x238)](_0x11e9fa,_0xd1c3d);this[_0xd1c13d(0x2b1)](),this[_0xd1c13d(0x245)]=!0x0;}[_0x10e274(0x2b1)](){const _0x24217a=_0x10e274,_0x350a39=this[_0x24217a(0x211)][_0x24217a(0x29c)][_0x24217a(0x2bc)](_0x2a0cfe),_0x571395=this[_0x24217a(0x211)][_0x24217a(0x29c)][_0x24217a(0x2bc)](_0x912664),_0x39eb7b=_0x350a39[_0x24217a(0x26c)][_0x24217a(0x2bc)](this[_0x24217a(0x269)]);_0x39eb7b&&_0x39eb7b[_0x24217a(0x28d)]>0x1?_0x571395[_0x24217a(0x1dc)]():this[_0x24217a(0x25b)](_0x350a39,_0x24217a(0x256)+this[_0x24217a(0x269)],()=>{const _0x500a62=_0x24217a;0x2===_0x350a39[_0x500a62(0x26c)][_0x500a62(0x2bc)](this[_0x500a62(0x269)])[_0x500a62(0x28d)]&&_0x571395[_0x500a62(0x1dc)]();});}async[_0x10e274(0x1ee)](_0x1190ed,_0xd7b870,_0x3b5f86,_0x583cb1){const _0x43fdbc=_0x10e274;if(!this[_0x43fdbc(0x273)]&&this[_0x43fdbc(0x29f)][_0x43fdbc(0x268)]==_0xd7b870){const _0x1c1a61=this[_0x43fdbc(0x285)](_0x3b5f86,_0x583cb1);await this[_0x43fdbc(0x1d7)](_0x1c1a61),this[_0x43fdbc(0x1cc)](_0x1c1a61,_0xd7b870,_0x3b5f86[_0x43fdbc(0x1c4)])||this[_0x43fdbc(0x2a0)](_0x43fdbc(0x1c0));}}async[_0x10e274(0x27e)](){const _0x572eaa=_0x10e274;this[_0x572eaa(0x294)]();const {locale:_0x450bcc}=this[_0x572eaa(0x211)];let _0x4d8ea5;try{_0x4d8ea5=await this[_0x572eaa(0x219)][_0x572eaa(0x217)]();}catch{const _0x392cb1=_0x10b1ab(_0x450bcc,_0x572eaa(0x27b));return void this[_0x572eaa(0x22f)](_0x392cb1);}const _0x463a63=_0x4d8ea5[_0x572eaa(0x286)]||_0x4d8ea5[_0x572eaa(0x2b4)];if(this[_0x572eaa(0x1e5)]!==_0x463a63[_0x572eaa(0x1c4)]){const _0x3c2206=_0x10b1ab(_0x450bcc,_0x572eaa(0x29d));return void this[_0x572eaa(0x22f)](_0x3c2206);}await this[_0x572eaa(0x253)](this[_0x572eaa(0x211)][_0x572eaa(0x1cb)][_0x572eaa(0x1ce)][_0x572eaa(0x207)][_0x572eaa(0x1cd)](),!0x0);}[_0x10e274(0x294)](){const _0xbef01c=_0x10e274;this[_0xbef01c(0x219)][_0xbef01c(0x212)](),this[_0xbef01c(0x2b0)]=[],clearTimeout(this[_0xbef01c(0x21b)]),this[_0xbef01c(0x2c3)](this[_0xbef01c(0x219)]);}[_0x10e274(0x21f)](_0x1c7ba4){const _0x41f1dd=_0x10e274,_0x4fa3a8=this[_0x41f1dd(0x211)][_0x41f1dd(0x29c)][_0x41f1dd(0x2bc)](_0x2a0cfe);this[_0x41f1dd(0x25b)](_0x4fa3a8,_0x41f1dd(0x256)+this[_0x41f1dd(0x269)],(_0x30a526,{session:_0x2facd1})=>{const _0x37e65f=_0x41f1dd;if(_0x2facd1['id']===_0x4fa3a8[_0x37e65f(0x220)]){_0x30a526[_0x37e65f(0x2c5)]();const _0x15ce5e=this[_0x37e65f(0x211)][_0x37e65f(0x29c)][_0x37e65f(0x1f0)](_0x37e65f(0x1d8))&&this[_0x37e65f(0x211)][_0x37e65f(0x29c)][_0x37e65f(0x2bc)](_0x37e65f(0x1d8));let _0x1f936b=_0x2facd1[_0x37e65f(0x254)];_0x15ce5e&&_0x15ce5e[_0x37e65f(0x29e)]&&(_0x1f936b=_0x1f936b[_0x37e65f(0x2ab)](_0x30d5b4=>_0x37e65f(0x249)!==_0x30d5b4)),this[_0x37e65f(0x211)][_0x37e65f(0x29c)][_0x37e65f(0x2bc)](_0x37e65f(0x28a))[_0x37e65f(0x2b9)](_0x1f936b,this[_0x37e65f(0x269)]);}}),_0x4fa3a8[_0x41f1dd(0x22a)](this[_0x41f1dd(0x269)],_0x1c7ba4);}[_0x10e274(0x1e6)](){const _0x298935=_0x10e274,_0x9581f=this[_0x298935(0x211)][_0x298935(0x25d)][_0x298935(0x227)];this[_0x298935(0x211)][_0x298935(0x25d)][_0x298935(0x227)]=(..._0x189ca8)=>{const _0x10aedc=_0x298935;if(!_0x189ca8[_0x189ca8[_0x10aedc(0x28d)]-0x1][_0x10aedc(0x265)])throw new _0x266f7f(_0x10aedc(0x266),this);_0x9581f[_0x10aedc(0x20c)](this[_0x10aedc(0x211)][_0x10aedc(0x25d)],_0x189ca8);};}[_0x10e274(0x23a)](){const _0x1ed691=_0x10e274;this[_0x1ed691(0x211)][_0x1ed691(0x25d)]['on'](_0x1ed691(0x1ea),(_0x3393cb,[_0x2209ac])=>{const _0x303de2=_0x1ed691;if(this[_0x303de2(0x29f)][_0x303de2(0x268)])throw new _0x266f7f(_0x303de2(0x1f9),this);_0x3393cb[_0x303de2(0x210)](),this[_0x303de2(0x1f2)]();const _0x1f32c1=this[_0x303de2(0x211)][_0x303de2(0x28e)][_0x303de2(0x2bc)](_0x303de2(0x24f)),_0x5c9c17=this[_0x303de2(0x282)](_0x2209ac,_0x1f32c1);0x0==_0x5c9c17[_0x303de2(0x28d)]&&_0x5c9c17[_0x303de2(0x258)](new _0x3b48c8(0x0)),_0x3393cb[_0x303de2(0x1df)]=this[_0x303de2(0x253)](_0x5c9c17)[_0x303de2(0x248)](()=>{const _0x598f9c=_0x303de2;this[_0x598f9c(0x211)][_0x598f9c(0x29c)][_0x598f9c(0x2bc)](_0x2f0865)[_0x598f9c(0x263)](this),this[_0x598f9c(0x211)][_0x598f9c(0x25d)][_0x598f9c(0x1c7)](_0x598f9c(0x2af));})[_0x303de2(0x1fa)](_0x104f3f=>this[_0x303de2(0x2a0)](_0x303de2(0x2c0),_0x104f3f))[_0x303de2(0x298)](()=>this[_0x303de2(0x1e3)]());},{'priority':_0x1ed691(0x20e)}),this[_0x1ed691(0x211)]['on'](_0x1ed691(0x1d3),async(_0x55cbc2,[_0x5e6457,_0x26b0f7])=>{const _0x31c695=_0x1ed691;_0x55cbc2[_0x31c695(0x210)]();const _0x436b3f=this[_0x31c695(0x211)][_0x31c695(0x1cb)][_0x31c695(0x1ce)][_0x31c695(0x1ef)](_0x5e6457);if(!this[_0x31c695(0x242)][_0x31c695(0x1f0)](_0x5e6457)){const _0x4aca5f=_0x26b0f7&&_0x26b0f7[_0x31c695(0x25d)]?_0x26b0f7[_0x31c695(0x25d)]:'',_0x46262a=_0x26b0f7&&_0x26b0f7[_0x31c695(0x205)]?_0x26b0f7[_0x31c695(0x205)]:{};await this[_0x31c695(0x221)](_0x5e6457,_0x4aca5f,_0x46262a);}this[_0x31c695(0x211)][_0x31c695(0x1cb)][_0x31c695(0x246)]({'isUndoable':!0x1},()=>{const _0x4c8b73=_0x31c695;_0x436b3f[_0x4c8b73(0x1dd)]=!0x0,this[_0x4c8b73(0x211)][_0x4c8b73(0x1cb)][_0x4c8b73(0x1ce)][_0x4c8b73(0x1fd)][_0x4c8b73(0x1ec)](_0x436b3f);});},{'priority':_0x1ed691(0x20e)});}async[_0x10e274(0x1d7)](_0x292085){const _0xd2b831=_0x10e274,_0x44bd91=this[_0xd2b831(0x211)][_0xd2b831(0x29c)][_0xd2b831(0x2bc)](_0x1f758b),{connection:_0x4eedad}=this[_0xd2b831(0x211)][_0xd2b831(0x29c)][_0xd2b831(0x2bc)](_0x2f0865),_0x529789=new Set();for(const _0x553364 of _0x292085){const _0x3a00d1=_0x553364[_0xd2b831(0x2c1)];_0x3a00d1&&!_0x44bd91[_0xd2b831(0x204)](_0x3a00d1)&&_0x529789[_0xd2b831(0x259)](_0x3a00d1);}if(0x0===_0x529789[_0xd2b831(0x26b)])return;const _0x4ea5c9=await _0x2e67af[_0xd2b831(0x25f)](_0x4eedad,Array[_0xd2b831(0x1f1)](_0x529789));for(const _0x44cbea of _0x4ea5c9)_0x44bd91[_0xd2b831(0x204)](_0x44cbea['id'])||_0x44bd91[_0xd2b831(0x277)](_0x44cbea);}[_0x10e274(0x282)](_0x2767c9,_0x124c32={}){const _0x4c2892=_0x10e274,_0x387a7a=this[_0x4c2892(0x211)][_0x4c2892(0x1cb)],_0x1086fc=[];let _0x366c33=0x0;const _0x3b917f=_0x4c2892(0x22b)==typeof _0x2767c9?{'main':_0x2767c9}:_0x2767c9;for(const _0x4568cf of Object[_0x4c2892(0x278)](_0x3b917f)){if(!this[_0x4c2892(0x29f)][_0x4c2892(0x2a6)][_0x4c2892(0x1f0)](_0x4568cf))throw new _0x266f7f(_0x4c2892(0x27f),this);const _0x203e82=this[_0x4c2892(0x211)][_0x4c2892(0x25d)][_0x4c2892(0x1fc)](_0x3b917f[_0x4568cf]),_0x111115=this[_0x4c2892(0x29f)][_0x4c2892(0x1ef)](_0x4568cf),_0x20e0bc=new _0x537c52(_0x387a7a[_0x4c2892(0x1e9)](_0x111115,0x0),_0x203e82,_0x366c33++);_0x1086fc[_0x4c2892(0x258)](_0x20e0bc);for(const [_0x53ccde,_0x52831b]of _0x203e82[_0x4c2892(0x1e2)]){const _0x4752ea=_0x387a7a[_0x4c2892(0x26e)](_0x387a7a[_0x4c2892(0x209)](_0x111115,_0x52831b[_0x4c2892(0x2aa)][_0x4c2892(0x29b)][_0x4c2892(0x26a)]()),_0x387a7a[_0x4c2892(0x209)](_0x111115,_0x52831b[_0x4c2892(0x1e0)][_0x4c2892(0x29b)][_0x4c2892(0x26a)]())),_0x14b0a3=new _0x358fee(_0x53ccde,null,_0x4752ea,_0x387a7a[_0x4c2892(0x1e2)],!0x0,_0x366c33++);_0x1086fc[_0x4c2892(0x258)](_0x14b0a3);}}if(_0x124c32)for(const [_0x41de70,_0x44f0d4]of Object[_0x4c2892(0x2b7)](_0x124c32)){const _0x3d5c38=_0x387a7a[_0x4c2892(0x1ce)][_0x4c2892(0x1ef)](_0x41de70);if(!_0x3d5c38)throw new _0x266f7f(_0x4c2892(0x2a3),null);for(const [_0x49f5d8,_0x4e1788]of Object[_0x4c2892(0x2b7)](_0x44f0d4))if(null!==_0x4e1788){const _0x592368=new _0x44283e(_0x3d5c38,_0x49f5d8,null,_0x4e1788,_0x366c33++);_0x1086fc[_0x4c2892(0x258)](_0x592368);}}return _0x1086fc;}async[_0x10e274(0x221)](_0x2e91e8,_0x2c761b,_0x41eb97){const _0x58f283=_0x10e274;this[_0x58f283(0x282)]({[_0x2e91e8]:_0x2c761b},{[_0x2e91e8]:_0x41eb97})[_0x58f283(0x24e)]((_0x3f92c0,_0x2dc941)=>{const _0x1f6056=_0x58f283;_0x3f92c0[_0x1f6056(0x28f)]=this[_0x1f6056(0x29f)][_0x1f6056(0x268)]+_0x2dc941,_0x3f92c0[_0x1f6056(0x1eb)]=!0x0,this[_0x1f6056(0x1d1)](_0x3f92c0);}),this[_0x58f283(0x226)](),await this[_0x58f283(0x1e8)]();}async[_0x10e274(0x238)](_0x13567f,_0x199a11){const _0x3753b5=_0x10e274;let _0x152423;this[_0x3753b5(0x272)]=_0x13567f[_0x3753b5(0x283)];const _0x2e0bbe=_0x13567f[_0x3753b5(0x26f)]&&!_0x13567f[_0x3753b5(0x23c)],_0x130f05=_0x2e0bbe?0x0:_0x13567f[_0x3753b5(0x25d)][_0x3753b5(0x28f)];if(_0x199a11[_0x3753b5(0x24e)](_0x8977dc=>{const _0x458bf5=_0x3753b5;_0x8977dc[_0x458bf5(0x1eb)]=!0x0,_0x8977dc[_0x458bf5(0x1c5)]=_0x13567f[_0x458bf5(0x1f3)],_0x8977dc[_0x458bf5(0x2c1)]=null;}),_0x2e0bbe)_0x152423=_0x199a11,this[_0x3753b5(0x270)](_0x152423,_0x2e0bbe);else{if(_0x13567f[_0x3753b5(0x23c)]){const _0x342234=this[_0x3753b5(0x282)](_0x13567f[_0x3753b5(0x23c)]);this[_0x3753b5(0x29f)][_0x3753b5(0x207)][_0x3753b5(0x268)]=-_0x342234[_0x3753b5(0x28d)],_0x342234[_0x3753b5(0x24e)](_0x5deec9=>{const _0x41b912=_0x3753b5;_0x5deec9[_0x41b912(0x28f)]-=_0x342234[_0x41b912(0x28d)],_0x5deec9[_0x41b912(0x1c5)]=_0x13567f[_0x41b912(0x1f3)],_0x5deec9[_0x41b912(0x1eb)]=!0x0,_0x5deec9[_0x41b912(0x2c1)]=null;}),this[_0x3753b5(0x270)](_0x342234,!0x0),this[_0x3753b5(0x267)][_0x3753b5(0x268)]=-_0x342234[_0x3753b5(0x28d)]+this[_0x3753b5(0x272)],this[_0x3753b5(0x28b)](_0x342234);}this[_0x3753b5(0x29f)][_0x3753b5(0x207)][_0x3753b5(0x268)]=_0x130f05,_0x152423=this[_0x3753b5(0x285)](_0x13567f[_0x3753b5(0x25d)],_0x13567f[_0x3753b5(0x2be)]),await this[_0x3753b5(0x1d7)](_0x152423),this[_0x3753b5(0x270)](_0x152423,_0x2e0bbe);}_0x13567f[_0x3753b5(0x1c4)]&&(this[_0x3753b5(0x291)][_0x3753b5(0x295)](_0x152423,_0x13567f[_0x3753b5(0x1c4)]),this[_0x3753b5(0x1e5)]=_0x13567f[_0x3753b5(0x1c4)]),this[_0x3753b5(0x267)][_0x3753b5(0x268)]=_0x130f05+this[_0x3753b5(0x272)],this[_0x3753b5(0x28b)](_0x152423),_0x199a11[_0x3753b5(0x2ab)](_0x16c7d6=>{const _0x503e41=_0x3753b5,_0x42edde=this[_0x503e41(0x25c)](_0x16c7d6);return _0x42edde&&!this[_0x503e41(0x242)][_0x503e41(0x1f0)](_0x42edde);})[_0x3753b5(0x24e)]((_0xc62a5f,_0x570dea)=>{const _0x19bbdf=_0x3753b5;_0xc62a5f[_0x19bbdf(0x28f)]=this[_0x19bbdf(0x29f)][_0x19bbdf(0x268)]+_0x570dea,this[_0x19bbdf(0x1d1)](_0xc62a5f);}),this[_0x3753b5(0x218)]()?(this[_0x3753b5(0x244)]=0x0,this[_0x3753b5(0x226)](!0x0),await this[_0x3753b5(0x1e8)]()):(this[_0x3753b5(0x273)]=!0x1,this[_0x3753b5(0x1e3)]());}[_0x10e274(0x2a0)](_0x4fa0f5,_0x202028){const _0x7c6727=_0x10e274,_0x1c9ca6=_0x202028&&_0x202028[_0x7c6727(0x1e1)];if(_0x1c9ca6&&_0x1c9ca6[_0x7c6727(0x2a2)](_0x7c6727(0x2c4)))throw _0x202028;const _0x1bf85c=this[_0x7c6727(0x211)][_0x7c6727(0x29c)][_0x7c6727(0x2bc)](_0x2f0865);throw this[_0x7c6727(0x273)]=!0x0,_0x1bf85c[_0x7c6727(0x212)](),this[_0x7c6727(0x211)][_0x7c6727(0x20f)](_0x7c6727(0x203)),new _0x266f7f(_0x4fa0f5,this[_0x7c6727(0x211)],_0x1c9ca6?{'originalError':_0x1c9ca6}:void 0x0);}[_0x10e274(0x1d1)](_0x84de39){const _0x2f31a0=_0x10e274;this[_0x2f31a0(0x213)][_0x2f31a0(0x1f0)](_0x84de39)||(this[_0x2f31a0(0x213)][_0x2f31a0(0x259)](_0x84de39),this[_0x2f31a0(0x2b0)][_0x2f31a0(0x258)](_0x84de39),this[_0x2f31a0(0x223)]||_0x2f31a0(0x26d)==_0x84de39[_0x2f31a0(0x23d)]&&!_0x84de39[_0x2f31a0(0x1d4)]||this[_0x2f31a0(0x1f2)]());}[_0x10e274(0x226)](_0x112f4b=!0x1){const _0x2f65ed=_0x10e274;!_0x112f4b&&this[_0x2f65ed(0x273)]||(this[_0x2f65ed(0x273)]=!0x0,clearTimeout(this[_0x2f65ed(0x21b)]),this[_0x2f65ed(0x21b)]=setTimeout(()=>{const _0x334a93=_0x2f65ed;this[_0x334a93(0x22e)]()[_0x334a93(0x248)](_0xbf6b96=>{const _0x5a8e57=_0x334a93;_0xbf6b96&&(this[_0x5a8e57(0x1e3)](),this[_0x5a8e57(0x273)]=!0x1);})[_0x334a93(0x1fa)](_0x5e167b=>{const _0x330cdc=_0x334a93;this[_0x330cdc(0x1e3)](),this[_0x330cdc(0x273)]=!0x1,function(_0x8c1e51){const _0x548030=_0x330cdc;return _0x8c1e51[_0x548030(0x1e1)][_0x548030(0x2a2)](_0x548030(0x292))||_0x8c1e51[_0x548030(0x1e1)][_0x548030(0x2a2)](_0x548030(0x2b2))||_0x8c1e51[_0x548030(0x1e1)][_0x548030(0x2a2)](_0x548030(0x216));}(_0x5e167b)||this[_0x330cdc(0x2a0)](_0x5e167b[_0x330cdc(0x1e1)],_0x5e167b);});},this[_0x2f65ed(0x244)]));}[_0x10e274(0x1e8)](){return new Promise(_0xd01680=>{const _0x21090b=_0x3956;this['on'](_0x21090b(0x296),()=>{_0xd01680();});});}async[_0x10e274(0x22e)](){const _0x417fd5=_0x10e274,_0x454f11=this[_0x417fd5(0x211)][_0x417fd5(0x29c)][_0x417fd5(0x2bc)](_0x912664);if(this[_0x417fd5(0x1c1)]()&&(_0x454f11[_0x417fd5(0x1dc)](),this[_0x417fd5(0x2ae)]=!0x1),!this[_0x417fd5(0x218)]())return!0x0;const _0x58bce5=[...this[_0x417fd5(0x2b0)]];for(const _0x5c8d5d of _0x58bce5)_0x5c8d5d[_0x417fd5(0x1d2)]=this[_0x417fd5(0x29f)][_0x417fd5(0x207)][_0x417fd5(0x1d5)](_0x5c8d5d);const _0x3bbdf8=this[_0x417fd5(0x291)][_0x417fd5(0x2bd)](_0x58bce5),_0x37cb73=H++,_0x1413dc=this[_0x417fd5(0x260)](_0x58bce5),_0x23c6f2=await this[_0x417fd5(0x219)][_0x417fd5(0x280)](_0x1413dc,_0x1413dc[_0x417fd5(0x28f)],_0x3bbdf8);try{return await this[_0x417fd5(0x243)](_0x58bce5,_0x23c6f2,_0x37cb73);}catch(_0x54a1b6){return this[_0x417fd5(0x2a0)](_0x417fd5(0x271),_0x54a1b6);}}async[_0x10e274(0x243)](_0x1226fe,_0x4fab78,_0x4b0b4a){const _0x2b556f=_0x10e274;if(_0x2b556f(0x255)in _0x4fab78)throw _0x4fab78[_0x2b556f(0x255)];let _0x4e1b51=!0x1;if(_0x4fab78[_0x2b556f(0x26f)]){_0x4fab78[_0x2b556f(0x1c4)]&&(this[_0x2b556f(0x1e5)]=_0x4fab78[_0x2b556f(0x1c4)]),this[_0x2b556f(0x2b0)]=this[_0x2b556f(0x2b0)][_0x2b556f(0x2ab)](_0x4558d2=>!_0x1226fe[_0x2b556f(0x23f)](_0x4558d2));for(const _0x4c660c of _0x1226fe)_0x4c660c[_0x2b556f(0x1c5)]=_0x2b556f(0x215)in _0x4fab78&&_0x4fab78[_0x2b556f(0x215)]||void 0x0;W(_0x1226fe,_0x4fab78[_0x2b556f(0x268)]-_0x1226fe[_0x2b556f(0x28d)]),this[_0x2b556f(0x28b)](_0x1226fe);const _0x1d7b50=_0x1226fe[_0x2b556f(0x2ab)](_0x409ea8=>{const _0x1214bf=_0x2b556f;if(!_0x409ea8[_0x1214bf(0x1eb)])return!0x1;const _0x207c95=this[_0x1214bf(0x25c)](_0x409ea8);return _0x207c95&&!this[_0x1214bf(0x242)][_0x1214bf(0x1f0)](_0x207c95);});W(_0x1d7b50,this[_0x2b556f(0x29f)][_0x2b556f(0x268)]),this[_0x2b556f(0x270)](_0x1d7b50),_0x4e1b51=!0x0,this[_0x2b556f(0x244)]=this[_0x2b556f(0x1c3)];}else{const _0x26593d=this[_0x2b556f(0x285)](_0x4fab78[_0x2b556f(0x25d)],_0x4fab78[_0x2b556f(0x2be)])[_0x2b556f(0x2ab)](_0x25a6b1=>_0x25a6b1[_0x2b556f(0x28f)]>=this[_0x2b556f(0x201)]);_0x26593d[_0x2b556f(0x24e)](_0x56b663=>this[_0x2b556f(0x262)](_0x56b663)),this[_0x2b556f(0x2b0)]=this[_0x2b556f(0x2b0)][_0x2b556f(0x2ab)](_0x52f97e=>!_0x52f97e[_0x2b556f(0x1eb)]||!this[_0x2b556f(0x242)][_0x2b556f(0x1f0)](this[_0x2b556f(0x25c)](_0x52f97e))),this[_0x2b556f(0x2b0)][_0x2b556f(0x28d)]&&W(this[_0x2b556f(0x2b0)],this[_0x2b556f(0x2b0)][0x0][_0x2b556f(0x28f)]),await this[_0x2b556f(0x1d7)](_0x26593d),_0x4e1b51=this[_0x2b556f(0x1cc)](_0x26593d,_0x4fab78[_0x2b556f(0x268)],_0x4fab78[_0x2b556f(0x1c4)]),this[_0x2b556f(0x244)]=Math[_0x2b556f(0x22c)](this[_0x2b556f(0x244)]/0x2);}return _0x4e1b51?!this[_0x2b556f(0x218)]()||(this[_0x2b556f(0x226)](!0x0),!0x1):this[_0x2b556f(0x2a0)](_0x2b556f(0x21c));}[_0x10e274(0x1cc)](_0xbeb2d7,_0x2f9407,_0x15da9f){const _0x5c2aea=_0x10e274;try{const _0x351e82={'document':this[_0x5c2aea(0x29f)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x123202,operationsB:_0x49fe1b,originalOperations:_0x29326a}=_0x480c79(_0xbeb2d7,this[_0x5c2aea(0x2b0)],_0x351e82);W(_0x123202,this[_0x5c2aea(0x29f)][_0x5c2aea(0x268)]),W(_0x49fe1b,_0x2f9407);for(const _0x7125ec of _0x123202){const _0x2d4e08=_0x29326a[_0x5c2aea(0x2bc)](_0x7125ec);_0x7125ec[_0x5c2aea(0x2c1)]=_0x2d4e08?_0x2d4e08[_0x5c2aea(0x2c1)]:null;}_0x15da9f&&(this[_0x5c2aea(0x291)][_0x5c2aea(0x295)](_0xbeb2d7,_0x15da9f),this[_0x5c2aea(0x1e5)]=_0x15da9f),this[_0x5c2aea(0x2b0)]=[..._0x49fe1b],this[_0x5c2aea(0x270)](_0x123202),this[_0x5c2aea(0x28b)](_0xbeb2d7);}catch(_0x52dd2d){return console[_0x5c2aea(0x255)](_0x52dd2d),!0x1;}return!0x0;}[_0x10e274(0x270)](_0x48cb35,_0x26613c=!0x1){const _0x5c8a4e=_0x10e274;this[_0x5c8a4e(0x211)][_0x5c8a4e(0x1cb)][_0x5c8a4e(0x246)]({'isUndoable':!0x1,'isLocal':!0x1},_0xf224f1=>{const _0x17f3f5=_0x5c8a4e;for(const _0x23a96e of _0x48cb35)this[_0x17f3f5(0x213)][_0x17f3f5(0x259)](_0x23a96e),this[_0x17f3f5(0x262)](_0x23a96e),_0xf224f1[_0x17f3f5(0x290)][_0x17f3f5(0x2a7)](_0x23a96e),this[_0x17f3f5(0x211)][_0x17f3f5(0x1cb)][_0x17f3f5(0x1cf)](_0x23a96e);});}[_0x10e274(0x262)](_0x4a4e38){const _0x41c6cc=_0x10e274,_0x41a9f0=this[_0x41c6cc(0x25c)](_0x4a4e38);_0x41a9f0&&this[_0x41c6cc(0x242)][_0x41c6cc(0x259)](_0x41a9f0);}[_0x10e274(0x25c)](_0x367b71){const _0x3e5590=_0x10e274;let _0x530b62,_0x27f48d;switch(_0x367b71[_0x3e5590(0x23d)]){case _0x3e5590(0x1c8):_0x530b62=_0x367b71[_0x3e5590(0x28c)][_0x3e5590(0x2a4)];break;case _0x3e5590(0x26d):if(_0x27f48d=_0x367b71[_0x3e5590(0x237)],!_0x27f48d)return null;_0x530b62=_0x27f48d[_0x3e5590(0x2a4)];break;case _0x3e5590(0x20a):_0x530b62=_0x367b71[_0x3e5590(0x2a4)];break;case _0x3e5590(0x236):_0x530b62=_0x367b71[_0x3e5590(0x252)];break;case _0x3e5590(0x264):_0x530b62=_0x367b71[_0x3e5590(0x27d)][_0x3e5590(0x2a4)];break;default:return null;}return _0x530b62[_0x3e5590(0x20d)];}[_0x10e274(0x28b)](_0x22c91e){const _0x3c2ebd=_0x10e274;_0x22c91e[_0x3c2ebd(0x24e)](_0x3ed812=>{const _0x44b864=_0x3c2ebd,_0x47d919=_0x3ed812[_0x44b864(0x2a8)]();_0x47d919[_0x44b864(0x2c1)]=_0x3ed812[_0x44b864(0x2c1)],_0x47d919[_0x44b864(0x1eb)]=!!_0x3ed812[_0x44b864(0x1eb)],_0x47d919[_0x44b864(0x1c5)]=_0x3ed812[_0x44b864(0x1c5)],_0x47d919[_0x44b864(0x28f)]+=this[_0x44b864(0x272)],_0x3ed812[_0x44b864(0x281)]&&this[_0x44b864(0x206)][_0x44b864(0x259)](_0x47d919),this[_0x44b864(0x267)][_0x44b864(0x2a7)](_0x47d919);});}[_0x10e274(0x22f)](_0x5e16ef){const _0x3f5e49=_0x10e274,_0x2f7970=this[_0x3f5e49(0x211)][_0x3f5e49(0x29c)][_0x3f5e49(0x2bc)](_0x3f5e49(0x1c2)),_0x11236e=this[_0x3f5e49(0x211)][_0x3f5e49(0x22d)];_0x5e16ef||(_0x5e16ef=_0x10b1ab(_0x11236e,_0x3f5e49(0x235))),_0x2f7970[_0x3f5e49(0x1f6)](_0x5e16ef,{'title':_0x10b1ab(_0x11236e,_0x3f5e49(0x1fb)),'namespace':_0x3f5e49(0x1c9)}),this[_0x3f5e49(0x2bb)]=!0x0,clearTimeout(this[_0x3f5e49(0x21b)]),this[_0x3f5e49(0x2b0)]=[],this[_0x3f5e49(0x211)][_0x3f5e49(0x29c)][_0x3f5e49(0x2bc)](_0x2f0865)[_0x3f5e49(0x212)]();}[_0x10e274(0x1f2)](){const _0x32f773=_0x10e274;this[_0x32f773(0x223)]||(this[_0x32f773(0x223)]=this[_0x32f773(0x211)][_0x32f773(0x29c)][_0x32f773(0x2bc)](_0x3edcf9)[_0x32f773(0x259)](_0x10b1ab(this[_0x32f773(0x211)][_0x32f773(0x22d)],_0x32f773(0x2a1))));}[_0x10e274(0x1e3)](){const _0x53fca4=_0x10e274;this[_0x53fca4(0x223)]&&(this[_0x53fca4(0x211)][_0x53fca4(0x29c)][_0x53fca4(0x2bc)](_0x3edcf9)[_0x53fca4(0x24c)](this[_0x53fca4(0x223)]),this[_0x53fca4(0x223)]=null);}[_0x10e274(0x260)](_0x36658c){const _0x14b934=_0x10e274,_0x433f0e=_0x36658c[_0x14b934(0x2b8)](_0xb49342=>_0xb49342[_0x14b934(0x208)]());return this[_0x14b934(0x202)][_0x14b934(0x257)](_0x433f0e);}[_0x10e274(0x285)](_0x5ca547,_0x1372b6){const _0x187b1f=_0x10e274;return this[_0x187b1f(0x202)][_0x187b1f(0x1ca)](_0x5ca547)[_0x187b1f(0x2b8)]((_0x129359,_0x10a68b)=>{const _0x48e8e5=_0x187b1f,_0x5564e3=_0x48e8e5(0x1ea)==_0x1372b6[_0x10a68b][_0x48e8e5(0x23d)];if(_0x48e8e5(0x274)==_0x129359[_0x48e8e5(0x21d)]){const _0x5da37b=_0x129359[_0x48e8e5(0x28c)][_0x48e8e5(0x2a4)];!this[_0x48e8e5(0x29f)][_0x48e8e5(0x1ef)](_0x5da37b)&&(this[_0x48e8e5(0x29f)][_0x48e8e5(0x241)](_0x48e8e5(0x289),_0x5da37b)[_0x48e8e5(0x27a)]=!0x1);}const _0x32c525=_0x30a2bd[_0x48e8e5(0x251)](_0x129359,this[_0x48e8e5(0x29f)]);return _0x32c525[_0x48e8e5(0x1d2)]=_0x129359[_0x48e8e5(0x1d2)],_0x32c525[_0x48e8e5(0x1eb)]=_0x5564e3,_0x32c525[_0x48e8e5(0x2c1)]=_0x5564e3?null:_0x1372b6[_0x10a68b][_0x48e8e5(0x29a)],_0x32c525[_0x48e8e5(0x281)]=_0x48e8e5(0x21a)===_0x1372b6[_0x10a68b][_0x48e8e5(0x23d)],_0x32c525[_0x48e8e5(0x1c5)]=_0x1372b6[_0x10a68b][_0x48e8e5(0x1c5)],_0x32c525;});}[_0x10e274(0x1f8)](){const _0x1385fc=_0x10e274;this[_0x1385fc(0x2ae)]=!0x0,this[_0x1385fc(0x1c1)]()?this[_0x1385fc(0x226)]():this[_0x1385fc(0x2ae)]=!0x1;}[_0x10e274(0x1c1)](){const _0x14ff8a=_0x10e274,_0xff1d3a=this[_0x14ff8a(0x211)][_0x14ff8a(0x29c)][_0x14ff8a(0x2bc)](_0x2a0cfe)[_0x14ff8a(0x26c)][_0x14ff8a(0x2bc)](this[_0x14ff8a(0x269)]);return!this[_0x14ff8a(0x211)][_0x14ff8a(0x293)]&&!!_0xff1d3a&&_0xff1d3a[_0x14ff8a(0x28d)]>0x1&&this[_0x14ff8a(0x2ae)];}[_0x10e274(0x218)](){const _0x30c857=_0x10e274;return this[_0x30c857(0x2b0)][_0x30c857(0x28d)]>0x0||this[_0x30c857(0x1c1)]();}}class V extends Error{}function W(_0x11e93c,_0x5b6131){const _0x591c56=_0x10e274;for(const _0x5902e8 of _0x11e93c)_0x5902e8[_0x591c56(0x28f)]=_0x5b6131++;}class F{[_0x10e274(0x21e)];[_0x10e274(0x2bf)];constructor(_0x10b6bd){const _0x273de1=_0x10e274;this[_0x273de1(0x21e)]=_0x10b6bd,this[_0x273de1(0x2bf)]=new WeakMap();}[_0x10e274(0x2bd)](_0x2c60b2){const _0x315a02=_0x10e274;let _0x504497=_0x2c60b2[_0x315a02(0x28d)];for(;_0x504497--;){const _0x284815=_0x2c60b2[_0x504497];if(!this[_0x315a02(0x21e)][_0x315a02(0x1f0)](_0x284815)){if(!this[_0x315a02(0x2bf)][_0x315a02(0x1f0)](_0x284815)){const _0x144b11=_0x52d808()[_0x315a02(0x26a)](0x1,0x12);this[_0x315a02(0x2bf)][_0x315a02(0x227)](_0x284815,_0x144b11);}return this[_0x315a02(0x2bf)][_0x315a02(0x2bc)](_0x284815);}}}[_0x10e274(0x295)](_0x2b7631,_0x1441d3){const _0x25d05b=_0x10e274;if(!_0x1441d3)return;let _0x57ac75=_0x2b7631[_0x25d05b(0x28d)];for(;_0x57ac75--;){const _0x3e9985=_0x2b7631[_0x57ac75];this[_0x25d05b(0x21e)][_0x25d05b(0x1f0)](_0x3e9985)||this[_0x25d05b(0x2bf)][_0x25d05b(0x227)](_0x3e9985,_0x1441d3);}}}
|
|
23
|
+
const _0x40afe7=_0x20c1;(function(_0x49e685,_0x3bd002){const _0x5b0d00=_0x20c1,_0x3ae9c2=_0x49e685();while(!![]){try{const _0x24d4a6=parseInt(_0x5b0d00(0x128))/0x1*(-parseInt(_0x5b0d00(0x15b))/0x2)+-parseInt(_0x5b0d00(0x16e))/0x3*(-parseInt(_0x5b0d00(0x140))/0x4)+parseInt(_0x5b0d00(0x15e))/0x5*(-parseInt(_0x5b0d00(0x151))/0x6)+-parseInt(_0x5b0d00(0x1f0))/0x7*(-parseInt(_0x5b0d00(0x146))/0x8)+parseInt(_0x5b0d00(0x1c8))/0x9*(-parseInt(_0x5b0d00(0x1c9))/0xa)+parseInt(_0x5b0d00(0xfc))/0xb+parseInt(_0x5b0d00(0x1da))/0xc;if(_0x24d4a6===_0x3bd002)break;else _0x3ae9c2['push'](_0x3ae9c2['shift']());}catch(_0x291015){_0x3ae9c2['push'](_0x3ae9c2['shift']());}}}(_0x4a30,0xf109a));function _0x4a30(){const _0x15ea31=['insert','_currentBufferDelay','includes','createUserMarkerOperations','disconnected','lastSyncVersion','selection','loadRoot','connect','editing','_compressor','currentDocumentSession','fire','metadata','push','_loadRoot','remove','realtimecollaborationclient-handleserverresponse','finally','newRange','get','ready','high','_isAttached','_sendBufferedOperationsDelayed','addRootAttribute','apply','has','cloudServices.bundleVersion','serverHistory','toJSON','applyOperation','document:write','CollaborativeEditingService','_setUpDataInit','PENDING_ACTION_SENDING_DATA','_shouldSendUpdate','_clearPendingAction','disconnect','getMany','_saveOperationInBuffer','length','multi-root-editor-root-attributes-no-root','getDocumentDetails','Permissions','mySessionId','realtimecollaborationclient-init-document-already-initialized','reconnection:\x20flushed\x20session','_handleInitialConnectionData','setPermissions','_sendBufferedOperationsDelayId','baseVersion','keys','_operationToId','isEnabled','realtimecollaborationclient-init-non-existent-root','realtimecollaborationclient-init-connection-failed','isReadOnly','reconnect','collaboration','createRoot','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-error','end','set','_offset','view','99027wKsmTS','30VpvNJM','config','_sendBufferedOperations','_isEditingAllowed','document','_connectService','_operationIdentifier','_disconnectionOperations','cloudDocumentVersion','roots','collaboration.channelId','lastOperationId','root','_baseBufferDelay','forEach','editor','sendOperations','25176948KwVeuJ','wasUndone','code','directChange','_isInit','_getOperationsFromInitData','offset','startsWith','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.','error','pluginName','requires','_handleSendingSelectionMarkers','cloud-services-internal-error:\x20Not\x20connected.','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','size','add','showWarning','_isDisconnection','_isConnected','_handleReconnectionError','_addKnownRoot','21qNdHOP','isPremiumPlugin','string','_handleReceivedOperations','bind','removeFromReconnectionStack','path','position','$root','CommentsOnly','fromJSON','_waitUntilSynced','getUser','_pendingAction','enableReadOnlyMode','connection','_hasSynchronizationProblem','unregister','lastDocumentSession','stop','15354207GrQQce','createPositionFromPath','lastOperationAcceptedAt','register','_bufferRootLoad','from','suppressErrorInCollaboration','change:hasDomSelection','targetPosition','type','_shouldSendSelectionUpdate','permissions','differ','_decompressOperations','change:_isPendingUpdate','getOperationAuthor','parse','isDocumentOperation','filter','connected','sessionCreatedAt','_document','createPositionAt','_authorId','isUndoneOperation','addRoot','getConnectedSessions','message','collaboration-missing-channelid','destroy','realtimecollaborationclient-init-service-internal-error','move','plugins','slice','__className','real-time-collaboration','listenTo','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','setIdForTheLastOperation','wereChangesApplied','affectsData','then','reset','_handleServerResponse','137476gTmkyP','_isLoaded','rtc-destroyed','_compressOperations','clone','_crash','catch','userId','sessionAdd:','_bufferedOperations','_getAffectedRoot','channelSessions','Synchronization\x20issue','stopListening','disableReadOnlyMode','rtc-offline','_refreshUserSelectionMarkers','_isPendingUpdate','operationsReceived','decompress','realtimecollaborationclient-init-session-connection-error','_channelId','RealTimeCollaborationClient','compress','12afDwSc','_setPendingAction','locale','addToReconnectionStack','cs:removeUser','_lastSyncedOperationId','370072AbAkmb','realtimecollaborationclient','realtimecollaborationclient-init-service-incorrect-server-operation','round','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','409','attributes','off','_initThrowingOnDataSet','_handleReconnectionResponse','_knownOperations','6NlcqtK','map','isOfficialPlugin','change:_isEditingAllowed','getRoot','404','_initSessionsHandling','_knownRootNames','version','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','22hypVTf','_ignoredOperations','batch','8466530JsOysS','createRange','_hasSelectionChanged','entries','_updateServerHistory','history','init','_lastServerVersion','model','InsertOperation','Notification','_applyOperationsSet','addUser','rootName','realtimecollaborationclient-sendbufferedoperations','_service','593148keUYJo','_handleExternalOperations','getIdOfTheLastOperation','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.','addOperation','start','affectedSelectable','enqueueChange','change:range','return','state','sessionId','rootsAttributes','_fetchMissingUsers','initData','marker','_disconnectService','markers','_connectAfterSessionHasBeenFlushed','createdAt','data','define','getOperations'];_0x4a30=function(){return _0x15ea31;};return _0x4a30();}function _0x20c1(_0x2267ec,_0x3113ab){const _0x4a3054=_0x4a30();return _0x20c1=function(_0x20c1f6,_0x135f86){_0x20c1f6=_0x20c1f6-0xf2;let _0x3e496e=_0x4a3054[_0x20c1f6];return _0x3e496e;},_0x20c1(_0x2267ec,_0x3113ab);}import{Plugin as _0xda1eea,PendingActions as _0x38c82b}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f0bc6,version as _0x1ef2e6,uid as _0x178034}from'ckeditor5/src/utils.js';import{Notification as _0x2a2da8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x666f29,NoOperation as _0x51eba9,InsertOperation as _0x359b84,MarkerOperation as _0x5a6c80,RootAttributeOperation as _0x4d4db6,OperationFactory as _0x154bf0,History as _0x218c3b}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x5f90a4}from'./websocketgateway.js';import{Sessions as _0x838d6b}from'./sessions.js';import{UserMarkers as _0x365f9e}from'./usermarkers.js';import{getTranslation as _0x319fc4}from'../common-translations.js';import{Compressor as _0x2b67ac}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xed9faa}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x12e0d9,CollaborativeEditingService as _0x2a95f8}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;export class RealTimeCollaborationClient extends _0xda1eea{static [_0x40afe7(0x1a6)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x2a95f8)());[_0x40afe7(0x1c6)];[_0x40afe7(0x179)];[_0x40afe7(0x1a2)];[_0x40afe7(0x13d)];[_0x40afe7(0x16d)];[_0x40afe7(0x111)];[_0x40afe7(0x18f)];[_0x40afe7(0x131)];[_0x40afe7(0x150)];[_0x40afe7(0x158)];[_0x40afe7(0xf5)];[_0x40afe7(0x160)];[_0x40afe7(0x1b7)];[_0x40afe7(0x1d6)];[_0x40afe7(0x186)];[_0x40afe7(0x145)];[_0x40afe7(0x1d0)];[_0x40afe7(0x1cf)];static get[_0x40afe7(0x1e5)](){return[_0x5f90a4,_0x838d6b,_0x365f9e,_0x38c82b,_0xed9faa,_0x2a2da8];}static get[_0x40afe7(0x1e4)](){const _0x3d4648=_0x40afe7;return _0x3d4648(0x13e);}static get[_0x40afe7(0x153)](){return!0x0;}static get[_0x40afe7(0x1f1)](){return!0x0;}get[_0x40afe7(0x1d1)](){const _0x555b64=_0x40afe7;return this[_0x555b64(0x165)]+this[_0x555b64(0x1c6)];}get[_0x40afe7(0x165)](){const _0x47dcc7=_0x40afe7;return this[_0x47dcc7(0x1a2)][_0x47dcc7(0x159)]-this[_0x47dcc7(0x1c6)];}get[_0x40afe7(0x18a)](){const _0x47878d=_0x40afe7,_0x75a03b=this[_0x47878d(0x1a2)][_0x47878d(0x184)]();for(let _0x2c015b=_0x75a03b[_0x47878d(0x1ae)]-0x1;_0x2c015b>=0x0;_0x2c015b--){const _0x1e2711=_0x75a03b[_0x2c015b];if(!this[_0x47878d(0x1d0)][_0x47878d(0x1a0)](_0x1e2711))return _0x1e2711[_0x47878d(0x1b8)]+0x1-this[_0x47878d(0x1c6)];}return 0x0;}constructor(_0x3d5468){const _0x151fc1=_0x40afe7;if(super(_0x3d5468),this[_0x151fc1(0x1c6)]=0x0,this[_0x151fc1(0x179)]=null,this[_0x151fc1(0x1a2)]=new _0x218c3b(),this[_0x151fc1(0x1d8)][_0x151fc1(0x1ca)][_0x151fc1(0x183)](_0x151fc1(0x1c0),{}),this[_0x151fc1(0x13d)]=this[_0x151fc1(0x1d8)][_0x151fc1(0x1ca)][_0x151fc1(0x199)](_0x151fc1(0x1d3)),!this[_0x151fc1(0x13d)])throw new _0x1f0bc6(_0x151fc1(0x118),this);const _0x5e976e=_0x3d5468[_0x151fc1(0x1ca)][_0x151fc1(0x199)](_0x151fc1(0x1a1))||_0x1ef2e6;this[_0x151fc1(0x16d)]=new RealTimeCollaborationClient[(_0x151fc1(0x1a6))](_0x5e976e,this[_0x151fc1(0x13d)]),this[_0x151fc1(0x111)]=this[_0x151fc1(0x1d8)][_0x151fc1(0x166)][_0x151fc1(0x1cd)],this[_0x151fc1(0x18f)]=new _0x2b67ac(),this[_0x151fc1(0x131)]=[],this[_0x151fc1(0x150)]=new WeakSet(),this[_0x151fc1(0x158)]=new Set(),this[_0x151fc1(0x1c5)](_0x151fc1(0x139),!0x1),this[_0x151fc1(0x1c5)](_0x151fc1(0xf8),!0x1),this[_0x151fc1(0xf5)]=null,this[_0x151fc1(0x160)]=!0x1,this[_0x151fc1(0x1b7)]=null,this[_0x151fc1(0x1d6)]=0x12c,this[_0x151fc1(0x186)]=this[_0x151fc1(0x1d6)],this[_0x151fc1(0x145)]=null,this[_0x151fc1(0x1d0)]=new WeakSet(),this[_0x151fc1(0x1cf)]=new F(this[_0x151fc1(0x1d0)]);}[_0x40afe7(0x164)](){const _0x39ffb1=_0x40afe7,_0x52f683=this[_0x39ffb1(0x1d8)],_0x34b899=_0x52f683[_0x39ffb1(0x11c)][_0x39ffb1(0x199)](_0xed9faa),_0x34dfb4=_0x52f683[_0x39ffb1(0x11c)][_0x39ffb1(0x199)](_0x5f90a4);this[_0x39ffb1(0x120)](_0x34b899,_0x39ffb1(0x10b),(_0x4a994c,_0x59635c)=>{const _0x3fc11e=_0x39ffb1,_0x31fd4d=_0x59635c[0x0];_0x31fd4d[_0x3fc11e(0x113)]&&(_0x4a994c[_0x3fc11e(0x177)]=_0x34b899[_0x3fc11e(0xf4)](_0x31fd4d[_0x3fc11e(0x113)]),_0x4a994c[_0x3fc11e(0xfb)]()),null===_0x31fd4d[_0x3fc11e(0x113)]&&(_0x4a994c[_0x3fc11e(0x177)]=null,_0x4a994c[_0x3fc11e(0xfb)]());},{'priority':_0x39ffb1(0x19b)}),this[_0x39ffb1(0x120)](_0x52f683[_0x39ffb1(0x166)][_0x39ffb1(0x1cd)][_0x39ffb1(0x18b)],_0x39ffb1(0x176),(_0x4e14b8,_0x47fb37)=>{const _0x614903=_0x39ffb1;_0x47fb37[_0x614903(0x1dd)]&&this[_0x614903(0x138)]();}),this[_0x39ffb1(0x120)](_0x52f683[_0x39ffb1(0x18e)][_0x39ffb1(0x1c7)],_0x39ffb1(0x103),()=>{const _0x487392=_0x39ffb1;this[_0x487392(0x138)]();}),this[_0x39ffb1(0x14e)](),_0x52f683[_0x39ffb1(0x166)]['on'](_0x39ffb1(0x1a4),(_0x4cfe40,_0x30c033)=>{const _0x204edc=_0x39ffb1,_0x3e420c=_0x30c033[0x0];_0x3e420c[_0x204edc(0x10d)]&&(this[_0x204edc(0x1ad)](_0x3e420c),this[_0x204edc(0x1a9)]()&&this[_0x204edc(0x19d)]());}),this[_0x39ffb1(0x1a7)](),this[_0x39ffb1(0x1f4)](_0x39ffb1(0x1cc))['to'](_0x34dfb4,_0x39ffb1(0x178),this,_0x39ffb1(0xf8),(_0x1ae30c,_0x39b910)=>_0x39ffb1(0x10f)===_0x1ae30c&&!_0x39b910),this['on'](_0x39ffb1(0x154),()=>{const _0x4f26b2=_0x39ffb1;this[_0x4f26b2(0x1cc)]?_0x52f683[_0x4f26b2(0x136)](_0x4f26b2(0x137)):_0x52f683[_0x4f26b2(0xf6)](_0x4f26b2(0x137));}),this[_0x39ffb1(0x1cc)]?_0x52f683[_0x39ffb1(0x136)](_0x39ffb1(0x137)):_0x52f683[_0x39ffb1(0xf6)](_0x39ffb1(0x137)),this[_0x39ffb1(0x1c5)](_0x39ffb1(0x1ed),!0x1);}async[_0x40afe7(0x1bf)](){const _0x45a500=_0x40afe7,_0x8660bb=this[_0x45a500(0x1d8)][_0x45a500(0x11c)][_0x45a500(0x199)](_0x838d6b),_0x31d39b=this[_0x45a500(0x1d8)][_0x45a500(0x11c)][_0x45a500(0x199)](_0x5f90a4);try{this[_0x45a500(0x139)]=!0x0,_0x8660bb[_0x45a500(0xf9)](this[_0x45a500(0x13d)]);const _0xbb109f=await this[_0x45a500(0x16d)][_0x45a500(0x1bf)](_0x31d39b[_0x45a500(0xf7)],this[_0x45a500(0x18a)]);await this[_0x45a500(0x14f)](_0xbb109f)&&(this[_0x45a500(0x139)]=!0x1,this[_0x45a500(0x1aa)]());const _0x20c78b=await this[_0x45a500(0x16d)][_0x45a500(0x116)]();_0x8660bb[_0x45a500(0xff)](this[_0x45a500(0x13d)],_0x20c78b),this[_0x45a500(0x1e6)](),this[_0x45a500(0x1ed)]=!0x0;}catch(_0x256c29){if(function(_0xfdbd67){const _0x1bae2f=_0x45a500;return _0x1bae2f(0x156)===_0xfdbd67[_0x1bae2f(0x1dc)];}(_0x256c29)&&this[_0x45a500(0x179)])await this[_0x45a500(0x180)]();else{if(function(_0x11b04f){const _0x8683f1=_0x45a500;return _0x8683f1(0x14b)===_0x11b04f[_0x8683f1(0x1dc)];}(_0x256c29)){const _0x30c037=_0x319fc4(this[_0x45a500(0x1d8)][_0x45a500(0x142)],_0x45a500(0x1e8));this[_0x45a500(0x1ee)](_0x30c037);}else{if(!(_0x256c29 instanceof V))throw _0x256c29;this[_0x45a500(0x1ee)]();}}}}[_0x40afe7(0x119)](){const _0x3ca7eb=_0x40afe7,_0x382e80=this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0x11c)][_0x3ca7eb(0x199)](_0x5f90a4),_0xfcabad=this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0x11c)][_0x3ca7eb(0x199)](_0x838d6b);this[_0x3ca7eb(0x1d8)][_0x3ca7eb(0xf6)](_0x3ca7eb(0x12a)),_0xfcabad[_0x3ca7eb(0x133)][_0x3ca7eb(0x1a0)](this[_0x3ca7eb(0x13d)])&&_0xfcabad[_0x3ca7eb(0xf9)](this[_0x3ca7eb(0x13d)]),_0x382e80[_0x3ca7eb(0x1f5)](this),this[_0x3ca7eb(0x17e)](),super[_0x3ca7eb(0x119)]();}async[_0x40afe7(0x14f)](_0x5e5ff2){const _0x1c8f6e=_0x40afe7;if(this[_0x1c8f6e(0x179)]!==_0x5e5ff2[_0x1c8f6e(0x179)]&&this[_0x1c8f6e(0x145)]!==_0x5e5ff2[_0x1c8f6e(0x1d4)])throw new V();return this[_0x1c8f6e(0x179)]=_0x5e5ff2[_0x1c8f6e(0x179)],this[_0x1c8f6e(0x127)]([],{..._0x5e5ff2,'wereChangesApplied':!0x1,'data':_0x5e5ff2[_0x1c8f6e(0x182)]},_0x1c8f6e(0x1bf));}async[_0x40afe7(0x1ce)](_0x39a1b4,_0x1f7aa3=!0x1){const _0x31fcef=_0x40afe7,{connection:_0x5d3423}=this[_0x31fcef(0x1d8)][_0x31fcef(0x11c)][_0x31fcef(0x199)](_0x5f90a4);RealTimeCollaborationClient[_0x31fcef(0x1a6)][_0x31fcef(0x116)](_0x5d3423,this[_0x31fcef(0x13d)])[_0x31fcef(0x125)](_0x1cbc6f=>this[_0x31fcef(0x157)](_0x1cbc6f))[_0x31fcef(0x12e)](_0x1f929f=>{const _0x2dafc4=_0x31fcef;this[_0x2dafc4(0x12d)](_0x2dafc4(0x13c),_0x1f929f);}),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x13a),this[_0x31fcef(0x1f3)][_0x31fcef(0x1f4)](this)),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x1e3),(_0x2ca13a,_0xc611ed)=>{const _0x19b0a9=_0x31fcef;this[_0x19b0a9(0x12d)](_0x19b0a9(0x11a),_0xc611ed);}),this[_0x31fcef(0x120)](this[_0x31fcef(0x16d)],_0x31fcef(0x189),()=>{const _0xc3f093=_0x31fcef;this[_0xc3f093(0x1ed)]=!0x1;});const _0x3eb28e=this[_0x31fcef(0x1cf)][_0x31fcef(0x170)](_0x39a1b4);this[_0x31fcef(0x139)]=!0x0;const _0x4058fa=await this[_0x31fcef(0x16d)][_0x31fcef(0x18d)](_0x5d3423,this[_0x31fcef(0x12b)](_0x39a1b4),_0x3eb28e);if(this[_0x31fcef(0x179)]=_0x4058fa[_0x31fcef(0x179)],_0x1f7aa3){if(!_0x4058fa[_0x31fcef(0x123)])return void this[_0x31fcef(0x1ee)]();this[_0x31fcef(0x139)]=!0x1,this[_0x31fcef(0x1aa)](),this[_0x31fcef(0x1a2)][_0x31fcef(0x126)](),this[_0x31fcef(0x1c6)]=_0x4058fa[_0x31fcef(0x1e0)],this[_0x31fcef(0x1a2)][_0x31fcef(0x159)]=this[_0x31fcef(0x1c6)],await this[_0x31fcef(0x127)](_0x39a1b4,_0x4058fa,_0x31fcef(0x1b4));}else await this[_0x31fcef(0x1b5)](_0x4058fa,_0x39a1b4);this[_0x31fcef(0x1e6)](),this[_0x31fcef(0x1ed)]=!0x0;}[_0x40afe7(0x1e6)](){const _0x2ad28e=_0x40afe7,_0x4d8d8b=this[_0x2ad28e(0x1d8)][_0x2ad28e(0x11c)][_0x2ad28e(0x199)](_0x838d6b),_0x20924b=this[_0x2ad28e(0x1d8)][_0x2ad28e(0x11c)][_0x2ad28e(0x199)](_0x365f9e),_0x579db9=_0x4d8d8b[_0x2ad28e(0x133)][_0x2ad28e(0x199)](this[_0x2ad28e(0x13d)]);_0x579db9&&_0x579db9[_0x2ad28e(0x1ae)]>0x1?_0x20924b[_0x2ad28e(0x188)]():this[_0x2ad28e(0x120)](_0x4d8d8b,_0x2ad28e(0x130)+this[_0x2ad28e(0x13d)],()=>{const _0x3c96df=_0x2ad28e;0x2===_0x4d8d8b[_0x3c96df(0x133)][_0x3c96df(0x199)](this[_0x3c96df(0x13d)])[_0x3c96df(0x1ae)]&&_0x20924b[_0x3c96df(0x188)]();});}async[_0x40afe7(0x1f3)](_0x102ab3,_0x5666fc,_0x552b70,_0xc0282c){const _0x2bcbc7=_0x40afe7;if(!this[_0x2bcbc7(0x139)]&&this[_0x2bcbc7(0x111)][_0x2bcbc7(0x159)]==_0x5666fc){const _0x2fdbb4=this[_0x2bcbc7(0x109)](_0x552b70,_0xc0282c);await this[_0x2bcbc7(0x17b)](_0x2fdbb4),this[_0x2bcbc7(0x16f)](_0x2fdbb4,_0x5666fc,_0x552b70[_0x2bcbc7(0x1d4)])||this[_0x2bcbc7(0x12d)](_0x2bcbc7(0x148));}}async[_0x40afe7(0x180)](){const _0x1dfbec=_0x40afe7;this[_0x1dfbec(0x17e)]();const {locale:_0x58e9b3}=this[_0x1dfbec(0x1d8)];let _0x3c8507;try{_0x3c8507=await this[_0x1dfbec(0x16d)][_0x1dfbec(0x1b0)]();}catch{const _0x399552=_0x319fc4(_0x58e9b3,_0x1dfbec(0x15a));return void this[_0x1dfbec(0x1ee)](_0x399552);}const _0x47027b=_0x3c8507[_0x1dfbec(0x190)]||_0x3c8507[_0x1dfbec(0xfa)];if(this[_0x1dfbec(0x145)]!==_0x47027b[_0x1dfbec(0x1d4)]){const _0x8933c5=_0x319fc4(_0x58e9b3,_0x1dfbec(0x171));return void this[_0x1dfbec(0x1ee)](_0x8933c5);}await this[_0x1dfbec(0x1ce)](this[_0x1dfbec(0x1d8)][_0x1dfbec(0x166)][_0x1dfbec(0x1cd)][_0x1dfbec(0x163)][_0x1dfbec(0x184)](),!0x0);}[_0x40afe7(0x17e)](){const _0x10fb69=_0x40afe7;this[_0x10fb69(0x16d)][_0x10fb69(0x1ab)](),this[_0x10fb69(0x131)]=[],clearTimeout(this[_0x10fb69(0x1b7)]),this[_0x10fb69(0x135)](this[_0x10fb69(0x16d)]);}[_0x40afe7(0x157)](_0x48e028){const _0x5391c8=_0x40afe7,_0x56e53f=this[_0x5391c8(0x1d8)][_0x5391c8(0x11c)][_0x5391c8(0x199)](_0x838d6b);this[_0x5391c8(0x120)](_0x56e53f,_0x5391c8(0x130)+this[_0x5391c8(0x13d)],(_0x1ffc9c,{session:_0x35785c})=>{const _0x24d250=_0x5391c8;if(_0x35785c['id']===_0x56e53f[_0x24d250(0x1b2)]){_0x1ffc9c[_0x24d250(0x14d)]();const _0x570699=this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x1a0)](_0x24d250(0x1f9))&&this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x199)](_0x24d250(0x1f9));let _0x2442d0=_0x35785c[_0x24d250(0x107)];_0x570699&&_0x570699[_0x24d250(0x1bb)]&&(_0x2442d0=_0x2442d0[_0x24d250(0x10e)](_0x52bf3c=>_0x24d250(0x1a5)!==_0x52bf3c)),this[_0x24d250(0x1d8)][_0x24d250(0x11c)][_0x24d250(0x199)](_0x24d250(0x1b1))[_0x24d250(0x1b6)](_0x2442d0,this[_0x24d250(0x13d)]);}}),_0x56e53f[_0x5391c8(0xff)](this[_0x5391c8(0x13d)],_0x48e028);}[_0x40afe7(0x14e)](){const _0x2904f0=_0x40afe7,_0x23a92b=this[_0x2904f0(0x1d8)][_0x2904f0(0x182)][_0x2904f0(0x1c5)];this[_0x2904f0(0x1d8)][_0x2904f0(0x182)][_0x2904f0(0x1c5)]=(..._0x1467b9)=>{const _0x5ccbf2=_0x2904f0;if(!_0x1467b9[_0x1467b9[_0x5ccbf2(0x1ae)]-0x1][_0x5ccbf2(0x102)])throw new _0x1f0bc6(_0x5ccbf2(0x121),this);_0x23a92b[_0x5ccbf2(0x19f)](this[_0x5ccbf2(0x1d8)][_0x5ccbf2(0x182)],_0x1467b9);};}[_0x40afe7(0x1a7)](){const _0x5a6637=_0x40afe7;this[_0x5a6637(0x1d8)][_0x5a6637(0x182)]['on'](_0x5a6637(0x164),(_0x1b827b,[_0x2936a7])=>{const _0x58082f=_0x5a6637;if(this[_0x58082f(0x111)][_0x58082f(0x159)])throw new _0x1f0bc6(_0x58082f(0x1b3),this);_0x1b827b[_0x58082f(0xfb)](),this[_0x58082f(0x141)]();const _0x397759=this[_0x58082f(0x1d8)][_0x58082f(0x1ca)][_0x58082f(0x199)](_0x58082f(0x17a)),_0x3b0bf3=this[_0x58082f(0x1df)](_0x2936a7,_0x397759);0x0==_0x3b0bf3[_0x58082f(0x1ae)]&&_0x3b0bf3[_0x58082f(0x193)](new _0x51eba9(0x0)),_0x1b827b[_0x58082f(0x177)]=this[_0x58082f(0x1ce)](_0x3b0bf3)[_0x58082f(0x125)](()=>{const _0x30d483=_0x58082f;this[_0x30d483(0x1d8)][_0x30d483(0x11c)][_0x30d483(0x199)](_0x5f90a4)[_0x30d483(0x143)](this),this[_0x30d483(0x1d8)][_0x30d483(0x182)][_0x30d483(0x191)](_0x30d483(0x19a));})[_0x58082f(0x12e)](_0x1e5115=>this[_0x58082f(0x12d)](_0x58082f(0x1bd),_0x1e5115))[_0x58082f(0x197)](()=>this[_0x58082f(0x1aa)]());},{'priority':_0x5a6637(0x19b)}),this[_0x5a6637(0x1d8)]['on'](_0x5a6637(0x18c),async(_0xac0fc3,[_0x2f470e,_0x458db5])=>{const _0xbf8c99=_0x5a6637;_0xac0fc3[_0xbf8c99(0xfb)]();const _0x145437=this[_0xbf8c99(0x1d8)][_0xbf8c99(0x166)][_0xbf8c99(0x1cd)][_0xbf8c99(0x155)](_0x2f470e);if(!this[_0xbf8c99(0x158)][_0xbf8c99(0x1a0)](_0x2f470e)){const _0x2774ee=_0x458db5&&_0x458db5[_0xbf8c99(0x182)]?_0x458db5[_0xbf8c99(0x182)]:'',_0xf7c90d=_0x458db5&&_0x458db5[_0xbf8c99(0x14c)]?_0x458db5[_0xbf8c99(0x14c)]:{};await this[_0xbf8c99(0x194)](_0x2f470e,_0x2774ee,_0xf7c90d);}this[_0xbf8c99(0x1d8)][_0xbf8c99(0x166)][_0xbf8c99(0x175)]({'isUndoable':!0x1},()=>{const _0x4c43db=_0xbf8c99;_0x145437[_0x4c43db(0x129)]=!0x0,this[_0x4c43db(0x1d8)][_0x4c43db(0x166)][_0x4c43db(0x1cd)][_0x4c43db(0x108)][_0x4c43db(0x100)](_0x145437);});},{'priority':_0x5a6637(0x19b)});}async[_0x40afe7(0x17b)](_0x122f7b){const _0xcf49bf=_0x40afe7,_0x1c91f1=this[_0xcf49bf(0x1d8)][_0xcf49bf(0x11c)][_0xcf49bf(0x199)](_0xed9faa),{connection:_0x21edf0}=this[_0xcf49bf(0x1d8)][_0xcf49bf(0x11c)][_0xcf49bf(0x199)](_0x5f90a4),_0x12c8dc=new Set();for(const _0x3c55db of _0x122f7b){const _0x42aa5f=_0x3c55db[_0xcf49bf(0x113)];_0x42aa5f&&!_0x1c91f1[_0xcf49bf(0xf4)](_0x42aa5f)&&_0x12c8dc[_0xcf49bf(0x1ea)](_0x42aa5f);}if(0x0===_0x12c8dc[_0xcf49bf(0x1e9)])return;const _0x3fea17=await _0x12e0d9[_0xcf49bf(0x1ac)](_0x21edf0,Array[_0xcf49bf(0x101)](_0x12c8dc));for(const _0x1f5508 of _0x3fea17)_0x1c91f1[_0xcf49bf(0xf4)](_0x1f5508['id'])||_0x1c91f1[_0xcf49bf(0x16a)](_0x1f5508);}[_0x40afe7(0x1df)](_0x4b7718,_0x237df4={}){const _0x53cc66=_0x40afe7,_0x49df44=this[_0x53cc66(0x1d8)][_0x53cc66(0x166)],_0x19341d=[];let _0x4dd7eb=0x0;const _0x2cc626=_0x53cc66(0x1f2)==typeof _0x4b7718?{'main':_0x4b7718}:_0x4b7718;for(const _0x1ee3b5 of Object[_0x53cc66(0x1b9)](_0x2cc626)){if(!this[_0x53cc66(0x111)][_0x53cc66(0x1d2)][_0x53cc66(0x1a0)](_0x1ee3b5))throw new _0x1f0bc6(_0x53cc66(0x1bc),this);const _0x10b946=this[_0x53cc66(0x1d8)][_0x53cc66(0x182)][_0x53cc66(0x10c)](_0x2cc626[_0x1ee3b5]),_0x336219=this[_0x53cc66(0x111)][_0x53cc66(0x155)](_0x1ee3b5),_0x1c73a6=new _0x359b84(_0x49df44[_0x53cc66(0x112)](_0x336219,0x0),_0x10b946,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x1c73a6);for(const [_0x6f4352,_0x5903cc]of _0x10b946[_0x53cc66(0x17f)]){const _0x3202a9=_0x49df44[_0x53cc66(0x15f)](_0x49df44[_0x53cc66(0xfd)](_0x336219,_0x5903cc[_0x53cc66(0x173)][_0x53cc66(0x1f6)][_0x53cc66(0x11d)]()),_0x49df44[_0x53cc66(0xfd)](_0x336219,_0x5903cc[_0x53cc66(0x1c4)][_0x53cc66(0x1f6)][_0x53cc66(0x11d)]())),_0x826255=new _0x5a6c80(_0x6f4352,null,_0x3202a9,_0x49df44[_0x53cc66(0x17f)],!0x0,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x826255);}}if(_0x237df4)for(const [_0x4f986e,_0x12f427]of Object[_0x53cc66(0x161)](_0x237df4)){const _0x224fc6=_0x49df44[_0x53cc66(0x1cd)][_0x53cc66(0x155)](_0x4f986e);if(!_0x224fc6)throw new _0x1f0bc6(_0x53cc66(0x1af),null);for(const [_0x3a5105,_0x9d91e1]of Object[_0x53cc66(0x161)](_0x12f427))if(null!==_0x9d91e1){const _0x48995d=new _0x4d4db6(_0x224fc6,_0x3a5105,null,_0x9d91e1,_0x4dd7eb++);_0x19341d[_0x53cc66(0x193)](_0x48995d);}}return _0x19341d;}async[_0x40afe7(0x194)](_0x1192cb,_0x3a59dd,_0x3028f9){const _0x1a2ed0=_0x40afe7;this[_0x1a2ed0(0x1df)]({[_0x1192cb]:_0x3a59dd},{[_0x1192cb]:_0x3028f9})[_0x1a2ed0(0x1d7)]((_0x44c08e,_0x2db395)=>{const _0x5e5dd9=_0x1a2ed0;_0x44c08e[_0x5e5dd9(0x1b8)]=this[_0x5e5dd9(0x111)][_0x5e5dd9(0x159)]+_0x2db395,_0x44c08e[_0x5e5dd9(0x1de)]=!0x0,this[_0x5e5dd9(0x1ad)](_0x44c08e);}),this[_0x1a2ed0(0x19d)](),await this[_0x1a2ed0(0xf3)]();}async[_0x40afe7(0x1b5)](_0x39e4d7,_0x35df2c){const _0x32162b=_0x40afe7;let _0x5c8614;this[_0x32162b(0x1c6)]=_0x39e4d7[_0x32162b(0x1e0)];const _0x15300b=_0x39e4d7[_0x32162b(0x123)]&&!_0x39e4d7[_0x32162b(0x17c)],_0x4379ee=_0x15300b?0x0:_0x39e4d7[_0x32162b(0x182)][_0x32162b(0x1b8)];if(_0x35df2c[_0x32162b(0x1d7)](_0x258454=>{const _0x53d959=_0x32162b;_0x258454[_0x53d959(0x1de)]=!0x0,_0x258454[_0x53d959(0x181)]=_0x39e4d7[_0x53d959(0x110)],_0x258454[_0x53d959(0x113)]=null;}),_0x15300b)_0x5c8614=_0x35df2c,this[_0x32162b(0x169)](_0x5c8614,_0x15300b);else{if(_0x39e4d7[_0x32162b(0x17c)]){const _0x1ba605=this[_0x32162b(0x1df)](_0x39e4d7[_0x32162b(0x17c)]);this[_0x32162b(0x111)][_0x32162b(0x163)][_0x32162b(0x159)]=-_0x1ba605[_0x32162b(0x1ae)],_0x1ba605[_0x32162b(0x1d7)](_0x28596b=>{const _0x35a630=_0x32162b;_0x28596b[_0x35a630(0x1b8)]-=_0x1ba605[_0x35a630(0x1ae)],_0x28596b[_0x35a630(0x181)]=_0x39e4d7[_0x35a630(0x110)],_0x28596b[_0x35a630(0x1de)]=!0x0,_0x28596b[_0x35a630(0x113)]=null;}),this[_0x32162b(0x169)](_0x1ba605,!0x0),this[_0x32162b(0x1a2)][_0x32162b(0x159)]=-_0x1ba605[_0x32162b(0x1ae)]+this[_0x32162b(0x1c6)],this[_0x32162b(0x162)](_0x1ba605);}this[_0x32162b(0x111)][_0x32162b(0x163)][_0x32162b(0x159)]=_0x4379ee,_0x5c8614=this[_0x32162b(0x109)](_0x39e4d7[_0x32162b(0x182)],_0x39e4d7[_0x32162b(0x192)]),await this[_0x32162b(0x17b)](_0x5c8614),this[_0x32162b(0x169)](_0x5c8614,_0x15300b);}_0x39e4d7[_0x32162b(0x1d4)]&&(this[_0x32162b(0x1cf)][_0x32162b(0x122)](_0x5c8614,_0x39e4d7[_0x32162b(0x1d4)]),this[_0x32162b(0x145)]=_0x39e4d7[_0x32162b(0x1d4)]),this[_0x32162b(0x1a2)][_0x32162b(0x159)]=_0x4379ee+this[_0x32162b(0x1c6)],this[_0x32162b(0x162)](_0x5c8614),_0x35df2c[_0x32162b(0x10e)](_0x44ec75=>{const _0x570275=_0x32162b,_0x548e93=this[_0x570275(0x132)](_0x44ec75);return _0x548e93&&!this[_0x570275(0x158)][_0x570275(0x1a0)](_0x548e93);})[_0x32162b(0x1d7)]((_0x3c48ff,_0x58f021)=>{const _0x96a6bf=_0x32162b;_0x3c48ff[_0x96a6bf(0x1b8)]=this[_0x96a6bf(0x111)][_0x96a6bf(0x159)]+_0x58f021,this[_0x96a6bf(0x1ad)](_0x3c48ff);}),this[_0x32162b(0x1a9)]()?(this[_0x32162b(0x186)]=0x0,this[_0x32162b(0x19d)](!0x0),await this[_0x32162b(0xf3)]()):(this[_0x32162b(0x139)]=!0x1,this[_0x32162b(0x1aa)]());}[_0x40afe7(0x12d)](_0x5c23d5,_0x320552){const _0x355210=_0x40afe7,_0x1d883d=_0x320552&&_0x320552[_0x355210(0x117)];if(_0x1d883d&&_0x1d883d[_0x355210(0x1e1)](_0x355210(0x147)))throw _0x320552;const _0x2d59aa=this[_0x355210(0x1d8)][_0x355210(0x11c)][_0x355210(0x199)](_0x5f90a4);throw this[_0x355210(0x139)]=!0x0,_0x2d59aa[_0x355210(0x1ab)](),this[_0x355210(0x1d8)][_0x355210(0xf6)](_0x355210(0x1c3)),new _0x1f0bc6(_0x5c23d5,this[_0x355210(0x1d8)],_0x1d883d?{'originalError':_0x1d883d}:void 0x0);}[_0x40afe7(0x1ad)](_0x2af447){const _0x475e6f=_0x40afe7;this[_0x475e6f(0x150)][_0x475e6f(0x1a0)](_0x2af447)||(this[_0x475e6f(0x150)][_0x475e6f(0x1ea)](_0x2af447),this[_0x475e6f(0x131)][_0x475e6f(0x193)](_0x2af447),this[_0x475e6f(0xf5)]||_0x475e6f(0x17d)==_0x2af447[_0x475e6f(0x105)]&&!_0x2af447[_0x475e6f(0x124)]||this[_0x475e6f(0x141)]());}[_0x40afe7(0x19d)](_0x238808=!0x1){const _0x50a3a4=_0x40afe7;!_0x238808&&this[_0x50a3a4(0x139)]||(this[_0x50a3a4(0x139)]=!0x0,clearTimeout(this[_0x50a3a4(0x1b7)]),this[_0x50a3a4(0x1b7)]=setTimeout(()=>{const _0x1d5986=_0x50a3a4;this[_0x1d5986(0x1cb)]()[_0x1d5986(0x125)](_0xa0f160=>{const _0x42242c=_0x1d5986;_0xa0f160&&(this[_0x42242c(0x1aa)](),this[_0x42242c(0x139)]=!0x1);})[_0x1d5986(0x12e)](_0x140a42=>{const _0xe337cd=_0x1d5986;this[_0xe337cd(0x1aa)](),this[_0xe337cd(0x139)]=!0x1,function(_0x53d4d2){const _0x28d888=_0xe337cd;return _0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x1e7))||_0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x14a))||_0x53d4d2[_0x28d888(0x117)][_0x28d888(0x1e1)](_0x28d888(0x1c2));}(_0x140a42)||this[_0xe337cd(0x12d)](_0x140a42[_0xe337cd(0x117)],_0x140a42);});},this[_0x50a3a4(0x186)]));}[_0x40afe7(0xf3)](){return new Promise(_0x24b78e=>{const _0x560a06=_0x20c1;this['on'](_0x560a06(0x10a),()=>{_0x24b78e();});});}async[_0x40afe7(0x1cb)](){const _0x3938b6=_0x40afe7,_0x34094d=this[_0x3938b6(0x1d8)][_0x3938b6(0x11c)][_0x3938b6(0x199)](_0x365f9e);if(this[_0x3938b6(0x106)]()&&(_0x34094d[_0x3938b6(0x188)](),this[_0x3938b6(0x160)]=!0x1),!this[_0x3938b6(0x1a9)]())return!0x0;const _0x438c3f=[...this[_0x3938b6(0x131)]];for(const _0x1350fd of _0x438c3f)_0x1350fd[_0x3938b6(0x1db)]=this[_0x3938b6(0x111)][_0x3938b6(0x163)][_0x3938b6(0x114)](_0x1350fd);const _0x45b79c=this[_0x3938b6(0x1cf)][_0x3938b6(0x170)](_0x438c3f),_0x485ad0=H++,_0x45944e=this[_0x3938b6(0x12b)](_0x438c3f),_0x329013=await this[_0x3938b6(0x16d)][_0x3938b6(0x1d9)](_0x45944e,_0x45944e[_0x3938b6(0x1b8)],_0x45b79c);try{return await this[_0x3938b6(0x127)](_0x438c3f,_0x329013,_0x485ad0);}catch(_0x120fe8){return this[_0x3938b6(0x12d)](_0x3938b6(0x16c),_0x120fe8);}}async[_0x40afe7(0x127)](_0x76efac,_0x1c905e,_0x1d6e22){const _0x1c547a=_0x40afe7;if(_0x1c547a(0x1e3)in _0x1c905e)throw _0x1c905e[_0x1c547a(0x1e3)];let _0x36f87a=!0x1;if(_0x1c905e[_0x1c547a(0x123)]){_0x1c905e[_0x1c547a(0x1d4)]&&(this[_0x1c547a(0x145)]=_0x1c905e[_0x1c547a(0x1d4)]),this[_0x1c547a(0x131)]=this[_0x1c547a(0x131)][_0x1c547a(0x10e)](_0x1921e4=>!_0x76efac[_0x1c547a(0x187)](_0x1921e4));for(const _0x4d0bf0 of _0x76efac)_0x4d0bf0[_0x1c547a(0x181)]=_0x1c547a(0xfe)in _0x1c905e&&_0x1c905e[_0x1c547a(0xfe)]||void 0x0;W(_0x76efac,_0x1c905e[_0x1c547a(0x159)]-_0x76efac[_0x1c547a(0x1ae)]),this[_0x1c547a(0x162)](_0x76efac);const _0x1c47a5=_0x76efac[_0x1c547a(0x10e)](_0x4852b3=>{const _0x54d7c4=_0x1c547a;if(!_0x4852b3[_0x54d7c4(0x1de)])return!0x1;const _0x3a92ee=this[_0x54d7c4(0x132)](_0x4852b3);return _0x3a92ee&&!this[_0x54d7c4(0x158)][_0x54d7c4(0x1a0)](_0x3a92ee);});W(_0x1c47a5,this[_0x1c547a(0x111)][_0x1c547a(0x159)]),this[_0x1c547a(0x169)](_0x1c47a5),_0x36f87a=!0x0,this[_0x1c547a(0x186)]=this[_0x1c547a(0x1d6)];}else{const _0x4d0b99=this[_0x1c547a(0x109)](_0x1c905e[_0x1c547a(0x182)],_0x1c905e[_0x1c547a(0x192)])[_0x1c547a(0x10e)](_0x3cc581=>_0x3cc581[_0x1c547a(0x1b8)]>=this[_0x1c547a(0x165)]);_0x4d0b99[_0x1c547a(0x1d7)](_0x471059=>this[_0x1c547a(0x1ef)](_0x471059)),this[_0x1c547a(0x131)]=this[_0x1c547a(0x131)][_0x1c547a(0x10e)](_0x3f6bd9=>!_0x3f6bd9[_0x1c547a(0x1de)]||!this[_0x1c547a(0x158)][_0x1c547a(0x1a0)](this[_0x1c547a(0x132)](_0x3f6bd9))),this[_0x1c547a(0x131)][_0x1c547a(0x1ae)]&&W(this[_0x1c547a(0x131)],this[_0x1c547a(0x131)][0x0][_0x1c547a(0x1b8)]),await this[_0x1c547a(0x17b)](_0x4d0b99),_0x36f87a=this[_0x1c547a(0x16f)](_0x4d0b99,_0x1c905e[_0x1c547a(0x159)],_0x1c905e[_0x1c547a(0x1d4)]),this[_0x1c547a(0x186)]=Math[_0x1c547a(0x149)](this[_0x1c547a(0x186)]/0x2);}return _0x36f87a?!this[_0x1c547a(0x1a9)]()||(this[_0x1c547a(0x19d)](!0x0),!0x1):this[_0x1c547a(0x12d)](_0x1c547a(0x196));}[_0x40afe7(0x16f)](_0x1355ab,_0x13c94a,_0x257b5c){const _0x537850=_0x40afe7;try{const _0x50d0b1={'document':this[_0x537850(0x111)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xd79199,operationsB:_0x26ff37,originalOperations:_0x4b3a29}=_0x666f29(_0x1355ab,this[_0x537850(0x131)],_0x50d0b1);W(_0xd79199,this[_0x537850(0x111)][_0x537850(0x159)]),W(_0x26ff37,_0x13c94a);for(const _0x32dcf3 of _0xd79199){const _0x3959cc=_0x4b3a29[_0x537850(0x199)](_0x32dcf3);_0x32dcf3[_0x537850(0x113)]=_0x3959cc?_0x3959cc[_0x537850(0x113)]:null;}_0x257b5c&&(this[_0x537850(0x1cf)][_0x537850(0x122)](_0x1355ab,_0x257b5c),this[_0x537850(0x145)]=_0x257b5c),this[_0x537850(0x131)]=[..._0x26ff37],this[_0x537850(0x169)](_0xd79199),this[_0x537850(0x162)](_0x1355ab);}catch(_0x5117ef){return console[_0x537850(0x1e3)](_0x5117ef),!0x1;}return!0x0;}[_0x40afe7(0x169)](_0x2cfda7,_0xf10a2d=!0x1){const _0x52571a=_0x40afe7;this[_0x52571a(0x1d8)][_0x52571a(0x166)][_0x52571a(0x175)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2eff45=>{const _0x94224b=_0x52571a;for(const _0x18e43d of _0x2cfda7)this[_0x94224b(0x150)][_0x94224b(0x1ea)](_0x18e43d),this[_0x94224b(0x1ef)](_0x18e43d),_0x2eff45[_0x94224b(0x15d)][_0x94224b(0x172)](_0x18e43d),this[_0x94224b(0x1d8)][_0x94224b(0x166)][_0x94224b(0x1a4)](_0x18e43d);});}[_0x40afe7(0x1ef)](_0x45e3ac){const _0x1cfa1f=_0x40afe7,_0x4b76a1=this[_0x1cfa1f(0x132)](_0x45e3ac);_0x4b76a1&&this[_0x1cfa1f(0x158)][_0x1cfa1f(0x1ea)](_0x4b76a1);}[_0x40afe7(0x132)](_0x450c8c){const _0x104a6e=_0x40afe7;let _0x3fe3f7,_0x87761d;switch(_0x450c8c[_0x104a6e(0x105)]){case _0x104a6e(0x185):_0x3fe3f7=_0x450c8c[_0x104a6e(0x1f7)][_0x104a6e(0x1d5)];break;case _0x104a6e(0x17d):if(_0x87761d=_0x450c8c[_0x104a6e(0x198)],!_0x87761d)return null;_0x3fe3f7=_0x87761d[_0x104a6e(0x1d5)];break;case _0x104a6e(0x19e):_0x3fe3f7=_0x450c8c[_0x104a6e(0x1d5)];break;case _0x104a6e(0x115):_0x3fe3f7=_0x450c8c[_0x104a6e(0x174)];break;case _0x104a6e(0x11b):_0x3fe3f7=_0x450c8c[_0x104a6e(0x104)][_0x104a6e(0x1d5)];break;default:return null;}return _0x3fe3f7[_0x104a6e(0x16b)];}[_0x40afe7(0x162)](_0x5dc4b1){const _0x428c18=_0x40afe7;_0x5dc4b1[_0x428c18(0x1d7)](_0x4466a4=>{const _0x2a5bbf=_0x428c18,_0x516752=_0x4466a4[_0x2a5bbf(0x12c)]();_0x516752[_0x2a5bbf(0x113)]=_0x4466a4[_0x2a5bbf(0x113)],_0x516752[_0x2a5bbf(0x1de)]=!!_0x4466a4[_0x2a5bbf(0x1de)],_0x516752[_0x2a5bbf(0x181)]=_0x4466a4[_0x2a5bbf(0x181)],_0x516752[_0x2a5bbf(0x1b8)]+=this[_0x2a5bbf(0x1c6)],_0x4466a4[_0x2a5bbf(0x1ec)]&&this[_0x2a5bbf(0x1d0)][_0x2a5bbf(0x1ea)](_0x516752),this[_0x2a5bbf(0x1a2)][_0x2a5bbf(0x172)](_0x516752);});}[_0x40afe7(0x1ee)](_0x22b1e4){const _0x318059=_0x40afe7,_0x2a4f28=this[_0x318059(0x1d8)][_0x318059(0x11c)][_0x318059(0x199)](_0x318059(0x168)),_0x17b054=this[_0x318059(0x1d8)][_0x318059(0x142)];_0x22b1e4||(_0x22b1e4=_0x319fc4(_0x17b054,_0x318059(0x1e2))),_0x2a4f28[_0x318059(0x1eb)](_0x22b1e4,{'title':_0x319fc4(_0x17b054,_0x318059(0x134)),'namespace':_0x318059(0x11f)}),this[_0x318059(0xf8)]=!0x0,clearTimeout(this[_0x318059(0x1b7)]),this[_0x318059(0x131)]=[],this[_0x318059(0x1d8)][_0x318059(0x11c)][_0x318059(0x199)](_0x5f90a4)[_0x318059(0x1ab)]();}[_0x40afe7(0x141)](){const _0x287b25=_0x40afe7;this[_0x287b25(0xf5)]||(this[_0x287b25(0xf5)]=this[_0x287b25(0x1d8)][_0x287b25(0x11c)][_0x287b25(0x199)](_0x38c82b)[_0x287b25(0x1ea)](_0x319fc4(this[_0x287b25(0x1d8)][_0x287b25(0x142)],_0x287b25(0x1a8))));}[_0x40afe7(0x1aa)](){const _0x4430f7=_0x40afe7;this[_0x4430f7(0xf5)]&&(this[_0x4430f7(0x1d8)][_0x4430f7(0x11c)][_0x4430f7(0x199)](_0x38c82b)[_0x4430f7(0x195)](this[_0x4430f7(0xf5)]),this[_0x4430f7(0xf5)]=null);}[_0x40afe7(0x12b)](_0x1791d0){const _0x5e769e=_0x40afe7,_0x18f9a2=_0x1791d0[_0x5e769e(0x152)](_0x271d8e=>_0x271d8e[_0x5e769e(0x1a3)]());return this[_0x5e769e(0x18f)][_0x5e769e(0x13f)](_0x18f9a2);}[_0x40afe7(0x109)](_0x3e6519,_0x47cf47){const _0x525157=_0x40afe7;return this[_0x525157(0x18f)][_0x525157(0x13b)](_0x3e6519)[_0x525157(0x152)]((_0x5b84bd,_0x1d7272)=>{const _0xe195d0=_0x525157,_0x1f8510=_0xe195d0(0x164)==_0x47cf47[_0x1d7272][_0xe195d0(0x105)];if(_0xe195d0(0x167)==_0x5b84bd[_0xe195d0(0x11e)]){const _0x36d2de=_0x5b84bd[_0xe195d0(0x1f7)][_0xe195d0(0x1d5)];!this[_0xe195d0(0x111)][_0xe195d0(0x155)](_0x36d2de)&&(this[_0xe195d0(0x111)][_0xe195d0(0x1c1)](_0xe195d0(0x1f8),_0x36d2de)[_0xe195d0(0x19c)]=!0x1);}const _0x7889bc=_0x154bf0[_0xe195d0(0xf2)](_0x5b84bd,this[_0xe195d0(0x111)]);return _0x7889bc[_0xe195d0(0x1db)]=_0x5b84bd[_0xe195d0(0x1db)],_0x7889bc[_0xe195d0(0x1de)]=_0x1f8510,_0x7889bc[_0xe195d0(0x113)]=_0x1f8510?null:_0x47cf47[_0x1d7272][_0xe195d0(0x12f)],_0x7889bc[_0xe195d0(0x1ec)]=_0xe195d0(0x144)===_0x47cf47[_0x1d7272][_0xe195d0(0x105)],_0x7889bc[_0xe195d0(0x181)]=_0x47cf47[_0x1d7272][_0xe195d0(0x181)],_0x7889bc;});}[_0x40afe7(0x138)](){const _0x3ca1e5=_0x40afe7;this[_0x3ca1e5(0x160)]=!0x0,this[_0x3ca1e5(0x106)]()?this[_0x3ca1e5(0x19d)]():this[_0x3ca1e5(0x160)]=!0x1;}[_0x40afe7(0x106)](){const _0x4d357c=_0x40afe7,_0x4dde4c=this[_0x4d357c(0x1d8)][_0x4d357c(0x11c)][_0x4d357c(0x199)](_0x838d6b)[_0x4d357c(0x133)][_0x4d357c(0x199)](this[_0x4d357c(0x13d)]);return!this[_0x4d357c(0x1d8)][_0x4d357c(0x1be)]&&!!_0x4dde4c&&_0x4dde4c[_0x4d357c(0x1ae)]>0x1&&this[_0x4d357c(0x160)];}[_0x40afe7(0x1a9)](){const _0x53c1a0=_0x40afe7;return this[_0x53c1a0(0x131)][_0x53c1a0(0x1ae)]>0x0||this[_0x53c1a0(0x106)]();}}class V extends Error{}function W(_0x73d027,_0x554e20){const _0x411d55=_0x40afe7;for(const _0x21da6f of _0x73d027)_0x21da6f[_0x411d55(0x1b8)]=_0x554e20++;}class F{[_0x40afe7(0x15c)];[_0x40afe7(0x1ba)];constructor(_0x62b4cd){const _0x462326=_0x40afe7;this[_0x462326(0x15c)]=_0x62b4cd,this[_0x462326(0x1ba)]=new WeakMap();}[_0x40afe7(0x170)](_0x4ff081){const _0x1d4c28=_0x40afe7;let _0x22bbec=_0x4ff081[_0x1d4c28(0x1ae)];for(;_0x22bbec--;){const _0x20d307=_0x4ff081[_0x22bbec];if(!this[_0x1d4c28(0x15c)][_0x1d4c28(0x1a0)](_0x20d307)){if(!this[_0x1d4c28(0x1ba)][_0x1d4c28(0x1a0)](_0x20d307)){const _0x7c2a1a=_0x178034()[_0x1d4c28(0x11d)](0x1,0x12);this[_0x1d4c28(0x1ba)][_0x1d4c28(0x1c5)](_0x20d307,_0x7c2a1a);}return this[_0x1d4c28(0x1ba)][_0x1d4c28(0x199)](_0x20d307);}}}[_0x40afe7(0x122)](_0x3d3589,_0x120385){const _0x4f58c2=_0x40afe7;if(!_0x120385)return;let _0xd2845b=_0x3d3589[_0x4f58c2(0x1ae)];for(;_0xd2845b--;){const _0x370be9=_0x3d3589[_0xd2845b];this[_0x4f58c2(0x15c)][_0x4f58c2(0x1a0)](_0x370be9)||this[_0x4f58c2(0x1ba)][_0x4f58c2(0x1c5)](_0x370be9,_0x120385);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x916d50=_0x140f;(function(_0xcbd0b8,_0x1b7c99){const _0x4c90e7=_0x140f,_0x387eb2=_0xcbd0b8();while(!![]){try{const _0x3da7e6=-parseInt(_0x4c90e7(0x123))/0x1+-parseInt(_0x4c90e7(0x121))/0x2*(-parseInt(_0x4c90e7(0x132))/0x3)+-parseInt(_0x4c90e7(0x114))/0x4+parseInt(_0x4c90e7(0x12d))/0x5*(parseInt(_0x4c90e7(0x111))/0x6)+-parseInt(_0x4c90e7(0x115))/0x7+parseInt(_0x4c90e7(0x12c))/0x8*(parseInt(_0x4c90e7(0x124))/0x9)+-parseInt(_0x4c90e7(0x141))/0xa*(-parseInt(_0x4c90e7(0x127))/0xb);if(_0x3da7e6===_0x1b7c99)break;else _0x387eb2['push'](_0x387eb2['shift']());}catch(_0x21e8ea){_0x387eb2['push'](_0x387eb2['shift']());}}}(_0x400b,0x4cc82));import{ContextPlugin as _0x28b190}from'ckeditor5/src/core.js';function _0x140f(_0x46059a,_0x13f730){const _0x400b94=_0x400b();return _0x140f=function(_0x140f40,_0x21c8b8){_0x140f40=_0x140f40-0x10a;let _0x26765b=_0x400b94[_0x140f40];return _0x26765b;},_0x140f(_0x46059a,_0x13f730);}import{Collection as _0x4ecdca,CKEditorError as _0x3e4c1e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x7e4d4}from'./websocketgateway.js';import{Users as _0x32b11c}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x28b190{[_0x916d50(0x131)];[_0x916d50(0x139)];[_0x916d50(0x137)];[_0x916d50(0x110)];[_0x916d50(0x134)];[_0x916d50(0x112)];static get[_0x916d50(0x148)](){const _0x5465aa=_0x916d50;return _0x5465aa(0x12f);}static get[_0x916d50(0x136)](){return!0x0;}static get[_0x916d50(0x10f)](){return!0x0;}static get[_0x916d50(0x12a)](){return[_0x7e4d4,_0x32b11c];}constructor(_0x372c8e){const _0x4dc6bb=_0x916d50;super(_0x372c8e),this[_0x4dc6bb(0x131)]=new Map(),this[_0x4dc6bb(0x139)]=new Map(),this[_0x4dc6bb(0x137)]=new _0x4ecdca(),this[_0x4dc6bb(0x110)]=new Map(),this[_0x4dc6bb(0x134)]=0x0,this[_0x4dc6bb(0x112)]=this[_0x4dc6bb(0x129)][_0x4dc6bb(0x135)][_0x4dc6bb(0x122)](_0x32b11c);}[_0x916d50(0x13f)](){const _0x3287ce=_0x916d50,_0x434019=this[_0x3287ce(0x129)][_0x3287ce(0x135)][_0x3287ce(0x122)](_0x7e4d4);this[_0x3287ce(0x11a)](_0x434019,_0x3287ce(0x116),(_0x1b4771,_0x5453a8,_0x4b42dc)=>{const _0x3b7815=_0x3287ce;if(_0x3b7815(0x11b)!==_0x4b42dc)this[_0x3b7815(0x131)][_0x3b7815(0x11e)](_0x36c2b4=>_0x36c2b4[_0x3b7815(0x10c)]()),this[_0x3b7815(0x139)][_0x3b7815(0x11e)](_0x1a593d=>_0x1a593d[_0x3b7815(0x10c)]()),this[_0x3b7815(0x137)][_0x3b7815(0x10c)]();else{for(const [_0x260f00,_0x2d86c1]of this[_0x3b7815(0x110)])for(const _0x183940 of _0x2d86c1)this[_0x3b7815(0x118)](_0x260f00,_0x183940);}}),this[_0x3287ce(0x117)](_0x434019[_0x3287ce(0x130)]['me'],!0x0);}[_0x916d50(0x149)](_0x125d11,_0xe79667){const _0x466815=_0x916d50;if(this[_0x466815(0x110)][_0x466815(0x125)](_0x125d11))throw new _0x3e4c1e(_0x466815(0x13c),null,{'channelId':_0x125d11});this[_0x466815(0x110)][_0x466815(0x10e)](_0x125d11,_0xe79667),this[_0x466815(0x131)][_0x466815(0x10e)](_0x125d11,new _0x4ecdca()),this[_0x466815(0x139)][_0x466815(0x10e)](_0x125d11,new _0x4ecdca()),this[_0x466815(0x11a)](_0xe79667,_0x466815(0x126),(_0x4258a9,_0x10bf1f)=>this[_0x466815(0x118)](_0x125d11,_0x10bf1f)),this[_0x466815(0x11a)](_0xe79667,_0x466815(0x145),(_0x5d3ad3,_0x4700ef)=>this[_0x466815(0x10b)](_0x125d11,_0x4700ef));for(const _0x519992 of _0xe79667)this[_0x466815(0x118)](_0x125d11,_0x519992);}[_0x916d50(0x147)](_0xe5a33f){const _0x492b0e=_0x916d50;if(!this[_0x492b0e(0x110)][_0x492b0e(0x125)](_0xe5a33f))throw new _0x3e4c1e(_0x492b0e(0x144),null,{'channelId':_0xe5a33f});const _0x14b624=this[_0x492b0e(0x110)][_0x492b0e(0x122)](_0xe5a33f);this[_0x492b0e(0x120)](_0x14b624);for(const _0x183c35 of _0x14b624)_0x492b0e(0x11b)===this[_0x492b0e(0x129)][_0x492b0e(0x135)][_0x492b0e(0x122)](_0x7e4d4)[_0x492b0e(0x12b)]&&this[_0x492b0e(0x10b)](_0xe5a33f,_0x183c35);this[_0x492b0e(0x110)][_0x492b0e(0x142)](_0xe5a33f),this[_0x492b0e(0x131)][_0x492b0e(0x142)](_0xe5a33f),this[_0x492b0e(0x139)][_0x492b0e(0x142)](_0xe5a33f);}get[_0x916d50(0x11f)](){const _0x35c281=_0x916d50;return this[_0x35c281(0x129)][_0x35c281(0x135)][_0x35c281(0x122)](_0x7e4d4)[_0x35c281(0x130)][_0x35c281(0x13b)];}[_0x916d50(0x12e)](_0x49f3f8){const _0x88d24=_0x916d50;for(const _0x4a0709 of this[_0x88d24(0x131)][_0x88d24(0x10a)]())for(const _0x46e7a7 of _0x4a0709)if(_0x46e7a7['id']===_0x49f3f8)return _0x46e7a7[_0x88d24(0x11c)];}[_0x916d50(0x138)](_0x43072d,_0x2e3c5e){const _0x10185e=_0x916d50,_0x32d94d=_0x2e3c5e?[this[_0x10185e(0x131)][_0x10185e(0x122)](_0x2e3c5e)]:this[_0x10185e(0x131)][_0x10185e(0x10a)](),_0x12c00b=new Set();for(const _0x4e9548 of _0x32d94d)for(const _0x541562 of _0x4e9548)_0x541562[_0x10185e(0x11c)]['id']===_0x43072d['id']&&_0x12c00b[_0x10185e(0x126)](_0x541562['id']);return _0x12c00b;}[_0x916d50(0x146)](_0x1fa037){const _0x45df4d=_0x916d50;for(const _0x581f24 of this[_0x45df4d(0x131)][_0x45df4d(0x10a)]())for(const _0x332aae of _0x581f24)if(_0x332aae[_0x45df4d(0x11c)]===_0x1fa037)return _0x332aae[_0x45df4d(0x143)];}[_0x916d50(0x118)](_0x269641,_0x2d7311){const _0x14e666=_0x916d50;if(_0x14e666(0x11b)!==this[_0x14e666(0x129)][_0x14e666(0x135)][_0x14e666(0x122)](_0x7e4d4)[_0x14e666(0x12b)])return;const _0x13872c=_0x2d7311[_0x14e666(0x11c)],_0xf6fd1b=this[_0x14e666(0x112)][_0x14e666(0x119)](_0x13872c['id'])||this[_0x14e666(0x117)](_0x13872c),_0x5ed01d=Object[_0x14e666(0x10d)]({},_0x2d7311,{'user':_0xf6fd1b});if(this[_0x14e666(0x131)][_0x14e666(0x122)](_0x269641)[_0x14e666(0x126)](_0x5ed01d),!_0x13872c[_0x14e666(0x13d)]){const _0x515942=this[_0x14e666(0x139)][_0x14e666(0x122)](_0x269641);_0x515942[_0x14e666(0x125)](_0xf6fd1b['id'])||_0x515942[_0x14e666(0x126)](_0xf6fd1b),this[_0x14e666(0x137)][_0x14e666(0x125)](_0xf6fd1b['id'])||_0x13872c[_0x14e666(0x13d)]||this[_0x14e666(0x137)][_0x14e666(0x126)](_0xf6fd1b,_0xf6fd1b[_0x14e666(0x13a)]?0x0:void 0x0);}this[_0x14e666(0x113)](_0x14e666(0x140)+_0x269641,{'channelId':_0x269641,'session':_0x5ed01d});}[_0x916d50(0x10b)](_0x12af4d,_0x3f6f76){const _0x1a4259=_0x916d50;if(_0x1a4259(0x11b)!==this[_0x1a4259(0x129)][_0x1a4259(0x135)][_0x1a4259(0x122)](_0x7e4d4)[_0x1a4259(0x12b)])return;const _0x2f9345=this[_0x1a4259(0x139)][_0x1a4259(0x122)](_0x12af4d),_0x413f0e=_0x3f6f76[_0x1a4259(0x11c)];_0x413f0e['id']&&(this[_0x1a4259(0x131)][_0x1a4259(0x122)](_0x12af4d)[_0x1a4259(0x145)](_0x3f6f76['id']),_0x2f9345[_0x1a4259(0x125)](_0x413f0e['id'])&&!this[_0x1a4259(0x138)](_0x413f0e,_0x12af4d)[_0x1a4259(0x128)]&&_0x2f9345[_0x1a4259(0x145)](_0x413f0e['id']),this[_0x1a4259(0x137)][_0x1a4259(0x122)](_0x413f0e['id'])&&!this[_0x1a4259(0x138)](_0x413f0e)[_0x1a4259(0x128)]&&this[_0x1a4259(0x137)][_0x1a4259(0x145)](_0x413f0e['id']));}[_0x916d50(0x117)](_0x1e752a,_0x76dd0d){const _0x1f16a6=_0x916d50,_0x591cc3=this[_0x1f16a6(0x112)][_0x1f16a6(0x133)](_0x1e752a);return _0x76dd0d&&this[_0x1f16a6(0x112)][_0x1f16a6(0x13e)](_0x1e752a['id']),_0x591cc3[_0x1f16a6(0x11d)]=this[_0x1f16a6(0x134)]++,_0x591cc3;}}function _0x400b(){const _0x411d73=['isMe','sessionId','sessions-register-already-registered','hiddenInPresenceList','defineMe','init','sessionAdd:','3290920MbgkYj','delete','role','sessions-unregister-not-exist','remove','getUserRole','unregister','pluginName','register','values','_handleSessionRemove','clear','assign','set','isPremiumPlugin','_registeredSessions','582KchUvI','_users','fire','1259632aMTQGQ','1857065XBjwzK','change:state','_createUser','_handleSessionAdd','getUser','listenTo','connected','user','orderNumber','forEach','mySessionId','stopListening','159472PlcXZe','get','556341GQjjwF','1350OafVYt','has','add','11DYAXfq','size','context','requires','state','17912hDxWXZ','15860JDttEd','getUserBySessionId','Sessions','connection','channelSessions','18WKZIrp','addUser','_uniqueUsersCount','plugins','isOfficialPlugin','allConnectedUsers','getUserSessions','channelConnectedUsers'];_0x400b=function(){return _0x411d73;};return _0x400b();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5eec9c=_0x1921;(function(_0x4f0202,_0xd7b1d3){const _0x57a847=_0x1921,_0x1d2556=_0x4f0202();while(!![]){try{const _0x1b3be0=parseInt(_0x57a847(0xcb))/0x1*(parseInt(_0x57a847(0xe2))/0x2)+parseInt(_0x57a847(0x8a))/0x3+-parseInt(_0x57a847(0xe6))/0x4*(-parseInt(_0x57a847(0xdc))/0x5)+parseInt(_0x57a847(0xcd))/0x6*(-parseInt(_0x57a847(0xa5))/0x7)+-parseInt(_0x57a847(0xcc))/0x8+parseInt(_0x57a847(0xb5))/0x9*(parseInt(_0x57a847(0xe5))/0xa)+parseInt(_0x57a847(0x8b))/0xb*(-parseInt(_0x57a847(0xb8))/0xc);if(_0x1b3be0===_0xd7b1d3)break;else _0x1d2556['push'](_0x1d2556['shift']());}catch(_0x194650){_0x1d2556['push'](_0x1d2556['shift']());}}}(_0x3eb3,0x6889e));import{Plugin as _0x4efa59}from'ckeditor5/src/core.js';import{global as _0x2821fa,DomEmitterMixin as _0x4adc99}from'ckeditor5/src/utils.js';function _0x3eb3(){const _0xf1d9f=['size','has','listenTo','hasDomSelection','document','editing','removeClass','getContainedElement','isLimit','837963cXibRr','setCustomProperty','mapper','84wzbTAs','getRange','end','markerToHighlight','enqueueChange','addEventListener','root','addMarker','$text','update:user:range','stopListening','remove','getAttribute','requires','oldRange','orderNumber','updateMarker','getFirstRange','getStart','349519HcxUIM','246896PSpqNl','432GjvYJy','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getMarkerClass','ck-user__marker-tooltip','editingDowncast','user:range','isPremiumPlugin','marker','contenteditable','markerNameToElements','reconvertMarker','getUserBySessionId','$graveyard','userPositionMarker','split','1209145BMbRRm','element','createUserMarkerOperations','createRange','applyOperation','init','2OQUszp','view','user:','30eNuEBq','4zOXkhR','span','render','toDomElement','type','textContent','change','markerName','classList','Escape','add','outerHTML','false','tableCell','name','isDocumentOperation','selection','markerToElement','pluginName','isObject','ck-user__selection','UserMarkers','conversion','set','fromRange','batch','clear','markers','mouseleave','toRange','delete','afterInit','user:position:','getNearestSelectionRange','get','user:position','checkChild','getCustomProperty','user:range:','highest','color','markerRange','change:range','spellcheck','createUIElement','ck-user__marker_hovered','_domEmitter','deletionPosition','undo','130821TCWDJH','255200JlpsRt','_createdBatches','ck-user__marker\x20','detach','destroy','commands','schema','startsWith','mouseenter','isSimilar','setAttribute','getPositions','removeMarker','rootName','mySessionId','keydown','nodeAfter','data-session-id','innerHTML','createElement','start','for','isOfficialPlugin','plugins','hasContent','newRange','28469JxIHtl','isInline','getSelectionClass','editor','parent','isCollapsed','model'];_0x3eb3=function(){return _0xf1d9f;};return _0x3eb3();}import{Sessions as _0x3eadbf}from'./sessions.js';function _0x1921(_0xaf38d8,_0x38e9be){const _0x3eb31d=_0x3eb3();return _0x1921=function(_0x1921c8,_0x19b4d9){_0x1921c8=_0x1921c8-0x87;let _0x226e54=_0x3eb31d[_0x1921c8];return _0x226e54;},_0x1921(_0xaf38d8,_0x38e9be);}import{ModelLiveRange as _0x4c83f1}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4efa59{[_0x5eec9c(0x87)]=new(_0x4adc99())();static get[_0x5eec9c(0xc5)](){return[_0x3eadbf];}static get[_0x5eec9c(0xf8)](){const _0xfbe95f=_0x5eec9c;return _0xfbe95f(0xfb);}static get[_0x5eec9c(0xa1)](){return!0x0;}static get[_0x5eec9c(0xd3)](){return!0x0;}[_0x5eec9c(0xe1)](){const _0x521b44=_0x5eec9c,_0x3c7260=this[_0x521b44(0xa8)],_0x1703d6=_0x3c7260[_0x521b44(0xa2)][_0x521b44(0x108)](_0x3eadbf);_0x3c7260[_0x521b44(0xfc)][_0x521b44(0xa0)](_0x521b44(0xd1))[_0x521b44(0xf7)]({'model':_0x521b44(0x109),'view':(_0x2767ad,{writer:_0x291b63})=>function(_0x4b490d,_0x22d5f1,_0x49581b,_0x74cf94){const _0x2727ac=_0x521b44,_0x26b4df=_0x4b490d[_0x2727ac(0xed)][_0x2727ac(0xdb)](':')[0x2],_0x41d67a=_0x49581b[_0x2727ac(0xd8)](_0x26b4df);if(!_0x41d67a||_0x26b4df===_0x49581b[_0x2727ac(0x99)])return;if(!_0x74cf94[_0x2727ac(0xab)][_0x2727ac(0x91)][_0x2727ac(0x10a)](_0x4b490d[_0x2727ac(0x10f)][_0x2727ac(0x9f)],_0x2727ac(0xc0)))return;const _0x2c2955={'class':_0x2727ac(0x8d)+_0x41d67a[_0x2727ac(0x10e)][_0x2727ac(0xcf)](),'data-name':_0x41d67a[_0x2727ac(0xf4)],'data-session-id':_0x26b4df},_0x317ccf=_0x74cf94[_0x2727ac(0xab)][_0x2727ac(0x101)][_0x2727ac(0x108)](_0x4b490d[_0x2727ac(0xed)]),_0x41b53e=_0x317ccf[_0x2727ac(0xca)](),_0x25834d=_0x41b53e[_0x2727ac(0x9b)],_0x9c6583=_0x74cf94[_0x2727ac(0xab)][_0x2727ac(0x91)];if(_0x25834d&&_0x9c6583[_0x2727ac(0xf9)](_0x25834d)&&_0x9c6583[_0x2727ac(0xa6)](_0x25834d)&&!_0x74cf94[_0x2727ac(0xab)][_0x2727ac(0x101)][_0x2727ac(0x108)](_0x2727ac(0x10c)+_0x26b4df)[_0x2727ac(0xb9)]()[_0x2727ac(0xaa)])return;const _0x545c9b=_0x41b53e[_0x2727ac(0xa9)];return _0x74cf94[_0x2727ac(0xab)][_0x2727ac(0x91)][_0x2727ac(0xb4)](_0x545c9b)&&!_0x74cf94[_0x2727ac(0xab)][_0x2727ac(0xa3)](_0x545c9b)&&(_0x2c2955[_0x2727ac(0xd5)]=!0x1),function(_0x3699c3,_0xf73e6f,_0x5e81a4){const _0x3bf629=_0x2727ac,_0x77fa2=_0x3699c3[_0x3bf629(0x112)](_0x3bf629(0xe7),_0xf73e6f);return _0x3699c3[_0x3bf629(0xb6)](_0x3bf629(0xda),!0x0,_0x77fa2),_0x77fa2[_0x3bf629(0xe8)]=function(_0x49d3ff){const _0x451aa1=_0x3bf629,_0x475069=this[_0x451aa1(0xe9)](_0x49d3ff),_0x91db9e=document[_0x451aa1(0x9e)](_0x451aa1(0xe7));return _0x91db9e[_0x451aa1(0xee)][_0x451aa1(0xf0)](_0x451aa1(0xd0)),_0x91db9e[_0x451aa1(0x95)](_0x451aa1(0xd5),_0x451aa1(0xf2)),_0x91db9e[_0x451aa1(0x95)](_0x451aa1(0x111),_0x451aa1(0xf2)),_0x91db9e[_0x451aa1(0xeb)]=_0x5e81a4[_0x451aa1(0xf4)],_0x475069[_0x451aa1(0x9d)]=_0x451aa1(0xce)+_0x91db9e[_0x451aa1(0xf1)]+'',_0x475069[_0x451aa1(0xbd)](_0x451aa1(0x93),()=>{const _0xfe150f=_0x451aa1;_0x475069[_0xfe150f(0xee)][_0xfe150f(0xf0)](_0xfe150f(0x113));}),_0x475069[_0x451aa1(0xbd)](_0x451aa1(0x102),()=>{const _0x1fabdd=_0x451aa1;_0x475069[_0x1fabdd(0xee)][_0x1fabdd(0xc3)](_0x1fabdd(0x113));}),_0x475069;},_0x77fa2[_0x3bf629(0x94)]=function(_0x4da117){const _0x473b3f=_0x3bf629;return!(!this[_0x473b3f(0x10b)](_0x473b3f(0xda))||!_0x4da117[_0x473b3f(0x10b)](_0x473b3f(0xda))||this[_0x473b3f(0xc4)](_0x473b3f(0x9c))!=_0x4da117[_0x473b3f(0xc4)](_0x473b3f(0x9c)));},_0x77fa2;}(_0x22d5f1,_0x2c2955,_0x41d67a);}(_0x2767ad,_0x291b63,_0x1703d6,_0x3c7260)}),_0x3c7260[_0x521b44(0xfc)][_0x521b44(0xa0)](_0x521b44(0xd1))[_0x521b44(0xbb)]({'model':_0x521b44(0xd2),'view':_0x1adefb=>function(_0x153b5d,_0x1c3967){const _0x2fc0e0=_0x521b44,_0x2c16a9=_0x153b5d[_0x2fc0e0(0xed)][_0x2fc0e0(0xdb)](':')[0x2];if(_0x2c16a9===_0x1c3967[_0x2fc0e0(0x99)])return null;const _0x4bff0e=_0x1c3967[_0x2fc0e0(0xd8)](_0x2c16a9);if(!_0x4bff0e)return{'id':_0x2c16a9,'classes':[]};return{'id':_0x2c16a9,'classes':[_0x2fc0e0(0xfa),_0x4bff0e[_0x2fc0e0(0x10e)][_0x2fc0e0(0xa7)]()],'attributes':{'data-session-id':_0x2c16a9},'priority':0x7d0+_0x4bff0e[_0x2fc0e0(0xc7)]};}(_0x1adefb,_0x1703d6)}),function(_0x1d1f64){const _0x363148=_0x521b44,_0x20c6b1=_0x1d1f64[_0x363148(0xab)],_0x4d07e8=new Map(),_0x30dc8e=_0x1d1f64[_0x363148(0xa2)][_0x363148(0x108)](_0x3eadbf);_0x20c6b1[_0x363148(0x101)]['on'](_0x363148(0xc1),(_0x363d76,_0x3ebb49,_0x4d21c4,_0x16ba0f)=>{const _0x34130e=_0x363148;if(!_0x16ba0f&&_0x4d07e8[_0x34130e(0x108)](_0x3ebb49[_0x34130e(0xf4)]))return _0x4d07e8[_0x34130e(0x108)](_0x3ebb49[_0x34130e(0xf4)])[_0x34130e(0x8e)](),void _0x4d07e8[_0x34130e(0x104)](_0x3ebb49[_0x34130e(0xf4)]);const _0x570115=_0x3ebb49[_0x34130e(0xf4)][_0x34130e(0xdb)](':')[0x2];if(_0x570115===_0x30dc8e[_0x34130e(0x99)])return;const _0x15ddbd=_0x34130e(0x106)+_0x570115;_0x20c6b1[_0x34130e(0x101)][_0x34130e(0xad)](_0x15ddbd)&&_0x1d1f64[_0x34130e(0xb1)][_0x34130e(0xd7)](_0x15ddbd),_0x3ebb49['on'](_0x34130e(0x110),(_0x2fdfe4,_0x5b65c2,_0x3b495c)=>{const _0xa39489=_0x34130e;if(_0xa39489(0xd9)!=_0x5b65c2[_0xa39489(0xbe)][_0xa39489(0x98)]&&_0xa39489(0xd9)==_0x3ebb49[_0xa39489(0xb9)]()[_0xa39489(0xbe)][_0xa39489(0x98)]&&!_0x4d07e8[_0xa39489(0xad)](_0x3ebb49[_0xa39489(0xf4)])){const _0xa51ad7=_0x20c6b1[_0xa39489(0x91)][_0xa39489(0x107)](_0x3b495c[_0xa39489(0x88)]);if(_0xa51ad7){const _0xd3c8ea=_0x4c83f1[_0xa39489(0xfe)](_0xa51ad7);_0x4d07e8[_0xa39489(0xfd)](_0x3ebb49[_0xa39489(0xf4)],_0xd3c8ea),_0xd3c8ea['on'](_0xa39489(0x110),(_0x44952a,_0x680bc,_0xd0f392)=>{const _0x27c950=_0xa39489;if(_0x27c950(0xd9)==_0xd3c8ea[_0x27c950(0xbe)][_0x27c950(0x98)]){const _0x41cc2c=_0x20c6b1[_0x27c950(0x91)][_0x27c950(0x107)](_0xd0f392[_0x27c950(0x88)]);_0x41cc2c?(_0xd3c8ea[_0x27c950(0x9f)]=_0x41cc2c[_0x27c950(0x9f)],_0xd3c8ea[_0x27c950(0xba)]=_0x41cc2c[_0x27c950(0xba)]):(_0x4d07e8[_0x27c950(0x104)](_0x3ebb49[_0x27c950(0xf4)]),_0xd3c8ea[_0x27c950(0x8e)]());}});}}});}),_0x20c6b1[_0x363148(0xb0)]['on'](_0x363148(0xec),()=>{const _0xf71821=_0x363148;_0x4d07e8[_0xf71821(0xac)]>0x0&&_0x20c6b1[_0xf71821(0xbc)]({'isUndoable':!0x1},_0x5639e4=>{const _0x261e8e=_0xf71821;for(const [_0x41bf43,_0xd7b68d]of _0x4d07e8)_0x261e8e(0xd9)==_0x20c6b1[_0x261e8e(0x101)][_0x261e8e(0x108)](_0x41bf43)[_0x261e8e(0xb9)]()[_0x261e8e(0xbe)][_0x261e8e(0x98)]&&(K(_0x41bf43[_0x261e8e(0xdb)](':')[0x2],_0xd7b68d[_0x261e8e(0x103)](),_0x20c6b1,_0x5639e4),_0xd7b68d[_0x261e8e(0x8e)]());_0x4d07e8[_0x261e8e(0x100)]();});});}(_0x3c7260),this[_0x521b44(0x87)][_0x521b44(0xae)](_0x2821fa[_0x521b44(0xb0)],_0x521b44(0x9a),(_0x540658,{key:_0x227bd4})=>{const _0x2aaa16=_0x521b44;_0x2aaa16(0xef)===_0x227bd4&&function(_0x2359a5){const _0x1b1e75=_0x2aaa16;_0x2359a5[_0x1b1e75(0xb1)][_0x1b1e75(0xe3)][_0x1b1e75(0xec)](_0x3502fb=>{const _0x191b35=_0x1b1e75;for(const _0x3342a7 of _0x2359a5[_0x191b35(0xab)][_0x191b35(0x101)]){if(!_0x3342a7[_0x191b35(0xf4)][_0x191b35(0x92)](_0x191b35(0x109)))continue;const _0x21ba79=_0x2359a5[_0x191b35(0xb1)][_0x191b35(0xb7)][_0x191b35(0xd6)](_0x3342a7[_0x191b35(0xf4)]);if(_0x21ba79){for(const _0x173072 of _0x21ba79)_0x3502fb[_0x191b35(0xb2)](_0x191b35(0x113),_0x173072);}}});}(_0x3c7260);},{'useCapture':!0x0});}[_0x5eec9c(0x105)](){const _0x156265=_0x5eec9c,_0x3dfea4=this[_0x156265(0xa8)],_0x31803c=_0x3dfea4[_0x156265(0x90)][_0x156265(0x108)](_0x156265(0x89));_0x31803c&&_0x3dfea4[_0x156265(0xab)]['on'](_0x156265(0xe0),(_0xbf5c62,_0x973eff)=>{const _0x3148bd=_0x156265,_0x48b19a=_0x973eff[0x0];if(!_0x48b19a[_0x3148bd(0xf5)])return;if(_0x3148bd(0xd4)!=_0x48b19a[_0x3148bd(0xea)]||!_0x48b19a[_0x3148bd(0xf4)][_0x3148bd(0x92)](_0x3148bd(0xe4)))return;const _0x46f089=_0x48b19a[_0x3148bd(0xff)];_0x31803c[_0x3148bd(0x8c)][_0x3148bd(0xad)](_0x46f089)&&(_0x48b19a[_0x3148bd(0xa4)]=_0x48b19a[_0x3148bd(0xc6)]?_0x3dfea4[_0x3148bd(0xab)][_0x3148bd(0xdf)](_0x48b19a[_0x3148bd(0xc6)][_0x3148bd(0x9f)],_0x48b19a[_0x3148bd(0xc6)][_0x3148bd(0xba)]):null);},{'priority':_0x156265(0x10d)});}[_0x5eec9c(0x8f)](){const _0x5cc541=_0x5eec9c;return this[_0x5cc541(0x87)][_0x5cc541(0xc2)](),super[_0x5cc541(0x8f)]();}[_0x5eec9c(0xde)](){const _0x153011=_0x5eec9c,_0x2e7ba2=this[_0x153011(0xa8)],_0x564c64=_0x2e7ba2[_0x153011(0xab)][_0x153011(0xb0)],_0x2a620f=_0x2e7ba2[_0x153011(0xa2)][_0x153011(0x108)](_0x3eadbf);_0x2e7ba2[_0x153011(0xab)][_0x153011(0xbc)]({'isUndoable':!0x1},_0x45e282=>{const _0x57750a=_0x153011,_0x91f19b=_0x57750a(0x10c)+_0x2a620f[_0x57750a(0x99)],_0x52531c=_0x57750a(0x106)+_0x2a620f[_0x57750a(0x99)],_0x484fb2=_0x2e7ba2[_0x57750a(0xab)][_0x57750a(0x101)][_0x57750a(0xad)](_0x91f19b);_0x2e7ba2[_0x57750a(0xb1)][_0x57750a(0xe3)][_0x57750a(0xaf)]?K(_0x2a620f[_0x57750a(0x99)],_0x564c64[_0x57750a(0xf6)][_0x57750a(0xc9)](),_0x2e7ba2[_0x57750a(0xab)],_0x45e282):_0x484fb2&&(_0x45e282[_0x57750a(0x97)](_0x91f19b),_0x45e282[_0x57750a(0x97)](_0x52531c));});}}function K(_0x2bf7bc,_0x4e065b,_0xf98d8f,_0x404730){const _0x1aa118=_0x5eec9c,_0x49d1ea=_0x1aa118(0x10c)+_0x2bf7bc,_0x3aa444=_0x1aa118(0x106)+_0x2bf7bc,_0xca197=_0x4e065b[_0x1aa118(0xb3)]();let _0x43df73=_0x4e065b[_0x1aa118(0x9f)];if(_0xca197&&_0xca197['is'](_0x1aa118(0xdd),_0x1aa118(0xf3))){const _0x1f897c=function(_0x668fa7,_0xbfc4eb){const _0x3e7401=_0x1aa118;for(const _0x790792 of _0x668fa7[_0x3e7401(0x96)]())if(_0xbfc4eb[_0x3e7401(0x91)][_0x3e7401(0x10a)](_0x790792,_0x3e7401(0xc0)))return _0x790792;}(_0x4e065b,_0xf98d8f);_0x1f897c&&(_0x43df73=_0x1f897c,_0x4e065b=_0x404730[_0x1aa118(0xdf)](_0x43df73));}const _0x19e1d4=_0x404730[_0x1aa118(0xdf)](_0x43df73);_0xf98d8f[_0x1aa118(0x101)][_0x1aa118(0xad)](_0x49d1ea)?(_0x404730[_0x1aa118(0xc8)](_0x49d1ea,{'range':_0x4e065b}),_0x404730[_0x1aa118(0xc8)](_0x3aa444,{'range':_0x19e1d4})):(_0x404730[_0x1aa118(0xbf)](_0x49d1ea,{'range':_0x4e065b,'usingOperation':!0x0}),_0x404730[_0x1aa118(0xbf)](_0x3aa444,{'range':_0x19e1d4,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x397f(){const _0x569362=['isObject','getContainedElement','requires','user:position','detach','stopListening','Escape','mySessionId','mouseleave','toRange','$text','setCustomProperty','ck-user__selection','getAttribute','change','destroy','name','getNearestSelectionRange','applyOperation','addMarker','962BMAvsV','10RNBRCM','$graveyard','isCollapsed','startsWith','marker','35HyjpIz','conversion','afterInit','createUIElement','remove','mapper','highest','user:','start','markerRange','document','toDomElement','isSimilar','selection','enqueueChange','size','createUserMarkerOperations','false','add','getCustomProperty','root','reconvertMarker','getPositions','8Fcchpn','view','createRange','markers','user:range','deletionPosition','span','getStart','rootName','ck-user__marker_hovered','setAttribute','innerHTML','schema','for','395520ggDige','pluginName','removeClass','newRange','batch','user:range:','clear','data-session-id','mouseenter','isOfficialPlugin','793vAIiWm','orderNumber','isPremiumPlugin','contenteditable','getUserBySessionId','574125QdVLzX','undo','314200yPyeze','spellcheck','userPositionMarker','updateMarker','getMarkerClass','isLimit','model','change:range','oldRange','editingDowncast','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','render','type','_createdBatches','createElement','1026432AyyKoY','markerName','hasContent','keydown','update:user:range','markerNameToElements','split','listenTo','_domEmitter','isDocumentOperation','5637346tPmcDz','has','isInline','markerToElement','fromRange','element','end','getFirstRange','user:position:','removeMarker','color','markerToHighlight','parent','commands','tableCell','get','checkChild','editing','init','hasDomSelection','delete','4857pQvdNM','ck-user__marker-tooltip','editor','plugins','ck-user__marker\x20','getRange','outerHTML','textContent','nodeAfter','addEventListener','getSelectionClass','UserMarkers','classList','set'];_0x397f=function(){return _0x569362;};return _0x397f();}const _0x152721=_0x20c3;(function(_0x3a0169,_0x1f71ef){const _0x30f6bc=_0x20c3,_0x22b3d3=_0x3a0169();while(!![]){try{const _0x1eda00=parseInt(_0x30f6bc(0x1bd))/0x1*(-parseInt(_0x30f6bc(0x214))/0x2)+parseInt(_0x30f6bc(0x1f2))/0x3*(-parseInt(_0x30f6bc(0x231))/0x4)+-parseInt(_0x30f6bc(0x1c2))/0x5+-parseInt(_0x30f6bc(0x1b3))/0x6+-parseInt(_0x30f6bc(0x21a))/0x7*(-parseInt(_0x30f6bc(0x1c4))/0x8)+parseInt(_0x30f6bc(0x1d3))/0x9+parseInt(_0x30f6bc(0x215))/0xa*(parseInt(_0x30f6bc(0x1dd))/0xb);if(_0x1eda00===_0x1f71ef)break;else _0x22b3d3['push'](_0x22b3d3['shift']());}catch(_0x2af266){_0x22b3d3['push'](_0x22b3d3['shift']());}}}(_0x397f,0x3edd5));import{Plugin as _0x33c42e}from'ckeditor5/src/core.js';import{global as _0x15214f,DomEmitterMixin as _0x22d6b7}from'ckeditor5/src/utils.js';function _0x20c3(_0x7a8cda,_0x155ece){const _0x397fe2=_0x397f();return _0x20c3=function(_0x20c39f,_0xcdd544){_0x20c39f=_0x20c39f-0x1b1;let _0x47e9fd=_0x397fe2[_0x20c39f];return _0x47e9fd;},_0x20c3(_0x7a8cda,_0x155ece);}import{Sessions as _0x369fc0}from'./sessions.js';import{ModelLiveRange as _0x341152}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x33c42e{[_0x152721(0x1db)]=new(_0x22d6b7())();static get[_0x152721(0x202)](){return[_0x369fc0];}static get[_0x152721(0x1b4)](){const _0x4e6a35=_0x152721;return _0x4e6a35(0x1fd);}static get[_0x152721(0x1bc)](){return!0x0;}static get[_0x152721(0x1bf)](){return!0x0;}[_0x152721(0x1ef)](){const _0x39775a=_0x152721,_0x458e8a=this[_0x39775a(0x1f4)],_0x2c445a=_0x458e8a[_0x39775a(0x1f5)][_0x39775a(0x1ec)](_0x369fc0);_0x458e8a[_0x39775a(0x21b)][_0x39775a(0x1b2)](_0x39775a(0x1cd))[_0x39775a(0x1e0)]({'model':_0x39775a(0x203),'view':(_0x36ff04,{writer:_0x3c3df4})=>function(_0x10b02a,_0x310265,_0x36d3b5,_0x56ed91){const _0x462895=_0x39775a,_0x127b62=_0x10b02a[_0x462895(0x1d4)][_0x462895(0x1d9)](':')[0x2],_0x4aa8d0=_0x36d3b5[_0x462895(0x1c1)](_0x127b62);if(!_0x4aa8d0||_0x127b62===_0x36d3b5[_0x462895(0x207)])return;if(!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)][_0x462895(0x1ed)](_0x10b02a[_0x462895(0x223)][_0x462895(0x222)],_0x462895(0x20a)))return;const _0x2afbf3={'class':_0x462895(0x1f6)+_0x4aa8d0[_0x462895(0x1e7)][_0x462895(0x1c8)](),'data-name':_0x4aa8d0[_0x462895(0x210)],'data-session-id':_0x127b62},_0x583cd9=_0x56ed91[_0x462895(0x1ca)][_0x462895(0x234)][_0x462895(0x1ec)](_0x10b02a[_0x462895(0x1d4)]),_0x3315d5=_0x583cd9[_0x462895(0x238)](),_0x3c3e1b=_0x3315d5[_0x462895(0x1fa)],_0x4076a7=_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)];if(_0x3c3e1b&&_0x4076a7[_0x462895(0x200)](_0x3c3e1b)&&_0x4076a7[_0x462895(0x1df)](_0x3c3e1b)&&!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x234)][_0x462895(0x1ec)](_0x462895(0x1b8)+_0x127b62)[_0x462895(0x1f7)]()[_0x462895(0x217)])return;const _0x3ab4d7=_0x3315d5[_0x462895(0x1e9)];return _0x56ed91[_0x462895(0x1ca)][_0x462895(0x1b1)][_0x462895(0x1c9)](_0x3ab4d7)&&!_0x56ed91[_0x462895(0x1ca)][_0x462895(0x1d5)](_0x3ab4d7)&&(_0x2afbf3[_0x462895(0x1c0)]=!0x1),function(_0x34038c,_0x2ae24f,_0x5ab2db){const _0x20ca16=_0x462895,_0x333041=_0x34038c[_0x20ca16(0x21d)](_0x20ca16(0x237),_0x2ae24f);return _0x34038c[_0x20ca16(0x20b)](_0x20ca16(0x1c6),!0x0,_0x333041),_0x333041[_0x20ca16(0x1cf)]=function(_0x2436d4){const _0x950db9=_0x20ca16,_0x2b355a=this[_0x950db9(0x225)](_0x2436d4),_0x3e3b8c=document[_0x950db9(0x1d2)](_0x950db9(0x237));return _0x3e3b8c[_0x950db9(0x1fe)][_0x950db9(0x22c)](_0x950db9(0x1f3)),_0x3e3b8c[_0x950db9(0x23b)](_0x950db9(0x1c0),_0x950db9(0x22b)),_0x3e3b8c[_0x950db9(0x23b)](_0x950db9(0x1c5),_0x950db9(0x22b)),_0x3e3b8c[_0x950db9(0x1f9)]=_0x5ab2db[_0x950db9(0x210)],_0x2b355a[_0x950db9(0x23c)]=_0x950db9(0x1ce)+_0x3e3b8c[_0x950db9(0x1f8)]+'',_0x2b355a[_0x950db9(0x1fb)](_0x950db9(0x1bb),()=>{const _0x2f7c79=_0x950db9;_0x2b355a[_0x2f7c79(0x1fe)][_0x2f7c79(0x22c)](_0x2f7c79(0x23a));}),_0x2b355a[_0x950db9(0x1fb)](_0x950db9(0x208),()=>{const _0x5567b3=_0x950db9;_0x2b355a[_0x5567b3(0x1fe)][_0x5567b3(0x21e)](_0x5567b3(0x23a));}),_0x2b355a;},_0x333041[_0x20ca16(0x226)]=function(_0x29c137){const _0x40c706=_0x20ca16;return!(!this[_0x40c706(0x22d)](_0x40c706(0x1c6))||!_0x29c137[_0x40c706(0x22d)](_0x40c706(0x1c6))||this[_0x40c706(0x20d)](_0x40c706(0x1ba))!=_0x29c137[_0x40c706(0x20d)](_0x40c706(0x1ba)));},_0x333041;}(_0x310265,_0x2afbf3,_0x4aa8d0);}(_0x36ff04,_0x3c3df4,_0x2c445a,_0x458e8a)}),_0x458e8a[_0x39775a(0x21b)][_0x39775a(0x1b2)](_0x39775a(0x1cd))[_0x39775a(0x1e8)]({'model':_0x39775a(0x235),'view':_0x2fdc69=>function(_0x36f756,_0x89004b){const _0x46f210=_0x39775a,_0x4f1b25=_0x36f756[_0x46f210(0x1d4)][_0x46f210(0x1d9)](':')[0x2];if(_0x4f1b25===_0x89004b[_0x46f210(0x207)])return null;const _0x29341a=_0x89004b[_0x46f210(0x1c1)](_0x4f1b25);if(!_0x29341a)return{'id':_0x4f1b25,'classes':[]};return{'id':_0x4f1b25,'classes':[_0x46f210(0x20c),_0x29341a[_0x46f210(0x1e7)][_0x46f210(0x1fc)]()],'attributes':{'data-session-id':_0x4f1b25},'priority':0x7d0+_0x29341a[_0x46f210(0x1be)]};}(_0x2fdc69,_0x2c445a)}),function(_0xc716d9){const _0x35df69=_0x39775a,_0x33cb24=_0xc716d9[_0x35df69(0x1ca)],_0x149e50=new Map(),_0x65ee21=_0xc716d9[_0x35df69(0x1f5)][_0x35df69(0x1ec)](_0x369fc0);_0x33cb24[_0x35df69(0x234)]['on'](_0x35df69(0x1d7),(_0x43989b,_0x3275b7,_0x103d46,_0x4fc0ef)=>{const _0x5c6675=_0x35df69;if(!_0x4fc0ef&&_0x149e50[_0x5c6675(0x1ec)](_0x3275b7[_0x5c6675(0x210)]))return _0x149e50[_0x5c6675(0x1ec)](_0x3275b7[_0x5c6675(0x210)])[_0x5c6675(0x204)](),void _0x149e50[_0x5c6675(0x1f1)](_0x3275b7[_0x5c6675(0x210)]);const _0x1ead72=_0x3275b7[_0x5c6675(0x210)][_0x5c6675(0x1d9)](':')[0x2];if(_0x1ead72===_0x65ee21[_0x5c6675(0x207)])return;const _0x21cd5c=_0x5c6675(0x1e5)+_0x1ead72;_0x33cb24[_0x5c6675(0x234)][_0x5c6675(0x1de)](_0x21cd5c)&&_0xc716d9[_0x5c6675(0x1ee)][_0x5c6675(0x22f)](_0x21cd5c),_0x3275b7['on'](_0x5c6675(0x1cb),(_0x5536ce,_0x5ca789,_0x56f720)=>{const _0x4c389d=_0x5c6675;if(_0x4c389d(0x216)!=_0x5ca789[_0x4c389d(0x22e)][_0x4c389d(0x239)]&&_0x4c389d(0x216)==_0x3275b7[_0x4c389d(0x1f7)]()[_0x4c389d(0x22e)][_0x4c389d(0x239)]&&!_0x149e50[_0x4c389d(0x1de)](_0x3275b7[_0x4c389d(0x210)])){const _0x63f6c=_0x33cb24[_0x4c389d(0x1b1)][_0x4c389d(0x211)](_0x56f720[_0x4c389d(0x236)]);if(_0x63f6c){const _0x509e84=_0x341152[_0x4c389d(0x1e1)](_0x63f6c);_0x149e50[_0x4c389d(0x1ff)](_0x3275b7[_0x4c389d(0x210)],_0x509e84),_0x509e84['on'](_0x4c389d(0x1cb),(_0x4e597,_0x531b79,_0x211d44)=>{const _0x28fe8b=_0x4c389d;if(_0x28fe8b(0x216)==_0x509e84[_0x28fe8b(0x22e)][_0x28fe8b(0x239)]){const _0x237de6=_0x33cb24[_0x28fe8b(0x1b1)][_0x28fe8b(0x211)](_0x211d44[_0x28fe8b(0x236)]);_0x237de6?(_0x509e84[_0x28fe8b(0x222)]=_0x237de6[_0x28fe8b(0x222)],_0x509e84[_0x28fe8b(0x1e3)]=_0x237de6[_0x28fe8b(0x1e3)]):(_0x149e50[_0x28fe8b(0x1f1)](_0x3275b7[_0x28fe8b(0x210)]),_0x509e84[_0x28fe8b(0x204)]());}});}}});}),_0x33cb24[_0x35df69(0x224)]['on'](_0x35df69(0x20e),()=>{const _0x2c01a3=_0x35df69;_0x149e50[_0x2c01a3(0x229)]>0x0&&_0x33cb24[_0x2c01a3(0x228)]({'isUndoable':!0x1},_0x1011b8=>{const _0x360131=_0x2c01a3;for(const [_0x3459e7,_0x462dd9]of _0x149e50)_0x360131(0x216)==_0x33cb24[_0x360131(0x234)][_0x360131(0x1ec)](_0x3459e7)[_0x360131(0x1f7)]()[_0x360131(0x22e)][_0x360131(0x239)]&&(J(_0x3459e7[_0x360131(0x1d9)](':')[0x2],_0x462dd9[_0x360131(0x209)](),_0x33cb24,_0x1011b8),_0x462dd9[_0x360131(0x204)]());_0x149e50[_0x360131(0x1b9)]();});});}(_0x458e8a),this[_0x39775a(0x1db)][_0x39775a(0x1da)](_0x15214f[_0x39775a(0x224)],_0x39775a(0x1d6),(_0x3c3f9d,{key:_0x3dd145})=>{const _0x35e93a=_0x39775a;_0x35e93a(0x206)===_0x3dd145&&function(_0x498f75){const _0x58f3be=_0x35e93a;_0x498f75[_0x58f3be(0x1ee)][_0x58f3be(0x232)][_0x58f3be(0x20e)](_0x23d76e=>{const _0x4a8801=_0x58f3be;for(const _0xebfad6 of _0x498f75[_0x4a8801(0x1ca)][_0x4a8801(0x234)]){if(!_0xebfad6[_0x4a8801(0x210)][_0x4a8801(0x218)](_0x4a8801(0x203)))continue;const _0x1491ab=_0x498f75[_0x4a8801(0x1ee)][_0x4a8801(0x21f)][_0x4a8801(0x1d8)](_0xebfad6[_0x4a8801(0x210)]);if(_0x1491ab){for(const _0xcc3f1a of _0x1491ab)_0x23d76e[_0x4a8801(0x1b5)](_0x4a8801(0x23a),_0xcc3f1a);}}});}(_0x458e8a);},{'useCapture':!0x0});}[_0x152721(0x21c)](){const _0x50b2bf=_0x152721,_0x26691a=this[_0x50b2bf(0x1f4)],_0x3a8d2a=_0x26691a[_0x50b2bf(0x1ea)][_0x50b2bf(0x1ec)](_0x50b2bf(0x1c3));_0x3a8d2a&&_0x26691a[_0x50b2bf(0x1ca)]['on'](_0x50b2bf(0x212),(_0x1b74c6,_0x356004)=>{const _0x5a19aa=_0x50b2bf,_0x2fbfa0=_0x356004[0x0];if(!_0x2fbfa0[_0x5a19aa(0x1dc)])return;if(_0x5a19aa(0x219)!=_0x2fbfa0[_0x5a19aa(0x1d0)]||!_0x2fbfa0[_0x5a19aa(0x210)][_0x5a19aa(0x218)](_0x5a19aa(0x221)))return;const _0x5176d0=_0x2fbfa0[_0x5a19aa(0x1b7)];_0x3a8d2a[_0x5a19aa(0x1d1)][_0x5a19aa(0x1de)](_0x5176d0)&&(_0x2fbfa0[_0x5a19aa(0x1b6)]=_0x2fbfa0[_0x5a19aa(0x1cc)]?_0x26691a[_0x5a19aa(0x1ca)][_0x5a19aa(0x233)](_0x2fbfa0[_0x5a19aa(0x1cc)][_0x5a19aa(0x222)],_0x2fbfa0[_0x5a19aa(0x1cc)][_0x5a19aa(0x1e3)]):null);},{'priority':_0x50b2bf(0x220)});}[_0x152721(0x20f)](){const _0x18863e=_0x152721;return this[_0x18863e(0x1db)][_0x18863e(0x205)](),super[_0x18863e(0x20f)]();}[_0x152721(0x22a)](){const _0x104e6e=_0x152721,_0x6044ec=this[_0x104e6e(0x1f4)],_0xf1d36a=_0x6044ec[_0x104e6e(0x1ca)][_0x104e6e(0x224)],_0x3570a8=_0x6044ec[_0x104e6e(0x1f5)][_0x104e6e(0x1ec)](_0x369fc0);_0x6044ec[_0x104e6e(0x1ca)][_0x104e6e(0x228)]({'isUndoable':!0x1},_0x16a12c=>{const _0x196b4a=_0x104e6e,_0x26be8c=_0x196b4a(0x1b8)+_0x3570a8[_0x196b4a(0x207)],_0x43db4d=_0x196b4a(0x1e5)+_0x3570a8[_0x196b4a(0x207)],_0x1613b3=_0x6044ec[_0x196b4a(0x1ca)][_0x196b4a(0x234)][_0x196b4a(0x1de)](_0x26be8c);_0x6044ec[_0x196b4a(0x1ee)][_0x196b4a(0x232)][_0x196b4a(0x1f0)]?J(_0x3570a8[_0x196b4a(0x207)],_0xf1d36a[_0x196b4a(0x227)][_0x196b4a(0x1e4)](),_0x6044ec[_0x196b4a(0x1ca)],_0x16a12c):_0x1613b3&&(_0x16a12c[_0x196b4a(0x1e6)](_0x26be8c),_0x16a12c[_0x196b4a(0x1e6)](_0x43db4d));});}}function J(_0x527f8f,_0x37edcb,_0x27727b,_0x2a3fa0){const _0x4403e8=_0x152721,_0x5cff87=_0x4403e8(0x1b8)+_0x527f8f,_0x3ada1d=_0x4403e8(0x1e5)+_0x527f8f,_0x57ab2f=_0x37edcb[_0x4403e8(0x201)]();let _0x2c999d=_0x37edcb[_0x4403e8(0x222)];if(_0x57ab2f&&_0x57ab2f['is'](_0x4403e8(0x1e2),_0x4403e8(0x1eb))){const _0x2cb499=function(_0x24cdc2,_0x39567b){const _0x238af1=_0x4403e8;for(const _0x15c3e9 of _0x24cdc2[_0x238af1(0x230)]())if(_0x39567b[_0x238af1(0x1b1)][_0x238af1(0x1ed)](_0x15c3e9,_0x238af1(0x20a)))return _0x15c3e9;}(_0x37edcb,_0x27727b);_0x2cb499&&(_0x2c999d=_0x2cb499,_0x37edcb=_0x2a3fa0[_0x4403e8(0x233)](_0x2c999d));}const _0x1f1553=_0x2a3fa0[_0x4403e8(0x233)](_0x2c999d);_0x27727b[_0x4403e8(0x234)][_0x4403e8(0x1de)](_0x5cff87)?(_0x2a3fa0[_0x4403e8(0x1c7)](_0x5cff87,{'range':_0x37edcb}),_0x2a3fa0[_0x4403e8(0x1c7)](_0x3ada1d,{'range':_0x1f1553})):(_0x2a3fa0[_0x4403e8(0x213)](_0x5cff87,{'range':_0x37edcb,'usingOperation':!0x0}),_0x2a3fa0[_0x4403e8(0x213)](_0x3ada1d,{'range':_0x1f1553,'usingOperation':!0x0}));}
|