@ckeditor/ckeditor5-real-time-collaboration 47.2.0-alpha.1 → 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
|
-
var
|
|
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
|
-
((()=>_0x284c3f)());[_0x3cbc34(0xf1)];static get[_0x3cbc34(0xa0)](){const _0x938d38=_0x3cbc34;return[_0xe1dfef,_0x938d38(0xd6),_0xa5e03f,_0x41e6ec];}static get[_0x3cbc34(0x102)](){const _0x36a985=_0x3cbc34;return _0x36a985(0xc5);}static get[_0x3cbc34(0xb2)](){return!0x0;}static get[_0x3cbc34(0xbd)](){return!0x0;}constructor(_0x453999){const _0x4ebaca=_0x3cbc34;super(_0x453999),this[_0x4ebaca(0xf1)]=new Map();}async[_0x3cbc34(0xdc)](){const _0x3b41c6=_0x3cbc34,_0x53277e=this[_0x3b41c6(0xfc)],_0x52f352=_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0x3b41c6(0xd6));if(_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0xe1dfef)[_0x3b41c6(0xaa)](this),_0x52f352[_0x3b41c6(0xe1)]={'addCommentThread':async({channelId:_0x49e118,threadId:_0x117158,comments:_0x303e4,resolvedAt:_0x3dc2d4,resolvedBy:_0x1e1412,context:_0x2241b6,attributes:_0x2c7cc0})=>{const _0x46cd40=_0x3b41c6,_0x5b7370=await this[_0x46cd40(0xec)](_0x49e118)[_0x46cd40(0xac)]({'commentThreadId':_0x117158,'comments':_0x303e4[_0x46cd40(0xe9)](_0x2c5ef7=>function(_0x47eac9,_0x2110ab,_0x34892){const _0x2f8243=_0x46cd40;return{'commentThreadId':_0x34892,'commentId':_0x47eac9[_0x2f8243(0xc2)],'userId':_0x47eac9[_0x2f8243(0xf7)],'content':_0x47eac9[_0x2f8243(0xda)],'documentId':_0x2110ab,'createdAt':_0x47eac9[_0x2f8243(0xce)],'attributes':_0x47eac9[_0x2f8243(0xc7)]||{}};}(_0x2c5ef7,_0x49e118,_0x117158)),'resolvedAt':_0x3dc2d4,'resolvedBy':_0x1e1412,'context':_0x2241b6,'attributes':_0x2c7cc0})[_0x46cd40(0xd9)](A);return{'threadId':_0x5b7370[_0x46cd40(0xb8)],'comments':_0x5b7370[_0x46cd40(0xf5)]};},'getCommentThread':async({channelId:_0x32c754,threadId:_0x2c25c3})=>{const _0x4fd641=_0x3b41c6,_0x17bdce=await this[_0x4fd641(0xec)](_0x32c754)[_0x4fd641(0xd5)](_0x2c25c3)[_0x4fd641(0xd9)](f)[_0x4fd641(0xd9)](A);return _0x17bdce?_0x17bdce[_0x4fd641(0xb4)]?null:(await this[_0x4fd641(0xe4)]([_0x17bdce]),{'threadId':_0x17bdce[_0x4fd641(0xb8)],'comments':_0x17bdce[_0x4fd641(0xf5)][_0x4fd641(0xe9)](p),'context':_0x17bdce[_0x4fd641(0xfc)],'resolvedAt':_0x17bdce[_0x4fd641(0xc6)],'resolvedBy':_0x17bdce[_0x4fd641(0xd8)],'attributes':_0x17bdce[_0x4fd641(0xc7)]||{}}):null;},'updateCommentThread':async({channelId:_0x7e130b,threadId:_0x581624,context:_0x5624cc,unlinkedAt:_0x5c20b8,attributes:_0x4e70ad})=>this[_0x3b41c6(0xec)](_0x7e130b)[_0x3b41c6(0xcb)]({'commentThreadId':_0x581624,'context':_0x5624cc,'attributes':_0x4e70ad,'unlinkedAt':_0x5c20b8})[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'resolveCommentThread':async({channelId:_0x2df391,threadId:_0xd711ea})=>{const _0x4fabe5=_0x3b41c6,_0x119101=await this[_0x4fabe5(0xec)](_0x2df391)[_0x4fabe5(0xff)](_0xd711ea)[_0x4fabe5(0xd9)](f)[_0x4fabe5(0xd9)](A);return{'threadId':_0x119101[_0x4fabe5(0xb8)],'resolvedAt':_0x119101[_0x4fabe5(0xc6)],'resolvedBy':_0x119101[_0x4fabe5(0xd8)]};},'reopenCommentThread':async({channelId:_0x8996ed,threadId:_0x423157})=>this[_0x3b41c6(0xec)](_0x8996ed)[_0x3b41c6(0xdf)](_0x423157)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'removeCommentThread':({channelId:_0x257a1e,threadId:_0x164b6f})=>this[_0x3b41c6(0xec)](_0x257a1e)[_0x3b41c6(0xb6)](_0x164b6f)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'addComment':({channelId:_0x197de3,threadId:_0x2ecdbd,commentId:_0x24ddf0,content:_0x4fe5f1,attributes:_0x3cc4a7})=>this[_0x3b41c6(0xec)](_0x197de3)[_0x3b41c6(0xba)](_0x2ecdbd,_0x24ddf0,_0x4fe5f1,_0x3cc4a7)[_0x3b41c6(0xd9)](A),'updateComment':({channelId:_0x244525,threadId:_0xec7fe7,commentId:_0x83cc3,content:_0x914340,attributes:_0x49509})=>this[_0x3b41c6(0xec)](_0x244525)[_0x3b41c6(0x100)](_0xec7fe7,_0x83cc3,_0x914340,_0x49509)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A),'removeComment':({channelId:_0x322eab,threadId:_0x5b8d98,commentId:_0x226713})=>this[_0x3b41c6(0xec)](_0x322eab)[_0x3b41c6(0xe7)](_0x5b8d98,_0x226713)[_0x3b41c6(0xd9)](f)[_0x3b41c6(0xd9)](A)},_0x53277e instanceof _0x93ab4e){const _0x3809e7=_0x53277e[_0x3b41c6(0xef)][_0x3b41c6(0xf9)](_0x3b41c6(0xca)),_0x44a6e0=_0x53277e[_0x3b41c6(0xfd)][_0x3b41c6(0xf9)](_0xa5e03f);await this[_0x3b41c6(0xaf)](_0x3809e7);const _0x108d1a=await this[_0x3b41c6(0xf1)][_0x3b41c6(0xf9)](_0x3809e7)[_0x3b41c6(0xc3)]();this[_0x3b41c6(0xf6)](_0x44a6e0,_0x3b41c6(0xe3)+_0x3809e7,(_0x124bd7,{session:_0x25ccc9})=>{const _0x3aae70=_0x3b41c6;_0x25ccc9['id']===_0x44a6e0[_0x3aae70(0xc0)]&&(_0x124bd7[_0x3aae70(0xee)](),this[_0x3aae70(0xfc)][_0x3aae70(0xfd)][_0x3aae70(0xf9)](_0x3aae70(0xb3))[_0x3aae70(0xe0)](_0x25ccc9[_0x3aae70(0xf4)],_0x3809e7));}),_0x44a6e0[_0x3b41c6(0xbb)](_0x3809e7,_0x108d1a);}}async[_0x3cbc34(0xaf)](_0x2ccb49){const _0x1a1c60=_0x3cbc34;if(this[_0x1a1c60(0xf1)][_0x1a1c60(0xdd)](_0x2ccb49))throw new _0xdce578(_0x1a1c60(0xb5),null,{'channelId':_0x2ccb49});const _0x106748=this[_0x1a1c60(0xfc)][_0x1a1c60(0xfd)][_0x1a1c60(0xf9)](_0x1a1c60(0xd6)),_0x1c1051=new CloudServicesCommentsAdapter[(_0x1a1c60(0xc4))](_0x2ccb49);this[_0x1a1c60(0xf1)][_0x1a1c60(0xeb)](_0x2ccb49,_0x1c1051),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xad),(_0x42d623,_0xd16554)=>{const _0x2e1364=_0x1a1c60,{commentThreadId:_0x4e2962,documentId:_0x12f000,context:_0x35daf0,attributes:_0x2867a9,resolvedAt:_0x186d39,resolvedBy:_0x59e96e,comments:_0x2fd2f8}=_0xd16554;_0x106748[_0x2e1364(0xd5)](_0x4e2962)||_0x106748[_0x2e1364(0xac)]({'threadId':_0x4e2962,'channelId':_0x12f000,'comments':_0x2fd2f8?_0x2fd2f8[_0x2e1364(0xe9)](p):[],'context':_0x35daf0,'attributes':_0x2867a9,'resolvedAt':_0x186d39,'resolvedBy':_0x59e96e,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xe5),(_0x1e66b6,{commentThreadId:_0x55af51,documentId:_0xe07bcb,context:_0x45214f,unlinkedAt:_0xe13549,attributes:_0x186d26})=>{const _0x40173a=_0x1a1c60;_0x106748[_0x40173a(0xd5)](_0x55af51)&&_0x106748[_0x40173a(0xcb)]({'threadId':_0x55af51,'channelId':_0xe07bcb,'context':_0x45214f,'unlinkedAt':_0xe13549,'attributes':_0x186d26,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xcc),(_0x4321f8,{commentThreadId:_0x2652e7,resolvedBy:_0x3ef8df,resolvedAt:_0x32236c})=>{const _0x4eb822=_0x1a1c60,_0x5ee144=_0x106748[_0x4eb822(0xd5)](_0x2652e7);_0x5ee144&&_0x5ee144[_0x4eb822(0xc8)]({'resolvedBy':_0x3ef8df,'resolvedAt':_0x32236c,'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xc9),(_0x504c59,{commentThreadId:_0x4c90f6})=>{const _0x7d59c3=_0x1a1c60,_0x3ffbc3=_0x106748[_0x7d59c3(0xd5)](_0x4c90f6);_0x3ffbc3&&_0x3ffbc3[_0x7d59c3(0xd3)]({'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xfb),(_0x38ec9e,{commentThreadId:_0x187be6})=>{const _0x1c448c=_0x1a1c60,_0x4e96e0=_0x106748[_0x1c448c(0xd5)](_0x187be6);_0x4e96e0&&_0x4e96e0[_0x1c448c(0x9e)]({'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xa9),(_0x46e01e,_0x3ef435)=>{const _0x36359f=_0x1a1c60,_0xf5fb90=_0x3ef435[_0x36359f(0xb8)],_0x178fe5=_0x106748[_0x36359f(0xd5)](_0xf5fb90);_0x178fe5&&_0x178fe5[_0x36359f(0xba)]({...p(_0x3ef435),'isFromAdapter':!0x0});}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xfe),(_0x14a97e,{commentThreadId:_0x5f04f5,commentId:_0x199f1d,content:_0x39e22c,attributes:_0x3e000b})=>{const _0x49f7f3=_0x1a1c60,_0x3386fc=_0x106748[_0x49f7f3(0xd5)](_0x5f04f5);if(_0x3386fc){const _0x1b8e3a=_0x3386fc[_0x49f7f3(0xa6)](_0x199f1d);_0x1b8e3a&&_0x1b8e3a[_0x49f7f3(0xae)]({'content':_0x39e22c,'attributes':_0x3e000b,'isFromAdapter':!0x0});}}),this[_0x1a1c60(0xf6)](_0x1c1051,_0x1a1c60(0xdb),(_0x141ff9,{commentThreadId:_0x2f3562,commentId:_0x13e921})=>{const _0x457203=_0x1a1c60,_0x2b4182=_0x106748[_0x457203(0xd5)](_0x2f3562);if(_0x2b4182){const _0x50a486=_0x2b4182[_0x457203(0xa6)](_0x13e921);_0x50a486&&_0x50a486[_0x457203(0x9e)]({'isFromAdapter':!0x0});}}),await this[_0x1a1c60(0xb9)](_0x2ccb49);}[_0x3cbc34(0xb1)](){const _0x16206e=_0x3cbc34;if(this[_0x16206e(0xfc)]instanceof _0x93ab4e){const _0x50c2fa=this[_0x16206e(0xfc)][_0x16206e(0xef)][_0x16206e(0xf9)](_0x16206e(0xca));this[_0x16206e(0xc1)](_0x50c2fa);}}[_0x3cbc34(0xc1)](_0x4eef20){const _0x51599d=_0x3cbc34;if(!this[_0x51599d(0xf1)][_0x51599d(0xdd)](_0x4eef20))throw new _0xdce578(_0x51599d(0xbe),null,{'channelId':_0x4eef20});this[_0x51599d(0xec)](_0x4eef20)[_0x51599d(0xd0)](),this[_0x51599d(0xf1)][_0x51599d(0x9f)](_0x4eef20);}async[_0x3cbc34(0xde)](){const _0x437312=_0x3cbc34;for(const _0x43c560 of this[_0x437312(0xf1)][_0x437312(0xf3)]())await this[_0x437312(0xb9)](_0x43c560);if(this[_0x437312(0xfc)]instanceof _0x93ab4e){const _0x1a6b2f=this[_0x437312(0xfc)][_0x437312(0xef)][_0x437312(0xf9)](_0x437312(0xca)),_0x41c9f8=this[_0x437312(0xfc)][_0x437312(0xfd)][_0x437312(0xf9)](_0xa5e03f);_0x41c9f8[_0x437312(0xe6)](_0x1a6b2f);const _0x43394e=await this[_0x437312(0xf1)][_0x437312(0xf9)](_0x1a6b2f)[_0x437312(0xc3)]();_0x41c9f8[_0x437312(0xbb)](_0x1a6b2f,_0x43394e);}}async[_0x3cbc34(0xb9)](_0x521502){const _0x304484=_0x3cbc34,{connection:_0x30fca2}=this[_0x304484(0xfc)][_0x304484(0xfd)][_0x304484(0xf9)](_0xe1dfef),_0x272340=this[_0x304484(0xfc)][_0x304484(0xfd)][_0x304484(0xf9)](_0x304484(0xd6)),_0x36fb0f=this[_0x304484(0xf1)][_0x304484(0xf9)](_0x521502),_0x3f6128=await _0x36fb0f[_0x304484(0xa3)](_0x30fca2);await this[_0x304484(0xe4)](_0x3f6128);const _0xc2878d=new Set(Array[_0x304484(0xa2)](_0x272340[_0x304484(0xa4)]({'channelId':_0x521502}),_0x2c7166=>_0x2c7166['id']));for(const _0x226df7 of _0x3f6128)_0x226df7[_0x304484(0xb4)]||_0xc2878d[_0x304484(0x9f)](_0x226df7[_0x304484(0xb8)]);for(const _0x3dfc63 of _0xc2878d)_0x272340[_0x304484(0xd5)](_0x3dfc63)[_0x304484(0x9e)]({'isFromAdapter':!0x0});for(const _0x32b63f of _0x3f6128){let _0x36d3e0=_0x272340[_0x304484(0xd5)](_0x32b63f[_0x304484(0xb8)]);const {commentThreadId:_0x1b69af,context:_0x3b2fbd,attributes:_0x383a0e,resolvedBy:_0x161053,resolvedAt:_0x41f5c7,unlinkedAt:_0x532216,deletedAt:_0x5cc055}=_0x32b63f;if(_0x5cc055)continue;_0x36d3e0||(_0x36d3e0=_0x272340[_0x304484(0xac)]({'channelId':_0x521502,'threadId':_0x1b69af,'context':_0x3b2fbd,'attributes':_0x383a0e||{},'resolvedBy':_0x161053,'resolvedAt':_0x41f5c7,'unlinkedAt':_0x532216,'isFromAdapter':!0x0}));const _0x516cc3=new Set(Array[_0x304484(0xa2)](_0x36d3e0[_0x304484(0xf5)],_0x106cce=>_0x106cce['id']));for(const _0x58c833 of _0x32b63f[_0x304484(0xf5)])_0x516cc3[_0x304484(0x9f)](_0x58c833[_0x304484(0xc2)]);for(const _0x1fcfb7 of _0x516cc3)_0x36d3e0[_0x304484(0xa6)](_0x1fcfb7)[_0x304484(0x9e)]({'isFromAdapter':!0x0});for(const _0x36fbcf of _0x32b63f[_0x304484(0xf5)]){const _0x579d35=_0x36d3e0[_0x304484(0xa6)](_0x36fbcf[_0x304484(0xc2)]);_0x579d35?_0x579d35[_0x304484(0xda)]!==_0x36fbcf[_0x304484(0xda)]&&_0x579d35[_0x304484(0xae)]({'content':_0x36fbcf[_0x304484(0xda)],'isFromAdapter':!0x0}):_0x36d3e0[_0x304484(0xba)](Object[_0x304484(0xcd)](p(_0x36fbcf),{'isFromAdapter':!0x0}));}}}[_0x3cbc34(0xec)](_0x4db7aa){const _0x271286=_0x3cbc34;if(!this[_0x271286(0xf1)][_0x271286(0xdd)](_0x4db7aa))throw new _0xdce578(_0x271286(0xf8),null,{'channelId':_0x4db7aa});return this[_0x271286(0xf1)][_0x271286(0xf9)](_0x4db7aa);}async[_0x3cbc34(0xe4)](_0x1b2219){const _0x486cec=_0x3cbc34,_0x3c1ee0=this[_0x486cec(0xfc)][_0x486cec(0xfd)][_0x486cec(0xf9)](_0x41e6ec),{connection:_0x23e4e9}=this[_0x486cec(0xfc)][_0x486cec(0xfd)][_0x486cec(0xf9)](_0xe1dfef),_0x5cdd85=new Set();for(const {resolvedBy:_0x28415c,comments:_0x1be39f}of _0x1b2219){_0x28415c&&!_0x3c1ee0[_0x486cec(0xe8)](_0x28415c)&&_0x5cdd85[_0x486cec(0xa8)](_0x28415c);for(const {userId:_0x32bd8a}of _0x1be39f)_0x3c1ee0[_0x486cec(0xe8)](_0x32bd8a)||_0x5cdd85[_0x486cec(0xa8)](_0x32bd8a);}if(0x0===_0x5cdd85[_0x486cec(0xab)])return;const _0x39c356=await _0x2914a2[_0x486cec(0xe2)](_0x23e4e9,Array[_0x486cec(0xa2)](_0x5cdd85));for(const _0x4710db of _0x39c356)_0x3c1ee0[_0x486cec(0xe8)](_0x4710db['id'])||_0x3c1ee0[_0x486cec(0xa7)](_0x4710db);}}function _0x5865(_0x3436f6,_0x14aa79){const _0x5f0c69=_0x5f0c();return _0x5865=function(_0x58650d,_0x36378c){_0x58650d=_0x58650d-0x9e;let _0x5236cd=_0x5f0c69[_0x58650d];return _0x5236cd;},_0x5865(_0x3436f6,_0x14aa79);}async function f(_0x49fdc7){const _0x4cab16=_0x3cbc34;if(_0x4cab16(0xbf)!==_0x49fdc7[_0x4cab16(0xd2)])throw _0x49fdc7;}function A(_0x24ed98){const _0x1a61ee=_0x3cbc34;if((_0x540e9c=_0x24ed98)[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xcf))||_0x540e9c[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xa1))||_0x540e9c[_0x1a61ee(0x101)][_0x1a61ee(0xea)](_0x1a61ee(0xd7)))return new Promise(()=>{});var _0x540e9c;throw _0x24ed98;}function p(_0x444775){const _0x40e209=_0x3cbc34;return{'threadId':_0x444775[_0x40e209(0xb8)],'commentId':_0x444775[_0x40e209(0xc2)],'content':_0x444775[_0x40e209(0xda)],'createdAt':_0x444775[_0x40e209(0xce)],'authorId':_0x444775[_0x40e209(0xf0)],'attributes':_0x444775[_0x40e209(0xc7)]||{}};}
|
|
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
|
-
((()=>_0x4f6b4f)());[_0x5252ab(0x18e)];[_0x5252ab(0x1e7)];[_0x5252ab(0x185)];[_0x5252ab(0x1cf)];[_0x5252ab(0x115)];[_0x5252ab(0x138)];[_0x5252ab(0x1c8)];[_0x5252ab(0x1dd)];[_0x5252ab(0x1ec)];[_0x5252ab(0x165)];[_0x5252ab(0x1fa)];[_0x5252ab(0x189)];[_0x5252ab(0x1e4)];[_0x5252ab(0x125)];[_0x5252ab(0x107)];[_0x5252ab(0x1c2)];[_0x5252ab(0x18a)];[_0x5252ab(0x173)];static get[_0x5252ab(0x140)](){return[_0x42967a,_0x25c1d1,_0x31d116,_0x4e5abd,_0x55ae0c,_0x576338];}static get[_0x5252ab(0x1a2)](){const _0x43eaf1=_0x5252ab;return _0x43eaf1(0x1ff);}static get[_0x5252ab(0x1c1)](){return!0x0;}static get[_0x5252ab(0x1fe)](){return!0x0;}get[_0x5252ab(0x163)](){const _0x3cb28f=_0x5252ab;return this[_0x3cb28f(0x14a)]+this[_0x3cb28f(0x18e)];}get[_0x5252ab(0x14a)](){const _0x421b30=_0x5252ab;return this[_0x421b30(0x185)][_0x421b30(0x197)]-this[_0x421b30(0x18e)];}get[_0x5252ab(0x1d6)](){const _0x425760=_0x5252ab,_0x35d097=this[_0x425760(0x185)][_0x425760(0x1c7)]();for(let _0x593d37=_0x35d097[_0x425760(0x183)]-0x1;_0x593d37>=0x0;_0x593d37--){const _0x4fb0a4=_0x35d097[_0x593d37];if(!this[_0x425760(0x18a)][_0x425760(0x176)](_0x4fb0a4))return _0x4fb0a4[_0x425760(0x10d)]+0x1-this[_0x425760(0x18e)];}return 0x0;}constructor(_0x34f3d4){const _0xa7638c=_0x5252ab;if(super(_0x34f3d4),this[_0xa7638c(0x18e)]=0x0,this[_0xa7638c(0x1e7)]=null,this[_0xa7638c(0x185)]=new _0xffb01f(),this[_0xa7638c(0x11b)][_0xa7638c(0x1b8)][_0xa7638c(0x1b0)](_0xa7638c(0x114),{}),this[_0xa7638c(0x1cf)]=this[_0xa7638c(0x11b)][_0xa7638c(0x1b8)][_0xa7638c(0x196)](_0xa7638c(0x111)),!this[_0xa7638c(0x1cf)])throw new _0x25a09c(_0xa7638c(0x10a),this);const _0x159d83=_0x34f3d4[_0xa7638c(0x1b8)][_0xa7638c(0x196)](_0xa7638c(0x13e))||_0x21e66f;this[_0xa7638c(0x115)]=new RealTimeCollaborationClient[(_0xa7638c(0x1c6))](_0x159d83,this[_0xa7638c(0x1cf)]),this[_0xa7638c(0x138)]=this[_0xa7638c(0x11b)][_0xa7638c(0x175)][_0xa7638c(0x1c4)],this[_0xa7638c(0x1c8)]=new _0x21e82c(),this[_0xa7638c(0x1dd)]=[],this[_0xa7638c(0x1ec)]=new WeakSet(),this[_0xa7638c(0x165)]=new Set(),this[_0xa7638c(0x106)](_0xa7638c(0x1df),!0x1),this[_0xa7638c(0x106)](_0xa7638c(0x18f),!0x1),this[_0xa7638c(0x1fa)]=null,this[_0xa7638c(0x189)]=!0x1,this[_0xa7638c(0x1e4)]=null,this[_0xa7638c(0x125)]=0x12c,this[_0xa7638c(0x107)]=this[_0xa7638c(0x125)],this[_0xa7638c(0x1c2)]=null,this[_0xa7638c(0x18a)]=new WeakSet(),this[_0xa7638c(0x173)]=new X(this[_0xa7638c(0x18a)]);}[_0x5252ab(0x14d)](){const _0x475ad9=_0x5252ab,_0x4e9c8b=this[_0x475ad9(0x11b)],_0xadafe9=_0x4e9c8b[_0x475ad9(0x102)][_0x475ad9(0x196)](_0x55ae0c),_0xdabcaa=_0x4e9c8b[_0x475ad9(0x102)][_0x475ad9(0x196)](_0x42967a);this[_0x475ad9(0x190)](_0xadafe9,_0x475ad9(0x170),(_0x560449,_0x1eb5d6)=>{const _0xf2f920=_0x475ad9,_0x406e22=_0x1eb5d6[0x0];_0x406e22[_0xf2f920(0x1e6)]&&(_0x560449[_0xf2f920(0x142)]=_0xadafe9[_0xf2f920(0x19e)](_0x406e22[_0xf2f920(0x1e6)]),_0x560449[_0xf2f920(0x123)]()),null===_0x406e22[_0xf2f920(0x1e6)]&&(_0x560449[_0xf2f920(0x142)]=null,_0x560449[_0xf2f920(0x123)]());},{'priority':_0x475ad9(0x166)}),this[_0x475ad9(0x190)](_0x4e9c8b[_0x475ad9(0x175)][_0x475ad9(0x1c4)][_0x475ad9(0x1bf)],_0x475ad9(0x1b2),(_0x245f5e,_0x45e59c)=>{const _0x53d58e=_0x475ad9;_0x45e59c[_0x53d58e(0x1ea)]&&this[_0x53d58e(0x132)]();}),this[_0x475ad9(0x190)](_0x4e9c8b[_0x475ad9(0x1ba)][_0x475ad9(0x1a8)],_0x475ad9(0x203),()=>{const _0x15a70b=_0x475ad9;this[_0x15a70b(0x132)]();}),this[_0x475ad9(0x133)](),_0x4e9c8b[_0x475ad9(0x175)]['on'](_0x475ad9(0x19b),(_0x56c4d0,_0xac3ad5)=>{const _0x51c3a4=_0x475ad9,_0x1594e0=_0xac3ad5[0x0];_0x1594e0[_0x51c3a4(0x1d9)]&&(this[_0x51c3a4(0x13a)](_0x1594e0),this[_0x51c3a4(0x1c9)]()&&this[_0x51c3a4(0x11e)]());}),this[_0x475ad9(0x13d)](),this[_0x475ad9(0x172)](_0x475ad9(0x16b))['to'](_0xdabcaa,_0x475ad9(0x13f),this,_0x475ad9(0x18f),(_0x438f7d,_0x443ff2)=>_0x475ad9(0x1d1)===_0x438f7d&&!_0x443ff2),this['on'](_0x475ad9(0x1d4),()=>{const _0x331863=_0x475ad9;this[_0x331863(0x16b)]?_0x4e9c8b[_0x331863(0x192)](_0x331863(0x130)):_0x4e9c8b[_0x331863(0x195)](_0x331863(0x130));}),this[_0x475ad9(0x16b)]?_0x4e9c8b[_0x475ad9(0x192)](_0x475ad9(0x130)):_0x4e9c8b[_0x475ad9(0x195)](_0x475ad9(0x130)),this[_0x475ad9(0x106)](_0x475ad9(0x187),!0x1);}async[_0x5252ab(0x164)](){const _0x43f8d5=_0x5252ab,_0xf0ceae=this[_0x43f8d5(0x11b)][_0x43f8d5(0x102)][_0x43f8d5(0x196)](_0x25c1d1),_0x476789=this[_0x43f8d5(0x11b)][_0x43f8d5(0x102)][_0x43f8d5(0x196)](_0x42967a);try{this[_0x43f8d5(0x1df)]=!0x0,_0xf0ceae[_0x43f8d5(0x1fb)](this[_0x43f8d5(0x1cf)]);const _0x48b53a=await this[_0x43f8d5(0x115)][_0x43f8d5(0x164)](_0x476789[_0x43f8d5(0x15a)],this[_0x43f8d5(0x1d6)]);await this[_0x43f8d5(0x191)](_0x48b53a)&&(this[_0x43f8d5(0x1df)]=!0x1,this[_0x43f8d5(0x147)]());const _0x158191=await this[_0x43f8d5(0x115)][_0x43f8d5(0x1db)]();_0xf0ceae[_0x43f8d5(0x139)](this[_0x43f8d5(0x1cf)],_0x158191),this[_0x43f8d5(0x16f)](),this[_0x43f8d5(0x187)]=!0x0;}catch(_0x3a8ad9){if(function(_0x37dbff){const _0x4f74a1=_0x43f8d5;return _0x4f74a1(0x184)===_0x37dbff[_0x4f74a1(0x128)];}(_0x3a8ad9)&&this[_0x43f8d5(0x1e7)])await this[_0x43f8d5(0x178)]();else{if(function(_0x467564){const _0x2dec87=_0x43f8d5;return _0x2dec87(0x169)===_0x467564[_0x2dec87(0x128)];}(_0x3a8ad9)){const _0x5013c6=_0x2c0bb1(this[_0x43f8d5(0x11b)][_0x43f8d5(0x152)],_0x43f8d5(0x124));this[_0x43f8d5(0x200)](_0x5013c6);}else{if(!(_0x3a8ad9 instanceof J))throw _0x3a8ad9;this[_0x43f8d5(0x200)]();}}}}[_0x5252ab(0x1f8)](){const _0x2cd6d6=_0x5252ab,_0x567fa6=this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x102)][_0x2cd6d6(0x196)](_0x42967a),_0x3f9e58=this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x102)][_0x2cd6d6(0x196)](_0x25c1d1);this[_0x2cd6d6(0x11b)][_0x2cd6d6(0x195)](_0x2cd6d6(0x1e3)),_0x3f9e58[_0x2cd6d6(0x12d)][_0x2cd6d6(0x176)](this[_0x2cd6d6(0x1cf)])&&_0x3f9e58[_0x2cd6d6(0x1fb)](this[_0x2cd6d6(0x1cf)]),_0x567fa6[_0x2cd6d6(0x1ed)](this),this[_0x2cd6d6(0x1fd)](),super[_0x2cd6d6(0x1f8)]();}async[_0x5252ab(0x191)](_0x559440){const _0x302ff3=_0x5252ab;if(this[_0x302ff3(0x1e7)]!==_0x559440[_0x302ff3(0x1e7)]&&this[_0x302ff3(0x1c2)]!==_0x559440[_0x302ff3(0x1f2)])throw new J();return this[_0x302ff3(0x1e7)]=_0x559440[_0x302ff3(0x1e7)],this[_0x302ff3(0x1af)]([],{..._0x559440,'wereChangesApplied':!0x1,'data':_0x559440[_0x302ff3(0x150)]},_0x302ff3(0x164));}async[_0x5252ab(0x1d0)](_0x5790b0,_0x2c9f6c=!0x1){const _0x3e8f17=_0x5252ab,{connection:_0x43f8ec}=this[_0x3e8f17(0x11b)][_0x3e8f17(0x102)][_0x3e8f17(0x196)](_0x42967a);RealTimeCollaborationClient[_0x3e8f17(0x1c6)][_0x3e8f17(0x1db)](_0x43f8ec,this[_0x3e8f17(0x1cf)])[_0x3e8f17(0x103)](_0x378e02=>this[_0x3e8f17(0x1d3)](_0x378e02))[_0x3e8f17(0x129)](_0x25e081=>{const _0x28a8aa=_0x3e8f17;this[_0x28a8aa(0x1cd)](_0x28a8aa(0x14f),_0x25e081);}),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x1aa),this[_0x3e8f17(0x1a6)][_0x3e8f17(0x172)](this)),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x11d),(_0x584410,_0x383d05)=>{const _0x470b5e=_0x3e8f17;this[_0x470b5e(0x1cd)](_0x470b5e(0x206),_0x383d05);}),this[_0x3e8f17(0x190)](this[_0x3e8f17(0x115)],_0x3e8f17(0x18d),()=>{const _0x10b582=_0x3e8f17;this[_0x10b582(0x187)]=!0x1;});const _0x217945=this[_0x3e8f17(0x173)][_0x3e8f17(0x14e)](_0x5790b0);this[_0x3e8f17(0x1df)]=!0x0;const _0x39091c=await this[_0x3e8f17(0x115)][_0x3e8f17(0x1e1)](_0x43f8ec,this[_0x3e8f17(0x1ce)](_0x5790b0),_0x217945);if(this[_0x3e8f17(0x1e7)]=_0x39091c[_0x3e8f17(0x1e7)],_0x2c9f6c){if(!_0x39091c[_0x3e8f17(0x1cb)])return void this[_0x3e8f17(0x200)]();this[_0x3e8f17(0x1df)]=!0x1,this[_0x3e8f17(0x147)](),this[_0x3e8f17(0x185)][_0x3e8f17(0x154)](),this[_0x3e8f17(0x18e)]=_0x39091c[_0x3e8f17(0x108)],this[_0x3e8f17(0x185)][_0x3e8f17(0x197)]=this[_0x3e8f17(0x18e)],await this[_0x3e8f17(0x1af)](_0x5790b0,_0x39091c,_0x3e8f17(0x136));}else await this[_0x3e8f17(0x19c)](_0x39091c,_0x5790b0);this[_0x3e8f17(0x16f)](),this[_0x3e8f17(0x187)]=!0x0;}[_0x5252ab(0x16f)](){const _0x5d2707=_0x5252ab,_0x553b8a=this[_0x5d2707(0x11b)][_0x5d2707(0x102)][_0x5d2707(0x196)](_0x25c1d1),_0x3c2f8f=this[_0x5d2707(0x11b)][_0x5d2707(0x102)][_0x5d2707(0x196)](_0x31d116),_0x2d261b=_0x553b8a[_0x5d2707(0x12d)][_0x5d2707(0x196)](this[_0x5d2707(0x1cf)]);_0x2d261b&&_0x2d261b[_0x5d2707(0x183)]>0x1?_0x3c2f8f[_0x5d2707(0x135)]():this[_0x5d2707(0x190)](_0x553b8a,_0x5d2707(0x157)+this[_0x5d2707(0x1cf)],()=>{const _0x4e1682=_0x5d2707;0x2===_0x553b8a[_0x4e1682(0x12d)][_0x4e1682(0x196)](this[_0x4e1682(0x1cf)])[_0x4e1682(0x183)]&&_0x3c2f8f[_0x4e1682(0x135)]();});}async[_0x5252ab(0x1a6)](_0x5f241c,_0x115074,_0x512094,_0x17cf04){const _0x477f05=_0x5252ab;if(!this[_0x477f05(0x1df)]&&this[_0x477f05(0x138)][_0x477f05(0x197)]==_0x115074){const _0x37015b=this[_0x477f05(0x122)](_0x512094,_0x17cf04);await this[_0x477f05(0x1a3)](_0x37015b),this[_0x477f05(0x16d)](_0x37015b,_0x115074,_0x512094[_0x477f05(0x1f2)])||this[_0x477f05(0x1cd)](_0x477f05(0x13b));}}async[_0x5252ab(0x178)](){const _0x2c88e8=_0x5252ab;this[_0x2c88e8(0x1fd)]();const {locale:_0x58e7dd}=this[_0x2c88e8(0x11b)];let _0x119dc2;try{_0x119dc2=await this[_0x2c88e8(0x115)][_0x2c88e8(0x1cc)]();}catch{const _0xa64908=_0x2c0bb1(_0x58e7dd,_0x2c88e8(0x1f9));return void this[_0x2c88e8(0x200)](_0xa64908);}const _0xb826f3=_0x119dc2[_0x2c88e8(0x145)]||_0x119dc2[_0x2c88e8(0x1ae)];if(this[_0x2c88e8(0x1c2)]!==_0xb826f3[_0x2c88e8(0x1f2)]){const _0x322940=_0x2c0bb1(_0x58e7dd,_0x2c88e8(0x1b7));return void this[_0x2c88e8(0x200)](_0x322940);}await this[_0x2c88e8(0x1d0)](this[_0x2c88e8(0x11b)][_0x2c88e8(0x175)][_0x2c88e8(0x1c4)][_0x2c88e8(0x1c3)][_0x2c88e8(0x1c7)](),!0x0);}[_0x5252ab(0x1fd)](){const _0x20b4c0=_0x5252ab;this[_0x20b4c0(0x115)][_0x20b4c0(0x127)](),this[_0x20b4c0(0x1dd)]=[],clearTimeout(this[_0x20b4c0(0x1e4)]),this[_0x20b4c0(0x1fc)](this[_0x20b4c0(0x115)]);}[_0x5252ab(0x1d3)](_0x1a3f0b){const _0x32db32=_0x5252ab,_0x49f1f4=this[_0x32db32(0x11b)][_0x32db32(0x102)][_0x32db32(0x196)](_0x25c1d1);this[_0x32db32(0x190)](_0x49f1f4,_0x32db32(0x157)+this[_0x32db32(0x1cf)],(_0x4c4770,{session:_0x5b508b})=>{const _0x373d5f=_0x32db32;if(_0x5b508b['id']===_0x49f1f4[_0x373d5f(0x15d)]){_0x4c4770[_0x373d5f(0x201)]();const _0x56074f=this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x176)](_0x373d5f(0x12b))&&this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x196)](_0x373d5f(0x12b));let _0x269b1d=_0x5b508b[_0x373d5f(0x1d5)];_0x56074f&&_0x56074f[_0x373d5f(0x158)]&&(_0x269b1d=_0x269b1d[_0x373d5f(0x10b)](_0xe5e237=>_0x373d5f(0x1bb)!==_0xe5e237)),this[_0x373d5f(0x11b)][_0x373d5f(0x102)][_0x373d5f(0x196)](_0x373d5f(0x19a))[_0x373d5f(0x149)](_0x269b1d,this[_0x373d5f(0x1cf)]);}}),_0x49f1f4[_0x32db32(0x139)](this[_0x32db32(0x1cf)],_0x1a3f0b);}[_0x5252ab(0x133)](){const _0x536a3d=_0x5252ab,_0x5ee156=this[_0x536a3d(0x11b)][_0x536a3d(0x150)][_0x536a3d(0x106)];this[_0x536a3d(0x11b)][_0x536a3d(0x150)][_0x536a3d(0x106)]=(..._0x1b4f94)=>{const _0x38d7e6=_0x536a3d;if(!_0x1b4f94[_0x1b4f94[_0x38d7e6(0x183)]-0x1][_0x38d7e6(0x1de)])throw new _0x25a09c(_0x38d7e6(0x1f1),this);_0x5ee156[_0x38d7e6(0x1bd)](this[_0x38d7e6(0x11b)][_0x38d7e6(0x150)],_0x1b4f94);};}[_0x5252ab(0x13d)](){const _0x4be5a0=_0x5252ab;this[_0x4be5a0(0x11b)][_0x4be5a0(0x150)]['on'](_0x4be5a0(0x14d),(_0x47cd4c,[_0x2cb853])=>{const _0x2171d2=_0x4be5a0;if(this[_0x2171d2(0x138)][_0x2171d2(0x197)])throw new _0x25a09c(_0x2171d2(0x134),this);_0x47cd4c[_0x2171d2(0x123)](),this[_0x2171d2(0x159)]();const _0x445282=this[_0x2171d2(0x11b)][_0x2171d2(0x1b8)][_0x2171d2(0x196)](_0x2171d2(0x1b3)),_0x2f2c63=this[_0x2171d2(0x146)](_0x2cb853,_0x445282);0x0==_0x2f2c63[_0x2171d2(0x183)]&&_0x2f2c63[_0x2171d2(0x1a7)](new _0x40a7c9(0x0)),_0x47cd4c[_0x2171d2(0x142)]=this[_0x2171d2(0x1d0)](_0x2f2c63)[_0x2171d2(0x103)](()=>{const _0x270af9=_0x2171d2;this[_0x270af9(0x11b)][_0x270af9(0x102)][_0x270af9(0x196)](_0x42967a)[_0x270af9(0x11f)](this),this[_0x270af9(0x11b)][_0x270af9(0x150)][_0x270af9(0x1a1)](_0x270af9(0x1b4));})[_0x2171d2(0x129)](_0x54f77a=>this[_0x2171d2(0x1cd)](_0x2171d2(0x117),_0x54f77a))[_0x2171d2(0x1ee)](()=>this[_0x2171d2(0x147)]());},{'priority':_0x4be5a0(0x166)}),this[_0x4be5a0(0x11b)]['on'](_0x4be5a0(0x1f5),async(_0x7beb65,[_0x234a69,_0x5ddd0b])=>{const _0x1b68e6=_0x4be5a0;_0x7beb65[_0x1b68e6(0x123)]();const _0x4ee814=this[_0x1b68e6(0x11b)][_0x1b68e6(0x175)][_0x1b68e6(0x1c4)][_0x1b68e6(0x198)](_0x234a69);if(!this[_0x1b68e6(0x165)][_0x1b68e6(0x176)](_0x234a69)){const _0x34900f=_0x5ddd0b&&_0x5ddd0b[_0x1b68e6(0x150)]?_0x5ddd0b[_0x1b68e6(0x150)]:'',_0x557754=_0x5ddd0b&&_0x5ddd0b[_0x1b68e6(0x186)]?_0x5ddd0b[_0x1b68e6(0x186)]:{};await this[_0x1b68e6(0x1ac)](_0x234a69,_0x34900f,_0x557754);}this[_0x1b68e6(0x11b)][_0x1b68e6(0x175)][_0x1b68e6(0x112)]({'isUndoable':!0x1},()=>{const _0x100063=_0x1b68e6;_0x4ee814[_0x100063(0x1e5)]=!0x0,this[_0x100063(0x11b)][_0x100063(0x175)][_0x100063(0x1c4)][_0x100063(0x17a)][_0x100063(0x1e0)](_0x4ee814);});},{'priority':_0x4be5a0(0x166)});}async[_0x5252ab(0x1a3)](_0x332927){const _0x37699a=_0x5252ab,_0x5f055d=this[_0x37699a(0x11b)][_0x37699a(0x102)][_0x37699a(0x196)](_0x55ae0c),{connection:_0x51f1d2}=this[_0x37699a(0x11b)][_0x37699a(0x102)][_0x37699a(0x196)](_0x42967a),_0x1cccea=new Set();for(const _0x1c8feb of _0x332927){const _0x22d693=_0x1c8feb[_0x37699a(0x1e6)];_0x22d693&&!_0x5f055d[_0x37699a(0x19e)](_0x22d693)&&_0x1cccea[_0x37699a(0x105)](_0x22d693);}if(0x0===_0x1cccea[_0x37699a(0x14c)])return;const _0x115b76=await _0x808d1d[_0x37699a(0x180)](_0x51f1d2,Array[_0x37699a(0x1b6)](_0x1cccea));for(const _0x3415af of _0x115b76)_0x5f055d[_0x37699a(0x19e)](_0x3415af['id'])||_0x5f055d[_0x37699a(0x126)](_0x3415af);}[_0x5252ab(0x146)](_0x26043d,_0x4e68f5={}){const _0x452560=_0x5252ab,_0x2bdef0=this[_0x452560(0x11b)][_0x452560(0x175)],_0x4c069f=[];let _0x232386=0x0;const _0x305c4b=_0x452560(0x167)==typeof _0x26043d?{'main':_0x26043d}:_0x26043d;for(const _0x306c5f of Object[_0x452560(0x194)](_0x305c4b)){if(!this[_0x452560(0x138)][_0x452560(0x121)][_0x452560(0x176)](_0x306c5f))throw new _0x25a09c(_0x452560(0x1ef),this);const _0x30efaf=this[_0x452560(0x11b)][_0x452560(0x150)][_0x452560(0x131)](_0x305c4b[_0x306c5f]),_0x370876=this[_0x452560(0x138)][_0x452560(0x198)](_0x306c5f),_0x34fe84=new _0x1c0880(_0x2bdef0[_0x452560(0x15f)](_0x370876,0x0),_0x30efaf,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x34fe84);for(const [_0x19d649,_0x26b7df]of _0x30efaf[_0x452560(0x151)]){const _0x22ae98=_0x2bdef0[_0x452560(0x137)](_0x2bdef0[_0x452560(0x116)](_0x370876,_0x26b7df[_0x452560(0x11c)][_0x452560(0x1f4)][_0x452560(0x1eb)]()),_0x2bdef0[_0x452560(0x116)](_0x370876,_0x26b7df[_0x452560(0x12a)][_0x452560(0x1f4)][_0x452560(0x1eb)]())),_0x5e72d9=new _0x1061cc(_0x19d649,null,_0x22ae98,_0x2bdef0[_0x452560(0x151)],!0x0,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x5e72d9);}}if(_0x4e68f5)for(const [_0x4500a3,_0xf124c8]of Object[_0x452560(0x205)](_0x4e68f5)){const _0x43ff70=_0x2bdef0[_0x452560(0x1c4)][_0x452560(0x198)](_0x4500a3);if(!_0x43ff70)throw new _0x25a09c(_0x452560(0x10e),null);for(const [_0x5b7f1a,_0x482447]of Object[_0x452560(0x205)](_0xf124c8))if(null!==_0x482447){const _0x362e2a=new _0x573987(_0x43ff70,_0x5b7f1a,null,_0x482447,_0x232386++);_0x4c069f[_0x452560(0x1a7)](_0x362e2a);}}return _0x4c069f;}async[_0x5252ab(0x1ac)](_0x2c7a4a,_0x55d16c,_0xf6c33e){const _0xc61ef2=_0x5252ab;this[_0xc61ef2(0x146)]({[_0x2c7a4a]:_0x55d16c},{[_0x2c7a4a]:_0xf6c33e})[_0xc61ef2(0x16a)]((_0x2b6c03,_0x2eeaf5)=>{const _0x23af71=_0xc61ef2;_0x2b6c03[_0x23af71(0x10d)]=this[_0x23af71(0x138)][_0x23af71(0x197)]+_0x2eeaf5,_0x2b6c03[_0x23af71(0x177)]=!0x0,this[_0x23af71(0x13a)](_0x2b6c03);}),this[_0xc61ef2(0x11e)](),await this[_0xc61ef2(0x17e)]();}async[_0x5252ab(0x19c)](_0xcf9ee3,_0x15cf17){const _0x3afc15=_0x5252ab;let _0x5cff44;this[_0x3afc15(0x18e)]=_0xcf9ee3[_0x3afc15(0x108)];const _0xf5a850=_0xcf9ee3[_0x3afc15(0x1cb)]&&!_0xcf9ee3[_0x3afc15(0x144)],_0x531ae7=_0xf5a850?0x0:_0xcf9ee3[_0x3afc15(0x150)][_0x3afc15(0x10d)];if(_0x15cf17[_0x3afc15(0x16a)](_0x278c84=>{const _0x52cfdb=_0x3afc15;_0x278c84[_0x52cfdb(0x177)]=!0x0,_0x278c84[_0x52cfdb(0x188)]=_0xcf9ee3[_0x52cfdb(0x12c)],_0x278c84[_0x52cfdb(0x1e6)]=null;}),_0xf5a850)_0x5cff44=_0x15cf17,this[_0x3afc15(0x1f7)](_0x5cff44,_0xf5a850);else{if(_0xcf9ee3[_0x3afc15(0x144)]){const _0x1cff8c=this[_0x3afc15(0x146)](_0xcf9ee3[_0x3afc15(0x144)]);this[_0x3afc15(0x138)][_0x3afc15(0x1c3)][_0x3afc15(0x197)]=-_0x1cff8c[_0x3afc15(0x183)],_0x1cff8c[_0x3afc15(0x16a)](_0x11b12d=>{const _0x2674c4=_0x3afc15;_0x11b12d[_0x2674c4(0x10d)]-=_0x1cff8c[_0x2674c4(0x183)],_0x11b12d[_0x2674c4(0x188)]=_0xcf9ee3[_0x2674c4(0x12c)],_0x11b12d[_0x2674c4(0x177)]=!0x0,_0x11b12d[_0x2674c4(0x1e6)]=null;}),this[_0x3afc15(0x1f7)](_0x1cff8c,!0x0),this[_0x3afc15(0x185)][_0x3afc15(0x197)]=-_0x1cff8c[_0x3afc15(0x183)]+this[_0x3afc15(0x18e)],this[_0x3afc15(0x10c)](_0x1cff8c);}this[_0x3afc15(0x138)][_0x3afc15(0x1c3)][_0x3afc15(0x197)]=_0x531ae7,_0x5cff44=this[_0x3afc15(0x122)](_0xcf9ee3[_0x3afc15(0x150)],_0xcf9ee3[_0x3afc15(0x153)]),await this[_0x3afc15(0x1a3)](_0x5cff44),this[_0x3afc15(0x1f7)](_0x5cff44,_0xf5a850);}_0xcf9ee3[_0x3afc15(0x1f2)]&&(this[_0x3afc15(0x173)][_0x3afc15(0x11a)](_0x5cff44,_0xcf9ee3[_0x3afc15(0x1f2)]),this[_0x3afc15(0x1c2)]=_0xcf9ee3[_0x3afc15(0x1f2)]),this[_0x3afc15(0x185)][_0x3afc15(0x197)]=_0x531ae7+this[_0x3afc15(0x18e)],this[_0x3afc15(0x10c)](_0x5cff44),_0x15cf17[_0x3afc15(0x10b)](_0x3854ed=>{const _0x586bdc=_0x3afc15,_0x5ec232=this[_0x586bdc(0x1f3)](_0x3854ed);return _0x5ec232&&!this[_0x586bdc(0x165)][_0x586bdc(0x176)](_0x5ec232);})[_0x3afc15(0x16a)]((_0x3d05a4,_0x34e6ce)=>{const _0x28706d=_0x3afc15;_0x3d05a4[_0x28706d(0x10d)]=this[_0x28706d(0x138)][_0x28706d(0x197)]+_0x34e6ce,this[_0x28706d(0x13a)](_0x3d05a4);}),this[_0x3afc15(0x1c9)]()?(this[_0x3afc15(0x107)]=0x0,this[_0x3afc15(0x11e)](!0x0),await this[_0x3afc15(0x17e)]()):(this[_0x3afc15(0x1df)]=!0x1,this[_0x3afc15(0x147)]());}[_0x5252ab(0x1cd)](_0x33dcda,_0x4eda05){const _0x39eb7f=_0x5252ab,_0x5c65a7=_0x4eda05&&_0x4eda05[_0x39eb7f(0x1a0)];if(_0x5c65a7&&_0x5c65a7[_0x39eb7f(0x160)](_0x39eb7f(0x110)))throw _0x4eda05;const _0x5d2cc4=this[_0x39eb7f(0x11b)][_0x39eb7f(0x102)][_0x39eb7f(0x196)](_0x42967a);throw this[_0x39eb7f(0x1df)]=!0x0,_0x5d2cc4[_0x39eb7f(0x127)](),this[_0x39eb7f(0x11b)][_0x39eb7f(0x195)](_0x39eb7f(0x1be)),new _0x25a09c(_0x33dcda,this[_0x39eb7f(0x11b)],_0x5c65a7?{'originalError':_0x5c65a7}:void 0x0);}[_0x5252ab(0x13a)](_0x5b9d8e){const _0x469217=_0x5252ab;this[_0x469217(0x1ec)][_0x469217(0x176)](_0x5b9d8e)||(this[_0x469217(0x1ec)][_0x469217(0x105)](_0x5b9d8e),this[_0x469217(0x1dd)][_0x469217(0x1a7)](_0x5b9d8e),this[_0x469217(0x1fa)]||_0x469217(0x18c)==_0x5b9d8e[_0x469217(0x1c5)]&&!_0x5b9d8e[_0x469217(0x1e9)]||this[_0x469217(0x159)]());}[_0x5252ab(0x11e)](_0x1c6419=!0x1){const _0x18172c=_0x5252ab;!_0x1c6419&&this[_0x18172c(0x1df)]||(this[_0x18172c(0x1df)]=!0x0,clearTimeout(this[_0x18172c(0x1e4)]),this[_0x18172c(0x1e4)]=setTimeout(()=>{const _0x5144c2=_0x18172c;this[_0x5144c2(0x120)]()[_0x5144c2(0x103)](_0x241817=>{const _0x39011d=_0x5144c2;_0x241817&&(this[_0x39011d(0x147)](),this[_0x39011d(0x1df)]=!0x1);})[_0x5144c2(0x129)](_0x278c8d=>{const _0x210dc8=_0x5144c2;this[_0x210dc8(0x147)](),this[_0x210dc8(0x1df)]=!0x1,function(_0x210d57){const _0x231f77=_0x210dc8;return _0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x1a4))||_0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x10f))||_0x210d57[_0x231f77(0x1a0)][_0x231f77(0x160)](_0x231f77(0x15e));}(_0x278c8d)||this[_0x210dc8(0x1cd)](_0x278c8d[_0x210dc8(0x1a0)],_0x278c8d);});},this[_0x18172c(0x107)]));}[_0x5252ab(0x17e)](){return new Promise(_0x1a2b48=>{const _0x410b5a=_0x3ad3;this['on'](_0x410b5a(0x1e8),()=>{_0x1a2b48();});});}async[_0x5252ab(0x120)](){const _0x3f0611=_0x5252ab,_0x290049=this[_0x3f0611(0x11b)][_0x3f0611(0x102)][_0x3f0611(0x196)](_0x31d116);if(this[_0x3f0611(0x1bc)]()&&(_0x290049[_0x3f0611(0x135)](),this[_0x3f0611(0x189)]=!0x1),!this[_0x3f0611(0x1c9)]())return!0x0;const _0x9569ae=[...this[_0x3f0611(0x1dd)]];for(const _0x24982f of _0x9569ae)_0x24982f[_0x3f0611(0x1ad)]=this[_0x3f0611(0x138)][_0x3f0611(0x1c3)][_0x3f0611(0x181)](_0x24982f);const _0x227bad=this[_0x3f0611(0x173)][_0x3f0611(0x14e)](_0x9569ae),_0x4bad79=K++,_0x42ba9d=this[_0x3f0611(0x1ce)](_0x9569ae),_0x4c8456=await this[_0x3f0611(0x115)][_0x3f0611(0x162)](_0x42ba9d,_0x42ba9d[_0x3f0611(0x10d)],_0x227bad);try{return await this[_0x3f0611(0x1af)](_0x9569ae,_0x4c8456,_0x4bad79);}catch(_0x30d98a){return this[_0x3f0611(0x1cd)](_0x3f0611(0x18b),_0x30d98a);}}async[_0x5252ab(0x1af)](_0x2669a6,_0x2897fa,_0x171515){const _0x12e9db=_0x5252ab;if(_0x12e9db(0x11d)in _0x2897fa)throw _0x2897fa[_0x12e9db(0x11d)];let _0x49a3d4=!0x1;if(_0x2897fa[_0x12e9db(0x1cb)]){_0x2897fa[_0x12e9db(0x1f2)]&&(this[_0x12e9db(0x1c2)]=_0x2897fa[_0x12e9db(0x1f2)]),this[_0x12e9db(0x1dd)]=this[_0x12e9db(0x1dd)][_0x12e9db(0x10b)](_0x1db515=>!_0x2669a6[_0x12e9db(0x161)](_0x1db515));for(const _0x589e9c of _0x2669a6)_0x589e9c[_0x12e9db(0x188)]=_0x12e9db(0x148)in _0x2897fa&&_0x2897fa[_0x12e9db(0x148)]||void 0x0;Q(_0x2669a6,_0x2897fa[_0x12e9db(0x197)]-_0x2669a6[_0x12e9db(0x183)]),this[_0x12e9db(0x10c)](_0x2669a6);const _0x57f3b9=_0x2669a6[_0x12e9db(0x10b)](_0x46021e=>{const _0x562d65=_0x12e9db;if(!_0x46021e[_0x562d65(0x177)])return!0x1;const _0x1257fe=this[_0x562d65(0x1f3)](_0x46021e);return _0x1257fe&&!this[_0x562d65(0x165)][_0x562d65(0x176)](_0x1257fe);});Q(_0x57f3b9,this[_0x12e9db(0x138)][_0x12e9db(0x197)]),this[_0x12e9db(0x1f7)](_0x57f3b9),_0x49a3d4=!0x0,this[_0x12e9db(0x107)]=this[_0x12e9db(0x125)];}else{const _0x52d083=this[_0x12e9db(0x122)](_0x2897fa[_0x12e9db(0x150)],_0x2897fa[_0x12e9db(0x153)])[_0x12e9db(0x10b)](_0x3b5acb=>_0x3b5acb[_0x12e9db(0x10d)]>=this[_0x12e9db(0x14a)]);_0x52d083[_0x12e9db(0x16a)](_0x48c0b0=>this[_0x12e9db(0x1d2)](_0x48c0b0)),this[_0x12e9db(0x1dd)]=this[_0x12e9db(0x1dd)][_0x12e9db(0x10b)](_0x2ca2b8=>!_0x2ca2b8[_0x12e9db(0x177)]||!this[_0x12e9db(0x165)][_0x12e9db(0x176)](this[_0x12e9db(0x1f3)](_0x2ca2b8))),this[_0x12e9db(0x1dd)][_0x12e9db(0x183)]&&Q(this[_0x12e9db(0x1dd)],this[_0x12e9db(0x1dd)][0x0][_0x12e9db(0x10d)]),await this[_0x12e9db(0x1a3)](_0x52d083),_0x49a3d4=this[_0x12e9db(0x16d)](_0x52d083,_0x2897fa[_0x12e9db(0x197)],_0x2897fa[_0x12e9db(0x1f2)]),this[_0x12e9db(0x107)]=Math[_0x12e9db(0x16c)](this[_0x12e9db(0x107)]/0x2);}return _0x49a3d4?!this[_0x12e9db(0x1c9)]()||(this[_0x12e9db(0x11e)](!0x0),!0x1):this[_0x12e9db(0x1cd)](_0x12e9db(0x204));}[_0x5252ab(0x16d)](_0x516d2a,_0xe243e9,_0x41c532){const _0x165996=_0x5252ab;try{const _0x532854={'document':this[_0x165996(0x138)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x41be43,operationsB:_0x2d84c8,originalOperations:_0x51498f}=_0x3859c(_0x516d2a,this[_0x165996(0x1dd)],_0x532854);Q(_0x41be43,this[_0x165996(0x138)][_0x165996(0x197)]),Q(_0x2d84c8,_0xe243e9);for(const _0x4137f9 of _0x41be43){const _0x1c5fb4=_0x51498f[_0x165996(0x196)](_0x4137f9);_0x4137f9[_0x165996(0x1e6)]=_0x1c5fb4?_0x1c5fb4[_0x165996(0x1e6)]:null;}_0x41c532&&(this[_0x165996(0x173)][_0x165996(0x11a)](_0x516d2a,_0x41c532),this[_0x165996(0x1c2)]=_0x41c532),this[_0x165996(0x1dd)]=[..._0x2d84c8],this[_0x165996(0x1f7)](_0x41be43),this[_0x165996(0x10c)](_0x516d2a);}catch(_0x891558){return console[_0x165996(0x11d)](_0x891558),!0x1;}return!0x0;}[_0x5252ab(0x1f7)](_0x3fc31d,_0x5decf3=!0x1){const _0x301950=_0x5252ab;this[_0x301950(0x11b)][_0x301950(0x175)][_0x301950(0x112)]({'isUndoable':!0x1,'isLocal':!0x1},_0x106d98=>{const _0x1710d0=_0x301950;for(const _0x5c9f94 of _0x3fc31d)this[_0x1710d0(0x1ec)][_0x1710d0(0x105)](_0x5c9f94),this[_0x1710d0(0x1d2)](_0x5c9f94),_0x106d98[_0x1710d0(0x17c)][_0x1710d0(0x1ca)](_0x5c9f94),this[_0x1710d0(0x11b)][_0x1710d0(0x175)][_0x1710d0(0x19b)](_0x5c9f94);});}[_0x5252ab(0x1d2)](_0x5b69b0){const _0x22a452=_0x5252ab,_0x31feb4=this[_0x22a452(0x1f3)](_0x5b69b0);_0x31feb4&&this[_0x22a452(0x165)][_0x22a452(0x105)](_0x31feb4);}[_0x5252ab(0x1f3)](_0x3bcf53){const _0x3b6130=_0x5252ab;let _0x1a814c,_0x57155;switch(_0x3bcf53[_0x3b6130(0x1c5)]){case _0x3b6130(0x104):_0x1a814c=_0x3bcf53[_0x3b6130(0x13c)][_0x3b6130(0x1dc)];break;case _0x3b6130(0x18c):if(_0x57155=_0x3bcf53[_0x3b6130(0x19d)],!_0x57155)return null;_0x1a814c=_0x57155[_0x3b6130(0x1dc)];break;case _0x3b6130(0x193):_0x1a814c=_0x3bcf53[_0x3b6130(0x1dc)];break;case _0x3b6130(0x199):_0x1a814c=_0x3bcf53[_0x3b6130(0x143)];break;case _0x3b6130(0x1a5):_0x1a814c=_0x3bcf53[_0x3b6130(0x14b)][_0x3b6130(0x1dc)];break;default:return null;}return _0x1a814c[_0x3b6130(0x1c0)];}[_0x5252ab(0x10c)](_0x101005){const _0x1b155b=_0x5252ab;_0x101005[_0x1b155b(0x16a)](_0x36af75=>{const _0x3195b7=_0x1b155b,_0x148920=_0x36af75[_0x3195b7(0x179)]();_0x148920[_0x3195b7(0x1e6)]=_0x36af75[_0x3195b7(0x1e6)],_0x148920[_0x3195b7(0x177)]=!!_0x36af75[_0x3195b7(0x177)],_0x148920[_0x3195b7(0x188)]=_0x36af75[_0x3195b7(0x188)],_0x148920[_0x3195b7(0x10d)]+=this[_0x3195b7(0x18e)],_0x36af75[_0x3195b7(0x15c)]&&this[_0x3195b7(0x18a)][_0x3195b7(0x105)](_0x148920),this[_0x3195b7(0x185)][_0x3195b7(0x1ca)](_0x148920);});}[_0x5252ab(0x200)](_0x59432c){const _0x46142a=_0x5252ab,_0x46c784=this[_0x46142a(0x11b)][_0x46142a(0x102)][_0x46142a(0x196)](_0x46142a(0x19f)),_0x3fe67a=this[_0x46142a(0x11b)][_0x46142a(0x152)];_0x59432c||(_0x59432c=_0x2c0bb1(_0x3fe67a,_0x46142a(0x109))),_0x46c784[_0x46142a(0x1b5)](_0x59432c,{'title':_0x2c0bb1(_0x3fe67a,_0x46142a(0x1f6)),'namespace':_0x46142a(0x1d7)}),this[_0x46142a(0x18f)]=!0x0,clearTimeout(this[_0x46142a(0x1e4)]),this[_0x46142a(0x1dd)]=[],this[_0x46142a(0x11b)][_0x46142a(0x102)][_0x46142a(0x196)](_0x42967a)[_0x46142a(0x127)]();}[_0x5252ab(0x159)](){const _0x5de8c5=_0x5252ab;this[_0x5de8c5(0x1fa)]||(this[_0x5de8c5(0x1fa)]=this[_0x5de8c5(0x11b)][_0x5de8c5(0x102)][_0x5de8c5(0x196)](_0x4e5abd)[_0x5de8c5(0x105)](_0x2c0bb1(this[_0x5de8c5(0x11b)][_0x5de8c5(0x152)],_0x5de8c5(0x16e))));}[_0x5252ab(0x147)](){const _0x3c8f5b=_0x5252ab;this[_0x3c8f5b(0x1fa)]&&(this[_0x3c8f5b(0x11b)][_0x3c8f5b(0x102)][_0x3c8f5b(0x196)](_0x4e5abd)[_0x3c8f5b(0x1b1)](this[_0x3c8f5b(0x1fa)]),this[_0x3c8f5b(0x1fa)]=null);}[_0x5252ab(0x1ce)](_0x26338b){const _0x3bcb87=_0x5252ab,_0x30266e=_0x26338b[_0x3bcb87(0x12f)](_0x1af426=>_0x1af426[_0x3bcb87(0x156)]());return this[_0x3bcb87(0x1c8)][_0x3bcb87(0x1ab)](_0x30266e);}[_0x5252ab(0x122)](_0x5599bb,_0x125060){const _0x27ccf5=_0x5252ab;return this[_0x27ccf5(0x1c8)][_0x27ccf5(0x182)](_0x5599bb)[_0x27ccf5(0x12f)]((_0x43afd8,_0x4d53cf)=>{const _0x14adaf=_0x27ccf5,_0x2b2b30=_0x14adaf(0x14d)==_0x125060[_0x4d53cf][_0x14adaf(0x1c5)];if(_0x14adaf(0x174)==_0x43afd8[_0x14adaf(0x202)]){const _0x34e244=_0x43afd8[_0x14adaf(0x13c)][_0x14adaf(0x1dc)];!this[_0x14adaf(0x138)][_0x14adaf(0x198)](_0x34e244)&&(this[_0x14adaf(0x138)][_0x14adaf(0x17b)](_0x14adaf(0x168),_0x34e244)[_0x14adaf(0x1d8)]=!0x1);}const _0x31a6b8=_0x2588b0[_0x14adaf(0x12e)](_0x43afd8,this[_0x14adaf(0x138)]);return _0x31a6b8[_0x14adaf(0x1ad)]=_0x43afd8[_0x14adaf(0x1ad)],_0x31a6b8[_0x14adaf(0x177)]=_0x2b2b30,_0x31a6b8[_0x14adaf(0x1e6)]=_0x2b2b30?null:_0x125060[_0x4d53cf][_0x14adaf(0x17d)],_0x31a6b8[_0x14adaf(0x15c)]=_0x14adaf(0x155)===_0x125060[_0x4d53cf][_0x14adaf(0x1c5)],_0x31a6b8[_0x14adaf(0x188)]=_0x125060[_0x4d53cf][_0x14adaf(0x188)],_0x31a6b8;});}[_0x5252ab(0x132)](){const _0x48c7ae=_0x5252ab;this[_0x48c7ae(0x189)]=!0x0,this[_0x48c7ae(0x1bc)]()?this[_0x48c7ae(0x11e)]():this[_0x48c7ae(0x189)]=!0x1;}[_0x5252ab(0x1bc)](){const _0x4d2556=_0x5252ab,_0x24bfc2=this[_0x4d2556(0x11b)][_0x4d2556(0x102)][_0x4d2556(0x196)](_0x25c1d1)[_0x4d2556(0x12d)][_0x4d2556(0x196)](this[_0x4d2556(0x1cf)]);return!this[_0x4d2556(0x11b)][_0x4d2556(0x1e2)]&&!!_0x24bfc2&&_0x24bfc2[_0x4d2556(0x183)]>0x1&&this[_0x4d2556(0x189)];}[_0x5252ab(0x1c9)](){const _0x347824=_0x5252ab;return this[_0x347824(0x1dd)][_0x347824(0x183)]>0x0||this[_0x347824(0x1bc)]();}}class J extends Error{}function Q(_0x23f7a5,_0x59d08d){const _0x101996=_0x5252ab;for(const _0x3ecfc1 of _0x23f7a5)_0x3ecfc1[_0x101996(0x10d)]=_0x59d08d++;}class X{[_0x5252ab(0x1a9)];[_0x5252ab(0x17f)];constructor(_0x20453f){const _0x40ff42=_0x5252ab;this[_0x40ff42(0x1a9)]=_0x20453f,this[_0x40ff42(0x17f)]=new WeakMap();}[_0x5252ab(0x14e)](_0x46673a){const _0x11d3c9=_0x5252ab;let _0x25d230=_0x46673a[_0x11d3c9(0x183)];for(;_0x25d230--;){const _0x18e357=_0x46673a[_0x25d230];if(!this[_0x11d3c9(0x1a9)][_0x11d3c9(0x176)](_0x18e357)){if(!this[_0x11d3c9(0x17f)][_0x11d3c9(0x176)](_0x18e357)){const _0x2363de=_0x4c800a()[_0x11d3c9(0x1eb)](0x1,0x12);this[_0x11d3c9(0x17f)][_0x11d3c9(0x106)](_0x18e357,_0x2363de);}return this[_0x11d3c9(0x17f)][_0x11d3c9(0x196)](_0x18e357);}}}[_0x5252ab(0x11a)](_0x19f3c5,_0x4c436a){const _0x2ac55d=_0x5252ab;if(!_0x4c436a)return;let _0x8f4748=_0x19f3c5[_0x2ac55d(0x183)];for(;_0x8f4748--;){const _0x428f77=_0x19f3c5[_0x8f4748];this[_0x2ac55d(0x1a9)][_0x2ac55d(0x176)](_0x428f77)||this[_0x2ac55d(0x17f)][_0x2ac55d(0x106)](_0x428f77,_0x4c436a);}}}
|
|
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 _0x38c2(){const _0x40a89f=['getPositions','nodeAfter','requires','user:range:','setCustomProperty','isObject','createElement','marker','hasDomSelection','toRange','for','ck-user__marker-tooltip','destroy','spellcheck','$graveyard','user:position','newRange','mapper','markerToElement','ck-user__marker_hovered','orderNumber','render','removeClass','5815voazsu','removeMarker','stopListening','clear','getStart','isInline','isCollapsed','set','toDomElement','addMarker','reconvertMarker','delete','parent','getCustomProperty','editor','detach','oldRange','2120656RqqBGd','isSimilar','enqueueChange','init','user:position:','tableCell','highest','7vUQZIw','ck-user__marker\x20','span','isOfficialPlugin','isDocumentOperation','createUIElement','change:range','editingDowncast','isLimit','color','_createdBatches','pluginName','afterInit','fromRange','createRange','user:','false','getUserBySessionId','element','getNearestSelectionRange','checkChild','data-session-id','markerNameToElements','13346217CFIRmN','contenteditable','plugins','type','startsWith','markerRange','user:range','setAttribute','schema','getMarkerClass','2156310cMNaqH','add','getContainedElement','conversion','943074aDXqeR','mouseleave','view','1vfGLEq','rootName','isPremiumPlugin','3772IMWiLd','split','outerHTML','listenTo','445378OVlndO','createUserMarkerOperations','markerToHighlight','end','document','classList','size','getFirstRange','mouseenter','userPositionMarker','markerName','get','markers','getAttribute','deletionPosition','start','UserMarkers','$text','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','batch','name','3611496ckbtwa','has','applyOperation','update:user:range','getSelectionClass','updateMarker','model','selection','change','_domEmitter','root','commands','hasContent','remove','mySessionId','editing','keydown','addEventListener','getRange','innerHTML','textContent','undo','Escape','ck-user__selection'];_0x38c2=function(){return _0x40a89f;};return _0x38c2();}const _0x301b89=_0xe35a;(function(_0xe476e,_0x4adfc2){const _0x256332=_0xe35a,_0x23387d=_0xe476e();while(!![]){try{const _0x2913f9=-parseInt(_0x256332(0x1e7))/0x1*(parseInt(_0x256332(0x163))/0x2)+-parseInt(_0x256332(0x178))/0x3+-parseInt(_0x256332(0x1ea))/0x4*(-parseInt(_0x256332(0x1a7))/0x5)+parseInt(_0x256332(0x1e4))/0x6*(parseInt(_0x256332(0x1bf))/0x7)+-parseInt(_0x256332(0x1b8))/0x8+parseInt(_0x256332(0x1d6))/0x9+-parseInt(_0x256332(0x1e0))/0xa;if(_0x2913f9===_0x4adfc2)break;else _0x23387d['push'](_0x23387d['shift']());}catch(_0x224300){_0x23387d['push'](_0x23387d['shift']());}}}(_0x38c2,0xca87f));import{Plugin as _0xf91e2a}from'ckeditor5/src/core.js';import{global as _0x4dab5e,DomEmitterMixin as _0x50fafe}from'ckeditor5/src/utils.js';import{Sessions as _0x197125}from'./sessions.js';function _0xe35a(_0x1d5697,_0xdcf0d3){const _0x38c21d=_0x38c2();return _0xe35a=function(_0xe35ad8,_0x364f01){_0xe35ad8=_0xe35ad8-0x163;let _0x499a8e=_0x38c21d[_0xe35ad8];return _0x499a8e;},_0xe35a(_0x1d5697,_0xdcf0d3);}import{ModelLiveRange as _0x7d951e}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0xf91e2a{[_0x301b89(0x181)]=new(_0x50fafe())();static get[_0x301b89(0x192)](){return[_0x197125];}static get[_0x301b89(0x1ca)](){const _0x41d079=_0x301b89;return _0x41d079(0x173);}static get[_0x301b89(0x1c2)](){return!0x0;}static get[_0x301b89(0x1e9)](){return!0x0;}[_0x301b89(0x1bb)](){const _0x36e8a8=_0x301b89,_0x6b1850=this[_0x36e8a8(0x1b5)],_0x87d7be=_0x6b1850[_0x36e8a8(0x1d8)][_0x36e8a8(0x16e)](_0x197125);_0x6b1850[_0x36e8a8(0x1e3)][_0x36e8a8(0x19a)](_0x36e8a8(0x1c6))[_0x36e8a8(0x1a2)]({'model':_0x36e8a8(0x19f),'view':(_0x58bd91,{writer:_0x5cb50f})=>function(_0x3d7d5a,_0x57703e,_0x168249,_0x2b1c33){const _0x37a3ca=_0x36e8a8,_0x4ed228=_0x3d7d5a[_0x37a3ca(0x16d)][_0x37a3ca(0x1eb)](':')[0x2],_0x1a232=_0x168249[_0x37a3ca(0x1d0)](_0x4ed228);if(!_0x1a232||_0x4ed228===_0x168249[_0x37a3ca(0x186)])return;if(!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)][_0x37a3ca(0x1d3)](_0x3d7d5a[_0x37a3ca(0x1db)][_0x37a3ca(0x172)],_0x37a3ca(0x174)))return;const _0x326a96={'class':_0x37a3ca(0x1c0)+_0x1a232[_0x37a3ca(0x1c8)][_0x37a3ca(0x1df)](),'data-name':_0x1a232[_0x37a3ca(0x177)],'data-session-id':_0x4ed228},_0x3244e7=_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x16f)][_0x37a3ca(0x16e)](_0x3d7d5a[_0x37a3ca(0x16d)]),_0x3f94f9=_0x3244e7[_0x37a3ca(0x1ab)](),_0x561c20=_0x3f94f9[_0x37a3ca(0x191)],_0x43f729=_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)];if(_0x561c20&&_0x43f729[_0x37a3ca(0x195)](_0x561c20)&&_0x43f729[_0x37a3ca(0x1ac)](_0x561c20)&&!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x16f)][_0x37a3ca(0x16e)](_0x37a3ca(0x193)+_0x4ed228)[_0x37a3ca(0x18a)]()[_0x37a3ca(0x1ad)])return;const _0x5e6831=_0x3f94f9[_0x37a3ca(0x1b3)];return _0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x1de)][_0x37a3ca(0x1c7)](_0x5e6831)&&!_0x2b1c33[_0x37a3ca(0x17e)][_0x37a3ca(0x184)](_0x5e6831)&&(_0x326a96[_0x37a3ca(0x1d7)]=!0x1),function(_0x356efa,_0x3c256e,_0x1a3c43){const _0x2fdf0e=_0x37a3ca,_0x54b69b=_0x356efa[_0x2fdf0e(0x1c4)](_0x2fdf0e(0x1c1),_0x3c256e);return _0x356efa[_0x2fdf0e(0x194)](_0x2fdf0e(0x16c),!0x0,_0x54b69b),_0x54b69b[_0x2fdf0e(0x1a5)]=function(_0xda511c){const _0x37ca0e=_0x2fdf0e,_0x3e3396=this[_0x37ca0e(0x1af)](_0xda511c),_0x212ce8=document[_0x37ca0e(0x196)](_0x37ca0e(0x1c1));return _0x212ce8[_0x37ca0e(0x168)][_0x37ca0e(0x1e1)](_0x37ca0e(0x19b)),_0x212ce8[_0x37ca0e(0x1dd)](_0x37ca0e(0x1d7),_0x37ca0e(0x1cf)),_0x212ce8[_0x37ca0e(0x1dd)](_0x37ca0e(0x19d),_0x37ca0e(0x1cf)),_0x212ce8[_0x37ca0e(0x18c)]=_0x1a3c43[_0x37ca0e(0x177)],_0x3e3396[_0x37ca0e(0x18b)]=_0x37ca0e(0x175)+_0x212ce8[_0x37ca0e(0x1ec)]+'',_0x3e3396[_0x37ca0e(0x189)](_0x37ca0e(0x16b),()=>{const _0x232cac=_0x37ca0e;_0x3e3396[_0x232cac(0x168)][_0x232cac(0x1e1)](_0x232cac(0x1a3));}),_0x3e3396[_0x37ca0e(0x189)](_0x37ca0e(0x1e5),()=>{const _0x22db78=_0x37ca0e;_0x3e3396[_0x22db78(0x168)][_0x22db78(0x185)](_0x22db78(0x1a3));}),_0x3e3396;},_0x54b69b[_0x2fdf0e(0x1b9)]=function(_0xc88fbf){const _0x730dd5=_0x2fdf0e;return!(!this[_0x730dd5(0x1b4)](_0x730dd5(0x16c))||!_0xc88fbf[_0x730dd5(0x1b4)](_0x730dd5(0x16c))||this[_0x730dd5(0x170)](_0x730dd5(0x1d4))!=_0xc88fbf[_0x730dd5(0x170)](_0x730dd5(0x1d4)));},_0x54b69b;}(_0x57703e,_0x326a96,_0x1a232);}(_0x58bd91,_0x5cb50f,_0x87d7be,_0x6b1850)}),_0x6b1850[_0x36e8a8(0x1e3)][_0x36e8a8(0x19a)](_0x36e8a8(0x1c6))[_0x36e8a8(0x165)]({'model':_0x36e8a8(0x1dc),'view':_0x3c82c7=>function(_0x28cc23,_0x3aaf2f){const _0x556900=_0x36e8a8,_0x4c2085=_0x28cc23[_0x556900(0x16d)][_0x556900(0x1eb)](':')[0x2];if(_0x4c2085===_0x3aaf2f[_0x556900(0x186)])return null;const _0x564f94=_0x3aaf2f[_0x556900(0x1d0)](_0x4c2085);if(!_0x564f94)return{'id':_0x4c2085,'classes':[]};return{'id':_0x4c2085,'classes':[_0x556900(0x18f),_0x564f94[_0x556900(0x1c8)][_0x556900(0x17c)]()],'attributes':{'data-session-id':_0x4c2085},'priority':0x7d0+_0x564f94[_0x556900(0x1a4)]};}(_0x3c82c7,_0x87d7be)}),function(_0x232113){const _0x42cc2b=_0x36e8a8,_0x374382=_0x232113[_0x42cc2b(0x17e)],_0x2b8e1b=new Map(),_0x5a0a9d=_0x232113[_0x42cc2b(0x1d8)][_0x42cc2b(0x16e)](_0x197125);_0x374382[_0x42cc2b(0x16f)]['on'](_0x42cc2b(0x17b),(_0x2b2a91,_0x444111,_0x1e1afd,_0x2a78bc)=>{const _0x171a08=_0x42cc2b;if(!_0x2a78bc&&_0x2b8e1b[_0x171a08(0x16e)](_0x444111[_0x171a08(0x177)]))return _0x2b8e1b[_0x171a08(0x16e)](_0x444111[_0x171a08(0x177)])[_0x171a08(0x1b6)](),void _0x2b8e1b[_0x171a08(0x1b2)](_0x444111[_0x171a08(0x177)]);const _0x1f0510=_0x444111[_0x171a08(0x177)][_0x171a08(0x1eb)](':')[0x2];if(_0x1f0510===_0x5a0a9d[_0x171a08(0x186)])return;const _0x1d7232=_0x171a08(0x1bc)+_0x1f0510;_0x374382[_0x171a08(0x16f)][_0x171a08(0x179)](_0x1d7232)&&_0x232113[_0x171a08(0x187)][_0x171a08(0x1b1)](_0x1d7232),_0x444111['on'](_0x171a08(0x1c5),(_0x47bac6,_0x4dc28e,_0x38ae3d)=>{const _0x236ece=_0x171a08;if(_0x236ece(0x19e)!=_0x4dc28e[_0x236ece(0x182)][_0x236ece(0x1e8)]&&_0x236ece(0x19e)==_0x444111[_0x236ece(0x18a)]()[_0x236ece(0x182)][_0x236ece(0x1e8)]&&!_0x2b8e1b[_0x236ece(0x179)](_0x444111[_0x236ece(0x177)])){const _0x4c6e53=_0x374382[_0x236ece(0x1de)][_0x236ece(0x1d2)](_0x38ae3d[_0x236ece(0x171)]);if(_0x4c6e53){const _0x46aa70=_0x7d951e[_0x236ece(0x1cc)](_0x4c6e53);_0x2b8e1b[_0x236ece(0x1ae)](_0x444111[_0x236ece(0x177)],_0x46aa70),_0x46aa70['on'](_0x236ece(0x1c5),(_0x507ec5,_0x113352,_0x34e24f)=>{const _0x14fc5f=_0x236ece;if(_0x14fc5f(0x19e)==_0x46aa70[_0x14fc5f(0x182)][_0x14fc5f(0x1e8)]){const _0x46b25e=_0x374382[_0x14fc5f(0x1de)][_0x14fc5f(0x1d2)](_0x34e24f[_0x14fc5f(0x171)]);_0x46b25e?(_0x46aa70[_0x14fc5f(0x172)]=_0x46b25e[_0x14fc5f(0x172)],_0x46aa70[_0x14fc5f(0x166)]=_0x46b25e[_0x14fc5f(0x166)]):(_0x2b8e1b[_0x14fc5f(0x1b2)](_0x444111[_0x14fc5f(0x177)]),_0x46aa70[_0x14fc5f(0x1b6)]());}});}}});}),_0x374382[_0x42cc2b(0x167)]['on'](_0x42cc2b(0x180),()=>{const _0x1e216d=_0x42cc2b;_0x2b8e1b[_0x1e216d(0x169)]>0x0&&_0x374382[_0x1e216d(0x1ba)]({'isUndoable':!0x1},_0x3604ea=>{const _0x5ab8e9=_0x1e216d;for(const [_0x3d1f3b,_0x4ffe18]of _0x2b8e1b)_0x5ab8e9(0x19e)==_0x374382[_0x5ab8e9(0x16f)][_0x5ab8e9(0x16e)](_0x3d1f3b)[_0x5ab8e9(0x18a)]()[_0x5ab8e9(0x182)][_0x5ab8e9(0x1e8)]&&(re(_0x3d1f3b[_0x5ab8e9(0x1eb)](':')[0x2],_0x4ffe18[_0x5ab8e9(0x199)](),_0x374382,_0x3604ea),_0x4ffe18[_0x5ab8e9(0x1b6)]());_0x2b8e1b[_0x5ab8e9(0x1aa)]();});});}(_0x6b1850),this[_0x36e8a8(0x181)][_0x36e8a8(0x1ed)](_0x4dab5e[_0x36e8a8(0x167)],_0x36e8a8(0x188),(_0x5b3d26,{key:_0x5bf19f})=>{const _0x191e9e=_0x36e8a8;_0x191e9e(0x18e)===_0x5bf19f&&function(_0xdb2247){const _0x296be9=_0x191e9e;_0xdb2247[_0x296be9(0x187)][_0x296be9(0x1e6)][_0x296be9(0x180)](_0x3115c1=>{const _0x44dda6=_0x296be9;for(const _0x182a5a of _0xdb2247[_0x44dda6(0x17e)][_0x44dda6(0x16f)]){if(!_0x182a5a[_0x44dda6(0x177)][_0x44dda6(0x1da)](_0x44dda6(0x19f)))continue;const _0x37e249=_0xdb2247[_0x44dda6(0x187)][_0x44dda6(0x1a1)][_0x44dda6(0x1d5)](_0x182a5a[_0x44dda6(0x177)]);if(_0x37e249){for(const _0x363371 of _0x37e249)_0x3115c1[_0x44dda6(0x1a6)](_0x44dda6(0x1a3),_0x363371);}}});}(_0x6b1850);},{'useCapture':!0x0});}[_0x301b89(0x1cb)](){const _0x18f77b=_0x301b89,_0x59f94b=this[_0x18f77b(0x1b5)],_0x3ac403=_0x59f94b[_0x18f77b(0x183)][_0x18f77b(0x16e)](_0x18f77b(0x18d));_0x3ac403&&_0x59f94b[_0x18f77b(0x17e)]['on'](_0x18f77b(0x17a),(_0x33c448,_0x4118c5)=>{const _0xf695cd=_0x18f77b,_0x36ec10=_0x4118c5[0x0];if(!_0x36ec10[_0xf695cd(0x1c3)])return;if(_0xf695cd(0x197)!=_0x36ec10[_0xf695cd(0x1d9)]||!_0x36ec10[_0xf695cd(0x177)][_0xf695cd(0x1da)](_0xf695cd(0x1ce)))return;const _0x1a50ce=_0x36ec10[_0xf695cd(0x176)];_0x3ac403[_0xf695cd(0x1c9)][_0xf695cd(0x179)](_0x1a50ce)&&(_0x36ec10[_0xf695cd(0x1a0)]=_0x36ec10[_0xf695cd(0x1b7)]?_0x59f94b[_0xf695cd(0x17e)][_0xf695cd(0x1cd)](_0x36ec10[_0xf695cd(0x1b7)][_0xf695cd(0x172)],_0x36ec10[_0xf695cd(0x1b7)][_0xf695cd(0x166)]):null);},{'priority':_0x18f77b(0x1be)});}[_0x301b89(0x19c)](){const _0x52e60d=_0x301b89;return this[_0x52e60d(0x181)][_0x52e60d(0x1a9)](),super[_0x52e60d(0x19c)]();}[_0x301b89(0x164)](){const _0xb58fe1=_0x301b89,_0x342894=this[_0xb58fe1(0x1b5)],_0x3b0bd4=_0x342894[_0xb58fe1(0x17e)][_0xb58fe1(0x167)],_0x2cf006=_0x342894[_0xb58fe1(0x1d8)][_0xb58fe1(0x16e)](_0x197125);_0x342894[_0xb58fe1(0x17e)][_0xb58fe1(0x1ba)]({'isUndoable':!0x1},_0x4895a0=>{const _0x2f7cf8=_0xb58fe1,_0x5a3ffb=_0x2f7cf8(0x193)+_0x2cf006[_0x2f7cf8(0x186)],_0x32d3c7=_0x2f7cf8(0x1bc)+_0x2cf006[_0x2f7cf8(0x186)],_0x107caf=_0x342894[_0x2f7cf8(0x17e)][_0x2f7cf8(0x16f)][_0x2f7cf8(0x179)](_0x5a3ffb);_0x342894[_0x2f7cf8(0x187)][_0x2f7cf8(0x1e6)][_0x2f7cf8(0x198)]?re(_0x2cf006[_0x2f7cf8(0x186)],_0x3b0bd4[_0x2f7cf8(0x17f)][_0x2f7cf8(0x16a)](),_0x342894[_0x2f7cf8(0x17e)],_0x4895a0):_0x107caf&&(_0x4895a0[_0x2f7cf8(0x1a8)](_0x5a3ffb),_0x4895a0[_0x2f7cf8(0x1a8)](_0x32d3c7));});}}function re(_0x1443b4,_0x5741c5,_0xe04af,_0x5ab6bd){const _0x2ba879=_0x301b89,_0x2b4015=_0x2ba879(0x193)+_0x1443b4,_0x2d6499=_0x2ba879(0x1bc)+_0x1443b4,_0x4291d7=_0x5741c5[_0x2ba879(0x1e2)]();let _0x235a26=_0x5741c5[_0x2ba879(0x172)];if(_0x4291d7&&_0x4291d7['is'](_0x2ba879(0x1d1),_0x2ba879(0x1bd))){const _0x3ef17e=function(_0x3d43cb,_0x4e475a){const _0x11db44=_0x2ba879;for(const _0x134e7c of _0x3d43cb[_0x11db44(0x190)]())if(_0x4e475a[_0x11db44(0x1de)][_0x11db44(0x1d3)](_0x134e7c,_0x11db44(0x174)))return _0x134e7c;}(_0x5741c5,_0xe04af);_0x3ef17e&&(_0x235a26=_0x3ef17e,_0x5741c5=_0x5ab6bd[_0x2ba879(0x1cd)](_0x235a26));}const _0x23be99=_0x5ab6bd[_0x2ba879(0x1cd)](_0x235a26);_0xe04af[_0x2ba879(0x16f)][_0x2ba879(0x179)](_0x2b4015)?(_0x5ab6bd[_0x2ba879(0x17d)](_0x2b4015,{'range':_0x5741c5}),_0x5ab6bd[_0x2ba879(0x17d)](_0x2d6499,{'range':_0x23be99})):(_0x5ab6bd[_0x2ba879(0x1b0)](_0x2b4015,{'range':_0x5741c5,'usingOperation':!0x0}),_0x5ab6bd[_0x2ba879(0x1b0)](_0x2d6499,{'range':_0x23be99,'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}));}
|