@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.2 → 47.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1b0a17=_0x137c;function _0x137c(_0x41dac7,_0xdd96a5){const _0x3c3e22=_0x3c3e();return _0x137c=function(_0x137c51,_0x214b7f){_0x137c51=_0x137c51-0x1be;let _0x21e385=_0x3c3e22[_0x137c51];return _0x21e385;},_0x137c(_0x41dac7,_0xdd96a5);}(function(_0x50d4fc,_0x4cc6ab){const _0x23c692=_0x137c,_0x1b4b4f=_0x50d4fc();while(!![]){try{const _0x1e2d14=-parseInt(_0x23c692(0x1e1))/0x1*(parseInt(_0x23c692(0x1d9))/0x2)+-parseInt(_0x23c692(0x1c0))/0x3*(-parseInt(_0x23c692(0x1e0))/0x4)+parseInt(_0x23c692(0x1cd))/0x5*(-parseInt(_0x23c692(0x1ce))/0x6)+parseInt(_0x23c692(0x1d8))/0x7+-parseInt(_0x23c692(0x1cb))/0x8+-parseInt(_0x23c692(0x1c7))/0x9*(-parseInt(_0x23c692(0x1c4))/0xa)+-parseInt(_0x23c692(0x1d1))/0xb*(-parseInt(_0x23c692(0x1c3))/0xc);if(_0x1e2d14===_0x4cc6ab)break;else _0x1b4b4f['push'](_0x1b4b4f['shift']());}catch(_0x5cdb2d){_0x1b4b4f['push'](_0x1b4b4f['shift']());}}}(_0x3c3e,0xd6bd2));function _0x3c3e(){const _0x5bd3e0=['408ZGmMKM','1910dRkpsT','bindTemplate','hasPopup','71091feEKqL','fire','removeAttribute','element','1172800jwAivo','.ck-balloon-panel_with-arrow','10WBshiM','3732732UTCPSw','.ck-presence-list__dropdown-list','contains','144474LqGVjO','ck-presence-list__list','presencelist:hide','focus','createCollection','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','relatedTarget','2950304QdmqlT','62DJhTAo','change:hasPopup','aria-expanded','render','listenTo','presencelist:show','set','28aVTVvS','55391PkBcOO','keystrokes','isExpanded','setAttribute','items','querySelector','list','setTemplate','690342DjPlpX','div','Connected\x20users\x20list'];_0x3c3e=function(){return _0x5bd3e0;};return _0x3c3e();}import{View as _0x410ff4}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x5f0dd7}from'ckeditor5/src/utils.js';import{getTranslation as _0x28e016}from'../../common-translations.js';export class PresenceInlineListView extends _0x410ff4{[_0x1b0a17(0x1e5)];[_0x1b0a17(0x1e2)];constructor(_0xfedc8c){const _0x36f4d6=_0x1b0a17;super(_0xfedc8c);const _0x49d5dc=this[_0x36f4d6(0x1c5)];this[_0x36f4d6(0x1e5)]=this[_0x36f4d6(0x1d5)](),this[_0x36f4d6(0x1e2)]=new _0x5f0dd7(),this[_0x36f4d6(0x1df)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x36f4d6(0x1bf)]({'tag':_0x36f4d6(0x1c1),'attributes':{'aria-haspopup':_0x49d5dc['if'](_0x36f4d6(0x1c6)),'aria-expanded':_0x49d5dc['to'](_0x36f4d6(0x1e3),_0x2be721=>this[_0x36f4d6(0x1c6)]&&String(_0x2be721)),'aria-label':_0x49d5dc['to'](_0x36f4d6(0x1c6),_0x501387=>_0x28e016(_0xfedc8c,_0x501387?_0x36f4d6(0x1d6):_0x36f4d6(0x1c2))),'role':_0x36f4d6(0x1be),'tabindex':_0x49d5dc['to'](_0x36f4d6(0x1c6),_0x313abc=>!!_0x313abc&&0x0),'class':['ck',_0x36f4d6(0x1d2)]},'children':this[_0x36f4d6(0x1e5)],'on':{'mouseenter':_0x49d5dc['to'](()=>this[_0x36f4d6(0x1c8)](_0x36f4d6(0x1de))),'mouseleave':_0x49d5dc['to'](_0x178b87=>{const _0x4e098e=_0x36f4d6,_0x54220d=_0x178b87,_0x5b3c7b=document[_0x4e098e(0x1e6)](_0x4e098e(0x1cf)),_0x4be981=document[_0x4e098e(0x1e6)](_0x4e098e(0x1cc));_0x5b3c7b?.[_0x4e098e(0x1d0)](_0x54220d[_0x4e098e(0x1d7)])||_0x4be981?.[_0x4e098e(0x1d0)](_0x54220d[_0x4e098e(0x1d7)])||this[_0x4e098e(0x1c8)](_0x4e098e(0x1d3));})}}),this['on'](_0x36f4d6(0x1da),(_0x45c0df,_0x78045d,_0x15822c)=>{const _0x215282=_0x36f4d6;this[_0x215282(0x1ca)]&&(_0x15822c?this[_0x215282(0x1ca)][_0x215282(0x1e4)](_0x215282(0x1db),String(this[_0x215282(0x1e3)])):this[_0x215282(0x1ca)][_0x215282(0x1c9)](_0x215282(0x1db)));});}[_0x1b0a17(0x1d4)](){const _0x202785=_0x1b0a17;this[_0x202785(0x1ca)][_0x202785(0x1d4)]();}[_0x1b0a17(0x1dc)](){const _0x25b2c9=_0x1b0a17;super[_0x25b2c9(0x1dc)](),this[_0x25b2c9(0x1e2)][_0x25b2c9(0x1dd)](this[_0x25b2c9(0x1ca)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2164bb=_0x3b9c;(function(_0x4cce4f,_0x4d14f9){const _0x8c5b32=_0x3b9c,_0x37e8fe=_0x4cce4f();while(!![]){try{const _0x3f73be=parseInt(_0x8c5b32(0x1b1))/0x1+-parseInt(_0x8c5b32(0x1bf))/0x2*(-parseInt(_0x8c5b32(0x1ad))/0x3)+parseInt(_0x8c5b32(0x1c1))/0x4+parseInt(_0x8c5b32(0x1b2))/0x5*(-parseInt(_0x8c5b32(0x1c4))/0x6)+parseInt(_0x8c5b32(0x1c6))/0x7*(parseInt(_0x8c5b32(0x1ac))/0x8)+-parseInt(_0x8c5b32(0x1be))/0x9*(-parseInt(_0x8c5b32(0x1b9))/0xa)+parseInt(_0x8c5b32(0x1c3))/0xb*(-parseInt(_0x8c5b32(0x1b5))/0xc);if(_0x3f73be===_0x4d14f9)break;else _0x37e8fe['push'](_0x37e8fe['shift']());}catch(_0x5a4da3){_0x37e8fe['push'](_0x37e8fe['shift']());}}}(_0x4053,0x73a51));function _0x3b9c(_0x22e345,_0x280cb2){const _0x4053f8=_0x4053();return _0x3b9c=function(_0x3b9cb6,_0x134a5c){_0x3b9cb6=_0x3b9cb6-0x1a9;let _0x47e387=_0x4053f8[_0x3b9cb6];return _0x47e387;},_0x3b9c(_0x22e345,_0x280cb2);}import{View as _0x1dcbe8}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x59cff4}from'./presencecounterview.js';import{PresenceInlineListView as _0x2aca5d}from'./presenceinlinelistview.js';function _0x4053(){const _0x433ada=['setTemplate','hasPopup','inlineListView','ck-presence-list','108ArdGkb','196VPmloy','bindTemplate','689372OKedKL','first','291401GsbHGI','54HUSqRh','locale','70SCHoBY','div','tooltipPosition','ck-presence-list--collapsed','listenTo','58856hBJJHl','10929dtjwJS','bind','ck-reset','counterView','180854YkSjrW','248670enbIKx','change','items','24BZwwdf','isCollapsed','set','ck-rounded-corners','158740wKLrYa'];_0x4053=function(){return _0x433ada;};return _0x4053();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x1dcbe8{[_0x2164bb(0x1b0)];[_0x2164bb(0x1bc)];constructor(_0x4463ce,_0x5d4d29=0x6){const _0x3d34c6=_0x2164bb;super(_0x4463ce);const _0x3bc4d5=this[_0x3d34c6(0x1c0)];this[_0x3d34c6(0x1b7)](_0x3d34c6(0x1b6),!0x0),this[_0x3d34c6(0x1b0)]=new _0x59cff4(this[_0x3d34c6(0x1c5)],_0x5d4d29),this[_0x3d34c6(0x1bc)]=new _0x2aca5d(_0x4463ce),this[_0x3d34c6(0x1bc)][_0x3d34c6(0x1ae)](_0x3d34c6(0x1bb))['to'](this,_0x3d34c6(0x1b6)),this[_0x3d34c6(0x1ab)](this[_0x3d34c6(0x1bc)][_0x3d34c6(0x1b4)],_0x3d34c6(0x1b3),()=>{const _0x553afc=_0x3d34c6;for(const _0x549148 of this[_0x553afc(0x1bc)][_0x553afc(0x1b4)])_0x549148[_0x553afc(0x1a9)]='s';this[_0x553afc(0x1bc)][_0x553afc(0x1b4)][_0x553afc(0x1c2)]&&(this[_0x553afc(0x1bc)][_0x553afc(0x1b4)][_0x553afc(0x1c2)][_0x553afc(0x1a9)]='se');}),this[_0x3d34c6(0x1ba)]({'tag':_0x3d34c6(0x1c7),'attributes':{'class':['ck',_0x3d34c6(0x1bd),_0x3d34c6(0x1af),_0x3d34c6(0x1b8),_0x3bc4d5['if'](_0x3d34c6(0x1b6),_0x3d34c6(0x1aa))]},'children':[this[_0x3d34c6(0x1bc)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0x36ca62=_0x5a53;function _0x5a53(_0xf56ea,_0x338bdc){var _0x1f6285=_0x1f62();return _0x5a53=function(_0x5a5311,_0x32f4f8){_0x5a5311=_0x5a5311-0x18d;var _0x37b146=_0x1f6285[_0x5a5311];return _0x37b146;},_0x5a53(_0xf56ea,_0x338bdc);}function _0x1f62(){var _0x127311=['pluginName','728FfpIzK','25788BXJTiW','124197uDqDUk','PresenceList','1810kMpUhn','isOfficialPlugin','6UoDSkE','68719RgyWOG','259904qoqFhG','4NhlJkM','requires','230CabCfH','64618LRwfHS','34083ZbFQDP','22pVJsSK','isPremiumPlugin'];_0x1f62=function(){return _0x127311;};return _0x1f62();}(function(_0x726491,_0x32f6e6){var _0x3c6b77=_0x5a53,_0x196bf1=_0x726491();while(!![]){try{var _0x1d9533=-parseInt(_0x3c6b77(0x19d))/0x1*(-parseInt(_0x3c6b77(0x18f))/0x2)+-parseInt(_0x3c6b77(0x196))/0x3+-parseInt(_0x3c6b77(0x194))/0x4*(-parseInt(_0x3c6b77(0x198))/0x5)+parseInt(_0x3c6b77(0x19a))/0x6*(parseInt(_0x3c6b77(0x19b))/0x7)+parseInt(_0x3c6b77(0x19c))/0x8+parseInt(_0x3c6b77(0x190))/0x9*(-parseInt(_0x3c6b77(0x18e))/0xa)+parseInt(_0x3c6b77(0x191))/0xb*(parseInt(_0x3c6b77(0x195))/0xc);if(_0x1d9533===_0x32f6e6)break;else _0x196bf1['push'](_0x196bf1['shift']());}catch(_0x5a297f){_0x196bf1['push'](_0x196bf1['shift']());}}}(_0x1f62,0x1ba47));import{ContextPlugin as _0x347575}from'ckeditor5/src/core.js';import{Sessions as _0x187e7b}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x3c5bd9}from'./presencelist/presencelistui.js';export class PresenceList extends _0x347575{static get[_0x36ca62(0x18d)](){return[_0x187e7b,_0x3c5bd9];}static get[_0x36ca62(0x193)](){var _0x4fe8c5=_0x36ca62;return _0x4fe8c5(0x197);}static get[_0x36ca62(0x199)](){return!0x0;}static get[_0x36ca62(0x192)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x23d7dd)());[_0x44f586(0x104)];static get[_0x44f586(0x115)](){const _0x20ca59=_0x44f586;return[_0x2b91d9,_0x20ca59(0x147),_0x22dc34,_0x38cea0];}static get[_0x44f586(0xed)](){const _0x3e3131=_0x44f586;return _0x3e3131(0x13b);}static get[_0x44f586(0xfd)](){return!0x0;}static get[_0x44f586(0xf1)](){return!0x0;}constructor(_0x34b997){const _0x3f7d5c=_0x44f586;super(_0x34b997),this[_0x3f7d5c(0x104)]=new Map();}async[_0x44f586(0x12a)](){const _0x27eb8=_0x44f586,_0xba913c=this[_0x27eb8(0x11b)],_0x3f7705=_0xba913c[_0x27eb8(0x111)][_0x27eb8(0xfb)](_0x27eb8(0x147));if(_0xba913c[_0x27eb8(0x111)][_0x27eb8(0xfb)](_0x2b91d9)[_0x27eb8(0x133)](this),_0x3f7705[_0x27eb8(0x122)]={'addCommentThread':async({channelId:_0x5e9f2c,threadId:_0x3fb630,comments:_0xb430a2,resolvedAt:_0x4a3ae5,resolvedBy:_0x3eb7a0,context:_0x3a2e54,attributes:_0x531aee})=>{const _0x5435e7=_0x27eb8,_0x5af8f4=await this[_0x5435e7(0x113)](_0x5e9f2c)[_0x5435e7(0x10d)]({'commentThreadId':_0x3fb630,'comments':_0xb430a2[_0x5435e7(0xf6)](_0x151c4c=>function(_0x1997f2,_0x57c950,_0x4ef8ef){const _0x116507=_0x5435e7;return{'commentThreadId':_0x4ef8ef,'commentId':_0x1997f2[_0x116507(0xff)],'userId':_0x1997f2[_0x116507(0x110)],'content':_0x1997f2[_0x116507(0x102)],'documentId':_0x57c950,'createdAt':_0x1997f2[_0x116507(0x108)],'attributes':_0x1997f2[_0x116507(0x129)]||{}};}(_0x151c4c,_0x5e9f2c,_0x3fb630)),'resolvedAt':_0x4a3ae5,'resolvedBy':_0x3eb7a0,'context':_0x3a2e54,'attributes':_0x531aee})[_0x5435e7(0xef)](B);return{'threadId':_0x5af8f4[_0x5435e7(0x106)],'comments':_0x5af8f4[_0x5435e7(0xf0)]};},'getCommentThread':async({channelId:_0x285753,threadId:_0x4db455})=>{const _0x3b61ce=_0x27eb8,_0x5779ad=await this[_0x3b61ce(0x113)](_0x285753)[_0x3b61ce(0x116)](_0x4db455)[_0x3b61ce(0xef)](F)[_0x3b61ce(0xef)](B);return _0x5779ad?_0x5779ad[_0x3b61ce(0x125)]?null:(await this[_0x3b61ce(0x10c)]([_0x5779ad]),{'threadId':_0x5779ad[_0x3b61ce(0x106)],'comments':_0x5779ad[_0x3b61ce(0xf0)][_0x3b61ce(0xf6)](P),'context':_0x5779ad[_0x3b61ce(0x11b)],'resolvedAt':_0x5779ad[_0x3b61ce(0x107)],'resolvedBy':_0x5779ad[_0x3b61ce(0x10f)],'attributes':_0x5779ad[_0x3b61ce(0x129)]||{}}):null;},'updateCommentThread':async({channelId:_0x53ad67,threadId:_0x3c515e,context:_0x4affed,unlinkedAt:_0x19383e,attributes:_0x5324d2})=>this[_0x27eb8(0x113)](_0x53ad67)[_0x27eb8(0x118)]({'commentThreadId':_0x3c515e,'context':_0x4affed,'attributes':_0x5324d2,'unlinkedAt':_0x19383e})[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'resolveCommentThread':async({channelId:_0x584798,threadId:_0x230ce0})=>{const _0x3bddab=_0x27eb8,_0x28e6da=await this[_0x3bddab(0x113)](_0x584798)[_0x3bddab(0x130)](_0x230ce0)[_0x3bddab(0xef)](F)[_0x3bddab(0xef)](B);return{'threadId':_0x28e6da[_0x3bddab(0x106)],'resolvedAt':_0x28e6da[_0x3bddab(0x107)],'resolvedBy':_0x28e6da[_0x3bddab(0x10f)]};},'reopenCommentThread':async({channelId:_0x565d09,threadId:_0x3ec0e8})=>this[_0x27eb8(0x113)](_0x565d09)[_0x27eb8(0xf4)](_0x3ec0e8)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'removeCommentThread':({channelId:_0x1d8c1f,threadId:_0x4ffe0b})=>this[_0x27eb8(0x113)](_0x1d8c1f)[_0x27eb8(0x13a)](_0x4ffe0b)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'addComment':({channelId:_0x208699,threadId:_0x5ad196,commentId:_0x4b1991,content:_0xf35d43,attributes:_0x502d42})=>this[_0x27eb8(0x113)](_0x208699)[_0x27eb8(0x13c)](_0x5ad196,_0x4b1991,_0xf35d43,_0x502d42)[_0x27eb8(0xef)](B),'updateComment':({channelId:_0x4b0527,threadId:_0x5b2158,commentId:_0x588d10,content:_0x1dc362,attributes:_0x4ffff1})=>this[_0x27eb8(0x113)](_0x4b0527)[_0x27eb8(0x144)](_0x5b2158,_0x588d10,_0x1dc362,_0x4ffff1)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B),'removeComment':({channelId:_0x54b5e9,threadId:_0x34e4cf,commentId:_0x211b8f})=>this[_0x27eb8(0x113)](_0x54b5e9)[_0x27eb8(0xf9)](_0x34e4cf,_0x211b8f)[_0x27eb8(0xef)](F)[_0x27eb8(0xef)](B)},_0xba913c instanceof _0x3b18b5){const _0x6f4ce2=_0xba913c[_0x27eb8(0x11e)][_0x27eb8(0xfb)](_0x27eb8(0x11f)),_0x40544d=_0xba913c[_0x27eb8(0x111)][_0x27eb8(0xfb)](_0x22dc34);await this[_0x27eb8(0xfa)](_0x6f4ce2);const _0x3e73af=await this[_0x27eb8(0x104)][_0x27eb8(0xfb)](_0x6f4ce2)[_0x27eb8(0x10e)]();this[_0x27eb8(0x11c)](_0x40544d,_0x27eb8(0xf5)+_0x6f4ce2,(_0x5f4bf3,{session:_0x4be123})=>{const _0x29c795=_0x27eb8;_0x4be123['id']===_0x40544d[_0x29c795(0x105)]&&(_0x5f4bf3[_0x29c795(0x114)](),this[_0x29c795(0x11b)][_0x29c795(0x111)][_0x29c795(0xfb)](_0x29c795(0xec))[_0x29c795(0x12c)](_0x4be123[_0x29c795(0x103)],_0x6f4ce2));}),_0x40544d[_0x27eb8(0x128)](_0x6f4ce2,_0x3e73af);}}async[_0x44f586(0xfa)](_0x4aa2ad){const _0x3c0111=_0x44f586;if(this[_0x3c0111(0x104)][_0x3c0111(0x13f)](_0x4aa2ad))throw new _0x5ac336(_0x3c0111(0xe7),null,{'channelId':_0x4aa2ad});const _0xc6f74a=this[_0x3c0111(0x11b)][_0x3c0111(0x111)][_0x3c0111(0xfb)](_0x3c0111(0x147)),_0x5b61e1=new CloudServicesCommentsAdapter[(_0x3c0111(0x138))](_0x4aa2ad);this[_0x3c0111(0x104)][_0x3c0111(0xee)](_0x4aa2ad,_0x5b61e1),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x119),(_0x541942,_0x167efd)=>{const _0x1a679c=_0x3c0111,{commentThreadId:_0x15501b,documentId:_0x45cd4d,context:_0x3e42a0,attributes:_0x1d12b9,resolvedAt:_0x3ea450,resolvedBy:_0x4969c2,comments:_0x544098}=_0x167efd;_0xc6f74a[_0x1a679c(0x116)](_0x15501b)||_0xc6f74a[_0x1a679c(0x10d)]({'threadId':_0x15501b,'channelId':_0x45cd4d,'comments':_0x544098?_0x544098[_0x1a679c(0xf6)](P):[],'context':_0x3e42a0,'attributes':_0x1d12b9,'resolvedAt':_0x3ea450,'resolvedBy':_0x4969c2,'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x12f),(_0x2764ed,{commentThreadId:_0x24e5c1,documentId:_0x78e598,context:_0x266325,unlinkedAt:_0x3ebc38,attributes:_0x41cae3})=>{const _0x2cebb2=_0x3c0111;_0xc6f74a[_0x2cebb2(0x116)](_0x24e5c1)&&_0xc6f74a[_0x2cebb2(0x118)]({'threadId':_0x24e5c1,'channelId':_0x78e598,'context':_0x266325,'unlinkedAt':_0x3ebc38,'attributes':_0x41cae3,'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x10a),(_0x4d21e2,{commentThreadId:_0x541cc1,resolvedBy:_0xb3eda3,resolvedAt:_0xf18771})=>{const _0x23a4e5=_0x3c0111,_0x217784=_0xc6f74a[_0x23a4e5(0x116)](_0x541cc1);_0x217784&&_0x217784[_0x23a4e5(0x13d)]({'resolvedBy':_0xb3eda3,'resolvedAt':_0xf18771,'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x123),(_0x5d6c41,{commentThreadId:_0x46440d})=>{const _0xbdbe6c=_0x3c0111,_0x33c158=_0xc6f74a[_0xbdbe6c(0x116)](_0x46440d);_0x33c158&&_0x33c158[_0xbdbe6c(0x146)]({'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0xfc),(_0xc6d18e,{commentThreadId:_0x17e318})=>{const _0x20d0cb=_0x3c0111,_0x4ed9f6=_0xc6f74a[_0x20d0cb(0x116)](_0x17e318);_0x4ed9f6&&_0x4ed9f6[_0x20d0cb(0x140)]({'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0x117),(_0x133371,_0xbd2bda)=>{const _0x2d4490=_0x3c0111,_0x5e063d=_0xbd2bda[_0x2d4490(0x106)],_0x43eca9=_0xc6f74a[_0x2d4490(0x116)](_0x5e063d);_0x43eca9&&_0x43eca9[_0x2d4490(0x13c)]({...P(_0xbd2bda),'isFromAdapter':!0x0});}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0xe6),(_0x49a25e,{commentThreadId:_0x3b5c76,commentId:_0x560e64,content:_0x453dc3,attributes:_0x4d9f6c})=>{const _0x50a1cf=_0x3c0111,_0x11e7c1=_0xc6f74a[_0x50a1cf(0x116)](_0x3b5c76);if(_0x11e7c1){const _0xd50943=_0x11e7c1[_0x50a1cf(0x100)](_0x560e64);_0xd50943&&_0xd50943[_0x50a1cf(0x145)]({'content':_0x453dc3,'attributes':_0x4d9f6c,'isFromAdapter':!0x0});}}),this[_0x3c0111(0x11c)](_0x5b61e1,_0x3c0111(0xf8),(_0x5cd8c,{commentThreadId:_0x136b64,commentId:_0x46192f})=>{const _0x1daf1b=_0x3c0111,_0x56f7ae=_0xc6f74a[_0x1daf1b(0x116)](_0x136b64);if(_0x56f7ae){const _0x344b3b=_0x56f7ae[_0x1daf1b(0x100)](_0x46192f);_0x344b3b&&_0x344b3b[_0x1daf1b(0x140)]({'isFromAdapter':!0x0});}}),await this[_0x3c0111(0x10b)](_0x4aa2ad);}[_0x44f586(0x136)](){const _0x32c9ad=_0x44f586;if(this[_0x32c9ad(0x11b)]instanceof _0x3b18b5){const _0x204358=this[_0x32c9ad(0x11b)][_0x32c9ad(0x11e)][_0x32c9ad(0xfb)](_0x32c9ad(0x11f));this[_0x32c9ad(0x13e)](_0x204358);}}[_0x44f586(0x13e)](_0x25cc45){const _0x41a6a2=_0x44f586;if(!this[_0x41a6a2(0x104)][_0x41a6a2(0x13f)](_0x25cc45))throw new _0x5ac336(_0x41a6a2(0x12e),null,{'channelId':_0x25cc45});this[_0x41a6a2(0x113)](_0x25cc45)[_0x41a6a2(0x139)](),this[_0x41a6a2(0x104)][_0x41a6a2(0xe9)](_0x25cc45);}async[_0x44f586(0x11d)](){const _0x1be2ae=_0x44f586;for(const _0x2e6408 of this[_0x1be2ae(0x104)][_0x1be2ae(0xf7)]())await this[_0x1be2ae(0x10b)](_0x2e6408);if(this[_0x1be2ae(0x11b)]instanceof _0x3b18b5){const _0x46d83b=this[_0x1be2ae(0x11b)][_0x1be2ae(0x11e)][_0x1be2ae(0xfb)](_0x1be2ae(0x11f)),_0x45efed=this[_0x1be2ae(0x11b)][_0x1be2ae(0x111)][_0x1be2ae(0xfb)](_0x22dc34);_0x45efed[_0x1be2ae(0x142)](_0x46d83b);const _0x4eeaca=await this[_0x1be2ae(0x104)][_0x1be2ae(0xfb)](_0x46d83b)[_0x1be2ae(0x10e)]();_0x45efed[_0x1be2ae(0x128)](_0x46d83b,_0x4eeaca);}}async[_0x44f586(0x10b)](_0x441c5a){const _0x40d8a3=_0x44f586,{connection:_0x1912f7}=this[_0x40d8a3(0x11b)][_0x40d8a3(0x111)][_0x40d8a3(0xfb)](_0x2b91d9),_0x53e230=this[_0x40d8a3(0x11b)][_0x40d8a3(0x111)][_0x40d8a3(0xfb)](_0x40d8a3(0x147)),_0x59d3ca=this[_0x40d8a3(0x104)][_0x40d8a3(0xfb)](_0x441c5a),_0x241f5b=await _0x59d3ca[_0x40d8a3(0xf2)](_0x1912f7);await this[_0x40d8a3(0x10c)](_0x241f5b);const _0x5581cf=new Set(Array[_0x40d8a3(0x134)](_0x53e230[_0x40d8a3(0x135)]({'channelId':_0x441c5a}),_0x1af1d3=>_0x1af1d3['id']));for(const _0x5aaa4b of _0x241f5b)_0x5aaa4b[_0x40d8a3(0x125)]||_0x5581cf[_0x40d8a3(0xe9)](_0x5aaa4b[_0x40d8a3(0x106)]);for(const _0x4d7836 of _0x5581cf)_0x53e230[_0x40d8a3(0x116)](_0x4d7836)[_0x40d8a3(0x140)]({'isFromAdapter':!0x0});for(const _0x34123d of _0x241f5b){let _0x3f7394=_0x53e230[_0x40d8a3(0x116)](_0x34123d[_0x40d8a3(0x106)]);const {commentThreadId:_0x1347f6,context:_0x58e863,attributes:_0x590052,resolvedBy:_0xad4baf,resolvedAt:_0x502612,unlinkedAt:_0x25ea71,deletedAt:_0x39d71c}=_0x34123d;if(_0x39d71c)continue;_0x3f7394||(_0x3f7394=_0x53e230[_0x40d8a3(0x10d)]({'channelId':_0x441c5a,'threadId':_0x1347f6,'context':_0x58e863,'attributes':_0x590052||{},'resolvedBy':_0xad4baf,'resolvedAt':_0x502612,'unlinkedAt':_0x25ea71,'isFromAdapter':!0x0}));const _0x465fc=new Set(Array[_0x40d8a3(0x134)](_0x3f7394[_0x40d8a3(0xf0)],_0x5e7d00=>_0x5e7d00['id']));for(const _0x14279b of _0x34123d[_0x40d8a3(0xf0)])_0x465fc[_0x40d8a3(0xe9)](_0x14279b[_0x40d8a3(0xff)]);for(const _0x4e3299 of _0x465fc)_0x3f7394[_0x40d8a3(0x100)](_0x4e3299)[_0x40d8a3(0x140)]({'isFromAdapter':!0x0});for(const _0xf36802 of _0x34123d[_0x40d8a3(0xf0)]){const _0x5c0bf6=_0x3f7394[_0x40d8a3(0x100)](_0xf36802[_0x40d8a3(0xff)]);_0x5c0bf6?_0x5c0bf6[_0x40d8a3(0x102)]!==_0xf36802[_0x40d8a3(0x102)]&&_0x5c0bf6[_0x40d8a3(0x145)]({'content':_0xf36802[_0x40d8a3(0x102)],'isFromAdapter':!0x0}):_0x3f7394[_0x40d8a3(0x13c)](Object[_0x40d8a3(0xeb)](P(_0xf36802),{'isFromAdapter':!0x0}));}}}[_0x44f586(0x113)](_0x20a3b3){const _0x49f733=_0x44f586;if(!this[_0x49f733(0x104)][_0x49f733(0x13f)](_0x20a3b3))throw new _0x5ac336(_0x49f733(0x121),null,{'channelId':_0x20a3b3});return this[_0x49f733(0x104)][_0x49f733(0xfb)](_0x20a3b3);}async[_0x44f586(0x10c)](_0x1f28e9){const _0xe97b1c=_0x44f586,_0x19ffe3=this[_0xe97b1c(0x11b)][_0xe97b1c(0x111)][_0xe97b1c(0xfb)](_0x38cea0),{connection:_0x426747}=this[_0xe97b1c(0x11b)][_0xe97b1c(0x111)][_0xe97b1c(0xfb)](_0x2b91d9),_0x2e5fb2=new Set();for(const {resolvedBy:_0x144a0e,comments:_0x5e6e28}of _0x1f28e9){_0x144a0e&&!_0x19ffe3[_0xe97b1c(0x124)](_0x144a0e)&&_0x2e5fb2[_0xe97b1c(0x132)](_0x144a0e);for(const {userId:_0x1a4731}of _0x5e6e28)_0x19ffe3[_0xe97b1c(0x124)](_0x1a4731)||_0x2e5fb2[_0xe97b1c(0x132)](_0x1a4731);}if(0x0===_0x2e5fb2[_0xe97b1c(0x120)])return;const _0x1565ae=await _0xb8ec6c[_0xe97b1c(0xf3)](_0x426747,Array[_0xe97b1c(0x134)](_0x2e5fb2));for(const _0xe3c411 of _0x1565ae)_0x19ffe3[_0xe97b1c(0x124)](_0xe3c411['id'])||_0x19ffe3[_0xe97b1c(0x131)](_0xe3c411);}}async function F(_0x4677fd){const _0x1bd70a=_0x44f586;if(_0x1bd70a(0x11a)!==_0x4677fd[_0x1bd70a(0x148)])throw _0x4677fd;}function B(_0x118669){const _0x3bc81d=_0x44f586;if((_0x316c40=_0x118669)[_0x3bc81d(0x109)][_0x3bc81d(0x127)](_0x3bc81d(0xea))||_0x316c40[_0x3bc81d(0x109)][_0x3bc81d(0x127)](_0x3bc81d(0xe8))||_0x316c40[_0x3bc81d(0x109)][_0x3bc81d(0x127)](_0x3bc81d(0x143)))return new Promise(()=>{});var _0x316c40;throw _0x118669;}function _0xa435(_0x5eac6f,_0x1a22cc){const _0x880b92=_0x880b();return _0xa435=function(_0xa4352f,_0x1c240b){_0xa4352f=_0xa4352f-0xe5;let _0x4f6b9a=_0x880b92[_0xa4352f];return _0x4f6b9a;},_0xa435(_0x5eac6f,_0x1a22cc);}function P(_0x5a4094){const _0x217b22=_0x44f586;return{'threadId':_0x5a4094[_0x217b22(0x106)],'commentId':_0x5a4094[_0x217b22(0xff)],'content':_0x5a4094[_0x217b22(0x102)],'createdAt':_0x5a4094[_0x217b22(0x108)],'authorId':_0x5a4094[_0x217b22(0x126)],'attributes':_0x5a4094[_0x217b22(0x129)]||{}};}
|
|
23
|
+
const _0x6194f=_0x29da;(function(_0x3da51b,_0x19539e){const _0xf08e70=_0x29da,_0x28118d=_0x3da51b();while(!![]){try{const _0x4ebad0=parseInt(_0xf08e70(0xf8))/0x1*(parseInt(_0xf08e70(0x131))/0x2)+-parseInt(_0xf08e70(0x12e))/0x3+-parseInt(_0xf08e70(0x11d))/0x4*(parseInt(_0xf08e70(0xfb))/0x5)+parseInt(_0xf08e70(0xff))/0x6*(-parseInt(_0xf08e70(0xeb))/0x7)+-parseInt(_0xf08e70(0x10e))/0x8*(-parseInt(_0xf08e70(0x142))/0x9)+parseInt(_0xf08e70(0x136))/0xa*(-parseInt(_0xf08e70(0x106))/0xb)+parseInt(_0xf08e70(0x11b))/0xc*(parseInt(_0xf08e70(0x111))/0xd);if(_0x4ebad0===_0x19539e)break;else _0x28118d['push'](_0x28118d['shift']());}catch(_0x387460){_0x28118d['push'](_0x28118d['shift']());}}}(_0x32b9,0xd0275));import{Context as _0x42e05c,ContextPlugin as _0x308cc3}from'ckeditor5/src/core.js';import{CKEditorError as _0x588e9f}from'ckeditor5/src/utils.js';import{Users as _0x212e63}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x391a17,User as _0x3b1dd4}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x4fd9a5}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x131f70}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x308cc3{static [_0x6194f(0x115)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x391a17)());[_0x6194f(0x100)];static get[_0x6194f(0x10a)](){const _0x38e956=_0x6194f;return[_0x4fd9a5,_0x38e956(0xf9),_0x131f70,_0x212e63];}static get[_0x6194f(0x101)](){const _0x483305=_0x6194f;return _0x483305(0x119);}static get[_0x6194f(0x10b)](){return!0x0;}static get[_0x6194f(0x103)](){return!0x0;}constructor(_0x9bc6d6){const _0x46df29=_0x6194f;super(_0x9bc6d6),this[_0x46df29(0x100)]=new Map();}async[_0x6194f(0x122)](){const _0x4eb4d7=_0x6194f,_0x3dd91c=this[_0x4eb4d7(0x110)],_0x150355=_0x3dd91c[_0x4eb4d7(0x137)][_0x4eb4d7(0x128)](_0x4eb4d7(0xf9));if(_0x3dd91c[_0x4eb4d7(0x137)][_0x4eb4d7(0x128)](_0x4fd9a5)[_0x4eb4d7(0x108)](this),_0x150355[_0x4eb4d7(0x10c)]={'addCommentThread':async({channelId:_0x4c53ae,threadId:_0x53ea9d,comments:_0x3c1756,resolvedAt:_0x218479,resolvedBy:_0x53fd2b,context:_0x33fe70,attributes:_0x551911})=>{const _0x1998c4=_0x4eb4d7,_0x1624b3=await this[_0x1998c4(0xf7)](_0x4c53ae)[_0x1998c4(0xf3)]({'commentThreadId':_0x53ea9d,'comments':_0x3c1756[_0x1998c4(0xf1)](_0x3ca6a2=>function(_0x41824d,_0x2270e6,_0x24d50b){const _0x3871b6=_0x1998c4;return{'commentThreadId':_0x24d50b,'commentId':_0x41824d[_0x3871b6(0xec)],'userId':_0x41824d[_0x3871b6(0x134)],'content':_0x41824d[_0x3871b6(0x13e)],'documentId':_0x2270e6,'createdAt':_0x41824d[_0x3871b6(0x13d)],'attributes':_0x41824d[_0x3871b6(0x126)]||{}};}(_0x3ca6a2,_0x4c53ae,_0x53ea9d)),'resolvedAt':_0x218479,'resolvedBy':_0x53fd2b,'context':_0x33fe70,'attributes':_0x551911})[_0x1998c4(0x135)](A);return{'threadId':_0x1624b3[_0x1998c4(0xf2)],'comments':_0x1624b3[_0x1998c4(0x12a)]};},'getCommentThread':async({channelId:_0x388394,threadId:_0xda2258})=>{const _0x517d8b=_0x4eb4d7,_0x7bba60=await this[_0x517d8b(0xf7)](_0x388394)[_0x517d8b(0xed)](_0xda2258)[_0x517d8b(0x135)](f)[_0x517d8b(0x135)](A);return _0x7bba60?_0x7bba60[_0x517d8b(0xf4)]?null:(await this[_0x517d8b(0xe2)]([_0x7bba60]),{'threadId':_0x7bba60[_0x517d8b(0xf2)],'comments':_0x7bba60[_0x517d8b(0x12a)][_0x517d8b(0xf1)](p),'context':_0x7bba60[_0x517d8b(0x110)],'resolvedAt':_0x7bba60[_0x517d8b(0x109)],'resolvedBy':_0x7bba60[_0x517d8b(0x140)],'attributes':_0x7bba60[_0x517d8b(0x126)]||{}}):null;},'updateCommentThread':async({channelId:_0x5732b3,threadId:_0x137072,context:_0x44de1b,unlinkedAt:_0x5e73e5,attributes:_0x391344})=>this[_0x4eb4d7(0xf7)](_0x5732b3)[_0x4eb4d7(0x105)]({'commentThreadId':_0x137072,'context':_0x44de1b,'attributes':_0x391344,'unlinkedAt':_0x5e73e5})[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'resolveCommentThread':async({channelId:_0x4eb94b,threadId:_0x34f247})=>{const _0x3b80ec=_0x4eb4d7,_0x58856a=await this[_0x3b80ec(0xf7)](_0x4eb94b)[_0x3b80ec(0xe0)](_0x34f247)[_0x3b80ec(0x135)](f)[_0x3b80ec(0x135)](A);return{'threadId':_0x58856a[_0x3b80ec(0xf2)],'resolvedAt':_0x58856a[_0x3b80ec(0x109)],'resolvedBy':_0x58856a[_0x3b80ec(0x140)]};},'reopenCommentThread':async({channelId:_0x465633,threadId:_0x1efee5})=>this[_0x4eb4d7(0xf7)](_0x465633)[_0x4eb4d7(0x13c)](_0x1efee5)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'removeCommentThread':({channelId:_0x4d23db,threadId:_0x42a74f})=>this[_0x4eb4d7(0xf7)](_0x4d23db)[_0x4eb4d7(0xe4)](_0x42a74f)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'addComment':({channelId:_0x81eec9,threadId:_0x32efd4,commentId:_0x5231c1,content:_0x37edf3,attributes:_0x215de1})=>this[_0x4eb4d7(0xf7)](_0x81eec9)[_0x4eb4d7(0x123)](_0x32efd4,_0x5231c1,_0x37edf3,_0x215de1)[_0x4eb4d7(0x135)](A),'updateComment':({channelId:_0x1999e8,threadId:_0x1448c9,commentId:_0xfca54f,content:_0x16e818,attributes:_0x4976e3})=>this[_0x4eb4d7(0xf7)](_0x1999e8)[_0x4eb4d7(0xfc)](_0x1448c9,_0xfca54f,_0x16e818,_0x4976e3)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A),'removeComment':({channelId:_0x2240d1,threadId:_0x380836,commentId:_0x318704})=>this[_0x4eb4d7(0xf7)](_0x2240d1)[_0x4eb4d7(0x130)](_0x380836,_0x318704)[_0x4eb4d7(0x135)](f)[_0x4eb4d7(0x135)](A)},_0x3dd91c instanceof _0x42e05c){const _0x2cfdb3=_0x3dd91c[_0x4eb4d7(0x124)][_0x4eb4d7(0x128)](_0x4eb4d7(0x11f)),_0x41f3ff=_0x3dd91c[_0x4eb4d7(0x137)][_0x4eb4d7(0x128)](_0x131f70);await this[_0x4eb4d7(0xef)](_0x2cfdb3);const _0x1ccb48=await this[_0x4eb4d7(0x100)][_0x4eb4d7(0x128)](_0x2cfdb3)[_0x4eb4d7(0x13a)]();this[_0x4eb4d7(0x133)](_0x41f3ff,_0x4eb4d7(0x120)+_0x2cfdb3,(_0x2456bc,{session:_0x5785fa})=>{const _0x4beda5=_0x4eb4d7;_0x5785fa['id']===_0x41f3ff[_0x4beda5(0x102)]&&(_0x2456bc[_0x4beda5(0x141)](),this[_0x4beda5(0x110)][_0x4beda5(0x137)][_0x4beda5(0x128)](_0x4beda5(0x10d))[_0x4beda5(0x143)](_0x5785fa[_0x4beda5(0x117)],_0x2cfdb3));}),_0x41f3ff[_0x4eb4d7(0xee)](_0x2cfdb3,_0x1ccb48);}}async[_0x6194f(0xef)](_0xf43e15){const _0x5d5ca2=_0x6194f;if(this[_0x5d5ca2(0x100)][_0x5d5ca2(0xe3)](_0xf43e15))throw new _0x588e9f(_0x5d5ca2(0xe6),null,{'channelId':_0xf43e15});const _0x2d1de2=this[_0x5d5ca2(0x110)][_0x5d5ca2(0x137)][_0x5d5ca2(0x128)](_0x5d5ca2(0xf9)),_0x56f367=new CloudServicesCommentsAdapter[(_0x5d5ca2(0x115))](_0xf43e15);this[_0x5d5ca2(0x100)][_0x5d5ca2(0x12d)](_0xf43e15,_0x56f367),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x146),(_0x493e94,_0x5e7f7d)=>{const _0x2d14d0=_0x5d5ca2,{commentThreadId:_0x49bdf7,documentId:_0x2a7501,context:_0x5477b1,attributes:_0x1391bb,resolvedAt:_0x1b1c4b,resolvedBy:_0x4b8155,comments:_0x2521fd}=_0x5e7f7d;_0x2d1de2[_0x2d14d0(0xed)](_0x49bdf7)||_0x2d1de2[_0x2d14d0(0xf3)]({'threadId':_0x49bdf7,'channelId':_0x2a7501,'comments':_0x2521fd?_0x2521fd[_0x2d14d0(0xf1)](p):[],'context':_0x5477b1,'attributes':_0x1391bb,'resolvedAt':_0x1b1c4b,'resolvedBy':_0x4b8155,'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x125),(_0x274451,{commentThreadId:_0x4c323a,documentId:_0x56064e,context:_0x2d724e,unlinkedAt:_0x421d69,attributes:_0x394524})=>{const _0x2bf5d0=_0x5d5ca2;_0x2d1de2[_0x2bf5d0(0xed)](_0x4c323a)&&_0x2d1de2[_0x2bf5d0(0x105)]({'threadId':_0x4c323a,'channelId':_0x56064e,'context':_0x2d724e,'unlinkedAt':_0x421d69,'attributes':_0x394524,'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x129),(_0x2ea8a2,{commentThreadId:_0x390f6c,resolvedBy:_0x3d34a5,resolvedAt:_0x5654fa})=>{const _0x3afbd5=_0x5d5ca2,_0x192e3a=_0x2d1de2[_0x3afbd5(0xed)](_0x390f6c);_0x192e3a&&_0x192e3a[_0x3afbd5(0x121)]({'resolvedBy':_0x3d34a5,'resolvedAt':_0x5654fa,'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x139),(_0x2de464,{commentThreadId:_0x52e631})=>{const _0x57c819=_0x5d5ca2,_0x2aa7e7=_0x2d1de2[_0x57c819(0xed)](_0x52e631);_0x2aa7e7&&_0x2aa7e7[_0x57c819(0x11e)]({'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0xf5),(_0x6a74b1,{commentThreadId:_0x11c6cc})=>{const _0x18619d=_0x5d5ca2,_0x436657=_0x2d1de2[_0x18619d(0xed)](_0x11c6cc);_0x436657&&_0x436657[_0x18619d(0xfd)]({'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0xdf),(_0x1eb955,_0x9bc3df)=>{const _0x55093a=_0x5d5ca2,_0x4197ee=_0x9bc3df[_0x55093a(0xf2)],_0x53ff74=_0x2d1de2[_0x55093a(0xed)](_0x4197ee);_0x53ff74&&_0x53ff74[_0x55093a(0x123)]({...p(_0x9bc3df),'isFromAdapter':!0x0});}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0x11a),(_0x8c097d,{commentThreadId:_0x5bdb64,commentId:_0x272aa3,content:_0x44e45c,attributes:_0x104659})=>{const _0x3901f7=_0x5d5ca2,_0x1fbc0e=_0x2d1de2[_0x3901f7(0xed)](_0x5bdb64);if(_0x1fbc0e){const _0xaaeb3b=_0x1fbc0e[_0x3901f7(0xfa)](_0x272aa3);_0xaaeb3b&&_0xaaeb3b[_0x3901f7(0x114)]({'content':_0x44e45c,'attributes':_0x104659,'isFromAdapter':!0x0});}}),this[_0x5d5ca2(0x133)](_0x56f367,_0x5d5ca2(0xde),(_0x2bf5b8,{commentThreadId:_0x2c6db1,commentId:_0x5791eb})=>{const _0x1ba496=_0x5d5ca2,_0x3a71ec=_0x2d1de2[_0x1ba496(0xed)](_0x2c6db1);if(_0x3a71ec){const _0x10e32b=_0x3a71ec[_0x1ba496(0xfa)](_0x5791eb);_0x10e32b&&_0x10e32b[_0x1ba496(0xfd)]({'isFromAdapter':!0x0});}}),await this[_0x5d5ca2(0xea)](_0xf43e15);}[_0x6194f(0xe5)](){const _0x57e73e=_0x6194f;if(this[_0x57e73e(0x110)]instanceof _0x42e05c){const _0x28d13b=this[_0x57e73e(0x110)][_0x57e73e(0x124)][_0x57e73e(0x128)](_0x57e73e(0x11f));this[_0x57e73e(0xe1)](_0x28d13b);}}[_0x6194f(0xe1)](_0x1a1737){const _0xad9930=_0x6194f;if(!this[_0xad9930(0x100)][_0xad9930(0xe3)](_0x1a1737))throw new _0x588e9f(_0xad9930(0x118),null,{'channelId':_0x1a1737});this[_0xad9930(0xf7)](_0x1a1737)[_0xad9930(0x104)](),this[_0xad9930(0x100)][_0xad9930(0x144)](_0x1a1737);}async[_0x6194f(0x12b)](){const _0x249eca=_0x6194f;for(const _0x304d1e of this[_0x249eca(0x100)][_0x249eca(0x13f)]())await this[_0x249eca(0xea)](_0x304d1e);if(this[_0x249eca(0x110)]instanceof _0x42e05c){const _0x3f942e=this[_0x249eca(0x110)][_0x249eca(0x124)][_0x249eca(0x128)](_0x249eca(0x11f)),_0x57ca8f=this[_0x249eca(0x110)][_0x249eca(0x137)][_0x249eca(0x128)](_0x131f70);_0x57ca8f[_0x249eca(0x11c)](_0x3f942e);const _0x5de17e=await this[_0x249eca(0x100)][_0x249eca(0x128)](_0x3f942e)[_0x249eca(0x13a)]();_0x57ca8f[_0x249eca(0xee)](_0x3f942e,_0x5de17e);}}async[_0x6194f(0xea)](_0xe6de3c){const _0x227cae=_0x6194f,{connection:_0x5f4b48}=this[_0x227cae(0x110)][_0x227cae(0x137)][_0x227cae(0x128)](_0x4fd9a5),_0x5118c7=this[_0x227cae(0x110)][_0x227cae(0x137)][_0x227cae(0x128)](_0x227cae(0xf9)),_0x33f778=this[_0x227cae(0x100)][_0x227cae(0x128)](_0xe6de3c),_0x3a7781=await _0x33f778[_0x227cae(0xfe)](_0x5f4b48);await this[_0x227cae(0xe2)](_0x3a7781);const _0x55d371=new Set(Array[_0x227cae(0x116)](_0x5118c7[_0x227cae(0xf0)]({'channelId':_0xe6de3c}),_0xae03d3=>_0xae03d3['id']));for(const _0x287a76 of _0x3a7781)_0x287a76[_0x227cae(0xf4)]||_0x55d371[_0x227cae(0x144)](_0x287a76[_0x227cae(0xf2)]);for(const _0x1dce68 of _0x55d371)_0x5118c7[_0x227cae(0xed)](_0x1dce68)[_0x227cae(0xfd)]({'isFromAdapter':!0x0});for(const _0x14150c of _0x3a7781){let _0x27addd=_0x5118c7[_0x227cae(0xed)](_0x14150c[_0x227cae(0xf2)]);const {commentThreadId:_0x29b6c0,context:_0x464a17,attributes:_0x5f3c4b,resolvedBy:_0x6c0ddb,resolvedAt:_0x5ccd71,unlinkedAt:_0x15fa96,deletedAt:_0x399f63}=_0x14150c;if(_0x399f63)continue;_0x27addd||(_0x27addd=_0x5118c7[_0x227cae(0xf3)]({'channelId':_0xe6de3c,'threadId':_0x29b6c0,'context':_0x464a17,'attributes':_0x5f3c4b||{},'resolvedBy':_0x6c0ddb,'resolvedAt':_0x5ccd71,'unlinkedAt':_0x15fa96,'isFromAdapter':!0x0}));const _0x35641d=new Set(Array[_0x227cae(0x116)](_0x27addd[_0x227cae(0x12a)],_0x2e9a63=>_0x2e9a63['id']));for(const _0x1cd3a3 of _0x14150c[_0x227cae(0x12a)])_0x35641d[_0x227cae(0x144)](_0x1cd3a3[_0x227cae(0xec)]);for(const _0x50cce0 of _0x35641d)_0x27addd[_0x227cae(0xfa)](_0x50cce0)[_0x227cae(0xfd)]({'isFromAdapter':!0x0});for(const _0x5c4fac of _0x14150c[_0x227cae(0x12a)]){const _0x548307=_0x27addd[_0x227cae(0xfa)](_0x5c4fac[_0x227cae(0xec)]);_0x548307?_0x548307[_0x227cae(0x13e)]!==_0x5c4fac[_0x227cae(0x13e)]&&_0x548307[_0x227cae(0x114)]({'content':_0x5c4fac[_0x227cae(0x13e)],'isFromAdapter':!0x0}):_0x27addd[_0x227cae(0x123)](Object[_0x227cae(0x138)](p(_0x5c4fac),{'isFromAdapter':!0x0}));}}}[_0x6194f(0xf7)](_0x27358d){const _0xd0bb60=_0x6194f;if(!this[_0xd0bb60(0x100)][_0xd0bb60(0xe3)](_0x27358d))throw new _0x588e9f(_0xd0bb60(0x145),null,{'channelId':_0x27358d});return this[_0xd0bb60(0x100)][_0xd0bb60(0x128)](_0x27358d);}async[_0x6194f(0xe2)](_0x47dac6){const _0x221461=_0x6194f,_0x421829=this[_0x221461(0x110)][_0x221461(0x137)][_0x221461(0x128)](_0x212e63),{connection:_0x9d9b70}=this[_0x221461(0x110)][_0x221461(0x137)][_0x221461(0x128)](_0x4fd9a5),_0x48a9a2=new Set();for(const {resolvedBy:_0x2ef729,comments:_0x2edc68}of _0x47dac6){_0x2ef729&&!_0x421829[_0x221461(0xe7)](_0x2ef729)&&_0x48a9a2[_0x221461(0xf6)](_0x2ef729);for(const {userId:_0x357ef6}of _0x2edc68)_0x421829[_0x221461(0xe7)](_0x357ef6)||_0x48a9a2[_0x221461(0xf6)](_0x357ef6);}if(0x0===_0x48a9a2[_0x221461(0x12f)])return;const _0x4e4742=await _0x3b1dd4[_0x221461(0x10f)](_0x9d9b70,Array[_0x221461(0x116)](_0x48a9a2));for(const _0x5af294 of _0x4e4742)_0x421829[_0x221461(0xe7)](_0x5af294['id'])||_0x421829[_0x221461(0x132)](_0x5af294);}}async function f(_0xf300b4){const _0xa79a3c=_0x6194f;if(_0xa79a3c(0x13b)!==_0xf300b4[_0xa79a3c(0x113)])throw _0xf300b4;}function _0x32b9(){const _0x35fb1a=['commentThreadResolved','comments','reconnect','cloud-services-internal-error:\x20Request\x20timeout.','set','2740593sOSOjb','size','removeComment','8FEVniR','addUser','listenTo','authorId','catch','1990EWDOSf','plugins','assign','commentThreadReopened','getConnectedSessions','404','reopenCommentThread','createdAt','content','keys','resolvedBy','off','261JwVQhd','setPermissions','delete','cloudservicescommentsadapter-service-not-exist','commentThreadAdded','commentRemoved','commentAdded','resolveCommentThread','_terminateService','_fetchMissingUsersForThreads','has','removeCommentThread','destroy','cloudservicescommentsadapter-connect-already-connected','getUser','message','userId','_connectService','3396218flDfmy','commentId','getCommentThread','register','_setUpService','getCommentThreads','map','commentThreadId','addCommentThread','deletedAt','commentThreadRemoved','add','_getService','58021JhBKWh','CommentsRepository','getComment','213910bWrBYT','updateComment','remove','connect','18NwlIaP','_services','pluginName','mySessionId','isPremiumPlugin','disconnect','updateCommentThread','92444zuPULd','startsWith','addToReconnectionStack','resolvedAt','requires','isOfficialPlugin','adapter','Permissions','413872bXqNkg','getMany','context','1690OYVVur','cloud-services-internal-error:\x20Not\x20connected.','code','update','CommentsService','from','permissions','cloudservicescommentsadapter-disconnect-not-exist','CloudServicesCommentsAdapter','commentUpdated','437964APPKcI','unregister','148IhlSZg','reopen','collaboration.channelId','sessionAdd:','resolve','init','addComment','config','commentThreadUpdated','attributes','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','get'];_0x32b9=function(){return _0x35fb1a;};return _0x32b9();}function _0x29da(_0x37c1ae,_0x26be0d){const _0x32b951=_0x32b9();return _0x29da=function(_0x29da65,_0x476ccf){_0x29da65=_0x29da65-0xde;let _0xa0bbbe=_0x32b951[_0x29da65];return _0xa0bbbe;},_0x29da(_0x37c1ae,_0x26be0d);}function A(_0x15ec91){const _0x354c2d=_0x6194f;if((_0x2fbc18=_0x15ec91)[_0x354c2d(0xe8)][_0x354c2d(0x107)](_0x354c2d(0x127))||_0x2fbc18[_0x354c2d(0xe8)][_0x354c2d(0x107)](_0x354c2d(0x112))||_0x2fbc18[_0x354c2d(0xe8)][_0x354c2d(0x107)](_0x354c2d(0x12c)))return new Promise(()=>{});var _0x2fbc18;throw _0x15ec91;}function p(_0x2a6602){const _0x1d7e97=_0x6194f;return{'threadId':_0x2a6602[_0x1d7e97(0xf2)],'commentId':_0x2a6602[_0x1d7e97(0xec)],'content':_0x2a6602[_0x1d7e97(0x13e)],'createdAt':_0x2a6602[_0x1d7e97(0x13d)],'authorId':_0x2a6602[_0x1d7e97(0xe9)],'attributes':_0x2a6602[_0x1d7e97(0x126)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x31fcf9=_0xf1d4;(function(_0x1ad930,_0x5c836e){const _0x4fea82=_0xf1d4,_0x58b48c=_0x1ad930();while(!![]){try{const _0x33d78f=-parseInt(_0x4fea82(0x1b4))/0x1+-parseInt(_0x4fea82(0x1c2))/0x2*(-parseInt(_0x4fea82(0x1b7))/0x3)+parseInt(_0x4fea82(0x1c3))/0x4*(-parseInt(_0x4fea82(0x1bd))/0x5)+parseInt(_0x4fea82(0x1a1))/0x6+parseInt(_0x4fea82(0x1a9))/0x7+parseInt(_0x4fea82(0x1b9))/0x8*(-parseInt(_0x4fea82(0x1b6))/0x9)+parseInt(_0x4fea82(0x1a5))/0xa;if(_0x33d78f===_0x5c836e)break;else _0x58b48c['push'](_0x58b48c['shift']());}catch(_0x11f182){_0x58b48c['push'](_0x58b48c['shift']());}}}(_0x530c,0x2dbd6));import{Plugin as _0x4a998d}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x1ba27c}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x1586e8}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x9e70c3}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x4a998d{static get[_0x31fcf9(0x1a8)](){const _0x2161a3=_0x31fcf9;return[_0x2161a3(0x1af),_0x1ba27c,_0x1586e8,_0x9e70c3];}static get[_0x31fcf9(0x1b1)](){const _0x1ce799=_0x31fcf9;return _0x1ce799(0x1a2);}static get[_0x31fcf9(0x1bc)](){return!0x0;}static get[_0x31fcf9(0x1a4)](){return!0x0;}[_0x31fcf9(0x1c1)](){const _0x34c42c=_0x31fcf9,_0xd283eb=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x9e70c3),_0x45b1eb=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x34c42c(0x1aa)),_0xa39e28=this[_0x34c42c(0x1a6)][_0x34c42c(0x1b8)][_0x34c42c(0x1ac)](_0x1ba27c);return this[_0x34c42c(0x1a6)][_0x34c42c(0x1ae)][_0x34c42c(0x1b0)](_0x34c42c(0x1a3),()=>{const _0x2e028c=_0x34c42c;this[_0x2e028c(0x1be)](_0xd283eb,_0x2e028c(0x1b5),(_0x2eed70,_0x27cde8,_0x55d4a1)=>{const _0x266353=_0x2e028c;_0x45b1eb[_0x266353(0x1c0)]=_0x266353(0x1bb)!==_0x55d4a1;});}),this[_0x34c42c(0x1be)](_0xd283eb,_0x34c42c(0x1b5),(_0x26a70f,_0x538d09,_0x4f8f65)=>{const _0x3babb8=_0x34c42c;this[_0x3babb8(0x1a6)][_0x3babb8(0x1b8)][_0x3babb8(0x1ac)](_0x3babb8(0x1bf))[_0x3babb8(0x1b2)](_0x3babb8(0x1bb)!==_0x4f8f65);}),_0xa39e28[_0x34c42c(0x1b3)](this[_0x34c42c(0x1a6)][_0x34c42c(0x1a7)][_0x34c42c(0x1ac)](_0x34c42c(0x1ab)));}[_0x31fcf9(0x1ba)](){const _0x37faae=_0x31fcf9;this[_0x37faae(0x1a6)][_0x37faae(0x1b8)][_0x37faae(0x1ac)](_0x1ba27c)[_0x37faae(0x1ad)](this[_0x37faae(0x1a6)][_0x37faae(0x1a7)][_0x37faae(0x1ac)](_0x37faae(0x1ab))),super[_0x37faae(0x1ba)]();}}function _0xf1d4(_0x2aaf11,_0x3bad7e){const _0x530cbf=_0x530c();return _0xf1d4=function(_0xf1d47b,_0x133f28){_0xf1d47b=_0xf1d47b-0x1a1;let _0x4207c8=_0x530cbf[_0xf1d47b];return _0x4207c8;},_0xf1d4(_0x2aaf11,_0x3bad7e);}function _0x530c(){const _0x5d2899=['pluginName','switchReadOnly','_setUpService','234844IWfRXO','change:state','3008349NhmOeP','918006UrTUWL','plugins','8lWJHxl','destroy','connected','isOfficialPlugin','20oEjTFt','listenTo','CommentsRepository','isThreadsLoadingPaused','init','2OePrXf','335060TNEsDQ','2185224XMWpwO','RealTimeCollaborativeComments','ready','isPremiumPlugin','845660yUPdqQ','editor','config','requires','2357201sEpPvC','CommentsEditing','collaboration.channelId','get','_terminateService','data','Comments','once'];_0x530c=function(){return _0x5d2899;};return _0x530c();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x4b126a)());[_0x3e676d(0x142)];[_0x3e676d(0x172)];[_0x3e676d(0x1a2)];[_0x3e676d(0x1d0)];[_0x3e676d(0x13d)];[_0x3e676d(0x18d)];[_0x3e676d(0x183)];[_0x3e676d(0x1ae)];[_0x3e676d(0x1e2)];[_0x3e676d(0x133)];[_0x3e676d(0x1a4)];[_0x3e676d(0x195)];[_0x3e676d(0x12f)];[_0x3e676d(0x1de)];[_0x3e676d(0x153)];[_0x3e676d(0x10e)];[_0x3e676d(0x1f2)];[_0x3e676d(0x1c9)];static get[_0x3e676d(0x105)](){return[_0x46d954,_0x19bfc9,_0x16c185,_0x2e23c2,_0x2a2d9c,_0x4f5eea];}static get[_0x3e676d(0x166)](){const _0x5b4e49=_0x3e676d;return _0x5b4e49(0x1be);}static get[_0x3e676d(0x1a7)](){return!0x0;}static get[_0x3e676d(0x176)](){return!0x0;}get[_0x3e676d(0x161)](){const _0x53afb4=_0x3e676d;return this[_0x53afb4(0x1b8)]+this[_0x53afb4(0x142)];}get[_0x3e676d(0x1b8)](){const _0x41b03f=_0x3e676d;return this[_0x41b03f(0x1a2)][_0x41b03f(0xf6)]-this[_0x41b03f(0x142)];}get[_0x3e676d(0x17a)](){const _0x11a4e2=_0x3e676d,_0x1d3f40=this[_0x11a4e2(0x1a2)][_0x11a4e2(0x11b)]();for(let _0x16c9b4=_0x1d3f40[_0x11a4e2(0x12b)]-0x1;_0x16c9b4>=0x0;_0x16c9b4--){const _0x1d77f7=_0x1d3f40[_0x16c9b4];if(!this[_0x11a4e2(0x1f2)][_0x11a4e2(0xfc)](_0x1d77f7))return _0x1d77f7[_0x11a4e2(0x1d1)]+0x1-this[_0x11a4e2(0x142)];}return 0x0;}constructor(_0x531108){const _0x4e362b=_0x3e676d;if(super(_0x531108),this[_0x4e362b(0x142)]=0x0,this[_0x4e362b(0x172)]=null,this[_0x4e362b(0x1a2)]=new _0x53c737(),this[_0x4e362b(0x199)][_0x4e362b(0x1a3)][_0x4e362b(0x132)](_0x4e362b(0x1c1),{}),this[_0x4e362b(0x1d0)]=this[_0x4e362b(0x199)][_0x4e362b(0x1a3)][_0x4e362b(0x1b2)](_0x4e362b(0x12c)),!this[_0x4e362b(0x1d0)])throw new _0x49fa3b(_0x4e362b(0x14a),this);const _0x544895=_0x531108[_0x4e362b(0x1a3)][_0x4e362b(0x1b2)](_0x4e362b(0x126))||_0x3b727f;this[_0x4e362b(0x13d)]=new RealTimeCollaborationClient[(_0x4e362b(0x189))](_0x544895,this[_0x4e362b(0x1d0)]),this[_0x4e362b(0x18d)]=this[_0x4e362b(0x199)][_0x4e362b(0x1cf)][_0x4e362b(0xf8)],this[_0x4e362b(0x183)]=new _0x442e7b(),this[_0x4e362b(0x1ae)]=[],this[_0x4e362b(0x1e2)]=new WeakSet(),this[_0x4e362b(0x133)]=new Set(),this[_0x4e362b(0x1d6)](_0x4e362b(0x12a),!0x1),this[_0x4e362b(0x1d6)](_0x4e362b(0x186),!0x1),this[_0x4e362b(0x1a4)]=null,this[_0x4e362b(0x195)]=!0x1,this[_0x4e362b(0x12f)]=null,this[_0x4e362b(0x1de)]=0x12c,this[_0x4e362b(0x153)]=this[_0x4e362b(0x1de)],this[_0x4e362b(0x10e)]=null,this[_0x4e362b(0x1f2)]=new WeakSet(),this[_0x4e362b(0x1c9)]=new Z(this[_0x4e362b(0x1f2)]);}[_0x3e676d(0x192)](){const _0x291b29=_0x3e676d,_0x3bfb71=this[_0x291b29(0x199)],_0x272e6a=_0x3bfb71[_0x291b29(0x1dd)][_0x291b29(0x1b2)](_0x2a2d9c),_0x58cf2c=_0x3bfb71[_0x291b29(0x1dd)][_0x291b29(0x1b2)](_0x46d954);this[_0x291b29(0x179)](_0x272e6a,_0x291b29(0x131),(_0x298832,_0x233272)=>{const _0x250580=_0x291b29,_0x5bf32a=_0x233272[0x0];_0x5bf32a[_0x250580(0x11d)]&&(_0x298832[_0x250580(0x1d4)]=_0x272e6a[_0x250580(0x137)](_0x5bf32a[_0x250580(0x11d)]),_0x298832[_0x250580(0x18c)]()),null===_0x5bf32a[_0x250580(0x11d)]&&(_0x298832[_0x250580(0x1d4)]=null,_0x298832[_0x250580(0x18c)]());},{'priority':_0x291b29(0x13b)}),this[_0x291b29(0x179)](_0x3bfb71[_0x291b29(0x1cf)][_0x291b29(0xf8)][_0x291b29(0x18a)],_0x291b29(0x125),(_0x1177d9,_0x16faf6)=>{const _0x378976=_0x291b29;_0x16faf6[_0x378976(0x178)]&&this[_0x378976(0x1e8)]();}),this[_0x291b29(0x179)](_0x3bfb71[_0x291b29(0x1e1)][_0x291b29(0x1b6)],_0x291b29(0x154),()=>{const _0x3574a5=_0x291b29;this[_0x3574a5(0x1e8)]();}),this[_0x291b29(0x17d)](),_0x3bfb71[_0x291b29(0x1cf)]['on'](_0x291b29(0x158),(_0x10743f,_0x3efc04)=>{const _0x39afeb=_0x291b29,_0x58f13f=_0x3efc04[0x0];_0x58f13f[_0x39afeb(0x1b5)]&&(this[_0x39afeb(0x1a9)](_0x58f13f),this[_0x39afeb(0x150)]()&&this[_0x39afeb(0x149)]());}),this[_0x291b29(0x127)](),this[_0x291b29(0x167)](_0x291b29(0x177))['to'](_0x58cf2c,_0x291b29(0x169),this,_0x291b29(0x186),(_0x1613fb,_0x2f555b)=>_0x291b29(0x18b)===_0x1613fb&&!_0x2f555b),this['on'](_0x291b29(0x140),()=>{const _0x958c5a=_0x291b29;this[_0x958c5a(0x177)]?_0x3bfb71[_0x958c5a(0x15e)](_0x958c5a(0x184)):_0x3bfb71[_0x958c5a(0x143)](_0x958c5a(0x184));}),this[_0x291b29(0x177)]?_0x3bfb71[_0x291b29(0x15e)](_0x291b29(0x184)):_0x3bfb71[_0x291b29(0x143)](_0x291b29(0x184)),this[_0x291b29(0x1d6)](_0x291b29(0x136),!0x1);}async[_0x3e676d(0x112)](){const _0x11669a=_0x3e676d,_0x27b0fd=this[_0x11669a(0x199)][_0x11669a(0x1dd)][_0x11669a(0x1b2)](_0x19bfc9),_0x27e7cf=this[_0x11669a(0x199)][_0x11669a(0x1dd)][_0x11669a(0x1b2)](_0x46d954);try{this[_0x11669a(0x12a)]=!0x0,_0x27b0fd[_0x11669a(0x11e)](this[_0x11669a(0x1d0)]);const _0xfa6fb=await this[_0x11669a(0x13d)][_0x11669a(0x112)](_0x27e7cf[_0x11669a(0x13f)],this[_0x11669a(0x17a)]);await this[_0x11669a(0x14c)](_0xfa6fb)&&(this[_0x11669a(0x12a)]=!0x1,this[_0x11669a(0x1b9)]());const _0x9f1d52=await this[_0x11669a(0x13d)][_0x11669a(0x1ec)]();_0x27b0fd[_0x11669a(0x146)](this[_0x11669a(0x1d0)],_0x9f1d52),this[_0x11669a(0x19b)](),this[_0x11669a(0x136)]=!0x0;}catch(_0x2f19ee){if(function(_0x1ca3ad){const _0x40fb50=_0x11669a;return _0x40fb50(0x16c)===_0x1ca3ad[_0x40fb50(0x124)];}(_0x2f19ee)&&this[_0x11669a(0x172)])await this[_0x11669a(0xf5)]();else{if(function(_0x45ba32){const _0x28333d=_0x11669a;return _0x28333d(0x1ce)===_0x45ba32[_0x28333d(0x124)];}(_0x2f19ee)){const _0x1749c1=_0x39755b(this[_0x11669a(0x199)][_0x11669a(0x1c6)],_0x11669a(0x171));this[_0x11669a(0x10c)](_0x1749c1);}else{if(!(_0x2f19ee instanceof X))throw _0x2f19ee;this[_0x11669a(0x10c)]();}}}}[_0x3e676d(0x141)](){const _0x56ee4b=_0x3e676d,_0x59bc77=this[_0x56ee4b(0x199)][_0x56ee4b(0x1dd)][_0x56ee4b(0x1b2)](_0x46d954),_0x1cbf5d=this[_0x56ee4b(0x199)][_0x56ee4b(0x1dd)][_0x56ee4b(0x1b2)](_0x19bfc9);this[_0x56ee4b(0x199)][_0x56ee4b(0x143)](_0x56ee4b(0xfb)),_0x1cbf5d[_0x56ee4b(0x11a)][_0x56ee4b(0xfc)](this[_0x56ee4b(0x1d0)])&&_0x1cbf5d[_0x56ee4b(0x11e)](this[_0x56ee4b(0x1d0)]),_0x59bc77[_0x56ee4b(0x13e)](this),this[_0x56ee4b(0x134)](),super[_0x56ee4b(0x141)]();}async[_0x3e676d(0x14c)](_0x22464b){const _0x4630fc=_0x3e676d;if(this[_0x4630fc(0x172)]!==_0x22464b[_0x4630fc(0x172)]&&this[_0x4630fc(0x10e)]!==_0x22464b[_0x4630fc(0x1db)])throw new X();return this[_0x4630fc(0x172)]=_0x22464b[_0x4630fc(0x172)],this[_0x4630fc(0x175)]([],{..._0x22464b,'wereChangesApplied':!0x1,'data':_0x22464b[_0x4630fc(0x1c7)]},_0x4630fc(0x112));}async[_0x3e676d(0x15a)](_0x3417f4,_0x25d6a0=!0x1){const _0x1a5eb1=_0x3e676d,{connection:_0x383337}=this[_0x1a5eb1(0x199)][_0x1a5eb1(0x1dd)][_0x1a5eb1(0x1b2)](_0x46d954);RealTimeCollaborationClient[_0x1a5eb1(0x189)][_0x1a5eb1(0x1ec)](_0x383337,this[_0x1a5eb1(0x1d0)])[_0x1a5eb1(0x1a8)](_0x1768b1=>this[_0x1a5eb1(0xf2)](_0x1768b1))[_0x1a5eb1(0x162)](_0x268ce9=>{const _0x37fbee=_0x1a5eb1;this[_0x37fbee(0x188)](_0x37fbee(0x12d),_0x268ce9);}),this[_0x1a5eb1(0x179)](this[_0x1a5eb1(0x13d)],_0x1a5eb1(0x165),this[_0x1a5eb1(0x17f)][_0x1a5eb1(0x167)](this)),this[_0x1a5eb1(0x179)](this[_0x1a5eb1(0x13d)],_0x1a5eb1(0x17b),(_0x4ad8ba,_0x247683)=>{const _0x21a6b2=_0x1a5eb1;this[_0x21a6b2(0x188)](_0x21a6b2(0x115),_0x247683);}),this[_0x1a5eb1(0x179)](this[_0x1a5eb1(0x13d)],_0x1a5eb1(0x1ee),()=>{const _0x4b3ad1=_0x1a5eb1;this[_0x4b3ad1(0x136)]=!0x1;});const _0x19c3d9=this[_0x1a5eb1(0x1c9)][_0x1a5eb1(0x1ba)](_0x3417f4);this[_0x1a5eb1(0x12a)]=!0x0;const _0x104049=await this[_0x1a5eb1(0x13d)][_0x1a5eb1(0x1f0)](_0x383337,this[_0x1a5eb1(0x181)](_0x3417f4),_0x19c3d9);if(this[_0x1a5eb1(0x172)]=_0x104049[_0x1a5eb1(0x172)],_0x25d6a0){if(!_0x104049[_0x1a5eb1(0x118)])return void this[_0x1a5eb1(0x10c)]();this[_0x1a5eb1(0x12a)]=!0x1,this[_0x1a5eb1(0x1b9)](),this[_0x1a5eb1(0x1a2)][_0x1a5eb1(0x1e6)](),this[_0x1a5eb1(0x142)]=_0x104049[_0x1a5eb1(0x1cb)],this[_0x1a5eb1(0x1a2)][_0x1a5eb1(0xf6)]=this[_0x1a5eb1(0x142)],await this[_0x1a5eb1(0x175)](_0x3417f4,_0x104049,_0x1a5eb1(0x190));}else await this[_0x1a5eb1(0x19d)](_0x104049,_0x3417f4);this[_0x1a5eb1(0x19b)](),this[_0x1a5eb1(0x136)]=!0x0;}[_0x3e676d(0x19b)](){const _0x144c5f=_0x3e676d,_0x414ef3=this[_0x144c5f(0x199)][_0x144c5f(0x1dd)][_0x144c5f(0x1b2)](_0x19bfc9),_0x1b28c1=this[_0x144c5f(0x199)][_0x144c5f(0x1dd)][_0x144c5f(0x1b2)](_0x16c185),_0x41ac45=_0x414ef3[_0x144c5f(0x11a)][_0x144c5f(0x1b2)](this[_0x144c5f(0x1d0)]);_0x41ac45&&_0x41ac45[_0x144c5f(0x12b)]>0x1?_0x1b28c1[_0x144c5f(0x14f)]():this[_0x144c5f(0x179)](_0x414ef3,_0x144c5f(0x113)+this[_0x144c5f(0x1d0)],()=>{const _0x4f77fe=_0x144c5f;0x2===_0x414ef3[_0x4f77fe(0x11a)][_0x4f77fe(0x1b2)](this[_0x4f77fe(0x1d0)])[_0x4f77fe(0x12b)]&&_0x1b28c1[_0x4f77fe(0x14f)]();});}async[_0x3e676d(0x17f)](_0x20d424,_0x1c9f0a,_0x5e7cb6,_0x55a266){const _0x5b8791=_0x3e676d;if(!this[_0x5b8791(0x12a)]&&this[_0x5b8791(0x18d)][_0x5b8791(0xf6)]==_0x1c9f0a){const _0x26f981=this[_0x5b8791(0x1d9)](_0x5e7cb6,_0x55a266);await this[_0x5b8791(0x173)](_0x26f981),this[_0x5b8791(0x157)](_0x26f981,_0x1c9f0a,_0x5e7cb6[_0x5b8791(0x1db)])||this[_0x5b8791(0x188)](_0x5b8791(0x1bb));}}async[_0x3e676d(0xf5)](){const _0x1fa275=_0x3e676d;this[_0x1fa275(0x134)]();const {locale:_0x49d075}=this[_0x1fa275(0x199)];let _0xb76c87;try{_0xb76c87=await this[_0x1fa275(0x13d)][_0x1fa275(0x16d)]();}catch{const _0x3ef3b4=_0x39755b(_0x49d075,_0x1fa275(0x159));return void this[_0x1fa275(0x10c)](_0x3ef3b4);}const _0x233f69=_0xb76c87[_0x1fa275(0x139)]||_0xb76c87[_0x1fa275(0x108)];if(this[_0x1fa275(0x10e)]!==_0x233f69[_0x1fa275(0x1db)]){const _0x22011e=_0x39755b(_0x49d075,_0x1fa275(0x107));return void this[_0x1fa275(0x10c)](_0x22011e);}await this[_0x1fa275(0x15a)](this[_0x1fa275(0x199)][_0x1fa275(0x1cf)][_0x1fa275(0xf8)][_0x1fa275(0x170)][_0x1fa275(0x11b)](),!0x0);}[_0x3e676d(0x134)](){const _0x3648bf=_0x3e676d;this[_0x3648bf(0x13d)][_0x3648bf(0x1a5)](),this[_0x3648bf(0x1ae)]=[],clearTimeout(this[_0x3648bf(0x12f)]),this[_0x3648bf(0x197)](this[_0x3648bf(0x13d)]);}[_0x3e676d(0xf2)](_0x99e3b1){const _0x10ed75=_0x3e676d,_0x5b21bc=this[_0x10ed75(0x199)][_0x10ed75(0x1dd)][_0x10ed75(0x1b2)](_0x19bfc9);this[_0x10ed75(0x179)](_0x5b21bc,_0x10ed75(0x113)+this[_0x10ed75(0x1d0)],(_0x3e05a0,{session:_0x4dcbb3})=>{const _0x211b16=_0x10ed75;if(_0x4dcbb3['id']===_0x5b21bc[_0x211b16(0x1dc)]){_0x3e05a0[_0x211b16(0x198)]();const _0x1604b7=this[_0x211b16(0x199)][_0x211b16(0x1dd)][_0x211b16(0xfc)](_0x211b16(0x106))&&this[_0x211b16(0x199)][_0x211b16(0x1dd)][_0x211b16(0x1b2)](_0x211b16(0x106));let _0x16990d=_0x4dcbb3[_0x211b16(0x168)];_0x1604b7&&_0x1604b7[_0x211b16(0x1b4)]&&(_0x16990d=_0x16990d[_0x211b16(0x114)](_0x43a9d9=>_0x211b16(0x1ab)!==_0x43a9d9)),this[_0x211b16(0x199)][_0x211b16(0x1dd)][_0x211b16(0x1b2)](_0x211b16(0x1e9))[_0x211b16(0x17c)](_0x16990d,this[_0x211b16(0x1d0)]);}}),_0x5b21bc[_0x10ed75(0x146)](this[_0x10ed75(0x1d0)],_0x99e3b1);}[_0x3e676d(0x17d)](){const _0x4e80b6=_0x3e676d,_0x52e42b=this[_0x4e80b6(0x199)][_0x4e80b6(0x1c7)][_0x4e80b6(0x1d6)];this[_0x4e80b6(0x199)][_0x4e80b6(0x1c7)][_0x4e80b6(0x1d6)]=(..._0x4628d1)=>{const _0x6d3389=_0x4e80b6;if(!_0x4628d1[_0x4628d1[_0x6d3389(0x12b)]-0x1][_0x6d3389(0x1a1)])throw new _0x49fa3b(_0x6d3389(0x1b0),this);_0x52e42b[_0x6d3389(0x163)](this[_0x6d3389(0x199)][_0x6d3389(0x1c7)],_0x4628d1);};}[_0x3e676d(0x127)](){const _0x1264b2=_0x3e676d;this[_0x1264b2(0x199)][_0x1264b2(0x1c7)]['on'](_0x1264b2(0x192),(_0x4aebf0,[_0x33158c])=>{const _0x60847c=_0x1264b2;if(this[_0x60847c(0x18d)][_0x60847c(0xf6)])throw new _0x49fa3b(_0x60847c(0x156),this);_0x4aebf0[_0x60847c(0x18c)](),this[_0x60847c(0x11c)]();const _0xa8d96e=this[_0x60847c(0x199)][_0x60847c(0x1a3)][_0x60847c(0x1b2)](_0x60847c(0x1f4)),_0x4d3792=this[_0x60847c(0x14e)](_0x33158c,_0xa8d96e);0x0==_0x4d3792[_0x60847c(0x12b)]&&_0x4d3792[_0x60847c(0x185)](new _0x27e38f(0x0)),_0x4aebf0[_0x60847c(0x1d4)]=this[_0x60847c(0x15a)](_0x4d3792)[_0x60847c(0x1a8)](()=>{const _0x48c9ce=_0x60847c;this[_0x48c9ce(0x199)][_0x48c9ce(0x1dd)][_0x48c9ce(0x1b2)](_0x46d954)[_0x48c9ce(0x145)](this),this[_0x48c9ce(0x199)][_0x48c9ce(0x1c7)][_0x48c9ce(0xfd)](_0x48c9ce(0x1c8));})[_0x60847c(0x162)](_0x536cc5=>this[_0x60847c(0x188)](_0x60847c(0x15b),_0x536cc5))[_0x60847c(0x1f1)](()=>this[_0x60847c(0x1b9)]());},{'priority':_0x1264b2(0x13b)}),this[_0x1264b2(0x199)]['on'](_0x1264b2(0x1af),async(_0x3c7b8c,[_0x432d3d,_0x10d8a5])=>{const _0x513260=_0x1264b2;_0x3c7b8c[_0x513260(0x18c)]();const _0x16790c=this[_0x513260(0x199)][_0x513260(0x1cf)][_0x513260(0xf8)][_0x513260(0x1e7)](_0x432d3d);if(!this[_0x513260(0x133)][_0x513260(0xfc)](_0x432d3d)){const _0xe99029=_0x10d8a5&&_0x10d8a5[_0x513260(0x1c7)]?_0x10d8a5[_0x513260(0x1c7)]:'',_0x16d2ae=_0x10d8a5&&_0x10d8a5[_0x513260(0x1a0)]?_0x10d8a5[_0x513260(0x1a0)]:{};await this[_0x513260(0x182)](_0x432d3d,_0xe99029,_0x16d2ae);}this[_0x513260(0x199)][_0x513260(0x1cf)][_0x513260(0x160)]({'isUndoable':!0x1},()=>{const _0x6eb88a=_0x513260;_0x16790c[_0x6eb88a(0x144)]=!0x0,this[_0x6eb88a(0x199)][_0x6eb88a(0x1cf)][_0x6eb88a(0xf8)][_0x6eb88a(0x129)][_0x6eb88a(0x102)](_0x16790c);});},{'priority':_0x1264b2(0x13b)});}async[_0x3e676d(0x173)](_0x3c6283){const _0x3235d7=_0x3e676d,_0x1b20c3=this[_0x3235d7(0x199)][_0x3235d7(0x1dd)][_0x3235d7(0x1b2)](_0x2a2d9c),{connection:_0x579abd}=this[_0x3235d7(0x199)][_0x3235d7(0x1dd)][_0x3235d7(0x1b2)](_0x46d954),_0x4e052b=new Set();for(const _0x3d001e of _0x3c6283){const _0x116c67=_0x3d001e[_0x3235d7(0x11d)];_0x116c67&&!_0x1b20c3[_0x3235d7(0x137)](_0x116c67)&&_0x4e052b[_0x3235d7(0x15d)](_0x116c67);}if(0x0===_0x4e052b[_0x3235d7(0x1e4)])return;const _0x4f8f9a=await _0x2c333a[_0x3235d7(0x1c4)](_0x579abd,Array[_0x3235d7(0x119)](_0x4e052b));for(const _0x315bb4 of _0x4f8f9a)_0x1b20c3[_0x3235d7(0x137)](_0x315bb4['id'])||_0x1b20c3[_0x3235d7(0xff)](_0x315bb4);}[_0x3e676d(0x14e)](_0x351609,_0x4f78b3={}){const _0x565c31=_0x3e676d,_0x2d55f7=this[_0x565c31(0x199)][_0x565c31(0x1cf)],_0x408341=[];let _0x23ba42=0x0;const _0x1e9540=_0x565c31(0xf1)==typeof _0x351609?{'main':_0x351609}:_0x351609;for(const _0x2d8c75 of Object[_0x565c31(0x191)](_0x1e9540)){if(!this[_0x565c31(0x18d)][_0x565c31(0x1f3)][_0x565c31(0xfc)](_0x2d8c75))throw new _0x49fa3b(_0x565c31(0x117),this);const _0x344d59=this[_0x565c31(0x199)][_0x565c31(0x1c7)][_0x565c31(0x14b)](_0x1e9540[_0x2d8c75]),_0x328ed0=this[_0x565c31(0x18d)][_0x565c31(0x1e7)](_0x2d8c75),_0x42f07b=new _0x53d1c3(_0x2d55f7[_0x565c31(0x10b)](_0x328ed0,0x0),_0x344d59,_0x23ba42++);_0x408341[_0x565c31(0x185)](_0x42f07b);for(const [_0x3997a5,_0x54a107]of _0x344d59[_0x565c31(0x19a)]){const _0xb966c5=_0x2d55f7[_0x565c31(0xf7)](_0x2d55f7[_0x565c31(0x128)](_0x328ed0,_0x54a107[_0x565c31(0x1cd)][_0x565c31(0x155)][_0x565c31(0x1a6)]()),_0x2d55f7[_0x565c31(0x128)](_0x328ed0,_0x54a107[_0x565c31(0x121)][_0x565c31(0x155)][_0x565c31(0x1a6)]())),_0x23eeac=new _0x4fa8bc(_0x3997a5,null,_0xb966c5,_0x2d55f7[_0x565c31(0x19a)],!0x0,_0x23ba42++);_0x408341[_0x565c31(0x185)](_0x23eeac);}}if(_0x4f78b3)for(const [_0x324679,_0x1e1a1f]of Object[_0x565c31(0x111)](_0x4f78b3)){const _0x4c6bc9=_0x2d55f7[_0x565c31(0xf8)][_0x565c31(0x1e7)](_0x324679);if(!_0x4c6bc9)throw new _0x49fa3b(_0x565c31(0x1ca),null);for(const [_0x2df6c6,_0x35be7a]of Object[_0x565c31(0x111)](_0x1e1a1f))if(null!==_0x35be7a){const _0xb0457a=new _0x725b45(_0x4c6bc9,_0x2df6c6,null,_0x35be7a,_0x23ba42++);_0x408341[_0x565c31(0x185)](_0xb0457a);}}return _0x408341;}async[_0x3e676d(0x182)](_0x1be60f,_0x2cd54e,_0x3ba9ed){const _0x4c4969=_0x3e676d;this[_0x4c4969(0x14e)]({[_0x1be60f]:_0x2cd54e},{[_0x1be60f]:_0x3ba9ed})[_0x4c4969(0x194)]((_0x42fd26,_0x2eeeeb)=>{const _0x2e7e67=_0x4c4969;_0x42fd26[_0x2e7e67(0x1d1)]=this[_0x2e7e67(0x18d)][_0x2e7e67(0xf6)]+_0x2eeeeb,_0x42fd26[_0x2e7e67(0x1c2)]=!0x0,this[_0x2e7e67(0x1a9)](_0x42fd26);}),this[_0x4c4969(0x149)](),await this[_0x4c4969(0x11f)]();}async[_0x3e676d(0x19d)](_0x1f662e,_0x352cee){const _0x1fd809=_0x3e676d;let _0x2333ba;this[_0x1fd809(0x142)]=_0x1f662e[_0x1fd809(0x1cb)];const _0x52da65=_0x1f662e[_0x1fd809(0x118)]&&!_0x1f662e[_0x1fd809(0x1c5)],_0x32ccb9=_0x52da65?0x0:_0x1f662e[_0x1fd809(0x1c7)][_0x1fd809(0x1d1)];if(_0x352cee[_0x1fd809(0x194)](_0x30e2e2=>{const _0x2f47c8=_0x1fd809;_0x30e2e2[_0x2f47c8(0x1c2)]=!0x0,_0x30e2e2[_0x2f47c8(0x1bc)]=_0x1f662e[_0x2f47c8(0x138)],_0x30e2e2[_0x2f47c8(0x11d)]=null;}),_0x52da65)_0x2333ba=_0x352cee,this[_0x1fd809(0x16f)](_0x2333ba,_0x52da65);else{if(_0x1f662e[_0x1fd809(0x1c5)]){const _0x1d82a7=this[_0x1fd809(0x14e)](_0x1f662e[_0x1fd809(0x1c5)]);this[_0x1fd809(0x18d)][_0x1fd809(0x170)][_0x1fd809(0xf6)]=-_0x1d82a7[_0x1fd809(0x12b)],_0x1d82a7[_0x1fd809(0x194)](_0x5e2dad=>{const _0x2c277c=_0x1fd809;_0x5e2dad[_0x2c277c(0x1d1)]-=_0x1d82a7[_0x2c277c(0x12b)],_0x5e2dad[_0x2c277c(0x1bc)]=_0x1f662e[_0x2c277c(0x138)],_0x5e2dad[_0x2c277c(0x1c2)]=!0x0,_0x5e2dad[_0x2c277c(0x11d)]=null;}),this[_0x1fd809(0x16f)](_0x1d82a7,!0x0),this[_0x1fd809(0x1a2)][_0x1fd809(0xf6)]=-_0x1d82a7[_0x1fd809(0x12b)]+this[_0x1fd809(0x142)],this[_0x1fd809(0x18f)](_0x1d82a7);}this[_0x1fd809(0x18d)][_0x1fd809(0x170)][_0x1fd809(0xf6)]=_0x32ccb9,_0x2333ba=this[_0x1fd809(0x1d9)](_0x1f662e[_0x1fd809(0x1c7)],_0x1f662e[_0x1fd809(0x1d8)]),await this[_0x1fd809(0x173)](_0x2333ba),this[_0x1fd809(0x16f)](_0x2333ba,_0x52da65);}_0x1f662e[_0x1fd809(0x1db)]&&(this[_0x1fd809(0x1c9)][_0x1fd809(0x1ef)](_0x2333ba,_0x1f662e[_0x1fd809(0x1db)]),this[_0x1fd809(0x10e)]=_0x1f662e[_0x1fd809(0x1db)]),this[_0x1fd809(0x1a2)][_0x1fd809(0xf6)]=_0x32ccb9+this[_0x1fd809(0x142)],this[_0x1fd809(0x18f)](_0x2333ba),_0x352cee[_0x1fd809(0x114)](_0x1f9309=>{const _0x3faf3b=_0x1fd809,_0x1fb407=this[_0x3faf3b(0x1cc)](_0x1f9309);return _0x1fb407&&!this[_0x3faf3b(0x133)][_0x3faf3b(0xfc)](_0x1fb407);})[_0x1fd809(0x194)]((_0x4479cf,_0x395990)=>{const _0xf32cd0=_0x1fd809;_0x4479cf[_0xf32cd0(0x1d1)]=this[_0xf32cd0(0x18d)][_0xf32cd0(0xf6)]+_0x395990,this[_0xf32cd0(0x1a9)](_0x4479cf);}),this[_0x1fd809(0x150)]()?(this[_0x1fd809(0x153)]=0x0,this[_0x1fd809(0x149)](!0x0),await this[_0x1fd809(0x11f)]()):(this[_0x1fd809(0x12a)]=!0x1,this[_0x1fd809(0x1b9)]());}[_0x3e676d(0x188)](_0x3a33d8,_0x270e51){const _0x49ca69=_0x3e676d,_0x2bbdd9=_0x270e51&&_0x270e51[_0x49ca69(0x1ad)];if(_0x2bbdd9&&_0x2bbdd9[_0x49ca69(0x130)](_0x49ca69(0x16e)))throw _0x270e51;const _0x6a14df=this[_0x49ca69(0x199)][_0x49ca69(0x1dd)][_0x49ca69(0x1b2)](_0x46d954);throw this[_0x49ca69(0x12a)]=!0x0,_0x6a14df[_0x49ca69(0x1a5)](),this[_0x49ca69(0x199)][_0x49ca69(0x143)](_0x49ca69(0x1da)),new _0x49fa3b(_0x3a33d8,this[_0x49ca69(0x199)],_0x2bbdd9?{'originalError':_0x2bbdd9}:void 0x0);}[_0x3e676d(0x1a9)](_0x44a09b){const _0x2c2eae=_0x3e676d;this[_0x2c2eae(0x1e2)][_0x2c2eae(0xfc)](_0x44a09b)||(this[_0x2c2eae(0x1e2)][_0x2c2eae(0x15d)](_0x44a09b),this[_0x2c2eae(0x1ae)][_0x2c2eae(0x185)](_0x44a09b),this[_0x2c2eae(0x1a4)]||_0x2c2eae(0x1c0)==_0x44a09b[_0x2c2eae(0x1d5)]&&!_0x44a09b[_0x2c2eae(0x122)]||this[_0x2c2eae(0x11c)]());}[_0x3e676d(0x149)](_0x563637=!0x1){const _0x369111=_0x3e676d;!_0x563637&&this[_0x369111(0x12a)]||(this[_0x369111(0x12a)]=!0x0,clearTimeout(this[_0x369111(0x12f)]),this[_0x369111(0x12f)]=setTimeout(()=>{const _0x3e1a4d=_0x369111;this[_0x3e1a4d(0x135)]()[_0x3e1a4d(0x1a8)](_0x1e45f5=>{const _0x2ba2fb=_0x3e1a4d;_0x1e45f5&&(this[_0x2ba2fb(0x1b9)](),this[_0x2ba2fb(0x12a)]=!0x1);})[_0x3e1a4d(0x162)](_0x3e1a3d=>{const _0x15594a=_0x3e1a4d;this[_0x15594a(0x1b9)](),this[_0x15594a(0x12a)]=!0x1,function(_0x47e442){const _0x47d52a=_0x15594a;return _0x47e442[_0x47d52a(0x1ad)][_0x47d52a(0x130)](_0x47d52a(0x148))||_0x47e442[_0x47d52a(0x1ad)][_0x47d52a(0x130)](_0x47d52a(0x1c3))||_0x47e442[_0x47d52a(0x1ad)][_0x47d52a(0x130)](_0x47d52a(0x1b3));}(_0x3e1a3d)||this[_0x15594a(0x188)](_0x3e1a3d[_0x15594a(0x1ad)],_0x3e1a3d);});},this[_0x369111(0x153)]));}[_0x3e676d(0x11f)](){return new Promise(_0x2850c1=>{const _0x6bdff=_0x16ad;this['on'](_0x6bdff(0x109),()=>{_0x2850c1();});});}async[_0x3e676d(0x135)](){const _0x179e36=_0x3e676d,_0x5b0ec2=this[_0x179e36(0x199)][_0x179e36(0x1dd)][_0x179e36(0x1b2)](_0x16c185);if(this[_0x179e36(0x103)]()&&(_0x5b0ec2[_0x179e36(0x14f)](),this[_0x179e36(0x195)]=!0x1),!this[_0x179e36(0x150)]())return!0x0;const _0x10e6f8=[...this[_0x179e36(0x1ae)]];for(const _0x1105d3 of _0x10e6f8)_0x1105d3[_0x179e36(0x1ea)]=this[_0x179e36(0x18d)][_0x179e36(0x170)][_0x179e36(0x10d)](_0x1105d3);const _0x3c9e6e=this[_0x179e36(0x1c9)][_0x179e36(0x1ba)](_0x10e6f8),_0x28ae23=Q++,_0x4c3cdc=this[_0x179e36(0x181)](_0x10e6f8),_0x3f748a=await this[_0x179e36(0x13d)][_0x179e36(0x1bf)](_0x4c3cdc,_0x4c3cdc[_0x179e36(0x1d1)],_0x3c9e6e);try{return await this[_0x179e36(0x175)](_0x10e6f8,_0x3f748a,_0x28ae23);}catch(_0x5627c6){return this[_0x179e36(0x188)](_0x179e36(0x123),_0x5627c6);}}async[_0x3e676d(0x175)](_0x3ef044,_0x2bcf0e,_0x88588a){const _0x44bc69=_0x3e676d;if(_0x44bc69(0x17b)in _0x2bcf0e)throw _0x2bcf0e[_0x44bc69(0x17b)];let _0x53da9e=!0x1;if(_0x2bcf0e[_0x44bc69(0x118)]){_0x2bcf0e[_0x44bc69(0x1db)]&&(this[_0x44bc69(0x10e)]=_0x2bcf0e[_0x44bc69(0x1db)]),this[_0x44bc69(0x1ae)]=this[_0x44bc69(0x1ae)][_0x44bc69(0x114)](_0x220689=>!_0x3ef044[_0x44bc69(0x110)](_0x220689));for(const _0x27f78f of _0x3ef044)_0x27f78f[_0x44bc69(0x1bc)]=_0x44bc69(0x13a)in _0x2bcf0e&&_0x2bcf0e[_0x44bc69(0x13a)]||void 0x0;Y(_0x3ef044,_0x2bcf0e[_0x44bc69(0xf6)]-_0x3ef044[_0x44bc69(0x12b)]),this[_0x44bc69(0x18f)](_0x3ef044);const _0x200728=_0x3ef044[_0x44bc69(0x114)](_0x2ac4f6=>{const _0x17222a=_0x44bc69;if(!_0x2ac4f6[_0x17222a(0x1c2)])return!0x1;const _0x181e82=this[_0x17222a(0x1cc)](_0x2ac4f6);return _0x181e82&&!this[_0x17222a(0x133)][_0x17222a(0xfc)](_0x181e82);});Y(_0x200728,this[_0x44bc69(0x18d)][_0x44bc69(0xf6)]),this[_0x44bc69(0x16f)](_0x200728),_0x53da9e=!0x0,this[_0x44bc69(0x153)]=this[_0x44bc69(0x1de)];}else{const _0x529f7b=this[_0x44bc69(0x1d9)](_0x2bcf0e[_0x44bc69(0x1c7)],_0x2bcf0e[_0x44bc69(0x1d8)])[_0x44bc69(0x114)](_0x4b4951=>_0x4b4951[_0x44bc69(0x1d1)]>=this[_0x44bc69(0x1b8)]);_0x529f7b[_0x44bc69(0x194)](_0x2c267f=>this[_0x44bc69(0x152)](_0x2c267f)),this[_0x44bc69(0x1ae)]=this[_0x44bc69(0x1ae)][_0x44bc69(0x114)](_0x3aa1d8=>!_0x3aa1d8[_0x44bc69(0x1c2)]||!this[_0x44bc69(0x133)][_0x44bc69(0xfc)](this[_0x44bc69(0x1cc)](_0x3aa1d8))),this[_0x44bc69(0x1ae)][_0x44bc69(0x12b)]&&Y(this[_0x44bc69(0x1ae)],this[_0x44bc69(0x1ae)][0x0][_0x44bc69(0x1d1)]),await this[_0x44bc69(0x173)](_0x529f7b),_0x53da9e=this[_0x44bc69(0x157)](_0x529f7b,_0x2bcf0e[_0x44bc69(0xf6)],_0x2bcf0e[_0x44bc69(0x1db)]),this[_0x44bc69(0x153)]=Math[_0x44bc69(0x10a)](this[_0x44bc69(0x153)]/0x2);}return _0x53da9e?!this[_0x44bc69(0x150)]()||(this[_0x44bc69(0x149)](!0x0),!0x1):this[_0x44bc69(0x188)](_0x44bc69(0x1d7));}[_0x3e676d(0x157)](_0xb64061,_0x2b23a6,_0x2ae67d){const _0x32ba25=_0x3e676d;try{const _0x3730b7={'document':this[_0x32ba25(0x18d)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x7d811c,operationsB:_0x1841e3,originalOperations:_0xfbbd08}=_0x4a555e(_0xb64061,this[_0x32ba25(0x1ae)],_0x3730b7);Y(_0x7d811c,this[_0x32ba25(0x18d)][_0x32ba25(0xf6)]),Y(_0x1841e3,_0x2b23a6);for(const _0x25511e of _0x7d811c){const _0x12f262=_0xfbbd08[_0x32ba25(0x1b2)](_0x25511e);_0x25511e[_0x32ba25(0x11d)]=_0x12f262?_0x12f262[_0x32ba25(0x11d)]:null;}_0x2ae67d&&(this[_0x32ba25(0x1c9)][_0x32ba25(0x1ef)](_0xb64061,_0x2ae67d),this[_0x32ba25(0x10e)]=_0x2ae67d),this[_0x32ba25(0x1ae)]=[..._0x1841e3],this[_0x32ba25(0x16f)](_0x7d811c),this[_0x32ba25(0x18f)](_0xb64061);}catch(_0xd861c7){return console[_0x32ba25(0x17b)](_0xd861c7),!0x1;}return!0x0;}[_0x3e676d(0x16f)](_0x36f5e8,_0x475a1a=!0x1){const _0x52aeaa=_0x3e676d;this[_0x52aeaa(0x199)][_0x52aeaa(0x1cf)][_0x52aeaa(0x160)]({'isUndoable':!0x1,'isLocal':!0x1},_0x33f304=>{const _0x5bb777=_0x52aeaa;for(const _0x1a45c7 of _0x36f5e8)this[_0x5bb777(0x1e2)][_0x5bb777(0x15d)](_0x1a45c7),this[_0x5bb777(0x152)](_0x1a45c7),_0x33f304[_0x5bb777(0x180)][_0x5bb777(0x193)](_0x1a45c7),this[_0x5bb777(0x199)][_0x5bb777(0x1cf)][_0x5bb777(0x158)](_0x1a45c7);});}[_0x3e676d(0x152)](_0x43acfb){const _0x4b1375=_0x3e676d,_0x3a37bc=this[_0x4b1375(0x1cc)](_0x43acfb);_0x3a37bc&&this[_0x4b1375(0x133)][_0x4b1375(0x15d)](_0x3a37bc);}[_0x3e676d(0x1cc)](_0x286e83){const _0x3f30ae=_0x3e676d;let _0x27a19e,_0x1d733f;switch(_0x286e83[_0x3f30ae(0x1d5)]){case _0x3f30ae(0xf4):_0x27a19e=_0x286e83[_0x3f30ae(0x17e)][_0x3f30ae(0x16a)];break;case _0x3f30ae(0x1c0):if(_0x1d733f=_0x286e83[_0x3f30ae(0x1ac)],!_0x1d733f)return null;_0x27a19e=_0x1d733f[_0x3f30ae(0x16a)];break;case _0x3f30ae(0x1e0):_0x27a19e=_0x286e83[_0x3f30ae(0x16a)];break;case _0x3f30ae(0x1eb):_0x27a19e=_0x286e83[_0x3f30ae(0x15f)];break;case _0x3f30ae(0x174):_0x27a19e=_0x286e83[_0x3f30ae(0x1bd)][_0x3f30ae(0x16a)];break;default:return null;}return _0x27a19e[_0x3f30ae(0x101)];}[_0x3e676d(0x18f)](_0x1520f0){const _0x3dc8d6=_0x3e676d;_0x1520f0[_0x3dc8d6(0x194)](_0x21651c=>{const _0x12cfb1=_0x3dc8d6,_0x5a18c=_0x21651c[_0x12cfb1(0x164)]();_0x5a18c[_0x12cfb1(0x11d)]=_0x21651c[_0x12cfb1(0x11d)],_0x5a18c[_0x12cfb1(0x1c2)]=!!_0x21651c[_0x12cfb1(0x1c2)],_0x5a18c[_0x12cfb1(0x1bc)]=_0x21651c[_0x12cfb1(0x1bc)],_0x5a18c[_0x12cfb1(0x1d1)]+=this[_0x12cfb1(0x142)],_0x21651c[_0x12cfb1(0x104)]&&this[_0x12cfb1(0x1f2)][_0x12cfb1(0x15d)](_0x5a18c),this[_0x12cfb1(0x1a2)][_0x12cfb1(0x193)](_0x5a18c);});}[_0x3e676d(0x10c)](_0x3356e7){const _0x10c941=_0x3e676d,_0xce7920=this[_0x10c941(0x199)][_0x10c941(0x1dd)][_0x10c941(0x1b2)](_0x10c941(0x13c)),_0x1ea029=this[_0x10c941(0x199)][_0x10c941(0x1c6)];_0x3356e7||(_0x3356e7=_0x39755b(_0x1ea029,_0x10c941(0x196))),_0xce7920[_0x10c941(0xfe)](_0x3356e7,{'title':_0x39755b(_0x1ea029,_0x10c941(0x1b7)),'namespace':_0x10c941(0x1df)}),this[_0x10c941(0x186)]=!0x0,clearTimeout(this[_0x10c941(0x12f)]),this[_0x10c941(0x1ae)]=[],this[_0x10c941(0x199)][_0x10c941(0x1dd)][_0x10c941(0x1b2)](_0x46d954)[_0x10c941(0x1a5)]();}[_0x3e676d(0x11c)](){const _0x2dc561=_0x3e676d;this[_0x2dc561(0x1a4)]||(this[_0x2dc561(0x1a4)]=this[_0x2dc561(0x199)][_0x2dc561(0x1dd)][_0x2dc561(0x1b2)](_0x2e23c2)[_0x2dc561(0x15d)](_0x39755b(this[_0x2dc561(0x199)][_0x2dc561(0x1c6)],_0x2dc561(0x1b1))));}[_0x3e676d(0x1b9)](){const _0x6c4e4c=_0x3e676d;this[_0x6c4e4c(0x1a4)]&&(this[_0x6c4e4c(0x199)][_0x6c4e4c(0x1dd)][_0x6c4e4c(0x1b2)](_0x2e23c2)[_0x6c4e4c(0x14d)](this[_0x6c4e4c(0x1a4)]),this[_0x6c4e4c(0x1a4)]=null);}[_0x3e676d(0x181)](_0x46a33a){const _0x2f4618=_0x3e676d,_0x4eb7fe=_0x46a33a[_0x2f4618(0x1ed)](_0x7e98b0=>_0x7e98b0[_0x2f4618(0x19e)]());return this[_0x2f4618(0x183)][_0x2f4618(0x1d3)](_0x4eb7fe);}[_0x3e676d(0x1d9)](_0x14bc62,_0x67b09a){const _0x1b05bc=_0x3e676d;return this[_0x1b05bc(0x183)][_0x1b05bc(0x116)](_0x14bc62)[_0x1b05bc(0x1ed)]((_0x1f3220,_0x456d1e)=>{const _0x59174d=_0x1b05bc,_0x1a9630=_0x59174d(0x192)==_0x67b09a[_0x456d1e][_0x59174d(0x1d5)];if(_0x59174d(0x120)==_0x1f3220[_0x59174d(0x19c)]){const _0x35a5c3=_0x1f3220[_0x59174d(0x17e)][_0x59174d(0x16a)];!this[_0x59174d(0x18d)][_0x59174d(0x1e7)](_0x35a5c3)&&(this[_0x59174d(0x18d)][_0x59174d(0x1aa)](_0x59174d(0x15c),_0x35a5c3)[_0x59174d(0xf3)]=!0x1);}const _0x24e0d9=_0xdbfab6[_0x59174d(0xf9)](_0x1f3220,this[_0x59174d(0x18d)]);return _0x24e0d9[_0x59174d(0x1ea)]=_0x1f3220[_0x59174d(0x1ea)],_0x24e0d9[_0x59174d(0x1c2)]=_0x1a9630,_0x24e0d9[_0x59174d(0x11d)]=_0x1a9630?null:_0x67b09a[_0x456d1e][_0x59174d(0x19f)],_0x24e0d9[_0x59174d(0x104)]=_0x59174d(0x187)===_0x67b09a[_0x456d1e][_0x59174d(0x1d5)],_0x24e0d9[_0x59174d(0x1bc)]=_0x67b09a[_0x456d1e][_0x59174d(0x1bc)],_0x24e0d9;});}[_0x3e676d(0x1e8)](){const _0x474b8b=_0x3e676d;this[_0x474b8b(0x195)]=!0x0,this[_0x474b8b(0x103)]()?this[_0x474b8b(0x149)]():this[_0x474b8b(0x195)]=!0x1;}[_0x3e676d(0x103)](){const _0x4f6ccf=_0x3e676d,_0x5a2f95=this[_0x4f6ccf(0x199)][_0x4f6ccf(0x1dd)][_0x4f6ccf(0x1b2)](_0x19bfc9)[_0x4f6ccf(0x11a)][_0x4f6ccf(0x1b2)](this[_0x4f6ccf(0x1d0)]);return!this[_0x4f6ccf(0x199)][_0x4f6ccf(0x1e3)]&&!!_0x5a2f95&&_0x5a2f95[_0x4f6ccf(0x12b)]>0x1&&this[_0x4f6ccf(0x195)];}[_0x3e676d(0x150)](){const _0x21d0ca=_0x3e676d;return this[_0x21d0ca(0x1ae)][_0x21d0ca(0x12b)]>0x0||this[_0x21d0ca(0x103)]();}}class X extends Error{}function _0x16ad(_0x3ebd7c,_0x30df53){const _0x577d75=_0x577d();return _0x16ad=function(_0x16ad18,_0x1cb20){_0x16ad18=_0x16ad18-0xf1;let _0x32ff40=_0x577d75[_0x16ad18];return _0x32ff40;},_0x16ad(_0x3ebd7c,_0x30df53);}function Y(_0x1a21f1,_0x33a344){const _0x1800b0=_0x3e676d;for(const _0x5bb53c of _0x1a21f1)_0x5bb53c[_0x1800b0(0x1d1)]=_0x33a344++;}class Z{[_0x3e676d(0x10f)];[_0x3e676d(0x18e)];constructor(_0x3cc574){const _0x15d9a9=_0x3e676d;this[_0x15d9a9(0x10f)]=_0x3cc574,this[_0x15d9a9(0x18e)]=new WeakMap();}[_0x3e676d(0x1ba)](_0x4114e7){const _0x5eace6=_0x3e676d;let _0x30969d=_0x4114e7[_0x5eace6(0x12b)];for(;_0x30969d--;){const _0x3a72ed=_0x4114e7[_0x30969d];if(!this[_0x5eace6(0x10f)][_0x5eace6(0xfc)](_0x3a72ed)){if(!this[_0x5eace6(0x18e)][_0x5eace6(0xfc)](_0x3a72ed)){const _0x3f7505=_0x182e2c()[_0x5eace6(0x1a6)](0x1,0x12);this[_0x5eace6(0x18e)][_0x5eace6(0x1d6)](_0x3a72ed,_0x3f7505);}return this[_0x5eace6(0x18e)][_0x5eace6(0x1b2)](_0x3a72ed);}}}[_0x3e676d(0x1ef)](_0x18aad9,_0x29dd9a){const _0x47329d=_0x3e676d;if(!_0x29dd9a)return;let _0x4687f2=_0x18aad9[_0x47329d(0x12b)];for(;_0x4687f2--;){const _0xa4d508=_0x18aad9[_0x4687f2];this[_0x47329d(0x10f)][_0x47329d(0xfc)](_0xa4d508)||this[_0x47329d(0x18e)][_0x47329d(0x1d6)](_0xa4d508,_0x29dd9a);}}}
|
|
23
|
+
const _0x871a24=_0x716e;(function(_0x5956da,_0x9222ad){const _0x103820=_0x716e,_0x38918e=_0x5956da();while(!![]){try{const _0x262fab=-parseInt(_0x103820(0x235))/0x1+-parseInt(_0x103820(0x29b))/0x2+-parseInt(_0x103820(0x26d))/0x3+-parseInt(_0x103820(0x1ed))/0x4*(-parseInt(_0x103820(0x1fe))/0x5)+-parseInt(_0x103820(0x210))/0x6+-parseInt(_0x103820(0x282))/0x7*(-parseInt(_0x103820(0x203))/0x8)+parseInt(_0x103820(0x2a2))/0x9;if(_0x262fab===_0x9222ad)break;else _0x38918e['push'](_0x38918e['shift']());}catch(_0x250283){_0x38918e['push'](_0x38918e['shift']());}}}(_0x537e,0xcb6d4));import{Plugin as _0x1dea64,PendingActions as _0x5595c2}from'ckeditor5/src/core.js';import{CKEditorError as _0x2c13c3,version as _0x21c985,uid as _0x4c4926}from'ckeditor5/src/utils.js';function _0x716e(_0x294493,_0x396f0d){const _0x537e3b=_0x537e();return _0x716e=function(_0x716e3a,_0x15eea0){_0x716e3a=_0x716e3a-0x1a8;let _0x4a45fe=_0x537e3b[_0x716e3a];return _0x4a45fe;},_0x716e(_0x294493,_0x396f0d);}import{Notification as _0xb778a4}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x51d210,NoOperation as _0x290d08,InsertOperation as _0x2be817,MarkerOperation as _0x1d1b48,RootAttributeOperation as _0x77c3c7,OperationFactory as _0x1157e7,History as _0x532880}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x534013}from'./websocketgateway.js';import{Sessions as _0x4673cc}from'./sessions.js';import{UserMarkers as _0x2ee7b8}from'./usermarkers.js';import{getTranslation as _0x5efe23}from'../common-translations.js';import{Compressor as _0x38ed00}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x45e896}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x37047c,CollaborativeEditingService as _0x237970}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;function _0x537e(){const _0x250ce7=['addOperation','stopListening','document','_ignoredOperations','lastOperationAcceptedAt','metadata','off','offset','cloud-services-internal-error:\x20Not\x20connected.','filter','removeFromReconnectionStack','enableReadOnlyMode','_isConnected','requires','push','applyOperation','_baseBufferDelay','_knownRootNames','type','_hasSelectionChanged','isOfficialPlugin','code','_operationToId','ready','_connectAfterSessionHasBeenFlushed','fromJSON','get','differ','affectsData','channelSessions','unregister','operationsReceived','destroy','includes','reconnect','_disconnectionOperations','createPositionFromPath','4753332DkNNPR','createdAt','batch','_handleExternalOperations','lastSyncVersion','move','sessionCreatedAt','getUser','realtimecollaborationclient-sendbufferedoperations','_getOperationsFromInitData','_compressOperations','cloudDocumentVersion','view','disconnect','isDocumentOperation','_shouldSendSelectionUpdate','_sendBufferedOperations','version','permissions','cs:removeUser','RealTimeCollaborationClient','7ZjULhB','Synchronization\x20issue','collaboration','_isAttached','_authorId','serverHistory','_saveOperationInBuffer','slice','isUndoneOperation','_connectService','getDocumentDetails','addUser','__className','map','createPositionAt','config','collaboration.channelId','_operationIdentifier','pluginName','attributes','_service','rootsAttributes','entries','baseVersion','404','2001610RKmRiI','change:range','message','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.','_compressor','getMany','_sendBufferedOperationsDelayId','24779709IFQvuK','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.','enqueueChange','insert','setIdForTheLastOperation','markers','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_offset','realtimecollaborationclient-init-document-already-initialized','forEach','sendOperations','sessionAdd:','_hasSynchronizationProblem','_handleReconnectionResponse','document:write','reset','editor','connection','realtimecollaborationclient','parse','targetPosition','stop','_setPendingAction','toJSON','_isDisconnection','plugins','cloudServices.bundleVersion','realtimecollaborationclient-init-connection-failed','_fetchMissingUsers','multi-root-editor-root-attributes-no-root','size','decompress','cloud-services-internal-error:\x20Request\x20timeout.','_crash','connect','createRoot','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','409','_lastServerVersion','lastOperationId','initData','Permissions','error','isPremiumPlugin','remove','getIdOfTheLastOperation','high','compress','InsertOperation','init','collaboration-missing-channelid','PENDING_ACTION_SENDING_DATA','editing','_document','_sendBufferedOperationsDelayed','_handleSendingSelectionMarkers','disconnected','apply','selection','rtc-destroyed','_refreshUserSelectionMarkers','path','_getAffectedRoot','newRange','root','loadRoot','addToReconnectionStack','_applyOperationsSet','_shouldSendUpdate','change:_isPendingUpdate','clone','_setUpDataInit','CommentsOnly','addRootAttribute','_addKnownRoot','_channelId','showWarning','userId','_isLoaded','suppressErrorInCollaboration','1556VCWIVo','add','reconnection:\x20flushed\x20session','_disconnectService','_lastSyncedOperationId','fire','wasUndone','change:hasDomSelection','from','realtimecollaborationclient-handleserverresponse','getOperationAuthor','_isPendingUpdate','finally','string','_clearPendingAction','CollaborativeEditingService','state','6590BFfqRO','realtimecollaborationclient-init-service-incorrect-server-operation','register','return','realtimecollaborationclient-init-service-internal-error','12296408mJwgyP','wereChangesApplied','history','getRoot','keys','change:_isEditingAllowed','lastDocumentSession','getConnectedSessions','_handleServerResponse','_bufferedOperations','round','locale','_handleInitialConnectionData','7752504kBPDNC','isEnabled','realtimecollaborationclient-error','catch','_decompressOperations','addRoot','marker','_isEditingAllowed','rtc-offline','start','then','end','listenTo','position','createRange','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','setPermissions','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','data','model','define','_knownOperations','_currentBufferDelay','_isInit','disableReadOnlyMode','_handleReconnectionError','_loadRoot','createUserMarkerOperations','sessionId','_handleReceivedOperations','$root','isReadOnly','Notification','has','roots','length','currentDocumentSession','92485NiLICm','_bufferRootLoad','startsWith','getOperations','set','realtimecollaborationclient-init-non-existent-root','affectedSelectable','realtimecollaborationclient-init-session-connection-error','_updateServerHistory','_pendingAction','connected','_initSessionsHandling','directChange','_initThrowingOnDataSet','mySessionId','_waitUntilSynced','rootName','bind','real-time-collaboration'];_0x537e=function(){return _0x250ce7;};return _0x537e();}export class RealTimeCollaborationClient extends _0x1dea64{static [_0x871a24(0x1fc)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x237970)());[_0x871a24(0x2a9)];[_0x871a24(0x22c)];[_0x871a24(0x287)];[_0x871a24(0x1e8)];[_0x871a24(0x296)];[_0x871a24(0x1d2)];[_0x871a24(0x29f)];[_0x871a24(0x20c)];[_0x871a24(0x225)];[_0x871a24(0x259)];[_0x871a24(0x23e)];[_0x871a24(0x25b)];[_0x871a24(0x2a1)];[_0x871a24(0x258)];[_0x871a24(0x226)];[_0x871a24(0x1f1)];[_0x871a24(0x26b)];[_0x871a24(0x293)];static get[_0x871a24(0x255)](){return[_0x534013,_0x4673cc,_0x2ee7b8,_0x5595c2,_0x45e896,_0xb778a4];}static get[_0x871a24(0x294)](){const _0x4d7a91=_0x871a24;return _0x4d7a91(0x281);}static get[_0x871a24(0x25c)](){return!0x0;}static get[_0x871a24(0x1c8)](){return!0x0;}get[_0x871a24(0x278)](){const _0x963aa1=_0x871a24;return this[_0x963aa1(0x1c3)]+this[_0x963aa1(0x2a9)];}get[_0x871a24(0x1c3)](){const _0x325f87=_0x871a24;return this[_0x325f87(0x287)][_0x325f87(0x27e)]-this[_0x325f87(0x2a9)];}get[_0x871a24(0x271)](){const _0x2cfbba=_0x871a24,_0x5a9c44=this[_0x2cfbba(0x287)][_0x2cfbba(0x238)]();for(let _0x2e64c7=_0x5a9c44[_0x2cfbba(0x233)]-0x1;_0x2e64c7>=0x0;_0x2e64c7--){const _0x51aaf1=_0x5a9c44[_0x2e64c7];if(!this[_0x2cfbba(0x26b)][_0x2cfbba(0x231)](_0x51aaf1))return _0x51aaf1[_0x2cfbba(0x299)]+0x1-this[_0x2cfbba(0x2a9)];}return 0x0;}constructor(_0x1e308c){const _0x57c6af=_0x871a24;if(super(_0x1e308c),this[_0x57c6af(0x2a9)]=0x0,this[_0x57c6af(0x22c)]=null,this[_0x57c6af(0x287)]=new _0x532880(),this[_0x57c6af(0x1ad)][_0x57c6af(0x291)][_0x57c6af(0x224)](_0x57c6af(0x284),{}),this[_0x57c6af(0x1e8)]=this[_0x57c6af(0x1ad)][_0x57c6af(0x291)][_0x57c6af(0x262)](_0x57c6af(0x292)),!this[_0x57c6af(0x1e8)])throw new _0x2c13c3(_0x57c6af(0x1cf),this);const _0x27ec5f=_0x1e308c[_0x57c6af(0x291)][_0x57c6af(0x262)](_0x57c6af(0x1b7))||_0x21c985;this[_0x57c6af(0x296)]=new RealTimeCollaborationClient[(_0x57c6af(0x1fc))](_0x27ec5f,this[_0x57c6af(0x1e8)]),this[_0x57c6af(0x1d2)]=this[_0x57c6af(0x1ad)][_0x57c6af(0x223)][_0x57c6af(0x24a)],this[_0x57c6af(0x29f)]=new _0x38ed00(),this[_0x57c6af(0x20c)]=[],this[_0x57c6af(0x225)]=new WeakSet(),this[_0x57c6af(0x259)]=new Set(),this[_0x57c6af(0x239)](_0x57c6af(0x1f8),!0x1),this[_0x57c6af(0x239)](_0x57c6af(0x1a9),!0x1),this[_0x57c6af(0x23e)]=null,this[_0x57c6af(0x25b)]=!0x1,this[_0x57c6af(0x2a1)]=null,this[_0x57c6af(0x258)]=0x12c,this[_0x57c6af(0x226)]=this[_0x57c6af(0x258)],this[_0x57c6af(0x1f1)]=null,this[_0x57c6af(0x26b)]=new WeakSet(),this[_0x57c6af(0x293)]=new J(this[_0x57c6af(0x26b)]);}[_0x871a24(0x1ce)](){const _0x1d1900=_0x871a24,_0x34a7d2=this[_0x1d1900(0x1ad)],_0x58e9d0=_0x34a7d2[_0x1d1900(0x1b6)][_0x1d1900(0x262)](_0x45e896),_0x5f3c14=_0x34a7d2[_0x1d1900(0x1b6)][_0x1d1900(0x262)](_0x534013);this[_0x1d1900(0x21c)](_0x58e9d0,_0x1d1900(0x1f7),(_0xfb5d35,_0x9199c3)=>{const _0x491a49=_0x1d1900,_0x33758a=_0x9199c3[0x0];_0x33758a[_0x491a49(0x286)]&&(_0xfb5d35[_0x491a49(0x201)]=_0x58e9d0[_0x491a49(0x274)](_0x33758a[_0x491a49(0x286)]),_0xfb5d35[_0x491a49(0x1b2)]()),null===_0x33758a[_0x491a49(0x286)]&&(_0xfb5d35[_0x491a49(0x201)]=null,_0xfb5d35[_0x491a49(0x1b2)]());},{'priority':_0x1d1900(0x1cb)}),this[_0x1d1900(0x21c)](_0x34a7d2[_0x1d1900(0x223)][_0x1d1900(0x24a)][_0x1d1900(0x1d7)],_0x1d1900(0x29c),(_0x2c403b,_0x2ffabf)=>{const _0x3daa41=_0x1d1900;_0x2ffabf[_0x3daa41(0x241)]&&this[_0x3daa41(0x1d9)]();}),this[_0x1d1900(0x21c)](_0x34a7d2[_0x1d1900(0x1d1)][_0x1d1900(0x279)],_0x1d1900(0x1f4),()=>{const _0x1fafca=_0x1d1900;this[_0x1fafca(0x1d9)]();}),this[_0x1d1900(0x242)](),_0x34a7d2[_0x1d1900(0x223)]['on'](_0x1d1900(0x257),(_0x58bce2,_0x4b7451)=>{const _0x30e7ed=_0x1d1900,_0x147cd3=_0x4b7451[0x0];_0x147cd3[_0x30e7ed(0x27b)]&&(this[_0x30e7ed(0x288)](_0x147cd3),this[_0x30e7ed(0x1e1)]()&&this[_0x30e7ed(0x1d3)]());}),this[_0x1d1900(0x1e4)](),this[_0x1d1900(0x246)](_0x1d1900(0x217))['to'](_0x5f3c14,_0x1d1900(0x1fd),this,_0x1d1900(0x1a9),(_0x365b15,_0x1109f9)=>_0x1d1900(0x23f)===_0x365b15&&!_0x1109f9),this['on'](_0x1d1900(0x208),()=>{const _0x21493a=_0x1d1900;this[_0x21493a(0x217)]?_0x34a7d2[_0x21493a(0x228)](_0x21493a(0x218)):_0x34a7d2[_0x21493a(0x253)](_0x21493a(0x218));}),this[_0x1d1900(0x217)]?_0x34a7d2[_0x1d1900(0x228)](_0x1d1900(0x218)):_0x34a7d2[_0x1d1900(0x253)](_0x1d1900(0x218)),this[_0x1d1900(0x239)](_0x1d1900(0x254),!0x1);}async[_0x871a24(0x26a)](){const _0x5d3b2a=_0x871a24,_0x303f70=this[_0x5d3b2a(0x1ad)][_0x5d3b2a(0x1b6)][_0x5d3b2a(0x262)](_0x4673cc),_0x560a37=this[_0x5d3b2a(0x1ad)][_0x5d3b2a(0x1b6)][_0x5d3b2a(0x262)](_0x534013);try{this[_0x5d3b2a(0x1f8)]=!0x0,_0x303f70[_0x5d3b2a(0x266)](this[_0x5d3b2a(0x1e8)]);const _0x2a65cf=await this[_0x5d3b2a(0x296)][_0x5d3b2a(0x26a)](_0x560a37[_0x5d3b2a(0x1ae)],this[_0x5d3b2a(0x271)]);await this[_0x5d3b2a(0x1aa)](_0x2a65cf)&&(this[_0x5d3b2a(0x1f8)]=!0x1,this[_0x5d3b2a(0x1fb)]());const _0x10ec0f=await this[_0x5d3b2a(0x296)][_0x5d3b2a(0x20a)]();_0x303f70[_0x5d3b2a(0x200)](this[_0x5d3b2a(0x1e8)],_0x10ec0f),this[_0x5d3b2a(0x1d4)](),this[_0x5d3b2a(0x254)]=!0x0;}catch(_0x4461e3){if(function(_0x2f1420){const _0x15c9eb=_0x5d3b2a;return _0x15c9eb(0x29a)===_0x2f1420[_0x15c9eb(0x25d)];}(_0x4461e3)&&this[_0x5d3b2a(0x22c)])await this[_0x5d3b2a(0x260)]();else{if(function(_0x494b45){const _0xb6061e=_0x5d3b2a;return _0xb6061e(0x1c2)===_0x494b45[_0xb6061e(0x25d)];}(_0x4461e3)){const _0x866aa1=_0x5efe23(this[_0x5d3b2a(0x1ad)][_0x5d3b2a(0x20e)],_0x5d3b2a(0x2a8));this[_0x5d3b2a(0x229)](_0x866aa1);}else{if(!(_0x4461e3 instanceof $))throw _0x4461e3;this[_0x5d3b2a(0x229)]();}}}}[_0x871a24(0x268)](){const _0x5cd9c9=_0x871a24,_0x49f4e1=this[_0x5cd9c9(0x1ad)][_0x5cd9c9(0x1b6)][_0x5cd9c9(0x262)](_0x534013),_0x30960b=this[_0x5cd9c9(0x1ad)][_0x5cd9c9(0x1b6)][_0x5cd9c9(0x262)](_0x4673cc);this[_0x5cd9c9(0x1ad)][_0x5cd9c9(0x253)](_0x5cd9c9(0x1d8)),_0x30960b[_0x5cd9c9(0x265)][_0x5cd9c9(0x231)](this[_0x5cd9c9(0x1e8)])&&_0x30960b[_0x5cd9c9(0x266)](this[_0x5cd9c9(0x1e8)]),_0x49f4e1[_0x5cd9c9(0x252)](this),this[_0x5cd9c9(0x1f0)](),super[_0x5cd9c9(0x268)]();}async[_0x871a24(0x1aa)](_0x1e6677){const _0x30bb73=_0x871a24;if(this[_0x30bb73(0x22c)]!==_0x1e6677[_0x30bb73(0x22c)]&&this[_0x30bb73(0x1f1)]!==_0x1e6677[_0x30bb73(0x1c4)])throw new $();return this[_0x30bb73(0x22c)]=_0x1e6677[_0x30bb73(0x22c)],this[_0x30bb73(0x20b)]([],{..._0x1e6677,'wereChangesApplied':!0x1,'data':_0x1e6677[_0x30bb73(0x222)]},_0x30bb73(0x26a));}async[_0x871a24(0x28b)](_0x516c67,_0x3c6056=!0x1){const _0x407a86=_0x871a24,{connection:_0x29889b}=this[_0x407a86(0x1ad)][_0x407a86(0x1b6)][_0x407a86(0x262)](_0x534013);RealTimeCollaborationClient[_0x407a86(0x1fc)][_0x407a86(0x20a)](_0x29889b,this[_0x407a86(0x1e8)])[_0x407a86(0x21a)](_0xbd5304=>this[_0x407a86(0x240)](_0xbd5304))[_0x407a86(0x213)](_0xe26c33=>{const _0x56b978=_0x407a86;this[_0x56b978(0x1be)](_0x56b978(0x23c),_0xe26c33);}),this[_0x407a86(0x21c)](this[_0x407a86(0x296)],_0x407a86(0x267),this[_0x407a86(0x22d)][_0x407a86(0x246)](this)),this[_0x407a86(0x21c)](this[_0x407a86(0x296)],_0x407a86(0x1c7),(_0xe88036,_0x316bc6)=>{const _0x177a14=_0x407a86;this[_0x177a14(0x1be)](_0x177a14(0x202),_0x316bc6);}),this[_0x407a86(0x21c)](this[_0x407a86(0x296)],_0x407a86(0x1d5),()=>{const _0x2c083b=_0x407a86;this[_0x2c083b(0x254)]=!0x1;});const _0x17e367=this[_0x407a86(0x293)][_0x407a86(0x1ca)](_0x516c67);this[_0x407a86(0x1f8)]=!0x0;const _0x115e89=await this[_0x407a86(0x296)][_0x407a86(0x1bf)](_0x29889b,this[_0x407a86(0x277)](_0x516c67),_0x17e367);if(this[_0x407a86(0x22c)]=_0x115e89[_0x407a86(0x22c)],_0x3c6056){if(!_0x115e89[_0x407a86(0x204)])return void this[_0x407a86(0x229)]();this[_0x407a86(0x1f8)]=!0x1,this[_0x407a86(0x1fb)](),this[_0x407a86(0x287)][_0x407a86(0x1ac)](),this[_0x407a86(0x2a9)]=_0x115e89[_0x407a86(0x24f)],this[_0x407a86(0x287)][_0x407a86(0x27e)]=this[_0x407a86(0x2a9)],await this[_0x407a86(0x20b)](_0x516c67,_0x115e89,_0x407a86(0x1ef));}else await this[_0x407a86(0x20f)](_0x115e89,_0x516c67);this[_0x407a86(0x1d4)](),this[_0x407a86(0x254)]=!0x0;}[_0x871a24(0x1d4)](){const _0x4930b2=_0x871a24,_0x512cb1=this[_0x4930b2(0x1ad)][_0x4930b2(0x1b6)][_0x4930b2(0x262)](_0x4673cc),_0x158d7c=this[_0x4930b2(0x1ad)][_0x4930b2(0x1b6)][_0x4930b2(0x262)](_0x2ee7b8),_0x105ecf=_0x512cb1[_0x4930b2(0x265)][_0x4930b2(0x262)](this[_0x4930b2(0x1e8)]);_0x105ecf&&_0x105ecf[_0x4930b2(0x233)]>0x1?_0x158d7c[_0x4930b2(0x22b)]():this[_0x4930b2(0x21c)](_0x512cb1,_0x4930b2(0x1a8)+this[_0x4930b2(0x1e8)],()=>{const _0x1cc914=_0x4930b2;0x2===_0x512cb1[_0x1cc914(0x265)][_0x1cc914(0x262)](this[_0x1cc914(0x1e8)])[_0x1cc914(0x233)]&&_0x158d7c[_0x1cc914(0x22b)]();});}async[_0x871a24(0x22d)](_0x4ba0ab,_0x1764b9,_0x29a3d5,_0x3aedf1){const _0x135fa7=_0x871a24;if(!this[_0x135fa7(0x1f8)]&&this[_0x135fa7(0x1d2)][_0x135fa7(0x27e)]==_0x1764b9){const _0x44618b=this[_0x135fa7(0x214)](_0x29a3d5,_0x3aedf1);await this[_0x135fa7(0x1b9)](_0x44618b),this[_0x135fa7(0x270)](_0x44618b,_0x1764b9,_0x29a3d5[_0x135fa7(0x1c4)])||this[_0x135fa7(0x1be)](_0x135fa7(0x1ff));}}async[_0x871a24(0x260)](){const _0xb6c545=_0x871a24;this[_0xb6c545(0x1f0)]();const {locale:_0xe9c237}=this[_0xb6c545(0x1ad)];let _0x3e3d93;try{_0x3e3d93=await this[_0xb6c545(0x296)][_0xb6c545(0x28c)]();}catch{const _0x121e38=_0x5efe23(_0xe9c237,_0xb6c545(0x21f));return void this[_0xb6c545(0x229)](_0x121e38);}const _0x11fcb2=_0x3e3d93[_0xb6c545(0x234)]||_0x3e3d93[_0xb6c545(0x209)];if(this[_0xb6c545(0x1f1)]!==_0x11fcb2[_0xb6c545(0x1c4)]){const _0x38b15f=_0x5efe23(_0xe9c237,_0xb6c545(0x29e));return void this[_0xb6c545(0x229)](_0x38b15f);}await this[_0xb6c545(0x28b)](this[_0xb6c545(0x1ad)][_0xb6c545(0x223)][_0xb6c545(0x24a)][_0xb6c545(0x205)][_0xb6c545(0x238)](),!0x0);}[_0x871a24(0x1f0)](){const _0x2f9d01=_0x871a24;this[_0x2f9d01(0x296)][_0x2f9d01(0x27a)](),this[_0x2f9d01(0x20c)]=[],clearTimeout(this[_0x2f9d01(0x2a1)]),this[_0x2f9d01(0x249)](this[_0x2f9d01(0x296)]);}[_0x871a24(0x240)](_0x2fc5ca){const _0x246b6f=_0x871a24,_0x449f0f=this[_0x246b6f(0x1ad)][_0x246b6f(0x1b6)][_0x246b6f(0x262)](_0x4673cc);this[_0x246b6f(0x21c)](_0x449f0f,_0x246b6f(0x1a8)+this[_0x246b6f(0x1e8)],(_0x3c950b,{session:_0x52f56c})=>{const _0x4b4a1b=_0x246b6f;if(_0x52f56c['id']===_0x449f0f[_0x4b4a1b(0x243)]){_0x3c950b[_0x4b4a1b(0x24e)]();const _0x2f7b4b=this[_0x4b4a1b(0x1ad)][_0x4b4a1b(0x1b6)][_0x4b4a1b(0x231)](_0x4b4a1b(0x1e5))&&this[_0x4b4a1b(0x1ad)][_0x4b4a1b(0x1b6)][_0x4b4a1b(0x262)](_0x4b4a1b(0x1e5));let _0x5b2f8d=_0x52f56c[_0x4b4a1b(0x27f)];_0x2f7b4b&&_0x2f7b4b[_0x4b4a1b(0x211)]&&(_0x5b2f8d=_0x5b2f8d[_0x4b4a1b(0x251)](_0x466f49=>_0x4b4a1b(0x1ab)!==_0x466f49)),this[_0x4b4a1b(0x1ad)][_0x4b4a1b(0x1b6)][_0x4b4a1b(0x262)](_0x4b4a1b(0x1c6))[_0x4b4a1b(0x220)](_0x5b2f8d,this[_0x4b4a1b(0x1e8)]);}}),_0x449f0f[_0x246b6f(0x200)](this[_0x246b6f(0x1e8)],_0x2fc5ca);}[_0x871a24(0x242)](){const _0x3389d2=_0x871a24,_0x4cc02d=this[_0x3389d2(0x1ad)][_0x3389d2(0x222)][_0x3389d2(0x239)];this[_0x3389d2(0x1ad)][_0x3389d2(0x222)][_0x3389d2(0x239)]=(..._0x94ca75)=>{const _0x3d6279=_0x3389d2;if(!_0x94ca75[_0x94ca75[_0x3d6279(0x233)]-0x1][_0x3d6279(0x1ec)])throw new _0x2c13c3(_0x3d6279(0x221),this);_0x4cc02d[_0x3d6279(0x1d6)](this[_0x3d6279(0x1ad)][_0x3d6279(0x222)],_0x94ca75);};}[_0x871a24(0x1e4)](){const _0x28a47c=_0x871a24;this[_0x28a47c(0x1ad)][_0x28a47c(0x222)]['on'](_0x28a47c(0x1ce),(_0x32ff13,[_0x37a79e])=>{const _0x14b0eb=_0x28a47c;if(this[_0x14b0eb(0x1d2)][_0x14b0eb(0x27e)])throw new _0x2c13c3(_0x14b0eb(0x2aa),this);_0x32ff13[_0x14b0eb(0x1b2)](),this[_0x14b0eb(0x1b3)]();const _0x539a6b=this[_0x14b0eb(0x1ad)][_0x14b0eb(0x291)][_0x14b0eb(0x262)](_0x14b0eb(0x297)),_0x15ab76=this[_0x14b0eb(0x276)](_0x37a79e,_0x539a6b);0x0==_0x15ab76[_0x14b0eb(0x233)]&&_0x15ab76[_0x14b0eb(0x256)](new _0x290d08(0x0)),_0x32ff13[_0x14b0eb(0x201)]=this[_0x14b0eb(0x28b)](_0x15ab76)[_0x14b0eb(0x21a)](()=>{const _0x107d60=_0x14b0eb;this[_0x107d60(0x1ad)][_0x107d60(0x1b6)][_0x107d60(0x262)](_0x534013)[_0x107d60(0x1df)](this),this[_0x107d60(0x1ad)][_0x107d60(0x222)][_0x107d60(0x1f2)](_0x107d60(0x25f));})[_0x14b0eb(0x213)](_0x1d9563=>this[_0x14b0eb(0x1be)](_0x14b0eb(0x1b8),_0x1d9563))[_0x14b0eb(0x1f9)](()=>this[_0x14b0eb(0x1fb)]());},{'priority':_0x28a47c(0x1cb)}),this[_0x28a47c(0x1ad)]['on'](_0x28a47c(0x1de),async(_0x504c1c,[_0x225b48,_0x41cd3d])=>{const _0x5e92ac=_0x28a47c;_0x504c1c[_0x5e92ac(0x1b2)]();const _0x56fa35=this[_0x5e92ac(0x1ad)][_0x5e92ac(0x223)][_0x5e92ac(0x24a)][_0x5e92ac(0x206)](_0x225b48);if(!this[_0x5e92ac(0x259)][_0x5e92ac(0x231)](_0x225b48)){const _0x1ba659=_0x41cd3d&&_0x41cd3d[_0x5e92ac(0x222)]?_0x41cd3d[_0x5e92ac(0x222)]:'',_0x48af94=_0x41cd3d&&_0x41cd3d[_0x5e92ac(0x295)]?_0x41cd3d[_0x5e92ac(0x295)]:{};await this[_0x5e92ac(0x22a)](_0x225b48,_0x1ba659,_0x48af94);}this[_0x5e92ac(0x1ad)][_0x5e92ac(0x223)][_0x5e92ac(0x2a4)]({'isUndoable':!0x1},()=>{const _0x47aebb=_0x5e92ac;_0x56fa35[_0x47aebb(0x1eb)]=!0x0,this[_0x47aebb(0x1ad)][_0x47aebb(0x223)][_0x47aebb(0x24a)][_0x47aebb(0x263)][_0x47aebb(0x236)](_0x56fa35);});},{'priority':_0x28a47c(0x1cb)});}async[_0x871a24(0x1b9)](_0x4cd2a5){const _0x331e7c=_0x871a24,_0x537b10=this[_0x331e7c(0x1ad)][_0x331e7c(0x1b6)][_0x331e7c(0x262)](_0x45e896),{connection:_0x2a37c0}=this[_0x331e7c(0x1ad)][_0x331e7c(0x1b6)][_0x331e7c(0x262)](_0x534013),_0x55c570=new Set();for(const _0x171ab1 of _0x4cd2a5){const _0x524962=_0x171ab1[_0x331e7c(0x286)];_0x524962&&!_0x537b10[_0x331e7c(0x274)](_0x524962)&&_0x55c570[_0x331e7c(0x1ee)](_0x524962);}if(0x0===_0x55c570[_0x331e7c(0x1bb)])return;const _0x1329ea=await _0x37047c[_0x331e7c(0x2a0)](_0x2a37c0,Array[_0x331e7c(0x1f5)](_0x55c570));for(const _0x16596c of _0x1329ea)_0x537b10[_0x331e7c(0x274)](_0x16596c['id'])||_0x537b10[_0x331e7c(0x28d)](_0x16596c);}[_0x871a24(0x276)](_0x422ce8,_0x4db5fd={}){const _0x42d649=_0x871a24,_0x4291cd=this[_0x42d649(0x1ad)][_0x42d649(0x223)],_0x1fb599=[];let _0x4dc656=0x0;const _0x242d33=_0x42d649(0x1fa)==typeof _0x422ce8?{'main':_0x422ce8}:_0x422ce8;for(const _0x7ae85b of Object[_0x42d649(0x207)](_0x242d33)){if(!this[_0x42d649(0x1d2)][_0x42d649(0x232)][_0x42d649(0x231)](_0x7ae85b))throw new _0x2c13c3(_0x42d649(0x23a),this);const _0x36d6b7=this[_0x42d649(0x1ad)][_0x42d649(0x222)][_0x42d649(0x1b0)](_0x242d33[_0x7ae85b]),_0x4e0705=this[_0x42d649(0x1d2)][_0x42d649(0x206)](_0x7ae85b),_0x100281=new _0x2be817(_0x4291cd[_0x42d649(0x290)](_0x4e0705,0x0),_0x36d6b7,_0x4dc656++);_0x1fb599[_0x42d649(0x256)](_0x100281);for(const [_0x465763,_0x23474f]of _0x36d6b7[_0x42d649(0x2a7)]){const _0xe3bfc1=_0x4291cd[_0x42d649(0x21e)](_0x4291cd[_0x42d649(0x26c)](_0x4e0705,_0x23474f[_0x42d649(0x219)][_0x42d649(0x1da)][_0x42d649(0x289)]()),_0x4291cd[_0x42d649(0x26c)](_0x4e0705,_0x23474f[_0x42d649(0x21b)][_0x42d649(0x1da)][_0x42d649(0x289)]())),_0x19cec5=new _0x1d1b48(_0x465763,null,_0xe3bfc1,_0x4291cd[_0x42d649(0x2a7)],!0x0,_0x4dc656++);_0x1fb599[_0x42d649(0x256)](_0x19cec5);}}if(_0x4db5fd)for(const [_0x21fc72,_0x45cbc1]of Object[_0x42d649(0x298)](_0x4db5fd)){const _0x5a9c56=_0x4291cd[_0x42d649(0x24a)][_0x42d649(0x206)](_0x21fc72);if(!_0x5a9c56)throw new _0x2c13c3(_0x42d649(0x1ba),null);for(const [_0x4264a1,_0xdb92c6]of Object[_0x42d649(0x298)](_0x45cbc1))if(null!==_0xdb92c6){const _0x713af5=new _0x77c3c7(_0x5a9c56,_0x4264a1,null,_0xdb92c6,_0x4dc656++);_0x1fb599[_0x42d649(0x256)](_0x713af5);}}return _0x1fb599;}async[_0x871a24(0x22a)](_0x3a8798,_0x467943,_0x13fdc1){const _0x367c60=_0x871a24;this[_0x367c60(0x276)]({[_0x3a8798]:_0x467943},{[_0x3a8798]:_0x13fdc1})[_0x367c60(0x2ab)]((_0x2518f2,_0x2c335e)=>{const _0x239855=_0x367c60;_0x2518f2[_0x239855(0x299)]=this[_0x239855(0x1d2)][_0x239855(0x27e)]+_0x2c335e,_0x2518f2[_0x239855(0x227)]=!0x0,this[_0x239855(0x288)](_0x2518f2);}),this[_0x367c60(0x1d3)](),await this[_0x367c60(0x244)]();}async[_0x871a24(0x20f)](_0x176da0,_0x30b370){const _0x4bf423=_0x871a24;let _0x4d6ef6;this[_0x4bf423(0x2a9)]=_0x176da0[_0x4bf423(0x24f)];const _0x3c2426=_0x176da0[_0x4bf423(0x204)]&&!_0x176da0[_0x4bf423(0x1c5)],_0x2b6fdc=_0x3c2426?0x0:_0x176da0[_0x4bf423(0x222)][_0x4bf423(0x299)];if(_0x30b370[_0x4bf423(0x2ab)](_0x5760ec=>{const _0x3b62e3=_0x4bf423;_0x5760ec[_0x3b62e3(0x227)]=!0x0,_0x5760ec[_0x3b62e3(0x26e)]=_0x176da0[_0x3b62e3(0x273)],_0x5760ec[_0x3b62e3(0x286)]=null;}),_0x3c2426)_0x4d6ef6=_0x30b370,this[_0x4bf423(0x1e0)](_0x4d6ef6,_0x3c2426);else{if(_0x176da0[_0x4bf423(0x1c5)]){const _0x822101=this[_0x4bf423(0x276)](_0x176da0[_0x4bf423(0x1c5)]);this[_0x4bf423(0x1d2)][_0x4bf423(0x205)][_0x4bf423(0x27e)]=-_0x822101[_0x4bf423(0x233)],_0x822101[_0x4bf423(0x2ab)](_0x13d8d8=>{const _0x47319b=_0x4bf423;_0x13d8d8[_0x47319b(0x299)]-=_0x822101[_0x47319b(0x233)],_0x13d8d8[_0x47319b(0x26e)]=_0x176da0[_0x47319b(0x273)],_0x13d8d8[_0x47319b(0x227)]=!0x0,_0x13d8d8[_0x47319b(0x286)]=null;}),this[_0x4bf423(0x1e0)](_0x822101,!0x0),this[_0x4bf423(0x287)][_0x4bf423(0x27e)]=-_0x822101[_0x4bf423(0x233)]+this[_0x4bf423(0x2a9)],this[_0x4bf423(0x23d)](_0x822101);}this[_0x4bf423(0x1d2)][_0x4bf423(0x205)][_0x4bf423(0x27e)]=_0x2b6fdc,_0x4d6ef6=this[_0x4bf423(0x214)](_0x176da0[_0x4bf423(0x222)],_0x176da0[_0x4bf423(0x24d)]),await this[_0x4bf423(0x1b9)](_0x4d6ef6),this[_0x4bf423(0x1e0)](_0x4d6ef6,_0x3c2426);}_0x176da0[_0x4bf423(0x1c4)]&&(this[_0x4bf423(0x293)][_0x4bf423(0x2a6)](_0x4d6ef6,_0x176da0[_0x4bf423(0x1c4)]),this[_0x4bf423(0x1f1)]=_0x176da0[_0x4bf423(0x1c4)]),this[_0x4bf423(0x287)][_0x4bf423(0x27e)]=_0x2b6fdc+this[_0x4bf423(0x2a9)],this[_0x4bf423(0x23d)](_0x4d6ef6),_0x30b370[_0x4bf423(0x251)](_0x26a18e=>{const _0x5012d2=_0x4bf423,_0x25978b=this[_0x5012d2(0x1db)](_0x26a18e);return _0x25978b&&!this[_0x5012d2(0x259)][_0x5012d2(0x231)](_0x25978b);})[_0x4bf423(0x2ab)]((_0x326e8f,_0xea95ef)=>{const _0x150d71=_0x4bf423;_0x326e8f[_0x150d71(0x299)]=this[_0x150d71(0x1d2)][_0x150d71(0x27e)]+_0xea95ef,this[_0x150d71(0x288)](_0x326e8f);}),this[_0x4bf423(0x1e1)]()?(this[_0x4bf423(0x226)]=0x0,this[_0x4bf423(0x1d3)](!0x0),await this[_0x4bf423(0x244)]()):(this[_0x4bf423(0x1f8)]=!0x1,this[_0x4bf423(0x1fb)]());}[_0x871a24(0x1be)](_0x35f434,_0x5ed0e9){const _0x2956e9=_0x871a24,_0x2a1e35=_0x5ed0e9&&_0x5ed0e9[_0x2956e9(0x29d)];if(_0x2a1e35&&_0x2a1e35[_0x2956e9(0x237)](_0x2956e9(0x1af)))throw _0x5ed0e9;const _0x1e61f2=this[_0x2956e9(0x1ad)][_0x2956e9(0x1b6)][_0x2956e9(0x262)](_0x534013);throw this[_0x2956e9(0x1f8)]=!0x0,_0x1e61f2[_0x2956e9(0x27a)](),this[_0x2956e9(0x1ad)][_0x2956e9(0x253)](_0x2956e9(0x212)),new _0x2c13c3(_0x35f434,this[_0x2956e9(0x1ad)],_0x2a1e35?{'originalError':_0x2a1e35}:void 0x0);}[_0x871a24(0x288)](_0x2970cd){const _0x370633=_0x871a24;this[_0x370633(0x225)][_0x370633(0x231)](_0x2970cd)||(this[_0x370633(0x225)][_0x370633(0x1ee)](_0x2970cd),this[_0x370633(0x20c)][_0x370633(0x256)](_0x2970cd),this[_0x370633(0x23e)]||_0x370633(0x216)==_0x2970cd[_0x370633(0x25a)]&&!_0x2970cd[_0x370633(0x264)]||this[_0x370633(0x1b3)]());}[_0x871a24(0x1d3)](_0x32510b=!0x1){const _0x500592=_0x871a24;!_0x32510b&&this[_0x500592(0x1f8)]||(this[_0x500592(0x1f8)]=!0x0,clearTimeout(this[_0x500592(0x2a1)]),this[_0x500592(0x2a1)]=setTimeout(()=>{const _0x2b7242=_0x500592;this[_0x2b7242(0x27d)]()[_0x2b7242(0x21a)](_0x5b7248=>{const _0xd7002d=_0x2b7242;_0x5b7248&&(this[_0xd7002d(0x1fb)](),this[_0xd7002d(0x1f8)]=!0x1);})[_0x2b7242(0x213)](_0x9eeecb=>{const _0x2c3140=_0x2b7242;this[_0x2c3140(0x1fb)](),this[_0x2c3140(0x1f8)]=!0x1,function(_0x1a21dd){const _0x325df0=_0x2c3140;return _0x1a21dd[_0x325df0(0x29d)][_0x325df0(0x237)](_0x325df0(0x250))||_0x1a21dd[_0x325df0(0x29d)][_0x325df0(0x237)](_0x325df0(0x1c1))||_0x1a21dd[_0x325df0(0x29d)][_0x325df0(0x237)](_0x325df0(0x1bd));}(_0x9eeecb)||this[_0x2c3140(0x1be)](_0x9eeecb[_0x2c3140(0x29d)],_0x9eeecb);});},this[_0x500592(0x226)]));}[_0x871a24(0x244)](){return new Promise(_0x64d34c=>{const _0x34d51c=_0x716e;this['on'](_0x34d51c(0x1e2),()=>{_0x64d34c();});});}async[_0x871a24(0x27d)](){const _0x352496=_0x871a24,_0x421c4e=this[_0x352496(0x1ad)][_0x352496(0x1b6)][_0x352496(0x262)](_0x2ee7b8);if(this[_0x352496(0x27c)]()&&(_0x421c4e[_0x352496(0x22b)](),this[_0x352496(0x25b)]=!0x1),!this[_0x352496(0x1e1)]())return!0x0;const _0x5b48bc=[...this[_0x352496(0x20c)]];for(const _0x5736b1 of _0x5b48bc)_0x5736b1[_0x352496(0x1f3)]=this[_0x352496(0x1d2)][_0x352496(0x205)][_0x352496(0x28a)](_0x5736b1);const _0x2fc3f2=this[_0x352496(0x293)][_0x352496(0x1ca)](_0x5b48bc),_0x23bf65=G++,_0xd7365d=this[_0x352496(0x277)](_0x5b48bc),_0x16b9ce=await this[_0x352496(0x296)][_0x352496(0x2ac)](_0xd7365d,_0xd7365d[_0x352496(0x299)],_0x2fc3f2);try{return await this[_0x352496(0x20b)](_0x5b48bc,_0x16b9ce,_0x23bf65);}catch(_0x3ac05d){return this[_0x352496(0x1be)](_0x352496(0x275),_0x3ac05d);}}async[_0x871a24(0x20b)](_0x44d56e,_0x171e8d,_0x3a12d9){const _0x5c9808=_0x871a24;if(_0x5c9808(0x1c7)in _0x171e8d)throw _0x171e8d[_0x5c9808(0x1c7)];let _0x2ab5ea=!0x1;if(_0x171e8d[_0x5c9808(0x204)]){_0x171e8d[_0x5c9808(0x1c4)]&&(this[_0x5c9808(0x1f1)]=_0x171e8d[_0x5c9808(0x1c4)]),this[_0x5c9808(0x20c)]=this[_0x5c9808(0x20c)][_0x5c9808(0x251)](_0x4263f7=>!_0x44d56e[_0x5c9808(0x269)](_0x4263f7));for(const _0x595040 of _0x44d56e)_0x595040[_0x5c9808(0x26e)]=_0x5c9808(0x24c)in _0x171e8d&&_0x171e8d[_0x5c9808(0x24c)]||void 0x0;K(_0x44d56e,_0x171e8d[_0x5c9808(0x27e)]-_0x44d56e[_0x5c9808(0x233)]),this[_0x5c9808(0x23d)](_0x44d56e);const _0x5e23f0=_0x44d56e[_0x5c9808(0x251)](_0x47af75=>{const _0x3ab45f=_0x5c9808;if(!_0x47af75[_0x3ab45f(0x227)])return!0x1;const _0x37da29=this[_0x3ab45f(0x1db)](_0x47af75);return _0x37da29&&!this[_0x3ab45f(0x259)][_0x3ab45f(0x231)](_0x37da29);});K(_0x5e23f0,this[_0x5c9808(0x1d2)][_0x5c9808(0x27e)]),this[_0x5c9808(0x1e0)](_0x5e23f0),_0x2ab5ea=!0x0,this[_0x5c9808(0x226)]=this[_0x5c9808(0x258)];}else{const _0x1926cf=this[_0x5c9808(0x214)](_0x171e8d[_0x5c9808(0x222)],_0x171e8d[_0x5c9808(0x24d)])[_0x5c9808(0x251)](_0x12fe4f=>_0x12fe4f[_0x5c9808(0x299)]>=this[_0x5c9808(0x1c3)]);_0x1926cf[_0x5c9808(0x2ab)](_0x62a4ec=>this[_0x5c9808(0x1e7)](_0x62a4ec)),this[_0x5c9808(0x20c)]=this[_0x5c9808(0x20c)][_0x5c9808(0x251)](_0x328d22=>!_0x328d22[_0x5c9808(0x227)]||!this[_0x5c9808(0x259)][_0x5c9808(0x231)](this[_0x5c9808(0x1db)](_0x328d22))),this[_0x5c9808(0x20c)][_0x5c9808(0x233)]&&K(this[_0x5c9808(0x20c)],this[_0x5c9808(0x20c)][0x0][_0x5c9808(0x299)]),await this[_0x5c9808(0x1b9)](_0x1926cf),_0x2ab5ea=this[_0x5c9808(0x270)](_0x1926cf,_0x171e8d[_0x5c9808(0x27e)],_0x171e8d[_0x5c9808(0x1c4)]),this[_0x5c9808(0x226)]=Math[_0x5c9808(0x20d)](this[_0x5c9808(0x226)]/0x2);}return _0x2ab5ea?!this[_0x5c9808(0x1e1)]()||(this[_0x5c9808(0x1d3)](!0x0),!0x1):this[_0x5c9808(0x1be)](_0x5c9808(0x1f6));}[_0x871a24(0x270)](_0x5761b4,_0x43d1a1,_0x319e26){const _0x5a6bab=_0x871a24;try{const _0x444dff={'document':this[_0x5a6bab(0x1d2)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1f4bcd,operationsB:_0x5aa56f,originalOperations:_0x539b33}=_0x51d210(_0x5761b4,this[_0x5a6bab(0x20c)],_0x444dff);K(_0x1f4bcd,this[_0x5a6bab(0x1d2)][_0x5a6bab(0x27e)]),K(_0x5aa56f,_0x43d1a1);for(const _0x1b01b9 of _0x1f4bcd){const _0x5bc49f=_0x539b33[_0x5a6bab(0x262)](_0x1b01b9);_0x1b01b9[_0x5a6bab(0x286)]=_0x5bc49f?_0x5bc49f[_0x5a6bab(0x286)]:null;}_0x319e26&&(this[_0x5a6bab(0x293)][_0x5a6bab(0x2a6)](_0x5761b4,_0x319e26),this[_0x5a6bab(0x1f1)]=_0x319e26),this[_0x5a6bab(0x20c)]=[..._0x5aa56f],this[_0x5a6bab(0x1e0)](_0x1f4bcd),this[_0x5a6bab(0x23d)](_0x5761b4);}catch(_0x202d42){return console[_0x5a6bab(0x1c7)](_0x202d42),!0x1;}return!0x0;}[_0x871a24(0x1e0)](_0x5eb712,_0x577ba1=!0x1){const _0x3f738e=_0x871a24;this[_0x3f738e(0x1ad)][_0x3f738e(0x223)][_0x3f738e(0x2a4)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4a658b=>{const _0x2b8381=_0x3f738e;for(const _0x5baccf of _0x5eb712)this[_0x2b8381(0x225)][_0x2b8381(0x1ee)](_0x5baccf),this[_0x2b8381(0x1e7)](_0x5baccf),_0x4a658b[_0x2b8381(0x26f)][_0x2b8381(0x248)](_0x5baccf),this[_0x2b8381(0x1ad)][_0x2b8381(0x223)][_0x2b8381(0x257)](_0x5baccf);});}[_0x871a24(0x1e7)](_0x343543){const _0x563a96=_0x871a24,_0x437fd6=this[_0x563a96(0x1db)](_0x343543);_0x437fd6&&this[_0x563a96(0x259)][_0x563a96(0x1ee)](_0x437fd6);}[_0x871a24(0x1db)](_0x5edc9b){const _0x5b9151=_0x871a24;let _0x275801,_0x1e4a22;switch(_0x5edc9b[_0x5b9151(0x25a)]){case _0x5b9151(0x2a5):_0x275801=_0x5edc9b[_0x5b9151(0x21d)][_0x5b9151(0x1dd)];break;case _0x5b9151(0x216):if(_0x1e4a22=_0x5edc9b[_0x5b9151(0x1dc)],!_0x1e4a22)return null;_0x275801=_0x1e4a22[_0x5b9151(0x1dd)];break;case _0x5b9151(0x1e6):_0x275801=_0x5edc9b[_0x5b9151(0x1dd)];break;case _0x5b9151(0x215):_0x275801=_0x5edc9b[_0x5b9151(0x23b)];break;case _0x5b9151(0x272):_0x275801=_0x5edc9b[_0x5b9151(0x1b1)][_0x5b9151(0x1dd)];break;default:return null;}return _0x275801[_0x5b9151(0x245)];}[_0x871a24(0x23d)](_0xc6ce5e){const _0x215364=_0x871a24;_0xc6ce5e[_0x215364(0x2ab)](_0x45b376=>{const _0x2a70b6=_0x215364,_0x44b517=_0x45b376[_0x2a70b6(0x1e3)]();_0x44b517[_0x2a70b6(0x286)]=_0x45b376[_0x2a70b6(0x286)],_0x44b517[_0x2a70b6(0x227)]=!!_0x45b376[_0x2a70b6(0x227)],_0x44b517[_0x2a70b6(0x26e)]=_0x45b376[_0x2a70b6(0x26e)],_0x44b517[_0x2a70b6(0x299)]+=this[_0x2a70b6(0x2a9)],_0x45b376[_0x2a70b6(0x1b5)]&&this[_0x2a70b6(0x26b)][_0x2a70b6(0x1ee)](_0x44b517),this[_0x2a70b6(0x287)][_0x2a70b6(0x248)](_0x44b517);});}[_0x871a24(0x229)](_0xcceb8f){const _0x422d43=_0x871a24,_0x430cc1=this[_0x422d43(0x1ad)][_0x422d43(0x1b6)][_0x422d43(0x262)](_0x422d43(0x230)),_0x5a0ef8=this[_0x422d43(0x1ad)][_0x422d43(0x20e)];_0xcceb8f||(_0xcceb8f=_0x5efe23(_0x5a0ef8,_0x422d43(0x2a3))),_0x430cc1[_0x422d43(0x1e9)](_0xcceb8f,{'title':_0x5efe23(_0x5a0ef8,_0x422d43(0x283)),'namespace':_0x422d43(0x247)}),this[_0x422d43(0x1a9)]=!0x0,clearTimeout(this[_0x422d43(0x2a1)]),this[_0x422d43(0x20c)]=[],this[_0x422d43(0x1ad)][_0x422d43(0x1b6)][_0x422d43(0x262)](_0x534013)[_0x422d43(0x27a)]();}[_0x871a24(0x1b3)](){const _0x234cb8=_0x871a24;this[_0x234cb8(0x23e)]||(this[_0x234cb8(0x23e)]=this[_0x234cb8(0x1ad)][_0x234cb8(0x1b6)][_0x234cb8(0x262)](_0x5595c2)[_0x234cb8(0x1ee)](_0x5efe23(this[_0x234cb8(0x1ad)][_0x234cb8(0x20e)],_0x234cb8(0x1d0))));}[_0x871a24(0x1fb)](){const _0xef095=_0x871a24;this[_0xef095(0x23e)]&&(this[_0xef095(0x1ad)][_0xef095(0x1b6)][_0xef095(0x262)](_0x5595c2)[_0xef095(0x1c9)](this[_0xef095(0x23e)]),this[_0xef095(0x23e)]=null);}[_0x871a24(0x277)](_0x27225b){const _0x21d94a=_0x871a24,_0x39c0cb=_0x27225b[_0x21d94a(0x28f)](_0x7b9eef=>_0x7b9eef[_0x21d94a(0x1b4)]());return this[_0x21d94a(0x29f)][_0x21d94a(0x1cc)](_0x39c0cb);}[_0x871a24(0x214)](_0x38ee06,_0x4921bd){const _0x41e2e6=_0x871a24;return this[_0x41e2e6(0x29f)][_0x41e2e6(0x1bc)](_0x38ee06)[_0x41e2e6(0x28f)]((_0x20543d,_0x729e04)=>{const _0x158a69=_0x41e2e6,_0x5092d7=_0x158a69(0x1ce)==_0x4921bd[_0x729e04][_0x158a69(0x25a)];if(_0x158a69(0x1cd)==_0x20543d[_0x158a69(0x28e)]){const _0xa989f1=_0x20543d[_0x158a69(0x21d)][_0x158a69(0x1dd)];!this[_0x158a69(0x1d2)][_0x158a69(0x206)](_0xa989f1)&&(this[_0x158a69(0x1d2)][_0x158a69(0x1c0)](_0x158a69(0x22e),_0xa989f1)[_0x158a69(0x285)]=!0x1);}const _0x35517f=_0x1157e7[_0x158a69(0x261)](_0x20543d,this[_0x158a69(0x1d2)]);return _0x35517f[_0x158a69(0x1f3)]=_0x20543d[_0x158a69(0x1f3)],_0x35517f[_0x158a69(0x227)]=_0x5092d7,_0x35517f[_0x158a69(0x286)]=_0x5092d7?null:_0x4921bd[_0x729e04][_0x158a69(0x1ea)],_0x35517f[_0x158a69(0x1b5)]=_0x158a69(0x280)===_0x4921bd[_0x729e04][_0x158a69(0x25a)],_0x35517f[_0x158a69(0x26e)]=_0x4921bd[_0x729e04][_0x158a69(0x26e)],_0x35517f;});}[_0x871a24(0x1d9)](){const _0x456f57=_0x871a24;this[_0x456f57(0x25b)]=!0x0,this[_0x456f57(0x27c)]()?this[_0x456f57(0x1d3)]():this[_0x456f57(0x25b)]=!0x1;}[_0x871a24(0x27c)](){const _0x5052f8=_0x871a24,_0xcc60ae=this[_0x5052f8(0x1ad)][_0x5052f8(0x1b6)][_0x5052f8(0x262)](_0x4673cc)[_0x5052f8(0x265)][_0x5052f8(0x262)](this[_0x5052f8(0x1e8)]);return!this[_0x5052f8(0x1ad)][_0x5052f8(0x22f)]&&!!_0xcc60ae&&_0xcc60ae[_0x5052f8(0x233)]>0x1&&this[_0x5052f8(0x25b)];}[_0x871a24(0x1e1)](){const _0x16e58e=_0x871a24;return this[_0x16e58e(0x20c)][_0x16e58e(0x233)]>0x0||this[_0x16e58e(0x27c)]();}}class $ extends Error{}function K(_0x887b06,_0x1700bf){const _0x3ca6e0=_0x871a24;for(const _0x472910 of _0x887b06)_0x472910[_0x3ca6e0(0x299)]=_0x1700bf++;}class J{[_0x871a24(0x24b)];[_0x871a24(0x25e)];constructor(_0x49a08e){const _0x8e7baf=_0x871a24;this[_0x8e7baf(0x24b)]=_0x49a08e,this[_0x8e7baf(0x25e)]=new WeakMap();}[_0x871a24(0x1ca)](_0x523b23){const _0x4ba894=_0x871a24;let _0xf6893d=_0x523b23[_0x4ba894(0x233)];for(;_0xf6893d--;){const _0x1e5813=_0x523b23[_0xf6893d];if(!this[_0x4ba894(0x24b)][_0x4ba894(0x231)](_0x1e5813)){if(!this[_0x4ba894(0x25e)][_0x4ba894(0x231)](_0x1e5813)){const _0x4ada2c=_0x4c4926()[_0x4ba894(0x289)](0x1,0x12);this[_0x4ba894(0x25e)][_0x4ba894(0x239)](_0x1e5813,_0x4ada2c);}return this[_0x4ba894(0x25e)][_0x4ba894(0x262)](_0x1e5813);}}}[_0x871a24(0x2a6)](_0xa12be9,_0xab4bd4){const _0xac3fef=_0x871a24;if(!_0xab4bd4)return;let _0x52e902=_0xa12be9[_0xac3fef(0x233)];for(;_0x52e902--;){const _0x12e1d3=_0xa12be9[_0x52e902];this[_0xac3fef(0x24b)][_0xac3fef(0x231)](_0x12e1d3)||this[_0xac3fef(0x25e)][_0xac3fef(0x239)](_0x12e1d3,_0xab4bd4);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47008d=_0x55b8;(function(_0xa290c1,_0x49eff0){const _0x4b9556=_0x55b8,_0x14d749=_0xa290c1();while(!![]){try{const _0xe49d77=parseInt(_0x4b9556(0x161))/0x1*(parseInt(_0x4b9556(0x16f))/0x2)+parseInt(_0x4b9556(0x14e))/0x3+parseInt(_0x4b9556(0x175))/0x4*(parseInt(_0x4b9556(0x14a))/0x5)+-parseInt(_0x4b9556(0x172))/0x6*(parseInt(_0x4b9556(0x151))/0x7)+-parseInt(_0x4b9556(0x145))/0x8+parseInt(_0x4b9556(0x143))/0x9*(-parseInt(_0x4b9556(0x171))/0xa)+parseInt(_0x4b9556(0x159))/0xb;if(_0xe49d77===_0x49eff0)break;else _0x14d749['push'](_0x14d749['shift']());}catch(_0x1ec6a1){_0x14d749['push'](_0x14d749['shift']());}}}(_0x5936,0xd7831));function _0x55b8(_0x2752e9,_0xe6aa05){const _0x59365b=_0x5936();return _0x55b8=function(_0x55b8af,_0x4add74){_0x55b8af=_0x55b8af-0x13a;let _0x4871d9=_0x59365b[_0x55b8af];return _0x4871d9;},_0x55b8(_0x2752e9,_0xe6aa05);}import{ContextPlugin as _0x4f9452}from'ckeditor5/src/core.js';import{Collection as _0x5c67d1,CKEditorError as _0x4acaee}from'ckeditor5/src/utils.js';function _0x5936(){const _0x378fe4=['isOfficialPlugin','getUser','_uniqueUsersCount','context','add','mySessionId','sessionId','_createUser','channelConnectedUsers','change:state','134973GmFbgh','values','9764008QJYEoK','hiddenInPresenceList','get','assign','connection','74380mlxYBN','_users','pluginName','user','1134930GWobZz','getUserSessions','_registeredSessions','257789sgCsTg','listenTo','sessionAdd:','role','forEach','getUserRole','stopListening','plugins','27212944xTEBfw','_handleSessionRemove','allConnectedUsers','requires','sessions-register-already-registered','state','remove','unregister','1JCetnb','channelSessions','init','isPremiumPlugin','delete','_handleSessionAdd','orderNumber','size','clear','isMe','Sessions','register','getUserBySessionId','connected','1838756qZPpva','sessions-unregister-not-exist','1010aMUdLk','42ZbcqBy','has','defineMe','28xgSImh','fire','addUser','set'];_0x5936=function(){return _0x378fe4;};return _0x5936();}import{WebSocketGateway as _0x3b14dc}from'./websocketgateway.js';import{Users as _0x533c35}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x4f9452{[_0x47008d(0x162)];[_0x47008d(0x141)];[_0x47008d(0x15b)];[_0x47008d(0x150)];[_0x47008d(0x13b)];[_0x47008d(0x14b)];static get[_0x47008d(0x14c)](){const _0x2c5d5e=_0x47008d;return _0x2c5d5e(0x16b);}static get[_0x47008d(0x179)](){return!0x0;}static get[_0x47008d(0x164)](){return!0x0;}static get[_0x47008d(0x15c)](){return[_0x3b14dc,_0x533c35];}constructor(_0x186c04){const _0x7f08c6=_0x47008d;super(_0x186c04),this[_0x7f08c6(0x162)]=new Map(),this[_0x7f08c6(0x141)]=new Map(),this[_0x7f08c6(0x15b)]=new _0x5c67d1(),this[_0x7f08c6(0x150)]=new Map(),this[_0x7f08c6(0x13b)]=0x0,this[_0x7f08c6(0x14b)]=this[_0x7f08c6(0x13c)][_0x7f08c6(0x158)][_0x7f08c6(0x147)](_0x533c35);}[_0x47008d(0x163)](){const _0x2694f1=_0x47008d,_0x648c51=this[_0x2694f1(0x13c)][_0x2694f1(0x158)][_0x2694f1(0x147)](_0x3b14dc);this[_0x2694f1(0x152)](_0x648c51,_0x2694f1(0x142),(_0x1fe9b5,_0x1ff56a,_0x4639d2)=>{const _0x5b485f=_0x2694f1;if(_0x5b485f(0x16e)!==_0x4639d2)this[_0x5b485f(0x162)][_0x5b485f(0x155)](_0x549ee6=>_0x549ee6[_0x5b485f(0x169)]()),this[_0x5b485f(0x141)][_0x5b485f(0x155)](_0x4457dc=>_0x4457dc[_0x5b485f(0x169)]()),this[_0x5b485f(0x15b)][_0x5b485f(0x169)]();else{for(const [_0x95c3e0,_0x4c620b]of this[_0x5b485f(0x150)])for(const _0x58e4b8 of _0x4c620b)this[_0x5b485f(0x166)](_0x95c3e0,_0x58e4b8);}}),this[_0x2694f1(0x140)](_0x648c51[_0x2694f1(0x149)]['me'],!0x0);}[_0x47008d(0x16c)](_0x222f02,_0x36cc48){const _0x594692=_0x47008d;if(this[_0x594692(0x150)][_0x594692(0x173)](_0x222f02))throw new _0x4acaee(_0x594692(0x15d),null,{'channelId':_0x222f02});this[_0x594692(0x150)][_0x594692(0x178)](_0x222f02,_0x36cc48),this[_0x594692(0x162)][_0x594692(0x178)](_0x222f02,new _0x5c67d1()),this[_0x594692(0x141)][_0x594692(0x178)](_0x222f02,new _0x5c67d1()),this[_0x594692(0x152)](_0x36cc48,_0x594692(0x13d),(_0x10da84,_0x3064fb)=>this[_0x594692(0x166)](_0x222f02,_0x3064fb)),this[_0x594692(0x152)](_0x36cc48,_0x594692(0x15f),(_0x329f69,_0x1a485b)=>this[_0x594692(0x15a)](_0x222f02,_0x1a485b));for(const _0x10cd0d of _0x36cc48)this[_0x594692(0x166)](_0x222f02,_0x10cd0d);}[_0x47008d(0x160)](_0x2a7727){const _0x95d721=_0x47008d;if(!this[_0x95d721(0x150)][_0x95d721(0x173)](_0x2a7727))throw new _0x4acaee(_0x95d721(0x170),null,{'channelId':_0x2a7727});const _0x2d27fb=this[_0x95d721(0x150)][_0x95d721(0x147)](_0x2a7727);this[_0x95d721(0x157)](_0x2d27fb);for(const _0x5555c1 of _0x2d27fb)_0x95d721(0x16e)===this[_0x95d721(0x13c)][_0x95d721(0x158)][_0x95d721(0x147)](_0x3b14dc)[_0x95d721(0x15e)]&&this[_0x95d721(0x15a)](_0x2a7727,_0x5555c1);this[_0x95d721(0x150)][_0x95d721(0x165)](_0x2a7727),this[_0x95d721(0x162)][_0x95d721(0x165)](_0x2a7727),this[_0x95d721(0x141)][_0x95d721(0x165)](_0x2a7727);}get[_0x47008d(0x13e)](){const _0x34695d=_0x47008d;return this[_0x34695d(0x13c)][_0x34695d(0x158)][_0x34695d(0x147)](_0x3b14dc)[_0x34695d(0x149)][_0x34695d(0x13f)];}[_0x47008d(0x16d)](_0x5b253a){const _0x3eda64=_0x47008d;for(const _0x2c0032 of this[_0x3eda64(0x162)][_0x3eda64(0x144)]())for(const _0x154947 of _0x2c0032)if(_0x154947['id']===_0x5b253a)return _0x154947[_0x3eda64(0x14d)];}[_0x47008d(0x14f)](_0x2d15c5,_0x43214e){const _0x4c77f6=_0x47008d,_0x1b78c4=_0x43214e?[this[_0x4c77f6(0x162)][_0x4c77f6(0x147)](_0x43214e)]:this[_0x4c77f6(0x162)][_0x4c77f6(0x144)](),_0x26cd1e=new Set();for(const _0x1feacf of _0x1b78c4)for(const _0x10c36b of _0x1feacf)_0x10c36b[_0x4c77f6(0x14d)]['id']===_0x2d15c5['id']&&_0x26cd1e[_0x4c77f6(0x13d)](_0x10c36b['id']);return _0x26cd1e;}[_0x47008d(0x156)](_0x3b2101){const _0x31ead8=_0x47008d;for(const _0x107ca9 of this[_0x31ead8(0x162)][_0x31ead8(0x144)]())for(const _0x1bacff of _0x107ca9)if(_0x1bacff[_0x31ead8(0x14d)]===_0x3b2101)return _0x1bacff[_0x31ead8(0x154)];}[_0x47008d(0x166)](_0x297e5c,_0x5462a3){const _0x2e2d9d=_0x47008d;if(_0x2e2d9d(0x16e)!==this[_0x2e2d9d(0x13c)][_0x2e2d9d(0x158)][_0x2e2d9d(0x147)](_0x3b14dc)[_0x2e2d9d(0x15e)])return;const _0x1d000a=_0x5462a3[_0x2e2d9d(0x14d)],_0x8ffb3c=this[_0x2e2d9d(0x14b)][_0x2e2d9d(0x13a)](_0x1d000a['id'])||this[_0x2e2d9d(0x140)](_0x1d000a),_0x5ae920=Object[_0x2e2d9d(0x148)]({},_0x5462a3,{'user':_0x8ffb3c});if(this[_0x2e2d9d(0x162)][_0x2e2d9d(0x147)](_0x297e5c)[_0x2e2d9d(0x13d)](_0x5ae920),!_0x1d000a[_0x2e2d9d(0x146)]){const _0x197ea8=this[_0x2e2d9d(0x141)][_0x2e2d9d(0x147)](_0x297e5c);_0x197ea8[_0x2e2d9d(0x173)](_0x8ffb3c['id'])||_0x197ea8[_0x2e2d9d(0x13d)](_0x8ffb3c),this[_0x2e2d9d(0x15b)][_0x2e2d9d(0x173)](_0x8ffb3c['id'])||_0x1d000a[_0x2e2d9d(0x146)]||this[_0x2e2d9d(0x15b)][_0x2e2d9d(0x13d)](_0x8ffb3c,_0x8ffb3c[_0x2e2d9d(0x16a)]?0x0:void 0x0);}this[_0x2e2d9d(0x176)](_0x2e2d9d(0x153)+_0x297e5c,{'channelId':_0x297e5c,'session':_0x5ae920});}[_0x47008d(0x15a)](_0xb95ed8,_0x730cae){const _0x27373f=_0x47008d;if(_0x27373f(0x16e)!==this[_0x27373f(0x13c)][_0x27373f(0x158)][_0x27373f(0x147)](_0x3b14dc)[_0x27373f(0x15e)])return;const _0x5d724d=this[_0x27373f(0x141)][_0x27373f(0x147)](_0xb95ed8),_0x51648d=_0x730cae[_0x27373f(0x14d)];_0x51648d['id']&&(this[_0x27373f(0x162)][_0x27373f(0x147)](_0xb95ed8)[_0x27373f(0x15f)](_0x730cae['id']),_0x5d724d[_0x27373f(0x173)](_0x51648d['id'])&&!this[_0x27373f(0x14f)](_0x51648d,_0xb95ed8)[_0x27373f(0x168)]&&_0x5d724d[_0x27373f(0x15f)](_0x51648d['id']),this[_0x27373f(0x15b)][_0x27373f(0x147)](_0x51648d['id'])&&!this[_0x27373f(0x14f)](_0x51648d)[_0x27373f(0x168)]&&this[_0x27373f(0x15b)][_0x27373f(0x15f)](_0x51648d['id']));}[_0x47008d(0x140)](_0x3ea376,_0x3521d1){const _0x477a20=_0x47008d,_0x4d8e42=this[_0x477a20(0x14b)][_0x477a20(0x177)](_0x3ea376);return _0x3521d1&&this[_0x477a20(0x14b)][_0x477a20(0x174)](_0x3ea376['id']),_0x4d8e42[_0x477a20(0x167)]=this[_0x477a20(0x13b)]++,_0x4d8e42;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x397b(_0x4dcf7e,_0x54fa0a){const _0x471164=_0x4711();return _0x397b=function(_0x397bcd,_0x1041b5){_0x397bcd=_0x397bcd-0xa4;let _0x570e5f=_0x471164[_0x397bcd];return _0x570e5f;},_0x397b(_0x4dcf7e,_0x54fa0a);}const _0x2de0e8=_0x397b;(function(_0xe50d3f,_0x330694){const _0x549b3e=_0x397b,_0x4cbc72=_0xe50d3f();while(!![]){try{const _0x5e6490=parseInt(_0x549b3e(0xb5))/0x1*(-parseInt(_0x549b3e(0x103))/0x2)+parseInt(_0x549b3e(0x11c))/0x3*(-parseInt(_0x549b3e(0x120))/0x4)+parseInt(_0x549b3e(0x127))/0x5+parseInt(_0x549b3e(0x10b))/0x6*(parseInt(_0x549b3e(0x104))/0x7)+-parseInt(_0x549b3e(0x116))/0x8*(parseInt(_0x549b3e(0xd4))/0x9)+parseInt(_0x549b3e(0x12d))/0xa*(-parseInt(_0x549b3e(0xa7))/0xb)+parseInt(_0x549b3e(0xb3))/0xc;if(_0x5e6490===_0x330694)break;else _0x4cbc72['push'](_0x4cbc72['shift']());}catch(_0x49bd71){_0x4cbc72['push'](_0x4cbc72['shift']());}}}(_0x4711,0x1f30a));import{Plugin as _0x423333}from'ckeditor5/src/core.js';import{global as _0xe419ce,DomEmitterMixin as _0x35534d}from'ckeditor5/src/utils.js';function _0x4711(){const _0x1529ea=['168OZeoZu','isCollapsed','start','view','_createdBatches','set','getSelectionClass','textContent','toDomElement','delete','user:position:','357992uhfChI','undo','type','editingDowncast','for','markerToElement','11019KzCPLn','isDocumentOperation','markerToHighlight','markerName','60YJIday','root','getFirstRange','mouseenter','userPositionMarker','getCustomProperty','markerNameToElements','714785uZDAWo','requires','batch','applyOperation','update:user:range','split','1407910CmvoAP','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker-tooltip','highest','stopListening','document','pluginName','11UyThsC','color','init','user:range','editing','createUIElement','conversion','getMarkerClass','toRange','fromRange','user:','commands','5570076XIRPql','end','9WfDXpG','getContainedElement','$text','detach','newRange','ck-user__marker_hovered','createUserMarkerOperations','data-session-id','getStart','addEventListener','getAttribute','false','user:range:','getUserBySessionId','enqueueChange','updateMarker','oldRange','schema','clear','createElement','size','mouseleave','isPremiumPlugin','_domEmitter','mySessionId','spellcheck','orderNumber','rootName','innerHTML','span','change:range','27TcYwYM','isOfficialPlugin','markers','outerHTML','afterInit','keydown','ck-user__marker\x20','user:position','reconvertMarker','tableCell','isLimit','setAttribute','getRange','parent','UserMarkers','classList','render','mapper','getPositions','Escape','removeMarker','element','change','plugins','contenteditable','listenTo','editor','getNearestSelectionRange','ck-user__selection','add','$graveyard','isObject','markerRange','get','setCustomProperty','startsWith','hasDomSelection','name','deletionPosition','selection','hasContent','isInline','createRange','has','marker','checkChild','model','56598gmQerR','26362lGbQsJ','destroy','removeClass','remove','nodeAfter','addMarker','isSimilar'];_0x4711=function(){return _0x1529ea;};return _0x4711();}import{Sessions as _0x438698}from'./sessions.js';import{ModelLiveRange as _0x263824}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x423333{[_0x2de0e8(0xcc)]=new(_0x35534d())();static get[_0x2de0e8(0x128)](){return[_0x438698];}static get[_0x2de0e8(0xa6)](){const _0x30d408=_0x2de0e8;return _0x30d408(0xe2);}static get[_0x2de0e8(0xd5)](){return!0x0;}static get[_0x2de0e8(0xcb)](){return!0x0;}[_0x2de0e8(0xa9)](){const _0x9445bf=_0x2de0e8,_0x140dc8=this[_0x9445bf(0xee)],_0x73355e=_0x140dc8[_0x9445bf(0xeb)][_0x9445bf(0xf5)](_0x438698);_0x140dc8[_0x9445bf(0xad)][_0x9445bf(0x11a)](_0x9445bf(0x119))[_0x9445bf(0x11b)]({'model':_0x9445bf(0xdb),'view':(_0x25ff08,{writer:_0x74c545})=>function(_0x10be1f,_0xd3ecc5,_0x14d213,_0x2a4f29){const _0x421603=_0x9445bf,_0x88747a=_0x10be1f[_0x421603(0x11f)][_0x421603(0x12c)](':')[0x2],_0x465f75=_0x14d213[_0x421603(0xc2)](_0x88747a);if(!_0x465f75||_0x88747a===_0x14d213[_0x421603(0xcd)])return;if(!_0x2a4f29[_0x421603(0x102)][_0x421603(0xc6)][_0x421603(0x101)](_0x10be1f[_0x421603(0xf4)][_0x421603(0x10d)],_0x421603(0xb7)))return;const _0x42873a={'class':_0x421603(0xda)+_0x465f75[_0x421603(0xa8)][_0x421603(0xae)](),'data-name':_0x465f75[_0x421603(0xf9)],'data-session-id':_0x88747a},_0x4e6a7b=_0x2a4f29[_0x421603(0x102)][_0x421603(0xd6)][_0x421603(0xf5)](_0x10be1f[_0x421603(0x11f)]),_0x54564f=_0x4e6a7b[_0x421603(0xbd)](),_0x1e7e28=_0x54564f[_0x421603(0x108)],_0x312b87=_0x2a4f29[_0x421603(0x102)][_0x421603(0xc6)];if(_0x1e7e28&&_0x312b87[_0x421603(0xf3)](_0x1e7e28)&&_0x312b87[_0x421603(0xfd)](_0x1e7e28)&&!_0x2a4f29[_0x421603(0x102)][_0x421603(0xd6)][_0x421603(0xf5)](_0x421603(0xc1)+_0x88747a)[_0x421603(0xe0)]()[_0x421603(0x10c)])return;const _0x1bdd7a=_0x54564f[_0x421603(0xe1)];return _0x2a4f29[_0x421603(0x102)][_0x421603(0xc6)][_0x421603(0xde)](_0x1bdd7a)&&!_0x2a4f29[_0x421603(0x102)][_0x421603(0xfc)](_0x1bdd7a)&&(_0x42873a[_0x421603(0xec)]=!0x1),function(_0x477f65,_0x150744,_0x16d42d){const _0x2c3f35=_0x421603,_0x4b6eb3=_0x477f65[_0x2c3f35(0xac)](_0x2c3f35(0xd2),_0x150744);return _0x477f65[_0x2c3f35(0xf6)](_0x2c3f35(0x124),!0x0,_0x4b6eb3),_0x4b6eb3[_0x2c3f35(0xe4)]=function(_0x240465){const _0x2fe12c=_0x2c3f35,_0x3f00ee=this[_0x2fe12c(0x113)](_0x240465),_0x59578c=document[_0x2fe12c(0xc8)](_0x2fe12c(0xd2));return _0x59578c[_0x2fe12c(0xe3)][_0x2fe12c(0xf1)](_0x2fe12c(0x12f)),_0x59578c[_0x2fe12c(0xdf)](_0x2fe12c(0xec),_0x2fe12c(0xc0)),_0x59578c[_0x2fe12c(0xdf)](_0x2fe12c(0xce),_0x2fe12c(0xc0)),_0x59578c[_0x2fe12c(0x112)]=_0x16d42d[_0x2fe12c(0xf9)],_0x3f00ee[_0x2fe12c(0xd1)]=_0x2fe12c(0x12e)+_0x59578c[_0x2fe12c(0xd7)]+'',_0x3f00ee[_0x2fe12c(0xbe)](_0x2fe12c(0x123),()=>{const _0x4b7416=_0x2fe12c;_0x3f00ee[_0x4b7416(0xe3)][_0x4b7416(0xf1)](_0x4b7416(0xba));}),_0x3f00ee[_0x2fe12c(0xbe)](_0x2fe12c(0xca),()=>{const _0x3e3302=_0x2fe12c;_0x3f00ee[_0x3e3302(0xe3)][_0x3e3302(0x107)](_0x3e3302(0xba));}),_0x3f00ee;},_0x4b6eb3[_0x2c3f35(0x10a)]=function(_0x4c982d){const _0x3f3aa5=_0x2c3f35;return!(!this[_0x3f3aa5(0x125)](_0x3f3aa5(0x124))||!_0x4c982d[_0x3f3aa5(0x125)](_0x3f3aa5(0x124))||this[_0x3f3aa5(0xbf)](_0x3f3aa5(0xbc))!=_0x4c982d[_0x3f3aa5(0xbf)](_0x3f3aa5(0xbc)));},_0x4b6eb3;}(_0xd3ecc5,_0x42873a,_0x465f75);}(_0x25ff08,_0x74c545,_0x73355e,_0x140dc8)}),_0x140dc8[_0x9445bf(0xad)][_0x9445bf(0x11a)](_0x9445bf(0x119))[_0x9445bf(0x11e)]({'model':_0x9445bf(0xaa),'view':_0x17da1b=>function(_0x3f1bc6,_0x326d36){const _0x1b17e5=_0x9445bf,_0x2d7a71=_0x3f1bc6[_0x1b17e5(0x11f)][_0x1b17e5(0x12c)](':')[0x2];if(_0x2d7a71===_0x326d36[_0x1b17e5(0xcd)])return null;const _0x5ea34d=_0x326d36[_0x1b17e5(0xc2)](_0x2d7a71);if(!_0x5ea34d)return{'id':_0x2d7a71,'classes':[]};return{'id':_0x2d7a71,'classes':[_0x1b17e5(0xf0),_0x5ea34d[_0x1b17e5(0xa8)][_0x1b17e5(0x111)]()],'attributes':{'data-session-id':_0x2d7a71},'priority':0x7d0+_0x5ea34d[_0x1b17e5(0xcf)]};}(_0x17da1b,_0x73355e)}),function(_0x2da6b9){const _0x4ac1ce=_0x9445bf,_0x3754d8=_0x2da6b9[_0x4ac1ce(0x102)],_0x1f0783=new Map(),_0x1dabc6=_0x2da6b9[_0x4ac1ce(0xeb)][_0x4ac1ce(0xf5)](_0x438698);_0x3754d8[_0x4ac1ce(0xd6)]['on'](_0x4ac1ce(0x12b),(_0x5ea393,_0x1f7070,_0x3807b8,_0x3c1c29)=>{const _0x198add=_0x4ac1ce;if(!_0x3c1c29&&_0x1f0783[_0x198add(0xf5)](_0x1f7070[_0x198add(0xf9)]))return _0x1f0783[_0x198add(0xf5)](_0x1f7070[_0x198add(0xf9)])[_0x198add(0xb8)](),void _0x1f0783[_0x198add(0x114)](_0x1f7070[_0x198add(0xf9)]);const _0x330b6d=_0x1f7070[_0x198add(0xf9)][_0x198add(0x12c)](':')[0x2];if(_0x330b6d===_0x1dabc6[_0x198add(0xcd)])return;const _0x2e4459=_0x198add(0x115)+_0x330b6d;_0x3754d8[_0x198add(0xd6)][_0x198add(0xff)](_0x2e4459)&&_0x2da6b9[_0x198add(0xab)][_0x198add(0xdc)](_0x2e4459),_0x1f7070['on'](_0x198add(0xd3),(_0xa0dce2,_0x3f876b,_0x463988)=>{const _0x34b9f9=_0x198add;if(_0x34b9f9(0xf2)!=_0x3f876b[_0x34b9f9(0x121)][_0x34b9f9(0xd0)]&&_0x34b9f9(0xf2)==_0x1f7070[_0x34b9f9(0xe0)]()[_0x34b9f9(0x121)][_0x34b9f9(0xd0)]&&!_0x1f0783[_0x34b9f9(0xff)](_0x1f7070[_0x34b9f9(0xf9)])){const _0x3c83d7=_0x3754d8[_0x34b9f9(0xc6)][_0x34b9f9(0xef)](_0x463988[_0x34b9f9(0xfa)]);if(_0x3c83d7){const _0x248eb6=_0x263824[_0x34b9f9(0xb0)](_0x3c83d7);_0x1f0783[_0x34b9f9(0x110)](_0x1f7070[_0x34b9f9(0xf9)],_0x248eb6),_0x248eb6['on'](_0x34b9f9(0xd3),(_0x4286ce,_0x4c3f70,_0x58f5e0)=>{const _0x3fcaba=_0x34b9f9;if(_0x3fcaba(0xf2)==_0x248eb6[_0x3fcaba(0x121)][_0x3fcaba(0xd0)]){const _0x230a3f=_0x3754d8[_0x3fcaba(0xc6)][_0x3fcaba(0xef)](_0x58f5e0[_0x3fcaba(0xfa)]);_0x230a3f?(_0x248eb6[_0x3fcaba(0x10d)]=_0x230a3f[_0x3fcaba(0x10d)],_0x248eb6[_0x3fcaba(0xb4)]=_0x230a3f[_0x3fcaba(0xb4)]):(_0x1f0783[_0x3fcaba(0x114)](_0x1f7070[_0x3fcaba(0xf9)]),_0x248eb6[_0x3fcaba(0xb8)]());}});}}});}),_0x3754d8[_0x4ac1ce(0xa5)]['on'](_0x4ac1ce(0xea),()=>{const _0x5f3bc7=_0x4ac1ce;_0x1f0783[_0x5f3bc7(0xc9)]>0x0&&_0x3754d8[_0x5f3bc7(0xc3)]({'isUndoable':!0x1},_0x2f8e75=>{const _0x434545=_0x5f3bc7;for(const [_0x1cf4e5,_0x56a19c]of _0x1f0783)_0x434545(0xf2)==_0x3754d8[_0x434545(0xd6)][_0x434545(0xf5)](_0x1cf4e5)[_0x434545(0xe0)]()[_0x434545(0x121)][_0x434545(0xd0)]&&(te(_0x1cf4e5[_0x434545(0x12c)](':')[0x2],_0x56a19c[_0x434545(0xaf)](),_0x3754d8,_0x2f8e75),_0x56a19c[_0x434545(0xb8)]());_0x1f0783[_0x434545(0xc7)]();});});}(_0x140dc8),this[_0x9445bf(0xcc)][_0x9445bf(0xed)](_0xe419ce[_0x9445bf(0xa5)],_0x9445bf(0xd9),(_0x4ef458,{key:_0x19bce2})=>{const _0x3ef3a1=_0x9445bf;_0x3ef3a1(0xe7)===_0x19bce2&&function(_0x193e08){const _0x3c08eb=_0x3ef3a1;_0x193e08[_0x3c08eb(0xab)][_0x3c08eb(0x10e)][_0x3c08eb(0xea)](_0xaf924a=>{const _0x59efd9=_0x3c08eb;for(const _0x443ac9 of _0x193e08[_0x59efd9(0x102)][_0x59efd9(0xd6)]){if(!_0x443ac9[_0x59efd9(0xf9)][_0x59efd9(0xf7)](_0x59efd9(0xdb)))continue;const _0x1746ed=_0x193e08[_0x59efd9(0xab)][_0x59efd9(0xe5)][_0x59efd9(0x126)](_0x443ac9[_0x59efd9(0xf9)]);if(_0x1746ed){for(const _0x324cec of _0x1746ed)_0xaf924a[_0x59efd9(0x106)](_0x59efd9(0xba),_0x324cec);}}});}(_0x140dc8);},{'useCapture':!0x0});}[_0x2de0e8(0xd8)](){const _0x389493=_0x2de0e8,_0x175c61=this[_0x389493(0xee)],_0x58dfa5=_0x175c61[_0x389493(0xb2)][_0x389493(0xf5)](_0x389493(0x117));_0x58dfa5&&_0x175c61[_0x389493(0x102)]['on'](_0x389493(0x12a),(_0x1f2628,_0x1b5bce)=>{const _0x1c5ab2=_0x389493,_0x3e52c1=_0x1b5bce[0x0];if(!_0x3e52c1[_0x1c5ab2(0x11d)])return;if(_0x1c5ab2(0x100)!=_0x3e52c1[_0x1c5ab2(0x118)]||!_0x3e52c1[_0x1c5ab2(0xf9)][_0x1c5ab2(0xf7)](_0x1c5ab2(0xb1)))return;const _0x5f0732=_0x3e52c1[_0x1c5ab2(0x129)];_0x58dfa5[_0x1c5ab2(0x10f)][_0x1c5ab2(0xff)](_0x5f0732)&&(_0x3e52c1[_0x1c5ab2(0xb9)]=_0x3e52c1[_0x1c5ab2(0xc5)]?_0x175c61[_0x1c5ab2(0x102)][_0x1c5ab2(0xfe)](_0x3e52c1[_0x1c5ab2(0xc5)][_0x1c5ab2(0x10d)],_0x3e52c1[_0x1c5ab2(0xc5)][_0x1c5ab2(0xb4)]):null);},{'priority':_0x389493(0x130)});}[_0x2de0e8(0x105)](){const _0x487ff6=_0x2de0e8;return this[_0x487ff6(0xcc)][_0x487ff6(0xa4)](),super[_0x487ff6(0x105)]();}[_0x2de0e8(0xbb)](){const _0x1c9c4e=_0x2de0e8,_0x4c783f=this[_0x1c9c4e(0xee)],_0x1be352=_0x4c783f[_0x1c9c4e(0x102)][_0x1c9c4e(0xa5)],_0x3b74d2=_0x4c783f[_0x1c9c4e(0xeb)][_0x1c9c4e(0xf5)](_0x438698);_0x4c783f[_0x1c9c4e(0x102)][_0x1c9c4e(0xc3)]({'isUndoable':!0x1},_0x5a070c=>{const _0x101816=_0x1c9c4e,_0x2f8962=_0x101816(0xc1)+_0x3b74d2[_0x101816(0xcd)],_0x3109f2=_0x101816(0x115)+_0x3b74d2[_0x101816(0xcd)],_0x164512=_0x4c783f[_0x101816(0x102)][_0x101816(0xd6)][_0x101816(0xff)](_0x2f8962);_0x4c783f[_0x101816(0xab)][_0x101816(0x10e)][_0x101816(0xf8)]?te(_0x3b74d2[_0x101816(0xcd)],_0x1be352[_0x101816(0xfb)][_0x101816(0x122)](),_0x4c783f[_0x101816(0x102)],_0x5a070c):_0x164512&&(_0x5a070c[_0x101816(0xe8)](_0x2f8962),_0x5a070c[_0x101816(0xe8)](_0x3109f2));});}}function te(_0x21d0a1,_0xcbcc34,_0x28e800,_0x391d9b){const _0x2b4457=_0x2de0e8,_0x582707=_0x2b4457(0xc1)+_0x21d0a1,_0x15976a=_0x2b4457(0x115)+_0x21d0a1,_0x2c384f=_0xcbcc34[_0x2b4457(0xb6)]();let _0x48047e=_0xcbcc34[_0x2b4457(0x10d)];if(_0x2c384f&&_0x2c384f['is'](_0x2b4457(0xe9),_0x2b4457(0xdd))){const _0x3570ca=function(_0xedb342,_0x581834){const _0x11d39f=_0x2b4457;for(const _0x3fb299 of _0xedb342[_0x11d39f(0xe6)]())if(_0x581834[_0x11d39f(0xc6)][_0x11d39f(0x101)](_0x3fb299,_0x11d39f(0xb7)))return _0x3fb299;}(_0xcbcc34,_0x28e800);_0x3570ca&&(_0x48047e=_0x3570ca,_0xcbcc34=_0x391d9b[_0x2b4457(0xfe)](_0x48047e));}const _0x46b186=_0x391d9b[_0x2b4457(0xfe)](_0x48047e);_0x28e800[_0x2b4457(0xd6)][_0x2b4457(0xff)](_0x582707)?(_0x391d9b[_0x2b4457(0xc4)](_0x582707,{'range':_0xcbcc34}),_0x391d9b[_0x2b4457(0xc4)](_0x15976a,{'range':_0x46b186})):(_0x391d9b[_0x2b4457(0x109)](_0x582707,{'range':_0xcbcc34,'usingOperation':!0x0}),_0x391d9b[_0x2b4457(0x109)](_0x15976a,{'range':_0x46b186,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x13d916=_0x4e72;function _0x4e72(_0x2617fd,_0x23396a){const _0x47e781=_0x47e7();return _0x4e72=function(_0x4e7245,_0x35fd98){_0x4e7245=_0x4e7245-0x1a2;let _0x418115=_0x47e781[_0x4e7245];return _0x418115;},_0x4e72(_0x2617fd,_0x23396a);}(function(_0x188b81,_0x200ded){const _0x1dbafb=_0x4e72,_0x15b611=_0x188b81();while(!![]){try{const _0x41a96b=parseInt(_0x1dbafb(0x1b5))/0x1*(parseInt(_0x1dbafb(0x1b9))/0x2)+-parseInt(_0x1dbafb(0x212))/0x3*(parseInt(_0x1dbafb(0x1f2))/0x4)+parseInt(_0x1dbafb(0x1f5))/0x5*(-parseInt(_0x1dbafb(0x21f))/0x6)+parseInt(_0x1dbafb(0x1ad))/0x7*(-parseInt(_0x1dbafb(0x1f7))/0x8)+parseInt(_0x1dbafb(0x1a7))/0x9+parseInt(_0x1dbafb(0x1b4))/0xa*(parseInt(_0x1dbafb(0x1c6))/0xb)+-parseInt(_0x1dbafb(0x1c2))/0xc;if(_0x41a96b===_0x200ded)break;else _0x15b611['push'](_0x15b611['shift']());}catch(_0x4ff0c9){_0x15b611['push'](_0x15b611['shift']());}}}(_0x47e7,0xaaaab));import{Plugin as _0x88f661}from'ckeditor5/src/core.js';import{global as _0x2f0687,DomEmitterMixin as _0x57a315}from'ckeditor5/src/utils.js';function _0x47e7(){const _0x33c838=['highest','clear','user:range','getFirstRange','createUIElement','getStart','isSimilar','hasContent','false','user:position:','init','add','contenteditable','marker','conversion','detach','getContainedElement','5261319JYVwSa','classList','addMarker','rootName','schema','getUserBySessionId','2795919kSjGPy','start','ck-user__selection','mapper','toDomElement','newRange','undo','126120uGXoxE','1603UWyqOS','batch','startsWith','$text','712ONQGMZ','oldRange','createElement','$graveyard','isCollapsed','stopListening','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','addEventListener','spellcheck','4926696WVaaNW','deletionPosition','toRange','split','1144NOZPEN','_createdBatches','requires','selection','setCustomProperty','markerName','markerToHighlight','element','set','data-session-id','root','getRange','commands','user:range:','change:range','getNearestSelectionRange','afterInit','applyOperation','getSelectionClass','delete','enqueueChange','parent','size','editingDowncast','user:position','fromRange','updateMarker','isInline','getMarkerClass','isDocumentOperation','textContent','tableCell','reconvertMarker','plugins','ck-user__marker_hovered','document','mouseleave','color','Escape','has','UserMarkers','listenTo','for','span','1276vIZSfA','innerHTML','createRange','90210yxbpVC','editing','8KDvlfG','name','destroy','checkChild','setAttribute','model','markerRange','_domEmitter','keydown','view','nodeAfter','removeClass','userPositionMarker','removeMarker','getAttribute','outerHTML','markers','markerNameToElements','remove','editor','markerToElement','isObject','isPremiumPlugin','end','ck-user__marker-tooltip','pluginName','createUserMarkerOperations','2391spoWvp','hasDomSelection','isOfficialPlugin','orderNumber','user:','getPositions','change','render','mouseenter','type','isLimit','getCustomProperty','ck-user__marker\x20','234gnqadV','update:user:range','mySessionId','get'];_0x47e7=function(){return _0x33c838;};return _0x47e7();}import{Sessions as _0x4fdefe}from'./sessions.js';import{ModelLiveRange as _0x4e68c5}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x88f661{[_0x13d916(0x1fe)]=new(_0x57a315())();static get[_0x13d916(0x1c8)](){return[_0x4fdefe];}static get[_0x13d916(0x210)](){const _0xc4a13f=_0x13d916;return _0xc4a13f(0x1ee);}static get[_0x13d916(0x214)](){return!0x0;}static get[_0x13d916(0x20d)](){return!0x0;}[_0x13d916(0x22d)](){const _0x738190=_0x13d916,_0x1c6132=this[_0x738190(0x20a)],_0x7870b6=_0x1c6132[_0x738190(0x1e7)][_0x738190(0x222)](_0x4fdefe);_0x1c6132[_0x738190(0x1a4)][_0x738190(0x1f0)](_0x738190(0x1dd))[_0x738190(0x20b)]({'model':_0x738190(0x1de),'view':(_0x209270,{writer:_0x53cfe8})=>function(_0x14e578,_0x39b2a0,_0x36837f,_0xa49963){const _0x520805=_0x738190,_0x50b752=_0x14e578[_0x520805(0x1cb)][_0x520805(0x1c5)](':')[0x2],_0x5e1c73=_0x36837f[_0x520805(0x1ac)](_0x50b752);if(!_0x5e1c73||_0x50b752===_0x36837f[_0x520805(0x221)])return;if(!_0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)][_0x520805(0x1fa)](_0x14e578[_0x520805(0x1fd)][_0x520805(0x1ae)],_0x520805(0x1b8)))return;const _0x723a20={'class':_0x520805(0x21e)+_0x5e1c73[_0x520805(0x1eb)][_0x520805(0x1e2)](),'data-name':_0x5e1c73[_0x520805(0x1f8)],'data-session-id':_0x50b752},_0x91d3b8=_0xa49963[_0x520805(0x1fc)][_0x520805(0x207)][_0x520805(0x222)](_0x14e578[_0x520805(0x1cb)]),_0x21bc64=_0x91d3b8[_0x520805(0x228)](),_0x44dce1=_0x21bc64[_0x520805(0x201)],_0x41a6eb=_0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)];if(_0x44dce1&&_0x41a6eb[_0x520805(0x20c)](_0x44dce1)&&_0x41a6eb[_0x520805(0x1e1)](_0x44dce1)&&!_0xa49963[_0x520805(0x1fc)][_0x520805(0x207)][_0x520805(0x222)](_0x520805(0x1d3)+_0x50b752)[_0x520805(0x1d1)]()[_0x520805(0x1bd)])return;const _0x534748=_0x21bc64[_0x520805(0x1db)];return _0xa49963[_0x520805(0x1fc)][_0x520805(0x1ab)][_0x520805(0x21c)](_0x534748)&&!_0xa49963[_0x520805(0x1fc)][_0x520805(0x22a)](_0x534748)&&(_0x723a20[_0x520805(0x1a2)]=!0x1),function(_0x1fc79c,_0x7a2f8c,_0x42f502){const _0x1cb9d2=_0x520805,_0x4d94e8=_0x1fc79c[_0x1cb9d2(0x227)](_0x1cb9d2(0x1f1),_0x7a2f8c);return _0x1fc79c[_0x1cb9d2(0x1ca)](_0x1cb9d2(0x203),!0x0,_0x4d94e8),_0x4d94e8[_0x1cb9d2(0x219)]=function(_0x417981){const _0xaac44a=_0x1cb9d2,_0x18b275=this[_0xaac44a(0x1b1)](_0x417981),_0x4d70f2=document[_0xaac44a(0x1bb)](_0xaac44a(0x1f1));return _0x4d70f2[_0xaac44a(0x1a8)][_0xaac44a(0x22e)](_0xaac44a(0x20f)),_0x4d70f2[_0xaac44a(0x1fb)](_0xaac44a(0x1a2),_0xaac44a(0x22b)),_0x4d70f2[_0xaac44a(0x1fb)](_0xaac44a(0x1c1),_0xaac44a(0x22b)),_0x4d70f2[_0xaac44a(0x1e4)]=_0x42f502[_0xaac44a(0x1f8)],_0x18b275[_0xaac44a(0x1f3)]=_0xaac44a(0x1bf)+_0x4d70f2[_0xaac44a(0x206)]+'',_0x18b275[_0xaac44a(0x1c0)](_0xaac44a(0x21a),()=>{const _0x461a69=_0xaac44a;_0x18b275[_0x461a69(0x1a8)][_0x461a69(0x22e)](_0x461a69(0x1e8));}),_0x18b275[_0xaac44a(0x1c0)](_0xaac44a(0x1ea),()=>{const _0x589599=_0xaac44a;_0x18b275[_0x589599(0x1a8)][_0x589599(0x209)](_0x589599(0x1e8));}),_0x18b275;},_0x4d94e8[_0x1cb9d2(0x229)]=function(_0x4f6d7c){const _0x27f147=_0x1cb9d2;return!(!this[_0x27f147(0x21d)](_0x27f147(0x203))||!_0x4f6d7c[_0x27f147(0x21d)](_0x27f147(0x203))||this[_0x27f147(0x205)](_0x27f147(0x1cf))!=_0x4f6d7c[_0x27f147(0x205)](_0x27f147(0x1cf)));},_0x4d94e8;}(_0x39b2a0,_0x723a20,_0x5e1c73);}(_0x209270,_0x53cfe8,_0x7870b6,_0x1c6132)}),_0x1c6132[_0x738190(0x1a4)][_0x738190(0x1f0)](_0x738190(0x1dd))[_0x738190(0x1cc)]({'model':_0x738190(0x225),'view':_0x5ba3af=>function(_0x492acb,_0x5d01fb){const _0x2d5b42=_0x738190,_0x1767e3=_0x492acb[_0x2d5b42(0x1cb)][_0x2d5b42(0x1c5)](':')[0x2];if(_0x1767e3===_0x5d01fb[_0x2d5b42(0x221)])return null;const _0x10fadb=_0x5d01fb[_0x2d5b42(0x1ac)](_0x1767e3);if(!_0x10fadb)return{'id':_0x1767e3,'classes':[]};return{'id':_0x1767e3,'classes':[_0x2d5b42(0x1af),_0x10fadb[_0x2d5b42(0x1eb)][_0x2d5b42(0x1d8)]()],'attributes':{'data-session-id':_0x1767e3},'priority':0x7d0+_0x10fadb[_0x2d5b42(0x215)]};}(_0x5ba3af,_0x7870b6)}),function(_0x5457f2){const _0x17c611=_0x738190,_0x566346=_0x5457f2[_0x17c611(0x1fc)],_0x5c7158=new Map(),_0x1228af=_0x5457f2[_0x17c611(0x1e7)][_0x17c611(0x222)](_0x4fdefe);_0x566346[_0x17c611(0x207)]['on'](_0x17c611(0x220),(_0x32611c,_0x276c4b,_0x4990b3,_0xbe29cb)=>{const _0x55ec48=_0x17c611;if(!_0xbe29cb&&_0x5c7158[_0x55ec48(0x222)](_0x276c4b[_0x55ec48(0x1f8)]))return _0x5c7158[_0x55ec48(0x222)](_0x276c4b[_0x55ec48(0x1f8)])[_0x55ec48(0x1a5)](),void _0x5c7158[_0x55ec48(0x1d9)](_0x276c4b[_0x55ec48(0x1f8)]);const _0x4036dc=_0x276c4b[_0x55ec48(0x1f8)][_0x55ec48(0x1c5)](':')[0x2];if(_0x4036dc===_0x1228af[_0x55ec48(0x221)])return;const _0x1c8b7c=_0x55ec48(0x22c)+_0x4036dc;_0x566346[_0x55ec48(0x207)][_0x55ec48(0x1ed)](_0x1c8b7c)&&_0x5457f2[_0x55ec48(0x1f6)][_0x55ec48(0x1e6)](_0x1c8b7c),_0x276c4b['on'](_0x55ec48(0x1d4),(_0x12beca,_0x1fd3bf,_0x19b2ea)=>{const _0x2573bf=_0x55ec48;if(_0x2573bf(0x1bc)!=_0x1fd3bf[_0x2573bf(0x1d0)][_0x2573bf(0x1aa)]&&_0x2573bf(0x1bc)==_0x276c4b[_0x2573bf(0x1d1)]()[_0x2573bf(0x1d0)][_0x2573bf(0x1aa)]&&!_0x5c7158[_0x2573bf(0x1ed)](_0x276c4b[_0x2573bf(0x1f8)])){const _0x2c3aab=_0x566346[_0x2573bf(0x1ab)][_0x2573bf(0x1d5)](_0x19b2ea[_0x2573bf(0x1c3)]);if(_0x2c3aab){const _0x567b87=_0x4e68c5[_0x2573bf(0x1df)](_0x2c3aab);_0x5c7158[_0x2573bf(0x1ce)](_0x276c4b[_0x2573bf(0x1f8)],_0x567b87),_0x567b87['on'](_0x2573bf(0x1d4),(_0x23c383,_0x5087cc,_0x122a2f)=>{const _0x45a623=_0x2573bf;if(_0x45a623(0x1bc)==_0x567b87[_0x45a623(0x1d0)][_0x45a623(0x1aa)]){const _0x5e4543=_0x566346[_0x45a623(0x1ab)][_0x45a623(0x1d5)](_0x122a2f[_0x45a623(0x1c3)]);_0x5e4543?(_0x567b87[_0x45a623(0x1ae)]=_0x5e4543[_0x45a623(0x1ae)],_0x567b87[_0x45a623(0x20e)]=_0x5e4543[_0x45a623(0x20e)]):(_0x5c7158[_0x45a623(0x1d9)](_0x276c4b[_0x45a623(0x1f8)]),_0x567b87[_0x45a623(0x1a5)]());}});}}});}),_0x566346[_0x17c611(0x1e9)]['on'](_0x17c611(0x218),()=>{const _0x5bec4f=_0x17c611;_0x5c7158[_0x5bec4f(0x1dc)]>0x0&&_0x566346[_0x5bec4f(0x1da)]({'isUndoable':!0x1},_0x47adab=>{const _0x30c5a1=_0x5bec4f;for(const [_0x5258c4,_0x592e24]of _0x5c7158)_0x30c5a1(0x1bc)==_0x566346[_0x30c5a1(0x207)][_0x30c5a1(0x222)](_0x5258c4)[_0x30c5a1(0x1d1)]()[_0x30c5a1(0x1d0)][_0x30c5a1(0x1aa)]&&(Z(_0x5258c4[_0x30c5a1(0x1c5)](':')[0x2],_0x592e24[_0x30c5a1(0x1c4)](),_0x566346,_0x47adab),_0x592e24[_0x30c5a1(0x1a5)]());_0x5c7158[_0x30c5a1(0x224)]();});});}(_0x1c6132),this[_0x738190(0x1fe)][_0x738190(0x1ef)](_0x2f0687[_0x738190(0x1e9)],_0x738190(0x1ff),(_0x48ba01,{key:_0x5c0011})=>{const _0x3ef4d3=_0x738190;_0x3ef4d3(0x1ec)===_0x5c0011&&function(_0x12a7bc){const _0x2038f5=_0x3ef4d3;_0x12a7bc[_0x2038f5(0x1f6)][_0x2038f5(0x200)][_0x2038f5(0x218)](_0x3da900=>{const _0x5138fe=_0x2038f5;for(const _0x452115 of _0x12a7bc[_0x5138fe(0x1fc)][_0x5138fe(0x207)]){if(!_0x452115[_0x5138fe(0x1f8)][_0x5138fe(0x1b7)](_0x5138fe(0x1de)))continue;const _0x3218a1=_0x12a7bc[_0x5138fe(0x1f6)][_0x5138fe(0x1b0)][_0x5138fe(0x208)](_0x452115[_0x5138fe(0x1f8)]);if(_0x3218a1){for(const _0x443630 of _0x3218a1)_0x3da900[_0x5138fe(0x202)](_0x5138fe(0x1e8),_0x443630);}}});}(_0x1c6132);},{'useCapture':!0x0});}[_0x13d916(0x1d6)](){const _0x3295d6=_0x13d916,_0x1222e0=this[_0x3295d6(0x20a)],_0x43a67d=_0x1222e0[_0x3295d6(0x1d2)][_0x3295d6(0x222)](_0x3295d6(0x1b3));_0x43a67d&&_0x1222e0[_0x3295d6(0x1fc)]['on'](_0x3295d6(0x1d7),(_0x36ab77,_0x2c285e)=>{const _0x27effd=_0x3295d6,_0x19f8e3=_0x2c285e[0x0];if(!_0x19f8e3[_0x27effd(0x1e3)])return;if(_0x27effd(0x1a3)!=_0x19f8e3[_0x27effd(0x21b)]||!_0x19f8e3[_0x27effd(0x1f8)][_0x27effd(0x1b7)](_0x27effd(0x216)))return;const _0x3a8a15=_0x19f8e3[_0x27effd(0x1b6)];_0x43a67d[_0x27effd(0x1c7)][_0x27effd(0x1ed)](_0x3a8a15)&&(_0x19f8e3[_0x27effd(0x1b2)]=_0x19f8e3[_0x27effd(0x1ba)]?_0x1222e0[_0x27effd(0x1fc)][_0x27effd(0x1f4)](_0x19f8e3[_0x27effd(0x1ba)][_0x27effd(0x1ae)],_0x19f8e3[_0x27effd(0x1ba)][_0x27effd(0x20e)]):null);},{'priority':_0x3295d6(0x223)});}[_0x13d916(0x1f9)](){const _0x3ab861=_0x13d916;return this[_0x3ab861(0x1fe)][_0x3ab861(0x1be)](),super[_0x3ab861(0x1f9)]();}[_0x13d916(0x211)](){const _0x33f86a=_0x13d916,_0x2b417c=this[_0x33f86a(0x20a)],_0x4c1658=_0x2b417c[_0x33f86a(0x1fc)][_0x33f86a(0x1e9)],_0x22886c=_0x2b417c[_0x33f86a(0x1e7)][_0x33f86a(0x222)](_0x4fdefe);_0x2b417c[_0x33f86a(0x1fc)][_0x33f86a(0x1da)]({'isUndoable':!0x1},_0x282431=>{const _0x510fe5=_0x33f86a,_0x4044e1=_0x510fe5(0x1d3)+_0x22886c[_0x510fe5(0x221)],_0x597563=_0x510fe5(0x22c)+_0x22886c[_0x510fe5(0x221)],_0xab243=_0x2b417c[_0x510fe5(0x1fc)][_0x510fe5(0x207)][_0x510fe5(0x1ed)](_0x4044e1);_0x2b417c[_0x510fe5(0x1f6)][_0x510fe5(0x200)][_0x510fe5(0x213)]?Z(_0x22886c[_0x510fe5(0x221)],_0x4c1658[_0x510fe5(0x1c9)][_0x510fe5(0x226)](),_0x2b417c[_0x510fe5(0x1fc)],_0x282431):_0xab243&&(_0x282431[_0x510fe5(0x204)](_0x4044e1),_0x282431[_0x510fe5(0x204)](_0x597563));});}}function Z(_0x34906e,_0x302bf9,_0x5e8093,_0xf029a8){const _0x118571=_0x13d916,_0x570538=_0x118571(0x1d3)+_0x34906e,_0x3bb748=_0x118571(0x22c)+_0x34906e,_0x279625=_0x302bf9[_0x118571(0x1a6)]();let _0x1629be=_0x302bf9[_0x118571(0x1ae)];if(_0x279625&&_0x279625['is'](_0x118571(0x1cd),_0x118571(0x1e5))){const _0xab1b3b=function(_0x60e3c4,_0x40c3c9){const _0x980f12=_0x118571;for(const _0x960d53 of _0x60e3c4[_0x980f12(0x217)]())if(_0x40c3c9[_0x980f12(0x1ab)][_0x980f12(0x1fa)](_0x960d53,_0x980f12(0x1b8)))return _0x960d53;}(_0x302bf9,_0x5e8093);_0xab1b3b&&(_0x1629be=_0xab1b3b,_0x302bf9=_0xf029a8[_0x118571(0x1f4)](_0x1629be));}const _0x286e74=_0xf029a8[_0x118571(0x1f4)](_0x1629be);_0x5e8093[_0x118571(0x207)][_0x118571(0x1ed)](_0x570538)?(_0xf029a8[_0x118571(0x1e0)](_0x570538,{'range':_0x302bf9}),_0xf029a8[_0x118571(0x1e0)](_0x3bb748,{'range':_0x286e74})):(_0xf029a8[_0x118571(0x1a9)](_0x570538,{'range':_0x302bf9,'usingOperation':!0x0}),_0xf029a8[_0x118571(0x1a9)](_0x3bb748,{'range':_0x286e74,'usingOperation':!0x0}));}
|