@ckeditor/ckeditor5-real-time-collaboration 46.0.0-alpha.0 → 46.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +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
|
-
const
|
|
23
|
+
const _0x17b5c7=_0x3512;function _0x4280(){const _0x4a7147=['fire','84RyMVoo','presencelist:show','Connected\x20users\x20list','listenTo','isExpanded','1378977HMQyhD','aria-expanded','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','relatedTarget','set','list','keystrokes','render','setAttribute','.ck-presence-list__dropdown-list','element','contains','.ck-balloon-panel_with-arrow','focus','bindTemplate','createCollection','querySelector','21zKMKqt','setTemplate','93165DedDhD','55497WfIOpw','834942daEqyk','ck-presence-list__list','removeAttribute','hasPopup','1034622phzRfO','items','13488399urZbEQ','div','change:hasPopup','383536AETaza','presencelist:hide'];_0x4280=function(){return _0x4a7147;};return _0x4280();}(function(_0x3843ee,_0x5d425e){const _0x17316a=_0x3512,_0x44b4a8=_0x3843ee();while(!![]){try{const _0x2d0c6a=-parseInt(_0x17316a(0xe6))/0x1+parseInt(_0x17316a(0xeb))/0x2+parseInt(_0x17316a(0xf8))/0x3+parseInt(_0x17316a(0xf3))/0x4*(parseInt(_0x17316a(0xe5))/0x5)+parseInt(_0x17316a(0xe7))/0x6*(parseInt(_0x17316a(0xe3))/0x7)+parseInt(_0x17316a(0xf0))/0x8+-parseInt(_0x17316a(0xed))/0x9;if(_0x2d0c6a===_0x5d425e)break;else _0x44b4a8['push'](_0x44b4a8['shift']());}catch(_0x2850d2){_0x44b4a8['push'](_0x44b4a8['shift']());}}}(_0x4280,0x443ac));import{View as _0x4b1cff}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x175ca5}from'ckeditor5/src/utils.js';import{getTranslation as _0x55fcaf}from'../../common-translations.js';function _0x3512(_0x457ba5,_0x5b8839){const _0x428009=_0x4280();return _0x3512=function(_0x35126a,_0x32bec1){_0x35126a=_0x35126a-0xd7;let _0x539eed=_0x428009[_0x35126a];return _0x539eed;},_0x3512(_0x457ba5,_0x5b8839);}export class PresenceInlineListView extends _0x4b1cff{[_0x17b5c7(0xec)];[_0x17b5c7(0xd8)];constructor(_0x1da2c7){const _0x3a8320=_0x17b5c7;super(_0x1da2c7);const _0x110705=this[_0x3a8320(0xe0)];this[_0x3a8320(0xec)]=this[_0x3a8320(0xe1)](),this[_0x3a8320(0xd8)]=new _0x175ca5(),this[_0x3a8320(0xfc)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3a8320(0xe4)]({'tag':_0x3a8320(0xee),'attributes':{'aria-haspopup':_0x110705['if'](_0x3a8320(0xea)),'aria-expanded':_0x110705['to'](_0x3a8320(0xf7),_0xa53b5f=>this[_0x3a8320(0xea)]&&String(_0xa53b5f)),'aria-label':_0x110705['to'](_0x3a8320(0xea),_0x1673b6=>_0x55fcaf(_0x1da2c7,_0x1673b6?_0x3a8320(0xfa):_0x3a8320(0xf5))),'role':_0x3a8320(0xd7),'tabindex':_0x110705['to'](_0x3a8320(0xea),_0x294c27=>!!_0x294c27&&0x0),'class':['ck',_0x3a8320(0xe8)]},'children':this[_0x3a8320(0xec)],'on':{'mouseenter':_0x110705['to'](()=>this[_0x3a8320(0xf2)](_0x3a8320(0xf4))),'mouseleave':_0x110705['to'](_0x1c36fa=>{const _0x36e0bf=_0x3a8320,_0x5b27bf=_0x1c36fa,_0x2bf4fc=document[_0x36e0bf(0xe2)](_0x36e0bf(0xdb)),_0x277c14=document[_0x36e0bf(0xe2)](_0x36e0bf(0xde));_0x2bf4fc?.[_0x36e0bf(0xdd)](_0x5b27bf[_0x36e0bf(0xfb)])||_0x277c14?.[_0x36e0bf(0xdd)](_0x5b27bf[_0x36e0bf(0xfb)])||this[_0x36e0bf(0xf2)](_0x36e0bf(0xf1));})}}),this['on'](_0x3a8320(0xef),(_0x3ae7ed,_0x525785,_0x2079ec)=>{const _0x32f3d1=_0x3a8320;this[_0x32f3d1(0xdc)]&&(_0x2079ec?this[_0x32f3d1(0xdc)][_0x32f3d1(0xda)](_0x32f3d1(0xf9),String(this[_0x32f3d1(0xf7)])):this[_0x32f3d1(0xdc)][_0x32f3d1(0xe9)](_0x32f3d1(0xf9)));});}[_0x17b5c7(0xdf)](){const _0x310112=_0x17b5c7;this[_0x310112(0xdc)][_0x310112(0xdf)]();}[_0x17b5c7(0xd9)](){const _0x31e284=_0x17b5c7;super[_0x31e284(0xd9)](),this[_0x31e284(0xd8)][_0x31e284(0xf6)](this[_0x31e284(0xdc)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x152a89=_0x479a;function _0x480e(){const _0x19b579=['63LnfFKz','ck-presence-list--collapsed','51234aaNuHR','inlineListView','items','ck-rounded-corners','isCollapsed','tooltipPosition','bind','locale','bindTemplate','588HcxCVk','listenTo','26031tiwlng','554667mWnwMp','ck-presence-list','div','setTemplate','counterView','set','hasPopup','first','2341960ZFezxU','1197790tZDHPr','change','1710648zJAWgx','1891930KSLBVL','ck-reset','246VSkGQr'];_0x480e=function(){return _0x19b579;};return _0x480e();}(function(_0x4165b0,_0x43cd39){const _0x5bd3d6=_0x479a,_0x14ed08=_0x4165b0();while(!![]){try{const _0x44c557=parseInt(_0x5bd3d6(0x12a))/0x1+-parseInt(_0x5bd3d6(0x11b))/0x2*(-parseInt(_0x5bd3d6(0x129))/0x3)+parseInt(_0x5bd3d6(0x118))/0x4+parseInt(_0x5bd3d6(0x119))/0x5+-parseInt(_0x5bd3d6(0x11e))/0x6*(parseInt(_0x5bd3d6(0x127))/0x7)+-parseInt(_0x5bd3d6(0x115))/0x8+-parseInt(_0x5bd3d6(0x11c))/0x9*(parseInt(_0x5bd3d6(0x116))/0xa);if(_0x44c557===_0x43cd39)break;else _0x14ed08['push'](_0x14ed08['shift']());}catch(_0x1d7ab1){_0x14ed08['push'](_0x14ed08['shift']());}}}(_0x480e,0x8d7b8));function _0x479a(_0x5beaef,_0x350ad2){const _0x480e26=_0x480e();return _0x479a=function(_0x479a1b,_0x3471ea){_0x479a1b=_0x479a1b-0x10e;let _0x560112=_0x480e26[_0x479a1b];return _0x560112;},_0x479a(_0x5beaef,_0x350ad2);}import{View as _0xce1d63}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x940c46}from'./presencecounterview.js';import{PresenceInlineListView as _0x59035d}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0xce1d63{[_0x152a89(0x111)];[_0x152a89(0x11f)];constructor(_0x3a4353,_0x34e389=0x6){const _0x33cc1b=_0x152a89;super(_0x3a4353);const _0x3b1ef9=this[_0x33cc1b(0x126)];this[_0x33cc1b(0x112)](_0x33cc1b(0x122),!0x0),this[_0x33cc1b(0x111)]=new _0x940c46(this[_0x33cc1b(0x125)],_0x34e389),this[_0x33cc1b(0x11f)]=new _0x59035d(_0x3a4353),this[_0x33cc1b(0x11f)][_0x33cc1b(0x124)](_0x33cc1b(0x113))['to'](this,_0x33cc1b(0x122)),this[_0x33cc1b(0x128)](this[_0x33cc1b(0x11f)][_0x33cc1b(0x120)],_0x33cc1b(0x117),()=>{const _0xa9d32d=_0x33cc1b;for(const _0x4daf49 of this[_0xa9d32d(0x11f)][_0xa9d32d(0x120)])_0x4daf49[_0xa9d32d(0x123)]='s';this[_0xa9d32d(0x11f)][_0xa9d32d(0x120)][_0xa9d32d(0x114)]&&(this[_0xa9d32d(0x11f)][_0xa9d32d(0x120)][_0xa9d32d(0x114)][_0xa9d32d(0x123)]='se');}),this[_0x33cc1b(0x110)]({'tag':_0x33cc1b(0x10f),'attributes':{'class':['ck',_0x33cc1b(0x10e),_0x33cc1b(0x11a),_0x33cc1b(0x121),_0x3b1ef9['if'](_0x33cc1b(0x122),_0x33cc1b(0x11d))]},'children':[this[_0x33cc1b(0x11f)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0xd8ad(){var _0x17a2ad=['isOfficialPlugin','isPremiumPlugin','1124644efstaE','3936432CwmDKw','requires','1748565cGPJpm','13435vYCTSZ','1283856ASrGIv','pluginName','144PKpgBG','2344347EodsGA','PresenceList','2514yvMlKA','1191198gTLcpO'];_0xd8ad=function(){return _0x17a2ad;};return _0xd8ad();}var _0x46f3d0=_0x2a14;(function(_0x14612b,_0x796e73){var _0x3a7e30=_0x2a14,_0x411d11=_0x14612b();while(!![]){try{var _0x239c9f=-parseInt(_0x3a7e30(0x122))/0x1+-parseInt(_0x3a7e30(0x11f))/0x2+-parseInt(_0x3a7e30(0x119))/0x3+-parseInt(_0x3a7e30(0x115))/0x4+-parseInt(_0x3a7e30(0x118))/0x5*(parseInt(_0x3a7e30(0x11e))/0x6)+parseInt(_0x3a7e30(0x117))/0x7+-parseInt(_0x3a7e30(0x11b))/0x8*(-parseInt(_0x3a7e30(0x11c))/0x9);if(_0x239c9f===_0x796e73)break;else _0x411d11['push'](_0x411d11['shift']());}catch(_0x46c024){_0x411d11['push'](_0x411d11['shift']());}}}(_0xd8ad,0xa618d));import{ContextPlugin as _0x333c44}from'ckeditor5/src/core.js';function _0x2a14(_0x3fe73c,_0x14138c){var _0xd8ad34=_0xd8ad();return _0x2a14=function(_0x2a1426,_0x57d71a){_0x2a1426=_0x2a1426-0x115;var _0x585f75=_0xd8ad34[_0x2a1426];return _0x585f75;},_0x2a14(_0x3fe73c,_0x14138c);}import{Sessions as _0x29abd4}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x8d00ce}from'./presencelist/presencelistui.js';export class PresenceList extends _0x333c44{static get[_0x46f3d0(0x116)](){return[_0x29abd4,_0x8d00ce];}static get[_0x46f3d0(0x11a)](){var _0x3815f9=_0x46f3d0;return _0x3815f9(0x11d);}static get[_0x46f3d0(0x120)](){return!0x0;}static get[_0x46f3d0(0x121)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x14a4e4)());[_0x4f4ff0(0x1f2)];static get[_0x4f4ff0(0x204)](){const _0x5b04d9=_0x4f4ff0;return[_0x5c4384,_0x5b04d9(0x1fb),_0x3a5202,_0x2987d5];}static get[_0x4f4ff0(0x1fc)](){const _0x573c04=_0x4f4ff0;return _0x573c04(0x20a);}static get[_0x4f4ff0(0x1b4)](){return!0x0;}static get[_0x4f4ff0(0x1ee)](){return!0x0;}constructor(_0x42bbe3){const _0x23c063=_0x4f4ff0;super(_0x42bbe3),this[_0x23c063(0x1f2)]=new Map();}async[_0x4f4ff0(0x201)](){const _0x45bf98=_0x4f4ff0,_0x3b5663=this[_0x45bf98(0x205)],_0x487898=_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x45bf98(0x1fb));if(_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x5c4384)[_0x45bf98(0x1f4)](this),_0x487898[_0x45bf98(0x1bf)]={'addCommentThread':async({channelId:_0x11befb,threadId:_0x51deca,comments:_0x25a781,resolvedAt:_0x1adfda,resolvedBy:_0x436da1,context:_0x51d695,attributes:_0x1831cc})=>{const _0x1d325d=_0x45bf98,_0x38ab48=await this[_0x1d325d(0x1f8)](_0x11befb)[_0x1d325d(0x1f5)]({'commentThreadId':_0x51deca,'comments':_0x25a781[_0x1d325d(0x1e6)](_0xb25668=>function(_0x2fabb9,_0x3a88d6,_0x537af0){const _0x2981f1=_0x1d325d;return{'commentThreadId':_0x537af0,'commentId':_0x2fabb9[_0x2981f1(0x20d)],'userId':_0x2fabb9[_0x2981f1(0x1b5)],'content':_0x2fabb9[_0x2981f1(0x1de)],'documentId':_0x3a88d6,'createdAt':_0x2fabb9[_0x2981f1(0x1d4)],'attributes':_0x2fabb9[_0x2981f1(0x1dc)]||{}};}(_0xb25668,_0x11befb,_0x51deca)),'resolvedAt':_0x1adfda,'resolvedBy':_0x436da1,'context':_0x51d695,'attributes':_0x1831cc})[_0x1d325d(0x1ce)](k);return{'threadId':_0x38ab48[_0x1d325d(0x1bb)],'comments':_0x38ab48[_0x1d325d(0x1df)]};},'getCommentThread':async({channelId:_0x359f62,threadId:_0xee073a})=>{const _0x1a0f04=_0x45bf98,_0x155a1a=await this[_0x1a0f04(0x1f8)](_0x359f62)[_0x1a0f04(0x1cc)](_0xee073a)[_0x1a0f04(0x1ce)](k);return _0x155a1a[_0x1a0f04(0x216)]?null:(await this[_0x1a0f04(0x1da)]([_0x155a1a]),{'threadId':_0x155a1a[_0x1a0f04(0x1bb)],'comments':_0x155a1a[_0x1a0f04(0x1df)][_0x1a0f04(0x1e6)](B),'context':_0x155a1a[_0x1a0f04(0x205)],'resolvedAt':_0x155a1a[_0x1a0f04(0x1d0)],'resolvedBy':_0x155a1a[_0x1a0f04(0x20b)],'attributes':_0x155a1a[_0x1a0f04(0x1dc)]||{}});},'updateCommentThread':async({channelId:_0x5095a8,threadId:_0x1eeff4,context:_0x366f5d,unlinkedAt:_0x3c02b7,attributes:_0x50387b})=>this[_0x45bf98(0x1f8)](_0x5095a8)[_0x45bf98(0x213)]({'commentThreadId':_0x1eeff4,'context':_0x366f5d,'attributes':_0x50387b,'unlinkedAt':_0x3c02b7})[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'resolveCommentThread':async({channelId:_0x30c93d,threadId:_0x23424e})=>{const _0x8416da=_0x45bf98,_0x112560=await this[_0x8416da(0x1f8)](_0x30c93d)[_0x8416da(0x1c0)](_0x23424e)[_0x8416da(0x1ce)](F)[_0x8416da(0x1ce)](k);return{'threadId':_0x112560[_0x8416da(0x1bb)],'resolvedAt':_0x112560[_0x8416da(0x1d0)],'resolvedBy':_0x112560[_0x8416da(0x20b)]};},'reopenCommentThread':async({channelId:_0x15e23c,threadId:_0xddb858})=>this[_0x45bf98(0x1f8)](_0x15e23c)[_0x45bf98(0x1d3)](_0xddb858)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'removeCommentThread':({channelId:_0x2d2f2c,threadId:_0x1b9a19})=>this[_0x45bf98(0x1f8)](_0x2d2f2c)[_0x45bf98(0x1c5)](_0x1b9a19)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'addComment':({channelId:_0x13aea8,threadId:_0x2e5b09,commentId:_0x4af9ea,content:_0x58600e,attributes:_0x24e30b})=>this[_0x45bf98(0x1f8)](_0x13aea8)[_0x45bf98(0x1f0)](_0x2e5b09,_0x4af9ea,_0x58600e,_0x24e30b)[_0x45bf98(0x1ce)](k),'updateComment':({channelId:_0x17c973,threadId:_0x28f08f,commentId:_0x1b864c,content:_0x13784a,attributes:_0x10d337})=>this[_0x45bf98(0x1f8)](_0x17c973)[_0x45bf98(0x1db)](_0x28f08f,_0x1b864c,_0x13784a,_0x10d337)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k),'removeComment':({channelId:_0x256ca6,threadId:_0x1b1f4f,commentId:_0x4fe482})=>this[_0x45bf98(0x1f8)](_0x256ca6)[_0x45bf98(0x1cf)](_0x1b1f4f,_0x4fe482)[_0x45bf98(0x1ce)](F)[_0x45bf98(0x1ce)](k)},_0x3b5663 instanceof _0x2cc1ba){const _0x6f60d2=_0x3b5663[_0x45bf98(0x1c3)][_0x45bf98(0x1d2)](_0x45bf98(0x215)),_0x37517f=_0x3b5663[_0x45bf98(0x1cb)][_0x45bf98(0x1d2)](_0x3a5202);await this[_0x45bf98(0x1fa)](_0x6f60d2);const _0x1f1621=await this[_0x45bf98(0x1f2)][_0x45bf98(0x1d2)](_0x6f60d2)[_0x45bf98(0x217)]();this[_0x45bf98(0x1ef)](_0x37517f,_0x45bf98(0x1dd)+_0x6f60d2,(_0x5d56ec,{session:_0xd2cd44})=>{const _0x3ccb8f=_0x45bf98;_0xd2cd44['id']===_0x37517f[_0x3ccb8f(0x1ba)]&&(_0x5d56ec[_0x3ccb8f(0x207)](),this[_0x3ccb8f(0x205)][_0x3ccb8f(0x1cb)][_0x3ccb8f(0x1d2)](_0x3ccb8f(0x1be))[_0x3ccb8f(0x1e3)](_0xd2cd44[_0x3ccb8f(0x1d8)],_0x6f60d2));}),_0x37517f[_0x45bf98(0x1d9)](_0x6f60d2,_0x1f1621);}}async[_0x4f4ff0(0x1fa)](_0x54e4f6){const _0x4799a7=_0x4f4ff0;if(this[_0x4799a7(0x1f2)][_0x4799a7(0x1fe)](_0x54e4f6))throw new _0xe6358f(_0x4799a7(0x1d1),null,{'channelId':_0x54e4f6});const _0x15395a=this[_0x4799a7(0x205)][_0x4799a7(0x1cb)][_0x4799a7(0x1d2)](_0x4799a7(0x1fb)),_0x57b5a2=new s[(_0x4799a7(0x1f6))](_0x54e4f6);this[_0x4799a7(0x1f2)][_0x4799a7(0x206)](_0x54e4f6,_0x57b5a2),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x218),(_0x50a1e2,_0x4e3346)=>{const _0x2f5bfe=_0x4799a7,{commentThreadId:_0x5b5a35,documentId:_0x36ecd4,context:_0x3371ce,attributes:_0x3a7b99,resolvedAt:_0x3c1e14,resolvedBy:_0x4a3e35,comments:_0x9a9063}=_0x4e3346;_0x15395a[_0x2f5bfe(0x1cc)](_0x5b5a35)||_0x15395a[_0x2f5bfe(0x1f5)]({'threadId':_0x5b5a35,'channelId':_0x36ecd4,'comments':_0x9a9063?_0x9a9063[_0x2f5bfe(0x1e6)](B):[],'context':_0x3371ce,'attributes':_0x3a7b99,'resolvedAt':_0x3c1e14,'resolvedBy':_0x4a3e35,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e2),(_0x15bbdf,{commentThreadId:_0x3ca403,documentId:_0x469c89,context:_0x3a8ff8,unlinkedAt:_0x5622fc,attributes:_0x44cfc7})=>{const _0x192092=_0x4799a7;_0x15395a[_0x192092(0x1cc)](_0x3ca403)&&_0x15395a[_0x192092(0x213)]({'threadId':_0x3ca403,'channelId':_0x469c89,'context':_0x3a8ff8,'unlinkedAt':_0x5622fc,'attributes':_0x44cfc7,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1c9),(_0x2414c1,{commentThreadId:_0x29e6c3,resolvedBy:_0xc00fe6,resolvedAt:_0x127def})=>{const _0x1d1b67=_0x4799a7,_0x31a0a0=_0x15395a[_0x1d1b67(0x1cc)](_0x29e6c3);_0x31a0a0&&_0x31a0a0[_0x1d1b67(0x209)]({'resolvedBy':_0xc00fe6,'resolvedAt':_0x127def,'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1d6),(_0x513fe4,{commentThreadId:_0xd93415})=>{const _0x53f386=_0x4799a7,_0x257022=_0x15395a[_0x53f386(0x1cc)](_0xd93415);_0x257022&&_0x257022[_0x53f386(0x1ec)]({'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e5),(_0x28336e,{commentThreadId:_0x3ee4ab})=>{const _0x50d4a0=_0x4799a7,_0x59ac8b=_0x15395a[_0x50d4a0(0x1cc)](_0x3ee4ab);_0x59ac8b&&_0x59ac8b[_0x50d4a0(0x210)]({'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e0),(_0x1c2881,_0x461d25)=>{const _0x2aef35=_0x4799a7,_0x50c22f=_0x461d25[_0x2aef35(0x1bb)],_0x337f25=_0x15395a[_0x2aef35(0x1cc)](_0x50c22f);_0x337f25&&_0x337f25[_0x2aef35(0x1f0)]({...B(_0x461d25),'isFromAdapter':!0x0});}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1e1),(_0x3ba5f6,{commentThreadId:_0x13b113,commentId:_0x3de5ff,content:_0x14ad26,attributes:_0x4ec2c5})=>{const _0x5006b6=_0x4799a7,_0x454652=_0x15395a[_0x5006b6(0x1cc)](_0x13b113);if(_0x454652){const _0x4481a4=_0x454652[_0x5006b6(0x1ea)](_0x3de5ff);_0x4481a4&&_0x4481a4[_0x5006b6(0x1e4)]({'content':_0x14ad26,'attributes':_0x4ec2c5,'isFromAdapter':!0x0});}}),this[_0x4799a7(0x1ef)](_0x57b5a2,_0x4799a7(0x1ed),(_0x58982b,{commentThreadId:_0x29dd5f,commentId:_0x16a414})=>{const _0x3973ca=_0x4799a7,_0x380791=_0x15395a[_0x3973ca(0x1cc)](_0x29dd5f);if(_0x380791){const _0x32df62=_0x380791[_0x3973ca(0x1ea)](_0x16a414);_0x32df62&&_0x32df62[_0x3973ca(0x210)]({'isFromAdapter':!0x0});}}),await this[_0x4799a7(0x1d7)](_0x54e4f6);}[_0x4f4ff0(0x208)](){const _0x146270=_0x4f4ff0;if(this[_0x146270(0x205)]instanceof _0x2cc1ba){const _0x204c1e=this[_0x146270(0x205)][_0x146270(0x1c3)][_0x146270(0x1d2)](_0x146270(0x215));this[_0x146270(0x1eb)](_0x204c1e);}}[_0x4f4ff0(0x1eb)](_0x42fcc1){const _0x3849ac=_0x4f4ff0;if(!this[_0x3849ac(0x1f2)][_0x3849ac(0x1fe)](_0x42fcc1))throw new _0xe6358f(_0x3849ac(0x214),null,{'channelId':_0x42fcc1});this[_0x3849ac(0x1f8)](_0x42fcc1)[_0x3849ac(0x1c8)](),this[_0x3849ac(0x1f2)][_0x3849ac(0x1c4)](_0x42fcc1);}async[_0x4f4ff0(0x202)](){const _0x1b2077=_0x4f4ff0;for(const _0x27933b of this[_0x1b2077(0x1f2)][_0x1b2077(0x1b8)]())await this[_0x1b2077(0x1d7)](_0x27933b);if(this[_0x1b2077(0x205)]instanceof _0x2cc1ba){const _0x4428f9=this[_0x1b2077(0x205)][_0x1b2077(0x1c3)][_0x1b2077(0x1d2)](_0x1b2077(0x215)),_0x37897f=this[_0x1b2077(0x205)][_0x1b2077(0x1cb)][_0x1b2077(0x1d2)](_0x3a5202);_0x37897f[_0x1b2077(0x1bc)](_0x4428f9);const _0x555222=await this[_0x1b2077(0x1f2)][_0x1b2077(0x1d2)](_0x4428f9)[_0x1b2077(0x217)]();_0x37897f[_0x1b2077(0x1d9)](_0x4428f9,_0x555222);}}async[_0x4f4ff0(0x1d7)](_0x1af5aa){const _0x544fac=_0x4f4ff0,{connection:_0x5293ba}=this[_0x544fac(0x205)][_0x544fac(0x1cb)][_0x544fac(0x1d2)](_0x5c4384),_0x504702=this[_0x544fac(0x205)][_0x544fac(0x1cb)][_0x544fac(0x1d2)](_0x544fac(0x1fb)),_0x550b5d=this[_0x544fac(0x1f2)][_0x544fac(0x1d2)](_0x1af5aa),_0x54c708=await _0x550b5d[_0x544fac(0x1b6)](_0x5293ba);await this[_0x544fac(0x1da)](_0x54c708);const _0x136b0a=new Set(Array[_0x544fac(0x211)](_0x504702[_0x544fac(0x1ff)]({'channelId':_0x1af5aa}),_0x3de92f=>_0x3de92f['id']));for(const _0x1858b2 of _0x54c708)_0x1858b2[_0x544fac(0x216)]||_0x136b0a[_0x544fac(0x1c4)](_0x1858b2[_0x544fac(0x1bb)]);for(const _0x4f80bb of _0x136b0a)_0x504702[_0x544fac(0x1cc)](_0x4f80bb)[_0x544fac(0x210)]({'isFromAdapter':!0x0});for(const _0x5c679f of _0x54c708){let _0xf739d=_0x504702[_0x544fac(0x1cc)](_0x5c679f[_0x544fac(0x1bb)]);const {commentThreadId:_0x5b69c1,context:_0x5d6bde,attributes:_0x289d92,resolvedBy:_0x1155be,resolvedAt:_0x282b5a,unlinkedAt:_0x2699c1,deletedAt:_0x1e61d2}=_0x5c679f;if(_0x1e61d2)continue;_0xf739d||(_0xf739d=_0x504702[_0x544fac(0x1f5)]({'channelId':_0x1af5aa,'threadId':_0x5b69c1,'context':_0x5d6bde,'attributes':_0x289d92||{},'resolvedBy':_0x1155be,'resolvedAt':_0x282b5a,'unlinkedAt':_0x2699c1,'isFromAdapter':!0x0}));const _0x38b09e=new Set(Array[_0x544fac(0x211)](_0xf739d[_0x544fac(0x1df)],_0x996678=>_0x996678['id']));for(const _0x2e22ed of _0x5c679f[_0x544fac(0x1df)])_0x38b09e[_0x544fac(0x1c4)](_0x2e22ed[_0x544fac(0x20d)]);for(const _0x276de0 of _0x38b09e)_0xf739d[_0x544fac(0x1ea)](_0x276de0)[_0x544fac(0x210)]({'isFromAdapter':!0x0});for(const _0x6f832f of _0x5c679f[_0x544fac(0x1df)]){const _0x5ef2ff=_0xf739d[_0x544fac(0x1ea)](_0x6f832f[_0x544fac(0x20d)]);_0x5ef2ff?_0x5ef2ff[_0x544fac(0x1de)]!==_0x6f832f[_0x544fac(0x1de)]&&_0x5ef2ff[_0x544fac(0x1e4)]({'content':_0x6f832f[_0x544fac(0x1de)],'isFromAdapter':!0x0}):_0xf739d[_0x544fac(0x1f0)](Object[_0x544fac(0x20f)](B(_0x6f832f),{'isFromAdapter':!0x0}));}}}[_0x4f4ff0(0x1f8)](_0xcd9dae){const _0x34f027=_0x4f4ff0;if(!this[_0x34f027(0x1f2)][_0x34f027(0x1fe)](_0xcd9dae))throw new _0xe6358f(_0x34f027(0x1e9),null,{'channelId':_0xcd9dae});return this[_0x34f027(0x1f2)][_0x34f027(0x1d2)](_0xcd9dae);}async[_0x4f4ff0(0x1da)](_0x2a1ffc){const _0x254e1d=_0x4f4ff0,_0xfcc028=this[_0x254e1d(0x205)][_0x254e1d(0x1cb)][_0x254e1d(0x1d2)](_0x2987d5),{connection:_0x4f84ae}=this[_0x254e1d(0x205)][_0x254e1d(0x1cb)][_0x254e1d(0x1d2)](_0x5c4384),_0x22a39f=new Set();for(const {resolvedBy:_0x21a3a0,comments:_0x3d8d4c}of _0x2a1ffc){_0x21a3a0&&!_0xfcc028[_0x254e1d(0x1f7)](_0x21a3a0)&&_0x22a39f[_0x254e1d(0x1b7)](_0x21a3a0);for(const {userId:_0x63af33}of _0x3d8d4c)_0xfcc028[_0x254e1d(0x1f7)](_0x63af33)||_0x22a39f[_0x254e1d(0x1b7)](_0x63af33);}if(0x0===_0x22a39f[_0x254e1d(0x1b9)])return;const _0x2e7def=await _0x32e93[_0x254e1d(0x1c1)](_0x4f84ae,Array[_0x254e1d(0x211)](_0x22a39f));for(const _0x304a7a of _0x2e7def)_0xfcc028[_0x254e1d(0x1f7)](_0x304a7a['id'])||_0xfcc028[_0x254e1d(0x1d5)](_0x304a7a);}}export{s as CloudServicesCommentsAdapter};async function F(_0x39139a){const _0x3451fc=_0x4f4ff0;if(_0x3451fc(0x20c)!==_0x39139a[_0x3451fc(0x1fd)])throw _0x39139a;}function k(_0x17f055){const _0x1f0f90=_0x4f4ff0;if((_0x278b9d=_0x17f055)[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1bd))||_0x278b9d[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1c2))||_0x278b9d[_0x1f0f90(0x1f1)][_0x1f0f90(0x20e)](_0x1f0f90(0x1f3)))return new Promise(()=>{});var _0x278b9d;throw _0x17f055;}function B(_0x550708){const _0x5a0b6a=_0x4f4ff0;return{'threadId':_0x550708[_0x5a0b6a(0x1bb)],'commentId':_0x550708[_0x5a0b6a(0x20d)],'content':_0x550708[_0x5a0b6a(0x1de)],'createdAt':_0x550708[_0x5a0b6a(0x1d4)],'authorId':_0x550708[_0x5a0b6a(0x212)],'attributes':_0x550708[_0x5a0b6a(0x1dc)]||{}};}
|
|
23
|
+
const _0x1fe42e=_0x237c;(function(_0x5b20e5,_0x38186a){const _0x53523b=_0x237c,_0x3c58f1=_0x5b20e5();while(!![]){try{const _0xd4719e=parseInt(_0x53523b(0x189))/0x1+parseInt(_0x53523b(0x15c))/0x2+parseInt(_0x53523b(0x12e))/0x3*(-parseInt(_0x53523b(0x161))/0x4)+-parseInt(_0x53523b(0x12a))/0x5+-parseInt(_0x53523b(0x181))/0x6*(parseInt(_0x53523b(0x163))/0x7)+-parseInt(_0x53523b(0x160))/0x8*(-parseInt(_0x53523b(0x184))/0x9)+parseInt(_0x53523b(0x131))/0xa;if(_0xd4719e===_0x38186a)break;else _0x3c58f1['push'](_0x3c58f1['shift']());}catch(_0x146542){_0x3c58f1['push'](_0x3c58f1['shift']());}}}(_0x3552,0xed4b3));import{Context as _0xef6b14,ContextPlugin as _0x49d918}from'ckeditor5/src/core.js';import{CKEditorError as _0xdd9fb6}from'ckeditor5/src/utils.js';function _0x237c(_0x17e477,_0xfa37a2){const _0x35525d=_0x3552();return _0x237c=function(_0x237cbf,_0x1bd9f8){_0x237cbf=_0x237cbf-0x126;let _0x2a83a6=_0x35525d[_0x237cbf];return _0x2a83a6;},_0x237c(_0x17e477,_0xfa37a2);}import{Users as _0x39499f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x113879,User as _0x55d551}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x37768f}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x586cb8}from'../realtimecollaborativeediting/sessions.js';class s extends _0x49d918{static [_0x1fe42e(0x17e)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x113879)());[_0x1fe42e(0x170)];static get[_0x1fe42e(0x132)](){const _0x328245=_0x1fe42e;return[_0x37768f,_0x328245(0x127),_0x586cb8,_0x39499f];}static get[_0x1fe42e(0x13b)](){const _0x1f806f=_0x1fe42e;return _0x1f806f(0x139);}static get[_0x1fe42e(0x12d)](){return!0x0;}static get[_0x1fe42e(0x179)](){return!0x0;}constructor(_0x477ebc){const _0xd0176b=_0x1fe42e;super(_0x477ebc),this[_0xd0176b(0x170)]=new Map();}async[_0x1fe42e(0x175)](){const _0x4b57c5=_0x1fe42e,_0x5395f9=this[_0x4b57c5(0x150)],_0x12ab1d=_0x5395f9[_0x4b57c5(0x188)][_0x4b57c5(0x152)](_0x4b57c5(0x127));if(_0x5395f9[_0x4b57c5(0x188)][_0x4b57c5(0x152)](_0x37768f)[_0x4b57c5(0x16b)](this),_0x12ab1d[_0x4b57c5(0x174)]={'addCommentThread':async({channelId:_0x546598,threadId:_0x36a127,comments:_0x4c98cf,resolvedAt:_0x404f82,resolvedBy:_0x455d2a,context:_0x314baa,attributes:_0x8fa138})=>{const _0xe904da=_0x4b57c5,_0x5d201f=await this[_0xe904da(0x13f)](_0x546598)[_0xe904da(0x134)]({'commentThreadId':_0x36a127,'comments':_0x4c98cf[_0xe904da(0x165)](_0x228a28=>function(_0x596950,_0x3b35f9,_0x499159){const _0x386157=_0xe904da;return{'commentThreadId':_0x499159,'commentId':_0x596950[_0x386157(0x16f)],'userId':_0x596950[_0x386157(0x166)],'content':_0x596950[_0x386157(0x16e)],'documentId':_0x3b35f9,'createdAt':_0x596950[_0x386157(0x129)],'attributes':_0x596950[_0x386157(0x158)]||{}};}(_0x228a28,_0x546598,_0x36a127)),'resolvedAt':_0x404f82,'resolvedBy':_0x455d2a,'context':_0x314baa,'attributes':_0x8fa138})[_0xe904da(0x130)](tt);return{'threadId':_0x5d201f[_0xe904da(0x141)],'comments':_0x5d201f[_0xe904da(0x16d)]};},'getCommentThread':async({channelId:_0x539c00,threadId:_0x1e0f6e})=>{const _0x1ceadf=_0x4b57c5,_0x2e0b4f=await this[_0x1ceadf(0x13f)](_0x539c00)[_0x1ceadf(0x135)](_0x1e0f6e)[_0x1ceadf(0x130)](tt);return _0x2e0b4f[_0x1ceadf(0x14e)]?null:(await this[_0x1ceadf(0x172)]([_0x2e0b4f]),{'threadId':_0x2e0b4f[_0x1ceadf(0x141)],'comments':_0x2e0b4f[_0x1ceadf(0x16d)][_0x1ceadf(0x165)](et),'context':_0x2e0b4f[_0x1ceadf(0x150)],'resolvedAt':_0x2e0b4f[_0x1ceadf(0x12c)],'resolvedBy':_0x2e0b4f[_0x1ceadf(0x15e)],'attributes':_0x2e0b4f[_0x1ceadf(0x158)]||{}});},'updateCommentThread':async({channelId:_0x5e690c,threadId:_0x5e4b36,context:_0x421300,unlinkedAt:_0x5983c7,attributes:_0x30d7e8})=>this[_0x4b57c5(0x13f)](_0x5e690c)[_0x4b57c5(0x153)]({'commentThreadId':_0x5e4b36,'context':_0x421300,'attributes':_0x30d7e8,'unlinkedAt':_0x5983c7})[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'resolveCommentThread':async({channelId:_0x2d3aee,threadId:_0x156bb9})=>{const _0x121266=_0x4b57c5,_0x4961f8=await this[_0x121266(0x13f)](_0x2d3aee)[_0x121266(0x140)](_0x156bb9)[_0x121266(0x130)](Z)[_0x121266(0x130)](tt);return{'threadId':_0x4961f8[_0x121266(0x141)],'resolvedAt':_0x4961f8[_0x121266(0x12c)],'resolvedBy':_0x4961f8[_0x121266(0x15e)]};},'reopenCommentThread':async({channelId:_0x32a9dd,threadId:_0x1a79d1})=>this[_0x4b57c5(0x13f)](_0x32a9dd)[_0x4b57c5(0x14c)](_0x1a79d1)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'removeCommentThread':({channelId:_0x3ce7c0,threadId:_0x1b65f3})=>this[_0x4b57c5(0x13f)](_0x3ce7c0)[_0x4b57c5(0x162)](_0x1b65f3)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'addComment':({channelId:_0x37ad4a,threadId:_0x2ef9e3,commentId:_0x37b653,content:_0x2e47bc,attributes:_0x3e4d4e})=>this[_0x4b57c5(0x13f)](_0x37ad4a)[_0x4b57c5(0x183)](_0x2ef9e3,_0x37b653,_0x2e47bc,_0x3e4d4e)[_0x4b57c5(0x130)](tt),'updateComment':({channelId:_0x52dc0e,threadId:_0x577e4a,commentId:_0x566993,content:_0xb544f,attributes:_0x372c3f})=>this[_0x4b57c5(0x13f)](_0x52dc0e)[_0x4b57c5(0x16a)](_0x577e4a,_0x566993,_0xb544f,_0x372c3f)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt),'removeComment':({channelId:_0x2c8bc8,threadId:_0x1d6ae1,commentId:_0x351bba})=>this[_0x4b57c5(0x13f)](_0x2c8bc8)[_0x4b57c5(0x169)](_0x1d6ae1,_0x351bba)[_0x4b57c5(0x130)](Z)[_0x4b57c5(0x130)](tt)},_0x5395f9 instanceof _0xef6b14){const _0x223053=_0x5395f9[_0x4b57c5(0x17c)][_0x4b57c5(0x152)](_0x4b57c5(0x167)),_0xc7c19f=_0x5395f9[_0x4b57c5(0x188)][_0x4b57c5(0x152)](_0x586cb8);await this[_0x4b57c5(0x182)](_0x223053);const _0x5f01d1=await this[_0x4b57c5(0x170)][_0x4b57c5(0x152)](_0x223053)[_0x4b57c5(0x171)]();this[_0x4b57c5(0x173)](_0xc7c19f,_0x4b57c5(0x15a)+_0x223053,(_0x29e16c,{session:_0x3a9b6e})=>{const _0x53c4a4=_0x4b57c5;_0x3a9b6e['id']===_0xc7c19f[_0x53c4a4(0x185)]&&(_0x29e16c[_0x53c4a4(0x126)](),this[_0x53c4a4(0x150)][_0x53c4a4(0x188)][_0x53c4a4(0x152)](_0x53c4a4(0x155))[_0x53c4a4(0x142)](_0x3a9b6e[_0x53c4a4(0x147)],_0x223053));}),_0xc7c19f[_0x4b57c5(0x145)](_0x223053,_0x5f01d1);}}async[_0x1fe42e(0x182)](_0x21b82d){const _0x4a98da=_0x1fe42e;if(this[_0x4a98da(0x170)][_0x4a98da(0x186)](_0x21b82d))throw new _0xdd9fb6(_0x4a98da(0x164),null,{'channelId':_0x21b82d});const _0x50117a=this[_0x4a98da(0x150)][_0x4a98da(0x188)][_0x4a98da(0x152)](_0x4a98da(0x127)),_0x48dcce=new s[(_0x4a98da(0x17e))](_0x21b82d);this[_0x4a98da(0x170)][_0x4a98da(0x15f)](_0x21b82d,_0x48dcce),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x13c),(_0x2a331b,_0x5bdc67)=>{const _0xd9f4ee=_0x4a98da,{commentThreadId:_0x4a4513,documentId:_0xe494c2,context:_0x6058e1,attributes:_0x223a9e,resolvedAt:_0x2991bc,resolvedBy:_0x15e470,comments:_0x569fe0}=_0x5bdc67;_0x50117a[_0xd9f4ee(0x135)](_0x4a4513)||_0x50117a[_0xd9f4ee(0x134)]({'threadId':_0x4a4513,'channelId':_0xe494c2,'comments':_0x569fe0?_0x569fe0[_0xd9f4ee(0x165)](et):[],'context':_0x6058e1,'attributes':_0x223a9e,'resolvedAt':_0x2991bc,'resolvedBy':_0x15e470,'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x154),(_0x8e9256,{commentThreadId:_0xf09bd9,documentId:_0x30a981,context:_0x260142,unlinkedAt:_0xedbaa2,attributes:_0xfb848b})=>{const _0xc71834=_0x4a98da;_0x50117a[_0xc71834(0x135)](_0xf09bd9)&&_0x50117a[_0xc71834(0x153)]({'threadId':_0xf09bd9,'channelId':_0x30a981,'context':_0x260142,'unlinkedAt':_0xedbaa2,'attributes':_0xfb848b,'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x18b),(_0x29a084,{commentThreadId:_0x2ba38c,resolvedBy:_0x5842fa,resolvedAt:_0x21fbaa})=>{const _0x283350=_0x4a98da,_0x239e42=_0x50117a[_0x283350(0x135)](_0x2ba38c);_0x239e42&&_0x239e42[_0x283350(0x12f)]({'resolvedBy':_0x5842fa,'resolvedAt':_0x21fbaa,'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x180),(_0x449209,{commentThreadId:_0x582b17})=>{const _0x34edb6=_0x4a98da,_0x31931d=_0x50117a[_0x34edb6(0x135)](_0x582b17);_0x31931d&&_0x31931d[_0x34edb6(0x168)]({'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x176),(_0x29b8a5,{commentThreadId:_0x5a4b33})=>{const _0x315240=_0x4a98da,_0x204549=_0x50117a[_0x315240(0x135)](_0x5a4b33);_0x204549&&_0x204549[_0x315240(0x138)]({'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x157),(_0x14b906,_0x11970e)=>{const _0x28a7a1=_0x4a98da,_0x2bed57=_0x11970e[_0x28a7a1(0x141)],_0x5a995c=_0x50117a[_0x28a7a1(0x135)](_0x2bed57);_0x5a995c&&_0x5a995c[_0x28a7a1(0x183)]({...et(_0x11970e),'isFromAdapter':!0x0});}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x143),(_0x5b3e5a,{commentThreadId:_0xda1a0,commentId:_0x350230,content:_0x4f97a1,attributes:_0x3dcdfb})=>{const _0x48c273=_0x4a98da,_0x31b801=_0x50117a[_0x48c273(0x135)](_0xda1a0);if(_0x31b801){const _0x57b551=_0x31b801[_0x48c273(0x151)](_0x350230);_0x57b551&&_0x57b551[_0x48c273(0x17b)]({'content':_0x4f97a1,'attributes':_0x3dcdfb,'isFromAdapter':!0x0});}}),this[_0x4a98da(0x173)](_0x48dcce,_0x4a98da(0x12b),(_0x5953e8,{commentThreadId:_0xfd4ab1,commentId:_0x10a93d})=>{const _0x138ea7=_0x4a98da,_0x383536=_0x50117a[_0x138ea7(0x135)](_0xfd4ab1);if(_0x383536){const _0x1737f1=_0x383536[_0x138ea7(0x151)](_0x10a93d);_0x1737f1&&_0x1737f1[_0x138ea7(0x138)]({'isFromAdapter':!0x0});}}),await this[_0x4a98da(0x15b)](_0x21b82d);}[_0x1fe42e(0x17f)](){const _0x5f40e4=_0x1fe42e;if(this[_0x5f40e4(0x150)]instanceof _0xef6b14){const _0x2a18a3=this[_0x5f40e4(0x150)][_0x5f40e4(0x17c)][_0x5f40e4(0x152)](_0x5f40e4(0x167));this[_0x5f40e4(0x13a)](_0x2a18a3);}}[_0x1fe42e(0x13a)](_0x1c8a75){const _0x67d45d=_0x1fe42e;if(!this[_0x67d45d(0x170)][_0x67d45d(0x186)](_0x1c8a75))throw new _0xdd9fb6(_0x67d45d(0x14f),null,{'channelId':_0x1c8a75});this[_0x67d45d(0x13f)](_0x1c8a75)[_0x67d45d(0x136)](),this[_0x67d45d(0x170)][_0x67d45d(0x137)](_0x1c8a75);}async[_0x1fe42e(0x14b)](){const _0x2bd7f4=_0x1fe42e;for(const _0x463e3e of this[_0x2bd7f4(0x170)][_0x2bd7f4(0x14a)]())await this[_0x2bd7f4(0x15b)](_0x463e3e);if(this[_0x2bd7f4(0x150)]instanceof _0xef6b14){const _0x5b08b6=this[_0x2bd7f4(0x150)][_0x2bd7f4(0x17c)][_0x2bd7f4(0x152)](_0x2bd7f4(0x167)),_0x27d35e=this[_0x2bd7f4(0x150)][_0x2bd7f4(0x188)][_0x2bd7f4(0x152)](_0x586cb8);_0x27d35e[_0x2bd7f4(0x133)](_0x5b08b6);const _0x54e50d=await this[_0x2bd7f4(0x170)][_0x2bd7f4(0x152)](_0x5b08b6)[_0x2bd7f4(0x171)]();_0x27d35e[_0x2bd7f4(0x145)](_0x5b08b6,_0x54e50d);}}async[_0x1fe42e(0x15b)](_0x4c758c){const _0x342c93=_0x1fe42e,{connection:_0x5457d6}=this[_0x342c93(0x150)][_0x342c93(0x188)][_0x342c93(0x152)](_0x37768f),_0xe17919=this[_0x342c93(0x150)][_0x342c93(0x188)][_0x342c93(0x152)](_0x342c93(0x127)),_0x122ca6=this[_0x342c93(0x170)][_0x342c93(0x152)](_0x4c758c),_0x3d2750=await _0x122ca6[_0x342c93(0x144)](_0x5457d6);await this[_0x342c93(0x172)](_0x3d2750);const _0x3c5d97=new Set(Array[_0x342c93(0x13e)](_0xe17919[_0x342c93(0x146)]({'channelId':_0x4c758c}),_0xe64ed0=>_0xe64ed0['id']));for(const _0x44b0cb of _0x3d2750)_0x44b0cb[_0x342c93(0x14e)]||_0x3c5d97[_0x342c93(0x137)](_0x44b0cb[_0x342c93(0x141)]);for(const _0x1b3a78 of _0x3c5d97)_0xe17919[_0x342c93(0x135)](_0x1b3a78)[_0x342c93(0x138)]({'isFromAdapter':!0x0});for(const _0x5d0e4a of _0x3d2750){let _0x385bba=_0xe17919[_0x342c93(0x135)](_0x5d0e4a[_0x342c93(0x141)]);const {commentThreadId:_0x15adb6,context:_0x33e785,attributes:_0xe6b3e4,resolvedBy:_0x53f915,resolvedAt:_0x4bc781,unlinkedAt:_0x182901,deletedAt:_0x5a3742}=_0x5d0e4a;if(_0x5a3742)continue;_0x385bba||(_0x385bba=_0xe17919[_0x342c93(0x134)]({'channelId':_0x4c758c,'threadId':_0x15adb6,'context':_0x33e785,'attributes':_0xe6b3e4||{},'resolvedBy':_0x53f915,'resolvedAt':_0x4bc781,'unlinkedAt':_0x182901,'isFromAdapter':!0x0}));const _0x29a2c8=new Set(Array[_0x342c93(0x13e)](_0x385bba[_0x342c93(0x16d)],_0x25664a=>_0x25664a['id']));for(const _0x261111 of _0x5d0e4a[_0x342c93(0x16d)])_0x29a2c8[_0x342c93(0x137)](_0x261111[_0x342c93(0x16f)]);for(const _0x3dd632 of _0x29a2c8)_0x385bba[_0x342c93(0x151)](_0x3dd632)[_0x342c93(0x138)]({'isFromAdapter':!0x0});for(const _0x2e4f73 of _0x5d0e4a[_0x342c93(0x16d)]){const _0x3a9a17=_0x385bba[_0x342c93(0x151)](_0x2e4f73[_0x342c93(0x16f)]);_0x3a9a17?_0x3a9a17[_0x342c93(0x16e)]!==_0x2e4f73[_0x342c93(0x16e)]&&_0x3a9a17[_0x342c93(0x17b)]({'content':_0x2e4f73[_0x342c93(0x16e)],'isFromAdapter':!0x0}):_0x385bba[_0x342c93(0x183)](Object[_0x342c93(0x15d)](et(_0x2e4f73),{'isFromAdapter':!0x0}));}}}[_0x1fe42e(0x13f)](_0xbe3250){const _0x37841b=_0x1fe42e;if(!this[_0x37841b(0x170)][_0x37841b(0x186)](_0xbe3250))throw new _0xdd9fb6(_0x37841b(0x177),null,{'channelId':_0xbe3250});return this[_0x37841b(0x170)][_0x37841b(0x152)](_0xbe3250);}async[_0x1fe42e(0x172)](_0x548afd){const _0x2851ae=_0x1fe42e,_0x17d628=this[_0x2851ae(0x150)][_0x2851ae(0x188)][_0x2851ae(0x152)](_0x39499f),{connection:_0x4254f0}=this[_0x2851ae(0x150)][_0x2851ae(0x188)][_0x2851ae(0x152)](_0x37768f),_0x15f61c=new Set();for(const {resolvedBy:_0x115be7,comments:_0x33b423}of _0x548afd){_0x115be7&&!_0x17d628[_0x2851ae(0x17a)](_0x115be7)&&_0x15f61c[_0x2851ae(0x128)](_0x115be7);for(const {userId:_0x5da5c2}of _0x33b423)_0x17d628[_0x2851ae(0x17a)](_0x5da5c2)||_0x15f61c[_0x2851ae(0x128)](_0x5da5c2);}if(0x0===_0x15f61c[_0x2851ae(0x159)])return;const _0x3a37b1=await _0x55d551[_0x2851ae(0x148)](_0x4254f0,Array[_0x2851ae(0x13e)](_0x15f61c));for(const _0x3963f0 of _0x3a37b1)_0x17d628[_0x2851ae(0x17a)](_0x3963f0['id'])||_0x17d628[_0x2851ae(0x17d)](_0x3963f0);}}function _0x3552(){const _0x19675a=['map','authorId','collaboration.channelId','reopen','removeComment','updateComment','addToReconnectionStack','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','comments','content','commentId','_services','getConnectedSessions','_fetchMissingUsersForThreads','listenTo','adapter','init','commentThreadRemoved','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Not\x20connected.','isPremiumPlugin','getUser','update','config','addUser','CommentsService','destroy','commentThreadReopened','9176358xhChuA','_setUpService','addComment','9MAIGOq','mySessionId','has','message','plugins','1291671jyXeoj','startsWith','commentThreadResolved','off','CommentsRepository','add','createdAt','5379850aHdFQw','commentRemoved','resolvedAt','isOfficialPlugin','6XvpAUk','resolve','catch','32852920LNZHYg','requires','unregister','addCommentThread','getCommentThread','disconnect','delete','remove','CloudServicesCommentsAdapter','_terminateService','pluginName','commentThreadAdded','cloud-services-internal-error:\x20Request\x20timeout.','from','_getService','resolveCommentThread','commentThreadId','setPermissions','commentUpdated','connect','register','getCommentThreads','permissions','getMany','404','keys','reconnect','reopenCommentThread','code','deletedAt','cloudservicescommentsadapter-disconnect-not-exist','context','getComment','get','updateCommentThread','commentThreadUpdated','Permissions','userId','commentAdded','attributes','size','sessionAdd:','_connectService','600580OvZBht','assign','resolvedBy','set','933112wwbHCE','2833148aWyDqc','removeCommentThread','7usUZgx','cloudservicescommentsadapter-connect-already-connected'];_0x3552=function(){return _0x19675a;};return _0x3552();}export{s as CloudServicesCommentsAdapter};async function Z(_0x7b418a){const _0x4bc27a=_0x1fe42e;if(_0x4bc27a(0x149)!==_0x7b418a[_0x4bc27a(0x14d)])throw _0x7b418a;}function tt(_0xe6001e){const _0x222739=_0x1fe42e;if((_0x6174d7=_0xe6001e)[_0x222739(0x187)][_0x222739(0x18a)](_0x222739(0x16c))||_0x6174d7[_0x222739(0x187)][_0x222739(0x18a)](_0x222739(0x178))||_0x6174d7[_0x222739(0x187)][_0x222739(0x18a)](_0x222739(0x13d)))return new Promise(()=>{});var _0x6174d7;throw _0xe6001e;}function et(_0x705ef6){const _0x1c4f3b=_0x1fe42e;return{'threadId':_0x705ef6[_0x1c4f3b(0x141)],'commentId':_0x705ef6[_0x1c4f3b(0x16f)],'content':_0x705ef6[_0x1c4f3b(0x16e)],'createdAt':_0x705ef6[_0x1c4f3b(0x129)],'authorId':_0x705ef6[_0x1c4f3b(0x156)],'attributes':_0x705ef6[_0x1c4f3b(0x158)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3492d1=_0x1936;(function(_0x5d0048,_0x505d28){const _0x528a02=_0x1936,_0x4e20c9=_0x5d0048();while(!![]){try{const _0x4cb4c3=parseInt(_0x528a02(0x175))/0x1+-parseInt(_0x528a02(0x169))/0x2*(parseInt(_0x528a02(0x16f))/0x3)+parseInt(_0x528a02(0x171))/0x4*(parseInt(_0x528a02(0x178))/0x5)+parseInt(_0x528a02(0x15f))/0x6+-parseInt(_0x528a02(0x15e))/0x7+-parseInt(_0x528a02(0x168))/0x8*(parseInt(_0x528a02(0x16c))/0x9)+parseInt(_0x528a02(0x170))/0xa;if(_0x4cb4c3===_0x505d28)break;else _0x4e20c9['push'](_0x4e20c9['shift']());}catch(_0x1ef562){_0x4e20c9['push'](_0x4e20c9['shift']());}}}(_0x338e,0x7a310));import{Plugin as _0x1629aa}from'ckeditor5/src/core.js';function _0x1936(_0x17e8e5,_0x492dd3){const _0x338e2a=_0x338e();return _0x1936=function(_0x1936b1,_0x10d7ec){_0x1936b1=_0x1936b1-0x15d;let _0x632550=_0x338e2a[_0x1936b1];return _0x632550;},_0x1936(_0x17e8e5,_0x492dd3);}function _0x338e(){const _0x1005c1=['collaboration.channelId','isPremiumPlugin','switchReadOnly','Comments','requires','connected','listenTo','CommentsRepository','8tDqygR','2NLbeeO','isOfficialPlugin','editor','7253379VzcIuJ','_terminateService','once','2137557fMjorP','14137770HLsBlg','5648uSvNSc','CommentsEditing','config','isThreadsLoadingPaused','648116uWqQLB','init','RealTimeCollaborativeComments','475zzlxxi','data','destroy','ready','pluginName','plugins','change:state','_setUpService','get','4920230gxBGLY','3154818xnYUJN'];_0x338e=function(){return _0x1005c1;};return _0x338e();}import{CloudServicesCommentsAdapter as _0x3baef1}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x4c1a3f}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0xb58515}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x1629aa{static get[_0x3492d1(0x164)](){const _0x174f27=_0x3492d1;return[_0x174f27(0x163),_0x3baef1,_0x4c1a3f,_0xb58515];}static get[_0x3492d1(0x17c)](){const _0x525be5=_0x3492d1;return _0x525be5(0x177);}static get[_0x3492d1(0x16a)](){return!0x0;}static get[_0x3492d1(0x161)](){return!0x0;}[_0x3492d1(0x176)](){const _0x151f44=_0x3492d1,_0x2e18f9=this[_0x151f44(0x16b)][_0x151f44(0x17d)][_0x151f44(0x15d)](_0xb58515),_0x1c322a=this[_0x151f44(0x16b)][_0x151f44(0x17d)][_0x151f44(0x15d)](_0x151f44(0x172)),_0x1b7514=this[_0x151f44(0x16b)][_0x151f44(0x17d)][_0x151f44(0x15d)](_0x3baef1);return this[_0x151f44(0x16b)][_0x151f44(0x179)][_0x151f44(0x16e)](_0x151f44(0x17b),()=>{const _0x53273c=_0x151f44;this[_0x53273c(0x166)](_0x2e18f9,_0x53273c(0x17e),(_0x2e9fb5,_0x1949be,_0x201659)=>{const _0x3ace7f=_0x53273c;_0x1c322a[_0x3ace7f(0x174)]=_0x3ace7f(0x165)!==_0x201659;});}),this[_0x151f44(0x166)](_0x2e18f9,_0x151f44(0x17e),(_0x36de3e,_0x513df5,_0x3f4b32)=>{const _0xd2d709=_0x151f44;this[_0xd2d709(0x16b)][_0xd2d709(0x17d)][_0xd2d709(0x15d)](_0xd2d709(0x167))[_0xd2d709(0x162)](_0xd2d709(0x165)!==_0x3f4b32);}),_0x1b7514[_0x151f44(0x17f)](this[_0x151f44(0x16b)][_0x151f44(0x173)][_0x151f44(0x15d)](_0x151f44(0x160)));}[_0x3492d1(0x17a)](){const _0x54e07c=_0x3492d1;this[_0x54e07c(0x16b)][_0x54e07c(0x17d)][_0x54e07c(0x15d)](_0x3baef1)[_0x54e07c(0x16d)](this[_0x54e07c(0x16b)][_0x54e07c(0x173)][_0x54e07c(0x15d)](_0x54e07c(0x160))),super[_0x54e07c(0x17a)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x2592db)());[_0x48cf25(0x17a)];[_0x48cf25(0x160)];[_0x48cf25(0x12f)];[_0x48cf25(0xe7)];[_0x48cf25(0x1c6)];[_0x48cf25(0xcf)];[_0x48cf25(0x18f)];[_0x48cf25(0x158)];[_0x48cf25(0x106)];[_0x48cf25(0x124)];[_0x48cf25(0xcd)];[_0x48cf25(0x129)];[_0x48cf25(0x1c8)];[_0x48cf25(0x14b)];[_0x48cf25(0x169)];[_0x48cf25(0x130)];[_0x48cf25(0xd9)];[_0x48cf25(0xe4)];static get[_0x48cf25(0x1b7)](){return[_0x5615bf,_0x166e79,_0x4f70a5,_0x2b5d75,_0x18fbdd,_0x477077];}static get[_0x48cf25(0x181)](){const _0x25d461=_0x48cf25;return _0x25d461(0x1a6);}static get[_0x48cf25(0x16e)](){return!0x0;}static get[_0x48cf25(0xc9)](){return!0x0;}get[_0x48cf25(0x187)](){const _0x89545a=_0x48cf25;return this[_0x89545a(0xf2)]+this[_0x89545a(0x17a)];}get[_0x48cf25(0xf2)](){const _0x3eba1=_0x48cf25;return this[_0x3eba1(0x12f)][_0x3eba1(0xcb)]-this[_0x3eba1(0x17a)];}get[_0x48cf25(0x1ab)](){const _0x32a0c6=_0x48cf25,_0x14e2a8=this[_0x32a0c6(0x12f)][_0x32a0c6(0x1b5)]();for(let _0x25c556=_0x14e2a8[_0x32a0c6(0x16f)]-0x1;_0x25c556>=0x0;_0x25c556--){const _0x443ef8=_0x14e2a8[_0x25c556];if(!this[_0x32a0c6(0xd9)][_0x32a0c6(0xfe)](_0x443ef8))return _0x443ef8[_0x32a0c6(0x126)]+0x1-this[_0x32a0c6(0x17a)];}return 0x0;}constructor(_0x4378bf){const _0x9f426b=_0x48cf25;if(super(_0x4378bf),this[_0x9f426b(0x17a)]=0x0,this[_0x9f426b(0x160)]=null,this[_0x9f426b(0x12f)]=new _0x260ce5(),this[_0x9f426b(0x110)][_0x9f426b(0x190)][_0x9f426b(0x162)](_0x9f426b(0x136),{}),this[_0x9f426b(0xe7)]=this[_0x9f426b(0x110)][_0x9f426b(0x190)][_0x9f426b(0xdb)](_0x9f426b(0x116)),!this[_0x9f426b(0xe7)])throw new _0x287132(_0x9f426b(0x14d),this);const _0x5872fa=_0x4378bf[_0x9f426b(0x190)][_0x9f426b(0xdb)](_0x9f426b(0x1a4))||_0x336758;this[_0x9f426b(0x1c6)]=new l[(_0x9f426b(0xe5))](_0x5872fa,this[_0x9f426b(0xe7)]),this[_0x9f426b(0xcf)]=this[_0x9f426b(0x110)][_0x9f426b(0xd6)][_0x9f426b(0x193)],this[_0x9f426b(0x18f)]=new _0x3333ae(),this[_0x9f426b(0x158)]=[],this[_0x9f426b(0x106)]=new WeakSet(),this[_0x9f426b(0x124)]=new Set(),this[_0x9f426b(0x152)](_0x9f426b(0x178),!0x1),this[_0x9f426b(0x152)](_0x9f426b(0x13b),!0x1),this[_0x9f426b(0xcd)]=null,this[_0x9f426b(0x129)]=!0x1,this[_0x9f426b(0x1c8)]=null,this[_0x9f426b(0x14b)]=0x12c,this[_0x9f426b(0x169)]=this[_0x9f426b(0x14b)],this[_0x9f426b(0x130)]=null,this[_0x9f426b(0xd9)]=new WeakSet(),this[_0x9f426b(0xe4)]=new J(this[_0x9f426b(0xd9)]);}[_0x48cf25(0x1a5)](){const _0x43a168=_0x48cf25,_0x151ae3=this[_0x43a168(0x110)],_0x296e65=_0x151ae3[_0x43a168(0xd0)][_0x43a168(0xdb)](_0x18fbdd),_0x1d348a=_0x151ae3[_0x43a168(0xd0)][_0x43a168(0xdb)](_0x5615bf);this[_0x43a168(0x12b)](_0x296e65,_0x43a168(0x17b),(_0x559ad0,_0x4260d3)=>{const _0x5c39c0=_0x43a168,_0x54003d=_0x4260d3[0x0];_0x54003d[_0x5c39c0(0x1ce)]&&(_0x559ad0[_0x5c39c0(0xce)]=_0x296e65[_0x5c39c0(0xe6)](_0x54003d[_0x5c39c0(0x1ce)]),_0x559ad0[_0x5c39c0(0xca)]()),null===_0x54003d[_0x5c39c0(0x1ce)]&&(_0x559ad0[_0x5c39c0(0xce)]=null,_0x559ad0[_0x5c39c0(0xca)]());},{'priority':_0x43a168(0x114)}),this[_0x43a168(0x12b)](_0x151ae3[_0x43a168(0xd6)][_0x43a168(0x193)][_0x43a168(0x182)],_0x43a168(0x1b2),(_0x5e9bce,_0xe97140)=>{const _0x4f794d=_0x43a168;_0xe97140[_0x4f794d(0x137)]&&this[_0x4f794d(0xea)]();}),this[_0x43a168(0x12b)](_0x151ae3[_0x43a168(0xfc)][_0x43a168(0x196)],_0x43a168(0x1c0),()=>{const _0x151810=_0x43a168;this[_0x151810(0xea)]();}),this[_0x43a168(0xf9)](),_0x151ae3[_0x43a168(0xd6)]['on'](_0x43a168(0x135),(_0x5d4219,_0x4f22d7)=>{const _0x526ce0=_0x43a168,_0x425148=_0x4f22d7[0x0];_0x425148[_0x526ce0(0x1b0)]&&(this[_0x526ce0(0x148)](_0x425148),this[_0x526ce0(0x175)]()&&this[_0x526ce0(0xf6)]());}),this[_0x43a168(0x14a)](),this[_0x43a168(0x103)](_0x43a168(0x15b))['to'](_0x1d348a,_0x43a168(0x15c),this,_0x43a168(0x13b),(_0x1cc5ed,_0x24d8d4)=>_0x43a168(0x17c)===_0x1cc5ed&&!_0x24d8d4),this['on'](_0x43a168(0x1ad),()=>{const _0x4c1fae=_0x43a168;this[_0x4c1fae(0x15b)]?_0x151ae3[_0x4c1fae(0x120)](_0x4c1fae(0x142)):_0x151ae3[_0x4c1fae(0x18d)](_0x4c1fae(0x142));}),this[_0x43a168(0x15b)]?_0x151ae3[_0x43a168(0x120)](_0x43a168(0x142)):_0x151ae3[_0x43a168(0x18d)](_0x43a168(0x142)),this[_0x43a168(0x152)](_0x43a168(0xeb),!0x1);}async[_0x48cf25(0x101)](){const _0x88884e=_0x48cf25,_0x4eb2a7=this[_0x88884e(0x110)][_0x88884e(0xd0)][_0x88884e(0xdb)](_0x166e79),_0x74e575=this[_0x88884e(0x110)][_0x88884e(0xd0)][_0x88884e(0xdb)](_0x5615bf);try{this[_0x88884e(0x178)]=!0x0,_0x4eb2a7[_0x88884e(0x13c)](this[_0x88884e(0xe7)]);const _0x4e8c6f=await this[_0x88884e(0x1c6)][_0x88884e(0x101)](_0x74e575[_0x88884e(0x191)],this[_0x88884e(0x1ab)]);await this[_0x88884e(0xdd)](_0x4e8c6f)&&(this[_0x88884e(0x178)]=!0x1,this[_0x88884e(0x17d)]());const _0x554511=await this[_0x88884e(0x1c6)][_0x88884e(0x1cd)]();_0x4eb2a7[_0x88884e(0x109)](this[_0x88884e(0xe7)],_0x554511),this[_0x88884e(0x132)](),this[_0x88884e(0xeb)]=!0x0;}catch(_0x21c741){if(function(_0x507ed1){const _0x47a349=_0x88884e;return _0x47a349(0x121)===_0x507ed1[_0x47a349(0xd8)];}(_0x21c741)&&this[_0x88884e(0x160)])await this[_0x88884e(0xef)]();else{if(function(_0x583289){const _0x6f99bb=_0x88884e;return _0x6f99bb(0x159)===_0x583289[_0x6f99bb(0xd8)];}(_0x21c741)){const _0x4ef3fa=_0x3894e8(this[_0x88884e(0x110)][_0x88884e(0x1a2)],_0x88884e(0x194));this[_0x88884e(0x185)](_0x4ef3fa);}else{if(!(_0x21c741 instanceof $))throw _0x21c741;this[_0x88884e(0x185)]();}}}}[_0x48cf25(0xf5)](){const _0x4482da=_0x48cf25,_0x1c7eb5=this[_0x4482da(0x110)][_0x4482da(0xd0)][_0x4482da(0xdb)](_0x5615bf),_0x177f7a=this[_0x4482da(0x110)][_0x4482da(0xd0)][_0x4482da(0xdb)](_0x166e79);this[_0x4482da(0x110)][_0x4482da(0x18d)](_0x4482da(0x1c1)),_0x177f7a[_0x4482da(0x15a)][_0x4482da(0xfe)](this[_0x4482da(0xe7)])&&_0x177f7a[_0x4482da(0x13c)](this[_0x4482da(0xe7)]),_0x1c7eb5[_0x4482da(0x138)](this),this[_0x4482da(0xe2)](),super[_0x4482da(0xf5)]();}async[_0x48cf25(0xdd)](_0x42dde8){const _0x1ca6fb=_0x48cf25;if(this[_0x1ca6fb(0x160)]!==_0x42dde8[_0x1ca6fb(0x160)]&&this[_0x1ca6fb(0x130)]!==_0x42dde8[_0x1ca6fb(0x10a)])throw new $();return this[_0x1ca6fb(0x160)]=_0x42dde8[_0x1ca6fb(0x160)],this[_0x1ca6fb(0x13a)]([],{..._0x42dde8,'wereChangesApplied':!0x1,'data':_0x42dde8[_0x1ca6fb(0x11a)]},_0x1ca6fb(0x101));}async[_0x48cf25(0x149)](_0x11cef2,_0xbb8d5f=!0x1){const _0x183318=_0x48cf25,{connection:_0x548377}=this[_0x183318(0x110)][_0x183318(0xd0)][_0x183318(0xdb)](_0x5615bf);l[_0x183318(0xe5)][_0x183318(0x1cd)](_0x548377,this[_0x183318(0xe7)])[_0x183318(0x1bd)](_0xd0648f=>this[_0x183318(0x1ae)](_0xd0648f))[_0x183318(0x133)](_0x453117=>{const _0x36db8b=_0x183318;this[_0x36db8b(0xda)](_0x36db8b(0x167),_0x453117);}),this[_0x183318(0x12b)](this[_0x183318(0x1c6)],_0x183318(0x177),this[_0x183318(0x105)][_0x183318(0x103)](this)),this[_0x183318(0x12b)](this[_0x183318(0x1c6)],_0x183318(0x139),(_0x4c04b8,_0x191191)=>{const _0x187d83=_0x183318;this[_0x187d83(0xda)](_0x187d83(0x1bc),_0x191191);}),this[_0x183318(0x12b)](this[_0x183318(0x1c6)],_0x183318(0x122),()=>{const _0x5db957=_0x183318;this[_0x5db957(0xeb)]=!0x1;});const _0x3fc3bf=this[_0x183318(0xe4)][_0x183318(0x1a9)](_0x11cef2);this[_0x183318(0x178)]=!0x0;const _0x92d15f=await this[_0x183318(0x1c6)][_0x183318(0x10e)](_0x548377,this[_0x183318(0x1b9)](_0x11cef2),_0x3fc3bf);if(this[_0x183318(0x160)]=_0x92d15f[_0x183318(0x160)],_0xbb8d5f){if(!_0x92d15f[_0x183318(0x11c)])return void this[_0x183318(0x185)]();this[_0x183318(0x178)]=!0x1,this[_0x183318(0x17d)](),this[_0x183318(0x12f)][_0x183318(0x1c9)](),this[_0x183318(0x17a)]=_0x92d15f[_0x183318(0x163)],this[_0x183318(0x12f)][_0x183318(0xcb)]=this[_0x183318(0x17a)],await this[_0x183318(0x13a)](_0x11cef2,_0x92d15f,_0x183318(0xf4));}else await this[_0x183318(0x115)](_0x92d15f,_0x11cef2);this[_0x183318(0x132)](),this[_0x183318(0xeb)]=!0x0;}[_0x48cf25(0x132)](){const _0x49654c=_0x48cf25,_0x255d7e=this[_0x49654c(0x110)][_0x49654c(0xd0)][_0x49654c(0xdb)](_0x166e79),_0x471a35=this[_0x49654c(0x110)][_0x49654c(0xd0)][_0x49654c(0xdb)](_0x4f70a5),_0x95d067=_0x255d7e[_0x49654c(0x15a)][_0x49654c(0xdb)](this[_0x49654c(0xe7)]);_0x95d067&&_0x95d067[_0x49654c(0x16f)]>0x1?_0x471a35[_0x49654c(0x18b)]():this[_0x49654c(0x12b)](_0x255d7e,_0x49654c(0x188)+this[_0x49654c(0xe7)],()=>{const _0x491871=_0x49654c;0x2===_0x255d7e[_0x491871(0x15a)][_0x491871(0xdb)](this[_0x491871(0xe7)])[_0x491871(0x16f)]&&_0x471a35[_0x491871(0x18b)]();});}async[_0x48cf25(0x105)](_0x2a8457,_0x54ae78,_0x136a1f,_0x5c1afe){const _0x3ef2ff=_0x48cf25;if(!this[_0x3ef2ff(0x178)]&&this[_0x3ef2ff(0xcf)][_0x3ef2ff(0xcb)]==_0x54ae78){const _0x2ca0c9=this[_0x3ef2ff(0x12a)](_0x136a1f,_0x5c1afe);await this[_0x3ef2ff(0xf0)](_0x2ca0c9),this[_0x3ef2ff(0x1ba)](_0x2ca0c9,_0x54ae78,_0x136a1f[_0x3ef2ff(0x10a)])||this[_0x3ef2ff(0xda)](_0x3ef2ff(0x104));}}async[_0x48cf25(0xef)](){const _0xedb21a=_0x48cf25;this[_0xedb21a(0xe2)]();const {locale:_0x3b75d8}=this[_0xedb21a(0x110)];let _0xc439e0;try{_0xc439e0=await this[_0xedb21a(0x1c6)][_0xedb21a(0x10f)]();}catch{const _0x31bba8=_0x3894e8(_0x3b75d8,_0xedb21a(0x186));return void this[_0xedb21a(0x185)](_0x31bba8);}const _0x35dfe7=_0xc439e0[_0xedb21a(0xe3)]||_0xc439e0[_0xedb21a(0x15d)];if(this[_0xedb21a(0x130)]!==_0x35dfe7[_0xedb21a(0x10a)]){const _0x6064c7=_0x3894e8(_0x3b75d8,_0xedb21a(0x184));return void this[_0xedb21a(0x185)](_0x6064c7);}await this[_0xedb21a(0x149)](this[_0xedb21a(0x110)][_0xedb21a(0xd6)][_0xedb21a(0x193)][_0xedb21a(0xe8)][_0xedb21a(0x1b5)](),!0x0);}[_0x48cf25(0xe2)](){const _0x5292c9=_0x48cf25;this[_0x5292c9(0x1c6)][_0x5292c9(0x1bf)](),this[_0x5292c9(0x158)]=[],clearTimeout(this[_0x5292c9(0x1c8)]),this[_0x5292c9(0x1af)](this[_0x5292c9(0x1c6)]);}[_0x48cf25(0x1ae)](_0x50ca8b){const _0xc73b6b=_0x48cf25,_0x59a70c=this[_0xc73b6b(0x110)][_0xc73b6b(0xd0)][_0xc73b6b(0xdb)](_0x166e79);this[_0xc73b6b(0x12b)](_0x59a70c,_0xc73b6b(0x188)+this[_0xc73b6b(0xe7)],(_0x1994a2,{session:_0x2715e3})=>{const _0x2986b6=_0xc73b6b;if(_0x2715e3['id']===_0x59a70c[_0x2986b6(0x17e)]){_0x1994a2[_0x2986b6(0x18c)]();const _0x2ce3a1=this[_0x2986b6(0x110)][_0x2986b6(0xd0)][_0x2986b6(0xfe)](_0x2986b6(0xdc))&&this[_0x2986b6(0x110)][_0x2986b6(0xd0)][_0x2986b6(0xdb)](_0x2986b6(0xdc));let _0x136600=_0x2715e3[_0x2986b6(0x166)];_0x2ce3a1&&_0x2ce3a1[_0x2986b6(0xee)]&&(_0x136600=_0x136600[_0x2986b6(0x1c4)](_0x2ba24b=>_0x2986b6(0x1b6)!==_0x2ba24b)),this[_0x2986b6(0x110)][_0x2986b6(0xd0)][_0x2986b6(0xdb)](_0x2986b6(0x1aa))[_0x2986b6(0x199)](_0x136600,this[_0x2986b6(0xe7)]);}}),_0x59a70c[_0xc73b6b(0x109)](this[_0xc73b6b(0xe7)],_0x50ca8b);}[_0x48cf25(0xf9)](){const _0x2811d1=_0x48cf25,_0x3c26b1=this[_0x2811d1(0x110)][_0x2811d1(0x11a)][_0x2811d1(0x152)];this[_0x2811d1(0x110)][_0x2811d1(0x11a)][_0x2811d1(0x152)]=(..._0x5db2dd)=>{const _0x249ec5=_0x2811d1;if(!_0x5db2dd[_0x5db2dd[_0x249ec5(0x16f)]-0x1][_0x249ec5(0x146)])throw new _0x287132(_0x249ec5(0xd1),this);_0x3c26b1[_0x249ec5(0x150)](this[_0x249ec5(0x110)][_0x249ec5(0x11a)],_0x5db2dd);};}[_0x48cf25(0x14a)](){const _0x3e59d8=_0x48cf25;this[_0x3e59d8(0x110)][_0x3e59d8(0x11a)]['on'](_0x3e59d8(0x1a5),(_0x2554db,[_0x538f07])=>{const _0x40c9d4=_0x3e59d8;if(this[_0x40c9d4(0xcf)][_0x40c9d4(0xcb)])throw new _0x287132(_0x40c9d4(0x164),this);_0x2554db[_0x40c9d4(0xca)](),this[_0x40c9d4(0x1cc)]();const _0x1bb284=this[_0x40c9d4(0x110)][_0x40c9d4(0x190)][_0x40c9d4(0xdb)](_0x40c9d4(0x117)),_0x375a04=this[_0x40c9d4(0x170)](_0x538f07,_0x1bb284);0x0==_0x375a04[_0x40c9d4(0x16f)]&&_0x375a04[_0x40c9d4(0x168)](new _0x447d9e(0x0)),_0x2554db[_0x40c9d4(0xce)]=this[_0x40c9d4(0x149)](_0x375a04)[_0x40c9d4(0x1bd)](()=>{const _0x1ac630=_0x40c9d4;this[_0x1ac630(0x110)][_0x1ac630(0xd0)][_0x1ac630(0xdb)](_0x5615bf)[_0x1ac630(0xf1)](this),this[_0x1ac630(0x110)][_0x1ac630(0x11a)][_0x1ac630(0x10b)](_0x1ac630(0xed));})[_0x40c9d4(0x133)](_0x2064cf=>this[_0x40c9d4(0xda)](_0x40c9d4(0x112),_0x2064cf))[_0x40c9d4(0x19b)](()=>this[_0x40c9d4(0x17d)]());},{'priority':_0x3e59d8(0x114)}),this[_0x3e59d8(0x110)]['on'](_0x3e59d8(0x183),async(_0x50f97f,[_0xdcefe4,_0x4b419b])=>{const _0x2d515a=_0x3e59d8;_0x50f97f[_0x2d515a(0xca)]();const _0x3d11e2=this[_0x2d515a(0x110)][_0x2d515a(0xd6)][_0x2d515a(0x193)][_0x2d515a(0x107)](_0xdcefe4);if(!this[_0x2d515a(0x124)][_0x2d515a(0xfe)](_0xdcefe4)){const _0x498a47=_0x4b419b&&_0x4b419b[_0x2d515a(0x11a)]?_0x4b419b[_0x2d515a(0x11a)]:'',_0x5db500=_0x4b419b&&_0x4b419b[_0x2d515a(0xd3)]?_0x4b419b[_0x2d515a(0xd3)]:{};await this[_0x2d515a(0x14f)](_0xdcefe4,_0x498a47,_0x5db500);}this[_0x2d515a(0x110)][_0x2d515a(0xd6)][_0x2d515a(0x173)]({'isUndoable':!0x1},()=>{const _0x4b0aeb=_0x2d515a;_0x3d11e2[_0x4b0aeb(0x19a)]=!0x0,this[_0x4b0aeb(0x110)][_0x4b0aeb(0xd6)][_0x4b0aeb(0x193)][_0x4b0aeb(0xe1)][_0x4b0aeb(0x16c)](_0x3d11e2);});},{'priority':_0x3e59d8(0x114)});}async[_0x48cf25(0xf0)](_0x3bff05){const _0x140357=_0x48cf25,_0x511ce0=this[_0x140357(0x110)][_0x140357(0xd0)][_0x140357(0xdb)](_0x18fbdd),{connection:_0x2c59ee}=this[_0x140357(0x110)][_0x140357(0xd0)][_0x140357(0xdb)](_0x5615bf),_0x4d3c0e=new Set();for(const _0x5bd676 of _0x3bff05){const _0x3c4c14=_0x5bd676[_0x140357(0x1ce)];_0x3c4c14&&!_0x511ce0[_0x140357(0xe6)](_0x3c4c14)&&_0x4d3c0e[_0x140357(0x11e)](_0x3c4c14);}if(0x0===_0x4d3c0e[_0x140357(0x113)])return;const _0x5e9727=await _0x3b1967[_0x140357(0xe9)](_0x2c59ee,Array[_0x140357(0x195)](_0x4d3c0e));for(const _0x1c3c45 of _0x5e9727)_0x511ce0[_0x140357(0xe6)](_0x1c3c45['id'])||_0x511ce0[_0x140357(0x128)](_0x1c3c45);}[_0x48cf25(0x170)](_0x4584fa,_0x4244bd={}){const _0x1f5eca=_0x48cf25,_0x19f334=this[_0x1f5eca(0x110)][_0x1f5eca(0xd6)],_0x207434=[];let _0x19a94f=0x0;const _0x35d6c7=_0x1f5eca(0x144)==typeof _0x4584fa?{'main':_0x4584fa}:_0x4584fa;for(const _0x35c88f of Object[_0x1f5eca(0x19c)](_0x35d6c7)){if(!this[_0x1f5eca(0xcf)][_0x1f5eca(0x165)][_0x1f5eca(0xfe)](_0x35c88f))throw new _0x287132(_0x1f5eca(0x180),this);const _0x1adbae=this[_0x1f5eca(0x110)][_0x1f5eca(0x11a)][_0x1f5eca(0x12e)](_0x35d6c7[_0x35c88f]),_0x637b76=this[_0x1f5eca(0xcf)][_0x1f5eca(0x107)](_0x35c88f),_0x14a11b=new _0x47bbca(_0x19f334[_0x1f5eca(0xcc)](_0x637b76,0x0),_0x1adbae,_0x19a94f++);_0x207434[_0x1f5eca(0x168)](_0x14a11b);for(const [_0x53d848,_0x315bc6]of _0x1adbae[_0x1f5eca(0xec)]){const _0x481324=_0x19f334[_0x1f5eca(0xd5)](_0x19f334[_0x1f5eca(0x108)](_0x637b76,_0x315bc6[_0x1f5eca(0x123)][_0x1f5eca(0xfd)][_0x1f5eca(0xfa)]()),_0x19f334[_0x1f5eca(0x108)](_0x637b76,_0x315bc6[_0x1f5eca(0x1cb)][_0x1f5eca(0xfd)][_0x1f5eca(0xfa)]())),_0x2ad104=new _0x5f31cd(_0x53d848,null,_0x481324,_0x19f334[_0x1f5eca(0xec)],!0x0,_0x19a94f++);_0x207434[_0x1f5eca(0x168)](_0x2ad104);}}if(_0x4244bd)for(const [_0x16ab17,_0xd1849c]of Object[_0x1f5eca(0x192)](_0x4244bd)){const _0x440bbd=_0x19f334[_0x1f5eca(0x193)][_0x1f5eca(0x107)](_0x16ab17);if(!_0x440bbd)throw new _0x287132(_0x1f5eca(0xde),null);for(const [_0x506e03,_0x48c2cc]of Object[_0x1f5eca(0x192)](_0xd1849c))if(null!==_0x48c2cc){const _0x231f79=new _0xcabfeb(_0x440bbd,_0x506e03,null,_0x48c2cc,_0x19a94f++);_0x207434[_0x1f5eca(0x168)](_0x231f79);}}return _0x207434;}async[_0x48cf25(0x14f)](_0x1ceb68,_0x1c7bab,_0x543be5){const _0xf5a06a=_0x48cf25;this[_0xf5a06a(0x170)]({[_0x1ceb68]:_0x1c7bab},{[_0x1ceb68]:_0x543be5})[_0xf5a06a(0x1c7)]((_0x290e79,_0x2407bd)=>{const _0x5d2890=_0xf5a06a;_0x290e79[_0x5d2890(0x126)]=this[_0x5d2890(0xcf)][_0x5d2890(0xcb)]+_0x2407bd,_0x290e79[_0x5d2890(0x154)]=!0x0,this[_0x5d2890(0x148)](_0x290e79);}),this[_0xf5a06a(0xf6)](),await this[_0xf5a06a(0x11b)]();}async[_0x48cf25(0x115)](_0x3b6ad1,_0x2697a3){const _0x3f203f=_0x48cf25;let _0x17a0d9;this[_0x3f203f(0x17a)]=_0x3b6ad1[_0x3f203f(0x163)];const _0x5a548a=_0x3b6ad1[_0x3f203f(0x11c)]&&!_0x3b6ad1[_0x3f203f(0x1a1)],_0x40914b=_0x5a548a?0x0:_0x3b6ad1[_0x3f203f(0x11a)][_0x3f203f(0x126)];if(_0x2697a3[_0x3f203f(0x1c7)](_0x1e7067=>{const _0x135682=_0x3f203f;_0x1e7067[_0x135682(0x154)]=!0x0,_0x1e7067[_0x135682(0x151)]=_0x3b6ad1[_0x135682(0x174)],_0x1e7067[_0x135682(0x1ce)]=null;}),_0x5a548a)_0x17a0d9=_0x2697a3,this[_0x3f203f(0xd7)](_0x17a0d9,_0x5a548a);else{if(_0x3b6ad1[_0x3f203f(0x1a1)]){const _0x150e51=this[_0x3f203f(0x170)](_0x3b6ad1[_0x3f203f(0x1a1)]);this[_0x3f203f(0xcf)][_0x3f203f(0xe8)][_0x3f203f(0xcb)]=-_0x150e51[_0x3f203f(0x16f)],_0x150e51[_0x3f203f(0x1c7)](_0x4998e0=>{const _0x14ba84=_0x3f203f;_0x4998e0[_0x14ba84(0x126)]-=_0x150e51[_0x14ba84(0x16f)],_0x4998e0[_0x14ba84(0x151)]=_0x3b6ad1[_0x14ba84(0x174)],_0x4998e0[_0x14ba84(0x154)]=!0x0,_0x4998e0[_0x14ba84(0x1ce)]=null;}),this[_0x3f203f(0xd7)](_0x150e51,!0x0),this[_0x3f203f(0x12f)][_0x3f203f(0xcb)]=-_0x150e51[_0x3f203f(0x16f)]+this[_0x3f203f(0x17a)],this[_0x3f203f(0xd4)](_0x150e51);}this[_0x3f203f(0xcf)][_0x3f203f(0xe8)][_0x3f203f(0xcb)]=_0x40914b,_0x17a0d9=this[_0x3f203f(0x12a)](_0x3b6ad1[_0x3f203f(0x11a)],_0x3b6ad1[_0x3f203f(0x161)]),await this[_0x3f203f(0xf0)](_0x17a0d9),this[_0x3f203f(0xd7)](_0x17a0d9,_0x5a548a);}_0x3b6ad1[_0x3f203f(0x10a)]&&(this[_0x3f203f(0xe4)][_0x3f203f(0x14c)](_0x17a0d9,_0x3b6ad1[_0x3f203f(0x10a)]),this[_0x3f203f(0x130)]=_0x3b6ad1[_0x3f203f(0x10a)]),this[_0x3f203f(0x12f)][_0x3f203f(0xcb)]=_0x40914b+this[_0x3f203f(0x17a)],this[_0x3f203f(0xd4)](_0x17a0d9),_0x2697a3[_0x3f203f(0x1c4)](_0x46a1dd=>{const _0x3a3c65=_0x3f203f,_0x34a399=this[_0x3a3c65(0x11d)](_0x46a1dd);return _0x34a399&&!this[_0x3a3c65(0x124)][_0x3a3c65(0xfe)](_0x34a399);})[_0x3f203f(0x1c7)]((_0x2eea9d,_0x3f26ed)=>{const _0x3e0bbb=_0x3f203f;_0x2eea9d[_0x3e0bbb(0x126)]=this[_0x3e0bbb(0xcf)][_0x3e0bbb(0xcb)]+_0x3f26ed,this[_0x3e0bbb(0x148)](_0x2eea9d);}),this[_0x3f203f(0x175)]()?(this[_0x3f203f(0x169)]=0x0,this[_0x3f203f(0xf6)](!0x0),await this[_0x3f203f(0x11b)]()):(this[_0x3f203f(0x178)]=!0x1,this[_0x3f203f(0x17d)]());}[_0x48cf25(0xda)](_0x258dee,_0x4924f8){const _0x45c052=_0x48cf25,_0x164c1f=_0x4924f8&&_0x4924f8[_0x45c052(0x118)];if(_0x164c1f&&_0x164c1f[_0x45c052(0x1c3)](_0x45c052(0x1c5)))throw _0x4924f8;const _0x5dd9c0=this[_0x45c052(0x110)][_0x45c052(0xd0)][_0x45c052(0xdb)](_0x5615bf);throw this[_0x45c052(0x178)]=!0x0,_0x5dd9c0[_0x45c052(0x1bf)](),this[_0x45c052(0x110)][_0x45c052(0x18d)](_0x45c052(0xff)),new _0x287132(_0x258dee,this[_0x45c052(0x110)],_0x164c1f?{'originalError':_0x164c1f}:void 0x0);}[_0x48cf25(0x148)](_0x930360){const _0x38989f=_0x48cf25;this[_0x38989f(0x106)][_0x38989f(0xfe)](_0x930360)||(this[_0x38989f(0x106)][_0x38989f(0x11e)](_0x930360),this[_0x38989f(0x158)][_0x38989f(0x168)](_0x930360),this[_0x38989f(0xcd)]||_0x38989f(0x16a)==_0x930360[_0x38989f(0x143)]&&!_0x930360[_0x38989f(0x145)]||this[_0x38989f(0x1cc)]());}[_0x48cf25(0xf6)](_0x1eb5f9=!0x1){const _0x3495eb=_0x48cf25;!_0x1eb5f9&&this[_0x3495eb(0x178)]||(this[_0x3495eb(0x178)]=!0x0,clearTimeout(this[_0x3495eb(0x1c8)]),this[_0x3495eb(0x1c8)]=setTimeout(()=>{const _0x3a0145=_0x3495eb;this[_0x3a0145(0x1a8)]()[_0x3a0145(0x1bd)](_0x2f9e51=>{const _0x3e3438=_0x3a0145;_0x2f9e51&&(this[_0x3e3438(0x17d)](),this[_0x3e3438(0x178)]=!0x1);})[_0x3a0145(0x133)](_0x545a0a=>{const _0x473923=_0x3a0145;this[_0x473923(0x17d)](),this[_0x473923(0x178)]=!0x1,function(_0x871ece){const _0x2d4468=_0x473923;return _0x871ece[_0x2d4468(0x118)][_0x2d4468(0x1c3)](_0x2d4468(0x16b))||_0x871ece[_0x2d4468(0x118)][_0x2d4468(0x1c3)](_0x2d4468(0x13e))||_0x871ece[_0x2d4468(0x118)][_0x2d4468(0x1c3)](_0x2d4468(0x198));}(_0x545a0a)||this[_0x473923(0xda)](_0x545a0a[_0x473923(0x118)],_0x545a0a);});},this[_0x3495eb(0x169)]));}[_0x48cf25(0x11b)](){return new Promise(_0xe30d53=>{const _0x1d5933=_0x1b51;this['on'](_0x1d5933(0x134),()=>{_0xe30d53();});});}async[_0x48cf25(0x1a8)](){const _0x325227=_0x48cf25,_0x4e3f68=this[_0x325227(0x110)][_0x325227(0xd0)][_0x325227(0xdb)](_0x4f70a5);if(this[_0x325227(0x13f)]()&&(_0x4e3f68[_0x325227(0x18b)](),this[_0x325227(0x129)]=!0x1),!this[_0x325227(0x175)]())return!0x0;const _0x25c217=[...this[_0x325227(0x158)]];for(const _0x486d2f of _0x25c217)_0x486d2f[_0x325227(0x19d)]=this[_0x325227(0xcf)][_0x325227(0xe8)][_0x325227(0x10d)](_0x486d2f);const _0x1dec62=this[_0x325227(0xe4)][_0x325227(0x1a9)](_0x25c217),_0x3bdf03=G++,_0x2f93aa=this[_0x325227(0x1b9)](_0x25c217),_0x45ddcd=await this[_0x325227(0x1c6)][_0x325227(0x125)](_0x2f93aa,_0x2f93aa[_0x325227(0x126)],_0x1dec62);try{return await this[_0x325227(0x13a)](_0x25c217,_0x45ddcd,_0x3bdf03);}catch(_0x5652e1){return this[_0x325227(0xda)](_0x325227(0x189),_0x5652e1);}}async[_0x48cf25(0x13a)](_0x2a209f,_0xc57dd2,_0x1565e8){const _0x5ee3b9=_0x48cf25;if(_0x5ee3b9(0x139)in _0xc57dd2)throw _0xc57dd2[_0x5ee3b9(0x139)];let _0x15c987=!0x1;if(_0xc57dd2[_0x5ee3b9(0x11c)]){_0xc57dd2[_0x5ee3b9(0x10a)]&&(this[_0x5ee3b9(0x130)]=_0xc57dd2[_0x5ee3b9(0x10a)]),this[_0x5ee3b9(0x158)]=this[_0x5ee3b9(0x158)][_0x5ee3b9(0x1c4)](_0x560ed0=>!_0x2a209f[_0x5ee3b9(0x1a0)](_0x560ed0));for(const _0x3a622d of _0x2a209f)_0x3a622d[_0x5ee3b9(0x151)]=_0x5ee3b9(0x13d)in _0xc57dd2&&_0xc57dd2[_0x5ee3b9(0x13d)]||void 0x0;K(_0x2a209f,_0xc57dd2[_0x5ee3b9(0xcb)]-_0x2a209f[_0x5ee3b9(0x16f)]),this[_0x5ee3b9(0xd4)](_0x2a209f);const _0x566aa9=_0x2a209f[_0x5ee3b9(0x1c4)](_0x176ed6=>{const _0x36dd2b=_0x5ee3b9;if(!_0x176ed6[_0x36dd2b(0x154)])return!0x1;const _0x1c6000=this[_0x36dd2b(0x11d)](_0x176ed6);return _0x1c6000&&!this[_0x36dd2b(0x124)][_0x36dd2b(0xfe)](_0x1c6000);});K(_0x566aa9,this[_0x5ee3b9(0xcf)][_0x5ee3b9(0xcb)]),this[_0x5ee3b9(0xd7)](_0x566aa9),_0x15c987=!0x0,this[_0x5ee3b9(0x169)]=this[_0x5ee3b9(0x14b)];}else{const _0x29dbe3=this[_0x5ee3b9(0x12a)](_0xc57dd2[_0x5ee3b9(0x11a)],_0xc57dd2[_0x5ee3b9(0x161)])[_0x5ee3b9(0x1c4)](_0xc85670=>_0xc85670[_0x5ee3b9(0x126)]>=this[_0x5ee3b9(0xf2)]);_0x29dbe3[_0x5ee3b9(0x1c7)](_0x5195ac=>this[_0x5ee3b9(0x10c)](_0x5195ac)),this[_0x5ee3b9(0x158)]=this[_0x5ee3b9(0x158)][_0x5ee3b9(0x1c4)](_0x44a638=>!_0x44a638[_0x5ee3b9(0x154)]||!this[_0x5ee3b9(0x124)][_0x5ee3b9(0xfe)](this[_0x5ee3b9(0x11d)](_0x44a638))),this[_0x5ee3b9(0x158)][_0x5ee3b9(0x16f)]&&K(this[_0x5ee3b9(0x158)],this[_0x5ee3b9(0x158)][0x0][_0x5ee3b9(0x126)]),await this[_0x5ee3b9(0xf0)](_0x29dbe3),_0x15c987=this[_0x5ee3b9(0x1ba)](_0x29dbe3,_0xc57dd2[_0x5ee3b9(0xcb)],_0xc57dd2[_0x5ee3b9(0x10a)]),this[_0x5ee3b9(0x169)]=Math[_0x5ee3b9(0xfb)](this[_0x5ee3b9(0x169)]/0x2);}return _0x15c987?!this[_0x5ee3b9(0x175)]()||(this[_0x5ee3b9(0xf6)](!0x0),!0x1):this[_0x5ee3b9(0xda)](_0x5ee3b9(0xdf));}[_0x48cf25(0x1ba)](_0x54b651,_0x11f022,_0x4cbfb0){const _0x28f87e=_0x48cf25;try{const _0x4185a3={'document':this[_0x28f87e(0xcf)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x8a5be,operationsB:_0x413e88,originalOperations:_0x3a017a}=_0x2e7ce9(_0x54b651,this[_0x28f87e(0x158)],_0x4185a3);K(_0x8a5be,this[_0x28f87e(0xcf)][_0x28f87e(0xcb)]),K(_0x413e88,_0x11f022);for(const _0x58add2 of _0x8a5be){const _0x44bc21=_0x3a017a[_0x28f87e(0xdb)](_0x58add2);_0x58add2[_0x28f87e(0x1ce)]=_0x44bc21?_0x44bc21[_0x28f87e(0x1ce)]:null;}_0x4cbfb0&&(this[_0x28f87e(0xe4)][_0x28f87e(0x14c)](_0x54b651,_0x4cbfb0),this[_0x28f87e(0x130)]=_0x4cbfb0),this[_0x28f87e(0x158)]=[..._0x413e88],this[_0x28f87e(0xd7)](_0x8a5be),this[_0x28f87e(0xd4)](_0x54b651);}catch(_0x245871){return console[_0x28f87e(0x139)](_0x245871),!0x1;}return!0x0;}[_0x48cf25(0xd7)](_0x110f3d,_0x5a0aca=!0x1){const _0x310f4a=_0x48cf25;this[_0x310f4a(0x110)][_0x310f4a(0xd6)][_0x310f4a(0x173)]({'isUndoable':!0x1,'isLocal':!0x1},_0x357c53=>{const _0x2d6ffe=_0x310f4a;for(const _0x10d191 of _0x110f3d)this[_0x2d6ffe(0x106)][_0x2d6ffe(0x11e)](_0x10d191),this[_0x2d6ffe(0x10c)](_0x10d191),_0x357c53[_0x2d6ffe(0x12d)][_0x2d6ffe(0x1be)](_0x10d191),this[_0x2d6ffe(0x110)][_0x2d6ffe(0xd6)][_0x2d6ffe(0x135)](_0x10d191);});}[_0x48cf25(0x10c)](_0x4d2c2f){const _0x110503=_0x48cf25,_0x510b43=this[_0x110503(0x11d)](_0x4d2c2f);_0x510b43&&this[_0x110503(0x124)][_0x110503(0x11e)](_0x510b43);}[_0x48cf25(0x11d)](_0x324ff3){const _0x234dd2=_0x48cf25;let _0x269866,_0x54a3e2;switch(_0x324ff3[_0x234dd2(0x143)]){case _0x234dd2(0x1b8):_0x269866=_0x324ff3[_0x234dd2(0xf8)][_0x234dd2(0x197)];break;case _0x234dd2(0x16a):if(_0x54a3e2=_0x324ff3[_0x234dd2(0x155)],!_0x54a3e2)return null;_0x269866=_0x54a3e2[_0x234dd2(0x197)];break;case _0x234dd2(0x176):_0x269866=_0x324ff3[_0x234dd2(0x197)];break;case _0x234dd2(0x1ac):_0x269866=_0x324ff3[_0x234dd2(0xe0)];break;case _0x234dd2(0x1cf):_0x269866=_0x324ff3[_0x234dd2(0x1b4)][_0x234dd2(0x197)];break;default:return null;}return _0x269866[_0x234dd2(0x171)];}[_0x48cf25(0xd4)](_0x5730db){const _0xec85c9=_0x48cf25;_0x5730db[_0xec85c9(0x1c7)](_0x35aca7=>{const _0x13f292=_0xec85c9,_0x5d4c50=_0x35aca7[_0x13f292(0x100)]();_0x5d4c50[_0x13f292(0x1ce)]=_0x35aca7[_0x13f292(0x1ce)],_0x5d4c50[_0x13f292(0x154)]=!!_0x35aca7[_0x13f292(0x154)],_0x5d4c50[_0x13f292(0x151)]=_0x35aca7[_0x13f292(0x151)],_0x5d4c50[_0x13f292(0x126)]+=this[_0x13f292(0x17a)],_0x35aca7[_0x13f292(0x102)]&&this[_0x13f292(0xd9)][_0x13f292(0x11e)](_0x5d4c50),this[_0x13f292(0x12f)][_0x13f292(0x1be)](_0x5d4c50);});}[_0x48cf25(0x185)](_0x101174){const _0x463703=_0x48cf25,_0x4e39ea=this[_0x463703(0x110)][_0x463703(0xd0)][_0x463703(0xdb)](_0x463703(0x1bb)),_0x402f20=this[_0x463703(0x110)][_0x463703(0x1a2)];_0x101174||(_0x101174=_0x3894e8(_0x402f20,_0x463703(0x140))),_0x4e39ea[_0x463703(0x1ca)](_0x101174,{'title':_0x3894e8(_0x402f20,_0x463703(0x119)),'namespace':_0x463703(0x12c)}),this[_0x463703(0x13b)]=!0x0,clearTimeout(this[_0x463703(0x1c8)]),this[_0x463703(0x158)]=[],this[_0x463703(0x110)][_0x463703(0xd0)][_0x463703(0xdb)](_0x5615bf)[_0x463703(0x1bf)]();}[_0x48cf25(0x1cc)](){const _0x125e4a=_0x48cf25;this[_0x125e4a(0xcd)]||(this[_0x125e4a(0xcd)]=this[_0x125e4a(0x110)][_0x125e4a(0xd0)][_0x125e4a(0xdb)](_0x2b5d75)[_0x125e4a(0x11e)](_0x3894e8(this[_0x125e4a(0x110)][_0x125e4a(0x1a2)],_0x125e4a(0x141))));}[_0x48cf25(0x17d)](){const _0xc31c9b=_0x48cf25;this[_0xc31c9b(0xcd)]&&(this[_0xc31c9b(0x110)][_0xc31c9b(0xd0)][_0xc31c9b(0xdb)](_0x2b5d75)[_0xc31c9b(0x14e)](this[_0xc31c9b(0xcd)]),this[_0xc31c9b(0xcd)]=null);}[_0x48cf25(0x1b9)](_0x59a297){const _0x2cd318=_0x48cf25,_0x5c311c=_0x59a297[_0x2cd318(0x172)](_0x14bebd=>_0x14bebd[_0x2cd318(0x131)]());return this[_0x2cd318(0x18f)][_0x2cd318(0x19e)](_0x5c311c);}[_0x48cf25(0x12a)](_0x402776,_0x186a92){const _0x5e7c0c=_0x48cf25;return this[_0x5e7c0c(0x18f)][_0x5e7c0c(0x1a7)](_0x402776)[_0x5e7c0c(0x172)]((_0x14fecd,_0x58cd65)=>{const _0x2b67d9=_0x5e7c0c,_0x5be2a9=_0x2b67d9(0x1a5)==_0x186a92[_0x58cd65][_0x2b67d9(0x143)];if(_0x2b67d9(0x1b3)==_0x14fecd[_0x2b67d9(0x19f)]){const _0x1dc95f=_0x14fecd[_0x2b67d9(0xf8)][_0x2b67d9(0x197)];!this[_0x2b67d9(0xcf)][_0x2b67d9(0x107)](_0x1dc95f)&&(this[_0x2b67d9(0xcf)][_0x2b67d9(0x18e)](_0x2b67d9(0x157),_0x1dc95f)[_0x2b67d9(0x156)]=!0x1);}const _0x2aafcc=_0x1d9a29[_0x2b67d9(0x17f)](_0x14fecd,this[_0x2b67d9(0xcf)]);return _0x2aafcc[_0x2b67d9(0x19d)]=_0x14fecd[_0x2b67d9(0x19d)],_0x2aafcc[_0x2b67d9(0x154)]=_0x5be2a9,_0x2aafcc[_0x2b67d9(0x1ce)]=_0x5be2a9?null:_0x186a92[_0x58cd65][_0x2b67d9(0x18a)],_0x2aafcc[_0x2b67d9(0x102)]=_0x2b67d9(0x147)===_0x186a92[_0x58cd65][_0x2b67d9(0x143)],_0x2aafcc[_0x2b67d9(0x151)]=_0x186a92[_0x58cd65][_0x2b67d9(0x151)],_0x2aafcc;});}[_0x48cf25(0xea)](){const _0x4a88ea=_0x48cf25;this[_0x4a88ea(0x129)]=!0x0,this[_0x4a88ea(0x13f)]()?this[_0x4a88ea(0xf6)]():this[_0x4a88ea(0x129)]=!0x1;}[_0x48cf25(0x13f)](){const _0x3d0249=_0x48cf25,_0x12a49a=this[_0x3d0249(0x110)][_0x3d0249(0xd0)][_0x3d0249(0xdb)](_0x166e79)[_0x3d0249(0x15a)][_0x3d0249(0xdb)](this[_0x3d0249(0xe7)]);return!this[_0x3d0249(0x110)][_0x3d0249(0x153)]&&!!_0x12a49a&&_0x12a49a[_0x3d0249(0x16f)]>0x1&&this[_0x3d0249(0x129)];}[_0x48cf25(0x175)](){const _0x22a451=_0x48cf25;return this[_0x22a451(0x158)][_0x22a451(0x16f)]>0x0||this[_0x22a451(0x13f)]();}}function _0x5095(){const _0x2467c0=['2497tazQdy','_ignoredOperations','sessionId','metadata','define','offset','realtimecollaborationclient-init-document-already-initialized','roots','permissions','realtimecollaborationclient-init-session-connection-error','push','_currentBufferDelay','marker','cloud-services-internal-error:\x20Not\x20connected.','_bufferRootLoad','22719QphCtg','isOfficialPlugin','length','_getOperationsFromInitData','rootName','map','enqueueChange','sessionCreatedAt','_shouldSendUpdate','addRootAttribute','operationsReceived','_isPendingUpdate','1660eACTIl','_offset','getOperationAuthor','connected','_clearPendingAction','mySessionId','fromJSON','realtimecollaborationclient-init-non-existent-root','pluginName','selection','loadRoot','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.','_handleReconnectionError','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','cloudDocumentVersion','sessionAdd:','realtimecollaborationclient-sendbufferedoperations','userId','createUserMarkerOperations','off','enableReadOnlyMode','createRoot','_compressor','config','connection','entries','document','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','from','view','root','cloud-services-internal-error:\x20Request\x20timeout.','setPermissions','_isLoaded','finally','keys','wasUndone','compress','__className','includes','initData','locale','51457gRKqXC','cloudServices.bundleVersion','init','RealTimeCollaborationClient','decompress','_sendBufferedOperations','getIdOfTheLastOperation','Permissions','lastSyncVersion','addRoot','change:_isEditingAllowed','_initSessionsHandling','stopListening','isDocumentOperation','1668OTBsyS','change:range','InsertOperation','targetPosition','getOperations','document:write','requires','insert','_compressOperations','_handleExternalOperations','Notification','realtimecollaborationclient-init-service-internal-error','then','addOperation','disconnect','change:hasDomSelection','rtc-destroyed','1328ANLqVU','startsWith','filter','realtimecollaborationclient','_service','forEach','_sendBufferedOperationsDelayId','reset','showWarning','end','_setPendingAction','getConnectedSessions','_authorId','move','isPremiumPlugin','stop','version','createPositionAt','_pendingAction','return','_document','plugins','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','214OEnZoK','attributes','_updateServerHistory','createRange','model','_applyOperationsSet','code','_disconnectionOperations','_crash','get','CommentsOnly','_handleReconnectionResponse','multi-root-editor-root-attributes-no-root','realtimecollaborationclient-handleserverresponse','affectedSelectable','differ','_disconnectService','currentDocumentSession','_operationIdentifier','CollaborativeEditingService','getUser','_channelId','history','getMany','_refreshUserSelectionMarkers','_isConnected','markers','ready','isEnabled','_connectAfterSessionHasBeenFlushed','_fetchMissingUsers','addToReconnectionStack','_lastServerVersion','10217313QrmOKP','reconnection:\x20flushed\x20session','destroy','_sendBufferedOperationsDelayed','2361648vXfiJO','position','_initThrowingOnDataSet','slice','round','editing','path','has','realtimecollaborationclient-error','clone','reconnect','_isDisconnection','bind','realtimecollaborationclient-init-service-incorrect-server-operation','_handleReceivedOperations','_knownOperations','getRoot','createPositionFromPath','register','lastOperationId','fire','_addKnownRoot','isUndoneOperation','connect','getDocumentDetails','editor','81340eVFUsz','realtimecollaborationclient-init-connection-failed','size','high','_handleInitialConnectionData','collaboration.channelId','rootsAttributes','message','Synchronization\x20issue','data','_waitUntilSynced','wereChangesApplied','_getAffectedRoot','add','18724lgjZui','disableReadOnlyMode','404','disconnected','start','_knownRootNames','sendOperations','baseVersion','_operationToId','addUser','_hasSelectionChanged','_decompressOperations','listenTo','real-time-collaboration','batch','parse','serverHistory','_lastSyncedOperationId','toJSON','_handleSendingSelectionMarkers','catch','change:_isPendingUpdate','applyOperation','collaboration','directChange','removeFromReconnectionStack','error','_handleServerResponse','_hasSynchronizationProblem','unregister','lastOperationAcceptedAt','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_shouldSendSelectionUpdate','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.','PENDING_ACTION_SENDING_DATA','rtc-offline','type','string','affectsData','suppressErrorInCollaboration','cs:removeUser','_saveOperationInBuffer','_connectService','_setUpDataInit','_baseBufferDelay','setIdForTheLastOperation','collaboration-missing-channelid','remove','_loadRoot','apply','createdAt','set','isReadOnly','_isInit','newRange','_isAttached','$root','_bufferedOperations','409','channelSessions','_isEditingAllowed','state','lastDocumentSession'];_0x5095=function(){return _0x2467c0;};return _0x5095();}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x438d19,_0x4369bb){const _0x2be03b=_0x48cf25;for(const _0x6a9e2a of _0x438d19)_0x6a9e2a[_0x2be03b(0x126)]=_0x4369bb++;}class J{[_0x48cf25(0x15f)];[_0x48cf25(0x127)];constructor(_0x3c6a16){const _0x1404e9=_0x48cf25;this[_0x1404e9(0x15f)]=_0x3c6a16,this[_0x1404e9(0x127)]=new WeakMap();}[_0x48cf25(0x1a9)](_0x1fb3a9){const _0x20e356=_0x48cf25;let _0x2722ae=_0x1fb3a9[_0x20e356(0x16f)];for(;_0x2722ae--;){const _0x5c1623=_0x1fb3a9[_0x2722ae];if(!this[_0x20e356(0x15f)][_0x20e356(0xfe)](_0x5c1623)){if(!this[_0x20e356(0x127)][_0x20e356(0xfe)](_0x5c1623)){const _0x3da428=_0x3c0256()[_0x20e356(0xfa)](0x1,0x12);this[_0x20e356(0x127)][_0x20e356(0x152)](_0x5c1623,_0x3da428);}return this[_0x20e356(0x127)][_0x20e356(0xdb)](_0x5c1623);}}}[_0x48cf25(0x14c)](_0x4b6472,_0x30016b){const _0x1beae4=_0x48cf25;if(!_0x30016b)return;let _0x1db0a5=_0x4b6472[_0x1beae4(0x16f)];for(;_0x1db0a5--;){const _0x1bb0d6=_0x4b6472[_0x1db0a5];this[_0x1beae4(0x15f)][_0x1beae4(0xfe)](_0x1bb0d6)||this[_0x1beae4(0x127)][_0x1beae4(0x152)](_0x1bb0d6,_0x30016b);}}}
|
|
23
|
+
const _0x46ec9e=_0x39e6;(function(_0x15c6bd,_0x30187e){const _0x3bb7de=_0x39e6,_0x185c37=_0x15c6bd();while(!![]){try{const _0x3a3c88=parseInt(_0x3bb7de(0x2a7))/0x1*(parseInt(_0x3bb7de(0x25e))/0x2)+parseInt(_0x3bb7de(0x251))/0x3+-parseInt(_0x3bb7de(0x224))/0x4*(parseInt(_0x3bb7de(0x229))/0x5)+-parseInt(_0x3bb7de(0x1c5))/0x6+-parseInt(_0x3bb7de(0x21c))/0x7+parseInt(_0x3bb7de(0x258))/0x8+parseInt(_0x3bb7de(0x28f))/0x9;if(_0x3a3c88===_0x30187e)break;else _0x185c37['push'](_0x185c37['shift']());}catch(_0x3984e5){_0x185c37['push'](_0x185c37['shift']());}}}(_0x1215,0xd68cd));import{Plugin as _0x4f518d,PendingActions as _0x234a3b}from'ckeditor5/src/core.js';import{CKEditorError as _0x671325,version as _0x3f5070,uid as _0x2c72f6}from'ckeditor5/src/utils.js';import{Notification as _0xe302f}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x12d2e3,NoOperation as _0x26b05c,InsertOperation as _0x3fa0fc,MarkerOperation as _0x101329,RootAttributeOperation as _0x85f4e1,OperationFactory as _0x1229e9,History as _0x59c3fa}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x49b70b}from'./websocketgateway.js';import{Sessions as _0xf9728e}from'./sessions.js';import{UserMarkers as _0x195cd3}from'./usermarkers.js';import{getTranslation as _0x3a3340}from'../common-translations.js';import{Compressor as _0x51534c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x430dac}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x217628,CollaborativeEditingService as _0x1bcb5c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let H=0x1;class l extends _0x4f518d{static [_0x46ec9e(0x26f)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1bcb5c)());[_0x46ec9e(0x25f)];[_0x46ec9e(0x256)];[_0x46ec9e(0x1c6)];[_0x46ec9e(0x1ba)];[_0x46ec9e(0x294)];[_0x46ec9e(0x282)];[_0x46ec9e(0x226)];[_0x46ec9e(0x1de)];[_0x46ec9e(0x1db)];[_0x46ec9e(0x216)];[_0x46ec9e(0x220)];[_0x46ec9e(0x27b)];[_0x46ec9e(0x249)];[_0x46ec9e(0x237)];[_0x46ec9e(0x242)];[_0x46ec9e(0x1e9)];[_0x46ec9e(0x1c4)];[_0x46ec9e(0x1d7)];static get[_0x46ec9e(0x24e)](){return[_0x49b70b,_0xf9728e,_0x195cd3,_0x234a3b,_0x430dac,_0xe302f];}static get[_0x46ec9e(0x262)](){const _0x411e1f=_0x46ec9e;return _0x411e1f(0x1b4);}static get[_0x46ec9e(0x280)](){return!0x0;}static get[_0x46ec9e(0x29b)](){return!0x0;}get[_0x46ec9e(0x1f7)](){const _0x18f48b=_0x46ec9e;return this[_0x18f48b(0x1bb)]+this[_0x18f48b(0x25f)];}get[_0x46ec9e(0x1bb)](){const _0x34c0d8=_0x46ec9e;return this[_0x34c0d8(0x1c6)][_0x34c0d8(0x1d2)]-this[_0x34c0d8(0x25f)];}get[_0x46ec9e(0x1ed)](){const _0x44b577=_0x46ec9e,_0x32de75=this[_0x44b577(0x1c6)][_0x44b577(0x232)]();for(let _0x54575f=_0x32de75[_0x44b577(0x1f3)]-0x1;_0x54575f>=0x0;_0x54575f--){const _0x306779=_0x32de75[_0x54575f];if(!this[_0x44b577(0x1c4)][_0x44b577(0x26a)](_0x306779))return _0x306779[_0x44b577(0x201)]+0x1-this[_0x44b577(0x25f)];}return 0x0;}constructor(_0x27609e){const _0x48f9c1=_0x46ec9e;if(super(_0x27609e),this[_0x48f9c1(0x25f)]=0x0,this[_0x48f9c1(0x256)]=null,this[_0x48f9c1(0x1c6)]=new _0x59c3fa(),this[_0x48f9c1(0x1d3)][_0x48f9c1(0x254)][_0x48f9c1(0x28b)](_0x48f9c1(0x297),{}),this[_0x48f9c1(0x1ba)]=this[_0x48f9c1(0x1d3)][_0x48f9c1(0x254)][_0x48f9c1(0x22a)](_0x48f9c1(0x207)),!this[_0x48f9c1(0x1ba)])throw new _0x671325(_0x48f9c1(0x21d),this);const _0x2b86f0=_0x27609e[_0x48f9c1(0x254)][_0x48f9c1(0x22a)](_0x48f9c1(0x1fd))||_0x3f5070;this[_0x48f9c1(0x294)]=new l[(_0x48f9c1(0x26f))](_0x2b86f0,this[_0x48f9c1(0x1ba)]),this[_0x48f9c1(0x282)]=this[_0x48f9c1(0x1d3)][_0x48f9c1(0x28c)][_0x48f9c1(0x24a)],this[_0x48f9c1(0x226)]=new _0x51534c(),this[_0x48f9c1(0x1de)]=[],this[_0x48f9c1(0x1db)]=new WeakSet(),this[_0x48f9c1(0x216)]=new Set(),this[_0x48f9c1(0x240)](_0x48f9c1(0x2ab),!0x1),this[_0x48f9c1(0x240)](_0x48f9c1(0x214),!0x1),this[_0x48f9c1(0x220)]=null,this[_0x48f9c1(0x27b)]=!0x1,this[_0x48f9c1(0x249)]=null,this[_0x48f9c1(0x237)]=0x12c,this[_0x48f9c1(0x242)]=this[_0x48f9c1(0x237)],this[_0x48f9c1(0x1e9)]=null,this[_0x48f9c1(0x1c4)]=new WeakSet(),this[_0x48f9c1(0x1d7)]=new F(this[_0x48f9c1(0x1c4)]);}[_0x46ec9e(0x1bc)](){const _0x2d3142=_0x46ec9e,_0x363174=this[_0x2d3142(0x1d3)],_0x339b75=_0x363174[_0x2d3142(0x20b)][_0x2d3142(0x22a)](_0x430dac),_0x3dffb6=_0x363174[_0x2d3142(0x20b)][_0x2d3142(0x22a)](_0x49b70b);this[_0x2d3142(0x20f)](_0x339b75,_0x2d3142(0x20c),(_0x21d7d9,_0x5db4b8)=>{const _0x5978d7=_0x2d3142,_0x21adac=_0x5db4b8[0x0];_0x21adac[_0x5978d7(0x2a1)]&&(_0x21d7d9[_0x5978d7(0x264)]=_0x339b75[_0x5978d7(0x271)](_0x21adac[_0x5978d7(0x2a1)]),_0x21d7d9[_0x5978d7(0x231)]()),null===_0x21adac[_0x5978d7(0x2a1)]&&(_0x21d7d9[_0x5978d7(0x264)]=null,_0x21d7d9[_0x5978d7(0x231)]());},{'priority':_0x2d3142(0x2a3)}),this[_0x2d3142(0x20f)](_0x363174[_0x2d3142(0x28c)][_0x2d3142(0x24a)][_0x2d3142(0x1d6)],_0x2d3142(0x1c7),(_0x499eda,_0x4f5980)=>{const _0x24ec19=_0x2d3142;_0x4f5980[_0x24ec19(0x1d8)]&&this[_0x24ec19(0x1ff)]();}),this[_0x2d3142(0x20f)](_0x363174[_0x2d3142(0x298)][_0x2d3142(0x211)],_0x2d3142(0x203),()=>{const _0x33fa2d=_0x2d3142;this[_0x33fa2d(0x1ff)]();}),this[_0x2d3142(0x1fe)](),_0x363174[_0x2d3142(0x28c)]['on'](_0x2d3142(0x1d4),(_0x26beba,_0x4e6f84)=>{const _0x3a876a=_0x2d3142,_0x8c8052=_0x4e6f84[0x0];_0x8c8052[_0x3a876a(0x1c0)]&&(this[_0x3a876a(0x2a0)](_0x8c8052),this[_0x3a876a(0x291)]()&&this[_0x3a876a(0x279)]());}),this[_0x2d3142(0x267)](),this[_0x2d3142(0x22e)](_0x2d3142(0x22f))['to'](_0x3dffb6,_0x2d3142(0x241),this,_0x2d3142(0x214),(_0x574fda,_0x4e8207)=>_0x2d3142(0x1ad)===_0x574fda&&!_0x4e8207),this['on'](_0x2d3142(0x21e),()=>{const _0x905d4c=_0x2d3142;this[_0x905d4c(0x22f)]?_0x363174[_0x905d4c(0x257)](_0x905d4c(0x209)):_0x363174[_0x905d4c(0x208)](_0x905d4c(0x209));}),this[_0x2d3142(0x22f)]?_0x363174[_0x2d3142(0x257)](_0x2d3142(0x209)):_0x363174[_0x2d3142(0x208)](_0x2d3142(0x209)),this[_0x2d3142(0x240)](_0x2d3142(0x295),!0x1);}async[_0x46ec9e(0x1ea)](){const _0x22c228=_0x46ec9e,_0x263cb1=this[_0x22c228(0x1d3)][_0x22c228(0x20b)][_0x22c228(0x22a)](_0xf9728e),_0x37c966=this[_0x22c228(0x1d3)][_0x22c228(0x20b)][_0x22c228(0x22a)](_0x49b70b);try{this[_0x22c228(0x2ab)]=!0x0,_0x263cb1[_0x22c228(0x29a)](this[_0x22c228(0x1ba)]);const _0x466f0a=await this[_0x22c228(0x294)][_0x22c228(0x1ea)](_0x37c966[_0x22c228(0x1f5)],this[_0x22c228(0x1ed)]);await this[_0x22c228(0x246)](_0x466f0a)&&(this[_0x22c228(0x2ab)]=!0x1,this[_0x22c228(0x281)]());const _0x47fa33=await this[_0x22c228(0x294)][_0x22c228(0x252)]();_0x263cb1[_0x22c228(0x215)](this[_0x22c228(0x1ba)],_0x47fa33),this[_0x22c228(0x228)](),this[_0x22c228(0x295)]=!0x0;}catch(_0x41ea7f){if(function(_0xeaac49){const _0xb3215c=_0x22c228;return _0xb3215c(0x23f)===_0xeaac49[_0xb3215c(0x26b)];}(_0x41ea7f)&&this[_0x22c228(0x256)])await this[_0x22c228(0x218)]();else{if(function(_0x5ef2e2){const _0x546e03=_0x22c228;return _0x546e03(0x1b3)===_0x5ef2e2[_0x546e03(0x26b)];}(_0x41ea7f)){const _0xeef4f1=_0x3a3340(this[_0x22c228(0x1d3)][_0x22c228(0x1b8)],_0x22c228(0x2a8));this[_0x22c228(0x227)](_0xeef4f1);}else{if(!(_0x41ea7f instanceof V))throw _0x41ea7f;this[_0x22c228(0x227)]();}}}}[_0x46ec9e(0x277)](){const _0xec53e1=_0x46ec9e,_0x4fb809=this[_0xec53e1(0x1d3)][_0xec53e1(0x20b)][_0xec53e1(0x22a)](_0x49b70b),_0x3eca7c=this[_0xec53e1(0x1d3)][_0xec53e1(0x20b)][_0xec53e1(0x22a)](_0xf9728e);this[_0xec53e1(0x1d3)][_0xec53e1(0x208)](_0xec53e1(0x25c)),_0x3eca7c[_0xec53e1(0x247)][_0xec53e1(0x26a)](this[_0xec53e1(0x1ba)])&&_0x3eca7c[_0xec53e1(0x29a)](this[_0xec53e1(0x1ba)]),_0x4fb809[_0xec53e1(0x23e)](this),this[_0xec53e1(0x28d)](),super[_0xec53e1(0x277)]();}async[_0x46ec9e(0x246)](_0x5a5ee4){const _0x41ddec=_0x46ec9e;if(this[_0x41ddec(0x256)]!==_0x5a5ee4[_0x41ddec(0x256)]&&this[_0x41ddec(0x1e9)]!==_0x5a5ee4[_0x41ddec(0x288)])throw new V();return this[_0x41ddec(0x256)]=_0x5a5ee4[_0x41ddec(0x256)],this[_0x41ddec(0x24f)]([],{..._0x5a5ee4,'wereChangesApplied':!0x1,'data':_0x5a5ee4[_0x41ddec(0x268)]},_0x41ddec(0x1ea));}async[_0x46ec9e(0x1b6)](_0x5335c3,_0x5c82d9=!0x1){const _0x781721=_0x46ec9e,{connection:_0x5e902f}=this[_0x781721(0x1d3)][_0x781721(0x20b)][_0x781721(0x22a)](_0x49b70b);l[_0x781721(0x26f)][_0x781721(0x252)](_0x5e902f,this[_0x781721(0x1ba)])[_0x781721(0x2ae)](_0x12a691=>this[_0x781721(0x22c)](_0x12a691))[_0x781721(0x263)](_0x41a6da=>{const _0x3055cd=_0x781721;this[_0x3055cd(0x1e0)](_0x3055cd(0x283),_0x41a6da);}),this[_0x781721(0x20f)](this[_0x781721(0x294)],_0x781721(0x275),this[_0x781721(0x2a5)][_0x781721(0x22e)](this)),this[_0x781721(0x20f)](this[_0x781721(0x294)],_0x781721(0x210),(_0x182675,_0x301643)=>{const _0x268839=_0x781721;this[_0x268839(0x1e0)](_0x268839(0x1fc),_0x301643);}),this[_0x781721(0x20f)](this[_0x781721(0x294)],_0x781721(0x28a),()=>{const _0x1334d9=_0x781721;this[_0x1334d9(0x295)]=!0x1;});const _0x80a347=this[_0x781721(0x1d7)][_0x781721(0x1c8)](_0x5335c3);this[_0x781721(0x2ab)]=!0x0;const _0x3c3aa0=await this[_0x781721(0x294)][_0x781721(0x1f0)](_0x5e902f,this[_0x781721(0x27c)](_0x5335c3),_0x80a347);if(this[_0x781721(0x256)]=_0x3c3aa0[_0x781721(0x256)],_0x5c82d9){if(!_0x3c3aa0[_0x781721(0x1bd)])return void this[_0x781721(0x227)]();this[_0x781721(0x2ab)]=!0x1,this[_0x781721(0x281)](),this[_0x781721(0x1c6)][_0x781721(0x25b)](),this[_0x781721(0x25f)]=_0x3c3aa0[_0x781721(0x21f)],this[_0x781721(0x1c6)][_0x781721(0x1d2)]=this[_0x781721(0x25f)],await this[_0x781721(0x24f)](_0x5335c3,_0x3c3aa0,_0x781721(0x1ce));}else await this[_0x781721(0x212)](_0x3c3aa0,_0x5335c3);this[_0x781721(0x228)](),this[_0x781721(0x295)]=!0x0;}[_0x46ec9e(0x228)](){const _0x3f9ddc=_0x46ec9e,_0x181c2d=this[_0x3f9ddc(0x1d3)][_0x3f9ddc(0x20b)][_0x3f9ddc(0x22a)](_0xf9728e),_0x454a73=this[_0x3f9ddc(0x1d3)][_0x3f9ddc(0x20b)][_0x3f9ddc(0x22a)](_0x195cd3),_0x3cb187=_0x181c2d[_0x3f9ddc(0x247)][_0x3f9ddc(0x22a)](this[_0x3f9ddc(0x1ba)]);_0x3cb187&&_0x3cb187[_0x3f9ddc(0x1f3)]>0x1?_0x454a73[_0x3f9ddc(0x265)]():this[_0x3f9ddc(0x20f)](_0x181c2d,_0x3f9ddc(0x2aa)+this[_0x3f9ddc(0x1ba)],()=>{const _0x365bac=_0x3f9ddc;0x2===_0x181c2d[_0x365bac(0x247)][_0x365bac(0x22a)](this[_0x365bac(0x1ba)])[_0x365bac(0x1f3)]&&_0x454a73[_0x365bac(0x265)]();});}async[_0x46ec9e(0x2a5)](_0x4ccc8f,_0x172408,_0x2b8702,_0x51a01e){const _0x3b9045=_0x46ec9e;if(!this[_0x3b9045(0x2ab)]&&this[_0x3b9045(0x282)][_0x3b9045(0x1d2)]==_0x172408){const _0x33ed8b=this[_0x3b9045(0x29e)](_0x2b8702,_0x51a01e);await this[_0x3b9045(0x2a4)](_0x33ed8b),this[_0x3b9045(0x1e7)](_0x33ed8b,_0x172408,_0x2b8702[_0x3b9045(0x288)])||this[_0x3b9045(0x1e0)](_0x3b9045(0x213));}}async[_0x46ec9e(0x218)](){const _0x254dfb=_0x46ec9e;this[_0x254dfb(0x28d)]();const {locale:_0xfce1a1}=this[_0x254dfb(0x1d3)];let _0x5bd9e2;try{_0x5bd9e2=await this[_0x254dfb(0x294)][_0x254dfb(0x1b7)]();}catch{const _0x59d11f=_0x3a3340(_0xfce1a1,_0x254dfb(0x1d0));return void this[_0x254dfb(0x227)](_0x59d11f);}const _0x1e36d6=_0x5bd9e2[_0x254dfb(0x1df)]||_0x5bd9e2[_0x254dfb(0x244)];if(this[_0x254dfb(0x1e9)]!==_0x1e36d6[_0x254dfb(0x288)]){const _0x3938ab=_0x3a3340(_0xfce1a1,_0x254dfb(0x24d));return void this[_0x254dfb(0x227)](_0x3938ab);}await this[_0x254dfb(0x1b6)](this[_0x254dfb(0x1d3)][_0x254dfb(0x28c)][_0x254dfb(0x24a)][_0x254dfb(0x236)][_0x254dfb(0x232)](),!0x0);}[_0x46ec9e(0x28d)](){const _0x329e41=_0x46ec9e;this[_0x329e41(0x294)][_0x329e41(0x1b1)](),this[_0x329e41(0x1de)]=[],clearTimeout(this[_0x329e41(0x249)]),this[_0x329e41(0x1d1)](this[_0x329e41(0x294)]);}[_0x46ec9e(0x22c)](_0x4d8bdb){const _0x1371ed=_0x46ec9e,_0x1e11c0=this[_0x1371ed(0x1d3)][_0x1371ed(0x20b)][_0x1371ed(0x22a)](_0xf9728e);this[_0x1371ed(0x20f)](_0x1e11c0,_0x1371ed(0x2aa)+this[_0x1371ed(0x1ba)],(_0x35bd83,{session:_0x9e1bf0})=>{const _0x4ed25b=_0x1371ed;if(_0x9e1bf0['id']===_0x1e11c0[_0x4ed25b(0x221)]){_0x35bd83[_0x4ed25b(0x233)]();const _0x351d2a=this[_0x4ed25b(0x1d3)][_0x4ed25b(0x20b)][_0x4ed25b(0x26a)](_0x4ed25b(0x25d))&&this[_0x4ed25b(0x1d3)][_0x4ed25b(0x20b)][_0x4ed25b(0x22a)](_0x4ed25b(0x25d));let _0x4f05cf=_0x9e1bf0[_0x4ed25b(0x1f9)];_0x351d2a&&_0x351d2a[_0x4ed25b(0x27e)]&&(_0x4f05cf=_0x4f05cf[_0x4ed25b(0x1ef)](_0x1ec49a=>_0x4ed25b(0x24c)!==_0x1ec49a)),this[_0x4ed25b(0x1d3)][_0x4ed25b(0x20b)][_0x4ed25b(0x22a)](_0x4ed25b(0x2ac))[_0x4ed25b(0x217)](_0x4f05cf,this[_0x4ed25b(0x1ba)]);}}),_0x1e11c0[_0x1371ed(0x215)](this[_0x1371ed(0x1ba)],_0x4d8bdb);}[_0x46ec9e(0x1fe)](){const _0x37bf57=_0x46ec9e,_0x3e7350=this[_0x37bf57(0x1d3)][_0x37bf57(0x268)][_0x37bf57(0x240)];this[_0x37bf57(0x1d3)][_0x37bf57(0x268)][_0x37bf57(0x240)]=(..._0x1d90ba)=>{const _0x29de42=_0x37bf57;if(!_0x1d90ba[_0x1d90ba[_0x29de42(0x1f3)]-0x1][_0x29de42(0x293)])throw new _0x671325(_0x29de42(0x253),this);_0x3e7350[_0x29de42(0x1b2)](this[_0x29de42(0x1d3)][_0x29de42(0x268)],_0x1d90ba);};}[_0x46ec9e(0x267)](){const _0x3d7551=_0x46ec9e;this[_0x3d7551(0x1d3)][_0x3d7551(0x268)]['on'](_0x3d7551(0x1bc),(_0x25ed40,[_0x32cf4d])=>{const _0xcf6593=_0x3d7551;if(this[_0xcf6593(0x282)][_0xcf6593(0x1d2)])throw new _0x671325(_0xcf6593(0x1e2),this);_0x25ed40[_0xcf6593(0x231)](),this[_0xcf6593(0x1da)]();const _0x17329b=this[_0xcf6593(0x1d3)][_0xcf6593(0x254)][_0xcf6593(0x22a)](_0xcf6593(0x1e8)),_0x39e8e0=this[_0xcf6593(0x205)](_0x32cf4d,_0x17329b);0x0==_0x39e8e0[_0xcf6593(0x1f3)]&&_0x39e8e0[_0xcf6593(0x1c1)](new _0x26b05c(0x0)),_0x25ed40[_0xcf6593(0x264)]=this[_0xcf6593(0x1b6)](_0x39e8e0)[_0xcf6593(0x2ae)](()=>{const _0x46ccc5=_0xcf6593;this[_0x46ccc5(0x1d3)][_0x46ccc5(0x20b)][_0x46ccc5(0x22a)](_0x49b70b)[_0x46ccc5(0x24b)](this),this[_0x46ccc5(0x1d3)][_0x46ccc5(0x268)][_0x46ccc5(0x206)](_0x46ccc5(0x1be));})[_0xcf6593(0x263)](_0x5cfb61=>this[_0xcf6593(0x1e0)](_0xcf6593(0x299),_0x5cfb61))[_0xcf6593(0x1cf)](()=>this[_0xcf6593(0x281)]());},{'priority':_0x3d7551(0x2a3)}),this[_0x3d7551(0x1d3)]['on'](_0x3d7551(0x225),async(_0x2c331d,[_0x153bb2,_0x29441d])=>{const _0x36fc3c=_0x3d7551;_0x2c331d[_0x36fc3c(0x231)]();const _0x2e088e=this[_0x36fc3c(0x1d3)][_0x36fc3c(0x28c)][_0x36fc3c(0x24a)][_0x36fc3c(0x200)](_0x153bb2);if(!this[_0x36fc3c(0x216)][_0x36fc3c(0x26a)](_0x153bb2)){const _0x1d8540=_0x29441d&&_0x29441d[_0x36fc3c(0x268)]?_0x29441d[_0x36fc3c(0x268)]:'',_0x457f51=_0x29441d&&_0x29441d[_0x36fc3c(0x2ad)]?_0x29441d[_0x36fc3c(0x2ad)]:{};await this[_0x36fc3c(0x20a)](_0x153bb2,_0x1d8540,_0x457f51);}this[_0x36fc3c(0x1d3)][_0x36fc3c(0x28c)][_0x36fc3c(0x2a9)]({'isUndoable':!0x1},()=>{const _0x38aa3a=_0x36fc3c;_0x2e088e[_0x38aa3a(0x202)]=!0x0,this[_0x38aa3a(0x1d3)][_0x38aa3a(0x28c)][_0x38aa3a(0x24a)][_0x38aa3a(0x261)][_0x38aa3a(0x259)](_0x2e088e);});},{'priority':_0x3d7551(0x2a3)});}async[_0x46ec9e(0x2a4)](_0xf900ab){const _0x41a5b6=_0x46ec9e,_0x559f94=this[_0x41a5b6(0x1d3)][_0x41a5b6(0x20b)][_0x41a5b6(0x22a)](_0x430dac),{connection:_0x258a50}=this[_0x41a5b6(0x1d3)][_0x41a5b6(0x20b)][_0x41a5b6(0x22a)](_0x49b70b),_0x2f5e82=new Set();for(const _0x2550ac of _0xf900ab){const _0x1816c9=_0x2550ac[_0x41a5b6(0x2a1)];_0x1816c9&&!_0x559f94[_0x41a5b6(0x271)](_0x1816c9)&&_0x2f5e82[_0x41a5b6(0x243)](_0x1816c9);}if(0x0===_0x2f5e82[_0x41a5b6(0x22d)])return;const _0x3a7ef4=await _0x217628[_0x41a5b6(0x1e4)](_0x258a50,Array[_0x41a5b6(0x23d)](_0x2f5e82));for(const _0x568516 of _0x3a7ef4)_0x559f94[_0x41a5b6(0x271)](_0x568516['id'])||_0x559f94[_0x41a5b6(0x1bf)](_0x568516);}[_0x46ec9e(0x205)](_0x2ec99d,_0x5b2e7f={}){const _0x900504=_0x46ec9e,_0x43f886=this[_0x900504(0x1d3)][_0x900504(0x28c)],_0x20aff6=[];let _0x119116=0x0;const _0x4c7106=_0x900504(0x1b0)==typeof _0x2ec99d?{'main':_0x2ec99d}:_0x2ec99d;for(const _0x5f1113 of Object[_0x900504(0x1b9)](_0x4c7106)){if(!this[_0x900504(0x282)][_0x900504(0x290)][_0x900504(0x26a)](_0x5f1113))throw new _0x671325(_0x900504(0x23a),this);const _0x1bea4b=this[_0x900504(0x1d3)][_0x900504(0x268)][_0x900504(0x245)](_0x4c7106[_0x5f1113]),_0x7976af=this[_0x900504(0x282)][_0x900504(0x200)](_0x5f1113),_0x37080e=new _0x3fa0fc(_0x43f886[_0x900504(0x22b)](_0x7976af,0x0),_0x1bea4b,_0x119116++);_0x20aff6[_0x900504(0x1c1)](_0x37080e);for(const [_0x25d660,_0x5bf54f]of _0x1bea4b[_0x900504(0x1c2)]){const _0x439f4b=_0x43f886[_0x900504(0x1dd)](_0x43f886[_0x900504(0x1d5)](_0x7976af,_0x5bf54f[_0x900504(0x1cc)][_0x900504(0x27d)][_0x900504(0x1c3)]()),_0x43f886[_0x900504(0x1d5)](_0x7976af,_0x5bf54f[_0x900504(0x29c)][_0x900504(0x27d)][_0x900504(0x1c3)]())),_0x1254bb=new _0x101329(_0x25d660,null,_0x439f4b,_0x43f886[_0x900504(0x1c2)],!0x0,_0x119116++);_0x20aff6[_0x900504(0x1c1)](_0x1254bb);}}if(_0x5b2e7f)for(const [_0x226d2f,_0x1a714c]of Object[_0x900504(0x1fa)](_0x5b2e7f)){const _0x57ca54=_0x43f886[_0x900504(0x24a)][_0x900504(0x200)](_0x226d2f);if(!_0x57ca54)throw new _0x671325(_0x900504(0x1f2),null);for(const [_0x46dd4f,_0x415f62]of Object[_0x900504(0x1fa)](_0x1a714c))if(null!==_0x415f62){const _0x4be9fc=new _0x85f4e1(_0x57ca54,_0x46dd4f,null,_0x415f62,_0x119116++);_0x20aff6[_0x900504(0x1c1)](_0x4be9fc);}}return _0x20aff6;}async[_0x46ec9e(0x20a)](_0x2f5b62,_0x56ceb4,_0x337e5e){const _0x2fb065=_0x46ec9e;this[_0x2fb065(0x205)]({[_0x2f5b62]:_0x56ceb4},{[_0x2f5b62]:_0x337e5e})[_0x2fb065(0x29d)]((_0x33b713,_0x26167d)=>{const _0x5ae1ac=_0x2fb065;_0x33b713[_0x5ae1ac(0x201)]=this[_0x5ae1ac(0x282)][_0x5ae1ac(0x1d2)]+_0x26167d,_0x33b713[_0x5ae1ac(0x239)]=!0x0,this[_0x5ae1ac(0x2a0)](_0x33b713);}),this[_0x2fb065(0x279)](),await this[_0x2fb065(0x276)]();}async[_0x46ec9e(0x212)](_0x5f2f0c,_0x324464){const _0x284748=_0x46ec9e;let _0x47a059;this[_0x284748(0x25f)]=_0x5f2f0c[_0x284748(0x21f)];const _0x5b3128=_0x5f2f0c[_0x284748(0x1bd)]&&!_0x5f2f0c[_0x284748(0x235)],_0xd3d17d=_0x5b3128?0x0:_0x5f2f0c[_0x284748(0x268)][_0x284748(0x201)];if(_0x324464[_0x284748(0x29d)](_0x175fd0=>{const _0xebe188=_0x284748;_0x175fd0[_0xebe188(0x239)]=!0x0,_0x175fd0[_0xebe188(0x26e)]=_0x5f2f0c[_0xebe188(0x26c)],_0x175fd0[_0xebe188(0x2a1)]=null;}),_0x5b3128)_0x47a059=_0x324464,this[_0x284748(0x1af)](_0x47a059,_0x5b3128);else{if(_0x5f2f0c[_0x284748(0x235)]){const _0x2d1daf=this[_0x284748(0x205)](_0x5f2f0c[_0x284748(0x235)]);this[_0x284748(0x282)][_0x284748(0x236)][_0x284748(0x1d2)]=-_0x2d1daf[_0x284748(0x1f3)],_0x2d1daf[_0x284748(0x29d)](_0x5ae1bf=>{const _0x5319f5=_0x284748;_0x5ae1bf[_0x5319f5(0x201)]-=_0x2d1daf[_0x5319f5(0x1f3)],_0x5ae1bf[_0x5319f5(0x26e)]=_0x5f2f0c[_0x5319f5(0x26c)],_0x5ae1bf[_0x5319f5(0x239)]=!0x0,_0x5ae1bf[_0x5319f5(0x2a1)]=null;}),this[_0x284748(0x1af)](_0x2d1daf,!0x0),this[_0x284748(0x1c6)][_0x284748(0x1d2)]=-_0x2d1daf[_0x284748(0x1f3)]+this[_0x284748(0x25f)],this[_0x284748(0x250)](_0x2d1daf);}this[_0x284748(0x282)][_0x284748(0x236)][_0x284748(0x1d2)]=_0xd3d17d,_0x47a059=this[_0x284748(0x29e)](_0x5f2f0c[_0x284748(0x268)],_0x5f2f0c[_0x284748(0x23c)]),await this[_0x284748(0x2a4)](_0x47a059),this[_0x284748(0x1af)](_0x47a059,_0x5b3128);}_0x5f2f0c[_0x284748(0x288)]&&(this[_0x284748(0x1d7)][_0x284748(0x1ec)](_0x47a059,_0x5f2f0c[_0x284748(0x288)]),this[_0x284748(0x1e9)]=_0x5f2f0c[_0x284748(0x288)]),this[_0x284748(0x1c6)][_0x284748(0x1d2)]=_0xd3d17d+this[_0x284748(0x25f)],this[_0x284748(0x250)](_0x47a059),_0x324464[_0x284748(0x1ef)](_0x2c9ae6=>{const _0x413452=_0x284748,_0x24aff5=this[_0x413452(0x273)](_0x2c9ae6);return _0x24aff5&&!this[_0x413452(0x216)][_0x413452(0x26a)](_0x24aff5);})[_0x284748(0x29d)]((_0x5e0ff0,_0x1abaad)=>{const _0x2b103d=_0x284748;_0x5e0ff0[_0x2b103d(0x201)]=this[_0x2b103d(0x282)][_0x2b103d(0x1d2)]+_0x1abaad,this[_0x2b103d(0x2a0)](_0x5e0ff0);}),this[_0x284748(0x291)]()?(this[_0x284748(0x242)]=0x0,this[_0x284748(0x279)](!0x0),await this[_0x284748(0x276)]()):(this[_0x284748(0x2ab)]=!0x1,this[_0x284748(0x281)]());}[_0x46ec9e(0x1e0)](_0xe0c101,_0x528eeb){const _0x160890=_0x46ec9e,_0x14a9e9=_0x528eeb&&_0x528eeb[_0x160890(0x2b0)];if(_0x14a9e9&&_0x14a9e9[_0x160890(0x20e)](_0x160890(0x29f)))throw _0x528eeb;const _0x5860db=this[_0x160890(0x1d3)][_0x160890(0x20b)][_0x160890(0x22a)](_0x49b70b);throw this[_0x160890(0x2ab)]=!0x0,_0x5860db[_0x160890(0x1b1)](),this[_0x160890(0x1d3)][_0x160890(0x208)](_0x160890(0x204)),new _0x671325(_0xe0c101,this[_0x160890(0x1d3)],_0x14a9e9?{'originalError':_0x14a9e9}:void 0x0);}[_0x46ec9e(0x2a0)](_0xd7cc50){const _0xa658cd=_0x46ec9e;this[_0xa658cd(0x1db)][_0xa658cd(0x26a)](_0xd7cc50)||(this[_0xa658cd(0x1db)][_0xa658cd(0x243)](_0xd7cc50),this[_0xa658cd(0x1de)][_0xa658cd(0x1c1)](_0xd7cc50),this[_0xa658cd(0x220)]||_0xa658cd(0x1cb)==_0xd7cc50[_0xa658cd(0x278)]&&!_0xd7cc50[_0xa658cd(0x296)]||this[_0xa658cd(0x1da)]());}[_0x46ec9e(0x279)](_0x29c3ed=!0x1){const _0x5031bd=_0x46ec9e;!_0x29c3ed&&this[_0x5031bd(0x2ab)]||(this[_0x5031bd(0x2ab)]=!0x0,clearTimeout(this[_0x5031bd(0x249)]),this[_0x5031bd(0x249)]=setTimeout(()=>{const _0x141419=_0x5031bd;this[_0x141419(0x23b)]()[_0x141419(0x2ae)](_0xc929fc=>{const _0x5aa16f=_0x141419;_0xc929fc&&(this[_0x5aa16f(0x281)](),this[_0x5aa16f(0x2ab)]=!0x1);})[_0x141419(0x263)](_0x574a9a=>{const _0x4113b1=_0x141419;this[_0x4113b1(0x281)](),this[_0x4113b1(0x2ab)]=!0x1,function(_0x27faa7){const _0x12831c=_0x4113b1;return _0x27faa7[_0x12831c(0x2b0)][_0x12831c(0x20e)](_0x12831c(0x1f8))||_0x27faa7[_0x12831c(0x2b0)][_0x12831c(0x20e)](_0x12831c(0x1e6))||_0x27faa7[_0x12831c(0x2b0)][_0x12831c(0x20e)](_0x12831c(0x26d));}(_0x574a9a)||this[_0x4113b1(0x1e0)](_0x574a9a[_0x4113b1(0x2b0)],_0x574a9a);});},this[_0x5031bd(0x242)]));}[_0x46ec9e(0x276)](){return new Promise(_0x2607e1=>{const _0x4abcd8=_0x39e6;this['on'](_0x4abcd8(0x286),()=>{_0x2607e1();});});}async[_0x46ec9e(0x23b)](){const _0x2a87fb=_0x46ec9e,_0x510d08=this[_0x2a87fb(0x1d3)][_0x2a87fb(0x20b)][_0x2a87fb(0x22a)](_0x195cd3);if(this[_0x2a87fb(0x2af)]()&&(_0x510d08[_0x2a87fb(0x265)](),this[_0x2a87fb(0x27b)]=!0x1),!this[_0x2a87fb(0x291)]())return!0x0;const _0x787cfe=[...this[_0x2a87fb(0x1de)]];for(const _0x13ad0c of _0x787cfe)_0x13ad0c[_0x2a87fb(0x260)]=this[_0x2a87fb(0x282)][_0x2a87fb(0x236)][_0x2a87fb(0x1ae)](_0x13ad0c);const _0x1b5747=this[_0x2a87fb(0x1d7)][_0x2a87fb(0x1c8)](_0x787cfe),_0x4345ec=H++,_0x1928ea=this[_0x2a87fb(0x27c)](_0x787cfe),_0x359339=await this[_0x2a87fb(0x294)][_0x2a87fb(0x1fb)](_0x1928ea,_0x1928ea[_0x2a87fb(0x201)],_0x1b5747);try{return await this[_0x2a87fb(0x24f)](_0x787cfe,_0x359339,_0x4345ec);}catch(_0x167e85){return this[_0x2a87fb(0x1e0)](_0x2a87fb(0x1b5),_0x167e85);}}async[_0x46ec9e(0x24f)](_0xa8b178,_0x495fd6,_0x3b01f8){const _0x5afaed=_0x46ec9e;if(_0x5afaed(0x210)in _0x495fd6)throw _0x495fd6[_0x5afaed(0x210)];let _0x45f8c2=!0x1;if(_0x495fd6[_0x5afaed(0x1bd)]){_0x495fd6[_0x5afaed(0x288)]&&(this[_0x5afaed(0x1e9)]=_0x495fd6[_0x5afaed(0x288)]),this[_0x5afaed(0x1de)]=this[_0x5afaed(0x1de)][_0x5afaed(0x1ef)](_0x197b8b=>!_0xa8b178[_0x5afaed(0x28e)](_0x197b8b));for(const _0x4e2f98 of _0xa8b178)_0x4e2f98[_0x5afaed(0x26e)]=_0x5afaed(0x248)in _0x495fd6&&_0x495fd6[_0x5afaed(0x248)]||void 0x0;W(_0xa8b178,_0x495fd6[_0x5afaed(0x1d2)]-_0xa8b178[_0x5afaed(0x1f3)]),this[_0x5afaed(0x250)](_0xa8b178);const _0x43b980=_0xa8b178[_0x5afaed(0x1ef)](_0x16a56f=>{const _0x2cc079=_0x5afaed;if(!_0x16a56f[_0x2cc079(0x239)])return!0x1;const _0x7b471c=this[_0x2cc079(0x273)](_0x16a56f);return _0x7b471c&&!this[_0x2cc079(0x216)][_0x2cc079(0x26a)](_0x7b471c);});W(_0x43b980,this[_0x5afaed(0x282)][_0x5afaed(0x1d2)]),this[_0x5afaed(0x1af)](_0x43b980),_0x45f8c2=!0x0,this[_0x5afaed(0x242)]=this[_0x5afaed(0x237)];}else{const _0x540213=this[_0x5afaed(0x29e)](_0x495fd6[_0x5afaed(0x268)],_0x495fd6[_0x5afaed(0x23c)])[_0x5afaed(0x1ef)](_0x3279f2=>_0x3279f2[_0x5afaed(0x201)]>=this[_0x5afaed(0x1bb)]);_0x540213[_0x5afaed(0x29d)](_0x2c9631=>this[_0x5afaed(0x2a2)](_0x2c9631)),this[_0x5afaed(0x1de)]=this[_0x5afaed(0x1de)][_0x5afaed(0x1ef)](_0x4411e0=>!_0x4411e0[_0x5afaed(0x239)]||!this[_0x5afaed(0x216)][_0x5afaed(0x26a)](this[_0x5afaed(0x273)](_0x4411e0))),this[_0x5afaed(0x1de)][_0x5afaed(0x1f3)]&&W(this[_0x5afaed(0x1de)],this[_0x5afaed(0x1de)][0x0][_0x5afaed(0x201)]),await this[_0x5afaed(0x2a4)](_0x540213),_0x45f8c2=this[_0x5afaed(0x1e7)](_0x540213,_0x495fd6[_0x5afaed(0x1d2)],_0x495fd6[_0x5afaed(0x288)]),this[_0x5afaed(0x242)]=Math[_0x5afaed(0x1e5)](this[_0x5afaed(0x242)]/0x2);}return _0x45f8c2?!this[_0x5afaed(0x291)]()||(this[_0x5afaed(0x279)](!0x0),!0x1):this[_0x5afaed(0x1e0)](_0x5afaed(0x238));}[_0x46ec9e(0x1e7)](_0x56a609,_0x4b888,_0x535c68){const _0x35bfb4=_0x46ec9e;try{const _0x351803={'document':this[_0x35bfb4(0x282)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x475fa0,operationsB:_0x152355,originalOperations:_0x57b8aa}=_0x12d2e3(_0x56a609,this[_0x35bfb4(0x1de)],_0x351803);W(_0x475fa0,this[_0x35bfb4(0x282)][_0x35bfb4(0x1d2)]),W(_0x152355,_0x4b888);for(const _0x31d55d of _0x475fa0){const _0x504d35=_0x57b8aa[_0x35bfb4(0x22a)](_0x31d55d);_0x31d55d[_0x35bfb4(0x2a1)]=_0x504d35?_0x504d35[_0x35bfb4(0x2a1)]:null;}_0x535c68&&(this[_0x35bfb4(0x1d7)][_0x35bfb4(0x1ec)](_0x56a609,_0x535c68),this[_0x35bfb4(0x1e9)]=_0x535c68),this[_0x35bfb4(0x1de)]=[..._0x152355],this[_0x35bfb4(0x1af)](_0x475fa0),this[_0x35bfb4(0x250)](_0x56a609);}catch(_0x58b31a){return console[_0x35bfb4(0x210)](_0x58b31a),!0x1;}return!0x0;}[_0x46ec9e(0x1af)](_0x844612,_0x4bdf2a=!0x1){const _0x300e40=_0x46ec9e;this[_0x300e40(0x1d3)][_0x300e40(0x28c)][_0x300e40(0x2a9)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3384ff=>{const _0x29980b=_0x300e40;for(const _0x2a0ad5 of _0x844612)this[_0x29980b(0x1db)][_0x29980b(0x243)](_0x2a0ad5),this[_0x29980b(0x2a2)](_0x2a0ad5),_0x3384ff[_0x29980b(0x266)][_0x29980b(0x223)](_0x2a0ad5),this[_0x29980b(0x1d3)][_0x29980b(0x28c)][_0x29980b(0x1d4)](_0x2a0ad5);});}[_0x46ec9e(0x2a2)](_0x36f42c){const _0xbab5d8=_0x46ec9e,_0x42b3ec=this[_0xbab5d8(0x273)](_0x36f42c);_0x42b3ec&&this[_0xbab5d8(0x216)][_0xbab5d8(0x243)](_0x42b3ec);}[_0x46ec9e(0x273)](_0x58e2e7){const _0x3df318=_0x46ec9e;let _0x484682,_0x7d43c0;switch(_0x58e2e7[_0x3df318(0x278)]){case _0x3df318(0x27a):_0x484682=_0x58e2e7[_0x3df318(0x21b)][_0x3df318(0x1c9)];break;case _0x3df318(0x1cb):if(_0x7d43c0=_0x58e2e7[_0x3df318(0x284)],!_0x7d43c0)return null;_0x484682=_0x7d43c0[_0x3df318(0x1c9)];break;case _0x3df318(0x2a6):_0x484682=_0x58e2e7[_0x3df318(0x1c9)];break;case _0x3df318(0x1dc):_0x484682=_0x58e2e7[_0x3df318(0x27f)];break;case _0x3df318(0x222):_0x484682=_0x58e2e7[_0x3df318(0x219)][_0x3df318(0x1c9)];break;default:return null;}return _0x484682[_0x3df318(0x25a)];}[_0x46ec9e(0x250)](_0x556b9a){const _0x17fc99=_0x46ec9e;_0x556b9a[_0x17fc99(0x29d)](_0xb4bf4a=>{const _0x47ae07=_0x17fc99,_0x135ad=_0xb4bf4a[_0x47ae07(0x1e1)]();_0x135ad[_0x47ae07(0x2a1)]=_0xb4bf4a[_0x47ae07(0x2a1)],_0x135ad[_0x47ae07(0x239)]=!!_0xb4bf4a[_0x47ae07(0x239)],_0x135ad[_0x47ae07(0x26e)]=_0xb4bf4a[_0x47ae07(0x26e)],_0x135ad[_0x47ae07(0x201)]+=this[_0x47ae07(0x25f)],_0xb4bf4a[_0x47ae07(0x285)]&&this[_0x47ae07(0x1c4)][_0x47ae07(0x243)](_0x135ad),this[_0x47ae07(0x1c6)][_0x47ae07(0x223)](_0x135ad);});}[_0x46ec9e(0x227)](_0x38ce45){const _0x3e6a23=_0x46ec9e,_0x520a42=this[_0x3e6a23(0x1d3)][_0x3e6a23(0x20b)][_0x3e6a23(0x22a)](_0x3e6a23(0x287)),_0x39af68=this[_0x3e6a23(0x1d3)][_0x3e6a23(0x1b8)];_0x38ce45||(_0x38ce45=_0x3a3340(_0x39af68,_0x3e6a23(0x1f1))),_0x520a42[_0x3e6a23(0x1ee)](_0x38ce45,{'title':_0x3a3340(_0x39af68,_0x3e6a23(0x1f6)),'namespace':_0x3e6a23(0x21a)}),this[_0x3e6a23(0x214)]=!0x0,clearTimeout(this[_0x3e6a23(0x249)]),this[_0x3e6a23(0x1de)]=[],this[_0x3e6a23(0x1d3)][_0x3e6a23(0x20b)][_0x3e6a23(0x22a)](_0x49b70b)[_0x3e6a23(0x1b1)]();}[_0x46ec9e(0x1da)](){const _0x341784=_0x46ec9e;this[_0x341784(0x220)]||(this[_0x341784(0x220)]=this[_0x341784(0x1d3)][_0x341784(0x20b)][_0x341784(0x22a)](_0x234a3b)[_0x341784(0x243)](_0x3a3340(this[_0x341784(0x1d3)][_0x341784(0x1b8)],_0x341784(0x234))));}[_0x46ec9e(0x281)](){const _0x3d3ebf=_0x46ec9e;this[_0x3d3ebf(0x220)]&&(this[_0x3d3ebf(0x1d3)][_0x3d3ebf(0x20b)][_0x3d3ebf(0x22a)](_0x234a3b)[_0x3d3ebf(0x272)](this[_0x3d3ebf(0x220)]),this[_0x3d3ebf(0x220)]=null);}[_0x46ec9e(0x27c)](_0x27c1ed){const _0x2cb260=_0x46ec9e,_0x2840ee=_0x27c1ed[_0x2cb260(0x1d9)](_0xf33888=>_0xf33888[_0x2cb260(0x270)]());return this[_0x2cb260(0x226)][_0x2cb260(0x1f4)](_0x2840ee);}[_0x46ec9e(0x29e)](_0x5747d8,_0x42e307){const _0x3f9f92=_0x46ec9e;return this[_0x3f9f92(0x226)][_0x3f9f92(0x20d)](_0x5747d8)[_0x3f9f92(0x1d9)]((_0x165401,_0x36d2ce)=>{const _0x5e6329=_0x3f9f92,_0x76157=_0x5e6329(0x1bc)==_0x42e307[_0x36d2ce][_0x5e6329(0x278)];if(_0x5e6329(0x269)==_0x165401[_0x5e6329(0x1ca)]){const _0x27d931=_0x165401[_0x5e6329(0x21b)][_0x5e6329(0x1c9)];!this[_0x5e6329(0x282)][_0x5e6329(0x200)](_0x27d931)&&(this[_0x5e6329(0x282)][_0x5e6329(0x289)](_0x5e6329(0x230),_0x27d931)[_0x5e6329(0x292)]=!0x1);}const _0x3053bc=_0x1229e9[_0x5e6329(0x1cd)](_0x165401,this[_0x5e6329(0x282)]);return _0x3053bc[_0x5e6329(0x260)]=_0x165401[_0x5e6329(0x260)],_0x3053bc[_0x5e6329(0x239)]=_0x76157,_0x3053bc[_0x5e6329(0x2a1)]=_0x76157?null:_0x42e307[_0x36d2ce][_0x5e6329(0x1ac)],_0x3053bc[_0x5e6329(0x285)]=_0x5e6329(0x1eb)===_0x42e307[_0x36d2ce][_0x5e6329(0x278)],_0x3053bc[_0x5e6329(0x26e)]=_0x42e307[_0x36d2ce][_0x5e6329(0x26e)],_0x3053bc;});}[_0x46ec9e(0x1ff)](){const _0x3a52d7=_0x46ec9e;this[_0x3a52d7(0x27b)]=!0x0,this[_0x3a52d7(0x2af)]()?this[_0x3a52d7(0x279)]():this[_0x3a52d7(0x27b)]=!0x1;}[_0x46ec9e(0x2af)](){const _0x24961d=_0x46ec9e,_0x1055db=this[_0x24961d(0x1d3)][_0x24961d(0x20b)][_0x24961d(0x22a)](_0xf9728e)[_0x24961d(0x247)][_0x24961d(0x22a)](this[_0x24961d(0x1ba)]);return!this[_0x24961d(0x1d3)][_0x24961d(0x1e3)]&&!!_0x1055db&&_0x1055db[_0x24961d(0x1f3)]>0x1&&this[_0x24961d(0x27b)];}[_0x46ec9e(0x291)](){const _0x1ef2c9=_0x46ec9e;return this[_0x1ef2c9(0x1de)][_0x1ef2c9(0x1f3)]>0x0||this[_0x1ef2c9(0x2af)]();}}export{l as RealTimeCollaborationClient};function _0x39e6(_0x45b7db,_0x4ea79f){const _0x12158a=_0x1215();return _0x39e6=function(_0x39e677,_0x42b6d1){_0x39e677=_0x39e677-0x1ac;let _0x4a052f=_0x12158a[_0x39e677];return _0x4a052f;},_0x39e6(_0x45b7db,_0x4ea79f);}class V extends Error{}function _0x1215(){const _0x570842=['_handleSendingSelectionMarkers','1223165toSDjd','get','createPositionAt','_initSessionsHandling','size','bind','_isEditingAllowed','$root','stop','getOperations','off','PENDING_ACTION_SENDING_DATA','initData','history','_baseBufferDelay','realtimecollaborationclient-handleserverresponse','_isInit','realtimecollaborationclient-init-non-existent-root','_sendBufferedOperations','metadata','from','removeFromReconnectionStack','404','set','state','_currentBufferDelay','add','lastDocumentSession','parse','_handleReconnectionResponse','channelSessions','lastOperationAcceptedAt','_sendBufferedOperationsDelayId','document','addToReconnectionStack','document:write','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.','requires','_handleServerResponse','_updateServerHistory','2147808frbLPy','getConnectedSessions','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','config','_ignoredOperations','sessionId','disableReadOnlyMode','7742392KlkbcK','_bufferRootLoad','rootName','reset','rtc-destroyed','CommentsOnly','8252KnPXAy','_offset','wasUndone','differ','pluginName','catch','return','createUserMarkerOperations','batch','_setUpDataInit','data','InsertOperation','has','code','sessionCreatedAt','cloud-services-internal-error:\x20Request\x20timeout.','createdAt','CollaborativeEditingService','toJSON','getUser','remove','_getAffectedRoot','_operationToId','operationsReceived','_waitUntilSynced','destroy','type','_sendBufferedOperationsDelayed','insert','_hasSelectionChanged','_compressOperations','path','isEnabled','affectedSelectable','isOfficialPlugin','_clearPendingAction','_document','realtimecollaborationclient-init-session-connection-error','newRange','_isDisconnection','change:_isPendingUpdate','Notification','lastOperationId','createRoot','disconnected','define','model','_disconnectService','includes','13240125DuOAcm','roots','_shouldSendUpdate','_isAttached','suppressErrorInCollaboration','_service','_isConnected','affectsData','collaboration','editing','realtimecollaborationclient-init-connection-failed','unregister','isPremiumPlugin','end','forEach','_decompressOperations','realtimecollaborationclient','_saveOperationInBuffer','_authorId','_addKnownRoot','high','_fetchMissingUsers','_handleReceivedOperations','addRootAttribute','374AxTfIY','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enqueueChange','sessionAdd:','_isPendingUpdate','Permissions','attributes','then','_shouldSendSelectionUpdate','message','userId','connected','isUndoneOperation','_applyOperationsSet','string','disconnect','apply','409','RealTimeCollaborationClient','realtimecollaborationclient-sendbufferedoperations','_connectService','getDocumentDetails','locale','keys','_channelId','_lastServerVersion','init','wereChangesApplied','ready','addUser','isDocumentOperation','push','markers','slice','_disconnectionOperations','9387654HYYNFE','serverHistory','change:range','getIdOfTheLastOperation','root','__className','marker','start','fromJSON','reconnection:\x20flushed\x20session','finally','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','stopListening','version','editor','applyOperation','createPositionFromPath','selection','_operationIdentifier','directChange','map','_setPendingAction','_knownOperations','addRoot','createRange','_bufferedOperations','currentDocumentSession','_crash','clone','realtimecollaborationclient-init-document-already-initialized','isReadOnly','getMany','round','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_handleExternalOperations','rootsAttributes','_lastSyncedOperationId','reconnect','cs:removeUser','setIdForTheLastOperation','lastSyncVersion','showWarning','filter','connect','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.','multi-root-editor-root-attributes-no-root','length','compress','connection','Synchronization\x20issue','cloudDocumentVersion','cloud-services-internal-error:\x20Not\x20connected.','permissions','entries','sendOperations','realtimecollaborationclient-init-service-internal-error','cloudServices.bundleVersion','_initThrowingOnDataSet','_refreshUserSelectionMarkers','getRoot','baseVersion','_isLoaded','change:hasDomSelection','realtimecollaborationclient-error','_getOperationsFromInitData','fire','collaboration.channelId','enableReadOnlyMode','rtc-offline','_loadRoot','plugins','getOperationAuthor','decompress','startsWith','listenTo','error','view','_handleInitialConnectionData','realtimecollaborationclient-init-service-incorrect-server-operation','_hasSynchronizationProblem','register','_knownRootNames','setPermissions','_connectAfterSessionHasBeenFlushed','targetPosition','real-time-collaboration','position','7219891llpPFO','collaboration-missing-channelid','change:_isEditingAllowed','offset','_pendingAction','mySessionId','move','addOperation','20pZzUUF','loadRoot','_compressor','_handleReconnectionError'];_0x1215=function(){return _0x570842;};return _0x1215();}function W(_0x1cfc06,_0x365ef0){const _0x4f5bcb=_0x46ec9e;for(const _0x3b5769 of _0x1cfc06)_0x3b5769[_0x4f5bcb(0x201)]=_0x365ef0++;}class F{[_0x46ec9e(0x255)];[_0x46ec9e(0x274)];constructor(_0x1f30e3){const _0x42db73=_0x46ec9e;this[_0x42db73(0x255)]=_0x1f30e3,this[_0x42db73(0x274)]=new WeakMap();}[_0x46ec9e(0x1c8)](_0x1ce1f9){const _0xa91430=_0x46ec9e;let _0xdf0ad3=_0x1ce1f9[_0xa91430(0x1f3)];for(;_0xdf0ad3--;){const _0x213d1b=_0x1ce1f9[_0xdf0ad3];if(!this[_0xa91430(0x255)][_0xa91430(0x26a)](_0x213d1b)){if(!this[_0xa91430(0x274)][_0xa91430(0x26a)](_0x213d1b)){const _0x5d4188=_0x2c72f6()[_0xa91430(0x1c3)](0x1,0x12);this[_0xa91430(0x274)][_0xa91430(0x240)](_0x213d1b,_0x5d4188);}return this[_0xa91430(0x274)][_0xa91430(0x22a)](_0x213d1b);}}}[_0x46ec9e(0x1ec)](_0x2c0266,_0x5eca8d){const _0x3a6cb9=_0x46ec9e;if(!_0x5eca8d)return;let _0x128de4=_0x2c0266[_0x3a6cb9(0x1f3)];for(;_0x128de4--;){const _0x52df78=_0x2c0266[_0x128de4];this[_0x3a6cb9(0x255)][_0x3a6cb9(0x26a)](_0x52df78)||this[_0x3a6cb9(0x274)][_0x3a6cb9(0x240)](_0x52df78,_0x5eca8d);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x171b45=_0x5499;function _0x44d2(){const _0x5d9f26=['state','isMe','pluginName','forEach','247868kYDppo','orderNumber','getUserRole','size','25676ZiuExr','72qRmeZG','_users','channelConnectedUsers','requires','clear','user','mySessionId','sessionId','remove','unregister','_createUser','values','connection','defineMe','fire','sessionAdd:','plugins','getUser','has','isOfficialPlugin','connected','sessions-unregister-not-exist','1102566tPqeYF','stopListening','change:state','isPremiumPlugin','Sessions','role','init','addUser','set','add','_handleSessionAdd','727060ojNvWo','5456960LZYrwe','assign','8nJjBgo','_uniqueUsersCount','3607832lQhZhs','listenTo','23420oguylP','getUserSessions','allConnectedUsers','get','_handleSessionRemove','getUserBySessionId','delete','register','sessions-register-already-registered','1413aSoSAA','_registeredSessions','channelSessions','context'];_0x44d2=function(){return _0x5d9f26;};return _0x44d2();}(function(_0x52703c,_0x10bc99){const _0x50e97d=_0x5499,_0x5c7c86=_0x52703c();while(!![]){try{const _0x9d52a5=-parseInt(_0x50e97d(0x19f))/0x1+parseInt(_0x50e97d(0x187))/0x2+-parseInt(_0x50e97d(0x17c))/0x3*(parseInt(_0x50e97d(0x18a))/0x4)+parseInt(_0x50e97d(0x188))/0x5+parseInt(_0x50e97d(0x1a4))/0x6*(parseInt(_0x50e97d(0x1a3))/0x7)+parseInt(_0x50e97d(0x18c))/0x8+-parseInt(_0x50e97d(0x197))/0x9*(parseInt(_0x50e97d(0x18e))/0xa);if(_0x9d52a5===_0x10bc99)break;else _0x5c7c86['push'](_0x5c7c86['shift']());}catch(_0x55b686){_0x5c7c86['push'](_0x5c7c86['shift']());}}}(_0x44d2,0x9250f));function _0x5499(_0x2aa20c,_0x369801){const _0x44d2ca=_0x44d2();return _0x5499=function(_0x54990d,_0x1218b6){_0x54990d=_0x54990d-0x16d;let _0x1d6c5c=_0x44d2ca[_0x54990d];return _0x1d6c5c;},_0x5499(_0x2aa20c,_0x369801);}import{ContextPlugin as _0x2ee752}from'ckeditor5/src/core.js';import{Collection as _0x433d9c,CKEditorError as _0x3bd7e4}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x2e83df}from'./websocketgateway.js';import{Users as _0x3f0d2b}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2ee752{[_0x171b45(0x199)];[_0x171b45(0x1a6)];[_0x171b45(0x190)];[_0x171b45(0x198)];[_0x171b45(0x18b)];[_0x171b45(0x1a5)];static get[_0x171b45(0x19d)](){const _0x522582=_0x171b45;return _0x522582(0x180);}static get[_0x171b45(0x179)](){return!0x0;}static get[_0x171b45(0x17f)](){return!0x0;}static get[_0x171b45(0x1a7)](){return[_0x2e83df,_0x3f0d2b];}constructor(_0x2d3d56){const _0x276883=_0x171b45;super(_0x2d3d56),this[_0x276883(0x199)]=new Map(),this[_0x276883(0x1a6)]=new Map(),this[_0x276883(0x190)]=new _0x433d9c(),this[_0x276883(0x198)]=new Map(),this[_0x276883(0x18b)]=0x0,this[_0x276883(0x1a5)]=this[_0x276883(0x19a)][_0x276883(0x176)][_0x276883(0x191)](_0x3f0d2b);}[_0x171b45(0x182)](){const _0x4161b9=_0x171b45,_0xf60c84=this[_0x4161b9(0x19a)][_0x4161b9(0x176)][_0x4161b9(0x191)](_0x2e83df);this[_0x4161b9(0x18d)](_0xf60c84,_0x4161b9(0x17e),(_0x1bdcb9,_0x3ebd8a,_0x1468ac)=>{const _0x552d02=_0x4161b9;if(_0x552d02(0x17a)!==_0x1468ac)this[_0x552d02(0x199)][_0x552d02(0x19e)](_0xd71f25=>_0xd71f25[_0x552d02(0x1a8)]()),this[_0x552d02(0x1a6)][_0x552d02(0x19e)](_0x5781d3=>_0x5781d3[_0x552d02(0x1a8)]()),this[_0x552d02(0x190)][_0x552d02(0x1a8)]();else{for(const [_0x334ebf,_0x3d7b01]of this[_0x552d02(0x198)])for(const _0x232e6b of _0x3d7b01)this[_0x552d02(0x186)](_0x334ebf,_0x232e6b);}}),this[_0x4161b9(0x170)](_0xf60c84[_0x4161b9(0x172)]['me'],!0x0);}[_0x171b45(0x195)](_0x5a74ca,_0x2abf66){const _0x5e035e=_0x171b45;if(this[_0x5e035e(0x198)][_0x5e035e(0x178)](_0x5a74ca))throw new _0x3bd7e4(_0x5e035e(0x196),null,{'channelId':_0x5a74ca});this[_0x5e035e(0x198)][_0x5e035e(0x184)](_0x5a74ca,_0x2abf66),this[_0x5e035e(0x199)][_0x5e035e(0x184)](_0x5a74ca,new _0x433d9c()),this[_0x5e035e(0x1a6)][_0x5e035e(0x184)](_0x5a74ca,new _0x433d9c()),this[_0x5e035e(0x18d)](_0x2abf66,_0x5e035e(0x185),(_0x7d3696,_0x8e3ff3)=>this[_0x5e035e(0x186)](_0x5a74ca,_0x8e3ff3)),this[_0x5e035e(0x18d)](_0x2abf66,_0x5e035e(0x16e),(_0x434d1e,_0x308e3f)=>this[_0x5e035e(0x192)](_0x5a74ca,_0x308e3f));for(const _0xf7a57 of _0x2abf66)this[_0x5e035e(0x186)](_0x5a74ca,_0xf7a57);}[_0x171b45(0x16f)](_0x2a149e){const _0x2e62b4=_0x171b45;if(!this[_0x2e62b4(0x198)][_0x2e62b4(0x178)](_0x2a149e))throw new _0x3bd7e4(_0x2e62b4(0x17b),null,{'channelId':_0x2a149e});const _0x35f759=this[_0x2e62b4(0x198)][_0x2e62b4(0x191)](_0x2a149e);this[_0x2e62b4(0x17d)](_0x35f759);for(const _0x1de74 of _0x35f759)_0x2e62b4(0x17a)===this[_0x2e62b4(0x19a)][_0x2e62b4(0x176)][_0x2e62b4(0x191)](_0x2e83df)[_0x2e62b4(0x19b)]&&this[_0x2e62b4(0x192)](_0x2a149e,_0x1de74);this[_0x2e62b4(0x198)][_0x2e62b4(0x194)](_0x2a149e),this[_0x2e62b4(0x199)][_0x2e62b4(0x194)](_0x2a149e),this[_0x2e62b4(0x1a6)][_0x2e62b4(0x194)](_0x2a149e);}get[_0x171b45(0x1aa)](){const _0x32e344=_0x171b45;return this[_0x32e344(0x19a)][_0x32e344(0x176)][_0x32e344(0x191)](_0x2e83df)[_0x32e344(0x172)][_0x32e344(0x16d)];}[_0x171b45(0x193)](_0x7940ce){const _0x1a9697=_0x171b45;for(const _0x341731 of this[_0x1a9697(0x199)][_0x1a9697(0x171)]())for(const _0x41845e of _0x341731)if(_0x41845e['id']===_0x7940ce)return _0x41845e[_0x1a9697(0x1a9)];}[_0x171b45(0x18f)](_0x34f582,_0x409999){const _0x48fd98=_0x171b45,_0x5044fd=_0x409999?[this[_0x48fd98(0x199)][_0x48fd98(0x191)](_0x409999)]:this[_0x48fd98(0x199)][_0x48fd98(0x171)](),_0x5bbf7c=new Set();for(const _0x21772a of _0x5044fd)for(const _0x3af5b4 of _0x21772a)_0x3af5b4[_0x48fd98(0x1a9)]['id']===_0x34f582['id']&&_0x5bbf7c[_0x48fd98(0x185)](_0x3af5b4['id']);return _0x5bbf7c;}[_0x171b45(0x1a1)](_0x204022){const _0x298964=_0x171b45;for(const _0x16fa8f of this[_0x298964(0x199)][_0x298964(0x171)]())for(const _0x51d3fc of _0x16fa8f)if(_0x51d3fc[_0x298964(0x1a9)]===_0x204022)return _0x51d3fc[_0x298964(0x181)];}[_0x171b45(0x186)](_0x2ecd2b,_0x17bea5){const _0x29ff38=_0x171b45;if(_0x29ff38(0x17a)!==this[_0x29ff38(0x19a)][_0x29ff38(0x176)][_0x29ff38(0x191)](_0x2e83df)[_0x29ff38(0x19b)])return;const _0x38c48e=_0x17bea5[_0x29ff38(0x1a9)],_0x2d31c7=this[_0x29ff38(0x1a5)][_0x29ff38(0x177)](_0x38c48e['id'])||this[_0x29ff38(0x170)](_0x38c48e),_0x43e6fa=Object[_0x29ff38(0x189)]({},_0x17bea5,{'user':_0x2d31c7});this[_0x29ff38(0x199)][_0x29ff38(0x191)](_0x2ecd2b)[_0x29ff38(0x185)](_0x43e6fa);const _0x263e62=this[_0x29ff38(0x1a6)][_0x29ff38(0x191)](_0x2ecd2b);_0x263e62[_0x29ff38(0x178)](_0x2d31c7['id'])||_0x263e62[_0x29ff38(0x185)](_0x2d31c7),this[_0x29ff38(0x190)][_0x29ff38(0x178)](_0x2d31c7['id'])||this[_0x29ff38(0x190)][_0x29ff38(0x185)](_0x2d31c7,_0x2d31c7[_0x29ff38(0x19c)]?0x0:void 0x0),this[_0x29ff38(0x174)](_0x29ff38(0x175)+_0x2ecd2b,{'channelId':_0x2ecd2b,'session':_0x43e6fa});}[_0x171b45(0x192)](_0x418f5b,_0x4ef9ef){const _0x133b3b=_0x171b45;if(_0x133b3b(0x17a)!==this[_0x133b3b(0x19a)][_0x133b3b(0x176)][_0x133b3b(0x191)](_0x2e83df)[_0x133b3b(0x19b)])return;const _0x43a553=this[_0x133b3b(0x1a6)][_0x133b3b(0x191)](_0x418f5b),_0x396f30=_0x4ef9ef[_0x133b3b(0x1a9)];_0x396f30['id']&&(this[_0x133b3b(0x199)][_0x133b3b(0x191)](_0x418f5b)[_0x133b3b(0x16e)](_0x4ef9ef['id']),_0x43a553[_0x133b3b(0x178)](_0x396f30['id'])&&!this[_0x133b3b(0x18f)](_0x396f30,_0x418f5b)[_0x133b3b(0x1a2)]&&_0x43a553[_0x133b3b(0x16e)](_0x396f30['id']),this[_0x133b3b(0x190)][_0x133b3b(0x191)](_0x396f30['id'])&&!this[_0x133b3b(0x18f)](_0x396f30)[_0x133b3b(0x1a2)]&&this[_0x133b3b(0x190)][_0x133b3b(0x16e)](_0x396f30['id']));}[_0x171b45(0x170)](_0x5d7b8c,_0x54de97){const _0x11ebe8=_0x171b45,_0x327021=this[_0x11ebe8(0x1a5)][_0x11ebe8(0x183)](_0x5d7b8c);return _0x54de97&&this[_0x11ebe8(0x1a5)][_0x11ebe8(0x173)](_0x5d7b8c['id']),_0x327021[_0x11ebe8(0x1a0)]=this[_0x11ebe8(0x18b)]++,_0x327021;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x55d7(){const _0x1f8285=['root','$graveyard','afterInit','getMarkerClass','remove','toRange','hasDomSelection','document','getFirstRange','has','newRange','schema','isObject','createUserMarkerOperations','createUIElement','markerRange','827776QzQEEs','getRange','ck-user__selection','reconvertMarker','addEventListener','markers','createElement','classList','element','isLimit','editingDowncast','Escape','change','change:range','UserMarkers','addMarker','9egfjPb','model','setCustomProperty','start','add','applyOperation','createRange','nodeAfter','getNearestSelectionRange','isDocumentOperation','editor','mouseleave','isSimilar','36810Qouocm','rootName','innerHTML','560PXCWZo','stopListening','false','13745430AlcFVN','oldRange','ck-user__marker-tooltip','removeClass','type','userPositionMarker','editing','isCollapsed','update:user:range','11bQAuQJ','highest','delete','undo','20728368XIaLGR','mySessionId','_createdBatches','108INVTQn','selection','parent','isOfficialPlugin','requires','spellcheck','view','span','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','contenteditable','getSelectionClass','batch','pluginName','mouseenter','textContent','$text','getCustomProperty','conversion','markerName','465074ilZgeo','removeMarker','getContainedElement','user:range','startsWith','getStart','deletionPosition','updateMarker','enqueueChange','isInline','ck-user__marker_hovered','data-session-id','size','ck-user__marker\x20','commands','destroy','getUserBySessionId','markerToElement','markerToHighlight','checkChild','user:position','111eoTSbE','for','clear','color','user:','user:range:','user:position:','fromRange','tableCell','init','split','hasContent','listenTo','render','_domEmitter','name','marker','markerNameToElements','end','orderNumber','detach','get','toDomElement','isPremiumPlugin','48748TLdWxh','getPositions','mapper','set','15379jDifnf','setAttribute','outerHTML','getAttribute','keydown','plugins'];_0x55d7=function(){return _0x1f8285;};return _0x55d7();}const _0x559e8d=_0x56be;(function(_0x1e79f2,_0x310bde){const _0x3f8b59=_0x56be,_0xaefa8b=_0x1e79f2();while(!![]){try{const _0x2b338=parseInt(_0x3f8b59(0x18c))/0x1+parseInt(_0x3f8b59(0x163))/0x2*(-parseInt(_0x3f8b59(0x1a1))/0x3)+-parseInt(_0x3f8b59(0x12c))/0x4*(-parseInt(_0x3f8b59(0x166))/0x5)+-parseInt(_0x3f8b59(0x179))/0x6*(-parseInt(_0x3f8b59(0x130))/0x7)+parseInt(_0x3f8b59(0x146))/0x8*(-parseInt(_0x3f8b59(0x156))/0x9)+parseInt(_0x3f8b59(0x169))/0xa+-parseInt(_0x3f8b59(0x172))/0xb*(parseInt(_0x3f8b59(0x176))/0xc);if(_0x2b338===_0x310bde)break;else _0xaefa8b['push'](_0xaefa8b['shift']());}catch(_0x59ddca){_0xaefa8b['push'](_0xaefa8b['shift']());}}}(_0x55d7,0xb2c7e));import{Plugin as _0x420643}from'ckeditor5/src/core.js';function _0x56be(_0x29a153,_0x113a4b){const _0x55d789=_0x55d7();return _0x56be=function(_0x56bee4,_0x1ab2c7){_0x56bee4=_0x56bee4-0x116;let _0x5fac7=_0x55d789[_0x56bee4];return _0x5fac7;},_0x56be(_0x29a153,_0x113a4b);}import{global as _0x456a78,DomEmitterMixin as _0x13fe45}from'ckeditor5/src/utils.js';import{Sessions as _0x2df1ed}from'./sessions.js';import{ModelLiveRange as _0x153383}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x420643{[_0x559e8d(0x122)]=new(_0x13fe45())();static get[_0x559e8d(0x17d)](){return[_0x2df1ed];}static get[_0x559e8d(0x185)](){const _0x139e8f=_0x559e8d;return _0x139e8f(0x154);}static get[_0x559e8d(0x17c)](){return!0x0;}static get[_0x559e8d(0x12b)](){return!0x0;}[_0x559e8d(0x11d)](){const _0x4fe195=_0x559e8d,_0x6fbc6d=this[_0x4fe195(0x160)],_0x419444=_0x6fbc6d[_0x4fe195(0x135)][_0x4fe195(0x129)](_0x2df1ed);_0x6fbc6d[_0x4fe195(0x18a)][_0x4fe195(0x1a2)](_0x4fe195(0x150))[_0x4fe195(0x19d)]({'model':_0x4fe195(0x1a0),'view':(_0x10d9d9,{writer:_0x288073})=>function(_0x8f4598,_0xcd2495,_0x169f1c,_0x504f2f){const _0x577ded=_0x4fe195,_0x3a2860=_0x8f4598[_0x577ded(0x18b)][_0x577ded(0x11e)](':')[0x2],_0x3ac7ad=_0x169f1c[_0x577ded(0x19c)](_0x3a2860);if(!_0x3ac7ad||_0x3a2860===_0x169f1c[_0x577ded(0x177)])return;if(!_0x504f2f[_0x577ded(0x157)][_0x577ded(0x141)][_0x577ded(0x19f)](_0x8f4598[_0x577ded(0x145)][_0x577ded(0x159)],_0x577ded(0x188)))return;const _0x129f6f={'class':_0x577ded(0x199)+_0x3ac7ad[_0x577ded(0x117)][_0x577ded(0x139)](),'data-name':_0x3ac7ad[_0x577ded(0x123)],'data-session-id':_0x3a2860},_0x5a8fff=_0x504f2f[_0x577ded(0x157)][_0x577ded(0x14b)][_0x577ded(0x129)](_0x8f4598[_0x577ded(0x18b)]),_0xf061e7=_0x5a8fff[_0x577ded(0x191)](),_0x57f3d2=_0xf061e7[_0x577ded(0x15d)],_0x3dd8d7=_0x504f2f[_0x577ded(0x157)][_0x577ded(0x141)];if(_0x57f3d2&&_0x3dd8d7[_0x577ded(0x142)](_0x57f3d2)&&_0x3dd8d7[_0x577ded(0x195)](_0x57f3d2)&&!_0x504f2f[_0x577ded(0x157)][_0x577ded(0x14b)][_0x577ded(0x129)](_0x577ded(0x119)+_0x3a2860)[_0x577ded(0x147)]()[_0x577ded(0x170)])return;const _0x216598=_0xf061e7[_0x577ded(0x17b)];return _0x504f2f[_0x577ded(0x157)][_0x577ded(0x141)][_0x577ded(0x14f)](_0x216598)&&!_0x504f2f[_0x577ded(0x157)][_0x577ded(0x11f)](_0x216598)&&(_0x129f6f[_0x577ded(0x182)]=!0x1),function(_0x1574b3,_0x3ff069,_0x42f60f){const _0x1ebe5b=_0x577ded,_0x5060c6=_0x1574b3[_0x1ebe5b(0x144)](_0x1ebe5b(0x180),_0x3ff069);return _0x1574b3[_0x1ebe5b(0x158)](_0x1ebe5b(0x16e),!0x0,_0x5060c6),_0x5060c6[_0x1ebe5b(0x121)]=function(_0x502e19){const _0x221a49=_0x1ebe5b,_0x4e475c=this[_0x221a49(0x12a)](_0x502e19),_0x315511=document[_0x221a49(0x14c)](_0x221a49(0x180));return _0x315511[_0x221a49(0x14d)][_0x221a49(0x15a)](_0x221a49(0x16b)),_0x315511[_0x221a49(0x131)](_0x221a49(0x182),_0x221a49(0x168)),_0x315511[_0x221a49(0x131)](_0x221a49(0x17e),_0x221a49(0x168)),_0x315511[_0x221a49(0x187)]=_0x42f60f[_0x221a49(0x123)],_0x4e475c[_0x221a49(0x165)]=_0x221a49(0x181)+_0x315511[_0x221a49(0x132)]+'',_0x4e475c[_0x221a49(0x14a)](_0x221a49(0x186),()=>{const _0x18a39a=_0x221a49;_0x4e475c[_0x18a39a(0x14d)][_0x18a39a(0x15a)](_0x18a39a(0x196));}),_0x4e475c[_0x221a49(0x14a)](_0x221a49(0x161),()=>{const _0x58e061=_0x221a49;_0x4e475c[_0x58e061(0x14d)][_0x58e061(0x13a)](_0x58e061(0x196));}),_0x4e475c;},_0x5060c6[_0x1ebe5b(0x162)]=function(_0x5c1225){const _0x3d137a=_0x1ebe5b;return!(!this[_0x3d137a(0x189)](_0x3d137a(0x16e))||!_0x5c1225[_0x3d137a(0x189)](_0x3d137a(0x16e))||this[_0x3d137a(0x133)](_0x3d137a(0x197))!=_0x5c1225[_0x3d137a(0x133)](_0x3d137a(0x197)));},_0x5060c6;}(_0xcd2495,_0x129f6f,_0x3ac7ad);}(_0x10d9d9,_0x288073,_0x419444,_0x6fbc6d)}),_0x6fbc6d[_0x4fe195(0x18a)][_0x4fe195(0x1a2)](_0x4fe195(0x150))[_0x4fe195(0x19e)]({'model':_0x4fe195(0x18f),'view':_0x501738=>function(_0x273dc1,_0x7c71ed){const _0x2b8ef3=_0x4fe195,_0x1629ee=_0x273dc1[_0x2b8ef3(0x18b)][_0x2b8ef3(0x11e)](':')[0x2];if(_0x1629ee===_0x7c71ed[_0x2b8ef3(0x177)])return null;const _0x26a2f9=_0x7c71ed[_0x2b8ef3(0x19c)](_0x1629ee);if(!_0x26a2f9)return{'id':_0x1629ee,'classes':[]};return{'id':_0x1629ee,'classes':[_0x2b8ef3(0x148),_0x26a2f9[_0x2b8ef3(0x117)][_0x2b8ef3(0x183)]()],'attributes':{'data-session-id':_0x1629ee},'priority':0x7d0+_0x26a2f9[_0x2b8ef3(0x127)]};}(_0x501738,_0x419444)}),function(_0x3a856f){const _0x23bee7=_0x4fe195,_0xe607e8=_0x3a856f[_0x23bee7(0x157)],_0x4109b0=new Map(),_0x22b985=_0x3a856f[_0x23bee7(0x135)][_0x23bee7(0x129)](_0x2df1ed);_0xe607e8[_0x23bee7(0x14b)]['on'](_0x23bee7(0x171),(_0x3f67fd,_0x421c39,_0x197f78,_0x14ce88)=>{const _0x190dd1=_0x23bee7;if(!_0x14ce88&&_0x4109b0[_0x190dd1(0x129)](_0x421c39[_0x190dd1(0x123)]))return _0x4109b0[_0x190dd1(0x129)](_0x421c39[_0x190dd1(0x123)])[_0x190dd1(0x128)](),void _0x4109b0[_0x190dd1(0x174)](_0x421c39[_0x190dd1(0x123)]);const _0x5051a6=_0x421c39[_0x190dd1(0x123)][_0x190dd1(0x11e)](':')[0x2];if(_0x5051a6===_0x22b985[_0x190dd1(0x177)])return;const _0xda82bc=_0x190dd1(0x11a)+_0x5051a6;_0xe607e8[_0x190dd1(0x14b)][_0x190dd1(0x13f)](_0xda82bc)&&_0x3a856f[_0x190dd1(0x16f)][_0x190dd1(0x149)](_0xda82bc),_0x421c39['on'](_0x190dd1(0x153),(_0x38b79c,_0x5be864,_0x2388df)=>{const _0x362028=_0x190dd1;if(_0x362028(0x137)!=_0x5be864[_0x362028(0x136)][_0x362028(0x164)]&&_0x362028(0x137)==_0x421c39[_0x362028(0x147)]()[_0x362028(0x136)][_0x362028(0x164)]&&!_0x4109b0[_0x362028(0x13f)](_0x421c39[_0x362028(0x123)])){const _0x4b88f7=_0xe607e8[_0x362028(0x141)][_0x362028(0x15e)](_0x2388df[_0x362028(0x192)]);if(_0x4b88f7){const _0x5e722f=_0x153383[_0x362028(0x11b)](_0x4b88f7);_0x4109b0[_0x362028(0x12f)](_0x421c39[_0x362028(0x123)],_0x5e722f),_0x5e722f['on'](_0x362028(0x153),(_0x78df24,_0x488477,_0x43a31d)=>{const _0x402a5a=_0x362028;if(_0x402a5a(0x137)==_0x5e722f[_0x402a5a(0x136)][_0x402a5a(0x164)]){const _0x46235c=_0xe607e8[_0x402a5a(0x141)][_0x402a5a(0x15e)](_0x43a31d[_0x402a5a(0x192)]);_0x46235c?(_0x5e722f[_0x402a5a(0x159)]=_0x46235c[_0x402a5a(0x159)],_0x5e722f[_0x402a5a(0x126)]=_0x46235c[_0x402a5a(0x126)]):(_0x4109b0[_0x402a5a(0x174)](_0x421c39[_0x402a5a(0x123)]),_0x5e722f[_0x402a5a(0x128)]());}});}}});}),_0xe607e8[_0x23bee7(0x13d)]['on'](_0x23bee7(0x152),()=>{const _0x315a79=_0x23bee7;_0x4109b0[_0x315a79(0x198)]>0x0&&_0xe607e8[_0x315a79(0x194)]({'isUndoable':!0x1},_0x57b650=>{const _0x59f80c=_0x315a79;for(const [_0x4ce052,_0x3bd485]of _0x4109b0)_0x59f80c(0x137)==_0xe607e8[_0x59f80c(0x14b)][_0x59f80c(0x129)](_0x4ce052)[_0x59f80c(0x147)]()[_0x59f80c(0x136)][_0x59f80c(0x164)]&&(Z(_0x4ce052[_0x59f80c(0x11e)](':')[0x2],_0x3bd485[_0x59f80c(0x13b)](),_0xe607e8,_0x57b650),_0x3bd485[_0x59f80c(0x128)]());_0x4109b0[_0x59f80c(0x116)]();});});}(_0x6fbc6d),this[_0x4fe195(0x122)][_0x4fe195(0x120)](_0x456a78[_0x4fe195(0x13d)],_0x4fe195(0x134),(_0x55defa,{key:_0x4d34eb})=>{const _0x451b1e=_0x4fe195;_0x451b1e(0x151)===_0x4d34eb&&function(_0x56a218){const _0x21106f=_0x451b1e;_0x56a218[_0x21106f(0x16f)][_0x21106f(0x17f)][_0x21106f(0x152)](_0x4c7427=>{const _0x2dc302=_0x21106f;for(const _0xf5fda3 of _0x56a218[_0x2dc302(0x157)][_0x2dc302(0x14b)]){if(!_0xf5fda3[_0x2dc302(0x123)][_0x2dc302(0x190)](_0x2dc302(0x1a0)))continue;const _0x5e275f=_0x56a218[_0x2dc302(0x16f)][_0x2dc302(0x12e)][_0x2dc302(0x125)](_0xf5fda3[_0x2dc302(0x123)]);if(_0x5e275f){for(const _0x37f5ba of _0x5e275f)_0x4c7427[_0x2dc302(0x16c)](_0x2dc302(0x196),_0x37f5ba);}}});}(_0x6fbc6d);},{'useCapture':!0x0});}[_0x559e8d(0x138)](){const _0x2a9845=_0x559e8d,_0x4abcd7=this[_0x2a9845(0x160)],_0x270e82=_0x4abcd7[_0x2a9845(0x19a)][_0x2a9845(0x129)](_0x2a9845(0x175));_0x270e82&&_0x4abcd7[_0x2a9845(0x157)]['on'](_0x2a9845(0x15b),(_0x5cdfeb,_0x2889b5)=>{const _0x4d4202=_0x2a9845,_0x2cf725=_0x2889b5[0x0];if(!_0x2cf725[_0x4d4202(0x15f)])return;if(_0x4d4202(0x124)!=_0x2cf725[_0x4d4202(0x16d)]||!_0x2cf725[_0x4d4202(0x123)][_0x4d4202(0x190)](_0x4d4202(0x118)))return;const _0x4ea7e1=_0x2cf725[_0x4d4202(0x184)];_0x270e82[_0x4d4202(0x178)][_0x4d4202(0x13f)](_0x4ea7e1)&&(_0x2cf725[_0x4d4202(0x140)]=_0x2cf725[_0x4d4202(0x16a)]?_0x4abcd7[_0x4d4202(0x157)][_0x4d4202(0x15c)](_0x2cf725[_0x4d4202(0x16a)][_0x4d4202(0x159)],_0x2cf725[_0x4d4202(0x16a)][_0x4d4202(0x126)]):null);},{'priority':_0x2a9845(0x173)});}[_0x559e8d(0x19b)](){const _0x5b4ff3=_0x559e8d;return this[_0x5b4ff3(0x122)][_0x5b4ff3(0x167)](),super[_0x5b4ff3(0x19b)]();}[_0x559e8d(0x143)](){const _0xd94565=_0x559e8d,_0xda28c2=this[_0xd94565(0x160)],_0x1262bc=_0xda28c2[_0xd94565(0x157)][_0xd94565(0x13d)],_0x12f4df=_0xda28c2[_0xd94565(0x135)][_0xd94565(0x129)](_0x2df1ed);_0xda28c2[_0xd94565(0x157)][_0xd94565(0x194)]({'isUndoable':!0x1},_0x497bc2=>{const _0xa4dfad=_0xd94565,_0x39d06b=_0xa4dfad(0x119)+_0x12f4df[_0xa4dfad(0x177)],_0x37d971=_0xa4dfad(0x11a)+_0x12f4df[_0xa4dfad(0x177)],_0x512f6d=_0xda28c2[_0xa4dfad(0x157)][_0xa4dfad(0x14b)][_0xa4dfad(0x13f)](_0x39d06b);_0xda28c2[_0xa4dfad(0x16f)][_0xa4dfad(0x17f)][_0xa4dfad(0x13c)]?Z(_0x12f4df[_0xa4dfad(0x177)],_0x1262bc[_0xa4dfad(0x17a)][_0xa4dfad(0x13e)](),_0xda28c2[_0xa4dfad(0x157)],_0x497bc2):_0x512f6d&&(_0x497bc2[_0xa4dfad(0x18d)](_0x39d06b),_0x497bc2[_0xa4dfad(0x18d)](_0x37d971));});}}function Z(_0x34b39d,_0x7b826b,_0x5bbfc5,_0x10f455){const _0x50faea=_0x559e8d,_0x22c605=_0x50faea(0x119)+_0x34b39d,_0x46bb6a=_0x50faea(0x11a)+_0x34b39d,_0x1546e8=_0x7b826b[_0x50faea(0x18e)]();let _0x2e0399=_0x7b826b[_0x50faea(0x159)];if(_0x1546e8&&_0x1546e8['is'](_0x50faea(0x14e),_0x50faea(0x11c))){const _0x2865fc=function(_0x4444a7,_0xb5a05d){const _0x256b35=_0x50faea;for(const _0x604d73 of _0x4444a7[_0x256b35(0x12d)]())if(_0xb5a05d[_0x256b35(0x141)][_0x256b35(0x19f)](_0x604d73,_0x256b35(0x188)))return _0x604d73;}(_0x7b826b,_0x5bbfc5);_0x2865fc&&(_0x2e0399=_0x2865fc,_0x7b826b=_0x10f455[_0x50faea(0x15c)](_0x2e0399));}const _0x34a290=_0x10f455[_0x50faea(0x15c)](_0x2e0399);_0x5bbfc5[_0x50faea(0x14b)][_0x50faea(0x13f)](_0x22c605)?(_0x10f455[_0x50faea(0x193)](_0x22c605,{'range':_0x7b826b}),_0x10f455[_0x50faea(0x193)](_0x46bb6a,{'range':_0x34a290})):(_0x10f455[_0x50faea(0x155)](_0x22c605,{'range':_0x7b826b,'usingOperation':!0x0}),_0x10f455[_0x50faea(0x155)](_0x46bb6a,{'range':_0x34a290,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x4dfb00=_0x3934;(function(_0x2e93d3,_0x1187d5){const _0x2e6b69=_0x3934,_0x3df359=_0x2e93d3();while(!![]){try{const _0xb95331=-parseInt(_0x2e6b69(0x265))/0x1*(-parseInt(_0x2e6b69(0x22c))/0x2)+parseInt(_0x2e6b69(0x255))/0x3*(-parseInt(_0x2e6b69(0x269))/0x4)+parseInt(_0x2e6b69(0x1ea))/0x5*(parseInt(_0x2e6b69(0x25a))/0x6)+-parseInt(_0x2e6b69(0x235))/0x7*(-parseInt(_0x2e6b69(0x25f))/0x8)+parseInt(_0x2e6b69(0x263))/0x9+-parseInt(_0x2e6b69(0x20e))/0xa*(parseInt(_0x2e6b69(0x20f))/0xb)+parseInt(_0x2e6b69(0x1eb))/0xc*(-parseInt(_0x2e6b69(0x238))/0xd);if(_0xb95331===_0x1187d5)break;else _0x3df359['push'](_0x3df359['shift']());}catch(_0x5110cf){_0x3df359['push'](_0x3df359['shift']());}}}(_0x513d,0xeb0ac));import{Plugin as _0x4492f8}from'ckeditor5/src/core.js';import{global as _0x5839ed,DomEmitterMixin as _0x4ea7b6}from'ckeditor5/src/utils.js';import{Sessions as _0xdac61f}from'./sessions.js';function _0x3934(_0x29cc5e,_0x58eb93){const _0x513da5=_0x513d();return _0x3934=function(_0x3934f8,_0x59690d){_0x3934f8=_0x3934f8-0x1ea;let _0x4fb4a1=_0x513da5[_0x3934f8];return _0x4fb4a1;},_0x3934(_0x29cc5e,_0x58eb93);}import{ModelLiveRange as _0x45073f}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x4492f8{[_0x4dfb00(0x206)]=new(_0x4ea7b6())();static get[_0x4dfb00(0x24c)](){return[_0xdac61f];}static get[_0x4dfb00(0x211)](){const _0x2ea66c=_0x4dfb00;return _0x2ea66c(0x261);}static get[_0x4dfb00(0x273)](){return!0x0;}static get[_0x4dfb00(0x25d)](){return!0x0;}[_0x4dfb00(0x24e)](){const _0x13dd7f=_0x4dfb00,_0x368b20=this[_0x13dd7f(0x200)],_0x176fdb=_0x368b20[_0x13dd7f(0x234)][_0x13dd7f(0x237)](_0xdac61f);_0x368b20[_0x13dd7f(0x22a)][_0x13dd7f(0x231)](_0x13dd7f(0x212))[_0x13dd7f(0x21f)]({'model':_0x13dd7f(0x21c),'view':(_0x552595,{writer:_0x282be6})=>function(_0x3ca9fe,_0x5c9891,_0x3ce328,_0x469ec7){const _0x5b0fae=_0x13dd7f,_0x322f56=_0x3ca9fe[_0x5b0fae(0x21b)][_0x5b0fae(0x26d)](':')[0x2],_0x57a474=_0x3ce328[_0x5b0fae(0x208)](_0x322f56);if(!_0x57a474||_0x322f56===_0x3ce328[_0x5b0fae(0x257)])return;if(!_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1f9)][_0x5b0fae(0x256)](_0x3ca9fe[_0x5b0fae(0x1ee)][_0x5b0fae(0x262)],_0x5b0fae(0x25b)))return;const _0x3f0866={'class':_0x5b0fae(0x242)+_0x57a474[_0x5b0fae(0x20c)][_0x5b0fae(0x1f4)](),'data-name':_0x57a474[_0x5b0fae(0x223)],'data-session-id':_0x322f56},_0x587f6b=_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1fe)][_0x5b0fae(0x237)](_0x3ca9fe[_0x5b0fae(0x21b)]),_0x56db5f=_0x587f6b[_0x5b0fae(0x209)](),_0x35d210=_0x56db5f[_0x5b0fae(0x267)],_0x12f028=_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1f9)];if(_0x35d210&&_0x12f028[_0x5b0fae(0x23f)](_0x35d210)&&_0x12f028[_0x5b0fae(0x1f5)](_0x35d210)&&!_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1fe)][_0x5b0fae(0x237)](_0x5b0fae(0x23b)+_0x322f56)[_0x5b0fae(0x259)]()[_0x5b0fae(0x1ef)])return;const _0x4be421=_0x56db5f[_0x5b0fae(0x1fb)];return _0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x1f9)][_0x5b0fae(0x1f1)](_0x4be421)&&!_0x469ec7[_0x5b0fae(0x258)][_0x5b0fae(0x214)](_0x4be421)&&(_0x3f0866[_0x5b0fae(0x276)]=!0x1),function(_0x278ace,_0x5024dd,_0x327c60){const _0x43e3f7=_0x5b0fae,_0x2df39c=_0x278ace[_0x43e3f7(0x25e)](_0x43e3f7(0x201),_0x5024dd);return _0x278ace[_0x43e3f7(0x1fa)](_0x43e3f7(0x24a),!0x0,_0x2df39c),_0x2df39c[_0x43e3f7(0x244)]=function(_0x3758cd){const _0x366005=_0x43e3f7,_0x5cac49=this[_0x366005(0x218)](_0x3758cd),_0x38e5cd=document[_0x366005(0x1f3)](_0x366005(0x201));return _0x38e5cd[_0x366005(0x243)][_0x366005(0x204)](_0x366005(0x240)),_0x38e5cd[_0x366005(0x239)](_0x366005(0x276),_0x366005(0x224)),_0x38e5cd[_0x366005(0x239)](_0x366005(0x264),_0x366005(0x224)),_0x38e5cd[_0x366005(0x203)]=_0x327c60[_0x366005(0x223)],_0x5cac49[_0x366005(0x210)]=_0x366005(0x226)+_0x38e5cd[_0x366005(0x22e)]+'',_0x5cac49[_0x366005(0x24f)](_0x366005(0x253),()=>{const _0x3e3132=_0x366005;_0x5cac49[_0x3e3132(0x243)][_0x3e3132(0x204)](_0x3e3132(0x251));}),_0x5cac49[_0x366005(0x24f)](_0x366005(0x26b),()=>{const _0x5ec333=_0x366005;_0x5cac49[_0x5ec333(0x243)][_0x5ec333(0x26e)](_0x5ec333(0x251));}),_0x5cac49;},_0x2df39c[_0x43e3f7(0x24b)]=function(_0x349e46){const _0xa932b1=_0x43e3f7;return!(!this[_0xa932b1(0x21a)](_0xa932b1(0x24a))||!_0x349e46[_0xa932b1(0x21a)](_0xa932b1(0x24a))||this[_0xa932b1(0x248)](_0xa932b1(0x1f7))!=_0x349e46[_0xa932b1(0x248)](_0xa932b1(0x1f7)));},_0x2df39c;}(_0x5c9891,_0x3f0866,_0x57a474);}(_0x552595,_0x282be6,_0x176fdb,_0x368b20)}),_0x368b20[_0x13dd7f(0x22a)][_0x13dd7f(0x231)](_0x13dd7f(0x212))[_0x13dd7f(0x1fd)]({'model':_0x13dd7f(0x266),'view':_0x3f11ee=>function(_0x2a91e0,_0x412c69){const _0x516e99=_0x13dd7f,_0x403cdb=_0x2a91e0[_0x516e99(0x21b)][_0x516e99(0x26d)](':')[0x2];if(_0x403cdb===_0x412c69[_0x516e99(0x257)])return null;const _0x1d024d=_0x412c69[_0x516e99(0x208)](_0x403cdb);if(!_0x1d024d)return{'id':_0x403cdb,'classes':[]};return{'id':_0x403cdb,'classes':[_0x516e99(0x23e),_0x1d024d[_0x516e99(0x20c)][_0x516e99(0x1ed)]()],'attributes':{'data-session-id':_0x403cdb},'priority':0x7d0+_0x1d024d[_0x516e99(0x23c)]};}(_0x3f11ee,_0x176fdb)}),function(_0x5a39b3){const _0x5dc7a8=_0x13dd7f,_0xf58214=_0x5a39b3[_0x5dc7a8(0x258)],_0x1724f9=new Map(),_0x5cb2f7=_0x5a39b3[_0x5dc7a8(0x234)][_0x5dc7a8(0x237)](_0xdac61f);_0xf58214[_0x5dc7a8(0x1fe)]['on'](_0x5dc7a8(0x260),(_0x420104,_0x8f1c5a,_0x18bef2,_0x293d0f)=>{const _0x268134=_0x5dc7a8;if(!_0x293d0f&&_0x1724f9[_0x268134(0x237)](_0x8f1c5a[_0x268134(0x223)]))return _0x1724f9[_0x268134(0x237)](_0x8f1c5a[_0x268134(0x223)])[_0x268134(0x250)](),void _0x1724f9[_0x268134(0x1f6)](_0x8f1c5a[_0x268134(0x223)]);const _0x2691f0=_0x8f1c5a[_0x268134(0x223)][_0x268134(0x26d)](':')[0x2];if(_0x2691f0===_0x5cb2f7[_0x268134(0x257)])return;const _0x4fd487=_0x268134(0x268)+_0x2691f0;_0xf58214[_0x268134(0x1fe)][_0x268134(0x246)](_0x4fd487)&&_0x5a39b3[_0x268134(0x275)][_0x268134(0x216)](_0x4fd487),_0x8f1c5a['on'](_0x268134(0x247),(_0x7d60fa,_0xc209ac,_0x4659f6)=>{const _0x372a94=_0x268134;if(_0x372a94(0x225)!=_0xc209ac[_0x372a94(0x252)][_0x372a94(0x25c)]&&_0x372a94(0x225)==_0x8f1c5a[_0x372a94(0x259)]()[_0x372a94(0x252)][_0x372a94(0x25c)]&&!_0x1724f9[_0x372a94(0x246)](_0x8f1c5a[_0x372a94(0x223)])){const _0x59caa7=_0xf58214[_0x372a94(0x1f9)][_0x372a94(0x227)](_0x4659f6[_0x372a94(0x213)]);if(_0x59caa7){const _0x34385d=_0x45073f[_0x372a94(0x205)](_0x59caa7);_0x1724f9[_0x372a94(0x1f0)](_0x8f1c5a[_0x372a94(0x223)],_0x34385d),_0x34385d['on'](_0x372a94(0x247),(_0x2b7957,_0xd75904,_0x22068a)=>{const _0x410c08=_0x372a94;if(_0x410c08(0x225)==_0x34385d[_0x410c08(0x252)][_0x410c08(0x25c)]){const _0x521327=_0xf58214[_0x410c08(0x1f9)][_0x410c08(0x227)](_0x22068a[_0x410c08(0x213)]);_0x521327?(_0x34385d[_0x410c08(0x262)]=_0x521327[_0x410c08(0x262)],_0x34385d[_0x410c08(0x1ff)]=_0x521327[_0x410c08(0x1ff)]):(_0x1724f9[_0x410c08(0x1f6)](_0x8f1c5a[_0x410c08(0x223)]),_0x34385d[_0x410c08(0x250)]());}});}}});}),_0xf58214[_0x5dc7a8(0x274)]['on'](_0x5dc7a8(0x1f8),()=>{const _0x1ce641=_0x5dc7a8;_0x1724f9[_0x1ce641(0x1f2)]>0x0&&_0xf58214[_0x1ce641(0x1ec)]({'isUndoable':!0x1},_0x15fa54=>{const _0x534385=_0x1ce641;for(const [_0x4c5fc5,_0x412362]of _0x1724f9)_0x534385(0x225)==_0xf58214[_0x534385(0x1fe)][_0x534385(0x237)](_0x4c5fc5)[_0x534385(0x259)]()[_0x534385(0x252)][_0x534385(0x25c)]&&(J(_0x4c5fc5[_0x534385(0x26d)](':')[0x2],_0x412362[_0x534385(0x207)](),_0xf58214,_0x15fa54),_0x412362[_0x534385(0x250)]());_0x1724f9[_0x534385(0x241)]();});});}(_0x368b20),this[_0x13dd7f(0x206)][_0x13dd7f(0x217)](_0x5839ed[_0x13dd7f(0x274)],_0x13dd7f(0x245),(_0x2a21c2,{key:_0x21ffb6})=>{const _0x561513=_0x13dd7f;_0x561513(0x229)===_0x21ffb6&&function(_0x4b52ea){const _0x49d296=_0x561513;_0x4b52ea[_0x49d296(0x275)][_0x49d296(0x23a)][_0x49d296(0x1f8)](_0x525788=>{const _0x229ec0=_0x49d296;for(const _0x3a5dde of _0x4b52ea[_0x229ec0(0x258)][_0x229ec0(0x1fe)]){if(!_0x3a5dde[_0x229ec0(0x223)][_0x229ec0(0x21d)](_0x229ec0(0x21c)))continue;const _0x3c57d1=_0x4b52ea[_0x229ec0(0x275)][_0x229ec0(0x277)][_0x229ec0(0x26a)](_0x3a5dde[_0x229ec0(0x223)]);if(_0x3c57d1){for(const _0x40e70f of _0x3c57d1)_0x525788[_0x229ec0(0x233)](_0x229ec0(0x251),_0x40e70f);}}});}(_0x368b20);},{'useCapture':!0x0});}[_0x4dfb00(0x222)](){const _0x11fd0a=_0x4dfb00,_0x3ac310=this[_0x11fd0a(0x200)],_0x52594b=_0x3ac310[_0x11fd0a(0x202)][_0x11fd0a(0x237)](_0x11fd0a(0x21e));_0x52594b&&_0x3ac310[_0x11fd0a(0x258)]['on'](_0x11fd0a(0x249),(_0x2fc383,_0xf63631)=>{const _0x45e9ed=_0x11fd0a,_0x3d4920=_0xf63631[0x0];if(!_0x3d4920[_0x45e9ed(0x24d)])return;if(_0x45e9ed(0x20b)!=_0x3d4920[_0x45e9ed(0x230)]||!_0x3d4920[_0x45e9ed(0x223)][_0x45e9ed(0x21d)](_0x45e9ed(0x26f)))return;const _0x385c05=_0x3d4920[_0x45e9ed(0x271)];_0x52594b[_0x45e9ed(0x1fc)][_0x45e9ed(0x246)](_0x385c05)&&(_0x3d4920[_0x45e9ed(0x23d)]=_0x3d4920[_0x45e9ed(0x228)]?_0x3ac310[_0x45e9ed(0x258)][_0x45e9ed(0x215)](_0x3d4920[_0x45e9ed(0x228)][_0x45e9ed(0x262)],_0x3d4920[_0x45e9ed(0x228)][_0x45e9ed(0x1ff)]):null);},{'priority':_0x11fd0a(0x22f)});}[_0x4dfb00(0x220)](){const _0x22a651=_0x4dfb00;return this[_0x22a651(0x206)][_0x22a651(0x272)](),super[_0x22a651(0x220)]();}[_0x4dfb00(0x20d)](){const _0x15732e=_0x4dfb00,_0x2d114b=this[_0x15732e(0x200)],_0x502640=_0x2d114b[_0x15732e(0x258)][_0x15732e(0x274)],_0x519fce=_0x2d114b[_0x15732e(0x234)][_0x15732e(0x237)](_0xdac61f);_0x2d114b[_0x15732e(0x258)][_0x15732e(0x1ec)]({'isUndoable':!0x1},_0xab7d77=>{const _0xa6dea=_0x15732e,_0x3a7fcb=_0xa6dea(0x23b)+_0x519fce[_0xa6dea(0x257)],_0x4bb23a=_0xa6dea(0x268)+_0x519fce[_0xa6dea(0x257)],_0x3a6f4e=_0x2d114b[_0xa6dea(0x258)][_0xa6dea(0x1fe)][_0xa6dea(0x246)](_0x3a7fcb);_0x2d114b[_0xa6dea(0x275)][_0xa6dea(0x23a)][_0xa6dea(0x26c)]?J(_0x519fce[_0xa6dea(0x257)],_0x502640[_0xa6dea(0x22b)][_0xa6dea(0x22d)](),_0x2d114b[_0xa6dea(0x258)],_0xab7d77):_0x3a6f4e&&(_0xab7d77[_0xa6dea(0x232)](_0x3a7fcb),_0xab7d77[_0xa6dea(0x232)](_0x4bb23a));});}}function _0x513d(){const _0x4c9137=['user:position:','24724XVsFpd','markerNameToElements','mouseleave','hasDomSelection','split','remove','user:','updateMarker','batch','stopListening','isOfficialPlugin','document','editing','contenteditable','mapper','8053315TYiQKo','14177640luhcUx','enqueueChange','getSelectionClass','markerRange','isCollapsed','set','isLimit','size','createElement','getMarkerClass','isInline','delete','data-session-id','change','schema','setCustomProperty','parent','_createdBatches','markerToHighlight','markers','end','editor','span','commands','textContent','add','fromRange','_domEmitter','toRange','getUserBySessionId','getStart','getContainedElement','marker','color','createUserMarkerOperations','5450bRAbJR','18953KVKORD','innerHTML','pluginName','editingDowncast','deletionPosition','hasContent','createRange','reconvertMarker','listenTo','toDomElement','getPositions','getCustomProperty','markerName','user:position','startsWith','undo','markerToElement','destroy','element','afterInit','name','false','$graveyard','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','getNearestSelectionRange','oldRange','Escape','conversion','selection','8cbgxUG','getFirstRange','outerHTML','highest','type','for','removeMarker','removeClass','plugins','427uxCCLr','addMarker','get','26mFLFcq','setAttribute','view','user:range:','orderNumber','newRange','ck-user__selection','isObject','ck-user__marker-tooltip','clear','ck-user__marker\x20','classList','render','keydown','has','change:range','getAttribute','applyOperation','userPositionMarker','isSimilar','requires','isDocumentOperation','init','addEventListener','detach','ck-user__marker_hovered','root','mouseenter','tableCell','315mlUogs','checkChild','mySessionId','model','getRange','6ghYcVa','$text','rootName','isPremiumPlugin','createUIElement','218584JXKkSo','update:user:range','UserMarkers','start','13394358iRfoPx','spellcheck','37021oppkUs','user:range','nodeAfter'];_0x513d=function(){return _0x4c9137;};return _0x513d();}function J(_0x4a9db9,_0x3507b8,_0x550974,_0xa9cda9){const _0x3a7df9=_0x4dfb00,_0x41c35c=_0x3a7df9(0x23b)+_0x4a9db9,_0x535d73=_0x3a7df9(0x268)+_0x4a9db9,_0x342f36=_0x3507b8[_0x3a7df9(0x20a)]();let _0xb69df=_0x3507b8[_0x3a7df9(0x262)];if(_0x342f36&&_0x342f36['is'](_0x3a7df9(0x221),_0x3a7df9(0x254))){const _0xa2c393=function(_0x3edeae,_0x1b66dc){const _0x170652=_0x3a7df9;for(const _0x6f2f22 of _0x3edeae[_0x170652(0x219)]())if(_0x1b66dc[_0x170652(0x1f9)][_0x170652(0x256)](_0x6f2f22,_0x170652(0x25b)))return _0x6f2f22;}(_0x3507b8,_0x550974);_0xa2c393&&(_0xb69df=_0xa2c393,_0x3507b8=_0xa9cda9[_0x3a7df9(0x215)](_0xb69df));}const _0xfac617=_0xa9cda9[_0x3a7df9(0x215)](_0xb69df);_0x550974[_0x3a7df9(0x1fe)][_0x3a7df9(0x246)](_0x41c35c)?(_0xa9cda9[_0x3a7df9(0x270)](_0x41c35c,{'range':_0x3507b8}),_0xa9cda9[_0x3a7df9(0x270)](_0x535d73,{'range':_0xfac617})):(_0xa9cda9[_0x3a7df9(0x236)](_0x41c35c,{'range':_0x3507b8,'usingOperation':!0x0}),_0xa9cda9[_0x3a7df9(0x236)](_0x535d73,{'range':_0xfac617,'usingOperation':!0x0}));}
|