@ckeditor/ckeditor5-real-time-collaboration 47.7.1 → 47.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +15 -15
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x23293c=_0xee1e;(function(_0x2835f5,_0x59c04c){const _0x5bc692=_0xee1e,_0x310ebb=_0x2835f5();while(!![]){try{const _0x3e665c=-parseInt(_0x5bc692(0x1d1))/0x1+-parseInt(_0x5bc692(0x1df))/0x2*(-parseInt(_0x5bc692(0x1c1))/0x3)+-parseInt(_0x5bc692(0x1d8))/0x4+-parseInt(_0x5bc692(0x1be))/0x5*(-parseInt(_0x5bc692(0x1d5))/0x6)+parseInt(_0x5bc692(0x1c0))/0x7+parseInt(_0x5bc692(0x1dc))/0x8+parseInt(_0x5bc692(0x1d3))/0x9;if(_0x3e665c===_0x59c04c)break;else _0x310ebb['push'](_0x310ebb['shift']());}catch(_0x250fe3){_0x310ebb['push'](_0x310ebb['shift']());}}}(_0x3ac5,0xcd2f1));import{View as _0x3ec0b7}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x2a945b}from'ckeditor5/src/utils.js';import{getTranslation as _0x955549}from'../../common-translations.js';function _0x3ac5(){const _0x280c24=['isExpanded','7458544RKiMXZ','bindTemplate','listenTo','2MVyWiq','list','setAttribute','presencelist:show','set','20GgJFvo','render','6936160UpAeiu','1714029IHsaZU','hasPopup','div','removeAttribute','focus','createCollection','presencelist:hide','fire','.ck-presence-list__dropdown-list','element','Connected\x20users\x20list','contains','keystrokes','querySelector','relatedTarget','change:hasPopup','1127487fcCgsm','setTemplate','1425060dJcxcX','.ck-balloon-panel_with-arrow','588996tVnYin','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','aria-expanded','4310500HBbgxZ','ck-presence-list__list','items'];_0x3ac5=function(){return _0x280c24;};return _0x3ac5();}function _0xee1e(_0x5c0e04,_0xa61a9a){const _0x3ac53b=_0x3ac5();return _0xee1e=function(_0xee1e2,_0x1347f3){_0xee1e2=_0xee1e2-0x1bd;let _0xc66356=_0x3ac53b[_0xee1e2];return _0xc66356;},_0xee1e(_0x5c0e04,_0xa61a9a);}export class PresenceInlineListView extends _0x3ec0b7{[_0x23293c(0x1da)];[_0x23293c(0x1cd)];constructor(_0x26656e){const _0xf209b6=_0x23293c;super(_0x26656e);const _0x491244=this[_0xf209b6(0x1dd)];this[_0xf209b6(0x1da)]=this[_0xf209b6(0x1c6)](),this[_0xf209b6(0x1cd)]=new _0x2a945b(),this[_0xf209b6(0x1bd)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0xf209b6(0x1d2)]({'tag':_0xf209b6(0x1c3),'attributes':{'aria-haspopup':_0x491244['if'](_0xf209b6(0x1c2)),'aria-expanded':_0x491244['to'](_0xf209b6(0x1db),_0x37f46b=>this[_0xf209b6(0x1c2)]&&String(_0x37f46b)),'aria-label':_0x491244['to'](_0xf209b6(0x1c2),_0x17ce0e=>_0x955549(_0x26656e,_0x17ce0e?_0xf209b6(0x1d6):_0xf209b6(0x1cb))),'role':_0xf209b6(0x1e0),'tabindex':_0x491244['to'](_0xf209b6(0x1c2),_0x571686=>!!_0x571686&&0x0),'class':['ck',_0xf209b6(0x1d9)]},'children':this[_0xf209b6(0x1da)],'on':{'mouseenter':_0x491244['to'](()=>this[_0xf209b6(0x1c8)](_0xf209b6(0x1e2))),'mouseleave':_0x491244['to'](_0x7de71c=>{const _0x4d3398=_0xf209b6,_0x291ca2=_0x7de71c,_0x109373=document[_0x4d3398(0x1ce)](_0x4d3398(0x1c9)),_0x5c1e43=document[_0x4d3398(0x1ce)](_0x4d3398(0x1d4));_0x109373?.[_0x4d3398(0x1cc)](_0x291ca2[_0x4d3398(0x1cf)])||_0x5c1e43?.[_0x4d3398(0x1cc)](_0x291ca2[_0x4d3398(0x1cf)])||this[_0x4d3398(0x1c8)](_0x4d3398(0x1c7));})}}),this['on'](_0xf209b6(0x1d0),(_0x584f6f,_0x11fe44,_0x3eb108)=>{const _0xe3c650=_0xf209b6;this[_0xe3c650(0x1ca)]&&(_0x3eb108?this[_0xe3c650(0x1ca)][_0xe3c650(0x1e1)](_0xe3c650(0x1d7),String(this[_0xe3c650(0x1db)])):this[_0xe3c650(0x1ca)][_0xe3c650(0x1c4)](_0xe3c650(0x1d7)));});}[_0x23293c(0x1c5)](){const _0x510a4d=_0x23293c;this[_0x510a4d(0x1ca)][_0x510a4d(0x1c5)]();}[_0x23293c(0x1bf)](){const _0x4aa7b1=_0x23293c;super[_0x4aa7b1(0x1bf)](),this[_0x4aa7b1(0x1cd)][_0x4aa7b1(0x1de)](this[_0x4aa7b1(0x1ca)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f0761=_0x21d9;(function(_0x560ce9,_0x13d2bf){const _0x34e177=_0x21d9,_0x4e5f7d=_0x560ce9();while(!![]){try{const _0x3d819a=parseInt(_0x34e177(0xbf))/0x1*(parseInt(_0x34e177(0xc2))/0x2)+parseInt(_0x34e177(0xbc))/0x3*(-parseInt(_0x34e177(0xae))/0x4)+-parseInt(_0x34e177(0xc1))/0x5*(-parseInt(_0x34e177(0xbb))/0x6)+parseInt(_0x34e177(0xad))/0x7*(parseInt(_0x34e177(0xc7))/0x8)+-parseInt(_0x34e177(0xb6))/0x9*(parseInt(_0x34e177(0xac))/0xa)+-parseInt(_0x34e177(0xc8))/0xb+parseInt(_0x34e177(0xba))/0xc;if(_0x3d819a===_0x13d2bf)break;else _0x4e5f7d['push'](_0x4e5f7d['shift']());}catch(_0x1cbc2b){_0x4e5f7d['push'](_0x4e5f7d['shift']());}}}(_0x2766,0x33dc2));import{View as _0x57fe4e}from'ckeditor5/src/ui.js';function _0x21d9(_0x36dbec,_0x1bdf99){const _0x2766a2=_0x2766();return _0x21d9=function(_0x21d987,_0x208eda){_0x21d987=_0x21d987-0xab;let _0x3fcba8=_0x2766a2[_0x21d987];return _0x3fcba8;},_0x21d9(_0x36dbec,_0x1bdf99);}import{PresenceCounterView as _0x2dffab}from'./presencecounterview.js';function _0x2766(){const _0x104a58=['2705208vlwIyZ','6OiPzQB','372990HHYPis','ck-presence-list--collapsed','tooltipPosition','6jpKYTb','bindTemplate','1826740LHzwwm','6056vaGrTE','ck-reset','setTemplate','set','ck-rounded-corners','277656XMhGGt','4610210ZVfffu','counterView','hasPopup','266270JOAFKi','35ibqUuG','4JRmQPy','locale','div','listenTo','isCollapsed','items','ck-presence-list','inlineListView','9flRKbk','change','first','bind'];_0x2766=function(){return _0x104a58;};return _0x2766();}import{PresenceInlineListView as _0x2c4b0e}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x57fe4e{[_0x4f0761(0xc9)];[_0x4f0761(0xb5)];constructor(_0x229a12,_0x117103=0x6){const _0x3f4694=_0x4f0761;super(_0x229a12);const _0x4fd5db=this[_0x3f4694(0xc0)];this[_0x3f4694(0xc5)](_0x3f4694(0xb2),!0x0),this[_0x3f4694(0xc9)]=new _0x2dffab(this[_0x3f4694(0xaf)],_0x117103),this[_0x3f4694(0xb5)]=new _0x2c4b0e(_0x229a12),this[_0x3f4694(0xb5)][_0x3f4694(0xb9)](_0x3f4694(0xab))['to'](this,_0x3f4694(0xb2)),this[_0x3f4694(0xb1)](this[_0x3f4694(0xb5)][_0x3f4694(0xb3)],_0x3f4694(0xb7),()=>{const _0xff5fa9=_0x3f4694;for(const _0x507dd2 of this[_0xff5fa9(0xb5)][_0xff5fa9(0xb3)])_0x507dd2[_0xff5fa9(0xbe)]='s';this[_0xff5fa9(0xb5)][_0xff5fa9(0xb3)][_0xff5fa9(0xb8)]&&(this[_0xff5fa9(0xb5)][_0xff5fa9(0xb3)][_0xff5fa9(0xb8)][_0xff5fa9(0xbe)]='se');}),this[_0x3f4694(0xc4)]({'tag':_0x3f4694(0xb0),'attributes':{'class':['ck',_0x3f4694(0xb4),_0x3f4694(0xc3),_0x3f4694(0xc6),_0x4fd5db['if'](_0x3f4694(0xb2),_0x3f4694(0xbd))]},'children':[this[_0x3f4694(0xb5)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x12e2(_0x6b6852,_0x2825f0){var _0x22c7b0=_0x22c7();return _0x12e2=function(_0x12e2ae,_0x3d81ca){_0x12e2ae=_0x12e2ae-0xeb;var _0x24e9e7=_0x22c7b0[_0x12e2ae];return _0x24e9e7;},_0x12e2(_0x6b6852,_0x2825f0);}var _0x15bd27=_0x12e2;(function(_0x22918a,_0x5bf369){var _0xdce91c=_0x12e2,_0x5842a4=_0x22918a();while(!![]){try{var _0x259b61=-parseInt(_0xdce91c(0xf3))/0x1*(parseInt(_0xdce91c(0xf1))/0x2)+-parseInt(_0xdce91c(0xef))/0x3+-parseInt(_0xdce91c(0xf5))/0x4+-parseInt(_0xdce91c(0xf4))/0x5*(-parseInt(_0xdce91c(0xf7))/0x6)+parseInt(_0xdce91c(0xf0))/0x7*(parseInt(_0xdce91c(0xf2))/0x8)+parseInt(_0xdce91c(0xeb))/0x9+-parseInt(_0xdce91c(0xf8))/0xa*(-parseInt(_0xdce91c(0xee))/0xb);if(_0x259b61===_0x5bf369)break;else _0x5842a4['push'](_0x5842a4['shift']());}catch(_0x10f606){_0x5842a4['push'](_0x5842a4['shift']());}}}(_0x22c7,0x19446));import{ContextPlugin as _0x47583f}from'ckeditor5/src/core.js';import{Sessions as _0x2a757d}from'./realtimecollaborativeediting/sessions.js';function _0x22c7(){var _0x59e8ce=['pluginName','858BzROvo','550872VYmOOD','245xVocot','149922cJPmyO','15736thRhNF','1lszDGO','3080IxTDAI','436340ITgFyT','PresenceList','984DflfqX','33590smXiUI','requires','isPremiumPlugin','353637nnzjnL','isOfficialPlugin'];_0x22c7=function(){return _0x59e8ce;};return _0x22c7();}import{PresenceListUI as _0x4914fb}from'./presencelist/presencelistui.js';export class PresenceList extends _0x47583f{static get[_0x15bd27(0xf9)](){return[_0x2a757d,_0x4914fb];}static get[_0x15bd27(0xed)](){var _0xc3a5fa=_0x15bd27;return _0xc3a5fa(0xf6);}static get[_0x15bd27(0xec)](){return!0x0;}static get[_0x15bd27(0xfa)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x32a65c)());[_0x217925(0x205)];static get[_0x217925(0x222)](){const _0x187c10=_0x217925;return[_0x209f47,_0x187c10(0x223),_0x46038d,_0x34c853];}static get[_0x217925(0x210)](){const _0x10c562=_0x217925;return _0x10c562(0x226);}static get[_0x217925(0x1f1)](){return!0x0;}static get[_0x217925(0x1f3)](){return!0x0;}constructor(_0x5c578b){const _0x10b2ff=_0x217925;super(_0x5c578b),this[_0x10b2ff(0x205)]=new Map();}async[_0x217925(0x20a)](){const _0x505a4f=_0x217925,_0xc00547=this[_0x505a4f(0x203)],_0x36f4e1=_0xc00547[_0x505a4f(0x1f7)][_0x505a4f(0x20c)](_0x505a4f(0x223));if(_0xc00547[_0x505a4f(0x1f7)][_0x505a4f(0x20c)](_0x209f47)[_0x505a4f(0x1d6)](this),_0x36f4e1[_0x505a4f(0x213)]={'addCommentThread':async({channelId:_0x1230d8,threadId:_0x531fcd,comments:_0xc08aab,resolvedAt:_0x20b749,resolvedBy:_0x4c3edd,context:_0x5c8184,attributes:_0x2c7640})=>{const _0x56d801=_0x505a4f,_0x64a557=await this[_0x56d801(0x21b)](_0x1230d8)[_0x56d801(0x23a)]({'commentThreadId':_0x531fcd,'comments':_0xc08aab[_0x56d801(0x221)](_0x27a7bf=>function(_0x1eb3e8,_0x101ebf,_0x573c3d){const _0x1c0ee0=_0x56d801;return{'commentThreadId':_0x573c3d,'commentId':_0x1eb3e8[_0x1c0ee0(0x1e6)],'userId':_0x1eb3e8[_0x1c0ee0(0x1f2)],'content':_0x1eb3e8[_0x1c0ee0(0x21d)],'documentId':_0x101ebf,'createdAt':_0x1eb3e8[_0x1c0ee0(0x1ed)],'attributes':_0x1eb3e8[_0x1c0ee0(0x204)]||{}};}(_0x27a7bf,_0x1230d8,_0x531fcd)),'resolvedAt':_0x20b749,'resolvedBy':_0x4c3edd,'context':_0x5c8184,'attributes':_0x2c7640})[_0x56d801(0x229)](k);return{'threadId':_0x64a557[_0x56d801(0x233)],'comments':_0x64a557[_0x56d801(0x20d)]};},'getCommentThread':async({channelId:_0x4bf6a2,threadId:_0x39011b})=>{const _0x1b97d2=_0x505a4f,_0x334133=await this[_0x1b97d2(0x21b)](_0x4bf6a2)[_0x1b97d2(0x217)](_0x39011b)[_0x1b97d2(0x229)](F)[_0x1b97d2(0x229)](k);return _0x334133?_0x334133[_0x1b97d2(0x1ea)]?null:(await this[_0x1b97d2(0x1e8)]([_0x334133]),{'threadId':_0x334133[_0x1b97d2(0x233)],'comments':_0x334133[_0x1b97d2(0x20d)][_0x1b97d2(0x221)](S),'context':_0x334133[_0x1b97d2(0x203)],'resolvedAt':_0x334133[_0x1b97d2(0x206)],'resolvedBy':_0x334133[_0x1b97d2(0x1e4)],'attributes':_0x334133[_0x1b97d2(0x204)]||{}}):null;},'updateCommentThread':async({channelId:_0x1b408a,threadId:_0x557786,context:_0x226584,unlinkedAt:_0x175da1,attributes:_0x4308ec})=>this[_0x505a4f(0x21b)](_0x1b408a)[_0x505a4f(0x1dd)]({'commentThreadId':_0x557786,'context':_0x226584,'attributes':_0x4308ec,'unlinkedAt':_0x175da1})[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'resolveCommentThread':async({channelId:_0x171677,threadId:_0x309758})=>{const _0x29b971=_0x505a4f,_0x5f09e4=await this[_0x29b971(0x21b)](_0x171677)[_0x29b971(0x214)](_0x309758)[_0x29b971(0x229)](F)[_0x29b971(0x229)](k);return{'threadId':_0x5f09e4[_0x29b971(0x233)],'resolvedAt':_0x5f09e4[_0x29b971(0x206)],'resolvedBy':_0x5f09e4[_0x29b971(0x1e4)]};},'reopenCommentThread':async({channelId:_0x28ec34,threadId:_0x1fd1a3})=>this[_0x505a4f(0x21b)](_0x28ec34)[_0x505a4f(0x1d9)](_0x1fd1a3)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'removeCommentThread':({channelId:_0x54194e,threadId:_0x51f776})=>this[_0x505a4f(0x21b)](_0x54194e)[_0x505a4f(0x231)](_0x51f776)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'addComment':({channelId:_0x39f92f,threadId:_0x2d528d,commentId:_0x32b057,content:_0x266b35,attributes:_0x2703e7})=>this[_0x505a4f(0x21b)](_0x39f92f)[_0x505a4f(0x1d8)](_0x2d528d,_0x32b057,_0x266b35,_0x2703e7)[_0x505a4f(0x229)](k),'updateComment':({channelId:_0x3ca146,threadId:_0x4ae5a0,commentId:_0x12bb2c,content:_0x14ad09,attributes:_0xd07c45})=>this[_0x505a4f(0x21b)](_0x3ca146)[_0x505a4f(0x1f0)](_0x4ae5a0,_0x12bb2c,_0x14ad09,_0xd07c45)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k),'removeComment':({channelId:_0x532c0d,threadId:_0x5a3eec,commentId:_0x2a23c6})=>this[_0x505a4f(0x21b)](_0x532c0d)[_0x505a4f(0x1ef)](_0x5a3eec,_0x2a23c6)[_0x505a4f(0x229)](F)[_0x505a4f(0x229)](k)},_0xc00547 instanceof _0x3039f5){const _0x46f6ed=_0xc00547[_0x505a4f(0x22c)][_0x505a4f(0x20c)](_0x505a4f(0x22e)),_0x230462=_0xc00547[_0x505a4f(0x1f7)][_0x505a4f(0x20c)](_0x46038d);await this[_0x505a4f(0x1e2)](_0x46f6ed);const _0x406ced=await this[_0x505a4f(0x205)][_0x505a4f(0x20c)](_0x46f6ed)[_0x505a4f(0x1da)]();this[_0x505a4f(0x1e7)](_0x230462,_0x505a4f(0x1de)+_0x46f6ed,(_0x13c663,{session:_0x41f678})=>{const _0x5e5f9e=_0x505a4f;_0x41f678['id']===_0x230462[_0x5e5f9e(0x1fa)]&&(_0x13c663[_0x5e5f9e(0x1fb)](),this[_0x5e5f9e(0x203)][_0x5e5f9e(0x1f7)][_0x5e5f9e(0x20c)](_0x5e5f9e(0x1d7))[_0x5e5f9e(0x1e5)](_0x41f678[_0x5e5f9e(0x201)],_0x46f6ed));}),_0x230462[_0x505a4f(0x1fc)](_0x46f6ed,_0x406ced);}}async[_0x217925(0x1e2)](_0x1c9bf1){const _0x9fcf6=_0x217925;if(this[_0x9fcf6(0x205)][_0x9fcf6(0x224)](_0x1c9bf1))throw new _0x3b20df(_0x9fcf6(0x219),null,{'channelId':_0x1c9bf1});const _0x4c3b05=this[_0x9fcf6(0x203)][_0x9fcf6(0x1f7)][_0x9fcf6(0x20c)](_0x9fcf6(0x223)),_0x16b3c4=new CloudServicesCommentsAdapter[(_0x9fcf6(0x227))](_0x1c9bf1);this[_0x9fcf6(0x205)][_0x9fcf6(0x220)](_0x1c9bf1,_0x16b3c4),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x20e),(_0x1663aa,_0x47e8d3)=>{const _0x431df2=_0x9fcf6,{commentThreadId:_0x5702c3,documentId:_0x45e1da,context:_0x5cbdec,attributes:_0x5e9f02,resolvedAt:_0x85942a,resolvedBy:_0x52a2d8,comments:_0x3d7e25}=_0x47e8d3;_0x4c3b05[_0x431df2(0x217)](_0x5702c3)||_0x4c3b05[_0x431df2(0x23a)]({'threadId':_0x5702c3,'channelId':_0x45e1da,'comments':_0x3d7e25?_0x3d7e25[_0x431df2(0x221)](S):[],'context':_0x5cbdec,'attributes':_0x5e9f02,'resolvedAt':_0x85942a,'resolvedBy':_0x52a2d8,'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x225),(_0x33d824,{commentThreadId:_0x2bfd08,documentId:_0x1aedc8,context:_0x124dc9,unlinkedAt:_0x4943a6,attributes:_0x5abe27})=>{const _0x43b91b=_0x9fcf6;_0x4c3b05[_0x43b91b(0x217)](_0x2bfd08)&&_0x4c3b05[_0x43b91b(0x1dd)]({'threadId':_0x2bfd08,'channelId':_0x1aedc8,'context':_0x124dc9,'unlinkedAt':_0x4943a6,'attributes':_0x5abe27,'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x1f8),(_0x4c82a2,{commentThreadId:_0x190497,resolvedBy:_0x35e33d,resolvedAt:_0x2121f1})=>{const _0x1e492b=_0x9fcf6,_0x2c3362=_0x4c3b05[_0x1e492b(0x217)](_0x190497);_0x2c3362&&_0x2c3362[_0x1e492b(0x1f6)]({'resolvedBy':_0x35e33d,'resolvedAt':_0x2121f1,'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x1db),(_0x4bd609,{commentThreadId:_0x4b4eb5})=>{const _0x5f1df1=_0x9fcf6,_0x43837c=_0x4c3b05[_0x5f1df1(0x217)](_0x4b4eb5);_0x43837c&&_0x43837c[_0x5f1df1(0x211)]({'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x21e),(_0x2a0891,{commentThreadId:_0xb4ce79})=>{const _0x5b2c4a=_0x9fcf6,_0x4d99f4=_0x4c3b05[_0x5b2c4a(0x217)](_0xb4ce79);_0x4d99f4&&_0x4d99f4[_0x5b2c4a(0x1f4)]({'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x212),(_0x4fa8a5,_0x3b0450)=>{const _0x57db7d=_0x9fcf6,_0x5ddd9d=_0x3b0450[_0x57db7d(0x233)],_0x8c1d0c=_0x4c3b05[_0x57db7d(0x217)](_0x5ddd9d);_0x8c1d0c&&_0x8c1d0c[_0x57db7d(0x1d8)]({...S(_0x3b0450),'isFromAdapter':!0x0});}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x228),(_0x1e12e2,{commentThreadId:_0x17837d,commentId:_0x2741c3,content:_0xf0a421,attributes:_0x47dc56})=>{const _0x587619=_0x9fcf6,_0x42c093=_0x4c3b05[_0x587619(0x217)](_0x17837d);if(_0x42c093){const _0x50b7c0=_0x42c093[_0x587619(0x238)](_0x2741c3);_0x50b7c0&&_0x50b7c0[_0x587619(0x22d)]({'content':_0xf0a421,'attributes':_0x47dc56,'isFromAdapter':!0x0});}}),this[_0x9fcf6(0x1e7)](_0x16b3c4,_0x9fcf6(0x208),(_0x56a1f1,{commentThreadId:_0x4c50d6,commentId:_0x2aa75c})=>{const _0xd0a405=_0x9fcf6,_0x182e25=_0x4c3b05[_0xd0a405(0x217)](_0x4c50d6);if(_0x182e25){const _0x2d976b=_0x182e25[_0xd0a405(0x238)](_0x2aa75c);_0x2d976b&&_0x2d976b[_0xd0a405(0x1f4)]({'isFromAdapter':!0x0});}}),await this[_0x9fcf6(0x232)](_0x1c9bf1);}[_0x217925(0x21a)](){const _0x465df7=_0x217925;if(this[_0x465df7(0x203)]instanceof _0x3039f5){const _0x5321f9=this[_0x465df7(0x203)][_0x465df7(0x22c)][_0x465df7(0x20c)](_0x465df7(0x22e));this[_0x465df7(0x21f)](_0x5321f9);}}[_0x217925(0x21f)](_0xa379d){const _0x2afa3f=_0x217925;if(!this[_0x2afa3f(0x205)][_0x2afa3f(0x224)](_0xa379d))throw new _0x3b20df(_0x2afa3f(0x22a),null,{'channelId':_0xa379d});this[_0x2afa3f(0x21b)](_0xa379d)[_0x2afa3f(0x1fd)](),this[_0x2afa3f(0x205)][_0x2afa3f(0x22b)](_0xa379d);}async[_0x217925(0x234)](){const _0x2762b5=_0x217925;for(const _0x294930 of this[_0x2762b5(0x205)][_0x2762b5(0x1fe)]())await this[_0x2762b5(0x232)](_0x294930);if(this[_0x2762b5(0x203)]instanceof _0x3039f5){const _0x2b88bb=this[_0x2762b5(0x203)][_0x2762b5(0x22c)][_0x2762b5(0x20c)](_0x2762b5(0x22e)),_0x412d4d=this[_0x2762b5(0x203)][_0x2762b5(0x1f7)][_0x2762b5(0x20c)](_0x46038d);_0x412d4d[_0x2762b5(0x21c)](_0x2b88bb);const _0x1b08d2=await this[_0x2762b5(0x205)][_0x2762b5(0x20c)](_0x2b88bb)[_0x2762b5(0x1da)]();_0x412d4d[_0x2762b5(0x1fc)](_0x2b88bb,_0x1b08d2);}}async[_0x217925(0x232)](_0x2bb1ed){const _0x53057f=_0x217925,{connection:_0xeba481}=this[_0x53057f(0x203)][_0x53057f(0x1f7)][_0x53057f(0x20c)](_0x209f47),_0x1da5f1=this[_0x53057f(0x203)][_0x53057f(0x1f7)][_0x53057f(0x20c)](_0x53057f(0x223)),_0x14874f=this[_0x53057f(0x205)][_0x53057f(0x20c)](_0x2bb1ed),_0x17244c=await _0x14874f[_0x53057f(0x207)](_0xeba481);await this[_0x53057f(0x1e8)](_0x17244c);const _0x3182d5=new Set(Array[_0x53057f(0x215)](_0x1da5f1[_0x53057f(0x1e0)]({'channelId':_0x2bb1ed}),_0x482cf5=>_0x482cf5['id']));for(const _0x984fc0 of _0x17244c)_0x984fc0[_0x53057f(0x1ea)]||_0x3182d5[_0x53057f(0x22b)](_0x984fc0[_0x53057f(0x233)]);for(const _0x1d796a of _0x3182d5)_0x1da5f1[_0x53057f(0x217)](_0x1d796a)[_0x53057f(0x1f4)]({'isFromAdapter':!0x0});for(const _0x24bf89 of _0x17244c){let _0x29d4cd=_0x1da5f1[_0x53057f(0x217)](_0x24bf89[_0x53057f(0x233)]);const {commentThreadId:_0x5708ab,context:_0x2462e0,attributes:_0x10b9aa,resolvedBy:_0x2972ca,resolvedAt:_0x3de5f4,unlinkedAt:_0x32c587,deletedAt:_0x2a2231}=_0x24bf89;if(_0x2a2231)continue;_0x29d4cd||(_0x29d4cd=_0x1da5f1[_0x53057f(0x23a)]({'channelId':_0x2bb1ed,'threadId':_0x5708ab,'context':_0x2462e0,'attributes':_0x10b9aa||{},'resolvedBy':_0x2972ca,'resolvedAt':_0x3de5f4,'unlinkedAt':_0x32c587,'isFromAdapter':!0x0}));const _0x338fe9=new Set(Array[_0x53057f(0x215)](_0x29d4cd[_0x53057f(0x20d)],_0x5d9106=>_0x5d9106['id']));for(const _0x1a15d5 of _0x24bf89[_0x53057f(0x20d)])_0x338fe9[_0x53057f(0x22b)](_0x1a15d5[_0x53057f(0x1e6)]);for(const _0x2dc763 of _0x338fe9)_0x29d4cd[_0x53057f(0x238)](_0x2dc763)[_0x53057f(0x1f4)]({'isFromAdapter':!0x0});for(const _0x4becfe of _0x24bf89[_0x53057f(0x20d)]){const _0x2cde6f=_0x29d4cd[_0x53057f(0x238)](_0x4becfe[_0x53057f(0x1e6)]);_0x2cde6f?_0x2cde6f[_0x53057f(0x21d)]!==_0x4becfe[_0x53057f(0x21d)]&&_0x2cde6f[_0x53057f(0x22d)]({'content':_0x4becfe[_0x53057f(0x21d)],'isFromAdapter':!0x0}):_0x29d4cd[_0x53057f(0x1d8)](Object[_0x53057f(0x230)](S(_0x4becfe),{'isFromAdapter':!0x0}));}}}[_0x217925(0x21b)](_0x71d0c0){const _0x2d8fcb=_0x217925;if(!this[_0x2d8fcb(0x205)][_0x2d8fcb(0x224)](_0x71d0c0))throw new _0x3b20df(_0x2d8fcb(0x1eb),null,{'channelId':_0x71d0c0});return this[_0x2d8fcb(0x205)][_0x2d8fcb(0x20c)](_0x71d0c0);}async[_0x217925(0x1e8)](_0x1903c3){const _0x32794f=_0x217925,_0x193882=this[_0x32794f(0x203)][_0x32794f(0x1f7)][_0x32794f(0x20c)](_0x34c853),{connection:_0x17dcc0}=this[_0x32794f(0x203)][_0x32794f(0x1f7)][_0x32794f(0x20c)](_0x209f47),_0x378ef9=new Set();for(const {resolvedBy:_0x328187,comments:_0x178d20}of _0x1903c3){_0x328187&&!_0x193882[_0x32794f(0x236)](_0x328187)&&_0x378ef9[_0x32794f(0x20f)](_0x328187);for(const {userId:_0x1c394d}of _0x178d20)_0x193882[_0x32794f(0x236)](_0x1c394d)||_0x378ef9[_0x32794f(0x20f)](_0x1c394d);}if(0x0===_0x378ef9[_0x32794f(0x239)])return;const _0x9e29eb=await _0x1c544f[_0x32794f(0x218)](_0x17dcc0,Array[_0x32794f(0x215)](_0x378ef9));for(const _0x43497f of _0x9e29eb)_0x193882[_0x32794f(0x236)](_0x43497f['id'])||_0x193882[_0x32794f(0x202)](_0x43497f);}}async function F(_0x28bf4c){const _0x315de0=_0x217925;if(_0x315de0(0x1f5)!==_0x28bf4c[_0x315de0(0x1e9)])throw _0x28bf4c;}function k(_0x1c63ff){const _0x33804b=_0x217925;if((_0x46d58d=_0x1c63ff)[_0x33804b(0x1e3)][_0x33804b(0x1df)](_0x33804b(0x1e1))||_0x46d58d[_0x33804b(0x1e3)][_0x33804b(0x1df)](_0x33804b(0x1ff))||_0x46d58d[_0x33804b(0x1e3)][_0x33804b(0x1df)](_0x33804b(0x1ec)))return new Promise(()=>{});var _0x46d58d;throw _0x1c63ff;}function _0x3047(){const _0x37a01a=['cloud-services-internal-error:\x20Not\x20connected.','userId','permissions','addUser','context','attributes','_services','resolvedAt','connect','commentRemoved','225543kSnHtp','init','102giPOBD','get','comments','commentThreadAdded','add','pluginName','reopen','commentAdded','adapter','resolveCommentThread','from','3544500weAUjO','getCommentThread','getMany','cloudservicescommentsadapter-connect-already-connected','destroy','_getService','unregister','content','commentThreadRemoved','_terminateService','set','map','requires','CommentsRepository','has','commentThreadUpdated','CloudServicesCommentsAdapter','CommentsService','commentUpdated','catch','cloudservicescommentsadapter-disconnect-not-exist','delete','config','update','collaboration.channelId','9509868cmxhqf','assign','removeCommentThread','_connectService','commentThreadId','reconnect','1231576Nixzuz','getUser','2FbkbjJ','getComment','size','addCommentThread','8CZiRxZ','addToReconnectionStack','Permissions','addComment','reopenCommentThread','getConnectedSessions','commentThreadReopened','5603164vABATM','updateCommentThread','sessionAdd:','startsWith','getCommentThreads','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_setUpService','message','resolvedBy','setPermissions','commentId','listenTo','_fetchMissingUsersForThreads','code','deletedAt','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','844840nVfaCb','removeComment','updateComment','isOfficialPlugin','authorId','isPremiumPlugin','remove','404','resolve','plugins','commentThreadResolved','270895mwxVWM','mySessionId','off','register','disconnect','keys'];_0x3047=function(){return _0x37a01a;};return _0x3047();}function S(_0x766b0a){const _0x2a23d6=_0x217925;return{'threadId':_0x766b0a[_0x2a23d6(0x233)],'commentId':_0x766b0a[_0x2a23d6(0x1e6)],'content':_0x766b0a[_0x2a23d6(0x21d)],'createdAt':_0x766b0a[_0x2a23d6(0x1ed)],'authorId':_0x766b0a[_0x2a23d6(0x200)],'attributes':_0x766b0a[_0x2a23d6(0x204)]||{}};}
|
|
23
|
+
const _0x60cce1=_0x3a1d;function _0x3a1d(_0x310597,_0x598a1f){const _0x12835f=_0x1283();return _0x3a1d=function(_0x3a1dc6,_0x5b41d0){_0x3a1dc6=_0x3a1dc6-0x15b;let _0x3918cc=_0x12835f[_0x3a1dc6];return _0x3918cc;},_0x3a1d(_0x310597,_0x598a1f);}(function(_0x50e69b,_0x37c62b){const _0x219769=_0x3a1d,_0x10826b=_0x50e69b();while(!![]){try{const _0x3e4bdb=parseInt(_0x219769(0x182))/0x1+-parseInt(_0x219769(0x1a2))/0x2+parseInt(_0x219769(0x18c))/0x3+-parseInt(_0x219769(0x15c))/0x4*(-parseInt(_0x219769(0x17e))/0x5)+-parseInt(_0x219769(0x161))/0x6+parseInt(_0x219769(0x18d))/0x7+-parseInt(_0x219769(0x1a7))/0x8*(parseInt(_0x219769(0x168))/0x9);if(_0x3e4bdb===_0x37c62b)break;else _0x10826b['push'](_0x10826b['shift']());}catch(_0x286d40){_0x10826b['push'](_0x10826b['shift']());}}}(_0x1283,0x80170));import{Context as _0xbc0092,ContextPlugin as _0x51d307}from'ckeditor5/src/core.js';import{CKEditorError as _0x5b9be7}from'ckeditor5/src/utils.js';import{Users as _0x27e68e}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x402294,User as _0x1f4193}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x1de7da}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5c6de0}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x51d307{static [_0x60cce1(0x16c)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x402294)());[_0x60cce1(0x174)];static get[_0x60cce1(0x17c)](){const _0x3f50ec=_0x60cce1;return[_0x1de7da,_0x3f50ec(0x1b9),_0x5c6de0,_0x27e68e];}static get[_0x60cce1(0x179)](){const _0x4bb577=_0x60cce1;return _0x4bb577(0x1b2);}static get[_0x60cce1(0x19a)](){return!0x0;}static get[_0x60cce1(0x1bd)](){return!0x0;}constructor(_0xb33644){const _0x311adb=_0x60cce1;super(_0xb33644),this[_0x311adb(0x174)]=new Map();}async[_0x60cce1(0x1b6)](){const _0x52fe8b=_0x60cce1,_0x537170=this[_0x52fe8b(0x18e)],_0x5a46c8=_0x537170[_0x52fe8b(0x188)][_0x52fe8b(0x15d)](_0x52fe8b(0x1b9));if(_0x537170[_0x52fe8b(0x188)][_0x52fe8b(0x15d)](_0x1de7da)[_0x52fe8b(0x1ab)](this),_0x5a46c8[_0x52fe8b(0x18b)]={'addCommentThread':async({channelId:_0x3b8d4d,threadId:_0x54721d,comments:_0x5c94b3,resolvedAt:_0x40c680,resolvedBy:_0x2ead37,context:_0x3b73a8,attributes:_0x2a425f})=>{const _0x5a7f5d=_0x52fe8b,_0x2d7073=await this[_0x5a7f5d(0x167)](_0x3b8d4d)[_0x5a7f5d(0x1bc)]({'commentThreadId':_0x54721d,'comments':_0x5c94b3[_0x5a7f5d(0x1a4)](_0x498fc9=>function(_0x4e0cf6,_0x1ae70f,_0x3a7d47){const _0x3cc19b=_0x5a7f5d;return{'commentThreadId':_0x3a7d47,'commentId':_0x4e0cf6[_0x3cc19b(0x15b)],'userId':_0x4e0cf6[_0x3cc19b(0x15f)],'content':_0x4e0cf6[_0x3cc19b(0x166)],'documentId':_0x1ae70f,'createdAt':_0x4e0cf6[_0x3cc19b(0x163)],'attributes':_0x4e0cf6[_0x3cc19b(0x1bf)]||{}};}(_0x498fc9,_0x3b8d4d,_0x54721d)),'resolvedAt':_0x40c680,'resolvedBy':_0x2ead37,'context':_0x3b73a8,'attributes':_0x2a425f})[_0x5a7f5d(0x183)](et);return{'threadId':_0x2d7073[_0x5a7f5d(0x1ad)],'comments':_0x2d7073[_0x5a7f5d(0x1bb)]};},'getCommentThread':async({channelId:_0x45a286,threadId:_0x59499b})=>{const _0x22038e=_0x52fe8b,_0x4ee532=await this[_0x22038e(0x167)](_0x45a286)[_0x22038e(0x197)](_0x59499b)[_0x22038e(0x183)](tt)[_0x22038e(0x183)](et);return _0x4ee532?_0x4ee532[_0x22038e(0x19b)]?null:(await this[_0x22038e(0x196)]([_0x4ee532]),{'threadId':_0x4ee532[_0x22038e(0x1ad)],'comments':_0x4ee532[_0x22038e(0x1bb)][_0x22038e(0x1a4)](ot),'context':_0x4ee532[_0x22038e(0x18e)],'resolvedAt':_0x4ee532[_0x22038e(0x1a8)],'resolvedBy':_0x4ee532[_0x22038e(0x191)],'attributes':_0x4ee532[_0x22038e(0x1bf)]||{}}):null;},'updateCommentThread':async({channelId:_0x3eb465,threadId:_0x2d616d,context:_0x59439e,unlinkedAt:_0x39ad1b,attributes:_0x4ac278})=>this[_0x52fe8b(0x167)](_0x3eb465)[_0x52fe8b(0x19f)]({'commentThreadId':_0x2d616d,'context':_0x59439e,'attributes':_0x4ac278,'unlinkedAt':_0x39ad1b})[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'resolveCommentThread':async({channelId:_0x4ff9af,threadId:_0x394f78})=>{const _0x534bfa=_0x52fe8b,_0x5b6362=await this[_0x534bfa(0x167)](_0x4ff9af)[_0x534bfa(0x17f)](_0x394f78)[_0x534bfa(0x183)](tt)[_0x534bfa(0x183)](et);return{'threadId':_0x5b6362[_0x534bfa(0x1ad)],'resolvedAt':_0x5b6362[_0x534bfa(0x1a8)],'resolvedBy':_0x5b6362[_0x534bfa(0x191)]};},'reopenCommentThread':async({channelId:_0x1b29c0,threadId:_0x51e11a})=>this[_0x52fe8b(0x167)](_0x1b29c0)[_0x52fe8b(0x18a)](_0x51e11a)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'removeCommentThread':({channelId:_0x2e6bc0,threadId:_0x132a60})=>this[_0x52fe8b(0x167)](_0x2e6bc0)[_0x52fe8b(0x164)](_0x132a60)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'addComment':({channelId:_0x52c440,threadId:_0x2672e1,commentId:_0x1be5e7,content:_0x53b712,attributes:_0x5a0a6c})=>this[_0x52fe8b(0x167)](_0x52c440)[_0x52fe8b(0x177)](_0x2672e1,_0x1be5e7,_0x53b712,_0x5a0a6c)[_0x52fe8b(0x183)](et),'updateComment':({channelId:_0x5602f3,threadId:_0x40e987,commentId:_0x2691fa,content:_0xfabfb5,attributes:_0x4bce0d})=>this[_0x52fe8b(0x167)](_0x5602f3)[_0x52fe8b(0x162)](_0x40e987,_0x2691fa,_0xfabfb5,_0x4bce0d)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et),'removeComment':({channelId:_0x436f34,threadId:_0x5e47cd,commentId:_0x5589be})=>this[_0x52fe8b(0x167)](_0x436f34)[_0x52fe8b(0x1aa)](_0x5e47cd,_0x5589be)[_0x52fe8b(0x183)](tt)[_0x52fe8b(0x183)](et)},_0x537170 instanceof _0xbc0092){const _0x4a80ee=_0x537170[_0x52fe8b(0x1a9)][_0x52fe8b(0x15d)](_0x52fe8b(0x1ae)),_0x51069f=_0x537170[_0x52fe8b(0x188)][_0x52fe8b(0x15d)](_0x5c6de0);await this[_0x52fe8b(0x190)](_0x4a80ee);const _0x4bb70f=await this[_0x52fe8b(0x174)][_0x52fe8b(0x15d)](_0x4a80ee)[_0x52fe8b(0x15e)]();this[_0x52fe8b(0x1a1)](_0x51069f,_0x52fe8b(0x171)+_0x4a80ee,(_0x3d489a,{session:_0x67bb10})=>{const _0x27388f=_0x52fe8b;_0x67bb10['id']===_0x51069f[_0x27388f(0x178)]&&(_0x3d489a[_0x27388f(0x16f)](),this[_0x27388f(0x18e)][_0x27388f(0x188)][_0x27388f(0x15d)](_0x27388f(0x1a6))[_0x27388f(0x17d)](_0x67bb10[_0x27388f(0x181)],_0x4a80ee));}),_0x51069f[_0x52fe8b(0x192)](_0x4a80ee,_0x4bb70f);}}async[_0x60cce1(0x190)](_0x139015){const _0x45c0ec=_0x60cce1;if(this[_0x45c0ec(0x174)][_0x45c0ec(0x195)](_0x139015))throw new _0x5b9be7(_0x45c0ec(0x180),null,{'channelId':_0x139015});const _0x33c123=this[_0x45c0ec(0x18e)][_0x45c0ec(0x188)][_0x45c0ec(0x15d)](_0x45c0ec(0x1b9)),_0xd318f6=new CloudServicesCommentsAdapter[(_0x45c0ec(0x16c))](_0x139015);this[_0x45c0ec(0x174)][_0x45c0ec(0x160)](_0x139015,_0xd318f6),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x172),(_0x210e45,_0x425f50)=>{const _0x2223df=_0x45c0ec,{commentThreadId:_0x308196,documentId:_0x491ab5,context:_0x1b5815,attributes:_0xe2e589,resolvedAt:_0x19b6ee,resolvedBy:_0xe63f04,comments:_0x148b03}=_0x425f50;_0x33c123[_0x2223df(0x197)](_0x308196)||_0x33c123[_0x2223df(0x1bc)]({'threadId':_0x308196,'channelId':_0x491ab5,'comments':_0x148b03?_0x148b03[_0x2223df(0x1a4)](ot):[],'context':_0x1b5815,'attributes':_0xe2e589,'resolvedAt':_0x19b6ee,'resolvedBy':_0xe63f04,'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x193),(_0x3a41e5,{commentThreadId:_0x39b9dc,documentId:_0xbc341b,context:_0x2b1eea,unlinkedAt:_0x2eda24,attributes:_0x335b56})=>{const _0x4d7ed8=_0x45c0ec;_0x33c123[_0x4d7ed8(0x197)](_0x39b9dc)&&_0x33c123[_0x4d7ed8(0x19f)]({'threadId':_0x39b9dc,'channelId':_0xbc341b,'context':_0x2b1eea,'unlinkedAt':_0x2eda24,'attributes':_0x335b56,'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x199),(_0x362cc2,{commentThreadId:_0x235e12,resolvedBy:_0x494618,resolvedAt:_0x4567ee})=>{const _0x310b64=_0x45c0ec,_0x1d7ceb=_0x33c123[_0x310b64(0x197)](_0x235e12);_0x1d7ceb&&_0x1d7ceb[_0x310b64(0x169)]({'resolvedBy':_0x494618,'resolvedAt':_0x4567ee,'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x170),(_0x4f9e69,{commentThreadId:_0x345f0b})=>{const _0x248e58=_0x45c0ec,_0x711194=_0x33c123[_0x248e58(0x197)](_0x345f0b);_0x711194&&_0x711194[_0x248e58(0x173)]({'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x16d),(_0x27ce76,{commentThreadId:_0x4a9c60})=>{const _0x1a95c8=_0x45c0ec,_0x13fac4=_0x33c123[_0x1a95c8(0x197)](_0x4a9c60);_0x13fac4&&_0x13fac4[_0x1a95c8(0x1b8)]({'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x1b0),(_0x13df0c,_0x355f33)=>{const _0x31399b=_0x45c0ec,_0xe5108a=_0x355f33[_0x31399b(0x1ad)],_0x9ab116=_0x33c123[_0x31399b(0x197)](_0xe5108a);_0x9ab116&&_0x9ab116[_0x31399b(0x177)]({...ot(_0x355f33),'isFromAdapter':!0x0});}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x185),(_0x6bc605,{commentThreadId:_0x1f544d,commentId:_0x595dda,content:_0x5f588f,attributes:_0x56a984})=>{const _0x5fc66a=_0x45c0ec,_0x368dd5=_0x33c123[_0x5fc66a(0x197)](_0x1f544d);if(_0x368dd5){const _0x18c717=_0x368dd5[_0x5fc66a(0x16b)](_0x595dda);_0x18c717&&_0x18c717[_0x5fc66a(0x1a5)]({'content':_0x5f588f,'attributes':_0x56a984,'isFromAdapter':!0x0});}}),this[_0x45c0ec(0x1a1)](_0xd318f6,_0x45c0ec(0x175),(_0x4f8dc0,{commentThreadId:_0x4588ae,commentId:_0x4bd26a})=>{const _0x13bf71=_0x45c0ec,_0x4a657d=_0x33c123[_0x13bf71(0x197)](_0x4588ae);if(_0x4a657d){const _0x3c97bb=_0x4a657d[_0x13bf71(0x16b)](_0x4bd26a);_0x3c97bb&&_0x3c97bb[_0x13bf71(0x1b8)]({'isFromAdapter':!0x0});}}),await this[_0x45c0ec(0x184)](_0x139015);}[_0x60cce1(0x1b4)](){const _0x136bd1=_0x60cce1;if(this[_0x136bd1(0x18e)]instanceof _0xbc0092){const _0x3fa9a9=this[_0x136bd1(0x18e)][_0x136bd1(0x1a9)][_0x136bd1(0x15d)](_0x136bd1(0x1ae));this[_0x136bd1(0x17b)](_0x3fa9a9);}}[_0x60cce1(0x17b)](_0x62065a){const _0x42b6c4=_0x60cce1;if(!this[_0x42b6c4(0x174)][_0x42b6c4(0x195)](_0x62065a))throw new _0x5b9be7(_0x42b6c4(0x1a3),null,{'channelId':_0x62065a});this[_0x42b6c4(0x167)](_0x62065a)[_0x42b6c4(0x176)](),this[_0x42b6c4(0x174)][_0x42b6c4(0x19d)](_0x62065a);}async[_0x60cce1(0x18f)](){const _0x485456=_0x60cce1;for(const _0x94af45 of this[_0x485456(0x174)][_0x485456(0x16a)]())await this[_0x485456(0x184)](_0x94af45);if(this[_0x485456(0x18e)]instanceof _0xbc0092){const _0x3e1258=this[_0x485456(0x18e)][_0x485456(0x1a9)][_0x485456(0x15d)](_0x485456(0x1ae)),_0xe9e43=this[_0x485456(0x18e)][_0x485456(0x188)][_0x485456(0x15d)](_0x5c6de0);_0xe9e43[_0x485456(0x16e)](_0x3e1258);const _0xd58772=await this[_0x485456(0x174)][_0x485456(0x15d)](_0x3e1258)[_0x485456(0x15e)]();_0xe9e43[_0x485456(0x192)](_0x3e1258,_0xd58772);}}async[_0x60cce1(0x184)](_0x335b35){const _0x504517=_0x60cce1,{connection:_0x137309}=this[_0x504517(0x18e)][_0x504517(0x188)][_0x504517(0x15d)](_0x1de7da),_0x283491=this[_0x504517(0x18e)][_0x504517(0x188)][_0x504517(0x15d)](_0x504517(0x1b9)),_0x3c0557=this[_0x504517(0x174)][_0x504517(0x15d)](_0x335b35),_0x30bfd1=await _0x3c0557[_0x504517(0x19c)](_0x137309);await this[_0x504517(0x196)](_0x30bfd1);const _0x5f256a=new Set(Array[_0x504517(0x187)](_0x283491[_0x504517(0x1be)]({'channelId':_0x335b35}),_0x54c1c2=>_0x54c1c2['id']));for(const _0x276b87 of _0x30bfd1)_0x276b87[_0x504517(0x19b)]||_0x5f256a[_0x504517(0x19d)](_0x276b87[_0x504517(0x1ad)]);for(const _0x2d0a67 of _0x5f256a)_0x283491[_0x504517(0x197)](_0x2d0a67)[_0x504517(0x1b8)]({'isFromAdapter':!0x0});for(const _0x14a6e1 of _0x30bfd1){let _0x42aa84=_0x283491[_0x504517(0x197)](_0x14a6e1[_0x504517(0x1ad)]);const {commentThreadId:_0x4adcc8,context:_0xf530b1,attributes:_0x1815f8,resolvedBy:_0xc3afbe,resolvedAt:_0x440931,unlinkedAt:_0x469579,deletedAt:_0xcf9038}=_0x14a6e1;if(_0xcf9038)continue;_0x42aa84||(_0x42aa84=_0x283491[_0x504517(0x1bc)]({'channelId':_0x335b35,'threadId':_0x4adcc8,'context':_0xf530b1,'attributes':_0x1815f8||{},'resolvedBy':_0xc3afbe,'resolvedAt':_0x440931,'unlinkedAt':_0x469579,'isFromAdapter':!0x0}));const _0x33f2c8=new Set(Array[_0x504517(0x187)](_0x42aa84[_0x504517(0x1bb)],_0x700294=>_0x700294['id']));for(const _0x30fce9 of _0x14a6e1[_0x504517(0x1bb)])_0x33f2c8[_0x504517(0x19d)](_0x30fce9[_0x504517(0x15b)]);for(const _0x208f8f of _0x33f2c8)_0x42aa84[_0x504517(0x16b)](_0x208f8f)[_0x504517(0x1b8)]({'isFromAdapter':!0x0});for(const _0x1843b5 of _0x14a6e1[_0x504517(0x1bb)]){const _0x3e8887=_0x42aa84[_0x504517(0x16b)](_0x1843b5[_0x504517(0x15b)]);_0x3e8887?_0x3e8887[_0x504517(0x166)]!==_0x1843b5[_0x504517(0x166)]&&_0x3e8887[_0x504517(0x1a5)]({'content':_0x1843b5[_0x504517(0x166)],'isFromAdapter':!0x0}):_0x42aa84[_0x504517(0x177)](Object[_0x504517(0x186)](ot(_0x1843b5),{'isFromAdapter':!0x0}));}}}[_0x60cce1(0x167)](_0x3dfa2b){const _0xfc42cd=_0x60cce1;if(!this[_0xfc42cd(0x174)][_0xfc42cd(0x195)](_0x3dfa2b))throw new _0x5b9be7(_0xfc42cd(0x165),null,{'channelId':_0x3dfa2b});return this[_0xfc42cd(0x174)][_0xfc42cd(0x15d)](_0x3dfa2b);}async[_0x60cce1(0x196)](_0x46ad63){const _0x910764=_0x60cce1,_0x525265=this[_0x910764(0x18e)][_0x910764(0x188)][_0x910764(0x15d)](_0x27e68e),{connection:_0x45b6a5}=this[_0x910764(0x18e)][_0x910764(0x188)][_0x910764(0x15d)](_0x1de7da),_0x5a7a9d=new Set();for(const {resolvedBy:_0x2cc6fa,comments:_0x530706}of _0x46ad63){_0x2cc6fa&&!_0x525265[_0x910764(0x1ac)](_0x2cc6fa)&&_0x5a7a9d[_0x910764(0x1b1)](_0x2cc6fa);for(const {userId:_0x33c0d2}of _0x530706)_0x525265[_0x910764(0x1ac)](_0x33c0d2)||_0x5a7a9d[_0x910764(0x1b1)](_0x33c0d2);}if(0x0===_0x5a7a9d[_0x910764(0x1af)])return;const _0x126982=await _0x1f4193[_0x910764(0x17a)](_0x45b6a5,Array[_0x910764(0x187)](_0x5a7a9d));for(const _0x33c83c of _0x126982)_0x525265[_0x910764(0x1ac)](_0x33c83c['id'])||_0x525265[_0x910764(0x1a0)](_0x33c83c);}}async function tt(_0x22eaa3){const _0x3a07d7=_0x60cce1;if(_0x3a07d7(0x1b5)!==_0x22eaa3[_0x3a07d7(0x1b3)])throw _0x22eaa3;}function _0x1283(){const _0x3921ec=['remove','CommentsRepository','cloud-services-internal-error:\x20Not\x20connected.','comments','addCommentThread','isPremiumPlugin','getCommentThreads','attributes','commentId','566204taQJyz','get','getConnectedSessions','authorId','set','1431624ldFlPd','updateComment','createdAt','removeCommentThread','cloudservicescommentsadapter-service-not-exist','content','_getService','18tLngwm','resolve','keys','getComment','CommentsService','commentThreadRemoved','unregister','off','commentThreadReopened','sessionAdd:','commentThreadAdded','reopen','_services','commentRemoved','disconnect','addComment','mySessionId','pluginName','getMany','_terminateService','requires','setPermissions','5kXWqWF','resolveCommentThread','cloudservicescommentsadapter-connect-already-connected','permissions','803800XLEGYL','catch','_connectService','commentUpdated','assign','from','plugins','startsWith','reopenCommentThread','adapter','1502358zNwtby','3310139IGoSCR','context','reconnect','_setUpService','resolvedBy','register','commentThreadUpdated','message','has','_fetchMissingUsersForThreads','getCommentThread','userId','commentThreadResolved','isOfficialPlugin','deletedAt','connect','delete','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','updateCommentThread','addUser','listenTo','220512AqUtsS','cloudservicescommentsadapter-disconnect-not-exist','map','update','Permissions','4181992qgBUpw','resolvedAt','config','removeComment','addToReconnectionStack','getUser','commentThreadId','collaboration.channelId','size','commentAdded','add','CloudServicesCommentsAdapter','code','destroy','404','init','cloud-services-internal-error:\x20Request\x20timeout.'];_0x1283=function(){return _0x3921ec;};return _0x1283();}function et(_0x15073a){const _0x10e482=_0x60cce1;if((_0x157a94=_0x15073a)[_0x10e482(0x194)][_0x10e482(0x189)](_0x10e482(0x19e))||_0x157a94[_0x10e482(0x194)][_0x10e482(0x189)](_0x10e482(0x1ba))||_0x157a94[_0x10e482(0x194)][_0x10e482(0x189)](_0x10e482(0x1b7)))return new Promise(()=>{});var _0x157a94;throw _0x15073a;}function ot(_0x28d196){const _0x436efc=_0x60cce1;return{'threadId':_0x28d196[_0x436efc(0x1ad)],'commentId':_0x28d196[_0x436efc(0x15b)],'content':_0x28d196[_0x436efc(0x166)],'createdAt':_0x28d196[_0x436efc(0x163)],'authorId':_0x28d196[_0x436efc(0x198)],'attributes':_0x28d196[_0x436efc(0x1bf)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5785(){const _0x50cd0f=['8nulgoi','8kTlibh','collaboration.channelId','get','ready','2455260svRNIb','editor','init','10462662KCluxB','data','57977490OuJaMO','plugins','connected','Comments','isThreadsLoadingPaused','CommentsRepository','requires','RealTimeCollaborativeComments','listenTo','destroy','CommentsEditing','isOfficialPlugin','switchReadOnly','change:state','1979070mqOJYD','once','config','2635047TaHpvS','isPremiumPlugin','2Sgschs','pluginName','_terminateService','1143459DkHDwO','_setUpService','2374280VjaKZX'];_0x5785=function(){return _0x50cd0f;};return _0x5785();}const _0x3f6cfc=_0x9044;(function(_0x130876,_0x630852){const _0x5997e8=_0x9044,_0x410fdc=_0x130876();while(!![]){try{const _0xfad1fc=parseInt(_0x5997e8(0x1a9))/0x1*(-parseInt(_0x5997e8(0x1a6))/0x2)+-parseInt(_0x5997e8(0x18e))/0x3+-parseInt(_0x5997e8(0x18a))/0x4*(parseInt(_0x5997e8(0x1ab))/0x5)+-parseInt(_0x5997e8(0x1a1))/0x6+-parseInt(_0x5997e8(0x191))/0x7+parseInt(_0x5997e8(0x189))/0x8*(-parseInt(_0x5997e8(0x1a4))/0x9)+parseInt(_0x5997e8(0x193))/0xa;if(_0xfad1fc===_0x630852)break;else _0x410fdc['push'](_0x410fdc['shift']());}catch(_0x3402b7){_0x410fdc['push'](_0x410fdc['shift']());}}}(_0x5785,0xbbb60));import{Plugin as _0x2dafac}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x3400e8}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x583643}from'./realtimecollaborativeediting.js';function _0x9044(_0x5ef216,_0x884ae8){const _0x57853d=_0x5785();return _0x9044=function(_0x9044ec,_0x182507){_0x9044ec=_0x9044ec-0x189;let _0x546fb9=_0x57853d[_0x9044ec];return _0x546fb9;},_0x9044(_0x5ef216,_0x884ae8);}import{WebSocketGateway as _0x4de2b5}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x2dafac{static get[_0x3f6cfc(0x199)](){const _0x1a1f3d=_0x3f6cfc;return[_0x1a1f3d(0x196),_0x3400e8,_0x583643,_0x4de2b5];}static get[_0x3f6cfc(0x1a7)](){const _0x1ba450=_0x3f6cfc;return _0x1ba450(0x19a);}static get[_0x3f6cfc(0x19e)](){return!0x0;}static get[_0x3f6cfc(0x1a5)](){return!0x0;}[_0x3f6cfc(0x190)](){const _0x4f0fd5=_0x3f6cfc,_0x2b9142=this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x194)][_0x4f0fd5(0x18c)](_0x4de2b5),_0x548b67=this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x194)][_0x4f0fd5(0x18c)](_0x4f0fd5(0x19d)),_0x5e88a8=this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x194)][_0x4f0fd5(0x18c)](_0x3400e8);return this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x192)][_0x4f0fd5(0x1a2)](_0x4f0fd5(0x18d),()=>{const _0x2a54f6=_0x4f0fd5;this[_0x2a54f6(0x19b)](_0x2b9142,_0x2a54f6(0x1a0),(_0x4dba88,_0x57849f,_0xe3b397)=>{const _0x397550=_0x2a54f6;_0x548b67[_0x397550(0x197)]=_0x397550(0x195)!==_0xe3b397;});}),this[_0x4f0fd5(0x19b)](_0x2b9142,_0x4f0fd5(0x1a0),(_0x250c44,_0x36e063,_0x3d3bd2)=>{const _0x3919d7=_0x4f0fd5;this[_0x3919d7(0x18f)][_0x3919d7(0x194)][_0x3919d7(0x18c)](_0x3919d7(0x198))[_0x3919d7(0x19f)](_0x3919d7(0x195)!==_0x3d3bd2);}),_0x5e88a8[_0x4f0fd5(0x1aa)](this[_0x4f0fd5(0x18f)][_0x4f0fd5(0x1a3)][_0x4f0fd5(0x18c)](_0x4f0fd5(0x18b)));}[_0x3f6cfc(0x19c)](){const _0x5edd9c=_0x3f6cfc;this[_0x5edd9c(0x18f)][_0x5edd9c(0x194)][_0x5edd9c(0x18c)](_0x3400e8)[_0x5edd9c(0x1a8)](this[_0x5edd9c(0x18f)][_0x5edd9c(0x1a3)][_0x5edd9c(0x18c)](_0x5edd9c(0x18b))),super[_0x5edd9c(0x19c)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x40cb60)());[_0x5d849d(0x213)];[_0x5d849d(0x207)];[_0x5d849d(0x145)];[_0x5d849d(0x227)];[_0x5d849d(0x203)];[_0x5d849d(0x199)];[_0x5d849d(0x1af)];[_0x5d849d(0x220)];[_0x5d849d(0x189)];[_0x5d849d(0x232)];[_0x5d849d(0x21a)];[_0x5d849d(0x1f0)];[_0x5d849d(0x219)];[_0x5d849d(0x212)];[_0x5d849d(0x1f2)];[_0x5d849d(0x229)];[_0x5d849d(0x228)];[_0x5d849d(0x22c)];static get[_0x5d849d(0x1a4)](){return[_0x128b01,_0x29d56b,_0x32d7c2,_0x251430,_0x3d2787,_0x5b8123];}static get[_0x5d849d(0x156)](){const _0x3e8415=_0x5d849d;return _0x3e8415(0x185);}static get[_0x5d849d(0x190)](){return!0x0;}static get[_0x5d849d(0x23d)](){return!0x0;}get[_0x5d849d(0x159)](){const _0x344ebc=_0x5d849d;return this[_0x344ebc(0x18c)]+this[_0x344ebc(0x213)];}get[_0x5d849d(0x18c)](){const _0x17f599=_0x5d849d;return this[_0x17f599(0x145)][_0x17f599(0x18f)]-this[_0x17f599(0x213)];}get[_0x5d849d(0x152)](){const _0x3276f4=_0x5d849d,_0x5bd6da=this[_0x3276f4(0x145)][_0x3276f4(0x225)]();for(let _0x498db2=_0x5bd6da[_0x3276f4(0x1f5)]-0x1;_0x498db2>=0x0;_0x498db2--){const _0x1724c7=_0x5bd6da[_0x498db2];if(!this[_0x3276f4(0x228)][_0x3276f4(0x1a2)](_0x1724c7))return _0x1724c7[_0x3276f4(0x1ab)]+0x1-this[_0x3276f4(0x213)];}return 0x0;}constructor(_0x11efbe){const _0x103afd=_0x5d849d;if(super(_0x11efbe),this[_0x103afd(0x213)]=0x0,this[_0x103afd(0x207)]=null,this[_0x103afd(0x145)]=new _0x516425(),this[_0x103afd(0x15a)][_0x103afd(0x1e7)][_0x103afd(0x14f)](_0x103afd(0x204),{}),this[_0x103afd(0x227)]=this[_0x103afd(0x15a)][_0x103afd(0x1e7)][_0x103afd(0x1b1)](_0x103afd(0x172)),!this[_0x103afd(0x227)])throw new _0x2de0f4(_0x103afd(0x230),this);const _0x5d1a2e=_0x11efbe[_0x103afd(0x1e7)][_0x103afd(0x1b1)](_0x103afd(0x224))||_0x1fc640;this[_0x103afd(0x203)]=new RealTimeCollaborationClient[(_0x103afd(0x198))](_0x5d1a2e,this[_0x103afd(0x227)]),this[_0x103afd(0x199)]=this[_0x103afd(0x15a)][_0x103afd(0x20d)][_0x103afd(0x1d4)],this[_0x103afd(0x1af)]=new _0x520848(),this[_0x103afd(0x220)]=[],this[_0x103afd(0x189)]=new WeakSet(),this[_0x103afd(0x232)]=new Set(),this[_0x103afd(0x209)](_0x103afd(0x1db),!0x1),this[_0x103afd(0x209)](_0x103afd(0x177),!0x1),this[_0x103afd(0x21a)]=null,this[_0x103afd(0x1f0)]=!0x1,this[_0x103afd(0x219)]=null,this[_0x103afd(0x212)]=0x12c,this[_0x103afd(0x1f2)]=this[_0x103afd(0x212)],this[_0x103afd(0x229)]=null,this[_0x103afd(0x228)]=new WeakSet(),this[_0x103afd(0x22c)]=new J(this[_0x103afd(0x228)]);}[_0x5d849d(0x222)](){const _0x21e6f2=_0x5d849d,_0x4950e6=this[_0x21e6f2(0x15a)],_0xb24196=_0x4950e6[_0x21e6f2(0x21e)][_0x21e6f2(0x1b1)](_0x3d2787),_0x5d4775=_0x4950e6[_0x21e6f2(0x21e)][_0x21e6f2(0x1b1)](_0x128b01);this[_0x21e6f2(0x1d6)](_0xb24196,_0x21e6f2(0x1d9),(_0x16996f,_0x71ff94)=>{const _0x2cadd3=_0x21e6f2,_0x1a09ae=_0x71ff94[0x0];_0x1a09ae[_0x2cadd3(0x14e)]&&(_0x16996f[_0x2cadd3(0x240)]=_0xb24196[_0x2cadd3(0x16a)](_0x1a09ae[_0x2cadd3(0x14e)]),_0x16996f[_0x2cadd3(0x1da)]()),null===_0x1a09ae[_0x2cadd3(0x14e)]&&(_0x16996f[_0x2cadd3(0x240)]=null,_0x16996f[_0x2cadd3(0x1da)]());},{'priority':_0x21e6f2(0x1df)}),this[_0x21e6f2(0x1d6)](_0x4950e6[_0x21e6f2(0x20d)][_0x21e6f2(0x1d4)][_0x21e6f2(0x1a9)],_0x21e6f2(0x221),(_0x2959ef,_0x2f4cb1)=>{const _0x544910=_0x21e6f2;_0x2f4cb1[_0x544910(0x235)]&&this[_0x544910(0x15d)]();}),this[_0x21e6f2(0x1d6)](_0x4950e6[_0x21e6f2(0x21c)][_0x21e6f2(0x17f)],_0x21e6f2(0x168),()=>{const _0x27eb7b=_0x21e6f2;this[_0x27eb7b(0x15d)]();}),this[_0x21e6f2(0x1cd)](),_0x4950e6[_0x21e6f2(0x20d)]['on'](_0x21e6f2(0x1fb),(_0x19a930,_0x1f0404)=>{const _0x10a8d7=_0x21e6f2,_0xc61a72=_0x1f0404[0x0];_0xc61a72[_0x10a8d7(0x18a)]&&(this[_0x10a8d7(0x158)](_0xc61a72),this[_0x10a8d7(0x193)]()&&this[_0x10a8d7(0x22e)]());}),this[_0x21e6f2(0x226)](),this[_0x21e6f2(0x1dc)](_0x21e6f2(0x157))['to'](_0x5d4775,_0x21e6f2(0x1de),this,_0x21e6f2(0x177),(_0x13c8ef,_0x2089b0)=>_0x21e6f2(0x186)===_0x13c8ef&&!_0x2089b0),this['on'](_0x21e6f2(0x243),()=>{const _0x52583f=_0x21e6f2;this[_0x52583f(0x157)]?_0x4950e6[_0x52583f(0x1fe)](_0x52583f(0x1aa)):_0x4950e6[_0x52583f(0x1ae)](_0x52583f(0x1aa));}),this[_0x21e6f2(0x157)]?_0x4950e6[_0x21e6f2(0x1fe)](_0x21e6f2(0x1aa)):_0x4950e6[_0x21e6f2(0x1ae)](_0x21e6f2(0x1aa)),this[_0x21e6f2(0x209)](_0x21e6f2(0x16b),!0x1);}async[_0x5d849d(0x140)](){const _0x42cff1=_0x5d849d,_0x3a0c33=this[_0x42cff1(0x15a)][_0x42cff1(0x21e)][_0x42cff1(0x1b1)](_0x29d56b),_0x24643d=this[_0x42cff1(0x15a)][_0x42cff1(0x21e)][_0x42cff1(0x1b1)](_0x128b01);try{this[_0x42cff1(0x1db)]=!0x0,_0x3a0c33[_0x42cff1(0x1c2)](this[_0x42cff1(0x227)]);const _0x568401=await this[_0x42cff1(0x203)][_0x42cff1(0x140)](_0x24643d[_0x42cff1(0x1ef)],this[_0x42cff1(0x152)]);await this[_0x42cff1(0x16c)](_0x568401)&&(this[_0x42cff1(0x1db)]=!0x1,this[_0x42cff1(0x1bf)]());const _0x1b05d7=await this[_0x42cff1(0x203)][_0x42cff1(0x163)]();_0x3a0c33[_0x42cff1(0x180)](this[_0x42cff1(0x227)],_0x1b05d7),this[_0x42cff1(0x1ad)](),this[_0x42cff1(0x16b)]=!0x0;}catch(_0x5e6136){if(function(_0x5cc422){const _0x503efe=_0x42cff1;return _0x503efe(0x184)===_0x5cc422[_0x503efe(0x21b)];}(_0x5e6136)&&this[_0x42cff1(0x207)])await this[_0x42cff1(0x1bd)]();else{if(function(_0x54176b){const _0x32c808=_0x42cff1;return _0x32c808(0x20a)===_0x54176b[_0x32c808(0x21b)];}(_0x5e6136)){const _0x9aea72=_0x210617(this[_0x42cff1(0x15a)][_0x42cff1(0x1c8)],_0x42cff1(0x1ee));this[_0x42cff1(0x23c)](_0x9aea72);}else{if(!(_0x5e6136 instanceof $))throw _0x5e6136;this[_0x42cff1(0x23c)]();}}}}[_0x5d849d(0x1e1)](){const _0x5722b1=_0x5d849d,_0x4ef05d=this[_0x5722b1(0x15a)][_0x5722b1(0x21e)][_0x5722b1(0x1b1)](_0x128b01),_0xdf607=this[_0x5722b1(0x15a)][_0x5722b1(0x21e)][_0x5722b1(0x1b1)](_0x29d56b);this[_0x5722b1(0x15a)][_0x5722b1(0x1ae)](_0x5722b1(0x167)),_0xdf607[_0x5722b1(0x160)][_0x5722b1(0x1a2)](this[_0x5722b1(0x227)])&&_0xdf607[_0x5722b1(0x1c2)](this[_0x5722b1(0x227)]),_0x4ef05d[_0x5722b1(0x22f)](this),this[_0x5722b1(0x144)](),super[_0x5722b1(0x1e1)]();}async[_0x5d849d(0x16c)](_0x852048){const _0xb00d45=_0x5d849d;if(this[_0xb00d45(0x207)]!==_0x852048[_0xb00d45(0x207)]&&this[_0xb00d45(0x229)]!==_0x852048[_0xb00d45(0x1b8)])throw new $();return this[_0xb00d45(0x207)]=_0x852048[_0xb00d45(0x207)],this[_0xb00d45(0x17e)]([],{..._0x852048,'wereChangesApplied':!0x1,'data':_0x852048[_0xb00d45(0x236)]},_0xb00d45(0x140));}async[_0x5d849d(0x1f8)](_0x2d6e37,_0x3c505d=!0x1){const _0x43a7a6=_0x5d849d,{connection:_0x5aca70}=this[_0x43a7a6(0x15a)][_0x43a7a6(0x21e)][_0x43a7a6(0x1b1)](_0x128b01);RealTimeCollaborationClient[_0x43a7a6(0x198)][_0x43a7a6(0x163)](_0x5aca70,this[_0x43a7a6(0x227)])[_0x43a7a6(0x1e9)](_0x2b9f26=>this[_0x43a7a6(0x161)](_0x2b9f26))[_0x43a7a6(0x1c6)](_0x483647=>{const _0xf07934=_0x43a7a6;this[_0xf07934(0x1c9)](_0xf07934(0x1b3),_0x483647);}),this[_0x43a7a6(0x1d6)](this[_0x43a7a6(0x203)],_0x43a7a6(0x1a6),this[_0x43a7a6(0x233)][_0x43a7a6(0x1dc)](this)),this[_0x43a7a6(0x1d6)](this[_0x43a7a6(0x203)],_0x43a7a6(0x211),(_0x38bb1f,_0x21272c)=>{const _0x2c220f=_0x43a7a6;this[_0x2c220f(0x1c9)](_0x2c220f(0x1a7),_0x21272c);}),this[_0x43a7a6(0x1d6)](this[_0x43a7a6(0x203)],_0x43a7a6(0x1b7),()=>{const _0x1284d9=_0x43a7a6;this[_0x1284d9(0x16b)]=!0x1;});const _0xc0edda=this[_0x43a7a6(0x22c)][_0x43a7a6(0x23e)](_0x2d6e37);this[_0x43a7a6(0x1db)]=!0x0;const _0x583823=await this[_0x43a7a6(0x203)][_0x43a7a6(0x18e)](_0x5aca70,this[_0x43a7a6(0x23b)](_0x2d6e37),_0xc0edda);if(this[_0x43a7a6(0x207)]=_0x583823[_0x43a7a6(0x207)],_0x3c505d){if(!_0x583823[_0x43a7a6(0x202)])return void this[_0x43a7a6(0x23c)]();this[_0x43a7a6(0x1db)]=!0x1,this[_0x43a7a6(0x1bf)](),this[_0x43a7a6(0x145)][_0x43a7a6(0x1a1)](),this[_0x43a7a6(0x213)]=_0x583823[_0x43a7a6(0x242)],this[_0x43a7a6(0x145)][_0x43a7a6(0x18f)]=this[_0x43a7a6(0x213)],await this[_0x43a7a6(0x17e)](_0x2d6e37,_0x583823,_0x43a7a6(0x194));}else await this[_0x43a7a6(0x1e4)](_0x583823,_0x2d6e37);this[_0x43a7a6(0x1ad)](),this[_0x43a7a6(0x16b)]=!0x0;}[_0x5d849d(0x1ad)](){const _0x2b1503=_0x5d849d,_0x304ee0=this[_0x2b1503(0x15a)][_0x2b1503(0x21e)][_0x2b1503(0x1b1)](_0x29d56b),_0x4a7380=this[_0x2b1503(0x15a)][_0x2b1503(0x21e)][_0x2b1503(0x1b1)](_0x32d7c2),_0x18c8d9=_0x304ee0[_0x2b1503(0x160)][_0x2b1503(0x1b1)](this[_0x2b1503(0x227)]);_0x18c8d9&&_0x18c8d9[_0x2b1503(0x1f5)]>0x1?_0x4a7380[_0x2b1503(0x19e)]():this[_0x2b1503(0x1d6)](_0x304ee0,_0x2b1503(0x1f6)+this[_0x2b1503(0x227)],()=>{const _0x26fe09=_0x2b1503;0x2===_0x304ee0[_0x26fe09(0x160)][_0x26fe09(0x1b1)](this[_0x26fe09(0x227)])[_0x26fe09(0x1f5)]&&_0x4a7380[_0x26fe09(0x19e)]();});}async[_0x5d849d(0x233)](_0x44d383,_0x3f694a,_0x3d8b83,_0x51adf3){const _0x565347=_0x5d849d;if(!this[_0x565347(0x1db)]&&this[_0x565347(0x199)][_0x565347(0x18f)]==_0x3f694a){const _0x20c32f=this[_0x565347(0x17b)](_0x3d8b83,_0x51adf3);await this[_0x565347(0x1cb)](_0x20c32f),this[_0x565347(0x1f4)](_0x20c32f,_0x3f694a,_0x3d8b83[_0x565347(0x1b8)])||this[_0x565347(0x1c9)](_0x565347(0x16d));}}async[_0x5d849d(0x1bd)](){const _0x1ba1b3=_0x5d849d;this[_0x1ba1b3(0x144)]();const {locale:_0x57dcf2}=this[_0x1ba1b3(0x15a)];let _0x8ab176;try{_0x8ab176=await this[_0x1ba1b3(0x203)][_0x1ba1b3(0x1fd)]();}catch{const _0x279422=_0x210617(_0x57dcf2,_0x1ba1b3(0x21d));return void this[_0x1ba1b3(0x23c)](_0x279422);}const _0x412393=_0x8ab176[_0x1ba1b3(0x1b4)]||_0x8ab176[_0x1ba1b3(0x1b5)];if(this[_0x1ba1b3(0x229)]!==_0x412393[_0x1ba1b3(0x1b8)]){const _0x1eebf9=_0x210617(_0x57dcf2,_0x1ba1b3(0x214));return void this[_0x1ba1b3(0x23c)](_0x1eebf9);}await this[_0x1ba1b3(0x1f8)](this[_0x1ba1b3(0x15a)][_0x1ba1b3(0x20d)][_0x1ba1b3(0x1d4)][_0x1ba1b3(0x20f)][_0x1ba1b3(0x225)](),!0x0);}[_0x5d849d(0x144)](){const _0x593194=_0x5d849d;this[_0x593194(0x203)][_0x593194(0x1f7)](),this[_0x593194(0x220)]=[],clearTimeout(this[_0x593194(0x219)]),this[_0x593194(0x169)](this[_0x593194(0x203)]);}[_0x5d849d(0x161)](_0x4bd676){const _0x53dceb=_0x5d849d,_0x533388=this[_0x53dceb(0x15a)][_0x53dceb(0x21e)][_0x53dceb(0x1b1)](_0x29d56b);this[_0x53dceb(0x1d6)](_0x533388,_0x53dceb(0x1f6)+this[_0x53dceb(0x227)],(_0x28d0c6,{session:_0x4dc4b7})=>{const _0x1ae7ec=_0x53dceb;if(_0x4dc4b7['id']===_0x533388[_0x1ae7ec(0x15f)]){_0x28d0c6[_0x1ae7ec(0x1c0)]();const _0x2e6f21=this[_0x1ae7ec(0x15a)][_0x1ae7ec(0x21e)][_0x1ae7ec(0x1a2)](_0x1ae7ec(0x1cf))&&this[_0x1ae7ec(0x15a)][_0x1ae7ec(0x21e)][_0x1ae7ec(0x1b1)](_0x1ae7ec(0x1cf));let _0x55aedc=_0x4dc4b7[_0x1ae7ec(0x187)];_0x2e6f21&&_0x2e6f21[_0x1ae7ec(0x21f)]&&(_0x55aedc=_0x55aedc[_0x1ae7ec(0x19c)](_0x1d7620=>_0x1ae7ec(0x1bb)!==_0x1d7620)),this[_0x1ae7ec(0x15a)][_0x1ae7ec(0x21e)][_0x1ae7ec(0x1b1)](_0x1ae7ec(0x218))[_0x1ae7ec(0x176)](_0x55aedc,this[_0x1ae7ec(0x227)]);}}),_0x533388[_0x53dceb(0x180)](this[_0x53dceb(0x227)],_0x4bd676);}[_0x5d849d(0x1cd)](){const _0x205c06=_0x5d849d,_0x189314=this[_0x205c06(0x15a)][_0x205c06(0x236)][_0x205c06(0x209)];this[_0x205c06(0x15a)][_0x205c06(0x236)][_0x205c06(0x209)]=(..._0x4554d3)=>{const _0x4415a0=_0x205c06;if(!_0x4554d3[_0x4554d3[_0x4415a0(0x1f5)]-0x1][_0x4415a0(0x1fa)])throw new _0x2de0f4(_0x4415a0(0x215),this);_0x189314[_0x4415a0(0x149)](this[_0x4415a0(0x15a)][_0x4415a0(0x236)],_0x4554d3);};}[_0x5d849d(0x226)](){const _0x4754ab=_0x5d849d;this[_0x4754ab(0x15a)][_0x4754ab(0x236)]['on'](_0x4754ab(0x222),(_0x4c5b40,[_0x4f041f])=>{const _0x424660=_0x4754ab;if(this[_0x424660(0x199)][_0x424660(0x18f)])throw new _0x2de0f4(_0x424660(0x1ff),this);_0x4c5b40[_0x424660(0x1da)](),this[_0x424660(0x155)]();const _0x3d7d22=this[_0x424660(0x15a)][_0x424660(0x1e7)][_0x424660(0x1b1)](_0x424660(0x19d)),_0x55e956=this[_0x424660(0x174)](_0x4f041f,_0x3d7d22);0x0==_0x55e956[_0x424660(0x1f5)]&&_0x55e956[_0x424660(0x1be)](new _0x3e53b5(0x0)),_0x4c5b40[_0x424660(0x240)]=this[_0x424660(0x1f8)](_0x55e956)[_0x424660(0x1e9)](()=>{const _0x59d437=_0x424660;this[_0x59d437(0x15a)][_0x59d437(0x21e)][_0x59d437(0x1b1)](_0x128b01)[_0x59d437(0x1e3)](this),this[_0x59d437(0x15a)][_0x59d437(0x236)][_0x59d437(0x1e8)](_0x59d437(0x18b));})[_0x424660(0x1c6)](_0x3f8d95=>this[_0x424660(0x1c9)](_0x424660(0x1c5),_0x3f8d95))[_0x424660(0x1d0)](()=>this[_0x424660(0x1bf)]());},{'priority':_0x4754ab(0x1df)}),this[_0x4754ab(0x15a)]['on'](_0x4754ab(0x201),async(_0x5a7f5c,[_0x522aa9,_0x36c064])=>{const _0x200eaf=_0x4754ab;_0x5a7f5c[_0x200eaf(0x1da)]();const _0x13cd7e=this[_0x200eaf(0x15a)][_0x200eaf(0x20d)][_0x200eaf(0x1d4)][_0x200eaf(0x15c)](_0x522aa9);if(!this[_0x200eaf(0x232)][_0x200eaf(0x1a2)](_0x522aa9)){const _0x1560d6=_0x36c064&&_0x36c064[_0x200eaf(0x236)]?_0x36c064[_0x200eaf(0x236)]:'',_0x483249=_0x36c064&&_0x36c064[_0x200eaf(0x241)]?_0x36c064[_0x200eaf(0x241)]:{};await this[_0x200eaf(0x178)](_0x522aa9,_0x1560d6,_0x483249);}this[_0x200eaf(0x15a)][_0x200eaf(0x20d)][_0x200eaf(0x1f1)]({'isUndoable':!0x1},()=>{const _0x36fd7e=_0x200eaf;_0x13cd7e[_0x36fd7e(0x1cc)]=!0x0,this[_0x36fd7e(0x15a)][_0x36fd7e(0x20d)][_0x36fd7e(0x1d4)][_0x36fd7e(0x1bc)][_0x36fd7e(0x22d)](_0x13cd7e);});},{'priority':_0x4754ab(0x1df)});}async[_0x5d849d(0x1cb)](_0x1536fc){const _0x3be7bb=_0x5d849d,_0x205ed0=this[_0x3be7bb(0x15a)][_0x3be7bb(0x21e)][_0x3be7bb(0x1b1)](_0x3d2787),{connection:_0x6050fd}=this[_0x3be7bb(0x15a)][_0x3be7bb(0x21e)][_0x3be7bb(0x1b1)](_0x128b01),_0x23e1a5=new Set();for(const _0x383ad7 of _0x1536fc){const _0x3f08aa=_0x383ad7[_0x3be7bb(0x14e)];_0x3f08aa&&!_0x205ed0[_0x3be7bb(0x16a)](_0x3f08aa)&&_0x23e1a5[_0x3be7bb(0x175)](_0x3f08aa);}if(0x0===_0x23e1a5[_0x3be7bb(0x1dd)])return;const _0x5849b0=await _0x449b71[_0x3be7bb(0x1ea)](_0x6050fd,Array[_0x3be7bb(0x18d)](_0x23e1a5));for(const _0x450725 of _0x5849b0)_0x205ed0[_0x3be7bb(0x16a)](_0x450725['id'])||_0x205ed0[_0x3be7bb(0x200)](_0x450725);}[_0x5d849d(0x174)](_0x47da10,_0x2cfc0e={}){const _0x27f07f=_0x5d849d,_0x102149=this[_0x27f07f(0x15a)][_0x27f07f(0x20d)],_0x14166b=[];let _0x424950=0x0;const _0x241a84=_0x27f07f(0x1a0)==typeof _0x47da10?{'main':_0x47da10}:_0x47da10;for(const _0x56716d of Object[_0x27f07f(0x150)](_0x241a84)){if(!this[_0x27f07f(0x199)][_0x27f07f(0x238)][_0x27f07f(0x1a2)](_0x56716d))throw new _0x2de0f4(_0x27f07f(0x173),this);const _0x24812c=this[_0x27f07f(0x15a)][_0x27f07f(0x236)][_0x27f07f(0x15b)](_0x241a84[_0x56716d]),_0x444118=this[_0x27f07f(0x199)][_0x27f07f(0x15c)](_0x56716d),_0x136658=new _0xf57866(_0x102149[_0x27f07f(0x23a)](_0x444118,0x0),_0x24812c,_0x424950++);_0x14166b[_0x27f07f(0x1be)](_0x136658);for(const [_0x2e65bf,_0x6c3a04]of _0x24812c[_0x27f07f(0x1a3)]){const _0x49a23e=_0x102149[_0x27f07f(0x1e5)](_0x102149[_0x27f07f(0x179)](_0x444118,_0x6c3a04[_0x27f07f(0x151)][_0x27f07f(0x141)][_0x27f07f(0x244)]()),_0x102149[_0x27f07f(0x179)](_0x444118,_0x6c3a04[_0x27f07f(0x1ba)][_0x27f07f(0x141)][_0x27f07f(0x244)]())),_0x168dba=new _0x1082e6(_0x2e65bf,null,_0x49a23e,_0x102149[_0x27f07f(0x1a3)],!0x0,_0x424950++);_0x14166b[_0x27f07f(0x1be)](_0x168dba);}}if(_0x2cfc0e)for(const [_0x179fe5,_0x466475]of Object[_0x27f07f(0x166)](_0x2cfc0e)){const _0xa5a699=_0x102149[_0x27f07f(0x1d4)][_0x27f07f(0x15c)](_0x179fe5);if(!_0xa5a699)throw new _0x2de0f4(_0x27f07f(0x223),null);for(const [_0x537b59,_0x439b4a]of Object[_0x27f07f(0x166)](_0x466475))if(null!==_0x439b4a){const _0x11c011=new _0x53c1f7(_0xa5a699,_0x537b59,null,_0x439b4a,_0x424950++);_0x14166b[_0x27f07f(0x1be)](_0x11c011);}}return _0x14166b;}async[_0x5d849d(0x178)](_0x1dd5f2,_0x5ce683,_0x14aaa5){const _0x303639=_0x5d849d;this[_0x303639(0x174)]({[_0x1dd5f2]:_0x5ce683},{[_0x1dd5f2]:_0x14aaa5})[_0x303639(0x1d5)]((_0x1403f8,_0x4502c8)=>{const _0x558a75=_0x303639;_0x1403f8[_0x558a75(0x1ab)]=this[_0x558a75(0x199)][_0x558a75(0x18f)]+_0x4502c8,_0x1403f8[_0x558a75(0x1f9)]=!0x0,this[_0x558a75(0x158)](_0x1403f8);}),this[_0x303639(0x22e)](),await this[_0x303639(0x154)]();}async[_0x5d849d(0x1e4)](_0x164600,_0xfc4f62){const _0x28a96d=_0x5d849d;let _0x2c85fa;this[_0x28a96d(0x213)]=_0x164600[_0x28a96d(0x242)];const _0x52f150=_0x164600[_0x28a96d(0x202)]&&!_0x164600[_0x28a96d(0x14c)],_0x57b5fc=_0x52f150?0x0:_0x164600[_0x28a96d(0x236)][_0x28a96d(0x1ab)];if(_0xfc4f62[_0x28a96d(0x1d5)](_0x4bafcc=>{const _0x1aa9df=_0x28a96d;_0x4bafcc[_0x1aa9df(0x1f9)]=!0x0,_0x4bafcc[_0x1aa9df(0x20e)]=_0x164600[_0x1aa9df(0x22b)],_0x4bafcc[_0x1aa9df(0x14e)]=null;}),_0x52f150)_0x2c85fa=_0xfc4f62,this[_0x28a96d(0x196)](_0x2c85fa,_0x52f150);else{if(_0x164600[_0x28a96d(0x14c)]){const _0x495d4b=this[_0x28a96d(0x174)](_0x164600[_0x28a96d(0x14c)]);this[_0x28a96d(0x199)][_0x28a96d(0x20f)][_0x28a96d(0x18f)]=-_0x495d4b[_0x28a96d(0x1f5)],_0x495d4b[_0x28a96d(0x1d5)](_0x5ab2de=>{const _0x3d4105=_0x28a96d;_0x5ab2de[_0x3d4105(0x1ab)]-=_0x495d4b[_0x3d4105(0x1f5)],_0x5ab2de[_0x3d4105(0x20e)]=_0x164600[_0x3d4105(0x22b)],_0x5ab2de[_0x3d4105(0x1f9)]=!0x0,_0x5ab2de[_0x3d4105(0x14e)]=null;}),this[_0x28a96d(0x196)](_0x495d4b,!0x0),this[_0x28a96d(0x145)][_0x28a96d(0x18f)]=-_0x495d4b[_0x28a96d(0x1f5)]+this[_0x28a96d(0x213)],this[_0x28a96d(0x1e6)](_0x495d4b);}this[_0x28a96d(0x199)][_0x28a96d(0x20f)][_0x28a96d(0x18f)]=_0x57b5fc,_0x2c85fa=this[_0x28a96d(0x17b)](_0x164600[_0x28a96d(0x236)],_0x164600[_0x28a96d(0x1e0)]),await this[_0x28a96d(0x1cb)](_0x2c85fa),this[_0x28a96d(0x196)](_0x2c85fa,_0x52f150);}_0x164600[_0x28a96d(0x1b8)]&&(this[_0x28a96d(0x22c)][_0x28a96d(0x17d)](_0x2c85fa,_0x164600[_0x28a96d(0x1b8)]),this[_0x28a96d(0x229)]=_0x164600[_0x28a96d(0x1b8)]),this[_0x28a96d(0x145)][_0x28a96d(0x18f)]=_0x57b5fc+this[_0x28a96d(0x213)],this[_0x28a96d(0x1e6)](_0x2c85fa),_0xfc4f62[_0x28a96d(0x19c)](_0x58bfb4=>{const _0x484e19=_0x28a96d,_0x11e4a7=this[_0x484e19(0x217)](_0x58bfb4);return _0x11e4a7&&!this[_0x484e19(0x232)][_0x484e19(0x1a2)](_0x11e4a7);})[_0x28a96d(0x1d5)]((_0x56f296,_0x4b27d6)=>{const _0x2d8378=_0x28a96d;_0x56f296[_0x2d8378(0x1ab)]=this[_0x2d8378(0x199)][_0x2d8378(0x18f)]+_0x4b27d6,this[_0x2d8378(0x158)](_0x56f296);}),this[_0x28a96d(0x193)]()?(this[_0x28a96d(0x1f2)]=0x0,this[_0x28a96d(0x22e)](!0x0),await this[_0x28a96d(0x154)]()):(this[_0x28a96d(0x1db)]=!0x1,this[_0x28a96d(0x1bf)]());}[_0x5d849d(0x1c9)](_0x1cb7d9,_0x12b1fc){const _0x53fea0=_0x5d849d,_0x15afdb=_0x12b1fc&&_0x12b1fc[_0x53fea0(0x1d1)];if(_0x15afdb&&_0x15afdb[_0x53fea0(0x171)](_0x53fea0(0x1e2)))throw _0x12b1fc;const _0x3d0cad=this[_0x53fea0(0x15a)][_0x53fea0(0x21e)][_0x53fea0(0x1b1)](_0x128b01);throw this[_0x53fea0(0x1db)]=!0x0,_0x3d0cad[_0x53fea0(0x1f7)](),this[_0x53fea0(0x15a)][_0x53fea0(0x1ae)](_0x53fea0(0x17c)),new _0x2de0f4(_0x1cb7d9,this[_0x53fea0(0x15a)],_0x15afdb?{'originalError':_0x15afdb}:void 0x0);}[_0x5d849d(0x158)](_0x399e7c){const _0x116e9c=_0x5d849d;this[_0x116e9c(0x189)][_0x116e9c(0x1a2)](_0x399e7c)||(this[_0x116e9c(0x189)][_0x116e9c(0x175)](_0x399e7c),this[_0x116e9c(0x220)][_0x116e9c(0x1be)](_0x399e7c),this[_0x116e9c(0x21a)]||_0x116e9c(0x170)==_0x399e7c[_0x116e9c(0x195)]&&!_0x399e7c[_0x116e9c(0x165)]||this[_0x116e9c(0x155)]());}[_0x5d849d(0x22e)](_0xc64c55=!0x1){const _0x3cc884=_0x5d849d;!_0xc64c55&&this[_0x3cc884(0x1db)]||(this[_0x3cc884(0x1db)]=!0x0,clearTimeout(this[_0x3cc884(0x219)]),this[_0x3cc884(0x219)]=setTimeout(()=>{const _0x545df8=_0x3cc884;this[_0x545df8(0x1fc)]()[_0x545df8(0x1e9)](_0x191d05=>{const _0x215630=_0x545df8;_0x191d05&&(this[_0x215630(0x1bf)](),this[_0x215630(0x1db)]=!0x1);})[_0x545df8(0x1c6)](_0x5c9ec0=>{const _0x1e30c0=_0x545df8;this[_0x1e30c0(0x1bf)](),this[_0x1e30c0(0x1db)]=!0x1,function(_0x4326a3){const _0x2730a3=_0x1e30c0;return _0x4326a3[_0x2730a3(0x1d1)][_0x2730a3(0x171)](_0x2730a3(0x1eb))||_0x4326a3[_0x2730a3(0x1d1)][_0x2730a3(0x171)](_0x2730a3(0x146))||_0x4326a3[_0x2730a3(0x1d1)][_0x2730a3(0x171)](_0x2730a3(0x237));}(_0x5c9ec0)||this[_0x1e30c0(0x1c9)](_0x5c9ec0[_0x1e30c0(0x1d1)],_0x5c9ec0);});},this[_0x3cc884(0x1f2)]));}[_0x5d849d(0x154)](){return new Promise(_0x58c951=>{const _0x5bb355=_0xdbcd;this['on'](_0x5bb355(0x1d7),()=>{_0x58c951();});});}async[_0x5d849d(0x1fc)](){const _0x5fa38=_0x5d849d,_0x37f052=this[_0x5fa38(0x15a)][_0x5fa38(0x21e)][_0x5fa38(0x1b1)](_0x32d7c2);if(this[_0x5fa38(0x234)]()&&(_0x37f052[_0x5fa38(0x19e)](),this[_0x5fa38(0x1f0)]=!0x1),!this[_0x5fa38(0x193)]())return!0x0;const _0x30690b=[...this[_0x5fa38(0x220)]];for(const _0x319f9a of _0x30690b)_0x319f9a[_0x5fa38(0x239)]=this[_0x5fa38(0x199)][_0x5fa38(0x20f)][_0x5fa38(0x162)](_0x319f9a);const _0x33f5d7=this[_0x5fa38(0x22c)][_0x5fa38(0x23e)](_0x30690b),_0x1c12f7=G++,_0x4119c=this[_0x5fa38(0x23b)](_0x30690b),_0x5cbbb2=await this[_0x5fa38(0x203)][_0x5fa38(0x216)](_0x4119c,_0x4119c[_0x5fa38(0x1ab)],_0x33f5d7);try{return await this[_0x5fa38(0x17e)](_0x30690b,_0x5cbbb2,_0x1c12f7);}catch(_0x423585){return this[_0x5fa38(0x1c9)](_0x5fa38(0x1ed),_0x423585);}}async[_0x5d849d(0x17e)](_0x1b5a78,_0x4c00be,_0x529c35){const _0x30b7fc=_0x5d849d;if(_0x30b7fc(0x211)in _0x4c00be)throw _0x4c00be[_0x30b7fc(0x211)];let _0x13a533=!0x1;if(_0x4c00be[_0x30b7fc(0x202)]){_0x4c00be[_0x30b7fc(0x1b8)]&&(this[_0x30b7fc(0x229)]=_0x4c00be[_0x30b7fc(0x1b8)]),this[_0x30b7fc(0x220)]=this[_0x30b7fc(0x220)][_0x30b7fc(0x19c)](_0x287e7e=>!_0x1b5a78[_0x30b7fc(0x143)](_0x287e7e));for(const _0x59daf4 of _0x1b5a78)_0x59daf4[_0x30b7fc(0x20e)]=_0x30b7fc(0x22a)in _0x4c00be&&_0x4c00be[_0x30b7fc(0x22a)]||void 0x0;K(_0x1b5a78,_0x4c00be[_0x30b7fc(0x18f)]-_0x1b5a78[_0x30b7fc(0x1f5)]),this[_0x30b7fc(0x1e6)](_0x1b5a78);const _0x4b90c5=_0x1b5a78[_0x30b7fc(0x19c)](_0x3144b4=>{const _0x345162=_0x30b7fc;if(!_0x3144b4[_0x345162(0x1f9)])return!0x1;const _0x1038f9=this[_0x345162(0x217)](_0x3144b4);return _0x1038f9&&!this[_0x345162(0x232)][_0x345162(0x1a2)](_0x1038f9);});K(_0x4b90c5,this[_0x30b7fc(0x199)][_0x30b7fc(0x18f)]),this[_0x30b7fc(0x196)](_0x4b90c5),_0x13a533=!0x0,this[_0x30b7fc(0x1f2)]=this[_0x30b7fc(0x212)];}else{const _0x2c07d9=this[_0x30b7fc(0x17b)](_0x4c00be[_0x30b7fc(0x236)],_0x4c00be[_0x30b7fc(0x1e0)])[_0x30b7fc(0x19c)](_0x5ef529=>_0x5ef529[_0x30b7fc(0x1ab)]>=this[_0x30b7fc(0x18c)]);_0x2c07d9[_0x30b7fc(0x1d5)](_0x5ebb05=>this[_0x30b7fc(0x1a5)](_0x5ebb05)),this[_0x30b7fc(0x220)]=this[_0x30b7fc(0x220)][_0x30b7fc(0x19c)](_0x1d2800=>!_0x1d2800[_0x30b7fc(0x1f9)]||!this[_0x30b7fc(0x232)][_0x30b7fc(0x1a2)](this[_0x30b7fc(0x217)](_0x1d2800))),this[_0x30b7fc(0x220)][_0x30b7fc(0x1f5)]&&K(this[_0x30b7fc(0x220)],this[_0x30b7fc(0x220)][0x0][_0x30b7fc(0x1ab)]),await this[_0x30b7fc(0x1cb)](_0x2c07d9),_0x13a533=this[_0x30b7fc(0x1f4)](_0x2c07d9,_0x4c00be[_0x30b7fc(0x18f)],_0x4c00be[_0x30b7fc(0x1b8)]),this[_0x30b7fc(0x1f2)]=Math[_0x30b7fc(0x1c7)](this[_0x30b7fc(0x1f2)]/0x2);}return _0x13a533?!this[_0x30b7fc(0x193)]()||(this[_0x30b7fc(0x22e)](!0x0),!0x1):this[_0x30b7fc(0x1c9)](_0x30b7fc(0x182));}[_0x5d849d(0x1f4)](_0x418a4c,_0x1976da,_0x3627c9){const _0x3d15f1=_0x5d849d;try{const _0x551bcb={'document':this[_0x3d15f1(0x199)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x506363,operationsB:_0x4f067b,originalOperations:_0x4eb3b0}=_0x311240(_0x418a4c,this[_0x3d15f1(0x220)],_0x551bcb);K(_0x506363,this[_0x3d15f1(0x199)][_0x3d15f1(0x18f)]),K(_0x4f067b,_0x1976da);for(const _0x442481 of _0x506363){const _0x21e1f6=_0x4eb3b0[_0x3d15f1(0x1b1)](_0x442481);_0x442481[_0x3d15f1(0x14e)]=_0x21e1f6?_0x21e1f6[_0x3d15f1(0x14e)]:null;}_0x3627c9&&(this[_0x3d15f1(0x22c)][_0x3d15f1(0x17d)](_0x418a4c,_0x3627c9),this[_0x3d15f1(0x229)]=_0x3627c9),this[_0x3d15f1(0x220)]=[..._0x4f067b],this[_0x3d15f1(0x196)](_0x506363),this[_0x3d15f1(0x1e6)](_0x418a4c);}catch(_0xd616be){return console[_0x3d15f1(0x211)](_0xd616be),!0x1;}return!0x0;}[_0x5d849d(0x196)](_0x15ff0b,_0x5245c9=!0x1){const _0x46bce1=_0x5d849d;this[_0x46bce1(0x15a)][_0x46bce1(0x20d)][_0x46bce1(0x1f1)]({'isUndoable':!0x1,'isLocal':!0x1},_0x6e9f15=>{const _0x5b2612=_0x46bce1;for(const _0x6d456c of _0x15ff0b)this[_0x5b2612(0x189)][_0x5b2612(0x175)](_0x6d456c),this[_0x5b2612(0x1a5)](_0x6d456c),_0x6e9f15[_0x5b2612(0x14b)][_0x5b2612(0x14d)](_0x6d456c),this[_0x5b2612(0x15a)][_0x5b2612(0x20d)][_0x5b2612(0x1fb)](_0x6d456c);});}[_0x5d849d(0x1a5)](_0x1bab72){const _0x17e01e=_0x5d849d,_0x1acdd4=this[_0x17e01e(0x217)](_0x1bab72);_0x1acdd4&&this[_0x17e01e(0x232)][_0x17e01e(0x175)](_0x1acdd4);}[_0x5d849d(0x217)](_0x3d5bc1){const _0x5c547a=_0x5d849d;let _0x28042b,_0x8ab51;switch(_0x3d5bc1[_0x5c547a(0x195)]){case _0x5c547a(0x1b6):_0x28042b=_0x3d5bc1[_0x5c547a(0x148)][_0x5c547a(0x1d8)];break;case _0x5c547a(0x170):if(_0x8ab51=_0x3d5bc1[_0x5c547a(0x16e)],!_0x8ab51)return null;_0x28042b=_0x8ab51[_0x5c547a(0x1d8)];break;case _0x5c547a(0x1f3):_0x28042b=_0x3d5bc1[_0x5c547a(0x1d8)];break;case _0x5c547a(0x210):_0x28042b=_0x3d5bc1[_0x5c547a(0x1b9)];break;case _0x5c547a(0x147):_0x28042b=_0x3d5bc1[_0x5c547a(0x181)][_0x5c547a(0x1d8)];break;default:return null;}return _0x28042b[_0x5c547a(0x13f)];}[_0x5d849d(0x1e6)](_0x282af2){const _0x100a20=_0x5d849d;_0x282af2[_0x100a20(0x1d5)](_0x29cdbf=>{const _0x5ce4c8=_0x100a20,_0x5e7e69=_0x29cdbf[_0x5ce4c8(0x1ca)]();_0x5e7e69[_0x5ce4c8(0x14e)]=_0x29cdbf[_0x5ce4c8(0x14e)],_0x5e7e69[_0x5ce4c8(0x1f9)]=!!_0x29cdbf[_0x5ce4c8(0x1f9)],_0x5e7e69[_0x5ce4c8(0x20e)]=_0x29cdbf[_0x5ce4c8(0x20e)],_0x5e7e69[_0x5ce4c8(0x1ab)]+=this[_0x5ce4c8(0x213)],_0x29cdbf[_0x5ce4c8(0x191)]&&this[_0x5ce4c8(0x228)][_0x5ce4c8(0x175)](_0x5e7e69),this[_0x5ce4c8(0x145)][_0x5ce4c8(0x14d)](_0x5e7e69);});}[_0x5d849d(0x23c)](_0x1a8388){const _0x4e9da0=_0x5d849d,_0x112283=this[_0x4e9da0(0x15a)][_0x4e9da0(0x21e)][_0x4e9da0(0x1b1)](_0x4e9da0(0x1c4)),_0x252a5a=this[_0x4e9da0(0x15a)][_0x4e9da0(0x1c8)];_0x1a8388||(_0x1a8388=_0x210617(_0x252a5a,_0x4e9da0(0x1ec))),_0x112283[_0x4e9da0(0x1c1)](_0x1a8388,{'title':_0x210617(_0x252a5a,_0x4e9da0(0x183)),'namespace':_0x4e9da0(0x1d3)}),this[_0x4e9da0(0x177)]=!0x0,clearTimeout(this[_0x4e9da0(0x219)]),this[_0x4e9da0(0x220)]=[],this[_0x4e9da0(0x15a)][_0x4e9da0(0x21e)][_0x4e9da0(0x1b1)](_0x128b01)[_0x4e9da0(0x1f7)]();}[_0x5d849d(0x155)](){const _0x128f52=_0x5d849d;this[_0x128f52(0x21a)]||(this[_0x128f52(0x21a)]=this[_0x128f52(0x15a)][_0x128f52(0x21e)][_0x128f52(0x1b1)](_0x251430)[_0x128f52(0x175)](_0x210617(this[_0x128f52(0x15a)][_0x128f52(0x1c8)],_0x128f52(0x19b))));}[_0x5d849d(0x1bf)](){const _0x1ea062=_0x5d849d;this[_0x1ea062(0x21a)]&&(this[_0x1ea062(0x15a)][_0x1ea062(0x21e)][_0x1ea062(0x1b1)](_0x251430)[_0x1ea062(0x1b2)](this[_0x1ea062(0x21a)]),this[_0x1ea062(0x21a)]=null);}[_0x5d849d(0x23b)](_0x7f1e5c){const _0xd5d11b=_0x5d849d,_0x478262=_0x7f1e5c[_0xd5d11b(0x23f)](_0xbbcae2=>_0xbbcae2[_0xd5d11b(0x142)]());return this[_0xd5d11b(0x1af)][_0xd5d11b(0x1ac)](_0x478262);}[_0x5d849d(0x17b)](_0x1c58b1,_0x416d15){const _0x23395a=_0x5d849d;return this[_0x23395a(0x1af)][_0x23395a(0x1a8)](_0x1c58b1)[_0x23395a(0x23f)]((_0x2c4b80,_0x3d44f5)=>{const _0x4faeaf=_0x23395a,_0x406498=_0x4faeaf(0x222)==_0x416d15[_0x3d44f5][_0x4faeaf(0x195)];if(_0x4faeaf(0x16f)==_0x2c4b80[_0x4faeaf(0x1b0)]){const _0x21398d=_0x2c4b80[_0x4faeaf(0x148)][_0x4faeaf(0x1d8)];!this[_0x4faeaf(0x199)][_0x4faeaf(0x15c)](_0x21398d)&&(this[_0x4faeaf(0x199)][_0x4faeaf(0x192)](_0x4faeaf(0x231),_0x21398d)[_0x4faeaf(0x164)]=!0x1);}const _0x1de9a9=_0x2ead6e[_0x4faeaf(0x153)](_0x2c4b80,this[_0x4faeaf(0x199)]);return _0x1de9a9[_0x4faeaf(0x239)]=_0x2c4b80[_0x4faeaf(0x239)],_0x1de9a9[_0x4faeaf(0x1f9)]=_0x406498,_0x1de9a9[_0x4faeaf(0x14e)]=_0x406498?null:_0x416d15[_0x3d44f5][_0x4faeaf(0x19a)],_0x1de9a9[_0x4faeaf(0x191)]=_0x4faeaf(0x1c3)===_0x416d15[_0x3d44f5][_0x4faeaf(0x195)],_0x1de9a9[_0x4faeaf(0x20e)]=_0x416d15[_0x3d44f5][_0x4faeaf(0x20e)],_0x1de9a9;});}[_0x5d849d(0x15d)](){const _0x5456d5=_0x5d849d;this[_0x5456d5(0x1f0)]=!0x0,this[_0x5456d5(0x234)]()?this[_0x5456d5(0x22e)]():this[_0x5456d5(0x1f0)]=!0x1;}[_0x5d849d(0x234)](){const _0x25d6d7=_0x5d849d,_0x24cba5=this[_0x25d6d7(0x15a)][_0x25d6d7(0x21e)][_0x25d6d7(0x1b1)](_0x29d56b)[_0x25d6d7(0x160)][_0x25d6d7(0x1b1)](this[_0x25d6d7(0x227)]);return!this[_0x25d6d7(0x15a)][_0x25d6d7(0x20b)]&&!!_0x24cba5&&_0x24cba5[_0x25d6d7(0x1f5)]>0x1&&this[_0x25d6d7(0x1f0)];}[_0x5d849d(0x193)](){const _0x502565=_0x5d849d;return this[_0x502565(0x220)][_0x502565(0x1f5)]>0x0||this[_0x502565(0x234)]();}}class $ extends Error{}function K(_0x27a5b3,_0x1cfcbc){const _0xc062ba=_0x5d849d;for(const _0x35ca4c of _0x27a5b3)_0x35ca4c[_0xc062ba(0x1ab)]=_0x1cfcbc++;}class J{[_0x5d849d(0x188)];[_0x5d849d(0x205)];constructor(_0x50cd40){const _0xfa9b50=_0x5d849d;this[_0xfa9b50(0x188)]=_0x50cd40,this[_0xfa9b50(0x205)]=new WeakMap();}[_0x5d849d(0x23e)](_0x3fc818){const _0x260ecd=_0x5d849d;let _0x161e35=_0x3fc818[_0x260ecd(0x1f5)];for(;_0x161e35--;){const _0x197cc8=_0x3fc818[_0x161e35];if(!this[_0x260ecd(0x188)][_0x260ecd(0x1a2)](_0x197cc8)){if(!this[_0x260ecd(0x205)][_0x260ecd(0x1a2)](_0x197cc8)){const _0x32ee48=_0x148077()[_0x260ecd(0x244)](0x1,0x12);this[_0x260ecd(0x205)][_0x260ecd(0x209)](_0x197cc8,_0x32ee48);}return this[_0x260ecd(0x205)][_0x260ecd(0x1b1)](_0x197cc8);}}}[_0x5d849d(0x17d)](_0x2dc969,_0x5aca31){const _0x5558be=_0x5d849d;if(!_0x5aca31)return;let _0x4616b3=_0x2dc969[_0x5558be(0x1f5)];for(;_0x4616b3--;){const _0x220def=_0x2dc969[_0x4616b3];this[_0x5558be(0x188)][_0x5558be(0x1a2)](_0x220def)||this[_0x5558be(0x205)][_0x5558be(0x209)](_0x220def,_0x5aca31);}}}
|
|
23
|
+
const _0x34734c=_0x16b3;(function(_0x240fb8,_0x3f672d){const _0x17935f=_0x16b3,_0x2dc042=_0x240fb8();while(!![]){try{const _0x45546a=parseInt(_0x17935f(0x181))/0x1+parseInt(_0x17935f(0x14f))/0x2*(-parseInt(_0x17935f(0x173))/0x3)+-parseInt(_0x17935f(0x131))/0x4*(parseInt(_0x17935f(0x198))/0x5)+parseInt(_0x17935f(0x1b1))/0x6*(parseInt(_0x17935f(0x184))/0x7)+-parseInt(_0x17935f(0x182))/0x8+-parseInt(_0x17935f(0x1eb))/0x9*(parseInt(_0x17935f(0x19f))/0xa)+-parseInt(_0x17935f(0x103))/0xb*(-parseInt(_0x17935f(0x148))/0xc);if(_0x45546a===_0x3f672d)break;else _0x2dc042['push'](_0x2dc042['shift']());}catch(_0x2b83eb){_0x2dc042['push'](_0x2dc042['shift']());}}}(_0x4b89,0x3e130));import{Plugin as _0x588a2f,PendingActions as _0x544a7f}from'ckeditor5/src/core.js';import{CKEditorError as _0x2f849e,version as _0x1f56ea,uid as _0x21adc6}from'ckeditor5/src/utils.js';import{Notification as _0x2cf501}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x38bb68,NoOperation as _0x286b9d,InsertOperation as _0x19c6f9,MarkerOperation as _0x3044bb,RootAttributeOperation as _0x12dd06,OperationFactory as _0x11dfbb,History as _0x516b6b}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x27fc8c}from'./websocketgateway.js';import{Sessions as _0x271027}from'./sessions.js';import{UserMarkers as _0x55ae5f}from'./usermarkers.js';import{getTranslation as _0x289ccc}from'../common-translations.js';import{Compressor as _0xd8f597}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x35c07b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x18a5fa,CollaborativeEditingService as _0x5a9f9e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x16b3(_0x450642,_0x417aa1){const _0x4b89cd=_0x4b89();return _0x16b3=function(_0x16b345,_0x1cf398){_0x16b345=_0x16b345-0xf3;let _0x32a10=_0x4b89cd[_0x16b345];return _0x32a10;},_0x16b3(_0x450642,_0x417aa1);}let q=0x1;export class RealTimeCollaborationClient extends _0x588a2f{static [_0x34734c(0x1b9)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5a9f9e)());[_0x34734c(0x1f4)];[_0x34734c(0x138)];[_0x34734c(0x165)];[_0x34734c(0x153)];[_0x34734c(0xf7)];[_0x34734c(0xff)];[_0x34734c(0x1e2)];[_0x34734c(0x156)];[_0x34734c(0x1a6)];[_0x34734c(0x1df)];[_0x34734c(0x1cd)];[_0x34734c(0xf5)];[_0x34734c(0x12e)];[_0x34734c(0x160)];[_0x34734c(0x15d)];[_0x34734c(0x1bb)];[_0x34734c(0x10f)];[_0x34734c(0x19e)];static get[_0x34734c(0xfa)](){return[_0x27fc8c,_0x271027,_0x55ae5f,_0x544a7f,_0x35c07b,_0x2cf501];}static get[_0x34734c(0x12f)](){const _0x4c9ea6=_0x34734c;return _0x4c9ea6(0x1a9);}static get[_0x34734c(0x161)](){return!0x0;}static get[_0x34734c(0x159)](){return!0x0;}get[_0x34734c(0x146)](){const _0x2bd41c=_0x34734c;return this[_0x2bd41c(0x128)]+this[_0x2bd41c(0x1f4)];}get[_0x34734c(0x128)](){const _0x27111c=_0x34734c;return this[_0x27111c(0x165)][_0x27111c(0x166)]-this[_0x27111c(0x1f4)];}get[_0x34734c(0x110)](){const _0x1e22ab=_0x34734c,_0x2bde80=this[_0x1e22ab(0x165)][_0x1e22ab(0x1d0)]();for(let _0x1fff7e=_0x2bde80[_0x1e22ab(0x176)]-0x1;_0x1fff7e>=0x0;_0x1fff7e--){const _0x36b6bf=_0x2bde80[_0x1fff7e];if(!this[_0x1e22ab(0x10f)][_0x1e22ab(0x15a)](_0x36b6bf))return _0x36b6bf[_0x1e22ab(0x125)]+0x1-this[_0x1e22ab(0x1f4)];}return 0x0;}constructor(_0x58cbfc){const _0x170afe=_0x34734c;if(super(_0x58cbfc),this[_0x170afe(0x1f4)]=0x0,this[_0x170afe(0x138)]=null,this[_0x170afe(0x165)]=new _0x516b6b(),this[_0x170afe(0x1b4)][_0x170afe(0x12d)][_0x170afe(0x187)](_0x170afe(0x19a),{}),this[_0x170afe(0x153)]=this[_0x170afe(0x1b4)][_0x170afe(0x12d)][_0x170afe(0x16b)](_0x170afe(0x12c)),!this[_0x170afe(0x153)])throw new _0x2f849e(_0x170afe(0x100),this);const _0xf51c4=_0x58cbfc[_0x170afe(0x12d)][_0x170afe(0x16b)](_0x170afe(0x18c))||_0x1f56ea;this[_0x170afe(0xf7)]=new RealTimeCollaborationClient[(_0x170afe(0x1b9))](_0xf51c4,this[_0x170afe(0x153)]),this[_0x170afe(0xff)]=this[_0x170afe(0x1b4)][_0x170afe(0x1d2)][_0x170afe(0x17f)],this[_0x170afe(0x1e2)]=new _0xd8f597(),this[_0x170afe(0x156)]=[],this[_0x170afe(0x1a6)]=new WeakSet(),this[_0x170afe(0x1df)]=new Set(),this[_0x170afe(0x111)](_0x170afe(0x1be),!0x1),this[_0x170afe(0x111)](_0x170afe(0x1dd),!0x1),this[_0x170afe(0x1cd)]=null,this[_0x170afe(0xf5)]=!0x1,this[_0x170afe(0x12e)]=null,this[_0x170afe(0x160)]=0x12c,this[_0x170afe(0x15d)]=this[_0x170afe(0x160)],this[_0x170afe(0x1bb)]=null,this[_0x170afe(0x10f)]=new WeakSet(),this[_0x170afe(0x19e)]=new OperationIdentifier(this[_0x170afe(0x10f)]);}[_0x34734c(0x1f1)](){const _0x154229=_0x34734c,_0x44d37e=this[_0x154229(0x1b4)],_0x3c63c5=_0x44d37e[_0x154229(0x11d)][_0x154229(0x16b)](_0x35c07b),_0x58611d=_0x44d37e[_0x154229(0x11d)][_0x154229(0x16b)](_0x27fc8c);this[_0x154229(0x1ee)](_0x3c63c5,_0x154229(0x17e),(_0x53cf90,_0x414fa2)=>{const _0x2b3c80=_0x154229,_0x454a5b=_0x414fa2[0x0];_0x454a5b[_0x2b3c80(0x139)]&&(_0x53cf90[_0x2b3c80(0x1ae)]=_0x3c63c5[_0x2b3c80(0x1d3)](_0x454a5b[_0x2b3c80(0x139)]),_0x53cf90[_0x2b3c80(0x192)]()),null===_0x454a5b[_0x2b3c80(0x139)]&&(_0x53cf90[_0x2b3c80(0x1ae)]=null,_0x53cf90[_0x2b3c80(0x192)]());},{'priority':_0x154229(0x175)}),this[_0x154229(0x1ee)](_0x44d37e[_0x154229(0x1d2)][_0x154229(0x17f)][_0x154229(0x1a2)],_0x154229(0x1b6),(_0x448eea,_0x471ca1)=>{const _0x3f30e9=_0x154229;_0x471ca1[_0x3f30e9(0x1f0)]&&this[_0x3f30e9(0x1f5)]();}),this[_0x154229(0x1ee)](_0x44d37e[_0x154229(0x135)][_0x154229(0x1c8)],_0x154229(0x127),()=>{const _0x2483a5=_0x154229;this[_0x2483a5(0x1f5)]();}),this[_0x154229(0x12b)](),_0x44d37e[_0x154229(0x1d2)]['on'](_0x154229(0x11c),(_0x46fbe4,_0x2202a1)=>{const _0x2af4ca=_0x154229,_0x471e18=_0x2202a1[0x0];_0x471e18[_0x2af4ca(0x1cc)]&&(this[_0x2af4ca(0x1f8)](_0x471e18),this[_0x2af4ca(0x16d)]()&&this[_0x2af4ca(0x117)]());}),this[_0x154229(0x18d)](),this[_0x154229(0x15e)](_0x154229(0x1cf))['to'](_0x58611d,_0x154229(0x10d),this,_0x154229(0x1dd),(_0x6bb0d4,_0x3756bf)=>_0x154229(0x1e5)===_0x6bb0d4&&!_0x3756bf),this['on'](_0x154229(0x11a),()=>{const _0xbedc6d=_0x154229;this[_0xbedc6d(0x1cf)]?_0x44d37e[_0xbedc6d(0x1bd)](_0xbedc6d(0x1ef)):_0x44d37e[_0xbedc6d(0x1e0)](_0xbedc6d(0x1ef));}),this[_0x154229(0x1cf)]?_0x44d37e[_0x154229(0x1bd)](_0x154229(0x1ef)):_0x44d37e[_0x154229(0x1e0)](_0x154229(0x1ef)),this[_0x154229(0x111)](_0x154229(0x1f2),!0x1);}async[_0x34734c(0x1c5)](){const _0xb89120=_0x34734c,_0x3b7dba=this[_0xb89120(0x1b4)][_0xb89120(0x11d)][_0xb89120(0x16b)](_0x271027),_0x51ecfa=this[_0xb89120(0x1b4)][_0xb89120(0x11d)][_0xb89120(0x16b)](_0x27fc8c);try{this[_0xb89120(0x1be)]=!0x0,_0x3b7dba[_0xb89120(0x189)](this[_0xb89120(0x153)]);const _0x4af2fa=await this[_0xb89120(0xf7)][_0xb89120(0x1c5)](_0x51ecfa[_0xb89120(0x1a1)],this[_0xb89120(0x110)]);await this[_0xb89120(0x109)](_0x4af2fa)&&(this[_0xb89120(0x1be)]=!0x1,this[_0xb89120(0xf9)]());const _0x215aaa=await this[_0xb89120(0xf7)][_0xb89120(0x1bc)]();_0x3b7dba[_0xb89120(0x123)](this[_0xb89120(0x153)],_0x215aaa),this[_0xb89120(0x105)](),this[_0xb89120(0x1f2)]=!0x0;}catch(_0xb2feb){if(function(_0x3e5147){const _0x307228=_0xb89120;return _0x307228(0x1cb)===_0x3e5147[_0x307228(0x11b)];}(_0xb2feb)&&this[_0xb89120(0x138)])await this[_0xb89120(0x170)]();else{if(function(_0x157b7e){const _0x50daf7=_0xb89120;return _0x50daf7(0x1a8)===_0x157b7e[_0x50daf7(0x11b)];}(_0xb2feb)){const _0x17cc79=_0x289ccc(this[_0xb89120(0x1b4)][_0xb89120(0x178)],_0xb89120(0x118));this[_0xb89120(0x152)](_0x17cc79);}else{if(!(_0xb2feb instanceof ReconnectionError))throw _0xb2feb;this[_0xb89120(0x152)]();}}}}[_0x34734c(0x106)](){const _0x528379=_0x34734c,_0x2c452b=this[_0x528379(0x1b4)][_0x528379(0x11d)][_0x528379(0x16b)](_0x27fc8c),_0x183273=this[_0x528379(0x1b4)][_0x528379(0x11d)][_0x528379(0x16b)](_0x271027);this[_0x528379(0x1b4)][_0x528379(0x1e0)](_0x528379(0x101)),_0x183273[_0x528379(0x1c4)][_0x528379(0x15a)](this[_0x528379(0x153)])&&_0x183273[_0x528379(0x189)](this[_0x528379(0x153)]),_0x2c452b[_0x528379(0x186)](this),this[_0x528379(0x1af)](),super[_0x528379(0x106)]();}async[_0x34734c(0x109)](_0x4b12cb){const _0x3f8f3f=_0x34734c;if(this[_0x3f8f3f(0x138)]!==_0x4b12cb[_0x3f8f3f(0x138)]&&this[_0x3f8f3f(0x1bb)]!==_0x4b12cb[_0x3f8f3f(0x1aa)])throw new ReconnectionError();return this[_0x3f8f3f(0x138)]=_0x4b12cb[_0x3f8f3f(0x138)],this[_0x3f8f3f(0x18e)]([],{..._0x4b12cb,'wereChangesApplied':!0x1,'data':_0x4b12cb[_0x3f8f3f(0x140)]},_0x3f8f3f(0x1c5));}async[_0x34734c(0x18f)](_0x246bc2,_0x27ffea=!0x1){const _0x204510=_0x34734c,{connection:_0x253b11}=this[_0x204510(0x1b4)][_0x204510(0x11d)][_0x204510(0x16b)](_0x27fc8c);RealTimeCollaborationClient[_0x204510(0x1b9)][_0x204510(0x1bc)](_0x253b11,this[_0x204510(0x153)])[_0x204510(0x142)](_0x5b7f25=>this[_0x204510(0x1fa)](_0x5b7f25))[_0x204510(0x1e3)](_0xc7a8fd=>{const _0xdd7e4b=_0x204510;this[_0xdd7e4b(0x179)](_0xdd7e4b(0x194),_0xc7a8fd);}),this[_0x204510(0x1ee)](this[_0x204510(0xf7)],_0x204510(0x1ad),this[_0x204510(0x13b)][_0x204510(0x15e)](this)),this[_0x204510(0x1ee)](this[_0x204510(0xf7)],_0x204510(0x15c),(_0x1f5968,_0x261447)=>{const _0x5acfa7=_0x204510;this[_0x5acfa7(0x179)](_0x5acfa7(0x13e),_0x261447);}),this[_0x204510(0x1ee)](this[_0x204510(0xf7)],_0x204510(0x122),()=>{const _0x157089=_0x204510;this[_0x157089(0x1f2)]=!0x1;});const _0x3d4c4e=this[_0x204510(0x19e)][_0x204510(0x17b)](_0x246bc2);this[_0x204510(0x1be)]=!0x0;const _0xb5115b=await this[_0x204510(0xf7)][_0x204510(0x1ab)](_0x253b11,this[_0x204510(0x141)](_0x246bc2),_0x3d4c4e);if(this[_0x204510(0x138)]=_0xb5115b[_0x204510(0x138)],_0x27ffea){if(!_0xb5115b[_0x204510(0x136)])return void this[_0x204510(0x152)]();this[_0x204510(0x1be)]=!0x1,this[_0x204510(0xf9)](),this[_0x204510(0x165)][_0x204510(0x10a)](),this[_0x204510(0x1f4)]=_0xb5115b[_0x204510(0x104)],this[_0x204510(0x165)][_0x204510(0x166)]=this[_0x204510(0x1f4)],await this[_0x204510(0x18e)](_0x246bc2,_0xb5115b,_0x204510(0xf8));}else await this[_0x204510(0x1f7)](_0xb5115b,_0x246bc2);this[_0x204510(0x105)](),this[_0x204510(0x1f2)]=!0x0;}[_0x34734c(0x105)](){const _0x2b103f=_0x34734c,_0x20eaba=this[_0x2b103f(0x1b4)][_0x2b103f(0x11d)][_0x2b103f(0x16b)](_0x271027),_0x3ffcd5=this[_0x2b103f(0x1b4)][_0x2b103f(0x11d)][_0x2b103f(0x16b)](_0x55ae5f),_0x5b48d0=_0x20eaba[_0x2b103f(0x1c4)][_0x2b103f(0x16b)](this[_0x2b103f(0x153)]);_0x5b48d0&&_0x5b48d0[_0x2b103f(0x176)]>0x1?_0x3ffcd5[_0x2b103f(0x120)]():this[_0x2b103f(0x1ee)](_0x20eaba,_0x2b103f(0x1db)+this[_0x2b103f(0x153)],()=>{const _0x906c09=_0x2b103f;0x2===_0x20eaba[_0x906c09(0x1c4)][_0x906c09(0x16b)](this[_0x906c09(0x153)])[_0x906c09(0x176)]&&_0x3ffcd5[_0x906c09(0x120)]();});}async[_0x34734c(0x13b)](_0x393e29,_0x3576b1,_0x126d4e,_0xda47fe){const _0x59cb8b=_0x34734c;if(!this[_0x59cb8b(0x1be)]&&this[_0x59cb8b(0xff)][_0x59cb8b(0x166)]==_0x3576b1){const _0x7f7122=this[_0x59cb8b(0x174)](_0x126d4e,_0xda47fe);await this[_0x59cb8b(0x1e4)](_0x7f7122),this[_0x59cb8b(0x1de)](_0x7f7122,_0x3576b1,_0x126d4e[_0x59cb8b(0x1aa)])||this[_0x59cb8b(0x179)](_0x59cb8b(0x1a5));}}async[_0x34734c(0x170)](){const _0x5948d1=_0x34734c;this[_0x5948d1(0x1af)]();const {locale:_0x4e8f71}=this[_0x5948d1(0x1b4)];let _0x28aaa8;try{_0x28aaa8=await this[_0x5948d1(0xf7)][_0x5948d1(0x1ba)]();}catch{const _0x50a0ec=_0x289ccc(_0x4e8f71,_0x5948d1(0x108));return void this[_0x5948d1(0x152)](_0x50a0ec);}const _0x24f0a1=_0x28aaa8[_0x5948d1(0x1b3)]||_0x28aaa8[_0x5948d1(0x1c0)];if(this[_0x5948d1(0x1bb)]!==_0x24f0a1[_0x5948d1(0x1aa)]){const _0x489df7=_0x289ccc(_0x4e8f71,_0x5948d1(0x177));return void this[_0x5948d1(0x152)](_0x489df7);}await this[_0x5948d1(0x18f)](this[_0x5948d1(0x1b4)][_0x5948d1(0x1d2)][_0x5948d1(0x17f)][_0x5948d1(0x12a)][_0x5948d1(0x1d0)](),!0x0);}[_0x34734c(0x1af)](){const _0x12b806=_0x34734c;this[_0x12b806(0xf7)][_0x12b806(0x144)](),this[_0x12b806(0x156)]=[],clearTimeout(this[_0x12b806(0x12e)]),this[_0x12b806(0x1e1)](this[_0x12b806(0xf7)]);}[_0x34734c(0x1fa)](_0x4645cf){const _0x282ab8=_0x34734c,_0x4c4843=this[_0x282ab8(0x1b4)][_0x282ab8(0x11d)][_0x282ab8(0x16b)](_0x271027);this[_0x282ab8(0x1ee)](_0x4c4843,_0x282ab8(0x1db)+this[_0x282ab8(0x153)],(_0x529bd1,{session:_0x443f7a})=>{const _0x5d766c=_0x282ab8;if(_0x443f7a['id']===_0x4c4843[_0x5d766c(0x1d6)]){_0x529bd1[_0x5d766c(0x149)]();const _0x589de0=this[_0x5d766c(0x1b4)][_0x5d766c(0x11d)][_0x5d766c(0x15a)](_0x5d766c(0x14c))&&this[_0x5d766c(0x1b4)][_0x5d766c(0x11d)][_0x5d766c(0x16b)](_0x5d766c(0x14c));let _0x514477=_0x443f7a[_0x5d766c(0x1ec)];_0x589de0&&_0x589de0[_0x5d766c(0x1b5)]&&(_0x514477=_0x514477[_0x5d766c(0x113)](_0x5e494f=>_0x5d766c(0x172)!==_0x5e494f)),this[_0x5d766c(0x1b4)][_0x5d766c(0x11d)][_0x5d766c(0x16b)](_0x5d766c(0x1a4))[_0x5d766c(0x19c)](_0x514477,this[_0x5d766c(0x153)]);}}),_0x4c4843[_0x282ab8(0x123)](this[_0x282ab8(0x153)],_0x4645cf);}[_0x34734c(0x12b)](){const _0x4f9d42=_0x34734c,_0x4e4259=this[_0x4f9d42(0x1b4)][_0x4f9d42(0x140)][_0x4f9d42(0x111)];this[_0x4f9d42(0x1b4)][_0x4f9d42(0x140)][_0x4f9d42(0x111)]=(..._0x120698)=>{const _0x2d9c74=_0x4f9d42;if(!_0x120698[_0x120698[_0x2d9c74(0x176)]-0x1][_0x2d9c74(0x18a)])throw new _0x2f849e(_0x2d9c74(0x17d),this);_0x4e4259[_0x2d9c74(0x164)](this[_0x2d9c74(0x1b4)][_0x2d9c74(0x140)],_0x120698);};}[_0x34734c(0x18d)](){const _0x38f063=_0x34734c;this[_0x38f063(0x1b4)][_0x38f063(0x140)]['on'](_0x38f063(0x1f1),(_0x5917f4,[_0x1aa3e9])=>{const _0x2e8d8c=_0x38f063;if(this[_0x2e8d8c(0xff)][_0x2e8d8c(0x166)])throw new _0x2f849e(_0x2e8d8c(0xf6),this);_0x5917f4[_0x2e8d8c(0x192)](),this[_0x2e8d8c(0x145)]();const _0x1f0b17=this[_0x2e8d8c(0x1b4)][_0x2e8d8c(0x12d)][_0x2e8d8c(0x16b)](_0x2e8d8c(0x180)),_0x2e02ad=this[_0x2e8d8c(0x193)](_0x1aa3e9,_0x1f0b17);0x0==_0x2e02ad[_0x2e8d8c(0x176)]&&_0x2e02ad[_0x2e8d8c(0xfb)](new _0x286b9d(0x0)),_0x5917f4[_0x2e8d8c(0x1ae)]=this[_0x2e8d8c(0x18f)](_0x2e02ad)[_0x2e8d8c(0x142)](()=>{const _0x3dfcc2=_0x2e8d8c;this[_0x3dfcc2(0x1b4)][_0x3dfcc2(0x11d)][_0x3dfcc2(0x16b)](_0x27fc8c)[_0x3dfcc2(0x121)](this),this[_0x3dfcc2(0x1b4)][_0x3dfcc2(0x140)][_0x3dfcc2(0x1e6)](_0x3dfcc2(0x1a3));})[_0x2e8d8c(0x1e3)](_0x3ead52=>this[_0x2e8d8c(0x179)](_0x2e8d8c(0x116),_0x3ead52))[_0x2e8d8c(0x1bf)](()=>this[_0x2e8d8c(0xf9)]());},{'priority':_0x38f063(0x175)}),this[_0x38f063(0x1b4)]['on'](_0x38f063(0x16e),async(_0x1d4d91,[_0x519476,_0xacf1e3])=>{const _0x5923c8=_0x38f063;_0x1d4d91[_0x5923c8(0x192)]();const _0x35f2c1=this[_0x5923c8(0x1b4)][_0x5923c8(0x1d2)][_0x5923c8(0x17f)][_0x5923c8(0xfd)](_0x519476);if(!this[_0x5923c8(0x1df)][_0x5923c8(0x15a)](_0x519476)){const _0xc95803=_0xacf1e3&&_0xacf1e3[_0x5923c8(0x140)]?_0xacf1e3[_0x5923c8(0x140)]:'',_0x138293=_0xacf1e3&&_0xacf1e3[_0x5923c8(0x1c9)]?_0xacf1e3[_0x5923c8(0x1c9)]:{};await this[_0x5923c8(0x14d)](_0x519476,_0xc95803,_0x138293);}this[_0x5923c8(0x1b4)][_0x5923c8(0x1d2)][_0x5923c8(0x1c6)]({'isUndoable':!0x1},()=>{const _0x5b1fca=_0x5923c8;_0x35f2c1[_0x5b1fca(0x19d)]=!0x0,this[_0x5b1fca(0x1b4)][_0x5b1fca(0x1d2)][_0x5b1fca(0x17f)][_0x5b1fca(0xfc)][_0x5b1fca(0x1a0)](_0x35f2c1);});},{'priority':_0x38f063(0x175)});}async[_0x34734c(0x1e4)](_0x1322d3){const _0x16b06e=_0x34734c,_0x24066a=this[_0x16b06e(0x1b4)][_0x16b06e(0x11d)][_0x16b06e(0x16b)](_0x35c07b),{connection:_0x5e9a1b}=this[_0x16b06e(0x1b4)][_0x16b06e(0x11d)][_0x16b06e(0x16b)](_0x27fc8c),_0x18f532=new Set();for(const _0x55ea79 of _0x1322d3){const _0x28f16e=_0x55ea79[_0x16b06e(0x139)];_0x28f16e&&!_0x24066a[_0x16b06e(0x1d3)](_0x28f16e)&&_0x18f532[_0x16b06e(0x16c)](_0x28f16e);}if(0x0===_0x18f532[_0x16b06e(0x126)])return;const _0x1a4c4f=await _0x18a5fa[_0x16b06e(0x13f)](_0x5e9a1b,Array[_0x16b06e(0x1e7)](_0x18f532));for(const _0x132894 of _0x1a4c4f)_0x24066a[_0x16b06e(0x1d3)](_0x132894['id'])||_0x24066a[_0x16b06e(0x1a7)](_0x132894);}[_0x34734c(0x193)](_0x1e8eae,_0x322be0={}){const _0x3cfbc8=_0x34734c,_0x47b198=this[_0x3cfbc8(0x1b4)][_0x3cfbc8(0x1d2)],_0x3466ff=[];let _0x292399=0x0;const _0x17b2a1=_0x3cfbc8(0x1f6)==typeof _0x1e8eae?{'main':_0x1e8eae}:_0x1e8eae;for(const _0x3eb6bc of Object[_0x3cfbc8(0x18b)](_0x17b2a1)){if(!this[_0x3cfbc8(0xff)][_0x3cfbc8(0x15f)][_0x3cfbc8(0x15a)](_0x3eb6bc))throw new _0x2f849e(_0x3cfbc8(0x1b8),this);const _0x25edb7=this[_0x3cfbc8(0x1b4)][_0x3cfbc8(0x140)][_0x3cfbc8(0x1b7)](_0x17b2a1[_0x3eb6bc]),_0x5f068e=this[_0x3cfbc8(0xff)][_0x3cfbc8(0xfd)](_0x3eb6bc),_0x2ead4f=new _0x19c6f9(_0x47b198[_0x3cfbc8(0x1c2)](_0x5f068e,0x0),_0x25edb7,_0x292399++);_0x3466ff[_0x3cfbc8(0xfb)](_0x2ead4f);for(const [_0x1e48a7,_0x252750]of _0x25edb7[_0x3cfbc8(0x115)]){const _0x1ca035=_0x47b198[_0x3cfbc8(0x1ea)](_0x47b198[_0x3cfbc8(0x19b)](_0x5f068e,_0x252750[_0x3cfbc8(0x134)][_0x3cfbc8(0x119)][_0x3cfbc8(0x183)]()),_0x47b198[_0x3cfbc8(0x19b)](_0x5f068e,_0x252750[_0x3cfbc8(0x16f)][_0x3cfbc8(0x119)][_0x3cfbc8(0x183)]())),_0x36c40f=new _0x3044bb(_0x1e48a7,null,_0x1ca035,_0x47b198[_0x3cfbc8(0x115)],!0x0,_0x292399++);_0x3466ff[_0x3cfbc8(0xfb)](_0x36c40f);}}if(_0x322be0)for(const [_0x376dd8,_0x2d28df]of Object[_0x3cfbc8(0x1e9)](_0x322be0)){const _0xd37bc1=_0x47b198[_0x3cfbc8(0x17f)][_0x3cfbc8(0xfd)](_0x376dd8);if(!_0xd37bc1)throw new _0x2f849e(_0x3cfbc8(0x114),null);for(const [_0x50903f,_0x1b91e6]of Object[_0x3cfbc8(0x1e9)](_0x2d28df))if(null!==_0x1b91e6){const _0x2acb52=new _0x12dd06(_0xd37bc1,_0x50903f,null,_0x1b91e6,_0x292399++);_0x3466ff[_0x3cfbc8(0xfb)](_0x2acb52);}}return _0x3466ff;}async[_0x34734c(0x14d)](_0x4eef9c,_0x510f84,_0x19b4eb){const _0x460d40=_0x34734c;this[_0x460d40(0x193)]({[_0x4eef9c]:_0x510f84},{[_0x4eef9c]:_0x19b4eb})[_0x460d40(0x143)]((_0x5014e2,_0x10bc89)=>{const _0x4ba395=_0x460d40;_0x5014e2[_0x4ba395(0x125)]=this[_0x4ba395(0xff)][_0x4ba395(0x166)]+_0x10bc89,_0x5014e2[_0x4ba395(0x1d9)]=!0x0,this[_0x4ba395(0x1f8)](_0x5014e2);}),this[_0x460d40(0x117)](),await this[_0x460d40(0x10e)]();}async[_0x34734c(0x1f7)](_0x2c6972,_0xc1d993){const _0x2956cd=_0x34734c;let _0x5f4af1;this[_0x2956cd(0x1f4)]=_0x2c6972[_0x2956cd(0x104)];const _0x4ca48e=_0x2c6972[_0x2956cd(0x136)]&&!_0x2c6972[_0x2956cd(0x1c3)],_0x2e40f1=_0x4ca48e?0x0:_0x2c6972[_0x2956cd(0x140)][_0x2956cd(0x125)];if(_0xc1d993[_0x2956cd(0x143)](_0x4def93=>{const _0xf28588=_0x2956cd;_0x4def93[_0xf28588(0x1d9)]=!0x0,_0x4def93[_0xf28588(0x17a)]=_0x2c6972[_0xf28588(0x13d)],_0x4def93[_0xf28588(0x139)]=null;}),_0x4ca48e)_0x5f4af1=_0xc1d993,this[_0x2956cd(0x147)](_0x5f4af1,_0x4ca48e);else{if(_0x2c6972[_0x2956cd(0x1c3)]){const _0x396f8b=this[_0x2956cd(0x193)](_0x2c6972[_0x2956cd(0x1c3)]);this[_0x2956cd(0xff)][_0x2956cd(0x12a)][_0x2956cd(0x166)]=-_0x396f8b[_0x2956cd(0x176)],_0x396f8b[_0x2956cd(0x143)](_0x33ed63=>{const _0x105ac9=_0x2956cd;_0x33ed63[_0x105ac9(0x125)]-=_0x396f8b[_0x105ac9(0x176)],_0x33ed63[_0x105ac9(0x17a)]=_0x2c6972[_0x105ac9(0x13d)],_0x33ed63[_0x105ac9(0x1d9)]=!0x0,_0x33ed63[_0x105ac9(0x139)]=null;}),this[_0x2956cd(0x147)](_0x396f8b,!0x0),this[_0x2956cd(0x165)][_0x2956cd(0x166)]=-_0x396f8b[_0x2956cd(0x176)]+this[_0x2956cd(0x1f4)],this[_0x2956cd(0x1dc)](_0x396f8b);}this[_0x2956cd(0xff)][_0x2956cd(0x12a)][_0x2956cd(0x166)]=_0x2e40f1,_0x5f4af1=this[_0x2956cd(0x174)](_0x2c6972[_0x2956cd(0x140)],_0x2c6972[_0x2956cd(0x10c)]),await this[_0x2956cd(0x1e4)](_0x5f4af1),this[_0x2956cd(0x147)](_0x5f4af1,_0x4ca48e);}_0x2c6972[_0x2956cd(0x1aa)]&&(this[_0x2956cd(0x19e)][_0x2956cd(0x162)](_0x5f4af1,_0x2c6972[_0x2956cd(0x1aa)]),this[_0x2956cd(0x1bb)]=_0x2c6972[_0x2956cd(0x1aa)]),this[_0x2956cd(0x165)][_0x2956cd(0x166)]=_0x2e40f1+this[_0x2956cd(0x1f4)],this[_0x2956cd(0x1dc)](_0x5f4af1),_0xc1d993[_0x2956cd(0x113)](_0x21e682=>{const _0x4a04cf=_0x2956cd,_0x5a528d=this[_0x4a04cf(0x1ca)](_0x21e682);return _0x5a528d&&!this[_0x4a04cf(0x1df)][_0x4a04cf(0x15a)](_0x5a528d);})[_0x2956cd(0x143)]((_0x1addd5,_0x19fe5c)=>{const _0x1b7a17=_0x2956cd;_0x1addd5[_0x1b7a17(0x125)]=this[_0x1b7a17(0xff)][_0x1b7a17(0x166)]+_0x19fe5c,this[_0x1b7a17(0x1f8)](_0x1addd5);}),this[_0x2956cd(0x16d)]()?(this[_0x2956cd(0x15d)]=0x0,this[_0x2956cd(0x117)](!0x0),await this[_0x2956cd(0x10e)]()):(this[_0x2956cd(0x1be)]=!0x1,this[_0x2956cd(0xf9)]());}[_0x34734c(0x179)](_0x43388e,_0x14ee0d){const _0x1a88c1=_0x34734c,_0x4830e4=_0x14ee0d&&_0x14ee0d[_0x1a88c1(0x124)];if(_0x4830e4&&_0x4830e4[_0x1a88c1(0x1d7)](_0x1a88c1(0x10b)))throw _0x14ee0d;const _0x4fd855=this[_0x1a88c1(0x1b4)][_0x1a88c1(0x11d)][_0x1a88c1(0x16b)](_0x27fc8c);throw this[_0x1a88c1(0x1be)]=!0x0,_0x4fd855[_0x1a88c1(0x144)](),this[_0x1a88c1(0x1b4)][_0x1a88c1(0x1e0)](_0x1a88c1(0x13a)),new _0x2f849e(_0x43388e,this[_0x1a88c1(0x1b4)],_0x4830e4?{'originalError':_0x4830e4}:void 0x0);}[_0x34734c(0x1f8)](_0xdd36ad){const _0x49babb=_0x34734c;this[_0x49babb(0x1a6)][_0x49babb(0x15a)](_0xdd36ad)||(this[_0x49babb(0x1a6)][_0x49babb(0x16c)](_0xdd36ad),this[_0x49babb(0x156)][_0x49babb(0xfb)](_0xdd36ad),this[_0x49babb(0x1cd)]||_0x49babb(0x13c)==_0xdd36ad[_0x49babb(0x157)]&&!_0xdd36ad[_0x49babb(0x1f9)]||this[_0x49babb(0x145)]());}[_0x34734c(0x117)](_0x90b333=!0x1){const _0x161162=_0x34734c;!_0x90b333&&this[_0x161162(0x1be)]||(this[_0x161162(0x1be)]=!0x0,clearTimeout(this[_0x161162(0x12e)]),this[_0x161162(0x12e)]=setTimeout(()=>{const _0x24cf45=_0x161162;this[_0x24cf45(0x129)]()[_0x24cf45(0x142)](_0x3cf9f5=>{const _0x3199d3=_0x24cf45;_0x3cf9f5&&(this[_0x3199d3(0xf9)](),this[_0x3199d3(0x1be)]=!0x1);})[_0x24cf45(0x1e3)](_0x1bafc7=>{const _0x4a048c=_0x24cf45;this[_0x4a048c(0xf9)](),this[_0x4a048c(0x1be)]=!0x1,function(_0x11d3af){const _0x5f467f=_0x4a048c;return _0x11d3af[_0x5f467f(0x124)][_0x5f467f(0x1d7)](_0x5f467f(0x137))||_0x11d3af[_0x5f467f(0x124)][_0x5f467f(0x1d7)](_0x5f467f(0x154))||_0x11d3af[_0x5f467f(0x124)][_0x5f467f(0x1d7)](_0x5f467f(0x171));}(_0x1bafc7)||this[_0x4a048c(0x179)](_0x1bafc7[_0x4a048c(0x124)],_0x1bafc7);});},this[_0x161162(0x15d)]));}[_0x34734c(0x10e)](){return new Promise(_0x505bc4=>{const _0x4d35d8=_0x16b3;this['on'](_0x4d35d8(0x102),()=>{_0x505bc4();});});}async[_0x34734c(0x129)](){const _0x2ee601=_0x34734c,_0x2e4a49=this[_0x2ee601(0x1b4)][_0x2ee601(0x11d)][_0x2ee601(0x16b)](_0x55ae5f);if(this[_0x2ee601(0x150)]()&&(_0x2e4a49[_0x2ee601(0x120)](),this[_0x2ee601(0xf5)]=!0x1),!this[_0x2ee601(0x16d)]())return!0x0;const _0x2b8ade=[...this[_0x2ee601(0x156)]];for(const _0x3b8b14 of _0x2b8ade)_0x3b8b14[_0x2ee601(0x1b0)]=this[_0x2ee601(0xff)][_0x2ee601(0x12a)][_0x2ee601(0x195)](_0x3b8b14);const _0x45a1ba=this[_0x2ee601(0x19e)][_0x2ee601(0x17b)](_0x2b8ade),_0x2891db=q++,_0x5f3477=this[_0x2ee601(0x141)](_0x2b8ade),_0x118a7a=await this[_0x2ee601(0xf7)][_0x2ee601(0x112)](_0x5f3477,_0x5f3477[_0x2ee601(0x125)],_0x45a1ba);try{return await this[_0x2ee601(0x18e)](_0x2b8ade,_0x118a7a,_0x2891db);}catch(_0x48ec52){return this[_0x2ee601(0x179)](_0x2ee601(0x17c),_0x48ec52);}}async[_0x34734c(0x18e)](_0x3ecfc1,_0x563bc8,_0x406add){const _0x11f6d3=_0x34734c;if(_0x11f6d3(0x15c)in _0x563bc8)throw _0x563bc8[_0x11f6d3(0x15c)];let _0x154144=!0x1;if(_0x563bc8[_0x11f6d3(0x136)]){_0x563bc8[_0x11f6d3(0x1aa)]&&(this[_0x11f6d3(0x1bb)]=_0x563bc8[_0x11f6d3(0x1aa)]),this[_0x11f6d3(0x156)]=this[_0x11f6d3(0x156)][_0x11f6d3(0x113)](_0xea9ae0=>!_0x3ecfc1[_0x11f6d3(0x132)](_0xea9ae0));for(const _0x2da782 of _0x3ecfc1)_0x2da782[_0x11f6d3(0x17a)]=_0x11f6d3(0x16a)in _0x563bc8&&_0x563bc8[_0x11f6d3(0x16a)]||void 0x0;G(_0x3ecfc1,_0x563bc8[_0x11f6d3(0x166)]-_0x3ecfc1[_0x11f6d3(0x176)]),this[_0x11f6d3(0x1dc)](_0x3ecfc1);const _0x12e9b2=_0x3ecfc1[_0x11f6d3(0x113)](_0x4104ad=>{const _0x4e2725=_0x11f6d3;if(!_0x4104ad[_0x4e2725(0x1d9)])return!0x1;const _0x1a0c9e=this[_0x4e2725(0x1ca)](_0x4104ad);return _0x1a0c9e&&!this[_0x4e2725(0x1df)][_0x4e2725(0x15a)](_0x1a0c9e);});G(_0x12e9b2,this[_0x11f6d3(0xff)][_0x11f6d3(0x166)]),this[_0x11f6d3(0x147)](_0x12e9b2),_0x154144=!0x0,this[_0x11f6d3(0x15d)]=this[_0x11f6d3(0x160)];}else{const _0x4c3192=this[_0x11f6d3(0x174)](_0x563bc8[_0x11f6d3(0x140)],_0x563bc8[_0x11f6d3(0x10c)])[_0x11f6d3(0x113)](_0x3fa6f6=>_0x3fa6f6[_0x11f6d3(0x125)]>=this[_0x11f6d3(0x128)]);_0x4c3192[_0x11f6d3(0x143)](_0x3d062b=>this[_0x11f6d3(0x14e)](_0x3d062b)),this[_0x11f6d3(0x156)]=this[_0x11f6d3(0x156)][_0x11f6d3(0x113)](_0x231609=>!_0x231609[_0x11f6d3(0x1d9)]||!this[_0x11f6d3(0x1df)][_0x11f6d3(0x15a)](this[_0x11f6d3(0x1ca)](_0x231609))),this[_0x11f6d3(0x156)][_0x11f6d3(0x176)]&&G(this[_0x11f6d3(0x156)],this[_0x11f6d3(0x156)][0x0][_0x11f6d3(0x125)]),await this[_0x11f6d3(0x1e4)](_0x4c3192),_0x154144=this[_0x11f6d3(0x1de)](_0x4c3192,_0x563bc8[_0x11f6d3(0x166)],_0x563bc8[_0x11f6d3(0x1aa)]),this[_0x11f6d3(0x15d)]=Math[_0x11f6d3(0x190)](this[_0x11f6d3(0x15d)]/0x2);}return _0x154144?!this[_0x11f6d3(0x16d)]()||(this[_0x11f6d3(0x117)](!0x0),!0x1):this[_0x11f6d3(0x179)](_0x11f6d3(0x1c1));}[_0x34734c(0x1de)](_0x420948,_0x27f3e1,_0xf161a2){const _0x146486=_0x34734c;try{const _0x30cc88={'document':this[_0x146486(0xff)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4c7d7f,operationsB:_0x255203,originalOperations:_0x28c69f}=_0x38bb68(_0x420948,this[_0x146486(0x156)],_0x30cc88);G(_0x4c7d7f,this[_0x146486(0xff)][_0x146486(0x166)]),G(_0x255203,_0x27f3e1);for(const _0x45a0a1 of _0x4c7d7f){const _0x30054e=_0x28c69f[_0x146486(0x16b)](_0x45a0a1);_0x45a0a1[_0x146486(0x139)]=_0x30054e?_0x30054e[_0x146486(0x139)]:null;}_0xf161a2&&(this[_0x146486(0x19e)][_0x146486(0x162)](_0x420948,_0xf161a2),this[_0x146486(0x1bb)]=_0xf161a2),this[_0x146486(0x156)]=[..._0x255203],this[_0x146486(0x147)](_0x4c7d7f),this[_0x146486(0x1dc)](_0x420948);}catch(_0x2ef970){return console[_0x146486(0x15c)](_0x2ef970),!0x1;}return!0x0;}[_0x34734c(0x147)](_0x552f24,_0x4f29cc=!0x1){const _0x40861c=_0x34734c;this[_0x40861c(0x1b4)][_0x40861c(0x1d2)][_0x40861c(0x1c6)]({'isUndoable':!0x1,'isLocal':!0x1},_0x13a900=>{const _0x4091b4=_0x40861c;for(const _0x217d95 of _0x552f24)this[_0x4091b4(0x1a6)][_0x4091b4(0x16c)](_0x217d95),this[_0x4091b4(0x14e)](_0x217d95),_0x13a900[_0x4091b4(0x1e8)][_0x4091b4(0x1d8)](_0x217d95),this[_0x4091b4(0x1b4)][_0x4091b4(0x1d2)][_0x4091b4(0x11c)](_0x217d95);});}[_0x34734c(0x14e)](_0x4771c7){const _0x76867=_0x34734c,_0x25b1d1=this[_0x76867(0x1ca)](_0x4771c7);_0x25b1d1&&this[_0x76867(0x1df)][_0x76867(0x16c)](_0x25b1d1);}[_0x34734c(0x1ca)](_0x5cc17f){const _0x1aea5c=_0x34734c;let _0x31ef48,_0x402941;switch(_0x5cc17f[_0x1aea5c(0x157)]){case _0x1aea5c(0xf4):_0x31ef48=_0x5cc17f[_0x1aea5c(0x163)][_0x1aea5c(0x168)];break;case _0x1aea5c(0x13c):if(_0x402941=_0x5cc17f[_0x1aea5c(0x196)],!_0x402941)return null;_0x31ef48=_0x402941[_0x1aea5c(0x168)];break;case _0x1aea5c(0x107):_0x31ef48=_0x5cc17f[_0x1aea5c(0x168)];break;case _0x1aea5c(0x11f):_0x31ef48=_0x5cc17f[_0x1aea5c(0x1d1)];break;case _0x1aea5c(0x1ce):_0x31ef48=_0x5cc17f[_0x1aea5c(0x133)][_0x1aea5c(0x168)];break;default:return null;}return _0x31ef48[_0x1aea5c(0x1ac)];}[_0x34734c(0x1dc)](_0x34d7af){const _0x408935=_0x34734c;_0x34d7af[_0x408935(0x143)](_0x42f919=>{const _0x47a20a=_0x408935,_0x590255=_0x42f919[_0x47a20a(0x14b)]();_0x590255[_0x47a20a(0x139)]=_0x42f919[_0x47a20a(0x139)],_0x590255[_0x47a20a(0x1d9)]=!!_0x42f919[_0x47a20a(0x1d9)],_0x590255[_0x47a20a(0x17a)]=_0x42f919[_0x47a20a(0x17a)],_0x590255[_0x47a20a(0x125)]+=this[_0x47a20a(0x1f4)],_0x42f919[_0x47a20a(0x199)]&&this[_0x47a20a(0x10f)][_0x47a20a(0x16c)](_0x590255),this[_0x47a20a(0x165)][_0x47a20a(0x1d8)](_0x590255);});}[_0x34734c(0x152)](_0x40c0ea){const _0x2828b6=_0x34734c,_0x4497e6=this[_0x2828b6(0x1b4)][_0x2828b6(0x11d)][_0x2828b6(0x16b)](_0x2828b6(0x188)),_0x3ff6b4=this[_0x2828b6(0x1b4)][_0x2828b6(0x178)];_0x40c0ea||(_0x40c0ea=_0x289ccc(_0x3ff6b4,_0x2828b6(0x14a))),_0x4497e6[_0x2828b6(0x1d4)](_0x40c0ea,{'title':_0x289ccc(_0x3ff6b4,_0x2828b6(0x1f3)),'namespace':_0x2828b6(0x158)}),this[_0x2828b6(0x1dd)]=!0x0,clearTimeout(this[_0x2828b6(0x12e)]),this[_0x2828b6(0x156)]=[],this[_0x2828b6(0x1b4)][_0x2828b6(0x11d)][_0x2828b6(0x16b)](_0x27fc8c)[_0x2828b6(0x144)]();}[_0x34734c(0x145)](){const _0x21a726=_0x34734c;this[_0x21a726(0x1cd)]||(this[_0x21a726(0x1cd)]=this[_0x21a726(0x1b4)][_0x21a726(0x11d)][_0x21a726(0x16b)](_0x544a7f)[_0x21a726(0x16c)](_0x289ccc(this[_0x21a726(0x1b4)][_0x21a726(0x178)],_0x21a726(0x185))));}[_0x34734c(0xf9)](){const _0x57352b=_0x34734c;this[_0x57352b(0x1cd)]&&(this[_0x57352b(0x1b4)][_0x57352b(0x11d)][_0x57352b(0x16b)](_0x544a7f)[_0x57352b(0x197)](this[_0x57352b(0x1cd)]),this[_0x57352b(0x1cd)]=null);}[_0x34734c(0x141)](_0x1ccbee){const _0x3e6a5b=_0x34734c,_0x4922de=_0x1ccbee[_0x3e6a5b(0x155)](_0x2cf3c8=>_0x2cf3c8[_0x3e6a5b(0x11e)]());return this[_0x3e6a5b(0x1e2)][_0x3e6a5b(0x130)](_0x4922de);}[_0x34734c(0x174)](_0x5d1935,_0x47a748){const _0x1874a7=_0x34734c;return this[_0x1874a7(0x1e2)][_0x1874a7(0x1da)](_0x5d1935)[_0x1874a7(0x155)]((_0x2fd3e1,_0x367b23)=>{const _0x12b113=_0x1874a7,_0x6769d0=_0x12b113(0x1f1)==_0x47a748[_0x367b23][_0x12b113(0x157)];if(_0x12b113(0xf3)==_0x2fd3e1[_0x12b113(0x1ed)]){const _0x2cdd67=_0x2fd3e1[_0x12b113(0x163)][_0x12b113(0x168)];!this[_0x12b113(0xff)][_0x12b113(0xfd)](_0x2cdd67)&&(this[_0x12b113(0xff)][_0x12b113(0x1d5)](_0x12b113(0x191),_0x2cdd67)[_0x12b113(0x15b)]=!0x1);}const _0xa82f0b=_0x11dfbb[_0x12b113(0x1b2)](_0x2fd3e1,this[_0x12b113(0xff)]);return _0xa82f0b[_0x12b113(0x1b0)]=_0x2fd3e1[_0x12b113(0x1b0)],_0xa82f0b[_0x12b113(0x1d9)]=_0x6769d0,_0xa82f0b[_0x12b113(0x139)]=_0x6769d0?null:_0x47a748[_0x367b23][_0x12b113(0x1c7)],_0xa82f0b[_0x12b113(0x199)]=_0x12b113(0x151)===_0x47a748[_0x367b23][_0x12b113(0x157)],_0xa82f0b[_0x12b113(0x17a)]=_0x47a748[_0x367b23][_0x12b113(0x17a)],_0xa82f0b;});}[_0x34734c(0x1f5)](){const _0x2a094e=_0x34734c;this[_0x2a094e(0xf5)]=!0x0,this[_0x2a094e(0x150)]()?this[_0x2a094e(0x117)]():this[_0x2a094e(0xf5)]=!0x1;}[_0x34734c(0x150)](){const _0x329f0b=_0x34734c,_0x3344d5=this[_0x329f0b(0x1b4)][_0x329f0b(0x11d)][_0x329f0b(0x16b)](_0x271027)[_0x329f0b(0x1c4)][_0x329f0b(0x16b)](this[_0x329f0b(0x153)]);return!this[_0x329f0b(0x1b4)][_0x329f0b(0xfe)]&&!!_0x3344d5&&_0x3344d5[_0x329f0b(0x176)]>0x1&&this[_0x329f0b(0xf5)];}[_0x34734c(0x16d)](){const _0x39eb2e=_0x34734c;return this[_0x39eb2e(0x156)][_0x39eb2e(0x176)]>0x0||this[_0x39eb2e(0x150)]();}}class ReconnectionError extends Error{}function G(_0x57cd4b,_0x22429c){const _0x4e4eb3=_0x34734c;for(const _0x26f5bd of _0x57cd4b)_0x26f5bd[_0x4e4eb3(0x125)]=_0x22429c++;}function _0x4b89(){const _0x3f1234=['removeFromReconnectionStack','define','Notification','unregister','suppressErrorInCollaboration','keys','cloudServices.bundleVersion','_setUpDataInit','_handleServerResponse','_connectService','round','$root','stop','_getOperationsFromInitData','realtimecollaborationclient-init-session-connection-error','isUndoneOperation','newRange','remove','164705gAUasH','_isDisconnection','collaboration','createPositionFromPath','setPermissions','_isLoaded','_operationIdentifier','10YkfCCC','_bufferRootLoad','connection','selection','ready','Permissions','realtimecollaborationclient-init-service-incorrect-server-operation','_knownOperations','addUser','409','RealTimeCollaborationClient','lastOperationId','connect','rootName','operationsReceived','return','_disconnectService','wasUndone','85782nrudCS','fromJSON','currentDocumentSession','editor','isEnabled','change:range','parse','realtimecollaborationclient-init-non-existent-root','CollaborativeEditingService','getDocumentDetails','_lastSyncedOperationId','getConnectedSessions','disableReadOnlyMode','_isPendingUpdate','finally','lastDocumentSession','realtimecollaborationclient-handleserverresponse','createPositionAt','initData','channelSessions','reconnect','enqueueChange','userId','view','attributes','_getAffectedRoot','404','isDocumentOperation','_pendingAction','move','_isEditingAllowed','getOperations','affectedSelectable','model','getUser','showWarning','createRoot','mySessionId','startsWith','addOperation','_isInit','decompress','sessionAdd:','_updateServerHistory','_hasSynchronizationProblem','_handleExternalOperations','_knownRootNames','enableReadOnlyMode','stopListening','_compressor','catch','_fetchMissingUsers','connected','fire','from','batch','entries','createRange','2663091VdADWi','permissions','__className','listenTo','rtc-offline','directChange','init','_isConnected','Synchronization\x20issue','_offset','_refreshUserSelectionMarkers','string','_handleInitialConnectionData','_saveOperationInBuffer','affectsData','_initSessionsHandling','InsertOperation','insert','_hasSelectionChanged','realtimecollaborationclient-init-document-already-initialized','_service','reconnection:\x20flushed\x20session','_clearPendingAction','requires','push','differ','getRoot','isReadOnly','_document','collaboration-missing-channelid','rtc-destroyed','change:_isPendingUpdate','4222229zdICpW','offset','_handleSendingSelectionMarkers','destroy','addRootAttribute','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_handleReconnectionResponse','reset','realtimecollaborationclient','metadata','state','_waitUntilSynced','_disconnectionOperations','lastSyncVersion','set','sendOperations','filter','multi-root-editor-root-attributes-no-root','markers','realtimecollaborationclient-init-connection-failed','_sendBufferedOperationsDelayed','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','path','change:_isEditingAllowed','code','applyOperation','plugins','toJSON','addRoot','createUserMarkerOperations','addToReconnectionStack','disconnected','register','message','baseVersion','size','change:hasDomSelection','_lastServerVersion','_sendBufferedOperations','history','_initThrowingOnDataSet','collaboration.channelId','config','_sendBufferedOperationsDelayId','pluginName','compress','4WyDknQ','includes','targetPosition','start','editing','wereChangesApplied','cloud-services-internal-error:\x20Not\x20connected.','sessionId','_authorId','realtimecollaborationclient-error','_handleReceivedOperations','marker','sessionCreatedAt','realtimecollaborationclient-init-service-internal-error','getMany','data','_compressOperations','then','forEach','disconnect','_setPendingAction','cloudDocumentVersion','_applyOperationsSet','36knAksr','off','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.','clone','CommentsOnly','_loadRoot','_addKnownRoot','6yfcDEN','_shouldSendSelectionUpdate','cs:removeUser','_handleReconnectionError','_channelId','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','map','_bufferedOperations','type','real-time-collaboration','isPremiumPlugin','has','_isAttached','error','_currentBufferDelay','bind','roots','_baseBufferDelay','isOfficialPlugin','setIdForTheLastOperation','position','apply','serverHistory','version','_ignoredOperations','root','_operationToId','lastOperationAcceptedAt','get','add','_shouldSendUpdate','loadRoot','end','_connectAfterSessionHasBeenFlushed','cloud-services-internal-error:\x20Request\x20timeout.','document:write','328173ClniMq','_decompressOperations','high','length','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.','locale','_crash','createdAt','getIdOfTheLastOperation','realtimecollaborationclient-sendbufferedoperations','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','getOperationAuthor','document','rootsAttributes','97664qThnma','2817672TVVecD','slice','7HGTthc','PENDING_ACTION_SENDING_DATA'];_0x4b89=function(){return _0x3f1234;};return _0x4b89();}class OperationIdentifier{[_0x34734c(0x167)];[_0x34734c(0x169)];constructor(_0x37476f){const _0x4a2612=_0x34734c;this[_0x4a2612(0x167)]=_0x37476f,this[_0x4a2612(0x169)]=new WeakMap();}[_0x34734c(0x17b)](_0x448505){const _0x1b16dc=_0x34734c;let _0x16cb64=_0x448505[_0x1b16dc(0x176)];for(;_0x16cb64--;){const _0x2498f1=_0x448505[_0x16cb64];if(!this[_0x1b16dc(0x167)][_0x1b16dc(0x15a)](_0x2498f1)){if(!this[_0x1b16dc(0x169)][_0x1b16dc(0x15a)](_0x2498f1)){const _0x39d229=_0x21adc6()[_0x1b16dc(0x183)](0x1,0x12);this[_0x1b16dc(0x169)][_0x1b16dc(0x111)](_0x2498f1,_0x39d229);}return this[_0x1b16dc(0x169)][_0x1b16dc(0x16b)](_0x2498f1);}}}[_0x34734c(0x162)](_0x4580b7,_0x938299){const _0x18cfa8=_0x34734c;if(!_0x938299)return;let _0x68ae20=_0x4580b7[_0x18cfa8(0x176)];for(;_0x68ae20--;){const _0x41a22d=_0x4580b7[_0x68ae20];this[_0x18cfa8(0x167)][_0x18cfa8(0x15a)](_0x41a22d)||this[_0x18cfa8(0x169)][_0x18cfa8(0x111)](_0x41a22d,_0x938299);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4cb4(_0x854023,_0x393023){const _0x4b099d=_0x4b09();return _0x4cb4=function(_0x4cb4db,_0x1a66a7){_0x4cb4db=_0x4cb4db-0x1ac;let _0x3f057d=_0x4b099d[_0x4cb4db];return _0x3f057d;},_0x4cb4(_0x854023,_0x393023);}const _0x133b92=_0x4cb4;(function(_0x192711,_0x44c6f0){const _0x2bd0f7=_0x4cb4,_0x4e812a=_0x192711();while(!![]){try{const _0x315cca=-parseInt(_0x2bd0f7(0x1cc))/0x1+parseInt(_0x2bd0f7(0x1d0))/0x2*(parseInt(_0x2bd0f7(0x1b4))/0x3)+-parseInt(_0x2bd0f7(0x1c0))/0x4*(-parseInt(_0x2bd0f7(0x1df))/0x5)+parseInt(_0x2bd0f7(0x1bd))/0x6+-parseInt(_0x2bd0f7(0x1dd))/0x7*(parseInt(_0x2bd0f7(0x1dc))/0x8)+-parseInt(_0x2bd0f7(0x1b1))/0x9+parseInt(_0x2bd0f7(0x1d9))/0xa;if(_0x315cca===_0x44c6f0)break;else _0x4e812a['push'](_0x4e812a['shift']());}catch(_0x4ee56f){_0x4e812a['push'](_0x4e812a['shift']());}}}(_0x4b09,0xcbbb3));import{ContextPlugin as _0x53d5fa}from'ckeditor5/src/core.js';import{Collection as _0x13f51c,CKEditorError as _0x3bda3e}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x446e2b}from'./websocketgateway.js';function _0x4b09(){const _0x3e9375=['unregister','assign','20492370svdZcv','requires','_uniqueUsersCount','312PCeHzI','209783ojbkDD','addUser','5CimvKK','context','forEach','state','getUser','role','change:state','_createUser','connection','sessionAdd:','Sessions','sessions-register-already-registered','stopListening','set','register','orderNumber','init','1341198EdqnzA','defineMe','user','24BAsQxR','isOfficialPlugin','connected','isMe','has','listenTo','sessionId','fire','channelConnectedUsers','2077938ZZRHWs','isPremiumPlugin','getUserSessions','556916sMuHDP','get','getUserBySessionId','remove','clear','_registeredSessions','sessions-unregister-not-exist','_handleSessionRemove','allConnectedUsers','_users','size','_handleSessionAdd','1200149MiYlka','values','plugins','add','204414yGTJwX','delete','pluginName','getUserRole','channelSessions','hiddenInPresenceList','mySessionId'];_0x4b09=function(){return _0x3e9375;};return _0x4b09();}import{Users as _0x18d0c4}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x53d5fa{[_0x133b92(0x1d4)];[_0x133b92(0x1bc)];[_0x133b92(0x1c8)];[_0x133b92(0x1c5)];[_0x133b92(0x1db)];[_0x133b92(0x1c9)];static get[_0x133b92(0x1d2)](){const _0x3d2c69=_0x133b92;return _0x3d2c69(0x1e9);}static get[_0x133b92(0x1b5)](){return!0x0;}static get[_0x133b92(0x1be)](){return!0x0;}static get[_0x133b92(0x1da)](){return[_0x446e2b,_0x18d0c4];}constructor(_0x4d01a0){const _0x15d087=_0x133b92;super(_0x4d01a0),this[_0x15d087(0x1d4)]=new Map(),this[_0x15d087(0x1bc)]=new Map(),this[_0x15d087(0x1c8)]=new _0x13f51c(),this[_0x15d087(0x1c5)]=new Map(),this[_0x15d087(0x1db)]=0x0,this[_0x15d087(0x1c9)]=this[_0x15d087(0x1e0)][_0x15d087(0x1ce)][_0x15d087(0x1c1)](_0x18d0c4);}[_0x133b92(0x1b0)](){const _0x37cf51=_0x133b92,_0x6ad37d=this[_0x37cf51(0x1e0)][_0x37cf51(0x1ce)][_0x37cf51(0x1c1)](_0x446e2b);this[_0x37cf51(0x1b9)](_0x6ad37d,_0x37cf51(0x1e5),(_0x42c724,_0x1665d7,_0x17e0fe)=>{const _0x143162=_0x37cf51;if(_0x143162(0x1b6)!==_0x17e0fe)this[_0x143162(0x1d4)][_0x143162(0x1e1)](_0x18ab6c=>_0x18ab6c[_0x143162(0x1c4)]()),this[_0x143162(0x1bc)][_0x143162(0x1e1)](_0x20581c=>_0x20581c[_0x143162(0x1c4)]()),this[_0x143162(0x1c8)][_0x143162(0x1c4)]();else{for(const [_0x5d9458,_0x4491b6]of this[_0x143162(0x1c5)])for(const _0x296891 of _0x4491b6)this[_0x143162(0x1cb)](_0x5d9458,_0x296891);}}),this[_0x37cf51(0x1e6)](_0x6ad37d[_0x37cf51(0x1e7)]['me'],!0x0);}[_0x133b92(0x1ae)](_0x429597,_0x4cd5db){const _0x38efff=_0x133b92;if(this[_0x38efff(0x1c5)][_0x38efff(0x1b8)](_0x429597))throw new _0x3bda3e(_0x38efff(0x1ea),null,{'channelId':_0x429597});this[_0x38efff(0x1c5)][_0x38efff(0x1ad)](_0x429597,_0x4cd5db),this[_0x38efff(0x1d4)][_0x38efff(0x1ad)](_0x429597,new _0x13f51c()),this[_0x38efff(0x1bc)][_0x38efff(0x1ad)](_0x429597,new _0x13f51c()),this[_0x38efff(0x1b9)](_0x4cd5db,_0x38efff(0x1cf),(_0x3ca983,_0x1649bb)=>this[_0x38efff(0x1cb)](_0x429597,_0x1649bb)),this[_0x38efff(0x1b9)](_0x4cd5db,_0x38efff(0x1c3),(_0xe69b7f,_0xb874bd)=>this[_0x38efff(0x1c7)](_0x429597,_0xb874bd));for(const _0x315f2f of _0x4cd5db)this[_0x38efff(0x1cb)](_0x429597,_0x315f2f);}[_0x133b92(0x1d7)](_0x408a19){const _0x3dc240=_0x133b92;if(!this[_0x3dc240(0x1c5)][_0x3dc240(0x1b8)](_0x408a19))throw new _0x3bda3e(_0x3dc240(0x1c6),null,{'channelId':_0x408a19});const _0x522d8f=this[_0x3dc240(0x1c5)][_0x3dc240(0x1c1)](_0x408a19);this[_0x3dc240(0x1ac)](_0x522d8f);for(const _0x6ac1e3 of _0x522d8f)_0x3dc240(0x1b6)===this[_0x3dc240(0x1e0)][_0x3dc240(0x1ce)][_0x3dc240(0x1c1)](_0x446e2b)[_0x3dc240(0x1e2)]&&this[_0x3dc240(0x1c7)](_0x408a19,_0x6ac1e3);this[_0x3dc240(0x1c5)][_0x3dc240(0x1d1)](_0x408a19),this[_0x3dc240(0x1d4)][_0x3dc240(0x1d1)](_0x408a19),this[_0x3dc240(0x1bc)][_0x3dc240(0x1d1)](_0x408a19);}get[_0x133b92(0x1d6)](){const _0x5f4eb2=_0x133b92;return this[_0x5f4eb2(0x1e0)][_0x5f4eb2(0x1ce)][_0x5f4eb2(0x1c1)](_0x446e2b)[_0x5f4eb2(0x1e7)][_0x5f4eb2(0x1ba)];}[_0x133b92(0x1c2)](_0x2bebc4){const _0x4c5466=_0x133b92;for(const _0x11f0d0 of this[_0x4c5466(0x1d4)][_0x4c5466(0x1cd)]())for(const _0x3d68e7 of _0x11f0d0)if(_0x3d68e7['id']===_0x2bebc4)return _0x3d68e7[_0x4c5466(0x1b3)];}[_0x133b92(0x1bf)](_0x1a4b80,_0x3c677c){const _0x1b6858=_0x133b92,_0x12079b=_0x3c677c?[this[_0x1b6858(0x1d4)][_0x1b6858(0x1c1)](_0x3c677c)]:this[_0x1b6858(0x1d4)][_0x1b6858(0x1cd)](),_0x11085d=new Set();for(const _0x2df627 of _0x12079b)for(const _0x11c9c0 of _0x2df627)_0x11c9c0[_0x1b6858(0x1b3)]['id']===_0x1a4b80['id']&&_0x11085d[_0x1b6858(0x1cf)](_0x11c9c0['id']);return _0x11085d;}[_0x133b92(0x1d3)](_0x5d6639){const _0x5071f1=_0x133b92;for(const _0x24aeec of this[_0x5071f1(0x1d4)][_0x5071f1(0x1cd)]())for(const _0x45ab97 of _0x24aeec)if(_0x45ab97[_0x5071f1(0x1b3)]===_0x5d6639)return _0x45ab97[_0x5071f1(0x1e4)];}[_0x133b92(0x1cb)](_0x24ff8a,_0x3d80e4){const _0x4d2ac6=_0x133b92;if(_0x4d2ac6(0x1b6)!==this[_0x4d2ac6(0x1e0)][_0x4d2ac6(0x1ce)][_0x4d2ac6(0x1c1)](_0x446e2b)[_0x4d2ac6(0x1e2)])return;const _0x390ef6=_0x3d80e4[_0x4d2ac6(0x1b3)],_0x3b3c81=this[_0x4d2ac6(0x1c9)][_0x4d2ac6(0x1e3)](_0x390ef6['id'])||this[_0x4d2ac6(0x1e6)](_0x390ef6),_0x5dbc86=Object[_0x4d2ac6(0x1d8)]({},_0x3d80e4,{'user':_0x3b3c81});if(this[_0x4d2ac6(0x1d4)][_0x4d2ac6(0x1c1)](_0x24ff8a)[_0x4d2ac6(0x1cf)](_0x5dbc86),!_0x390ef6[_0x4d2ac6(0x1d5)]){const _0x3e577a=this[_0x4d2ac6(0x1bc)][_0x4d2ac6(0x1c1)](_0x24ff8a);_0x3e577a[_0x4d2ac6(0x1b8)](_0x3b3c81['id'])||_0x3e577a[_0x4d2ac6(0x1cf)](_0x3b3c81),this[_0x4d2ac6(0x1c8)][_0x4d2ac6(0x1b8)](_0x3b3c81['id'])||_0x390ef6[_0x4d2ac6(0x1d5)]||this[_0x4d2ac6(0x1c8)][_0x4d2ac6(0x1cf)](_0x3b3c81,_0x3b3c81[_0x4d2ac6(0x1b7)]?0x0:void 0x0);}this[_0x4d2ac6(0x1bb)](_0x4d2ac6(0x1e8)+_0x24ff8a,{'channelId':_0x24ff8a,'session':_0x5dbc86});}[_0x133b92(0x1c7)](_0x2b40ec,_0x48f28e){const _0x47ae6f=_0x133b92;if(_0x47ae6f(0x1b6)!==this[_0x47ae6f(0x1e0)][_0x47ae6f(0x1ce)][_0x47ae6f(0x1c1)](_0x446e2b)[_0x47ae6f(0x1e2)])return;const _0x5928e9=this[_0x47ae6f(0x1bc)][_0x47ae6f(0x1c1)](_0x2b40ec),_0x34ca35=_0x48f28e[_0x47ae6f(0x1b3)];_0x34ca35['id']&&(this[_0x47ae6f(0x1d4)][_0x47ae6f(0x1c1)](_0x2b40ec)[_0x47ae6f(0x1c3)](_0x48f28e['id']),_0x5928e9[_0x47ae6f(0x1b8)](_0x34ca35['id'])&&!this[_0x47ae6f(0x1bf)](_0x34ca35,_0x2b40ec)[_0x47ae6f(0x1ca)]&&_0x5928e9[_0x47ae6f(0x1c3)](_0x34ca35['id']),this[_0x47ae6f(0x1c8)][_0x47ae6f(0x1c1)](_0x34ca35['id'])&&!this[_0x47ae6f(0x1bf)](_0x34ca35)[_0x47ae6f(0x1ca)]&&this[_0x47ae6f(0x1c8)][_0x47ae6f(0x1c3)](_0x34ca35['id']));}[_0x133b92(0x1e6)](_0x546b36,_0x1c7c9c){const _0x24c499=_0x133b92,_0x51062a=this[_0x24c499(0x1c9)][_0x24c499(0x1de)](_0x546b36);return _0x1c7c9c&&this[_0x24c499(0x1c9)][_0x24c499(0x1b2)](_0x546b36['id']),_0x51062a[_0x24c499(0x1af)]=this[_0x24c499(0x1db)]++,_0x51062a;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x3d0427=_0x45f8;(function(_0x21cc6c,_0xab0445){const _0x36fb06=_0x45f8,_0x15a396=_0x21cc6c();while(!![]){try{const _0x279c20=parseInt(_0x36fb06(0x121))/0x1+parseInt(_0x36fb06(0xd7))/0x2+-parseInt(_0x36fb06(0xe6))/0x3+parseInt(_0x36fb06(0x142))/0x4+parseInt(_0x36fb06(0x124))/0x5*(parseInt(_0x36fb06(0x13c))/0x6)+parseInt(_0x36fb06(0xea))/0x7*(parseInt(_0x36fb06(0x123))/0x8)+-parseInt(_0x36fb06(0x107))/0x9*(parseInt(_0x36fb06(0x105))/0xa);if(_0x279c20===_0xab0445)break;else _0x15a396['push'](_0x15a396['shift']());}catch(_0x348f4b){_0x15a396['push'](_0x15a396['shift']());}}}(_0x57b5,0x740b2));function _0x45f8(_0x2784ef,_0x3eb876){const _0x57b5a2=_0x57b5();return _0x45f8=function(_0x45f834,_0xb6b86a){_0x45f834=_0x45f834-0xc0;let _0x2725d7=_0x57b5a2[_0x45f834];return _0x2725d7;},_0x45f8(_0x2784ef,_0x3eb876);}import{Plugin as _0x324809}from'ckeditor5/src/core.js';import{global as _0x178a35,DomEmitterMixin as _0xead13d}from'ckeditor5/src/utils.js';import{Sessions as _0x1fb713}from'./sessions.js';import{ModelLiveRange as _0x39fe1f}from'ckeditor5/src/engine.js';function _0x57b5(){const _0x4ed85b=['update:user:range','detach','toRange','getFirstRange','set','reconvertMarker','type','addEventListener','parent','createUserMarkerOperations','getAttribute','isCollapsed','span','markerName','user:range','Escape','batch','selection','change:range','destroy','user:position','orderNumber','removeClass','editingDowncast','root','innerHTML','344692PMlTeL','tableCell','markerToHighlight','hasContent','$graveyard','listenTo','rootName','setAttribute','spellcheck','isDocumentOperation','deletionPosition','createUIElement','oldRange','isPremiumPlugin','getSelectionClass','1358298QSGXtQ','startsWith','outerHTML','_domEmitter','52220fPeudo','updateMarker','get','$text','name','isSimilar','getNearestSelectionRange','keydown','schema','render','mySessionId','ck-user__selection','ck-user__marker-tooltip','setCustomProperty','user:position:','getPositions','_createdBatches','for','createElement','createRange','removeMarker','mouseleave','getMarkerClass','clear','getContainedElement','editing','commands','10DkOqjX','view','7245738uLibFy','stopListening','add','toDomElement','checkChild','data-session-id','element','start','nodeAfter','document','model','markerToElement','undo','delete','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','markerRange','fromRange','getCustomProperty','afterInit','isInline','UserMarkers','marker','editor','mouseenter','user:range:','highest','455412lzbPwC','isLimit','88UjKwFV','39670DttWls','textContent','classList','size','change','user:','enqueueChange','hasDomSelection','isObject','ck-user__marker_hovered','conversion','applyOperation','end','markerNameToElements','ck-user__marker\x20','remove','markers','pluginName','newRange','getRange','plugins','false','split','mapper','474nnBWAO','requires','userPositionMarker','getUserBySessionId','getStart','isOfficialPlugin','1586232sncxdh','color','addMarker','init','has','contenteditable'];_0x57b5=function(){return _0x4ed85b;};return _0x57b5();}import'../../theme/usermarkers.css';export class UserMarkers extends _0x324809{[_0x3d0427(0xe9)]=new(_0xead13d())();static get[_0x3d0427(0x13d)](){return[_0x1fb713];}static get[_0x3d0427(0x135)](){const _0x1fcf14=_0x3d0427;return _0x1fcf14(0x11b);}static get[_0x3d0427(0x141)](){return!0x0;}static get[_0x3d0427(0xe4)](){return!0x0;}[_0x3d0427(0x145)](){const _0x128fca=_0x3d0427,_0x490909=this[_0x128fca(0x11d)],_0xfd8efb=_0x490909[_0x128fca(0x138)][_0x128fca(0xec)](_0x1fb713);_0x490909[_0x128fca(0x12e)][_0x128fca(0xfb)](_0x128fca(0xd4))[_0x128fca(0x112)]({'model':_0x128fca(0xd1),'view':(_0x5b0182,{writer:_0x3df093})=>function(_0x347bfb,_0x3c8f6a,_0x51c961,_0x40c1c5){const _0x3e4244=_0x128fca,_0x3ae33a=_0x347bfb[_0x3e4244(0xca)][_0x3e4244(0x13a)](':')[0x2],_0x5a3b40=_0x51c961[_0x3e4244(0x13f)](_0x3ae33a);if(!_0x5a3b40||_0x3ae33a===_0x51c961[_0x3e4244(0xf4)])return;if(!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)][_0x3e4244(0x10b)](_0x347bfb[_0x3e4244(0x116)][_0x3e4244(0x10e)],_0x3e4244(0xed)))return;const _0x2fde86={'class':_0x3e4244(0x132)+_0x5a3b40[_0x3e4244(0x143)][_0x3e4244(0x100)](),'data-name':_0x5a3b40[_0x3e4244(0xee)],'data-session-id':_0x3ae33a},_0x5329b2=_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0x134)][_0x3e4244(0xec)](_0x347bfb[_0x3e4244(0xca)]),_0x906cec=_0x5329b2[_0x3e4244(0x140)](),_0x351957=_0x906cec[_0x3e4244(0x10f)],_0x1a1f28=_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)];if(_0x351957&&_0x1a1f28[_0x3e4244(0x12c)](_0x351957)&&_0x1a1f28[_0x3e4244(0x11a)](_0x351957)&&!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0x134)][_0x3e4244(0xec)](_0x3e4244(0x11f)+_0x3ae33a)[_0x3e4244(0x137)]()[_0x3e4244(0xc8)])return;const _0x18124e=_0x906cec[_0x3e4244(0xc5)];return _0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xf2)][_0x3e4244(0x122)](_0x18124e)&&!_0x40c1c5[_0x3e4244(0x111)][_0x3e4244(0xda)](_0x18124e)&&(_0x2fde86[_0x3e4244(0x147)]=!0x1),function(_0x594e3b,_0x3e2458,_0x155bf9){const _0x3828a3=_0x3e4244,_0x1824aa=_0x594e3b[_0x3828a3(0xe2)](_0x3828a3(0xc9),_0x3e2458);return _0x594e3b[_0x3828a3(0xf7)](_0x3828a3(0x13e),!0x0,_0x1824aa),_0x1824aa[_0x3828a3(0xf3)]=function(_0x5e047d){const _0x130893=_0x3828a3,_0x90ed2c=this[_0x130893(0x10a)](_0x5e047d),_0x325297=document[_0x130893(0xfc)](_0x130893(0xc9));return _0x325297[_0x130893(0x126)][_0x130893(0x109)](_0x130893(0xf6)),_0x325297[_0x130893(0xde)](_0x130893(0x147),_0x130893(0x139)),_0x325297[_0x130893(0xde)](_0x130893(0xdf),_0x130893(0x139)),_0x325297[_0x130893(0x125)]=_0x155bf9[_0x130893(0xee)],_0x90ed2c[_0x130893(0xd6)]=_0x130893(0x115)+_0x325297[_0x130893(0xe8)]+'',_0x90ed2c[_0x130893(0xc4)](_0x130893(0x11e),()=>{const _0x6b7cf4=_0x130893;_0x90ed2c[_0x6b7cf4(0x126)][_0x6b7cf4(0x109)](_0x6b7cf4(0x12d));}),_0x90ed2c[_0x130893(0xc4)](_0x130893(0xff),()=>{const _0x5b3245=_0x130893;_0x90ed2c[_0x5b3245(0x126)][_0x5b3245(0x133)](_0x5b3245(0x12d));}),_0x90ed2c;},_0x1824aa[_0x3828a3(0xef)]=function(_0xfa5d70){const _0x5e44ac=_0x3828a3;return!(!this[_0x5e44ac(0x118)](_0x5e44ac(0x13e))||!_0xfa5d70[_0x5e44ac(0x118)](_0x5e44ac(0x13e))||this[_0x5e44ac(0xc7)](_0x5e44ac(0x10c))!=_0xfa5d70[_0x5e44ac(0xc7)](_0x5e44ac(0x10c)));},_0x1824aa;}(_0x3c8f6a,_0x2fde86,_0x5a3b40);}(_0x5b0182,_0x3df093,_0xfd8efb,_0x490909)}),_0x490909[_0x128fca(0x12e)][_0x128fca(0xfb)](_0x128fca(0xd4))[_0x128fca(0xd9)]({'model':_0x128fca(0xcb),'view':_0x5833a5=>function(_0x3e9295,_0x42570a){const _0x5fd429=_0x128fca,_0x364a40=_0x3e9295[_0x5fd429(0xca)][_0x5fd429(0x13a)](':')[0x2];if(_0x364a40===_0x42570a[_0x5fd429(0xf4)])return null;const _0x5638be=_0x42570a[_0x5fd429(0x13f)](_0x364a40);if(!_0x5638be)return{'id':_0x364a40,'classes':[]};return{'id':_0x364a40,'classes':[_0x5fd429(0xf5),_0x5638be[_0x5fd429(0x143)][_0x5fd429(0xe5)]()],'attributes':{'data-session-id':_0x364a40},'priority':0x7d0+_0x5638be[_0x5fd429(0xd2)]};}(_0x5833a5,_0xfd8efb)}),function(_0x207c3d){const _0x4f1119=_0x128fca,_0x43417a=_0x207c3d[_0x4f1119(0x111)],_0x4ac599=new Map(),_0x2c6ca6=_0x207c3d[_0x4f1119(0x138)][_0x4f1119(0xec)](_0x1fb713);_0x43417a[_0x4f1119(0x134)]['on'](_0x4f1119(0x148),(_0x229d57,_0x364bdd,_0x2ecd62,_0x6911f9)=>{const _0x49a473=_0x4f1119;if(!_0x6911f9&&_0x4ac599[_0x49a473(0xec)](_0x364bdd[_0x49a473(0xee)]))return _0x4ac599[_0x49a473(0xec)](_0x364bdd[_0x49a473(0xee)])[_0x49a473(0x149)](),void _0x4ac599[_0x49a473(0x114)](_0x364bdd[_0x49a473(0xee)]);const _0x1f8d01=_0x364bdd[_0x49a473(0xee)][_0x49a473(0x13a)](':')[0x2];if(_0x1f8d01===_0x2c6ca6[_0x49a473(0xf4)])return;const _0x1cab5b=_0x49a473(0xf8)+_0x1f8d01;_0x43417a[_0x49a473(0x134)][_0x49a473(0x146)](_0x1cab5b)&&_0x207c3d[_0x49a473(0x103)][_0x49a473(0xc2)](_0x1cab5b),_0x364bdd['on'](_0x49a473(0xcf),(_0xde64ff,_0x478abf,_0x8359b5)=>{const _0x363140=_0x49a473;if(_0x363140(0xdb)!=_0x478abf[_0x363140(0xd5)][_0x363140(0xdd)]&&_0x363140(0xdb)==_0x364bdd[_0x363140(0x137)]()[_0x363140(0xd5)][_0x363140(0xdd)]&&!_0x4ac599[_0x363140(0x146)](_0x364bdd[_0x363140(0xee)])){const _0x3f2b01=_0x43417a[_0x363140(0xf2)][_0x363140(0xf0)](_0x8359b5[_0x363140(0xe1)]);if(_0x3f2b01){const _0x424650=_0x39fe1f[_0x363140(0x117)](_0x3f2b01);_0x4ac599[_0x363140(0xc1)](_0x364bdd[_0x363140(0xee)],_0x424650),_0x424650['on'](_0x363140(0xcf),(_0x281a86,_0x5dfe89,_0x30f25c)=>{const _0x24f8f5=_0x363140;if(_0x24f8f5(0xdb)==_0x424650[_0x24f8f5(0xd5)][_0x24f8f5(0xdd)]){const _0x4b9dfc=_0x43417a[_0x24f8f5(0xf2)][_0x24f8f5(0xf0)](_0x30f25c[_0x24f8f5(0xe1)]);_0x4b9dfc?(_0x424650[_0x24f8f5(0x10e)]=_0x4b9dfc[_0x24f8f5(0x10e)],_0x424650[_0x24f8f5(0x130)]=_0x4b9dfc[_0x24f8f5(0x130)]):(_0x4ac599[_0x24f8f5(0x114)](_0x364bdd[_0x24f8f5(0xee)]),_0x424650[_0x24f8f5(0x149)]());}});}}});}),_0x43417a[_0x4f1119(0x110)]['on'](_0x4f1119(0x128),()=>{const _0x4b896b=_0x4f1119;_0x4ac599[_0x4b896b(0x127)]>0x0&&_0x43417a[_0x4b896b(0x12a)]({'isUndoable':!0x1},_0x5851d6=>{const _0x415f30=_0x4b896b;for(const [_0x1d8a91,_0x36c38c]of _0x4ac599)_0x415f30(0xdb)==_0x43417a[_0x415f30(0x134)][_0x415f30(0xec)](_0x1d8a91)[_0x415f30(0x137)]()[_0x415f30(0xd5)][_0x415f30(0xdd)]&&(Z(_0x1d8a91[_0x415f30(0x13a)](':')[0x2],_0x36c38c[_0x415f30(0x14a)](),_0x43417a,_0x5851d6),_0x36c38c[_0x415f30(0x149)]());_0x4ac599[_0x415f30(0x101)]();});});}(_0x490909),this[_0x128fca(0xe9)][_0x128fca(0xdc)](_0x178a35[_0x128fca(0x110)],_0x128fca(0xf1),(_0x53ff10,{key:_0x229b31})=>{const _0x4de026=_0x128fca;_0x4de026(0xcc)===_0x229b31&&function(_0x273500){const _0x4ec599=_0x4de026;_0x273500[_0x4ec599(0x103)][_0x4ec599(0x106)][_0x4ec599(0x128)](_0x1b541d=>{const _0x1f1bb0=_0x4ec599;for(const _0x920288 of _0x273500[_0x1f1bb0(0x111)][_0x1f1bb0(0x134)]){if(!_0x920288[_0x1f1bb0(0xee)][_0x1f1bb0(0xe7)](_0x1f1bb0(0xd1)))continue;const _0x5749e9=_0x273500[_0x1f1bb0(0x103)][_0x1f1bb0(0x13b)][_0x1f1bb0(0x131)](_0x920288[_0x1f1bb0(0xee)]);if(_0x5749e9){for(const _0x1d9910 of _0x5749e9)_0x1b541d[_0x1f1bb0(0xd3)](_0x1f1bb0(0x12d),_0x1d9910);}}});}(_0x490909);},{'useCapture':!0x0});}[_0x3d0427(0x119)](){const _0x9ea5f6=_0x3d0427,_0x1d5236=this[_0x9ea5f6(0x11d)],_0xcec3e3=_0x1d5236[_0x9ea5f6(0x104)][_0x9ea5f6(0xec)](_0x9ea5f6(0x113));_0xcec3e3&&_0x1d5236[_0x9ea5f6(0x111)]['on'](_0x9ea5f6(0x12f),(_0x2a583b,_0x169030)=>{const _0x6f770f=_0x9ea5f6,_0x3d93a4=_0x169030[0x0];if(!_0x3d93a4[_0x6f770f(0xe0)])return;if(_0x6f770f(0x11c)!=_0x3d93a4[_0x6f770f(0xc3)]||!_0x3d93a4[_0x6f770f(0xee)][_0x6f770f(0xe7)](_0x6f770f(0x129)))return;const _0x474f49=_0x3d93a4[_0x6f770f(0xcd)];_0xcec3e3[_0x6f770f(0xfa)][_0x6f770f(0x146)](_0x474f49)&&(_0x3d93a4[_0x6f770f(0x136)]=_0x3d93a4[_0x6f770f(0xe3)]?_0x1d5236[_0x6f770f(0x111)][_0x6f770f(0xfd)](_0x3d93a4[_0x6f770f(0xe3)][_0x6f770f(0x10e)],_0x3d93a4[_0x6f770f(0xe3)][_0x6f770f(0x130)]):null);},{'priority':_0x9ea5f6(0x120)});}[_0x3d0427(0xd0)](){const _0x444d0b=_0x3d0427;return this[_0x444d0b(0xe9)][_0x444d0b(0x108)](),super[_0x444d0b(0xd0)]();}[_0x3d0427(0xc6)](){const _0x4f67e0=_0x3d0427,_0x1978bc=this[_0x4f67e0(0x11d)],_0x2befb0=_0x1978bc[_0x4f67e0(0x111)][_0x4f67e0(0x110)],_0x18c553=_0x1978bc[_0x4f67e0(0x138)][_0x4f67e0(0xec)](_0x1fb713);_0x1978bc[_0x4f67e0(0x111)][_0x4f67e0(0x12a)]({'isUndoable':!0x1},_0x1f112f=>{const _0x1dd8c5=_0x4f67e0,_0x3f50a3=_0x1dd8c5(0x11f)+_0x18c553[_0x1dd8c5(0xf4)],_0x45cb7e=_0x1dd8c5(0xf8)+_0x18c553[_0x1dd8c5(0xf4)],_0x439d52=_0x1978bc[_0x1dd8c5(0x111)][_0x1dd8c5(0x134)][_0x1dd8c5(0x146)](_0x3f50a3);_0x1978bc[_0x1dd8c5(0x103)][_0x1dd8c5(0x106)][_0x1dd8c5(0x12b)]?Z(_0x18c553[_0x1dd8c5(0xf4)],_0x2befb0[_0x1dd8c5(0xce)][_0x1dd8c5(0xc0)](),_0x1978bc[_0x1dd8c5(0x111)],_0x1f112f):_0x439d52&&(_0x1f112f[_0x1dd8c5(0xfe)](_0x3f50a3),_0x1f112f[_0x1dd8c5(0xfe)](_0x45cb7e));});}}function Z(_0x4dc61d,_0x142e2b,_0x408e18,_0x18679f){const _0x49ee25=_0x3d0427,_0x2c9f37=_0x49ee25(0x11f)+_0x4dc61d,_0x2b12b2=_0x49ee25(0xf8)+_0x4dc61d,_0x4e963e=_0x142e2b[_0x49ee25(0x102)]();let _0x315709=_0x142e2b[_0x49ee25(0x10e)];if(_0x4e963e&&_0x4e963e['is'](_0x49ee25(0x10d),_0x49ee25(0xd8))){const _0xd048f6=function(_0x24fc6d,_0x24374e){const _0x1b10a5=_0x49ee25;for(const _0x1674d9 of _0x24fc6d[_0x1b10a5(0xf9)]())if(_0x24374e[_0x1b10a5(0xf2)][_0x1b10a5(0x10b)](_0x1674d9,_0x1b10a5(0xed)))return _0x1674d9;}(_0x142e2b,_0x408e18);_0xd048f6&&(_0x315709=_0xd048f6,_0x142e2b=_0x18679f[_0x49ee25(0xfd)](_0x315709));}const _0x53f674=_0x18679f[_0x49ee25(0xfd)](_0x315709);_0x408e18[_0x49ee25(0x134)][_0x49ee25(0x146)](_0x2c9f37)?(_0x18679f[_0x49ee25(0xeb)](_0x2c9f37,{'range':_0x142e2b}),_0x18679f[_0x49ee25(0xeb)](_0x2b12b2,{'range':_0x53f674})):(_0x18679f[_0x49ee25(0x144)](_0x2c9f37,{'range':_0x142e2b,'usingOperation':!0x0}),_0x18679f[_0x49ee25(0x144)](_0x2b12b2,{'range':_0x53f674,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x5f103a=_0x3e7d;(function(_0x2026e0,_0x1c2dd1){const _0x599697=_0x3e7d,_0xeffbb3=_0x2026e0();while(!![]){try{const _0x25fc8f=parseInt(_0x599697(0x15d))/0x1+-parseInt(_0x599697(0x17c))/0x2+-parseInt(_0x599697(0x185))/0x3+-parseInt(_0x599697(0x149))/0x4*(parseInt(_0x599697(0x137))/0x5)+-parseInt(_0x599697(0x16b))/0x6*(parseInt(_0x599697(0x176))/0x7)+parseInt(_0x599697(0x15b))/0x8*(-parseInt(_0x599697(0x146))/0x9)+parseInt(_0x599697(0x102))/0xa;if(_0x25fc8f===_0x1c2dd1)break;else _0xeffbb3['push'](_0xeffbb3['shift']());}catch(_0x1f5482){_0xeffbb3['push'](_0xeffbb3['shift']());}}}(_0x5517,0x58555));import{Plugin as _0x34a0c7}from'ckeditor5/src/core.js';import{global as _0x4c44ee,DomEmitterMixin as _0x1cd568}from'ckeditor5/src/utils.js';import{Sessions as _0x52fe8f}from'./sessions.js';function _0x5517(){const _0x1e8547=['undo','for','editingDowncast','getUserBySessionId','addEventListener','render','user:range:','classList','applyOperation','ck-user__selection','has','parent','oldRange','setAttribute','plugins','nodeAfter','createElement','span','contenteditable','createRange','toDomElement','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getMarkerClass','1170095jkNNQS','UserMarkers','markerToElement','getAttribute','isCollapsed','init','createUIElement','getContainedElement','pluginName','schema','get','outerHTML','removeClass','ck-user__marker_hovered','rootName','9eiRFqk','ck-user__marker\x20','removeMarker','4PQNHPo','end','destroy','userPositionMarker','orderNumber','_createdBatches','editor','addMarker','getSelectionClass','name','mapper','marker','$graveyard','mySessionId','hasDomSelection','markerName','reconvertMarker','color','2894176DkjCGa','updateMarker','339713DqJYYo','tableCell','change','selection','remove','hasContent','setCustomProperty','stopListening','isOfficialPlugin','keydown','model','type','innerHTML','user:','864lCwwPd','afterInit','false','commands','listenTo','isDocumentOperation','detach','element','start','markers','mouseleave','4046PwbVdR','root','isObject','getNearestSelectionRange','createUserMarkerOperations','batch','1327396mMirXy','enqueueChange','editing','toRange','split','_domEmitter','$text','update:user:range','conversion','1747422bfRrdL','isPremiumPlugin','add','markerNameToElements','spellcheck','textContent','Escape','getCustomProperty','19472950UsJupr','getStart','getPositions','set','size','checkChild','delete','newRange','startsWith','change:range','isInline','mouseenter','highest','markerRange','fromRange','clear','markerToHighlight','requires','deletionPosition','user:position:','document','data-session-id','isLimit','user:position','getFirstRange','getRange','user:range','isSimilar','ck-user__marker-tooltip','view'];_0x5517=function(){return _0x1e8547;};return _0x5517();}function _0x3e7d(_0x55c3a9,_0x4329e6){const _0x551749=_0x5517();return _0x3e7d=function(_0x3e7d29,_0x22f4c6){_0x3e7d29=_0x3e7d29-0xfe;let _0x2aeb25=_0x551749[_0x3e7d29];return _0x2aeb25;},_0x3e7d(_0x55c3a9,_0x4329e6);}import{ModelLiveRange as _0x30da73}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x34a0c7{[_0x5f103a(0x181)]=new(_0x1cd568())();static get[_0x5f103a(0x113)](){return[_0x52fe8f];}static get[_0x5f103a(0x13f)](){const _0x4bca7c=_0x5f103a;return _0x4bca7c(0x138);}static get[_0x5f103a(0x165)](){return!0x0;}static get[_0x5f103a(0x186)](){return!0x0;}[_0x5f103a(0x13c)](){const _0x56b864=_0x5f103a,_0x3c7eaf=this[_0x56b864(0x14f)],_0x4229fa=_0x3c7eaf[_0x56b864(0x12e)][_0x56b864(0x141)](_0x52fe8f);_0x3c7eaf[_0x56b864(0x184)][_0x56b864(0x121)](_0x56b864(0x122))[_0x56b864(0x139)]({'model':_0x56b864(0x119),'view':(_0x4dddc0,{writer:_0x326bb8})=>function(_0x2ff7a8,_0x59c5e0,_0x5e7de2,_0x2e2727){const _0x47b28a=_0x56b864,_0x4096b3=_0x2ff7a8[_0x47b28a(0x158)][_0x47b28a(0x180)](':')[0x2],_0x154e4f=_0x5e7de2[_0x47b28a(0x123)](_0x4096b3);if(!_0x154e4f||_0x4096b3===_0x5e7de2[_0x47b28a(0x156)])return;if(!_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x140)][_0x47b28a(0x107)](_0x2ff7a8[_0x47b28a(0x10f)][_0x47b28a(0x173)],_0x47b28a(0x182)))return;const _0x2fadf2={'class':_0x47b28a(0x147)+_0x154e4f[_0x47b28a(0x15a)][_0x47b28a(0x136)](),'data-name':_0x154e4f[_0x47b28a(0x152)],'data-session-id':_0x4096b3},_0x2cc57f=_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x174)][_0x47b28a(0x141)](_0x2ff7a8[_0x47b28a(0x158)]),_0x400060=_0x2cc57f[_0x47b28a(0x103)](),_0x3445e9=_0x400060[_0x47b28a(0x12f)],_0x3083ed=_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x140)];if(_0x3445e9&&_0x3083ed[_0x47b28a(0x178)](_0x3445e9)&&_0x3083ed[_0x47b28a(0x10c)](_0x3445e9)&&!_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x174)][_0x47b28a(0x141)](_0x47b28a(0x126)+_0x4096b3)[_0x47b28a(0x11b)]()[_0x47b28a(0x13b)])return;const _0x4b3068=_0x400060[_0x47b28a(0x12b)];return _0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x140)][_0x47b28a(0x118)](_0x4b3068)&&!_0x2e2727[_0x47b28a(0x167)][_0x47b28a(0x162)](_0x4b3068)&&(_0x2fadf2[_0x47b28a(0x132)]=!0x1),function(_0x1d18f7,_0x15b9c0,_0x5d6eab){const _0x4682e2=_0x47b28a,_0xeb1264=_0x1d18f7[_0x4682e2(0x13d)](_0x4682e2(0x131),_0x15b9c0);return _0x1d18f7[_0x4682e2(0x163)](_0x4682e2(0x14c),!0x0,_0xeb1264),_0xeb1264[_0x4682e2(0x125)]=function(_0x3d37db){const _0x4b8070=_0x4682e2,_0x3e7456=this[_0x4b8070(0x134)](_0x3d37db),_0x31f4b1=document[_0x4b8070(0x130)](_0x4b8070(0x131));return _0x31f4b1[_0x4b8070(0x127)][_0x4b8070(0x187)](_0x4b8070(0x11e)),_0x31f4b1[_0x4b8070(0x12d)](_0x4b8070(0x132),_0x4b8070(0x16d)),_0x31f4b1[_0x4b8070(0x12d)](_0x4b8070(0xfe),_0x4b8070(0x16d)),_0x31f4b1[_0x4b8070(0xff)]=_0x5d6eab[_0x4b8070(0x152)],_0x3e7456[_0x4b8070(0x169)]=_0x4b8070(0x135)+_0x31f4b1[_0x4b8070(0x142)]+'',_0x3e7456[_0x4b8070(0x124)](_0x4b8070(0x10d),()=>{const _0x5bdce0=_0x4b8070;_0x3e7456[_0x5bdce0(0x127)][_0x5bdce0(0x187)](_0x5bdce0(0x144));}),_0x3e7456[_0x4b8070(0x124)](_0x4b8070(0x175),()=>{const _0x18ccbb=_0x4b8070;_0x3e7456[_0x18ccbb(0x127)][_0x18ccbb(0x161)](_0x18ccbb(0x144));}),_0x3e7456;},_0xeb1264[_0x4682e2(0x11d)]=function(_0x473430){const _0x69c83=_0x4682e2;return!(!this[_0x69c83(0x101)](_0x69c83(0x14c))||!_0x473430[_0x69c83(0x101)](_0x69c83(0x14c))||this[_0x69c83(0x13a)](_0x69c83(0x117))!=_0x473430[_0x69c83(0x13a)](_0x69c83(0x117)));},_0xeb1264;}(_0x59c5e0,_0x2fadf2,_0x154e4f);}(_0x4dddc0,_0x326bb8,_0x4229fa,_0x3c7eaf)}),_0x3c7eaf[_0x56b864(0x184)][_0x56b864(0x121)](_0x56b864(0x122))[_0x56b864(0x112)]({'model':_0x56b864(0x11c),'view':_0x3f6a1d=>function(_0x55d5aa,_0x300a17){const _0x330975=_0x56b864,_0x42e0a6=_0x55d5aa[_0x330975(0x158)][_0x330975(0x180)](':')[0x2];if(_0x42e0a6===_0x300a17[_0x330975(0x156)])return null;const _0x553343=_0x300a17[_0x330975(0x123)](_0x42e0a6);if(!_0x553343)return{'id':_0x42e0a6,'classes':[]};return{'id':_0x42e0a6,'classes':[_0x330975(0x129),_0x553343[_0x330975(0x15a)][_0x330975(0x151)]()],'attributes':{'data-session-id':_0x42e0a6},'priority':0x7d0+_0x553343[_0x330975(0x14d)]};}(_0x3f6a1d,_0x4229fa)}),function(_0xbf6a7b){const _0xc3126d=_0x56b864,_0x2e0c7f=_0xbf6a7b[_0xc3126d(0x167)],_0x5dbd70=new Map(),_0x543540=_0xbf6a7b[_0xc3126d(0x12e)][_0xc3126d(0x141)](_0x52fe8f);_0x2e0c7f[_0xc3126d(0x174)]['on'](_0xc3126d(0x183),(_0x385163,_0x2b20a0,_0x37a28e,_0x56d6cb)=>{const _0x532174=_0xc3126d;if(!_0x56d6cb&&_0x5dbd70[_0x532174(0x141)](_0x2b20a0[_0x532174(0x152)]))return _0x5dbd70[_0x532174(0x141)](_0x2b20a0[_0x532174(0x152)])[_0x532174(0x171)](),void _0x5dbd70[_0x532174(0x108)](_0x2b20a0[_0x532174(0x152)]);const _0x470127=_0x2b20a0[_0x532174(0x152)][_0x532174(0x180)](':')[0x2];if(_0x470127===_0x543540[_0x532174(0x156)])return;const _0x3f32d9=_0x532174(0x115)+_0x470127;_0x2e0c7f[_0x532174(0x174)][_0x532174(0x12a)](_0x3f32d9)&&_0xbf6a7b[_0x532174(0x17e)][_0x532174(0x159)](_0x3f32d9),_0x2b20a0['on'](_0x532174(0x10b),(_0x1d015b,_0x94c526,_0x4fce16)=>{const _0x5789ba=_0x532174;if(_0x5789ba(0x155)!=_0x94c526[_0x5789ba(0x177)][_0x5789ba(0x145)]&&_0x5789ba(0x155)==_0x2b20a0[_0x5789ba(0x11b)]()[_0x5789ba(0x177)][_0x5789ba(0x145)]&&!_0x5dbd70[_0x5789ba(0x12a)](_0x2b20a0[_0x5789ba(0x152)])){const _0x503f36=_0x2e0c7f[_0x5789ba(0x140)][_0x5789ba(0x179)](_0x4fce16[_0x5789ba(0x114)]);if(_0x503f36){const _0x229794=_0x30da73[_0x5789ba(0x110)](_0x503f36);_0x5dbd70[_0x5789ba(0x105)](_0x2b20a0[_0x5789ba(0x152)],_0x229794),_0x229794['on'](_0x5789ba(0x10b),(_0x159e05,_0xd57dc9,_0x29d326)=>{const _0x55fd93=_0x5789ba;if(_0x55fd93(0x155)==_0x229794[_0x55fd93(0x177)][_0x55fd93(0x145)]){const _0x46dece=_0x2e0c7f[_0x55fd93(0x140)][_0x55fd93(0x179)](_0x29d326[_0x55fd93(0x114)]);_0x46dece?(_0x229794[_0x55fd93(0x173)]=_0x46dece[_0x55fd93(0x173)],_0x229794[_0x55fd93(0x14a)]=_0x46dece[_0x55fd93(0x14a)]):(_0x5dbd70[_0x55fd93(0x108)](_0x2b20a0[_0x55fd93(0x152)]),_0x229794[_0x55fd93(0x171)]());}});}}});}),_0x2e0c7f[_0xc3126d(0x116)]['on'](_0xc3126d(0x15f),()=>{const _0x296d6e=_0xc3126d;_0x5dbd70[_0x296d6e(0x106)]>0x0&&_0x2e0c7f[_0x296d6e(0x17d)]({'isUndoable':!0x1},_0xbf4a81=>{const _0x439660=_0x296d6e;for(const [_0x3e775b,_0x112b0a]of _0x5dbd70)_0x439660(0x155)==_0x2e0c7f[_0x439660(0x174)][_0x439660(0x141)](_0x3e775b)[_0x439660(0x11b)]()[_0x439660(0x177)][_0x439660(0x145)]&&(Q(_0x3e775b[_0x439660(0x180)](':')[0x2],_0x112b0a[_0x439660(0x17f)](),_0x2e0c7f,_0xbf4a81),_0x112b0a[_0x439660(0x171)]());_0x5dbd70[_0x439660(0x111)]();});});}(_0x3c7eaf),this[_0x56b864(0x181)][_0x56b864(0x16f)](_0x4c44ee[_0x56b864(0x116)],_0x56b864(0x166),(_0x67a256,{key:_0x3b4200})=>{const _0xc37bed=_0x56b864;_0xc37bed(0x100)===_0x3b4200&&function(_0x43329e){const _0x44f9eb=_0xc37bed;_0x43329e[_0x44f9eb(0x17e)][_0x44f9eb(0x11f)][_0x44f9eb(0x15f)](_0x173e69=>{const _0x1fb0e3=_0x44f9eb;for(const _0xdf44a9 of _0x43329e[_0x1fb0e3(0x167)][_0x1fb0e3(0x174)]){if(!_0xdf44a9[_0x1fb0e3(0x152)][_0x1fb0e3(0x10a)](_0x1fb0e3(0x119)))continue;const _0x36ebb2=_0x43329e[_0x1fb0e3(0x17e)][_0x1fb0e3(0x153)][_0x1fb0e3(0x188)](_0xdf44a9[_0x1fb0e3(0x152)]);if(_0x36ebb2){for(const _0x4b198a of _0x36ebb2)_0x173e69[_0x1fb0e3(0x143)](_0x1fb0e3(0x144),_0x4b198a);}}});}(_0x3c7eaf);},{'useCapture':!0x0});}[_0x5f103a(0x16c)](){const _0x5233f7=_0x5f103a,_0x4fb355=this[_0x5233f7(0x14f)],_0x1ab6f6=_0x4fb355[_0x5233f7(0x16e)][_0x5233f7(0x141)](_0x5233f7(0x120));_0x1ab6f6&&_0x4fb355[_0x5233f7(0x167)]['on'](_0x5233f7(0x128),(_0xdf9d3b,_0xcd5063)=>{const _0x1c1779=_0x5233f7,_0x1a26bb=_0xcd5063[0x0];if(!_0x1a26bb[_0x1c1779(0x170)])return;if(_0x1c1779(0x154)!=_0x1a26bb[_0x1c1779(0x168)]||!_0x1a26bb[_0x1c1779(0x152)][_0x1c1779(0x10a)](_0x1c1779(0x16a)))return;const _0x574c10=_0x1a26bb[_0x1c1779(0x17b)];_0x1ab6f6[_0x1c1779(0x14e)][_0x1c1779(0x12a)](_0x574c10)&&(_0x1a26bb[_0x1c1779(0x109)]=_0x1a26bb[_0x1c1779(0x12c)]?_0x4fb355[_0x1c1779(0x167)][_0x1c1779(0x133)](_0x1a26bb[_0x1c1779(0x12c)][_0x1c1779(0x173)],_0x1a26bb[_0x1c1779(0x12c)][_0x1c1779(0x14a)]):null);},{'priority':_0x5233f7(0x10e)});}[_0x5f103a(0x14b)](){const _0x39f53c=_0x5f103a;return this[_0x39f53c(0x181)][_0x39f53c(0x164)](),super[_0x39f53c(0x14b)]();}[_0x5f103a(0x17a)](){const _0x9a8806=_0x5f103a,_0xe21ea0=this[_0x9a8806(0x14f)],_0x4b8c02=_0xe21ea0[_0x9a8806(0x167)][_0x9a8806(0x116)],_0x24f190=_0xe21ea0[_0x9a8806(0x12e)][_0x9a8806(0x141)](_0x52fe8f);_0xe21ea0[_0x9a8806(0x167)][_0x9a8806(0x17d)]({'isUndoable':!0x1},_0x24334c=>{const _0x499512=_0x9a8806,_0x1b2f0b=_0x499512(0x126)+_0x24f190[_0x499512(0x156)],_0x24cdcf=_0x499512(0x115)+_0x24f190[_0x499512(0x156)],_0x48cea5=_0xe21ea0[_0x499512(0x167)][_0x499512(0x174)][_0x499512(0x12a)](_0x1b2f0b);_0xe21ea0[_0x499512(0x17e)][_0x499512(0x11f)][_0x499512(0x157)]?Q(_0x24f190[_0x499512(0x156)],_0x4b8c02[_0x499512(0x160)][_0x499512(0x11a)](),_0xe21ea0[_0x499512(0x167)],_0x24334c):_0x48cea5&&(_0x24334c[_0x499512(0x148)](_0x1b2f0b),_0x24334c[_0x499512(0x148)](_0x24cdcf));});}}function Q(_0x9d329a,_0x2934cd,_0x5e9028,_0x3ce668){const _0x173d6=_0x5f103a,_0x1e3688=_0x173d6(0x126)+_0x9d329a,_0x2d024d=_0x173d6(0x115)+_0x9d329a,_0x19466b=_0x2934cd[_0x173d6(0x13e)]();let _0x54cf70=_0x2934cd[_0x173d6(0x173)];if(_0x19466b&&_0x19466b['is'](_0x173d6(0x172),_0x173d6(0x15e))){const _0x4c2c95=function(_0x52dc2a,_0x302135){const _0x5cd787=_0x173d6;for(const _0x381911 of _0x52dc2a[_0x5cd787(0x104)]())if(_0x302135[_0x5cd787(0x140)][_0x5cd787(0x107)](_0x381911,_0x5cd787(0x182)))return _0x381911;}(_0x2934cd,_0x5e9028);_0x4c2c95&&(_0x54cf70=_0x4c2c95,_0x2934cd=_0x3ce668[_0x173d6(0x133)](_0x54cf70));}const _0xf5137d=_0x3ce668[_0x173d6(0x133)](_0x54cf70);_0x5e9028[_0x173d6(0x174)][_0x173d6(0x12a)](_0x1e3688)?(_0x3ce668[_0x173d6(0x15c)](_0x1e3688,{'range':_0x2934cd}),_0x3ce668[_0x173d6(0x15c)](_0x2d024d,{'range':_0xf5137d})):(_0x3ce668[_0x173d6(0x150)](_0x1e3688,{'range':_0x2934cd,'usingOperation':!0x0}),_0x3ce668[_0x173d6(0x150)](_0x2d024d,{'range':_0xf5137d,'usingOperation':!0x0}));}
|