@ckeditor/ckeditor5-real-time-collaboration 46.0.1-alpha.9 → 46.0.1
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 _0x16ab48=_0xb12c;(function(_0x464fea,_0x225c73){const _0x118368=_0xb12c,_0x33fe09=_0x464fea();while(!![]){try{const _0x46e33a=parseInt(_0x118368(0x1bb))/0x1+-parseInt(_0x118368(0x1a5))/0x2*(parseInt(_0x118368(0x1ab))/0x3)+-parseInt(_0x118368(0x1bc))/0x4+parseInt(_0x118368(0x1c3))/0x5+parseInt(_0x118368(0x1a7))/0x6+parseInt(_0x118368(0x1b5))/0x7*(-parseInt(_0x118368(0x1b8))/0x8)+-parseInt(_0x118368(0x1c2))/0x9;if(_0x46e33a===_0x225c73)break;else _0x33fe09['push'](_0x33fe09['shift']());}catch(_0x5ad272){_0x33fe09['push'](_0x33fe09['shift']());}}}(_0x3c2c,0xa97e3));import{View as _0x5aadab}from'ckeditor5/src/ui.js';function _0xb12c(_0x45acc3,_0x4c1078){const _0x3c2c8c=_0x3c2c();return _0xb12c=function(_0xb12c2e,_0x5d3c19){_0xb12c2e=_0xb12c2e-0x1a4;let _0x1e7fb3=_0x3c2c8c[_0xb12c2e];return _0x1e7fb3;},_0xb12c(_0x45acc3,_0x4c1078);}function _0x3c2c(){const _0x2065a0=['6261318vrRqeM','4904095Sxelqb','fire','contains','ck-presence-list__list','focus','div','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','setTemplate','2SVRKqS','keystrokes','7900050JObYsQ','listenTo','hasPopup','change:hasPopup','2871861sqyaVC','Connected\x20users\x20list','set','presencelist:hide','isExpanded','removeAttribute','createCollection','setAttribute','render','list','179221BLpJFT','aria-expanded','relatedTarget','24ewUZpo','.ck-balloon-panel_with-arrow','bindTemplate','287800idyNDB','645012VEURyS','.ck-presence-list__dropdown-list','presencelist:show','items','element','querySelector'];_0x3c2c=function(){return _0x2065a0;};return _0x3c2c();}import{KeystrokeHandler as _0x17a9e4}from'ckeditor5/src/utils.js';import{getTranslation as _0x1e6267}from'../../common-translations.js';export class PresenceInlineListView extends _0x5aadab{[_0x16ab48(0x1bf)];[_0x16ab48(0x1a6)];constructor(_0x241482){const _0x1b10f9=_0x16ab48;super(_0x241482);const _0x29cd56=this[_0x1b10f9(0x1ba)];this[_0x1b10f9(0x1bf)]=this[_0x1b10f9(0x1b1)](),this[_0x1b10f9(0x1a6)]=new _0x17a9e4(),this[_0x1b10f9(0x1ad)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x1b10f9(0x1a4)]({'tag':_0x1b10f9(0x1c8),'attributes':{'aria-haspopup':_0x29cd56['if'](_0x1b10f9(0x1a9)),'aria-expanded':_0x29cd56['to'](_0x1b10f9(0x1af),_0x57467d=>this[_0x1b10f9(0x1a9)]&&String(_0x57467d)),'aria-label':_0x29cd56['to'](_0x1b10f9(0x1a9),_0x10489d=>_0x1e6267(_0x241482,_0x10489d?_0x1b10f9(0x1c9):_0x1b10f9(0x1ac))),'role':_0x1b10f9(0x1b4),'tabindex':_0x29cd56['to'](_0x1b10f9(0x1a9),_0x53c28f=>!!_0x53c28f&&0x0),'class':['ck',_0x1b10f9(0x1c6)]},'children':this[_0x1b10f9(0x1bf)],'on':{'mouseenter':_0x29cd56['to'](()=>this[_0x1b10f9(0x1c4)](_0x1b10f9(0x1be))),'mouseleave':_0x29cd56['to'](_0x56c939=>{const _0x1b12d9=_0x1b10f9,_0x32a44e=_0x56c939,_0x2cfd70=document[_0x1b12d9(0x1c1)](_0x1b12d9(0x1bd)),_0x37258f=document[_0x1b12d9(0x1c1)](_0x1b12d9(0x1b9));_0x2cfd70?.[_0x1b12d9(0x1c5)](_0x32a44e[_0x1b12d9(0x1b7)])||_0x37258f?.[_0x1b12d9(0x1c5)](_0x32a44e[_0x1b12d9(0x1b7)])||this[_0x1b12d9(0x1c4)](_0x1b12d9(0x1ae));})}}),this['on'](_0x1b10f9(0x1aa),(_0x6219f9,_0x1c1332,_0x109a44)=>{const _0x5714cb=_0x1b10f9;this[_0x5714cb(0x1c0)]&&(_0x109a44?this[_0x5714cb(0x1c0)][_0x5714cb(0x1b2)](_0x5714cb(0x1b6),String(this[_0x5714cb(0x1af)])):this[_0x5714cb(0x1c0)][_0x5714cb(0x1b0)](_0x5714cb(0x1b6)));});}[_0x16ab48(0x1c7)](){const _0x4e96ba=_0x16ab48;this[_0x4e96ba(0x1c0)][_0x4e96ba(0x1c7)]();}[_0x16ab48(0x1b3)](){const _0x5845da=_0x16ab48;super[_0x5845da(0x1b3)](),this[_0x5845da(0x1a6)][_0x5845da(0x1a8)](this[_0x5845da(0x1c0)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3d15df=_0x1b79;(function(_0x9b3075,_0x261d6e){const _0x4d05b9=_0x1b79,_0x142c55=_0x9b3075();while(!![]){try{const _0xd5a208=-parseInt(_0x4d05b9(0x99))/0x1+-parseInt(_0x4d05b9(0x89))/0x2+-parseInt(_0x4d05b9(0x96))/0x3+parseInt(_0x4d05b9(0x91))/0x4+parseInt(_0x4d05b9(0x85))/0x5*(parseInt(_0x4d05b9(0x8b))/0x6)+-parseInt(_0x4d05b9(0x9b))/0x7+-parseInt(_0x4d05b9(0x9a))/0x8;if(_0xd5a208===_0x261d6e)break;else _0x142c55['push'](_0x142c55['shift']());}catch(_0xb185f0){_0x142c55['push'](_0x142c55['shift']());}}}(_0x37d3,0x7975d));import{View as _0x46eb04}from'ckeditor5/src/ui.js';import{PresenceCounterView as _0x2f575b}from'./presencecounterview.js';function _0x1b79(_0x175914,_0x4b5d52){const _0x37d37c=_0x37d3();return _0x1b79=function(_0x1b7921,_0x3087ba){_0x1b7921=_0x1b7921-0x84;let _0x21c888=_0x37d37c[_0x1b7921];return _0x21c888;},_0x1b79(_0x175914,_0x4b5d52);}import{PresenceInlineListView as _0x3d4ba5}from'./presenceinlinelistview.js';function _0x37d3(){const _0x9bdcff=['bind','2884212kJgcLr','change','ck-reset','inlineListView','listenTo','283458ZKzTGv','ck-presence-list--collapsed','hasPopup','650640wzkgcf','356656XUXqJn','1410752ZcPqjx','ck-presence-list','first','counterView','locale','958915STrjQd','tooltipPosition','bindTemplate','isCollapsed','382446QFKqVI','div','30XZByhZ','setTemplate','items','set','ck-rounded-corners'];_0x37d3=function(){return _0x9bdcff;};return _0x37d3();}import'../../../theme/presencelist.css';export class PresenceListView extends _0x46eb04{[_0x3d15df(0x9e)];[_0x3d15df(0x94)];constructor(_0x101fe4,_0x489e4d=0x6){const _0x70887f=_0x3d15df;super(_0x101fe4);const _0x17f639=this[_0x70887f(0x87)];this[_0x70887f(0x8e)](_0x70887f(0x88),!0x0),this[_0x70887f(0x9e)]=new _0x2f575b(this[_0x70887f(0x84)],_0x489e4d),this[_0x70887f(0x94)]=new _0x3d4ba5(_0x101fe4),this[_0x70887f(0x94)][_0x70887f(0x90)](_0x70887f(0x98))['to'](this,_0x70887f(0x88)),this[_0x70887f(0x95)](this[_0x70887f(0x94)][_0x70887f(0x8d)],_0x70887f(0x92),()=>{const _0x5964f6=_0x70887f;for(const _0x173e04 of this[_0x5964f6(0x94)][_0x5964f6(0x8d)])_0x173e04[_0x5964f6(0x86)]='s';this[_0x5964f6(0x94)][_0x5964f6(0x8d)][_0x5964f6(0x9d)]&&(this[_0x5964f6(0x94)][_0x5964f6(0x8d)][_0x5964f6(0x9d)][_0x5964f6(0x86)]='se');}),this[_0x70887f(0x8c)]({'tag':_0x70887f(0x8a),'attributes':{'class':['ck',_0x70887f(0x9c),_0x70887f(0x93),_0x70887f(0x8f),_0x17f639['if'](_0x70887f(0x88),_0x70887f(0x97))]},'children':[this[_0x70887f(0x94)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x2ed555=_0x2390;function _0x1953(){var _0x18fdbe=['9348544fvfaLD','9755unttDF','isPremiumPlugin','requires','8084167uHaNsI','63kyGRXX','1332390pjNLag','pluginName','isOfficialPlugin','232EdWnWo','1211560GCuJfu','36537oTrxid','4404408RFlzmz','116YJdZpv','PresenceList'];_0x1953=function(){return _0x18fdbe;};return _0x1953();}(function(_0x221d89,_0x45e147){var _0x239d47=_0x2390,_0x3a7b21=_0x221d89();while(!![]){try{var _0x1bad10=parseInt(_0x239d47(0x89))/0x1*(-parseInt(_0x239d47(0x86))/0x2)+parseInt(_0x239d47(0x93))/0x3*(-parseInt(_0x239d47(0x91))/0x4)+parseInt(_0x239d47(0x92))/0x5+parseInt(_0x239d47(0x85))/0x6+-parseInt(_0x239d47(0x8c))/0x7+parseInt(_0x239d47(0x88))/0x8+parseInt(_0x239d47(0x8d))/0x9*(parseInt(_0x239d47(0x8e))/0xa);if(_0x1bad10===_0x45e147)break;else _0x3a7b21['push'](_0x3a7b21['shift']());}catch(_0x578126){_0x3a7b21['push'](_0x3a7b21['shift']());}}}(_0x1953,0x9ed48));import{ContextPlugin as _0x2cdac5}from'ckeditor5/src/core.js';import{Sessions as _0x2f1b02}from'./realtimecollaborativeediting/sessions.js';import{PresenceListUI as _0x241187}from'./presencelist/presencelistui.js';function _0x2390(_0x479f2d,_0x5a3afe){var _0x19538d=_0x1953();return _0x2390=function(_0x239042,_0x3822a3){_0x239042=_0x239042-0x85;var _0x37e0eb=_0x19538d[_0x239042];return _0x37e0eb;},_0x2390(_0x479f2d,_0x5a3afe);}export class PresenceList extends _0x2cdac5{static get[_0x2ed555(0x8b)](){return[_0x2f1b02,_0x241187];}static get[_0x2ed555(0x8f)](){var _0x4c82c4=_0x2ed555;return _0x4c82c4(0x87);}static get[_0x2ed555(0x90)](){return!0x0;}static get[_0x2ed555(0x8a)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x12d590)());[_0x121497(0xd5)];static get[_0x121497(0xf3)](){const _0xa9e48e=_0x121497;return[_0x40fd1e,_0xa9e48e(0xbf),_0x38c4bc,_0x2b5e8e];}static get[_0x121497(0xcf)](){const _0x15794d=_0x121497;return _0x15794d(0xa0);}static get[_0x121497(0xfe)](){return!0x0;}static get[_0x121497(0xe2)](){return!0x0;}constructor(_0x3bdf60){const _0x592516=_0x121497;super(_0x3bdf60),this[_0x592516(0xd5)]=new Map();}async[_0x121497(0xed)](){const _0x579598=_0x121497,_0x9d6f0e=this[_0x579598(0xb9)],_0x51c107=_0x9d6f0e[_0x579598(0xb5)][_0x579598(0xdd)](_0x579598(0xbf));if(_0x9d6f0e[_0x579598(0xb5)][_0x579598(0xdd)](_0x40fd1e)[_0x579598(0xb7)](this),_0x51c107[_0x579598(0xe6)]={'addCommentThread':async({channelId:_0xf9a219,threadId:_0xecaeed,comments:_0x50f8b4,resolvedAt:_0x5b7af5,resolvedBy:_0xb44ad5,context:_0x7c0a14,attributes:_0xb95726})=>{const _0x241f6e=_0x579598,_0x24a74e=await this[_0x241f6e(0xde)](_0xf9a219)[_0x241f6e(0xd0)]({'commentThreadId':_0xecaeed,'comments':_0x50f8b4[_0x241f6e(0xbc)](_0x1e5b10=>function(_0x91b7de,_0x3e3cb7,_0x37b1e9){const _0x3de18a=_0x241f6e;return{'commentThreadId':_0x37b1e9,'commentId':_0x91b7de[_0x3de18a(0xae)],'userId':_0x91b7de[_0x3de18a(0x100)],'content':_0x91b7de[_0x3de18a(0xa4)],'documentId':_0x3e3cb7,'createdAt':_0x91b7de[_0x3de18a(0xd2)],'attributes':_0x91b7de[_0x3de18a(0xa2)]||{}};}(_0x1e5b10,_0xf9a219,_0xecaeed)),'resolvedAt':_0x5b7af5,'resolvedBy':_0xb44ad5,'context':_0x7c0a14,'attributes':_0xb95726})[_0x241f6e(0xd9)](k);return{'threadId':_0x24a74e[_0x241f6e(0xf7)],'comments':_0x24a74e[_0x241f6e(0xe8)]};},'getCommentThread':async({channelId:_0x4c13ed,threadId:_0x32817c})=>{const _0x3468b0=_0x579598,_0x1d9d2f=await this[_0x3468b0(0xde)](_0x4c13ed)[_0x3468b0(0xe7)](_0x32817c)[_0x3468b0(0xd9)](k);return _0x1d9d2f[_0x3468b0(0xc0)]?null:(await this[_0x3468b0(0xa5)]([_0x1d9d2f]),{'threadId':_0x1d9d2f[_0x3468b0(0xf7)],'comments':_0x1d9d2f[_0x3468b0(0xe8)][_0x3468b0(0xbc)](B),'context':_0x1d9d2f[_0x3468b0(0xb9)],'resolvedAt':_0x1d9d2f[_0x3468b0(0xd7)],'resolvedBy':_0x1d9d2f[_0x3468b0(0xaa)],'attributes':_0x1d9d2f[_0x3468b0(0xa2)]||{}});},'updateCommentThread':async({channelId:_0xb078e9,threadId:_0x49424c,context:_0x4963fd,unlinkedAt:_0x1e9f5a,attributes:_0x37fc26})=>this[_0x579598(0xde)](_0xb078e9)[_0x579598(0xeb)]({'commentThreadId':_0x49424c,'context':_0x4963fd,'attributes':_0x37fc26,'unlinkedAt':_0x1e9f5a})[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'resolveCommentThread':async({channelId:_0x445029,threadId:_0x3bd55f})=>{const _0x1cffb2=_0x579598,_0x184ff4=await this[_0x1cffb2(0xde)](_0x445029)[_0x1cffb2(0xf4)](_0x3bd55f)[_0x1cffb2(0xd9)](F)[_0x1cffb2(0xd9)](k);return{'threadId':_0x184ff4[_0x1cffb2(0xf7)],'resolvedAt':_0x184ff4[_0x1cffb2(0xd7)],'resolvedBy':_0x184ff4[_0x1cffb2(0xaa)]};},'reopenCommentThread':async({channelId:_0x18b0aa,threadId:_0x54afd3})=>this[_0x579598(0xde)](_0x18b0aa)[_0x579598(0xa3)](_0x54afd3)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'removeCommentThread':({channelId:_0x7d3181,threadId:_0x3e7396})=>this[_0x579598(0xde)](_0x7d3181)[_0x579598(0xc7)](_0x3e7396)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'addComment':({channelId:_0x3fc63d,threadId:_0x25a71c,commentId:_0x2a0244,content:_0x2f4343,attributes:_0x302d67})=>this[_0x579598(0xde)](_0x3fc63d)[_0x579598(0xea)](_0x25a71c,_0x2a0244,_0x2f4343,_0x302d67)[_0x579598(0xd9)](k),'updateComment':({channelId:_0x293aab,threadId:_0x21a2c2,commentId:_0x3dd3a9,content:_0x33cd43,attributes:_0x274efd})=>this[_0x579598(0xde)](_0x293aab)[_0x579598(0xd4)](_0x21a2c2,_0x3dd3a9,_0x33cd43,_0x274efd)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k),'removeComment':({channelId:_0x2be0a6,threadId:_0x34b486,commentId:_0x11e138})=>this[_0x579598(0xde)](_0x2be0a6)[_0x579598(0xb6)](_0x34b486,_0x11e138)[_0x579598(0xd9)](F)[_0x579598(0xd9)](k)},_0x9d6f0e instanceof _0x2635cd){const _0x3c7a66=_0x9d6f0e[_0x579598(0xb1)][_0x579598(0xdd)](_0x579598(0xca)),_0x1ff443=_0x9d6f0e[_0x579598(0xb5)][_0x579598(0xdd)](_0x38c4bc);await this[_0x579598(0xdc)](_0x3c7a66);const _0x53222a=await this[_0x579598(0xd5)][_0x579598(0xdd)](_0x3c7a66)[_0x579598(0xc1)]();this[_0x579598(0xc4)](_0x1ff443,_0x579598(0xff)+_0x3c7a66,(_0x185900,{session:_0x2e0d61})=>{const _0x587a49=_0x579598;_0x2e0d61['id']===_0x1ff443[_0x587a49(0xa9)]&&(_0x185900[_0x587a49(0x9e)](),this[_0x587a49(0xb9)][_0x587a49(0xb5)][_0x587a49(0xdd)](_0x587a49(0xbb))[_0x587a49(0xf0)](_0x2e0d61[_0x587a49(0xa1)],_0x3c7a66));}),_0x1ff443[_0x579598(0x101)](_0x3c7a66,_0x53222a);}}async[_0x121497(0xdc)](_0x4ff869){const _0x1ba361=_0x121497;if(this[_0x1ba361(0xd5)][_0x1ba361(0xaf)](_0x4ff869))throw new _0x2d8085(_0x1ba361(0xab),null,{'channelId':_0x4ff869});const _0xf601a9=this[_0x1ba361(0xb9)][_0x1ba361(0xb5)][_0x1ba361(0xdd)](_0x1ba361(0xbf)),_0x548bf1=new s[(_0x1ba361(0xbe))](_0x4ff869);this[_0x1ba361(0xd5)][_0x1ba361(0xf6)](_0x4ff869,_0x548bf1),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xf2),(_0x4e0077,_0x191c0a)=>{const _0x4614e9=_0x1ba361,{commentThreadId:_0x2d0f29,documentId:_0x220af0,context:_0x4bc72f,attributes:_0x102552,resolvedAt:_0x45f7a0,resolvedBy:_0x1cf088,comments:_0x306987}=_0x191c0a;_0xf601a9[_0x4614e9(0xe7)](_0x2d0f29)||_0xf601a9[_0x4614e9(0xd0)]({'threadId':_0x2d0f29,'channelId':_0x220af0,'comments':_0x306987?_0x306987[_0x4614e9(0xbc)](B):[],'context':_0x4bc72f,'attributes':_0x102552,'resolvedAt':_0x45f7a0,'resolvedBy':_0x1cf088,'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xee),(_0x324021,{commentThreadId:_0x442cee,documentId:_0x56e12b,context:_0x2c409e,unlinkedAt:_0x2b10c7,attributes:_0x2eab47})=>{const _0x3788e4=_0x1ba361;_0xf601a9[_0x3788e4(0xe7)](_0x442cee)&&_0xf601a9[_0x3788e4(0xeb)]({'threadId':_0x442cee,'channelId':_0x56e12b,'context':_0x2c409e,'unlinkedAt':_0x2b10c7,'attributes':_0x2eab47,'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xc8),(_0x5ebb78,{commentThreadId:_0x48fe06,resolvedBy:_0x2e0b07,resolvedAt:_0x4558f2})=>{const _0x367292=_0x1ba361,_0x48ae15=_0xf601a9[_0x367292(0xe7)](_0x48fe06);_0x48ae15&&_0x48ae15[_0x367292(0xb4)]({'resolvedBy':_0x2e0b07,'resolvedAt':_0x4558f2,'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xdb),(_0x50773c,{commentThreadId:_0x1c9cec})=>{const _0x12063d=_0x1ba361,_0x54bb3c=_0xf601a9[_0x12063d(0xe7)](_0x1c9cec);_0x54bb3c&&_0x54bb3c[_0x12063d(0xbd)]({'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0x9d),(_0x6ce6cb,{commentThreadId:_0x43a2dc})=>{const _0x11d87b=_0x1ba361,_0x3e8681=_0xf601a9[_0x11d87b(0xe7)](_0x43a2dc);_0x3e8681&&_0x3e8681[_0x11d87b(0xc3)]({'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xda),(_0x54184e,_0xede86e)=>{const _0x315993=_0x1ba361,_0x457774=_0xede86e[_0x315993(0xf7)],_0x528f01=_0xf601a9[_0x315993(0xe7)](_0x457774);_0x528f01&&_0x528f01[_0x315993(0xea)]({...B(_0xede86e),'isFromAdapter':!0x0});}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xa8),(_0x11ef2,{commentThreadId:_0x14638e,commentId:_0x8df948,content:_0x27e657,attributes:_0x394417})=>{const _0x369296=_0x1ba361,_0x5879aa=_0xf601a9[_0x369296(0xe7)](_0x14638e);if(_0x5879aa){const _0xa3919=_0x5879aa[_0x369296(0xd1)](_0x8df948);_0xa3919&&_0xa3919[_0x369296(0xe3)]({'content':_0x27e657,'attributes':_0x394417,'isFromAdapter':!0x0});}}),this[_0x1ba361(0xc4)](_0x548bf1,_0x1ba361(0xfc),(_0x4ed15c,{commentThreadId:_0x281b75,commentId:_0x48f91b})=>{const _0x3b8258=_0x1ba361,_0x320c97=_0xf601a9[_0x3b8258(0xe7)](_0x281b75);if(_0x320c97){const _0x1a6799=_0x320c97[_0x3b8258(0xd1)](_0x48f91b);_0x1a6799&&_0x1a6799[_0x3b8258(0xc3)]({'isFromAdapter':!0x0});}}),await this[_0x1ba361(0xcd)](_0x4ff869);}[_0x121497(0xcc)](){const _0x27260a=_0x121497;if(this[_0x27260a(0xb9)]instanceof _0x2635cd){const _0x187d4c=this[_0x27260a(0xb9)][_0x27260a(0xb1)][_0x27260a(0xdd)](_0x27260a(0xca));this[_0x27260a(0xe4)](_0x187d4c);}}[_0x121497(0xe4)](_0x3f0bee){const _0x26723f=_0x121497;if(!this[_0x26723f(0xd5)][_0x26723f(0xaf)](_0x3f0bee))throw new _0x2d8085(_0x26723f(0xac),null,{'channelId':_0x3f0bee});this[_0x26723f(0xde)](_0x3f0bee)[_0x26723f(0xe0)](),this[_0x26723f(0xd5)][_0x26723f(0xc6)](_0x3f0bee);}async[_0x121497(0xba)](){const _0x68a0bd=_0x121497;for(const _0x2c942c of this[_0x68a0bd(0xd5)][_0x68a0bd(0xfb)]())await this[_0x68a0bd(0xcd)](_0x2c942c);if(this[_0x68a0bd(0xb9)]instanceof _0x2635cd){const _0x55a078=this[_0x68a0bd(0xb9)][_0x68a0bd(0xb1)][_0x68a0bd(0xdd)](_0x68a0bd(0xca)),_0x324d6d=this[_0x68a0bd(0xb9)][_0x68a0bd(0xb5)][_0x68a0bd(0xdd)](_0x38c4bc);_0x324d6d[_0x68a0bd(0xb3)](_0x55a078);const _0x3f8a4e=await this[_0x68a0bd(0xd5)][_0x68a0bd(0xdd)](_0x55a078)[_0x68a0bd(0xc1)]();_0x324d6d[_0x68a0bd(0x101)](_0x55a078,_0x3f8a4e);}}async[_0x121497(0xcd)](_0x34601f){const _0x2f8c30=_0x121497,{connection:_0x364895}=this[_0x2f8c30(0xb9)][_0x2f8c30(0xb5)][_0x2f8c30(0xdd)](_0x40fd1e),_0x4d80d0=this[_0x2f8c30(0xb9)][_0x2f8c30(0xb5)][_0x2f8c30(0xdd)](_0x2f8c30(0xbf)),_0x5de6cc=this[_0x2f8c30(0xd5)][_0x2f8c30(0xdd)](_0x34601f),_0x4137b0=await _0x5de6cc[_0x2f8c30(0xf1)](_0x364895);await this[_0x2f8c30(0xa5)](_0x4137b0);const _0x58ef28=new Set(Array[_0x2f8c30(0xc9)](_0x4d80d0[_0x2f8c30(0xc5)]({'channelId':_0x34601f}),_0x5af8fd=>_0x5af8fd['id']));for(const _0x582472 of _0x4137b0)_0x582472[_0x2f8c30(0xc0)]||_0x58ef28[_0x2f8c30(0xc6)](_0x582472[_0x2f8c30(0xf7)]);for(const _0x45fddc of _0x58ef28)_0x4d80d0[_0x2f8c30(0xe7)](_0x45fddc)[_0x2f8c30(0xc3)]({'isFromAdapter':!0x0});for(const _0x32de2b of _0x4137b0){let _0x3ff32b=_0x4d80d0[_0x2f8c30(0xe7)](_0x32de2b[_0x2f8c30(0xf7)]);const {commentThreadId:_0x133b43,context:_0x4201dd,attributes:_0x4641d2,resolvedBy:_0x230657,resolvedAt:_0x3c8a7f,unlinkedAt:_0x3e99ef,deletedAt:_0x1cd569}=_0x32de2b;if(_0x1cd569)continue;_0x3ff32b||(_0x3ff32b=_0x4d80d0[_0x2f8c30(0xd0)]({'channelId':_0x34601f,'threadId':_0x133b43,'context':_0x4201dd,'attributes':_0x4641d2||{},'resolvedBy':_0x230657,'resolvedAt':_0x3c8a7f,'unlinkedAt':_0x3e99ef,'isFromAdapter':!0x0}));const _0x55d09a=new Set(Array[_0x2f8c30(0xc9)](_0x3ff32b[_0x2f8c30(0xe8)],_0x39462f=>_0x39462f['id']));for(const _0x3bda1d of _0x32de2b[_0x2f8c30(0xe8)])_0x55d09a[_0x2f8c30(0xc6)](_0x3bda1d[_0x2f8c30(0xae)]);for(const _0x381955 of _0x55d09a)_0x3ff32b[_0x2f8c30(0xd1)](_0x381955)[_0x2f8c30(0xc3)]({'isFromAdapter':!0x0});for(const _0x21381b of _0x32de2b[_0x2f8c30(0xe8)]){const _0x656375=_0x3ff32b[_0x2f8c30(0xd1)](_0x21381b[_0x2f8c30(0xae)]);_0x656375?_0x656375[_0x2f8c30(0xa4)]!==_0x21381b[_0x2f8c30(0xa4)]&&_0x656375[_0x2f8c30(0xe3)]({'content':_0x21381b[_0x2f8c30(0xa4)],'isFromAdapter':!0x0}):_0x3ff32b[_0x2f8c30(0xea)](Object[_0x2f8c30(0xd3)](B(_0x21381b),{'isFromAdapter':!0x0}));}}}[_0x121497(0xde)](_0x1f7ef0){const _0x24de78=_0x121497;if(!this[_0x24de78(0xd5)][_0x24de78(0xaf)](_0x1f7ef0))throw new _0x2d8085(_0x24de78(0xb0),null,{'channelId':_0x1f7ef0});return this[_0x24de78(0xd5)][_0x24de78(0xdd)](_0x1f7ef0);}async[_0x121497(0xa5)](_0xa3ed25){const _0x1e6030=_0x121497,_0x1bcca3=this[_0x1e6030(0xb9)][_0x1e6030(0xb5)][_0x1e6030(0xdd)](_0x2b5e8e),{connection:_0x14d476}=this[_0x1e6030(0xb9)][_0x1e6030(0xb5)][_0x1e6030(0xdd)](_0x40fd1e),_0x5f3640=new Set();for(const {resolvedBy:_0x418831,comments:_0x6b9153}of _0xa3ed25){_0x418831&&!_0x1bcca3[_0x1e6030(0xe9)](_0x418831)&&_0x5f3640[_0x1e6030(0xf9)](_0x418831);for(const {userId:_0x2dd2f3}of _0x6b9153)_0x1bcca3[_0x1e6030(0xe9)](_0x2dd2f3)||_0x5f3640[_0x1e6030(0xf9)](_0x2dd2f3);}if(0x0===_0x5f3640[_0x1e6030(0xd6)])return;const _0x18a22a=await _0x5e2558[_0x1e6030(0xce)](_0x14d476,Array[_0x1e6030(0xc9)](_0x5f3640));for(const _0x28448e of _0x18a22a)_0x1bcca3[_0x1e6030(0xe9)](_0x28448e['id'])||_0x1bcca3[_0x1e6030(0xf8)](_0x28448e);}}export{s as CloudServicesCommentsAdapter};async function F(_0x16b9d1){const _0x5aebf9=_0x121497;if(_0x5aebf9(0xec)!==_0x16b9d1[_0x5aebf9(0xcb)])throw _0x16b9d1;}function _0x1584(){const _0x51c141=['4230liyGGD','unregister','resolve','plugins','removeComment','addToReconnectionStack','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','context','reconnect','Permissions','map','reopen','CommentsService','CommentsRepository','deletedAt','getConnectedSessions','userId','remove','listenTo','getCommentThreads','delete','removeCommentThread','commentThreadResolved','from','collaboration.channelId','code','destroy','_connectService','getMany','pluginName','addCommentThread','getComment','createdAt','assign','updateComment','_services','size','resolvedAt','329TLhaLW','catch','commentAdded','commentThreadReopened','_setUpService','get','_getService','646935EULxds','disconnect','122424yYsAZL','isPremiumPlugin','update','_terminateService','startsWith','adapter','getCommentThread','comments','getUser','addComment','updateCommentThread','404','init','commentThreadUpdated','cloud-services-internal-error:\x20Request\x20timeout.','setPermissions','connect','commentThreadAdded','requires','resolveCommentThread','1814730vdYSGW','set','commentThreadId','addUser','add','cloud-services-internal-error:\x20Not\x20connected.','keys','commentRemoved','4vOVgUM','isOfficialPlugin','sessionAdd:','authorId','register','1246140gFjVwD','commentThreadRemoved','off','1803496yylJmY','CloudServicesCommentsAdapter','permissions','attributes','reopenCommentThread','content','_fetchMissingUsersForThreads','message','8937GZXIOz','commentUpdated','mySessionId','resolvedBy','cloudservicescommentsadapter-connect-already-connected','cloudservicescommentsadapter-disconnect-not-exist','4943135CfDANt','commentId','has','cloudservicescommentsadapter-service-not-exist','config'];_0x1584=function(){return _0x51c141;};return _0x1584();}function k(_0x5cc7fa){const _0x2b7d44=_0x121497;if((_0x40a7c8=_0x5cc7fa)[_0x2b7d44(0xa6)][_0x2b7d44(0xe5)](_0x2b7d44(0xb8))||_0x40a7c8[_0x2b7d44(0xa6)][_0x2b7d44(0xe5)](_0x2b7d44(0xfa))||_0x40a7c8[_0x2b7d44(0xa6)][_0x2b7d44(0xe5)](_0x2b7d44(0xef)))return new Promise(()=>{});var _0x40a7c8;throw _0x5cc7fa;}function B(_0x10f720){const _0x1ecbf3=_0x121497;return{'threadId':_0x10f720[_0x1ecbf3(0xf7)],'commentId':_0x10f720[_0x1ecbf3(0xae)],'content':_0x10f720[_0x1ecbf3(0xa4)],'createdAt':_0x10f720[_0x1ecbf3(0xd2)],'authorId':_0x10f720[_0x1ecbf3(0xc2)],'attributes':_0x10f720[_0x1ecbf3(0xa2)]||{}};}
|
|
23
|
+
const _0x374837=_0x2a15;(function(_0x1dabc2,_0x43ac13){const _0x4e6f87=_0x2a15,_0x156acc=_0x1dabc2();while(!![]){try{const _0x5dd3c0=parseInt(_0x4e6f87(0x9e))/0x1+-parseInt(_0x4e6f87(0x89))/0x2*(-parseInt(_0x4e6f87(0xc3))/0x3)+parseInt(_0x4e6f87(0xb0))/0x4+-parseInt(_0x4e6f87(0x86))/0x5*(-parseInt(_0x4e6f87(0x82))/0x6)+-parseInt(_0x4e6f87(0x71))/0x7*(-parseInt(_0x4e6f87(0xc9))/0x8)+-parseInt(_0x4e6f87(0xd4))/0x9+-parseInt(_0x4e6f87(0xaf))/0xa;if(_0x5dd3c0===_0x43ac13)break;else _0x156acc['push'](_0x156acc['shift']());}catch(_0x5e260b){_0x156acc['push'](_0x156acc['shift']());}}}(_0x5a1c,0xe5431));import{Context as _0x4fc6f7,ContextPlugin as _0x4bbad4}from'ckeditor5/src/core.js';import{CKEditorError as _0xfff8f3}from'ckeditor5/src/utils.js';function _0x5a1c(){const _0x4e90f6=['465474nOBOzt','code','commentRemoved','reconnect','get','commentThreadUpdated','5720otFEPW','resolve','CommentsRepository','setPermissions','disconnect','resolvedAt','404','init','message','resolveCommentThread','commentThreadResolved','8460810guldkz','remove','cloud-services-internal-error:\x20Request\x20timeout.','1309PVlVoJ','userId','context','resolvedBy','getCommentThread','commentThreadRemoved','getMany','listenTo','cloudservicescommentsadapter-connect-already-connected','_fetchMissingUsersForThreads','authorId','updateComment','map','createdAt','reopenCommentThread','reopen','Permissions','6glZlyk','off','commentThreadAdded','CloudServicesCommentsAdapter','3219235teYtDL','update','removeComment','2hmomjZ','getConnectedSessions','CommentsService','startsWith','commentAdded','keys','adapter','has','_getService','unregister','addToReconnectionStack','getUser','isPremiumPlugin','register','cloudservicescommentsadapter-service-not-exist','addUser','addCommentThread','size','plugins','deletedAt','addComment','1515754VPqdeA','connect','attributes','_services','commentUpdated','requires','getComment','comments','_terminateService','catch','content','cloud-services-internal-error:\x20Not\x20connected.','assign','set','permissions','pluginName','_setUpService','8638840LzXWkg','1178268rZQimF','removeCommentThread','_connectService','commentThreadReopened','collaboration.channelId','destroy','sessionAdd:','commentThreadId','add','cloudservicescommentsadapter-disconnect-not-exist','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','getCommentThreads','commentId','isOfficialPlugin','config','delete','from','updateCommentThread','mySessionId'];_0x5a1c=function(){return _0x4e90f6;};return _0x5a1c();}import{Users as _0x3b1cb5}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1e8696,User as _0x23a663}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import{WebSocketGateway as _0x548d5d}from'../realtimecollaborativeediting/websocketgateway.js';function _0x2a15(_0x11ff67,_0x3821d2){const _0x5a1c36=_0x5a1c();return _0x2a15=function(_0x2a155b,_0x229964){_0x2a155b=_0x2a155b-0x70;let _0x43de3d=_0x5a1c36[_0x2a155b];return _0x43de3d;},_0x2a15(_0x11ff67,_0x3821d2);}import{Sessions as _0x47c780}from'../realtimecollaborativeediting/sessions.js';class s extends _0x4bbad4{static [_0x374837(0x8b)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1e8696)());[_0x374837(0xa1)];static get[_0x374837(0xa3)](){const _0x3ec577=_0x374837;return[_0x548d5d,_0x3ec577(0xcb),_0x47c780,_0x3b1cb5];}static get[_0x374837(0xad)](){const _0x2ec080=_0x374837;return _0x2ec080(0x85);}static get[_0x374837(0xbd)](){return!0x0;}static get[_0x374837(0x95)](){return!0x0;}constructor(_0x79a465){const _0x42d6cb=_0x374837;super(_0x79a465),this[_0x42d6cb(0xa1)]=new Map();}async[_0x374837(0xd0)](){const _0x11f0bf=_0x374837,_0x36641e=this[_0x11f0bf(0x73)],_0x387370=_0x36641e[_0x11f0bf(0x9b)][_0x11f0bf(0xc7)](_0x11f0bf(0xcb));if(_0x36641e[_0x11f0bf(0x9b)][_0x11f0bf(0xc7)](_0x548d5d)[_0x11f0bf(0x93)](this),_0x387370[_0x11f0bf(0x8f)]={'addCommentThread':async({channelId:_0x234a7f,threadId:_0x2c6b3f,comments:_0x1cee47,resolvedAt:_0x117bb7,resolvedBy:_0x35da3b,context:_0x252c20,attributes:_0x5ef215})=>{const _0x41bc70=_0x11f0bf,_0x1a5697=await this[_0x41bc70(0x91)](_0x234a7f)[_0x41bc70(0x99)]({'commentThreadId':_0x2c6b3f,'comments':_0x1cee47[_0x41bc70(0x7d)](_0x1b0481=>function(_0x996a8c,_0x5bb930,_0x757bb8){const _0x1c26aa=_0x41bc70;return{'commentThreadId':_0x757bb8,'commentId':_0x996a8c[_0x1c26aa(0xbc)],'userId':_0x996a8c[_0x1c26aa(0x7b)],'content':_0x996a8c[_0x1c26aa(0xa8)],'documentId':_0x5bb930,'createdAt':_0x996a8c[_0x1c26aa(0x7e)],'attributes':_0x996a8c[_0x1c26aa(0xa0)]||{}};}(_0x1b0481,_0x234a7f,_0x2c6b3f)),'resolvedAt':_0x117bb7,'resolvedBy':_0x35da3b,'context':_0x252c20,'attributes':_0x5ef215})[_0x41bc70(0xa7)](k);return{'threadId':_0x1a5697[_0x41bc70(0xb7)],'comments':_0x1a5697[_0x41bc70(0xa5)]};},'getCommentThread':async({channelId:_0x3d2dd6,threadId:_0x1f517f})=>{const _0xa79049=_0x11f0bf,_0x436d1d=await this[_0xa79049(0x91)](_0x3d2dd6)[_0xa79049(0x75)](_0x1f517f)[_0xa79049(0xa7)](k);return _0x436d1d[_0xa79049(0x9c)]?null:(await this[_0xa79049(0x7a)]([_0x436d1d]),{'threadId':_0x436d1d[_0xa79049(0xb7)],'comments':_0x436d1d[_0xa79049(0xa5)][_0xa79049(0x7d)](B),'context':_0x436d1d[_0xa79049(0x73)],'resolvedAt':_0x436d1d[_0xa79049(0xce)],'resolvedBy':_0x436d1d[_0xa79049(0x74)],'attributes':_0x436d1d[_0xa79049(0xa0)]||{}});},'updateCommentThread':async({channelId:_0x22046c,threadId:_0x33328d,context:_0x40c46b,unlinkedAt:_0x2dccc5,attributes:_0x13bed6})=>this[_0x11f0bf(0x91)](_0x22046c)[_0x11f0bf(0xc1)]({'commentThreadId':_0x33328d,'context':_0x40c46b,'attributes':_0x13bed6,'unlinkedAt':_0x2dccc5})[_0x11f0bf(0xa7)](F)[_0x11f0bf(0xa7)](k),'resolveCommentThread':async({channelId:_0x1bc3f6,threadId:_0x115258})=>{const _0x3da7f9=_0x11f0bf,_0x1bb530=await this[_0x3da7f9(0x91)](_0x1bc3f6)[_0x3da7f9(0xd2)](_0x115258)[_0x3da7f9(0xa7)](F)[_0x3da7f9(0xa7)](k);return{'threadId':_0x1bb530[_0x3da7f9(0xb7)],'resolvedAt':_0x1bb530[_0x3da7f9(0xce)],'resolvedBy':_0x1bb530[_0x3da7f9(0x74)]};},'reopenCommentThread':async({channelId:_0x273e51,threadId:_0x576102})=>this[_0x11f0bf(0x91)](_0x273e51)[_0x11f0bf(0x7f)](_0x576102)[_0x11f0bf(0xa7)](F)[_0x11f0bf(0xa7)](k),'removeCommentThread':({channelId:_0x47e95b,threadId:_0x4a31b4})=>this[_0x11f0bf(0x91)](_0x47e95b)[_0x11f0bf(0xb1)](_0x4a31b4)[_0x11f0bf(0xa7)](F)[_0x11f0bf(0xa7)](k),'addComment':({channelId:_0x491790,threadId:_0x49dbe5,commentId:_0x22fc75,content:_0x4ed36d,attributes:_0x3008b5})=>this[_0x11f0bf(0x91)](_0x491790)[_0x11f0bf(0x9d)](_0x49dbe5,_0x22fc75,_0x4ed36d,_0x3008b5)[_0x11f0bf(0xa7)](k),'updateComment':({channelId:_0x58b4e1,threadId:_0x13bda2,commentId:_0xad566e,content:_0x47f42d,attributes:_0x19568a})=>this[_0x11f0bf(0x91)](_0x58b4e1)[_0x11f0bf(0x7c)](_0x13bda2,_0xad566e,_0x47f42d,_0x19568a)[_0x11f0bf(0xa7)](F)[_0x11f0bf(0xa7)](k),'removeComment':({channelId:_0xa2aabf,threadId:_0x3eeecd,commentId:_0x2b0e6d})=>this[_0x11f0bf(0x91)](_0xa2aabf)[_0x11f0bf(0x88)](_0x3eeecd,_0x2b0e6d)[_0x11f0bf(0xa7)](F)[_0x11f0bf(0xa7)](k)},_0x36641e instanceof _0x4fc6f7){const _0x15eb2d=_0x36641e[_0x11f0bf(0xbe)][_0x11f0bf(0xc7)](_0x11f0bf(0xb4)),_0x5a90d1=_0x36641e[_0x11f0bf(0x9b)][_0x11f0bf(0xc7)](_0x47c780);await this[_0x11f0bf(0xae)](_0x15eb2d);const _0x24ae37=await this[_0x11f0bf(0xa1)][_0x11f0bf(0xc7)](_0x15eb2d)[_0x11f0bf(0x8a)]();this[_0x11f0bf(0x78)](_0x5a90d1,_0x11f0bf(0xb6)+_0x15eb2d,(_0x16cbcc,{session:_0x4eb0b3})=>{const _0x41ed62=_0x11f0bf;_0x4eb0b3['id']===_0x5a90d1[_0x41ed62(0xc2)]&&(_0x16cbcc[_0x41ed62(0x83)](),this[_0x41ed62(0x73)][_0x41ed62(0x9b)][_0x41ed62(0xc7)](_0x41ed62(0x81))[_0x41ed62(0xcc)](_0x4eb0b3[_0x41ed62(0xac)],_0x15eb2d));}),_0x5a90d1[_0x11f0bf(0x96)](_0x15eb2d,_0x24ae37);}}async[_0x374837(0xae)](_0x3e0d6e){const _0x27b37e=_0x374837;if(this[_0x27b37e(0xa1)][_0x27b37e(0x90)](_0x3e0d6e))throw new _0xfff8f3(_0x27b37e(0x79),null,{'channelId':_0x3e0d6e});const _0x35ac84=this[_0x27b37e(0x73)][_0x27b37e(0x9b)][_0x27b37e(0xc7)](_0x27b37e(0xcb)),_0x22a9d2=new s[(_0x27b37e(0x8b))](_0x3e0d6e);this[_0x27b37e(0xa1)][_0x27b37e(0xab)](_0x3e0d6e,_0x22a9d2),this[_0x27b37e(0x78)](_0x22a9d2,_0x27b37e(0x84),(_0x17a472,_0x2533ec)=>{const _0x1cc50c=_0x27b37e,{commentThreadId:_0x212797,documentId:_0x5d0b56,context:_0x1b7826,attributes:_0x427f8d,resolvedAt:_0x5eedc4,resolvedBy:_0x2363d7,comments:_0x32ba50}=_0x2533ec;_0x35ac84[_0x1cc50c(0x75)](_0x212797)||_0x35ac84[_0x1cc50c(0x99)]({'threadId':_0x212797,'channelId':_0x5d0b56,'comments':_0x32ba50?_0x32ba50[_0x1cc50c(0x7d)](B):[],'context':_0x1b7826,'attributes':_0x427f8d,'resolvedAt':_0x5eedc4,'resolvedBy':_0x2363d7,'isFromAdapter':!0x0});}),this[_0x27b37e(0x78)](_0x22a9d2,_0x27b37e(0xc8),(_0x1a714b,{commentThreadId:_0x3e076f,documentId:_0x2e58eb,context:_0x2809bf,unlinkedAt:_0x2bed98,attributes:_0x21a370})=>{const _0x47d91e=_0x27b37e;_0x35ac84[_0x47d91e(0x75)](_0x3e076f)&&_0x35ac84[_0x47d91e(0xc1)]({'threadId':_0x3e076f,'channelId':_0x2e58eb,'context':_0x2809bf,'unlinkedAt':_0x2bed98,'attributes':_0x21a370,'isFromAdapter':!0x0});}),this[_0x27b37e(0x78)](_0x22a9d2,_0x27b37e(0xd3),(_0x4ee9f5,{commentThreadId:_0x376f70,resolvedBy:_0x4e106e,resolvedAt:_0x33acdd})=>{const _0x214143=_0x27b37e,_0x2390e2=_0x35ac84[_0x214143(0x75)](_0x376f70);_0x2390e2&&_0x2390e2[_0x214143(0xca)]({'resolvedBy':_0x4e106e,'resolvedAt':_0x33acdd,'isFromAdapter':!0x0});}),this[_0x27b37e(0x78)](_0x22a9d2,_0x27b37e(0xb3),(_0xb663a5,{commentThreadId:_0x57fca2})=>{const _0x526947=_0x27b37e,_0x47d2ba=_0x35ac84[_0x526947(0x75)](_0x57fca2);_0x47d2ba&&_0x47d2ba[_0x526947(0x80)]({'isFromAdapter':!0x0});}),this[_0x27b37e(0x78)](_0x22a9d2,_0x27b37e(0x76),(_0x39e37e,{commentThreadId:_0x4c8497})=>{const _0xd23b8d=_0x27b37e,_0x3debf1=_0x35ac84[_0xd23b8d(0x75)](_0x4c8497);_0x3debf1&&_0x3debf1[_0xd23b8d(0xd5)]({'isFromAdapter':!0x0});}),this[_0x27b37e(0x78)](_0x22a9d2,_0x27b37e(0x8d),(_0x4728cd,_0x2c31bb)=>{const _0x538045=_0x27b37e,_0x59cd0d=_0x2c31bb[_0x538045(0xb7)],_0x41c2f6=_0x35ac84[_0x538045(0x75)](_0x59cd0d);_0x41c2f6&&_0x41c2f6[_0x538045(0x9d)]({...B(_0x2c31bb),'isFromAdapter':!0x0});}),this[_0x27b37e(0x78)](_0x22a9d2,_0x27b37e(0xa2),(_0x535559,{commentThreadId:_0x4b0d1e,commentId:_0x39688f,content:_0x28eb09,attributes:_0x54f832})=>{const _0x14ee22=_0x27b37e,_0xc14a44=_0x35ac84[_0x14ee22(0x75)](_0x4b0d1e);if(_0xc14a44){const _0x254a5c=_0xc14a44[_0x14ee22(0xa4)](_0x39688f);_0x254a5c&&_0x254a5c[_0x14ee22(0x87)]({'content':_0x28eb09,'attributes':_0x54f832,'isFromAdapter':!0x0});}}),this[_0x27b37e(0x78)](_0x22a9d2,_0x27b37e(0xc5),(_0x38755f,{commentThreadId:_0x33d0f3,commentId:_0x543759})=>{const _0x503fea=_0x27b37e,_0x18ae00=_0x35ac84[_0x503fea(0x75)](_0x33d0f3);if(_0x18ae00){const _0x2ccf0e=_0x18ae00[_0x503fea(0xa4)](_0x543759);_0x2ccf0e&&_0x2ccf0e[_0x503fea(0xd5)]({'isFromAdapter':!0x0});}}),await this[_0x27b37e(0xb2)](_0x3e0d6e);}[_0x374837(0xb5)](){const _0x29cc98=_0x374837;if(this[_0x29cc98(0x73)]instanceof _0x4fc6f7){const _0x418a6b=this[_0x29cc98(0x73)][_0x29cc98(0xbe)][_0x29cc98(0xc7)](_0x29cc98(0xb4));this[_0x29cc98(0xa6)](_0x418a6b);}}[_0x374837(0xa6)](_0x43cc5b){const _0x561ed8=_0x374837;if(!this[_0x561ed8(0xa1)][_0x561ed8(0x90)](_0x43cc5b))throw new _0xfff8f3(_0x561ed8(0xb9),null,{'channelId':_0x43cc5b});this[_0x561ed8(0x91)](_0x43cc5b)[_0x561ed8(0xcd)](),this[_0x561ed8(0xa1)][_0x561ed8(0xbf)](_0x43cc5b);}async[_0x374837(0xc6)](){const _0xdb5693=_0x374837;for(const _0x40f5d4 of this[_0xdb5693(0xa1)][_0xdb5693(0x8e)]())await this[_0xdb5693(0xb2)](_0x40f5d4);if(this[_0xdb5693(0x73)]instanceof _0x4fc6f7){const _0x1f57be=this[_0xdb5693(0x73)][_0xdb5693(0xbe)][_0xdb5693(0xc7)](_0xdb5693(0xb4)),_0x208b23=this[_0xdb5693(0x73)][_0xdb5693(0x9b)][_0xdb5693(0xc7)](_0x47c780);_0x208b23[_0xdb5693(0x92)](_0x1f57be);const _0xd96f35=await this[_0xdb5693(0xa1)][_0xdb5693(0xc7)](_0x1f57be)[_0xdb5693(0x8a)]();_0x208b23[_0xdb5693(0x96)](_0x1f57be,_0xd96f35);}}async[_0x374837(0xb2)](_0x669741){const _0x5a538b=_0x374837,{connection:_0x22a2c6}=this[_0x5a538b(0x73)][_0x5a538b(0x9b)][_0x5a538b(0xc7)](_0x548d5d),_0x19ab7e=this[_0x5a538b(0x73)][_0x5a538b(0x9b)][_0x5a538b(0xc7)](_0x5a538b(0xcb)),_0x347c37=this[_0x5a538b(0xa1)][_0x5a538b(0xc7)](_0x669741),_0x72974a=await _0x347c37[_0x5a538b(0x9f)](_0x22a2c6);await this[_0x5a538b(0x7a)](_0x72974a);const _0x42761f=new Set(Array[_0x5a538b(0xc0)](_0x19ab7e[_0x5a538b(0xbb)]({'channelId':_0x669741}),_0x4adebf=>_0x4adebf['id']));for(const _0x4764a7 of _0x72974a)_0x4764a7[_0x5a538b(0x9c)]||_0x42761f[_0x5a538b(0xbf)](_0x4764a7[_0x5a538b(0xb7)]);for(const _0x7d3df2 of _0x42761f)_0x19ab7e[_0x5a538b(0x75)](_0x7d3df2)[_0x5a538b(0xd5)]({'isFromAdapter':!0x0});for(const _0x540771 of _0x72974a){let _0x460d67=_0x19ab7e[_0x5a538b(0x75)](_0x540771[_0x5a538b(0xb7)]);const {commentThreadId:_0x4e240d,context:_0x4ab5fa,attributes:_0x12b738,resolvedBy:_0x5030c6,resolvedAt:_0x5aa464,unlinkedAt:_0x491a27,deletedAt:_0x190d06}=_0x540771;if(_0x190d06)continue;_0x460d67||(_0x460d67=_0x19ab7e[_0x5a538b(0x99)]({'channelId':_0x669741,'threadId':_0x4e240d,'context':_0x4ab5fa,'attributes':_0x12b738||{},'resolvedBy':_0x5030c6,'resolvedAt':_0x5aa464,'unlinkedAt':_0x491a27,'isFromAdapter':!0x0}));const _0x3f4ec6=new Set(Array[_0x5a538b(0xc0)](_0x460d67[_0x5a538b(0xa5)],_0x459344=>_0x459344['id']));for(const _0x4a857a of _0x540771[_0x5a538b(0xa5)])_0x3f4ec6[_0x5a538b(0xbf)](_0x4a857a[_0x5a538b(0xbc)]);for(const _0x5047a4 of _0x3f4ec6)_0x460d67[_0x5a538b(0xa4)](_0x5047a4)[_0x5a538b(0xd5)]({'isFromAdapter':!0x0});for(const _0x263716 of _0x540771[_0x5a538b(0xa5)]){const _0x18a779=_0x460d67[_0x5a538b(0xa4)](_0x263716[_0x5a538b(0xbc)]);_0x18a779?_0x18a779[_0x5a538b(0xa8)]!==_0x263716[_0x5a538b(0xa8)]&&_0x18a779[_0x5a538b(0x87)]({'content':_0x263716[_0x5a538b(0xa8)],'isFromAdapter':!0x0}):_0x460d67[_0x5a538b(0x9d)](Object[_0x5a538b(0xaa)](B(_0x263716),{'isFromAdapter':!0x0}));}}}[_0x374837(0x91)](_0x4f1368){const _0x34684b=_0x374837;if(!this[_0x34684b(0xa1)][_0x34684b(0x90)](_0x4f1368))throw new _0xfff8f3(_0x34684b(0x97),null,{'channelId':_0x4f1368});return this[_0x34684b(0xa1)][_0x34684b(0xc7)](_0x4f1368);}async[_0x374837(0x7a)](_0xd3ce17){const _0x137dbe=_0x374837,_0x445f8b=this[_0x137dbe(0x73)][_0x137dbe(0x9b)][_0x137dbe(0xc7)](_0x3b1cb5),{connection:_0x42122c}=this[_0x137dbe(0x73)][_0x137dbe(0x9b)][_0x137dbe(0xc7)](_0x548d5d),_0x5e33f4=new Set();for(const {resolvedBy:_0x210324,comments:_0x434277}of _0xd3ce17){_0x210324&&!_0x445f8b[_0x137dbe(0x94)](_0x210324)&&_0x5e33f4[_0x137dbe(0xb8)](_0x210324);for(const {userId:_0x2f4cc8}of _0x434277)_0x445f8b[_0x137dbe(0x94)](_0x2f4cc8)||_0x5e33f4[_0x137dbe(0xb8)](_0x2f4cc8);}if(0x0===_0x5e33f4[_0x137dbe(0x9a)])return;const _0x1b5d34=await _0x23a663[_0x137dbe(0x77)](_0x42122c,Array[_0x137dbe(0xc0)](_0x5e33f4));for(const _0x425127 of _0x1b5d34)_0x445f8b[_0x137dbe(0x94)](_0x425127['id'])||_0x445f8b[_0x137dbe(0x98)](_0x425127);}}export{s as CloudServicesCommentsAdapter};async function F(_0x50e929){const _0x404666=_0x374837;if(_0x404666(0xcf)!==_0x50e929[_0x404666(0xc4)])throw _0x50e929;}function k(_0x1f9d5e){const _0x4f8815=_0x374837;if((_0x157465=_0x1f9d5e)[_0x4f8815(0xd1)][_0x4f8815(0x8c)](_0x4f8815(0xba))||_0x157465[_0x4f8815(0xd1)][_0x4f8815(0x8c)](_0x4f8815(0xa9))||_0x157465[_0x4f8815(0xd1)][_0x4f8815(0x8c)](_0x4f8815(0x70)))return new Promise(()=>{});var _0x157465;throw _0x1f9d5e;}function B(_0x454b3a){const _0x59e6c0=_0x374837;return{'threadId':_0x454b3a[_0x59e6c0(0xb7)],'commentId':_0x454b3a[_0x59e6c0(0xbc)],'content':_0x454b3a[_0x59e6c0(0xa8)],'createdAt':_0x454b3a[_0x59e6c0(0x7e)],'authorId':_0x454b3a[_0x59e6c0(0x72)],'attributes':_0x454b3a[_0x59e6c0(0xa0)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x56f807=_0x26d7;(function(_0x243167,_0xb6a1c0){const _0x251028=_0x26d7,_0x56f73e=_0x243167();while(!![]){try{const _0x691ad9=-parseInt(_0x251028(0x1b0))/0x1+-parseInt(_0x251028(0x1bb))/0x2+-parseInt(_0x251028(0x1bd))/0x3+-parseInt(_0x251028(0x1ba))/0x4*(-parseInt(_0x251028(0x1ac))/0x5)+parseInt(_0x251028(0x1b4))/0x6*(-parseInt(_0x251028(0x1ae))/0x7)+-parseInt(_0x251028(0x1c9))/0x8*(parseInt(_0x251028(0x1c8))/0x9)+parseInt(_0x251028(0x1c3))/0xa;if(_0x691ad9===_0xb6a1c0)break;else _0x56f73e['push'](_0x56f73e['shift']());}catch(_0x215720){_0x56f73e['push'](_0x56f73e['shift']());}}}(_0x3769,0x5e312));import{Plugin as _0x2c6800}from'ckeditor5/src/core.js';import{CloudServicesCommentsAdapter as _0x4a1779}from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';import{RealTimeCollaborativeEditing as _0x2fb516}from'./realtimecollaborativeediting.js';function _0x26d7(_0x2bcc57,_0x1be0f1){const _0x376998=_0x3769();return _0x26d7=function(_0x26d7d7,_0x2ad700){_0x26d7d7=_0x26d7d7-0x1aa;let _0x436db0=_0x376998[_0x26d7d7];return _0x436db0;},_0x26d7(_0x2bcc57,_0x1be0f1);}import{WebSocketGateway as _0x287f8f}from'./realtimecollaborativeediting/websocketgateway.js';export class RealTimeCollaborativeComments extends _0x2c6800{static get[_0x56f807(0x1c0)](){const _0x152d24=_0x56f807;return[_0x152d24(0x1aa),_0x4a1779,_0x2fb516,_0x287f8f];}static get[_0x56f807(0x1b3)](){const _0xaab965=_0x56f807;return _0xaab965(0x1c4);}static get[_0x56f807(0x1b7)](){return!0x0;}static get[_0x56f807(0x1b5)](){return!0x0;}[_0x56f807(0x1be)](){const _0x4d8457=_0x56f807,_0x3df836=this[_0x4d8457(0x1c6)][_0x4d8457(0x1b6)][_0x4d8457(0x1b9)](_0x287f8f),_0x46c7a2=this[_0x4d8457(0x1c6)][_0x4d8457(0x1b6)][_0x4d8457(0x1b9)](_0x4d8457(0x1bf)),_0x3e57db=this[_0x4d8457(0x1c6)][_0x4d8457(0x1b6)][_0x4d8457(0x1b9)](_0x4a1779);return this[_0x4d8457(0x1c6)][_0x4d8457(0x1c7)][_0x4d8457(0x1c2)](_0x4d8457(0x1cb),()=>{const _0x5bbb8e=_0x4d8457;this[_0x5bbb8e(0x1c5)](_0x3df836,_0x5bbb8e(0x1af),(_0x54e251,_0x13754f,_0x47963b)=>{const _0xf93bb6=_0x5bbb8e;_0x46c7a2[_0xf93bb6(0x1cc)]=_0xf93bb6(0x1ab)!==_0x47963b;});}),this[_0x4d8457(0x1c5)](_0x3df836,_0x4d8457(0x1af),(_0x4ebce3,_0x124084,_0x15e722)=>{const _0x5e36d1=_0x4d8457;this[_0x5e36d1(0x1c6)][_0x5e36d1(0x1b6)][_0x5e36d1(0x1b9)](_0x5e36d1(0x1bc))[_0x5e36d1(0x1b2)](_0x5e36d1(0x1ab)!==_0x15e722);}),_0x3e57db[_0x4d8457(0x1ad)](this[_0x4d8457(0x1c6)][_0x4d8457(0x1c1)][_0x4d8457(0x1b9)](_0x4d8457(0x1b1)));}[_0x56f807(0x1ca)](){const _0x2dc599=_0x56f807;this[_0x2dc599(0x1c6)][_0x2dc599(0x1b6)][_0x2dc599(0x1b9)](_0x4a1779)[_0x2dc599(0x1b8)](this[_0x2dc599(0x1c6)][_0x2dc599(0x1c1)][_0x2dc599(0x1b9)](_0x2dc599(0x1b1))),super[_0x2dc599(0x1ca)]();}}function _0x3769(){const _0x25e3a5=['get','256tGJCpD','589406KZeEGO','CommentsRepository','2052411iqcRpJ','init','CommentsEditing','requires','config','once','23760040QabAwV','RealTimeCollaborativeComments','listenTo','editor','data','9teBuxZ','5299384Vdxksl','destroy','ready','isThreadsLoadingPaused','Comments','connected','38345FXcyvV','_setUpService','2380xIqJpN','change:state','272967afxkYb','collaboration.channelId','switchReadOnly','pluginName','10002gzOgRl','isPremiumPlugin','plugins','isOfficialPlugin','_terminateService'];_0x3769=function(){return _0x25e3a5;};return _0x3769();}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x11441f)());[_0x3abe2c(0x249)];[_0x3abe2c(0x1ac)];[_0x3abe2c(0x25a)];[_0x3abe2c(0x1d0)];[_0x3abe2c(0x207)];[_0x3abe2c(0x24d)];[_0x3abe2c(0x1f1)];[_0x3abe2c(0x259)];[_0x3abe2c(0x227)];[_0x3abe2c(0x28d)];[_0x3abe2c(0x238)];[_0x3abe2c(0x1ec)];[_0x3abe2c(0x26a)];[_0x3abe2c(0x1dd)];[_0x3abe2c(0x280)];[_0x3abe2c(0x1fc)];[_0x3abe2c(0x242)];[_0x3abe2c(0x200)];static get[_0x3abe2c(0x1c9)](){return[_0x5c43bc,_0x47403e,_0x50211f,_0x23aa24,_0x2ed45e,_0x56108a];}static get[_0x3abe2c(0x21c)](){const _0x14e5b0=_0x3abe2c;return _0x14e5b0(0x1c1);}static get[_0x3abe2c(0x23a)](){return!0x0;}static get[_0x3abe2c(0x1a9)](){return!0x0;}get[_0x3abe2c(0x232)](){const _0x5ef91e=_0x3abe2c;return this[_0x5ef91e(0x1e6)]+this[_0x5ef91e(0x249)];}get[_0x3abe2c(0x1e6)](){const _0x466e9d=_0x3abe2c;return this[_0x466e9d(0x25a)][_0x466e9d(0x211)]-this[_0x466e9d(0x249)];}get[_0x3abe2c(0x267)](){const _0x6706e3=_0x3abe2c,_0x5ce778=this[_0x6706e3(0x25a)][_0x6706e3(0x21a)]();for(let _0x19ddc6=_0x5ce778[_0x6706e3(0x210)]-0x1;_0x19ddc6>=0x0;_0x19ddc6--){const _0x113e2f=_0x5ce778[_0x19ddc6];if(!this[_0x6706e3(0x242)][_0x6706e3(0x20b)](_0x113e2f))return _0x113e2f[_0x6706e3(0x265)]+0x1-this[_0x6706e3(0x249)];}return 0x0;}constructor(_0x43cef7){const _0x466464=_0x3abe2c;if(super(_0x43cef7),this[_0x466464(0x249)]=0x0,this[_0x466464(0x1ac)]=null,this[_0x466464(0x25a)]=new _0x246aa4(),this[_0x466464(0x21d)][_0x466464(0x229)][_0x466464(0x214)](_0x466464(0x28e),{}),this[_0x466464(0x1d0)]=this[_0x466464(0x21d)][_0x466464(0x229)][_0x466464(0x225)](_0x466464(0x26e)),!this[_0x466464(0x1d0)])throw new _0x439548(_0x466464(0x1e9),this);const _0x5716ab=_0x43cef7[_0x466464(0x229)][_0x466464(0x225)](_0x466464(0x272))||_0x1678f4;this[_0x466464(0x207)]=new l[(_0x466464(0x294))](_0x5716ab,this[_0x466464(0x1d0)]),this[_0x466464(0x24d)]=this[_0x466464(0x21d)][_0x466464(0x234)][_0x466464(0x27e)],this[_0x466464(0x1f1)]=new _0x4ebd40(),this[_0x466464(0x259)]=[],this[_0x466464(0x227)]=new WeakSet(),this[_0x466464(0x28d)]=new Set(),this[_0x466464(0x2a8)](_0x466464(0x1c2),!0x1),this[_0x466464(0x2a8)](_0x466464(0x261),!0x1),this[_0x466464(0x238)]=null,this[_0x466464(0x1ec)]=!0x1,this[_0x466464(0x26a)]=null,this[_0x466464(0x1dd)]=0x12c,this[_0x466464(0x280)]=this[_0x466464(0x1dd)],this[_0x466464(0x1fc)]=null,this[_0x466464(0x242)]=new WeakSet(),this[_0x466464(0x200)]=new Z(this[_0x466464(0x242)]);}[_0x3abe2c(0x250)](){const _0x55c514=_0x3abe2c,_0x513de5=this[_0x55c514(0x21d)],_0xdc3a59=_0x513de5[_0x55c514(0x1ba)][_0x55c514(0x225)](_0x2ed45e),_0x6ba0f9=_0x513de5[_0x55c514(0x1ba)][_0x55c514(0x225)](_0x5c43bc);this[_0x55c514(0x1bb)](_0xdc3a59,_0x55c514(0x226),(_0x5f09d1,_0x20d39a)=>{const _0x5b68c5=_0x55c514,_0x1df39f=_0x20d39a[0x0];_0x1df39f[_0x5b68c5(0x1b5)]&&(_0x5f09d1[_0x5b68c5(0x240)]=_0xdc3a59[_0x5b68c5(0x1f2)](_0x1df39f[_0x5b68c5(0x1b5)]),_0x5f09d1[_0x5b68c5(0x20e)]()),null===_0x1df39f[_0x5b68c5(0x1b5)]&&(_0x5f09d1[_0x5b68c5(0x240)]=null,_0x5f09d1[_0x5b68c5(0x20e)]());},{'priority':_0x55c514(0x23d)}),this[_0x55c514(0x1bb)](_0x513de5[_0x55c514(0x234)][_0x55c514(0x27e)][_0x55c514(0x291)],_0x55c514(0x295),(_0x57497d,_0x338af8)=>{const _0x503d4b=_0x55c514;_0x338af8[_0x503d4b(0x248)]&&this[_0x503d4b(0x29b)]();}),this[_0x55c514(0x1bb)](_0x513de5[_0x55c514(0x252)][_0x55c514(0x244)],_0x55c514(0x22b),()=>{const _0x36f7fd=_0x55c514;this[_0x36f7fd(0x29b)]();}),this[_0x55c514(0x289)](),_0x513de5[_0x55c514(0x234)]['on'](_0x55c514(0x241),(_0x21a95c,_0x49c841)=>{const _0x12bf7f=_0x55c514,_0x5c61ef=_0x49c841[0x0];_0x5c61ef[_0x12bf7f(0x22f)]&&(this[_0x12bf7f(0x260)](_0x5c61ef),this[_0x12bf7f(0x20f)]()&&this[_0x12bf7f(0x21f)]());}),this[_0x55c514(0x293)](),this[_0x55c514(0x251)](_0x55c514(0x23f))['to'](_0x6ba0f9,_0x55c514(0x253),this,_0x55c514(0x261),(_0x5a2a13,_0x52937c)=>_0x55c514(0x266)===_0x5a2a13&&!_0x52937c),this['on'](_0x55c514(0x27c),()=>{const _0x58dc50=_0x55c514;this[_0x58dc50(0x23f)]?_0x513de5[_0x58dc50(0x201)](_0x58dc50(0x264)):_0x513de5[_0x58dc50(0x2a1)](_0x58dc50(0x264));}),this[_0x55c514(0x23f)]?_0x513de5[_0x55c514(0x201)](_0x55c514(0x264)):_0x513de5[_0x55c514(0x2a1)](_0x55c514(0x264)),this[_0x55c514(0x2a8)](_0x55c514(0x28c),!0x1);}async[_0x3abe2c(0x1b0)](){const _0x53a9a8=_0x3abe2c,_0x363edd=this[_0x53a9a8(0x21d)][_0x53a9a8(0x1ba)][_0x53a9a8(0x225)](_0x47403e),_0x39db35=this[_0x53a9a8(0x21d)][_0x53a9a8(0x1ba)][_0x53a9a8(0x225)](_0x5c43bc);try{this[_0x53a9a8(0x1c2)]=!0x0,_0x363edd[_0x53a9a8(0x209)](this[_0x53a9a8(0x1d0)]);const _0x117c7f=await this[_0x53a9a8(0x207)][_0x53a9a8(0x1b0)](_0x39db35[_0x53a9a8(0x1ed)],this[_0x53a9a8(0x267)]);await this[_0x53a9a8(0x26f)](_0x117c7f)&&(this[_0x53a9a8(0x1c2)]=!0x1,this[_0x53a9a8(0x1a8)]());const _0x210bc1=await this[_0x53a9a8(0x207)][_0x53a9a8(0x2a3)]();_0x363edd[_0x53a9a8(0x1d4)](this[_0x53a9a8(0x1d0)],_0x210bc1),this[_0x53a9a8(0x233)](),this[_0x53a9a8(0x28c)]=!0x0;}catch(_0x28b6e7){if(function(_0x3c5e31){const _0x540b0b=_0x53a9a8;return _0x540b0b(0x1e4)===_0x3c5e31[_0x540b0b(0x22e)];}(_0x28b6e7)&&this[_0x53a9a8(0x1ac)])await this[_0x53a9a8(0x237)]();else{if(function(_0x3e7c76){const _0x900632=_0x53a9a8;return _0x900632(0x26b)===_0x3e7c76[_0x900632(0x22e)];}(_0x28b6e7)){const _0x2392c1=_0x45734c(this[_0x53a9a8(0x21d)][_0x53a9a8(0x1c6)],_0x53a9a8(0x254));this[_0x53a9a8(0x1c3)](_0x2392c1);}else{if(!(_0x28b6e7 instanceof X))throw _0x28b6e7;this[_0x53a9a8(0x1c3)]();}}}}[_0x3abe2c(0x1d9)](){const _0x21a849=_0x3abe2c,_0x102b5c=this[_0x21a849(0x21d)][_0x21a849(0x1ba)][_0x21a849(0x225)](_0x5c43bc),_0x101b50=this[_0x21a849(0x21d)][_0x21a849(0x1ba)][_0x21a849(0x225)](_0x47403e);this[_0x21a849(0x21d)][_0x21a849(0x2a1)](_0x21a849(0x1eb)),_0x101b50[_0x21a849(0x24c)][_0x21a849(0x20b)](this[_0x21a849(0x1d0)])&&_0x101b50[_0x21a849(0x209)](this[_0x21a849(0x1d0)]),_0x102b5c[_0x21a849(0x1fa)](this),this[_0x21a849(0x1ca)](),super[_0x21a849(0x1d9)]();}async[_0x3abe2c(0x26f)](_0x440de0){const _0x1869ef=_0x3abe2c;if(this[_0x1869ef(0x1ac)]!==_0x440de0[_0x1869ef(0x1ac)]&&this[_0x1869ef(0x1fc)]!==_0x440de0[_0x1869ef(0x1f0)])throw new X();return this[_0x1869ef(0x1ac)]=_0x440de0[_0x1869ef(0x1ac)],this[_0x1869ef(0x1fd)]([],{..._0x440de0,'wereChangesApplied':!0x1,'data':_0x440de0[_0x1869ef(0x24a)]},_0x1869ef(0x1b0));}async[_0x3abe2c(0x1be)](_0xace604,_0xe37450=!0x1){const _0x21aaa7=_0x3abe2c,{connection:_0x32b24d}=this[_0x21aaa7(0x21d)][_0x21aaa7(0x1ba)][_0x21aaa7(0x225)](_0x5c43bc);l[_0x21aaa7(0x294)][_0x21aaa7(0x2a3)](_0x32b24d,this[_0x21aaa7(0x1d0)])[_0x21aaa7(0x1f5)](_0x13c315=>this[_0x21aaa7(0x269)](_0x13c315))[_0x21aaa7(0x1e3)](_0x51f739=>{const _0x26df9a=_0x21aaa7;this[_0x26df9a(0x1d1)](_0x26df9a(0x202),_0x51f739);}),this[_0x21aaa7(0x1bb)](this[_0x21aaa7(0x207)],_0x21aaa7(0x228),this[_0x21aaa7(0x25b)][_0x21aaa7(0x251)](this)),this[_0x21aaa7(0x1bb)](this[_0x21aaa7(0x207)],_0x21aaa7(0x25d),(_0x3c3764,_0x46d28f)=>{const _0x2125e8=_0x21aaa7;this[_0x2125e8(0x1d1)](_0x2125e8(0x1e2),_0x46d28f);}),this[_0x21aaa7(0x1bb)](this[_0x21aaa7(0x207)],_0x21aaa7(0x277),()=>{const _0xdd7d71=_0x21aaa7;this[_0xdd7d71(0x28c)]=!0x1;});const _0x2b2fee=this[_0x21aaa7(0x200)][_0x21aaa7(0x1cc)](_0xace604);this[_0x21aaa7(0x1c2)]=!0x0;const _0x44ea09=await this[_0x21aaa7(0x207)][_0x21aaa7(0x24e)](_0x32b24d,this[_0x21aaa7(0x219)](_0xace604),_0x2b2fee);if(this[_0x21aaa7(0x1ac)]=_0x44ea09[_0x21aaa7(0x1ac)],_0xe37450){if(!_0x44ea09[_0x21aaa7(0x1c7)])return void this[_0x21aaa7(0x1c3)]();this[_0x21aaa7(0x1c2)]=!0x1,this[_0x21aaa7(0x1a8)](),this[_0x21aaa7(0x25a)][_0x21aaa7(0x1b1)](),this[_0x21aaa7(0x249)]=_0x44ea09[_0x21aaa7(0x1da)],this[_0x21aaa7(0x25a)][_0x21aaa7(0x211)]=this[_0x21aaa7(0x249)],await this[_0x21aaa7(0x1fd)](_0xace604,_0x44ea09,_0x21aaa7(0x273));}else await this[_0x21aaa7(0x218)](_0x44ea09,_0xace604);this[_0x21aaa7(0x233)](),this[_0x21aaa7(0x28c)]=!0x0;}[_0x3abe2c(0x233)](){const _0x83c22e=_0x3abe2c,_0x544ab6=this[_0x83c22e(0x21d)][_0x83c22e(0x1ba)][_0x83c22e(0x225)](_0x47403e),_0x1fe14b=this[_0x83c22e(0x21d)][_0x83c22e(0x1ba)][_0x83c22e(0x225)](_0x50211f),_0x548c2f=_0x544ab6[_0x83c22e(0x24c)][_0x83c22e(0x225)](this[_0x83c22e(0x1d0)]);_0x548c2f&&_0x548c2f[_0x83c22e(0x210)]>0x1?_0x1fe14b[_0x83c22e(0x29f)]():this[_0x83c22e(0x1bb)](_0x544ab6,_0x83c22e(0x1dc)+this[_0x83c22e(0x1d0)],()=>{const _0x405e6f=_0x83c22e;0x2===_0x544ab6[_0x405e6f(0x24c)][_0x405e6f(0x225)](this[_0x405e6f(0x1d0)])[_0x405e6f(0x210)]&&_0x1fe14b[_0x405e6f(0x29f)]();});}async[_0x3abe2c(0x25b)](_0xfd15d2,_0x3be768,_0x58f409,_0x495131){const _0x55a3c6=_0x3abe2c;if(!this[_0x55a3c6(0x1c2)]&&this[_0x55a3c6(0x24d)][_0x55a3c6(0x211)]==_0x3be768){const _0x99606=this[_0x55a3c6(0x297)](_0x58f409,_0x495131);await this[_0x55a3c6(0x2ab)](_0x99606),this[_0x55a3c6(0x25f)](_0x99606,_0x3be768,_0x58f409[_0x55a3c6(0x1f0)])||this[_0x55a3c6(0x1d1)](_0x55a3c6(0x206));}}async[_0x3abe2c(0x237)](){const _0x3cb8f4=_0x3abe2c;this[_0x3cb8f4(0x1ca)]();const {locale:_0x5abca2}=this[_0x3cb8f4(0x21d)];let _0x1a0668;try{_0x1a0668=await this[_0x3cb8f4(0x207)][_0x3cb8f4(0x29e)]();}catch{const _0x5391ad=_0x45734c(_0x5abca2,_0x3cb8f4(0x20d));return void this[_0x3cb8f4(0x1c3)](_0x5391ad);}const _0x10ddd2=_0x1a0668[_0x3cb8f4(0x1e7)]||_0x1a0668[_0x3cb8f4(0x1b7)];if(this[_0x3cb8f4(0x1fc)]!==_0x10ddd2[_0x3cb8f4(0x1f0)]){const _0x18d4cf=_0x45734c(_0x5abca2,_0x3cb8f4(0x239));return void this[_0x3cb8f4(0x1c3)](_0x18d4cf);}await this[_0x3cb8f4(0x1be)](this[_0x3cb8f4(0x21d)][_0x3cb8f4(0x234)][_0x3cb8f4(0x27e)][_0x3cb8f4(0x22c)][_0x3cb8f4(0x21a)](),!0x0);}[_0x3abe2c(0x1ca)](){const _0x109c01=_0x3abe2c;this[_0x109c01(0x207)][_0x109c01(0x271)](),this[_0x109c01(0x259)]=[],clearTimeout(this[_0x109c01(0x26a)]),this[_0x109c01(0x213)](this[_0x109c01(0x207)]);}[_0x3abe2c(0x269)](_0x369f9c){const _0x416f0a=_0x3abe2c,_0x4b17aa=this[_0x416f0a(0x21d)][_0x416f0a(0x1ba)][_0x416f0a(0x225)](_0x47403e);this[_0x416f0a(0x1bb)](_0x4b17aa,_0x416f0a(0x1dc)+this[_0x416f0a(0x1d0)],(_0x366dc6,{session:_0xe9d8b3})=>{const _0x5c9ce2=_0x416f0a;if(_0xe9d8b3['id']===_0x4b17aa[_0x5c9ce2(0x287)]){_0x366dc6[_0x5c9ce2(0x1c5)]();const _0x19c2e7=this[_0x5c9ce2(0x21d)][_0x5c9ce2(0x1ba)][_0x5c9ce2(0x20b)](_0x5c9ce2(0x270))&&this[_0x5c9ce2(0x21d)][_0x5c9ce2(0x1ba)][_0x5c9ce2(0x225)](_0x5c9ce2(0x270));let _0x23f32a=_0xe9d8b3[_0x5c9ce2(0x204)];_0x19c2e7&&_0x19c2e7[_0x5c9ce2(0x243)]&&(_0x23f32a=_0x23f32a[_0x5c9ce2(0x28f)](_0x30be11=>_0x5c9ce2(0x275)!==_0x30be11)),this[_0x5c9ce2(0x21d)][_0x5c9ce2(0x1ba)][_0x5c9ce2(0x225)](_0x5c9ce2(0x29c))[_0x5c9ce2(0x24f)](_0x23f32a,this[_0x5c9ce2(0x1d0)]);}}),_0x4b17aa[_0x416f0a(0x1d4)](this[_0x416f0a(0x1d0)],_0x369f9c);}[_0x3abe2c(0x289)](){const _0x41efa8=_0x3abe2c,_0x1dbffe=this[_0x41efa8(0x21d)][_0x41efa8(0x24a)][_0x41efa8(0x2a8)];this[_0x41efa8(0x21d)][_0x41efa8(0x24a)][_0x41efa8(0x2a8)]=(..._0x50f18a)=>{const _0x2bfa28=_0x41efa8;if(!_0x50f18a[_0x50f18a[_0x2bfa28(0x210)]-0x1][_0x2bfa28(0x217)])throw new _0x439548(_0x2bfa28(0x1d5),this);_0x1dbffe[_0x2bfa28(0x245)](this[_0x2bfa28(0x21d)][_0x2bfa28(0x24a)],_0x50f18a);};}[_0x3abe2c(0x293)](){const _0x2b8182=_0x3abe2c;this[_0x2b8182(0x21d)][_0x2b8182(0x24a)]['on'](_0x2b8182(0x250),(_0x5d8c8c,[_0x5968d6])=>{const _0x3dca9a=_0x2b8182;if(this[_0x3dca9a(0x24d)][_0x3dca9a(0x211)])throw new _0x439548(_0x3dca9a(0x27d),this);_0x5d8c8c[_0x3dca9a(0x20e)](),this[_0x3dca9a(0x288)]();const _0x478937=this[_0x3dca9a(0x21d)][_0x3dca9a(0x229)][_0x3dca9a(0x225)](_0x3dca9a(0x1db)),_0x31959c=this[_0x3dca9a(0x23b)](_0x5968d6,_0x478937);0x0==_0x31959c[_0x3dca9a(0x210)]&&_0x31959c[_0x3dca9a(0x25e)](new _0x3b9292(0x0)),_0x5d8c8c[_0x3dca9a(0x240)]=this[_0x3dca9a(0x1be)](_0x31959c)[_0x3dca9a(0x1f5)](()=>{const _0x145cff=_0x3dca9a;this[_0x145cff(0x21d)][_0x145cff(0x1ba)][_0x145cff(0x225)](_0x5c43bc)[_0x145cff(0x1b2)](this),this[_0x145cff(0x21d)][_0x145cff(0x24a)][_0x145cff(0x285)](_0x145cff(0x24b));})[_0x3dca9a(0x1e3)](_0x40071f=>this[_0x3dca9a(0x1d1)](_0x3dca9a(0x1d3),_0x40071f))[_0x3dca9a(0x296)](()=>this[_0x3dca9a(0x1a8)]());},{'priority':_0x2b8182(0x23d)}),this[_0x2b8182(0x21d)]['on'](_0x2b8182(0x247),async(_0x53ee5d,[_0x246300,_0x2d6cca])=>{const _0x21c3f2=_0x2b8182;_0x53ee5d[_0x21c3f2(0x20e)]();const _0x241303=this[_0x21c3f2(0x21d)][_0x21c3f2(0x234)][_0x21c3f2(0x27e)][_0x21c3f2(0x22a)](_0x246300);if(!this[_0x21c3f2(0x28d)][_0x21c3f2(0x20b)](_0x246300)){const _0x12a3c1=_0x2d6cca&&_0x2d6cca[_0x21c3f2(0x24a)]?_0x2d6cca[_0x21c3f2(0x24a)]:'',_0x302613=_0x2d6cca&&_0x2d6cca[_0x21c3f2(0x284)]?_0x2d6cca[_0x21c3f2(0x284)]:{};await this[_0x21c3f2(0x28a)](_0x246300,_0x12a3c1,_0x302613);}this[_0x21c3f2(0x21d)][_0x21c3f2(0x234)][_0x21c3f2(0x258)]({'isUndoable':!0x1},()=>{const _0x1eb596=_0x21c3f2;_0x241303[_0x1eb596(0x1e1)]=!0x0,this[_0x1eb596(0x21d)][_0x1eb596(0x234)][_0x1eb596(0x27e)][_0x1eb596(0x223)][_0x1eb596(0x2ae)](_0x241303);});},{'priority':_0x2b8182(0x23d)});}async[_0x3abe2c(0x2ab)](_0x13cd3d){const _0x3a2d7a=_0x3abe2c,_0x5dca63=this[_0x3a2d7a(0x21d)][_0x3a2d7a(0x1ba)][_0x3a2d7a(0x225)](_0x2ed45e),{connection:_0x3aa1b4}=this[_0x3a2d7a(0x21d)][_0x3a2d7a(0x1ba)][_0x3a2d7a(0x225)](_0x5c43bc),_0x1eb301=new Set();for(const _0x5d4b4a of _0x13cd3d){const _0x2e84fc=_0x5d4b4a[_0x3a2d7a(0x1b5)];_0x2e84fc&&!_0x5dca63[_0x3a2d7a(0x1f2)](_0x2e84fc)&&_0x1eb301[_0x3a2d7a(0x1bd)](_0x2e84fc);}if(0x0===_0x1eb301[_0x3a2d7a(0x292)])return;const _0x57373a=await _0x53b797[_0x3a2d7a(0x2a0)](_0x3aa1b4,Array[_0x3a2d7a(0x21b)](_0x1eb301));for(const _0x16c319 of _0x57373a)_0x5dca63[_0x3a2d7a(0x1f2)](_0x16c319['id'])||_0x5dca63[_0x3a2d7a(0x2a2)](_0x16c319);}[_0x3abe2c(0x23b)](_0x5bfca8,_0x1fc850={}){const _0x153ef2=_0x3abe2c,_0x3728d7=this[_0x153ef2(0x21d)][_0x153ef2(0x234)],_0x890649=[];let _0x581f3b=0x0;const _0x5d2754=_0x153ef2(0x215)==typeof _0x5bfca8?{'main':_0x5bfca8}:_0x5bfca8;for(const _0x177e81 of Object[_0x153ef2(0x222)](_0x5d2754)){if(!this[_0x153ef2(0x24d)][_0x153ef2(0x212)][_0x153ef2(0x20b)](_0x177e81))throw new _0x439548(_0x153ef2(0x246),this);const _0x181f9d=this[_0x153ef2(0x21d)][_0x153ef2(0x24a)][_0x153ef2(0x1fb)](_0x5d2754[_0x177e81]),_0x195d13=this[_0x153ef2(0x24d)][_0x153ef2(0x22a)](_0x177e81),_0x5dee7e=new _0x1ea9ed(_0x3728d7[_0x153ef2(0x1ab)](_0x195d13,0x0),_0x181f9d,_0x581f3b++);_0x890649[_0x153ef2(0x25e)](_0x5dee7e);for(const [_0x2cbc63,_0x126ee9]of _0x181f9d[_0x153ef2(0x1c8)]){const _0xeb62b5=_0x3728d7[_0x153ef2(0x286)](_0x3728d7[_0x153ef2(0x2ac)](_0x195d13,_0x126ee9[_0x153ef2(0x26d)][_0x153ef2(0x1ef)][_0x153ef2(0x1cf)]()),_0x3728d7[_0x153ef2(0x2ac)](_0x195d13,_0x126ee9[_0x153ef2(0x1d6)][_0x153ef2(0x1ef)][_0x153ef2(0x1cf)]())),_0xa8e87f=new _0x5ea9ef(_0x2cbc63,null,_0xeb62b5,_0x3728d7[_0x153ef2(0x1c8)],!0x0,_0x581f3b++);_0x890649[_0x153ef2(0x25e)](_0xa8e87f);}}if(_0x1fc850)for(const [_0x58298f,_0x5bc727]of Object[_0x153ef2(0x1bf)](_0x1fc850)){const _0x132a91=_0x3728d7[_0x153ef2(0x27e)][_0x153ef2(0x22a)](_0x58298f);if(!_0x132a91)throw new _0x439548(_0x153ef2(0x1cd),null);for(const [_0xfaa17e,_0x3cb1e6]of Object[_0x153ef2(0x1bf)](_0x5bc727))if(null!==_0x3cb1e6){const _0x48d1b7=new _0x2d80ce(_0x132a91,_0xfaa17e,null,_0x3cb1e6,_0x581f3b++);_0x890649[_0x153ef2(0x25e)](_0x48d1b7);}}return _0x890649;}async[_0x3abe2c(0x28a)](_0x112b7a,_0x2a30f1,_0x4319a0){const _0x19bdee=_0x3abe2c;this[_0x19bdee(0x23b)]({[_0x112b7a]:_0x2a30f1},{[_0x112b7a]:_0x4319a0})[_0x19bdee(0x274)]((_0x2267b9,_0x35c1b8)=>{const _0x172d74=_0x19bdee;_0x2267b9[_0x172d74(0x265)]=this[_0x172d74(0x24d)][_0x172d74(0x211)]+_0x35c1b8,_0x2267b9[_0x172d74(0x1c0)]=!0x0,this[_0x172d74(0x260)](_0x2267b9);}),this[_0x19bdee(0x21f)](),await this[_0x19bdee(0x1e8)]();}async[_0x3abe2c(0x218)](_0x19e050,_0x52355a){const _0x33f2d9=_0x3abe2c;let _0x149a77;this[_0x33f2d9(0x249)]=_0x19e050[_0x33f2d9(0x1da)];const _0x288b5b=_0x19e050[_0x33f2d9(0x1c7)]&&!_0x19e050[_0x33f2d9(0x2a6)],_0x525148=_0x288b5b?0x0:_0x19e050[_0x33f2d9(0x24a)][_0x33f2d9(0x265)];if(_0x52355a[_0x33f2d9(0x274)](_0x1b400e=>{const _0x3bbbd5=_0x33f2d9;_0x1b400e[_0x3bbbd5(0x1c0)]=!0x0,_0x1b400e[_0x3bbbd5(0x205)]=_0x19e050[_0x3bbbd5(0x257)],_0x1b400e[_0x3bbbd5(0x1b5)]=null;}),_0x288b5b)_0x149a77=_0x52355a,this[_0x33f2d9(0x1d8)](_0x149a77,_0x288b5b);else{if(_0x19e050[_0x33f2d9(0x2a6)]){const _0x39a089=this[_0x33f2d9(0x23b)](_0x19e050[_0x33f2d9(0x2a6)]);this[_0x33f2d9(0x24d)][_0x33f2d9(0x22c)][_0x33f2d9(0x211)]=-_0x39a089[_0x33f2d9(0x210)],_0x39a089[_0x33f2d9(0x274)](_0x34b2e7=>{const _0x565c79=_0x33f2d9;_0x34b2e7[_0x565c79(0x265)]-=_0x39a089[_0x565c79(0x210)],_0x34b2e7[_0x565c79(0x205)]=_0x19e050[_0x565c79(0x257)],_0x34b2e7[_0x565c79(0x1c0)]=!0x0,_0x34b2e7[_0x565c79(0x1b5)]=null;}),this[_0x33f2d9(0x1d8)](_0x39a089,!0x0),this[_0x33f2d9(0x25a)][_0x33f2d9(0x211)]=-_0x39a089[_0x33f2d9(0x210)]+this[_0x33f2d9(0x249)],this[_0x33f2d9(0x255)](_0x39a089);}this[_0x33f2d9(0x24d)][_0x33f2d9(0x22c)][_0x33f2d9(0x211)]=_0x525148,_0x149a77=this[_0x33f2d9(0x297)](_0x19e050[_0x33f2d9(0x24a)],_0x19e050[_0x33f2d9(0x230)]),await this[_0x33f2d9(0x2ab)](_0x149a77),this[_0x33f2d9(0x1d8)](_0x149a77,_0x288b5b);}_0x19e050[_0x33f2d9(0x1f0)]&&(this[_0x33f2d9(0x200)][_0x33f2d9(0x1f7)](_0x149a77,_0x19e050[_0x33f2d9(0x1f0)]),this[_0x33f2d9(0x1fc)]=_0x19e050[_0x33f2d9(0x1f0)]),this[_0x33f2d9(0x25a)][_0x33f2d9(0x211)]=_0x525148+this[_0x33f2d9(0x249)],this[_0x33f2d9(0x255)](_0x149a77),_0x52355a[_0x33f2d9(0x28f)](_0x1610a5=>{const _0x3bc182=_0x33f2d9,_0x2d3d6f=this[_0x3bc182(0x1f3)](_0x1610a5);return _0x2d3d6f&&!this[_0x3bc182(0x28d)][_0x3bc182(0x20b)](_0x2d3d6f);})[_0x33f2d9(0x274)]((_0xd68e7d,_0x40568a)=>{const _0x8b5147=_0x33f2d9;_0xd68e7d[_0x8b5147(0x265)]=this[_0x8b5147(0x24d)][_0x8b5147(0x211)]+_0x40568a,this[_0x8b5147(0x260)](_0xd68e7d);}),this[_0x33f2d9(0x20f)]()?(this[_0x33f2d9(0x280)]=0x0,this[_0x33f2d9(0x21f)](!0x0),await this[_0x33f2d9(0x1e8)]()):(this[_0x33f2d9(0x1c2)]=!0x1,this[_0x33f2d9(0x1a8)]());}[_0x3abe2c(0x1d1)](_0x34a4c7,_0xc8a367){const _0x115548=_0x3abe2c,_0x271c9f=_0xc8a367&&_0xc8a367[_0x115548(0x299)];if(_0x271c9f&&_0x271c9f[_0x115548(0x1d2)](_0x115548(0x216)))throw _0xc8a367;const _0x1716af=this[_0x115548(0x21d)][_0x115548(0x1ba)][_0x115548(0x225)](_0x5c43bc);throw this[_0x115548(0x1c2)]=!0x0,_0x1716af[_0x115548(0x271)](),this[_0x115548(0x21d)][_0x115548(0x2a1)](_0x115548(0x1fe)),new _0x439548(_0x34a4c7,this[_0x115548(0x21d)],_0x271c9f?{'originalError':_0x271c9f}:void 0x0);}[_0x3abe2c(0x260)](_0x253d79){const _0x1a7e74=_0x3abe2c;this[_0x1a7e74(0x227)][_0x1a7e74(0x20b)](_0x253d79)||(this[_0x1a7e74(0x227)][_0x1a7e74(0x1bd)](_0x253d79),this[_0x1a7e74(0x259)][_0x1a7e74(0x25e)](_0x253d79),this[_0x1a7e74(0x238)]||_0x1a7e74(0x29a)==_0x253d79[_0x1a7e74(0x276)]&&!_0x253d79[_0x1a7e74(0x25c)]||this[_0x1a7e74(0x288)]());}[_0x3abe2c(0x21f)](_0x482777=!0x1){const _0x122a54=_0x3abe2c;!_0x482777&&this[_0x122a54(0x1c2)]||(this[_0x122a54(0x1c2)]=!0x0,clearTimeout(this[_0x122a54(0x26a)]),this[_0x122a54(0x26a)]=setTimeout(()=>{const _0xe75b4d=_0x122a54;this[_0xe75b4d(0x1b6)]()[_0xe75b4d(0x1f5)](_0x22be92=>{const _0x5a0f09=_0xe75b4d;_0x22be92&&(this[_0x5a0f09(0x1a8)](),this[_0x5a0f09(0x1c2)]=!0x1);})[_0xe75b4d(0x1e3)](_0x501e66=>{const _0x5a5268=_0xe75b4d;this[_0x5a5268(0x1a8)](),this[_0x5a5268(0x1c2)]=!0x1,function(_0x1a513d){const _0x2b0847=_0x5a5268;return _0x1a513d[_0x2b0847(0x299)][_0x2b0847(0x1d2)](_0x2b0847(0x235))||_0x1a513d[_0x2b0847(0x299)][_0x2b0847(0x1d2)](_0x2b0847(0x2a4))||_0x1a513d[_0x2b0847(0x299)][_0x2b0847(0x1d2)](_0x2b0847(0x298));}(_0x501e66)||this[_0x5a5268(0x1d1)](_0x501e66[_0x5a5268(0x299)],_0x501e66);});},this[_0x122a54(0x280)]));}[_0x3abe2c(0x1e8)](){return new Promise(_0x4bb30b=>{const _0x3da690=_0xb3cd;this['on'](_0x3da690(0x23c),()=>{_0x4bb30b();});});}async[_0x3abe2c(0x1b6)](){const _0x1ea39f=_0x3abe2c,_0x2d52f4=this[_0x1ea39f(0x21d)][_0x1ea39f(0x1ba)][_0x1ea39f(0x225)](_0x50211f);if(this[_0x1ea39f(0x1aa)]()&&(_0x2d52f4[_0x1ea39f(0x29f)](),this[_0x1ea39f(0x1ec)]=!0x1),!this[_0x1ea39f(0x20f)]())return!0x0;const _0x529f99=[...this[_0x1ea39f(0x259)]];for(const _0x3bac74 of _0x529f99)_0x3bac74[_0x1ea39f(0x1f6)]=this[_0x1ea39f(0x24d)][_0x1ea39f(0x22c)][_0x1ea39f(0x22d)](_0x3bac74);const _0x3b501a=this[_0x1ea39f(0x200)][_0x1ea39f(0x1cc)](_0x529f99),_0x449679=Q++,_0x3c9358=this[_0x1ea39f(0x219)](_0x529f99),_0x14766d=await this[_0x1ea39f(0x207)][_0x1ea39f(0x256)](_0x3c9358,_0x3c9358[_0x1ea39f(0x265)],_0x3b501a);try{return await this[_0x1ea39f(0x1fd)](_0x529f99,_0x14766d,_0x449679);}catch(_0x3c83cc){return this[_0x1ea39f(0x1d1)](_0x1ea39f(0x1ce),_0x3c83cc);}}async[_0x3abe2c(0x1fd)](_0x512c39,_0x4286c8,_0x32336a){const _0x2046a1=_0x3abe2c;if(_0x2046a1(0x25d)in _0x4286c8)throw _0x4286c8[_0x2046a1(0x25d)];let _0x37c489=!0x1;if(_0x4286c8[_0x2046a1(0x1c7)]){_0x4286c8[_0x2046a1(0x1f0)]&&(this[_0x2046a1(0x1fc)]=_0x4286c8[_0x2046a1(0x1f0)]),this[_0x2046a1(0x259)]=this[_0x2046a1(0x259)][_0x2046a1(0x28f)](_0x59b3b2=>!_0x512c39[_0x2046a1(0x1ff)](_0x59b3b2));for(const _0x3af3b9 of _0x512c39)_0x3af3b9[_0x2046a1(0x205)]=_0x2046a1(0x1bc)in _0x4286c8&&_0x4286c8[_0x2046a1(0x1bc)]||void 0x0;Y(_0x512c39,_0x4286c8[_0x2046a1(0x211)]-_0x512c39[_0x2046a1(0x210)]),this[_0x2046a1(0x255)](_0x512c39);const _0x30ba8c=_0x512c39[_0x2046a1(0x28f)](_0x17c1ae=>{const _0x5c4d64=_0x2046a1;if(!_0x17c1ae[_0x5c4d64(0x1c0)])return!0x1;const _0x904ca7=this[_0x5c4d64(0x1f3)](_0x17c1ae);return _0x904ca7&&!this[_0x5c4d64(0x28d)][_0x5c4d64(0x20b)](_0x904ca7);});Y(_0x30ba8c,this[_0x2046a1(0x24d)][_0x2046a1(0x211)]),this[_0x2046a1(0x1d8)](_0x30ba8c),_0x37c489=!0x0,this[_0x2046a1(0x280)]=this[_0x2046a1(0x1dd)];}else{const _0x4d25dd=this[_0x2046a1(0x297)](_0x4286c8[_0x2046a1(0x24a)],_0x4286c8[_0x2046a1(0x230)])[_0x2046a1(0x28f)](_0x3d67f=>_0x3d67f[_0x2046a1(0x265)]>=this[_0x2046a1(0x1e6)]);_0x4d25dd[_0x2046a1(0x274)](_0x551c91=>this[_0x2046a1(0x26c)](_0x551c91)),this[_0x2046a1(0x259)]=this[_0x2046a1(0x259)][_0x2046a1(0x28f)](_0x11be6f=>!_0x11be6f[_0x2046a1(0x1c0)]||!this[_0x2046a1(0x28d)][_0x2046a1(0x20b)](this[_0x2046a1(0x1f3)](_0x11be6f))),this[_0x2046a1(0x259)][_0x2046a1(0x210)]&&Y(this[_0x2046a1(0x259)],this[_0x2046a1(0x259)][0x0][_0x2046a1(0x265)]),await this[_0x2046a1(0x2ab)](_0x4d25dd),_0x37c489=this[_0x2046a1(0x25f)](_0x4d25dd,_0x4286c8[_0x2046a1(0x211)],_0x4286c8[_0x2046a1(0x1f0)]),this[_0x2046a1(0x280)]=Math[_0x2046a1(0x1af)](this[_0x2046a1(0x280)]/0x2);}return _0x37c489?!this[_0x2046a1(0x20f)]()||(this[_0x2046a1(0x21f)](!0x0),!0x1):this[_0x2046a1(0x1d1)](_0x2046a1(0x1e0));}[_0x3abe2c(0x25f)](_0x4cbaf6,_0x523b89,_0x1bf94b){const _0x154437=_0x3abe2c;try{const _0x2ab2ff={'document':this[_0x154437(0x24d)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x1bbedf,operationsB:_0x1f1f27,originalOperations:_0x29bf81}=_0xde2f7b(_0x4cbaf6,this[_0x154437(0x259)],_0x2ab2ff);Y(_0x1bbedf,this[_0x154437(0x24d)][_0x154437(0x211)]),Y(_0x1f1f27,_0x523b89);for(const _0x3be4f3 of _0x1bbedf){const _0x2a7812=_0x29bf81[_0x154437(0x225)](_0x3be4f3);_0x3be4f3[_0x154437(0x1b5)]=_0x2a7812?_0x2a7812[_0x154437(0x1b5)]:null;}_0x1bf94b&&(this[_0x154437(0x200)][_0x154437(0x1f7)](_0x4cbaf6,_0x1bf94b),this[_0x154437(0x1fc)]=_0x1bf94b),this[_0x154437(0x259)]=[..._0x1f1f27],this[_0x154437(0x1d8)](_0x1bbedf),this[_0x154437(0x255)](_0x4cbaf6);}catch(_0x4f455e){return console[_0x154437(0x25d)](_0x4f455e),!0x1;}return!0x0;}[_0x3abe2c(0x1d8)](_0x3a7882,_0x145fb2=!0x1){const _0x1f6299=_0x3abe2c;this[_0x1f6299(0x21d)][_0x1f6299(0x234)][_0x1f6299(0x258)]({'isUndoable':!0x1,'isLocal':!0x1},_0x55351e=>{const _0x5b9a04=_0x1f6299;for(const _0x2c8ab8 of _0x3a7882)this[_0x5b9a04(0x227)][_0x5b9a04(0x1bd)](_0x2c8ab8),this[_0x5b9a04(0x26c)](_0x2c8ab8),_0x55351e[_0x5b9a04(0x208)][_0x5b9a04(0x2a9)](_0x2c8ab8),this[_0x5b9a04(0x21d)][_0x5b9a04(0x234)][_0x5b9a04(0x241)](_0x2c8ab8);});}[_0x3abe2c(0x26c)](_0x4c3725){const _0x2cb91c=_0x3abe2c,_0x5bbdeb=this[_0x2cb91c(0x1f3)](_0x4c3725);_0x5bbdeb&&this[_0x2cb91c(0x28d)][_0x2cb91c(0x1bd)](_0x5bbdeb);}[_0x3abe2c(0x1f3)](_0x2bc86d){const _0x100ae4=_0x3abe2c;let _0x2427f1,_0x2e7574;switch(_0x2bc86d[_0x100ae4(0x276)]){case _0x100ae4(0x23e):_0x2427f1=_0x2bc86d[_0x100ae4(0x29d)][_0x100ae4(0x221)];break;case _0x100ae4(0x29a):if(_0x2e7574=_0x2bc86d[_0x100ae4(0x224)],!_0x2e7574)return null;_0x2427f1=_0x2e7574[_0x100ae4(0x221)];break;case _0x100ae4(0x1ea):_0x2427f1=_0x2bc86d[_0x100ae4(0x221)];break;case _0x100ae4(0x1ae):_0x2427f1=_0x2bc86d[_0x100ae4(0x1b9)];break;case _0x100ae4(0x1b8):_0x2427f1=_0x2bc86d[_0x100ae4(0x2a5)][_0x100ae4(0x221)];break;default:return null;}return _0x2427f1[_0x100ae4(0x236)];}[_0x3abe2c(0x255)](_0xd36cf6){const _0x39fab0=_0x3abe2c;_0xd36cf6[_0x39fab0(0x274)](_0x55dcdb=>{const _0x49ab8a=_0x39fab0,_0x211e65=_0x55dcdb[_0x49ab8a(0x1cb)]();_0x211e65[_0x49ab8a(0x1b5)]=_0x55dcdb[_0x49ab8a(0x1b5)],_0x211e65[_0x49ab8a(0x1c0)]=!!_0x55dcdb[_0x49ab8a(0x1c0)],_0x211e65[_0x49ab8a(0x205)]=_0x55dcdb[_0x49ab8a(0x205)],_0x211e65[_0x49ab8a(0x265)]+=this[_0x49ab8a(0x249)],_0x55dcdb[_0x49ab8a(0x28b)]&&this[_0x49ab8a(0x242)][_0x49ab8a(0x1bd)](_0x211e65),this[_0x49ab8a(0x25a)][_0x49ab8a(0x2a9)](_0x211e65);});}[_0x3abe2c(0x1c3)](_0x1435cc){const _0x538d25=_0x3abe2c,_0x38e9bf=this[_0x538d25(0x21d)][_0x538d25(0x1ba)][_0x538d25(0x225)](_0x538d25(0x1e5)),_0x44d2e0=this[_0x538d25(0x21d)][_0x538d25(0x1c6)];_0x1435cc||(_0x1435cc=_0x45734c(_0x44d2e0,_0x538d25(0x27f))),_0x38e9bf[_0x538d25(0x1f4)](_0x1435cc,{'title':_0x45734c(_0x44d2e0,_0x538d25(0x2a7)),'namespace':_0x538d25(0x2ad)}),this[_0x538d25(0x261)]=!0x0,clearTimeout(this[_0x538d25(0x26a)]),this[_0x538d25(0x259)]=[],this[_0x538d25(0x21d)][_0x538d25(0x1ba)][_0x538d25(0x225)](_0x5c43bc)[_0x538d25(0x271)]();}[_0x3abe2c(0x288)](){const _0x276a5f=_0x3abe2c;this[_0x276a5f(0x238)]||(this[_0x276a5f(0x238)]=this[_0x276a5f(0x21d)][_0x276a5f(0x1ba)][_0x276a5f(0x225)](_0x23aa24)[_0x276a5f(0x1bd)](_0x45734c(this[_0x276a5f(0x21d)][_0x276a5f(0x1c6)],_0x276a5f(0x281))));}[_0x3abe2c(0x1a8)](){const _0x3558e4=_0x3abe2c;this[_0x3558e4(0x238)]&&(this[_0x3558e4(0x21d)][_0x3558e4(0x1ba)][_0x3558e4(0x225)](_0x23aa24)[_0x3558e4(0x263)](this[_0x3558e4(0x238)]),this[_0x3558e4(0x238)]=null);}[_0x3abe2c(0x219)](_0x438a2f){const _0x282a5a=_0x3abe2c,_0xb1fc86=_0x438a2f[_0x282a5a(0x1b3)](_0x36445a=>_0x36445a[_0x282a5a(0x268)]());return this[_0x282a5a(0x1f1)][_0x282a5a(0x1ee)](_0xb1fc86);}[_0x3abe2c(0x297)](_0x54abc0,_0x16204f){const _0x473e80=_0x3abe2c;return this[_0x473e80(0x1f1)][_0x473e80(0x262)](_0x54abc0)[_0x473e80(0x1b3)]((_0x285795,_0x3b83f9)=>{const _0x54b70c=_0x473e80,_0x1b4389=_0x54b70c(0x250)==_0x16204f[_0x3b83f9][_0x54b70c(0x276)];if(_0x54b70c(0x1ad)==_0x285795[_0x54b70c(0x203)]){const _0x193b0f=_0x285795[_0x54b70c(0x29d)][_0x54b70c(0x221)];!this[_0x54b70c(0x24d)][_0x54b70c(0x22a)](_0x193b0f)&&(this[_0x54b70c(0x24d)][_0x54b70c(0x2aa)](_0x54b70c(0x1d7),_0x193b0f)[_0x54b70c(0x21e)]=!0x1);}const _0x367803=_0x5c3a24[_0x54b70c(0x1f8)](_0x285795,this[_0x54b70c(0x24d)]);return _0x367803[_0x54b70c(0x1f6)]=_0x285795[_0x54b70c(0x1f6)],_0x367803[_0x54b70c(0x1c0)]=_0x1b4389,_0x367803[_0x54b70c(0x1b5)]=_0x1b4389?null:_0x16204f[_0x3b83f9][_0x54b70c(0x231)],_0x367803[_0x54b70c(0x28b)]=_0x54b70c(0x279)===_0x16204f[_0x3b83f9][_0x54b70c(0x276)],_0x367803[_0x54b70c(0x205)]=_0x16204f[_0x3b83f9][_0x54b70c(0x205)],_0x367803;});}[_0x3abe2c(0x29b)](){const _0x3dced3=_0x3abe2c;this[_0x3dced3(0x1ec)]=!0x0,this[_0x3dced3(0x1aa)]()?this[_0x3dced3(0x21f)]():this[_0x3dced3(0x1ec)]=!0x1;}[_0x3abe2c(0x1aa)](){const _0x490564=_0x3abe2c,_0x19a49a=this[_0x490564(0x21d)][_0x490564(0x1ba)][_0x490564(0x225)](_0x47403e)[_0x490564(0x24c)][_0x490564(0x225)](this[_0x490564(0x1d0)]);return!this[_0x490564(0x21d)][_0x490564(0x27b)]&&!!_0x19a49a&&_0x19a49a[_0x490564(0x210)]>0x1&&this[_0x490564(0x1ec)];}[_0x3abe2c(0x20f)](){const _0x3f69e8=_0x3abe2c;return this[_0x3f69e8(0x259)][_0x3f69e8(0x210)]>0x0||this[_0x3f69e8(0x1aa)]();}}export{l as RealTimeCollaborationClient};class X extends Error{}function Y(_0x50c89a,_0x2ef787){const _0x403fb7=_0x3abe2c;for(const _0x3a5eb4 of _0x50c89a)_0x3a5eb4[_0x403fb7(0x265)]=_0x2ef787++;}class Z{[_0x3abe2c(0x283)];[_0x3abe2c(0x220)];constructor(_0x301db3){const _0x44033a=_0x3abe2c;this[_0x44033a(0x283)]=_0x301db3,this[_0x44033a(0x220)]=new WeakMap();}[_0x3abe2c(0x1cc)](_0x5939ec){const _0x2480e7=_0x3abe2c;let _0x3f3140=_0x5939ec[_0x2480e7(0x210)];for(;_0x3f3140--;){const _0x2682d1=_0x5939ec[_0x3f3140];if(!this[_0x2480e7(0x283)][_0x2480e7(0x20b)](_0x2682d1)){if(!this[_0x2480e7(0x220)][_0x2480e7(0x20b)](_0x2682d1)){const _0x3c2916=_0x4feefc()[_0x2480e7(0x1cf)](0x1,0x12);this[_0x2480e7(0x220)][_0x2480e7(0x2a8)](_0x2682d1,_0x3c2916);}return this[_0x2480e7(0x220)][_0x2480e7(0x225)](_0x2682d1);}}}[_0x3abe2c(0x1f7)](_0x847837,_0x1ce17d){const _0x51ace6=_0x3abe2c;if(!_0x1ce17d)return;let _0x4d12d6=_0x847837[_0x51ace6(0x210)];for(;_0x4d12d6--;){const _0x30a6c2=_0x847837[_0x4d12d6];this[_0x51ace6(0x283)][_0x51ace6(0x20b)](_0x30a6c2)||this[_0x51ace6(0x220)][_0x51ace6(0x2a8)](_0x30a6c2,_0x1ce17d);}}}
|
|
23
|
+
const _0x2640a2=_0x68d8;(function(_0x4c85d6,_0x4a724a){const _0x5b1fd8=_0x68d8,_0x4d56dd=_0x4c85d6();while(!![]){try{const _0xb72811=-parseInt(_0x5b1fd8(0x21a))/0x1+-parseInt(_0x5b1fd8(0x27e))/0x2+parseInt(_0x5b1fd8(0x265))/0x3+-parseInt(_0x5b1fd8(0x2b8))/0x4+parseInt(_0x5b1fd8(0x202))/0x5+parseInt(_0x5b1fd8(0x230))/0x6*(-parseInt(_0x5b1fd8(0x1d3))/0x7)+parseInt(_0x5b1fd8(0x1fc))/0x8*(parseInt(_0x5b1fd8(0x2ba))/0x9);if(_0xb72811===_0x4a724a)break;else _0x4d56dd['push'](_0x4d56dd['shift']());}catch(_0x18be15){_0x4d56dd['push'](_0x4d56dd['shift']());}}}(_0x5ba4,0x768fb));import{Plugin as _0x1d3e9b,PendingActions as _0x300de0}from'ckeditor5/src/core.js';import{CKEditorError as _0x1331c6,version as _0x421090,uid as _0x89ac0b}from'ckeditor5/src/utils.js';function _0x68d8(_0x3739ad,_0x56df95){const _0x5ba41a=_0x5ba4();return _0x68d8=function(_0x68d829,_0x59c55b){_0x68d829=_0x68d829-0x1bb;let _0xe4fd80=_0x5ba41a[_0x68d829];return _0xe4fd80;},_0x68d8(_0x3739ad,_0x56df95);}import{Notification as _0x1e914c}from'ckeditor5/src/ui.js';import{transformOperationSets as _0x44aeb5,NoOperation as _0x4f8c94,InsertOperation as _0x298d1d,MarkerOperation as _0x15dcf8,RootAttributeOperation as _0x3d1100,OperationFactory as _0x3e727e,History as _0x534da9}from'ckeditor5/src/engine.js';import{WebSocketGateway as _0x43318a}from'./websocketgateway.js';import{Sessions as _0x45195a}from'./sessions.js';import{UserMarkers as _0x198f92}from'./usermarkers.js';import{getTranslation as _0x159b4c}from'../common-translations.js';import{Compressor as _0x19eb87}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x13847b}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x2ad3ff,CollaborativeEditingService as _0x16cb36}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let X=0x1;function _0x5ba4(){const _0x53c2c4=['CommentsOnly','enableReadOnlyMode','rootsAttributes','affectsData','lastSyncVersion','_lastSyncedOperationId','getIdOfTheLastOperation','18BfgVXi','push','offset','lastOperationId','reconnect','_pendingAction','cloudDocumentVersion','newRange','size','Synchronization\x20issue','end','_saveOperationInBuffer','_connectService','decompress','createRoot','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','isReadOnly','change:_isPendingUpdate','_handleInitialConnectionData','_isPendingUpdate','sendOperations','_setUpDataInit','directChange','pluginName','_sendBufferedOperationsDelayed','_service','_disconnectionOperations','error','_hasSelectionChanged','Permissions','_knownRootNames','_baseBufferDelay','_knownOperations','showWarning','_loadRoot','_disconnectService','_authorId','editor','createRange','collaboration.channelId','state','disableReadOnlyMode','metadata','roots','404','_operationIdentifier','_handleServerResponse','selection','isEnabled','slice','realtimecollaborationclient-init-session-connection-error','isUndoneOperation','CollaborativeEditingService','1853448irydWb','change:range','move','_isInit','_compressOperations','_isConnected','addRootAttribute','position','reconnection:\x20flushed\x20session','editing','rootName','_refreshUserSelectionMarkers','setIdForTheLastOperation','multi-root-editor-root-attributes-no-root','_bufferRootLoad','cloudServices.bundleVersion','_bufferedOperations','_addKnownRoot','_handleExternalOperations','sessionAdd:','addToReconnectionStack','_waitUntilSynced','_applyOperationsSet','createUserMarkerOperations','connection','711302DwArxa','_offset','_getAffectedRoot','realtimecollaborationclient-error','affectedSelectable','finally','lastOperationAcceptedAt','_decompressOperations','data','startsWith','define','serverHistory','stop','getUser','_shouldSendSelectionUpdate','from','type','catch','path','_ignoredOperations','createPositionAt','_lastServerVersion','sessionCreatedAt','root','currentDocumentSession','_setPendingAction','applyOperation','message','_isDisconnection','parse','RealTimeCollaborationClient','_updateServerHistory','_fetchMissingUsers','_shouldSendUpdate','_channelId','getConnectedSessions','bind','realtimecollaborationclient-init-non-existent-root','_isEditingAllowed','__className','Notification','ready','version','$root','lastDocumentSession','baseVersion','InsertOperation','wereChangesApplied','fromJSON','model','getOperationAuthor','apply','change:hasDomSelection','mySessionId','has','_connectAfterSessionHasBeenFlushed','change:_isEditingAllowed','view','2022132DlxLtk','cs:removeUser','110367pwtZEx','realtimecollaborationclient-init-connection-failed','addUser','channelSessions','requires','stopListening','init','code','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.','realtimecollaborationclient-init-service-incorrect-server-operation','realtimecollaborationclient-init-service-internal-error','_document','attributes','isPremiumPlugin','suppressErrorInCollaboration','entries','return','isOfficialPlugin','realtimecollaborationclient-handleserverresponse','sessionId','keys','_initThrowingOnDataSet','_handleReconnectionResponse','length','collaboration-missing-channelid','initData','getOperations','toJSON','map','addOperation','242487FtVOaW','_handleReconnectionError','PENDING_ACTION_SENDING_DATA','_handleSendingSelectionMarkers','_getOperationsFromInitData','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','real-time-collaboration','_isLoaded','realtimecollaborationclient-sendbufferedoperations','rtc-offline','batch','_sendBufferedOperations','destroy','register','createPositionFromPath','history','_hasSynchronizationProblem','forEach','start','targetPosition','_currentBufferDelay','reset','insert','409','marker','locale','getRoot','realtimecollaborationclient','clone','permissions','unregister','connect','cloud-services-internal-error:\x20Request\x20timeout.','removeFromReconnectionStack','_sendBufferedOperationsDelayId','differ','_clearPendingAction','disconnected','markers','set','getMany','280eNWDIC','setPermissions','document:write','_isAttached','off','_compressor','2370280BWBHCT','get','connected','remove','createdAt','operationsReceived','_initSessionsHandling','loadRoot','listenTo','cloud-services-internal-error:\x20Not\x20connected.','userId','realtimecollaborationclient-init-document-already-initialized','_crash','_operationToId','includes','round','rtc-destroyed','_handleReceivedOperations','enqueueChange','add','disconnect','string','compress','document','70343jZEipd','collaboration','addRoot','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.','high','filter','isDocumentOperation','then','fire','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','wasUndone','getDocumentDetails','config','plugins','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.'];_0x5ba4=function(){return _0x53c2c4;};return _0x5ba4();}class l extends _0x1d3e9b{static [_0x2640a2(0x264)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x16cb36)());[_0x2640a2(0x27f)];[_0x2640a2(0x1c8)];[_0x2640a2(0x289)];[_0x2640a2(0x2a0)];[_0x2640a2(0x249)];[_0x2640a2(0x1c0)];[_0x2640a2(0x201)];[_0x2640a2(0x275)];[_0x2640a2(0x250)];[_0x2640a2(0x24e)];[_0x2640a2(0x235)];[_0x2640a2(0x24c)];[_0x2640a2(0x1f5)];[_0x2640a2(0x24f)];[_0x2640a2(0x1e7)];[_0x2640a2(0x22e)];[_0x2640a2(0x24a)];[_0x2640a2(0x25d)];static get[_0x2640a2(0x2be)](){return[_0x43318a,_0x45195a,_0x198f92,_0x300de0,_0x13847b,_0x1e914c];}static get[_0x2640a2(0x247)](){const _0x276932=_0x2640a2;return _0x276932(0x29c);}static get[_0x2640a2(0x1c6)](){return!0x0;}static get[_0x2640a2(0x1c2)](){return!0x0;}get[_0x2640a2(0x236)](){const _0x4fb15c=_0x2640a2;return this[_0x4fb15c(0x293)]+this[_0x4fb15c(0x27f)];}get[_0x2640a2(0x293)](){const _0x31f950=_0x2640a2;return this[_0x31f950(0x289)][_0x31f950(0x2a8)]-this[_0x31f950(0x27f)];}get[_0x2640a2(0x22d)](){const _0x368a86=_0x2640a2,_0x19a685=this[_0x368a86(0x289)][_0x368a86(0x1cf)]();for(let _0x1fa6be=_0x19a685[_0x368a86(0x1cc)]-0x1;_0x1fa6be>=0x0;_0x1fa6be--){const _0x304798=_0x19a685[_0x1fa6be];if(!this[_0x368a86(0x24a)][_0x368a86(0x2b4)](_0x304798))return _0x304798[_0x368a86(0x2ab)]+0x1-this[_0x368a86(0x27f)];}return 0x0;}constructor(_0x283602){const _0x2321a3=_0x2640a2;if(super(_0x283602),this[_0x2321a3(0x27f)]=0x0,this[_0x2321a3(0x1c8)]=null,this[_0x2321a3(0x289)]=new _0x534da9(),this[_0x2321a3(0x255)][_0x2321a3(0x226)][_0x2321a3(0x288)](_0x2321a3(0x21b),{}),this[_0x2321a3(0x2a0)]=this[_0x2321a3(0x255)][_0x2321a3(0x226)][_0x2321a3(0x203)](_0x2321a3(0x257)),!this[_0x2321a3(0x2a0)])throw new _0x1331c6(_0x2321a3(0x1cd),this);const _0x3662e7=_0x283602[_0x2321a3(0x226)][_0x2321a3(0x203)](_0x2321a3(0x274))||_0x421090;this[_0x2321a3(0x249)]=new l[(_0x2321a3(0x264))](_0x3662e7,this[_0x2321a3(0x2a0)]),this[_0x2321a3(0x1c0)]=this[_0x2321a3(0x255)][_0x2321a3(0x2af)][_0x2321a3(0x219)],this[_0x2321a3(0x201)]=new _0x19eb87(),this[_0x2321a3(0x275)]=[],this[_0x2321a3(0x250)]=new WeakSet(),this[_0x2321a3(0x24e)]=new Set(),this[_0x2321a3(0x1fa)](_0x2321a3(0x243),!0x1),this[_0x2321a3(0x1fa)](_0x2321a3(0x1e3),!0x1),this[_0x2321a3(0x235)]=null,this[_0x2321a3(0x24c)]=!0x1,this[_0x2321a3(0x1f5)]=null,this[_0x2321a3(0x24f)]=0x12c,this[_0x2321a3(0x1e7)]=this[_0x2321a3(0x24f)],this[_0x2321a3(0x22e)]=null,this[_0x2321a3(0x24a)]=new WeakSet(),this[_0x2321a3(0x25d)]=new tt(this[_0x2321a3(0x24a)]);}[_0x2640a2(0x1bb)](){const _0x4b468d=_0x2640a2,_0x3b22e7=this[_0x4b468d(0x255)],_0x5293f4=_0x3b22e7[_0x4b468d(0x227)][_0x4b468d(0x203)](_0x13847b),_0x1f5094=_0x3b22e7[_0x4b468d(0x227)][_0x4b468d(0x203)](_0x43318a);this[_0x4b468d(0x20a)](_0x5293f4,_0x4b468d(0x2b0),(_0x4c6d24,_0x3401bc)=>{const _0x190777=_0x4b468d,_0x4d5585=_0x3401bc[0x0];_0x4d5585[_0x190777(0x254)]&&(_0x4c6d24[_0x190777(0x1c5)]=_0x5293f4[_0x190777(0x28b)](_0x4d5585[_0x190777(0x254)]),_0x4c6d24[_0x190777(0x28a)]()),null===_0x4d5585[_0x190777(0x254)]&&(_0x4c6d24[_0x190777(0x1c5)]=null,_0x4c6d24[_0x190777(0x28a)]());},{'priority':_0x4b468d(0x21e)}),this[_0x4b468d(0x20a)](_0x3b22e7[_0x4b468d(0x2af)][_0x4b468d(0x219)][_0x4b468d(0x25f)],_0x4b468d(0x266),(_0x4c48c0,_0x581a1a)=>{const _0x5b016f=_0x4b468d;_0x581a1a[_0x5b016f(0x246)]&&this[_0x5b016f(0x270)]();}),this[_0x4b468d(0x20a)](_0x3b22e7[_0x4b468d(0x26e)][_0x4b468d(0x2b7)],_0x4b468d(0x2b2),()=>{const _0x18b9c6=_0x4b468d;this[_0x18b9c6(0x270)]();}),this[_0x4b468d(0x1ca)](),_0x3b22e7[_0x4b468d(0x2af)]['on'](_0x4b468d(0x298),(_0x17aa45,_0x287644)=>{const _0x2cafd7=_0x4b468d,_0x2d9a41=_0x287644[0x0];_0x2d9a41[_0x2cafd7(0x220)]&&(this[_0x2cafd7(0x23b)](_0x2d9a41),this[_0x2cafd7(0x29f)]()&&this[_0x2cafd7(0x248)]());}),this[_0x4b468d(0x245)](),this[_0x4b468d(0x2a2)](_0x4b468d(0x2a4))['to'](_0x1f5094,_0x4b468d(0x258),this,_0x4b468d(0x1e3),(_0x598074,_0x4fd060)=>_0x4b468d(0x204)===_0x598074&&!_0x4fd060),this['on'](_0x4b468d(0x2b6),()=>{const _0x4cd210=_0x4b468d;this[_0x4cd210(0x2a4)]?_0x3b22e7[_0x4cd210(0x259)](_0x4cd210(0x1dc)):_0x3b22e7[_0x4cd210(0x22a)](_0x4cd210(0x1dc));}),this[_0x4b468d(0x2a4)]?_0x3b22e7[_0x4b468d(0x259)](_0x4b468d(0x1dc)):_0x3b22e7[_0x4b468d(0x22a)](_0x4b468d(0x1dc)),this[_0x4b468d(0x1fa)](_0x4b468d(0x26a),!0x1);}async[_0x2640a2(0x234)](){const _0x3b3fdb=_0x2640a2,_0x67969b=this[_0x3b3fdb(0x255)][_0x3b3fdb(0x227)][_0x3b3fdb(0x203)](_0x45195a),_0x1b5c9f=this[_0x3b3fdb(0x255)][_0x3b3fdb(0x227)][_0x3b3fdb(0x203)](_0x43318a);try{this[_0x3b3fdb(0x243)]=!0x0,_0x67969b[_0x3b3fdb(0x1f1)](this[_0x3b3fdb(0x2a0)]);const _0x21ff73=await this[_0x3b3fdb(0x249)][_0x3b3fdb(0x234)](_0x1b5c9f[_0x3b3fdb(0x27d)],this[_0x3b3fdb(0x22d)]);await this[_0x3b3fdb(0x1cb)](_0x21ff73)&&(this[_0x3b3fdb(0x243)]=!0x1,this[_0x3b3fdb(0x1f7)]());const _0x234f90=await this[_0x3b3fdb(0x249)][_0x3b3fdb(0x2a1)]();_0x67969b[_0x3b3fdb(0x1e0)](this[_0x3b3fdb(0x2a0)],_0x234f90),this[_0x3b3fdb(0x1d6)](),this[_0x3b3fdb(0x26a)]=!0x0;}catch(_0x38c84a){if(function(_0x122fd3){const _0x567c7b=_0x3b3fdb;return _0x567c7b(0x25c)===_0x122fd3[_0x567c7b(0x1bc)];}(_0x38c84a)&&this[_0x3b3fdb(0x1c8)])await this[_0x3b3fdb(0x2b5)]();else{if(function(_0x1f67ac){const _0xfcf3cb=_0x3b3fdb;return _0xfcf3cb(0x1ea)===_0x1f67ac[_0xfcf3cb(0x1bc)];}(_0x38c84a)){const _0x566887=_0x159b4c(this[_0x3b3fdb(0x255)][_0x3b3fdb(0x1ec)],_0x3b3fdb(0x23f));this[_0x3b3fdb(0x1d4)](_0x566887);}else{if(!(_0x38c84a instanceof Y))throw _0x38c84a;this[_0x3b3fdb(0x1d4)]();}}}}[_0x2640a2(0x1df)](){const _0x51c7c3=_0x2640a2,_0x4032fc=this[_0x51c7c3(0x255)][_0x51c7c3(0x227)][_0x51c7c3(0x203)](_0x43318a),_0xb4bc2c=this[_0x51c7c3(0x255)][_0x51c7c3(0x227)][_0x51c7c3(0x203)](_0x45195a);this[_0x51c7c3(0x255)][_0x51c7c3(0x22a)](_0x51c7c3(0x212)),_0xb4bc2c[_0x51c7c3(0x2bd)][_0x51c7c3(0x2b4)](this[_0x51c7c3(0x2a0)])&&_0xb4bc2c[_0x51c7c3(0x1f1)](this[_0x51c7c3(0x2a0)]),_0x4032fc[_0x51c7c3(0x1f4)](this),this[_0x51c7c3(0x253)](),super[_0x51c7c3(0x1df)]();}async[_0x2640a2(0x1cb)](_0x1b8419){const _0x2a7ff4=_0x2640a2;if(this[_0x2a7ff4(0x1c8)]!==_0x1b8419[_0x2a7ff4(0x1c8)]&&this[_0x2a7ff4(0x22e)]!==_0x1b8419[_0x2a7ff4(0x233)])throw new Y();return this[_0x2a7ff4(0x1c8)]=_0x1b8419[_0x2a7ff4(0x1c8)],this[_0x2a7ff4(0x25e)]([],{..._0x1b8419,'wereChangesApplied':!0x1,'data':_0x1b8419[_0x2a7ff4(0x286)]},_0x2a7ff4(0x234));}async[_0x2640a2(0x23c)](_0x49eec6,_0x59d998=!0x1){const _0x3bb474=_0x2640a2,{connection:_0x401433}=this[_0x3bb474(0x255)][_0x3bb474(0x227)][_0x3bb474(0x203)](_0x43318a);l[_0x3bb474(0x264)][_0x3bb474(0x2a1)](_0x401433,this[_0x3bb474(0x2a0)])[_0x3bb474(0x221)](_0x1d8bda=>this[_0x3bb474(0x208)](_0x1d8bda))[_0x3bb474(0x28f)](_0x4f0301=>{const _0x1f3c48=_0x3bb474;this[_0x1f3c48(0x20e)](_0x1f3c48(0x262),_0x4f0301);}),this[_0x3bb474(0x20a)](this[_0x3bb474(0x249)],_0x3bb474(0x207),this[_0x3bb474(0x213)][_0x3bb474(0x2a2)](this)),this[_0x3bb474(0x20a)](this[_0x3bb474(0x249)],_0x3bb474(0x24b),(_0x1f26ae,_0x2b0fb3)=>{const _0x359d99=_0x3bb474;this[_0x359d99(0x20e)](_0x359d99(0x1bf),_0x2b0fb3);}),this[_0x3bb474(0x20a)](this[_0x3bb474(0x249)],_0x3bb474(0x1f8),()=>{const _0x49468f=_0x3bb474;this[_0x49468f(0x26a)]=!0x1;});const _0x5be825=this[_0x3bb474(0x25d)][_0x3bb474(0x22f)](_0x49eec6);this[_0x3bb474(0x243)]=!0x0;const _0x41e383=await this[_0x3bb474(0x249)][_0x3bb474(0x1f2)](_0x401433,this[_0x3bb474(0x269)](_0x49eec6),_0x5be825);if(this[_0x3bb474(0x1c8)]=_0x41e383[_0x3bb474(0x1c8)],_0x59d998){if(!_0x41e383[_0x3bb474(0x2ad)])return void this[_0x3bb474(0x1d4)]();this[_0x3bb474(0x243)]=!0x1,this[_0x3bb474(0x1f7)](),this[_0x3bb474(0x289)][_0x3bb474(0x1e8)](),this[_0x3bb474(0x27f)]=_0x41e383[_0x3bb474(0x232)],this[_0x3bb474(0x289)][_0x3bb474(0x2a8)]=this[_0x3bb474(0x27f)],await this[_0x3bb474(0x25e)](_0x49eec6,_0x41e383,_0x3bb474(0x26d));}else await this[_0x3bb474(0x242)](_0x41e383,_0x49eec6);this[_0x3bb474(0x1d6)](),this[_0x3bb474(0x26a)]=!0x0;}[_0x2640a2(0x1d6)](){const _0x2cf1a6=_0x2640a2,_0x541af0=this[_0x2cf1a6(0x255)][_0x2cf1a6(0x227)][_0x2cf1a6(0x203)](_0x45195a),_0xbd634a=this[_0x2cf1a6(0x255)][_0x2cf1a6(0x227)][_0x2cf1a6(0x203)](_0x198f92),_0x36922b=_0x541af0[_0x2cf1a6(0x2bd)][_0x2cf1a6(0x203)](this[_0x2cf1a6(0x2a0)]);_0x36922b&&_0x36922b[_0x2cf1a6(0x1cc)]>0x1?_0xbd634a[_0x2cf1a6(0x27c)]():this[_0x2cf1a6(0x20a)](_0x541af0,_0x2cf1a6(0x278)+this[_0x2cf1a6(0x2a0)],()=>{const _0x38fb1e=_0x2cf1a6;0x2===_0x541af0[_0x38fb1e(0x2bd)][_0x38fb1e(0x203)](this[_0x38fb1e(0x2a0)])[_0x38fb1e(0x1cc)]&&_0xbd634a[_0x38fb1e(0x27c)]();});}async[_0x2640a2(0x213)](_0x13ccfd,_0x5c9fe8,_0x36511b,_0x5e9947){const _0x1069af=_0x2640a2;if(!this[_0x1069af(0x243)]&&this[_0x1069af(0x1c0)][_0x1069af(0x2a8)]==_0x5c9fe8){const _0x3f66fd=this[_0x1069af(0x285)](_0x36511b,_0x5e9947);await this[_0x1069af(0x29e)](_0x3f66fd),this[_0x1069af(0x277)](_0x3f66fd,_0x5c9fe8,_0x36511b[_0x1069af(0x233)])||this[_0x1069af(0x20e)](_0x1069af(0x1be));}}async[_0x2640a2(0x2b5)](){const _0x238bfe=_0x2640a2;this[_0x238bfe(0x253)]();const {locale:_0x41312c}=this[_0x238bfe(0x255)];let _0x557ff1;try{_0x557ff1=await this[_0x238bfe(0x249)][_0x238bfe(0x225)]();}catch{const _0x1cd704=_0x159b4c(_0x41312c,_0x238bfe(0x1d8));return void this[_0x238bfe(0x1d4)](_0x1cd704);}const _0x2056c5=_0x557ff1[_0x238bfe(0x296)]||_0x557ff1[_0x238bfe(0x2aa)];if(this[_0x238bfe(0x22e)]!==_0x2056c5[_0x238bfe(0x233)]){const _0x397f2a=_0x159b4c(_0x41312c,_0x238bfe(0x21d));return void this[_0x238bfe(0x1d4)](_0x397f2a);}await this[_0x238bfe(0x23c)](this[_0x238bfe(0x255)][_0x238bfe(0x2af)][_0x238bfe(0x219)][_0x238bfe(0x1e2)][_0x238bfe(0x1cf)](),!0x0);}[_0x2640a2(0x253)](){const _0x28c511=_0x2640a2;this[_0x28c511(0x249)][_0x28c511(0x216)](),this[_0x28c511(0x275)]=[],clearTimeout(this[_0x28c511(0x1f5)]),this[_0x28c511(0x2bf)](this[_0x28c511(0x249)]);}[_0x2640a2(0x208)](_0x50f97c){const _0x5bf345=_0x2640a2,_0x42b3db=this[_0x5bf345(0x255)][_0x5bf345(0x227)][_0x5bf345(0x203)](_0x45195a);this[_0x5bf345(0x20a)](_0x42b3db,_0x5bf345(0x278)+this[_0x5bf345(0x2a0)],(_0x514085,{session:_0x3bf3f1})=>{const _0x2c1b47=_0x5bf345;if(_0x3bf3f1['id']===_0x42b3db[_0x2c1b47(0x2b3)]){_0x514085[_0x2c1b47(0x200)]();const _0x510b5f=this[_0x2c1b47(0x255)][_0x2c1b47(0x227)][_0x2c1b47(0x2b4)](_0x2c1b47(0x229))&&this[_0x2c1b47(0x255)][_0x2c1b47(0x227)][_0x2c1b47(0x203)](_0x2c1b47(0x229));let _0x4d1ba0=_0x3bf3f1[_0x2c1b47(0x1f0)];_0x510b5f&&_0x510b5f[_0x2c1b47(0x260)]&&(_0x4d1ba0=_0x4d1ba0[_0x2c1b47(0x21f)](_0x246ad3=>_0x2c1b47(0x1fe)!==_0x246ad3)),this[_0x2c1b47(0x255)][_0x2c1b47(0x227)][_0x2c1b47(0x203)](_0x2c1b47(0x24d))[_0x2c1b47(0x1fd)](_0x4d1ba0,this[_0x2c1b47(0x2a0)]);}}),_0x42b3db[_0x5bf345(0x1e0)](this[_0x5bf345(0x2a0)],_0x50f97c);}[_0x2640a2(0x1ca)](){const _0xb4e3c4=_0x2640a2,_0x4d0252=this[_0xb4e3c4(0x255)][_0xb4e3c4(0x286)][_0xb4e3c4(0x1fa)];this[_0xb4e3c4(0x255)][_0xb4e3c4(0x286)][_0xb4e3c4(0x1fa)]=(..._0x416272)=>{const _0x347d54=_0xb4e3c4;if(!_0x416272[_0x416272[_0x347d54(0x1cc)]-0x1][_0x347d54(0x1c3)])throw new _0x1331c6(_0x347d54(0x223),this);_0x4d0252[_0x347d54(0x2b1)](this[_0x347d54(0x255)][_0x347d54(0x286)],_0x416272);};}[_0x2640a2(0x245)](){const _0x31e927=_0x2640a2;this[_0x31e927(0x255)][_0x31e927(0x286)]['on'](_0x31e927(0x1bb),(_0x36bac7,[_0x58f100])=>{const _0x50401d=_0x31e927;if(this[_0x50401d(0x1c0)][_0x50401d(0x2a8)])throw new _0x1331c6(_0x50401d(0x20d),this);_0x36bac7[_0x50401d(0x28a)](),this[_0x50401d(0x297)]();const _0x4bd618=this[_0x50401d(0x255)][_0x50401d(0x226)][_0x50401d(0x203)](_0x50401d(0x22b)),_0x30b20d=this[_0x50401d(0x1d7)](_0x58f100,_0x4bd618);0x0==_0x30b20d[_0x50401d(0x1cc)]&&_0x30b20d[_0x50401d(0x231)](new _0x4f8c94(0x0)),_0x36bac7[_0x50401d(0x1c5)]=this[_0x50401d(0x23c)](_0x30b20d)[_0x50401d(0x221)](()=>{const _0x57498b=_0x50401d;this[_0x57498b(0x255)][_0x57498b(0x227)][_0x57498b(0x203)](_0x43318a)[_0x57498b(0x279)](this),this[_0x57498b(0x255)][_0x57498b(0x286)][_0x57498b(0x222)](_0x57498b(0x2a7));})[_0x50401d(0x28f)](_0x1d778c=>this[_0x50401d(0x20e)](_0x50401d(0x2bb),_0x1d778c))[_0x50401d(0x283)](()=>this[_0x50401d(0x1f7)]());},{'priority':_0x31e927(0x21e)}),this[_0x31e927(0x255)]['on'](_0x31e927(0x209),async(_0x2b1156,[_0x2205fb,_0xf2dc25])=>{const _0x168556=_0x31e927;_0x2b1156[_0x168556(0x28a)]();const _0x1cb5e3=this[_0x168556(0x255)][_0x168556(0x2af)][_0x168556(0x219)][_0x168556(0x1ed)](_0x2205fb);if(!this[_0x168556(0x24e)][_0x168556(0x2b4)](_0x2205fb)){const _0x1209d7=_0xf2dc25&&_0xf2dc25[_0x168556(0x286)]?_0xf2dc25[_0x168556(0x286)]:'',_0x4a0b3c=_0xf2dc25&&_0xf2dc25[_0x168556(0x1c1)]?_0xf2dc25[_0x168556(0x1c1)]:{};await this[_0x168556(0x252)](_0x2205fb,_0x1209d7,_0x4a0b3c);}this[_0x168556(0x255)][_0x168556(0x2af)][_0x168556(0x214)]({'isUndoable':!0x1},()=>{const _0x2bbb72=_0x168556;_0x1cb5e3[_0x2bbb72(0x1da)]=!0x0,this[_0x2bbb72(0x255)][_0x2bbb72(0x2af)][_0x2bbb72(0x219)][_0x2bbb72(0x1f6)][_0x2bbb72(0x273)](_0x1cb5e3);});},{'priority':_0x31e927(0x21e)});}async[_0x2640a2(0x29e)](_0x46f1f4){const _0x449dae=_0x2640a2,_0x2ef233=this[_0x449dae(0x255)][_0x449dae(0x227)][_0x449dae(0x203)](_0x13847b),{connection:_0x4be026}=this[_0x449dae(0x255)][_0x449dae(0x227)][_0x449dae(0x203)](_0x43318a),_0x27df6d=new Set();for(const _0x205909 of _0x46f1f4){const _0x366107=_0x205909[_0x449dae(0x254)];_0x366107&&!_0x2ef233[_0x449dae(0x28b)](_0x366107)&&_0x27df6d[_0x449dae(0x215)](_0x366107);}if(0x0===_0x27df6d[_0x449dae(0x238)])return;const _0x1c6f6b=await _0x2ad3ff[_0x449dae(0x1fb)](_0x4be026,Array[_0x449dae(0x28d)](_0x27df6d));for(const _0x41fe43 of _0x1c6f6b)_0x2ef233[_0x449dae(0x28b)](_0x41fe43['id'])||_0x2ef233[_0x449dae(0x2bc)](_0x41fe43);}[_0x2640a2(0x1d7)](_0x2808c7,_0x57c65b={}){const _0x4d9af9=_0x2640a2,_0x32469f=this[_0x4d9af9(0x255)][_0x4d9af9(0x2af)],_0x541871=[];let _0xabebfb=0x0;const _0x4bf10d=_0x4d9af9(0x217)==typeof _0x2808c7?{'main':_0x2808c7}:_0x2808c7;for(const _0x56150b of Object[_0x4d9af9(0x1c9)](_0x4bf10d)){if(!this[_0x4d9af9(0x1c0)][_0x4d9af9(0x25b)][_0x4d9af9(0x2b4)](_0x56150b))throw new _0x1331c6(_0x4d9af9(0x2a3),this);const _0x5682ea=this[_0x4d9af9(0x255)][_0x4d9af9(0x286)][_0x4d9af9(0x29b)](_0x4bf10d[_0x56150b]),_0x52a463=this[_0x4d9af9(0x1c0)][_0x4d9af9(0x1ed)](_0x56150b),_0x4e37d3=new _0x298d1d(_0x32469f[_0x4d9af9(0x292)](_0x52a463,0x0),_0x5682ea,_0xabebfb++);_0x541871[_0x4d9af9(0x231)](_0x4e37d3);for(const [_0xb8274b,_0x199d0a]of _0x5682ea[_0x4d9af9(0x1f9)]){const _0x5a94c1=_0x32469f[_0x4d9af9(0x256)](_0x32469f[_0x4d9af9(0x1e1)](_0x52a463,_0x199d0a[_0x4d9af9(0x1e5)][_0x4d9af9(0x290)][_0x4d9af9(0x261)]()),_0x32469f[_0x4d9af9(0x1e1)](_0x52a463,_0x199d0a[_0x4d9af9(0x23a)][_0x4d9af9(0x290)][_0x4d9af9(0x261)]())),_0x4e832f=new _0x15dcf8(_0xb8274b,null,_0x5a94c1,_0x32469f[_0x4d9af9(0x1f9)],!0x0,_0xabebfb++);_0x541871[_0x4d9af9(0x231)](_0x4e832f);}}if(_0x57c65b)for(const [_0x2abb91,_0x6bfba5]of Object[_0x4d9af9(0x1c4)](_0x57c65b)){const _0x40a39d=_0x32469f[_0x4d9af9(0x219)][_0x4d9af9(0x1ed)](_0x2abb91);if(!_0x40a39d)throw new _0x1331c6(_0x4d9af9(0x272),null);for(const [_0x7f85c5,_0x56d3bb]of Object[_0x4d9af9(0x1c4)](_0x6bfba5))if(null!==_0x56d3bb){const _0x3441d2=new _0x3d1100(_0x40a39d,_0x7f85c5,null,_0x56d3bb,_0xabebfb++);_0x541871[_0x4d9af9(0x231)](_0x3441d2);}}return _0x541871;}async[_0x2640a2(0x252)](_0xead113,_0x52788e,_0x500c57){const _0x588229=_0x2640a2;this[_0x588229(0x1d7)]({[_0xead113]:_0x52788e},{[_0xead113]:_0x500c57})[_0x588229(0x1e4)]((_0x50198e,_0x3d58f0)=>{const _0x408768=_0x588229;_0x50198e[_0x408768(0x2ab)]=this[_0x408768(0x1c0)][_0x408768(0x2a8)]+_0x3d58f0,_0x50198e[_0x408768(0x268)]=!0x0,this[_0x408768(0x23b)](_0x50198e);}),this[_0x588229(0x248)](),await this[_0x588229(0x27a)]();}async[_0x2640a2(0x242)](_0x393f74,_0x1ea908){const _0x1a25a6=_0x2640a2;let _0x160410;this[_0x1a25a6(0x27f)]=_0x393f74[_0x1a25a6(0x232)];const _0x4a6c5a=_0x393f74[_0x1a25a6(0x2ad)]&&!_0x393f74[_0x1a25a6(0x1ce)],_0x371b8d=_0x4a6c5a?0x0:_0x393f74[_0x1a25a6(0x286)][_0x1a25a6(0x2ab)];if(_0x1ea908[_0x1a25a6(0x1e4)](_0x49beb6=>{const _0x310cfc=_0x1a25a6;_0x49beb6[_0x310cfc(0x268)]=!0x0,_0x49beb6[_0x310cfc(0x206)]=_0x393f74[_0x310cfc(0x294)],_0x49beb6[_0x310cfc(0x254)]=null;}),_0x4a6c5a)_0x160410=_0x1ea908,this[_0x1a25a6(0x27b)](_0x160410,_0x4a6c5a);else{if(_0x393f74[_0x1a25a6(0x1ce)]){const _0x4245db=this[_0x1a25a6(0x1d7)](_0x393f74[_0x1a25a6(0x1ce)]);this[_0x1a25a6(0x1c0)][_0x1a25a6(0x1e2)][_0x1a25a6(0x2a8)]=-_0x4245db[_0x1a25a6(0x1cc)],_0x4245db[_0x1a25a6(0x1e4)](_0x10a70e=>{const _0x698c8e=_0x1a25a6;_0x10a70e[_0x698c8e(0x2ab)]-=_0x4245db[_0x698c8e(0x1cc)],_0x10a70e[_0x698c8e(0x206)]=_0x393f74[_0x698c8e(0x294)],_0x10a70e[_0x698c8e(0x268)]=!0x0,_0x10a70e[_0x698c8e(0x254)]=null;}),this[_0x1a25a6(0x27b)](_0x4245db,!0x0),this[_0x1a25a6(0x289)][_0x1a25a6(0x2a8)]=-_0x4245db[_0x1a25a6(0x1cc)]+this[_0x1a25a6(0x27f)],this[_0x1a25a6(0x29d)](_0x4245db);}this[_0x1a25a6(0x1c0)][_0x1a25a6(0x1e2)][_0x1a25a6(0x2a8)]=_0x371b8d,_0x160410=this[_0x1a25a6(0x285)](_0x393f74[_0x1a25a6(0x286)],_0x393f74[_0x1a25a6(0x25a)]),await this[_0x1a25a6(0x29e)](_0x160410),this[_0x1a25a6(0x27b)](_0x160410,_0x4a6c5a);}_0x393f74[_0x1a25a6(0x233)]&&(this[_0x1a25a6(0x25d)][_0x1a25a6(0x271)](_0x160410,_0x393f74[_0x1a25a6(0x233)]),this[_0x1a25a6(0x22e)]=_0x393f74[_0x1a25a6(0x233)]),this[_0x1a25a6(0x289)][_0x1a25a6(0x2a8)]=_0x371b8d+this[_0x1a25a6(0x27f)],this[_0x1a25a6(0x29d)](_0x160410),_0x1ea908[_0x1a25a6(0x21f)](_0x199290=>{const _0x5878c5=_0x1a25a6,_0x5c5cea=this[_0x5878c5(0x280)](_0x199290);return _0x5c5cea&&!this[_0x5878c5(0x24e)][_0x5878c5(0x2b4)](_0x5c5cea);})[_0x1a25a6(0x1e4)]((_0x12d5dd,_0x1d51ae)=>{const _0x48ee7b=_0x1a25a6;_0x12d5dd[_0x48ee7b(0x2ab)]=this[_0x48ee7b(0x1c0)][_0x48ee7b(0x2a8)]+_0x1d51ae,this[_0x48ee7b(0x23b)](_0x12d5dd);}),this[_0x1a25a6(0x29f)]()?(this[_0x1a25a6(0x1e7)]=0x0,this[_0x1a25a6(0x248)](!0x0),await this[_0x1a25a6(0x27a)]()):(this[_0x1a25a6(0x243)]=!0x1,this[_0x1a25a6(0x1f7)]());}[_0x2640a2(0x20e)](_0xa2e0e8,_0xad81e2){const _0x184261=_0x2640a2,_0x76aafd=_0xad81e2&&_0xad81e2[_0x184261(0x299)];if(_0x76aafd&&_0x76aafd[_0x184261(0x287)](_0x184261(0x1ee)))throw _0xad81e2;const _0x3da054=this[_0x184261(0x255)][_0x184261(0x227)][_0x184261(0x203)](_0x43318a);throw this[_0x184261(0x243)]=!0x0,_0x3da054[_0x184261(0x216)](),this[_0x184261(0x255)][_0x184261(0x22a)](_0x184261(0x281)),new _0x1331c6(_0xa2e0e8,this[_0x184261(0x255)],_0x76aafd?{'originalError':_0x76aafd}:void 0x0);}[_0x2640a2(0x23b)](_0x30bacc){const _0x584c9b=_0x2640a2;this[_0x584c9b(0x250)][_0x584c9b(0x2b4)](_0x30bacc)||(this[_0x584c9b(0x250)][_0x584c9b(0x215)](_0x30bacc),this[_0x584c9b(0x275)][_0x584c9b(0x231)](_0x30bacc),this[_0x584c9b(0x235)]||_0x584c9b(0x1eb)==_0x30bacc[_0x584c9b(0x28e)]&&!_0x30bacc[_0x584c9b(0x22c)]||this[_0x584c9b(0x297)]());}[_0x2640a2(0x248)](_0x30ae96=!0x1){const _0x472dad=_0x2640a2;!_0x30ae96&&this[_0x472dad(0x243)]||(this[_0x472dad(0x243)]=!0x0,clearTimeout(this[_0x472dad(0x1f5)]),this[_0x472dad(0x1f5)]=setTimeout(()=>{const _0x5523da=_0x472dad;this[_0x5523da(0x1de)]()[_0x5523da(0x221)](_0x59edc0=>{const _0x4a52aa=_0x5523da;_0x59edc0&&(this[_0x4a52aa(0x1f7)](),this[_0x4a52aa(0x243)]=!0x1);})[_0x5523da(0x28f)](_0x54ffde=>{const _0x328477=_0x5523da;this[_0x328477(0x1f7)](),this[_0x328477(0x243)]=!0x1,function(_0x4f333b){const _0x35b73d=_0x328477;return _0x4f333b[_0x35b73d(0x299)][_0x35b73d(0x287)](_0x35b73d(0x20b))||_0x4f333b[_0x35b73d(0x299)][_0x35b73d(0x287)](_0x35b73d(0x228))||_0x4f333b[_0x35b73d(0x299)][_0x35b73d(0x287)](_0x35b73d(0x1f3));}(_0x54ffde)||this[_0x328477(0x20e)](_0x54ffde[_0x328477(0x299)],_0x54ffde);});},this[_0x472dad(0x1e7)]));}[_0x2640a2(0x27a)](){return new Promise(_0xf4d79a=>{const _0x1342a8=_0x68d8;this['on'](_0x1342a8(0x241),()=>{_0xf4d79a();});});}async[_0x2640a2(0x1de)](){const _0x3d72ab=_0x2640a2,_0x2cf4a4=this[_0x3d72ab(0x255)][_0x3d72ab(0x227)][_0x3d72ab(0x203)](_0x198f92);if(this[_0x3d72ab(0x28c)]()&&(_0x2cf4a4[_0x3d72ab(0x27c)](),this[_0x3d72ab(0x24c)]=!0x1),!this[_0x3d72ab(0x29f)]())return!0x0;const _0x2aecf0=[...this[_0x3d72ab(0x275)]];for(const _0x65820b of _0x2aecf0)_0x65820b[_0x3d72ab(0x224)]=this[_0x3d72ab(0x1c0)][_0x3d72ab(0x1e2)][_0x3d72ab(0x263)](_0x65820b);const _0x1cd82d=this[_0x3d72ab(0x25d)][_0x3d72ab(0x22f)](_0x2aecf0),_0x45b235=X++,_0x38409e=this[_0x3d72ab(0x269)](_0x2aecf0),_0x26afe7=await this[_0x3d72ab(0x249)][_0x3d72ab(0x244)](_0x38409e,_0x38409e[_0x3d72ab(0x2ab)],_0x1cd82d);try{return await this[_0x3d72ab(0x25e)](_0x2aecf0,_0x26afe7,_0x45b235);}catch(_0x46cf09){return this[_0x3d72ab(0x20e)](_0x3d72ab(0x1db),_0x46cf09);}}async[_0x2640a2(0x25e)](_0x6f0ac2,_0x5233d2,_0x24e205){const _0x4ef882=_0x2640a2;if(_0x4ef882(0x24b)in _0x5233d2)throw _0x5233d2[_0x4ef882(0x24b)];let _0x3300aa=!0x1;if(_0x5233d2[_0x4ef882(0x2ad)]){_0x5233d2[_0x4ef882(0x233)]&&(this[_0x4ef882(0x22e)]=_0x5233d2[_0x4ef882(0x233)]),this[_0x4ef882(0x275)]=this[_0x4ef882(0x275)][_0x4ef882(0x21f)](_0x2bbd1a=>!_0x6f0ac2[_0x4ef882(0x210)](_0x2bbd1a));for(const _0x48c820 of _0x6f0ac2)_0x48c820[_0x4ef882(0x206)]=_0x4ef882(0x284)in _0x5233d2&&_0x5233d2[_0x4ef882(0x284)]||void 0x0;Z(_0x6f0ac2,_0x5233d2[_0x4ef882(0x2a8)]-_0x6f0ac2[_0x4ef882(0x1cc)]),this[_0x4ef882(0x29d)](_0x6f0ac2);const _0x3a15b6=_0x6f0ac2[_0x4ef882(0x21f)](_0x3daf04=>{const _0x2b471f=_0x4ef882;if(!_0x3daf04[_0x2b471f(0x268)])return!0x1;const _0x2d4859=this[_0x2b471f(0x280)](_0x3daf04);return _0x2d4859&&!this[_0x2b471f(0x24e)][_0x2b471f(0x2b4)](_0x2d4859);});Z(_0x3a15b6,this[_0x4ef882(0x1c0)][_0x4ef882(0x2a8)]),this[_0x4ef882(0x27b)](_0x3a15b6),_0x3300aa=!0x0,this[_0x4ef882(0x1e7)]=this[_0x4ef882(0x24f)];}else{const _0x37de56=this[_0x4ef882(0x285)](_0x5233d2[_0x4ef882(0x286)],_0x5233d2[_0x4ef882(0x25a)])[_0x4ef882(0x21f)](_0x2ca43d=>_0x2ca43d[_0x4ef882(0x2ab)]>=this[_0x4ef882(0x293)]);_0x37de56[_0x4ef882(0x1e4)](_0x5be933=>this[_0x4ef882(0x276)](_0x5be933)),this[_0x4ef882(0x275)]=this[_0x4ef882(0x275)][_0x4ef882(0x21f)](_0x363b8c=>!_0x363b8c[_0x4ef882(0x268)]||!this[_0x4ef882(0x24e)][_0x4ef882(0x2b4)](this[_0x4ef882(0x280)](_0x363b8c))),this[_0x4ef882(0x275)][_0x4ef882(0x1cc)]&&Z(this[_0x4ef882(0x275)],this[_0x4ef882(0x275)][0x0][_0x4ef882(0x2ab)]),await this[_0x4ef882(0x29e)](_0x37de56),_0x3300aa=this[_0x4ef882(0x277)](_0x37de56,_0x5233d2[_0x4ef882(0x2a8)],_0x5233d2[_0x4ef882(0x233)]),this[_0x4ef882(0x1e7)]=Math[_0x4ef882(0x211)](this[_0x4ef882(0x1e7)]/0x2);}return _0x3300aa?!this[_0x4ef882(0x29f)]()||(this[_0x4ef882(0x248)](!0x0),!0x1):this[_0x4ef882(0x20e)](_0x4ef882(0x1c7));}[_0x2640a2(0x277)](_0x234ba6,_0x3e9fdc,_0x3ba8b8){const _0x51a459=_0x2640a2;try{const _0x2b8451={'document':this[_0x51a459(0x1c0)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x32c54d,operationsB:_0x477fba,originalOperations:_0x3d7f8b}=_0x44aeb5(_0x234ba6,this[_0x51a459(0x275)],_0x2b8451);Z(_0x32c54d,this[_0x51a459(0x1c0)][_0x51a459(0x2a8)]),Z(_0x477fba,_0x3e9fdc);for(const _0x3412df of _0x32c54d){const _0x2efc4d=_0x3d7f8b[_0x51a459(0x203)](_0x3412df);_0x3412df[_0x51a459(0x254)]=_0x2efc4d?_0x2efc4d[_0x51a459(0x254)]:null;}_0x3ba8b8&&(this[_0x51a459(0x25d)][_0x51a459(0x271)](_0x234ba6,_0x3ba8b8),this[_0x51a459(0x22e)]=_0x3ba8b8),this[_0x51a459(0x275)]=[..._0x477fba],this[_0x51a459(0x27b)](_0x32c54d),this[_0x51a459(0x29d)](_0x234ba6);}catch(_0x534dc0){return console[_0x51a459(0x24b)](_0x534dc0),!0x1;}return!0x0;}[_0x2640a2(0x27b)](_0xc1055c,_0x123e82=!0x1){const _0x2c253d=_0x2640a2;this[_0x2c253d(0x255)][_0x2c253d(0x2af)][_0x2c253d(0x214)]({'isUndoable':!0x1,'isLocal':!0x1},_0x1ad480=>{const _0x294cbb=_0x2c253d;for(const _0x3a8ab5 of _0xc1055c)this[_0x294cbb(0x250)][_0x294cbb(0x215)](_0x3a8ab5),this[_0x294cbb(0x276)](_0x3a8ab5),_0x1ad480[_0x294cbb(0x1dd)][_0x294cbb(0x1d2)](_0x3a8ab5),this[_0x294cbb(0x255)][_0x294cbb(0x2af)][_0x294cbb(0x298)](_0x3a8ab5);});}[_0x2640a2(0x276)](_0x131b57){const _0x320007=_0x2640a2,_0x58cea1=this[_0x320007(0x280)](_0x131b57);_0x58cea1&&this[_0x320007(0x24e)][_0x320007(0x215)](_0x58cea1);}[_0x2640a2(0x280)](_0x10c759){const _0x284e19=_0x2640a2;let _0x245e8f,_0x3086fd;switch(_0x10c759[_0x284e19(0x28e)]){case _0x284e19(0x1e9):_0x245e8f=_0x10c759[_0x284e19(0x26c)][_0x284e19(0x295)];break;case _0x284e19(0x1eb):if(_0x3086fd=_0x10c759[_0x284e19(0x237)],!_0x3086fd)return null;_0x245e8f=_0x3086fd[_0x284e19(0x295)];break;case _0x284e19(0x26b):_0x245e8f=_0x10c759[_0x284e19(0x295)];break;case _0x284e19(0x21c):_0x245e8f=_0x10c759[_0x284e19(0x282)];break;case _0x284e19(0x267):_0x245e8f=_0x10c759[_0x284e19(0x1e6)][_0x284e19(0x295)];break;default:return null;}return _0x245e8f[_0x284e19(0x26f)];}[_0x2640a2(0x29d)](_0x52a8b8){const _0x18afb5=_0x2640a2;_0x52a8b8[_0x18afb5(0x1e4)](_0x5837cc=>{const _0x1b8cea=_0x18afb5,_0x5a2a2d=_0x5837cc[_0x1b8cea(0x1ef)]();_0x5a2a2d[_0x1b8cea(0x254)]=_0x5837cc[_0x1b8cea(0x254)],_0x5a2a2d[_0x1b8cea(0x268)]=!!_0x5837cc[_0x1b8cea(0x268)],_0x5a2a2d[_0x1b8cea(0x206)]=_0x5837cc[_0x1b8cea(0x206)],_0x5a2a2d[_0x1b8cea(0x2ab)]+=this[_0x1b8cea(0x27f)],_0x5837cc[_0x1b8cea(0x29a)]&&this[_0x1b8cea(0x24a)][_0x1b8cea(0x215)](_0x5a2a2d),this[_0x1b8cea(0x289)][_0x1b8cea(0x1d2)](_0x5a2a2d);});}[_0x2640a2(0x1d4)](_0x122477){const _0x432148=_0x2640a2,_0x28b24a=this[_0x432148(0x255)][_0x432148(0x227)][_0x432148(0x203)](_0x432148(0x2a6)),_0x336d61=this[_0x432148(0x255)][_0x432148(0x1ec)];_0x122477||(_0x122477=_0x159b4c(_0x336d61,_0x432148(0x1bd))),_0x28b24a[_0x432148(0x251)](_0x122477,{'title':_0x159b4c(_0x336d61,_0x432148(0x239)),'namespace':_0x432148(0x1d9)}),this[_0x432148(0x1e3)]=!0x0,clearTimeout(this[_0x432148(0x1f5)]),this[_0x432148(0x275)]=[],this[_0x432148(0x255)][_0x432148(0x227)][_0x432148(0x203)](_0x43318a)[_0x432148(0x216)]();}[_0x2640a2(0x297)](){const _0x79c340=_0x2640a2;this[_0x79c340(0x235)]||(this[_0x79c340(0x235)]=this[_0x79c340(0x255)][_0x79c340(0x227)][_0x79c340(0x203)](_0x300de0)[_0x79c340(0x215)](_0x159b4c(this[_0x79c340(0x255)][_0x79c340(0x1ec)],_0x79c340(0x1d5))));}[_0x2640a2(0x1f7)](){const _0x34d6cc=_0x2640a2;this[_0x34d6cc(0x235)]&&(this[_0x34d6cc(0x255)][_0x34d6cc(0x227)][_0x34d6cc(0x203)](_0x300de0)[_0x34d6cc(0x205)](this[_0x34d6cc(0x235)]),this[_0x34d6cc(0x235)]=null);}[_0x2640a2(0x269)](_0x556860){const _0x427ff8=_0x2640a2,_0x471753=_0x556860[_0x427ff8(0x1d1)](_0x45f463=>_0x45f463[_0x427ff8(0x1d0)]());return this[_0x427ff8(0x201)][_0x427ff8(0x218)](_0x471753);}[_0x2640a2(0x285)](_0x4c3af6,_0x517e81){const _0x6ed9ff=_0x2640a2;return this[_0x6ed9ff(0x201)][_0x6ed9ff(0x23d)](_0x4c3af6)[_0x6ed9ff(0x1d1)]((_0x288fa3,_0x176c14)=>{const _0x448514=_0x6ed9ff,_0x354104=_0x448514(0x1bb)==_0x517e81[_0x176c14][_0x448514(0x28e)];if(_0x448514(0x2ac)==_0x288fa3[_0x448514(0x2a5)]){const _0x14abc3=_0x288fa3[_0x448514(0x26c)][_0x448514(0x295)];!this[_0x448514(0x1c0)][_0x448514(0x1ed)](_0x14abc3)&&(this[_0x448514(0x1c0)][_0x448514(0x23e)](_0x448514(0x2a9),_0x14abc3)[_0x448514(0x1ff)]=!0x1);}const _0x25d9f6=_0x3e727e[_0x448514(0x2ae)](_0x288fa3,this[_0x448514(0x1c0)]);return _0x25d9f6[_0x448514(0x224)]=_0x288fa3[_0x448514(0x224)],_0x25d9f6[_0x448514(0x268)]=_0x354104,_0x25d9f6[_0x448514(0x254)]=_0x354104?null:_0x517e81[_0x176c14][_0x448514(0x20c)],_0x25d9f6[_0x448514(0x29a)]=_0x448514(0x2b9)===_0x517e81[_0x176c14][_0x448514(0x28e)],_0x25d9f6[_0x448514(0x206)]=_0x517e81[_0x176c14][_0x448514(0x206)],_0x25d9f6;});}[_0x2640a2(0x270)](){const _0x1badf3=_0x2640a2;this[_0x1badf3(0x24c)]=!0x0,this[_0x1badf3(0x28c)]()?this[_0x1badf3(0x248)]():this[_0x1badf3(0x24c)]=!0x1;}[_0x2640a2(0x28c)](){const _0x51d7fa=_0x2640a2,_0x47ef69=this[_0x51d7fa(0x255)][_0x51d7fa(0x227)][_0x51d7fa(0x203)](_0x45195a)[_0x51d7fa(0x2bd)][_0x51d7fa(0x203)](this[_0x51d7fa(0x2a0)]);return!this[_0x51d7fa(0x255)][_0x51d7fa(0x240)]&&!!_0x47ef69&&_0x47ef69[_0x51d7fa(0x1cc)]>0x1&&this[_0x51d7fa(0x24c)];}[_0x2640a2(0x29f)](){const _0x1a092c=_0x2640a2;return this[_0x1a092c(0x275)][_0x1a092c(0x1cc)]>0x0||this[_0x1a092c(0x28c)]();}}export{l as RealTimeCollaborationClient};class Y extends Error{}function Z(_0x34005e,_0x3fcad1){const _0x2c5f16=_0x2640a2;for(const _0x1527ac of _0x34005e)_0x1527ac[_0x2c5f16(0x2ab)]=_0x3fcad1++;}class tt{[_0x2640a2(0x291)];[_0x2640a2(0x20f)];constructor(_0x25faf2){const _0x511e0b=_0x2640a2;this[_0x511e0b(0x291)]=_0x25faf2,this[_0x511e0b(0x20f)]=new WeakMap();}[_0x2640a2(0x22f)](_0x2c1e77){const _0x301199=_0x2640a2;let _0x5b3141=_0x2c1e77[_0x301199(0x1cc)];for(;_0x5b3141--;){const _0x4fd945=_0x2c1e77[_0x5b3141];if(!this[_0x301199(0x291)][_0x301199(0x2b4)](_0x4fd945)){if(!this[_0x301199(0x20f)][_0x301199(0x2b4)](_0x4fd945)){const _0x2e4e0c=_0x89ac0b()[_0x301199(0x261)](0x1,0x12);this[_0x301199(0x20f)][_0x301199(0x1fa)](_0x4fd945,_0x2e4e0c);}return this[_0x301199(0x20f)][_0x301199(0x203)](_0x4fd945);}}}[_0x2640a2(0x271)](_0x41f8e6,_0x470cd5){const _0x3c5b8d=_0x2640a2;if(!_0x470cd5)return;let _0x5ec21d=_0x41f8e6[_0x3c5b8d(0x1cc)];for(;_0x5ec21d--;){const _0x3aa91c=_0x41f8e6[_0x5ec21d];this[_0x3c5b8d(0x291)][_0x3c5b8d(0x2b4)](_0x3aa91c)||this[_0x3c5b8d(0x20f)][_0x3c5b8d(0x1fa)](_0x3aa91c,_0x470cd5);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x5c6a99=_0x4320;(function(_0x4a3986,_0x187d01){const _0x267b53=_0x4320,_0x4f06e7=_0x4a3986();while(!![]){try{const _0x29b1e6=parseInt(_0x267b53(0x1ea))/0x1*(parseInt(_0x267b53(0x1c8))/0x2)+-parseInt(_0x267b53(0x1f3))/0x3*(parseInt(_0x267b53(0x1d3))/0x4)+-parseInt(_0x267b53(0x1cf))/0x5*(parseInt(_0x267b53(0x1de))/0x6)+parseInt(_0x267b53(0x1d5))/0x7*(-parseInt(_0x267b53(0x1fe))/0x8)+-parseInt(_0x267b53(0x1fc))/0x9*(-parseInt(_0x267b53(0x1dc))/0xa)+-parseInt(_0x267b53(0x1f9))/0xb*(parseInt(_0x267b53(0x1ef))/0xc)+-parseInt(_0x267b53(0x1e1))/0xd*(-parseInt(_0x267b53(0x1ff))/0xe);if(_0x29b1e6===_0x187d01)break;else _0x4f06e7['push'](_0x4f06e7['shift']());}catch(_0x54242a){_0x4f06e7['push'](_0x4f06e7['shift']());}}}(_0x1904,0xf0d9d));import{ContextPlugin as _0x18bed5}from'ckeditor5/src/core.js';import{Collection as _0x1d3140,CKEditorError as _0x177fc3}from'ckeditor5/src/utils.js';import{WebSocketGateway as _0x4cbce8}from'./websocketgateway.js';function _0x1904(){const _0x11551e=['state','delete','10WzGVRV','role','context','register','20nSKwhB','change:state','84iwWfJD','getUserRole','clear','getUser','getUserSessions','sessions-register-already-registered','getUserBySessionId','452890IppiBy','listenTo','857694fRlfxq','get','has','4745AHzCZH','unregister','assign','sessionId','isMe','size','values','_registeredSessions','_users','317WWGsSZ','orderNumber','sessionAdd:','Sessions','isOfficialPlugin','804WtJJZH','plugins','set','add','154533iJbieg','mySessionId','requires','allConnectedUsers','user','_handleSessionAdd','127831HzYitl','isPremiumPlugin','pluginName','153abDlMO','sessions-unregister-not-exist','502696FsjzTP','49238jCgoBg','connected','channelConnectedUsers','_handleSessionRemove','channelSessions','init','forEach','defineMe','remove','addUser','fire','6366HBwnKf','_uniqueUsersCount','stopListening','connection','_createUser'];_0x1904=function(){return _0x11551e;};return _0x1904();}import{Users as _0x129e72}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4320(_0x506e5f,_0x58a4a9){const _0x19047e=_0x1904();return _0x4320=function(_0x432002,_0xb4733){_0x432002=_0x432002-0x1c3;let _0x5fb4d1=_0x19047e[_0x432002];return _0x5fb4d1;},_0x4320(_0x506e5f,_0x58a4a9);}export class Sessions extends _0x18bed5{[_0x5c6a99(0x203)];[_0x5c6a99(0x201)];[_0x5c6a99(0x1f6)];[_0x5c6a99(0x1e8)];[_0x5c6a99(0x1c9)];[_0x5c6a99(0x1e9)];static get[_0x5c6a99(0x1fb)](){const _0x3cfd12=_0x5c6a99;return _0x3cfd12(0x1ed);}static get[_0x5c6a99(0x1ee)](){return!0x0;}static get[_0x5c6a99(0x1fa)](){return!0x0;}static get[_0x5c6a99(0x1f5)](){return[_0x4cbce8,_0x129e72];}constructor(_0x10b41d){const _0x415867=_0x5c6a99;super(_0x10b41d),this[_0x415867(0x203)]=new Map(),this[_0x415867(0x201)]=new Map(),this[_0x415867(0x1f6)]=new _0x1d3140(),this[_0x415867(0x1e8)]=new Map(),this[_0x415867(0x1c9)]=0x0,this[_0x415867(0x1e9)]=this[_0x415867(0x1d1)][_0x415867(0x1f0)][_0x415867(0x1df)](_0x129e72);}[_0x5c6a99(0x204)](){const _0x425ea2=_0x5c6a99,_0x4a6cf9=this[_0x425ea2(0x1d1)][_0x425ea2(0x1f0)][_0x425ea2(0x1df)](_0x4cbce8);this[_0x425ea2(0x1dd)](_0x4a6cf9,_0x425ea2(0x1d4),(_0x1a7b39,_0x53beb6,_0x1c6fc0)=>{const _0x288946=_0x425ea2;if(_0x288946(0x200)!==_0x1c6fc0)this[_0x288946(0x203)][_0x288946(0x1c3)](_0x3dc02b=>_0x3dc02b[_0x288946(0x1d7)]()),this[_0x288946(0x201)][_0x288946(0x1c3)](_0xc33840=>_0xc33840[_0x288946(0x1d7)]()),this[_0x288946(0x1f6)][_0x288946(0x1d7)]();else{for(const [_0x536ce6,_0x1d1e04]of this[_0x288946(0x1e8)])for(const _0x24fbf7 of _0x1d1e04)this[_0x288946(0x1f8)](_0x536ce6,_0x24fbf7);}}),this[_0x425ea2(0x1cc)](_0x4a6cf9[_0x425ea2(0x1cb)]['me'],!0x0);}[_0x5c6a99(0x1d2)](_0x3af151,_0x50e9d1){const _0x81d05d=_0x5c6a99;if(this[_0x81d05d(0x1e8)][_0x81d05d(0x1e0)](_0x3af151))throw new _0x177fc3(_0x81d05d(0x1da),null,{'channelId':_0x3af151});this[_0x81d05d(0x1e8)][_0x81d05d(0x1f1)](_0x3af151,_0x50e9d1),this[_0x81d05d(0x203)][_0x81d05d(0x1f1)](_0x3af151,new _0x1d3140()),this[_0x81d05d(0x201)][_0x81d05d(0x1f1)](_0x3af151,new _0x1d3140()),this[_0x81d05d(0x1dd)](_0x50e9d1,_0x81d05d(0x1f2),(_0x15264c,_0x5d99e9)=>this[_0x81d05d(0x1f8)](_0x3af151,_0x5d99e9)),this[_0x81d05d(0x1dd)](_0x50e9d1,_0x81d05d(0x1c5),(_0x21570d,_0x1ba2b4)=>this[_0x81d05d(0x202)](_0x3af151,_0x1ba2b4));for(const _0x39db34 of _0x50e9d1)this[_0x81d05d(0x1f8)](_0x3af151,_0x39db34);}[_0x5c6a99(0x1e2)](_0x40f65b){const _0x26fde8=_0x5c6a99;if(!this[_0x26fde8(0x1e8)][_0x26fde8(0x1e0)](_0x40f65b))throw new _0x177fc3(_0x26fde8(0x1fd),null,{'channelId':_0x40f65b});const _0x42f41e=this[_0x26fde8(0x1e8)][_0x26fde8(0x1df)](_0x40f65b);this[_0x26fde8(0x1ca)](_0x42f41e);for(const _0x842ae8 of _0x42f41e)_0x26fde8(0x200)===this[_0x26fde8(0x1d1)][_0x26fde8(0x1f0)][_0x26fde8(0x1df)](_0x4cbce8)[_0x26fde8(0x1cd)]&&this[_0x26fde8(0x202)](_0x40f65b,_0x842ae8);this[_0x26fde8(0x1e8)][_0x26fde8(0x1ce)](_0x40f65b),this[_0x26fde8(0x203)][_0x26fde8(0x1ce)](_0x40f65b),this[_0x26fde8(0x201)][_0x26fde8(0x1ce)](_0x40f65b);}get[_0x5c6a99(0x1f4)](){const _0x187959=_0x5c6a99;return this[_0x187959(0x1d1)][_0x187959(0x1f0)][_0x187959(0x1df)](_0x4cbce8)[_0x187959(0x1cb)][_0x187959(0x1e4)];}[_0x5c6a99(0x1db)](_0x44e30b){const _0x1e1786=_0x5c6a99;for(const _0x110350 of this[_0x1e1786(0x203)][_0x1e1786(0x1e7)]())for(const _0x137d54 of _0x110350)if(_0x137d54['id']===_0x44e30b)return _0x137d54[_0x1e1786(0x1f7)];}[_0x5c6a99(0x1d9)](_0xcde19a,_0x19c918){const _0x392e6e=_0x5c6a99,_0xecdfcc=_0x19c918?[this[_0x392e6e(0x203)][_0x392e6e(0x1df)](_0x19c918)]:this[_0x392e6e(0x203)][_0x392e6e(0x1e7)](),_0x2f619e=new Set();for(const _0x1e3393 of _0xecdfcc)for(const _0x4c4c28 of _0x1e3393)_0x4c4c28[_0x392e6e(0x1f7)]['id']===_0xcde19a['id']&&_0x2f619e[_0x392e6e(0x1f2)](_0x4c4c28['id']);return _0x2f619e;}[_0x5c6a99(0x1d6)](_0x570036){const _0x17e37e=_0x5c6a99;for(const _0x8df2f5 of this[_0x17e37e(0x203)][_0x17e37e(0x1e7)]())for(const _0x36f8bc of _0x8df2f5)if(_0x36f8bc[_0x17e37e(0x1f7)]===_0x570036)return _0x36f8bc[_0x17e37e(0x1d0)];}[_0x5c6a99(0x1f8)](_0x3b0624,_0x2cdd8e){const _0x354cd6=_0x5c6a99;if(_0x354cd6(0x200)!==this[_0x354cd6(0x1d1)][_0x354cd6(0x1f0)][_0x354cd6(0x1df)](_0x4cbce8)[_0x354cd6(0x1cd)])return;const _0x366940=_0x2cdd8e[_0x354cd6(0x1f7)],_0x4fb61d=this[_0x354cd6(0x1e9)][_0x354cd6(0x1d8)](_0x366940['id'])||this[_0x354cd6(0x1cc)](_0x366940),_0x53b5e7=Object[_0x354cd6(0x1e3)]({},_0x2cdd8e,{'user':_0x4fb61d});this[_0x354cd6(0x203)][_0x354cd6(0x1df)](_0x3b0624)[_0x354cd6(0x1f2)](_0x53b5e7);const _0x261a5b=this[_0x354cd6(0x201)][_0x354cd6(0x1df)](_0x3b0624);_0x261a5b[_0x354cd6(0x1e0)](_0x4fb61d['id'])||_0x261a5b[_0x354cd6(0x1f2)](_0x4fb61d),this[_0x354cd6(0x1f6)][_0x354cd6(0x1e0)](_0x4fb61d['id'])||this[_0x354cd6(0x1f6)][_0x354cd6(0x1f2)](_0x4fb61d,_0x4fb61d[_0x354cd6(0x1e5)]?0x0:void 0x0),this[_0x354cd6(0x1c7)](_0x354cd6(0x1ec)+_0x3b0624,{'channelId':_0x3b0624,'session':_0x53b5e7});}[_0x5c6a99(0x202)](_0x4309ba,_0x479738){const _0x39fc55=_0x5c6a99;if(_0x39fc55(0x200)!==this[_0x39fc55(0x1d1)][_0x39fc55(0x1f0)][_0x39fc55(0x1df)](_0x4cbce8)[_0x39fc55(0x1cd)])return;const _0x4a0d98=this[_0x39fc55(0x201)][_0x39fc55(0x1df)](_0x4309ba),_0x48150f=_0x479738[_0x39fc55(0x1f7)];_0x48150f['id']&&(this[_0x39fc55(0x203)][_0x39fc55(0x1df)](_0x4309ba)[_0x39fc55(0x1c5)](_0x479738['id']),_0x4a0d98[_0x39fc55(0x1e0)](_0x48150f['id'])&&!this[_0x39fc55(0x1d9)](_0x48150f,_0x4309ba)[_0x39fc55(0x1e6)]&&_0x4a0d98[_0x39fc55(0x1c5)](_0x48150f['id']),this[_0x39fc55(0x1f6)][_0x39fc55(0x1df)](_0x48150f['id'])&&!this[_0x39fc55(0x1d9)](_0x48150f)[_0x39fc55(0x1e6)]&&this[_0x39fc55(0x1f6)][_0x39fc55(0x1c5)](_0x48150f['id']));}[_0x5c6a99(0x1cc)](_0x51d4da,_0x4672d7){const _0x309c78=_0x5c6a99,_0x35338e=this[_0x309c78(0x1e9)][_0x309c78(0x1c6)](_0x51d4da);return _0x4672d7&&this[_0x309c78(0x1e9)][_0x309c78(0x1c4)](_0x51d4da['id']),_0x35338e[_0x309c78(0x1eb)]=this[_0x309c78(0x1c9)]++,_0x35338e;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xa89c7d=_0x1744;(function(_0x34e0ee,_0x2dac8a){const _0x226bc4=_0x1744,_0xce1d05=_0x34e0ee();while(!![]){try{const _0x291519=parseInt(_0x226bc4(0x101))/0x1+-parseInt(_0x226bc4(0x124))/0x2*(parseInt(_0x226bc4(0xd9))/0x3)+parseInt(_0x226bc4(0xcb))/0x4+-parseInt(_0x226bc4(0xfc))/0x5+parseInt(_0x226bc4(0xd2))/0x6+parseInt(_0x226bc4(0xf9))/0x7*(-parseInt(_0x226bc4(0x147))/0x8)+parseInt(_0x226bc4(0x12c))/0x9;if(_0x291519===_0x2dac8a)break;else _0xce1d05['push'](_0xce1d05['shift']());}catch(_0x5e08b2){_0xce1d05['push'](_0xce1d05['shift']());}}}(_0xc3cb,0xe5d80));import{Plugin as _0x388000}from'ckeditor5/src/core.js';function _0x1744(_0x5714b3,_0x23159){const _0xc3cb16=_0xc3cb();return _0x1744=function(_0x17446,_0x55a0a3){_0x17446=_0x17446-0xbf;let _0x4559b5=_0xc3cb16[_0x17446];return _0x4559b5;},_0x1744(_0x5714b3,_0x23159);}import{global as _0x41b905,DomEmitterMixin as _0x308af3}from'ckeditor5/src/utils.js';import{Sessions as _0x510e40}from'./sessions.js';import{ModelLiveRange as _0x326467}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export class UserMarkers extends _0x388000{[_0xa89c7d(0x11c)]=new(_0x308af3())();static get[_0xa89c7d(0x105)](){return[_0x510e40];}static get[_0xa89c7d(0xbf)](){const _0x3a503f=_0xa89c7d;return _0x3a503f(0x13a);}static get[_0xa89c7d(0x121)](){return!0x0;}static get[_0xa89c7d(0xd1)](){return!0x0;}[_0xa89c7d(0xc4)](){const _0x4bd8c9=_0xa89c7d,_0x263c5c=this[_0x4bd8c9(0x13f)],_0x307cae=_0x263c5c[_0x4bd8c9(0x115)][_0x4bd8c9(0xf4)](_0x510e40);_0x263c5c[_0x4bd8c9(0x130)][_0x4bd8c9(0x114)](_0x4bd8c9(0x110))[_0x4bd8c9(0x123)]({'model':_0x4bd8c9(0x134),'view':(_0x1e5b74,{writer:_0x4631b3})=>function(_0x59a166,_0x2c7524,_0x1e19df,_0x3867d2){const _0x4ee4bd=_0x4bd8c9,_0x39840b=_0x59a166[_0x4ee4bd(0x128)][_0x4ee4bd(0xfa)](':')[0x2],_0x14d724=_0x1e19df[_0x4ee4bd(0xe8)](_0x39840b);if(!_0x14d724||_0x39840b===_0x1e19df[_0x4ee4bd(0xf5)])return;if(!_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xf1)][_0x4ee4bd(0xd0)](_0x59a166[_0x4ee4bd(0x12a)][_0x4ee4bd(0x103)],_0x4ee4bd(0xef)))return;const _0x303d1f={'class':_0x4ee4bd(0xe5)+_0x14d724[_0x4ee4bd(0xe7)][_0x4ee4bd(0x12e)](),'data-name':_0x14d724[_0x4ee4bd(0x148)],'data-session-id':_0x39840b},_0x1bcb9e=_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0x120)][_0x4ee4bd(0xf4)](_0x59a166[_0x4ee4bd(0x128)]),_0x140894=_0x1bcb9e[_0x4ee4bd(0xed)](),_0x17f8fd=_0x140894[_0x4ee4bd(0xd5)],_0xa104d7=_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xf1)];if(_0x17f8fd&&_0xa104d7[_0x4ee4bd(0x126)](_0x17f8fd)&&_0xa104d7[_0x4ee4bd(0x131)](_0x17f8fd)&&!_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0x120)][_0x4ee4bd(0xf4)](_0x4ee4bd(0x138)+_0x39840b)[_0x4ee4bd(0xc5)]()[_0x4ee4bd(0x111)])return;const _0x454873=_0x140894[_0x4ee4bd(0xde)];return _0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xf1)][_0x4ee4bd(0xc3)](_0x454873)&&!_0x3867d2[_0x4ee4bd(0x129)][_0x4ee4bd(0xc8)](_0x454873)&&(_0x303d1f[_0x4ee4bd(0xc0)]=!0x1),function(_0x78cfe6,_0x52008d,_0x416f10){const _0x6f5953=_0x4ee4bd,_0x334d93=_0x78cfe6[_0x6f5953(0x102)](_0x6f5953(0x10e),_0x52008d);return _0x78cfe6[_0x6f5953(0xee)](_0x6f5953(0xe0),!0x0,_0x334d93),_0x334d93[_0x6f5953(0x113)]=function(_0x25559f){const _0x462f79=_0x6f5953,_0x58b572=this[_0x462f79(0xeb)](_0x25559f),_0x421a08=document[_0x462f79(0x104)](_0x462f79(0x10e));return _0x421a08[_0x462f79(0x122)][_0x462f79(0x136)](_0x462f79(0xdc)),_0x421a08[_0x462f79(0x125)](_0x462f79(0xc0),_0x462f79(0xe4)),_0x421a08[_0x462f79(0x125)](_0x462f79(0xfe),_0x462f79(0xe4)),_0x421a08[_0x462f79(0xc7)]=_0x416f10[_0x462f79(0x148)],_0x58b572[_0x462f79(0x11a)]=_0x462f79(0xda)+_0x421a08[_0x462f79(0x117)]+'',_0x58b572[_0x462f79(0xcd)](_0x462f79(0xf0),()=>{const _0x59d760=_0x462f79;_0x58b572[_0x59d760(0x122)][_0x59d760(0x136)](_0x59d760(0xe1));}),_0x58b572[_0x462f79(0xcd)](_0x462f79(0xe3),()=>{const _0x5f5a95=_0x462f79;_0x58b572[_0x5f5a95(0x122)][_0x5f5a95(0xc6)](_0x5f5a95(0xe1));}),_0x58b572;},_0x334d93[_0x6f5953(0xf6)]=function(_0x5063cb){const _0x997dad=_0x6f5953;return!(!this[_0x997dad(0x12f)](_0x997dad(0xe0))||!_0x5063cb[_0x997dad(0x12f)](_0x997dad(0xe0))||this[_0x997dad(0x145)](_0x997dad(0x13d))!=_0x5063cb[_0x997dad(0x145)](_0x997dad(0x13d)));},_0x334d93;}(_0x2c7524,_0x303d1f,_0x14d724);}(_0x1e5b74,_0x4631b3,_0x307cae,_0x263c5c)}),_0x263c5c[_0x4bd8c9(0x130)][_0x4bd8c9(0x114)](_0x4bd8c9(0x110))[_0x4bd8c9(0xd4)]({'model':_0x4bd8c9(0xcf),'view':_0x7b1f5f=>function(_0x53fd42,_0x53bb88){const _0x2c9e79=_0x4bd8c9,_0x18b041=_0x53fd42[_0x2c9e79(0x128)][_0x2c9e79(0xfa)](':')[0x2];if(_0x18b041===_0x53bb88[_0x2c9e79(0xf5)])return null;const _0x18ea34=_0x53bb88[_0x2c9e79(0xe8)](_0x18b041);if(!_0x18ea34)return{'id':_0x18b041,'classes':[]};return{'id':_0x18b041,'classes':[_0x2c9e79(0x139),_0x18ea34[_0x2c9e79(0xe7)][_0x2c9e79(0x112)]()],'attributes':{'data-session-id':_0x18b041},'priority':0x7d0+_0x18ea34[_0x2c9e79(0x146)]};}(_0x7b1f5f,_0x307cae)}),function(_0x2a3609){const _0x3329f8=_0x4bd8c9,_0x2042f6=_0x2a3609[_0x3329f8(0x129)],_0x2af273=new Map(),_0x70262f=_0x2a3609[_0x3329f8(0x115)][_0x3329f8(0xf4)](_0x510e40);_0x2042f6[_0x3329f8(0x120)]['on'](_0x3329f8(0x10a),(_0x13faf7,_0x2446ef,_0x3278eb,_0x2b6596)=>{const _0x5d0b51=_0x3329f8;if(!_0x2b6596&&_0x2af273[_0x5d0b51(0xf4)](_0x2446ef[_0x5d0b51(0x148)]))return _0x2af273[_0x5d0b51(0xf4)](_0x2446ef[_0x5d0b51(0x148)])[_0x5d0b51(0xdd)](),void _0x2af273[_0x5d0b51(0x13c)](_0x2446ef[_0x5d0b51(0x148)]);const _0x389edc=_0x2446ef[_0x5d0b51(0x148)][_0x5d0b51(0xfa)](':')[0x2];if(_0x389edc===_0x70262f[_0x5d0b51(0xf5)])return;const _0x3fd72c=_0x5d0b51(0xd7)+_0x389edc;_0x2042f6[_0x5d0b51(0x120)][_0x5d0b51(0x140)](_0x3fd72c)&&_0x2a3609[_0x5d0b51(0x10b)][_0x5d0b51(0xd3)](_0x3fd72c),_0x2446ef['on'](_0x5d0b51(0x10c),(_0x17698c,_0x4627d2,_0x44ca3f)=>{const _0x1b4e73=_0x5d0b51;if(_0x1b4e73(0xf8)!=_0x4627d2[_0x1b4e73(0xe9)][_0x1b4e73(0xdb)]&&_0x1b4e73(0xf8)==_0x2446ef[_0x1b4e73(0xc5)]()[_0x1b4e73(0xe9)][_0x1b4e73(0xdb)]&&!_0x2af273[_0x1b4e73(0x140)](_0x2446ef[_0x1b4e73(0x148)])){const _0x3b1f56=_0x2042f6[_0x1b4e73(0xf1)][_0x1b4e73(0x142)](_0x44ca3f[_0x1b4e73(0x106)]);if(_0x3b1f56){const _0x17608d=_0x326467[_0x1b4e73(0xfb)](_0x3b1f56);_0x2af273[_0x1b4e73(0xff)](_0x2446ef[_0x1b4e73(0x148)],_0x17608d),_0x17608d['on'](_0x1b4e73(0x10c),(_0x5dac96,_0x2b85de,_0x549d64)=>{const _0x13c4a1=_0x1b4e73;if(_0x13c4a1(0xf8)==_0x17608d[_0x13c4a1(0xe9)][_0x13c4a1(0xdb)]){const _0x1ba4b3=_0x2042f6[_0x13c4a1(0xf1)][_0x13c4a1(0x142)](_0x549d64[_0x13c4a1(0x106)]);_0x1ba4b3?(_0x17608d[_0x13c4a1(0x103)]=_0x1ba4b3[_0x13c4a1(0x103)],_0x17608d[_0x13c4a1(0xec)]=_0x1ba4b3[_0x13c4a1(0xec)]):(_0x2af273[_0x13c4a1(0x13c)](_0x2446ef[_0x13c4a1(0x148)]),_0x17608d[_0x13c4a1(0xdd)]());}});}}});}),_0x2042f6[_0x3329f8(0x132)]['on'](_0x3329f8(0x11f),()=>{const _0x1bc20a=_0x3329f8;_0x2af273[_0x1bc20a(0x141)]>0x0&&_0x2042f6[_0x1bc20a(0x135)]({'isUndoable':!0x1},_0x4d1616=>{const _0x414172=_0x1bc20a;for(const [_0x4d74bf,_0x62151d]of _0x2af273)_0x414172(0xf8)==_0x2042f6[_0x414172(0x120)][_0x414172(0xf4)](_0x4d74bf)[_0x414172(0xc5)]()[_0x414172(0xe9)][_0x414172(0xdb)]&&(te(_0x4d74bf[_0x414172(0xfa)](':')[0x2],_0x62151d[_0x414172(0xea)](),_0x2042f6,_0x4d1616),_0x62151d[_0x414172(0xdd)]());_0x2af273[_0x414172(0xf3)]();});});}(_0x263c5c),this[_0x4bd8c9(0x11c)][_0x4bd8c9(0x11e)](_0x41b905[_0x4bd8c9(0x132)],_0x4bd8c9(0x13e),(_0x1a63ee,{key:_0x3b9c62})=>{const _0x2f69d8=_0x4bd8c9;_0x2f69d8(0xe6)===_0x3b9c62&&function(_0x346513){const _0x6d0ea8=_0x2f69d8;_0x346513[_0x6d0ea8(0x10b)][_0x6d0ea8(0x116)][_0x6d0ea8(0x11f)](_0x3cffb0=>{const _0x404ef8=_0x6d0ea8;for(const _0x2e3784 of _0x346513[_0x404ef8(0x129)][_0x404ef8(0x120)]){if(!_0x2e3784[_0x404ef8(0x148)][_0x404ef8(0x11b)](_0x404ef8(0x134)))continue;const _0xef4dd7=_0x346513[_0x404ef8(0x10b)][_0x404ef8(0x137)][_0x404ef8(0x109)](_0x2e3784[_0x404ef8(0x148)]);if(_0xef4dd7){for(const _0xef8719 of _0xef4dd7)_0x3cffb0[_0x404ef8(0xc2)](_0x404ef8(0xe1),_0xef8719);}}});}(_0x263c5c);},{'useCapture':!0x0});}[_0xa89c7d(0x12b)](){const _0x1d8fc6=_0xa89c7d,_0x49a350=this[_0x1d8fc6(0x13f)],_0x2bd4f9=_0x49a350[_0x1d8fc6(0xc9)][_0x1d8fc6(0xf4)](_0x1d8fc6(0x10f));_0x2bd4f9&&_0x49a350[_0x1d8fc6(0x129)]['on'](_0x1d8fc6(0xdf),(_0x201854,_0x1a826f)=>{const _0x56b5b1=_0x1d8fc6,_0x71ab7=_0x1a826f[0x0];if(!_0x71ab7[_0x56b5b1(0x119)])return;if(_0x56b5b1(0x118)!=_0x71ab7[_0x56b5b1(0x133)]||!_0x71ab7[_0x56b5b1(0x148)][_0x56b5b1(0x11b)](_0x56b5b1(0x11d)))return;const _0xb60487=_0x71ab7[_0x56b5b1(0x13b)];_0x2bd4f9[_0x56b5b1(0x143)][_0x56b5b1(0x140)](_0xb60487)&&(_0x71ab7[_0x56b5b1(0xc1)]=_0x71ab7[_0x56b5b1(0xfd)]?_0x49a350[_0x56b5b1(0x129)][_0x56b5b1(0xcc)](_0x71ab7[_0x56b5b1(0xfd)][_0x56b5b1(0x103)],_0x71ab7[_0x56b5b1(0xfd)][_0x56b5b1(0xec)]):null);},{'priority':_0x1d8fc6(0xf7)});}[_0xa89c7d(0xce)](){const _0x58a83e=_0xa89c7d;return this[_0x58a83e(0x11c)][_0x58a83e(0xd8)](),super[_0x58a83e(0xce)]();}[_0xa89c7d(0x144)](){const _0x2111a3=_0xa89c7d,_0x465a23=this[_0x2111a3(0x13f)],_0x44ee09=_0x465a23[_0x2111a3(0x129)][_0x2111a3(0x132)],_0xaf5033=_0x465a23[_0x2111a3(0x115)][_0x2111a3(0xf4)](_0x510e40);_0x465a23[_0x2111a3(0x129)][_0x2111a3(0x135)]({'isUndoable':!0x1},_0x5560b0=>{const _0x5224f0=_0x2111a3,_0x279c80=_0x5224f0(0x138)+_0xaf5033[_0x5224f0(0xf5)],_0x3859ed=_0x5224f0(0xd7)+_0xaf5033[_0x5224f0(0xf5)],_0x1b2313=_0x465a23[_0x5224f0(0x129)][_0x5224f0(0x120)][_0x5224f0(0x140)](_0x279c80);_0x465a23[_0x5224f0(0x10b)][_0x5224f0(0x116)][_0x5224f0(0x107)]?te(_0xaf5033[_0x5224f0(0xf5)],_0x44ee09[_0x5224f0(0x100)][_0x5224f0(0xd6)](),_0x465a23[_0x5224f0(0x129)],_0x5560b0):_0x1b2313&&(_0x5560b0[_0x5224f0(0x10d)](_0x279c80),_0x5560b0[_0x5224f0(0x10d)](_0x3859ed));});}}function te(_0x59b1c1,_0x31709f,_0x48b4ab,_0x164c0f){const _0x5961a7=_0xa89c7d,_0x214948=_0x5961a7(0x138)+_0x59b1c1,_0x5abba4=_0x5961a7(0xd7)+_0x59b1c1,_0x307256=_0x31709f[_0x5961a7(0x12d)]();let _0x20ff55=_0x31709f[_0x5961a7(0x103)];if(_0x307256&&_0x307256['is'](_0x5961a7(0x127),_0x5961a7(0xf2))){const _0x576b24=function(_0x30204a,_0x329b26){const _0x2fac10=_0x5961a7;for(const _0x1ede42 of _0x30204a[_0x2fac10(0x108)]())if(_0x329b26[_0x2fac10(0xf1)][_0x2fac10(0xd0)](_0x1ede42,_0x2fac10(0xef)))return _0x1ede42;}(_0x31709f,_0x48b4ab);_0x576b24&&(_0x20ff55=_0x576b24,_0x31709f=_0x164c0f[_0x5961a7(0xcc)](_0x20ff55));}const _0x12dd43=_0x164c0f[_0x5961a7(0xcc)](_0x20ff55);_0x48b4ab[_0x5961a7(0x120)][_0x5961a7(0x140)](_0x214948)?(_0x164c0f[_0x5961a7(0xca)](_0x214948,{'range':_0x31709f}),_0x164c0f[_0x5961a7(0xca)](_0x5abba4,{'range':_0x12dd43})):(_0x164c0f[_0x5961a7(0xe2)](_0x214948,{'range':_0x31709f,'usingOperation':!0x0}),_0x164c0f[_0x5961a7(0xe2)](_0x5abba4,{'range':_0x12dd43,'usingOperation':!0x0}));}function _0xc3cb(){const _0x21ebf5=['createUserMarkerOperations','getAttribute','orderNumber','605784RDleWm','name','pluginName','contenteditable','newRange','removeClass','isLimit','init','getRange','remove','textContent','hasContent','commands','updateMarker','6187364CDlpif','createRange','addEventListener','destroy','user:range','checkChild','isPremiumPlugin','6945360wuJpoa','reconvertMarker','markerToHighlight','nodeAfter','getFirstRange','user:position:','stopListening','392529VcGcFf','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','rootName','ck-user__marker-tooltip','detach','parent','applyOperation','userPositionMarker','ck-user__marker_hovered','addMarker','mouseleave','false','ck-user__marker\x20','Escape','color','getUserBySessionId','root','toRange','toDomElement','end','getStart','setCustomProperty','$text','mouseenter','schema','tableCell','clear','get','mySessionId','isSimilar','highest','$graveyard','91dgZQfL','split','fromRange','3881865KZTGnl','oldRange','spellcheck','set','selection','802703uoKYIx','createUIElement','start','createElement','requires','deletionPosition','hasDomSelection','getPositions','markerNameToElements','update:user:range','editing','change:range','removeMarker','span','undo','editingDowncast','isCollapsed','getSelectionClass','render','for','plugins','view','outerHTML','marker','isDocumentOperation','innerHTML','startsWith','_domEmitter','user:','listenTo','change','markers','isOfficialPlugin','classList','markerToElement','18KJpcdS','setAttribute','isObject','element','markerName','model','markerRange','afterInit','3354255xILfGJ','getContainedElement','getMarkerClass','getCustomProperty','conversion','isInline','document','type','user:position','enqueueChange','add','mapper','user:range:','ck-user__selection','UserMarkers','batch','delete','data-session-id','keydown','editor','has','size','getNearestSelectionRange','_createdBatches'];_0xc3cb=function(){return _0x21ebf5;};return _0xc3cb();}
|
|
23
|
+
const _0xf5afab=_0x5ec9;(function(_0x27a889,_0x1fcceb){const _0x184804=_0x5ec9,_0x3d396a=_0x27a889();while(!![]){try{const _0x1ad1e2=parseInt(_0x184804(0x1bd))/0x1+-parseInt(_0x184804(0x18d))/0x2*(parseInt(_0x184804(0x197))/0x3)+parseInt(_0x184804(0x15e))/0x4+-parseInt(_0x184804(0x1cc))/0x5+-parseInt(_0x184804(0x1b7))/0x6*(parseInt(_0x184804(0x1e0))/0x7)+-parseInt(_0x184804(0x1d7))/0x8+parseInt(_0x184804(0x180))/0x9;if(_0x1ad1e2===_0x1fcceb)break;else _0x3d396a['push'](_0x3d396a['shift']());}catch(_0x3a52b7){_0x3d396a['push'](_0x3d396a['shift']());}}}(_0x5e01,0x29c58));import{Plugin as _0x3cf826}from'ckeditor5/src/core.js';function _0x5ec9(_0x536d73,_0xb99659){const _0x5e01d3=_0x5e01();return _0x5ec9=function(_0x5ec950,_0x20aeb2){_0x5ec950=_0x5ec950-0x15d;let _0x4390f8=_0x5e01d3[_0x5ec950];return _0x4390f8;},_0x5ec9(_0x536d73,_0xb99659);}import{global as _0x249b0c,DomEmitterMixin as _0x567d66}from'ckeditor5/src/utils.js';import{Sessions as _0x16a1dc}from'./sessions.js';import{ModelLiveRange as _0x1fb8b8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';function _0x5e01(){const _0xbf6dd4=['3159000LfisjA','getSelectionClass','user:position','getNearestSelectionRange','get','getStart','detach','editing','listenTo','update:user:range','enqueueChange','name','selection','10jIovcJ','markerNameToElements','start','split','user:range:','conversion','schema','getUserBySessionId','Escape','marker','59016yaVwsg','getPositions','createUIElement','document','$graveyard','init','userPositionMarker','markerToHighlight','keydown','getMarkerClass','$text','markerName','delete','view','span','isSimilar','newRange','markers','outerHTML','hasContent','size','tableCell','startsWith','getRange','createElement','add','remove','ck-user__selection','pluginName','editor','ck-user__marker-tooltip','isLimit','1146sckkPD','stopListening','ck-user__marker_hovered','parent','nodeAfter','toDomElement','130029ODxYVO','destroy','false','setCustomProperty','change','fromRange','removeClass','data-session-id','undo','mySessionId','oldRange','isDocumentOperation','isOfficialPlugin','setAttribute','isObject','813115KqsuqC','render','UserMarkers','isInline','getCustomProperty','plugins','user:range','_createdBatches','contenteditable','type','spellcheck','1659296uEwXsv','requires','addEventListener','highest','for','reconvertMarker','createUserMarkerOperations','commands','innerHTML','5733iaIFlF','user:position:','createRange','removeMarker','model','checkChild','afterInit','getFirstRange','1259564MtPtDY','getContainedElement','deletionPosition','editingDowncast','mouseenter','batch','rootName','updateMarker','mapper','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','ck-user__marker\x20','addMarker','color','root','user:','isCollapsed','orderNumber','end','_domEmitter','classList','textContent','markerToElement','change:range','hasDomSelection','clear','markerRange','toRange','mouseleave','applyOperation','set','isPremiumPlugin','has','getAttribute','element'];_0x5e01=function(){return _0xbf6dd4;};return _0x5e01();}export class UserMarkers extends _0x3cf826{[_0xf5afab(0x170)]=new(_0x567d66())();static get[_0xf5afab(0x1d8)](){return[_0x16a1dc];}static get[_0xf5afab(0x1b3)](){const _0x48a6b4=_0xf5afab;return _0x48a6b4(0x1ce);}static get[_0xf5afab(0x1c9)](){return!0x0;}static get[_0xf5afab(0x17c)](){return!0x0;}[_0xf5afab(0x19c)](){const _0x59a892=_0xf5afab,_0x19b428=this[_0x59a892(0x1b4)],_0x3bcbcf=_0x19b428[_0x59a892(0x1d1)][_0x59a892(0x184)](_0x16a1dc);_0x19b428[_0x59a892(0x192)][_0x59a892(0x1db)](_0x59a892(0x161))[_0x59a892(0x173)]({'model':_0x59a892(0x182),'view':(_0x4b3d71,{writer:_0x387d53})=>function(_0x976718,_0x47ac53,_0x2a40b1,_0x94485){const _0x55816b=_0x59a892,_0x17714a=_0x976718[_0x55816b(0x1a2)][_0x55816b(0x190)](':')[0x2],_0x5ae971=_0x2a40b1[_0x55816b(0x194)](_0x17714a);if(!_0x5ae971||_0x17714a===_0x2a40b1[_0x55816b(0x1c6)])return;if(!_0x94485[_0x55816b(0x1e4)][_0x55816b(0x193)][_0x55816b(0x1e5)](_0x976718[_0x55816b(0x177)][_0x55816b(0x18f)],_0x55816b(0x1a1)))return;const _0x93a199={'class':_0x55816b(0x168)+_0x5ae971[_0x55816b(0x16a)][_0x55816b(0x1a0)](),'data-name':_0x5ae971[_0x55816b(0x18b)],'data-session-id':_0x17714a},_0x30527a=_0x94485[_0x55816b(0x1e4)][_0x55816b(0x1a8)][_0x55816b(0x184)](_0x976718[_0x55816b(0x1a2)]),_0x5c1e87=_0x30527a[_0x55816b(0x185)](),_0x8d2a9=_0x5c1e87[_0x55816b(0x1bb)],_0x13a27a=_0x94485[_0x55816b(0x1e4)][_0x55816b(0x193)];if(_0x8d2a9&&_0x13a27a[_0x55816b(0x1cb)](_0x8d2a9)&&_0x13a27a[_0x55816b(0x1cf)](_0x8d2a9)&&!_0x94485[_0x55816b(0x1e4)][_0x55816b(0x1a8)][_0x55816b(0x184)](_0x55816b(0x191)+_0x17714a)[_0x55816b(0x1ae)]()[_0x55816b(0x16d)])return;const _0x2314ed=_0x5c1e87[_0x55816b(0x1ba)];return _0x94485[_0x55816b(0x1e4)][_0x55816b(0x193)][_0x55816b(0x1b6)](_0x2314ed)&&!_0x94485[_0x55816b(0x1e4)][_0x55816b(0x1aa)](_0x2314ed)&&(_0x93a199[_0x55816b(0x1d4)]=!0x1),function(_0x14a310,_0x41961,_0xfe0d60){const _0x4b0fc6=_0x55816b,_0x4ac02d=_0x14a310[_0x4b0fc6(0x199)](_0x4b0fc6(0x1a5),_0x41961);return _0x14a310[_0x4b0fc6(0x1c0)](_0x4b0fc6(0x19d),!0x0,_0x4ac02d),_0x4ac02d[_0x4b0fc6(0x1cd)]=function(_0x3e76dd){const _0x2d5328=_0x4b0fc6,_0xd4ed7e=this[_0x2d5328(0x1bc)](_0x3e76dd),_0x422f29=document[_0x2d5328(0x1af)](_0x2d5328(0x1a5));return _0x422f29[_0x2d5328(0x171)][_0x2d5328(0x1b0)](_0x2d5328(0x1b5)),_0x422f29[_0x2d5328(0x1ca)](_0x2d5328(0x1d4),_0x2d5328(0x1bf)),_0x422f29[_0x2d5328(0x1ca)](_0x2d5328(0x1d6),_0x2d5328(0x1bf)),_0x422f29[_0x2d5328(0x172)]=_0xfe0d60[_0x2d5328(0x18b)],_0xd4ed7e[_0x2d5328(0x1df)]=_0x2d5328(0x167)+_0x422f29[_0x2d5328(0x1a9)]+'',_0xd4ed7e[_0x2d5328(0x1d9)](_0x2d5328(0x162),()=>{const _0x46827c=_0x2d5328;_0xd4ed7e[_0x46827c(0x171)][_0x46827c(0x1b0)](_0x46827c(0x1b9));}),_0xd4ed7e[_0x2d5328(0x1d9)](_0x2d5328(0x179),()=>{const _0x223731=_0x2d5328;_0xd4ed7e[_0x223731(0x171)][_0x223731(0x1b1)](_0x223731(0x1b9));}),_0xd4ed7e;},_0x4ac02d[_0x4b0fc6(0x1a6)]=function(_0x62c2f0){const _0x1f54a9=_0x4b0fc6;return!(!this[_0x1f54a9(0x1d0)](_0x1f54a9(0x19d))||!_0x62c2f0[_0x1f54a9(0x1d0)](_0x1f54a9(0x19d))||this[_0x1f54a9(0x17e)](_0x1f54a9(0x1c4))!=_0x62c2f0[_0x1f54a9(0x17e)](_0x1f54a9(0x1c4)));},_0x4ac02d;}(_0x47ac53,_0x93a199,_0x5ae971);}(_0x4b3d71,_0x387d53,_0x3bcbcf,_0x19b428)}),_0x19b428[_0x59a892(0x192)][_0x59a892(0x1db)](_0x59a892(0x161))[_0x59a892(0x19e)]({'model':_0x59a892(0x1d2),'view':_0x1ce939=>function(_0x38921e,_0x1aa694){const _0x3a82f2=_0x59a892,_0x1777ed=_0x38921e[_0x3a82f2(0x1a2)][_0x3a82f2(0x190)](':')[0x2];if(_0x1777ed===_0x1aa694[_0x3a82f2(0x1c6)])return null;const _0x48c4ce=_0x1aa694[_0x3a82f2(0x194)](_0x1777ed);if(!_0x48c4ce)return{'id':_0x1777ed,'classes':[]};return{'id':_0x1777ed,'classes':[_0x3a82f2(0x1b2),_0x48c4ce[_0x3a82f2(0x16a)][_0x3a82f2(0x181)]()],'attributes':{'data-session-id':_0x1777ed},'priority':0x7d0+_0x48c4ce[_0x3a82f2(0x16e)]};}(_0x1ce939,_0x3bcbcf)}),function(_0x2f2845){const _0x4af11c=_0x59a892,_0x18b9c8=_0x2f2845[_0x4af11c(0x1e4)],_0x25bda2=new Map(),_0x532054=_0x2f2845[_0x4af11c(0x1d1)][_0x4af11c(0x184)](_0x16a1dc);_0x18b9c8[_0x4af11c(0x1a8)]['on'](_0x4af11c(0x189),(_0xc5de28,_0x5cf9d8,_0x15eec6,_0x5d8477)=>{const _0x5c7a9c=_0x4af11c;if(!_0x5d8477&&_0x25bda2[_0x5c7a9c(0x184)](_0x5cf9d8[_0x5c7a9c(0x18b)]))return _0x25bda2[_0x5c7a9c(0x184)](_0x5cf9d8[_0x5c7a9c(0x18b)])[_0x5c7a9c(0x186)](),void _0x25bda2[_0x5c7a9c(0x1a3)](_0x5cf9d8[_0x5c7a9c(0x18b)]);const _0x268e99=_0x5cf9d8[_0x5c7a9c(0x18b)][_0x5c7a9c(0x190)](':')[0x2];if(_0x268e99===_0x532054[_0x5c7a9c(0x1c6)])return;const _0x82131=_0x5c7a9c(0x1e1)+_0x268e99;_0x18b9c8[_0x5c7a9c(0x1a8)][_0x5c7a9c(0x17d)](_0x82131)&&_0x2f2845[_0x5c7a9c(0x187)][_0x5c7a9c(0x1dc)](_0x82131),_0x5cf9d8['on'](_0x5c7a9c(0x174),(_0x702121,_0xd97fb0,_0x46ab68)=>{const _0x4ba3f9=_0x5c7a9c;if(_0x4ba3f9(0x19b)!=_0xd97fb0[_0x4ba3f9(0x16b)][_0x4ba3f9(0x164)]&&_0x4ba3f9(0x19b)==_0x5cf9d8[_0x4ba3f9(0x1ae)]()[_0x4ba3f9(0x16b)][_0x4ba3f9(0x164)]&&!_0x25bda2[_0x4ba3f9(0x17d)](_0x5cf9d8[_0x4ba3f9(0x18b)])){const _0x68faf7=_0x18b9c8[_0x4ba3f9(0x193)][_0x4ba3f9(0x183)](_0x46ab68[_0x4ba3f9(0x160)]);if(_0x68faf7){const _0x451615=_0x1fb8b8[_0x4ba3f9(0x1c2)](_0x68faf7);_0x25bda2[_0x4ba3f9(0x17b)](_0x5cf9d8[_0x4ba3f9(0x18b)],_0x451615),_0x451615['on'](_0x4ba3f9(0x174),(_0x5e2d72,_0xe5b41,_0x7a82cd)=>{const _0x5c2659=_0x4ba3f9;if(_0x5c2659(0x19b)==_0x451615[_0x5c2659(0x16b)][_0x5c2659(0x164)]){const _0x4b0ebd=_0x18b9c8[_0x5c2659(0x193)][_0x5c2659(0x183)](_0x7a82cd[_0x5c2659(0x160)]);_0x4b0ebd?(_0x451615[_0x5c2659(0x18f)]=_0x4b0ebd[_0x5c2659(0x18f)],_0x451615[_0x5c2659(0x16f)]=_0x4b0ebd[_0x5c2659(0x16f)]):(_0x25bda2[_0x5c2659(0x1a3)](_0x5cf9d8[_0x5c2659(0x18b)]),_0x451615[_0x5c2659(0x186)]());}});}}});}),_0x18b9c8[_0x4af11c(0x19a)]['on'](_0x4af11c(0x1c1),()=>{const _0x433d24=_0x4af11c;_0x25bda2[_0x433d24(0x1ab)]>0x0&&_0x18b9c8[_0x433d24(0x18a)]({'isUndoable':!0x1},_0x26be88=>{const _0x5b5ec6=_0x433d24;for(const [_0x3f3799,_0x32814d]of _0x25bda2)_0x5b5ec6(0x19b)==_0x18b9c8[_0x5b5ec6(0x1a8)][_0x5b5ec6(0x184)](_0x3f3799)[_0x5b5ec6(0x1ae)]()[_0x5b5ec6(0x16b)][_0x5b5ec6(0x164)]&&(te(_0x3f3799[_0x5b5ec6(0x190)](':')[0x2],_0x32814d[_0x5b5ec6(0x178)](),_0x18b9c8,_0x26be88),_0x32814d[_0x5b5ec6(0x186)]());_0x25bda2[_0x5b5ec6(0x176)]();});});}(_0x19b428),this[_0x59a892(0x170)][_0x59a892(0x188)](_0x249b0c[_0x59a892(0x19a)],_0x59a892(0x19f),(_0x126f5c,{key:_0x1a1551})=>{const _0x89881f=_0x59a892;_0x89881f(0x195)===_0x1a1551&&function(_0x74645f){const _0x5aa1f1=_0x89881f;_0x74645f[_0x5aa1f1(0x187)][_0x5aa1f1(0x1a4)][_0x5aa1f1(0x1c1)](_0x2a5fe9=>{const _0x46eb3c=_0x5aa1f1;for(const _0x4a1c19 of _0x74645f[_0x46eb3c(0x1e4)][_0x46eb3c(0x1a8)]){if(!_0x4a1c19[_0x46eb3c(0x18b)][_0x46eb3c(0x1ad)](_0x46eb3c(0x182)))continue;const _0x3e7c2e=_0x74645f[_0x46eb3c(0x187)][_0x46eb3c(0x166)][_0x46eb3c(0x18e)](_0x4a1c19[_0x46eb3c(0x18b)]);if(_0x3e7c2e){for(const _0x286ade of _0x3e7c2e)_0x2a5fe9[_0x46eb3c(0x1c3)](_0x46eb3c(0x1b9),_0x286ade);}}});}(_0x19b428);},{'useCapture':!0x0});}[_0xf5afab(0x1e6)](){const _0x3d276f=_0xf5afab,_0x5c24e6=this[_0x3d276f(0x1b4)],_0x58a569=_0x5c24e6[_0x3d276f(0x1de)][_0x3d276f(0x184)](_0x3d276f(0x1c5));_0x58a569&&_0x5c24e6[_0x3d276f(0x1e4)]['on'](_0x3d276f(0x17a),(_0x81cfb5,_0x4935bd)=>{const _0x39e28a=_0x3d276f,_0x495f38=_0x4935bd[0x0];if(!_0x495f38[_0x39e28a(0x1c8)])return;if(_0x39e28a(0x196)!=_0x495f38[_0x39e28a(0x1d5)]||!_0x495f38[_0x39e28a(0x18b)][_0x39e28a(0x1ad)](_0x39e28a(0x16c)))return;const _0x113149=_0x495f38[_0x39e28a(0x163)];_0x58a569[_0x39e28a(0x1d3)][_0x39e28a(0x17d)](_0x113149)&&(_0x495f38[_0x39e28a(0x1a7)]=_0x495f38[_0x39e28a(0x1c7)]?_0x5c24e6[_0x39e28a(0x1e4)][_0x39e28a(0x1e2)](_0x495f38[_0x39e28a(0x1c7)][_0x39e28a(0x18f)],_0x495f38[_0x39e28a(0x1c7)][_0x39e28a(0x16f)]):null);},{'priority':_0x3d276f(0x1da)});}[_0xf5afab(0x1be)](){const _0x1ba814=_0xf5afab;return this[_0x1ba814(0x170)][_0x1ba814(0x1b8)](),super[_0x1ba814(0x1be)]();}[_0xf5afab(0x1dd)](){const _0x5ede20=_0xf5afab,_0x19df25=this[_0x5ede20(0x1b4)],_0xbd5aba=_0x19df25[_0x5ede20(0x1e4)][_0x5ede20(0x19a)],_0x458d80=_0x19df25[_0x5ede20(0x1d1)][_0x5ede20(0x184)](_0x16a1dc);_0x19df25[_0x5ede20(0x1e4)][_0x5ede20(0x18a)]({'isUndoable':!0x1},_0x4d4cfd=>{const _0x1f14b9=_0x5ede20,_0x45c4ff=_0x1f14b9(0x191)+_0x458d80[_0x1f14b9(0x1c6)],_0x48c04f=_0x1f14b9(0x1e1)+_0x458d80[_0x1f14b9(0x1c6)],_0x366d65=_0x19df25[_0x1f14b9(0x1e4)][_0x1f14b9(0x1a8)][_0x1f14b9(0x17d)](_0x45c4ff);_0x19df25[_0x1f14b9(0x187)][_0x1f14b9(0x1a4)][_0x1f14b9(0x175)]?te(_0x458d80[_0x1f14b9(0x1c6)],_0xbd5aba[_0x1f14b9(0x18c)][_0x1f14b9(0x15d)](),_0x19df25[_0x1f14b9(0x1e4)],_0x4d4cfd):_0x366d65&&(_0x4d4cfd[_0x1f14b9(0x1e3)](_0x45c4ff),_0x4d4cfd[_0x1f14b9(0x1e3)](_0x48c04f));});}}function te(_0x3a30cd,_0x409fe6,_0x1d273e,_0x57b9ec){const _0x3870a9=_0xf5afab,_0x5ece24=_0x3870a9(0x191)+_0x3a30cd,_0x5bf623=_0x3870a9(0x1e1)+_0x3a30cd,_0x438c8a=_0x409fe6[_0x3870a9(0x15f)]();let _0x58af18=_0x409fe6[_0x3870a9(0x18f)];if(_0x438c8a&&_0x438c8a['is'](_0x3870a9(0x17f),_0x3870a9(0x1ac))){const _0x340ad3=function(_0x3da38f,_0x1eda56){const _0x3b2d1f=_0x3870a9;for(const _0x39020f of _0x3da38f[_0x3b2d1f(0x198)]())if(_0x1eda56[_0x3b2d1f(0x193)][_0x3b2d1f(0x1e5)](_0x39020f,_0x3b2d1f(0x1a1)))return _0x39020f;}(_0x409fe6,_0x1d273e);_0x340ad3&&(_0x58af18=_0x340ad3,_0x409fe6=_0x57b9ec[_0x3870a9(0x1e2)](_0x58af18));}const _0x15f838=_0x57b9ec[_0x3870a9(0x1e2)](_0x58af18);_0x1d273e[_0x3870a9(0x1a8)][_0x3870a9(0x17d)](_0x5ece24)?(_0x57b9ec[_0x3870a9(0x165)](_0x5ece24,{'range':_0x409fe6}),_0x57b9ec[_0x3870a9(0x165)](_0x5bf623,{'range':_0x15f838})):(_0x57b9ec[_0x3870a9(0x169)](_0x5ece24,{'range':_0x409fe6,'usingOperation':!0x0}),_0x57b9ec[_0x3870a9(0x169)](_0x5bf623,{'range':_0x15f838,'usingOperation':!0x0}));}
|