@ckeditor/ckeditor5-real-time-collaboration 45.2.0-alpha.7 → 45.2.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
|
-
|
|
23
|
+
function _0x4ee8(){const _0x16e538=['ck-presence-list__list','109572tjZBvy','contains','querySelector','render','setTemplate','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','aria-expanded','list','167211sCpSNd','isExpanded','items','relatedTarget','28719VysrNy','presencelist:hide','.ck-balloon-panel_with-arrow','653010PttJsa','presencelist:show','fire','setAttribute','Connected\x20users\x20list','14hHudYi','779124ZECohn','createCollection','.ck-presence-list__dropdown-list','element','hasPopup','set','change:hasPopup','listenTo','removeAttribute','137058swnejv','bindTemplate','2XRgtLo','focus','keystrokes','351525rBPazS','680SffKFv','div'];_0x4ee8=function(){return _0x16e538;};return _0x4ee8();}function _0x3b81(_0x550b60,_0x38c88a){const _0x4ee85d=_0x4ee8();return _0x3b81=function(_0x3b817e,_0x4d25f4){_0x3b817e=_0x3b817e-0x18e;let _0x1acfec=_0x4ee85d[_0x3b817e];return _0x1acfec;},_0x3b81(_0x550b60,_0x38c88a);}const _0x33b638=_0x3b81;(function(_0x19c2ec,_0x128904){const _0x2624e6=_0x3b81,_0x89050d=_0x19c2ec();while(!![]){try{const _0x1f496e=-parseInt(_0x2624e6(0x1a4))/0x1*(-parseInt(_0x2624e6(0x195))/0x2)+-parseInt(_0x2624e6(0x1b1))/0x3+parseInt(_0x2624e6(0x19c))/0x4+-parseInt(_0x2624e6(0x198))/0x5+parseInt(_0x2624e6(0x193))/0x6*(-parseInt(_0x2624e6(0x1b0))/0x7)+parseInt(_0x2624e6(0x199))/0x8*(parseInt(_0x2624e6(0x1a8))/0x9)+parseInt(_0x2624e6(0x1ab))/0xa;if(_0x1f496e===_0x128904)break;else _0x89050d['push'](_0x89050d['shift']());}catch(_0x30c96f){_0x89050d['push'](_0x89050d['shift']());}}}(_0x4ee8,0x25f31));import{View as _0x372070}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x52a9e8}from'ckeditor5/src/utils.js';import{getTranslation as _0x3a6642}from'../../common-translations.js';export default class ts extends _0x372070{[_0x33b638(0x1a6)];[_0x33b638(0x197)];constructor(_0x381e99){const _0x4b6324=_0x33b638;super(_0x381e99);const _0x7c74c8=this[_0x4b6324(0x194)];this[_0x4b6324(0x1a6)]=this[_0x4b6324(0x1b2)](),this[_0x4b6324(0x197)]=new _0x52a9e8(),this[_0x4b6324(0x18f)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x4b6324(0x1a0)]({'tag':_0x4b6324(0x19a),'attributes':{'aria-haspopup':_0x7c74c8['if'](_0x4b6324(0x18e)),'aria-expanded':_0x7c74c8['to'](_0x4b6324(0x1a5),_0x3569ea=>this[_0x4b6324(0x18e)]&&String(_0x3569ea)),'aria-label':_0x7c74c8['to'](_0x4b6324(0x18e),_0x3ce2e7=>_0x3a6642(_0x381e99,_0x3ce2e7?_0x4b6324(0x1a1):_0x4b6324(0x1af))),'role':_0x4b6324(0x1a3),'tabindex':_0x7c74c8['to'](_0x4b6324(0x18e),_0x481df1=>!!_0x481df1&&0x0),'class':['ck',_0x4b6324(0x19b)]},'children':this[_0x4b6324(0x1a6)],'on':{'mouseenter':_0x7c74c8['to'](()=>this[_0x4b6324(0x1ad)](_0x4b6324(0x1ac))),'mouseleave':_0x7c74c8['to'](_0x490e98=>{const _0x22682c=_0x4b6324,_0x4302f6=_0x490e98,_0x1b8262=document[_0x22682c(0x19e)](_0x22682c(0x1b3)),_0x460e05=document[_0x22682c(0x19e)](_0x22682c(0x1aa));_0x1b8262?.[_0x22682c(0x19d)](_0x4302f6[_0x22682c(0x1a7)])||_0x460e05?.[_0x22682c(0x19d)](_0x4302f6[_0x22682c(0x1a7)])||this[_0x22682c(0x1ad)](_0x22682c(0x1a9));})}}),this['on'](_0x4b6324(0x190),(_0x20d5e9,_0x50dcff,_0x33b2f8)=>{const _0x276c65=_0x4b6324;this[_0x276c65(0x1b4)]&&(_0x33b2f8?this[_0x276c65(0x1b4)][_0x276c65(0x1ae)](_0x276c65(0x1a2),String(this[_0x276c65(0x1a5)])):this[_0x276c65(0x1b4)][_0x276c65(0x192)](_0x276c65(0x1a2)));});}[_0x33b638(0x196)](){const _0x38d696=_0x33b638;this[_0x38d696(0x1b4)][_0x38d696(0x196)]();}[_0x33b638(0x19f)](){const _0x45ed9e=_0x33b638;super[_0x45ed9e(0x19f)](),this[_0x45ed9e(0x197)][_0x45ed9e(0x191)](this[_0x45ed9e(0x1b4)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x56f6da=_0x209a;(function(_0x5a7773,_0x1f82b3){const _0x5d8e81=_0x209a,_0x2c5cbe=_0x5a7773();while(!![]){try{const _0x5092a4=-parseInt(_0x5d8e81(0xed))/0x1+-parseInt(_0x5d8e81(0xfd))/0x2+-parseInt(_0x5d8e81(0xf7))/0x3*(parseInt(_0x5d8e81(0xfc))/0x4)+-parseInt(_0x5d8e81(0xf9))/0x5+-parseInt(_0x5d8e81(0xef))/0x6*(-parseInt(_0x5d8e81(0xf0))/0x7)+-parseInt(_0x5d8e81(0xf5))/0x8+parseInt(_0x5d8e81(0xf1))/0x9;if(_0x5092a4===_0x1f82b3)break;else _0x2c5cbe['push'](_0x2c5cbe['shift']());}catch(_0x1e154f){_0x2c5cbe['push'](_0x2c5cbe['shift']());}}}(_0x2b0a,0x98699));import{View as _0x2b2409}from'ckeditor5/src/ui.js';import _0x224061 from'./presencecounterview.js';function _0x209a(_0x225f4f,_0x54a9e5){const _0x2b0aec=_0x2b0a();return _0x209a=function(_0x209a9e,_0x5e6d20){_0x209a9e=_0x209a9e-0xe7;let _0x182ddb=_0x2b0aec[_0x209a9e];return _0x182ddb;},_0x209a(_0x225f4f,_0x54a9e5);}import _0xb89fa3 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';function _0x2b0a(){const _0x882ae1=['tooltipPosition','listenTo','460mxjgTC','698384SAAhcB','ck-presence-list','first','ck-presence-list--collapsed','div','ck-rounded-corners','set','hasPopup','counterView','items','isCollapsed','bind','202853RtYJSI','ck-reset','5307186GPFkAg','7KhJUyS','7427934ZpUHCZ','change','bindTemplate','locale','525328uzExRC','inlineListView','8835ccZfyd','setTemplate','645950pNRHgZ'];_0x2b0a=function(){return _0x882ae1;};return _0x2b0a();}export default class j extends _0x2b2409{[_0x56f6da(0xe9)];[_0x56f6da(0xf6)];constructor(_0x53b727,_0x408504=0x6){const _0x4ecfe4=_0x56f6da;super(_0x53b727);const _0x6e92ee=this[_0x4ecfe4(0xf3)];this[_0x4ecfe4(0xe7)](_0x4ecfe4(0xeb),!0x0),this[_0x4ecfe4(0xe9)]=new _0x224061(this[_0x4ecfe4(0xf4)],_0x408504),this[_0x4ecfe4(0xf6)]=new _0xb89fa3(_0x53b727),this[_0x4ecfe4(0xf6)][_0x4ecfe4(0xec)](_0x4ecfe4(0xe8))['to'](this,_0x4ecfe4(0xeb)),this[_0x4ecfe4(0xfb)](this[_0x4ecfe4(0xf6)][_0x4ecfe4(0xea)],_0x4ecfe4(0xf2),()=>{const _0x1e4003=_0x4ecfe4;for(const _0x1a3ccc of this[_0x1e4003(0xf6)][_0x1e4003(0xea)])_0x1a3ccc[_0x1e4003(0xfa)]='s';this[_0x1e4003(0xf6)][_0x1e4003(0xea)][_0x1e4003(0xff)]&&(this[_0x1e4003(0xf6)][_0x1e4003(0xea)][_0x1e4003(0xff)][_0x1e4003(0xfa)]='se');}),this[_0x4ecfe4(0xf8)]({'tag':_0x4ecfe4(0x101),'attributes':{'class':['ck',_0x4ecfe4(0xfe),_0x4ecfe4(0xee),_0x4ecfe4(0x102),_0x6e92ee['if'](_0x4ecfe4(0xeb),_0x4ecfe4(0x100))]},'children':[this[_0x4ecfe4(0xf6)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x4c6d84=_0x32ef;(function(_0x499da0,_0x3c63fb){var _0x2aeb55=_0x32ef,_0xaad85=_0x499da0();while(!![]){try{var _0x558bde=parseInt(_0x2aeb55(0xde))/0x1+parseInt(_0x2aeb55(0xdd))/0x2+-parseInt(_0x2aeb55(0xe6))/0x3+parseInt(_0x2aeb55(0xe1))/0x4*(-parseInt(_0x2aeb55(0xe3))/0x5)+parseInt(_0x2aeb55(0xe0))/0x6+parseInt(_0x2aeb55(0xe2))/0x7+parseInt(_0x2aeb55(0xe7))/0x8*(parseInt(_0x2aeb55(0xe4))/0x9);if(_0x558bde===_0x3c63fb)break;else _0xaad85['push'](_0xaad85['shift']());}catch(_0x3f17ac){_0xaad85['push'](_0xaad85['shift']());}}}(_0x5da1,0xe662e));import{ContextPlugin as _0x5c4eb4}from'ckeditor5/src/core.js';function _0x32ef(_0x41183d,_0x8deaad){var _0x5da1fb=_0x5da1();return _0x32ef=function(_0x32ef3e,_0xd0f7de){_0x32ef3e=_0x32ef3e-0xdb;var _0x18782f=_0x5da1fb[_0x32ef3e];return _0x18782f;},_0x32ef(_0x41183d,_0x8deaad);}function _0x5da1(){var _0x160f0f=['PresenceList','pluginName','isOfficialPlugin','610802GvsIlm','1031408weBUzo','isPremiumPlugin','591324LwikGj','1573164zDyzqb','3546032sHKVvI','15dduSez','7095348RArMiP','requires','1820328BjPAfZ','8ZyWSTh'];_0x5da1=function(){return _0x160f0f;};return _0x5da1();}import _0x200a33 from'./realtimecollaborativeediting/sessions.js';import _0x12dd95 from'./presencelist/presencelistui.js';export default class s extends _0x5c4eb4{static get[_0x4c6d84(0xe5)](){return[_0x200a33,_0x12dd95];}static get[_0x4c6d84(0xdb)](){var _0x1f811a=_0x4c6d84;return _0x1f811a(0xe8);}static get[_0x4c6d84(0xdc)](){return!0x0;}static get[_0x4c6d84(0xdf)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x335be2)());[_0x24d164(0x12e)];static get[_0x24d164(0x185)](){const _0x41b1f7=_0x24d164;return[_0x4100fa,_0x41b1f7(0x148),_0x4d83a4,_0x284ff1];}static get[_0x24d164(0x155)](){const _0x14c8c2=_0x24d164;return _0x14c8c2(0x170);}static get[_0x24d164(0x146)](){return!0x0;}static get[_0x24d164(0x191)](){return!0x0;}constructor(_0x4b49c5){const _0x2ba187=_0x24d164;super(_0x4b49c5),this[_0x2ba187(0x12e)]=new Map();}async[_0x24d164(0x150)](){const _0x3cd985=_0x24d164,_0x5f0e36=this[_0x3cd985(0x187)],_0x281cdf=_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x3cd985(0x148));if(_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x4100fa)[_0x3cd985(0x164)](this),_0x281cdf[_0x3cd985(0x16b)]={'addCommentThread':async({channelId:_0xbbdf89,threadId:_0x2f970f,comments:_0x58033c,resolvedAt:_0x49b488,resolvedBy:_0x294300,context:_0x98e892,attributes:_0x3f75e1})=>{const _0x507ed8=_0x3cd985,_0x4af3e1=await this[_0x507ed8(0x131)](_0xbbdf89)[_0x507ed8(0x160)]({'commentThreadId':_0x2f970f,'comments':_0x58033c[_0x507ed8(0x17a)](_0x21f961=>function(_0xf3104a,_0x3aea96,_0x672ab3){const _0x50e09b=_0x507ed8;return{'commentThreadId':_0x672ab3,'commentId':_0xf3104a[_0x50e09b(0x186)],'userId':_0xf3104a[_0x50e09b(0x133)],'content':_0xf3104a[_0x50e09b(0x169)],'documentId':_0x3aea96,'createdAt':_0xf3104a[_0x50e09b(0x14c)],'attributes':_0xf3104a[_0x50e09b(0x181)]||{}};}(_0x21f961,_0xbbdf89,_0x2f970f)),'resolvedAt':_0x49b488,'resolvedBy':_0x294300,'context':_0x98e892,'attributes':_0x3f75e1})[_0x507ed8(0x140)](R);return{'threadId':_0x4af3e1[_0x507ed8(0x17b)],'comments':_0x4af3e1[_0x507ed8(0x173)]};},'getCommentThread':async({channelId:_0x1665cb,threadId:_0xedd0a8})=>{const _0x25f028=_0x3cd985,_0x129f75=await this[_0x25f028(0x131)](_0x1665cb)[_0x25f028(0x174)](_0xedd0a8)[_0x25f028(0x140)](R);return _0x129f75[_0x25f028(0x13d)]?null:(await this[_0x25f028(0x13b)]([_0x129f75]),{'threadId':_0x129f75[_0x25f028(0x17b)],'comments':_0x129f75[_0x25f028(0x173)][_0x25f028(0x17a)](_),'context':_0x129f75[_0x25f028(0x187)],'resolvedAt':_0x129f75[_0x25f028(0x16f)],'resolvedBy':_0x129f75[_0x25f028(0x138)],'attributes':_0x129f75[_0x25f028(0x181)]||{}});},'updateCommentThread':async({channelId:_0x420185,threadId:_0x42d30a,context:_0x58dab8,unlinkedAt:_0x284985,attributes:_0x4421a4})=>this[_0x3cd985(0x131)](_0x420185)[_0x3cd985(0x18c)]({'commentThreadId':_0x42d30a,'context':_0x58dab8,'attributes':_0x4421a4,'unlinkedAt':_0x284985})[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'resolveCommentThread':async({channelId:_0xbb4d69,threadId:_0x2a913f})=>{const _0x830af6=_0x3cd985,_0x2ca5eb=await this[_0x830af6(0x131)](_0xbb4d69)[_0x830af6(0x14a)](_0x2a913f)[_0x830af6(0x140)](S)[_0x830af6(0x140)](R);return{'threadId':_0x2ca5eb[_0x830af6(0x17b)],'resolvedAt':_0x2ca5eb[_0x830af6(0x16f)],'resolvedBy':_0x2ca5eb[_0x830af6(0x138)]};},'reopenCommentThread':async({channelId:_0x4d9284,threadId:_0x28a97d})=>this[_0x3cd985(0x131)](_0x4d9284)[_0x3cd985(0x180)](_0x28a97d)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'removeCommentThread':({channelId:_0x5e3a18,threadId:_0x582f89})=>this[_0x3cd985(0x131)](_0x5e3a18)[_0x3cd985(0x12d)](_0x582f89)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'addComment':({channelId:_0x4cd90d,threadId:_0x3d6b7a,commentId:_0x8de9bb,content:_0x5d4469,attributes:_0x41766c})=>this[_0x3cd985(0x131)](_0x4cd90d)[_0x3cd985(0x132)](_0x3d6b7a,_0x8de9bb,_0x5d4469,_0x41766c)[_0x3cd985(0x140)](R),'updateComment':({channelId:_0x557689,threadId:_0x23063d,commentId:_0x2dbfe3,content:_0x4fac79,attributes:_0x230aff})=>this[_0x3cd985(0x131)](_0x557689)[_0x3cd985(0x149)](_0x23063d,_0x2dbfe3,_0x4fac79,_0x230aff)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R),'removeComment':({channelId:_0x3eaa05,threadId:_0x338681,commentId:_0x1daf10})=>this[_0x3cd985(0x131)](_0x3eaa05)[_0x3cd985(0x178)](_0x338681,_0x1daf10)[_0x3cd985(0x140)](S)[_0x3cd985(0x140)](R)},_0x5f0e36 instanceof _0x208897){const _0x37f549=_0x5f0e36[_0x3cd985(0x165)][_0x3cd985(0x16a)](_0x3cd985(0x172)),_0x4b107c=_0x5f0e36[_0x3cd985(0x156)][_0x3cd985(0x16a)](_0x4d83a4);await this[_0x3cd985(0x158)](_0x37f549);const _0x3b80fb=await this[_0x3cd985(0x12e)][_0x3cd985(0x16a)](_0x37f549)[_0x3cd985(0x15f)]();this[_0x3cd985(0x14b)](_0x4b107c,_0x3cd985(0x167)+_0x37f549,(_0x3d25bd,{session:_0xc12924})=>{const _0x7d6915=_0x3cd985;_0xc12924['id']===_0x4b107c[_0x7d6915(0x18a)]&&(_0x3d25bd[_0x7d6915(0x14d)](),this[_0x7d6915(0x187)][_0x7d6915(0x156)][_0x7d6915(0x16a)](_0x7d6915(0x145))[_0x7d6915(0x15e)](_0xc12924[_0x7d6915(0x189)],_0x37f549));}),_0x4b107c[_0x3cd985(0x143)](_0x37f549,_0x3b80fb);}}async[_0x24d164(0x158)](_0x502e7e){const _0x270e41=_0x24d164;if(this[_0x270e41(0x12e)][_0x270e41(0x152)](_0x502e7e))throw new _0x4347db(_0x270e41(0x192),null,{'channelId':_0x502e7e});const _0x201814=this[_0x270e41(0x187)][_0x270e41(0x156)][_0x270e41(0x16a)](_0x270e41(0x148)),_0x3fadc9=new a[(_0x270e41(0x142))](_0x502e7e);this[_0x270e41(0x12e)][_0x270e41(0x14e)](_0x502e7e,_0x3fadc9),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x14f),(_0x35edef,_0x71b2fb)=>{const _0x1cdf07=_0x270e41,{commentThreadId:_0x5b09d1,documentId:_0x36e3d6,context:_0x48a891,attributes:_0x142595,resolvedAt:_0x7c0e45,resolvedBy:_0x5c5f07,comments:_0x5cd766}=_0x71b2fb;_0x201814[_0x1cdf07(0x174)](_0x5b09d1)||_0x201814[_0x1cdf07(0x160)]({'threadId':_0x5b09d1,'channelId':_0x36e3d6,'comments':_0x5cd766?_0x5cd766[_0x1cdf07(0x17a)](_):[],'context':_0x48a891,'attributes':_0x142595,'resolvedAt':_0x7c0e45,'resolvedBy':_0x5c5f07,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x168),(_0x242f26,{commentThreadId:_0xca6424,documentId:_0x5ad789,context:_0x5e1632,unlinkedAt:_0x2ead27,attributes:_0x1dc3c9})=>{const _0xeebe8a=_0x270e41;_0x201814[_0xeebe8a(0x174)](_0xca6424)&&_0x201814[_0xeebe8a(0x18c)]({'threadId':_0xca6424,'channelId':_0x5ad789,'context':_0x5e1632,'unlinkedAt':_0x2ead27,'attributes':_0x1dc3c9,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x144),(_0x3cda1c,{commentThreadId:_0x3e5572,resolvedBy:_0x27dc91,resolvedAt:_0x5927f4})=>{const _0x31891f=_0x270e41,_0x22aa22=_0x201814[_0x31891f(0x174)](_0x3e5572);_0x22aa22&&_0x22aa22[_0x31891f(0x188)]({'resolvedBy':_0x27dc91,'resolvedAt':_0x5927f4,'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x153),(_0x136636,{commentThreadId:_0x4b28fc})=>{const _0x468883=_0x270e41,_0x13ef95=_0x201814[_0x468883(0x174)](_0x4b28fc);_0x13ef95&&_0x13ef95[_0x468883(0x154)]({'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x184),(_0x45160c,{commentThreadId:_0x767302})=>{const _0x302c28=_0x270e41,_0x5e61a6=_0x201814[_0x302c28(0x174)](_0x767302);_0x5e61a6&&_0x5e61a6[_0x302c28(0x18b)]({'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x135),(_0x7c1e51,_0x4f0591)=>{const _0x19b2b2=_0x270e41,_0x4638be=_0x4f0591[_0x19b2b2(0x17b)],_0x103a0a=_0x201814[_0x19b2b2(0x174)](_0x4638be);_0x103a0a&&_0x103a0a[_0x19b2b2(0x132)]({..._(_0x4f0591),'isFromAdapter':!0x0});}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x17d),(_0x57eb32,{commentThreadId:_0x3f241a,commentId:_0x515191,content:_0x4a9e82,attributes:_0x2d808f})=>{const _0x4a6a70=_0x270e41,_0x3f3d04=_0x201814[_0x4a6a70(0x174)](_0x3f241a);if(_0x3f3d04){const _0x429d51=_0x3f3d04[_0x4a6a70(0x18d)](_0x515191);_0x429d51&&_0x429d51[_0x4a6a70(0x193)]({'content':_0x4a9e82,'attributes':_0x2d808f,'isFromAdapter':!0x0});}}),this[_0x270e41(0x14b)](_0x3fadc9,_0x270e41(0x17c),(_0x223529,{commentThreadId:_0x559a3c,commentId:_0x5aef8b})=>{const _0x1d242a=_0x270e41,_0xe4336e=_0x201814[_0x1d242a(0x174)](_0x559a3c);if(_0xe4336e){const _0x4e6494=_0xe4336e[_0x1d242a(0x18d)](_0x5aef8b);_0x4e6494&&_0x4e6494[_0x1d242a(0x18b)]({'isFromAdapter':!0x0});}}),await this[_0x270e41(0x13a)](_0x502e7e);}[_0x24d164(0x13c)](){const _0x4901a4=_0x24d164;if(this[_0x4901a4(0x187)]instanceof _0x208897){const _0x316a65=this[_0x4901a4(0x187)][_0x4901a4(0x165)][_0x4901a4(0x16a)](_0x4901a4(0x172));this[_0x4901a4(0x177)](_0x316a65);}}[_0x24d164(0x177)](_0x239553){const _0x346feb=_0x24d164;if(!this[_0x346feb(0x12e)][_0x346feb(0x152)](_0x239553))throw new _0x4347db(_0x346feb(0x151),null,{'channelId':_0x239553});this[_0x346feb(0x131)](_0x239553)[_0x346feb(0x163)](),this[_0x346feb(0x12e)][_0x346feb(0x13f)](_0x239553);}async[_0x24d164(0x15d)](){const _0x4a3658=_0x24d164;for(const _0x16f089 of this[_0x4a3658(0x12e)][_0x4a3658(0x16d)]())await this[_0x4a3658(0x13a)](_0x16f089);if(this[_0x4a3658(0x187)]instanceof _0x208897){const _0x23ef38=this[_0x4a3658(0x187)][_0x4a3658(0x165)][_0x4a3658(0x16a)](_0x4a3658(0x172)),_0x350f5c=this[_0x4a3658(0x187)][_0x4a3658(0x156)][_0x4a3658(0x16a)](_0x4d83a4);_0x350f5c[_0x4a3658(0x136)](_0x23ef38);const _0x496294=await this[_0x4a3658(0x12e)][_0x4a3658(0x16a)](_0x23ef38)[_0x4a3658(0x15f)]();_0x350f5c[_0x4a3658(0x143)](_0x23ef38,_0x496294);}}async[_0x24d164(0x13a)](_0x1babd9){const _0x44785a=_0x24d164,{connection:_0x255bca}=this[_0x44785a(0x187)][_0x44785a(0x156)][_0x44785a(0x16a)](_0x4100fa),_0x7bbfac=this[_0x44785a(0x187)][_0x44785a(0x156)][_0x44785a(0x16a)](_0x44785a(0x148)),_0x49fa68=this[_0x44785a(0x12e)][_0x44785a(0x16a)](_0x1babd9),_0x10ae1c=await _0x49fa68[_0x44785a(0x17f)](_0x255bca);await this[_0x44785a(0x13b)](_0x10ae1c);const _0x326613=new Set(Array[_0x44785a(0x182)](_0x7bbfac[_0x44785a(0x12f)]({'channelId':_0x1babd9}),_0x30d39b=>_0x30d39b['id']));for(const _0x5d54dc of _0x10ae1c)_0x5d54dc[_0x44785a(0x13d)]||_0x326613[_0x44785a(0x13f)](_0x5d54dc[_0x44785a(0x17b)]);for(const _0x3202cd of _0x326613)_0x7bbfac[_0x44785a(0x174)](_0x3202cd)[_0x44785a(0x18b)]({'isFromAdapter':!0x0});for(const _0x804dfa of _0x10ae1c){let _0x181c27=_0x7bbfac[_0x44785a(0x174)](_0x804dfa[_0x44785a(0x17b)]);const {commentThreadId:_0x53774e,context:_0x457ea4,attributes:_0x197ccc,resolvedBy:_0x1dc872,resolvedAt:_0x161e50,unlinkedAt:_0x190228,deletedAt:_0x448ef8}=_0x804dfa;if(_0x448ef8)continue;_0x181c27||(_0x181c27=_0x7bbfac[_0x44785a(0x160)]({'channelId':_0x1babd9,'threadId':_0x53774e,'context':_0x457ea4,'attributes':_0x197ccc||{},'resolvedBy':_0x1dc872,'resolvedAt':_0x161e50,'unlinkedAt':_0x190228,'isFromAdapter':!0x0}));const _0xc26726=new Set(Array[_0x44785a(0x182)](_0x181c27[_0x44785a(0x173)],_0x717fbc=>_0x717fbc['id']));for(const _0x594cd0 of _0x804dfa[_0x44785a(0x173)])_0xc26726[_0x44785a(0x13f)](_0x594cd0[_0x44785a(0x186)]);for(const _0x57d0ab of _0xc26726)_0x181c27[_0x44785a(0x18d)](_0x57d0ab)[_0x44785a(0x18b)]({'isFromAdapter':!0x0});for(const _0x10bc2d of _0x804dfa[_0x44785a(0x173)]){const _0x27431a=_0x181c27[_0x44785a(0x18d)](_0x10bc2d[_0x44785a(0x186)]);_0x27431a?_0x27431a[_0x44785a(0x169)]!==_0x10bc2d[_0x44785a(0x169)]&&_0x27431a[_0x44785a(0x193)]({'content':_0x10bc2d[_0x44785a(0x169)],'isFromAdapter':!0x0}):_0x181c27[_0x44785a(0x132)](Object[_0x44785a(0x13e)](_(_0x10bc2d),{'isFromAdapter':!0x0}));}}}[_0x24d164(0x131)](_0x617ffd){const _0x4179cf=_0x24d164;if(!this[_0x4179cf(0x12e)][_0x4179cf(0x152)](_0x617ffd))throw new _0x4347db(_0x4179cf(0x183),null,{'channelId':_0x617ffd});return this[_0x4179cf(0x12e)][_0x4179cf(0x16a)](_0x617ffd);}async[_0x24d164(0x13b)](_0x4551bb){const _0x4b3cac=_0x24d164,_0x3d2851=this[_0x4b3cac(0x187)][_0x4b3cac(0x156)][_0x4b3cac(0x16a)](_0x284ff1),{connection:_0x4c8df8}=this[_0x4b3cac(0x187)][_0x4b3cac(0x156)][_0x4b3cac(0x16a)](_0x4100fa),_0x14bdf9=new Set();for(const {resolvedBy:_0xc52791,comments:_0x33b271}of _0x4551bb){_0xc52791&&!_0x3d2851[_0x4b3cac(0x166)](_0xc52791)&&_0x14bdf9[_0x4b3cac(0x147)](_0xc52791);for(const {userId:_0x37f034}of _0x33b271)_0x3d2851[_0x4b3cac(0x166)](_0x37f034)||_0x14bdf9[_0x4b3cac(0x147)](_0x37f034);}if(0x0===_0x14bdf9[_0x4b3cac(0x179)])return;const _0x6bdd4a=await _0x5c978d[_0x4b3cac(0x141)](_0x4c8df8,Array[_0x4b3cac(0x182)](_0x14bdf9));for(const _0x4c1cfa of _0x6bdd4a)_0x3d2851[_0x4b3cac(0x166)](_0x4c1cfa['id'])||_0x3d2851[_0x4b3cac(0x16e)](_0x4c1cfa);}}export default a;async function S(_0x1185c9){const _0x2cf325=_0x24d164;if(_0x2cf325(0x15a)!==_0x1185c9[_0x2cf325(0x171)])throw _0x1185c9;}function R(_0x490678){const _0x27c3d0=_0x24d164;if((_0x2eef86=_0x490678)[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x18f))||_0x2eef86[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x15b))||_0x2eef86[_0x27c3d0(0x18e)][_0x27c3d0(0x161)](_0x27c3d0(0x190)))return new Promise(()=>{});var _0x2eef86;throw _0x490678;}function _(_0x3d2be0){const _0x201d96=_0x24d164;return{'threadId':_0x3d2be0[_0x201d96(0x17b)],'commentId':_0x3d2be0[_0x201d96(0x186)],'content':_0x3d2be0[_0x201d96(0x169)],'createdAt':_0x3d2be0[_0x201d96(0x14c)],'authorId':_0x3d2be0[_0x201d96(0x16c)],'attributes':_0x3d2be0[_0x201d96(0x181)]||{}};}
|
|
23
|
+
const _0x53431c=_0x46cf;(function(_0xb5a23b,_0x4f10f6){const _0x115b17=_0x46cf,_0x3fab38=_0xb5a23b();while(!![]){try{const _0x4f4e30=parseInt(_0x115b17(0xd5))/0x1+parseInt(_0x115b17(0x9e))/0x2+parseInt(_0x115b17(0xab))/0x3*(parseInt(_0x115b17(0xe2))/0x4)+parseInt(_0x115b17(0xd2))/0x5*(parseInt(_0x115b17(0xf6))/0x6)+-parseInt(_0x115b17(0xe4))/0x7*(parseInt(_0x115b17(0xc2))/0x8)+parseInt(_0x115b17(0xbb))/0x9*(-parseInt(_0x115b17(0xd1))/0xa)+parseInt(_0x115b17(0x9d))/0xb;if(_0x4f4e30===_0x4f10f6)break;else _0x3fab38['push'](_0x3fab38['shift']());}catch(_0x2a0d6c){_0x3fab38['push'](_0x3fab38['shift']());}}}(_0x50ce,0xd1716));import{Context as _0x11dbc,ContextPlugin as _0xb97684}from'ckeditor5/src/core.js';import{CKEditorError as _0x808712}from'ckeditor5/src/utils.js';import{Users as _0x6850e4}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x43808a,User as _0xfad2df}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x3db05d from'../realtimecollaborativeediting/websocketgateway.js';import _0x2be6cc from'../realtimecollaborativeediting/sessions.js';class a extends _0xb97684{static [_0x53431c(0xed)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x43808a)());[_0x53431c(0xbe)];static get[_0x53431c(0x98)](){const _0x4b0574=_0x53431c;return[_0x3db05d,_0x4b0574(0xa3),_0x2be6cc,_0x6850e4];}static get[_0x53431c(0xe5)](){const _0xbfe7f=_0x53431c;return _0xbfe7f(0x94);}static get[_0x53431c(0xc8)](){return!0x0;}static get[_0x53431c(0x9f)](){return!0x0;}constructor(_0x4b23fe){const _0x20ca04=_0x53431c;super(_0x4b23fe),this[_0x20ca04(0xbe)]=new Map();}async[_0x53431c(0xec)](){const _0x24ac0e=_0x53431c,_0x19f40d=this[_0x24ac0e(0xe6)],_0x17df2a=_0x19f40d[_0x24ac0e(0xb4)][_0x24ac0e(0x9a)](_0x24ac0e(0xa3));if(_0x19f40d[_0x24ac0e(0xb4)][_0x24ac0e(0x9a)](_0x3db05d)[_0x24ac0e(0xdf)](this),_0x17df2a[_0x24ac0e(0xe9)]={'addCommentThread':async({channelId:_0x3d4a82,threadId:_0x5bbc67,comments:_0x1ed536,resolvedAt:_0x24c01e,resolvedBy:_0x5372aa,context:_0x47b1f5,attributes:_0x4f5af8})=>{const _0x47fe85=_0x24ac0e,_0x26d90d=await this[_0x47fe85(0x91)](_0x3d4a82)[_0x47fe85(0xb9)]({'commentThreadId':_0x5bbc67,'comments':_0x1ed536[_0x47fe85(0xd3)](_0x3c4d63=>function(_0x185b8e,_0x3da37c,_0x22a826){const _0x1da5bf=_0x47fe85;return{'commentThreadId':_0x22a826,'commentId':_0x185b8e[_0x1da5bf(0xc9)],'userId':_0x185b8e[_0x1da5bf(0xae)],'content':_0x185b8e[_0x1da5bf(0xf5)],'documentId':_0x3da37c,'createdAt':_0x185b8e[_0x1da5bf(0xc5)],'attributes':_0x185b8e[_0x1da5bf(0xa5)]||{}};}(_0x3c4d63,_0x3d4a82,_0x5bbc67)),'resolvedAt':_0x24c01e,'resolvedBy':_0x5372aa,'context':_0x47b1f5,'attributes':_0x4f5af8})[_0x47fe85(0xa7)](R);return{'threadId':_0x26d90d[_0x47fe85(0xc7)],'comments':_0x26d90d[_0x47fe85(0xb5)]};},'getCommentThread':async({channelId:_0x5acba3,threadId:_0x383609})=>{const _0x520e9c=_0x24ac0e,_0x4e8c4b=await this[_0x520e9c(0x91)](_0x5acba3)[_0x520e9c(0xe1)](_0x383609)[_0x520e9c(0xa7)](R);return _0x4e8c4b[_0x520e9c(0xeb)]?null:(await this[_0x520e9c(0xa1)]([_0x4e8c4b]),{'threadId':_0x4e8c4b[_0x520e9c(0xc7)],'comments':_0x4e8c4b[_0x520e9c(0xb5)][_0x520e9c(0xd3)](_),'context':_0x4e8c4b[_0x520e9c(0xe6)],'resolvedAt':_0x4e8c4b[_0x520e9c(0xdd)],'resolvedBy':_0x4e8c4b[_0x520e9c(0xd9)],'attributes':_0x4e8c4b[_0x520e9c(0xa5)]||{}});},'updateCommentThread':async({channelId:_0x314ed6,threadId:_0x5bc8a1,context:_0x321341,unlinkedAt:_0x240d1f,attributes:_0x49e4f3})=>this[_0x24ac0e(0x91)](_0x314ed6)[_0x24ac0e(0xaf)]({'commentThreadId':_0x5bc8a1,'context':_0x321341,'attributes':_0x49e4f3,'unlinkedAt':_0x240d1f})[_0x24ac0e(0xa7)](S)[_0x24ac0e(0xa7)](R),'resolveCommentThread':async({channelId:_0x415269,threadId:_0x178383})=>{const _0x468b13=_0x24ac0e,_0x5368bb=await this[_0x468b13(0x91)](_0x415269)[_0x468b13(0xd6)](_0x178383)[_0x468b13(0xa7)](S)[_0x468b13(0xa7)](R);return{'threadId':_0x5368bb[_0x468b13(0xc7)],'resolvedAt':_0x5368bb[_0x468b13(0xdd)],'resolvedBy':_0x5368bb[_0x468b13(0xd9)]};},'reopenCommentThread':async({channelId:_0x2d2d58,threadId:_0x36c9dd})=>this[_0x24ac0e(0x91)](_0x2d2d58)[_0x24ac0e(0xba)](_0x36c9dd)[_0x24ac0e(0xa7)](S)[_0x24ac0e(0xa7)](R),'removeCommentThread':({channelId:_0x3142b6,threadId:_0x327a2b})=>this[_0x24ac0e(0x91)](_0x3142b6)[_0x24ac0e(0xc1)](_0x327a2b)[_0x24ac0e(0xa7)](S)[_0x24ac0e(0xa7)](R),'addComment':({channelId:_0x50fa86,threadId:_0x23faaf,commentId:_0x524daa,content:_0x27ba53,attributes:_0x6afa52})=>this[_0x24ac0e(0x91)](_0x50fa86)[_0x24ac0e(0xc6)](_0x23faaf,_0x524daa,_0x27ba53,_0x6afa52)[_0x24ac0e(0xa7)](R),'updateComment':({channelId:_0x4fedb8,threadId:_0xfde99,commentId:_0x27b040,content:_0x5fe6da,attributes:_0x5bd302})=>this[_0x24ac0e(0x91)](_0x4fedb8)[_0x24ac0e(0xc4)](_0xfde99,_0x27b040,_0x5fe6da,_0x5bd302)[_0x24ac0e(0xa7)](S)[_0x24ac0e(0xa7)](R),'removeComment':({channelId:_0x7adeda,threadId:_0x56de3b,commentId:_0x562cc7})=>this[_0x24ac0e(0x91)](_0x7adeda)[_0x24ac0e(0xd0)](_0x56de3b,_0x562cc7)[_0x24ac0e(0xa7)](S)[_0x24ac0e(0xa7)](R)},_0x19f40d instanceof _0x11dbc){const _0x23b4c0=_0x19f40d[_0x24ac0e(0x96)][_0x24ac0e(0x9a)](_0x24ac0e(0x97)),_0x16f2a4=_0x19f40d[_0x24ac0e(0xb4)][_0x24ac0e(0x9a)](_0x2be6cc);await this[_0x24ac0e(0xbf)](_0x23b4c0);const _0x488a17=await this[_0x24ac0e(0xbe)][_0x24ac0e(0x9a)](_0x23b4c0)[_0x24ac0e(0xf2)]();this[_0x24ac0e(0xa2)](_0x16f2a4,_0x24ac0e(0xf0)+_0x23b4c0,(_0x217c6a,{session:_0x104542})=>{const _0x3099e2=_0x24ac0e;_0x104542['id']===_0x16f2a4[_0x3099e2(0xcb)]&&(_0x217c6a[_0x3099e2(0xee)](),this[_0x3099e2(0xe6)][_0x3099e2(0xb4)][_0x3099e2(0x9a)](_0x3099e2(0x93))[_0x3099e2(0xc3)](_0x104542[_0x3099e2(0xcf)],_0x23b4c0));}),_0x16f2a4[_0x24ac0e(0xca)](_0x23b4c0,_0x488a17);}}async[_0x53431c(0xbf)](_0x3ba382){const _0x1dc95d=_0x53431c;if(this[_0x1dc95d(0xbe)][_0x1dc95d(0xda)](_0x3ba382))throw new _0x808712(_0x1dc95d(0xb7),null,{'channelId':_0x3ba382});const _0x56ee2f=this[_0x1dc95d(0xe6)][_0x1dc95d(0xb4)][_0x1dc95d(0x9a)](_0x1dc95d(0xa3)),_0x3e6ce=new a[(_0x1dc95d(0xed))](_0x3ba382);this[_0x1dc95d(0xbe)][_0x1dc95d(0xce)](_0x3ba382,_0x3e6ce),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xe3),(_0x4f4def,_0x506607)=>{const _0x58cd9b=_0x1dc95d,{commentThreadId:_0x26e42b,documentId:_0x15913f,context:_0x566abd,attributes:_0x4459c6,resolvedAt:_0x3b9b50,resolvedBy:_0xf0e3e1,comments:_0x14ed6d}=_0x506607;_0x56ee2f[_0x58cd9b(0xe1)](_0x26e42b)||_0x56ee2f[_0x58cd9b(0xb9)]({'threadId':_0x26e42b,'channelId':_0x15913f,'comments':_0x14ed6d?_0x14ed6d[_0x58cd9b(0xd3)](_):[],'context':_0x566abd,'attributes':_0x4459c6,'resolvedAt':_0x3b9b50,'resolvedBy':_0xf0e3e1,'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xb2),(_0x5416c3,{commentThreadId:_0x395597,documentId:_0x50aa80,context:_0x14f05a,unlinkedAt:_0x41dd26,attributes:_0x19acb8})=>{const _0x1fa8d8=_0x1dc95d;_0x56ee2f[_0x1fa8d8(0xe1)](_0x395597)&&_0x56ee2f[_0x1fa8d8(0xaf)]({'threadId':_0x395597,'channelId':_0x50aa80,'context':_0x14f05a,'unlinkedAt':_0x41dd26,'attributes':_0x19acb8,'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xad),(_0x24ac21,{commentThreadId:_0xe3acde,resolvedBy:_0x4b7100,resolvedAt:_0x1170c6})=>{const _0x2aa21d=_0x1dc95d,_0x2ad0a3=_0x56ee2f[_0x2aa21d(0xe1)](_0xe3acde);_0x2ad0a3&&_0x2ad0a3[_0x2aa21d(0x9b)]({'resolvedBy':_0x4b7100,'resolvedAt':_0x1170c6,'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xbc),(_0x150fb5,{commentThreadId:_0xee0cef})=>{const _0x2607cd=_0x1dc95d,_0xb0eddf=_0x56ee2f[_0x2607cd(0xe1)](_0xee0cef);_0xb0eddf&&_0xb0eddf[_0x2607cd(0xdc)]({'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xa6),(_0x5236cf,{commentThreadId:_0x3894a6})=>{const _0x315150=_0x1dc95d,_0x3aa97c=_0x56ee2f[_0x315150(0xe1)](_0x3894a6);_0x3aa97c&&_0x3aa97c[_0x315150(0xa4)]({'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xa0),(_0x45ec58,_0x27459b)=>{const _0x23e09e=_0x1dc95d,_0x58b512=_0x27459b[_0x23e09e(0xc7)],_0x10d312=_0x56ee2f[_0x23e09e(0xe1)](_0x58b512);_0x10d312&&_0x10d312[_0x23e09e(0xc6)]({..._(_0x27459b),'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xe7),(_0x28360d,{commentThreadId:_0x321b75,commentId:_0x3ec043,content:_0x41b05c,attributes:_0x28102a})=>{const _0x1ecbf2=_0x1dc95d,_0x3b9299=_0x56ee2f[_0x1ecbf2(0xe1)](_0x321b75);if(_0x3b9299){const _0x2a7979=_0x3b9299[_0x1ecbf2(0xef)](_0x3ec043);_0x2a7979&&_0x2a7979[_0x1ecbf2(0xdb)]({'content':_0x41b05c,'attributes':_0x28102a,'isFromAdapter':!0x0});}}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xe0),(_0x3a175a,{commentThreadId:_0x25a22f,commentId:_0x4f8da3})=>{const _0x264a06=_0x1dc95d,_0x4a4afd=_0x56ee2f[_0x264a06(0xe1)](_0x25a22f);if(_0x4a4afd){const _0x3e5cb3=_0x4a4afd[_0x264a06(0xef)](_0x4f8da3);_0x3e5cb3&&_0x3e5cb3[_0x264a06(0xa4)]({'isFromAdapter':!0x0});}}),await this[_0x1dc95d(0xf7)](_0x3ba382);}[_0x53431c(0xf4)](){const _0x40bfb0=_0x53431c;if(this[_0x40bfb0(0xe6)]instanceof _0x11dbc){const _0x2e03aa=this[_0x40bfb0(0xe6)][_0x40bfb0(0x96)][_0x40bfb0(0x9a)](_0x40bfb0(0x97));this[_0x40bfb0(0xd8)](_0x2e03aa);}}[_0x53431c(0xd8)](_0x103aa1){const _0x5ae967=_0x53431c;if(!this[_0x5ae967(0xbe)][_0x5ae967(0xda)](_0x103aa1))throw new _0x808712(_0x5ae967(0x99),null,{'channelId':_0x103aa1});this[_0x5ae967(0x91)](_0x103aa1)[_0x5ae967(0xb1)](),this[_0x5ae967(0xbe)][_0x5ae967(0xa8)](_0x103aa1);}async[_0x53431c(0xf3)](){const _0x2d991c=_0x53431c;for(const _0x14d3f0 of this[_0x2d991c(0xbe)][_0x2d991c(0xb3)]())await this[_0x2d991c(0xf7)](_0x14d3f0);if(this[_0x2d991c(0xe6)]instanceof _0x11dbc){const _0x276971=this[_0x2d991c(0xe6)][_0x2d991c(0x96)][_0x2d991c(0x9a)](_0x2d991c(0x97)),_0x2a552b=this[_0x2d991c(0xe6)][_0x2d991c(0xb4)][_0x2d991c(0x9a)](_0x2be6cc);_0x2a552b[_0x2d991c(0xac)](_0x276971);const _0x521c20=await this[_0x2d991c(0xbe)][_0x2d991c(0x9a)](_0x276971)[_0x2d991c(0xf2)]();_0x2a552b[_0x2d991c(0xca)](_0x276971,_0x521c20);}}async[_0x53431c(0xf7)](_0x53283d){const _0x55a3f5=_0x53431c,{connection:_0xfa565c}=this[_0x55a3f5(0xe6)][_0x55a3f5(0xb4)][_0x55a3f5(0x9a)](_0x3db05d),_0x98784b=this[_0x55a3f5(0xe6)][_0x55a3f5(0xb4)][_0x55a3f5(0x9a)](_0x55a3f5(0xa3)),_0x2fe15a=this[_0x55a3f5(0xbe)][_0x55a3f5(0x9a)](_0x53283d),_0x5ed815=await _0x2fe15a[_0x55a3f5(0x9c)](_0xfa565c);await this[_0x55a3f5(0xa1)](_0x5ed815);const _0x129867=new Set(Array[_0x55a3f5(0xaa)](_0x98784b[_0x55a3f5(0xd7)]({'channelId':_0x53283d}),_0xc73721=>_0xc73721['id']));for(const _0x4d431a of _0x5ed815)_0x4d431a[_0x55a3f5(0xeb)]||_0x129867[_0x55a3f5(0xa8)](_0x4d431a[_0x55a3f5(0xc7)]);for(const _0x1545a8 of _0x129867)_0x98784b[_0x55a3f5(0xe1)](_0x1545a8)[_0x55a3f5(0xa4)]({'isFromAdapter':!0x0});for(const _0x22eab7 of _0x5ed815){let _0x2bcbed=_0x98784b[_0x55a3f5(0xe1)](_0x22eab7[_0x55a3f5(0xc7)]);const {commentThreadId:_0x28ba70,context:_0x33bada,attributes:_0x1ff7fe,resolvedBy:_0x2db95c,resolvedAt:_0x3cf1fa,unlinkedAt:_0x381ecc,deletedAt:_0x58f24f}=_0x22eab7;if(_0x58f24f)continue;_0x2bcbed||(_0x2bcbed=_0x98784b[_0x55a3f5(0xb9)]({'channelId':_0x53283d,'threadId':_0x28ba70,'context':_0x33bada,'attributes':_0x1ff7fe||{},'resolvedBy':_0x2db95c,'resolvedAt':_0x3cf1fa,'unlinkedAt':_0x381ecc,'isFromAdapter':!0x0}));const _0x1fa39f=new Set(Array[_0x55a3f5(0xaa)](_0x2bcbed[_0x55a3f5(0xb5)],_0x3ca6e5=>_0x3ca6e5['id']));for(const _0x44dc5b of _0x22eab7[_0x55a3f5(0xb5)])_0x1fa39f[_0x55a3f5(0xa8)](_0x44dc5b[_0x55a3f5(0xc9)]);for(const _0x14f11e of _0x1fa39f)_0x2bcbed[_0x55a3f5(0xef)](_0x14f11e)[_0x55a3f5(0xa4)]({'isFromAdapter':!0x0});for(const _0x20f001 of _0x22eab7[_0x55a3f5(0xb5)]){const _0x18a06a=_0x2bcbed[_0x55a3f5(0xef)](_0x20f001[_0x55a3f5(0xc9)]);_0x18a06a?_0x18a06a[_0x55a3f5(0xf5)]!==_0x20f001[_0x55a3f5(0xf5)]&&_0x18a06a[_0x55a3f5(0xdb)]({'content':_0x20f001[_0x55a3f5(0xf5)],'isFromAdapter':!0x0}):_0x2bcbed[_0x55a3f5(0xc6)](Object[_0x55a3f5(0xb6)](_(_0x20f001),{'isFromAdapter':!0x0}));}}}[_0x53431c(0x91)](_0x20e9ac){const _0x5ca418=_0x53431c;if(!this[_0x5ca418(0xbe)][_0x5ca418(0xda)](_0x20e9ac))throw new _0x808712(_0x5ca418(0xf1),null,{'channelId':_0x20e9ac});return this[_0x5ca418(0xbe)][_0x5ca418(0x9a)](_0x20e9ac);}async[_0x53431c(0xa1)](_0x78fabb){const _0x3aaf4a=_0x53431c,_0x1df63c=this[_0x3aaf4a(0xe6)][_0x3aaf4a(0xb4)][_0x3aaf4a(0x9a)](_0x6850e4),{connection:_0x48d8bc}=this[_0x3aaf4a(0xe6)][_0x3aaf4a(0xb4)][_0x3aaf4a(0x9a)](_0x3db05d),_0x106342=new Set();for(const {resolvedBy:_0x329fa1,comments:_0x342414}of _0x78fabb){_0x329fa1&&!_0x1df63c[_0x3aaf4a(0xde)](_0x329fa1)&&_0x106342[_0x3aaf4a(0x95)](_0x329fa1);for(const {userId:_0x2511b9}of _0x342414)_0x1df63c[_0x3aaf4a(0xde)](_0x2511b9)||_0x106342[_0x3aaf4a(0x95)](_0x2511b9);}if(0x0===_0x106342[_0x3aaf4a(0xc0)])return;const _0x257601=await _0xfad2df[_0x3aaf4a(0xd4)](_0x48d8bc,Array[_0x3aaf4a(0xaa)](_0x106342));for(const _0x2f8bf9 of _0x257601)_0x1df63c[_0x3aaf4a(0xde)](_0x2f8bf9['id'])||_0x1df63c[_0x3aaf4a(0xcc)](_0x2f8bf9);}}function _0x50ce(){const _0x5f3596=['listenTo','CommentsRepository','remove','attributes','commentThreadRemoved','catch','delete','code','from','12279zouMye','unregister','commentThreadResolved','authorId','updateCommentThread','404','disconnect','commentThreadUpdated','keys','plugins','comments','assign','cloudservicescommentsadapter-connect-already-connected','startsWith','addCommentThread','reopenCommentThread','6091515qIWqjB','commentThreadReopened','userId','_services','_setUpService','size','removeCommentThread','3339928kzVieb','setPermissions','updateComment','createdAt','addComment','commentThreadId','isOfficialPlugin','commentId','register','mySessionId','addUser','cloud-services-internal-error:\x20Not\x20connected.','set','permissions','removeComment','10TPLYHQ','5940PSMFOk','map','getMany','157701jbDgQl','resolveCommentThread','getCommentThreads','_terminateService','resolvedBy','has','update','reopen','resolvedAt','getUser','addToReconnectionStack','commentRemoved','getCommentThread','64OQPDfU','commentThreadAdded','7lCwQQI','pluginName','context','commentUpdated','cloud-services-internal-error:\x20Request\x20timeout.','adapter','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','deletedAt','init','CommentsService','off','getComment','sessionAdd:','cloudservicescommentsadapter-service-not-exist','getConnectedSessions','reconnect','destroy','content','3732gSYIAR','_connectService','_getService','message','Permissions','CloudServicesCommentsAdapter','add','config','collaboration.channelId','requires','cloudservicescommentsadapter-disconnect-not-exist','get','resolve','connect','1643554iCUiUt','1681330CdXMYN','isPremiumPlugin','commentAdded','_fetchMissingUsersForThreads'];_0x50ce=function(){return _0x5f3596;};return _0x50ce();}export default a;async function S(_0x3d4291){const _0xa58a4d=_0x53431c;if(_0xa58a4d(0xb0)!==_0x3d4291[_0xa58a4d(0xa9)])throw _0x3d4291;}function _0x46cf(_0x3448ce,_0x1dc97c){const _0x50ce1c=_0x50ce();return _0x46cf=function(_0x46cfcc,_0x11db67){_0x46cfcc=_0x46cfcc-0x91;let _0x64bd3b=_0x50ce1c[_0x46cfcc];return _0x64bd3b;},_0x46cf(_0x3448ce,_0x1dc97c);}function R(_0x3e13b4){const _0x53e988=_0x53431c;if((_0x4fc936=_0x3e13b4)[_0x53e988(0x92)][_0x53e988(0xb8)](_0x53e988(0xea))||_0x4fc936[_0x53e988(0x92)][_0x53e988(0xb8)](_0x53e988(0xcd))||_0x4fc936[_0x53e988(0x92)][_0x53e988(0xb8)](_0x53e988(0xe8)))return new Promise(()=>{});var _0x4fc936;throw _0x3e13b4;}function _(_0x3de975){const _0x5b5486=_0x53431c;return{'threadId':_0x3de975[_0x5b5486(0xc7)],'commentId':_0x3de975[_0x5b5486(0xc9)],'content':_0x3de975[_0x5b5486(0xf5)],'createdAt':_0x3de975[_0x5b5486(0xc5)],'authorId':_0x3de975[_0x5b5486(0xbd)],'attributes':_0x3de975[_0x5b5486(0xa5)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x38e2df=_0x4daa;function _0x32c2(){const _0x5dcd4c=['requires','9624UxbYjN','10XrsMRZ','plugins','switchReadOnly','9707778ftcyzZ','8944CaAsmN','collaboration.channelId','data','CommentsRepository','listenTo','14GYnWrJ','editor','once','52rdQMoU','299384khZSBR','pluginName','5004TLQxGx','CommentsEditing','_setUpService','5DzRwnt','159564cYTUgV','8055372EHLUWj','destroy','175KwHGOS','connected','ready','isThreadsLoadingPaused','get','isOfficialPlugin','isPremiumPlugin','change:state','_terminateService','Comments','496089CwTaMH','init','config','RealTimeCollaborativeComments'];_0x32c2=function(){return _0x5dcd4c;};return _0x32c2();}(function(_0x224c81,_0xaac8e1){const _0x4490b5=_0x4daa,_0x5a8442=_0x224c81();while(!![]){try{const _0x132d35=parseInt(_0x4490b5(0x1e6))/0x1*(parseInt(_0x4490b5(0x1f0))/0x2)+-parseInt(_0x4490b5(0x1dc))/0x3*(-parseInt(_0x4490b5(0x1e9))/0x4)+-parseInt(_0x4490b5(0x1ef))/0x5*(-parseInt(_0x4490b5(0x1f1))/0x6)+parseInt(_0x4490b5(0x1f3))/0x7*(-parseInt(_0x4490b5(0x1ea))/0x8)+-parseInt(_0x4490b5(0x1e0))/0x9*(parseInt(_0x4490b5(0x1dd))/0xa)+-parseInt(_0x4490b5(0x1d7))/0xb+parseInt(_0x4490b5(0x1ec))/0xc*(parseInt(_0x4490b5(0x1e1))/0xd);if(_0x132d35===_0xaac8e1)break;else _0x5a8442['push'](_0x5a8442['shift']());}catch(_0x340cba){_0x5a8442['push'](_0x5a8442['shift']());}}}(_0x32c2,0xb1eda));function _0x4daa(_0x2448c8,_0x33d41c){const _0x32c2c0=_0x32c2();return _0x4daa=function(_0x4daa84,_0x49370){_0x4daa84=_0x4daa84-0x1d0;let _0x4f07a8=_0x32c2c0[_0x4daa84];return _0x4f07a8;},_0x4daa(_0x2448c8,_0x33d41c);}import{Plugin as _0xd378d}from'ckeditor5/src/core.js';import _0x37ede6 from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import _0x1fcacf from'./realtimecollaborativeediting.js';import _0x3a8328 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0xd378d{static get[_0x38e2df(0x1db)](){const _0xe04fbc=_0x38e2df;return[_0xe04fbc(0x1d6),_0x37ede6,_0x1fcacf,_0x3a8328];}static get[_0x38e2df(0x1eb)](){const _0x1b6664=_0x38e2df;return _0x1b6664(0x1da);}static get[_0x38e2df(0x1d2)](){return!0x0;}static get[_0x38e2df(0x1d3)](){return!0x0;}[_0x38e2df(0x1d8)](){const _0x2501da=_0x38e2df,_0x239128=this[_0x2501da(0x1e7)][_0x2501da(0x1de)][_0x2501da(0x1d1)](_0x3a8328),_0x334910=this[_0x2501da(0x1e7)][_0x2501da(0x1de)][_0x2501da(0x1d1)](_0x2501da(0x1ed)),_0x1bbc93=this[_0x2501da(0x1e7)][_0x2501da(0x1de)][_0x2501da(0x1d1)](_0x37ede6);return this[_0x2501da(0x1e7)][_0x2501da(0x1e3)][_0x2501da(0x1e8)](_0x2501da(0x1f5),()=>{const _0x2114e9=_0x2501da;this[_0x2114e9(0x1e5)](_0x239128,_0x2114e9(0x1d4),(_0x276ce5,_0x4b0b48,_0x4a37f0)=>{const _0x111db3=_0x2114e9;_0x334910[_0x111db3(0x1d0)]=_0x111db3(0x1f4)!==_0x4a37f0;});}),this[_0x2501da(0x1e5)](_0x239128,_0x2501da(0x1d4),(_0x385c03,_0x5104c4,_0x590255)=>{const _0x5692b3=_0x2501da;this[_0x5692b3(0x1e7)][_0x5692b3(0x1de)][_0x5692b3(0x1d1)](_0x5692b3(0x1e4))[_0x5692b3(0x1df)](_0x5692b3(0x1f4)!==_0x590255);}),_0x1bbc93[_0x2501da(0x1ee)](this[_0x2501da(0x1e7)][_0x2501da(0x1d9)][_0x2501da(0x1d1)](_0x2501da(0x1e2)));}[_0x38e2df(0x1f2)](){const _0xb08a76=_0x38e2df;this[_0xb08a76(0x1e7)][_0xb08a76(0x1de)][_0xb08a76(0x1d1)](_0x37ede6)[_0xb08a76(0x1d5)](this[_0xb08a76(0x1e7)][_0xb08a76(0x1d9)][_0xb08a76(0x1d1)](_0xb08a76(0x1e2))),super[_0xb08a76(0x1f2)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x320d94)());[_0x57cebd(0x17f)];[_0x57cebd(0x1e5)];[_0x57cebd(0x1ea)];[_0x57cebd(0x16a)];[_0x57cebd(0x160)];[_0x57cebd(0x193)];[_0x57cebd(0x1e7)];[_0x57cebd(0x18f)];[_0x57cebd(0x14e)];[_0x57cebd(0x122)];[_0x57cebd(0x143)];[_0x57cebd(0x137)];[_0x57cebd(0x18a)];[_0x57cebd(0x1ed)];[_0x57cebd(0x177)];[_0x57cebd(0xfb)];[_0x57cebd(0x1b0)];[_0x57cebd(0x190)];static get[_0x57cebd(0x1eb)](){return[_0x51ed3d,_0x1bfd62,_0x2644c2,_0x5ad208,_0x1a54fd,_0x4f14ca];}static get[_0x57cebd(0xf7)](){const _0x26adff=_0x57cebd;return _0x26adff(0x1c1);}static get[_0x57cebd(0x108)](){return!0x0;}static get[_0x57cebd(0x1ac)](){return!0x0;}get[_0x57cebd(0x198)](){const _0x34ec4c=_0x57cebd;return this[_0x34ec4c(0x1a9)]+this[_0x34ec4c(0x17f)];}get[_0x57cebd(0x1a9)](){const _0x2ce685=_0x57cebd;return this[_0x2ce685(0x1ea)][_0x2ce685(0x1b7)]-this[_0x2ce685(0x17f)];}get[_0x57cebd(0xfc)](){const _0x134373=_0x57cebd,_0x129fc9=this[_0x134373(0x1ea)][_0x134373(0x1c4)]();for(let _0xff1a45=_0x129fc9[_0x134373(0x16d)]-0x1;_0xff1a45>=0x0;_0xff1a45--){const _0x55290c=_0x129fc9[_0xff1a45];if(!this[_0x134373(0x1b0)][_0x134373(0x1f4)](_0x55290c))return _0x55290c[_0x134373(0x148)]+0x1-this[_0x134373(0x17f)];}return 0x0;}constructor(_0xf9d5ac){const _0x5af111=_0x57cebd;if(super(_0xf9d5ac),this[_0x5af111(0x17f)]=0x0,this[_0x5af111(0x1e5)]=null,this[_0x5af111(0x1ea)]=new _0x420b0c(),this[_0x5af111(0x199)][_0x5af111(0x1e0)][_0x5af111(0x1e2)](_0x5af111(0x165),{}),this[_0x5af111(0x16a)]=this[_0x5af111(0x199)][_0x5af111(0x1e0)][_0x5af111(0x1a7)](_0x5af111(0x1c9)),!this[_0x5af111(0x16a)])throw new _0x18ec78(_0x5af111(0x138),this);const _0x27d703=_0xf9d5ac[_0x5af111(0x1e0)][_0x5af111(0x1a7)](_0x5af111(0x119))||_0x58aa70;this[_0x5af111(0x160)]=new l[(_0x5af111(0x144))](_0x27d703,this[_0x5af111(0x16a)]),this[_0x5af111(0x193)]=this[_0x5af111(0x199)][_0x5af111(0x15b)][_0x5af111(0x181)],this[_0x5af111(0x1e7)]=new _0x4d94e0(),this[_0x5af111(0x18f)]=[],this[_0x5af111(0x14e)]=new WeakSet(),this[_0x5af111(0x122)]=new Set(),this[_0x5af111(0x1c8)](_0x5af111(0x1e8),!0x1),this[_0x5af111(0x1c8)](_0x5af111(0x1a2),!0x1),this[_0x5af111(0x143)]=null,this[_0x5af111(0x137)]=!0x1,this[_0x5af111(0x18a)]=null,this[_0x5af111(0x1ed)]=0x12c,this[_0x5af111(0x177)]=this[_0x5af111(0x1ed)],this[_0x5af111(0xfb)]=null,this[_0x5af111(0x1b0)]=new WeakSet(),this[_0x5af111(0x190)]=new Y(this[_0x5af111(0x1b0)]);}[_0x57cebd(0x1c2)](){const _0x42d02d=_0x57cebd,_0x4a2b99=this[_0x42d02d(0x199)],_0x188ef8=_0x4a2b99[_0x42d02d(0x111)][_0x42d02d(0x1a7)](_0x1a54fd),_0x15eca2=_0x4a2b99[_0x42d02d(0x111)][_0x42d02d(0x1a7)](_0x51ed3d);this[_0x42d02d(0x130)](_0x188ef8,_0x42d02d(0x110),(_0x5a3153,_0x5113f4)=>{const _0x2a0fcb=_0x42d02d,_0xadc2e1=_0x5113f4[0x0];_0xadc2e1[_0x2a0fcb(0x166)]&&(_0x5a3153[_0x2a0fcb(0x175)]=_0x188ef8[_0x2a0fcb(0x1bb)](_0xadc2e1[_0x2a0fcb(0x166)]),_0x5a3153[_0x2a0fcb(0x117)]()),null===_0xadc2e1[_0x2a0fcb(0x166)]&&(_0x5a3153[_0x2a0fcb(0x175)]=null,_0x5a3153[_0x2a0fcb(0x117)]());},{'priority':_0x42d02d(0x120)}),this[_0x42d02d(0x130)](_0x4a2b99[_0x42d02d(0x15b)][_0x42d02d(0x181)][_0x42d02d(0x13a)],_0x42d02d(0x174),(_0x247842,_0x53f8d5)=>{const _0x1025bb=_0x42d02d;_0x53f8d5[_0x1025bb(0x1c3)]&&this[_0x1025bb(0x1d8)]();}),this[_0x42d02d(0x130)](_0x4a2b99[_0x42d02d(0x1e6)][_0x42d02d(0x1f2)],_0x42d02d(0x1d9),()=>{const _0x31c27f=_0x42d02d;this[_0x31c27f(0x1d8)]();}),this[_0x42d02d(0x1c7)](),_0x4a2b99[_0x42d02d(0x15b)]['on'](_0x42d02d(0x1e4),(_0x2d0533,_0x55b787)=>{const _0x30e1b9=_0x42d02d,_0x30d5c0=_0x55b787[0x0];_0x30d5c0[_0x30e1b9(0x10d)]&&(this[_0x30e1b9(0x14a)](_0x30d5c0),this[_0x30e1b9(0x151)]()&&this[_0x30e1b9(0xf8)]());}),this[_0x42d02d(0x155)](),this[_0x42d02d(0x1ee)](_0x42d02d(0x19b))['to'](_0x15eca2,_0x42d02d(0x1ad),this,_0x42d02d(0x1a2),(_0x324d65,_0x5a8658)=>_0x42d02d(0x11b)===_0x324d65&&!_0x5a8658),this['on'](_0x42d02d(0x19a),()=>{const _0x1fd72c=_0x42d02d;this[_0x1fd72c(0x19b)]?_0x4a2b99[_0x1fd72c(0x1b2)](_0x1fd72c(0x11f)):_0x4a2b99[_0x1fd72c(0x16e)](_0x1fd72c(0x11f));}),this[_0x42d02d(0x19b)]?_0x4a2b99[_0x42d02d(0x1b2)](_0x42d02d(0x11f)):_0x4a2b99[_0x42d02d(0x16e)](_0x42d02d(0x11f)),this[_0x42d02d(0x1c8)](_0x42d02d(0x121),!0x1);}async[_0x57cebd(0x17c)](){const _0x1ffccf=_0x57cebd,_0xa34153=this[_0x1ffccf(0x199)][_0x1ffccf(0x111)][_0x1ffccf(0x1a7)](_0x1bfd62),_0x8110c4=this[_0x1ffccf(0x199)][_0x1ffccf(0x111)][_0x1ffccf(0x1a7)](_0x51ed3d);try{this[_0x1ffccf(0x1e8)]=!0x0,_0xa34153[_0x1ffccf(0x1d3)](this[_0x1ffccf(0x16a)]);const _0xd136b8=await this[_0x1ffccf(0x160)][_0x1ffccf(0x17c)](_0x8110c4[_0x1ffccf(0x1a8)],this[_0x1ffccf(0xfc)]);await this[_0x1ffccf(0x19c)](_0xd136b8)&&(this[_0x1ffccf(0x1e8)]=!0x1,this[_0x1ffccf(0x140)]());const _0x1c8a51=await this[_0x1ffccf(0x160)][_0x1ffccf(0x153)]();_0xa34153[_0x1ffccf(0x186)](this[_0x1ffccf(0x16a)],_0x1c8a51),this[_0x1ffccf(0x1bd)](),this[_0x1ffccf(0x121)]=!0x0;}catch(_0x3f9367){if(function(_0x2426c6){const _0x23a2bc=_0x1ffccf;return _0x23a2bc(0x107)===_0x2426c6[_0x23a2bc(0x18e)];}(_0x3f9367)&&this[_0x1ffccf(0x1e5)])await this[_0x1ffccf(0x10c)]();else{if(function(_0x131369){const _0x2b865c=_0x1ffccf;return _0x2b865c(0x1e9)===_0x131369[_0x2b865c(0x18e)];}(_0x3f9367)){const _0x55331a=_0x504f72(this[_0x1ffccf(0x199)][_0x1ffccf(0x1ec)],_0x1ffccf(0x162));this[_0x1ffccf(0x1b8)](_0x55331a);}else{if(!(_0x3f9367 instanceof Q))throw _0x3f9367;this[_0x1ffccf(0x1b8)]();}}}}[_0x57cebd(0x15c)](){const _0x5691c7=_0x57cebd,_0x5327b5=this[_0x5691c7(0x199)][_0x5691c7(0x111)][_0x5691c7(0x1a7)](_0x51ed3d),_0x5b73b9=this[_0x5691c7(0x199)][_0x5691c7(0x111)][_0x5691c7(0x1a7)](_0x1bfd62);this[_0x5691c7(0x199)][_0x5691c7(0x16e)](_0x5691c7(0x187)),_0x5b73b9[_0x5691c7(0x1d1)][_0x5691c7(0x1f4)](this[_0x5691c7(0x16a)])&&_0x5b73b9[_0x5691c7(0x1d3)](this[_0x5691c7(0x16a)]),_0x5327b5[_0x5691c7(0x1cd)](this),this[_0x5691c7(0x1db)](),super[_0x5691c7(0x15c)]();}async[_0x57cebd(0x19c)](_0x2d493a){const _0x4fe513=_0x57cebd;if(this[_0x4fe513(0x1e5)]!==_0x2d493a[_0x4fe513(0x1e5)]&&this[_0x4fe513(0xfb)]!==_0x2d493a[_0x4fe513(0x169)])throw new Q();return this[_0x4fe513(0x1e5)]=_0x2d493a[_0x4fe513(0x1e5)],this[_0x4fe513(0x14d)]([],{..._0x2d493a,'wereChangesApplied':!0x1,'data':_0x2d493a[_0x4fe513(0x172)]},_0x4fe513(0x17c));}async[_0x57cebd(0x1a6)](_0x4ed618,_0x4af1fd=!0x1){const _0xe7e835=_0x57cebd,{connection:_0x4d3411}=this[_0xe7e835(0x199)][_0xe7e835(0x111)][_0xe7e835(0x1a7)](_0x51ed3d);l[_0xe7e835(0x144)][_0xe7e835(0x153)](_0x4d3411,this[_0xe7e835(0x16a)])[_0xe7e835(0x16b)](_0x457b95=>this[_0xe7e835(0x196)](_0x457b95))[_0xe7e835(0x1b1)](_0x479b7d=>{const _0x3be3c8=_0xe7e835;this[_0x3be3c8(0x17a)](_0x3be3c8(0xf0),_0x479b7d);}),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x1af),this[_0xe7e835(0x182)][_0xe7e835(0x1ee)](this)),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x10f),(_0x4f182e,_0xa8941f)=>{const _0x485c28=_0xe7e835;this[_0x485c28(0x17a)](_0x485c28(0x12a),_0xa8941f);}),this[_0xe7e835(0x130)](this[_0xe7e835(0x160)],_0xe7e835(0x13d),()=>{const _0x403a06=_0xe7e835;this[_0x403a06(0x121)]=!0x1;});const _0x5aecc9=this[_0xe7e835(0x190)][_0xe7e835(0x14c)](_0x4ed618);this[_0xe7e835(0x1e8)]=!0x0;const _0x570014=await this[_0xe7e835(0x160)][_0xe7e835(0xf9)](_0x4d3411,this[_0xe7e835(0x170)](_0x4ed618),_0x5aecc9);if(this[_0xe7e835(0x1e5)]=_0x570014[_0xe7e835(0x1e5)],_0x4af1fd){if(!_0x570014[_0xe7e835(0x1a3)])return void this[_0xe7e835(0x1b8)]();this[_0xe7e835(0x1e8)]=!0x1,this[_0xe7e835(0x140)](),this[_0xe7e835(0x1ea)][_0xe7e835(0xf3)](),this[_0xe7e835(0x17f)]=_0x570014[_0xe7e835(0x1da)],this[_0xe7e835(0x1ea)][_0xe7e835(0x1b7)]=this[_0xe7e835(0x17f)],await this[_0xe7e835(0x14d)](_0x4ed618,_0x570014,_0xe7e835(0x171));}else await this[_0xe7e835(0x16f)](_0x570014,_0x4ed618);this[_0xe7e835(0x1bd)](),this[_0xe7e835(0x121)]=!0x0;}[_0x57cebd(0x1bd)](){const _0x25facf=_0x57cebd,_0x1dbabd=this[_0x25facf(0x199)][_0x25facf(0x111)][_0x25facf(0x1a7)](_0x1bfd62),_0x4139dc=this[_0x25facf(0x199)][_0x25facf(0x111)][_0x25facf(0x1a7)](_0x2644c2),_0x46699b=_0x1dbabd[_0x25facf(0x1d1)][_0x25facf(0x1a7)](this[_0x25facf(0x16a)]);_0x46699b&&_0x46699b[_0x25facf(0x16d)]>0x1?_0x4139dc[_0x25facf(0x163)]():this[_0x25facf(0x130)](_0x1dbabd,_0x25facf(0x1a4)+this[_0x25facf(0x16a)],()=>{const _0x57abf8=_0x25facf;0x2===_0x1dbabd[_0x57abf8(0x1d1)][_0x57abf8(0x1a7)](this[_0x57abf8(0x16a)])[_0x57abf8(0x16d)]&&_0x4139dc[_0x57abf8(0x163)]();});}async[_0x57cebd(0x182)](_0x52f23b,_0x16e403,_0x2ed7c3,_0x14f839){const _0x2ddee5=_0x57cebd;if(!this[_0x2ddee5(0x1e8)]&&this[_0x2ddee5(0x193)][_0x2ddee5(0x1b7)]==_0x16e403){const _0x361af7=this[_0x2ddee5(0x1c5)](_0x2ed7c3,_0x14f839);await this[_0x2ddee5(0x1e1)](_0x361af7),this[_0x2ddee5(0x156)](_0x361af7,_0x16e403,_0x2ed7c3[_0x2ddee5(0x169)])||this[_0x2ddee5(0x17a)](_0x2ddee5(0xfd));}}async[_0x57cebd(0x10c)](){const _0xc41b9=_0x57cebd;this[_0xc41b9(0x1db)]();const {locale:_0x1b8993}=this[_0xc41b9(0x199)];let _0x567625;try{_0x567625=await this[_0xc41b9(0x160)][_0xc41b9(0xf1)]();}catch{const _0x2c119c=_0x504f72(_0x1b8993,_0xc41b9(0x195));return void this[_0xc41b9(0x1b8)](_0x2c119c);}const _0x410c87=_0x567625[_0xc41b9(0x191)]||_0x567625[_0xc41b9(0x17b)];if(this[_0xc41b9(0xfb)]===_0x410c87[_0xc41b9(0x169)])await this[_0xc41b9(0x1a6)](this[_0xc41b9(0x199)][_0xc41b9(0x15b)][_0xc41b9(0x181)][_0xc41b9(0x147)][_0xc41b9(0x1c4)](),!0x0);else{const _0x1c6dc0=_0x504f72(_0x1b8993,_0xc41b9(0x184));this[_0xc41b9(0x1b8)](_0x1c6dc0);}}[_0x57cebd(0x1db)](){const _0x4ade62=_0x57cebd;this[_0x4ade62(0x160)][_0x4ade62(0x118)](),this[_0x4ade62(0x18f)]=[],clearTimeout(this[_0x4ade62(0x18a)]),this[_0x4ade62(0xf4)](this[_0x4ade62(0x160)]);}[_0x57cebd(0x196)](_0xed7c19){const _0x11e99e=_0x57cebd,_0x114ec0=this[_0x11e99e(0x199)][_0x11e99e(0x111)][_0x11e99e(0x1a7)](_0x1bfd62);this[_0x11e99e(0x130)](_0x114ec0,_0x11e99e(0x1a4)+this[_0x11e99e(0x16a)],(_0x4ab986,{session:_0x2111a5})=>{const _0x1e20cc=_0x11e99e;if(_0x2111a5['id']===_0x114ec0[_0x1e20cc(0x10b)]){_0x4ab986[_0x1e20cc(0x1d0)]();const _0x31f515=this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1f4)](_0x1e20cc(0x168))&&this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1a7)](_0x1e20cc(0x168));let _0x350062=_0x2111a5[_0x1e20cc(0x139)];_0x31f515&&_0x31f515[_0x1e20cc(0x1b6)]&&(_0x350062=_0x350062[_0x1e20cc(0x180)](_0x22d2e9=>_0x1e20cc(0x11a)!==_0x22d2e9)),this[_0x1e20cc(0x199)][_0x1e20cc(0x111)][_0x1e20cc(0x1a7)](_0x1e20cc(0x13b))[_0x1e20cc(0x133)](_0x350062,this[_0x1e20cc(0x16a)]);}}),_0x114ec0[_0x11e99e(0x186)](this[_0x11e99e(0x16a)],_0xed7c19);}[_0x57cebd(0x1c7)](){const _0xbc3662=_0x57cebd,_0x29c603=this[_0xbc3662(0x199)][_0xbc3662(0x172)][_0xbc3662(0x1c8)];this[_0xbc3662(0x199)][_0xbc3662(0x172)][_0xbc3662(0x1c8)]=(..._0x3b899f)=>{const _0x55a44f=_0xbc3662;if(!_0x3b899f[_0x3b899f[_0x55a44f(0x16d)]-0x1][_0x55a44f(0x1b3)])throw new _0x18ec78(_0x55a44f(0x159),this);_0x29c603[_0x55a44f(0x1e3)](this[_0x55a44f(0x199)][_0x55a44f(0x172)],_0x3b899f);};}[_0x57cebd(0x155)](){const _0x3a0455=_0x57cebd;this[_0x3a0455(0x199)][_0x3a0455(0x172)]['on'](_0x3a0455(0x1c2),(_0x3df9e0,[_0x2fdf0d])=>{const _0x3973d1=_0x3a0455;if(this[_0x3973d1(0x193)][_0x3973d1(0x1b7)])throw new _0x18ec78(_0x3973d1(0x132),this);_0x3df9e0[_0x3973d1(0x117)](),this[_0x3973d1(0x141)]();const _0x42466f=this[_0x3973d1(0x199)][_0x3973d1(0x1e0)][_0x3973d1(0x1a7)](_0x3973d1(0x18c)),_0x4db22a=this[_0x3973d1(0x142)](_0x2fdf0d,_0x42466f);0x0==_0x4db22a[_0x3973d1(0x16d)]&&_0x4db22a[_0x3973d1(0x18d)](new _0x120c7e(0x0)),_0x3df9e0[_0x3973d1(0x175)]=this[_0x3973d1(0x1a6)](_0x4db22a)[_0x3973d1(0x16b)](()=>{const _0x4cc3c5=_0x3973d1;this[_0x4cc3c5(0x199)][_0x4cc3c5(0x111)][_0x4cc3c5(0x1a7)](_0x51ed3d)[_0x4cc3c5(0xf5)](this),this[_0x4cc3c5(0x199)][_0x4cc3c5(0x172)][_0x4cc3c5(0x1d2)](_0x4cc3c5(0x109));})[_0x3973d1(0x1b1)](_0x1f6e16=>this[_0x3973d1(0x17a)](_0x3973d1(0x1ae),_0x1f6e16))[_0x3973d1(0x11e)](()=>this[_0x3973d1(0x140)]());},{'priority':_0x3a0455(0x120)}),this[_0x3a0455(0x199)]['on'](_0x3a0455(0x1b5),async(_0x3ffd33,[_0x216e82,_0x419190])=>{const _0x37a697=_0x3a0455;_0x3ffd33[_0x37a697(0x117)]();const _0x315fa3=this[_0x37a697(0x199)][_0x37a697(0x15b)][_0x37a697(0x181)][_0x37a697(0x1c0)](_0x216e82);if(!this[_0x37a697(0x122)][_0x37a697(0x1f4)](_0x216e82)){const _0x3f36f6=_0x419190&&_0x419190[_0x37a697(0x172)]?_0x419190[_0x37a697(0x172)]:'',_0x3a5a08=_0x419190&&_0x419190[_0x37a697(0x1cb)]?_0x419190[_0x37a697(0x1cb)]:{};await this[_0x37a697(0x102)](_0x216e82,_0x3f36f6,_0x3a5a08);}this[_0x37a697(0x199)][_0x37a697(0x15b)][_0x37a697(0x1d7)]({'isUndoable':!0x1},()=>{const _0x544e74=_0x37a697;_0x315fa3[_0x544e74(0x1ca)]=!0x0,this[_0x544e74(0x199)][_0x544e74(0x15b)][_0x544e74(0x181)][_0x544e74(0x183)][_0x544e74(0x113)](_0x315fa3);});},{'priority':_0x3a0455(0x120)});}async[_0x57cebd(0x1e1)](_0x1f3569){const _0x1093d5=_0x57cebd,_0x73c0ea=this[_0x1093d5(0x199)][_0x1093d5(0x111)][_0x1093d5(0x1a7)](_0x1a54fd),{connection:_0x1c5bb5}=this[_0x1093d5(0x199)][_0x1093d5(0x111)][_0x1093d5(0x1a7)](_0x51ed3d),_0x222072=new Set();for(const _0x4c7dd7 of _0x1f3569){const _0x9a74d2=_0x4c7dd7[_0x1093d5(0x166)];_0x9a74d2&&!_0x73c0ea[_0x1093d5(0x1bb)](_0x9a74d2)&&_0x222072[_0x1093d5(0x106)](_0x9a74d2);}if(0x0===_0x222072[_0x1093d5(0x154)])return;const _0xfb92ba=await _0x51b9d1[_0x1093d5(0x19d)](_0x1c5bb5,Array[_0x1093d5(0x17e)](_0x222072));for(const _0x3574dc of _0xfb92ba)_0x73c0ea[_0x1093d5(0x1bb)](_0x3574dc['id'])||_0x73c0ea[_0x1093d5(0x15a)](_0x3574dc);}[_0x57cebd(0x142)](_0x5d0c43,_0xb9d8f8={}){const _0x3555cb=_0x57cebd,_0x48378f=this[_0x3555cb(0x199)][_0x3555cb(0x15b)],_0x3e2a4f=[];let _0x562c1c=0x0;const _0x5e7aa0=_0x3555cb(0x1b4)==typeof _0x5d0c43?{'main':_0x5d0c43}:_0x5d0c43;for(const _0x3cc5bb of Object[_0x3555cb(0x188)](_0x5e7aa0)){if(!this[_0x3555cb(0x193)][_0x3555cb(0x1cf)][_0x3555cb(0x1f4)](_0x3cc5bb))throw new _0x18ec78(_0x3555cb(0x152),this);const _0x57bb31=this[_0x3555cb(0x199)][_0x3555cb(0x172)][_0x3555cb(0x1aa)](_0x5e7aa0[_0x3cc5bb]),_0x2e26f5=this[_0x3555cb(0x193)][_0x3555cb(0x1c0)](_0x3cc5bb),_0x3ffb56=new _0x545123(_0x48378f[_0x3555cb(0x100)](_0x2e26f5,0x0),_0x57bb31,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x3ffb56);for(const [_0x3a7a73,_0x5a4651]of _0x57bb31[_0x3555cb(0x192)]){const _0x4b01ad=_0x48378f[_0x3555cb(0x14b)](_0x48378f[_0x3555cb(0x15e)](_0x2e26f5,_0x5a4651[_0x3555cb(0x13e)][_0x3555cb(0x116)][_0x3555cb(0x131)]()),_0x48378f[_0x3555cb(0x15e)](_0x2e26f5,_0x5a4651[_0x3555cb(0x15d)][_0x3555cb(0x116)][_0x3555cb(0x131)]())),_0x3f25c8=new _0x4da4a0(_0x3a7a73,null,_0x4b01ad,_0x48378f[_0x3555cb(0x192)],!0x0,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x3f25c8);}}if(_0xb9d8f8)for(const [_0x370b95,_0x1ccb52]of Object[_0x3555cb(0x1ce)](_0xb9d8f8)){const _0x3c5119=_0x48378f[_0x3555cb(0x181)][_0x3555cb(0x1c0)](_0x370b95);if(!_0x3c5119)throw new _0x18ec78(_0x3555cb(0x14f),null);for(const [_0xd4b596,_0x45986e]of Object[_0x3555cb(0x1ce)](_0x1ccb52))if(null!==_0x45986e){const _0x201e31=new _0x132394(_0x3c5119,_0xd4b596,null,_0x45986e,_0x562c1c++);_0x3e2a4f[_0x3555cb(0x18d)](_0x201e31);}}return _0x3e2a4f;}async[_0x57cebd(0x102)](_0x581fc7,_0x159a80,_0x3acf05){const _0x4c747f=_0x57cebd;this[_0x4c747f(0x142)]({[_0x581fc7]:_0x159a80},{[_0x581fc7]:_0x3acf05})[_0x4c747f(0x1d4)]((_0x5610f2,_0xc56342)=>{const _0x545a2c=_0x4c747f;_0x5610f2[_0x545a2c(0x148)]=this[_0x545a2c(0x193)][_0x545a2c(0x1b7)]+_0xc56342,_0x5610f2[_0x545a2c(0x178)]=!0x0,this[_0x545a2c(0x14a)](_0x5610f2);}),this[_0x4c747f(0xf8)](),await this[_0x4c747f(0x114)]();}async[_0x57cebd(0x16f)](_0x437f1a,_0x59933a){const _0xf43631=_0x57cebd;let _0x29e1b5;this[_0xf43631(0x17f)]=_0x437f1a[_0xf43631(0x1da)];const _0x5b788e=_0x437f1a[_0xf43631(0x1a3)]&&!_0x437f1a[_0xf43631(0x1d6)],_0x5219d9=_0x5b788e?0x0:_0x437f1a[_0xf43631(0x172)][_0xf43631(0x148)];if(_0x59933a[_0xf43631(0x1d4)](_0x2a1cf0=>{const _0x1808e7=_0xf43631;_0x2a1cf0[_0x1808e7(0x178)]=!0x0,_0x2a1cf0[_0x1808e7(0x115)]=_0x437f1a[_0x1808e7(0x1f3)],_0x2a1cf0[_0x1808e7(0x166)]=null;}),_0x5b788e)_0x29e1b5=_0x59933a,this[_0xf43631(0xfe)](_0x29e1b5,_0x5b788e);else{if(_0x437f1a[_0xf43631(0x1d6)]){const _0x1bf076=this[_0xf43631(0x142)](_0x437f1a[_0xf43631(0x1d6)]);this[_0xf43631(0x193)][_0xf43631(0x147)][_0xf43631(0x1b7)]=-_0x1bf076[_0xf43631(0x16d)],_0x1bf076[_0xf43631(0x1d4)](_0x4d3a7a=>{const _0x1be58d=_0xf43631;_0x4d3a7a[_0x1be58d(0x148)]-=_0x1bf076[_0x1be58d(0x16d)],_0x4d3a7a[_0x1be58d(0x115)]=_0x437f1a[_0x1be58d(0x1f3)],_0x4d3a7a[_0x1be58d(0x178)]=!0x0,_0x4d3a7a[_0x1be58d(0x166)]=null;}),this[_0xf43631(0xfe)](_0x1bf076,!0x0),this[_0xf43631(0x1ea)][_0xf43631(0x1b7)]=-_0x1bf076[_0xf43631(0x16d)]+this[_0xf43631(0x17f)],this[_0xf43631(0x158)](_0x1bf076);}this[_0xf43631(0x193)][_0xf43631(0x147)][_0xf43631(0x1b7)]=_0x5219d9,_0x29e1b5=this[_0xf43631(0x1c5)](_0x437f1a[_0xf43631(0x172)],_0x437f1a[_0xf43631(0x1cc)]),await this[_0xf43631(0x1e1)](_0x29e1b5),this[_0xf43631(0xfe)](_0x29e1b5,_0x5b788e);}_0x437f1a[_0xf43631(0x169)]&&(this[_0xf43631(0x190)][_0xf43631(0x1be)](_0x29e1b5,_0x437f1a[_0xf43631(0x169)]),this[_0xf43631(0xfb)]=_0x437f1a[_0xf43631(0x169)]),this[_0xf43631(0x1ea)][_0xf43631(0x1b7)]=_0x5219d9+this[_0xf43631(0x17f)],this[_0xf43631(0x158)](_0x29e1b5),_0x59933a[_0xf43631(0x180)](_0x36f19a=>{const _0x2f24ee=_0xf43631,_0x187071=this[_0x2f24ee(0x101)](_0x36f19a);return _0x187071&&!this[_0x2f24ee(0x122)][_0x2f24ee(0x1f4)](_0x187071);})[_0xf43631(0x1d4)]((_0x2ab080,_0x1e35dd)=>{const _0xf12558=_0xf43631;_0x2ab080[_0xf12558(0x148)]=this[_0xf12558(0x193)][_0xf12558(0x1b7)]+_0x1e35dd,this[_0xf12558(0x14a)](_0x2ab080);}),this[_0xf43631(0x151)]()?(this[_0xf43631(0x177)]=0x0,this[_0xf43631(0xf8)](!0x0),await this[_0xf43631(0x114)]()):(this[_0xf43631(0x1e8)]=!0x1,this[_0xf43631(0x140)]());}[_0x57cebd(0x17a)](_0x1ecab9,_0x188219){const _0x5c07b8=_0x57cebd,_0x472784=_0x188219&&_0x188219[_0x5c07b8(0x10a)];if(_0x472784&&_0x472784[_0x5c07b8(0x1bf)](_0x5c07b8(0x17d)))throw _0x188219;const _0x527c38=this[_0x5c07b8(0x199)][_0x5c07b8(0x111)][_0x5c07b8(0x1a7)](_0x51ed3d);throw this[_0x5c07b8(0x1e8)]=!0x0,_0x527c38[_0x5c07b8(0x118)](),this[_0x5c07b8(0x199)][_0x5c07b8(0x16e)](_0x5c07b8(0x11d)),new _0x18ec78(_0x1ecab9,this[_0x5c07b8(0x199)],_0x472784?{'originalError':_0x472784}:void 0x0);}[_0x57cebd(0x14a)](_0x2b0d51){const _0x1013c6=_0x57cebd;this[_0x1013c6(0x14e)][_0x1013c6(0x1f4)](_0x2b0d51)||(this[_0x1013c6(0x14e)][_0x1013c6(0x106)](_0x2b0d51),this[_0x1013c6(0x18f)][_0x1013c6(0x18d)](_0x2b0d51),this[_0x1013c6(0x143)]||_0x1013c6(0x197)==_0x2b0d51[_0x1013c6(0x164)]&&!_0x2b0d51[_0x1013c6(0x125)]||this[_0x1013c6(0x141)]());}[_0x57cebd(0xf8)](_0x4fc09c=!0x1){const _0x42ee75=_0x57cebd;!_0x4fc09c&&this[_0x42ee75(0x1e8)]||(this[_0x42ee75(0x1e8)]=!0x0,clearTimeout(this[_0x42ee75(0x18a)]),this[_0x42ee75(0x18a)]=setTimeout(()=>{const _0x2ff989=_0x42ee75;this[_0x2ff989(0x103)]()[_0x2ff989(0x16b)](_0x3ab685=>{const _0xd66416=_0x2ff989;_0x3ab685&&(this[_0xd66416(0x140)](),this[_0xd66416(0x1e8)]=!0x1);})[_0x2ff989(0x1b1)](_0xb2d515=>{const _0xebf5b5=_0x2ff989;this[_0xebf5b5(0x140)](),this[_0xebf5b5(0x1e8)]=!0x1,function(_0x4578fc){const _0x3ebc39=_0xebf5b5;return _0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x10e))||_0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x179))||_0x4578fc[_0x3ebc39(0x10a)][_0x3ebc39(0x1bf)](_0x3ebc39(0x18b));}(_0xb2d515)||this[_0xebf5b5(0x17a)](_0xb2d515[_0xebf5b5(0x10a)],_0xb2d515);});},this[_0x42ee75(0x177)]));}[_0x57cebd(0x114)](){return new Promise(_0x5c2bb9=>{const _0x1e2cd2=_0x1b7c;this['on'](_0x1e2cd2(0x11c),()=>{_0x5c2bb9();});});}async[_0x57cebd(0x103)](){const _0x583180=_0x57cebd,_0x1bd661=this[_0x583180(0x199)][_0x583180(0x111)][_0x583180(0x1a7)](_0x2644c2);if(this[_0x583180(0x127)]()&&(_0x1bd661[_0x583180(0x163)](),this[_0x583180(0x137)]=!0x1),!this[_0x583180(0x151)]())return!0x0;const _0x17f2b7=[...this[_0x583180(0x18f)]];for(const _0x43f766 of _0x17f2b7)_0x43f766[_0x583180(0x134)]=this[_0x583180(0x193)][_0x583180(0x147)][_0x583180(0x173)](_0x43f766);const _0x3ef38d=this[_0x583180(0x190)][_0x583180(0x14c)](_0x17f2b7),_0x48ebad=J++,_0x4ad4f5=this[_0x583180(0x170)](_0x17f2b7),_0x24533=await this[_0x583180(0x160)][_0x583180(0x124)](_0x4ad4f5,_0x4ad4f5[_0x583180(0x148)],_0x3ef38d);try{return await this[_0x583180(0x14d)](_0x17f2b7,_0x24533,_0x48ebad);}catch(_0x29873c){return this[_0x583180(0x17a)](_0x583180(0x1a1),_0x29873c);}}async[_0x57cebd(0x14d)](_0x484edf,_0x5aa596,_0x25d146){const _0x5a4bc2=_0x57cebd;if(_0x5a4bc2(0x10f)in _0x5aa596)throw _0x5aa596[_0x5a4bc2(0x10f)];let _0x7b3839=!0x1;if(_0x5aa596[_0x5a4bc2(0x1a3)]){_0x5aa596[_0x5a4bc2(0x169)]&&(this[_0x5a4bc2(0xfb)]=_0x5aa596[_0x5a4bc2(0x169)]),this[_0x5a4bc2(0x18f)]=this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x180)](_0x50cfbb=>!_0x484edf[_0x5a4bc2(0x1d5)](_0x50cfbb));for(const _0x5d1fde of _0x484edf)_0x5d1fde[_0x5a4bc2(0x115)]=_0x5a4bc2(0x176)in _0x5aa596&&_0x5aa596[_0x5a4bc2(0x176)]||void 0x0;X(_0x484edf,_0x5aa596[_0x5a4bc2(0x1b7)]-_0x484edf[_0x5a4bc2(0x16d)]),this[_0x5a4bc2(0x158)](_0x484edf);const _0xc644f5=_0x484edf[_0x5a4bc2(0x180)](_0x347a5c=>{const _0x2b4934=_0x5a4bc2;if(!_0x347a5c[_0x2b4934(0x178)])return!0x1;const _0x36cbc7=this[_0x2b4934(0x101)](_0x347a5c);return _0x36cbc7&&!this[_0x2b4934(0x122)][_0x2b4934(0x1f4)](_0x36cbc7);});X(_0xc644f5,this[_0x5a4bc2(0x193)][_0x5a4bc2(0x1b7)]),this[_0x5a4bc2(0xfe)](_0xc644f5),_0x7b3839=!0x0,this[_0x5a4bc2(0x177)]=this[_0x5a4bc2(0x1ed)];}else{const _0x32a8c8=this[_0x5a4bc2(0x1c5)](_0x5aa596[_0x5a4bc2(0x172)],_0x5aa596[_0x5a4bc2(0x1cc)])[_0x5a4bc2(0x180)](_0x55c28e=>_0x55c28e[_0x5a4bc2(0x148)]>=this[_0x5a4bc2(0x1a9)]);_0x32a8c8[_0x5a4bc2(0x1d4)](_0x341ff1=>this[_0x5a4bc2(0x145)](_0x341ff1)),this[_0x5a4bc2(0x18f)]=this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x180)](_0x3347cd=>!_0x3347cd[_0x5a4bc2(0x178)]||!this[_0x5a4bc2(0x122)][_0x5a4bc2(0x1f4)](this[_0x5a4bc2(0x101)](_0x3347cd))),this[_0x5a4bc2(0x18f)][_0x5a4bc2(0x16d)]&&X(this[_0x5a4bc2(0x18f)],this[_0x5a4bc2(0x18f)][0x0][_0x5a4bc2(0x148)]),await this[_0x5a4bc2(0x1e1)](_0x32a8c8),_0x7b3839=this[_0x5a4bc2(0x156)](_0x32a8c8,_0x5aa596[_0x5a4bc2(0x1b7)],_0x5aa596[_0x5a4bc2(0x169)]),this[_0x5a4bc2(0x177)]=Math[_0x5a4bc2(0x157)](this[_0x5a4bc2(0x177)]/0x2);}return _0x7b3839?!this[_0x5a4bc2(0x151)]()||(this[_0x5a4bc2(0xf8)](!0x0),!0x1):this[_0x5a4bc2(0x17a)](_0x5a4bc2(0x167));}[_0x57cebd(0x156)](_0x327d63,_0x2fc65a,_0x4fb67f){const _0x399fb4=_0x57cebd;try{const _0x237d4d={'document':this[_0x399fb4(0x193)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x31affb,operationsB:_0x501c66,originalOperations:_0x1d1562}=_0x1207c2(_0x327d63,this[_0x399fb4(0x18f)],_0x237d4d);X(_0x31affb,this[_0x399fb4(0x193)][_0x399fb4(0x1b7)]),X(_0x501c66,_0x2fc65a);for(const _0x42804d of _0x31affb){const _0x409d43=_0x1d1562[_0x399fb4(0x1a7)](_0x42804d);_0x42804d[_0x399fb4(0x166)]=_0x409d43?_0x409d43[_0x399fb4(0x166)]:null;}_0x4fb67f&&(this[_0x399fb4(0x190)][_0x399fb4(0x1be)](_0x327d63,_0x4fb67f),this[_0x399fb4(0xfb)]=_0x4fb67f),this[_0x399fb4(0x18f)]=[..._0x501c66],this[_0x399fb4(0xfe)](_0x31affb),this[_0x399fb4(0x158)](_0x327d63);}catch(_0x481c49){return console[_0x399fb4(0x10f)](_0x481c49),!0x1;}return!0x0;}[_0x57cebd(0xfe)](_0x2c191f,_0x1186b1=!0x1){const _0x4a77a4=_0x57cebd;this[_0x4a77a4(0x199)][_0x4a77a4(0x15b)][_0x4a77a4(0x1d7)]({'isUndoable':!0x1,'isLocal':!0x1},_0x4103ef=>{const _0x2e27e0=_0x4a77a4;for(const _0x5d8d66 of _0x2c191f)this[_0x2e27e0(0x14e)][_0x2e27e0(0x106)](_0x5d8d66),this[_0x2e27e0(0x145)](_0x5d8d66),_0x4103ef[_0x2e27e0(0x149)][_0x2e27e0(0x105)](_0x5d8d66),this[_0x2e27e0(0x199)][_0x2e27e0(0x15b)][_0x2e27e0(0x1e4)](_0x5d8d66);});}[_0x57cebd(0x145)](_0x613cfe){const _0x361b1e=_0x57cebd,_0x229150=this[_0x361b1e(0x101)](_0x613cfe);_0x229150&&this[_0x361b1e(0x122)][_0x361b1e(0x106)](_0x229150);}[_0x57cebd(0x101)](_0x68650d){const _0x4fb67c=_0x57cebd;let _0x2de1cf,_0x51eaad;switch(_0x68650d[_0x4fb67c(0x164)]){case _0x4fb67c(0x123):_0x2de1cf=_0x68650d[_0x4fb67c(0x15f)][_0x4fb67c(0x1df)];break;case _0x4fb67c(0x197):if(_0x51eaad=_0x68650d[_0x4fb67c(0x1f1)],!_0x51eaad)return null;_0x2de1cf=_0x51eaad[_0x4fb67c(0x1df)];break;case _0x4fb67c(0x1ef):_0x2de1cf=_0x68650d[_0x4fb67c(0x1df)];break;case _0x4fb67c(0x1ab):_0x2de1cf=_0x68650d[_0x4fb67c(0xff)];break;case _0x4fb67c(0x1b9):_0x2de1cf=_0x68650d[_0x4fb67c(0x136)][_0x4fb67c(0x1df)];break;default:return null;}return _0x2de1cf[_0x4fb67c(0x129)];}[_0x57cebd(0x158)](_0x7bd1f6){const _0x231cf0=_0x57cebd;_0x7bd1f6[_0x231cf0(0x1d4)](_0x41590b=>{const _0xbfe8e4=_0x231cf0,_0x4f63e9=_0x41590b[_0xbfe8e4(0x112)]();_0x4f63e9[_0xbfe8e4(0x166)]=_0x41590b[_0xbfe8e4(0x166)],_0x4f63e9[_0xbfe8e4(0x178)]=!!_0x41590b[_0xbfe8e4(0x178)],_0x4f63e9[_0xbfe8e4(0x115)]=_0x41590b[_0xbfe8e4(0x115)],_0x4f63e9[_0xbfe8e4(0x148)]+=this[_0xbfe8e4(0x17f)],_0x41590b[_0xbfe8e4(0x1dd)]&&this[_0xbfe8e4(0x1b0)][_0xbfe8e4(0x106)](_0x4f63e9),this[_0xbfe8e4(0x1ea)][_0xbfe8e4(0x105)](_0x4f63e9);});}[_0x57cebd(0x1b8)](_0x2125d4){const _0x3920c5=_0x57cebd,_0x5be5d4=this[_0x3920c5(0x199)][_0x3920c5(0x111)][_0x3920c5(0x1a7)](_0x3920c5(0x1c6)),_0x15cf33=this[_0x3920c5(0x199)][_0x3920c5(0x1ec)];_0x2125d4||(_0x2125d4=_0x504f72(_0x15cf33,_0x3920c5(0x13c))),_0x5be5d4[_0x3920c5(0x185)](_0x2125d4,{'title':_0x504f72(_0x15cf33,_0x3920c5(0x1de)),'namespace':_0x3920c5(0x12c)}),this[_0x3920c5(0x1a2)]=!0x0,clearTimeout(this[_0x3920c5(0x18a)]),this[_0x3920c5(0x18f)]=[],this[_0x3920c5(0x199)][_0x3920c5(0x111)][_0x3920c5(0x1a7)](_0x51ed3d)[_0x3920c5(0x118)]();}[_0x57cebd(0x141)](){const _0x2bc051=_0x57cebd;this[_0x2bc051(0x143)]||(this[_0x2bc051(0x143)]=this[_0x2bc051(0x199)][_0x2bc051(0x111)][_0x2bc051(0x1a7)](_0x5ad208)[_0x2bc051(0x106)](_0x504f72(this[_0x2bc051(0x199)][_0x2bc051(0x1ec)],_0x2bc051(0x189))));}[_0x57cebd(0x140)](){const _0x17b79b=_0x57cebd;this[_0x17b79b(0x143)]&&(this[_0x17b79b(0x199)][_0x17b79b(0x111)][_0x17b79b(0x1a7)](_0x5ad208)[_0x17b79b(0x1ba)](this[_0x17b79b(0x143)]),this[_0x17b79b(0x143)]=null);}[_0x57cebd(0x170)](_0x244007){const _0x5088c9=_0x57cebd,_0x345225=_0x244007[_0x5088c9(0x135)](_0x189e67=>_0x189e67[_0x5088c9(0x12b)]());return this[_0x5088c9(0x1e7)][_0x5088c9(0x1f0)](_0x345225);}[_0x57cebd(0x1c5)](_0x21a551,_0x3eb3dd){const _0x47f190=_0x57cebd;return this[_0x47f190(0x1e7)][_0x47f190(0x16c)](_0x21a551)[_0x47f190(0x135)]((_0x28e5ed,_0x6621a7)=>{const _0x30b8ef=_0x47f190,_0x4edfa7=_0x30b8ef(0x1c2)==_0x3eb3dd[_0x6621a7][_0x30b8ef(0x164)];if(_0x30b8ef(0x13f)==_0x28e5ed[_0x30b8ef(0x19f)]){const _0x48883b=_0x28e5ed[_0x30b8ef(0x15f)][_0x30b8ef(0x1df)];!this[_0x30b8ef(0x193)][_0x30b8ef(0x1c0)](_0x48883b)&&(this[_0x30b8ef(0x193)][_0x30b8ef(0x161)](_0x30b8ef(0x146),_0x48883b)[_0x30b8ef(0xf2)]=!0x1);}const _0x294bc2=_0x26ea2a[_0x30b8ef(0x12f)](_0x28e5ed,this[_0x30b8ef(0x193)]);return _0x294bc2[_0x30b8ef(0x134)]=_0x28e5ed[_0x30b8ef(0x134)],_0x294bc2[_0x30b8ef(0x178)]=_0x4edfa7,_0x294bc2[_0x30b8ef(0x166)]=_0x4edfa7?null:_0x3eb3dd[_0x6621a7][_0x30b8ef(0x19e)],_0x294bc2[_0x30b8ef(0x1dd)]=_0x30b8ef(0x1bc)===_0x3eb3dd[_0x6621a7][_0x30b8ef(0x164)],_0x294bc2[_0x30b8ef(0x115)]=_0x3eb3dd[_0x6621a7][_0x30b8ef(0x115)],_0x294bc2;});}[_0x57cebd(0x1d8)](){const _0x45b0a1=_0x57cebd;this[_0x45b0a1(0x137)]=!0x0,this[_0x45b0a1(0x127)]()?this[_0x45b0a1(0xf8)]():this[_0x45b0a1(0x137)]=!0x1;}[_0x57cebd(0x127)](){const _0x2c4c5f=_0x57cebd,_0x356b56=this[_0x2c4c5f(0x199)][_0x2c4c5f(0x111)][_0x2c4c5f(0x1a7)](_0x1bfd62)[_0x2c4c5f(0x1d1)][_0x2c4c5f(0x1a7)](this[_0x2c4c5f(0x16a)]);return!this[_0x2c4c5f(0x199)][_0x2c4c5f(0x126)]&&!!_0x356b56&&_0x356b56[_0x2c4c5f(0x16d)]>0x1&&this[_0x2c4c5f(0x137)];}[_0x57cebd(0x151)](){const _0x3a59fb=_0x57cebd;return this[_0x3a59fb(0x18f)][_0x3a59fb(0x16d)]>0x0||this[_0x3a59fb(0x127)]();}}export default l;class Q extends Error{}function X(_0x2c69df,_0x41903c){const _0x504b90=_0x57cebd;for(const _0x436930 of _0x2c69df)_0x436930[_0x504b90(0x148)]=_0x41903c++;}class Y{[_0x57cebd(0x150)];[_0x57cebd(0x12e)];constructor(_0x2dfa24){const _0x8f8b12=_0x57cebd;this[_0x8f8b12(0x150)]=_0x2dfa24,this[_0x8f8b12(0x12e)]=new WeakMap();}[_0x57cebd(0x14c)](_0x491690){const _0x2edfe1=_0x57cebd;let _0x3a661d=_0x491690[_0x2edfe1(0x16d)];for(;_0x3a661d--;){const _0x221d5f=_0x491690[_0x3a661d];if(!this[_0x2edfe1(0x150)][_0x2edfe1(0x1f4)](_0x221d5f)){if(!this[_0x2edfe1(0x12e)][_0x2edfe1(0x1f4)](_0x221d5f)){const _0x1b3611=_0x29d06f()[_0x2edfe1(0x131)](0x1,0x12);this[_0x2edfe1(0x12e)][_0x2edfe1(0x1c8)](_0x221d5f,_0x1b3611);}return this[_0x2edfe1(0x12e)][_0x2edfe1(0x1a7)](_0x221d5f);}}}[_0x57cebd(0x1be)](_0x5e0bf8,_0x2474da){const _0x57c1a6=_0x57cebd;if(!_0x2474da)return;let _0x2c405c=_0x5e0bf8[_0x57c1a6(0x16d)];for(;_0x2c405c--;){const _0x145b33=_0x5e0bf8[_0x2c405c];this[_0x57c1a6(0x150)][_0x57c1a6(0x1f4)](_0x145b33)||this[_0x57c1a6(0x12e)][_0x57c1a6(0x1c8)](_0x145b33,_0x2474da);}}}
|
|
23
|
+
const _0x235b71=_0x39f4;(function(_0x37cdb6,_0x4836a1){const _0xf34fa3=_0x39f4,_0x436ead=_0x37cdb6();while(!![]){try{const _0x1bf6f6=-parseInt(_0xf34fa3(0xc6))/0x1*(-parseInt(_0xf34fa3(0x132))/0x2)+-parseInt(_0xf34fa3(0x14c))/0x3+parseInt(_0xf34fa3(0xa7))/0x4+-parseInt(_0xf34fa3(0x199))/0x5+-parseInt(_0xf34fa3(0xe0))/0x6*(parseInt(_0xf34fa3(0xaa))/0x7)+-parseInt(_0xf34fa3(0x161))/0x8+parseInt(_0xf34fa3(0x17c))/0x9*(parseInt(_0xf34fa3(0x181))/0xa);if(_0x1bf6f6===_0x4836a1)break;else _0x436ead['push'](_0x436ead['shift']());}catch(_0x282c1c){_0x436ead['push'](_0x436ead['shift']());}}}(_0x3790,0xd9b66));import{Plugin as _0x5ab25f,PendingActions as _0x202f01}from'ckeditor5/src/core.js';import{CKEditorError as _0x33c97c,version as _0x46977e,uid as _0x30b3c5}from'ckeditor5/src/utils.js';import{Notification as _0x22e141}from'ckeditor5/src/ui.js';import{transformSets as _0x35d48a,NoOperation as _0x5e4b0,InsertOperation as _0x734641,MarkerOperation as _0x4e94ae,RootAttributeOperation as _0x229d52,OperationFactory as _0x525359,History as _0x31591b}from'ckeditor5/src/engine.js';import _0x1250eb from'./websocketgateway.js';import _0x31ac59 from'./sessions.js';function _0x3790(){const _0x5a09c9=['_bufferedOperations','serverHistory','lastDocumentSession','_sendBufferedOperations','requires','_hasSelectionChanged','_handleServerResponse','InsertOperation','getDocumentDetails','toJSON','_fetchMissingUsers','_handleSendingSelectionMarkers','plugins','createUserMarkerOperations','targetPosition','fromJSON','from','error','getUser','addRoot','move','_clearPendingAction','change:range','_isConnected','_baseBufferDelay','lastOperationId','destroy','setIdForTheLastOperation','262rgJGll','multi-root-editor-root-attributes-no-root','_offset','connection','affectsData','set','locale','setPermissions','addOperation','mySessionId','has','_getAffectedRoot','rootsAttributes','slice','permissions','_handleReceivedOperations','roots','_handleReconnectionError','createdAt','insert','end','_channelId','startsWith','rtc-destroyed','connect','data','534045hvReRU','channelSessions','_setPendingAction','_waitUntilSynced','PENDING_ACTION_SENDING_DATA','catch','init','_lastSyncedOperationId','newRange','_service','realtimecollaborationclient-sendbufferedoperations','getMany','reset','bind','sessionId','_disconnectionOperations','$root','reconnection:\x20flushed\x20session','realtimecollaborationclient-init-service-internal-error','_sendBufferedOperationsDelayed','state','5033448eZNFjE','baseVersion','wereChangesApplied','_pendingAction','finally','disconnected','getConnectedSessions','isOfficialPlugin','cloudDocumentVersion','start','Synchronization\x20issue','rtc-offline','realtimecollaborationclient-init-connection-failed','showWarning','_isDisconnection','real-time-collaboration','getOperationAuthor','unregister','_handleReconnectionResponse','disconnect','disableReadOnlyMode','isUndoneOperation','cloudServices.bundleVersion','createPositionAt','createRoot','code','userId','36ykZeTX','_lastServerVersion','_isLoaded','string','keys','4187550rIHKAS','_operationIdentifier','_document','stopListening','connected','version','sendOperations','add','document:write','_currentBufferDelay','_getOperationsFromInitData','realtimecollaborationclient-init-document-already-initialized','type','remove','CollaborativeEditingService','getIdOfTheLastOperation','_sendBufferedOperationsDelayId','change:hasDomSelection','off','_operationToId','history','apply','editor','collaboration','3671400OKgBIY','cloud-services-internal-error:\x20Not\x20connected.','isReadOnly','_crash','getRoot','directChange','selection','_shouldSendUpdate','change:_isPendingUpdate','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','initData','attributes','_decompressOperations','push','_saveOperationInBuffer','isPremiumPlugin','_addKnownRoot','listenTo','compress','_updateServerHistory','2172860LEBzPy','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.','position','2401553lEMsqf','addUser','message','define','getOperations','cs:removeUser','lastSyncVersion','_handleInitialConnectionData','wasUndone','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','isEnabled','includes','round','applyOperation','clone','enableReadOnlyMode','Permissions','_initThrowingOnDataSet','409','realtimecollaborationclient-handleserverresponse','removeFromReconnectionStack','loadRoot','rootName','model','root','parse','_setUpDataInit','_authorId','6879oLbOau','pluginName','_knownOperations','_compressOperations','collaboration.channelId','realtimecollaborationclient-error','filter','size','editing','_bufferRootLoad','_shouldSendSelectionUpdate','realtimecollaborationclient-init-service-incorrect-server-operation','createPositionFromPath','suppressErrorInCollaboration','currentDocumentSession','markers','404','CommentsOnly','ready','Notification','document','_ignoredOperations','_connectAfterSessionHasBeenFlushed','marker','addRootAttribute','__className','12UToXxu','cloud-services-internal-error:\x20Request\x20timeout.','_applyOperationsSet','entries','batch','collaboration-missing-channelid','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.','addToReconnectionStack','_isEditingAllowed','then','affectedSelectable','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','_hasSynchronizationProblem','_knownRootNames','fire','_disconnectService','RealTimeCollaborationClient','map','length','realtimecollaborationclient-init-non-existent-root','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enqueueChange','metadata','get','_compressor','operationsReceived','lastOperationAcceptedAt','decompress','realtimecollaborationclient-init-session-connection-error','_isInit','high','_handleExternalOperations','reconnect','differ','forEach','change:_isEditingAllowed','_connectService','offset','register','_isPendingUpdate','path','_isAttached','sessionCreatedAt','createRange','return','sessionAdd:','view','stop','_initSessionsHandling','realtimecollaborationclient','isDocumentOperation','_loadRoot','config','_refreshUserSelectionMarkers'];_0x3790=function(){return _0x5a09c9;};return _0x3790();}function _0x39f4(_0x403db0,_0x4131cc){const _0x3790c8=_0x3790();return _0x39f4=function(_0x39f45f,_0x210ff8){_0x39f45f=_0x39f45f-0x96;let _0x448b61=_0x3790c8[_0x39f45f];return _0x448b61;},_0x39f4(_0x403db0,_0x4131cc);}import _0x5d8e95 from'./usermarkers.js';import{getTranslation as _0x332736}from'../common-translations.js';import{Compressor as _0x45f44}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2bb777}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x16e951,CollaborativeEditingService as _0x46e3f2}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x5ab25f{static [_0x235b71(0x18f)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x46e3f2)());[_0x235b71(0x134)];[_0x235b71(0x15a)];[_0x235b71(0x117)];[_0x235b71(0x147)];[_0x235b71(0x155)];[_0x235b71(0x183)];[_0x235b71(0xf8)];[_0x235b71(0x116)];[_0x235b71(0xc8)];[_0x235b71(0xed)];[_0x235b71(0x164)];[_0x235b71(0x11b)];[_0x235b71(0x191)];[_0x235b71(0x12e)];[_0x235b71(0x18a)];[_0x235b71(0x153)];[_0x235b71(0x15b)];[_0x235b71(0x182)];static get[_0x235b71(0x11a)](){return[_0x1250eb,_0x31ac59,_0x5d8e95,_0x202f01,_0x2bb777,_0x22e141];}static get[_0x235b71(0xc7)](){const _0x22feff=_0x235b71;return _0x22feff(0xf0);}static get[_0x235b71(0x168)](){return!0x0;}static get[_0x235b71(0xa2)](){return!0x0;}get[_0x235b71(0x169)](){const _0xd8fed3=_0x235b71;return this[_0xd8fed3(0x17d)]+this[_0xd8fed3(0x134)];}get[_0x235b71(0x17d)](){const _0x45fa23=_0x235b71;return this[_0x45fa23(0x117)][_0x45fa23(0x186)]-this[_0x45fa23(0x134)];}get[_0x235b71(0xb0)](){const _0x36354a=_0x235b71,_0x1c9e2a=this[_0x36354a(0x117)][_0x36354a(0xae)]();for(let _0x19bc4f=_0x1c9e2a[_0x36354a(0xf2)]-0x1;_0x19bc4f>=0x0;_0x19bc4f--){const _0x3f4f8f=_0x1c9e2a[_0x19bc4f];if(!this[_0x36354a(0x15b)][_0x36354a(0x13c)](_0x3f4f8f))return _0x3f4f8f[_0x36354a(0x162)]+0x1-this[_0x36354a(0x134)];}return 0x0;}constructor(_0x405cbb){const _0x1f61fb=_0x235b71;if(super(_0x405cbb),this[_0x1f61fb(0x134)]=0x0,this[_0x1f61fb(0x15a)]=null,this[_0x1f61fb(0x117)]=new _0x31591b(),this[_0x1f61fb(0x197)][_0x1f61fb(0x114)][_0x1f61fb(0xad)](_0x1f61fb(0x198),{}),this[_0x1f61fb(0x147)]=this[_0x1f61fb(0x197)][_0x1f61fb(0x114)][_0x1f61fb(0xf7)](_0x1f61fb(0xca)),!this[_0x1f61fb(0x147)])throw new _0x33c97c(_0x1f61fb(0xe5),this);const _0x417b5c=_0x405cbb[_0x1f61fb(0x114)][_0x1f61fb(0xf7)](_0x1f61fb(0x177))||_0x46977e;this[_0x1f61fb(0x155)]=new l[(_0x1f61fb(0x18f))](_0x417b5c,this[_0x1f61fb(0x147)]),this[_0x1f61fb(0x183)]=this[_0x1f61fb(0x197)][_0x1f61fb(0xc1)][_0x1f61fb(0xda)],this[_0x1f61fb(0xf8)]=new _0x45f44(),this[_0x1f61fb(0x116)]=[],this[_0x1f61fb(0xc8)]=new WeakSet(),this[_0x1f61fb(0xed)]=new Set(),this[_0x1f61fb(0x137)](_0x1f61fb(0x107),!0x1),this[_0x1f61fb(0x137)](_0x1f61fb(0xec),!0x1),this[_0x1f61fb(0x164)]=null,this[_0x1f61fb(0x11b)]=!0x1,this[_0x1f61fb(0x191)]=null,this[_0x1f61fb(0x12e)]=0x12c,this[_0x1f61fb(0x18a)]=this[_0x1f61fb(0x12e)],this[_0x1f61fb(0x153)]=null,this[_0x1f61fb(0x15b)]=new WeakSet(),this[_0x1f61fb(0x182)]=new Y(this[_0x1f61fb(0x15b)]);}[_0x235b71(0x152)](){const _0x300659=_0x235b71,_0x368101=this[_0x300659(0x197)],_0x379f1f=_0x368101[_0x300659(0x122)][_0x300659(0xf7)](_0x2bb777),_0x3b80b5=_0x368101[_0x300659(0x122)][_0x300659(0xf7)](_0x1250eb);this[_0x300659(0xa4)](_0x379f1f,_0x300659(0x171),(_0x2e15a9,_0x53aded)=>{const _0x61794f=_0x300659,_0x43911e=_0x53aded[0x0];_0x43911e[_0x61794f(0xc5)]&&(_0x2e15a9[_0x61794f(0x10c)]=_0x379f1f[_0x61794f(0x128)](_0x43911e[_0x61794f(0xc5)]),_0x2e15a9[_0x61794f(0x10f)]()),null===_0x43911e[_0x61794f(0xc5)]&&(_0x2e15a9[_0x61794f(0x10c)]=null,_0x2e15a9[_0x61794f(0x10f)]());},{'priority':_0x300659(0xfe)}),this[_0x300659(0xa4)](_0x368101[_0x300659(0xc1)][_0x300659(0xda)][_0x300659(0x99)],_0x300659(0x12c),(_0x53c2d6,_0xa5d40b)=>{const _0x405209=_0x300659;_0xa5d40b[_0x405209(0x98)]&&this[_0x405209(0x115)]();}),this[_0x300659(0xa4)](_0x368101[_0x300659(0xce)][_0x300659(0x10e)],_0x300659(0x192),()=>{const _0x3aba40=_0x300659;this[_0x3aba40(0x115)]();}),this[_0x300659(0xbb)](),_0x368101[_0x300659(0xc1)]['on'](_0x300659(0xb7),(_0x5b3f68,_0x1d936b)=>{const _0x5bfe1a=_0x300659,_0x270b15=_0x1d936b[0x0];_0x270b15[_0x5bfe1a(0x112)]&&(this[_0x5bfe1a(0xa1)](_0x270b15),this[_0x5bfe1a(0x9a)]()&&this[_0x5bfe1a(0x15f)]());}),this[_0x300659(0xc4)](),this[_0x300659(0x159)](_0x300659(0xe8))['to'](_0x3b80b5,_0x300659(0x160),this,_0x300659(0xec),(_0x3b2581,_0x5bca09)=>_0x300659(0x185)===_0x3b2581&&!_0x5bca09),this['on'](_0x300659(0x103),()=>{const _0x1f18d7=_0x300659;this[_0x1f18d7(0xe8)]?_0x368101[_0x1f18d7(0x175)](_0x1f18d7(0x16c)):_0x368101[_0x1f18d7(0xb9)](_0x1f18d7(0x16c));}),this[_0x300659(0xe8)]?_0x368101[_0x300659(0x175)](_0x300659(0x16c)):_0x368101[_0x300659(0xb9)](_0x300659(0x16c)),this[_0x300659(0x137)](_0x300659(0x12d),!0x1);}async[_0x235b71(0x100)](){const _0x5db0b0=_0x235b71,_0x4bda8d=this[_0x5db0b0(0x197)][_0x5db0b0(0x122)][_0x5db0b0(0xf7)](_0x31ac59),_0x90ed47=this[_0x5db0b0(0x197)][_0x5db0b0(0x122)][_0x5db0b0(0xf7)](_0x1250eb);try{this[_0x5db0b0(0x107)]=!0x0,_0x4bda8d[_0x5db0b0(0x172)](this[_0x5db0b0(0x147)]);const _0x1435ec=await this[_0x5db0b0(0x155)][_0x5db0b0(0x100)](_0x90ed47[_0x5db0b0(0x135)],this[_0x5db0b0(0xb0)]);await this[_0x5db0b0(0x173)](_0x1435ec)&&(this[_0x5db0b0(0x107)]=!0x1,this[_0x5db0b0(0x12b)]());const _0x164afd=await this[_0x5db0b0(0x155)][_0x5db0b0(0x167)]();_0x4bda8d[_0x5db0b0(0x106)](this[_0x5db0b0(0x147)],_0x164afd),this[_0x5db0b0(0x121)](),this[_0x5db0b0(0x12d)]=!0x0;}catch(_0x1db6bf){if(function(_0x52d342){const _0x464c9e=_0x5db0b0;return _0x464c9e(0xd6)===_0x52d342[_0x464c9e(0x17a)];}(_0x1db6bf)&&this[_0x5db0b0(0x15a)])await this[_0x5db0b0(0xdc)]();else{if(function(_0x14a904){const _0x140bf2=_0x5db0b0;return _0x140bf2(0xbc)===_0x14a904[_0x140bf2(0x17a)];}(_0x1db6bf)){const _0x26869c=_0x332736(this[_0x5db0b0(0x197)][_0x5db0b0(0x138)],_0x5db0b0(0xf4));this[_0x5db0b0(0x143)](_0x26869c);}else{if(!(_0x1db6bf instanceof Q))throw _0x1db6bf;this[_0x5db0b0(0x143)]();}}}}[_0x235b71(0x130)](){const _0x4e2a86=_0x235b71,_0x435f65=this[_0x4e2a86(0x197)][_0x4e2a86(0x122)][_0x4e2a86(0xf7)](_0x1250eb),_0x46a787=this[_0x4e2a86(0x197)][_0x4e2a86(0x122)][_0x4e2a86(0xf7)](_0x31ac59);this[_0x4e2a86(0x197)][_0x4e2a86(0xb9)](_0x4e2a86(0x149)),_0x46a787[_0x4e2a86(0x14d)][_0x4e2a86(0x13c)](this[_0x4e2a86(0x147)])&&_0x46a787[_0x4e2a86(0x172)](this[_0x4e2a86(0x147)]),_0x435f65[_0x4e2a86(0xbe)](this),this[_0x4e2a86(0xef)](),super[_0x4e2a86(0x130)]();}async[_0x235b71(0x173)](_0xc52e61){const _0x3b7862=_0x235b71;if(this[_0x3b7862(0x15a)]!==_0xc52e61[_0x3b7862(0x15a)]&&this[_0x3b7862(0x153)]!==_0xc52e61[_0x3b7862(0x12f)])throw new Q();return this[_0x3b7862(0x15a)]=_0xc52e61[_0x3b7862(0x15a)],this[_0x3b7862(0x11c)]([],{..._0xc52e61,'wereChangesApplied':!0x1,'data':_0xc52e61[_0x3b7862(0x14b)]},_0x3b7862(0x100));}async[_0x235b71(0x104)](_0x1f5b52,_0x137d9e=!0x1){const _0x3ba4cb=_0x235b71,{connection:_0x3ad018}=this[_0x3ba4cb(0x197)][_0x3ba4cb(0x122)][_0x3ba4cb(0xf7)](_0x1250eb);l[_0x3ba4cb(0x18f)][_0x3ba4cb(0x167)](_0x3ad018,this[_0x3ba4cb(0x147)])[_0x3ba4cb(0xe9)](_0x57a2ff=>this[_0x3ba4cb(0x110)](_0x57a2ff))[_0x3ba4cb(0x151)](_0xa6ee10=>{const _0x59c9cc=_0x3ba4cb;this[_0x59c9cc(0x96)](_0x59c9cc(0xfc),_0xa6ee10);}),this[_0x3ba4cb(0xa4)](this[_0x3ba4cb(0x155)],_0x3ba4cb(0xf9),this[_0x3ba4cb(0x141)][_0x3ba4cb(0x159)](this)),this[_0x3ba4cb(0xa4)](this[_0x3ba4cb(0x155)],_0x3ba4cb(0x127),(_0xb26fe9,_0x1da4ef)=>{const _0x35b206=_0x3ba4cb;this[_0x35b206(0x96)](_0x35b206(0x15e),_0x1da4ef);}),this[_0x3ba4cb(0xa4)](this[_0x3ba4cb(0x155)],_0x3ba4cb(0x166),()=>{const _0x47cb0d=_0x3ba4cb;this[_0x47cb0d(0x12d)]=!0x1;});const _0xfb8c96=this[_0x3ba4cb(0x182)][_0x3ba4cb(0x190)](_0x1f5b52);this[_0x3ba4cb(0x107)]=!0x0;const _0x24d671=await this[_0x3ba4cb(0x155)][_0x3ba4cb(0x14a)](_0x3ad018,this[_0x3ba4cb(0xc9)](_0x1f5b52),_0xfb8c96);if(this[_0x3ba4cb(0x15a)]=_0x24d671[_0x3ba4cb(0x15a)],_0x137d9e){if(!_0x24d671[_0x3ba4cb(0x163)])return void this[_0x3ba4cb(0x143)]();this[_0x3ba4cb(0x107)]=!0x1,this[_0x3ba4cb(0x12b)](),this[_0x3ba4cb(0x117)][_0x3ba4cb(0x158)](),this[_0x3ba4cb(0x134)]=_0x24d671[_0x3ba4cb(0x105)],this[_0x3ba4cb(0x117)][_0x3ba4cb(0x186)]=this[_0x3ba4cb(0x134)],await this[_0x3ba4cb(0x11c)](_0x1f5b52,_0x24d671,_0x3ba4cb(0x15d));}else await this[_0x3ba4cb(0xb1)](_0x24d671,_0x1f5b52);this[_0x3ba4cb(0x121)](),this[_0x3ba4cb(0x12d)]=!0x0;}[_0x235b71(0x121)](){const _0x48679b=_0x235b71,_0x578caa=this[_0x48679b(0x197)][_0x48679b(0x122)][_0x48679b(0xf7)](_0x31ac59),_0x471881=this[_0x48679b(0x197)][_0x48679b(0x122)][_0x48679b(0xf7)](_0x5d8e95),_0x5bcdf1=_0x578caa[_0x48679b(0x14d)][_0x48679b(0xf7)](this[_0x48679b(0x147)]);_0x5bcdf1&&_0x5bcdf1[_0x48679b(0xf2)]>0x1?_0x471881[_0x48679b(0x123)]():this[_0x48679b(0xa4)](_0x578caa,_0x48679b(0x10d)+this[_0x48679b(0x147)],()=>{const _0x5d7e8e=_0x48679b;0x2===_0x578caa[_0x5d7e8e(0x14d)][_0x5d7e8e(0xf7)](this[_0x5d7e8e(0x147)])[_0x5d7e8e(0xf2)]&&_0x471881[_0x5d7e8e(0x123)]();});}async[_0x235b71(0x141)](_0x8d5c29,_0xfb51b7,_0x4dc4bf,_0x468fb6){const _0xed925=_0x235b71;if(!this[_0xed925(0x107)]&&this[_0xed925(0x183)][_0xed925(0x186)]==_0xfb51b7){const _0x27ba8b=this[_0xed925(0x9f)](_0x4dc4bf,_0x468fb6);await this[_0xed925(0x120)](_0x27ba8b),this[_0xed925(0xff)](_0x27ba8b,_0xfb51b7,_0x4dc4bf[_0xed925(0x12f)])||this[_0xed925(0x96)](_0xed925(0xd1));}}async[_0x235b71(0xdc)](){const _0xf15146=_0x235b71;this[_0xf15146(0xef)]();const {locale:_0x2616df}=this[_0xf15146(0x197)];let _0x1f0475;try{_0x1f0475=await this[_0xf15146(0x155)][_0xf15146(0x11e)]();}catch{const _0xa9be3e=_0x332736(_0x2616df,_0xf15146(0x9c));return void this[_0xf15146(0x143)](_0xa9be3e);}const _0x1a9939=_0x1f0475[_0xf15146(0xd4)]||_0x1f0475[_0xf15146(0x118)];if(this[_0xf15146(0x153)]===_0x1a9939[_0xf15146(0x12f)])await this[_0xf15146(0x104)](this[_0xf15146(0x197)][_0xf15146(0xc1)][_0xf15146(0xda)][_0xf15146(0x195)][_0xf15146(0xae)](),!0x0);else{const _0x559e93=_0x332736(_0x2616df,_0xf15146(0xa8));this[_0xf15146(0x143)](_0x559e93);}}[_0x235b71(0xef)](){const _0x1e5ee1=_0x235b71;this[_0x1e5ee1(0x155)][_0x1e5ee1(0x174)](),this[_0x1e5ee1(0x116)]=[],clearTimeout(this[_0x1e5ee1(0x191)]),this[_0x1e5ee1(0x184)](this[_0x1e5ee1(0x155)]);}[_0x235b71(0x110)](_0x46e178){const _0xcc1597=_0x235b71,_0x461f91=this[_0xcc1597(0x197)][_0xcc1597(0x122)][_0xcc1597(0xf7)](_0x31ac59);this[_0xcc1597(0xa4)](_0x461f91,_0xcc1597(0x10d)+this[_0xcc1597(0x147)],(_0x4ccc86,{session:_0xc00a90})=>{const _0x2c808f=_0xcc1597;if(_0xc00a90['id']===_0x461f91[_0x2c808f(0x13b)]){_0x4ccc86[_0x2c808f(0x193)]();const _0x5cb98f=this[_0x2c808f(0x197)][_0x2c808f(0x122)][_0x2c808f(0x13c)](_0x2c808f(0xd7))&&this[_0x2c808f(0x197)][_0x2c808f(0x122)][_0x2c808f(0xf7)](_0x2c808f(0xd7));let _0x20394a=_0xc00a90[_0x2c808f(0x140)];_0x5cb98f&&_0x5cb98f[_0x2c808f(0xb4)]&&(_0x20394a=_0x20394a[_0x2c808f(0xcc)](_0x57f7e8=>_0x2c808f(0x189)!==_0x57f7e8)),this[_0x2c808f(0x197)][_0x2c808f(0x122)][_0x2c808f(0xf7)](_0x2c808f(0xba))[_0x2c808f(0x139)](_0x20394a,this[_0x2c808f(0x147)]);}}),_0x461f91[_0xcc1597(0x106)](this[_0xcc1597(0x147)],_0x46e178);}[_0x235b71(0xbb)](){const _0x49c9fb=_0x235b71,_0x5c27c9=this[_0x49c9fb(0x197)][_0x49c9fb(0x14b)][_0x49c9fb(0x137)];this[_0x49c9fb(0x197)][_0x49c9fb(0x14b)][_0x49c9fb(0x137)]=(..._0x4ce851)=>{const _0x4d7d6a=_0x49c9fb;if(!_0x4ce851[_0x4ce851[_0x4d7d6a(0xf2)]-0x1][_0x4d7d6a(0xd3)])throw new _0x33c97c(_0x4d7d6a(0xb3),this);_0x5c27c9[_0x4d7d6a(0x196)](this[_0x4d7d6a(0x197)][_0x4d7d6a(0x14b)],_0x4ce851);};}[_0x235b71(0xc4)](){const _0x1fd937=_0x235b71;this[_0x1fd937(0x197)][_0x1fd937(0x14b)]['on'](_0x1fd937(0x152),(_0x4b813e,[_0x25ca1a])=>{const _0x24d7dd=_0x1fd937;if(this[_0x24d7dd(0x183)][_0x24d7dd(0x186)])throw new _0x33c97c(_0x24d7dd(0x18c),this);_0x4b813e[_0x24d7dd(0x10f)](),this[_0x24d7dd(0x14e)]();const _0xee1b11=this[_0x24d7dd(0x197)][_0x24d7dd(0x114)][_0x24d7dd(0xf7)](_0x24d7dd(0x13e)),_0x40360a=this[_0x24d7dd(0x18b)](_0x25ca1a,_0xee1b11);0x0==_0x40360a[_0x24d7dd(0xf2)]&&_0x40360a[_0x24d7dd(0xa0)](new _0x5e4b0(0x0)),_0x4b813e[_0x24d7dd(0x10c)]=this[_0x24d7dd(0x104)](_0x40360a)[_0x24d7dd(0xe9)](()=>{const _0x319978=_0x24d7dd;this[_0x319978(0x197)][_0x319978(0x122)][_0x319978(0xf7)](_0x1250eb)[_0x319978(0xe7)](this),this[_0x319978(0x197)][_0x319978(0x14b)][_0x319978(0xee)](_0x319978(0xd8));})[_0x24d7dd(0x151)](_0x3c2b59=>this[_0x24d7dd(0x96)](_0x24d7dd(0x16d),_0x3c2b59))[_0x24d7dd(0x165)](()=>this[_0x24d7dd(0x12b)]());},{'priority':_0x1fd937(0xfe)}),this[_0x1fd937(0x197)]['on'](_0x1fd937(0xbf),async(_0xbc2687,[_0x283fa4,_0x3dc243])=>{const _0x500d67=_0x1fd937;_0xbc2687[_0x500d67(0x10f)]();const _0x1f4eae=this[_0x500d67(0x197)][_0x500d67(0xc1)][_0x500d67(0xda)][_0x500d67(0x97)](_0x283fa4);if(!this[_0x500d67(0xed)][_0x500d67(0x13c)](_0x283fa4)){const _0x32d1e5=_0x3dc243&&_0x3dc243[_0x500d67(0x14b)]?_0x3dc243[_0x500d67(0x14b)]:'',_0x4b4f5f=_0x3dc243&&_0x3dc243[_0x500d67(0x9e)]?_0x3dc243[_0x500d67(0x9e)]:{};await this[_0x500d67(0x113)](_0x283fa4,_0x32d1e5,_0x4b4f5f);}this[_0x500d67(0x197)][_0x500d67(0xc1)][_0x500d67(0xf5)]({'isUndoable':!0x1},()=>{const _0x28f382=_0x500d67;_0x1f4eae[_0x28f382(0x17e)]=!0x0,this[_0x28f382(0x197)][_0x28f382(0xc1)][_0x28f382(0xda)][_0x28f382(0x101)][_0x28f382(0xcf)](_0x1f4eae);});},{'priority':_0x1fd937(0xfe)});}async[_0x235b71(0x120)](_0x33b3d4){const _0x224b47=_0x235b71,_0x2d7b83=this[_0x224b47(0x197)][_0x224b47(0x122)][_0x224b47(0xf7)](_0x2bb777),{connection:_0x785645}=this[_0x224b47(0x197)][_0x224b47(0x122)][_0x224b47(0xf7)](_0x1250eb),_0x82cb9a=new Set();for(const _0x2800f1 of _0x33b3d4){const _0x268c31=_0x2800f1[_0x224b47(0xc5)];_0x268c31&&!_0x2d7b83[_0x224b47(0x128)](_0x268c31)&&_0x82cb9a[_0x224b47(0x188)](_0x268c31);}if(0x0===_0x82cb9a[_0x224b47(0xcd)])return;const _0x4d10dc=await _0x16e951[_0x224b47(0x157)](_0x785645,Array[_0x224b47(0x126)](_0x82cb9a));for(const _0x3b3b0b of _0x4d10dc)_0x2d7b83[_0x224b47(0x128)](_0x3b3b0b['id'])||_0x2d7b83[_0x224b47(0xab)](_0x3b3b0b);}[_0x235b71(0x18b)](_0x46ad76,_0x246851={}){const _0x339aad=_0x235b71,_0xf2accf=this[_0x339aad(0x197)][_0x339aad(0xc1)],_0x2a2548=[];let _0x22c751=0x0;const _0x2492c7=_0x339aad(0x17f)==typeof _0x46ad76?{'main':_0x46ad76}:_0x46ad76;for(const _0x2d3e62 of Object[_0x339aad(0x180)](_0x2492c7)){if(!this[_0x339aad(0x183)][_0x339aad(0x142)][_0x339aad(0x13c)](_0x2d3e62))throw new _0x33c97c(_0x339aad(0xf3),this);const _0x5bfd20=this[_0x339aad(0x197)][_0x339aad(0x14b)][_0x339aad(0xc3)](_0x2492c7[_0x2d3e62]),_0x53b688=this[_0x339aad(0x183)][_0x339aad(0x97)](_0x2d3e62),_0x40bc62=new _0x734641(_0xf2accf[_0x339aad(0x178)](_0x53b688,0x0),_0x5bfd20,_0x22c751++);_0x2a2548[_0x339aad(0xa0)](_0x40bc62);for(const [_0x3cb90c,_0x3e5279]of _0x5bfd20[_0x339aad(0xd5)]){const _0xaf9e26=_0xf2accf[_0x339aad(0x10b)](_0xf2accf[_0x339aad(0xd2)](_0x53b688,_0x3e5279[_0x339aad(0x16a)][_0x339aad(0x108)][_0x339aad(0x13f)]()),_0xf2accf[_0x339aad(0xd2)](_0x53b688,_0x3e5279[_0x339aad(0x146)][_0x339aad(0x108)][_0x339aad(0x13f)]())),_0x450f4d=new _0x4e94ae(_0x3cb90c,null,_0xaf9e26,_0xf2accf[_0x339aad(0xd5)],!0x0,_0x22c751++);_0x2a2548[_0x339aad(0xa0)](_0x450f4d);}}if(_0x246851)for(const [_0x142bdb,_0x592924]of Object[_0x339aad(0xe3)](_0x246851)){const _0xda897f=_0xf2accf[_0x339aad(0xda)][_0x339aad(0x97)](_0x142bdb);if(!_0xda897f)throw new _0x33c97c(_0x339aad(0x133),null);for(const [_0x4d0a47,_0x1082fc]of Object[_0x339aad(0xe3)](_0x592924))if(null!==_0x1082fc){const _0x10e705=new _0x229d52(_0xda897f,_0x4d0a47,null,_0x1082fc,_0x22c751++);_0x2a2548[_0x339aad(0xa0)](_0x10e705);}}return _0x2a2548;}async[_0x235b71(0x113)](_0x5337ba,_0x2cd26b,_0x4bc307){const _0x8842ca=_0x235b71;this[_0x8842ca(0x18b)]({[_0x5337ba]:_0x2cd26b},{[_0x5337ba]:_0x4bc307})[_0x8842ca(0x102)]((_0xe11a6f,_0x52de30)=>{const _0x34a777=_0x8842ca;_0xe11a6f[_0x34a777(0x162)]=this[_0x34a777(0x183)][_0x34a777(0x186)]+_0x52de30,_0xe11a6f[_0x34a777(0xfd)]=!0x0,this[_0x34a777(0xa1)](_0xe11a6f);}),this[_0x8842ca(0x15f)](),await this[_0x8842ca(0x14f)]();}async[_0x235b71(0xb1)](_0x58585f,_0x6495a4){const _0x46d50f=_0x235b71;let _0x3fb242;this[_0x46d50f(0x134)]=_0x58585f[_0x46d50f(0x105)];const _0x58208e=_0x58585f[_0x46d50f(0x163)]&&!_0x58585f[_0x46d50f(0x9d)],_0x9cd4ea=_0x58208e?0x0:_0x58585f[_0x46d50f(0x14b)][_0x46d50f(0x162)];if(_0x6495a4[_0x46d50f(0x102)](_0x105196=>{const _0x450ab3=_0x46d50f;_0x105196[_0x450ab3(0xfd)]=!0x0,_0x105196[_0x450ab3(0x144)]=_0x58585f[_0x450ab3(0x10a)],_0x105196[_0x450ab3(0xc5)]=null;}),_0x58208e)_0x3fb242=_0x6495a4,this[_0x46d50f(0xe2)](_0x3fb242,_0x58208e);else{if(_0x58585f[_0x46d50f(0x9d)]){const _0x4c6d84=this[_0x46d50f(0x18b)](_0x58585f[_0x46d50f(0x9d)]);this[_0x46d50f(0x183)][_0x46d50f(0x195)][_0x46d50f(0x186)]=-_0x4c6d84[_0x46d50f(0xf2)],_0x4c6d84[_0x46d50f(0x102)](_0xc1f774=>{const _0x2875c3=_0x46d50f;_0xc1f774[_0x2875c3(0x162)]-=_0x4c6d84[_0x2875c3(0xf2)],_0xc1f774[_0x2875c3(0x144)]=_0x58585f[_0x2875c3(0x10a)],_0xc1f774[_0x2875c3(0xfd)]=!0x0,_0xc1f774[_0x2875c3(0xc5)]=null;}),this[_0x46d50f(0xe2)](_0x4c6d84,!0x0),this[_0x46d50f(0x117)][_0x46d50f(0x186)]=-_0x4c6d84[_0x46d50f(0xf2)]+this[_0x46d50f(0x134)],this[_0x46d50f(0xa6)](_0x4c6d84);}this[_0x46d50f(0x183)][_0x46d50f(0x195)][_0x46d50f(0x186)]=_0x9cd4ea,_0x3fb242=this[_0x46d50f(0x9f)](_0x58585f[_0x46d50f(0x14b)],_0x58585f[_0x46d50f(0xf6)]),await this[_0x46d50f(0x120)](_0x3fb242),this[_0x46d50f(0xe2)](_0x3fb242,_0x58208e);}_0x58585f[_0x46d50f(0x12f)]&&(this[_0x46d50f(0x182)][_0x46d50f(0x131)](_0x3fb242,_0x58585f[_0x46d50f(0x12f)]),this[_0x46d50f(0x153)]=_0x58585f[_0x46d50f(0x12f)]),this[_0x46d50f(0x117)][_0x46d50f(0x186)]=_0x9cd4ea+this[_0x46d50f(0x134)],this[_0x46d50f(0xa6)](_0x3fb242),_0x6495a4[_0x46d50f(0xcc)](_0x1b827b=>{const _0x196c8c=_0x46d50f,_0x16141c=this[_0x196c8c(0x13d)](_0x1b827b);return _0x16141c&&!this[_0x196c8c(0xed)][_0x196c8c(0x13c)](_0x16141c);})[_0x46d50f(0x102)]((_0x58627a,_0x19d6f5)=>{const _0x5b1610=_0x46d50f;_0x58627a[_0x5b1610(0x162)]=this[_0x5b1610(0x183)][_0x5b1610(0x186)]+_0x19d6f5,this[_0x5b1610(0xa1)](_0x58627a);}),this[_0x46d50f(0x9a)]()?(this[_0x46d50f(0x18a)]=0x0,this[_0x46d50f(0x15f)](!0x0),await this[_0x46d50f(0x14f)]()):(this[_0x46d50f(0x107)]=!0x1,this[_0x46d50f(0x12b)]());}[_0x235b71(0x96)](_0xb12820,_0x47fbfa){const _0x2e5eee=_0x235b71,_0x2f0496=_0x47fbfa&&_0x47fbfa[_0x2e5eee(0xac)];if(_0x2f0496&&_0x2f0496[_0x2e5eee(0x148)](_0x2e5eee(0x111)))throw _0x47fbfa;const _0x583804=this[_0x2e5eee(0x197)][_0x2e5eee(0x122)][_0x2e5eee(0xf7)](_0x1250eb);throw this[_0x2e5eee(0x107)]=!0x0,_0x583804[_0x2e5eee(0x174)](),this[_0x2e5eee(0x197)][_0x2e5eee(0xb9)](_0x2e5eee(0xcb)),new _0x33c97c(_0xb12820,this[_0x2e5eee(0x197)],_0x2f0496?{'originalError':_0x2f0496}:void 0x0);}[_0x235b71(0xa1)](_0x3feaa0){const _0x2da43=_0x235b71;this[_0x2da43(0xc8)][_0x2da43(0x13c)](_0x3feaa0)||(this[_0x2da43(0xc8)][_0x2da43(0x188)](_0x3feaa0),this[_0x2da43(0x116)][_0x2da43(0xa0)](_0x3feaa0),this[_0x2da43(0x164)]||_0x2da43(0xdd)==_0x3feaa0[_0x2da43(0x18d)]&&!_0x3feaa0[_0x2da43(0x136)]||this[_0x2da43(0x14e)]());}[_0x235b71(0x15f)](_0x293f18=!0x1){const _0x3f3a3d=_0x235b71;!_0x293f18&&this[_0x3f3a3d(0x107)]||(this[_0x3f3a3d(0x107)]=!0x0,clearTimeout(this[_0x3f3a3d(0x191)]),this[_0x3f3a3d(0x191)]=setTimeout(()=>{const _0x372f07=_0x3f3a3d;this[_0x372f07(0x119)]()[_0x372f07(0xe9)](_0x3a2ff4=>{const _0x51f94f=_0x372f07;_0x3a2ff4&&(this[_0x51f94f(0x12b)](),this[_0x51f94f(0x107)]=!0x1);})[_0x372f07(0x151)](_0xada7ef=>{const _0x3a8d14=_0x372f07;this[_0x3a8d14(0x12b)](),this[_0x3a8d14(0x107)]=!0x1,function(_0x48ae35){const _0x37d681=_0x3a8d14;return _0x48ae35[_0x37d681(0xac)][_0x37d681(0x148)](_0x37d681(0x19a))||_0x48ae35[_0x37d681(0xac)][_0x37d681(0x148)](_0x37d681(0xeb))||_0x48ae35[_0x37d681(0xac)][_0x37d681(0x148)](_0x37d681(0xe1));}(_0xada7ef)||this[_0x3a8d14(0x96)](_0xada7ef[_0x3a8d14(0xac)],_0xada7ef);});},this[_0x3f3a3d(0x18a)]));}[_0x235b71(0x14f)](){return new Promise(_0x6a5792=>{const _0x226a8a=_0x39f4;this['on'](_0x226a8a(0x9b),()=>{_0x6a5792();});});}async[_0x235b71(0x119)](){const _0x2b44bd=_0x235b71,_0x4c943b=this[_0x2b44bd(0x197)][_0x2b44bd(0x122)][_0x2b44bd(0xf7)](_0x5d8e95);if(this[_0x2b44bd(0xd0)]()&&(_0x4c943b[_0x2b44bd(0x123)](),this[_0x2b44bd(0x11b)]=!0x1),!this[_0x2b44bd(0x9a)]())return!0x0;const _0xb19e68=[...this[_0x2b44bd(0x116)]];for(const _0x186870 of _0xb19e68)_0x186870[_0x2b44bd(0xb2)]=this[_0x2b44bd(0x183)][_0x2b44bd(0x195)][_0x2b44bd(0x176)](_0x186870);const _0x1f378b=this[_0x2b44bd(0x182)][_0x2b44bd(0x190)](_0xb19e68),_0x2ec513=J++,_0x411dc4=this[_0x2b44bd(0xc9)](_0xb19e68),_0x2e309a=await this[_0x2b44bd(0x155)][_0x2b44bd(0x187)](_0x411dc4,_0x411dc4[_0x2b44bd(0x162)],_0x1f378b);try{return await this[_0x2b44bd(0x11c)](_0xb19e68,_0x2e309a,_0x2ec513);}catch(_0x344665){return this[_0x2b44bd(0x96)](_0x2b44bd(0x156),_0x344665);}}async[_0x235b71(0x11c)](_0x5b473b,_0x5165f5,_0x99855f){const _0x34c693=_0x235b71;if(_0x34c693(0x127)in _0x5165f5)throw _0x5165f5[_0x34c693(0x127)];let _0x535449=!0x1;if(_0x5165f5[_0x34c693(0x163)]){_0x5165f5[_0x34c693(0x12f)]&&(this[_0x34c693(0x153)]=_0x5165f5[_0x34c693(0x12f)]),this[_0x34c693(0x116)]=this[_0x34c693(0x116)][_0x34c693(0xcc)](_0x2e557b=>!_0x5b473b[_0x34c693(0xb5)](_0x2e557b));for(const _0x4ce541 of _0x5b473b)_0x4ce541[_0x34c693(0x144)]=_0x34c693(0xfa)in _0x5165f5&&_0x5165f5[_0x34c693(0xfa)]||void 0x0;X(_0x5b473b,_0x5165f5[_0x34c693(0x186)]-_0x5b473b[_0x34c693(0xf2)]),this[_0x34c693(0xa6)](_0x5b473b);const _0x23a24c=_0x5b473b[_0x34c693(0xcc)](_0x3b87e0=>{const _0x5056b8=_0x34c693;if(!_0x3b87e0[_0x5056b8(0xfd)])return!0x1;const _0x3f9633=this[_0x5056b8(0x13d)](_0x3b87e0);return _0x3f9633&&!this[_0x5056b8(0xed)][_0x5056b8(0x13c)](_0x3f9633);});X(_0x23a24c,this[_0x34c693(0x183)][_0x34c693(0x186)]),this[_0x34c693(0xe2)](_0x23a24c),_0x535449=!0x0,this[_0x34c693(0x18a)]=this[_0x34c693(0x12e)];}else{const _0xc632f5=this[_0x34c693(0x9f)](_0x5165f5[_0x34c693(0x14b)],_0x5165f5[_0x34c693(0xf6)])[_0x34c693(0xcc)](_0x3ffdf7=>_0x3ffdf7[_0x34c693(0x162)]>=this[_0x34c693(0x17d)]);_0xc632f5[_0x34c693(0x102)](_0x23241e=>this[_0x34c693(0xa3)](_0x23241e)),this[_0x34c693(0x116)]=this[_0x34c693(0x116)][_0x34c693(0xcc)](_0x2e7add=>!_0x2e7add[_0x34c693(0xfd)]||!this[_0x34c693(0xed)][_0x34c693(0x13c)](this[_0x34c693(0x13d)](_0x2e7add))),this[_0x34c693(0x116)][_0x34c693(0xf2)]&&X(this[_0x34c693(0x116)],this[_0x34c693(0x116)][0x0][_0x34c693(0x162)]),await this[_0x34c693(0x120)](_0xc632f5),_0x535449=this[_0x34c693(0xff)](_0xc632f5,_0x5165f5[_0x34c693(0x186)],_0x5165f5[_0x34c693(0x12f)]),this[_0x34c693(0x18a)]=Math[_0x34c693(0xb6)](this[_0x34c693(0x18a)]/0x2);}return _0x535449?!this[_0x34c693(0x9a)]()||(this[_0x34c693(0x15f)](!0x0),!0x1):this[_0x34c693(0x96)](_0x34c693(0xbd));}[_0x235b71(0xff)](_0x7fd114,_0x37346f,_0x45931e){const _0x78f123=_0x235b71;try{const _0x5c7bdf={'document':this[_0x78f123(0x183)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x52921d,operationsB:_0x1a4daf,originalOperations:_0x275085}=_0x35d48a(_0x7fd114,this[_0x78f123(0x116)],_0x5c7bdf);X(_0x52921d,this[_0x78f123(0x183)][_0x78f123(0x186)]),X(_0x1a4daf,_0x37346f);for(const _0xab84a7 of _0x52921d){const _0x2f87d4=_0x275085[_0x78f123(0xf7)](_0xab84a7);_0xab84a7[_0x78f123(0xc5)]=_0x2f87d4?_0x2f87d4[_0x78f123(0xc5)]:null;}_0x45931e&&(this[_0x78f123(0x182)][_0x78f123(0x131)](_0x7fd114,_0x45931e),this[_0x78f123(0x153)]=_0x45931e),this[_0x78f123(0x116)]=[..._0x1a4daf],this[_0x78f123(0xe2)](_0x52921d),this[_0x78f123(0xa6)](_0x7fd114);}catch(_0xdd99cf){return console[_0x78f123(0x127)](_0xdd99cf),!0x1;}return!0x0;}[_0x235b71(0xe2)](_0x2adf26,_0x2ce935=!0x1){const _0xd9fcb8=_0x235b71;this[_0xd9fcb8(0x197)][_0xd9fcb8(0xc1)][_0xd9fcb8(0xf5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x681e22=>{const _0x27f896=_0xd9fcb8;for(const _0x55da1d of _0x2adf26)this[_0x27f896(0xc8)][_0x27f896(0x188)](_0x55da1d),this[_0x27f896(0xa3)](_0x55da1d),_0x681e22[_0x27f896(0xe4)][_0x27f896(0x13a)](_0x55da1d),this[_0x27f896(0x197)][_0x27f896(0xc1)][_0x27f896(0xb7)](_0x55da1d);});}[_0x235b71(0xa3)](_0x249b6c){const _0x36df69=_0x235b71,_0xd7ed6d=this[_0x36df69(0x13d)](_0x249b6c);_0xd7ed6d&&this[_0x36df69(0xed)][_0x36df69(0x188)](_0xd7ed6d);}[_0x235b71(0x13d)](_0x487d47){const _0x2e62a1=_0x235b71;let _0x22bebd,_0x36585f;switch(_0x487d47[_0x2e62a1(0x18d)]){case _0x2e62a1(0x145):_0x22bebd=_0x487d47[_0x2e62a1(0xa9)][_0x2e62a1(0xc2)];break;case _0x2e62a1(0xdd):if(_0x36585f=_0x487d47[_0x2e62a1(0x154)],!_0x36585f)return null;_0x22bebd=_0x36585f[_0x2e62a1(0xc2)];break;case _0x2e62a1(0xde):_0x22bebd=_0x487d47[_0x2e62a1(0xc2)];break;case _0x2e62a1(0x129):_0x22bebd=_0x487d47[_0x2e62a1(0xea)];break;case _0x2e62a1(0x12a):_0x22bebd=_0x487d47[_0x2e62a1(0x124)][_0x2e62a1(0xc2)];break;default:return null;}return _0x22bebd[_0x2e62a1(0xc0)];}[_0x235b71(0xa6)](_0x22d946){const _0x326bb2=_0x235b71;_0x22d946[_0x326bb2(0x102)](_0x405a94=>{const _0x34aa96=_0x326bb2,_0xa995cb=_0x405a94[_0x34aa96(0xb8)]();_0xa995cb[_0x34aa96(0xc5)]=_0x405a94[_0x34aa96(0xc5)],_0xa995cb[_0x34aa96(0xfd)]=!!_0x405a94[_0x34aa96(0xfd)],_0xa995cb[_0x34aa96(0x144)]=_0x405a94[_0x34aa96(0x144)],_0xa995cb[_0x34aa96(0x162)]+=this[_0x34aa96(0x134)],_0x405a94[_0x34aa96(0x16f)]&&this[_0x34aa96(0x15b)][_0x34aa96(0x188)](_0xa995cb),this[_0x34aa96(0x117)][_0x34aa96(0x13a)](_0xa995cb);});}[_0x235b71(0x143)](_0x5d564c){const _0x2f76da=_0x235b71,_0x40fa6c=this[_0x2f76da(0x197)][_0x2f76da(0x122)][_0x2f76da(0xf7)](_0x2f76da(0xd9)),_0x1978c4=this[_0x2f76da(0x197)][_0x2f76da(0x138)];_0x5d564c||(_0x5d564c=_0x332736(_0x1978c4,_0x2f76da(0xe6))),_0x40fa6c[_0x2f76da(0x16e)](_0x5d564c,{'title':_0x332736(_0x1978c4,_0x2f76da(0x16b)),'namespace':_0x2f76da(0x170)}),this[_0x2f76da(0xec)]=!0x0,clearTimeout(this[_0x2f76da(0x191)]),this[_0x2f76da(0x116)]=[],this[_0x2f76da(0x197)][_0x2f76da(0x122)][_0x2f76da(0xf7)](_0x1250eb)[_0x2f76da(0x174)]();}[_0x235b71(0x14e)](){const _0x43c4b8=_0x235b71;this[_0x43c4b8(0x164)]||(this[_0x43c4b8(0x164)]=this[_0x43c4b8(0x197)][_0x43c4b8(0x122)][_0x43c4b8(0xf7)](_0x202f01)[_0x43c4b8(0x188)](_0x332736(this[_0x43c4b8(0x197)][_0x43c4b8(0x138)],_0x43c4b8(0x150))));}[_0x235b71(0x12b)](){const _0xcd570b=_0x235b71;this[_0xcd570b(0x164)]&&(this[_0xcd570b(0x197)][_0xcd570b(0x122)][_0xcd570b(0xf7)](_0x202f01)[_0xcd570b(0x18e)](this[_0xcd570b(0x164)]),this[_0xcd570b(0x164)]=null);}[_0x235b71(0xc9)](_0x35db2d){const _0x598286=_0x235b71,_0x12ee36=_0x35db2d[_0x598286(0xf1)](_0x563d5f=>_0x563d5f[_0x598286(0x11f)]());return this[_0x598286(0xf8)][_0x598286(0xa5)](_0x12ee36);}[_0x235b71(0x9f)](_0x10fd9c,_0x2079b5){const _0x18b351=_0x235b71;return this[_0x18b351(0xf8)][_0x18b351(0xfb)](_0x10fd9c)[_0x18b351(0xf1)]((_0x14caab,_0x50c817)=>{const _0x1662c1=_0x18b351,_0x166a75=_0x1662c1(0x152)==_0x2079b5[_0x50c817][_0x1662c1(0x18d)];if(_0x1662c1(0x11d)==_0x14caab[_0x1662c1(0xdf)]){const _0xd66bf8=_0x14caab[_0x1662c1(0xa9)][_0x1662c1(0xc2)];!this[_0x1662c1(0x183)][_0x1662c1(0x97)](_0xd66bf8)&&(this[_0x1662c1(0x183)][_0x1662c1(0x179)](_0x1662c1(0x15c),_0xd66bf8)[_0x1662c1(0x109)]=!0x1);}const _0x446fd1=_0x525359[_0x1662c1(0x125)](_0x14caab,this[_0x1662c1(0x183)]);return _0x446fd1[_0x1662c1(0xb2)]=_0x14caab[_0x1662c1(0xb2)],_0x446fd1[_0x1662c1(0xfd)]=_0x166a75,_0x446fd1[_0x1662c1(0xc5)]=_0x166a75?null:_0x2079b5[_0x50c817][_0x1662c1(0x17b)],_0x446fd1[_0x1662c1(0x16f)]=_0x1662c1(0xaf)===_0x2079b5[_0x50c817][_0x1662c1(0x18d)],_0x446fd1[_0x1662c1(0x144)]=_0x2079b5[_0x50c817][_0x1662c1(0x144)],_0x446fd1;});}[_0x235b71(0x115)](){const _0x5e1480=_0x235b71;this[_0x5e1480(0x11b)]=!0x0,this[_0x5e1480(0xd0)]()?this[_0x5e1480(0x15f)]():this[_0x5e1480(0x11b)]=!0x1;}[_0x235b71(0xd0)](){const _0x414912=_0x235b71,_0x56a6eb=this[_0x414912(0x197)][_0x414912(0x122)][_0x414912(0xf7)](_0x31ac59)[_0x414912(0x14d)][_0x414912(0xf7)](this[_0x414912(0x147)]);return!this[_0x414912(0x197)][_0x414912(0x19b)]&&!!_0x56a6eb&&_0x56a6eb[_0x414912(0xf2)]>0x1&&this[_0x414912(0x11b)];}[_0x235b71(0x9a)](){const _0x13c47f=_0x235b71;return this[_0x13c47f(0x116)][_0x13c47f(0xf2)]>0x0||this[_0x13c47f(0xd0)]();}}export default l;class Q extends Error{}function X(_0x191fa7,_0x28e66f){const _0x4dbab2=_0x235b71;for(const _0x2ee88a of _0x191fa7)_0x2ee88a[_0x4dbab2(0x162)]=_0x28e66f++;}class Y{[_0x235b71(0xdb)];[_0x235b71(0x194)];constructor(_0x233f47){const _0x101d55=_0x235b71;this[_0x101d55(0xdb)]=_0x233f47,this[_0x101d55(0x194)]=new WeakMap();}[_0x235b71(0x190)](_0x20663c){const _0x34dea8=_0x235b71;let _0x62df61=_0x20663c[_0x34dea8(0xf2)];for(;_0x62df61--;){const _0x2e58e1=_0x20663c[_0x62df61];if(!this[_0x34dea8(0xdb)][_0x34dea8(0x13c)](_0x2e58e1)){if(!this[_0x34dea8(0x194)][_0x34dea8(0x13c)](_0x2e58e1)){const _0x25d78a=_0x30b3c5()[_0x34dea8(0x13f)](0x1,0x12);this[_0x34dea8(0x194)][_0x34dea8(0x137)](_0x2e58e1,_0x25d78a);}return this[_0x34dea8(0x194)][_0x34dea8(0xf7)](_0x2e58e1);}}}[_0x235b71(0x131)](_0xb89c8b,_0x488c18){const _0x47912f=_0x235b71;if(!_0x488c18)return;let _0x4541c6=_0xb89c8b[_0x47912f(0xf2)];for(;_0x4541c6--;){const _0x152b5f=_0xb89c8b[_0x4541c6];this[_0x47912f(0xdb)][_0x47912f(0x13c)](_0x152b5f)||this[_0x47912f(0x194)][_0x47912f(0x137)](_0x152b5f,_0x488c18);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x5826af=_0x2eea;function _0x2eea(_0x1ad825,_0x241df4){const _0x6b8096=_0x6b80();return _0x2eea=function(_0x2eea37,_0xb6cb8b){_0x2eea37=_0x2eea37-0x1b6;let _0x51f548=_0x6b8096[_0x2eea37];return _0x51f548;},_0x2eea(_0x1ad825,_0x241df4);}(function(_0x29a835,_0x541991){const _0x187306=_0x2eea,_0x2f8840=_0x29a835();while(!![]){try{const _0x35e676=-parseInt(_0x187306(0x1e1))/0x1+-parseInt(_0x187306(0x1d5))/0x2+parseInt(_0x187306(0x1dd))/0x3*(parseInt(_0x187306(0x1e8))/0x4)+-parseInt(_0x187306(0x1e0))/0x5+-parseInt(_0x187306(0x1b8))/0x6*(-parseInt(_0x187306(0x1ef))/0x7)+parseInt(_0x187306(0x1c9))/0x8+-parseInt(_0x187306(0x1de))/0x9;if(_0x35e676===_0x541991)break;else _0x2f8840['push'](_0x2f8840['shift']());}catch(_0x23094c){_0x2f8840['push'](_0x2f8840['shift']());}}}(_0x6b80,0x57ea3));import{ContextPlugin as _0x1728e9}from'ckeditor5/src/core.js';import{Collection as _0x48bccb,CKEditorError as _0x3e25b1}from'ckeditor5/src/utils.js';function _0x6b80(){const _0x6c06cc=['register','channelSessions','sessions-register-already-registered','connected','fire','channelConnectedUsers','state','_users','forEach','getUser','role','3982504SlTnTZ','context','plugins','_handleSessionAdd','connection','_registeredSessions','allConnectedUsers','has','get','mySessionId','sessions-unregister-not-exist','unregister','970190AuOvMZ','sessionAdd:','_handleSessionRemove','getUserRole','addUser','_createUser','isOfficialPlugin','defineMe','2100633nhwDKC','1741581JjJfUu','values','640270FYdsQb','537254yVCadp','_uniqueUsersCount','listenTo','change:state','clear','stopListening','user','4xEviTD','remove','init','Sessions','assign','delete','pluginName','3541909kLKiQt','add','getUserSessions','sessionId','getUserBySessionId','set','6veJUaE','requires','isMe','size','orderNumber','isPremiumPlugin'];_0x6b80=function(){return _0x6c06cc;};return _0x6b80();}import _0x368e16 from'./websocketgateway.js';import{Users as _0x1bf505}from'ckeditor5-collaboration/src/collaboration-core.js';export default class i extends _0x1728e9{[_0x5826af(0x1bf)];[_0x5826af(0x1c3)];[_0x5826af(0x1cf)];[_0x5826af(0x1ce)];[_0x5826af(0x1e2)];[_0x5826af(0x1c5)];static get[_0x5826af(0x1ee)](){const _0x3d59cd=_0x5826af;return _0x3d59cd(0x1eb);}static get[_0x5826af(0x1db)](){return!0x0;}static get[_0x5826af(0x1bd)](){return!0x0;}static get[_0x5826af(0x1b9)](){return[_0x368e16,_0x1bf505];}constructor(_0x445930){const _0x2cfea2=_0x5826af;super(_0x445930),this[_0x2cfea2(0x1bf)]=new Map(),this[_0x2cfea2(0x1c3)]=new Map(),this[_0x2cfea2(0x1cf)]=new _0x48bccb(),this[_0x2cfea2(0x1ce)]=new Map(),this[_0x2cfea2(0x1e2)]=0x0,this[_0x2cfea2(0x1c5)]=this[_0x2cfea2(0x1ca)][_0x2cfea2(0x1cb)][_0x2cfea2(0x1d1)](_0x1bf505);}[_0x5826af(0x1ea)](){const _0x599fb6=_0x5826af,_0x3f04b2=this[_0x599fb6(0x1ca)][_0x599fb6(0x1cb)][_0x599fb6(0x1d1)](_0x368e16);this[_0x599fb6(0x1e3)](_0x3f04b2,_0x599fb6(0x1e4),(_0x32c3ee,_0xa79fbd,_0x47dd98)=>{const _0xc89598=_0x599fb6;if(_0xc89598(0x1c1)!==_0x47dd98)this[_0xc89598(0x1bf)][_0xc89598(0x1c6)](_0x1befb9=>_0x1befb9[_0xc89598(0x1e5)]()),this[_0xc89598(0x1c3)][_0xc89598(0x1c6)](_0xca8a6f=>_0xca8a6f[_0xc89598(0x1e5)]()),this[_0xc89598(0x1cf)][_0xc89598(0x1e5)]();else{for(const [_0x304305,_0x4b4433]of this[_0xc89598(0x1ce)])for(const _0xac61b1 of _0x4b4433)this[_0xc89598(0x1cc)](_0x304305,_0xac61b1);}}),this[_0x599fb6(0x1da)](_0x3f04b2[_0x599fb6(0x1cd)]['me'],!0x0);}[_0x5826af(0x1be)](_0x3eb31e,_0x1942f5){const _0x204011=_0x5826af;if(this[_0x204011(0x1ce)][_0x204011(0x1d0)](_0x3eb31e))throw new _0x3e25b1(_0x204011(0x1c0),null,{'channelId':_0x3eb31e});this[_0x204011(0x1ce)][_0x204011(0x1b7)](_0x3eb31e,_0x1942f5),this[_0x204011(0x1bf)][_0x204011(0x1b7)](_0x3eb31e,new _0x48bccb()),this[_0x204011(0x1c3)][_0x204011(0x1b7)](_0x3eb31e,new _0x48bccb()),this[_0x204011(0x1e3)](_0x1942f5,_0x204011(0x1f0),(_0x7636a,_0x1e7d52)=>this[_0x204011(0x1cc)](_0x3eb31e,_0x1e7d52)),this[_0x204011(0x1e3)](_0x1942f5,_0x204011(0x1e9),(_0x27df62,_0x2c5be9)=>this[_0x204011(0x1d7)](_0x3eb31e,_0x2c5be9));for(const _0x3066a0 of _0x1942f5)this[_0x204011(0x1cc)](_0x3eb31e,_0x3066a0);}[_0x5826af(0x1d4)](_0x3f62db){const _0x4acf9d=_0x5826af;if(!this[_0x4acf9d(0x1ce)][_0x4acf9d(0x1d0)](_0x3f62db))throw new _0x3e25b1(_0x4acf9d(0x1d3),null,{'channelId':_0x3f62db});const _0x4aa89d=this[_0x4acf9d(0x1ce)][_0x4acf9d(0x1d1)](_0x3f62db);this[_0x4acf9d(0x1e6)](_0x4aa89d);for(const _0xff6509 of _0x4aa89d)_0x4acf9d(0x1c1)===this[_0x4acf9d(0x1ca)][_0x4acf9d(0x1cb)][_0x4acf9d(0x1d1)](_0x368e16)[_0x4acf9d(0x1c4)]&&this[_0x4acf9d(0x1d7)](_0x3f62db,_0xff6509);this[_0x4acf9d(0x1ce)][_0x4acf9d(0x1ed)](_0x3f62db),this[_0x4acf9d(0x1bf)][_0x4acf9d(0x1ed)](_0x3f62db),this[_0x4acf9d(0x1c3)][_0x4acf9d(0x1ed)](_0x3f62db);}get[_0x5826af(0x1d2)](){const _0x3cc866=_0x5826af;return this[_0x3cc866(0x1ca)][_0x3cc866(0x1cb)][_0x3cc866(0x1d1)](_0x368e16)[_0x3cc866(0x1cd)][_0x3cc866(0x1f2)];}[_0x5826af(0x1b6)](_0x1a82df){const _0x307c24=_0x5826af;for(const _0x45c177 of this[_0x307c24(0x1bf)][_0x307c24(0x1df)]())for(const _0x56e32e of _0x45c177)if(_0x56e32e['id']===_0x1a82df)return _0x56e32e[_0x307c24(0x1e7)];}[_0x5826af(0x1f1)](_0xb35a6,_0x5c6544){const _0x3a65dd=_0x5826af,_0x33ddae=_0x5c6544?[this[_0x3a65dd(0x1bf)][_0x3a65dd(0x1d1)](_0x5c6544)]:this[_0x3a65dd(0x1bf)][_0x3a65dd(0x1df)](),_0x1a55c7=new Set();for(const _0x3645a4 of _0x33ddae)for(const _0x32d5d9 of _0x3645a4)_0x32d5d9[_0x3a65dd(0x1e7)]['id']===_0xb35a6['id']&&_0x1a55c7[_0x3a65dd(0x1f0)](_0x32d5d9['id']);return _0x1a55c7;}[_0x5826af(0x1d8)](_0x1ceacb){const _0x2399ac=_0x5826af;for(const _0x2de430 of this[_0x2399ac(0x1bf)][_0x2399ac(0x1df)]())for(const _0x2f01e6 of _0x2de430)if(_0x2f01e6[_0x2399ac(0x1e7)]===_0x1ceacb)return _0x2f01e6[_0x2399ac(0x1c8)];}[_0x5826af(0x1cc)](_0x46e0d9,_0x1ca78c){const _0x427f18=_0x5826af;if(_0x427f18(0x1c1)!==this[_0x427f18(0x1ca)][_0x427f18(0x1cb)][_0x427f18(0x1d1)](_0x368e16)[_0x427f18(0x1c4)])return;const _0x5f132c=_0x1ca78c[_0x427f18(0x1e7)],_0x2257f6=this[_0x427f18(0x1c5)][_0x427f18(0x1c7)](_0x5f132c['id'])||this[_0x427f18(0x1da)](_0x5f132c),_0x22a821=Object[_0x427f18(0x1ec)]({},_0x1ca78c,{'user':_0x2257f6});this[_0x427f18(0x1bf)][_0x427f18(0x1d1)](_0x46e0d9)[_0x427f18(0x1f0)](_0x22a821);const _0xa257db=this[_0x427f18(0x1c3)][_0x427f18(0x1d1)](_0x46e0d9);_0xa257db[_0x427f18(0x1d0)](_0x2257f6['id'])||_0xa257db[_0x427f18(0x1f0)](_0x2257f6),this[_0x427f18(0x1cf)][_0x427f18(0x1d0)](_0x2257f6['id'])||this[_0x427f18(0x1cf)][_0x427f18(0x1f0)](_0x2257f6,_0x2257f6[_0x427f18(0x1ba)]?0x0:void 0x0),this[_0x427f18(0x1c2)](_0x427f18(0x1d6)+_0x46e0d9,{'channelId':_0x46e0d9,'session':_0x22a821});}[_0x5826af(0x1d7)](_0x510cab,_0x4473cc){const _0x49bb1c=_0x5826af;if(_0x49bb1c(0x1c1)!==this[_0x49bb1c(0x1ca)][_0x49bb1c(0x1cb)][_0x49bb1c(0x1d1)](_0x368e16)[_0x49bb1c(0x1c4)])return;const _0x1f14a2=this[_0x49bb1c(0x1c3)][_0x49bb1c(0x1d1)](_0x510cab),_0x5c93d1=_0x4473cc[_0x49bb1c(0x1e7)];_0x5c93d1['id']&&(this[_0x49bb1c(0x1bf)][_0x49bb1c(0x1d1)](_0x510cab)[_0x49bb1c(0x1e9)](_0x4473cc['id']),_0x1f14a2[_0x49bb1c(0x1d0)](_0x5c93d1['id'])&&!this[_0x49bb1c(0x1f1)](_0x5c93d1,_0x510cab)[_0x49bb1c(0x1bb)]&&_0x1f14a2[_0x49bb1c(0x1e9)](_0x5c93d1['id']),this[_0x49bb1c(0x1cf)][_0x49bb1c(0x1d1)](_0x5c93d1['id'])&&!this[_0x49bb1c(0x1f1)](_0x5c93d1)[_0x49bb1c(0x1bb)]&&this[_0x49bb1c(0x1cf)][_0x49bb1c(0x1e9)](_0x5c93d1['id']));}[_0x5826af(0x1da)](_0x5ec31c,_0x39ac50){const _0xfe5486=_0x5826af,_0x484d24=this[_0xfe5486(0x1c5)][_0xfe5486(0x1d9)](_0x5ec31c);return _0x39ac50&&this[_0xfe5486(0x1c5)][_0xfe5486(0x1dc)](_0x5ec31c['id']),_0x484d24[_0xfe5486(0x1bc)]=this[_0xfe5486(0x1e2)]++,_0x484d24;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x387152=_0x4bf7;(function(_0x3e6f6f,_0x5d73bd){const _0x2bbf54=_0x4bf7,_0x3be60a=_0x3e6f6f();while(!![]){try{const _0x254f9d=parseInt(_0x2bbf54(0x1a1))/0x1*(-parseInt(_0x2bbf54(0x192))/0x2)+-parseInt(_0x2bbf54(0x1b7))/0x3+parseInt(_0x2bbf54(0x19a))/0x4+parseInt(_0x2bbf54(0x1ab))/0x5*(parseInt(_0x2bbf54(0x1c2))/0x6)+parseInt(_0x2bbf54(0x1e0))/0x7*(parseInt(_0x2bbf54(0x1fd))/0x8)+parseInt(_0x2bbf54(0x1e2))/0x9*(parseInt(_0x2bbf54(0x19b))/0xa)+-parseInt(_0x2bbf54(0x195))/0xb;if(_0x254f9d===_0x5d73bd)break;else _0x3be60a['push'](_0x3be60a['shift']());}catch(_0x2853eb){_0x3be60a['push'](_0x3be60a['shift']());}}}(_0x39ea,0xd955c));import{Plugin as _0x323489}from'ckeditor5/src/core.js';import{global as _0x3f99ab,DomEmitterMixin as _0x35fbe1}from'ckeditor5/src/utils.js';import _0x59466f from'./sessions.js';import{LiveRange as _0x57348d}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0x323489{[_0x387152(0x1de)]=new(_0x35fbe1())();static get[_0x387152(0x1e9)](){return[_0x59466f];}static get[_0x387152(0x187)](){const _0x491ee2=_0x387152;return _0x491ee2(0x196);}static get[_0x387152(0x1d9)](){return!0x0;}static get[_0x387152(0x203)](){return!0x0;}[_0x387152(0x20e)](){const _0x439c76=_0x387152,_0x2c48a0=this[_0x439c76(0x1ba)],_0x1da9fb=_0x2c48a0[_0x439c76(0x1c6)][_0x439c76(0x18f)](_0x59466f);_0x2c48a0[_0x439c76(0x1aa)][_0x439c76(0x1df)](_0x439c76(0x1c3))[_0x439c76(0x1b0)]({'model':_0x439c76(0x1cd),'view':(_0x51229a,{writer:_0x17d9c9})=>function(_0x9cfd42,_0x528380,_0x4d7d20,_0xc964b2){const _0x57e2a9=_0x439c76,_0x561ed4=_0x9cfd42[_0x57e2a9(0x1cf)][_0x57e2a9(0x190)](':')[0x2],_0x42734f=_0x4d7d20[_0x57e2a9(0x1a7)](_0x561ed4);if(!_0x42734f||_0x561ed4===_0x4d7d20[_0x57e2a9(0x1b9)])return;if(!_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1a8)][_0x57e2a9(0x1bc)](_0x9cfd42[_0x57e2a9(0x20b)][_0x57e2a9(0x1d6)],_0x57e2a9(0x1b2)))return;const _0x5ca55c={'class':_0x57e2a9(0x1d5)+_0x42734f[_0x57e2a9(0x207)][_0x57e2a9(0x211)](),'data-name':_0x42734f[_0x57e2a9(0x20d)],'data-session-id':_0x561ed4},_0xfd9f19=_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1f9)][_0x57e2a9(0x18f)](_0x9cfd42[_0x57e2a9(0x1cf)]),_0x538653=_0xfd9f19[_0x57e2a9(0x19f)](),_0x41473c=_0x538653[_0x57e2a9(0x20c)],_0xca2d4e=_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1a8)];if(_0x41473c&&_0xca2d4e[_0x57e2a9(0x1eb)](_0x41473c)&&_0xca2d4e[_0x57e2a9(0x1c7)](_0x41473c)&&!_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1f9)][_0x57e2a9(0x18f)](_0x57e2a9(0x1af)+_0x561ed4)[_0x57e2a9(0x20f)]()[_0x57e2a9(0x1fa)])return;const _0x11bea0=_0x538653[_0x57e2a9(0x1ad)];return _0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x1a8)][_0x57e2a9(0x1bb)](_0x11bea0)&&!_0xc964b2[_0x57e2a9(0x1f3)][_0x57e2a9(0x210)](_0x11bea0)&&(_0x5ca55c[_0x57e2a9(0x1bd)]=!0x1),function(_0x5bdb96,_0x27ab26,_0x1d2e39){const _0x5616ed=_0x57e2a9,_0x46caad=_0x5bdb96[_0x5616ed(0x1fe)](_0x5616ed(0x1c9),_0x27ab26);return _0x5bdb96[_0x5616ed(0x1ff)](_0x5616ed(0x1f1),!0x0,_0x46caad),_0x46caad[_0x5616ed(0x1c8)]=function(_0xb3452a){const _0x4f124b=_0x5616ed,_0x55e4d3=this[_0x4f124b(0x1d4)](_0xb3452a),_0x11f1af=document[_0x4f124b(0x1a4)](_0x4f124b(0x1c9));return _0x11f1af[_0x4f124b(0x1f8)][_0x4f124b(0x1fc)](_0x4f124b(0x201)),_0x11f1af[_0x4f124b(0x1db)](_0x4f124b(0x1bd),_0x4f124b(0x197)),_0x11f1af[_0x4f124b(0x1db)](_0x4f124b(0x1c1),_0x4f124b(0x197)),_0x11f1af[_0x4f124b(0x1ee)]=_0x1d2e39[_0x4f124b(0x20d)],_0x55e4d3[_0x4f124b(0x1c4)]=_0x4f124b(0x1e6)+_0x11f1af[_0x4f124b(0x199)]+'',_0x55e4d3[_0x4f124b(0x19c)](_0x4f124b(0x202),()=>{const _0x48a884=_0x4f124b;_0x55e4d3[_0x48a884(0x1f8)][_0x48a884(0x1fc)](_0x48a884(0x1ae));}),_0x55e4d3[_0x4f124b(0x19c)](_0x4f124b(0x205),()=>{const _0x2e7d22=_0x4f124b;_0x55e4d3[_0x2e7d22(0x1f8)][_0x2e7d22(0x1f5)](_0x2e7d22(0x1ae));}),_0x55e4d3;},_0x46caad[_0x5616ed(0x1b1)]=function(_0x43b812){const _0x1bedf1=_0x5616ed;return!(!this[_0x1bedf1(0x1a0)](_0x1bedf1(0x1f1))||!_0x43b812[_0x1bedf1(0x1a0)](_0x1bedf1(0x1f1))||this[_0x1bedf1(0x212)](_0x1bedf1(0x1e5))!=_0x43b812[_0x1bedf1(0x212)](_0x1bedf1(0x1e5)));},_0x46caad;}(_0x528380,_0x5ca55c,_0x42734f);}(_0x51229a,_0x17d9c9,_0x1da9fb,_0x2c48a0)}),_0x2c48a0[_0x439c76(0x1aa)][_0x439c76(0x1df)](_0x439c76(0x1c3))[_0x439c76(0x1b3)]({'model':_0x439c76(0x1e4),'view':_0x432aad=>function(_0x86da23,_0x42f5a5){const _0x13c015=_0x439c76,_0x796c0c=_0x86da23[_0x13c015(0x1cf)][_0x13c015(0x190)](':')[0x2];if(_0x796c0c===_0x42f5a5[_0x13c015(0x1b9)])return null;const _0x34b82b=_0x42f5a5[_0x13c015(0x1a7)](_0x796c0c);if(!_0x34b82b)return{'id':_0x796c0c,'classes':[]};return{'id':_0x796c0c,'classes':[_0x13c015(0x1fb),_0x34b82b[_0x13c015(0x207)][_0x13c015(0x1b8)]()],'attributes':{'data-session-id':_0x796c0c},'priority':0x7d0+_0x34b82b[_0x13c015(0x1dc)]};}(_0x432aad,_0x1da9fb)}),function(_0x4abb70){const _0x4d3109=_0x439c76,_0x3888da=_0x4abb70[_0x4d3109(0x1f3)],_0x189ce7=new Map(),_0x13c9e4=_0x4abb70[_0x4d3109(0x1c6)][_0x4d3109(0x18f)](_0x59466f);_0x3888da[_0x4d3109(0x1f9)]['on'](_0x4d3109(0x208),(_0x4fd51d,_0x1323e0,_0x5de24d,_0xe89f73)=>{const _0xb863ff=_0x4d3109;if(!_0xe89f73&&_0x189ce7[_0xb863ff(0x18f)](_0x1323e0[_0xb863ff(0x20d)]))return _0x189ce7[_0xb863ff(0x18f)](_0x1323e0[_0xb863ff(0x20d)])[_0xb863ff(0x1b5)](),void _0x189ce7[_0xb863ff(0x1a5)](_0x1323e0[_0xb863ff(0x20d)]);const _0x408c30=_0x1323e0[_0xb863ff(0x20d)][_0xb863ff(0x190)](':')[0x2];if(_0x408c30===_0x13c9e4[_0xb863ff(0x1b9)])return;const _0x176ff4=_0xb863ff(0x1ca)+_0x408c30;_0x3888da[_0xb863ff(0x1f9)][_0xb863ff(0x18a)](_0x176ff4)&&_0x4abb70[_0xb863ff(0x200)][_0xb863ff(0x1ec)](_0x176ff4),_0x1323e0['on'](_0xb863ff(0x1b6),(_0x3a75bd,_0x47ff79,_0x52c1e9)=>{const _0xefeda2=_0xb863ff;if(_0xefeda2(0x1c5)!=_0x47ff79[_0xefeda2(0x198)][_0xefeda2(0x18d)]&&_0xefeda2(0x1c5)==_0x1323e0[_0xefeda2(0x20f)]()[_0xefeda2(0x198)][_0xefeda2(0x18d)]&&!_0x189ce7[_0xefeda2(0x18a)](_0x1323e0[_0xefeda2(0x20d)])){const _0x492c42=_0x3888da[_0xefeda2(0x1a8)][_0xefeda2(0x209)](_0x52c1e9[_0xefeda2(0x1d2)]);if(_0x492c42){const _0x225152=_0x57348d[_0xefeda2(0x191)](_0x492c42);_0x189ce7[_0xefeda2(0x1cc)](_0x1323e0[_0xefeda2(0x20d)],_0x225152),_0x225152['on'](_0xefeda2(0x1b6),(_0x26d0e8,_0x155efe,_0x20c34f)=>{const _0x5587d6=_0xefeda2;if(_0x5587d6(0x1c5)==_0x225152[_0x5587d6(0x198)][_0x5587d6(0x18d)]){const _0x5369cb=_0x3888da[_0x5587d6(0x1a8)][_0x5587d6(0x209)](_0x20c34f[_0x5587d6(0x1d2)]);_0x5369cb?(_0x225152[_0x5587d6(0x1d6)]=_0x5369cb[_0x5587d6(0x1d6)],_0x225152[_0x5587d6(0x1dd)]=_0x5369cb[_0x5587d6(0x1dd)]):(_0x189ce7[_0x5587d6(0x1a5)](_0x1323e0[_0x5587d6(0x20d)]),_0x225152[_0x5587d6(0x1b5)]());}});}}});}),_0x3888da[_0x4d3109(0x1e3)]['on'](_0x4d3109(0x1ea),()=>{const _0x2a8e9e=_0x4d3109;_0x189ce7[_0x2a8e9e(0x1e8)]>0x0&&_0x3888da[_0x2a8e9e(0x1d0)]({'isUndoable':!0x1},_0x3c3fd9=>{const _0x39ae30=_0x2a8e9e;for(const [_0x14d672,_0x31def4]of _0x189ce7)_0x39ae30(0x1c5)==_0x3888da[_0x39ae30(0x1f9)][_0x39ae30(0x18f)](_0x14d672)[_0x39ae30(0x20f)]()[_0x39ae30(0x198)][_0x39ae30(0x18d)]&&(te(_0x14d672[_0x39ae30(0x190)](':')[0x2],_0x31def4[_0x39ae30(0x1ce)](),_0x3888da,_0x3c3fd9),_0x31def4[_0x39ae30(0x1b5)]());_0x189ce7[_0x39ae30(0x1f4)]();});});}(_0x2c48a0),this[_0x439c76(0x1de)][_0x439c76(0x18e)](_0x3f99ab[_0x439c76(0x1e3)],_0x439c76(0x1f2),(_0x5bea5e,{key:_0x48dcc3})=>{const _0xe0b3c5=_0x439c76;_0xe0b3c5(0x1a3)===_0x48dcc3&&function(_0x2b55fa){const _0x3b39af=_0xe0b3c5;_0x2b55fa[_0x3b39af(0x200)][_0x3b39af(0x1a2)][_0x3b39af(0x1ea)](_0x17a161=>{const _0x30380f=_0x3b39af;for(const _0x3be413 of _0x2b55fa[_0x30380f(0x1f3)][_0x30380f(0x1f9)]){if(!_0x3be413[_0x30380f(0x20d)][_0x30380f(0x1a9)](_0x30380f(0x1cd)))continue;const _0x14fd80=_0x2b55fa[_0x30380f(0x200)][_0x30380f(0x1f6)][_0x30380f(0x1d1)](_0x3be413[_0x30380f(0x20d)]);if(_0x14fd80){for(const _0x5392f8 of _0x14fd80)_0x17a161[_0x30380f(0x1f0)](_0x30380f(0x1ae),_0x5392f8);}}});}(_0x2c48a0);},{'useCapture':!0x0});}[_0x387152(0x1d7)](){const _0x15af41=_0x387152,_0x1a988b=this[_0x15af41(0x1ba)],_0x26f9b7=_0x1a988b[_0x15af41(0x18b)][_0x15af41(0x18f)](_0x15af41(0x1f7));_0x26f9b7&&_0x1a988b[_0x15af41(0x1f3)]['on'](_0x15af41(0x1be),(_0x2d2a91,_0x84e5e)=>{const _0xca4512=_0x15af41,_0x280d37=_0x84e5e[0x0];if(!_0x280d37[_0xca4512(0x19d)])return;if(_0xca4512(0x1d8)!=_0x280d37[_0xca4512(0x1ed)]||!_0x280d37[_0xca4512(0x20d)][_0xca4512(0x1a9)](_0xca4512(0x188)))return;const _0x32cb3b=_0x280d37[_0xca4512(0x1bf)];_0x26f9b7[_0xca4512(0x1da)][_0xca4512(0x18a)](_0x32cb3b)&&(_0x280d37[_0xca4512(0x1ac)]=_0x280d37[_0xca4512(0x18c)]?_0x1a988b[_0xca4512(0x1f3)][_0xca4512(0x194)](_0x280d37[_0xca4512(0x18c)][_0xca4512(0x1d6)],_0x280d37[_0xca4512(0x18c)][_0xca4512(0x1dd)]):null);},{'priority':_0x15af41(0x1c0)});}[_0x387152(0x1e1)](){const _0xcd062=_0x387152;return this[_0xcd062(0x1de)][_0xcd062(0x189)](),super[_0xcd062(0x1e1)]();}[_0x387152(0x20a)](){const _0x11f6c7=_0x387152,_0x36e5bd=this[_0x11f6c7(0x1ba)],_0x3e4725=_0x36e5bd[_0x11f6c7(0x1f3)][_0x11f6c7(0x1e3)],_0x5dac52=_0x36e5bd[_0x11f6c7(0x1c6)][_0x11f6c7(0x18f)](_0x59466f);_0x36e5bd[_0x11f6c7(0x1f3)][_0x11f6c7(0x1d0)]({'isUndoable':!0x1},_0x280388=>{const _0x1d1d8c=_0x11f6c7,_0x79694a=_0x1d1d8c(0x1af)+_0x5dac52[_0x1d1d8c(0x1b9)],_0x24b7d8=_0x1d1d8c(0x1ca)+_0x5dac52[_0x1d1d8c(0x1b9)],_0x4d1b06=_0x36e5bd[_0x1d1d8c(0x1f3)][_0x1d1d8c(0x1f9)][_0x1d1d8c(0x18a)](_0x79694a);_0x36e5bd[_0x1d1d8c(0x200)][_0x1d1d8c(0x1a2)][_0x1d1d8c(0x1cb)]?te(_0x5dac52[_0x1d1d8c(0x1b9)],_0x3e4725[_0x1d1d8c(0x204)][_0x1d1d8c(0x1ef)](),_0x36e5bd[_0x1d1d8c(0x1f3)],_0x280388):_0x4d1b06&&(_0x280388[_0x1d1d8c(0x1e7)](_0x79694a),_0x280388[_0x1d1d8c(0x1e7)](_0x24b7d8));});}}function _0x4bf7(_0xf9796b,_0x486ba3){const _0x39ea2d=_0x39ea();return _0x4bf7=function(_0x4bf726,_0x4cdaf7){_0x4bf726=_0x4bf726-0x187;let _0x6b958=_0x39ea2d[_0x4bf726];return _0x6b958;},_0x4bf7(_0xf9796b,_0x486ba3);}function _0x39ea(){const _0x324bc4=['commands','oldRange','rootName','listenTo','get','split','fromRange','4NzgtqV','tableCell','createRange','15755850mRKMBf','UserMarkers','false','root','outerHTML','6792276FOBHMf','23070FAHEuE','addEventListener','isDocumentOperation','getContainedElement','getStart','getCustomProperty','830279JOiHxW','view','Escape','createElement','delete','updateMarker','getUserBySessionId','schema','startsWith','conversion','815jbtVEu','newRange','parent','ck-user__marker_hovered','user:range:','markerToElement','isSimilar','$text','markerToHighlight','addMarker','detach','change:range','1886880TWrjyT','getSelectionClass','mySessionId','editor','isLimit','checkChild','contenteditable','applyOperation','batch','highest','spellcheck','38814tJgaXq','editingDowncast','innerHTML','$graveyard','plugins','isInline','render','span','user:position:','hasDomSelection','set','user:position','toRange','markerName','enqueueChange','markerNameToElements','deletionPosition','element','toDomElement','ck-user__marker\x20','start','afterInit','marker','isOfficialPlugin','_createdBatches','setAttribute','orderNumber','end','_domEmitter','for','1502655PALdnc','destroy','6417xfRnQn','document','user:range','data-session-id','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','removeMarker','size','requires','change','isObject','reconvertMarker','type','textContent','getFirstRange','removeClass','userPositionMarker','keydown','model','clear','remove','mapper','undo','classList','markers','isCollapsed','ck-user__selection','add','8MPsUyL','createUIElement','setCustomProperty','editing','ck-user__marker-tooltip','mouseenter','isPremiumPlugin','selection','mouseleave','getPositions','color','update:user:range','getNearestSelectionRange','createUserMarkerOperations','markerRange','nodeAfter','name','init','getRange','hasContent','getMarkerClass','getAttribute','pluginName','user:','stopListening','has'];_0x39ea=function(){return _0x324bc4;};return _0x39ea();}function te(_0x957380,_0xbe9d10,_0x322fe6,_0x4c2d08){const _0x14fafb=_0x387152,_0x49c9dc=_0x14fafb(0x1af)+_0x957380,_0x2a0a49=_0x14fafb(0x1ca)+_0x957380,_0x5c54da=_0xbe9d10[_0x14fafb(0x19e)]();let _0x38c864=_0xbe9d10[_0x14fafb(0x1d6)];if(_0x5c54da&&_0x5c54da['is'](_0x14fafb(0x1d3),_0x14fafb(0x193))){const _0x521bbf=function(_0x2941b8,_0x319b81){const _0x267069=_0x14fafb;for(const _0x151be6 of _0x2941b8[_0x267069(0x206)]())if(_0x319b81[_0x267069(0x1a8)][_0x267069(0x1bc)](_0x151be6,_0x267069(0x1b2)))return _0x151be6;}(_0xbe9d10,_0x322fe6);_0x521bbf&&(_0x38c864=_0x521bbf,_0xbe9d10=_0x4c2d08[_0x14fafb(0x194)](_0x38c864));}const _0x1c4578=_0x4c2d08[_0x14fafb(0x194)](_0x38c864);_0x322fe6[_0x14fafb(0x1f9)][_0x14fafb(0x18a)](_0x49c9dc)?(_0x4c2d08[_0x14fafb(0x1a6)](_0x49c9dc,{'range':_0xbe9d10}),_0x4c2d08[_0x14fafb(0x1a6)](_0x2a0a49,{'range':_0x1c4578})):(_0x4c2d08[_0x14fafb(0x1b4)](_0x49c9dc,{'range':_0xbe9d10,'usingOperation':!0x0}),_0x4c2d08[_0x14fafb(0x1b4)](_0x2a0a49,{'range':_0x1c4578,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x1ec62f=_0xb5c0;(function(_0x25d5eb,_0xcb4694){const _0xbdab2d=_0xb5c0,_0x28661=_0x25d5eb();while(!![]){try{const _0x2edba1=parseInt(_0xbdab2d(0x173))/0x1*(-parseInt(_0xbdab2d(0x160))/0x2)+-parseInt(_0xbdab2d(0x17a))/0x3+parseInt(_0xbdab2d(0x182))/0x4+parseInt(_0xbdab2d(0x127))/0x5*(parseInt(_0xbdab2d(0x144))/0x6)+-parseInt(_0xbdab2d(0x181))/0x7*(parseInt(_0xbdab2d(0x146))/0x8)+-parseInt(_0xbdab2d(0x151))/0x9+parseInt(_0xbdab2d(0x161))/0xa*(parseInt(_0xbdab2d(0x14e))/0xb);if(_0x2edba1===_0xcb4694)break;else _0x28661['push'](_0x28661['shift']());}catch(_0x22f312){_0x28661['push'](_0x28661['shift']());}}}(_0x6f2b,0xa6228));import{Plugin as _0xc20d0d}from'ckeditor5/src/core.js';import{global as _0xb31cc0,DomEmitterMixin as _0x235761}from'ckeditor5/src/utils.js';import _0x348c5e from'./sessions.js';import{LiveRange as _0x15dba8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0xc20d0d{[_0x1ec62f(0x165)]=new(_0x235761())();static get[_0x1ec62f(0x18d)](){return[_0x348c5e];}static get[_0x1ec62f(0x134)](){const _0x494d2d=_0x1ec62f;return _0x494d2d(0x143);}static get[_0x1ec62f(0x17c)](){return!0x0;}static get[_0x1ec62f(0x18b)](){return!0x0;}[_0x1ec62f(0x12c)](){const _0x42db4d=_0x1ec62f,_0x4cac4d=this[_0x42db4d(0x1a2)],_0x3a4d54=_0x4cac4d[_0x42db4d(0x15b)][_0x42db4d(0x125)](_0x348c5e);_0x4cac4d[_0x42db4d(0x159)][_0x42db4d(0x176)](_0x42db4d(0x12d))[_0x42db4d(0x1ab)]({'model':_0x42db4d(0x196),'view':(_0x26dd20,{writer:_0x568546})=>function(_0x15790b,_0xed06c1,_0x2a3696,_0x1735ac){const _0x43de20=_0x42db4d,_0x1bc72d=_0x15790b[_0x43de20(0x170)][_0x43de20(0x18e)](':')[0x2],_0x541f39=_0x2a3696[_0x43de20(0x12e)](_0x1bc72d);if(!_0x541f39||_0x1bc72d===_0x2a3696[_0x43de20(0x188)])return;if(!_0x1735ac[_0x43de20(0x162)][_0x43de20(0x164)][_0x43de20(0x1ae)](_0x15790b[_0x43de20(0x16f)][_0x43de20(0x16e)],_0x43de20(0x12f)))return;const _0x5bddc2={'class':_0x43de20(0x14b)+_0x541f39[_0x43de20(0x155)][_0x43de20(0x179)](),'data-name':_0x541f39[_0x43de20(0x16d)],'data-session-id':_0x1bc72d},_0x2b2da1=_0x1735ac[_0x43de20(0x162)][_0x43de20(0x136)][_0x43de20(0x125)](_0x15790b[_0x43de20(0x170)]),_0x201540=_0x2b2da1[_0x43de20(0x13a)](),_0x580d0e=_0x201540[_0x43de20(0x1a6)],_0x148eb6=_0x1735ac[_0x43de20(0x162)][_0x43de20(0x164)];if(_0x580d0e&&_0x148eb6[_0x43de20(0x14f)](_0x580d0e)&&_0x148eb6[_0x43de20(0x167)](_0x580d0e)&&!_0x1735ac[_0x43de20(0x162)][_0x43de20(0x136)][_0x43de20(0x125)](_0x43de20(0x156)+_0x1bc72d)[_0x43de20(0x15d)]()[_0x43de20(0x180)])return;const _0x59fd18=_0x201540[_0x43de20(0x130)];return _0x1735ac[_0x43de20(0x162)][_0x43de20(0x164)][_0x43de20(0x17f)](_0x59fd18)&&!_0x1735ac[_0x43de20(0x162)][_0x43de20(0x124)](_0x59fd18)&&(_0x5bddc2[_0x43de20(0x166)]=!0x1),function(_0x5d7d68,_0x140f95,_0x4bac21){const _0x53eb47=_0x43de20,_0x5547b6=_0x5d7d68[_0x53eb47(0x19e)](_0x53eb47(0x177),_0x140f95);return _0x5d7d68[_0x53eb47(0x129)](_0x53eb47(0x198),!0x0,_0x5547b6),_0x5547b6[_0x53eb47(0x16c)]=function(_0x12eeec){const _0x33c51b=_0x53eb47,_0x1a11a1=this[_0x33c51b(0x13f)](_0x12eeec),_0x4d9aaf=document[_0x33c51b(0x138)](_0x33c51b(0x177));return _0x4d9aaf[_0x33c51b(0x174)][_0x33c51b(0x16b)](_0x33c51b(0x137)),_0x4d9aaf[_0x33c51b(0x148)](_0x33c51b(0x166),_0x33c51b(0x187)),_0x4d9aaf[_0x33c51b(0x148)](_0x33c51b(0x1ac),_0x33c51b(0x187)),_0x4d9aaf[_0x33c51b(0x190)]=_0x4bac21[_0x33c51b(0x16d)],_0x1a11a1[_0x33c51b(0x12b)]=_0x33c51b(0x18c)+_0x4d9aaf[_0x33c51b(0x19c)]+'',_0x1a11a1[_0x33c51b(0x12a)](_0x33c51b(0x1aa),()=>{const _0x2eee9b=_0x33c51b;_0x1a11a1[_0x2eee9b(0x174)][_0x2eee9b(0x16b)](_0x2eee9b(0x128));}),_0x1a11a1[_0x33c51b(0x12a)](_0x33c51b(0x1a5),()=>{const _0x32ad2f=_0x33c51b;_0x1a11a1[_0x32ad2f(0x174)][_0x32ad2f(0x15c)](_0x32ad2f(0x128));}),_0x1a11a1;},_0x5547b6[_0x53eb47(0x1a7)]=function(_0x146ff9){const _0x1df6b5=_0x53eb47;return!(!this[_0x1df6b5(0x13b)](_0x1df6b5(0x198))||!_0x146ff9[_0x1df6b5(0x13b)](_0x1df6b5(0x198))||this[_0x1df6b5(0x154)](_0x1df6b5(0x139))!=_0x146ff9[_0x1df6b5(0x154)](_0x1df6b5(0x139)));},_0x5547b6;}(_0xed06c1,_0x5bddc2,_0x541f39);}(_0x26dd20,_0x568546,_0x3a4d54,_0x4cac4d)}),_0x4cac4d[_0x42db4d(0x159)][_0x42db4d(0x176)](_0x42db4d(0x12d))[_0x42db4d(0x19a)]({'model':_0x42db4d(0x19b),'view':_0x372375=>function(_0x36d04c,_0x175886){const _0x13416e=_0x42db4d,_0x4d858d=_0x36d04c[_0x13416e(0x170)][_0x13416e(0x18e)](':')[0x2];if(_0x4d858d===_0x175886[_0x13416e(0x188)])return null;const _0x1b6013=_0x175886[_0x13416e(0x12e)](_0x4d858d);if(!_0x1b6013)return{'id':_0x4d858d,'classes':[]};return{'id':_0x4d858d,'classes':[_0x13416e(0x16a),_0x1b6013[_0x13416e(0x155)][_0x13416e(0x17d)]()],'attributes':{'data-session-id':_0x4d858d},'priority':0x7d0+_0x1b6013[_0x13416e(0x153)]};}(_0x372375,_0x3a4d54)}),function(_0x30ba6f){const _0x396684=_0x42db4d,_0x2855a9=_0x30ba6f[_0x396684(0x162)],_0x22fe29=new Map(),_0x52f9e9=_0x30ba6f[_0x396684(0x15b)][_0x396684(0x125)](_0x348c5e);_0x2855a9[_0x396684(0x136)]['on'](_0x396684(0x184),(_0x2c2561,_0xb085f,_0x17163d,_0x5a91d5)=>{const _0x4baf39=_0x396684;if(!_0x5a91d5&&_0x22fe29[_0x4baf39(0x125)](_0xb085f[_0x4baf39(0x16d)]))return _0x22fe29[_0x4baf39(0x125)](_0xb085f[_0x4baf39(0x16d)])[_0x4baf39(0x133)](),void _0x22fe29[_0x4baf39(0x193)](_0xb085f[_0x4baf39(0x16d)]);const _0x434547=_0xb085f[_0x4baf39(0x16d)][_0x4baf39(0x18e)](':')[0x2];if(_0x434547===_0x52f9e9[_0x4baf39(0x188)])return;const _0x389653=_0x4baf39(0x18f)+_0x434547;_0x2855a9[_0x4baf39(0x136)][_0x4baf39(0x186)](_0x389653)&&_0x30ba6f[_0x4baf39(0x163)][_0x4baf39(0x1a8)](_0x389653),_0xb085f['on'](_0x4baf39(0x1a4),(_0xdb5a0e,_0x14da3d,_0x4963bd)=>{const _0x37b4dc=_0x4baf39;if(_0x37b4dc(0x1a1)!=_0x14da3d[_0x37b4dc(0x147)][_0x37b4dc(0x19d)]&&_0x37b4dc(0x1a1)==_0xb085f[_0x37b4dc(0x15d)]()[_0x37b4dc(0x147)][_0x37b4dc(0x19d)]&&!_0x22fe29[_0x37b4dc(0x186)](_0xb085f[_0x37b4dc(0x16d)])){const _0x43daba=_0x2855a9[_0x37b4dc(0x164)][_0x37b4dc(0x15e)](_0x4963bd[_0x37b4dc(0x141)]);if(_0x43daba){const _0x5e6077=_0x15dba8[_0x37b4dc(0x13e)](_0x43daba);_0x22fe29[_0x37b4dc(0x15f)](_0xb085f[_0x37b4dc(0x16d)],_0x5e6077),_0x5e6077['on'](_0x37b4dc(0x1a4),(_0x526793,_0x5c5aff,_0x4fb223)=>{const _0xd17f0f=_0x37b4dc;if(_0xd17f0f(0x1a1)==_0x5e6077[_0xd17f0f(0x147)][_0xd17f0f(0x19d)]){const _0x19bc8d=_0x2855a9[_0xd17f0f(0x164)][_0xd17f0f(0x15e)](_0x4fb223[_0xd17f0f(0x141)]);_0x19bc8d?(_0x5e6077[_0xd17f0f(0x16e)]=_0x19bc8d[_0xd17f0f(0x16e)],_0x5e6077[_0xd17f0f(0x169)]=_0x19bc8d[_0xd17f0f(0x169)]):(_0x22fe29[_0xd17f0f(0x193)](_0xb085f[_0xd17f0f(0x16d)]),_0x5e6077[_0xd17f0f(0x133)]());}});}}});}),_0x2855a9[_0x396684(0x13d)]['on'](_0x396684(0x14d),()=>{const _0x3f2593=_0x396684;_0x22fe29[_0x3f2593(0x1a0)]>0x0&&_0x2855a9[_0x3f2593(0x1a3)]({'isUndoable':!0x1},_0x315712=>{const _0x3c356a=_0x3f2593;for(const [_0x551749,_0x64e2a0]of _0x22fe29)_0x3c356a(0x1a1)==_0x2855a9[_0x3c356a(0x136)][_0x3c356a(0x125)](_0x551749)[_0x3c356a(0x15d)]()[_0x3c356a(0x147)][_0x3c356a(0x19d)]&&(te(_0x551749[_0x3c356a(0x18e)](':')[0x2],_0x64e2a0[_0x3c356a(0x172)](),_0x2855a9,_0x315712),_0x64e2a0[_0x3c356a(0x133)]());_0x22fe29[_0x3c356a(0x126)]();});});}(_0x4cac4d),this[_0x42db4d(0x165)][_0x42db4d(0x199)](_0xb31cc0[_0x42db4d(0x13d)],_0x42db4d(0x15a),(_0x26ce4d,{key:_0x4450b7})=>{const _0x363f27=_0x42db4d;_0x363f27(0x183)===_0x4450b7&&function(_0x1bb633){const _0x856d77=_0x363f27;_0x1bb633[_0x856d77(0x163)][_0x856d77(0x149)][_0x856d77(0x14d)](_0x36f7c5=>{const _0x4ec96c=_0x856d77;for(const _0x5ceeaa of _0x1bb633[_0x4ec96c(0x162)][_0x4ec96c(0x136)]){if(!_0x5ceeaa[_0x4ec96c(0x16d)][_0x4ec96c(0x152)](_0x4ec96c(0x196)))continue;const _0x454145=_0x1bb633[_0x4ec96c(0x163)][_0x4ec96c(0x171)][_0x4ec96c(0x157)](_0x5ceeaa[_0x4ec96c(0x16d)]);if(_0x454145){for(const _0x49b72e of _0x454145)_0x36f7c5[_0x4ec96c(0x1ad)](_0x4ec96c(0x128),_0x49b72e);}}});}(_0x4cac4d);},{'useCapture':!0x0});}[_0x1ec62f(0x197)](){const _0x123212=_0x1ec62f,_0x5864b3=this[_0x123212(0x1a2)],_0x33ec1e=_0x5864b3[_0x123212(0x132)][_0x123212(0x125)](_0x123212(0x191));_0x33ec1e&&_0x5864b3[_0x123212(0x162)]['on'](_0x123212(0x135),(_0x3e78db,_0x3490f2)=>{const _0x5c88e4=_0x123212,_0x576661=_0x3490f2[0x0];if(!_0x576661[_0x5c88e4(0x189)])return;if(_0x5c88e4(0x140)!=_0x576661[_0x5c88e4(0x1af)]||!_0x576661[_0x5c88e4(0x16d)][_0x5c88e4(0x152)](_0x5c88e4(0x13c)))return;const _0x4d573a=_0x576661[_0x5c88e4(0x168)];_0x33ec1e[_0x5c88e4(0x17b)][_0x5c88e4(0x186)](_0x4d573a)&&(_0x576661[_0x5c88e4(0x185)]=_0x576661[_0x5c88e4(0x194)]?_0x5864b3[_0x5c88e4(0x162)][_0x5c88e4(0x150)](_0x576661[_0x5c88e4(0x194)][_0x5c88e4(0x16e)],_0x576661[_0x5c88e4(0x194)][_0x5c88e4(0x169)]):null);},{'priority':_0x123212(0x145)});}[_0x1ec62f(0x158)](){const _0x2e7a38=_0x1ec62f;return this[_0x2e7a38(0x165)][_0x2e7a38(0x19f)](),super[_0x2e7a38(0x158)]();}[_0x1ec62f(0x178)](){const _0x4e25c9=_0x1ec62f,_0xe829a9=this[_0x4e25c9(0x1a2)],_0x5ae0dd=_0xe829a9[_0x4e25c9(0x162)][_0x4e25c9(0x13d)],_0x3d7328=_0xe829a9[_0x4e25c9(0x15b)][_0x4e25c9(0x125)](_0x348c5e);_0xe829a9[_0x4e25c9(0x162)][_0x4e25c9(0x1a3)]({'isUndoable':!0x1},_0xa18a5c=>{const _0x1de126=_0x4e25c9,_0x31c5bc=_0x1de126(0x156)+_0x3d7328[_0x1de126(0x188)],_0x1654f2=_0x1de126(0x18f)+_0x3d7328[_0x1de126(0x188)],_0x47e14f=_0xe829a9[_0x1de126(0x162)][_0x1de126(0x136)][_0x1de126(0x186)](_0x31c5bc);_0xe829a9[_0x1de126(0x163)][_0x1de126(0x149)][_0x1de126(0x18a)]?te(_0x3d7328[_0x1de126(0x188)],_0x5ae0dd[_0x1de126(0x17e)][_0x1de126(0x142)](),_0xe829a9[_0x1de126(0x162)],_0xa18a5c):_0x47e14f&&(_0xa18a5c[_0x1de126(0x14c)](_0x31c5bc),_0xa18a5c[_0x1de126(0x14c)](_0x1654f2));});}}function _0xb5c0(_0x287c74,_0x17d4a9){const _0x6f2b9=_0x6f2b();return _0xb5c0=function(_0xb5c0c8,_0x16df59){_0xb5c0c8=_0xb5c0c8-0x124;let _0x2f739b=_0x6f2b9[_0xb5c0c8];return _0x2f739b;},_0xb5c0(_0x287c74,_0x17d4a9);}function _0x6f2b(){const _0x8f5cc9=['createUIElement','stopListening','size','$graveyard','editor','enqueueChange','change:range','mouseleave','nodeAfter','isSimilar','reconvertMarker','updateMarker','mouseenter','markerToElement','spellcheck','removeClass','checkChild','type','hasContent','get','clear','1389065CJmfwd','ck-user__marker_hovered','setCustomProperty','addEventListener','innerHTML','init','editingDowncast','getUserBySessionId','$text','parent','getPositions','commands','detach','pluginName','applyOperation','markers','ck-user__marker-tooltip','createElement','data-session-id','getStart','getCustomProperty','user:','document','fromRange','toDomElement','marker','deletionPosition','getFirstRange','UserMarkers','6QJlutb','highest','199824RZHRLr','root','setAttribute','view','getContainedElement','ck-user__marker\x20','removeMarker','change','2318393WbGcqB','isObject','createRange','9845685eVtjim','startsWith','orderNumber','getAttribute','color','user:range:','markerNameToElements','destroy','conversion','keydown','plugins','remove','getRange','getNearestSelectionRange','set','454rhOVtb','110eHawfX','model','editing','schema','_domEmitter','contenteditable','isInline','batch','end','ck-user__selection','add','render','name','start','markerRange','markerName','mapper','toRange','825iVgBWG','classList','element','for','span','createUserMarkerOperations','getMarkerClass','2322924WUnfQW','_createdBatches','isOfficialPlugin','getSelectionClass','selection','isLimit','isCollapsed','287sYQPyv','4655712sQDDko','Escape','update:user:range','newRange','has','false','mySessionId','isDocumentOperation','hasDomSelection','isPremiumPlugin','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','requires','split','user:position:','textContent','undo','addMarker','delete','oldRange','tableCell','user:position','afterInit','userPositionMarker','listenTo','markerToHighlight','user:range','outerHTML','rootName'];_0x6f2b=function(){return _0x8f5cc9;};return _0x6f2b();}function te(_0x4260a0,_0x18577d,_0x16f139,_0x46620f){const _0x67a5a2=_0x1ec62f,_0x17e688=_0x67a5a2(0x156)+_0x4260a0,_0x45ed4a=_0x67a5a2(0x18f)+_0x4260a0,_0x59cf30=_0x18577d[_0x67a5a2(0x14a)]();let _0x329425=_0x18577d[_0x67a5a2(0x16e)];if(_0x59cf30&&_0x59cf30['is'](_0x67a5a2(0x175),_0x67a5a2(0x195))){const _0x6693e7=function(_0xd7da45,_0x51e93d){const _0x882e48=_0x67a5a2;for(const _0x2bc49d of _0xd7da45[_0x882e48(0x131)]())if(_0x51e93d[_0x882e48(0x164)][_0x882e48(0x1ae)](_0x2bc49d,_0x882e48(0x12f)))return _0x2bc49d;}(_0x18577d,_0x16f139);_0x6693e7&&(_0x329425=_0x6693e7,_0x18577d=_0x46620f[_0x67a5a2(0x150)](_0x329425));}const _0x5a12f3=_0x46620f[_0x67a5a2(0x150)](_0x329425);_0x16f139[_0x67a5a2(0x136)][_0x67a5a2(0x186)](_0x17e688)?(_0x46620f[_0x67a5a2(0x1a9)](_0x17e688,{'range':_0x18577d}),_0x46620f[_0x67a5a2(0x1a9)](_0x45ed4a,{'range':_0x5a12f3})):(_0x46620f[_0x67a5a2(0x192)](_0x17e688,{'range':_0x18577d,'usingOperation':!0x0}),_0x46620f[_0x67a5a2(0x192)](_0x45ed4a,{'range':_0x5a12f3,'usingOperation':!0x0}));}
|