@ckeditor/ckeditor5-real-time-collaboration 45.2.0 → 45.2.1-alpha.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 +1 -1
- package/dist/index.js +6 -6
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +14 -14
- package/src/common-translations.js +1 -1
- package/src/index.js +1 -1
- package/src/presencelist/presencelistui.js +1 -1
- package/src/presencelist/view/presencecounterview.js +1 -1
- package/src/presencelist/view/presencedropdownlistitemview.js +1 -1
- package/src/presencelist/view/presencedropdownlistview.js +1 -1
- package/src/presencelist/view/presenceinlinelistitemview.js +1 -1
- package/src/presencelist/view/presenceinlinelistview.js +1 -1
- package/src/presencelist/view/presencelistview.js +1 -1
- package/src/presencelist.js +1 -1
- package/src/realtimecollaborativecomments/cloudservicescommentsadapter.js +2 -2
- package/src/realtimecollaborativecomments.js +1 -1
- package/src/realtimecollaborativeediting/realtimecollaborationclient.js +2 -2
- package/src/realtimecollaborativeediting/sessions.js +1 -1
- package/src/realtimecollaborativeediting/usermarkers.js +1 -1
- package/src/realtimecollaborativeediting/websocketgateway.js +2 -2
- package/src/realtimecollaborativeediting.js +1 -1
- package/src/realtimecollaborativerevisionhistory/cloudservicesrevisionhistoryadapter.js +2 -2
- package/src/realtimecollaborativerevisionhistory.js +1 -1
- package/src/realtimecollaborativetrackchanges/cloudservicestrackchangesadapter.js +2 -2
- package/src/realtimecollaborativetrackchanges.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x32ece3=_0x50e7;function _0x50e7(_0x3d1e64,_0x163709){const _0x542c7e=_0x542c();return _0x50e7=function(_0x50e73c,_0x5d04ff){_0x50e73c=_0x50e73c-0x1af;let _0x37ca9d=_0x542c7e[_0x50e73c];return _0x37ca9d;},_0x50e7(_0x3d1e64,_0x163709);}function _0x542c(){const _0x594e3f=['isExpanded','querySelector','.ck-presence-list__dropdown-list','5876640qPMvbV','6885880aZUtri','render','hasPopup','setAttribute','93969UtNlqn','presencelist:show','list','listenTo','.ck-balloon-panel_with-arrow','presencelist:hide','focus','Connected\x20users\x20list','set','keystrokes','9wYtZFk','12lxIrWU','items','991739hhPDZZ','div','relatedTarget','2370529KlVJFc','element','bindTemplate','49464GPxbRk','contains','fire','Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)','29983010ScXORf','createCollection','change:hasPopup','8XLFFKO','removeAttribute','ck-presence-list__list','setTemplate','aria-expanded'];_0x542c=function(){return _0x594e3f;};return _0x542c();}(function(_0x483443,_0x58e701){const _0x5d59a6=_0x50e7,_0x59de48=_0x483443();while(!![]){try{const _0x56d3bd=parseInt(_0x5d59a6(0x1b2))/0x1+-parseInt(_0x5d59a6(0x1bf))/0x2*(-parseInt(_0x5d59a6(0x1cc))/0x3)+parseInt(_0x5d59a6(0x1b8))/0x4+parseInt(_0x5d59a6(0x1c8))/0x5+parseInt(_0x5d59a6(0x1b0))/0x6*(parseInt(_0x5d59a6(0x1b5))/0x7)+parseInt(_0x5d59a6(0x1c7))/0x8+parseInt(_0x5d59a6(0x1af))/0x9*(-parseInt(_0x5d59a6(0x1bc))/0xa);if(_0x56d3bd===_0x58e701)break;else _0x59de48['push'](_0x59de48['shift']());}catch(_0x2c5fad){_0x59de48['push'](_0x59de48['shift']());}}}(_0x542c,0xe0a52));import{View as _0x1c2b46}from'ckeditor5/src/ui.js';import{KeystrokeHandler as _0x346d9e}from'ckeditor5/src/utils.js';import{getTranslation as _0x3cff13}from'../../common-translations.js';export default class ts extends _0x1c2b46{[_0x32ece3(0x1b1)];[_0x32ece3(0x1d5)];constructor(_0x4d1e76){const _0x43edc8=_0x32ece3;super(_0x4d1e76);const _0x378659=this[_0x43edc8(0x1b7)];this[_0x43edc8(0x1b1)]=this[_0x43edc8(0x1bd)](),this[_0x43edc8(0x1d5)]=new _0x346d9e(),this[_0x43edc8(0x1d4)]({'hasPopup':!0x1,'isExpanded':!0x1}),this[_0x43edc8(0x1c2)]({'tag':_0x43edc8(0x1b3),'attributes':{'aria-haspopup':_0x378659['if'](_0x43edc8(0x1ca)),'aria-expanded':_0x378659['to'](_0x43edc8(0x1c4),_0x3802af=>this[_0x43edc8(0x1ca)]&&String(_0x3802af)),'aria-label':_0x378659['to'](_0x43edc8(0x1ca),_0x3849b7=>_0x3cff13(_0x4d1e76,_0x3849b7?_0x43edc8(0x1bb):_0x43edc8(0x1d3))),'role':_0x43edc8(0x1ce),'tabindex':_0x378659['to'](_0x43edc8(0x1ca),_0x52ff5a=>!!_0x52ff5a&&0x0),'class':['ck',_0x43edc8(0x1c1)]},'children':this[_0x43edc8(0x1b1)],'on':{'mouseenter':_0x378659['to'](()=>this[_0x43edc8(0x1ba)](_0x43edc8(0x1cd))),'mouseleave':_0x378659['to'](_0x35085f=>{const _0xe78f93=_0x43edc8,_0x18b7e4=_0x35085f,_0x46e024=document[_0xe78f93(0x1c5)](_0xe78f93(0x1c6)),_0x31c0ea=document[_0xe78f93(0x1c5)](_0xe78f93(0x1d0));_0x46e024?.[_0xe78f93(0x1b9)](_0x18b7e4[_0xe78f93(0x1b4)])||_0x31c0ea?.[_0xe78f93(0x1b9)](_0x18b7e4[_0xe78f93(0x1b4)])||this[_0xe78f93(0x1ba)](_0xe78f93(0x1d1));})}}),this['on'](_0x43edc8(0x1be),(_0x8ca8a5,_0x26a817,_0x3cfe08)=>{const _0xe22c6f=_0x43edc8;this[_0xe22c6f(0x1b6)]&&(_0x3cfe08?this[_0xe22c6f(0x1b6)][_0xe22c6f(0x1cb)](_0xe22c6f(0x1c3),String(this[_0xe22c6f(0x1c4)])):this[_0xe22c6f(0x1b6)][_0xe22c6f(0x1c0)](_0xe22c6f(0x1c3)));});}[_0x32ece3(0x1d2)](){const _0x4e4b33=_0x32ece3;this[_0x4e4b33(0x1b6)][_0x4e4b33(0x1d2)]();}[_0x32ece3(0x1c9)](){const _0x1e32d5=_0x32ece3;super[_0x1e32d5(0x1c9)](),this[_0x1e32d5(0x1d5)][_0x1e32d5(0x1cf)](this[_0x1e32d5(0x1b6)]);}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x15b07a=_0x2e62;function _0x2e62(_0x5ee153,_0x32b7b8){const _0x287b14=_0x287b();return _0x2e62=function(_0x2e629d,_0x12e8a8){_0x2e629d=_0x2e629d-0x169;let _0x52a533=_0x287b14[_0x2e629d];return _0x52a533;},_0x2e62(_0x5ee153,_0x32b7b8);}(function(_0x23c671,_0x277cbb){const _0x120e5b=_0x2e62,_0x5015a8=_0x23c671();while(!![]){try{const _0x571a88=parseInt(_0x120e5b(0x181))/0x1*(parseInt(_0x120e5b(0x17f))/0x2)+parseInt(_0x120e5b(0x179))/0x3+parseInt(_0x120e5b(0x175))/0x4*(parseInt(_0x120e5b(0x16e))/0x5)+parseInt(_0x120e5b(0x171))/0x6+-parseInt(_0x120e5b(0x186))/0x7*(-parseInt(_0x120e5b(0x185))/0x8)+parseInt(_0x120e5b(0x183))/0x9+parseInt(_0x120e5b(0x17e))/0xa*(-parseInt(_0x120e5b(0x180))/0xb);if(_0x571a88===_0x277cbb)break;else _0x5015a8['push'](_0x5015a8['shift']());}catch(_0x1d246c){_0x5015a8['push'](_0x5015a8['shift']());}}}(_0x287b,0x57f0f));function _0x287b(){const _0x3c6ad8=['inlineListView','tooltipPosition','div','listenTo','change','655opSYJy','setTemplate','ck-presence-list--collapsed','2623692jCKduX','first','items','locale','19092zPAyCM','counterView','set','bindTemplate','1572213TMXWJt','bind','hasPopup','ck-presence-list','ck-rounded-corners','1770vUarVw','178720ajXLeS','169334nDpbCs','3hgIFTh','ck-reset','6435747uEHBMO','isCollapsed','1373776ZfExty','21jwqmTJ'];_0x287b=function(){return _0x3c6ad8;};return _0x287b();}import{View as _0x518482}from'ckeditor5/src/ui.js';import _0x477382 from'./presencecounterview.js';import _0x2a4dd3 from'./presenceinlinelistview.js';import'../../../theme/presencelist.css';export default class j extends _0x518482{[_0x15b07a(0x176)];[_0x15b07a(0x169)];constructor(_0x4f8360,_0xba9c79=0x6){const _0x27a936=_0x15b07a;super(_0x4f8360);const _0x3141ea=this[_0x27a936(0x178)];this[_0x27a936(0x177)](_0x27a936(0x184),!0x0),this[_0x27a936(0x176)]=new _0x477382(this[_0x27a936(0x174)],_0xba9c79),this[_0x27a936(0x169)]=new _0x2a4dd3(_0x4f8360),this[_0x27a936(0x169)][_0x27a936(0x17a)](_0x27a936(0x17b))['to'](this,_0x27a936(0x184)),this[_0x27a936(0x16c)](this[_0x27a936(0x169)][_0x27a936(0x173)],_0x27a936(0x16d),()=>{const _0x5c9b06=_0x27a936;for(const _0x45882b of this[_0x5c9b06(0x169)][_0x5c9b06(0x173)])_0x45882b[_0x5c9b06(0x16a)]='s';this[_0x5c9b06(0x169)][_0x5c9b06(0x173)][_0x5c9b06(0x172)]&&(this[_0x5c9b06(0x169)][_0x5c9b06(0x173)][_0x5c9b06(0x172)][_0x5c9b06(0x16a)]='se');}),this[_0x27a936(0x16f)]({'tag':_0x27a936(0x16b),'attributes':{'class':['ck',_0x27a936(0x17c),_0x27a936(0x182),_0x27a936(0x17d),_0x3141ea['if'](_0x27a936(0x184),_0x27a936(0x170))]},'children':[this[_0x27a936(0x169)]]});}}
|
package/src/presencelist.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x2c4b(_0x227ae8,_0x19f49a){var _0x31fbb7=_0x31fb();return _0x2c4b=function(_0x2c4b9e,_0x3b2ce9){_0x2c4b9e=_0x2c4b9e-0x70;var _0x369164=_0x31fbb7[_0x2c4b9e];return _0x369164;},_0x2c4b(_0x227ae8,_0x19f49a);}var _0x1ef9d6=_0x2c4b;(function(_0x1c0440,_0x2c7210){var _0x260644=_0x2c4b,_0x3fdac5=_0x1c0440();while(!![]){try{var _0x1a698c=parseInt(_0x260644(0x72))/0x1+-parseInt(_0x260644(0x76))/0x2+parseInt(_0x260644(0x77))/0x3+parseInt(_0x260644(0x75))/0x4+parseInt(_0x260644(0x7b))/0x5+-parseInt(_0x260644(0x73))/0x6+-parseInt(_0x260644(0x7a))/0x7;if(_0x1a698c===_0x2c7210)break;else _0x3fdac5['push'](_0x3fdac5['shift']());}catch(_0x3eb145){_0x3fdac5['push'](_0x3fdac5['shift']());}}}(_0x31fb,0xeec36));import{ContextPlugin as _0x54485a}from'ckeditor5/src/core.js';function _0x31fb(){var _0xe1c6a7=['8046804qEedNX','isPremiumPlugin','5030816poRubZ','2211524yPVAMP','3887151vBrTKw','requires','pluginName','7521479zyLQyC','8081725JBsvpf','isOfficialPlugin','PresenceList','329601vWGTMl'];_0x31fb=function(){return _0xe1c6a7;};return _0x31fb();}import _0x410dd9 from'./realtimecollaborativeediting/sessions.js';import _0xc194d4 from'./presencelist/presencelistui.js';export default class s extends _0x54485a{static get[_0x1ef9d6(0x78)](){return[_0x410dd9,_0xc194d4];}static get[_0x1ef9d6(0x79)](){var _0x32d15d=_0x1ef9d6;return _0x32d15d(0x71);}static get[_0x1ef9d6(0x70)](){return!0x0;}static get[_0x1ef9d6(0x74)](){return!0x0;}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x43808a)());[_0x53431c(0xbe)];static get[_0x53431c(0x98)](){const _0x4b0574=_0x53431c;return[_0x3db05d,_0x4b0574(0xa3),_0x2be6cc,_0x6850e4];}static get[_0x53431c(0xe5)](){const _0xbfe7f=_0x53431c;return _0xbfe7f(0x94);}static get[_0x53431c(0xc8)](){return!0x0;}static get[_0x53431c(0x9f)](){return!0x0;}constructor(_0x4b23fe){const _0x20ca04=_0x53431c;super(_0x4b23fe),this[_0x20ca04(0xbe)]=new Map();}async[_0x53431c(0xec)](){const _0x24ac0e=_0x53431c,_0x19f40d=this[_0x24ac0e(0xe6)],_0x17df2a=_0x19f40d[_0x24ac0e(0xb4)][_0x24ac0e(0x9a)](_0x24ac0e(0xa3));if(_0x19f40d[_0x24ac0e(0xb4)][_0x24ac0e(0x9a)](_0x3db05d)[_0x24ac0e(0xdf)](this),_0x17df2a[_0x24ac0e(0xe9)]={'addCommentThread':async({channelId:_0x3d4a82,threadId:_0x5bbc67,comments:_0x1ed536,resolvedAt:_0x24c01e,resolvedBy:_0x5372aa,context:_0x47b1f5,attributes:_0x4f5af8})=>{const _0x47fe85=_0x24ac0e,_0x26d90d=await this[_0x47fe85(0x91)](_0x3d4a82)[_0x47fe85(0xb9)]({'commentThreadId':_0x5bbc67,'comments':_0x1ed536[_0x47fe85(0xd3)](_0x3c4d63=>function(_0x185b8e,_0x3da37c,_0x22a826){const _0x1da5bf=_0x47fe85;return{'commentThreadId':_0x22a826,'commentId':_0x185b8e[_0x1da5bf(0xc9)],'userId':_0x185b8e[_0x1da5bf(0xae)],'content':_0x185b8e[_0x1da5bf(0xf5)],'documentId':_0x3da37c,'createdAt':_0x185b8e[_0x1da5bf(0xc5)],'attributes':_0x185b8e[_0x1da5bf(0xa5)]||{}};}(_0x3c4d63,_0x3d4a82,_0x5bbc67)),'resolvedAt':_0x24c01e,'resolvedBy':_0x5372aa,'context':_0x47b1f5,'attributes':_0x4f5af8})[_0x47fe85(0xa7)](R);return{'threadId':_0x26d90d[_0x47fe85(0xc7)],'comments':_0x26d90d[_0x47fe85(0xb5)]};},'getCommentThread':async({channelId:_0x5acba3,threadId:_0x383609})=>{const _0x520e9c=_0x24ac0e,_0x4e8c4b=await this[_0x520e9c(0x91)](_0x5acba3)[_0x520e9c(0xe1)](_0x383609)[_0x520e9c(0xa7)](R);return _0x4e8c4b[_0x520e9c(0xeb)]?null:(await this[_0x520e9c(0xa1)]([_0x4e8c4b]),{'threadId':_0x4e8c4b[_0x520e9c(0xc7)],'comments':_0x4e8c4b[_0x520e9c(0xb5)][_0x520e9c(0xd3)](_),'context':_0x4e8c4b[_0x520e9c(0xe6)],'resolvedAt':_0x4e8c4b[_0x520e9c(0xdd)],'resolvedBy':_0x4e8c4b[_0x520e9c(0xd9)],'attributes':_0x4e8c4b[_0x520e9c(0xa5)]||{}});},'updateCommentThread':async({channelId:_0x314ed6,threadId:_0x5bc8a1,context:_0x321341,unlinkedAt:_0x240d1f,attributes:_0x49e4f3})=>this[_0x24ac0e(0x91)](_0x314ed6)[_0x24ac0e(0xaf)]({'commentThreadId':_0x5bc8a1,'context':_0x321341,'attributes':_0x49e4f3,'unlinkedAt':_0x240d1f})[_0x24ac0e(0xa7)](S)[_0x24ac0e(0xa7)](R),'resolveCommentThread':async({channelId:_0x415269,threadId:_0x178383})=>{const _0x468b13=_0x24ac0e,_0x5368bb=await this[_0x468b13(0x91)](_0x415269)[_0x468b13(0xd6)](_0x178383)[_0x468b13(0xa7)](S)[_0x468b13(0xa7)](R);return{'threadId':_0x5368bb[_0x468b13(0xc7)],'resolvedAt':_0x5368bb[_0x468b13(0xdd)],'resolvedBy':_0x5368bb[_0x468b13(0xd9)]};},'reopenCommentThread':async({channelId:_0x2d2d58,threadId:_0x36c9dd})=>this[_0x24ac0e(0x91)](_0x2d2d58)[_0x24ac0e(0xba)](_0x36c9dd)[_0x24ac0e(0xa7)](S)[_0x24ac0e(0xa7)](R),'removeCommentThread':({channelId:_0x3142b6,threadId:_0x327a2b})=>this[_0x24ac0e(0x91)](_0x3142b6)[_0x24ac0e(0xc1)](_0x327a2b)[_0x24ac0e(0xa7)](S)[_0x24ac0e(0xa7)](R),'addComment':({channelId:_0x50fa86,threadId:_0x23faaf,commentId:_0x524daa,content:_0x27ba53,attributes:_0x6afa52})=>this[_0x24ac0e(0x91)](_0x50fa86)[_0x24ac0e(0xc6)](_0x23faaf,_0x524daa,_0x27ba53,_0x6afa52)[_0x24ac0e(0xa7)](R),'updateComment':({channelId:_0x4fedb8,threadId:_0xfde99,commentId:_0x27b040,content:_0x5fe6da,attributes:_0x5bd302})=>this[_0x24ac0e(0x91)](_0x4fedb8)[_0x24ac0e(0xc4)](_0xfde99,_0x27b040,_0x5fe6da,_0x5bd302)[_0x24ac0e(0xa7)](S)[_0x24ac0e(0xa7)](R),'removeComment':({channelId:_0x7adeda,threadId:_0x56de3b,commentId:_0x562cc7})=>this[_0x24ac0e(0x91)](_0x7adeda)[_0x24ac0e(0xd0)](_0x56de3b,_0x562cc7)[_0x24ac0e(0xa7)](S)[_0x24ac0e(0xa7)](R)},_0x19f40d instanceof _0x11dbc){const _0x23b4c0=_0x19f40d[_0x24ac0e(0x96)][_0x24ac0e(0x9a)](_0x24ac0e(0x97)),_0x16f2a4=_0x19f40d[_0x24ac0e(0xb4)][_0x24ac0e(0x9a)](_0x2be6cc);await this[_0x24ac0e(0xbf)](_0x23b4c0);const _0x488a17=await this[_0x24ac0e(0xbe)][_0x24ac0e(0x9a)](_0x23b4c0)[_0x24ac0e(0xf2)]();this[_0x24ac0e(0xa2)](_0x16f2a4,_0x24ac0e(0xf0)+_0x23b4c0,(_0x217c6a,{session:_0x104542})=>{const _0x3099e2=_0x24ac0e;_0x104542['id']===_0x16f2a4[_0x3099e2(0xcb)]&&(_0x217c6a[_0x3099e2(0xee)](),this[_0x3099e2(0xe6)][_0x3099e2(0xb4)][_0x3099e2(0x9a)](_0x3099e2(0x93))[_0x3099e2(0xc3)](_0x104542[_0x3099e2(0xcf)],_0x23b4c0));}),_0x16f2a4[_0x24ac0e(0xca)](_0x23b4c0,_0x488a17);}}async[_0x53431c(0xbf)](_0x3ba382){const _0x1dc95d=_0x53431c;if(this[_0x1dc95d(0xbe)][_0x1dc95d(0xda)](_0x3ba382))throw new _0x808712(_0x1dc95d(0xb7),null,{'channelId':_0x3ba382});const _0x56ee2f=this[_0x1dc95d(0xe6)][_0x1dc95d(0xb4)][_0x1dc95d(0x9a)](_0x1dc95d(0xa3)),_0x3e6ce=new a[(_0x1dc95d(0xed))](_0x3ba382);this[_0x1dc95d(0xbe)][_0x1dc95d(0xce)](_0x3ba382,_0x3e6ce),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xe3),(_0x4f4def,_0x506607)=>{const _0x58cd9b=_0x1dc95d,{commentThreadId:_0x26e42b,documentId:_0x15913f,context:_0x566abd,attributes:_0x4459c6,resolvedAt:_0x3b9b50,resolvedBy:_0xf0e3e1,comments:_0x14ed6d}=_0x506607;_0x56ee2f[_0x58cd9b(0xe1)](_0x26e42b)||_0x56ee2f[_0x58cd9b(0xb9)]({'threadId':_0x26e42b,'channelId':_0x15913f,'comments':_0x14ed6d?_0x14ed6d[_0x58cd9b(0xd3)](_):[],'context':_0x566abd,'attributes':_0x4459c6,'resolvedAt':_0x3b9b50,'resolvedBy':_0xf0e3e1,'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xb2),(_0x5416c3,{commentThreadId:_0x395597,documentId:_0x50aa80,context:_0x14f05a,unlinkedAt:_0x41dd26,attributes:_0x19acb8})=>{const _0x1fa8d8=_0x1dc95d;_0x56ee2f[_0x1fa8d8(0xe1)](_0x395597)&&_0x56ee2f[_0x1fa8d8(0xaf)]({'threadId':_0x395597,'channelId':_0x50aa80,'context':_0x14f05a,'unlinkedAt':_0x41dd26,'attributes':_0x19acb8,'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xad),(_0x24ac21,{commentThreadId:_0xe3acde,resolvedBy:_0x4b7100,resolvedAt:_0x1170c6})=>{const _0x2aa21d=_0x1dc95d,_0x2ad0a3=_0x56ee2f[_0x2aa21d(0xe1)](_0xe3acde);_0x2ad0a3&&_0x2ad0a3[_0x2aa21d(0x9b)]({'resolvedBy':_0x4b7100,'resolvedAt':_0x1170c6,'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xbc),(_0x150fb5,{commentThreadId:_0xee0cef})=>{const _0x2607cd=_0x1dc95d,_0xb0eddf=_0x56ee2f[_0x2607cd(0xe1)](_0xee0cef);_0xb0eddf&&_0xb0eddf[_0x2607cd(0xdc)]({'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xa6),(_0x5236cf,{commentThreadId:_0x3894a6})=>{const _0x315150=_0x1dc95d,_0x3aa97c=_0x56ee2f[_0x315150(0xe1)](_0x3894a6);_0x3aa97c&&_0x3aa97c[_0x315150(0xa4)]({'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xa0),(_0x45ec58,_0x27459b)=>{const _0x23e09e=_0x1dc95d,_0x58b512=_0x27459b[_0x23e09e(0xc7)],_0x10d312=_0x56ee2f[_0x23e09e(0xe1)](_0x58b512);_0x10d312&&_0x10d312[_0x23e09e(0xc6)]({..._(_0x27459b),'isFromAdapter':!0x0});}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xe7),(_0x28360d,{commentThreadId:_0x321b75,commentId:_0x3ec043,content:_0x41b05c,attributes:_0x28102a})=>{const _0x1ecbf2=_0x1dc95d,_0x3b9299=_0x56ee2f[_0x1ecbf2(0xe1)](_0x321b75);if(_0x3b9299){const _0x2a7979=_0x3b9299[_0x1ecbf2(0xef)](_0x3ec043);_0x2a7979&&_0x2a7979[_0x1ecbf2(0xdb)]({'content':_0x41b05c,'attributes':_0x28102a,'isFromAdapter':!0x0});}}),this[_0x1dc95d(0xa2)](_0x3e6ce,_0x1dc95d(0xe0),(_0x3a175a,{commentThreadId:_0x25a22f,commentId:_0x4f8da3})=>{const _0x264a06=_0x1dc95d,_0x4a4afd=_0x56ee2f[_0x264a06(0xe1)](_0x25a22f);if(_0x4a4afd){const _0x3e5cb3=_0x4a4afd[_0x264a06(0xef)](_0x4f8da3);_0x3e5cb3&&_0x3e5cb3[_0x264a06(0xa4)]({'isFromAdapter':!0x0});}}),await this[_0x1dc95d(0xf7)](_0x3ba382);}[_0x53431c(0xf4)](){const _0x40bfb0=_0x53431c;if(this[_0x40bfb0(0xe6)]instanceof _0x11dbc){const _0x2e03aa=this[_0x40bfb0(0xe6)][_0x40bfb0(0x96)][_0x40bfb0(0x9a)](_0x40bfb0(0x97));this[_0x40bfb0(0xd8)](_0x2e03aa);}}[_0x53431c(0xd8)](_0x103aa1){const _0x5ae967=_0x53431c;if(!this[_0x5ae967(0xbe)][_0x5ae967(0xda)](_0x103aa1))throw new _0x808712(_0x5ae967(0x99),null,{'channelId':_0x103aa1});this[_0x5ae967(0x91)](_0x103aa1)[_0x5ae967(0xb1)](),this[_0x5ae967(0xbe)][_0x5ae967(0xa8)](_0x103aa1);}async[_0x53431c(0xf3)](){const _0x2d991c=_0x53431c;for(const _0x14d3f0 of this[_0x2d991c(0xbe)][_0x2d991c(0xb3)]())await this[_0x2d991c(0xf7)](_0x14d3f0);if(this[_0x2d991c(0xe6)]instanceof _0x11dbc){const _0x276971=this[_0x2d991c(0xe6)][_0x2d991c(0x96)][_0x2d991c(0x9a)](_0x2d991c(0x97)),_0x2a552b=this[_0x2d991c(0xe6)][_0x2d991c(0xb4)][_0x2d991c(0x9a)](_0x2be6cc);_0x2a552b[_0x2d991c(0xac)](_0x276971);const _0x521c20=await this[_0x2d991c(0xbe)][_0x2d991c(0x9a)](_0x276971)[_0x2d991c(0xf2)]();_0x2a552b[_0x2d991c(0xca)](_0x276971,_0x521c20);}}async[_0x53431c(0xf7)](_0x53283d){const _0x55a3f5=_0x53431c,{connection:_0xfa565c}=this[_0x55a3f5(0xe6)][_0x55a3f5(0xb4)][_0x55a3f5(0x9a)](_0x3db05d),_0x98784b=this[_0x55a3f5(0xe6)][_0x55a3f5(0xb4)][_0x55a3f5(0x9a)](_0x55a3f5(0xa3)),_0x2fe15a=this[_0x55a3f5(0xbe)][_0x55a3f5(0x9a)](_0x53283d),_0x5ed815=await _0x2fe15a[_0x55a3f5(0x9c)](_0xfa565c);await this[_0x55a3f5(0xa1)](_0x5ed815);const _0x129867=new Set(Array[_0x55a3f5(0xaa)](_0x98784b[_0x55a3f5(0xd7)]({'channelId':_0x53283d}),_0xc73721=>_0xc73721['id']));for(const _0x4d431a of _0x5ed815)_0x4d431a[_0x55a3f5(0xeb)]||_0x129867[_0x55a3f5(0xa8)](_0x4d431a[_0x55a3f5(0xc7)]);for(const _0x1545a8 of _0x129867)_0x98784b[_0x55a3f5(0xe1)](_0x1545a8)[_0x55a3f5(0xa4)]({'isFromAdapter':!0x0});for(const _0x22eab7 of _0x5ed815){let _0x2bcbed=_0x98784b[_0x55a3f5(0xe1)](_0x22eab7[_0x55a3f5(0xc7)]);const {commentThreadId:_0x28ba70,context:_0x33bada,attributes:_0x1ff7fe,resolvedBy:_0x2db95c,resolvedAt:_0x3cf1fa,unlinkedAt:_0x381ecc,deletedAt:_0x58f24f}=_0x22eab7;if(_0x58f24f)continue;_0x2bcbed||(_0x2bcbed=_0x98784b[_0x55a3f5(0xb9)]({'channelId':_0x53283d,'threadId':_0x28ba70,'context':_0x33bada,'attributes':_0x1ff7fe||{},'resolvedBy':_0x2db95c,'resolvedAt':_0x3cf1fa,'unlinkedAt':_0x381ecc,'isFromAdapter':!0x0}));const _0x1fa39f=new Set(Array[_0x55a3f5(0xaa)](_0x2bcbed[_0x55a3f5(0xb5)],_0x3ca6e5=>_0x3ca6e5['id']));for(const _0x44dc5b of _0x22eab7[_0x55a3f5(0xb5)])_0x1fa39f[_0x55a3f5(0xa8)](_0x44dc5b[_0x55a3f5(0xc9)]);for(const _0x14f11e of _0x1fa39f)_0x2bcbed[_0x55a3f5(0xef)](_0x14f11e)[_0x55a3f5(0xa4)]({'isFromAdapter':!0x0});for(const _0x20f001 of _0x22eab7[_0x55a3f5(0xb5)]){const _0x18a06a=_0x2bcbed[_0x55a3f5(0xef)](_0x20f001[_0x55a3f5(0xc9)]);_0x18a06a?_0x18a06a[_0x55a3f5(0xf5)]!==_0x20f001[_0x55a3f5(0xf5)]&&_0x18a06a[_0x55a3f5(0xdb)]({'content':_0x20f001[_0x55a3f5(0xf5)],'isFromAdapter':!0x0}):_0x2bcbed[_0x55a3f5(0xc6)](Object[_0x55a3f5(0xb6)](_(_0x20f001),{'isFromAdapter':!0x0}));}}}[_0x53431c(0x91)](_0x20e9ac){const _0x5ca418=_0x53431c;if(!this[_0x5ca418(0xbe)][_0x5ca418(0xda)](_0x20e9ac))throw new _0x808712(_0x5ca418(0xf1),null,{'channelId':_0x20e9ac});return this[_0x5ca418(0xbe)][_0x5ca418(0x9a)](_0x20e9ac);}async[_0x53431c(0xa1)](_0x78fabb){const _0x3aaf4a=_0x53431c,_0x1df63c=this[_0x3aaf4a(0xe6)][_0x3aaf4a(0xb4)][_0x3aaf4a(0x9a)](_0x6850e4),{connection:_0x48d8bc}=this[_0x3aaf4a(0xe6)][_0x3aaf4a(0xb4)][_0x3aaf4a(0x9a)](_0x3db05d),_0x106342=new Set();for(const {resolvedBy:_0x329fa1,comments:_0x342414}of _0x78fabb){_0x329fa1&&!_0x1df63c[_0x3aaf4a(0xde)](_0x329fa1)&&_0x106342[_0x3aaf4a(0x95)](_0x329fa1);for(const {userId:_0x2511b9}of _0x342414)_0x1df63c[_0x3aaf4a(0xde)](_0x2511b9)||_0x106342[_0x3aaf4a(0x95)](_0x2511b9);}if(0x0===_0x106342[_0x3aaf4a(0xc0)])return;const _0x257601=await _0xfad2df[_0x3aaf4a(0xd4)](_0x48d8bc,Array[_0x3aaf4a(0xaa)](_0x106342));for(const _0x2f8bf9 of _0x257601)_0x1df63c[_0x3aaf4a(0xde)](_0x2f8bf9['id'])||_0x1df63c[_0x3aaf4a(0xcc)](_0x2f8bf9);}}function _0x50ce(){const _0x5f3596=['listenTo','CommentsRepository','remove','attributes','commentThreadRemoved','catch','delete','code','from','12279zouMye','unregister','commentThreadResolved','authorId','updateCommentThread','404','disconnect','commentThreadUpdated','keys','plugins','comments','assign','cloudservicescommentsadapter-connect-already-connected','startsWith','addCommentThread','reopenCommentThread','6091515qIWqjB','commentThreadReopened','userId','_services','_setUpService','size','removeCommentThread','3339928kzVieb','setPermissions','updateComment','createdAt','addComment','commentThreadId','isOfficialPlugin','commentId','register','mySessionId','addUser','cloud-services-internal-error:\x20Not\x20connected.','set','permissions','removeComment','10TPLYHQ','5940PSMFOk','map','getMany','157701jbDgQl','resolveCommentThread','getCommentThreads','_terminateService','resolvedBy','has','update','reopen','resolvedAt','getUser','addToReconnectionStack','commentRemoved','getCommentThread','64OQPDfU','commentThreadAdded','7lCwQQI','pluginName','context','commentUpdated','cloud-services-internal-error:\x20Request\x20timeout.','adapter','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','deletedAt','init','CommentsService','off','getComment','sessionAdd:','cloudservicescommentsadapter-service-not-exist','getConnectedSessions','reconnect','destroy','content','3732gSYIAR','_connectService','_getService','message','Permissions','CloudServicesCommentsAdapter','add','config','collaboration.channelId','requires','cloudservicescommentsadapter-disconnect-not-exist','get','resolve','connect','1643554iCUiUt','1681330CdXMYN','isPremiumPlugin','commentAdded','_fetchMissingUsersForThreads'];_0x50ce=function(){return _0x5f3596;};return _0x50ce();}export default a;async function S(_0x3d4291){const _0xa58a4d=_0x53431c;if(_0xa58a4d(0xb0)!==_0x3d4291[_0xa58a4d(0xa9)])throw _0x3d4291;}function _0x46cf(_0x3448ce,_0x1dc97c){const _0x50ce1c=_0x50ce();return _0x46cf=function(_0x46cfcc,_0x11db67){_0x46cfcc=_0x46cfcc-0x91;let _0x64bd3b=_0x50ce1c[_0x46cfcc];return _0x64bd3b;},_0x46cf(_0x3448ce,_0x1dc97c);}function R(_0x3e13b4){const _0x53e988=_0x53431c;if((_0x4fc936=_0x3e13b4)[_0x53e988(0x92)][_0x53e988(0xb8)](_0x53e988(0xea))||_0x4fc936[_0x53e988(0x92)][_0x53e988(0xb8)](_0x53e988(0xcd))||_0x4fc936[_0x53e988(0x92)][_0x53e988(0xb8)](_0x53e988(0xe8)))return new Promise(()=>{});var _0x4fc936;throw _0x3e13b4;}function _(_0x3de975){const _0x5b5486=_0x53431c;return{'threadId':_0x3de975[_0x5b5486(0xc7)],'commentId':_0x3de975[_0x5b5486(0xc9)],'content':_0x3de975[_0x5b5486(0xf5)],'createdAt':_0x3de975[_0x5b5486(0xc5)],'authorId':_0x3de975[_0x5b5486(0xbd)],'attributes':_0x3de975[_0x5b5486(0xa5)]||{}};}
|
|
23
|
+
const _0x1e5147=_0x45b9;(function(_0x4d65d2,_0x557a7f){const _0x4f0a1a=_0x45b9,_0x211843=_0x4d65d2();while(!![]){try{const _0x37daf7=parseInt(_0x4f0a1a(0xe5))/0x1*(-parseInt(_0x4f0a1a(0xca))/0x2)+-parseInt(_0x4f0a1a(0xdf))/0x3*(-parseInt(_0x4f0a1a(0x8a))/0x4)+-parseInt(_0x4f0a1a(0xe7))/0x5+parseInt(_0x4f0a1a(0xb7))/0x6+parseInt(_0x4f0a1a(0xbb))/0x7+-parseInt(_0x4f0a1a(0xd8))/0x8*(-parseInt(_0x4f0a1a(0x8b))/0x9)+-parseInt(_0x4f0a1a(0xba))/0xa*(-parseInt(_0x4f0a1a(0xad))/0xb);if(_0x37daf7===_0x557a7f)break;else _0x211843['push'](_0x211843['shift']());}catch(_0x1b2d4c){_0x211843['push'](_0x211843['shift']());}}}(_0x18a5,0xc1ed5));import{Context as _0xafe476,ContextPlugin as _0x8d23b8}from'ckeditor5/src/core.js';import{CKEditorError as _0x32afb8}from'ckeditor5/src/utils.js';import{Users as _0x5d8f2a}from'ckeditor5-collaboration/src/collaboration-core.js';import{CommentsService as _0x1860f5,User as _0x237848}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';import _0x42ab98 from'../realtimecollaborativeediting/websocketgateway.js';import _0x50ee1f from'../realtimecollaborativeediting/sessions.js';function _0x45b9(_0x56668b,_0x4bb143){const _0x18a559=_0x18a5();return _0x45b9=function(_0x45b923,_0x294bac){_0x45b923=_0x45b923-0x81;let _0x1c5f4c=_0x18a559[_0x45b923];return _0x1c5f4c;},_0x45b9(_0x56668b,_0x4bb143);}class a extends _0x8d23b8{static [_0x1e5147(0x90)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1860f5)());[_0x1e5147(0xe4)];static get[_0x1e5147(0xb2)](){const _0x15b453=_0x1e5147;return[_0x42ab98,_0x15b453(0xd6),_0x50ee1f,_0x5d8f2a];}static get[_0x1e5147(0x8c)](){const _0x52d566=_0x1e5147;return _0x52d566(0xcc);}static get[_0x1e5147(0xd4)](){return!0x0;}static get[_0x1e5147(0xd3)](){return!0x0;}constructor(_0x2aba5c){const _0x199b10=_0x1e5147;super(_0x2aba5c),this[_0x199b10(0xe4)]=new Map();}async[_0x1e5147(0xa8)](){const _0x10a16f=_0x1e5147,_0x4466fa=this[_0x10a16f(0xb8)],_0xec0a70=_0x4466fa[_0x10a16f(0x99)][_0x10a16f(0xcf)](_0x10a16f(0xd6));if(_0x4466fa[_0x10a16f(0x99)][_0x10a16f(0xcf)](_0x42ab98)[_0x10a16f(0xd0)](this),_0xec0a70[_0x10a16f(0xb9)]={'addCommentThread':async({channelId:_0x3ed341,threadId:_0x58015f,comments:_0xab1582,resolvedAt:_0x270378,resolvedBy:_0x5ef3f1,context:_0x3d1048,attributes:_0x41f8e6})=>{const _0x50ffa0=_0x10a16f,_0x297e6a=await this[_0x50ffa0(0x96)](_0x3ed341)[_0x50ffa0(0xdd)]({'commentThreadId':_0x58015f,'comments':_0xab1582[_0x50ffa0(0x9e)](_0x12c18b=>function(_0x5aaf1f,_0x3d6ea8,_0x349f47){const _0x4e68eb=_0x50ffa0;return{'commentThreadId':_0x349f47,'commentId':_0x5aaf1f[_0x4e68eb(0x9d)],'userId':_0x5aaf1f[_0x4e68eb(0x97)],'content':_0x5aaf1f[_0x4e68eb(0xb6)],'documentId':_0x3d6ea8,'createdAt':_0x5aaf1f[_0x4e68eb(0x83)],'attributes':_0x5aaf1f[_0x4e68eb(0xe2)]||{}};}(_0x12c18b,_0x3ed341,_0x58015f)),'resolvedAt':_0x270378,'resolvedBy':_0x5ef3f1,'context':_0x3d1048,'attributes':_0x41f8e6})[_0x50ffa0(0xe3)](R);return{'threadId':_0x297e6a[_0x50ffa0(0xc6)],'comments':_0x297e6a[_0x50ffa0(0xa6)]};},'getCommentThread':async({channelId:_0x586108,threadId:_0x16f470})=>{const _0x543b98=_0x10a16f,_0xa1c60f=await this[_0x543b98(0x96)](_0x586108)[_0x543b98(0x89)](_0x16f470)[_0x543b98(0xe3)](R);return _0xa1c60f[_0x543b98(0xd7)]?null:(await this[_0x543b98(0xe1)]([_0xa1c60f]),{'threadId':_0xa1c60f[_0x543b98(0xc6)],'comments':_0xa1c60f[_0x543b98(0xa6)][_0x543b98(0x9e)](_),'context':_0xa1c60f[_0x543b98(0xb8)],'resolvedAt':_0xa1c60f[_0x543b98(0xce)],'resolvedBy':_0xa1c60f[_0x543b98(0xc1)],'attributes':_0xa1c60f[_0x543b98(0xe2)]||{}});},'updateCommentThread':async({channelId:_0x22ef55,threadId:_0x4d48fd,context:_0x34712d,unlinkedAt:_0x40a4ba,attributes:_0x4a1c4b})=>this[_0x10a16f(0x96)](_0x22ef55)[_0x10a16f(0xa7)]({'commentThreadId':_0x4d48fd,'context':_0x34712d,'attributes':_0x4a1c4b,'unlinkedAt':_0x40a4ba})[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'resolveCommentThread':async({channelId:_0x37a4e9,threadId:_0x312b96})=>{const _0x3c2e47=_0x10a16f,_0x295c5c=await this[_0x3c2e47(0x96)](_0x37a4e9)[_0x3c2e47(0xac)](_0x312b96)[_0x3c2e47(0xe3)](S)[_0x3c2e47(0xe3)](R);return{'threadId':_0x295c5c[_0x3c2e47(0xc6)],'resolvedAt':_0x295c5c[_0x3c2e47(0xce)],'resolvedBy':_0x295c5c[_0x3c2e47(0xc1)]};},'reopenCommentThread':async({channelId:_0x46f833,threadId:_0x20d446})=>this[_0x10a16f(0x96)](_0x46f833)[_0x10a16f(0xb5)](_0x20d446)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'removeCommentThread':({channelId:_0x5e98fa,threadId:_0x22c2da})=>this[_0x10a16f(0x96)](_0x5e98fa)[_0x10a16f(0x82)](_0x22c2da)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'addComment':({channelId:_0x445efc,threadId:_0x29c92d,commentId:_0x54388b,content:_0x462130,attributes:_0x1d1842})=>this[_0x10a16f(0x96)](_0x445efc)[_0x10a16f(0x95)](_0x29c92d,_0x54388b,_0x462130,_0x1d1842)[_0x10a16f(0xe3)](R),'updateComment':({channelId:_0x282cf3,threadId:_0x12023b,commentId:_0x4e8969,content:_0x545958,attributes:_0x3aa6d0})=>this[_0x10a16f(0x96)](_0x282cf3)[_0x10a16f(0xdb)](_0x12023b,_0x4e8969,_0x545958,_0x3aa6d0)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R),'removeComment':({channelId:_0x31ac3b,threadId:_0xdcd394,commentId:_0x11dcc9})=>this[_0x10a16f(0x96)](_0x31ac3b)[_0x10a16f(0xae)](_0xdcd394,_0x11dcc9)[_0x10a16f(0xe3)](S)[_0x10a16f(0xe3)](R)},_0x4466fa instanceof _0xafe476){const _0xaf0778=_0x4466fa[_0x10a16f(0xcd)][_0x10a16f(0xcf)](_0x10a16f(0x8d)),_0x464c59=_0x4466fa[_0x10a16f(0x99)][_0x10a16f(0xcf)](_0x50ee1f);await this[_0x10a16f(0xb3)](_0xaf0778);const _0x390018=await this[_0x10a16f(0xe4)][_0x10a16f(0xcf)](_0xaf0778)[_0x10a16f(0xa2)]();this[_0x10a16f(0xdc)](_0x464c59,_0x10a16f(0xe6)+_0xaf0778,(_0x50d694,{session:_0x533a67})=>{const _0x1e609b=_0x10a16f;_0x533a67['id']===_0x464c59[_0x1e609b(0x8f)]&&(_0x50d694[_0x1e609b(0xab)](),this[_0x1e609b(0xb8)][_0x1e609b(0x99)][_0x1e609b(0xcf)](_0x1e609b(0xc5))[_0x1e609b(0x9a)](_0x533a67[_0x1e609b(0xde)],_0xaf0778));}),_0x464c59[_0x10a16f(0xc0)](_0xaf0778,_0x390018);}}async[_0x1e5147(0xb3)](_0x3b024c){const _0xb8e825=_0x1e5147;if(this[_0xb8e825(0xe4)][_0xb8e825(0xbe)](_0x3b024c))throw new _0x32afb8(_0xb8e825(0xa1),null,{'channelId':_0x3b024c});const _0x210009=this[_0xb8e825(0xb8)][_0xb8e825(0x99)][_0xb8e825(0xcf)](_0xb8e825(0xd6)),_0x1b08bc=new a[(_0xb8e825(0x90))](_0x3b024c);this[_0xb8e825(0xe4)][_0xb8e825(0x9f)](_0x3b024c,_0x1b08bc),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0x8e),(_0x32e665,_0x5c382f)=>{const _0x66d32b=_0xb8e825,{commentThreadId:_0x88fbeb,documentId:_0x19a360,context:_0x32cb49,attributes:_0xb5b723,resolvedAt:_0x479108,resolvedBy:_0x8bf1d1,comments:_0x55864b}=_0x5c382f;_0x210009[_0x66d32b(0x89)](_0x88fbeb)||_0x210009[_0x66d32b(0xdd)]({'threadId':_0x88fbeb,'channelId':_0x19a360,'comments':_0x55864b?_0x55864b[_0x66d32b(0x9e)](_):[],'context':_0x32cb49,'attributes':_0xb5b723,'resolvedAt':_0x479108,'resolvedBy':_0x8bf1d1,'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xcb),(_0x57ee14,{commentThreadId:_0x4cec87,documentId:_0x4b9786,context:_0x5c7d25,unlinkedAt:_0x8ab461,attributes:_0x1ce430})=>{const _0x5e7317=_0xb8e825;_0x210009[_0x5e7317(0x89)](_0x4cec87)&&_0x210009[_0x5e7317(0xa7)]({'threadId':_0x4cec87,'channelId':_0x4b9786,'context':_0x5c7d25,'unlinkedAt':_0x8ab461,'attributes':_0x1ce430,'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0x81),(_0x5ef85d,{commentThreadId:_0x231032,resolvedBy:_0x2fa56d,resolvedAt:_0x34095c})=>{const _0x304d6d=_0xb8e825,_0x1ecde7=_0x210009[_0x304d6d(0x89)](_0x231032);_0x1ecde7&&_0x1ecde7[_0x304d6d(0x85)]({'resolvedBy':_0x2fa56d,'resolvedAt':_0x34095c,'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0x88),(_0x234021,{commentThreadId:_0x3a2b22})=>{const _0x1d0cea=_0xb8e825,_0x4da31c=_0x210009[_0x1d0cea(0x89)](_0x3a2b22);_0x4da31c&&_0x4da31c[_0x1d0cea(0xaf)]({'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xc9),(_0x178c8b,{commentThreadId:_0x12e88d})=>{const _0x3c847d=_0xb8e825,_0x4dce35=_0x210009[_0x3c847d(0x89)](_0x12e88d);_0x4dce35&&_0x4dce35[_0x3c847d(0xd9)]({'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xb4),(_0x1eeaa9,_0x46df8e)=>{const _0x3cdcff=_0xb8e825,_0x145a60=_0x46df8e[_0x3cdcff(0xc6)],_0x39c5eb=_0x210009[_0x3cdcff(0x89)](_0x145a60);_0x39c5eb&&_0x39c5eb[_0x3cdcff(0x95)]({..._(_0x46df8e),'isFromAdapter':!0x0});}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xe0),(_0x3432af,{commentThreadId:_0x57b92e,commentId:_0x3bba1e,content:_0x534807,attributes:_0x2a797a})=>{const _0x89f84d=_0xb8e825,_0x241430=_0x210009[_0x89f84d(0x89)](_0x57b92e);if(_0x241430){const _0x1b46e1=_0x241430[_0x89f84d(0xa3)](_0x3bba1e);_0x1b46e1&&_0x1b46e1[_0x89f84d(0x9b)]({'content':_0x534807,'attributes':_0x2a797a,'isFromAdapter':!0x0});}}),this[_0xb8e825(0xdc)](_0x1b08bc,_0xb8e825(0xa4),(_0x278616,{commentThreadId:_0x36561f,commentId:_0x43fd14})=>{const _0xd16ad2=_0xb8e825,_0x11dd9a=_0x210009[_0xd16ad2(0x89)](_0x36561f);if(_0x11dd9a){const _0x1bcdc2=_0x11dd9a[_0xd16ad2(0xa3)](_0x43fd14);_0x1bcdc2&&_0x1bcdc2[_0xd16ad2(0xd9)]({'isFromAdapter':!0x0});}}),await this[_0xb8e825(0xc2)](_0x3b024c);}[_0x1e5147(0xc7)](){const _0x28e47b=_0x1e5147;if(this[_0x28e47b(0xb8)]instanceof _0xafe476){const _0x11520b=this[_0x28e47b(0xb8)][_0x28e47b(0xcd)][_0x28e47b(0xcf)](_0x28e47b(0x8d));this[_0x28e47b(0x84)](_0x11520b);}}[_0x1e5147(0x84)](_0x426ca0){const _0x3d2823=_0x1e5147;if(!this[_0x3d2823(0xe4)][_0x3d2823(0xbe)](_0x426ca0))throw new _0x32afb8(_0x3d2823(0xd1),null,{'channelId':_0x426ca0});this[_0x3d2823(0x96)](_0x426ca0)[_0x3d2823(0x92)](),this[_0x3d2823(0xe4)][_0x3d2823(0x86)](_0x426ca0);}async[_0x1e5147(0xbc)](){const _0x27d2cb=_0x1e5147;for(const _0x3ed388 of this[_0x27d2cb(0xe4)][_0x27d2cb(0xbd)]())await this[_0x27d2cb(0xc2)](_0x3ed388);if(this[_0x27d2cb(0xb8)]instanceof _0xafe476){const _0x3ab252=this[_0x27d2cb(0xb8)][_0x27d2cb(0xcd)][_0x27d2cb(0xcf)](_0x27d2cb(0x8d)),_0x34dbf9=this[_0x27d2cb(0xb8)][_0x27d2cb(0x99)][_0x27d2cb(0xcf)](_0x50ee1f);_0x34dbf9[_0x27d2cb(0xb0)](_0x3ab252);const _0x128ed1=await this[_0x27d2cb(0xe4)][_0x27d2cb(0xcf)](_0x3ab252)[_0x27d2cb(0xa2)]();_0x34dbf9[_0x27d2cb(0xc0)](_0x3ab252,_0x128ed1);}}async[_0x1e5147(0xc2)](_0x4cadbc){const _0x1c14dd=_0x1e5147,{connection:_0x311b82}=this[_0x1c14dd(0xb8)][_0x1c14dd(0x99)][_0x1c14dd(0xcf)](_0x42ab98),_0x5ecf97=this[_0x1c14dd(0xb8)][_0x1c14dd(0x99)][_0x1c14dd(0xcf)](_0x1c14dd(0xd6)),_0x7696f5=this[_0x1c14dd(0xe4)][_0x1c14dd(0xcf)](_0x4cadbc),_0xd8d8b=await _0x7696f5[_0x1c14dd(0xa0)](_0x311b82);await this[_0x1c14dd(0xe1)](_0xd8d8b);const _0x50a704=new Set(Array[_0x1c14dd(0xa9)](_0x5ecf97[_0x1c14dd(0x87)]({'channelId':_0x4cadbc}),_0x582d53=>_0x582d53['id']));for(const _0x1e5c00 of _0xd8d8b)_0x1e5c00[_0x1c14dd(0xd7)]||_0x50a704[_0x1c14dd(0x86)](_0x1e5c00[_0x1c14dd(0xc6)]);for(const _0x20d852 of _0x50a704)_0x5ecf97[_0x1c14dd(0x89)](_0x20d852)[_0x1c14dd(0xd9)]({'isFromAdapter':!0x0});for(const _0x5d0ae1 of _0xd8d8b){let _0x2d3b49=_0x5ecf97[_0x1c14dd(0x89)](_0x5d0ae1[_0x1c14dd(0xc6)]);const {commentThreadId:_0x1d67cb,context:_0x23f1ab,attributes:_0x4fd132,resolvedBy:_0x201343,resolvedAt:_0x5ae449,unlinkedAt:_0x45ab5a,deletedAt:_0x59000b}=_0x5d0ae1;if(_0x59000b)continue;_0x2d3b49||(_0x2d3b49=_0x5ecf97[_0x1c14dd(0xdd)]({'channelId':_0x4cadbc,'threadId':_0x1d67cb,'context':_0x23f1ab,'attributes':_0x4fd132||{},'resolvedBy':_0x201343,'resolvedAt':_0x5ae449,'unlinkedAt':_0x45ab5a,'isFromAdapter':!0x0}));const _0x32677a=new Set(Array[_0x1c14dd(0xa9)](_0x2d3b49[_0x1c14dd(0xa6)],_0x3bef19=>_0x3bef19['id']));for(const _0x16d2ed of _0x5d0ae1[_0x1c14dd(0xa6)])_0x32677a[_0x1c14dd(0x86)](_0x16d2ed[_0x1c14dd(0x9d)]);for(const _0x58e268 of _0x32677a)_0x2d3b49[_0x1c14dd(0xa3)](_0x58e268)[_0x1c14dd(0xd9)]({'isFromAdapter':!0x0});for(const _0x242b69 of _0x5d0ae1[_0x1c14dd(0xa6)]){const _0x1d230a=_0x2d3b49[_0x1c14dd(0xa3)](_0x242b69[_0x1c14dd(0x9d)]);_0x1d230a?_0x1d230a[_0x1c14dd(0xb6)]!==_0x242b69[_0x1c14dd(0xb6)]&&_0x1d230a[_0x1c14dd(0x9b)]({'content':_0x242b69[_0x1c14dd(0xb6)],'isFromAdapter':!0x0}):_0x2d3b49[_0x1c14dd(0x95)](Object[_0x1c14dd(0xaa)](_(_0x242b69),{'isFromAdapter':!0x0}));}}}[_0x1e5147(0x96)](_0x1d59c7){const _0x5c3855=_0x1e5147;if(!this[_0x5c3855(0xe4)][_0x5c3855(0xbe)](_0x1d59c7))throw new _0x32afb8(_0x5c3855(0xda),null,{'channelId':_0x1d59c7});return this[_0x5c3855(0xe4)][_0x5c3855(0xcf)](_0x1d59c7);}async[_0x1e5147(0xe1)](_0xe8bc1e){const _0x1695fa=_0x1e5147,_0x255f15=this[_0x1695fa(0xb8)][_0x1695fa(0x99)][_0x1695fa(0xcf)](_0x5d8f2a),{connection:_0x3dc78a}=this[_0x1695fa(0xb8)][_0x1695fa(0x99)][_0x1695fa(0xcf)](_0x42ab98),_0xfe1659=new Set();for(const {resolvedBy:_0x362728,comments:_0x5b3395}of _0xe8bc1e){_0x362728&&!_0x255f15[_0x1695fa(0xc3)](_0x362728)&&_0xfe1659[_0x1695fa(0x98)](_0x362728);for(const {userId:_0x53e100}of _0x5b3395)_0x255f15[_0x1695fa(0xc3)](_0x53e100)||_0xfe1659[_0x1695fa(0x98)](_0x53e100);}if(0x0===_0xfe1659[_0x1695fa(0x91)])return;const _0x4548ca=await _0x237848[_0x1695fa(0xd5)](_0x3dc78a,Array[_0x1695fa(0xa9)](_0xfe1659));for(const _0x53b58c of _0x4548ca)_0x255f15[_0x1695fa(0xc3)](_0x53b58c['id'])||_0x255f15[_0x1695fa(0xc4)](_0x53b58c);}}export default a;async function S(_0x1d2dd2){const _0x438cb3=_0x1e5147;if(_0x438cb3(0xd2)!==_0x1d2dd2[_0x438cb3(0x94)])throw _0x1d2dd2;}function R(_0x310624){const _0x12a3ab=_0x1e5147;if((_0x3ae4ad=_0x310624)[_0x12a3ab(0xbf)][_0x12a3ab(0xc8)](_0x12a3ab(0x93))||_0x3ae4ad[_0x12a3ab(0xbf)][_0x12a3ab(0xc8)](_0x12a3ab(0xa5))||_0x3ae4ad[_0x12a3ab(0xbf)][_0x12a3ab(0xc8)](_0x12a3ab(0xb1)))return new Promise(()=>{});var _0x3ae4ad;throw _0x310624;}function _0x18a5(){const _0x48edb6=['set','connect','cloudservicescommentsadapter-connect-already-connected','getConnectedSessions','getComment','commentRemoved','cloud-services-internal-error:\x20Not\x20connected.','comments','updateCommentThread','init','from','assign','off','resolveCommentThread','4120853zlhnXL','removeComment','reopen','unregister','cloud-services-internal-error:\x20Request\x20timeout.','requires','_setUpService','commentAdded','reopenCommentThread','content','8635470SSFthY','context','adapter','10VZYCHu','2447837tbtuIQ','reconnect','keys','has','message','register','resolvedBy','_connectService','getUser','addUser','Permissions','commentThreadId','destroy','startsWith','commentThreadRemoved','1242faHVPC','commentThreadUpdated','CloudServicesCommentsAdapter','config','resolvedAt','get','addToReconnectionStack','cloudservicescommentsadapter-disconnect-not-exist','404','isPremiumPlugin','isOfficialPlugin','getMany','CommentsRepository','deletedAt','16rTRraF','remove','cloudservicescommentsadapter-service-not-exist','updateComment','listenTo','addCommentThread','permissions','72273yzXHwk','commentUpdated','_fetchMissingUsersForThreads','attributes','catch','_services','2039hdScdo','sessionAdd:','3579410rUYYQl','commentThreadResolved','removeCommentThread','createdAt','_terminateService','resolve','delete','getCommentThreads','commentThreadReopened','getCommentThread','76PwiIpp','698121dSJdpg','pluginName','collaboration.channelId','commentThreadAdded','mySessionId','CommentsService','size','disconnect','cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.','code','addComment','_getService','authorId','add','plugins','setPermissions','update','userId','commentId','map'];_0x18a5=function(){return _0x48edb6;};return _0x18a5();}function _(_0x33e0fe){const _0x1711be=_0x1e5147;return{'threadId':_0x33e0fe[_0x1711be(0xc6)],'commentId':_0x33e0fe[_0x1711be(0x9d)],'content':_0x33e0fe[_0x1711be(0xb6)],'createdAt':_0x33e0fe[_0x1711be(0x83)],'authorId':_0x33e0fe[_0x1711be(0x9c)],'attributes':_0x33e0fe[_0x1711be(0xe2)]||{}};}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4067(){const _0x2bf68a=['change:state','requires','listenTo','get','isOfficialPlugin','pluginName','Comments','292364mHNund','switchReadOnly','_terminateService','ready','once','2dDaKMM','6503470mTBzhJ','collaboration.channelId','9wGyziA','isPremiumPlugin','13158824SuVrSH','6fileYw','233944XqkCYj','destroy','isThreadsLoadingPaused','connected','config','CommentsEditing','init','_setUpService','data','143iVTauF','2827821wOdjNN','RealTimeCollaborativeComments','plugins','CommentsRepository','editor','4027736mvZgLb','1957428ankYcn','110wWeZKD'];_0x4067=function(){return _0x2bf68a;};return _0x4067();}const _0x31b126=_0x1cfe;(function(_0x2cb7b6,_0x558270){const _0x3106c8=_0x1cfe,_0x3cd9a2=_0x2cb7b6();while(!![]){try{const _0x25ecc4=-parseInt(_0x3106c8(0x146))/0x1*(-parseInt(_0x3106c8(0x13f))/0x2)+parseInt(_0x3106c8(0x150))/0x3+-parseInt(_0x3106c8(0x13a))/0x4*(parseInt(_0x3106c8(0x132))/0x5)+-parseInt(_0x3106c8(0x145))/0x6*(parseInt(_0x3106c8(0x144))/0x7)+parseInt(_0x3106c8(0x130))/0x8+-parseInt(_0x3106c8(0x142))/0x9*(-parseInt(_0x3106c8(0x140))/0xa)+-parseInt(_0x3106c8(0x14f))/0xb*(-parseInt(_0x3106c8(0x131))/0xc);if(_0x25ecc4===_0x558270)break;else _0x3cd9a2['push'](_0x3cd9a2['shift']());}catch(_0x13925f){_0x3cd9a2['push'](_0x3cd9a2['shift']());}}}(_0x4067,0xeb206));import{Plugin as _0x542277}from'ckeditor5/src/core.js';import _0x2867aa from'./realtimecollaborativecomments/cloudservicescommentsadapter.js';function _0x1cfe(_0x40e6da,_0x402864){const _0x406768=_0x4067();return _0x1cfe=function(_0x1cfe08,_0x3ebbc9){_0x1cfe08=_0x1cfe08-0x12f;let _0x34d818=_0x406768[_0x1cfe08];return _0x34d818;},_0x1cfe(_0x40e6da,_0x402864);}import _0x50cbf4 from'./realtimecollaborativeediting.js';import _0x57dc36 from'./realtimecollaborativeediting/websocketgateway.js';export default class m extends _0x542277{static get[_0x31b126(0x134)](){const _0x152cba=_0x31b126;return[_0x152cba(0x139),_0x2867aa,_0x50cbf4,_0x57dc36];}static get[_0x31b126(0x138)](){const _0x778b3f=_0x31b126;return _0x778b3f(0x151);}static get[_0x31b126(0x137)](){return!0x0;}static get[_0x31b126(0x143)](){return!0x0;}[_0x31b126(0x14c)](){const _0x302257=_0x31b126,_0x2d311e=this[_0x302257(0x12f)][_0x302257(0x152)][_0x302257(0x136)](_0x57dc36),_0x2092ad=this[_0x302257(0x12f)][_0x302257(0x152)][_0x302257(0x136)](_0x302257(0x14b)),_0x529143=this[_0x302257(0x12f)][_0x302257(0x152)][_0x302257(0x136)](_0x2867aa);return this[_0x302257(0x12f)][_0x302257(0x14e)][_0x302257(0x13e)](_0x302257(0x13d),()=>{const _0x5b4056=_0x302257;this[_0x5b4056(0x135)](_0x2d311e,_0x5b4056(0x133),(_0x2c3a59,_0x1a73e7,_0x16f6a1)=>{const _0x40acd7=_0x5b4056;_0x2092ad[_0x40acd7(0x148)]=_0x40acd7(0x149)!==_0x16f6a1;});}),this[_0x302257(0x135)](_0x2d311e,_0x302257(0x133),(_0x46a961,_0x23edbe,_0x19bca9)=>{const _0x4d6af5=_0x302257;this[_0x4d6af5(0x12f)][_0x4d6af5(0x152)][_0x4d6af5(0x136)](_0x4d6af5(0x153))[_0x4d6af5(0x13b)](_0x4d6af5(0x149)!==_0x19bca9);}),_0x529143[_0x302257(0x14d)](this[_0x302257(0x12f)][_0x302257(0x14a)][_0x302257(0x136)](_0x302257(0x141)));}[_0x31b126(0x147)](){const _0x4dc103=_0x31b126;this[_0x4dc103(0x12f)][_0x4dc103(0x152)][_0x4dc103(0x136)](_0x2867aa)[_0x4dc103(0x13c)](this[_0x4dc103(0x12f)][_0x4dc103(0x14a)][_0x4dc103(0x136)](_0x4dc103(0x141))),super[_0x4dc103(0x147)]();}}
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
24
|
-
((()=>_0x46e3f2)());[_0x235b71(0x134)];[_0x235b71(0x15a)];[_0x235b71(0x117)];[_0x235b71(0x147)];[_0x235b71(0x155)];[_0x235b71(0x183)];[_0x235b71(0xf8)];[_0x235b71(0x116)];[_0x235b71(0xc8)];[_0x235b71(0xed)];[_0x235b71(0x164)];[_0x235b71(0x11b)];[_0x235b71(0x191)];[_0x235b71(0x12e)];[_0x235b71(0x18a)];[_0x235b71(0x153)];[_0x235b71(0x15b)];[_0x235b71(0x182)];static get[_0x235b71(0x11a)](){return[_0x1250eb,_0x31ac59,_0x5d8e95,_0x202f01,_0x2bb777,_0x22e141];}static get[_0x235b71(0xc7)](){const _0x22feff=_0x235b71;return _0x22feff(0xf0);}static get[_0x235b71(0x168)](){return!0x0;}static get[_0x235b71(0xa2)](){return!0x0;}get[_0x235b71(0x169)](){const _0xd8fed3=_0x235b71;return this[_0xd8fed3(0x17d)]+this[_0xd8fed3(0x134)];}get[_0x235b71(0x17d)](){const _0x45fa23=_0x235b71;return this[_0x45fa23(0x117)][_0x45fa23(0x186)]-this[_0x45fa23(0x134)];}get[_0x235b71(0xb0)](){const _0x36354a=_0x235b71,_0x1c9e2a=this[_0x36354a(0x117)][_0x36354a(0xae)]();for(let _0x19bc4f=_0x1c9e2a[_0x36354a(0xf2)]-0x1;_0x19bc4f>=0x0;_0x19bc4f--){const _0x3f4f8f=_0x1c9e2a[_0x19bc4f];if(!this[_0x36354a(0x15b)][_0x36354a(0x13c)](_0x3f4f8f))return _0x3f4f8f[_0x36354a(0x162)]+0x1-this[_0x36354a(0x134)];}return 0x0;}constructor(_0x405cbb){const _0x1f61fb=_0x235b71;if(super(_0x405cbb),this[_0x1f61fb(0x134)]=0x0,this[_0x1f61fb(0x15a)]=null,this[_0x1f61fb(0x117)]=new _0x31591b(),this[_0x1f61fb(0x197)][_0x1f61fb(0x114)][_0x1f61fb(0xad)](_0x1f61fb(0x198),{}),this[_0x1f61fb(0x147)]=this[_0x1f61fb(0x197)][_0x1f61fb(0x114)][_0x1f61fb(0xf7)](_0x1f61fb(0xca)),!this[_0x1f61fb(0x147)])throw new _0x33c97c(_0x1f61fb(0xe5),this);const _0x417b5c=_0x405cbb[_0x1f61fb(0x114)][_0x1f61fb(0xf7)](_0x1f61fb(0x177))||_0x46977e;this[_0x1f61fb(0x155)]=new l[(_0x1f61fb(0x18f))](_0x417b5c,this[_0x1f61fb(0x147)]),this[_0x1f61fb(0x183)]=this[_0x1f61fb(0x197)][_0x1f61fb(0xc1)][_0x1f61fb(0xda)],this[_0x1f61fb(0xf8)]=new _0x45f44(),this[_0x1f61fb(0x116)]=[],this[_0x1f61fb(0xc8)]=new WeakSet(),this[_0x1f61fb(0xed)]=new Set(),this[_0x1f61fb(0x137)](_0x1f61fb(0x107),!0x1),this[_0x1f61fb(0x137)](_0x1f61fb(0xec),!0x1),this[_0x1f61fb(0x164)]=null,this[_0x1f61fb(0x11b)]=!0x1,this[_0x1f61fb(0x191)]=null,this[_0x1f61fb(0x12e)]=0x12c,this[_0x1f61fb(0x18a)]=this[_0x1f61fb(0x12e)],this[_0x1f61fb(0x153)]=null,this[_0x1f61fb(0x15b)]=new WeakSet(),this[_0x1f61fb(0x182)]=new Y(this[_0x1f61fb(0x15b)]);}[_0x235b71(0x152)](){const _0x300659=_0x235b71,_0x368101=this[_0x300659(0x197)],_0x379f1f=_0x368101[_0x300659(0x122)][_0x300659(0xf7)](_0x2bb777),_0x3b80b5=_0x368101[_0x300659(0x122)][_0x300659(0xf7)](_0x1250eb);this[_0x300659(0xa4)](_0x379f1f,_0x300659(0x171),(_0x2e15a9,_0x53aded)=>{const _0x61794f=_0x300659,_0x43911e=_0x53aded[0x0];_0x43911e[_0x61794f(0xc5)]&&(_0x2e15a9[_0x61794f(0x10c)]=_0x379f1f[_0x61794f(0x128)](_0x43911e[_0x61794f(0xc5)]),_0x2e15a9[_0x61794f(0x10f)]()),null===_0x43911e[_0x61794f(0xc5)]&&(_0x2e15a9[_0x61794f(0x10c)]=null,_0x2e15a9[_0x61794f(0x10f)]());},{'priority':_0x300659(0xfe)}),this[_0x300659(0xa4)](_0x368101[_0x300659(0xc1)][_0x300659(0xda)][_0x300659(0x99)],_0x300659(0x12c),(_0x53c2d6,_0xa5d40b)=>{const _0x405209=_0x300659;_0xa5d40b[_0x405209(0x98)]&&this[_0x405209(0x115)]();}),this[_0x300659(0xa4)](_0x368101[_0x300659(0xce)][_0x300659(0x10e)],_0x300659(0x192),()=>{const _0x3aba40=_0x300659;this[_0x3aba40(0x115)]();}),this[_0x300659(0xbb)](),_0x368101[_0x300659(0xc1)]['on'](_0x300659(0xb7),(_0x5b3f68,_0x1d936b)=>{const _0x5bfe1a=_0x300659,_0x270b15=_0x1d936b[0x0];_0x270b15[_0x5bfe1a(0x112)]&&(this[_0x5bfe1a(0xa1)](_0x270b15),this[_0x5bfe1a(0x9a)]()&&this[_0x5bfe1a(0x15f)]());}),this[_0x300659(0xc4)](),this[_0x300659(0x159)](_0x300659(0xe8))['to'](_0x3b80b5,_0x300659(0x160),this,_0x300659(0xec),(_0x3b2581,_0x5bca09)=>_0x300659(0x185)===_0x3b2581&&!_0x5bca09),this['on'](_0x300659(0x103),()=>{const _0x1f18d7=_0x300659;this[_0x1f18d7(0xe8)]?_0x368101[_0x1f18d7(0x175)](_0x1f18d7(0x16c)):_0x368101[_0x1f18d7(0xb9)](_0x1f18d7(0x16c));}),this[_0x300659(0xe8)]?_0x368101[_0x300659(0x175)](_0x300659(0x16c)):_0x368101[_0x300659(0xb9)](_0x300659(0x16c)),this[_0x300659(0x137)](_0x300659(0x12d),!0x1);}async[_0x235b71(0x100)](){const _0x5db0b0=_0x235b71,_0x4bda8d=this[_0x5db0b0(0x197)][_0x5db0b0(0x122)][_0x5db0b0(0xf7)](_0x31ac59),_0x90ed47=this[_0x5db0b0(0x197)][_0x5db0b0(0x122)][_0x5db0b0(0xf7)](_0x1250eb);try{this[_0x5db0b0(0x107)]=!0x0,_0x4bda8d[_0x5db0b0(0x172)](this[_0x5db0b0(0x147)]);const _0x1435ec=await this[_0x5db0b0(0x155)][_0x5db0b0(0x100)](_0x90ed47[_0x5db0b0(0x135)],this[_0x5db0b0(0xb0)]);await this[_0x5db0b0(0x173)](_0x1435ec)&&(this[_0x5db0b0(0x107)]=!0x1,this[_0x5db0b0(0x12b)]());const _0x164afd=await this[_0x5db0b0(0x155)][_0x5db0b0(0x167)]();_0x4bda8d[_0x5db0b0(0x106)](this[_0x5db0b0(0x147)],_0x164afd),this[_0x5db0b0(0x121)](),this[_0x5db0b0(0x12d)]=!0x0;}catch(_0x1db6bf){if(function(_0x52d342){const _0x464c9e=_0x5db0b0;return _0x464c9e(0xd6)===_0x52d342[_0x464c9e(0x17a)];}(_0x1db6bf)&&this[_0x5db0b0(0x15a)])await this[_0x5db0b0(0xdc)]();else{if(function(_0x14a904){const _0x140bf2=_0x5db0b0;return _0x140bf2(0xbc)===_0x14a904[_0x140bf2(0x17a)];}(_0x1db6bf)){const _0x26869c=_0x332736(this[_0x5db0b0(0x197)][_0x5db0b0(0x138)],_0x5db0b0(0xf4));this[_0x5db0b0(0x143)](_0x26869c);}else{if(!(_0x1db6bf instanceof Q))throw _0x1db6bf;this[_0x5db0b0(0x143)]();}}}}[_0x235b71(0x130)](){const _0x4e2a86=_0x235b71,_0x435f65=this[_0x4e2a86(0x197)][_0x4e2a86(0x122)][_0x4e2a86(0xf7)](_0x1250eb),_0x46a787=this[_0x4e2a86(0x197)][_0x4e2a86(0x122)][_0x4e2a86(0xf7)](_0x31ac59);this[_0x4e2a86(0x197)][_0x4e2a86(0xb9)](_0x4e2a86(0x149)),_0x46a787[_0x4e2a86(0x14d)][_0x4e2a86(0x13c)](this[_0x4e2a86(0x147)])&&_0x46a787[_0x4e2a86(0x172)](this[_0x4e2a86(0x147)]),_0x435f65[_0x4e2a86(0xbe)](this),this[_0x4e2a86(0xef)](),super[_0x4e2a86(0x130)]();}async[_0x235b71(0x173)](_0xc52e61){const _0x3b7862=_0x235b71;if(this[_0x3b7862(0x15a)]!==_0xc52e61[_0x3b7862(0x15a)]&&this[_0x3b7862(0x153)]!==_0xc52e61[_0x3b7862(0x12f)])throw new Q();return this[_0x3b7862(0x15a)]=_0xc52e61[_0x3b7862(0x15a)],this[_0x3b7862(0x11c)]([],{..._0xc52e61,'wereChangesApplied':!0x1,'data':_0xc52e61[_0x3b7862(0x14b)]},_0x3b7862(0x100));}async[_0x235b71(0x104)](_0x1f5b52,_0x137d9e=!0x1){const _0x3ba4cb=_0x235b71,{connection:_0x3ad018}=this[_0x3ba4cb(0x197)][_0x3ba4cb(0x122)][_0x3ba4cb(0xf7)](_0x1250eb);l[_0x3ba4cb(0x18f)][_0x3ba4cb(0x167)](_0x3ad018,this[_0x3ba4cb(0x147)])[_0x3ba4cb(0xe9)](_0x57a2ff=>this[_0x3ba4cb(0x110)](_0x57a2ff))[_0x3ba4cb(0x151)](_0xa6ee10=>{const _0x59c9cc=_0x3ba4cb;this[_0x59c9cc(0x96)](_0x59c9cc(0xfc),_0xa6ee10);}),this[_0x3ba4cb(0xa4)](this[_0x3ba4cb(0x155)],_0x3ba4cb(0xf9),this[_0x3ba4cb(0x141)][_0x3ba4cb(0x159)](this)),this[_0x3ba4cb(0xa4)](this[_0x3ba4cb(0x155)],_0x3ba4cb(0x127),(_0xb26fe9,_0x1da4ef)=>{const _0x35b206=_0x3ba4cb;this[_0x35b206(0x96)](_0x35b206(0x15e),_0x1da4ef);}),this[_0x3ba4cb(0xa4)](this[_0x3ba4cb(0x155)],_0x3ba4cb(0x166),()=>{const _0x47cb0d=_0x3ba4cb;this[_0x47cb0d(0x12d)]=!0x1;});const _0xfb8c96=this[_0x3ba4cb(0x182)][_0x3ba4cb(0x190)](_0x1f5b52);this[_0x3ba4cb(0x107)]=!0x0;const _0x24d671=await this[_0x3ba4cb(0x155)][_0x3ba4cb(0x14a)](_0x3ad018,this[_0x3ba4cb(0xc9)](_0x1f5b52),_0xfb8c96);if(this[_0x3ba4cb(0x15a)]=_0x24d671[_0x3ba4cb(0x15a)],_0x137d9e){if(!_0x24d671[_0x3ba4cb(0x163)])return void this[_0x3ba4cb(0x143)]();this[_0x3ba4cb(0x107)]=!0x1,this[_0x3ba4cb(0x12b)](),this[_0x3ba4cb(0x117)][_0x3ba4cb(0x158)](),this[_0x3ba4cb(0x134)]=_0x24d671[_0x3ba4cb(0x105)],this[_0x3ba4cb(0x117)][_0x3ba4cb(0x186)]=this[_0x3ba4cb(0x134)],await this[_0x3ba4cb(0x11c)](_0x1f5b52,_0x24d671,_0x3ba4cb(0x15d));}else await this[_0x3ba4cb(0xb1)](_0x24d671,_0x1f5b52);this[_0x3ba4cb(0x121)](),this[_0x3ba4cb(0x12d)]=!0x0;}[_0x235b71(0x121)](){const _0x48679b=_0x235b71,_0x578caa=this[_0x48679b(0x197)][_0x48679b(0x122)][_0x48679b(0xf7)](_0x31ac59),_0x471881=this[_0x48679b(0x197)][_0x48679b(0x122)][_0x48679b(0xf7)](_0x5d8e95),_0x5bcdf1=_0x578caa[_0x48679b(0x14d)][_0x48679b(0xf7)](this[_0x48679b(0x147)]);_0x5bcdf1&&_0x5bcdf1[_0x48679b(0xf2)]>0x1?_0x471881[_0x48679b(0x123)]():this[_0x48679b(0xa4)](_0x578caa,_0x48679b(0x10d)+this[_0x48679b(0x147)],()=>{const _0x5d7e8e=_0x48679b;0x2===_0x578caa[_0x5d7e8e(0x14d)][_0x5d7e8e(0xf7)](this[_0x5d7e8e(0x147)])[_0x5d7e8e(0xf2)]&&_0x471881[_0x5d7e8e(0x123)]();});}async[_0x235b71(0x141)](_0x8d5c29,_0xfb51b7,_0x4dc4bf,_0x468fb6){const _0xed925=_0x235b71;if(!this[_0xed925(0x107)]&&this[_0xed925(0x183)][_0xed925(0x186)]==_0xfb51b7){const _0x27ba8b=this[_0xed925(0x9f)](_0x4dc4bf,_0x468fb6);await this[_0xed925(0x120)](_0x27ba8b),this[_0xed925(0xff)](_0x27ba8b,_0xfb51b7,_0x4dc4bf[_0xed925(0x12f)])||this[_0xed925(0x96)](_0xed925(0xd1));}}async[_0x235b71(0xdc)](){const _0xf15146=_0x235b71;this[_0xf15146(0xef)]();const {locale:_0x2616df}=this[_0xf15146(0x197)];let _0x1f0475;try{_0x1f0475=await this[_0xf15146(0x155)][_0xf15146(0x11e)]();}catch{const _0xa9be3e=_0x332736(_0x2616df,_0xf15146(0x9c));return void this[_0xf15146(0x143)](_0xa9be3e);}const _0x1a9939=_0x1f0475[_0xf15146(0xd4)]||_0x1f0475[_0xf15146(0x118)];if(this[_0xf15146(0x153)]===_0x1a9939[_0xf15146(0x12f)])await this[_0xf15146(0x104)](this[_0xf15146(0x197)][_0xf15146(0xc1)][_0xf15146(0xda)][_0xf15146(0x195)][_0xf15146(0xae)](),!0x0);else{const _0x559e93=_0x332736(_0x2616df,_0xf15146(0xa8));this[_0xf15146(0x143)](_0x559e93);}}[_0x235b71(0xef)](){const _0x1e5ee1=_0x235b71;this[_0x1e5ee1(0x155)][_0x1e5ee1(0x174)](),this[_0x1e5ee1(0x116)]=[],clearTimeout(this[_0x1e5ee1(0x191)]),this[_0x1e5ee1(0x184)](this[_0x1e5ee1(0x155)]);}[_0x235b71(0x110)](_0x46e178){const _0xcc1597=_0x235b71,_0x461f91=this[_0xcc1597(0x197)][_0xcc1597(0x122)][_0xcc1597(0xf7)](_0x31ac59);this[_0xcc1597(0xa4)](_0x461f91,_0xcc1597(0x10d)+this[_0xcc1597(0x147)],(_0x4ccc86,{session:_0xc00a90})=>{const _0x2c808f=_0xcc1597;if(_0xc00a90['id']===_0x461f91[_0x2c808f(0x13b)]){_0x4ccc86[_0x2c808f(0x193)]();const _0x5cb98f=this[_0x2c808f(0x197)][_0x2c808f(0x122)][_0x2c808f(0x13c)](_0x2c808f(0xd7))&&this[_0x2c808f(0x197)][_0x2c808f(0x122)][_0x2c808f(0xf7)](_0x2c808f(0xd7));let _0x20394a=_0xc00a90[_0x2c808f(0x140)];_0x5cb98f&&_0x5cb98f[_0x2c808f(0xb4)]&&(_0x20394a=_0x20394a[_0x2c808f(0xcc)](_0x57f7e8=>_0x2c808f(0x189)!==_0x57f7e8)),this[_0x2c808f(0x197)][_0x2c808f(0x122)][_0x2c808f(0xf7)](_0x2c808f(0xba))[_0x2c808f(0x139)](_0x20394a,this[_0x2c808f(0x147)]);}}),_0x461f91[_0xcc1597(0x106)](this[_0xcc1597(0x147)],_0x46e178);}[_0x235b71(0xbb)](){const _0x49c9fb=_0x235b71,_0x5c27c9=this[_0x49c9fb(0x197)][_0x49c9fb(0x14b)][_0x49c9fb(0x137)];this[_0x49c9fb(0x197)][_0x49c9fb(0x14b)][_0x49c9fb(0x137)]=(..._0x4ce851)=>{const _0x4d7d6a=_0x49c9fb;if(!_0x4ce851[_0x4ce851[_0x4d7d6a(0xf2)]-0x1][_0x4d7d6a(0xd3)])throw new _0x33c97c(_0x4d7d6a(0xb3),this);_0x5c27c9[_0x4d7d6a(0x196)](this[_0x4d7d6a(0x197)][_0x4d7d6a(0x14b)],_0x4ce851);};}[_0x235b71(0xc4)](){const _0x1fd937=_0x235b71;this[_0x1fd937(0x197)][_0x1fd937(0x14b)]['on'](_0x1fd937(0x152),(_0x4b813e,[_0x25ca1a])=>{const _0x24d7dd=_0x1fd937;if(this[_0x24d7dd(0x183)][_0x24d7dd(0x186)])throw new _0x33c97c(_0x24d7dd(0x18c),this);_0x4b813e[_0x24d7dd(0x10f)](),this[_0x24d7dd(0x14e)]();const _0xee1b11=this[_0x24d7dd(0x197)][_0x24d7dd(0x114)][_0x24d7dd(0xf7)](_0x24d7dd(0x13e)),_0x40360a=this[_0x24d7dd(0x18b)](_0x25ca1a,_0xee1b11);0x0==_0x40360a[_0x24d7dd(0xf2)]&&_0x40360a[_0x24d7dd(0xa0)](new _0x5e4b0(0x0)),_0x4b813e[_0x24d7dd(0x10c)]=this[_0x24d7dd(0x104)](_0x40360a)[_0x24d7dd(0xe9)](()=>{const _0x319978=_0x24d7dd;this[_0x319978(0x197)][_0x319978(0x122)][_0x319978(0xf7)](_0x1250eb)[_0x319978(0xe7)](this),this[_0x319978(0x197)][_0x319978(0x14b)][_0x319978(0xee)](_0x319978(0xd8));})[_0x24d7dd(0x151)](_0x3c2b59=>this[_0x24d7dd(0x96)](_0x24d7dd(0x16d),_0x3c2b59))[_0x24d7dd(0x165)](()=>this[_0x24d7dd(0x12b)]());},{'priority':_0x1fd937(0xfe)}),this[_0x1fd937(0x197)]['on'](_0x1fd937(0xbf),async(_0xbc2687,[_0x283fa4,_0x3dc243])=>{const _0x500d67=_0x1fd937;_0xbc2687[_0x500d67(0x10f)]();const _0x1f4eae=this[_0x500d67(0x197)][_0x500d67(0xc1)][_0x500d67(0xda)][_0x500d67(0x97)](_0x283fa4);if(!this[_0x500d67(0xed)][_0x500d67(0x13c)](_0x283fa4)){const _0x32d1e5=_0x3dc243&&_0x3dc243[_0x500d67(0x14b)]?_0x3dc243[_0x500d67(0x14b)]:'',_0x4b4f5f=_0x3dc243&&_0x3dc243[_0x500d67(0x9e)]?_0x3dc243[_0x500d67(0x9e)]:{};await this[_0x500d67(0x113)](_0x283fa4,_0x32d1e5,_0x4b4f5f);}this[_0x500d67(0x197)][_0x500d67(0xc1)][_0x500d67(0xf5)]({'isUndoable':!0x1},()=>{const _0x28f382=_0x500d67;_0x1f4eae[_0x28f382(0x17e)]=!0x0,this[_0x28f382(0x197)][_0x28f382(0xc1)][_0x28f382(0xda)][_0x28f382(0x101)][_0x28f382(0xcf)](_0x1f4eae);});},{'priority':_0x1fd937(0xfe)});}async[_0x235b71(0x120)](_0x33b3d4){const _0x224b47=_0x235b71,_0x2d7b83=this[_0x224b47(0x197)][_0x224b47(0x122)][_0x224b47(0xf7)](_0x2bb777),{connection:_0x785645}=this[_0x224b47(0x197)][_0x224b47(0x122)][_0x224b47(0xf7)](_0x1250eb),_0x82cb9a=new Set();for(const _0x2800f1 of _0x33b3d4){const _0x268c31=_0x2800f1[_0x224b47(0xc5)];_0x268c31&&!_0x2d7b83[_0x224b47(0x128)](_0x268c31)&&_0x82cb9a[_0x224b47(0x188)](_0x268c31);}if(0x0===_0x82cb9a[_0x224b47(0xcd)])return;const _0x4d10dc=await _0x16e951[_0x224b47(0x157)](_0x785645,Array[_0x224b47(0x126)](_0x82cb9a));for(const _0x3b3b0b of _0x4d10dc)_0x2d7b83[_0x224b47(0x128)](_0x3b3b0b['id'])||_0x2d7b83[_0x224b47(0xab)](_0x3b3b0b);}[_0x235b71(0x18b)](_0x46ad76,_0x246851={}){const _0x339aad=_0x235b71,_0xf2accf=this[_0x339aad(0x197)][_0x339aad(0xc1)],_0x2a2548=[];let _0x22c751=0x0;const _0x2492c7=_0x339aad(0x17f)==typeof _0x46ad76?{'main':_0x46ad76}:_0x46ad76;for(const _0x2d3e62 of Object[_0x339aad(0x180)](_0x2492c7)){if(!this[_0x339aad(0x183)][_0x339aad(0x142)][_0x339aad(0x13c)](_0x2d3e62))throw new _0x33c97c(_0x339aad(0xf3),this);const _0x5bfd20=this[_0x339aad(0x197)][_0x339aad(0x14b)][_0x339aad(0xc3)](_0x2492c7[_0x2d3e62]),_0x53b688=this[_0x339aad(0x183)][_0x339aad(0x97)](_0x2d3e62),_0x40bc62=new _0x734641(_0xf2accf[_0x339aad(0x178)](_0x53b688,0x0),_0x5bfd20,_0x22c751++);_0x2a2548[_0x339aad(0xa0)](_0x40bc62);for(const [_0x3cb90c,_0x3e5279]of _0x5bfd20[_0x339aad(0xd5)]){const _0xaf9e26=_0xf2accf[_0x339aad(0x10b)](_0xf2accf[_0x339aad(0xd2)](_0x53b688,_0x3e5279[_0x339aad(0x16a)][_0x339aad(0x108)][_0x339aad(0x13f)]()),_0xf2accf[_0x339aad(0xd2)](_0x53b688,_0x3e5279[_0x339aad(0x146)][_0x339aad(0x108)][_0x339aad(0x13f)]())),_0x450f4d=new _0x4e94ae(_0x3cb90c,null,_0xaf9e26,_0xf2accf[_0x339aad(0xd5)],!0x0,_0x22c751++);_0x2a2548[_0x339aad(0xa0)](_0x450f4d);}}if(_0x246851)for(const [_0x142bdb,_0x592924]of Object[_0x339aad(0xe3)](_0x246851)){const _0xda897f=_0xf2accf[_0x339aad(0xda)][_0x339aad(0x97)](_0x142bdb);if(!_0xda897f)throw new _0x33c97c(_0x339aad(0x133),null);for(const [_0x4d0a47,_0x1082fc]of Object[_0x339aad(0xe3)](_0x592924))if(null!==_0x1082fc){const _0x10e705=new _0x229d52(_0xda897f,_0x4d0a47,null,_0x1082fc,_0x22c751++);_0x2a2548[_0x339aad(0xa0)](_0x10e705);}}return _0x2a2548;}async[_0x235b71(0x113)](_0x5337ba,_0x2cd26b,_0x4bc307){const _0x8842ca=_0x235b71;this[_0x8842ca(0x18b)]({[_0x5337ba]:_0x2cd26b},{[_0x5337ba]:_0x4bc307})[_0x8842ca(0x102)]((_0xe11a6f,_0x52de30)=>{const _0x34a777=_0x8842ca;_0xe11a6f[_0x34a777(0x162)]=this[_0x34a777(0x183)][_0x34a777(0x186)]+_0x52de30,_0xe11a6f[_0x34a777(0xfd)]=!0x0,this[_0x34a777(0xa1)](_0xe11a6f);}),this[_0x8842ca(0x15f)](),await this[_0x8842ca(0x14f)]();}async[_0x235b71(0xb1)](_0x58585f,_0x6495a4){const _0x46d50f=_0x235b71;let _0x3fb242;this[_0x46d50f(0x134)]=_0x58585f[_0x46d50f(0x105)];const _0x58208e=_0x58585f[_0x46d50f(0x163)]&&!_0x58585f[_0x46d50f(0x9d)],_0x9cd4ea=_0x58208e?0x0:_0x58585f[_0x46d50f(0x14b)][_0x46d50f(0x162)];if(_0x6495a4[_0x46d50f(0x102)](_0x105196=>{const _0x450ab3=_0x46d50f;_0x105196[_0x450ab3(0xfd)]=!0x0,_0x105196[_0x450ab3(0x144)]=_0x58585f[_0x450ab3(0x10a)],_0x105196[_0x450ab3(0xc5)]=null;}),_0x58208e)_0x3fb242=_0x6495a4,this[_0x46d50f(0xe2)](_0x3fb242,_0x58208e);else{if(_0x58585f[_0x46d50f(0x9d)]){const _0x4c6d84=this[_0x46d50f(0x18b)](_0x58585f[_0x46d50f(0x9d)]);this[_0x46d50f(0x183)][_0x46d50f(0x195)][_0x46d50f(0x186)]=-_0x4c6d84[_0x46d50f(0xf2)],_0x4c6d84[_0x46d50f(0x102)](_0xc1f774=>{const _0x2875c3=_0x46d50f;_0xc1f774[_0x2875c3(0x162)]-=_0x4c6d84[_0x2875c3(0xf2)],_0xc1f774[_0x2875c3(0x144)]=_0x58585f[_0x2875c3(0x10a)],_0xc1f774[_0x2875c3(0xfd)]=!0x0,_0xc1f774[_0x2875c3(0xc5)]=null;}),this[_0x46d50f(0xe2)](_0x4c6d84,!0x0),this[_0x46d50f(0x117)][_0x46d50f(0x186)]=-_0x4c6d84[_0x46d50f(0xf2)]+this[_0x46d50f(0x134)],this[_0x46d50f(0xa6)](_0x4c6d84);}this[_0x46d50f(0x183)][_0x46d50f(0x195)][_0x46d50f(0x186)]=_0x9cd4ea,_0x3fb242=this[_0x46d50f(0x9f)](_0x58585f[_0x46d50f(0x14b)],_0x58585f[_0x46d50f(0xf6)]),await this[_0x46d50f(0x120)](_0x3fb242),this[_0x46d50f(0xe2)](_0x3fb242,_0x58208e);}_0x58585f[_0x46d50f(0x12f)]&&(this[_0x46d50f(0x182)][_0x46d50f(0x131)](_0x3fb242,_0x58585f[_0x46d50f(0x12f)]),this[_0x46d50f(0x153)]=_0x58585f[_0x46d50f(0x12f)]),this[_0x46d50f(0x117)][_0x46d50f(0x186)]=_0x9cd4ea+this[_0x46d50f(0x134)],this[_0x46d50f(0xa6)](_0x3fb242),_0x6495a4[_0x46d50f(0xcc)](_0x1b827b=>{const _0x196c8c=_0x46d50f,_0x16141c=this[_0x196c8c(0x13d)](_0x1b827b);return _0x16141c&&!this[_0x196c8c(0xed)][_0x196c8c(0x13c)](_0x16141c);})[_0x46d50f(0x102)]((_0x58627a,_0x19d6f5)=>{const _0x5b1610=_0x46d50f;_0x58627a[_0x5b1610(0x162)]=this[_0x5b1610(0x183)][_0x5b1610(0x186)]+_0x19d6f5,this[_0x5b1610(0xa1)](_0x58627a);}),this[_0x46d50f(0x9a)]()?(this[_0x46d50f(0x18a)]=0x0,this[_0x46d50f(0x15f)](!0x0),await this[_0x46d50f(0x14f)]()):(this[_0x46d50f(0x107)]=!0x1,this[_0x46d50f(0x12b)]());}[_0x235b71(0x96)](_0xb12820,_0x47fbfa){const _0x2e5eee=_0x235b71,_0x2f0496=_0x47fbfa&&_0x47fbfa[_0x2e5eee(0xac)];if(_0x2f0496&&_0x2f0496[_0x2e5eee(0x148)](_0x2e5eee(0x111)))throw _0x47fbfa;const _0x583804=this[_0x2e5eee(0x197)][_0x2e5eee(0x122)][_0x2e5eee(0xf7)](_0x1250eb);throw this[_0x2e5eee(0x107)]=!0x0,_0x583804[_0x2e5eee(0x174)](),this[_0x2e5eee(0x197)][_0x2e5eee(0xb9)](_0x2e5eee(0xcb)),new _0x33c97c(_0xb12820,this[_0x2e5eee(0x197)],_0x2f0496?{'originalError':_0x2f0496}:void 0x0);}[_0x235b71(0xa1)](_0x3feaa0){const _0x2da43=_0x235b71;this[_0x2da43(0xc8)][_0x2da43(0x13c)](_0x3feaa0)||(this[_0x2da43(0xc8)][_0x2da43(0x188)](_0x3feaa0),this[_0x2da43(0x116)][_0x2da43(0xa0)](_0x3feaa0),this[_0x2da43(0x164)]||_0x2da43(0xdd)==_0x3feaa0[_0x2da43(0x18d)]&&!_0x3feaa0[_0x2da43(0x136)]||this[_0x2da43(0x14e)]());}[_0x235b71(0x15f)](_0x293f18=!0x1){const _0x3f3a3d=_0x235b71;!_0x293f18&&this[_0x3f3a3d(0x107)]||(this[_0x3f3a3d(0x107)]=!0x0,clearTimeout(this[_0x3f3a3d(0x191)]),this[_0x3f3a3d(0x191)]=setTimeout(()=>{const _0x372f07=_0x3f3a3d;this[_0x372f07(0x119)]()[_0x372f07(0xe9)](_0x3a2ff4=>{const _0x51f94f=_0x372f07;_0x3a2ff4&&(this[_0x51f94f(0x12b)](),this[_0x51f94f(0x107)]=!0x1);})[_0x372f07(0x151)](_0xada7ef=>{const _0x3a8d14=_0x372f07;this[_0x3a8d14(0x12b)](),this[_0x3a8d14(0x107)]=!0x1,function(_0x48ae35){const _0x37d681=_0x3a8d14;return _0x48ae35[_0x37d681(0xac)][_0x37d681(0x148)](_0x37d681(0x19a))||_0x48ae35[_0x37d681(0xac)][_0x37d681(0x148)](_0x37d681(0xeb))||_0x48ae35[_0x37d681(0xac)][_0x37d681(0x148)](_0x37d681(0xe1));}(_0xada7ef)||this[_0x3a8d14(0x96)](_0xada7ef[_0x3a8d14(0xac)],_0xada7ef);});},this[_0x3f3a3d(0x18a)]));}[_0x235b71(0x14f)](){return new Promise(_0x6a5792=>{const _0x226a8a=_0x39f4;this['on'](_0x226a8a(0x9b),()=>{_0x6a5792();});});}async[_0x235b71(0x119)](){const _0x2b44bd=_0x235b71,_0x4c943b=this[_0x2b44bd(0x197)][_0x2b44bd(0x122)][_0x2b44bd(0xf7)](_0x5d8e95);if(this[_0x2b44bd(0xd0)]()&&(_0x4c943b[_0x2b44bd(0x123)](),this[_0x2b44bd(0x11b)]=!0x1),!this[_0x2b44bd(0x9a)]())return!0x0;const _0xb19e68=[...this[_0x2b44bd(0x116)]];for(const _0x186870 of _0xb19e68)_0x186870[_0x2b44bd(0xb2)]=this[_0x2b44bd(0x183)][_0x2b44bd(0x195)][_0x2b44bd(0x176)](_0x186870);const _0x1f378b=this[_0x2b44bd(0x182)][_0x2b44bd(0x190)](_0xb19e68),_0x2ec513=J++,_0x411dc4=this[_0x2b44bd(0xc9)](_0xb19e68),_0x2e309a=await this[_0x2b44bd(0x155)][_0x2b44bd(0x187)](_0x411dc4,_0x411dc4[_0x2b44bd(0x162)],_0x1f378b);try{return await this[_0x2b44bd(0x11c)](_0xb19e68,_0x2e309a,_0x2ec513);}catch(_0x344665){return this[_0x2b44bd(0x96)](_0x2b44bd(0x156),_0x344665);}}async[_0x235b71(0x11c)](_0x5b473b,_0x5165f5,_0x99855f){const _0x34c693=_0x235b71;if(_0x34c693(0x127)in _0x5165f5)throw _0x5165f5[_0x34c693(0x127)];let _0x535449=!0x1;if(_0x5165f5[_0x34c693(0x163)]){_0x5165f5[_0x34c693(0x12f)]&&(this[_0x34c693(0x153)]=_0x5165f5[_0x34c693(0x12f)]),this[_0x34c693(0x116)]=this[_0x34c693(0x116)][_0x34c693(0xcc)](_0x2e557b=>!_0x5b473b[_0x34c693(0xb5)](_0x2e557b));for(const _0x4ce541 of _0x5b473b)_0x4ce541[_0x34c693(0x144)]=_0x34c693(0xfa)in _0x5165f5&&_0x5165f5[_0x34c693(0xfa)]||void 0x0;X(_0x5b473b,_0x5165f5[_0x34c693(0x186)]-_0x5b473b[_0x34c693(0xf2)]),this[_0x34c693(0xa6)](_0x5b473b);const _0x23a24c=_0x5b473b[_0x34c693(0xcc)](_0x3b87e0=>{const _0x5056b8=_0x34c693;if(!_0x3b87e0[_0x5056b8(0xfd)])return!0x1;const _0x3f9633=this[_0x5056b8(0x13d)](_0x3b87e0);return _0x3f9633&&!this[_0x5056b8(0xed)][_0x5056b8(0x13c)](_0x3f9633);});X(_0x23a24c,this[_0x34c693(0x183)][_0x34c693(0x186)]),this[_0x34c693(0xe2)](_0x23a24c),_0x535449=!0x0,this[_0x34c693(0x18a)]=this[_0x34c693(0x12e)];}else{const _0xc632f5=this[_0x34c693(0x9f)](_0x5165f5[_0x34c693(0x14b)],_0x5165f5[_0x34c693(0xf6)])[_0x34c693(0xcc)](_0x3ffdf7=>_0x3ffdf7[_0x34c693(0x162)]>=this[_0x34c693(0x17d)]);_0xc632f5[_0x34c693(0x102)](_0x23241e=>this[_0x34c693(0xa3)](_0x23241e)),this[_0x34c693(0x116)]=this[_0x34c693(0x116)][_0x34c693(0xcc)](_0x2e7add=>!_0x2e7add[_0x34c693(0xfd)]||!this[_0x34c693(0xed)][_0x34c693(0x13c)](this[_0x34c693(0x13d)](_0x2e7add))),this[_0x34c693(0x116)][_0x34c693(0xf2)]&&X(this[_0x34c693(0x116)],this[_0x34c693(0x116)][0x0][_0x34c693(0x162)]),await this[_0x34c693(0x120)](_0xc632f5),_0x535449=this[_0x34c693(0xff)](_0xc632f5,_0x5165f5[_0x34c693(0x186)],_0x5165f5[_0x34c693(0x12f)]),this[_0x34c693(0x18a)]=Math[_0x34c693(0xb6)](this[_0x34c693(0x18a)]/0x2);}return _0x535449?!this[_0x34c693(0x9a)]()||(this[_0x34c693(0x15f)](!0x0),!0x1):this[_0x34c693(0x96)](_0x34c693(0xbd));}[_0x235b71(0xff)](_0x7fd114,_0x37346f,_0x45931e){const _0x78f123=_0x235b71;try{const _0x5c7bdf={'document':this[_0x78f123(0x183)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x52921d,operationsB:_0x1a4daf,originalOperations:_0x275085}=_0x35d48a(_0x7fd114,this[_0x78f123(0x116)],_0x5c7bdf);X(_0x52921d,this[_0x78f123(0x183)][_0x78f123(0x186)]),X(_0x1a4daf,_0x37346f);for(const _0xab84a7 of _0x52921d){const _0x2f87d4=_0x275085[_0x78f123(0xf7)](_0xab84a7);_0xab84a7[_0x78f123(0xc5)]=_0x2f87d4?_0x2f87d4[_0x78f123(0xc5)]:null;}_0x45931e&&(this[_0x78f123(0x182)][_0x78f123(0x131)](_0x7fd114,_0x45931e),this[_0x78f123(0x153)]=_0x45931e),this[_0x78f123(0x116)]=[..._0x1a4daf],this[_0x78f123(0xe2)](_0x52921d),this[_0x78f123(0xa6)](_0x7fd114);}catch(_0xdd99cf){return console[_0x78f123(0x127)](_0xdd99cf),!0x1;}return!0x0;}[_0x235b71(0xe2)](_0x2adf26,_0x2ce935=!0x1){const _0xd9fcb8=_0x235b71;this[_0xd9fcb8(0x197)][_0xd9fcb8(0xc1)][_0xd9fcb8(0xf5)]({'isUndoable':!0x1,'isLocal':!0x1},_0x681e22=>{const _0x27f896=_0xd9fcb8;for(const _0x55da1d of _0x2adf26)this[_0x27f896(0xc8)][_0x27f896(0x188)](_0x55da1d),this[_0x27f896(0xa3)](_0x55da1d),_0x681e22[_0x27f896(0xe4)][_0x27f896(0x13a)](_0x55da1d),this[_0x27f896(0x197)][_0x27f896(0xc1)][_0x27f896(0xb7)](_0x55da1d);});}[_0x235b71(0xa3)](_0x249b6c){const _0x36df69=_0x235b71,_0xd7ed6d=this[_0x36df69(0x13d)](_0x249b6c);_0xd7ed6d&&this[_0x36df69(0xed)][_0x36df69(0x188)](_0xd7ed6d);}[_0x235b71(0x13d)](_0x487d47){const _0x2e62a1=_0x235b71;let _0x22bebd,_0x36585f;switch(_0x487d47[_0x2e62a1(0x18d)]){case _0x2e62a1(0x145):_0x22bebd=_0x487d47[_0x2e62a1(0xa9)][_0x2e62a1(0xc2)];break;case _0x2e62a1(0xdd):if(_0x36585f=_0x487d47[_0x2e62a1(0x154)],!_0x36585f)return null;_0x22bebd=_0x36585f[_0x2e62a1(0xc2)];break;case _0x2e62a1(0xde):_0x22bebd=_0x487d47[_0x2e62a1(0xc2)];break;case _0x2e62a1(0x129):_0x22bebd=_0x487d47[_0x2e62a1(0xea)];break;case _0x2e62a1(0x12a):_0x22bebd=_0x487d47[_0x2e62a1(0x124)][_0x2e62a1(0xc2)];break;default:return null;}return _0x22bebd[_0x2e62a1(0xc0)];}[_0x235b71(0xa6)](_0x22d946){const _0x326bb2=_0x235b71;_0x22d946[_0x326bb2(0x102)](_0x405a94=>{const _0x34aa96=_0x326bb2,_0xa995cb=_0x405a94[_0x34aa96(0xb8)]();_0xa995cb[_0x34aa96(0xc5)]=_0x405a94[_0x34aa96(0xc5)],_0xa995cb[_0x34aa96(0xfd)]=!!_0x405a94[_0x34aa96(0xfd)],_0xa995cb[_0x34aa96(0x144)]=_0x405a94[_0x34aa96(0x144)],_0xa995cb[_0x34aa96(0x162)]+=this[_0x34aa96(0x134)],_0x405a94[_0x34aa96(0x16f)]&&this[_0x34aa96(0x15b)][_0x34aa96(0x188)](_0xa995cb),this[_0x34aa96(0x117)][_0x34aa96(0x13a)](_0xa995cb);});}[_0x235b71(0x143)](_0x5d564c){const _0x2f76da=_0x235b71,_0x40fa6c=this[_0x2f76da(0x197)][_0x2f76da(0x122)][_0x2f76da(0xf7)](_0x2f76da(0xd9)),_0x1978c4=this[_0x2f76da(0x197)][_0x2f76da(0x138)];_0x5d564c||(_0x5d564c=_0x332736(_0x1978c4,_0x2f76da(0xe6))),_0x40fa6c[_0x2f76da(0x16e)](_0x5d564c,{'title':_0x332736(_0x1978c4,_0x2f76da(0x16b)),'namespace':_0x2f76da(0x170)}),this[_0x2f76da(0xec)]=!0x0,clearTimeout(this[_0x2f76da(0x191)]),this[_0x2f76da(0x116)]=[],this[_0x2f76da(0x197)][_0x2f76da(0x122)][_0x2f76da(0xf7)](_0x1250eb)[_0x2f76da(0x174)]();}[_0x235b71(0x14e)](){const _0x43c4b8=_0x235b71;this[_0x43c4b8(0x164)]||(this[_0x43c4b8(0x164)]=this[_0x43c4b8(0x197)][_0x43c4b8(0x122)][_0x43c4b8(0xf7)](_0x202f01)[_0x43c4b8(0x188)](_0x332736(this[_0x43c4b8(0x197)][_0x43c4b8(0x138)],_0x43c4b8(0x150))));}[_0x235b71(0x12b)](){const _0xcd570b=_0x235b71;this[_0xcd570b(0x164)]&&(this[_0xcd570b(0x197)][_0xcd570b(0x122)][_0xcd570b(0xf7)](_0x202f01)[_0xcd570b(0x18e)](this[_0xcd570b(0x164)]),this[_0xcd570b(0x164)]=null);}[_0x235b71(0xc9)](_0x35db2d){const _0x598286=_0x235b71,_0x12ee36=_0x35db2d[_0x598286(0xf1)](_0x563d5f=>_0x563d5f[_0x598286(0x11f)]());return this[_0x598286(0xf8)][_0x598286(0xa5)](_0x12ee36);}[_0x235b71(0x9f)](_0x10fd9c,_0x2079b5){const _0x18b351=_0x235b71;return this[_0x18b351(0xf8)][_0x18b351(0xfb)](_0x10fd9c)[_0x18b351(0xf1)]((_0x14caab,_0x50c817)=>{const _0x1662c1=_0x18b351,_0x166a75=_0x1662c1(0x152)==_0x2079b5[_0x50c817][_0x1662c1(0x18d)];if(_0x1662c1(0x11d)==_0x14caab[_0x1662c1(0xdf)]){const _0xd66bf8=_0x14caab[_0x1662c1(0xa9)][_0x1662c1(0xc2)];!this[_0x1662c1(0x183)][_0x1662c1(0x97)](_0xd66bf8)&&(this[_0x1662c1(0x183)][_0x1662c1(0x179)](_0x1662c1(0x15c),_0xd66bf8)[_0x1662c1(0x109)]=!0x1);}const _0x446fd1=_0x525359[_0x1662c1(0x125)](_0x14caab,this[_0x1662c1(0x183)]);return _0x446fd1[_0x1662c1(0xb2)]=_0x14caab[_0x1662c1(0xb2)],_0x446fd1[_0x1662c1(0xfd)]=_0x166a75,_0x446fd1[_0x1662c1(0xc5)]=_0x166a75?null:_0x2079b5[_0x50c817][_0x1662c1(0x17b)],_0x446fd1[_0x1662c1(0x16f)]=_0x1662c1(0xaf)===_0x2079b5[_0x50c817][_0x1662c1(0x18d)],_0x446fd1[_0x1662c1(0x144)]=_0x2079b5[_0x50c817][_0x1662c1(0x144)],_0x446fd1;});}[_0x235b71(0x115)](){const _0x5e1480=_0x235b71;this[_0x5e1480(0x11b)]=!0x0,this[_0x5e1480(0xd0)]()?this[_0x5e1480(0x15f)]():this[_0x5e1480(0x11b)]=!0x1;}[_0x235b71(0xd0)](){const _0x414912=_0x235b71,_0x56a6eb=this[_0x414912(0x197)][_0x414912(0x122)][_0x414912(0xf7)](_0x31ac59)[_0x414912(0x14d)][_0x414912(0xf7)](this[_0x414912(0x147)]);return!this[_0x414912(0x197)][_0x414912(0x19b)]&&!!_0x56a6eb&&_0x56a6eb[_0x414912(0xf2)]>0x1&&this[_0x414912(0x11b)];}[_0x235b71(0x9a)](){const _0x13c47f=_0x235b71;return this[_0x13c47f(0x116)][_0x13c47f(0xf2)]>0x0||this[_0x13c47f(0xd0)]();}}export default l;class Q extends Error{}function X(_0x191fa7,_0x28e66f){const _0x4dbab2=_0x235b71;for(const _0x2ee88a of _0x191fa7)_0x2ee88a[_0x4dbab2(0x162)]=_0x28e66f++;}class Y{[_0x235b71(0xdb)];[_0x235b71(0x194)];constructor(_0x233f47){const _0x101d55=_0x235b71;this[_0x101d55(0xdb)]=_0x233f47,this[_0x101d55(0x194)]=new WeakMap();}[_0x235b71(0x190)](_0x20663c){const _0x34dea8=_0x235b71;let _0x62df61=_0x20663c[_0x34dea8(0xf2)];for(;_0x62df61--;){const _0x2e58e1=_0x20663c[_0x62df61];if(!this[_0x34dea8(0xdb)][_0x34dea8(0x13c)](_0x2e58e1)){if(!this[_0x34dea8(0x194)][_0x34dea8(0x13c)](_0x2e58e1)){const _0x25d78a=_0x30b3c5()[_0x34dea8(0x13f)](0x1,0x12);this[_0x34dea8(0x194)][_0x34dea8(0x137)](_0x2e58e1,_0x25d78a);}return this[_0x34dea8(0x194)][_0x34dea8(0xf7)](_0x2e58e1);}}}[_0x235b71(0x131)](_0xb89c8b,_0x488c18){const _0x47912f=_0x235b71;if(!_0x488c18)return;let _0x4541c6=_0xb89c8b[_0x47912f(0xf2)];for(;_0x4541c6--;){const _0x152b5f=_0xb89c8b[_0x4541c6];this[_0x47912f(0xdb)][_0x47912f(0x13c)](_0x152b5f)||this[_0x47912f(0x194)][_0x47912f(0x137)](_0x152b5f,_0x488c18);}}}
|
|
23
|
+
const _0x3abefa=_0xd162;(function(_0x6e16cc,_0x5bb815){const _0x4d7319=_0xd162,_0x56f7a8=_0x6e16cc();while(!![]){try{const _0x24eb79=parseInt(_0x4d7319(0x24f))/0x1+parseInt(_0x4d7319(0x255))/0x2*(parseInt(_0x4d7319(0x220))/0x3)+-parseInt(_0x4d7319(0x291))/0x4+parseInt(_0x4d7319(0x204))/0x5*(-parseInt(_0x4d7319(0x298))/0x6)+-parseInt(_0x4d7319(0x237))/0x7+parseInt(_0x4d7319(0x214))/0x8*(-parseInt(_0x4d7319(0x211))/0x9)+parseInt(_0x4d7319(0x243))/0xa;if(_0x24eb79===_0x5bb815)break;else _0x56f7a8['push'](_0x56f7a8['shift']());}catch(_0x109cc9){_0x56f7a8['push'](_0x56f7a8['shift']());}}}(_0x18c8,0x717a0));import{Plugin as _0x5534b1,PendingActions as _0x229b19}from'ckeditor5/src/core.js';import{CKEditorError as _0xcd5801,version as _0x4390f7,uid as _0x421675}from'ckeditor5/src/utils.js';import{Notification as _0x1175df}from'ckeditor5/src/ui.js';import{transformSets as _0x351504,NoOperation as _0x408bcc,InsertOperation as _0x4f994b,MarkerOperation as _0x4c7309,RootAttributeOperation as _0x10392c,OperationFactory as _0x15c734,History as _0x4f20a1}from'ckeditor5/src/engine.js';import _0xc1ba9c from'./websocketgateway.js';import _0xc90e44 from'./sessions.js';import _0x231b03 from'./usermarkers.js';function _0xd162(_0x4f684b,_0x1b2b5b){const _0x18c809=_0x18c8();return _0xd162=function(_0xd1622e,_0x59956d){_0xd1622e=_0xd1622e-0x1ea;let _0x34acc1=_0x18c809[_0xd1622e];return _0x34acc1;},_0xd162(_0x4f684b,_0x1b2b5b);}import{getTranslation as _0x17c53c}from'../common-translations.js';import{Compressor as _0x91a970}from'@ckeditor/ckeditor5-operations-compressor';import{Users as _0x573af9}from'ckeditor5-collaboration/src/collaboration-core.js';import{User as _0x337346,CollaborativeEditingService as _0x1acb71}from'@ckeditor/ckeditor-cloud-services-collaboration/src/services.js';let J=0x1;class l extends _0x5534b1{static [_0x3abefa(0x20f)]=/* #__PURE__ -- @preserve */
|
|
24
|
+
((()=>_0x1acb71)());[_0x3abefa(0x2d8)];[_0x3abefa(0x2a6)];[_0x3abefa(0x1f7)];[_0x3abefa(0x260)];[_0x3abefa(0x289)];[_0x3abefa(0x2e4)];[_0x3abefa(0x2a5)];[_0x3abefa(0x2ac)];[_0x3abefa(0x2d5)];[_0x3abefa(0x207)];[_0x3abefa(0x20a)];[_0x3abefa(0x2db)];[_0x3abefa(0x2a0)];[_0x3abefa(0x226)];[_0x3abefa(0x299)];[_0x3abefa(0x2c9)];[_0x3abefa(0x25a)];[_0x3abefa(0x271)];static get[_0x3abefa(0x2d4)](){return[_0xc1ba9c,_0xc90e44,_0x231b03,_0x229b19,_0x573af9,_0x1175df];}static get[_0x3abefa(0x2dd)](){const _0x2feb0e=_0x3abefa;return _0x2feb0e(0x1ed);}static get[_0x3abefa(0x1ea)](){return!0x0;}static get[_0x3abefa(0x2c8)](){return!0x0;}get[_0x3abefa(0x2e7)](){const _0x2bef30=_0x3abefa;return this[_0x2bef30(0x274)]+this[_0x2bef30(0x2d8)];}get[_0x3abefa(0x274)](){const _0x2f2eb0=_0x3abefa;return this[_0x2f2eb0(0x1f7)][_0x2f2eb0(0x2c1)]-this[_0x2f2eb0(0x2d8)];}get[_0x3abefa(0x1ff)](){const _0x44bbba=_0x3abefa,_0x3ce196=this[_0x44bbba(0x1f7)][_0x44bbba(0x2a1)]();for(let _0xd0148f=_0x3ce196[_0x44bbba(0x2df)]-0x1;_0xd0148f>=0x0;_0xd0148f--){const _0x269b35=_0x3ce196[_0xd0148f];if(!this[_0x44bbba(0x25a)][_0x44bbba(0x225)](_0x269b35))return _0x269b35[_0x44bbba(0x254)]+0x1-this[_0x44bbba(0x2d8)];}return 0x0;}constructor(_0x1d2323){const _0x66ffba=_0x3abefa;if(super(_0x1d2323),this[_0x66ffba(0x2d8)]=0x0,this[_0x66ffba(0x2a6)]=null,this[_0x66ffba(0x1f7)]=new _0x4f20a1(),this[_0x66ffba(0x29b)][_0x66ffba(0x282)][_0x66ffba(0x20d)](_0x66ffba(0x2cf),{}),this[_0x66ffba(0x260)]=this[_0x66ffba(0x29b)][_0x66ffba(0x282)][_0x66ffba(0x1ec)](_0x66ffba(0x21a)),!this[_0x66ffba(0x260)])throw new _0xcd5801(_0x66ffba(0x202),this);const _0x3cb12e=_0x1d2323[_0x66ffba(0x282)][_0x66ffba(0x1ec)](_0x66ffba(0x205))||_0x4390f7;this[_0x66ffba(0x289)]=new l[(_0x66ffba(0x20f))](_0x3cb12e,this[_0x66ffba(0x260)]),this[_0x66ffba(0x2e4)]=this[_0x66ffba(0x29b)][_0x66ffba(0x1eb)][_0x66ffba(0x2d2)],this[_0x66ffba(0x2a5)]=new _0x91a970(),this[_0x66ffba(0x2ac)]=[],this[_0x66ffba(0x2d5)]=new WeakSet(),this[_0x66ffba(0x207)]=new Set(),this[_0x66ffba(0x219)](_0x66ffba(0x266),!0x1),this[_0x66ffba(0x219)](_0x66ffba(0x29d),!0x1),this[_0x66ffba(0x20a)]=null,this[_0x66ffba(0x2db)]=!0x1,this[_0x66ffba(0x2a0)]=null,this[_0x66ffba(0x226)]=0x12c,this[_0x66ffba(0x299)]=this[_0x66ffba(0x226)],this[_0x66ffba(0x2c9)]=null,this[_0x66ffba(0x25a)]=new WeakSet(),this[_0x66ffba(0x271)]=new Y(this[_0x66ffba(0x25a)]);}[_0x3abefa(0x2be)](){const _0x407f36=_0x3abefa,_0xf04587=this[_0x407f36(0x29b)],_0x661dec=_0xf04587[_0x407f36(0x23d)][_0x407f36(0x1ec)](_0x573af9),_0x25df0b=_0xf04587[_0x407f36(0x23d)][_0x407f36(0x1ec)](_0xc1ba9c);this[_0x407f36(0x2b4)](_0x661dec,_0x407f36(0x1fd),(_0x483517,_0x116e6d)=>{const _0x42d64d=_0x407f36,_0x4835f0=_0x116e6d[0x0];_0x4835f0[_0x42d64d(0x275)]&&(_0x483517[_0x42d64d(0x22d)]=_0x661dec[_0x42d64d(0x249)](_0x4835f0[_0x42d64d(0x275)]),_0x483517[_0x42d64d(0x2d7)]()),null===_0x4835f0[_0x42d64d(0x275)]&&(_0x483517[_0x42d64d(0x22d)]=null,_0x483517[_0x42d64d(0x2d7)]());},{'priority':_0x407f36(0x229)}),this[_0x407f36(0x2b4)](_0xf04587[_0x407f36(0x1eb)][_0x407f36(0x2d2)][_0x407f36(0x240)],_0x407f36(0x213),(_0x327c60,_0x1faf2e)=>{const _0xd7b64a=_0x407f36;_0x1faf2e[_0xd7b64a(0x208)]&&this[_0xd7b64a(0x238)]();}),this[_0x407f36(0x2b4)](_0xf04587[_0x407f36(0x21c)][_0x407f36(0x2af)],_0x407f36(0x27c),()=>{const _0x2819d6=_0x407f36;this[_0x2819d6(0x238)]();}),this[_0x407f36(0x2cd)](),_0xf04587[_0x407f36(0x1eb)]['on'](_0x407f36(0x2d1),(_0x407de5,_0x272449)=>{const _0x11a85b=_0x407f36,_0x459de5=_0x272449[0x0];_0x459de5[_0x11a85b(0x287)]&&(this[_0x11a85b(0x241)](_0x459de5),this[_0x11a85b(0x2b0)]()&&this[_0x11a85b(0x263)]());}),this[_0x407f36(0x2d6)](),this[_0x407f36(0x2ca)](_0x407f36(0x23e))['to'](_0x25df0b,_0x407f36(0x2b8),this,_0x407f36(0x29d),(_0x115be5,_0x3fbf0e)=>_0x407f36(0x281)===_0x115be5&&!_0x3fbf0e),this['on'](_0x407f36(0x2d3),()=>{const _0x341a6a=_0x407f36;this[_0x341a6a(0x23e)]?_0xf04587[_0x341a6a(0x23a)](_0x341a6a(0x228)):_0xf04587[_0x341a6a(0x278)](_0x341a6a(0x228));}),this[_0x407f36(0x23e)]?_0xf04587[_0x407f36(0x23a)](_0x407f36(0x228)):_0xf04587[_0x407f36(0x278)](_0x407f36(0x228)),this[_0x407f36(0x219)](_0x407f36(0x25c),!0x1);}async[_0x3abefa(0x2bb)](){const _0x1e3fd6=_0x3abefa,_0x584dd7=this[_0x1e3fd6(0x29b)][_0x1e3fd6(0x23d)][_0x1e3fd6(0x1ec)](_0xc90e44),_0x526be5=this[_0x1e3fd6(0x29b)][_0x1e3fd6(0x23d)][_0x1e3fd6(0x1ec)](_0xc1ba9c);try{this[_0x1e3fd6(0x266)]=!0x0,_0x584dd7[_0x1e3fd6(0x22a)](this[_0x1e3fd6(0x260)]);const _0x30cd90=await this[_0x1e3fd6(0x289)][_0x1e3fd6(0x2bb)](_0x526be5[_0x1e3fd6(0x256)],this[_0x1e3fd6(0x1ff)]);await this[_0x1e3fd6(0x246)](_0x30cd90)&&(this[_0x1e3fd6(0x266)]=!0x1,this[_0x1e3fd6(0x22e)]());const _0x4de68c=await this[_0x1e3fd6(0x289)][_0x1e3fd6(0x262)]();_0x584dd7[_0x1e3fd6(0x26b)](this[_0x1e3fd6(0x260)],_0x4de68c),this[_0x1e3fd6(0x273)](),this[_0x1e3fd6(0x25c)]=!0x0;}catch(_0x2d1a1e){if(function(_0x188576){const _0x510f21=_0x1e3fd6;return _0x510f21(0x27b)===_0x188576[_0x510f21(0x295)];}(_0x2d1a1e)&&this[_0x1e3fd6(0x2a6)])await this[_0x1e3fd6(0x25f)]();else{if(function(_0x4e0fed){const _0x42550e=_0x1e3fd6;return _0x42550e(0x250)===_0x4e0fed[_0x42550e(0x295)];}(_0x2d1a1e)){const _0x3ccae6=_0x17c53c(this[_0x1e3fd6(0x29b)][_0x1e3fd6(0x1fb)],_0x1e3fd6(0x28c));this[_0x1e3fd6(0x216)](_0x3ccae6);}else{if(!(_0x2d1a1e instanceof Q))throw _0x2d1a1e;this[_0x1e3fd6(0x216)]();}}}}[_0x3abefa(0x2a3)](){const _0x4c3884=_0x3abefa,_0x2579c1=this[_0x4c3884(0x29b)][_0x4c3884(0x23d)][_0x4c3884(0x1ec)](_0xc1ba9c),_0x12d5b0=this[_0x4c3884(0x29b)][_0x4c3884(0x23d)][_0x4c3884(0x1ec)](_0xc90e44);this[_0x4c3884(0x29b)][_0x4c3884(0x278)](_0x4c3884(0x28e)),_0x12d5b0[_0x4c3884(0x2c0)][_0x4c3884(0x225)](this[_0x4c3884(0x260)])&&_0x12d5b0[_0x4c3884(0x22a)](this[_0x4c3884(0x260)]),_0x2579c1[_0x4c3884(0x253)](this),this[_0x4c3884(0x2c7)](),super[_0x4c3884(0x2a3)]();}async[_0x3abefa(0x246)](_0x497c18){const _0x39c0cb=_0x3abefa;if(this[_0x39c0cb(0x2a6)]!==_0x497c18[_0x39c0cb(0x2a6)]&&this[_0x39c0cb(0x2c9)]!==_0x497c18[_0x39c0cb(0x2da)])throw new Q();return this[_0x39c0cb(0x2a6)]=_0x497c18[_0x39c0cb(0x2a6)],this[_0x39c0cb(0x1f5)]([],{..._0x497c18,'wereChangesApplied':!0x1,'data':_0x497c18[_0x39c0cb(0x2a4)]},_0x39c0cb(0x2bb));}async[_0x3abefa(0x251)](_0x5a8e06,_0x216756=!0x1){const _0xb4c386=_0x3abefa,{connection:_0x564ca7}=this[_0xb4c386(0x29b)][_0xb4c386(0x23d)][_0xb4c386(0x1ec)](_0xc1ba9c);l[_0xb4c386(0x20f)][_0xb4c386(0x262)](_0x564ca7,this[_0xb4c386(0x260)])[_0xb4c386(0x28d)](_0x11be78=>this[_0xb4c386(0x27d)](_0x11be78))[_0xb4c386(0x264)](_0x4f0903=>{const _0x45febf=_0xb4c386;this[_0x45febf(0x297)](_0x45febf(0x23b),_0x4f0903);}),this[_0xb4c386(0x2b4)](this[_0xb4c386(0x289)],_0xb4c386(0x2b6),this[_0xb4c386(0x2c5)][_0xb4c386(0x2ca)](this)),this[_0xb4c386(0x2b4)](this[_0xb4c386(0x289)],_0xb4c386(0x2c4),(_0xdf8173,_0x4148b2)=>{const _0x3ebbbf=_0xb4c386;this[_0x3ebbbf(0x297)](_0x3ebbbf(0x248),_0x4148b2);}),this[_0xb4c386(0x2b4)](this[_0xb4c386(0x289)],_0xb4c386(0x222),()=>{const _0xbcae3c=_0xb4c386;this[_0xbcae3c(0x25c)]=!0x1;});const _0x54b5df=this[_0xb4c386(0x271)][_0xb4c386(0x1ee)](_0x5a8e06);this[_0xb4c386(0x266)]=!0x0;const _0x264ef5=await this[_0xb4c386(0x289)][_0xb4c386(0x2cb)](_0x564ca7,this[_0xb4c386(0x2c3)](_0x5a8e06),_0x54b5df);if(this[_0xb4c386(0x2a6)]=_0x264ef5[_0xb4c386(0x2a6)],_0x216756){if(!_0x264ef5[_0xb4c386(0x218)])return void this[_0xb4c386(0x216)]();this[_0xb4c386(0x266)]=!0x1,this[_0xb4c386(0x22e)](),this[_0xb4c386(0x1f7)][_0xb4c386(0x2e1)](),this[_0xb4c386(0x2d8)]=_0x264ef5[_0xb4c386(0x2b9)],this[_0xb4c386(0x1f7)][_0xb4c386(0x2c1)]=this[_0xb4c386(0x2d8)],await this[_0xb4c386(0x1f5)](_0x5a8e06,_0x264ef5,_0xb4c386(0x257));}else await this[_0xb4c386(0x28f)](_0x264ef5,_0x5a8e06);this[_0xb4c386(0x273)](),this[_0xb4c386(0x25c)]=!0x0;}[_0x3abefa(0x273)](){const _0x47681c=_0x3abefa,_0xfd01ea=this[_0x47681c(0x29b)][_0x47681c(0x23d)][_0x47681c(0x1ec)](_0xc90e44),_0x8b3aef=this[_0x47681c(0x29b)][_0x47681c(0x23d)][_0x47681c(0x1ec)](_0x231b03),_0x1cf378=_0xfd01ea[_0x47681c(0x2c0)][_0x47681c(0x1ec)](this[_0x47681c(0x260)]);_0x1cf378&&_0x1cf378[_0x47681c(0x2df)]>0x1?_0x8b3aef[_0x47681c(0x1f0)]():this[_0x47681c(0x2b4)](_0xfd01ea,_0x47681c(0x1fe)+this[_0x47681c(0x260)],()=>{const _0xf41f97=_0x47681c;0x2===_0xfd01ea[_0xf41f97(0x2c0)][_0xf41f97(0x1ec)](this[_0xf41f97(0x260)])[_0xf41f97(0x2df)]&&_0x8b3aef[_0xf41f97(0x1f0)]();});}async[_0x3abefa(0x2c5)](_0x3aa756,_0x3e577d,_0x27be0a,_0x556980){const _0x57dfee=_0x3abefa;if(!this[_0x57dfee(0x266)]&&this[_0x57dfee(0x2e4)][_0x57dfee(0x2c1)]==_0x3e577d){const _0x3671fb=this[_0x57dfee(0x270)](_0x27be0a,_0x556980);await this[_0x57dfee(0x1fc)](_0x3671fb),this[_0x57dfee(0x28b)](_0x3671fb,_0x3e577d,_0x27be0a[_0x57dfee(0x2da)])||this[_0x57dfee(0x297)](_0x57dfee(0x2e0));}}async[_0x3abefa(0x25f)](){const _0x1cdb74=_0x3abefa;this[_0x1cdb74(0x2c7)]();const {locale:_0x1c148d}=this[_0x1cdb74(0x29b)];let _0x1f7dfd;try{_0x1f7dfd=await this[_0x1cdb74(0x289)][_0x1cdb74(0x245)]();}catch{const _0x269ebb=_0x17c53c(_0x1c148d,_0x1cdb74(0x277));return void this[_0x1cdb74(0x216)](_0x269ebb);}const _0x1236f5=_0x1f7dfd[_0x1cdb74(0x210)]||_0x1f7dfd[_0x1cdb74(0x200)];if(this[_0x1cdb74(0x2c9)]===_0x1236f5[_0x1cdb74(0x2da)])await this[_0x1cdb74(0x251)](this[_0x1cdb74(0x29b)][_0x1cdb74(0x1eb)][_0x1cdb74(0x2d2)][_0x1cdb74(0x2d9)][_0x1cdb74(0x2a1)](),!0x0);else{const _0x2a4c4a=_0x17c53c(_0x1c148d,_0x1cdb74(0x224));this[_0x1cdb74(0x216)](_0x2a4c4a);}}[_0x3abefa(0x2c7)](){const _0x48aa72=_0x3abefa;this[_0x48aa72(0x289)][_0x48aa72(0x2b2)](),this[_0x48aa72(0x2ac)]=[],clearTimeout(this[_0x48aa72(0x2a0)]),this[_0x48aa72(0x2ba)](this[_0x48aa72(0x289)]);}[_0x3abefa(0x27d)](_0x7fed08){const _0x1ec7d4=_0x3abefa,_0x1d3492=this[_0x1ec7d4(0x29b)][_0x1ec7d4(0x23d)][_0x1ec7d4(0x1ec)](_0xc90e44);this[_0x1ec7d4(0x2b4)](_0x1d3492,_0x1ec7d4(0x1fe)+this[_0x1ec7d4(0x260)],(_0x11be48,{session:_0x213bc5})=>{const _0x44d675=_0x1ec7d4;if(_0x213bc5['id']===_0x1d3492[_0x44d675(0x2dc)]){_0x11be48[_0x44d675(0x22f)]();const _0x4cc1bb=this[_0x44d675(0x29b)][_0x44d675(0x23d)][_0x44d675(0x225)](_0x44d675(0x22b))&&this[_0x44d675(0x29b)][_0x44d675(0x23d)][_0x44d675(0x1ec)](_0x44d675(0x22b));let _0x48733b=_0x213bc5[_0x44d675(0x2e2)];_0x4cc1bb&&_0x4cc1bb[_0x44d675(0x283)]&&(_0x48733b=_0x48733b[_0x44d675(0x1ef)](_0x5950e7=>_0x44d675(0x230)!==_0x5950e7)),this[_0x44d675(0x29b)][_0x44d675(0x23d)][_0x44d675(0x1ec)](_0x44d675(0x2bd))[_0x44d675(0x2ee)](_0x48733b,this[_0x44d675(0x260)]);}}),_0x1d3492[_0x1ec7d4(0x26b)](this[_0x1ec7d4(0x260)],_0x7fed08);}[_0x3abefa(0x2cd)](){const _0x2e4dad=_0x3abefa,_0x5dc4a6=this[_0x2e4dad(0x29b)][_0x2e4dad(0x2a4)][_0x2e4dad(0x219)];this[_0x2e4dad(0x29b)][_0x2e4dad(0x2a4)][_0x2e4dad(0x219)]=(..._0xdfca3f)=>{const _0x21ed2e=_0x2e4dad;if(!_0xdfca3f[_0xdfca3f[_0x21ed2e(0x2df)]-0x1][_0x21ed2e(0x25b)])throw new _0xcd5801(_0x21ed2e(0x24b),this);_0x5dc4a6[_0x21ed2e(0x2e3)](this[_0x21ed2e(0x29b)][_0x21ed2e(0x2a4)],_0xdfca3f);};}[_0x3abefa(0x2d6)](){const _0x1aa2b6=_0x3abefa;this[_0x1aa2b6(0x29b)][_0x1aa2b6(0x2a4)]['on'](_0x1aa2b6(0x2be),(_0x22f175,[_0x24d0de])=>{const _0x2cbbb1=_0x1aa2b6;if(this[_0x2cbbb1(0x2e4)][_0x2cbbb1(0x2c1)])throw new _0xcd5801(_0x2cbbb1(0x232),this);_0x22f175[_0x2cbbb1(0x2d7)](),this[_0x2cbbb1(0x2ae)]();const _0xd7f3eb=this[_0x2cbbb1(0x29b)][_0x2cbbb1(0x282)][_0x2cbbb1(0x1ec)](_0x2cbbb1(0x2ec)),_0x1d23a4=this[_0x2cbbb1(0x20b)](_0x24d0de,_0xd7f3eb);0x0==_0x1d23a4[_0x2cbbb1(0x2df)]&&_0x1d23a4[_0x2cbbb1(0x2b5)](new _0x408bcc(0x0)),_0x22f175[_0x2cbbb1(0x22d)]=this[_0x2cbbb1(0x251)](_0x1d23a4)[_0x2cbbb1(0x28d)](()=>{const _0x546406=_0x2cbbb1;this[_0x546406(0x29b)][_0x546406(0x23d)][_0x546406(0x1ec)](_0xc1ba9c)[_0x546406(0x2a9)](this),this[_0x546406(0x29b)][_0x546406(0x2a4)][_0x546406(0x2a2)](_0x546406(0x21e));})[_0x2cbbb1(0x264)](_0x19ae1d=>this[_0x2cbbb1(0x297)](_0x2cbbb1(0x2c6),_0x19ae1d))[_0x2cbbb1(0x29f)](()=>this[_0x2cbbb1(0x22e)]());},{'priority':_0x1aa2b6(0x229)}),this[_0x1aa2b6(0x29b)]['on'](_0x1aa2b6(0x2e8),async(_0x33a1bb,[_0x43ede6,_0x462eb6])=>{const _0x3593fd=_0x1aa2b6;_0x33a1bb[_0x3593fd(0x2d7)]();const _0x20da96=this[_0x3593fd(0x29b)][_0x3593fd(0x1eb)][_0x3593fd(0x2d2)][_0x3593fd(0x284)](_0x43ede6);if(!this[_0x3593fd(0x207)][_0x3593fd(0x225)](_0x43ede6)){const _0x5d826d=_0x462eb6&&_0x462eb6[_0x3593fd(0x2a4)]?_0x462eb6[_0x3593fd(0x2a4)]:'',_0x5bcf67=_0x462eb6&&_0x462eb6[_0x3593fd(0x279)]?_0x462eb6[_0x3593fd(0x279)]:{};await this[_0x3593fd(0x29a)](_0x43ede6,_0x5d826d,_0x5bcf67);}this[_0x3593fd(0x29b)][_0x3593fd(0x1eb)][_0x3593fd(0x1fa)]({'isUndoable':!0x1},()=>{const _0x45b17b=_0x3593fd;_0x20da96[_0x45b17b(0x201)]=!0x0,this[_0x45b17b(0x29b)][_0x45b17b(0x1eb)][_0x45b17b(0x2d2)][_0x45b17b(0x26c)][_0x45b17b(0x27f)](_0x20da96);});},{'priority':_0x1aa2b6(0x229)});}async[_0x3abefa(0x1fc)](_0x466af7){const _0x5e499f=_0x3abefa,_0xcefb47=this[_0x5e499f(0x29b)][_0x5e499f(0x23d)][_0x5e499f(0x1ec)](_0x573af9),{connection:_0x5c6c47}=this[_0x5e499f(0x29b)][_0x5e499f(0x23d)][_0x5e499f(0x1ec)](_0xc1ba9c),_0x25a17b=new Set();for(const _0x7428b2 of _0x466af7){const _0x37c504=_0x7428b2[_0x5e499f(0x275)];_0x37c504&&!_0xcefb47[_0x5e499f(0x249)](_0x37c504)&&_0x25a17b[_0x5e499f(0x252)](_0x37c504);}if(0x0===_0x25a17b[_0x5e499f(0x2ea)])return;const _0x2472d9=await _0x337346[_0x5e499f(0x2ef)](_0x5c6c47,Array[_0x5e499f(0x2b7)](_0x25a17b));for(const _0x39697d of _0x2472d9)_0xcefb47[_0x5e499f(0x249)](_0x39697d['id'])||_0xcefb47[_0x5e499f(0x294)](_0x39697d);}[_0x3abefa(0x20b)](_0x57af28,_0x702407={}){const _0x3fc7ff=_0x3abefa,_0x2b7664=this[_0x3fc7ff(0x29b)][_0x3fc7ff(0x1eb)],_0x31f5f4=[];let _0x39ac54=0x0;const _0x28c431=_0x3fc7ff(0x2d0)==typeof _0x57af28?{'main':_0x57af28}:_0x57af28;for(const _0x1baecd of Object[_0x3fc7ff(0x24e)](_0x28c431)){if(!this[_0x3fc7ff(0x2e4)][_0x3fc7ff(0x272)][_0x3fc7ff(0x225)](_0x1baecd))throw new _0xcd5801(_0x3fc7ff(0x2eb),this);const _0x57d968=this[_0x3fc7ff(0x29b)][_0x3fc7ff(0x2a4)][_0x3fc7ff(0x2bc)](_0x28c431[_0x1baecd]),_0x241a03=this[_0x3fc7ff(0x2e4)][_0x3fc7ff(0x284)](_0x1baecd),_0x13c2b3=new _0x4f994b(_0x2b7664[_0x3fc7ff(0x206)](_0x241a03,0x0),_0x57d968,_0x39ac54++);_0x31f5f4[_0x3fc7ff(0x2b5)](_0x13c2b3);for(const [_0xfe2f40,_0x5dfa30]of _0x57d968[_0x3fc7ff(0x2e9)]){const _0x34259a=_0x2b7664[_0x3fc7ff(0x227)](_0x2b7664[_0x3fc7ff(0x223)](_0x241a03,_0x5dfa30[_0x3fc7ff(0x2ce)][_0x3fc7ff(0x290)][_0x3fc7ff(0x268)]()),_0x2b7664[_0x3fc7ff(0x223)](_0x241a03,_0x5dfa30[_0x3fc7ff(0x2b1)][_0x3fc7ff(0x290)][_0x3fc7ff(0x268)]())),_0x32785d=new _0x4c7309(_0xfe2f40,null,_0x34259a,_0x2b7664[_0x3fc7ff(0x2e9)],!0x0,_0x39ac54++);_0x31f5f4[_0x3fc7ff(0x2b5)](_0x32785d);}}if(_0x702407)for(const [_0x365238,_0x3b6deb]of Object[_0x3fc7ff(0x2aa)](_0x702407)){const _0x5a026f=_0x2b7664[_0x3fc7ff(0x2d2)][_0x3fc7ff(0x284)](_0x365238);if(!_0x5a026f)throw new _0xcd5801(_0x3fc7ff(0x293),null);for(const [_0x1ca7ce,_0xdd1081]of Object[_0x3fc7ff(0x2aa)](_0x3b6deb))if(null!==_0xdd1081){const _0x4cf0bd=new _0x10392c(_0x5a026f,_0x1ca7ce,null,_0xdd1081,_0x39ac54++);_0x31f5f4[_0x3fc7ff(0x2b5)](_0x4cf0bd);}}return _0x31f5f4;}async[_0x3abefa(0x29a)](_0xe4a690,_0x4ab64f,_0x57a6d0){const _0x4e6300=_0x3abefa;this[_0x4e6300(0x20b)]({[_0xe4a690]:_0x4ab64f},{[_0xe4a690]:_0x57a6d0})[_0x4e6300(0x26e)]((_0x1a871b,_0xe6b4ab)=>{const _0x1b2ef8=_0x4e6300;_0x1a871b[_0x1b2ef8(0x254)]=this[_0x1b2ef8(0x2e4)][_0x1b2ef8(0x2c1)]+_0xe6b4ab,_0x1a871b[_0x1b2ef8(0x276)]=!0x0,this[_0x1b2ef8(0x241)](_0x1a871b);}),this[_0x4e6300(0x263)](),await this[_0x4e6300(0x292)]();}async[_0x3abefa(0x28f)](_0x577054,_0x20c65f){const _0x4a45e5=_0x3abefa;let _0x21af86;this[_0x4a45e5(0x2d8)]=_0x577054[_0x4a45e5(0x2b9)];const _0x499bfe=_0x577054[_0x4a45e5(0x218)]&&!_0x577054[_0x4a45e5(0x2ab)],_0x1b0988=_0x499bfe?0x0:_0x577054[_0x4a45e5(0x2a4)][_0x4a45e5(0x254)];if(_0x20c65f[_0x4a45e5(0x26e)](_0x509e35=>{const _0x56dade=_0x4a45e5;_0x509e35[_0x56dade(0x276)]=!0x0,_0x509e35[_0x56dade(0x2c2)]=_0x577054[_0x56dade(0x2b3)],_0x509e35[_0x56dade(0x275)]=null;}),_0x499bfe)_0x21af86=_0x20c65f,this[_0x4a45e5(0x203)](_0x21af86,_0x499bfe);else{if(_0x577054[_0x4a45e5(0x2ab)]){const _0x288728=this[_0x4a45e5(0x20b)](_0x577054[_0x4a45e5(0x2ab)]);this[_0x4a45e5(0x2e4)][_0x4a45e5(0x2d9)][_0x4a45e5(0x2c1)]=-_0x288728[_0x4a45e5(0x2df)],_0x288728[_0x4a45e5(0x26e)](_0xe5b2f7=>{const _0x42928b=_0x4a45e5;_0xe5b2f7[_0x42928b(0x254)]-=_0x288728[_0x42928b(0x2df)],_0xe5b2f7[_0x42928b(0x2c2)]=_0x577054[_0x42928b(0x2b3)],_0xe5b2f7[_0x42928b(0x276)]=!0x0,_0xe5b2f7[_0x42928b(0x275)]=null;}),this[_0x4a45e5(0x203)](_0x288728,!0x0),this[_0x4a45e5(0x1f7)][_0x4a45e5(0x2c1)]=-_0x288728[_0x4a45e5(0x2df)]+this[_0x4a45e5(0x2d8)],this[_0x4a45e5(0x265)](_0x288728);}this[_0x4a45e5(0x2e4)][_0x4a45e5(0x2d9)][_0x4a45e5(0x2c1)]=_0x1b0988,_0x21af86=this[_0x4a45e5(0x270)](_0x577054[_0x4a45e5(0x2a4)],_0x577054[_0x4a45e5(0x236)]),await this[_0x4a45e5(0x1fc)](_0x21af86),this[_0x4a45e5(0x203)](_0x21af86,_0x499bfe);}_0x577054[_0x4a45e5(0x2da)]&&(this[_0x4a45e5(0x271)][_0x4a45e5(0x23c)](_0x21af86,_0x577054[_0x4a45e5(0x2da)]),this[_0x4a45e5(0x2c9)]=_0x577054[_0x4a45e5(0x2da)]),this[_0x4a45e5(0x1f7)][_0x4a45e5(0x2c1)]=_0x1b0988+this[_0x4a45e5(0x2d8)],this[_0x4a45e5(0x265)](_0x21af86),_0x20c65f[_0x4a45e5(0x1ef)](_0x2bd648=>{const _0x36f0c7=_0x4a45e5,_0x3d20bc=this[_0x36f0c7(0x288)](_0x2bd648);return _0x3d20bc&&!this[_0x36f0c7(0x207)][_0x36f0c7(0x225)](_0x3d20bc);})[_0x4a45e5(0x26e)]((_0x2eb919,_0x292d63)=>{const _0x2e3182=_0x4a45e5;_0x2eb919[_0x2e3182(0x254)]=this[_0x2e3182(0x2e4)][_0x2e3182(0x2c1)]+_0x292d63,this[_0x2e3182(0x241)](_0x2eb919);}),this[_0x4a45e5(0x2b0)]()?(this[_0x4a45e5(0x299)]=0x0,this[_0x4a45e5(0x263)](!0x0),await this[_0x4a45e5(0x292)]()):(this[_0x4a45e5(0x266)]=!0x1,this[_0x4a45e5(0x22e)]());}[_0x3abefa(0x297)](_0x48c5cd,_0x497919){const _0x3710cb=_0x3abefa,_0x4a17b5=_0x497919&&_0x497919[_0x3710cb(0x21b)];if(_0x4a17b5&&_0x4a17b5[_0x3710cb(0x259)](_0x3710cb(0x2a7)))throw _0x497919;const _0x51bad4=this[_0x3710cb(0x29b)][_0x3710cb(0x23d)][_0x3710cb(0x1ec)](_0xc1ba9c);throw this[_0x3710cb(0x266)]=!0x0,_0x51bad4[_0x3710cb(0x2b2)](),this[_0x3710cb(0x29b)][_0x3710cb(0x278)](_0x3710cb(0x239)),new _0xcd5801(_0x48c5cd,this[_0x3710cb(0x29b)],_0x4a17b5?{'originalError':_0x4a17b5}:void 0x0);}[_0x3abefa(0x241)](_0xa830df){const _0x59a4a4=_0x3abefa;this[_0x59a4a4(0x2d5)][_0x59a4a4(0x225)](_0xa830df)||(this[_0x59a4a4(0x2d5)][_0x59a4a4(0x252)](_0xa830df),this[_0x59a4a4(0x2ac)][_0x59a4a4(0x2b5)](_0xa830df),this[_0x59a4a4(0x20a)]||_0x59a4a4(0x2a8)==_0xa830df[_0x59a4a4(0x26d)]&&!_0xa830df[_0x59a4a4(0x215)]||this[_0x59a4a4(0x2ae)]());}[_0x3abefa(0x263)](_0x37600b=!0x1){const _0x4c5861=_0x3abefa;!_0x37600b&&this[_0x4c5861(0x266)]||(this[_0x4c5861(0x266)]=!0x0,clearTimeout(this[_0x4c5861(0x2a0)]),this[_0x4c5861(0x2a0)]=setTimeout(()=>{const _0x5c6f3f=_0x4c5861;this[_0x5c6f3f(0x234)]()[_0x5c6f3f(0x28d)](_0x3eb1cc=>{const _0x19a75f=_0x5c6f3f;_0x3eb1cc&&(this[_0x19a75f(0x22e)](),this[_0x19a75f(0x266)]=!0x1);})[_0x5c6f3f(0x264)](_0x8e25d6=>{const _0x1d5246=_0x5c6f3f;this[_0x1d5246(0x22e)](),this[_0x1d5246(0x266)]=!0x1,function(_0x2088f3){const _0x42951b=_0x1d5246;return _0x2088f3[_0x42951b(0x21b)][_0x42951b(0x259)](_0x42951b(0x2ed))||_0x2088f3[_0x42951b(0x21b)][_0x42951b(0x259)](_0x42951b(0x2e5))||_0x2088f3[_0x42951b(0x21b)][_0x42951b(0x259)](_0x42951b(0x269));}(_0x8e25d6)||this[_0x1d5246(0x297)](_0x8e25d6[_0x1d5246(0x21b)],_0x8e25d6);});},this[_0x4c5861(0x299)]));}[_0x3abefa(0x292)](){return new Promise(_0x3649fc=>{const _0x3786f5=_0xd162;this['on'](_0x3786f5(0x23f),()=>{_0x3649fc();});});}async[_0x3abefa(0x234)](){const _0x54ce4d=_0x3abefa,_0x510e02=this[_0x54ce4d(0x29b)][_0x54ce4d(0x23d)][_0x54ce4d(0x1ec)](_0x231b03);if(this[_0x54ce4d(0x285)]()&&(_0x510e02[_0x54ce4d(0x1f0)](),this[_0x54ce4d(0x2db)]=!0x1),!this[_0x54ce4d(0x2b0)]())return!0x0;const _0x3d55e2=[...this[_0x54ce4d(0x2ac)]];for(const _0x851b3d of _0x3d55e2)_0x851b3d[_0x54ce4d(0x296)]=this[_0x54ce4d(0x2e4)][_0x54ce4d(0x2d9)][_0x54ce4d(0x1f6)](_0x851b3d);const _0x570da8=this[_0x54ce4d(0x271)][_0x54ce4d(0x1ee)](_0x3d55e2),_0x23851c=J++,_0x56c883=this[_0x54ce4d(0x2c3)](_0x3d55e2),_0x45eea8=await this[_0x54ce4d(0x289)][_0x54ce4d(0x244)](_0x56c883,_0x56c883[_0x54ce4d(0x254)],_0x570da8);try{return await this[_0x54ce4d(0x1f5)](_0x3d55e2,_0x45eea8,_0x23851c);}catch(_0x512964){return this[_0x54ce4d(0x297)](_0x54ce4d(0x25d),_0x512964);}}async[_0x3abefa(0x1f5)](_0x5cf42d,_0x59a49a,_0x324cef){const _0x1b976c=_0x3abefa;if(_0x1b976c(0x2c4)in _0x59a49a)throw _0x59a49a[_0x1b976c(0x2c4)];let _0x4dca24=!0x1;if(_0x59a49a[_0x1b976c(0x218)]){_0x59a49a[_0x1b976c(0x2da)]&&(this[_0x1b976c(0x2c9)]=_0x59a49a[_0x1b976c(0x2da)]),this[_0x1b976c(0x2ac)]=this[_0x1b976c(0x2ac)][_0x1b976c(0x1ef)](_0x5cc6f0=>!_0x5cf42d[_0x1b976c(0x242)](_0x5cc6f0));for(const _0x9a862f of _0x5cf42d)_0x9a862f[_0x1b976c(0x2c2)]=_0x1b976c(0x1f1)in _0x59a49a&&_0x59a49a[_0x1b976c(0x1f1)]||void 0x0;X(_0x5cf42d,_0x59a49a[_0x1b976c(0x2c1)]-_0x5cf42d[_0x1b976c(0x2df)]),this[_0x1b976c(0x265)](_0x5cf42d);const _0x5b67da=_0x5cf42d[_0x1b976c(0x1ef)](_0x105e6f=>{const _0x1c7a78=_0x1b976c;if(!_0x105e6f[_0x1c7a78(0x276)])return!0x1;const _0x294684=this[_0x1c7a78(0x288)](_0x105e6f);return _0x294684&&!this[_0x1c7a78(0x207)][_0x1c7a78(0x225)](_0x294684);});X(_0x5b67da,this[_0x1b976c(0x2e4)][_0x1b976c(0x2c1)]),this[_0x1b976c(0x203)](_0x5b67da),_0x4dca24=!0x0,this[_0x1b976c(0x299)]=this[_0x1b976c(0x226)];}else{const _0x406fc6=this[_0x1b976c(0x270)](_0x59a49a[_0x1b976c(0x2a4)],_0x59a49a[_0x1b976c(0x236)])[_0x1b976c(0x1ef)](_0xd9f7cb=>_0xd9f7cb[_0x1b976c(0x254)]>=this[_0x1b976c(0x274)]);_0x406fc6[_0x1b976c(0x26e)](_0x1c4cfc=>this[_0x1b976c(0x2ad)](_0x1c4cfc)),this[_0x1b976c(0x2ac)]=this[_0x1b976c(0x2ac)][_0x1b976c(0x1ef)](_0x57177d=>!_0x57177d[_0x1b976c(0x276)]||!this[_0x1b976c(0x207)][_0x1b976c(0x225)](this[_0x1b976c(0x288)](_0x57177d))),this[_0x1b976c(0x2ac)][_0x1b976c(0x2df)]&&X(this[_0x1b976c(0x2ac)],this[_0x1b976c(0x2ac)][0x0][_0x1b976c(0x254)]),await this[_0x1b976c(0x1fc)](_0x406fc6),_0x4dca24=this[_0x1b976c(0x28b)](_0x406fc6,_0x59a49a[_0x1b976c(0x2c1)],_0x59a49a[_0x1b976c(0x2da)]),this[_0x1b976c(0x299)]=Math[_0x1b976c(0x267)](this[_0x1b976c(0x299)]/0x2);}return _0x4dca24?!this[_0x1b976c(0x2b0)]()||(this[_0x1b976c(0x263)](!0x0),!0x1):this[_0x1b976c(0x297)](_0x1b976c(0x209));}[_0x3abefa(0x28b)](_0xacf08f,_0x4641e1,_0x319f49){const _0x2aa9c5=_0x3abefa;try{const _0x487921={'document':this[_0x2aa9c5(0x2e4)],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x2da6ff,operationsB:_0x5ec739,originalOperations:_0x34991d}=_0x351504(_0xacf08f,this[_0x2aa9c5(0x2ac)],_0x487921);X(_0x2da6ff,this[_0x2aa9c5(0x2e4)][_0x2aa9c5(0x2c1)]),X(_0x5ec739,_0x4641e1);for(const _0x5f31b9 of _0x2da6ff){const _0x444b7a=_0x34991d[_0x2aa9c5(0x1ec)](_0x5f31b9);_0x5f31b9[_0x2aa9c5(0x275)]=_0x444b7a?_0x444b7a[_0x2aa9c5(0x275)]:null;}_0x319f49&&(this[_0x2aa9c5(0x271)][_0x2aa9c5(0x23c)](_0xacf08f,_0x319f49),this[_0x2aa9c5(0x2c9)]=_0x319f49),this[_0x2aa9c5(0x2ac)]=[..._0x5ec739],this[_0x2aa9c5(0x203)](_0x2da6ff),this[_0x2aa9c5(0x265)](_0xacf08f);}catch(_0xf8e9cd){return console[_0x2aa9c5(0x2c4)](_0xf8e9cd),!0x1;}return!0x0;}[_0x3abefa(0x203)](_0x599f4b,_0x61cc42=!0x1){const _0x45c54f=_0x3abefa;this[_0x45c54f(0x29b)][_0x45c54f(0x1eb)][_0x45c54f(0x1fa)]({'isUndoable':!0x1,'isLocal':!0x1},_0x59b67b=>{const _0x4c0692=_0x45c54f;for(const _0x311431 of _0x599f4b)this[_0x4c0692(0x2d5)][_0x4c0692(0x252)](_0x311431),this[_0x4c0692(0x2ad)](_0x311431),_0x59b67b[_0x4c0692(0x212)][_0x4c0692(0x221)](_0x311431),this[_0x4c0692(0x29b)][_0x4c0692(0x1eb)][_0x4c0692(0x2d1)](_0x311431);});}[_0x3abefa(0x2ad)](_0x52d483){const _0x678ed6=_0x3abefa,_0x151c09=this[_0x678ed6(0x288)](_0x52d483);_0x151c09&&this[_0x678ed6(0x207)][_0x678ed6(0x252)](_0x151c09);}[_0x3abefa(0x288)](_0xa1d1fe){const _0x1d0302=_0x3abefa;let _0x41bf36,_0x3928b6;switch(_0xa1d1fe[_0x1d0302(0x26d)]){case _0x1d0302(0x235):_0x41bf36=_0xa1d1fe[_0x1d0302(0x2bf)][_0x1d0302(0x22c)];break;case _0x1d0302(0x2a8):if(_0x3928b6=_0xa1d1fe[_0x1d0302(0x26f)],!_0x3928b6)return null;_0x41bf36=_0x3928b6[_0x1d0302(0x22c)];break;case _0x1d0302(0x286):_0x41bf36=_0xa1d1fe[_0x1d0302(0x22c)];break;case _0x1d0302(0x27a):_0x41bf36=_0xa1d1fe[_0x1d0302(0x29e)];break;case _0x1d0302(0x21d):_0x41bf36=_0xa1d1fe[_0x1d0302(0x27e)][_0x1d0302(0x22c)];break;default:return null;}return _0x41bf36[_0x1d0302(0x1f2)];}[_0x3abefa(0x265)](_0x4f7cf6){const _0xe2c88f=_0x3abefa;_0x4f7cf6[_0xe2c88f(0x26e)](_0x35dccf=>{const _0x4c880f=_0xe2c88f,_0xc474bc=_0x35dccf[_0x4c880f(0x2de)]();_0xc474bc[_0x4c880f(0x275)]=_0x35dccf[_0x4c880f(0x275)],_0xc474bc[_0x4c880f(0x276)]=!!_0x35dccf[_0x4c880f(0x276)],_0xc474bc[_0x4c880f(0x2c2)]=_0x35dccf[_0x4c880f(0x2c2)],_0xc474bc[_0x4c880f(0x254)]+=this[_0x4c880f(0x2d8)],_0x35dccf[_0x4c880f(0x1f3)]&&this[_0x4c880f(0x25a)][_0x4c880f(0x252)](_0xc474bc),this[_0x4c880f(0x1f7)][_0x4c880f(0x221)](_0xc474bc);});}[_0x3abefa(0x216)](_0x359be2){const _0x2ed43d=_0x3abefa,_0x2f839a=this[_0x2ed43d(0x29b)][_0x2ed43d(0x23d)][_0x2ed43d(0x1ec)](_0x2ed43d(0x231)),_0x5221f3=this[_0x2ed43d(0x29b)][_0x2ed43d(0x1fb)];_0x359be2||(_0x359be2=_0x17c53c(_0x5221f3,_0x2ed43d(0x20c))),_0x2f839a[_0x2ed43d(0x26a)](_0x359be2,{'title':_0x17c53c(_0x5221f3,_0x2ed43d(0x1f9)),'namespace':_0x2ed43d(0x2e6)}),this[_0x2ed43d(0x29d)]=!0x0,clearTimeout(this[_0x2ed43d(0x2a0)]),this[_0x2ed43d(0x2ac)]=[],this[_0x2ed43d(0x29b)][_0x2ed43d(0x23d)][_0x2ed43d(0x1ec)](_0xc1ba9c)[_0x2ed43d(0x2b2)]();}[_0x3abefa(0x2ae)](){const _0x3af397=_0x3abefa;this[_0x3af397(0x20a)]||(this[_0x3af397(0x20a)]=this[_0x3af397(0x29b)][_0x3af397(0x23d)][_0x3af397(0x1ec)](_0x229b19)[_0x3af397(0x252)](_0x17c53c(this[_0x3af397(0x29b)][_0x3af397(0x1fb)],_0x3af397(0x24c))));}[_0x3abefa(0x22e)](){const _0x3c1744=_0x3abefa;this[_0x3c1744(0x20a)]&&(this[_0x3c1744(0x29b)][_0x3c1744(0x23d)][_0x3c1744(0x1ec)](_0x229b19)[_0x3c1744(0x24d)](this[_0x3c1744(0x20a)]),this[_0x3c1744(0x20a)]=null);}[_0x3abefa(0x2c3)](_0x42534e){const _0x141581=_0x3abefa,_0x34344c=_0x42534e[_0x141581(0x21f)](_0x4e7d84=>_0x4e7d84[_0x141581(0x24a)]());return this[_0x141581(0x2a5)][_0x141581(0x20e)](_0x34344c);}[_0x3abefa(0x270)](_0x47c646,_0x54c0a4){const _0x27a532=_0x3abefa;return this[_0x27a532(0x2a5)][_0x27a532(0x2cc)](_0x47c646)[_0x27a532(0x21f)]((_0xc8885c,_0x4d85d9)=>{const _0x247b92=_0x27a532,_0x33ceea=_0x247b92(0x2be)==_0x54c0a4[_0x4d85d9][_0x247b92(0x26d)];if(_0x247b92(0x280)==_0xc8885c[_0x247b92(0x1f8)]){const _0x1004c9=_0xc8885c[_0x247b92(0x2bf)][_0x247b92(0x22c)];!this[_0x247b92(0x2e4)][_0x247b92(0x284)](_0x1004c9)&&(this[_0x247b92(0x2e4)][_0x247b92(0x25e)](_0x247b92(0x258),_0x1004c9)[_0x247b92(0x233)]=!0x1);}const _0x2200ca=_0x15c734[_0x247b92(0x1f4)](_0xc8885c,this[_0x247b92(0x2e4)]);return _0x2200ca[_0x247b92(0x296)]=_0xc8885c[_0x247b92(0x296)],_0x2200ca[_0x247b92(0x276)]=_0x33ceea,_0x2200ca[_0x247b92(0x275)]=_0x33ceea?null:_0x54c0a4[_0x4d85d9][_0x247b92(0x28a)],_0x2200ca[_0x247b92(0x1f3)]=_0x247b92(0x217)===_0x54c0a4[_0x4d85d9][_0x247b92(0x26d)],_0x2200ca[_0x247b92(0x2c2)]=_0x54c0a4[_0x4d85d9][_0x247b92(0x2c2)],_0x2200ca;});}[_0x3abefa(0x238)](){const _0x4a27ee=_0x3abefa;this[_0x4a27ee(0x2db)]=!0x0,this[_0x4a27ee(0x285)]()?this[_0x4a27ee(0x263)]():this[_0x4a27ee(0x2db)]=!0x1;}[_0x3abefa(0x285)](){const _0xd9190b=_0x3abefa,_0x25e39b=this[_0xd9190b(0x29b)][_0xd9190b(0x23d)][_0xd9190b(0x1ec)](_0xc90e44)[_0xd9190b(0x2c0)][_0xd9190b(0x1ec)](this[_0xd9190b(0x260)]);return!this[_0xd9190b(0x29b)][_0xd9190b(0x247)]&&!!_0x25e39b&&_0x25e39b[_0xd9190b(0x2df)]>0x1&&this[_0xd9190b(0x2db)];}[_0x3abefa(0x2b0)](){const _0x48ee36=_0x3abefa;return this[_0x48ee36(0x2ac)][_0x48ee36(0x2df)]>0x0||this[_0x48ee36(0x285)]();}}export default l;class Q extends Error{}function _0x18c8(){const _0x1c33bb=['_bufferedOperations','_addKnownRoot','_setPendingAction','view','_shouldSendUpdate','end','disconnect','sessionCreatedAt','listenTo','push','operationsReceived','from','state','offset','stopListening','reconnect','parse','Permissions','init','position','channelSessions','version','createdAt','_compressOperations','error','_handleReceivedOperations','realtimecollaborationclient-init-connection-failed','_disconnectService','isPremiumPlugin','_lastSyncedOperationId','bind','connect','decompress','_initThrowingOnDataSet','start','collaboration','string','applyOperation','document','change:_isEditingAllowed','requires','_knownOperations','_setUpDataInit','stop','_offset','history','lastOperationId','_hasSelectionChanged','mySessionId','pluginName','clone','length','realtimecollaborationclient-init-service-incorrect-server-operation','reset','permissions','apply','_document','cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.','real-time-collaboration','cloudDocumentVersion','loadRoot','markers','size','realtimecollaborationclient-init-non-existent-root','rootsAttributes','cloud-services-internal-error:\x20Not\x20connected.','setPermissions','getMany','isOfficialPlugin','model','get','RealTimeCollaborationClient','getIdOfTheLastOperation','filter','createUserMarkerOperations','lastOperationAcceptedAt','rootName','_isDisconnection','fromJSON','_handleServerResponse','isUndoneOperation','serverHistory','__className','Synchronization\x20issue','enqueueChange','locale','_fetchMissingUsers','getOperationAuthor','sessionAdd:','lastSyncVersion','lastDocumentSession','_isLoaded','collaboration-missing-channelid','_applyOperationsSet','5gNKshi','cloudServices.bundleVersion','createPositionAt','_knownRootNames','directChange','realtimecollaborationclient-handleserverresponse','_pendingAction','_getOperationsFromInitData','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.','define','compress','CollaborativeEditingService','currentDocumentSession','360BykWnk','batch','change:range','24328ykpeqw','affectsData','_handleReconnectionError','cs:removeUser','wereChangesApplied','set','collaboration.channelId','message','editing','move','ready','map','18MVQaBN','addOperation','disconnected','createPositionFromPath','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.','has','_baseBufferDelay','createRange','rtc-offline','high','unregister','CommentsOnly','root','return','_clearPendingAction','off','document:write','Notification','realtimecollaborationclient-init-document-already-initialized','_isAttached','_sendBufferedOperations','insert','metadata','6015877pKZtrd','_refreshUserSelectionMarkers','realtimecollaborationclient-error','disableReadOnlyMode','realtimecollaborationclient-init-session-connection-error','setIdForTheLastOperation','plugins','_isEditingAllowed','change:_isPendingUpdate','selection','_saveOperationInBuffer','includes','18490370MdoygH','sendOperations','getDocumentDetails','_handleReconnectionResponse','isReadOnly','realtimecollaborationclient-init-service-internal-error','getUser','toJSON','realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration','PENDING_ACTION_SENDING_DATA','remove','keys','264611szvzku','409','_connectService','add','removeFromReconnectionStack','baseVersion','17142YPkpCC','connection','reconnection:\x20flushed\x20session','$root','startsWith','_disconnectionOperations','suppressErrorInCollaboration','_isConnected','realtimecollaborationclient-sendbufferedoperations','createRoot','_connectAfterSessionHasBeenFlushed','_channelId','_ignoredOperations','getConnectedSessions','_sendBufferedOperationsDelayed','catch','_updateServerHistory','_isPendingUpdate','round','slice','cloud-services-internal-error:\x20Request\x20timeout.','showWarning','register','differ','type','forEach','newRange','_decompressOperations','_operationIdentifier','roots','_handleSendingSelectionMarkers','_lastServerVersion','_authorId','_isInit','The\x20document\x20details\x20could\x20not\x20be\x20taken\x20during\x20the\x20reconnection.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','enableReadOnlyMode','attributes','addRoot','404','change:hasDomSelection','_initSessionsHandling','targetPosition','_bufferRootLoad','InsertOperation','connected','config','isEnabled','getRoot','_shouldSendSelectionUpdate','addRootAttribute','isDocumentOperation','_getAffectedRoot','_service','userId','_handleExternalOperations','The\x20document\x20cannot\x20be\x20connected\x20back\x20to\x20the\x20server.\x20To\x20not\x20lose\x20your\x20content\x20save\x20it\x20locally\x20and\x20refresh\x20the\x20editor.','then','rtc-destroyed','_handleInitialConnectionData','path','2539112gbjzQx','_waitUntilSynced','multi-root-editor-root-attributes-no-root','addUser','code','wasUndone','_crash','506670xvCLbZ','_currentBufferDelay','_loadRoot','editor','_operationToId','_hasSynchronizationProblem','affectedSelectable','finally','_sendBufferedOperationsDelayId','getOperations','fire','destroy','data','_compressor','sessionId','realtimecollaborationclient','marker','addToReconnectionStack','entries','initData'];_0x18c8=function(){return _0x1c33bb;};return _0x18c8();}function X(_0x15c350,_0x17c42c){const _0x4d1821=_0x3abefa;for(const _0x311226 of _0x15c350)_0x311226[_0x4d1821(0x254)]=_0x17c42c++;}class Y{[_0x3abefa(0x261)];[_0x3abefa(0x29c)];constructor(_0xdc6eec){const _0x3bb10e=_0x3abefa;this[_0x3bb10e(0x261)]=_0xdc6eec,this[_0x3bb10e(0x29c)]=new WeakMap();}[_0x3abefa(0x1ee)](_0x5bdef2){const _0x2b03e0=_0x3abefa;let _0x124f48=_0x5bdef2[_0x2b03e0(0x2df)];for(;_0x124f48--;){const _0x3cf00f=_0x5bdef2[_0x124f48];if(!this[_0x2b03e0(0x261)][_0x2b03e0(0x225)](_0x3cf00f)){if(!this[_0x2b03e0(0x29c)][_0x2b03e0(0x225)](_0x3cf00f)){const _0x5f340b=_0x421675()[_0x2b03e0(0x268)](0x1,0x12);this[_0x2b03e0(0x29c)][_0x2b03e0(0x219)](_0x3cf00f,_0x5f340b);}return this[_0x2b03e0(0x29c)][_0x2b03e0(0x1ec)](_0x3cf00f);}}}[_0x3abefa(0x23c)](_0x32182f,_0x4c2bed){const _0x3b1f98=_0x3abefa;if(!_0x4c2bed)return;let _0xc0f688=_0x32182f[_0x3b1f98(0x2df)];for(;_0xc0f688--;){const _0x122d24=_0x32182f[_0xc0f688];this[_0x3b1f98(0x261)][_0x3b1f98(0x225)](_0x122d24)||this[_0x3b1f98(0x29c)][_0x3b1f98(0x219)](_0x122d24,_0x4c2bed);}}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x24a240=_0xf562;(function(_0x2f3d48,_0x54c291){const _0xcf6b5e=_0xf562,_0x28bf02=_0x2f3d48();while(!![]){try{const _0x53e181=-parseInt(_0xcf6b5e(0xd1))/0x1+-parseInt(_0xcf6b5e(0xdc))/0x2*(parseInt(_0xcf6b5e(0xf8))/0x3)+-parseInt(_0xcf6b5e(0x107))/0x4+-parseInt(_0xcf6b5e(0xe1))/0x5*(parseInt(_0xcf6b5e(0x103))/0x6)+parseInt(_0xcf6b5e(0xf0))/0x7+parseInt(_0xcf6b5e(0xdd))/0x8*(parseInt(_0xcf6b5e(0xde))/0x9)+parseInt(_0xcf6b5e(0xcc))/0xa*(parseInt(_0xcf6b5e(0x100))/0xb);if(_0x53e181===_0x54c291)break;else _0x28bf02['push'](_0x28bf02['shift']());}catch(_0x18ca79){_0x28bf02['push'](_0x28bf02['shift']());}}}(_0x346a,0x75388));function _0xf562(_0x2d5cc5,_0x1fb838){const _0x346a31=_0x346a();return _0xf562=function(_0xf562f8,_0x244121){_0xf562f8=_0xf562f8-0xcb;let _0x3c9b42=_0x346a31[_0xf562f8];return _0x3c9b42;},_0xf562(_0x2d5cc5,_0x1fb838);}import{ContextPlugin as _0x35089c}from'ckeditor5/src/core.js';import{Collection as _0xd80f5d,CKEditorError as _0x55c523}from'ckeditor5/src/utils.js';import _0x35c945 from'./websocketgateway.js';import{Users as _0x45efdf}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x346a(){const _0x4b8e7d=['_createUser','3197800ynalbF','_uniqueUsersCount','connected','get','7551270MDVUcM','getUserRole','connection','remove','values','957830PNkwOx','clear','plugins','_handleSessionRemove','set','unregister','fire','init','getUserSessions','forEach','stopListening','358cYPGvO','4308480OBqfpf','9nSclqI','pluginName','Sessions','10tqBpeW','channelConnectedUsers','requires','channelSessions','sessions-unregister-not-exist','context','listenTo','mySessionId','register','_handleSessionAdd','isOfficialPlugin','delete','change:state','assign','addUser','564081FiuqBA','user','getUser','allConnectedUsers','defineMe','isPremiumPlugin','state','add','2934LVAwOK','role','orderNumber','has','isMe','sessionAdd:','_registeredSessions','sessions-register-already-registered','33sPaToH','sessionId','_users','1416138TJaZsq','size','getUserBySessionId'];_0x346a=function(){return _0x4b8e7d;};return _0x346a();}export default class i extends _0x35089c{[_0x24a240(0xe4)];[_0x24a240(0xe2)];[_0x24a240(0xf3)];[_0x24a240(0xfe)];[_0x24a240(0x108)];[_0x24a240(0x102)];static get[_0x24a240(0xdf)](){const _0xfaa82c=_0x24a240;return _0xfaa82c(0xe0);}static get[_0x24a240(0xeb)](){return!0x0;}static get[_0x24a240(0xf5)](){return!0x0;}static get[_0x24a240(0xe3)](){return[_0x35c945,_0x45efdf];}constructor(_0x3e0bdf){const _0x28e302=_0x24a240;super(_0x3e0bdf),this[_0x28e302(0xe4)]=new Map(),this[_0x28e302(0xe2)]=new Map(),this[_0x28e302(0xf3)]=new _0xd80f5d(),this[_0x28e302(0xfe)]=new Map(),this[_0x28e302(0x108)]=0x0,this[_0x28e302(0x102)]=this[_0x28e302(0xe6)][_0x28e302(0xd3)][_0x28e302(0xcb)](_0x45efdf);}[_0x24a240(0xd8)](){const _0x44bc65=_0x24a240,_0x209bd6=this[_0x44bc65(0xe6)][_0x44bc65(0xd3)][_0x44bc65(0xcb)](_0x35c945);this[_0x44bc65(0xe7)](_0x209bd6,_0x44bc65(0xed),(_0x1ff544,_0x1fd037,_0x15c066)=>{const _0xd07a90=_0x44bc65;if(_0xd07a90(0x109)!==_0x15c066)this[_0xd07a90(0xe4)][_0xd07a90(0xda)](_0x5c2427=>_0x5c2427[_0xd07a90(0xd2)]()),this[_0xd07a90(0xe2)][_0xd07a90(0xda)](_0x3757bd=>_0x3757bd[_0xd07a90(0xd2)]()),this[_0xd07a90(0xf3)][_0xd07a90(0xd2)]();else{for(const [_0x49f981,_0x250ab8]of this[_0xd07a90(0xfe)])for(const _0x44e83e of _0x250ab8)this[_0xd07a90(0xea)](_0x49f981,_0x44e83e);}}),this[_0x44bc65(0x106)](_0x209bd6[_0x44bc65(0xce)]['me'],!0x0);}[_0x24a240(0xe9)](_0x3a1f7a,_0x5ac640){const _0x257a86=_0x24a240;if(this[_0x257a86(0xfe)][_0x257a86(0xfb)](_0x3a1f7a))throw new _0x55c523(_0x257a86(0xff),null,{'channelId':_0x3a1f7a});this[_0x257a86(0xfe)][_0x257a86(0xd5)](_0x3a1f7a,_0x5ac640),this[_0x257a86(0xe4)][_0x257a86(0xd5)](_0x3a1f7a,new _0xd80f5d()),this[_0x257a86(0xe2)][_0x257a86(0xd5)](_0x3a1f7a,new _0xd80f5d()),this[_0x257a86(0xe7)](_0x5ac640,_0x257a86(0xf7),(_0x4aed9b,_0xad4574)=>this[_0x257a86(0xea)](_0x3a1f7a,_0xad4574)),this[_0x257a86(0xe7)](_0x5ac640,_0x257a86(0xcf),(_0x15621a,_0x1433de)=>this[_0x257a86(0xd4)](_0x3a1f7a,_0x1433de));for(const _0x29cd76 of _0x5ac640)this[_0x257a86(0xea)](_0x3a1f7a,_0x29cd76);}[_0x24a240(0xd6)](_0x707432){const _0x244888=_0x24a240;if(!this[_0x244888(0xfe)][_0x244888(0xfb)](_0x707432))throw new _0x55c523(_0x244888(0xe5),null,{'channelId':_0x707432});const _0x1c7a8e=this[_0x244888(0xfe)][_0x244888(0xcb)](_0x707432);this[_0x244888(0xdb)](_0x1c7a8e);for(const _0x592cbd of _0x1c7a8e)_0x244888(0x109)===this[_0x244888(0xe6)][_0x244888(0xd3)][_0x244888(0xcb)](_0x35c945)[_0x244888(0xf6)]&&this[_0x244888(0xd4)](_0x707432,_0x592cbd);this[_0x244888(0xfe)][_0x244888(0xec)](_0x707432),this[_0x244888(0xe4)][_0x244888(0xec)](_0x707432),this[_0x244888(0xe2)][_0x244888(0xec)](_0x707432);}get[_0x24a240(0xe8)](){const _0x3fdcf2=_0x24a240;return this[_0x3fdcf2(0xe6)][_0x3fdcf2(0xd3)][_0x3fdcf2(0xcb)](_0x35c945)[_0x3fdcf2(0xce)][_0x3fdcf2(0x101)];}[_0x24a240(0x105)](_0x9f5015){const _0x30203d=_0x24a240;for(const _0x21403c of this[_0x30203d(0xe4)][_0x30203d(0xd0)]())for(const _0x183961 of _0x21403c)if(_0x183961['id']===_0x9f5015)return _0x183961[_0x30203d(0xf1)];}[_0x24a240(0xd9)](_0x410040,_0x46e5b2){const _0x3962e8=_0x24a240,_0x1297ef=_0x46e5b2?[this[_0x3962e8(0xe4)][_0x3962e8(0xcb)](_0x46e5b2)]:this[_0x3962e8(0xe4)][_0x3962e8(0xd0)](),_0x58c7b0=new Set();for(const _0x259604 of _0x1297ef)for(const _0x320aaf of _0x259604)_0x320aaf[_0x3962e8(0xf1)]['id']===_0x410040['id']&&_0x58c7b0[_0x3962e8(0xf7)](_0x320aaf['id']);return _0x58c7b0;}[_0x24a240(0xcd)](_0x11b089){const _0x4cccb1=_0x24a240;for(const _0x1a44d2 of this[_0x4cccb1(0xe4)][_0x4cccb1(0xd0)]())for(const _0x2746dc of _0x1a44d2)if(_0x2746dc[_0x4cccb1(0xf1)]===_0x11b089)return _0x2746dc[_0x4cccb1(0xf9)];}[_0x24a240(0xea)](_0x1830bb,_0x215af7){const _0x212b73=_0x24a240;if(_0x212b73(0x109)!==this[_0x212b73(0xe6)][_0x212b73(0xd3)][_0x212b73(0xcb)](_0x35c945)[_0x212b73(0xf6)])return;const _0x2fe3df=_0x215af7[_0x212b73(0xf1)],_0x5f1dbd=this[_0x212b73(0x102)][_0x212b73(0xf2)](_0x2fe3df['id'])||this[_0x212b73(0x106)](_0x2fe3df),_0xa2e715=Object[_0x212b73(0xee)]({},_0x215af7,{'user':_0x5f1dbd});this[_0x212b73(0xe4)][_0x212b73(0xcb)](_0x1830bb)[_0x212b73(0xf7)](_0xa2e715);const _0x3aab3c=this[_0x212b73(0xe2)][_0x212b73(0xcb)](_0x1830bb);_0x3aab3c[_0x212b73(0xfb)](_0x5f1dbd['id'])||_0x3aab3c[_0x212b73(0xf7)](_0x5f1dbd),this[_0x212b73(0xf3)][_0x212b73(0xfb)](_0x5f1dbd['id'])||this[_0x212b73(0xf3)][_0x212b73(0xf7)](_0x5f1dbd,_0x5f1dbd[_0x212b73(0xfc)]?0x0:void 0x0),this[_0x212b73(0xd7)](_0x212b73(0xfd)+_0x1830bb,{'channelId':_0x1830bb,'session':_0xa2e715});}[_0x24a240(0xd4)](_0x286a82,_0x273d66){const _0x2a2a1a=_0x24a240;if(_0x2a2a1a(0x109)!==this[_0x2a2a1a(0xe6)][_0x2a2a1a(0xd3)][_0x2a2a1a(0xcb)](_0x35c945)[_0x2a2a1a(0xf6)])return;const _0x48a729=this[_0x2a2a1a(0xe2)][_0x2a2a1a(0xcb)](_0x286a82),_0xb3038=_0x273d66[_0x2a2a1a(0xf1)];_0xb3038['id']&&(this[_0x2a2a1a(0xe4)][_0x2a2a1a(0xcb)](_0x286a82)[_0x2a2a1a(0xcf)](_0x273d66['id']),_0x48a729[_0x2a2a1a(0xfb)](_0xb3038['id'])&&!this[_0x2a2a1a(0xd9)](_0xb3038,_0x286a82)[_0x2a2a1a(0x104)]&&_0x48a729[_0x2a2a1a(0xcf)](_0xb3038['id']),this[_0x2a2a1a(0xf3)][_0x2a2a1a(0xcb)](_0xb3038['id'])&&!this[_0x2a2a1a(0xd9)](_0xb3038)[_0x2a2a1a(0x104)]&&this[_0x2a2a1a(0xf3)][_0x2a2a1a(0xcf)](_0xb3038['id']));}[_0x24a240(0x106)](_0x26e820,_0x2c2a0d){const _0xa03e5a=_0x24a240,_0x453245=this[_0xa03e5a(0x102)][_0xa03e5a(0xef)](_0x26e820);return _0x2c2a0d&&this[_0xa03e5a(0x102)][_0xa03e5a(0xf4)](_0x26e820['id']),_0x453245[_0xa03e5a(0xfa)]=this[_0xa03e5a(0x108)]++,_0x453245;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1ec62f=_0xb5c0;(function(_0x25d5eb,_0xcb4694){const _0xbdab2d=_0xb5c0,_0x28661=_0x25d5eb();while(!![]){try{const _0x2edba1=parseInt(_0xbdab2d(0x173))/0x1*(-parseInt(_0xbdab2d(0x160))/0x2)+-parseInt(_0xbdab2d(0x17a))/0x3+parseInt(_0xbdab2d(0x182))/0x4+parseInt(_0xbdab2d(0x127))/0x5*(parseInt(_0xbdab2d(0x144))/0x6)+-parseInt(_0xbdab2d(0x181))/0x7*(parseInt(_0xbdab2d(0x146))/0x8)+-parseInt(_0xbdab2d(0x151))/0x9+parseInt(_0xbdab2d(0x161))/0xa*(parseInt(_0xbdab2d(0x14e))/0xb);if(_0x2edba1===_0xcb4694)break;else _0x28661['push'](_0x28661['shift']());}catch(_0x22f312){_0x28661['push'](_0x28661['shift']());}}}(_0x6f2b,0xa6228));import{Plugin as _0xc20d0d}from'ckeditor5/src/core.js';import{global as _0xb31cc0,DomEmitterMixin as _0x235761}from'ckeditor5/src/utils.js';import _0x348c5e from'./sessions.js';import{LiveRange as _0x15dba8}from'ckeditor5/src/engine.js';import'../../theme/usermarkers.css';export default class q extends _0xc20d0d{[_0x1ec62f(0x165)]=new(_0x235761())();static get[_0x1ec62f(0x18d)](){return[_0x348c5e];}static get[_0x1ec62f(0x134)](){const _0x494d2d=_0x1ec62f;return _0x494d2d(0x143);}static get[_0x1ec62f(0x17c)](){return!0x0;}static get[_0x1ec62f(0x18b)](){return!0x0;}[_0x1ec62f(0x12c)](){const _0x42db4d=_0x1ec62f,_0x4cac4d=this[_0x42db4d(0x1a2)],_0x3a4d54=_0x4cac4d[_0x42db4d(0x15b)][_0x42db4d(0x125)](_0x348c5e);_0x4cac4d[_0x42db4d(0x159)][_0x42db4d(0x176)](_0x42db4d(0x12d))[_0x42db4d(0x1ab)]({'model':_0x42db4d(0x196),'view':(_0x26dd20,{writer:_0x568546})=>function(_0x15790b,_0xed06c1,_0x2a3696,_0x1735ac){const _0x43de20=_0x42db4d,_0x1bc72d=_0x15790b[_0x43de20(0x170)][_0x43de20(0x18e)](':')[0x2],_0x541f39=_0x2a3696[_0x43de20(0x12e)](_0x1bc72d);if(!_0x541f39||_0x1bc72d===_0x2a3696[_0x43de20(0x188)])return;if(!_0x1735ac[_0x43de20(0x162)][_0x43de20(0x164)][_0x43de20(0x1ae)](_0x15790b[_0x43de20(0x16f)][_0x43de20(0x16e)],_0x43de20(0x12f)))return;const _0x5bddc2={'class':_0x43de20(0x14b)+_0x541f39[_0x43de20(0x155)][_0x43de20(0x179)](),'data-name':_0x541f39[_0x43de20(0x16d)],'data-session-id':_0x1bc72d},_0x2b2da1=_0x1735ac[_0x43de20(0x162)][_0x43de20(0x136)][_0x43de20(0x125)](_0x15790b[_0x43de20(0x170)]),_0x201540=_0x2b2da1[_0x43de20(0x13a)](),_0x580d0e=_0x201540[_0x43de20(0x1a6)],_0x148eb6=_0x1735ac[_0x43de20(0x162)][_0x43de20(0x164)];if(_0x580d0e&&_0x148eb6[_0x43de20(0x14f)](_0x580d0e)&&_0x148eb6[_0x43de20(0x167)](_0x580d0e)&&!_0x1735ac[_0x43de20(0x162)][_0x43de20(0x136)][_0x43de20(0x125)](_0x43de20(0x156)+_0x1bc72d)[_0x43de20(0x15d)]()[_0x43de20(0x180)])return;const _0x59fd18=_0x201540[_0x43de20(0x130)];return _0x1735ac[_0x43de20(0x162)][_0x43de20(0x164)][_0x43de20(0x17f)](_0x59fd18)&&!_0x1735ac[_0x43de20(0x162)][_0x43de20(0x124)](_0x59fd18)&&(_0x5bddc2[_0x43de20(0x166)]=!0x1),function(_0x5d7d68,_0x140f95,_0x4bac21){const _0x53eb47=_0x43de20,_0x5547b6=_0x5d7d68[_0x53eb47(0x19e)](_0x53eb47(0x177),_0x140f95);return _0x5d7d68[_0x53eb47(0x129)](_0x53eb47(0x198),!0x0,_0x5547b6),_0x5547b6[_0x53eb47(0x16c)]=function(_0x12eeec){const _0x33c51b=_0x53eb47,_0x1a11a1=this[_0x33c51b(0x13f)](_0x12eeec),_0x4d9aaf=document[_0x33c51b(0x138)](_0x33c51b(0x177));return _0x4d9aaf[_0x33c51b(0x174)][_0x33c51b(0x16b)](_0x33c51b(0x137)),_0x4d9aaf[_0x33c51b(0x148)](_0x33c51b(0x166),_0x33c51b(0x187)),_0x4d9aaf[_0x33c51b(0x148)](_0x33c51b(0x1ac),_0x33c51b(0x187)),_0x4d9aaf[_0x33c51b(0x190)]=_0x4bac21[_0x33c51b(0x16d)],_0x1a11a1[_0x33c51b(0x12b)]=_0x33c51b(0x18c)+_0x4d9aaf[_0x33c51b(0x19c)]+'',_0x1a11a1[_0x33c51b(0x12a)](_0x33c51b(0x1aa),()=>{const _0x2eee9b=_0x33c51b;_0x1a11a1[_0x2eee9b(0x174)][_0x2eee9b(0x16b)](_0x2eee9b(0x128));}),_0x1a11a1[_0x33c51b(0x12a)](_0x33c51b(0x1a5),()=>{const _0x32ad2f=_0x33c51b;_0x1a11a1[_0x32ad2f(0x174)][_0x32ad2f(0x15c)](_0x32ad2f(0x128));}),_0x1a11a1;},_0x5547b6[_0x53eb47(0x1a7)]=function(_0x146ff9){const _0x1df6b5=_0x53eb47;return!(!this[_0x1df6b5(0x13b)](_0x1df6b5(0x198))||!_0x146ff9[_0x1df6b5(0x13b)](_0x1df6b5(0x198))||this[_0x1df6b5(0x154)](_0x1df6b5(0x139))!=_0x146ff9[_0x1df6b5(0x154)](_0x1df6b5(0x139)));},_0x5547b6;}(_0xed06c1,_0x5bddc2,_0x541f39);}(_0x26dd20,_0x568546,_0x3a4d54,_0x4cac4d)}),_0x4cac4d[_0x42db4d(0x159)][_0x42db4d(0x176)](_0x42db4d(0x12d))[_0x42db4d(0x19a)]({'model':_0x42db4d(0x19b),'view':_0x372375=>function(_0x36d04c,_0x175886){const _0x13416e=_0x42db4d,_0x4d858d=_0x36d04c[_0x13416e(0x170)][_0x13416e(0x18e)](':')[0x2];if(_0x4d858d===_0x175886[_0x13416e(0x188)])return null;const _0x1b6013=_0x175886[_0x13416e(0x12e)](_0x4d858d);if(!_0x1b6013)return{'id':_0x4d858d,'classes':[]};return{'id':_0x4d858d,'classes':[_0x13416e(0x16a),_0x1b6013[_0x13416e(0x155)][_0x13416e(0x17d)]()],'attributes':{'data-session-id':_0x4d858d},'priority':0x7d0+_0x1b6013[_0x13416e(0x153)]};}(_0x372375,_0x3a4d54)}),function(_0x30ba6f){const _0x396684=_0x42db4d,_0x2855a9=_0x30ba6f[_0x396684(0x162)],_0x22fe29=new Map(),_0x52f9e9=_0x30ba6f[_0x396684(0x15b)][_0x396684(0x125)](_0x348c5e);_0x2855a9[_0x396684(0x136)]['on'](_0x396684(0x184),(_0x2c2561,_0xb085f,_0x17163d,_0x5a91d5)=>{const _0x4baf39=_0x396684;if(!_0x5a91d5&&_0x22fe29[_0x4baf39(0x125)](_0xb085f[_0x4baf39(0x16d)]))return _0x22fe29[_0x4baf39(0x125)](_0xb085f[_0x4baf39(0x16d)])[_0x4baf39(0x133)](),void _0x22fe29[_0x4baf39(0x193)](_0xb085f[_0x4baf39(0x16d)]);const _0x434547=_0xb085f[_0x4baf39(0x16d)][_0x4baf39(0x18e)](':')[0x2];if(_0x434547===_0x52f9e9[_0x4baf39(0x188)])return;const _0x389653=_0x4baf39(0x18f)+_0x434547;_0x2855a9[_0x4baf39(0x136)][_0x4baf39(0x186)](_0x389653)&&_0x30ba6f[_0x4baf39(0x163)][_0x4baf39(0x1a8)](_0x389653),_0xb085f['on'](_0x4baf39(0x1a4),(_0xdb5a0e,_0x14da3d,_0x4963bd)=>{const _0x37b4dc=_0x4baf39;if(_0x37b4dc(0x1a1)!=_0x14da3d[_0x37b4dc(0x147)][_0x37b4dc(0x19d)]&&_0x37b4dc(0x1a1)==_0xb085f[_0x37b4dc(0x15d)]()[_0x37b4dc(0x147)][_0x37b4dc(0x19d)]&&!_0x22fe29[_0x37b4dc(0x186)](_0xb085f[_0x37b4dc(0x16d)])){const _0x43daba=_0x2855a9[_0x37b4dc(0x164)][_0x37b4dc(0x15e)](_0x4963bd[_0x37b4dc(0x141)]);if(_0x43daba){const _0x5e6077=_0x15dba8[_0x37b4dc(0x13e)](_0x43daba);_0x22fe29[_0x37b4dc(0x15f)](_0xb085f[_0x37b4dc(0x16d)],_0x5e6077),_0x5e6077['on'](_0x37b4dc(0x1a4),(_0x526793,_0x5c5aff,_0x4fb223)=>{const _0xd17f0f=_0x37b4dc;if(_0xd17f0f(0x1a1)==_0x5e6077[_0xd17f0f(0x147)][_0xd17f0f(0x19d)]){const _0x19bc8d=_0x2855a9[_0xd17f0f(0x164)][_0xd17f0f(0x15e)](_0x4fb223[_0xd17f0f(0x141)]);_0x19bc8d?(_0x5e6077[_0xd17f0f(0x16e)]=_0x19bc8d[_0xd17f0f(0x16e)],_0x5e6077[_0xd17f0f(0x169)]=_0x19bc8d[_0xd17f0f(0x169)]):(_0x22fe29[_0xd17f0f(0x193)](_0xb085f[_0xd17f0f(0x16d)]),_0x5e6077[_0xd17f0f(0x133)]());}});}}});}),_0x2855a9[_0x396684(0x13d)]['on'](_0x396684(0x14d),()=>{const _0x3f2593=_0x396684;_0x22fe29[_0x3f2593(0x1a0)]>0x0&&_0x2855a9[_0x3f2593(0x1a3)]({'isUndoable':!0x1},_0x315712=>{const _0x3c356a=_0x3f2593;for(const [_0x551749,_0x64e2a0]of _0x22fe29)_0x3c356a(0x1a1)==_0x2855a9[_0x3c356a(0x136)][_0x3c356a(0x125)](_0x551749)[_0x3c356a(0x15d)]()[_0x3c356a(0x147)][_0x3c356a(0x19d)]&&(te(_0x551749[_0x3c356a(0x18e)](':')[0x2],_0x64e2a0[_0x3c356a(0x172)](),_0x2855a9,_0x315712),_0x64e2a0[_0x3c356a(0x133)]());_0x22fe29[_0x3c356a(0x126)]();});});}(_0x4cac4d),this[_0x42db4d(0x165)][_0x42db4d(0x199)](_0xb31cc0[_0x42db4d(0x13d)],_0x42db4d(0x15a),(_0x26ce4d,{key:_0x4450b7})=>{const _0x363f27=_0x42db4d;_0x363f27(0x183)===_0x4450b7&&function(_0x1bb633){const _0x856d77=_0x363f27;_0x1bb633[_0x856d77(0x163)][_0x856d77(0x149)][_0x856d77(0x14d)](_0x36f7c5=>{const _0x4ec96c=_0x856d77;for(const _0x5ceeaa of _0x1bb633[_0x4ec96c(0x162)][_0x4ec96c(0x136)]){if(!_0x5ceeaa[_0x4ec96c(0x16d)][_0x4ec96c(0x152)](_0x4ec96c(0x196)))continue;const _0x454145=_0x1bb633[_0x4ec96c(0x163)][_0x4ec96c(0x171)][_0x4ec96c(0x157)](_0x5ceeaa[_0x4ec96c(0x16d)]);if(_0x454145){for(const _0x49b72e of _0x454145)_0x36f7c5[_0x4ec96c(0x1ad)](_0x4ec96c(0x128),_0x49b72e);}}});}(_0x4cac4d);},{'useCapture':!0x0});}[_0x1ec62f(0x197)](){const _0x123212=_0x1ec62f,_0x5864b3=this[_0x123212(0x1a2)],_0x33ec1e=_0x5864b3[_0x123212(0x132)][_0x123212(0x125)](_0x123212(0x191));_0x33ec1e&&_0x5864b3[_0x123212(0x162)]['on'](_0x123212(0x135),(_0x3e78db,_0x3490f2)=>{const _0x5c88e4=_0x123212,_0x576661=_0x3490f2[0x0];if(!_0x576661[_0x5c88e4(0x189)])return;if(_0x5c88e4(0x140)!=_0x576661[_0x5c88e4(0x1af)]||!_0x576661[_0x5c88e4(0x16d)][_0x5c88e4(0x152)](_0x5c88e4(0x13c)))return;const _0x4d573a=_0x576661[_0x5c88e4(0x168)];_0x33ec1e[_0x5c88e4(0x17b)][_0x5c88e4(0x186)](_0x4d573a)&&(_0x576661[_0x5c88e4(0x185)]=_0x576661[_0x5c88e4(0x194)]?_0x5864b3[_0x5c88e4(0x162)][_0x5c88e4(0x150)](_0x576661[_0x5c88e4(0x194)][_0x5c88e4(0x16e)],_0x576661[_0x5c88e4(0x194)][_0x5c88e4(0x169)]):null);},{'priority':_0x123212(0x145)});}[_0x1ec62f(0x158)](){const _0x2e7a38=_0x1ec62f;return this[_0x2e7a38(0x165)][_0x2e7a38(0x19f)](),super[_0x2e7a38(0x158)]();}[_0x1ec62f(0x178)](){const _0x4e25c9=_0x1ec62f,_0xe829a9=this[_0x4e25c9(0x1a2)],_0x5ae0dd=_0xe829a9[_0x4e25c9(0x162)][_0x4e25c9(0x13d)],_0x3d7328=_0xe829a9[_0x4e25c9(0x15b)][_0x4e25c9(0x125)](_0x348c5e);_0xe829a9[_0x4e25c9(0x162)][_0x4e25c9(0x1a3)]({'isUndoable':!0x1},_0xa18a5c=>{const _0x1de126=_0x4e25c9,_0x31c5bc=_0x1de126(0x156)+_0x3d7328[_0x1de126(0x188)],_0x1654f2=_0x1de126(0x18f)+_0x3d7328[_0x1de126(0x188)],_0x47e14f=_0xe829a9[_0x1de126(0x162)][_0x1de126(0x136)][_0x1de126(0x186)](_0x31c5bc);_0xe829a9[_0x1de126(0x163)][_0x1de126(0x149)][_0x1de126(0x18a)]?te(_0x3d7328[_0x1de126(0x188)],_0x5ae0dd[_0x1de126(0x17e)][_0x1de126(0x142)](),_0xe829a9[_0x1de126(0x162)],_0xa18a5c):_0x47e14f&&(_0xa18a5c[_0x1de126(0x14c)](_0x31c5bc),_0xa18a5c[_0x1de126(0x14c)](_0x1654f2));});}}function _0xb5c0(_0x287c74,_0x17d4a9){const _0x6f2b9=_0x6f2b();return _0xb5c0=function(_0xb5c0c8,_0x16df59){_0xb5c0c8=_0xb5c0c8-0x124;let _0x2f739b=_0x6f2b9[_0xb5c0c8];return _0x2f739b;},_0xb5c0(_0x287c74,_0x17d4a9);}function _0x6f2b(){const _0x8f5cc9=['createUIElement','stopListening','size','$graveyard','editor','enqueueChange','change:range','mouseleave','nodeAfter','isSimilar','reconvertMarker','updateMarker','mouseenter','markerToElement','spellcheck','removeClass','checkChild','type','hasContent','get','clear','1389065CJmfwd','ck-user__marker_hovered','setCustomProperty','addEventListener','innerHTML','init','editingDowncast','getUserBySessionId','$text','parent','getPositions','commands','detach','pluginName','applyOperation','markers','ck-user__marker-tooltip','createElement','data-session-id','getStart','getCustomProperty','user:','document','fromRange','toDomElement','marker','deletionPosition','getFirstRange','UserMarkers','6QJlutb','highest','199824RZHRLr','root','setAttribute','view','getContainedElement','ck-user__marker\x20','removeMarker','change','2318393WbGcqB','isObject','createRange','9845685eVtjim','startsWith','orderNumber','getAttribute','color','user:range:','markerNameToElements','destroy','conversion','keydown','plugins','remove','getRange','getNearestSelectionRange','set','454rhOVtb','110eHawfX','model','editing','schema','_domEmitter','contenteditable','isInline','batch','end','ck-user__selection','add','render','name','start','markerRange','markerName','mapper','toRange','825iVgBWG','classList','element','for','span','createUserMarkerOperations','getMarkerClass','2322924WUnfQW','_createdBatches','isOfficialPlugin','getSelectionClass','selection','isLimit','isCollapsed','287sYQPyv','4655712sQDDko','Escape','update:user:range','newRange','has','false','mySessionId','isDocumentOperation','hasDomSelection','isPremiumPlugin','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','requires','split','user:position:','textContent','undo','addMarker','delete','oldRange','tableCell','user:position','afterInit','userPositionMarker','listenTo','markerToHighlight','user:range','outerHTML','rootName'];_0x6f2b=function(){return _0x8f5cc9;};return _0x6f2b();}function te(_0x4260a0,_0x18577d,_0x16f139,_0x46620f){const _0x67a5a2=_0x1ec62f,_0x17e688=_0x67a5a2(0x156)+_0x4260a0,_0x45ed4a=_0x67a5a2(0x18f)+_0x4260a0,_0x59cf30=_0x18577d[_0x67a5a2(0x14a)]();let _0x329425=_0x18577d[_0x67a5a2(0x16e)];if(_0x59cf30&&_0x59cf30['is'](_0x67a5a2(0x175),_0x67a5a2(0x195))){const _0x6693e7=function(_0xd7da45,_0x51e93d){const _0x882e48=_0x67a5a2;for(const _0x2bc49d of _0xd7da45[_0x882e48(0x131)]())if(_0x51e93d[_0x882e48(0x164)][_0x882e48(0x1ae)](_0x2bc49d,_0x882e48(0x12f)))return _0x2bc49d;}(_0x18577d,_0x16f139);_0x6693e7&&(_0x329425=_0x6693e7,_0x18577d=_0x46620f[_0x67a5a2(0x150)](_0x329425));}const _0x5a12f3=_0x46620f[_0x67a5a2(0x150)](_0x329425);_0x16f139[_0x67a5a2(0x136)][_0x67a5a2(0x186)](_0x17e688)?(_0x46620f[_0x67a5a2(0x1a9)](_0x17e688,{'range':_0x18577d}),_0x46620f[_0x67a5a2(0x1a9)](_0x45ed4a,{'range':_0x5a12f3})):(_0x46620f[_0x67a5a2(0x192)](_0x17e688,{'range':_0x18577d,'usingOperation':!0x0}),_0x46620f[_0x67a5a2(0x192)](_0x45ed4a,{'range':_0x5a12f3,'usingOperation':!0x0}));}
|
|
23
|
+
const _0x20f991=_0x459b;(function(_0x4a1db4,_0x13fadc){const _0x179709=_0x459b,_0x22d58c=_0x4a1db4();while(!![]){try{const _0x45974f=parseInt(_0x179709(0xda))/0x1*(-parseInt(_0x179709(0xc1))/0x2)+-parseInt(_0x179709(0xaf))/0x3+parseInt(_0x179709(0xd4))/0x4*(parseInt(_0x179709(0xd2))/0x5)+-parseInt(_0x179709(0xea))/0x6+parseInt(_0x179709(0x11e))/0x7*(-parseInt(_0x179709(0x12f))/0x8)+-parseInt(_0x179709(0xf5))/0x9+-parseInt(_0x179709(0x115))/0xa*(-parseInt(_0x179709(0xd6))/0xb);if(_0x45974f===_0x13fadc)break;else _0x22d58c['push'](_0x22d58c['shift']());}catch(_0x3c5db7){_0x22d58c['push'](_0x22d58c['shift']());}}}(_0x3ec5,0xd3156));import{Plugin as _0x19bb4c}from'ckeditor5/src/core.js';import{global as _0x24a72c,DomEmitterMixin as _0x49cb19}from'ckeditor5/src/utils.js';import _0x3e7717 from'./sessions.js';import{LiveRange as _0x465d14}from'ckeditor5/src/engine.js';function _0x459b(_0x1272e0,_0x8c4a51){const _0x3ec53e=_0x3ec5();return _0x459b=function(_0x459bed,_0xdcdaa3){_0x459bed=_0x459bed-0xaf;let _0x2362b0=_0x3ec53e[_0x459bed];return _0x2362b0;},_0x459b(_0x1272e0,_0x8c4a51);}import'../../theme/usermarkers.css';export default class q extends _0x19bb4c{[_0x20f991(0x125)]=new(_0x49cb19())();static get[_0x20f991(0x110)](){return[_0x3e7717];}static get[_0x20f991(0x10d)](){const _0x2e4a7c=_0x20f991;return _0x2e4a7c(0xe4);}static get[_0x20f991(0x136)](){return!0x0;}static get[_0x20f991(0xb4)](){return!0x0;}[_0x20f991(0xfe)](){const _0x4a24b7=_0x20f991,_0x456925=this[_0x4a24b7(0x122)],_0x2ad410=_0x456925[_0x4a24b7(0xf9)][_0x4a24b7(0xcb)](_0x3e7717);_0x456925[_0x4a24b7(0x127)][_0x4a24b7(0xf7)](_0x4a24b7(0x135))[_0x4a24b7(0x129)]({'model':_0x4a24b7(0xbd),'view':(_0x30572a,{writer:_0x1206b9})=>function(_0x3dbb5f,_0x208c26,_0x5ec88d,_0x2b4789){const _0x4f8835=_0x4a24b7,_0x395e0d=_0x3dbb5f[_0x4f8835(0x128)][_0x4f8835(0x116)](':')[0x2],_0x23224c=_0x5ec88d[_0x4f8835(0xb5)](_0x395e0d);if(!_0x23224c||_0x395e0d===_0x5ec88d[_0x4f8835(0xe9)])return;if(!_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0xdf)][_0x4f8835(0xe6)](_0x3dbb5f[_0x4f8835(0x137)][_0x4f8835(0xc9)],_0x4f8835(0xdd)))return;const _0x3064a0={'class':_0x4f8835(0xfd)+_0x23224c[_0x4f8835(0x123)][_0x4f8835(0xcf)](),'data-name':_0x23224c[_0x4f8835(0xcc)],'data-session-id':_0x395e0d},_0x384a4b=_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0x103)][_0x4f8835(0xcb)](_0x3dbb5f[_0x4f8835(0x128)]),_0x47e221=_0x384a4b[_0x4f8835(0xba)](),_0x2c97e0=_0x47e221[_0x4f8835(0x12d)],_0x44769d=_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0xdf)];if(_0x2c97e0&&_0x44769d[_0x4f8835(0x10e)](_0x2c97e0)&&_0x44769d[_0x4f8835(0xc3)](_0x2c97e0)&&!_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0x103)][_0x4f8835(0xcb)](_0x4f8835(0x109)+_0x395e0d)[_0x4f8835(0xfc)]()[_0x4f8835(0x130)])return;const _0x5ea3ec=_0x47e221[_0x4f8835(0xf0)];return _0x2b4789[_0x4f8835(0x105)][_0x4f8835(0xdf)][_0x4f8835(0xc0)](_0x5ea3ec)&&!_0x2b4789[_0x4f8835(0x105)][_0x4f8835(0x10f)](_0x5ea3ec)&&(_0x3064a0[_0x4f8835(0xc5)]=!0x1),function(_0x312145,_0x3bca13,_0x4d4227){const _0x15faff=_0x4f8835,_0xb86d24=_0x312145[_0x15faff(0x108)](_0x15faff(0xf8),_0x3bca13);return _0x312145[_0x15faff(0xc6)](_0x15faff(0x139),!0x0,_0xb86d24),_0xb86d24[_0x15faff(0xdc)]=function(_0x1a7066){const _0x295bd6=_0x15faff,_0x5cee8d=this[_0x295bd6(0xed)](_0x1a7066),_0x46c810=document[_0x295bd6(0x100)](_0x295bd6(0xf8));return _0x46c810[_0x295bd6(0xf4)][_0x295bd6(0xbb)](_0x295bd6(0xe2)),_0x46c810[_0x295bd6(0xcd)](_0x295bd6(0xc5),_0x295bd6(0x13a)),_0x46c810[_0x295bd6(0xcd)](_0x295bd6(0xb2),_0x295bd6(0x13a)),_0x46c810[_0x295bd6(0xc2)]=_0x4d4227[_0x295bd6(0xcc)],_0x5cee8d[_0x295bd6(0x132)]=_0x295bd6(0xe3)+_0x46c810[_0x295bd6(0xfb)]+'',_0x5cee8d[_0x295bd6(0x11a)](_0x295bd6(0xe5),()=>{const _0x406401=_0x295bd6;_0x5cee8d[_0x406401(0xf4)][_0x406401(0xbb)](_0x406401(0x112));}),_0x5cee8d[_0x295bd6(0x11a)](_0x295bd6(0x113),()=>{const _0x20ce97=_0x295bd6;_0x5cee8d[_0x20ce97(0xf4)][_0x20ce97(0x104)](_0x20ce97(0x112));}),_0x5cee8d;},_0xb86d24[_0x15faff(0xd1)]=function(_0x4e83e6){const _0xdadb57=_0x15faff;return!(!this[_0xdadb57(0x11b)](_0xdadb57(0x139))||!_0x4e83e6[_0xdadb57(0x11b)](_0xdadb57(0x139))||this[_0xdadb57(0xc8)](_0xdadb57(0x12a))!=_0x4e83e6[_0xdadb57(0xc8)](_0xdadb57(0x12a)));},_0xb86d24;}(_0x208c26,_0x3064a0,_0x23224c);}(_0x30572a,_0x1206b9,_0x2ad410,_0x456925)}),_0x456925[_0x4a24b7(0x127)][_0x4a24b7(0xf7)](_0x4a24b7(0x135))[_0x4a24b7(0xb8)]({'model':_0x4a24b7(0xf1),'view':_0x4d24d3=>function(_0x3726e4,_0x10950f){const _0x5a5ce7=_0x4a24b7,_0x2fd4bb=_0x3726e4[_0x5a5ce7(0x128)][_0x5a5ce7(0x116)](':')[0x2];if(_0x2fd4bb===_0x10950f[_0x5a5ce7(0xe9)])return null;const _0x23a63c=_0x10950f[_0x5a5ce7(0xb5)](_0x2fd4bb);if(!_0x23a63c)return{'id':_0x2fd4bb,'classes':[]};return{'id':_0x2fd4bb,'classes':[_0x5a5ce7(0x124),_0x23a63c[_0x5a5ce7(0x123)][_0x5a5ce7(0xde)]()],'attributes':{'data-session-id':_0x2fd4bb},'priority':0x7d0+_0x23a63c[_0x5a5ce7(0xbc)]};}(_0x4d24d3,_0x2ad410)}),function(_0xb648e5){const _0x4cfc96=_0x4a24b7,_0x54a4cf=_0xb648e5[_0x4cfc96(0x105)],_0xb45a89=new Map(),_0x27418a=_0xb648e5[_0x4cfc96(0xf9)][_0x4cfc96(0xcb)](_0x3e7717);_0x54a4cf[_0x4cfc96(0x103)]['on'](_0x4cfc96(0x11f),(_0x2a5a59,_0x452edc,_0x2899cc,_0x5b2ddf)=>{const _0x201183=_0x4cfc96;if(!_0x5b2ddf&&_0xb45a89[_0x201183(0xcb)](_0x452edc[_0x201183(0xcc)]))return _0xb45a89[_0x201183(0xcb)](_0x452edc[_0x201183(0xcc)])[_0x201183(0x111)](),void _0xb45a89[_0x201183(0x107)](_0x452edc[_0x201183(0xcc)]);const _0x136d27=_0x452edc[_0x201183(0xcc)][_0x201183(0x116)](':')[0x2];if(_0x136d27===_0x27418a[_0x201183(0xe9)])return;const _0x370905=_0x201183(0x120)+_0x136d27;_0x54a4cf[_0x201183(0x103)][_0x201183(0xe1)](_0x370905)&&_0xb648e5[_0x201183(0x126)][_0x201183(0xd0)](_0x370905),_0x452edc['on'](_0x201183(0xd3),(_0x2293d8,_0x2d8a0a,_0x32bd78)=>{const _0x3e8b81=_0x201183;if(_0x3e8b81(0x12b)!=_0x2d8a0a[_0x3e8b81(0x121)][_0x3e8b81(0x131)]&&_0x3e8b81(0x12b)==_0x452edc[_0x3e8b81(0xfc)]()[_0x3e8b81(0x121)][_0x3e8b81(0x131)]&&!_0xb45a89[_0x3e8b81(0xe1)](_0x452edc[_0x3e8b81(0xcc)])){const _0x494bc9=_0x54a4cf[_0x3e8b81(0xdf)][_0x3e8b81(0xca)](_0x32bd78[_0x3e8b81(0xb0)]);if(_0x494bc9){const _0x59a8d8=_0x465d14[_0x3e8b81(0x101)](_0x494bc9);_0xb45a89[_0x3e8b81(0xe7)](_0x452edc[_0x3e8b81(0xcc)],_0x59a8d8),_0x59a8d8['on'](_0x3e8b81(0xd3),(_0xbdd30b,_0x14104d,_0x5ececc)=>{const _0x2dbfd5=_0x3e8b81;if(_0x2dbfd5(0x12b)==_0x59a8d8[_0x2dbfd5(0x121)][_0x2dbfd5(0x131)]){const _0x598b5a=_0x54a4cf[_0x2dbfd5(0xdf)][_0x2dbfd5(0xca)](_0x5ececc[_0x2dbfd5(0xb0)]);_0x598b5a?(_0x59a8d8[_0x2dbfd5(0xc9)]=_0x598b5a[_0x2dbfd5(0xc9)],_0x59a8d8[_0x2dbfd5(0x114)]=_0x598b5a[_0x2dbfd5(0x114)]):(_0xb45a89[_0x2dbfd5(0x107)](_0x452edc[_0x2dbfd5(0xcc)]),_0x59a8d8[_0x2dbfd5(0x111)]());}});}}});}),_0x54a4cf[_0x4cfc96(0x106)]['on'](_0x4cfc96(0xce),()=>{const _0x2c4d3a=_0x4cfc96;_0xb45a89[_0x2c4d3a(0x10a)]>0x0&&_0x54a4cf[_0x2c4d3a(0xb1)]({'isUndoable':!0x1},_0x419bc6=>{const _0x8f73ff=_0x2c4d3a;for(const [_0x25624e,_0x1f4cd1]of _0xb45a89)_0x8f73ff(0x12b)==_0x54a4cf[_0x8f73ff(0x103)][_0x8f73ff(0xcb)](_0x25624e)[_0x8f73ff(0xfc)]()[_0x8f73ff(0x121)][_0x8f73ff(0x131)]&&(te(_0x25624e[_0x8f73ff(0x116)](':')[0x2],_0x1f4cd1[_0x8f73ff(0xff)](),_0x54a4cf,_0x419bc6),_0x1f4cd1[_0x8f73ff(0x111)]());_0xb45a89[_0x8f73ff(0xb3)]();});});}(_0x456925),this[_0x4a24b7(0x125)][_0x4a24b7(0x11d)](_0x24a72c[_0x4a24b7(0x106)],_0x4a24b7(0x118),(_0x40044d,{key:_0x2fbb89})=>{const _0x42756b=_0x4a24b7;_0x42756b(0x138)===_0x2fbb89&&function(_0x5b0f27){const _0x31d8da=_0x42756b;_0x5b0f27[_0x31d8da(0x126)][_0x31d8da(0xd8)][_0x31d8da(0xce)](_0x3e8b19=>{const _0x51f243=_0x31d8da;for(const _0x4d4da0 of _0x5b0f27[_0x51f243(0x105)][_0x51f243(0x103)]){if(!_0x4d4da0[_0x51f243(0xcc)][_0x51f243(0x119)](_0x51f243(0xbd)))continue;const _0x4473f8=_0x5b0f27[_0x51f243(0x126)][_0x51f243(0xeb)][_0x51f243(0xb6)](_0x4d4da0[_0x51f243(0xcc)]);if(_0x4473f8){for(const _0x307e8d of _0x4473f8)_0x3e8b19[_0x51f243(0xc4)](_0x51f243(0x112),_0x307e8d);}}});}(_0x456925);},{'useCapture':!0x0});}[_0x20f991(0x12c)](){const _0x77f0ba=_0x20f991,_0x1be082=this[_0x77f0ba(0x122)],_0x4fea1c=_0x1be082[_0x77f0ba(0xec)][_0x77f0ba(0xcb)](_0x77f0ba(0xf6));_0x4fea1c&&_0x1be082[_0x77f0ba(0x105)]['on'](_0x77f0ba(0xee),(_0x3e9d3d,_0x26178e)=>{const _0x14ffcf=_0x77f0ba,_0x435a22=_0x26178e[0x0];if(!_0x435a22[_0x14ffcf(0xdb)])return;if(_0x14ffcf(0x11c)!=_0x435a22[_0x14ffcf(0x102)]||!_0x435a22[_0x14ffcf(0xcc)][_0x14ffcf(0x119)](_0x14ffcf(0xb7)))return;const _0x48c396=_0x435a22[_0x14ffcf(0xfa)];_0x4fea1c[_0x14ffcf(0x10c)][_0x14ffcf(0xe1)](_0x48c396)&&(_0x435a22[_0x14ffcf(0xe0)]=_0x435a22[_0x14ffcf(0xef)]?_0x1be082[_0x14ffcf(0x105)][_0x14ffcf(0xd9)](_0x435a22[_0x14ffcf(0xef)][_0x14ffcf(0xc9)],_0x435a22[_0x14ffcf(0xef)][_0x14ffcf(0x114)]):null);},{'priority':_0x77f0ba(0xd5)});}[_0x20f991(0xbf)](){const _0x3d59e4=_0x20f991;return this[_0x3d59e4(0x125)][_0x3d59e4(0xe8)](),super[_0x3d59e4(0xbf)]();}[_0x20f991(0xb9)](){const _0x547633=_0x20f991,_0xbd611d=this[_0x547633(0x122)],_0x54bc70=_0xbd611d[_0x547633(0x105)][_0x547633(0x106)],_0xdcd2df=_0xbd611d[_0x547633(0xf9)][_0x547633(0xcb)](_0x3e7717);_0xbd611d[_0x547633(0x105)][_0x547633(0xb1)]({'isUndoable':!0x1},_0x4390f9=>{const _0x3117b4=_0x547633,_0x7fbf3d=_0x3117b4(0x109)+_0xdcd2df[_0x3117b4(0xe9)],_0x2beb9f=_0x3117b4(0x120)+_0xdcd2df[_0x3117b4(0xe9)],_0x44ca42=_0xbd611d[_0x3117b4(0x105)][_0x3117b4(0x103)][_0x3117b4(0xe1)](_0x7fbf3d);_0xbd611d[_0x3117b4(0x126)][_0x3117b4(0xd8)][_0x3117b4(0x134)]?te(_0xdcd2df[_0x3117b4(0xe9)],_0x54bc70[_0x3117b4(0x12e)][_0x3117b4(0xf2)](),_0xbd611d[_0x3117b4(0x105)],_0x4390f9):_0x44ca42&&(_0x4390f9[_0x3117b4(0x10b)](_0x7fbf3d),_0x4390f9[_0x3117b4(0x10b)](_0x2beb9f));});}}function te(_0x30b3f9,_0x40c3a0,_0x35872f,_0x3f9593){const _0x28fe46=_0x20f991,_0x3ca04f=_0x28fe46(0x109)+_0x30b3f9,_0x2cc7e7=_0x28fe46(0x120)+_0x30b3f9,_0x174fb8=_0x40c3a0[_0x28fe46(0xf3)]();let _0x1844fc=_0x40c3a0[_0x28fe46(0xc9)];if(_0x174fb8&&_0x174fb8['is'](_0x28fe46(0xd7),_0x28fe46(0x133))){const _0x30479b=function(_0x22147e,_0x1696be){const _0x5d7107=_0x28fe46;for(const _0x4a97c5 of _0x22147e[_0x5d7107(0x117)]())if(_0x1696be[_0x5d7107(0xdf)][_0x5d7107(0xe6)](_0x4a97c5,_0x5d7107(0xdd)))return _0x4a97c5;}(_0x40c3a0,_0x35872f);_0x30479b&&(_0x1844fc=_0x30479b,_0x40c3a0=_0x3f9593[_0x28fe46(0xd9)](_0x1844fc));}const _0x4d22a8=_0x3f9593[_0x28fe46(0xd9)](_0x1844fc);_0x35872f[_0x28fe46(0x103)][_0x28fe46(0xe1)](_0x3ca04f)?(_0x3f9593[_0x28fe46(0xc7)](_0x3ca04f,{'range':_0x40c3a0}),_0x3f9593[_0x28fe46(0xc7)](_0x2cc7e7,{'range':_0x4d22a8})):(_0x3f9593[_0x28fe46(0xbe)](_0x3ca04f,{'range':_0x40c3a0,'usingOperation':!0x0}),_0x3f9593[_0x28fe46(0xbe)](_0x2cc7e7,{'range':_0x4d22a8,'usingOperation':!0x0}));}function _0x3ec5(){const _0x12dbef=['getMarkerClass','reconvertMarker','isSimilar','80515aKHynD','change:range','412tbeUWM','highest','11kknyQF','element','view','createRange','49QdtjOS','isDocumentOperation','render','$text','getSelectionClass','schema','newRange','has','ck-user__marker-tooltip','<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>','UserMarkers','mouseenter','checkChild','set','stopListening','mySessionId','968394dsoSFL','mapper','commands','toDomElement','applyOperation','oldRange','parent','user:range','getFirstRange','getContainedElement','classList','6527943jYdNet','undo','for','span','plugins','batch','outerHTML','getRange','ck-user__marker\x20','init','toRange','createElement','fromRange','type','markers','remove','model','document','delete','createUIElement','user:range:','size','removeMarker','_createdBatches','pluginName','isObject','hasContent','requires','detach','ck-user__marker_hovered','mouseleave','end','24777730sIREjq','split','getPositions','keydown','startsWith','addEventListener','getCustomProperty','marker','listenTo','202559UMnCMD','update:user:range','user:position:','root','editor','color','ck-user__selection','_domEmitter','editing','conversion','markerName','markerToElement','data-session-id','$graveyard','afterInit','nodeAfter','selection','344eKmvyq','isCollapsed','rootName','innerHTML','tableCell','hasDomSelection','editingDowncast','isOfficialPlugin','markerRange','Escape','userPositionMarker','false','1685349EAyJrH','deletionPosition','enqueueChange','spellcheck','clear','isPremiumPlugin','getUserBySessionId','markerNameToElements','user:','markerToHighlight','createUserMarkerOperations','getStart','add','orderNumber','user:position','addMarker','destroy','isLimit','23632KkWXvM','textContent','isInline','removeClass','contenteditable','setCustomProperty','updateMarker','getAttribute','start','getNearestSelectionRange','get','name','setAttribute','change'];_0x3ec5=function(){return _0x12dbef;};return _0x3ec5();}
|