@ckeditor/ckeditor5-comments 47.5.0-alpha.6 → 47.5.0-alpha.8
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 +19 -19
- 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 _0x3f6406=_0x3689;(function(_0x40e486,_0x32a7){const _0x3c50e3=_0x3689,_0x31b3f6=_0x40e486();while(!![]){try{const _0x47a98c=-parseInt(_0x3c50e3(0x116))/0x1+-parseInt(_0x3c50e3(0x13e))/0x2*(-parseInt(_0x3c50e3(0x167))/0x3)+parseInt(_0x3c50e3(0x140))/0x4*(parseInt(_0x3c50e3(0x127))/0x5)+parseInt(_0x3c50e3(0x139))/0x6+-parseInt(_0x3c50e3(0x19c))/0x7+parseInt(_0x3c50e3(0x14c))/0x8+-parseInt(_0x3c50e3(0x11e))/0x9;if(_0x47a98c===_0x32a7)break;else _0x31b3f6['push'](_0x31b3f6['shift']());}catch(_0x2d71b1){_0x31b3f6['push'](_0x31b3f6['shift']());}}}(_0x5834,0x19c6f));import{Plugin as _0x22b379}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x478fc7,scrollViewportToShowTarget as _0x5aa275,uid as _0x2ab401}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x54e504}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x509bca}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x50dfce,getAllMarkersDomElementsSorted as _0x5a7541,FOCUS_ANNOTATION_KEYSTROKE as _0x432c20,Users as _0x4420c2}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x302003}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x2b3ccd}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x47f669}from'./integrations/importword.js';function _0x5834(){const _0x1b2fd7=['collaboration.channelId','fetchCommentThread','addMarker:','resolveCommentThread','first','_reconvertMarkers','root','75829OLSQtQ','consume','removeCommentThread','model','filter','change:isReadOnly','differ','registerAnnotation','2752263RIrXDN','pluginName','markerToHighlight','low','ignoreResolvedComments','markerToData','state','render','ck-comment-marker--active','235CXRIvL','_handleInitialThreads','config','removeMarker','upcast','_handleThreadMarker','init','_detachCommentThread','document','end','comment:','locale','join','_attachArchivedThread','dataDowncast','clear','group','$textProxy','1173624ywhKbi','push','getCommentThreads','ariaLiveAnnouncer','isEqual','4hTADUZ','isObject','14980UtxcRE','getWalker','add','forEach','markers','ready','startsWith','scrollToThreadMarker','isCollapsed','isPremiumPlugin','get','isResolved','1180616chgqGT','_threadToController','context','view','_getTargetForId','hasCommentThread','length','hasMarkerForId','consumable','getItems','delete','managedUsingOperations','_initAriaMarkerChangeAnnouncements','reopenCommentThread','data','change:isThreadsLoadingPaused','change:activeMarker','_getTextContext','ENTER_COMMENT_ANNOUNCEMENT','editing','substring','switchReadOnly','destroy','conversion','name','getAttribute','createElement','17262ofXeNo','enqueueChange','_initializeMarkerConverters','addComment','hasContent','isOfficialPlugin','affectsData','ck-comment-marker','addCommentThread','activeMarker','LEAVE_COMMENT_ANNOUNCEMENT','set','attachTo','rootName','isSubmitted','getChangedMarkers','listenTo','isAttached','plugins','setContext','channelId','getCommentThread','requires','getRange','getAllMarkersForId','once','for','CommentsEditing','setUnlinkedAt','remove','$marker','editingDowncast','newRange','createRange','size','isThreadsLoadingPaused','dataToMarker','hasDomSelection','author','focus','destroyed','createPositionBefore','elementToElement','text','reconvertMarker','map','then','editor','$graveyard','showCommentHighlights','fromCharCode','_attachMarkerToThread','start','304395ThJihx','href','announce','schema','registerPostFixer','updateMarker','comment','getByInnerView','item','_threads','afterInit','openNewCommentThread','removeMarker:','unlinkedAt','change','_handleMarkerAddAndRemove','refreshVisibility','from','markerName','comments','_hasTargetInContent','commands'];_0x5834=function(){return _0x1b2fd7;};return _0x5834();}import{CommentsClipboard as _0x4246da}from'./integrations/clipboard.js';function _0x3689(_0x3dc9a5,_0x1a9741){const _0x583409=_0x5834();return _0x3689=function(_0x368956,_0x26f720){_0x368956=_0x368956-0x111;let _0x475255=_0x583409[_0x368956];return _0x475255;},_0x3689(_0x3dc9a5,_0x1a9741);}import{ShowCommentHighlights as _0x13b550}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0xcc06a1}from'../annotations/annotations.js';import{getTranslation as _0x25f050}from'../utils/common-translations.js';import{splitMarkerName as _0xe00775}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x22b379{static get[_0x3f6406(0x17d)](){return[_0x54e504,_0x302003,_0x4420c2,_0x2b3ccd,_0x47f669,_0x4246da,_0x13b550];}static get[_0x3f6406(0x11f)](){const _0x4109af=_0x3f6406;return _0x4109af(0x182);}static get[_0x3f6406(0x16c)](){return!0x0;}static get[_0x3f6406(0x149)](){return!0x0;}constructor(_0x202a15){const _0x28da29=_0x3f6406;super(_0x202a15),this[_0x28da29(0x172)](_0x28da29(0x18a),!0x0),_0x202a15[_0x28da29(0x15a)][_0x28da29(0x180)](_0x28da29(0x145),()=>this[_0x28da29(0x18a)]=!0x1),this[_0x28da29(0x172)](_0x28da29(0x170),null),this['on'](_0x28da29(0x15c),(_0x5a128e,_0x488adb,_0x1c3f58,_0x1ebf8c)=>{const _0x1eaec0=_0x28da29,_0x23774=_0x202a15[_0x1eaec0(0x179)][_0x1eaec0(0x14a)](_0x54e504),_0x4f6ef5=_0x1c3f58?_0xe00775(_0x1c3f58)['id']:null;_0x202a15[_0x1eaec0(0x119)][_0x1eaec0(0x1aa)](()=>{const _0x2a1aa0=_0x1eaec0;if(_0x4f6ef5){const _0x4e8107=this[_0x2a1aa0(0x17f)](_0x4f6ef5);for(const _0x476fd7 of _0x4e8107)_0x202a15[_0x2a1aa0(0x15f)][_0x2a1aa0(0x193)](_0x476fd7);}if(_0x1ebf8c){const {id:_0x56777c}=_0xe00775(_0x1ebf8c),_0x477296=_0x23774[_0x2a1aa0(0x17c)](_0x56777c);if(_0x477296&&_0x477296[_0x2a1aa0(0x1a9)])return;if(_0x477296&&!_0x477296[_0x2a1aa0(0x178)])return;const _0x5d7de1=this[_0x2a1aa0(0x17f)](_0x56777c);for(const _0xcfacd6 of _0x5d7de1)_0x202a15[_0x2a1aa0(0x15f)][_0x2a1aa0(0x193)](_0xcfacd6);}}),_0x4f6ef5&&this[_0x1eaec0(0x147)](_0x4f6ef5);}),this[_0x28da29(0x158)]();}[_0x3f6406(0x12d)](){const _0xefa99=_0x3f6406,_0x3ac09a=this[_0xefa99(0x196)],_0x25b9da=_0x3ac09a[_0xefa99(0x179)][_0xefa99(0x14a)](_0x54e504),_0x182f30=_0x3ac09a[_0xefa99(0x129)][_0xefa99(0x14a)](_0xefa99(0x1b2)),_0x2ca997=_0x25b9da[_0xefa99(0x13b)]()[_0xefa99(0x11a)](_0x16ea0f=>_0x16ea0f[_0xefa99(0x17b)]!==_0x182f30);_0x3ac09a[_0xefa99(0x1b1)][_0xefa99(0x142)](_0xefa99(0x16f),new _0x509bca(_0x3ac09a)),this[_0xefa99(0x177)](_0x3ac09a,_0xefa99(0x11b),(_0x431be4,_0x4c249c,_0x58568c)=>{const _0x57c9a9=_0xefa99;_0x25b9da[_0x57c9a9(0x161)](_0x58568c,_0x3ac09a[_0x57c9a9(0x129)][_0x57c9a9(0x14a)](_0x57c9a9(0x1b2)));}),this[_0xefa99(0x177)](_0x25b9da,dt(_0xefa99(0x16f),_0x182f30),(_0x3838ca,{threadId:_0x114dc2})=>{const _0x50c57b=_0xefa99,_0x4fbab1=this[_0x50c57b(0x196)][_0x50c57b(0x179)][_0x50c57b(0x14a)](_0x54e504)[_0x50c57b(0x17c)](_0x114dc2);_0x4fbab1?.[_0x50c57b(0x1a9)]&&this[_0x50c57b(0x134)](_0x114dc2);}),this[_0xefa99(0x177)](_0x25b9da,dt(_0xefa99(0x118),_0x182f30),(_0x5573b3,{threadId:_0x2ea11d})=>{const _0x3f6056=_0xefa99;_0x3ac09a[_0x3f6056(0x119)][_0x3f6056(0x168)]({'isUndoable':!0x1},_0x2a6030=>{const _0x52b439=_0x3f6056,_0x27d048=this[_0x52b439(0x17f)](_0x2ea11d);for(const _0x1777db of _0x27d048)_0x2a6030[_0x52b439(0x12a)](_0x1777db);});}),this[_0xefa99(0x177)](_0x25b9da,dt(_0xefa99(0x112),_0x182f30),(_0x522087,{threadId:_0x22293b})=>{const _0x56599a=_0xefa99;(this[_0x56599a(0x114)](_0x22293b),this[_0x56599a(0x196)][_0x56599a(0x15f)][_0x56599a(0x14f)][_0x56599a(0x18c)])&&(this[_0x56599a(0x196)][_0x56599a(0x179)][_0x56599a(0x14a)](_0x54e504)[_0x56599a(0x17c)](_0x22293b)[_0x56599a(0x1a9)]||this[_0x56599a(0x196)][_0x56599a(0x15f)][_0x56599a(0x14f)][_0x56599a(0x18e)]());},{'priority':_0xefa99(0x121)}),this[_0xefa99(0x177)](_0x25b9da,dt(_0xefa99(0x159),_0x182f30),(_0x52bd78,{threadId:_0x348156})=>{const _0x7147d5=_0xefa99;this[_0x7147d5(0x114)](_0x348156);},{'priority':_0xefa99(0x121)}),this[_0xefa99(0x177)](_0x25b9da,dt(_0xefa99(0x16a),_0x182f30),(_0x5cf753,{threadId:_0x415edc,isFromAdapter:_0x26c908})=>{const _0x47c0ca=_0xefa99,_0x11a76e=this[_0x47c0ca(0x17f)](_0x415edc);if(_0x26c908||0x0==_0x11a76e[_0x47c0ca(0x152)]||!_0x25b9da[_0x47c0ca(0x151)](_0x415edc))return;0x1===_0x25b9da[_0x47c0ca(0x17c)](_0x415edc)[_0x47c0ca(0x152)]&&_0x3ac09a[_0x47c0ca(0x119)][_0x47c0ca(0x168)]({'isUndoable':!0x1},_0x5eb757=>{const _0x511c1e=_0x47c0ca;for(const _0x26d35b of _0x11a76e)_0x5eb757[_0x511c1e(0x1a1)](_0x26d35b,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0xefa99(0x121)}),this[_0xefa99(0x169)](),this[_0xefa99(0x1ab)](),this[_0xefa99(0x128)](_0x2ca997);}[_0x3f6406(0x1a6)](){!async function(_0x47cca4){const _0x2638ce=_0x2fd2a7([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]),_0xcd826e=0x73460ab3,_0x709010=0x73418b8b^_0xcd826e,_0x598c12=window[_0x2fd2a7([0x44,0x61,0x74,0x65])][_0x2fd2a7([0x6e,0x6f,0x77])](),_0x189b93=_0x47cca4[_0x2fd2a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x205e45=new window[(_0x2fd2a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2a944f=>{_0x189b93[_0x2fd2a7([0x6f,0x6e,0x63,0x65])](_0x2fd2a7([0x72,0x65,0x61,0x64,0x79]),_0x2a944f);}),_0x5313b5={[_0x2fd2a7([0x6b,0x74,0x79])]:_0x2fd2a7([0x45,0x43]),[_0x2fd2a7([0x75,0x73,0x65])]:_0x2fd2a7([0x73,0x69,0x67]),[_0x2fd2a7([0x63,0x72,0x76])]:_0x2fd2a7([0x50,0x2d,0x32,0x35,0x36]),[_0x2fd2a7([0x78])]:_0x2fd2a7([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]),[_0x2fd2a7([0x79])]:_0x2fd2a7([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]),[_0x2fd2a7([0x61,0x6c,0x67])]:_0x2fd2a7([0x45,0x53,0x32,0x35,0x36])},_0x59ef8b=_0x189b93[_0x2fd2a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2fd2a7([0x67,0x65,0x74])](_0x2fd2a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x459b6f(){let _0x4a0b80,_0x2e9e40=null,_0x30a402=null;try{if(_0x59ef8b==_0x2fd2a7([0x47,0x50,0x4c]))return _0x2fd2a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a0b80=_0x4c88e4(),!_0x4a0b80)return _0x2fd2a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a0b80[_0x2fd2a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x30a402=_0xd3d91a(_0x4a0b80[_0x2fd2a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a0b80[_0x2fd2a7([0x6a,0x74,0x69])])),await _0x1a937e()?_0x38599b()?_0x7e0913()?_0x2fd2a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5031c0()?(_0x4a0b80[_0x2fd2a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2fd2a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2e9e40=_0x474df9(_0x2fd2a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x20a8f3()):_0x2fd2a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2fd2a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2fd2a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2fd2a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7e0913(){const _0x1d3273=[_0x2fd2a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2fd2a7([0x74,0x72,0x69,0x61,0x6c])][_0x2fd2a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a0b80[_0x2fd2a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x598c12/0x3e8:0xe10*_0x709010;return _0x4a0b80[_0x2fd2a7([0x65,0x78,0x70])]<_0x1d3273;}function _0x38599b(){const _0x5ca615=_0x4a0b80[_0x2fd2a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5ca615)return!0x1;if(_0x5ca615[_0x2fd2a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd2a7([0x2a])))return!0x0;if(_0x5ca615[_0x2fd2a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd2a7([0x43,0x4d,0x54])))return!0x0;if(_0x5ca615[_0x2fd2a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd2a7([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x2f9464())return!0x0;if(_0x5ca615[_0x2fd2a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd2a7([0x52,0x43,0x4d,0x54]))){if(_0x44d928())return!0x0;if(_0x30af07()||_0x16d384())return!0x0;}return!0x1;}function _0x5031c0(){const _0x469536=_0x3689,_0x3f74fa=_0x4a0b80[_0x2fd2a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f74fa||0x0==_0x3f74fa[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x15cf77}=new URL(window[_0x2fd2a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x469536(0x19d)]);if(_0x3f74fa[_0x2fd2a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x15cf77))return!0x0;const _0x47c5cd=_0x15cf77[_0x2fd2a7([0x73,0x70,0x6c,0x69,0x74])](_0x2fd2a7([0x2e]));return _0x3f74fa[_0x2fd2a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bdff0=>_0x1bdff0[_0x2fd2a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fd2a7([0x2a])))[_0x2fd2a7([0x6d,0x61,0x70])](_0x2fd20c=>_0x2fd20c[_0x2fd2a7([0x73,0x70,0x6c,0x69,0x74])](_0x2fd2a7([0x2e])))[_0x2fd2a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53fa7c=>_0x53fa7c[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x47c5cd[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fd2a7([0x6d,0x61,0x70])](_0x23dba0=>Array(_0x47c5cd[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23dba0[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2fd2a7([0x66,0x69,0x6c,0x6c])](_0x23dba0[0x0]===_0x2fd2a7([0x2a])?_0x2fd2a7([0x2a]):'')[_0x2fd2a7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23dba0))[_0x2fd2a7([0x73,0x6f,0x6d,0x65])](_0x1cfe9a=>_0x47c5cd[_0x2fd2a7([0x65,0x76,0x65,0x72,0x79])]((_0x397d75,_0xbd1744)=>_0x1cfe9a[_0xbd1744]===_0x397d75||_0x1cfe9a[_0xbd1744]===_0x2fd2a7([0x2a])));}function _0x20a8f3(){return _0x2e9e40&&_0x30a402?new window[(_0x2fd2a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e6521,_0x2d12e4)=>{_0x2e9e40[_0x2fd2a7([0x74,0x68,0x65,0x6e])](_0x4e6521,_0x2d12e4),_0x30a402[_0x2fd2a7([0x74,0x68,0x65,0x6e])](_0x53db16=>{_0x53db16!=_0x2fd2a7([0x56,0x61,0x6c,0x69,0x64])&&_0x4e6521(_0x53db16);},_0x2d12e4);}):_0x2e9e40||_0x30a402||_0x2fd2a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0xd3d91a(_0x9edc5f,_0x5cf3d2){return new window[(_0x2fd2a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3fe5a9=>{if(_0x1d6c23())return _0x3fe5a9(_0x2fd2a7([0x56,0x61,0x6c,0x69,0x64]));_0x2fba72(),_0x189b93[_0x2fd2a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2fd2a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x578444=!0x1;const _0x7e8b13=_0x2ab401();function _0x37445a(_0x39d19f){return!!_0x39d19f&&(typeof _0x39d19f===_0x2fd2a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x39d19f===_0x2fd2a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x39d19f[_0x2fd2a7([0x74,0x68,0x65,0x6e])]===_0x2fd2a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x39d19f[_0x2fd2a7([0x63,0x61,0x74,0x63,0x68])]===_0x2fd2a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x167c18(_0x30d7e0){_0x52b972(_0x30d7e0)[_0x2fd2a7([0x74,0x68,0x65,0x6e])](_0x4edee8=>{if(!_0x4edee8||_0x4edee8[_0x2fd2a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2fd2a7([0x6f,0x6b]))return _0x2fd2a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x581281(_0x2f976f(_0x7e8b13+_0x5cf3d2))!=_0x4edee8[_0x2fd2a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2fd2a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2fd2a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x2fd2a7([0x74,0x68,0x65,0x6e])](_0x418f4e=>(_0x140181(),_0x418f4e),()=>{const _0x203b4c=_0x4a83a6();return null==_0x203b4c?(_0x140181(),_0x2fd2a7([0x56,0x61,0x6c,0x69,0x64])):_0x2fd2a7(_0x598c12-_0x203b4c>(0x574a8eb3^_0xcd826e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2fd2a7([0x74,0x68,0x65,0x6e])](_0x3fe5a9)[_0x2fd2a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3fe5a9(_0x2fd2a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1a790a=0x7370e433^_0xcd826e;function _0x140181(){const _0x1b44ab=_0x2fd2a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x581281(_0x2f976f(_0x9edc5f)),_0x2488a7=_0x5b082e(_0x581281(window[_0x2fd2a7([0x4d,0x61,0x74,0x68])][_0x2fd2a7([0x63,0x65,0x69,0x6c])](_0x598c12/_0x1a790a)));window[_0x2fd2a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fd2a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b44ab,_0x2488a7);}function _0x4a83a6(){const _0x3ece08=_0x2fd2a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x581281(_0x2f976f(_0x9edc5f)),_0x11efb0=window[_0x2fd2a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2fd2a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ece08);return _0x11efb0?window[_0x2fd2a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b082e(_0x11efb0),0x10)*_0x1a790a:null;}function _0x52b972(_0x473f5c){return new window[(_0x2fd2a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x8d45f9,_0x247cfb)=>{_0x473f5c[_0x2fd2a7([0x74,0x68,0x65,0x6e])](_0x8d45f9,_0x247cfb),window[_0x2fd2a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x247cfb,0x7347de73^_0xcd826e);});}}_0x189b93[_0x2fd2a7([0x6f,0x6e])](_0x2fd2a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x21d60c,_0x37f094)=>{if(_0x37f094[0x0]!=_0x9edc5f)return _0x3fe5a9(_0x2fd2a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37f094[0x1]={..._0x37f094[0x1],[_0x2fd2a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x7e8b13};},{[_0x2fd2a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fd2a7([0x68,0x69,0x67,0x68])}),_0x189b93[_0x2fd2a7([0x6f,0x6e])](_0x2fd2a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2d1255=>{_0x37445a(_0x2d1255[_0x2fd2a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x578444=!0x0,_0x167c18(_0x2d1255[_0x2fd2a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2fd2a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2fd2a7([0x6c,0x6f,0x77])}),_0x205e45[_0x2fd2a7([0x74,0x68,0x65,0x6e])](()=>{_0x578444||_0x3fe5a9(_0x2fd2a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1d6c23(){return _0x189b93[_0x2fd2a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fd2a7([0x76,0x69,0x65,0x77])][_0x2fd2a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2fd2a7([0x61,0x75,0x74,0x6f]);}function _0x2fba72(){_0x189b93[_0x2fd2a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2fd2a7([0x76,0x69,0x65,0x77])][_0x2fd2a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2fd2a7([0x61,0x75,0x74,0x6f]);}}function _0x474df9(_0x3398a6){const _0x3f84bf=[new window[(_0x2fd2a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xab35c8=>setTimeout(_0xab35c8,0x734f347f^_0xcd826e)),_0x205e45[_0x2fd2a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2fd2a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a9707=>{let _0x46b92f=0x0;_0x189b93[_0x2fd2a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fd2a7([0x6f,0x6e])](_0x2fd2a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x494dba,_0x2ff95e)=>{_0x2ff95e[0x0][_0x2fd2a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x46b92f++,_0x46b92f==(0x73460f5b^_0xcd826e)&&(_0x3a9707(),_0x494dba[_0x2fd2a7([0x6f,0x66,0x66])]());});}))];return window[_0x2fd2a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2fd2a7([0x72,0x61,0x63,0x65])](_0x3f84bf)[_0x2fd2a7([0x74,0x68,0x65,0x6e])](()=>_0x3398a6);}async function _0x3fda86(){await _0x205e45,_0x189b93[_0x2fd2a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fd2a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x458879,_0x189b93[_0x2fd2a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x2fd2a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x458879,_0x189b93[_0x2fd2a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2fd2a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2f9464(){return window[_0x2fd2a7([0x67,0x6c,0x6f,0x62])]&&window[_0x2fd2a7([0x67,0x6c,0x6f,0x62])][_0x2fd2a7([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x44d928(){return _0x2b8f79(_0x2fd2a7([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5bd677(_0x2fd2a7([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2fd2a7([0x73,0x74,0x61,0x74,0x65])]==_0x2fd2a7([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x30af07(){return _0x2b8f79(_0x2fd2a7([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 _0x16d384(){return _0x2b8f79(_0x2fd2a7([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3066b0(_0x58b045){const _0x30d5de=_0x5c9c8d();_0x189b93[_0x30d5de]=_0x2fd2a7([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58b045,_0x58b045!=_0x2fd2a7([0x56,0x61,0x6c,0x69,0x64])&&_0x3fda86();}function _0x5c9c8d(){const _0x12b961=window[_0x2fd2a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2fd2a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2fd2a7([0x6e,0x6f,0x77])]())[_0x2fd2a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2fd2a7([0x2e]),'');let _0xc235f5=_0x2fd2a7([0x4b]);for(let _0x1bc93d=0x0;_0x1bc93d<_0x12b961[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bc93d+=0x2){let _0x4e8888=window[_0x2fd2a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12b961[_0x2fd2a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bc93d,_0x1bc93d+0x2));_0x4e8888>=_0x2638ce[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e8888-=_0x2638ce[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xc235f5+=_0x2638ce[_0x4e8888];}return _0xc235f5;}function _0x4c88e4(){const _0x3787d7=_0x59ef8b[_0x2fd2a7([0x73,0x70,0x6c,0x69,0x74])](_0x2fd2a7([0x2e]));if(0x3!=_0x3787d7[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x202236(_0x3787d7[0x1]);function _0x202236(_0x263afb){const _0x22a977=_0x52beb9(_0x263afb);return _0x22a977&&_0x3d01da()?_0x22a977:null;function _0x3d01da(){const _0x15207f=_0x22a977[_0x2fd2a7([0x6a,0x74,0x69])],_0x3afdc0=window[_0x2fd2a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15207f[_0x2fd2a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15207f[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x49b7a2={..._0x22a977,[_0x2fd2a7([0x6a,0x74,0x69])]:_0x15207f[_0x2fd2a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15207f[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x49b7a2[_0x2fd2a7([0x76,0x63])],_0x2f976f(_0x49b7a2)==_0x3afdc0;}}}async function _0x1a937e(){let _0x2b2fc2=!0x0;try{const _0x3d874f=_0x59ef8b[_0x2fd2a7([0x73,0x70,0x6c,0x69,0x74])](_0x2fd2a7([0x2e])),[_0xebb31b,_0x4b633f,_0x2f091d]=_0x3d874f;return _0x55607c(_0xebb31b),await _0x223346(_0xebb31b,_0x4b633f,_0x2f091d),_0x2b2fc2;}catch{return!0x1;}function _0x55607c(_0xbb074){const _0x4ad3b1=_0x52beb9(_0xbb074);_0x4ad3b1&&_0x4ad3b1[_0x2fd2a7([0x61,0x6c,0x67])]==_0x2fd2a7([0x45,0x53,0x32,0x35,0x36])||(_0x2b2fc2=!0x1);}async function _0x223346(_0x5a510a,_0x2ea5f5,_0xb948c1){const _0x147533=window[_0x2fd2a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2fd2a7([0x66,0x72,0x6f,0x6d])](_0x85ecc7(_0xb948c1),_0x18cf67=>_0x18cf67[_0x2fd2a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11fb0d=new window[(_0x2fd2a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2fd2a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5a510a+_0x2fd2a7([0x2e])+_0x2ea5f5),_0x554c83=window[_0x2fd2a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2fd2a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x554c83)return;const _0xdf041a=await _0x554c83[_0x2fd2a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2fd2a7([0x6a,0x77,0x6b]),_0x5313b5,{[_0x2fd2a7([0x6e,0x61,0x6d,0x65])]:_0x2fd2a7([0x45,0x43,0x44,0x53,0x41]),[_0x2fd2a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2fd2a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2fd2a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x554c83[_0x2fd2a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2fd2a7([0x6e,0x61,0x6d,0x65])]:_0x2fd2a7([0x45,0x43,0x44,0x53,0x41]),[_0x2fd2a7([0x68,0x61,0x73,0x68])]:{[_0x2fd2a7([0x6e,0x61,0x6d,0x65])]:_0x2fd2a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xdf041a,_0x147533,_0x11fb0d)||(_0x2b2fc2=!0x1);}}function _0x52beb9(_0x288416){return _0x288416[_0x2fd2a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2fd2a7([0x65,0x79]))?JSON[_0x2fd2a7([0x70,0x61,0x72,0x73,0x65])](_0x85ecc7(_0x288416)):null;}function _0x85ecc7(_0x500b38){return window[_0x2fd2a7([0x61,0x74,0x6f,0x62])](_0x500b38[_0x2fd2a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2fd2a7([0x2b]))[_0x2fd2a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2fd2a7([0x2f])));}function _0x2f976f(_0x47c711){let _0x15cff9=0x1505;function _0x51e4c6(_0x1e48a6){for(let _0x405ac6=0x0;_0x405ac6<_0x1e48a6[_0x2fd2a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x405ac6++){const _0x3513c6=_0x1e48a6[_0x2fd2a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x405ac6);_0x15cff9=(_0x15cff9<<0x5)+_0x15cff9+_0x3513c6,_0x15cff9&=_0x15cff9;}}function _0x2ff199(_0x3d5fed){Array[_0x2fd2a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3d5fed)?_0x3d5fed[_0x2fd2a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ff199):_0x3d5fed&&typeof _0x3d5fed==_0x2fd2a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2fd2a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3d5fed)[_0x2fd2a7([0x73,0x6f,0x72,0x74])]()[_0x2fd2a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x524d9e,_0x5da74a])=>{_0x51e4c6(_0x524d9e),_0x2ff199(_0x5da74a);}):_0x51e4c6(window[_0x2fd2a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3d5fed));}return _0x2ff199(_0x47c711),_0x15cff9>>>0x0;}function _0x581281(_0x262b55){return _0x262b55[_0x2fd2a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2fd2a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2fd2a7([0x30]));}function _0x5b082e(_0x15edb0){return _0x15edb0[_0x2fd2a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2fd2a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2fd2a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x2b8f79(_0x29558a){return _0x189b93[_0x2fd2a7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2fd2a7([0x68,0x61,0x73])](_0x29558a);}function _0x5bd677(_0x33a37d){return _0x189b93[_0x2fd2a7([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2fd2a7([0x67,0x65,0x74])](_0x33a37d);}function _0x458879(){}function _0x2fd2a7(_0x1b7f8e){const _0x4075a0=_0x3689;return _0x1b7f8e[_0x4075a0(0x194)](_0x105ed7=>String[_0x4075a0(0x199)](_0x105ed7))[_0x4075a0(0x133)]('');}_0x3066b0(await _0x459b6f());}(this);}[_0x3f6406(0x162)](){const _0x7b59a5=_0x3f6406,_0x40b7e5=this[_0x7b59a5(0x196)][_0x7b59a5(0x179)][_0x7b59a5(0x14a)](_0x54e504),_0x10fcc6=this[_0x7b59a5(0x196)][_0x7b59a5(0x129)][_0x7b59a5(0x14a)](_0x7b59a5(0x1b2));for(const _0x6bd520 of _0x40b7e5[_0x7b59a5(0x13b)]({'channelId':_0x10fcc6}))_0x40b7e5[_0x7b59a5(0x12e)](_0x6bd520['id']),_0x40b7e5[_0x7b59a5(0x1a5)][_0x7b59a5(0x156)](_0x6bd520['id']);super[_0x7b59a5(0x162)]();}[_0x3f6406(0x153)](_0x3c3e81){const _0x515407=_0x3f6406;return this[_0x515407(0x17f)](_0x3c3e81)[_0x515407(0x152)]>0x0;}[_0x3f6406(0x17f)](_0x3a30f1){const _0x13235b=_0x3f6406,_0x3fc3a1=[];for(const _0x10c25e of this[_0x13235b(0x196)][_0x13235b(0x119)][_0x13235b(0x144)])_0x10c25e[_0x13235b(0x164)][_0x13235b(0x146)](_0x13235b(0x131)+_0x3a30f1)&&_0x3fc3a1[_0x13235b(0x13a)](_0x10c25e);return _0x3fc3a1;}[_0x3f6406(0x147)](_0x3f6185){setTimeout(()=>{const _0xbc8d29=_0x3689,_0x8cb409=this[_0xbc8d29(0x150)](_0x3f6185);if(!_0x8cb409)return;this[_0xbc8d29(0x170)]&&_0xe00775(this[_0xbc8d29(0x170)])['id']===_0x3f6185&&_0x5aa275({'target':_0x8cb409[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x3f6406(0x114)](_0x52b040){const _0x5bb97c=_0x3f6406;this[_0x5bb97c(0x196)][_0x5bb97c(0x119)][_0x5bb97c(0x1aa)](()=>{const _0x471fa2=_0x5bb97c;for(const _0x1acd49 of this[_0x471fa2(0x17f)](_0x52b040))this[_0x471fa2(0x196)][_0x471fa2(0x15f)][_0x471fa2(0x193)](_0x1acd49);});}[_0x3f6406(0x134)](_0x505fad){const _0xb15e1f=_0x3f6406,_0x21ca60=this[_0xb15e1f(0x196)][_0xb15e1f(0x179)][_0xb15e1f(0x14a)](_0x54e504),_0x5e38f1=this[_0xb15e1f(0x196)][_0xb15e1f(0x179)][_0xb15e1f(0x14a)](_0x302003),_0x199a78=_0x21ca60[_0xb15e1f(0x17c)](_0x505fad);if(!_0x199a78[_0xb15e1f(0x178)]){const _0x346991=_0x199a78[_0xb15e1f(0x173)](()=>this[_0xb15e1f(0x150)](_0x199a78['id']));_0x5e38f1[_0xb15e1f(0x11d)](_0x346991),_0x199a78[_0xb15e1f(0x1b0)]=!0x1;}}[_0x3f6406(0x169)](){const _0x5df364=_0x3f6406,_0x353c89=this[_0x5df364(0x196)],_0x6d64fd=_0x353c89[_0x5df364(0x179)][_0x5df364(0x14a)](_0x4420c2);_0x353c89[_0x5df364(0x163)][_0x5df364(0x181)](_0x5df364(0x186))[_0x5df364(0x120)]({'model':_0x5df364(0x1a2),'view':(_0x5dcab3,_0x4e72b6)=>{const _0x2e28aa=_0x5df364,{id:_0x2d899c}=_0xe00775(_0x5dcab3[_0x2e28aa(0x1ae)]),_0x4d0c9a=_0x353c89[_0x2e28aa(0x179)][_0x2e28aa(0x14a)](_0x54e504)[_0x2e28aa(0x17c)](_0x2d899c),_0x3a42c3=this[_0x2e28aa(0x170)]&&_0xe00775(this[_0x2e28aa(0x170)])['id']===_0x2d899c;let _0x30cae1;if(_0x4d0c9a&&_0x4d0c9a[_0x2e28aa(0x14b)]&&!_0x3a42c3&&_0x5dcab3[_0x2e28aa(0x1a4)])return _0x4e72b6[_0x2e28aa(0x154)][_0x2e28aa(0x117)](_0x5dcab3[_0x2e28aa(0x1a4)],_0x2e28aa(0x111)+_0x5dcab3[_0x2e28aa(0x1ae)]),_0x4e72b6[_0x2e28aa(0x154)][_0x2e28aa(0x117)](_0x5dcab3[_0x2e28aa(0x1a4)],_0x2e28aa(0x1a8)+_0x5dcab3[_0x2e28aa(0x1ae)]),null;const _0x468b96=[_0x2e28aa(0x16e)];return _0x3a42c3&&_0x468b96[_0x2e28aa(0x13a)](_0x2e28aa(0x126)),_0x30cae1=_0x4d0c9a?.[_0x2e28aa(0x152)]?_0x4d0c9a[_0x2e28aa(0x1af)][_0x2e28aa(0x113)][_0x2e28aa(0x18d)]['id']:_0x6d64fd['me']['id'],{'classes':_0x468b96,'attributes':{'data-comment':_0x2d899c,'data-author-id':_0x30cae1}};}}),_0x353c89[_0x5df364(0x163)][_0x5df364(0x181)](_0x5df364(0x135))[_0x5df364(0x123)]({'model':_0x5df364(0x1a2),'view':(_0x35c851,{options:_0x1c0f4e})=>{const _0x58c75b=_0x5df364;if(_0x1c0f4e[_0x58c75b(0x198)])return null;const _0x47d1bb=_0x353c89[_0x58c75b(0x179)][_0x58c75b(0x14a)](_0x54e504),_0x9c5c8=_0x353c89[_0x58c75b(0x119)][_0x58c75b(0x144)][_0x58c75b(0x14a)](_0x35c851),{id:_0x2ab0bc,part:_0x2e4fe2}=_0xe00775(_0x35c851);return _0x9c5c8&&!_0x9c5c8[_0x58c75b(0x16d)]||_0x1c0f4e[_0x58c75b(0x122)]&&_0x47d1bb[_0x58c75b(0x17c)](_0x2ab0bc)?.[_0x58c75b(0x14b)]?null:{'group':_0x58c75b(0x1a2),'name':_0x2e4fe2?_0x2ab0bc+':'+_0x2e4fe2:_0x2ab0bc};}}),_0x353c89[_0x5df364(0x163)][_0x5df364(0x181)](_0x5df364(0x12b))[_0x5df364(0x191)]({'view':{'name':_0x5df364(0x1a2),'attributes':{'id':/^\w/}},'model':(_0x4d9b33,{writer:_0x4b6e17})=>_0x4b6e17[_0x5df364(0x166)](_0x5df364(0x185),{'data-name':_0x5df364(0x131)+_0x4d9b33[_0x5df364(0x165)]('id')})}),_0x353c89[_0x5df364(0x163)][_0x5df364(0x181)](_0x5df364(0x12b))[_0x5df364(0x18b)]({'view':_0x5df364(0x1a2)});}[_0x3f6406(0x1ab)](){const _0xf3fd1d=_0x3f6406,_0x240f89=this[_0xf3fd1d(0x196)],_0x21348e=_0x240f89[_0xf3fd1d(0x179)][_0xf3fd1d(0x14a)](_0x54e504),_0x4ed0e1=new Set(),_0x469bb6=new Set();_0x240f89[_0xf3fd1d(0x119)][_0xf3fd1d(0x12f)][_0xf3fd1d(0x1a0)](_0x4e2654=>{const _0x4674f0=_0xf3fd1d;let _0x1648a3=!0x1;for(const {name:_0xf790c1,data:_0x24ef7f}of _0x240f89[_0x4674f0(0x119)][_0x4674f0(0x12f)][_0x4674f0(0x11c)][_0x4674f0(0x176)]()){const {group:_0x188bd0,id:_0x373d90}=_0xe00775(_0xf790c1);let _0x9df9f3=_0x24ef7f[_0x4674f0(0x187)];if(_0x4674f0(0x1a2)!==_0x188bd0||!_0x9df9f3)continue;const _0x4dfd72=_0x4674f0(0x197)===_0x9df9f3[_0x4674f0(0x115)][_0x4674f0(0x174)];_0x4dfd72||(_0x9df9f3=ht(_0x9df9f3,_0x240f89[_0x4674f0(0x119)]),!_0x9df9f3||_0x9df9f3[_0x4674f0(0x148)]||!_0x24ef7f[_0x4674f0(0x187)]||_0x9df9f3[_0x4674f0(0x13d)](_0x24ef7f[_0x4674f0(0x187)]))?_0x240f89[_0x4674f0(0x119)][_0x4674f0(0x16b)](_0x9df9f3)&&!_0x4dfd72?this[_0x4674f0(0x18a)]?_0x4ed0e1[_0x4674f0(0x142)](_0xf790c1):this[_0x4674f0(0x12c)](_0xf790c1,_0x373d90):(_0x469bb6[_0x4674f0(0x142)](_0xf790c1),_0x4ed0e1[_0x4674f0(0x156)](_0xf790c1),_0x4e2654[_0x4674f0(0x12a)](_0xf790c1),_0x1648a3=!0x0):(_0x4e2654[_0x4674f0(0x1a1)](_0xf790c1,{'range':_0x9df9f3}),_0x1648a3=!0x0);}return _0x1648a3;}),this['on'](_0xf3fd1d(0x15b),(_0x5dfdeb,_0xe81b93,_0x50dbfc)=>{const _0xf36e65=_0xf3fd1d;if(!_0x50dbfc&&_0x4ed0e1[_0xf36e65(0x189)])for(const _0x365f74 of _0x4ed0e1){const {id:_0x5bc27b}=_0xe00775(_0x365f74);_0x4ed0e1[_0xf36e65(0x156)](_0x365f74),_0x240f89[_0xf36e65(0x119)][_0xf36e65(0x144)][_0xf36e65(0x14a)](_0x365f74)&&this[_0xf36e65(0x12c)](_0x365f74,_0x5bc27b);}}),this[_0xf3fd1d(0x177)](_0x240f89[_0xf3fd1d(0x119)][_0xf3fd1d(0x12f)],_0xf3fd1d(0x1aa),()=>{const _0x569307=_0xf3fd1d;for(const {name:_0x4a86ea,data:{newRange:_0x302c1a}}of _0x240f89[_0x569307(0x119)][_0x569307(0x12f)][_0x569307(0x11c)][_0x569307(0x176)]()){const {group:_0x13ff84,id:_0x5206be}=_0xe00775(_0x4a86ea);if(_0x569307(0x1a2)!==_0x13ff84)continue;const _0x3824a5=_0x21348e[_0x569307(0x17c)](_0x5206be),_0x2cb707=this[_0x569307(0x153)](_0x5206be);_0x3824a5&&(!_0x3824a5[_0x569307(0x1b0)]&&_0x302c1a&&_0x240f89[_0x569307(0x15f)][_0x569307(0x14f)][_0x569307(0x180)](_0x569307(0x125),()=>{const _0x4a65fd=_0x569307,_0x4779a7=_0x240f89[_0x4a65fd(0x179)][_0x4a65fd(0x14a)](_0xcc06a1),_0x4a790b=_0x21348e[_0x4a65fd(0x14d)][_0x4a65fd(0x14a)](_0x3824a5)[_0x4a65fd(0x14f)];_0x4779a7[_0x4a65fd(0x1a3)](_0x4a790b)[_0x4a65fd(0x1ac)]();},{'priority':_0x569307(0x121)}),_0x3824a5[_0x569307(0x1b0)]=_0x2cb707||!!_0x302c1a),_0x302c1a||(_0x469bb6[_0x569307(0x142)](_0x4a86ea),_0x4ed0e1[_0x569307(0x156)](_0x4a86ea));}for(const _0x59c579 of _0x469bb6){const {id:_0x2a9c31}=_0xe00775(_0x59c579),_0x453aa2=_0x21348e[_0x569307(0x17c)](_0x2a9c31);if(_0x4ed0e1[_0x569307(0x156)](_0x59c579),!_0x453aa2)continue;const _0x5795bf=this[_0x569307(0x153)](_0x2a9c31);_0x5795bf||_0x453aa2[_0x569307(0x175)]?_0x5795bf||_0x453aa2[_0x569307(0x1a9)]||_0x453aa2[_0x569307(0x183)](new Date()):_0x453aa2[_0x569307(0x184)]();}_0x469bb6[_0x569307(0x136)]();});}[_0x3f6406(0x128)](_0x77bcab){const _0x36ac73=_0x3f6406;_0x77bcab[_0x36ac73(0x143)](_0x1f3661=>{const _0x40863d=_0x36ac73;_0x1f3661[_0x40863d(0x1a9)]&&this[_0x40863d(0x134)](_0x1f3661['id']);});}[_0x3f6406(0x150)](_0x2ebd06){const _0x45be4f=_0x3f6406,_0x3a63a1=this[_0x45be4f(0x196)],_0x313406=this[_0x45be4f(0x17f)](_0x2ebd06);return _0x5a7541(_0x3a63a1[_0x45be4f(0x15f)],_0x313406);}[_0x3f6406(0x15d)](_0x5c85db){const _0x2b101c=_0x3f6406,_0x1a7076=this[_0x2b101c(0x17f)](_0x5c85db);let _0x55719a='',_0x27b156=!0x1;for(const _0x31c70f of _0x1a7076){const _0x1269f7=_0x31c70f[_0x2b101c(0x17e)]();for(const _0x99d049 of Array[_0x2b101c(0x1ad)](_0x1269f7[_0x2b101c(0x155)]()))_0x99d049['is'](_0x2b101c(0x138))?(_0x55719a&&_0x27b156&&(_0x55719a+='\x20',_0x27b156=!0x1),_0x55719a+=_0x99d049[_0x2b101c(0x15a)]):_0x27b156=!0x0;_0x27b156=!0x0;}return _0x55719a[_0x2b101c(0x160)](0x0,0x96);}[_0x3f6406(0x19a)](_0x519d3e,_0x44d7a1){const _0x5cced9=_0x3f6406,_0xe232cc=this[_0x5cced9(0x196)],_0xc02dd0=_0xe232cc[_0x5cced9(0x179)][_0x5cced9(0x14a)](_0x54e504);let _0x3b1f59=_0xc02dd0[_0x5cced9(0x17c)](_0x44d7a1);const _0x33e36c=_0xe232cc[_0x5cced9(0x129)][_0x5cced9(0x14a)](_0x5cced9(0x1b2)),_0x5a14ab=_0xe232cc[_0x5cced9(0x179)][_0x5cced9(0x14a)](_0x302003);if(_0x3b1f59&&(_0x3b1f59[_0x5cced9(0x1a9)]&&_0x3b1f59[_0x5cced9(0x183)](null),_0x3b1f59[_0x5cced9(0x178)]))return _0x3b1f59;return!this[_0x5cced9(0x17f)](_0x44d7a1)[0x0][_0x5cced9(0x157)]?_0xe232cc[_0x5cced9(0x15f)][_0x5cced9(0x14f)][_0x5cced9(0x180)](_0x5cced9(0x125),()=>{const _0x2afaf8=_0x5cced9;if(_0xc02dd0[_0x2afaf8(0x17c)](_0x44d7a1))return;const _0x2d6688=_0xe232cc[_0x2afaf8(0x179)][_0x2afaf8(0x14a)](_0xcc06a1);_0x3b1f59=_0xc02dd0[_0x2afaf8(0x1a7)]({'channelId':_0x33e36c,'threadId':_0x44d7a1,'target':()=>this[_0x2afaf8(0x150)](_0x44d7a1),'context':{'type':_0x2afaf8(0x192),'value':this[_0x2afaf8(0x15d)](_0x44d7a1)}});const _0x5b6b00=_0xc02dd0[_0x2afaf8(0x14d)][_0x2afaf8(0x14a)](_0x3b1f59)[_0x2afaf8(0x14f)],_0x5831f0=_0x2d6688[_0x2afaf8(0x1a3)](_0x5b6b00);_0x5831f0&&_0x5a14ab[_0x2afaf8(0x11d)](_0x5831f0);},{'priority':_0x5cced9(0x121)}):_0xc02dd0[_0x5cced9(0x1b3)]({'channelId':_0x33e36c,'threadId':_0x44d7a1})[_0x5cced9(0x195)](_0x236494=>{const _0x5edc46=_0x5cced9;if(_0x5edc46(0x18f)!==_0xe232cc[_0x5edc46(0x124)]){if(_0x3b1f59=_0x236494,_0x3b1f59&&!_0x3b1f59[_0x5edc46(0x178)]){const _0x58a943=_0x3b1f59[_0x5edc46(0x173)](()=>this[_0x5edc46(0x150)](_0x44d7a1));_0x5a14ab[_0x5edc46(0x11d)](_0x58a943),_0x3b1f59[_0x5edc46(0x14b)]&&this[_0x5edc46(0x114)](_0x44d7a1);}else{if(!_0x3b1f59){const _0x359a79=this[_0x5edc46(0x17f)](_0x44d7a1);_0xe232cc[_0x5edc46(0x119)][_0x5edc46(0x1aa)](_0x15cfa6=>{const _0x3c9706=_0x5edc46;for(const _0x580345 of _0x359a79)_0x15cfa6[_0x3c9706(0x12a)](_0x580345);});}}}}),_0x3b1f59;}[_0x3f6406(0x12c)](_0x3aafe3,_0x16d91d){const _0x108b16=_0x3f6406,_0x5b3279=this[_0x108b16(0x19a)](_0x3aafe3,_0x16d91d);_0x5b3279&&!_0x5b3279[_0x108b16(0x14e)]&&_0x5b3279[_0x108b16(0x17a)]({'type':_0x108b16(0x192),'value':this[_0x108b16(0x15d)](_0x16d91d)});}[_0x3f6406(0x158)](){const _0x23fd5f=_0x3f6406,_0x3cefc1=this[_0x23fd5f(0x196)];_0x50dfce(_0x3cefc1[_0x23fd5f(0x119)],({left:_0x2e1ede,entered:_0x199bd9})=>{const _0x4816ca=_0x23fd5f;for(const _0x5a3239 of _0x2e1ede)if(mt(_0x5a3239)){_0x3cefc1['ui'][_0x4816ca(0x13c)][_0x4816ca(0x19e)](_0x25f050(_0x3cefc1[_0x4816ca(0x132)],_0x4816ca(0x171)));break;}for(const _0x27502e of _0x199bd9)if(mt(_0x27502e)){_0x3cefc1['ui'][_0x4816ca(0x13c)][_0x4816ca(0x19e)](_0x25f050(_0x3cefc1[_0x4816ca(0x132)],_0x4816ca(0x15e),_0x478fc7(_0x432c20)));break;}});}}function dt(_0x987a84,_0x55d67c){return _0x55d67c?_0x987a84+':'+_0x55d67c:_0x987a84;}function ht(_0x337b44,_0x44a2e6){const _0x9ddfba=_0x3f6406,_0x3541f7=_0x44a2e6[_0x9ddfba(0x19f)],_0x5c968e=_0x44a2e6[_0x9ddfba(0x188)](_0x337b44[_0x9ddfba(0x19b)]);for(const _0x4b1899 of _0x337b44[_0x9ddfba(0x141)]()){const {type:_0xe24f94,item:_0x5e9fd7,nextPosition:_0x96fb7}=_0x4b1899;if(_0x9ddfba(0x192)===_0xe24f94||_0x3541f7[_0x9ddfba(0x13f)](_0x5e9fd7)){const _0x7bc573=_0x44a2e6[_0x9ddfba(0x190)](_0x5e9fd7);_0x5c968e[_0x9ddfba(0x148)]&&(_0x5c968e[_0x9ddfba(0x19b)]=_0x7bc573),_0x5c968e[_0x9ddfba(0x130)]=_0x96fb7;}}return _0x5c968e;}function mt(_0x5c8c22){const _0x8bf5f4=_0x3f6406;return _0x8bf5f4(0x1a2)===_0xe00775(_0x5c8c22[_0x8bf5f4(0x164)])[_0x8bf5f4(0x137)];}
|
|
23
|
+
const _0x17e55e=_0x1c84;(function(_0x4d19ea,_0x1c7639){const _0x330fdd=_0x1c84,_0x4a1a59=_0x4d19ea();while(!![]){try{const _0x6a5b8d=parseInt(_0x330fdd(0xfc))/0x1*(-parseInt(_0x330fdd(0x110))/0x2)+-parseInt(_0x330fdd(0x102))/0x3*(-parseInt(_0x330fdd(0xbd))/0x4)+parseInt(_0x330fdd(0x117))/0x5*(-parseInt(_0x330fdd(0x106))/0x6)+parseInt(_0x330fdd(0x121))/0x7*(-parseInt(_0x330fdd(0xc8))/0x8)+-parseInt(_0x330fdd(0xda))/0x9*(parseInt(_0x330fdd(0x101))/0xa)+parseInt(_0x330fdd(0x138))/0xb*(-parseInt(_0x330fdd(0x133))/0xc)+parseInt(_0x330fdd(0xf3))/0xd;if(_0x6a5b8d===_0x1c7639)break;else _0x4a1a59['push'](_0x4a1a59['shift']());}catch(_0x5cb497){_0x4a1a59['push'](_0x4a1a59['shift']());}}}(_0xadc3,0x9e126));import{Plugin as _0x353256}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x4656a6,scrollViewportToShowTarget as _0x2003cc,uid as _0x148a52}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x3d4eee}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x29b057}from'./addcommentthreadcommand.js';function _0x1c84(_0x5b3362,_0x3b9e7e){const _0xadc3d8=_0xadc3();return _0x1c84=function(_0x1c844b,_0x6b607c){_0x1c844b=_0x1c844b-0xba;let _0x5ab307=_0xadc3d8[_0x1c844b];return _0x5ab307;},_0x1c84(_0x5b3362,_0x3b9e7e);}import{surroundingMarkersDetector as _0x507bce,getAllMarkersDomElementsSorted as _0x5cebc7,FOCUS_ANNOTATION_KEYSTROKE as _0x3e00a3,Users as _0x52fd8a}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x56c6c3}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x20e6c1}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x520d19}from'./integrations/importword.js';import{CommentsClipboard as _0x13a01d}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x1466a2}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';function _0xadc3(){const _0x330b75=['dataToMarker','8FAHguP','editor','consume','channelId','_handleInitialThreads','data','addCommentThread','switchReadOnly','getAttribute','isCollapsed','_reconvertMarkers','423608qpoTpc','_initAriaMarkerChangeAnnouncements','once','getAllMarkersForId','hasDomSelection','markerName','openNewCommentThread','hasCommentThread','ENTER_COMMENT_ANNOUNCEMENT','isThreadsLoadingPaused','differ','first','delete','upcast','hasMarkerForId','_handleMarkerAddAndRemove','commands','markerToData','1297557qPKnqC','comment:','fromCharCode','forEach','elementToElement','removeMarker','affectsData','config','getItems','$graveyard','setUnlinkedAt','isResolved','comment','change:activeMarker','createElement','item','change','substring','addMarker:','destroyed','CommentsEditing','scrollToThreadMarker','markerToHighlight','fetchCommentThread','init','42675880nFnEhO','getByInnerView','locale','markers','pluginName','then','dataDowncast','schema','name','1vmvCss','_initializeMarkerConverters','destroy','focus','isEqual','10DiCkNT','211830xQjlRF','join','listenTo','LEAVE_COMMENT_ANNOUNCEMENT','387336tPVmcx','_attachMarkerToThread','_getTextContext','href','editing','consumable','collaboration.channelId','refreshVisibility','length','getCommentThread','1383366iqSbFK','activeMarker','startsWith','createRange','for','low','change:isReadOnly','95lyzKaG','author','size','registerAnnotation','reopenCommentThread','ck-comment-marker--active','createPositionBefore','get','ariaLiveAnnouncer','ignoreResolvedComments','77YBCdJJ','isPremiumPlugin','_threadToController','announce','requires','conversion','plugins','model','resolveCommentThread','setContext','rootName','updateMarker','clear','$textProxy','managedUsingOperations','add','ready','reconvertMarker','36lRfYkq','end','_threads','getWalker','$marker','482669coWtQY','showCommentHighlights','enqueueChange','_detachCommentThread','context','getRange','isObject','map','state','addComment','document','ck-comment-marker','text','isOfficialPlugin','group','set','filter','editingDowncast','getCommentThreads','push','render','_getTargetForId','removeMarker:','isSubmitted','change:isThreadsLoadingPaused','view','comments','start','registerPostFixer','_attachArchivedThread','isAttached','from','_handleThreadMarker','hasContent','newRange','afterInit','root','unlinkedAt','getChangedMarkers','remove','removeCommentThread','attachTo','_hasTargetInContent'];_0xadc3=function(){return _0x330b75;};return _0xadc3();}import{Annotations as _0x2e42cd}from'../annotations/annotations.js';import{getTranslation as _0x1c301c}from'../utils/common-translations.js';import{splitMarkerName as _0xb0271f}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x353256{static get[_0x17e55e(0x125)](){return[_0x3d4eee,_0x56c6c3,_0x52fd8a,_0x20e6c1,_0x520d19,_0x13a01d,_0x1466a2];}static get[_0x17e55e(0xf7)](){const _0xf78d77=_0x17e55e;return _0xf78d77(0xee);}static get[_0x17e55e(0x145)](){return!0x0;}static get[_0x17e55e(0x122)](){return!0x0;}constructor(_0x26027d){const _0x41a84c=_0x17e55e;super(_0x26027d),this[_0x41a84c(0x147)](_0x41a84c(0xd1),!0x0),_0x26027d[_0x41a84c(0xc2)][_0x41a84c(0xca)](_0x41a84c(0x131),()=>this[_0x41a84c(0xd1)]=!0x1),this[_0x41a84c(0x147)](_0x41a84c(0x111),null),this['on'](_0x41a84c(0xe7),(_0x55aecc,_0x113f86,_0x1fd772,_0x2b31ba)=>{const _0x40e396=_0x41a84c,_0x11f735=_0x26027d[_0x40e396(0x127)][_0x40e396(0x11e)](_0x3d4eee),_0x3cd4db=_0x1fd772?_0xb0271f(_0x1fd772)['id']:null;_0x26027d[_0x40e396(0x128)][_0x40e396(0xea)](()=>{const _0x3bb043=_0x40e396;if(_0x3cd4db){const _0x5edc67=this[_0x3bb043(0xcb)](_0x3cd4db);for(const _0x36ecb5 of _0x5edc67)_0x26027d[_0x3bb043(0x10a)][_0x3bb043(0x132)](_0x36ecb5);}if(_0x2b31ba){const {id:_0x2ab33d}=_0xb0271f(_0x2b31ba),_0x535f21=_0x11f735[_0x3bb043(0x10f)](_0x2ab33d);if(_0x535f21&&_0x535f21[_0x3bb043(0x15d)])return;if(_0x535f21&&!_0x535f21[_0x3bb043(0x156)])return;const _0x53de83=this[_0x3bb043(0xcb)](_0x2ab33d);for(const _0x5839ae of _0x53de83)_0x26027d[_0x3bb043(0x10a)][_0x3bb043(0x132)](_0x5839ae);}}),_0x3cd4db&&this[_0x40e396(0xef)](_0x3cd4db);}),this[_0x41a84c(0xc9)]();}[_0x17e55e(0xf2)](){const _0x1a4306=_0x17e55e,_0x31786b=this[_0x1a4306(0xbe)],_0x4dd671=_0x31786b[_0x1a4306(0x127)][_0x1a4306(0x11e)](_0x3d4eee),_0x5dee7d=_0x31786b[_0x1a4306(0xe1)][_0x1a4306(0x11e)](_0x1a4306(0x10c)),_0x41fe1a=_0x4dd671[_0x1a4306(0x14a)]()[_0x1a4306(0x148)](_0x51b7ea=>_0x51b7ea[_0x1a4306(0xc0)]!==_0x5dee7d);_0x31786b[_0x1a4306(0xd8)][_0x1a4306(0x130)](_0x1a4306(0xc3),new _0x29b057(_0x31786b)),this[_0x1a4306(0x104)](_0x31786b,_0x1a4306(0x116),(_0x4adbeb,_0x420c1a,_0x2f02e0)=>{const _0x3599ea=_0x1a4306;_0x4dd671[_0x3599ea(0xc4)](_0x2f02e0,_0x31786b[_0x3599ea(0xe1)][_0x3599ea(0x11e)](_0x3599ea(0x10c)));}),this[_0x1a4306(0x104)](_0x4dd671,dt(_0x1a4306(0xc3),_0x5dee7d),(_0x916dfb,{threadId:_0xd73741})=>{const _0xd9335=_0x1a4306,_0x2752cd=this[_0xd9335(0xbe)][_0xd9335(0x127)][_0xd9335(0x11e)](_0x3d4eee)[_0xd9335(0x10f)](_0xd73741);_0x2752cd?.[_0xd9335(0x15d)]&&this[_0xd9335(0x155)](_0xd73741);}),this[_0x1a4306(0x104)](_0x4dd671,dt(_0x1a4306(0x160),_0x5dee7d),(_0x1511c1,{threadId:_0x464f94})=>{const _0x4d459e=_0x1a4306;_0x31786b[_0x4d459e(0x128)][_0x4d459e(0x13a)]({'isUndoable':!0x1},_0x111871=>{const _0x33d197=_0x4d459e,_0x5c47bb=this[_0x33d197(0xcb)](_0x464f94);for(const _0xe7c1b8 of _0x5c47bb)_0x111871[_0x33d197(0xdf)](_0xe7c1b8);});}),this[_0x1a4306(0x104)](_0x4dd671,dt(_0x1a4306(0x129),_0x5dee7d),(_0x21d572,{threadId:_0xc9bebb})=>{const _0x14cd92=_0x1a4306;(this[_0x14cd92(0xc7)](_0xc9bebb),this[_0x14cd92(0xbe)][_0x14cd92(0x10a)][_0x14cd92(0x151)][_0x14cd92(0xcc)])&&(this[_0x14cd92(0xbe)][_0x14cd92(0x127)][_0x14cd92(0x11e)](_0x3d4eee)[_0x14cd92(0x10f)](_0xc9bebb)[_0x14cd92(0x15d)]||this[_0x14cd92(0xbe)][_0x14cd92(0x10a)][_0x14cd92(0x151)][_0x14cd92(0xff)]());},{'priority':_0x1a4306(0x115)}),this[_0x1a4306(0x104)](_0x4dd671,dt(_0x1a4306(0x11b),_0x5dee7d),(_0x880920,{threadId:_0x5c0a14})=>{const _0x3db3ea=_0x1a4306;this[_0x3db3ea(0xc7)](_0x5c0a14);},{'priority':_0x1a4306(0x115)}),this[_0x1a4306(0x104)](_0x4dd671,dt(_0x1a4306(0x141),_0x5dee7d),(_0x4951ac,{threadId:_0x30afc9,isFromAdapter:_0x251e12})=>{const _0x3d26bd=_0x1a4306,_0x29e762=this[_0x3d26bd(0xcb)](_0x30afc9);if(_0x251e12||0x0==_0x29e762[_0x3d26bd(0x10e)]||!_0x4dd671[_0x3d26bd(0xcf)](_0x30afc9))return;0x1===_0x4dd671[_0x3d26bd(0x10f)](_0x30afc9)[_0x3d26bd(0x10e)]&&_0x31786b[_0x3d26bd(0x128)][_0x3d26bd(0x13a)]({'isUndoable':!0x1},_0x29821e=>{const _0x454c1a=_0x3d26bd;for(const _0x3490f9 of _0x29e762)_0x29821e[_0x454c1a(0x12c)](_0x3490f9,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x1a4306(0x115)}),this[_0x1a4306(0xfd)](),this[_0x1a4306(0xd7)](),this[_0x1a4306(0xc1)](_0x41fe1a);}[_0x17e55e(0x15b)](){!async function(_0x24c65f){const _0x1ca2cb=_0x406a4e([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]),_0x52044e=0x73460ab3,_0x55babd=0x73418bdb^_0x52044e,_0x220d96=window[_0x406a4e([0x44,0x61,0x74,0x65])][_0x406a4e([0x6e,0x6f,0x77])](),_0x23feb8=_0x24c65f[_0x406a4e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x26207d=new window[(_0x406a4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fad45=>{_0x23feb8[_0x406a4e([0x6f,0x6e,0x63,0x65])](_0x406a4e([0x72,0x65,0x61,0x64,0x79]),_0x2fad45);}),_0x5b6ac6={[_0x406a4e([0x6b,0x74,0x79])]:_0x406a4e([0x45,0x43]),[_0x406a4e([0x75,0x73,0x65])]:_0x406a4e([0x73,0x69,0x67]),[_0x406a4e([0x63,0x72,0x76])]:_0x406a4e([0x50,0x2d,0x32,0x35,0x36]),[_0x406a4e([0x78])]:_0x406a4e([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]),[_0x406a4e([0x79])]:_0x406a4e([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]),[_0x406a4e([0x61,0x6c,0x67])]:_0x406a4e([0x45,0x53,0x32,0x35,0x36])},_0x950e1f=_0x23feb8[_0x406a4e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x406a4e([0x67,0x65,0x74])](_0x406a4e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x153e9a(){let _0x384cbf,_0x4283c6=null,_0x58a61f=null;try{if(_0x950e1f==_0x406a4e([0x47,0x50,0x4c]))return _0x406a4e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x384cbf=_0x5acad7(),!_0x384cbf)return _0x406a4e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x384cbf[_0x406a4e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x58a61f=_0x4535c8(_0x384cbf[_0x406a4e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x384cbf[_0x406a4e([0x6a,0x74,0x69])])),await _0x2fc5ad()?_0x114d77()?_0x4b5f4b()?_0x406a4e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x16b0e5()?(_0x384cbf[_0x406a4e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x406a4e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4283c6=_0x5d349c(_0x406a4e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4f7ed8()):_0x406a4e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x406a4e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x406a4e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x406a4e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4b5f4b(){const _0xe7a035=[_0x406a4e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x406a4e([0x74,0x72,0x69,0x61,0x6c])][_0x406a4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x384cbf[_0x406a4e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x220d96/0x3e8:0xe10*_0x55babd;return _0x384cbf[_0x406a4e([0x65,0x78,0x70])]<_0xe7a035;}function _0x114d77(){const _0x5c8ae2=_0x384cbf[_0x406a4e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5c8ae2)return!0x1;if(_0x5c8ae2[_0x406a4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x406a4e([0x2a])))return!0x0;if(_0x5c8ae2[_0x406a4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x406a4e([0x43,0x4d,0x54])))return!0x0;if(_0x5c8ae2[_0x406a4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x406a4e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x4cabed())return!0x0;if(_0x5c8ae2[_0x406a4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x406a4e([0x52,0x43,0x4d,0x54]))){if(_0x1d334f())return!0x0;if(_0x1af8bd()||_0x172488())return!0x0;}return!0x1;}function _0x16b0e5(){const _0x3484d5=_0x1c84,_0x4ca4ed=_0x384cbf[_0x406a4e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4ca4ed||0x0==_0x4ca4ed[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x211ef4}=new URL(window[_0x406a4e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3484d5(0x109)]);if(_0x4ca4ed[_0x406a4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x211ef4))return!0x0;const _0x463a3e=_0x211ef4[_0x406a4e([0x73,0x70,0x6c,0x69,0x74])](_0x406a4e([0x2e]));return _0x4ca4ed[_0x406a4e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f9cb4=>_0x1f9cb4[_0x406a4e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x406a4e([0x2a])))[_0x406a4e([0x6d,0x61,0x70])](_0x4a1aeb=>_0x4a1aeb[_0x406a4e([0x73,0x70,0x6c,0x69,0x74])](_0x406a4e([0x2e])))[_0x406a4e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40bafe=>_0x40bafe[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x463a3e[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x406a4e([0x6d,0x61,0x70])](_0x173f67=>Array(_0x463a3e[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x173f67[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x406a4e([0x66,0x69,0x6c,0x6c])](_0x173f67[0x0]===_0x406a4e([0x2a])?_0x406a4e([0x2a]):'')[_0x406a4e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x173f67))[_0x406a4e([0x73,0x6f,0x6d,0x65])](_0x87cd4e=>_0x463a3e[_0x406a4e([0x65,0x76,0x65,0x72,0x79])]((_0x28e28e,_0x2bec45)=>_0x87cd4e[_0x2bec45]===_0x28e28e||_0x87cd4e[_0x2bec45]===_0x406a4e([0x2a])));}function _0x4f7ed8(){return _0x4283c6&&_0x58a61f?new window[(_0x406a4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59a261,_0xfb346d)=>{_0x4283c6[_0x406a4e([0x74,0x68,0x65,0x6e])](_0x59a261,_0xfb346d),_0x58a61f[_0x406a4e([0x74,0x68,0x65,0x6e])](_0x589e95=>{_0x589e95!=_0x406a4e([0x56,0x61,0x6c,0x69,0x64])&&_0x59a261(_0x589e95);},_0xfb346d);}):_0x4283c6||_0x58a61f||_0x406a4e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4535c8(_0x3d2430,_0x1c12cb){return new window[(_0x406a4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58f4ff=>{if(_0xeb7385())return _0x58f4ff(_0x406a4e([0x56,0x61,0x6c,0x69,0x64]));_0x35b4f1(),_0x23feb8[_0x406a4e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x406a4e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1b3c4f=!0x1;const _0x2c5084=_0x148a52();function _0x51e9a0(_0x18600c){return!!_0x18600c&&(typeof _0x18600c===_0x406a4e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18600c===_0x406a4e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18600c[_0x406a4e([0x74,0x68,0x65,0x6e])]===_0x406a4e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18600c[_0x406a4e([0x63,0x61,0x74,0x63,0x68])]===_0x406a4e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x218cd9(_0x2445d5){_0x1e74be(_0x2445d5)[_0x406a4e([0x74,0x68,0x65,0x6e])](_0xd04e05=>{if(!_0xd04e05||_0xd04e05[_0x406a4e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x406a4e([0x6f,0x6b]))return _0x406a4e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x55f162(_0x3dd4a3(_0x2c5084+_0x1c12cb))!=_0xd04e05[_0x406a4e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x406a4e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x406a4e([0x56,0x61,0x6c,0x69,0x64]);})[_0x406a4e([0x74,0x68,0x65,0x6e])](_0x101ceb=>(_0x237aad(),_0x101ceb),()=>{const _0xb52d24=_0x36c11b();return null==_0xb52d24?(_0x237aad(),_0x406a4e([0x56,0x61,0x6c,0x69,0x64])):_0x406a4e(_0x220d96-_0xb52d24>(0x574a8eb3^_0x52044e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x406a4e([0x74,0x68,0x65,0x6e])](_0x58f4ff)[_0x406a4e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x58f4ff(_0x406a4e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2bceb5=0x7370e433^_0x52044e;function _0x237aad(){const _0x5a4c14=_0x406a4e([0x6c,0x6c,0x63,0x74,0x2d])+_0x55f162(_0x3dd4a3(_0x3d2430)),_0x3ce92c=_0x361b08(_0x55f162(window[_0x406a4e([0x4d,0x61,0x74,0x68])][_0x406a4e([0x63,0x65,0x69,0x6c])](_0x220d96/_0x2bceb5)));window[_0x406a4e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x406a4e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a4c14,_0x3ce92c);}function _0x36c11b(){const _0x2cec5d=_0x406a4e([0x6c,0x6c,0x63,0x74,0x2d])+_0x55f162(_0x3dd4a3(_0x3d2430)),_0x4d40c2=window[_0x406a4e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x406a4e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2cec5d);return _0x4d40c2?window[_0x406a4e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x361b08(_0x4d40c2),0x10)*_0x2bceb5:null;}function _0x1e74be(_0x735dab){return new window[(_0x406a4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f87c9,_0x3983f2)=>{_0x735dab[_0x406a4e([0x74,0x68,0x65,0x6e])](_0x1f87c9,_0x3983f2),window[_0x406a4e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3983f2,0x7347de73^_0x52044e);});}}_0x23feb8[_0x406a4e([0x6f,0x6e])](_0x406a4e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x538c50,_0x42bf0c)=>{if(_0x42bf0c[0x0]!=_0x3d2430)return _0x58f4ff(_0x406a4e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42bf0c[0x1]={..._0x42bf0c[0x1],[_0x406a4e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c5084};},{[_0x406a4e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x406a4e([0x68,0x69,0x67,0x68])}),_0x23feb8[_0x406a4e([0x6f,0x6e])](_0x406a4e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21645d=>{_0x51e9a0(_0x21645d[_0x406a4e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1b3c4f=!0x0,_0x218cd9(_0x21645d[_0x406a4e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x406a4e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x406a4e([0x6c,0x6f,0x77])}),_0x26207d[_0x406a4e([0x74,0x68,0x65,0x6e])](()=>{_0x1b3c4f||_0x58f4ff(_0x406a4e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xeb7385(){return _0x23feb8[_0x406a4e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x406a4e([0x76,0x69,0x65,0x77])][_0x406a4e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x406a4e([0x61,0x75,0x74,0x6f]);}function _0x35b4f1(){_0x23feb8[_0x406a4e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x406a4e([0x76,0x69,0x65,0x77])][_0x406a4e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x406a4e([0x61,0x75,0x74,0x6f]);}}function _0x5d349c(_0x3808ff){const _0x4e48ae=[new window[(_0x406a4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc8eb62=>setTimeout(_0xc8eb62,0x734f347f^_0x52044e)),_0x26207d[_0x406a4e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x406a4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9f9b9f=>{let _0x241f8d=0x0;_0x23feb8[_0x406a4e([0x6d,0x6f,0x64,0x65,0x6c])][_0x406a4e([0x6f,0x6e])](_0x406a4e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x413d35,_0x46d394)=>{_0x46d394[0x0][_0x406a4e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x241f8d++,_0x241f8d==(0x73460f5b^_0x52044e)&&(_0x9f9b9f(),_0x413d35[_0x406a4e([0x6f,0x66,0x66])]());});}))];return window[_0x406a4e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x406a4e([0x72,0x61,0x63,0x65])](_0x4e48ae)[_0x406a4e([0x74,0x68,0x65,0x6e])](()=>_0x3808ff);}async function _0x543d07(){await _0x26207d,_0x23feb8[_0x406a4e([0x6d,0x6f,0x64,0x65,0x6c])][_0x406a4e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x10f0da,_0x23feb8[_0x406a4e([0x6d,0x6f,0x64,0x65,0x6c])][_0x406a4e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x10f0da,_0x23feb8[_0x406a4e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x406a4e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4cabed(){return window[_0x406a4e([0x67,0x6c,0x6f,0x62])]&&window[_0x406a4e([0x67,0x6c,0x6f,0x62])][_0x406a4e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1d334f(){return _0x2219a6(_0x406a4e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x59c763(_0x406a4e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x406a4e([0x73,0x74,0x61,0x74,0x65])]==_0x406a4e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x1af8bd(){return _0x2219a6(_0x406a4e([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 _0x172488(){return _0x2219a6(_0x406a4e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x23ec58(_0x59eb16){const _0x22779a=_0x5a8426();_0x23feb8[_0x22779a]=_0x406a4e([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x59eb16,_0x59eb16!=_0x406a4e([0x56,0x61,0x6c,0x69,0x64])&&_0x543d07();}function _0x5a8426(){const _0x3d6e3d=window[_0x406a4e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x406a4e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x406a4e([0x6e,0x6f,0x77])]())[_0x406a4e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x406a4e([0x2e]),'');let _0xd68f78=_0x406a4e([0x4b]);for(let _0x44392e=0x0;_0x44392e<_0x3d6e3d[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x44392e+=0x2){let _0x2c9508=window[_0x406a4e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d6e3d[_0x406a4e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x44392e,_0x44392e+0x2));_0x2c9508>=_0x1ca2cb[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c9508-=_0x1ca2cb[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd68f78+=_0x1ca2cb[_0x2c9508];}return _0xd68f78;}function _0x5acad7(){const _0x4e7d24=_0x950e1f[_0x406a4e([0x73,0x70,0x6c,0x69,0x74])](_0x406a4e([0x2e]));if(0x3!=_0x4e7d24[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x188991(_0x4e7d24[0x1]);function _0x188991(_0x3dae88){const _0x5e27dc=_0x102a47(_0x3dae88);return _0x5e27dc&&_0x5db205()?_0x5e27dc:null;function _0x5db205(){const _0x41635a=_0x5e27dc[_0x406a4e([0x6a,0x74,0x69])],_0x1cbc35=window[_0x406a4e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41635a[_0x406a4e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x41635a[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x161b0c={..._0x5e27dc,[_0x406a4e([0x6a,0x74,0x69])]:_0x41635a[_0x406a4e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x41635a[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x161b0c[_0x406a4e([0x76,0x63])],_0x3dd4a3(_0x161b0c)==_0x1cbc35;}}}async function _0x2fc5ad(){let _0x2045c3=!0x0;try{const _0x306c2f=_0x950e1f[_0x406a4e([0x73,0x70,0x6c,0x69,0x74])](_0x406a4e([0x2e])),[_0x2993bf,_0x557f0e,_0x28ed77]=_0x306c2f;return _0x5018b2(_0x2993bf),await _0x58064d(_0x2993bf,_0x557f0e,_0x28ed77),_0x2045c3;}catch{return!0x1;}function _0x5018b2(_0x215807){const _0xcefdcf=_0x102a47(_0x215807);_0xcefdcf&&_0xcefdcf[_0x406a4e([0x61,0x6c,0x67])]==_0x406a4e([0x45,0x53,0x32,0x35,0x36])||(_0x2045c3=!0x1);}async function _0x58064d(_0x1fc75a,_0xbb9a73,_0xf40353){const _0x4509fb=window[_0x406a4e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x406a4e([0x66,0x72,0x6f,0x6d])](_0xe518f0(_0xf40353),_0x29841c=>_0x29841c[_0x406a4e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5e85b3=new window[(_0x406a4e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x406a4e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1fc75a+_0x406a4e([0x2e])+_0xbb9a73),_0x565446=window[_0x406a4e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x406a4e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x565446)return;const _0x424078=await _0x565446[_0x406a4e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x406a4e([0x6a,0x77,0x6b]),_0x5b6ac6,{[_0x406a4e([0x6e,0x61,0x6d,0x65])]:_0x406a4e([0x45,0x43,0x44,0x53,0x41]),[_0x406a4e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x406a4e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x406a4e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x565446[_0x406a4e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x406a4e([0x6e,0x61,0x6d,0x65])]:_0x406a4e([0x45,0x43,0x44,0x53,0x41]),[_0x406a4e([0x68,0x61,0x73,0x68])]:{[_0x406a4e([0x6e,0x61,0x6d,0x65])]:_0x406a4e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x424078,_0x4509fb,_0x5e85b3)||(_0x2045c3=!0x1);}}function _0x102a47(_0x32302e){return _0x32302e[_0x406a4e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x406a4e([0x65,0x79]))?JSON[_0x406a4e([0x70,0x61,0x72,0x73,0x65])](_0xe518f0(_0x32302e)):null;}function _0xe518f0(_0x32863b){return window[_0x406a4e([0x61,0x74,0x6f,0x62])](_0x32863b[_0x406a4e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x406a4e([0x2b]))[_0x406a4e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x406a4e([0x2f])));}function _0x3dd4a3(_0x4f19b8){let _0x5549c1=0x1505;function _0x54e598(_0x3504ff){for(let _0x5055db=0x0;_0x5055db<_0x3504ff[_0x406a4e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5055db++){const _0x5e6471=_0x3504ff[_0x406a4e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5055db);_0x5549c1=(_0x5549c1<<0x5)+_0x5549c1+_0x5e6471,_0x5549c1&=_0x5549c1;}}function _0x4092c3(_0x2b1803){Array[_0x406a4e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2b1803)?_0x2b1803[_0x406a4e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4092c3):_0x2b1803&&typeof _0x2b1803==_0x406a4e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x406a4e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2b1803)[_0x406a4e([0x73,0x6f,0x72,0x74])]()[_0x406a4e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x46efa7,_0x23ba85])=>{_0x54e598(_0x46efa7),_0x4092c3(_0x23ba85);}):_0x54e598(window[_0x406a4e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2b1803));}return _0x4092c3(_0x4f19b8),_0x5549c1>>>0x0;}function _0x55f162(_0x570be8){return _0x570be8[_0x406a4e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x406a4e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x406a4e([0x30]));}function _0x361b08(_0x14d7f4){return _0x14d7f4[_0x406a4e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x406a4e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x406a4e([0x6a,0x6f,0x69,0x6e])]('');}function _0x2219a6(_0x1a7f2e){return _0x23feb8[_0x406a4e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x406a4e([0x68,0x61,0x73])](_0x1a7f2e);}function _0x59c763(_0x456d23){return _0x23feb8[_0x406a4e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x406a4e([0x67,0x65,0x74])](_0x456d23);}function _0x10f0da(){}function _0x406a4e(_0x35b98e){const _0x1a93e1=_0x1c84;return _0x35b98e[_0x1a93e1(0x13f)](_0x1e4eb2=>String[_0x1a93e1(0xdc)](_0x1e4eb2))[_0x1a93e1(0x103)]('');}_0x23ec58(await _0x153e9a());}(this);}[_0x17e55e(0xfe)](){const _0x1c122f=_0x17e55e,_0x41aaa8=this[_0x1c122f(0xbe)][_0x1c122f(0x127)][_0x1c122f(0x11e)](_0x3d4eee),_0x111d9a=this[_0x1c122f(0xbe)][_0x1c122f(0xe1)][_0x1c122f(0x11e)](_0x1c122f(0x10c));for(const _0x29337a of _0x41aaa8[_0x1c122f(0x14a)]({'channelId':_0x111d9a}))_0x41aaa8[_0x1c122f(0x13b)](_0x29337a['id']),_0x41aaa8[_0x1c122f(0x135)][_0x1c122f(0xd4)](_0x29337a['id']);super[_0x1c122f(0xfe)]();}[_0x17e55e(0xd6)](_0x34fed0){const _0x3182c8=_0x17e55e;return this[_0x3182c8(0xcb)](_0x34fed0)[_0x3182c8(0x10e)]>0x0;}[_0x17e55e(0xcb)](_0x551690){const _0x285943=_0x17e55e,_0x5b201b=[];for(const _0x16b121 of this[_0x285943(0xbe)][_0x285943(0x128)][_0x285943(0xf6)])_0x16b121[_0x285943(0xfb)][_0x285943(0x112)](_0x285943(0xdb)+_0x551690)&&_0x5b201b[_0x285943(0x14b)](_0x16b121);return _0x5b201b;}[_0x17e55e(0xef)](_0x5ec342){setTimeout(()=>{const _0x428ff4=_0x1c84,_0x18c9fa=this[_0x428ff4(0x14d)](_0x5ec342);if(!_0x18c9fa)return;this[_0x428ff4(0x111)]&&_0xb0271f(this[_0x428ff4(0x111)])['id']===_0x5ec342&&_0x2003cc({'target':_0x18c9fa[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x17e55e(0xc7)](_0x78fb37){const _0x4c58c1=_0x17e55e;this[_0x4c58c1(0xbe)][_0x4c58c1(0x128)][_0x4c58c1(0xea)](()=>{const _0xb6ea17=_0x4c58c1;for(const _0x13cbe4 of this[_0xb6ea17(0xcb)](_0x78fb37))this[_0xb6ea17(0xbe)][_0xb6ea17(0x10a)][_0xb6ea17(0x132)](_0x13cbe4);});}[_0x17e55e(0x155)](_0x455228){const _0x59e3fb=_0x17e55e,_0x4e1b34=this[_0x59e3fb(0xbe)][_0x59e3fb(0x127)][_0x59e3fb(0x11e)](_0x3d4eee),_0x5436a6=this[_0x59e3fb(0xbe)][_0x59e3fb(0x127)][_0x59e3fb(0x11e)](_0x56c6c3),_0xb44485=_0x4e1b34[_0x59e3fb(0x10f)](_0x455228);if(!_0xb44485[_0x59e3fb(0x156)]){const _0x473dad=_0xb44485[_0x59e3fb(0xba)](()=>this[_0x59e3fb(0x14d)](_0xb44485['id']));_0x5436a6[_0x59e3fb(0x11a)](_0x473dad),_0xb44485[_0x59e3fb(0xbb)]=!0x1;}}[_0x17e55e(0xfd)](){const _0x42bc6e=_0x17e55e,_0x5a6fa6=this[_0x42bc6e(0xbe)],_0x5d0778=_0x5a6fa6[_0x42bc6e(0x127)][_0x42bc6e(0x11e)](_0x52fd8a);_0x5a6fa6[_0x42bc6e(0x126)][_0x42bc6e(0x114)](_0x42bc6e(0x149))[_0x42bc6e(0xf0)]({'model':_0x42bc6e(0xe6),'view':(_0x57ce2f,_0x265eb1)=>{const _0x4e8135=_0x42bc6e,{id:_0x557e51}=_0xb0271f(_0x57ce2f[_0x4e8135(0xcd)]),_0x5ea325=_0x5a6fa6[_0x4e8135(0x127)][_0x4e8135(0x11e)](_0x3d4eee)[_0x4e8135(0x10f)](_0x557e51),_0x4a5bf8=this[_0x4e8135(0x111)]&&_0xb0271f(this[_0x4e8135(0x111)])['id']===_0x557e51;let _0x25c644;if(_0x5ea325&&_0x5ea325[_0x4e8135(0xe5)]&&!_0x4a5bf8&&_0x57ce2f[_0x4e8135(0xe9)])return _0x265eb1[_0x4e8135(0x10b)][_0x4e8135(0xbf)](_0x57ce2f[_0x4e8135(0xe9)],_0x4e8135(0xec)+_0x57ce2f[_0x4e8135(0xcd)]),_0x265eb1[_0x4e8135(0x10b)][_0x4e8135(0xbf)](_0x57ce2f[_0x4e8135(0xe9)],_0x4e8135(0x14e)+_0x57ce2f[_0x4e8135(0xcd)]),null;const _0x4cda9f=[_0x4e8135(0x143)];return _0x4a5bf8&&_0x4cda9f[_0x4e8135(0x14b)](_0x4e8135(0x11c)),_0x25c644=_0x5ea325?.[_0x4e8135(0x10e)]?_0x5ea325[_0x4e8135(0x152)][_0x4e8135(0xd3)][_0x4e8135(0x118)]['id']:_0x5d0778['me']['id'],{'classes':_0x4cda9f,'attributes':{'data-comment':_0x557e51,'data-author-id':_0x25c644}};}}),_0x5a6fa6[_0x42bc6e(0x126)][_0x42bc6e(0x114)](_0x42bc6e(0xf9))[_0x42bc6e(0xd9)]({'model':_0x42bc6e(0xe6),'view':(_0x4eee8e,{options:_0x42a207})=>{const _0x4776af=_0x42bc6e;if(_0x42a207[_0x4776af(0x139)])return null;const _0x54779a=_0x5a6fa6[_0x4776af(0x127)][_0x4776af(0x11e)](_0x3d4eee),_0x16e7f5=_0x5a6fa6[_0x4776af(0x128)][_0x4776af(0xf6)][_0x4776af(0x11e)](_0x4eee8e),{id:_0x34e139,part:_0x5000c9}=_0xb0271f(_0x4eee8e);return _0x16e7f5&&!_0x16e7f5[_0x4776af(0xe0)]||_0x42a207[_0x4776af(0x120)]&&_0x54779a[_0x4776af(0x10f)](_0x34e139)?.[_0x4776af(0xe5)]?null:{'group':_0x4776af(0xe6),'name':_0x5000c9?_0x34e139+':'+_0x5000c9:_0x34e139};}}),_0x5a6fa6[_0x42bc6e(0x126)][_0x42bc6e(0x114)](_0x42bc6e(0xd5))[_0x42bc6e(0xde)]({'view':{'name':_0x42bc6e(0xe6),'attributes':{'id':/^\w/}},'model':(_0x4b7886,{writer:_0x4b3d0b})=>_0x4b3d0b[_0x42bc6e(0xe8)](_0x42bc6e(0x137),{'data-name':_0x42bc6e(0xdb)+_0x4b7886[_0x42bc6e(0xc5)]('id')})}),_0x5a6fa6[_0x42bc6e(0x126)][_0x42bc6e(0x114)](_0x42bc6e(0xd5))[_0x42bc6e(0xbc)]({'view':_0x42bc6e(0xe6)});}[_0x17e55e(0xd7)](){const _0xde09b5=_0x17e55e,_0x3b31d9=this[_0xde09b5(0xbe)],_0xe6863d=_0x3b31d9[_0xde09b5(0x127)][_0xde09b5(0x11e)](_0x3d4eee),_0x343506=new Set(),_0x3c925b=new Set();_0x3b31d9[_0xde09b5(0x128)][_0xde09b5(0x142)][_0xde09b5(0x154)](_0x5132a0=>{const _0x13025e=_0xde09b5;let _0x1ff534=!0x1;for(const {name:_0x228377,data:_0x234eb7}of _0x3b31d9[_0x13025e(0x128)][_0x13025e(0x142)][_0x13025e(0xd2)][_0x13025e(0x15e)]()){const {group:_0x530f1b,id:_0x284f72}=_0xb0271f(_0x228377);let _0x18b285=_0x234eb7[_0x13025e(0x15a)];if(_0x13025e(0xe6)!==_0x530f1b||!_0x18b285)continue;const _0x416646=_0x13025e(0xe3)===_0x18b285[_0x13025e(0x15c)][_0x13025e(0x12b)];_0x416646||(_0x18b285=ht(_0x18b285,_0x3b31d9[_0x13025e(0x128)]),!_0x18b285||_0x18b285[_0x13025e(0xc6)]||!_0x234eb7[_0x13025e(0x15a)]||_0x18b285[_0x13025e(0x100)](_0x234eb7[_0x13025e(0x15a)]))?_0x3b31d9[_0x13025e(0x128)][_0x13025e(0x159)](_0x18b285)&&!_0x416646?this[_0x13025e(0xd1)]?_0x343506[_0x13025e(0x130)](_0x228377):this[_0x13025e(0x158)](_0x228377,_0x284f72):(_0x3c925b[_0x13025e(0x130)](_0x228377),_0x343506[_0x13025e(0xd4)](_0x228377),_0x5132a0[_0x13025e(0xdf)](_0x228377),_0x1ff534=!0x0):(_0x5132a0[_0x13025e(0x12c)](_0x228377,{'range':_0x18b285}),_0x1ff534=!0x0);}return _0x1ff534;}),this['on'](_0xde09b5(0x150),(_0x30ef75,_0x12b621,_0x31b1eb)=>{const _0xc27c47=_0xde09b5;if(!_0x31b1eb&&_0x343506[_0xc27c47(0x119)])for(const _0x464dea of _0x343506){const {id:_0xcc4752}=_0xb0271f(_0x464dea);_0x343506[_0xc27c47(0xd4)](_0x464dea),_0x3b31d9[_0xc27c47(0x128)][_0xc27c47(0xf6)][_0xc27c47(0x11e)](_0x464dea)&&this[_0xc27c47(0x158)](_0x464dea,_0xcc4752);}}),this[_0xde09b5(0x104)](_0x3b31d9[_0xde09b5(0x128)][_0xde09b5(0x142)],_0xde09b5(0xea),()=>{const _0xf8a920=_0xde09b5;for(const {name:_0x269e5a,data:{newRange:_0x3eb21f}}of _0x3b31d9[_0xf8a920(0x128)][_0xf8a920(0x142)][_0xf8a920(0xd2)][_0xf8a920(0x15e)]()){const {group:_0x3ce799,id:_0x1c6d98}=_0xb0271f(_0x269e5a);if(_0xf8a920(0xe6)!==_0x3ce799)continue;const _0x5bf8ff=_0xe6863d[_0xf8a920(0x10f)](_0x1c6d98),_0x3a68c0=this[_0xf8a920(0xd6)](_0x1c6d98);_0x5bf8ff&&(!_0x5bf8ff[_0xf8a920(0xbb)]&&_0x3eb21f&&_0x3b31d9[_0xf8a920(0x10a)][_0xf8a920(0x151)][_0xf8a920(0xca)](_0xf8a920(0x14c),()=>{const _0xc2a0d5=_0xf8a920,_0x37d30d=_0x3b31d9[_0xc2a0d5(0x127)][_0xc2a0d5(0x11e)](_0x2e42cd),_0x1987af=_0xe6863d[_0xc2a0d5(0x123)][_0xc2a0d5(0x11e)](_0x5bf8ff)[_0xc2a0d5(0x151)];_0x37d30d[_0xc2a0d5(0xf4)](_0x1987af)[_0xc2a0d5(0x10d)]();},{'priority':_0xf8a920(0x115)}),_0x5bf8ff[_0xf8a920(0xbb)]=_0x3a68c0||!!_0x3eb21f),_0x3eb21f||(_0x3c925b[_0xf8a920(0x130)](_0x269e5a),_0x343506[_0xf8a920(0xd4)](_0x269e5a));}for(const _0x19818c of _0x3c925b){const {id:_0x4dcf2f}=_0xb0271f(_0x19818c),_0xac7c98=_0xe6863d[_0xf8a920(0x10f)](_0x4dcf2f);if(_0x343506[_0xf8a920(0xd4)](_0x19818c),!_0xac7c98)continue;const _0x31692d=this[_0xf8a920(0xd6)](_0x4dcf2f);_0x31692d||_0xac7c98[_0xf8a920(0x14f)]?_0x31692d||_0xac7c98[_0xf8a920(0x15d)]||_0xac7c98[_0xf8a920(0xe4)](new Date()):_0xac7c98[_0xf8a920(0x15f)]();}_0x3c925b[_0xf8a920(0x12d)]();});}[_0x17e55e(0xc1)](_0x27d080){const _0x52cb5b=_0x17e55e;_0x27d080[_0x52cb5b(0xdd)](_0x9edbc7=>{const _0x45df0c=_0x52cb5b;_0x9edbc7[_0x45df0c(0x15d)]&&this[_0x45df0c(0x155)](_0x9edbc7['id']);});}[_0x17e55e(0x14d)](_0x4e1811){const _0x4fe801=_0x17e55e,_0x420a55=this[_0x4fe801(0xbe)],_0x165db7=this[_0x4fe801(0xcb)](_0x4e1811);return _0x5cebc7(_0x420a55[_0x4fe801(0x10a)],_0x165db7);}[_0x17e55e(0x108)](_0xb86274){const _0x225bbe=_0x17e55e,_0x585aa3=this[_0x225bbe(0xcb)](_0xb86274);let _0x5a9ce2='',_0x366470=!0x1;for(const _0x4e02f9 of _0x585aa3){const _0x47917c=_0x4e02f9[_0x225bbe(0x13d)]();for(const _0x25f8c0 of Array[_0x225bbe(0x157)](_0x47917c[_0x225bbe(0xe2)]()))_0x25f8c0['is'](_0x225bbe(0x12e))?(_0x5a9ce2&&_0x366470&&(_0x5a9ce2+='\x20',_0x366470=!0x1),_0x5a9ce2+=_0x25f8c0[_0x225bbe(0xc2)]):_0x366470=!0x0;_0x366470=!0x0;}return _0x5a9ce2[_0x225bbe(0xeb)](0x0,0x96);}[_0x17e55e(0x107)](_0x56ba23,_0xf7105d){const _0x257633=_0x17e55e,_0x20354d=this[_0x257633(0xbe)],_0x4cf0b8=_0x20354d[_0x257633(0x127)][_0x257633(0x11e)](_0x3d4eee);let _0x3d14f2=_0x4cf0b8[_0x257633(0x10f)](_0xf7105d);const _0xe26f03=_0x20354d[_0x257633(0xe1)][_0x257633(0x11e)](_0x257633(0x10c)),_0x16a18b=_0x20354d[_0x257633(0x127)][_0x257633(0x11e)](_0x56c6c3);if(_0x3d14f2&&(_0x3d14f2[_0x257633(0x15d)]&&_0x3d14f2[_0x257633(0xe4)](null),_0x3d14f2[_0x257633(0x156)]))return _0x3d14f2;return!this[_0x257633(0xcb)](_0xf7105d)[0x0][_0x257633(0x12f)]?_0x20354d[_0x257633(0x10a)][_0x257633(0x151)][_0x257633(0xca)](_0x257633(0x14c),()=>{const _0x5a6996=_0x257633;if(_0x4cf0b8[_0x5a6996(0x10f)](_0xf7105d))return;const _0x538b31=_0x20354d[_0x5a6996(0x127)][_0x5a6996(0x11e)](_0x2e42cd);_0x3d14f2=_0x4cf0b8[_0x5a6996(0xce)]({'channelId':_0xe26f03,'threadId':_0xf7105d,'target':()=>this[_0x5a6996(0x14d)](_0xf7105d),'context':{'type':_0x5a6996(0x144),'value':this[_0x5a6996(0x108)](_0xf7105d)}});const _0xf7b6ac=_0x4cf0b8[_0x5a6996(0x123)][_0x5a6996(0x11e)](_0x3d14f2)[_0x5a6996(0x151)],_0x1a78d1=_0x538b31[_0x5a6996(0xf4)](_0xf7b6ac);_0x1a78d1&&_0x16a18b[_0x5a6996(0x11a)](_0x1a78d1);},{'priority':_0x257633(0x115)}):_0x4cf0b8[_0x257633(0xf1)]({'channelId':_0xe26f03,'threadId':_0xf7105d})[_0x257633(0xf8)](_0x3fef3d=>{const _0x21098f=_0x257633;if(_0x21098f(0xed)!==_0x20354d[_0x21098f(0x140)]){if(_0x3d14f2=_0x3fef3d,_0x3d14f2&&!_0x3d14f2[_0x21098f(0x156)]){const _0x14da06=_0x3d14f2[_0x21098f(0xba)](()=>this[_0x21098f(0x14d)](_0xf7105d));_0x16a18b[_0x21098f(0x11a)](_0x14da06),_0x3d14f2[_0x21098f(0xe5)]&&this[_0x21098f(0xc7)](_0xf7105d);}else{if(!_0x3d14f2){const _0x38f4bb=this[_0x21098f(0xcb)](_0xf7105d);_0x20354d[_0x21098f(0x128)][_0x21098f(0xea)](_0x3f6476=>{const _0x3220bf=_0x21098f;for(const _0x1fadcc of _0x38f4bb)_0x3f6476[_0x3220bf(0xdf)](_0x1fadcc);});}}}}),_0x3d14f2;}[_0x17e55e(0x158)](_0x349e1f,_0x4c7a20){const _0x3e957c=_0x17e55e,_0x48eea0=this[_0x3e957c(0x107)](_0x349e1f,_0x4c7a20);_0x48eea0&&!_0x48eea0[_0x3e957c(0x13c)]&&_0x48eea0[_0x3e957c(0x12a)]({'type':_0x3e957c(0x144),'value':this[_0x3e957c(0x108)](_0x4c7a20)});}[_0x17e55e(0xc9)](){const _0x1ee07a=_0x17e55e,_0x26c2cb=this[_0x1ee07a(0xbe)];_0x507bce(_0x26c2cb[_0x1ee07a(0x128)],({left:_0xf51825,entered:_0x50f1f0})=>{const _0x4ab5f=_0x1ee07a;for(const _0x42d2ec of _0xf51825)if(mt(_0x42d2ec)){_0x26c2cb['ui'][_0x4ab5f(0x11f)][_0x4ab5f(0x124)](_0x1c301c(_0x26c2cb[_0x4ab5f(0xf5)],_0x4ab5f(0x105)));break;}for(const _0xcd197f of _0x50f1f0)if(mt(_0xcd197f)){_0x26c2cb['ui'][_0x4ab5f(0x11f)][_0x4ab5f(0x124)](_0x1c301c(_0x26c2cb[_0x4ab5f(0xf5)],_0x4ab5f(0xd0),_0x4656a6(_0x3e00a3)));break;}});}}function dt(_0x49e6ba,_0x2efbeb){return _0x2efbeb?_0x49e6ba+':'+_0x2efbeb:_0x49e6ba;}function ht(_0x27b6ce,_0x46919){const _0x2e6481=_0x17e55e,_0x7eaf95=_0x46919[_0x2e6481(0xfa)],_0x12bf7a=_0x46919[_0x2e6481(0x113)](_0x27b6ce[_0x2e6481(0x153)]);for(const _0x19079e of _0x27b6ce[_0x2e6481(0x136)]()){const {type:_0x97fa52,item:_0x1d6a03,nextPosition:_0x1a8737}=_0x19079e;if(_0x2e6481(0x144)===_0x97fa52||_0x7eaf95[_0x2e6481(0x13e)](_0x1d6a03)){const _0x449e62=_0x46919[_0x2e6481(0x11d)](_0x1d6a03);_0x12bf7a[_0x2e6481(0xc6)]&&(_0x12bf7a[_0x2e6481(0x153)]=_0x449e62),_0x12bf7a[_0x2e6481(0x134)]=_0x1a8737;}}return _0x12bf7a;}function mt(_0x3ec300){const _0x923cfd=_0x17e55e;return _0x923cfd(0xe6)===_0xb0271f(_0x3ec300[_0x923cfd(0xfb)])[_0x923cfd(0x146)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x4132e3=_0x3b38;(function(_0x215aa2,_0x4d5d1e){const _0x3cae1a=_0x3b38,_0x3e189a=_0x215aa2();while(!![]){try{const _0x25b22b=-parseInt(_0x3cae1a(0x234))/0x1+-parseInt(_0x3cae1a(0x218))/0x2+parseInt(_0x3cae1a(0x20f))/0x3+parseInt(_0x3cae1a(0x291))/0x4+-parseInt(_0x3cae1a(0x29b))/0x5*(-parseInt(_0x3cae1a(0x264))/0x6)+-parseInt(_0x3cae1a(0x226))/0x7+-parseInt(_0x3cae1a(0x270))/0x8*(-parseInt(_0x3cae1a(0x231))/0x9);if(_0x25b22b===_0x4d5d1e)break;else _0x3e189a['push'](_0x3e189a['shift']());}catch(_0x3d2e34){_0x3e189a['push'](_0x3e189a['shift']());}}}(_0x37e0,0x68928));import{PendingActions as _0x1ab0ba,ContextPlugin as _0x552d6a,Editor as _0x9809a1}from'ckeditor5/src/core.js';function _0x37e0(){const _0x4d0aed=['addUser','find','comments.maxCommentCharsWhenCollapsed','resolveCommentThread','commentsrepository-reopen-comment-thread-internal-error','_detachCommentThread','bodyCollectionContainer','submitCommentThread','1931876jPYTPk','plugins','_attachCommentThread','isSubmitted','commentsrepository-invalid-commentid','has','getTime','isPremiumPlugin','authorName','getCommentThread','792905WZmSXO','_addComment','comments.editorConfig','_updateActiveAnnotation','textContent','lowest','threadId','CommentsRepository','pluginName','deactivateAll','archivedAt','removeComment','commentInputView','once','isFromAdapter','channelId','bind','delete','listenTo','editorDestroyed','then','model','_repository','toJSON','catch','write','_findOptimalIndex','isResolvable','_unbindEditors','remove','CommentView','getPermissions','addCommentThread','_addCommentThread','init','set','change:_permissions','_removeCommentThread','resolvedBy','editorReady','commentsrepository-update-missing-comment','_bindAnnotationToEditors','PENDING_ACTION_COMMENT_THREAD','attachTo','commentsrepository-reopen-comment-thread','focus','content','length','body','_getExternalAuthor','filter','comments.maxCommentsWhenCollapsed','_submitCommentThread','isReadOnly','innerView','external:','_isSubmitted','map','comments.copyMarkers','commentsrepository-invalid-comment-thread-id','define','commentsrepository-missing-thread-and-adapter-method','commentId','_update','_threadToController','commentsrepository-update-comment-internal-error','change:isDirty','modifyAll','config','comments.CommentView','resolvedAt','commentsrepository-remove-comment-internal-error','commentsrepository-invalid-comment-content','_createNewComment','commentsListView','commentsrepository-resolve-comment-thread-internal-error','openNewCommentThread','escape','change:authoredAt','commentsrepository-update-comment-thread-internal-error','author','_removeComment','_remove','reopen','comments.CommentThreadView','isEditable','getUser','change:activeAnnotations','div','max','commentsrepository-add-comment-to-missing-comment-thread','847503KIqHtI','PendingActions','warn','activate','fetchCommentThread','commentsrepository-missing-target','commentsrepository-fetch-comment-thread','push','getByInnerView','928558PqJahv','trim','addComment','commentsrepository-add-comment-thread-internal-error','update','noChannel','commentsrepository-remove-missing-comment','commentsrepository-active-missing-comment-thread','setPermissions','CommentThreadView','_add','attributes','createCommentThreadController','removeAttribute','2735824vkKGKz','updateCommentThread','fire','_resolveCommentThread','canComment','setContext','commentsrepository-adapter-already-set','isOfficialPlugin','commentsrepository-update-comment-missing-comment-thread','commentUpdated','commentsrepository-remove-missing-comment-thread','2682441qvaGPm','requires','locale','534759bnNjPj','_reopenCommentThread','_isAttached','function','updateComment','comments.maxThreadTotalWeight','from','removeCommentThread','commentsrepository-invalid-comment-authorid','comment','isAttached','commentsrepository-update-comment-invalid-content','adapter','getCommentThreads','commentsrepository-add-comment-internal-error','change:_readOnlyChannels','@external','context','setAttribute','commentsrepository-duplicated-comment-thread-id','createdAt','switchReadOnly','isExternal','licenseKey','_viewToController','setUnlinkedAt','refreshVisibility','get','_updateCommentThread','reduce','assign','reopenCommentThread','isResolved','add','_createCommentThreadView','comments','admin','submit','setActiveCommentThread','commentsrepository-active-not-attached','creator','weight','unlinkedAt','getCommentThreadForAnnotation','commentsrepository-add-comment-user-not-exists','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','getComment','activeCommentThread','6lohlIU','focusTracker','string','_removeActiveAnnotation','getIndex','commentsrepository-missing-comment-thread','error','commentsrepository-remove-comment-thread-internal-error','type','highest','commentThreadInputView','innerHTML','24JXjHtT','isDirty','destroy','isVisible','commentsrepository-get-comment-invalid-id','commentsrepository-resolved-comment-thread','hasCommentThread','commentsrepository-remove-comment-missing-comment-thread','values','_permissions','_readOnlyChannels','_adapter','authoredAt','isRemovable','stopListening','commentsrepository-attach-missing-comment-thread','resolve','view','_threads','_hasTargetInContent','focusableElements','_updateComment','createElement','getAnnotationForCommentThread','isActive'];_0x37e0=function(){return _0x4d0aed;};return _0x37e0();}import{Collection as _0x128dd4,uid as _0x291d93,CKEditorError as _0x19bae0,ObservableMixin as _0x245d1c}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x4103f3,hashObject as _0x9da5e5,Users as _0x1c3a67}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x10dc7b,isEqual as _0x48c079,set as _0x813ba2,unset as _0x43c375}from'es-toolkit/compat';import{CommentThreadController as _0x4a516a}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x2eb1b3}from'./ui/view/commentthreadview.js';import{CommentView as _0xb662e9}from'./ui/view/commentview.js';import{getTranslation as _0x44cd00}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0xbed64e}from'../annotations/view/annotationview.js';import{Annotation as _0x595f82}from'../annotations/annotation.js';import{Annotations as _0x1c1f71}from'../annotations/annotations.js';const _t=Symbol(_0x4132e3(0x21d)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x552d6a{[_0x4132e3(0x282)];[_0x4132e3(0x1f4)];[_0x4132e3(0x24c)];static get[_0x4132e3(0x232)](){return[_0x1c1f71,_0x1ab0ba,_0x1c3a67];}static get[_0x4132e3(0x2a3)](){const _0x18b4fb=_0x4132e3;return _0x18b4fb(0x2a2);}static get[_0x4132e3(0x22d)](){return!0x0;}static get[_0x4132e3(0x298)](){return!0x0;}constructor(_0x20433c){const _0xf8e153=_0x4132e3;super(_0x20433c),this[_0xf8e153(0x282)]=new Map(),this[_0xf8e153(0x1f4)]=new Map(),this[_0xf8e153(0x24c)]=new Map(),this[_0xf8e153(0x1d7)](_0xf8e153(0x27a),new Set()),this[_0xf8e153(0x1d7)](_0xf8e153(0x279),new Map());const _0x29b3b5=this[_0xf8e153(0x245)][_0xf8e153(0x1f8)];_0x29b3b5[_0xf8e153(0x1f0)](_0xf8e153(0x1e7),0x2),_0x29b3b5[_0xf8e153(0x1f0)](_0xf8e153(0x239),0x1f4),_0x29b3b5[_0xf8e153(0x1f0)](_0xf8e153(0x28b),0x8c),_0x29b3b5[_0xf8e153(0x1f0)](_0xf8e153(0x208),_0x2eb1b3),_0x29b3b5[_0xf8e153(0x1f0)](_0xf8e153(0x1f9),_0xb662e9),_0x29b3b5[_0xf8e153(0x24f)](_0xf8e153(0x29d))||console[_0xf8e153(0x211)](_0xf8e153(0x261));}[_0x4132e3(0x1d6)](){const _0x39c64a=_0x4132e3,_0xba9911=this[_0x39c64a(0x245)][_0x39c64a(0x292)][_0x39c64a(0x24f)](_0x1c1f71);this[_0x39c64a(0x1d7)](_0x39c64a(0x263),null),this['on'](_0x39c64a(0x1d4),(_0x147d29,_0x193675)=>this[_0x39c64a(0x1d5)](_0x193675)),this['on'](_0x39c64a(0x290),(_0x2cb324,_0x5d30cb)=>this[_0x39c64a(0x1e8)](_0x5d30cb)),this['on'](_0x39c64a(0x28c),(_0x1501c3,_0x7158b5)=>this[_0x39c64a(0x229)](_0x7158b5)),this['on'](_0x39c64a(0x28c),(_0x35271a,_0x2f4a0f)=>this[_0x39c64a(0x29e)](_0x2f4a0f),{'priority':_0x39c64a(0x2a0)}),this['on'](_0x39c64a(0x253),(_0x52015f,_0x16bb11)=>this[_0x39c64a(0x235)](_0x16bb11)),this['on'](_0x39c64a(0x253),(_0x16c288,_0x9f2cf5)=>this[_0x39c64a(0x29e)](_0x9f2cf5),{'priority':_0x39c64a(0x2a0)}),this['on'](_0x39c64a(0x23b),(_0x4927ca,_0xce1701)=>this[_0x39c64a(0x1d9)](_0xce1701)),this['on'](_0x39c64a(0x227),(_0x23e7f5,_0x2eed1c)=>this[_0x39c64a(0x250)](_0x2eed1c)),this['on'](_0x39c64a(0x227),(_0x511e3d,_0x204138)=>this[_0x39c64a(0x29e)](_0x204138),{'priority':_0x39c64a(0x2a0)}),this['on'](_0x39c64a(0x21a),(_0x684a4a,_0x2b74d8)=>this[_0x39c64a(0x29c)](_0x2b74d8)),this['on'](_0x39c64a(0x238),(_0x5bc1d6,_0x12390d)=>this[_0x39c64a(0x285)](_0x12390d)),this['on'](_0x39c64a(0x2a6),(_0x315e2d,_0x5bf8b4)=>this[_0x39c64a(0x205)](_0x5bf8b4)),this['on'](_0x39c64a(0x21a),(_0x32c890,{threadId:_0x7d07ee,isFromAdapter:_0x39d011})=>{const _0x36e313=_0x39c64a;if(_0x39d011)return;const _0x162ae1=this[_0x36e313(0x29a)](_0x7d07ee),_0x36e333=_0x162ae1&&this[_0x36e313(0x1f4)][_0x36e313(0x24f)](_0x162ae1);_0x36e333&&_0x36e333[_0x36e313(0x281)][_0x36e313(0x1fe)][_0x36e313(0x1e1)](-0x1);},{'priority':_0x39c64a(0x2a0)}),this[_0x39c64a(0x1c6)](_0xba9911,_0x39c64a(0x20b),(_0x2a507a,_0x10ac5c,_0x20314d)=>{const _0x195c77=_0x39c64a,_0x12fd96=Array[_0x195c77(0x23a)](_0x20314d)[_0x195c77(0x1ed)](_0x1a9153=>this[_0x195c77(0x24c)][_0x195c77(0x24f)](_0x1a9153[_0x195c77(0x1ea)]))[_0x195c77(0x1e6)](Boolean)[0x0];this[_0x195c77(0x263)]=_0x12fd96?_0x12fd96[_0x195c77(0x1c9)]:null;});}set[_0x4132e3(0x240)](_0x4cbde2){const _0x16ef07=_0x4132e3;if(this[_0x16ef07(0x27b)])throw new _0x19bae0(_0x16ef07(0x22c));this[_0x16ef07(0x27b)]=_0x4cbde2;}get[_0x4132e3(0x240)](){const _0x1c6a32=_0x4132e3;return this[_0x1c6a32(0x27b)];}[_0x4132e3(0x1d4)]({channelId:_0x492d0f=_t,threadId:_0x52b69b=_0x291d93(),comments:_0x1682c6=[],unlinkedAt:_0x53b1c4=null,resolvedAt:_0x1da233=null,resolvedBy:_0x455328=null,target:_0x2fda66=null,context:_0x430da0=null,attributes:_0x58d7cf={},isResolvable:_0x47db2e=!0x0,isSubmitted:_0x1ae86b=!0x1,isFromAdapter:_0x583417=!0x1}={}){const _0x214252=_0x4132e3;return this[_0x214252(0x228)](Nt(_0x214252(0x1d4),_0x492d0f),{'channelId':_0x492d0f,'threadId':_0x52b69b,'comments':_0x1682c6,'unlinkedAt':_0x53b1c4,'resolvedAt':_0x1da233,'resolvedBy':_0x455328,'target':_0x2fda66,'context':_0x430da0,'attributes':_0x58d7cf,'isFromAdapter':_0x583417,'isResolvable':_0x47db2e,'isSubmitted':_0x1ae86b}),this[_0x214252(0x29a)](_0x52b69b);}[_0x4132e3(0x200)]({channelId:_0x44f3ae=_t,threadId:_0x473a76=_0x291d93(),target:_0x3e210a,context:_0x3b92d0=null,isResolvable:_0x49ee8c=!0x0}){const _0x21ffe6=_0x4132e3;if(this[_0x21ffe6(0x27a)][_0x21ffe6(0x296)](_0x44f3ae)||this[_0x21ffe6(0x27a)][_0x21ffe6(0x296)](void 0x0))return null;if(!_0x3e210a)throw new _0x19bae0(_0x21ffe6(0x214));const _0x1a7a75=this[_0x21ffe6(0x1d4)]({'channelId':_0x44f3ae,'threadId':_0x473a76,'target':_0x3e210a,'context':_0x3b92d0,'isResolvable':_0x49ee8c});if(!_0x1a7a75)return null;const _0x4f00f3=this[_0x21ffe6(0x1f4)][_0x21ffe6(0x24f)](_0x1a7a75),_0x195da1=_0x4f00f3[_0x21ffe6(0x281)][_0x21ffe6(0x26e)][_0x21ffe6(0x2a7)],_0xb6b58c=this[_0x21ffe6(0x245)][_0x21ffe6(0x292)][_0x21ffe6(0x24f)](_0x1c1f71),_0x37edec=_0xb6b58c[_0x21ffe6(0x217)](_0x4f00f3[_0x21ffe6(0x281)]);return _0xb6b58c[_0x21ffe6(0x212)](_0x37edec),_0x195da1[_0x21ffe6(0x2a8)](_0x21ffe6(0x1db),()=>_0x195da1[_0x21ffe6(0x1e1)]()),_0x1a7a75;}[_0x4132e3(0x276)](_0x357381){const _0x4eacd4=_0x4132e3;if(_0x4eacd4(0x266)!=typeof _0x357381)throw new _0x19bae0(_0x4eacd4(0x1ef));return this[_0x4eacd4(0x282)][_0x4eacd4(0x296)](_0x357381);}[_0x4132e3(0x227)]({channelId:_0x32b962=_t,threadId:_0x232c93,context:_0x4f6445,unlinkedAt:_0x1176bf,attributes:_0x56e4bf,isFromAdapter:_0x1980cb=!0x1}){const _0x187c7b=_0x4132e3;return this[_0x187c7b(0x228)](Nt(_0x187c7b(0x227),_0x32b962),{'channelId':_0x32b962,'threadId':_0x232c93,'context':_0x4f6445,'unlinkedAt':_0x1176bf,'attributes':_0x56e4bf,'isFromAdapter':_0x1980cb}),this[_0x187c7b(0x29a)](_0x232c93);}[_0x4132e3(0x29a)](_0x54f4d9){const _0x54b72b=_0x4132e3;if(_0x54b72b(0x266)!=typeof _0x54f4d9)throw new _0x19bae0(_0x54b72b(0x1ef));return this[_0x54b72b(0x282)][_0x54b72b(0x24f)](_0x54f4d9);}[_0x4132e3(0x213)]({channelId:_0x8f2617,threadId:_0x54d667}={}){const _0x35786f=_0x4132e3,_0x36f0d6=this[_0x35786f(0x29a)](_0x54d667);if(_0x36f0d6)return Promise[_0x35786f(0x280)](_0x36f0d6);if(!this[_0x35786f(0x240)])return Promise[_0x35786f(0x280)](void 0x0);if(_0x35786f(0x237)!=typeof this[_0x35786f(0x240)][_0x35786f(0x29a)])throw new _0x19bae0(_0x35786f(0x1f1),this[_0x35786f(0x245)]);return this[_0x35786f(0x240)][_0x35786f(0x29a)]({'channelId':_0x8f2617,'threadId':_0x54d667})[_0x35786f(0x1c8)](_0x21290f=>this[_0x35786f(0x276)](_0x54d667)?this[_0x35786f(0x29a)](_0x54d667):_0x21290f?this[_0x35786f(0x1d4)](Object[_0x35786f(0x252)]({'isFromAdapter':!0x0,'channelId':_0x8f2617},_0x21290f)):void 0x0)[_0x35786f(0x1cc)](_0x528c97=>{const _0x47791d=_0x35786f;throw console[_0x47791d(0x26a)](_0x528c97),new _0x19bae0(_0x47791d(0x215),this[_0x47791d(0x245)]);});}[_0x4132e3(0x241)]({channelId:_0x4d3460,skipNotAttached:_0x2da544=!0x1,skipEmpty:_0x3b0288=!0x1,toJSON:_0x5b28d5=!0x1}={}){const _0x455dba=_0x4132e3,_0x554775=[];for(const _0x5688e1 of this[_0x455dba(0x282)][_0x455dba(0x278)]())_0x4d3460&&_0x5688e1[_0x455dba(0x2aa)]!==_0x4d3460||_0x2da544&&!_0x5688e1[_0x455dba(0x23e)]||_0x3b0288&&0x0===_0x5688e1[_0x455dba(0x1e3)]||_0x554775[_0x455dba(0x216)](_0x5688e1);return _0x5b28d5?_0x554775[_0x455dba(0x1ed)](_0x2dd5a5=>_0x2dd5a5[_0x455dba(0x1cb)]()):_0x554775;}[_0x4132e3(0x287)](_0x26492d){const _0xd680a6=_0x4132e3,_0x4b193e=this[_0xd680a6(0x1f4)][_0xd680a6(0x24f)](_0x26492d);if(!_0x4b193e)return null;return this[_0xd680a6(0x245)][_0xd680a6(0x292)][_0xd680a6(0x24f)](_0x1c1f71)[_0xd680a6(0x217)](_0x4b193e[_0xd680a6(0x281)])||null;}[_0x4132e3(0x25f)](_0x4febce){const _0xb3f9d3=_0x4132e3,_0x5955ef=this[_0xb3f9d3(0x24c)][_0xb3f9d3(0x24f)](_0x4febce[_0xb3f9d3(0x1ea)]);return _0x5955ef?_0x5955ef[_0xb3f9d3(0x1c9)]:null;}[_0x4132e3(0x25a)](_0xd72f47){const _0x4b4396=_0x4132e3,_0x5c9c36=this[_0x4b4396(0x245)][_0x4b4396(0x292)][_0x4b4396(0x24f)](_0x1c1f71);if(!_0xd72f47)return void(this[_0x4b4396(0x263)]&&_0x5c9c36[_0x4b4396(0x2a4)]());const _0x2dd883=this[_0x4b4396(0x29a)](_0xd72f47);if(!_0x2dd883)throw new _0x19bae0(_0x4b4396(0x21f),null,{'threadId':_0xd72f47});if(!this[_0x4b4396(0x1f4)][_0x4b4396(0x296)](_0x2dd883))throw new _0x19bae0(_0x4b4396(0x25b),null,{'threadId':_0xd72f47});const _0x3f772f=_0x5c9c36[_0x4b4396(0x217)](this[_0x4b4396(0x1f4)][_0x4b4396(0x24f)](_0x2dd883)[_0x4b4396(0x281)]);_0x5c9c36[_0x4b4396(0x212)](_0x3f772f);}[_0x4132e3(0x249)](_0x478ab7,_0x3bfa49){const _0x1ae93e=_0x4132e3;_0x478ab7?this[_0x1ae93e(0x27a)][_0x1ae93e(0x255)](_0x3bfa49):this[_0x1ae93e(0x27a)][_0x1ae93e(0x1c5)](_0x3bfa49),this[_0x1ae93e(0x228)](_0x1ae93e(0x243),_0x1ae93e(0x27a),this[_0x1ae93e(0x27a)],this[_0x1ae93e(0x27a)]);}[_0x4132e3(0x1e9)](_0x21a5cd){const _0x666b7c=_0x4132e3;return this[_0x666b7c(0x27a)][_0x666b7c(0x296)](_0x21a5cd)||this[_0x666b7c(0x27a)][_0x666b7c(0x296)](void 0x0);}[_0x4132e3(0x224)](_0x405d3d,_0x23a6ce){return new _0x4a516a(_0x405d3d,_0x23a6ce);}[_0x4132e3(0x220)](_0x4d8a86,_0x5e6002=_t){const _0x1db8b7=_0x4132e3;this[_0x1db8b7(0x279)][_0x1db8b7(0x1d7)](_0x5e6002,_0x4d8a86),this[_0x1db8b7(0x228)](_0x1db8b7(0x1d8),_0x1db8b7(0x279),this[_0x1db8b7(0x279)],this[_0x1db8b7(0x279)]);}[_0x4132e3(0x1d3)](_0x43a513=_t){const _0x32191d=_0x4132e3;return this[_0x32191d(0x279)][_0x32191d(0x296)](_0x43a513)?this[_0x32191d(0x279)][_0x32191d(0x24f)](_0x43a513):bt;}[_0x4132e3(0x1d5)]({channelId:_0x130ae3,threadId:_0x44f13f,comments:_0x27e661,unlinkedAt:_0x1683d0,resolvedAt:_0x3532de,resolvedBy:_0x57d3aa,target:_0x25a5ad,context:_0x308b31,attributes:_0x48a2cc,isFromAdapter:_0x444fb4,isResolvable:_0x47fbd0,isSubmitted:_0x852974}){const _0x417aee=_0x4132e3;if(_0x417aee(0x266)!=typeof _0x44f13f)throw new _0x19bae0(_0x417aee(0x1ef),null,{'threadId':_0x44f13f});if(this[_0x417aee(0x276)](_0x44f13f))throw new _0x19bae0(_0x417aee(0x247),null,{'threadId':_0x44f13f});const _0x71847a=new CommentThread(this,{'channelId':_0x130ae3,'id':_0x44f13f,'context':_0x308b31,'attributes':_0x48a2cc,'unlinkedAt':_0x1683d0,'resolvedAt':_0x3532de,'resolvedBy':_0x57d3aa?this[_0x417aee(0x245)][_0x417aee(0x292)][_0x417aee(0x24f)](_0x1c3a67)[_0x417aee(0x20a)](_0x57d3aa):null,'isResolvable':_0x47fbd0,'isSubmitted':_0x852974||_0x444fb4});this[_0x417aee(0x282)][_0x417aee(0x1d7)](_0x44f13f,_0x71847a);for(const _0x4c623b of _0x27e661)_0x71847a[_0x417aee(0x222)](this[_0x417aee(0x1fd)]({'threadId':_0x44f13f,..._0x4c623b}));return _0x25a5ad&&_0x71847a[_0x417aee(0x1df)](_0x25a5ad),_0x444fb4||!_0x71847a[_0x417aee(0x1e3)]?Promise[_0x417aee(0x280)]():this[_0x417aee(0x1e8)]({'channelId':_0x130ae3,'threadId':_0x44f13f});}[_0x4132e3(0x1e8)]({channelId:_0x40a1df,threadId:_0x5890f3}){const _0x1935fd=_0x4132e3;if(!this[_0x1935fd(0x276)](_0x5890f3))throw new _0x19bae0(_0x1935fd(0x269),this);const _0x2739c7=this[_0x1935fd(0x29a)](_0x5890f3);if(_0x2739c7[_0x1935fd(0x1ec)]=!0x0,!this[_0x1935fd(0x240)]||_0x1935fd(0x237)!=typeof this[_0x1935fd(0x240)][_0x1935fd(0x1d4)])return Promise[_0x1935fd(0x280)]();const {id:_0x3455b3,comments:_0x2fcbc7,resolvedAt:_0x2b4e77,resolvedBy:_0x3928c7,context:_0xc79022,attributes:_0x2a81be}=_0x2739c7,_0x29ebc8=this[_0x1935fd(0x245)][_0x1935fd(0x292)][_0x1935fd(0x24f)](_0x1935fd(0x210)),_0x9ac9ac=_0x29ebc8[_0x1935fd(0x255)](_0x44cd00(this[_0x1935fd(0x245)][_0x1935fd(0x233)],_0x1935fd(0x1de)));return this[_0x1935fd(0x240)][_0x1935fd(0x1d4)]({'channelId':_0x40a1df,'threadId':_0x3455b3,'comments':_0x2fcbc7[_0x1935fd(0x1ed)](_0x34e6e3=>_0x34e6e3[_0x1935fd(0x1cb)]()),'resolvedAt':_0x2b4e77,'resolvedBy':_0x3928c7?_0x3928c7['id']:_0x3928c7,'context':_0xc79022,'attributes':_0x2a81be})[_0x1935fd(0x1c8)](({comments:_0xc45a3e})=>{const _0x75c2d7=_0x1935fd;_0x29ebc8[_0x75c2d7(0x1d1)](_0x9ac9ac);for(const _0x90b92e of _0xc45a3e)this[_0x75c2d7(0x285)]({'channelId':_0x40a1df,'threadId':_0x5890f3,'commentId':_0x90b92e[_0x75c2d7(0x1f2)],'createdAt':_0x90b92e[_0x75c2d7(0x248)],'isFromAdapter':!0x0});})[_0x1935fd(0x1cc)](_0x4b525f=>{const _0x230f42=_0x1935fd;throw console[_0x230f42(0x26a)](_0x4b525f),new _0x19bae0(_0x230f42(0x21b),this);});}[_0x4132e3(0x293)]({threadId:_0x5371aa,target:_0x16efaf}){const _0x431d97=_0x4132e3,_0x32c133=this[_0x431d97(0x29a)](_0x5371aa);if(!_0x32c133)throw new _0x19bae0(_0x431d97(0x27f),this);const _0x3e5f2c=this[_0x431d97(0x245)][_0x431d97(0x292)][_0x431d97(0x24f)](_0x431d97(0x210)),_0xce190a=this[_0x431d97(0x245)][_0x431d97(0x292)][_0x431d97(0x24f)](_0x1c1f71),_0x3d937c=this[_0x431d97(0x256)](_0x32c133),_0x275eb0=new _0x4a516a(_0x32c133,_0x3d937c);let _0x17d052=null;_0x3d937c['on'](_0x431d97(0x1f6),(_0x5b977e,_0x1afb4c,_0x1bc6cd)=>{const _0x27ef30=_0x431d97;_0x1bc6cd?_0x17d052=_0x3e5f2c[_0x27ef30(0x255)](_0x44cd00(this[_0x27ef30(0x245)][_0x27ef30(0x233)],_0x27ef30(0x1de))):_0x17d052&&(_0x3e5f2c[_0x27ef30(0x1d1)](_0x17d052),_0x17d052=null);}),this[_0x431d97(0x1f4)][_0x431d97(0x1d7)](_0x32c133,_0x275eb0),this[_0x431d97(0x24c)][_0x431d97(0x1d7)](_0x3d937c,_0x275eb0);const _0x9307fd=new _0xbed64e(this[_0x431d97(0x245)][_0x431d97(0x233)],_0x3d937c);_0x9307fd[_0x431d97(0x2ab)](_0x431d97(0x1e3))['to'](_0x3d937c),_0x9307fd[_0x431d97(0x2ab)](_0x431d97(0x271))['to'](_0x3d937c,_0x431d97(0x271),_0x3d937c,_0x431d97(0x1e3),(_0x2d10b8,_0x3f105f)=>_0x2d10b8||!_0x3f105f),_0x9307fd[_0x431d97(0x2ab)](_0x431d97(0x288))['to'](_0x3d937c),_0x9307fd[_0x431d97(0x26c)]=_0x431d97(0x23d);const _0x4c8988=new _0x595f82({'view':_0x9307fd,'target':_0x16efaf,'type':_0x431d97(0x23d),'isVisible':!_0x32c133[_0x431d97(0x2a5)]&&!!(_0x431d97(0x237)==typeof _0x16efaf?_0x16efaf():_0x16efaf)});return _0x3d937c['on'](_0x431d97(0x201),()=>{const _0x583b0a=_0x431d97;_0x4c8988[_0x583b0a(0x228)](_0x583b0a(0x201));}),this[_0x431d97(0x1dd)](_0x3d937c,_0x4c8988),_0xce190a[_0x431d97(0x255)](_0x4c8988),_0x4c8988;}[_0x4132e3(0x1dd)](_0x246f38,_0x25c184){const _0x211b20=_0x4132e3;this[_0x211b20(0x1c6)](_0x246f38,_0x211b20(0x1db),(_0x240ea4,_0x49800e)=>{const _0x3158d1=_0x211b20,_0x1312da=_0x49800e['ui'][_0x3158d1(0x281)][_0x3158d1(0x1e4)][_0x3158d1(0x28f)];_0x25c184[_0x3158d1(0x284)][_0x3158d1(0x255)](_0x1312da),this[_0x3158d1(0x245)]instanceof _0x9809a1&&this[_0x3158d1(0x245)]['ui'][_0x3158d1(0x265)][_0x3158d1(0x255)](_0x1312da);},{'priority':_0x211b20(0x26d)}),this[_0x211b20(0x1c6)](_0x246f38,_0x211b20(0x1c7),(_0x6e06fe,_0x4a12a0)=>{const _0x533a16=_0x211b20,_0x5441bd=_0x4a12a0['ui'][_0x533a16(0x281)][_0x533a16(0x1e4)][_0x533a16(0x28f)];_0x25c184[_0x533a16(0x284)][_0x533a16(0x296)](_0x5441bd)&&_0x25c184[_0x533a16(0x284)][_0x533a16(0x1d1)](_0x5441bd),this[_0x533a16(0x245)]instanceof _0x9809a1&&this[_0x533a16(0x245)]['ui'][_0x533a16(0x265)][_0x533a16(0x1d1)](_0x5441bd);});}[_0x4132e3(0x1d0)](_0x21f52f){const _0xd4e6d7=_0x4132e3;this[_0xd4e6d7(0x27e)](_0x21f52f,_0xd4e6d7(0x1db)),this[_0xd4e6d7(0x27e)](_0x21f52f,_0xd4e6d7(0x1c7));}[_0x4132e3(0x256)](_0x871c6e){const _0x17993a=_0x4132e3,_0x13c7b2=this[_0x17993a(0x245)][_0x17993a(0x292)][_0x17993a(0x24f)](_0x1c3a67),{config:_0x3bd5dd,locale:_0x4e8948}=this[_0x17993a(0x245)],_0x36f3e4=_0x4103f3(_0x3bd5dd[_0x17993a(0x24f)](_0x17993a(0x233)),_0x4e8948);return new(0x0,(_0x3bd5dd[_0x17993a(0x24f)](_0x17993a(0x257)))[(_0x17993a(0x221))])(_0x4e8948,_0x871c6e,_0x13c7b2['me'],{'editorConfig':{..._0x3bd5dd[_0x17993a(0x24f)](_0x17993a(0x29d)),'licenseKey':this[_0x17993a(0x245)][_0x17993a(0x1f8)][_0x17993a(0x24f)](_0x17993a(0x24b))},'copyMarkers':_0x3bd5dd[_0x17993a(0x24f)](_0x17993a(0x1ee)),'maxCommentsWhenCollapsed':_0x3bd5dd[_0x17993a(0x24f)](_0x17993a(0x1e7)),'maxThreadTotalWeight':_0x3bd5dd[_0x17993a(0x24f)](_0x17993a(0x239)),'maxCommentCharsWhenCollapsed':_0x3bd5dd[_0x17993a(0x24f)](_0x17993a(0x28b)),'formatDateTime':_0x36f3e4,'CommentView':_0x3bd5dd[_0x17993a(0x24f)](_0x17993a(0x257))[_0x17993a(0x1d2)]});}[_0x4132e3(0x229)]({threadId:_0x347f75,channelId:_0x49e6ac,resolvedAt:_0x57d7e1,resolvedBy:_0x511226,isFromAdapter:_0x57d8ec}){const _0x4cf5a0=_0x4132e3;if(!this[_0x4cf5a0(0x276)](_0x347f75))throw new _0x19bae0(_0x4cf5a0(0x269),null,{'threadId':_0x347f75});const _0x518bfd=this[_0x4cf5a0(0x29a)](_0x347f75);if(_0x518bfd[_0x4cf5a0(0x254)])throw new _0x19bae0(_0x4cf5a0(0x275),null,{'threadId':_0x347f75});const _0x154d8a=this[_0x4cf5a0(0x245)][_0x4cf5a0(0x292)][_0x4cf5a0(0x24f)](_0x1c3a67);if(_0x518bfd[_0x4cf5a0(0x1da)]=_0x154d8a[_0x4cf5a0(0x20a)](_0x511226),_0x518bfd[_0x4cf5a0(0x1fa)]=_0x57d7e1,_0x57d8ec||!this[_0x4cf5a0(0x240)]||_0x4cf5a0(0x237)!=typeof this[_0x4cf5a0(0x240)][_0x4cf5a0(0x28c)])return Promise[_0x4cf5a0(0x280)]();const _0x531742=this[_0x4cf5a0(0x245)][_0x4cf5a0(0x292)][_0x4cf5a0(0x24f)](_0x4cf5a0(0x210)),_0x18eef3=_0x531742[_0x4cf5a0(0x255)](_0x44cd00(this[_0x4cf5a0(0x245)][_0x4cf5a0(0x233)],_0x4cf5a0(0x1de)));return this[_0x4cf5a0(0x240)][_0x4cf5a0(0x28c)]({'channelId':_0x49e6ac,'threadId':_0x347f75})[_0x4cf5a0(0x1c8)](({resolvedAt:_0x2273d7,resolvedBy:_0x2e8b0c})=>{const _0x330c54=_0x4cf5a0;_0x531742[_0x330c54(0x1d1)](_0x18eef3),_0x518bfd[_0x330c54(0x1da)]['id']!==_0x2e8b0c&&(_0x518bfd[_0x330c54(0x1da)]=_0x154d8a[_0x330c54(0x20a)](_0x2e8b0c)),_0x518bfd[_0x330c54(0x1fa)]=_0x2273d7;})[_0x4cf5a0(0x1cc)](_0x322afa=>{const _0x58bddc=_0x4cf5a0;throw console[_0x58bddc(0x26a)](_0x322afa),new _0x19bae0(_0x58bddc(0x1ff),this);});}[_0x4132e3(0x235)]({threadId:_0x5a5e4f,channelId:_0x5becdc,isFromAdapter:_0x99d49f}){const _0x535ac4=_0x4132e3;if(!this[_0x535ac4(0x276)](_0x5a5e4f))throw new _0x19bae0(_0x535ac4(0x269),null,{'threadId':_0x5a5e4f});const _0x329586=this[_0x535ac4(0x29a)](_0x5a5e4f);if(!_0x329586[_0x535ac4(0x254)])throw new _0x19bae0(_0x535ac4(0x1e0),null,{'threadId':_0x5a5e4f});if(_0x329586[_0x535ac4(0x1da)]=null,_0x329586[_0x535ac4(0x1fa)]=null,_0x99d49f||!this[_0x535ac4(0x240)]||_0x535ac4(0x237)!=typeof this[_0x535ac4(0x240)][_0x535ac4(0x253)])return Promise[_0x535ac4(0x280)]();const _0x255203=this[_0x535ac4(0x245)][_0x535ac4(0x292)][_0x535ac4(0x24f)](_0x535ac4(0x210)),_0x1c67da=_0x255203[_0x535ac4(0x255)](_0x44cd00(this[_0x535ac4(0x245)][_0x535ac4(0x233)],_0x535ac4(0x1de)));return this[_0x535ac4(0x240)][_0x535ac4(0x253)]({'channelId':_0x5becdc,'threadId':_0x5a5e4f})[_0x535ac4(0x1c8)](()=>_0x255203[_0x535ac4(0x1d1)](_0x1c67da))[_0x535ac4(0x1cc)](_0x1d30c5=>{const _0x2b4bb4=_0x535ac4;throw console[_0x2b4bb4(0x26a)](_0x1d30c5),new _0x19bae0(_0x2b4bb4(0x28d),this);});}[_0x4132e3(0x1d9)]({threadId:_0xaceb0b,isFromAdapter:_0x79efd2}){const _0x2ce9e9=_0x4132e3,_0x24cc5d=this[_0x2ce9e9(0x29a)](_0xaceb0b);if(!_0x24cc5d)throw new _0x19bae0(_0x2ce9e9(0x230),this);if(this[_0x2ce9e9(0x28e)](_0xaceb0b),this[_0x2ce9e9(0x282)][_0x2ce9e9(0x1c5)](_0xaceb0b),!_0x24cc5d[_0x2ce9e9(0x294)]||_0x79efd2||!this[_0x2ce9e9(0x240)]||_0x2ce9e9(0x237)!=typeof this[_0x2ce9e9(0x240)][_0x2ce9e9(0x23b)])return Promise[_0x2ce9e9(0x280)]();const _0x253df3=this[_0x2ce9e9(0x245)][_0x2ce9e9(0x292)][_0x2ce9e9(0x24f)](_0x2ce9e9(0x210)),{channelId:_0x3df823}=_0x24cc5d,_0x506f59=_0x253df3[_0x2ce9e9(0x255)](_0x44cd00(this[_0x2ce9e9(0x245)][_0x2ce9e9(0x233)],_0x2ce9e9(0x1de)));return this[_0x2ce9e9(0x240)][_0x2ce9e9(0x23b)]({'channelId':_0x3df823,'threadId':_0xaceb0b})[_0x2ce9e9(0x1c8)](()=>_0x253df3[_0x2ce9e9(0x1d1)](_0x506f59))[_0x2ce9e9(0x1cc)](_0xde5d32=>{const _0x56c478=_0x2ce9e9;throw console[_0x56c478(0x26a)](_0xde5d32),new _0x19bae0(_0x56c478(0x26b),this);});}[_0x4132e3(0x250)]({threadId:_0x214339,unlinkedAt:_0x47171d,context:_0x4c1f7b,attributes:_0x391df9,isFromAdapter:_0xb70bd5}){const _0x4a8f5e=_0x4132e3;if(_0x4a8f5e(0x266)!=typeof _0x214339)throw new _0x19bae0(_0x4a8f5e(0x1ef),null,{'threadId':_0x214339});if(!this[_0x4a8f5e(0x276)](_0x214339))throw new _0x19bae0(_0x4a8f5e(0x269),null,{'threadId':_0x214339});const _0x4853bf=this[_0x4a8f5e(0x29a)](_0x214339);let _0x5baec4=!0x1;if(void 0x0!==_0x4c1f7b&&_0x4853bf[_0x4a8f5e(0x245)]!==_0x4c1f7b&&(_0x4853bf[_0x4a8f5e(0x245)]=_0x4c1f7b,_0x5baec4=!0x0),void 0x0!==_0x47171d&&_0x4853bf[_0x4a8f5e(0x25e)]!==_0x47171d&&(_0x4853bf[_0x4a8f5e(0x25e)]=_0x47171d,_0x5baec4=!0x0),_0x391df9&&!_0x48c079(_0x391df9,_0x4853bf[_0x4a8f5e(0x223)])&&(_0x4853bf[_0x4a8f5e(0x223)]=_0x391df9,_0x5baec4=!0x0),!_0x5baec4)return Promise[_0x4a8f5e(0x280)]();if(!_0x4853bf[_0x4a8f5e(0x294)]||_0xb70bd5||!this[_0x4a8f5e(0x240)]||_0x4a8f5e(0x237)!=typeof this[_0x4a8f5e(0x240)][_0x4a8f5e(0x227)])return Promise[_0x4a8f5e(0x280)]();const _0x78df63=this[_0x4a8f5e(0x245)][_0x4a8f5e(0x292)][_0x4a8f5e(0x24f)](_0x4a8f5e(0x210)),{channelId:_0x308eca}=_0x4853bf,_0x19e7e8=_0x78df63[_0x4a8f5e(0x255)](_0x44cd00(this[_0x4a8f5e(0x245)][_0x4a8f5e(0x233)],_0x4a8f5e(0x1de)));return this[_0x4a8f5e(0x240)][_0x4a8f5e(0x227)]({'channelId':_0x308eca,'threadId':_0x214339,'context':_0x4c1f7b,'unlinkedAt':_0x47171d,'attributes':_0x391df9})[_0x4a8f5e(0x1c8)](()=>_0x78df63[_0x4a8f5e(0x1d1)](_0x19e7e8))[_0x4a8f5e(0x1cc)](_0x2d5e04=>{const _0x1032aa=_0x4a8f5e;throw console[_0x1032aa(0x26a)](_0x2d5e04),new _0x19bae0(_0x1032aa(0x203),this);});}[_0x4132e3(0x28e)](_0x51316d){const _0x3c539f=_0x4132e3,_0x2aae90=this[_0x3c539f(0x245)][_0x3c539f(0x292)][_0x3c539f(0x24f)](_0x1c1f71),_0x219837=this[_0x3c539f(0x29a)](_0x51316d);if(_0x219837[_0x3c539f(0x236)]=!0x1,this[_0x3c539f(0x1f4)][_0x3c539f(0x296)](_0x219837)){const _0x15a9d9=this[_0x3c539f(0x1f4)][_0x3c539f(0x24f)](_0x219837),_0x984064=_0x15a9d9[_0x3c539f(0x281)],_0x5f1e20=_0x2aae90[_0x3c539f(0x217)](_0x984064);this[_0x3c539f(0x1f4)][_0x3c539f(0x1c5)](_0x219837),this[_0x3c539f(0x24c)][_0x3c539f(0x1c5)](_0x984064),_0x5f1e20&&_0x2aae90[_0x3c539f(0x1d1)](_0x5f1e20),_0x15a9d9[_0x3c539f(0x272)](),_0x984064[_0x3c539f(0x272)]()[_0x3c539f(0x1c8)](()=>{const _0xcfae14=_0x3c539f;this[_0xcfae14(0x1d0)](_0x984064);});}}[_0x4132e3(0x29e)]({threadId:_0x7ff0f,resolvedAt:_0x555499,unlinkedAt:_0x59e3b5}){const _0x464336=_0x4132e3,_0x5401cc=!!_0x555499,_0x28eb21=this[_0x464336(0x245)][_0x464336(0x292)][_0x464336(0x24f)](_0x1c1f71),_0x28613f=this[_0x464336(0x29a)](_0x7ff0f);if(this[_0x464336(0x1f4)][_0x464336(0x296)](_0x28613f)){const _0x1e7f2c=this[_0x464336(0x1f4)][_0x464336(0x24f)](_0x28613f)[_0x464336(0x281)],_0x2b3da3=_0x28eb21[_0x464336(0x217)](_0x1e7f2c);_0x2b3da3&&(_0x5401cc&&_0x28eb21[_0x464336(0x267)](_0x2b3da3),_0x59e3b5?_0x2b3da3[_0x464336(0x273)]=!0x1:_0x2b3da3[_0x464336(0x24e)]());}}[_0x4132e3(0x1e5)](_0x4f6feb){const _0x14e14d=_0x4132e3,_0x46d6a9=this[_0x14e14d(0x245)][_0x14e14d(0x292)][_0x14e14d(0x24f)](_0x1c3a67),_0x46d52d=_0x9da5e5(_0x14e14d(0x1eb)+_0x4f6feb),_0x826e43=_0x46d6a9[_0x14e14d(0x20a)](_0x46d52d);return _0x826e43||_0x46d6a9[_0x14e14d(0x289)]({'id':_0x46d52d,'name':_0x4f6feb});}[_0x4132e3(0x1fd)]({threadId:_0x4e8f20,commentId:_0x3a04db=_0x291d93(),content:_0x4c22cb,authorId:_0x5aa04f,createdAt:_0x3254f8,attributes:_0x4217a1}){const _0x13629c=_0x4132e3;if(_0x13629c(0x266)!=typeof _0x3a04db)throw new _0x19bae0(_0x13629c(0x295));if(_0x13629c(0x266)!=typeof _0x5aa04f)throw new _0x19bae0(_0x13629c(0x23c));if(_0x13629c(0x266)!=typeof _0x4c22cb||!_0x4c22cb[_0x13629c(0x219)]())throw new _0x19bae0(_0x13629c(0x1fc));const _0x38b4fc=this[_0x13629c(0x245)][_0x13629c(0x292)][_0x13629c(0x24f)](_0x1c3a67)[_0x13629c(0x20a)](_0x5aa04f);if(!_0x38b4fc)throw new _0x19bae0(_0x13629c(0x260),null,{'authorId':_0x5aa04f});let _0x5bf5bb=null,_0x3ea545=_0x3254f8;return _0x4217a1?.[_0x13629c(0x244)]&&(_0x5bf5bb=this[_0x13629c(0x1e5)](_0x4217a1[_0x13629c(0x244)][_0x13629c(0x299)]),_0x3ea545=new Date(_0x4217a1[_0x13629c(0x244)][_0x13629c(0x248)])),new Comment(this,{'threadId':_0x4e8f20,'id':_0x3a04db,'author':_0x5bf5bb||_0x38b4fc,'creator':_0x38b4fc,'content':_0x4c22cb,'createdAt':_0x3254f8,'authoredAt':_0x3ea545,'attributes':_0x4217a1});}[_0x4132e3(0x29c)](_0x44588e){const _0x1d1b53=_0x4132e3;let {threadId:_0x574394,content:_0x193709,attributes:_0x180d42,isFromAdapter:_0x49b97f}=_0x44588e;const _0x58ec88=this[_0x1d1b53(0x29a)](_0x44588e[_0x1d1b53(0x2a1)]);if(!_0x58ec88)throw new _0x19bae0(_0x1d1b53(0x20e),this);const _0x365cb2=this[_0x1d1b53(0x1fd)](_0x44588e),{id:_0x4a7755}=_0x365cb2;if(_0x58ec88[_0x1d1b53(0x222)](_0x365cb2),_0x49b97f||!this[_0x1d1b53(0x240)]||_0x1d1b53(0x237)!=typeof this[_0x1d1b53(0x240)][_0x1d1b53(0x21a)]||!_0x58ec88[_0x1d1b53(0x294)])return Promise[_0x1d1b53(0x280)]();const _0x2bbc13=this[_0x1d1b53(0x245)][_0x1d1b53(0x292)][_0x1d1b53(0x24f)](_0x1d1b53(0x210)),{channelId:_0x181f3a}=_0x58ec88,_0xf274d7=_0x2bbc13[_0x1d1b53(0x255)](_0x44cd00(this[_0x1d1b53(0x245)][_0x1d1b53(0x233)],_0x1d1b53(0x1de)));return _0x180d42||(_0x180d42={}),this[_0x1d1b53(0x240)][_0x1d1b53(0x21a)]({'channelId':_0x181f3a,'threadId':_0x574394,'commentId':_0x4a7755,'content':_0x193709,'attributes':_0x180d42})[_0x1d1b53(0x1c8)](_0x4a054c=>{const _0x685734=_0x1d1b53;_0x2bbc13[_0x685734(0x1d1)](_0xf274d7),_0x4a054c&&this[_0x685734(0x285)]({'channelId':_0x181f3a,'threadId':_0x574394,'commentId':_0x4a7755,'createdAt':_0x4a054c[_0x685734(0x248)],'isFromAdapter':!0x0});})[_0x1d1b53(0x1cc)](_0x2736af=>{const _0x22a9ab=_0x1d1b53;throw console[_0x22a9ab(0x26a)](_0x2736af),new _0x19bae0(_0x22a9ab(0x242),this);});}[_0x4132e3(0x285)]({threadId:_0x37fe3c,commentId:_0x484d55,content:_0x3ebc5b,createdAt:_0x5d64a8,attributes:_0x57d9c9,isFromAdapter:_0x25aad6}){const _0x171031=_0x4132e3;if(void 0x0!==_0x3ebc5b&&(_0x171031(0x266)!=typeof _0x3ebc5b||!_0x3ebc5b[_0x171031(0x219)]()[_0x171031(0x1e3)]))throw new _0x19bae0(_0x171031(0x23f));const _0x373268=this[_0x171031(0x29a)](_0x37fe3c),_0x1cadce=_0x373268[_0x171031(0x262)](_0x484d55);if(!_0x1cadce)throw new _0x19bae0(_0x171031(0x1dc),this);let _0x1070fb=!0x1;if(_0x3ebc5b&&_0x3ebc5b!==_0x1cadce[_0x171031(0x1e2)]&&(_0x1cadce[_0x171031(0x209)]||_0x25aad6)&&(_0x1cadce[_0x171031(0x1e2)]=_0x3ebc5b,_0x1070fb=!0x0),_0x5d64a8&&_0x5d64a8!==_0x1cadce[_0x171031(0x248)]&&(_0x1cadce[_0x171031(0x248)]=_0x5d64a8,_0x1cadce[_0x171031(0x223)]&&_0x1cadce[_0x171031(0x223)][_0x171031(0x244)]||(_0x1cadce[_0x171031(0x27c)]=_0x5d64a8),_0x1070fb=!0x0),_0x57d9c9&&!_0x48c079(_0x57d9c9,_0x1cadce[_0x171031(0x223)])&&(_0x1cadce[_0x171031(0x223)]=_0x57d9c9,_0x1070fb=!0x0),!_0x1070fb)return Promise[_0x171031(0x280)]();if(_0x373268[_0x171031(0x228)](_0x171031(0x22f)),_0x25aad6||!this[_0x171031(0x240)]||_0x171031(0x237)!=typeof this[_0x171031(0x240)][_0x171031(0x238)])return Promise[_0x171031(0x280)]();const _0x4c86c4=this[_0x171031(0x245)][_0x171031(0x292)][_0x171031(0x24f)](_0x171031(0x210)),{channelId:_0x3800e3}=this[_0x171031(0x29a)](_0x1cadce[_0x171031(0x2a1)]),_0x46404d=_0x4c86c4[_0x171031(0x255)](_0x44cd00(this[_0x171031(0x245)][_0x171031(0x233)],_0x171031(0x1de)));return this[_0x171031(0x240)][_0x171031(0x238)]({'channelId':_0x3800e3,'threadId':_0x37fe3c,'commentId':_0x484d55,'content':_0x3ebc5b,'attributes':_0x57d9c9})[_0x171031(0x1c8)](()=>_0x4c86c4[_0x171031(0x1d1)](_0x46404d))[_0x171031(0x1cc)](_0x4a981d=>{const _0x340f8e=_0x171031;throw console[_0x340f8e(0x26a)](_0x4a981d),new _0x19bae0(_0x340f8e(0x1f5),this);});}[_0x4132e3(0x205)]({threadId:_0x4b0e49,commentId:_0x5b77c9,isFromAdapter:_0x1ef63b}){const _0x3b3887=_0x4132e3,_0x69b9c5=this[_0x3b3887(0x29a)](_0x4b0e49),_0x18db5f=_0x69b9c5[_0x3b3887(0x262)](_0x5b77c9);if(!_0x18db5f)throw new _0x19bae0(_0x3b3887(0x21e),this);if(_0x69b9c5[_0x3b3887(0x206)](_0x18db5f),_0x1ef63b||!this[_0x3b3887(0x240)]||_0x3b3887(0x237)!=typeof this[_0x3b3887(0x240)][_0x3b3887(0x2a6)])return Promise[_0x3b3887(0x280)]();const _0x44994b=this[_0x3b3887(0x245)][_0x3b3887(0x292)][_0x3b3887(0x24f)](_0x3b3887(0x210)),{channelId:_0x5ac043}=_0x69b9c5,_0x12d406=_0x44994b[_0x3b3887(0x255)](_0x44cd00(this[_0x3b3887(0x245)][_0x3b3887(0x233)],_0x3b3887(0x1de)));return this[_0x3b3887(0x240)][_0x3b3887(0x2a6)]({'channelId':_0x5ac043,'threadId':_0x4b0e49,'commentId':_0x5b77c9})[_0x3b3887(0x1c8)](()=>_0x44994b[_0x3b3887(0x1d1)](_0x12d406))[_0x3b3887(0x1cc)](_0x35a06b=>{const _0x5f391a=_0x3b3887;throw console[_0x5f391a(0x26a)](_0x35a06b),new _0x19bae0(_0x5f391a(0x1fb),this);});}}function _0x3b38(_0x192742,_0x2e57e9){const _0x37e0c5=_0x37e0();return _0x3b38=function(_0x3b384d,_0x54e991){_0x3b384d=_0x3b384d-0x1c5;let _0x9389d0=_0x37e0c5[_0x3b384d];return _0x9389d0;},_0x3b38(_0x192742,_0x2e57e9);}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x50c1ff=_0x1673;(function(_0x4bf08b,_0x3a5b4f){const _0x359267=_0x1673,_0x1f30c9=_0x4bf08b();while(!![]){try{const _0x81327f=parseInt(_0x359267(0x167))/0x1*(parseInt(_0x359267(0x1f1))/0x2)+-parseInt(_0x359267(0x1ea))/0x3+parseInt(_0x359267(0x1f2))/0x4+-parseInt(_0x359267(0x1c6))/0x5+-parseInt(_0x359267(0x14f))/0x6*(-parseInt(_0x359267(0x1b0))/0x7)+-parseInt(_0x359267(0x1eb))/0x8*(-parseInt(_0x359267(0x1e9))/0x9)+-parseInt(_0x359267(0x134))/0xa;if(_0x81327f===_0x3a5b4f)break;else _0x1f30c9['push'](_0x1f30c9['shift']());}catch(_0x3191a0){_0x1f30c9['push'](_0x1f30c9['shift']());}}}(_0x5d33,0x8e268));import{PendingActions as _0x590f1f,ContextPlugin as _0x2a33b6,Editor as _0x27e17c}from'ckeditor5/src/core.js';import{Collection as _0x4548a8,uid as _0xbeb7ac,CKEditorError as _0xb472e5,ObservableMixin as _0x585ba3}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x5c1c93,hashObject as _0x265c70,Users as _0xc9ed5e}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x25b13e,isEqual as _0xd8b389,set as _0x5bc3b8,unset as _0x58924e}from'es-toolkit/compat';import{CommentThreadController as _0x271c7d}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x398661}from'./ui/view/commentthreadview.js';import{CommentView as _0x106542}from'./ui/view/commentview.js';import{getTranslation as _0x8a747c}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';function _0x1673(_0x471ce5,_0x151f83){const _0x5d337d=_0x5d33();return _0x1673=function(_0x1673a5,_0x5a5551){_0x1673a5=_0x1673a5-0x114;let _0x188993=_0x5d337d[_0x1673a5];return _0x188993;},_0x1673(_0x471ce5,_0x151f83);}import{AnnotationView as _0x2e4f2c}from'../annotations/view/annotationview.js';import{Annotation as _0x46af2e}from'../annotations/annotation.js';import{Annotations as _0x5cac14}from'../annotations/annotations.js';const _t=Symbol(_0x50c1ff(0x1b6)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};function _0x5d33(){const _0x1a64f6=['delete','unlinkedAt','getTime','string','addUser','bodyCollectionContainer','_isAttached','isPremiumPlugin','trim','removeCommentThread','toJSON','commentsrepository-remove-comment-internal-error','createdAt','destroy','setUnlinkedAt','view','createCommentThreadController','get','getComment','stopListening','config','_adapter','locale','commentsrepository-remove-missing-comment-thread','9736940WJgueH','has','attributes','pluginName','highest','_threads','focusableElements','bind','init','commentsrepository-add-comment-user-not-exists','@external','once','_removeComment','removeComment','setPermissions','isFromAdapter','getAnnotationForCommentThread','commentsrepository-missing-thread-and-adapter-method','change:activeAnnotations','_getExternalAuthor','author','commentsrepository-invalid-comment-thread-id','type','_repository','resolvedBy','commentsrepository-update-comment-invalid-content','isDirty','2105742wdAruD','archivedAt','isResolvable','addCommentThread','set','channelId','setAttribute','fire','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','activate','add','resolvedAt','commentsListView','escape','authorName','warn','licenseKey','_attachCommentThread','commentsrepository-attach-missing-comment-thread','weight','lowest','isSubmitted','getCommentThreads','commentsrepository-fetch-comment-thread','7qdoYjN','commentsrepository-update-comment-missing-comment-thread','commentsrepository-update-missing-comment','catch','innerView','PendingActions','_updateCommentThread','_threadToController','getCommentThread','canComment','commentInputView','commentsrepository-remove-comment-missing-comment-thread','isReadOnly','remove','reduce','_reopenCommentThread','_createNewComment','change:isDirty','_readOnlyChannels','setActiveCommentThread','_detachCommentThread','switchReadOnly','getPermissions','comments.maxCommentCharsWhenCollapsed','push','assign','CommentsRepository','fetchCommentThread','max','_hasTargetInContent','_permissions','focusTracker','submitCommentThread','updateCommentThread','resolve','_isSubmitted','_add','_createCommentThreadView','from','_findOptimalIndex','admin','isResolved','comments','write','commentsrepository-reopen-comment-thread-internal-error','_update','hasCommentThread','content','isAttached','commentsrepository-update-comment-thread-internal-error','comments.maxThreadTotalWeight','commentUpdated','commentsrepository-invalid-comment-authorid','commentsrepository-invalid-commentid','submit','commentsrepository-update-comment-internal-error','commentThreadInputView','comment','modifyAll','getByInnerView','model','threadId','commentsrepository-active-missing-comment-thread','comments.CommentThreadView','commentsrepository-adapter-already-set','updateComment','addComment','map','context','commentsrepository-add-comment-thread-internal-error','deactivateAll','comments.maxCommentsWhenCollapsed','CommentThreadView','7VWZJOX','_updateActiveAnnotation','commentsrepository-add-comment-to-missing-comment-thread','comments.editorConfig','error','commentId','noChannel','_remove','commentsrepository-missing-comment-thread','getIndex','change:_readOnlyChannels','body','_resolveCommentThread','_updateComment','_unbindEditors','createElement','values','editorDestroyed','isVisible','refreshVisibility','isActive','length','940300bLDGUw','getUser','_viewToController','_bindAnnotationToEditors','commentsrepository-duplicated-comment-thread-id','resolveCommentThread','div','requires','commentsrepository-reopen-comment-thread','_submitCommentThread','commentsrepository-add-comment-internal-error','_addCommentThread','isRemovable','textContent','commentsrepository-resolved-comment-thread','function','filter','attachTo','focus','authoredAt','comments.CommentView','external:','commentsrepository-active-not-attached','commentsrepository-resolve-comment-thread-internal-error','change:authoredAt','reopen','innerHTML','find','PENDING_ACTION_COMMENT_THREAD','listenTo','editorReady','define','isOfficialPlugin','_removeActiveAnnotation','plugins','459279eoxuqX','361422Lqqkun','64VZnHjU','getCommentThreadForAnnotation','commentsrepository-remove-missing-comment','isEditable','removeAttribute','then','48138ViwFym','3747152ZUsFfM','commentsrepository-missing-target','update','setContext','change:_permissions','commentsrepository-invalid-comment-content','commentsrepository-get-comment-invalid-id','CommentView','commentsrepository-remove-comment-thread-internal-error','comments.copyMarkers','openNewCommentThread','adapter','_addComment','reopenCommentThread','_removeCommentThread','activeCommentThread','isExternal','creator'];_0x5d33=function(){return _0x1a64f6;};return _0x5d33();}export class CommentsRepository extends _0x2a33b6{[_0x50c1ff(0x139)];[_0x50c1ff(0x16e)];[_0x50c1ff(0x1c8)];static get[_0x50c1ff(0x1cd)](){return[_0x5cac14,_0x590f1f,_0xc9ed5e];}static get[_0x50c1ff(0x137)](){const _0x4d6af4=_0x50c1ff;return _0x4d6af4(0x181);}static get[_0x50c1ff(0x1e6)](){return!0x0;}static get[_0x50c1ff(0x123)](){return!0x0;}constructor(_0x48b3d6){const _0x301b49=_0x50c1ff;super(_0x48b3d6),this[_0x301b49(0x139)]=new Map(),this[_0x301b49(0x16e)]=new Map(),this[_0x301b49(0x1c8)]=new Map(),this[_0x301b49(0x153)](_0x301b49(0x179),new Set()),this[_0x301b49(0x153)](_0x301b49(0x185),new Map());const _0x413497=this[_0x301b49(0x1ab)][_0x301b49(0x130)];_0x413497[_0x301b49(0x1e5)](_0x301b49(0x1ae),0x2),_0x413497[_0x301b49(0x1e5)](_0x301b49(0x199),0x1f4),_0x413497[_0x301b49(0x1e5)](_0x301b49(0x17e),0x8c),_0x413497[_0x301b49(0x1e5)](_0x301b49(0x1a6),_0x398661),_0x413497[_0x301b49(0x1e5)](_0x301b49(0x1da),_0x106542),_0x413497[_0x301b49(0x12d)](_0x301b49(0x1b3))||console[_0x301b49(0x15e)](_0x301b49(0x157));}[_0x50c1ff(0x13c)](){const _0x2caa22=_0x50c1ff,_0x2a427e=this[_0x2caa22(0x1ab)][_0x2caa22(0x1e8)][_0x2caa22(0x12d)](_0x5cac14);this[_0x2caa22(0x153)](_0x2caa22(0x119),null),this['on'](_0x2caa22(0x152),(_0x482813,_0x5c7fae)=>this[_0x2caa22(0x1d1)](_0x5c7fae)),this['on'](_0x2caa22(0x187),(_0x4ae349,_0x5d1fb3)=>this[_0x2caa22(0x1cf)](_0x5d1fb3)),this['on'](_0x2caa22(0x1cb),(_0x534647,_0xcd6799)=>this[_0x2caa22(0x1bc)](_0xcd6799)),this['on'](_0x2caa22(0x1cb),(_0x570495,_0x4bf613)=>this[_0x2caa22(0x1b1)](_0x4bf613),{'priority':_0x2caa22(0x163)}),this['on'](_0x2caa22(0x117),(_0x3615d9,_0x4d1807)=>this[_0x2caa22(0x176)](_0x4d1807)),this['on'](_0x2caa22(0x117),(_0x392311,_0x44ac87)=>this[_0x2caa22(0x1b1)](_0x44ac87),{'priority':_0x2caa22(0x163)}),this['on'](_0x2caa22(0x125),(_0x59b28b,_0x4a4614)=>this[_0x2caa22(0x118)](_0x4a4614)),this['on'](_0x2caa22(0x188),(_0xfef4db,_0x18bfa2)=>this[_0x2caa22(0x16d)](_0x18bfa2)),this['on'](_0x2caa22(0x188),(_0x26df4e,_0x200699)=>this[_0x2caa22(0x1b1)](_0x200699),{'priority':_0x2caa22(0x163)}),this['on'](_0x2caa22(0x1a9),(_0x3290a4,_0x2835b7)=>this[_0x2caa22(0x116)](_0x2835b7)),this['on'](_0x2caa22(0x1a8),(_0x591fcb,_0x3d2649)=>this[_0x2caa22(0x1bd)](_0x3d2649)),this['on'](_0x2caa22(0x141),(_0x37a8eb,_0x1848af)=>this[_0x2caa22(0x140)](_0x1848af)),this['on'](_0x2caa22(0x1a9),(_0x4384ed,{threadId:_0x368617,isFromAdapter:_0x541fca})=>{const _0x2e2269=_0x2caa22;if(_0x541fca)return;const _0x1a5e44=this[_0x2e2269(0x16f)](_0x368617),_0x3d1ca2=_0x1a5e44&&this[_0x2e2269(0x16e)][_0x2e2269(0x12d)](_0x1a5e44);_0x3d1ca2&&_0x3d1ca2[_0x2e2269(0x12b)][_0x2e2269(0x15b)][_0x2e2269(0x1d8)](-0x1);},{'priority':_0x2caa22(0x163)}),this[_0x2caa22(0x1e3)](_0x2a427e,_0x2caa22(0x146),(_0x52a594,_0x3f71a6,_0x4ffeb8)=>{const _0x9f373a=_0x2caa22,_0x253008=Array[_0x9f373a(0x18d)](_0x4ffeb8)[_0x9f373a(0x1aa)](_0x49ed2f=>this[_0x9f373a(0x1c8)][_0x9f373a(0x12d)](_0x49ed2f[_0x9f373a(0x16b)]))[_0x9f373a(0x1d6)](Boolean)[0x0];this[_0x9f373a(0x119)]=_0x253008?_0x253008[_0x9f373a(0x1a3)]:null;});}set[_0x50c1ff(0x115)](_0x2bba6e){const _0x59ea1c=_0x50c1ff;if(this[_0x59ea1c(0x131)])throw new _0xb472e5(_0x59ea1c(0x1a7));this[_0x59ea1c(0x131)]=_0x2bba6e;}get[_0x50c1ff(0x115)](){const _0x141b38=_0x50c1ff;return this[_0x141b38(0x131)];}[_0x50c1ff(0x152)]({channelId:_0x3de784=_t,threadId:_0x3f77ff=_0xbeb7ac(),comments:_0x2727c8=[],unlinkedAt:_0xf3b2c4=null,resolvedAt:_0x467cf8=null,resolvedBy:_0x3898de=null,target:_0x591ff2=null,context:_0x38a445=null,attributes:_0xace3c3={},isResolvable:_0x1aaa5a=!0x0,isSubmitted:_0xa71a26=!0x1,isFromAdapter:_0x4e11ab=!0x1}={}){const _0x56414d=_0x50c1ff;return this[_0x56414d(0x156)](Nt(_0x56414d(0x152),_0x3de784),{'channelId':_0x3de784,'threadId':_0x3f77ff,'comments':_0x2727c8,'unlinkedAt':_0xf3b2c4,'resolvedAt':_0x467cf8,'resolvedBy':_0x3898de,'target':_0x591ff2,'context':_0x38a445,'attributes':_0xace3c3,'isFromAdapter':_0x4e11ab,'isResolvable':_0x1aaa5a,'isSubmitted':_0xa71a26}),this[_0x56414d(0x16f)](_0x3f77ff);}[_0x50c1ff(0x114)]({channelId:_0x2ec20a=_t,threadId:_0xe426c=_0xbeb7ac(),target:_0xcfbaf4,context:_0x447461=null,isResolvable:_0x1aedd6=!0x0}){const _0x54c543=_0x50c1ff;if(this[_0x54c543(0x179)][_0x54c543(0x135)](_0x2ec20a)||this[_0x54c543(0x179)][_0x54c543(0x135)](void 0x0))return null;if(!_0xcfbaf4)throw new _0xb472e5(_0x54c543(0x1f3));const _0x19ffca=this[_0x54c543(0x152)]({'channelId':_0x2ec20a,'threadId':_0xe426c,'target':_0xcfbaf4,'context':_0x447461,'isResolvable':_0x1aedd6});if(!_0x19ffca)return null;const _0x4b8b6d=this[_0x54c543(0x16e)][_0x54c543(0x12d)](_0x19ffca),_0x354186=_0x4b8b6d[_0x54c543(0x12b)][_0x54c543(0x19f)][_0x54c543(0x171)],_0x299ef2=this[_0x54c543(0x1ab)][_0x54c543(0x1e8)][_0x54c543(0x12d)](_0x5cac14),_0x477052=_0x299ef2[_0x54c543(0x1a2)](_0x4b8b6d[_0x54c543(0x12b)]);return _0x299ef2[_0x54c543(0x158)](_0x477052),_0x354186[_0x54c543(0x13f)](_0x54c543(0x1e4),()=>_0x354186[_0x54c543(0x1d8)]()),_0x19ffca;}[_0x50c1ff(0x195)](_0x394c79){const _0x2c0e94=_0x50c1ff;if(_0x2c0e94(0x11f)!=typeof _0x394c79)throw new _0xb472e5(_0x2c0e94(0x149));return this[_0x2c0e94(0x139)][_0x2c0e94(0x135)](_0x394c79);}[_0x50c1ff(0x188)]({channelId:_0x166c6a=_t,threadId:_0x2fd660,context:_0x2d2478,unlinkedAt:_0x3b6d9b,attributes:_0x268cbf,isFromAdapter:_0x480b1f=!0x1}){const _0x50a3c4=_0x50c1ff;return this[_0x50a3c4(0x156)](Nt(_0x50a3c4(0x188),_0x166c6a),{'channelId':_0x166c6a,'threadId':_0x2fd660,'context':_0x2d2478,'unlinkedAt':_0x3b6d9b,'attributes':_0x268cbf,'isFromAdapter':_0x480b1f}),this[_0x50a3c4(0x16f)](_0x2fd660);}[_0x50c1ff(0x16f)](_0x139851){const _0x40c433=_0x50c1ff;if(_0x40c433(0x11f)!=typeof _0x139851)throw new _0xb472e5(_0x40c433(0x149));return this[_0x40c433(0x139)][_0x40c433(0x12d)](_0x139851);}[_0x50c1ff(0x182)]({channelId:_0x1abb8e,threadId:_0xbd66b8}={}){const _0x5d5c98=_0x50c1ff,_0x4ddbec=this[_0x5d5c98(0x16f)](_0xbd66b8);if(_0x4ddbec)return Promise[_0x5d5c98(0x189)](_0x4ddbec);if(!this[_0x5d5c98(0x115)])return Promise[_0x5d5c98(0x189)](void 0x0);if(_0x5d5c98(0x1d5)!=typeof this[_0x5d5c98(0x115)][_0x5d5c98(0x16f)])throw new _0xb472e5(_0x5d5c98(0x145),this[_0x5d5c98(0x1ab)]);return this[_0x5d5c98(0x115)][_0x5d5c98(0x16f)]({'channelId':_0x1abb8e,'threadId':_0xbd66b8})[_0x5d5c98(0x1f0)](_0x1f904c=>this[_0x5d5c98(0x195)](_0xbd66b8)?this[_0x5d5c98(0x16f)](_0xbd66b8):_0x1f904c?this[_0x5d5c98(0x152)](Object[_0x5d5c98(0x180)]({'isFromAdapter':!0x0,'channelId':_0x1abb8e},_0x1f904c)):void 0x0)[_0x5d5c98(0x16a)](_0xdbfb76=>{const _0x2e1791=_0x5d5c98;throw console[_0x2e1791(0x1b4)](_0xdbfb76),new _0xb472e5(_0x2e1791(0x166),this[_0x2e1791(0x1ab)]);});}[_0x50c1ff(0x165)]({channelId:_0x24bfe7,skipNotAttached:_0x15c11a=!0x1,skipEmpty:_0x7f7a5e=!0x1,toJSON:_0x2a35e4=!0x1}={}){const _0x5cc6be=_0x50c1ff,_0x215081=[];for(const _0x3ceb2d of this[_0x5cc6be(0x139)][_0x5cc6be(0x1c0)]())_0x24bfe7&&_0x3ceb2d[_0x5cc6be(0x154)]!==_0x24bfe7||_0x15c11a&&!_0x3ceb2d[_0x5cc6be(0x197)]||_0x7f7a5e&&0x0===_0x3ceb2d[_0x5cc6be(0x1c5)]||_0x215081[_0x5cc6be(0x17f)](_0x3ceb2d);return _0x2a35e4?_0x215081[_0x5cc6be(0x1aa)](_0x2bb618=>_0x2bb618[_0x5cc6be(0x126)]()):_0x215081;}[_0x50c1ff(0x144)](_0x55650d){const _0x2d039c=_0x50c1ff,_0x6186b4=this[_0x2d039c(0x16e)][_0x2d039c(0x12d)](_0x55650d);if(!_0x6186b4)return null;return this[_0x2d039c(0x1ab)][_0x2d039c(0x1e8)][_0x2d039c(0x12d)](_0x5cac14)[_0x2d039c(0x1a2)](_0x6186b4[_0x2d039c(0x12b)])||null;}[_0x50c1ff(0x1ec)](_0x247cbb){const _0x492c54=_0x50c1ff,_0x3ad98a=this[_0x492c54(0x1c8)][_0x492c54(0x12d)](_0x247cbb[_0x492c54(0x16b)]);return _0x3ad98a?_0x3ad98a[_0x492c54(0x1a3)]:null;}[_0x50c1ff(0x17a)](_0x424f7d){const _0x1bac73=_0x50c1ff,_0x30088a=this[_0x1bac73(0x1ab)][_0x1bac73(0x1e8)][_0x1bac73(0x12d)](_0x5cac14);if(!_0x424f7d)return void(this[_0x1bac73(0x119)]&&_0x30088a[_0x1bac73(0x1ad)]());const _0x73e9f5=this[_0x1bac73(0x16f)](_0x424f7d);if(!_0x73e9f5)throw new _0xb472e5(_0x1bac73(0x1a5),null,{'threadId':_0x424f7d});if(!this[_0x1bac73(0x16e)][_0x1bac73(0x135)](_0x73e9f5))throw new _0xb472e5(_0x1bac73(0x1dc),null,{'threadId':_0x424f7d});const _0x990a35=_0x30088a[_0x1bac73(0x1a2)](this[_0x1bac73(0x16e)][_0x1bac73(0x12d)](_0x73e9f5)[_0x1bac73(0x12b)]);_0x30088a[_0x1bac73(0x158)](_0x990a35);}[_0x50c1ff(0x17c)](_0x45e33b,_0x2448ad){const _0x3dc5cd=_0x50c1ff;_0x45e33b?this[_0x3dc5cd(0x179)][_0x3dc5cd(0x159)](_0x2448ad):this[_0x3dc5cd(0x179)][_0x3dc5cd(0x11c)](_0x2448ad),this[_0x3dc5cd(0x156)](_0x3dc5cd(0x1ba),_0x3dc5cd(0x179),this[_0x3dc5cd(0x179)],this[_0x3dc5cd(0x179)]);}[_0x50c1ff(0x173)](_0x45673a){const _0x18c673=_0x50c1ff;return this[_0x18c673(0x179)][_0x18c673(0x135)](_0x45673a)||this[_0x18c673(0x179)][_0x18c673(0x135)](void 0x0);}[_0x50c1ff(0x12c)](_0x1789b4,_0x275cda){return new _0x271c7d(_0x1789b4,_0x275cda);}[_0x50c1ff(0x142)](_0x8b7d74,_0x180f95=_t){const _0x2b40f6=_0x50c1ff;this[_0x2b40f6(0x185)][_0x2b40f6(0x153)](_0x180f95,_0x8b7d74),this[_0x2b40f6(0x156)](_0x2b40f6(0x1f6),_0x2b40f6(0x185),this[_0x2b40f6(0x185)],this[_0x2b40f6(0x185)]);}[_0x50c1ff(0x17d)](_0x3665cc=_t){const _0x407533=_0x50c1ff;return this[_0x407533(0x185)][_0x407533(0x135)](_0x3665cc)?this[_0x407533(0x185)][_0x407533(0x12d)](_0x3665cc):bt;}[_0x50c1ff(0x1d1)]({channelId:_0x3113c7,threadId:_0x341e0b,comments:_0x12fa76,unlinkedAt:_0x11ae75,resolvedAt:_0x267a26,resolvedBy:_0x43b3c6,target:_0x3a627f,context:_0x508a58,attributes:_0x2ba99b,isFromAdapter:_0x15c15d,isResolvable:_0x11d314,isSubmitted:_0x513656}){const _0xe75301=_0x50c1ff;if(_0xe75301(0x11f)!=typeof _0x341e0b)throw new _0xb472e5(_0xe75301(0x149),null,{'threadId':_0x341e0b});if(this[_0xe75301(0x195)](_0x341e0b))throw new _0xb472e5(_0xe75301(0x1ca),null,{'threadId':_0x341e0b});const _0x14bd95=new CommentThread(this,{'channelId':_0x3113c7,'id':_0x341e0b,'context':_0x508a58,'attributes':_0x2ba99b,'unlinkedAt':_0x11ae75,'resolvedAt':_0x267a26,'resolvedBy':_0x43b3c6?this[_0xe75301(0x1ab)][_0xe75301(0x1e8)][_0xe75301(0x12d)](_0xc9ed5e)[_0xe75301(0x1c7)](_0x43b3c6):null,'isResolvable':_0x11d314,'isSubmitted':_0x513656||_0x15c15d});this[_0xe75301(0x139)][_0xe75301(0x153)](_0x341e0b,_0x14bd95);for(const _0x17d145 of _0x12fa76)_0x14bd95[_0xe75301(0x18b)](this[_0xe75301(0x177)]({'threadId':_0x341e0b,..._0x17d145}));return _0x3a627f&&_0x14bd95[_0xe75301(0x1d7)](_0x3a627f),_0x15c15d||!_0x14bd95[_0xe75301(0x1c5)]?Promise[_0xe75301(0x189)]():this[_0xe75301(0x1cf)]({'channelId':_0x3113c7,'threadId':_0x341e0b});}[_0x50c1ff(0x1cf)]({channelId:_0x2dea76,threadId:_0x2f3e31}){const _0x2376a6=_0x50c1ff;if(!this[_0x2376a6(0x195)](_0x2f3e31))throw new _0xb472e5(_0x2376a6(0x1b8),this);const _0x55939e=this[_0x2376a6(0x16f)](_0x2f3e31);if(_0x55939e[_0x2376a6(0x18a)]=!0x0,!this[_0x2376a6(0x115)]||_0x2376a6(0x1d5)!=typeof this[_0x2376a6(0x115)][_0x2376a6(0x152)])return Promise[_0x2376a6(0x189)]();const {id:_0x1cd96e,comments:_0x22d0a7,resolvedAt:_0x2e5e2d,resolvedBy:_0x47c4b4,context:_0x21e913,attributes:_0x4e73b0}=_0x55939e,_0x5c9d58=this[_0x2376a6(0x1ab)][_0x2376a6(0x1e8)][_0x2376a6(0x12d)](_0x2376a6(0x16c)),_0x117a40=_0x5c9d58[_0x2376a6(0x159)](_0x8a747c(this[_0x2376a6(0x1ab)][_0x2376a6(0x132)],_0x2376a6(0x1e2)));return this[_0x2376a6(0x115)][_0x2376a6(0x152)]({'channelId':_0x2dea76,'threadId':_0x1cd96e,'comments':_0x22d0a7[_0x2376a6(0x1aa)](_0x6c473c=>_0x6c473c[_0x2376a6(0x126)]()),'resolvedAt':_0x2e5e2d,'resolvedBy':_0x47c4b4?_0x47c4b4['id']:_0x47c4b4,'context':_0x21e913,'attributes':_0x4e73b0})[_0x2376a6(0x1f0)](({comments:_0x21014e})=>{const _0x13fa6b=_0x2376a6;_0x5c9d58[_0x13fa6b(0x174)](_0x117a40);for(const _0x9d5780 of _0x21014e)this[_0x13fa6b(0x1bd)]({'channelId':_0x2dea76,'threadId':_0x2f3e31,'commentId':_0x9d5780[_0x13fa6b(0x1b5)],'createdAt':_0x9d5780[_0x13fa6b(0x128)],'isFromAdapter':!0x0});})[_0x2376a6(0x16a)](_0x37709b=>{const _0x100254=_0x2376a6;throw console[_0x100254(0x1b4)](_0x37709b),new _0xb472e5(_0x100254(0x1ac),this);});}[_0x50c1ff(0x160)]({threadId:_0x4d7e89,target:_0x1262ff}){const _0x53d998=_0x50c1ff,_0x26d477=this[_0x53d998(0x16f)](_0x4d7e89);if(!_0x26d477)throw new _0xb472e5(_0x53d998(0x161),this);const _0x5f327c=this[_0x53d998(0x1ab)][_0x53d998(0x1e8)][_0x53d998(0x12d)](_0x53d998(0x16c)),_0x1c9229=this[_0x53d998(0x1ab)][_0x53d998(0x1e8)][_0x53d998(0x12d)](_0x5cac14),_0x585755=this[_0x53d998(0x18c)](_0x26d477),_0xb8d6da=new _0x271c7d(_0x26d477,_0x585755);let _0x3b2903=null;_0x585755['on'](_0x53d998(0x178),(_0x46cc45,_0x5c69c4,_0x32160f)=>{const _0x4f33c9=_0x53d998;_0x32160f?_0x3b2903=_0x5f327c[_0x4f33c9(0x159)](_0x8a747c(this[_0x4f33c9(0x1ab)][_0x4f33c9(0x132)],_0x4f33c9(0x1e2))):_0x3b2903&&(_0x5f327c[_0x4f33c9(0x174)](_0x3b2903),_0x3b2903=null);}),this[_0x53d998(0x16e)][_0x53d998(0x153)](_0x26d477,_0xb8d6da),this[_0x53d998(0x1c8)][_0x53d998(0x153)](_0x585755,_0xb8d6da);const _0xbf7479=new _0x2e4f2c(this[_0x53d998(0x1ab)][_0x53d998(0x132)],_0x585755);_0xbf7479[_0x53d998(0x13b)](_0x53d998(0x1c5))['to'](_0x585755),_0xbf7479[_0x53d998(0x13b)](_0x53d998(0x14e))['to'](_0x585755,_0x53d998(0x14e),_0x585755,_0x53d998(0x1c5),(_0x4f69a2,_0x3d13ae)=>_0x4f69a2||!_0x3d13ae),_0xbf7479[_0x53d998(0x13b)](_0x53d998(0x1c4))['to'](_0x585755),_0xbf7479[_0x53d998(0x14a)]=_0x53d998(0x1a0);const _0x2f7f86=new _0x46af2e({'view':_0xbf7479,'target':_0x1262ff,'type':_0x53d998(0x1a0),'isVisible':!_0x26d477[_0x53d998(0x150)]&&!!(_0x53d998(0x1d5)==typeof _0x1262ff?_0x1262ff():_0x1262ff)});return _0x585755['on'](_0x53d998(0x15c),()=>{const _0x39299c=_0x53d998;_0x2f7f86[_0x39299c(0x156)](_0x39299c(0x15c));}),this[_0x53d998(0x1c9)](_0x585755,_0x2f7f86),_0x1c9229[_0x53d998(0x159)](_0x2f7f86),_0x2f7f86;}[_0x50c1ff(0x1c9)](_0x168d51,_0xfeb2af){const _0x5e4fc7=_0x50c1ff;this[_0x5e4fc7(0x1e3)](_0x168d51,_0x5e4fc7(0x1e4),(_0x5e64bb,_0xb041fe)=>{const _0x463124=_0x5e4fc7,_0x247aae=_0xb041fe['ui'][_0x463124(0x12b)][_0x463124(0x1bb)][_0x463124(0x121)];_0xfeb2af[_0x463124(0x13a)][_0x463124(0x159)](_0x247aae),this[_0x463124(0x1ab)]instanceof _0x27e17c&&this[_0x463124(0x1ab)]['ui'][_0x463124(0x186)][_0x463124(0x159)](_0x247aae);},{'priority':_0x5e4fc7(0x138)}),this[_0x5e4fc7(0x1e3)](_0x168d51,_0x5e4fc7(0x1c1),(_0x121a0c,_0x25802e)=>{const _0x51a943=_0x5e4fc7,_0x1800a9=_0x25802e['ui'][_0x51a943(0x12b)][_0x51a943(0x1bb)][_0x51a943(0x121)];_0xfeb2af[_0x51a943(0x13a)][_0x51a943(0x135)](_0x1800a9)&&_0xfeb2af[_0x51a943(0x13a)][_0x51a943(0x174)](_0x1800a9),this[_0x51a943(0x1ab)]instanceof _0x27e17c&&this[_0x51a943(0x1ab)]['ui'][_0x51a943(0x186)][_0x51a943(0x174)](_0x1800a9);});}[_0x50c1ff(0x1be)](_0x432482){const _0x2ae483=_0x50c1ff;this[_0x2ae483(0x12f)](_0x432482,_0x2ae483(0x1e4)),this[_0x2ae483(0x12f)](_0x432482,_0x2ae483(0x1c1));}[_0x50c1ff(0x18c)](_0x2d64d4){const _0x295e2a=_0x50c1ff,_0x256189=this[_0x295e2a(0x1ab)][_0x295e2a(0x1e8)][_0x295e2a(0x12d)](_0xc9ed5e),{config:_0x212e27,locale:_0x184a1b}=this[_0x295e2a(0x1ab)],_0x97254=_0x5c1c93(_0x212e27[_0x295e2a(0x12d)](_0x295e2a(0x132)),_0x184a1b);return new(0x0,(_0x212e27[_0x295e2a(0x12d)](_0x295e2a(0x191)))[(_0x295e2a(0x1af))])(_0x184a1b,_0x2d64d4,_0x256189['me'],{'editorConfig':{..._0x212e27[_0x295e2a(0x12d)](_0x295e2a(0x1b3)),'licenseKey':this[_0x295e2a(0x1ab)][_0x295e2a(0x130)][_0x295e2a(0x12d)](_0x295e2a(0x15f))},'copyMarkers':_0x212e27[_0x295e2a(0x12d)](_0x295e2a(0x1fb)),'maxCommentsWhenCollapsed':_0x212e27[_0x295e2a(0x12d)](_0x295e2a(0x1ae)),'maxThreadTotalWeight':_0x212e27[_0x295e2a(0x12d)](_0x295e2a(0x199)),'maxCommentCharsWhenCollapsed':_0x212e27[_0x295e2a(0x12d)](_0x295e2a(0x17e)),'formatDateTime':_0x97254,'CommentView':_0x212e27[_0x295e2a(0x12d)](_0x295e2a(0x191))[_0x295e2a(0x1f9)]});}[_0x50c1ff(0x1bc)]({threadId:_0x7e1daf,channelId:_0x3ee980,resolvedAt:_0x40a9e8,resolvedBy:_0x4a38bc,isFromAdapter:_0x167579}){const _0x1f448f=_0x50c1ff;if(!this[_0x1f448f(0x195)](_0x7e1daf))throw new _0xb472e5(_0x1f448f(0x1b8),null,{'threadId':_0x7e1daf});const _0x95cf53=this[_0x1f448f(0x16f)](_0x7e1daf);if(_0x95cf53[_0x1f448f(0x190)])throw new _0xb472e5(_0x1f448f(0x1d4),null,{'threadId':_0x7e1daf});const _0x2e3930=this[_0x1f448f(0x1ab)][_0x1f448f(0x1e8)][_0x1f448f(0x12d)](_0xc9ed5e);if(_0x95cf53[_0x1f448f(0x14c)]=_0x2e3930[_0x1f448f(0x1c7)](_0x4a38bc),_0x95cf53[_0x1f448f(0x15a)]=_0x40a9e8,_0x167579||!this[_0x1f448f(0x115)]||_0x1f448f(0x1d5)!=typeof this[_0x1f448f(0x115)][_0x1f448f(0x1cb)])return Promise[_0x1f448f(0x189)]();const _0x2daf9f=this[_0x1f448f(0x1ab)][_0x1f448f(0x1e8)][_0x1f448f(0x12d)](_0x1f448f(0x16c)),_0xb1db59=_0x2daf9f[_0x1f448f(0x159)](_0x8a747c(this[_0x1f448f(0x1ab)][_0x1f448f(0x132)],_0x1f448f(0x1e2)));return this[_0x1f448f(0x115)][_0x1f448f(0x1cb)]({'channelId':_0x3ee980,'threadId':_0x7e1daf})[_0x1f448f(0x1f0)](({resolvedAt:_0x161c88,resolvedBy:_0x4cf7bc})=>{const _0x534946=_0x1f448f;_0x2daf9f[_0x534946(0x174)](_0xb1db59),_0x95cf53[_0x534946(0x14c)]['id']!==_0x4cf7bc&&(_0x95cf53[_0x534946(0x14c)]=_0x2e3930[_0x534946(0x1c7)](_0x4cf7bc)),_0x95cf53[_0x534946(0x15a)]=_0x161c88;})[_0x1f448f(0x16a)](_0x603f60=>{const _0x5369bb=_0x1f448f;throw console[_0x5369bb(0x1b4)](_0x603f60),new _0xb472e5(_0x5369bb(0x1dd),this);});}[_0x50c1ff(0x176)]({threadId:_0x28972c,channelId:_0x335a22,isFromAdapter:_0x1626c9}){const _0x372e3c=_0x50c1ff;if(!this[_0x372e3c(0x195)](_0x28972c))throw new _0xb472e5(_0x372e3c(0x1b8),null,{'threadId':_0x28972c});const _0x162ff3=this[_0x372e3c(0x16f)](_0x28972c);if(!_0x162ff3[_0x372e3c(0x190)])throw new _0xb472e5(_0x372e3c(0x1ce),null,{'threadId':_0x28972c});if(_0x162ff3[_0x372e3c(0x14c)]=null,_0x162ff3[_0x372e3c(0x15a)]=null,_0x1626c9||!this[_0x372e3c(0x115)]||_0x372e3c(0x1d5)!=typeof this[_0x372e3c(0x115)][_0x372e3c(0x117)])return Promise[_0x372e3c(0x189)]();const _0x4304fd=this[_0x372e3c(0x1ab)][_0x372e3c(0x1e8)][_0x372e3c(0x12d)](_0x372e3c(0x16c)),_0x51cba5=_0x4304fd[_0x372e3c(0x159)](_0x8a747c(this[_0x372e3c(0x1ab)][_0x372e3c(0x132)],_0x372e3c(0x1e2)));return this[_0x372e3c(0x115)][_0x372e3c(0x117)]({'channelId':_0x335a22,'threadId':_0x28972c})[_0x372e3c(0x1f0)](()=>_0x4304fd[_0x372e3c(0x174)](_0x51cba5))[_0x372e3c(0x16a)](_0x66a19c=>{const _0x5b838e=_0x372e3c;throw console[_0x5b838e(0x1b4)](_0x66a19c),new _0xb472e5(_0x5b838e(0x193),this);});}[_0x50c1ff(0x118)]({threadId:_0x396392,isFromAdapter:_0x47412e}){const _0x3243d5=_0x50c1ff,_0x7e15bc=this[_0x3243d5(0x16f)](_0x396392);if(!_0x7e15bc)throw new _0xb472e5(_0x3243d5(0x133),this);if(this[_0x3243d5(0x17b)](_0x396392),this[_0x3243d5(0x139)][_0x3243d5(0x11c)](_0x396392),!_0x7e15bc[_0x3243d5(0x164)]||_0x47412e||!this[_0x3243d5(0x115)]||_0x3243d5(0x1d5)!=typeof this[_0x3243d5(0x115)][_0x3243d5(0x125)])return Promise[_0x3243d5(0x189)]();const _0x341771=this[_0x3243d5(0x1ab)][_0x3243d5(0x1e8)][_0x3243d5(0x12d)](_0x3243d5(0x16c)),{channelId:_0x5d8acc}=_0x7e15bc,_0x1be7e6=_0x341771[_0x3243d5(0x159)](_0x8a747c(this[_0x3243d5(0x1ab)][_0x3243d5(0x132)],_0x3243d5(0x1e2)));return this[_0x3243d5(0x115)][_0x3243d5(0x125)]({'channelId':_0x5d8acc,'threadId':_0x396392})[_0x3243d5(0x1f0)](()=>_0x341771[_0x3243d5(0x174)](_0x1be7e6))[_0x3243d5(0x16a)](_0x27c15b=>{const _0x433b6a=_0x3243d5;throw console[_0x433b6a(0x1b4)](_0x27c15b),new _0xb472e5(_0x433b6a(0x1fa),this);});}[_0x50c1ff(0x16d)]({threadId:_0x2198c4,unlinkedAt:_0x40a3a1,context:_0x5ccb35,attributes:_0x560e2f,isFromAdapter:_0x28f327}){const _0x4d5e5d=_0x50c1ff;if(_0x4d5e5d(0x11f)!=typeof _0x2198c4)throw new _0xb472e5(_0x4d5e5d(0x149),null,{'threadId':_0x2198c4});if(!this[_0x4d5e5d(0x195)](_0x2198c4))throw new _0xb472e5(_0x4d5e5d(0x1b8),null,{'threadId':_0x2198c4});const _0x55a0b0=this[_0x4d5e5d(0x16f)](_0x2198c4);let _0x82505e=!0x1;if(void 0x0!==_0x5ccb35&&_0x55a0b0[_0x4d5e5d(0x1ab)]!==_0x5ccb35&&(_0x55a0b0[_0x4d5e5d(0x1ab)]=_0x5ccb35,_0x82505e=!0x0),void 0x0!==_0x40a3a1&&_0x55a0b0[_0x4d5e5d(0x11d)]!==_0x40a3a1&&(_0x55a0b0[_0x4d5e5d(0x11d)]=_0x40a3a1,_0x82505e=!0x0),_0x560e2f&&!_0xd8b389(_0x560e2f,_0x55a0b0[_0x4d5e5d(0x136)])&&(_0x55a0b0[_0x4d5e5d(0x136)]=_0x560e2f,_0x82505e=!0x0),!_0x82505e)return Promise[_0x4d5e5d(0x189)]();if(!_0x55a0b0[_0x4d5e5d(0x164)]||_0x28f327||!this[_0x4d5e5d(0x115)]||_0x4d5e5d(0x1d5)!=typeof this[_0x4d5e5d(0x115)][_0x4d5e5d(0x188)])return Promise[_0x4d5e5d(0x189)]();const _0x56df08=this[_0x4d5e5d(0x1ab)][_0x4d5e5d(0x1e8)][_0x4d5e5d(0x12d)](_0x4d5e5d(0x16c)),{channelId:_0x39faf6}=_0x55a0b0,_0x2b6d6c=_0x56df08[_0x4d5e5d(0x159)](_0x8a747c(this[_0x4d5e5d(0x1ab)][_0x4d5e5d(0x132)],_0x4d5e5d(0x1e2)));return this[_0x4d5e5d(0x115)][_0x4d5e5d(0x188)]({'channelId':_0x39faf6,'threadId':_0x2198c4,'context':_0x5ccb35,'unlinkedAt':_0x40a3a1,'attributes':_0x560e2f})[_0x4d5e5d(0x1f0)](()=>_0x56df08[_0x4d5e5d(0x174)](_0x2b6d6c))[_0x4d5e5d(0x16a)](_0x23e883=>{const _0x27f13f=_0x4d5e5d;throw console[_0x27f13f(0x1b4)](_0x23e883),new _0xb472e5(_0x27f13f(0x198),this);});}[_0x50c1ff(0x17b)](_0x44037d){const _0x21b414=_0x50c1ff,_0x4c2361=this[_0x21b414(0x1ab)][_0x21b414(0x1e8)][_0x21b414(0x12d)](_0x5cac14),_0x5dfea2=this[_0x21b414(0x16f)](_0x44037d);if(_0x5dfea2[_0x21b414(0x122)]=!0x1,this[_0x21b414(0x16e)][_0x21b414(0x135)](_0x5dfea2)){const _0x5ecb46=this[_0x21b414(0x16e)][_0x21b414(0x12d)](_0x5dfea2),_0x568400=_0x5ecb46[_0x21b414(0x12b)],_0x1ddf8c=_0x4c2361[_0x21b414(0x1a2)](_0x568400);this[_0x21b414(0x16e)][_0x21b414(0x11c)](_0x5dfea2),this[_0x21b414(0x1c8)][_0x21b414(0x11c)](_0x568400),_0x1ddf8c&&_0x4c2361[_0x21b414(0x174)](_0x1ddf8c),_0x5ecb46[_0x21b414(0x129)](),_0x568400[_0x21b414(0x129)]()[_0x21b414(0x1f0)](()=>{const _0x2ce00f=_0x21b414;this[_0x2ce00f(0x1be)](_0x568400);});}}[_0x50c1ff(0x1b1)]({threadId:_0x2bb11e,resolvedAt:_0x6042dc,unlinkedAt:_0x278e88}){const _0x41659e=_0x50c1ff,_0x36ecbe=!!_0x6042dc,_0xdbbadc=this[_0x41659e(0x1ab)][_0x41659e(0x1e8)][_0x41659e(0x12d)](_0x5cac14),_0x19e25e=this[_0x41659e(0x16f)](_0x2bb11e);if(this[_0x41659e(0x16e)][_0x41659e(0x135)](_0x19e25e)){const _0x2deda5=this[_0x41659e(0x16e)][_0x41659e(0x12d)](_0x19e25e)[_0x41659e(0x12b)],_0x25e505=_0xdbbadc[_0x41659e(0x1a2)](_0x2deda5);_0x25e505&&(_0x36ecbe&&_0xdbbadc[_0x41659e(0x1e7)](_0x25e505),_0x278e88?_0x25e505[_0x41659e(0x1c2)]=!0x1:_0x25e505[_0x41659e(0x1c3)]());}}[_0x50c1ff(0x147)](_0x4c52fa){const _0x3b61f4=_0x50c1ff,_0x599b3e=this[_0x3b61f4(0x1ab)][_0x3b61f4(0x1e8)][_0x3b61f4(0x12d)](_0xc9ed5e),_0x30130b=_0x265c70(_0x3b61f4(0x1db)+_0x4c52fa),_0x42cf9b=_0x599b3e[_0x3b61f4(0x1c7)](_0x30130b);return _0x42cf9b||_0x599b3e[_0x3b61f4(0x120)]({'id':_0x30130b,'name':_0x4c52fa});}[_0x50c1ff(0x177)]({threadId:_0x530708,commentId:_0x8d84df=_0xbeb7ac(),content:_0x3b6b0a,authorId:_0x3e3557,createdAt:_0x374ecf,attributes:_0x1a5c0b}){const _0xceb234=_0x50c1ff;if(_0xceb234(0x11f)!=typeof _0x8d84df)throw new _0xb472e5(_0xceb234(0x19c));if(_0xceb234(0x11f)!=typeof _0x3e3557)throw new _0xb472e5(_0xceb234(0x19b));if(_0xceb234(0x11f)!=typeof _0x3b6b0a||!_0x3b6b0a[_0xceb234(0x124)]())throw new _0xb472e5(_0xceb234(0x1f7));const _0x13443c=this[_0xceb234(0x1ab)][_0xceb234(0x1e8)][_0xceb234(0x12d)](_0xc9ed5e)[_0xceb234(0x1c7)](_0x3e3557);if(!_0x13443c)throw new _0xb472e5(_0xceb234(0x13d),null,{'authorId':_0x3e3557});let _0x125748=null,_0x2d9d05=_0x374ecf;return _0x1a5c0b?.[_0xceb234(0x13e)]&&(_0x125748=this[_0xceb234(0x147)](_0x1a5c0b[_0xceb234(0x13e)][_0xceb234(0x15d)]),_0x2d9d05=new Date(_0x1a5c0b[_0xceb234(0x13e)][_0xceb234(0x128)])),new Comment(this,{'threadId':_0x530708,'id':_0x8d84df,'author':_0x125748||_0x13443c,'creator':_0x13443c,'content':_0x3b6b0a,'createdAt':_0x374ecf,'authoredAt':_0x2d9d05,'attributes':_0x1a5c0b});}[_0x50c1ff(0x116)](_0x6d112a){const _0x4fd79f=_0x50c1ff;let {threadId:_0x2f23b2,content:_0xd088c6,attributes:_0x451393,isFromAdapter:_0x3d3344}=_0x6d112a;const _0x426f4a=this[_0x4fd79f(0x16f)](_0x6d112a[_0x4fd79f(0x1a4)]);if(!_0x426f4a)throw new _0xb472e5(_0x4fd79f(0x1b2),this);const _0x3f470e=this[_0x4fd79f(0x177)](_0x6d112a),{id:_0x4cbf67}=_0x3f470e;if(_0x426f4a[_0x4fd79f(0x18b)](_0x3f470e),_0x3d3344||!this[_0x4fd79f(0x115)]||_0x4fd79f(0x1d5)!=typeof this[_0x4fd79f(0x115)][_0x4fd79f(0x1a9)]||!_0x426f4a[_0x4fd79f(0x164)])return Promise[_0x4fd79f(0x189)]();const _0x3ce93d=this[_0x4fd79f(0x1ab)][_0x4fd79f(0x1e8)][_0x4fd79f(0x12d)](_0x4fd79f(0x16c)),{channelId:_0x38d4e9}=_0x426f4a,_0x2ffee7=_0x3ce93d[_0x4fd79f(0x159)](_0x8a747c(this[_0x4fd79f(0x1ab)][_0x4fd79f(0x132)],_0x4fd79f(0x1e2)));return _0x451393||(_0x451393={}),this[_0x4fd79f(0x115)][_0x4fd79f(0x1a9)]({'channelId':_0x38d4e9,'threadId':_0x2f23b2,'commentId':_0x4cbf67,'content':_0xd088c6,'attributes':_0x451393})[_0x4fd79f(0x1f0)](_0x4de5d4=>{const _0x545f50=_0x4fd79f;_0x3ce93d[_0x545f50(0x174)](_0x2ffee7),_0x4de5d4&&this[_0x545f50(0x1bd)]({'channelId':_0x38d4e9,'threadId':_0x2f23b2,'commentId':_0x4cbf67,'createdAt':_0x4de5d4[_0x545f50(0x128)],'isFromAdapter':!0x0});})[_0x4fd79f(0x16a)](_0x457310=>{const _0x52c66f=_0x4fd79f;throw console[_0x52c66f(0x1b4)](_0x457310),new _0xb472e5(_0x52c66f(0x1d0),this);});}[_0x50c1ff(0x1bd)]({threadId:_0x25a7b4,commentId:_0x3f869d,content:_0x486ad4,createdAt:_0x27d115,attributes:_0x2bc5df,isFromAdapter:_0x57d93e}){const _0x283e66=_0x50c1ff;if(void 0x0!==_0x486ad4&&(_0x283e66(0x11f)!=typeof _0x486ad4||!_0x486ad4[_0x283e66(0x124)]()[_0x283e66(0x1c5)]))throw new _0xb472e5(_0x283e66(0x14d));const _0x789945=this[_0x283e66(0x16f)](_0x25a7b4),_0x135cd3=_0x789945[_0x283e66(0x12e)](_0x3f869d);if(!_0x135cd3)throw new _0xb472e5(_0x283e66(0x169),this);let _0x53bfcc=!0x1;if(_0x486ad4&&_0x486ad4!==_0x135cd3[_0x283e66(0x196)]&&(_0x135cd3[_0x283e66(0x1ee)]||_0x57d93e)&&(_0x135cd3[_0x283e66(0x196)]=_0x486ad4,_0x53bfcc=!0x0),_0x27d115&&_0x27d115!==_0x135cd3[_0x283e66(0x128)]&&(_0x135cd3[_0x283e66(0x128)]=_0x27d115,_0x135cd3[_0x283e66(0x136)]&&_0x135cd3[_0x283e66(0x136)][_0x283e66(0x13e)]||(_0x135cd3[_0x283e66(0x1d9)]=_0x27d115),_0x53bfcc=!0x0),_0x2bc5df&&!_0xd8b389(_0x2bc5df,_0x135cd3[_0x283e66(0x136)])&&(_0x135cd3[_0x283e66(0x136)]=_0x2bc5df,_0x53bfcc=!0x0),!_0x53bfcc)return Promise[_0x283e66(0x189)]();if(_0x789945[_0x283e66(0x156)](_0x283e66(0x19a)),_0x57d93e||!this[_0x283e66(0x115)]||_0x283e66(0x1d5)!=typeof this[_0x283e66(0x115)][_0x283e66(0x1a8)])return Promise[_0x283e66(0x189)]();const _0xcefb7c=this[_0x283e66(0x1ab)][_0x283e66(0x1e8)][_0x283e66(0x12d)](_0x283e66(0x16c)),{channelId:_0xdaec}=this[_0x283e66(0x16f)](_0x135cd3[_0x283e66(0x1a4)]),_0x42583d=_0xcefb7c[_0x283e66(0x159)](_0x8a747c(this[_0x283e66(0x1ab)][_0x283e66(0x132)],_0x283e66(0x1e2)));return this[_0x283e66(0x115)][_0x283e66(0x1a8)]({'channelId':_0xdaec,'threadId':_0x25a7b4,'commentId':_0x3f869d,'content':_0x486ad4,'attributes':_0x2bc5df})[_0x283e66(0x1f0)](()=>_0xcefb7c[_0x283e66(0x174)](_0x42583d))[_0x283e66(0x16a)](_0x50eb33=>{const _0x380cda=_0x283e66;throw console[_0x380cda(0x1b4)](_0x50eb33),new _0xb472e5(_0x380cda(0x19e),this);});}[_0x50c1ff(0x140)]({threadId:_0x47ef13,commentId:_0x129825,isFromAdapter:_0x2aaf89}){const _0x3a928c=_0x50c1ff,_0x723fa0=this[_0x3a928c(0x16f)](_0x47ef13),_0x33d00d=_0x723fa0[_0x3a928c(0x12e)](_0x129825);if(!_0x33d00d)throw new _0xb472e5(_0x3a928c(0x1ed),this);if(_0x723fa0[_0x3a928c(0x1b7)](_0x33d00d),_0x2aaf89||!this[_0x3a928c(0x115)]||_0x3a928c(0x1d5)!=typeof this[_0x3a928c(0x115)][_0x3a928c(0x141)])return Promise[_0x3a928c(0x189)]();const _0x589257=this[_0x3a928c(0x1ab)][_0x3a928c(0x1e8)][_0x3a928c(0x12d)](_0x3a928c(0x16c)),{channelId:_0x27d88d}=_0x723fa0,_0x2f4bce=_0x589257[_0x3a928c(0x159)](_0x8a747c(this[_0x3a928c(0x1ab)][_0x3a928c(0x132)],_0x3a928c(0x1e2)));return this[_0x3a928c(0x115)][_0x3a928c(0x141)]({'channelId':_0x27d88d,'threadId':_0x47ef13,'commentId':_0x129825})[_0x3a928c(0x1f0)](()=>_0x589257[_0x3a928c(0x174)](_0x2f4bce))[_0x3a928c(0x16a)](_0x281028=>{const _0x1acd22=_0x3a928c;throw console[_0x1acd22(0x1b4)](_0x281028),new _0xb472e5(_0x1acd22(0x127),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x585ba3(){[_0x50c1ff(0x154)];['id'];[_0x50c1ff(0x122)];[_0x50c1ff(0x18a)];[_0x50c1ff(0x191)];[_0x50c1ff(0x14b)];constructor(_0x3b75ea,_0x286457){const _0x363932=_0x50c1ff;super();const _0x335c79=_0x286457[_0x363932(0x151)];this[_0x363932(0x154)]=_0x286457[_0x363932(0x154)],this['id']=_0x286457['id'],this[_0x363932(0x191)]=new _0x4548a8(),this[_0x363932(0x14b)]=_0x3b75ea,this[_0x363932(0x122)]=!0x1,this[_0x363932(0x18a)]=_0x286457[_0x363932(0x164)],this[_0x363932(0x153)](_0x363932(0x184),!0x0),this[_0x363932(0x13b)](_0x363932(0x173))['to'](_0x3b75ea,_0x363932(0x185),_0x3b75ea,_0x363932(0x179),()=>_0x3b75ea[_0x363932(0x173)](this[_0x363932(0x154)])),this[_0x363932(0x13b)](_0x363932(0x1d2))['to'](_0x3b75ea,_0x363932(0x185),()=>_0x3b75ea[_0x363932(0x17d)](this[_0x363932(0x154)])[_0x363932(0x18f)]),this[_0x363932(0x13b)](_0x363932(0x170))['to'](_0x3b75ea,_0x363932(0x185),()=>{const _0x53736f=_0x363932,_0xc6b9c3=_0x3b75ea[_0x53736f(0x17d)](this[_0x53736f(0x154)]);return _0xc6b9c3[_0x53736f(0x192)]||_0xc6b9c3[_0x53736f(0x18f)];}),this[_0x363932(0x13b)](_0x363932(0x151))['to'](_0x3b75ea,_0x363932(0x185),()=>_0x335c79&&_0x3b75ea[_0x363932(0x17d)](this[_0x363932(0x154)])[_0x363932(0x189)]),this[_0x363932(0x153)](_0x363932(0x1ab),_0x286457[_0x363932(0x1ab)]),this[_0x363932(0x13b)](_0x363932(0x150))['to'](this,_0x363932(0x15a),this,_0x363932(0x11d),(_0x4c01df,_0x55f378)=>_0x4c01df?_0x55f378?_0x4c01df<_0x55f378?_0x4c01df:_0x55f378:_0x4c01df:_0x55f378),this[_0x363932(0x153)](_0x363932(0x11d),_0x286457[_0x363932(0x11d)]||null),this[_0x363932(0x153)](_0x363932(0x15a),_0x286457[_0x363932(0x15a)]||null),this[_0x363932(0x153)](_0x363932(0x14c),_0x286457[_0x363932(0x14c)]||null),this[_0x363932(0x13b)](_0x363932(0x190))['to'](this,_0x363932(0x15a),_0x454027=>!!_0x454027),this[_0x363932(0x153)](_0x363932(0x136),_0x286457[_0x363932(0x136)]||{});}get[_0x50c1ff(0x162)](){const _0x50f41e=_0x50c1ff;return Array[_0x50f41e(0x18d)](this[_0x50f41e(0x191)])[_0x50f41e(0x175)]((_0x5830f0,_0xb284e2)=>_0x5830f0+_0xb284e2[_0x50f41e(0x162)],0x0);}get[_0x50c1ff(0x1c5)](){const _0x52982d=_0x50c1ff;return this[_0x52982d(0x191)][_0x52982d(0x1c5)];}get[_0x50c1ff(0x197)](){const _0x441192=_0x50c1ff;return this[_0x441192(0x122)];}get[_0x50c1ff(0x164)](){const _0x2bddb2=_0x50c1ff;return this[_0x2bddb2(0x18a)];}[_0x50c1ff(0x19d)](){const _0x337ff8=_0x50c1ff,{channelId:_0x125a33,id:_0x19906d}=this;this[_0x337ff8(0x14b)][_0x337ff8(0x156)](Nt(_0x337ff8(0x187),_0x125a33),{'channelId':_0x125a33,'threadId':_0x19906d});}[_0x50c1ff(0x12a)](_0x1ecf57){const _0x5aed14=_0x50c1ff;this[_0x5aed14(0x194)]({'unlinkedAt':_0x1ecf57});}[_0x50c1ff(0x189)]({resolvedAt:_0x4200d0=new Date(),resolvedBy:_0x1a2ef5='',isFromAdapter:_0x46e584=!0x1}={}){const _0x1a1346=_0x50c1ff,_0x257197=this[_0x1a1346(0x14b)][_0x1a1346(0x1ab)][_0x1a1346(0x1e8)][_0x1a1346(0x12d)](_0xc9ed5e)['me'],{channelId:_0x1d14bd,id:_0x439754}=this;this[_0x1a1346(0x14b)][_0x1a1346(0x156)](Nt(_0x1a1346(0x1cb),_0x1d14bd),{'channelId':_0x1d14bd,'threadId':_0x439754,'resolvedAt':_0x4200d0,'resolvedBy':_0x1a2ef5||_0x257197['id'],'isFromAdapter':_0x46e584});}[_0x50c1ff(0x1df)]({isFromAdapter:_0x52d790=!0x1}={}){const _0x14752d=_0x50c1ff,{channelId:_0x16151d,id:_0x13688d}=this;this[_0x14752d(0x14b)][_0x14752d(0x156)](Nt(_0x14752d(0x117),_0x16151d),{'channelId':_0x16151d,'threadId':_0x13688d,'isFromAdapter':_0x52d790});}[_0x50c1ff(0x1f5)](_0x375ebe){const _0x2807a7=_0x50c1ff;this[_0x2807a7(0x1ab)]||this[_0x2807a7(0x194)]({'context':_0x375ebe});}[_0x50c1ff(0x155)](_0x544d4f,_0x3ba1ea){const _0x582902=_0x50c1ff,_0x1394b2=_0x25b13e(this[_0x582902(0x136)]);_0x5bc3b8(_0x1394b2,_0x544d4f,_0x3ba1ea),this[_0x582902(0x194)]({'attributes':_0x1394b2});}[_0x50c1ff(0x1ef)](_0xb9d870){const _0xb1cacc=_0x50c1ff,_0x542cce=_0x25b13e(this[_0xb1cacc(0x136)]);_0x58924e(_0x542cce,_0xb9d870),this[_0xb1cacc(0x194)]({'attributes':_0x542cce});}[_0x50c1ff(0x174)]({isFromAdapter:_0x178b89=!0x1}={}){const _0x4a0fe0=_0x50c1ff,{channelId:_0x1bc998,id:_0x5f6add}=this;this[_0x4a0fe0(0x14b)][_0x4a0fe0(0x156)](Nt(_0x4a0fe0(0x125),_0x1bc998),{'channelId':_0x1bc998,'threadId':_0x5f6add,'isFromAdapter':_0x178b89});}[_0x50c1ff(0x1d7)](_0x5c9c1b){const _0x188651=_0x50c1ff;return this[_0x188651(0x14b)][_0x188651(0x160)]({'threadId':this['id'],'target':_0x5c9c1b});}[_0x50c1ff(0x1a9)](_0x48da93){const _0x34e186=_0x50c1ff,{channelId:_0x599d77,id:_0x17b494}=this;this[_0x34e186(0x14b)][_0x34e186(0x156)](Nt(_0x34e186(0x1a9),_0x599d77,_0x17b494),Object[_0x34e186(0x180)]({'channelId':_0x599d77,'threadId':_0x17b494},_0x48da93));}[_0x50c1ff(0x12e)](_0x697aec){const _0x2aa841=_0x50c1ff;if(_0x2aa841(0x11f)!=typeof _0x697aec)throw new _0xb472e5(_0x2aa841(0x1f8),null,{'commentId':_0x697aec});return this[_0x2aa841(0x191)][_0x2aa841(0x12d)](_0x697aec);}[_0x50c1ff(0x126)](){const _0x2facb9=_0x50c1ff;return{'threadId':this['id'],'context':this[_0x2facb9(0x1ab)],'unlinkedAt':this[_0x2facb9(0x11d)],'resolvedAt':this[_0x2facb9(0x15a)],'resolvedBy':this[_0x2facb9(0x14c)]?this[_0x2facb9(0x14c)]['id']:null,'archivedAt':this[_0x2facb9(0x150)],'comments':this[_0x2facb9(0x191)][_0x2facb9(0x1aa)](_0x358d9d=>_0x358d9d[_0x2facb9(0x126)]()),'attributes':this[_0x2facb9(0x136)]};}[_0x50c1ff(0x18b)](_0x58566c){const _0x55c30a=_0x50c1ff;return this[_0x55c30a(0x1e3)](_0x58566c,_0x55c30a(0x1de),()=>{const _0xf3b635=_0x55c30a,_0x37b153=this[_0xf3b635(0x18e)](_0x58566c),_0x369ad8=this[_0xf3b635(0x191)];_0x37b153-0x1!=_0x369ad8[_0xf3b635(0x1b9)](_0x58566c)&&_0x37b153+0x1!=_0x369ad8[_0xf3b635(0x1b9)](_0x58566c)&&(this[_0xf3b635(0x1b7)](_0x58566c),this[_0xf3b635(0x18b)](_0x58566c));}),this[_0x55c30a(0x191)][_0x55c30a(0x159)](_0x58566c,this[_0x55c30a(0x18e)](_0x58566c));}[_0x50c1ff(0x194)](_0x1b12c1){const _0xd158c1=_0x50c1ff,{channelId:_0x5062e5,id:_0xecf7a3}=this;this[_0xd158c1(0x14b)][_0xd158c1(0x156)](Nt(_0xd158c1(0x188),_0x5062e5),{..._0x1b12c1,'channelId':_0x5062e5,'threadId':_0xecf7a3});}[_0x50c1ff(0x1b7)](_0x5c922d){const _0x53260b=_0x50c1ff;return this[_0x53260b(0x12f)](_0x5c922d),_0x5c922d[_0x53260b(0x129)](),this[_0x53260b(0x191)][_0x53260b(0x174)](_0x5c922d);}[_0x50c1ff(0x18e)](_0x15a2b1){const _0x78f4cb=_0x50c1ff,_0x2fab57=this[_0x78f4cb(0x191)][_0x78f4cb(0x1e1)](_0x3d5408=>new Date(_0x3d5408[_0x78f4cb(0x1d9)])[_0x78f4cb(0x11e)]()>new Date(_0x15a2b1[_0x78f4cb(0x1d9)])[_0x78f4cb(0x11e)]());return _0x2fab57?this[_0x78f4cb(0x191)][_0x78f4cb(0x1b9)](_0x2fab57):this[_0x78f4cb(0x1c5)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x585ba3(){['id'];[_0x50c1ff(0x1a4)];[_0x50c1ff(0x148)];[_0x50c1ff(0x11b)];[_0x50c1ff(0x11a)];[_0x50c1ff(0x128)];[_0x50c1ff(0x14b)];constructor(_0xe963f4,_0x352864){const _0x5413e5=_0x50c1ff;super();const _0x2a0e08=_0xe963f4[_0x5413e5(0x1ab)][_0x5413e5(0x1e8)][_0x5413e5(0x12d)](_0xc9ed5e)['me'],_0x389184=_0xe963f4[_0x5413e5(0x16f)](_0x352864[_0x5413e5(0x1a4)]),_0x84620a=0x0===_0x389184[_0x5413e5(0x191)][_0x5413e5(0x1c5)],_0x9218d2=_0x2a0e08===_0x352864[_0x5413e5(0x148)];this['id']=_0x352864['id'],this[_0x5413e5(0x1a4)]=_0x352864[_0x5413e5(0x1a4)],this[_0x5413e5(0x148)]=_0x352864[_0x5413e5(0x148)],this[_0x5413e5(0x11b)]=_0x352864[_0x5413e5(0x11b)],this[_0x5413e5(0x11a)]=Boolean(_0x352864[_0x5413e5(0x136)]&&_0x352864[_0x5413e5(0x136)][_0x5413e5(0x13e)]),this[_0x5413e5(0x153)](_0x5413e5(0x196),_0x352864[_0x5413e5(0x196)]),this[_0x5413e5(0x128)]=_0x352864[_0x5413e5(0x128)]||new Date(),this[_0x5413e5(0x153)](_0x5413e5(0x1d9),_0x352864[_0x5413e5(0x1d9)]||new Date()),this[_0x5413e5(0x13b)](_0x5413e5(0x15a))['to'](_0x389184,_0x5413e5(0x15a)),this[_0x5413e5(0x153)](_0x5413e5(0x136),_0x352864[_0x5413e5(0x136)]||{}),this[_0x5413e5(0x13b)](_0x5413e5(0x1ee))['to'](_0xe963f4,_0x5413e5(0x185),()=>{const _0x59c1cd=_0x5413e5,_0x492bca=_0xe963f4[_0x59c1cd(0x17d)](_0x389184[_0x59c1cd(0x154)])[_0x59c1cd(0x192)],_0x290681=_0xe963f4[_0x59c1cd(0x17d)](_0x389184[_0x59c1cd(0x154)])[_0x59c1cd(0x1a1)];return _0x9218d2&&_0x492bca||!_0x9218d2&&_0x290681;}),this[_0x5413e5(0x13b)](_0x5413e5(0x1d2))['to'](_0x389184,_0x5413e5(0x1d2),_0xe963f4,_0x5413e5(0x185),_0x117830=>{const _0x74ebae=_0x5413e5,_0xde4b99=_0xe963f4[_0x74ebae(0x17d)](_0x389184[_0x74ebae(0x154)])[_0x74ebae(0x192)],_0x4886c7=_0xe963f4[_0x74ebae(0x17d)](_0x389184[_0x74ebae(0x154)])[_0x74ebae(0x1a1)];return _0x9218d2&&_0xde4b99||_0x117830&&_0x84620a||!_0x9218d2&&_0x4886c7&&!_0x84620a;}),this[_0x5413e5(0x13b)](_0x5413e5(0x173))['to'](_0x389184,_0x5413e5(0x173)),this[_0x5413e5(0x14b)]=_0xe963f4;}get[_0x50c1ff(0x162)](){const _0x2abcea=_0x50c1ff;return Math[_0x2abcea(0x183)](function(_0x2be656){const _0x1c4c34=_0x2abcea,_0x4552e4=document[_0x1c4c34(0x1bf)](_0x1c4c34(0x1cc));return _0x4552e4[_0x1c4c34(0x1e0)]=_0x2be656,_0x4552e4[_0x1c4c34(0x1d3)][_0x1c4c34(0x1c5)];}(this[_0x2abcea(0x196)]),0xc8);}[_0x50c1ff(0x1f4)](_0x3c054e){const _0x451922=_0x50c1ff,{threadId:_0x5e3e6b,id:_0x45445b}=this;if(!this[_0x451922(0x14b)][_0x451922(0x195)](_0x5e3e6b))throw new _0xb472e5(_0x451922(0x168),this);const {channelId:_0x9d73c6}=this[_0x451922(0x14b)][_0x451922(0x16f)](_0x5e3e6b);this[_0x451922(0x14b)][_0x451922(0x156)](Nt(_0x451922(0x1a8),_0x9d73c6,_0x5e3e6b),{'channelId':_0x9d73c6,'threadId':_0x5e3e6b,'commentId':_0x45445b,..._0x3c054e});}[_0x50c1ff(0x155)](_0x2715c3,_0x44a5a6){const _0x134224=_0x50c1ff,_0x303bfe=_0x25b13e(this[_0x134224(0x136)]);_0x5bc3b8(_0x303bfe,_0x2715c3,_0x44a5a6),this[_0x134224(0x1f4)]({'attributes':_0x303bfe});}[_0x50c1ff(0x1ef)](_0x18fb78){const _0x41f04c=_0x50c1ff,_0x2c5704=_0x25b13e(this[_0x41f04c(0x136)]);_0x58924e(_0x2c5704,_0x18fb78),this[_0x41f04c(0x1f4)]({'attributes':_0x2c5704});}[_0x50c1ff(0x174)](_0x429598={}){const _0x52bb32=_0x50c1ff;if(!_0x429598[_0x52bb32(0x143)]&&!this[_0x52bb32(0x1d2)])return;const {threadId:_0x1bf626,id:_0x2207ba}=this;if(!this[_0x52bb32(0x14b)][_0x52bb32(0x195)](_0x1bf626))throw new _0xb472e5(_0x52bb32(0x172),this);const {channelId:_0x319d0d}=this[_0x52bb32(0x14b)][_0x52bb32(0x16f)](_0x1bf626);this[_0x52bb32(0x14b)][_0x52bb32(0x156)](Nt(_0x52bb32(0x141),_0x319d0d,_0x1bf626),{'channelId':_0x319d0d,'threadId':_0x1bf626,'commentId':_0x2207ba,..._0x429598});}[_0x50c1ff(0x126)](){const _0x318052=_0x50c1ff;return{'commentId':this['id'],'content':this[_0x318052(0x196)],'createdAt':this[_0x318052(0x128)],'authorId':this[_0x318052(0x11b)]['id'],'attributes':this[_0x318052(0x136)]};}[_0x50c1ff(0x129)](){const _0x584162=_0x50c1ff;this[_0x584162(0x12f)]();}}function Nt(_0x66f021,..._0x52077a){for(const _0x21453e of _0x52077a)void 0x0!==_0x21453e&&(_0x66f021+=':'+String(_0x21453e));return _0x66f021;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2b4483=_0x5506;(function(_0x458637,_0x55a5b5){const _0x3efa90=_0x5506,_0x47d65d=_0x458637();while(!![]){try{const _0x1141b0=-parseInt(_0x3efa90(0x1bf))/0x1*(parseInt(_0x3efa90(0x1ce))/0x2)+parseInt(_0x3efa90(0x1f5))/0x3*(parseInt(_0x3efa90(0x1f0))/0x4)+parseInt(_0x3efa90(0x1c7))/0x5*(parseInt(_0x3efa90(0x1db))/0x6)+-parseInt(_0x3efa90(0x1d5))/0x7+-parseInt(_0x3efa90(0x210))/0x8+-parseInt(_0x3efa90(0x1f6))/0x9+parseInt(_0x3efa90(0x1e1))/0xa*(parseInt(_0x3efa90(0x209))/0xb);if(_0x1141b0===_0x55a5b5)break;else _0x47d65d['push'](_0x47d65d['shift']());}catch(_0x4f340c){_0x47d65d['push'](_0x47d65d['shift']());}}}(_0x3a2f,0xa0c8a));function _0x3a2f(){const _0x2585a4=['focusTracker','commentsLicenseKeyValid','usageLimit','2640212VETNcp','comment','Comments','push','innerView','3ZyJnCq','11029248WEMPlm','map','expired','CommentThreadInputView','hasCommentThread','focus','featureNotAllowed','config','low','set','_showLicenseError','CommentsUI','has','CommentsListView','removeCommentThread','add','bind','editing','pluginName','33bdWmdR','getCommentThread','_licenseKeyCheckInterval','comment:','menuBar:comment','getRange','hasContent','1319848nvrmEI','componentFactory','commands','init','getAllMarkersForId','2965cMpsey','from','view','activeMarker','licenseKey','editor','hasMarkerForId','commentsLicenseKeyInvalid','10tfuRuq','commentsLicenseKeyEvaluationLimit','get','execute','addCommentThread','commentsLicenseKeyNotAllowed','isOfficialPlugin','172SXBWgh','find','domainLimit','commentsLicenseKeyExpired','isPremiumPlugin','commentsLicenseKeyDomainLimit','isFocused','3879183RvstXo','Comment','requires','model','addSourceCollector','evaluationLimit','3280272BMlZnz','isEnabled','invalid','change:activeAnnotations','plugins','_viewToController','3682350YMNsjp','_threadToController','locale','length','tooltip','listenTo','_createUIButton','highest','stop','addComment','commentsLicenseKeyUsageLimit','destroy'];_0x3a2f=function(){return _0x2585a4;};return _0x3a2f();}import{Plugin as _0x450259}from'ckeditor5/src/core.js';import{IconAddComment as _0x5d9739}from'ckeditor5/src/icons.js';import{CommentsRepository as _0xd2509d}from'./commentsrepository.js';import{CommentsEditing as _0x24e8cc}from'./commentsediting.js';import{EditorAnnotations as _0x172961}from'../annotations/editorannotations.js';import{ButtonView as _0x551ff1,MenuBarMenuListItemButtonView as _0x386edc}from'ckeditor5/src/ui.js';import{Annotations as _0x51376b}from'../annotations/annotations.js';import{CommentsListView as _0x296245}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x5f4c33}from'./ui/view/commentthreadinputview.js';function _0x5506(_0x1e3de7,_0x4a25b3){const _0x3a2faa=_0x3a2f();return _0x5506=function(_0x5506ad,_0x2f7573){_0x5506ad=_0x5506ad-0x1bd;let _0xa102a3=_0x3a2faa[_0x5506ad];return _0xa102a3;},_0x5506(_0x1e3de7,_0x4a25b3);}import{getTranslation as _0x28f869}from'../utils/common-translations.js';export class CommentsUI extends _0x450259{[_0x2b4483(0x1c3)];[_0x2b4483(0x20b)];static get[_0x2b4483(0x208)](){const _0x1b3cc3=_0x2b4483;return _0x1b3cc3(0x201);}static get[_0x2b4483(0x1cd)](){return!0x0;}static get[_0x2b4483(0x1d2)](){return!0x0;}static get[_0x2b4483(0x1d7)](){return[_0xd2509d,_0x24e8cc,_0x172961,_0x51376b];}get[_0x2b4483(0x203)](){return _0x296245;}get[_0x2b4483(0x1f9)](){return _0x5f4c33;}[_0x2b4483(0x1bd)](){const _0x3f4c7c=_0x2b4483,_0x17d451=this[_0x3f4c7c(0x1c4)],_0x6eba60=_0x17d451[_0x3f4c7c(0x1df)][_0x3f4c7c(0x1c9)](_0xd2509d),_0x4326d3=_0x17d451[_0x3f4c7c(0x1df)][_0x3f4c7c(0x1c9)](_0x24e8cc),_0x9e75c4=_0x17d451[_0x3f4c7c(0x1df)][_0x3f4c7c(0x1c9)](_0x51376b),_0x36d1b3=_0x17d451[_0x3f4c7c(0x1df)][_0x3f4c7c(0x1c9)](_0x172961);_0x17d451['ui'][_0x3f4c7c(0x211)][_0x3f4c7c(0x205)](_0x3f4c7c(0x1f1),()=>{const _0x29fb08=_0x3f4c7c,_0x4358a3=this[_0x29fb08(0x1e7)](_0x551ff1);return _0x4358a3[_0x29fb08(0x1e5)]=!0x0,_0x4358a3;}),_0x17d451['ui'][_0x3f4c7c(0x211)][_0x3f4c7c(0x205)](_0x3f4c7c(0x20d),()=>this[_0x3f4c7c(0x1e7)](_0x386edc)),_0x36d1b3[_0x3f4c7c(0x1d9)](()=>{const _0x31ba94=_0x3f4c7c,_0x3a12f4=[];for(const [_0x2e8da2,_0x8c065e]of _0x6eba60[_0x31ba94(0x1e2)]){const _0x32104d=_0x4326d3[_0x31ba94(0x1be)](_0x2e8da2['id']),_0x27f1d6=_0x32104d[_0x31ba94(0x1f7)](_0x1cd0a6=>_0x1cd0a6[_0x31ba94(0x20e)]());_0x32104d[_0x31ba94(0x1e4)]>0x0&&_0x3a12f4[_0x31ba94(0x1f3)]([_0x8c065e[_0x31ba94(0x1c1)],_0x27f1d6]);}return _0x3a12f4;}),this[_0x3f4c7c(0x1e6)](_0x9e75c4,_0x3f4c7c(0x1de),(_0x2485d1,_0x3bcd8d,_0x48bd8a)=>{const _0x4e3f1e=_0x3f4c7c,_0x19fb25=Array[_0x4e3f1e(0x1c0)](_0x48bd8a)[_0x4e3f1e(0x1f7)](_0x447e21=>_0x447e21[_0x4e3f1e(0x1f4)])[_0x4e3f1e(0x1cf)](_0x2e6bef=>_0x6eba60[_0x4e3f1e(0x1e0)][_0x4e3f1e(0x202)](_0x2e6bef));if(!_0x19fb25)return void(_0x4326d3[_0x4e3f1e(0x1c2)]=null);const _0x37bf2f=_0x6eba60[_0x4e3f1e(0x1e0)][_0x4e3f1e(0x1c9)](_0x19fb25)[_0x4e3f1e(0x1d8)]['id'],_0x2b9f0e=_0x4e3f1e(0x20c)+_0x37bf2f;_0x37bf2f&&_0x4326d3[_0x4e3f1e(0x1c5)](_0x37bf2f)?_0x4326d3[_0x4e3f1e(0x1c2)]=_0x2b9f0e:_0x4326d3[_0x4e3f1e(0x1c2)]&&(_0x4326d3[_0x4e3f1e(0x1c2)]=null);}),this[_0x3f4c7c(0x1e6)](_0x6eba60,_0x3f4c7c(0x204),(_0x138051,{threadId:_0x11cfff,isFromAdapter:_0x30cdec})=>{const _0x2b52cb=_0x3f4c7c;!_0x30cdec&&_0x17d451['ui'][_0x2b52cb(0x1ed)][_0x2b52cb(0x1d4)]&&_0x4326d3[_0x2b52cb(0x1c5)](_0x11cfff)&&_0x17d451[_0x2b52cb(0x207)][_0x2b52cb(0x1c1)][_0x2b52cb(0x1fb)]();},{'priority':_0x3f4c7c(0x1e8)}),this[_0x3f4c7c(0x1e6)](_0x6eba60,_0x3f4c7c(0x1ea),(_0x497018,{threadId:_0x19ab7d,isFromAdapter:_0xee93cd})=>{const _0x522fce=_0x3f4c7c;if(_0xee93cd||!_0x4326d3[_0x522fce(0x1c5)](_0x19ab7d)||!_0x6eba60[_0x522fce(0x1fa)](_0x19ab7d))return;0x1===_0x6eba60[_0x522fce(0x20a)](_0x19ab7d)[_0x522fce(0x1e4)]&&(_0x17d451[_0x522fce(0x207)][_0x522fce(0x1c1)][_0x522fce(0x1fb)](),_0x497018[_0x522fce(0x1e9)]());},{'priority':_0x3f4c7c(0x1fe)}),this[_0x3f4c7c(0x1c3)]=this[_0x3f4c7c(0x1c4)][_0x3f4c7c(0x1fd)][_0x3f4c7c(0x1c9)](_0x3f4c7c(0x1c3));const _0x25582a=this[_0x3f4c7c(0x1c4)];this[_0x3f4c7c(0x20b)]=setInterval(()=>{const _0x87661a=_0x3f4c7c;let _0x3968eb;for(const _0x25d31e in _0x25582a){const _0x510511=_0x25d31e,_0x1b5075=_0x25582a[_0x510511];if(_0x87661a(0x1ee)==_0x1b5075||_0x87661a(0x1c6)==_0x1b5075||_0x87661a(0x1d1)==_0x1b5075||_0x87661a(0x1d3)==_0x1b5075||_0x87661a(0x1cc)==_0x1b5075||_0x87661a(0x1c8)==_0x1b5075||_0x87661a(0x1eb)==_0x1b5075){delete _0x25582a[_0x510511],_0x3968eb=_0x1b5075,clearInterval(this[_0x87661a(0x20b)]),this[_0x87661a(0x20b)]=void 0x0;break;}}_0x87661a(0x1c6)==_0x3968eb&&_0x25582a[_0x87661a(0x200)](_0x87661a(0x1dd)),_0x87661a(0x1d1)==_0x3968eb&&_0x25582a[_0x87661a(0x200)](_0x87661a(0x1f8)),_0x87661a(0x1d3)==_0x3968eb&&_0x25582a[_0x87661a(0x200)](_0x87661a(0x1d0)),_0x87661a(0x1cc)==_0x3968eb&&_0x25582a[_0x87661a(0x200)](_0x87661a(0x1fc),_0x87661a(0x1f2)),_0x87661a(0x1c8)==_0x3968eb&&_0x25582a[_0x87661a(0x200)](_0x87661a(0x1da)),_0x87661a(0x1eb)==_0x3968eb&&_0x25582a[_0x87661a(0x200)](_0x87661a(0x1ef));},0x3e8);}[_0x2b4483(0x1ec)](){const _0x1ace8c=_0x2b4483;super[_0x1ace8c(0x1ec)](),this[_0x1ace8c(0x20b)]&&clearInterval(this[_0x1ace8c(0x20b)]);}[_0x2b4483(0x1e7)](_0x19d3c4){const _0x1e945b=_0x2b4483,_0x4db5cc=this[_0x1e945b(0x1c4)],_0x28cd3f=new _0x19d3c4(_0x4db5cc[_0x1e945b(0x1e3)]),_0xc30253=_0x4db5cc[_0x1e945b(0x212)][_0x1e945b(0x1c9)](_0x1e945b(0x1cb));return _0x28cd3f[_0x1e945b(0x1ff)]({'label':_0x28f869(_0x4db5cc[_0x1e945b(0x1e3)],_0x1e945b(0x1d6)),'icon':_0x5d9739}),_0x28cd3f[_0x1e945b(0x206)](_0x1e945b(0x1dc))['to'](_0xc30253,_0x1e945b(0x1dc),_0xc30253,_0x1e945b(0x20f),(_0x25f46e,_0x3dc104)=>_0x25f46e&&_0x3dc104),this[_0x1e945b(0x1e6)](_0x28cd3f,_0x1e945b(0x1ca),()=>{const _0x530a58=_0x1e945b;_0xc30253[_0x530a58(0x1ca)]();}),_0x28cd3f;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1ee2(){const _0x5a9b38=['_registerMarkerInClipboardPipeline','cut','contentInsertion','168RTmVDO','15050172zusckl','requires','80790vbxWHV','afterInit','240100RPCdcw','markers','comment','236vBltqb','hasCommentThread','config','has','CommentsRepository','90395amqiqE','ClipboardPipeline','81CArCNM','_removeMarkersWithoutThreads','ClipboardMarkersUtils','split','22RQnyUY','highest','listenTo','content','never','delete','keys','_mapCommentsCopyConfigToRegisterConfiguration','330670TcMBDk','editor','474ptaWBX','comments.copyMarkers','638342MmHgGU','always','default','plugins','all','get','_registerMarkerToCopy','dragstart','1035737wjyvcp','define'];_0x1ee2=function(){return _0x5a9b38;};return _0x1ee2();}const _0x2d159c=_0x2d23;function _0x2d23(_0x397116,_0x3ff1fa){const _0x1ee2bd=_0x1ee2();return _0x2d23=function(_0x2d23ae,_0x2cc468){_0x2d23ae=_0x2d23ae-0x65;let _0x31d63e=_0x1ee2bd[_0x2d23ae];return _0x31d63e;},_0x2d23(_0x397116,_0x3ff1fa);}(function(_0x47fcf8,_0x4f392f){const _0xe7ede5=_0x2d23,_0x622d75=_0x47fcf8();while(!![]){try{const _0x328055=-parseInt(_0xe7ede5(0x6a))/0x1+parseInt(_0xe7ede5(0x8e))/0x2+parseInt(_0xe7ede5(0x72))/0x3*(parseInt(_0xe7ede5(0x77))/0x4)+parseInt(_0xe7ede5(0x7c))/0x5*(-parseInt(_0xe7ede5(0x8c))/0x6)+parseInt(_0xe7ede5(0x74))/0x7*(-parseInt(_0xe7ede5(0x6f))/0x8)+parseInt(_0xe7ede5(0x7e))/0x9*(-parseInt(_0xe7ede5(0x8a))/0xa)+-parseInt(_0xe7ede5(0x82))/0xb*(-parseInt(_0xe7ede5(0x70))/0xc);if(_0x328055===_0x4f392f)break;else _0x622d75['push'](_0x622d75['shift']());}catch(_0x2fc408){_0x622d75['push'](_0x622d75['shift']());}}}(_0x1ee2,0xe427a));import{Plugin as _0x498cce}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x3636ce,ClipboardMarkersUtils as _0x1a57dd}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x498cce{constructor(_0xc793bb){const _0x4ddda4=_0x2d23;super(_0xc793bb),this[_0x4ddda4(0x8b)][_0x4ddda4(0x79)][_0x4ddda4(0x6b)](_0x4ddda4(0x8d),_0x4ddda4(0x90));}static get[_0x2d159c(0x71)](){return[_0x1a57dd,_0x3636ce];}[_0x2d159c(0x73)](){const _0x120b70=_0x2d159c,_0x143b77=this[_0x120b70(0x8b)][_0x120b70(0x65)][_0x120b70(0x67)](_0x120b70(0x7d));this[_0x120b70(0x6c)](),this[_0x120b70(0x84)](_0x143b77,_0x120b70(0x6e),(_0x152beb,_0x5358b3)=>this[_0x120b70(0x7f)](_0x5358b3[_0x120b70(0x85)][_0x120b70(0x75)]),{'priority':_0x120b70(0x83)});}[_0x2d159c(0x7f)](_0x2d8625){const _0x1a3223=_0x2d159c;if(!this[_0x1a3223(0x8b)][_0x1a3223(0x65)][_0x1a3223(0x7a)](_0x1a3223(0x7b)))return _0x2d8625;const _0x3229e8=this[_0x1a3223(0x8b)][_0x1a3223(0x65)][_0x1a3223(0x67)](_0x1a3223(0x7b));for(const _0x5488ef of _0x2d8625[_0x1a3223(0x88)]()){const [_0x11a249,_0x4bf144]=_0x5488ef[_0x1a3223(0x81)](':');_0x1a3223(0x76)!=_0x11a249||_0x3229e8[_0x1a3223(0x78)](_0x4bf144)||_0x2d8625[_0x1a3223(0x87)](_0x5488ef);}return _0x2d8625;}[_0x2d159c(0x6c)](){const _0x3c1d56=_0x2d159c,_0x1159bc=this[_0x3c1d56(0x8b)][_0x3c1d56(0x65)][_0x3c1d56(0x67)](_0x3c1d56(0x80)),_0x3bd5de=this[_0x3c1d56(0x89)](this[_0x3c1d56(0x8b)][_0x3c1d56(0x79)][_0x3c1d56(0x67)](_0x3c1d56(0x8d)));_0x3bd5de&&_0x1159bc[_0x3c1d56(0x68)](_0x3c1d56(0x76),_0x3bd5de);}[_0x2d159c(0x89)](_0x288e1f){const _0x9d1443=_0x2d159c;switch(_0x288e1f){case _0x9d1443(0x8f):return{'allowedActions':_0x9d1443(0x66),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x9d1443(0x90):return{'allowedActions':[_0x9d1443(0x6d),_0x9d1443(0x69)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x9d1443(0x86):return null;default:return null;}}}
|