@ckeditor/ckeditor5-comments 46.1.0-alpha.0 → 46.1.0-alpha.2
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 _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)];}
|
|
23
|
+
const _0xfde246=_0x1813;(function(_0x2f3f17,_0x39db39){const _0x361af0=_0x1813,_0x271310=_0x2f3f17();while(!![]){try{const _0x148c1d=parseInt(_0x361af0(0x157))/0x1+-parseInt(_0x361af0(0x13d))/0x2*(-parseInt(_0x361af0(0x127))/0x3)+-parseInt(_0x361af0(0x144))/0x4+-parseInt(_0x361af0(0x166))/0x5+parseInt(_0x361af0(0x112))/0x6*(parseInt(_0x361af0(0xfd))/0x7)+parseInt(_0x361af0(0x116))/0x8+-parseInt(_0x361af0(0x162))/0x9;if(_0x148c1d===_0x39db39)break;else _0x271310['push'](_0x271310['shift']());}catch(_0x34a640){_0x271310['push'](_0x271310['shift']());}}}(_0x4a5e,0x7c3dd));import{Plugin as _0x34c7de}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x13efa3,scrollViewportToShowTarget as _0x24f921,uid as _0x36d99d}from'ckeditor5/src/utils.js';function _0x4a5e(){const _0x26dc49=['name','getItems','text','addCommentThread','getAllMarkersForId','collaboration.channelId','activeMarker','affectsData','$textProxy','change','addComment','focus','CommentsEditing','248229qmvsus','low','clear','$graveyard','once','for','removeMarker:','getCommentThreads','setUnlinkedAt','attachTo','_detachCommentThread','removeMarker','newRange','isResolved','editor','switchReadOnly','comments','change:activeMarker','join','comment','fetchCommentThread','substring','12fHkivB','plugins','state','model','_initAriaMarkerChangeAnnouncements','createRange','LEAVE_COMMENT_ANNOUNCEMENT','214960cuZAbs','_handleThreadMarker','_threads','end','remove','getWalker','listenTo','_attachMarkerToThread','conversion','showCommentHighlights','channelId','getRange','reopenCommentThread','_initializeMarkerConverters','init','destroy','unlinkedAt','from','updateMarker','1004623ePWDEj','rootName','differ','href','_reconvertMarkers','managedUsingOperations','getCommentThread','render','isObject','isEqual','createElement','11919717OCDkzd','getAttribute','start','isCollapsed','2786890PKmDyA','isPremiumPlugin','getChangedMarkers','author','pluginName','getByInnerView','registerAnnotation','filter','_hasTargetInContent','refreshVisibility','_getTextContext','comment:','dataDowncast','isSubmitted','ENTER_COMMENT_ANNOUNCEMENT','requires','config','isAttached','commands','_handleMarkerAddAndRemove','addMarker:','hasMarkerForId','markerToHighlight','resolveCommentThread','elementToElement','openNewCommentThread','change:isReadOnly','isOfficialPlugin','push','_threadToController','_handleInitialThreads','startsWith','fromCharCode','ready','removeCommentThread','map','reconvertMarker','context','markers','then','document','destroyed','ck-comment-marker--active','registerPostFixer','locale','add','first','ariaLiveAnnouncer','hasContent','get','editing','group','_getTargetForId','_attachArchivedThread','upcast','ck-comment-marker','enqueueChange','delete','367906bXJfzz','view','set','schema','setContext','change:isThreadsLoadingPaused','consumable','announce','afterInit','markerToData','hasDomSelection','dataToMarker','createPositionBefore','$marker','data','consume','ignoreResolvedComments','forEach','isThreadsLoadingPaused','markerName','hasCommentThread','96HepzKK','item','length','editingDowncast','819320jIFPMi','size','root','scrollToThreadMarker'];_0x4a5e=function(){return _0x26dc49;};return _0x4a5e();}import{CommentsRepository as _0x10a723}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x107c3b}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x381182,getAllMarkersDomElementsSorted as _0x3477ed,FOCUS_ANNOTATION_KEYSTROKE as _0xc5994c,Users as _0x52aca3}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x29d0ea}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x3f831e}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0xc5fa34}from'./integrations/importword.js';import{CommentsClipboard as _0x349670}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x5a5d7a}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0xdd0f0d}from'../annotations/annotations.js';import{getTranslation as _0x4f95da}from'../utils/common-translations.js';import{splitMarkerName as _0x582ee7}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x34c7de{static get[_0xfde246(0x175)](){return[_0x10a723,_0x29d0ea,_0x52aca3,_0x3f831e,_0xc5fa34,_0x349670,_0x5a5d7a];}static get[_0xfde246(0x16a)](){const _0x88399b=_0xfde246;return _0x88399b(0x126);}static get[_0xfde246(0xde)](){return!0x0;}static get[_0xfde246(0x167)](){return!0x0;}constructor(_0xeba7fe){const _0x2996ad=_0xfde246;super(_0xeba7fe),this[_0x2996ad(0xff)](_0x2996ad(0x10f),!0x0),_0xeba7fe[_0x2996ad(0x10b)][_0x2996ad(0x12b)](_0x2996ad(0xe4),()=>this[_0x2996ad(0x10f)]=!0x1),this[_0x2996ad(0xff)](_0x2996ad(0x120),null),this['on'](_0x2996ad(0x138),(_0x358a60,_0x3986e0,_0x2e751,_0x421d4e)=>{const _0x23551b=_0x2996ad,_0x514019=_0xeba7fe[_0x23551b(0x13e)][_0x23551b(0xf4)](_0x10a723),_0x2e14f3=_0x2e751?_0x582ee7(_0x2e751)['id']:null;_0xeba7fe[_0x23551b(0x140)][_0x23551b(0x123)](()=>{const _0x2e08f5=_0x23551b;if(_0x2e14f3){const _0x4b71b6=this[_0x2e08f5(0x11e)](_0x2e14f3);for(const _0x1984ab of _0x4b71b6)_0xeba7fe[_0x2e08f5(0xf5)][_0x2e08f5(0xe7)](_0x1984ab);}if(_0x421d4e){const {id:_0x2b80f9}=_0x582ee7(_0x421d4e),_0xcc46d5=_0x514019[_0x2e08f5(0x15d)](_0x2b80f9);if(_0xcc46d5&&_0xcc46d5[_0x2e08f5(0x154)])return;if(_0xcc46d5&&!_0xcc46d5[_0x2e08f5(0x177)])return;const _0x34762e=this[_0x2e08f5(0x11e)](_0x2b80f9);for(const _0xf492e3 of _0x34762e)_0xeba7fe[_0x2e08f5(0xf5)][_0x2e08f5(0xe7)](_0xf492e3);}}),_0x2e14f3&&this[_0x23551b(0x119)](_0x2e14f3);}),this[_0x2996ad(0x141)]();}[_0xfde246(0x152)](){const _0x3e13e3=_0xfde246,_0x1060a1=this[_0x3e13e3(0x135)],_0x323c65=_0x1060a1[_0x3e13e3(0x13e)][_0x3e13e3(0xf4)](_0x10a723),_0x2717f9=_0x1060a1[_0x3e13e3(0x176)][_0x3e13e3(0xf4)](_0x3e13e3(0x11f)),_0x32133e=_0x323c65[_0x3e13e3(0x12e)]()[_0x3e13e3(0x16d)](_0x5c4763=>_0x5c4763[_0x3e13e3(0x14e)]!==_0x2717f9);_0x1060a1[_0x3e13e3(0x178)][_0x3e13e3(0xf0)](_0x3e13e3(0x11d),new _0x107c3b(_0x1060a1)),this[_0x3e13e3(0x14a)](_0x1060a1,_0x3e13e3(0xdd),(_0x209ba7,_0x50838e,_0x330e04)=>{const _0x31015e=_0x3e13e3;_0x323c65[_0x31015e(0x136)](_0x330e04,_0x1060a1[_0x31015e(0x176)][_0x31015e(0xf4)](_0x31015e(0x11f)));}),this[_0x3e13e3(0x14a)](_0x323c65,dt(_0x3e13e3(0x11d),_0x2717f9),(_0x52b594,{threadId:_0x206f41})=>{const _0x2d3bd5=_0x3e13e3,_0x27cf67=this[_0x2d3bd5(0x135)][_0x2d3bd5(0x13e)][_0x2d3bd5(0xf4)](_0x10a723)[_0x2d3bd5(0x15d)](_0x206f41);_0x27cf67?.[_0x2d3bd5(0x154)]&&this[_0x2d3bd5(0xf8)](_0x206f41);}),this[_0x3e13e3(0x14a)](_0x323c65,dt(_0x3e13e3(0xe5),_0x2717f9),(_0x51d467,{threadId:_0x3895e2})=>{const _0x45e17a=_0x3e13e3;_0x1060a1[_0x45e17a(0x140)][_0x45e17a(0xfb)]({'isUndoable':!0x1},_0x3e38dc=>{const _0x369956=_0x45e17a,_0x4c59cc=this[_0x369956(0x11e)](_0x3895e2);for(const _0x153f0a of _0x4c59cc)_0x3e38dc[_0x369956(0x132)](_0x153f0a);});}),this[_0x3e13e3(0x14a)](_0x323c65,dt(_0x3e13e3(0xda),_0x2717f9),(_0x2d6ce4,{threadId:_0x21ac0e})=>{const _0x1eff6d=_0x3e13e3;(this[_0x1eff6d(0x15b)](_0x21ac0e),this[_0x1eff6d(0x135)][_0x1eff6d(0xf5)][_0x1eff6d(0xfe)][_0x1eff6d(0x107)])&&(this[_0x1eff6d(0x135)][_0x1eff6d(0x13e)][_0x1eff6d(0xf4)](_0x10a723)[_0x1eff6d(0x15d)](_0x21ac0e)[_0x1eff6d(0x154)]||this[_0x1eff6d(0x135)][_0x1eff6d(0xf5)][_0x1eff6d(0xfe)][_0x1eff6d(0x125)]());},{'priority':_0x3e13e3(0x128)}),this[_0x3e13e3(0x14a)](_0x323c65,dt(_0x3e13e3(0x150),_0x2717f9),(_0x2389b1,{threadId:_0x593f30})=>{const _0x1285dd=_0x3e13e3;this[_0x1285dd(0x15b)](_0x593f30);},{'priority':_0x3e13e3(0x128)}),this[_0x3e13e3(0x14a)](_0x323c65,dt(_0x3e13e3(0x124),_0x2717f9),(_0x2447db,{threadId:_0x447a51,isFromAdapter:_0x248093})=>{const _0x2a6a20=_0x3e13e3,_0x96ef96=this[_0x2a6a20(0x11e)](_0x447a51);if(_0x248093||0x0==_0x96ef96[_0x2a6a20(0x114)]||!_0x323c65[_0x2a6a20(0x111)](_0x447a51))return;0x1===_0x323c65[_0x2a6a20(0x15d)](_0x447a51)[_0x2a6a20(0x114)]&&_0x1060a1[_0x2a6a20(0x140)][_0x2a6a20(0xfb)]({'isUndoable':!0x1},_0x41ca20=>{const _0x3480f6=_0x2a6a20;for(const _0x2af12f of _0x96ef96)_0x41ca20[_0x3480f6(0x156)](_0x2af12f,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3e13e3(0x128)}),this[_0x3e13e3(0x151)](),this[_0x3e13e3(0x179)](),this[_0x3e13e3(0xe1)](_0x32133e);}[_0xfde246(0x105)](){!async function(_0x4ecbec){const _0xdb784f=_0x57a309([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]),_0x724f1c=0x73460ab3,_0x161616=0x7341784b^_0x724f1c,_0x2bff87=window[_0x57a309([0x44,0x61,0x74,0x65])][_0x57a309([0x6e,0x6f,0x77])](),_0x1796ef=_0x4ecbec[_0x57a309([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fb4ec=new window[(_0x57a309([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x42fc19=>{_0x1796ef[_0x57a309([0x6f,0x6e,0x63,0x65])](_0x57a309([0x72,0x65,0x61,0x64,0x79]),_0x42fc19);}),_0x5ee02a={[_0x57a309([0x6b,0x74,0x79])]:_0x57a309([0x45,0x43]),[_0x57a309([0x75,0x73,0x65])]:_0x57a309([0x73,0x69,0x67]),[_0x57a309([0x63,0x72,0x76])]:_0x57a309([0x50,0x2d,0x32,0x35,0x36]),[_0x57a309([0x78])]:_0x57a309([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]),[_0x57a309([0x79])]:_0x57a309([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]),[_0x57a309([0x61,0x6c,0x67])]:_0x57a309([0x45,0x53,0x32,0x35,0x36])},_0x528f5f=_0x1796ef[_0x57a309([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x57a309([0x67,0x65,0x74])](_0x57a309([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x465081(){let _0x1c3e76,_0x3d6a2a=null,_0x441da3=null;try{if(_0x528f5f==_0x57a309([0x47,0x50,0x4c]))return _0x57a309([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c3e76=_0x38ae64(),!_0x1c3e76)return _0x57a309([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c3e76[_0x57a309([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x441da3=_0x215662(_0x1c3e76[_0x57a309([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c3e76[_0x57a309([0x6a,0x74,0x69])])),await _0x5df46f()?_0x471caf()?_0x1853d7()?_0x57a309([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe094b2()?(_0x1c3e76[_0x57a309([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57a309([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d6a2a=_0x41d303(_0x57a309([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c3e76[_0x57a309([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x57a309([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d6a2a=_0x41d303(_0x57a309([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2fb731()):_0x57a309([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x57a309([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x57a309([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x57a309([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1853d7(){const _0x43c4d7=[_0x57a309([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x57a309([0x74,0x72,0x69,0x61,0x6c])][_0x57a309([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c3e76[_0x57a309([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2bff87/0x3e8:0xe10*_0x161616;return _0x1c3e76[_0x57a309([0x65,0x78,0x70])]<_0x43c4d7;}function _0x471caf(){const _0x1a16db=_0x1c3e76[_0x57a309([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1a16db)return!0x1;if(_0x1a16db[_0x57a309([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57a309([0x2a])))return!0x0;if(_0x1a16db[_0x57a309([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57a309([0x43,0x4d,0x54])))return!0x0;if(_0x1a16db[_0x57a309([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57a309([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x4b6d00())return!0x0;if(_0x1a16db[_0x57a309([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57a309([0x52,0x43,0x4d,0x54]))){if(_0x13e99e())return!0x0;if(_0xaf86b2()||_0x3f2fb9())return!0x0;}return!0x1;}function _0xe094b2(){const _0x4b47c2=_0x1813,_0x5f36d5=_0x1c3e76[_0x57a309([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f36d5||0x0==_0x5f36d5[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1cb1a8}=new URL(window[_0x57a309([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4b47c2(0x15a)]);if(_0x5f36d5[_0x57a309([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1cb1a8))return!0x0;const _0x4dec3e=_0x1cb1a8[_0x57a309([0x73,0x70,0x6c,0x69,0x74])](_0x57a309([0x2e]));return _0x5f36d5[_0x57a309([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f8770=>_0x1f8770[_0x57a309([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x57a309([0x2a])))[_0x57a309([0x6d,0x61,0x70])](_0x15117f=>_0x15117f[_0x57a309([0x73,0x70,0x6c,0x69,0x74])](_0x57a309([0x2e])))[_0x57a309([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b97d9=>_0x3b97d9[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4dec3e[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57a309([0x6d,0x61,0x70])](_0x42cae9=>Array(_0x4dec3e[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x42cae9[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x57a309([0x66,0x69,0x6c,0x6c])](_0x42cae9[0x0]===_0x57a309([0x2a])?_0x57a309([0x2a]):'')[_0x57a309([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x42cae9))[_0x57a309([0x73,0x6f,0x6d,0x65])](_0x41d3c0=>_0x4dec3e[_0x57a309([0x65,0x76,0x65,0x72,0x79])]((_0x55d266,_0x5db23f)=>_0x41d3c0[_0x5db23f]===_0x55d266||_0x41d3c0[_0x5db23f]===_0x57a309([0x2a])));}function _0x2fb731(){return _0x3d6a2a&&_0x441da3?new window[(_0x57a309([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39ad26,_0x777f88)=>{_0x3d6a2a[_0x57a309([0x74,0x68,0x65,0x6e])](_0x39ad26,_0x777f88),_0x441da3[_0x57a309([0x74,0x68,0x65,0x6e])](_0x490de7=>{_0x490de7!=_0x57a309([0x56,0x61,0x6c,0x69,0x64])&&_0x39ad26(_0x490de7);},_0x777f88);}):_0x3d6a2a||_0x441da3||_0x57a309([0x56,0x61,0x6c,0x69,0x64]);}}function _0x215662(_0x3257fd,_0x49dfc7){return new window[(_0x57a309([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x13592a=>{if(_0x5d6f62())return _0x13592a(_0x57a309([0x56,0x61,0x6c,0x69,0x64]));_0x24f13e(),_0x1796ef[_0x57a309([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x57a309([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37eea4=!0x1;const _0x3b9811=_0x36d99d();function _0x5072e0(_0x5de4cb){return!!_0x5de4cb&&(typeof _0x5de4cb===_0x57a309([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5de4cb===_0x57a309([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5de4cb[_0x57a309([0x74,0x68,0x65,0x6e])]===_0x57a309([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5de4cb[_0x57a309([0x63,0x61,0x74,0x63,0x68])]===_0x57a309([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x58b88b(_0x3009cf){_0x3f5f92(_0x3009cf)[_0x57a309([0x74,0x68,0x65,0x6e])](_0x31387b=>{if(!_0x31387b||_0x31387b[_0x57a309([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x57a309([0x6f,0x6b]))return _0x57a309([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26665e(_0x3e73fd(_0x3b9811+_0x49dfc7))!=_0x31387b[_0x57a309([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x57a309([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x57a309([0x56,0x61,0x6c,0x69,0x64]);})[_0x57a309([0x74,0x68,0x65,0x6e])](_0x4d7201=>(_0x2ad4a7(),_0x4d7201),()=>{const _0x4e6069=_0x56a18c();return null==_0x4e6069?(_0x2ad4a7(),_0x57a309([0x56,0x61,0x6c,0x69,0x64])):_0x57a309(_0x2bff87-_0x4e6069>(0x574a8eb3^_0x724f1c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x57a309([0x74,0x68,0x65,0x6e])](_0x13592a)[_0x57a309([0x63,0x61,0x74,0x63,0x68])](()=>{_0x13592a(_0x57a309([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x39b33e=0x7370e433^_0x724f1c;function _0x2ad4a7(){const _0x377bc2=_0x57a309([0x6c,0x6c,0x63,0x74,0x2d])+_0x26665e(_0x3e73fd(_0x3257fd)),_0x4ab436=_0x3e2f31(_0x26665e(window[_0x57a309([0x4d,0x61,0x74,0x68])][_0x57a309([0x63,0x65,0x69,0x6c])](_0x2bff87/_0x39b33e)));window[_0x57a309([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57a309([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x377bc2,_0x4ab436);}function _0x56a18c(){const _0x7a5d36=_0x57a309([0x6c,0x6c,0x63,0x74,0x2d])+_0x26665e(_0x3e73fd(_0x3257fd)),_0x283430=window[_0x57a309([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x57a309([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7a5d36);return _0x283430?window[_0x57a309([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e2f31(_0x283430),0x10)*_0x39b33e:null;}function _0x3f5f92(_0xd7340d){return new window[(_0x57a309([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e3ac3,_0xe0546a)=>{_0xd7340d[_0x57a309([0x74,0x68,0x65,0x6e])](_0x3e3ac3,_0xe0546a),window[_0x57a309([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0xe0546a,0x7347de73^_0x724f1c);});}}_0x1796ef[_0x57a309([0x6f,0x6e])](_0x57a309([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x575f66,_0x478bfd)=>{if(_0x478bfd[0x0]!=_0x3257fd)return _0x13592a(_0x57a309([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x478bfd[0x1]={..._0x478bfd[0x1],[_0x57a309([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3b9811};},{[_0x57a309([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57a309([0x68,0x69,0x67,0x68])}),_0x1796ef[_0x57a309([0x6f,0x6e])](_0x57a309([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x458454=>{_0x5072e0(_0x458454[_0x57a309([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37eea4=!0x0,_0x58b88b(_0x458454[_0x57a309([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x57a309([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x57a309([0x6c,0x6f,0x77])}),_0x3fb4ec[_0x57a309([0x74,0x68,0x65,0x6e])](()=>{_0x37eea4||_0x13592a(_0x57a309([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5d6f62(){return _0x1796ef[_0x57a309([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57a309([0x76,0x69,0x65,0x77])][_0x57a309([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x57a309([0x61,0x75,0x74,0x6f]);}function _0x24f13e(){_0x1796ef[_0x57a309([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x57a309([0x76,0x69,0x65,0x77])][_0x57a309([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x57a309([0x61,0x75,0x74,0x6f]);}}function _0x41d303(_0x3f210b){const _0x16ed71=[new window[(_0x57a309([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x54a477=>setTimeout(_0x54a477,0x734f347f^_0x724f1c)),_0x3fb4ec[_0x57a309([0x74,0x68,0x65,0x6e])](()=>new window[(_0x57a309([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5014c=>{let _0x58b440=0x0;_0x1796ef[_0x57a309([0x6d,0x6f,0x64,0x65,0x6c])][_0x57a309([0x6f,0x6e])](_0x57a309([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2b4776,_0x4aa3b5)=>{_0x4aa3b5[0x0][_0x57a309([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58b440++,_0x58b440==(0x73460b4b^_0x724f1c)&&(_0x5014c(),_0x2b4776[_0x57a309([0x6f,0x66,0x66])]());});}))];return window[_0x57a309([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x57a309([0x72,0x61,0x63,0x65])](_0x16ed71)[_0x57a309([0x74,0x68,0x65,0x6e])](()=>_0x3f210b);}async function _0x1c1780(){await _0x3fb4ec,_0x1796ef[_0x57a309([0x6d,0x6f,0x64,0x65,0x6c])][_0x57a309([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x286fc4,_0x1796ef[_0x57a309([0x6d,0x6f,0x64,0x65,0x6c])][_0x57a309([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x286fc4,_0x1796ef[_0x57a309([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57a309([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4b6d00(){return window[_0x57a309([0x67,0x6c,0x6f,0x62])]&&window[_0x57a309([0x67,0x6c,0x6f,0x62])][_0x57a309([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x13e99e(){return _0x11101e(_0x57a309([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x41f3c7(_0x57a309([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x57a309([0x73,0x74,0x61,0x74,0x65])]==_0x57a309([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0xaf86b2(){return _0x11101e(_0x57a309([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 _0x3f2fb9(){return _0x11101e(_0x57a309([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3fa350(_0x5f7f40){const _0x589f57=_0x31b185();_0x1796ef[_0x589f57]=_0x57a309([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5f7f40,_0x5f7f40!=_0x57a309([0x56,0x61,0x6c,0x69,0x64])&&_0x1c1780();}function _0x31b185(){const _0x12ebf9=window[_0x57a309([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x57a309([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57a309([0x6e,0x6f,0x77])]())[_0x57a309([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57a309([0x2e]),'');let _0x226963=_0x57a309([0x4b]);for(let _0x486c13=0x0;_0x486c13<_0x12ebf9[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x486c13+=0x2){let _0x111ae4=window[_0x57a309([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12ebf9[_0x57a309([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x486c13,_0x486c13+0x2));_0x111ae4>=_0xdb784f[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x111ae4-=_0xdb784f[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x226963+=_0xdb784f[_0x111ae4];}return _0x226963;}function _0x38ae64(){const _0x21b0d4=_0x528f5f[_0x57a309([0x73,0x70,0x6c,0x69,0x74])](_0x57a309([0x2e]));if(0x3!=_0x21b0d4[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x196e98(_0x21b0d4[0x1]);function _0x196e98(_0x3a80c9){const _0x39f088=_0x563a29(_0x3a80c9);return _0x39f088&&_0x58c03b()?_0x39f088:null;function _0x58c03b(){const _0x3a6705=_0x39f088[_0x57a309([0x6a,0x74,0x69])],_0x579128=window[_0x57a309([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a6705[_0x57a309([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3a6705[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x38e376={..._0x39f088,[_0x57a309([0x6a,0x74,0x69])]:_0x3a6705[_0x57a309([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3a6705[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x38e376[_0x57a309([0x76,0x63])],_0x3e73fd(_0x38e376)==_0x579128;}}}async function _0x5df46f(){let _0xbc9a66=!0x0;try{const _0x3e9b55=_0x528f5f[_0x57a309([0x73,0x70,0x6c,0x69,0x74])](_0x57a309([0x2e])),[_0x3ebd90,_0x16ff7c,_0x592187]=_0x3e9b55;return _0x16b053(_0x3ebd90),await _0x5af9cc(_0x3ebd90,_0x16ff7c,_0x592187),_0xbc9a66;}catch{return!0x1;}function _0x16b053(_0x1b0ceb){const _0x39b9f1=_0x563a29(_0x1b0ceb);_0x39b9f1&&_0x39b9f1[_0x57a309([0x61,0x6c,0x67])]==_0x57a309([0x45,0x53,0x32,0x35,0x36])||(_0xbc9a66=!0x1);}async function _0x5af9cc(_0x98a1d1,_0x409ac1,_0x43dd95){const _0x47ffc2=window[_0x57a309([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x57a309([0x66,0x72,0x6f,0x6d])](_0x5be8e7(_0x43dd95),_0x54ecc0=>_0x54ecc0[_0x57a309([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7fccb0=new window[(_0x57a309([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x57a309([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x98a1d1+_0x57a309([0x2e])+_0x409ac1),_0x54c2ed=window[_0x57a309([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x57a309([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x54c2ed)return;const _0x34e111=await _0x54c2ed[_0x57a309([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x57a309([0x6a,0x77,0x6b]),_0x5ee02a,{[_0x57a309([0x6e,0x61,0x6d,0x65])]:_0x57a309([0x45,0x43,0x44,0x53,0x41]),[_0x57a309([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x57a309([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x57a309([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x54c2ed[_0x57a309([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x57a309([0x6e,0x61,0x6d,0x65])]:_0x57a309([0x45,0x43,0x44,0x53,0x41]),[_0x57a309([0x68,0x61,0x73,0x68])]:{[_0x57a309([0x6e,0x61,0x6d,0x65])]:_0x57a309([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x34e111,_0x47ffc2,_0x7fccb0)||(_0xbc9a66=!0x1);}}function _0x563a29(_0x240c89){return _0x240c89[_0x57a309([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x57a309([0x65,0x79]))?JSON[_0x57a309([0x70,0x61,0x72,0x73,0x65])](_0x5be8e7(_0x240c89)):null;}function _0x5be8e7(_0x5af686){return window[_0x57a309([0x61,0x74,0x6f,0x62])](_0x5af686[_0x57a309([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x57a309([0x2b]))[_0x57a309([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x57a309([0x2f])));}function _0x3e73fd(_0xaaa1df){let _0x44694b=0x1505;function _0x4c8451(_0x172d38){for(let _0x3727ad=0x0;_0x3727ad<_0x172d38[_0x57a309([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3727ad++){const _0x3b564b=_0x172d38[_0x57a309([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3727ad);_0x44694b=(_0x44694b<<0x5)+_0x44694b+_0x3b564b,_0x44694b&=_0x44694b;}}function _0x1ffde7(_0x474397){Array[_0x57a309([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x474397)?_0x474397[_0x57a309([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1ffde7):_0x474397&&typeof _0x474397==_0x57a309([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x57a309([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x474397)[_0x57a309([0x73,0x6f,0x72,0x74])]()[_0x57a309([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x83b794,_0x2f3d7e])=>{_0x4c8451(_0x83b794),_0x1ffde7(_0x2f3d7e);}):_0x4c8451(window[_0x57a309([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x474397));}return _0x1ffde7(_0xaaa1df),_0x44694b>>>0x0;}function _0x26665e(_0x31877f){return _0x31877f[_0x57a309([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x57a309([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x57a309([0x30]));}function _0x3e2f31(_0x2b7638){return _0x2b7638[_0x57a309([0x73,0x70,0x6c,0x69,0x74])]('')[_0x57a309([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x57a309([0x6a,0x6f,0x69,0x6e])]('');}function _0x11101e(_0xbbef0){return _0x1796ef[_0x57a309([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x57a309([0x68,0x61,0x73])](_0xbbef0);}function _0x41f3c7(_0x72b90){return _0x1796ef[_0x57a309([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x57a309([0x67,0x65,0x74])](_0x72b90);}function _0x286fc4(){}function _0x57a309(_0xed8dc7){const _0x30a1fb=_0x1813;return _0xed8dc7[_0x30a1fb(0xe6)](_0x1fa40a=>String[_0x30a1fb(0xe3)](_0x1fa40a))[_0x30a1fb(0x139)]('');}_0x3fa350(await _0x465081());}(this);}[_0xfde246(0x153)](){const _0x3b3924=_0xfde246,_0x1176ce=this[_0x3b3924(0x135)][_0x3b3924(0x13e)][_0x3b3924(0xf4)](_0x10a723),_0x2a8542=this[_0x3b3924(0x135)][_0x3b3924(0x176)][_0x3b3924(0xf4)](_0x3b3924(0x11f));for(const _0x37b612 of _0x1176ce[_0x3b3924(0x12e)]({'channelId':_0x2a8542}))_0x1176ce[_0x3b3924(0x131)](_0x37b612['id']),_0x1176ce[_0x3b3924(0x146)][_0x3b3924(0xfc)](_0x37b612['id']);super[_0x3b3924(0x153)]();}[_0xfde246(0xd8)](_0x5d05be){const _0x4fbd1a=_0xfde246;return this[_0x4fbd1a(0x11e)](_0x5d05be)[_0x4fbd1a(0x114)]>0x0;}[_0xfde246(0x11e)](_0x2db0bf){const _0x843b90=_0xfde246,_0x72d896=[];for(const _0xe170e7 of this[_0x843b90(0x135)][_0x843b90(0x140)][_0x843b90(0xe9)])_0xe170e7[_0x843b90(0x11a)][_0x843b90(0xe2)](_0x843b90(0x171)+_0x2db0bf)&&_0x72d896[_0x843b90(0xdf)](_0xe170e7);return _0x72d896;}[_0xfde246(0x119)](_0x550635){setTimeout(()=>{const _0x3970c2=_0x1813,_0x4ce160=this[_0x3970c2(0xf7)](_0x550635);if(!_0x4ce160)return;this[_0x3970c2(0x120)]&&_0x582ee7(this[_0x3970c2(0x120)])['id']===_0x550635&&_0x24f921({'target':_0x4ce160[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xfde246(0x15b)](_0x5d25fc){const _0x4f83f3=_0xfde246;this[_0x4f83f3(0x135)][_0x4f83f3(0x140)][_0x4f83f3(0x123)](()=>{const _0x1e9e4d=_0x4f83f3;for(const _0x3f8149 of this[_0x1e9e4d(0x11e)](_0x5d25fc))this[_0x1e9e4d(0x135)][_0x1e9e4d(0xf5)][_0x1e9e4d(0xe7)](_0x3f8149);});}[_0xfde246(0xf8)](_0x294aa3){const _0x7293dc=_0xfde246,_0x23a3d1=this[_0x7293dc(0x135)][_0x7293dc(0x13e)][_0x7293dc(0xf4)](_0x10a723),_0x319fe2=this[_0x7293dc(0x135)][_0x7293dc(0x13e)][_0x7293dc(0xf4)](_0x29d0ea),_0xed537c=_0x23a3d1[_0x7293dc(0x15d)](_0x294aa3);if(!_0xed537c[_0x7293dc(0x177)]){const _0x27fd84=_0xed537c[_0x7293dc(0x130)](()=>this[_0x7293dc(0xf7)](_0xed537c['id']));_0x319fe2[_0x7293dc(0x16c)](_0x27fd84),_0xed537c[_0x7293dc(0x16e)]=!0x1;}}[_0xfde246(0x151)](){const _0x179e92=_0xfde246,_0x5ad67c=this[_0x179e92(0x135)],_0x2eb6a3=_0x5ad67c[_0x179e92(0x13e)][_0x179e92(0xf4)](_0x52aca3);_0x5ad67c[_0x179e92(0x14c)][_0x179e92(0x12c)](_0x179e92(0x115))[_0x179e92(0xd9)]({'model':_0x179e92(0x13a),'view':(_0x23a3dc,_0x4f9a35)=>{const _0x57c5b3=_0x179e92,{id:_0x553a09}=_0x582ee7(_0x23a3dc[_0x57c5b3(0x110)]),_0x52fcb9=_0x5ad67c[_0x57c5b3(0x13e)][_0x57c5b3(0xf4)](_0x10a723)[_0x57c5b3(0x15d)](_0x553a09),_0x3ac5f8=this[_0x57c5b3(0x120)]&&_0x582ee7(this[_0x57c5b3(0x120)])['id']===_0x553a09;let _0x199ad0;if(_0x52fcb9&&_0x52fcb9[_0x57c5b3(0x134)]&&!_0x3ac5f8&&_0x23a3dc[_0x57c5b3(0x113)])return _0x4f9a35[_0x57c5b3(0x103)][_0x57c5b3(0x10c)](_0x23a3dc[_0x57c5b3(0x113)],_0x57c5b3(0xd7)+_0x23a3dc[_0x57c5b3(0x110)]),_0x4f9a35[_0x57c5b3(0x103)][_0x57c5b3(0x10c)](_0x23a3dc[_0x57c5b3(0x113)],_0x57c5b3(0x12d)+_0x23a3dc[_0x57c5b3(0x110)]),null;const _0x16007c=[_0x57c5b3(0xfa)];return _0x3ac5f8&&_0x16007c[_0x57c5b3(0xdf)](_0x57c5b3(0xed)),_0x199ad0=_0x52fcb9?.[_0x57c5b3(0x114)]?_0x52fcb9[_0x57c5b3(0x137)][_0x57c5b3(0xf1)][_0x57c5b3(0x169)]['id']:_0x2eb6a3['me']['id'],{'classes':_0x16007c,'attributes':{'data-comment':_0x553a09,'data-author-id':_0x199ad0}};}}),_0x5ad67c[_0x179e92(0x14c)][_0x179e92(0x12c)](_0x179e92(0x172))[_0x179e92(0x106)]({'model':_0x179e92(0x13a),'view':(_0x3a1bbc,{options:_0x30daa2})=>{const _0x2ad78d=_0x179e92;if(_0x30daa2[_0x2ad78d(0x14d)])return null;const _0x101ce5=_0x5ad67c[_0x2ad78d(0x13e)][_0x2ad78d(0xf4)](_0x10a723),_0x2e3d05=_0x5ad67c[_0x2ad78d(0x140)][_0x2ad78d(0xe9)][_0x2ad78d(0xf4)](_0x3a1bbc),{id:_0x18f9ed,part:_0x1c0f7c}=_0x582ee7(_0x3a1bbc);return _0x2e3d05&&!_0x2e3d05[_0x2ad78d(0x121)]||_0x30daa2[_0x2ad78d(0x10d)]&&_0x101ce5[_0x2ad78d(0x15d)](_0x18f9ed)?.[_0x2ad78d(0x134)]?null:{'group':_0x2ad78d(0x13a),'name':_0x1c0f7c?_0x18f9ed+':'+_0x1c0f7c:_0x18f9ed};}}),_0x5ad67c[_0x179e92(0x14c)][_0x179e92(0x12c)](_0x179e92(0xf9))[_0x179e92(0xdb)]({'view':{'name':_0x179e92(0x13a),'attributes':{'id':/^\w/}},'model':(_0x179d1a,{writer:_0xda1049})=>_0xda1049[_0x179e92(0x161)](_0x179e92(0x10a),{'data-name':_0x179e92(0x171)+_0x179d1a[_0x179e92(0x163)]('id')})}),_0x5ad67c[_0x179e92(0x14c)][_0x179e92(0x12c)](_0x179e92(0xf9))[_0x179e92(0x108)]({'view':_0x179e92(0x13a)});}[_0xfde246(0x179)](){const _0xd4d1eb=_0xfde246,_0x2fc636=this[_0xd4d1eb(0x135)],_0x147026=_0x2fc636[_0xd4d1eb(0x13e)][_0xd4d1eb(0xf4)](_0x10a723),_0x2298fa=new Set(),_0x3a4b03=new Set();_0x2fc636[_0xd4d1eb(0x140)][_0xd4d1eb(0xeb)][_0xd4d1eb(0xee)](_0x2d5b85=>{const _0x8242bd=_0xd4d1eb;let _0x29b03a=!0x1;for(const {name:_0x500a7e,data:_0x5565ff}of _0x2fc636[_0x8242bd(0x140)][_0x8242bd(0xeb)][_0x8242bd(0x159)][_0x8242bd(0x168)]()){const {group:_0x591a0e,id:_0x55157b}=_0x582ee7(_0x500a7e);let _0x162d83=_0x5565ff[_0x8242bd(0x133)];if(_0x8242bd(0x13a)!==_0x591a0e||!_0x162d83)continue;const _0x3b5b9f=_0x8242bd(0x12a)===_0x162d83[_0x8242bd(0x118)][_0x8242bd(0x158)];_0x3b5b9f||(_0x162d83=ht(_0x162d83,_0x2fc636[_0x8242bd(0x140)]),!_0x162d83||_0x162d83[_0x8242bd(0x165)]||!_0x5565ff[_0x8242bd(0x133)]||_0x162d83[_0x8242bd(0x160)](_0x5565ff[_0x8242bd(0x133)]))?_0x2fc636[_0x8242bd(0x140)][_0x8242bd(0xf3)](_0x162d83)&&!_0x3b5b9f?this[_0x8242bd(0x10f)]?_0x2298fa[_0x8242bd(0xf0)](_0x500a7e):this[_0x8242bd(0x145)](_0x500a7e,_0x55157b):(_0x3a4b03[_0x8242bd(0xf0)](_0x500a7e),_0x2298fa[_0x8242bd(0xfc)](_0x500a7e),_0x2d5b85[_0x8242bd(0x132)](_0x500a7e),_0x29b03a=!0x0):(_0x2d5b85[_0x8242bd(0x156)](_0x500a7e,{'range':_0x162d83}),_0x29b03a=!0x0);}return _0x29b03a;}),this['on'](_0xd4d1eb(0x102),(_0x58bcd6,_0x199be5,_0x15eb6e)=>{const _0x535fcc=_0xd4d1eb;if(!_0x15eb6e&&_0x2298fa[_0x535fcc(0x117)])for(const _0x5296f1 of _0x2298fa){const {id:_0x2712d0}=_0x582ee7(_0x5296f1);_0x2298fa[_0x535fcc(0xfc)](_0x5296f1),_0x2fc636[_0x535fcc(0x140)][_0x535fcc(0xe9)][_0x535fcc(0xf4)](_0x5296f1)&&this[_0x535fcc(0x145)](_0x5296f1,_0x2712d0);}}),this[_0xd4d1eb(0x14a)](_0x2fc636[_0xd4d1eb(0x140)][_0xd4d1eb(0xeb)],_0xd4d1eb(0x123),()=>{const _0x2f1eef=_0xd4d1eb;for(const {name:_0x4c2a32,data:{newRange:_0xdd38aa}}of _0x2fc636[_0x2f1eef(0x140)][_0x2f1eef(0xeb)][_0x2f1eef(0x159)][_0x2f1eef(0x168)]()){const {group:_0xc45bb1,id:_0x2ab9e8}=_0x582ee7(_0x4c2a32);if(_0x2f1eef(0x13a)!==_0xc45bb1)continue;const _0x10e0d8=_0x147026[_0x2f1eef(0x15d)](_0x2ab9e8),_0x15110a=this[_0x2f1eef(0xd8)](_0x2ab9e8);_0x10e0d8&&(!_0x10e0d8[_0x2f1eef(0x16e)]&&_0xdd38aa&&_0x2fc636[_0x2f1eef(0xf5)][_0x2f1eef(0xfe)][_0x2f1eef(0x12b)](_0x2f1eef(0x15e),()=>{const _0x18e59e=_0x2f1eef,_0x32d936=_0x2fc636[_0x18e59e(0x13e)][_0x18e59e(0xf4)](_0xdd0f0d),_0x199208=_0x147026[_0x18e59e(0xe0)][_0x18e59e(0xf4)](_0x10e0d8)[_0x18e59e(0xfe)];_0x32d936[_0x18e59e(0x16b)](_0x199208)[_0x18e59e(0x16f)]();},{'priority':_0x2f1eef(0x128)}),_0x10e0d8[_0x2f1eef(0x16e)]=_0x15110a||!!_0xdd38aa),_0xdd38aa||(_0x3a4b03[_0x2f1eef(0xf0)](_0x4c2a32),_0x2298fa[_0x2f1eef(0xfc)](_0x4c2a32));}for(const _0x53e399 of _0x3a4b03){const {id:_0x343947}=_0x582ee7(_0x53e399),_0x5705db=_0x147026[_0x2f1eef(0x15d)](_0x343947);if(_0x2298fa[_0x2f1eef(0xfc)](_0x53e399),!_0x5705db)continue;const _0x2d8de=this[_0x2f1eef(0xd8)](_0x343947);_0x2d8de||_0x5705db[_0x2f1eef(0x173)]?_0x2d8de||_0x5705db[_0x2f1eef(0x154)]||_0x5705db[_0x2f1eef(0x12f)](new Date()):_0x5705db[_0x2f1eef(0x148)]();}_0x3a4b03[_0x2f1eef(0x129)]();});}[_0xfde246(0xe1)](_0x441ca1){const _0x413259=_0xfde246;_0x441ca1[_0x413259(0x10e)](_0x5af3e4=>{const _0xbd6268=_0x413259;_0x5af3e4[_0xbd6268(0x154)]&&this[_0xbd6268(0xf8)](_0x5af3e4['id']);});}[_0xfde246(0xf7)](_0x32ed94){const _0xa590f=_0xfde246,_0x10b2e2=this[_0xa590f(0x135)],_0x5c57ff=this[_0xa590f(0x11e)](_0x32ed94);return _0x3477ed(_0x10b2e2[_0xa590f(0xf5)],_0x5c57ff);}[_0xfde246(0x170)](_0x3ca5d8){const _0x1e2f1d=_0xfde246,_0x26e6fb=this[_0x1e2f1d(0x11e)](_0x3ca5d8);let _0x491df7='',_0x3819cd=!0x1;for(const _0x656bdb of _0x26e6fb){const _0x51a029=_0x656bdb[_0x1e2f1d(0x14f)]();for(const _0x1dfc86 of Array[_0x1e2f1d(0x155)](_0x51a029[_0x1e2f1d(0x11b)]()))_0x1dfc86['is'](_0x1e2f1d(0x122))?(_0x491df7&&_0x3819cd&&(_0x491df7+='\x20',_0x3819cd=!0x1),_0x491df7+=_0x1dfc86[_0x1e2f1d(0x10b)]):_0x3819cd=!0x0;_0x3819cd=!0x0;}return _0x491df7[_0x1e2f1d(0x13c)](0x0,0x96);}[_0xfde246(0x14b)](_0x521e02,_0x54816d){const _0x31622b=_0xfde246,_0x111495=this[_0x31622b(0x135)],_0x1f60f3=_0x111495[_0x31622b(0x13e)][_0x31622b(0xf4)](_0x10a723);let _0x384ab9=_0x1f60f3[_0x31622b(0x15d)](_0x54816d);const _0x26001f=_0x111495[_0x31622b(0x176)][_0x31622b(0xf4)](_0x31622b(0x11f)),_0x37bd6d=_0x111495[_0x31622b(0x13e)][_0x31622b(0xf4)](_0x29d0ea);if(_0x384ab9&&(_0x384ab9[_0x31622b(0x154)]&&_0x384ab9[_0x31622b(0x12f)](null),_0x384ab9[_0x31622b(0x177)]))return _0x384ab9;return!this[_0x31622b(0x11e)](_0x54816d)[0x0][_0x31622b(0x15c)]?_0x111495[_0x31622b(0xf5)][_0x31622b(0xfe)][_0x31622b(0x12b)](_0x31622b(0x15e),()=>{const _0x4ffeaa=_0x31622b;if(_0x1f60f3[_0x4ffeaa(0x15d)](_0x54816d))return;const _0x24adda=_0x111495[_0x4ffeaa(0x13e)][_0x4ffeaa(0xf4)](_0xdd0f0d);_0x384ab9=_0x1f60f3[_0x4ffeaa(0xdc)]({'channelId':_0x26001f,'threadId':_0x54816d,'target':()=>this[_0x4ffeaa(0xf7)](_0x54816d),'context':{'type':_0x4ffeaa(0x11c),'value':this[_0x4ffeaa(0x170)](_0x54816d)}});const _0x37368a=_0x1f60f3[_0x4ffeaa(0xe0)][_0x4ffeaa(0xf4)](_0x384ab9)[_0x4ffeaa(0xfe)],_0x36025e=_0x24adda[_0x4ffeaa(0x16b)](_0x37368a);_0x36025e&&_0x37bd6d[_0x4ffeaa(0x16c)](_0x36025e);},{'priority':_0x31622b(0x128)}):_0x1f60f3[_0x31622b(0x13b)]({'channelId':_0x26001f,'threadId':_0x54816d})[_0x31622b(0xea)](_0x3bf124=>{const _0xbb3f0b=_0x31622b;if(_0xbb3f0b(0xec)!==_0x111495[_0xbb3f0b(0x13f)]){if(_0x384ab9=_0x3bf124,_0x384ab9&&!_0x384ab9[_0xbb3f0b(0x177)]){const _0x9033bc=_0x384ab9[_0xbb3f0b(0x130)](()=>this[_0xbb3f0b(0xf7)](_0x54816d));_0x37bd6d[_0xbb3f0b(0x16c)](_0x9033bc),_0x384ab9[_0xbb3f0b(0x134)]&&this[_0xbb3f0b(0x15b)](_0x54816d);}else{if(!_0x384ab9){const _0x1a7283=this[_0xbb3f0b(0x11e)](_0x54816d);_0x111495[_0xbb3f0b(0x140)][_0xbb3f0b(0x123)](_0x783d1b=>{const _0x2799ae=_0xbb3f0b;for(const _0x5e9e93 of _0x1a7283)_0x783d1b[_0x2799ae(0x132)](_0x5e9e93);});}}}}),_0x384ab9;}[_0xfde246(0x145)](_0x2b63e4,_0x4e1590){const _0x397f45=_0xfde246,_0x3a47f1=this[_0x397f45(0x14b)](_0x2b63e4,_0x4e1590);_0x3a47f1&&!_0x3a47f1[_0x397f45(0xe8)]&&_0x3a47f1[_0x397f45(0x101)]({'type':_0x397f45(0x11c),'value':this[_0x397f45(0x170)](_0x4e1590)});}[_0xfde246(0x141)](){const _0x4952b3=_0xfde246,_0xa586c6=this[_0x4952b3(0x135)];_0x381182(_0xa586c6[_0x4952b3(0x140)],({left:_0x435a25,entered:_0x24873e})=>{const _0x53442d=_0x4952b3;for(const _0x59f29a of _0x435a25)if(mt(_0x59f29a)){_0xa586c6['ui'][_0x53442d(0xf2)][_0x53442d(0x104)](_0x4f95da(_0xa586c6[_0x53442d(0xef)],_0x53442d(0x143)));break;}for(const _0x1f7176 of _0x24873e)if(mt(_0x1f7176)){_0xa586c6['ui'][_0x53442d(0xf2)][_0x53442d(0x104)](_0x4f95da(_0xa586c6[_0x53442d(0xef)],_0x53442d(0x174),_0x13efa3(_0xc5994c)));break;}});}}function _0x1813(_0x427ce4,_0xfb9db0){const _0x4a5e17=_0x4a5e();return _0x1813=function(_0x181313,_0x2831a0){_0x181313=_0x181313-0xd7;let _0x55bef9=_0x4a5e17[_0x181313];return _0x55bef9;},_0x1813(_0x427ce4,_0xfb9db0);}function dt(_0x38f606,_0x1f68de){return _0x1f68de?_0x38f606+':'+_0x1f68de:_0x38f606;}function ht(_0x3bdc17,_0x4814a1){const _0x14b373=_0xfde246,_0x3a9625=_0x4814a1[_0x14b373(0x100)],_0x1e063a=_0x4814a1[_0x14b373(0x142)](_0x3bdc17[_0x14b373(0x164)]);for(const _0x558954 of _0x3bdc17[_0x14b373(0x149)]()){const {type:_0x37d90f,item:_0x33aaf8,nextPosition:_0x40e542}=_0x558954;if(_0x14b373(0x11c)===_0x37d90f||_0x3a9625[_0x14b373(0x15f)](_0x33aaf8)){const _0x2a768c=_0x4814a1[_0x14b373(0x109)](_0x33aaf8);_0x1e063a[_0x14b373(0x165)]&&(_0x1e063a[_0x14b373(0x164)]=_0x2a768c),_0x1e063a[_0x14b373(0x147)]=_0x40e542;}}return _0x1e063a;}function mt(_0x5869b2){const _0x331d67=_0xfde246;return _0x331d67(0x13a)===_0x582ee7(_0x5869b2[_0x331d67(0x11a)])[_0x331d67(0xf6)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
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
|
-
|
|
25
|
-
|
|
23
|
+
function _0x1c16(){const _0x1b9b43=['getAnnotationForCommentThread','authorName','commentsrepository-missing-comment-thread','escape','commentsrepository-missing-target','setUnlinkedAt','activeCommentThread','getCommentThreads','canComment','then','max','getTime','@external','isFromAdapter','plugins','isAttached','find','_readOnlyChannels','PENDING_ACTION_COMMENT_THREAD','commentsrepository-get-comment-invalid-id','commentsrepository-remove-missing-comment','createElement','_removeActiveAnnotation','_getExternalAuthor','getByInnerView','init','isPremiumPlugin','channelId','author','commentsrepository-remove-comment-internal-error','write','reopen','comments.maxCommentsWhenCollapsed','trim','textContent','comments.copyMarkers','commentsrepository-resolve-comment-thread-internal-error','pluginName','_hasTargetInContent','archivedAt','commentsrepository-attach-missing-comment-thread','submit','commentsrepository-invalid-comment-content','getCommentThreadForAnnotation','push','removeCommentThread','PendingActions','isOfficialPlugin','_bindAnnotationToEditors','reopenCommentThread','authoredAt','values','isVisible','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-resolved-comment-thread','_isAttached','external:','lowest','once','getCommentThread','update','commentsrepository-add-comment-internal-error','2ofGoOx','commentsrepository-adapter-already-set','1500823kxUQVd','commentsrepository-remove-comment-thread-internal-error','commentsrepository-active-not-attached','_createCommentThreadView','has','commentsrepository-update-comment-internal-error','length','set','createdAt','config','remove','modifyAll','editorDestroyed','licenseKey','bodyCollectionContainer','commentsrepository-invalid-comment-thread-id','_attachCommentThread','_createNewComment','_unbindEditors','attachTo','CommentThreadView','4974756uCRZnF','comments.CommentView','commentsrepository-update-comment-thread-internal-error','_threadToController','commentId','catch','getComment','resolvedBy','toJSON','requires','commentsrepository-add-comment-thread-internal-error','CommentsRepository','commentsrepository-missing-thread-and-adapter-method','_permissions','_updateActiveAnnotation','resolveCommentThread','function','weight','focus','commentsrepository-active-missing-comment-thread','listenTo','_updateCommentThread','commentsrepository-update-comment-missing-comment-thread','commentsrepository-update-comment-invalid-content','change:_permissions','focusableElements','4512295uLWkAO','_viewToController','commentsrepository-remove-missing-comment-thread','get','threadId','comments.maxThreadTotalWeight','commentsrepository-fetch-comment-thread','context','9313824kiFhxy','creator','commentsrepository-duplicated-comment-thread-id','CommentView','getPermissions','commentsrepository-invalid-comment-authorid','comments.maxCommentCharsWhenCollapsed','view','isReadOnly','isSubmitted','hasCommentThread','unlinkedAt','_updateComment','submitCommentThread','fire','commentsrepository-remove-comment-missing-comment-thread','isExternal','commentsrepository-add-comment-user-not-exists','isResolvable','resolve','addUser','body','_addComment','isDirty','error','comment','updateCommentThread','change:isDirty','define','removeComment','editorReady','openNewCommentThread','content','highest','warn','getIndex','4838637Syfyll','commentsrepository-add-comment-to-missing-comment-thread','301816ErjJEV','commentInputView','isRemovable','commentUpdated','focusTracker','map','assign','20942784bFCFQZ','comments.editorConfig','_removeCommentThread','setAttribute','_findOptimalIndex','_addCommentThread','isActive','setActiveCommentThread','addComment','addCommentThread','217MspFRT','bind','getUser','setContext','commentsrepository-reopen-comment-thread-internal-error','_repository','_threads','add','model','reduce','type','div','comments.CommentThreadView','switchReadOnly','isResolved','delete','commentsrepository-invalid-commentid','commentsListView','resolvedAt','removeAttribute','activate','commentsrepository-update-missing-comment','_isSubmitted','filter','_removeComment','refreshVisibility','_submitCommentThread','change:authoredAt','commentThreadInputView','deactivateAll','createCommentThreadController','destroy','adapter','admin','comments','from','_reopenCommentThread','noChannel','change:_readOnlyChannels','innerView','isEditable','string','innerHTML','commentsrepository-reopen-comment-thread','_remove','stopListening','setPermissions','change:activeAnnotations','_detachCommentThread','_add','locale','_adapter','_update','attributes','updateComment','_resolveCommentThread','fetchCommentThread'];_0x1c16=function(){return _0x1b9b43;};return _0x1c16();}const _0x248013=_0x17df;(function(_0x30e580,_0x567579){const _0x46a966=_0x17df,_0x31c7a3=_0x30e580();while(!![]){try{const _0x16a286=-parseInt(_0x46a966(0x192))/0x1*(parseInt(_0x46a966(0x190))/0x2)+-parseInt(_0x46a966(0x1ed))/0x3+parseInt(_0x46a966(0x1a7))/0x4+parseInt(_0x46a966(0x1c1))/0x5+-parseInt(_0x46a966(0x1c9))/0x6+parseInt(_0x46a966(0x200))/0x7*(parseInt(_0x46a966(0x1ef))/0x8)+parseInt(_0x46a966(0x1f6))/0x9;if(_0x16a286===_0x567579)break;else _0x31c7a3['push'](_0x31c7a3['shift']());}catch(_0x127d82){_0x31c7a3['push'](_0x31c7a3['shift']());}}}(_0x1c16,0xee70f));import{PendingActions as _0x3b61ee,ContextPlugin as _0x47f9ad,Editor as _0x527287}from'ckeditor5/src/core.js';import{Collection as _0x2207f2,uid as _0x248155,CKEditorError as _0x5815c8,ObservableMixin as _0x160ea5}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x30a8b6,hashObject as _0x32055e,Users as _0x3369ad}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x484db0,isEqual as _0x208cd5,set as _0x2c193d,unset as _0x282825}from'es-toolkit/compat';import{CommentThreadController as _0x554014}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x220d9e}from'./ui/view/commentthreadview.js';import{CommentView as _0x383038}from'./ui/view/commentview.js';import{getTranslation as _0x24c358}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x4f1ab6}from'../annotations/view/annotationview.js';import{Annotation as _0xb2c836}from'../annotations/annotation.js';function _0x17df(_0x1c8a6d,_0x5af82d){const _0x1c16db=_0x1c16();return _0x17df=function(_0x17df18,_0x387120){_0x17df18=_0x17df18-0x151;let _0x37c217=_0x1c16db[_0x17df18];return _0x37c217;},_0x17df(_0x1c8a6d,_0x5af82d);}import{Annotations as _0x17fd04}from'../annotations/annotations.js';const _t=Symbol(_0x248013(0x225)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x47f9ad{[_0x248013(0x206)];[_0x248013(0x1aa)];[_0x248013(0x1c2)];static get[_0x248013(0x1b0)](){return[_0x17fd04,_0x3b61ee,_0x3369ad];}static get[_0x248013(0x177)](){const _0x35cac9=_0x248013;return _0x35cac9(0x1b2);}static get[_0x248013(0x181)](){return!0x0;}static get[_0x248013(0x16c)](){return!0x0;}constructor(_0x4c6026){const _0x59e9d1=_0x248013;super(_0x4c6026),this[_0x59e9d1(0x206)]=new Map(),this[_0x59e9d1(0x1aa)]=new Map(),this[_0x59e9d1(0x1c2)]=new Map(),this[_0x59e9d1(0x199)](_0x59e9d1(0x163),new Set()),this[_0x59e9d1(0x199)](_0x59e9d1(0x1b4),new Map());const _0x2dc3f6=this[_0x59e9d1(0x1c8)][_0x59e9d1(0x19b)];_0x2dc3f6[_0x59e9d1(0x1e5)](_0x59e9d1(0x172),0x2),_0x2dc3f6[_0x59e9d1(0x1e5)](_0x59e9d1(0x1c6),0x1f4),_0x2dc3f6[_0x59e9d1(0x1e5)](_0x59e9d1(0x1cf),0x8c),_0x2dc3f6[_0x59e9d1(0x1e5)](_0x59e9d1(0x20c),_0x220d9e),_0x2dc3f6[_0x59e9d1(0x1e5)](_0x59e9d1(0x1a8),_0x383038),_0x2dc3f6[_0x59e9d1(0x1c4)](_0x59e9d1(0x1f7))||console[_0x59e9d1(0x1eb)](_0x59e9d1(0x187));}[_0x248013(0x16b)](){const _0x39a327=_0x248013,_0xa8596f=this[_0x39a327(0x1c8)][_0x39a327(0x160)][_0x39a327(0x1c4)](_0x17fd04);this[_0x39a327(0x199)](_0x39a327(0x158),null),this['on'](_0x39a327(0x1ff),(_0x23857e,_0xe8bc81)=>this[_0x39a327(0x1fb)](_0xe8bc81)),this['on'](_0x39a327(0x1d6),(_0x4291cc,_0x4bad7b)=>this[_0x39a327(0x21a)](_0x4bad7b)),this['on'](_0x39a327(0x1b6),(_0xa2e662,_0x578df2)=>this[_0x39a327(0x237)](_0x578df2)),this['on'](_0x39a327(0x1b6),(_0x5318be,_0x52c254)=>this[_0x39a327(0x1b5)](_0x52c254),{'priority':_0x39a327(0x18b)}),this['on'](_0x39a327(0x183),(_0x266c84,_0x4edf4d)=>this[_0x39a327(0x224)](_0x4edf4d)),this['on'](_0x39a327(0x183),(_0x845d88,_0x45a86d)=>this[_0x39a327(0x1b5)](_0x45a86d),{'priority':_0x39a327(0x18b)}),this['on'](_0x39a327(0x17f),(_0x3b445e,_0x26bb72)=>this[_0x39a327(0x1f8)](_0x26bb72)),this['on'](_0x39a327(0x1e3),(_0x48d75d,_0x153312)=>this[_0x39a327(0x1bc)](_0x153312)),this['on'](_0x39a327(0x1e3),(_0x541f4b,_0x5291c0)=>this[_0x39a327(0x1b5)](_0x5291c0),{'priority':_0x39a327(0x18b)}),this['on'](_0x39a327(0x1fe),(_0x3508c5,_0x200f87)=>this[_0x39a327(0x1df)](_0x200f87)),this['on'](_0x39a327(0x236),(_0x74c527,_0x2d4fea)=>this[_0x39a327(0x1d5)](_0x2d4fea)),this['on'](_0x39a327(0x1e6),(_0x146dee,_0x3281d)=>this[_0x39a327(0x218)](_0x3281d)),this['on'](_0x39a327(0x1fe),(_0x495d5f,{threadId:_0x2f7229,isFromAdapter:_0x582799})=>{const _0x1a4a5f=_0x39a327;if(_0x582799)return;const _0x5c90c1=this[_0x1a4a5f(0x18d)](_0x2f7229),_0x155b7b=_0x5c90c1&&this[_0x1a4a5f(0x1aa)][_0x1a4a5f(0x1c4)](_0x5c90c1);_0x155b7b&&_0x155b7b[_0x1a4a5f(0x1d0)][_0x1a4a5f(0x211)][_0x1a4a5f(0x1b9)](-0x1);},{'priority':_0x39a327(0x18b)}),this[_0x39a327(0x1bb)](_0xa8596f,_0x39a327(0x22f),(_0x49a701,_0x3b338b,_0x4744b8)=>{const _0x9c0893=_0x39a327,_0x2397d8=Array[_0x9c0893(0x223)](_0x4744b8)[_0x9c0893(0x1f4)](_0x37faeb=>this[_0x9c0893(0x1c2)][_0x9c0893(0x1c4)](_0x37faeb[_0x9c0893(0x227)]))[_0x9c0893(0x217)](Boolean)[0x0];this[_0x9c0893(0x158)]=_0x2397d8?_0x2397d8[_0x9c0893(0x208)]:null;});}set[_0x248013(0x220)](_0x1d23ea){const _0x34d21b=_0x248013;if(this[_0x34d21b(0x233)])throw new _0x5815c8(_0x34d21b(0x191));this[_0x34d21b(0x233)]=_0x1d23ea;}get[_0x248013(0x220)](){const _0x453b3e=_0x248013;return this[_0x453b3e(0x233)];}[_0x248013(0x1ff)]({channelId:_0x5cf96b=_t,threadId:_0x4a8cf5=_0x248155(),comments:_0x39dbfd=[],unlinkedAt:_0x297630=null,resolvedAt:_0x1252b1=null,resolvedBy:_0x236064=null,target:_0x371b4b=null,context:_0x563978=null,attributes:_0x538c63={},isResolvable:_0x63781d=!0x0,isSubmitted:_0x51a9c0=!0x1,isFromAdapter:_0x301374=!0x1}={}){const _0x38293a=_0x248013;return this[_0x38293a(0x1d7)](Nt(_0x38293a(0x1ff),_0x5cf96b),{'channelId':_0x5cf96b,'threadId':_0x4a8cf5,'comments':_0x39dbfd,'unlinkedAt':_0x297630,'resolvedAt':_0x1252b1,'resolvedBy':_0x236064,'target':_0x371b4b,'context':_0x563978,'attributes':_0x538c63,'isFromAdapter':_0x301374,'isResolvable':_0x63781d,'isSubmitted':_0x51a9c0}),this[_0x38293a(0x18d)](_0x4a8cf5);}[_0x248013(0x1e8)]({channelId:_0x2baa14=_t,threadId:_0x2c1d59=_0x248155(),target:_0x152cbf,context:_0x30072f=null,isResolvable:_0x4bb8b6=!0x0}){const _0xb46787=_0x248013;if(this[_0xb46787(0x163)][_0xb46787(0x196)](_0x2baa14)||this[_0xb46787(0x163)][_0xb46787(0x196)](void 0x0))return null;if(!_0x152cbf)throw new _0x5815c8(_0xb46787(0x156));const _0x4a6411=this[_0xb46787(0x1ff)]({'channelId':_0x2baa14,'threadId':_0x2c1d59,'target':_0x152cbf,'context':_0x30072f,'isResolvable':_0x4bb8b6});if(!_0x4a6411)return null;const _0x17e01b=this[_0xb46787(0x1aa)][_0xb46787(0x1c4)](_0x4a6411),_0x2644d0=_0x17e01b[_0xb46787(0x1d0)][_0xb46787(0x21c)][_0xb46787(0x1f0)],_0x290046=this[_0xb46787(0x1c8)][_0xb46787(0x160)][_0xb46787(0x1c4)](_0x17fd04),_0xbda321=_0x290046[_0xb46787(0x16a)](_0x17e01b[_0xb46787(0x1d0)]);return _0x290046[_0xb46787(0x214)](_0xbda321),_0x2644d0[_0xb46787(0x18c)](_0xb46787(0x1e7),()=>_0x2644d0[_0xb46787(0x1b9)]()),_0x4a6411;}[_0x248013(0x1d3)](_0x226c15){const _0x2f2365=_0x248013;if(_0x2f2365(0x229)!=typeof _0x226c15)throw new _0x5815c8(_0x2f2365(0x1a1));return this[_0x2f2365(0x206)][_0x2f2365(0x196)](_0x226c15);}[_0x248013(0x1e3)]({channelId:_0x13c2fa=_t,threadId:_0x5292c9,context:_0xac136b,unlinkedAt:_0x5aaf32,attributes:_0x369706,isFromAdapter:_0x241c12=!0x1}){const _0x211672=_0x248013;return this[_0x211672(0x1d7)](Nt(_0x211672(0x1e3),_0x13c2fa),{'channelId':_0x13c2fa,'threadId':_0x5292c9,'context':_0xac136b,'unlinkedAt':_0x5aaf32,'attributes':_0x369706,'isFromAdapter':_0x241c12}),this[_0x211672(0x18d)](_0x5292c9);}[_0x248013(0x18d)](_0x34ffd5){const _0x36ab7d=_0x248013;if(_0x36ab7d(0x229)!=typeof _0x34ffd5)throw new _0x5815c8(_0x36ab7d(0x1a1));return this[_0x36ab7d(0x206)][_0x36ab7d(0x1c4)](_0x34ffd5);}[_0x248013(0x151)]({channelId:_0x30c606,threadId:_0x3f2f6b}={}){const _0x417852=_0x248013,_0x4edde7=this[_0x417852(0x18d)](_0x3f2f6b);if(_0x4edde7)return Promise[_0x417852(0x1dc)](_0x4edde7);if(!this[_0x417852(0x220)])return Promise[_0x417852(0x1dc)](void 0x0);if(_0x417852(0x1b7)!=typeof this[_0x417852(0x220)][_0x417852(0x18d)])throw new _0x5815c8(_0x417852(0x1b3),this[_0x417852(0x1c8)]);return this[_0x417852(0x220)][_0x417852(0x18d)]({'channelId':_0x30c606,'threadId':_0x3f2f6b})[_0x417852(0x15b)](_0x34c64b=>this[_0x417852(0x1d3)](_0x3f2f6b)?this[_0x417852(0x18d)](_0x3f2f6b):_0x34c64b?this[_0x417852(0x1ff)](Object[_0x417852(0x1f5)]({'isFromAdapter':!0x0,'channelId':_0x30c606},_0x34c64b)):void 0x0)[_0x417852(0x1ac)](_0x2ca693=>{const _0x8ff4ca=_0x417852;throw console[_0x8ff4ca(0x1e1)](_0x2ca693),new _0x5815c8(_0x8ff4ca(0x1c7),this[_0x8ff4ca(0x1c8)]);});}[_0x248013(0x159)]({channelId:_0x5645b8,skipNotAttached:_0x1dcb60=!0x1,skipEmpty:_0x128dd2=!0x1,toJSON:_0x232c22=!0x1}={}){const _0x26dff0=_0x248013,_0x47c614=[];for(const _0x3a316f of this[_0x26dff0(0x206)][_0x26dff0(0x185)]())_0x5645b8&&_0x3a316f[_0x26dff0(0x16d)]!==_0x5645b8||_0x1dcb60&&!_0x3a316f[_0x26dff0(0x161)]||_0x128dd2&&0x0===_0x3a316f[_0x26dff0(0x198)]||_0x47c614[_0x26dff0(0x17e)](_0x3a316f);return _0x232c22?_0x47c614[_0x26dff0(0x1f4)](_0x473b76=>_0x473b76[_0x26dff0(0x1af)]()):_0x47c614;}[_0x248013(0x152)](_0x1033b0){const _0x64b7b8=_0x248013,_0x50ae19=this[_0x64b7b8(0x1aa)][_0x64b7b8(0x1c4)](_0x1033b0);if(!_0x50ae19)return null;return this[_0x64b7b8(0x1c8)][_0x64b7b8(0x160)][_0x64b7b8(0x1c4)](_0x17fd04)[_0x64b7b8(0x16a)](_0x50ae19[_0x64b7b8(0x1d0)])||null;}[_0x248013(0x17d)](_0x170984){const _0x41c9ab=_0x248013,_0x23cc85=this[_0x41c9ab(0x1c2)][_0x41c9ab(0x1c4)](_0x170984[_0x41c9ab(0x227)]);return _0x23cc85?_0x23cc85[_0x41c9ab(0x208)]:null;}[_0x248013(0x1fd)](_0x29f517){const _0x4f81ba=_0x248013,_0x169f3f=this[_0x4f81ba(0x1c8)][_0x4f81ba(0x160)][_0x4f81ba(0x1c4)](_0x17fd04);if(!_0x29f517)return void(this[_0x4f81ba(0x158)]&&_0x169f3f[_0x4f81ba(0x21d)]());const _0x182240=this[_0x4f81ba(0x18d)](_0x29f517);if(!_0x182240)throw new _0x5815c8(_0x4f81ba(0x1ba),null,{'threadId':_0x29f517});if(!this[_0x4f81ba(0x1aa)][_0x4f81ba(0x196)](_0x182240))throw new _0x5815c8(_0x4f81ba(0x194),null,{'threadId':_0x29f517});const _0x5204c1=_0x169f3f[_0x4f81ba(0x16a)](this[_0x4f81ba(0x1aa)][_0x4f81ba(0x1c4)](_0x182240)[_0x4f81ba(0x1d0)]);_0x169f3f[_0x4f81ba(0x214)](_0x5204c1);}[_0x248013(0x20d)](_0x2f76de,_0x20af8b){const _0x276c3f=_0x248013;_0x2f76de?this[_0x276c3f(0x163)][_0x276c3f(0x207)](_0x20af8b):this[_0x276c3f(0x163)][_0x276c3f(0x20f)](_0x20af8b),this[_0x276c3f(0x1d7)](_0x276c3f(0x226),_0x276c3f(0x163),this[_0x276c3f(0x163)],this[_0x276c3f(0x163)]);}[_0x248013(0x1d1)](_0xce4f31){const _0x3a18ef=_0x248013;return this[_0x3a18ef(0x163)][_0x3a18ef(0x196)](_0xce4f31)||this[_0x3a18ef(0x163)][_0x3a18ef(0x196)](void 0x0);}[_0x248013(0x21e)](_0x3ce55f,_0x459a01){return new _0x554014(_0x3ce55f,_0x459a01);}[_0x248013(0x22e)](_0x5a45cb,_0x3bf094=_t){const _0x49aaa1=_0x248013;this[_0x49aaa1(0x1b4)][_0x49aaa1(0x199)](_0x3bf094,_0x5a45cb),this[_0x49aaa1(0x1d7)](_0x49aaa1(0x1bf),_0x49aaa1(0x1b4),this[_0x49aaa1(0x1b4)],this[_0x49aaa1(0x1b4)]);}[_0x248013(0x1cd)](_0x39d551=_t){const _0x21dd91=_0x248013;return this[_0x21dd91(0x1b4)][_0x21dd91(0x196)](_0x39d551)?this[_0x21dd91(0x1b4)][_0x21dd91(0x1c4)](_0x39d551):bt;}[_0x248013(0x1fb)]({channelId:_0xd769c,threadId:_0x48963d,comments:_0x2298f7,unlinkedAt:_0x2f9c4c,resolvedAt:_0x5a544f,resolvedBy:_0x231244,target:_0x1db523,context:_0x204289,attributes:_0x4440df,isFromAdapter:_0x3de622,isResolvable:_0xf152a9,isSubmitted:_0xff16b1}){const _0x304258=_0x248013;if(_0x304258(0x229)!=typeof _0x48963d)throw new _0x5815c8(_0x304258(0x1a1),null,{'threadId':_0x48963d});if(this[_0x304258(0x1d3)](_0x48963d))throw new _0x5815c8(_0x304258(0x1cb),null,{'threadId':_0x48963d});const _0x1d4e00=new CommentThread(this,{'channelId':_0xd769c,'id':_0x48963d,'context':_0x204289,'attributes':_0x4440df,'unlinkedAt':_0x2f9c4c,'resolvedAt':_0x5a544f,'resolvedBy':_0x231244?this[_0x304258(0x1c8)][_0x304258(0x160)][_0x304258(0x1c4)](_0x3369ad)[_0x304258(0x202)](_0x231244):null,'isResolvable':_0xf152a9,'isSubmitted':_0xff16b1||_0x3de622});this[_0x304258(0x206)][_0x304258(0x199)](_0x48963d,_0x1d4e00);for(const _0x3f62d4 of _0x2298f7)_0x1d4e00[_0x304258(0x231)](this[_0x304258(0x1a3)]({'threadId':_0x48963d,..._0x3f62d4}));return _0x1db523&&_0x1d4e00[_0x304258(0x1a5)](_0x1db523),_0x3de622||!_0x1d4e00[_0x304258(0x198)]?Promise[_0x304258(0x1dc)]():this[_0x304258(0x21a)]({'channelId':_0xd769c,'threadId':_0x48963d});}[_0x248013(0x21a)]({channelId:_0x200ffe,threadId:_0xd3f8c0}){const _0x1508a2=_0x248013;if(!this[_0x1508a2(0x1d3)](_0xd3f8c0))throw new _0x5815c8(_0x1508a2(0x154),this);const _0x48974e=this[_0x1508a2(0x18d)](_0xd3f8c0);if(_0x48974e[_0x1508a2(0x216)]=!0x0,!this[_0x1508a2(0x220)]||_0x1508a2(0x1b7)!=typeof this[_0x1508a2(0x220)][_0x1508a2(0x1ff)])return Promise[_0x1508a2(0x1dc)]();const {id:_0x10e765,comments:_0xe9f8d2,resolvedAt:_0x1d02db,resolvedBy:_0x348d66,context:_0xe8dc5f,attributes:_0x10bc9e}=_0x48974e,_0x442378=this[_0x1508a2(0x1c8)][_0x1508a2(0x160)][_0x1508a2(0x1c4)](_0x1508a2(0x180)),_0x50fbb5=_0x442378[_0x1508a2(0x207)](_0x24c358(this[_0x1508a2(0x1c8)][_0x1508a2(0x232)],_0x1508a2(0x164)));return this[_0x1508a2(0x220)][_0x1508a2(0x1ff)]({'channelId':_0x200ffe,'threadId':_0x10e765,'comments':_0xe9f8d2[_0x1508a2(0x1f4)](_0x329c52=>_0x329c52[_0x1508a2(0x1af)]()),'resolvedAt':_0x1d02db,'resolvedBy':_0x348d66?_0x348d66['id']:_0x348d66,'context':_0xe8dc5f,'attributes':_0x10bc9e})[_0x1508a2(0x15b)](({comments:_0x13e7d5})=>{const _0x371b54=_0x1508a2;_0x442378[_0x371b54(0x19c)](_0x50fbb5);for(const _0x3100df of _0x13e7d5)this[_0x371b54(0x1d5)]({'channelId':_0x200ffe,'threadId':_0xd3f8c0,'commentId':_0x3100df[_0x371b54(0x1ab)],'createdAt':_0x3100df[_0x371b54(0x19a)],'isFromAdapter':!0x0});})[_0x1508a2(0x1ac)](_0x329c8c=>{const _0x2bac8d=_0x1508a2;throw console[_0x2bac8d(0x1e1)](_0x329c8c),new _0x5815c8(_0x2bac8d(0x1b1),this);});}[_0x248013(0x1a2)]({threadId:_0x214597,target:_0x1ddeaf}){const _0x2bac22=_0x248013,_0x42818f=this[_0x2bac22(0x18d)](_0x214597);if(!_0x42818f)throw new _0x5815c8(_0x2bac22(0x17a),this);const _0x3c8719=this[_0x2bac22(0x1c8)][_0x2bac22(0x160)][_0x2bac22(0x1c4)](_0x2bac22(0x180)),_0x3c3ef3=this[_0x2bac22(0x1c8)][_0x2bac22(0x160)][_0x2bac22(0x1c4)](_0x17fd04),_0x488f74=this[_0x2bac22(0x195)](_0x42818f),_0x79cc60=new _0x554014(_0x42818f,_0x488f74);let _0x2c1a8f=null;_0x488f74['on'](_0x2bac22(0x1e4),(_0x4d463b,_0x4f5958,_0x57974f)=>{const _0x421bc4=_0x2bac22;_0x57974f?_0x2c1a8f=_0x3c8719[_0x421bc4(0x207)](_0x24c358(this[_0x421bc4(0x1c8)][_0x421bc4(0x232)],_0x421bc4(0x164))):_0x2c1a8f&&(_0x3c8719[_0x421bc4(0x19c)](_0x2c1a8f),_0x2c1a8f=null);}),this[_0x2bac22(0x1aa)][_0x2bac22(0x199)](_0x42818f,_0x79cc60),this[_0x2bac22(0x1c2)][_0x2bac22(0x199)](_0x488f74,_0x79cc60);const _0x572620=new _0x4f1ab6(this[_0x2bac22(0x1c8)][_0x2bac22(0x232)],_0x488f74);_0x572620[_0x2bac22(0x201)](_0x2bac22(0x198))['to'](_0x488f74),_0x572620[_0x2bac22(0x201)](_0x2bac22(0x1e0))['to'](_0x488f74,_0x2bac22(0x1e0),_0x488f74,_0x2bac22(0x198),(_0x18d7a9,_0x8aec15)=>_0x18d7a9||!_0x8aec15),_0x572620[_0x2bac22(0x201)](_0x2bac22(0x1fc))['to'](_0x488f74),_0x572620[_0x2bac22(0x20a)]=_0x2bac22(0x1e2);const _0x1fef08=new _0xb2c836({'view':_0x572620,'target':_0x1ddeaf,'type':_0x2bac22(0x1e2),'isVisible':!_0x42818f[_0x2bac22(0x179)]&&!!(_0x2bac22(0x1b7)==typeof _0x1ddeaf?_0x1ddeaf():_0x1ddeaf)});return _0x488f74['on'](_0x2bac22(0x155),()=>{const _0x49f0a0=_0x2bac22;_0x1fef08[_0x49f0a0(0x1d7)](_0x49f0a0(0x155));}),this[_0x2bac22(0x182)](_0x488f74,_0x1fef08),_0x3c3ef3[_0x2bac22(0x207)](_0x1fef08),_0x1fef08;}[_0x248013(0x182)](_0x51f47b,_0xbfcbd5){const _0x31aa54=_0x248013;this[_0x31aa54(0x1bb)](_0x51f47b,_0x31aa54(0x1e7),(_0x480888,_0x3f463a)=>{const _0x4ad2da=_0x31aa54,_0x57990b=_0x3f463a['ui'][_0x4ad2da(0x1d0)][_0x4ad2da(0x1de)][_0x4ad2da(0x1a0)];_0xbfcbd5[_0x4ad2da(0x1c0)][_0x4ad2da(0x207)](_0x57990b),this[_0x4ad2da(0x1c8)]instanceof _0x527287&&this[_0x4ad2da(0x1c8)]['ui'][_0x4ad2da(0x1f3)][_0x4ad2da(0x207)](_0x57990b);},{'priority':_0x31aa54(0x1ea)}),this[_0x31aa54(0x1bb)](_0x51f47b,_0x31aa54(0x19e),(_0x759cde,_0x33251e)=>{const _0x5946ad=_0x31aa54,_0xcb5974=_0x33251e['ui'][_0x5946ad(0x1d0)][_0x5946ad(0x1de)][_0x5946ad(0x1a0)];_0xbfcbd5[_0x5946ad(0x1c0)][_0x5946ad(0x196)](_0xcb5974)&&_0xbfcbd5[_0x5946ad(0x1c0)][_0x5946ad(0x19c)](_0xcb5974),this[_0x5946ad(0x1c8)]instanceof _0x527287&&this[_0x5946ad(0x1c8)]['ui'][_0x5946ad(0x1f3)][_0x5946ad(0x19c)](_0xcb5974);});}[_0x248013(0x1a4)](_0x5550f3){const _0x42035c=_0x248013;this[_0x42035c(0x22d)](_0x5550f3,_0x42035c(0x1e7)),this[_0x42035c(0x22d)](_0x5550f3,_0x42035c(0x19e));}[_0x248013(0x195)](_0x29ab40){const _0x322618=_0x248013,_0x583ca2=this[_0x322618(0x1c8)][_0x322618(0x160)][_0x322618(0x1c4)](_0x3369ad),{config:_0x1a5559,locale:_0x1f33c8}=this[_0x322618(0x1c8)],_0x5a3ea3=_0x30a8b6(_0x1a5559[_0x322618(0x1c4)](_0x322618(0x232)),_0x1f33c8);return new(0x0,(_0x1a5559[_0x322618(0x1c4)](_0x322618(0x222)))[(_0x322618(0x1a6))])(_0x1f33c8,_0x29ab40,_0x583ca2['me'],{'editorConfig':{..._0x1a5559[_0x322618(0x1c4)](_0x322618(0x1f7)),'licenseKey':this[_0x322618(0x1c8)][_0x322618(0x19b)][_0x322618(0x1c4)](_0x322618(0x19f))},'copyMarkers':_0x1a5559[_0x322618(0x1c4)](_0x322618(0x175)),'maxCommentsWhenCollapsed':_0x1a5559[_0x322618(0x1c4)](_0x322618(0x172)),'maxThreadTotalWeight':_0x1a5559[_0x322618(0x1c4)](_0x322618(0x1c6)),'maxCommentCharsWhenCollapsed':_0x1a5559[_0x322618(0x1c4)](_0x322618(0x1cf)),'formatDateTime':_0x5a3ea3,'CommentView':_0x1a5559[_0x322618(0x1c4)](_0x322618(0x222))[_0x322618(0x1cc)]});}[_0x248013(0x237)]({threadId:_0x5dee6f,channelId:_0x152261,resolvedAt:_0x17bd86,resolvedBy:_0x28123b,isFromAdapter:_0x469cae}){const _0x2ccba2=_0x248013;if(!this[_0x2ccba2(0x1d3)](_0x5dee6f))throw new _0x5815c8(_0x2ccba2(0x154),null,{'threadId':_0x5dee6f});const _0x57906e=this[_0x2ccba2(0x18d)](_0x5dee6f);if(_0x57906e[_0x2ccba2(0x20e)])throw new _0x5815c8(_0x2ccba2(0x188),null,{'threadId':_0x5dee6f});const _0x13842d=this[_0x2ccba2(0x1c8)][_0x2ccba2(0x160)][_0x2ccba2(0x1c4)](_0x3369ad);if(_0x57906e[_0x2ccba2(0x1ae)]=_0x13842d[_0x2ccba2(0x202)](_0x28123b),_0x57906e[_0x2ccba2(0x212)]=_0x17bd86,_0x469cae||!this[_0x2ccba2(0x220)]||_0x2ccba2(0x1b7)!=typeof this[_0x2ccba2(0x220)][_0x2ccba2(0x1b6)])return Promise[_0x2ccba2(0x1dc)]();const _0x214b99=this[_0x2ccba2(0x1c8)][_0x2ccba2(0x160)][_0x2ccba2(0x1c4)](_0x2ccba2(0x180)),_0x331791=_0x214b99[_0x2ccba2(0x207)](_0x24c358(this[_0x2ccba2(0x1c8)][_0x2ccba2(0x232)],_0x2ccba2(0x164)));return this[_0x2ccba2(0x220)][_0x2ccba2(0x1b6)]({'channelId':_0x152261,'threadId':_0x5dee6f})[_0x2ccba2(0x15b)](({resolvedAt:_0xb0eaae,resolvedBy:_0x56c71e})=>{const _0x171d0a=_0x2ccba2;_0x214b99[_0x171d0a(0x19c)](_0x331791),_0x57906e[_0x171d0a(0x1ae)]['id']!==_0x56c71e&&(_0x57906e[_0x171d0a(0x1ae)]=_0x13842d[_0x171d0a(0x202)](_0x56c71e)),_0x57906e[_0x171d0a(0x212)]=_0xb0eaae;})[_0x2ccba2(0x1ac)](_0x213319=>{const _0x4f13a4=_0x2ccba2;throw console[_0x4f13a4(0x1e1)](_0x213319),new _0x5815c8(_0x4f13a4(0x176),this);});}[_0x248013(0x224)]({threadId:_0x338529,channelId:_0x5921b3,isFromAdapter:_0x327122}){const _0x46f481=_0x248013;if(!this[_0x46f481(0x1d3)](_0x338529))throw new _0x5815c8(_0x46f481(0x154),null,{'threadId':_0x338529});const _0x2bc44d=this[_0x46f481(0x18d)](_0x338529);if(!_0x2bc44d[_0x46f481(0x20e)])throw new _0x5815c8(_0x46f481(0x22b),null,{'threadId':_0x338529});if(_0x2bc44d[_0x46f481(0x1ae)]=null,_0x2bc44d[_0x46f481(0x212)]=null,_0x327122||!this[_0x46f481(0x220)]||_0x46f481(0x1b7)!=typeof this[_0x46f481(0x220)][_0x46f481(0x183)])return Promise[_0x46f481(0x1dc)]();const _0x3984fa=this[_0x46f481(0x1c8)][_0x46f481(0x160)][_0x46f481(0x1c4)](_0x46f481(0x180)),_0x1a5b0c=_0x3984fa[_0x46f481(0x207)](_0x24c358(this[_0x46f481(0x1c8)][_0x46f481(0x232)],_0x46f481(0x164)));return this[_0x46f481(0x220)][_0x46f481(0x183)]({'channelId':_0x5921b3,'threadId':_0x338529})[_0x46f481(0x15b)](()=>_0x3984fa[_0x46f481(0x19c)](_0x1a5b0c))[_0x46f481(0x1ac)](_0x57875e=>{const _0x1fb338=_0x46f481;throw console[_0x1fb338(0x1e1)](_0x57875e),new _0x5815c8(_0x1fb338(0x204),this);});}[_0x248013(0x1f8)]({threadId:_0x47f49e,isFromAdapter:_0x4d3493}){const _0x32ad80=_0x248013,_0x20d213=this[_0x32ad80(0x18d)](_0x47f49e);if(!_0x20d213)throw new _0x5815c8(_0x32ad80(0x1c3),this);if(this[_0x32ad80(0x230)](_0x47f49e),this[_0x32ad80(0x206)][_0x32ad80(0x20f)](_0x47f49e),!_0x20d213[_0x32ad80(0x1d2)]||_0x4d3493||!this[_0x32ad80(0x220)]||_0x32ad80(0x1b7)!=typeof this[_0x32ad80(0x220)][_0x32ad80(0x17f)])return Promise[_0x32ad80(0x1dc)]();const _0x328e3d=this[_0x32ad80(0x1c8)][_0x32ad80(0x160)][_0x32ad80(0x1c4)](_0x32ad80(0x180)),{channelId:_0x4749a5}=_0x20d213,_0x16ef00=_0x328e3d[_0x32ad80(0x207)](_0x24c358(this[_0x32ad80(0x1c8)][_0x32ad80(0x232)],_0x32ad80(0x164)));return this[_0x32ad80(0x220)][_0x32ad80(0x17f)]({'channelId':_0x4749a5,'threadId':_0x47f49e})[_0x32ad80(0x15b)](()=>_0x328e3d[_0x32ad80(0x19c)](_0x16ef00))[_0x32ad80(0x1ac)](_0x5a2d8a=>{const _0x47146d=_0x32ad80;throw console[_0x47146d(0x1e1)](_0x5a2d8a),new _0x5815c8(_0x47146d(0x193),this);});}[_0x248013(0x1bc)]({threadId:_0x2283b0,unlinkedAt:_0x1025b1,context:_0x145286,attributes:_0x5049f3,isFromAdapter:_0x2fac72}){const _0x13ce3e=_0x248013;if(_0x13ce3e(0x229)!=typeof _0x2283b0)throw new _0x5815c8(_0x13ce3e(0x1a1),null,{'threadId':_0x2283b0});if(!this[_0x13ce3e(0x1d3)](_0x2283b0))throw new _0x5815c8(_0x13ce3e(0x154),null,{'threadId':_0x2283b0});const _0x5298e2=this[_0x13ce3e(0x18d)](_0x2283b0);let _0x11c927=!0x1;if(void 0x0!==_0x145286&&_0x5298e2[_0x13ce3e(0x1c8)]!==_0x145286&&(_0x5298e2[_0x13ce3e(0x1c8)]=_0x145286,_0x11c927=!0x0),void 0x0!==_0x1025b1&&_0x5298e2[_0x13ce3e(0x1d4)]!==_0x1025b1&&(_0x5298e2[_0x13ce3e(0x1d4)]=_0x1025b1,_0x11c927=!0x0),_0x5049f3&&!_0x208cd5(_0x5049f3,_0x5298e2[_0x13ce3e(0x235)])&&(_0x5298e2[_0x13ce3e(0x235)]=_0x5049f3,_0x11c927=!0x0),!_0x11c927)return Promise[_0x13ce3e(0x1dc)]();if(!_0x5298e2[_0x13ce3e(0x1d2)]||_0x2fac72||!this[_0x13ce3e(0x220)]||_0x13ce3e(0x1b7)!=typeof this[_0x13ce3e(0x220)][_0x13ce3e(0x1e3)])return Promise[_0x13ce3e(0x1dc)]();const _0x5a9d16=this[_0x13ce3e(0x1c8)][_0x13ce3e(0x160)][_0x13ce3e(0x1c4)](_0x13ce3e(0x180)),{channelId:_0x39f638}=_0x5298e2,_0x5d3c9d=_0x5a9d16[_0x13ce3e(0x207)](_0x24c358(this[_0x13ce3e(0x1c8)][_0x13ce3e(0x232)],_0x13ce3e(0x164)));return this[_0x13ce3e(0x220)][_0x13ce3e(0x1e3)]({'channelId':_0x39f638,'threadId':_0x2283b0,'context':_0x145286,'unlinkedAt':_0x1025b1,'attributes':_0x5049f3})[_0x13ce3e(0x15b)](()=>_0x5a9d16[_0x13ce3e(0x19c)](_0x5d3c9d))[_0x13ce3e(0x1ac)](_0x4dde9f=>{const _0x1479c2=_0x13ce3e;throw console[_0x1479c2(0x1e1)](_0x4dde9f),new _0x5815c8(_0x1479c2(0x1a9),this);});}[_0x248013(0x230)](_0x18190e){const _0x442496=_0x248013,_0x28969b=this[_0x442496(0x1c8)][_0x442496(0x160)][_0x442496(0x1c4)](_0x17fd04),_0x1117d9=this[_0x442496(0x18d)](_0x18190e);if(_0x1117d9[_0x442496(0x189)]=!0x1,this[_0x442496(0x1aa)][_0x442496(0x196)](_0x1117d9)){const _0x5428a1=this[_0x442496(0x1aa)][_0x442496(0x1c4)](_0x1117d9),_0x1b2690=_0x5428a1[_0x442496(0x1d0)],_0x53dc34=_0x28969b[_0x442496(0x16a)](_0x1b2690);this[_0x442496(0x1aa)][_0x442496(0x20f)](_0x1117d9),this[_0x442496(0x1c2)][_0x442496(0x20f)](_0x1b2690),_0x53dc34&&_0x28969b[_0x442496(0x19c)](_0x53dc34),_0x5428a1[_0x442496(0x21f)](),_0x1b2690[_0x442496(0x21f)]()[_0x442496(0x15b)](()=>{const _0x1283e5=_0x442496;this[_0x1283e5(0x1a4)](_0x1b2690);});}}[_0x248013(0x1b5)]({threadId:_0x2fa742,resolvedAt:_0x477139,unlinkedAt:_0x19d1e2}){const _0x49b166=_0x248013,_0x367b64=!!_0x477139,_0x21ad34=this[_0x49b166(0x1c8)][_0x49b166(0x160)][_0x49b166(0x1c4)](_0x17fd04),_0x5a906f=this[_0x49b166(0x18d)](_0x2fa742);if(this[_0x49b166(0x1aa)][_0x49b166(0x196)](_0x5a906f)){const _0x4592b3=this[_0x49b166(0x1aa)][_0x49b166(0x1c4)](_0x5a906f)[_0x49b166(0x1d0)],_0x573445=_0x21ad34[_0x49b166(0x16a)](_0x4592b3);_0x573445&&(_0x367b64&&_0x21ad34[_0x49b166(0x168)](_0x573445),_0x19d1e2?_0x573445[_0x49b166(0x186)]=!0x1:_0x573445[_0x49b166(0x219)]());}}[_0x248013(0x169)](_0x48ec67){const _0x27fd59=_0x248013,_0x2353ae=this[_0x27fd59(0x1c8)][_0x27fd59(0x160)][_0x27fd59(0x1c4)](_0x3369ad),_0x2984e4=_0x32055e(_0x27fd59(0x18a)+_0x48ec67),_0x542e45=_0x2353ae[_0x27fd59(0x202)](_0x2984e4);return _0x542e45||_0x2353ae[_0x27fd59(0x1dd)]({'id':_0x2984e4,'name':_0x48ec67});}[_0x248013(0x1a3)]({threadId:_0x2c40c3,commentId:_0x46bf08=_0x248155(),content:_0x3e67e9,authorId:_0x2c7c46,createdAt:_0x49072f,attributes:_0x9c5f62}){const _0x1a6d24=_0x248013;if(_0x1a6d24(0x229)!=typeof _0x46bf08)throw new _0x5815c8(_0x1a6d24(0x210));if(_0x1a6d24(0x229)!=typeof _0x2c7c46)throw new _0x5815c8(_0x1a6d24(0x1ce));if(_0x1a6d24(0x229)!=typeof _0x3e67e9||!_0x3e67e9[_0x1a6d24(0x173)]())throw new _0x5815c8(_0x1a6d24(0x17c));const _0x18ea8a=this[_0x1a6d24(0x1c8)][_0x1a6d24(0x160)][_0x1a6d24(0x1c4)](_0x3369ad)[_0x1a6d24(0x202)](_0x2c7c46);if(!_0x18ea8a)throw new _0x5815c8(_0x1a6d24(0x1da),null,{'authorId':_0x2c7c46});let _0x3abace=null,_0x2b4e55=_0x49072f;return _0x9c5f62?.[_0x1a6d24(0x15e)]&&(_0x3abace=this[_0x1a6d24(0x169)](_0x9c5f62[_0x1a6d24(0x15e)][_0x1a6d24(0x153)]),_0x2b4e55=new Date(_0x9c5f62[_0x1a6d24(0x15e)][_0x1a6d24(0x19a)])),new Comment(this,{'threadId':_0x2c40c3,'id':_0x46bf08,'author':_0x3abace||_0x18ea8a,'creator':_0x18ea8a,'content':_0x3e67e9,'createdAt':_0x49072f,'authoredAt':_0x2b4e55,'attributes':_0x9c5f62});}[_0x248013(0x1df)](_0x59c108){const _0x2007a0=_0x248013;let {threadId:_0x2b33f7,content:_0x55cc27,attributes:_0x1fb6c2,isFromAdapter:_0x375f3c}=_0x59c108;const _0x5dcab0=this[_0x2007a0(0x18d)](_0x59c108[_0x2007a0(0x1c5)]);if(!_0x5dcab0)throw new _0x5815c8(_0x2007a0(0x1ee),this);const _0xd2465d=this[_0x2007a0(0x1a3)](_0x59c108),{id:_0x3639b2}=_0xd2465d;if(_0x5dcab0[_0x2007a0(0x231)](_0xd2465d),_0x375f3c||!this[_0x2007a0(0x220)]||_0x2007a0(0x1b7)!=typeof this[_0x2007a0(0x220)][_0x2007a0(0x1fe)]||!_0x5dcab0[_0x2007a0(0x1d2)])return Promise[_0x2007a0(0x1dc)]();const _0xd4d6e4=this[_0x2007a0(0x1c8)][_0x2007a0(0x160)][_0x2007a0(0x1c4)](_0x2007a0(0x180)),{channelId:_0xe1dbd5}=_0x5dcab0,_0x38a911=_0xd4d6e4[_0x2007a0(0x207)](_0x24c358(this[_0x2007a0(0x1c8)][_0x2007a0(0x232)],_0x2007a0(0x164)));return _0x1fb6c2||(_0x1fb6c2={}),this[_0x2007a0(0x220)][_0x2007a0(0x1fe)]({'channelId':_0xe1dbd5,'threadId':_0x2b33f7,'commentId':_0x3639b2,'content':_0x55cc27,'attributes':_0x1fb6c2})[_0x2007a0(0x15b)](_0x2c61ca=>{const _0x397ca4=_0x2007a0;_0xd4d6e4[_0x397ca4(0x19c)](_0x38a911),_0x2c61ca&&this[_0x397ca4(0x1d5)]({'channelId':_0xe1dbd5,'threadId':_0x2b33f7,'commentId':_0x3639b2,'createdAt':_0x2c61ca[_0x397ca4(0x19a)],'isFromAdapter':!0x0});})[_0x2007a0(0x1ac)](_0x4b2a25=>{const _0x30db10=_0x2007a0;throw console[_0x30db10(0x1e1)](_0x4b2a25),new _0x5815c8(_0x30db10(0x18f),this);});}[_0x248013(0x1d5)]({threadId:_0x5d6e60,commentId:_0x1efb79,content:_0xb9b240,createdAt:_0x426517,attributes:_0x92a074,isFromAdapter:_0x466808}){const _0x5a38d0=_0x248013;if(void 0x0!==_0xb9b240&&(_0x5a38d0(0x229)!=typeof _0xb9b240||!_0xb9b240[_0x5a38d0(0x173)]()[_0x5a38d0(0x198)]))throw new _0x5815c8(_0x5a38d0(0x1be));const _0x2f3f30=this[_0x5a38d0(0x18d)](_0x5d6e60),_0xaa8c12=_0x2f3f30[_0x5a38d0(0x1ad)](_0x1efb79);if(!_0xaa8c12)throw new _0x5815c8(_0x5a38d0(0x215),this);let _0xf0e95f=!0x1;if(_0xb9b240&&_0xb9b240!==_0xaa8c12[_0x5a38d0(0x1e9)]&&(_0xaa8c12[_0x5a38d0(0x228)]||_0x466808)&&(_0xaa8c12[_0x5a38d0(0x1e9)]=_0xb9b240,_0xf0e95f=!0x0),_0x426517&&_0x426517!==_0xaa8c12[_0x5a38d0(0x19a)]&&(_0xaa8c12[_0x5a38d0(0x19a)]=_0x426517,_0xaa8c12[_0x5a38d0(0x235)]&&_0xaa8c12[_0x5a38d0(0x235)][_0x5a38d0(0x15e)]||(_0xaa8c12[_0x5a38d0(0x184)]=_0x426517),_0xf0e95f=!0x0),_0x92a074&&!_0x208cd5(_0x92a074,_0xaa8c12[_0x5a38d0(0x235)])&&(_0xaa8c12[_0x5a38d0(0x235)]=_0x92a074,_0xf0e95f=!0x0),!_0xf0e95f)return Promise[_0x5a38d0(0x1dc)]();if(_0x2f3f30[_0x5a38d0(0x1d7)](_0x5a38d0(0x1f2)),_0x466808||!this[_0x5a38d0(0x220)]||_0x5a38d0(0x1b7)!=typeof this[_0x5a38d0(0x220)][_0x5a38d0(0x236)])return Promise[_0x5a38d0(0x1dc)]();const _0x3b8ba8=this[_0x5a38d0(0x1c8)][_0x5a38d0(0x160)][_0x5a38d0(0x1c4)](_0x5a38d0(0x180)),{channelId:_0x2752c5}=this[_0x5a38d0(0x18d)](_0xaa8c12[_0x5a38d0(0x1c5)]),_0x112fd2=_0x3b8ba8[_0x5a38d0(0x207)](_0x24c358(this[_0x5a38d0(0x1c8)][_0x5a38d0(0x232)],_0x5a38d0(0x164)));return this[_0x5a38d0(0x220)][_0x5a38d0(0x236)]({'channelId':_0x2752c5,'threadId':_0x5d6e60,'commentId':_0x1efb79,'content':_0xb9b240,'attributes':_0x92a074})[_0x5a38d0(0x15b)](()=>_0x3b8ba8[_0x5a38d0(0x19c)](_0x112fd2))[_0x5a38d0(0x1ac)](_0x24c604=>{const _0x173aed=_0x5a38d0;throw console[_0x173aed(0x1e1)](_0x24c604),new _0x5815c8(_0x173aed(0x197),this);});}[_0x248013(0x218)]({threadId:_0x455754,commentId:_0x38f4a2,isFromAdapter:_0x443e3a}){const _0x2380a9=_0x248013,_0x5cf2a0=this[_0x2380a9(0x18d)](_0x455754),_0x236eb8=_0x5cf2a0[_0x2380a9(0x1ad)](_0x38f4a2);if(!_0x236eb8)throw new _0x5815c8(_0x2380a9(0x166),this);if(_0x5cf2a0[_0x2380a9(0x22c)](_0x236eb8),_0x443e3a||!this[_0x2380a9(0x220)]||_0x2380a9(0x1b7)!=typeof this[_0x2380a9(0x220)][_0x2380a9(0x1e6)])return Promise[_0x2380a9(0x1dc)]();const _0x43d64a=this[_0x2380a9(0x1c8)][_0x2380a9(0x160)][_0x2380a9(0x1c4)](_0x2380a9(0x180)),{channelId:_0xa2ea0f}=_0x5cf2a0,_0x3fe210=_0x43d64a[_0x2380a9(0x207)](_0x24c358(this[_0x2380a9(0x1c8)][_0x2380a9(0x232)],_0x2380a9(0x164)));return this[_0x2380a9(0x220)][_0x2380a9(0x1e6)]({'channelId':_0xa2ea0f,'threadId':_0x455754,'commentId':_0x38f4a2})[_0x2380a9(0x15b)](()=>_0x43d64a[_0x2380a9(0x19c)](_0x3fe210))[_0x2380a9(0x1ac)](_0x4027c4=>{const _0x155c05=_0x2380a9;throw console[_0x155c05(0x1e1)](_0x4027c4),new _0x5815c8(_0x155c05(0x16f),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x160ea5(){[_0x248013(0x16d)];['id'];[_0x248013(0x189)];[_0x248013(0x216)];[_0x248013(0x222)];[_0x248013(0x205)];constructor(_0x409b7f,_0x439ae4){const _0x4eb889=_0x248013;super();const _0x3459d8=_0x439ae4[_0x4eb889(0x1db)];this[_0x4eb889(0x16d)]=_0x439ae4[_0x4eb889(0x16d)],this['id']=_0x439ae4['id'],this[_0x4eb889(0x222)]=new _0x2207f2(),this[_0x4eb889(0x205)]=_0x409b7f,this[_0x4eb889(0x189)]=!0x1,this[_0x4eb889(0x216)]=_0x439ae4[_0x4eb889(0x1d2)],this[_0x4eb889(0x199)](_0x4eb889(0x178),!0x0),this[_0x4eb889(0x201)](_0x4eb889(0x1d1))['to'](_0x409b7f,_0x4eb889(0x1b4),_0x409b7f,_0x4eb889(0x163),()=>_0x409b7f[_0x4eb889(0x1d1)](this[_0x4eb889(0x16d)])),this[_0x4eb889(0x201)](_0x4eb889(0x1f1))['to'](_0x409b7f,_0x4eb889(0x1b4),()=>_0x409b7f[_0x4eb889(0x1cd)](this[_0x4eb889(0x16d)])[_0x4eb889(0x221)]),this[_0x4eb889(0x201)](_0x4eb889(0x15a))['to'](_0x409b7f,_0x4eb889(0x1b4),()=>{const _0x5d23a6=_0x4eb889,_0x1fde52=_0x409b7f[_0x5d23a6(0x1cd)](this[_0x5d23a6(0x16d)]);return _0x1fde52[_0x5d23a6(0x170)]||_0x1fde52[_0x5d23a6(0x221)];}),this[_0x4eb889(0x201)](_0x4eb889(0x1db))['to'](_0x409b7f,_0x4eb889(0x1b4),()=>_0x3459d8&&_0x409b7f[_0x4eb889(0x1cd)](this[_0x4eb889(0x16d)])[_0x4eb889(0x1dc)]),this[_0x4eb889(0x199)](_0x4eb889(0x1c8),_0x439ae4[_0x4eb889(0x1c8)]),this[_0x4eb889(0x201)](_0x4eb889(0x179))['to'](this,_0x4eb889(0x212),this,_0x4eb889(0x1d4),(_0x4ceecb,_0x1a8115)=>_0x4ceecb?_0x1a8115?_0x4ceecb<_0x1a8115?_0x4ceecb:_0x1a8115:_0x4ceecb:_0x1a8115),this[_0x4eb889(0x199)](_0x4eb889(0x1d4),_0x439ae4[_0x4eb889(0x1d4)]||null),this[_0x4eb889(0x199)](_0x4eb889(0x212),_0x439ae4[_0x4eb889(0x212)]||null),this[_0x4eb889(0x199)](_0x4eb889(0x1ae),_0x439ae4[_0x4eb889(0x1ae)]||null),this[_0x4eb889(0x201)](_0x4eb889(0x20e))['to'](this,_0x4eb889(0x212),_0x306497=>!!_0x306497),this[_0x4eb889(0x199)](_0x4eb889(0x235),_0x439ae4[_0x4eb889(0x235)]||{});}get[_0x248013(0x1b8)](){const _0x42d996=_0x248013;return Array[_0x42d996(0x223)](this[_0x42d996(0x222)])[_0x42d996(0x209)]((_0x2afd79,_0xf95d11)=>_0x2afd79+_0xf95d11[_0x42d996(0x1b8)],0x0);}get[_0x248013(0x198)](){const _0x1cc528=_0x248013;return this[_0x1cc528(0x222)][_0x1cc528(0x198)];}get[_0x248013(0x161)](){const _0x15eac1=_0x248013;return this[_0x15eac1(0x189)];}get[_0x248013(0x1d2)](){const _0xe8ead4=_0x248013;return this[_0xe8ead4(0x216)];}[_0x248013(0x17b)](){const _0x1bd1b7=_0x248013,{channelId:_0x5c5d0b,id:_0x237524}=this;this[_0x1bd1b7(0x205)][_0x1bd1b7(0x1d7)](Nt(_0x1bd1b7(0x1d6),_0x5c5d0b),{'channelId':_0x5c5d0b,'threadId':_0x237524});}[_0x248013(0x157)](_0x38460c){const _0x39fff9=_0x248013;this[_0x39fff9(0x234)]({'unlinkedAt':_0x38460c});}[_0x248013(0x1dc)]({resolvedAt:_0x11b517=new Date(),resolvedBy:_0x21dd5e=null,isFromAdapter:_0x3aeb65=!0x1}={}){const _0x149c16=_0x248013,_0x442f44=this[_0x149c16(0x205)][_0x149c16(0x1c8)][_0x149c16(0x160)][_0x149c16(0x1c4)](_0x3369ad)['me'],{channelId:_0x5c238d,id:_0x221fdb}=this;this[_0x149c16(0x205)][_0x149c16(0x1d7)](Nt(_0x149c16(0x1b6),_0x5c238d),{'channelId':_0x5c238d,'threadId':_0x221fdb,'resolvedAt':_0x11b517,'resolvedBy':_0x21dd5e||_0x442f44['id'],'isFromAdapter':_0x3aeb65});}[_0x248013(0x171)]({isFromAdapter:_0x525a0b=!0x1}={}){const _0x10a7d5=_0x248013,{channelId:_0x8ab4aa,id:_0x4f1501}=this;this[_0x10a7d5(0x205)][_0x10a7d5(0x1d7)](Nt(_0x10a7d5(0x183),_0x8ab4aa),{'channelId':_0x8ab4aa,'threadId':_0x4f1501,'isFromAdapter':_0x525a0b});}[_0x248013(0x203)](_0x5ef82a){const _0xbec6f5=_0x248013;this[_0xbec6f5(0x1c8)]||this[_0xbec6f5(0x234)]({'context':_0x5ef82a});}[_0x248013(0x1f9)](_0x145866,_0xb67896){const _0x256854=_0x248013,_0x4cdda4=_0x484db0(this[_0x256854(0x235)]);_0x2c193d(_0x4cdda4,_0x145866,_0xb67896),this[_0x256854(0x234)]({'attributes':_0x4cdda4});}[_0x248013(0x213)](_0x231aab){const _0x46fbb2=_0x248013,_0x16d258=_0x484db0(this[_0x46fbb2(0x235)]);_0x282825(_0x16d258,_0x231aab),this[_0x46fbb2(0x234)]({'attributes':_0x16d258});}[_0x248013(0x19c)]({isFromAdapter:_0x441c98=!0x1}={}){const _0x29674a=_0x248013,{channelId:_0x4a65dc,id:_0x5cd35a}=this;this[_0x29674a(0x205)][_0x29674a(0x1d7)](Nt(_0x29674a(0x17f),_0x4a65dc),{'channelId':_0x4a65dc,'threadId':_0x5cd35a,'isFromAdapter':_0x441c98});}[_0x248013(0x1a5)](_0x292b46){const _0x2a6e8f=_0x248013;return this[_0x2a6e8f(0x205)][_0x2a6e8f(0x1a2)]({'threadId':this['id'],'target':_0x292b46});}[_0x248013(0x1fe)](_0xfd4a41){const _0x3b8844=_0x248013,{channelId:_0x13e487,id:_0x5304a5}=this;this[_0x3b8844(0x205)][_0x3b8844(0x1d7)](Nt(_0x3b8844(0x1fe),_0x13e487,_0x5304a5),Object[_0x3b8844(0x1f5)]({'channelId':_0x13e487,'threadId':_0x5304a5},_0xfd4a41));}[_0x248013(0x1ad)](_0x4efff6){const _0x438a1f=_0x248013;if(_0x438a1f(0x229)!=typeof _0x4efff6)throw new _0x5815c8(_0x438a1f(0x165),null,{'commentId':_0x4efff6});return this[_0x438a1f(0x222)][_0x438a1f(0x1c4)](_0x4efff6);}[_0x248013(0x1af)](){const _0x2de45d=_0x248013;return{'threadId':this['id'],'context':this[_0x2de45d(0x1c8)],'unlinkedAt':this[_0x2de45d(0x1d4)],'resolvedAt':this[_0x2de45d(0x212)],'resolvedBy':this[_0x2de45d(0x1ae)]?this[_0x2de45d(0x1ae)]['id']:null,'archivedAt':this[_0x2de45d(0x179)],'comments':this[_0x2de45d(0x222)][_0x2de45d(0x1f4)](_0x203444=>_0x203444[_0x2de45d(0x1af)]()),'attributes':this[_0x2de45d(0x235)]};}[_0x248013(0x231)](_0x9243fb){const _0x2aab70=_0x248013;return this[_0x2aab70(0x1bb)](_0x9243fb,_0x2aab70(0x21b),()=>{const _0xa60e52=_0x2aab70,_0x23cd44=this[_0xa60e52(0x1fa)](_0x9243fb),_0x11a9c6=this[_0xa60e52(0x222)];_0x23cd44-0x1!=_0x11a9c6[_0xa60e52(0x1ec)](_0x9243fb)&&_0x23cd44+0x1!=_0x11a9c6[_0xa60e52(0x1ec)](_0x9243fb)&&(this[_0xa60e52(0x22c)](_0x9243fb),this[_0xa60e52(0x231)](_0x9243fb));}),this[_0x2aab70(0x222)][_0x2aab70(0x207)](_0x9243fb,this[_0x2aab70(0x1fa)](_0x9243fb));}[_0x248013(0x234)](_0x1062c4){const _0x33205c=_0x248013,{channelId:_0x30458c,id:_0x111e5f}=this;this[_0x33205c(0x205)][_0x33205c(0x1d7)](Nt(_0x33205c(0x1e3),_0x30458c),{..._0x1062c4,'channelId':_0x30458c,'threadId':_0x111e5f});}[_0x248013(0x22c)](_0x5e53ff){const _0x21c4e1=_0x248013;return this[_0x21c4e1(0x22d)](_0x5e53ff),_0x5e53ff[_0x21c4e1(0x21f)](),this[_0x21c4e1(0x222)][_0x21c4e1(0x19c)](_0x5e53ff);}[_0x248013(0x1fa)](_0x5a7f23){const _0x424958=_0x248013,_0x453bc7=this[_0x424958(0x222)][_0x424958(0x162)](_0x5acb10=>new Date(_0x5acb10[_0x424958(0x184)])[_0x424958(0x15d)]()>new Date(_0x5a7f23[_0x424958(0x184)])[_0x424958(0x15d)]());return _0x453bc7?this[_0x424958(0x222)][_0x424958(0x1ec)](_0x453bc7):this[_0x424958(0x198)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x160ea5(){['id'];[_0x248013(0x1c5)];[_0x248013(0x16e)];[_0x248013(0x1ca)];[_0x248013(0x1d9)];[_0x248013(0x19a)];[_0x248013(0x205)];constructor(_0x26a7a0,_0x333b66){const _0x12d228=_0x248013;super();const _0x4db478=_0x26a7a0[_0x12d228(0x1c8)][_0x12d228(0x160)][_0x12d228(0x1c4)](_0x3369ad)['me'],_0x4bd9f7=_0x26a7a0[_0x12d228(0x18d)](_0x333b66[_0x12d228(0x1c5)]),_0x316f3f=0x0===_0x4bd9f7[_0x12d228(0x222)][_0x12d228(0x198)],_0x59a3a3=_0x4db478===_0x333b66[_0x12d228(0x16e)];this['id']=_0x333b66['id'],this[_0x12d228(0x1c5)]=_0x333b66[_0x12d228(0x1c5)],this[_0x12d228(0x16e)]=_0x333b66[_0x12d228(0x16e)],this[_0x12d228(0x1ca)]=_0x333b66[_0x12d228(0x1ca)],this[_0x12d228(0x1d9)]=Boolean(_0x333b66[_0x12d228(0x235)]&&_0x333b66[_0x12d228(0x235)][_0x12d228(0x15e)]),this[_0x12d228(0x199)](_0x12d228(0x1e9),_0x333b66[_0x12d228(0x1e9)]),this[_0x12d228(0x19a)]=_0x333b66[_0x12d228(0x19a)]||new Date(),this[_0x12d228(0x199)](_0x12d228(0x184),_0x333b66[_0x12d228(0x184)]||new Date()),this[_0x12d228(0x201)](_0x12d228(0x212))['to'](_0x4bd9f7,_0x12d228(0x212)),this[_0x12d228(0x199)](_0x12d228(0x235),_0x333b66[_0x12d228(0x235)]||{}),this[_0x12d228(0x201)](_0x12d228(0x228))['to'](_0x26a7a0,_0x12d228(0x1b4),()=>{const _0x4948d9=_0x12d228,_0x1e5bc2=_0x26a7a0[_0x4948d9(0x1cd)](_0x4bd9f7[_0x4948d9(0x16d)])[_0x4948d9(0x170)],_0x4cd176=_0x26a7a0[_0x4948d9(0x1cd)](_0x4bd9f7[_0x4948d9(0x16d)])[_0x4948d9(0x19d)];return _0x59a3a3&&_0x1e5bc2||!_0x59a3a3&&_0x4cd176;}),this[_0x12d228(0x201)](_0x12d228(0x1f1))['to'](_0x4bd9f7,_0x12d228(0x1f1),_0x26a7a0,_0x12d228(0x1b4),_0x4fd26d=>{const _0x2d71d3=_0x12d228,_0x31fd7f=_0x26a7a0[_0x2d71d3(0x1cd)](_0x4bd9f7[_0x2d71d3(0x16d)])[_0x2d71d3(0x170)],_0x1739c3=_0x26a7a0[_0x2d71d3(0x1cd)](_0x4bd9f7[_0x2d71d3(0x16d)])[_0x2d71d3(0x19d)];return _0x59a3a3&&_0x31fd7f||_0x4fd26d&&_0x316f3f||!_0x59a3a3&&_0x1739c3&&!_0x316f3f;}),this[_0x12d228(0x201)](_0x12d228(0x1d1))['to'](_0x4bd9f7,_0x12d228(0x1d1)),this[_0x12d228(0x205)]=_0x26a7a0;}get[_0x248013(0x1b8)](){const _0x5196a8=_0x248013;return Math[_0x5196a8(0x15c)](function(_0x2935f8){const _0x4b63c4=_0x5196a8,_0x4a7cde=document[_0x4b63c4(0x167)](_0x4b63c4(0x20b));return _0x4a7cde[_0x4b63c4(0x22a)]=_0x2935f8,_0x4a7cde[_0x4b63c4(0x174)][_0x4b63c4(0x198)];}(this[_0x5196a8(0x1e9)]),0xc8);}[_0x248013(0x18e)](_0x526475){const _0xd31fc8=_0x248013,{threadId:_0x4c0d4e,id:_0x591597}=this;if(!this[_0xd31fc8(0x205)][_0xd31fc8(0x1d3)](_0x4c0d4e))throw new _0x5815c8(_0xd31fc8(0x1bd),this);const {channelId:_0x552231}=this[_0xd31fc8(0x205)][_0xd31fc8(0x18d)](_0x4c0d4e);this[_0xd31fc8(0x205)][_0xd31fc8(0x1d7)](Nt(_0xd31fc8(0x236),_0x552231,_0x4c0d4e),{'channelId':_0x552231,'threadId':_0x4c0d4e,'commentId':_0x591597,..._0x526475});}[_0x248013(0x1f9)](_0x33d4d2,_0x2a4838){const _0x1f1a2a=_0x248013,_0x3ffd32=_0x484db0(this[_0x1f1a2a(0x235)]);_0x2c193d(_0x3ffd32,_0x33d4d2,_0x2a4838),this[_0x1f1a2a(0x18e)]({'attributes':_0x3ffd32});}[_0x248013(0x213)](_0x3bd656){const _0x59342c=_0x248013,_0x39dd8e=_0x484db0(this[_0x59342c(0x235)]);_0x282825(_0x39dd8e,_0x3bd656),this[_0x59342c(0x18e)]({'attributes':_0x39dd8e});}[_0x248013(0x19c)](_0x52d2b9={}){const _0x843732=_0x248013;if(!_0x52d2b9[_0x843732(0x15f)]&&!this[_0x843732(0x1f1)])return;const {threadId:_0x3706e3,id:_0x234db8}=this;if(!this[_0x843732(0x205)][_0x843732(0x1d3)](_0x3706e3))throw new _0x5815c8(_0x843732(0x1d8),this);const {channelId:_0x53146b}=this[_0x843732(0x205)][_0x843732(0x18d)](_0x3706e3);this[_0x843732(0x205)][_0x843732(0x1d7)](Nt(_0x843732(0x1e6),_0x53146b,_0x3706e3),{'channelId':_0x53146b,'threadId':_0x3706e3,'commentId':_0x234db8,..._0x52d2b9});}[_0x248013(0x1af)](){const _0x2b1e7a=_0x248013;return{'commentId':this['id'],'content':this[_0x2b1e7a(0x1e9)],'createdAt':this[_0x2b1e7a(0x19a)],'authorId':this[_0x2b1e7a(0x1ca)]['id'],'attributes':this[_0x2b1e7a(0x235)]};}[_0x248013(0x21f)](){const _0x4f200e=_0x248013;this[_0x4f200e(0x22d)]();}}function Nt(_0x4e509e,..._0x355ade){for(const _0x2b99d6 of _0x355ade)void 0x0!==_0x2b99d6&&(_0x4e509e+=':'+String(_0x2b99d6));return _0x4e509e;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1c953e=_0x5268;(function(_0x1c8c09,_0x3f4772){const _0xd66cce=_0x5268,_0x55196c=_0x1c8c09();while(!![]){try{const _0x5469e5=parseInt(_0xd66cce(0xd5))/0x1*(-parseInt(_0xd66cce(0x10c))/0x2)+parseInt(_0xd66cce(0x108))/0x3+-parseInt(_0xd66cce(0x113))/0x4*(-parseInt(_0xd66cce(0xd7))/0x5)+-parseInt(_0xd66cce(0xfa))/0x6*(-parseInt(_0xd66cce(0x10a))/0x7)+-parseInt(_0xd66cce(0xff))/0x8+-parseInt(_0xd66cce(0xcc))/0x9*(-parseInt(_0xd66cce(0xf4))/0xa)+-parseInt(_0xd66cce(0xec))/0xb*(parseInt(_0xd66cce(0xe7))/0xc);if(_0x5469e5===_0x3f4772)break;else _0x55196c['push'](_0x55196c['shift']());}catch(_0x2d3aa5){_0x55196c['push'](_0x55196c['shift']());}}}(_0x5905,0xc457c));import{Plugin as _0x24710b}from'ckeditor5/src/core.js';import{IconAddComment as _0x41eefc}from'ckeditor5/src/icons.js';import{CommentsRepository as _0xd3132e}from'./commentsrepository.js';import{CommentsEditing as _0x438067}from'./commentsediting.js';import{EditorAnnotations as _0x418f2d}from'../annotations/editorannotations.js';function _0x5268(_0x1e057d,_0x5810ab){const _0x590532=_0x5905();return _0x5268=function(_0x5268b7,_0x3c81ca){_0x5268b7=_0x5268b7-0xbd;let _0x348949=_0x590532[_0x5268b7];return _0x348949;},_0x5268(_0x1e057d,_0x5810ab);}import{ButtonView as _0x5434e3,MenuBarMenuListItemButtonView as _0x55bbe1}from'ckeditor5/src/ui.js';import{Annotations as _0x4dad11}from'../annotations/annotations.js';import{CommentsListView as _0x5705f0}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x1fdcd0}from'./ui/view/commentthreadinputview.js';function _0x5905(){const _0x1b3042=['find','innerView','_showLicenseError','length','isPremiumPlugin','focusTracker','449392SSgjFB','commentsLicenseKeyValid','model','change:activeAnnotations','execute','set','componentFactory','commentsLicenseKeyInvalid','hasCommentThread','getCommentThread','isEnabled','getAllMarkersForId','get','featureNotAllowed','comment:','CommentsListView','commentsLicenseKeyUsageLimit','trialLimit','144ZpcTTO','focus','CommentThreadInputView','low','CommentsUI','commands','commentsLicenseKeyNotAllowed','getRange','plugins','229VUfoSh','tooltip','10PIFVuz','editor','_createUIButton','commentsLicenseKeyEvaluationLimit','init','domainLimit','bind','isOfficialPlugin','isFocused','expired','commentsLicenseKeyDomainLimit','addSourceCollector','removeCommentThread','map','stop','usageLimit','956784vIIPMV','hasMarkerForId','activeMarker','destroy','_viewToController','209TWisIl','Comments','push','hasContent','add','locale','_threadToController','commentsLicenseKeyTrialLimit','412130dPsFmV','editing','evaluationLimit','from','invalid','listenTo','102IpabfA','pluginName','menuBar:comment','commentsLicenseKeyExpired','_licenseKeyCheckInterval','1745392ePsadU','highest','has','config','Comment','licenseKey','addCommentThread','requires','addComment','2672790PhxzWy','comment','316421LlYoUg','view','54SOBCql'];_0x5905=function(){return _0x1b3042;};return _0x5905();}import{getTranslation as _0x5521c5}from'../utils/common-translations.js';export class CommentsUI extends _0x24710b{[_0x1c953e(0x104)];[_0x1c953e(0xfe)];static get[_0x1c953e(0xfb)](){const _0x150144=_0x1c953e;return _0x150144(0xd0);}static get[_0x1c953e(0xde)](){return!0x0;}static get[_0x1c953e(0x111)](){return!0x0;}static get[_0x1c953e(0x106)](){return[_0xd3132e,_0x438067,_0x418f2d,_0x4dad11];}get[_0x1c953e(0xc9)](){return _0x5705f0;}get[_0x1c953e(0xce)](){return _0x1fdcd0;}[_0x1c953e(0xdb)](){const _0x94357b=_0x1c953e,_0x196d64=this[_0x94357b(0xd8)],_0x5bd788=_0x196d64[_0x94357b(0xd4)][_0x94357b(0xc6)](_0xd3132e),_0x5d03db=_0x196d64[_0x94357b(0xd4)][_0x94357b(0xc6)](_0x438067),_0x1feac3=_0x196d64[_0x94357b(0xd4)][_0x94357b(0xc6)](_0x4dad11),_0xdc4290=_0x196d64[_0x94357b(0xd4)][_0x94357b(0xc6)](_0x418f2d);_0x196d64['ui'][_0x94357b(0xc0)][_0x94357b(0xf0)](_0x94357b(0x109),()=>{const _0x3da7b6=_0x94357b,_0x3266cd=this[_0x3da7b6(0xd9)](_0x5434e3);return _0x3266cd[_0x3da7b6(0xd6)]=!0x0,_0x3266cd;}),_0x196d64['ui'][_0x94357b(0xc0)][_0x94357b(0xf0)](_0x94357b(0xfc),()=>this[_0x94357b(0xd9)](_0x55bbe1)),_0xdc4290[_0x94357b(0xe2)](()=>{const _0x2294c1=_0x94357b,_0xb655bc=[];for(const [_0x44177e,_0x469a76]of _0x5bd788[_0x2294c1(0xf2)]){const _0x41bbcf=_0x5d03db[_0x2294c1(0xc5)](_0x44177e['id']),_0x29cb9a=_0x41bbcf[_0x2294c1(0xe4)](_0x520632=>_0x520632[_0x2294c1(0xd3)]());_0x41bbcf[_0x2294c1(0x110)]>0x0&&_0xb655bc[_0x2294c1(0xee)]([_0x469a76[_0x2294c1(0x10b)],_0x29cb9a]);}return _0xb655bc;}),this[_0x94357b(0xf9)](_0x1feac3,_0x94357b(0xbd),(_0x3c0871,_0x5166ba,_0x18509a)=>{const _0x43104a=_0x94357b,_0xa1364e=Array[_0x43104a(0xf7)](_0x18509a)[_0x43104a(0xe4)](_0x28879b=>_0x28879b[_0x43104a(0x10e)])[_0x43104a(0x10d)](_0xf65227=>_0x5bd788[_0x43104a(0xeb)][_0x43104a(0x101)](_0xf65227));if(!_0xa1364e)return void(_0x5d03db[_0x43104a(0xe9)]=null);const _0x4a02b4=_0x5bd788[_0x43104a(0xeb)][_0x43104a(0xc6)](_0xa1364e)[_0x43104a(0x115)]['id'],_0x4949aa=_0x43104a(0xc8)+_0x4a02b4;_0x4a02b4&&_0x5d03db[_0x43104a(0xe8)](_0x4a02b4)?_0x5d03db[_0x43104a(0xe9)]=_0x4949aa:_0x5d03db[_0x43104a(0xe9)]&&(_0x5d03db[_0x43104a(0xe9)]=null);}),this[_0x94357b(0xf9)](_0x5bd788,_0x94357b(0xe3),(_0x5415ac,{threadId:_0x3fa4fb,isFromAdapter:_0x23267c})=>{const _0x34afe5=_0x94357b;!_0x23267c&&_0x196d64['ui'][_0x34afe5(0x112)][_0x34afe5(0xdf)]&&_0x5d03db[_0x34afe5(0xe8)](_0x3fa4fb)&&_0x196d64[_0x34afe5(0xf5)][_0x34afe5(0x10b)][_0x34afe5(0xcd)]();},{'priority':_0x94357b(0x100)}),this[_0x94357b(0xf9)](_0x5bd788,_0x94357b(0x107),(_0x400dc5,{threadId:_0x9f2782,isFromAdapter:_0x43e254})=>{const _0xd1d912=_0x94357b;if(_0x43e254||!_0x5d03db[_0xd1d912(0xe8)](_0x9f2782)||!_0x5bd788[_0xd1d912(0xc2)](_0x9f2782))return;0x1===_0x5bd788[_0xd1d912(0xc3)](_0x9f2782)[_0xd1d912(0x110)]&&(_0x196d64[_0xd1d912(0xf5)][_0xd1d912(0x10b)][_0xd1d912(0xcd)](),_0x400dc5[_0xd1d912(0xe5)]());},{'priority':_0x94357b(0xcf)}),this[_0x94357b(0x104)]=this[_0x94357b(0xd8)][_0x94357b(0x102)][_0x94357b(0xc6)](_0x94357b(0x104));const _0x30a699=this[_0x94357b(0xd8)];this[_0x94357b(0xfe)]=setInterval(()=>{const _0x4f924e=_0x94357b;let _0x10a8d3;for(const _0x2fe8c4 in _0x30a699){const _0x570fa5=_0x2fe8c4,_0x379c83=_0x30a699[_0x570fa5];if(_0x4f924e(0x114)==_0x379c83||_0x4f924e(0xc1)==_0x379c83||_0x4f924e(0xfd)==_0x379c83||_0x4f924e(0xe1)==_0x379c83||_0x4f924e(0xd2)==_0x379c83||_0x4f924e(0xda)==_0x379c83||_0x4f924e(0xf3)==_0x379c83||_0x4f924e(0xca)==_0x379c83){delete _0x30a699[_0x570fa5],_0x10a8d3=_0x379c83,clearInterval(this[_0x4f924e(0xfe)]),this[_0x4f924e(0xfe)]=void 0x0;break;}}_0x4f924e(0xc1)==_0x10a8d3&&_0x30a699[_0x4f924e(0x10f)](_0x4f924e(0xf8)),_0x4f924e(0xfd)==_0x10a8d3&&_0x30a699[_0x4f924e(0x10f)](_0x4f924e(0xe0)),_0x4f924e(0xe1)==_0x10a8d3&&_0x30a699[_0x4f924e(0x10f)](_0x4f924e(0xdc)),_0x4f924e(0xd2)==_0x10a8d3&&_0x30a699[_0x4f924e(0x10f)](_0x4f924e(0xc7),_0x4f924e(0xed)),_0x4f924e(0xda)==_0x10a8d3&&_0x30a699[_0x4f924e(0x10f)](_0x4f924e(0xf6)),_0x4f924e(0xf3)==_0x10a8d3&&_0x30a699[_0x4f924e(0x10f)](_0x4f924e(0xcb)),_0x4f924e(0xca)==_0x10a8d3&&_0x30a699[_0x4f924e(0x10f)](_0x4f924e(0xe6));},0x3e8);}[_0x1c953e(0xea)](){const _0x2f5ca7=_0x1c953e;super[_0x2f5ca7(0xea)](),this[_0x2f5ca7(0xfe)]&&clearInterval(this[_0x2f5ca7(0xfe)]);}[_0x1c953e(0xd9)](_0x18986f){const _0x1a9600=_0x1c953e,_0x24b307=this[_0x1a9600(0xd8)],_0x536fe0=new _0x18986f(_0x24b307[_0x1a9600(0xf1)]),_0x3678d1=_0x24b307[_0x1a9600(0xd1)][_0x1a9600(0xc6)](_0x1a9600(0x105));return _0x536fe0[_0x1a9600(0xbf)]({'label':_0x5521c5(_0x24b307[_0x1a9600(0xf1)],_0x1a9600(0x103)),'icon':_0x41eefc}),_0x536fe0[_0x1a9600(0xdd)](_0x1a9600(0xc4))['to'](_0x3678d1,_0x1a9600(0xef)),this[_0x1a9600(0xf9)](_0x536fe0,_0x1a9600(0xbe),()=>{const _0x32c91d=_0x1a9600;_0x3678d1[_0x32c91d(0xbe)]();}),_0x536fe0;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2c9bcb=_0xe517;(function(_0x332514,_0x4718d2){const _0x1133b5=_0xe517,_0x4ac9e7=_0x332514();while(!![]){try{const _0x2301b1=parseInt(_0x1133b5(0x182))/0x1*(-parseInt(_0x1133b5(0x18c))/0x2)+-parseInt(_0x1133b5(0x19c))/0x3+-parseInt(_0x1133b5(0x17f))/0x4+parseInt(_0x1133b5(0x19b))/0x5*(parseInt(_0x1133b5(0x17e))/0x6)+-parseInt(_0x1133b5(0x183))/0x7*(-parseInt(_0x1133b5(0x186))/0x8)+parseInt(_0x1133b5(0x199))/0x9+parseInt(_0x1133b5(0x192))/0xa;if(_0x2301b1===_0x4718d2)break;else _0x4ac9e7['push'](_0x4ac9e7['shift']());}catch(_0x317614){_0x4ac9e7['push'](_0x4ac9e7['shift']());}}}(_0x3513,0x2ec47));function _0xe517(_0x856813,_0x2fcc03){const _0x351344=_0x3513();return _0xe517=function(_0xe5173e,_0x467376){_0xe5173e=_0xe5173e-0x17b;let _0x299b82=_0x351344[_0xe5173e];return _0x299b82;},_0xe517(_0x856813,_0x2fcc03);}import{Plugin as _0x505276}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x4bd07c,ClipboardMarkersUtils as _0xae1859}from'ckeditor5/src/clipboard.js';function _0x3513(){const _0x7573c0=['_removeMarkersWithoutThreads','CommentsRepository','2Rtnnks','markers','afterInit','never','define','comments.copyMarkers','600460jJeaeX','contentInsertion','_mapCommentsCopyConfigToRegisterConfiguration','plugins','split','default','highest','1498455YtsXgW','editor','6005kSaHwr','903684visPZz','get','ClipboardMarkersUtils','content','delete','all','ClipboardPipeline','dragstart','requires','always','listenTo','keys','750LTlaKm','441740iARtcq','hasCommentThread','_registerMarkerInClipboardPipeline','93273vlZCAR','2238803XTOjYC','cut','_registerMarkerToCopy','8uPeaeH','comment','has','config'];_0x3513=function(){return _0x7573c0;};return _0x3513();}export class CommentsClipboard extends _0x505276{constructor(_0x5e03bb){const _0x24786c=_0xe517;super(_0x5e03bb),this[_0x24786c(0x19a)][_0x24786c(0x189)][_0x24786c(0x190)](_0x24786c(0x191),_0x24786c(0x197));}static get[_0x2c9bcb(0x1a4)](){return[_0xae1859,_0x4bd07c];}[_0x2c9bcb(0x18e)](){const _0x4a901a=_0x2c9bcb,_0x35a04e=this[_0x4a901a(0x19a)][_0x4a901a(0x195)][_0x4a901a(0x19d)](_0x4a901a(0x1a2));this[_0x4a901a(0x181)](),this[_0x4a901a(0x17c)](_0x35a04e,_0x4a901a(0x193),(_0x1473cf,_0x1c6ba8)=>this[_0x4a901a(0x18a)](_0x1c6ba8[_0x4a901a(0x19f)][_0x4a901a(0x18d)]),{'priority':_0x4a901a(0x198)});}[_0x2c9bcb(0x18a)](_0x4019d1){const _0x33a8e3=_0x2c9bcb;if(!this[_0x33a8e3(0x19a)][_0x33a8e3(0x195)][_0x33a8e3(0x188)](_0x33a8e3(0x18b)))return _0x4019d1;const _0x36b230=this[_0x33a8e3(0x19a)][_0x33a8e3(0x195)][_0x33a8e3(0x19d)](_0x33a8e3(0x18b));for(const _0x380fc3 of _0x4019d1[_0x33a8e3(0x17d)]()){const [_0x15b072,_0x2fecb1]=_0x380fc3[_0x33a8e3(0x196)](':');_0x33a8e3(0x187)!=_0x15b072||_0x36b230[_0x33a8e3(0x180)](_0x2fecb1)||_0x4019d1[_0x33a8e3(0x1a0)](_0x380fc3);}return _0x4019d1;}[_0x2c9bcb(0x181)](){const _0x46d13a=_0x2c9bcb,_0x1805c7=this[_0x46d13a(0x19a)][_0x46d13a(0x195)][_0x46d13a(0x19d)](_0x46d13a(0x19e)),_0x1ea662=this[_0x46d13a(0x194)](this[_0x46d13a(0x19a)][_0x46d13a(0x189)][_0x46d13a(0x19d)](_0x46d13a(0x191)));_0x1ea662&&_0x1805c7[_0x46d13a(0x185)](_0x46d13a(0x187),_0x1ea662);}[_0x2c9bcb(0x194)](_0x5add09){const _0x509e34=_0x2c9bcb;switch(_0x5add09){case _0x509e34(0x17b):return{'allowedActions':_0x509e34(0x1a1),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x509e34(0x197):return{'allowedActions':[_0x509e34(0x184),_0x509e34(0x1a3)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x509e34(0x18f):return null;default:return null;}}}
|