@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.1 → 46.0.1-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/real-time-collaboration.js +2 -2
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3f0a89=_0x544e;function _0x544e(_0x1c1219,_0x276962){const _0x32a77c=_0x32a7();return _0x544e=function(_0x544ec8,_0x1d30c7){_0x544ec8=_0x544ec8-0x1dd;let _0x52357e=_0x32a77c[_0x544ec8];return _0x52357e;},_0x544e(_0x1c1219,_0x276962);}(function(_0x79db9e,_0x4bb3f4){const _0x2a8435=_0x544e,_0xad4165=_0x79db9e();while(!![]){try{const _0x437c80=-parseInt(_0x2a8435(0x1df))/0x1*(-parseInt(_0x2a8435(0x1e0))/0x2)+-parseInt(_0x2a8435(0x202))/0x3*(parseInt(_0x2a8435(0x1f2))/0x4)+parseInt(_0x2a8435(0x1fc))/0x5*(parseInt(_0x2a8435(0x1f5))/0x6)+parseInt(_0x2a8435(0x1ea))/0x7*(parseInt(_0x2a8435(0x1e8))/0x8)+parseInt(_0x2a8435(0x206))/0x9*(parseInt(_0x2a8435(0x1f6))/0xa)+parseInt(_0x2a8435(0x1f4))/0xb+-parseInt(_0x2a8435(0x1e5))/0xc*(parseInt(_0x2a8435(0x1e2))/0xd);if(_0x437c80===_0x4bb3f4)break;else _0xad4165['push'](_0xad4165['shift']());}catch(_0x659486){_0xad4165['push'](_0xad4165['shift']());}}}(_0x32a7,0xa9b18));import{View as _0x2949ee}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x47419e}from'ckeditor5/src/utils.js';function _0x32a7(){const _0x3d40d2=['ck-presence-list__list','46149AVWAsm','setTemplate','.ck-balloon-panel_with-arrow','hasPopup','47493swxhPy','set','change:hasPopup','5EBQkWh','406398vNftcf','fire','11479MkBnlK','removeAttribute','createCollection','5172lxFubG','presencelist:hide','contains','4811656AkHBGy','render','7wvXQsg','Connected\x20users\x20list','presencelist:show','keystrokes','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','bindTemplate','aria-expanded','focus','220FwkWyn','div','738287EQQVLv','120GdbqxE','90lOLxpB','relatedTarget','setAttribute','element','listenTo','.ck-presence-list__dropdown-list','47410pdkbUN','querySelector','items','isExpanded','list'];_0x32a7=function(){return _0x3d40d2;};return _0x32a7();}import{getTranslation as _0x2a9d09}from'../../common-translations.js';export class PresenceInlineListView extends _0x2949ee{[_0x3f0a89(0x1fe)];[_0x3f0a89(0x1ed)];constructor(_0xb4231){const _0x3f7f83=_0x3f0a89;super(_0xb4231);const _0x3e5f17=this[_0x3f7f83(0x1ef)];this[_0x3f7f83(0x1fe)]=this[_0x3f7f83(0x1e4)](),this[_0x3f7f83(0x1ed)]=new _0x47419e(),this[_0x3f7f83(0x1dd)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x3f7f83(0x203)]({'tag':_0x3f7f83(0x1f3),'attributes':{'aria-haspopup':_0x3e5f17['if'](_0x3f7f83(0x205)),'aria-expanded':_0x3e5f17['to'](_0x3f7f83(0x1ff),_0x32182c=>this[_0x3f7f83(0x205)]&&String(_0x32182c)),'aria-label':_0x3e5f17['to'](_0x3f7f83(0x205),_0x1cbc63=>_0x2a9d09(_0xb4231,_0x1cbc63?_0x3f7f83(0x1ee):_0x3f7f83(0x1eb))),'role':_0x3f7f83(0x200),'tabindex':_0x3e5f17['to'](_0x3f7f83(0x205),_0x3b8cba=>!!_0x3b8cba&&0x0),'class':['ck',_0x3f7f83(0x201)]},'children':this[_0x3f7f83(0x1fe)],'on':{'mouseenter':_0x3e5f17['to'](()=>this[_0x3f7f83(0x1e1)](_0x3f7f83(0x1ec))),'mouseleave':_0x3e5f17['to'](_0x2ea9ee=>{const _0x42484f=_0x3f7f83,_0x461767=_0x2ea9ee,_0x2c8f02=document[_0x42484f(0x1fd)](_0x42484f(0x1fb)),_0x8d293e=document[_0x42484f(0x1fd)](_0x42484f(0x204));_0x2c8f02?.[_0x42484f(0x1e7)](_0x461767[_0x42484f(0x1f7)])||_0x8d293e?.[_0x42484f(0x1e7)](_0x461767[_0x42484f(0x1f7)])||this[_0x42484f(0x1e1)](_0x42484f(0x1e6));})}}),this['on'](_0x3f7f83(0x1de),(_0x8db2dc,_0x51e17c,_0x1b9644)=>{const _0x3a45a7=_0x3f7f83;this[_0x3a45a7(0x1f9)]&&(_0x1b9644?this[_0x3a45a7(0x1f9)][_0x3a45a7(0x1f8)](_0x3a45a7(0x1f0),String(this[_0x3a45a7(0x1ff)])):this[_0x3a45a7(0x1f9)][_0x3a45a7(0x1e3)](_0x3a45a7(0x1f0)));});}[_0x3f0a89(0x1f1)](){const _0x1db3ef=_0x3f0a89;this[_0x1db3ef(0x1f9)][_0x1db3ef(0x1f1)]();}[_0x3f0a89(0x1e9)](){const _0x1eb74f=_0x3f0a89;super[_0x1eb74f(0x1e9)](),this[_0x1eb74f(0x1ed)][_0x1eb74f(0x1fa)](this[_0x1eb74f(0x1f9)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x4195(_0x532465,_0x5f0811){const _0x62f4fb=_0x62f4();return _0x4195=function(_0x419573,_0x2e247a){_0x419573=_0x419573-0x13e;let _0x23ed2c=_0x62f4fb[_0x419573];return _0x23ed2c;},_0x4195(_0x532465,_0x5f0811);}const _0x3ca4cd=_0x4195;(function(_0x28e939,_0x352484){const _0xf5ec31=_0x4195,_0x332884=_0x28e939();while(!![]){try{const _0x25fa5a=parseInt(_0xf5ec31(0x153))/0x1+-parseInt(_0xf5ec31(0x150))/0x2+-parseInt(_0xf5ec31(0x14b))/0x3+-parseInt(_0xf5ec31(0x145))/0x4*(-parseInt(_0xf5ec31(0x142))/0x5)+-parseInt(_0xf5ec31(0x152))/0x6+parseInt(_0xf5ec31(0x146))/0x7+-parseInt(_0xf5ec31(0x159))/0x8*(-parseInt(_0xf5ec31(0x149))/0x9);if(_0x25fa5a===_0x352484)break;else _0x332884['push'](_0x332884['shift']());}catch(_0x186340){_0x332884['push'](_0x332884['shift']());}}}(_0x62f4,0xa66f9));import{View as _0x322735}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x26c9f3}from'./presencecounterview.js';import{PresenceInlineListView as _0x435fba}from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export class PresenceListView extends _0x322735{[_0x3ca4cd(0x154)];[_0x3ca4cd(0x13f)];constructor(_0x3a3c0e,_0x316ca5=0x6){const _0x4a2540=_0x3ca4cd;super(_0x3a3c0e);const _0x443e0f=this[_0x4a2540(0x14d)];this[_0x4a2540(0x141)](_0x4a2540(0x14e),!0x0),this[_0x4a2540(0x154)]=new _0x26c9f3(this[_0x4a2540(0x140)],_0x316ca5),this[_0x4a2540(0x13f)]=new _0x435fba(_0x3a3c0e),this[_0x4a2540(0x13f)][_0x4a2540(0x148)](_0x4a2540(0x158))['to'](this,_0x4a2540(0x14e)),this[_0x4a2540(0x13e)](this[_0x4a2540(0x13f)][_0x4a2540(0x151)],_0x4a2540(0x147),()=>{const _0x54f620=_0x4a2540;for(const _0x423807 of this[_0x54f620(0x13f)][_0x54f620(0x151)])_0x423807[_0x54f620(0x157)]='s';this[_0x54f620(0x13f)][_0x54f620(0x151)][_0x54f620(0x143)]&&(this[_0x54f620(0x13f)][_0x54f620(0x151)][_0x54f620(0x143)][_0x54f620(0x157)]='se');}),this[_0x4a2540(0x144)]({'tag':_0x4a2540(0x14f),'attributes':{'class':['ck',_0x4a2540(0x155),_0x4a2540(0x156),_0x4a2540(0x14c),_0x443e0f['if'](_0x4a2540(0x14e),_0x4a2540(0x14a))]},'children':[this[_0x4a2540(0x13f)]]});}}function _0x62f4(){const _0x564aa5=['listenTo','inlineListView','locale','set','13990NBTLCV','first','setTemplate','908ZLCSGy','5183724jizjLJ','change','bind','10161yKWuak','ck-presence-list--collapsed','3882963LEkNmK','ck-rounded-corners','bindTemplate','isCollapsed','div','1423344HpQITI','items','4213086ceBais','48628YMrKCI','counterView','ck-presence-list','ck-reset','tooltipPosition','hasPopup','13928voKgxD'];_0x62f4=function(){return _0x564aa5;};return _0x62f4();}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x592754=_0x6645;(function(_0x393296,_0x16223d){var _0x5614d6=_0x6645,_0xa2758d=_0x393296();while(!![]){try{var _0x2f1ef1=parseInt(_0x5614d6(0xd1))/0x1*(-parseInt(_0x5614d6(0xd2))/0x2)+parseInt(_0x5614d6(0xce))/0x3*(-parseInt(_0x5614d6(0xd6))/0x4)+-parseInt(_0x5614d6(0xd4))/0x5+parseInt(_0x5614d6(0xd8))/0x6+parseInt(_0x5614d6(0xcd))/0x7+parseInt(_0x5614d6(0xda))/0x8*(-parseInt(_0x5614d6(0xd0))/0x9)+parseInt(_0x5614d6(0xdb))/0xa;if(_0x2f1ef1===_0x16223d)break;else _0xa2758d['push'](_0xa2758d['shift']());}catch(_0x89609b){_0xa2758d['push'](_0xa2758d['shift']());}}}(_0x49bb,0xa31d5));function _0x6645(_0x32213e,_0x1f10f1){var _0x49bbd4=_0x49bb();return _0x6645=function(_0x66454,_0x4218a9){_0x66454=_0x66454-0xcd;var _0x2aa320=_0x49bbd4[_0x66454];return _0x2aa320;},_0x6645(_0x32213e,_0x1f10f1);}import{ContextPlugin as _0x507bb2}from'ckeditor5/src/core.js';import{Sessions as _0x278544}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x316bb0}from'./presencelist/presencelistui.js';export class PresenceList extends _0x507bb2{static get[_0x592754(0xcf)](){return[_0x278544,_0x316bb0];}static get[_0x592754(0xd9)](){var _0x425684=_0x592754;return _0x425684(0xd7);}static get[_0x592754(0xd3)](){return!0x0;}static get[_0x592754(0xd5)](){return!0x0;}}function _0x49bb(){var _0x2475cb=['isPremiumPlugin','121164KWSRao','PresenceList','3846186KqJDcz','pluginName','24UFsRbE','5587390PkDAJU','8225959NRsTnN','93kDbpRt','requires','80469mcLlAS','169004HhqSmJ','6ihYGSD','isOfficialPlugin','1169670ahclhK'];_0x49bb=function(){return _0x2475cb;};return _0x49bb();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x17cb90)());[_0x253042(0x187)];static get[_0x253042(0x1a6)](){const _0x5d0074=_0x253042;return[_0x489c5b,_0x5d0074(0x1bd),_0x5b5a0b,_0x434c12];}static get[_0x253042(0x193)](){const _0x412a93=_0x253042;return _0x412a93(0x179);}static get[_0x253042(0x1bc)](){return!0x0;}static get[_0x253042(0x1b9)](){return!0x0;}constructor(_0x3ff6d5){const _0x1b61a3=_0x253042;super(_0x3ff6d5),this[_0x1b61a3(0x187)]=new Map();}async[_0x253042(0x18c)](){const _0x2ff66a=_0x253042,_0x97adee=this[_0x2ff66a(0x170)],_0x518c4b=_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x2ff66a(0x1bd));if(_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x489c5b)[_0x2ff66a(0x1bf)](this),_0x518c4b[_0x2ff66a(0x1b5)]={'addCommentThread':async({channelId:_0x21778a,threadId:_0x46ba53,comments:_0x2b7154,resolvedAt:_0x30224a,resolvedBy:_0xbbd2fd,context:_0x3017c5,attributes:_0x4fbda6})=>{const _0x2107b0=_0x2ff66a,_0x5057d5=await this[_0x2107b0(0x1aa)](_0x21778a)[_0x2107b0(0x171)]({'commentThreadId':_0x46ba53,'comments':_0x2b7154[_0x2107b0(0x197)](_0x1c8911=>function(_0x273a50,_0x470a8f,_0x148c71){const _0x37962c=_0x2107b0;return{'commentThreadId':_0x148c71,'commentId':_0x273a50[_0x37962c(0x1b8)],'userId':_0x273a50[_0x37962c(0x195)],'content':_0x273a50[_0x37962c(0x163)],'documentId':_0x470a8f,'createdAt':_0x273a50[_0x37962c(0x19d)],'attributes':_0x273a50[_0x37962c(0x1be)]||{}};}(_0x1c8911,_0x21778a,_0x46ba53)),'resolvedAt':_0x30224a,'resolvedBy':_0xbbd2fd,'context':_0x3017c5,'attributes':_0x4fbda6})[_0x2107b0(0x17b)](A);return{'threadId':_0x5057d5[_0x2107b0(0x1a5)],'comments':_0x5057d5[_0x2107b0(0x184)]};},'getCommentThread':async({channelId:_0x3e78fe,threadId:_0x28513f})=>{const _0x4b38f2=_0x2ff66a,_0x1dc108=await this[_0x4b38f2(0x1aa)](_0x3e78fe)[_0x4b38f2(0x162)](_0x28513f)[_0x4b38f2(0x17b)](A);return _0x1dc108[_0x4b38f2(0x174)]?null:(await this[_0x4b38f2(0x16b)]([_0x1dc108]),{'threadId':_0x1dc108[_0x4b38f2(0x1a5)],'comments':_0x1dc108[_0x4b38f2(0x184)][_0x4b38f2(0x197)](p),'context':_0x1dc108[_0x4b38f2(0x170)],'resolvedAt':_0x1dc108[_0x4b38f2(0x166)],'resolvedBy':_0x1dc108[_0x4b38f2(0x16f)],'attributes':_0x1dc108[_0x4b38f2(0x1be)]||{}});},'updateCommentThread':async({channelId:_0x1640ae,threadId:_0x530c17,context:_0x1b6d69,unlinkedAt:_0x390b6f,attributes:_0x1f698e})=>this[_0x2ff66a(0x1aa)](_0x1640ae)[_0x2ff66a(0x19f)]({'commentThreadId':_0x530c17,'context':_0x1b6d69,'attributes':_0x1f698e,'unlinkedAt':_0x390b6f})[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'resolveCommentThread':async({channelId:_0x39eee1,threadId:_0x1c9797})=>{const _0x2e390a=_0x2ff66a,_0x4d0f59=await this[_0x2e390a(0x1aa)](_0x39eee1)[_0x2e390a(0x189)](_0x1c9797)[_0x2e390a(0x17b)](v)[_0x2e390a(0x17b)](A);return{'threadId':_0x4d0f59[_0x2e390a(0x1a5)],'resolvedAt':_0x4d0f59[_0x2e390a(0x166)],'resolvedBy':_0x4d0f59[_0x2e390a(0x16f)]};},'reopenCommentThread':async({channelId:_0x33472c,threadId:_0x15ad71})=>this[_0x2ff66a(0x1aa)](_0x33472c)[_0x2ff66a(0x1ad)](_0x15ad71)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'removeCommentThread':({channelId:_0x223af8,threadId:_0x3c81b8})=>this[_0x2ff66a(0x1aa)](_0x223af8)[_0x2ff66a(0x167)](_0x3c81b8)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'addComment':({channelId:_0x516dc4,threadId:_0x284309,commentId:_0x14d9d6,content:_0x33dd10,attributes:_0x2dcaf5})=>this[_0x2ff66a(0x1aa)](_0x516dc4)[_0x2ff66a(0x185)](_0x284309,_0x14d9d6,_0x33dd10,_0x2dcaf5)[_0x2ff66a(0x17b)](A),'updateComment':({channelId:_0xb49b25,threadId:_0x506214,commentId:_0x5e6bd8,content:_0x2c9a72,attributes:_0x336108})=>this[_0x2ff66a(0x1aa)](_0xb49b25)[_0x2ff66a(0x1af)](_0x506214,_0x5e6bd8,_0x2c9a72,_0x336108)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A),'removeComment':({channelId:_0x4e6344,threadId:_0x48339d,commentId:_0x5bfb59})=>this[_0x2ff66a(0x1aa)](_0x4e6344)[_0x2ff66a(0x19b)](_0x48339d,_0x5bfb59)[_0x2ff66a(0x17b)](v)[_0x2ff66a(0x17b)](A)},_0x97adee instanceof _0x54af93){const _0x240ec0=_0x97adee[_0x2ff66a(0x164)][_0x2ff66a(0x1b0)](_0x2ff66a(0x1b3)),_0x25ebc7=_0x97adee[_0x2ff66a(0x16d)][_0x2ff66a(0x1b0)](_0x5b5a0b);await this[_0x2ff66a(0x186)](_0x240ec0);const _0x4eafb4=await this[_0x2ff66a(0x187)][_0x2ff66a(0x1b0)](_0x240ec0)[_0x2ff66a(0x15c)]();this[_0x2ff66a(0x15a)](_0x25ebc7,_0x2ff66a(0x1b7)+_0x240ec0,(_0x22dc90,{session:_0x1f1522})=>{const _0x4a0a06=_0x2ff66a;_0x1f1522['id']===_0x25ebc7[_0x4a0a06(0x198)]&&(_0x22dc90[_0x4a0a06(0x1a1)](),this[_0x4a0a06(0x170)][_0x4a0a06(0x16d)][_0x4a0a06(0x1b0)](_0x4a0a06(0x16c))[_0x4a0a06(0x1ba)](_0x1f1522[_0x4a0a06(0x1a2)],_0x240ec0));}),_0x25ebc7[_0x2ff66a(0x1a7)](_0x240ec0,_0x4eafb4);}}async[_0x253042(0x186)](_0x578925){const _0x57cad2=_0x253042;if(this[_0x57cad2(0x187)][_0x57cad2(0x17e)](_0x578925))throw new _0xc48a6f(_0x57cad2(0x159),null,{'channelId':_0x578925});const _0x4044c5=this[_0x57cad2(0x170)][_0x57cad2(0x16d)][_0x57cad2(0x1b0)](_0x57cad2(0x1bd)),_0xd18a04=new s[(_0x57cad2(0x191))](_0x578925);this[_0x57cad2(0x187)][_0x57cad2(0x178)](_0x578925,_0xd18a04),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x18e),(_0x1a1482,_0x9dd339)=>{const _0x53a41f=_0x57cad2,{commentThreadId:_0x4465eb,documentId:_0x457558,context:_0x17d42e,attributes:_0x144b13,resolvedAt:_0x54f3aa,resolvedBy:_0x3ed9bc,comments:_0x57ab45}=_0x9dd339;_0x4044c5[_0x53a41f(0x162)](_0x4465eb)||_0x4044c5[_0x53a41f(0x171)]({'threadId':_0x4465eb,'channelId':_0x457558,'comments':_0x57ab45?_0x57ab45[_0x53a41f(0x197)](p):[],'context':_0x17d42e,'attributes':_0x144b13,'resolvedAt':_0x54f3aa,'resolvedBy':_0x3ed9bc,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x18a),(_0x4a0174,{commentThreadId:_0x24dd52,documentId:_0x7b5157,context:_0x3c5072,unlinkedAt:_0x3e77b9,attributes:_0x4b2da6})=>{const _0x38e494=_0x57cad2;_0x4044c5[_0x38e494(0x162)](_0x24dd52)&&_0x4044c5[_0x38e494(0x19f)]({'threadId':_0x24dd52,'channelId':_0x7b5157,'context':_0x3c5072,'unlinkedAt':_0x3e77b9,'attributes':_0x4b2da6,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x169),(_0x1eacbd,{commentThreadId:_0x48afd8,resolvedBy:_0x2b24cf,resolvedAt:_0x22a247})=>{const _0x16a294=_0x57cad2,_0x325a40=_0x4044c5[_0x16a294(0x162)](_0x48afd8);_0x325a40&&_0x325a40[_0x16a294(0x194)]({'resolvedBy':_0x2b24cf,'resolvedAt':_0x22a247,'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x16e),(_0x511723,{commentThreadId:_0x4edc09})=>{const _0x4e4bfc=_0x57cad2,_0x5333a9=_0x4044c5[_0x4e4bfc(0x162)](_0x4edc09);_0x5333a9&&_0x5333a9[_0x4e4bfc(0x15f)]({'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x17a),(_0x21bff7,{commentThreadId:_0x63e87c})=>{const _0x1f6100=_0x57cad2,_0x12423c=_0x4044c5[_0x1f6100(0x162)](_0x63e87c);_0x12423c&&_0x12423c[_0x1f6100(0x17d)]({'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x172),(_0x594600,_0x1d3fa6)=>{const _0x362def=_0x57cad2,_0x78f69b=_0x1d3fa6[_0x362def(0x1a5)],_0x5c3be4=_0x4044c5[_0x362def(0x162)](_0x78f69b);_0x5c3be4&&_0x5c3be4[_0x362def(0x185)]({...p(_0x1d3fa6),'isFromAdapter':!0x0});}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x1b1),(_0x36fb79,{commentThreadId:_0x56ad0e,commentId:_0x5350c5,content:_0x4d9fea,attributes:_0x4f528a})=>{const _0x5f390a=_0x57cad2,_0x399483=_0x4044c5[_0x5f390a(0x162)](_0x56ad0e);if(_0x399483){const _0x24c278=_0x399483[_0x5f390a(0x188)](_0x5350c5);_0x24c278&&_0x24c278[_0x5f390a(0x181)]({'content':_0x4d9fea,'attributes':_0x4f528a,'isFromAdapter':!0x0});}}),this[_0x57cad2(0x15a)](_0xd18a04,_0x57cad2(0x1ae),(_0x5acc95,{commentThreadId:_0x4eedf6,commentId:_0x115404})=>{const _0x505ee3=_0x57cad2,_0x3b4a47=_0x4044c5[_0x505ee3(0x162)](_0x4eedf6);if(_0x3b4a47){const _0x1f5c90=_0x3b4a47[_0x505ee3(0x188)](_0x115404);_0x1f5c90&&_0x1f5c90[_0x505ee3(0x17d)]({'isFromAdapter':!0x0});}}),await this[_0x57cad2(0x1b4)](_0x578925);}[_0x253042(0x1bb)](){const _0x41981e=_0x253042;if(this[_0x41981e(0x170)]instanceof _0x54af93){const _0x541084=this[_0x41981e(0x170)][_0x41981e(0x164)][_0x41981e(0x1b0)](_0x41981e(0x1b3));this[_0x41981e(0x182)](_0x541084);}}[_0x253042(0x182)](_0x1f163f){const _0x6488c5=_0x253042;if(!this[_0x6488c5(0x187)][_0x6488c5(0x17e)](_0x1f163f))throw new _0xc48a6f(_0x6488c5(0x196),null,{'channelId':_0x1f163f});this[_0x6488c5(0x1aa)](_0x1f163f)[_0x6488c5(0x165)](),this[_0x6488c5(0x187)][_0x6488c5(0x1ac)](_0x1f163f);}async[_0x253042(0x177)](){const _0x5db5c0=_0x253042;for(const _0x5bdebf of this[_0x5db5c0(0x187)][_0x5db5c0(0x199)]())await this[_0x5db5c0(0x1b4)](_0x5bdebf);if(this[_0x5db5c0(0x170)]instanceof _0x54af93){const _0x3946ae=this[_0x5db5c0(0x170)][_0x5db5c0(0x164)][_0x5db5c0(0x1b0)](_0x5db5c0(0x1b3)),_0x29d442=this[_0x5db5c0(0x170)][_0x5db5c0(0x16d)][_0x5db5c0(0x1b0)](_0x5b5a0b);_0x29d442[_0x5db5c0(0x161)](_0x3946ae);const _0x5d30c2=await this[_0x5db5c0(0x187)][_0x5db5c0(0x1b0)](_0x3946ae)[_0x5db5c0(0x15c)]();_0x29d442[_0x5db5c0(0x1a7)](_0x3946ae,_0x5d30c2);}}async[_0x253042(0x1b4)](_0x4b39b7){const _0x1160da=_0x253042,{connection:_0x2cd781}=this[_0x1160da(0x170)][_0x1160da(0x16d)][_0x1160da(0x1b0)](_0x489c5b),_0x320e12=this[_0x1160da(0x170)][_0x1160da(0x16d)][_0x1160da(0x1b0)](_0x1160da(0x1bd)),_0x19cc5e=this[_0x1160da(0x187)][_0x1160da(0x1b0)](_0x4b39b7),_0x293509=await _0x19cc5e[_0x1160da(0x168)](_0x2cd781);await this[_0x1160da(0x16b)](_0x293509);const _0x3841e9=new Set(Array[_0x1160da(0x18f)](_0x320e12[_0x1160da(0x17c)]({'channelId':_0x4b39b7}),_0x2d4a8f=>_0x2d4a8f['id']));for(const _0x5e0ad4 of _0x293509)_0x5e0ad4[_0x1160da(0x174)]||_0x3841e9[_0x1160da(0x1ac)](_0x5e0ad4[_0x1160da(0x1a5)]);for(const _0x2af326 of _0x3841e9)_0x320e12[_0x1160da(0x162)](_0x2af326)[_0x1160da(0x17d)]({'isFromAdapter':!0x0});for(const _0x1f20d9 of _0x293509){let _0x33b8e5=_0x320e12[_0x1160da(0x162)](_0x1f20d9[_0x1160da(0x1a5)]);const {commentThreadId:_0x944204,context:_0x4214aa,attributes:_0x12b730,resolvedBy:_0x41a63b,resolvedAt:_0x393406,unlinkedAt:_0x26696a,deletedAt:_0x842da0}=_0x1f20d9;if(_0x842da0)continue;_0x33b8e5||(_0x33b8e5=_0x320e12[_0x1160da(0x171)]({'channelId':_0x4b39b7,'threadId':_0x944204,'context':_0x4214aa,'attributes':_0x12b730||{},'resolvedBy':_0x41a63b,'resolvedAt':_0x393406,'unlinkedAt':_0x26696a,'isFromAdapter':!0x0}));const _0x4ad1d8=new Set(Array[_0x1160da(0x18f)](_0x33b8e5[_0x1160da(0x184)],_0x583234=>_0x583234['id']));for(const _0x292968 of _0x1f20d9[_0x1160da(0x184)])_0x4ad1d8[_0x1160da(0x1ac)](_0x292968[_0x1160da(0x1b8)]);for(const _0x1a2030 of _0x4ad1d8)_0x33b8e5[_0x1160da(0x188)](_0x1a2030)[_0x1160da(0x17d)]({'isFromAdapter':!0x0});for(const _0x16b84c of _0x1f20d9[_0x1160da(0x184)]){const _0x8dccda=_0x33b8e5[_0x1160da(0x188)](_0x16b84c[_0x1160da(0x1b8)]);_0x8dccda?_0x8dccda[_0x1160da(0x163)]!==_0x16b84c[_0x1160da(0x163)]&&_0x8dccda[_0x1160da(0x181)]({'content':_0x16b84c[_0x1160da(0x163)],'isFromAdapter':!0x0}):_0x33b8e5[_0x1160da(0x185)](Object[_0x1160da(0x1b6)](p(_0x16b84c),{'isFromAdapter':!0x0}));}}}[_0x253042(0x1aa)](_0xf0a474){const _0x445fd3=_0x253042;if(!this[_0x445fd3(0x187)][_0x445fd3(0x17e)](_0xf0a474))throw new _0xc48a6f(_0x445fd3(0x17f),null,{'channelId':_0xf0a474});return this[_0x445fd3(0x187)][_0x445fd3(0x1b0)](_0xf0a474);}async[_0x253042(0x16b)](_0x1825f3){const _0x4d8a49=_0x253042,_0x5b5944=this[_0x4d8a49(0x170)][_0x4d8a49(0x16d)][_0x4d8a49(0x1b0)](_0x434c12),{connection:_0xcd880c}=this[_0x4d8a49(0x170)][_0x4d8a49(0x16d)][_0x4d8a49(0x1b0)](_0x489c5b),_0xe47080=new Set();for(const {resolvedBy:_0x5488e0,comments:_0x1179e7}of _0x1825f3){_0x5488e0&&!_0x5b5944[_0x4d8a49(0x175)](_0x5488e0)&&_0xe47080[_0x4d8a49(0x192)](_0x5488e0);for(const {userId:_0xf070ab}of _0x1179e7)_0x5b5944[_0x4d8a49(0x175)](_0xf070ab)||_0xe47080[_0x4d8a49(0x192)](_0xf070ab);}if(0x0===_0xe47080[_0x4d8a49(0x183)])return;const _0x5f1346=await _0x55d0b0[_0x4d8a49(0x1a8)](_0xcd880c,Array[_0x4d8a49(0x18f)](_0xe47080));for(const _0x59bf62 of _0x5f1346)_0x5b5944[_0x4d8a49(0x175)](_0x59bf62['id'])||_0x5b5944[_0x4d8a49(0x15d)](_0x59bf62);}}export{s as CloudServicesCommentsAdapter};async function v(_0x5922e3){const _0x1e1a34=_0x253042;if(_0x1e1a34(0x190)!==_0x5922e3[_0x1e1a34(0x1ab)])throw _0x5922e3;}function _0x5d7a(){const _0xf470c4=['cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','reconnect','set','CloudServicesCommentsAdapter','commentThreadRemoved','catch','getCommentThreads','remove','has','cloudservicescommentsadapter-service-not-exist','cloud-services-internal-error:\x20Request\x20timeout.','update','_terminateService','size','comments','addComment','_setUpService','_services','getComment','resolveCommentThread','commentThreadUpdated','message','init','432930qQZZMU','commentThreadAdded','from','404','CommentsService','add','pluginName','resolve','authorId','cloudservicescommentsadapter-disconnect-not-exist','map','mySessionId','keys','254364cDsQTN','removeComment','userId','createdAt','189202LNtKaH','updateCommentThread','9792QWwgzH','off','permissions','385bmaiDP','startsWith','commentThreadId','requires','register','getMany','1128757urHcJy','_getService','code','delete','reopenCommentThread','commentRemoved','updateComment','get','commentUpdated','124ySbVOx','collaboration.channelId','_connectService','adapter','assign','sessionAdd:','commentId','isPremiumPlugin','setPermissions','destroy','isOfficialPlugin','CommentsRepository','attributes','addToReconnectionStack','cloudservicescommentsadapter-connect-already-connected','listenTo','7255NQZeVR','getConnectedSessions','addUser','1734JiXagA','reopen','7011mKAvsm','unregister','getCommentThread','content','config','disconnect','resolvedAt','removeCommentThread','connect','commentThreadResolved','2736pOnGVD','_fetchMissingUsersForThreads','Permissions','plugins','commentThreadReopened','resolvedBy','context','addCommentThread','commentAdded','cloud-services-internal-error:\x20Not\x20connected.','deletedAt','getUser'];_0x5d7a=function(){return _0xf470c4;};return _0x5d7a();}function A(_0x16677d){const _0x57e445=_0x253042;if((_0x2e9004=_0x16677d)[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x176))||_0x2e9004[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x173))||_0x2e9004[_0x57e445(0x18b)][_0x57e445(0x1a4)](_0x57e445(0x180)))return new Promise(()=>{});var _0x2e9004;throw _0x16677d;}function p(_0x165119){const _0x1c32dc=_0x253042;return{'threadId':_0x165119[_0x1c32dc(0x1a5)],'commentId':_0x165119[_0x1c32dc(0x1b8)],'content':_0x165119[_0x1c32dc(0x163)],'createdAt':_0x165119[_0x1c32dc(0x19d)],'authorId':_0x165119[_0x1c32dc(0x19c)],'attributes':_0x165119[_0x1c32dc(0x1be)]||{}};}
|
|
23
|
+
const _0x5978ba=_0xc745;(function(_0x5e735e,_0x365498){const _0x52c8db=_0xc745,_0x3d679c=_0x5e735e();while(!![]){try{const _0x1ec092=-parseInt(_0x52c8db(0x160))/0x1+-parseInt(_0x52c8db(0x11a))/0x2+-parseInt(_0x52c8db(0x118))/0x3+parseInt(_0x52c8db(0x13f))/0x4+parseInt(_0x52c8db(0x14f))/0x5+-parseInt(_0x52c8db(0x15f))/0x6+-parseInt(_0x52c8db(0x148))/0x7*(-parseInt(_0x52c8db(0x141))/0x8);if(_0x1ec092===_0x365498)break;else _0x3d679c['push'](_0x3d679c['shift']());}catch(_0x15a27d){_0x3d679c['push'](_0x3d679c['shift']());}}}(_0x4f7f,0xaef55));import{Context as _0xd9e416,ContextPlugin as _0x587ca1}from'ckeditor5/src/core.js';import{CKEditorError as _0x3e6126}from'ckeditor5/src/utils.js';import{Users as _0x38b31f}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x50a5d8,User as _0x1a216e}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0xa2343e}from'../realtimecollaborativeediting/websocketgateway.js';import{Sessions as _0x1ec7be}from'../realtimecollaborativeediting/sessions.js';class s extends _0x587ca1{static [_0x5978ba(0x135)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x50a5d8)());[_0x5978ba(0x14e)];static get[_0x5978ba(0x108)](){const _0x1cd81b=_0x5978ba;return[_0xa2343e,_0x1cd81b(0x10c),_0x1ec7be,_0x38b31f];}static get[_0x5978ba(0x12c)](){const _0x461491=_0x5978ba;return _0x461491(0x14b);}static get[_0x5978ba(0x137)](){return!0x0;}static get[_0x5978ba(0x129)](){return!0x0;}constructor(_0x470b43){const _0x2c569f=_0x5978ba;super(_0x470b43),this[_0x2c569f(0x14e)]=new Map();}async[_0x5978ba(0x11e)](){const _0x2392d7=_0x5978ba,_0x2c19bd=this[_0x2392d7(0x125)],_0x14da2a=_0x2c19bd[_0x2392d7(0x128)][_0x2392d7(0x100)](_0x2392d7(0x10c));if(_0x2c19bd[_0x2392d7(0x128)][_0x2392d7(0x100)](_0xa2343e)[_0x2392d7(0x11b)](this),_0x14da2a[_0x2392d7(0x110)]={'addCommentThread':async({channelId:_0x5caf1d,threadId:_0x4ff80a,comments:_0x25098f,resolvedAt:_0x4aa55b,resolvedBy:_0x14c9e1,context:_0x1370d2,attributes:_0x47699e})=>{const _0x23b13c=_0x2392d7,_0x476e41=await this[_0x23b13c(0x133)](_0x5caf1d)[_0x23b13c(0x162)]({'commentThreadId':_0x4ff80a,'comments':_0x25098f[_0x23b13c(0x151)](_0x513448=>function(_0x554639,_0x4d9353,_0x3bad9f){const _0x186a2c=_0x23b13c;return{'commentThreadId':_0x3bad9f,'commentId':_0x554639[_0x186a2c(0x112)],'userId':_0x554639[_0x186a2c(0x102)],'content':_0x554639[_0x186a2c(0x113)],'documentId':_0x4d9353,'createdAt':_0x554639[_0x186a2c(0x105)],'attributes':_0x554639[_0x186a2c(0x117)]||{}};}(_0x513448,_0x5caf1d,_0x4ff80a)),'resolvedAt':_0x4aa55b,'resolvedBy':_0x14c9e1,'context':_0x1370d2,'attributes':_0x47699e})[_0x23b13c(0x126)](k);return{'threadId':_0x476e41[_0x23b13c(0x106)],'comments':_0x476e41[_0x23b13c(0x13e)]};},'getCommentThread':async({channelId:_0x4b2ad9,threadId:_0x2cb33e})=>{const _0x59e738=_0x2392d7,_0x25733e=await this[_0x59e738(0x133)](_0x4b2ad9)[_0x59e738(0x120)](_0x2cb33e)[_0x59e738(0x126)](k);return _0x25733e[_0x59e738(0x115)]?null:(await this[_0x59e738(0x138)]([_0x25733e]),{'threadId':_0x25733e[_0x59e738(0x106)],'comments':_0x25733e[_0x59e738(0x13e)][_0x59e738(0x151)](B),'context':_0x25733e[_0x59e738(0x125)],'resolvedAt':_0x25733e[_0x59e738(0x109)],'resolvedBy':_0x25733e[_0x59e738(0x14c)],'attributes':_0x25733e[_0x59e738(0x117)]||{}});},'updateCommentThread':async({channelId:_0x2fcfd7,threadId:_0x39e43c,context:_0x2a828d,unlinkedAt:_0x59c339,attributes:_0x405d5d})=>this[_0x2392d7(0x133)](_0x2fcfd7)[_0x2392d7(0x145)]({'commentThreadId':_0x39e43c,'context':_0x2a828d,'attributes':_0x405d5d,'unlinkedAt':_0x59c339})[_0x2392d7(0x126)](F)[_0x2392d7(0x126)](k),'resolveCommentThread':async({channelId:_0x424c5c,threadId:_0x8ff56b})=>{const _0x3e8647=_0x2392d7,_0x1978b1=await this[_0x3e8647(0x133)](_0x424c5c)[_0x3e8647(0x149)](_0x8ff56b)[_0x3e8647(0x126)](F)[_0x3e8647(0x126)](k);return{'threadId':_0x1978b1[_0x3e8647(0x106)],'resolvedAt':_0x1978b1[_0x3e8647(0x109)],'resolvedBy':_0x1978b1[_0x3e8647(0x14c)]};},'reopenCommentThread':async({channelId:_0x3e9a3d,threadId:_0x363db7})=>this[_0x2392d7(0x133)](_0x3e9a3d)[_0x2392d7(0x142)](_0x363db7)[_0x2392d7(0x126)](F)[_0x2392d7(0x126)](k),'removeCommentThread':({channelId:_0x493d86,threadId:_0x392df8})=>this[_0x2392d7(0x133)](_0x493d86)[_0x2392d7(0x127)](_0x392df8)[_0x2392d7(0x126)](F)[_0x2392d7(0x126)](k),'addComment':({channelId:_0xb4b11c,threadId:_0x14c3b7,commentId:_0x5c62ef,content:_0x5b667f,attributes:_0xc67d8})=>this[_0x2392d7(0x133)](_0xb4b11c)[_0x2392d7(0x12a)](_0x14c3b7,_0x5c62ef,_0x5b667f,_0xc67d8)[_0x2392d7(0x126)](k),'updateComment':({channelId:_0x2da85f,threadId:_0x46116c,commentId:_0x26df21,content:_0x48d175,attributes:_0x38c2d6})=>this[_0x2392d7(0x133)](_0x2da85f)[_0x2392d7(0x121)](_0x46116c,_0x26df21,_0x48d175,_0x38c2d6)[_0x2392d7(0x126)](F)[_0x2392d7(0x126)](k),'removeComment':({channelId:_0xf1b676,threadId:_0xd22aae,commentId:_0x4fbe4a})=>this[_0x2392d7(0x133)](_0xf1b676)[_0x2392d7(0x157)](_0xd22aae,_0x4fbe4a)[_0x2392d7(0x126)](F)[_0x2392d7(0x126)](k)},_0x2c19bd instanceof _0xd9e416){const _0x2aa8c8=_0x2c19bd[_0x2392d7(0x154)][_0x2392d7(0x100)](_0x2392d7(0x13b)),_0x60928=_0x2c19bd[_0x2392d7(0x128)][_0x2392d7(0x100)](_0x1ec7be);await this[_0x2392d7(0x14d)](_0x2aa8c8);const _0x381b9f=await this[_0x2392d7(0x14e)][_0x2392d7(0x100)](_0x2aa8c8)[_0x2392d7(0x143)]();this[_0x2392d7(0x10b)](_0x60928,_0x2392d7(0x12b)+_0x2aa8c8,(_0x13cefc,{session:_0x5bdac4})=>{const _0x32a407=_0x2392d7;_0x5bdac4['id']===_0x60928[_0x32a407(0x158)]&&(_0x13cefc[_0x32a407(0x15c)](),this[_0x32a407(0x125)][_0x32a407(0x128)][_0x32a407(0x100)](_0x32a407(0x10a))[_0x32a407(0x136)](_0x5bdac4[_0x32a407(0x13c)],_0x2aa8c8));}),_0x60928[_0x2392d7(0x139)](_0x2aa8c8,_0x381b9f);}}async[_0x5978ba(0x14d)](_0x547369){const _0x5619db=_0x5978ba;if(this[_0x5619db(0x14e)][_0x5619db(0x12e)](_0x547369))throw new _0x3e6126(_0x5619db(0x152),null,{'channelId':_0x547369});const _0x54ed9b=this[_0x5619db(0x125)][_0x5619db(0x128)][_0x5619db(0x100)](_0x5619db(0x10c)),_0x28ca3b=new s[(_0x5619db(0x135))](_0x547369);this[_0x5619db(0x14e)][_0x5619db(0x140)](_0x547369,_0x28ca3b),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x130),(_0x1cc209,_0x5d6eda)=>{const _0x3dbcaf=_0x5619db,{commentThreadId:_0x5d7738,documentId:_0x554b7f,context:_0x116d37,attributes:_0x577385,resolvedAt:_0x472898,resolvedBy:_0xf6c788,comments:_0x71c8f6}=_0x5d6eda;_0x54ed9b[_0x3dbcaf(0x120)](_0x5d7738)||_0x54ed9b[_0x3dbcaf(0x162)]({'threadId':_0x5d7738,'channelId':_0x554b7f,'comments':_0x71c8f6?_0x71c8f6[_0x3dbcaf(0x151)](B):[],'context':_0x116d37,'attributes':_0x577385,'resolvedAt':_0x472898,'resolvedBy':_0xf6c788,'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x123),(_0x48dba1,{commentThreadId:_0x377a71,documentId:_0x40235e,context:_0x4390aa,unlinkedAt:_0x3d248d,attributes:_0x13b4ab})=>{const _0x3dab66=_0x5619db;_0x54ed9b[_0x3dab66(0x120)](_0x377a71)&&_0x54ed9b[_0x3dab66(0x145)]({'threadId':_0x377a71,'channelId':_0x40235e,'context':_0x4390aa,'unlinkedAt':_0x3d248d,'attributes':_0x13b4ab,'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x13d),(_0x2253ba,{commentThreadId:_0x4f1ab8,resolvedBy:_0xd55283,resolvedAt:_0x583f96})=>{const _0x15342c=_0x5619db,_0x3d360b=_0x54ed9b[_0x15342c(0x120)](_0x4f1ab8);_0x3d360b&&_0x3d360b[_0x15342c(0x101)]({'resolvedBy':_0xd55283,'resolvedAt':_0x583f96,'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x15e),(_0x519c54,{commentThreadId:_0x27c08f})=>{const _0x2cb0f1=_0x5619db,_0x4832a2=_0x54ed9b[_0x2cb0f1(0x120)](_0x27c08f);_0x4832a2&&_0x4832a2[_0x2cb0f1(0x161)]({'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x13a),(_0x3febc6,{commentThreadId:_0x264255})=>{const _0x29c220=_0x5619db,_0x47bd97=_0x54ed9b[_0x29c220(0x120)](_0x264255);_0x47bd97&&_0x47bd97[_0x29c220(0x119)]({'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x11f),(_0xddab49,_0x257507)=>{const _0x36d65b=_0x5619db,_0xa21499=_0x257507[_0x36d65b(0x106)],_0xfd79a9=_0x54ed9b[_0x36d65b(0x120)](_0xa21499);_0xfd79a9&&_0xfd79a9[_0x36d65b(0x12a)]({...B(_0x257507),'isFromAdapter':!0x0});}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x107),(_0x20b365,{commentThreadId:_0x28ef75,commentId:_0x535a8b,content:_0x36603f,attributes:_0x1ffc9c})=>{const _0x1b6049=_0x5619db,_0x26bda0=_0x54ed9b[_0x1b6049(0x120)](_0x28ef75);if(_0x26bda0){const _0x58f1eb=_0x26bda0[_0x1b6049(0x11c)](_0x535a8b);_0x58f1eb&&_0x58f1eb[_0x1b6049(0x10d)]({'content':_0x36603f,'attributes':_0x1ffc9c,'isFromAdapter':!0x0});}}),this[_0x5619db(0x10b)](_0x28ca3b,_0x5619db(0x111),(_0x417d88,{commentThreadId:_0x50bb07,commentId:_0x539bd5})=>{const _0x114bd6=_0x5619db,_0x41a5d0=_0x54ed9b[_0x114bd6(0x120)](_0x50bb07);if(_0x41a5d0){const _0x39445b=_0x41a5d0[_0x114bd6(0x11c)](_0x539bd5);_0x39445b&&_0x39445b[_0x114bd6(0x119)]({'isFromAdapter':!0x0});}}),await this[_0x5619db(0x14a)](_0x547369);}[_0x5978ba(0x12f)](){const _0x383f32=_0x5978ba;if(this[_0x383f32(0x125)]instanceof _0xd9e416){const _0x51bcf6=this[_0x383f32(0x125)][_0x383f32(0x154)][_0x383f32(0x100)](_0x383f32(0x13b));this[_0x383f32(0x116)](_0x51bcf6);}}[_0x5978ba(0x116)](_0x4ca759){const _0x1ea23f=_0x5978ba;if(!this[_0x1ea23f(0x14e)][_0x1ea23f(0x12e)](_0x4ca759))throw new _0x3e6126(_0x1ea23f(0x132),null,{'channelId':_0x4ca759});this[_0x1ea23f(0x133)](_0x4ca759)[_0x1ea23f(0x156)](),this[_0x1ea23f(0x14e)][_0x1ea23f(0x10e)](_0x4ca759);}async[_0x5978ba(0x150)](){const _0x26bfc9=_0x5978ba;for(const _0x5c69d7 of this[_0x26bfc9(0x14e)][_0x26bfc9(0x159)]())await this[_0x26bfc9(0x14a)](_0x5c69d7);if(this[_0x26bfc9(0x125)]instanceof _0xd9e416){const _0x28bd3a=this[_0x26bfc9(0x125)][_0x26bfc9(0x154)][_0x26bfc9(0x100)](_0x26bfc9(0x13b)),_0x355379=this[_0x26bfc9(0x125)][_0x26bfc9(0x128)][_0x26bfc9(0x100)](_0x1ec7be);_0x355379[_0x26bfc9(0x163)](_0x28bd3a);const _0x329b13=await this[_0x26bfc9(0x14e)][_0x26bfc9(0x100)](_0x28bd3a)[_0x26bfc9(0x143)]();_0x355379[_0x26bfc9(0x139)](_0x28bd3a,_0x329b13);}}async[_0x5978ba(0x14a)](_0x19f991){const _0x4ac3ba=_0x5978ba,{connection:_0x5a38a1}=this[_0x4ac3ba(0x125)][_0x4ac3ba(0x128)][_0x4ac3ba(0x100)](_0xa2343e),_0x3d9664=this[_0x4ac3ba(0x125)][_0x4ac3ba(0x128)][_0x4ac3ba(0x100)](_0x4ac3ba(0x10c)),_0xfb24b=this[_0x4ac3ba(0x14e)][_0x4ac3ba(0x100)](_0x19f991),_0x507c6b=await _0xfb24b[_0x4ac3ba(0x134)](_0x5a38a1);await this[_0x4ac3ba(0x138)](_0x507c6b);const _0x12443e=new Set(Array[_0x4ac3ba(0x144)](_0x3d9664[_0x4ac3ba(0x114)]({'channelId':_0x19f991}),_0x4d821a=>_0x4d821a['id']));for(const _0x428cf0 of _0x507c6b)_0x428cf0[_0x4ac3ba(0x115)]||_0x12443e[_0x4ac3ba(0x10e)](_0x428cf0[_0x4ac3ba(0x106)]);for(const _0x1b4c4d of _0x12443e)_0x3d9664[_0x4ac3ba(0x120)](_0x1b4c4d)[_0x4ac3ba(0x119)]({'isFromAdapter':!0x0});for(const _0x315f52 of _0x507c6b){let _0x5a3250=_0x3d9664[_0x4ac3ba(0x120)](_0x315f52[_0x4ac3ba(0x106)]);const {commentThreadId:_0x18bd1a,context:_0x22d3f2,attributes:_0x377fab,resolvedBy:_0xa395c7,resolvedAt:_0x1ecd43,unlinkedAt:_0x337f02,deletedAt:_0x4351d1}=_0x315f52;if(_0x4351d1)continue;_0x5a3250||(_0x5a3250=_0x3d9664[_0x4ac3ba(0x162)]({'channelId':_0x19f991,'threadId':_0x18bd1a,'context':_0x22d3f2,'attributes':_0x377fab||{},'resolvedBy':_0xa395c7,'resolvedAt':_0x1ecd43,'unlinkedAt':_0x337f02,'isFromAdapter':!0x0}));const _0x3d48b9=new Set(Array[_0x4ac3ba(0x144)](_0x5a3250[_0x4ac3ba(0x13e)],_0x1483ba=>_0x1483ba['id']));for(const _0x1b066f of _0x315f52[_0x4ac3ba(0x13e)])_0x3d48b9[_0x4ac3ba(0x10e)](_0x1b066f[_0x4ac3ba(0x112)]);for(const _0x4844c6 of _0x3d48b9)_0x5a3250[_0x4ac3ba(0x11c)](_0x4844c6)[_0x4ac3ba(0x119)]({'isFromAdapter':!0x0});for(const _0x3573d8 of _0x315f52[_0x4ac3ba(0x13e)]){const _0x183018=_0x5a3250[_0x4ac3ba(0x11c)](_0x3573d8[_0x4ac3ba(0x112)]);_0x183018?_0x183018[_0x4ac3ba(0x113)]!==_0x3573d8[_0x4ac3ba(0x113)]&&_0x183018[_0x4ac3ba(0x10d)]({'content':_0x3573d8[_0x4ac3ba(0x113)],'isFromAdapter':!0x0}):_0x5a3250[_0x4ac3ba(0x12a)](Object[_0x4ac3ba(0x104)](B(_0x3573d8),{'isFromAdapter':!0x0}));}}}[_0x5978ba(0x133)](_0x2a2710){const _0xce857e=_0x5978ba;if(!this[_0xce857e(0x14e)][_0xce857e(0x12e)](_0x2a2710))throw new _0x3e6126(_0xce857e(0x103),null,{'channelId':_0x2a2710});return this[_0xce857e(0x14e)][_0xce857e(0x100)](_0x2a2710);}async[_0x5978ba(0x138)](_0x14abf4){const _0x103538=_0x5978ba,_0x36c52e=this[_0x103538(0x125)][_0x103538(0x128)][_0x103538(0x100)](_0x38b31f),{connection:_0xdf6730}=this[_0x103538(0x125)][_0x103538(0x128)][_0x103538(0x100)](_0xa2343e),_0x143655=new Set();for(const {resolvedBy:_0x13e663,comments:_0x16c997}of _0x14abf4){_0x13e663&&!_0x36c52e[_0x103538(0x11d)](_0x13e663)&&_0x143655[_0x103538(0x122)](_0x13e663);for(const {userId:_0x1950fd}of _0x16c997)_0x36c52e[_0x103538(0x11d)](_0x1950fd)||_0x143655[_0x103538(0x122)](_0x1950fd);}if(0x0===_0x143655[_0x103538(0x12d)])return;const _0x4c2bbe=await _0x1a216e[_0x103538(0x153)](_0xdf6730,Array[_0x103538(0x144)](_0x143655));for(const _0x209a8e of _0x4c2bbe)_0x36c52e[_0x103538(0x11d)](_0x209a8e['id'])||_0x36c52e[_0x103538(0x15b)](_0x209a8e);}}export{s as CloudServicesCommentsAdapter};function _0xc745(_0x3f4574,_0x1f29b0){const _0x4f7f6f=_0x4f7f();return _0xc745=function(_0xc74527,_0x1d26a2){_0xc74527=_0xc74527-0x100;let _0x48f646=_0x4f7f6f[_0xc74527];return _0x48f646;},_0xc745(_0x3f4574,_0x1f29b0);}async function F(_0x9b2f31){const _0x4c9901=_0x5978ba;if(_0x4c9901(0x146)!==_0x9b2f31[_0x4c9901(0x10f)])throw _0x9b2f31;}function _0x4f7f(){const _0x3ae55c=['disconnect','removeComment','mySessionId','keys','cloud-services-internal-error:\x20Not\x20connected.','addUser','off','userId','commentThreadReopened','3568374ztNIMr','536483IginHK','reopen','addCommentThread','unregister','get','resolve','authorId','cloudservicescommentsadapter-service-not-exist','assign','createdAt','commentThreadId','commentUpdated','requires','resolvedAt','Permissions','listenTo','CommentsRepository','update','delete','code','adapter','commentRemoved','commentId','content','getCommentThreads','deletedAt','_terminateService','attributes','1634145xfQfXj','remove','918688sIKsVL','addToReconnectionStack','getComment','getUser','init','commentAdded','getCommentThread','updateComment','add','commentThreadUpdated','message','context','catch','removeCommentThread','plugins','isPremiumPlugin','addComment','sessionAdd:','pluginName','size','has','destroy','commentThreadAdded','startsWith','cloudservicescommentsadapter-disconnect-not-exist','_getService','connect','CommentsService','setPermissions','isOfficialPlugin','_fetchMissingUsersForThreads','register','commentThreadRemoved','collaboration.channelId','permissions','commentThreadResolved','comments','5423292mBuJcr','set','1912048rktdQA','reopenCommentThread','getConnectedSessions','from','updateCommentThread','404','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','7SfcnHL','resolveCommentThread','_connectService','CloudServicesCommentsAdapter','resolvedBy','_setUpService','_services','6285355FHDkkm','reconnect','map','cloudservicescommentsadapter-connect-already-connected','getMany','config','cloud-services-internal-error:\x20Request\x20timeout.'];_0x4f7f=function(){return _0x3ae55c;};return _0x4f7f();}function k(_0x36e8e9){const _0x51e2c3=_0x5978ba;if((_0x4ce9d2=_0x36e8e9)[_0x51e2c3(0x124)][_0x51e2c3(0x131)](_0x51e2c3(0x147))||_0x4ce9d2[_0x51e2c3(0x124)][_0x51e2c3(0x131)](_0x51e2c3(0x15a))||_0x4ce9d2[_0x51e2c3(0x124)][_0x51e2c3(0x131)](_0x51e2c3(0x155)))return new Promise(()=>{});var _0x4ce9d2;throw _0x36e8e9;}function B(_0x5bff90){const _0x2ffaca=_0x5978ba;return{'threadId':_0x5bff90[_0x2ffaca(0x106)],'commentId':_0x5bff90[_0x2ffaca(0x112)],'content':_0x5bff90[_0x2ffaca(0x113)],'createdAt':_0x5bff90[_0x2ffaca(0x105)],'authorId':_0x5bff90[_0x2ffaca(0x15d)],'attributes':_0x5bff90[_0x2ffaca(0x117)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0x5a86(_0xc59439,_0x4c9366){const _0x1f78e4=_0x1f78();return _0x5a86=function(_0x5a8676,_0x50116f){_0x5a8676=_0x5a8676-0x1e3;let _0x330ec5=_0x1f78e4[_0x5a8676];return _0x330ec5;},_0x5a86(_0xc59439,_0x4c9366);}const _0x2b2291=_0x5a86;function _0x1f78(){const _0x4f367b=['change:state','Comments','listenTo','718YHPhXz','config','4588591rEjTUo','isThreadsLoadingPaused','81444HHHMno','once','isOfficialPlugin','ready','2881917BowijY','19301880AIyhUw','470heCpUZ','plugins','connected','init','pluginName','data','_setUpService','_terminateService','3560980JYmbGQ','isPremiumPlugin','4259232ZiichJ','editor','switchReadOnly','get','RealTimeCollaborativeComments','collaboration.channelId','32PGtFWL','destroy','CommentsRepository','CommentsEditing','requires','3037gVTrlQ'];_0x1f78=function(){return _0x4f367b;};return _0x1f78();}(function(_0x5939dd,_0x53a6f1){const _0x54e835=_0x5a86,_0x4a8f2c=_0x5939dd();while(!![]){try{const _0x55062a=-parseInt(_0x54e835(0x1e7))/0x1*(-parseInt(_0x54e835(0x1eb))/0x2)+parseInt(_0x54e835(0x1ff))/0x3+parseInt(_0x54e835(0x1fd))/0x4+parseInt(_0x54e835(0x1f5))/0x5*(-parseInt(_0x54e835(0x1ef))/0x6)+-parseInt(_0x54e835(0x1ed))/0x7+parseInt(_0x54e835(0x205))/0x8*(parseInt(_0x54e835(0x1f3))/0x9)+-parseInt(_0x54e835(0x1f4))/0xa;if(_0x55062a===_0x53a6f1)break;else _0x4a8f2c['push'](_0x4a8f2c['shift']());}catch(_0x3e728b){_0x4a8f2c['push'](_0x4a8f2c['shift']());}}}(_0x1f78,0xc810b));import{Plugin as _0x566792}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x48f121}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x57d247}from'./realtimecollaborativeediting.js';import{WebSocketGateway as _0x174ed5}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x566792{static get[_0x2b2291(0x1e6)](){const _0x5a84f0=_0x2b2291;return[_0x5a84f0(0x1e9),_0x48f121,_0x57d247,_0x174ed5];}static get[_0x2b2291(0x1f9)](){const _0x1f139d=_0x2b2291;return _0x1f139d(0x203);}static get[_0x2b2291(0x1f1)](){return!0x0;}static get[_0x2b2291(0x1fe)](){return!0x0;}[_0x2b2291(0x1f8)](){const _0xcedebe=_0x2b2291,_0x37743c=this[_0xcedebe(0x200)][_0xcedebe(0x1f6)][_0xcedebe(0x202)](_0x174ed5),_0x3072f0=this[_0xcedebe(0x200)][_0xcedebe(0x1f6)][_0xcedebe(0x202)](_0xcedebe(0x1e5)),_0x6efbb8=this[_0xcedebe(0x200)][_0xcedebe(0x1f6)][_0xcedebe(0x202)](_0x48f121);return this[_0xcedebe(0x200)][_0xcedebe(0x1fa)][_0xcedebe(0x1f0)](_0xcedebe(0x1f2),()=>{const _0x5d3c32=_0xcedebe;this[_0x5d3c32(0x1ea)](_0x37743c,_0x5d3c32(0x1e8),(_0x3ea2f0,_0x1a8567,_0x1f6595)=>{const _0x16b936=_0x5d3c32;_0x3072f0[_0x16b936(0x1ee)]=_0x16b936(0x1f7)!==_0x1f6595;});}),this[_0xcedebe(0x1ea)](_0x37743c,_0xcedebe(0x1e8),(_0x234cdc,_0x22f795,_0x2e4b45)=>{const _0x2ba4fc=_0xcedebe;this[_0x2ba4fc(0x200)][_0x2ba4fc(0x1f6)][_0x2ba4fc(0x202)](_0x2ba4fc(0x1e4))[_0x2ba4fc(0x201)](_0x2ba4fc(0x1f7)!==_0x2e4b45);}),_0x6efbb8[_0xcedebe(0x1fb)](this[_0xcedebe(0x200)][_0xcedebe(0x1ec)][_0xcedebe(0x202)](_0xcedebe(0x204)));}[_0x2b2291(0x1e3)](){const _0x31a06e=_0x2b2291;this[_0x31a06e(0x200)][_0x31a06e(0x1f6)][_0x31a06e(0x202)](_0x48f121)[_0x31a06e(0x1fc)](this[_0x31a06e(0x200)][_0x31a06e(0x1ec)][_0x31a06e(0x202)](_0x31a06e(0x204))),super[_0x31a06e(0x1e3)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
24
|
-
((()=>_0x252501)());[_0x5d8795(0x193)];[_0x5d8795(0x1f6)];[_0x5d8795(0x19e)];[_0x5d8795(0x1eb)];[_0x5d8795(0x1b8)];[_0x5d8795(0x1c3)];[_0x5d8795(0x1b0)];[_0x5d8795(0x18f)];[_0x5d8795(0x1bc)];[_0x5d8795(0x234)];[_0x5d8795(0x176)];[_0x5d8795(0x1b2)];[_0x5d8795(0x231)];[_0x5d8795(0x221)];[_0x5d8795(0x1c9)];[_0x5d8795(0x1a2)];[_0x5d8795(0x1cc)];[_0x5d8795(0x217)];static get[_0x5d8795(0x18d)](){return[_0x138e5a,_0x39741a,_0x3e28e8,_0x476eb8,_0x54e9ca,_0x42fec3];}static get[_0x5d8795(0x241)](){const _0xcf2ce6=_0x5d8795;return _0xcf2ce6(0x195);}static get[_0x5d8795(0x199)](){return!0x0;}static get[_0x5d8795(0x1f3)](){return!0x0;}get[_0x5d8795(0x226)](){const _0x5077df=_0x5d8795;return this[_0x5077df(0x1ea)]+this[_0x5077df(0x193)];}get[_0x5d8795(0x1ea)](){const _0x4962cb=_0x5d8795;return this[_0x4962cb(0x19e)][_0x4962cb(0x225)]-this[_0x4962cb(0x193)];}get[_0x5d8795(0x17c)](){const _0x489251=_0x5d8795,_0x555f9e=this[_0x489251(0x19e)][_0x489251(0x153)]();for(let _0x1d46c0=_0x555f9e[_0x489251(0x196)]-0x1;_0x1d46c0>=0x0;_0x1d46c0--){const _0x20fef5=_0x555f9e[_0x1d46c0];if(!this[_0x489251(0x1cc)][_0x489251(0x24f)](_0x20fef5))return _0x20fef5[_0x489251(0x24a)]+0x1-this[_0x489251(0x193)];}return 0x0;}constructor(_0x13f22f){const _0x2717a1=_0x5d8795;if(super(_0x13f22f),this[_0x2717a1(0x193)]=0x0,this[_0x2717a1(0x1f6)]=null,this[_0x2717a1(0x19e)]=new _0x140a69(),this[_0x2717a1(0x1c8)][_0x2717a1(0x21d)][_0x2717a1(0x171)](_0x2717a1(0x1fb),{}),this[_0x2717a1(0x1eb)]=this[_0x2717a1(0x1c8)][_0x2717a1(0x21d)][_0x2717a1(0x1a1)](_0x2717a1(0x250)),!this[_0x2717a1(0x1eb)])throw new _0x46630e(_0x2717a1(0x1d7),this);const _0x8bb56d=_0x13f22f[_0x2717a1(0x21d)][_0x2717a1(0x1a1)](_0x2717a1(0x1da))||_0x4d9ab4;this[_0x2717a1(0x1b8)]=new l[(_0x2717a1(0x16d))](_0x8bb56d,this[_0x2717a1(0x1eb)]),this[_0x2717a1(0x1c3)]=this[_0x2717a1(0x1c8)][_0x2717a1(0x1a7)][_0x2717a1(0x18a)],this[_0x2717a1(0x1b0)]=new _0x1447ce(),this[_0x2717a1(0x18f)]=[],this[_0x2717a1(0x1bc)]=new WeakSet(),this[_0x2717a1(0x234)]=new Set(),this[_0x2717a1(0x1ce)](_0x2717a1(0x227),!0x1),this[_0x2717a1(0x1ce)](_0x2717a1(0x1a4),!0x1),this[_0x2717a1(0x176)]=null,this[_0x2717a1(0x1b2)]=!0x1,this[_0x2717a1(0x231)]=null,this[_0x2717a1(0x221)]=0x12c,this[_0x2717a1(0x1c9)]=this[_0x2717a1(0x221)],this[_0x2717a1(0x1a2)]=null,this[_0x2717a1(0x1cc)]=new WeakSet(),this[_0x2717a1(0x217)]=new tt(this[_0x2717a1(0x1cc)]);}[_0x5d8795(0x175)](){const _0x57dcf6=_0x5d8795,_0x4a0aa7=this[_0x57dcf6(0x1c8)],_0x20dcaf=_0x4a0aa7[_0x57dcf6(0x165)][_0x57dcf6(0x1a1)](_0x54e9ca),_0xdd960b=_0x4a0aa7[_0x57dcf6(0x165)][_0x57dcf6(0x1a1)](_0x138e5a);this[_0x57dcf6(0x215)](_0x20dcaf,_0x57dcf6(0x1d1),(_0x4f94c3,_0x29375a)=>{const _0x19cbe1=_0x57dcf6,_0x1f137f=_0x29375a[0x0];_0x1f137f[_0x19cbe1(0x1b9)]&&(_0x4f94c3[_0x19cbe1(0x187)]=_0x20dcaf[_0x19cbe1(0x156)](_0x1f137f[_0x19cbe1(0x1b9)]),_0x4f94c3[_0x19cbe1(0x168)]()),null===_0x1f137f[_0x19cbe1(0x1b9)]&&(_0x4f94c3[_0x19cbe1(0x187)]=null,_0x4f94c3[_0x19cbe1(0x168)]());},{'priority':_0x57dcf6(0x166)}),this[_0x57dcf6(0x215)](_0x4a0aa7[_0x57dcf6(0x1a7)][_0x57dcf6(0x18a)][_0x57dcf6(0x20c)],_0x57dcf6(0x177),(_0x24f6f3,_0x2ae749)=>{const _0x4115f5=_0x57dcf6;_0x2ae749[_0x4115f5(0x159)]&&this[_0x4115f5(0x20b)]();}),this[_0x57dcf6(0x215)](_0x4a0aa7[_0x57dcf6(0x236)][_0x57dcf6(0x1af)],_0x57dcf6(0x22e),()=>{const _0xd71c88=_0x57dcf6;this[_0xd71c88(0x20b)]();}),this[_0x57dcf6(0x1bd)](),_0x4a0aa7[_0x57dcf6(0x1a7)]['on'](_0x57dcf6(0x1ec),(_0x13f585,_0x2389ed)=>{const _0x26c21e=_0x57dcf6,_0x38de50=_0x2389ed[0x0];_0x38de50[_0x26c21e(0x23e)]&&(this[_0x26c21e(0x15b)](_0x38de50),this[_0x26c21e(0x1f7)]()&&this[_0x26c21e(0x245)]());}),this[_0x57dcf6(0x185)](),this[_0x57dcf6(0x1a9)](_0x57dcf6(0x1e8))['to'](_0xdd960b,_0x57dcf6(0x1c7),this,_0x57dcf6(0x1a4),(_0x4d5fc8,_0x53dc1c)=>_0x57dcf6(0x223)===_0x4d5fc8&&!_0x53dc1c),this['on'](_0x57dcf6(0x24e),()=>{const _0x166863=_0x57dcf6;this[_0x166863(0x1e8)]?_0x4a0aa7[_0x166863(0x160)](_0x166863(0x200)):_0x4a0aa7[_0x166863(0x243)](_0x166863(0x200));}),this[_0x57dcf6(0x1e8)]?_0x4a0aa7[_0x57dcf6(0x160)](_0x57dcf6(0x200)):_0x4a0aa7[_0x57dcf6(0x243)](_0x57dcf6(0x200)),this[_0x57dcf6(0x1ce)](_0x57dcf6(0x1ca),!0x1);}async[_0x5d8795(0x1cf)](){const _0x522c1e=_0x5d8795,_0x353e7d=this[_0x522c1e(0x1c8)][_0x522c1e(0x165)][_0x522c1e(0x1a1)](_0x39741a),_0x2152d0=this[_0x522c1e(0x1c8)][_0x522c1e(0x165)][_0x522c1e(0x1a1)](_0x138e5a);try{this[_0x522c1e(0x227)]=!0x0,_0x353e7d[_0x522c1e(0x22b)](this[_0x522c1e(0x1eb)]);const _0x5a9658=await this[_0x522c1e(0x1b8)][_0x522c1e(0x1cf)](_0x2152d0[_0x522c1e(0x1ff)],this[_0x522c1e(0x17c)]);await this[_0x522c1e(0x17b)](_0x5a9658)&&(this[_0x522c1e(0x227)]=!0x1,this[_0x522c1e(0x205)]());const _0x15f46b=await this[_0x522c1e(0x1b8)][_0x522c1e(0x1f5)]();_0x353e7d[_0x522c1e(0x1fe)](this[_0x522c1e(0x1eb)],_0x15f46b),this[_0x522c1e(0x178)](),this[_0x522c1e(0x1ca)]=!0x0;}catch(_0x491282){if(function(_0x5f1065){const _0x44d689=_0x522c1e;return _0x44d689(0x23f)===_0x5f1065[_0x44d689(0x1d8)];}(_0x491282)&&this[_0x522c1e(0x1f6)])await this[_0x522c1e(0x24b)]();else{if(function(_0x1799d8){const _0xbdc1ee=_0x522c1e;return _0xbdc1ee(0x19c)===_0x1799d8[_0xbdc1ee(0x1d8)];}(_0x491282)){const _0x2aac75=_0x5af1b4(this[_0x522c1e(0x1c8)][_0x522c1e(0x1bf)],_0x522c1e(0x16e));this[_0x522c1e(0x20a)](_0x2aac75);}else{if(!(_0x491282 instanceof Y))throw _0x491282;this[_0x522c1e(0x20a)]();}}}}[_0x5d8795(0x1c0)](){const _0x504756=_0x5d8795,_0x1deeaf=this[_0x504756(0x1c8)][_0x504756(0x165)][_0x504756(0x1a1)](_0x138e5a),_0x341767=this[_0x504756(0x1c8)][_0x504756(0x165)][_0x504756(0x1a1)](_0x39741a);this[_0x504756(0x1c8)][_0x504756(0x243)](_0x504756(0x202)),_0x341767[_0x504756(0x1e5)][_0x504756(0x24f)](this[_0x504756(0x1eb)])&&_0x341767[_0x504756(0x22b)](this[_0x504756(0x1eb)]),_0x1deeaf[_0x504756(0x198)](this),this[_0x504756(0x252)](),super[_0x504756(0x1c0)]();}async[_0x5d8795(0x17b)](_0x367953){const _0x5f3d54=_0x5d8795;if(this[_0x5f3d54(0x1f6)]!==_0x367953[_0x5f3d54(0x1f6)]&&this[_0x5f3d54(0x1a2)]!==_0x367953[_0x5f3d54(0x16b)])throw new Y();return this[_0x5f3d54(0x1f6)]=_0x367953[_0x5f3d54(0x1f6)],this[_0x5f3d54(0x1e0)]([],{..._0x367953,'wereChangesApplied':!0x1,'data':_0x367953[_0x5f3d54(0x15d)]},_0x5f3d54(0x1cf));}async[_0x5d8795(0x18c)](_0x331df1,_0x594047=!0x1){const _0x598466=_0x5d8795,{connection:_0x4b276c}=this[_0x598466(0x1c8)][_0x598466(0x165)][_0x598466(0x1a1)](_0x138e5a);l[_0x598466(0x16d)][_0x598466(0x1f5)](_0x4b276c,this[_0x598466(0x1eb)])[_0x598466(0x1e3)](_0x1315e5=>this[_0x598466(0x1d2)](_0x1315e5))[_0x598466(0x21c)](_0x4b74a5=>{const _0x4ca513=_0x598466;this[_0x4ca513(0x191)](_0x4ca513(0x15a),_0x4b74a5);}),this[_0x598466(0x215)](this[_0x598466(0x1b8)],_0x598466(0x1f2),this[_0x598466(0x1ac)][_0x598466(0x1a9)](this)),this[_0x598466(0x215)](this[_0x598466(0x1b8)],_0x598466(0x16f),(_0x2447c1,_0x51f88a)=>{const _0x4dc6a0=_0x598466;this[_0x4dc6a0(0x191)](_0x4dc6a0(0x218),_0x51f88a);}),this[_0x598466(0x215)](this[_0x598466(0x1b8)],_0x598466(0x188),()=>{const _0x15f2b6=_0x598466;this[_0x15f2b6(0x1ca)]=!0x1;});const _0x5786db=this[_0x598466(0x217)][_0x598466(0x150)](_0x331df1);this[_0x598466(0x227)]=!0x0;const _0x6d39f7=await this[_0x598466(0x1b8)][_0x598466(0x21e)](_0x4b276c,this[_0x598466(0x161)](_0x331df1),_0x5786db);if(this[_0x598466(0x1f6)]=_0x6d39f7[_0x598466(0x1f6)],_0x594047){if(!_0x6d39f7[_0x598466(0x1dd)])return void this[_0x598466(0x20a)]();this[_0x598466(0x227)]=!0x1,this[_0x598466(0x205)](),this[_0x598466(0x19e)][_0x598466(0x167)](),this[_0x598466(0x193)]=_0x6d39f7[_0x598466(0x1c5)],this[_0x598466(0x19e)][_0x598466(0x225)]=this[_0x598466(0x193)],await this[_0x598466(0x1e0)](_0x331df1,_0x6d39f7,_0x598466(0x1aa));}else await this[_0x598466(0x17e)](_0x6d39f7,_0x331df1);this[_0x598466(0x178)](),this[_0x598466(0x1ca)]=!0x0;}[_0x5d8795(0x178)](){const _0x1d4475=_0x5d8795,_0x8c95a1=this[_0x1d4475(0x1c8)][_0x1d4475(0x165)][_0x1d4475(0x1a1)](_0x39741a),_0x4dc181=this[_0x1d4475(0x1c8)][_0x1d4475(0x165)][_0x1d4475(0x1a1)](_0x3e28e8),_0x5e1d60=_0x8c95a1[_0x1d4475(0x1e5)][_0x1d4475(0x1a1)](this[_0x1d4475(0x1eb)]);_0x5e1d60&&_0x5e1d60[_0x1d4475(0x196)]>0x1?_0x4dc181[_0x1d4475(0x249)]():this[_0x1d4475(0x215)](_0x8c95a1,_0x1d4475(0x22f)+this[_0x1d4475(0x1eb)],()=>{const _0x5a85da=_0x1d4475;0x2===_0x8c95a1[_0x5a85da(0x1e5)][_0x5a85da(0x1a1)](this[_0x5a85da(0x1eb)])[_0x5a85da(0x196)]&&_0x4dc181[_0x5a85da(0x249)]();});}async[_0x5d8795(0x1ac)](_0x1676e7,_0x57f235,_0x35ce96,_0x5d2936){const _0x517763=_0x5d8795;if(!this[_0x517763(0x227)]&&this[_0x517763(0x1c3)][_0x517763(0x225)]==_0x57f235){const _0x4d9601=this[_0x517763(0x22d)](_0x35ce96,_0x5d2936);await this[_0x517763(0x1d4)](_0x4d9601),this[_0x517763(0x19a)](_0x4d9601,_0x57f235,_0x35ce96[_0x517763(0x16b)])||this[_0x517763(0x191)](_0x517763(0x1bb));}}async[_0x5d8795(0x24b)](){const _0x238b21=_0x5d8795;this[_0x238b21(0x252)]();const {locale:_0x317d7d}=this[_0x238b21(0x1c8)];let _0x2858b2;try{_0x2858b2=await this[_0x238b21(0x1b8)][_0x238b21(0x220)]();}catch{const _0x22a0af=_0x5af1b4(_0x317d7d,_0x238b21(0x20f));return void this[_0x238b21(0x20a)](_0x22a0af);}const _0x5b9d97=_0x2858b2[_0x238b21(0x209)]||_0x2858b2[_0x238b21(0x210)];if(this[_0x238b21(0x1a2)]!==_0x5b9d97[_0x238b21(0x16b)]){const _0x514f1e=_0x5af1b4(_0x317d7d,_0x238b21(0x17f));return void this[_0x238b21(0x20a)](_0x514f1e);}await this[_0x238b21(0x18c)](this[_0x238b21(0x1c8)][_0x238b21(0x1a7)][_0x238b21(0x18a)][_0x238b21(0x23b)][_0x238b21(0x153)](),!0x0);}[_0x5d8795(0x252)](){const _0x49f5fa=_0x5d8795;this[_0x49f5fa(0x1b8)][_0x49f5fa(0x1b1)](),this[_0x49f5fa(0x18f)]=[],clearTimeout(this[_0x49f5fa(0x231)]),this[_0x49f5fa(0x15f)](this[_0x49f5fa(0x1b8)]);}[_0x5d8795(0x1d2)](_0x4c6f2){const _0x2b096a=_0x5d8795,_0x5e24a4=this[_0x2b096a(0x1c8)][_0x2b096a(0x165)][_0x2b096a(0x1a1)](_0x39741a);this[_0x2b096a(0x215)](_0x5e24a4,_0x2b096a(0x22f)+this[_0x2b096a(0x1eb)],(_0xae48b3,{session:_0x1fc167})=>{const _0x391a07=_0x2b096a;if(_0x1fc167['id']===_0x5e24a4[_0x391a07(0x16c)]){_0xae48b3[_0x391a07(0x173)]();const _0x396e2c=this[_0x391a07(0x1c8)][_0x391a07(0x165)][_0x391a07(0x24f)](_0x391a07(0x1a0))&&this[_0x391a07(0x1c8)][_0x391a07(0x165)][_0x391a07(0x1a1)](_0x391a07(0x1a0));let _0x2c419a=_0x1fc167[_0x391a07(0x1a5)];_0x396e2c&&_0x396e2c[_0x391a07(0x15c)]&&(_0x2c419a=_0x2c419a[_0x391a07(0x1e2)](_0x5ec1f2=>_0x391a07(0x1ab)!==_0x5ec1f2)),this[_0x391a07(0x1c8)][_0x391a07(0x165)][_0x391a07(0x1a1)](_0x391a07(0x19f))[_0x391a07(0x189)](_0x2c419a,this[_0x391a07(0x1eb)]);}}),_0x5e24a4[_0x2b096a(0x1fe)](this[_0x2b096a(0x1eb)],_0x4c6f2);}[_0x5d8795(0x1bd)](){const _0x1d4404=_0x5d8795,_0x1e4d4f=this[_0x1d4404(0x1c8)][_0x1d4404(0x15d)][_0x1d4404(0x1ce)];this[_0x1d4404(0x1c8)][_0x1d4404(0x15d)][_0x1d4404(0x1ce)]=(..._0x26440f)=>{const _0xd5f23f=_0x1d4404;if(!_0x26440f[_0x26440f[_0xd5f23f(0x196)]-0x1][_0xd5f23f(0x17a)])throw new _0x46630e(_0xd5f23f(0x1b4),this);_0x1e4d4f[_0xd5f23f(0x1b3)](this[_0xd5f23f(0x1c8)][_0xd5f23f(0x15d)],_0x26440f);};}[_0x5d8795(0x185)](){const _0x1a5e97=_0x5d8795;this[_0x1a5e97(0x1c8)][_0x1a5e97(0x15d)]['on'](_0x1a5e97(0x175),(_0x288a6b,[_0x4b6f51])=>{const _0x4702f8=_0x1a5e97;if(this[_0x4702f8(0x1c3)][_0x4702f8(0x225)])throw new _0x46630e(_0x4702f8(0x214),this);_0x288a6b[_0x4702f8(0x168)](),this[_0x4702f8(0x1fd)]();const _0xf14564=this[_0x4702f8(0x1c8)][_0x4702f8(0x21d)][_0x4702f8(0x1a1)](_0x4702f8(0x1a8)),_0x2170be=this[_0x4702f8(0x1f0)](_0x4b6f51,_0xf14564);0x0==_0x2170be[_0x4702f8(0x196)]&&_0x2170be[_0x4702f8(0x1ad)](new _0x5eda03(0x0)),_0x288a6b[_0x4702f8(0x187)]=this[_0x4702f8(0x18c)](_0x2170be)[_0x4702f8(0x1e3)](()=>{const _0x146406=_0x4702f8;this[_0x146406(0x1c8)][_0x146406(0x165)][_0x146406(0x1a1)](_0x138e5a)[_0x146406(0x242)](this),this[_0x146406(0x1c8)][_0x146406(0x15d)][_0x146406(0x233)](_0x146406(0x1e4));})[_0x4702f8(0x21c)](_0x55ba8b=>this[_0x4702f8(0x191)](_0x4702f8(0x1f8),_0x55ba8b))[_0x4702f8(0x1fc)](()=>this[_0x4702f8(0x205)]());},{'priority':_0x1a5e97(0x166)}),this[_0x1a5e97(0x1c8)]['on'](_0x1a5e97(0x23c),async(_0x4299a8,[_0x48328d,_0x455b05])=>{const _0x23fefa=_0x1a5e97;_0x4299a8[_0x23fefa(0x168)]();const _0x51feb3=this[_0x23fefa(0x1c8)][_0x23fefa(0x1a7)][_0x23fefa(0x18a)][_0x23fefa(0x1b5)](_0x48328d);if(!this[_0x23fefa(0x234)][_0x23fefa(0x24f)](_0x48328d)){const _0x507d31=_0x455b05&&_0x455b05[_0x23fefa(0x15d)]?_0x455b05[_0x23fefa(0x15d)]:'',_0x1e435c=_0x455b05&&_0x455b05[_0x23fefa(0x1cd)]?_0x455b05[_0x23fefa(0x1cd)]:{};await this[_0x23fefa(0x23d)](_0x48328d,_0x507d31,_0x1e435c);}this[_0x23fefa(0x1c8)][_0x23fefa(0x1a7)][_0x23fefa(0x230)]({'isUndoable':!0x1},()=>{const _0x9c401c=_0x23fefa;_0x51feb3[_0x9c401c(0x1ed)]=!0x0,this[_0x9c401c(0x1c8)][_0x9c401c(0x1a7)][_0x9c401c(0x18a)][_0x9c401c(0x1e6)][_0x9c401c(0x170)](_0x51feb3);});},{'priority':_0x1a5e97(0x166)});}async[_0x5d8795(0x1d4)](_0x32e554){const _0x908dc9=_0x5d8795,_0x25c8bc=this[_0x908dc9(0x1c8)][_0x908dc9(0x165)][_0x908dc9(0x1a1)](_0x54e9ca),{connection:_0x135624}=this[_0x908dc9(0x1c8)][_0x908dc9(0x165)][_0x908dc9(0x1a1)](_0x138e5a),_0x387b06=new Set();for(const _0x25f550 of _0x32e554){const _0x247cd4=_0x25f550[_0x908dc9(0x1b9)];_0x247cd4&&!_0x25c8bc[_0x908dc9(0x156)](_0x247cd4)&&_0x387b06[_0x908dc9(0x164)](_0x247cd4);}if(0x0===_0x387b06[_0x908dc9(0x16a)])return;const _0x6c0eb1=await _0x42bc8d[_0x908dc9(0x232)](_0x135624,Array[_0x908dc9(0x239)](_0x387b06));for(const _0x4e6dd8 of _0x6c0eb1)_0x25c8bc[_0x908dc9(0x156)](_0x4e6dd8['id'])||_0x25c8bc[_0x908dc9(0x1d9)](_0x4e6dd8);}[_0x5d8795(0x1f0)](_0x4f1bc3,_0x3bf9ef={}){const _0x5b66cf=_0x5d8795,_0x59efa5=this[_0x5b66cf(0x1c8)][_0x5b66cf(0x1a7)],_0xfcbf45=[];let _0x21fed6=0x0;const _0x427432=_0x5b66cf(0x224)==typeof _0x4f1bc3?{'main':_0x4f1bc3}:_0x4f1bc3;for(const _0xeb9ad of Object[_0x5b66cf(0x216)](_0x427432)){if(!this[_0x5b66cf(0x1c3)][_0x5b66cf(0x1d5)][_0x5b66cf(0x24f)](_0xeb9ad))throw new _0x46630e(_0x5b66cf(0x1dc),this);const _0x40e8b1=this[_0x5b66cf(0x1c8)][_0x5b66cf(0x15d)][_0x5b66cf(0x207)](_0x427432[_0xeb9ad]),_0x1720b5=this[_0x5b66cf(0x1c3)][_0x5b66cf(0x1b5)](_0xeb9ad),_0x213a4d=new _0x148a98(_0x59efa5[_0x5b66cf(0x1ef)](_0x1720b5,0x0),_0x40e8b1,_0x21fed6++);_0xfcbf45[_0x5b66cf(0x1ad)](_0x213a4d);for(const [_0x16a677,_0x50305a]of _0x40e8b1[_0x5b66cf(0x15e)]){const _0x2d9d3f=_0x59efa5[_0x5b66cf(0x1ae)](_0x59efa5[_0x5b66cf(0x211)](_0x1720b5,_0x50305a[_0x5b66cf(0x183)][_0x5b66cf(0x1b7)][_0x5b66cf(0x14e)]()),_0x59efa5[_0x5b66cf(0x211)](_0x1720b5,_0x50305a[_0x5b66cf(0x172)][_0x5b66cf(0x1b7)][_0x5b66cf(0x14e)]())),_0x4796fa=new _0xd539d(_0x16a677,null,_0x2d9d3f,_0x59efa5[_0x5b66cf(0x15e)],!0x0,_0x21fed6++);_0xfcbf45[_0x5b66cf(0x1ad)](_0x4796fa);}}if(_0x3bf9ef)for(const [_0x917966,_0x286f4f]of Object[_0x5b66cf(0x244)](_0x3bf9ef)){const _0x28e57d=_0x59efa5[_0x5b66cf(0x18a)][_0x5b66cf(0x1b5)](_0x917966);if(!_0x28e57d)throw new _0x46630e(_0x5b66cf(0x192),null);for(const [_0x2f9cbc,_0x3c72ef]of Object[_0x5b66cf(0x244)](_0x286f4f))if(null!==_0x3c72ef){const _0x1686c1=new _0x486427(_0x28e57d,_0x2f9cbc,null,_0x3c72ef,_0x21fed6++);_0xfcbf45[_0x5b66cf(0x1ad)](_0x1686c1);}}return _0xfcbf45;}async[_0x5d8795(0x23d)](_0x667904,_0x5e8b0c,_0x270dde){const _0x12472e=_0x5d8795;this[_0x12472e(0x1f0)]({[_0x667904]:_0x5e8b0c},{[_0x667904]:_0x270dde})[_0x12472e(0x152)]((_0x3a372d,_0x5157f1)=>{const _0x2a92b9=_0x12472e;_0x3a372d[_0x2a92b9(0x24a)]=this[_0x2a92b9(0x1c3)][_0x2a92b9(0x225)]+_0x5157f1,_0x3a372d[_0x2a92b9(0x20d)]=!0x0,this[_0x2a92b9(0x15b)](_0x3a372d);}),this[_0x12472e(0x245)](),await this[_0x12472e(0x1a3)]();}async[_0x5d8795(0x17e)](_0x138cd9,_0x23f731){const _0x35cde1=_0x5d8795;let _0x451ef5;this[_0x35cde1(0x193)]=_0x138cd9[_0x35cde1(0x1c5)];const _0x49a892=_0x138cd9[_0x35cde1(0x1dd)]&&!_0x138cd9[_0x35cde1(0x229)],_0x6d096f=_0x49a892?0x0:_0x138cd9[_0x35cde1(0x15d)][_0x35cde1(0x24a)];if(_0x23f731[_0x35cde1(0x152)](_0x290649=>{const _0x44893c=_0x35cde1;_0x290649[_0x44893c(0x20d)]=!0x0,_0x290649[_0x44893c(0x194)]=_0x138cd9[_0x44893c(0x1f1)],_0x290649[_0x44893c(0x1b9)]=null;}),_0x49a892)_0x451ef5=_0x23f731,this[_0x35cde1(0x1c6)](_0x451ef5,_0x49a892);else{if(_0x138cd9[_0x35cde1(0x229)]){const _0x545c4d=this[_0x35cde1(0x1f0)](_0x138cd9[_0x35cde1(0x229)]);this[_0x35cde1(0x1c3)][_0x35cde1(0x23b)][_0x35cde1(0x225)]=-_0x545c4d[_0x35cde1(0x196)],_0x545c4d[_0x35cde1(0x152)](_0xe6130b=>{const _0xdf6a4a=_0x35cde1;_0xe6130b[_0xdf6a4a(0x24a)]-=_0x545c4d[_0xdf6a4a(0x196)],_0xe6130b[_0xdf6a4a(0x194)]=_0x138cd9[_0xdf6a4a(0x1f1)],_0xe6130b[_0xdf6a4a(0x20d)]=!0x0,_0xe6130b[_0xdf6a4a(0x1b9)]=null;}),this[_0x35cde1(0x1c6)](_0x545c4d,!0x0),this[_0x35cde1(0x19e)][_0x35cde1(0x225)]=-_0x545c4d[_0x35cde1(0x196)]+this[_0x35cde1(0x193)],this[_0x35cde1(0x247)](_0x545c4d);}this[_0x35cde1(0x1c3)][_0x35cde1(0x23b)][_0x35cde1(0x225)]=_0x6d096f,_0x451ef5=this[_0x35cde1(0x22d)](_0x138cd9[_0x35cde1(0x15d)],_0x138cd9[_0x35cde1(0x1ee)]),await this[_0x35cde1(0x1d4)](_0x451ef5),this[_0x35cde1(0x1c6)](_0x451ef5,_0x49a892);}_0x138cd9[_0x35cde1(0x16b)]&&(this[_0x35cde1(0x217)][_0x35cde1(0x201)](_0x451ef5,_0x138cd9[_0x35cde1(0x16b)]),this[_0x35cde1(0x1a2)]=_0x138cd9[_0x35cde1(0x16b)]),this[_0x35cde1(0x19e)][_0x35cde1(0x225)]=_0x6d096f+this[_0x35cde1(0x193)],this[_0x35cde1(0x247)](_0x451ef5),_0x23f731[_0x35cde1(0x1e2)](_0x17cd00=>{const _0x39f72f=_0x35cde1,_0x335b86=this[_0x39f72f(0x253)](_0x17cd00);return _0x335b86&&!this[_0x39f72f(0x234)][_0x39f72f(0x24f)](_0x335b86);})[_0x35cde1(0x152)]((_0x5453ff,_0x27b6ee)=>{const _0x437202=_0x35cde1;_0x5453ff[_0x437202(0x24a)]=this[_0x437202(0x1c3)][_0x437202(0x225)]+_0x27b6ee,this[_0x437202(0x15b)](_0x5453ff);}),this[_0x35cde1(0x1f7)]()?(this[_0x35cde1(0x1c9)]=0x0,this[_0x35cde1(0x245)](!0x0),await this[_0x35cde1(0x1a3)]()):(this[_0x35cde1(0x227)]=!0x1,this[_0x35cde1(0x205)]());}[_0x5d8795(0x191)](_0x37b559,_0x5bdd4e){const _0x4b48eb=_0x5d8795,_0x2b79cf=_0x5bdd4e&&_0x5bdd4e[_0x4b48eb(0x237)];if(_0x2b79cf&&_0x2b79cf[_0x4b48eb(0x154)](_0x4b48eb(0x151)))throw _0x5bdd4e;const _0x4b89d6=this[_0x4b48eb(0x1c8)][_0x4b48eb(0x165)][_0x4b48eb(0x1a1)](_0x138e5a);throw this[_0x4b48eb(0x227)]=!0x0,_0x4b89d6[_0x4b48eb(0x1b1)](),this[_0x4b48eb(0x1c8)][_0x4b48eb(0x243)](_0x4b48eb(0x24d)),new _0x46630e(_0x37b559,this[_0x4b48eb(0x1c8)],_0x2b79cf?{'originalError':_0x2b79cf}:void 0x0);}[_0x5d8795(0x15b)](_0x3b5c45){const _0x15a784=_0x5d8795;this[_0x15a784(0x1bc)][_0x15a784(0x24f)](_0x3b5c45)||(this[_0x15a784(0x1bc)][_0x15a784(0x164)](_0x3b5c45),this[_0x15a784(0x18f)][_0x15a784(0x1ad)](_0x3b5c45),this[_0x15a784(0x176)]||_0x15a784(0x246)==_0x3b5c45[_0x15a784(0x1c2)]&&!_0x3b5c45[_0x15a784(0x18b)]||this[_0x15a784(0x1fd)]());}[_0x5d8795(0x245)](_0x54897c=!0x1){const _0x352cb0=_0x5d8795;!_0x54897c&&this[_0x352cb0(0x227)]||(this[_0x352cb0(0x227)]=!0x0,clearTimeout(this[_0x352cb0(0x231)]),this[_0x352cb0(0x231)]=setTimeout(()=>{const _0x119bd0=_0x352cb0;this[_0x119bd0(0x248)]()[_0x119bd0(0x1e3)](_0x20cd48=>{const _0x190f84=_0x119bd0;_0x20cd48&&(this[_0x190f84(0x205)](),this[_0x190f84(0x227)]=!0x1);})[_0x119bd0(0x21c)](_0x39bf27=>{const _0x51b75d=_0x119bd0;this[_0x51b75d(0x205)](),this[_0x51b75d(0x227)]=!0x1,function(_0xeea102){const _0x886840=_0x51b75d;return _0xeea102[_0x886840(0x237)][_0x886840(0x154)](_0x886840(0x179))||_0xeea102[_0x886840(0x237)][_0x886840(0x154)](_0x886840(0x1de))||_0xeea102[_0x886840(0x237)][_0x886840(0x154)](_0x886840(0x162));}(_0x39bf27)||this[_0x51b75d(0x191)](_0x39bf27[_0x51b75d(0x237)],_0x39bf27);});},this[_0x352cb0(0x1c9)]));}[_0x5d8795(0x1a3)](){return new Promise(_0x1f7ffe=>{const _0x148c7d=_0x3add;this['on'](_0x148c7d(0x203),()=>{_0x1f7ffe();});});}async[_0x5d8795(0x248)](){const _0x1a3f2f=_0x5d8795,_0xd152c8=this[_0x1a3f2f(0x1c8)][_0x1a3f2f(0x165)][_0x1a3f2f(0x1a1)](_0x3e28e8);if(this[_0x1a3f2f(0x1b6)]()&&(_0xd152c8[_0x1a3f2f(0x249)](),this[_0x1a3f2f(0x1b2)]=!0x1),!this[_0x1a3f2f(0x1f7)]())return!0x0;const _0xaa6d80=[...this[_0x1a3f2f(0x18f)]];for(const _0x2a360a of _0xaa6d80)_0x2a360a[_0x1a3f2f(0x1c4)]=this[_0x1a3f2f(0x1c3)][_0x1a3f2f(0x23b)][_0x1a3f2f(0x22a)](_0x2a360a);const _0x37c614=this[_0x1a3f2f(0x217)][_0x1a3f2f(0x150)](_0xaa6d80),_0x1f9b18=X++,_0x50eba4=this[_0x1a3f2f(0x161)](_0xaa6d80),_0x4efffc=await this[_0x1a3f2f(0x1b8)][_0x1a3f2f(0x23a)](_0x50eba4,_0x50eba4[_0x1a3f2f(0x24a)],_0x37c614);try{return await this[_0x1a3f2f(0x1e0)](_0xaa6d80,_0x4efffc,_0x1f9b18);}catch(_0x15c8a2){return this[_0x1a3f2f(0x191)](_0x1a3f2f(0x213),_0x15c8a2);}}async[_0x5d8795(0x1e0)](_0x516050,_0x264704,_0x1fbd3a){const _0x3bdb0a=_0x5d8795;if(_0x3bdb0a(0x16f)in _0x264704)throw _0x264704[_0x3bdb0a(0x16f)];let _0x51bc56=!0x1;if(_0x264704[_0x3bdb0a(0x1dd)]){_0x264704[_0x3bdb0a(0x16b)]&&(this[_0x3bdb0a(0x1a2)]=_0x264704[_0x3bdb0a(0x16b)]),this[_0x3bdb0a(0x18f)]=this[_0x3bdb0a(0x18f)][_0x3bdb0a(0x1e2)](_0x51f997=>!_0x516050[_0x3bdb0a(0x155)](_0x51f997));for(const _0x22892c of _0x516050)_0x22892c[_0x3bdb0a(0x194)]=_0x3bdb0a(0x174)in _0x264704&&_0x264704[_0x3bdb0a(0x174)]||void 0x0;Z(_0x516050,_0x264704[_0x3bdb0a(0x225)]-_0x516050[_0x3bdb0a(0x196)]),this[_0x3bdb0a(0x247)](_0x516050);const _0x59d1d9=_0x516050[_0x3bdb0a(0x1e2)](_0x3d90cf=>{const _0x40f8f0=_0x3bdb0a;if(!_0x3d90cf[_0x40f8f0(0x20d)])return!0x1;const _0x93e319=this[_0x40f8f0(0x253)](_0x3d90cf);return _0x93e319&&!this[_0x40f8f0(0x234)][_0x40f8f0(0x24f)](_0x93e319);});Z(_0x59d1d9,this[_0x3bdb0a(0x1c3)][_0x3bdb0a(0x225)]),this[_0x3bdb0a(0x1c6)](_0x59d1d9),_0x51bc56=!0x0,this[_0x3bdb0a(0x1c9)]=this[_0x3bdb0a(0x221)];}else{const _0x5a8474=this[_0x3bdb0a(0x22d)](_0x264704[_0x3bdb0a(0x15d)],_0x264704[_0x3bdb0a(0x1ee)])[_0x3bdb0a(0x1e2)](_0x40af1a=>_0x40af1a[_0x3bdb0a(0x24a)]>=this[_0x3bdb0a(0x1ea)]);_0x5a8474[_0x3bdb0a(0x152)](_0x3ce614=>this[_0x3bdb0a(0x19d)](_0x3ce614)),this[_0x3bdb0a(0x18f)]=this[_0x3bdb0a(0x18f)][_0x3bdb0a(0x1e2)](_0x4641da=>!_0x4641da[_0x3bdb0a(0x20d)]||!this[_0x3bdb0a(0x234)][_0x3bdb0a(0x24f)](this[_0x3bdb0a(0x253)](_0x4641da))),this[_0x3bdb0a(0x18f)][_0x3bdb0a(0x196)]&&Z(this[_0x3bdb0a(0x18f)],this[_0x3bdb0a(0x18f)][0x0][_0x3bdb0a(0x24a)]),await this[_0x3bdb0a(0x1d4)](_0x5a8474),_0x51bc56=this[_0x3bdb0a(0x19a)](_0x5a8474,_0x264704[_0x3bdb0a(0x225)],_0x264704[_0x3bdb0a(0x16b)]),this[_0x3bdb0a(0x1c9)]=Math[_0x3bdb0a(0x157)](this[_0x3bdb0a(0x1c9)]/0x2);}return _0x51bc56?!this[_0x3bdb0a(0x1f7)]()||(this[_0x3bdb0a(0x245)](!0x0),!0x1):this[_0x3bdb0a(0x191)](_0x3bdb0a(0x163));}[_0x5d8795(0x19a)](_0x30e2f5,_0x1f7e0d,_0x5efdbc){const _0x176408=_0x5d8795;try{const _0x185a54={'document':this[_0x176408(0x1c3)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x338335,operationsB:_0x1234cc,originalOperations:_0x405fe2}=_0x205bc5(_0x30e2f5,this[_0x176408(0x18f)],_0x185a54);Z(_0x338335,this[_0x176408(0x1c3)][_0x176408(0x225)]),Z(_0x1234cc,_0x1f7e0d);for(const _0x2c54c7 of _0x338335){const _0xac1fa8=_0x405fe2[_0x176408(0x1a1)](_0x2c54c7);_0x2c54c7[_0x176408(0x1b9)]=_0xac1fa8?_0xac1fa8[_0x176408(0x1b9)]:null;}_0x5efdbc&&(this[_0x176408(0x217)][_0x176408(0x201)](_0x30e2f5,_0x5efdbc),this[_0x176408(0x1a2)]=_0x5efdbc),this[_0x176408(0x18f)]=[..._0x1234cc],this[_0x176408(0x1c6)](_0x338335),this[_0x176408(0x247)](_0x30e2f5);}catch(_0x5a2373){return console[_0x176408(0x16f)](_0x5a2373),!0x1;}return!0x0;}[_0x5d8795(0x1c6)](_0x30e2ed,_0x503b9f=!0x1){const _0x403569=_0x5d8795;this[_0x403569(0x1c8)][_0x403569(0x1a7)][_0x403569(0x230)]({'isUndoable':!0x1,'isLocal':!0x1},_0x3f2c7d=>{const _0x4259a8=_0x403569;for(const _0x550746 of _0x30e2ed)this[_0x4259a8(0x1bc)][_0x4259a8(0x164)](_0x550746),this[_0x4259a8(0x19d)](_0x550746),_0x3f2c7d[_0x4259a8(0x1ba)][_0x4259a8(0x1d6)](_0x550746),this[_0x4259a8(0x1c8)][_0x4259a8(0x1a7)][_0x4259a8(0x1ec)](_0x550746);});}[_0x5d8795(0x19d)](_0x325e5d){const _0x5256e2=_0x5d8795,_0x4e6d8c=this[_0x5256e2(0x253)](_0x325e5d);_0x4e6d8c&&this[_0x5256e2(0x234)][_0x5256e2(0x164)](_0x4e6d8c);}[_0x5d8795(0x253)](_0x2f839e){const _0x1cd881=_0x5d8795;let _0xed4da3,_0x1a011a;switch(_0x2f839e[_0x1cd881(0x1c2)]){case _0x1cd881(0x169):_0xed4da3=_0x2f839e[_0x1cd881(0x1fa)][_0x1cd881(0x212)];break;case _0x1cd881(0x246):if(_0x1a011a=_0x2f839e[_0x1cd881(0x20e)],!_0x1a011a)return null;_0xed4da3=_0x1a011a[_0x1cd881(0x212)];break;case _0x1cd881(0x18e):_0xed4da3=_0x2f839e[_0x1cd881(0x212)];break;case _0x1cd881(0x251):_0xed4da3=_0x2f839e[_0x1cd881(0x158)];break;case _0x1cd881(0x1cb):_0xed4da3=_0x2f839e[_0x1cd881(0x204)][_0x1cd881(0x212)];break;default:return null;}return _0xed4da3[_0x1cd881(0x1d0)];}[_0x5d8795(0x247)](_0x4ba19a){const _0x32f99b=_0x5d8795;_0x4ba19a[_0x32f99b(0x152)](_0x214a4d=>{const _0x114eb5=_0x32f99b,_0x3ab14e=_0x214a4d[_0x114eb5(0x1e7)]();_0x3ab14e[_0x114eb5(0x1b9)]=_0x214a4d[_0x114eb5(0x1b9)],_0x3ab14e[_0x114eb5(0x20d)]=!!_0x214a4d[_0x114eb5(0x20d)],_0x3ab14e[_0x114eb5(0x194)]=_0x214a4d[_0x114eb5(0x194)],_0x3ab14e[_0x114eb5(0x24a)]+=this[_0x114eb5(0x193)],_0x214a4d[_0x114eb5(0x1df)]&&this[_0x114eb5(0x1cc)][_0x114eb5(0x164)](_0x3ab14e),this[_0x114eb5(0x19e)][_0x114eb5(0x1d6)](_0x3ab14e);});}[_0x5d8795(0x20a)](_0x257eed){const _0x1b9aa7=_0x5d8795,_0x2d530b=this[_0x1b9aa7(0x1c8)][_0x1b9aa7(0x165)][_0x1b9aa7(0x1a1)](_0x1b9aa7(0x238)),_0x2a888c=this[_0x1b9aa7(0x1c8)][_0x1b9aa7(0x1bf)];_0x257eed||(_0x257eed=_0x5af1b4(_0x2a888c,_0x1b9aa7(0x19b))),_0x2d530b[_0x1b9aa7(0x24c)](_0x257eed,{'title':_0x5af1b4(_0x2a888c,_0x1b9aa7(0x235)),'namespace':_0x1b9aa7(0x21f)}),this[_0x1b9aa7(0x1a4)]=!0x0,clearTimeout(this[_0x1b9aa7(0x231)]),this[_0x1b9aa7(0x18f)]=[],this[_0x1b9aa7(0x1c8)][_0x1b9aa7(0x165)][_0x1b9aa7(0x1a1)](_0x138e5a)[_0x1b9aa7(0x1b1)]();}[_0x5d8795(0x1fd)](){const _0x1c3ccf=_0x5d8795;this[_0x1c3ccf(0x176)]||(this[_0x1c3ccf(0x176)]=this[_0x1c3ccf(0x1c8)][_0x1c3ccf(0x165)][_0x1c3ccf(0x1a1)](_0x476eb8)[_0x1c3ccf(0x164)](_0x5af1b4(this[_0x1c3ccf(0x1c8)][_0x1c3ccf(0x1bf)],_0x1c3ccf(0x219))));}[_0x5d8795(0x205)](){const _0x9b4d14=_0x5d8795;this[_0x9b4d14(0x176)]&&(this[_0x9b4d14(0x1c8)][_0x9b4d14(0x165)][_0x9b4d14(0x1a1)](_0x476eb8)[_0x9b4d14(0x1be)](this[_0x9b4d14(0x176)]),this[_0x9b4d14(0x176)]=null);}[_0x5d8795(0x161)](_0x2e9fc3){const _0x4e1f8c=_0x5d8795,_0x44024b=_0x2e9fc3[_0x4e1f8c(0x22c)](_0x368d8c=>_0x368d8c[_0x4e1f8c(0x208)]());return this[_0x4e1f8c(0x1b0)][_0x4e1f8c(0x184)](_0x44024b);}[_0x5d8795(0x22d)](_0x280d4f,_0x4f4306){const _0x36af32=_0x5d8795;return this[_0x36af32(0x1b0)][_0x36af32(0x1e1)](_0x280d4f)[_0x36af32(0x22c)]((_0x27c1e9,_0x4bcede)=>{const _0x4aefdc=_0x36af32,_0x359792=_0x4aefdc(0x175)==_0x4f4306[_0x4bcede][_0x4aefdc(0x1c2)];if(_0x4aefdc(0x190)==_0x27c1e9[_0x4aefdc(0x1c1)]){const _0xa8d6ed=_0x27c1e9[_0x4aefdc(0x1fa)][_0x4aefdc(0x212)];!this[_0x4aefdc(0x1c3)][_0x4aefdc(0x1b5)](_0xa8d6ed)&&(this[_0x4aefdc(0x1c3)][_0x4aefdc(0x1f9)](_0x4aefdc(0x1a6),_0xa8d6ed)[_0x4aefdc(0x1f4)]=!0x1);}const _0x20b414=_0x409321[_0x4aefdc(0x206)](_0x27c1e9,this[_0x4aefdc(0x1c3)]);return _0x20b414[_0x4aefdc(0x1c4)]=_0x27c1e9[_0x4aefdc(0x1c4)],_0x20b414[_0x4aefdc(0x20d)]=_0x359792,_0x20b414[_0x4aefdc(0x1b9)]=_0x359792?null:_0x4f4306[_0x4bcede][_0x4aefdc(0x21a)],_0x20b414[_0x4aefdc(0x1df)]=_0x4aefdc(0x17d)===_0x4f4306[_0x4bcede][_0x4aefdc(0x1c2)],_0x20b414[_0x4aefdc(0x194)]=_0x4f4306[_0x4bcede][_0x4aefdc(0x194)],_0x20b414;});}[_0x5d8795(0x20b)](){const _0x36af92=_0x5d8795;this[_0x36af92(0x1b2)]=!0x0,this[_0x36af92(0x1b6)]()?this[_0x36af92(0x245)]():this[_0x36af92(0x1b2)]=!0x1;}[_0x5d8795(0x1b6)](){const _0x4719a1=_0x5d8795,_0x352b81=this[_0x4719a1(0x1c8)][_0x4719a1(0x165)][_0x4719a1(0x1a1)](_0x39741a)[_0x4719a1(0x1e5)][_0x4719a1(0x1a1)](this[_0x4719a1(0x1eb)]);return!this[_0x4719a1(0x1c8)][_0x4719a1(0x228)]&&!!_0x352b81&&_0x352b81[_0x4719a1(0x196)]>0x1&&this[_0x4719a1(0x1b2)];}[_0x5d8795(0x1f7)](){const _0x5409b=_0x5d8795;return this[_0x5409b(0x18f)][_0x5409b(0x196)]>0x0||this[_0x5409b(0x1b6)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x44644e,_0x191df7){const _0x162da0=_0x5d8795;for(const _0x2465c6 of _0x44644e)_0x2465c6[_0x162da0(0x24a)]=_0x191df7++;}class tt{[_0x5d8795(0x181)];[_0x5d8795(0x14f)];constructor(_0x481027){const _0x31e9e9=_0x5d8795;this[_0x31e9e9(0x181)]=_0x481027,this[_0x31e9e9(0x14f)]=new WeakMap();}[_0x5d8795(0x150)](_0x4af751){const _0x3a591d=_0x5d8795;let _0x458f34=_0x4af751[_0x3a591d(0x196)];for(;_0x458f34--;){const _0x5baa60=_0x4af751[_0x458f34];if(!this[_0x3a591d(0x181)][_0x3a591d(0x24f)](_0x5baa60)){if(!this[_0x3a591d(0x14f)][_0x3a591d(0x24f)](_0x5baa60)){const _0x4ae0e8=_0x1f3b4e()[_0x3a591d(0x14e)](0x1,0x12);this[_0x3a591d(0x14f)][_0x3a591d(0x1ce)](_0x5baa60,_0x4ae0e8);}return this[_0x3a591d(0x14f)][_0x3a591d(0x1a1)](_0x5baa60);}}}[_0x5d8795(0x201)](_0x3af255,_0x569f5d){const _0x5a74d4=_0x5d8795;if(!_0x569f5d)return;let _0x494571=_0x3af255[_0x5a74d4(0x196)];for(;_0x494571--;){const _0x136a5c=_0x3af255[_0x494571];this[_0x5a74d4(0x181)][_0x5a74d4(0x24f)](_0x136a5c)||this[_0x5a74d4(0x14f)][_0x5a74d4(0x1ce)](_0x136a5c,_0x569f5d);}}}
|
|
23
|
+
function _0x44e0(){const _0x32c47a=['710XfdKGC','3864786BNIokZ','_disconnectService','sendOperations','sessionCreatedAt','decompress','view','reconnection:\x20flushed\x20session','ready','wereChangesApplied','realtimecollaborationclient','_isPendingUpdate','_hasSynchronizationProblem','change:hasDomSelection','end','_knownOperations','_isDisconnection','CommentsOnly','setPermissions','document:write','_decompressOperations','disableReadOnlyMode','_channelId','_isLoaded','isEnabled','_refreshUserSelectionMarkers','_connectService','createRange','change:_isPendingUpdate','string','_sendBufferedOperationsDelayed','_lastSyncedOperationId','connection','Notification','_handleInitialConnectionData','_handleReconnectionError','loadRoot','_lastServerVersion','_getAffectedRoot','5TUnmmM','_connectAfterSessionHasBeenFlushed','_bufferRootLoad','_handleSendingSelectionMarkers','bind','add','round','_operationToId','createUserMarkerOperations','change:_isEditingAllowed','from','_disconnectionOperations','markers','_saveOperationInBuffer','state','collaboration-missing-channelid','plugins','version','fromJSON','realtimecollaborationclient-init-connection-failed','_isInit','_knownRootNames','addOperation','metadata','getOperationAuthor','remove','lastSyncVersion','5218136DgewjU','_fetchMissingUsers','offset','entries','connected','selection','lastOperationAcceptedAt','init','isPremiumPlugin','set','multi-root-editor-root-attributes-no-root','stop','enqueueChange','destroy','path','_isConnected','_handleReceivedOperations','getConnectedSessions','_crash','compress','isReadOnly','rootName','getUser','marker','editor','rootsAttributes','forEach','affectsData','start','_addKnownRoot','_getOperationsFromInitData','cloudDocumentVersion','realtimecollaborationclient-sendbufferedoperations','map','isUndoneOperation','model','_isEditingAllowed','channelSessions','startsWith','message','getOperations','position','return','isDocumentOperation','length','batch','163684dmbTDM','enableReadOnlyMode','_waitUntilSynced','realtimecollaborationclient-error','slice','operationsReceived','unregister','_compressOperations','initData','data','catch','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','createRoot','history','serverHistory','push','_handleReconnectionResponse','finally','removeFromReconnectionStack','document','error','createPositionAt','size','rtc-offline','_compressor','off','realtimecollaborationclient-init-session-connection-error','requires','_sendBufferedOperations','_initThrowingOnDataSet','_initSessionsHandling','_loadRoot','409','getDocumentDetails','disconnected','1gmdqIC','pluginName','addRoot','isOfficialPlugin','83493SSjiDN','collaboration.channelId','sessionAdd:','_currentBufferDelay','realtimecollaborationclient-init-document-already-initialized','__className','_isAttached','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','_shouldSendSelectionUpdate','createdAt','insert','directChange','_ignoredOperations','InsertOperation','realtimecollaborationclient-init-service-internal-error','affectedSelectable','CollaborativeEditingService','applyOperation','rtc-destroyed','_setPendingAction','locale','fire','lastDocumentSession','permissions','RealTimeCollaborationClient','reset','connect','_updateServerHistory','root','_handleServerResponse','cloudServices.bundleVersion','currentDocumentSession','disconnect','includes','addUser','_handleExternalOperations','reconnect','editing','createPositionFromPath','mySessionId','register','_baseBufferDelay','type','cs:removeUser','getRoot','collaboration','code','real-time-collaboration','addRootAttribute','get','_shouldSendUpdate','targetPosition','then','realtimecollaborationclient-init-non-existent-root','_pendingAction','_hasSelectionChanged','realtimecollaborationclient-init-service-incorrect-server-operation','_document','realtimecollaborationclient-handleserverresponse','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.','differ','cloud-services-internal-error:\x20Request\x20timeout.','listenTo','clone','setIdForTheLastOperation','1094694hlGVlJ','_service','sessionId','addToReconnectionStack','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','config','Synchronization\x20issue','PENDING_ACTION_SENDING_DATA','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.','Permissions','cloud-services-internal-error:\x20Not\x20connected.','baseVersion','parse','define','filter','_setUpDataInit','_applyOperationsSet','404','1352184FEREVQ','high','keys','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','showWarning','_authorId','getIdOfTheLastOperation','lastOperationId','apply','_operationIdentifier','move','has','roots','wasUndone','_bufferedOperations','_clearPendingAction','3610776MaGVsh','newRange','toJSON','_offset','_sendBufferedOperationsDelayId','userId','suppressErrorInCollaboration','getMany','$root','stopListening','attributes','change:range'];_0x44e0=function(){return _0x32c47a;};return _0x44e0();}function _0xd4c1(_0x4170a8,_0x2216c0){const _0x44e011=_0x44e0();return _0xd4c1=function(_0xd4c155,_0xe77dcf){_0xd4c155=_0xd4c155-0x11c;let _0x39cd48=_0x44e011[_0xd4c155];return _0x39cd48;},_0xd4c1(_0x4170a8,_0x2216c0);}const _0x42067f=_0xd4c1;(function(_0x16399c,_0x354050){const _0x270772=_0xd4c1,_0x38f7f3=_0x16399c();while(!![]){try{const _0x485e1d=-parseInt(_0x270772(0x1b9))/0x1*(parseInt(_0x270772(0x196))/0x2)+-parseInt(_0x270772(0x1fe))/0x3+-parseInt(_0x270772(0x210))/0x4+parseInt(_0x270772(0x14d))/0x5*(-parseInt(_0x270772(0x127))/0x6)+parseInt(_0x270772(0x168))/0x7+parseInt(_0x270772(0x220))/0x8+parseInt(_0x270772(0x1bd))/0x9*(parseInt(_0x270772(0x126))/0xa);if(_0x485e1d===_0x354050)break;else _0x38f7f3['push'](_0x38f7f3['shift']());}catch(_0x24180f){_0x38f7f3['push'](_0x38f7f3['shift']());}}}(_0x44e0,0x68231));import{Plugin as _0x155f6a,PendingActions as _0x5ef522}from'ckeditor5/src/core.js';import{CKEditorError as _0x43f757,version as _0x3bc043,uid as _0xb55173}from'ckeditor5/src/utils.js';import{Notification as _0x39dea8}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x3783a2,NoOperation as _0x5ee1d1,InsertOperation as _0x49f3d1,MarkerOperation as _0x1afab6,RootAttributeOperation as _0x2192ac,OperationFactory as _0x17d136,History as _0x1ff3cb}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x3f52fe}from'./websocketgateway.js';import{Sessions as _0x587e9e}from'./sessions.js';import{UserMarkers as _0x130729}from'./usermarkers.js';import{getTranslation as _0x538ef1}from'../common-translations.js';import{Compressor as _0x26ca9c}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x2d907d}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x4cd910,CollaborativeEditingService as _0x5c98f1}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let G=0x1;class l extends _0x155f6a{static [_0x42067f(0x1cd)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x5c98f1)());[_0x42067f(0x11d)];[_0x42067f(0x200)];[_0x42067f(0x1a4)];[_0x42067f(0x13c)];[_0x42067f(0x1ff)];[_0x42067f(0x1f6)];[_0x42067f(0x1ae)];[_0x42067f(0x21e)];[_0x42067f(0x135)];[_0x42067f(0x162)];[_0x42067f(0x1f3)];[_0x42067f(0x1f4)];[_0x42067f(0x11e)];[_0x42067f(0x1e6)];[_0x42067f(0x1c0)];[_0x42067f(0x145)];[_0x42067f(0x158)];[_0x42067f(0x219)];static get[_0x42067f(0x1b1)](){return[_0x3f52fe,_0x587e9e,_0x130729,_0x5ef522,_0x2d907d,_0x39dea8];}static get[_0x42067f(0x1ba)](){const _0x109565=_0x42067f;return _0x109565(0x1d5);}static get[_0x42067f(0x1bc)](){return!0x0;}static get[_0x42067f(0x170)](){return!0x0;}get[_0x42067f(0x187)](){const _0x4b8b53=_0x42067f;return this[_0x4b8b53(0x14b)]+this[_0x4b8b53(0x11d)];}get[_0x42067f(0x14b)](){const _0x363308=_0x42067f;return this[_0x363308(0x1a4)][_0x363308(0x15e)]-this[_0x363308(0x11d)];}get[_0x42067f(0x167)](){const _0x470a12=_0x42067f,_0x41e50a=this[_0x470a12(0x1a4)][_0x470a12(0x190)]();for(let _0x87c3df=_0x41e50a[_0x470a12(0x194)]-0x1;_0x87c3df>=0x0;_0x87c3df--){const _0x36aa9a=_0x41e50a[_0x87c3df];if(!this[_0x470a12(0x158)][_0x470a12(0x21b)](_0x36aa9a))return _0x36aa9a[_0x470a12(0x209)]+0x1-this[_0x470a12(0x11d)];}return 0x0;}constructor(_0x24f184){const _0xae21fc=_0x42067f;if(super(_0x24f184),this[_0xae21fc(0x11d)]=0x0,this[_0xae21fc(0x200)]=null,this[_0xae21fc(0x1a4)]=new _0x1ff3cb(),this[_0xae21fc(0x180)][_0xae21fc(0x203)][_0xae21fc(0x20b)](_0xae21fc(0x1ea),{}),this[_0xae21fc(0x13c)]=this[_0xae21fc(0x180)][_0xae21fc(0x203)][_0xae21fc(0x1ee)](_0xae21fc(0x1be)),!this[_0xae21fc(0x13c)])throw new _0x43f757(_0xae21fc(0x15c),this);const _0x4309a3=_0x24f184[_0xae21fc(0x203)][_0xae21fc(0x1ee)](_0xae21fc(0x1db))||_0x3bc043;this[_0xae21fc(0x1ff)]=new l[(_0xae21fc(0x1cd))](_0x4309a3,this[_0xae21fc(0x13c)]),this[_0xae21fc(0x1f6)]=this[_0xae21fc(0x180)][_0xae21fc(0x18b)][_0xae21fc(0x1a9)],this[_0xae21fc(0x1ae)]=new _0x26ca9c(),this[_0xae21fc(0x21e)]=[],this[_0xae21fc(0x135)]=new WeakSet(),this[_0xae21fc(0x162)]=new Set(),this[_0xae21fc(0x171)](_0xae21fc(0x131),!0x1),this[_0xae21fc(0x171)](_0xae21fc(0x132),!0x1),this[_0xae21fc(0x1f3)]=null,this[_0xae21fc(0x1f4)]=!0x1,this[_0xae21fc(0x11e)]=null,this[_0xae21fc(0x1e6)]=0x12c,this[_0xae21fc(0x1c0)]=this[_0xae21fc(0x1e6)],this[_0xae21fc(0x145)]=null,this[_0xae21fc(0x158)]=new WeakSet(),this[_0xae21fc(0x219)]=new J(this[_0xae21fc(0x158)]);}[_0x42067f(0x16f)](){const _0x21ea9d=_0x42067f,_0x576f3a=this[_0x21ea9d(0x180)],_0x2a671c=_0x576f3a[_0x21ea9d(0x15d)][_0x21ea9d(0x1ee)](_0x2d907d),_0xe4c2d6=_0x576f3a[_0x21ea9d(0x15d)][_0x21ea9d(0x1ee)](_0x3f52fe);this[_0x21ea9d(0x1fb)](_0x2a671c,_0x21ea9d(0x165),(_0x259cb6,_0xa28b06)=>{const _0x5cc81f=_0x21ea9d,_0x2fcef1=_0xa28b06[0x0];_0x2fcef1[_0x5cc81f(0x215)]&&(_0x259cb6[_0x5cc81f(0x192)]=_0x2a671c[_0x5cc81f(0x17e)](_0x2fcef1[_0x5cc81f(0x215)]),_0x259cb6[_0x5cc81f(0x173)]()),null===_0x2fcef1[_0x5cc81f(0x215)]&&(_0x259cb6[_0x5cc81f(0x192)]=null,_0x259cb6[_0x5cc81f(0x173)]());},{'priority':_0x21ea9d(0x211)}),this[_0x21ea9d(0x1fb)](_0x576f3a[_0x21ea9d(0x18b)][_0x21ea9d(0x1a9)][_0x21ea9d(0x16d)],_0x21ea9d(0x125),(_0x14d026,_0x4f7d06)=>{const _0xef776f=_0x21ea9d;_0x4f7d06[_0xef776f(0x1c8)]&&this[_0xef776f(0x13f)]();}),this[_0x21ea9d(0x1fb)](_0x576f3a[_0x21ea9d(0x1e2)][_0x21ea9d(0x12c)],_0x21ea9d(0x133),()=>{const _0x5041a0=_0x21ea9d;this[_0x5041a0(0x13f)]();}),this[_0x21ea9d(0x1b3)](),_0x576f3a[_0x21ea9d(0x18b)]['on'](_0x21ea9d(0x1ce),(_0x531125,_0x5532c1)=>{const _0x2f1b43=_0x21ea9d,_0x1cecf0=_0x5532c1[0x0];_0x1cecf0[_0x2f1b43(0x193)]&&(this[_0x2f1b43(0x15a)](_0x1cecf0),this[_0x2f1b43(0x1ef)]()&&this[_0x2f1b43(0x144)]());}),this[_0x21ea9d(0x20d)](),this[_0x21ea9d(0x151)](_0x21ea9d(0x18c))['to'](_0xe4c2d6,_0x21ea9d(0x15b),this,_0x21ea9d(0x132),(_0x540fcd,_0xd8fa11)=>_0x21ea9d(0x16c)===_0x540fcd&&!_0xd8fa11),this['on'](_0x21ea9d(0x156),()=>{const _0x51a4ca=_0x21ea9d;this[_0x51a4ca(0x18c)]?_0x576f3a[_0x51a4ca(0x13b)](_0x51a4ca(0x1ad)):_0x576f3a[_0x51a4ca(0x197)](_0x51a4ca(0x1ad));}),this[_0x21ea9d(0x18c)]?_0x576f3a[_0x21ea9d(0x13b)](_0x21ea9d(0x1ad)):_0x576f3a[_0x21ea9d(0x197)](_0x21ea9d(0x1ad)),this[_0x21ea9d(0x171)](_0x21ea9d(0x177),!0x1);}async[_0x42067f(0x1e1)](){const _0x5a9b2d=_0x42067f,_0x567bda=this[_0x5a9b2d(0x180)][_0x5a9b2d(0x15d)][_0x5a9b2d(0x1ee)](_0x587e9e),_0x4ceb19=this[_0x5a9b2d(0x180)][_0x5a9b2d(0x15d)][_0x5a9b2d(0x1ee)](_0x3f52fe);try{this[_0x5a9b2d(0x131)]=!0x0,_0x567bda[_0x5a9b2d(0x19c)](this[_0x5a9b2d(0x13c)]);const _0x41524d=await this[_0x5a9b2d(0x1ff)][_0x5a9b2d(0x1e1)](_0x4ceb19[_0x5a9b2d(0x146)],this[_0x5a9b2d(0x167)]);await this[_0x5a9b2d(0x1a6)](_0x41524d)&&(this[_0x5a9b2d(0x131)]=!0x1,this[_0x5a9b2d(0x21f)]());const _0x100f21=await this[_0x5a9b2d(0x1ff)][_0x5a9b2d(0x179)]();_0x567bda[_0x5a9b2d(0x1e5)](this[_0x5a9b2d(0x13c)],_0x100f21),this[_0x5a9b2d(0x150)](),this[_0x5a9b2d(0x177)]=!0x0;}catch(_0x4de59f){if(function(_0x2022dc){const _0x3a59b5=_0x5a9b2d;return _0x3a59b5(0x20f)===_0x2022dc[_0x3a59b5(0x1eb)];}(_0x4de59f)&&this[_0x5a9b2d(0x200)])await this[_0x5a9b2d(0x14e)]();else{if(function(_0x3f48da){const _0x1f2960=_0x5a9b2d;return _0x1f2960(0x1b6)===_0x3f48da[_0x1f2960(0x1eb)];}(_0x4de59f)){const _0x105340=_0x538ef1(this[_0x5a9b2d(0x180)][_0x5a9b2d(0x1d1)],_0x5a9b2d(0x1c4));this[_0x5a9b2d(0x149)](_0x105340);}else{if(!(_0x4de59f instanceof $))throw _0x4de59f;this[_0x5a9b2d(0x149)]();}}}}[_0x42067f(0x175)](){const _0x2d2460=_0x42067f,_0x20c8dd=this[_0x2d2460(0x180)][_0x2d2460(0x15d)][_0x2d2460(0x1ee)](_0x3f52fe),_0xa3bd3d=this[_0x2d2460(0x180)][_0x2d2460(0x15d)][_0x2d2460(0x1ee)](_0x587e9e);this[_0x2d2460(0x180)][_0x2d2460(0x197)](_0x2d2460(0x1cf)),_0xa3bd3d[_0x2d2460(0x18d)][_0x2d2460(0x21b)](this[_0x2d2460(0x13c)])&&_0xa3bd3d[_0x2d2460(0x19c)](this[_0x2d2460(0x13c)]),_0x20c8dd[_0x2d2460(0x1a8)](this),this[_0x2d2460(0x128)](),super[_0x2d2460(0x175)]();}async[_0x42067f(0x1a6)](_0x152b5d){const _0x330558=_0x42067f;if(this[_0x330558(0x200)]!==_0x152b5d[_0x330558(0x200)]&&this[_0x330558(0x145)]!==_0x152b5d[_0x330558(0x217)])throw new $();return this[_0x330558(0x200)]=_0x152b5d[_0x330558(0x200)],this[_0x330558(0x1da)]([],{..._0x152b5d,'wereChangesApplied':!0x1,'data':_0x152b5d[_0x330558(0x19f)]},_0x330558(0x1e1));}async[_0x42067f(0x140)](_0x1b0ec3,_0x2f6ce0=!0x1){const _0x2c9836=_0x42067f,{connection:_0x128ae3}=this[_0x2c9836(0x180)][_0x2c9836(0x15d)][_0x2c9836(0x1ee)](_0x3f52fe);l[_0x2c9836(0x1cd)][_0x2c9836(0x179)](_0x128ae3,this[_0x2c9836(0x13c)])[_0x2c9836(0x1f1)](_0x13f747=>this[_0x2c9836(0x1b4)](_0x13f747))[_0x2c9836(0x1a0)](_0x28bd47=>{const _0x1231c8=_0x2c9836;this[_0x1231c8(0x17a)](_0x1231c8(0x1b0),_0x28bd47);}),this[_0x2c9836(0x1fb)](this[_0x2c9836(0x1ff)],_0x2c9836(0x19b),this[_0x2c9836(0x178)][_0x2c9836(0x151)](this)),this[_0x2c9836(0x1fb)](this[_0x2c9836(0x1ff)],_0x2c9836(0x1aa),(_0x3e9d30,_0x3ae1eb)=>{const _0x1a3681=_0x2c9836;this[_0x1a3681(0x17a)](_0x1a3681(0x1cb),_0x3ae1eb);}),this[_0x2c9836(0x1fb)](this[_0x2c9836(0x1ff)],_0x2c9836(0x1b8),()=>{const _0x1e3fcf=_0x2c9836;this[_0x1e3fcf(0x177)]=!0x1;});const _0x2af421=this[_0x2c9836(0x219)][_0x2c9836(0x216)](_0x1b0ec3);this[_0x2c9836(0x131)]=!0x0;const _0x353cf5=await this[_0x2c9836(0x1ff)][_0x2c9836(0x1d7)](_0x128ae3,this[_0x2c9836(0x19d)](_0x1b0ec3),_0x2af421);if(this[_0x2c9836(0x200)]=_0x353cf5[_0x2c9836(0x200)],_0x2f6ce0){if(!_0x353cf5[_0x2c9836(0x12f)])return void this[_0x2c9836(0x149)]();this[_0x2c9836(0x131)]=!0x1,this[_0x2c9836(0x21f)](),this[_0x2c9836(0x1a4)][_0x2c9836(0x1d6)](),this[_0x2c9836(0x11d)]=_0x353cf5[_0x2c9836(0x16a)],this[_0x2c9836(0x1a4)][_0x2c9836(0x15e)]=this[_0x2c9836(0x11d)],await this[_0x2c9836(0x1da)](_0x1b0ec3,_0x353cf5,_0x2c9836(0x12d));}else await this[_0x2c9836(0x148)](_0x353cf5,_0x1b0ec3);this[_0x2c9836(0x150)](),this[_0x2c9836(0x177)]=!0x0;}[_0x42067f(0x150)](){const _0x18e09e=_0x42067f,_0x26e138=this[_0x18e09e(0x180)][_0x18e09e(0x15d)][_0x18e09e(0x1ee)](_0x587e9e),_0xddb8e2=this[_0x18e09e(0x180)][_0x18e09e(0x15d)][_0x18e09e(0x1ee)](_0x130729),_0x3fbc7b=_0x26e138[_0x18e09e(0x18d)][_0x18e09e(0x1ee)](this[_0x18e09e(0x13c)]);_0x3fbc7b&&_0x3fbc7b[_0x18e09e(0x194)]>0x1?_0xddb8e2[_0x18e09e(0x155)]():this[_0x18e09e(0x1fb)](_0x26e138,_0x18e09e(0x1bf)+this[_0x18e09e(0x13c)],()=>{const _0x236e15=_0x18e09e;0x2===_0x26e138[_0x236e15(0x18d)][_0x236e15(0x1ee)](this[_0x236e15(0x13c)])[_0x236e15(0x194)]&&_0xddb8e2[_0x236e15(0x155)]();});}async[_0x42067f(0x178)](_0x336601,_0x2a2f3d,_0x358386,_0xbbd051){const _0x326d13=_0x42067f;if(!this[_0x326d13(0x131)]&&this[_0x326d13(0x1f6)][_0x326d13(0x15e)]==_0x2a2f3d){const _0x48d7f4=this[_0x326d13(0x13a)](_0x358386,_0xbbd051);await this[_0x326d13(0x169)](_0x48d7f4),this[_0x326d13(0x1e0)](_0x48d7f4,_0x2a2f3d,_0x358386[_0x326d13(0x217)])||this[_0x326d13(0x17a)](_0x326d13(0x1f5));}}async[_0x42067f(0x14e)](){const _0x57788a=_0x42067f;this[_0x57788a(0x128)]();const {locale:_0x3e2f8c}=this[_0x57788a(0x180)];let _0x4fe3cd;try{_0x4fe3cd=await this[_0x57788a(0x1ff)][_0x57788a(0x1b7)]();}catch{const _0x2ebef6=_0x538ef1(_0x3e2f8c,_0x57788a(0x202));return void this[_0x57788a(0x149)](_0x2ebef6);}const _0x319df4=_0x4fe3cd[_0x57788a(0x1dc)]||_0x4fe3cd[_0x57788a(0x1d3)];if(this[_0x57788a(0x145)]!==_0x319df4[_0x57788a(0x217)]){const _0x384ac6=_0x538ef1(_0x3e2f8c,_0x57788a(0x1f8));return void this[_0x57788a(0x149)](_0x384ac6);}await this[_0x57788a(0x140)](this[_0x57788a(0x180)][_0x57788a(0x18b)][_0x57788a(0x1a9)][_0x57788a(0x1a3)][_0x57788a(0x190)](),!0x0);}[_0x42067f(0x128)](){const _0x42fe7b=_0x42067f;this[_0x42fe7b(0x1ff)][_0x42fe7b(0x1dd)](),this[_0x42fe7b(0x21e)]=[],clearTimeout(this[_0x42fe7b(0x11e)]),this[_0x42fe7b(0x123)](this[_0x42fe7b(0x1ff)]);}[_0x42067f(0x1b4)](_0x393f85){const _0x499ec2=_0x42067f,_0xb32dc7=this[_0x499ec2(0x180)][_0x499ec2(0x15d)][_0x499ec2(0x1ee)](_0x587e9e);this[_0x499ec2(0x1fb)](_0xb32dc7,_0x499ec2(0x1bf)+this[_0x499ec2(0x13c)],(_0x4ff9dc,{session:_0xf174bc})=>{const _0x23a988=_0x499ec2;if(_0xf174bc['id']===_0xb32dc7[_0x23a988(0x1e4)]){_0x4ff9dc[_0x23a988(0x1af)]();const _0x51f1a9=this[_0x23a988(0x180)][_0x23a988(0x15d)][_0x23a988(0x21b)](_0x23a988(0x137))&&this[_0x23a988(0x180)][_0x23a988(0x15d)][_0x23a988(0x1ee)](_0x23a988(0x137));let _0x4fd6a3=_0xf174bc[_0x23a988(0x1d4)];_0x51f1a9&&_0x51f1a9[_0x23a988(0x13e)]&&(_0x4fd6a3=_0x4fd6a3[_0x23a988(0x20c)](_0x29667a=>_0x23a988(0x139)!==_0x29667a)),this[_0x23a988(0x180)][_0x23a988(0x15d)][_0x23a988(0x1ee)](_0x23a988(0x207))[_0x23a988(0x138)](_0x4fd6a3,this[_0x23a988(0x13c)]);}}),_0xb32dc7[_0x499ec2(0x1e5)](this[_0x499ec2(0x13c)],_0x393f85);}[_0x42067f(0x1b3)](){const _0x3a7683=_0x42067f,_0xf68642=this[_0x3a7683(0x180)][_0x3a7683(0x19f)][_0x3a7683(0x171)];this[_0x3a7683(0x180)][_0x3a7683(0x19f)][_0x3a7683(0x171)]=(..._0x52ae45)=>{const _0x3389eb=_0x3a7683;if(!_0x52ae45[_0x52ae45[_0x3389eb(0x194)]-0x1][_0x3389eb(0x120)])throw new _0x43f757(_0x3389eb(0x213),this);_0xf68642[_0x3389eb(0x218)](this[_0x3389eb(0x180)][_0x3389eb(0x19f)],_0x52ae45);};}[_0x42067f(0x20d)](){const _0x379672=_0x42067f;this[_0x379672(0x180)][_0x379672(0x19f)]['on'](_0x379672(0x16f),(_0x327dce,[_0x14fc9a])=>{const _0x178ee8=_0x379672;if(this[_0x178ee8(0x1f6)][_0x178ee8(0x15e)])throw new _0x43f757(_0x178ee8(0x1c1),this);_0x327dce[_0x178ee8(0x173)](),this[_0x178ee8(0x1d0)]();const _0x49496a=this[_0x178ee8(0x180)][_0x178ee8(0x203)][_0x178ee8(0x1ee)](_0x178ee8(0x181)),_0x5be0c2=this[_0x178ee8(0x186)](_0x14fc9a,_0x49496a);0x0==_0x5be0c2[_0x178ee8(0x194)]&&_0x5be0c2[_0x178ee8(0x1a5)](new _0x5ee1d1(0x0)),_0x327dce[_0x178ee8(0x192)]=this[_0x178ee8(0x140)](_0x5be0c2)[_0x178ee8(0x1f1)](()=>{const _0x404241=_0x178ee8;this[_0x404241(0x180)][_0x404241(0x15d)][_0x404241(0x1ee)](_0x3f52fe)[_0x404241(0x201)](this),this[_0x404241(0x180)][_0x404241(0x19f)][_0x404241(0x1d2)](_0x404241(0x12e));})[_0x178ee8(0x1a0)](_0x2b8a72=>this[_0x178ee8(0x17a)](_0x178ee8(0x160),_0x2b8a72))[_0x178ee8(0x1a7)](()=>this[_0x178ee8(0x21f)]());},{'priority':_0x379672(0x211)}),this[_0x379672(0x180)]['on'](_0x379672(0x14a),async(_0x3f6341,[_0x11c678,_0x568fd2])=>{const _0x4f3f3d=_0x379672;_0x3f6341[_0x4f3f3d(0x173)]();const _0x56f5f0=this[_0x4f3f3d(0x180)][_0x4f3f3d(0x18b)][_0x4f3f3d(0x1a9)][_0x4f3f3d(0x1e9)](_0x11c678);if(!this[_0x4f3f3d(0x162)][_0x4f3f3d(0x21b)](_0x11c678)){const _0x53819b=_0x568fd2&&_0x568fd2[_0x4f3f3d(0x19f)]?_0x568fd2[_0x4f3f3d(0x19f)]:'',_0x424584=_0x568fd2&&_0x568fd2[_0x4f3f3d(0x124)]?_0x568fd2[_0x4f3f3d(0x124)]:{};await this[_0x4f3f3d(0x1b5)](_0x11c678,_0x53819b,_0x424584);}this[_0x4f3f3d(0x180)][_0x4f3f3d(0x18b)][_0x4f3f3d(0x174)]({'isUndoable':!0x1},()=>{const _0x36d49b=_0x4f3f3d;_0x56f5f0[_0x36d49b(0x13d)]=!0x0,this[_0x36d49b(0x180)][_0x36d49b(0x18b)][_0x36d49b(0x1a9)][_0x36d49b(0x1f9)][_0x36d49b(0x14f)](_0x56f5f0);});},{'priority':_0x379672(0x211)});}async[_0x42067f(0x169)](_0xda126e){const _0x3b08da=_0x42067f,_0x13a2e4=this[_0x3b08da(0x180)][_0x3b08da(0x15d)][_0x3b08da(0x1ee)](_0x2d907d),{connection:_0x572626}=this[_0x3b08da(0x180)][_0x3b08da(0x15d)][_0x3b08da(0x1ee)](_0x3f52fe),_0x2b91b8=new Set();for(const _0x32b90f of _0xda126e){const _0x538e67=_0x32b90f[_0x3b08da(0x215)];_0x538e67&&!_0x13a2e4[_0x3b08da(0x17e)](_0x538e67)&&_0x2b91b8[_0x3b08da(0x152)](_0x538e67);}if(0x0===_0x2b91b8[_0x3b08da(0x1ac)])return;const _0x4c100f=await _0x4cd910[_0x3b08da(0x121)](_0x572626,Array[_0x3b08da(0x157)](_0x2b91b8));for(const _0x29ebf of _0x4c100f)_0x13a2e4[_0x3b08da(0x17e)](_0x29ebf['id'])||_0x13a2e4[_0x3b08da(0x1df)](_0x29ebf);}[_0x42067f(0x186)](_0x3ab96c,_0xe98d96={}){const _0x2dbcd5=_0x42067f,_0x463c18=this[_0x2dbcd5(0x180)][_0x2dbcd5(0x18b)],_0x536582=[];let _0x1b1359=0x0;const _0x5b2684=_0x2dbcd5(0x143)==typeof _0x3ab96c?{'main':_0x3ab96c}:_0x3ab96c;for(const _0x18f26d of Object[_0x2dbcd5(0x212)](_0x5b2684)){if(!this[_0x2dbcd5(0x1f6)][_0x2dbcd5(0x21c)][_0x2dbcd5(0x21b)](_0x18f26d))throw new _0x43f757(_0x2dbcd5(0x1f2),this);const _0x14af9b=this[_0x2dbcd5(0x180)][_0x2dbcd5(0x19f)][_0x2dbcd5(0x20a)](_0x5b2684[_0x18f26d]),_0x1c5d59=this[_0x2dbcd5(0x1f6)][_0x2dbcd5(0x1e9)](_0x18f26d),_0x2e5f7a=new _0x49f3d1(_0x463c18[_0x2dbcd5(0x1ab)](_0x1c5d59,0x0),_0x14af9b,_0x1b1359++);_0x536582[_0x2dbcd5(0x1a5)](_0x2e5f7a);for(const [_0xc1b7e2,_0x52e422]of _0x14af9b[_0x2dbcd5(0x159)]){const _0x1f4e54=_0x463c18[_0x2dbcd5(0x141)](_0x463c18[_0x2dbcd5(0x1e3)](_0x1c5d59,_0x52e422[_0x2dbcd5(0x184)][_0x2dbcd5(0x176)][_0x2dbcd5(0x19a)]()),_0x463c18[_0x2dbcd5(0x1e3)](_0x1c5d59,_0x52e422[_0x2dbcd5(0x134)][_0x2dbcd5(0x176)][_0x2dbcd5(0x19a)]())),_0x4bc2dd=new _0x1afab6(_0xc1b7e2,null,_0x1f4e54,_0x463c18[_0x2dbcd5(0x159)],!0x0,_0x1b1359++);_0x536582[_0x2dbcd5(0x1a5)](_0x4bc2dd);}}if(_0xe98d96)for(const [_0x328b70,_0x14190f]of Object[_0x2dbcd5(0x16b)](_0xe98d96)){const _0x4489be=_0x463c18[_0x2dbcd5(0x1a9)][_0x2dbcd5(0x1e9)](_0x328b70);if(!_0x4489be)throw new _0x43f757(_0x2dbcd5(0x172),null);for(const [_0x45b24f,_0x1a113f]of Object[_0x2dbcd5(0x16b)](_0x14190f))if(null!==_0x1a113f){const _0x4b2ff5=new _0x2192ac(_0x4489be,_0x45b24f,null,_0x1a113f,_0x1b1359++);_0x536582[_0x2dbcd5(0x1a5)](_0x4b2ff5);}}return _0x536582;}async[_0x42067f(0x1b5)](_0x5ef910,_0x2dd3ca,_0x57ad19){const _0x596fda=_0x42067f;this[_0x596fda(0x186)]({[_0x5ef910]:_0x2dd3ca},{[_0x5ef910]:_0x57ad19})[_0x596fda(0x182)]((_0x49a007,_0x586fe5)=>{const _0x1207df=_0x596fda;_0x49a007[_0x1207df(0x209)]=this[_0x1207df(0x1f6)][_0x1207df(0x15e)]+_0x586fe5,_0x49a007[_0x1207df(0x161)]=!0x0,this[_0x1207df(0x15a)](_0x49a007);}),this[_0x596fda(0x144)](),await this[_0x596fda(0x198)]();}async[_0x42067f(0x148)](_0x43d593,_0x4007ec){const _0x3e6fca=_0x42067f;let _0x3efe51;this[_0x3e6fca(0x11d)]=_0x43d593[_0x3e6fca(0x16a)];const _0xb3f53f=_0x43d593[_0x3e6fca(0x12f)]&&!_0x43d593[_0x3e6fca(0x19e)],_0x35608f=_0xb3f53f?0x0:_0x43d593[_0x3e6fca(0x19f)][_0x3e6fca(0x209)];if(_0x4007ec[_0x3e6fca(0x182)](_0x3e597f=>{const _0x340e89=_0x3e6fca;_0x3e597f[_0x340e89(0x161)]=!0x0,_0x3e597f[_0x340e89(0x1c6)]=_0x43d593[_0x340e89(0x12a)],_0x3e597f[_0x340e89(0x215)]=null;}),_0xb3f53f)_0x3efe51=_0x4007ec,this[_0x3e6fca(0x20e)](_0x3efe51,_0xb3f53f);else{if(_0x43d593[_0x3e6fca(0x19e)]){const _0x202fd6=this[_0x3e6fca(0x186)](_0x43d593[_0x3e6fca(0x19e)]);this[_0x3e6fca(0x1f6)][_0x3e6fca(0x1a3)][_0x3e6fca(0x15e)]=-_0x202fd6[_0x3e6fca(0x194)],_0x202fd6[_0x3e6fca(0x182)](_0x24d2c2=>{const _0x2ced2f=_0x3e6fca;_0x24d2c2[_0x2ced2f(0x209)]-=_0x202fd6[_0x2ced2f(0x194)],_0x24d2c2[_0x2ced2f(0x1c6)]=_0x43d593[_0x2ced2f(0x12a)],_0x24d2c2[_0x2ced2f(0x161)]=!0x0,_0x24d2c2[_0x2ced2f(0x215)]=null;}),this[_0x3e6fca(0x20e)](_0x202fd6,!0x0),this[_0x3e6fca(0x1a4)][_0x3e6fca(0x15e)]=-_0x202fd6[_0x3e6fca(0x194)]+this[_0x3e6fca(0x11d)],this[_0x3e6fca(0x1d8)](_0x202fd6);}this[_0x3e6fca(0x1f6)][_0x3e6fca(0x1a3)][_0x3e6fca(0x15e)]=_0x35608f,_0x3efe51=this[_0x3e6fca(0x13a)](_0x43d593[_0x3e6fca(0x19f)],_0x43d593[_0x3e6fca(0x164)]),await this[_0x3e6fca(0x169)](_0x3efe51),this[_0x3e6fca(0x20e)](_0x3efe51,_0xb3f53f);}_0x43d593[_0x3e6fca(0x217)]&&(this[_0x3e6fca(0x219)][_0x3e6fca(0x1fd)](_0x3efe51,_0x43d593[_0x3e6fca(0x217)]),this[_0x3e6fca(0x145)]=_0x43d593[_0x3e6fca(0x217)]),this[_0x3e6fca(0x1a4)][_0x3e6fca(0x15e)]=_0x35608f+this[_0x3e6fca(0x11d)],this[_0x3e6fca(0x1d8)](_0x3efe51),_0x4007ec[_0x3e6fca(0x20c)](_0x5ae409=>{const _0x4966b1=_0x3e6fca,_0x97031d=this[_0x4966b1(0x14c)](_0x5ae409);return _0x97031d&&!this[_0x4966b1(0x162)][_0x4966b1(0x21b)](_0x97031d);})[_0x3e6fca(0x182)]((_0x4dc980,_0x138f2)=>{const _0x5bf6c7=_0x3e6fca;_0x4dc980[_0x5bf6c7(0x209)]=this[_0x5bf6c7(0x1f6)][_0x5bf6c7(0x15e)]+_0x138f2,this[_0x5bf6c7(0x15a)](_0x4dc980);}),this[_0x3e6fca(0x1ef)]()?(this[_0x3e6fca(0x1c0)]=0x0,this[_0x3e6fca(0x144)](!0x0),await this[_0x3e6fca(0x198)]()):(this[_0x3e6fca(0x131)]=!0x1,this[_0x3e6fca(0x21f)]());}[_0x42067f(0x17a)](_0x23349f,_0x27c781){const _0x486c2f=_0x42067f,_0x428202=_0x27c781&&_0x27c781[_0x486c2f(0x18f)];if(_0x428202&&_0x428202[_0x486c2f(0x18e)](_0x486c2f(0x130)))throw _0x27c781;const _0x4504d9=this[_0x486c2f(0x180)][_0x486c2f(0x15d)][_0x486c2f(0x1ee)](_0x3f52fe);throw this[_0x486c2f(0x131)]=!0x0,_0x4504d9[_0x486c2f(0x1dd)](),this[_0x486c2f(0x180)][_0x486c2f(0x197)](_0x486c2f(0x199)),new _0x43f757(_0x23349f,this[_0x486c2f(0x180)],_0x428202?{'originalError':_0x428202}:void 0x0);}[_0x42067f(0x15a)](_0x3494c7){const _0x4771e5=_0x42067f;this[_0x4771e5(0x135)][_0x4771e5(0x21b)](_0x3494c7)||(this[_0x4771e5(0x135)][_0x4771e5(0x152)](_0x3494c7),this[_0x4771e5(0x21e)][_0x4771e5(0x1a5)](_0x3494c7),this[_0x4771e5(0x1f3)]||_0x4771e5(0x17f)==_0x3494c7[_0x4771e5(0x1e7)]&&!_0x3494c7[_0x4771e5(0x183)]||this[_0x4771e5(0x1d0)]());}[_0x42067f(0x144)](_0x3fbc5c=!0x1){const _0x13e550=_0x42067f;!_0x3fbc5c&&this[_0x13e550(0x131)]||(this[_0x13e550(0x131)]=!0x0,clearTimeout(this[_0x13e550(0x11e)]),this[_0x13e550(0x11e)]=setTimeout(()=>{const _0x4491dc=_0x13e550;this[_0x4491dc(0x1b2)]()[_0x4491dc(0x1f1)](_0x504383=>{const _0x45a9d3=_0x4491dc;_0x504383&&(this[_0x45a9d3(0x21f)](),this[_0x45a9d3(0x131)]=!0x1);})[_0x4491dc(0x1a0)](_0x4b326e=>{const _0x329acb=_0x4491dc;this[_0x329acb(0x21f)](),this[_0x329acb(0x131)]=!0x1,function(_0x543c3a){const _0xc0ae1d=_0x329acb;return _0x543c3a[_0xc0ae1d(0x18f)][_0xc0ae1d(0x18e)](_0xc0ae1d(0x208))||_0x543c3a[_0xc0ae1d(0x18f)][_0xc0ae1d(0x18e)](_0xc0ae1d(0x1a1))||_0x543c3a[_0xc0ae1d(0x18f)][_0xc0ae1d(0x18e)](_0xc0ae1d(0x1fa));}(_0x4b326e)||this[_0x329acb(0x17a)](_0x4b326e[_0x329acb(0x18f)],_0x4b326e);});},this[_0x13e550(0x1c0)]));}[_0x42067f(0x198)](){return new Promise(_0x2a3dcc=>{const _0x3c5955=_0xd4c1;this['on'](_0x3c5955(0x142),()=>{_0x2a3dcc();});});}async[_0x42067f(0x1b2)](){const _0x35560d=_0x42067f,_0x1cbfe2=this[_0x35560d(0x180)][_0x35560d(0x15d)][_0x35560d(0x1ee)](_0x130729);if(this[_0x35560d(0x1c5)]()&&(_0x1cbfe2[_0x35560d(0x155)](),this[_0x35560d(0x1f4)]=!0x1),!this[_0x35560d(0x1ef)]())return!0x0;const _0x4f8f30=[...this[_0x35560d(0x21e)]];for(const _0x5db295 of _0x4f8f30)_0x5db295[_0x35560d(0x21d)]=this[_0x35560d(0x1f6)][_0x35560d(0x1a3)][_0x35560d(0x18a)](_0x5db295);const _0x2d588d=this[_0x35560d(0x219)][_0x35560d(0x216)](_0x4f8f30),_0x239c56=G++,_0x382e82=this[_0x35560d(0x19d)](_0x4f8f30),_0x29d6ea=await this[_0x35560d(0x1ff)][_0x35560d(0x129)](_0x382e82,_0x382e82[_0x35560d(0x209)],_0x2d588d);try{return await this[_0x35560d(0x1da)](_0x4f8f30,_0x29d6ea,_0x239c56);}catch(_0x59b79a){return this[_0x35560d(0x17a)](_0x35560d(0x188),_0x59b79a);}}async[_0x42067f(0x1da)](_0x3d6764,_0x47d84d,_0xc2eab6){const _0x1c10d0=_0x42067f;if(_0x1c10d0(0x1aa)in _0x47d84d)throw _0x47d84d[_0x1c10d0(0x1aa)];let _0x1186b2=!0x1;if(_0x47d84d[_0x1c10d0(0x12f)]){_0x47d84d[_0x1c10d0(0x217)]&&(this[_0x1c10d0(0x145)]=_0x47d84d[_0x1c10d0(0x217)]),this[_0x1c10d0(0x21e)]=this[_0x1c10d0(0x21e)][_0x1c10d0(0x20c)](_0x3dfc03=>!_0x3d6764[_0x1c10d0(0x1de)](_0x3dfc03));for(const _0x33469d of _0x3d6764)_0x33469d[_0x1c10d0(0x1c6)]=_0x1c10d0(0x16e)in _0x47d84d&&_0x47d84d[_0x1c10d0(0x16e)]||void 0x0;K(_0x3d6764,_0x47d84d[_0x1c10d0(0x15e)]-_0x3d6764[_0x1c10d0(0x194)]),this[_0x1c10d0(0x1d8)](_0x3d6764);const _0x4ce15e=_0x3d6764[_0x1c10d0(0x20c)](_0x5cb6f9=>{const _0x1d504b=_0x1c10d0;if(!_0x5cb6f9[_0x1d504b(0x161)])return!0x1;const _0x46796d=this[_0x1d504b(0x14c)](_0x5cb6f9);return _0x46796d&&!this[_0x1d504b(0x162)][_0x1d504b(0x21b)](_0x46796d);});K(_0x4ce15e,this[_0x1c10d0(0x1f6)][_0x1c10d0(0x15e)]),this[_0x1c10d0(0x20e)](_0x4ce15e),_0x1186b2=!0x0,this[_0x1c10d0(0x1c0)]=this[_0x1c10d0(0x1e6)];}else{const _0x2d7e11=this[_0x1c10d0(0x13a)](_0x47d84d[_0x1c10d0(0x19f)],_0x47d84d[_0x1c10d0(0x164)])[_0x1c10d0(0x20c)](_0x2c0346=>_0x2c0346[_0x1c10d0(0x209)]>=this[_0x1c10d0(0x14b)]);_0x2d7e11[_0x1c10d0(0x182)](_0x5d746a=>this[_0x1c10d0(0x185)](_0x5d746a)),this[_0x1c10d0(0x21e)]=this[_0x1c10d0(0x21e)][_0x1c10d0(0x20c)](_0x212697=>!_0x212697[_0x1c10d0(0x161)]||!this[_0x1c10d0(0x162)][_0x1c10d0(0x21b)](this[_0x1c10d0(0x14c)](_0x212697))),this[_0x1c10d0(0x21e)][_0x1c10d0(0x194)]&&K(this[_0x1c10d0(0x21e)],this[_0x1c10d0(0x21e)][0x0][_0x1c10d0(0x209)]),await this[_0x1c10d0(0x169)](_0x2d7e11),_0x1186b2=this[_0x1c10d0(0x1e0)](_0x2d7e11,_0x47d84d[_0x1c10d0(0x15e)],_0x47d84d[_0x1c10d0(0x217)]),this[_0x1c10d0(0x1c0)]=Math[_0x1c10d0(0x153)](this[_0x1c10d0(0x1c0)]/0x2);}return _0x1186b2?!this[_0x1c10d0(0x1ef)]()||(this[_0x1c10d0(0x144)](!0x0),!0x1):this[_0x1c10d0(0x17a)](_0x1c10d0(0x1f7));}[_0x42067f(0x1e0)](_0x446fc4,_0x2714fc,_0x2e69f4){const _0x44e0d0=_0x42067f;try{const _0x400032={'document':this[_0x44e0d0(0x1f6)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x40097e,operationsB:_0x47b6e7,originalOperations:_0x3e9b15}=_0x3783a2(_0x446fc4,this[_0x44e0d0(0x21e)],_0x400032);K(_0x40097e,this[_0x44e0d0(0x1f6)][_0x44e0d0(0x15e)]),K(_0x47b6e7,_0x2714fc);for(const _0x40a0ea of _0x40097e){const _0x1237e7=_0x3e9b15[_0x44e0d0(0x1ee)](_0x40a0ea);_0x40a0ea[_0x44e0d0(0x215)]=_0x1237e7?_0x1237e7[_0x44e0d0(0x215)]:null;}_0x2e69f4&&(this[_0x44e0d0(0x219)][_0x44e0d0(0x1fd)](_0x446fc4,_0x2e69f4),this[_0x44e0d0(0x145)]=_0x2e69f4),this[_0x44e0d0(0x21e)]=[..._0x47b6e7],this[_0x44e0d0(0x20e)](_0x40097e),this[_0x44e0d0(0x1d8)](_0x446fc4);}catch(_0x3f6674){return console[_0x44e0d0(0x1aa)](_0x3f6674),!0x1;}return!0x0;}[_0x42067f(0x20e)](_0x26f6b2,_0x54ed80=!0x1){const _0x561fce=_0x42067f;this[_0x561fce(0x180)][_0x561fce(0x18b)][_0x561fce(0x174)]({'isUndoable':!0x1,'isLocal':!0x1},_0x31b458=>{const _0x297ba8=_0x561fce;for(const _0xf347a3 of _0x26f6b2)this[_0x297ba8(0x135)][_0x297ba8(0x152)](_0xf347a3),this[_0x297ba8(0x185)](_0xf347a3),_0x31b458[_0x297ba8(0x195)][_0x297ba8(0x163)](_0xf347a3),this[_0x297ba8(0x180)][_0x297ba8(0x18b)][_0x297ba8(0x1ce)](_0xf347a3);});}[_0x42067f(0x185)](_0x1ef906){const _0x5cbba9=_0x42067f,_0x531bcf=this[_0x5cbba9(0x14c)](_0x1ef906);_0x531bcf&&this[_0x5cbba9(0x162)][_0x5cbba9(0x152)](_0x531bcf);}[_0x42067f(0x14c)](_0xa0ca84){const _0xaf20b8=_0x42067f;let _0x57c405,_0x592988;switch(_0xa0ca84[_0xaf20b8(0x1e7)]){case _0xaf20b8(0x1c7):_0x57c405=_0xa0ca84[_0xaf20b8(0x191)][_0xaf20b8(0x1d9)];break;case _0xaf20b8(0x17f):if(_0x592988=_0xa0ca84[_0xaf20b8(0x221)],!_0x592988)return null;_0x57c405=_0x592988[_0xaf20b8(0x1d9)];break;case _0xaf20b8(0x1ed):_0x57c405=_0xa0ca84[_0xaf20b8(0x1d9)];break;case _0xaf20b8(0x1bb):_0x57c405=_0xa0ca84[_0xaf20b8(0x1cc)];break;case _0xaf20b8(0x21a):_0x57c405=_0xa0ca84[_0xaf20b8(0x1f0)][_0xaf20b8(0x1d9)];break;default:return null;}return _0x57c405[_0xaf20b8(0x17d)];}[_0x42067f(0x1d8)](_0x38e129){const _0x578fe3=_0x42067f;_0x38e129[_0x578fe3(0x182)](_0x1f021a=>{const _0x4df0f8=_0x578fe3,_0x58a37f=_0x1f021a[_0x4df0f8(0x1fc)]();_0x58a37f[_0x4df0f8(0x215)]=_0x1f021a[_0x4df0f8(0x215)],_0x58a37f[_0x4df0f8(0x161)]=!!_0x1f021a[_0x4df0f8(0x161)],_0x58a37f[_0x4df0f8(0x1c6)]=_0x1f021a[_0x4df0f8(0x1c6)],_0x58a37f[_0x4df0f8(0x209)]+=this[_0x4df0f8(0x11d)],_0x1f021a[_0x4df0f8(0x136)]&&this[_0x4df0f8(0x158)][_0x4df0f8(0x152)](_0x58a37f),this[_0x4df0f8(0x1a4)][_0x4df0f8(0x163)](_0x58a37f);});}[_0x42067f(0x149)](_0x129042){const _0x5f1bee=_0x42067f,_0x5cbdcf=this[_0x5f1bee(0x180)][_0x5f1bee(0x15d)][_0x5f1bee(0x1ee)](_0x5f1bee(0x147)),_0x444bcd=this[_0x5f1bee(0x180)][_0x5f1bee(0x1d1)];_0x129042||(_0x129042=_0x538ef1(_0x444bcd,_0x5f1bee(0x206))),_0x5cbdcf[_0x5f1bee(0x214)](_0x129042,{'title':_0x538ef1(_0x444bcd,_0x5f1bee(0x204)),'namespace':_0x5f1bee(0x1ec)}),this[_0x5f1bee(0x132)]=!0x0,clearTimeout(this[_0x5f1bee(0x11e)]),this[_0x5f1bee(0x21e)]=[],this[_0x5f1bee(0x180)][_0x5f1bee(0x15d)][_0x5f1bee(0x1ee)](_0x3f52fe)[_0x5f1bee(0x1dd)]();}[_0x42067f(0x1d0)](){const _0x41765b=_0x42067f;this[_0x41765b(0x1f3)]||(this[_0x41765b(0x1f3)]=this[_0x41765b(0x180)][_0x41765b(0x15d)][_0x41765b(0x1ee)](_0x5ef522)[_0x41765b(0x152)](_0x538ef1(this[_0x41765b(0x180)][_0x41765b(0x1d1)],_0x41765b(0x205))));}[_0x42067f(0x21f)](){const _0x213b72=_0x42067f;this[_0x213b72(0x1f3)]&&(this[_0x213b72(0x180)][_0x213b72(0x15d)][_0x213b72(0x1ee)](_0x5ef522)[_0x213b72(0x166)](this[_0x213b72(0x1f3)]),this[_0x213b72(0x1f3)]=null);}[_0x42067f(0x19d)](_0x571718){const _0x472b7c=_0x42067f,_0x35a526=_0x571718[_0x472b7c(0x189)](_0x24225d=>_0x24225d[_0x472b7c(0x11c)]());return this[_0x472b7c(0x1ae)][_0x472b7c(0x17b)](_0x35a526);}[_0x42067f(0x13a)](_0x3e34ef,_0xbbcb92){const _0x44cb04=_0x42067f;return this[_0x44cb04(0x1ae)][_0x44cb04(0x12b)](_0x3e34ef)[_0x44cb04(0x189)]((_0x35fea5,_0x54e815)=>{const _0x242c64=_0x44cb04,_0x33ef44=_0x242c64(0x16f)==_0xbbcb92[_0x54e815][_0x242c64(0x1e7)];if(_0x242c64(0x1ca)==_0x35fea5[_0x242c64(0x1c2)]){const _0x42c91c=_0x35fea5[_0x242c64(0x191)][_0x242c64(0x1d9)];!this[_0x242c64(0x1f6)][_0x242c64(0x1e9)](_0x42c91c)&&(this[_0x242c64(0x1f6)][_0x242c64(0x1a2)](_0x242c64(0x122),_0x42c91c)[_0x242c64(0x1c3)]=!0x1);}const _0x20953b=_0x17d136[_0x242c64(0x15f)](_0x35fea5,this[_0x242c64(0x1f6)]);return _0x20953b[_0x242c64(0x21d)]=_0x35fea5[_0x242c64(0x21d)],_0x20953b[_0x242c64(0x161)]=_0x33ef44,_0x20953b[_0x242c64(0x215)]=_0x33ef44?null:_0xbbcb92[_0x54e815][_0x242c64(0x11f)],_0x20953b[_0x242c64(0x136)]=_0x242c64(0x1e8)===_0xbbcb92[_0x54e815][_0x242c64(0x1e7)],_0x20953b[_0x242c64(0x1c6)]=_0xbbcb92[_0x54e815][_0x242c64(0x1c6)],_0x20953b;});}[_0x42067f(0x13f)](){const _0x3d399a=_0x42067f;this[_0x3d399a(0x1f4)]=!0x0,this[_0x3d399a(0x1c5)]()?this[_0x3d399a(0x144)]():this[_0x3d399a(0x1f4)]=!0x1;}[_0x42067f(0x1c5)](){const _0x2936dd=_0x42067f,_0x103709=this[_0x2936dd(0x180)][_0x2936dd(0x15d)][_0x2936dd(0x1ee)](_0x587e9e)[_0x2936dd(0x18d)][_0x2936dd(0x1ee)](this[_0x2936dd(0x13c)]);return!this[_0x2936dd(0x180)][_0x2936dd(0x17c)]&&!!_0x103709&&_0x103709[_0x2936dd(0x194)]>0x1&&this[_0x2936dd(0x1f4)];}[_0x42067f(0x1ef)](){const _0x38af34=_0x42067f;return this[_0x38af34(0x21e)][_0x38af34(0x194)]>0x0||this[_0x38af34(0x1c5)]();}}export{l as RealTimeCollaborationClient};class $ extends Error{}function K(_0x58118d,_0x4b34fa){const _0x142f73=_0x42067f;for(const _0x17158d of _0x58118d)_0x17158d[_0x142f73(0x209)]=_0x4b34fa++;}class J{[_0x42067f(0x1c9)];[_0x42067f(0x154)];constructor(_0x5a90ab){const _0x24bb8c=_0x42067f;this[_0x24bb8c(0x1c9)]=_0x5a90ab,this[_0x24bb8c(0x154)]=new WeakMap();}[_0x42067f(0x216)](_0x2353ed){const _0x3d7189=_0x42067f;let _0x36352c=_0x2353ed[_0x3d7189(0x194)];for(;_0x36352c--;){const _0x2139fb=_0x2353ed[_0x36352c];if(!this[_0x3d7189(0x1c9)][_0x3d7189(0x21b)](_0x2139fb)){if(!this[_0x3d7189(0x154)][_0x3d7189(0x21b)](_0x2139fb)){const _0xeaf9b3=_0xb55173()[_0x3d7189(0x19a)](0x1,0x12);this[_0x3d7189(0x154)][_0x3d7189(0x171)](_0x2139fb,_0xeaf9b3);}return this[_0x3d7189(0x154)][_0x3d7189(0x1ee)](_0x2139fb);}}}[_0x42067f(0x1fd)](_0x272678,_0x451b9a){const _0x3ff649=_0x42067f;if(!_0x451b9a)return;let _0x83c5c3=_0x272678[_0x3ff649(0x194)];for(;_0x83c5c3--;){const _0x595ec8=_0x272678[_0x83c5c3];this[_0x3ff649(0x1c9)][_0x3ff649(0x21b)](_0x595ec8)||this[_0x3ff649(0x154)][_0x3ff649(0x171)](_0x595ec8,_0x451b9a);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x3e4d(_0x2d55de,_0x56eb5c){const _0x15c668=_0x15c6();return _0x3e4d=function(_0x3e4dbb,_0x50b437){_0x3e4dbb=_0x3e4dbb-0x1ac;let _0x482cc3=_0x15c668[_0x3e4dbb];return _0x482cc3;},_0x3e4d(_0x2d55de,_0x56eb5c);}const _0x53158c=_0x3e4d;(function(_0x4167f4,_0x273f0d){const _0x220f89=_0x3e4d,_0x298f95=_0x4167f4();while(!![]){try{const _0x4fcaeb=parseInt(_0x220f89(0x1c5))/0x1+parseInt(_0x220f89(0x1b6))/0x2*(parseInt(_0x220f89(0x1ca))/0x3)+parseInt(_0x220f89(0x1bc))/0x4+parseInt(_0x220f89(0x1e2))/0x5*(-parseInt(_0x220f89(0x1d9))/0x6)+parseInt(_0x220f89(0x1eb))/0x7*(-parseInt(_0x220f89(0x1c9))/0x8)+-parseInt(_0x220f89(0x1ae))/0x9*(parseInt(_0x220f89(0x1b3))/0xa)+parseInt(_0x220f89(0x1db))/0xb*(parseInt(_0x220f89(0x1cd))/0xc);if(_0x4fcaeb===_0x273f0d)break;else _0x298f95['push'](_0x298f95['shift']());}catch(_0x117e47){_0x298f95['push'](_0x298f95['shift']());}}}(_0x15c6,0x1916c));import{ContextPlugin as _0x2537db}from'ckeditor5/src/core.js';import{Collection as _0x2183aa,CKEditorError as _0x481306}from'ckeditor5/src/utils.js';function _0x15c6(){const _0x14b185=['channelSessions','unregister','add','757864UMMPUB','3849aTjjEN','allConnectedUsers','remove','290148UKffVC','getUserBySessionId','sessions-register-already-registered','getUserRole','defineMe','getUser','user','addUser','mySessionId','pluginName','delete','clear','33960wNTfzz','has','77ALmKMm','orderNumber','sessionAdd:','plugins','role','set','size','120MtvKTc','channelConnectedUsers','context','connected','_registeredSessions','get','isOfficialPlugin','connection','sessions-unregister-not-exist','14zbNWFr','register','isPremiumPlugin','20187DKpHWR','_createUser','_handleSessionAdd','forEach','isMe','710Iqslfi','Sessions','_users','74VEuFIx','fire','sessionId','values','getUserSessions','state','806828XPnfbx','assign','_uniqueUsersCount','init','change:state','listenTo','stopListening','requires','_handleSessionRemove','168892hjxPLE'];_0x15c6=function(){return _0x14b185;};return _0x15c6();}import{WebSocketGateway as _0x2f00e0}from'./websocketgateway.js';import{Users as _0x2fc6b8}from'ckeditor5-collaboration/src/collaboration-core.js';export class Sessions extends _0x2537db{[_0x53158c(0x1c6)];[_0x53158c(0x1e3)];[_0x53158c(0x1cb)];[_0x53158c(0x1e6)];[_0x53158c(0x1be)];[_0x53158c(0x1b5)];static get[_0x53158c(0x1d6)](){const _0x4f82c8=_0x53158c;return _0x4f82c8(0x1b4);}static get[_0x53158c(0x1e8)](){return!0x0;}static get[_0x53158c(0x1ad)](){return!0x0;}static get[_0x53158c(0x1c3)](){return[_0x2f00e0,_0x2fc6b8];}constructor(_0x5b5563){const _0x24ebd4=_0x53158c;super(_0x5b5563),this[_0x24ebd4(0x1c6)]=new Map(),this[_0x24ebd4(0x1e3)]=new Map(),this[_0x24ebd4(0x1cb)]=new _0x2183aa(),this[_0x24ebd4(0x1e6)]=new Map(),this[_0x24ebd4(0x1be)]=0x0,this[_0x24ebd4(0x1b5)]=this[_0x24ebd4(0x1e4)][_0x24ebd4(0x1de)][_0x24ebd4(0x1e7)](_0x2fc6b8);}[_0x53158c(0x1bf)](){const _0x151ca4=_0x53158c,_0x11f4f5=this[_0x151ca4(0x1e4)][_0x151ca4(0x1de)][_0x151ca4(0x1e7)](_0x2f00e0);this[_0x151ca4(0x1c1)](_0x11f4f5,_0x151ca4(0x1c0),(_0x3a7431,_0x59f85c,_0x279b5b)=>{const _0x1bd9b8=_0x151ca4;if(_0x1bd9b8(0x1e5)!==_0x279b5b)this[_0x1bd9b8(0x1c6)][_0x1bd9b8(0x1b1)](_0x52250f=>_0x52250f[_0x1bd9b8(0x1d8)]()),this[_0x1bd9b8(0x1e3)][_0x1bd9b8(0x1b1)](_0x19e1d3=>_0x19e1d3[_0x1bd9b8(0x1d8)]()),this[_0x1bd9b8(0x1cb)][_0x1bd9b8(0x1d8)]();else{for(const [_0xd8399e,_0x15d3fe]of this[_0x1bd9b8(0x1e6)])for(const _0x5a32dc of _0x15d3fe)this[_0x1bd9b8(0x1b0)](_0xd8399e,_0x5a32dc);}}),this[_0x151ca4(0x1af)](_0x11f4f5[_0x151ca4(0x1e9)]['me'],!0x0);}[_0x53158c(0x1ac)](_0x3915f5,_0x43ddd0){const _0x320e7d=_0x53158c;if(this[_0x320e7d(0x1e6)][_0x320e7d(0x1da)](_0x3915f5))throw new _0x481306(_0x320e7d(0x1cf),null,{'channelId':_0x3915f5});this[_0x320e7d(0x1e6)][_0x320e7d(0x1e0)](_0x3915f5,_0x43ddd0),this[_0x320e7d(0x1c6)][_0x320e7d(0x1e0)](_0x3915f5,new _0x2183aa()),this[_0x320e7d(0x1e3)][_0x320e7d(0x1e0)](_0x3915f5,new _0x2183aa()),this[_0x320e7d(0x1c1)](_0x43ddd0,_0x320e7d(0x1c8),(_0x22b525,_0x316780)=>this[_0x320e7d(0x1b0)](_0x3915f5,_0x316780)),this[_0x320e7d(0x1c1)](_0x43ddd0,_0x320e7d(0x1cc),(_0x5f2e85,_0x9dab98)=>this[_0x320e7d(0x1c4)](_0x3915f5,_0x9dab98));for(const _0x3ccd93 of _0x43ddd0)this[_0x320e7d(0x1b0)](_0x3915f5,_0x3ccd93);}[_0x53158c(0x1c7)](_0x4b1316){const _0x41c506=_0x53158c;if(!this[_0x41c506(0x1e6)][_0x41c506(0x1da)](_0x4b1316))throw new _0x481306(_0x41c506(0x1ea),null,{'channelId':_0x4b1316});const _0x66c579=this[_0x41c506(0x1e6)][_0x41c506(0x1e7)](_0x4b1316);this[_0x41c506(0x1c2)](_0x66c579);for(const _0x22ca2f of _0x66c579)_0x41c506(0x1e5)===this[_0x41c506(0x1e4)][_0x41c506(0x1de)][_0x41c506(0x1e7)](_0x2f00e0)[_0x41c506(0x1bb)]&&this[_0x41c506(0x1c4)](_0x4b1316,_0x22ca2f);this[_0x41c506(0x1e6)][_0x41c506(0x1d7)](_0x4b1316),this[_0x41c506(0x1c6)][_0x41c506(0x1d7)](_0x4b1316),this[_0x41c506(0x1e3)][_0x41c506(0x1d7)](_0x4b1316);}get[_0x53158c(0x1d5)](){const _0x529ee1=_0x53158c;return this[_0x529ee1(0x1e4)][_0x529ee1(0x1de)][_0x529ee1(0x1e7)](_0x2f00e0)[_0x529ee1(0x1e9)][_0x529ee1(0x1b8)];}[_0x53158c(0x1ce)](_0x17487d){const _0x50e7c3=_0x53158c;for(const _0x49bb6c of this[_0x50e7c3(0x1c6)][_0x50e7c3(0x1b9)]())for(const _0x479186 of _0x49bb6c)if(_0x479186['id']===_0x17487d)return _0x479186[_0x50e7c3(0x1d3)];}[_0x53158c(0x1ba)](_0x31a454,_0x1864e1){const _0x5e37e8=_0x53158c,_0x3b4426=_0x1864e1?[this[_0x5e37e8(0x1c6)][_0x5e37e8(0x1e7)](_0x1864e1)]:this[_0x5e37e8(0x1c6)][_0x5e37e8(0x1b9)](),_0x4cafba=new Set();for(const _0x47b059 of _0x3b4426)for(const _0x3badf8 of _0x47b059)_0x3badf8[_0x5e37e8(0x1d3)]['id']===_0x31a454['id']&&_0x4cafba[_0x5e37e8(0x1c8)](_0x3badf8['id']);return _0x4cafba;}[_0x53158c(0x1d0)](_0x31b4a0){const _0x37eedb=_0x53158c;for(const _0x55b0e1 of this[_0x37eedb(0x1c6)][_0x37eedb(0x1b9)]())for(const _0x5dd56f of _0x55b0e1)if(_0x5dd56f[_0x37eedb(0x1d3)]===_0x31b4a0)return _0x5dd56f[_0x37eedb(0x1df)];}[_0x53158c(0x1b0)](_0x416321,_0x91b37e){const _0x31bc6e=_0x53158c;if(_0x31bc6e(0x1e5)!==this[_0x31bc6e(0x1e4)][_0x31bc6e(0x1de)][_0x31bc6e(0x1e7)](_0x2f00e0)[_0x31bc6e(0x1bb)])return;const _0x54c78a=_0x91b37e[_0x31bc6e(0x1d3)],_0x2bd67c=this[_0x31bc6e(0x1b5)][_0x31bc6e(0x1d2)](_0x54c78a['id'])||this[_0x31bc6e(0x1af)](_0x54c78a),_0x2c0342=Object[_0x31bc6e(0x1bd)]({},_0x91b37e,{'user':_0x2bd67c});this[_0x31bc6e(0x1c6)][_0x31bc6e(0x1e7)](_0x416321)[_0x31bc6e(0x1c8)](_0x2c0342);const _0x417fb7=this[_0x31bc6e(0x1e3)][_0x31bc6e(0x1e7)](_0x416321);_0x417fb7[_0x31bc6e(0x1da)](_0x2bd67c['id'])||_0x417fb7[_0x31bc6e(0x1c8)](_0x2bd67c),this[_0x31bc6e(0x1cb)][_0x31bc6e(0x1da)](_0x2bd67c['id'])||this[_0x31bc6e(0x1cb)][_0x31bc6e(0x1c8)](_0x2bd67c,_0x2bd67c[_0x31bc6e(0x1b2)]?0x0:void 0x0),this[_0x31bc6e(0x1b7)](_0x31bc6e(0x1dd)+_0x416321,{'channelId':_0x416321,'session':_0x2c0342});}[_0x53158c(0x1c4)](_0x4f9940,_0xe6714d){const _0x5675ae=_0x53158c;if(_0x5675ae(0x1e5)!==this[_0x5675ae(0x1e4)][_0x5675ae(0x1de)][_0x5675ae(0x1e7)](_0x2f00e0)[_0x5675ae(0x1bb)])return;const _0x5ccc0c=this[_0x5675ae(0x1e3)][_0x5675ae(0x1e7)](_0x4f9940),_0x41e456=_0xe6714d[_0x5675ae(0x1d3)];_0x41e456['id']&&(this[_0x5675ae(0x1c6)][_0x5675ae(0x1e7)](_0x4f9940)[_0x5675ae(0x1cc)](_0xe6714d['id']),_0x5ccc0c[_0x5675ae(0x1da)](_0x41e456['id'])&&!this[_0x5675ae(0x1ba)](_0x41e456,_0x4f9940)[_0x5675ae(0x1e1)]&&_0x5ccc0c[_0x5675ae(0x1cc)](_0x41e456['id']),this[_0x5675ae(0x1cb)][_0x5675ae(0x1e7)](_0x41e456['id'])&&!this[_0x5675ae(0x1ba)](_0x41e456)[_0x5675ae(0x1e1)]&&this[_0x5675ae(0x1cb)][_0x5675ae(0x1cc)](_0x41e456['id']));}[_0x53158c(0x1af)](_0x3c81a2,_0x47678d){const _0x53c62f=_0x53158c,_0x22807=this[_0x53c62f(0x1b5)][_0x53c62f(0x1d4)](_0x3c81a2);return _0x47678d&&this[_0x53c62f(0x1b5)][_0x53c62f(0x1d1)](_0x3c81a2['id']),_0x22807[_0x53c62f(0x1dc)]=this[_0x53c62f(0x1be)]++,_0x22807;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2f290a=_0x2c1a;(function(_0x2e7f69,_0x25f7fd){const _0x42e592=_0x2c1a,_0x199985=_0x2e7f69();while(!![]){try{const _0x4daa3a=parseInt(_0x42e592(0x22a))/0x1*(parseInt(_0x42e592(0x211))/0x2)+-parseInt(_0x42e592(0x22c))/0x3+parseInt(_0x42e592(0x1ca))/0x4*(parseInt(_0x42e592(0x1fa))/0x5)+-parseInt(_0x42e592(0x1bd))/0x6*(parseInt(_0x42e592(0x22b))/0x7)+-parseInt(_0x42e592(0x208))/0x8+-parseInt(_0x42e592(0x1e4))/0x9*(parseInt(_0x42e592(0x20a))/0xa)+parseInt(_0x42e592(0x222))/0xb;if(_0x4daa3a===_0x25f7fd)break;else _0x199985['push'](_0x199985['shift']());}catch(_0x167de9){_0x199985['push'](_0x199985['shift']());}}}(_0x16f1,0x1c531));function _0x16f1(){const _0x52429f=['parent','mouseleave','setCustomProperty','$text','markers','add','element','user:position','user:range','split','333HelRAz','user:position:','size','rootName','has','isPremiumPlugin','schema','user:','plugins','delete','markerName','getNearestSelectionRange','classList','Escape','afterInit','fromRange','spellcheck','getAttribute','addEventListener','applyOperation','ck-user__marker\x20','toRange','135TviBtk','editing','hasDomSelection','innerHTML','isOfficialPlugin','isInline','end','userPositionMarker','removeMarker','color','textContent','contenteditable','selection','enqueueChange','1680784ErtZsE','start','25630hYfNap','highest','type','startsWith','getFirstRange','conversion','getRange','2FVACzo','model','isObject','isSimilar','createUserMarkerOperations','user:range:','removeClass','mapper','clear','update:user:range','getSelectionClass','requires','name','getCustomProperty','batch','isCollapsed','markerNameToElements','4250323bVXVwt','mouseenter','get','change:range','view','isLimit','pluginName','commands','83106WUKMnh','1321173rDQdtV','14412DrPvID','remove','UserMarkers','editingDowncast','reconvertMarker','getPositions','setAttribute','detach','editor','getContainedElement','createElement','for','oldRange','markerToElement','deletionPosition','destroy','outerHTML','undo','ck-user__selection','nodeAfter','ck-user__marker-tooltip','isDocumentOperation','updateMarker','$graveyard','getMarkerClass','marker','_domEmitter','hasContent','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','6cRlCYi','tableCell','mySessionId','stopListening','listenTo','checkChild','toDomElement','span','_createdBatches','createUIElement','getStart','data-session-id','false','21480yzwEVQ','document','init','ck-user__marker_hovered','markerToHighlight','createRange','newRange','set','root','change','render','orderNumber','keydown','getUserBySessionId','markerRange','addMarker'];_0x16f1=function(){return _0x52429f;};return _0x16f1();}import{Plugin as _0x42f0d5}from'ckeditor5/src/core.js';import{global as _0x1107f4,DomEmitterMixin as _0x15394c}from'ckeditor5/src/utils.js';import{Sessions as _0x5ea26b}from'./sessions.js';import{ModelLiveRange as _0x23f0f9}from'ckeditor5/src/engine.js';function _0x2c1a(_0x15b3e5,_0x1259a7){const _0x16f1cd=_0x16f1();return _0x2c1a=function(_0x2c1abe,_0x2573cb){_0x2c1abe=_0x2c1abe-0x1af;let _0x397ecc=_0x16f1cd[_0x2c1abe];return _0x397ecc;},_0x2c1a(_0x15b3e5,_0x1259a7);}import'../../theme/usermarkers.css';export class UserMarkers extends _0x42f0d5{[_0x2f290a(0x1ba)]=new(_0x15394c())();static get[_0x2f290a(0x21c)](){return[_0x5ea26b];}static get[_0x2f290a(0x228)](){const _0x31b0ed=_0x2f290a;return _0x31b0ed(0x22e);}static get[_0x2f290a(0x1fe)](){return!0x0;}static get[_0x2f290a(0x1e9)](){return!0x0;}[_0x2f290a(0x1cc)](){const _0x373867=_0x2f290a,_0x3ca1a1=this[_0x373867(0x234)],_0x3005fa=_0x3ca1a1[_0x373867(0x1ec)][_0x373867(0x224)](_0x5ea26b);_0x3ca1a1[_0x373867(0x20f)][_0x373867(0x237)](_0x373867(0x22f))[_0x373867(0x239)]({'model':_0x373867(0x1e1),'view':(_0x367324,{writer:_0x448552})=>function(_0x35ab33,_0x371f85,_0xe77588,_0x1b799b){const _0x4658c6=_0x373867,_0x1fb8fa=_0x35ab33[_0x4658c6(0x1ee)][_0x4658c6(0x1e3)](':')[0x2],_0x14aa86=_0xe77588[_0x4658c6(0x1d7)](_0x1fb8fa);if(!_0x14aa86||_0x1fb8fa===_0xe77588[_0x4658c6(0x1bf)])return;if(!_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1ea)][_0x4658c6(0x1c2)](_0x35ab33[_0x4658c6(0x1d8)][_0x4658c6(0x209)],_0x4658c6(0x1dd)))return;const _0x343634={'class':_0x4658c6(0x1f8)+_0x14aa86[_0x4658c6(0x203)][_0x4658c6(0x1b8)](),'data-name':_0x14aa86[_0x4658c6(0x21d)],'data-session-id':_0x1fb8fa},_0x13ba7d=_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1de)][_0x4658c6(0x224)](_0x35ab33[_0x4658c6(0x1ee)]),_0x1d546f=_0x13ba7d[_0x4658c6(0x1c7)](),_0x55a2cd=_0x1d546f[_0x4658c6(0x1b3)],_0x309db6=_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1ea)];if(_0x55a2cd&&_0x309db6[_0x4658c6(0x213)](_0x55a2cd)&&_0x309db6[_0x4658c6(0x1ff)](_0x55a2cd)&&!_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1de)][_0x4658c6(0x224)](_0x4658c6(0x216)+_0x1fb8fa)[_0x4658c6(0x210)]()[_0x4658c6(0x220)])return;const _0x2504b1=_0x1d546f[_0x4658c6(0x1da)];return _0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1ea)][_0x4658c6(0x227)](_0x2504b1)&&!_0x1b799b[_0x4658c6(0x212)][_0x4658c6(0x1bb)](_0x2504b1)&&(_0x343634[_0x4658c6(0x205)]=!0x1),function(_0x2f3336,_0x3cd5e2,_0x21cea3){const _0x23b84=_0x4658c6,_0x9452d3=_0x2f3336[_0x23b84(0x1c6)](_0x23b84(0x1c4),_0x3cd5e2);return _0x2f3336[_0x23b84(0x1dc)](_0x23b84(0x201),!0x0,_0x9452d3),_0x9452d3[_0x23b84(0x1d4)]=function(_0x4075a9){const _0x45ba11=_0x23b84,_0x19217c=this[_0x45ba11(0x1c3)](_0x4075a9),_0x4e331b=document[_0x45ba11(0x236)](_0x45ba11(0x1c4));return _0x4e331b[_0x45ba11(0x1f0)][_0x45ba11(0x1df)](_0x45ba11(0x1b4)),_0x4e331b[_0x45ba11(0x232)](_0x45ba11(0x205),_0x45ba11(0x1c9)),_0x4e331b[_0x45ba11(0x232)](_0x45ba11(0x1f4),_0x45ba11(0x1c9)),_0x4e331b[_0x45ba11(0x204)]=_0x21cea3[_0x45ba11(0x21d)],_0x19217c[_0x45ba11(0x1fd)]=_0x45ba11(0x1bc)+_0x4e331b[_0x45ba11(0x1b0)]+'',_0x19217c[_0x45ba11(0x1f6)](_0x45ba11(0x223),()=>{const _0x11f3f8=_0x45ba11;_0x19217c[_0x11f3f8(0x1f0)][_0x11f3f8(0x1df)](_0x11f3f8(0x1cd));}),_0x19217c[_0x45ba11(0x1f6)](_0x45ba11(0x1db),()=>{const _0x4cb233=_0x45ba11;_0x19217c[_0x4cb233(0x1f0)][_0x4cb233(0x22d)](_0x4cb233(0x1cd));}),_0x19217c;},_0x9452d3[_0x23b84(0x214)]=function(_0x418ddb){const _0x54f999=_0x23b84;return!(!this[_0x54f999(0x21e)](_0x54f999(0x201))||!_0x418ddb[_0x54f999(0x21e)](_0x54f999(0x201))||this[_0x54f999(0x1f5)](_0x54f999(0x1c8))!=_0x418ddb[_0x54f999(0x1f5)](_0x54f999(0x1c8)));},_0x9452d3;}(_0x371f85,_0x343634,_0x14aa86);}(_0x367324,_0x448552,_0x3005fa,_0x3ca1a1)}),_0x3ca1a1[_0x373867(0x20f)][_0x373867(0x237)](_0x373867(0x22f))[_0x373867(0x1ce)]({'model':_0x373867(0x1e2),'view':_0x2ad77e=>function(_0xe404af,_0x3e9427){const _0x548229=_0x373867,_0x34d216=_0xe404af[_0x548229(0x1ee)][_0x548229(0x1e3)](':')[0x2];if(_0x34d216===_0x3e9427[_0x548229(0x1bf)])return null;const _0x224344=_0x3e9427[_0x548229(0x1d7)](_0x34d216);if(!_0x224344)return{'id':_0x34d216,'classes':[]};return{'id':_0x34d216,'classes':[_0x548229(0x1b2),_0x224344[_0x548229(0x203)][_0x548229(0x21b)]()],'attributes':{'data-session-id':_0x34d216},'priority':0x7d0+_0x224344[_0x548229(0x1d5)]};}(_0x2ad77e,_0x3005fa)}),function(_0x2a125d){const _0x12d50f=_0x373867,_0x57528e=_0x2a125d[_0x12d50f(0x212)],_0x103108=new Map(),_0x3f7e23=_0x2a125d[_0x12d50f(0x1ec)][_0x12d50f(0x224)](_0x5ea26b);_0x57528e[_0x12d50f(0x1de)]['on'](_0x12d50f(0x21a),(_0x9b9cf9,_0x2b48c8,_0x11ef91,_0x43cbac)=>{const _0x1d812a=_0x12d50f;if(!_0x43cbac&&_0x103108[_0x1d812a(0x224)](_0x2b48c8[_0x1d812a(0x21d)]))return _0x103108[_0x1d812a(0x224)](_0x2b48c8[_0x1d812a(0x21d)])[_0x1d812a(0x233)](),void _0x103108[_0x1d812a(0x1ed)](_0x2b48c8[_0x1d812a(0x21d)]);const _0x5231a0=_0x2b48c8[_0x1d812a(0x21d)][_0x1d812a(0x1e3)](':')[0x2];if(_0x5231a0===_0x3f7e23[_0x1d812a(0x1bf)])return;const _0x382dca=_0x1d812a(0x1e5)+_0x5231a0;_0x57528e[_0x1d812a(0x1de)][_0x1d812a(0x1e8)](_0x382dca)&&_0x2a125d[_0x1d812a(0x1fb)][_0x1d812a(0x230)](_0x382dca),_0x2b48c8['on'](_0x1d812a(0x225),(_0x4f0eb8,_0x5dd138,_0x59fd7f)=>{const _0x32ac7d=_0x1d812a;if(_0x32ac7d(0x1b7)!=_0x5dd138[_0x32ac7d(0x1d2)][_0x32ac7d(0x1e7)]&&_0x32ac7d(0x1b7)==_0x2b48c8[_0x32ac7d(0x210)]()[_0x32ac7d(0x1d2)][_0x32ac7d(0x1e7)]&&!_0x103108[_0x32ac7d(0x1e8)](_0x2b48c8[_0x32ac7d(0x21d)])){const _0x1dc92a=_0x57528e[_0x32ac7d(0x1ea)][_0x32ac7d(0x1ef)](_0x59fd7f[_0x32ac7d(0x23a)]);if(_0x1dc92a){const _0x2006c3=_0x23f0f9[_0x32ac7d(0x1f3)](_0x1dc92a);_0x103108[_0x32ac7d(0x1d1)](_0x2b48c8[_0x32ac7d(0x21d)],_0x2006c3),_0x2006c3['on'](_0x32ac7d(0x225),(_0xec3af2,_0x16a94d,_0x258e8e)=>{const _0x59f67f=_0x32ac7d;if(_0x59f67f(0x1b7)==_0x2006c3[_0x59f67f(0x1d2)][_0x59f67f(0x1e7)]){const _0x884255=_0x57528e[_0x59f67f(0x1ea)][_0x59f67f(0x1ef)](_0x258e8e[_0x59f67f(0x23a)]);_0x884255?(_0x2006c3[_0x59f67f(0x209)]=_0x884255[_0x59f67f(0x209)],_0x2006c3[_0x59f67f(0x200)]=_0x884255[_0x59f67f(0x200)]):(_0x103108[_0x59f67f(0x1ed)](_0x2b48c8[_0x59f67f(0x21d)]),_0x2006c3[_0x59f67f(0x233)]());}});}}});}),_0x57528e[_0x12d50f(0x1cb)]['on'](_0x12d50f(0x1d3),()=>{const _0x1995b5=_0x12d50f;_0x103108[_0x1995b5(0x1e6)]>0x0&&_0x57528e[_0x1995b5(0x207)]({'isUndoable':!0x1},_0x45532d=>{const _0x21a5bf=_0x1995b5;for(const [_0x6039b7,_0x2857db]of _0x103108)_0x21a5bf(0x1b7)==_0x57528e[_0x21a5bf(0x1de)][_0x21a5bf(0x224)](_0x6039b7)[_0x21a5bf(0x210)]()[_0x21a5bf(0x1d2)][_0x21a5bf(0x1e7)]&&(te(_0x6039b7[_0x21a5bf(0x1e3)](':')[0x2],_0x2857db[_0x21a5bf(0x1f9)](),_0x57528e,_0x45532d),_0x2857db[_0x21a5bf(0x233)]());_0x103108[_0x21a5bf(0x219)]();});});}(_0x3ca1a1),this[_0x373867(0x1ba)][_0x373867(0x1c1)](_0x1107f4[_0x373867(0x1cb)],_0x373867(0x1d6),(_0x306754,{key:_0x55e8df})=>{const _0x46bb36=_0x373867;_0x46bb36(0x1f1)===_0x55e8df&&function(_0xf19cbc){const _0xeae5d9=_0x46bb36;_0xf19cbc[_0xeae5d9(0x1fb)][_0xeae5d9(0x226)][_0xeae5d9(0x1d3)](_0x36cf82=>{const _0xcde2c8=_0xeae5d9;for(const _0x3435fb of _0xf19cbc[_0xcde2c8(0x212)][_0xcde2c8(0x1de)]){if(!_0x3435fb[_0xcde2c8(0x21d)][_0xcde2c8(0x20d)](_0xcde2c8(0x1e1)))continue;const _0x184820=_0xf19cbc[_0xcde2c8(0x1fb)][_0xcde2c8(0x218)][_0xcde2c8(0x221)](_0x3435fb[_0xcde2c8(0x21d)]);if(_0x184820){for(const _0x2136ed of _0x184820)_0x36cf82[_0xcde2c8(0x217)](_0xcde2c8(0x1cd),_0x2136ed);}}});}(_0x3ca1a1);},{'useCapture':!0x0});}[_0x2f290a(0x1f2)](){const _0x5b9bb8=_0x2f290a,_0x927713=this[_0x5b9bb8(0x234)],_0x1696df=_0x927713[_0x5b9bb8(0x229)][_0x5b9bb8(0x224)](_0x5b9bb8(0x1b1));_0x1696df&&_0x927713[_0x5b9bb8(0x212)]['on'](_0x5b9bb8(0x1f7),(_0x381efe,_0x3867d3)=>{const _0x469011=_0x5b9bb8,_0x1ff97=_0x3867d3[0x0];if(!_0x1ff97[_0x469011(0x1b5)])return;if(_0x469011(0x1b9)!=_0x1ff97[_0x469011(0x20c)]||!_0x1ff97[_0x469011(0x21d)][_0x469011(0x20d)](_0x469011(0x1eb)))return;const _0x2b4dd9=_0x1ff97[_0x469011(0x21f)];_0x1696df[_0x469011(0x1c5)][_0x469011(0x1e8)](_0x2b4dd9)&&(_0x1ff97[_0x469011(0x1d0)]=_0x1ff97[_0x469011(0x238)]?_0x927713[_0x469011(0x212)][_0x469011(0x1cf)](_0x1ff97[_0x469011(0x238)][_0x469011(0x209)],_0x1ff97[_0x469011(0x238)][_0x469011(0x200)]):null);},{'priority':_0x5b9bb8(0x20b)});}[_0x2f290a(0x1af)](){const _0x83bcec=_0x2f290a;return this[_0x83bcec(0x1ba)][_0x83bcec(0x1c0)](),super[_0x83bcec(0x1af)]();}[_0x2f290a(0x215)](){const _0x35bfec=_0x2f290a,_0x17d012=this[_0x35bfec(0x234)],_0x3c2798=_0x17d012[_0x35bfec(0x212)][_0x35bfec(0x1cb)],_0x4597fe=_0x17d012[_0x35bfec(0x1ec)][_0x35bfec(0x224)](_0x5ea26b);_0x17d012[_0x35bfec(0x212)][_0x35bfec(0x207)]({'isUndoable':!0x1},_0x195533=>{const _0x39d58c=_0x35bfec,_0x37d3c9=_0x39d58c(0x216)+_0x4597fe[_0x39d58c(0x1bf)],_0x15d0a0=_0x39d58c(0x1e5)+_0x4597fe[_0x39d58c(0x1bf)],_0x302324=_0x17d012[_0x39d58c(0x212)][_0x39d58c(0x1de)][_0x39d58c(0x1e8)](_0x37d3c9);_0x17d012[_0x39d58c(0x1fb)][_0x39d58c(0x226)][_0x39d58c(0x1fc)]?te(_0x4597fe[_0x39d58c(0x1bf)],_0x3c2798[_0x39d58c(0x206)][_0x39d58c(0x20e)](),_0x17d012[_0x39d58c(0x212)],_0x195533):_0x302324&&(_0x195533[_0x39d58c(0x202)](_0x37d3c9),_0x195533[_0x39d58c(0x202)](_0x15d0a0));});}}function te(_0x2b78ff,_0x5ac116,_0x4a05d3,_0x57bd9b){const _0x5d8f3f=_0x2f290a,_0x159897=_0x5d8f3f(0x216)+_0x2b78ff,_0x5f49ac=_0x5d8f3f(0x1e5)+_0x2b78ff,_0x5d827a=_0x5ac116[_0x5d8f3f(0x235)]();let _0x6c03a3=_0x5ac116[_0x5d8f3f(0x209)];if(_0x5d827a&&_0x5d827a['is'](_0x5d8f3f(0x1e0),_0x5d8f3f(0x1be))){const _0x4b7278=function(_0x176edf,_0x55a5b7){const _0x13d9b5=_0x5d8f3f;for(const _0x27af2f of _0x176edf[_0x13d9b5(0x231)]())if(_0x55a5b7[_0x13d9b5(0x1ea)][_0x13d9b5(0x1c2)](_0x27af2f,_0x13d9b5(0x1dd)))return _0x27af2f;}(_0x5ac116,_0x4a05d3);_0x4b7278&&(_0x6c03a3=_0x4b7278,_0x5ac116=_0x57bd9b[_0x5d8f3f(0x1cf)](_0x6c03a3));}const _0x1f8711=_0x57bd9b[_0x5d8f3f(0x1cf)](_0x6c03a3);_0x4a05d3[_0x5d8f3f(0x1de)][_0x5d8f3f(0x1e8)](_0x159897)?(_0x57bd9b[_0x5d8f3f(0x1b6)](_0x159897,{'range':_0x5ac116}),_0x57bd9b[_0x5d8f3f(0x1b6)](_0x5f49ac,{'range':_0x1f8711})):(_0x57bd9b[_0x5d8f3f(0x1d9)](_0x159897,{'range':_0x5ac116,'usingOperation':!0x0}),_0x57bd9b[_0x5d8f3f(0x1d9)](_0x5f49ac,{'range':_0x1f8711,'usingOperation':!0x0}));}
|
|
23
|
+
function _0x3e34(){const _0x44f7ed=['addMarker','getAttribute','user:range','getFirstRange','view','classList','fromRange','428746YtvWYd','507717ZyAZkF','getStart','nodeAfter','checkChild','listenTo','element','false','setCustomProperty','ck-user__marker-tooltip','start','isCollapsed','isOfficialPlugin','41111ZiOdIp','786ilfvPd','mapper','has','markerToHighlight','highest','getCustomProperty','user:','markerName','user:position:','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','_domEmitter','createUIElement','isInline','marker','contenteditable','markerToElement','detach','user:position','size','parent','mySessionId','change','editingDowncast','clear','tableCell','updateMarker','for','getMarkerClass','end','createRange','6653163tmIgna','plugins','markerNameToElements','deletionPosition','destroy','get','createElement','getNearestSelectionRange','afterInit','10JGJgnJ','ck-user__selection','2208HLbGvk','17428TUjpRS','isSimilar','40LYvpzB','update:user:range','isObject','4930PUyRUm','spellcheck','requires','startsWith','outerHTML','delete','selection','markerRange','conversion','getUserBySessionId','editing','getPositions','isPremiumPlugin','getContainedElement','hasDomSelection','userPositionMarker','batch','mouseenter','mouseleave','_createdBatches','$graveyard','toDomElement','getSelectionClass','addEventListener','applyOperation','6705216sUNnUi','span','rootName','color','remove','UserMarkers','change:range','init','hasContent','setAttribute','ck-user__marker_hovered','markers','189tasMWO','editor','keydown','newRange','document','toRange','removeClass','innerHTML','reconvertMarker','split','schema','createUserMarkerOperations','$text','isDocumentOperation','data-session-id','textContent','getRange','isLimit','pluginName','oldRange','Escape','undo','enqueueChange','orderNumber','ck-user__marker\x20','stopListening','model','render','set','removeMarker','user:range:','root','name','commands','add','type'];_0x3e34=function(){return _0x44f7ed;};return _0x3e34();}const _0x41bf8e=_0xb169;function _0xb169(_0x7df444,_0x4d44a2){const _0x3e34c9=_0x3e34();return _0xb169=function(_0xb169d2,_0x2dfddc){_0xb169d2=_0xb169d2-0x151;let _0x48c3d2=_0x3e34c9[_0xb169d2];return _0x48c3d2;},_0xb169(_0x7df444,_0x4d44a2);}(function(_0x8b517d,_0x3c68ab){const _0x3b841c=_0xb169,_0x4d924d=_0x8b517d();while(!![]){try{const _0x2c5fc9=parseInt(_0x3b841c(0x1a5))/0x1+parseInt(_0x3b841c(0x1dd))/0x2*(-parseInt(_0x3b841c(0x17a))/0x3)+-parseInt(_0x3b841c(0x1dc))/0x4*(parseInt(_0x3b841c(0x155))/0x5)+-parseInt(_0x3b841c(0x1b3))/0x6*(-parseInt(_0x3b841c(0x1b2))/0x7)+parseInt(_0x3b841c(0x152))/0x8*(parseInt(_0x3b841c(0x1a6))/0x9)+parseInt(_0x3b841c(0x1da))/0xa*(parseInt(_0x3b841c(0x1d1))/0xb)+-parseInt(_0x3b841c(0x16e))/0xc;if(_0x2c5fc9===_0x3c68ab)break;else _0x4d924d['push'](_0x4d924d['shift']());}catch(_0x3961b1){_0x4d924d['push'](_0x4d924d['shift']());}}}(_0x3e34,0x69b59));import{Plugin as _0x3aa639}from'ckeditor5/src/core.js';import{global as _0x201c02,DomEmitterMixin as _0x8d07ca}from'ckeditor5/src/utils.js';import{Sessions as _0x46106e}from'./sessions.js';import{ModelLiveRange as _0x6cb2b9}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x3aa639{[_0x41bf8e(0x1bd)]=new(_0x8d07ca())();static get[_0x41bf8e(0x157)](){return[_0x46106e];}static get[_0x41bf8e(0x18c)](){const _0x47096b=_0x41bf8e;return _0x47096b(0x173);}static get[_0x41bf8e(0x1b1)](){return!0x0;}static get[_0x41bf8e(0x161)](){return!0x0;}[_0x41bf8e(0x175)](){const _0x101a9e=_0x41bf8e,_0x55f384=this[_0x101a9e(0x17b)],_0x2c7a87=_0x55f384[_0x101a9e(0x1d2)][_0x101a9e(0x1d6)](_0x46106e);_0x55f384[_0x101a9e(0x15d)][_0x101a9e(0x1cd)](_0x101a9e(0x1c9))[_0x101a9e(0x1c2)]({'model':_0x101a9e(0x1c4),'view':(_0x5aae0e,{writer:_0x6cd5d8})=>function(_0x38a9bb,_0x2b7753,_0x155cf8,_0x32336f){const _0x216290=_0x101a9e,_0xc52062=_0x38a9bb[_0x216290(0x1ba)][_0x216290(0x183)](':')[0x2],_0x71f1dd=_0x155cf8[_0x216290(0x15e)](_0xc52062);if(!_0x71f1dd||_0xc52062===_0x155cf8[_0x216290(0x1c7)])return;if(!_0x32336f[_0x216290(0x194)][_0x216290(0x184)][_0x216290(0x1a9)](_0x38a9bb[_0x216290(0x15c)][_0x216290(0x1af)],_0x216290(0x186)))return;const _0x568db3={'class':_0x216290(0x192)+_0x71f1dd[_0x216290(0x171)][_0x216290(0x1ce)](),'data-name':_0x71f1dd[_0x216290(0x19a)],'data-session-id':_0xc52062},_0x2276fa=_0x32336f[_0x216290(0x194)][_0x216290(0x179)][_0x216290(0x1d6)](_0x38a9bb[_0x216290(0x1ba)]),_0x35f457=_0x2276fa[_0x216290(0x1a7)](),_0x415ff6=_0x35f457[_0x216290(0x1a8)],_0x28d94e=_0x32336f[_0x216290(0x194)][_0x216290(0x184)];if(_0x415ff6&&_0x28d94e[_0x216290(0x154)](_0x415ff6)&&_0x28d94e[_0x216290(0x1bf)](_0x415ff6)&&!_0x32336f[_0x216290(0x194)][_0x216290(0x179)][_0x216290(0x1d6)](_0x216290(0x198)+_0xc52062)[_0x216290(0x18a)]()[_0x216290(0x1b0)])return;const _0x2f6bdc=_0x35f457[_0x216290(0x1c6)];return _0x32336f[_0x216290(0x194)][_0x216290(0x184)][_0x216290(0x18b)](_0x2f6bdc)&&!_0x32336f[_0x216290(0x194)][_0x216290(0x176)](_0x2f6bdc)&&(_0x568db3[_0x216290(0x1c1)]=!0x1),function(_0x25f313,_0x5ff1e5,_0x15ca8e){const _0x2c4b5a=_0x216290,_0x1959e8=_0x25f313[_0x2c4b5a(0x1be)](_0x2c4b5a(0x16f),_0x5ff1e5);return _0x25f313[_0x2c4b5a(0x1ad)](_0x2c4b5a(0x164),!0x0,_0x1959e8),_0x1959e8[_0x2c4b5a(0x195)]=function(_0x4bb306){const _0xfbfa6f=_0x2c4b5a,_0x21c1dc=this[_0xfbfa6f(0x16a)](_0x4bb306),_0x9a7c4e=document[_0xfbfa6f(0x1d7)](_0xfbfa6f(0x16f));return _0x9a7c4e[_0xfbfa6f(0x1a3)][_0xfbfa6f(0x19c)](_0xfbfa6f(0x1ae)),_0x9a7c4e[_0xfbfa6f(0x177)](_0xfbfa6f(0x1c1),_0xfbfa6f(0x1ac)),_0x9a7c4e[_0xfbfa6f(0x177)](_0xfbfa6f(0x156),_0xfbfa6f(0x1ac)),_0x9a7c4e[_0xfbfa6f(0x189)]=_0x15ca8e[_0xfbfa6f(0x19a)],_0x21c1dc[_0xfbfa6f(0x181)]=_0xfbfa6f(0x1bc)+_0x9a7c4e[_0xfbfa6f(0x159)]+'',_0x21c1dc[_0xfbfa6f(0x16c)](_0xfbfa6f(0x166),()=>{const _0x4743a7=_0xfbfa6f;_0x21c1dc[_0x4743a7(0x1a3)][_0x4743a7(0x19c)](_0x4743a7(0x178));}),_0x21c1dc[_0xfbfa6f(0x16c)](_0xfbfa6f(0x167),()=>{const _0x3491ee=_0xfbfa6f;_0x21c1dc[_0x3491ee(0x1a3)][_0x3491ee(0x172)](_0x3491ee(0x178));}),_0x21c1dc;},_0x1959e8[_0x2c4b5a(0x151)]=function(_0x2a2a19){const _0x46546e=_0x2c4b5a;return!(!this[_0x46546e(0x1b8)](_0x46546e(0x164))||!_0x2a2a19[_0x46546e(0x1b8)](_0x46546e(0x164))||this[_0x46546e(0x19f)](_0x46546e(0x188))!=_0x2a2a19[_0x46546e(0x19f)](_0x46546e(0x188)));},_0x1959e8;}(_0x2b7753,_0x568db3,_0x71f1dd);}(_0x5aae0e,_0x6cd5d8,_0x2c7a87,_0x55f384)}),_0x55f384[_0x101a9e(0x15d)][_0x101a9e(0x1cd)](_0x101a9e(0x1c9))[_0x101a9e(0x1b6)]({'model':_0x101a9e(0x1a0),'view':_0x512841=>function(_0xd66d9f,_0x245a5b){const _0x4fa622=_0x101a9e,_0x475c34=_0xd66d9f[_0x4fa622(0x1ba)][_0x4fa622(0x183)](':')[0x2];if(_0x475c34===_0x245a5b[_0x4fa622(0x1c7)])return null;const _0x551cda=_0x245a5b[_0x4fa622(0x15e)](_0x475c34);if(!_0x551cda)return{'id':_0x475c34,'classes':[]};return{'id':_0x475c34,'classes':[_0x4fa622(0x1db),_0x551cda[_0x4fa622(0x171)][_0x4fa622(0x16b)]()],'attributes':{'data-session-id':_0x475c34},'priority':0x7d0+_0x551cda[_0x4fa622(0x191)]};}(_0x512841,_0x2c7a87)}),function(_0x294131){const _0xa32717=_0x101a9e,_0x2991a8=_0x294131[_0xa32717(0x194)],_0x571089=new Map(),_0xc9e75e=_0x294131[_0xa32717(0x1d2)][_0xa32717(0x1d6)](_0x46106e);_0x2991a8[_0xa32717(0x179)]['on'](_0xa32717(0x153),(_0x312764,_0x5cc366,_0x2f8c25,_0x50627d)=>{const _0x130699=_0xa32717;if(!_0x50627d&&_0x571089[_0x130699(0x1d6)](_0x5cc366[_0x130699(0x19a)]))return _0x571089[_0x130699(0x1d6)](_0x5cc366[_0x130699(0x19a)])[_0x130699(0x1c3)](),void _0x571089[_0x130699(0x15a)](_0x5cc366[_0x130699(0x19a)]);const _0x5e107c=_0x5cc366[_0x130699(0x19a)][_0x130699(0x183)](':')[0x2];if(_0x5e107c===_0xc9e75e[_0x130699(0x1c7)])return;const _0x15d789=_0x130699(0x1bb)+_0x5e107c;_0x2991a8[_0x130699(0x179)][_0x130699(0x1b5)](_0x15d789)&&_0x294131[_0x130699(0x15f)][_0x130699(0x182)](_0x15d789),_0x5cc366['on'](_0x130699(0x174),(_0x16af3f,_0x2a4db7,_0x29ef36)=>{const _0x3f97f6=_0x130699;if(_0x3f97f6(0x169)!=_0x2a4db7[_0x3f97f6(0x199)][_0x3f97f6(0x170)]&&_0x3f97f6(0x169)==_0x5cc366[_0x3f97f6(0x18a)]()[_0x3f97f6(0x199)][_0x3f97f6(0x170)]&&!_0x571089[_0x3f97f6(0x1b5)](_0x5cc366[_0x3f97f6(0x19a)])){const _0x4e27d1=_0x2991a8[_0x3f97f6(0x184)][_0x3f97f6(0x1d8)](_0x29ef36[_0x3f97f6(0x1d4)]);if(_0x4e27d1){const _0x25e40f=_0x6cb2b9[_0x3f97f6(0x1a4)](_0x4e27d1);_0x571089[_0x3f97f6(0x196)](_0x5cc366[_0x3f97f6(0x19a)],_0x25e40f),_0x25e40f['on'](_0x3f97f6(0x174),(_0x5d6665,_0x1f867c,_0x251d4f)=>{const _0x139cf1=_0x3f97f6;if(_0x139cf1(0x169)==_0x25e40f[_0x139cf1(0x199)][_0x139cf1(0x170)]){const _0x5c6e89=_0x2991a8[_0x139cf1(0x184)][_0x139cf1(0x1d8)](_0x251d4f[_0x139cf1(0x1d4)]);_0x5c6e89?(_0x25e40f[_0x139cf1(0x1af)]=_0x5c6e89[_0x139cf1(0x1af)],_0x25e40f[_0x139cf1(0x1cf)]=_0x5c6e89[_0x139cf1(0x1cf)]):(_0x571089[_0x139cf1(0x15a)](_0x5cc366[_0x139cf1(0x19a)]),_0x25e40f[_0x139cf1(0x1c3)]());}});}}});}),_0x2991a8[_0xa32717(0x17e)]['on'](_0xa32717(0x1c8),()=>{const _0x5cacff=_0xa32717;_0x571089[_0x5cacff(0x1c5)]>0x0&&_0x2991a8[_0x5cacff(0x190)]({'isUndoable':!0x1},_0x4ce38f=>{const _0x27fa47=_0x5cacff;for(const [_0x1a2082,_0x2ffb38]of _0x571089)_0x27fa47(0x169)==_0x2991a8[_0x27fa47(0x179)][_0x27fa47(0x1d6)](_0x1a2082)[_0x27fa47(0x18a)]()[_0x27fa47(0x199)][_0x27fa47(0x170)]&&(Z(_0x1a2082[_0x27fa47(0x183)](':')[0x2],_0x2ffb38[_0x27fa47(0x17f)](),_0x2991a8,_0x4ce38f),_0x2ffb38[_0x27fa47(0x1c3)]());_0x571089[_0x27fa47(0x1ca)]();});});}(_0x55f384),this[_0x101a9e(0x1bd)][_0x101a9e(0x1aa)](_0x201c02[_0x101a9e(0x17e)],_0x101a9e(0x17c),(_0x46727d,{key:_0x2a0182})=>{const _0x541ab5=_0x101a9e;_0x541ab5(0x18e)===_0x2a0182&&function(_0x428220){const _0x3e396b=_0x541ab5;_0x428220[_0x3e396b(0x15f)][_0x3e396b(0x1a2)][_0x3e396b(0x1c8)](_0x11e9c4=>{const _0x599d35=_0x3e396b;for(const _0x8851a7 of _0x428220[_0x599d35(0x194)][_0x599d35(0x179)]){if(!_0x8851a7[_0x599d35(0x19a)][_0x599d35(0x158)](_0x599d35(0x1c4)))continue;const _0x6473f5=_0x428220[_0x599d35(0x15f)][_0x599d35(0x1b4)][_0x599d35(0x1d3)](_0x8851a7[_0x599d35(0x19a)]);if(_0x6473f5){for(const _0x48f4b1 of _0x6473f5)_0x11e9c4[_0x599d35(0x180)](_0x599d35(0x178),_0x48f4b1);}}});}(_0x55f384);},{'useCapture':!0x0});}[_0x41bf8e(0x1d9)](){const _0x1f55c4=_0x41bf8e,_0x3b3c36=this[_0x1f55c4(0x17b)],_0xe68c47=_0x3b3c36[_0x1f55c4(0x19b)][_0x1f55c4(0x1d6)](_0x1f55c4(0x18f));_0xe68c47&&_0x3b3c36[_0x1f55c4(0x194)]['on'](_0x1f55c4(0x16d),(_0x286321,_0x2dcbb7)=>{const _0x269f7d=_0x1f55c4,_0x4dbead=_0x2dcbb7[0x0];if(!_0x4dbead[_0x269f7d(0x187)])return;if(_0x269f7d(0x1c0)!=_0x4dbead[_0x269f7d(0x19d)]||!_0x4dbead[_0x269f7d(0x19a)][_0x269f7d(0x158)](_0x269f7d(0x1b9)))return;const _0x3d461f=_0x4dbead[_0x269f7d(0x165)];_0xe68c47[_0x269f7d(0x168)][_0x269f7d(0x1b5)](_0x3d461f)&&(_0x4dbead[_0x269f7d(0x17d)]=_0x4dbead[_0x269f7d(0x18d)]?_0x3b3c36[_0x269f7d(0x194)][_0x269f7d(0x1d0)](_0x4dbead[_0x269f7d(0x18d)][_0x269f7d(0x1af)],_0x4dbead[_0x269f7d(0x18d)][_0x269f7d(0x1cf)]):null);},{'priority':_0x1f55c4(0x1b7)});}[_0x41bf8e(0x1d5)](){const _0xbf3388=_0x41bf8e;return this[_0xbf3388(0x1bd)][_0xbf3388(0x193)](),super[_0xbf3388(0x1d5)]();}[_0x41bf8e(0x185)](){const _0x268631=_0x41bf8e,_0x56d9a2=this[_0x268631(0x17b)],_0x1e2114=_0x56d9a2[_0x268631(0x194)][_0x268631(0x17e)],_0x5ecec0=_0x56d9a2[_0x268631(0x1d2)][_0x268631(0x1d6)](_0x46106e);_0x56d9a2[_0x268631(0x194)][_0x268631(0x190)]({'isUndoable':!0x1},_0x230df8=>{const _0x140578=_0x268631,_0x167a60=_0x140578(0x198)+_0x5ecec0[_0x140578(0x1c7)],_0x3f1ed6=_0x140578(0x1bb)+_0x5ecec0[_0x140578(0x1c7)],_0x2cd6c6=_0x56d9a2[_0x140578(0x194)][_0x140578(0x179)][_0x140578(0x1b5)](_0x167a60);_0x56d9a2[_0x140578(0x15f)][_0x140578(0x1a2)][_0x140578(0x163)]?Z(_0x5ecec0[_0x140578(0x1c7)],_0x1e2114[_0x140578(0x15b)][_0x140578(0x1a1)](),_0x56d9a2[_0x140578(0x194)],_0x230df8):_0x2cd6c6&&(_0x230df8[_0x140578(0x197)](_0x167a60),_0x230df8[_0x140578(0x197)](_0x3f1ed6));});}}function Z(_0x50febd,_0x23a28f,_0x15eea2,_0x1f44bb){const _0x2e3b4a=_0x41bf8e,_0x1d1c72=_0x2e3b4a(0x198)+_0x50febd,_0x207cf5=_0x2e3b4a(0x1bb)+_0x50febd,_0x185210=_0x23a28f[_0x2e3b4a(0x162)]();let _0xbf9d2d=_0x23a28f[_0x2e3b4a(0x1af)];if(_0x185210&&_0x185210['is'](_0x2e3b4a(0x1ab),_0x2e3b4a(0x1cb))){const _0x2a7d84=function(_0x4aa28b,_0xe4141e){const _0x400d64=_0x2e3b4a;for(const _0x172348 of _0x4aa28b[_0x400d64(0x160)]())if(_0xe4141e[_0x400d64(0x184)][_0x400d64(0x1a9)](_0x172348,_0x400d64(0x186)))return _0x172348;}(_0x23a28f,_0x15eea2);_0x2a7d84&&(_0xbf9d2d=_0x2a7d84,_0x23a28f=_0x1f44bb[_0x2e3b4a(0x1d0)](_0xbf9d2d));}const _0x3e00b8=_0x1f44bb[_0x2e3b4a(0x1d0)](_0xbf9d2d);_0x15eea2[_0x2e3b4a(0x179)][_0x2e3b4a(0x1b5)](_0x1d1c72)?(_0x1f44bb[_0x2e3b4a(0x1cc)](_0x1d1c72,{'range':_0x23a28f}),_0x1f44bb[_0x2e3b4a(0x1cc)](_0x207cf5,{'range':_0x3e00b8})):(_0x1f44bb[_0x2e3b4a(0x19e)](_0x1d1c72,{'range':_0x23a28f,'usingOperation':!0x0}),_0x1f44bb[_0x2e3b4a(0x19e)](_0x207cf5,{'range':_0x3e00b8,'usingOperation':!0x0}));}
|