@ckeditor/ckeditor5-comments 46.0.3 → 46.1.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- 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 +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x356deb=_0x400d;(function(_0x19742c,_0xf7b33d){const _0x569088=_0x400d,_0x47e3fe=_0x19742c();while(!![]){try{const _0x5c4697=-parseInt(_0x569088(0x207))/0x1+-parseInt(_0x569088(0x1a1))/0x2*(parseInt(_0x569088(0x1bf))/0x3)+-parseInt(_0x569088(0x1cc))/0x4*(parseInt(_0x569088(0x1af))/0x5)+parseInt(_0x569088(0x1ab))/0x6*(-parseInt(_0x569088(0x1d9))/0x7)+-parseInt(_0x569088(0x1ee))/0x8+parseInt(_0x569088(0x232))/0x9*(parseInt(_0x569088(0x1e9))/0xa)+parseInt(_0x569088(0x228))/0xb*(parseInt(_0x569088(0x1b0))/0xc);if(_0x5c4697===_0xf7b33d)break;else _0x47e3fe['push'](_0x47e3fe['shift']());}catch(_0x359563){_0x47e3fe['push'](_0x47e3fe['shift']());}}}(_0x4486,0x72571));import{Plugin as _0x4deb1e}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x45fb2d,scrollViewportToShowTarget as _0x146b71,uid as _0x198fae}from'ckeditor5/src/utils.js';import{CommentsRepository as _0xf93b28}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x48286d}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x75a482,getAllMarkersDomElementsSorted as _0x1ca01d,FOCUS_ANNOTATION_KEYSTROKE as _0x56a8dd,Users as _0x9a147e}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x46fea9}from'../annotations/editorannotations.js';function _0x400d(_0x3c1220,_0x33b859){const _0x4486d5=_0x4486();return _0x400d=function(_0x400dd9,_0x574261){_0x400dd9=_0x400dd9-0x190;let _0x2d94f0=_0x4486d5[_0x400dd9];return _0x2d94f0;},_0x400d(_0x3c1220,_0x33b859);}import{CommentsRestrictedEditingMode as _0x2a8d5e}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x2aae80}from'./integrations/importword.js';import{CommentsClipboard as _0x3c469b}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x11a8f9}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x3b6364}from'../annotations/annotations.js';import{getTranslation as _0x17970b}from'../utils/common-translations.js';import{splitMarkerName as _0xe44b3f}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x4deb1e{static get[_0x356deb(0x1e4)](){return[_0xf93b28,_0x46fea9,_0x9a147e,_0x2a8d5e,_0x2aae80,_0x3c469b,_0x11a8f9];}static get[_0x356deb(0x1ca)](){const _0x2a1058=_0x356deb;return _0x2a1058(0x1eb);}static get[_0x356deb(0x1f6)](){return!0x0;}static get[_0x356deb(0x216)](){return!0x0;}constructor(_0x2c1ca3){const _0x557118=_0x356deb;super(_0x2c1ca3),this[_0x557118(0x1a3)](_0x557118(0x1e8),!0x0),_0x2c1ca3[_0x557118(0x211)][_0x557118(0x22c)](_0x557118(0x212),()=>this[_0x557118(0x1e8)]=!0x1),this[_0x557118(0x1a3)](_0x557118(0x1da),null),this['on'](_0x557118(0x1d3),(_0x4996ac,_0x4bf242,_0x15e69a,_0x17c91d)=>{const _0x3ad124=_0x557118,_0xb598fc=_0x2c1ca3[_0x3ad124(0x217)][_0x3ad124(0x229)](_0xf93b28),_0x4c280f=_0x15e69a?_0xe44b3f(_0x15e69a)['id']:null;_0x2c1ca3[_0x3ad124(0x192)][_0x3ad124(0x19d)](()=>{const _0x20418f=_0x3ad124;if(_0x4c280f){const _0x487eab=this[_0x20418f(0x224)](_0x4c280f);for(const _0x112491 of _0x487eab)_0x2c1ca3[_0x20418f(0x1b3)][_0x20418f(0x231)](_0x112491);}if(_0x17c91d){const {id:_0xfdb933}=_0xe44b3f(_0x17c91d),_0xfc8982=_0xb598fc[_0x20418f(0x19e)](_0xfdb933);if(_0xfc8982&&_0xfc8982[_0x20418f(0x205)])return;if(_0xfc8982&&!_0xfc8982[_0x20418f(0x226)])return;const _0x59d4fe=this[_0x20418f(0x224)](_0xfdb933);for(const _0x12ec68 of _0x59d4fe)_0x2c1ca3[_0x20418f(0x1b3)][_0x20418f(0x231)](_0x12ec68);}}),_0x4c280f&&this[_0x3ad124(0x20a)](_0x4c280f);}),this[_0x557118(0x1ce)]();}[_0x356deb(0x218)](){const _0x337b64=_0x356deb,_0x2b7378=this[_0x337b64(0x198)],_0x5eec9f=_0x2b7378[_0x337b64(0x217)][_0x337b64(0x229)](_0xf93b28),_0x21af99=_0x2b7378[_0x337b64(0x1b9)][_0x337b64(0x229)](_0x337b64(0x1b4)),_0x5b0904=_0x5eec9f[_0x337b64(0x1a0)]()[_0x337b64(0x1ea)](_0x147de8=>_0x147de8[_0x337b64(0x1b7)]!==_0x21af99);_0x2b7378[_0x337b64(0x1ba)][_0x337b64(0x1c0)](_0x337b64(0x1fd),new _0x48286d(_0x2b7378)),this[_0x337b64(0x1f1)](_0x2b7378,_0x337b64(0x1a5),(_0x4acef3,_0x18bc47,_0x517564)=>{const _0x32fa90=_0x337b64;_0x5eec9f[_0x32fa90(0x1d2)](_0x517564,_0x2b7378[_0x32fa90(0x1b9)][_0x32fa90(0x229)](_0x32fa90(0x1b4)));}),this[_0x337b64(0x1f1)](_0x5eec9f,dt(_0x337b64(0x1fd),_0x21af99),(_0x279374,{threadId:_0x277c7d})=>{const _0x168a46=_0x337b64,_0x185e47=this[_0x168a46(0x198)][_0x168a46(0x217)][_0x168a46(0x229)](_0xf93b28)[_0x168a46(0x19e)](_0x277c7d);_0x185e47?.[_0x168a46(0x205)]&&this[_0x168a46(0x1e5)](_0x277c7d);}),this[_0x337b64(0x1f1)](_0x5eec9f,dt(_0x337b64(0x1e0),_0x21af99),(_0x244cc9,{threadId:_0x304d2a})=>{const _0x5ad538=_0x337b64;_0x2b7378[_0x5ad538(0x192)][_0x5ad538(0x1c8)]({'isUndoable':!0x1},_0x40510d=>{const _0xf54214=_0x5ad538,_0xdd6b35=this[_0xf54214(0x224)](_0x304d2a);for(const _0xe1d0ab of _0xdd6b35)_0x40510d[_0xf54214(0x208)](_0xe1d0ab);});}),this[_0x337b64(0x1f1)](_0x5eec9f,dt(_0x337b64(0x1e1),_0x21af99),(_0x75db33,{threadId:_0x41f5dc})=>{const _0x1ac1a0=_0x337b64;(this[_0x1ac1a0(0x19f)](_0x41f5dc),this[_0x1ac1a0(0x198)][_0x1ac1a0(0x1b3)][_0x1ac1a0(0x209)][_0x1ac1a0(0x1d1)])&&(this[_0x1ac1a0(0x198)][_0x1ac1a0(0x217)][_0x1ac1a0(0x229)](_0xf93b28)[_0x1ac1a0(0x19e)](_0x41f5dc)[_0x1ac1a0(0x205)]||this[_0x1ac1a0(0x198)][_0x1ac1a0(0x1b3)][_0x1ac1a0(0x209)][_0x1ac1a0(0x1d4)]());},{'priority':_0x337b64(0x1be)}),this[_0x337b64(0x1f1)](_0x5eec9f,dt(_0x337b64(0x1c1),_0x21af99),(_0x2eb398,{threadId:_0x50ba3b})=>{const _0x20db94=_0x337b64;this[_0x20db94(0x19f)](_0x50ba3b);},{'priority':_0x337b64(0x1be)}),this[_0x337b64(0x1f1)](_0x5eec9f,dt(_0x337b64(0x1d8),_0x21af99),(_0x79dc59,{threadId:_0x4c3653,isFromAdapter:_0xe781b6})=>{const _0x414667=_0x337b64,_0x4d51f3=this[_0x414667(0x224)](_0x4c3653);if(_0xe781b6||0x0==_0x4d51f3[_0x414667(0x22e)]||!_0x5eec9f[_0x414667(0x1f2)](_0x4c3653))return;0x1===_0x5eec9f[_0x414667(0x19e)](_0x4c3653)[_0x414667(0x22e)]&&_0x2b7378[_0x414667(0x192)][_0x414667(0x1c8)]({'isUndoable':!0x1},_0x3202dd=>{const _0x153595=_0x414667;for(const _0x426d47 of _0x4d51f3)_0x3202dd[_0x153595(0x225)](_0x426d47,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x337b64(0x1be)}),this[_0x337b64(0x194)](),this[_0x337b64(0x191)](),this[_0x337b64(0x190)](_0x5b0904);}[_0x356deb(0x1ff)](){!async function(_0x3ad82a){const _0x7378c=_0xe7d286([0x4d,0x4e,0x4c,0x45,0x4f,0x50,0x57,0x58,0x5a,0x69,0x6f,0x68,0x31,0x54,0x38,0x70,0x56,0x75,0x77,0x61,0x6c,0x65,0x34,0x39,0x76,0x32,0x37,0x42,0x36,0x6b,0x6a,0x52,0x6d,0x49,0x51,0x63,0x78,0x62,0x47,0x48,0x30,0x59,0x79,0x7a,0x66,0x4a,0x46,0x41,0x43,0x4b,0x71,0x44,0x53,0x6e,0x73,0x64,0x35,0x33,0x74,0x55,0x72,0x67]),_0x4f0e5e=0x213e51b3,_0xe86ff6=0x213923e3^_0x4f0e5e,_0x2e2c6d=window[_0xe7d286([0x44,0x61,0x74,0x65])][_0xe7d286([0x6e,0x6f,0x77])](),_0x1b25e9=_0x3ad82a[_0xe7d286([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x48f0a8=new window[(_0xe7d286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x394b27=>{_0x1b25e9[_0xe7d286([0x6f,0x6e,0x63,0x65])](_0xe7d286([0x72,0x65,0x61,0x64,0x79]),_0x394b27);}),_0x60621d={[_0xe7d286([0x6b,0x74,0x79])]:_0xe7d286([0x45,0x43]),[_0xe7d286([0x75,0x73,0x65])]:_0xe7d286([0x73,0x69,0x67]),[_0xe7d286([0x63,0x72,0x76])]:_0xe7d286([0x50,0x2d,0x32,0x35,0x36]),[_0xe7d286([0x78])]:_0xe7d286([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0xe7d286([0x79])]:_0xe7d286([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0xe7d286([0x61,0x6c,0x67])]:_0xe7d286([0x45,0x53,0x32,0x35,0x36])},_0x2366a0=_0x1b25e9[_0xe7d286([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xe7d286([0x67,0x65,0x74])](_0xe7d286([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x48835f(){let _0x964275,_0x1777d9=null,_0x545337=null;try{if(_0x2366a0==_0xe7d286([0x47,0x50,0x4c]))return _0xe7d286([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x964275=_0x1cf25c(),!_0x964275)return _0xe7d286([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x964275[_0xe7d286([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x545337=_0x2b3e6b(_0x964275[_0xe7d286([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x964275[_0xe7d286([0x6a,0x74,0x69])])),await _0x4c3d18()?_0x1617ea()?_0x33d24b()?_0xe7d286([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2bc94e()?(_0x964275[_0xe7d286([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe7d286([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1777d9=_0x5e6720(_0xe7d286([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x964275[_0xe7d286([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xe7d286([0x74,0x72,0x69,0x61,0x6c])&&(_0x1777d9=_0x5e6720(_0xe7d286([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x54a723()):_0xe7d286([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xe7d286([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xe7d286([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xe7d286([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x33d24b(){const _0x8173da=[_0xe7d286([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xe7d286([0x74,0x72,0x69,0x61,0x6c])][_0xe7d286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x964275[_0xe7d286([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2e2c6d/0x3e8:0xe10*_0xe86ff6;return _0x964275[_0xe7d286([0x65,0x78,0x70])]<_0x8173da;}function _0x1617ea(){const _0x7aedb2=_0x964275[_0xe7d286([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x7aedb2)return!0x1;if(_0x7aedb2[_0xe7d286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe7d286([0x2a])))return!0x0;if(_0x7aedb2[_0xe7d286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe7d286([0x43,0x4d,0x54])))return!0x0;if(_0x7aedb2[_0xe7d286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe7d286([0x52,0x43,0x4d,0x54]))){if(_0x42ec86())return!0x0;if(_0x31e366()||_0x387f40())return!0x0;}return!0x1;}function _0x2bc94e(){const _0x26deac=_0x400d,_0x428101=_0x964275[_0xe7d286([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x428101||0x0==_0x428101[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x335b37}=new URL(window[_0xe7d286([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x26deac(0x201)]);if(_0x428101[_0xe7d286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x335b37))return!0x0;const _0x330c8e=_0x335b37[_0xe7d286([0x73,0x70,0x6c,0x69,0x74])](_0xe7d286([0x2e]));return _0x428101[_0xe7d286([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2e8e2f=>_0x2e8e2f[_0xe7d286([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe7d286([0x2a])))[_0xe7d286([0x6d,0x61,0x70])](_0x29637f=>_0x29637f[_0xe7d286([0x73,0x70,0x6c,0x69,0x74])](_0xe7d286([0x2e])))[_0xe7d286([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x473663=>_0x473663[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x330c8e[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe7d286([0x6d,0x61,0x70])](_0x349405=>Array(_0x330c8e[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x349405[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xe7d286([0x66,0x69,0x6c,0x6c])](_0x349405[0x0]===_0xe7d286([0x2a])?_0xe7d286([0x2a]):'')[_0xe7d286([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x349405))[_0xe7d286([0x73,0x6f,0x6d,0x65])](_0x2ca8a1=>_0x330c8e[_0xe7d286([0x65,0x76,0x65,0x72,0x79])]((_0x19a622,_0x2cc0ff)=>_0x2ca8a1[_0x2cc0ff]===_0x19a622||_0x2ca8a1[_0x2cc0ff]===_0xe7d286([0x2a])));}function _0x54a723(){return _0x1777d9&&_0x545337?new window[(_0xe7d286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x146be1,_0x52ff18)=>{_0x1777d9[_0xe7d286([0x74,0x68,0x65,0x6e])](_0x146be1,_0x52ff18),_0x545337[_0xe7d286([0x74,0x68,0x65,0x6e])](_0x424e73=>{_0x424e73!=_0xe7d286([0x56,0x61,0x6c,0x69,0x64])&&_0x146be1(_0x424e73);},_0x52ff18);}):_0x1777d9||_0x545337||_0xe7d286([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b3e6b(_0x554d70,_0x359c99){return new window[(_0xe7d286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23d0f0=>{if(_0xf488f8())return _0x23d0f0(_0xe7d286([0x56,0x61,0x6c,0x69,0x64]));_0x5d8a7a(),_0x1b25e9[_0xe7d286([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xe7d286([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3ea877=!0x1;const _0x447383=_0x198fae();function _0x1cc223(_0x427061){return!!_0x427061&&(typeof _0x427061===_0xe7d286([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x427061===_0xe7d286([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x427061[_0xe7d286([0x74,0x68,0x65,0x6e])]===_0xe7d286([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x427061[_0xe7d286([0x63,0x61,0x74,0x63,0x68])]===_0xe7d286([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3332ad(_0x5d18ca){_0x18d6e7(_0x5d18ca)[_0xe7d286([0x74,0x68,0x65,0x6e])](_0x17c6f4=>{if(!_0x17c6f4||_0x17c6f4[_0xe7d286([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xe7d286([0x6f,0x6b]))return _0xe7d286([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4446e3(_0x44f988(_0x447383+_0x359c99))!=_0x17c6f4[_0xe7d286([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xe7d286([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xe7d286([0x56,0x61,0x6c,0x69,0x64]);})[_0xe7d286([0x74,0x68,0x65,0x6e])](_0x43ecaf=>(_0x49f401(),_0x43ecaf),()=>{const _0x24ccc6=_0x4f1ff4();return null==_0x24ccc6?(_0x49f401(),_0xe7d286([0x56,0x61,0x6c,0x69,0x64])):_0xe7d286(_0x2e2c6d-_0x24ccc6>(0x532d5b3^_0x4f0e5e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xe7d286([0x74,0x68,0x65,0x6e])](_0x23d0f0)[_0xe7d286([0x63,0x61,0x74,0x63,0x68])](()=>{_0x23d0f0(_0xe7d286([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5f1d3c=0x2108bf33^_0x4f0e5e;function _0x49f401(){const _0x56a9f6=_0xe7d286([0x6c,0x6c,0x63,0x74,0x2d])+_0x4446e3(_0x44f988(_0x554d70)),_0xa034ba=_0x35f043(_0x4446e3(window[_0xe7d286([0x4d,0x61,0x74,0x68])][_0xe7d286([0x63,0x65,0x69,0x6c])](_0x2e2c6d/_0x5f1d3c)));window[_0xe7d286([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe7d286([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x56a9f6,_0xa034ba);}function _0x4f1ff4(){const _0x4b2790=_0xe7d286([0x6c,0x6c,0x63,0x74,0x2d])+_0x4446e3(_0x44f988(_0x554d70)),_0x4df501=window[_0xe7d286([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xe7d286([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4b2790);return _0x4df501?window[_0xe7d286([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x35f043(_0x4df501),0x10)*_0x5f1d3c:null;}function _0x18d6e7(_0x207fbb){return new window[(_0xe7d286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5365ed,_0x3b6b0d)=>{_0x207fbb[_0xe7d286([0x74,0x68,0x65,0x6e])](_0x5365ed,_0x3b6b0d),window[_0xe7d286([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b6b0d,0x213f8573^_0x4f0e5e);});}}_0x1b25e9[_0xe7d286([0x6f,0x6e])](_0xe7d286([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bf498,_0x2b9d30)=>{if(_0x2b9d30[0x0]!=_0x554d70)return _0x23d0f0(_0xe7d286([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2b9d30[0x1]={..._0x2b9d30[0x1],[_0xe7d286([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x447383};},{[_0xe7d286([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe7d286([0x68,0x69,0x67,0x68])}),_0x1b25e9[_0xe7d286([0x6f,0x6e])](_0xe7d286([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x47e4fb=>{_0x1cc223(_0x47e4fb[_0xe7d286([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3ea877=!0x0,_0x3332ad(_0x47e4fb[_0xe7d286([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xe7d286([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xe7d286([0x6c,0x6f,0x77])}),_0x48f0a8[_0xe7d286([0x74,0x68,0x65,0x6e])](()=>{_0x3ea877||_0x23d0f0(_0xe7d286([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xf488f8(){return _0x1b25e9[_0xe7d286([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe7d286([0x76,0x69,0x65,0x77])][_0xe7d286([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xe7d286([0x61,0x75,0x74,0x6f]);}function _0x5d8a7a(){_0x1b25e9[_0xe7d286([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xe7d286([0x76,0x69,0x65,0x77])][_0xe7d286([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xe7d286([0x61,0x75,0x74,0x6f]);}}function _0x5e6720(_0x193d8b){const _0x40efe8=[new window[(_0xe7d286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c519f=>setTimeout(_0x4c519f,0x21376f7f^_0x4f0e5e)),_0x48f0a8[_0xe7d286([0x74,0x68,0x65,0x6e])](()=>new window[(_0xe7d286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3af32e=>{let _0x309640=0x0;_0x1b25e9[_0xe7d286([0x6d,0x6f,0x64,0x65,0x6c])][_0xe7d286([0x6f,0x6e])](_0xe7d286([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x530605,_0x74261b)=>{_0x74261b[0x0][_0xe7d286([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x309640++,_0x309640==(0x213e504b^_0x4f0e5e)&&(_0x3af32e(),_0x530605[_0xe7d286([0x6f,0x66,0x66])]());});}))];return window[_0xe7d286([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xe7d286([0x72,0x61,0x63,0x65])](_0x40efe8)[_0xe7d286([0x74,0x68,0x65,0x6e])](()=>_0x193d8b);}async function _0x209561(){await _0x48f0a8,_0x1b25e9[_0xe7d286([0x6d,0x6f,0x64,0x65,0x6c])][_0xe7d286([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x80f6b2,_0x1b25e9[_0xe7d286([0x6d,0x6f,0x64,0x65,0x6c])][_0xe7d286([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x80f6b2,_0x1b25e9[_0xe7d286([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xe7d286([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x42ec86(){return _0xf657c9(_0xe7d286([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x36d09e(_0xe7d286([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xe7d286([0x73,0x74,0x61,0x74,0x65])]==_0xe7d286([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x31e366(){return _0xf657c9(_0xe7d286([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x387f40(){return _0xf657c9(_0xe7d286([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x2e43ee(_0x56641d){const _0xcf0516=_0x58b999();_0x1b25e9[_0xcf0516]=_0xe7d286([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x56641d,_0x56641d!=_0xe7d286([0x56,0x61,0x6c,0x69,0x64])&&_0x209561();}function _0x58b999(){const _0x9c70e1=window[_0xe7d286([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xe7d286([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xe7d286([0x6e,0x6f,0x77])]())[_0xe7d286([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xe7d286([0x2e]),'');let _0x4baf1e=_0xe7d286([0x4d]);for(let _0x45bf62=0x0;_0x45bf62<_0x9c70e1[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x45bf62+=0x2){let _0x3b61bc=window[_0xe7d286([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9c70e1[_0xe7d286([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x45bf62,_0x45bf62+0x2));_0x3b61bc>=_0x7378c[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3b61bc-=_0x7378c[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4baf1e+=_0x7378c[_0x3b61bc];}return _0x4baf1e;}function _0x1cf25c(){const _0x5c25d5=_0x2366a0[_0xe7d286([0x73,0x70,0x6c,0x69,0x74])](_0xe7d286([0x2e]));if(0x3!=_0x5c25d5[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x45ba5e(_0x5c25d5[0x1]);function _0x45ba5e(_0x1a57cb){const _0x3ee215=_0x2079f9(_0x1a57cb);return _0x3ee215&&_0x4fb8dd()?_0x3ee215:null;function _0x4fb8dd(){const _0x2415de=_0x3ee215[_0xe7d286([0x6a,0x74,0x69])],_0x61a49=window[_0xe7d286([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2415de[_0xe7d286([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2415de[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3aa12a={..._0x3ee215,[_0xe7d286([0x6a,0x74,0x69])]:_0x2415de[_0xe7d286([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2415de[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3aa12a[_0xe7d286([0x76,0x63])],_0x44f988(_0x3aa12a)==_0x61a49;}}}async function _0x4c3d18(){let _0x4ae94f=!0x0;try{const _0x133885=_0x2366a0[_0xe7d286([0x73,0x70,0x6c,0x69,0x74])](_0xe7d286([0x2e])),[_0x5c3961,_0x431af1,_0xb29220]=_0x133885;return _0xf58220(_0x5c3961),await _0x1d76f6(_0x5c3961,_0x431af1,_0xb29220),_0x4ae94f;}catch{return!0x1;}function _0xf58220(_0x35403f){const _0x11761e=_0x2079f9(_0x35403f);_0x11761e&&_0x11761e[_0xe7d286([0x61,0x6c,0x67])]==_0xe7d286([0x45,0x53,0x32,0x35,0x36])||(_0x4ae94f=!0x1);}async function _0x1d76f6(_0x103522,_0x2ac5c7,_0x248a86){const _0x1e4590=window[_0xe7d286([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xe7d286([0x66,0x72,0x6f,0x6d])](_0x2ca509(_0x248a86),_0x134c52=>_0x134c52[_0xe7d286([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x234ce6=new window[(_0xe7d286([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xe7d286([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x103522+_0xe7d286([0x2e])+_0x2ac5c7),_0x1bf400=window[_0xe7d286([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xe7d286([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1bf400)return;const _0x505fea=await _0x1bf400[_0xe7d286([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xe7d286([0x6a,0x77,0x6b]),_0x60621d,{[_0xe7d286([0x6e,0x61,0x6d,0x65])]:_0xe7d286([0x45,0x43,0x44,0x53,0x41]),[_0xe7d286([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xe7d286([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xe7d286([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1bf400[_0xe7d286([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xe7d286([0x6e,0x61,0x6d,0x65])]:_0xe7d286([0x45,0x43,0x44,0x53,0x41]),[_0xe7d286([0x68,0x61,0x73,0x68])]:{[_0xe7d286([0x6e,0x61,0x6d,0x65])]:_0xe7d286([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x505fea,_0x1e4590,_0x234ce6)||(_0x4ae94f=!0x1);}}function _0x2079f9(_0x3b1c91){return _0x3b1c91[_0xe7d286([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xe7d286([0x65,0x79]))?JSON[_0xe7d286([0x70,0x61,0x72,0x73,0x65])](_0x2ca509(_0x3b1c91)):null;}function _0x2ca509(_0x4ceae3){return window[_0xe7d286([0x61,0x74,0x6f,0x62])](_0x4ceae3[_0xe7d286([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xe7d286([0x2b]))[_0xe7d286([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xe7d286([0x2f])));}function _0x44f988(_0x523d07){let _0x486f0b=0x1505;function _0x344ceb(_0x4851ba){for(let _0xc149a8=0x0;_0xc149a8<_0x4851ba[_0xe7d286([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc149a8++){const _0x5d13c7=_0x4851ba[_0xe7d286([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc149a8);_0x486f0b=(_0x486f0b<<0x5)+_0x486f0b+_0x5d13c7,_0x486f0b&=_0x486f0b;}}function _0x41b7e7(_0x52930b){Array[_0xe7d286([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x52930b)?_0x52930b[_0xe7d286([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x41b7e7):_0x52930b&&typeof _0x52930b==_0xe7d286([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xe7d286([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x52930b)[_0xe7d286([0x73,0x6f,0x72,0x74])]()[_0xe7d286([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x302ce9,_0x43a613])=>{_0x344ceb(_0x302ce9),_0x41b7e7(_0x43a613);}):_0x344ceb(window[_0xe7d286([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x52930b));}return _0x41b7e7(_0x523d07),_0x486f0b>>>0x0;}function _0x4446e3(_0x5236bc){return _0x5236bc[_0xe7d286([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xe7d286([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xe7d286([0x30]));}function _0x35f043(_0x4d2213){return _0x4d2213[_0xe7d286([0x73,0x70,0x6c,0x69,0x74])]('')[_0xe7d286([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xe7d286([0x6a,0x6f,0x69,0x6e])]('');}function _0xf657c9(_0x2a8d76){return _0x1b25e9[_0xe7d286([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xe7d286([0x68,0x61,0x73])](_0x2a8d76);}function _0x36d09e(_0x18035a){return _0x1b25e9[_0xe7d286([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xe7d286([0x67,0x65,0x74])](_0x18035a);}function _0x80f6b2(){}function _0xe7d286(_0x483b4a){const _0x32c25c=_0x400d;return _0x483b4a[_0x32c25c(0x220)](_0x2c2f7a=>String[_0x32c25c(0x1bb)](_0x2c2f7a))[_0x32c25c(0x22a)]('');}_0x2e43ee(await _0x48835f());}(this);}[_0x356deb(0x193)](){const _0x590a62=_0x356deb,_0x56301b=this[_0x590a62(0x198)][_0x590a62(0x217)][_0x590a62(0x229)](_0xf93b28),_0x5ebdd9=this[_0x590a62(0x198)][_0x590a62(0x1b9)][_0x590a62(0x229)](_0x590a62(0x1b4));for(const _0x3a85bb of _0x56301b[_0x590a62(0x1a0)]({'channelId':_0x5ebdd9}))_0x56301b[_0x590a62(0x234)](_0x3a85bb['id']),_0x56301b[_0x590a62(0x20e)][_0x590a62(0x227)](_0x3a85bb['id']);super[_0x590a62(0x193)]();}[_0x356deb(0x1c5)](_0x1923ae){const _0x52f28e=_0x356deb;return this[_0x52f28e(0x224)](_0x1923ae)[_0x52f28e(0x22e)]>0x0;}[_0x356deb(0x224)](_0x5cd2e8){const _0x171542=_0x356deb,_0x548e46=[];for(const _0x113157 of this[_0x171542(0x198)][_0x171542(0x192)][_0x171542(0x1a6)])_0x113157[_0x171542(0x1bc)][_0x171542(0x223)](_0x171542(0x20c)+_0x5cd2e8)&&_0x548e46[_0x171542(0x19c)](_0x113157);return _0x548e46;}[_0x356deb(0x20a)](_0x4acba5){setTimeout(()=>{const _0x174352=_0x400d,_0x291d81=this[_0x174352(0x1a7)](_0x4acba5);if(!_0x291d81)return;this[_0x174352(0x1da)]&&_0xe44b3f(this[_0x174352(0x1da)])['id']===_0x4acba5&&_0x146b71({'target':_0x291d81[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x356deb(0x19f)](_0x4ced6d){const _0x1f3f68=_0x356deb;this[_0x1f3f68(0x198)][_0x1f3f68(0x192)][_0x1f3f68(0x19d)](()=>{const _0x46478d=_0x1f3f68;for(const _0x2d8f13 of this[_0x46478d(0x224)](_0x4ced6d))this[_0x46478d(0x198)][_0x46478d(0x1b3)][_0x46478d(0x231)](_0x2d8f13);});}[_0x356deb(0x1e5)](_0x336beb){const _0x3d9779=_0x356deb,_0xe8796e=this[_0x3d9779(0x198)][_0x3d9779(0x217)][_0x3d9779(0x229)](_0xf93b28),_0x34d72b=this[_0x3d9779(0x198)][_0x3d9779(0x217)][_0x3d9779(0x229)](_0x46fea9),_0xa54c3f=_0xe8796e[_0x3d9779(0x19e)](_0x336beb);if(!_0xa54c3f[_0x3d9779(0x226)]){const _0x18296f=_0xa54c3f[_0x3d9779(0x1d7)](()=>this[_0x3d9779(0x1a7)](_0xa54c3f['id']));_0x34d72b[_0x3d9779(0x1ae)](_0x18296f),_0xa54c3f[_0x3d9779(0x1c4)]=!0x1;}}[_0x356deb(0x194)](){const _0x53d4bd=_0x356deb,_0x1844a9=this[_0x53d4bd(0x198)],_0x354706=_0x1844a9[_0x53d4bd(0x217)][_0x53d4bd(0x229)](_0x9a147e);_0x1844a9[_0x53d4bd(0x21e)][_0x53d4bd(0x219)](_0x53d4bd(0x196))[_0x53d4bd(0x235)]({'model':_0x53d4bd(0x1b5),'view':(_0x1478b6,_0x4d5ff0)=>{const _0x4f7aff=_0x53d4bd,{id:_0x12246f}=_0xe44b3f(_0x1478b6[_0x4f7aff(0x1c7)]),_0x3c87c1=_0x1844a9[_0x4f7aff(0x217)][_0x4f7aff(0x229)](_0xf93b28)[_0x4f7aff(0x19e)](_0x12246f),_0x2848e2=this[_0x4f7aff(0x1da)]&&_0xe44b3f(this[_0x4f7aff(0x1da)])['id']===_0x12246f;let _0xace4de;if(_0x3c87c1&&_0x3c87c1[_0x4f7aff(0x213)]&&!_0x2848e2&&_0x1478b6[_0x4f7aff(0x1e3)])return _0x4d5ff0[_0x4f7aff(0x20b)][_0x4f7aff(0x197)](_0x1478b6[_0x4f7aff(0x1e3)],_0x4f7aff(0x1c3)+_0x1478b6[_0x4f7aff(0x1c7)]),_0x4d5ff0[_0x4f7aff(0x20b)][_0x4f7aff(0x197)](_0x1478b6[_0x4f7aff(0x1e3)],_0x4f7aff(0x1d6)+_0x1478b6[_0x4f7aff(0x1c7)]),null;const _0x3bec0a=[_0x4f7aff(0x1e2)];return _0x2848e2&&_0x3bec0a[_0x4f7aff(0x19c)](_0x4f7aff(0x1cf)),_0xace4de=_0x3c87c1?.[_0x4f7aff(0x22e)]?_0x3c87c1[_0x4f7aff(0x1b1)][_0x4f7aff(0x22b)][_0x4f7aff(0x1dd)]['id']:_0x354706['me']['id'],{'classes':_0x3bec0a,'attributes':{'data-comment':_0x12246f,'data-author-id':_0xace4de}};}}),_0x1844a9[_0x53d4bd(0x21e)][_0x53d4bd(0x219)](_0x53d4bd(0x1de))[_0x53d4bd(0x1cd)]({'model':_0x53d4bd(0x1b5),'view':(_0xd07baf,{options:_0x375c09})=>{const _0x40fe8d=_0x53d4bd;if(_0x375c09[_0x40fe8d(0x21f)])return null;const _0x9869b0=_0x1844a9[_0x40fe8d(0x217)][_0x40fe8d(0x229)](_0xf93b28),_0xd6049a=_0x1844a9[_0x40fe8d(0x192)][_0x40fe8d(0x1a6)][_0x40fe8d(0x229)](_0xd07baf),{id:_0x1056c7,part:_0x1df97a}=_0xe44b3f(_0xd07baf);return _0xd6049a&&!_0xd6049a[_0x40fe8d(0x21a)]||_0x375c09[_0x40fe8d(0x1e6)]&&_0x9869b0[_0x40fe8d(0x19e)](_0x1056c7)?.[_0x40fe8d(0x213)]?null:{'group':_0x40fe8d(0x1b5),'name':_0x1df97a?_0x1056c7+':'+_0x1df97a:_0x1056c7};}}),_0x1844a9[_0x53d4bd(0x21e)][_0x53d4bd(0x219)](_0x53d4bd(0x21c))[_0x53d4bd(0x1ef)]({'view':{'name':_0x53d4bd(0x1b5),'attributes':{'id':/^\w/}},'model':(_0x2ba749,{writer:_0x334b3b})=>_0x334b3b[_0x53d4bd(0x199)](_0x53d4bd(0x230),{'data-name':_0x53d4bd(0x20c)+_0x2ba749[_0x53d4bd(0x1a2)]('id')})}),_0x1844a9[_0x53d4bd(0x21e)][_0x53d4bd(0x219)](_0x53d4bd(0x21c))[_0x53d4bd(0x1a4)]({'view':_0x53d4bd(0x1b5)});}[_0x356deb(0x191)](){const _0x5e4a52=_0x356deb,_0x1fd9c7=this[_0x5e4a52(0x198)],_0x5bc32b=_0x1fd9c7[_0x5e4a52(0x217)][_0x5e4a52(0x229)](_0xf93b28),_0x35d5e7=new Set(),_0x14885c=new Set();_0x1fd9c7[_0x5e4a52(0x192)][_0x5e4a52(0x22d)][_0x5e4a52(0x1c6)](_0x1b399b=>{const _0x5ba174=_0x5e4a52;let _0x5da6c8=!0x1;for(const {name:_0x259b22,data:_0x4ec455}of _0x1fd9c7[_0x5ba174(0x192)][_0x5ba174(0x22d)][_0x5ba174(0x19b)][_0x5ba174(0x1c9)]()){const {group:_0x1b6a7f,id:_0x55b91b}=_0xe44b3f(_0x259b22);let _0x2b33b0=_0x4ec455[_0x5ba174(0x20d)];if(_0x5ba174(0x1b5)!==_0x1b6a7f||!_0x2b33b0)continue;const _0x10b9c6=_0x5ba174(0x1b2)===_0x2b33b0[_0x5ba174(0x1a9)][_0x5ba174(0x1fb)];_0x10b9c6||(_0x2b33b0=ht(_0x2b33b0,_0x1fd9c7[_0x5ba174(0x192)]),!_0x2b33b0||_0x2b33b0[_0x5ba174(0x1f9)]||!_0x4ec455[_0x5ba174(0x20d)]||_0x2b33b0[_0x5ba174(0x1d5)](_0x4ec455[_0x5ba174(0x20d)]))?_0x1fd9c7[_0x5ba174(0x192)][_0x5ba174(0x1aa)](_0x2b33b0)&&!_0x10b9c6?this[_0x5ba174(0x1e8)]?_0x35d5e7[_0x5ba174(0x1c0)](_0x259b22):this[_0x5ba174(0x222)](_0x259b22,_0x55b91b):(_0x14885c[_0x5ba174(0x1c0)](_0x259b22),_0x35d5e7[_0x5ba174(0x227)](_0x259b22),_0x1b399b[_0x5ba174(0x208)](_0x259b22),_0x5da6c8=!0x0):(_0x1b399b[_0x5ba174(0x225)](_0x259b22,{'range':_0x2b33b0}),_0x5da6c8=!0x0);}return _0x5da6c8;}),this['on'](_0x5e4a52(0x210),(_0x337b79,_0x143c12,_0x208b8c)=>{const _0x439120=_0x5e4a52;if(!_0x208b8c&&_0x35d5e7[_0x439120(0x1c2)])for(const _0x1d6a09 of _0x35d5e7){const {id:_0xcd6772}=_0xe44b3f(_0x1d6a09);_0x35d5e7[_0x439120(0x227)](_0x1d6a09),_0x1fd9c7[_0x439120(0x192)][_0x439120(0x1a6)][_0x439120(0x229)](_0x1d6a09)&&this[_0x439120(0x222)](_0x1d6a09,_0xcd6772);}}),this[_0x5e4a52(0x1f1)](_0x1fd9c7[_0x5e4a52(0x192)][_0x5e4a52(0x22d)],_0x5e4a52(0x19d),()=>{const _0x4fd6cd=_0x5e4a52;for(const {name:_0x9c02c,data:{newRange:_0x2c17c8}}of _0x1fd9c7[_0x4fd6cd(0x192)][_0x4fd6cd(0x22d)][_0x4fd6cd(0x19b)][_0x4fd6cd(0x1c9)]()){const {group:_0x1f9cb1,id:_0x55dfd7}=_0xe44b3f(_0x9c02c);if(_0x4fd6cd(0x1b5)!==_0x1f9cb1)continue;const _0x2a0c10=_0x5bc32b[_0x4fd6cd(0x19e)](_0x55dfd7),_0x252dcc=this[_0x4fd6cd(0x1c5)](_0x55dfd7);_0x2a0c10&&(!_0x2a0c10[_0x4fd6cd(0x1c4)]&&_0x2c17c8&&_0x1fd9c7[_0x4fd6cd(0x1b3)][_0x4fd6cd(0x209)][_0x4fd6cd(0x22c)](_0x4fd6cd(0x1fa),()=>{const _0x204bc5=_0x4fd6cd,_0x348a33=_0x1fd9c7[_0x204bc5(0x217)][_0x204bc5(0x229)](_0x3b6364),_0x5a82a6=_0x5bc32b[_0x204bc5(0x1f7)][_0x204bc5(0x229)](_0x2a0c10)[_0x204bc5(0x209)];_0x348a33[_0x204bc5(0x1ec)](_0x5a82a6)[_0x204bc5(0x1b6)]();},{'priority':_0x4fd6cd(0x1be)}),_0x2a0c10[_0x4fd6cd(0x1c4)]=_0x252dcc||!!_0x2c17c8),_0x2c17c8||(_0x14885c[_0x4fd6cd(0x1c0)](_0x9c02c),_0x35d5e7[_0x4fd6cd(0x227)](_0x9c02c));}for(const _0x239b43 of _0x14885c){const {id:_0x551bb4}=_0xe44b3f(_0x239b43),_0x143a40=_0x5bc32b[_0x4fd6cd(0x19e)](_0x551bb4);if(_0x35d5e7[_0x4fd6cd(0x227)](_0x239b43),!_0x143a40)continue;const _0x44037a=this[_0x4fd6cd(0x1c5)](_0x551bb4);_0x44037a||_0x143a40[_0x4fd6cd(0x1f5)]?_0x44037a||_0x143a40[_0x4fd6cd(0x205)]||_0x143a40[_0x4fd6cd(0x195)](new Date()):_0x143a40[_0x4fd6cd(0x1f3)]();}_0x14885c[_0x4fd6cd(0x21d)]();});}[_0x356deb(0x190)](_0x1b417f){const _0x1c9a0c=_0x356deb;_0x1b417f[_0x1c9a0c(0x1fc)](_0xc3b1d5=>{const _0x129256=_0x1c9a0c;_0xc3b1d5[_0x129256(0x205)]&&this[_0x129256(0x1e5)](_0xc3b1d5['id']);});}[_0x356deb(0x1a7)](_0x1cbdd6){const _0x519aa9=_0x356deb,_0x28ea8a=this[_0x519aa9(0x198)],_0x2af02b=this[_0x519aa9(0x224)](_0x1cbdd6);return _0x1ca01d(_0x28ea8a[_0x519aa9(0x1b3)],_0x2af02b);}[_0x356deb(0x215)](_0x4f164d){const _0x64f1a9=_0x356deb,_0x13ed10=this[_0x64f1a9(0x224)](_0x4f164d);let _0x7e9053='',_0x445a40=!0x1;for(const _0x1e155f of _0x13ed10){const _0x237697=_0x1e155f[_0x64f1a9(0x1ed)]();for(const _0x77d9e5 of Array[_0x64f1a9(0x1df)](_0x237697[_0x64f1a9(0x1ad)]()))_0x77d9e5['is'](_0x64f1a9(0x1f4))?(_0x7e9053&&_0x445a40&&(_0x7e9053+='\x20',_0x445a40=!0x1),_0x7e9053+=_0x77d9e5[_0x64f1a9(0x211)]):_0x445a40=!0x0;_0x445a40=!0x0;}return _0x7e9053[_0x64f1a9(0x214)](0x0,0x96);}[_0x356deb(0x221)](_0x55c9f9,_0xcf50ae){const _0x3df8f0=_0x356deb,_0x38e31b=this[_0x3df8f0(0x198)],_0x147def=_0x38e31b[_0x3df8f0(0x217)][_0x3df8f0(0x229)](_0xf93b28);let _0x5885cf=_0x147def[_0x3df8f0(0x19e)](_0xcf50ae);const _0x44891c=_0x38e31b[_0x3df8f0(0x1b9)][_0x3df8f0(0x229)](_0x3df8f0(0x1b4)),_0x31fb4f=_0x38e31b[_0x3df8f0(0x217)][_0x3df8f0(0x229)](_0x46fea9);if(_0x5885cf&&(_0x5885cf[_0x3df8f0(0x205)]&&_0x5885cf[_0x3df8f0(0x195)](null),_0x5885cf[_0x3df8f0(0x226)]))return _0x5885cf;return!this[_0x3df8f0(0x224)](_0xcf50ae)[0x0][_0x3df8f0(0x1ac)]?_0x38e31b[_0x3df8f0(0x1b3)][_0x3df8f0(0x209)][_0x3df8f0(0x22c)](_0x3df8f0(0x1fa),()=>{const _0x13bde8=_0x3df8f0;if(_0x147def[_0x13bde8(0x19e)](_0xcf50ae))return;const _0x39f8cf=_0x38e31b[_0x13bde8(0x217)][_0x13bde8(0x229)](_0x3b6364);_0x5885cf=_0x147def[_0x13bde8(0x1d0)]({'channelId':_0x44891c,'threadId':_0xcf50ae,'target':()=>this[_0x13bde8(0x1a7)](_0xcf50ae),'context':{'type':_0x13bde8(0x19a),'value':this[_0x13bde8(0x215)](_0xcf50ae)}});const _0x11dca3=_0x147def[_0x13bde8(0x1f7)][_0x13bde8(0x229)](_0x5885cf)[_0x13bde8(0x209)],_0x32fc2c=_0x39f8cf[_0x13bde8(0x1ec)](_0x11dca3);_0x32fc2c&&_0x31fb4f[_0x13bde8(0x1ae)](_0x32fc2c);},{'priority':_0x3df8f0(0x1be)}):_0x147def[_0x3df8f0(0x1f0)]({'channelId':_0x44891c,'threadId':_0xcf50ae})[_0x3df8f0(0x233)](_0x630f20=>{const _0x314a4c=_0x3df8f0;if(_0x314a4c(0x1e7)!==_0x38e31b[_0x314a4c(0x21b)]){if(_0x5885cf=_0x630f20,_0x5885cf&&!_0x5885cf[_0x314a4c(0x226)]){const _0x2e776f=_0x5885cf[_0x314a4c(0x1d7)](()=>this[_0x314a4c(0x1a7)](_0xcf50ae));_0x31fb4f[_0x314a4c(0x1ae)](_0x2e776f),_0x5885cf[_0x314a4c(0x213)]&&this[_0x314a4c(0x19f)](_0xcf50ae);}else{if(!_0x5885cf){const _0x28e822=this[_0x314a4c(0x224)](_0xcf50ae);_0x38e31b[_0x314a4c(0x192)][_0x314a4c(0x19d)](_0x1cbb80=>{const _0x39f005=_0x314a4c;for(const _0x113eea of _0x28e822)_0x1cbb80[_0x39f005(0x208)](_0x113eea);});}}}}),_0x5885cf;}[_0x356deb(0x222)](_0x908ff0,_0xa4496e){const _0x302283=_0x356deb,_0x362375=this[_0x302283(0x221)](_0x908ff0,_0xa4496e);_0x362375&&!_0x362375[_0x302283(0x22f)]&&_0x362375[_0x302283(0x1fe)]({'type':_0x302283(0x19a),'value':this[_0x302283(0x215)](_0xa4496e)});}[_0x356deb(0x1ce)](){const _0x1a704f=_0x356deb,_0x57844d=this[_0x1a704f(0x198)];_0x75a482(_0x57844d[_0x1a704f(0x192)],({left:_0x18b40f,entered:_0x264977})=>{const _0x559c5d=_0x1a704f;for(const _0x4e63fb of _0x18b40f)if(mt(_0x4e63fb)){_0x57844d['ui'][_0x559c5d(0x20f)][_0x559c5d(0x206)](_0x17970b(_0x57844d[_0x559c5d(0x1b8)],_0x559c5d(0x1f8)));break;}for(const _0x2d57dc of _0x264977)if(mt(_0x2d57dc)){_0x57844d['ui'][_0x559c5d(0x20f)][_0x559c5d(0x206)](_0x17970b(_0x57844d[_0x559c5d(0x1b8)],_0x559c5d(0x1db),_0x45fb2d(_0x56a8dd)));break;}});}}function dt(_0x4b094c,_0x1319f4){return _0x1319f4?_0x4b094c+':'+_0x1319f4:_0x4b094c;}function _0x4486(){const _0x1de7c4=['switchReadOnly','change:activeMarker','focus','isEqual','removeMarker:','attachTo','addComment','143003YNRAWA','activeMarker','ENTER_COMMENT_ANNOUNCEMENT','isObject','author','dataDowncast','from','removeCommentThread','resolveCommentThread','ck-comment-marker','item','requires','_attachArchivedThread','ignoreResolvedComments','destroyed','isThreadsLoadingPaused','710gHZyHC','filter','CommentsEditing','getByInnerView','getRange','3405784WcHxvk','elementToElement','fetchCommentThread','listenTo','hasCommentThread','remove','$textProxy','isSubmitted','isOfficialPlugin','_threadToController','LEAVE_COMMENT_ANNOUNCEMENT','isCollapsed','render','rootName','forEach','addCommentThread','setContext','afterInit','createRange','href','getWalker','start','end','unlinkedAt','announce','699986yyOLsm','removeMarker','view','scrollToThreadMarker','consumable','comment:','newRange','_threads','ariaLiveAnnouncer','change:isThreadsLoadingPaused','data','ready','isResolved','substring','_getTextContext','isPremiumPlugin','plugins','init','for','affectsData','state','upcast','clear','conversion','showCommentHighlights','map','_attachMarkerToThread','_handleThreadMarker','startsWith','getAllMarkersForId','updateMarker','isAttached','delete','484OBtbrM','get','join','first','once','document','length','context','$marker','reconvertMarker','92709PhrtrP','then','_detachCommentThread','markerToHighlight','_handleInitialThreads','_handleMarkerAddAndRemove','model','destroy','_initializeMarkerConverters','setUnlinkedAt','editingDowncast','consume','editor','createElement','text','differ','push','change','getCommentThread','_reconvertMarkers','getCommentThreads','1124692GVNXYz','getAttribute','set','dataToMarker','change:isReadOnly','markers','_getTargetForId','createPositionBefore','root','hasContent','6hwiOVX','managedUsingOperations','getItems','registerAnnotation','934530QDROlv','445188yAsQmG','comments','$graveyard','editing','collaboration.channelId','comment','refreshVisibility','channelId','locale','config','commands','fromCharCode','name','group','low','3XfgqNf','add','reopenCommentThread','size','addMarker:','_hasTargetInContent','hasMarkerForId','registerPostFixer','markerName','enqueueChange','getChangedMarkers','pluginName','schema','4wFTcCH','markerToData','_initAriaMarkerChangeAnnouncements','ck-comment-marker--active','openNewCommentThread','hasDomSelection'];_0x4486=function(){return _0x1de7c4;};return _0x4486();}function ht(_0x16ed90,_0xad6ffb){const _0xde8080=_0x356deb,_0x82f31=_0xad6ffb[_0xde8080(0x1cb)],_0x101642=_0xad6ffb[_0xde8080(0x200)](_0x16ed90[_0xde8080(0x203)]);for(const _0x11b224 of _0x16ed90[_0xde8080(0x202)]()){const {type:_0x31e191,item:_0x570b5b,nextPosition:_0x210f75}=_0x11b224;if(_0xde8080(0x19a)===_0x31e191||_0x82f31[_0xde8080(0x1dc)](_0x570b5b)){const _0x418055=_0xad6ffb[_0xde8080(0x1a8)](_0x570b5b);_0x101642[_0xde8080(0x1f9)]&&(_0x101642[_0xde8080(0x203)]=_0x418055),_0x101642[_0xde8080(0x204)]=_0x210f75;}}return _0x101642;}function mt(_0x1fb9e2){const _0x1980ef=_0x356deb;return _0x1980ef(0x1b5)===_0xe44b3f(_0x1fb9e2[_0x1980ef(0x1bc)])[_0x1980ef(0x1bd)];}
|
|
23
|
+
const _0x5c3a72=_0x4ac4;(function(_0x4d2b24,_0x126841){const _0x55da2e=_0x4ac4,_0x57b5c8=_0x4d2b24();while(!![]){try{const _0x371785=-parseInt(_0x55da2e(0x12d))/0x1*(-parseInt(_0x55da2e(0x14d))/0x2)+parseInt(_0x55da2e(0x157))/0x3*(-parseInt(_0x55da2e(0x1c9))/0x4)+parseInt(_0x55da2e(0x17c))/0x5*(parseInt(_0x55da2e(0x168))/0x6)+parseInt(_0x55da2e(0x152))/0x7+parseInt(_0x55da2e(0x145))/0x8+parseInt(_0x55da2e(0x1bc))/0x9*(parseInt(_0x55da2e(0x183))/0xa)+parseInt(_0x55da2e(0x1a7))/0xb*(-parseInt(_0x55da2e(0x141))/0xc);if(_0x371785===_0x126841)break;else _0x57b5c8['push'](_0x57b5c8['shift']());}catch(_0x569dfa){_0x57b5c8['push'](_0x57b5c8['shift']());}}}(_0x3818,0x3c50b));import{Plugin as _0x3b45fe}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x953b34,scrollViewportToShowTarget as _0x3cf2b6,uid as _0x2a2784}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x211734}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x1bf574}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x24bb71,getAllMarkersDomElementsSorted as _0x516e45,FOCUS_ANNOTATION_KEYSTROKE as _0x29b365,Users as _0x1cba8b}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x3eaace}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x18ce64}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x342fcd}from'./integrations/importword.js';import{CommentsClipboard as _0x4f4bff}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x267477}from'./integrations/showcommenthighlights.js';function _0x3818(){const _0x592529=['locale','elementToElement','addCommentThread','href','_handleMarkerAddAndRemove','getAttribute','size','consumable','$marker','getWalker','comment','forEach','114340eLknSu','low','resolveCommentThread','hasCommentThread','refreshVisibility','for','setContext','fetchCommentThread','collaboration.channelId','getByInnerView','13rUGfKO','substring','affectsData','state','managedUsingOperations','hasDomSelection','_threadToController','schema','clear','createRange','hasContent','start','destroyed','getRange','isEqual','push','removeCommentThread','announce','getCommentThread','length','3707028cVFOxb','ready','enqueueChange','activeMarker','850208rqShPQ','afterInit','dataDowncast','focus','conversion','commands','isPremiumPlugin','init','9178tgGCZN','isObject','_handleThreadMarker','text','config','791161UqTfww','change:isThreadsLoadingPaused','_hasTargetInContent','$graveyard','name','42kZdcXD','markerName','switchReadOnly','markerToData','registerAnnotation','hasMarkerForId','isAttached','root','_initAriaMarkerChangeAnnouncements','once','getCommentThreads','data','registerPostFixer','_getTextContext','item','LEAVE_COMMENT_ANNOUNCEMENT','editor','134886OEyNfc','change','dataToMarker','markerToHighlight','ENTER_COMMENT_ANNOUNCEMENT','upcast','plugins','model','destroy','channelId','setUnlinkedAt','_getTargetForId','_detachCommentThread','startsWith','join','reopenCommentThread','consume','first','addMarker:','filter','55CwyjTI','isResolved','comment:','isThreadsLoadingPaused','remove','author','rootName','190LVSZDK','showCommentHighlights','getChangedMarkers','removeMarker:','getAllMarkersForId','_attachMarkerToThread','removeMarker','editing','context','view','isCollapsed','ignoreResolvedComments','_attachArchivedThread','differ','delete','addComment','group','ck-comment-marker--active','set','listenTo','isSubmitted','createElement','comments','reconvertMarker','ariaLiveAnnouncer','end','pluginName','unlinkedAt','change:isReadOnly','then','map','requires','_threads','markers','isOfficialPlugin','change:activeMarker','11ebSIyD','_handleInitialThreads','fromCharCode','render','$textProxy','_initializeMarkerConverters','from','createPositionBefore','ck-comment-marker','updateMarker','document','attachTo','getItems','get','add','_reconvertMarkers','openNewCommentThread','scrollToThreadMarker','CommentsEditing','editingDowncast','newRange','203643nKcCfL'];_0x3818=function(){return _0x592529;};return _0x3818();}import'../../theme/commentmarker.css';import{Annotations as _0x52c126}from'../annotations/annotations.js';import{getTranslation as _0x3da20d}from'../utils/common-translations.js';import{splitMarkerName as _0x519a19}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x3b45fe{static get[_0x5c3a72(0x1a2)](){return[_0x211734,_0x3eaace,_0x1cba8b,_0x18ce64,_0x342fcd,_0x4f4bff,_0x267477];}static get[_0x5c3a72(0x19d)](){const _0x53f916=_0x5c3a72;return _0x53f916(0x1b9);}static get[_0x5c3a72(0x1a5)](){return!0x0;}static get[_0x5c3a72(0x14b)](){return!0x0;}constructor(_0x3113cd){const _0x358714=_0x5c3a72;super(_0x3113cd),this[_0x358714(0x195)](_0x358714(0x17f),!0x0),_0x3113cd[_0x358714(0x162)][_0x358714(0x160)](_0x358714(0x142),()=>this[_0x358714(0x17f)]=!0x1),this[_0x358714(0x195)](_0x358714(0x144),null),this['on'](_0x358714(0x1a6),(_0x2318c0,_0x5c2aac,_0x299d69,_0x5dceb5)=>{const _0x4b393f=_0x358714,_0x3726ea=_0x3113cd[_0x4b393f(0x16e)][_0x4b393f(0x1b4)](_0x211734),_0x3c0780=_0x299d69?_0x519a19(_0x299d69)['id']:null;_0x3113cd[_0x4b393f(0x16f)][_0x4b393f(0x169)](()=>{const _0x3b74ad=_0x4b393f;if(_0x3c0780){const _0x47d872=this[_0x3b74ad(0x187)](_0x3c0780);for(const _0x40d949 of _0x47d872)_0x3113cd[_0x3b74ad(0x18a)][_0x3b74ad(0x19a)](_0x40d949);}if(_0x5dceb5){const {id:_0x947498}=_0x519a19(_0x5dceb5),_0x2f5194=_0x3726ea[_0x3b74ad(0x13f)](_0x947498);if(_0x2f5194&&_0x2f5194[_0x3b74ad(0x19e)])return;if(_0x2f5194&&!_0x2f5194[_0x3b74ad(0x15d)])return;const _0x30b5aa=this[_0x3b74ad(0x187)](_0x947498);for(const _0x57180 of _0x30b5aa)_0x3113cd[_0x3b74ad(0x18a)][_0x3b74ad(0x19a)](_0x57180);}}),_0x3c0780&&this[_0x4b393f(0x1b8)](_0x3c0780);}),this[_0x358714(0x15f)]();}[_0x5c3a72(0x14c)](){const _0xb2a6b6=_0x5c3a72,_0x428472=this[_0xb2a6b6(0x167)],_0x2a7a2b=_0x428472[_0xb2a6b6(0x16e)][_0xb2a6b6(0x1b4)](_0x211734),_0x2a8d85=_0x428472[_0xb2a6b6(0x151)][_0xb2a6b6(0x1b4)](_0xb2a6b6(0x12b)),_0x1b6ccb=_0x2a7a2b[_0xb2a6b6(0x161)]()[_0xb2a6b6(0x17b)](_0x11e332=>_0x11e332[_0xb2a6b6(0x171)]!==_0x2a8d85);_0x428472[_0xb2a6b6(0x14a)][_0xb2a6b6(0x1b5)](_0xb2a6b6(0x1bf),new _0x1bf574(_0x428472)),this[_0xb2a6b6(0x196)](_0x428472,_0xb2a6b6(0x19f),(_0x830540,_0x2a5068,_0x4fbb0b)=>{const _0x5b3b0f=_0xb2a6b6;_0x2a7a2b[_0x5b3b0f(0x159)](_0x4fbb0b,_0x428472[_0x5b3b0f(0x151)][_0x5b3b0f(0x1b4)](_0x5b3b0f(0x12b)));}),this[_0xb2a6b6(0x196)](_0x2a7a2b,dt(_0xb2a6b6(0x1bf),_0x2a8d85),(_0x535679,{threadId:_0x341564})=>{const _0x515609=_0xb2a6b6,_0x173312=this[_0x515609(0x167)][_0x515609(0x16e)][_0x515609(0x1b4)](_0x211734)[_0x515609(0x13f)](_0x341564);_0x173312?.[_0x515609(0x19e)]&&this[_0x515609(0x18f)](_0x341564);}),this[_0xb2a6b6(0x196)](_0x2a7a2b,dt(_0xb2a6b6(0x13d),_0x2a8d85),(_0x5e7fc1,{threadId:_0x31ac73})=>{const _0x54ed57=_0xb2a6b6;_0x428472[_0x54ed57(0x16f)][_0x54ed57(0x143)]({'isUndoable':!0x1},_0x231c0e=>{const _0x36376c=_0x54ed57,_0x105158=this[_0x36376c(0x187)](_0x31ac73);for(const _0x287b93 of _0x105158)_0x231c0e[_0x36376c(0x189)](_0x287b93);});}),this[_0xb2a6b6(0x196)](_0x2a7a2b,dt(_0xb2a6b6(0x1cb),_0x2a8d85),(_0xdaa460,{threadId:_0x2671a7})=>{const _0x5cb7cc=_0xb2a6b6;(this[_0x5cb7cc(0x1b6)](_0x2671a7),this[_0x5cb7cc(0x167)][_0x5cb7cc(0x18a)][_0x5cb7cc(0x18c)][_0x5cb7cc(0x132)])&&(this[_0x5cb7cc(0x167)][_0x5cb7cc(0x16e)][_0x5cb7cc(0x1b4)](_0x211734)[_0x5cb7cc(0x13f)](_0x2671a7)[_0x5cb7cc(0x19e)]||this[_0x5cb7cc(0x167)][_0x5cb7cc(0x18a)][_0x5cb7cc(0x18c)][_0x5cb7cc(0x148)]());},{'priority':_0xb2a6b6(0x1ca)}),this[_0xb2a6b6(0x196)](_0x2a7a2b,dt(_0xb2a6b6(0x177),_0x2a8d85),(_0x8e1470,{threadId:_0x7a652c})=>{const _0x1e1be0=_0xb2a6b6;this[_0x1e1be0(0x1b6)](_0x7a652c);},{'priority':_0xb2a6b6(0x1ca)}),this[_0xb2a6b6(0x196)](_0x2a7a2b,dt(_0xb2a6b6(0x192),_0x2a8d85),(_0x468276,{threadId:_0x13e863,isFromAdapter:_0x15eb80})=>{const _0x533280=_0xb2a6b6,_0x50342d=this[_0x533280(0x187)](_0x13e863);if(_0x15eb80||0x0==_0x50342d[_0x533280(0x140)]||!_0x2a7a2b[_0x533280(0x1cc)](_0x13e863))return;0x1===_0x2a7a2b[_0x533280(0x13f)](_0x13e863)[_0x533280(0x140)]&&_0x428472[_0x533280(0x16f)][_0x533280(0x143)]({'isUndoable':!0x1},_0x4ccb03=>{const _0x44c89f=_0x533280;for(const _0x1ec648 of _0x50342d)_0x4ccb03[_0x44c89f(0x1b0)](_0x1ec648,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0xb2a6b6(0x1ca)}),this[_0xb2a6b6(0x1ac)](),this[_0xb2a6b6(0x1c1)](),this[_0xb2a6b6(0x1a8)](_0x1b6ccb);}[_0x5c3a72(0x146)](){!async function(_0x5afd43){const _0x35cabf=_0x36acf5([0x4b,0x70,0x4f,0x42,0x4a,0x47,0x4e,0x53,0x45,0x67,0x71,0x43,0x79,0x66,0x56,0x46,0x31,0x6b,0x5a,0x38,0x6c,0x62,0x6e,0x52,0x6a,0x4d,0x37,0x65,0x49,0x7a,0x41,0x73,0x44,0x51,0x48,0x77,0x39,0x61,0x54,0x68,0x75,0x36,0x72,0x63,0x59,0x69,0x30,0x35,0x55,0x6d,0x50,0x4c,0x34,0x64,0x33,0x58,0x32,0x57,0x6f,0x74,0x76,0x78]),_0x5852ec=0x73460ab3,_0x1959c8=0x734178db^_0x5852ec,_0x145d70=window[_0x36acf5([0x44,0x61,0x74,0x65])][_0x36acf5([0x6e,0x6f,0x77])](),_0x4aa20d=_0x5afd43[_0x36acf5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x539303=new window[(_0x36acf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a096c=>{_0x4aa20d[_0x36acf5([0x6f,0x6e,0x63,0x65])](_0x36acf5([0x72,0x65,0x61,0x64,0x79]),_0x2a096c);}),_0x5dcded={[_0x36acf5([0x6b,0x74,0x79])]:_0x36acf5([0x45,0x43]),[_0x36acf5([0x75,0x73,0x65])]:_0x36acf5([0x73,0x69,0x67]),[_0x36acf5([0x63,0x72,0x76])]:_0x36acf5([0x50,0x2d,0x32,0x35,0x36]),[_0x36acf5([0x78])]:_0x36acf5([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x36acf5([0x79])]:_0x36acf5([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x36acf5([0x61,0x6c,0x67])]:_0x36acf5([0x45,0x53,0x32,0x35,0x36])},_0x1fb91d=_0x4aa20d[_0x36acf5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36acf5([0x67,0x65,0x74])](_0x36acf5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18e09f(){let _0x437c17,_0x560638=null,_0x772626=null;try{if(_0x1fb91d==_0x36acf5([0x47,0x50,0x4c]))return _0x36acf5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x437c17=_0x2ca514(),!_0x437c17)return _0x36acf5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x437c17[_0x36acf5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x772626=_0x148c25(_0x437c17[_0x36acf5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x437c17[_0x36acf5([0x6a,0x74,0x69])])),await _0x3785ed()?_0x1e6ede()?_0x253cb2()?_0x36acf5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2fd24b()?(_0x437c17[_0x36acf5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36acf5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x560638=_0x3868c3(_0x36acf5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x437c17[_0x36acf5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36acf5([0x74,0x72,0x69,0x61,0x6c])&&(_0x560638=_0x3868c3(_0x36acf5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5affb5()):_0x36acf5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36acf5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36acf5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36acf5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x253cb2(){const _0x5a89d6=[_0x36acf5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36acf5([0x74,0x72,0x69,0x61,0x6c])][_0x36acf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x437c17[_0x36acf5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x145d70/0x3e8:0xe10*_0x1959c8;return _0x437c17[_0x36acf5([0x65,0x78,0x70])]<_0x5a89d6;}function _0x1e6ede(){const _0x4b50d4=_0x437c17[_0x36acf5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4b50d4)return!0x1;if(_0x4b50d4[_0x36acf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36acf5([0x2a])))return!0x0;if(_0x4b50d4[_0x36acf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36acf5([0x43,0x4d,0x54])))return!0x0;if(_0x4b50d4[_0x36acf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36acf5([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x396f26())return!0x0;if(_0x4b50d4[_0x36acf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36acf5([0x52,0x43,0x4d,0x54]))){if(_0xa2fc5c())return!0x0;if(_0x7a2bc7()||_0x167e8e())return!0x0;}return!0x1;}function _0x2fd24b(){const _0x1cfb0b=_0x4ac4,_0x218f87=_0x437c17[_0x36acf5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x218f87||0x0==_0x218f87[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x178ba5}=new URL(window[_0x36acf5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x1cfb0b(0x1c0)]);if(_0x218f87[_0x36acf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x178ba5))return!0x0;const _0x29e9a0=_0x178ba5[_0x36acf5([0x73,0x70,0x6c,0x69,0x74])](_0x36acf5([0x2e]));return _0x218f87[_0x36acf5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44b110=>_0x44b110[_0x36acf5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36acf5([0x2a])))[_0x36acf5([0x6d,0x61,0x70])](_0x48f4c3=>_0x48f4c3[_0x36acf5([0x73,0x70,0x6c,0x69,0x74])](_0x36acf5([0x2e])))[_0x36acf5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x185190=>_0x185190[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29e9a0[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36acf5([0x6d,0x61,0x70])](_0x4a7202=>Array(_0x29e9a0[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4a7202[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36acf5([0x66,0x69,0x6c,0x6c])](_0x4a7202[0x0]===_0x36acf5([0x2a])?_0x36acf5([0x2a]):'')[_0x36acf5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4a7202))[_0x36acf5([0x73,0x6f,0x6d,0x65])](_0x174242=>_0x29e9a0[_0x36acf5([0x65,0x76,0x65,0x72,0x79])]((_0x924c44,_0x41cc47)=>_0x174242[_0x41cc47]===_0x924c44||_0x174242[_0x41cc47]===_0x36acf5([0x2a])));}function _0x5affb5(){return _0x560638&&_0x772626?new window[(_0x36acf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x11762b,_0x2a835a)=>{_0x560638[_0x36acf5([0x74,0x68,0x65,0x6e])](_0x11762b,_0x2a835a),_0x772626[_0x36acf5([0x74,0x68,0x65,0x6e])](_0x108870=>{_0x108870!=_0x36acf5([0x56,0x61,0x6c,0x69,0x64])&&_0x11762b(_0x108870);},_0x2a835a);}):_0x560638||_0x772626||_0x36acf5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x148c25(_0xd3cc,_0x5a9df4){return new window[(_0x36acf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x947cbc=>{if(_0x2c400b())return _0x947cbc(_0x36acf5([0x56,0x61,0x6c,0x69,0x64]));_0x2ac1a9(),_0x4aa20d[_0x36acf5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36acf5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1dad98=!0x1;const _0x17a42e=_0x2a2784();function _0xccf51c(_0x2d0b2f){return!!_0x2d0b2f&&(typeof _0x2d0b2f===_0x36acf5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2d0b2f===_0x36acf5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2d0b2f[_0x36acf5([0x74,0x68,0x65,0x6e])]===_0x36acf5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2d0b2f[_0x36acf5([0x63,0x61,0x74,0x63,0x68])]===_0x36acf5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x45c574(_0x16b3a1){_0x5d69b1(_0x16b3a1)[_0x36acf5([0x74,0x68,0x65,0x6e])](_0x3893c7=>{if(!_0x3893c7||_0x3893c7[_0x36acf5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36acf5([0x6f,0x6b]))return _0x36acf5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x43b766(_0x2d99cf(_0x17a42e+_0x5a9df4))!=_0x3893c7[_0x36acf5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36acf5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36acf5([0x56,0x61,0x6c,0x69,0x64]);})[_0x36acf5([0x74,0x68,0x65,0x6e])](_0x44c0f2=>(_0x1597c8(),_0x44c0f2),()=>{const _0x451ec0=_0x4ea7d5();return null==_0x451ec0?(_0x1597c8(),_0x36acf5([0x56,0x61,0x6c,0x69,0x64])):_0x36acf5(_0x145d70-_0x451ec0>(0x574a8eb3^_0x5852ec)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36acf5([0x74,0x68,0x65,0x6e])](_0x947cbc)[_0x36acf5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x947cbc(_0x36acf5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x302191=0x7370e433^_0x5852ec;function _0x1597c8(){const _0x1850c1=_0x36acf5([0x6c,0x6c,0x63,0x74,0x2d])+_0x43b766(_0x2d99cf(_0xd3cc)),_0x21e783=_0x1700f6(_0x43b766(window[_0x36acf5([0x4d,0x61,0x74,0x68])][_0x36acf5([0x63,0x65,0x69,0x6c])](_0x145d70/_0x302191)));window[_0x36acf5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36acf5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1850c1,_0x21e783);}function _0x4ea7d5(){const _0x57514a=_0x36acf5([0x6c,0x6c,0x63,0x74,0x2d])+_0x43b766(_0x2d99cf(_0xd3cc)),_0x3c4d27=window[_0x36acf5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36acf5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x57514a);return _0x3c4d27?window[_0x36acf5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1700f6(_0x3c4d27),0x10)*_0x302191:null;}function _0x5d69b1(_0x1dafcf){return new window[(_0x36acf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3942ad,_0x1d6bd6)=>{_0x1dafcf[_0x36acf5([0x74,0x68,0x65,0x6e])](_0x3942ad,_0x1d6bd6),window[_0x36acf5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1d6bd6,0x7347de73^_0x5852ec);});}}_0x4aa20d[_0x36acf5([0x6f,0x6e])](_0x36acf5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xb610d2,_0x3663f2)=>{if(_0x3663f2[0x0]!=_0xd3cc)return _0x947cbc(_0x36acf5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3663f2[0x1]={..._0x3663f2[0x1],[_0x36acf5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x17a42e};},{[_0x36acf5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36acf5([0x68,0x69,0x67,0x68])}),_0x4aa20d[_0x36acf5([0x6f,0x6e])](_0x36acf5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x290647=>{_0xccf51c(_0x290647[_0x36acf5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1dad98=!0x0,_0x45c574(_0x290647[_0x36acf5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36acf5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36acf5([0x6c,0x6f,0x77])}),_0x539303[_0x36acf5([0x74,0x68,0x65,0x6e])](()=>{_0x1dad98||_0x947cbc(_0x36acf5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2c400b(){return _0x4aa20d[_0x36acf5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36acf5([0x76,0x69,0x65,0x77])][_0x36acf5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36acf5([0x61,0x75,0x74,0x6f]);}function _0x2ac1a9(){_0x4aa20d[_0x36acf5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36acf5([0x76,0x69,0x65,0x77])][_0x36acf5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36acf5([0x61,0x75,0x74,0x6f]);}}function _0x3868c3(_0x2208c6){const _0x2f4b82=[new window[(_0x36acf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x327d3c=>setTimeout(_0x327d3c,0x734f347f^_0x5852ec)),_0x539303[_0x36acf5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36acf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x31e4c2=>{let _0xaa2e3b=0x0;_0x4aa20d[_0x36acf5([0x6d,0x6f,0x64,0x65,0x6c])][_0x36acf5([0x6f,0x6e])](_0x36acf5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x463003,_0x445b9a)=>{_0x445b9a[0x0][_0x36acf5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xaa2e3b++,_0xaa2e3b==(0x73460b4b^_0x5852ec)&&(_0x31e4c2(),_0x463003[_0x36acf5([0x6f,0x66,0x66])]());});}))];return window[_0x36acf5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36acf5([0x72,0x61,0x63,0x65])](_0x2f4b82)[_0x36acf5([0x74,0x68,0x65,0x6e])](()=>_0x2208c6);}async function _0x706f3f(){await _0x539303,_0x4aa20d[_0x36acf5([0x6d,0x6f,0x64,0x65,0x6c])][_0x36acf5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x44b1a0,_0x4aa20d[_0x36acf5([0x6d,0x6f,0x64,0x65,0x6c])][_0x36acf5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x44b1a0,_0x4aa20d[_0x36acf5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36acf5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x396f26(){return window[_0x36acf5([0x67,0x6c,0x6f,0x62])]&&window[_0x36acf5([0x67,0x6c,0x6f,0x62])][_0x36acf5([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0xa2fc5c(){return _0x1e4d69(_0x36acf5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3af19a(_0x36acf5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x36acf5([0x73,0x74,0x61,0x74,0x65])]==_0x36acf5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x7a2bc7(){return _0x1e4d69(_0x36acf5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]));}function _0x167e8e(){return _0x1e4d69(_0x36acf5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x40ce1a(_0x2c9dbe){const _0x25ebb0=_0x14dbe();_0x4aa20d[_0x25ebb0]=_0x36acf5([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2c9dbe,_0x2c9dbe!=_0x36acf5([0x56,0x61,0x6c,0x69,0x64])&&_0x706f3f();}function _0x14dbe(){const _0x3ccc7c=window[_0x36acf5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36acf5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36acf5([0x6e,0x6f,0x77])]())[_0x36acf5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36acf5([0x2e]),'');let _0x1432a7=_0x36acf5([0x4b]);for(let _0x56b6e2=0x0;_0x56b6e2<_0x3ccc7c[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56b6e2+=0x2){let _0x2c1f6b=window[_0x36acf5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ccc7c[_0x36acf5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x56b6e2,_0x56b6e2+0x2));_0x2c1f6b>=_0x35cabf[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c1f6b-=_0x35cabf[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1432a7+=_0x35cabf[_0x2c1f6b];}return _0x1432a7;}function _0x2ca514(){const _0x21bbad=_0x1fb91d[_0x36acf5([0x73,0x70,0x6c,0x69,0x74])](_0x36acf5([0x2e]));if(0x3!=_0x21bbad[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3a9d14(_0x21bbad[0x1]);function _0x3a9d14(_0x1ec438){const _0x56c089=_0x3d0bbd(_0x1ec438);return _0x56c089&&_0x3f9603()?_0x56c089:null;function _0x3f9603(){const _0x591dd1=_0x56c089[_0x36acf5([0x6a,0x74,0x69])],_0xb706c8=window[_0x36acf5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x591dd1[_0x36acf5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x591dd1[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d2ba4={..._0x56c089,[_0x36acf5([0x6a,0x74,0x69])]:_0x591dd1[_0x36acf5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x591dd1[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d2ba4[_0x36acf5([0x76,0x63])],_0x2d99cf(_0x4d2ba4)==_0xb706c8;}}}async function _0x3785ed(){let _0x4fa14a=!0x0;try{const _0x1bcaf2=_0x1fb91d[_0x36acf5([0x73,0x70,0x6c,0x69,0x74])](_0x36acf5([0x2e])),[_0x520dee,_0x4d2d18,_0x4b1aec]=_0x1bcaf2;return _0x2b4535(_0x520dee),await _0x573b46(_0x520dee,_0x4d2d18,_0x4b1aec),_0x4fa14a;}catch{return!0x1;}function _0x2b4535(_0x70f357){const _0x57a887=_0x3d0bbd(_0x70f357);_0x57a887&&_0x57a887[_0x36acf5([0x61,0x6c,0x67])]==_0x36acf5([0x45,0x53,0x32,0x35,0x36])||(_0x4fa14a=!0x1);}async function _0x573b46(_0x2b755c,_0x13060d,_0xe33dd2){const _0x2a7fc1=window[_0x36acf5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36acf5([0x66,0x72,0x6f,0x6d])](_0x806c07(_0xe33dd2),_0x291c65=>_0x291c65[_0x36acf5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x428b9a=new window[(_0x36acf5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36acf5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b755c+_0x36acf5([0x2e])+_0x13060d),_0x5a179d=window[_0x36acf5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36acf5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a179d)return;const _0x469acb=await _0x5a179d[_0x36acf5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36acf5([0x6a,0x77,0x6b]),_0x5dcded,{[_0x36acf5([0x6e,0x61,0x6d,0x65])]:_0x36acf5([0x45,0x43,0x44,0x53,0x41]),[_0x36acf5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36acf5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36acf5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a179d[_0x36acf5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36acf5([0x6e,0x61,0x6d,0x65])]:_0x36acf5([0x45,0x43,0x44,0x53,0x41]),[_0x36acf5([0x68,0x61,0x73,0x68])]:{[_0x36acf5([0x6e,0x61,0x6d,0x65])]:_0x36acf5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x469acb,_0x2a7fc1,_0x428b9a)||(_0x4fa14a=!0x1);}}function _0x3d0bbd(_0x5ec00d){return _0x5ec00d[_0x36acf5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36acf5([0x65,0x79]))?JSON[_0x36acf5([0x70,0x61,0x72,0x73,0x65])](_0x806c07(_0x5ec00d)):null;}function _0x806c07(_0x245123){return window[_0x36acf5([0x61,0x74,0x6f,0x62])](_0x245123[_0x36acf5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36acf5([0x2b]))[_0x36acf5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36acf5([0x2f])));}function _0x2d99cf(_0x3cbf5f){let _0x5db5c1=0x1505;function _0x5801f3(_0x5da48d){for(let _0x307132=0x0;_0x307132<_0x5da48d[_0x36acf5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x307132++){const _0x5a02f4=_0x5da48d[_0x36acf5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x307132);_0x5db5c1=(_0x5db5c1<<0x5)+_0x5db5c1+_0x5a02f4,_0x5db5c1&=_0x5db5c1;}}function _0x310dc8(_0x4153fc){Array[_0x36acf5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4153fc)?_0x4153fc[_0x36acf5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x310dc8):_0x4153fc&&typeof _0x4153fc==_0x36acf5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36acf5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4153fc)[_0x36acf5([0x73,0x6f,0x72,0x74])]()[_0x36acf5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4b148c,_0x3d26cd])=>{_0x5801f3(_0x4b148c),_0x310dc8(_0x3d26cd);}):_0x5801f3(window[_0x36acf5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4153fc));}return _0x310dc8(_0x3cbf5f),_0x5db5c1>>>0x0;}function _0x43b766(_0x4a61ca){return _0x4a61ca[_0x36acf5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36acf5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36acf5([0x30]));}function _0x1700f6(_0x3c868d){return _0x3c868d[_0x36acf5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36acf5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36acf5([0x6a,0x6f,0x69,0x6e])]('');}function _0x1e4d69(_0xcb9b40){return _0x4aa20d[_0x36acf5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x36acf5([0x68,0x61,0x73])](_0xcb9b40);}function _0x3af19a(_0x189156){return _0x4aa20d[_0x36acf5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x36acf5([0x67,0x65,0x74])](_0x189156);}function _0x44b1a0(){}function _0x36acf5(_0x3b9df6){const _0x2742a6=_0x4ac4;return _0x3b9df6[_0x2742a6(0x1a1)](_0x3177ec=>String[_0x2742a6(0x1a9)](_0x3177ec))[_0x2742a6(0x176)]('');}_0x40ce1a(await _0x18e09f());}(this);}[_0x5c3a72(0x170)](){const _0x56bcc7=_0x5c3a72,_0x252a8f=this[_0x56bcc7(0x167)][_0x56bcc7(0x16e)][_0x56bcc7(0x1b4)](_0x211734),_0x29b59c=this[_0x56bcc7(0x167)][_0x56bcc7(0x151)][_0x56bcc7(0x1b4)](_0x56bcc7(0x12b));for(const _0xaa1b4f of _0x252a8f[_0x56bcc7(0x161)]({'channelId':_0x29b59c}))_0x252a8f[_0x56bcc7(0x174)](_0xaa1b4f['id']),_0x252a8f[_0x56bcc7(0x1a3)][_0x56bcc7(0x191)](_0xaa1b4f['id']);super[_0x56bcc7(0x170)]();}[_0x5c3a72(0x15c)](_0x169f7c){const _0x2c0fb5=_0x5c3a72;return this[_0x2c0fb5(0x187)](_0x169f7c)[_0x2c0fb5(0x140)]>0x0;}[_0x5c3a72(0x187)](_0x526ab9){const _0x1edd55=_0x5c3a72,_0x317624=[];for(const _0x462931 of this[_0x1edd55(0x167)][_0x1edd55(0x16f)][_0x1edd55(0x1a4)])_0x462931[_0x1edd55(0x156)][_0x1edd55(0x175)](_0x1edd55(0x17e)+_0x526ab9)&&_0x317624[_0x1edd55(0x13c)](_0x462931);return _0x317624;}[_0x5c3a72(0x1b8)](_0x43f2bf){setTimeout(()=>{const _0xb2b49f=_0x4ac4,_0x568e93=this[_0xb2b49f(0x173)](_0x43f2bf);if(!_0x568e93)return;this[_0xb2b49f(0x144)]&&_0x519a19(this[_0xb2b49f(0x144)])['id']===_0x43f2bf&&_0x3cf2b6({'target':_0x568e93[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x5c3a72(0x1b6)](_0x141682){const _0xdf83af=_0x5c3a72;this[_0xdf83af(0x167)][_0xdf83af(0x16f)][_0xdf83af(0x169)](()=>{const _0x41a1ba=_0xdf83af;for(const _0x4c30ae of this[_0x41a1ba(0x187)](_0x141682))this[_0x41a1ba(0x167)][_0x41a1ba(0x18a)][_0x41a1ba(0x19a)](_0x4c30ae);});}[_0x5c3a72(0x18f)](_0x39ef12){const _0x5ba736=_0x5c3a72,_0xa63829=this[_0x5ba736(0x167)][_0x5ba736(0x16e)][_0x5ba736(0x1b4)](_0x211734),_0x12f33=this[_0x5ba736(0x167)][_0x5ba736(0x16e)][_0x5ba736(0x1b4)](_0x3eaace),_0x1648e6=_0xa63829[_0x5ba736(0x13f)](_0x39ef12);if(!_0x1648e6[_0x5ba736(0x15d)]){const _0x2aa233=_0x1648e6[_0x5ba736(0x1b2)](()=>this[_0x5ba736(0x173)](_0x1648e6['id']));_0x12f33[_0x5ba736(0x15b)](_0x2aa233),_0x1648e6[_0x5ba736(0x154)]=!0x1;}}[_0x5c3a72(0x1ac)](){const _0x2e1864=_0x5c3a72,_0x1947bb=this[_0x2e1864(0x167)],_0x30528a=_0x1947bb[_0x2e1864(0x16e)][_0x2e1864(0x1b4)](_0x1cba8b);_0x1947bb[_0x2e1864(0x149)][_0x2e1864(0x1ce)](_0x2e1864(0x1ba))[_0x2e1864(0x16b)]({'model':_0x2e1864(0x1c7),'view':(_0x19bc55,_0x4de8d5)=>{const _0x420324=_0x2e1864,{id:_0x47804b}=_0x519a19(_0x19bc55[_0x420324(0x158)]),_0x13cec9=_0x1947bb[_0x420324(0x16e)][_0x420324(0x1b4)](_0x211734)[_0x420324(0x13f)](_0x47804b),_0x58b4d8=this[_0x420324(0x144)]&&_0x519a19(this[_0x420324(0x144)])['id']===_0x47804b;let _0x344a3b;if(_0x13cec9&&_0x13cec9[_0x420324(0x17d)]&&!_0x58b4d8&&_0x19bc55[_0x420324(0x165)])return _0x4de8d5[_0x420324(0x1c4)][_0x420324(0x178)](_0x19bc55[_0x420324(0x165)],_0x420324(0x17a)+_0x19bc55[_0x420324(0x158)]),_0x4de8d5[_0x420324(0x1c4)][_0x420324(0x178)](_0x19bc55[_0x420324(0x165)],_0x420324(0x186)+_0x19bc55[_0x420324(0x158)]),null;const _0x208d14=[_0x420324(0x1af)];return _0x58b4d8&&_0x208d14[_0x420324(0x13c)](_0x420324(0x194)),_0x344a3b=_0x13cec9?.[_0x420324(0x140)]?_0x13cec9[_0x420324(0x199)][_0x420324(0x179)][_0x420324(0x181)]['id']:_0x30528a['me']['id'],{'classes':_0x208d14,'attributes':{'data-comment':_0x47804b,'data-author-id':_0x344a3b}};}}),_0x1947bb[_0x2e1864(0x149)][_0x2e1864(0x1ce)](_0x2e1864(0x147))[_0x2e1864(0x15a)]({'model':_0x2e1864(0x1c7),'view':(_0x33d39c,{options:_0x38e880})=>{const _0x30a399=_0x2e1864;if(_0x38e880[_0x30a399(0x184)])return null;const _0x4b6732=_0x1947bb[_0x30a399(0x16e)][_0x30a399(0x1b4)](_0x211734),_0x2bbe31=_0x1947bb[_0x30a399(0x16f)][_0x30a399(0x1a4)][_0x30a399(0x1b4)](_0x33d39c),{id:_0x53a3a1,part:_0x4910c0}=_0x519a19(_0x33d39c);return _0x2bbe31&&!_0x2bbe31[_0x30a399(0x12f)]||_0x38e880[_0x30a399(0x18e)]&&_0x4b6732[_0x30a399(0x13f)](_0x53a3a1)?.[_0x30a399(0x17d)]?null:{'group':_0x30a399(0x1c7),'name':_0x4910c0?_0x53a3a1+':'+_0x4910c0:_0x53a3a1};}}),_0x1947bb[_0x2e1864(0x149)][_0x2e1864(0x1ce)](_0x2e1864(0x16d))[_0x2e1864(0x1be)]({'view':{'name':_0x2e1864(0x1c7),'attributes':{'id':/^\w/}},'model':(_0x4dbdc2,{writer:_0x4970cc})=>_0x4970cc[_0x2e1864(0x198)](_0x2e1864(0x1c5),{'data-name':_0x2e1864(0x17e)+_0x4dbdc2[_0x2e1864(0x1c2)]('id')})}),_0x1947bb[_0x2e1864(0x149)][_0x2e1864(0x1ce)](_0x2e1864(0x16d))[_0x2e1864(0x16a)]({'view':_0x2e1864(0x1c7)});}[_0x5c3a72(0x1c1)](){const _0x2532ac=_0x5c3a72,_0x2be456=this[_0x2532ac(0x167)],_0x5d44df=_0x2be456[_0x2532ac(0x16e)][_0x2532ac(0x1b4)](_0x211734),_0x54f7a4=new Set(),_0x3b8a55=new Set();_0x2be456[_0x2532ac(0x16f)][_0x2532ac(0x1b1)][_0x2532ac(0x163)](_0x2b4299=>{const _0x3ea34e=_0x2532ac;let _0x1ecd6a=!0x1;for(const {name:_0x27f997,data:_0x1ddead}of _0x2be456[_0x3ea34e(0x16f)][_0x3ea34e(0x1b1)][_0x3ea34e(0x190)][_0x3ea34e(0x185)]()){const {group:_0x456a43,id:_0x365a5f}=_0x519a19(_0x27f997);let _0x3997e6=_0x1ddead[_0x3ea34e(0x1bb)];if(_0x3ea34e(0x1c7)!==_0x456a43||!_0x3997e6)continue;const _0x3eaa18=_0x3ea34e(0x155)===_0x3997e6[_0x3ea34e(0x15e)][_0x3ea34e(0x182)];_0x3eaa18||(_0x3997e6=ht(_0x3997e6,_0x2be456[_0x3ea34e(0x16f)]),!_0x3997e6||_0x3997e6[_0x3ea34e(0x18d)]||!_0x1ddead[_0x3ea34e(0x1bb)]||_0x3997e6[_0x3ea34e(0x13b)](_0x1ddead[_0x3ea34e(0x1bb)]))?_0x2be456[_0x3ea34e(0x16f)][_0x3ea34e(0x137)](_0x3997e6)&&!_0x3eaa18?this[_0x3ea34e(0x17f)]?_0x54f7a4[_0x3ea34e(0x1b5)](_0x27f997):this[_0x3ea34e(0x14f)](_0x27f997,_0x365a5f):(_0x3b8a55[_0x3ea34e(0x1b5)](_0x27f997),_0x54f7a4[_0x3ea34e(0x191)](_0x27f997),_0x2b4299[_0x3ea34e(0x189)](_0x27f997),_0x1ecd6a=!0x0):(_0x2b4299[_0x3ea34e(0x1b0)](_0x27f997,{'range':_0x3997e6}),_0x1ecd6a=!0x0);}return _0x1ecd6a;}),this['on'](_0x2532ac(0x153),(_0x2816c7,_0x509cb2,_0x117707)=>{const _0xff5fa9=_0x2532ac;if(!_0x117707&&_0x54f7a4[_0xff5fa9(0x1c3)])for(const _0x134421 of _0x54f7a4){const {id:_0x419316}=_0x519a19(_0x134421);_0x54f7a4[_0xff5fa9(0x191)](_0x134421),_0x2be456[_0xff5fa9(0x16f)][_0xff5fa9(0x1a4)][_0xff5fa9(0x1b4)](_0x134421)&&this[_0xff5fa9(0x14f)](_0x134421,_0x419316);}}),this[_0x2532ac(0x196)](_0x2be456[_0x2532ac(0x16f)][_0x2532ac(0x1b1)],_0x2532ac(0x169),()=>{const _0x394454=_0x2532ac;for(const {name:_0x2e9779,data:{newRange:_0x554298}}of _0x2be456[_0x394454(0x16f)][_0x394454(0x1b1)][_0x394454(0x190)][_0x394454(0x185)]()){const {group:_0x58ea86,id:_0x972df9}=_0x519a19(_0x2e9779);if(_0x394454(0x1c7)!==_0x58ea86)continue;const _0x47036c=_0x5d44df[_0x394454(0x13f)](_0x972df9),_0x11912e=this[_0x394454(0x15c)](_0x972df9);_0x47036c&&(!_0x47036c[_0x394454(0x154)]&&_0x554298&&_0x2be456[_0x394454(0x18a)][_0x394454(0x18c)][_0x394454(0x160)](_0x394454(0x1aa),()=>{const _0x13992f=_0x394454,_0x59c8d0=_0x2be456[_0x13992f(0x16e)][_0x13992f(0x1b4)](_0x52c126),_0x2ebe38=_0x5d44df[_0x13992f(0x133)][_0x13992f(0x1b4)](_0x47036c)[_0x13992f(0x18c)];_0x59c8d0[_0x13992f(0x12c)](_0x2ebe38)[_0x13992f(0x1cd)]();},{'priority':_0x394454(0x1ca)}),_0x47036c[_0x394454(0x154)]=_0x11912e||!!_0x554298),_0x554298||(_0x3b8a55[_0x394454(0x1b5)](_0x2e9779),_0x54f7a4[_0x394454(0x191)](_0x2e9779));}for(const _0x22c255 of _0x3b8a55){const {id:_0x42ab85}=_0x519a19(_0x22c255),_0x148586=_0x5d44df[_0x394454(0x13f)](_0x42ab85);if(_0x54f7a4[_0x394454(0x191)](_0x22c255),!_0x148586)continue;const _0x1f8822=this[_0x394454(0x15c)](_0x42ab85);_0x1f8822||_0x148586[_0x394454(0x197)]?_0x1f8822||_0x148586[_0x394454(0x19e)]||_0x148586[_0x394454(0x172)](new Date()):_0x148586[_0x394454(0x180)]();}_0x3b8a55[_0x394454(0x135)]();});}[_0x5c3a72(0x1a8)](_0x12de7c){const _0x4ec776=_0x5c3a72;_0x12de7c[_0x4ec776(0x1c8)](_0x4758bf=>{const _0x5d77a7=_0x4ec776;_0x4758bf[_0x5d77a7(0x19e)]&&this[_0x5d77a7(0x18f)](_0x4758bf['id']);});}[_0x5c3a72(0x173)](_0x3a546b){const _0x16aa6c=_0x5c3a72,_0x1d6b83=this[_0x16aa6c(0x167)],_0x1f3d07=this[_0x16aa6c(0x187)](_0x3a546b);return _0x516e45(_0x1d6b83[_0x16aa6c(0x18a)],_0x1f3d07);}[_0x5c3a72(0x164)](_0xf190df){const _0x321c7e=_0x5c3a72,_0x520e03=this[_0x321c7e(0x187)](_0xf190df);let _0x3337c8='',_0x5d2362=!0x1;for(const _0x169fbe of _0x520e03){const _0x538bf3=_0x169fbe[_0x321c7e(0x13a)]();for(const _0xfd74cb of Array[_0x321c7e(0x1ad)](_0x538bf3[_0x321c7e(0x1b3)]()))_0xfd74cb['is'](_0x321c7e(0x1ab))?(_0x3337c8&&_0x5d2362&&(_0x3337c8+='\x20',_0x5d2362=!0x1),_0x3337c8+=_0xfd74cb[_0x321c7e(0x162)]):_0x5d2362=!0x0;_0x5d2362=!0x0;}return _0x3337c8[_0x321c7e(0x12e)](0x0,0x96);}[_0x5c3a72(0x188)](_0x5bd029,_0x31ac76){const _0x372753=_0x5c3a72,_0x4b241d=this[_0x372753(0x167)],_0x325749=_0x4b241d[_0x372753(0x16e)][_0x372753(0x1b4)](_0x211734);let _0x4b4d8e=_0x325749[_0x372753(0x13f)](_0x31ac76);const _0x44b1a8=_0x4b241d[_0x372753(0x151)][_0x372753(0x1b4)](_0x372753(0x12b)),_0x581505=_0x4b241d[_0x372753(0x16e)][_0x372753(0x1b4)](_0x3eaace);if(_0x4b4d8e&&(_0x4b4d8e[_0x372753(0x19e)]&&_0x4b4d8e[_0x372753(0x172)](null),_0x4b4d8e[_0x372753(0x15d)]))return _0x4b4d8e;return!this[_0x372753(0x187)](_0x31ac76)[0x0][_0x372753(0x131)]?_0x4b241d[_0x372753(0x18a)][_0x372753(0x18c)][_0x372753(0x160)](_0x372753(0x1aa),()=>{const _0x1de0cb=_0x372753;if(_0x325749[_0x1de0cb(0x13f)](_0x31ac76))return;const _0x4abe8a=_0x4b241d[_0x1de0cb(0x16e)][_0x1de0cb(0x1b4)](_0x52c126);_0x4b4d8e=_0x325749[_0x1de0cb(0x1b7)]({'channelId':_0x44b1a8,'threadId':_0x31ac76,'target':()=>this[_0x1de0cb(0x173)](_0x31ac76),'context':{'type':_0x1de0cb(0x150),'value':this[_0x1de0cb(0x164)](_0x31ac76)}});const _0x6f9d15=_0x325749[_0x1de0cb(0x133)][_0x1de0cb(0x1b4)](_0x4b4d8e)[_0x1de0cb(0x18c)],_0xe778a5=_0x4abe8a[_0x1de0cb(0x12c)](_0x6f9d15);_0xe778a5&&_0x581505[_0x1de0cb(0x15b)](_0xe778a5);},{'priority':_0x372753(0x1ca)}):_0x325749[_0x372753(0x12a)]({'channelId':_0x44b1a8,'threadId':_0x31ac76})[_0x372753(0x1a0)](_0x58214c=>{const _0x23875b=_0x372753;if(_0x23875b(0x139)!==_0x4b241d[_0x23875b(0x130)]){if(_0x4b4d8e=_0x58214c,_0x4b4d8e&&!_0x4b4d8e[_0x23875b(0x15d)]){const _0x34b929=_0x4b4d8e[_0x23875b(0x1b2)](()=>this[_0x23875b(0x173)](_0x31ac76));_0x581505[_0x23875b(0x15b)](_0x34b929),_0x4b4d8e[_0x23875b(0x17d)]&&this[_0x23875b(0x1b6)](_0x31ac76);}else{if(!_0x4b4d8e){const _0x4bbd96=this[_0x23875b(0x187)](_0x31ac76);_0x4b241d[_0x23875b(0x16f)][_0x23875b(0x169)](_0xbf0cf2=>{const _0x55d90a=_0x23875b;for(const _0x4d1d71 of _0x4bbd96)_0xbf0cf2[_0x55d90a(0x189)](_0x4d1d71);});}}}}),_0x4b4d8e;}[_0x5c3a72(0x14f)](_0x1dea0f,_0x5031a4){const _0x14bd63=_0x5c3a72,_0x3c7c50=this[_0x14bd63(0x188)](_0x1dea0f,_0x5031a4);_0x3c7c50&&!_0x3c7c50[_0x14bd63(0x18b)]&&_0x3c7c50[_0x14bd63(0x129)]({'type':_0x14bd63(0x150),'value':this[_0x14bd63(0x164)](_0x5031a4)});}[_0x5c3a72(0x15f)](){const _0xc8b82d=_0x5c3a72,_0x3e6fa7=this[_0xc8b82d(0x167)];_0x24bb71(_0x3e6fa7[_0xc8b82d(0x16f)],({left:_0x57ccfe,entered:_0x3e37ae})=>{const _0x24d9ba=_0xc8b82d;for(const _0x77d549 of _0x57ccfe)if(mt(_0x77d549)){_0x3e6fa7['ui'][_0x24d9ba(0x19b)][_0x24d9ba(0x13e)](_0x3da20d(_0x3e6fa7[_0x24d9ba(0x1bd)],_0x24d9ba(0x166)));break;}for(const _0x47fd69 of _0x3e37ae)if(mt(_0x47fd69)){_0x3e6fa7['ui'][_0x24d9ba(0x19b)][_0x24d9ba(0x13e)](_0x3da20d(_0x3e6fa7[_0x24d9ba(0x1bd)],_0x24d9ba(0x16c),_0x953b34(_0x29b365)));break;}});}}function dt(_0x5e554a,_0x19896b){return _0x19896b?_0x5e554a+':'+_0x19896b:_0x5e554a;}function _0x4ac4(_0x1548ef,_0x482b2d){const _0x381860=_0x3818();return _0x4ac4=function(_0x4ac499,_0x486e1d){_0x4ac499=_0x4ac499-0x129;let _0x5230e7=_0x381860[_0x4ac499];return _0x5230e7;},_0x4ac4(_0x1548ef,_0x482b2d);}function ht(_0x2977d8,_0x2c4248){const _0x80da0e=_0x5c3a72,_0x374ee1=_0x2c4248[_0x80da0e(0x134)],_0x199597=_0x2c4248[_0x80da0e(0x136)](_0x2977d8[_0x80da0e(0x138)]);for(const _0x3d7cb6 of _0x2977d8[_0x80da0e(0x1c6)]()){const {type:_0x1990c7,item:_0x413026,nextPosition:_0x22004d}=_0x3d7cb6;if(_0x80da0e(0x150)===_0x1990c7||_0x374ee1[_0x80da0e(0x14e)](_0x413026)){const _0x2322b3=_0x2c4248[_0x80da0e(0x1ae)](_0x413026);_0x199597[_0x80da0e(0x18d)]&&(_0x199597[_0x80da0e(0x138)]=_0x2322b3),_0x199597[_0x80da0e(0x19c)]=_0x22004d;}}return _0x199597;}function mt(_0x4d13b3){const _0x21de7d=_0x5c3a72;return _0x21de7d(0x1c7)===_0x519a19(_0x4d13b3[_0x21de7d(0x156)])[_0x21de7d(0x193)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x68b332=_0x59b0;(function(_0x1ab8b7,_0x278ae4){const _0x51c2a3=_0x59b0,_0x550a43=_0x1ab8b7();while(!![]){try{const _0x2b7f2f=parseInt(_0x51c2a3(0x202))/0x1+parseInt(_0x51c2a3(0x1a5))/0x2*(-parseInt(_0x51c2a3(0x24c))/0x3)+-parseInt(_0x51c2a3(0x1b3))/0x4+parseInt(_0x51c2a3(0x1d6))/0x5*(parseInt(_0x51c2a3(0x268))/0x6)+parseInt(_0x51c2a3(0x1d9))/0x7*(parseInt(_0x51c2a3(0x1b4))/0x8)+-parseInt(_0x51c2a3(0x1b5))/0x9+parseInt(_0x51c2a3(0x1ac))/0xa;if(_0x2b7f2f===_0x278ae4)break;else _0x550a43['push'](_0x550a43['shift']());}catch(_0x13c5cf){_0x550a43['push'](_0x550a43['shift']());}}}(_0x4cf7,0x88541));function _0x4cf7(){const _0x2f8ab7=['commentInputView','commentsrepository-remove-missing-comment-thread','stopListening','type','432959XhaWVI','hasCommentThread','_threads','comments.copyMarkers','reopenCommentThread','commentsrepository-reopen-comment-thread-internal-error','assign','_createNewComment','find','_update','_detachCommentThread','_readOnlyChannels','delete','_reopenCommentThread','createCommentThreadController','update','removeAttribute','trim','deactivateAll','plugins','PendingActions','channelId','getPermissions','@external','commentsrepository-update-missing-comment','getCommentThreads','set','creator','commentsrepository-remove-missing-comment','commentThreadInputView','updateCommentThread','_hasTargetInContent','getByInnerView','function','commentsrepository-missing-thread-and-adapter-method','commentsrepository-attach-missing-comment-thread','commentsrepository-missing-comment-thread','comments','authorName','_resolveCommentThread','map','_removeComment','reopen','comments.maxCommentCharsWhenCollapsed','comments.maxCommentsWhenCollapsed','getCommentThreadForAnnotation','warn','isActive','updateComment','commentUpdated','catch','noChannel','removeComment','_threadToController','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','setContext','model','_unbindEditors','_removeCommentThread','destroy','submitCommentThread','_repository','_addCommentThread','_remove','commentsrepository-update-comment-invalid-content','isPremiumPlugin','_permissions','toJSON','adapter','getAnnotationForCommentThread','attributes','_findOptimalIndex','focusTracker','body','48423jbcCue','commentsrepository-fetch-comment-thread','_updateComment','commentId','get','commentsrepository-add-comment-user-not-exists','isVisible','write','CommentThreadView','focusableElements','commentsrepository-add-comment-thread-internal-error','pluginName','commentsrepository-update-comment-thread-internal-error','textContent','isEditable','commentsrepository-invalid-commentid','div','isResolved','setActiveCommentThread','canComment','commentsrepository-remove-comment-thread-internal-error','from','commentsListView','external:','admin','commentsrepository-update-comment-internal-error','fetchCommentThread','lowest','354prEDin','isFromAdapter','commentsrepository-invalid-comment-authorid','innerHTML','_createCommentThreadView','threadId','resolveCommentThread','CommentView','commentsrepository-add-comment-to-missing-comment-thread','_removeActiveAnnotation','change:activeAnnotations','createElement','highest','_updateCommentThread','_isAttached','commentsrepository-resolve-comment-thread-internal-error','locale','change:_readOnlyChannels','commentsrepository-resolved-comment-thread','comments.CommentThreadView','refreshVisibility','isOfficialPlugin','view','commentsrepository-active-missing-comment-thread','addComment','comment','commentsrepository-add-comment-internal-error','getIndex','getTime','_bindAnnotationToEditors','filter','isResolvable','define','change:_permissions','commentsrepository-adapter-already-set','escape','createdAt','134TUWxQw','then','comments.CommentView','resolve','licenseKey','modifyAll','editorReady','16391010aFsdQy','setUnlinkedAt','commentsrepository-invalid-comment-thread-id','_add','resolvedAt','getCommentThread','removeCommentThread','400756IrXadM','3856HbrUDf','9571374kycVzD','_getExternalAuthor','CommentsRepository','authoredAt','_isSubmitted','fire','commentsrepository-reopen-comment-thread','innerView','config','requires','bodyCollectionContainer','commentsrepository-missing-target','has','addCommentThread','PENDING_ACTION_COMMENT_THREAD','_attachCommentThread','commentsrepository-remove-comment-missing-comment-thread','isDirty','max','setPermissions','focus','resolvedBy','error','init','commentsrepository-update-comment-missing-comment-thread','string','addUser','isExternal','comments.maxThreadTotalWeight','submit','getComment','isRemovable','unlinkedAt','47365tytMNU','bind','_submitCommentThread','2506uXrDQv','commentsrepository-get-comment-invalid-id','listenTo','push','commentsrepository-duplicated-comment-thread-id','isAttached','setAttribute','isReadOnly','attachTo','commentsrepository-active-not-attached','archivedAt','change:authoredAt','_updateActiveAnnotation','_addComment','getUser','author','add','reduce','activate','weight','length','comments.editorConfig','change:isDirty','commentsrepository-invalid-comment-content','openNewCommentThread','isSubmitted','editorDestroyed','once','values','remove','content','commentsrepository-remove-comment-internal-error','_viewToController','switchReadOnly','activeCommentThread','_adapter','context'];_0x4cf7=function(){return _0x2f8ab7;};return _0x4cf7();}import{PendingActions as _0x3c3275,ContextPlugin as _0x2fa60d,Editor as _0x4af0a4}from'ckeditor5/src/core.js';import{Collection as _0x4e0609,uid as _0x22973e,CKEditorError as _0x302f93,ObservableMixin as _0x1686ff}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x5a0c07,hashObject as _0x9b885d,Users as _0x32ee20}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x507a66,isEqual as _0x5f2392,set as _0x2c248c,unset as _0x241a56}from'es-toolkit/compat';import{CommentThreadController as _0x103111}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x129465}from'./ui/view/commentthreadview.js';import{CommentView as _0x2d2aa9}from'./ui/view/commentview.js';import{getTranslation as _0x3cd936}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x321455}from'../annotations/view/annotationview.js';import{Annotation as _0x3137f8}from'../annotations/annotation.js';import{Annotations as _0xb37c45}from'../annotations/annotations.js';const _t=Symbol(_0x68b332(0x235)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x2fa60d{[_0x68b332(0x204)];[_0x68b332(0x237)];[_0x68b332(0x1f9)];static get[_0x68b332(0x1be)](){return[_0xb37c45,_0x3c3275,_0x32ee20];}static get[_0x68b332(0x257)](){const _0x5d2db0=_0x68b332;return _0x5d2db0(0x1b7);}static get[_0x68b332(0x195)](){return!0x0;}static get[_0x68b332(0x243)](){return!0x0;}constructor(_0x46f904){const _0x5e9d1a=_0x68b332;super(_0x46f904),this[_0x5e9d1a(0x204)]=new Map(),this[_0x5e9d1a(0x237)]=new Map(),this[_0x5e9d1a(0x1f9)]=new Map(),this[_0x5e9d1a(0x21c)](_0x5e9d1a(0x20d),new Set()),this[_0x5e9d1a(0x21c)](_0x5e9d1a(0x244),new Map());const _0x23f06e=this[_0x5e9d1a(0x1fd)][_0x5e9d1a(0x1bd)];_0x23f06e[_0x5e9d1a(0x1a0)](_0x5e9d1a(0x22e),0x2),_0x23f06e[_0x5e9d1a(0x1a0)](_0x5e9d1a(0x1d1),0x1f4),_0x23f06e[_0x5e9d1a(0x1a0)](_0x5e9d1a(0x22d),0x8c),_0x23f06e[_0x5e9d1a(0x1a0)](_0x5e9d1a(0x193),_0x129465),_0x23f06e[_0x5e9d1a(0x1a0)](_0x5e9d1a(0x1a7),_0x2d2aa9),_0x23f06e[_0x5e9d1a(0x250)](_0x5e9d1a(0x1ee))||console[_0x5e9d1a(0x230)](_0x5e9d1a(0x238));}[_0x68b332(0x1cc)](){const _0x724791=_0x68b332,_0x13c981=this[_0x724791(0x1fd)][_0x724791(0x215)][_0x724791(0x250)](_0xb37c45);this[_0x724791(0x21c)](_0x724791(0x1fb),null),this['on'](_0x724791(0x1c2),(_0x159abd,_0x8ba5f9)=>this[_0x724791(0x240)](_0x8ba5f9)),this['on'](_0x724791(0x23e),(_0x9ddf15,_0x4fcb53)=>this[_0x724791(0x1d8)](_0x4fcb53)),this['on'](_0x724791(0x26e),(_0x12f709,_0x514b84)=>this[_0x724791(0x229)](_0x514b84)),this['on'](_0x724791(0x26e),(_0x2454a4,_0x103970)=>this[_0x724791(0x1e5)](_0x103970),{'priority':_0x724791(0x267)}),this['on'](_0x724791(0x206),(_0x83fd42,_0x2fbdd6)=>this[_0x724791(0x20f)](_0x2fbdd6)),this['on'](_0x724791(0x206),(_0x90c021,_0x4ee3b9)=>this[_0x724791(0x1e5)](_0x4ee3b9),{'priority':_0x724791(0x267)}),this['on'](_0x724791(0x1b2),(_0x389dd7,_0xc8007e)=>this[_0x724791(0x23c)](_0xc8007e)),this['on'](_0x724791(0x220),(_0x251634,_0x58c6b7)=>this[_0x724791(0x275)](_0x58c6b7)),this['on'](_0x724791(0x220),(_0x5c5247,_0x5cea57)=>this[_0x724791(0x1e5)](_0x5cea57),{'priority':_0x724791(0x267)}),this['on'](_0x724791(0x198),(_0x1e7fcf,_0x5c9c16)=>this[_0x724791(0x1e6)](_0x5c9c16)),this['on'](_0x724791(0x232),(_0x34d1e4,_0x2119f5)=>this[_0x724791(0x24e)](_0x2119f5)),this['on'](_0x724791(0x236),(_0x3b07ea,_0x13d6e6)=>this[_0x724791(0x22b)](_0x13d6e6)),this['on'](_0x724791(0x198),(_0x3e5efe,{threadId:_0x51d5b4,isFromAdapter:_0x1c5734})=>{const _0x1c15a7=_0x724791;if(_0x1c5734)return;const _0x309dde=this[_0x1c15a7(0x1b1)](_0x51d5b4),_0x1b9831=_0x309dde&&this[_0x1c15a7(0x237)][_0x1c15a7(0x250)](_0x309dde);_0x1b9831&&_0x1b9831[_0x1c15a7(0x196)][_0x1c15a7(0x262)][_0x1c15a7(0x1c9)](-0x1);},{'priority':_0x724791(0x267)}),this[_0x724791(0x1db)](_0x13c981,_0x724791(0x272),(_0x3d694d,_0x236743,_0x7554e5)=>{const _0x155091=_0x724791,_0x1fa684=Array[_0x155091(0x261)](_0x7554e5)[_0x155091(0x22a)](_0x45fe1d=>this[_0x155091(0x1f9)][_0x155091(0x250)](_0x45fe1d[_0x155091(0x1bc)]))[_0x155091(0x19e)](Boolean)[0x0];this[_0x155091(0x1fb)]=_0x1fa684?_0x1fa684[_0x155091(0x23a)]:null;});}set[_0x68b332(0x246)](_0x3649c5){const _0x19a2d0=_0x68b332;if(this[_0x19a2d0(0x1fc)])throw new _0x302f93(_0x19a2d0(0x1a2));this[_0x19a2d0(0x1fc)]=_0x3649c5;}get[_0x68b332(0x246)](){const _0xbbbed2=_0x68b332;return this[_0xbbbed2(0x1fc)];}[_0x68b332(0x1c2)]({channelId:_0x320e77=_t,threadId:_0x117ba4=_0x22973e(),comments:_0xbccc16=[],unlinkedAt:_0x32e156=null,resolvedAt:_0x500212=null,resolvedBy:_0x203866=null,target:_0x468f7b=null,context:_0x3f026a=null,attributes:_0x17f6e1={},isResolvable:_0x40790b=!0x0,isSubmitted:_0x35992e=!0x1,isFromAdapter:_0x2c1fd1=!0x1}={}){const _0x2784ae=_0x68b332;return this[_0x2784ae(0x1ba)](Nt(_0x2784ae(0x1c2),_0x320e77),{'channelId':_0x320e77,'threadId':_0x117ba4,'comments':_0xbccc16,'unlinkedAt':_0x32e156,'resolvedAt':_0x500212,'resolvedBy':_0x203866,'target':_0x468f7b,'context':_0x3f026a,'attributes':_0x17f6e1,'isFromAdapter':_0x2c1fd1,'isResolvable':_0x40790b,'isSubmitted':_0x35992e}),this[_0x2784ae(0x1b1)](_0x117ba4);}[_0x68b332(0x1f1)]({channelId:_0x56d108=_t,threadId:_0x5df8e1=_0x22973e(),target:_0x15c0a3,context:_0x3183d0=null,isResolvable:_0x248bf9=!0x0}){const _0x4fde6e=_0x68b332;if(this[_0x4fde6e(0x20d)][_0x4fde6e(0x1c1)](_0x56d108)||this[_0x4fde6e(0x20d)][_0x4fde6e(0x1c1)](void 0x0))return null;if(!_0x15c0a3)throw new _0x302f93(_0x4fde6e(0x1c0));const _0x531f84=this[_0x4fde6e(0x1c2)]({'channelId':_0x56d108,'threadId':_0x5df8e1,'target':_0x15c0a3,'context':_0x3183d0,'isResolvable':_0x248bf9});if(!_0x531f84)return null;const _0x2fcc72=this[_0x4fde6e(0x237)][_0x4fde6e(0x250)](_0x531f84),_0x2401ad=_0x2fcc72[_0x4fde6e(0x196)][_0x4fde6e(0x21f)][_0x4fde6e(0x1fe)],_0x128a3c=this[_0x4fde6e(0x1fd)][_0x4fde6e(0x215)][_0x4fde6e(0x250)](_0xb37c45),_0x195863=_0x128a3c[_0x4fde6e(0x222)](_0x2fcc72[_0x4fde6e(0x196)]);return _0x128a3c[_0x4fde6e(0x1eb)](_0x195863),_0x2401ad[_0x4fde6e(0x1f4)](_0x4fde6e(0x1ab),()=>_0x2401ad[_0x4fde6e(0x1c9)]()),_0x531f84;}[_0x68b332(0x203)](_0x2357f6){const _0x14666d=_0x68b332;if(_0x14666d(0x1ce)!=typeof _0x2357f6)throw new _0x302f93(_0x14666d(0x1ae));return this[_0x14666d(0x204)][_0x14666d(0x1c1)](_0x2357f6);}[_0x68b332(0x220)]({channelId:_0x13ebbf=_t,threadId:_0x3f3bce,context:_0x3c9b8f,unlinkedAt:_0x58b6e1,attributes:_0x276a4f,isFromAdapter:_0x22c494=!0x1}){const _0xd720ca=_0x68b332;return this[_0xd720ca(0x1ba)](Nt(_0xd720ca(0x220),_0x13ebbf),{'channelId':_0x13ebbf,'threadId':_0x3f3bce,'context':_0x3c9b8f,'unlinkedAt':_0x58b6e1,'attributes':_0x276a4f,'isFromAdapter':_0x22c494}),this[_0xd720ca(0x1b1)](_0x3f3bce);}[_0x68b332(0x1b1)](_0x12143e){const _0xe938d8=_0x68b332;if(_0xe938d8(0x1ce)!=typeof _0x12143e)throw new _0x302f93(_0xe938d8(0x1ae));return this[_0xe938d8(0x204)][_0xe938d8(0x250)](_0x12143e);}[_0x68b332(0x266)]({channelId:_0x1ae50b,threadId:_0x444c97}={}){const _0x1261c8=_0x68b332,_0x2ffbf2=this[_0x1261c8(0x1b1)](_0x444c97);if(_0x2ffbf2)return Promise[_0x1261c8(0x1a8)](_0x2ffbf2);if(!this[_0x1261c8(0x246)])return Promise[_0x1261c8(0x1a8)](void 0x0);if(_0x1261c8(0x223)!=typeof this[_0x1261c8(0x246)][_0x1261c8(0x1b1)])throw new _0x302f93(_0x1261c8(0x224),this[_0x1261c8(0x1fd)]);return this[_0x1261c8(0x246)][_0x1261c8(0x1b1)]({'channelId':_0x1ae50b,'threadId':_0x444c97})[_0x1261c8(0x1a6)](_0x332d15=>this[_0x1261c8(0x203)](_0x444c97)?this[_0x1261c8(0x1b1)](_0x444c97):_0x332d15?this[_0x1261c8(0x1c2)](Object[_0x1261c8(0x208)]({'isFromAdapter':!0x0,'channelId':_0x1ae50b},_0x332d15)):void 0x0)[_0x1261c8(0x234)](_0x22f7d6=>{const _0x1cb8ab=_0x1261c8;throw console[_0x1cb8ab(0x1cb)](_0x22f7d6),new _0x302f93(_0x1cb8ab(0x24d),this[_0x1cb8ab(0x1fd)]);});}[_0x68b332(0x21b)]({channelId:_0x265bbd,skipNotAttached:_0x13a806=!0x1,skipEmpty:_0x367718=!0x1,toJSON:_0x110fa8=!0x1}={}){const _0x108654=_0x68b332,_0x47f977=[];for(const _0x1a1228 of this[_0x108654(0x204)][_0x108654(0x1f5)]())_0x265bbd&&_0x1a1228[_0x108654(0x217)]!==_0x265bbd||_0x13a806&&!_0x1a1228[_0x108654(0x1de)]||_0x367718&&0x0===_0x1a1228[_0x108654(0x1ed)]||_0x47f977[_0x108654(0x1dc)](_0x1a1228);return _0x110fa8?_0x47f977[_0x108654(0x22a)](_0x1580f1=>_0x1580f1[_0x108654(0x245)]()):_0x47f977;}[_0x68b332(0x247)](_0x146e22){const _0x51af47=_0x68b332,_0x268413=this[_0x51af47(0x237)][_0x51af47(0x250)](_0x146e22);if(!_0x268413)return null;return this[_0x51af47(0x1fd)][_0x51af47(0x215)][_0x51af47(0x250)](_0xb37c45)[_0x51af47(0x222)](_0x268413[_0x51af47(0x196)])||null;}[_0x68b332(0x22f)](_0x35ddba){const _0xfe3776=_0x68b332,_0xe87145=this[_0xfe3776(0x1f9)][_0xfe3776(0x250)](_0x35ddba[_0xfe3776(0x1bc)]);return _0xe87145?_0xe87145[_0xfe3776(0x23a)]:null;}[_0x68b332(0x25e)](_0x2da25a){const _0x2cccee=_0x68b332,_0x4ffa80=this[_0x2cccee(0x1fd)][_0x2cccee(0x215)][_0x2cccee(0x250)](_0xb37c45);if(!_0x2da25a)return void(this[_0x2cccee(0x1fb)]&&_0x4ffa80[_0x2cccee(0x214)]());const _0x22712c=this[_0x2cccee(0x1b1)](_0x2da25a);if(!_0x22712c)throw new _0x302f93(_0x2cccee(0x197),null,{'threadId':_0x2da25a});if(!this[_0x2cccee(0x237)][_0x2cccee(0x1c1)](_0x22712c))throw new _0x302f93(_0x2cccee(0x1e2),null,{'threadId':_0x2da25a});const _0x2ef809=_0x4ffa80[_0x2cccee(0x222)](this[_0x2cccee(0x237)][_0x2cccee(0x250)](_0x22712c)[_0x2cccee(0x196)]);_0x4ffa80[_0x2cccee(0x1eb)](_0x2ef809);}[_0x68b332(0x1fa)](_0xe92dfd,_0x4f83d0){const _0x6f4efe=_0x68b332;_0xe92dfd?this[_0x6f4efe(0x20d)][_0x6f4efe(0x1e9)](_0x4f83d0):this[_0x6f4efe(0x20d)][_0x6f4efe(0x20e)](_0x4f83d0),this[_0x6f4efe(0x1ba)](_0x6f4efe(0x279),_0x6f4efe(0x20d),this[_0x6f4efe(0x20d)],this[_0x6f4efe(0x20d)]);}[_0x68b332(0x1e0)](_0x1cb7b8){const _0x1945cf=_0x68b332;return this[_0x1945cf(0x20d)][_0x1945cf(0x1c1)](_0x1cb7b8)||this[_0x1945cf(0x20d)][_0x1945cf(0x1c1)](void 0x0);}[_0x68b332(0x210)](_0x3968e6,_0x171f30){return new _0x103111(_0x3968e6,_0x171f30);}[_0x68b332(0x1c8)](_0x41cfa7,_0x518335=_t){const _0x2d0e9e=_0x68b332;this[_0x2d0e9e(0x244)][_0x2d0e9e(0x21c)](_0x518335,_0x41cfa7),this[_0x2d0e9e(0x1ba)](_0x2d0e9e(0x1a1),_0x2d0e9e(0x244),this[_0x2d0e9e(0x244)],this[_0x2d0e9e(0x244)]);}[_0x68b332(0x218)](_0x104039=_t){const _0x4f45d4=_0x68b332;return this[_0x4f45d4(0x244)][_0x4f45d4(0x1c1)](_0x104039)?this[_0x4f45d4(0x244)][_0x4f45d4(0x250)](_0x104039):bt;}[_0x68b332(0x240)]({channelId:_0x473f8c,threadId:_0x1f202a,comments:_0x114b5c,unlinkedAt:_0x47fbdc,resolvedAt:_0xe64ab6,resolvedBy:_0x499f19,target:_0x58991c,context:_0x2a9a26,attributes:_0x2373f5,isFromAdapter:_0x1f3b00,isResolvable:_0x3e0c6e,isSubmitted:_0x51e34a}){const _0x3a22f1=_0x68b332;if(_0x3a22f1(0x1ce)!=typeof _0x1f202a)throw new _0x302f93(_0x3a22f1(0x1ae),null,{'threadId':_0x1f202a});if(this[_0x3a22f1(0x203)](_0x1f202a))throw new _0x302f93(_0x3a22f1(0x1dd),null,{'threadId':_0x1f202a});const _0x3fcb0a=new CommentThread(this,{'channelId':_0x473f8c,'id':_0x1f202a,'context':_0x2a9a26,'attributes':_0x2373f5,'unlinkedAt':_0x47fbdc,'resolvedAt':_0xe64ab6,'resolvedBy':_0x499f19?this[_0x3a22f1(0x1fd)][_0x3a22f1(0x215)][_0x3a22f1(0x250)](_0x32ee20)[_0x3a22f1(0x1e7)](_0x499f19):null,'isResolvable':_0x3e0c6e,'isSubmitted':_0x51e34a||_0x1f3b00});this[_0x3a22f1(0x204)][_0x3a22f1(0x21c)](_0x1f202a,_0x3fcb0a);for(const _0x4c5fc6 of _0x114b5c)_0x3fcb0a[_0x3a22f1(0x1af)](this[_0x3a22f1(0x209)]({'threadId':_0x1f202a,..._0x4c5fc6}));return _0x58991c&&_0x3fcb0a[_0x3a22f1(0x1e1)](_0x58991c),_0x1f3b00||!_0x3fcb0a[_0x3a22f1(0x1ed)]?Promise[_0x3a22f1(0x1a8)]():this[_0x3a22f1(0x1d8)]({'channelId':_0x473f8c,'threadId':_0x1f202a});}[_0x68b332(0x1d8)]({channelId:_0x43cea6,threadId:_0x350011}){const _0x1cfe3d=_0x68b332;if(!this[_0x1cfe3d(0x203)](_0x350011))throw new _0x302f93(_0x1cfe3d(0x226),this);const _0x4ff297=this[_0x1cfe3d(0x1b1)](_0x350011);if(_0x4ff297[_0x1cfe3d(0x1b9)]=!0x0,!this[_0x1cfe3d(0x246)]||_0x1cfe3d(0x223)!=typeof this[_0x1cfe3d(0x246)][_0x1cfe3d(0x1c2)])return Promise[_0x1cfe3d(0x1a8)]();const {id:_0x19d377,comments:_0x223120,resolvedAt:_0x236356,resolvedBy:_0x3fb28f,context:_0xfb9065,attributes:_0x1b0f1f}=_0x4ff297,_0x241817=this[_0x1cfe3d(0x1fd)][_0x1cfe3d(0x215)][_0x1cfe3d(0x250)](_0x1cfe3d(0x216)),_0x4a41cf=_0x241817[_0x1cfe3d(0x1e9)](_0x3cd936(this[_0x1cfe3d(0x1fd)][_0x1cfe3d(0x278)],_0x1cfe3d(0x1c3)));return this[_0x1cfe3d(0x246)][_0x1cfe3d(0x1c2)]({'channelId':_0x43cea6,'threadId':_0x19d377,'comments':_0x223120[_0x1cfe3d(0x22a)](_0x49cb88=>_0x49cb88[_0x1cfe3d(0x245)]()),'resolvedAt':_0x236356,'resolvedBy':_0x3fb28f?_0x3fb28f['id']:_0x3fb28f,'context':_0xfb9065,'attributes':_0x1b0f1f})[_0x1cfe3d(0x1a6)](({comments:_0x513490})=>{const _0xeb7090=_0x1cfe3d;_0x241817[_0xeb7090(0x1f6)](_0x4a41cf);for(const _0x173a90 of _0x513490)this[_0xeb7090(0x24e)]({'channelId':_0x43cea6,'threadId':_0x350011,'commentId':_0x173a90[_0xeb7090(0x24f)],'createdAt':_0x173a90[_0xeb7090(0x1a4)],'isFromAdapter':!0x0});})[_0x1cfe3d(0x234)](_0xe9676f=>{const _0x4b075d=_0x1cfe3d;throw console[_0x4b075d(0x1cb)](_0xe9676f),new _0x302f93(_0x4b075d(0x256),this);});}[_0x68b332(0x1c4)]({threadId:_0x3bcb24,target:_0x505ecc}){const _0x4f1792=_0x68b332,_0x56a2a7=this[_0x4f1792(0x1b1)](_0x3bcb24);if(!_0x56a2a7)throw new _0x302f93(_0x4f1792(0x225),this);const _0x56ed5e=this[_0x4f1792(0x1fd)][_0x4f1792(0x215)][_0x4f1792(0x250)](_0x4f1792(0x216)),_0x4e0573=this[_0x4f1792(0x1fd)][_0x4f1792(0x215)][_0x4f1792(0x250)](_0xb37c45),_0x386c00=this[_0x4f1792(0x26c)](_0x56a2a7),_0xdbbcf7=new _0x103111(_0x56a2a7,_0x386c00);let _0x38146d=null;_0x386c00['on'](_0x4f1792(0x1ef),(_0x2e6e37,_0x2602f8,_0xe5f92f)=>{const _0xc67064=_0x4f1792;_0xe5f92f?_0x38146d=_0x56ed5e[_0xc67064(0x1e9)](_0x3cd936(this[_0xc67064(0x1fd)][_0xc67064(0x278)],_0xc67064(0x1c3))):_0x38146d&&(_0x56ed5e[_0xc67064(0x1f6)](_0x38146d),_0x38146d=null);}),this[_0x4f1792(0x237)][_0x4f1792(0x21c)](_0x56a2a7,_0xdbbcf7),this[_0x4f1792(0x1f9)][_0x4f1792(0x21c)](_0x386c00,_0xdbbcf7);const _0x38cb46=new _0x321455(this[_0x4f1792(0x1fd)][_0x4f1792(0x278)],_0x386c00);_0x38cb46[_0x4f1792(0x1d7)](_0x4f1792(0x1ed))['to'](_0x386c00),_0x38cb46[_0x4f1792(0x1d7)](_0x4f1792(0x1c6))['to'](_0x386c00,_0x4f1792(0x1c6),_0x386c00,_0x4f1792(0x1ed),(_0x71ddb9,_0x17717d)=>_0x71ddb9||!_0x17717d),_0x38cb46[_0x4f1792(0x1d7)](_0x4f1792(0x231))['to'](_0x386c00),_0x38cb46[_0x4f1792(0x201)]=_0x4f1792(0x199);const _0x165ce7=new _0x3137f8({'view':_0x38cb46,'target':_0x505ecc,'type':_0x4f1792(0x199),'isVisible':!_0x56a2a7[_0x4f1792(0x1e3)]&&!!(_0x4f1792(0x223)==typeof _0x505ecc?_0x505ecc():_0x505ecc)});return _0x386c00['on'](_0x4f1792(0x1a3),()=>{const _0x2befae=_0x4f1792;_0x165ce7[_0x2befae(0x1ba)](_0x2befae(0x1a3));}),this[_0x4f1792(0x19d)](_0x386c00,_0x165ce7),_0x4e0573[_0x4f1792(0x1e9)](_0x165ce7),_0x165ce7;}[_0x68b332(0x19d)](_0x298420,_0x3011b0){const _0x4c1c30=_0x68b332;this[_0x4c1c30(0x1db)](_0x298420,_0x4c1c30(0x1ab),(_0xc10806,_0x2b943a)=>{const _0x49ad83=_0x4c1c30,_0x1886cd=_0x2b943a['ui'][_0x49ad83(0x196)][_0x49ad83(0x24b)][_0x49ad83(0x1bf)];_0x3011b0[_0x49ad83(0x255)][_0x49ad83(0x1e9)](_0x1886cd),this[_0x49ad83(0x1fd)]instanceof _0x4af0a4&&this[_0x49ad83(0x1fd)]['ui'][_0x49ad83(0x24a)][_0x49ad83(0x1e9)](_0x1886cd);},{'priority':_0x4c1c30(0x274)}),this[_0x4c1c30(0x1db)](_0x298420,_0x4c1c30(0x1f3),(_0x17e042,_0x5a18e1)=>{const _0x1bb348=_0x4c1c30,_0x117735=_0x5a18e1['ui'][_0x1bb348(0x196)][_0x1bb348(0x24b)][_0x1bb348(0x1bf)];_0x3011b0[_0x1bb348(0x255)][_0x1bb348(0x1c1)](_0x117735)&&_0x3011b0[_0x1bb348(0x255)][_0x1bb348(0x1f6)](_0x117735),this[_0x1bb348(0x1fd)]instanceof _0x4af0a4&&this[_0x1bb348(0x1fd)]['ui'][_0x1bb348(0x24a)][_0x1bb348(0x1f6)](_0x117735);});}[_0x68b332(0x23b)](_0x111004){const _0x4437cd=_0x68b332;this[_0x4437cd(0x200)](_0x111004,_0x4437cd(0x1ab)),this[_0x4437cd(0x200)](_0x111004,_0x4437cd(0x1f3));}[_0x68b332(0x26c)](_0x49dec8){const _0x4813ca=_0x68b332,_0x54ed76=this[_0x4813ca(0x1fd)][_0x4813ca(0x215)][_0x4813ca(0x250)](_0x32ee20),{config:_0x543f0a,locale:_0x351182}=this[_0x4813ca(0x1fd)],_0x351257=_0x5a0c07(_0x543f0a[_0x4813ca(0x250)](_0x4813ca(0x278)),_0x351182);return new(0x0,(_0x543f0a[_0x4813ca(0x250)](_0x4813ca(0x227)))[(_0x4813ca(0x254))])(_0x351182,_0x49dec8,_0x54ed76['me'],{'editorConfig':{..._0x543f0a[_0x4813ca(0x250)](_0x4813ca(0x1ee)),'licenseKey':this[_0x4813ca(0x1fd)][_0x4813ca(0x1bd)][_0x4813ca(0x250)](_0x4813ca(0x1a9))},'copyMarkers':_0x543f0a[_0x4813ca(0x250)](_0x4813ca(0x205)),'maxCommentsWhenCollapsed':_0x543f0a[_0x4813ca(0x250)](_0x4813ca(0x22e)),'maxThreadTotalWeight':_0x543f0a[_0x4813ca(0x250)](_0x4813ca(0x1d1)),'maxCommentCharsWhenCollapsed':_0x543f0a[_0x4813ca(0x250)](_0x4813ca(0x22d)),'formatDateTime':_0x351257,'CommentView':_0x543f0a[_0x4813ca(0x250)](_0x4813ca(0x227))[_0x4813ca(0x26f)]});}[_0x68b332(0x229)]({threadId:_0x3463e4,channelId:_0x557675,resolvedAt:_0x5b454d,resolvedBy:_0x5ad7f2,isFromAdapter:_0x248e8b}){const _0x31f9f1=_0x68b332;if(!this[_0x31f9f1(0x203)](_0x3463e4))throw new _0x302f93(_0x31f9f1(0x226),null,{'threadId':_0x3463e4});const _0x248db0=this[_0x31f9f1(0x1b1)](_0x3463e4);if(_0x248db0[_0x31f9f1(0x25d)])throw new _0x302f93(_0x31f9f1(0x192),null,{'threadId':_0x3463e4});const _0xd1a01f=this[_0x31f9f1(0x1fd)][_0x31f9f1(0x215)][_0x31f9f1(0x250)](_0x32ee20);if(_0x248db0[_0x31f9f1(0x1ca)]=_0xd1a01f[_0x31f9f1(0x1e7)](_0x5ad7f2),_0x248db0[_0x31f9f1(0x1b0)]=_0x5b454d,_0x248e8b||!this[_0x31f9f1(0x246)]||_0x31f9f1(0x223)!=typeof this[_0x31f9f1(0x246)][_0x31f9f1(0x26e)])return Promise[_0x31f9f1(0x1a8)]();const _0xe859d5=this[_0x31f9f1(0x1fd)][_0x31f9f1(0x215)][_0x31f9f1(0x250)](_0x31f9f1(0x216)),_0x155a72=_0xe859d5[_0x31f9f1(0x1e9)](_0x3cd936(this[_0x31f9f1(0x1fd)][_0x31f9f1(0x278)],_0x31f9f1(0x1c3)));return this[_0x31f9f1(0x246)][_0x31f9f1(0x26e)]({'channelId':_0x557675,'threadId':_0x3463e4})[_0x31f9f1(0x1a6)](({resolvedAt:_0x1a5d3b,resolvedBy:_0x17465e})=>{const _0x43fd7e=_0x31f9f1;_0xe859d5[_0x43fd7e(0x1f6)](_0x155a72),_0x248db0[_0x43fd7e(0x1ca)]['id']!==_0x17465e&&(_0x248db0[_0x43fd7e(0x1ca)]=_0xd1a01f[_0x43fd7e(0x1e7)](_0x17465e)),_0x248db0[_0x43fd7e(0x1b0)]=_0x1a5d3b;})[_0x31f9f1(0x234)](_0x7704e1=>{const _0x5ba7b5=_0x31f9f1;throw console[_0x5ba7b5(0x1cb)](_0x7704e1),new _0x302f93(_0x5ba7b5(0x277),this);});}[_0x68b332(0x20f)]({threadId:_0x8a1208,channelId:_0x3741f0,isFromAdapter:_0x4ec1a2}){const _0xb019b8=_0x68b332;if(!this[_0xb019b8(0x203)](_0x8a1208))throw new _0x302f93(_0xb019b8(0x226),null,{'threadId':_0x8a1208});const _0x232b7d=this[_0xb019b8(0x1b1)](_0x8a1208);if(!_0x232b7d[_0xb019b8(0x25d)])throw new _0x302f93(_0xb019b8(0x1bb),null,{'threadId':_0x8a1208});if(_0x232b7d[_0xb019b8(0x1ca)]=null,_0x232b7d[_0xb019b8(0x1b0)]=null,_0x4ec1a2||!this[_0xb019b8(0x246)]||_0xb019b8(0x223)!=typeof this[_0xb019b8(0x246)][_0xb019b8(0x206)])return Promise[_0xb019b8(0x1a8)]();const _0x28811c=this[_0xb019b8(0x1fd)][_0xb019b8(0x215)][_0xb019b8(0x250)](_0xb019b8(0x216)),_0x12d3b7=_0x28811c[_0xb019b8(0x1e9)](_0x3cd936(this[_0xb019b8(0x1fd)][_0xb019b8(0x278)],_0xb019b8(0x1c3)));return this[_0xb019b8(0x246)][_0xb019b8(0x206)]({'channelId':_0x3741f0,'threadId':_0x8a1208})[_0xb019b8(0x1a6)](()=>_0x28811c[_0xb019b8(0x1f6)](_0x12d3b7))[_0xb019b8(0x234)](_0xff1b14=>{const _0x11c474=_0xb019b8;throw console[_0x11c474(0x1cb)](_0xff1b14),new _0x302f93(_0x11c474(0x207),this);});}[_0x68b332(0x23c)]({threadId:_0x5ab1db,isFromAdapter:_0x57f309}){const _0x384d28=_0x68b332,_0x32c0e6=this[_0x384d28(0x1b1)](_0x5ab1db);if(!_0x32c0e6)throw new _0x302f93(_0x384d28(0x1ff),this);if(this[_0x384d28(0x20c)](_0x5ab1db),this[_0x384d28(0x204)][_0x384d28(0x20e)](_0x5ab1db),!_0x32c0e6[_0x384d28(0x1f2)]||_0x57f309||!this[_0x384d28(0x246)]||_0x384d28(0x223)!=typeof this[_0x384d28(0x246)][_0x384d28(0x1b2)])return Promise[_0x384d28(0x1a8)]();const _0x270202=this[_0x384d28(0x1fd)][_0x384d28(0x215)][_0x384d28(0x250)](_0x384d28(0x216)),{channelId:_0xa839e9}=_0x32c0e6,_0x5d41da=_0x270202[_0x384d28(0x1e9)](_0x3cd936(this[_0x384d28(0x1fd)][_0x384d28(0x278)],_0x384d28(0x1c3)));return this[_0x384d28(0x246)][_0x384d28(0x1b2)]({'channelId':_0xa839e9,'threadId':_0x5ab1db})[_0x384d28(0x1a6)](()=>_0x270202[_0x384d28(0x1f6)](_0x5d41da))[_0x384d28(0x234)](_0x2b8818=>{const _0x32774c=_0x384d28;throw console[_0x32774c(0x1cb)](_0x2b8818),new _0x302f93(_0x32774c(0x260),this);});}[_0x68b332(0x275)]({threadId:_0x34baa0,unlinkedAt:_0xc4a133,context:_0x5664c5,attributes:_0x21a2ec,isFromAdapter:_0xd20c6e}){const _0x4dda87=_0x68b332;if(_0x4dda87(0x1ce)!=typeof _0x34baa0)throw new _0x302f93(_0x4dda87(0x1ae),null,{'threadId':_0x34baa0});if(!this[_0x4dda87(0x203)](_0x34baa0))throw new _0x302f93(_0x4dda87(0x226),null,{'threadId':_0x34baa0});const _0x4fc753=this[_0x4dda87(0x1b1)](_0x34baa0);let _0x1c8988=!0x1;if(void 0x0!==_0x5664c5&&_0x4fc753[_0x4dda87(0x1fd)]!==_0x5664c5&&(_0x4fc753[_0x4dda87(0x1fd)]=_0x5664c5,_0x1c8988=!0x0),void 0x0!==_0xc4a133&&_0x4fc753[_0x4dda87(0x1d5)]!==_0xc4a133&&(_0x4fc753[_0x4dda87(0x1d5)]=_0xc4a133,_0x1c8988=!0x0),_0x21a2ec&&!_0x5f2392(_0x21a2ec,_0x4fc753[_0x4dda87(0x248)])&&(_0x4fc753[_0x4dda87(0x248)]=_0x21a2ec,_0x1c8988=!0x0),!_0x1c8988)return Promise[_0x4dda87(0x1a8)]();if(!_0x4fc753[_0x4dda87(0x1f2)]||_0xd20c6e||!this[_0x4dda87(0x246)]||_0x4dda87(0x223)!=typeof this[_0x4dda87(0x246)][_0x4dda87(0x220)])return Promise[_0x4dda87(0x1a8)]();const _0x1a3a53=this[_0x4dda87(0x1fd)][_0x4dda87(0x215)][_0x4dda87(0x250)](_0x4dda87(0x216)),{channelId:_0x416fbf}=_0x4fc753,_0xd6c3f=_0x1a3a53[_0x4dda87(0x1e9)](_0x3cd936(this[_0x4dda87(0x1fd)][_0x4dda87(0x278)],_0x4dda87(0x1c3)));return this[_0x4dda87(0x246)][_0x4dda87(0x220)]({'channelId':_0x416fbf,'threadId':_0x34baa0,'context':_0x5664c5,'unlinkedAt':_0xc4a133,'attributes':_0x21a2ec})[_0x4dda87(0x1a6)](()=>_0x1a3a53[_0x4dda87(0x1f6)](_0xd6c3f))[_0x4dda87(0x234)](_0x2d3c9c=>{const _0x5bdf6a=_0x4dda87;throw console[_0x5bdf6a(0x1cb)](_0x2d3c9c),new _0x302f93(_0x5bdf6a(0x258),this);});}[_0x68b332(0x20c)](_0x552dff){const _0x1b48a6=_0x68b332,_0x1ad4c2=this[_0x1b48a6(0x1fd)][_0x1b48a6(0x215)][_0x1b48a6(0x250)](_0xb37c45),_0x37236c=this[_0x1b48a6(0x1b1)](_0x552dff);if(_0x37236c[_0x1b48a6(0x276)]=!0x1,this[_0x1b48a6(0x237)][_0x1b48a6(0x1c1)](_0x37236c)){const _0x2f6079=this[_0x1b48a6(0x237)][_0x1b48a6(0x250)](_0x37236c),_0x5a065e=_0x2f6079[_0x1b48a6(0x196)],_0x1691b0=_0x1ad4c2[_0x1b48a6(0x222)](_0x5a065e);this[_0x1b48a6(0x237)][_0x1b48a6(0x20e)](_0x37236c),this[_0x1b48a6(0x1f9)][_0x1b48a6(0x20e)](_0x5a065e),_0x1691b0&&_0x1ad4c2[_0x1b48a6(0x1f6)](_0x1691b0),_0x2f6079[_0x1b48a6(0x23d)](),_0x5a065e[_0x1b48a6(0x23d)]()[_0x1b48a6(0x1a6)](()=>{const _0x4bc006=_0x1b48a6;this[_0x4bc006(0x23b)](_0x5a065e);});}}[_0x68b332(0x1e5)]({threadId:_0x1e6cb1,resolvedAt:_0x2787c8,unlinkedAt:_0x2cd4e9}){const _0xcbe989=_0x68b332,_0x40e431=!!_0x2787c8,_0x437c5d=this[_0xcbe989(0x1fd)][_0xcbe989(0x215)][_0xcbe989(0x250)](_0xb37c45),_0x1a55fc=this[_0xcbe989(0x1b1)](_0x1e6cb1);if(this[_0xcbe989(0x237)][_0xcbe989(0x1c1)](_0x1a55fc)){const _0x430f24=this[_0xcbe989(0x237)][_0xcbe989(0x250)](_0x1a55fc)[_0xcbe989(0x196)],_0x5550b9=_0x437c5d[_0xcbe989(0x222)](_0x430f24);_0x5550b9&&(_0x40e431&&_0x437c5d[_0xcbe989(0x271)](_0x5550b9),_0x2cd4e9?_0x5550b9[_0xcbe989(0x252)]=!0x1:_0x5550b9[_0xcbe989(0x194)]());}}[_0x68b332(0x1b6)](_0x14e40a){const _0x278695=_0x68b332,_0x1e3f2e=this[_0x278695(0x1fd)][_0x278695(0x215)][_0x278695(0x250)](_0x32ee20),_0xfe99f4=_0x9b885d(_0x278695(0x263)+_0x14e40a),_0x5998ec=_0x1e3f2e[_0x278695(0x1e7)](_0xfe99f4);return _0x5998ec||_0x1e3f2e[_0x278695(0x1cf)]({'id':_0xfe99f4,'name':_0x14e40a});}[_0x68b332(0x209)]({threadId:_0x2e96e1,commentId:_0x484793=_0x22973e(),content:_0x333cb7,authorId:_0x773eed,createdAt:_0x4b6777,attributes:_0x16a63d}){const _0x3a57f8=_0x68b332;if(_0x3a57f8(0x1ce)!=typeof _0x484793)throw new _0x302f93(_0x3a57f8(0x25b));if(_0x3a57f8(0x1ce)!=typeof _0x773eed)throw new _0x302f93(_0x3a57f8(0x26a));if(_0x3a57f8(0x1ce)!=typeof _0x333cb7||!_0x333cb7[_0x3a57f8(0x213)]())throw new _0x302f93(_0x3a57f8(0x1f0));const _0xf84ae4=this[_0x3a57f8(0x1fd)][_0x3a57f8(0x215)][_0x3a57f8(0x250)](_0x32ee20)[_0x3a57f8(0x1e7)](_0x773eed);if(!_0xf84ae4)throw new _0x302f93(_0x3a57f8(0x251),null,{'authorId':_0x773eed});let _0x53bbd5=null,_0x4c44fa=_0x4b6777;return _0x16a63d?.[_0x3a57f8(0x219)]&&(_0x53bbd5=this[_0x3a57f8(0x1b6)](_0x16a63d[_0x3a57f8(0x219)][_0x3a57f8(0x228)]),_0x4c44fa=new Date(_0x16a63d[_0x3a57f8(0x219)][_0x3a57f8(0x1a4)])),new Comment(this,{'threadId':_0x2e96e1,'id':_0x484793,'author':_0x53bbd5||_0xf84ae4,'creator':_0xf84ae4,'content':_0x333cb7,'createdAt':_0x4b6777,'authoredAt':_0x4c44fa,'attributes':_0x16a63d});}[_0x68b332(0x1e6)](_0x2dfe62){const _0x2bcb9e=_0x68b332;let {threadId:_0x1fc3b9,content:_0x9a4f2c,attributes:_0x375f80,isFromAdapter:_0x53cb96}=_0x2dfe62;const _0xd53e8b=this[_0x2bcb9e(0x1b1)](_0x2dfe62[_0x2bcb9e(0x26d)]);if(!_0xd53e8b)throw new _0x302f93(_0x2bcb9e(0x270),this);const _0x3082f7=this[_0x2bcb9e(0x209)](_0x2dfe62),{id:_0x1bbd81}=_0x3082f7;if(_0xd53e8b[_0x2bcb9e(0x1af)](_0x3082f7),_0x53cb96||!this[_0x2bcb9e(0x246)]||_0x2bcb9e(0x223)!=typeof this[_0x2bcb9e(0x246)][_0x2bcb9e(0x198)]||!_0xd53e8b[_0x2bcb9e(0x1f2)])return Promise[_0x2bcb9e(0x1a8)]();const _0x57b665=this[_0x2bcb9e(0x1fd)][_0x2bcb9e(0x215)][_0x2bcb9e(0x250)](_0x2bcb9e(0x216)),{channelId:_0x104a5e}=_0xd53e8b,_0x249f90=_0x57b665[_0x2bcb9e(0x1e9)](_0x3cd936(this[_0x2bcb9e(0x1fd)][_0x2bcb9e(0x278)],_0x2bcb9e(0x1c3)));return _0x375f80||(_0x375f80={}),this[_0x2bcb9e(0x246)][_0x2bcb9e(0x198)]({'channelId':_0x104a5e,'threadId':_0x1fc3b9,'commentId':_0x1bbd81,'content':_0x9a4f2c,'attributes':_0x375f80})[_0x2bcb9e(0x1a6)](_0x5a7bbf=>{const _0x3a6c52=_0x2bcb9e;_0x57b665[_0x3a6c52(0x1f6)](_0x249f90),_0x5a7bbf&&this[_0x3a6c52(0x24e)]({'channelId':_0x104a5e,'threadId':_0x1fc3b9,'commentId':_0x1bbd81,'createdAt':_0x5a7bbf[_0x3a6c52(0x1a4)],'isFromAdapter':!0x0});})[_0x2bcb9e(0x234)](_0x1892b3=>{const _0x27e68b=_0x2bcb9e;throw console[_0x27e68b(0x1cb)](_0x1892b3),new _0x302f93(_0x27e68b(0x19a),this);});}[_0x68b332(0x24e)]({threadId:_0x30451a,commentId:_0x1666e9,content:_0x4df97f,createdAt:_0x5e3e24,attributes:_0x15afb1,isFromAdapter:_0x138022}){const _0x575e5b=_0x68b332;if(void 0x0!==_0x4df97f&&(_0x575e5b(0x1ce)!=typeof _0x4df97f||!_0x4df97f[_0x575e5b(0x213)]()[_0x575e5b(0x1ed)]))throw new _0x302f93(_0x575e5b(0x242));const _0x4faba3=this[_0x575e5b(0x1b1)](_0x30451a),_0x164134=_0x4faba3[_0x575e5b(0x1d3)](_0x1666e9);if(!_0x164134)throw new _0x302f93(_0x575e5b(0x21a),this);let _0x3e456f=!0x1;if(_0x4df97f&&_0x4df97f!==_0x164134[_0x575e5b(0x1f7)]&&(_0x164134[_0x575e5b(0x25a)]||_0x138022)&&(_0x164134[_0x575e5b(0x1f7)]=_0x4df97f,_0x3e456f=!0x0),_0x5e3e24&&_0x5e3e24!==_0x164134[_0x575e5b(0x1a4)]&&(_0x164134[_0x575e5b(0x1a4)]=_0x5e3e24,_0x164134[_0x575e5b(0x248)]&&_0x164134[_0x575e5b(0x248)][_0x575e5b(0x219)]||(_0x164134[_0x575e5b(0x1b8)]=_0x5e3e24),_0x3e456f=!0x0),_0x15afb1&&!_0x5f2392(_0x15afb1,_0x164134[_0x575e5b(0x248)])&&(_0x164134[_0x575e5b(0x248)]=_0x15afb1,_0x3e456f=!0x0),!_0x3e456f)return Promise[_0x575e5b(0x1a8)]();if(_0x4faba3[_0x575e5b(0x1ba)](_0x575e5b(0x233)),_0x138022||!this[_0x575e5b(0x246)]||_0x575e5b(0x223)!=typeof this[_0x575e5b(0x246)][_0x575e5b(0x232)])return Promise[_0x575e5b(0x1a8)]();const _0x5da64a=this[_0x575e5b(0x1fd)][_0x575e5b(0x215)][_0x575e5b(0x250)](_0x575e5b(0x216)),{channelId:_0x39e5d8}=this[_0x575e5b(0x1b1)](_0x164134[_0x575e5b(0x26d)]),_0x3c3556=_0x5da64a[_0x575e5b(0x1e9)](_0x3cd936(this[_0x575e5b(0x1fd)][_0x575e5b(0x278)],_0x575e5b(0x1c3)));return this[_0x575e5b(0x246)][_0x575e5b(0x232)]({'channelId':_0x39e5d8,'threadId':_0x30451a,'commentId':_0x1666e9,'content':_0x4df97f,'attributes':_0x15afb1})[_0x575e5b(0x1a6)](()=>_0x5da64a[_0x575e5b(0x1f6)](_0x3c3556))[_0x575e5b(0x234)](_0x1d48a5=>{const _0x3f1a78=_0x575e5b;throw console[_0x3f1a78(0x1cb)](_0x1d48a5),new _0x302f93(_0x3f1a78(0x265),this);});}[_0x68b332(0x22b)]({threadId:_0x315f64,commentId:_0x544eee,isFromAdapter:_0x52f44a}){const _0xa0d23d=_0x68b332,_0x21189e=this[_0xa0d23d(0x1b1)](_0x315f64),_0x4b4063=_0x21189e[_0xa0d23d(0x1d3)](_0x544eee);if(!_0x4b4063)throw new _0x302f93(_0xa0d23d(0x21e),this);if(_0x21189e[_0xa0d23d(0x241)](_0x4b4063),_0x52f44a||!this[_0xa0d23d(0x246)]||_0xa0d23d(0x223)!=typeof this[_0xa0d23d(0x246)][_0xa0d23d(0x236)])return Promise[_0xa0d23d(0x1a8)]();const _0x2c298e=this[_0xa0d23d(0x1fd)][_0xa0d23d(0x215)][_0xa0d23d(0x250)](_0xa0d23d(0x216)),{channelId:_0x4de586}=_0x21189e,_0x20cbad=_0x2c298e[_0xa0d23d(0x1e9)](_0x3cd936(this[_0xa0d23d(0x1fd)][_0xa0d23d(0x278)],_0xa0d23d(0x1c3)));return this[_0xa0d23d(0x246)][_0xa0d23d(0x236)]({'channelId':_0x4de586,'threadId':_0x315f64,'commentId':_0x544eee})[_0xa0d23d(0x1a6)](()=>_0x2c298e[_0xa0d23d(0x1f6)](_0x20cbad))[_0xa0d23d(0x234)](_0x1b2809=>{const _0x25ab82=_0xa0d23d;throw console[_0x25ab82(0x1cb)](_0x1b2809),new _0x302f93(_0x25ab82(0x1f8),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x4aacd6=_0x25e4;(function(_0x3c49d9,_0x17e1a6){const _0x3a9d06=_0x25e4,_0x21f310=_0x3c49d9();while(!![]){try{const _0x56ac16=-parseInt(_0x3a9d06(0x1f0))/0x1*(parseInt(_0x3a9d06(0x203))/0x2)+-parseInt(_0x3a9d06(0x1b9))/0x3*(-parseInt(_0x3a9d06(0x175))/0x4)+-parseInt(_0x3a9d06(0x1c1))/0x5+-parseInt(_0x3a9d06(0x219))/0x6+parseInt(_0x3a9d06(0x198))/0x7*(parseInt(_0x3a9d06(0x21c))/0x8)+-parseInt(_0x3a9d06(0x1c9))/0x9*(parseInt(_0x3a9d06(0x19b))/0xa)+-parseInt(_0x3a9d06(0x1e6))/0xb*(-parseInt(_0x3a9d06(0x227))/0xc);if(_0x56ac16===_0x17e1a6)break;else _0x21f310['push'](_0x21f310['shift']());}catch(_0x24bb7f){_0x21f310['push'](_0x21f310['shift']());}}}(_0x3662,0xe7d91));import{PendingActions as _0x1bf331,ContextPlugin as _0xc83a1a,Editor as _0x3573bb}from'ckeditor5/src/core.js';import{Collection as _0x5c8ba7,uid as _0x21cd9f,CKEditorError as _0xd24c29,ObservableMixin as _0x504ca3}from'ckeditor5/src/utils.js';function _0x25e4(_0x30328d,_0x53e550){const _0x3662c1=_0x3662();return _0x25e4=function(_0x25e422,_0x21edd4){_0x25e422=_0x25e422-0x14f;let _0x6ac985=_0x3662c1[_0x25e422];return _0x6ac985;},_0x25e4(_0x30328d,_0x53e550);}import{getDateTimeFormatter as _0x36d6a0,hashObject as _0x4d1aea,Users as _0x3b63c6}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x359682,isEqual as _0x44126e,set as _0x7cb112,unset as _0x142204}from'es-toolkit/compat';import{CommentThreadController as _0x5ee85b}from'./ui/commentthreadcontroller.js';function _0x3662(){const _0x207ccb=['_update','fire','from','deactivateAll','author','updateCommentThread','error','CommentThreadView','requires','refreshVisibility','set','setContext','commentsrepository-add-comment-thread-internal-error','submitCommentThread','getByInnerView','isRemovable','removeCommentThread','isVisible','getCommentThreadForAnnotation','write','commentsrepository-missing-comment-thread','commentsrepository-duplicated-comment-thread-id','commentsrepository-remove-comment-internal-error','CommentsRepository','getIndex','6370217ZMRkOQ','push','getPermissions','2317540yAajSO','_submitCommentThread','canComment','commentsrepository-update-comment-missing-comment-thread','_adapter','CommentView','commentsrepository-update-comment-invalid-content','commentInputView','_add','resolve','commentsrepository-remove-comment-missing-comment-thread','addComment','isDirty','commentsrepository-fetch-comment-thread','escape','submit','change:isDirty','textContent','string','body','isPremiumPlugin','hasCommentThread','_addCommentThread','authorName','_remove','_repository','_attachCommentThread','noChannel','div','getComment','15CPJHPX','PENDING_ACTION_COMMENT_THREAD','_threadToController','comments.maxCommentsWhenCollapsed','pluginName','once','isSubmitted','filter','9477525XBzvvM','innerHTML','commentsrepository-missing-thread-and-adapter-method','find','_addComment','PendingActions','resolveCommentThread','weight','36OJQzhX','createCommentThreadController','isFromAdapter','isResolved','commentsrepository-adapter-already-set','highest','authoredAt','_updateActiveAnnotation','threadId','model','setActiveCommentThread','change:activeAnnotations','getAnnotationForCommentThread','change:authoredAt','archivedAt','commentsrepository-invalid-comment-thread-id','commentsrepository-add-comment-user-not-exists','bind','isAttached','assign','config','max','commentsrepository-add-comment-internal-error','getUser','commentId','_unbindEditors','getTime','editorDestroyed','_readOnlyChannels','1760HEtZQv','admin','view','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-remove-comment-thread-internal-error','attributes','locale','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','_reopenCommentThread','isActive','9QdoWsH','_viewToController','commentThreadInputView','commentsrepository-invalid-comment-content','createdAt','_removeActiveAnnotation','stopListening','then','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-update-comment-internal-error','reopenCommentThread','comments.copyMarkers','removeComment','commentUpdated','isEditable','channelId','change:_readOnlyChannels','setPermissions','isExternal','236066uJMrkd','comments.maxThreadTotalWeight','adapter','attachTo','editorReady','licenseKey','bodyCollectionContainer','plugins','comments.CommentView','_isSubmitted','focusableElements','warn','add','reopen','_isAttached','commentsrepository-get-comment-invalid-id','creator','focusTracker','destroy','commentsrepository-update-comment-thread-internal-error','update','commentsrepository-active-not-attached','3154044VTRxsF','addUser','comments.maxCommentCharsWhenCollapsed','8LkwKkj','isOfficialPlugin','resolvedBy','@external','commentsrepository-update-missing-comment','modifyAll','comments.editorConfig','commentsrepository-invalid-comment-authorid','switchReadOnly','createElement','removeAttribute','331152IHMSAe','commentsrepository-remove-missing-comment','comment','_findOptimalIndex','context','function','commentsListView','has','_updateComment','init','commentsrepository-resolved-comment-thread','comments.CommentThreadView','commentsrepository-active-missing-comment-thread','activeCommentThread','catch','focus','_hasTargetInContent','lowest','setAttribute','map','getCommentThreads','innerView','values','resolvedAt','isResolvable','_getExternalAuthor','addCommentThread','_createNewComment','delete','type','_createCommentThreadView','_removeComment','toJSON','_removeCommentThread','activate','comments','reduce','listenTo','fetchCommentThread','setUnlinkedAt','content','_detachCommentThread','commentsrepository-reopen-comment-thread','_updateCommentThread','getCommentThread','length','commentsrepository-remove-missing-comment-thread','external:','commentsrepository-invalid-commentid','updateComment','trim','unlinkedAt','_permissions','commentsrepository-missing-target','define','commentsrepository-attach-missing-comment-thread','27800JezeFJ','isReadOnly','_bindAnnotationToEditors','_resolveCommentThread','get','_threads','change:_permissions','commentsrepository-reopen-comment-thread-internal-error','remove','openNewCommentThread'];_0x3662=function(){return _0x207ccb;};return _0x3662();}import{CommentThreadView as _0x24296e}from'./ui/view/commentthreadview.js';import{CommentView as _0x2dab55}from'./ui/view/commentview.js';import{getTranslation as _0x5ea187}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x49c793}from'../annotations/view/annotationview.js';import{Annotation as _0x470169}from'../annotations/annotation.js';import{Annotations as _0x6db8fa}from'../annotations/annotations.js';const _t=Symbol(_0x4aacd6(0x1b6)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0xc83a1a{[_0x4aacd6(0x17a)];[_0x4aacd6(0x1bb)];[_0x4aacd6(0x1f1)];static get[_0x4aacd6(0x187)](){return[_0x6db8fa,_0x1bf331,_0x3b63c6];}static get[_0x4aacd6(0x1bd)](){const _0x69249e=_0x4aacd6;return _0x69249e(0x196);}static get[_0x4aacd6(0x21d)](){return!0x0;}static get[_0x4aacd6(0x1af)](){return!0x0;}constructor(_0x2fe14a){const _0x178567=_0x4aacd6;super(_0x2fe14a),this[_0x178567(0x17a)]=new Map(),this[_0x178567(0x1bb)]=new Map(),this[_0x178567(0x1f1)]=new Map(),this[_0x178567(0x189)](_0x178567(0x1e5),new Set()),this[_0x178567(0x189)](_0x178567(0x171),new Map());const _0x338420=this[_0x178567(0x22b)][_0x178567(0x1dd)];_0x338420[_0x178567(0x173)](_0x178567(0x1bc),0x2),_0x338420[_0x178567(0x173)](_0x178567(0x204),0x1f4),_0x338420[_0x178567(0x173)](_0x178567(0x21b),0x8c),_0x338420[_0x178567(0x173)](_0x178567(0x232),_0x24296e),_0x338420[_0x178567(0x173)](_0x178567(0x20b),_0x2dab55),_0x338420[_0x178567(0x179)](_0x178567(0x222))||console[_0x178567(0x20e)](_0x178567(0x1ed));}[_0x4aacd6(0x230)](){const _0x464833=_0x4aacd6,_0x265f71=this[_0x464833(0x22b)][_0x464833(0x20a)][_0x464833(0x179)](_0x6db8fa);this[_0x464833(0x189)](_0x464833(0x234),null),this['on'](_0x464833(0x157),(_0x5c9633,_0x50d815)=>this[_0x464833(0x1b1)](_0x50d815)),this['on'](_0x464833(0x18c),(_0x3e26b8,_0xbc396a)=>this[_0x464833(0x19c)](_0xbc396a)),this['on'](_0x464833(0x1c7),(_0x4d91ea,_0x2e9687)=>this[_0x464833(0x178)](_0x2e9687)),this['on'](_0x464833(0x1c7),(_0x492444,_0x9039f5)=>this[_0x464833(0x1d0)](_0x9039f5),{'priority':_0x464833(0x238)}),this['on'](_0x464833(0x1fa),(_0x41b28a,_0x7d3cc9)=>this[_0x464833(0x1ee)](_0x7d3cc9)),this['on'](_0x464833(0x1fa),(_0x25d13b,_0x348ebe)=>this[_0x464833(0x1d0)](_0x348ebe),{'priority':_0x464833(0x238)}),this['on'](_0x464833(0x18f),(_0x33ca77,_0x1da3d2)=>this[_0x464833(0x15e)](_0x1da3d2)),this['on'](_0x464833(0x184),(_0x386589,_0x309ee5)=>this[_0x464833(0x168)](_0x309ee5)),this['on'](_0x464833(0x184),(_0x542313,_0x1e28f5)=>this[_0x464833(0x1d0)](_0x1e28f5),{'priority':_0x464833(0x238)}),this['on'](_0x464833(0x1a6),(_0x23c20,_0x38b254)=>this[_0x464833(0x1c5)](_0x38b254)),this['on'](_0x464833(0x16e),(_0x3c6bd1,_0x152286)=>this[_0x464833(0x22f)](_0x152286)),this['on'](_0x464833(0x1fc),(_0x810edc,_0x52d4f3)=>this[_0x464833(0x15c)](_0x52d4f3)),this['on'](_0x464833(0x1a6),(_0x5cc99c,{threadId:_0x580ce7,isFromAdapter:_0x1a0db2})=>{const _0x1363e2=_0x464833;if(_0x1a0db2)return;const _0x1eb270=this[_0x1363e2(0x169)](_0x580ce7),_0x2c9c9d=_0x1eb270&&this[_0x1363e2(0x1bb)][_0x1363e2(0x179)](_0x1eb270);_0x2c9c9d&&_0x2c9c9d[_0x1363e2(0x1e8)][_0x1363e2(0x22d)][_0x1363e2(0x236)](-0x1);},{'priority':_0x464833(0x238)}),this[_0x464833(0x162)](_0x265f71,_0x464833(0x1d4),(_0x284c6c,_0x20a78c,_0x2a389b)=>{const _0x5d34b7=_0x464833,_0x5a5771=Array[_0x5d34b7(0x181)](_0x2a389b)[_0x5d34b7(0x150)](_0x34c624=>this[_0x5d34b7(0x1f1)][_0x5d34b7(0x179)](_0x34c624[_0x5d34b7(0x152)]))[_0x5d34b7(0x1c0)](Boolean)[0x0];this[_0x5d34b7(0x234)]=_0x5a5771?_0x5a5771[_0x5d34b7(0x1d2)]:null;});}set[_0x4aacd6(0x205)](_0x418709){const _0x161f40=_0x4aacd6;if(this[_0x161f40(0x19f)])throw new _0xd24c29(_0x161f40(0x1cd));this[_0x161f40(0x19f)]=_0x418709;}get[_0x4aacd6(0x205)](){const _0x24e6f1=_0x4aacd6;return this[_0x24e6f1(0x19f)];}[_0x4aacd6(0x157)]({channelId:_0xecc8f8=_t,threadId:_0x417151=_0x21cd9f(),comments:_0xf44c0e=[],unlinkedAt:_0x3aca5e=null,resolvedAt:_0x4f72f8=null,resolvedBy:_0x1634e3=null,target:_0x1dfe12=null,context:_0x11d262=null,attributes:_0x54b531={},isResolvable:_0x5a55ff=!0x0,isSubmitted:_0x3dabc3=!0x1,isFromAdapter:_0x5e3519=!0x1}={}){const _0x2d1b85=_0x4aacd6;return this[_0x2d1b85(0x180)](Nt(_0x2d1b85(0x157),_0xecc8f8),{'channelId':_0xecc8f8,'threadId':_0x417151,'comments':_0xf44c0e,'unlinkedAt':_0x3aca5e,'resolvedAt':_0x4f72f8,'resolvedBy':_0x1634e3,'target':_0x1dfe12,'context':_0x11d262,'attributes':_0x54b531,'isFromAdapter':_0x5e3519,'isResolvable':_0x5a55ff,'isSubmitted':_0x3dabc3}),this[_0x2d1b85(0x169)](_0x417151);}[_0x4aacd6(0x17e)]({channelId:_0x3d0d16=_t,threadId:_0x33576e=_0x21cd9f(),target:_0x4aad7f,context:_0xcb5543=null,isResolvable:_0x3fe5be=!0x0}){const _0x2f8e16=_0x4aacd6;if(this[_0x2f8e16(0x1e5)][_0x2f8e16(0x22e)](_0x3d0d16)||this[_0x2f8e16(0x1e5)][_0x2f8e16(0x22e)](void 0x0))return null;if(!_0x4aad7f)throw new _0xd24c29(_0x2f8e16(0x172));const _0x4984cb=this[_0x2f8e16(0x157)]({'channelId':_0x3d0d16,'threadId':_0x33576e,'target':_0x4aad7f,'context':_0xcb5543,'isResolvable':_0x3fe5be});if(!_0x4984cb)return null;const _0x174981=this[_0x2f8e16(0x1bb)][_0x2f8e16(0x179)](_0x4984cb),_0x5ef9f2=_0x174981[_0x2f8e16(0x1e8)][_0x2f8e16(0x1f2)][_0x2f8e16(0x1a2)],_0x1a5d16=this[_0x2f8e16(0x22b)][_0x2f8e16(0x20a)][_0x2f8e16(0x179)](_0x6db8fa),_0x13efde=_0x1a5d16[_0x2f8e16(0x18d)](_0x174981[_0x2f8e16(0x1e8)]);return _0x1a5d16[_0x2f8e16(0x15f)](_0x13efde),_0x5ef9f2[_0x2f8e16(0x1be)](_0x2f8e16(0x207),()=>_0x5ef9f2[_0x2f8e16(0x236)]()),_0x4984cb;}[_0x4aacd6(0x1b0)](_0x51a846){const _0x1b3c45=_0x4aacd6;if(_0x1b3c45(0x1ad)!=typeof _0x51a846)throw new _0xd24c29(_0x1b3c45(0x1d8));return this[_0x1b3c45(0x17a)][_0x1b3c45(0x22e)](_0x51a846);}[_0x4aacd6(0x184)]({channelId:_0x382f7a=_t,threadId:_0x48cbf2,context:_0x5ef60d,unlinkedAt:_0x9ba033,attributes:_0x152992,isFromAdapter:_0x5a9c1f=!0x1}){const _0x7e947b=_0x4aacd6;return this[_0x7e947b(0x180)](Nt(_0x7e947b(0x184),_0x382f7a),{'channelId':_0x382f7a,'threadId':_0x48cbf2,'context':_0x5ef60d,'unlinkedAt':_0x9ba033,'attributes':_0x152992,'isFromAdapter':_0x5a9c1f}),this[_0x7e947b(0x169)](_0x48cbf2);}[_0x4aacd6(0x169)](_0x3d0d6f){const _0x5ab532=_0x4aacd6;if(_0x5ab532(0x1ad)!=typeof _0x3d0d6f)throw new _0xd24c29(_0x5ab532(0x1d8));return this[_0x5ab532(0x17a)][_0x5ab532(0x179)](_0x3d0d6f);}[_0x4aacd6(0x163)]({channelId:_0x4c1e29,threadId:_0x187c14}={}){const _0x1917c8=_0x4aacd6,_0x48621b=this[_0x1917c8(0x169)](_0x187c14);if(_0x48621b)return Promise[_0x1917c8(0x1a4)](_0x48621b);if(!this[_0x1917c8(0x205)])return Promise[_0x1917c8(0x1a4)](void 0x0);if(_0x1917c8(0x22c)!=typeof this[_0x1917c8(0x205)][_0x1917c8(0x169)])throw new _0xd24c29(_0x1917c8(0x1c3),this[_0x1917c8(0x22b)]);return this[_0x1917c8(0x205)][_0x1917c8(0x169)]({'channelId':_0x4c1e29,'threadId':_0x187c14})[_0x1917c8(0x1f7)](_0x26f0d9=>this[_0x1917c8(0x1b0)](_0x187c14)?this[_0x1917c8(0x169)](_0x187c14):_0x26f0d9?this[_0x1917c8(0x157)](Object[_0x1917c8(0x1dc)]({'isFromAdapter':!0x0,'channelId':_0x4c1e29},_0x26f0d9)):void 0x0)[_0x1917c8(0x235)](_0x31d143=>{const _0x46f928=_0x1917c8;throw console[_0x46f928(0x185)](_0x31d143),new _0xd24c29(_0x46f928(0x1a8),this[_0x46f928(0x22b)]);});}[_0x4aacd6(0x151)]({channelId:_0x426952,skipNotAttached:_0xdaec7=!0x1,skipEmpty:_0x3c4536=!0x1,toJSON:_0x451727=!0x1}={}){const _0x2c864d=_0x4aacd6,_0x51d0d1=[];for(const _0x3aacbb of this[_0x2c864d(0x17a)][_0x2c864d(0x153)]())_0x426952&&_0x3aacbb[_0x2c864d(0x1ff)]!==_0x426952||_0xdaec7&&!_0x3aacbb[_0x2c864d(0x1db)]||_0x3c4536&&0x0===_0x3aacbb[_0x2c864d(0x16a)]||_0x51d0d1[_0x2c864d(0x199)](_0x3aacbb);return _0x451727?_0x51d0d1[_0x2c864d(0x150)](_0x133d86=>_0x133d86[_0x2c864d(0x15d)]()):_0x51d0d1;}[_0x4aacd6(0x1d5)](_0x515bb9){const _0x3d0ff4=_0x4aacd6,_0x398c5b=this[_0x3d0ff4(0x1bb)][_0x3d0ff4(0x179)](_0x515bb9);if(!_0x398c5b)return null;return this[_0x3d0ff4(0x22b)][_0x3d0ff4(0x20a)][_0x3d0ff4(0x179)](_0x6db8fa)[_0x3d0ff4(0x18d)](_0x398c5b[_0x3d0ff4(0x1e8)])||null;}[_0x4aacd6(0x191)](_0x1b7090){const _0x425911=_0x4aacd6,_0x542196=this[_0x425911(0x1f1)][_0x425911(0x179)](_0x1b7090[_0x425911(0x152)]);return _0x542196?_0x542196[_0x425911(0x1d2)]:null;}[_0x4aacd6(0x1d3)](_0x4d39a6){const _0x5de138=_0x4aacd6,_0x3d38bf=this[_0x5de138(0x22b)][_0x5de138(0x20a)][_0x5de138(0x179)](_0x6db8fa);if(!_0x4d39a6)return void(this[_0x5de138(0x234)]&&_0x3d38bf[_0x5de138(0x182)]());const _0x45e48b=this[_0x5de138(0x169)](_0x4d39a6);if(!_0x45e48b)throw new _0xd24c29(_0x5de138(0x233),null,{'threadId':_0x4d39a6});if(!this[_0x5de138(0x1bb)][_0x5de138(0x22e)](_0x45e48b))throw new _0xd24c29(_0x5de138(0x218),null,{'threadId':_0x4d39a6});const _0x3f1c75=_0x3d38bf[_0x5de138(0x18d)](this[_0x5de138(0x1bb)][_0x5de138(0x179)](_0x45e48b)[_0x5de138(0x1e8)]);_0x3d38bf[_0x5de138(0x15f)](_0x3f1c75);}[_0x4aacd6(0x224)](_0x42710a,_0x2c9e4b){const _0x4c9ade=_0x4aacd6;_0x42710a?this[_0x4c9ade(0x1e5)][_0x4c9ade(0x20f)](_0x2c9e4b):this[_0x4c9ade(0x1e5)][_0x4c9ade(0x159)](_0x2c9e4b),this[_0x4c9ade(0x180)](_0x4c9ade(0x200),_0x4c9ade(0x1e5),this[_0x4c9ade(0x1e5)],this[_0x4c9ade(0x1e5)]);}[_0x4aacd6(0x176)](_0xf34616){const _0x532c10=_0x4aacd6;return this[_0x532c10(0x1e5)][_0x532c10(0x22e)](_0xf34616)||this[_0x532c10(0x1e5)][_0x532c10(0x22e)](void 0x0);}[_0x4aacd6(0x1ca)](_0x491469,_0x1ae250){return new _0x5ee85b(_0x491469,_0x1ae250);}[_0x4aacd6(0x201)](_0x2cce47,_0x14fa0e=_t){const _0x704c29=_0x4aacd6;this[_0x704c29(0x171)][_0x704c29(0x189)](_0x14fa0e,_0x2cce47),this[_0x704c29(0x180)](_0x704c29(0x17b),_0x704c29(0x171),this[_0x704c29(0x171)],this[_0x704c29(0x171)]);}[_0x4aacd6(0x19a)](_0x5501dd=_t){const _0x3b379d=_0x4aacd6;return this[_0x3b379d(0x171)][_0x3b379d(0x22e)](_0x5501dd)?this[_0x3b379d(0x171)][_0x3b379d(0x179)](_0x5501dd):bt;}[_0x4aacd6(0x1b1)]({channelId:_0x2bb0f1,threadId:_0x551b96,comments:_0x5b7d42,unlinkedAt:_0x16e62a,resolvedAt:_0x346763,resolvedBy:_0x2ca858,target:_0x43d95f,context:_0x6bc0d0,attributes:_0x2ae7b1,isFromAdapter:_0x4ddc8b,isResolvable:_0x56a112,isSubmitted:_0x26a5d6}){const _0x3fa48a=_0x4aacd6;if(_0x3fa48a(0x1ad)!=typeof _0x551b96)throw new _0xd24c29(_0x3fa48a(0x1d8),null,{'threadId':_0x551b96});if(this[_0x3fa48a(0x1b0)](_0x551b96))throw new _0xd24c29(_0x3fa48a(0x194),null,{'threadId':_0x551b96});const _0x1e792e=new CommentThread(this,{'channelId':_0x2bb0f1,'id':_0x551b96,'context':_0x6bc0d0,'attributes':_0x2ae7b1,'unlinkedAt':_0x16e62a,'resolvedAt':_0x346763,'resolvedBy':_0x2ca858?this[_0x3fa48a(0x22b)][_0x3fa48a(0x20a)][_0x3fa48a(0x179)](_0x3b63c6)[_0x3fa48a(0x1e0)](_0x2ca858):null,'isResolvable':_0x56a112,'isSubmitted':_0x26a5d6||_0x4ddc8b});this[_0x3fa48a(0x17a)][_0x3fa48a(0x189)](_0x551b96,_0x1e792e);for(const _0x30d3c5 of _0x5b7d42)_0x1e792e[_0x3fa48a(0x1a3)](this[_0x3fa48a(0x158)]({'threadId':_0x551b96,..._0x30d3c5}));return _0x43d95f&&_0x1e792e[_0x3fa48a(0x206)](_0x43d95f),_0x4ddc8b||!_0x1e792e[_0x3fa48a(0x16a)]?Promise[_0x3fa48a(0x1a4)]():this[_0x3fa48a(0x19c)]({'channelId':_0x2bb0f1,'threadId':_0x551b96});}[_0x4aacd6(0x19c)]({channelId:_0x30fc22,threadId:_0x1b77aa}){const _0x17ad8e=_0x4aacd6;if(!this[_0x17ad8e(0x1b0)](_0x1b77aa))throw new _0xd24c29(_0x17ad8e(0x193),this);const _0x2e1b27=this[_0x17ad8e(0x169)](_0x1b77aa);if(_0x2e1b27[_0x17ad8e(0x20c)]=!0x0,!this[_0x17ad8e(0x205)]||_0x17ad8e(0x22c)!=typeof this[_0x17ad8e(0x205)][_0x17ad8e(0x157)])return Promise[_0x17ad8e(0x1a4)]();const {id:_0x4dce3c,comments:_0x3c36f0,resolvedAt:_0x3456f2,resolvedBy:_0x384397,context:_0x20be23,attributes:_0x1478e0}=_0x2e1b27,_0x535415=this[_0x17ad8e(0x22b)][_0x17ad8e(0x20a)][_0x17ad8e(0x179)](_0x17ad8e(0x1c6)),_0x593ac9=_0x535415[_0x17ad8e(0x20f)](_0x5ea187(this[_0x17ad8e(0x22b)][_0x17ad8e(0x1ec)],_0x17ad8e(0x1ba)));return this[_0x17ad8e(0x205)][_0x17ad8e(0x157)]({'channelId':_0x30fc22,'threadId':_0x4dce3c,'comments':_0x3c36f0[_0x17ad8e(0x150)](_0x120987=>_0x120987[_0x17ad8e(0x15d)]()),'resolvedAt':_0x3456f2,'resolvedBy':_0x384397?_0x384397['id']:_0x384397,'context':_0x20be23,'attributes':_0x1478e0})[_0x17ad8e(0x1f7)](({comments:_0xb78dda})=>{const _0x1015bd=_0x17ad8e;_0x535415[_0x1015bd(0x17d)](_0x593ac9);for(const _0x1a5de1 of _0xb78dda)this[_0x1015bd(0x22f)]({'channelId':_0x30fc22,'threadId':_0x1b77aa,'commentId':_0x1a5de1[_0x1015bd(0x1e1)],'createdAt':_0x1a5de1[_0x1015bd(0x1f4)],'isFromAdapter':!0x0});})[_0x17ad8e(0x235)](_0x36c87c=>{const _0x3aafe6=_0x17ad8e;throw console[_0x3aafe6(0x185)](_0x36c87c),new _0xd24c29(_0x3aafe6(0x18b),this);});}[_0x4aacd6(0x1b5)]({threadId:_0x3fa33c,target:_0x52b69d}){const _0xe92581=_0x4aacd6,_0x3f7507=this[_0xe92581(0x169)](_0x3fa33c);if(!_0x3f7507)throw new _0xd24c29(_0xe92581(0x174),this);const _0x595ab7=this[_0xe92581(0x22b)][_0xe92581(0x20a)][_0xe92581(0x179)](_0xe92581(0x1c6)),_0x139af4=this[_0xe92581(0x22b)][_0xe92581(0x20a)][_0xe92581(0x179)](_0x6db8fa),_0x42cd5a=this[_0xe92581(0x15b)](_0x3f7507),_0x367eed=new _0x5ee85b(_0x3f7507,_0x42cd5a);let _0x20b8cd=null;_0x42cd5a['on'](_0xe92581(0x1ab),(_0x2ba8cf,_0x4b32c9,_0x110326)=>{const _0x2e87c5=_0xe92581;_0x110326?_0x20b8cd=_0x595ab7[_0x2e87c5(0x20f)](_0x5ea187(this[_0x2e87c5(0x22b)][_0x2e87c5(0x1ec)],_0x2e87c5(0x1ba))):_0x20b8cd&&(_0x595ab7[_0x2e87c5(0x17d)](_0x20b8cd),_0x20b8cd=null);}),this[_0xe92581(0x1bb)][_0xe92581(0x189)](_0x3f7507,_0x367eed),this[_0xe92581(0x1f1)][_0xe92581(0x189)](_0x42cd5a,_0x367eed);const _0x3b17a3=new _0x49c793(this[_0xe92581(0x22b)][_0xe92581(0x1ec)],_0x42cd5a);_0x3b17a3[_0xe92581(0x1da)](_0xe92581(0x16a))['to'](_0x42cd5a),_0x3b17a3[_0xe92581(0x1da)](_0xe92581(0x1a7))['to'](_0x42cd5a,_0xe92581(0x1a7),_0x42cd5a,_0xe92581(0x16a),(_0x4499fd,_0xaff004)=>_0x4499fd||!_0xaff004),_0x3b17a3[_0xe92581(0x1da)](_0xe92581(0x1ef))['to'](_0x42cd5a),_0x3b17a3[_0xe92581(0x15a)]=_0xe92581(0x229);const _0x2aebc8=new _0x470169({'view':_0x3b17a3,'target':_0x52b69d,'type':_0xe92581(0x229),'isVisible':!_0x3f7507[_0xe92581(0x1d7)]&&!!(_0xe92581(0x22c)==typeof _0x52b69d?_0x52b69d():_0x52b69d)});return _0x42cd5a['on'](_0xe92581(0x1a9),()=>{const _0x3ac23e=_0xe92581;_0x2aebc8[_0x3ac23e(0x180)](_0x3ac23e(0x1a9));}),this[_0xe92581(0x177)](_0x42cd5a,_0x2aebc8),_0x139af4[_0xe92581(0x20f)](_0x2aebc8),_0x2aebc8;}[_0x4aacd6(0x177)](_0x5d1eda,_0x24cdd7){const _0x3d68c6=_0x4aacd6;this[_0x3d68c6(0x162)](_0x5d1eda,_0x3d68c6(0x207),(_0x3b64c1,_0x74483a)=>{const _0x35153d=_0x3d68c6,_0x44c95b=_0x74483a['ui'][_0x35153d(0x1e8)][_0x35153d(0x1ae)][_0x35153d(0x209)];_0x24cdd7[_0x35153d(0x20d)][_0x35153d(0x20f)](_0x44c95b),this[_0x35153d(0x22b)]instanceof _0x3573bb&&this[_0x35153d(0x22b)]['ui'][_0x35153d(0x214)][_0x35153d(0x20f)](_0x44c95b);},{'priority':_0x3d68c6(0x1ce)}),this[_0x3d68c6(0x162)](_0x5d1eda,_0x3d68c6(0x1e4),(_0x338267,_0x52bd45)=>{const _0x3018a6=_0x3d68c6,_0x4c2ea1=_0x52bd45['ui'][_0x3018a6(0x1e8)][_0x3018a6(0x1ae)][_0x3018a6(0x209)];_0x24cdd7[_0x3018a6(0x20d)][_0x3018a6(0x22e)](_0x4c2ea1)&&_0x24cdd7[_0x3018a6(0x20d)][_0x3018a6(0x17d)](_0x4c2ea1),this[_0x3018a6(0x22b)]instanceof _0x3573bb&&this[_0x3018a6(0x22b)]['ui'][_0x3018a6(0x214)][_0x3018a6(0x17d)](_0x4c2ea1);});}[_0x4aacd6(0x1e2)](_0xfd3eb9){const _0x4546cc=_0x4aacd6;this[_0x4546cc(0x1f6)](_0xfd3eb9,_0x4546cc(0x207)),this[_0x4546cc(0x1f6)](_0xfd3eb9,_0x4546cc(0x1e4));}[_0x4aacd6(0x15b)](_0x1368e3){const _0x5272a3=_0x4aacd6,_0x34bba3=this[_0x5272a3(0x22b)][_0x5272a3(0x20a)][_0x5272a3(0x179)](_0x3b63c6),{config:_0x1f9ba5,locale:_0x382a9a}=this[_0x5272a3(0x22b)],_0x320517=_0x36d6a0(_0x1f9ba5[_0x5272a3(0x179)](_0x5272a3(0x1ec)),_0x382a9a);return new(0x0,(_0x1f9ba5[_0x5272a3(0x179)](_0x5272a3(0x160)))[(_0x5272a3(0x186))])(_0x382a9a,_0x1368e3,_0x34bba3['me'],{'editorConfig':{..._0x1f9ba5[_0x5272a3(0x179)](_0x5272a3(0x222)),'licenseKey':this[_0x5272a3(0x22b)][_0x5272a3(0x1dd)][_0x5272a3(0x179)](_0x5272a3(0x208))},'copyMarkers':_0x1f9ba5[_0x5272a3(0x179)](_0x5272a3(0x1fb)),'maxCommentsWhenCollapsed':_0x1f9ba5[_0x5272a3(0x179)](_0x5272a3(0x1bc)),'maxThreadTotalWeight':_0x1f9ba5[_0x5272a3(0x179)](_0x5272a3(0x204)),'maxCommentCharsWhenCollapsed':_0x1f9ba5[_0x5272a3(0x179)](_0x5272a3(0x21b)),'formatDateTime':_0x320517,'CommentView':_0x1f9ba5[_0x5272a3(0x179)](_0x5272a3(0x160))[_0x5272a3(0x1a0)]});}[_0x4aacd6(0x178)]({threadId:_0x5dadb6,channelId:_0x104d85,resolvedAt:_0x48e119,resolvedBy:_0x33842e,isFromAdapter:_0x69f5d}){const _0x1f9480=_0x4aacd6;if(!this[_0x1f9480(0x1b0)](_0x5dadb6))throw new _0xd24c29(_0x1f9480(0x193),null,{'threadId':_0x5dadb6});const _0x3fde23=this[_0x1f9480(0x169)](_0x5dadb6);if(_0x3fde23[_0x1f9480(0x1cc)])throw new _0xd24c29(_0x1f9480(0x231),null,{'threadId':_0x5dadb6});const _0x47c82d=this[_0x1f9480(0x22b)][_0x1f9480(0x20a)][_0x1f9480(0x179)](_0x3b63c6);if(_0x3fde23[_0x1f9480(0x21e)]=_0x47c82d[_0x1f9480(0x1e0)](_0x33842e),_0x3fde23[_0x1f9480(0x154)]=_0x48e119,_0x69f5d||!this[_0x1f9480(0x205)]||_0x1f9480(0x22c)!=typeof this[_0x1f9480(0x205)][_0x1f9480(0x1c7)])return Promise[_0x1f9480(0x1a4)]();const _0x541bb1=this[_0x1f9480(0x22b)][_0x1f9480(0x20a)][_0x1f9480(0x179)](_0x1f9480(0x1c6)),_0x20e233=_0x541bb1[_0x1f9480(0x20f)](_0x5ea187(this[_0x1f9480(0x22b)][_0x1f9480(0x1ec)],_0x1f9480(0x1ba)));return this[_0x1f9480(0x205)][_0x1f9480(0x1c7)]({'channelId':_0x104d85,'threadId':_0x5dadb6})[_0x1f9480(0x1f7)](({resolvedAt:_0x3e2c0d,resolvedBy:_0x56fa0c})=>{const _0x3afde1=_0x1f9480;_0x541bb1[_0x3afde1(0x17d)](_0x20e233),_0x3fde23[_0x3afde1(0x21e)]['id']!==_0x56fa0c&&(_0x3fde23[_0x3afde1(0x21e)]=_0x47c82d[_0x3afde1(0x1e0)](_0x56fa0c)),_0x3fde23[_0x3afde1(0x154)]=_0x3e2c0d;})[_0x1f9480(0x235)](_0x2d2c49=>{const _0x4c5834=_0x1f9480;throw console[_0x4c5834(0x185)](_0x2d2c49),new _0xd24c29(_0x4c5834(0x1e9),this);});}[_0x4aacd6(0x1ee)]({threadId:_0x2feb63,channelId:_0x4f9fd1,isFromAdapter:_0x163b96}){const _0x498108=_0x4aacd6;if(!this[_0x498108(0x1b0)](_0x2feb63))throw new _0xd24c29(_0x498108(0x193),null,{'threadId':_0x2feb63});const _0x13fa86=this[_0x498108(0x169)](_0x2feb63);if(!_0x13fa86[_0x498108(0x1cc)])throw new _0xd24c29(_0x498108(0x167),null,{'threadId':_0x2feb63});if(_0x13fa86[_0x498108(0x21e)]=null,_0x13fa86[_0x498108(0x154)]=null,_0x163b96||!this[_0x498108(0x205)]||_0x498108(0x22c)!=typeof this[_0x498108(0x205)][_0x498108(0x1fa)])return Promise[_0x498108(0x1a4)]();const _0xe692aa=this[_0x498108(0x22b)][_0x498108(0x20a)][_0x498108(0x179)](_0x498108(0x1c6)),_0x142ebf=_0xe692aa[_0x498108(0x20f)](_0x5ea187(this[_0x498108(0x22b)][_0x498108(0x1ec)],_0x498108(0x1ba)));return this[_0x498108(0x205)][_0x498108(0x1fa)]({'channelId':_0x4f9fd1,'threadId':_0x2feb63})[_0x498108(0x1f7)](()=>_0xe692aa[_0x498108(0x17d)](_0x142ebf))[_0x498108(0x235)](_0xaf3d75=>{const _0x76b7c5=_0x498108;throw console[_0x76b7c5(0x185)](_0xaf3d75),new _0xd24c29(_0x76b7c5(0x17c),this);});}[_0x4aacd6(0x15e)]({threadId:_0x3794b0,isFromAdapter:_0x63cac}){const _0x29a8ce=_0x4aacd6,_0x2e988d=this[_0x29a8ce(0x169)](_0x3794b0);if(!_0x2e988d)throw new _0xd24c29(_0x29a8ce(0x16b),this);if(this[_0x29a8ce(0x166)](_0x3794b0),this[_0x29a8ce(0x17a)][_0x29a8ce(0x159)](_0x3794b0),!_0x2e988d[_0x29a8ce(0x1bf)]||_0x63cac||!this[_0x29a8ce(0x205)]||_0x29a8ce(0x22c)!=typeof this[_0x29a8ce(0x205)][_0x29a8ce(0x18f)])return Promise[_0x29a8ce(0x1a4)]();const _0x1eaf9b=this[_0x29a8ce(0x22b)][_0x29a8ce(0x20a)][_0x29a8ce(0x179)](_0x29a8ce(0x1c6)),{channelId:_0x533d09}=_0x2e988d,_0x13422a=_0x1eaf9b[_0x29a8ce(0x20f)](_0x5ea187(this[_0x29a8ce(0x22b)][_0x29a8ce(0x1ec)],_0x29a8ce(0x1ba)));return this[_0x29a8ce(0x205)][_0x29a8ce(0x18f)]({'channelId':_0x533d09,'threadId':_0x3794b0})[_0x29a8ce(0x1f7)](()=>_0x1eaf9b[_0x29a8ce(0x17d)](_0x13422a))[_0x29a8ce(0x235)](_0xda4b6=>{const _0x1bb513=_0x29a8ce;throw console[_0x1bb513(0x185)](_0xda4b6),new _0xd24c29(_0x1bb513(0x1ea),this);});}[_0x4aacd6(0x168)]({threadId:_0x2370cc,unlinkedAt:_0x11ddb0,context:_0x2fc4e4,attributes:_0x1181e1,isFromAdapter:_0x5fabb1}){const _0x110c05=_0x4aacd6;if(_0x110c05(0x1ad)!=typeof _0x2370cc)throw new _0xd24c29(_0x110c05(0x1d8),null,{'threadId':_0x2370cc});if(!this[_0x110c05(0x1b0)](_0x2370cc))throw new _0xd24c29(_0x110c05(0x193),null,{'threadId':_0x2370cc});const _0x13dcf0=this[_0x110c05(0x169)](_0x2370cc);let _0x3d51d2=!0x1;if(void 0x0!==_0x2fc4e4&&_0x13dcf0[_0x110c05(0x22b)]!==_0x2fc4e4&&(_0x13dcf0[_0x110c05(0x22b)]=_0x2fc4e4,_0x3d51d2=!0x0),void 0x0!==_0x11ddb0&&_0x13dcf0[_0x110c05(0x170)]!==_0x11ddb0&&(_0x13dcf0[_0x110c05(0x170)]=_0x11ddb0,_0x3d51d2=!0x0),_0x1181e1&&!_0x44126e(_0x1181e1,_0x13dcf0[_0x110c05(0x1eb)])&&(_0x13dcf0[_0x110c05(0x1eb)]=_0x1181e1,_0x3d51d2=!0x0),!_0x3d51d2)return Promise[_0x110c05(0x1a4)]();if(!_0x13dcf0[_0x110c05(0x1bf)]||_0x5fabb1||!this[_0x110c05(0x205)]||_0x110c05(0x22c)!=typeof this[_0x110c05(0x205)][_0x110c05(0x184)])return Promise[_0x110c05(0x1a4)]();const _0x4486ce=this[_0x110c05(0x22b)][_0x110c05(0x20a)][_0x110c05(0x179)](_0x110c05(0x1c6)),{channelId:_0x291c11}=_0x13dcf0,_0x50578f=_0x4486ce[_0x110c05(0x20f)](_0x5ea187(this[_0x110c05(0x22b)][_0x110c05(0x1ec)],_0x110c05(0x1ba)));return this[_0x110c05(0x205)][_0x110c05(0x184)]({'channelId':_0x291c11,'threadId':_0x2370cc,'context':_0x2fc4e4,'unlinkedAt':_0x11ddb0,'attributes':_0x1181e1})[_0x110c05(0x1f7)](()=>_0x4486ce[_0x110c05(0x17d)](_0x50578f))[_0x110c05(0x235)](_0x554b8f=>{const _0xa619f3=_0x110c05;throw console[_0xa619f3(0x185)](_0x554b8f),new _0xd24c29(_0xa619f3(0x216),this);});}[_0x4aacd6(0x166)](_0x15991f){const _0x4fc4b8=_0x4aacd6,_0x32045c=this[_0x4fc4b8(0x22b)][_0x4fc4b8(0x20a)][_0x4fc4b8(0x179)](_0x6db8fa),_0x4914df=this[_0x4fc4b8(0x169)](_0x15991f);if(_0x4914df[_0x4fc4b8(0x211)]=!0x1,this[_0x4fc4b8(0x1bb)][_0x4fc4b8(0x22e)](_0x4914df)){const _0x1c7c47=this[_0x4fc4b8(0x1bb)][_0x4fc4b8(0x179)](_0x4914df),_0x4eb99e=_0x1c7c47[_0x4fc4b8(0x1e8)],_0xbe69b8=_0x32045c[_0x4fc4b8(0x18d)](_0x4eb99e);this[_0x4fc4b8(0x1bb)][_0x4fc4b8(0x159)](_0x4914df),this[_0x4fc4b8(0x1f1)][_0x4fc4b8(0x159)](_0x4eb99e),_0xbe69b8&&_0x32045c[_0x4fc4b8(0x17d)](_0xbe69b8),_0x1c7c47[_0x4fc4b8(0x215)](),_0x4eb99e[_0x4fc4b8(0x215)]()[_0x4fc4b8(0x1f7)](()=>{const _0x3ea4f0=_0x4fc4b8;this[_0x3ea4f0(0x1e2)](_0x4eb99e);});}}[_0x4aacd6(0x1d0)]({threadId:_0x5cbcf8,resolvedAt:_0x4588bf,unlinkedAt:_0x43bed5}){const _0x1c8f74=_0x4aacd6,_0x293fcb=!!_0x4588bf,_0x42aa30=this[_0x1c8f74(0x22b)][_0x1c8f74(0x20a)][_0x1c8f74(0x179)](_0x6db8fa),_0x4c8205=this[_0x1c8f74(0x169)](_0x5cbcf8);if(this[_0x1c8f74(0x1bb)][_0x1c8f74(0x22e)](_0x4c8205)){const _0xaf4d6f=this[_0x1c8f74(0x1bb)][_0x1c8f74(0x179)](_0x4c8205)[_0x1c8f74(0x1e8)],_0x5b55d6=_0x42aa30[_0x1c8f74(0x18d)](_0xaf4d6f);_0x5b55d6&&(_0x293fcb&&_0x42aa30[_0x1c8f74(0x1f5)](_0x5b55d6),_0x43bed5?_0x5b55d6[_0x1c8f74(0x190)]=!0x1:_0x5b55d6[_0x1c8f74(0x188)]());}}[_0x4aacd6(0x156)](_0x12409e){const _0x28c30b=_0x4aacd6,_0x34c3ce=this[_0x28c30b(0x22b)][_0x28c30b(0x20a)][_0x28c30b(0x179)](_0x3b63c6),_0x201005=_0x4d1aea(_0x28c30b(0x16c)+_0x12409e),_0x49e170=_0x34c3ce[_0x28c30b(0x1e0)](_0x201005);return _0x49e170||_0x34c3ce[_0x28c30b(0x21a)]({'id':_0x201005,'name':_0x12409e});}[_0x4aacd6(0x158)]({threadId:_0x5bd428,commentId:_0x3e3a7e=_0x21cd9f(),content:_0x573a98,authorId:_0x4d2cd3,createdAt:_0x24296d,attributes:_0x1ad075}){const _0x5357e3=_0x4aacd6;if(_0x5357e3(0x1ad)!=typeof _0x3e3a7e)throw new _0xd24c29(_0x5357e3(0x16d));if(_0x5357e3(0x1ad)!=typeof _0x4d2cd3)throw new _0xd24c29(_0x5357e3(0x223));if(_0x5357e3(0x1ad)!=typeof _0x573a98||!_0x573a98[_0x5357e3(0x16f)]())throw new _0xd24c29(_0x5357e3(0x1f3));const _0x1bfbc9=this[_0x5357e3(0x22b)][_0x5357e3(0x20a)][_0x5357e3(0x179)](_0x3b63c6)[_0x5357e3(0x1e0)](_0x4d2cd3);if(!_0x1bfbc9)throw new _0xd24c29(_0x5357e3(0x1d9),null,{'authorId':_0x4d2cd3});let _0x2c8e52=null,_0x13035d=_0x24296d;return _0x1ad075?.[_0x5357e3(0x21f)]&&(_0x2c8e52=this[_0x5357e3(0x156)](_0x1ad075[_0x5357e3(0x21f)][_0x5357e3(0x1b2)]),_0x13035d=new Date(_0x1ad075[_0x5357e3(0x21f)][_0x5357e3(0x1f4)])),new Comment(this,{'threadId':_0x5bd428,'id':_0x3e3a7e,'author':_0x2c8e52||_0x1bfbc9,'creator':_0x1bfbc9,'content':_0x573a98,'createdAt':_0x24296d,'authoredAt':_0x13035d,'attributes':_0x1ad075});}[_0x4aacd6(0x1c5)](_0x4f13f8){const _0x3accb0=_0x4aacd6;let {threadId:_0x48d17b,content:_0x392747,attributes:_0xd9ab59,isFromAdapter:_0x31c8d0}=_0x4f13f8;const _0x536db3=this[_0x3accb0(0x169)](_0x4f13f8[_0x3accb0(0x1d1)]);if(!_0x536db3)throw new _0xd24c29(_0x3accb0(0x1f8),this);const _0x40380a=this[_0x3accb0(0x158)](_0x4f13f8),{id:_0x477847}=_0x40380a;if(_0x536db3[_0x3accb0(0x1a3)](_0x40380a),_0x31c8d0||!this[_0x3accb0(0x205)]||_0x3accb0(0x22c)!=typeof this[_0x3accb0(0x205)][_0x3accb0(0x1a6)]||!_0x536db3[_0x3accb0(0x1bf)])return Promise[_0x3accb0(0x1a4)]();const _0x454678=this[_0x3accb0(0x22b)][_0x3accb0(0x20a)][_0x3accb0(0x179)](_0x3accb0(0x1c6)),{channelId:_0x727a38}=_0x536db3,_0x12ce42=_0x454678[_0x3accb0(0x20f)](_0x5ea187(this[_0x3accb0(0x22b)][_0x3accb0(0x1ec)],_0x3accb0(0x1ba)));return _0xd9ab59||(_0xd9ab59={}),this[_0x3accb0(0x205)][_0x3accb0(0x1a6)]({'channelId':_0x727a38,'threadId':_0x48d17b,'commentId':_0x477847,'content':_0x392747,'attributes':_0xd9ab59})[_0x3accb0(0x1f7)](_0x116998=>{const _0x166114=_0x3accb0;_0x454678[_0x166114(0x17d)](_0x12ce42),_0x116998&&this[_0x166114(0x22f)]({'channelId':_0x727a38,'threadId':_0x48d17b,'commentId':_0x477847,'createdAt':_0x116998[_0x166114(0x1f4)],'isFromAdapter':!0x0});})[_0x3accb0(0x235)](_0x5bba04=>{const _0x5e30a7=_0x3accb0;throw console[_0x5e30a7(0x185)](_0x5bba04),new _0xd24c29(_0x5e30a7(0x1df),this);});}[_0x4aacd6(0x22f)]({threadId:_0x3e1169,commentId:_0x15bc0f,content:_0x48711a,createdAt:_0x50f43b,attributes:_0x10ab25,isFromAdapter:_0x476d84}){const _0x209b70=_0x4aacd6;if(void 0x0!==_0x48711a&&(_0x209b70(0x1ad)!=typeof _0x48711a||!_0x48711a[_0x209b70(0x16f)]()[_0x209b70(0x16a)]))throw new _0xd24c29(_0x209b70(0x1a1));const _0x3f1793=this[_0x209b70(0x169)](_0x3e1169),_0x27bc7e=_0x3f1793[_0x209b70(0x1b8)](_0x15bc0f);if(!_0x27bc7e)throw new _0xd24c29(_0x209b70(0x220),this);let _0x3f488d=!0x1;if(_0x48711a&&_0x48711a!==_0x27bc7e[_0x209b70(0x165)]&&(_0x27bc7e[_0x209b70(0x1fe)]||_0x476d84)&&(_0x27bc7e[_0x209b70(0x165)]=_0x48711a,_0x3f488d=!0x0),_0x50f43b&&_0x50f43b!==_0x27bc7e[_0x209b70(0x1f4)]&&(_0x27bc7e[_0x209b70(0x1f4)]=_0x50f43b,_0x27bc7e[_0x209b70(0x1eb)]&&_0x27bc7e[_0x209b70(0x1eb)][_0x209b70(0x21f)]||(_0x27bc7e[_0x209b70(0x1cf)]=_0x50f43b),_0x3f488d=!0x0),_0x10ab25&&!_0x44126e(_0x10ab25,_0x27bc7e[_0x209b70(0x1eb)])&&(_0x27bc7e[_0x209b70(0x1eb)]=_0x10ab25,_0x3f488d=!0x0),!_0x3f488d)return Promise[_0x209b70(0x1a4)]();if(_0x3f1793[_0x209b70(0x180)](_0x209b70(0x1fd)),_0x476d84||!this[_0x209b70(0x205)]||_0x209b70(0x22c)!=typeof this[_0x209b70(0x205)][_0x209b70(0x16e)])return Promise[_0x209b70(0x1a4)]();const _0x41469c=this[_0x209b70(0x22b)][_0x209b70(0x20a)][_0x209b70(0x179)](_0x209b70(0x1c6)),{channelId:_0x38d955}=this[_0x209b70(0x169)](_0x27bc7e[_0x209b70(0x1d1)]),_0x4c8892=_0x41469c[_0x209b70(0x20f)](_0x5ea187(this[_0x209b70(0x22b)][_0x209b70(0x1ec)],_0x209b70(0x1ba)));return this[_0x209b70(0x205)][_0x209b70(0x16e)]({'channelId':_0x38d955,'threadId':_0x3e1169,'commentId':_0x15bc0f,'content':_0x48711a,'attributes':_0x10ab25})[_0x209b70(0x1f7)](()=>_0x41469c[_0x209b70(0x17d)](_0x4c8892))[_0x209b70(0x235)](_0x5ec759=>{const _0x45bfdf=_0x209b70;throw console[_0x45bfdf(0x185)](_0x5ec759),new _0xd24c29(_0x45bfdf(0x1f9),this);});}[_0x4aacd6(0x15c)]({threadId:_0x3a8857,commentId:_0x2d8d96,isFromAdapter:_0xde8fa5}){const _0x5ad6aa=_0x4aacd6,_0xfbf4be=this[_0x5ad6aa(0x169)](_0x3a8857),_0x5ea454=_0xfbf4be[_0x5ad6aa(0x1b8)](_0x2d8d96);if(!_0x5ea454)throw new _0xd24c29(_0x5ad6aa(0x228),this);if(_0xfbf4be[_0x5ad6aa(0x1b3)](_0x5ea454),_0xde8fa5||!this[_0x5ad6aa(0x205)]||_0x5ad6aa(0x22c)!=typeof this[_0x5ad6aa(0x205)][_0x5ad6aa(0x1fc)])return Promise[_0x5ad6aa(0x1a4)]();const _0x4fa2a1=this[_0x5ad6aa(0x22b)][_0x5ad6aa(0x20a)][_0x5ad6aa(0x179)](_0x5ad6aa(0x1c6)),{channelId:_0x55de24}=_0xfbf4be,_0x14b5d0=_0x4fa2a1[_0x5ad6aa(0x20f)](_0x5ea187(this[_0x5ad6aa(0x22b)][_0x5ad6aa(0x1ec)],_0x5ad6aa(0x1ba)));return this[_0x5ad6aa(0x205)][_0x5ad6aa(0x1fc)]({'channelId':_0x55de24,'threadId':_0x3a8857,'commentId':_0x2d8d96})[_0x5ad6aa(0x1f7)](()=>_0x4fa2a1[_0x5ad6aa(0x17d)](_0x14b5d0))[_0x5ad6aa(0x235)](_0x3d3c9a=>{const _0x2cb1c1=_0x5ad6aa;throw console[_0x2cb1c1(0x185)](_0x3d3c9a),new _0xd24c29(_0x2cb1c1(0x195),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x504ca3(){[_0x4aacd6(0x1ff)];['id'];[_0x4aacd6(0x211)];[_0x4aacd6(0x20c)];[_0x4aacd6(0x160)];[_0x4aacd6(0x1b4)];constructor(_0x30acca,_0x2af2b2){const _0x3c5db0=_0x4aacd6;super();const _0x116340=_0x2af2b2[_0x3c5db0(0x155)];this[_0x3c5db0(0x1ff)]=_0x2af2b2[_0x3c5db0(0x1ff)],this['id']=_0x2af2b2['id'],this[_0x3c5db0(0x160)]=new _0x5c8ba7(),this[_0x3c5db0(0x1b4)]=_0x30acca,this[_0x3c5db0(0x211)]=!0x1,this[_0x3c5db0(0x20c)]=_0x2af2b2[_0x3c5db0(0x1bf)],this[_0x3c5db0(0x189)](_0x3c5db0(0x237),!0x0),this[_0x3c5db0(0x1da)](_0x3c5db0(0x176))['to'](_0x30acca,_0x3c5db0(0x171),_0x30acca,_0x3c5db0(0x1e5),()=>_0x30acca[_0x3c5db0(0x176)](this[_0x3c5db0(0x1ff)])),this[_0x3c5db0(0x1da)](_0x3c5db0(0x18e))['to'](_0x30acca,_0x3c5db0(0x171),()=>_0x30acca[_0x3c5db0(0x19a)](this[_0x3c5db0(0x1ff)])[_0x3c5db0(0x1e7)]),this[_0x3c5db0(0x1da)](_0x3c5db0(0x19d))['to'](_0x30acca,_0x3c5db0(0x171),()=>{const _0x1ac40e=_0x3c5db0,_0x4d9fba=_0x30acca[_0x1ac40e(0x19a)](this[_0x1ac40e(0x1ff)]);return _0x4d9fba[_0x1ac40e(0x192)]||_0x4d9fba[_0x1ac40e(0x1e7)];}),this[_0x3c5db0(0x1da)](_0x3c5db0(0x155))['to'](_0x30acca,_0x3c5db0(0x171),()=>_0x116340&&_0x30acca[_0x3c5db0(0x19a)](this[_0x3c5db0(0x1ff)])[_0x3c5db0(0x1a4)]),this[_0x3c5db0(0x189)](_0x3c5db0(0x22b),_0x2af2b2[_0x3c5db0(0x22b)]),this[_0x3c5db0(0x1da)](_0x3c5db0(0x1d7))['to'](this,_0x3c5db0(0x154),this,_0x3c5db0(0x170),(_0x181d42,_0x600eff)=>_0x181d42?_0x600eff?_0x181d42<_0x600eff?_0x181d42:_0x600eff:_0x181d42:_0x600eff),this[_0x3c5db0(0x189)](_0x3c5db0(0x170),_0x2af2b2[_0x3c5db0(0x170)]||null),this[_0x3c5db0(0x189)](_0x3c5db0(0x154),_0x2af2b2[_0x3c5db0(0x154)]||null),this[_0x3c5db0(0x189)](_0x3c5db0(0x21e),_0x2af2b2[_0x3c5db0(0x21e)]||null),this[_0x3c5db0(0x1da)](_0x3c5db0(0x1cc))['to'](this,_0x3c5db0(0x154),_0x5da5b1=>!!_0x5da5b1),this[_0x3c5db0(0x189)](_0x3c5db0(0x1eb),_0x2af2b2[_0x3c5db0(0x1eb)]||{});}get[_0x4aacd6(0x1c8)](){const _0x5eeb1f=_0x4aacd6;return Array[_0x5eeb1f(0x181)](this[_0x5eeb1f(0x160)])[_0x5eeb1f(0x161)]((_0x304c15,_0xb53e2c)=>_0x304c15+_0xb53e2c[_0x5eeb1f(0x1c8)],0x0);}get[_0x4aacd6(0x16a)](){const _0x115392=_0x4aacd6;return this[_0x115392(0x160)][_0x115392(0x16a)];}get[_0x4aacd6(0x1db)](){const _0x14353d=_0x4aacd6;return this[_0x14353d(0x211)];}get[_0x4aacd6(0x1bf)](){const _0x20b70e=_0x4aacd6;return this[_0x20b70e(0x20c)];}[_0x4aacd6(0x1aa)](){const _0x46d3f9=_0x4aacd6,{channelId:_0x29b915,id:_0x5e4790}=this;this[_0x46d3f9(0x1b4)][_0x46d3f9(0x180)](Nt(_0x46d3f9(0x18c),_0x29b915),{'channelId':_0x29b915,'threadId':_0x5e4790});}[_0x4aacd6(0x164)](_0x1184da){const _0x523b21=_0x4aacd6;this[_0x523b21(0x17f)]({'unlinkedAt':_0x1184da});}[_0x4aacd6(0x1a4)]({resolvedAt:_0x44d9a3=new Date(),resolvedBy:_0xc67b92=null,isFromAdapter:_0x74c4cf=!0x1}={}){const _0x4aafb2=_0x4aacd6,_0x3bee8c=this[_0x4aafb2(0x1b4)][_0x4aafb2(0x22b)][_0x4aafb2(0x20a)][_0x4aafb2(0x179)](_0x3b63c6)['me'],{channelId:_0x190c54,id:_0x53e36d}=this;this[_0x4aafb2(0x1b4)][_0x4aafb2(0x180)](Nt(_0x4aafb2(0x1c7),_0x190c54),{'channelId':_0x190c54,'threadId':_0x53e36d,'resolvedAt':_0x44d9a3,'resolvedBy':_0xc67b92||_0x3bee8c['id'],'isFromAdapter':_0x74c4cf});}[_0x4aacd6(0x210)]({isFromAdapter:_0x413d31=!0x1}={}){const _0x5e1173=_0x4aacd6,{channelId:_0x2e3098,id:_0x367357}=this;this[_0x5e1173(0x1b4)][_0x5e1173(0x180)](Nt(_0x5e1173(0x1fa),_0x2e3098),{'channelId':_0x2e3098,'threadId':_0x367357,'isFromAdapter':_0x413d31});}[_0x4aacd6(0x18a)](_0x5ddeb6){const _0x7d837f=_0x4aacd6;this[_0x7d837f(0x22b)]||this[_0x7d837f(0x17f)]({'context':_0x5ddeb6});}[_0x4aacd6(0x14f)](_0x24a6f5,_0x160518){const _0x54ea37=_0x4aacd6,_0x3366ad=_0x359682(this[_0x54ea37(0x1eb)]);_0x7cb112(_0x3366ad,_0x24a6f5,_0x160518),this[_0x54ea37(0x17f)]({'attributes':_0x3366ad});}[_0x4aacd6(0x226)](_0x5bb598){const _0x361e12=_0x4aacd6,_0x4cb0b2=_0x359682(this[_0x361e12(0x1eb)]);_0x142204(_0x4cb0b2,_0x5bb598),this[_0x361e12(0x17f)]({'attributes':_0x4cb0b2});}[_0x4aacd6(0x17d)]({isFromAdapter:_0x1631ab=!0x1}={}){const _0x3f6e5e=_0x4aacd6,{channelId:_0x17fdfd,id:_0x3bb6eb}=this;this[_0x3f6e5e(0x1b4)][_0x3f6e5e(0x180)](Nt(_0x3f6e5e(0x18f),_0x17fdfd),{'channelId':_0x17fdfd,'threadId':_0x3bb6eb,'isFromAdapter':_0x1631ab});}[_0x4aacd6(0x206)](_0xa0d426){const _0x3a8fc8=_0x4aacd6;return this[_0x3a8fc8(0x1b4)][_0x3a8fc8(0x1b5)]({'threadId':this['id'],'target':_0xa0d426});}[_0x4aacd6(0x1a6)](_0x17781c){const _0x3fdd13=_0x4aacd6,{channelId:_0x1e3ee4,id:_0x940809}=this;this[_0x3fdd13(0x1b4)][_0x3fdd13(0x180)](Nt(_0x3fdd13(0x1a6),_0x1e3ee4,_0x940809),Object[_0x3fdd13(0x1dc)]({'channelId':_0x1e3ee4,'threadId':_0x940809},_0x17781c));}[_0x4aacd6(0x1b8)](_0x3fa8b2){const _0x5b861b=_0x4aacd6;if(_0x5b861b(0x1ad)!=typeof _0x3fa8b2)throw new _0xd24c29(_0x5b861b(0x212),null,{'commentId':_0x3fa8b2});return this[_0x5b861b(0x160)][_0x5b861b(0x179)](_0x3fa8b2);}[_0x4aacd6(0x15d)](){const _0x152f14=_0x4aacd6;return{'threadId':this['id'],'context':this[_0x152f14(0x22b)],'unlinkedAt':this[_0x152f14(0x170)],'resolvedAt':this[_0x152f14(0x154)],'resolvedBy':this[_0x152f14(0x21e)]?this[_0x152f14(0x21e)]['id']:null,'archivedAt':this[_0x152f14(0x1d7)],'comments':this[_0x152f14(0x160)][_0x152f14(0x150)](_0x171591=>_0x171591[_0x152f14(0x15d)]()),'attributes':this[_0x152f14(0x1eb)]};}[_0x4aacd6(0x1a3)](_0x35d31f){const _0x11d641=_0x4aacd6;return this[_0x11d641(0x162)](_0x35d31f,_0x11d641(0x1d6),()=>{const _0x2eaa0f=_0x11d641,_0x11bce6=this[_0x2eaa0f(0x22a)](_0x35d31f),_0x335b99=this[_0x2eaa0f(0x160)];_0x11bce6-0x1!=_0x335b99[_0x2eaa0f(0x197)](_0x35d31f)&&_0x11bce6+0x1!=_0x335b99[_0x2eaa0f(0x197)](_0x35d31f)&&(this[_0x2eaa0f(0x1b3)](_0x35d31f),this[_0x2eaa0f(0x1a3)](_0x35d31f));}),this[_0x11d641(0x160)][_0x11d641(0x20f)](_0x35d31f,this[_0x11d641(0x22a)](_0x35d31f));}[_0x4aacd6(0x17f)](_0x212ed1){const _0x20b10b=_0x4aacd6,{channelId:_0x47626c,id:_0x3b47e8}=this;this[_0x20b10b(0x1b4)][_0x20b10b(0x180)](Nt(_0x20b10b(0x184),_0x47626c),{..._0x212ed1,'channelId':_0x47626c,'threadId':_0x3b47e8});}[_0x4aacd6(0x1b3)](_0xe9959e){const _0x3b6f74=_0x4aacd6;return this[_0x3b6f74(0x1f6)](_0xe9959e),_0xe9959e[_0x3b6f74(0x215)](),this[_0x3b6f74(0x160)][_0x3b6f74(0x17d)](_0xe9959e);}[_0x4aacd6(0x22a)](_0x540a49){const _0x1908c4=_0x4aacd6,_0x5a3029=this[_0x1908c4(0x160)][_0x1908c4(0x1c4)](_0x35f2a1=>new Date(_0x35f2a1[_0x1908c4(0x1cf)])[_0x1908c4(0x1e3)]()>new Date(_0x540a49[_0x1908c4(0x1cf)])[_0x1908c4(0x1e3)]());return _0x5a3029?this[_0x1908c4(0x160)][_0x1908c4(0x197)](_0x5a3029):this[_0x1908c4(0x16a)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x504ca3(){['id'];[_0x4aacd6(0x1d1)];[_0x4aacd6(0x183)];[_0x4aacd6(0x213)];[_0x4aacd6(0x202)];[_0x4aacd6(0x1f4)];[_0x4aacd6(0x1b4)];constructor(_0x570d5a,_0x402fdc){const _0x40fd9d=_0x4aacd6;super();const _0x54e44b=_0x570d5a[_0x40fd9d(0x22b)][_0x40fd9d(0x20a)][_0x40fd9d(0x179)](_0x3b63c6)['me'],_0x5add3e=_0x570d5a[_0x40fd9d(0x169)](_0x402fdc[_0x40fd9d(0x1d1)]),_0x24ca4a=0x0===_0x5add3e[_0x40fd9d(0x160)][_0x40fd9d(0x16a)],_0x11e6a0=_0x54e44b===_0x402fdc[_0x40fd9d(0x183)];this['id']=_0x402fdc['id'],this[_0x40fd9d(0x1d1)]=_0x402fdc[_0x40fd9d(0x1d1)],this[_0x40fd9d(0x183)]=_0x402fdc[_0x40fd9d(0x183)],this[_0x40fd9d(0x213)]=_0x402fdc[_0x40fd9d(0x213)],this[_0x40fd9d(0x202)]=Boolean(_0x402fdc[_0x40fd9d(0x1eb)]&&_0x402fdc[_0x40fd9d(0x1eb)][_0x40fd9d(0x21f)]),this[_0x40fd9d(0x189)](_0x40fd9d(0x165),_0x402fdc[_0x40fd9d(0x165)]),this[_0x40fd9d(0x1f4)]=_0x402fdc[_0x40fd9d(0x1f4)]||new Date(),this[_0x40fd9d(0x189)](_0x40fd9d(0x1cf),_0x402fdc[_0x40fd9d(0x1cf)]||new Date()),this[_0x40fd9d(0x1da)](_0x40fd9d(0x154))['to'](_0x5add3e,_0x40fd9d(0x154)),this[_0x40fd9d(0x189)](_0x40fd9d(0x1eb),_0x402fdc[_0x40fd9d(0x1eb)]||{}),this[_0x40fd9d(0x1da)](_0x40fd9d(0x1fe))['to'](_0x570d5a,_0x40fd9d(0x171),()=>{const _0x29de11=_0x40fd9d,_0x433eb1=_0x570d5a[_0x29de11(0x19a)](_0x5add3e[_0x29de11(0x1ff)])[_0x29de11(0x192)],_0x245e3c=_0x570d5a[_0x29de11(0x19a)](_0x5add3e[_0x29de11(0x1ff)])[_0x29de11(0x221)];return _0x11e6a0&&_0x433eb1||!_0x11e6a0&&_0x245e3c;}),this[_0x40fd9d(0x1da)](_0x40fd9d(0x18e))['to'](_0x5add3e,_0x40fd9d(0x18e),_0x570d5a,_0x40fd9d(0x171),_0x31738d=>{const _0x5a2372=_0x40fd9d,_0x44f71d=_0x570d5a[_0x5a2372(0x19a)](_0x5add3e[_0x5a2372(0x1ff)])[_0x5a2372(0x192)],_0x555048=_0x570d5a[_0x5a2372(0x19a)](_0x5add3e[_0x5a2372(0x1ff)])[_0x5a2372(0x221)];return _0x11e6a0&&_0x44f71d||_0x31738d&&_0x24ca4a||!_0x11e6a0&&_0x555048&&!_0x24ca4a;}),this[_0x40fd9d(0x1da)](_0x40fd9d(0x176))['to'](_0x5add3e,_0x40fd9d(0x176)),this[_0x40fd9d(0x1b4)]=_0x570d5a;}get[_0x4aacd6(0x1c8)](){const _0x1eed54=_0x4aacd6;return Math[_0x1eed54(0x1de)](function(_0x33f46e){const _0x22495e=_0x1eed54,_0x22ac8d=document[_0x22495e(0x225)](_0x22495e(0x1b7));return _0x22ac8d[_0x22495e(0x1c2)]=_0x33f46e,_0x22ac8d[_0x22495e(0x1ac)][_0x22495e(0x16a)];}(this[_0x1eed54(0x165)]),0xc8);}[_0x4aacd6(0x217)](_0x50df8d){const _0x587188=_0x4aacd6,{threadId:_0x5c9bae,id:_0x387398}=this;if(!this[_0x587188(0x1b4)][_0x587188(0x1b0)](_0x5c9bae))throw new _0xd24c29(_0x587188(0x19e),this);const {channelId:_0xc1516f}=this[_0x587188(0x1b4)][_0x587188(0x169)](_0x5c9bae);this[_0x587188(0x1b4)][_0x587188(0x180)](Nt(_0x587188(0x16e),_0xc1516f,_0x5c9bae),{'channelId':_0xc1516f,'threadId':_0x5c9bae,'commentId':_0x387398,..._0x50df8d});}[_0x4aacd6(0x14f)](_0x5cac5e,_0x942f5){const _0x546431=_0x4aacd6,_0x4c357d=_0x359682(this[_0x546431(0x1eb)]);_0x7cb112(_0x4c357d,_0x5cac5e,_0x942f5),this[_0x546431(0x217)]({'attributes':_0x4c357d});}[_0x4aacd6(0x226)](_0x11158e){const _0xeb3f5e=_0x4aacd6,_0x476dda=_0x359682(this[_0xeb3f5e(0x1eb)]);_0x142204(_0x476dda,_0x11158e),this[_0xeb3f5e(0x217)]({'attributes':_0x476dda});}[_0x4aacd6(0x17d)](_0x108c95={}){const _0x151a7d=_0x4aacd6;if(!_0x108c95[_0x151a7d(0x1cb)]&&!this[_0x151a7d(0x18e)])return;const {threadId:_0x2c92f0,id:_0x55f872}=this;if(!this[_0x151a7d(0x1b4)][_0x151a7d(0x1b0)](_0x2c92f0))throw new _0xd24c29(_0x151a7d(0x1a5),this);const {channelId:_0x3c12f4}=this[_0x151a7d(0x1b4)][_0x151a7d(0x169)](_0x2c92f0);this[_0x151a7d(0x1b4)][_0x151a7d(0x180)](Nt(_0x151a7d(0x1fc),_0x3c12f4,_0x2c92f0),{'channelId':_0x3c12f4,'threadId':_0x2c92f0,'commentId':_0x55f872,..._0x108c95});}[_0x4aacd6(0x15d)](){const _0x154232=_0x4aacd6;return{'commentId':this['id'],'content':this[_0x154232(0x165)],'createdAt':this[_0x154232(0x1f4)],'authorId':this[_0x154232(0x213)]['id'],'attributes':this[_0x154232(0x1eb)]};}[_0x4aacd6(0x215)](){const _0x4059a1=_0x4aacd6;this[_0x4059a1(0x1f6)]();}}function Nt(_0x26961c,..._0x350091){for(const _0x6730b6 of _0x350091)void 0x0!==_0x6730b6&&(_0x26961c+=':'+String(_0x6730b6));return _0x26961c;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4fd348=_0x3fcd;(function(_0x2d0212,_0x4be995){const _0x12197d=_0x3fcd,_0x504695=_0x2d0212();while(!![]){try{const _0x2d3de4=-parseInt(_0x12197d(0xbd))/0x1*(-parseInt(_0x12197d(0x8f))/0x2)+parseInt(_0x12197d(0x78))/0x3+parseInt(_0x12197d(0xb9))/0x4+-parseInt(_0x12197d(0x90))/0x5*(parseInt(_0x12197d(0x9c))/0x6)+-parseInt(_0x12197d(0xbe))/0x7*(parseInt(_0x12197d(0xad))/0x8)+parseInt(_0x12197d(0xa7))/0x9+-parseInt(_0x12197d(0xc3))/0xa*(-parseInt(_0x12197d(0xc8))/0xb);if(_0x2d3de4===_0x4be995)break;else _0x504695['push'](_0x504695['shift']());}catch(_0x3e8747){_0x504695['push'](_0x504695['shift']());}}}(_0x3e97,0x2c777));import{Plugin as _0x4bb049}from'ckeditor5/src/core.js';import{IconAddComment as _0x558dbb}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x22e56d}from'./commentsrepository.js';import{CommentsEditing as _0x373d45}from'./commentsediting.js';import{EditorAnnotations as _0x30d986}from'../annotations/editorannotations.js';import{ButtonView as _0x28889d,MenuBarMenuListItemButtonView as _0x27299c}from'ckeditor5/src/ui.js';function _0x3e97(){const _0x3fdd65=['Comments','find','menuBar:comment','Comment','CommentsListView','CommentsUI','execute','commentsLicenseKeyTrialLimit','editor','618414ZyvGxS','requires','set','editing','init','from','innerView','trialLimit','expired','commentsLicenseKeyUsageLimit','low','135684iapBSS','hasContent','licenseKey','plugins','focusTracker','bind','8uyQWgj','isPremiumPlugin','isOfficialPlugin','addSourceCollector','CommentThreadInputView','destroy','config','invalid','stop','add','componentFactory','has','222524QkrmSP','_licenseKeyCheckInterval','addComment','getCommentThread','152654QumZLP','1849638KLTQex','addCommentThread','_createUIButton','highest','comment','930810HMWyfV','hasCommentThread','commentsLicenseKeyExpired','change:activeAnnotations','removeCommentThread','33pizldi','commentsLicenseKeyEvaluationLimit','usageLimit','get','length','commentsLicenseKeyDomainLimit','getAllMarkersForId','pluginName','449709nbodRD','hasMarkerForId','listenTo','commands','_showLicenseError','locale','featureNotAllowed','focus','_threadToController','commentsLicenseKeyValid','evaluationLimit','getRange','domainLimit','isFocused','activeMarker','commentsLicenseKeyInvalid','tooltip','isEnabled','push','_viewToController','view','comment:','commentsLicenseKeyNotAllowed','2tUGTxc','10pLAOcl','map','model'];_0x3e97=function(){return _0x3fdd65;};return _0x3e97();}import{Annotations as _0x57ea7f}from'../annotations/annotations.js';import{CommentsListView as _0x523534}from'./ui/view/commentslistview.js';function _0x3fcd(_0xe66e61,_0x47b5ec){const _0x3e97eb=_0x3e97();return _0x3fcd=function(_0x3fcdaf,_0x778726){_0x3fcdaf=_0x3fcdaf-0x73;let _0x1bc6df=_0x3e97eb[_0x3fcdaf];return _0x1bc6df;},_0x3fcd(_0xe66e61,_0x47b5ec);}import{CommentThreadInputView as _0x90e892}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x24eebe}from'../utils/common-translations.js';export class CommentsUI extends _0x4bb049{[_0x4fd348(0xa9)];[_0x4fd348(0xba)];static get[_0x4fd348(0x77)](){const _0x3f7b3b=_0x4fd348;return _0x3f7b3b(0x98);}static get[_0x4fd348(0xaf)](){return!0x0;}static get[_0x4fd348(0xae)](){return!0x0;}static get[_0x4fd348(0x9d)](){return[_0x22e56d,_0x373d45,_0x30d986,_0x57ea7f];}get[_0x4fd348(0x97)](){return _0x523534;}get[_0x4fd348(0xb1)](){return _0x90e892;}[_0x4fd348(0xa0)](){const _0x50ee51=_0x4fd348,_0x3033c5=this[_0x50ee51(0x9b)],_0xee55b7=_0x3033c5[_0x50ee51(0xaa)][_0x50ee51(0x73)](_0x22e56d),_0x2942b1=_0x3033c5[_0x50ee51(0xaa)][_0x50ee51(0x73)](_0x373d45),_0x289235=_0x3033c5[_0x50ee51(0xaa)][_0x50ee51(0x73)](_0x57ea7f),_0x341f51=_0x3033c5[_0x50ee51(0xaa)][_0x50ee51(0x73)](_0x30d986);_0x3033c5['ui'][_0x50ee51(0xb7)][_0x50ee51(0xb6)](_0x50ee51(0xc2),()=>{const _0x4cc3e7=_0x50ee51,_0x194515=this[_0x4cc3e7(0xc0)](_0x28889d);return _0x194515[_0x4cc3e7(0x88)]=!0x0,_0x194515;}),_0x3033c5['ui'][_0x50ee51(0xb7)][_0x50ee51(0xb6)](_0x50ee51(0x95),()=>this[_0x50ee51(0xc0)](_0x27299c)),_0x341f51[_0x50ee51(0xb0)](()=>{const _0x35ca25=_0x50ee51,_0x4f30d6=[];for(const [_0x1ff011,_0x1c25a6]of _0xee55b7[_0x35ca25(0x80)]){const _0x272df0=_0x2942b1[_0x35ca25(0x76)](_0x1ff011['id']),_0x486a8c=_0x272df0[_0x35ca25(0x91)](_0x1394f3=>_0x1394f3[_0x35ca25(0x83)]());_0x272df0[_0x35ca25(0x74)]>0x0&&_0x4f30d6[_0x35ca25(0x8a)]([_0x1c25a6[_0x35ca25(0x8c)],_0x486a8c]);}return _0x4f30d6;}),this[_0x50ee51(0x7a)](_0x289235,_0x50ee51(0xc6),(_0x442b65,_0x2095f1,_0x3a1c45)=>{const _0x5b0688=_0x50ee51,_0x5ef8a9=Array[_0x5b0688(0xa1)](_0x3a1c45)[_0x5b0688(0x91)](_0x9ce158=>_0x9ce158[_0x5b0688(0xa2)])[_0x5b0688(0x94)](_0x5b1fbd=>_0xee55b7[_0x5b0688(0x8b)][_0x5b0688(0xb8)](_0x5b1fbd));if(!_0x5ef8a9)return void(_0x2942b1[_0x5b0688(0x86)]=null);const _0x1094d9=_0xee55b7[_0x5b0688(0x8b)][_0x5b0688(0x73)](_0x5ef8a9)[_0x5b0688(0x92)]['id'],_0x1da5a7=_0x5b0688(0x8d)+_0x1094d9;_0x1094d9&&_0x2942b1[_0x5b0688(0x79)](_0x1094d9)?_0x2942b1[_0x5b0688(0x86)]=_0x1da5a7:_0x2942b1[_0x5b0688(0x86)]&&(_0x2942b1[_0x5b0688(0x86)]=null);}),this[_0x50ee51(0x7a)](_0xee55b7,_0x50ee51(0xc7),(_0x106742,{threadId:_0x3782c1,isFromAdapter:_0x5db608})=>{const _0x1596a4=_0x50ee51;!_0x5db608&&_0x3033c5['ui'][_0x1596a4(0xab)][_0x1596a4(0x85)]&&_0x2942b1[_0x1596a4(0x79)](_0x3782c1)&&_0x3033c5[_0x1596a4(0x9f)][_0x1596a4(0x8c)][_0x1596a4(0x7f)]();},{'priority':_0x50ee51(0xc1)}),this[_0x50ee51(0x7a)](_0xee55b7,_0x50ee51(0xbb),(_0x239f37,{threadId:_0x27ed1d,isFromAdapter:_0x47f426})=>{const _0x34b5bd=_0x50ee51;if(_0x47f426||!_0x2942b1[_0x34b5bd(0x79)](_0x27ed1d)||!_0xee55b7[_0x34b5bd(0xc4)](_0x27ed1d))return;0x1===_0xee55b7[_0x34b5bd(0xbc)](_0x27ed1d)[_0x34b5bd(0x74)]&&(_0x3033c5[_0x34b5bd(0x9f)][_0x34b5bd(0x8c)][_0x34b5bd(0x7f)](),_0x239f37[_0x34b5bd(0xb5)]());},{'priority':_0x50ee51(0xa6)}),this[_0x50ee51(0xa9)]=this[_0x50ee51(0x9b)][_0x50ee51(0xb3)][_0x50ee51(0x73)](_0x50ee51(0xa9));const _0x342897=this[_0x50ee51(0x9b)];this[_0x50ee51(0xba)]=setInterval(()=>{const _0x2b0ca1=_0x50ee51;let _0x12c0e7;for(const _0xd7fc79 in _0x342897){const _0x3957c5=_0xd7fc79,_0x2944d3=_0x342897[_0x3957c5];if(_0x2b0ca1(0x81)==_0x2944d3||_0x2b0ca1(0x87)==_0x2944d3||_0x2b0ca1(0xc5)==_0x2944d3||_0x2b0ca1(0x75)==_0x2944d3||_0x2b0ca1(0x8e)==_0x2944d3||_0x2b0ca1(0xc9)==_0x2944d3||_0x2b0ca1(0x9a)==_0x2944d3||_0x2b0ca1(0xa5)==_0x2944d3){delete _0x342897[_0x3957c5],_0x12c0e7=_0x2944d3,clearInterval(this[_0x2b0ca1(0xba)]),this[_0x2b0ca1(0xba)]=void 0x0;break;}}_0x2b0ca1(0x87)==_0x12c0e7&&_0x342897[_0x2b0ca1(0x7c)](_0x2b0ca1(0xb4)),_0x2b0ca1(0xc5)==_0x12c0e7&&_0x342897[_0x2b0ca1(0x7c)](_0x2b0ca1(0xa4)),_0x2b0ca1(0x75)==_0x12c0e7&&_0x342897[_0x2b0ca1(0x7c)](_0x2b0ca1(0x84)),_0x2b0ca1(0x8e)==_0x12c0e7&&_0x342897[_0x2b0ca1(0x7c)](_0x2b0ca1(0x7e),_0x2b0ca1(0x93)),_0x2b0ca1(0xc9)==_0x12c0e7&&_0x342897[_0x2b0ca1(0x7c)](_0x2b0ca1(0x82)),_0x2b0ca1(0x9a)==_0x12c0e7&&_0x342897[_0x2b0ca1(0x7c)](_0x2b0ca1(0xa3)),_0x2b0ca1(0xa5)==_0x12c0e7&&_0x342897[_0x2b0ca1(0x7c)](_0x2b0ca1(0xca));},0x3e8);}[_0x4fd348(0xb2)](){const _0x101e47=_0x4fd348;super[_0x101e47(0xb2)](),this[_0x101e47(0xba)]&&clearInterval(this[_0x101e47(0xba)]);}[_0x4fd348(0xc0)](_0x3def8a){const _0x2dc59b=_0x4fd348,_0x55f9eb=this[_0x2dc59b(0x9b)],_0x212a39=new _0x3def8a(_0x55f9eb[_0x2dc59b(0x7d)]),_0x1f29a8=_0x55f9eb[_0x2dc59b(0x7b)][_0x2dc59b(0x73)](_0x2dc59b(0xbf));return _0x212a39[_0x2dc59b(0x9e)]({'label':_0x24eebe(_0x55f9eb[_0x2dc59b(0x7d)],_0x2dc59b(0x96)),'icon':_0x558dbb}),_0x212a39[_0x2dc59b(0xac)](_0x2dc59b(0x89))['to'](_0x1f29a8,_0x2dc59b(0xa8)),this[_0x2dc59b(0x7a)](_0x212a39,_0x2dc59b(0x99),()=>{const _0x441445=_0x2dc59b;_0x1f29a8[_0x441445(0x99)]();}),_0x212a39;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x16f637=_0x1425;function _0x1425(_0x5795aa,_0x38d47d){const _0x36a9e3=_0x36a9();return _0x1425=function(_0x1425ad,_0x4f654d){_0x1425ad=_0x1425ad-0x1ea;let _0x46fc66=_0x36a9e3[_0x1425ad];return _0x46fc66;},_0x1425(_0x5795aa,_0x38d47d);}(function(_0xb1640c,_0x4d9841){const _0x58b8c0=_0x1425,_0x164ec9=_0xb1640c();while(!![]){try{const _0x46ea9f=-parseInt(_0x58b8c0(0x1f6))/0x1+parseInt(_0x58b8c0(0x213))/0x2+-parseInt(_0x58b8c0(0x20e))/0x3+parseInt(_0x58b8c0(0x1f1))/0x4*(parseInt(_0x58b8c0(0x206))/0x5)+-parseInt(_0x58b8c0(0x1ff))/0x6*(-parseInt(_0x58b8c0(0x20b))/0x7)+-parseInt(_0x58b8c0(0x1f4))/0x8+parseInt(_0x58b8c0(0x20f))/0x9*(-parseInt(_0x58b8c0(0x210))/0xa);if(_0x46ea9f===_0x4d9841)break;else _0x164ec9['push'](_0x164ec9['shift']());}catch(_0x39ec24){_0x164ec9['push'](_0x164ec9['shift']());}}}(_0x36a9,0x40f70));import{Plugin as _0x33cbe0}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x2a14da,ClipboardMarkersUtils as _0x54418f}from'ckeditor5/src/clipboard.js';function _0x36a9(){const _0x257669=['_mapCommentsCopyConfigToRegisterConfiguration','highest','contentInsertion','plugins','comments.copyMarkers','requires','listenTo','320VIutkK','content','get','506264GMTegS','cut','147309KfuUQi','split','ClipboardPipeline','dragstart','_removeMarkersWithoutThreads','editor','always','never','markers','31950DzOUJw','ClipboardMarkersUtils','keys','_registerMarkerInClipboardPipeline','_registerMarkerToCopy','afterInit','hasCommentThread','30455IbEjuJ','all','config','comment','define','525QrXbvC','CommentsRepository','has','1085652fNouox','9TSSaEt','3532850DADKny','default','delete','610404JVbUGZ'];_0x36a9=function(){return _0x257669;};return _0x36a9();}export class CommentsClipboard extends _0x33cbe0{constructor(_0x52f739){const _0xd77a45=_0x1425;super(_0x52f739),this[_0xd77a45(0x1fb)][_0xd77a45(0x208)][_0xd77a45(0x20a)](_0xd77a45(0x1ee),_0xd77a45(0x211));}static get[_0x16f637(0x1ef)](){return[_0x54418f,_0x2a14da];}[_0x16f637(0x204)](){const _0x5dd0d1=_0x16f637,_0x2c4895=this[_0x5dd0d1(0x1fb)][_0x5dd0d1(0x1ed)][_0x5dd0d1(0x1f3)](_0x5dd0d1(0x1f8));this[_0x5dd0d1(0x202)](),this[_0x5dd0d1(0x1f0)](_0x2c4895,_0x5dd0d1(0x1ec),(_0x25dd22,_0x59017c)=>this[_0x5dd0d1(0x1fa)](_0x59017c[_0x5dd0d1(0x1f2)][_0x5dd0d1(0x1fe)]),{'priority':_0x5dd0d1(0x1eb)});}[_0x16f637(0x1fa)](_0x3b01bb){const _0x2978ab=_0x16f637;if(!this[_0x2978ab(0x1fb)][_0x2978ab(0x1ed)][_0x2978ab(0x20d)](_0x2978ab(0x20c)))return _0x3b01bb;const _0x3f7778=this[_0x2978ab(0x1fb)][_0x2978ab(0x1ed)][_0x2978ab(0x1f3)](_0x2978ab(0x20c));for(const _0x175472 of _0x3b01bb[_0x2978ab(0x201)]()){const [_0x360923,_0x370d51]=_0x175472[_0x2978ab(0x1f7)](':');_0x2978ab(0x209)!=_0x360923||_0x3f7778[_0x2978ab(0x205)](_0x370d51)||_0x3b01bb[_0x2978ab(0x212)](_0x175472);}return _0x3b01bb;}[_0x16f637(0x202)](){const _0x505001=_0x16f637,_0x46775b=this[_0x505001(0x1fb)][_0x505001(0x1ed)][_0x505001(0x1f3)](_0x505001(0x200)),_0xea0a00=this[_0x505001(0x1ea)](this[_0x505001(0x1fb)][_0x505001(0x208)][_0x505001(0x1f3)](_0x505001(0x1ee)));_0xea0a00&&_0x46775b[_0x505001(0x203)](_0x505001(0x209),_0xea0a00);}[_0x16f637(0x1ea)](_0x51ff14){const _0x3c8e48=_0x16f637;switch(_0x51ff14){case _0x3c8e48(0x1fc):return{'allowedActions':_0x3c8e48(0x207),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x3c8e48(0x211):return{'allowedActions':[_0x3c8e48(0x1f5),_0x3c8e48(0x1f9)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x3c8e48(0x1fd):return null;default:return null;}}}
|