@ckeditor/ckeditor5-real-time-collaboration 46.0.2-alpha.1 → 46.0.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 +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x4f9a3e=_0x4c21;(function(_0x9d2a46,_0x20b063){const _0xacd05=_0x4c21,_0x58dc10=_0x9d2a46();while(!![]){try{const _0x5d8cd7=-parseInt(_0xacd05(0xc5))/0x1*(-parseInt(_0xacd05(0xd4))/0x2)+parseInt(_0xacd05(0xbb))/0x3+parseInt(_0xacd05(0xbf))/0x4+parseInt(_0xacd05(0xcf))/0x5+-parseInt(_0xacd05(0xc8))/0x6*(parseInt(_0xacd05(0xc1))/0x7)+parseInt(_0xacd05(0xc0))/0x8*(-parseInt(_0xacd05(0xbd))/0x9)+-parseInt(_0xacd05(0xb8))/0xa;if(_0x5d8cd7===_0x20b063)break;else _0x58dc10['push'](_0x58dc10['shift']());}catch(_0x53f944){_0x58dc10['push'](_0x58dc10['shift']());}}}(_0x52bc,0x675eb));import{View as _0x5da6f9}from'ckeditor5/src/ui.js';function _0x4c21(_0x289b59,_0x2fe3e8){const _0x52bc16=_0x52bc();return _0x4c21=function(_0x4c21b1,_0x120270){_0x4c21b1=_0x4c21b1-0xaf;let _0xe3eb1f=_0x52bc16[_0x4c21b1];return _0xe3eb1f;},_0x4c21(_0x289b59,_0x2fe3e8);}import{KeystrokeHandler as _0x572c14}from'ckeditor5/src/utils.js';import{getTranslation as _0x48347b}from'../../common-translations.js';export class PresenceInlineListView extends _0x5da6f9{[_0x4f9a3e(0xbc)];[_0x4f9a3e(0xb2)];constructor(_0x5cf63c){const _0x48e281=_0x4f9a3e;super(_0x5cf63c);const _0x5befc6=this[_0x48e281(0xcc)];this[_0x48e281(0xbc)]=this[_0x48e281(0xd5)](),this[_0x48e281(0xb2)]=new _0x572c14(),this[_0x48e281(0xd3)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x48e281(0xb9)]({'tag':_0x48e281(0xb1),'attributes':{'aria-haspopup':_0x5befc6['if'](_0x48e281(0xcb)),'aria-expanded':_0x5befc6['to'](_0x48e281(0xce),_0x3ec5a5=>this[_0x48e281(0xcb)]&&String(_0x3ec5a5)),'aria-label':_0x5befc6['to'](_0x48e281(0xcb),_0x4dd9ad=>_0x48347b(_0x5cf63c,_0x4dd9ad?_0x48e281(0xb4):_0x48e281(0xca))),'role':_0x48e281(0xc4),'tabindex':_0x5befc6['to'](_0x48e281(0xcb),_0x3639aa=>!!_0x3639aa&&0x0),'class':['ck',_0x48e281(0xcd)]},'children':this[_0x48e281(0xbc)],'on':{'mouseenter':_0x5befc6['to'](()=>this[_0x48e281(0xb6)](_0x48e281(0xb0))),'mouseleave':_0x5befc6['to'](_0x4b7763=>{const _0x38d429=_0x48e281,_0x4dc64a=_0x4b7763,_0xbecb08=document[_0x38d429(0xb3)](_0x38d429(0xc6)),_0xcf329d=document[_0x38d429(0xb3)](_0x38d429(0xba));_0xbecb08?.[_0x38d429(0xaf)](_0x4dc64a[_0x38d429(0xc9)])||_0xcf329d?.[_0x38d429(0xaf)](_0x4dc64a[_0x38d429(0xc9)])||this[_0x38d429(0xb6)](_0x38d429(0xb7));})}}),this['on'](_0x48e281(0xd1),(_0x375704,_0xedb2a8,_0x474e44)=>{const _0x5bdf6f=_0x48e281;this[_0x5bdf6f(0xd0)]&&(_0x474e44?this[_0x5bdf6f(0xd0)][_0x5bdf6f(0xb5)](_0x5bdf6f(0xbe),String(this[_0x5bdf6f(0xce)])):this[_0x5bdf6f(0xd0)][_0x5bdf6f(0xc7)](_0x5bdf6f(0xbe)));});}[_0x4f9a3e(0xc3)](){const _0x580615=_0x4f9a3e;this[_0x580615(0xd0)][_0x580615(0xc3)]();}[_0x4f9a3e(0xd2)](){const _0x3ef57c=_0x4f9a3e;super[_0x3ef57c(0xd2)](),this[_0x3ef57c(0xb2)][_0x3ef57c(0xc2)](this[_0x3ef57c(0xd0)]);}}function _0x52bc(){const _0x7f8fb0=['setAttribute','fire','presencelist:hide','10912560InYdQE','setTemplate','.ck-balloon-panel_with-arrow','1636035fiKXBe','items','1962VIiXlt','aria-expanded','2106628NUjqzT','4672oJcHzo','11158OvfZjB','listenTo','focus','list','266003zrVBqn','.ck-presence-list__dropdown-list','removeAttribute','2484JLurbH','relatedTarget','Connected\x20users\x20list','hasPopup','bindTemplate','ck-presence-list__list','isExpanded','3489395PACqFF','element','change:hasPopup','render','set','4QhcROP','createCollection','contains','presencelist:show','div','keystrokes','querySelector','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)'];_0x52bc=function(){return _0x7f8fb0;};return _0x52bc();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xed8c6b=_0x3e51;function _0x28ce(){const _0x53e43f=['tooltipPosition','192MxjowD','4SxnevM','change','10609902NoKudi','inlineListView','1178222IcvRwF','3437457OMmFzt','locale','6182245bPUCbG','ck-rounded-corners','2UsUYIZ','div','items','setTemplate','first','705470jEMSxZ','7795888NdNpXa','hasPopup','listenTo','isCollapsed','bind','77rlLPTL','ck-presence-list--collapsed','ck-presence-list','set','counterView','bindTemplate','186382rpxCUg','ck-reset'];_0x28ce=function(){return _0x53e43f;};return _0x28ce();}(function(_0x311ac4,_0x2d5375){const _0x4d0aaa=_0x3e51,_0x2975a9=_0x311ac4();while(!![]){try{const _0x444026=parseInt(_0x4d0aaa(0x1e7))/0x1*(-parseInt(_0x4d0aaa(0x1ec))/0x2)+parseInt(_0x4d0aaa(0x1e8))/0x3+-parseInt(_0x4d0aaa(0x1e3))/0x4*(-parseInt(_0x4d0aaa(0x1ea))/0x5)+parseInt(_0x4d0aaa(0x1e2))/0x6*(-parseInt(_0x4d0aaa(0x1df))/0x7)+parseInt(_0x4d0aaa(0x1f2))/0x8+-parseInt(_0x4d0aaa(0x1e5))/0x9+parseInt(_0x4d0aaa(0x1f1))/0xa*(parseInt(_0x4d0aaa(0x1d9))/0xb);if(_0x444026===_0x2d5375)break;else _0x2975a9['push'](_0x2975a9['shift']());}catch(_0x5d5961){_0x2975a9['push'](_0x2975a9['shift']());}}}(_0x28ce,0x9c9ab));import{View as _0x1d1af0}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x5549be}from'./presencecounterview.js';import{PresenceInlineListView as _0x3956a5}from'./presenceinlinelistview.js';function _0x3e51(_0x1a47ff,_0x53894a){const _0x28ce2f=_0x28ce();return _0x3e51=function(_0x3e515f,_0x3d95f2){_0x3e515f=_0x3e515f-0x1d8;let _0x337e9d=_0x28ce2f[_0x3e515f];return _0x337e9d;},_0x3e51(_0x1a47ff,_0x53894a);}import'../../../theme/presencelist.css';export class PresenceListView extends _0x1d1af0{[_0xed8c6b(0x1dd)];[_0xed8c6b(0x1e6)];constructor(_0x332e60,_0x3eecf1=0x6){const _0x303c16=_0xed8c6b;super(_0x332e60);const _0x1a272d=this[_0x303c16(0x1de)];this[_0x303c16(0x1dc)](_0x303c16(0x1f5),!0x0),this[_0x303c16(0x1dd)]=new _0x5549be(this[_0x303c16(0x1e9)],_0x3eecf1),this[_0x303c16(0x1e6)]=new _0x3956a5(_0x332e60),this[_0x303c16(0x1e6)][_0x303c16(0x1d8)](_0x303c16(0x1f3))['to'](this,_0x303c16(0x1f5)),this[_0x303c16(0x1f4)](this[_0x303c16(0x1e6)][_0x303c16(0x1ee)],_0x303c16(0x1e4),()=>{const _0x5a23d9=_0x303c16;for(const _0x89e19a of this[_0x5a23d9(0x1e6)][_0x5a23d9(0x1ee)])_0x89e19a[_0x5a23d9(0x1e1)]='s';this[_0x5a23d9(0x1e6)][_0x5a23d9(0x1ee)][_0x5a23d9(0x1f0)]&&(this[_0x5a23d9(0x1e6)][_0x5a23d9(0x1ee)][_0x5a23d9(0x1f0)][_0x5a23d9(0x1e1)]='se');}),this[_0x303c16(0x1ef)]({'tag':_0x303c16(0x1ed),'attributes':{'class':['ck',_0x303c16(0x1db),_0x303c16(0x1e0),_0x303c16(0x1eb),_0x1a272d['if'](_0x303c16(0x1f5),_0x303c16(0x1da))]},'children':[this[_0x303c16(0x1e6)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3989(_0x57d68c,_0x46d8e5){var _0x1e734a=_0x1e73();return _0x3989=function(_0x3989c6,_0x5e8ba6){_0x3989c6=_0x3989c6-0x13a;var _0x2b10c4=_0x1e734a[_0x3989c6];return _0x2b10c4;},_0x3989(_0x57d68c,_0x46d8e5);}var _0x26a4a8=_0x3989;(function(_0x282649,_0x488c46){var _0x40a173=_0x3989,_0x3a1916=_0x282649();while(!![]){try{var _0x1c7aef=parseInt(_0x40a173(0x13e))/0x1*(parseInt(_0x40a173(0x13a))/0x2)+parseInt(_0x40a173(0x13c))/0x3+-parseInt(_0x40a173(0x142))/0x4*(parseInt(_0x40a173(0x149))/0x5)+parseInt(_0x40a173(0x140))/0x6*(-parseInt(_0x40a173(0x147))/0x7)+-parseInt(_0x40a173(0x143))/0x8*(-parseInt(_0x40a173(0x145))/0x9)+parseInt(_0x40a173(0x13f))/0xa*(parseInt(_0x40a173(0x144))/0xb)+-parseInt(_0x40a173(0x141))/0xc;if(_0x1c7aef===_0x488c46)break;else _0x3a1916['push'](_0x3a1916['shift']());}catch(_0x15e3cb){_0x3a1916['push'](_0x3a1916['shift']());}}}(_0x1e73,0x2baa2));import{ContextPlugin as _0x419782}from'ckeditor5/src/core.js';function _0x1e73(){var _0x42f278=['27OGaSrb','PresenceList','441889IqFjzO','pluginName','32090asPWNY','isPremiumPlugin','109734CcfySh','requires','850839gTZcym','isOfficialPlugin','3ShlGzO','3288590NMPnjV','6wMyfKc','5582328UBKYON','44OgdvZo','1856cYdsBM','11XXJWGK'];_0x1e73=function(){return _0x42f278;};return _0x1e73();}import{Sessions as _0x3b50fd}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x2021d6}from'./presencelist/presencelistui.js';export class PresenceList extends _0x419782{static get[_0x26a4a8(0x13b)](){return[_0x3b50fd,_0x2021d6];}static get[_0x26a4a8(0x148)](){var _0xc79488=_0x26a4a8;return _0xc79488(0x146);}static get[_0x26a4a8(0x13d)](){return!0x0;}static get[_0x26a4a8(0x14a)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x3979c1)());[_0x6cffd4(0xe6)];static get[_0x6cffd4(0xee)](){const _0x3c540f=_0x6cffd4;return[_0x4902f3,_0x3c540f(0xe1),_0x243a75,_0x17181c];}static get[_0x6cffd4(0xec)](){const _0x41486b=_0x6cffd4;return _0x41486b(0x11c);}static get[_0x6cffd4(0x10f)](){return!0x0;}static get[_0x6cffd4(0x118)](){return!0x0;}constructor(_0x22b6b8){const _0x38604e=_0x6cffd4;super(_0x22b6b8),this[_0x38604e(0xe6)]=new Map();}async[_0x6cffd4(0xf8)](){const _0x253c99=_0x6cffd4,_0x4dfca3=this[_0x253c99(0xd6)],_0x3a72d8=_0x4dfca3[_0x253c99(0xd8)][_0x253c99(0xea)](_0x253c99(0xe1));if(_0x4dfca3[_0x253c99(0xd8)][_0x253c99(0xea)](_0x4902f3)[_0x253c99(0xc9)](this),_0x3a72d8[_0x253c99(0xdd)]={'addCommentThread':async({channelId:_0x2f61c,threadId:_0x4cd919,comments:_0x4150df,resolvedAt:_0x54d1c4,resolvedBy:_0x1d136a,context:_0xa725e7,attributes:_0x1655b2})=>{const _0x3e0a66=_0x253c99,_0x33db4b=await this[_0x3e0a66(0xf1)](_0x2f61c)[_0x3e0a66(0xe7)]({'commentThreadId':_0x4cd919,'comments':_0x4150df[_0x3e0a66(0xf3)](_0xfec6f9=>function(_0xa07091,_0x2983d9,_0x46c604){const _0x2f1f51=_0x3e0a66;return{'commentThreadId':_0x46c604,'commentId':_0xa07091[_0x2f1f51(0x116)],'userId':_0xa07091[_0x2f1f51(0xde)],'content':_0xa07091[_0x2f1f51(0xcb)],'documentId':_0x2983d9,'createdAt':_0xa07091[_0x2f1f51(0xca)],'attributes':_0xa07091[_0x2f1f51(0xd1)]||{}};}(_0xfec6f9,_0x2f61c,_0x4cd919)),'resolvedAt':_0x54d1c4,'resolvedBy':_0x1d136a,'context':_0xa725e7,'attributes':_0x1655b2})[_0x3e0a66(0x105)](Y);return{'threadId':_0x33db4b[_0x3e0a66(0xc1)],'comments':_0x33db4b[_0x3e0a66(0x113)]};},'getCommentThread':async({channelId:_0x496b19,threadId:_0x651488})=>{const _0x156eb4=_0x253c99,_0x358353=await this[_0x156eb4(0xf1)](_0x496b19)[_0x156eb4(0xd7)](_0x651488)[_0x156eb4(0x105)](Y);return _0x358353[_0x156eb4(0xce)]?null:(await this[_0x156eb4(0xf9)]([_0x358353]),{'threadId':_0x358353[_0x156eb4(0xc1)],'comments':_0x358353[_0x156eb4(0x113)][_0x156eb4(0xf3)](st),'context':_0x358353[_0x156eb4(0xd6)],'resolvedAt':_0x358353[_0x156eb4(0xfa)],'resolvedBy':_0x358353[_0x156eb4(0x102)],'attributes':_0x358353[_0x156eb4(0xd1)]||{}});},'updateCommentThread':async({channelId:_0x41352b,threadId:_0xd7ddc3,context:_0x8ecbea,unlinkedAt:_0x16041f,attributes:_0x465365})=>this[_0x253c99(0xf1)](_0x41352b)[_0x253c99(0xbe)]({'commentThreadId':_0xd7ddc3,'context':_0x8ecbea,'attributes':_0x465365,'unlinkedAt':_0x16041f})[_0x253c99(0x105)](nt)[_0x253c99(0x105)](Y),'resolveCommentThread':async({channelId:_0x4e6857,threadId:_0x45c5dc})=>{const _0x3f5b8c=_0x253c99,_0x2e6d66=await this[_0x3f5b8c(0xf1)](_0x4e6857)[_0x3f5b8c(0x101)](_0x45c5dc)[_0x3f5b8c(0x105)](nt)[_0x3f5b8c(0x105)](Y);return{'threadId':_0x2e6d66[_0x3f5b8c(0xc1)],'resolvedAt':_0x2e6d66[_0x3f5b8c(0xfa)],'resolvedBy':_0x2e6d66[_0x3f5b8c(0x102)]};},'reopenCommentThread':async({channelId:_0x2b1cfe,threadId:_0x489044})=>this[_0x253c99(0xf1)](_0x2b1cfe)[_0x253c99(0x11b)](_0x489044)[_0x253c99(0x105)](nt)[_0x253c99(0x105)](Y),'removeCommentThread':({channelId:_0xfe5567,threadId:_0x186540})=>this[_0x253c99(0xf1)](_0xfe5567)[_0x253c99(0xbc)](_0x186540)[_0x253c99(0x105)](nt)[_0x253c99(0x105)](Y),'addComment':({channelId:_0x4a865b,threadId:_0x563a60,commentId:_0x3565e0,content:_0x522508,attributes:_0x2c7bf5})=>this[_0x253c99(0xf1)](_0x4a865b)[_0x253c99(0xc0)](_0x563a60,_0x3565e0,_0x522508,_0x2c7bf5)[_0x253c99(0x105)](Y),'updateComment':({channelId:_0x2dd198,threadId:_0x2950cd,commentId:_0x314163,content:_0x12f9fd,attributes:_0x401ecf})=>this[_0x253c99(0xf1)](_0x2dd198)[_0x253c99(0xc8)](_0x2950cd,_0x314163,_0x12f9fd,_0x401ecf)[_0x253c99(0x105)](nt)[_0x253c99(0x105)](Y),'removeComment':({channelId:_0x46071f,threadId:_0x3ee04d,commentId:_0x529832})=>this[_0x253c99(0xf1)](_0x46071f)[_0x253c99(0xeb)](_0x3ee04d,_0x529832)[_0x253c99(0x105)](nt)[_0x253c99(0x105)](Y)},_0x4dfca3 instanceof _0x35126c){const _0x15340e=_0x4dfca3[_0x253c99(0xc3)][_0x253c99(0xea)](_0x253c99(0xcc)),_0x171bd7=_0x4dfca3[_0x253c99(0xd8)][_0x253c99(0xea)](_0x243a75);await this[_0x253c99(0xff)](_0x15340e);const _0x107fa9=await this[_0x253c99(0xe6)][_0x253c99(0xea)](_0x15340e)[_0x253c99(0x10c)]();this[_0x253c99(0xc5)](_0x171bd7,_0x253c99(0x107)+_0x15340e,(_0x16d6fe,{session:_0x2ceb91})=>{const _0x1af6c7=_0x253c99;_0x2ceb91['id']===_0x171bd7[_0x1af6c7(0x11d)]&&(_0x16d6fe[_0x1af6c7(0xdb)](),this[_0x1af6c7(0xd6)][_0x1af6c7(0xd8)][_0x1af6c7(0xea)](_0x1af6c7(0x119))[_0x1af6c7(0x100)](_0x2ceb91[_0x1af6c7(0xc7)],_0x15340e));}),_0x171bd7[_0x253c99(0xf6)](_0x15340e,_0x107fa9);}}async[_0x6cffd4(0xff)](_0x172548){const _0x485f24=_0x6cffd4;if(this[_0x485f24(0xe6)][_0x485f24(0xf5)](_0x172548))throw new _0x182892(_0x485f24(0xdc),null,{'channelId':_0x172548});const _0x5079a4=this[_0x485f24(0xd6)][_0x485f24(0xd8)][_0x485f24(0xea)](_0x485f24(0xe1)),_0x194c80=new s[(_0x485f24(0x10d))](_0x172548);this[_0x485f24(0xe6)][_0x485f24(0xf4)](_0x172548,_0x194c80),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xe0),(_0x463746,_0x152757)=>{const _0x255e86=_0x485f24,{commentThreadId:_0x212324,documentId:_0x2b68da,context:_0x4aa561,attributes:_0x6c9ace,resolvedAt:_0xccdeaf,resolvedBy:_0x36c429,comments:_0x29815b}=_0x152757;_0x5079a4[_0x255e86(0xd7)](_0x212324)||_0x5079a4[_0x255e86(0xe7)]({'threadId':_0x212324,'channelId':_0x2b68da,'comments':_0x29815b?_0x29815b[_0x255e86(0xf3)](st):[],'context':_0x4aa561,'attributes':_0x6c9ace,'resolvedAt':_0xccdeaf,'resolvedBy':_0x36c429,'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xc2),(_0x5b05d5,{commentThreadId:_0x192f90,documentId:_0x36b208,context:_0x1cfcaa,unlinkedAt:_0x246133,attributes:_0x24c340})=>{const _0x45c215=_0x485f24;_0x5079a4[_0x45c215(0xd7)](_0x192f90)&&_0x5079a4[_0x45c215(0xbe)]({'threadId':_0x192f90,'channelId':_0x36b208,'context':_0x1cfcaa,'unlinkedAt':_0x246133,'attributes':_0x24c340,'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xc6),(_0x42c00d,{commentThreadId:_0x173dcb,resolvedBy:_0x14b161,resolvedAt:_0x48b797})=>{const _0x5bcc3d=_0x485f24,_0x51a354=_0x5079a4[_0x5bcc3d(0xd7)](_0x173dcb);_0x51a354&&_0x51a354[_0x5bcc3d(0xfb)]({'resolvedBy':_0x14b161,'resolvedAt':_0x48b797,'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xfe),(_0xf0c7c9,{commentThreadId:_0x2780ea})=>{const _0x23de1d=_0x485f24,_0x2cecc9=_0x5079a4[_0x23de1d(0xd7)](_0x2780ea);_0x2cecc9&&_0x2cecc9[_0x23de1d(0xbf)]({'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xed),(_0x508bc7,{commentThreadId:_0x3691b7})=>{const _0x47c06d=_0x485f24,_0x4d3610=_0x5079a4[_0x47c06d(0xd7)](_0x3691b7);_0x4d3610&&_0x4d3610[_0x47c06d(0x117)]({'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0xfc),(_0x4fe096,_0x16baa4)=>{const _0xa9ead1=_0x485f24,_0x5e571c=_0x16baa4[_0xa9ead1(0xc1)],_0x5ac33b=_0x5079a4[_0xa9ead1(0xd7)](_0x5e571c);_0x5ac33b&&_0x5ac33b[_0xa9ead1(0xc0)]({...st(_0x16baa4),'isFromAdapter':!0x0});}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0x108),(_0x2cf765,{commentThreadId:_0x53d183,commentId:_0xa5bcac,content:_0x6095b4,attributes:_0x5c0517})=>{const _0x372ff7=_0x485f24,_0x4891dd=_0x5079a4[_0x372ff7(0xd7)](_0x53d183);if(_0x4891dd){const _0x436fcc=_0x4891dd[_0x372ff7(0x10a)](_0xa5bcac);_0x436fcc&&_0x436fcc[_0x372ff7(0xd5)]({'content':_0x6095b4,'attributes':_0x5c0517,'isFromAdapter':!0x0});}}),this[_0x485f24(0xc5)](_0x194c80,_0x485f24(0x123),(_0x236f39,{commentThreadId:_0x91c4e6,commentId:_0x1b1738})=>{const _0x33c342=_0x485f24,_0xe12fcf=_0x5079a4[_0x33c342(0xd7)](_0x91c4e6);if(_0xe12fcf){const _0x3f7960=_0xe12fcf[_0x33c342(0x10a)](_0x1b1738);_0x3f7960&&_0x3f7960[_0x33c342(0x117)]({'isFromAdapter':!0x0});}}),await this[_0x485f24(0xef)](_0x172548);}[_0x6cffd4(0x115)](){const _0x41e251=_0x6cffd4;if(this[_0x41e251(0xd6)]instanceof _0x35126c){const _0x4d8e9f=this[_0x41e251(0xd6)][_0x41e251(0xc3)][_0x41e251(0xea)](_0x41e251(0xcc));this[_0x41e251(0x121)](_0x4d8e9f);}}[_0x6cffd4(0x121)](_0x2d82f0){const _0x2ba987=_0x6cffd4;if(!this[_0x2ba987(0xe6)][_0x2ba987(0xf5)](_0x2d82f0))throw new _0x182892(_0x2ba987(0xe5),null,{'channelId':_0x2d82f0});this[_0x2ba987(0xf1)](_0x2d82f0)[_0x2ba987(0x11f)](),this[_0x2ba987(0xe6)][_0x2ba987(0x120)](_0x2d82f0);}async[_0x6cffd4(0xe8)](){const _0x32fe2b=_0x6cffd4;for(const _0x199752 of this[_0x32fe2b(0xe6)][_0x32fe2b(0xf0)]())await this[_0x32fe2b(0xef)](_0x199752);if(this[_0x32fe2b(0xd6)]instanceof _0x35126c){const _0x368a50=this[_0x32fe2b(0xd6)][_0x32fe2b(0xc3)][_0x32fe2b(0xea)](_0x32fe2b(0xcc)),_0x58ce25=this[_0x32fe2b(0xd6)][_0x32fe2b(0xd8)][_0x32fe2b(0xea)](_0x243a75);_0x58ce25[_0x32fe2b(0x109)](_0x368a50);const _0x5b66bb=await this[_0x32fe2b(0xe6)][_0x32fe2b(0xea)](_0x368a50)[_0x32fe2b(0x10c)]();_0x58ce25[_0x32fe2b(0xf6)](_0x368a50,_0x5b66bb);}}async[_0x6cffd4(0xef)](_0x552eb5){const _0x2d7497=_0x6cffd4,{connection:_0x1ed295}=this[_0x2d7497(0xd6)][_0x2d7497(0xd8)][_0x2d7497(0xea)](_0x4902f3),_0x489c22=this[_0x2d7497(0xd6)][_0x2d7497(0xd8)][_0x2d7497(0xea)](_0x2d7497(0xe1)),_0x58d77d=this[_0x2d7497(0xe6)][_0x2d7497(0xea)](_0x552eb5),_0x3ae4c5=await _0x58d77d[_0x2d7497(0xcd)](_0x1ed295);await this[_0x2d7497(0xf9)](_0x3ae4c5);const _0x334113=new Set(Array[_0x2d7497(0x11e)](_0x489c22[_0x2d7497(0x111)]({'channelId':_0x552eb5}),_0x34ef24=>_0x34ef24['id']));for(const _0x147dd5 of _0x3ae4c5)_0x147dd5[_0x2d7497(0xce)]||_0x334113[_0x2d7497(0x120)](_0x147dd5[_0x2d7497(0xc1)]);for(const _0x28eb03 of _0x334113)_0x489c22[_0x2d7497(0xd7)](_0x28eb03)[_0x2d7497(0x117)]({'isFromAdapter':!0x0});for(const _0x499634 of _0x3ae4c5){let _0x26dc96=_0x489c22[_0x2d7497(0xd7)](_0x499634[_0x2d7497(0xc1)]);const {commentThreadId:_0x46b134,context:_0x56495a,attributes:_0x4d9d89,resolvedBy:_0x3ec4e2,resolvedAt:_0x449949,unlinkedAt:_0x5a8467,deletedAt:_0x7e7d71}=_0x499634;if(_0x7e7d71)continue;_0x26dc96||(_0x26dc96=_0x489c22[_0x2d7497(0xe7)]({'channelId':_0x552eb5,'threadId':_0x46b134,'context':_0x56495a,'attributes':_0x4d9d89||{},'resolvedBy':_0x3ec4e2,'resolvedAt':_0x449949,'unlinkedAt':_0x5a8467,'isFromAdapter':!0x0}));const _0x3684a1=new Set(Array[_0x2d7497(0x11e)](_0x26dc96[_0x2d7497(0x113)],_0x3b1ba2=>_0x3b1ba2['id']));for(const _0x42f49a of _0x499634[_0x2d7497(0x113)])_0x3684a1[_0x2d7497(0x120)](_0x42f49a[_0x2d7497(0x116)]);for(const _0x45cd5b of _0x3684a1)_0x26dc96[_0x2d7497(0x10a)](_0x45cd5b)[_0x2d7497(0x117)]({'isFromAdapter':!0x0});for(const _0x23696f of _0x499634[_0x2d7497(0x113)]){const _0x18a234=_0x26dc96[_0x2d7497(0x10a)](_0x23696f[_0x2d7497(0x116)]);_0x18a234?_0x18a234[_0x2d7497(0xcb)]!==_0x23696f[_0x2d7497(0xcb)]&&_0x18a234[_0x2d7497(0xd5)]({'content':_0x23696f[_0x2d7497(0xcb)],'isFromAdapter':!0x0}):_0x26dc96[_0x2d7497(0xc0)](Object[_0x2d7497(0xe4)](st(_0x23696f),{'isFromAdapter':!0x0}));}}}[_0x6cffd4(0xf1)](_0x5ed4e3){const _0x2e7d85=_0x6cffd4;if(!this[_0x2e7d85(0xe6)][_0x2e7d85(0xf5)](_0x5ed4e3))throw new _0x182892(_0x2e7d85(0xe3),null,{'channelId':_0x5ed4e3});return this[_0x2e7d85(0xe6)][_0x2e7d85(0xea)](_0x5ed4e3);}async[_0x6cffd4(0xf9)](_0x38ec3e){const _0x533176=_0x6cffd4,_0x63fb24=this[_0x533176(0xd6)][_0x533176(0xd8)][_0x533176(0xea)](_0x17181c),{connection:_0x3e420f}=this[_0x533176(0xd6)][_0x533176(0xd8)][_0x533176(0xea)](_0x4902f3),_0x505c59=new Set();for(const {resolvedBy:_0x26c4bb,comments:_0x109e8c}of _0x38ec3e){_0x26c4bb&&!_0x63fb24[_0x533176(0x104)](_0x26c4bb)&&_0x505c59[_0x533176(0x10b)](_0x26c4bb);for(const {userId:_0x2ae6d7}of _0x109e8c)_0x63fb24[_0x533176(0x104)](_0x2ae6d7)||_0x505c59[_0x533176(0x10b)](_0x2ae6d7);}if(0x0===_0x505c59[_0x533176(0x11a)])return;const _0x2ab49c=await _0x4123ac[_0x533176(0xf2)](_0x3e420f,Array[_0x533176(0x11e)](_0x505c59));for(const _0xd37322 of _0x2ab49c)_0x63fb24[_0x533176(0x104)](_0xd37322['id'])||_0x63fb24[_0x533176(0xd4)](_0xd37322);}}function _0x549b(){const _0x1de479=['unregister','getComment','add','getConnectedSessions','CommentsService','cloud-services-internal-error:\x20Request\x20timeout.','isOfficialPlugin','2664KEGXDP','getCommentThreads','61062lJVYpj','comments','369680YECzLX','destroy','commentId','remove','isPremiumPlugin','Permissions','size','reopenCommentThread','CloudServicesCommentsAdapter','mySessionId','from','disconnect','delete','_terminateService','11342122bplaCS','commentRemoved','66dskxWC','removeCommentThread','5473848CRmViE','updateCommentThread','reopen','addComment','commentThreadId','commentThreadUpdated','config','47844yFELWG','listenTo','commentThreadResolved','permissions','updateComment','addToReconnectionStack','createdAt','content','collaboration.channelId','connect','deletedAt','2LUoUwk','1504essVMh','attributes','userId','404','addUser','update','context','getCommentThread','plugins','message','startsWith','off','cloudservicescommentsadapter-connect-already-connected','adapter','authorId','cloud-services-internal-error:\x20Not\x20connected.','commentThreadAdded','CommentsRepository','3Wenbrc','cloudservicescommentsadapter-service-not-exist','assign','cloudservicescommentsadapter-disconnect-not-exist','_services','addCommentThread','reconnect','10667594vkijJT','get','removeComment','pluginName','commentThreadRemoved','requires','_connectService','keys','_getService','getMany','map','set','has','register','224276XoPUcK','init','_fetchMissingUsersForThreads','resolvedAt','resolve','commentAdded','code','commentThreadReopened','_setUpService','setPermissions','resolveCommentThread','resolvedBy','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getUser','catch','10spCjSc','sessionAdd:','commentUpdated'];_0x549b=function(){return _0x1de479;};return _0x549b();}export{s as CloudServicesCommentsAdapter};function _0x186d(_0x43becf,_0x429efc){const _0x549b77=_0x549b();return _0x186d=function(_0x186d8e,_0x4d5626){_0x186d8e=_0x186d8e-0xbc;let _0x345ff0=_0x549b77[_0x186d8e];return _0x345ff0;},_0x186d(_0x43becf,_0x429efc);}async function nt(_0x2f0dde){const _0x520515=_0x6cffd4;if(_0x520515(0xd3)!==_0x2f0dde[_0x520515(0xfd)])throw _0x2f0dde;}function Y(_0x4486f8){const _0x23e8b1=_0x6cffd4;if((_0x18571d=_0x4486f8)[_0x23e8b1(0xd9)][_0x23e8b1(0xda)](_0x23e8b1(0x103))||_0x18571d[_0x23e8b1(0xd9)][_0x23e8b1(0xda)](_0x23e8b1(0xdf))||_0x18571d[_0x23e8b1(0xd9)][_0x23e8b1(0xda)](_0x23e8b1(0x10e)))return new Promise(()=>{});var _0x18571d;throw _0x4486f8;}function st(_0x5a2ae4){const _0x21ce80=_0x6cffd4;return{'threadId':_0x5a2ae4[_0x21ce80(0xc1)],'commentId':_0x5a2ae4[_0x21ce80(0x116)],'content':_0x5a2ae4[_0x21ce80(0xcb)],'createdAt':_0x5a2ae4[_0x21ce80(0xca)],'authorId':_0x5a2ae4[_0x21ce80(0xd2)],'attributes':_0x5a2ae4[_0x21ce80(0xd1)]||{}};}
|
|
23
|
+
const _0x5cdeae=_0x2f6c;(function(_0x449abf,_0x3f9884){const _0x5f2b2c=_0x2f6c,_0x581e38=_0x449abf();while(!![]){try{const _0x2d0925=parseInt(_0x5f2b2c(0x21f))/0x1+parseInt(_0x5f2b2c(0x1f3))/0x2*(parseInt(_0x5f2b2c(0x1f7))/0x3)+parseInt(_0x5f2b2c(0x225))/0x4*(parseInt(_0x5f2b2c(0x216))/0x5)+parseInt(_0x5f2b2c(0x23c))/0x6+-parseInt(_0x5f2b2c(0x209))/0x7+parseInt(_0x5f2b2c(0x235))/0x8*(parseInt(_0x5f2b2c(0x203))/0x9)+-parseInt(_0x5f2b2c(0x239))/0xa;if(_0x2d0925===_0x3f9884)break;else _0x581e38['push'](_0x581e38['shift']());}catch(_0x4d1a5a){_0x581e38['push'](_0x581e38['shift']());}}}(_0x1ebc,0x804c7));import{Context as _0xb8c2d8,ContextPlugin as _0x39c876}from'ckeditor5/src/core.js';import{CKEditorError as _0xf29afb}from'ckeditor5/src/utils.js';import{Users as _0x45208d}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x1ebc(){const _0xba406c=['mySessionId','addUser','sessionAdd:','CommentsRepository','commentAdded','deletedAt','commentId','cloud-services-internal-error:\x20Not\x20connected.','connect','CommentsService','7655QMLdXa','register','assign','message','getMany','from','_services','getUser','authorId','885874FYwzbF','updateComment','keys','startsWith','userId','requires','1468OSMRVw','reconnect','commentThreadReopened','add','destroy','resolvedAt','init','catch','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','_getService','pluginName','reopen','commentThreadId','commentThreadRemoved','addToReconnectionStack','getConnectedSessions','3730280maDTZE','context','get','disconnect','15326940nqRzbt','_fetchMissingUsersForThreads','config','3635568NjKNrf','comments','_connectService','addCommentThread','isOfficialPlugin','createdAt','unregister','getCommentThreads','isPremiumPlugin','setPermissions','cloud-services-internal-error:\x20Request\x20timeout.','delete','collaboration.channelId','permissions','commentThreadAdded','getComment','adapter','commentThreadResolved','cloudservicescommentsadapter-disconnect-not-exist','resolve','remove','plugins','cloudservicescommentsadapter-service-not-exist','cloudservicescommentsadapter-connect-already-connected','resolveCommentThread','updateCommentThread','404','removeCommentThread','_terminateService','8NaqzAH','code','map','Permissions','210774SWFFHg','set','commentRemoved','resolvedBy','commentUpdated','off','attributes','addComment','removeComment','size','update','listenTo','9OpAOgI','content','CloudServicesCommentsAdapter','has','getCommentThread','reopenCommentThread','5199537gdaUQa','_setUpService','commentThreadUpdated'];_0x1ebc=function(){return _0xba406c;};return _0x1ebc();}import{CommentsService as _0x237c26,User as _0x12b2cb}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';function _0x2f6c(_0x4de9dd,_0x5e183e){const _0x1ebc2d=_0x1ebc();return _0x2f6c=function(_0x2f6c8c,_0xd02c15){_0x2f6c8c=_0x2f6c8c-0x1e5;let _0x466157=_0x1ebc2d[_0x2f6c8c];return _0x466157;},_0x2f6c(_0x4de9dd,_0x5e183e);}import{WebSocketGateway as _0x4158e6}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x5b1a09}from'../realtimecollaborativeediting/sessions.js';class s extends _0x39c876{static [_0x5cdeae(0x215)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x237c26)());[_0x5cdeae(0x21c)];static get[_0x5cdeae(0x224)](){const _0x243f98=_0x5cdeae;return[_0x4158e6,_0x243f98(0x20f),_0x5b1a09,_0x45208d];}static get[_0x5cdeae(0x22f)](){const _0xe65ed=_0x5cdeae;return _0xe65ed(0x205);}static get[_0x5cdeae(0x240)](){return!0x0;}static get[_0x5cdeae(0x244)](){return!0x0;}constructor(_0x18063b){const _0x11ba0a=_0x5cdeae;super(_0x18063b),this[_0x11ba0a(0x21c)]=new Map();}async[_0x5cdeae(0x22b)](){const _0x374afe=_0x5cdeae,_0x15f45b=this[_0x374afe(0x236)],_0x409a91=_0x15f45b[_0x374afe(0x1eb)][_0x374afe(0x237)](_0x374afe(0x20f));if(_0x15f45b[_0x374afe(0x1eb)][_0x374afe(0x237)](_0x4158e6)[_0x374afe(0x233)](this),_0x409a91[_0x374afe(0x1e6)]={'addCommentThread':async({channelId:_0x1bf8e0,threadId:_0x5e2567,comments:_0x57debf,resolvedAt:_0x1361f8,resolvedBy:_0x41672d,context:_0x51b624,attributes:_0x5d83d4})=>{const _0x34f02f=_0x374afe,_0x5c2bf3=await this[_0x34f02f(0x22e)](_0x1bf8e0)[_0x34f02f(0x23f)]({'commentThreadId':_0x5e2567,'comments':_0x57debf[_0x34f02f(0x1f5)](_0x29ba41=>function(_0x796015,_0x5089a8,_0x2ee46a){const _0x2d7e17=_0x34f02f;return{'commentThreadId':_0x2ee46a,'commentId':_0x796015[_0x2d7e17(0x212)],'userId':_0x796015[_0x2d7e17(0x21e)],'content':_0x796015[_0x2d7e17(0x204)],'documentId':_0x5089a8,'createdAt':_0x796015[_0x2d7e17(0x241)],'attributes':_0x796015[_0x2d7e17(0x1fd)]||{}};}(_0x29ba41,_0x1bf8e0,_0x5e2567)),'resolvedAt':_0x1361f8,'resolvedBy':_0x41672d,'context':_0x51b624,'attributes':_0x5d83d4})[_0x34f02f(0x22c)](B);return{'threadId':_0x5c2bf3[_0x34f02f(0x231)],'comments':_0x5c2bf3[_0x34f02f(0x23d)]};},'getCommentThread':async({channelId:_0x378765,threadId:_0x2cdc2f})=>{const _0xb5fd05=_0x374afe,_0x426690=await this[_0xb5fd05(0x22e)](_0x378765)[_0xb5fd05(0x207)](_0x2cdc2f)[_0xb5fd05(0x22c)](B);return _0x426690[_0xb5fd05(0x211)]?null:(await this[_0xb5fd05(0x23a)]([_0x426690]),{'threadId':_0x426690[_0xb5fd05(0x231)],'comments':_0x426690[_0xb5fd05(0x23d)][_0xb5fd05(0x1f5)](U),'context':_0x426690[_0xb5fd05(0x236)],'resolvedAt':_0x426690[_0xb5fd05(0x22a)],'resolvedBy':_0x426690[_0xb5fd05(0x1fa)],'attributes':_0x426690[_0xb5fd05(0x1fd)]||{}});},'updateCommentThread':async({channelId:_0x34f397,threadId:_0x2f27f1,context:_0x48d482,unlinkedAt:_0x35d044,attributes:_0x1a0708})=>this[_0x374afe(0x22e)](_0x34f397)[_0x374afe(0x1ef)]({'commentThreadId':_0x2f27f1,'context':_0x48d482,'attributes':_0x1a0708,'unlinkedAt':_0x35d044})[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'resolveCommentThread':async({channelId:_0x359bd0,threadId:_0x147f80})=>{const _0x47cc7f=_0x374afe,_0x4108c2=await this[_0x47cc7f(0x22e)](_0x359bd0)[_0x47cc7f(0x1ee)](_0x147f80)[_0x47cc7f(0x22c)](F)[_0x47cc7f(0x22c)](B);return{'threadId':_0x4108c2[_0x47cc7f(0x231)],'resolvedAt':_0x4108c2[_0x47cc7f(0x22a)],'resolvedBy':_0x4108c2[_0x47cc7f(0x1fa)]};},'reopenCommentThread':async({channelId:_0x49ec4e,threadId:_0x29ed23})=>this[_0x374afe(0x22e)](_0x49ec4e)[_0x374afe(0x208)](_0x29ed23)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'removeCommentThread':({channelId:_0x408d0d,threadId:_0x17f1e5})=>this[_0x374afe(0x22e)](_0x408d0d)[_0x374afe(0x1f1)](_0x17f1e5)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'addComment':({channelId:_0x2eff79,threadId:_0x428399,commentId:_0x2e7bd6,content:_0xf102db,attributes:_0x677fdd})=>this[_0x374afe(0x22e)](_0x2eff79)[_0x374afe(0x1fe)](_0x428399,_0x2e7bd6,_0xf102db,_0x677fdd)[_0x374afe(0x22c)](B),'updateComment':({channelId:_0xa3ce11,threadId:_0x19895f,commentId:_0x719f4b,content:_0x4aad36,attributes:_0x54e7b8})=>this[_0x374afe(0x22e)](_0xa3ce11)[_0x374afe(0x220)](_0x19895f,_0x719f4b,_0x4aad36,_0x54e7b8)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B),'removeComment':({channelId:_0x25f7d1,threadId:_0x51057a,commentId:_0x5e4673})=>this[_0x374afe(0x22e)](_0x25f7d1)[_0x374afe(0x1ff)](_0x51057a,_0x5e4673)[_0x374afe(0x22c)](F)[_0x374afe(0x22c)](B)},_0x15f45b instanceof _0xb8c2d8){const _0x1f1ea2=_0x15f45b[_0x374afe(0x23b)][_0x374afe(0x237)](_0x374afe(0x248)),_0x5277de=_0x15f45b[_0x374afe(0x1eb)][_0x374afe(0x237)](_0x5b1a09);await this[_0x374afe(0x20a)](_0x1f1ea2);const _0x1fbcad=await this[_0x374afe(0x21c)][_0x374afe(0x237)](_0x1f1ea2)[_0x374afe(0x234)]();this[_0x374afe(0x202)](_0x5277de,_0x374afe(0x20e)+_0x1f1ea2,(_0x1f6e09,{session:_0x38bf3f})=>{const _0x1273a9=_0x374afe;_0x38bf3f['id']===_0x5277de[_0x1273a9(0x20c)]&&(_0x1f6e09[_0x1273a9(0x1fc)](),this[_0x1273a9(0x236)][_0x1273a9(0x1eb)][_0x1273a9(0x237)](_0x1273a9(0x1f6))[_0x1273a9(0x245)](_0x38bf3f[_0x1273a9(0x249)],_0x1f1ea2));}),_0x5277de[_0x374afe(0x217)](_0x1f1ea2,_0x1fbcad);}}async[_0x5cdeae(0x20a)](_0x46c7c1){const _0x17594b=_0x5cdeae;if(this[_0x17594b(0x21c)][_0x17594b(0x206)](_0x46c7c1))throw new _0xf29afb(_0x17594b(0x1ed),null,{'channelId':_0x46c7c1});const _0x4736d3=this[_0x17594b(0x236)][_0x17594b(0x1eb)][_0x17594b(0x237)](_0x17594b(0x20f)),_0x4d483d=new s[(_0x17594b(0x215))](_0x46c7c1);this[_0x17594b(0x21c)][_0x17594b(0x1f8)](_0x46c7c1,_0x4d483d),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x24a),(_0x62e229,_0x4721aa)=>{const _0x215805=_0x17594b,{commentThreadId:_0x545678,documentId:_0x4de0b8,context:_0x3c8210,attributes:_0x5a3da7,resolvedAt:_0x31eaa6,resolvedBy:_0x4ecfe8,comments:_0x4f3ae8}=_0x4721aa;_0x4736d3[_0x215805(0x207)](_0x545678)||_0x4736d3[_0x215805(0x23f)]({'threadId':_0x545678,'channelId':_0x4de0b8,'comments':_0x4f3ae8?_0x4f3ae8[_0x215805(0x1f5)](U):[],'context':_0x3c8210,'attributes':_0x5a3da7,'resolvedAt':_0x31eaa6,'resolvedBy':_0x4ecfe8,'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x20b),(_0x3df745,{commentThreadId:_0x5ae550,documentId:_0x5dc52f,context:_0x2009e3,unlinkedAt:_0x3333c4,attributes:_0xf23751})=>{const _0x585c3b=_0x17594b;_0x4736d3[_0x585c3b(0x207)](_0x5ae550)&&_0x4736d3[_0x585c3b(0x1ef)]({'threadId':_0x5ae550,'channelId':_0x5dc52f,'context':_0x2009e3,'unlinkedAt':_0x3333c4,'attributes':_0xf23751,'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x1e7),(_0x15c1c1,{commentThreadId:_0x20bc72,resolvedBy:_0x3618a9,resolvedAt:_0x59edfa})=>{const _0x48ad1f=_0x17594b,_0x414552=_0x4736d3[_0x48ad1f(0x207)](_0x20bc72);_0x414552&&_0x414552[_0x48ad1f(0x1e9)]({'resolvedBy':_0x3618a9,'resolvedAt':_0x59edfa,'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x227),(_0x82b597,{commentThreadId:_0x58b9ae})=>{const _0x268b34=_0x17594b,_0x379471=_0x4736d3[_0x268b34(0x207)](_0x58b9ae);_0x379471&&_0x379471[_0x268b34(0x230)]({'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x232),(_0x3a9833,{commentThreadId:_0x33824a})=>{const _0x192600=_0x17594b,_0x464b59=_0x4736d3[_0x192600(0x207)](_0x33824a);_0x464b59&&_0x464b59[_0x192600(0x1ea)]({'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x210),(_0x41b3b2,_0x3d5028)=>{const _0x5dcc18=_0x17594b,_0x2d7f4a=_0x3d5028[_0x5dcc18(0x231)],_0x4ac4d7=_0x4736d3[_0x5dcc18(0x207)](_0x2d7f4a);_0x4ac4d7&&_0x4ac4d7[_0x5dcc18(0x1fe)]({...U(_0x3d5028),'isFromAdapter':!0x0});}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x1fb),(_0x2d13ee,{commentThreadId:_0xd566b1,commentId:_0x31a0ee,content:_0xa1f1ab,attributes:_0x36a0c1})=>{const _0x23ae55=_0x17594b,_0x266a64=_0x4736d3[_0x23ae55(0x207)](_0xd566b1);if(_0x266a64){const _0xaf920=_0x266a64[_0x23ae55(0x1e5)](_0x31a0ee);_0xaf920&&_0xaf920[_0x23ae55(0x201)]({'content':_0xa1f1ab,'attributes':_0x36a0c1,'isFromAdapter':!0x0});}}),this[_0x17594b(0x202)](_0x4d483d,_0x17594b(0x1f9),(_0x5f2872,{commentThreadId:_0x70cdd6,commentId:_0x2f6f6a})=>{const _0x45ca0e=_0x17594b,_0x4fd7ae=_0x4736d3[_0x45ca0e(0x207)](_0x70cdd6);if(_0x4fd7ae){const _0x240311=_0x4fd7ae[_0x45ca0e(0x1e5)](_0x2f6f6a);_0x240311&&_0x240311[_0x45ca0e(0x1ea)]({'isFromAdapter':!0x0});}}),await this[_0x17594b(0x23e)](_0x46c7c1);}[_0x5cdeae(0x229)](){const _0x42a233=_0x5cdeae;if(this[_0x42a233(0x236)]instanceof _0xb8c2d8){const _0xe29c16=this[_0x42a233(0x236)][_0x42a233(0x23b)][_0x42a233(0x237)](_0x42a233(0x248));this[_0x42a233(0x1f2)](_0xe29c16);}}[_0x5cdeae(0x1f2)](_0x5a9e4c){const _0x508498=_0x5cdeae;if(!this[_0x508498(0x21c)][_0x508498(0x206)](_0x5a9e4c))throw new _0xf29afb(_0x508498(0x1e8),null,{'channelId':_0x5a9e4c});this[_0x508498(0x22e)](_0x5a9e4c)[_0x508498(0x238)](),this[_0x508498(0x21c)][_0x508498(0x247)](_0x5a9e4c);}async[_0x5cdeae(0x226)](){const _0x46623c=_0x5cdeae;for(const _0x1687c4 of this[_0x46623c(0x21c)][_0x46623c(0x221)]())await this[_0x46623c(0x23e)](_0x1687c4);if(this[_0x46623c(0x236)]instanceof _0xb8c2d8){const _0x3420c8=this[_0x46623c(0x236)][_0x46623c(0x23b)][_0x46623c(0x237)](_0x46623c(0x248)),_0x48de23=this[_0x46623c(0x236)][_0x46623c(0x1eb)][_0x46623c(0x237)](_0x5b1a09);_0x48de23[_0x46623c(0x242)](_0x3420c8);const _0x1f211c=await this[_0x46623c(0x21c)][_0x46623c(0x237)](_0x3420c8)[_0x46623c(0x234)]();_0x48de23[_0x46623c(0x217)](_0x3420c8,_0x1f211c);}}async[_0x5cdeae(0x23e)](_0x4b9243){const _0x2939de=_0x5cdeae,{connection:_0x2ebdaa}=this[_0x2939de(0x236)][_0x2939de(0x1eb)][_0x2939de(0x237)](_0x4158e6),_0x169fd9=this[_0x2939de(0x236)][_0x2939de(0x1eb)][_0x2939de(0x237)](_0x2939de(0x20f)),_0x3401f0=this[_0x2939de(0x21c)][_0x2939de(0x237)](_0x4b9243),_0x23d986=await _0x3401f0[_0x2939de(0x214)](_0x2ebdaa);await this[_0x2939de(0x23a)](_0x23d986);const _0x13e618=new Set(Array[_0x2939de(0x21b)](_0x169fd9[_0x2939de(0x243)]({'channelId':_0x4b9243}),_0x478e6d=>_0x478e6d['id']));for(const _0x1698d2 of _0x23d986)_0x1698d2[_0x2939de(0x211)]||_0x13e618[_0x2939de(0x247)](_0x1698d2[_0x2939de(0x231)]);for(const _0x30859b of _0x13e618)_0x169fd9[_0x2939de(0x207)](_0x30859b)[_0x2939de(0x1ea)]({'isFromAdapter':!0x0});for(const _0x3596ab of _0x23d986){let _0x3fca04=_0x169fd9[_0x2939de(0x207)](_0x3596ab[_0x2939de(0x231)]);const {commentThreadId:_0x2bb57a,context:_0x3d1d22,attributes:_0x14fd1a,resolvedBy:_0x37f80f,resolvedAt:_0x32d79f,unlinkedAt:_0x4fea85,deletedAt:_0x18a938}=_0x3596ab;if(_0x18a938)continue;_0x3fca04||(_0x3fca04=_0x169fd9[_0x2939de(0x23f)]({'channelId':_0x4b9243,'threadId':_0x2bb57a,'context':_0x3d1d22,'attributes':_0x14fd1a||{},'resolvedBy':_0x37f80f,'resolvedAt':_0x32d79f,'unlinkedAt':_0x4fea85,'isFromAdapter':!0x0}));const _0x1771be=new Set(Array[_0x2939de(0x21b)](_0x3fca04[_0x2939de(0x23d)],_0x8d5f0e=>_0x8d5f0e['id']));for(const _0x131d36 of _0x3596ab[_0x2939de(0x23d)])_0x1771be[_0x2939de(0x247)](_0x131d36[_0x2939de(0x212)]);for(const _0x3e2dd8 of _0x1771be)_0x3fca04[_0x2939de(0x1e5)](_0x3e2dd8)[_0x2939de(0x1ea)]({'isFromAdapter':!0x0});for(const _0x594537 of _0x3596ab[_0x2939de(0x23d)]){const _0x36acfe=_0x3fca04[_0x2939de(0x1e5)](_0x594537[_0x2939de(0x212)]);_0x36acfe?_0x36acfe[_0x2939de(0x204)]!==_0x594537[_0x2939de(0x204)]&&_0x36acfe[_0x2939de(0x201)]({'content':_0x594537[_0x2939de(0x204)],'isFromAdapter':!0x0}):_0x3fca04[_0x2939de(0x1fe)](Object[_0x2939de(0x218)](U(_0x594537),{'isFromAdapter':!0x0}));}}}[_0x5cdeae(0x22e)](_0x45268f){const _0xadabce=_0x5cdeae;if(!this[_0xadabce(0x21c)][_0xadabce(0x206)](_0x45268f))throw new _0xf29afb(_0xadabce(0x1ec),null,{'channelId':_0x45268f});return this[_0xadabce(0x21c)][_0xadabce(0x237)](_0x45268f);}async[_0x5cdeae(0x23a)](_0x3137b4){const _0x57d8ee=_0x5cdeae,_0x7fcde7=this[_0x57d8ee(0x236)][_0x57d8ee(0x1eb)][_0x57d8ee(0x237)](_0x45208d),{connection:_0x4ec6da}=this[_0x57d8ee(0x236)][_0x57d8ee(0x1eb)][_0x57d8ee(0x237)](_0x4158e6),_0x2c17c0=new Set();for(const {resolvedBy:_0x1f9415,comments:_0x2ba1ca}of _0x3137b4){_0x1f9415&&!_0x7fcde7[_0x57d8ee(0x21d)](_0x1f9415)&&_0x2c17c0[_0x57d8ee(0x228)](_0x1f9415);for(const {userId:_0x2eb3a9}of _0x2ba1ca)_0x7fcde7[_0x57d8ee(0x21d)](_0x2eb3a9)||_0x2c17c0[_0x57d8ee(0x228)](_0x2eb3a9);}if(0x0===_0x2c17c0[_0x57d8ee(0x200)])return;const _0x473bdd=await _0x12b2cb[_0x57d8ee(0x21a)](_0x4ec6da,Array[_0x57d8ee(0x21b)](_0x2c17c0));for(const _0x3b4908 of _0x473bdd)_0x7fcde7[_0x57d8ee(0x21d)](_0x3b4908['id'])||_0x7fcde7[_0x57d8ee(0x20d)](_0x3b4908);}}export{s as CloudServicesCommentsAdapter};async function F(_0x62fdd5){const _0xf1cb8a=_0x5cdeae;if(_0xf1cb8a(0x1f0)!==_0x62fdd5[_0xf1cb8a(0x1f4)])throw _0x62fdd5;}function B(_0xd346c){const _0x48e0b1=_0x5cdeae;if((_0x48d68a=_0xd346c)[_0x48e0b1(0x219)][_0x48e0b1(0x222)](_0x48e0b1(0x22d))||_0x48d68a[_0x48e0b1(0x219)][_0x48e0b1(0x222)](_0x48e0b1(0x213))||_0x48d68a[_0x48e0b1(0x219)][_0x48e0b1(0x222)](_0x48e0b1(0x246)))return new Promise(()=>{});var _0x48d68a;throw _0xd346c;}function U(_0x2c6878){const _0x1e79b0=_0x5cdeae;return{'threadId':_0x2c6878[_0x1e79b0(0x231)],'commentId':_0x2c6878[_0x1e79b0(0x212)],'content':_0x2c6878[_0x1e79b0(0x204)],'createdAt':_0x2c6878[_0x1e79b0(0x241)],'authorId':_0x2c6878[_0x1e79b0(0x223)],'attributes':_0x2c6878[_0x1e79b0(0x1fd)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x19218e=_0x1a1f;function _0x908b(){const _0x4f20e9=['listenTo','612916haAPzg','collaboration.channelId','editor','2974614XVXGkk','2wnzFUQ','99HdUBzK','isOfficialPlugin','once','plugins','638589VMfYxZ','switchReadOnly','665272MfmCos','2477646IbECFS','pluginName','requires','5fbbRqp','config','get','init','111190dZbZiu','CommentsEditing','connected','CommentsRepository','isPremiumPlugin','change:state','RealTimeCollaborativeComments','_setUpService','3892553QCgkxo','_terminateService','data','ready','destroy','Comments','isThreadsLoadingPaused'];_0x908b=function(){return _0x4f20e9;};return _0x908b();}(function(_0xa8ecd5,_0x1d6fd9){const _0x1b8d29=_0x1a1f,_0x5daa33=_0xa8ecd5();while(!![]){try{const _0x1e760f=-parseInt(_0x1b8d29(0x95))/0x1+-parseInt(_0x1b8d29(0x90))/0x2*(-parseInt(_0x1b8d29(0x8f))/0x3)+parseInt(_0x1b8d29(0x8c))/0x4+parseInt(_0x1b8d29(0x9b))/0x5*(-parseInt(_0x1b8d29(0x98))/0x6)+parseInt(_0x1b8d29(0x84))/0x7+parseInt(_0x1b8d29(0x97))/0x8+parseInt(_0x1b8d29(0x91))/0x9*(parseInt(_0x1b8d29(0x9f))/0xa);if(_0x1e760f===_0x1d6fd9)break;else _0x5daa33['push'](_0x5daa33['shift']());}catch(_0x3b929f){_0x5daa33['push'](_0x5daa33['shift']());}}}(_0x908b,0xd0b00));import{Plugin as _0x274199}from'ckeditor5/src/core.js';function _0x1a1f(_0x3d7fda,_0x4d3b13){const _0x908b8d=_0x908b();return _0x1a1f=function(_0x1a1f9f,_0x5a7a70){_0x1a1f9f=_0x1a1f9f-0x7e;let _0x1da7ca=_0x908b8d[_0x1a1f9f];return _0x1da7ca;},_0x1a1f(_0x3d7fda,_0x4d3b13);}import{CloudServicesCommentsAdapter as _0x3340f4}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x5c56ec}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x5b6e06}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x274199{static get[_0x19218e(0x9a)](){const _0x90438a=_0x19218e;return[_0x90438a(0x89),_0x3340f4,_0x5c56ec,_0x5b6e06];}static get[_0x19218e(0x99)](){const _0xf22c7a=_0x19218e;return _0xf22c7a(0x82);}static get[_0x19218e(0x92)](){return!0x0;}static get[_0x19218e(0x80)](){return!0x0;}[_0x19218e(0x9e)](){const _0x1153a7=_0x19218e,_0x13fb6b=this[_0x1153a7(0x8e)][_0x1153a7(0x94)][_0x1153a7(0x9d)](_0x5b6e06),_0x1260c4=this[_0x1153a7(0x8e)][_0x1153a7(0x94)][_0x1153a7(0x9d)](_0x1153a7(0xa0)),_0x43dad1=this[_0x1153a7(0x8e)][_0x1153a7(0x94)][_0x1153a7(0x9d)](_0x3340f4);return this[_0x1153a7(0x8e)][_0x1153a7(0x86)][_0x1153a7(0x93)](_0x1153a7(0x87),()=>{const _0x5a4907=_0x1153a7;this[_0x5a4907(0x8b)](_0x13fb6b,_0x5a4907(0x81),(_0x256eef,_0x3ee45d,_0x5546ae)=>{const _0x4dab26=_0x5a4907;_0x1260c4[_0x4dab26(0x8a)]=_0x4dab26(0x7e)!==_0x5546ae;});}),this[_0x1153a7(0x8b)](_0x13fb6b,_0x1153a7(0x81),(_0x22711d,_0x1f27fc,_0x17b65a)=>{const _0x4f5c29=_0x1153a7;this[_0x4f5c29(0x8e)][_0x4f5c29(0x94)][_0x4f5c29(0x9d)](_0x4f5c29(0x7f))[_0x4f5c29(0x96)](_0x4f5c29(0x7e)!==_0x17b65a);}),_0x43dad1[_0x1153a7(0x83)](this[_0x1153a7(0x8e)][_0x1153a7(0x9c)][_0x1153a7(0x9d)](_0x1153a7(0x8d)));}[_0x19218e(0x88)](){const _0x303964=_0x19218e;this[_0x303964(0x8e)][_0x303964(0x94)][_0x303964(0x9d)](_0x3340f4)[_0x303964(0x85)](this[_0x303964(0x8e)][_0x303964(0x9c)][_0x303964(0x9d)](_0x303964(0x8d))),super[_0x303964(0x88)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x553327)());[_0x129844(0x158)];[_0x129844(0x100)];[_0x129844(0x136)];[_0x129844(0x139)];[_0x129844(0x17b)];[_0x129844(0x12a)];[_0x129844(0x164)];[_0x129844(0x1e9)];[_0x129844(0x1da)];[_0x129844(0x17f)];[_0x129844(0x146)];[_0x129844(0x162)];[_0x129844(0x14f)];[_0x129844(0x170)];[_0x129844(0xf2)];[_0x129844(0x1bf)];[_0x129844(0x134)];[_0x129844(0x153)];static get[_0x129844(0x166)](){return[_0x3d02a5,_0x50fc72,_0x4078fb,_0x5337d1,_0x4e66c4,_0x53064e];}static get[_0x129844(0x10c)](){const _0x247a79=_0x129844;return _0x247a79(0xed);}static get[_0x129844(0x119)](){return!0x0;}static get[_0x129844(0x19b)](){return!0x0;}get[_0x129844(0x186)](){const _0x549aa1=_0x129844;return this[_0x549aa1(0xe8)]+this[_0x549aa1(0x158)];}get[_0x129844(0xe8)](){const _0x449d54=_0x129844;return this[_0x449d54(0x136)][_0x449d54(0x195)]-this[_0x449d54(0x158)];}get[_0x129844(0x18f)](){const _0x14050b=_0x129844,_0x312993=this[_0x14050b(0x136)][_0x14050b(0x122)]();for(let _0x51c304=_0x312993[_0x14050b(0x11b)]-0x1;_0x51c304>=0x0;_0x51c304--){const _0x2d485d=_0x312993[_0x51c304];if(!this[_0x14050b(0x134)][_0x14050b(0x13b)](_0x2d485d))return _0x2d485d[_0x14050b(0x177)]+0x1-this[_0x14050b(0x158)];}return 0x0;}constructor(_0x68deb1){const _0x31fcae=_0x129844;if(super(_0x68deb1),this[_0x31fcae(0x158)]=0x0,this[_0x31fcae(0x100)]=null,this[_0x31fcae(0x136)]=new _0x5400d5(),this[_0x31fcae(0x106)][_0x31fcae(0x192)][_0x31fcae(0x169)](_0x31fcae(0x11c),{}),this[_0x31fcae(0x139)]=this[_0x31fcae(0x106)][_0x31fcae(0x192)][_0x31fcae(0x1c4)](_0x31fcae(0x1df)),!this[_0x31fcae(0x139)])throw new _0x45f620(_0x31fcae(0x145),this);const _0x3e7143=_0x68deb1[_0x31fcae(0x192)][_0x31fcae(0x1c4)](_0x31fcae(0x131))||_0x345174;this[_0x31fcae(0x17b)]=new l[(_0x31fcae(0x120))](_0x3e7143,this[_0x31fcae(0x139)]),this[_0x31fcae(0x12a)]=this[_0x31fcae(0x106)][_0x31fcae(0xef)][_0x31fcae(0x1e5)],this[_0x31fcae(0x164)]=new _0x40c5fd(),this[_0x31fcae(0x1e9)]=[],this[_0x31fcae(0x1da)]=new WeakSet(),this[_0x31fcae(0x17f)]=new Set(),this[_0x31fcae(0x1be)](_0x31fcae(0x184),!0x1),this[_0x31fcae(0x1be)](_0x31fcae(0x12b),!0x1),this[_0x31fcae(0x146)]=null,this[_0x31fcae(0x162)]=!0x1,this[_0x31fcae(0x14f)]=null,this[_0x31fcae(0x170)]=0x12c,this[_0x31fcae(0xf2)]=this[_0x31fcae(0x170)],this[_0x31fcae(0x1bf)]=null,this[_0x31fcae(0x134)]=new WeakSet(),this[_0x31fcae(0x153)]=new F(this[_0x31fcae(0x134)]);}[_0x129844(0x150)](){const _0x5572fe=_0x129844,_0xf0abbe=this[_0x5572fe(0x106)],_0x347225=_0xf0abbe[_0x5572fe(0x11d)][_0x5572fe(0x1c4)](_0x4e66c4),_0x37f5af=_0xf0abbe[_0x5572fe(0x11d)][_0x5572fe(0x1c4)](_0x3d02a5);this[_0x5572fe(0x1b0)](_0x347225,_0x5572fe(0x1d4),(_0x49c96a,_0xbbd9c8)=>{const _0xb6f82e=_0x5572fe,_0x40478b=_0xbbd9c8[0x0];_0x40478b[_0xb6f82e(0x1a4)]&&(_0x49c96a[_0xb6f82e(0x12e)]=_0x347225[_0xb6f82e(0x1b2)](_0x40478b[_0xb6f82e(0x1a4)]),_0x49c96a[_0xb6f82e(0x180)]()),null===_0x40478b[_0xb6f82e(0x1a4)]&&(_0x49c96a[_0xb6f82e(0x12e)]=null,_0x49c96a[_0xb6f82e(0x180)]());},{'priority':_0x5572fe(0x185)}),this[_0x5572fe(0x1b0)](_0xf0abbe[_0x5572fe(0xef)][_0x5572fe(0x1e5)][_0x5572fe(0xf9)],_0x5572fe(0x160),(_0x34dd7b,_0x13e33c)=>{const _0xf9b5c8=_0x5572fe;_0x13e33c[_0xf9b5c8(0x181)]&&this[_0xf9b5c8(0x14d)]();}),this[_0x5572fe(0x1b0)](_0xf0abbe[_0x5572fe(0x104)][_0x5572fe(0x17a)],_0x5572fe(0x18b),()=>{const _0x2bd5b1=_0x5572fe;this[_0x2bd5b1(0x14d)]();}),this[_0x5572fe(0xf3)](),_0xf0abbe[_0x5572fe(0xef)]['on'](_0x5572fe(0x1d0),(_0x5f25de,_0x49b9b7)=>{const _0x48fb5a=_0x5572fe,_0x165354=_0x49b9b7[0x0];_0x165354[_0x48fb5a(0x1d8)]&&(this[_0x48fb5a(0x1b1)](_0x165354),this[_0x48fb5a(0x19a)]()&&this[_0x48fb5a(0x1de)]());}),this[_0x5572fe(0x115)](),this[_0x5572fe(0x187)](_0x5572fe(0x1c1))['to'](_0x37f5af,_0x5572fe(0x109),this,_0x5572fe(0x12b),(_0x556c55,_0x428656)=>_0x5572fe(0x154)===_0x556c55&&!_0x428656),this['on'](_0x5572fe(0x1a7),()=>{const _0x5bc368=_0x5572fe;this[_0x5bc368(0x1c1)]?_0xf0abbe[_0x5bc368(0x135)](_0x5bc368(0x16c)):_0xf0abbe[_0x5bc368(0x1cf)](_0x5bc368(0x16c));}),this[_0x5572fe(0x1c1)]?_0xf0abbe[_0x5572fe(0x135)](_0x5572fe(0x16c)):_0xf0abbe[_0x5572fe(0x1cf)](_0x5572fe(0x16c)),this[_0x5572fe(0x1be)](_0x5572fe(0x18e),!0x1);}async[_0x129844(0x19f)](){const _0x10cc4c=_0x129844,_0x577a58=this[_0x10cc4c(0x106)][_0x10cc4c(0x11d)][_0x10cc4c(0x1c4)](_0x50fc72),_0xa31146=this[_0x10cc4c(0x106)][_0x10cc4c(0x11d)][_0x10cc4c(0x1c4)](_0x3d02a5);try{this[_0x10cc4c(0x184)]=!0x0,_0x577a58[_0x10cc4c(0xf1)](this[_0x10cc4c(0x139)]);const _0x19b436=await this[_0x10cc4c(0x17b)][_0x10cc4c(0x19f)](_0xa31146[_0x10cc4c(0x1b6)],this[_0x10cc4c(0x18f)]);await this[_0x10cc4c(0x18d)](_0x19b436)&&(this[_0x10cc4c(0x184)]=!0x1,this[_0x10cc4c(0x10f)]());const _0x1aa07a=await this[_0x10cc4c(0x17b)][_0x10cc4c(0xfa)]();_0x577a58[_0x10cc4c(0x15a)](this[_0x10cc4c(0x139)],_0x1aa07a),this[_0x10cc4c(0x13f)](),this[_0x10cc4c(0x18e)]=!0x0;}catch(_0x81afad){if(function(_0x3b8514){const _0x3e8300=_0x10cc4c;return _0x3e8300(0x125)===_0x3b8514[_0x3e8300(0x1dc)];}(_0x81afad)&&this[_0x10cc4c(0x100)])await this[_0x10cc4c(0x1ad)]();else{if(function(_0x5e0fe5){const _0x4a31ca=_0x10cc4c;return _0x4a31ca(0x1a3)===_0x5e0fe5[_0x4a31ca(0x1dc)];}(_0x81afad)){const _0x39f7b6=_0x2d3827(this[_0x10cc4c(0x106)][_0x10cc4c(0x1c0)],_0x10cc4c(0x173));this[_0x10cc4c(0x1a5)](_0x39f7b6);}else{if(!(_0x81afad instanceof V))throw _0x81afad;this[_0x10cc4c(0x1a5)]();}}}}[_0x129844(0x13e)](){const _0x27ae7d=_0x129844,_0x8d7c6d=this[_0x27ae7d(0x106)][_0x27ae7d(0x11d)][_0x27ae7d(0x1c4)](_0x3d02a5),_0x1bd2e6=this[_0x27ae7d(0x106)][_0x27ae7d(0x11d)][_0x27ae7d(0x1c4)](_0x50fc72);this[_0x27ae7d(0x106)][_0x27ae7d(0x1cf)](_0x27ae7d(0x1e6)),_0x1bd2e6[_0x27ae7d(0xf4)][_0x27ae7d(0x13b)](this[_0x27ae7d(0x139)])&&_0x1bd2e6[_0x27ae7d(0xf1)](this[_0x27ae7d(0x139)]),_0x8d7c6d[_0x27ae7d(0x1d9)](this),this[_0x27ae7d(0x1a9)](),super[_0x27ae7d(0x13e)]();}async[_0x129844(0x18d)](_0x561635){const _0x184546=_0x129844;if(this[_0x184546(0x100)]!==_0x561635[_0x184546(0x100)]&&this[_0x184546(0x1bf)]!==_0x561635[_0x184546(0x19c)])throw new V();return this[_0x184546(0x100)]=_0x561635[_0x184546(0x100)],this[_0x184546(0x116)]([],{..._0x561635,'wereChangesApplied':!0x1,'data':_0x561635[_0x184546(0x126)]},_0x184546(0x19f));}async[_0x129844(0x1bd)](_0x45e09e,_0x87b575=!0x1){const _0x5e027d=_0x129844,{connection:_0xbd38c3}=this[_0x5e027d(0x106)][_0x5e027d(0x11d)][_0x5e027d(0x1c4)](_0x3d02a5);l[_0x5e027d(0x120)][_0x5e027d(0xfa)](_0xbd38c3,this[_0x5e027d(0x139)])[_0x5e027d(0x1b3)](_0x3c9540=>this[_0x5e027d(0x1b7)](_0x3c9540))[_0x5e027d(0x193)](_0x2af4ac=>{const _0x34f3ce=_0x5e027d;this[_0x34f3ce(0x168)](_0x34f3ce(0x101),_0x2af4ac);}),this[_0x5e027d(0x1b0)](this[_0x5e027d(0x17b)],_0x5e027d(0x129),this[_0x5e027d(0x16f)][_0x5e027d(0x187)](this)),this[_0x5e027d(0x1b0)](this[_0x5e027d(0x17b)],_0x5e027d(0x132),(_0x21afc5,_0x1ec02d)=>{const _0x4a8a0d=_0x5e027d;this[_0x4a8a0d(0x168)](_0x4a8a0d(0x183),_0x1ec02d);}),this[_0x5e027d(0x1b0)](this[_0x5e027d(0x17b)],_0x5e027d(0x1e2),()=>{const _0x11e32b=_0x5e027d;this[_0x11e32b(0x18e)]=!0x1;});const _0x519d8e=this[_0x5e027d(0x153)][_0x5e027d(0x10d)](_0x45e09e);this[_0x5e027d(0x184)]=!0x0;const _0x30d08f=await this[_0x5e027d(0x17b)][_0x5e027d(0x141)](_0xbd38c3,this[_0x5e027d(0x1c8)](_0x45e09e),_0x519d8e);if(this[_0x5e027d(0x100)]=_0x30d08f[_0x5e027d(0x100)],_0x87b575){if(!_0x30d08f[_0x5e027d(0x1a2)])return void this[_0x5e027d(0x1a5)]();this[_0x5e027d(0x184)]=!0x1,this[_0x5e027d(0x10f)](),this[_0x5e027d(0x136)][_0x5e027d(0x108)](),this[_0x5e027d(0x158)]=_0x30d08f[_0x5e027d(0xfc)],this[_0x5e027d(0x136)][_0x5e027d(0x195)]=this[_0x5e027d(0x158)],await this[_0x5e027d(0x116)](_0x45e09e,_0x30d08f,_0x5e027d(0x198));}else await this[_0x5e027d(0x102)](_0x30d08f,_0x45e09e);this[_0x5e027d(0x13f)](),this[_0x5e027d(0x18e)]=!0x0;}[_0x129844(0x13f)](){const _0x9c7dcf=_0x129844,_0x5e0571=this[_0x9c7dcf(0x106)][_0x9c7dcf(0x11d)][_0x9c7dcf(0x1c4)](_0x50fc72),_0x898abb=this[_0x9c7dcf(0x106)][_0x9c7dcf(0x11d)][_0x9c7dcf(0x1c4)](_0x4078fb),_0x52f369=_0x5e0571[_0x9c7dcf(0xf4)][_0x9c7dcf(0x1c4)](this[_0x9c7dcf(0x139)]);_0x52f369&&_0x52f369[_0x9c7dcf(0x11b)]>0x1?_0x898abb[_0x9c7dcf(0x17e)]():this[_0x9c7dcf(0x1b0)](_0x5e0571,_0x9c7dcf(0xe9)+this[_0x9c7dcf(0x139)],()=>{const _0x4258b0=_0x9c7dcf;0x2===_0x5e0571[_0x4258b0(0xf4)][_0x4258b0(0x1c4)](this[_0x4258b0(0x139)])[_0x4258b0(0x11b)]&&_0x898abb[_0x4258b0(0x17e)]();});}async[_0x129844(0x16f)](_0xe88bf3,_0x2e262d,_0x3c1978,_0x164cc4){const _0x1c5526=_0x129844;if(!this[_0x1c5526(0x184)]&&this[_0x1c5526(0x12a)][_0x1c5526(0x195)]==_0x2e262d){const _0x2acfa2=this[_0x1c5526(0x171)](_0x3c1978,_0x164cc4);await this[_0x1c5526(0x1c6)](_0x2acfa2),this[_0x1c5526(0x1c2)](_0x2acfa2,_0x2e262d,_0x3c1978[_0x1c5526(0x19c)])||this[_0x1c5526(0x168)](_0x1c5526(0x16b));}}async[_0x129844(0x1ad)](){const _0x3053d5=_0x129844;this[_0x3053d5(0x1a9)]();const {locale:_0x1bf9bb}=this[_0x3053d5(0x106)];let _0x234836;try{_0x234836=await this[_0x3053d5(0x17b)][_0x3053d5(0x1ab)]();}catch{const _0x2259ce=_0x2d3827(_0x1bf9bb,_0x3053d5(0x178));return void this[_0x3053d5(0x1a5)](_0x2259ce);}const _0x5d716c=_0x234836[_0x3053d5(0x188)]||_0x234836[_0x3053d5(0x13a)];if(this[_0x3053d5(0x1bf)]!==_0x5d716c[_0x3053d5(0x19c)]){const _0x5aca0a=_0x2d3827(_0x1bf9bb,_0x3053d5(0x1b5));return void this[_0x3053d5(0x1a5)](_0x5aca0a);}await this[_0x3053d5(0x1bd)](this[_0x3053d5(0x106)][_0x3053d5(0xef)][_0x3053d5(0x1e5)][_0x3053d5(0x10a)][_0x3053d5(0x122)](),!0x0);}[_0x129844(0x1a9)](){const _0x49d6d2=_0x129844;this[_0x49d6d2(0x17b)][_0x49d6d2(0x1c9)](),this[_0x49d6d2(0x1e9)]=[],clearTimeout(this[_0x49d6d2(0x14f)]),this[_0x49d6d2(0x13c)](this[_0x49d6d2(0x17b)]);}[_0x129844(0x1b7)](_0x311c34){const _0x3f8be7=_0x129844,_0x3b1daa=this[_0x3f8be7(0x106)][_0x3f8be7(0x11d)][_0x3f8be7(0x1c4)](_0x50fc72);this[_0x3f8be7(0x1b0)](_0x3b1daa,_0x3f8be7(0xe9)+this[_0x3f8be7(0x139)],(_0x38e048,{session:_0x10f4b8})=>{const _0x45ab0e=_0x3f8be7;if(_0x10f4b8['id']===_0x3b1daa[_0x45ab0e(0x1ac)]){_0x38e048[_0x45ab0e(0xf0)]();const _0x2c18eb=this[_0x45ab0e(0x106)][_0x45ab0e(0x11d)][_0x45ab0e(0x13b)](_0x45ab0e(0x197))&&this[_0x45ab0e(0x106)][_0x45ab0e(0x11d)][_0x45ab0e(0x1c4)](_0x45ab0e(0x197));let _0x4b7066=_0x10f4b8[_0x45ab0e(0x14c)];_0x2c18eb&&_0x2c18eb[_0x45ab0e(0x159)]&&(_0x4b7066=_0x4b7066[_0x45ab0e(0x12d)](_0x1bd045=>_0x45ab0e(0xf5)!==_0x1bd045)),this[_0x45ab0e(0x106)][_0x45ab0e(0x11d)][_0x45ab0e(0x1c4)](_0x45ab0e(0x18a))[_0x45ab0e(0x16e)](_0x4b7066,this[_0x45ab0e(0x139)]);}}),_0x3b1daa[_0x3f8be7(0x15a)](this[_0x3f8be7(0x139)],_0x311c34);}[_0x129844(0xf3)](){const _0x3a7360=_0x129844,_0x4ad332=this[_0x3a7360(0x106)][_0x3a7360(0x126)][_0x3a7360(0x1be)];this[_0x3a7360(0x106)][_0x3a7360(0x126)][_0x3a7360(0x1be)]=(..._0x1ef693)=>{const _0x130602=_0x3a7360;if(!_0x1ef693[_0x1ef693[_0x130602(0x11b)]-0x1][_0x130602(0x16d)])throw new _0x45f620(_0x130602(0x148),this);_0x4ad332[_0x130602(0x133)](this[_0x130602(0x106)][_0x130602(0x126)],_0x1ef693);};}[_0x129844(0x115)](){const _0x30b454=_0x129844;this[_0x30b454(0x106)][_0x30b454(0x126)]['on'](_0x30b454(0x150),(_0xa0294c,[_0x342cde])=>{const _0x322994=_0x30b454;if(this[_0x322994(0x12a)][_0x322994(0x195)])throw new _0x45f620(_0x322994(0x112),this);_0xa0294c[_0x322994(0x180)](),this[_0x322994(0x15c)]();const _0x554b2a=this[_0x322994(0x106)][_0x322994(0x192)][_0x322994(0x1c4)](_0x322994(0x11e)),_0x24509d=this[_0x322994(0x121)](_0x342cde,_0x554b2a);0x0==_0x24509d[_0x322994(0x11b)]&&_0x24509d[_0x322994(0x137)](new _0x256457(0x0)),_0xa0294c[_0x322994(0x12e)]=this[_0x322994(0x1bd)](_0x24509d)[_0x322994(0x1b3)](()=>{const _0x3664cc=_0x322994;this[_0x3664cc(0x106)][_0x3664cc(0x11d)][_0x3664cc(0x1c4)](_0x3d02a5)[_0x3664cc(0x1db)](this),this[_0x3664cc(0x106)][_0x3664cc(0x126)][_0x3664cc(0x155)](_0x3664cc(0x10e));})[_0x322994(0x193)](_0x32da46=>this[_0x322994(0x168)](_0x322994(0x1a8),_0x32da46))[_0x322994(0x16a)](()=>this[_0x322994(0x10f)]());},{'priority':_0x30b454(0x185)}),this[_0x30b454(0x106)]['on'](_0x30b454(0x189),async(_0x20c642,[_0x4e38f9,_0x4f7b1a])=>{const _0x1cd909=_0x30b454;_0x20c642[_0x1cd909(0x180)]();const _0x504be2=this[_0x1cd909(0x106)][_0x1cd909(0xef)][_0x1cd909(0x1e5)][_0x1cd909(0x127)](_0x4e38f9);if(!this[_0x1cd909(0x17f)][_0x1cd909(0x13b)](_0x4e38f9)){const _0x5f4bac=_0x4f7b1a&&_0x4f7b1a[_0x1cd909(0x126)]?_0x4f7b1a[_0x1cd909(0x126)]:'',_0x554cda=_0x4f7b1a&&_0x4f7b1a[_0x1cd909(0x1c5)]?_0x4f7b1a[_0x1cd909(0x1c5)]:{};await this[_0x1cd909(0x1ba)](_0x4e38f9,_0x5f4bac,_0x554cda);}this[_0x1cd909(0x106)][_0x1cd909(0xef)][_0x1cd909(0x156)]({'isUndoable':!0x1},()=>{const _0x1c6b82=_0x1cd909;_0x504be2[_0x1c6b82(0x14b)]=!0x0,this[_0x1c6b82(0x106)][_0x1c6b82(0xef)][_0x1c6b82(0x1e5)][_0x1c6b82(0x15b)][_0x1c6b82(0x1d2)](_0x504be2);});},{'priority':_0x30b454(0x185)});}async[_0x129844(0x1c6)](_0x3f51bc){const _0x33b298=_0x129844,_0x43f9aa=this[_0x33b298(0x106)][_0x33b298(0x11d)][_0x33b298(0x1c4)](_0x4e66c4),{connection:_0x383c24}=this[_0x33b298(0x106)][_0x33b298(0x11d)][_0x33b298(0x1c4)](_0x3d02a5),_0x3d8e71=new Set();for(const _0xffaa79 of _0x3f51bc){const _0x5bd959=_0xffaa79[_0x33b298(0x1a4)];_0x5bd959&&!_0x43f9aa[_0x33b298(0x1b2)](_0x5bd959)&&_0x3d8e71[_0x33b298(0x199)](_0x5bd959);}if(0x0===_0x3d8e71[_0x33b298(0x163)])return;const _0x123e4e=await _0x30fc99[_0x33b298(0x161)](_0x383c24,Array[_0x33b298(0x113)](_0x3d8e71));for(const _0x416420 of _0x123e4e)_0x43f9aa[_0x33b298(0x1b2)](_0x416420['id'])||_0x43f9aa[_0x33b298(0x103)](_0x416420);}[_0x129844(0x121)](_0x2b7f41,_0x77a825={}){const _0x477411=_0x129844,_0x31d1ce=this[_0x477411(0x106)][_0x477411(0xef)],_0x387fab=[];let _0x30c52e=0x0;const _0x9da648=_0x477411(0x144)==typeof _0x2b7f41?{'main':_0x2b7f41}:_0x2b7f41;for(const _0x28b5e7 of Object[_0x477411(0x114)](_0x9da648)){if(!this[_0x477411(0x12a)][_0x477411(0x17c)][_0x477411(0x13b)](_0x28b5e7))throw new _0x45f620(_0x477411(0x174),this);const _0x500082=this[_0x477411(0x106)][_0x477411(0x126)][_0x477411(0x124)](_0x9da648[_0x28b5e7]),_0x3fd051=this[_0x477411(0x12a)][_0x477411(0x127)](_0x28b5e7),_0x357e1a=new _0x32274d(_0x31d1ce[_0x477411(0x140)](_0x3fd051,0x0),_0x500082,_0x30c52e++);_0x387fab[_0x477411(0x137)](_0x357e1a);for(const [_0x4e9412,_0xc13e52]of _0x500082[_0x477411(0x1ea)]){const _0x2314f8=_0x31d1ce[_0x477411(0xeb)](_0x31d1ce[_0x477411(0x191)](_0x3fd051,_0xc13e52[_0x477411(0x175)][_0x477411(0x1b4)][_0x477411(0xee)]()),_0x31d1ce[_0x477411(0x191)](_0x3fd051,_0xc13e52[_0x477411(0x1cc)][_0x477411(0x1b4)][_0x477411(0xee)]())),_0x2d367=new _0x11b8f1(_0x4e9412,null,_0x2314f8,_0x31d1ce[_0x477411(0x1ea)],!0x0,_0x30c52e++);_0x387fab[_0x477411(0x137)](_0x2d367);}}if(_0x77a825)for(const [_0x485a3b,_0x44773e]of Object[_0x477411(0x1e4)](_0x77a825)){const _0x483978=_0x31d1ce[_0x477411(0x1e5)][_0x477411(0x127)](_0x485a3b);if(!_0x483978)throw new _0x45f620(_0x477411(0x179),null);for(const [_0x2b6acc,_0x3036e0]of Object[_0x477411(0x1e4)](_0x44773e))if(null!==_0x3036e0){const _0xee2857=new _0x3a91bc(_0x483978,_0x2b6acc,null,_0x3036e0,_0x30c52e++);_0x387fab[_0x477411(0x137)](_0xee2857);}}return _0x387fab;}async[_0x129844(0x1ba)](_0x63443b,_0x1a5923,_0x2835d9){const _0xe37124=_0x129844;this[_0xe37124(0x121)]({[_0x63443b]:_0x1a5923},{[_0x63443b]:_0x2835d9})[_0xe37124(0xf8)]((_0x16728f,_0x2ebc51)=>{const _0xb2af7e=_0xe37124;_0x16728f[_0xb2af7e(0x177)]=this[_0xb2af7e(0x12a)][_0xb2af7e(0x195)]+_0x2ebc51,_0x16728f[_0xb2af7e(0x19e)]=!0x0,this[_0xb2af7e(0x1b1)](_0x16728f);}),this[_0xe37124(0x1de)](),await this[_0xe37124(0xfb)]();}async[_0x129844(0x102)](_0x396405,_0x27620d){const _0x33950a=_0x129844;let _0xf48c7a;this[_0x33950a(0x158)]=_0x396405[_0x33950a(0xfc)];const _0x12a261=_0x396405[_0x33950a(0x1a2)]&&!_0x396405[_0x33950a(0x1d1)],_0x2bd631=_0x12a261?0x0:_0x396405[_0x33950a(0x126)][_0x33950a(0x177)];if(_0x27620d[_0x33950a(0xf8)](_0x35ee47=>{const _0x17b9ed=_0x33950a;_0x35ee47[_0x17b9ed(0x19e)]=!0x0,_0x35ee47[_0x17b9ed(0x13d)]=_0x396405[_0x17b9ed(0x152)],_0x35ee47[_0x17b9ed(0x1a4)]=null;}),_0x12a261)_0xf48c7a=_0x27620d,this[_0x33950a(0x1cd)](_0xf48c7a,_0x12a261);else{if(_0x396405[_0x33950a(0x1d1)]){const _0x3264df=this[_0x33950a(0x121)](_0x396405[_0x33950a(0x1d1)]);this[_0x33950a(0x12a)][_0x33950a(0x10a)][_0x33950a(0x195)]=-_0x3264df[_0x33950a(0x11b)],_0x3264df[_0x33950a(0xf8)](_0x4bb6a8=>{const _0xa07471=_0x33950a;_0x4bb6a8[_0xa07471(0x177)]-=_0x3264df[_0xa07471(0x11b)],_0x4bb6a8[_0xa07471(0x13d)]=_0x396405[_0xa07471(0x152)],_0x4bb6a8[_0xa07471(0x19e)]=!0x0,_0x4bb6a8[_0xa07471(0x1a4)]=null;}),this[_0x33950a(0x1cd)](_0x3264df,!0x0),this[_0x33950a(0x136)][_0x33950a(0x195)]=-_0x3264df[_0x33950a(0x11b)]+this[_0x33950a(0x158)],this[_0x33950a(0x167)](_0x3264df);}this[_0x33950a(0x12a)][_0x33950a(0x10a)][_0x33950a(0x195)]=_0x2bd631,_0xf48c7a=this[_0x33950a(0x171)](_0x396405[_0x33950a(0x126)],_0x396405[_0x33950a(0x1ec)]),await this[_0x33950a(0x1c6)](_0xf48c7a),this[_0x33950a(0x1cd)](_0xf48c7a,_0x12a261);}_0x396405[_0x33950a(0x19c)]&&(this[_0x33950a(0x153)][_0x33950a(0x14a)](_0xf48c7a,_0x396405[_0x33950a(0x19c)]),this[_0x33950a(0x1bf)]=_0x396405[_0x33950a(0x19c)]),this[_0x33950a(0x136)][_0x33950a(0x195)]=_0x2bd631+this[_0x33950a(0x158)],this[_0x33950a(0x167)](_0xf48c7a),_0x27620d[_0x33950a(0x12d)](_0x183e8f=>{const _0x47d06b=_0x33950a,_0x5af7a8=this[_0x47d06b(0x1e7)](_0x183e8f);return _0x5af7a8&&!this[_0x47d06b(0x17f)][_0x47d06b(0x13b)](_0x5af7a8);})[_0x33950a(0xf8)]((_0x2fe372,_0xc4a387)=>{const _0x1de4cd=_0x33950a;_0x2fe372[_0x1de4cd(0x177)]=this[_0x1de4cd(0x12a)][_0x1de4cd(0x195)]+_0xc4a387,this[_0x1de4cd(0x1b1)](_0x2fe372);}),this[_0x33950a(0x19a)]()?(this[_0x33950a(0xf2)]=0x0,this[_0x33950a(0x1de)](!0x0),await this[_0x33950a(0xfb)]()):(this[_0x33950a(0x184)]=!0x1,this[_0x33950a(0x10f)]());}[_0x129844(0x168)](_0x106b05,_0x4a13e0){const _0x6fe64a=_0x129844,_0x574c78=_0x4a13e0&&_0x4a13e0[_0x6fe64a(0x1c7)];if(_0x574c78&&_0x574c78[_0x6fe64a(0x110)](_0x6fe64a(0x190)))throw _0x4a13e0;const _0x4a6ecb=this[_0x6fe64a(0x106)][_0x6fe64a(0x11d)][_0x6fe64a(0x1c4)](_0x3d02a5);throw this[_0x6fe64a(0x184)]=!0x0,_0x4a6ecb[_0x6fe64a(0x1c9)](),this[_0x6fe64a(0x106)][_0x6fe64a(0x1cf)](_0x6fe64a(0x1bc)),new _0x45f620(_0x106b05,this[_0x6fe64a(0x106)],_0x574c78?{'originalError':_0x574c78}:void 0x0);}[_0x129844(0x1b1)](_0x5f021a){const _0x1797ed=_0x129844;this[_0x1797ed(0x1da)][_0x1797ed(0x13b)](_0x5f021a)||(this[_0x1797ed(0x1da)][_0x1797ed(0x199)](_0x5f021a),this[_0x1797ed(0x1e9)][_0x1797ed(0x137)](_0x5f021a),this[_0x1797ed(0x146)]||_0x1797ed(0x14e)==_0x5f021a[_0x1797ed(0x1e0)]&&!_0x5f021a[_0x1797ed(0x1b8)]||this[_0x1797ed(0x15c)]());}[_0x129844(0x1de)](_0x5487ce=!0x1){const _0x3aa5dd=_0x129844;!_0x5487ce&&this[_0x3aa5dd(0x184)]||(this[_0x3aa5dd(0x184)]=!0x0,clearTimeout(this[_0x3aa5dd(0x14f)]),this[_0x3aa5dd(0x14f)]=setTimeout(()=>{const _0x59e73d=_0x3aa5dd;this[_0x59e73d(0x10b)]()[_0x59e73d(0x1b3)](_0x299845=>{const _0x1b5b11=_0x59e73d;_0x299845&&(this[_0x1b5b11(0x10f)](),this[_0x1b5b11(0x184)]=!0x1);})[_0x59e73d(0x193)](_0x10843e=>{const _0x344a56=_0x59e73d;this[_0x344a56(0x10f)](),this[_0x344a56(0x184)]=!0x1,function(_0x35bd32){const _0x2f3741=_0x344a56;return _0x35bd32[_0x2f3741(0x1c7)][_0x2f3741(0x110)](_0x2f3741(0x111))||_0x35bd32[_0x2f3741(0x1c7)][_0x2f3741(0x110)](_0x2f3741(0x172))||_0x35bd32[_0x2f3741(0x1c7)][_0x2f3741(0x110)](_0x2f3741(0x130));}(_0x10843e)||this[_0x344a56(0x168)](_0x10843e[_0x344a56(0x1c7)],_0x10843e);});},this[_0x3aa5dd(0xf2)]));}[_0x129844(0xfb)](){return new Promise(_0x621f45=>{const _0x223832=_0xadc0;this['on'](_0x223832(0x15d),()=>{_0x621f45();});});}async[_0x129844(0x10b)](){const _0x2f03c2=_0x129844,_0x22a822=this[_0x2f03c2(0x106)][_0x2f03c2(0x11d)][_0x2f03c2(0x1c4)](_0x4078fb);if(this[_0x2f03c2(0x1e1)]()&&(_0x22a822[_0x2f03c2(0x17e)](),this[_0x2f03c2(0x162)]=!0x1),!this[_0x2f03c2(0x19a)]())return!0x0;const _0x106e61=[...this[_0x2f03c2(0x1e9)]];for(const _0xdf7596 of _0x106e61)_0xdf7596[_0x2f03c2(0x107)]=this[_0x2f03c2(0x12a)][_0x2f03c2(0x10a)][_0x2f03c2(0x1ed)](_0xdf7596);const _0x10ed21=this[_0x2f03c2(0x153)][_0x2f03c2(0x10d)](_0x106e61),_0xd9d89d=H++,_0x3c1cc4=this[_0x2f03c2(0x1c8)](_0x106e61),_0x31a759=await this[_0x2f03c2(0x17b)][_0x2f03c2(0x1d5)](_0x3c1cc4,_0x3c1cc4[_0x2f03c2(0x177)],_0x10ed21);try{return await this[_0x2f03c2(0x116)](_0x106e61,_0x31a759,_0xd9d89d);}catch(_0x1a2f28){return this[_0x2f03c2(0x168)](_0x2f03c2(0xfd),_0x1a2f28);}}async[_0x129844(0x116)](_0x3e4fda,_0x479913,_0x514381){const _0xfd08bf=_0x129844;if(_0xfd08bf(0x132)in _0x479913)throw _0x479913[_0xfd08bf(0x132)];let _0x4cb427=!0x1;if(_0x479913[_0xfd08bf(0x1a2)]){_0x479913[_0xfd08bf(0x19c)]&&(this[_0xfd08bf(0x1bf)]=_0x479913[_0xfd08bf(0x19c)]),this[_0xfd08bf(0x1e9)]=this[_0xfd08bf(0x1e9)][_0xfd08bf(0x12d)](_0x3f7a19=>!_0x3e4fda[_0xfd08bf(0x1aa)](_0x3f7a19));for(const _0x3977a0 of _0x3e4fda)_0x3977a0[_0xfd08bf(0x13d)]=_0xfd08bf(0xfe)in _0x479913&&_0x479913[_0xfd08bf(0xfe)]||void 0x0;W(_0x3e4fda,_0x479913[_0xfd08bf(0x195)]-_0x3e4fda[_0xfd08bf(0x11b)]),this[_0xfd08bf(0x167)](_0x3e4fda);const _0x5bffb4=_0x3e4fda[_0xfd08bf(0x12d)](_0x34546a=>{const _0x6c712e=_0xfd08bf;if(!_0x34546a[_0x6c712e(0x19e)])return!0x1;const _0x245e92=this[_0x6c712e(0x1e7)](_0x34546a);return _0x245e92&&!this[_0x6c712e(0x17f)][_0x6c712e(0x13b)](_0x245e92);});W(_0x5bffb4,this[_0xfd08bf(0x12a)][_0xfd08bf(0x195)]),this[_0xfd08bf(0x1cd)](_0x5bffb4),_0x4cb427=!0x0,this[_0xfd08bf(0xf2)]=this[_0xfd08bf(0x170)];}else{const _0x183495=this[_0xfd08bf(0x171)](_0x479913[_0xfd08bf(0x126)],_0x479913[_0xfd08bf(0x1ec)])[_0xfd08bf(0x12d)](_0x2746d8=>_0x2746d8[_0xfd08bf(0x177)]>=this[_0xfd08bf(0xe8)]);_0x183495[_0xfd08bf(0xf8)](_0x3d7563=>this[_0xfd08bf(0x1e3)](_0x3d7563)),this[_0xfd08bf(0x1e9)]=this[_0xfd08bf(0x1e9)][_0xfd08bf(0x12d)](_0x7c84d2=>!_0x7c84d2[_0xfd08bf(0x19e)]||!this[_0xfd08bf(0x17f)][_0xfd08bf(0x13b)](this[_0xfd08bf(0x1e7)](_0x7c84d2))),this[_0xfd08bf(0x1e9)][_0xfd08bf(0x11b)]&&W(this[_0xfd08bf(0x1e9)],this[_0xfd08bf(0x1e9)][0x0][_0xfd08bf(0x177)]),await this[_0xfd08bf(0x1c6)](_0x183495),_0x4cb427=this[_0xfd08bf(0x1c2)](_0x183495,_0x479913[_0xfd08bf(0x195)],_0x479913[_0xfd08bf(0x19c)]),this[_0xfd08bf(0xf2)]=Math[_0xfd08bf(0x18c)](this[_0xfd08bf(0xf2)]/0x2);}return _0x4cb427?!this[_0xfd08bf(0x19a)]()||(this[_0xfd08bf(0x1de)](!0x0),!0x1):this[_0xfd08bf(0x168)](_0xfd08bf(0x143));}[_0x129844(0x1c2)](_0x3cdfd5,_0x3a61ac,_0x11d093){const _0x5aa40c=_0x129844;try{const _0x56c179={'document':this[_0x5aa40c(0x12a)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0xe1917e,operationsB:_0x24ca0d,originalOperations:_0x1fdfdc}=_0x1f6470(_0x3cdfd5,this[_0x5aa40c(0x1e9)],_0x56c179);W(_0xe1917e,this[_0x5aa40c(0x12a)][_0x5aa40c(0x195)]),W(_0x24ca0d,_0x3a61ac);for(const _0x45df9a of _0xe1917e){const _0x35fd37=_0x1fdfdc[_0x5aa40c(0x1c4)](_0x45df9a);_0x45df9a[_0x5aa40c(0x1a4)]=_0x35fd37?_0x35fd37[_0x5aa40c(0x1a4)]:null;}_0x11d093&&(this[_0x5aa40c(0x153)][_0x5aa40c(0x14a)](_0x3cdfd5,_0x11d093),this[_0x5aa40c(0x1bf)]=_0x11d093),this[_0x5aa40c(0x1e9)]=[..._0x24ca0d],this[_0x5aa40c(0x1cd)](_0xe1917e),this[_0x5aa40c(0x167)](_0x3cdfd5);}catch(_0x45d6c5){return console[_0x5aa40c(0x132)](_0x45d6c5),!0x1;}return!0x0;}[_0x129844(0x1cd)](_0x38142f,_0xab420c=!0x1){const _0x168a9c=_0x129844;this[_0x168a9c(0x106)][_0x168a9c(0xef)][_0x168a9c(0x156)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4c9972=>{const _0x178286=_0x168a9c;for(const _0x49d91e of _0x38142f)this[_0x178286(0x1da)][_0x178286(0x199)](_0x49d91e),this[_0x178286(0x1e3)](_0x49d91e),_0x4c9972[_0x178286(0xec)][_0x178286(0x1a1)](_0x49d91e),this[_0x178286(0x106)][_0x178286(0xef)][_0x178286(0x1d0)](_0x49d91e);});}[_0x129844(0x1e3)](_0xec5c62){const _0x51ee4b=_0x129844,_0x33b8b0=this[_0x51ee4b(0x1e7)](_0xec5c62);_0x33b8b0&&this[_0x51ee4b(0x17f)][_0x51ee4b(0x199)](_0x33b8b0);}[_0x129844(0x1e7)](_0xf2c2f2){const _0x287cd2=_0x129844;let _0x385869,_0x6e788d;switch(_0xf2c2f2[_0x287cd2(0x1e0)]){case _0x287cd2(0x1d3):_0x385869=_0xf2c2f2[_0x287cd2(0x1d7)][_0x287cd2(0x149)];break;case _0x287cd2(0x14e):if(_0x6e788d=_0xf2c2f2[_0x287cd2(0x17d)],!_0x6e788d)return null;_0x385869=_0x6e788d[_0x287cd2(0x149)];break;case _0x287cd2(0x142):_0x385869=_0xf2c2f2[_0x287cd2(0x149)];break;case _0x287cd2(0x1a6):_0x385869=_0xf2c2f2[_0x287cd2(0x118)];break;case _0x287cd2(0x147):_0x385869=_0xf2c2f2[_0x287cd2(0x1ce)][_0x287cd2(0x149)];break;default:return null;}return _0x385869[_0x287cd2(0x176)];}[_0x129844(0x167)](_0x4dad7f){const _0x3f34ae=_0x129844;_0x4dad7f[_0x3f34ae(0xf8)](_0x48fc89=>{const _0x30c503=_0x3f34ae,_0x28a968=_0x48fc89[_0x30c503(0x15f)]();_0x28a968[_0x30c503(0x1a4)]=_0x48fc89[_0x30c503(0x1a4)],_0x28a968[_0x30c503(0x19e)]=!!_0x48fc89[_0x30c503(0x19e)],_0x28a968[_0x30c503(0x13d)]=_0x48fc89[_0x30c503(0x13d)],_0x28a968[_0x30c503(0x177)]+=this[_0x30c503(0x158)],_0x48fc89[_0x30c503(0x157)]&&this[_0x30c503(0x134)][_0x30c503(0x199)](_0x28a968),this[_0x30c503(0x136)][_0x30c503(0x1a1)](_0x28a968);});}[_0x129844(0x1a5)](_0x452441){const _0x5433d1=_0x129844,_0x7ef484=this[_0x5433d1(0x106)][_0x5433d1(0x11d)][_0x5433d1(0x1c4)](_0x5433d1(0xf7)),_0x30607f=this[_0x5433d1(0x106)][_0x5433d1(0x1c0)];_0x452441||(_0x452441=_0x2d3827(_0x30607f,_0x5433d1(0x1eb))),_0x7ef484[_0x5433d1(0x12f)](_0x452441,{'title':_0x2d3827(_0x30607f,_0x5433d1(0x1c3)),'namespace':_0x5433d1(0x105)}),this[_0x5433d1(0x12b)]=!0x0,clearTimeout(this[_0x5433d1(0x14f)]),this[_0x5433d1(0x1e9)]=[],this[_0x5433d1(0x106)][_0x5433d1(0x11d)][_0x5433d1(0x1c4)](_0x3d02a5)[_0x5433d1(0x1c9)]();}[_0x129844(0x15c)](){const _0x5e6b30=_0x129844;this[_0x5e6b30(0x146)]||(this[_0x5e6b30(0x146)]=this[_0x5e6b30(0x106)][_0x5e6b30(0x11d)][_0x5e6b30(0x1c4)](_0x5337d1)[_0x5e6b30(0x199)](_0x2d3827(this[_0x5e6b30(0x106)][_0x5e6b30(0x1c0)],_0x5e6b30(0x128))));}[_0x129844(0x10f)](){const _0x3aac5f=_0x129844;this[_0x3aac5f(0x146)]&&(this[_0x3aac5f(0x106)][_0x3aac5f(0x11d)][_0x3aac5f(0x1c4)](_0x5337d1)[_0x3aac5f(0xea)](this[_0x3aac5f(0x146)]),this[_0x3aac5f(0x146)]=null);}[_0x129844(0x1c8)](_0x5878f6){const _0x2b52cb=_0x129844,_0x3be99f=_0x5878f6[_0x2b52cb(0x12c)](_0x1cb2e3=>_0x1cb2e3[_0x2b52cb(0x1dd)]());return this[_0x2b52cb(0x164)][_0x2b52cb(0x151)](_0x3be99f);}[_0x129844(0x171)](_0x390905,_0x13f7a6){const _0x2dbc92=_0x129844;return this[_0x2dbc92(0x164)][_0x2dbc92(0x11f)](_0x390905)[_0x2dbc92(0x12c)]((_0x5ec185,_0xbab32d)=>{const _0x154025=_0x2dbc92,_0x39810e=_0x154025(0x150)==_0x13f7a6[_0xbab32d][_0x154025(0x1e0)];if(_0x154025(0x1e8)==_0x5ec185[_0x154025(0x182)]){const _0x3766c1=_0x5ec185[_0x154025(0x1d7)][_0x154025(0x149)];!this[_0x154025(0x12a)][_0x154025(0x127)](_0x3766c1)&&(this[_0x154025(0x12a)][_0x154025(0x138)](_0x154025(0x1af),_0x3766c1)[_0x154025(0x194)]=!0x1);}const _0x591f59=_0x15d9e6[_0x154025(0x196)](_0x5ec185,this[_0x154025(0x12a)]);return _0x591f59[_0x154025(0x107)]=_0x5ec185[_0x154025(0x107)],_0x591f59[_0x154025(0x19e)]=_0x39810e,_0x591f59[_0x154025(0x1a4)]=_0x39810e?null:_0x13f7a6[_0xbab32d][_0x154025(0x123)],_0x591f59[_0x154025(0x157)]=_0x154025(0x1bb)===_0x13f7a6[_0xbab32d][_0x154025(0x1e0)],_0x591f59[_0x154025(0x13d)]=_0x13f7a6[_0xbab32d][_0x154025(0x13d)],_0x591f59;});}[_0x129844(0x14d)](){const _0x76b383=_0x129844;this[_0x76b383(0x162)]=!0x0,this[_0x76b383(0x1e1)]()?this[_0x76b383(0x1de)]():this[_0x76b383(0x162)]=!0x1;}[_0x129844(0x1e1)](){const _0x58a4a7=_0x129844,_0x53e0cb=this[_0x58a4a7(0x106)][_0x58a4a7(0x11d)][_0x58a4a7(0x1c4)](_0x50fc72)[_0x58a4a7(0xf4)][_0x58a4a7(0x1c4)](this[_0x58a4a7(0x139)]);return!this[_0x58a4a7(0x106)][_0x58a4a7(0xf6)]&&!!_0x53e0cb&&_0x53e0cb[_0x58a4a7(0x11b)]>0x1&&this[_0x58a4a7(0x162)];}[_0x129844(0x19a)](){const _0x3fce2b=_0x129844;return this[_0x3fce2b(0x1e9)][_0x3fce2b(0x11b)]>0x0||this[_0x3fce2b(0x1e1)]();}}export{l as RealTimeCollaborationClient};function _0xadc0(_0x3e24f3,_0x3e530f){const _0x4e1704=_0x4e17();return _0xadc0=function(_0xadc06b,_0x1d32ab){_0xadc06b=_0xadc06b-0xe8;let _0x537051=_0x4e1704[_0xadc06b];return _0x537051;},_0xadc0(_0x3e24f3,_0x3e530f);}class V extends Error{}function W(_0x4209dd,_0x251aeb){const _0x3837f8=_0x129844;for(const _0x50ef13 of _0x4209dd)_0x50ef13[_0x3837f8(0x177)]=_0x251aeb++;}class F{[_0x129844(0x1a0)];[_0x129844(0x1ca)];constructor(_0x1f3fc7){const _0x2d00f2=_0x129844;this[_0x2d00f2(0x1a0)]=_0x1f3fc7,this[_0x2d00f2(0x1ca)]=new WeakMap();}[_0x129844(0x10d)](_0x4ade58){const _0x2b52b8=_0x129844;let _0x51111c=_0x4ade58[_0x2b52b8(0x11b)];for(;_0x51111c--;){const _0x58c037=_0x4ade58[_0x51111c];if(!this[_0x2b52b8(0x1a0)][_0x2b52b8(0x13b)](_0x58c037)){if(!this[_0x2b52b8(0x1ca)][_0x2b52b8(0x13b)](_0x58c037)){const _0x10afb8=_0x4cedf3()[_0x2b52b8(0xee)](0x1,0x12);this[_0x2b52b8(0x1ca)][_0x2b52b8(0x1be)](_0x58c037,_0x10afb8);}return this[_0x2b52b8(0x1ca)][_0x2b52b8(0x1c4)](_0x58c037);}}}[_0x129844(0x14a)](_0xdd71f8,_0x437c67){const _0x203dc8=_0x129844;if(!_0x437c67)return;let _0x2e3750=_0xdd71f8[_0x203dc8(0x11b)];for(;_0x2e3750--;){const _0x5a2908=_0xdd71f8[_0x2e3750];this[_0x203dc8(0x1a0)][_0x203dc8(0x13b)](_0x5a2908)||this[_0x203dc8(0x1ca)][_0x203dc8(0x1be)](_0x5a2908,_0x437c67);}}}
|
|
23
|
+
const _0x415db6=_0x5c3b;(function(_0x4cddbb,_0x519dfd){const _0x461c64=_0x5c3b,_0x214dc8=_0x4cddbb();while(!![]){try{const _0x598d35=-parseInt(_0x461c64(0x24b))/0x1*(-parseInt(_0x461c64(0x178))/0x2)+parseInt(_0x461c64(0x213))/0x3+-parseInt(_0x461c64(0x19e))/0x4+-parseInt(_0x461c64(0x18b))/0x5*(-parseInt(_0x461c64(0x24f))/0x6)+parseInt(_0x461c64(0x1a8))/0x7+parseInt(_0x461c64(0x1e3))/0x8*(parseInt(_0x461c64(0x23a))/0x9)+-parseInt(_0x461c64(0x1da))/0xa;if(_0x598d35===_0x519dfd)break;else _0x214dc8['push'](_0x214dc8['shift']());}catch(_0x422018){_0x214dc8['push'](_0x214dc8['shift']());}}}(_0x541a,0x22f6c));import{Plugin as _0x511373,PendingActions as _0x4ab8b6}from'ckeditor5/src/core.js';function _0x541a(){const _0x403e90=['fire','_handleSendingSelectionMarkers','size','startsWith','wereChangesApplied','_knownOperations','addToReconnectionStack','_decompressOperations','_handleInitialConnectionData','apply','_lastSyncedOperationId','then','createRange','_waitUntilSynced','filter','message','error','RealTimeCollaborationClient','_applyOperationsSet','318338riBCYc','finally','_pendingAction','_baseBufferDelay','addOperation','register','connected','userId','model','end','forEach','reconnection:\x20flushed\x20session','$root','showWarning','_lastServerVersion','_fetchMissingUsers','__className','realtimecollaborationclient-handleserverresponse','getIdOfTheLastOperation','1555OGHXSv','get','_setPendingAction','includes','_service','_offset','rtc-offline','getMany','realtimecollaborationclient-init-non-existent-root','_isLoaded','remove','selection','_refreshUserSelectionMarkers','sessionAdd:','_operationToId','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.','rootName','createPositionFromPath','cloudDocumentVersion','733040VUXWWt','_sendBufferedOperationsDelayId','realtimecollaborationclient-init-service-incorrect-server-operation','_sendBufferedOperationsDelayed','string','return','_isPendingUpdate','sessionCreatedAt','_authorId','enableReadOnlyMode','1335621AwXXIO','loadRoot','_handleServerResponse','enqueueChange','move','unregister','keys','markers','permissions','change:hasDomSelection','Permissions','_currentBufferDelay','length','history','_sendBufferedOperations','_ignoredOperations','sessionId','sendOperations','createPositionAt','collaboration.channelId','realtimecollaborationclient','multi-root-editor-root-attributes-no-root','getConnectedSessions','_disconnectionOperations','currentDocumentSession','Synchronization\x20issue','removeFromReconnectionStack','marker','_handleReconnectionError','cloud-services-internal-error:\x20Request\x20timeout.','realtimecollaborationclient-error','compress','listenTo','_disconnectService','realtimecollaborationclient-init-connection-failed','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.','real-time-collaboration','_getOperationsFromInitData','_compressor','_isConnected','parse','_isEditingAllowed','isDocumentOperation','affectedSelectable','isOfficialPlugin','addRootAttribute','_bufferRootLoad','toJSON','metadata','requires','2636070elCvLP','define','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','getUser','reconnect','_connectService','_knownRootNames','applyOperation','directChange','3032xKYmvg','from','isUndoneOperation','collaboration-missing-channelid','position','document','isEnabled','realtimecollaborationclient-init-session-connection-error','cloud-services-internal-error:\x20Not\x20connected.','push','data','_channelId','clone','off','_getAffectedRoot','roots','connect','_setUpDataInit','_isAttached','reset','slice','_compressOperations','ready','connection','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','baseVersion','createUserMarkerOperations','high','add','409','view','cs:removeUser','_updateServerHistory','404','_clearPendingAction','lastDocumentSession','insert','document:write','cloudServices.bundleVersion','realtimecollaborationclient-init-document-already-initialized','createRoot','_initSessionsHandling','_shouldSendSelectionUpdate','Notification','suppressErrorInCollaboration','_handleExternalOperations','_isInit','_crash','585831mWUcWL','set','fromJSON','_addKnownRoot','destroy','entries','config','disableReadOnlyMode','state','attributes','channelSessions','setPermissions','differ','catch','_loadRoot','editing','InsertOperation','realtimecollaborationclient-sendbufferedoperations','type','rootsAttributes','lastOperationAcceptedAt','_saveOperationInBuffer','bind','mySessionId','_isDisconnection','change:_isPendingUpdate','disconnect','createdAt','lastSyncVersion','locale','getDocumentDetails','root','_handleReceivedOperations','getRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','CommentsOnly','setIdForTheLastOperation','_hasSynchronizationProblem','offset','747pTnKaw','PENDING_ACTION_SENDING_DATA','initData','newRange','wasUndone','realtimecollaborationclient-init-service-internal-error','version','_bufferedOperations','plugins','getOperationAuthor','path','targetPosition','change:_isEditingAllowed','code','addUser','rtc-destroyed','_operationIdentifier','1VNoSSy','_document','isPremiumPlugin','disconnected','258MhlOHz','_handleReconnectionResponse','change:range','_initThrowingOnDataSet','round','stop','isReadOnly','init','_hasSelectionChanged','_connectAfterSessionHasBeenFlushed','decompress','editor','has','getOperations','_shouldSendUpdate','lastOperationId','operationsReceived','serverHistory','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','addRoot','collaboration','pluginName','stopListening','start','affectsData','map','batch','CollaborativeEditingService'];_0x541a=function(){return _0x403e90;};return _0x541a();}import{CKEditorError as _0x1de61a,version as _0xb4be9,uid as _0x4eb336}from'ckeditor5/src/utils.js';import{Notification as _0x25600e}from'ckeditor5/src/ui.js';function _0x5c3b(_0x494451,_0x5d1ce6){const _0x541a5b=_0x541a();return _0x5c3b=function(_0x5c3b41,_0x51a241){_0x5c3b41=_0x5c3b41-0x14d;let _0x69f11=_0x541a5b[_0x5c3b41];return _0x69f11;},_0x5c3b(_0x494451,_0x5d1ce6);}import{transformOperationSets as _0x43378e,NoOperation as _0x3daa21,InsertOperation as _0x4f2b26,MarkerOperation as _0x4b7ccf,RootAttributeOperation as _0x138385,OperationFactory as _0x432e73,History as _0x37ba2d}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x1b5284}from'./websocketgateway.js';import{Sessions as _0x48e3ec}from'./sessions.js';import{UserMarkers as _0x1aac3d}from'./usermarkers.js';import{getTranslation as _0x360a9e}from'../common-translations.js';import{Compressor as _0xf2a304}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0xe2c763}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2f2b0b,CollaborativeEditingService as _0x555c02}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let Q=0x1;class l extends _0x511373{static [_0x415db6(0x164)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x555c02)());[_0x415db6(0x190)];[_0x415db6(0x1b8)];[_0x415db6(0x15a)];[_0x415db6(0x1ee)];[_0x415db6(0x18f)];[_0x415db6(0x24c)];[_0x415db6(0x1ce)];[_0x415db6(0x241)];[_0x415db6(0x16a)];[_0x415db6(0x1e0)];[_0x415db6(0x17a)];[_0x415db6(0x151)];[_0x415db6(0x19f)];[_0x415db6(0x17b)];[_0x415db6(0x1b3)];[_0x415db6(0x16f)];[_0x415db6(0x1bf)];[_0x415db6(0x24a)];static get[_0x415db6(0x1d9)](){return[_0x1b5284,_0x48e3ec,_0x1aac3d,_0x4ab8b6,_0xe2c763,_0x25600e];}static get[_0x415db6(0x15e)](){const _0x9c7c5c=_0x415db6;return _0x9c7c5c(0x176);}static get[_0x415db6(0x1d4)](){return!0x0;}static get[_0x415db6(0x24d)](){return!0x0;}get[_0x415db6(0x19d)](){const _0x3f49da=_0x415db6;return this[_0x3f49da(0x186)]+this[_0x3f49da(0x190)];}get[_0x415db6(0x186)](){const _0x5ed2df=_0x415db6;return this[_0x5ed2df(0x15a)][_0x5ed2df(0x240)]-this[_0x5ed2df(0x190)];}get[_0x415db6(0x22f)](){const _0x25fb30=_0x415db6,_0x5b205f=this[_0x25fb30(0x15a)][_0x25fb30(0x156)]();for(let _0x4bc4c2=_0x5b205f[_0x25fb30(0x1b4)]-0x1;_0x4bc4c2>=0x0;_0x4bc4c2--){const _0x6599be=_0x5b205f[_0x4bc4c2];if(!this[_0x25fb30(0x1bf)][_0x25fb30(0x155)](_0x6599be))return _0x6599be[_0x25fb30(0x1fc)]+0x1-this[_0x25fb30(0x190)];}return 0x0;}constructor(_0x117720){const _0x56a2a2=_0x415db6;if(super(_0x117720),this[_0x56a2a2(0x190)]=0x0,this[_0x56a2a2(0x1b8)]=null,this[_0x56a2a2(0x15a)]=new _0x37ba2d(),this[_0x56a2a2(0x154)][_0x56a2a2(0x219)][_0x56a2a2(0x1db)](_0x56a2a2(0x15d),{}),this[_0x56a2a2(0x1ee)]=this[_0x56a2a2(0x154)][_0x56a2a2(0x219)][_0x56a2a2(0x18c)](_0x56a2a2(0x1bb)),!this[_0x56a2a2(0x1ee)])throw new _0x1de61a(_0x56a2a2(0x1e6),this);const _0x5324d7=_0x117720[_0x56a2a2(0x219)][_0x56a2a2(0x18c)](_0x56a2a2(0x209))||_0xb4be9;this[_0x56a2a2(0x18f)]=new l[(_0x56a2a2(0x164))](_0x5324d7,this[_0x56a2a2(0x1ee)]),this[_0x56a2a2(0x24c)]=this[_0x56a2a2(0x154)][_0x56a2a2(0x180)][_0x56a2a2(0x1e8)],this[_0x56a2a2(0x1ce)]=new _0xf2a304(),this[_0x56a2a2(0x241)]=[],this[_0x56a2a2(0x16a)]=new WeakSet(),this[_0x56a2a2(0x1e0)]=new Set(),this[_0x56a2a2(0x214)](_0x56a2a2(0x1a4),!0x1),this[_0x56a2a2(0x214)](_0x56a2a2(0x238),!0x1),this[_0x56a2a2(0x17a)]=null,this[_0x56a2a2(0x151)]=!0x1,this[_0x56a2a2(0x19f)]=null,this[_0x56a2a2(0x17b)]=0x12c,this[_0x56a2a2(0x1b3)]=this[_0x56a2a2(0x17b)],this[_0x56a2a2(0x16f)]=null,this[_0x56a2a2(0x1bf)]=new WeakSet(),this[_0x56a2a2(0x24a)]=new Z(this[_0x56a2a2(0x1bf)]);}[_0x415db6(0x150)](){const _0x1ab8ab=_0x415db6,_0x58638e=this[_0x1ab8ab(0x154)],_0x5200cb=_0x58638e[_0x1ab8ab(0x242)][_0x1ab8ab(0x18c)](_0xe2c763),_0x57c122=_0x58638e[_0x1ab8ab(0x242)][_0x1ab8ab(0x18c)](_0x1b5284);this[_0x1ab8ab(0x1c8)](_0x5200cb,_0x1ab8ab(0x243),(_0xf9d08b,_0x5a6c13)=>{const _0x42b7ca=_0x1ab8ab,_0x134960=_0x5a6c13[0x0];_0x134960[_0x42b7ca(0x1a6)]&&(_0xf9d08b[_0x42b7ca(0x1a3)]=_0x5200cb[_0x42b7ca(0x1dd)](_0x134960[_0x42b7ca(0x1a6)]),_0xf9d08b[_0x42b7ca(0x14e)]()),null===_0x134960[_0x42b7ca(0x1a6)]&&(_0xf9d08b[_0x42b7ca(0x1a3)]=null,_0xf9d08b[_0x42b7ca(0x14e)]());},{'priority':_0x1ab8ab(0x1fe)}),this[_0x1ab8ab(0x1c8)](_0x58638e[_0x1ab8ab(0x180)][_0x1ab8ab(0x1e8)][_0x1ab8ab(0x196)],_0x1ab8ab(0x251),(_0x36c6b6,_0x1703fd)=>{const _0x493601=_0x1ab8ab;_0x1703fd[_0x493601(0x1e2)]&&this[_0x493601(0x197)]();}),this[_0x1ab8ab(0x1c8)](_0x58638e[_0x1ab8ab(0x222)][_0x1ab8ab(0x201)],_0x1ab8ab(0x1b1),()=>{const _0x39c620=_0x1ab8ab;this[_0x39c620(0x197)]();}),this[_0x1ab8ab(0x252)](),_0x58638e[_0x1ab8ab(0x180)]['on'](_0x1ab8ab(0x1e1),(_0x4a9a3d,_0x446604)=>{const _0x5e6207=_0x1ab8ab,_0xe2f9ca=_0x446604[0x0];_0xe2f9ca[_0x5e6207(0x1d2)]&&(this[_0x5e6207(0x228)](_0xe2f9ca),this[_0x5e6207(0x157)]()&&this[_0x5e6207(0x1a1)]());}),this[_0x1ab8ab(0x1f4)](),this[_0x1ab8ab(0x229)](_0x1ab8ab(0x1d1))['to'](_0x57c122,_0x1ab8ab(0x21b),this,_0x1ab8ab(0x238),(_0x54bf54,_0x1d1247)=>_0x1ab8ab(0x17e)===_0x54bf54&&!_0x1d1247),this['on'](_0x1ab8ab(0x246),()=>{const _0x540139=_0x1ab8ab;this[_0x540139(0x1d1)]?_0x58638e[_0x540139(0x21a)](_0x540139(0x191)):_0x58638e[_0x540139(0x1a7)](_0x540139(0x191));}),this[_0x1ab8ab(0x1d1)]?_0x58638e[_0x1ab8ab(0x21a)](_0x1ab8ab(0x191)):_0x58638e[_0x1ab8ab(0x1a7)](_0x1ab8ab(0x191)),this[_0x1ab8ab(0x214)](_0x1ab8ab(0x1cf),!0x1);}async[_0x415db6(0x1de)](){const _0x6cd860=_0x415db6,_0xb35da4=this[_0x6cd860(0x154)][_0x6cd860(0x242)][_0x6cd860(0x18c)](_0x48e3ec),_0x1ea8e9=this[_0x6cd860(0x154)][_0x6cd860(0x242)][_0x6cd860(0x18c)](_0x1b5284);try{this[_0x6cd860(0x1a4)]=!0x0,_0xb35da4[_0x6cd860(0x1ad)](this[_0x6cd860(0x1ee)]);const _0x23d599=await this[_0x6cd860(0x18f)][_0x6cd860(0x1de)](_0x1ea8e9[_0x6cd860(0x1fa)],this[_0x6cd860(0x22f)]);await this[_0x6cd860(0x250)](_0x23d599)&&(this[_0x6cd860(0x1a4)]=!0x1,this[_0x6cd860(0x205)]());const _0x5d804f=await this[_0x6cd860(0x18f)][_0x6cd860(0x1be)]();_0xb35da4[_0x6cd860(0x17d)](this[_0x6cd860(0x1ee)],_0x5d804f),this[_0x6cd860(0x166)](),this[_0x6cd860(0x1cf)]=!0x0;}catch(_0xe21ec7){if(function(_0x35ce01){const _0x59fb88=_0x6cd860;return _0x59fb88(0x204)===_0x35ce01[_0x59fb88(0x247)];}(_0xe21ec7)&&this[_0x6cd860(0x1b8)])await this[_0x6cd860(0x152)]();else{if(function(_0x37409c){const _0x67a2df=_0x6cd860;return _0x67a2df(0x200)===_0x37409c[_0x67a2df(0x247)];}(_0xe21ec7)){const _0x266607=_0x360a9e(this[_0x6cd860(0x154)][_0x6cd860(0x230)],_0x6cd860(0x235));this[_0x6cd860(0x1c4)](_0x266607);}else{if(!(_0xe21ec7 instanceof X))throw _0xe21ec7;this[_0x6cd860(0x1c4)]();}}}}[_0x415db6(0x217)](){const _0x3f3dc1=_0x415db6,_0x3d9169=this[_0x3f3dc1(0x154)][_0x3f3dc1(0x242)][_0x3f3dc1(0x18c)](_0x1b5284),_0x36dddc=this[_0x3f3dc1(0x154)][_0x3f3dc1(0x242)][_0x3f3dc1(0x18c)](_0x48e3ec);this[_0x3f3dc1(0x154)][_0x3f3dc1(0x1a7)](_0x3f3dc1(0x249)),_0x36dddc[_0x3f3dc1(0x21d)][_0x3f3dc1(0x155)](this[_0x3f3dc1(0x1ee)])&&_0x36dddc[_0x3f3dc1(0x1ad)](this[_0x3f3dc1(0x1ee)]),_0x3d9169[_0x3f3dc1(0x1c2)](this),this[_0x3f3dc1(0x1c9)](),super[_0x3f3dc1(0x217)]();}async[_0x415db6(0x250)](_0x371c2c){const _0x516dc5=_0x415db6;if(this[_0x516dc5(0x1b8)]!==_0x371c2c[_0x516dc5(0x1b8)]&&this[_0x516dc5(0x16f)]!==_0x371c2c[_0x516dc5(0x158)])throw new X();return this[_0x516dc5(0x1b8)]=_0x371c2c[_0x516dc5(0x1b8)],this[_0x516dc5(0x1aa)]([],{..._0x371c2c,'wereChangesApplied':!0x1,'data':_0x371c2c[_0x516dc5(0x1ed)]},_0x516dc5(0x1de));}async[_0x415db6(0x1df)](_0x917dd8,_0x82972a=!0x1){const _0x502eac=_0x415db6,{connection:_0x817962}=this[_0x502eac(0x154)][_0x502eac(0x242)][_0x502eac(0x18c)](_0x1b5284);l[_0x502eac(0x164)][_0x502eac(0x1be)](_0x817962,this[_0x502eac(0x1ee)])[_0x502eac(0x170)](_0xf74184=>this[_0x502eac(0x20c)](_0xf74184))[_0x502eac(0x220)](_0x13cd35=>{const _0x45b25f=_0x502eac;this[_0x45b25f(0x212)](_0x45b25f(0x1ea),_0x13cd35);}),this[_0x502eac(0x1c8)](this[_0x502eac(0x18f)],_0x502eac(0x159),this[_0x502eac(0x233)][_0x502eac(0x229)](this)),this[_0x502eac(0x1c8)](this[_0x502eac(0x18f)],_0x502eac(0x175),(_0x4f0e28,_0x105fc9)=>{const _0x56f713=_0x502eac;this[_0x56f713(0x212)](_0x56f713(0x23f),_0x105fc9);}),this[_0x502eac(0x1c8)](this[_0x502eac(0x18f)],_0x502eac(0x24e),()=>{const _0x377db0=_0x502eac;this[_0x377db0(0x1cf)]=!0x1;});const _0x19c12f=this[_0x502eac(0x24a)][_0x502eac(0x18a)](_0x917dd8);this[_0x502eac(0x1a4)]=!0x0;const _0x5d7f35=await this[_0x502eac(0x18f)][_0x502eac(0x1f3)](_0x817962,this[_0x502eac(0x1f8)](_0x917dd8),_0x19c12f);if(this[_0x502eac(0x1b8)]=_0x5d7f35[_0x502eac(0x1b8)],_0x82972a){if(!_0x5d7f35[_0x502eac(0x169)])return void this[_0x502eac(0x1c4)]();this[_0x502eac(0x1a4)]=!0x1,this[_0x502eac(0x205)](),this[_0x502eac(0x15a)][_0x502eac(0x1f6)](),this[_0x502eac(0x190)]=_0x5d7f35[_0x502eac(0x239)],this[_0x502eac(0x15a)][_0x502eac(0x240)]=this[_0x502eac(0x190)],await this[_0x502eac(0x1aa)](_0x917dd8,_0x5d7f35,_0x502eac(0x183));}else await this[_0x502eac(0x16d)](_0x5d7f35,_0x917dd8);this[_0x502eac(0x166)](),this[_0x502eac(0x1cf)]=!0x0;}[_0x415db6(0x166)](){const _0x371437=_0x415db6,_0x3e9e6f=this[_0x371437(0x154)][_0x371437(0x242)][_0x371437(0x18c)](_0x48e3ec),_0x5cf6ef=this[_0x371437(0x154)][_0x371437(0x242)][_0x371437(0x18c)](_0x1aac3d),_0x435c8c=_0x3e9e6f[_0x371437(0x21d)][_0x371437(0x18c)](this[_0x371437(0x1ee)]);_0x435c8c&&_0x435c8c[_0x371437(0x1b4)]>0x1?_0x5cf6ef[_0x371437(0x1fd)]():this[_0x371437(0x1c8)](_0x3e9e6f,_0x371437(0x198)+this[_0x371437(0x1ee)],()=>{const _0x2a7a31=_0x371437;0x2===_0x3e9e6f[_0x2a7a31(0x21d)][_0x2a7a31(0x18c)](this[_0x2a7a31(0x1ee)])[_0x2a7a31(0x1b4)]&&_0x5cf6ef[_0x2a7a31(0x1fd)]();});}async[_0x415db6(0x233)](_0x3ba97f,_0x49de66,_0x44352c,_0x2a02dc){const _0x530515=_0x415db6;if(!this[_0x530515(0x1a4)]&&this[_0x530515(0x24c)][_0x530515(0x240)]==_0x49de66){const _0x4c73bc=this[_0x530515(0x16c)](_0x44352c,_0x2a02dc);await this[_0x530515(0x187)](_0x4c73bc),this[_0x530515(0x210)](_0x4c73bc,_0x49de66,_0x44352c[_0x530515(0x158)])||this[_0x530515(0x212)](_0x530515(0x1a0));}}async[_0x415db6(0x152)](){const _0x27f8d8=_0x415db6;this[_0x27f8d8(0x1c9)]();const {locale:_0x3bc02e}=this[_0x27f8d8(0x154)];let _0x92ced9;try{_0x92ced9=await this[_0x27f8d8(0x18f)][_0x27f8d8(0x231)]();}catch{const _0x2aa897=_0x360a9e(_0x3bc02e,_0x27f8d8(0x15b));return void this[_0x27f8d8(0x1c4)](_0x2aa897);}const _0x134436=_0x92ced9[_0x27f8d8(0x1c0)]||_0x92ced9[_0x27f8d8(0x206)];if(this[_0x27f8d8(0x16f)]!==_0x134436[_0x27f8d8(0x158)]){const _0x5829aa=_0x360a9e(_0x3bc02e,_0x27f8d8(0x19a));return void this[_0x27f8d8(0x1c4)](_0x5829aa);}await this[_0x27f8d8(0x1df)](this[_0x27f8d8(0x154)][_0x27f8d8(0x180)][_0x27f8d8(0x1e8)][_0x27f8d8(0x1b5)][_0x27f8d8(0x156)](),!0x0);}[_0x415db6(0x1c9)](){const _0x178825=_0x415db6;this[_0x178825(0x18f)][_0x178825(0x22d)](),this[_0x178825(0x241)]=[],clearTimeout(this[_0x178825(0x19f)]),this[_0x178825(0x15f)](this[_0x178825(0x18f)]);}[_0x415db6(0x20c)](_0x506234){const _0x30ae6a=_0x415db6,_0x49f22e=this[_0x30ae6a(0x154)][_0x30ae6a(0x242)][_0x30ae6a(0x18c)](_0x48e3ec);this[_0x30ae6a(0x1c8)](_0x49f22e,_0x30ae6a(0x198)+this[_0x30ae6a(0x1ee)],(_0x49ad97,{session:_0x104f7d})=>{const _0x45f418=_0x30ae6a;if(_0x104f7d['id']===_0x49f22e[_0x45f418(0x22a)]){_0x49ad97[_0x45f418(0x1f0)]();const _0x324b3c=this[_0x45f418(0x154)][_0x45f418(0x242)][_0x45f418(0x155)](_0x45f418(0x236))&&this[_0x45f418(0x154)][_0x45f418(0x242)][_0x45f418(0x18c)](_0x45f418(0x236));let _0x446c49=_0x104f7d[_0x45f418(0x1b0)];_0x324b3c&&_0x324b3c[_0x45f418(0x1e9)]&&(_0x446c49=_0x446c49[_0x45f418(0x173)](_0x1951e2=>_0x45f418(0x208)!==_0x1951e2)),this[_0x45f418(0x154)][_0x45f418(0x242)][_0x45f418(0x18c)](_0x45f418(0x1b2))[_0x45f418(0x21e)](_0x446c49,this[_0x45f418(0x1ee)]);}}),_0x49f22e[_0x30ae6a(0x17d)](this[_0x30ae6a(0x1ee)],_0x506234);}[_0x415db6(0x252)](){const _0x4fb60a=_0x415db6,_0x42b2d=this[_0x4fb60a(0x154)][_0x4fb60a(0x1ed)][_0x4fb60a(0x214)];this[_0x4fb60a(0x154)][_0x4fb60a(0x1ed)][_0x4fb60a(0x214)]=(..._0x122535)=>{const _0x40a4d4=_0x4fb60a;if(!_0x122535[_0x122535[_0x40a4d4(0x1b4)]-0x1][_0x40a4d4(0x20f)])throw new _0x1de61a(_0x40a4d4(0x1fb),this);_0x42b2d[_0x40a4d4(0x16e)](this[_0x40a4d4(0x154)][_0x40a4d4(0x1ed)],_0x122535);};}[_0x415db6(0x1f4)](){const _0x46cf7e=_0x415db6;this[_0x46cf7e(0x154)][_0x46cf7e(0x1ed)]['on'](_0x46cf7e(0x150),(_0x318d76,[_0x305f63])=>{const _0x41ee14=_0x46cf7e;if(this[_0x41ee14(0x24c)][_0x41ee14(0x240)])throw new _0x1de61a(_0x41ee14(0x20a),this);_0x318d76[_0x41ee14(0x14e)](),this[_0x41ee14(0x18d)]();const _0x292c8c=this[_0x41ee14(0x154)][_0x41ee14(0x219)][_0x41ee14(0x18c)](_0x41ee14(0x226)),_0x20d377=this[_0x41ee14(0x1cd)](_0x305f63,_0x292c8c);0x0==_0x20d377[_0x41ee14(0x1b4)]&&_0x20d377[_0x41ee14(0x1ec)](new _0x3daa21(0x0)),_0x318d76[_0x41ee14(0x1a3)]=this[_0x41ee14(0x1df)](_0x20d377)[_0x41ee14(0x170)](()=>{const _0x2ea092=_0x41ee14;this[_0x2ea092(0x154)][_0x2ea092(0x242)][_0x2ea092(0x18c)](_0x1b5284)[_0x2ea092(0x16b)](this),this[_0x2ea092(0x154)][_0x2ea092(0x1ed)][_0x2ea092(0x165)](_0x2ea092(0x1f9));})[_0x41ee14(0x220)](_0x2af240=>this[_0x41ee14(0x212)](_0x41ee14(0x1ca),_0x2af240))[_0x41ee14(0x179)](()=>this[_0x41ee14(0x205)]());},{'priority':_0x46cf7e(0x1fe)}),this[_0x46cf7e(0x154)]['on'](_0x46cf7e(0x1a9),async(_0xe4fe70,[_0x506a1e,_0x46b752])=>{const _0x28e1fd=_0x46cf7e;_0xe4fe70[_0x28e1fd(0x14e)]();const _0x11f65b=this[_0x28e1fd(0x154)][_0x28e1fd(0x180)][_0x28e1fd(0x1e8)][_0x28e1fd(0x234)](_0x506a1e);if(!this[_0x28e1fd(0x1e0)][_0x28e1fd(0x155)](_0x506a1e)){const _0x449d62=_0x46b752&&_0x46b752[_0x28e1fd(0x1ed)]?_0x46b752[_0x28e1fd(0x1ed)]:'',_0x39933f=_0x46b752&&_0x46b752[_0x28e1fd(0x21c)]?_0x46b752[_0x28e1fd(0x21c)]:{};await this[_0x28e1fd(0x221)](_0x506a1e,_0x449d62,_0x39933f);}this[_0x28e1fd(0x154)][_0x28e1fd(0x180)][_0x28e1fd(0x1ab)]({'isUndoable':!0x1},()=>{const _0x4e5a0c=_0x28e1fd;_0x11f65b[_0x4e5a0c(0x194)]=!0x0,this[_0x4e5a0c(0x154)][_0x4e5a0c(0x180)][_0x4e5a0c(0x1e8)][_0x4e5a0c(0x21f)][_0x4e5a0c(0x1d6)](_0x11f65b);});},{'priority':_0x46cf7e(0x1fe)});}async[_0x415db6(0x187)](_0x451d82){const _0x1f10ec=_0x415db6,_0x2283b0=this[_0x1f10ec(0x154)][_0x1f10ec(0x242)][_0x1f10ec(0x18c)](_0xe2c763),{connection:_0x2a0331}=this[_0x1f10ec(0x154)][_0x1f10ec(0x242)][_0x1f10ec(0x18c)](_0x1b5284),_0x3fc6eb=new Set();for(const _0x5c56ed of _0x451d82){const _0x10d1df=_0x5c56ed[_0x1f10ec(0x1a6)];_0x10d1df&&!_0x2283b0[_0x1f10ec(0x1dd)](_0x10d1df)&&_0x3fc6eb[_0x1f10ec(0x1ff)](_0x10d1df);}if(0x0===_0x3fc6eb[_0x1f10ec(0x167)])return;const _0x567766=await _0x2f2b0b[_0x1f10ec(0x192)](_0x2a0331,Array[_0x1f10ec(0x1e4)](_0x3fc6eb));for(const _0x124380 of _0x567766)_0x2283b0[_0x1f10ec(0x1dd)](_0x124380['id'])||_0x2283b0[_0x1f10ec(0x248)](_0x124380);}[_0x415db6(0x1cd)](_0x47bb1f,_0x46ede2={}){const _0xb51d8d=_0x415db6,_0x2cd9e4=this[_0xb51d8d(0x154)][_0xb51d8d(0x180)],_0x1b8ff1=[];let _0x2fde61=0x0;const _0x59f5b3=_0xb51d8d(0x1a2)==typeof _0x47bb1f?{'main':_0x47bb1f}:_0x47bb1f;for(const _0x402f3a of Object[_0xb51d8d(0x1ae)](_0x59f5b3)){if(!this[_0xb51d8d(0x24c)][_0xb51d8d(0x1f2)][_0xb51d8d(0x155)](_0x402f3a))throw new _0x1de61a(_0xb51d8d(0x193),this);const _0x4c751a=this[_0xb51d8d(0x154)][_0xb51d8d(0x1ed)][_0xb51d8d(0x1d0)](_0x59f5b3[_0x402f3a]),_0x142e0d=this[_0xb51d8d(0x24c)][_0xb51d8d(0x234)](_0x402f3a),_0x3b6d68=new _0x4f2b26(_0x2cd9e4[_0xb51d8d(0x1ba)](_0x142e0d,0x0),_0x4c751a,_0x2fde61++);_0x1b8ff1[_0xb51d8d(0x1ec)](_0x3b6d68);for(const [_0x1dfc55,_0x30ad51]of _0x4c751a[_0xb51d8d(0x1af)]){const _0x11957a=_0x2cd9e4[_0xb51d8d(0x171)](_0x2cd9e4[_0xb51d8d(0x19c)](_0x142e0d,_0x30ad51[_0xb51d8d(0x160)][_0xb51d8d(0x244)][_0xb51d8d(0x1f7)]()),_0x2cd9e4[_0xb51d8d(0x19c)](_0x142e0d,_0x30ad51[_0xb51d8d(0x181)][_0xb51d8d(0x244)][_0xb51d8d(0x1f7)]())),_0x2b8b99=new _0x4b7ccf(_0x1dfc55,null,_0x11957a,_0x2cd9e4[_0xb51d8d(0x1af)],!0x0,_0x2fde61++);_0x1b8ff1[_0xb51d8d(0x1ec)](_0x2b8b99);}}if(_0x46ede2)for(const [_0x1c9ef2,_0x22665b]of Object[_0xb51d8d(0x218)](_0x46ede2)){const _0x3dc0b0=_0x2cd9e4[_0xb51d8d(0x1e8)][_0xb51d8d(0x234)](_0x1c9ef2);if(!_0x3dc0b0)throw new _0x1de61a(_0xb51d8d(0x1bd),null);for(const [_0x5d17ab,_0x359b61]of Object[_0xb51d8d(0x218)](_0x22665b))if(null!==_0x359b61){const _0x2545c0=new _0x138385(_0x3dc0b0,_0x5d17ab,null,_0x359b61,_0x2fde61++);_0x1b8ff1[_0xb51d8d(0x1ec)](_0x2545c0);}}return _0x1b8ff1;}async[_0x415db6(0x221)](_0x53b1e8,_0x310788,_0x2e335c){const _0x2f2b87=_0x415db6;this[_0x2f2b87(0x1cd)]({[_0x53b1e8]:_0x310788},{[_0x53b1e8]:_0x2e335c})[_0x2f2b87(0x182)]((_0x44098d,_0x1d5083)=>{const _0x48af77=_0x2f2b87;_0x44098d[_0x48af77(0x1fc)]=this[_0x48af77(0x24c)][_0x48af77(0x240)]+_0x1d5083,_0x44098d[_0x48af77(0x211)]=!0x0,this[_0x48af77(0x228)](_0x44098d);}),this[_0x2f2b87(0x1a1)](),await this[_0x2f2b87(0x172)]();}async[_0x415db6(0x16d)](_0x596318,_0x5bb876){const _0x120f96=_0x415db6;let _0x2810be;this[_0x120f96(0x190)]=_0x596318[_0x120f96(0x239)];const _0x4fa74f=_0x596318[_0x120f96(0x169)]&&!_0x596318[_0x120f96(0x23c)],_0xc36e6f=_0x4fa74f?0x0:_0x596318[_0x120f96(0x1ed)][_0x120f96(0x1fc)];if(_0x5bb876[_0x120f96(0x182)](_0x10da25=>{const _0x39aff5=_0x120f96;_0x10da25[_0x39aff5(0x211)]=!0x0,_0x10da25[_0x39aff5(0x22e)]=_0x596318[_0x39aff5(0x1a5)],_0x10da25[_0x39aff5(0x1a6)]=null;}),_0x4fa74f)_0x2810be=_0x5bb876,this[_0x120f96(0x177)](_0x2810be,_0x4fa74f);else{if(_0x596318[_0x120f96(0x23c)]){const _0x886a00=this[_0x120f96(0x1cd)](_0x596318[_0x120f96(0x23c)]);this[_0x120f96(0x24c)][_0x120f96(0x1b5)][_0x120f96(0x240)]=-_0x886a00[_0x120f96(0x1b4)],_0x886a00[_0x120f96(0x182)](_0xc7397a=>{const _0xb08270=_0x120f96;_0xc7397a[_0xb08270(0x1fc)]-=_0x886a00[_0xb08270(0x1b4)],_0xc7397a[_0xb08270(0x22e)]=_0x596318[_0xb08270(0x1a5)],_0xc7397a[_0xb08270(0x211)]=!0x0,_0xc7397a[_0xb08270(0x1a6)]=null;}),this[_0x120f96(0x177)](_0x886a00,!0x0),this[_0x120f96(0x15a)][_0x120f96(0x240)]=-_0x886a00[_0x120f96(0x1b4)]+this[_0x120f96(0x190)],this[_0x120f96(0x203)](_0x886a00);}this[_0x120f96(0x24c)][_0x120f96(0x1b5)][_0x120f96(0x240)]=_0xc36e6f,_0x2810be=this[_0x120f96(0x16c)](_0x596318[_0x120f96(0x1ed)],_0x596318[_0x120f96(0x1d8)]),await this[_0x120f96(0x187)](_0x2810be),this[_0x120f96(0x177)](_0x2810be,_0x4fa74f);}_0x596318[_0x120f96(0x158)]&&(this[_0x120f96(0x24a)][_0x120f96(0x237)](_0x2810be,_0x596318[_0x120f96(0x158)]),this[_0x120f96(0x16f)]=_0x596318[_0x120f96(0x158)]),this[_0x120f96(0x15a)][_0x120f96(0x240)]=_0xc36e6f+this[_0x120f96(0x190)],this[_0x120f96(0x203)](_0x2810be),_0x5bb876[_0x120f96(0x173)](_0x53a8bc=>{const _0x2d1069=_0x120f96,_0x87d66a=this[_0x2d1069(0x1f1)](_0x53a8bc);return _0x87d66a&&!this[_0x2d1069(0x1e0)][_0x2d1069(0x155)](_0x87d66a);})[_0x120f96(0x182)]((_0x1b47ef,_0x45f6b8)=>{const _0x8e107b=_0x120f96;_0x1b47ef[_0x8e107b(0x1fc)]=this[_0x8e107b(0x24c)][_0x8e107b(0x240)]+_0x45f6b8,this[_0x8e107b(0x228)](_0x1b47ef);}),this[_0x120f96(0x157)]()?(this[_0x120f96(0x1b3)]=0x0,this[_0x120f96(0x1a1)](!0x0),await this[_0x120f96(0x172)]()):(this[_0x120f96(0x1a4)]=!0x1,this[_0x120f96(0x205)]());}[_0x415db6(0x212)](_0x4e31eb,_0x2fbab1){const _0x4e1179=_0x415db6,_0x172685=_0x2fbab1&&_0x2fbab1[_0x4e1179(0x174)];if(_0x172685&&_0x172685[_0x4e1179(0x168)](_0x4e1179(0x1bc)))throw _0x2fbab1;const _0x3522a5=this[_0x4e1179(0x154)][_0x4e1179(0x242)][_0x4e1179(0x18c)](_0x1b5284);throw this[_0x4e1179(0x1a4)]=!0x0,_0x3522a5[_0x4e1179(0x22d)](),this[_0x4e1179(0x154)][_0x4e1179(0x1a7)](_0x4e1179(0x1c6)),new _0x1de61a(_0x4e31eb,this[_0x4e1179(0x154)],_0x172685?{'originalError':_0x172685}:void 0x0);}[_0x415db6(0x228)](_0x332c40){const _0x11fbc6=_0x415db6;this[_0x11fbc6(0x16a)][_0x11fbc6(0x155)](_0x332c40)||(this[_0x11fbc6(0x16a)][_0x11fbc6(0x1ff)](_0x332c40),this[_0x11fbc6(0x241)][_0x11fbc6(0x1ec)](_0x332c40),this[_0x11fbc6(0x17a)]||_0x11fbc6(0x1c3)==_0x332c40[_0x11fbc6(0x225)]&&!_0x332c40[_0x11fbc6(0x161)]||this[_0x11fbc6(0x18d)]());}[_0x415db6(0x1a1)](_0x22660d=!0x1){const _0x394896=_0x415db6;!_0x22660d&&this[_0x394896(0x1a4)]||(this[_0x394896(0x1a4)]=!0x0,clearTimeout(this[_0x394896(0x19f)]),this[_0x394896(0x19f)]=setTimeout(()=>{const _0x230230=_0x394896;this[_0x230230(0x1b6)]()[_0x230230(0x170)](_0x15c000=>{const _0x434a03=_0x230230;_0x15c000&&(this[_0x434a03(0x205)](),this[_0x434a03(0x1a4)]=!0x1);})[_0x230230(0x220)](_0x3bb9e3=>{const _0x2dd081=_0x230230;this[_0x2dd081(0x205)](),this[_0x2dd081(0x1a4)]=!0x1,function(_0x2698fe){const _0x3c854e=_0x2dd081;return _0x2698fe[_0x3c854e(0x174)][_0x3c854e(0x168)](_0x3c854e(0x1eb))||_0x2698fe[_0x3c854e(0x174)][_0x3c854e(0x168)](_0x3c854e(0x1dc))||_0x2698fe[_0x3c854e(0x174)][_0x3c854e(0x168)](_0x3c854e(0x1c5));}(_0x3bb9e3)||this[_0x2dd081(0x212)](_0x3bb9e3[_0x2dd081(0x174)],_0x3bb9e3);});},this[_0x394896(0x1b3)]));}[_0x415db6(0x172)](){return new Promise(_0x31986f=>{const _0x2cbb88=_0x5c3b;this['on'](_0x2cbb88(0x22c),()=>{_0x31986f();});});}async[_0x415db6(0x1b6)](){const _0x1d3f66=_0x415db6,_0x335318=this[_0x1d3f66(0x154)][_0x1d3f66(0x242)][_0x1d3f66(0x18c)](_0x1aac3d);if(this[_0x1d3f66(0x20d)]()&&(_0x335318[_0x1d3f66(0x1fd)](),this[_0x1d3f66(0x151)]=!0x1),!this[_0x1d3f66(0x157)]())return!0x0;const _0x886ba8=[...this[_0x1d3f66(0x241)]];for(const _0x5b5e43 of _0x886ba8)_0x5b5e43[_0x1d3f66(0x23e)]=this[_0x1d3f66(0x24c)][_0x1d3f66(0x1b5)][_0x1d3f66(0x1e5)](_0x5b5e43);const _0x5baca8=this[_0x1d3f66(0x24a)][_0x1d3f66(0x18a)](_0x886ba8),_0x351241=Q++,_0x597cbf=this[_0x1d3f66(0x1f8)](_0x886ba8),_0x5c9572=await this[_0x1d3f66(0x18f)][_0x1d3f66(0x1b9)](_0x597cbf,_0x597cbf[_0x1d3f66(0x1fc)],_0x5baca8);try{return await this[_0x1d3f66(0x1aa)](_0x886ba8,_0x5c9572,_0x351241);}catch(_0x4f9816){return this[_0x1d3f66(0x212)](_0x1d3f66(0x224),_0x4f9816);}}async[_0x415db6(0x1aa)](_0x22282d,_0x15ac0f,_0x135aa5){const _0x4850a6=_0x415db6;if(_0x4850a6(0x175)in _0x15ac0f)throw _0x15ac0f[_0x4850a6(0x175)];let _0xe2154e=!0x1;if(_0x15ac0f[_0x4850a6(0x169)]){_0x15ac0f[_0x4850a6(0x158)]&&(this[_0x4850a6(0x16f)]=_0x15ac0f[_0x4850a6(0x158)]),this[_0x4850a6(0x241)]=this[_0x4850a6(0x241)][_0x4850a6(0x173)](_0x2c4c20=>!_0x22282d[_0x4850a6(0x18e)](_0x2c4c20));for(const _0x3e0901 of _0x22282d)_0x3e0901[_0x4850a6(0x22e)]=_0x4850a6(0x227)in _0x15ac0f&&_0x15ac0f[_0x4850a6(0x227)]||void 0x0;Y(_0x22282d,_0x15ac0f[_0x4850a6(0x240)]-_0x22282d[_0x4850a6(0x1b4)]),this[_0x4850a6(0x203)](_0x22282d);const _0x209f65=_0x22282d[_0x4850a6(0x173)](_0x358c09=>{const _0x536d6f=_0x4850a6;if(!_0x358c09[_0x536d6f(0x211)])return!0x1;const _0x3ad9ba=this[_0x536d6f(0x1f1)](_0x358c09);return _0x3ad9ba&&!this[_0x536d6f(0x1e0)][_0x536d6f(0x155)](_0x3ad9ba);});Y(_0x209f65,this[_0x4850a6(0x24c)][_0x4850a6(0x240)]),this[_0x4850a6(0x177)](_0x209f65),_0xe2154e=!0x0,this[_0x4850a6(0x1b3)]=this[_0x4850a6(0x17b)];}else{const _0x57f6ef=this[_0x4850a6(0x16c)](_0x15ac0f[_0x4850a6(0x1ed)],_0x15ac0f[_0x4850a6(0x1d8)])[_0x4850a6(0x173)](_0x3859c6=>_0x3859c6[_0x4850a6(0x1fc)]>=this[_0x4850a6(0x186)]);_0x57f6ef[_0x4850a6(0x182)](_0x2c671c=>this[_0x4850a6(0x216)](_0x2c671c)),this[_0x4850a6(0x241)]=this[_0x4850a6(0x241)][_0x4850a6(0x173)](_0x2154ff=>!_0x2154ff[_0x4850a6(0x211)]||!this[_0x4850a6(0x1e0)][_0x4850a6(0x155)](this[_0x4850a6(0x1f1)](_0x2154ff))),this[_0x4850a6(0x241)][_0x4850a6(0x1b4)]&&Y(this[_0x4850a6(0x241)],this[_0x4850a6(0x241)][0x0][_0x4850a6(0x1fc)]),await this[_0x4850a6(0x187)](_0x57f6ef),_0xe2154e=this[_0x4850a6(0x210)](_0x57f6ef,_0x15ac0f[_0x4850a6(0x240)],_0x15ac0f[_0x4850a6(0x158)]),this[_0x4850a6(0x1b3)]=Math[_0x4850a6(0x14d)](this[_0x4850a6(0x1b3)]/0x2);}return _0xe2154e?!this[_0x4850a6(0x157)]()||(this[_0x4850a6(0x1a1)](!0x0),!0x1):this[_0x4850a6(0x212)](_0x4850a6(0x189));}[_0x415db6(0x210)](_0xee227a,_0x4c092d,_0x3372a9){const _0x5e6887=_0x415db6;try{const _0x284ce1={'document':this[_0x5e6887(0x24c)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x3ccf59,operationsB:_0x5a4e2d,originalOperations:_0x36b528}=_0x43378e(_0xee227a,this[_0x5e6887(0x241)],_0x284ce1);Y(_0x3ccf59,this[_0x5e6887(0x24c)][_0x5e6887(0x240)]),Y(_0x5a4e2d,_0x4c092d);for(const _0x1d2b92 of _0x3ccf59){const _0x3836ce=_0x36b528[_0x5e6887(0x18c)](_0x1d2b92);_0x1d2b92[_0x5e6887(0x1a6)]=_0x3836ce?_0x3836ce[_0x5e6887(0x1a6)]:null;}_0x3372a9&&(this[_0x5e6887(0x24a)][_0x5e6887(0x237)](_0xee227a,_0x3372a9),this[_0x5e6887(0x16f)]=_0x3372a9),this[_0x5e6887(0x241)]=[..._0x5a4e2d],this[_0x5e6887(0x177)](_0x3ccf59),this[_0x5e6887(0x203)](_0xee227a);}catch(_0x2c2612){return console[_0x5e6887(0x175)](_0x2c2612),!0x1;}return!0x0;}[_0x415db6(0x177)](_0x2def6b,_0x18bd19=!0x1){const _0x21d285=_0x415db6;this[_0x21d285(0x154)][_0x21d285(0x180)][_0x21d285(0x1ab)]({'isUndoable':!0x1,'isLocal':!0x1},_0x2fb426=>{const _0x2d9c32=_0x21d285;for(const _0x576e2f of _0x2def6b)this[_0x2d9c32(0x16a)][_0x2d9c32(0x1ff)](_0x576e2f),this[_0x2d9c32(0x216)](_0x576e2f),_0x2fb426[_0x2d9c32(0x163)][_0x2d9c32(0x17c)](_0x576e2f),this[_0x2d9c32(0x154)][_0x2d9c32(0x180)][_0x2d9c32(0x1e1)](_0x576e2f);});}[_0x415db6(0x216)](_0x48f625){const _0x240f3f=_0x415db6,_0x54104c=this[_0x240f3f(0x1f1)](_0x48f625);_0x54104c&&this[_0x240f3f(0x1e0)][_0x240f3f(0x1ff)](_0x54104c);}[_0x415db6(0x1f1)](_0x130369){const _0x3b7092=_0x415db6;let _0x5e4964,_0x39366d;switch(_0x130369[_0x3b7092(0x225)]){case _0x3b7092(0x207):_0x5e4964=_0x130369[_0x3b7092(0x1e7)][_0x3b7092(0x232)];break;case _0x3b7092(0x1c3):if(_0x39366d=_0x130369[_0x3b7092(0x23d)],!_0x39366d)return null;_0x5e4964=_0x39366d[_0x3b7092(0x232)];break;case _0x3b7092(0x1d5):_0x5e4964=_0x130369[_0x3b7092(0x232)];break;case _0x3b7092(0x15c):_0x5e4964=_0x130369[_0x3b7092(0x1d3)];break;case _0x3b7092(0x1ac):_0x5e4964=_0x130369[_0x3b7092(0x245)][_0x3b7092(0x232)];break;default:return null;}return _0x5e4964[_0x3b7092(0x19b)];}[_0x415db6(0x203)](_0x105000){const _0x13fff9=_0x415db6;_0x105000[_0x13fff9(0x182)](_0x2a2227=>{const _0x5c0811=_0x13fff9,_0x24b94c=_0x2a2227[_0x5c0811(0x1ef)]();_0x24b94c[_0x5c0811(0x1a6)]=_0x2a2227[_0x5c0811(0x1a6)],_0x24b94c[_0x5c0811(0x211)]=!!_0x2a2227[_0x5c0811(0x211)],_0x24b94c[_0x5c0811(0x22e)]=_0x2a2227[_0x5c0811(0x22e)],_0x24b94c[_0x5c0811(0x1fc)]+=this[_0x5c0811(0x190)],_0x2a2227[_0x5c0811(0x22b)]&&this[_0x5c0811(0x1bf)][_0x5c0811(0x1ff)](_0x24b94c),this[_0x5c0811(0x15a)][_0x5c0811(0x17c)](_0x24b94c);});}[_0x415db6(0x1c4)](_0x2263c5){const _0x56ec38=_0x415db6,_0x13bcb6=this[_0x56ec38(0x154)][_0x56ec38(0x242)][_0x56ec38(0x18c)](_0x56ec38(0x20e)),_0x58e0d9=this[_0x56ec38(0x154)][_0x56ec38(0x230)];_0x2263c5||(_0x2263c5=_0x360a9e(_0x58e0d9,_0x56ec38(0x1cb))),_0x13bcb6[_0x56ec38(0x185)](_0x2263c5,{'title':_0x360a9e(_0x58e0d9,_0x56ec38(0x1c1)),'namespace':_0x56ec38(0x1cc)}),this[_0x56ec38(0x238)]=!0x0,clearTimeout(this[_0x56ec38(0x19f)]),this[_0x56ec38(0x241)]=[],this[_0x56ec38(0x154)][_0x56ec38(0x242)][_0x56ec38(0x18c)](_0x1b5284)[_0x56ec38(0x22d)]();}[_0x415db6(0x18d)](){const _0x2fe257=_0x415db6;this[_0x2fe257(0x17a)]||(this[_0x2fe257(0x17a)]=this[_0x2fe257(0x154)][_0x2fe257(0x242)][_0x2fe257(0x18c)](_0x4ab8b6)[_0x2fe257(0x1ff)](_0x360a9e(this[_0x2fe257(0x154)][_0x2fe257(0x230)],_0x2fe257(0x23b))));}[_0x415db6(0x205)](){const _0x161b97=_0x415db6;this[_0x161b97(0x17a)]&&(this[_0x161b97(0x154)][_0x161b97(0x242)][_0x161b97(0x18c)](_0x4ab8b6)[_0x161b97(0x195)](this[_0x161b97(0x17a)]),this[_0x161b97(0x17a)]=null);}[_0x415db6(0x1f8)](_0x6aa149){const _0x43234a=_0x415db6,_0x5ebb3b=_0x6aa149[_0x43234a(0x162)](_0x434b1c=>_0x434b1c[_0x43234a(0x1d7)]());return this[_0x43234a(0x1ce)][_0x43234a(0x1c7)](_0x5ebb3b);}[_0x415db6(0x16c)](_0x2ab695,_0x536ed1){const _0x51e89c=_0x415db6;return this[_0x51e89c(0x1ce)][_0x51e89c(0x153)](_0x2ab695)[_0x51e89c(0x162)]((_0x3bc718,_0xaddc2a)=>{const _0x2ea1bc=_0x51e89c,_0x3078ee=_0x2ea1bc(0x150)==_0x536ed1[_0xaddc2a][_0x2ea1bc(0x225)];if(_0x2ea1bc(0x223)==_0x3bc718[_0x2ea1bc(0x188)]){const _0x277b6d=_0x3bc718[_0x2ea1bc(0x1e7)][_0x2ea1bc(0x232)];!this[_0x2ea1bc(0x24c)][_0x2ea1bc(0x234)](_0x277b6d)&&(this[_0x2ea1bc(0x24c)][_0x2ea1bc(0x20b)](_0x2ea1bc(0x184),_0x277b6d)[_0x2ea1bc(0x1f5)]=!0x1);}const _0x2a8102=_0x432e73[_0x2ea1bc(0x215)](_0x3bc718,this[_0x2ea1bc(0x24c)]);return _0x2a8102[_0x2ea1bc(0x23e)]=_0x3bc718[_0x2ea1bc(0x23e)],_0x2a8102[_0x2ea1bc(0x211)]=_0x3078ee,_0x2a8102[_0x2ea1bc(0x1a6)]=_0x3078ee?null:_0x536ed1[_0xaddc2a][_0x2ea1bc(0x17f)],_0x2a8102[_0x2ea1bc(0x22b)]=_0x2ea1bc(0x202)===_0x536ed1[_0xaddc2a][_0x2ea1bc(0x225)],_0x2a8102[_0x2ea1bc(0x22e)]=_0x536ed1[_0xaddc2a][_0x2ea1bc(0x22e)],_0x2a8102;});}[_0x415db6(0x197)](){const _0x2c9e1f=_0x415db6;this[_0x2c9e1f(0x151)]=!0x0,this[_0x2c9e1f(0x20d)]()?this[_0x2c9e1f(0x1a1)]():this[_0x2c9e1f(0x151)]=!0x1;}[_0x415db6(0x20d)](){const _0x25435e=_0x415db6,_0x36b755=this[_0x25435e(0x154)][_0x25435e(0x242)][_0x25435e(0x18c)](_0x48e3ec)[_0x25435e(0x21d)][_0x25435e(0x18c)](this[_0x25435e(0x1ee)]);return!this[_0x25435e(0x154)][_0x25435e(0x14f)]&&!!_0x36b755&&_0x36b755[_0x25435e(0x1b4)]>0x1&&this[_0x25435e(0x151)];}[_0x415db6(0x157)](){const _0xb62e3d=_0x415db6;return this[_0xb62e3d(0x241)][_0xb62e3d(0x1b4)]>0x0||this[_0xb62e3d(0x20d)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x3ce0f9,_0xe29270){const _0x10c161=_0x415db6;for(const _0x1235bf of _0x3ce0f9)_0x1235bf[_0x10c161(0x1fc)]=_0xe29270++;}class Z{[_0x415db6(0x1b7)];[_0x415db6(0x199)];constructor(_0x37b398){const _0xbfe2e5=_0x415db6;this[_0xbfe2e5(0x1b7)]=_0x37b398,this[_0xbfe2e5(0x199)]=new WeakMap();}[_0x415db6(0x18a)](_0xf3f662){const _0x341447=_0x415db6;let _0x476016=_0xf3f662[_0x341447(0x1b4)];for(;_0x476016--;){const _0x3f3d41=_0xf3f662[_0x476016];if(!this[_0x341447(0x1b7)][_0x341447(0x155)](_0x3f3d41)){if(!this[_0x341447(0x199)][_0x341447(0x155)](_0x3f3d41)){const _0x52d361=_0x4eb336()[_0x341447(0x1f7)](0x1,0x12);this[_0x341447(0x199)][_0x341447(0x214)](_0x3f3d41,_0x52d361);}return this[_0x341447(0x199)][_0x341447(0x18c)](_0x3f3d41);}}}[_0x415db6(0x237)](_0x169080,_0x39e283){const _0x155b6b=_0x415db6;if(!_0x39e283)return;let _0x3b1e4a=_0x169080[_0x155b6b(0x1b4)];for(;_0x3b1e4a--;){const _0x21f228=_0x169080[_0x3b1e4a];this[_0x155b6b(0x1b7)][_0x155b6b(0x155)](_0x21f228)||this[_0x155b6b(0x199)][_0x155b6b(0x214)](_0x21f228,_0x39e283);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x5b54(){const _0xfcfa91=['8pxTtis','state','967253lQkEJp','values','stopListening','connected','165600pCyztC','init','sessions-unregister-not-exist','isPremiumPlugin','forEach','2398389xfjDJG','getUserRole','isMe','addUser','sessions-register-already-registered','getUserSessions','5624187HaDNLX','size','pluginName','remove','sessionAdd:','listenTo','register','_registeredSessions','_handleSessionAdd','sessionId','connection','getUserBySessionId','5355174TdtLlo','change:state','plugins','_users','has','get','defineMe','allConnectedUsers','_handleSessionRemove','delete','287465jRYkFj','clear','mySessionId','fire','getUser','context','channelConnectedUsers','1449048uzGlvN','unregister','assign','_uniqueUsersCount','set','add','user','isOfficialPlugin','orderNumber','Sessions','requires','channelSessions','_createUser','role'];_0x5b54=function(){return _0xfcfa91;};return _0x5b54();}const _0x3f2e6d=_0x304d;(function(_0x5e9ddc,_0x3f9e42){const _0x52ac10=_0x304d,_0xc12c6c=_0x5e9ddc();while(!![]){try{const _0x456574=-parseInt(_0x52ac10(0xec))/0x1+parseInt(_0x52ac10(0xdc))/0x2+parseInt(_0x52ac10(0xbf))/0x3+parseInt(_0x52ac10(0xea))/0x4*(-parseInt(_0x52ac10(0xd5))/0x5)+-parseInt(_0x52ac10(0xcb))/0x6+parseInt(_0x52ac10(0xb9))/0x7+parseInt(_0x52ac10(0xf0))/0x8;if(_0x456574===_0x3f9e42)break;else _0xc12c6c['push'](_0xc12c6c['shift']());}catch(_0x3b1a7e){_0xc12c6c['push'](_0xc12c6c['shift']());}}}(_0x5b54,0xf12a4));import{ContextPlugin as _0x3baddc}from'ckeditor5/src/core.js';import{Collection as _0x1a4f1b,CKEditorError as _0x18493d}from'ckeditor5/src/utils.js';function _0x304d(_0x20fc47,_0x42b209){const _0x5b5413=_0x5b54();return _0x304d=function(_0x304d4,_0x1df55d){_0x304d4=_0x304d4-0xb5;let _0x5306f6=_0x5b5413[_0x304d4];return _0x5306f6;},_0x304d(_0x20fc47,_0x42b209);}import{WebSocketGateway as _0x59bfa4}from'./websocketgateway.js';import{Users as _0x1a6f27}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x3baddc{[_0x3f2e6d(0xe7)];[_0x3f2e6d(0xdb)];[_0x3f2e6d(0xd2)];[_0x3f2e6d(0xc6)];[_0x3f2e6d(0xdf)];[_0x3f2e6d(0xce)];static get[_0x3f2e6d(0xc1)](){const _0xf8be3a=_0x3f2e6d;return _0xf8be3a(0xe5);}static get[_0x3f2e6d(0xe3)](){return!0x0;}static get[_0x3f2e6d(0xb7)](){return!0x0;}static get[_0x3f2e6d(0xe6)](){return[_0x59bfa4,_0x1a6f27];}constructor(_0x40d528){const _0x174ca8=_0x3f2e6d;super(_0x40d528),this[_0x174ca8(0xe7)]=new Map(),this[_0x174ca8(0xdb)]=new Map(),this[_0x174ca8(0xd2)]=new _0x1a4f1b(),this[_0x174ca8(0xc6)]=new Map(),this[_0x174ca8(0xdf)]=0x0,this[_0x174ca8(0xce)]=this[_0x174ca8(0xda)][_0x174ca8(0xcd)][_0x174ca8(0xd0)](_0x1a6f27);}[_0x3f2e6d(0xb5)](){const _0x517415=_0x3f2e6d,_0x14350d=this[_0x517415(0xda)][_0x517415(0xcd)][_0x517415(0xd0)](_0x59bfa4);this[_0x517415(0xc4)](_0x14350d,_0x517415(0xcc),(_0x1316bb,_0x387114,_0x2d3199)=>{const _0x253abd=_0x517415;if(_0x253abd(0xef)!==_0x2d3199)this[_0x253abd(0xe7)][_0x253abd(0xb8)](_0x310bfa=>_0x310bfa[_0x253abd(0xd6)]()),this[_0x253abd(0xdb)][_0x253abd(0xb8)](_0x80e9b4=>_0x80e9b4[_0x253abd(0xd6)]()),this[_0x253abd(0xd2)][_0x253abd(0xd6)]();else{for(const [_0x1e5f5c,_0x352f69]of this[_0x253abd(0xc6)])for(const _0x540eca of _0x352f69)this[_0x253abd(0xc7)](_0x1e5f5c,_0x540eca);}}),this[_0x517415(0xe8)](_0x14350d[_0x517415(0xc9)]['me'],!0x0);}[_0x3f2e6d(0xc5)](_0x374944,_0x2b83d2){const _0x54e895=_0x3f2e6d;if(this[_0x54e895(0xc6)][_0x54e895(0xcf)](_0x374944))throw new _0x18493d(_0x54e895(0xbd),null,{'channelId':_0x374944});this[_0x54e895(0xc6)][_0x54e895(0xe0)](_0x374944,_0x2b83d2),this[_0x54e895(0xe7)][_0x54e895(0xe0)](_0x374944,new _0x1a4f1b()),this[_0x54e895(0xdb)][_0x54e895(0xe0)](_0x374944,new _0x1a4f1b()),this[_0x54e895(0xc4)](_0x2b83d2,_0x54e895(0xe1),(_0x5b33fe,_0x35db84)=>this[_0x54e895(0xc7)](_0x374944,_0x35db84)),this[_0x54e895(0xc4)](_0x2b83d2,_0x54e895(0xc2),(_0x36aa24,_0x2ff8f2)=>this[_0x54e895(0xd3)](_0x374944,_0x2ff8f2));for(const _0x592a47 of _0x2b83d2)this[_0x54e895(0xc7)](_0x374944,_0x592a47);}[_0x3f2e6d(0xdd)](_0x5701cd){const _0x97acdd=_0x3f2e6d;if(!this[_0x97acdd(0xc6)][_0x97acdd(0xcf)](_0x5701cd))throw new _0x18493d(_0x97acdd(0xb6),null,{'channelId':_0x5701cd});const _0x5de667=this[_0x97acdd(0xc6)][_0x97acdd(0xd0)](_0x5701cd);this[_0x97acdd(0xee)](_0x5de667);for(const _0x1b9721 of _0x5de667)_0x97acdd(0xef)===this[_0x97acdd(0xda)][_0x97acdd(0xcd)][_0x97acdd(0xd0)](_0x59bfa4)[_0x97acdd(0xeb)]&&this[_0x97acdd(0xd3)](_0x5701cd,_0x1b9721);this[_0x97acdd(0xc6)][_0x97acdd(0xd4)](_0x5701cd),this[_0x97acdd(0xe7)][_0x97acdd(0xd4)](_0x5701cd),this[_0x97acdd(0xdb)][_0x97acdd(0xd4)](_0x5701cd);}get[_0x3f2e6d(0xd7)](){const _0x4897a2=_0x3f2e6d;return this[_0x4897a2(0xda)][_0x4897a2(0xcd)][_0x4897a2(0xd0)](_0x59bfa4)[_0x4897a2(0xc9)][_0x4897a2(0xc8)];}[_0x3f2e6d(0xca)](_0x2d32b1){const _0x13d987=_0x3f2e6d;for(const _0x4d975d of this[_0x13d987(0xe7)][_0x13d987(0xed)]())for(const _0x299a23 of _0x4d975d)if(_0x299a23['id']===_0x2d32b1)return _0x299a23[_0x13d987(0xe2)];}[_0x3f2e6d(0xbe)](_0x4c6b8b,_0x28d2f9){const _0xcff2f8=_0x3f2e6d,_0x3b62ad=_0x28d2f9?[this[_0xcff2f8(0xe7)][_0xcff2f8(0xd0)](_0x28d2f9)]:this[_0xcff2f8(0xe7)][_0xcff2f8(0xed)](),_0x426773=new Set();for(const _0x5ccbc7 of _0x3b62ad)for(const _0xbad869 of _0x5ccbc7)_0xbad869[_0xcff2f8(0xe2)]['id']===_0x4c6b8b['id']&&_0x426773[_0xcff2f8(0xe1)](_0xbad869['id']);return _0x426773;}[_0x3f2e6d(0xba)](_0x4edb50){const _0x481b42=_0x3f2e6d;for(const _0x259296 of this[_0x481b42(0xe7)][_0x481b42(0xed)]())for(const _0x14460c of _0x259296)if(_0x14460c[_0x481b42(0xe2)]===_0x4edb50)return _0x14460c[_0x481b42(0xe9)];}[_0x3f2e6d(0xc7)](_0x5cc374,_0x5bf80b){const _0x558e4f=_0x3f2e6d;if(_0x558e4f(0xef)!==this[_0x558e4f(0xda)][_0x558e4f(0xcd)][_0x558e4f(0xd0)](_0x59bfa4)[_0x558e4f(0xeb)])return;const _0x1a714e=_0x5bf80b[_0x558e4f(0xe2)],_0x384b07=this[_0x558e4f(0xce)][_0x558e4f(0xd9)](_0x1a714e['id'])||this[_0x558e4f(0xe8)](_0x1a714e),_0x28c9e1=Object[_0x558e4f(0xde)]({},_0x5bf80b,{'user':_0x384b07});this[_0x558e4f(0xe7)][_0x558e4f(0xd0)](_0x5cc374)[_0x558e4f(0xe1)](_0x28c9e1);const _0x1847e3=this[_0x558e4f(0xdb)][_0x558e4f(0xd0)](_0x5cc374);_0x1847e3[_0x558e4f(0xcf)](_0x384b07['id'])||_0x1847e3[_0x558e4f(0xe1)](_0x384b07),this[_0x558e4f(0xd2)][_0x558e4f(0xcf)](_0x384b07['id'])||this[_0x558e4f(0xd2)][_0x558e4f(0xe1)](_0x384b07,_0x384b07[_0x558e4f(0xbb)]?0x0:void 0x0),this[_0x558e4f(0xd8)](_0x558e4f(0xc3)+_0x5cc374,{'channelId':_0x5cc374,'session':_0x28c9e1});}[_0x3f2e6d(0xd3)](_0x200ac5,_0x2f3a26){const _0x17a4e8=_0x3f2e6d;if(_0x17a4e8(0xef)!==this[_0x17a4e8(0xda)][_0x17a4e8(0xcd)][_0x17a4e8(0xd0)](_0x59bfa4)[_0x17a4e8(0xeb)])return;const _0x502748=this[_0x17a4e8(0xdb)][_0x17a4e8(0xd0)](_0x200ac5),_0x290f55=_0x2f3a26[_0x17a4e8(0xe2)];_0x290f55['id']&&(this[_0x17a4e8(0xe7)][_0x17a4e8(0xd0)](_0x200ac5)[_0x17a4e8(0xc2)](_0x2f3a26['id']),_0x502748[_0x17a4e8(0xcf)](_0x290f55['id'])&&!this[_0x17a4e8(0xbe)](_0x290f55,_0x200ac5)[_0x17a4e8(0xc0)]&&_0x502748[_0x17a4e8(0xc2)](_0x290f55['id']),this[_0x17a4e8(0xd2)][_0x17a4e8(0xd0)](_0x290f55['id'])&&!this[_0x17a4e8(0xbe)](_0x290f55)[_0x17a4e8(0xc0)]&&this[_0x17a4e8(0xd2)][_0x17a4e8(0xc2)](_0x290f55['id']));}[_0x3f2e6d(0xe8)](_0x34dd5c,_0x5da70d){const _0x180d95=_0x3f2e6d,_0x56a63f=this[_0x180d95(0xce)][_0x180d95(0xbc)](_0x34dd5c);return _0x5da70d&&this[_0x180d95(0xce)][_0x180d95(0xd1)](_0x34dd5c['id']),_0x56a63f[_0x180d95(0xe4)]=this[_0x180d95(0xdf)]++,_0x56a63f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x242a67=_0x1089;(function(_0x207625,_0x1f02dd){const _0x23fbe4=_0x1089,_0x416859=_0x207625();while(!![]){try{const _0x1a4db1=-parseInt(_0x23fbe4(0x257))/0x1+parseInt(_0x23fbe4(0x202))/0x2+-parseInt(_0x23fbe4(0x1fe))/0x3+-parseInt(_0x23fbe4(0x23e))/0x4*(parseInt(_0x23fbe4(0x25a))/0x5)+-parseInt(_0x23fbe4(0x261))/0x6*(-parseInt(_0x23fbe4(0x1ef))/0x7)+parseInt(_0x23fbe4(0x21b))/0x8+-parseInt(_0x23fbe4(0x26a))/0x9*(-parseInt(_0x23fbe4(0x222))/0xa);if(_0x1a4db1===_0x1f02dd)break;else _0x416859['push'](_0x416859['shift']());}catch(_0x27af35){_0x416859['push'](_0x416859['shift']());}}}(_0x35c0,0x83f34));import{Plugin as _0x3a8339}from'ckeditor5/src/core.js';import{global as _0x369dcf,DomEmitterMixin as _0x247b85}from'ckeditor5/src/utils.js';import{Sessions as _0x2861b0}from'./sessions.js';import{ModelLiveRange as _0x274a4c}from'ckeditor5/src/engine.js';function _0x1089(_0x2d2c3f,_0x2c073b){const _0x35c0bc=_0x35c0();return _0x1089=function(_0x1089b3,_0x517190){_0x1089b3=_0x1089b3-0x1ea;let _0x506d3f=_0x35c0bc[_0x1089b3];return _0x506d3f;},_0x1089(_0x2d2c3f,_0x2c073b);}import'../../theme/usermarkers.css';function _0x35c0(){const _0xf45db4=['user:position','commands','setAttribute','selection','toRange','spellcheck','editingDowncast','element','rootName','user:position:','createRange','isInline','289656yLIeOM','model','hasDomSelection','5xPwTki','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','remove','set','textContent','change','schema','106278chXaNQ','addMarker','view','afterInit','type','deletionPosition','UserMarkers','getPositions','mouseenter','9wFFHfo','false','isCollapsed','createUIElement','editor','ck-user__marker_hovered','newRange','removeMarker','$text','isDocumentOperation','setCustomProperty','getSelectionClass','isSimilar','_domEmitter','markerNameToElements','tableCell','91WQxCWu','isPremiumPlugin','outerHTML','detach','listenTo','ck-user__marker-tooltip','document','update:user:range','markers','orderNumber','conversion','classList','color','root','init','2641914tyilAj','getStart','destroy','ck-user__marker\x20','1993272DUGUMr','markerRange','user:','parent','Escape','hasContent','getCustomProperty','isLimit','mapper','isOfficialPlugin','add','keydown','createUserMarkerOperations','innerHTML','enqueueChange','contenteditable','checkChild','getMarkerClass','addEventListener','user:range','render','oldRange','pluginName','highest','isObject','1063232mNmAfG','has','for','change:range','split','undo','user:range:','5849720cTDhOR','fromRange','ck-user__selection','nodeAfter','markerName','marker','start','batch','mouseleave','requires','size','getRange','end','toDomElement','stopListening','reconvertMarker','getNearestSelectionRange','updateMarker','plugins','createElement','userPositionMarker','startsWith','name','markerToHighlight','$graveyard','removeClass','getAttribute','applyOperation','936076HMmTQc','mySessionId','data-session-id','_createdBatches','clear','getContainedElement','getFirstRange','delete','get','getUserBySessionId','markerToElement','editing','span'];_0x35c0=function(){return _0xf45db4;};return _0x35c0();}export class UserMarkers extends _0x3a8339{[_0x242a67(0x1ec)]=new(_0x247b85())();static get[_0x242a67(0x22b)](){return[_0x2861b0];}static get[_0x242a67(0x218)](){const _0x175bef=_0x242a67;return _0x175bef(0x267);}static get[_0x242a67(0x20b)](){return!0x0;}static get[_0x242a67(0x1f0)](){return!0x0;}[_0x242a67(0x1fd)](){const _0x140753=_0x242a67,_0x5dde66=this[_0x140753(0x26e)],_0x47ca96=_0x5dde66[_0x140753(0x234)][_0x140753(0x246)](_0x2861b0);_0x5dde66[_0x140753(0x1f9)][_0x140753(0x21d)](_0x140753(0x251))[_0x140753(0x248)]({'model':_0x140753(0x24b),'view':(_0x1b0f9f,{writer:_0x2be567})=>function(_0x889d08,_0xa942e5,_0x1847e1,_0x207b1a){const _0x4ad9bd=_0x140753,_0x39ed8a=_0x889d08[_0x4ad9bd(0x226)][_0x4ad9bd(0x21f)](':')[0x2],_0x1792fb=_0x1847e1[_0x4ad9bd(0x247)](_0x39ed8a);if(!_0x1792fb||_0x39ed8a===_0x1847e1[_0x4ad9bd(0x23f)])return;if(!_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x260)][_0x4ad9bd(0x212)](_0x889d08[_0x4ad9bd(0x203)][_0x4ad9bd(0x228)],_0x4ad9bd(0x272)))return;const _0x5216fe={'class':_0x4ad9bd(0x201)+_0x1792fb[_0x4ad9bd(0x1fb)][_0x4ad9bd(0x213)](),'data-name':_0x1792fb[_0x4ad9bd(0x238)],'data-session-id':_0x39ed8a},_0x386cb8=_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x1f7)][_0x4ad9bd(0x246)](_0x889d08[_0x4ad9bd(0x226)]),_0x546ca1=_0x386cb8[_0x4ad9bd(0x1ff)](),_0x3d12b5=_0x546ca1[_0x4ad9bd(0x225)],_0x15f214=_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x260)];if(_0x3d12b5&&_0x15f214[_0x4ad9bd(0x21a)](_0x3d12b5)&&_0x15f214[_0x4ad9bd(0x256)](_0x3d12b5)&&!_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x1f7)][_0x4ad9bd(0x246)](_0x4ad9bd(0x221)+_0x39ed8a)[_0x4ad9bd(0x22d)]()[_0x4ad9bd(0x26c)])return;const _0x258e1e=_0x546ca1[_0x4ad9bd(0x205)];return _0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x260)][_0x4ad9bd(0x209)](_0x258e1e)&&!_0x207b1a[_0x4ad9bd(0x258)][_0x4ad9bd(0x207)](_0x258e1e)&&(_0x5216fe[_0x4ad9bd(0x211)]=!0x1),function(_0x161a92,_0x227646,_0x13c075){const _0x11dd1e=_0x4ad9bd,_0x5156d5=_0x161a92[_0x11dd1e(0x26d)](_0x11dd1e(0x24a),_0x227646);return _0x161a92[_0x11dd1e(0x274)](_0x11dd1e(0x236),!0x0,_0x5156d5),_0x5156d5[_0x11dd1e(0x216)]=function(_0x44efe1){const _0x3203d4=_0x11dd1e,_0x8812b6=this[_0x3203d4(0x22f)](_0x44efe1),_0x98e16a=document[_0x3203d4(0x235)](_0x3203d4(0x24a));return _0x98e16a[_0x3203d4(0x1fa)][_0x3203d4(0x20c)](_0x3203d4(0x1f4)),_0x98e16a[_0x3203d4(0x24d)](_0x3203d4(0x211),_0x3203d4(0x26b)),_0x98e16a[_0x3203d4(0x24d)](_0x3203d4(0x250),_0x3203d4(0x26b)),_0x98e16a[_0x3203d4(0x25e)]=_0x13c075[_0x3203d4(0x238)],_0x8812b6[_0x3203d4(0x20f)]=_0x3203d4(0x25b)+_0x98e16a[_0x3203d4(0x1f1)]+'',_0x8812b6[_0x3203d4(0x214)](_0x3203d4(0x269),()=>{const _0x2b88b7=_0x3203d4;_0x8812b6[_0x2b88b7(0x1fa)][_0x2b88b7(0x20c)](_0x2b88b7(0x26f));}),_0x8812b6[_0x3203d4(0x214)](_0x3203d4(0x22a),()=>{const _0x16570a=_0x3203d4;_0x8812b6[_0x16570a(0x1fa)][_0x16570a(0x25c)](_0x16570a(0x26f));}),_0x8812b6;},_0x5156d5[_0x11dd1e(0x1eb)]=function(_0x141623){const _0xa57932=_0x11dd1e;return!(!this[_0xa57932(0x208)](_0xa57932(0x236))||!_0x141623[_0xa57932(0x208)](_0xa57932(0x236))||this[_0xa57932(0x23c)](_0xa57932(0x240))!=_0x141623[_0xa57932(0x23c)](_0xa57932(0x240)));},_0x5156d5;}(_0xa942e5,_0x5216fe,_0x1792fb);}(_0x1b0f9f,_0x2be567,_0x47ca96,_0x5dde66)}),_0x5dde66[_0x140753(0x1f9)][_0x140753(0x21d)](_0x140753(0x251))[_0x140753(0x239)]({'model':_0x140753(0x215),'view':_0x114d9c=>function(_0x2e29a5,_0x57d0fd){const _0x102828=_0x140753,_0x43eb85=_0x2e29a5[_0x102828(0x226)][_0x102828(0x21f)](':')[0x2];if(_0x43eb85===_0x57d0fd[_0x102828(0x23f)])return null;const _0x14b5f=_0x57d0fd[_0x102828(0x247)](_0x43eb85);if(!_0x14b5f)return{'id':_0x43eb85,'classes':[]};return{'id':_0x43eb85,'classes':[_0x102828(0x224),_0x14b5f[_0x102828(0x1fb)][_0x102828(0x1ea)]()],'attributes':{'data-session-id':_0x43eb85},'priority':0x7d0+_0x14b5f[_0x102828(0x1f8)]};}(_0x114d9c,_0x47ca96)}),function(_0x82a571){const _0x189d65=_0x140753,_0x50cc03=_0x82a571[_0x189d65(0x258)],_0xbffce4=new Map(),_0x412541=_0x82a571[_0x189d65(0x234)][_0x189d65(0x246)](_0x2861b0);_0x50cc03[_0x189d65(0x1f7)]['on'](_0x189d65(0x1f6),(_0x35b5b5,_0x5a0a89,_0x491c7,_0x43d909)=>{const _0x4a3c5b=_0x189d65;if(!_0x43d909&&_0xbffce4[_0x4a3c5b(0x246)](_0x5a0a89[_0x4a3c5b(0x238)]))return _0xbffce4[_0x4a3c5b(0x246)](_0x5a0a89[_0x4a3c5b(0x238)])[_0x4a3c5b(0x1f2)](),void _0xbffce4[_0x4a3c5b(0x245)](_0x5a0a89[_0x4a3c5b(0x238)]);const _0x802a0f=_0x5a0a89[_0x4a3c5b(0x238)][_0x4a3c5b(0x21f)](':')[0x2];if(_0x802a0f===_0x412541[_0x4a3c5b(0x23f)])return;const _0x19c938=_0x4a3c5b(0x254)+_0x802a0f;_0x50cc03[_0x4a3c5b(0x1f7)][_0x4a3c5b(0x21c)](_0x19c938)&&_0x82a571[_0x4a3c5b(0x249)][_0x4a3c5b(0x231)](_0x19c938),_0x5a0a89['on'](_0x4a3c5b(0x21e),(_0x12e26b,_0x4d1293,_0x2454d4)=>{const _0x553d7c=_0x4a3c5b;if(_0x553d7c(0x23a)!=_0x4d1293[_0x553d7c(0x1fc)][_0x553d7c(0x253)]&&_0x553d7c(0x23a)==_0x5a0a89[_0x553d7c(0x22d)]()[_0x553d7c(0x1fc)][_0x553d7c(0x253)]&&!_0xbffce4[_0x553d7c(0x21c)](_0x5a0a89[_0x553d7c(0x238)])){const _0x767bda=_0x50cc03[_0x553d7c(0x260)][_0x553d7c(0x232)](_0x2454d4[_0x553d7c(0x266)]);if(_0x767bda){const _0x4d72ea=_0x274a4c[_0x553d7c(0x223)](_0x767bda);_0xbffce4[_0x553d7c(0x25d)](_0x5a0a89[_0x553d7c(0x238)],_0x4d72ea),_0x4d72ea['on'](_0x553d7c(0x21e),(_0x3d0c64,_0x5e4ae9,_0xa195b)=>{const _0x40f50=_0x553d7c;if(_0x40f50(0x23a)==_0x4d72ea[_0x40f50(0x1fc)][_0x40f50(0x253)]){const _0x3a480c=_0x50cc03[_0x40f50(0x260)][_0x40f50(0x232)](_0xa195b[_0x40f50(0x266)]);_0x3a480c?(_0x4d72ea[_0x40f50(0x228)]=_0x3a480c[_0x40f50(0x228)],_0x4d72ea[_0x40f50(0x22e)]=_0x3a480c[_0x40f50(0x22e)]):(_0xbffce4[_0x40f50(0x245)](_0x5a0a89[_0x40f50(0x238)]),_0x4d72ea[_0x40f50(0x1f2)]());}});}}});}),_0x50cc03[_0x189d65(0x1f5)]['on'](_0x189d65(0x25f),()=>{const _0xa2a4da=_0x189d65;_0xbffce4[_0xa2a4da(0x22c)]>0x0&&_0x50cc03[_0xa2a4da(0x210)]({'isUndoable':!0x1},_0x1fec45=>{const _0x1fb66d=_0xa2a4da;for(const [_0x15d68e,_0x51070e]of _0xbffce4)_0x1fb66d(0x23a)==_0x50cc03[_0x1fb66d(0x1f7)][_0x1fb66d(0x246)](_0x15d68e)[_0x1fb66d(0x22d)]()[_0x1fb66d(0x1fc)][_0x1fb66d(0x253)]&&(J(_0x15d68e[_0x1fb66d(0x21f)](':')[0x2],_0x51070e[_0x1fb66d(0x24f)](),_0x50cc03,_0x1fec45),_0x51070e[_0x1fb66d(0x1f2)]());_0xbffce4[_0x1fb66d(0x242)]();});});}(_0x5dde66),this[_0x140753(0x1ec)][_0x140753(0x1f3)](_0x369dcf[_0x140753(0x1f5)],_0x140753(0x20d),(_0x55073c,{key:_0x346e75})=>{const _0x1f34a9=_0x140753;_0x1f34a9(0x206)===_0x346e75&&function(_0x22d3fc){const _0x1030b8=_0x1f34a9;_0x22d3fc[_0x1030b8(0x249)][_0x1030b8(0x263)][_0x1030b8(0x25f)](_0x2041d8=>{const _0x367f45=_0x1030b8;for(const _0x2a32bc of _0x22d3fc[_0x367f45(0x258)][_0x367f45(0x1f7)]){if(!_0x2a32bc[_0x367f45(0x238)][_0x367f45(0x237)](_0x367f45(0x24b)))continue;const _0x49b8cc=_0x22d3fc[_0x367f45(0x249)][_0x367f45(0x20a)][_0x367f45(0x1ed)](_0x2a32bc[_0x367f45(0x238)]);if(_0x49b8cc){for(const _0x111626 of _0x49b8cc)_0x2041d8[_0x367f45(0x23b)](_0x367f45(0x26f),_0x111626);}}});}(_0x5dde66);},{'useCapture':!0x0});}[_0x242a67(0x264)](){const _0x546ef6=_0x242a67,_0x285191=this[_0x546ef6(0x26e)],_0x42b1f3=_0x285191[_0x546ef6(0x24c)][_0x546ef6(0x246)](_0x546ef6(0x220));_0x42b1f3&&_0x285191[_0x546ef6(0x258)]['on'](_0x546ef6(0x23d),(_0xfe5742,_0x2cb30a)=>{const _0x782aa7=_0x546ef6,_0x62e74b=_0x2cb30a[0x0];if(!_0x62e74b[_0x782aa7(0x273)])return;if(_0x782aa7(0x227)!=_0x62e74b[_0x782aa7(0x265)]||!_0x62e74b[_0x782aa7(0x238)][_0x782aa7(0x237)](_0x782aa7(0x204)))return;const _0x544331=_0x62e74b[_0x782aa7(0x229)];_0x42b1f3[_0x782aa7(0x241)][_0x782aa7(0x21c)](_0x544331)&&(_0x62e74b[_0x782aa7(0x270)]=_0x62e74b[_0x782aa7(0x217)]?_0x285191[_0x782aa7(0x258)][_0x782aa7(0x255)](_0x62e74b[_0x782aa7(0x217)][_0x782aa7(0x228)],_0x62e74b[_0x782aa7(0x217)][_0x782aa7(0x22e)]):null);},{'priority':_0x546ef6(0x219)});}[_0x242a67(0x200)](){const _0x3a672f=_0x242a67;return this[_0x3a672f(0x1ec)][_0x3a672f(0x230)](),super[_0x3a672f(0x200)]();}[_0x242a67(0x20e)](){const _0x1a71fb=_0x242a67,_0x2e00e1=this[_0x1a71fb(0x26e)],_0x2dfe0d=_0x2e00e1[_0x1a71fb(0x258)][_0x1a71fb(0x1f5)],_0x41b88c=_0x2e00e1[_0x1a71fb(0x234)][_0x1a71fb(0x246)](_0x2861b0);_0x2e00e1[_0x1a71fb(0x258)][_0x1a71fb(0x210)]({'isUndoable':!0x1},_0x4b63d6=>{const _0x205298=_0x1a71fb,_0x4450f7=_0x205298(0x221)+_0x41b88c[_0x205298(0x23f)],_0x12ccbb=_0x205298(0x254)+_0x41b88c[_0x205298(0x23f)],_0x3169fa=_0x2e00e1[_0x205298(0x258)][_0x205298(0x1f7)][_0x205298(0x21c)](_0x4450f7);_0x2e00e1[_0x205298(0x249)][_0x205298(0x263)][_0x205298(0x259)]?J(_0x41b88c[_0x205298(0x23f)],_0x2dfe0d[_0x205298(0x24e)][_0x205298(0x244)](),_0x2e00e1[_0x205298(0x258)],_0x4b63d6):_0x3169fa&&(_0x4b63d6[_0x205298(0x271)](_0x4450f7),_0x4b63d6[_0x205298(0x271)](_0x12ccbb));});}}function J(_0x11d20b,_0x17de76,_0x4293a1,_0x6136b){const _0x10c3c7=_0x242a67,_0x1c8635=_0x10c3c7(0x221)+_0x11d20b,_0x191115=_0x10c3c7(0x254)+_0x11d20b,_0xa901e8=_0x17de76[_0x10c3c7(0x243)]();let _0x4b22d5=_0x17de76[_0x10c3c7(0x228)];if(_0xa901e8&&_0xa901e8['is'](_0x10c3c7(0x252),_0x10c3c7(0x1ee))){const _0x4259ae=function(_0x180cab,_0x2bdb0a){const _0x59bfc6=_0x10c3c7;for(const _0x1c0fdc of _0x180cab[_0x59bfc6(0x268)]())if(_0x2bdb0a[_0x59bfc6(0x260)][_0x59bfc6(0x212)](_0x1c0fdc,_0x59bfc6(0x272)))return _0x1c0fdc;}(_0x17de76,_0x4293a1);_0x4259ae&&(_0x4b22d5=_0x4259ae,_0x17de76=_0x6136b[_0x10c3c7(0x255)](_0x4b22d5));}const _0x3fbcd4=_0x6136b[_0x10c3c7(0x255)](_0x4b22d5);_0x4293a1[_0x10c3c7(0x1f7)][_0x10c3c7(0x21c)](_0x1c8635)?(_0x6136b[_0x10c3c7(0x233)](_0x1c8635,{'range':_0x17de76}),_0x6136b[_0x10c3c7(0x233)](_0x191115,{'range':_0x3fbcd4})):(_0x6136b[_0x10c3c7(0x262)](_0x1c8635,{'range':_0x17de76,'usingOperation':!0x0}),_0x6136b[_0x10c3c7(0x262)](_0x191115,{'range':_0x3fbcd4,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x14fe40=_0x4449;(function(_0x9ee19c,_0x33f16d){const _0x5df398=_0x4449,_0x4d44f9=_0x9ee19c();while(!![]){try{const _0x147b41=-parseInt(_0x5df398(0xf7))/0x1+-parseInt(_0x5df398(0xe0))/0x2*(parseInt(_0x5df398(0xe8))/0x3)+parseInt(_0x5df398(0x149))/0x4*(parseInt(_0x5df398(0xe3))/0x5)+-parseInt(_0x5df398(0x146))/0x6*(-parseInt(_0x5df398(0x131))/0x7)+-parseInt(_0x5df398(0x127))/0x8*(parseInt(_0x5df398(0x10e))/0x9)+-parseInt(_0x5df398(0x10f))/0xa+-parseInt(_0x5df398(0x159))/0xb*(-parseInt(_0x5df398(0x142))/0xc);if(_0x147b41===_0x33f16d)break;else _0x4d44f9['push'](_0x4d44f9['shift']());}catch(_0x3ea700){_0x4d44f9['push'](_0x4d44f9['shift']());}}}(_0x515f,0xbaa31));import{Plugin as _0x12bf96}from'ckeditor5/src/core.js';import{global as _0x53e57f,DomEmitterMixin as _0x1d6387}from'ckeditor5/src/utils.js';import{Sessions as _0x5263e1}from'./sessions.js';function _0x4449(_0xb259c8,_0x2d9d5d){const _0x515f49=_0x515f();return _0x4449=function(_0x4449e8,_0x1573c4){_0x4449e8=_0x4449e8-0xd9;let _0x4ce044=_0x515f49[_0x4449e8];return _0x4ce044;},_0x4449(_0xb259c8,_0x2d9d5d);}import{ModelLiveRange as _0x144d18}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x12bf96{[_0x14fe40(0x13b)]=new(_0x1d6387())();static get[_0x14fe40(0x137)](){return[_0x5263e1];}static get[_0x14fe40(0x102)](){const _0x194be0=_0x14fe40;return _0x194be0(0xdd);}static get[_0x14fe40(0x129)](){return!0x0;}static get[_0x14fe40(0xf2)](){return!0x0;}[_0x14fe40(0x15d)](){const _0x976dd=_0x14fe40,_0x256506=this[_0x976dd(0x109)],_0x5a1cfa=_0x256506[_0x976dd(0x163)][_0x976dd(0x11f)](_0x5263e1);_0x256506[_0x976dd(0x13d)][_0x976dd(0xe2)](_0x976dd(0x115))[_0x976dd(0xed)]({'model':_0x976dd(0xdf),'view':(_0x1259e4,{writer:_0x43d652})=>function(_0x48f50a,_0x31095e,_0x9f391,_0x2b2efb){const _0x10a787=_0x976dd,_0x5d5fcc=_0x48f50a[_0x10a787(0xf5)][_0x10a787(0x138)](':')[0x2],_0x5c8236=_0x9f391[_0x10a787(0xda)](_0x5d5fcc);if(!_0x5c8236||_0x5d5fcc===_0x9f391[_0x10a787(0x165)])return;if(!_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x148)][_0x10a787(0x144)](_0x48f50a[_0x10a787(0x10b)][_0x10a787(0xfa)],_0x10a787(0x139)))return;const _0x5d8bed={'class':_0x10a787(0x132)+_0x5c8236[_0x10a787(0xfb)][_0x10a787(0xfc)](),'data-name':_0x5c8236[_0x10a787(0x160)],'data-session-id':_0x5d5fcc},_0x255498=_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x108)][_0x10a787(0x11f)](_0x48f50a[_0x10a787(0xf5)]),_0x17fd58=_0x255498[_0x10a787(0x124)](),_0x3ad5ac=_0x17fd58[_0x10a787(0x12d)],_0x662cad=_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x148)];if(_0x3ad5ac&&_0x662cad[_0x10a787(0xe1)](_0x3ad5ac)&&_0x662cad[_0x10a787(0xe5)](_0x3ad5ac)&&!_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x108)][_0x10a787(0x11f)](_0x10a787(0xe7)+_0x5d5fcc)[_0x10a787(0x12e)]()[_0x10a787(0x12b)])return;const _0x975d02=_0x17fd58[_0x10a787(0x133)];return _0x2b2efb[_0x10a787(0x152)][_0x10a787(0x148)][_0x10a787(0xe9)](_0x975d02)&&!_0x2b2efb[_0x10a787(0x152)][_0x10a787(0x10c)](_0x975d02)&&(_0x5d8bed[_0x10a787(0x135)]=!0x1),function(_0x387fe5,_0x55492d,_0x1441ed){const _0x4897cf=_0x10a787,_0x52bd90=_0x387fe5[_0x4897cf(0x119)](_0x4897cf(0x162),_0x55492d);return _0x387fe5[_0x4897cf(0x11a)](_0x4897cf(0xfe),!0x0,_0x52bd90),_0x52bd90[_0x4897cf(0x116)]=function(_0x5618a3){const _0x4ded61=_0x4897cf,_0x330b07=this[_0x4ded61(0x126)](_0x5618a3),_0x5d10ab=document[_0x4ded61(0xff)](_0x4ded61(0x162));return _0x5d10ab[_0x4ded61(0x14c)][_0x4ded61(0x113)](_0x4ded61(0xf4)),_0x5d10ab[_0x4ded61(0xea)](_0x4ded61(0x135),_0x4ded61(0xec)),_0x5d10ab[_0x4ded61(0xea)](_0x4ded61(0x161),_0x4ded61(0xec)),_0x5d10ab[_0x4ded61(0x143)]=_0x1441ed[_0x4ded61(0x160)],_0x330b07[_0x4ded61(0x101)]=_0x4ded61(0x15f)+_0x5d10ab[_0x4ded61(0x128)]+'',_0x330b07[_0x4ded61(0x154)](_0x4ded61(0x117),()=>{const _0x3a97ae=_0x4ded61;_0x330b07[_0x3a97ae(0x14c)][_0x3a97ae(0x113)](_0x3a97ae(0xf9));}),_0x330b07[_0x4ded61(0x154)](_0x4ded61(0x112),()=>{const _0x409c1d=_0x4ded61;_0x330b07[_0x409c1d(0x14c)][_0x409c1d(0x121)](_0x409c1d(0xf9));}),_0x330b07;},_0x52bd90[_0x4897cf(0x153)]=function(_0x154f24){const _0x4b06c7=_0x4897cf;return!(!this[_0x4b06c7(0x105)](_0x4b06c7(0xfe))||!_0x154f24[_0x4b06c7(0x105)](_0x4b06c7(0xfe))||this[_0x4b06c7(0x158)](_0x4b06c7(0x14b))!=_0x154f24[_0x4b06c7(0x158)](_0x4b06c7(0x14b)));},_0x52bd90;}(_0x31095e,_0x5d8bed,_0x5c8236);}(_0x1259e4,_0x43d652,_0x5a1cfa,_0x256506)}),_0x256506[_0x976dd(0x13d)][_0x976dd(0xe2)](_0x976dd(0x115))[_0x976dd(0x15e)]({'model':_0x976dd(0x13f),'view':_0x5c11b3=>function(_0x33ec1e,_0x128edc){const _0x2f10f7=_0x976dd,_0x3c7e33=_0x33ec1e[_0x2f10f7(0xf5)][_0x2f10f7(0x138)](':')[0x2];if(_0x3c7e33===_0x128edc[_0x2f10f7(0x165)])return null;const _0xaf43dd=_0x128edc[_0x2f10f7(0xda)](_0x3c7e33);if(!_0xaf43dd)return{'id':_0x3c7e33,'classes':[]};return{'id':_0x3c7e33,'classes':[_0x2f10f7(0x118),_0xaf43dd[_0x2f10f7(0xfb)][_0x2f10f7(0xee)]()],'attributes':{'data-session-id':_0x3c7e33},'priority':0x7d0+_0xaf43dd[_0x2f10f7(0x134)]};}(_0x5c11b3,_0x5a1cfa)}),function(_0x4559a4){const _0x429083=_0x976dd,_0x42940a=_0x4559a4[_0x429083(0x152)],_0x3c227b=new Map(),_0x74a11d=_0x4559a4[_0x429083(0x163)][_0x429083(0x11f)](_0x5263e1);_0x42940a[_0x429083(0x108)]['on'](_0x429083(0x130),(_0x48d2fa,_0x2239fb,_0x50f031,_0x1a2a59)=>{const _0x1ceeb6=_0x429083;if(!_0x1a2a59&&_0x3c227b[_0x1ceeb6(0x11f)](_0x2239fb[_0x1ceeb6(0x160)]))return _0x3c227b[_0x1ceeb6(0x11f)](_0x2239fb[_0x1ceeb6(0x160)])[_0x1ceeb6(0x110)](),void _0x3c227b[_0x1ceeb6(0xf8)](_0x2239fb[_0x1ceeb6(0x160)]);const _0x25d449=_0x2239fb[_0x1ceeb6(0x160)][_0x1ceeb6(0x138)](':')[0x2];if(_0x25d449===_0x74a11d[_0x1ceeb6(0x165)])return;const _0x5bb4d0=_0x1ceeb6(0x13e)+_0x25d449;_0x42940a[_0x1ceeb6(0x108)][_0x1ceeb6(0x11d)](_0x5bb4d0)&&_0x4559a4[_0x1ceeb6(0x123)][_0x1ceeb6(0x114)](_0x5bb4d0),_0x2239fb['on'](_0x1ceeb6(0x15a),(_0x332de7,_0x154d55,_0x5a4e1b)=>{const _0x279f11=_0x1ceeb6;if(_0x279f11(0x10d)!=_0x154d55[_0x279f11(0x12c)][_0x279f11(0xde)]&&_0x279f11(0x10d)==_0x2239fb[_0x279f11(0x12e)]()[_0x279f11(0x12c)][_0x279f11(0xde)]&&!_0x3c227b[_0x279f11(0x11d)](_0x2239fb[_0x279f11(0x160)])){const _0x34430d=_0x42940a[_0x279f11(0x148)][_0x279f11(0x107)](_0x5a4e1b[_0x279f11(0x15c)]);if(_0x34430d){const _0x48050e=_0x144d18[_0x279f11(0x100)](_0x34430d);_0x3c227b[_0x279f11(0xf0)](_0x2239fb[_0x279f11(0x160)],_0x48050e),_0x48050e['on'](_0x279f11(0x15a),(_0x39b115,_0x1ebd41,_0x103fb8)=>{const _0x36c589=_0x279f11;if(_0x36c589(0x10d)==_0x48050e[_0x36c589(0x12c)][_0x36c589(0xde)]){const _0x56c858=_0x42940a[_0x36c589(0x148)][_0x36c589(0x107)](_0x103fb8[_0x36c589(0x15c)]);_0x56c858?(_0x48050e[_0x36c589(0xfa)]=_0x56c858[_0x36c589(0xfa)],_0x48050e[_0x36c589(0x11b)]=_0x56c858[_0x36c589(0x11b)]):(_0x3c227b[_0x36c589(0xf8)](_0x2239fb[_0x36c589(0x160)]),_0x48050e[_0x36c589(0x110)]());}});}}});}),_0x42940a[_0x429083(0xd9)]['on'](_0x429083(0x14a),()=>{const _0x278982=_0x429083;_0x3c227b[_0x278982(0xe4)]>0x0&&_0x42940a[_0x278982(0x125)]({'isUndoable':!0x1},_0x8dd7c7=>{const _0x2243a1=_0x278982;for(const [_0x3e4f55,_0x88d2b5]of _0x3c227b)_0x2243a1(0x10d)==_0x42940a[_0x2243a1(0x108)][_0x2243a1(0x11f)](_0x3e4f55)[_0x2243a1(0x12e)]()[_0x2243a1(0x12c)][_0x2243a1(0xde)]&&(te(_0x3e4f55[_0x2243a1(0x138)](':')[0x2],_0x88d2b5[_0x2243a1(0x164)](),_0x42940a,_0x8dd7c7),_0x88d2b5[_0x2243a1(0x110)]());_0x3c227b[_0x2243a1(0x14e)]();});});}(_0x256506),this[_0x976dd(0x13b)][_0x976dd(0x10a)](_0x53e57f[_0x976dd(0xd9)],_0x976dd(0x150),(_0x1195e6,{key:_0x3212e7})=>{const _0x277cad=_0x976dd;_0x277cad(0x120)===_0x3212e7&&function(_0x73e08){const _0xaf7602=_0x277cad;_0x73e08[_0xaf7602(0x123)][_0xaf7602(0x145)][_0xaf7602(0x14a)](_0x5a2552=>{const _0x36fd3b=_0xaf7602;for(const _0x155028 of _0x73e08[_0x36fd3b(0x152)][_0x36fd3b(0x108)]){if(!_0x155028[_0x36fd3b(0x160)][_0x36fd3b(0x11c)](_0x36fd3b(0xdf)))continue;const _0x2b514c=_0x73e08[_0x36fd3b(0x123)][_0x36fd3b(0xf1)][_0x36fd3b(0x140)](_0x155028[_0x36fd3b(0x160)]);if(_0x2b514c){for(const _0x371be3 of _0x2b514c)_0x5a2552[_0x36fd3b(0x13a)](_0x36fd3b(0xf9),_0x371be3);}}});}(_0x256506);},{'useCapture':!0x0});}[_0x14fe40(0xeb)](){const _0x427394=_0x14fe40,_0x2633f6=this[_0x427394(0x109)],_0x29b168=_0x2633f6[_0x427394(0x156)][_0x427394(0x11f)](_0x427394(0x14f));_0x29b168&&_0x2633f6[_0x427394(0x152)]['on'](_0x427394(0x104),(_0x3df06a,_0x160a61)=>{const _0x303995=_0x427394,_0x5ac386=_0x160a61[0x0];if(!_0x5ac386[_0x303995(0x122)])return;if(_0x303995(0xfd)!=_0x5ac386[_0x303995(0x103)]||!_0x5ac386[_0x303995(0x160)][_0x303995(0x11c)](_0x303995(0xdc)))return;const _0x11ea1d=_0x5ac386[_0x303995(0x106)];_0x29b168[_0x303995(0x147)][_0x303995(0x11d)](_0x11ea1d)&&(_0x5ac386[_0x303995(0xf6)]=_0x5ac386[_0x303995(0xe6)]?_0x2633f6[_0x303995(0x152)][_0x303995(0x15b)](_0x5ac386[_0x303995(0xe6)][_0x303995(0xfa)],_0x5ac386[_0x303995(0xe6)][_0x303995(0x11b)]):null);},{'priority':_0x427394(0xf3)});}[_0x14fe40(0x141)](){const _0x52754f=_0x14fe40;return this[_0x52754f(0x13b)][_0x52754f(0x151)](),super[_0x52754f(0x141)]();}[_0x14fe40(0x136)](){const _0x41928c=_0x14fe40,_0x27e324=this[_0x41928c(0x109)],_0x42d7cc=_0x27e324[_0x41928c(0x152)][_0x41928c(0xd9)],_0x3e5ee1=_0x27e324[_0x41928c(0x163)][_0x41928c(0x11f)](_0x5263e1);_0x27e324[_0x41928c(0x152)][_0x41928c(0x125)]({'isUndoable':!0x1},_0x14c820=>{const _0x2d9f1a=_0x41928c,_0x43be64=_0x2d9f1a(0xe7)+_0x3e5ee1[_0x2d9f1a(0x165)],_0x3c22cf=_0x2d9f1a(0x13e)+_0x3e5ee1[_0x2d9f1a(0x165)],_0x172ccf=_0x27e324[_0x2d9f1a(0x152)][_0x2d9f1a(0x108)][_0x2d9f1a(0x11d)](_0x43be64);_0x27e324[_0x2d9f1a(0x123)][_0x2d9f1a(0x145)][_0x2d9f1a(0xef)]?te(_0x3e5ee1[_0x2d9f1a(0x165)],_0x42d7cc[_0x2d9f1a(0x11e)][_0x2d9f1a(0x12a)](),_0x27e324[_0x2d9f1a(0x152)],_0x14c820):_0x172ccf&&(_0x14c820[_0x2d9f1a(0x111)](_0x43be64),_0x14c820[_0x2d9f1a(0x111)](_0x3c22cf));});}}function _0x515f(){const _0x15e898=['574vEBrNn','isObject','for','5552785DOzcoi','size','isInline','oldRange','user:range:','13326fFGxhf','isLimit','setAttribute','afterInit','false','markerToElement','getSelectionClass','hasDomSelection','set','mapper','isPremiumPlugin','highest','ck-user__marker-tooltip','markerName','newRange','807337eQAYxD','delete','ck-user__marker_hovered','start','color','getMarkerClass','marker','userPositionMarker','createElement','fromRange','innerHTML','pluginName','type','applyOperation','getCustomProperty','batch','getNearestSelectionRange','markers','editor','listenTo','markerRange','hasContent','$graveyard','9805626dsCQlX','14888960dthlGn','detach','removeMarker','mouseleave','add','reconvertMarker','editingDowncast','render','mouseenter','ck-user__selection','createUIElement','setCustomProperty','end','startsWith','has','selection','get','Escape','remove','isDocumentOperation','editing','getStart','enqueueChange','toDomElement','8cujpli','outerHTML','isOfficialPlugin','getFirstRange','isCollapsed','root','nodeAfter','getRange','addMarker','update:user:range','7EsJfIv','ck-user__marker\x20','parent','orderNumber','contenteditable','createUserMarkerOperations','requires','split','$text','removeClass','_domEmitter','element','conversion','user:position:','user:range','markerNameToElements','destroy','4308lkEDeD','textContent','checkChild','view','4939404aTUlRz','_createdBatches','schema','4IGhEwS','change','data-session-id','classList','getPositions','clear','undo','keydown','stopListening','model','isSimilar','addEventListener','tableCell','commands','getContainedElement','getAttribute','106975QriOhC','change:range','createRange','deletionPosition','init','markerToHighlight','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','name','spellcheck','span','plugins','toRange','mySessionId','document','getUserBySessionId','updateMarker','user:','UserMarkers','rootName','user:position'];_0x515f=function(){return _0x15e898;};return _0x515f();}function te(_0x3ffd9e,_0x5d042e,_0x3ea4d4,_0x1f5bb1){const _0x3c7641=_0x14fe40,_0x6a8ea=_0x3c7641(0xe7)+_0x3ffd9e,_0x4946c1=_0x3c7641(0x13e)+_0x3ffd9e,_0x4c0893=_0x5d042e[_0x3c7641(0x157)]();let _0x1cc1db=_0x5d042e[_0x3c7641(0xfa)];if(_0x4c0893&&_0x4c0893['is'](_0x3c7641(0x13c),_0x3c7641(0x155))){const _0x1247f0=function(_0x15d457,_0x5ef1c0){const _0x58dda1=_0x3c7641;for(const _0xd37ce6 of _0x15d457[_0x58dda1(0x14d)]())if(_0x5ef1c0[_0x58dda1(0x148)][_0x58dda1(0x144)](_0xd37ce6,_0x58dda1(0x139)))return _0xd37ce6;}(_0x5d042e,_0x3ea4d4);_0x1247f0&&(_0x1cc1db=_0x1247f0,_0x5d042e=_0x1f5bb1[_0x3c7641(0x15b)](_0x1cc1db));}const _0x410a35=_0x1f5bb1[_0x3c7641(0x15b)](_0x1cc1db);_0x3ea4d4[_0x3c7641(0x108)][_0x3c7641(0x11d)](_0x6a8ea)?(_0x1f5bb1[_0x3c7641(0xdb)](_0x6a8ea,{'range':_0x5d042e}),_0x1f5bb1[_0x3c7641(0xdb)](_0x4946c1,{'range':_0x410a35})):(_0x1f5bb1[_0x3c7641(0x12f)](_0x6a8ea,{'range':_0x5d042e,'usingOperation':!0x0}),_0x1f5bb1[_0x3c7641(0x12f)](_0x4946c1,{'range':_0x410a35,'usingOperation':!0x0}));}
|