@ckeditor/ckeditor5-real-time-collaboration 47.3.0-alpha.6 → 47.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4574(){const _0x2d6b06=['removeAttribute','.ck-balloon-panel_with-arrow','change:hasPopup','presencelist:show','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','hasPopup','.ck-presence-list__dropdown-list','748528fXhAmz','createCollection','fire','isExpanded','render','63uvxdgU','element','presencelist:hide','set','keystrokes','182864ukDFyD','querySelector','contains','631449dhqqoC','408896vcAtux','setTemplate','186481lJyZHD','Connected\x20users\x20list','div','list','listenTo','aria-expanded','relatedTarget','focus','770262yQVjAB','474630kFaSqC','setAttribute','ck-presence-list__list','items'];_0x4574=function(){return _0x2d6b06;};return _0x4574();}const _0x1ba262=_0x2ec4;function _0x2ec4(_0x1e6dcb,_0x338057){const _0x457485=_0x4574();return _0x2ec4=function(_0x2ec4f7,_0x18a465){_0x2ec4f7=_0x2ec4f7-0x1de;let _0x2f5991=_0x457485[_0x2ec4f7];return _0x2f5991;},_0x2ec4(_0x1e6dcb,_0x338057);}(function(_0x243268,_0x46a30f){const _0x3b79f2=_0x2ec4,_0x2e6281=_0x243268();while(!![]){try{const _0x1c6d68=parseInt(_0x3b79f2(0x1f7))/0x1+parseInt(_0x3b79f2(0x1f5))/0x2+parseInt(_0x3b79f2(0x1f4))/0x3+-parseInt(_0x3b79f2(0x1e7))/0x4+parseInt(_0x3b79f2(0x200))/0x5+-parseInt(_0x3b79f2(0x1ff))/0x6+parseInt(_0x3b79f2(0x1ec))/0x7*(-parseInt(_0x3b79f2(0x1f1))/0x8);if(_0x1c6d68===_0x46a30f)break;else _0x2e6281['push'](_0x2e6281['shift']());}catch(_0x4b9285){_0x2e6281['push'](_0x2e6281['shift']());}}}(_0x4574,0x2ac03));import{View as _0x3de3aa}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x21d9dd}from'ckeditor5/src/utils.js';import{getTranslation as _0x2c7d68}from'../../common-translations.js';export class PresenceInlineListView extends _0x3de3aa{[_0x1ba262(0x1de)];[_0x1ba262(0x1f0)];constructor(_0x5c9183){const _0x397af8=_0x1ba262;super(_0x5c9183);const _0x354b26=this[_0x397af8(0x1e4)];this[_0x397af8(0x1de)]=this[_0x397af8(0x1e8)](),this[_0x397af8(0x1f0)]=new _0x21d9dd(),this[_0x397af8(0x1ef)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x397af8(0x1f6)]({'tag':_0x397af8(0x1f9),'attributes':{'aria-haspopup':_0x354b26['if'](_0x397af8(0x1e5)),'aria-expanded':_0x354b26['to'](_0x397af8(0x1ea),_0x28673b=>this[_0x397af8(0x1e5)]&&String(_0x28673b)),'aria-label':_0x354b26['to'](_0x397af8(0x1e5),_0x356faf=>_0x2c7d68(_0x5c9183,_0x356faf?_0x397af8(0x1e3):_0x397af8(0x1f8))),'role':_0x397af8(0x1fa),'tabindex':_0x354b26['to'](_0x397af8(0x1e5),_0x58e313=>!!_0x58e313&&0x0),'class':['ck',_0x397af8(0x202)]},'children':this[_0x397af8(0x1de)],'on':{'mouseenter':_0x354b26['to'](()=>this[_0x397af8(0x1e9)](_0x397af8(0x1e2))),'mouseleave':_0x354b26['to'](_0x1f08c7=>{const _0x1af93b=_0x397af8,_0x3668b8=_0x1f08c7,_0x58e679=document[_0x1af93b(0x1f2)](_0x1af93b(0x1e6)),_0x10d212=document[_0x1af93b(0x1f2)](_0x1af93b(0x1e0));_0x58e679?.[_0x1af93b(0x1f3)](_0x3668b8[_0x1af93b(0x1fd)])||_0x10d212?.[_0x1af93b(0x1f3)](_0x3668b8[_0x1af93b(0x1fd)])||this[_0x1af93b(0x1e9)](_0x1af93b(0x1ee));})}}),this['on'](_0x397af8(0x1e1),(_0x2af6a3,_0x28b420,_0xd5f652)=>{const _0x3e342b=_0x397af8;this[_0x3e342b(0x1ed)]&&(_0xd5f652?this[_0x3e342b(0x1ed)][_0x3e342b(0x201)](_0x3e342b(0x1fc),String(this[_0x3e342b(0x1ea)])):this[_0x3e342b(0x1ed)][_0x3e342b(0x1df)](_0x3e342b(0x1fc)));});}[_0x1ba262(0x1fe)](){const _0x3de6ee=_0x1ba262;this[_0x3de6ee(0x1ed)][_0x3de6ee(0x1fe)]();}[_0x1ba262(0x1eb)](){const _0x2f0bc2=_0x1ba262;super[_0x2f0bc2(0x1eb)](),this[_0x2f0bc2(0x1f0)][_0x2f0bc2(0x1fb)](this[_0x2f0bc2(0x1ed)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x295431=_0x3b12;function _0x2fb1(){const _0x4b3da3=['change','listenTo','first','isCollapsed','tooltipPosition','2457090IZeJNb','1413146TaTJKQ','items','ck-reset','locale','3152808XiPmuw','ck-rounded-corners','657648BFpXyI','24SFPSHC','ck-presence-list','235191pJxzpS','counterView','inlineListView','ck-presence-list--collapsed','1013654XHTFyq','bindTemplate','72nhLfWS','37413feAHUC','set','bind','setTemplate','div','hasPopup'];_0x2fb1=function(){return _0x4b3da3;};return _0x2fb1();}(function(_0x249710,_0x1ec11f){const _0x5c196c=_0x3b12,_0x51fc61=_0x249710();while(!![]){try{const _0x1aa2a2=-parseInt(_0x5c196c(0x171))/0x1+-parseInt(_0x5c196c(0x175))/0x2+-parseInt(_0x5c196c(0x178))/0x3*(parseInt(_0x5c196c(0x177))/0x4)+parseInt(_0x5c196c(0x183))/0x5+-parseInt(_0x5c196c(0x18a))/0x6+-parseInt(_0x5c196c(0x184))/0x7+-parseInt(_0x5c196c(0x18b))/0x8*(-parseInt(_0x5c196c(0x188))/0x9);if(_0x1aa2a2===_0x1ec11f)break;else _0x51fc61['push'](_0x51fc61['shift']());}catch(_0x99e5a8){_0x51fc61['push'](_0x51fc61['shift']());}}}(_0x2fb1,0x408b4));import{View as _0xfdaa94}from'ckeditor5/src/ui.js';function _0x3b12(_0x2277e6,_0x3ffb37){const _0x2fb160=_0x2fb1();return _0x3b12=function(_0x3b1264,_0x1155e6){_0x3b1264=_0x3b1264-0x170;let _0x258b7b=_0x2fb160[_0x3b1264];return _0x258b7b;},_0x3b12(_0x2277e6,_0x3ffb37);}import{PresenceCounterView as _0x4dc5b6}from'./presencecounterview.js';import{PresenceInlineListView as _0x3bae62}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0xfdaa94{[_0x295431(0x172)];[_0x295431(0x173)];constructor(_0x16a930,_0x35305f=0x6){const _0x11d375=_0x295431;super(_0x16a930);const _0x1f9dd8=this[_0x11d375(0x176)];this[_0x11d375(0x179)](_0x11d375(0x181),!0x0),this[_0x11d375(0x172)]=new _0x4dc5b6(this[_0x11d375(0x187)],_0x35305f),this[_0x11d375(0x173)]=new _0x3bae62(_0x16a930),this[_0x11d375(0x173)][_0x11d375(0x17a)](_0x11d375(0x17d))['to'](this,_0x11d375(0x181)),this[_0x11d375(0x17f)](this[_0x11d375(0x173)][_0x11d375(0x185)],_0x11d375(0x17e),()=>{const _0x5a9a04=_0x11d375;for(const _0xfb7cb0 of this[_0x5a9a04(0x173)][_0x5a9a04(0x185)])_0xfb7cb0[_0x5a9a04(0x182)]='s';this[_0x5a9a04(0x173)][_0x5a9a04(0x185)][_0x5a9a04(0x180)]&&(this[_0x5a9a04(0x173)][_0x5a9a04(0x185)][_0x5a9a04(0x180)][_0x5a9a04(0x182)]='se');}),this[_0x11d375(0x17b)]({'tag':_0x11d375(0x17c),'attributes':{'class':['ck',_0x11d375(0x170),_0x11d375(0x186),_0x11d375(0x189),_0x1f9dd8['if'](_0x11d375(0x181),_0x11d375(0x174))]},'children':[this[_0x11d375(0x173)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
var _0xd577be=_0x55cf;function _0x4a8d(){var _0x45de15=['14055734LORMeN','86dNHsSr','19102ZxDdXw','741MEyBGH','2848LMSUDp','8267JRqIUD','7864410moXvDU','pluginName','isOfficialPlugin','isPremiumPlugin','13564jUetZa','requires','5OJyQHG','4279284JxJWUu','PresenceList','264984ppRbrP'];_0x4a8d=function(){return _0x45de15;};return _0x4a8d();}(function(_0x18aa1a,_0x4b09e8){var _0x3e2f6e=_0x55cf,_0x28e80c=_0x18aa1a();while(!![]){try{var _0x5272a9=parseInt(_0x3e2f6e(0x11f))/0x1*(parseInt(_0x3e2f6e(0x120))/0x2)+parseInt(_0x3e2f6e(0x121))/0x3*(-parseInt(_0x3e2f6e(0x128))/0x4)+parseInt(_0x3e2f6e(0x11a))/0x5*(parseInt(_0x3e2f6e(0x11d))/0x6)+parseInt(_0x3e2f6e(0x123))/0x7*(parseInt(_0x3e2f6e(0x122))/0x8)+parseInt(_0x3e2f6e(0x11b))/0x9+parseInt(_0x3e2f6e(0x124))/0xa+-parseInt(_0x3e2f6e(0x11e))/0xb;if(_0x5272a9===_0x4b09e8)break;else _0x28e80c['push'](_0x28e80c['shift']());}catch(_0x44647a){_0x28e80c['push'](_0x28e80c['shift']());}}}(_0x4a8d,0x69994));import{ContextPlugin as _0x175c64}from'ckeditor5/src/core.js';import{Sessions as _0x1ef5b0}from'./realtimecollaborativeediting/sessions.js';function _0x55cf(_0x166a64,_0x14c1fc){var _0x4a8d7d=_0x4a8d();return _0x55cf=function(_0x55cf1f,_0x5350f2){_0x55cf1f=_0x55cf1f-0x119;var _0x2ab1d4=_0x4a8d7d[_0x55cf1f];return _0x2ab1d4;},_0x55cf(_0x166a64,_0x14c1fc);}import{PresenceListUI as _0x5b5e75}from'./presencelist/presencelistui.js';export class PresenceList extends _0x175c64{static get[_0xd577be(0x119)](){return[_0x1ef5b0,_0x5b5e75];}static get[_0xd577be(0x125)](){var _0x14833b=_0xd577be;return _0x14833b(0x11c);}static get[_0xd577be(0x126)](){return!0x0;}static get[_0xd577be(0x127)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x5f4268)());[_0x2391f3(0x145)];static get[_0x2391f3(0x15f)](){const _0x278fc4=_0x2391f3;return[_0x47d201,_0x278fc4(0x194),_0x436f47,_0x5549c8];}static get[_0x2391f3(0x17e)](){const _0x3712e4=_0x2391f3;return _0x3712e4(0x14a);}static get[_0x2391f3(0x154)](){return!0x0;}static get[_0x2391f3(0x183)](){return!0x0;}constructor(_0x3cbd78){const _0x5d2403=_0x2391f3;super(_0x3cbd78),this[_0x5d2403(0x145)]=new Map();}async[_0x2391f3(0x16c)](){const _0x10a3c0=_0x2391f3,_0x3b971=this[_0x10a3c0(0x15a)],_0x28b4fa=_0x3b971[_0x10a3c0(0x17b)][_0x10a3c0(0x143)](_0x10a3c0(0x194));if(_0x3b971[_0x10a3c0(0x17b)][_0x10a3c0(0x143)](_0x47d201)[_0x10a3c0(0x16a)](this),_0x28b4fa[_0x10a3c0(0x192)]={'addCommentThread':async({channelId:_0x97739b,threadId:_0xe609d7,comments:_0x1cf4bc,resolvedAt:_0x10fc82,resolvedBy:_0x227f21,context:_0x5ae0ca,attributes:_0x190927})=>{const _0x5baab1=_0x10a3c0,_0x3d6933=await this[_0x5baab1(0x18d)](_0x97739b)[_0x5baab1(0x13f)]({'commentThreadId':_0xe609d7,'comments':_0x1cf4bc[_0x5baab1(0x185)](_0x13d1af=>function(_0x3d49bf,_0x32af85,_0x264cb5){const _0x3ef20c=_0x5baab1;return{'commentThreadId':_0x264cb5,'commentId':_0x3d49bf[_0x3ef20c(0x167)],'userId':_0x3d49bf[_0x3ef20c(0x17f)],'content':_0x3d49bf[_0x3ef20c(0x175)],'documentId':_0x32af85,'createdAt':_0x3d49bf[_0x3ef20c(0x155)],'attributes':_0x3d49bf[_0x3ef20c(0x14c)]||{}};}(_0x13d1af,_0x97739b,_0xe609d7)),'resolvedAt':_0x10fc82,'resolvedBy':_0x227f21,'context':_0x5ae0ca,'attributes':_0x190927})[_0x5baab1(0x136)](T);return{'threadId':_0x3d6933[_0x5baab1(0x195)],'comments':_0x3d6933[_0x5baab1(0x170)]};},'getCommentThread':async({channelId:_0x179630,threadId:_0x2c4474})=>{const _0x5dc256=_0x10a3c0,_0x40a1b9=await this[_0x5dc256(0x18d)](_0x179630)[_0x5dc256(0x157)](_0x2c4474)[_0x5dc256(0x136)](ot)[_0x5dc256(0x136)](T);return _0x40a1b9?_0x40a1b9[_0x5dc256(0x148)]?null:(await this[_0x5dc256(0x18b)]([_0x40a1b9]),{'threadId':_0x40a1b9[_0x5dc256(0x195)],'comments':_0x40a1b9[_0x5dc256(0x170)][_0x5dc256(0x185)](nt),'context':_0x40a1b9[_0x5dc256(0x15a)],'resolvedAt':_0x40a1b9[_0x5dc256(0x199)],'resolvedBy':_0x40a1b9[_0x5dc256(0x153)],'attributes':_0x40a1b9[_0x5dc256(0x14c)]||{}}):null;},'updateCommentThread':async({channelId:_0xd8308,threadId:_0x2bd3de,context:_0xeb5254,unlinkedAt:_0x1ca04f,attributes:_0x235760})=>this[_0x10a3c0(0x18d)](_0xd8308)[_0x10a3c0(0x16e)]({'commentThreadId':_0x2bd3de,'context':_0xeb5254,'attributes':_0x235760,'unlinkedAt':_0x1ca04f})[_0x10a3c0(0x136)](ot)[_0x10a3c0(0x136)](T),'resolveCommentThread':async({channelId:_0xcdf114,threadId:_0x15a68a})=>{const _0x3a1b5f=_0x10a3c0,_0x5ccfdd=await this[_0x3a1b5f(0x18d)](_0xcdf114)[_0x3a1b5f(0x15c)](_0x15a68a)[_0x3a1b5f(0x136)](ot)[_0x3a1b5f(0x136)](T);return{'threadId':_0x5ccfdd[_0x3a1b5f(0x195)],'resolvedAt':_0x5ccfdd[_0x3a1b5f(0x199)],'resolvedBy':_0x5ccfdd[_0x3a1b5f(0x153)]};},'reopenCommentThread':async({channelId:_0x3bafa7,threadId:_0x431b94})=>this[_0x10a3c0(0x18d)](_0x3bafa7)[_0x10a3c0(0x14e)](_0x431b94)[_0x10a3c0(0x136)](ot)[_0x10a3c0(0x136)](T),'removeCommentThread':({channelId:_0x2915d,threadId:_0x5a393a})=>this[_0x10a3c0(0x18d)](_0x2915d)[_0x10a3c0(0x16f)](_0x5a393a)[_0x10a3c0(0x136)](ot)[_0x10a3c0(0x136)](T),'addComment':({channelId:_0x238a5e,threadId:_0x359163,commentId:_0x172a76,content:_0x279cc7,attributes:_0x5b6b2c})=>this[_0x10a3c0(0x18d)](_0x238a5e)[_0x10a3c0(0x17c)](_0x359163,_0x172a76,_0x279cc7,_0x5b6b2c)[_0x10a3c0(0x136)](T),'updateComment':({channelId:_0x54f86d,threadId:_0x1ba23e,commentId:_0x2ed9cd,content:_0xbabb0a,attributes:_0x4753f8})=>this[_0x10a3c0(0x18d)](_0x54f86d)[_0x10a3c0(0x193)](_0x1ba23e,_0x2ed9cd,_0xbabb0a,_0x4753f8)[_0x10a3c0(0x136)](ot)[_0x10a3c0(0x136)](T),'removeComment':({channelId:_0x1eb4f9,threadId:_0xf309e9,commentId:_0x1da846})=>this[_0x10a3c0(0x18d)](_0x1eb4f9)[_0x10a3c0(0x190)](_0xf309e9,_0x1da846)[_0x10a3c0(0x136)](ot)[_0x10a3c0(0x136)](T)},_0x3b971 instanceof _0x33dd66){const _0x54862d=_0x3b971[_0x10a3c0(0x17d)][_0x10a3c0(0x143)](_0x10a3c0(0x171)),_0x5358a6=_0x3b971[_0x10a3c0(0x17b)][_0x10a3c0(0x143)](_0x436f47);await this[_0x10a3c0(0x18f)](_0x54862d);const _0x255fed=await this[_0x10a3c0(0x145)][_0x10a3c0(0x143)](_0x54862d)[_0x10a3c0(0x15b)]();this[_0x10a3c0(0x197)](_0x5358a6,_0x10a3c0(0x172)+_0x54862d,(_0x39cd3f,{session:_0x69d02f})=>{const _0x4583d9=_0x10a3c0;_0x69d02f['id']===_0x5358a6[_0x4583d9(0x18c)]&&(_0x39cd3f[_0x4583d9(0x147)](),this[_0x4583d9(0x15a)][_0x4583d9(0x17b)][_0x4583d9(0x143)](_0x4583d9(0x13e))[_0x4583d9(0x142)](_0x69d02f[_0x4583d9(0x174)],_0x54862d));}),_0x5358a6[_0x10a3c0(0x198)](_0x54862d,_0x255fed);}}async[_0x2391f3(0x18f)](_0x45e4fa){const _0x128f88=_0x2391f3;if(this[_0x128f88(0x145)][_0x128f88(0x144)](_0x45e4fa))throw new _0x2e86b2(_0x128f88(0x13b),null,{'channelId':_0x45e4fa});const _0x1a9ee3=this[_0x128f88(0x15a)][_0x128f88(0x17b)][_0x128f88(0x143)](_0x128f88(0x194)),_0x461fed=new CloudServicesCommentsAdapter[(_0x128f88(0x159))](_0x45e4fa);this[_0x128f88(0x145)][_0x128f88(0x161)](_0x45e4fa,_0x461fed),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x173),(_0x4ee639,_0x397800)=>{const _0x540431=_0x128f88,{commentThreadId:_0x1fad5a,documentId:_0x1e7f2f,context:_0xb762da,attributes:_0x9b54fb,resolvedAt:_0x26e68a,resolvedBy:_0x4530fb,comments:_0x2bdb8e}=_0x397800;_0x1a9ee3[_0x540431(0x157)](_0x1fad5a)||_0x1a9ee3[_0x540431(0x13f)]({'threadId':_0x1fad5a,'channelId':_0x1e7f2f,'comments':_0x2bdb8e?_0x2bdb8e[_0x540431(0x185)](nt):[],'context':_0xb762da,'attributes':_0x9b54fb,'resolvedAt':_0x26e68a,'resolvedBy':_0x4530fb,'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x13d),(_0x587c0a,{commentThreadId:_0x3ba648,documentId:_0x4836fa,context:_0x13e6bb,unlinkedAt:_0xb20688,attributes:_0x1b6bee})=>{const _0x219550=_0x128f88;_0x1a9ee3[_0x219550(0x157)](_0x3ba648)&&_0x1a9ee3[_0x219550(0x16e)]({'threadId':_0x3ba648,'channelId':_0x4836fa,'context':_0x13e6bb,'unlinkedAt':_0xb20688,'attributes':_0x1b6bee,'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x191),(_0x16fef1,{commentThreadId:_0x40295b,resolvedBy:_0x343ae9,resolvedAt:_0x16f8cd})=>{const _0x4b8229=_0x128f88,_0x570965=_0x1a9ee3[_0x4b8229(0x157)](_0x40295b);_0x570965&&_0x570965[_0x4b8229(0x176)]({'resolvedBy':_0x343ae9,'resolvedAt':_0x16f8cd,'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x134),(_0x5e0e26,{commentThreadId:_0xc4b51e})=>{const _0x365eca=_0x128f88,_0x16c1c3=_0x1a9ee3[_0x365eca(0x157)](_0xc4b51e);_0x16c1c3&&_0x16c1c3[_0x365eca(0x189)]({'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x150),(_0x12e47f,{commentThreadId:_0x5da135})=>{const _0x140f32=_0x128f88,_0x567f02=_0x1a9ee3[_0x140f32(0x157)](_0x5da135);_0x567f02&&_0x567f02[_0x140f32(0x17a)]({'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x169),(_0x208f28,_0x414e63)=>{const _0x46a13a=_0x128f88,_0xa4c4cb=_0x414e63[_0x46a13a(0x195)],_0x1a90d8=_0x1a9ee3[_0x46a13a(0x157)](_0xa4c4cb);_0x1a90d8&&_0x1a90d8[_0x46a13a(0x17c)]({...nt(_0x414e63),'isFromAdapter':!0x0});}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x146),(_0xc698dc,{commentThreadId:_0x27125c,commentId:_0x4bffb5,content:_0x374b02,attributes:_0x1133ca})=>{const _0x2c18d2=_0x128f88,_0x3e9612=_0x1a9ee3[_0x2c18d2(0x157)](_0x27125c);if(_0x3e9612){const _0x47e5cc=_0x3e9612[_0x2c18d2(0x180)](_0x4bffb5);_0x47e5cc&&_0x47e5cc[_0x2c18d2(0x182)]({'content':_0x374b02,'attributes':_0x1133ca,'isFromAdapter':!0x0});}}),this[_0x128f88(0x197)](_0x461fed,_0x128f88(0x13c),(_0x3e3c86,{commentThreadId:_0x4e8c99,commentId:_0x28be86})=>{const _0x542e2e=_0x128f88,_0x5ae847=_0x1a9ee3[_0x542e2e(0x157)](_0x4e8c99);if(_0x5ae847){const _0x1b9ee0=_0x5ae847[_0x542e2e(0x180)](_0x28be86);_0x1b9ee0&&_0x1b9ee0[_0x542e2e(0x17a)]({'isFromAdapter':!0x0});}}),await this[_0x128f88(0x18a)](_0x45e4fa);}[_0x2391f3(0x152)](){const _0x91deba=_0x2391f3;if(this[_0x91deba(0x15a)]instanceof _0x33dd66){const _0xb83472=this[_0x91deba(0x15a)][_0x91deba(0x17d)][_0x91deba(0x143)](_0x91deba(0x171));this[_0x91deba(0x14f)](_0xb83472);}}[_0x2391f3(0x14f)](_0x1c760f){const _0x386449=_0x2391f3;if(!this[_0x386449(0x145)][_0x386449(0x144)](_0x1c760f))throw new _0x2e86b2(_0x386449(0x14b),null,{'channelId':_0x1c760f});this[_0x386449(0x18d)](_0x1c760f)[_0x386449(0x137)](),this[_0x386449(0x145)][_0x386449(0x186)](_0x1c760f);}async[_0x2391f3(0x168)](){const _0x50a344=_0x2391f3;for(const _0x431a96 of this[_0x50a344(0x145)][_0x50a344(0x188)]())await this[_0x50a344(0x18a)](_0x431a96);if(this[_0x50a344(0x15a)]instanceof _0x33dd66){const _0x1b778d=this[_0x50a344(0x15a)][_0x50a344(0x17d)][_0x50a344(0x143)](_0x50a344(0x171)),_0x44f4a7=this[_0x50a344(0x15a)][_0x50a344(0x17b)][_0x50a344(0x143)](_0x436f47);_0x44f4a7[_0x50a344(0x13a)](_0x1b778d);const _0x5df529=await this[_0x50a344(0x145)][_0x50a344(0x143)](_0x1b778d)[_0x50a344(0x15b)]();_0x44f4a7[_0x50a344(0x198)](_0x1b778d,_0x5df529);}}async[_0x2391f3(0x18a)](_0x3ef4a4){const _0x56256e=_0x2391f3,{connection:_0x1077c4}=this[_0x56256e(0x15a)][_0x56256e(0x17b)][_0x56256e(0x143)](_0x47d201),_0x4fc8be=this[_0x56256e(0x15a)][_0x56256e(0x17b)][_0x56256e(0x143)](_0x56256e(0x194)),_0x3712c9=this[_0x56256e(0x145)][_0x56256e(0x143)](_0x3ef4a4),_0x5bc418=await _0x3712c9[_0x56256e(0x15e)](_0x1077c4);await this[_0x56256e(0x18b)](_0x5bc418);const _0xf86890=new Set(Array[_0x56256e(0x149)](_0x4fc8be[_0x56256e(0x196)]({'channelId':_0x3ef4a4}),_0xefd0c5=>_0xefd0c5['id']));for(const _0xf1d068 of _0x5bc418)_0xf1d068[_0x56256e(0x148)]||_0xf86890[_0x56256e(0x186)](_0xf1d068[_0x56256e(0x195)]);for(const _0x31fea4 of _0xf86890)_0x4fc8be[_0x56256e(0x157)](_0x31fea4)[_0x56256e(0x17a)]({'isFromAdapter':!0x0});for(const _0x197e5a of _0x5bc418){let _0x2e34b9=_0x4fc8be[_0x56256e(0x157)](_0x197e5a[_0x56256e(0x195)]);const {commentThreadId:_0x5e327e,context:_0x4eb06b,attributes:_0x3cb767,resolvedBy:_0x4b0bcf,resolvedAt:_0x5e313a,unlinkedAt:_0x542e58,deletedAt:_0x178741}=_0x197e5a;if(_0x178741)continue;_0x2e34b9||(_0x2e34b9=_0x4fc8be[_0x56256e(0x13f)]({'channelId':_0x3ef4a4,'threadId':_0x5e327e,'context':_0x4eb06b,'attributes':_0x3cb767||{},'resolvedBy':_0x4b0bcf,'resolvedAt':_0x5e313a,'unlinkedAt':_0x542e58,'isFromAdapter':!0x0}));const _0x2f34a0=new Set(Array[_0x56256e(0x149)](_0x2e34b9[_0x56256e(0x170)],_0x5ca3a1=>_0x5ca3a1['id']));for(const _0x1c8307 of _0x197e5a[_0x56256e(0x170)])_0x2f34a0[_0x56256e(0x186)](_0x1c8307[_0x56256e(0x167)]);for(const _0x4dee37 of _0x2f34a0)_0x2e34b9[_0x56256e(0x180)](_0x4dee37)[_0x56256e(0x17a)]({'isFromAdapter':!0x0});for(const _0xe3dcad of _0x197e5a[_0x56256e(0x170)]){const _0x5ef52c=_0x2e34b9[_0x56256e(0x180)](_0xe3dcad[_0x56256e(0x167)]);_0x5ef52c?_0x5ef52c[_0x56256e(0x175)]!==_0xe3dcad[_0x56256e(0x175)]&&_0x5ef52c[_0x56256e(0x182)]({'content':_0xe3dcad[_0x56256e(0x175)],'isFromAdapter':!0x0}):_0x2e34b9[_0x56256e(0x17c)](Object[_0x56256e(0x15d)](nt(_0xe3dcad),{'isFromAdapter':!0x0}));}}}[_0x2391f3(0x18d)](_0x158d03){const _0x54735f=_0x2391f3;if(!this[_0x54735f(0x145)][_0x54735f(0x144)](_0x158d03))throw new _0x2e86b2(_0x54735f(0x160),null,{'channelId':_0x158d03});return this[_0x54735f(0x145)][_0x54735f(0x143)](_0x158d03);}async[_0x2391f3(0x18b)](_0x45e38b){const _0x2981c4=_0x2391f3,_0x96a28d=this[_0x2981c4(0x15a)][_0x2981c4(0x17b)][_0x2981c4(0x143)](_0x5549c8),{connection:_0x392c4a}=this[_0x2981c4(0x15a)][_0x2981c4(0x17b)][_0x2981c4(0x143)](_0x47d201),_0x116cac=new Set();for(const {resolvedBy:_0x192611,comments:_0x23f6ef}of _0x45e38b){_0x192611&&!_0x96a28d[_0x2981c4(0x187)](_0x192611)&&_0x116cac[_0x2981c4(0x184)](_0x192611);for(const {userId:_0x131a32}of _0x23f6ef)_0x96a28d[_0x2981c4(0x187)](_0x131a32)||_0x116cac[_0x2981c4(0x184)](_0x131a32);}if(0x0===_0x116cac[_0x2981c4(0x166)])return;const _0x543e4f=await _0x1e4af4[_0x2981c4(0x177)](_0x392c4a,Array[_0x2981c4(0x149)](_0x116cac));for(const _0x5a2c86 of _0x543e4f)_0x96a28d[_0x2981c4(0x187)](_0x5a2c86['id'])||_0x96a28d[_0x2981c4(0x181)](_0x5a2c86);}}async function ot(_0x4e3fc4){const _0x2894fd=_0x2391f3;if(_0x2894fd(0x156)!==_0x4e3fc4[_0x2894fd(0x151)])throw _0x4e3fc4;}function T(_0x482757){const _0x488431=_0x2391f3;if((_0x36b1d8=_0x482757)[_0x488431(0x16d)][_0x488431(0x138)](_0x488431(0x163))||_0x36b1d8[_0x488431(0x16d)][_0x488431(0x138)](_0x488431(0x165))||_0x36b1d8[_0x488431(0x16d)][_0x488431(0x138)](_0x488431(0x18e)))return new Promise(()=>{});var _0x36b1d8;throw _0x482757;}function _0x15d4(){const _0x33b798=['commentThreadAdded','permissions','content','resolve','getMany','20466270ShQXsq','3227103tIhQPE','remove','plugins','addComment','config','pluginName','authorId','getComment','addUser','update','isPremiumPlugin','add','map','delete','getUser','keys','reopen','_connectService','_fetchMissingUsersForThreads','mySessionId','_getService','cloud-services-internal-error:\x20Request\x20timeout.','_setUpService','removeComment','commentThreadResolved','adapter','updateComment','CommentsRepository','commentThreadId','getCommentThreads','listenTo','register','resolvedAt','5326842SxAygS','commentThreadReopened','480838RucEmN','catch','disconnect','startsWith','8112290xOzDlM','unregister','cloudservicescommentsadapter-connect-already-connected','commentRemoved','commentThreadUpdated','Permissions','addCommentThread','51008NtcsIo','168QRPmKz','setPermissions','get','has','_services','commentUpdated','off','deletedAt','from','CloudServicesCommentsAdapter','cloudservicescommentsadapter-disconnect-not-exist','attributes','userId','reopenCommentThread','_terminateService','commentThreadRemoved','code','destroy','resolvedBy','isOfficialPlugin','createdAt','404','getCommentThread','5kpqCpD','CommentsService','context','getConnectedSessions','resolveCommentThread','assign','connect','requires','cloudservicescommentsadapter-service-not-exist','set','52263hZjyxS','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','875mcqeSs','cloud-services-internal-error:\x20Not\x20connected.','size','commentId','reconnect','commentAdded','addToReconnectionStack','3mxOoFy','init','message','updateCommentThread','removeCommentThread','comments','collaboration.channelId','sessionAdd:'];_0x15d4=function(){return _0x33b798;};return _0x15d4();}function nt(_0xa93a74){const _0xcc8ad6=_0x2391f3;return{'threadId':_0xa93a74[_0xcc8ad6(0x195)],'commentId':_0xa93a74[_0xcc8ad6(0x167)],'content':_0xa93a74[_0xcc8ad6(0x175)],'createdAt':_0xa93a74[_0xcc8ad6(0x155)],'authorId':_0xa93a74[_0xcc8ad6(0x14d)],'attributes':_0xa93a74[_0xcc8ad6(0x14c)]||{}};}
|
|
23
|
+
const _0x4763ac=_0x2956;(function(_0x230330,_0x542ec8){const _0x77c316=_0x2956,_0x3faaee=_0x230330();while(!![]){try{const _0x178767=-parseInt(_0x77c316(0x17a))/0x1+-parseInt(_0x77c316(0x175))/0x2*(-parseInt(_0x77c316(0x187))/0x3)+parseInt(_0x77c316(0x198))/0x4*(-parseInt(_0x77c316(0x19a))/0x5)+-parseInt(_0x77c316(0x1b1))/0x6*(parseInt(_0x77c316(0x1a5))/0x7)+-parseInt(_0x77c316(0x19b))/0x8+parseInt(_0x77c316(0x194))/0x9+parseInt(_0x77c316(0x18c))/0xa;if(_0x178767===_0x542ec8)break;else _0x3faaee['push'](_0x3faaee['shift']());}catch(_0x1cdb73){_0x3faaee['push'](_0x3faaee['shift']());}}}(_0x327b,0x4cc24));import{Context as _0x2b5b33,ContextPlugin as _0x11a5c3}from'ckeditor5/src/core.js';import{CKEditorError as _0x17ac7e}from'ckeditor5/src/utils.js';import{Users as _0x1807da}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x5a5f91,User as _0x10724c}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xa0e232}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x195845}from'../realtimecollaborativeediting/sessions.js';export class CloudServicesCommentsAdapter extends _0x11a5c3{static [_0x4763ac(0x1c0)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5a5f91)());[_0x4763ac(0x1af)];static get[_0x4763ac(0x174)](){const _0x5da240=_0x4763ac;return[_0xa0e232,_0x5da240(0x1a0),_0x195845,_0x1807da];}static get[_0x4763ac(0x1cc)](){const _0xdaa20=_0x4763ac;return _0xdaa20(0x195);}static get[_0x4763ac(0x18f)](){return!0x0;}static get[_0x4763ac(0x1d0)](){return!0x0;}constructor(_0x2be149){const _0x57544c=_0x4763ac;super(_0x2be149),this[_0x57544c(0x1af)]=new Map();}async[_0x4763ac(0x19e)](){const _0x7d66e=_0x4763ac,_0x34c09c=this[_0x7d66e(0x1ad)],_0x4891cf=_0x34c09c[_0x7d66e(0x1d3)][_0x7d66e(0x1ac)](_0x7d66e(0x1a0));if(_0x34c09c[_0x7d66e(0x1d3)][_0x7d66e(0x1ac)](_0xa0e232)[_0x7d66e(0x189)](this),_0x4891cf[_0x7d66e(0x197)]={'addCommentThread':async({channelId:_0x2a6324,threadId:_0x548553,comments:_0x8086c5,resolvedAt:_0xd2016e,resolvedBy:_0x1df798,context:_0x522cab,attributes:_0x9aa698})=>{const _0x2eb25c=_0x7d66e,_0x41856e=await this[_0x2eb25c(0x1d4)](_0x2a6324)[_0x2eb25c(0x1c9)]({'commentThreadId':_0x548553,'comments':_0x8086c5[_0x2eb25c(0x18d)](_0x53052b=>function(_0x3f2ccc,_0x1eab3d,_0x18efe0){const _0x4399af=_0x2eb25c;return{'commentThreadId':_0x18efe0,'commentId':_0x3f2ccc[_0x4399af(0x1b7)],'userId':_0x3f2ccc[_0x4399af(0x1c2)],'content':_0x3f2ccc[_0x4399af(0x1a4)],'documentId':_0x1eab3d,'createdAt':_0x3f2ccc[_0x4399af(0x183)],'attributes':_0x3f2ccc[_0x4399af(0x185)]||{}};}(_0x53052b,_0x2a6324,_0x548553)),'resolvedAt':_0xd2016e,'resolvedBy':_0x1df798,'context':_0x522cab,'attributes':_0x9aa698})[_0x2eb25c(0x1ca)](k);return{'threadId':_0x41856e[_0x2eb25c(0x173)],'comments':_0x41856e[_0x2eb25c(0x172)]};},'getCommentThread':async({channelId:_0x1f0494,threadId:_0x5a45d3})=>{const _0x332e88=_0x7d66e,_0x33c935=await this[_0x332e88(0x1d4)](_0x1f0494)[_0x332e88(0x1bf)](_0x5a45d3)[_0x332e88(0x1ca)](F)[_0x332e88(0x1ca)](k);return _0x33c935?_0x33c935[_0x332e88(0x171)]?null:(await this[_0x332e88(0x18e)]([_0x33c935]),{'threadId':_0x33c935[_0x332e88(0x173)],'comments':_0x33c935[_0x332e88(0x172)][_0x332e88(0x18d)](S),'context':_0x33c935[_0x332e88(0x1ad)],'resolvedAt':_0x33c935[_0x332e88(0x1b5)],'resolvedBy':_0x33c935[_0x332e88(0x1c4)],'attributes':_0x33c935[_0x332e88(0x185)]||{}}):null;},'updateCommentThread':async({channelId:_0x242de5,threadId:_0x3797f4,context:_0x31f54e,unlinkedAt:_0xab0ae9,attributes:_0x41574d})=>this[_0x7d66e(0x1d4)](_0x242de5)[_0x7d66e(0x1b8)]({'commentThreadId':_0x3797f4,'context':_0x31f54e,'attributes':_0x41574d,'unlinkedAt':_0xab0ae9})[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'resolveCommentThread':async({channelId:_0x30de8a,threadId:_0x4e68e3})=>{const _0x137538=_0x7d66e,_0x15450d=await this[_0x137538(0x1d4)](_0x30de8a)[_0x137538(0x1ba)](_0x4e68e3)[_0x137538(0x1ca)](F)[_0x137538(0x1ca)](k);return{'threadId':_0x15450d[_0x137538(0x173)],'resolvedAt':_0x15450d[_0x137538(0x1b5)],'resolvedBy':_0x15450d[_0x137538(0x1c4)]};},'reopenCommentThread':async({channelId:_0x5abef6,threadId:_0x3522cc})=>this[_0x7d66e(0x1d4)](_0x5abef6)[_0x7d66e(0x1a1)](_0x3522cc)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'removeCommentThread':({channelId:_0x4312be,threadId:_0x3f6c37})=>this[_0x7d66e(0x1d4)](_0x4312be)[_0x7d66e(0x199)](_0x3f6c37)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'addComment':({channelId:_0x3f3730,threadId:_0x47e75c,commentId:_0x33cded,content:_0x4426b6,attributes:_0x3ed092})=>this[_0x7d66e(0x1d4)](_0x3f3730)[_0x7d66e(0x1a8)](_0x47e75c,_0x33cded,_0x4426b6,_0x3ed092)[_0x7d66e(0x1ca)](k),'updateComment':({channelId:_0x57129f,threadId:_0x4124fb,commentId:_0xf7761b,content:_0x34462f,attributes:_0x1702b7})=>this[_0x7d66e(0x1d4)](_0x57129f)[_0x7d66e(0x1a6)](_0x4124fb,_0xf7761b,_0x34462f,_0x1702b7)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k),'removeComment':({channelId:_0x106ebb,threadId:_0x32a42b,commentId:_0x4b2f82})=>this[_0x7d66e(0x1d4)](_0x106ebb)[_0x7d66e(0x1b3)](_0x32a42b,_0x4b2f82)[_0x7d66e(0x1ca)](F)[_0x7d66e(0x1ca)](k)},_0x34c09c instanceof _0x2b5b33){const _0x476a92=_0x34c09c[_0x7d66e(0x1aa)][_0x7d66e(0x1ac)](_0x7d66e(0x19d)),_0x44f309=_0x34c09c[_0x7d66e(0x1d3)][_0x7d66e(0x1ac)](_0x195845);await this[_0x7d66e(0x1ae)](_0x476a92);const _0x43b5af=await this[_0x7d66e(0x1af)][_0x7d66e(0x1ac)](_0x476a92)[_0x7d66e(0x1bd)]();this[_0x7d66e(0x1bc)](_0x44f309,_0x7d66e(0x1ce)+_0x476a92,(_0x5536c1,{session:_0x86afc3})=>{const _0x39b4e2=_0x7d66e;_0x86afc3['id']===_0x44f309[_0x39b4e2(0x1a3)]&&(_0x5536c1[_0x39b4e2(0x170)](),this[_0x39b4e2(0x1ad)][_0x39b4e2(0x1d3)][_0x39b4e2(0x1ac)](_0x39b4e2(0x1b6))[_0x39b4e2(0x181)](_0x86afc3[_0x39b4e2(0x18b)],_0x476a92));}),_0x44f309[_0x7d66e(0x186)](_0x476a92,_0x43b5af);}}async[_0x4763ac(0x1ae)](_0x31d204){const _0x5913c4=_0x4763ac;if(this[_0x5913c4(0x1af)][_0x5913c4(0x17c)](_0x31d204))throw new _0x17ac7e(_0x5913c4(0x196),null,{'channelId':_0x31d204});const _0x6cb558=this[_0x5913c4(0x1ad)][_0x5913c4(0x1d3)][_0x5913c4(0x1ac)](_0x5913c4(0x1a0)),_0x36519a=new CloudServicesCommentsAdapter[(_0x5913c4(0x1c0))](_0x31d204);this[_0x5913c4(0x1af)][_0x5913c4(0x19c)](_0x31d204,_0x36519a),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x184),(_0x14d559,_0x452fb5)=>{const _0x4702d3=_0x5913c4,{commentThreadId:_0x3129dc,documentId:_0x4e587f,context:_0x1f801c,attributes:_0x5b3472,resolvedAt:_0x316f5d,resolvedBy:_0x32190b,comments:_0x47a133}=_0x452fb5;_0x6cb558[_0x4702d3(0x1bf)](_0x3129dc)||_0x6cb558[_0x4702d3(0x1c9)]({'threadId':_0x3129dc,'channelId':_0x4e587f,'comments':_0x47a133?_0x47a133[_0x4702d3(0x18d)](S):[],'context':_0x1f801c,'attributes':_0x5b3472,'resolvedAt':_0x316f5d,'resolvedBy':_0x32190b,'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x176),(_0x36c1eb,{commentThreadId:_0x3746f7,documentId:_0x2aa327,context:_0x37b29d,unlinkedAt:_0x47c8d4,attributes:_0x4c9d6d})=>{const _0x14f5fd=_0x5913c4;_0x6cb558[_0x14f5fd(0x1bf)](_0x3746f7)&&_0x6cb558[_0x14f5fd(0x1b8)]({'threadId':_0x3746f7,'channelId':_0x2aa327,'context':_0x37b29d,'unlinkedAt':_0x47c8d4,'attributes':_0x4c9d6d,'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1c6),(_0x12df43,{commentThreadId:_0x1bd62f,resolvedBy:_0x509f89,resolvedAt:_0x3e9acc})=>{const _0x172dd=_0x5913c4,_0x41e5b0=_0x6cb558[_0x172dd(0x1bf)](_0x1bd62f);_0x41e5b0&&_0x41e5b0[_0x172dd(0x1a7)]({'resolvedBy':_0x509f89,'resolvedAt':_0x3e9acc,'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1c8),(_0x1a54e,{commentThreadId:_0x219381})=>{const _0x499c22=_0x5913c4,_0x3acbae=_0x6cb558[_0x499c22(0x1bf)](_0x219381);_0x3acbae&&_0x3acbae[_0x499c22(0x188)]({'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x179),(_0x3b4c1c,{commentThreadId:_0x18d431})=>{const _0x618f21=_0x5913c4,_0x11faad=_0x6cb558[_0x618f21(0x1bf)](_0x18d431);_0x11faad&&_0x11faad[_0x618f21(0x190)]({'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x178),(_0x18249b,_0x6b67e)=>{const _0x29322c=_0x5913c4,_0x3ffe67=_0x6b67e[_0x29322c(0x173)],_0x2a5c30=_0x6cb558[_0x29322c(0x1bf)](_0x3ffe67);_0x2a5c30&&_0x2a5c30[_0x29322c(0x1a8)]({...S(_0x6b67e),'isFromAdapter':!0x0});}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1d2),(_0x99ef32,{commentThreadId:_0x312c93,commentId:_0x4ed431,content:_0x13871e,attributes:_0x36999f})=>{const _0x3285c9=_0x5913c4,_0x498ba0=_0x6cb558[_0x3285c9(0x1bf)](_0x312c93);if(_0x498ba0){const _0x561813=_0x498ba0[_0x3285c9(0x1d5)](_0x4ed431);_0x561813&&_0x561813[_0x3285c9(0x19f)]({'content':_0x13871e,'attributes':_0x36999f,'isFromAdapter':!0x0});}}),this[_0x5913c4(0x1bc)](_0x36519a,_0x5913c4(0x1a9),(_0x1e751d,{commentThreadId:_0xfff2b7,commentId:_0x28319c})=>{const _0x2d0293=_0x5913c4,_0x5445c8=_0x6cb558[_0x2d0293(0x1bf)](_0xfff2b7);if(_0x5445c8){const _0x33669f=_0x5445c8[_0x2d0293(0x1d5)](_0x28319c);_0x33669f&&_0x33669f[_0x2d0293(0x190)]({'isFromAdapter':!0x0});}}),await this[_0x5913c4(0x1ab)](_0x31d204);}[_0x4763ac(0x1b4)](){const _0x2eb2c6=_0x4763ac;if(this[_0x2eb2c6(0x1ad)]instanceof _0x2b5b33){const _0x16f286=this[_0x2eb2c6(0x1ad)][_0x2eb2c6(0x1aa)][_0x2eb2c6(0x1ac)](_0x2eb2c6(0x19d));this[_0x2eb2c6(0x1b9)](_0x16f286);}}[_0x4763ac(0x1b9)](_0x412077){const _0x1f60ba=_0x4763ac;if(!this[_0x1f60ba(0x1af)][_0x1f60ba(0x17c)](_0x412077))throw new _0x17ac7e(_0x1f60ba(0x1b2),null,{'channelId':_0x412077});this[_0x1f60ba(0x1d4)](_0x412077)[_0x1f60ba(0x1a2)](),this[_0x1f60ba(0x1af)][_0x1f60ba(0x1b0)](_0x412077);}async[_0x4763ac(0x1c5)](){const _0x28dcfe=_0x4763ac;for(const _0x2cfc96 of this[_0x28dcfe(0x1af)][_0x28dcfe(0x17e)]())await this[_0x28dcfe(0x1ab)](_0x2cfc96);if(this[_0x28dcfe(0x1ad)]instanceof _0x2b5b33){const _0x1e7e4e=this[_0x28dcfe(0x1ad)][_0x28dcfe(0x1aa)][_0x28dcfe(0x1ac)](_0x28dcfe(0x19d)),_0x3f4fb4=this[_0x28dcfe(0x1ad)][_0x28dcfe(0x1d3)][_0x28dcfe(0x1ac)](_0x195845);_0x3f4fb4[_0x28dcfe(0x180)](_0x1e7e4e);const _0x79796b=await this[_0x28dcfe(0x1af)][_0x28dcfe(0x1ac)](_0x1e7e4e)[_0x28dcfe(0x1bd)]();_0x3f4fb4[_0x28dcfe(0x186)](_0x1e7e4e,_0x79796b);}}async[_0x4763ac(0x1ab)](_0x1ddd1d){const _0x431d34=_0x4763ac,{connection:_0x161c41}=this[_0x431d34(0x1ad)][_0x431d34(0x1d3)][_0x431d34(0x1ac)](_0xa0e232),_0x4929f0=this[_0x431d34(0x1ad)][_0x431d34(0x1d3)][_0x431d34(0x1ac)](_0x431d34(0x1a0)),_0x4017c3=this[_0x431d34(0x1af)][_0x431d34(0x1ac)](_0x1ddd1d),_0x5e77fc=await _0x4017c3[_0x431d34(0x1cd)](_0x161c41);await this[_0x431d34(0x18e)](_0x5e77fc);const _0x1744f6=new Set(Array[_0x431d34(0x1cf)](_0x4929f0[_0x431d34(0x192)]({'channelId':_0x1ddd1d}),_0x43bb57=>_0x43bb57['id']));for(const _0x11c781 of _0x5e77fc)_0x11c781[_0x431d34(0x171)]||_0x1744f6[_0x431d34(0x1b0)](_0x11c781[_0x431d34(0x173)]);for(const _0x1f5f8e of _0x1744f6)_0x4929f0[_0x431d34(0x1bf)](_0x1f5f8e)[_0x431d34(0x190)]({'isFromAdapter':!0x0});for(const _0x54c851 of _0x5e77fc){let _0x2fb59c=_0x4929f0[_0x431d34(0x1bf)](_0x54c851[_0x431d34(0x173)]);const {commentThreadId:_0x21e442,context:_0x12f494,attributes:_0xcad316,resolvedBy:_0x56b4f6,resolvedAt:_0x7e8bc4,unlinkedAt:_0x22a01f,deletedAt:_0x1a6e0d}=_0x54c851;if(_0x1a6e0d)continue;_0x2fb59c||(_0x2fb59c=_0x4929f0[_0x431d34(0x1c9)]({'channelId':_0x1ddd1d,'threadId':_0x21e442,'context':_0x12f494,'attributes':_0xcad316||{},'resolvedBy':_0x56b4f6,'resolvedAt':_0x7e8bc4,'unlinkedAt':_0x22a01f,'isFromAdapter':!0x0}));const _0x56cb0c=new Set(Array[_0x431d34(0x1cf)](_0x2fb59c[_0x431d34(0x172)],_0x415ebf=>_0x415ebf['id']));for(const _0x549d81 of _0x54c851[_0x431d34(0x172)])_0x56cb0c[_0x431d34(0x1b0)](_0x549d81[_0x431d34(0x1b7)]);for(const _0x617f12 of _0x56cb0c)_0x2fb59c[_0x431d34(0x1d5)](_0x617f12)[_0x431d34(0x190)]({'isFromAdapter':!0x0});for(const _0x4d4b81 of _0x54c851[_0x431d34(0x172)]){const _0x25c40d=_0x2fb59c[_0x431d34(0x1d5)](_0x4d4b81[_0x431d34(0x1b7)]);_0x25c40d?_0x25c40d[_0x431d34(0x1a4)]!==_0x4d4b81[_0x431d34(0x1a4)]&&_0x25c40d[_0x431d34(0x19f)]({'content':_0x4d4b81[_0x431d34(0x1a4)],'isFromAdapter':!0x0}):_0x2fb59c[_0x431d34(0x1a8)](Object[_0x431d34(0x1cb)](S(_0x4d4b81),{'isFromAdapter':!0x0}));}}}[_0x4763ac(0x1d4)](_0x46337d){const _0x58e2f5=_0x4763ac;if(!this[_0x58e2f5(0x1af)][_0x58e2f5(0x17c)](_0x46337d))throw new _0x17ac7e(_0x58e2f5(0x17b),null,{'channelId':_0x46337d});return this[_0x58e2f5(0x1af)][_0x58e2f5(0x1ac)](_0x46337d);}async[_0x4763ac(0x18e)](_0x1274f1){const _0x2f817f=_0x4763ac,_0x12ebc9=this[_0x2f817f(0x1ad)][_0x2f817f(0x1d3)][_0x2f817f(0x1ac)](_0x1807da),{connection:_0x14fb6d}=this[_0x2f817f(0x1ad)][_0x2f817f(0x1d3)][_0x2f817f(0x1ac)](_0xa0e232),_0x3b29ad=new Set();for(const {resolvedBy:_0x28d5b1,comments:_0x14369c}of _0x1274f1){_0x28d5b1&&!_0x12ebc9[_0x2f817f(0x1c3)](_0x28d5b1)&&_0x3b29ad[_0x2f817f(0x193)](_0x28d5b1);for(const {userId:_0x22a68b}of _0x14369c)_0x12ebc9[_0x2f817f(0x1c3)](_0x22a68b)||_0x3b29ad[_0x2f817f(0x193)](_0x22a68b);}if(0x0===_0x3b29ad[_0x2f817f(0x182)])return;const _0x345470=await _0x10724c[_0x2f817f(0x1c7)](_0x14fb6d,Array[_0x2f817f(0x1cf)](_0x3b29ad));for(const _0x3e1eeb of _0x345470)_0x12ebc9[_0x2f817f(0x1c3)](_0x3e1eeb['id'])||_0x12ebc9[_0x2f817f(0x1bb)](_0x3e1eeb);}}function _0x327b(){const _0x2a2675=['removeComment','destroy','resolvedAt','Permissions','commentId','updateCommentThread','_terminateService','resolveCommentThread','addUser','listenTo','getConnectedSessions','cloud-services-internal-error:\x20Not\x20connected.','getCommentThread','CommentsService','startsWith','authorId','getUser','resolvedBy','reconnect','commentThreadResolved','getMany','commentThreadReopened','addCommentThread','catch','assign','pluginName','connect','sessionAdd:','from','isPremiumPlugin','userId','commentUpdated','plugins','_getService','getComment','off','deletedAt','comments','commentThreadId','requires','169876ebHguk','commentThreadUpdated','code','commentAdded','commentThreadRemoved','411571FsFQQn','cloudservicescommentsadapter-service-not-exist','has','404','keys','message','unregister','setPermissions','size','createdAt','commentThreadAdded','attributes','register','6qmjDDP','reopen','addToReconnectionStack','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','permissions','11268290mePTws','map','_fetchMissingUsersForThreads','isOfficialPlugin','remove','cloud-services-internal-error:\x20Request\x20timeout.','getCommentThreads','add','1109007hJphME','CloudServicesCommentsAdapter','cloudservicescommentsadapter-connect-already-connected','adapter','455016XVdQql','removeCommentThread','10VmkKrs','2955816tCFKsf','set','collaboration.channelId','init','update','CommentsRepository','reopenCommentThread','disconnect','mySessionId','content','84847NwGMhr','updateComment','resolve','addComment','commentRemoved','config','_connectService','get','context','_setUpService','_services','delete','48JAZgaz','cloudservicescommentsadapter-disconnect-not-exist'];_0x327b=function(){return _0x2a2675;};return _0x327b();}async function F(_0x4f93f1){const _0x3feade=_0x4763ac;if(_0x3feade(0x17d)!==_0x4f93f1[_0x3feade(0x177)])throw _0x4f93f1;}function k(_0x252d66){const _0x12d602=_0x4763ac;if((_0x1e1d2a=_0x252d66)[_0x12d602(0x17f)][_0x12d602(0x1c1)](_0x12d602(0x18a))||_0x1e1d2a[_0x12d602(0x17f)][_0x12d602(0x1c1)](_0x12d602(0x1be))||_0x1e1d2a[_0x12d602(0x17f)][_0x12d602(0x1c1)](_0x12d602(0x191)))return new Promise(()=>{});var _0x1e1d2a;throw _0x252d66;}function _0x2956(_0x100d47,_0x5acc34){const _0x327b53=_0x327b();return _0x2956=function(_0x29562b,_0x516ac3){_0x29562b=_0x29562b-0x170;let _0x20d0b5=_0x327b53[_0x29562b];return _0x20d0b5;},_0x2956(_0x100d47,_0x5acc34);}function S(_0x398210){const _0x3d045d=_0x4763ac;return{'threadId':_0x398210[_0x3d045d(0x173)],'commentId':_0x398210[_0x3d045d(0x1b7)],'content':_0x398210[_0x3d045d(0x1a4)],'createdAt':_0x398210[_0x3d045d(0x183)],'authorId':_0x398210[_0x3d045d(0x1d1)],'attributes':_0x398210[_0x3d045d(0x185)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x41d0df=_0x6ac6;(function(_0x415845,_0x3f8342){const _0x3d9476=_0x6ac6,_0x59af28=_0x415845();while(!![]){try{const _0x760c46=parseInt(_0x3d9476(0x175))/0x1+parseInt(_0x3d9476(0x165))/0x2+parseInt(_0x3d9476(0x169))/0x3*(parseInt(_0x3d9476(0x15f))/0x4)+-parseInt(_0x3d9476(0x15d))/0x5+-parseInt(_0x3d9476(0x16e))/0x6+-parseInt(_0x3d9476(0x171))/0x7+parseInt(_0x3d9476(0x166))/0x8*(parseInt(_0x3d9476(0x172))/0x9);if(_0x760c46===_0x3f8342)break;else _0x59af28['push'](_0x59af28['shift']());}catch(_0x2667dd){_0x59af28['push'](_0x59af28['shift']());}}}(_0x1e63,0x74d79));function _0x6ac6(_0x1dd0a3,_0x612b21){const _0x1e631d=_0x1e63();return _0x6ac6=function(_0x6ac61a,_0x551793){_0x6ac61a=_0x6ac61a-0x156;let _0x4ea790=_0x1e631d[_0x6ac61a];return _0x4ea790;},_0x6ac6(_0x1dd0a3,_0x612b21);}import{Plugin as _0x49fc47}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x4b14ad}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x1e63(){const _0x37e9f1=['RealTimeCollaborativeComments','isThreadsLoadingPaused','get','2936055YeVgIz','destroy','5948vWNdGb','requires','Comments','connected','_setUpService','isOfficialPlugin','786006bEGVSD','8weSkmj','editor','isPremiumPlugin','1524vNBrMf','_terminateService','init','data','pluginName','1555542kKqHds','once','plugins','5984986WvJxXf','5581053HSnowd','ready','CommentsRepository','411535BNybSi','change:state','CommentsEditing','collaboration.channelId','switchReadOnly','config','listenTo'];_0x1e63=function(){return _0x37e9f1;};return _0x1e63();}import{RealTimeCollaborativeEditing as _0x404fc7}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0xf1321b}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x49fc47{static get[_0x41d0df(0x160)](){const _0x373a6a=_0x41d0df;return[_0x373a6a(0x161),_0x4b14ad,_0x404fc7,_0xf1321b];}static get[_0x41d0df(0x16d)](){const _0x12e826=_0x41d0df;return _0x12e826(0x15a);}static get[_0x41d0df(0x164)](){return!0x0;}static get[_0x41d0df(0x168)](){return!0x0;}[_0x41d0df(0x16b)](){const _0x4e4e82=_0x41d0df,_0x4eb8f4=this[_0x4e4e82(0x167)][_0x4e4e82(0x170)][_0x4e4e82(0x15c)](_0xf1321b),_0x7975a0=this[_0x4e4e82(0x167)][_0x4e4e82(0x170)][_0x4e4e82(0x15c)](_0x4e4e82(0x177)),_0x218723=this[_0x4e4e82(0x167)][_0x4e4e82(0x170)][_0x4e4e82(0x15c)](_0x4b14ad);return this[_0x4e4e82(0x167)][_0x4e4e82(0x16c)][_0x4e4e82(0x16f)](_0x4e4e82(0x173),()=>{const _0x4e2c62=_0x4e4e82;this[_0x4e2c62(0x159)](_0x4eb8f4,_0x4e2c62(0x176),(_0x36b557,_0x2b0996,_0x14f559)=>{const _0x2c7b33=_0x4e2c62;_0x7975a0[_0x2c7b33(0x15b)]=_0x2c7b33(0x162)!==_0x14f559;});}),this[_0x4e4e82(0x159)](_0x4eb8f4,_0x4e4e82(0x176),(_0x22e3a4,_0x23127b,_0x5663f4)=>{const _0x84f7c7=_0x4e4e82;this[_0x84f7c7(0x167)][_0x84f7c7(0x170)][_0x84f7c7(0x15c)](_0x84f7c7(0x174))[_0x84f7c7(0x157)](_0x84f7c7(0x162)!==_0x5663f4);}),_0x218723[_0x4e4e82(0x163)](this[_0x4e4e82(0x167)][_0x4e4e82(0x158)][_0x4e4e82(0x15c)](_0x4e4e82(0x156)));}[_0x41d0df(0x15e)](){const _0x52ec2a=_0x41d0df;this[_0x52ec2a(0x167)][_0x52ec2a(0x170)][_0x52ec2a(0x15c)](_0x4b14ad)[_0x52ec2a(0x16a)](this[_0x52ec2a(0x167)][_0x52ec2a(0x158)][_0x52ec2a(0x15c)](_0x52ec2a(0x156))),super[_0x52ec2a(0x15e)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x209708)());[_0x30093b(0x14c)];[_0x30093b(0x132)];[_0x30093b(0xe1)];[_0x30093b(0x8d)];[_0x30093b(0x9f)];[_0x30093b(0xa8)];[_0x30093b(0x180)];[_0x30093b(0x15a)];[_0x30093b(0xeb)];[_0x30093b(0x8c)];[_0x30093b(0x90)];[_0x30093b(0xa1)];[_0x30093b(0x88)];[_0x30093b(0xe0)];[_0x30093b(0xa3)];[_0x30093b(0x12c)];[_0x30093b(0x108)];[_0x30093b(0x14a)];static get[_0x30093b(0xbe)](){return[_0x4e17db,_0x579f57,_0x4e5777,_0x126b7e,_0xe8e57,_0x2c114f];}static get[_0x30093b(0x117)](){const _0x350297=_0x30093b;return _0x350297(0x102);}static get[_0x30093b(0x176)](){return!0x0;}static get[_0x30093b(0xf2)](){return!0x0;}get[_0x30093b(0x16d)](){const _0x5f2640=_0x30093b;return this[_0x5f2640(0x17c)]+this[_0x5f2640(0x14c)];}get[_0x30093b(0x17c)](){const _0x512ea8=_0x30093b;return this[_0x512ea8(0xe1)][_0x512ea8(0x13f)]-this[_0x512ea8(0x14c)];}get[_0x30093b(0x143)](){const _0x3a0814=_0x30093b,_0xd56c7c=this[_0x3a0814(0xe1)][_0x3a0814(0x121)]();for(let _0x4f640d=_0xd56c7c[_0x3a0814(0xc4)]-0x1;_0x4f640d>=0x0;_0x4f640d--){const _0x5d3f1a=_0xd56c7c[_0x4f640d];if(!this[_0x3a0814(0x108)][_0x3a0814(0x109)](_0x5d3f1a))return _0x5d3f1a[_0x3a0814(0x10a)]+0x1-this[_0x3a0814(0x14c)];}return 0x0;}constructor(_0x2ab168){const _0xfec1f0=_0x30093b;if(super(_0x2ab168),this[_0xfec1f0(0x14c)]=0x0,this[_0xfec1f0(0x132)]=null,this[_0xfec1f0(0xe1)]=new _0x5e087d(),this[_0xfec1f0(0x145)][_0xfec1f0(0xe7)][_0xfec1f0(0xa9)](_0xfec1f0(0x114),{}),this[_0xfec1f0(0x8d)]=this[_0xfec1f0(0x145)][_0xfec1f0(0xe7)][_0xfec1f0(0x171)](_0xfec1f0(0x188)),!this[_0xfec1f0(0x8d)])throw new _0x4e864a(_0xfec1f0(0x126),this);const _0x86fd48=_0x2ab168[_0xfec1f0(0xe7)][_0xfec1f0(0x171)](_0xfec1f0(0x122))||_0x41a534;this[_0xfec1f0(0x9f)]=new RealTimeCollaborationClient[(_0xfec1f0(0xfb))](_0x86fd48,this[_0xfec1f0(0x8d)]),this[_0xfec1f0(0xa8)]=this[_0xfec1f0(0x145)][_0xfec1f0(0x13a)][_0xfec1f0(0x17e)],this[_0xfec1f0(0x180)]=new _0x307bf2(),this[_0xfec1f0(0x15a)]=[],this[_0xfec1f0(0xeb)]=new WeakSet(),this[_0xfec1f0(0x8c)]=new Set(),this[_0xfec1f0(0x8e)](_0xfec1f0(0x99),!0x1),this[_0xfec1f0(0x8e)](_0xfec1f0(0x12f),!0x1),this[_0xfec1f0(0x90)]=null,this[_0xfec1f0(0xa1)]=!0x1,this[_0xfec1f0(0x88)]=null,this[_0xfec1f0(0xe0)]=0x12c,this[_0xfec1f0(0xa3)]=this[_0xfec1f0(0xe0)],this[_0xfec1f0(0x12c)]=null,this[_0xfec1f0(0x108)]=new WeakSet(),this[_0xfec1f0(0x14a)]=new Q(this[_0xfec1f0(0x108)]);}[_0x30093b(0x89)](){const _0xd573b4=_0x30093b,_0x4097e3=this[_0xd573b4(0x145)],_0x315e6f=_0x4097e3[_0xd573b4(0x129)][_0xd573b4(0x171)](_0xe8e57),_0x5bed5f=_0x4097e3[_0xd573b4(0x129)][_0xd573b4(0x171)](_0x4e17db);this[_0xd573b4(0xde)](_0x315e6f,_0xd573b4(0x87),(_0x5da2f0,_0xfe2337)=>{const _0x370b2f=_0xd573b4,_0x1cb029=_0xfe2337[0x0];_0x1cb029[_0x370b2f(0x10b)]&&(_0x5da2f0[_0x370b2f(0xdb)]=_0x315e6f[_0x370b2f(0x155)](_0x1cb029[_0x370b2f(0x10b)]),_0x5da2f0[_0x370b2f(0x14d)]()),null===_0x1cb029[_0x370b2f(0x10b)]&&(_0x5da2f0[_0x370b2f(0xdb)]=null,_0x5da2f0[_0x370b2f(0x14d)]());},{'priority':_0xd573b4(0x15b)}),this[_0xd573b4(0xde)](_0x4097e3[_0xd573b4(0x13a)][_0xd573b4(0x17e)][_0xd573b4(0x144)],_0xd573b4(0x105),(_0x4d7981,_0x35413c)=>{const _0x81ba90=_0xd573b4;_0x35413c[_0x81ba90(0xd5)]&&this[_0x81ba90(0xb8)]();}),this[_0xd573b4(0xde)](_0x4097e3[_0xd573b4(0xee)][_0xd573b4(0xdd)],_0xd573b4(0x100),()=>{const _0x3b7ba6=_0xd573b4;this[_0x3b7ba6(0xb8)]();}),this[_0xd573b4(0x12d)](),_0x4097e3[_0xd573b4(0x13a)]['on'](_0xd573b4(0x13d),(_0x7b23d3,_0x165abf)=>{const _0x4639e6=_0xd573b4,_0x19667f=_0x165abf[0x0];_0x19667f[_0x4639e6(0xd4)]&&(this[_0x4639e6(0xaa)](_0x19667f),this[_0x4639e6(0x11b)]()&&this[_0x4639e6(0x146)]());}),this[_0xd573b4(0x13b)](),this[_0xd573b4(0x157)](_0xd573b4(0x128))['to'](_0x5bed5f,_0xd573b4(0x11c),this,_0xd573b4(0x12f),(_0x5894b3,_0x463052)=>_0xd573b4(0xfa)===_0x5894b3&&!_0x463052),this['on'](_0xd573b4(0xed),()=>{const _0x2f0973=_0xd573b4;this[_0x2f0973(0x128)]?_0x4097e3[_0x2f0973(0xba)](_0x2f0973(0x107)):_0x4097e3[_0x2f0973(0x165)](_0x2f0973(0x107));}),this[_0xd573b4(0x128)]?_0x4097e3[_0xd573b4(0xba)](_0xd573b4(0x107)):_0x4097e3[_0xd573b4(0x165)](_0xd573b4(0x107)),this[_0xd573b4(0x8e)](_0xd573b4(0xb5),!0x1);}async[_0x30093b(0xd7)](){const _0x2805f6=_0x30093b,_0x25ee4d=this[_0x2805f6(0x145)][_0x2805f6(0x129)][_0x2805f6(0x171)](_0x579f57),_0x562dbf=this[_0x2805f6(0x145)][_0x2805f6(0x129)][_0x2805f6(0x171)](_0x4e17db);try{this[_0x2805f6(0x99)]=!0x0,_0x25ee4d[_0x2805f6(0xa6)](this[_0x2805f6(0x8d)]);const _0x30dbc1=await this[_0x2805f6(0x9f)][_0x2805f6(0xd7)](_0x562dbf[_0x2805f6(0x103)],this[_0x2805f6(0x143)]);await this[_0x2805f6(0xfc)](_0x30dbc1)&&(this[_0x2805f6(0x99)]=!0x1,this[_0x2805f6(0xd2)]());const _0x4114f2=await this[_0x2805f6(0x9f)][_0x2805f6(0x173)]();_0x25ee4d[_0x2805f6(0xbf)](this[_0x2805f6(0x8d)],_0x4114f2),this[_0x2805f6(0x17d)](),this[_0x2805f6(0xb5)]=!0x0;}catch(_0xb75cca){if(function(_0x3dfdf1){const _0x243c7a=_0x2805f6;return _0x243c7a(0x12a)===_0x3dfdf1[_0x243c7a(0xd6)];}(_0xb75cca)&&this[_0x2805f6(0x132)])await this[_0x2805f6(0x17f)]();else{if(function(_0x2e7d81){const _0x4acdfc=_0x2805f6;return _0x4acdfc(0xe6)===_0x2e7d81[_0x4acdfc(0xd6)];}(_0xb75cca)){const _0x29a2e5=_0x1a7925(this[_0x2805f6(0x145)][_0x2805f6(0x11e)],_0x2805f6(0x159));this[_0x2805f6(0x161)](_0x29a2e5);}else{if(!(_0xb75cca instanceof K))throw _0xb75cca;this[_0x2805f6(0x161)]();}}}}[_0x30093b(0xec)](){const _0x6e0bcc=_0x30093b,_0x4b3835=this[_0x6e0bcc(0x145)][_0x6e0bcc(0x129)][_0x6e0bcc(0x171)](_0x4e17db),_0x6be8f4=this[_0x6e0bcc(0x145)][_0x6e0bcc(0x129)][_0x6e0bcc(0x171)](_0x579f57);this[_0x6e0bcc(0x145)][_0x6e0bcc(0x165)](_0x6e0bcc(0xf4)),_0x6be8f4[_0x6e0bcc(0x104)][_0x6e0bcc(0x109)](this[_0x6e0bcc(0x8d)])&&_0x6be8f4[_0x6e0bcc(0xa6)](this[_0x6e0bcc(0x8d)]),_0x4b3835[_0x6e0bcc(0x152)](this),this[_0x6e0bcc(0x8a)](),super[_0x6e0bcc(0xec)]();}async[_0x30093b(0xfc)](_0xb3b36a){const _0x374fd6=_0x30093b;if(this[_0x374fd6(0x132)]!==_0xb3b36a[_0x374fd6(0x132)]&&this[_0x374fd6(0x12c)]!==_0xb3b36a[_0x374fd6(0x10e)])throw new K();return this[_0x374fd6(0x132)]=_0xb3b36a[_0x374fd6(0x132)],this[_0x374fd6(0x189)]([],{..._0xb3b36a,'wereChangesApplied':!0x1,'data':_0xb3b36a[_0x374fd6(0x15c)]},_0x374fd6(0xd7));}async[_0x30093b(0x112)](_0x2e048a,_0xe093cc=!0x1){const _0x3e50c2=_0x30093b,{connection:_0x1e48f5}=this[_0x3e50c2(0x145)][_0x3e50c2(0x129)][_0x3e50c2(0x171)](_0x4e17db);RealTimeCollaborationClient[_0x3e50c2(0xfb)][_0x3e50c2(0x173)](_0x1e48f5,this[_0x3e50c2(0x8d)])[_0x3e50c2(0x120)](_0x5557d3=>this[_0x3e50c2(0xdf)](_0x5557d3))[_0x3e50c2(0x14f)](_0x3e4a55=>{const _0x10efb0=_0x3e50c2;this[_0x10efb0(0x95)](_0x10efb0(0x154),_0x3e4a55);}),this[_0x3e50c2(0xde)](this[_0x3e50c2(0x9f)],_0x3e50c2(0x111),this[_0x3e50c2(0x183)][_0x3e50c2(0x157)](this)),this[_0x3e50c2(0xde)](this[_0x3e50c2(0x9f)],_0x3e50c2(0x182),(_0x36d363,_0x5274f0)=>{const _0x3a8718=_0x3e50c2;this[_0x3a8718(0x95)](_0x3a8718(0x119),_0x5274f0);}),this[_0x3e50c2(0xde)](this[_0x3e50c2(0x9f)],_0x3e50c2(0xf0),()=>{const _0x53bc2e=_0x3e50c2;this[_0x53bc2e(0xb5)]=!0x1;});const _0x101f5b=this[_0x3e50c2(0x14a)][_0x3e50c2(0x123)](_0x2e048a);this[_0x3e50c2(0x99)]=!0x0;const _0x1bef62=await this[_0x3e50c2(0x9f)][_0x3e50c2(0x125)](_0x1e48f5,this[_0x3e50c2(0x141)](_0x2e048a),_0x101f5b);if(this[_0x3e50c2(0x132)]=_0x1bef62[_0x3e50c2(0x132)],_0xe093cc){if(!_0x1bef62[_0x3e50c2(0x138)])return void this[_0x3e50c2(0x161)]();this[_0x3e50c2(0x99)]=!0x1,this[_0x3e50c2(0xd2)](),this[_0x3e50c2(0xe1)][_0x3e50c2(0x162)](),this[_0x3e50c2(0x14c)]=_0x1bef62[_0x3e50c2(0xcc)],this[_0x3e50c2(0xe1)][_0x3e50c2(0x13f)]=this[_0x3e50c2(0x14c)],await this[_0x3e50c2(0x189)](_0x2e048a,_0x1bef62,_0x3e50c2(0x175));}else await this[_0x3e50c2(0x9a)](_0x1bef62,_0x2e048a);this[_0x3e50c2(0x17d)](),this[_0x3e50c2(0xb5)]=!0x0;}[_0x30093b(0x17d)](){const _0x4ec8c9=_0x30093b,_0x257318=this[_0x4ec8c9(0x145)][_0x4ec8c9(0x129)][_0x4ec8c9(0x171)](_0x579f57),_0x40c878=this[_0x4ec8c9(0x145)][_0x4ec8c9(0x129)][_0x4ec8c9(0x171)](_0x4e5777),_0x42450a=_0x257318[_0x4ec8c9(0x104)][_0x4ec8c9(0x171)](this[_0x4ec8c9(0x8d)]);_0x42450a&&_0x42450a[_0x4ec8c9(0xc4)]>0x1?_0x40c878[_0x4ec8c9(0x12b)]():this[_0x4ec8c9(0xde)](_0x257318,_0x4ec8c9(0x169)+this[_0x4ec8c9(0x8d)],()=>{const _0x50c243=_0x4ec8c9;0x2===_0x257318[_0x50c243(0x104)][_0x50c243(0x171)](this[_0x50c243(0x8d)])[_0x50c243(0xc4)]&&_0x40c878[_0x50c243(0x12b)]();});}async[_0x30093b(0x183)](_0x277da2,_0x5e069d,_0x41c7d4,_0x4d534c){const _0x23ed6c=_0x30093b;if(!this[_0x23ed6c(0x99)]&&this[_0x23ed6c(0xa8)][_0x23ed6c(0x13f)]==_0x5e069d){const _0x3882a1=this[_0x23ed6c(0xf1)](_0x41c7d4,_0x4d534c);await this[_0x23ed6c(0xf8)](_0x3882a1),this[_0x23ed6c(0xca)](_0x3882a1,_0x5e069d,_0x41c7d4[_0x23ed6c(0x10e)])||this[_0x23ed6c(0x95)](_0x23ed6c(0x12e));}}async[_0x30093b(0x17f)](){const _0x2b7490=_0x30093b;this[_0x2b7490(0x8a)]();const {locale:_0x4a90d3}=this[_0x2b7490(0x145)];let _0x348420;try{_0x348420=await this[_0x2b7490(0x9f)][_0x2b7490(0x178)]();}catch{const _0x2db13b=_0x1a7925(_0x4a90d3,_0x2b7490(0xa5));return void this[_0x2b7490(0x161)](_0x2db13b);}const _0x3b6c82=_0x348420[_0x2b7490(0x93)]||_0x348420[_0x2b7490(0x127)];if(this[_0x2b7490(0x12c)]!==_0x3b6c82[_0x2b7490(0x10e)]){const _0x4fbfde=_0x1a7925(_0x4a90d3,_0x2b7490(0x16f));return void this[_0x2b7490(0x161)](_0x4fbfde);}await this[_0x2b7490(0x112)](this[_0x2b7490(0x145)][_0x2b7490(0x13a)][_0x2b7490(0x17e)][_0x2b7490(0x137)][_0x2b7490(0x121)](),!0x0);}[_0x30093b(0x8a)](){const _0x530626=_0x30093b;this[_0x530626(0x9f)][_0x530626(0xf9)](),this[_0x530626(0x15a)]=[],clearTimeout(this[_0x530626(0x88)]),this[_0x530626(0xb7)](this[_0x530626(0x9f)]);}[_0x30093b(0xdf)](_0x17af6e){const _0x486c3a=_0x30093b,_0x55f6ae=this[_0x486c3a(0x145)][_0x486c3a(0x129)][_0x486c3a(0x171)](_0x579f57);this[_0x486c3a(0xde)](_0x55f6ae,_0x486c3a(0x169)+this[_0x486c3a(0x8d)],(_0x4dd45f,{session:_0x374b02})=>{const _0x2927dc=_0x486c3a;if(_0x374b02['id']===_0x55f6ae[_0x2927dc(0x106)]){_0x4dd45f[_0x2927dc(0x11d)]();const _0x456334=this[_0x2927dc(0x145)][_0x2927dc(0x129)][_0x2927dc(0x109)](_0x2927dc(0x170))&&this[_0x2927dc(0x145)][_0x2927dc(0x129)][_0x2927dc(0x171)](_0x2927dc(0x170));let _0x2dc9b6=_0x374b02[_0x2927dc(0x148)];_0x456334&&_0x456334[_0x2927dc(0xa4)]&&(_0x2dc9b6=_0x2dc9b6[_0x2927dc(0x142)](_0x299475=>_0x2927dc(0xb9)!==_0x299475)),this[_0x2927dc(0x145)][_0x2927dc(0x129)][_0x2927dc(0x171)](_0x2927dc(0x10f))[_0x2927dc(0xd1)](_0x2dc9b6,this[_0x2927dc(0x8d)]);}}),_0x55f6ae[_0x486c3a(0xbf)](this[_0x486c3a(0x8d)],_0x17af6e);}[_0x30093b(0x12d)](){const _0x5b6ca0=_0x30093b,_0x40c8de=this[_0x5b6ca0(0x145)][_0x5b6ca0(0x15c)][_0x5b6ca0(0x8e)];this[_0x5b6ca0(0x145)][_0x5b6ca0(0x15c)][_0x5b6ca0(0x8e)]=(..._0x57d7d9)=>{const _0x2f1b58=_0x5b6ca0;if(!_0x57d7d9[_0x57d7d9[_0x2f1b58(0xc4)]-0x1][_0x2f1b58(0xc7)])throw new _0x4e864a(_0x2f1b58(0xc9),this);_0x40c8de[_0x2f1b58(0xae)](this[_0x2f1b58(0x145)][_0x2f1b58(0x15c)],_0x57d7d9);};}[_0x30093b(0x13b)](){const _0x1d8429=_0x30093b;this[_0x1d8429(0x145)][_0x1d8429(0x15c)]['on'](_0x1d8429(0x89),(_0x4393c2,[_0x510f18])=>{const _0x36b32b=_0x1d8429;if(this[_0x36b32b(0xa8)][_0x36b32b(0x13f)])throw new _0x4e864a(_0x36b32b(0xdc),this);_0x4393c2[_0x36b32b(0x14d)](),this[_0x36b32b(0xd8)]();const _0x458a66=this[_0x36b32b(0x145)][_0x36b32b(0xe7)][_0x36b32b(0x171)](_0x36b32b(0x14e)),_0x4d8614=this[_0x36b32b(0x186)](_0x510f18,_0x458a66);0x0==_0x4d8614[_0x36b32b(0xc4)]&&_0x4d8614[_0x36b32b(0x16b)](new _0x34ebe8(0x0)),_0x4393c2[_0x36b32b(0xdb)]=this[_0x36b32b(0x112)](_0x4d8614)[_0x36b32b(0x120)](()=>{const _0x254900=_0x36b32b;this[_0x254900(0x145)][_0x254900(0x129)][_0x254900(0x171)](_0x4e17db)[_0x254900(0x101)](this),this[_0x254900(0x145)][_0x254900(0x15c)][_0x254900(0x18a)](_0x254900(0xcd));})[_0x36b32b(0x14f)](_0x5808ae=>this[_0x36b32b(0x95)](_0x36b32b(0xe2),_0x5808ae))[_0x36b32b(0x94)](()=>this[_0x36b32b(0xd2)]());},{'priority':_0x1d8429(0x15b)}),this[_0x1d8429(0x145)]['on'](_0x1d8429(0xb4),async(_0x47f40c,[_0x174133,_0x43b09c])=>{const _0x5d039a=_0x1d8429;_0x47f40c[_0x5d039a(0x14d)]();const _0x21fb47=this[_0x5d039a(0x145)][_0x5d039a(0x13a)][_0x5d039a(0x17e)][_0x5d039a(0x15d)](_0x174133);if(!this[_0x5d039a(0x8c)][_0x5d039a(0x109)](_0x174133)){const _0x5e465b=_0x43b09c&&_0x43b09c[_0x5d039a(0x15c)]?_0x43b09c[_0x5d039a(0x15c)]:'',_0x4a5079=_0x43b09c&&_0x43b09c[_0x5d039a(0xbc)]?_0x43b09c[_0x5d039a(0xbc)]:{};await this[_0x5d039a(0x158)](_0x174133,_0x5e465b,_0x4a5079);}this[_0x5d039a(0x145)][_0x5d039a(0x13a)][_0x5d039a(0x156)]({'isUndoable':!0x1},()=>{const _0x17bc93=_0x5d039a;_0x21fb47[_0x17bc93(0x134)]=!0x0,this[_0x17bc93(0x145)][_0x17bc93(0x13a)][_0x17bc93(0x17e)][_0x17bc93(0x116)][_0x17bc93(0xc0)](_0x21fb47);});},{'priority':_0x1d8429(0x15b)});}async[_0x30093b(0xf8)](_0x3b52ec){const _0x27f05a=_0x30093b,_0x7aee06=this[_0x27f05a(0x145)][_0x27f05a(0x129)][_0x27f05a(0x171)](_0xe8e57),{connection:_0x30949b}=this[_0x27f05a(0x145)][_0x27f05a(0x129)][_0x27f05a(0x171)](_0x4e17db),_0x4eccab=new Set();for(const _0x108d9f of _0x3b52ec){const _0x14087d=_0x108d9f[_0x27f05a(0x10b)];_0x14087d&&!_0x7aee06[_0x27f05a(0x155)](_0x14087d)&&_0x4eccab[_0x27f05a(0x166)](_0x14087d);}if(0x0===_0x4eccab[_0x27f05a(0x130)])return;const _0x5c46f2=await _0x4f5753[_0x27f05a(0x10c)](_0x30949b,Array[_0x27f05a(0x9e)](_0x4eccab));for(const _0x19407f of _0x5c46f2)_0x7aee06[_0x27f05a(0x155)](_0x19407f['id'])||_0x7aee06[_0x27f05a(0xcf)](_0x19407f);}[_0x30093b(0x186)](_0xf2680c,_0x320173={}){const _0x3972ae=_0x30093b,_0x38a0dc=this[_0x3972ae(0x145)][_0x3972ae(0x13a)],_0x3919ce=[];let _0xefc233=0x0;const _0x37869d=_0x3972ae(0x10d)==typeof _0xf2680c?{'main':_0xf2680c}:_0xf2680c;for(const _0x2f7d27 of Object[_0x3972ae(0xc1)](_0x37869d)){if(!this[_0x3972ae(0xa8)][_0x3972ae(0xc8)][_0x3972ae(0x109)](_0x2f7d27))throw new _0x4e864a(_0x3972ae(0x17b),this);const _0x2916b6=this[_0x3972ae(0x145)][_0x3972ae(0x15c)][_0x3972ae(0x13c)](_0x37869d[_0x2f7d27]),_0x5ba548=this[_0x3972ae(0xa8)][_0x3972ae(0x15d)](_0x2f7d27),_0x5105cc=new _0x164400(_0x38a0dc[_0x3972ae(0xe8)](_0x5ba548,0x0),_0x2916b6,_0xefc233++);_0x3919ce[_0x3972ae(0x16b)](_0x5105cc);for(const [_0x17ee1e,_0x4900f2]of _0x2916b6[_0x3972ae(0x11a)]){const _0x2b27bf=_0x38a0dc[_0x3972ae(0xfe)](_0x38a0dc[_0x3972ae(0x113)](_0x5ba548,_0x4900f2[_0x3972ae(0x147)][_0x3972ae(0x177)][_0x3972ae(0x16e)]()),_0x38a0dc[_0x3972ae(0x113)](_0x5ba548,_0x4900f2[_0x3972ae(0x115)][_0x3972ae(0x177)][_0x3972ae(0x16e)]())),_0x4201b1=new _0x11057f(_0x17ee1e,null,_0x2b27bf,_0x38a0dc[_0x3972ae(0x11a)],!0x0,_0xefc233++);_0x3919ce[_0x3972ae(0x16b)](_0x4201b1);}}if(_0x320173)for(const [_0x394bfd,_0x2bef31]of Object[_0x3972ae(0x15f)](_0x320173)){const _0x4eb48a=_0x38a0dc[_0x3972ae(0x17e)][_0x3972ae(0x15d)](_0x394bfd);if(!_0x4eb48a)throw new _0x4e864a(_0x3972ae(0xc6),null);for(const [_0x9c28e5,_0x57fbba]of Object[_0x3972ae(0x15f)](_0x2bef31))if(null!==_0x57fbba){const _0x5cba1d=new _0xfc1be0(_0x4eb48a,_0x9c28e5,null,_0x57fbba,_0xefc233++);_0x3919ce[_0x3972ae(0x16b)](_0x5cba1d);}}return _0x3919ce;}async[_0x30093b(0x158)](_0x5baa7b,_0x5143f7,_0x29250b){const _0x18d938=_0x30093b;this[_0x18d938(0x186)]({[_0x5baa7b]:_0x5143f7},{[_0x5baa7b]:_0x29250b})[_0x18d938(0x124)]((_0x14212c,_0x5f0a05)=>{const _0x2a5da9=_0x18d938;_0x14212c[_0x2a5da9(0x10a)]=this[_0x2a5da9(0xa8)][_0x2a5da9(0x13f)]+_0x5f0a05,_0x14212c[_0x2a5da9(0x8b)]=!0x0,this[_0x2a5da9(0xaa)](_0x14212c);}),this[_0x18d938(0x146)](),await this[_0x18d938(0xd0)]();}async[_0x30093b(0x9a)](_0x33995b,_0x420346){const _0x1f9726=_0x30093b;let _0x5c1e1a;this[_0x1f9726(0x14c)]=_0x33995b[_0x1f9726(0xcc)];const _0x57f038=_0x33995b[_0x1f9726(0x138)]&&!_0x33995b[_0x1f9726(0x167)],_0x23fa1e=_0x57f038?0x0:_0x33995b[_0x1f9726(0x15c)][_0x1f9726(0x10a)];if(_0x420346[_0x1f9726(0x124)](_0x5be1c3=>{const _0x2d7ffa=_0x1f9726;_0x5be1c3[_0x2d7ffa(0x8b)]=!0x0,_0x5be1c3[_0x2d7ffa(0x9c)]=_0x33995b[_0x2d7ffa(0x8f)],_0x5be1c3[_0x2d7ffa(0x10b)]=null;}),_0x57f038)_0x5c1e1a=_0x420346,this[_0x1f9726(0xc3)](_0x5c1e1a,_0x57f038);else{if(_0x33995b[_0x1f9726(0x167)]){const _0x5773e6=this[_0x1f9726(0x186)](_0x33995b[_0x1f9726(0x167)]);this[_0x1f9726(0xa8)][_0x1f9726(0x137)][_0x1f9726(0x13f)]=-_0x5773e6[_0x1f9726(0xc4)],_0x5773e6[_0x1f9726(0x124)](_0x38c209=>{const _0x5bfb74=_0x1f9726;_0x38c209[_0x5bfb74(0x10a)]-=_0x5773e6[_0x5bfb74(0xc4)],_0x38c209[_0x5bfb74(0x9c)]=_0x33995b[_0x5bfb74(0x8f)],_0x38c209[_0x5bfb74(0x8b)]=!0x0,_0x38c209[_0x5bfb74(0x10b)]=null;}),this[_0x1f9726(0xc3)](_0x5773e6,!0x0),this[_0x1f9726(0xe1)][_0x1f9726(0x13f)]=-_0x5773e6[_0x1f9726(0xc4)]+this[_0x1f9726(0x14c)],this[_0x1f9726(0xc5)](_0x5773e6);}this[_0x1f9726(0xa8)][_0x1f9726(0x137)][_0x1f9726(0x13f)]=_0x23fa1e,_0x5c1e1a=this[_0x1f9726(0xf1)](_0x33995b[_0x1f9726(0x15c)],_0x33995b[_0x1f9726(0x118)]),await this[_0x1f9726(0xf8)](_0x5c1e1a),this[_0x1f9726(0xc3)](_0x5c1e1a,_0x57f038);}_0x33995b[_0x1f9726(0x10e)]&&(this[_0x1f9726(0x14a)][_0x1f9726(0x91)](_0x5c1e1a,_0x33995b[_0x1f9726(0x10e)]),this[_0x1f9726(0x12c)]=_0x33995b[_0x1f9726(0x10e)]),this[_0x1f9726(0xe1)][_0x1f9726(0x13f)]=_0x23fa1e+this[_0x1f9726(0x14c)],this[_0x1f9726(0xc5)](_0x5c1e1a),_0x420346[_0x1f9726(0x142)](_0x1d852f=>{const _0x163201=_0x1f9726,_0x168ae7=this[_0x163201(0x151)](_0x1d852f);return _0x168ae7&&!this[_0x163201(0x8c)][_0x163201(0x109)](_0x168ae7);})[_0x1f9726(0x124)]((_0x5a53bb,_0xf60895)=>{const _0x52d620=_0x1f9726;_0x5a53bb[_0x52d620(0x10a)]=this[_0x52d620(0xa8)][_0x52d620(0x13f)]+_0xf60895,this[_0x52d620(0xaa)](_0x5a53bb);}),this[_0x1f9726(0x11b)]()?(this[_0x1f9726(0xa3)]=0x0,this[_0x1f9726(0x146)](!0x0),await this[_0x1f9726(0xd0)]()):(this[_0x1f9726(0x99)]=!0x1,this[_0x1f9726(0xd2)]());}[_0x30093b(0x95)](_0x363bc3,_0x539170){const _0x49766c=_0x30093b,_0x4d2e6b=_0x539170&&_0x539170[_0x49766c(0xa0)];if(_0x4d2e6b&&_0x4d2e6b[_0x49766c(0x13e)](_0x49766c(0xda)))throw _0x539170;const _0xa2b481=this[_0x49766c(0x145)][_0x49766c(0x129)][_0x49766c(0x171)](_0x4e17db);throw this[_0x49766c(0x99)]=!0x0,_0xa2b481[_0x49766c(0xf9)](),this[_0x49766c(0x145)][_0x49766c(0x165)](_0x49766c(0xe9)),new _0x4e864a(_0x363bc3,this[_0x49766c(0x145)],_0x4d2e6b?{'originalError':_0x4d2e6b}:void 0x0);}[_0x30093b(0xaa)](_0x3df02e){const _0x27e6e6=_0x30093b;this[_0x27e6e6(0xeb)][_0x27e6e6(0x109)](_0x3df02e)||(this[_0x27e6e6(0xeb)][_0x27e6e6(0x166)](_0x3df02e),this[_0x27e6e6(0x15a)][_0x27e6e6(0x16b)](_0x3df02e),this[_0x27e6e6(0x90)]||_0x27e6e6(0xe3)==_0x3df02e[_0x27e6e6(0xe4)]&&!_0x3df02e[_0x27e6e6(0x172)]||this[_0x27e6e6(0xd8)]());}[_0x30093b(0x146)](_0x4b8b74=!0x1){const _0x15d1f5=_0x30093b;!_0x4b8b74&&this[_0x15d1f5(0x99)]||(this[_0x15d1f5(0x99)]=!0x0,clearTimeout(this[_0x15d1f5(0x88)]),this[_0x15d1f5(0x88)]=setTimeout(()=>{const _0x2d426f=_0x15d1f5;this[_0x2d426f(0x187)]()[_0x2d426f(0x120)](_0x179d4d=>{const _0x178bd6=_0x2d426f;_0x179d4d&&(this[_0x178bd6(0xd2)](),this[_0x178bd6(0x99)]=!0x1);})[_0x2d426f(0x14f)](_0x32baa2=>{const _0x325c97=_0x2d426f;this[_0x325c97(0xd2)](),this[_0x325c97(0x99)]=!0x1,function(_0x19e44c){const _0x17c50a=_0x325c97;return _0x19e44c[_0x17c50a(0xa0)][_0x17c50a(0x13e)](_0x17c50a(0x136))||_0x19e44c[_0x17c50a(0xa0)][_0x17c50a(0x13e)](_0x17c50a(0xaf))||_0x19e44c[_0x17c50a(0xa0)][_0x17c50a(0x13e)](_0x17c50a(0x98));}(_0x32baa2)||this[_0x325c97(0x95)](_0x32baa2[_0x325c97(0xa0)],_0x32baa2);});},this[_0x15d1f5(0xa3)]));}[_0x30093b(0xd0)](){return new Promise(_0x212d61=>{const _0x10926b=_0x2cfa;this['on'](_0x10926b(0xac),()=>{_0x212d61();});});}async[_0x30093b(0x187)](){const _0x4b821d=_0x30093b,_0x2f9275=this[_0x4b821d(0x145)][_0x4b821d(0x129)][_0x4b821d(0x171)](_0x4e5777);if(this[_0x4b821d(0xff)]()&&(_0x2f9275[_0x4b821d(0x12b)](),this[_0x4b821d(0xa1)]=!0x1),!this[_0x4b821d(0x11b)]())return!0x0;const _0x30a267=[...this[_0x4b821d(0x15a)]];for(const _0x5c5b28 of _0x30a267)_0x5c5b28[_0x4b821d(0x18c)]=this[_0x4b821d(0xa8)][_0x4b821d(0x137)][_0x4b821d(0xf6)](_0x5c5b28);const _0x383ef2=this[_0x4b821d(0x14a)][_0x4b821d(0x123)](_0x30a267),_0xbdee2b=$++,_0x59c92b=this[_0x4b821d(0x141)](_0x30a267),_0x4f4b01=await this[_0x4b821d(0x9f)][_0x4b821d(0xf7)](_0x59c92b,_0x59c92b[_0x4b821d(0x10a)],_0x383ef2);try{return await this[_0x4b821d(0x189)](_0x30a267,_0x4f4b01,_0xbdee2b);}catch(_0x1e698d){return this[_0x4b821d(0x95)](_0x4b821d(0x131),_0x1e698d);}}async[_0x30093b(0x189)](_0x12ab15,_0x324940,_0x3f8b55){const _0xcaf1b1=_0x30093b;if(_0xcaf1b1(0x182)in _0x324940)throw _0x324940[_0xcaf1b1(0x182)];let _0x259788=!0x1;if(_0x324940[_0xcaf1b1(0x138)]){_0x324940[_0xcaf1b1(0x10e)]&&(this[_0xcaf1b1(0x12c)]=_0x324940[_0xcaf1b1(0x10e)]),this[_0xcaf1b1(0x15a)]=this[_0xcaf1b1(0x15a)][_0xcaf1b1(0x142)](_0xd8ffdc=>!_0x12ab15[_0xcaf1b1(0x140)](_0xd8ffdc));for(const _0x220e28 of _0x12ab15)_0x220e28[_0xcaf1b1(0x9c)]=_0xcaf1b1(0x11f)in _0x324940&&_0x324940[_0xcaf1b1(0x11f)]||void 0x0;J(_0x12ab15,_0x324940[_0xcaf1b1(0x13f)]-_0x12ab15[_0xcaf1b1(0xc4)]),this[_0xcaf1b1(0xc5)](_0x12ab15);const _0x1a6aed=_0x12ab15[_0xcaf1b1(0x142)](_0x5aa80c=>{const _0x258f35=_0xcaf1b1;if(!_0x5aa80c[_0x258f35(0x8b)])return!0x1;const _0xa8fe3d=this[_0x258f35(0x151)](_0x5aa80c);return _0xa8fe3d&&!this[_0x258f35(0x8c)][_0x258f35(0x109)](_0xa8fe3d);});J(_0x1a6aed,this[_0xcaf1b1(0xa8)][_0xcaf1b1(0x13f)]),this[_0xcaf1b1(0xc3)](_0x1a6aed),_0x259788=!0x0,this[_0xcaf1b1(0xa3)]=this[_0xcaf1b1(0xe0)];}else{const _0x4d98d5=this[_0xcaf1b1(0xf1)](_0x324940[_0xcaf1b1(0x15c)],_0x324940[_0xcaf1b1(0x118)])[_0xcaf1b1(0x142)](_0x461e0d=>_0x461e0d[_0xcaf1b1(0x10a)]>=this[_0xcaf1b1(0x17c)]);_0x4d98d5[_0xcaf1b1(0x124)](_0x5b49fd=>this[_0xcaf1b1(0xbb)](_0x5b49fd)),this[_0xcaf1b1(0x15a)]=this[_0xcaf1b1(0x15a)][_0xcaf1b1(0x142)](_0x4434c2=>!_0x4434c2[_0xcaf1b1(0x8b)]||!this[_0xcaf1b1(0x8c)][_0xcaf1b1(0x109)](this[_0xcaf1b1(0x151)](_0x4434c2))),this[_0xcaf1b1(0x15a)][_0xcaf1b1(0xc4)]&&J(this[_0xcaf1b1(0x15a)],this[_0xcaf1b1(0x15a)][0x0][_0xcaf1b1(0x10a)]),await this[_0xcaf1b1(0xf8)](_0x4d98d5),_0x259788=this[_0xcaf1b1(0xca)](_0x4d98d5,_0x324940[_0xcaf1b1(0x13f)],_0x324940[_0xcaf1b1(0x10e)]),this[_0xcaf1b1(0xa3)]=Math[_0xcaf1b1(0xab)](this[_0xcaf1b1(0xa3)]/0x2);}return _0x259788?!this[_0xcaf1b1(0x11b)]()||(this[_0xcaf1b1(0x146)](!0x0),!0x1):this[_0xcaf1b1(0x95)](_0xcaf1b1(0x174));}[_0x30093b(0xca)](_0x3108cf,_0x34f916,_0x4d2c89){const _0x40559d=_0x30093b;try{const _0x13d842={'document':this[_0x40559d(0xa8)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x75d4b6,operationsB:_0x38fe2f,originalOperations:_0x170eff}=_0x5ee6a0(_0x3108cf,this[_0x40559d(0x15a)],_0x13d842);J(_0x75d4b6,this[_0x40559d(0xa8)][_0x40559d(0x13f)]),J(_0x38fe2f,_0x34f916);for(const _0x49a9eb of _0x75d4b6){const _0x4ed5d4=_0x170eff[_0x40559d(0x171)](_0x49a9eb);_0x49a9eb[_0x40559d(0x10b)]=_0x4ed5d4?_0x4ed5d4[_0x40559d(0x10b)]:null;}_0x4d2c89&&(this[_0x40559d(0x14a)][_0x40559d(0x91)](_0x3108cf,_0x4d2c89),this[_0x40559d(0x12c)]=_0x4d2c89),this[_0x40559d(0x15a)]=[..._0x38fe2f],this[_0x40559d(0xc3)](_0x75d4b6),this[_0x40559d(0xc5)](_0x3108cf);}catch(_0x24961f){return console[_0x40559d(0x182)](_0x24961f),!0x1;}return!0x0;}[_0x30093b(0xc3)](_0x3c6ab8,_0x1c801d=!0x1){const _0x352a4c=_0x30093b;this[_0x352a4c(0x145)][_0x352a4c(0x13a)][_0x352a4c(0x156)]({'isUndoable':!0x1,'isLocal':!0x1},_0x5e3e00=>{const _0x3b9260=_0x352a4c;for(const _0x5176fc of _0x3c6ab8)this[_0x3b9260(0xeb)][_0x3b9260(0x166)](_0x5176fc),this[_0x3b9260(0xbb)](_0x5176fc),_0x5e3e00[_0x3b9260(0x163)][_0x3b9260(0x185)](_0x5176fc),this[_0x3b9260(0x145)][_0x3b9260(0x13a)][_0x3b9260(0x13d)](_0x5176fc);});}[_0x30093b(0xbb)](_0x52f31d){const _0x10354c=_0x30093b,_0x15e7b1=this[_0x10354c(0x151)](_0x52f31d);_0x15e7b1&&this[_0x10354c(0x8c)][_0x10354c(0x166)](_0x15e7b1);}[_0x30093b(0x151)](_0x357064){const _0x42750c=_0x30093b;let _0x509f68,_0x40c105;switch(_0x357064[_0x42750c(0xe4)]){case _0x42750c(0x181):_0x509f68=_0x357064[_0x42750c(0x18b)][_0x42750c(0xcb)];break;case _0x42750c(0xe3):if(_0x40c105=_0x357064[_0x42750c(0xb2)],!_0x40c105)return null;_0x509f68=_0x40c105[_0x42750c(0xcb)];break;case _0x42750c(0xe5):_0x509f68=_0x357064[_0x42750c(0xcb)];break;case _0x42750c(0x160):_0x509f68=_0x357064[_0x42750c(0x110)];break;case _0x42750c(0x92):_0x509f68=_0x357064[_0x42750c(0x150)][_0x42750c(0xcb)];break;default:return null;}return _0x509f68[_0x42750c(0xbd)];}[_0x30093b(0xc5)](_0x40d708){const _0xcdf526=_0x30093b;_0x40d708[_0xcdf526(0x124)](_0x5210d4=>{const _0x58fb66=_0xcdf526,_0x1f71bf=_0x5210d4[_0x58fb66(0xfd)]();_0x1f71bf[_0x58fb66(0x10b)]=_0x5210d4[_0x58fb66(0x10b)],_0x1f71bf[_0x58fb66(0x8b)]=!!_0x5210d4[_0x58fb66(0x8b)],_0x1f71bf[_0x58fb66(0x9c)]=_0x5210d4[_0x58fb66(0x9c)],_0x1f71bf[_0x58fb66(0x10a)]+=this[_0x58fb66(0x14c)],_0x5210d4[_0x58fb66(0xa7)]&&this[_0x58fb66(0x108)][_0x58fb66(0x166)](_0x1f71bf),this[_0x58fb66(0xe1)][_0x58fb66(0x185)](_0x1f71bf);});}[_0x30093b(0x161)](_0x1397c9){const _0x38a736=_0x30093b,_0x1012ef=this[_0x38a736(0x145)][_0x38a736(0x129)][_0x38a736(0x171)](_0x38a736(0x15e)),_0x595936=this[_0x38a736(0x145)][_0x38a736(0x11e)];_0x1397c9||(_0x1397c9=_0x1a7925(_0x595936,_0x38a736(0x168))),_0x1012ef[_0x38a736(0xb1)](_0x1397c9,{'title':_0x1a7925(_0x595936,_0x38a736(0xb6)),'namespace':_0x38a736(0x179)}),this[_0x38a736(0x12f)]=!0x0,clearTimeout(this[_0x38a736(0x88)]),this[_0x38a736(0x15a)]=[],this[_0x38a736(0x145)][_0x38a736(0x129)][_0x38a736(0x171)](_0x4e17db)[_0x38a736(0xf9)]();}[_0x30093b(0xd8)](){const _0x2c91c5=_0x30093b;this[_0x2c91c5(0x90)]||(this[_0x2c91c5(0x90)]=this[_0x2c91c5(0x145)][_0x2c91c5(0x129)][_0x2c91c5(0x171)](_0x126b7e)[_0x2c91c5(0x166)](_0x1a7925(this[_0x2c91c5(0x145)][_0x2c91c5(0x11e)],_0x2c91c5(0x164))));}[_0x30093b(0xd2)](){const _0x421d08=_0x30093b;this[_0x421d08(0x90)]&&(this[_0x421d08(0x145)][_0x421d08(0x129)][_0x421d08(0x171)](_0x126b7e)[_0x421d08(0x9b)](this[_0x421d08(0x90)]),this[_0x421d08(0x90)]=null);}[_0x30093b(0x141)](_0x188955){const _0x29be3f=_0x30093b,_0x41f46e=_0x188955[_0x29be3f(0xce)](_0x1affa9=>_0x1affa9[_0x29be3f(0x14b)]());return this[_0x29be3f(0x180)][_0x29be3f(0xea)](_0x41f46e);}[_0x30093b(0xf1)](_0x4d7396,_0x95d3f4){const _0x1c53ba=_0x30093b;return this[_0x1c53ba(0x180)][_0x1c53ba(0x153)](_0x4d7396)[_0x1c53ba(0xce)]((_0x4c8f07,_0xad6123)=>{const _0x2c27d7=_0x1c53ba,_0x5525c6=_0x2c27d7(0x89)==_0x95d3f4[_0xad6123][_0x2c27d7(0xe4)];if(_0x2c27d7(0x184)==_0x4c8f07[_0x2c27d7(0xf5)]){const _0x334633=_0x4c8f07[_0x2c27d7(0x18b)][_0x2c27d7(0xcb)];!this[_0x2c27d7(0xa8)][_0x2c27d7(0x15d)](_0x334633)&&(this[_0x2c27d7(0xa8)][_0x2c27d7(0x16a)](_0x2c27d7(0x9d),_0x334633)[_0x2c27d7(0x17a)]=!0x1);}const _0x39efed=_0x3d840e[_0x2c27d7(0x96)](_0x4c8f07,this[_0x2c27d7(0xa8)]);return _0x39efed[_0x2c27d7(0x18c)]=_0x4c8f07[_0x2c27d7(0x18c)],_0x39efed[_0x2c27d7(0x8b)]=_0x5525c6,_0x39efed[_0x2c27d7(0x10b)]=_0x5525c6?null:_0x95d3f4[_0xad6123][_0x2c27d7(0xd9)],_0x39efed[_0x2c27d7(0xa7)]=_0x2c27d7(0xb0)===_0x95d3f4[_0xad6123][_0x2c27d7(0xe4)],_0x39efed[_0x2c27d7(0x9c)]=_0x95d3f4[_0xad6123][_0x2c27d7(0x9c)],_0x39efed;});}[_0x30093b(0xb8)](){const _0x1940e=_0x30093b;this[_0x1940e(0xa1)]=!0x0,this[_0x1940e(0xff)]()?this[_0x1940e(0x146)]():this[_0x1940e(0xa1)]=!0x1;}[_0x30093b(0xff)](){const _0x3d2f1c=_0x30093b,_0x18e7a8=this[_0x3d2f1c(0x145)][_0x3d2f1c(0x129)][_0x3d2f1c(0x171)](_0x579f57)[_0x3d2f1c(0x104)][_0x3d2f1c(0x171)](this[_0x3d2f1c(0x8d)]);return!this[_0x3d2f1c(0x145)][_0x3d2f1c(0x139)]&&!!_0x18e7a8&&_0x18e7a8[_0x3d2f1c(0xc4)]>0x1&&this[_0x3d2f1c(0xa1)];}[_0x30093b(0x11b)](){const _0x41fedb=_0x30093b;return this[_0x41fedb(0x15a)][_0x41fedb(0xc4)]>0x0||this[_0x41fedb(0xff)]();}}class K extends Error{}function _0x2cfa(_0xa3af40,_0x39cf26){const _0x10bdfc=_0x10bd();return _0x2cfa=function(_0x2cfa4d,_0x266c4a){_0x2cfa4d=_0x2cfa4d-0x87;let _0x5ca615=_0x10bdfc[_0x2cfa4d];return _0x5ca615;},_0x2cfa(_0xa3af40,_0x39cf26);}function J(_0x1f3816,_0x265d8f){const _0x27092e=_0x30093b;for(const _0x3fdc05 of _0x1f3816)_0x3fdc05[_0x27092e(0x10a)]=_0x265d8f++;}function _0x10bd(){const _0x8f57b1=['config','createPositionAt','realtimecollaborationclient-error','compress','_knownOperations','destroy','change:_isEditingAllowed','editing','7MfAwrR','disconnected','_decompressOperations','isPremiumPlugin','1VZLnGr','rtc-destroyed','__className','isUndoneOperation','sendOperations','_fetchMissingUsers','disconnect','connected','CollaborativeEditingService','_handleReconnectionResponse','clone','createRange','_shouldSendSelectionUpdate','change:hasDomSelection','addToReconnectionStack','RealTimeCollaborationClient','connection','channelSessions','change:range','mySessionId','rtc-offline','_disconnectionOperations','has','baseVersion','_authorId','getMany','string','lastOperationId','Permissions','affectedSelectable','operationsReceived','_connectService','createPositionFromPath','collaboration','end','differ','pluginName','metadata','realtimecollaborationclient-init-service-internal-error','markers','_shouldSendUpdate','state','off','locale','lastOperationAcceptedAt','then','getOperations','cloudServices.bundleVersion','getIdOfTheLastOperation','forEach','connect','collaboration-missing-channelid','lastDocumentSession','_isEditingAllowed','plugins','404','createUserMarkerOperations','_lastSyncedOperationId','_initThrowingOnDataSet','realtimecollaborationclient-init-service-incorrect-server-operation','_hasSynchronizationProblem','size','realtimecollaborationclient-sendbufferedoperations','sessionId','504328TJkXhr','_isLoaded','7042088bqQKwC','cloud-services-internal-error:\x20Not\x20connected.','history','wereChangesApplied','isReadOnly','model','_setUpDataInit','parse','applyOperation','startsWith','version','includes','_compressOperations','filter','lastSyncVersion','selection','editor','_sendBufferedOperationsDelayed','start','permissions','10cmgirG','_operationIdentifier','toJSON','_offset','stop','rootsAttributes','catch','targetPosition','_getAffectedRoot','removeFromReconnectionStack','decompress','realtimecollaborationclient-init-session-connection-error','getUser','enqueueChange','bind','_loadRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_bufferedOperations','high','data','getRoot','Notification','entries','addRoot','_handleReconnectionError','reset','batch','PENDING_ACTION_SENDING_DATA','enableReadOnlyMode','add','initData','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.','sessionAdd:','createRoot','push','2986930QXlmrl','cloudDocumentVersion','slice','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.','CommentsOnly','get','affectsData','getConnectedSessions','realtimecollaborationclient-handleserverresponse','reconnection:\x20flushed\x20session','isOfficialPlugin','path','getDocumentDetails','real-time-collaboration','_isAttached','realtimecollaborationclient-init-non-existent-root','_lastServerVersion','_handleSendingSelectionMarkers','document','_connectAfterSessionHasBeenFlushed','_compressor','insert','error','_handleReceivedOperations','InsertOperation','addOperation','_getOperationsFromInitData','_sendBufferedOperations','collaboration.channelId','_handleServerResponse','fire','position','wasUndone','getOperationAuthor','_sendBufferedOperationsDelayId','init','_disconnectService','_isInit','_knownRootNames','_channelId','set','sessionCreatedAt','_pendingAction','setIdForTheLastOperation','move','currentDocumentSession','finally','_crash','fromJSON','2908518YOVOQW','cloud-services-internal-error:\x20Request\x20timeout.','_isPendingUpdate','_handleInitialConnectionData','remove','createdAt','$root','from','_service','message','_hasSelectionChanged','12326130GiDaSa','_currentBufferDelay','isEnabled','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','unregister','_isDisconnection','_document','define','_saveOperationInBuffer','round','change:_isPendingUpdate','9555498yHXBAr','apply','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','cs:removeUser','showWarning','newRange','5297210GHBlzm','loadRoot','_isConnected','Synchronization\x20issue','stopListening','_refreshUserSelectionMarkers','document:write','disableReadOnlyMode','_addKnownRoot','attributes','rootName','requires','register','_bufferRootLoad','keys','_operationToId','_applyOperationsSet','length','_updateServerHistory','multi-root-editor-root-attributes-no-root','suppressErrorInCollaboration','roots','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','_handleExternalOperations','root','offset','ready','map','addUser','_waitUntilSynced','setPermissions','_clearPendingAction','_ignoredOperations','isDocumentOperation','directChange','code','reconnect','_setPendingAction','userId','realtimecollaborationclient','return','realtimecollaborationclient-init-document-already-initialized','view','listenTo','_initSessionsHandling','_baseBufferDelay','serverHistory','realtimecollaborationclient-init-connection-failed','marker','type','addRootAttribute','409'];_0x10bd=function(){return _0x8f57b1;};return _0x10bd();}class Q{[_0x30093b(0xd3)];[_0x30093b(0xc2)];constructor(_0x31a51b){const _0x483b51=_0x30093b;this[_0x483b51(0xd3)]=_0x31a51b,this[_0x483b51(0xc2)]=new WeakMap();}[_0x30093b(0x123)](_0x3d27f2){const _0x2366f7=_0x30093b;let _0x223188=_0x3d27f2[_0x2366f7(0xc4)];for(;_0x223188--;){const _0x452b1b=_0x3d27f2[_0x223188];if(!this[_0x2366f7(0xd3)][_0x2366f7(0x109)](_0x452b1b)){if(!this[_0x2366f7(0xc2)][_0x2366f7(0x109)](_0x452b1b)){const _0x540af7=_0x2205fc()[_0x2366f7(0x16e)](0x1,0x12);this[_0x2366f7(0xc2)][_0x2366f7(0x8e)](_0x452b1b,_0x540af7);}return this[_0x2366f7(0xc2)][_0x2366f7(0x171)](_0x452b1b);}}}[_0x30093b(0x91)](_0x40f103,_0x2e9255){const _0x2413e9=_0x30093b;if(!_0x2e9255)return;let _0x419d17=_0x40f103[_0x2413e9(0xc4)];for(;_0x419d17--;){const _0x46876c=_0x40f103[_0x419d17];this[_0x2413e9(0xd3)][_0x2413e9(0x109)](_0x46876c)||this[_0x2413e9(0xc2)][_0x2413e9(0x8e)](_0x46876c,_0x2e9255);}}}
|
|
23
|
+
function _0x5d62(_0x3499c1,_0x13a46d){const _0x3e0fd3=_0x3e0f();return _0x5d62=function(_0x5d62f9,_0xe40c3c){_0x5d62f9=_0x5d62f9-0x147;let _0x134a0b=_0x3e0fd3[_0x5d62f9];return _0x134a0b;},_0x5d62(_0x3499c1,_0x13a46d);}const _0x42231a=_0x5d62;(function(_0x2d4ce3,_0x32eae7){const _0x46a10a=_0x5d62,_0x366b75=_0x2d4ce3();while(!![]){try{const _0x483a1f=parseInt(_0x46a10a(0x1b2))/0x1*(-parseInt(_0x46a10a(0x1af))/0x2)+parseInt(_0x46a10a(0x198))/0x3+parseInt(_0x46a10a(0x184))/0x4+parseInt(_0x46a10a(0x179))/0x5*(-parseInt(_0x46a10a(0x176))/0x6)+parseInt(_0x46a10a(0x1f3))/0x7+parseInt(_0x46a10a(0x225))/0x8+-parseInt(_0x46a10a(0x23b))/0x9;if(_0x483a1f===_0x32eae7)break;else _0x366b75['push'](_0x366b75['shift']());}catch(_0x44588d){_0x366b75['push'](_0x366b75['shift']());}}}(_0x3e0f,0xd9d75));import{Plugin as _0x3134c0,PendingActions as _0x4bd464}from'ckeditor5/src/core.js';import{CKEditorError as _0x2c870b,version as _0x1cff5b,uid as _0x585be3}from'ckeditor5/src/utils.js';import{Notification as _0x4cfb02}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x1e0f51,NoOperation as _0x256757,InsertOperation as _0x41d737,MarkerOperation as _0x2f2e78,RootAttributeOperation as _0x4bb47a,OperationFactory as _0x495498,History as _0x36b72c}from'ckeditor5/src/engine.js';function _0x3e0f(){const _0x4e367e=['fromJSON','_bufferRootLoad','locale','toJSON','getOperationAuthor','unregister','lastDocumentSession','_channelId','then','compress','setIdForTheLastOperation','getConnectedSessions','reconnect','suppressErrorInCollaboration','isEnabled','history','_lastSyncedOperationId','real-time-collaboration','length','targetPosition','channelSessions','2542792TrPtyf','string','apply','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','$root','isDocumentOperation','batch','sendOperations','end','define','Synchronization\x20issue','addRoot','version','mySessionId','_isPendingUpdate','isOfficialPlugin','CommentsOnly','connect','root','multi-root-editor-root-attributes-no-root','_isAttached','isUndoneOperation','_connectService','realtimecollaborationclient-init-service-internal-error','_decompressOperations','listenTo','_knownRootNames','createRange','addOperation','realtimecollaborationclient-handleserverresponse','_authorId','_handleReconnectionResponse','_currentBufferDelay','wereChangesApplied','_handleSendingSelectionMarkers','getMany','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-init-non-existent-root','connected','change:_isEditingAllowed','cloud-services-internal-error:\x20Not\x20connected.','disconnected','createPositionAt','realtimecollaborationclient','realtimecollaborationclient-sendbufferedoperations','cloudServices.bundleVersion','showWarning','pluginName','currentDocumentSession','message','8949168NQZjAC','keys','_sendBufferedOperations','collaboration-missing-channelid','finally','cloud-services-internal-error:\x20Request\x20timeout.','_refreshUserSelectionMarkers','map','type','_getOperationsFromInitData','start','metadata','bind','createRoot','size','createdAt','_updateServerHistory','collaboration.channelId','ready','operationsReceived','round','setPermissions','17319960uuPvDQ','entries','_handleExternalOperations','_applyOperationsSet','plugins','_sendBufferedOperationsDelayed','_isEditingAllowed','slice','differ','rtc-offline','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','push','get','realtimecollaborationclient-init-connection-failed','disconnect','remove','applyOperation','_loadRoot','init','config','_hasSynchronizationProblem','enqueueChange','sessionId','change:_isPendingUpdate','editor','getOperations','position','realtimecollaborationclient-init-document-already-initialized','Notification','_bufferedOperations','from','serverHistory','offset','disableReadOnlyMode','add','rootsAttributes','requires','InsertOperation','destroy','collaboration','marker','_isInit','RealTimeCollaborationClient','code','connection','_waitUntilSynced','addUser','_offset','insert','change:range','_handleServerResponse','error','_addKnownRoot','change:hasDomSelection','model','getDocumentDetails','_hasSelectionChanged','set','state','fire','data','409','parse','loadRoot','18HJZcsW','getIdOfTheLastOperation','404','1003285FoWOcU','affectedSelectable','rtc-destroyed','_isLoaded','off','baseVersion','_clearPendingAction','document:write','getRoot','_lastServerVersion','removeFromReconnectionStack','4485712EtQxAK','enableReadOnlyMode','filter','roots','reconnection:\x20flushed\x20session','createUserMarkerOperations','startsWith','Permissions','includes','_pendingAction','_handleReconnectionError','_handleReceivedOperations','_handleInitialConnectionData','lastOperationId','permissions','_setPendingAction','newRange','getUser','sessionAdd:','PENDING_ACTION_SENDING_DATA','4573995yaZQOF','_isConnected','affectsData','selection','realtimecollaborationclient-error','createPositionFromPath','_connectAfterSessionHasBeenFlushed','_compressOperations','_shouldSendUpdate','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.','_disconnectionOperations','_saveOperationInBuffer','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','forEach','move','addToReconnectionStack','userId','stopListening','_service','decompress','isReadOnly','directChange','_ignoredOperations','2SPJXGh','_isDisconnection','_fetchMissingUsers','709307xIjErz','catch','_disconnectService','lastSyncVersion','initData','sessionCreatedAt','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','return','__className','_operationToId','_baseBufferDelay','view','register','high','_setUpDataInit','stop','has','isPremiumPlugin','_operationIdentifier','editing','_shouldSendSelectionUpdate','_initSessionsHandling','_document','_initThrowingOnDataSet','rootName','_knownOperations','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.','_compressor','clone','lastOperationAcceptedAt','_sendBufferedOperationsDelayId','wasUndone','cs:removeUser','document','_getAffectedRoot','attributes','reset','_crash','path','addRootAttribute','cloudDocumentVersion','markers','CollaborativeEditingService','realtimecollaborationclient-init-session-connection-error'];_0x3e0f=function(){return _0x4e367e;};return _0x3e0f();}import{WebSocketGateway as _0x1a8d74}from'./websocketgateway.js';import{Sessions as _0x9eb648}from'./sessions.js';import{UserMarkers as _0x2a1ed3}from'./usermarkers.js';import{getTranslation as _0x21bf21}from'../common-translations.js';import{Compressor as _0x413d4c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x1cc2b3}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x3058f7,CollaborativeEditingService as _0x18e5ee}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let K=0x1;export class RealTimeCollaborationClient extends _0x3134c0{static [_0x42231a(0x1dc)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x18e5ee)());[_0x42231a(0x165)];[_0x42231a(0x14c)];[_0x42231a(0x155)];[_0x42231a(0x1e5)];[_0x42231a(0x1aa)];[_0x42231a(0x1c8)];[_0x42231a(0x1cd)];[_0x42231a(0x153)];[_0x42231a(0x1cb)];[_0x42231a(0x20d)];[_0x42231a(0x18d)];[_0x42231a(0x16e)];[_0x42231a(0x1d0)];[_0x42231a(0x1bc)];[_0x42231a(0x213)];[_0x42231a(0x1ee)];[_0x42231a(0x1a2)];[_0x42231a(0x1c4)];static get[_0x42231a(0x15a)](){return[_0x1a8d74,_0x9eb648,_0x2a1ed3,_0x4bd464,_0x1cc2b3,_0x4cfb02];}static get[_0x42231a(0x222)](){const _0x1abf03=_0x42231a;return _0x1abf03(0x160);}static get[_0x42231a(0x202)](){return!0x0;}static get[_0x42231a(0x1c3)](){return!0x0;}get[_0x42231a(0x1da)](){const _0x215071=_0x42231a;return this[_0x215071(0x182)]+this[_0x215071(0x165)];}get[_0x42231a(0x182)](){const _0x227c99=_0x42231a;return this[_0x227c99(0x155)][_0x227c99(0x1ff)]-this[_0x227c99(0x165)];}get[_0x42231a(0x1b5)](){const _0x36d11f=_0x42231a,_0x593709=this[_0x36d11f(0x155)][_0x36d11f(0x14f)]();for(let _0x4c47bf=_0x593709[_0x36d11f(0x1f0)]-0x1;_0x4c47bf>=0x0;_0x4c47bf--){const _0x43783d=_0x593709[_0x4c47bf];if(!this[_0x36d11f(0x1a2)][_0x36d11f(0x1c2)](_0x43783d))return _0x43783d[_0x36d11f(0x17e)]+0x1-this[_0x36d11f(0x165)];}return 0x0;}constructor(_0x1b2b6d){const _0x49ee0f=_0x42231a;if(super(_0x1b2b6d),this[_0x49ee0f(0x165)]=0x0,this[_0x49ee0f(0x14c)]=null,this[_0x49ee0f(0x155)]=new _0x36b72c(),this[_0x49ee0f(0x14e)][_0x49ee0f(0x149)][_0x49ee0f(0x1fc)](_0x49ee0f(0x15d),{}),this[_0x49ee0f(0x1e5)]=this[_0x49ee0f(0x14e)][_0x49ee0f(0x149)][_0x49ee0f(0x247)](_0x49ee0f(0x236)),!this[_0x49ee0f(0x1e5)])throw new _0x2c870b(_0x49ee0f(0x228),this);const _0x3ce55c=_0x1b2b6d[_0x49ee0f(0x149)][_0x49ee0f(0x247)](_0x49ee0f(0x220))||_0x1cff5b;this[_0x49ee0f(0x1aa)]=new RealTimeCollaborationClient[(_0x49ee0f(0x1dc))](_0x3ce55c,this[_0x49ee0f(0x1e5)]),this[_0x49ee0f(0x1c8)]=this[_0x49ee0f(0x14e)][_0x49ee0f(0x16c)][_0x49ee0f(0x1d3)],this[_0x49ee0f(0x1cd)]=new _0x413d4c(),this[_0x49ee0f(0x153)]=[],this[_0x49ee0f(0x1cb)]=new WeakSet(),this[_0x49ee0f(0x20d)]=new Set(),this[_0x49ee0f(0x16f)](_0x49ee0f(0x201),!0x1),this[_0x49ee0f(0x16f)](_0x49ee0f(0x14a),!0x1),this[_0x49ee0f(0x18d)]=null,this[_0x49ee0f(0x16e)]=!0x1,this[_0x49ee0f(0x1d0)]=null,this[_0x49ee0f(0x1bc)]=0x12c,this[_0x49ee0f(0x213)]=this[_0x49ee0f(0x1bc)],this[_0x49ee0f(0x1ee)]=null,this[_0x49ee0f(0x1a2)]=new WeakSet(),this[_0x49ee0f(0x1c4)]=new X(this[_0x49ee0f(0x1a2)]);}[_0x42231a(0x148)](){const _0x4d89a3=_0x42231a,_0x5f2fbb=this[_0x4d89a3(0x14e)],_0x1bd7c6=_0x5f2fbb[_0x4d89a3(0x23f)][_0x4d89a3(0x247)](_0x1cc2b3),_0x48b0df=_0x5f2fbb[_0x4d89a3(0x23f)][_0x4d89a3(0x247)](_0x1a8d74);this[_0x4d89a3(0x20c)](_0x1bd7c6,_0x4d89a3(0x1e2),(_0x4d9fb3,_0x44cf02)=>{const _0xfffc0=_0x4d89a3,_0x1d92cd=_0x44cf02[0x0];_0x1d92cd[_0xfffc0(0x211)]&&(_0x4d9fb3[_0xfffc0(0x1b9)]=_0x1bd7c6[_0xfffc0(0x195)](_0x1d92cd[_0xfffc0(0x211)]),_0x4d9fb3[_0xfffc0(0x1c1)]()),null===_0x1d92cd[_0xfffc0(0x211)]&&(_0x4d9fb3[_0xfffc0(0x1b9)]=null,_0x4d9fb3[_0xfffc0(0x1c1)]());},{'priority':_0x4d89a3(0x1bf)}),this[_0x4d89a3(0x20c)](_0x5f2fbb[_0x4d89a3(0x16c)][_0x4d89a3(0x1d3)][_0x4d89a3(0x19b)],_0x4d89a3(0x167),(_0xfd79bc,_0x3f9f71)=>{const _0x16ea97=_0x4d89a3;_0x3f9f71[_0x16ea97(0x1ad)]&&this[_0x16ea97(0x22b)]();}),this[_0x4d89a3(0x20c)](_0x5f2fbb[_0x4d89a3(0x1c5)][_0x4d89a3(0x1bd)],_0x4d89a3(0x16b),()=>{const _0x4db3a9=_0x4d89a3;this[_0x4db3a9(0x22b)]();}),this[_0x4d89a3(0x1c9)](),_0x5f2fbb[_0x4d89a3(0x16c)]['on'](_0x4d89a3(0x24b),(_0xfca395,_0x31899b)=>{const _0x3ff826=_0x4d89a3,_0x44c615=_0x31899b[0x0];_0x44c615[_0x3ff826(0x1f8)]&&(this[_0x3ff826(0x1a3)](_0x44c615),this[_0x3ff826(0x1a0)]()&&this[_0x3ff826(0x240)]());}),this[_0x4d89a3(0x1c0)](),this[_0x4d89a3(0x231)](_0x4d89a3(0x241))['to'](_0x48b0df,_0x4d89a3(0x170),this,_0x4d89a3(0x14a),(_0x4195b0,_0x4ed38c)=>_0x4d89a3(0x219)===_0x4195b0&&!_0x4ed38c),this['on'](_0x4d89a3(0x21a),()=>{const _0x46ffbb=_0x4d89a3;this[_0x46ffbb(0x241)]?_0x5f2fbb[_0x46ffbb(0x157)](_0x46ffbb(0x244)):_0x5f2fbb[_0x46ffbb(0x185)](_0x46ffbb(0x244));}),this[_0x4d89a3(0x241)]?_0x5f2fbb[_0x4d89a3(0x157)](_0x4d89a3(0x244)):_0x5f2fbb[_0x4d89a3(0x185)](_0x4d89a3(0x244)),this[_0x4d89a3(0x16f)](_0x4d89a3(0x199),!0x1);}async[_0x42231a(0x1ea)](){const _0x181a88=_0x42231a,_0x172de0=this[_0x181a88(0x14e)][_0x181a88(0x23f)][_0x181a88(0x247)](_0x9eb648),_0x2e9502=this[_0x181a88(0x14e)][_0x181a88(0x23f)][_0x181a88(0x247)](_0x1a8d74);try{this[_0x181a88(0x201)]=!0x0,_0x172de0[_0x181a88(0x1e3)](this[_0x181a88(0x1e5)]);const _0x419abb=await this[_0x181a88(0x1aa)][_0x181a88(0x1ea)](_0x2e9502[_0x181a88(0x162)],this[_0x181a88(0x1b5)]);await this[_0x181a88(0x212)](_0x419abb)&&(this[_0x181a88(0x201)]=!0x1,this[_0x181a88(0x17f)]());const _0x5693db=await this[_0x181a88(0x1aa)][_0x181a88(0x1e9)]();_0x172de0[_0x181a88(0x1be)](this[_0x181a88(0x1e5)],_0x5693db),this[_0x181a88(0x215)](),this[_0x181a88(0x199)]=!0x0;}catch(_0x2a23b1){if(function(_0x47c01c){const _0x273f3e=_0x181a88;return _0x273f3e(0x178)===_0x47c01c[_0x273f3e(0x161)];}(_0x2a23b1)&&this[_0x181a88(0x14c)])await this[_0x181a88(0x19e)]();else{if(function(_0x3d03c8){const _0x37239e=_0x181a88;return _0x37239e(0x173)===_0x3d03c8[_0x37239e(0x161)];}(_0x2a23b1)){const _0x98ec08=_0x21bf21(this[_0x181a88(0x14e)][_0x181a88(0x1e0)],_0x181a88(0x245));this[_0x181a88(0x18e)](_0x98ec08);}else{if(!(_0x2a23b1 instanceof J))throw _0x2a23b1;this[_0x181a88(0x18e)]();}}}}[_0x42231a(0x15c)](){const _0x507293=_0x42231a,_0x3dd62c=this[_0x507293(0x14e)][_0x507293(0x23f)][_0x507293(0x247)](_0x1a8d74),_0x4b5616=this[_0x507293(0x14e)][_0x507293(0x23f)][_0x507293(0x247)](_0x9eb648);this[_0x507293(0x14e)][_0x507293(0x185)](_0x507293(0x17b)),_0x4b5616[_0x507293(0x1f2)][_0x507293(0x1c2)](this[_0x507293(0x1e5)])&&_0x4b5616[_0x507293(0x1e3)](this[_0x507293(0x1e5)]),_0x3dd62c[_0x507293(0x183)](this),this[_0x507293(0x1b4)](),super[_0x507293(0x15c)]();}async[_0x42231a(0x212)](_0x185bd1){const _0x38b6af=_0x42231a;if(this[_0x38b6af(0x14c)]!==_0x185bd1[_0x38b6af(0x14c)]&&this[_0x38b6af(0x1ee)]!==_0x185bd1[_0x38b6af(0x191)])throw new J();return this[_0x38b6af(0x14c)]=_0x185bd1[_0x38b6af(0x14c)],this[_0x38b6af(0x168)]([],{..._0x185bd1,'wereChangesApplied':!0x1,'data':_0x185bd1[_0x38b6af(0x172)]},_0x38b6af(0x1ea));}async[_0x42231a(0x209)](_0x8eba47,_0x7de281=!0x1){const _0x4d50c9=_0x42231a,{connection:_0x4b17b1}=this[_0x4d50c9(0x14e)][_0x4d50c9(0x23f)][_0x4d50c9(0x247)](_0x1a8d74);RealTimeCollaborationClient[_0x4d50c9(0x1dc)][_0x4d50c9(0x1e9)](_0x4b17b1,this[_0x4d50c9(0x1e5)])[_0x4d50c9(0x1e6)](_0x2ef889=>this[_0x4d50c9(0x1c7)](_0x2ef889))[_0x4d50c9(0x1b3)](_0x1228f0=>{const _0x56c906=_0x4d50c9;this[_0x56c906(0x1d7)](_0x56c906(0x1dd),_0x1228f0);}),this[_0x4d50c9(0x20c)](this[_0x4d50c9(0x1aa)],_0x4d50c9(0x238),this[_0x4d50c9(0x18f)][_0x4d50c9(0x231)](this)),this[_0x4d50c9(0x20c)](this[_0x4d50c9(0x1aa)],_0x4d50c9(0x169),(_0x3049bc,_0x1910da)=>{const _0x3748ea=_0x4d50c9;this[_0x3748ea(0x1d7)](_0x3748ea(0x20a),_0x1910da);}),this[_0x4d50c9(0x20c)](this[_0x4d50c9(0x1aa)],_0x4d50c9(0x21c),()=>{const _0x4781a2=_0x4d50c9;this[_0x4781a2(0x199)]=!0x1;});const _0x3f9f0f=this[_0x4d50c9(0x1c4)][_0x4d50c9(0x177)](_0x8eba47);this[_0x4d50c9(0x201)]=!0x0;const _0x141a21=await this[_0x4d50c9(0x1aa)][_0x4d50c9(0x204)](_0x4b17b1,this[_0x4d50c9(0x19f)](_0x8eba47),_0x3f9f0f);if(this[_0x4d50c9(0x14c)]=_0x141a21[_0x4d50c9(0x14c)],_0x7de281){if(!_0x141a21[_0x4d50c9(0x214)])return void this[_0x4d50c9(0x18e)]();this[_0x4d50c9(0x201)]=!0x1,this[_0x4d50c9(0x17f)](),this[_0x4d50c9(0x155)][_0x4d50c9(0x1d6)](),this[_0x4d50c9(0x165)]=_0x141a21[_0x4d50c9(0x156)],this[_0x4d50c9(0x155)][_0x4d50c9(0x1ff)]=this[_0x4d50c9(0x165)],await this[_0x4d50c9(0x168)](_0x8eba47,_0x141a21,_0x4d50c9(0x188));}else await this[_0x4d50c9(0x190)](_0x141a21,_0x8eba47);this[_0x4d50c9(0x215)](),this[_0x4d50c9(0x199)]=!0x0;}[_0x42231a(0x215)](){const _0x593e87=_0x42231a,_0x1984d5=this[_0x593e87(0x14e)][_0x593e87(0x23f)][_0x593e87(0x247)](_0x9eb648),_0x209a5f=this[_0x593e87(0x14e)][_0x593e87(0x23f)][_0x593e87(0x247)](_0x2a1ed3),_0x23da99=_0x1984d5[_0x593e87(0x1f2)][_0x593e87(0x247)](this[_0x593e87(0x1e5)]);_0x23da99&&_0x23da99[_0x593e87(0x1f0)]>0x1?_0x209a5f[_0x593e87(0x189)]():this[_0x593e87(0x20c)](_0x1984d5,_0x593e87(0x196)+this[_0x593e87(0x1e5)],()=>{const _0x5a5cc8=_0x593e87;0x2===_0x1984d5[_0x5a5cc8(0x1f2)][_0x5a5cc8(0x247)](this[_0x5a5cc8(0x1e5)])[_0x5a5cc8(0x1f0)]&&_0x209a5f[_0x5a5cc8(0x189)]();});}async[_0x42231a(0x18f)](_0xc77258,_0x3f7b49,_0x2a5049,_0x53ea63){const _0x582ed4=_0x42231a;if(!this[_0x582ed4(0x201)]&&this[_0x582ed4(0x1c8)][_0x582ed4(0x1ff)]==_0x3f7b49){const _0x2d3847=this[_0x582ed4(0x20b)](_0x2a5049,_0x53ea63);await this[_0x582ed4(0x1b1)](_0x2d3847),this[_0x582ed4(0x23d)](_0x2d3847,_0x3f7b49,_0x2a5049[_0x582ed4(0x191)])||this[_0x582ed4(0x1d7)](_0x582ed4(0x217));}}async[_0x42231a(0x19e)](){const _0x33676d=_0x42231a;this[_0x33676d(0x1b4)]();const {locale:_0x55b57a}=this[_0x33676d(0x14e)];let _0x1489b3;try{_0x1489b3=await this[_0x33676d(0x1aa)][_0x33676d(0x16d)]();}catch{const _0x5dbd2e=_0x21bf21(_0x55b57a,_0x33676d(0x1a4));return void this[_0x33676d(0x18e)](_0x5dbd2e);}const _0x39b356=_0x1489b3[_0x33676d(0x223)]||_0x1489b3[_0x33676d(0x1e4)];if(this[_0x33676d(0x1ee)]!==_0x39b356[_0x33676d(0x191)]){const _0x148444=_0x21bf21(_0x55b57a,_0x33676d(0x1a1));return void this[_0x33676d(0x18e)](_0x148444);}await this[_0x33676d(0x209)](this[_0x33676d(0x14e)][_0x33676d(0x16c)][_0x33676d(0x1d3)][_0x33676d(0x1ed)][_0x33676d(0x14f)](),!0x0);}[_0x42231a(0x1b4)](){const _0x1896a3=_0x42231a;this[_0x1896a3(0x1aa)][_0x1896a3(0x249)](),this[_0x1896a3(0x153)]=[],clearTimeout(this[_0x1896a3(0x1d0)]),this[_0x1896a3(0x1a9)](this[_0x1896a3(0x1aa)]);}[_0x42231a(0x1c7)](_0x3629d6){const _0x34ff85=_0x42231a,_0x23adcb=this[_0x34ff85(0x14e)][_0x34ff85(0x23f)][_0x34ff85(0x247)](_0x9eb648);this[_0x34ff85(0x20c)](_0x23adcb,_0x34ff85(0x196)+this[_0x34ff85(0x1e5)],(_0x12fdfd,{session:_0x16866f})=>{const _0x3df4ae=_0x34ff85;if(_0x16866f['id']===_0x23adcb[_0x3df4ae(0x200)]){_0x12fdfd[_0x3df4ae(0x17d)]();const _0x33b2b7=this[_0x3df4ae(0x14e)][_0x3df4ae(0x23f)][_0x3df4ae(0x1c2)](_0x3df4ae(0x203))&&this[_0x3df4ae(0x14e)][_0x3df4ae(0x23f)][_0x3df4ae(0x247)](_0x3df4ae(0x203));let _0x538514=_0x16866f[_0x3df4ae(0x192)];_0x33b2b7&&_0x33b2b7[_0x3df4ae(0x1ec)]&&(_0x538514=_0x538514[_0x3df4ae(0x186)](_0x345388=>_0x3df4ae(0x180)!==_0x345388)),this[_0x3df4ae(0x14e)][_0x3df4ae(0x23f)][_0x3df4ae(0x247)](_0x3df4ae(0x18b))[_0x3df4ae(0x23a)](_0x538514,this[_0x3df4ae(0x1e5)]);}}),_0x23adcb[_0x34ff85(0x1be)](this[_0x34ff85(0x1e5)],_0x3629d6);}[_0x42231a(0x1c9)](){const _0x42f567=_0x42231a,_0x70f9a8=this[_0x42f567(0x14e)][_0x42f567(0x172)][_0x42f567(0x16f)];this[_0x42f567(0x14e)][_0x42f567(0x172)][_0x42f567(0x16f)]=(..._0x4c4189)=>{const _0x1a2e63=_0x42f567;if(!_0x4c4189[_0x4c4189[_0x1a2e63(0x1f0)]-0x1][_0x1a2e63(0x1eb)])throw new _0x2c870b(_0x1a2e63(0x1f6),this);_0x70f9a8[_0x1a2e63(0x1f5)](this[_0x1a2e63(0x14e)][_0x1a2e63(0x172)],_0x4c4189);};}[_0x42231a(0x1c0)](){const _0x1d2a18=_0x42231a;this[_0x1d2a18(0x14e)][_0x1d2a18(0x172)]['on'](_0x1d2a18(0x148),(_0x595e03,[_0x3452d6])=>{const _0x540790=_0x1d2a18;if(this[_0x540790(0x1c8)][_0x540790(0x1ff)])throw new _0x2c870b(_0x540790(0x151),this);_0x595e03[_0x540790(0x1c1)](),this[_0x540790(0x193)]();const _0xb2cad0=this[_0x540790(0x14e)][_0x540790(0x149)][_0x540790(0x247)](_0x540790(0x159)),_0xc72ddd=this[_0x540790(0x22e)](_0x3452d6,_0xb2cad0);0x0==_0xc72ddd[_0x540790(0x1f0)]&&_0xc72ddd[_0x540790(0x246)](new _0x256757(0x0)),_0x595e03[_0x540790(0x1b9)]=this[_0x540790(0x209)](_0xc72ddd)[_0x540790(0x1e6)](()=>{const _0x828a97=_0x540790;this[_0x828a97(0x14e)][_0x828a97(0x23f)][_0x828a97(0x247)](_0x1a8d74)[_0x828a97(0x1a7)](this),this[_0x828a97(0x14e)][_0x828a97(0x172)][_0x828a97(0x171)](_0x828a97(0x237));})[_0x540790(0x1b3)](_0x314c51=>this[_0x540790(0x1d7)](_0x540790(0x248),_0x314c51))[_0x540790(0x229)](()=>this[_0x540790(0x17f)]());},{'priority':_0x1d2a18(0x1bf)}),this[_0x1d2a18(0x14e)]['on'](_0x1d2a18(0x175),async(_0x2097e3,[_0x4e977f,_0x5b5f37])=>{const _0x3db0a9=_0x1d2a18;_0x2097e3[_0x3db0a9(0x1c1)]();const _0xc8f40=this[_0x3db0a9(0x14e)][_0x3db0a9(0x16c)][_0x3db0a9(0x1d3)][_0x3db0a9(0x181)](_0x4e977f);if(!this[_0x3db0a9(0x20d)][_0x3db0a9(0x1c2)](_0x4e977f)){const _0x2d36d5=_0x5b5f37&&_0x5b5f37[_0x3db0a9(0x172)]?_0x5b5f37[_0x3db0a9(0x172)]:'',_0x4df377=_0x5b5f37&&_0x5b5f37[_0x3db0a9(0x1d5)]?_0x5b5f37[_0x3db0a9(0x1d5)]:{};await this[_0x3db0a9(0x147)](_0x4e977f,_0x2d36d5,_0x4df377);}this[_0x3db0a9(0x14e)][_0x3db0a9(0x16c)][_0x3db0a9(0x14b)]({'isUndoable':!0x1},()=>{const _0xfa6491=_0x3db0a9;_0xc8f40[_0xfa6491(0x17c)]=!0x0,this[_0xfa6491(0x14e)][_0xfa6491(0x16c)][_0xfa6491(0x1d3)][_0xfa6491(0x243)][_0xfa6491(0x1df)](_0xc8f40);});},{'priority':_0x1d2a18(0x1bf)});}async[_0x42231a(0x1b1)](_0x5e1a4d){const _0x2005a1=_0x42231a,_0x44ab7f=this[_0x2005a1(0x14e)][_0x2005a1(0x23f)][_0x2005a1(0x247)](_0x1cc2b3),{connection:_0x23c65d}=this[_0x2005a1(0x14e)][_0x2005a1(0x23f)][_0x2005a1(0x247)](_0x1a8d74),_0x2d84af=new Set();for(const _0xafa6db of _0x5e1a4d){const _0x49db21=_0xafa6db[_0x2005a1(0x211)];_0x49db21&&!_0x44ab7f[_0x2005a1(0x195)](_0x49db21)&&_0x2d84af[_0x2005a1(0x158)](_0x49db21);}if(0x0===_0x2d84af[_0x2005a1(0x233)])return;const _0x12ac9b=await _0x3058f7[_0x2005a1(0x216)](_0x23c65d,Array[_0x2005a1(0x154)](_0x2d84af));for(const _0x1a5631 of _0x12ac9b)_0x44ab7f[_0x2005a1(0x195)](_0x1a5631['id'])||_0x44ab7f[_0x2005a1(0x164)](_0x1a5631);}[_0x42231a(0x22e)](_0x35633b,_0x5ba853={}){const _0x3ab9c8=_0x42231a,_0x294456=this[_0x3ab9c8(0x14e)][_0x3ab9c8(0x16c)],_0x56a33c=[];let _0x2b3251=0x0;const _0x5f3585=_0x3ab9c8(0x1f4)==typeof _0x35633b?{'main':_0x35633b}:_0x35633b;for(const _0x499d1b of Object[_0x3ab9c8(0x226)](_0x5f3585)){if(!this[_0x3ab9c8(0x1c8)][_0x3ab9c8(0x187)][_0x3ab9c8(0x1c2)](_0x499d1b))throw new _0x2c870b(_0x3ab9c8(0x218),this);const _0x94ee5c=this[_0x3ab9c8(0x14e)][_0x3ab9c8(0x172)][_0x3ab9c8(0x174)](_0x5f3585[_0x499d1b]),_0x54b6ce=this[_0x3ab9c8(0x1c8)][_0x3ab9c8(0x181)](_0x499d1b),_0x4fcbc2=new _0x41d737(_0x294456[_0x3ab9c8(0x21d)](_0x54b6ce,0x0),_0x94ee5c,_0x2b3251++);_0x56a33c[_0x3ab9c8(0x246)](_0x4fcbc2);for(const [_0x36bd1e,_0x5b5180]of _0x94ee5c[_0x3ab9c8(0x1db)]){const _0x4a79a2=_0x294456[_0x3ab9c8(0x20e)](_0x294456[_0x3ab9c8(0x19d)](_0x54b6ce,_0x5b5180[_0x3ab9c8(0x22f)][_0x3ab9c8(0x1d8)][_0x3ab9c8(0x242)]()),_0x294456[_0x3ab9c8(0x19d)](_0x54b6ce,_0x5b5180[_0x3ab9c8(0x1fb)][_0x3ab9c8(0x1d8)][_0x3ab9c8(0x242)]())),_0x3eff05=new _0x2f2e78(_0x36bd1e,null,_0x4a79a2,_0x294456[_0x3ab9c8(0x1db)],!0x0,_0x2b3251++);_0x56a33c[_0x3ab9c8(0x246)](_0x3eff05);}}if(_0x5ba853)for(const [_0x51fef1,_0x393f1d]of Object[_0x3ab9c8(0x23c)](_0x5ba853)){const _0x57ed23=_0x294456[_0x3ab9c8(0x1d3)][_0x3ab9c8(0x181)](_0x51fef1);if(!_0x57ed23)throw new _0x2c870b(_0x3ab9c8(0x206),null);for(const [_0xa82548,_0x19d554]of Object[_0x3ab9c8(0x23c)](_0x393f1d))if(null!==_0x19d554){const _0x5d6f0c=new _0x4bb47a(_0x57ed23,_0xa82548,null,_0x19d554,_0x2b3251++);_0x56a33c[_0x3ab9c8(0x246)](_0x5d6f0c);}}return _0x56a33c;}async[_0x42231a(0x147)](_0x53846e,_0x41242b,_0x5a3797){const _0x4622df=_0x42231a;this[_0x4622df(0x22e)]({[_0x53846e]:_0x41242b},{[_0x53846e]:_0x5a3797})[_0x4622df(0x1a5)]((_0x3d9f73,_0x877d48)=>{const _0x561ba6=_0x4622df;_0x3d9f73[_0x561ba6(0x17e)]=this[_0x561ba6(0x1c8)][_0x561ba6(0x1ff)]+_0x877d48,_0x3d9f73[_0x561ba6(0x15f)]=!0x0,this[_0x561ba6(0x1a3)](_0x3d9f73);}),this[_0x4622df(0x240)](),await this[_0x4622df(0x163)]();}async[_0x42231a(0x190)](_0x15f70a,_0x3b3396){const _0x43377f=_0x42231a;let _0x2132a8;this[_0x43377f(0x165)]=_0x15f70a[_0x43377f(0x156)];const _0x4319d4=_0x15f70a[_0x43377f(0x214)]&&!_0x15f70a[_0x43377f(0x1b6)],_0x4bbad2=_0x4319d4?0x0:_0x15f70a[_0x43377f(0x172)][_0x43377f(0x17e)];if(_0x3b3396[_0x43377f(0x1a5)](_0x381134=>{const _0x5ff7b9=_0x43377f;_0x381134[_0x5ff7b9(0x15f)]=!0x0,_0x381134[_0x5ff7b9(0x234)]=_0x15f70a[_0x5ff7b9(0x1b7)],_0x381134[_0x5ff7b9(0x211)]=null;}),_0x4319d4)_0x2132a8=_0x3b3396,this[_0x43377f(0x23e)](_0x2132a8,_0x4319d4);else{if(_0x15f70a[_0x43377f(0x1b6)]){const _0x1de496=this[_0x43377f(0x22e)](_0x15f70a[_0x43377f(0x1b6)]);this[_0x43377f(0x1c8)][_0x43377f(0x1ed)][_0x43377f(0x1ff)]=-_0x1de496[_0x43377f(0x1f0)],_0x1de496[_0x43377f(0x1a5)](_0x16098e=>{const _0x1f141c=_0x43377f;_0x16098e[_0x1f141c(0x17e)]-=_0x1de496[_0x1f141c(0x1f0)],_0x16098e[_0x1f141c(0x234)]=_0x15f70a[_0x1f141c(0x1b7)],_0x16098e[_0x1f141c(0x15f)]=!0x0,_0x16098e[_0x1f141c(0x211)]=null;}),this[_0x43377f(0x23e)](_0x1de496,!0x0),this[_0x43377f(0x155)][_0x43377f(0x1ff)]=-_0x1de496[_0x43377f(0x1f0)]+this[_0x43377f(0x165)],this[_0x43377f(0x235)](_0x1de496);}this[_0x43377f(0x1c8)][_0x43377f(0x1ed)][_0x43377f(0x1ff)]=_0x4bbad2,_0x2132a8=this[_0x43377f(0x20b)](_0x15f70a[_0x43377f(0x172)],_0x15f70a[_0x43377f(0x230)]),await this[_0x43377f(0x1b1)](_0x2132a8),this[_0x43377f(0x23e)](_0x2132a8,_0x4319d4);}_0x15f70a[_0x43377f(0x191)]&&(this[_0x43377f(0x1c4)][_0x43377f(0x1e8)](_0x2132a8,_0x15f70a[_0x43377f(0x191)]),this[_0x43377f(0x1ee)]=_0x15f70a[_0x43377f(0x191)]),this[_0x43377f(0x155)][_0x43377f(0x1ff)]=_0x4bbad2+this[_0x43377f(0x165)],this[_0x43377f(0x235)](_0x2132a8),_0x3b3396[_0x43377f(0x186)](_0x53dcad=>{const _0x10eec0=_0x43377f,_0x546085=this[_0x10eec0(0x1d4)](_0x53dcad);return _0x546085&&!this[_0x10eec0(0x20d)][_0x10eec0(0x1c2)](_0x546085);})[_0x43377f(0x1a5)]((_0x1b5d68,_0x196696)=>{const _0x40d3cd=_0x43377f;_0x1b5d68[_0x40d3cd(0x17e)]=this[_0x40d3cd(0x1c8)][_0x40d3cd(0x1ff)]+_0x196696,this[_0x40d3cd(0x1a3)](_0x1b5d68);}),this[_0x43377f(0x1a0)]()?(this[_0x43377f(0x213)]=0x0,this[_0x43377f(0x240)](!0x0),await this[_0x43377f(0x163)]()):(this[_0x43377f(0x201)]=!0x1,this[_0x43377f(0x17f)]());}[_0x42231a(0x1d7)](_0x4f8e8d,_0x1e94a4){const _0x433931=_0x42231a,_0x20e8c9=_0x1e94a4&&_0x1e94a4[_0x433931(0x224)];if(_0x20e8c9&&_0x20e8c9[_0x433931(0x18a)](_0x433931(0x21e)))throw _0x1e94a4;const _0x3562b8=this[_0x433931(0x14e)][_0x433931(0x23f)][_0x433931(0x247)](_0x1a8d74);throw this[_0x433931(0x201)]=!0x0,_0x3562b8[_0x433931(0x249)](),this[_0x433931(0x14e)][_0x433931(0x185)](_0x433931(0x19c)),new _0x2c870b(_0x4f8e8d,this[_0x433931(0x14e)],_0x20e8c9?{'originalError':_0x20e8c9}:void 0x0);}[_0x42231a(0x1a3)](_0x3ca0e4){const _0x158c25=_0x42231a;this[_0x158c25(0x1cb)][_0x158c25(0x1c2)](_0x3ca0e4)||(this[_0x158c25(0x1cb)][_0x158c25(0x158)](_0x3ca0e4),this[_0x158c25(0x153)][_0x158c25(0x246)](_0x3ca0e4),this[_0x158c25(0x18d)]||_0x158c25(0x15e)==_0x3ca0e4[_0x158c25(0x22d)]&&!_0x3ca0e4[_0x158c25(0x19a)]||this[_0x158c25(0x193)]());}[_0x42231a(0x240)](_0x2481f1=!0x1){const _0x124528=_0x42231a;!_0x2481f1&&this[_0x124528(0x201)]||(this[_0x124528(0x201)]=!0x0,clearTimeout(this[_0x124528(0x1d0)]),this[_0x124528(0x1d0)]=setTimeout(()=>{const _0x119142=_0x124528;this[_0x119142(0x227)]()[_0x119142(0x1e6)](_0x2a3f71=>{const _0x896b08=_0x119142;_0x2a3f71&&(this[_0x896b08(0x17f)](),this[_0x896b08(0x201)]=!0x1);})[_0x119142(0x1b3)](_0x26bf31=>{const _0x115322=_0x119142;this[_0x115322(0x17f)](),this[_0x115322(0x201)]=!0x1,function(_0x1afcac){const _0x1b2c85=_0x115322;return _0x1afcac[_0x1b2c85(0x224)][_0x1b2c85(0x18a)](_0x1b2c85(0x21b))||_0x1afcac[_0x1b2c85(0x224)][_0x1b2c85(0x18a)](_0x1b2c85(0x1b8))||_0x1afcac[_0x1b2c85(0x224)][_0x1b2c85(0x18a)](_0x1b2c85(0x22a));}(_0x26bf31)||this[_0x115322(0x1d7)](_0x26bf31[_0x115322(0x224)],_0x26bf31);});},this[_0x124528(0x213)]));}[_0x42231a(0x163)](){return new Promise(_0x4d03f2=>{const _0x42bdf7=_0x5d62;this['on'](_0x42bdf7(0x14d),()=>{_0x4d03f2();});});}async[_0x42231a(0x227)](){const _0x48a5df=_0x42231a,_0x229294=this[_0x48a5df(0x14e)][_0x48a5df(0x23f)][_0x48a5df(0x247)](_0x2a1ed3);if(this[_0x48a5df(0x1c6)]()&&(_0x229294[_0x48a5df(0x189)](),this[_0x48a5df(0x16e)]=!0x1),!this[_0x48a5df(0x1a0)]())return!0x0;const _0x21439e=[...this[_0x48a5df(0x153)]];for(const _0x361a1a of _0x21439e)_0x361a1a[_0x48a5df(0x1d1)]=this[_0x48a5df(0x1c8)][_0x48a5df(0x1ed)][_0x48a5df(0x208)](_0x361a1a);const _0x51d44f=this[_0x48a5df(0x1c4)][_0x48a5df(0x177)](_0x21439e),_0x4f74c1=K++,_0x100862=this[_0x48a5df(0x19f)](_0x21439e),_0x98312e=await this[_0x48a5df(0x1aa)][_0x48a5df(0x1fa)](_0x100862,_0x100862[_0x48a5df(0x17e)],_0x51d44f);try{return await this[_0x48a5df(0x168)](_0x21439e,_0x98312e,_0x4f74c1);}catch(_0x5d7857){return this[_0x48a5df(0x1d7)](_0x48a5df(0x21f),_0x5d7857);}}async[_0x42231a(0x168)](_0x26f1b6,_0x283662,_0x432fc1){const _0x4c74cf=_0x42231a;if(_0x4c74cf(0x169)in _0x283662)throw _0x283662[_0x4c74cf(0x169)];let _0x1ae37c=!0x1;if(_0x283662[_0x4c74cf(0x214)]){_0x283662[_0x4c74cf(0x191)]&&(this[_0x4c74cf(0x1ee)]=_0x283662[_0x4c74cf(0x191)]),this[_0x4c74cf(0x153)]=this[_0x4c74cf(0x153)][_0x4c74cf(0x186)](_0x499f32=>!_0x26f1b6[_0x4c74cf(0x18c)](_0x499f32));for(const _0x2ef49d of _0x26f1b6)_0x2ef49d[_0x4c74cf(0x234)]=_0x4c74cf(0x1cf)in _0x283662&&_0x283662[_0x4c74cf(0x1cf)]||void 0x0;Q(_0x26f1b6,_0x283662[_0x4c74cf(0x1ff)]-_0x26f1b6[_0x4c74cf(0x1f0)]),this[_0x4c74cf(0x235)](_0x26f1b6);const _0x1e9d39=_0x26f1b6[_0x4c74cf(0x186)](_0x31006c=>{const _0x488906=_0x4c74cf;if(!_0x31006c[_0x488906(0x15f)])return!0x1;const _0x35705c=this[_0x488906(0x1d4)](_0x31006c);return _0x35705c&&!this[_0x488906(0x20d)][_0x488906(0x1c2)](_0x35705c);});Q(_0x1e9d39,this[_0x4c74cf(0x1c8)][_0x4c74cf(0x1ff)]),this[_0x4c74cf(0x23e)](_0x1e9d39),_0x1ae37c=!0x0,this[_0x4c74cf(0x213)]=this[_0x4c74cf(0x1bc)];}else{const _0x23c0b5=this[_0x4c74cf(0x20b)](_0x283662[_0x4c74cf(0x172)],_0x283662[_0x4c74cf(0x230)])[_0x4c74cf(0x186)](_0x35f2a5=>_0x35f2a5[_0x4c74cf(0x17e)]>=this[_0x4c74cf(0x182)]);_0x23c0b5[_0x4c74cf(0x1a5)](_0x16949e=>this[_0x4c74cf(0x16a)](_0x16949e)),this[_0x4c74cf(0x153)]=this[_0x4c74cf(0x153)][_0x4c74cf(0x186)](_0x2ba49a=>!_0x2ba49a[_0x4c74cf(0x15f)]||!this[_0x4c74cf(0x20d)][_0x4c74cf(0x1c2)](this[_0x4c74cf(0x1d4)](_0x2ba49a))),this[_0x4c74cf(0x153)][_0x4c74cf(0x1f0)]&&Q(this[_0x4c74cf(0x153)],this[_0x4c74cf(0x153)][0x0][_0x4c74cf(0x17e)]),await this[_0x4c74cf(0x1b1)](_0x23c0b5),_0x1ae37c=this[_0x4c74cf(0x23d)](_0x23c0b5,_0x283662[_0x4c74cf(0x1ff)],_0x283662[_0x4c74cf(0x191)]),this[_0x4c74cf(0x213)]=Math[_0x4c74cf(0x239)](this[_0x4c74cf(0x213)]/0x2);}return _0x1ae37c?!this[_0x4c74cf(0x1a0)]()||(this[_0x4c74cf(0x240)](!0x0),!0x1):this[_0x4c74cf(0x1d7)](_0x4c74cf(0x210));}[_0x42231a(0x23d)](_0x223921,_0x242dd8,_0x407db5){const _0x41270d=_0x42231a;try{const _0x5ae75c={'document':this[_0x41270d(0x1c8)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x249d4d,operationsB:_0x3ba9bb,originalOperations:_0x379732}=_0x1e0f51(_0x223921,this[_0x41270d(0x153)],_0x5ae75c);Q(_0x249d4d,this[_0x41270d(0x1c8)][_0x41270d(0x1ff)]),Q(_0x3ba9bb,_0x242dd8);for(const _0x1df8fc of _0x249d4d){const _0x39a0e1=_0x379732[_0x41270d(0x247)](_0x1df8fc);_0x1df8fc[_0x41270d(0x211)]=_0x39a0e1?_0x39a0e1[_0x41270d(0x211)]:null;}_0x407db5&&(this[_0x41270d(0x1c4)][_0x41270d(0x1e8)](_0x223921,_0x407db5),this[_0x41270d(0x1ee)]=_0x407db5),this[_0x41270d(0x153)]=[..._0x3ba9bb],this[_0x41270d(0x23e)](_0x249d4d),this[_0x41270d(0x235)](_0x223921);}catch(_0x3c0683){return console[_0x41270d(0x169)](_0x3c0683),!0x1;}return!0x0;}[_0x42231a(0x23e)](_0x184d29,_0x39d798=!0x1){const _0x5d0aa5=_0x42231a;this[_0x5d0aa5(0x14e)][_0x5d0aa5(0x16c)][_0x5d0aa5(0x14b)]({'isUndoable':!0x1,'isLocal':!0x1},_0x12db8d=>{const _0x5e004c=_0x5d0aa5;for(const _0x2a7226 of _0x184d29)this[_0x5e004c(0x1cb)][_0x5e004c(0x158)](_0x2a7226),this[_0x5e004c(0x16a)](_0x2a7226),_0x12db8d[_0x5e004c(0x1f9)][_0x5e004c(0x20f)](_0x2a7226),this[_0x5e004c(0x14e)][_0x5e004c(0x16c)][_0x5e004c(0x24b)](_0x2a7226);});}[_0x42231a(0x16a)](_0x47e1a2){const _0x14c8d7=_0x42231a,_0x36b4b8=this[_0x14c8d7(0x1d4)](_0x47e1a2);_0x36b4b8&&this[_0x14c8d7(0x20d)][_0x14c8d7(0x158)](_0x36b4b8);}[_0x42231a(0x1d4)](_0x41f72e){const _0x5da9ca=_0x42231a;let _0x30df93,_0xc4de89;switch(_0x41f72e[_0x5da9ca(0x22d)]){case _0x5da9ca(0x166):_0x30df93=_0x41f72e[_0x5da9ca(0x150)][_0x5da9ca(0x205)];break;case _0x5da9ca(0x15e):if(_0xc4de89=_0x41f72e[_0x5da9ca(0x194)],!_0xc4de89)return null;_0x30df93=_0xc4de89[_0x5da9ca(0x205)];break;case _0x5da9ca(0x1d9):_0x30df93=_0x41f72e[_0x5da9ca(0x205)];break;case _0x5da9ca(0x1fe):_0x30df93=_0x41f72e[_0x5da9ca(0x17a)];break;case _0x5da9ca(0x1a6):_0x30df93=_0x41f72e[_0x5da9ca(0x1f1)][_0x5da9ca(0x205)];break;default:return null;}return _0x30df93[_0x5da9ca(0x1ca)];}[_0x42231a(0x235)](_0x534f3a){const _0x25e701=_0x42231a;_0x534f3a[_0x25e701(0x1a5)](_0x41b9cf=>{const _0x365971=_0x25e701,_0x862b18=_0x41b9cf[_0x365971(0x1ce)]();_0x862b18[_0x365971(0x211)]=_0x41b9cf[_0x365971(0x211)],_0x862b18[_0x365971(0x15f)]=!!_0x41b9cf[_0x365971(0x15f)],_0x862b18[_0x365971(0x234)]=_0x41b9cf[_0x365971(0x234)],_0x862b18[_0x365971(0x17e)]+=this[_0x365971(0x165)],_0x41b9cf[_0x365971(0x1b0)]&&this[_0x365971(0x1a2)][_0x365971(0x158)](_0x862b18),this[_0x365971(0x155)][_0x365971(0x20f)](_0x862b18);});}[_0x42231a(0x18e)](_0xdb4dca){const _0x125038=_0x42231a,_0xf4db2f=this[_0x125038(0x14e)][_0x125038(0x23f)][_0x125038(0x247)](_0x125038(0x152)),_0x3bcbe0=this[_0x125038(0x14e)][_0x125038(0x1e0)];_0xdb4dca||(_0xdb4dca=_0x21bf21(_0x3bcbe0,_0x125038(0x1cc))),_0xf4db2f[_0x125038(0x221)](_0xdb4dca,{'title':_0x21bf21(_0x3bcbe0,_0x125038(0x1fd)),'namespace':_0x125038(0x1ef)}),this[_0x125038(0x14a)]=!0x0,clearTimeout(this[_0x125038(0x1d0)]),this[_0x125038(0x153)]=[],this[_0x125038(0x14e)][_0x125038(0x23f)][_0x125038(0x247)](_0x1a8d74)[_0x125038(0x249)]();}[_0x42231a(0x193)](){const _0x55d3af=_0x42231a;this[_0x55d3af(0x18d)]||(this[_0x55d3af(0x18d)]=this[_0x55d3af(0x14e)][_0x55d3af(0x23f)][_0x55d3af(0x247)](_0x4bd464)[_0x55d3af(0x158)](_0x21bf21(this[_0x55d3af(0x14e)][_0x55d3af(0x1e0)],_0x55d3af(0x197))));}[_0x42231a(0x17f)](){const _0xc4eb27=_0x42231a;this[_0xc4eb27(0x18d)]&&(this[_0xc4eb27(0x14e)][_0xc4eb27(0x23f)][_0xc4eb27(0x247)](_0x4bd464)[_0xc4eb27(0x24a)](this[_0xc4eb27(0x18d)]),this[_0xc4eb27(0x18d)]=null);}[_0x42231a(0x19f)](_0x26a715){const _0x6a5a76=_0x42231a,_0x39e54a=_0x26a715[_0x6a5a76(0x22c)](_0x3dd346=>_0x3dd346[_0x6a5a76(0x1e1)]());return this[_0x6a5a76(0x1cd)][_0x6a5a76(0x1e7)](_0x39e54a);}[_0x42231a(0x20b)](_0x4a2a70,_0x22df02){const _0x4412eb=_0x42231a;return this[_0x4412eb(0x1cd)][_0x4412eb(0x1ab)](_0x4a2a70)[_0x4412eb(0x22c)]((_0x15e401,_0x448320)=>{const _0x4c9cd3=_0x4412eb,_0x3e29aa=_0x4c9cd3(0x148)==_0x22df02[_0x448320][_0x4c9cd3(0x22d)];if(_0x4c9cd3(0x15b)==_0x15e401[_0x4c9cd3(0x1ba)]){const _0x102e70=_0x15e401[_0x4c9cd3(0x150)][_0x4c9cd3(0x205)];!this[_0x4c9cd3(0x1c8)][_0x4c9cd3(0x181)](_0x102e70)&&(this[_0x4c9cd3(0x1c8)][_0x4c9cd3(0x232)](_0x4c9cd3(0x1f7),_0x102e70)[_0x4c9cd3(0x207)]=!0x1);}const _0x2d3223=_0x495498[_0x4c9cd3(0x1de)](_0x15e401,this[_0x4c9cd3(0x1c8)]);return _0x2d3223[_0x4c9cd3(0x1d1)]=_0x15e401[_0x4c9cd3(0x1d1)],_0x2d3223[_0x4c9cd3(0x15f)]=_0x3e29aa,_0x2d3223[_0x4c9cd3(0x211)]=_0x3e29aa?null:_0x22df02[_0x448320][_0x4c9cd3(0x1a8)],_0x2d3223[_0x4c9cd3(0x1b0)]=_0x4c9cd3(0x1d2)===_0x22df02[_0x448320][_0x4c9cd3(0x22d)],_0x2d3223[_0x4c9cd3(0x234)]=_0x22df02[_0x448320][_0x4c9cd3(0x234)],_0x2d3223;});}[_0x42231a(0x22b)](){const _0x257d14=_0x42231a;this[_0x257d14(0x16e)]=!0x0,this[_0x257d14(0x1c6)]()?this[_0x257d14(0x240)]():this[_0x257d14(0x16e)]=!0x1;}[_0x42231a(0x1c6)](){const _0x3efa23=_0x42231a,_0xd512e2=this[_0x3efa23(0x14e)][_0x3efa23(0x23f)][_0x3efa23(0x247)](_0x9eb648)[_0x3efa23(0x1f2)][_0x3efa23(0x247)](this[_0x3efa23(0x1e5)]);return!this[_0x3efa23(0x14e)][_0x3efa23(0x1ac)]&&!!_0xd512e2&&_0xd512e2[_0x3efa23(0x1f0)]>0x1&&this[_0x3efa23(0x16e)];}[_0x42231a(0x1a0)](){const _0x5d0f47=_0x42231a;return this[_0x5d0f47(0x153)][_0x5d0f47(0x1f0)]>0x0||this[_0x5d0f47(0x1c6)]();}}class J extends Error{}function Q(_0x4716a4,_0x1754da){const _0x4be83f=_0x42231a;for(const _0x19f32c of _0x4716a4)_0x19f32c[_0x4be83f(0x17e)]=_0x1754da++;}class X{[_0x42231a(0x1ae)];[_0x42231a(0x1bb)];constructor(_0x498de4){const _0x5293d1=_0x42231a;this[_0x5293d1(0x1ae)]=_0x498de4,this[_0x5293d1(0x1bb)]=new WeakMap();}[_0x42231a(0x177)](_0x887d27){const _0x6de75c=_0x42231a;let _0x172016=_0x887d27[_0x6de75c(0x1f0)];for(;_0x172016--;){const _0x57163a=_0x887d27[_0x172016];if(!this[_0x6de75c(0x1ae)][_0x6de75c(0x1c2)](_0x57163a)){if(!this[_0x6de75c(0x1bb)][_0x6de75c(0x1c2)](_0x57163a)){const _0xb5bc82=_0x585be3()[_0x6de75c(0x242)](0x1,0x12);this[_0x6de75c(0x1bb)][_0x6de75c(0x16f)](_0x57163a,_0xb5bc82);}return this[_0x6de75c(0x1bb)][_0x6de75c(0x247)](_0x57163a);}}}[_0x42231a(0x1e8)](_0x206ec5,_0x3d8e79){const _0x5753cd=_0x42231a;if(!_0x3d8e79)return;let _0xb5d03f=_0x206ec5[_0x5753cd(0x1f0)];for(;_0xb5d03f--;){const _0x4ddc48=_0x206ec5[_0xb5d03f];this[_0x5753cd(0x1ae)][_0x5753cd(0x1c2)](_0x4ddc48)||this[_0x5753cd(0x1bb)][_0x5753cd(0x16f)](_0x4ddc48,_0x3d8e79);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x23bf(){const _0x48a7b8=['get','getUser','set','listenTo','sessions-unregister-not-exist','21971HWAknq','requires','plugins','sessionId','1694650BMnQuh','delete','state','42OVuNSC','Sessions','897165FMlLGl','remove','channelSessions','getUserBySessionId','_createUser','user','role','getUserSessions','values','connected','_registeredSessions','context','size','4BFSKWb','forEach','11wNYYQu','getUserRole','_users','fire','allConnectedUsers','stopListening','_uniqueUsersCount','1821948qBBYKe','sessions-register-already-registered','sessionAdd:','change:state','addUser','channelConnectedUsers','pluginName','orderNumber','isPremiumPlugin','82074MnJHfP','connection','_handleSessionAdd','_handleSessionRemove','unregister','mySessionId','init','1269569zDuuDM','8cJMmVU','27wzmBTG','3589890qJuLOo','register','assign','add','clear','isOfficialPlugin','isMe','defineMe','has','hiddenInPresenceList'];_0x23bf=function(){return _0x48a7b8;};return _0x23bf();}const _0x5e9961=_0x183e;(function(_0x5482e6,_0x55443e){const _0x21d7a3=_0x183e,_0x9e7cde=_0x5482e6();while(!![]){try{const _0x5a8c51=-parseInt(_0x21d7a3(0x1d1))/0x1*(-parseInt(_0x21d7a3(0x1d8))/0x2)+-parseInt(_0x21d7a3(0x1b8))/0x3+parseInt(_0x21d7a3(0x1e7))/0x4*(parseInt(_0x21d7a3(0x1da))/0x5)+parseInt(_0x21d7a3(0x1c2))/0x6+parseInt(_0x21d7a3(0x1bf))/0x7*(-parseInt(_0x21d7a3(0x1c0))/0x8)+parseInt(_0x21d7a3(0x1c1))/0x9*(-parseInt(_0x21d7a3(0x1d5))/0xa)+parseInt(_0x21d7a3(0x1e9))/0xb*(-parseInt(_0x21d7a3(0x1f0))/0xc);if(_0x5a8c51===_0x55443e)break;else _0x9e7cde['push'](_0x9e7cde['shift']());}catch(_0x118126){_0x9e7cde['push'](_0x9e7cde['shift']());}}}(_0x23bf,0x5a60e));import{ContextPlugin as _0x1ff861}from'ckeditor5/src/core.js';import{Collection as _0x9d80a7,CKEditorError as _0x1029eb}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4ec331}from'./websocketgateway.js';function _0x183e(_0x2610c0,_0x2c2368){const _0x23bfb6=_0x23bf();return _0x183e=function(_0x183ee4,_0x234c2b){_0x183ee4=_0x183ee4-0x1b8;let _0x3990f9=_0x23bfb6[_0x183ee4];return _0x3990f9;},_0x183e(_0x2610c0,_0x2c2368);}import{Users as _0x37163d}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x1ff861{[_0x5e9961(0x1dc)];[_0x5e9961(0x1f5)];[_0x5e9961(0x1ed)];[_0x5e9961(0x1e4)];[_0x5e9961(0x1ef)];[_0x5e9961(0x1eb)];static get[_0x5e9961(0x1f6)](){const _0x4852d9=_0x5e9961;return _0x4852d9(0x1d9);}static get[_0x5e9961(0x1c7)](){return!0x0;}static get[_0x5e9961(0x1f8)](){return!0x0;}static get[_0x5e9961(0x1d2)](){return[_0x4ec331,_0x37163d];}constructor(_0xf4e0e5){const _0x41c53d=_0x5e9961;super(_0xf4e0e5),this[_0x41c53d(0x1dc)]=new Map(),this[_0x41c53d(0x1f5)]=new Map(),this[_0x41c53d(0x1ed)]=new _0x9d80a7(),this[_0x41c53d(0x1e4)]=new Map(),this[_0x41c53d(0x1ef)]=0x0,this[_0x41c53d(0x1eb)]=this[_0x41c53d(0x1e5)][_0x41c53d(0x1d3)][_0x41c53d(0x1cc)](_0x37163d);}[_0x5e9961(0x1be)](){const _0x54291b=_0x5e9961,_0x3ab987=this[_0x54291b(0x1e5)][_0x54291b(0x1d3)][_0x54291b(0x1cc)](_0x4ec331);this[_0x54291b(0x1cf)](_0x3ab987,_0x54291b(0x1f3),(_0x11e05c,_0x3a0059,_0x11a693)=>{const _0xca3ffc=_0x54291b;if(_0xca3ffc(0x1e3)!==_0x11a693)this[_0xca3ffc(0x1dc)][_0xca3ffc(0x1e8)](_0xb567b2=>_0xb567b2[_0xca3ffc(0x1c6)]()),this[_0xca3ffc(0x1f5)][_0xca3ffc(0x1e8)](_0x59ef29=>_0x59ef29[_0xca3ffc(0x1c6)]()),this[_0xca3ffc(0x1ed)][_0xca3ffc(0x1c6)]();else{for(const [_0x8f44aa,_0x4aa5e3]of this[_0xca3ffc(0x1e4)])for(const _0x2d041c of _0x4aa5e3)this[_0xca3ffc(0x1ba)](_0x8f44aa,_0x2d041c);}}),this[_0x54291b(0x1de)](_0x3ab987[_0x54291b(0x1b9)]['me'],!0x0);}[_0x5e9961(0x1c3)](_0x243ec9,_0x58fb4a){const _0x46c8fd=_0x5e9961;if(this[_0x46c8fd(0x1e4)][_0x46c8fd(0x1ca)](_0x243ec9))throw new _0x1029eb(_0x46c8fd(0x1f1),null,{'channelId':_0x243ec9});this[_0x46c8fd(0x1e4)][_0x46c8fd(0x1ce)](_0x243ec9,_0x58fb4a),this[_0x46c8fd(0x1dc)][_0x46c8fd(0x1ce)](_0x243ec9,new _0x9d80a7()),this[_0x46c8fd(0x1f5)][_0x46c8fd(0x1ce)](_0x243ec9,new _0x9d80a7()),this[_0x46c8fd(0x1cf)](_0x58fb4a,_0x46c8fd(0x1c5),(_0x5d63ca,_0xd0ebef)=>this[_0x46c8fd(0x1ba)](_0x243ec9,_0xd0ebef)),this[_0x46c8fd(0x1cf)](_0x58fb4a,_0x46c8fd(0x1db),(_0x4ffede,_0x456546)=>this[_0x46c8fd(0x1bb)](_0x243ec9,_0x456546));for(const _0x3c8fc9 of _0x58fb4a)this[_0x46c8fd(0x1ba)](_0x243ec9,_0x3c8fc9);}[_0x5e9961(0x1bc)](_0x4bd5de){const _0x3b8ce1=_0x5e9961;if(!this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1ca)](_0x4bd5de))throw new _0x1029eb(_0x3b8ce1(0x1d0),null,{'channelId':_0x4bd5de});const _0x154a56=this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1cc)](_0x4bd5de);this[_0x3b8ce1(0x1ee)](_0x154a56);for(const _0x33352d of _0x154a56)_0x3b8ce1(0x1e3)===this[_0x3b8ce1(0x1e5)][_0x3b8ce1(0x1d3)][_0x3b8ce1(0x1cc)](_0x4ec331)[_0x3b8ce1(0x1d7)]&&this[_0x3b8ce1(0x1bb)](_0x4bd5de,_0x33352d);this[_0x3b8ce1(0x1e4)][_0x3b8ce1(0x1d6)](_0x4bd5de),this[_0x3b8ce1(0x1dc)][_0x3b8ce1(0x1d6)](_0x4bd5de),this[_0x3b8ce1(0x1f5)][_0x3b8ce1(0x1d6)](_0x4bd5de);}get[_0x5e9961(0x1bd)](){const _0x1229a1=_0x5e9961;return this[_0x1229a1(0x1e5)][_0x1229a1(0x1d3)][_0x1229a1(0x1cc)](_0x4ec331)[_0x1229a1(0x1b9)][_0x1229a1(0x1d4)];}[_0x5e9961(0x1dd)](_0x4f6e68){const _0x364d9a=_0x5e9961;for(const _0x2869cb of this[_0x364d9a(0x1dc)][_0x364d9a(0x1e2)]())for(const _0x49bac8 of _0x2869cb)if(_0x49bac8['id']===_0x4f6e68)return _0x49bac8[_0x364d9a(0x1df)];}[_0x5e9961(0x1e1)](_0x29d769,_0x58fe78){const _0x281981=_0x5e9961,_0x8cd440=_0x58fe78?[this[_0x281981(0x1dc)][_0x281981(0x1cc)](_0x58fe78)]:this[_0x281981(0x1dc)][_0x281981(0x1e2)](),_0x16fda4=new Set();for(const _0x4c76a2 of _0x8cd440)for(const _0x10de69 of _0x4c76a2)_0x10de69[_0x281981(0x1df)]['id']===_0x29d769['id']&&_0x16fda4[_0x281981(0x1c5)](_0x10de69['id']);return _0x16fda4;}[_0x5e9961(0x1ea)](_0x272d2c){const _0x3ca505=_0x5e9961;for(const _0x84f86d of this[_0x3ca505(0x1dc)][_0x3ca505(0x1e2)]())for(const _0x2fa8ed of _0x84f86d)if(_0x2fa8ed[_0x3ca505(0x1df)]===_0x272d2c)return _0x2fa8ed[_0x3ca505(0x1e0)];}[_0x5e9961(0x1ba)](_0xb3c266,_0x3f421b){const _0x44ef62=_0x5e9961;if(_0x44ef62(0x1e3)!==this[_0x44ef62(0x1e5)][_0x44ef62(0x1d3)][_0x44ef62(0x1cc)](_0x4ec331)[_0x44ef62(0x1d7)])return;const _0x1ca411=_0x3f421b[_0x44ef62(0x1df)],_0xe05c80=this[_0x44ef62(0x1eb)][_0x44ef62(0x1cd)](_0x1ca411['id'])||this[_0x44ef62(0x1de)](_0x1ca411),_0x2e2523=Object[_0x44ef62(0x1c4)]({},_0x3f421b,{'user':_0xe05c80});if(this[_0x44ef62(0x1dc)][_0x44ef62(0x1cc)](_0xb3c266)[_0x44ef62(0x1c5)](_0x2e2523),!_0x1ca411[_0x44ef62(0x1cb)]){const _0x2cef3c=this[_0x44ef62(0x1f5)][_0x44ef62(0x1cc)](_0xb3c266);_0x2cef3c[_0x44ef62(0x1ca)](_0xe05c80['id'])||_0x2cef3c[_0x44ef62(0x1c5)](_0xe05c80),this[_0x44ef62(0x1ed)][_0x44ef62(0x1ca)](_0xe05c80['id'])||_0x1ca411[_0x44ef62(0x1cb)]||this[_0x44ef62(0x1ed)][_0x44ef62(0x1c5)](_0xe05c80,_0xe05c80[_0x44ef62(0x1c8)]?0x0:void 0x0);}this[_0x44ef62(0x1ec)](_0x44ef62(0x1f2)+_0xb3c266,{'channelId':_0xb3c266,'session':_0x2e2523});}[_0x5e9961(0x1bb)](_0x1f3fe2,_0x379cdf){const _0x4d7839=_0x5e9961;if(_0x4d7839(0x1e3)!==this[_0x4d7839(0x1e5)][_0x4d7839(0x1d3)][_0x4d7839(0x1cc)](_0x4ec331)[_0x4d7839(0x1d7)])return;const _0x90fe39=this[_0x4d7839(0x1f5)][_0x4d7839(0x1cc)](_0x1f3fe2),_0x95be84=_0x379cdf[_0x4d7839(0x1df)];_0x95be84['id']&&(this[_0x4d7839(0x1dc)][_0x4d7839(0x1cc)](_0x1f3fe2)[_0x4d7839(0x1db)](_0x379cdf['id']),_0x90fe39[_0x4d7839(0x1ca)](_0x95be84['id'])&&!this[_0x4d7839(0x1e1)](_0x95be84,_0x1f3fe2)[_0x4d7839(0x1e6)]&&_0x90fe39[_0x4d7839(0x1db)](_0x95be84['id']),this[_0x4d7839(0x1ed)][_0x4d7839(0x1cc)](_0x95be84['id'])&&!this[_0x4d7839(0x1e1)](_0x95be84)[_0x4d7839(0x1e6)]&&this[_0x4d7839(0x1ed)][_0x4d7839(0x1db)](_0x95be84['id']));}[_0x5e9961(0x1de)](_0x26667a,_0x37f219){const _0x51d249=_0x5e9961,_0x3a2912=this[_0x51d249(0x1eb)][_0x51d249(0x1f4)](_0x26667a);return _0x37f219&&this[_0x51d249(0x1eb)][_0x51d249(0x1c9)](_0x26667a['id']),_0x3a2912[_0x51d249(0x1f7)]=this[_0x51d249(0x1ef)]++,_0x3a2912;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2eb675=_0xd2d3;(function(_0x1530e2,_0x140442){const _0x1b256d=_0xd2d3,_0x59ea8e=_0x1530e2();while(!![]){try{const _0x352303=-parseInt(_0x1b256d(0x1b8))/0x1*(parseInt(_0x1b256d(0x191))/0x2)+parseInt(_0x1b256d(0x1c6))/0x3+-parseInt(_0x1b256d(0x1f8))/0x4+-parseInt(_0x1b256d(0x1a3))/0x5+parseInt(_0x1b256d(0x1d2))/0x6*(parseInt(_0x1b256d(0x18b))/0x7)+parseInt(_0x1b256d(0x1e7))/0x8+-parseInt(_0x1b256d(0x1e4))/0x9*(parseInt(_0x1b256d(0x1a2))/0xa);if(_0x352303===_0x140442)break;else _0x59ea8e['push'](_0x59ea8e['shift']());}catch(_0x108d07){_0x59ea8e['push'](_0x59ea8e['shift']());}}}(_0x4acc,0x805ac));import{Plugin as _0x2a36dd}from'ckeditor5/src/core.js';function _0x4acc(){const _0x219855=['innerHTML','parent','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','3997hkYUJg','name','createUIElement','markers','oldRange','nodeAfter','105670vSQttz','user:position:','markerToHighlight','applyOperation','markerNameToElements','ck-user__marker\x20','createRange','$text','getRange','toRange','isPremiumPlugin','getPositions','delete','getMarkerClass','removeMarker','set','user:','30610vVkjOU','415565WOHkWT','isSimilar','getContainedElement','remove','hasContent','add','detach','false','newRange','updateMarker','type','element','reconvertMarker','highest','render','view','markerToElement','span','toDomElement','schema','_createdBatches','1JgXYHI','model','enqueueChange','markerRange','marker','isInline','getFirstRange','color','setAttribute','contenteditable','for','afterInit','size','isOfficialPlugin','2806383eQzOpM','ck-user__marker_hovered','stopListening','document','mouseleave','outerHTML','isCollapsed','removeClass','hasDomSelection','classList','mapper','editor','2850yDiioi','editing','isLimit','setCustomProperty','plugins','Escape','getAttribute','addMarker','change:range','keydown','createElement','isObject','markerName','undo','getStart','clear','spellcheck','data-session-id','1197VkCNBG','init','mouseenter','3501872xtCnSE','getNearestSelectionRange','addEventListener','user:position','startsWith','user:range:','UserMarkers','pluginName','editingDowncast','requires','userPositionMarker','fromRange','getSelectionClass','root','isDocumentOperation','destroy','mySessionId','2302476ZArtbD','orderNumber','getCustomProperty','split','$graveyard','tableCell','start','createUserMarkerOperations','end','batch','ck-user__selection','user:range','ck-user__marker-tooltip','checkChild','change','commands','get','textContent','rootName','_domEmitter','selection','getUserBySessionId','conversion','has','listenTo','deletionPosition','update:user:range'];_0x4acc=function(){return _0x219855;};return _0x4acc();}import{global as _0x3c8aa8,DomEmitterMixin as _0x41cd99}from'ckeditor5/src/utils.js';import{Sessions as _0x52847c}from'./sessions.js';function _0xd2d3(_0x29d036,_0x11250c){const _0x4acce1=_0x4acc();return _0xd2d3=function(_0xd2d34a,_0xdb0dc5){_0xd2d34a=_0xd2d34a-0x17c;let _0x366558=_0x4acce1[_0xd2d34a];return _0x366558;},_0xd2d3(_0x29d036,_0x11250c);}import{ModelLiveRange as _0x38d838}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x2a36dd{[_0x2eb675(0x180)]=new(_0x41cd99())();static get[_0x2eb675(0x1f0)](){return[_0x52847c];}static get[_0x2eb675(0x1ee)](){const _0x1eb841=_0x2eb675;return _0x1eb841(0x1ed);}static get[_0x2eb675(0x1c5)](){return!0x0;}static get[_0x2eb675(0x19b)](){return!0x0;}[_0x2eb675(0x1e5)](){const _0x55ba29=_0x2eb675,_0xe2c91a=this[_0x55ba29(0x1d1)],_0x42d8f0=_0xe2c91a[_0x55ba29(0x1d6)][_0x55ba29(0x17d)](_0x52847c);_0xe2c91a[_0x55ba29(0x183)][_0x55ba29(0x1c2)](_0x55ba29(0x1ef))[_0x55ba29(0x1b3)]({'model':_0x55ba29(0x1ea),'view':(_0x3ea1d1,{writer:_0x487a49})=>function(_0x471420,_0x464d89,_0x1080e4,_0x4bc1e3){const _0x5c5965=_0x55ba29,_0x377a47=_0x471420[_0x5c5965(0x1de)][_0x5c5965(0x1fb)](':')[0x2],_0x3eea61=_0x1080e4[_0x5c5965(0x182)](_0x377a47);if(!_0x3eea61||_0x377a47===_0x1080e4[_0x5c5965(0x1f7)])return;if(!_0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x1b6)][_0x5c5965(0x205)](_0x471420[_0x5c5965(0x1bb)][_0x5c5965(0x1fe)],_0x5c5965(0x198)))return;const _0x2b7358={'class':_0x5c5965(0x196)+_0x3eea61[_0x5c5965(0x1bf)][_0x5c5965(0x19e)](),'data-name':_0x3eea61[_0x5c5965(0x18c)],'data-session-id':_0x377a47},_0x54aa83=_0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x18e)][_0x5c5965(0x17d)](_0x471420[_0x5c5965(0x1de)]),_0x23c431=_0x54aa83[_0x5c5965(0x1e0)](),_0x91b419=_0x23c431[_0x5c5965(0x190)],_0x3281b2=_0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x1b6)];if(_0x91b419&&_0x3281b2[_0x5c5965(0x1dd)](_0x91b419)&&_0x3281b2[_0x5c5965(0x1bd)](_0x91b419)&&!_0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x18e)][_0x5c5965(0x17d)](_0x5c5965(0x1ec)+_0x377a47)[_0x5c5965(0x199)]()[_0x5c5965(0x1cc)])return;const _0x9ec305=_0x23c431[_0x5c5965(0x189)];return _0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x1b6)][_0x5c5965(0x1d4)](_0x9ec305)&&!_0x4bc1e3[_0x5c5965(0x1b9)][_0x5c5965(0x1a7)](_0x9ec305)&&(_0x2b7358[_0x5c5965(0x1c1)]=!0x1),function(_0x321c1b,_0x5860e6,_0x4cbbc3){const _0x47fef5=_0x5c5965,_0x2d40d4=_0x321c1b[_0x47fef5(0x18d)](_0x47fef5(0x1b4),_0x5860e6);return _0x321c1b[_0x47fef5(0x1d5)](_0x47fef5(0x1f1),!0x0,_0x2d40d4),_0x2d40d4[_0x47fef5(0x1b1)]=function(_0x344603){const _0x156b7f=_0x47fef5,_0x32069e=this[_0x156b7f(0x1b5)](_0x344603),_0x59a621=document[_0x156b7f(0x1dc)](_0x156b7f(0x1b4));return _0x59a621[_0x156b7f(0x1cf)][_0x156b7f(0x1a8)](_0x156b7f(0x204)),_0x59a621[_0x156b7f(0x1c0)](_0x156b7f(0x1c1),_0x156b7f(0x1aa)),_0x59a621[_0x156b7f(0x1c0)](_0x156b7f(0x1e2),_0x156b7f(0x1aa)),_0x59a621[_0x156b7f(0x17e)]=_0x4cbbc3[_0x156b7f(0x18c)],_0x32069e[_0x156b7f(0x188)]=_0x156b7f(0x18a)+_0x59a621[_0x156b7f(0x1cb)]+'',_0x32069e[_0x156b7f(0x1e9)](_0x156b7f(0x1e6),()=>{const _0x30269c=_0x156b7f;_0x32069e[_0x30269c(0x1cf)][_0x30269c(0x1a8)](_0x30269c(0x1c7));}),_0x32069e[_0x156b7f(0x1e9)](_0x156b7f(0x1ca),()=>{const _0x4e8145=_0x156b7f;_0x32069e[_0x4e8145(0x1cf)][_0x4e8145(0x1a6)](_0x4e8145(0x1c7));}),_0x32069e;},_0x2d40d4[_0x47fef5(0x1a4)]=function(_0x106c80){const _0x881e68=_0x47fef5;return!(!this[_0x881e68(0x1fa)](_0x881e68(0x1f1))||!_0x106c80[_0x881e68(0x1fa)](_0x881e68(0x1f1))||this[_0x881e68(0x1d8)](_0x881e68(0x1e3))!=_0x106c80[_0x881e68(0x1d8)](_0x881e68(0x1e3)));},_0x2d40d4;}(_0x464d89,_0x2b7358,_0x3eea61);}(_0x3ea1d1,_0x487a49,_0x42d8f0,_0xe2c91a)}),_0xe2c91a[_0x55ba29(0x183)][_0x55ba29(0x1c2)](_0x55ba29(0x1ef))[_0x55ba29(0x193)]({'model':_0x55ba29(0x203),'view':_0x9ddf4=>function(_0x206447,_0x2c53ea){const _0x3fec33=_0x55ba29,_0x4eebde=_0x206447[_0x3fec33(0x1de)][_0x3fec33(0x1fb)](':')[0x2];if(_0x4eebde===_0x2c53ea[_0x3fec33(0x1f7)])return null;const _0x171ba0=_0x2c53ea[_0x3fec33(0x182)](_0x4eebde);if(!_0x171ba0)return{'id':_0x4eebde,'classes':[]};return{'id':_0x4eebde,'classes':[_0x3fec33(0x202),_0x171ba0[_0x3fec33(0x1bf)][_0x3fec33(0x1f3)]()],'attributes':{'data-session-id':_0x4eebde},'priority':0x7d0+_0x171ba0[_0x3fec33(0x1f9)]};}(_0x9ddf4,_0x42d8f0)}),function(_0xc515de){const _0x4673bd=_0x55ba29,_0x3e7d10=_0xc515de[_0x4673bd(0x1b9)],_0x5b4678=new Map(),_0x26fe6a=_0xc515de[_0x4673bd(0x1d6)][_0x4673bd(0x17d)](_0x52847c);_0x3e7d10[_0x4673bd(0x18e)]['on'](_0x4673bd(0x187),(_0x2b3c6d,_0x2d7040,_0x17d99e,_0x2667c2)=>{const _0x528037=_0x4673bd;if(!_0x2667c2&&_0x5b4678[_0x528037(0x17d)](_0x2d7040[_0x528037(0x18c)]))return _0x5b4678[_0x528037(0x17d)](_0x2d7040[_0x528037(0x18c)])[_0x528037(0x1a9)](),void _0x5b4678[_0x528037(0x19d)](_0x2d7040[_0x528037(0x18c)]);const _0x104e34=_0x2d7040[_0x528037(0x18c)][_0x528037(0x1fb)](':')[0x2];if(_0x104e34===_0x26fe6a[_0x528037(0x1f7)])return;const _0x23c10d=_0x528037(0x192)+_0x104e34;_0x3e7d10[_0x528037(0x18e)][_0x528037(0x184)](_0x23c10d)&&_0xc515de[_0x528037(0x1d3)][_0x528037(0x1af)](_0x23c10d),_0x2d7040['on'](_0x528037(0x1da),(_0x1ea5c3,_0x47747d,_0x39869f)=>{const _0x38d59e=_0x528037;if(_0x38d59e(0x1fc)!=_0x47747d[_0x38d59e(0x1f4)][_0x38d59e(0x17f)]&&_0x38d59e(0x1fc)==_0x2d7040[_0x38d59e(0x199)]()[_0x38d59e(0x1f4)][_0x38d59e(0x17f)]&&!_0x5b4678[_0x38d59e(0x184)](_0x2d7040[_0x38d59e(0x18c)])){const _0x17cbc1=_0x3e7d10[_0x38d59e(0x1b6)][_0x38d59e(0x1e8)](_0x39869f[_0x38d59e(0x186)]);if(_0x17cbc1){const _0x1df48e=_0x38d838[_0x38d59e(0x1f2)](_0x17cbc1);_0x5b4678[_0x38d59e(0x1a0)](_0x2d7040[_0x38d59e(0x18c)],_0x1df48e),_0x1df48e['on'](_0x38d59e(0x1da),(_0x2f8303,_0x2b6f89,_0x152537)=>{const _0x207c61=_0x38d59e;if(_0x207c61(0x1fc)==_0x1df48e[_0x207c61(0x1f4)][_0x207c61(0x17f)]){const _0x263d00=_0x3e7d10[_0x207c61(0x1b6)][_0x207c61(0x1e8)](_0x152537[_0x207c61(0x186)]);_0x263d00?(_0x1df48e[_0x207c61(0x1fe)]=_0x263d00[_0x207c61(0x1fe)],_0x1df48e[_0x207c61(0x200)]=_0x263d00[_0x207c61(0x200)]):(_0x5b4678[_0x207c61(0x19d)](_0x2d7040[_0x207c61(0x18c)]),_0x1df48e[_0x207c61(0x1a9)]());}});}}});}),_0x3e7d10[_0x4673bd(0x1c9)]['on'](_0x4673bd(0x206),()=>{const _0x39814a=_0x4673bd;_0x5b4678[_0x39814a(0x1c4)]>0x0&&_0x3e7d10[_0x39814a(0x1ba)]({'isUndoable':!0x1},_0x582f27=>{const _0x21d50b=_0x39814a;for(const [_0x5ae3be,_0x19d859]of _0x5b4678)_0x21d50b(0x1fc)==_0x3e7d10[_0x21d50b(0x18e)][_0x21d50b(0x17d)](_0x5ae3be)[_0x21d50b(0x199)]()[_0x21d50b(0x1f4)][_0x21d50b(0x17f)]&&(ee(_0x5ae3be[_0x21d50b(0x1fb)](':')[0x2],_0x19d859[_0x21d50b(0x19a)](),_0x3e7d10,_0x582f27),_0x19d859[_0x21d50b(0x1a9)]());_0x5b4678[_0x21d50b(0x1e1)]();});});}(_0xe2c91a),this[_0x55ba29(0x180)][_0x55ba29(0x185)](_0x3c8aa8[_0x55ba29(0x1c9)],_0x55ba29(0x1db),(_0x3ede08,{key:_0x2e260b})=>{const _0x18407a=_0x55ba29;_0x18407a(0x1d7)===_0x2e260b&&function(_0x151a24){const _0x1362c8=_0x18407a;_0x151a24[_0x1362c8(0x1d3)][_0x1362c8(0x1b2)][_0x1362c8(0x206)](_0x2a77b2=>{const _0x784a86=_0x1362c8;for(const _0x5c198b of _0x151a24[_0x784a86(0x1b9)][_0x784a86(0x18e)]){if(!_0x5c198b[_0x784a86(0x18c)][_0x784a86(0x1eb)](_0x784a86(0x1ea)))continue;const _0x5e2cfe=_0x151a24[_0x784a86(0x1d3)][_0x784a86(0x1d0)][_0x784a86(0x195)](_0x5c198b[_0x784a86(0x18c)]);if(_0x5e2cfe){for(const _0x26fe85 of _0x5e2cfe)_0x2a77b2[_0x784a86(0x1cd)](_0x784a86(0x1c7),_0x26fe85);}}});}(_0xe2c91a);},{'useCapture':!0x0});}[_0x2eb675(0x1c3)](){const _0x14dac7=_0x2eb675,_0x3ac635=this[_0x14dac7(0x1d1)],_0x1222df=_0x3ac635[_0x14dac7(0x17c)][_0x14dac7(0x17d)](_0x14dac7(0x1df));_0x1222df&&_0x3ac635[_0x14dac7(0x1b9)]['on'](_0x14dac7(0x194),(_0x2a6a50,_0xeb7ef8)=>{const _0x1b4132=_0x14dac7,_0x39785c=_0xeb7ef8[0x0];if(!_0x39785c[_0x1b4132(0x1f5)])return;if(_0x1b4132(0x1bc)!=_0x39785c[_0x1b4132(0x1ad)]||!_0x39785c[_0x1b4132(0x18c)][_0x1b4132(0x1eb)](_0x1b4132(0x1a1)))return;const _0x251aef=_0x39785c[_0x1b4132(0x201)];_0x1222df[_0x1b4132(0x1b7)][_0x1b4132(0x184)](_0x251aef)&&(_0x39785c[_0x1b4132(0x1ab)]=_0x39785c[_0x1b4132(0x18f)]?_0x3ac635[_0x1b4132(0x1b9)][_0x1b4132(0x197)](_0x39785c[_0x1b4132(0x18f)][_0x1b4132(0x1fe)],_0x39785c[_0x1b4132(0x18f)][_0x1b4132(0x200)]):null);},{'priority':_0x14dac7(0x1b0)});}[_0x2eb675(0x1f6)](){const _0x10325b=_0x2eb675;return this[_0x10325b(0x180)][_0x10325b(0x1c8)](),super[_0x10325b(0x1f6)]();}[_0x2eb675(0x1ff)](){const _0x13546b=_0x2eb675,_0x29f0c3=this[_0x13546b(0x1d1)],_0x2fcfce=_0x29f0c3[_0x13546b(0x1b9)][_0x13546b(0x1c9)],_0x334543=_0x29f0c3[_0x13546b(0x1d6)][_0x13546b(0x17d)](_0x52847c);_0x29f0c3[_0x13546b(0x1b9)][_0x13546b(0x1ba)]({'isUndoable':!0x1},_0x48947c=>{const _0xa7aebf=_0x13546b,_0x3570dd=_0xa7aebf(0x1ec)+_0x334543[_0xa7aebf(0x1f7)],_0x8b9c44=_0xa7aebf(0x192)+_0x334543[_0xa7aebf(0x1f7)],_0xe82153=_0x29f0c3[_0xa7aebf(0x1b9)][_0xa7aebf(0x18e)][_0xa7aebf(0x184)](_0x3570dd);_0x29f0c3[_0xa7aebf(0x1d3)][_0xa7aebf(0x1b2)][_0xa7aebf(0x1ce)]?ee(_0x334543[_0xa7aebf(0x1f7)],_0x2fcfce[_0xa7aebf(0x181)][_0xa7aebf(0x1be)](),_0x29f0c3[_0xa7aebf(0x1b9)],_0x48947c):_0xe82153&&(_0x48947c[_0xa7aebf(0x19f)](_0x3570dd),_0x48947c[_0xa7aebf(0x19f)](_0x8b9c44));});}}function ee(_0x4c0032,_0x2e8755,_0x46cb26,_0x580c9b){const _0x140a88=_0x2eb675,_0x5c226b=_0x140a88(0x1ec)+_0x4c0032,_0xdeb8ec=_0x140a88(0x192)+_0x4c0032,_0x3a95db=_0x2e8755[_0x140a88(0x1a5)]();let _0x550948=_0x2e8755[_0x140a88(0x1fe)];if(_0x3a95db&&_0x3a95db['is'](_0x140a88(0x1ae),_0x140a88(0x1fd))){const _0x3af927=function(_0x3496aa,_0x10cae3){const _0x57200b=_0x140a88;for(const _0xf7c003 of _0x3496aa[_0x57200b(0x19c)]())if(_0x10cae3[_0x57200b(0x1b6)][_0x57200b(0x205)](_0xf7c003,_0x57200b(0x198)))return _0xf7c003;}(_0x2e8755,_0x46cb26);_0x3af927&&(_0x550948=_0x3af927,_0x2e8755=_0x580c9b[_0x140a88(0x197)](_0x550948));}const _0x146abc=_0x580c9b[_0x140a88(0x197)](_0x550948);_0x46cb26[_0x140a88(0x18e)][_0x140a88(0x184)](_0x5c226b)?(_0x580c9b[_0x140a88(0x1ac)](_0x5c226b,{'range':_0x2e8755}),_0x580c9b[_0x140a88(0x1ac)](_0xdeb8ec,{'range':_0x146abc})):(_0x580c9b[_0x140a88(0x1d9)](_0x5c226b,{'range':_0x2e8755,'usingOperation':!0x0}),_0x580c9b[_0x140a88(0x1d9)](_0xdeb8ec,{'range':_0x146abc,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x31f5(_0x567c05,_0x5cd93d){const _0x369c60=_0x369c();return _0x31f5=function(_0x31f5c7,_0xe21d7c){_0x31f5c7=_0x31f5c7-0x150;let _0x26cba5=_0x369c60[_0x31f5c7];return _0x26cba5;},_0x31f5(_0x567c05,_0x5cd93d);}const _0x1e4268=_0x31f5;(function(_0x5b0a03,_0x149df7){const _0x149b18=_0x31f5,_0x410808=_0x5b0a03();while(!![]){try{const _0x38bf22=parseInt(_0x149b18(0x1c0))/0x1+-parseInt(_0x149b18(0x1b0))/0x2+-parseInt(_0x149b18(0x16e))/0x3+-parseInt(_0x149b18(0x182))/0x4+-parseInt(_0x149b18(0x15b))/0x5+-parseInt(_0x149b18(0x15f))/0x6*(parseInt(_0x149b18(0x1bd))/0x7)+parseInt(_0x149b18(0x180))/0x8;if(_0x38bf22===_0x149df7)break;else _0x410808['push'](_0x410808['shift']());}catch(_0x581397){_0x410808['push'](_0x410808['shift']());}}}(_0x369c,0xcad8a));import{Plugin as _0x1c774e}from'ckeditor5/src/core.js';import{global as _0x31ba7b,DomEmitterMixin as _0x26bbc5}from'ckeditor5/src/utils.js';import{Sessions as _0x2b0523}from'./sessions.js';import{ModelLiveRange as _0x43a2ba}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x369c(){const _0x505a21=['get','textContent','stopListening','name','color','getNearestSelectionRange','markers','Escape','setAttribute','split','end','clear','getAttribute','keydown','markerToHighlight','batch','getPositions','user:position','updateMarker','model','1062520WmRMLS','schema','markerRange','$text','markerToElement','size','data-session-id','_createdBatches','mouseleave','markerNameToElements','hasDomSelection','getSelectionClass','highest','1239FskvRk','toDomElement','fromRange','656894wkPOlV','root','toRange','isDocumentOperation','false','getUserBySessionId','selection','commands','user:range','removeClass','plugins','delete','requires','$graveyard','mySessionId','element','user:range:','applyOperation','createUIElement','remove','startsWith','createElement','UserMarkers','userPositionMarker','getRange','listenTo','editing','set','isOfficialPlugin','setCustomProperty','isPremiumPlugin','isObject','isInline','change:range','editingDowncast','conversion','3954565qlFEQV','has','getContainedElement','span','20106LNdXoW','checkChild','init','marker','removeMarker','rootName','_domEmitter','mouseenter','getFirstRange','isCollapsed','detach','document','ck-user__marker_hovered','hasContent','afterInit','405978WQsNcl','createRange','user:position:','for','nodeAfter','type','newRange','destroy','orderNumber','innerHTML','tableCell','ck-user__marker-tooltip','markerName','isLimit','parent','undo','ck-user__selection','reconvertMarker','18756136nUTXER','contenteditable','479708wlshga','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','add','addEventListener','view','addMarker','render','pluginName','classList','change','enqueueChange','deletionPosition','getCustomProperty','editor','getStart','createUserMarkerOperations','update:user:range','start','mapper','isSimilar','spellcheck','oldRange','user:','getMarkerClass','outerHTML','ck-user__marker\x20'];_0x369c=function(){return _0x505a21;};return _0x369c();}export class UserMarkers extends _0x1c774e{[_0x1e4268(0x165)]=new(_0x26bbc5())();static get[_0x1e4268(0x1cc)](){return[_0x2b0523];}static get[_0x1e4268(0x189)](){const _0x13b38e=_0x1e4268;return _0x13b38e(0x1d6);}static get[_0x1e4268(0x153)](){return!0x0;}static get[_0x1e4268(0x155)](){return!0x0;}[_0x1e4268(0x161)](){const _0x2426b5=_0x1e4268,_0x167343=this[_0x2426b5(0x18f)],_0x29188c=_0x167343[_0x2426b5(0x1ca)][_0x2426b5(0x19c)](_0x2b0523);_0x167343[_0x2426b5(0x15a)][_0x2426b5(0x171)](_0x2426b5(0x159))[_0x2426b5(0x1b4)]({'model':_0x2426b5(0x1ad),'view':(_0x2da7ea,{writer:_0x1edcb8})=>function(_0xa237c1,_0x40c52f,_0x246c83,_0x3bfb35){const _0x3b1027=_0x2426b5,_0x259a2e=_0xa237c1[_0x3b1027(0x17a)][_0x3b1027(0x1a5)](':')[0x2],_0x4bbf9d=_0x246c83[_0x3b1027(0x1c5)](_0x259a2e);if(!_0x4bbf9d||_0x259a2e===_0x246c83[_0x3b1027(0x1ce)])return;if(!_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1b1)][_0x3b1027(0x160)](_0xa237c1[_0x3b1027(0x1b2)][_0x3b1027(0x193)],_0x3b1027(0x1b3)))return;const _0x574691={'class':_0x3b1027(0x19b)+_0x4bbf9d[_0x3b1027(0x1a0)][_0x3b1027(0x199)](),'data-name':_0x4bbf9d[_0x3b1027(0x19f)],'data-session-id':_0x259a2e},_0x319453=_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1a2)][_0x3b1027(0x19c)](_0xa237c1[_0x3b1027(0x17a)]),_0xd1c847=_0x319453[_0x3b1027(0x190)](),_0x4d2f7c=_0xd1c847[_0x3b1027(0x172)],_0x5c6d52=_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1b1)];if(_0x4d2f7c&&_0x5c6d52[_0x3b1027(0x156)](_0x4d2f7c)&&_0x5c6d52[_0x3b1027(0x157)](_0x4d2f7c)&&!_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1a2)][_0x3b1027(0x19c)](_0x3b1027(0x1d0)+_0x259a2e)[_0x3b1027(0x1d8)]()[_0x3b1027(0x168)])return;const _0x2a92d8=_0xd1c847[_0x3b1027(0x17c)];return _0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x1b1)][_0x3b1027(0x17b)](_0x2a92d8)&&!_0x3bfb35[_0x3b1027(0x1af)][_0x3b1027(0x16c)](_0x2a92d8)&&(_0x574691[_0x3b1027(0x181)]=!0x1),function(_0x36c2cd,_0x3b58d2,_0x35d840){const _0x37a9f4=_0x3b1027,_0x2b97d1=_0x36c2cd[_0x37a9f4(0x1d2)](_0x37a9f4(0x15e),_0x3b58d2);return _0x36c2cd[_0x37a9f4(0x154)](_0x37a9f4(0x1d7),!0x0,_0x2b97d1),_0x2b97d1[_0x37a9f4(0x188)]=function(_0x286fe5){const _0x1b4f0e=_0x37a9f4,_0x583734=this[_0x1b4f0e(0x1be)](_0x286fe5),_0x3d5074=document[_0x1b4f0e(0x1d5)](_0x1b4f0e(0x15e));return _0x3d5074[_0x1b4f0e(0x18a)][_0x1b4f0e(0x184)](_0x1b4f0e(0x179)),_0x3d5074[_0x1b4f0e(0x1a4)](_0x1b4f0e(0x181),_0x1b4f0e(0x1c4)),_0x3d5074[_0x1b4f0e(0x1a4)](_0x1b4f0e(0x196),_0x1b4f0e(0x1c4)),_0x3d5074[_0x1b4f0e(0x19d)]=_0x35d840[_0x1b4f0e(0x19f)],_0x583734[_0x1b4f0e(0x177)]=_0x1b4f0e(0x183)+_0x3d5074[_0x1b4f0e(0x19a)]+'',_0x583734[_0x1b4f0e(0x185)](_0x1b4f0e(0x166),()=>{const _0x235537=_0x1b4f0e;_0x583734[_0x235537(0x18a)][_0x235537(0x184)](_0x235537(0x16b));}),_0x583734[_0x1b4f0e(0x185)](_0x1b4f0e(0x1b8),()=>{const _0x48c46c=_0x1b4f0e;_0x583734[_0x48c46c(0x18a)][_0x48c46c(0x1d3)](_0x48c46c(0x16b));}),_0x583734;},_0x2b97d1[_0x37a9f4(0x195)]=function(_0x4e96b1){const _0x181572=_0x37a9f4;return!(!this[_0x181572(0x18e)](_0x181572(0x1d7))||!_0x4e96b1[_0x181572(0x18e)](_0x181572(0x1d7))||this[_0x181572(0x1a8)](_0x181572(0x1b6))!=_0x4e96b1[_0x181572(0x1a8)](_0x181572(0x1b6)));},_0x2b97d1;}(_0x40c52f,_0x574691,_0x4bbf9d);}(_0x2da7ea,_0x1edcb8,_0x29188c,_0x167343)}),_0x167343[_0x2426b5(0x15a)][_0x2426b5(0x171)](_0x2426b5(0x159))[_0x2426b5(0x1aa)]({'model':_0x2426b5(0x1c8),'view':_0x51c6ac=>function(_0x490082,_0x2f9310){const _0x44409d=_0x2426b5,_0x3c5587=_0x490082[_0x44409d(0x17a)][_0x44409d(0x1a5)](':')[0x2];if(_0x3c5587===_0x2f9310[_0x44409d(0x1ce)])return null;const _0x58eb44=_0x2f9310[_0x44409d(0x1c5)](_0x3c5587);if(!_0x58eb44)return{'id':_0x3c5587,'classes':[]};return{'id':_0x3c5587,'classes':[_0x44409d(0x17e),_0x58eb44[_0x44409d(0x1a0)][_0x44409d(0x1bb)]()],'attributes':{'data-session-id':_0x3c5587},'priority':0x7d0+_0x58eb44[_0x44409d(0x176)]};}(_0x51c6ac,_0x29188c)}),function(_0x64388e){const _0x48904=_0x2426b5,_0x494d64=_0x64388e[_0x48904(0x1af)],_0xa3ed22=new Map(),_0x175fe8=_0x64388e[_0x48904(0x1ca)][_0x48904(0x19c)](_0x2b0523);_0x494d64[_0x48904(0x1a2)]['on'](_0x48904(0x192),(_0x540750,_0x4691dd,_0x9e681f,_0x16ffce)=>{const _0x139552=_0x48904;if(!_0x16ffce&&_0xa3ed22[_0x139552(0x19c)](_0x4691dd[_0x139552(0x19f)]))return _0xa3ed22[_0x139552(0x19c)](_0x4691dd[_0x139552(0x19f)])[_0x139552(0x169)](),void _0xa3ed22[_0x139552(0x1cb)](_0x4691dd[_0x139552(0x19f)]);const _0x671301=_0x4691dd[_0x139552(0x19f)][_0x139552(0x1a5)](':')[0x2];if(_0x671301===_0x175fe8[_0x139552(0x1ce)])return;const _0x12264d=_0x139552(0x170)+_0x671301;_0x494d64[_0x139552(0x1a2)][_0x139552(0x15c)](_0x12264d)&&_0x64388e[_0x139552(0x151)][_0x139552(0x17f)](_0x12264d),_0x4691dd['on'](_0x139552(0x158),(_0x54992c,_0x276c6d,_0x2d2d9d)=>{const _0x4cefde=_0x139552;if(_0x4cefde(0x1cd)!=_0x276c6d[_0x4cefde(0x1c1)][_0x4cefde(0x164)]&&_0x4cefde(0x1cd)==_0x4691dd[_0x4cefde(0x1d8)]()[_0x4cefde(0x1c1)][_0x4cefde(0x164)]&&!_0xa3ed22[_0x4cefde(0x15c)](_0x4691dd[_0x4cefde(0x19f)])){const _0x445a0f=_0x494d64[_0x4cefde(0x1b1)][_0x4cefde(0x1a1)](_0x2d2d9d[_0x4cefde(0x18d)]);if(_0x445a0f){const _0x130ea4=_0x43a2ba[_0x4cefde(0x1bf)](_0x445a0f);_0xa3ed22[_0x4cefde(0x152)](_0x4691dd[_0x4cefde(0x19f)],_0x130ea4),_0x130ea4['on'](_0x4cefde(0x158),(_0x15b2c3,_0x59cf38,_0x58ee82)=>{const _0x15e7dc=_0x4cefde;if(_0x15e7dc(0x1cd)==_0x130ea4[_0x15e7dc(0x1c1)][_0x15e7dc(0x164)]){const _0x5a4efb=_0x494d64[_0x15e7dc(0x1b1)][_0x15e7dc(0x1a1)](_0x58ee82[_0x15e7dc(0x18d)]);_0x5a4efb?(_0x130ea4[_0x15e7dc(0x193)]=_0x5a4efb[_0x15e7dc(0x193)],_0x130ea4[_0x15e7dc(0x1a6)]=_0x5a4efb[_0x15e7dc(0x1a6)]):(_0xa3ed22[_0x15e7dc(0x1cb)](_0x4691dd[_0x15e7dc(0x19f)]),_0x130ea4[_0x15e7dc(0x169)]());}});}}});}),_0x494d64[_0x48904(0x16a)]['on'](_0x48904(0x18b),()=>{const _0x525b85=_0x48904;_0xa3ed22[_0x525b85(0x1b5)]>0x0&&_0x494d64[_0x525b85(0x18c)]({'isUndoable':!0x1},_0x3128e3=>{const _0x439b89=_0x525b85;for(const [_0x4feb06,_0x138e39]of _0xa3ed22)_0x439b89(0x1cd)==_0x494d64[_0x439b89(0x1a2)][_0x439b89(0x19c)](_0x4feb06)[_0x439b89(0x1d8)]()[_0x439b89(0x1c1)][_0x439b89(0x164)]&&(re(_0x4feb06[_0x439b89(0x1a5)](':')[0x2],_0x138e39[_0x439b89(0x1c2)](),_0x494d64,_0x3128e3),_0x138e39[_0x439b89(0x169)]());_0xa3ed22[_0x439b89(0x1a7)]();});});}(_0x167343),this[_0x2426b5(0x165)][_0x2426b5(0x150)](_0x31ba7b[_0x2426b5(0x16a)],_0x2426b5(0x1a9),(_0x248b8c,{key:_0x3f7060})=>{const _0x4aa1da=_0x2426b5;_0x4aa1da(0x1a3)===_0x3f7060&&function(_0x47ccae){const _0x2056da=_0x4aa1da;_0x47ccae[_0x2056da(0x151)][_0x2056da(0x186)][_0x2056da(0x18b)](_0x343c8e=>{const _0x1c22c7=_0x2056da;for(const _0x573974 of _0x47ccae[_0x1c22c7(0x1af)][_0x1c22c7(0x1a2)]){if(!_0x573974[_0x1c22c7(0x19f)][_0x1c22c7(0x1d4)](_0x1c22c7(0x1ad)))continue;const _0x1c3c18=_0x47ccae[_0x1c22c7(0x151)][_0x1c22c7(0x194)][_0x1c22c7(0x1b9)](_0x573974[_0x1c22c7(0x19f)]);if(_0x1c3c18){for(const _0x3f447e of _0x1c3c18)_0x343c8e[_0x1c22c7(0x1c9)](_0x1c22c7(0x16b),_0x3f447e);}}});}(_0x167343);},{'useCapture':!0x0});}[_0x1e4268(0x16d)](){const _0x42b08e=_0x1e4268,_0x5c4973=this[_0x42b08e(0x18f)],_0xede4a=_0x5c4973[_0x42b08e(0x1c7)][_0x42b08e(0x19c)](_0x42b08e(0x17d));_0xede4a&&_0x5c4973[_0x42b08e(0x1af)]['on'](_0x42b08e(0x1d1),(_0x5b49b0,_0x346fa4)=>{const _0x21df14=_0x42b08e,_0x42fa6e=_0x346fa4[0x0];if(!_0x42fa6e[_0x21df14(0x1c3)])return;if(_0x21df14(0x162)!=_0x42fa6e[_0x21df14(0x173)]||!_0x42fa6e[_0x21df14(0x19f)][_0x21df14(0x1d4)](_0x21df14(0x198)))return;const _0x5f5591=_0x42fa6e[_0x21df14(0x1ab)];_0xede4a[_0x21df14(0x1b7)][_0x21df14(0x15c)](_0x5f5591)&&(_0x42fa6e[_0x21df14(0x174)]=_0x42fa6e[_0x21df14(0x197)]?_0x5c4973[_0x21df14(0x1af)][_0x21df14(0x16f)](_0x42fa6e[_0x21df14(0x197)][_0x21df14(0x193)],_0x42fa6e[_0x21df14(0x197)][_0x21df14(0x1a6)]):null);},{'priority':_0x42b08e(0x1bc)});}[_0x1e4268(0x175)](){const _0x4039b2=_0x1e4268;return this[_0x4039b2(0x165)][_0x4039b2(0x19e)](),super[_0x4039b2(0x175)]();}[_0x1e4268(0x191)](){const _0x1218f1=_0x1e4268,_0x293526=this[_0x1218f1(0x18f)],_0x2fb66d=_0x293526[_0x1218f1(0x1af)][_0x1218f1(0x16a)],_0xb87723=_0x293526[_0x1218f1(0x1ca)][_0x1218f1(0x19c)](_0x2b0523);_0x293526[_0x1218f1(0x1af)][_0x1218f1(0x18c)]({'isUndoable':!0x1},_0x58e99b=>{const _0x13b136=_0x1218f1,_0x423a66=_0x13b136(0x1d0)+_0xb87723[_0x13b136(0x1ce)],_0xa74016=_0x13b136(0x170)+_0xb87723[_0x13b136(0x1ce)],_0x58252b=_0x293526[_0x13b136(0x1af)][_0x13b136(0x1a2)][_0x13b136(0x15c)](_0x423a66);_0x293526[_0x13b136(0x151)][_0x13b136(0x186)][_0x13b136(0x1ba)]?re(_0xb87723[_0x13b136(0x1ce)],_0x2fb66d[_0x13b136(0x1c6)][_0x13b136(0x167)](),_0x293526[_0x13b136(0x1af)],_0x58e99b):_0x58252b&&(_0x58e99b[_0x13b136(0x163)](_0x423a66),_0x58e99b[_0x13b136(0x163)](_0xa74016));});}}function re(_0x3ea91a,_0xd298a5,_0x3430e9,_0x2bb982){const _0x190caf=_0x1e4268,_0x249f24=_0x190caf(0x1d0)+_0x3ea91a,_0x19ccef=_0x190caf(0x170)+_0x3ea91a,_0x3ba149=_0xd298a5[_0x190caf(0x15d)]();let _0xafe77b=_0xd298a5[_0x190caf(0x193)];if(_0x3ba149&&_0x3ba149['is'](_0x190caf(0x1cf),_0x190caf(0x178))){const _0x246327=function(_0x50118e,_0x2ecc6d){const _0x246d51=_0x190caf;for(const _0x53301f of _0x50118e[_0x246d51(0x1ac)]())if(_0x2ecc6d[_0x246d51(0x1b1)][_0x246d51(0x160)](_0x53301f,_0x246d51(0x1b3)))return _0x53301f;}(_0xd298a5,_0x3430e9);_0x246327&&(_0xafe77b=_0x246327,_0xd298a5=_0x2bb982[_0x190caf(0x16f)](_0xafe77b));}const _0x79b077=_0x2bb982[_0x190caf(0x16f)](_0xafe77b);_0x3430e9[_0x190caf(0x1a2)][_0x190caf(0x15c)](_0x249f24)?(_0x2bb982[_0x190caf(0x1ae)](_0x249f24,{'range':_0xd298a5}),_0x2bb982[_0x190caf(0x1ae)](_0x19ccef,{'range':_0x79b077})):(_0x2bb982[_0x190caf(0x187)](_0x249f24,{'range':_0xd298a5,'usingOperation':!0x0}),_0x2bb982[_0x190caf(0x187)](_0x19ccef,{'range':_0x79b077,'usingOperation':!0x0}));}
|