@ckeditor/ckeditor5-comments 47.6.0-alpha.1 → 47.6.0-alpha.3
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 _0x478c50=_0x5e1f;(function(_0x4c2efc,_0x5a02ee){const _0x4f376c=_0x5e1f,_0x368a14=_0x4c2efc();while(!![]){try{const _0x2e4cb3=-parseInt(_0x4f376c(0x139))/0x1+parseInt(_0x4f376c(0xe1))/0x2+parseInt(_0x4f376c(0x108))/0x3+-parseInt(_0x4f376c(0xe9))/0x4*(-parseInt(_0x4f376c(0x128))/0x5)+parseInt(_0x4f376c(0xe6))/0x6+-parseInt(_0x4f376c(0x143))/0x7+parseInt(_0x4f376c(0x10e))/0x8*(-parseInt(_0x4f376c(0x142))/0x9);if(_0x2e4cb3===_0x5a02ee)break;else _0x368a14['push'](_0x368a14['shift']());}catch(_0x49bf14){_0x368a14['push'](_0x368a14['shift']());}}}(_0x3a73,0xebca1));function _0x3a73(){const _0x5c75ff=['addComment','comment:','174972FUsbFY','delete','destroyed','145484XtEakw','_detachCommentThread','locale','view','data','hasContent','_reconvertMarkers','ck-comment-marker','isSubmitted','markers','getCommentThreads','enqueueChange','_handleThreadMarker','getAllMarkersForId','end','setContext','clear','hasMarkerForId','registerAnnotation','length','_initAriaMarkerChangeAnnouncements','registerPostFixer','filter','hasDomSelection','announce','editingDowncast','getCommentThread','_handleMarkerAddAndRemove','from','add','createRange','2887191AATbpA','isPremiumPlugin','hasCommentThread','attachTo','href','conversion','278896EWuZur','dataToMarker','removeMarker','editor','consumable','collaboration.channelId','getChangedMarkers','isCollapsed','isEqual','once','isResolved','_threadToController','change:isReadOnly','then','first','group','remove','isObject','getAttribute','$graveyard','comments','requires','isOfficialPlugin','start','updateMarker','ignoreResolvedComments','35Irlios','destroy','removeMarker:','set','affectsData','focus','getWalker','markerToData','addMarker:','editing','document','$marker','unlinkedAt','setUnlinkedAt','substring','ENTER_COMMENT_ANNOUNCEMENT','channelId','711112QyJaNo','CommentsEditing','_attachArchivedThread','dataDowncast','refreshVisibility','addCommentThread','commands','_threads','name','171gtNxDU','2487667zbspHF','_getTargetForId','_attachMarkerToThread','activeMarker','map','item','resolveCommentThread','isThreadsLoadingPaused','_initializeMarkerConverters','state','_handleInitialThreads','size','createElement','ariaLiveAnnouncer','model','upcast','fromCharCode','differ','createPositionBefore','fetchCommentThread','get','change:isThreadsLoadingPaused','reopenCommentThread','join','reconvertMarker','plugins','getItems','init','getRange','listenTo','openNewCommentThread','push','change:activeMarker','$textProxy','context','consume','managedUsingOperations','ck-comment-marker--active','elementToElement','comment','isAttached','forEach','config','newRange','switchReadOnly','getByInnerView','pluginName','startsWith','showCommentHighlights','LEAVE_COMMENT_ANNOUNCEMENT','schema','markerToHighlight','_getTextContext','afterInit','text','for','author','rootName','ready','markerName','render','removeCommentThread','change','root','scrollToThreadMarker','2897016EMhiLt','low','_hasTargetInContent'];_0x3a73=function(){return _0x5c75ff;};return _0x3a73();}import{Plugin as _0x1b3652}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x28c1dd,scrollViewportToShowTarget as _0x12f762,uid as _0x2752b6}from'ckeditor5/src/utils.js';function _0x5e1f(_0x442af0,_0x3ddb0f){const _0x3a739f=_0x3a73();return _0x5e1f=function(_0x5e1fd1,_0x1c71db){_0x5e1fd1=_0x5e1fd1-0xd6;let _0x5c527c=_0x3a739f[_0x5e1fd1];return _0x5c527c;},_0x5e1f(_0x442af0,_0x3ddb0f);}import{CommentsRepository as _0x5318fe}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x543393}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x47f61c,getAllMarkersDomElementsSorted as _0x270cf0,FOCUS_ANNOTATION_KEYSTROKE as _0x53f3b6,Users as _0x24b0fe}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x131c25}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x3ac08a}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x44ad20}from'./integrations/importword.js';import{CommentsClipboard as _0x53f820}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x50fde8}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x468058}from'../annotations/annotations.js';import{getTranslation as _0xbdbb32}from'../utils/common-translations.js';import{splitMarkerName as _0x436eb6}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x1b3652{static get[_0x478c50(0x123)](){return[_0x5318fe,_0x131c25,_0x24b0fe,_0x3ac08a,_0x44ad20,_0x53f820,_0x50fde8];}static get[_0x478c50(0x171)](){const _0x507c3e=_0x478c50;return _0x507c3e(0x13a);}static get[_0x478c50(0x124)](){return!0x0;}static get[_0x478c50(0x109)](){return!0x0;}constructor(_0x359864){const _0x1daaf4=_0x478c50;super(_0x359864),this[_0x1daaf4(0x12b)](_0x1daaf4(0x14a),!0x0),_0x359864[_0x1daaf4(0xed)][_0x1daaf4(0x117)](_0x1daaf4(0xda),()=>this[_0x1daaf4(0x14a)]=!0x1),this[_0x1daaf4(0x12b)](_0x1daaf4(0x146),null),this['on'](_0x1daaf4(0x163),(_0x53f58c,_0x3091d9,_0x25294c,_0x37424a)=>{const _0x46d2df=_0x1daaf4,_0x2454c7=_0x359864[_0x46d2df(0x15c)][_0x46d2df(0x157)](_0x5318fe),_0x5b6f54=_0x25294c?_0x436eb6(_0x25294c)['id']:null;_0x359864[_0x46d2df(0x151)][_0x46d2df(0xde)](()=>{const _0x5e090e=_0x46d2df;if(_0x5b6f54){const _0x8827c7=this[_0x5e090e(0xf6)](_0x5b6f54);for(const _0x1b7cea of _0x8827c7)_0x359864[_0x5e090e(0x131)][_0x5e090e(0x15b)](_0x1b7cea);}if(_0x37424a){const {id:_0x4ac226}=_0x436eb6(_0x37424a),_0x26f6aa=_0x2454c7[_0x5e090e(0x103)](_0x4ac226);if(_0x26f6aa&&_0x26f6aa[_0x5e090e(0x134)])return;if(_0x26f6aa&&!_0x26f6aa[_0x5e090e(0x16b)])return;const _0xce09a3=this[_0x5e090e(0xf6)](_0x4ac226);for(const _0x414209 of _0xce09a3)_0x359864[_0x5e090e(0x131)][_0x5e090e(0x15b)](_0x414209);}}),_0x5b6f54&&this[_0x46d2df(0xe0)](_0x5b6f54);}),this[_0x1daaf4(0xfd)]();}[_0x478c50(0x15e)](){const _0x3a0632=_0x478c50,_0x29d2c6=this[_0x3a0632(0x111)],_0x437c70=_0x29d2c6[_0x3a0632(0x15c)][_0x3a0632(0x157)](_0x5318fe),_0x14e3c5=_0x29d2c6[_0x3a0632(0x16d)][_0x3a0632(0x157)](_0x3a0632(0x113)),_0x272f8c=_0x437c70[_0x3a0632(0xf3)]()[_0x3a0632(0xff)](_0x47d5ba=>_0x47d5ba[_0x3a0632(0x138)]!==_0x14e3c5);_0x29d2c6[_0x3a0632(0x13f)][_0x3a0632(0x106)](_0x3a0632(0x13e),new _0x543393(_0x29d2c6)),this[_0x3a0632(0x160)](_0x29d2c6,_0x3a0632(0x11a),(_0x347418,_0x42ace3,_0x163117)=>{const _0x51e88d=_0x3a0632;_0x437c70[_0x51e88d(0x16f)](_0x163117,_0x29d2c6[_0x51e88d(0x16d)][_0x51e88d(0x157)](_0x51e88d(0x113)));}),this[_0x3a0632(0x160)](_0x437c70,dt(_0x3a0632(0x13e),_0x14e3c5),(_0x13d483,{threadId:_0x276cf1})=>{const _0x411291=_0x3a0632,_0x5e8743=this[_0x411291(0x111)][_0x411291(0x15c)][_0x411291(0x157)](_0x5318fe)[_0x411291(0x103)](_0x276cf1);_0x5e8743?.[_0x411291(0x134)]&&this[_0x411291(0x13b)](_0x276cf1);}),this[_0x3a0632(0x160)](_0x437c70,dt(_0x3a0632(0xdd),_0x14e3c5),(_0x5800df,{threadId:_0x3d060c})=>{const _0x2a3e06=_0x3a0632;_0x29d2c6[_0x2a3e06(0x151)][_0x2a3e06(0xf4)]({'isUndoable':!0x1},_0xe5a067=>{const _0x583643=_0x2a3e06,_0x36cc3b=this[_0x583643(0xf6)](_0x3d060c);for(const _0x16bda5 of _0x36cc3b)_0xe5a067[_0x583643(0x110)](_0x16bda5);});}),this[_0x3a0632(0x160)](_0x437c70,dt(_0x3a0632(0x149),_0x14e3c5),(_0x282cbf,{threadId:_0x149d2d})=>{const _0x438eda=_0x3a0632;(this[_0x438eda(0xef)](_0x149d2d),this[_0x438eda(0x111)][_0x438eda(0x131)][_0x438eda(0xec)][_0x438eda(0x100)])&&(this[_0x438eda(0x111)][_0x438eda(0x15c)][_0x438eda(0x157)](_0x5318fe)[_0x438eda(0x103)](_0x149d2d)[_0x438eda(0x134)]||this[_0x438eda(0x111)][_0x438eda(0x131)][_0x438eda(0xec)][_0x438eda(0x12d)]());},{'priority':_0x3a0632(0xe2)}),this[_0x3a0632(0x160)](_0x437c70,dt(_0x3a0632(0x159),_0x14e3c5),(_0x336e36,{threadId:_0x959341})=>{const _0x5dcd84=_0x3a0632;this[_0x5dcd84(0xef)](_0x959341);},{'priority':_0x3a0632(0xe2)}),this[_0x3a0632(0x160)](_0x437c70,dt(_0x3a0632(0xe4),_0x14e3c5),(_0x277b7c,{threadId:_0x74ec7e,isFromAdapter:_0x3ddc92})=>{const _0xa2e4a7=_0x3a0632,_0x2fae97=this[_0xa2e4a7(0xf6)](_0x74ec7e);if(_0x3ddc92||0x0==_0x2fae97[_0xa2e4a7(0xfc)]||!_0x437c70[_0xa2e4a7(0x10a)](_0x74ec7e))return;0x1===_0x437c70[_0xa2e4a7(0x103)](_0x74ec7e)[_0xa2e4a7(0xfc)]&&_0x29d2c6[_0xa2e4a7(0x151)][_0xa2e4a7(0xf4)]({'isUndoable':!0x1},_0x363f2a=>{const _0x54800e=_0xa2e4a7;for(const _0x3aeae5 of _0x2fae97)_0x363f2a[_0x54800e(0x126)](_0x3aeae5,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3a0632(0xe2)}),this[_0x3a0632(0x14b)](),this[_0x3a0632(0x104)](),this[_0x3a0632(0x14d)](_0x272f8c);}[_0x478c50(0x178)](){!async function(_0x462e84){const _0x2963f4=_0xdb3057([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]),_0x230e6b=0x73460ab3,_0x18c3f2=0x73418863^_0x230e6b,_0x17e130=window[_0xdb3057([0x44,0x61,0x74,0x65])][_0xdb3057([0x6e,0x6f,0x77])](),_0x4bb74c=_0x462e84[_0xdb3057([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5637f7=new window[(_0xdb3057([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x355036=>{_0x4bb74c[_0xdb3057([0x6f,0x6e,0x63,0x65])](_0xdb3057([0x72,0x65,0x61,0x64,0x79]),_0x355036);}),_0x118c51={[_0xdb3057([0x6b,0x74,0x79])]:_0xdb3057([0x45,0x43]),[_0xdb3057([0x75,0x73,0x65])]:_0xdb3057([0x73,0x69,0x67]),[_0xdb3057([0x63,0x72,0x76])]:_0xdb3057([0x50,0x2d,0x32,0x35,0x36]),[_0xdb3057([0x78])]:_0xdb3057([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]),[_0xdb3057([0x79])]:_0xdb3057([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]),[_0xdb3057([0x61,0x6c,0x67])]:_0xdb3057([0x45,0x53,0x32,0x35,0x36])},_0x12bc66=_0x4bb74c[_0xdb3057([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xdb3057([0x67,0x65,0x74])](_0xdb3057([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x15ba08(){let _0xbfdc8f,_0x49df3f=null,_0x4ec667=null;try{if(_0x12bc66==_0xdb3057([0x47,0x50,0x4c]))return _0xdb3057([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xbfdc8f=_0x37078d(),!_0xbfdc8f)return _0xdb3057([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xbfdc8f[_0xdb3057([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4ec667=_0x1a9525(_0xbfdc8f[_0xdb3057([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xbfdc8f[_0xdb3057([0x6a,0x74,0x69])])),await _0x4ed7f7()?_0x35296c()?_0x7c9ca9()?_0xdb3057([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xf46381()?(_0xbfdc8f[_0xdb3057([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xdb3057([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49df3f=_0x388f4f(_0xdb3057([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x32ea8e()):_0xdb3057([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xdb3057([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xdb3057([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xdb3057([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7c9ca9(){const _0xfe9e2b=[_0xdb3057([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xdb3057([0x74,0x72,0x69,0x61,0x6c])][_0xdb3057([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xbfdc8f[_0xdb3057([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17e130/0x3e8:0xe10*_0x18c3f2;return _0xbfdc8f[_0xdb3057([0x65,0x78,0x70])]<_0xfe9e2b;}function _0x35296c(){const _0x1d16c8=_0xbfdc8f[_0xdb3057([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1d16c8)return!0x1;if(_0x1d16c8[_0xdb3057([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdb3057([0x2a])))return!0x0;if(_0x1d16c8[_0xdb3057([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdb3057([0x43,0x4d,0x54])))return!0x0;if(_0x1d16c8[_0xdb3057([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdb3057([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x266e4d())return!0x0;if(_0x1d16c8[_0xdb3057([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdb3057([0x52,0x43,0x4d,0x54]))){if(_0x1c1858())return!0x0;if(_0x378adb()||_0x3bd0b3())return!0x0;}return!0x1;}function _0xf46381(){const _0x16f2f4=_0x5e1f,_0x159d4e=_0xbfdc8f[_0xdb3057([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x159d4e||0x0==_0x159d4e[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5085d6}=new URL(window[_0xdb3057([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x16f2f4(0x10c)]);if(_0x159d4e[_0xdb3057([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5085d6))return!0x0;const _0x545ad0=_0x5085d6[_0xdb3057([0x73,0x70,0x6c,0x69,0x74])](_0xdb3057([0x2e]));return _0x159d4e[_0xdb3057([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xe6f283=>_0xe6f283[_0xdb3057([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xdb3057([0x2a])))[_0xdb3057([0x6d,0x61,0x70])](_0x3a482f=>_0x3a482f[_0xdb3057([0x73,0x70,0x6c,0x69,0x74])](_0xdb3057([0x2e])))[_0xdb3057([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xdb51d9=>_0xdb51d9[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x545ad0[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdb3057([0x6d,0x61,0x70])](_0x424e7a=>Array(_0x545ad0[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x424e7a[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xdb3057([0x66,0x69,0x6c,0x6c])](_0x424e7a[0x0]===_0xdb3057([0x2a])?_0xdb3057([0x2a]):'')[_0xdb3057([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x424e7a))[_0xdb3057([0x73,0x6f,0x6d,0x65])](_0x29103a=>_0x545ad0[_0xdb3057([0x65,0x76,0x65,0x72,0x79])]((_0x2e0988,_0x2d0429)=>_0x29103a[_0x2d0429]===_0x2e0988||_0x29103a[_0x2d0429]===_0xdb3057([0x2a])));}function _0x32ea8e(){return _0x49df3f&&_0x4ec667?new window[(_0xdb3057([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x15d831,_0x12362e)=>{_0x49df3f[_0xdb3057([0x74,0x68,0x65,0x6e])](_0x15d831,_0x12362e),_0x4ec667[_0xdb3057([0x74,0x68,0x65,0x6e])](_0x332fff=>{_0x332fff!=_0xdb3057([0x56,0x61,0x6c,0x69,0x64])&&_0x15d831(_0x332fff);},_0x12362e);}):_0x49df3f||_0x4ec667||_0xdb3057([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1a9525(_0xa67c4b,_0x5de08a){return new window[(_0xdb3057([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5dd2f6=>{if(_0x2def39())return _0x5dd2f6(_0xdb3057([0x56,0x61,0x6c,0x69,0x64]));_0x5c8b20(),_0x4bb74c[_0xdb3057([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xdb3057([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4f3c7d=!0x1;const _0x634323=_0x2752b6();function _0x141dce(_0x367071){return!!_0x367071&&(typeof _0x367071===_0xdb3057([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x367071===_0xdb3057([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x367071[_0xdb3057([0x74,0x68,0x65,0x6e])]===_0xdb3057([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x367071[_0xdb3057([0x63,0x61,0x74,0x63,0x68])]===_0xdb3057([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2be837(_0x48b214){_0x4fac57(_0x48b214)[_0xdb3057([0x74,0x68,0x65,0x6e])](_0x313b20=>{if(!_0x313b20||_0x313b20[_0xdb3057([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xdb3057([0x6f,0x6b]))return _0xdb3057([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3537cd(_0x248062(_0x634323+_0x5de08a))!=_0x313b20[_0xdb3057([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xdb3057([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xdb3057([0x56,0x61,0x6c,0x69,0x64]);})[_0xdb3057([0x74,0x68,0x65,0x6e])](_0x28fbcc=>(_0x49ca13(),_0x28fbcc),()=>{const _0x2943cd=_0xfd5a4a();return null==_0x2943cd?(_0x49ca13(),_0xdb3057([0x56,0x61,0x6c,0x69,0x64])):_0xdb3057(_0x17e130-_0x2943cd>(0x574a8eb3^_0x230e6b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xdb3057([0x74,0x68,0x65,0x6e])](_0x5dd2f6)[_0xdb3057([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5dd2f6(_0xdb3057([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3bfdd6=0x7370e433^_0x230e6b;function _0x49ca13(){const _0x282fdf=_0xdb3057([0x6c,0x6c,0x63,0x74,0x2d])+_0x3537cd(_0x248062(_0xa67c4b)),_0x2064f3=_0x38c901(_0x3537cd(window[_0xdb3057([0x4d,0x61,0x74,0x68])][_0xdb3057([0x63,0x65,0x69,0x6c])](_0x17e130/_0x3bfdd6)));window[_0xdb3057([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdb3057([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x282fdf,_0x2064f3);}function _0xfd5a4a(){const _0x3736e4=_0xdb3057([0x6c,0x6c,0x63,0x74,0x2d])+_0x3537cd(_0x248062(_0xa67c4b)),_0x7c2b2d=window[_0xdb3057([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xdb3057([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3736e4);return _0x7c2b2d?window[_0xdb3057([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38c901(_0x7c2b2d),0x10)*_0x3bfdd6:null;}function _0x4fac57(_0x128c0d){return new window[(_0xdb3057([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14e441,_0x4a2609)=>{_0x128c0d[_0xdb3057([0x74,0x68,0x65,0x6e])](_0x14e441,_0x4a2609),window[_0xdb3057([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4a2609,0x7347de73^_0x230e6b);});}}_0x4bb74c[_0xdb3057([0x6f,0x6e])](_0xdb3057([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ea98d,_0x189a2c)=>{if(_0x189a2c[0x0]!=_0xa67c4b)return _0x5dd2f6(_0xdb3057([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x189a2c[0x1]={..._0x189a2c[0x1],[_0xdb3057([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x634323};},{[_0xdb3057([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdb3057([0x68,0x69,0x67,0x68])}),_0x4bb74c[_0xdb3057([0x6f,0x6e])](_0xdb3057([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37c867=>{_0x141dce(_0x37c867[_0xdb3057([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4f3c7d=!0x0,_0x2be837(_0x37c867[_0xdb3057([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xdb3057([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xdb3057([0x6c,0x6f,0x77])}),_0x5637f7[_0xdb3057([0x74,0x68,0x65,0x6e])](()=>{_0x4f3c7d||_0x5dd2f6(_0xdb3057([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2def39(){return _0x4bb74c[_0xdb3057([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdb3057([0x76,0x69,0x65,0x77])][_0xdb3057([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xdb3057([0x61,0x75,0x74,0x6f]);}function _0x5c8b20(){_0x4bb74c[_0xdb3057([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xdb3057([0x76,0x69,0x65,0x77])][_0xdb3057([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xdb3057([0x61,0x75,0x74,0x6f]);}}function _0x388f4f(_0x19930f){const _0x42e67f=[new window[(_0xdb3057([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x531f6b=>setTimeout(_0x531f6b,0x734f347f^_0x230e6b)),_0x5637f7[_0xdb3057([0x74,0x68,0x65,0x6e])](()=>new window[(_0xdb3057([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b582a=>{let _0x387443=0x0;_0x4bb74c[_0xdb3057([0x6d,0x6f,0x64,0x65,0x6c])][_0xdb3057([0x6f,0x6e])](_0xdb3057([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x912006,_0x3aaeaf)=>{_0x3aaeaf[0x0][_0xdb3057([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x387443++,_0x387443==(0x73460f5b^_0x230e6b)&&(_0x3b582a(),_0x912006[_0xdb3057([0x6f,0x66,0x66])]());});}))];return window[_0xdb3057([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xdb3057([0x72,0x61,0x63,0x65])](_0x42e67f)[_0xdb3057([0x74,0x68,0x65,0x6e])](()=>_0x19930f);}async function _0x52ef77(){await _0x5637f7,_0x4bb74c[_0xdb3057([0x6d,0x6f,0x64,0x65,0x6c])][_0xdb3057([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5063e6,_0x4bb74c[_0xdb3057([0x6d,0x6f,0x64,0x65,0x6c])][_0xdb3057([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5063e6,_0x4bb74c[_0xdb3057([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xdb3057([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x266e4d(){return window[_0xdb3057([0x67,0x6c,0x6f,0x62])]&&window[_0xdb3057([0x67,0x6c,0x6f,0x62])][_0xdb3057([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x1c1858(){return _0x2047ec(_0xdb3057([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x442f33(_0xdb3057([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xdb3057([0x73,0x74,0x61,0x74,0x65])]==_0xdb3057([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x378adb(){return _0x2047ec(_0xdb3057([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 _0x3bd0b3(){return _0x2047ec(_0xdb3057([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0xa41bd(_0x18e65e){const _0x41d1a1=_0x4d32b9();_0x4bb74c[_0x41d1a1]=_0xdb3057([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18e65e,_0x18e65e!=_0xdb3057([0x56,0x61,0x6c,0x69,0x64])&&_0x52ef77();}function _0x4d32b9(){const _0xaf3b72=window[_0xdb3057([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xdb3057([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xdb3057([0x6e,0x6f,0x77])]())[_0xdb3057([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xdb3057([0x2e]),'');let _0x3ad121=_0xdb3057([0x4b]);for(let _0x5dad90=0x0;_0x5dad90<_0xaf3b72[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5dad90+=0x2){let _0x5bd6c9=window[_0xdb3057([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xaf3b72[_0xdb3057([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5dad90,_0x5dad90+0x2));_0x5bd6c9>=_0x2963f4[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5bd6c9-=_0x2963f4[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3ad121+=_0x2963f4[_0x5bd6c9];}return _0x3ad121;}function _0x37078d(){const _0x1ade0e=_0x12bc66[_0xdb3057([0x73,0x70,0x6c,0x69,0x74])](_0xdb3057([0x2e]));if(0x3!=_0x1ade0e[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a7ea2(_0x1ade0e[0x1]);function _0x4a7ea2(_0x5d03bd){const _0xac4ee7=_0x586a1e(_0x5d03bd);return _0xac4ee7&&_0x495a70()?_0xac4ee7:null;function _0x495a70(){const _0x16967c=_0xac4ee7[_0xdb3057([0x6a,0x74,0x69])],_0x21ec7f=window[_0xdb3057([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16967c[_0xdb3057([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16967c[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd5b98b={..._0xac4ee7,[_0xdb3057([0x6a,0x74,0x69])]:_0x16967c[_0xdb3057([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x16967c[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd5b98b[_0xdb3057([0x76,0x63])],_0x248062(_0xd5b98b)==_0x21ec7f;}}}async function _0x4ed7f7(){let _0x47d8fd=!0x0;try{const _0x592250=_0x12bc66[_0xdb3057([0x73,0x70,0x6c,0x69,0x74])](_0xdb3057([0x2e])),[_0x32a510,_0x1c695b,_0x471c10]=_0x592250;return _0xa8f84d(_0x32a510),await _0x375cfe(_0x32a510,_0x1c695b,_0x471c10),_0x47d8fd;}catch{return!0x1;}function _0xa8f84d(_0x327605){const _0x468c84=_0x586a1e(_0x327605);_0x468c84&&_0x468c84[_0xdb3057([0x61,0x6c,0x67])]==_0xdb3057([0x45,0x53,0x32,0x35,0x36])||(_0x47d8fd=!0x1);}async function _0x375cfe(_0x5786b3,_0x40bc9e,_0x4fe3c4){const _0x3441fc=window[_0xdb3057([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xdb3057([0x66,0x72,0x6f,0x6d])](_0x5ab2ca(_0x4fe3c4),_0x2dea1f=>_0x2dea1f[_0xdb3057([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x527bfe=new window[(_0xdb3057([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xdb3057([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5786b3+_0xdb3057([0x2e])+_0x40bc9e),_0x306c4c=window[_0xdb3057([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xdb3057([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x306c4c)return;const _0x1ce4e0=await _0x306c4c[_0xdb3057([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xdb3057([0x6a,0x77,0x6b]),_0x118c51,{[_0xdb3057([0x6e,0x61,0x6d,0x65])]:_0xdb3057([0x45,0x43,0x44,0x53,0x41]),[_0xdb3057([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xdb3057([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xdb3057([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x306c4c[_0xdb3057([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xdb3057([0x6e,0x61,0x6d,0x65])]:_0xdb3057([0x45,0x43,0x44,0x53,0x41]),[_0xdb3057([0x68,0x61,0x73,0x68])]:{[_0xdb3057([0x6e,0x61,0x6d,0x65])]:_0xdb3057([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1ce4e0,_0x3441fc,_0x527bfe)||(_0x47d8fd=!0x1);}}function _0x586a1e(_0x34ca5f){return _0x34ca5f[_0xdb3057([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xdb3057([0x65,0x79]))?JSON[_0xdb3057([0x70,0x61,0x72,0x73,0x65])](_0x5ab2ca(_0x34ca5f)):null;}function _0x5ab2ca(_0x551526){return window[_0xdb3057([0x61,0x74,0x6f,0x62])](_0x551526[_0xdb3057([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xdb3057([0x2b]))[_0xdb3057([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xdb3057([0x2f])));}function _0x248062(_0x98de94){let _0x51b14d=0x1505;function _0x1b9818(_0x50eec9){for(let _0x2ba5fb=0x0;_0x2ba5fb<_0x50eec9[_0xdb3057([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2ba5fb++){const _0x58c18d=_0x50eec9[_0xdb3057([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2ba5fb);_0x51b14d=(_0x51b14d<<0x5)+_0x51b14d+_0x58c18d,_0x51b14d&=_0x51b14d;}}function _0x3e6d5f(_0x1270b9){Array[_0xdb3057([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1270b9)?_0x1270b9[_0xdb3057([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3e6d5f):_0x1270b9&&typeof _0x1270b9==_0xdb3057([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xdb3057([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1270b9)[_0xdb3057([0x73,0x6f,0x72,0x74])]()[_0xdb3057([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x109e83,_0x23a9d3])=>{_0x1b9818(_0x109e83),_0x3e6d5f(_0x23a9d3);}):_0x1b9818(window[_0xdb3057([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1270b9));}return _0x3e6d5f(_0x98de94),_0x51b14d>>>0x0;}function _0x3537cd(_0x4b3092){return _0x4b3092[_0xdb3057([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xdb3057([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xdb3057([0x30]));}function _0x38c901(_0x3b7ccf){return _0x3b7ccf[_0xdb3057([0x73,0x70,0x6c,0x69,0x74])]('')[_0xdb3057([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xdb3057([0x6a,0x6f,0x69,0x6e])]('');}function _0x2047ec(_0x18d2bc){return _0x4bb74c[_0xdb3057([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xdb3057([0x68,0x61,0x73])](_0x18d2bc);}function _0x442f33(_0x302bce){return _0x4bb74c[_0xdb3057([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xdb3057([0x67,0x65,0x74])](_0x302bce);}function _0x5063e6(){}function _0xdb3057(_0x508d8d){const _0x228904=_0x5e1f;return _0x508d8d[_0x228904(0x147)](_0x17257f=>String[_0x228904(0x153)](_0x17257f))[_0x228904(0x15a)]('');}_0xa41bd(await _0x15ba08());}(this);}[_0x478c50(0x129)](){const _0x20d29d=_0x478c50,_0x450d58=this[_0x20d29d(0x111)][_0x20d29d(0x15c)][_0x20d29d(0x157)](_0x5318fe),_0x26e1c1=this[_0x20d29d(0x111)][_0x20d29d(0x16d)][_0x20d29d(0x157)](_0x20d29d(0x113));for(const _0x384181 of _0x450d58[_0x20d29d(0xf3)]({'channelId':_0x26e1c1}))_0x450d58[_0x20d29d(0xea)](_0x384181['id']),_0x450d58[_0x20d29d(0x140)][_0x20d29d(0xe7)](_0x384181['id']);super[_0x20d29d(0x129)]();}[_0x478c50(0xfa)](_0x181226){const _0x2510f1=_0x478c50;return this[_0x2510f1(0xf6)](_0x181226)[_0x2510f1(0xfc)]>0x0;}[_0x478c50(0xf6)](_0x3f6932){const _0x12995f=_0x478c50,_0x57069f=[];for(const _0x58034c of this[_0x12995f(0x111)][_0x12995f(0x151)][_0x12995f(0xf2)])_0x58034c[_0x12995f(0x141)][_0x12995f(0x172)](_0x12995f(0xe5)+_0x3f6932)&&_0x57069f[_0x12995f(0x162)](_0x58034c);return _0x57069f;}[_0x478c50(0xe0)](_0x4d52d0){setTimeout(()=>{const _0x10ae6b=_0x5e1f,_0x53eca2=this[_0x10ae6b(0x144)](_0x4d52d0);if(!_0x53eca2)return;this[_0x10ae6b(0x146)]&&_0x436eb6(this[_0x10ae6b(0x146)])['id']===_0x4d52d0&&_0x12f762({'target':_0x53eca2[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x478c50(0xef)](_0xf0bb22){const _0x4c3cef=_0x478c50;this[_0x4c3cef(0x111)][_0x4c3cef(0x151)][_0x4c3cef(0xde)](()=>{const _0x4d889a=_0x4c3cef;for(const _0x4382e8 of this[_0x4d889a(0xf6)](_0xf0bb22))this[_0x4d889a(0x111)][_0x4d889a(0x131)][_0x4d889a(0x15b)](_0x4382e8);});}[_0x478c50(0x13b)](_0x3c6bdd){const _0x4bea56=_0x478c50,_0x3e79fb=this[_0x4bea56(0x111)][_0x4bea56(0x15c)][_0x4bea56(0x157)](_0x5318fe),_0x4025e1=this[_0x4bea56(0x111)][_0x4bea56(0x15c)][_0x4bea56(0x157)](_0x131c25),_0x53b0a2=_0x3e79fb[_0x4bea56(0x103)](_0x3c6bdd);if(!_0x53b0a2[_0x4bea56(0x16b)]){const _0x511d2f=_0x53b0a2[_0x4bea56(0x10b)](()=>this[_0x4bea56(0x144)](_0x53b0a2['id']));_0x4025e1[_0x4bea56(0xfb)](_0x511d2f),_0x53b0a2[_0x4bea56(0xe3)]=!0x1;}}[_0x478c50(0x14b)](){const _0x5c6a8f=_0x478c50,_0x3f1abd=this[_0x5c6a8f(0x111)],_0x30dce4=_0x3f1abd[_0x5c6a8f(0x15c)][_0x5c6a8f(0x157)](_0x24b0fe);_0x3f1abd[_0x5c6a8f(0x10d)][_0x5c6a8f(0xd7)](_0x5c6a8f(0x102))[_0x5c6a8f(0x176)]({'model':_0x5c6a8f(0x16a),'view':(_0x29fc16,_0x51d7ec)=>{const _0x4d63bc=_0x5c6a8f,{id:_0x1d21d6}=_0x436eb6(_0x29fc16[_0x4d63bc(0xdb)]),_0x360e06=_0x3f1abd[_0x4d63bc(0x15c)][_0x4d63bc(0x157)](_0x5318fe)[_0x4d63bc(0x103)](_0x1d21d6),_0x232521=this[_0x4d63bc(0x146)]&&_0x436eb6(this[_0x4d63bc(0x146)])['id']===_0x1d21d6;let _0x529f62;if(_0x360e06&&_0x360e06[_0x4d63bc(0x118)]&&!_0x232521&&_0x29fc16[_0x4d63bc(0x148)])return _0x51d7ec[_0x4d63bc(0x112)][_0x4d63bc(0x166)](_0x29fc16[_0x4d63bc(0x148)],_0x4d63bc(0x130)+_0x29fc16[_0x4d63bc(0xdb)]),_0x51d7ec[_0x4d63bc(0x112)][_0x4d63bc(0x166)](_0x29fc16[_0x4d63bc(0x148)],_0x4d63bc(0x12a)+_0x29fc16[_0x4d63bc(0xdb)]),null;const _0x25e488=[_0x4d63bc(0xf0)];return _0x232521&&_0x25e488[_0x4d63bc(0x162)](_0x4d63bc(0x168)),_0x529f62=_0x360e06?.[_0x4d63bc(0xfc)]?_0x360e06[_0x4d63bc(0x122)][_0x4d63bc(0x11c)][_0x4d63bc(0xd8)]['id']:_0x30dce4['me']['id'],{'classes':_0x25e488,'attributes':{'data-comment':_0x1d21d6,'data-author-id':_0x529f62}};}}),_0x3f1abd[_0x5c6a8f(0x10d)][_0x5c6a8f(0xd7)](_0x5c6a8f(0x13c))[_0x5c6a8f(0x12f)]({'model':_0x5c6a8f(0x16a),'view':(_0x376cee,{options:_0x5673b6})=>{const _0x4b93cb=_0x5c6a8f;if(_0x5673b6[_0x4b93cb(0x173)])return null;const _0x2dc011=_0x3f1abd[_0x4b93cb(0x15c)][_0x4b93cb(0x157)](_0x5318fe),_0x3c3498=_0x3f1abd[_0x4b93cb(0x151)][_0x4b93cb(0xf2)][_0x4b93cb(0x157)](_0x376cee),{id:_0x3fef60,part:_0x1893a4}=_0x436eb6(_0x376cee);return _0x3c3498&&!_0x3c3498[_0x4b93cb(0x12c)]||_0x5673b6[_0x4b93cb(0x127)]&&_0x2dc011[_0x4b93cb(0x103)](_0x3fef60)?.[_0x4b93cb(0x118)]?null:{'group':_0x4b93cb(0x16a),'name':_0x1893a4?_0x3fef60+':'+_0x1893a4:_0x3fef60};}}),_0x3f1abd[_0x5c6a8f(0x10d)][_0x5c6a8f(0xd7)](_0x5c6a8f(0x152))[_0x5c6a8f(0x169)]({'view':{'name':_0x5c6a8f(0x16a),'attributes':{'id':/^\w/}},'model':(_0x153b24,{writer:_0x12c200})=>_0x12c200[_0x5c6a8f(0x14f)](_0x5c6a8f(0x133),{'data-name':_0x5c6a8f(0xe5)+_0x153b24[_0x5c6a8f(0x120)]('id')})}),_0x3f1abd[_0x5c6a8f(0x10d)][_0x5c6a8f(0xd7)](_0x5c6a8f(0x152))[_0x5c6a8f(0x10f)]({'view':_0x5c6a8f(0x16a)});}[_0x478c50(0x104)](){const _0xe16a5c=_0x478c50,_0x5b27bb=this[_0xe16a5c(0x111)],_0x47752d=_0x5b27bb[_0xe16a5c(0x15c)][_0xe16a5c(0x157)](_0x5318fe),_0x37b9f4=new Set(),_0x3f4e48=new Set();_0x5b27bb[_0xe16a5c(0x151)][_0xe16a5c(0x132)][_0xe16a5c(0xfe)](_0x519423=>{const _0x1f66cc=_0xe16a5c;let _0x23e285=!0x1;for(const {name:_0x26b66c,data:_0x3261e6}of _0x5b27bb[_0x1f66cc(0x151)][_0x1f66cc(0x132)][_0x1f66cc(0x154)][_0x1f66cc(0x114)]()){const {group:_0x4ef2db,id:_0x2dc8a5}=_0x436eb6(_0x26b66c);let _0x3225bb=_0x3261e6[_0x1f66cc(0x16e)];if(_0x1f66cc(0x16a)!==_0x4ef2db||!_0x3225bb)continue;const _0xcada90=_0x1f66cc(0x121)===_0x3225bb[_0x1f66cc(0xdf)][_0x1f66cc(0xd9)];_0xcada90||(_0x3225bb=ht(_0x3225bb,_0x5b27bb[_0x1f66cc(0x151)]),!_0x3225bb||_0x3225bb[_0x1f66cc(0x115)]||!_0x3261e6[_0x1f66cc(0x16e)]||_0x3225bb[_0x1f66cc(0x116)](_0x3261e6[_0x1f66cc(0x16e)]))?_0x5b27bb[_0x1f66cc(0x151)][_0x1f66cc(0xee)](_0x3225bb)&&!_0xcada90?this[_0x1f66cc(0x14a)]?_0x37b9f4[_0x1f66cc(0x106)](_0x26b66c):this[_0x1f66cc(0xf5)](_0x26b66c,_0x2dc8a5):(_0x3f4e48[_0x1f66cc(0x106)](_0x26b66c),_0x37b9f4[_0x1f66cc(0xe7)](_0x26b66c),_0x519423[_0x1f66cc(0x110)](_0x26b66c),_0x23e285=!0x0):(_0x519423[_0x1f66cc(0x126)](_0x26b66c,{'range':_0x3225bb}),_0x23e285=!0x0);}return _0x23e285;}),this['on'](_0xe16a5c(0x158),(_0x28facd,_0x102ba8,_0x1c1f39)=>{const _0x2a29e4=_0xe16a5c;if(!_0x1c1f39&&_0x37b9f4[_0x2a29e4(0x14e)])for(const _0x4d8bd6 of _0x37b9f4){const {id:_0x2340e3}=_0x436eb6(_0x4d8bd6);_0x37b9f4[_0x2a29e4(0xe7)](_0x4d8bd6),_0x5b27bb[_0x2a29e4(0x151)][_0x2a29e4(0xf2)][_0x2a29e4(0x157)](_0x4d8bd6)&&this[_0x2a29e4(0xf5)](_0x4d8bd6,_0x2340e3);}}),this[_0xe16a5c(0x160)](_0x5b27bb[_0xe16a5c(0x151)][_0xe16a5c(0x132)],_0xe16a5c(0xde),()=>{const _0x481e39=_0xe16a5c;for(const {name:_0x2f4758,data:{newRange:_0x3aec64}}of _0x5b27bb[_0x481e39(0x151)][_0x481e39(0x132)][_0x481e39(0x154)][_0x481e39(0x114)]()){const {group:_0x5016bd,id:_0x53ac20}=_0x436eb6(_0x2f4758);if(_0x481e39(0x16a)!==_0x5016bd)continue;const _0x3f1525=_0x47752d[_0x481e39(0x103)](_0x53ac20),_0x1b691f=this[_0x481e39(0xfa)](_0x53ac20);_0x3f1525&&(!_0x3f1525[_0x481e39(0xe3)]&&_0x3aec64&&_0x5b27bb[_0x481e39(0x131)][_0x481e39(0xec)][_0x481e39(0x117)](_0x481e39(0xdc),()=>{const _0x48f3b7=_0x481e39,_0x171c1e=_0x5b27bb[_0x48f3b7(0x15c)][_0x48f3b7(0x157)](_0x468058),_0x4ff51a=_0x47752d[_0x48f3b7(0x119)][_0x48f3b7(0x157)](_0x3f1525)[_0x48f3b7(0xec)];_0x171c1e[_0x48f3b7(0x170)](_0x4ff51a)[_0x48f3b7(0x13d)]();},{'priority':_0x481e39(0xe2)}),_0x3f1525[_0x481e39(0xe3)]=_0x1b691f||!!_0x3aec64),_0x3aec64||(_0x3f4e48[_0x481e39(0x106)](_0x2f4758),_0x37b9f4[_0x481e39(0xe7)](_0x2f4758));}for(const _0x298fb9 of _0x3f4e48){const {id:_0x1cbf8d}=_0x436eb6(_0x298fb9),_0x44ecec=_0x47752d[_0x481e39(0x103)](_0x1cbf8d);if(_0x37b9f4[_0x481e39(0xe7)](_0x298fb9),!_0x44ecec)continue;const _0x9e0568=this[_0x481e39(0xfa)](_0x1cbf8d);_0x9e0568||_0x44ecec[_0x481e39(0xf1)]?_0x9e0568||_0x44ecec[_0x481e39(0x134)]||_0x44ecec[_0x481e39(0x135)](new Date()):_0x44ecec[_0x481e39(0x11e)]();}_0x3f4e48[_0x481e39(0xf9)]();});}[_0x478c50(0x14d)](_0x6849ad){const _0x358880=_0x478c50;_0x6849ad[_0x358880(0x16c)](_0x41c2ce=>{const _0x410d05=_0x358880;_0x41c2ce[_0x410d05(0x134)]&&this[_0x410d05(0x13b)](_0x41c2ce['id']);});}[_0x478c50(0x144)](_0x5af89c){const _0x44215a=_0x478c50,_0x235985=this[_0x44215a(0x111)],_0x234a80=this[_0x44215a(0xf6)](_0x5af89c);return _0x270cf0(_0x235985[_0x44215a(0x131)],_0x234a80);}[_0x478c50(0x177)](_0x2d6252){const _0x420a8d=_0x478c50,_0x431a76=this[_0x420a8d(0xf6)](_0x2d6252);let _0x31521f='',_0x18c0ce=!0x1;for(const _0xdd171f of _0x431a76){const _0x313ea2=_0xdd171f[_0x420a8d(0x15f)]();for(const _0xf4bf5e of Array[_0x420a8d(0x105)](_0x313ea2[_0x420a8d(0x15d)]()))_0xf4bf5e['is'](_0x420a8d(0x164))?(_0x31521f&&_0x18c0ce&&(_0x31521f+='\x20',_0x18c0ce=!0x1),_0x31521f+=_0xf4bf5e[_0x420a8d(0xed)]):_0x18c0ce=!0x0;_0x18c0ce=!0x0;}return _0x31521f[_0x420a8d(0x136)](0x0,0x96);}[_0x478c50(0x145)](_0x1e940e,_0x38d43b){const _0x49e50a=_0x478c50,_0x363b08=this[_0x49e50a(0x111)],_0x40170e=_0x363b08[_0x49e50a(0x15c)][_0x49e50a(0x157)](_0x5318fe);let _0x99f23a=_0x40170e[_0x49e50a(0x103)](_0x38d43b);const _0xcfe8d7=_0x363b08[_0x49e50a(0x16d)][_0x49e50a(0x157)](_0x49e50a(0x113)),_0x4e5deb=_0x363b08[_0x49e50a(0x15c)][_0x49e50a(0x157)](_0x131c25);if(_0x99f23a&&(_0x99f23a[_0x49e50a(0x134)]&&_0x99f23a[_0x49e50a(0x135)](null),_0x99f23a[_0x49e50a(0x16b)]))return _0x99f23a;return!this[_0x49e50a(0xf6)](_0x38d43b)[0x0][_0x49e50a(0x167)]?_0x363b08[_0x49e50a(0x131)][_0x49e50a(0xec)][_0x49e50a(0x117)](_0x49e50a(0xdc),()=>{const _0x1eae5a=_0x49e50a;if(_0x40170e[_0x1eae5a(0x103)](_0x38d43b))return;const _0x52ba5c=_0x363b08[_0x1eae5a(0x15c)][_0x1eae5a(0x157)](_0x468058);_0x99f23a=_0x40170e[_0x1eae5a(0x161)]({'channelId':_0xcfe8d7,'threadId':_0x38d43b,'target':()=>this[_0x1eae5a(0x144)](_0x38d43b),'context':{'type':_0x1eae5a(0xd6),'value':this[_0x1eae5a(0x177)](_0x38d43b)}});const _0x17d336=_0x40170e[_0x1eae5a(0x119)][_0x1eae5a(0x157)](_0x99f23a)[_0x1eae5a(0xec)],_0x55426c=_0x52ba5c[_0x1eae5a(0x170)](_0x17d336);_0x55426c&&_0x4e5deb[_0x1eae5a(0xfb)](_0x55426c);},{'priority':_0x49e50a(0xe2)}):_0x40170e[_0x49e50a(0x156)]({'channelId':_0xcfe8d7,'threadId':_0x38d43b})[_0x49e50a(0x11b)](_0xf944f4=>{const _0x1732e7=_0x49e50a;if(_0x1732e7(0xe8)!==_0x363b08[_0x1732e7(0x14c)]){if(_0x99f23a=_0xf944f4,_0x99f23a&&!_0x99f23a[_0x1732e7(0x16b)]){const _0x471a7e=_0x99f23a[_0x1732e7(0x10b)](()=>this[_0x1732e7(0x144)](_0x38d43b));_0x4e5deb[_0x1732e7(0xfb)](_0x471a7e),_0x99f23a[_0x1732e7(0x118)]&&this[_0x1732e7(0xef)](_0x38d43b);}else{if(!_0x99f23a){const _0xaa000b=this[_0x1732e7(0xf6)](_0x38d43b);_0x363b08[_0x1732e7(0x151)][_0x1732e7(0xde)](_0x34165e=>{const _0x4b0002=_0x1732e7;for(const _0x4b1107 of _0xaa000b)_0x34165e[_0x4b0002(0x110)](_0x4b1107);});}}}}),_0x99f23a;}[_0x478c50(0xf5)](_0x3e6008,_0x1b623a){const _0x47c523=_0x478c50,_0x30cd1c=this[_0x47c523(0x145)](_0x3e6008,_0x1b623a);_0x30cd1c&&!_0x30cd1c[_0x47c523(0x165)]&&_0x30cd1c[_0x47c523(0xf8)]({'type':_0x47c523(0xd6),'value':this[_0x47c523(0x177)](_0x1b623a)});}[_0x478c50(0xfd)](){const _0x522540=_0x478c50,_0x37443a=this[_0x522540(0x111)];_0x47f61c(_0x37443a[_0x522540(0x151)],({left:_0x451df7,entered:_0x322646})=>{const _0x2877b6=_0x522540;for(const _0x162e1e of _0x451df7)if(mt(_0x162e1e)){_0x37443a['ui'][_0x2877b6(0x150)][_0x2877b6(0x101)](_0xbdbb32(_0x37443a[_0x2877b6(0xeb)],_0x2877b6(0x174)));break;}for(const _0x414d36 of _0x322646)if(mt(_0x414d36)){_0x37443a['ui'][_0x2877b6(0x150)][_0x2877b6(0x101)](_0xbdbb32(_0x37443a[_0x2877b6(0xeb)],_0x2877b6(0x137),_0x28c1dd(_0x53f3b6)));break;}});}}function dt(_0x27adf5,_0xbd1885){return _0xbd1885?_0x27adf5+':'+_0xbd1885:_0x27adf5;}function ht(_0x1ab372,_0xe865b2){const _0x368cd1=_0x478c50,_0x2c41e2=_0xe865b2[_0x368cd1(0x175)],_0x2c4b78=_0xe865b2[_0x368cd1(0x107)](_0x1ab372[_0x368cd1(0x125)]);for(const _0x20f98b of _0x1ab372[_0x368cd1(0x12e)]()){const {type:_0x16273a,item:_0x1fff37,nextPosition:_0x2654cc}=_0x20f98b;if(_0x368cd1(0xd6)===_0x16273a||_0x2c41e2[_0x368cd1(0x11f)](_0x1fff37)){const _0x26709a=_0xe865b2[_0x368cd1(0x155)](_0x1fff37);_0x2c4b78[_0x368cd1(0x115)]&&(_0x2c4b78[_0x368cd1(0x125)]=_0x26709a),_0x2c4b78[_0x368cd1(0xf7)]=_0x2654cc;}}return _0x2c4b78;}function mt(_0x22263d){const _0x1b2c19=_0x478c50;return _0x1b2c19(0x16a)===_0x436eb6(_0x22263d[_0x1b2c19(0x141)])[_0x1b2c19(0x11d)];}
|
|
23
|
+
const _0x702629=_0x1e65;(function(_0x46f792,_0x264fbf){const _0x3b15cc=_0x1e65,_0x55e0e3=_0x46f792();while(!![]){try{const _0x414930=parseInt(_0x3b15cc(0x1a3))/0x1*(parseInt(_0x3b15cc(0x1dd))/0x2)+-parseInt(_0x3b15cc(0x1bf))/0x3*(parseInt(_0x3b15cc(0x1a1))/0x4)+parseInt(_0x3b15cc(0x18f))/0x5*(parseInt(_0x3b15cc(0x1bb))/0x6)+-parseInt(_0x3b15cc(0x17f))/0x7*(-parseInt(_0x3b15cc(0x15a))/0x8)+parseInt(_0x3b15cc(0x188))/0x9+-parseInt(_0x3b15cc(0x1ba))/0xa+-parseInt(_0x3b15cc(0x16c))/0xb;if(_0x414930===_0x264fbf)break;else _0x55e0e3['push'](_0x55e0e3['shift']());}catch(_0x3889ce){_0x55e0e3['push'](_0x55e0e3['shift']());}}}(_0x585f,0xca0a7));function _0x1e65(_0x504b75,_0x2ca80b){const _0x585f94=_0x585f();return _0x1e65=function(_0x1e650e,_0x3a46bb){_0x1e650e=_0x1e650e-0x154;let _0xef42b3=_0x585f94[_0x1e650e];return _0xef42b3;},_0x1e65(_0x504b75,_0x2ca80b);}import{Plugin as _0x2c7854}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x24bbcc,scrollViewportToShowTarget as _0x150744,uid as _0x2c5d94}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x2893d3}from'./commentsrepository.js';function _0x585f(){const _0x706a57=['isCollapsed','isObject','reconvertMarker','getCommentThreads','getByInnerView','29326154aTRBzk','markerName','activeMarker','destroyed','consumable','name','map','_initializeMarkerConverters','clear','getAllMarkersForId','registerAnnotation','hasMarkerForId','_handleThreadMarker','updateMarker','unlinkedAt','removeMarker:','CommentsEditing','fromCharCode','plugins','8625491jvxzKe','elementToElement','text','fetchCommentThread','consume','getRange','push','hasDomSelection','focus','2084517NKcHYe','ariaLiveAnnouncer','model','addComment','commands','setUnlinkedAt','delete','185lVhJsK','then','pluginName','upcast','scrollToThreadMarker','removeCommentThread','root','_detachCommentThread','LEAVE_COMMENT_ANNOUNCEMENT','ready','length','_handleMarkerAddAndRemove','isOfficialPlugin','render','schema','getAttribute','_initAriaMarkerChangeAnnouncements','once','4szisPd','createPositionBefore','1335687hRRqtY','getChangedMarkers','isAttached','affectsData','$marker','editor','collaboration.channelId','view','_attachMarkerToThread','switchReadOnly','registerPostFixer','newRange','isResolved','href','isPremiumPlugin','ENTER_COMMENT_ANNOUNCEMENT','first','comments','conversion','dataToMarker','hasCommentThread','editingDowncast','createElement','1671790YVeMsi','244974PYjPGJ','destroy','author','init','1948302DMqwPz','ignoreResolvedComments','substring','ck-comment-marker--active','_reconvertMarkers','setContext','isThreadsLoadingPaused','removeMarker','change','markerToHighlight','_hasTargetInContent','requires','channelId','addCommentThread','editing','listenTo','refreshVisibility','set','start','isEqual','markerToData','document','_handleInitialThreads','item','size','data','get','announce','hasContent','remove','2CRsuIl','enqueueChange','state','_getTextContext','dataDowncast','join','showCommentHighlights','reopenCommentThread','differ','change:activeMarker','config','comment:','addMarker:','group','ck-comment-marker','_attachArchivedThread','filter','for','_getTargetForId','from','locale','markers','low','_threadToController','attachTo','change:isThreadsLoadingPaused','isSubmitted','openNewCommentThread','createRange','getCommentThread','startsWith','rootName','end','change:isReadOnly','8BPHalS','resolveCommentThread','managedUsingOperations','add','$textProxy','$graveyard','comment','_threads','forEach','context','getWalker','getItems','afterInit'];_0x585f=function(){return _0x706a57;};return _0x585f();}import{AddCommentThreadCommand as _0x5768c4}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2a6a8d,getAllMarkersDomElementsSorted as _0x188a0f,FOCUS_ANNOTATION_KEYSTROKE as _0x584a7f,Users as _0x68d744}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x1b227b}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x4922c3}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x10fa18}from'./integrations/importword.js';import{CommentsClipboard as _0x2ab1d9}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x25b0d7}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x19abd5}from'../annotations/annotations.js';import{getTranslation as _0x577fb7}from'../utils/common-translations.js';import{splitMarkerName as _0x56981d}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x2c7854{static get[_0x702629(0x1ca)](){return[_0x2893d3,_0x1b227b,_0x68d744,_0x4922c3,_0x10fa18,_0x2ab1d9,_0x25b0d7];}static get[_0x702629(0x191)](){const _0x13ef42=_0x702629;return _0x13ef42(0x17c);}static get[_0x702629(0x19b)](){return!0x0;}static get[_0x702629(0x1b1)](){return!0x0;}constructor(_0x89bacc){const _0x1470c8=_0x702629;super(_0x89bacc),this[_0x1470c8(0x1d0)](_0x1470c8(0x1c5),!0x0),_0x89bacc[_0x1470c8(0x1d8)][_0x1470c8(0x1a0)](_0x1470c8(0x198),()=>this[_0x1470c8(0x1c5)]=!0x1),this[_0x1470c8(0x1d0)](_0x1470c8(0x16e),null),this['on'](_0x1470c8(0x1e6),(_0x10a3ae,_0xbe5fc5,_0x1c1dfe,_0x5db6aa)=>{const _0x7ed5f5=_0x1470c8,_0x2a8699=_0x89bacc[_0x7ed5f5(0x17e)][_0x7ed5f5(0x1d9)](_0x2893d3),_0xb42522=_0x1c1dfe?_0x56981d(_0x1c1dfe)['id']:null;_0x89bacc[_0x7ed5f5(0x18a)][_0x7ed5f5(0x1c7)](()=>{const _0x34b039=_0x7ed5f5;if(_0xb42522){const _0x317a06=this[_0x34b039(0x175)](_0xb42522);for(const _0x294c66 of _0x317a06)_0x89bacc[_0x34b039(0x1cd)][_0x34b039(0x169)](_0x294c66);}if(_0x5db6aa){const {id:_0x2cebd3}=_0x56981d(_0x5db6aa),_0x189b08=_0x2a8699[_0x34b039(0x155)](_0x2cebd3);if(_0x189b08&&_0x189b08[_0x34b039(0x17a)])return;if(_0x189b08&&!_0x189b08[_0x34b039(0x1a5)])return;const _0x3b46b9=this[_0x34b039(0x175)](_0x2cebd3);for(const _0x5b51d9 of _0x3b46b9)_0x89bacc[_0x34b039(0x1cd)][_0x34b039(0x169)](_0x5b51d9);}}),_0xb42522&&this[_0x7ed5f5(0x193)](_0xb42522);}),this[_0x1470c8(0x19f)]();}[_0x702629(0x1be)](){const _0x2da49a=_0x702629,_0x39231b=this[_0x2da49a(0x1a8)],_0x32ebec=_0x39231b[_0x2da49a(0x17e)][_0x2da49a(0x1d9)](_0x2893d3),_0x277407=_0x39231b[_0x2da49a(0x1e7)][_0x2da49a(0x1d9)](_0x2da49a(0x1a9)),_0x27e6d7=_0x32ebec[_0x2da49a(0x16a)]()[_0x2da49a(0x1ed)](_0x16b61f=>_0x16b61f[_0x2da49a(0x1cb)]!==_0x277407);_0x39231b[_0x2da49a(0x18c)][_0x2da49a(0x15d)](_0x2da49a(0x1cc),new _0x5768c4(_0x39231b)),this[_0x2da49a(0x1ce)](_0x39231b,_0x2da49a(0x159),(_0x4efe61,_0x4f4821,_0x22d3b6)=>{const _0x1ae7c5=_0x2da49a;_0x32ebec[_0x1ae7c5(0x1ac)](_0x22d3b6,_0x39231b[_0x1ae7c5(0x1e7)][_0x1ae7c5(0x1d9)](_0x1ae7c5(0x1a9)));}),this[_0x2da49a(0x1ce)](_0x32ebec,dt(_0x2da49a(0x1cc),_0x277407),(_0x5bfda3,{threadId:_0x3de008})=>{const _0x507b67=_0x2da49a,_0x48fa4b=this[_0x507b67(0x1a8)][_0x507b67(0x17e)][_0x507b67(0x1d9)](_0x2893d3)[_0x507b67(0x155)](_0x3de008);_0x48fa4b?.[_0x507b67(0x17a)]&&this[_0x507b67(0x1ec)](_0x3de008);}),this[_0x2da49a(0x1ce)](_0x32ebec,dt(_0x2da49a(0x194),_0x277407),(_0x559797,{threadId:_0x35e2f1})=>{const _0x98c620=_0x2da49a;_0x39231b[_0x98c620(0x18a)][_0x98c620(0x1de)]({'isUndoable':!0x1},_0x6ada31=>{const _0xf0f6e6=_0x98c620,_0x1bf75e=this[_0xf0f6e6(0x175)](_0x35e2f1);for(const _0x15790d of _0x1bf75e)_0x6ada31[_0xf0f6e6(0x1c6)](_0x15790d);});}),this[_0x2da49a(0x1ce)](_0x32ebec,dt(_0x2da49a(0x15b),_0x277407),(_0x34eb21,{threadId:_0x56da2c})=>{const _0x142199=_0x2da49a;(this[_0x142199(0x1c3)](_0x56da2c),this[_0x142199(0x1a8)][_0x142199(0x1cd)][_0x142199(0x1aa)][_0x142199(0x186)])&&(this[_0x142199(0x1a8)][_0x142199(0x17e)][_0x142199(0x1d9)](_0x2893d3)[_0x142199(0x155)](_0x56da2c)[_0x142199(0x17a)]||this[_0x142199(0x1a8)][_0x142199(0x1cd)][_0x142199(0x1aa)][_0x142199(0x187)]());},{'priority':_0x2da49a(0x1f3)}),this[_0x2da49a(0x1ce)](_0x32ebec,dt(_0x2da49a(0x1e4),_0x277407),(_0x182fd5,{threadId:_0xa93e36})=>{const _0x2c865f=_0x2da49a;this[_0x2c865f(0x1c3)](_0xa93e36);},{'priority':_0x2da49a(0x1f3)}),this[_0x2da49a(0x1ce)](_0x32ebec,dt(_0x2da49a(0x18b),_0x277407),(_0x38cb48,{threadId:_0x98265b,isFromAdapter:_0x1fbf51})=>{const _0x54e304=_0x2da49a,_0x2a15eb=this[_0x54e304(0x175)](_0x98265b);if(_0x1fbf51||0x0==_0x2a15eb[_0x54e304(0x199)]||!_0x32ebec[_0x54e304(0x1b7)](_0x98265b))return;0x1===_0x32ebec[_0x54e304(0x155)](_0x98265b)[_0x54e304(0x199)]&&_0x39231b[_0x54e304(0x18a)][_0x54e304(0x1de)]({'isUndoable':!0x1},_0x23136c=>{const _0x1ea76e=_0x54e304;for(const _0x38f49c of _0x2a15eb)_0x23136c[_0x1ea76e(0x179)](_0x38f49c,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x2da49a(0x1f3)}),this[_0x2da49a(0x173)](),this[_0x2da49a(0x19a)](),this[_0x2da49a(0x1d5)](_0x27e6d7);}[_0x702629(0x166)](){!async function(_0x1a9952){const _0x228752=_0x21f5f4([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]),_0x581283=0x73460ab3,_0x25798e=0x734189b3^_0x581283,_0x197065=window[_0x21f5f4([0x44,0x61,0x74,0x65])][_0x21f5f4([0x6e,0x6f,0x77])](),_0x38b996=_0x1a9952[_0x21f5f4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59d4bb=new window[(_0x21f5f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f4272=>{_0x38b996[_0x21f5f4([0x6f,0x6e,0x63,0x65])](_0x21f5f4([0x72,0x65,0x61,0x64,0x79]),_0x4f4272);}),_0x13a96e={[_0x21f5f4([0x6b,0x74,0x79])]:_0x21f5f4([0x45,0x43]),[_0x21f5f4([0x75,0x73,0x65])]:_0x21f5f4([0x73,0x69,0x67]),[_0x21f5f4([0x63,0x72,0x76])]:_0x21f5f4([0x50,0x2d,0x32,0x35,0x36]),[_0x21f5f4([0x78])]:_0x21f5f4([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]),[_0x21f5f4([0x79])]:_0x21f5f4([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]),[_0x21f5f4([0x61,0x6c,0x67])]:_0x21f5f4([0x45,0x53,0x32,0x35,0x36])},_0x4eb380=_0x38b996[_0x21f5f4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x21f5f4([0x67,0x65,0x74])](_0x21f5f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1dc182(){let _0x2a3e86,_0x32169a=null,_0x11b9e6=null;try{if(_0x4eb380==_0x21f5f4([0x47,0x50,0x4c]))return _0x21f5f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2a3e86=_0x1db5ce(),!_0x2a3e86)return _0x21f5f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2a3e86[_0x21f5f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x11b9e6=_0x1aa406(_0x2a3e86[_0x21f5f4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2a3e86[_0x21f5f4([0x6a,0x74,0x69])])),await _0x13dd90()?_0x136b4e()?_0x45db0a()?_0x21f5f4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xe81b10()?(_0x2a3e86[_0x21f5f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x21f5f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32169a=_0x288174(_0x21f5f4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x30e51c()):_0x21f5f4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x21f5f4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x21f5f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x21f5f4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x45db0a(){const _0x353e20=[_0x21f5f4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x21f5f4([0x74,0x72,0x69,0x61,0x6c])][_0x21f5f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a3e86[_0x21f5f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x197065/0x3e8:0xe10*_0x25798e;return _0x2a3e86[_0x21f5f4([0x65,0x78,0x70])]<_0x353e20;}function _0x136b4e(){const _0x4de310=_0x2a3e86[_0x21f5f4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4de310)return!0x1;if(_0x4de310[_0x21f5f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f5f4([0x2a])))return!0x0;if(_0x4de310[_0x21f5f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f5f4([0x43,0x4d,0x54])))return!0x0;if(_0x4de310[_0x21f5f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f5f4([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x20fb75())return!0x0;if(_0x4de310[_0x21f5f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f5f4([0x52,0x43,0x4d,0x54]))){if(_0x5299c1())return!0x0;if(_0x5e4a22()||_0x292263())return!0x0;}return!0x1;}function _0xe81b10(){const _0x51cc05=_0x1e65,_0xdac52c=_0x2a3e86[_0x21f5f4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xdac52c||0x0==_0xdac52c[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x13e2f9}=new URL(window[_0x21f5f4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x51cc05(0x1b0)]);if(_0xdac52c[_0x21f5f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13e2f9))return!0x0;const _0x4814c7=_0x13e2f9[_0x21f5f4([0x73,0x70,0x6c,0x69,0x74])](_0x21f5f4([0x2e]));return _0xdac52c[_0x21f5f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b2e05=>_0x1b2e05[_0x21f5f4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x21f5f4([0x2a])))[_0x21f5f4([0x6d,0x61,0x70])](_0x2190af=>_0x2190af[_0x21f5f4([0x73,0x70,0x6c,0x69,0x74])](_0x21f5f4([0x2e])))[_0x21f5f4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58aed3=>_0x58aed3[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4814c7[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21f5f4([0x6d,0x61,0x70])](_0x4e0075=>Array(_0x4814c7[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4e0075[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x21f5f4([0x66,0x69,0x6c,0x6c])](_0x4e0075[0x0]===_0x21f5f4([0x2a])?_0x21f5f4([0x2a]):'')[_0x21f5f4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4e0075))[_0x21f5f4([0x73,0x6f,0x6d,0x65])](_0x496c2f=>_0x4814c7[_0x21f5f4([0x65,0x76,0x65,0x72,0x79])]((_0x8131a4,_0x2846f3)=>_0x496c2f[_0x2846f3]===_0x8131a4||_0x496c2f[_0x2846f3]===_0x21f5f4([0x2a])));}function _0x30e51c(){return _0x32169a&&_0x11b9e6?new window[(_0x21f5f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x10756a,_0x2f118f)=>{_0x32169a[_0x21f5f4([0x74,0x68,0x65,0x6e])](_0x10756a,_0x2f118f),_0x11b9e6[_0x21f5f4([0x74,0x68,0x65,0x6e])](_0x1f64e1=>{_0x1f64e1!=_0x21f5f4([0x56,0x61,0x6c,0x69,0x64])&&_0x10756a(_0x1f64e1);},_0x2f118f);}):_0x32169a||_0x11b9e6||_0x21f5f4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1aa406(_0x1acea1,_0x4b4218){return new window[(_0x21f5f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x497c08=>{if(_0x4be1fc())return _0x497c08(_0x21f5f4([0x56,0x61,0x6c,0x69,0x64]));_0x2fb288(),_0x38b996[_0x21f5f4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x21f5f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13bc5c=!0x1;const _0x1fda9c=_0x2c5d94();function _0x324c35(_0x5a7e9b){return!!_0x5a7e9b&&(typeof _0x5a7e9b===_0x21f5f4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5a7e9b===_0x21f5f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5a7e9b[_0x21f5f4([0x74,0x68,0x65,0x6e])]===_0x21f5f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5a7e9b[_0x21f5f4([0x63,0x61,0x74,0x63,0x68])]===_0x21f5f4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c547e(_0x50ed49){_0x1e231f(_0x50ed49)[_0x21f5f4([0x74,0x68,0x65,0x6e])](_0x24e4cd=>{if(!_0x24e4cd||_0x24e4cd[_0x21f5f4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x21f5f4([0x6f,0x6b]))return _0x21f5f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x34e9f2(_0x362715(_0x1fda9c+_0x4b4218))!=_0x24e4cd[_0x21f5f4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x21f5f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x21f5f4([0x56,0x61,0x6c,0x69,0x64]);})[_0x21f5f4([0x74,0x68,0x65,0x6e])](_0x46c353=>(_0x4bd06e(),_0x46c353),()=>{const _0x3a8522=_0x49cd38();return null==_0x3a8522?(_0x4bd06e(),_0x21f5f4([0x56,0x61,0x6c,0x69,0x64])):_0x21f5f4(_0x197065-_0x3a8522>(0x574a8eb3^_0x581283)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x21f5f4([0x74,0x68,0x65,0x6e])](_0x497c08)[_0x21f5f4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x497c08(_0x21f5f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1e7434=0x7370e433^_0x581283;function _0x4bd06e(){const _0x4d0f50=_0x21f5f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x34e9f2(_0x362715(_0x1acea1)),_0x5da7c8=_0x595b17(_0x34e9f2(window[_0x21f5f4([0x4d,0x61,0x74,0x68])][_0x21f5f4([0x63,0x65,0x69,0x6c])](_0x197065/_0x1e7434)));window[_0x21f5f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21f5f4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d0f50,_0x5da7c8);}function _0x49cd38(){const _0x4bafd6=_0x21f5f4([0x6c,0x6c,0x63,0x74,0x2d])+_0x34e9f2(_0x362715(_0x1acea1)),_0x125475=window[_0x21f5f4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x21f5f4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bafd6);return _0x125475?window[_0x21f5f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x595b17(_0x125475),0x10)*_0x1e7434:null;}function _0x1e231f(_0x2de6ed){return new window[(_0x21f5f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x567b73,_0x8f28b)=>{_0x2de6ed[_0x21f5f4([0x74,0x68,0x65,0x6e])](_0x567b73,_0x8f28b),window[_0x21f5f4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x8f28b,0x7347de73^_0x581283);});}}_0x38b996[_0x21f5f4([0x6f,0x6e])](_0x21f5f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x238c75,_0x1ac8af)=>{if(_0x1ac8af[0x0]!=_0x1acea1)return _0x497c08(_0x21f5f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1ac8af[0x1]={..._0x1ac8af[0x1],[_0x21f5f4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1fda9c};},{[_0x21f5f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21f5f4([0x68,0x69,0x67,0x68])}),_0x38b996[_0x21f5f4([0x6f,0x6e])](_0x21f5f4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x300498=>{_0x324c35(_0x300498[_0x21f5f4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13bc5c=!0x0,_0x3c547e(_0x300498[_0x21f5f4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x21f5f4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x21f5f4([0x6c,0x6f,0x77])}),_0x59d4bb[_0x21f5f4([0x74,0x68,0x65,0x6e])](()=>{_0x13bc5c||_0x497c08(_0x21f5f4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4be1fc(){return _0x38b996[_0x21f5f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21f5f4([0x76,0x69,0x65,0x77])][_0x21f5f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x21f5f4([0x61,0x75,0x74,0x6f]);}function _0x2fb288(){_0x38b996[_0x21f5f4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x21f5f4([0x76,0x69,0x65,0x77])][_0x21f5f4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x21f5f4([0x61,0x75,0x74,0x6f]);}}function _0x288174(_0x25026b){const _0x195f05=[new window[(_0x21f5f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3b284e=>setTimeout(_0x3b284e,0x734f347f^_0x581283)),_0x59d4bb[_0x21f5f4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x21f5f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x365ce4=>{let _0x2286ff=0x0;_0x38b996[_0x21f5f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x21f5f4([0x6f,0x6e])](_0x21f5f4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x9838da,_0xaaec68)=>{_0xaaec68[0x0][_0x21f5f4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2286ff++,_0x2286ff==(0x73460f5b^_0x581283)&&(_0x365ce4(),_0x9838da[_0x21f5f4([0x6f,0x66,0x66])]());});}))];return window[_0x21f5f4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x21f5f4([0x72,0x61,0x63,0x65])](_0x195f05)[_0x21f5f4([0x74,0x68,0x65,0x6e])](()=>_0x25026b);}async function _0x256a80(){await _0x59d4bb,_0x38b996[_0x21f5f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x21f5f4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2c6141,_0x38b996[_0x21f5f4([0x6d,0x6f,0x64,0x65,0x6c])][_0x21f5f4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2c6141,_0x38b996[_0x21f5f4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x21f5f4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20fb75(){return window[_0x21f5f4([0x67,0x6c,0x6f,0x62])]&&window[_0x21f5f4([0x67,0x6c,0x6f,0x62])][_0x21f5f4([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x5299c1(){return _0x5b639f(_0x21f5f4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x48468a(_0x21f5f4([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x21f5f4([0x73,0x74,0x61,0x74,0x65])]==_0x21f5f4([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x5e4a22(){return _0x5b639f(_0x21f5f4([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 _0x292263(){return _0x5b639f(_0x21f5f4([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x3c1859(_0x3f063d){const _0x52acde=_0x375dfa();_0x38b996[_0x52acde]=_0x21f5f4([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f063d,_0x3f063d!=_0x21f5f4([0x56,0x61,0x6c,0x69,0x64])&&_0x256a80();}function _0x375dfa(){const _0x4f2a15=window[_0x21f5f4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x21f5f4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x21f5f4([0x6e,0x6f,0x77])]())[_0x21f5f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x21f5f4([0x2e]),'');let _0x1c7d9d=_0x21f5f4([0x4b]);for(let _0x1a3c96=0x0;_0x1a3c96<_0x4f2a15[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1a3c96+=0x2){let _0x205e3b=window[_0x21f5f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4f2a15[_0x21f5f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1a3c96,_0x1a3c96+0x2));_0x205e3b>=_0x228752[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x205e3b-=_0x228752[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c7d9d+=_0x228752[_0x205e3b];}return _0x1c7d9d;}function _0x1db5ce(){const _0x339df5=_0x4eb380[_0x21f5f4([0x73,0x70,0x6c,0x69,0x74])](_0x21f5f4([0x2e]));if(0x3!=_0x339df5[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2ee4eb(_0x339df5[0x1]);function _0x2ee4eb(_0x378354){const _0x38e787=_0x4524e3(_0x378354);return _0x38e787&&_0x86c32f()?_0x38e787:null;function _0x86c32f(){const _0x9b0ef2=_0x38e787[_0x21f5f4([0x6a,0x74,0x69])],_0x5e7a57=window[_0x21f5f4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x9b0ef2[_0x21f5f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9b0ef2[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xa4d14c={..._0x38e787,[_0x21f5f4([0x6a,0x74,0x69])]:_0x9b0ef2[_0x21f5f4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x9b0ef2[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xa4d14c[_0x21f5f4([0x76,0x63])],_0x362715(_0xa4d14c)==_0x5e7a57;}}}async function _0x13dd90(){let _0x5865b1=!0x0;try{const _0x560665=_0x4eb380[_0x21f5f4([0x73,0x70,0x6c,0x69,0x74])](_0x21f5f4([0x2e])),[_0x3dd8a9,_0x3a66f6,_0x359d2b]=_0x560665;return _0x4dc328(_0x3dd8a9),await _0x286df9(_0x3dd8a9,_0x3a66f6,_0x359d2b),_0x5865b1;}catch{return!0x1;}function _0x4dc328(_0x1a43bf){const _0x31103d=_0x4524e3(_0x1a43bf);_0x31103d&&_0x31103d[_0x21f5f4([0x61,0x6c,0x67])]==_0x21f5f4([0x45,0x53,0x32,0x35,0x36])||(_0x5865b1=!0x1);}async function _0x286df9(_0x4ed755,_0x28d2ec,_0x14c7f5){const _0x118fbf=window[_0x21f5f4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x21f5f4([0x66,0x72,0x6f,0x6d])](_0xa98491(_0x14c7f5),_0x5dbc8f=>_0x5dbc8f[_0x21f5f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3652ea=new window[(_0x21f5f4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x21f5f4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4ed755+_0x21f5f4([0x2e])+_0x28d2ec),_0xd87208=window[_0x21f5f4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x21f5f4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xd87208)return;const _0x351d59=await _0xd87208[_0x21f5f4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x21f5f4([0x6a,0x77,0x6b]),_0x13a96e,{[_0x21f5f4([0x6e,0x61,0x6d,0x65])]:_0x21f5f4([0x45,0x43,0x44,0x53,0x41]),[_0x21f5f4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x21f5f4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x21f5f4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xd87208[_0x21f5f4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x21f5f4([0x6e,0x61,0x6d,0x65])]:_0x21f5f4([0x45,0x43,0x44,0x53,0x41]),[_0x21f5f4([0x68,0x61,0x73,0x68])]:{[_0x21f5f4([0x6e,0x61,0x6d,0x65])]:_0x21f5f4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x351d59,_0x118fbf,_0x3652ea)||(_0x5865b1=!0x1);}}function _0x4524e3(_0x52f0d4){return _0x52f0d4[_0x21f5f4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x21f5f4([0x65,0x79]))?JSON[_0x21f5f4([0x70,0x61,0x72,0x73,0x65])](_0xa98491(_0x52f0d4)):null;}function _0xa98491(_0x46ecd8){return window[_0x21f5f4([0x61,0x74,0x6f,0x62])](_0x46ecd8[_0x21f5f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x21f5f4([0x2b]))[_0x21f5f4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x21f5f4([0x2f])));}function _0x362715(_0x493516){let _0x1a426c=0x1505;function _0xc35e33(_0x12ee23){for(let _0x356ea3=0x0;_0x356ea3<_0x12ee23[_0x21f5f4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x356ea3++){const _0x292c55=_0x12ee23[_0x21f5f4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x356ea3);_0x1a426c=(_0x1a426c<<0x5)+_0x1a426c+_0x292c55,_0x1a426c&=_0x1a426c;}}function _0xbce15e(_0x4c0903){Array[_0x21f5f4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4c0903)?_0x4c0903[_0x21f5f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbce15e):_0x4c0903&&typeof _0x4c0903==_0x21f5f4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x21f5f4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4c0903)[_0x21f5f4([0x73,0x6f,0x72,0x74])]()[_0x21f5f4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x192079,_0x444935])=>{_0xc35e33(_0x192079),_0xbce15e(_0x444935);}):_0xc35e33(window[_0x21f5f4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4c0903));}return _0xbce15e(_0x493516),_0x1a426c>>>0x0;}function _0x34e9f2(_0x5acd3a){return _0x5acd3a[_0x21f5f4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x21f5f4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x21f5f4([0x30]));}function _0x595b17(_0x25b942){return _0x25b942[_0x21f5f4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x21f5f4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x21f5f4([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b639f(_0x3bf398){return _0x38b996[_0x21f5f4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x21f5f4([0x68,0x61,0x73])](_0x3bf398);}function _0x48468a(_0x34efe5){return _0x38b996[_0x21f5f4([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x21f5f4([0x67,0x65,0x74])](_0x34efe5);}function _0x2c6141(){}function _0x21f5f4(_0x41c72c){const _0x226a9b=_0x1e65;return _0x41c72c[_0x226a9b(0x172)](_0x454712=>String[_0x226a9b(0x17d)](_0x454712))[_0x226a9b(0x1e2)]('');}_0x3c1859(await _0x1dc182());}(this);}[_0x702629(0x1bc)](){const _0xb6d9fc=_0x702629,_0x29ef14=this[_0xb6d9fc(0x1a8)][_0xb6d9fc(0x17e)][_0xb6d9fc(0x1d9)](_0x2893d3),_0x2b1a4f=this[_0xb6d9fc(0x1a8)][_0xb6d9fc(0x1e7)][_0xb6d9fc(0x1d9)](_0xb6d9fc(0x1a9));for(const _0x250705 of _0x29ef14[_0xb6d9fc(0x16a)]({'channelId':_0x2b1a4f}))_0x29ef14[_0xb6d9fc(0x196)](_0x250705['id']),_0x29ef14[_0xb6d9fc(0x161)][_0xb6d9fc(0x18e)](_0x250705['id']);super[_0xb6d9fc(0x1bc)]();}[_0x702629(0x177)](_0x280a06){const _0xf40071=_0x702629;return this[_0xf40071(0x175)](_0x280a06)[_0xf40071(0x199)]>0x0;}[_0x702629(0x175)](_0xc18f00){const _0x2bb108=_0x702629,_0x3ac102=[];for(const _0x36db4c of this[_0x2bb108(0x1a8)][_0x2bb108(0x18a)][_0x2bb108(0x1f2)])_0x36db4c[_0x2bb108(0x171)][_0x2bb108(0x156)](_0x2bb108(0x1e8)+_0xc18f00)&&_0x3ac102[_0x2bb108(0x185)](_0x36db4c);return _0x3ac102;}[_0x702629(0x193)](_0x966926){setTimeout(()=>{const _0x36d207=_0x1e65,_0x2a736f=this[_0x36d207(0x1ef)](_0x966926);if(!_0x2a736f)return;this[_0x36d207(0x16e)]&&_0x56981d(this[_0x36d207(0x16e)])['id']===_0x966926&&_0x150744({'target':_0x2a736f[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x702629(0x1c3)](_0x4f241a){const _0x243715=_0x702629;this[_0x243715(0x1a8)][_0x243715(0x18a)][_0x243715(0x1c7)](()=>{const _0x9915d9=_0x243715;for(const _0x1e8892 of this[_0x9915d9(0x175)](_0x4f241a))this[_0x9915d9(0x1a8)][_0x9915d9(0x1cd)][_0x9915d9(0x169)](_0x1e8892);});}[_0x702629(0x1ec)](_0x43571b){const _0x3a0f8e=_0x702629,_0x1e521f=this[_0x3a0f8e(0x1a8)][_0x3a0f8e(0x17e)][_0x3a0f8e(0x1d9)](_0x2893d3),_0x6a62cb=this[_0x3a0f8e(0x1a8)][_0x3a0f8e(0x17e)][_0x3a0f8e(0x1d9)](_0x1b227b),_0x328397=_0x1e521f[_0x3a0f8e(0x155)](_0x43571b);if(!_0x328397[_0x3a0f8e(0x1a5)]){const _0x1f57f3=_0x328397[_0x3a0f8e(0x1f5)](()=>this[_0x3a0f8e(0x1ef)](_0x328397['id']));_0x6a62cb[_0x3a0f8e(0x176)](_0x1f57f3),_0x328397[_0x3a0f8e(0x1c9)]=!0x1;}}[_0x702629(0x173)](){const _0x57499c=_0x702629,_0x301a7b=this[_0x57499c(0x1a8)],_0x403603=_0x301a7b[_0x57499c(0x17e)][_0x57499c(0x1d9)](_0x68d744);_0x301a7b[_0x57499c(0x1b5)][_0x57499c(0x1ee)](_0x57499c(0x1b8))[_0x57499c(0x1c8)]({'model':_0x57499c(0x160),'view':(_0x3bdab7,_0x2cfcb3)=>{const _0x1aca9b=_0x57499c,{id:_0x28ebb5}=_0x56981d(_0x3bdab7[_0x1aca9b(0x16d)]),_0x6311f5=_0x301a7b[_0x1aca9b(0x17e)][_0x1aca9b(0x1d9)](_0x2893d3)[_0x1aca9b(0x155)](_0x28ebb5),_0x21c63b=this[_0x1aca9b(0x16e)]&&_0x56981d(this[_0x1aca9b(0x16e)])['id']===_0x28ebb5;let _0x5f3358;if(_0x6311f5&&_0x6311f5[_0x1aca9b(0x1af)]&&!_0x21c63b&&_0x3bdab7[_0x1aca9b(0x1d6)])return _0x2cfcb3[_0x1aca9b(0x170)][_0x1aca9b(0x183)](_0x3bdab7[_0x1aca9b(0x1d6)],_0x1aca9b(0x1e9)+_0x3bdab7[_0x1aca9b(0x16d)]),_0x2cfcb3[_0x1aca9b(0x170)][_0x1aca9b(0x183)](_0x3bdab7[_0x1aca9b(0x1d6)],_0x1aca9b(0x17b)+_0x3bdab7[_0x1aca9b(0x16d)]),null;const _0x2c7228=[_0x1aca9b(0x1eb)];return _0x21c63b&&_0x2c7228[_0x1aca9b(0x185)](_0x1aca9b(0x1c2)),_0x5f3358=_0x6311f5?.[_0x1aca9b(0x199)]?_0x6311f5[_0x1aca9b(0x1b4)][_0x1aca9b(0x1b3)][_0x1aca9b(0x1bd)]['id']:_0x403603['me']['id'],{'classes':_0x2c7228,'attributes':{'data-comment':_0x28ebb5,'data-author-id':_0x5f3358}};}}),_0x301a7b[_0x57499c(0x1b5)][_0x57499c(0x1ee)](_0x57499c(0x1e1))[_0x57499c(0x1d3)]({'model':_0x57499c(0x160),'view':(_0x44668b,{options:_0x307bc1})=>{const _0x4ad239=_0x57499c;if(_0x307bc1[_0x4ad239(0x1e3)])return null;const _0x39b2b1=_0x301a7b[_0x4ad239(0x17e)][_0x4ad239(0x1d9)](_0x2893d3),_0x524bdd=_0x301a7b[_0x4ad239(0x18a)][_0x4ad239(0x1f2)][_0x4ad239(0x1d9)](_0x44668b),{id:_0x858b55,part:_0x31760c}=_0x56981d(_0x44668b);return _0x524bdd&&!_0x524bdd[_0x4ad239(0x1a6)]||_0x307bc1[_0x4ad239(0x1c0)]&&_0x39b2b1[_0x4ad239(0x155)](_0x858b55)?.[_0x4ad239(0x1af)]?null:{'group':_0x4ad239(0x160),'name':_0x31760c?_0x858b55+':'+_0x31760c:_0x858b55};}}),_0x301a7b[_0x57499c(0x1b5)][_0x57499c(0x1ee)](_0x57499c(0x192))[_0x57499c(0x180)]({'view':{'name':_0x57499c(0x160),'attributes':{'id':/^\w/}},'model':(_0x3ab705,{writer:_0xde2425})=>_0xde2425[_0x57499c(0x1b9)](_0x57499c(0x1a7),{'data-name':_0x57499c(0x1e8)+_0x3ab705[_0x57499c(0x19e)]('id')})}),_0x301a7b[_0x57499c(0x1b5)][_0x57499c(0x1ee)](_0x57499c(0x192))[_0x57499c(0x1b6)]({'view':_0x57499c(0x160)});}[_0x702629(0x19a)](){const _0x221ae3=_0x702629,_0x4da9c5=this[_0x221ae3(0x1a8)],_0x544ede=_0x4da9c5[_0x221ae3(0x17e)][_0x221ae3(0x1d9)](_0x2893d3),_0x296f81=new Set(),_0x3e27fe=new Set();_0x4da9c5[_0x221ae3(0x18a)][_0x221ae3(0x1d4)][_0x221ae3(0x1ad)](_0x4f93d1=>{const _0x2a8fd6=_0x221ae3;let _0x1ef61b=!0x1;for(const {name:_0x5c707c,data:_0x3390f7}of _0x4da9c5[_0x2a8fd6(0x18a)][_0x2a8fd6(0x1d4)][_0x2a8fd6(0x1e5)][_0x2a8fd6(0x1a4)]()){const {group:_0xd91ecd,id:_0x3318e8}=_0x56981d(_0x5c707c);let _0x3001c1=_0x3390f7[_0x2a8fd6(0x1ae)];if(_0x2a8fd6(0x160)!==_0xd91ecd||!_0x3001c1)continue;const _0x4cc712=_0x2a8fd6(0x15f)===_0x3001c1[_0x2a8fd6(0x195)][_0x2a8fd6(0x157)];_0x4cc712||(_0x3001c1=ht(_0x3001c1,_0x4da9c5[_0x2a8fd6(0x18a)]),!_0x3001c1||_0x3001c1[_0x2a8fd6(0x167)]||!_0x3390f7[_0x2a8fd6(0x1ae)]||_0x3001c1[_0x2a8fd6(0x1d2)](_0x3390f7[_0x2a8fd6(0x1ae)]))?_0x4da9c5[_0x2a8fd6(0x18a)][_0x2a8fd6(0x1db)](_0x3001c1)&&!_0x4cc712?this[_0x2a8fd6(0x1c5)]?_0x296f81[_0x2a8fd6(0x15d)](_0x5c707c):this[_0x2a8fd6(0x178)](_0x5c707c,_0x3318e8):(_0x3e27fe[_0x2a8fd6(0x15d)](_0x5c707c),_0x296f81[_0x2a8fd6(0x18e)](_0x5c707c),_0x4f93d1[_0x2a8fd6(0x1c6)](_0x5c707c),_0x1ef61b=!0x0):(_0x4f93d1[_0x2a8fd6(0x179)](_0x5c707c,{'range':_0x3001c1}),_0x1ef61b=!0x0);}return _0x1ef61b;}),this['on'](_0x221ae3(0x1f6),(_0x2a6194,_0x2d8776,_0x51b3ed)=>{const _0x3171c9=_0x221ae3;if(!_0x51b3ed&&_0x296f81[_0x3171c9(0x1d7)])for(const _0x269dbc of _0x296f81){const {id:_0x34808c}=_0x56981d(_0x269dbc);_0x296f81[_0x3171c9(0x18e)](_0x269dbc),_0x4da9c5[_0x3171c9(0x18a)][_0x3171c9(0x1f2)][_0x3171c9(0x1d9)](_0x269dbc)&&this[_0x3171c9(0x178)](_0x269dbc,_0x34808c);}}),this[_0x221ae3(0x1ce)](_0x4da9c5[_0x221ae3(0x18a)][_0x221ae3(0x1d4)],_0x221ae3(0x1c7),()=>{const _0x8ba13b=_0x221ae3;for(const {name:_0x273743,data:{newRange:_0x2b59c}}of _0x4da9c5[_0x8ba13b(0x18a)][_0x8ba13b(0x1d4)][_0x8ba13b(0x1e5)][_0x8ba13b(0x1a4)]()){const {group:_0x488b97,id:_0x3dec0c}=_0x56981d(_0x273743);if(_0x8ba13b(0x160)!==_0x488b97)continue;const _0xb46e8c=_0x544ede[_0x8ba13b(0x155)](_0x3dec0c),_0x32c2a8=this[_0x8ba13b(0x177)](_0x3dec0c);_0xb46e8c&&(!_0xb46e8c[_0x8ba13b(0x1c9)]&&_0x2b59c&&_0x4da9c5[_0x8ba13b(0x1cd)][_0x8ba13b(0x1aa)][_0x8ba13b(0x1a0)](_0x8ba13b(0x19c),()=>{const _0x29548a=_0x8ba13b,_0x4f8cbb=_0x4da9c5[_0x29548a(0x17e)][_0x29548a(0x1d9)](_0x19abd5),_0x802c81=_0x544ede[_0x29548a(0x1f4)][_0x29548a(0x1d9)](_0xb46e8c)[_0x29548a(0x1aa)];_0x4f8cbb[_0x29548a(0x16b)](_0x802c81)[_0x29548a(0x1cf)]();},{'priority':_0x8ba13b(0x1f3)}),_0xb46e8c[_0x8ba13b(0x1c9)]=_0x32c2a8||!!_0x2b59c),_0x2b59c||(_0x3e27fe[_0x8ba13b(0x15d)](_0x273743),_0x296f81[_0x8ba13b(0x18e)](_0x273743));}for(const _0x341bcf of _0x3e27fe){const {id:_0x4aa1a0}=_0x56981d(_0x341bcf),_0x3de27a=_0x544ede[_0x8ba13b(0x155)](_0x4aa1a0);if(_0x296f81[_0x8ba13b(0x18e)](_0x341bcf),!_0x3de27a)continue;const _0x469572=this[_0x8ba13b(0x177)](_0x4aa1a0);_0x469572||_0x3de27a[_0x8ba13b(0x1f7)]?_0x469572||_0x3de27a[_0x8ba13b(0x17a)]||_0x3de27a[_0x8ba13b(0x18d)](new Date()):_0x3de27a[_0x8ba13b(0x1dc)]();}_0x3e27fe[_0x8ba13b(0x174)]();});}[_0x702629(0x1d5)](_0x139ac6){const _0x1ba5e0=_0x702629;_0x139ac6[_0x1ba5e0(0x162)](_0x532f10=>{const _0x1e2ea8=_0x1ba5e0;_0x532f10[_0x1e2ea8(0x17a)]&&this[_0x1e2ea8(0x1ec)](_0x532f10['id']);});}[_0x702629(0x1ef)](_0xe0062d){const _0x1253db=_0x702629,_0x52fd94=this[_0x1253db(0x1a8)],_0xefa741=this[_0x1253db(0x175)](_0xe0062d);return _0x188a0f(_0x52fd94[_0x1253db(0x1cd)],_0xefa741);}[_0x702629(0x1e0)](_0x308dbc){const _0x57046d=_0x702629,_0x5dcd34=this[_0x57046d(0x175)](_0x308dbc);let _0x2fbdeb='',_0x25c951=!0x1;for(const _0x59565c of _0x5dcd34){const _0x2edc61=_0x59565c[_0x57046d(0x184)]();for(const _0x42c126 of Array[_0x57046d(0x1f0)](_0x2edc61[_0x57046d(0x165)]()))_0x42c126['is'](_0x57046d(0x15e))?(_0x2fbdeb&&_0x25c951&&(_0x2fbdeb+='\x20',_0x25c951=!0x1),_0x2fbdeb+=_0x42c126[_0x57046d(0x1d8)]):_0x25c951=!0x0;_0x25c951=!0x0;}return _0x2fbdeb[_0x57046d(0x1c1)](0x0,0x96);}[_0x702629(0x1ab)](_0x18931f,_0x5ef6b1){const _0x2507aa=_0x702629,_0x5978d1=this[_0x2507aa(0x1a8)],_0x22fc49=_0x5978d1[_0x2507aa(0x17e)][_0x2507aa(0x1d9)](_0x2893d3);let _0x418d94=_0x22fc49[_0x2507aa(0x155)](_0x5ef6b1);const _0x38f358=_0x5978d1[_0x2507aa(0x1e7)][_0x2507aa(0x1d9)](_0x2507aa(0x1a9)),_0x51044d=_0x5978d1[_0x2507aa(0x17e)][_0x2507aa(0x1d9)](_0x1b227b);if(_0x418d94&&(_0x418d94[_0x2507aa(0x17a)]&&_0x418d94[_0x2507aa(0x18d)](null),_0x418d94[_0x2507aa(0x1a5)]))return _0x418d94;return!this[_0x2507aa(0x175)](_0x5ef6b1)[0x0][_0x2507aa(0x15c)]?_0x5978d1[_0x2507aa(0x1cd)][_0x2507aa(0x1aa)][_0x2507aa(0x1a0)](_0x2507aa(0x19c),()=>{const _0x1e1e7e=_0x2507aa;if(_0x22fc49[_0x1e1e7e(0x155)](_0x5ef6b1))return;const _0x2f8d5f=_0x5978d1[_0x1e1e7e(0x17e)][_0x1e1e7e(0x1d9)](_0x19abd5);_0x418d94=_0x22fc49[_0x1e1e7e(0x1f8)]({'channelId':_0x38f358,'threadId':_0x5ef6b1,'target':()=>this[_0x1e1e7e(0x1ef)](_0x5ef6b1),'context':{'type':_0x1e1e7e(0x181),'value':this[_0x1e1e7e(0x1e0)](_0x5ef6b1)}});const _0x41405b=_0x22fc49[_0x1e1e7e(0x1f4)][_0x1e1e7e(0x1d9)](_0x418d94)[_0x1e1e7e(0x1aa)],_0x23e602=_0x2f8d5f[_0x1e1e7e(0x16b)](_0x41405b);_0x23e602&&_0x51044d[_0x1e1e7e(0x176)](_0x23e602);},{'priority':_0x2507aa(0x1f3)}):_0x22fc49[_0x2507aa(0x182)]({'channelId':_0x38f358,'threadId':_0x5ef6b1})[_0x2507aa(0x190)](_0xa35f77=>{const _0x4afb7d=_0x2507aa;if(_0x4afb7d(0x16f)!==_0x5978d1[_0x4afb7d(0x1df)]){if(_0x418d94=_0xa35f77,_0x418d94&&!_0x418d94[_0x4afb7d(0x1a5)]){const _0x390edd=_0x418d94[_0x4afb7d(0x1f5)](()=>this[_0x4afb7d(0x1ef)](_0x5ef6b1));_0x51044d[_0x4afb7d(0x176)](_0x390edd),_0x418d94[_0x4afb7d(0x1af)]&&this[_0x4afb7d(0x1c3)](_0x5ef6b1);}else{if(!_0x418d94){const _0x4f038e=this[_0x4afb7d(0x175)](_0x5ef6b1);_0x5978d1[_0x4afb7d(0x18a)][_0x4afb7d(0x1c7)](_0x1c3e1d=>{const _0x457fb6=_0x4afb7d;for(const _0x13c6ba of _0x4f038e)_0x1c3e1d[_0x457fb6(0x1c6)](_0x13c6ba);});}}}}),_0x418d94;}[_0x702629(0x178)](_0x54002a,_0x5dc1ae){const _0xadb97a=_0x702629,_0x5ecb0e=this[_0xadb97a(0x1ab)](_0x54002a,_0x5dc1ae);_0x5ecb0e&&!_0x5ecb0e[_0xadb97a(0x163)]&&_0x5ecb0e[_0xadb97a(0x1c4)]({'type':_0xadb97a(0x181),'value':this[_0xadb97a(0x1e0)](_0x5dc1ae)});}[_0x702629(0x19f)](){const _0x344769=_0x702629,_0x3b8c05=this[_0x344769(0x1a8)];_0x2a6a8d(_0x3b8c05[_0x344769(0x18a)],({left:_0x1da75a,entered:_0x1aef0})=>{const _0x32f9e8=_0x344769;for(const _0x455fb2 of _0x1da75a)if(mt(_0x455fb2)){_0x3b8c05['ui'][_0x32f9e8(0x189)][_0x32f9e8(0x1da)](_0x577fb7(_0x3b8c05[_0x32f9e8(0x1f1)],_0x32f9e8(0x197)));break;}for(const _0x5def90 of _0x1aef0)if(mt(_0x5def90)){_0x3b8c05['ui'][_0x32f9e8(0x189)][_0x32f9e8(0x1da)](_0x577fb7(_0x3b8c05[_0x32f9e8(0x1f1)],_0x32f9e8(0x1b2),_0x24bbcc(_0x584a7f)));break;}});}}function dt(_0x4664c4,_0x31a38a){return _0x31a38a?_0x4664c4+':'+_0x31a38a:_0x4664c4;}function ht(_0x58d5c5,_0xdfd1c4){const _0x4adaea=_0x702629,_0x1d466b=_0xdfd1c4[_0x4adaea(0x19d)],_0x4379c1=_0xdfd1c4[_0x4adaea(0x154)](_0x58d5c5[_0x4adaea(0x1d1)]);for(const _0x2051a4 of _0x58d5c5[_0x4adaea(0x164)]()){const {type:_0xb05861,item:_0x5deed0,nextPosition:_0xbe7e19}=_0x2051a4;if(_0x4adaea(0x181)===_0xb05861||_0x1d466b[_0x4adaea(0x168)](_0x5deed0)){const _0x319d3d=_0xdfd1c4[_0x4adaea(0x1a2)](_0x5deed0);_0x4379c1[_0x4adaea(0x167)]&&(_0x4379c1[_0x4adaea(0x1d1)]=_0x319d3d),_0x4379c1[_0x4adaea(0x158)]=_0xbe7e19;}}return _0x4379c1;}function mt(_0x1ddd41){const _0x3e8cf0=_0x702629;return _0x3e8cf0(0x160)===_0x56981d(_0x1ddd41[_0x3e8cf0(0x171)])[_0x3e8cf0(0x1ea)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x54b4c3=_0x2a85;(function(_0x51c1f6,_0x466c46){const _0x363e56=_0x2a85,_0x1343b5=_0x51c1f6();while(!![]){try{const _0xd4f9c3=-parseInt(_0x363e56(0x16c))/0x1*(-parseInt(_0x363e56(0x165))/0x2)+parseInt(_0x363e56(0x116))/0x3*(-parseInt(_0x363e56(0xaf))/0x4)+parseInt(_0x363e56(0x162))/0x5*(-parseInt(_0x363e56(0xd1))/0x6)+-parseInt(_0x363e56(0xf5))/0x7*(-parseInt(_0x363e56(0x117))/0x8)+-parseInt(_0x363e56(0x113))/0x9*(-parseInt(_0x363e56(0x140))/0xa)+-parseInt(_0x363e56(0x13e))/0xb*(parseInt(_0x363e56(0x15f))/0xc)+-parseInt(_0x363e56(0xa4))/0xd*(-parseInt(_0x363e56(0x11b))/0xe);if(_0xd4f9c3===_0x466c46)break;else _0x1343b5['push'](_0x1343b5['shift']());}catch(_0x1d04a2){_0x1343b5['push'](_0x1343b5['shift']());}}}(_0x16dd,0xe271b));import{PendingActions as _0x2dddfc,ContextPlugin as _0x2c156d,Editor as _0x360649}from'ckeditor5/src/core.js';import{Collection as _0x5913ce,uid as _0x621fd7,CKEditorError as _0xab03fb,ObservableMixin as _0x515dde}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x46a897,hashObject as _0x34f1d7,Users as _0x17909a}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x5ac053,isEqual as _0x1681c8,set as _0x4dc561,unset as _0xc4c05e}from'es-toolkit/compat';import{CommentThreadController as _0x2e358c}from'./ui/commentthreadcontroller.js';function _0x2a85(_0x4e87c4,_0x14868e){const _0x16dd08=_0x16dd();return _0x2a85=function(_0x2a8598,_0x4eddf4){_0x2a8598=_0x2a8598-0x9b;let _0xcaa101=_0x16dd08[_0x2a8598];return _0xcaa101;},_0x2a85(_0x4e87c4,_0x14868e);}import{CommentThreadView as _0x4762fa}from'./ui/view/commentthreadview.js';import{CommentView as _0x4fa8ef}from'./ui/view/commentview.js';import{getTranslation as _0x1c378f}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';function _0x16dd(){const _0x46e98e=['commentInputView','modifyAll','createdAt','createElement','noChannel','commentsrepository-add-comment-internal-error','comments.CommentThreadView','setActiveCommentThread','deactivateAll','commentsrepository-remove-missing-comment','setPermissions','commentsrepository-fetch-comment-thread','toJSON','commentsrepository-missing-target','change:_readOnlyChannels','commentsrepository-update-missing-comment','_hasTargetInContent','external:','_removeActiveAnnotation','change:authoredAt','stopListening','focusableElements','resolveCommentThread','delete','commentsrepository-missing-thread-and-adapter-method','define','CommentView','getIndex','@external','div','_removeCommentThread','_repository','getByInnerView','change:isDirty','isDirty','2087241KkbzYO','_update','from','setContext','commentsrepository-update-comment-invalid-content','archivedAt','requires','submit','max','unlinkedAt','reopen','3495916SqEQxD','_isSubmitted','editorDestroyed','resolve','channelId','commentsrepository-add-comment-user-not-exists','change:activeAnnotations','commentsrepository-resolved-comment-thread','_attachCommentThread','_updateCommentThread','hasCommentThread','addComment','once','isResolved','author','isFromAdapter','highest','CommentsRepository','getCommentThreadForAnnotation','comments.maxThreadTotalWeight','find','innerView','addCommentThread','filter','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','_add','length','values','comments.CommentView','commentThreadInputView','comments.maxCommentsWhenCollapsed','bodyCollectionContainer','commentsrepository-invalid-comment-content','createCommentThreadController','2190FaKJsu','_updateActiveAnnotation','_isAttached','push','commentsrepository-add-comment-to-missing-comment-thread','isRemovable','getCommentThreads','PendingActions','_remove','destroy','getCommentThread','adapter','set','getUser','fire','commentsrepository-active-not-attached','_findOptimalIndex','init','activate','has','commentsrepository-reopen-comment-thread-internal-error','admin','setUnlinkedAt','commentsrepository-adapter-already-set','weight','commentsrepository-duplicated-comment-thread-id','then','commentsrepository-remove-missing-comment-thread','isActive','body','type','activeCommentThread','attachTo','creator','catch','openNewCommentThread','14IwKsnb','view','refreshVisibility','_submitCommentThread','attributes','isResolvable','licenseKey','commentUpdated','isVisible','removeCommentThread','removeAttribute','commentsrepository-update-comment-internal-error','write','switchReadOnly','textContent','map','_threads','isPremiumPlugin','_createNewComment','change:_permissions','trim','innerHTML','add','_detachCommentThread','getAnnotationForCommentThread','commentsrepository-add-comment-thread-internal-error','config','setAttribute','_getExternalAuthor','comments.copyMarkers','9100809hoYsHQ','commentsrepository-invalid-comment-authorid','_unbindEditors','3aFJTHm','2024488BRniFX','_removeComment','submitCommentThread','editorReady','84aAbVRC','fetchCommentThread','updateCommentThread','commentsrepository-remove-comment-missing-comment-thread','_viewToController','isOfficialPlugin','model','_addComment','commentsrepository-active-missing-comment-thread','plugins','commentsrepository-resolve-comment-thread-internal-error','resolvedBy','_threadToController','threadId','authorName','isExternal','getPermissions','comments.maxCommentCharsWhenCollapsed','string','PENDING_ACTION_COMMENT_THREAD','commentsrepository-attach-missing-comment-thread','get','commentsrepository-update-comment-missing-comment-thread','comment','canComment','listenTo','_resolveCommentThread','comments','commentId','remove','pluginName','authoredAt','commentsListView','commentsrepository-update-comment-thread-internal-error','CommentThreadView','459107WQcrIG','commentsrepository-missing-comment-thread','10doNGrU','function','_addCommentThread','commentsrepository-invalid-comment-thread-id','commentsrepository-get-comment-invalid-id','context','comments.editorConfig','_createCommentThreadView','content','focus','update','reopenCommentThread','getTime','focusTracker','commentsrepository-invalid-commentid','bind','getComment','isAttached','escape','locale','isEditable','resolvedAt','_permissions','reduce','warn','_adapter','_readOnlyChannels','addUser','lowest','updateComment','error','216OPqnva','removeComment','commentsrepository-remove-comment-internal-error','17415tmlRgi','assign','_updateComment','2Updcgi','commentsrepository-reopen-comment-thread','_bindAnnotationToEditors','_reopenCommentThread','isSubmitted','isReadOnly','commentsrepository-remove-comment-thread-internal-error','1343390kKWHxS'];_0x16dd=function(){return _0x46e98e;};return _0x16dd();}import{AnnotationView as _0x3f1ee0}from'../annotations/view/annotationview.js';import{Annotation as _0x2fddb5}from'../annotations/annotation.js';import{Annotations as _0xa29510}from'../annotations/annotations.js';const _t=Symbol(_0x54b4c3(0x171)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x2c156d{[_0x54b4c3(0x105)];[_0x54b4c3(0x127)];[_0x54b4c3(0x11f)];static get[_0x54b4c3(0xaa)](){return[_0xa29510,_0x2dddfc,_0x17909a];}static get[_0x54b4c3(0x139)](){const _0x5abd5b=_0x54b4c3;return _0x5abd5b(0xc0);}static get[_0x54b4c3(0x120)](){return!0x0;}static get[_0x54b4c3(0x106)](){return!0x0;}constructor(_0x214ccc){const _0x1838b6=_0x54b4c3;super(_0x214ccc),this[_0x1838b6(0x105)]=new Map(),this[_0x1838b6(0x127)]=new Map(),this[_0x1838b6(0x11f)]=new Map(),this[_0x1838b6(0xdd)](_0x1838b6(0x15a),new Set()),this[_0x1838b6(0xdd)](_0x1838b6(0x156),new Map());const _0x2e526e=this[_0x1838b6(0x145)][_0x1838b6(0x10f)];_0x2e526e[_0x1838b6(0x186)](_0x1838b6(0xcd),0x2),_0x2e526e[_0x1838b6(0x186)](_0x1838b6(0xc2),0x1f4),_0x2e526e[_0x1838b6(0x186)](_0x1838b6(0x12c),0x8c),_0x2e526e[_0x1838b6(0x186)](_0x1838b6(0x173),_0x4762fa),_0x2e526e[_0x1838b6(0x186)](_0x1838b6(0xcb),_0x4fa8ef),_0x2e526e[_0x1838b6(0x130)](_0x1838b6(0x146))||console[_0x1838b6(0x158)](_0x1838b6(0xc7));}[_0x54b4c3(0xe2)](){const _0x594817=_0x54b4c3,_0x5554f5=this[_0x594817(0x145)][_0x594817(0x124)][_0x594817(0x130)](_0xa29510);this[_0x594817(0xdd)](_0x594817(0xf0),null),this['on'](_0x594817(0xc5),(_0x198042,_0x5bc675)=>this[_0x594817(0x142)](_0x5bc675)),this['on'](_0x594817(0x119),(_0x54123f,_0x2795c1)=>this[_0x594817(0xf8)](_0x2795c1)),this['on'](_0x594817(0x183),(_0x4e0e1f,_0x2cad74)=>this[_0x594817(0x135)](_0x2cad74)),this['on'](_0x594817(0x183),(_0x174696,_0x12fea6)=>this[_0x594817(0xd2)](_0x12fea6),{'priority':_0x594817(0x15c)}),this['on'](_0x594817(0x14b),(_0x215168,_0x23c7ac)=>this[_0x594817(0x168)](_0x23c7ac)),this['on'](_0x594817(0x14b),(_0x148f24,_0xa7a737)=>this[_0x594817(0xd2)](_0xa7a737),{'priority':_0x594817(0x15c)}),this['on'](_0x594817(0xfe),(_0x382f74,_0x237e19)=>this[_0x594817(0x9f)](_0x237e19)),this['on'](_0x594817(0x11d),(_0x1e83ad,_0x8e0d7d)=>this[_0x594817(0xb8)](_0x8e0d7d)),this['on'](_0x594817(0x11d),(_0x3ec30c,_0x2ea115)=>this[_0x594817(0xd2)](_0x2ea115),{'priority':_0x594817(0x15c)}),this['on'](_0x594817(0xba),(_0x20eebd,_0x400e57)=>this[_0x594817(0x122)](_0x400e57)),this['on'](_0x594817(0x15d),(_0x3f4115,_0x18657f)=>this[_0x594817(0x164)](_0x18657f)),this['on'](_0x594817(0x160),(_0x5ec635,_0x5381b6)=>this[_0x594817(0x118)](_0x5381b6)),this['on'](_0x594817(0xba),(_0x40eb9f,{threadId:_0x32db58,isFromAdapter:_0x4f5955})=>{const _0x2cf657=_0x594817;if(_0x4f5955)return;const _0x47f2ff=this[_0x2cf657(0xdb)](_0x32db58),_0x16e63b=_0x47f2ff&&this[_0x2cf657(0x127)][_0x2cf657(0x130)](_0x47f2ff);_0x16e63b&&_0x16e63b[_0x2cf657(0xf6)][_0x2cf657(0x13b)][_0x2cf657(0x149)](-0x1);},{'priority':_0x594817(0x15c)}),this[_0x594817(0x134)](_0x5554f5,_0x594817(0xb5),(_0x1d170a,_0x1ca7e8,_0x14c016)=>{const _0x4a31a2=_0x594817,_0x1f499c=Array[_0x4a31a2(0xa6)](_0x14c016)[_0x4a31a2(0x104)](_0xd76d8f=>this[_0x4a31a2(0x11f)][_0x4a31a2(0x130)](_0xd76d8f[_0x4a31a2(0xc4)]))[_0x4a31a2(0xc6)](Boolean)[0x0];this[_0x4a31a2(0xf0)]=_0x1f499c?_0x1f499c[_0x4a31a2(0x121)]:null;});}set[_0x54b4c3(0xdc)](_0x201117){const _0x2a2177=_0x54b4c3;if(this[_0x2a2177(0x159)])throw new _0xab03fb(_0x2a2177(0xe8));this[_0x2a2177(0x159)]=_0x201117;}get[_0x54b4c3(0xdc)](){const _0x1bf609=_0x54b4c3;return this[_0x1bf609(0x159)];}[_0x54b4c3(0xc5)]({channelId:_0x3d948a=_t,threadId:_0x3990da=_0x621fd7(),comments:_0x170414=[],unlinkedAt:_0x45d785=null,resolvedAt:_0x495253=null,resolvedBy:_0x1e75b8=null,target:_0x29af46=null,context:_0x2d1b9f=null,attributes:_0x5a2498={},isResolvable:_0x39aadb=!0x0,isSubmitted:_0x209f89=!0x1,isFromAdapter:_0x47632e=!0x1}={}){const _0x3bb6e3=_0x54b4c3;return this[_0x3bb6e3(0xdf)](Nt(_0x3bb6e3(0xc5),_0x3d948a),{'channelId':_0x3d948a,'threadId':_0x3990da,'comments':_0x170414,'unlinkedAt':_0x45d785,'resolvedAt':_0x495253,'resolvedBy':_0x1e75b8,'target':_0x29af46,'context':_0x2d1b9f,'attributes':_0x5a2498,'isFromAdapter':_0x47632e,'isResolvable':_0x39aadb,'isSubmitted':_0x209f89}),this[_0x3bb6e3(0xdb)](_0x3990da);}[_0x54b4c3(0xf4)]({channelId:_0x3ab201=_t,threadId:_0x391665=_0x621fd7(),target:_0x44130a,context:_0x2a1d57=null,isResolvable:_0x590edb=!0x0}){const _0x2dc31c=_0x54b4c3;if(this[_0x2dc31c(0x15a)][_0x2dc31c(0xe4)](_0x3ab201)||this[_0x2dc31c(0x15a)][_0x2dc31c(0xe4)](void 0x0))return null;if(!_0x44130a)throw new _0xab03fb(_0x2dc31c(0x17a));const _0x26a580=this[_0x2dc31c(0xc5)]({'channelId':_0x3ab201,'threadId':_0x391665,'target':_0x44130a,'context':_0x2a1d57,'isResolvable':_0x590edb});if(!_0x26a580)return null;const _0x3671b6=this[_0x2dc31c(0x127)][_0x2dc31c(0x130)](_0x26a580),_0x4bfc47=_0x3671b6[_0x2dc31c(0xf6)][_0x2dc31c(0xcc)][_0x2dc31c(0x16d)],_0x329611=this[_0x2dc31c(0x145)][_0x2dc31c(0x124)][_0x2dc31c(0x130)](_0xa29510),_0x47d850=_0x329611[_0x2dc31c(0xa1)](_0x3671b6[_0x2dc31c(0xf6)]);return _0x329611[_0x2dc31c(0xe3)](_0x47d850),_0x4bfc47[_0x2dc31c(0xbb)](_0x2dc31c(0x11a),()=>_0x4bfc47[_0x2dc31c(0x149)]()),_0x26a580;}[_0x54b4c3(0xb9)](_0x21d66f){const _0x30cef0=_0x54b4c3;if(_0x30cef0(0x12d)!=typeof _0x21d66f)throw new _0xab03fb(_0x30cef0(0x143));return this[_0x30cef0(0x105)][_0x30cef0(0xe4)](_0x21d66f);}[_0x54b4c3(0x11d)]({channelId:_0x156033=_t,threadId:_0x1568d0,context:_0x280c14,unlinkedAt:_0x2bfda7,attributes:_0x53aae1,isFromAdapter:_0x3b599e=!0x1}){const _0x405de0=_0x54b4c3;return this[_0x405de0(0xdf)](Nt(_0x405de0(0x11d),_0x156033),{'channelId':_0x156033,'threadId':_0x1568d0,'context':_0x280c14,'unlinkedAt':_0x2bfda7,'attributes':_0x53aae1,'isFromAdapter':_0x3b599e}),this[_0x405de0(0xdb)](_0x1568d0);}[_0x54b4c3(0xdb)](_0x1f23a5){const _0x32da7f=_0x54b4c3;if(_0x32da7f(0x12d)!=typeof _0x1f23a5)throw new _0xab03fb(_0x32da7f(0x143));return this[_0x32da7f(0x105)][_0x32da7f(0x130)](_0x1f23a5);}[_0x54b4c3(0x11c)]({channelId:_0x49b517,threadId:_0x1cdd04}={}){const _0x2e20fc=_0x54b4c3,_0x205146=this[_0x2e20fc(0xdb)](_0x1cdd04);if(_0x205146)return Promise[_0x2e20fc(0xb2)](_0x205146);if(!this[_0x2e20fc(0xdc)])return Promise[_0x2e20fc(0xb2)](void 0x0);if(_0x2e20fc(0x141)!=typeof this[_0x2e20fc(0xdc)][_0x2e20fc(0xdb)])throw new _0xab03fb(_0x2e20fc(0x185),this[_0x2e20fc(0x145)]);return this[_0x2e20fc(0xdc)][_0x2e20fc(0xdb)]({'channelId':_0x49b517,'threadId':_0x1cdd04})[_0x2e20fc(0xeb)](_0x4bb2c4=>this[_0x2e20fc(0xb9)](_0x1cdd04)?this[_0x2e20fc(0xdb)](_0x1cdd04):_0x4bb2c4?this[_0x2e20fc(0xc5)](Object[_0x2e20fc(0x163)]({'isFromAdapter':!0x0,'channelId':_0x49b517},_0x4bb2c4)):void 0x0)[_0x2e20fc(0xf3)](_0x1f0c2d=>{const _0x4ab381=_0x2e20fc;throw console[_0x4ab381(0x15e)](_0x1f0c2d),new _0xab03fb(_0x4ab381(0x178),this[_0x4ab381(0x145)]);});}[_0x54b4c3(0xd7)]({channelId:_0x2ab916,skipNotAttached:_0x407922=!0x1,skipEmpty:_0x3d518c=!0x1,toJSON:_0xfa8cb7=!0x1}={}){const _0x957a25=_0x54b4c3,_0xa19e6=[];for(const _0x1bb691 of this[_0x957a25(0x105)][_0x957a25(0xca)]())_0x2ab916&&_0x1bb691[_0x957a25(0xb3)]!==_0x2ab916||_0x407922&&!_0x1bb691[_0x957a25(0x151)]||_0x3d518c&&0x0===_0x1bb691[_0x957a25(0xc9)]||_0xa19e6[_0x957a25(0xd4)](_0x1bb691);return _0xfa8cb7?_0xa19e6[_0x957a25(0x104)](_0x23c033=>_0x23c033[_0x957a25(0x179)]()):_0xa19e6;}[_0x54b4c3(0x10d)](_0x4e6ac5){const _0x9529c8=_0x54b4c3,_0x296886=this[_0x9529c8(0x127)][_0x9529c8(0x130)](_0x4e6ac5);if(!_0x296886)return null;return this[_0x9529c8(0x145)][_0x9529c8(0x124)][_0x9529c8(0x130)](_0xa29510)[_0x9529c8(0xa1)](_0x296886[_0x9529c8(0xf6)])||null;}[_0x54b4c3(0xc1)](_0x5a2416){const _0x34b042=_0x54b4c3,_0x346ea7=this[_0x34b042(0x11f)][_0x34b042(0x130)](_0x5a2416[_0x34b042(0xc4)]);return _0x346ea7?_0x346ea7[_0x34b042(0x121)]:null;}[_0x54b4c3(0x174)](_0x1f46ac){const _0x51b72b=_0x54b4c3,_0x2435d4=this[_0x51b72b(0x145)][_0x51b72b(0x124)][_0x51b72b(0x130)](_0xa29510);if(!_0x1f46ac)return void(this[_0x51b72b(0xf0)]&&_0x2435d4[_0x51b72b(0x175)]());const _0x121461=this[_0x51b72b(0xdb)](_0x1f46ac);if(!_0x121461)throw new _0xab03fb(_0x51b72b(0x123),null,{'threadId':_0x1f46ac});if(!this[_0x51b72b(0x127)][_0x51b72b(0xe4)](_0x121461))throw new _0xab03fb(_0x51b72b(0xe0),null,{'threadId':_0x1f46ac});const _0x5d1e72=_0x2435d4[_0x51b72b(0xa1)](this[_0x51b72b(0x127)][_0x51b72b(0x130)](_0x121461)[_0x51b72b(0xf6)]);_0x2435d4[_0x51b72b(0xe3)](_0x5d1e72);}[_0x54b4c3(0x102)](_0x1fc170,_0x3f96ba){const _0x152bc2=_0x54b4c3;_0x1fc170?this[_0x152bc2(0x15a)][_0x152bc2(0x10b)](_0x3f96ba):this[_0x152bc2(0x15a)][_0x152bc2(0x184)](_0x3f96ba),this[_0x152bc2(0xdf)](_0x152bc2(0x17b),_0x152bc2(0x15a),this[_0x152bc2(0x15a)],this[_0x152bc2(0x15a)]);}[_0x54b4c3(0x16a)](_0x1b5557){const _0x53ce49=_0x54b4c3;return this[_0x53ce49(0x15a)][_0x53ce49(0xe4)](_0x1b5557)||this[_0x53ce49(0x15a)][_0x53ce49(0xe4)](void 0x0);}[_0x54b4c3(0xd0)](_0x18907c,_0x484048){return new _0x2e358c(_0x18907c,_0x484048);}[_0x54b4c3(0x177)](_0x3f5893,_0x353838=_t){const _0x388c31=_0x54b4c3;this[_0x388c31(0x156)][_0x388c31(0xdd)](_0x353838,_0x3f5893),this[_0x388c31(0xdf)](_0x388c31(0x108),_0x388c31(0x156),this[_0x388c31(0x156)],this[_0x388c31(0x156)]);}[_0x54b4c3(0x12b)](_0x28d106=_t){const _0x4f4a8d=_0x54b4c3;return this[_0x4f4a8d(0x156)][_0x4f4a8d(0xe4)](_0x28d106)?this[_0x4f4a8d(0x156)][_0x4f4a8d(0x130)](_0x28d106):bt;}[_0x54b4c3(0x142)]({channelId:_0xf305fc,threadId:_0x5e5ae5,comments:_0x5cb79c,unlinkedAt:_0x39e8e1,resolvedAt:_0x36569c,resolvedBy:_0x23c84d,target:_0x4352b3,context:_0x5e0105,attributes:_0x55558c,isFromAdapter:_0x1e8ad4,isResolvable:_0x430c51,isSubmitted:_0x539322}){const _0x139be9=_0x54b4c3;if(_0x139be9(0x12d)!=typeof _0x5e5ae5)throw new _0xab03fb(_0x139be9(0x143),null,{'threadId':_0x5e5ae5});if(this[_0x139be9(0xb9)](_0x5e5ae5))throw new _0xab03fb(_0x139be9(0xea),null,{'threadId':_0x5e5ae5});const _0x432ec4=new CommentThread(this,{'channelId':_0xf305fc,'id':_0x5e5ae5,'context':_0x5e0105,'attributes':_0x55558c,'unlinkedAt':_0x39e8e1,'resolvedAt':_0x36569c,'resolvedBy':_0x23c84d?this[_0x139be9(0x145)][_0x139be9(0x124)][_0x139be9(0x130)](_0x17909a)[_0x139be9(0xde)](_0x23c84d):null,'isResolvable':_0x430c51,'isSubmitted':_0x539322||_0x1e8ad4});this[_0x139be9(0x105)][_0x139be9(0xdd)](_0x5e5ae5,_0x432ec4);for(const _0x59c903 of _0x5cb79c)_0x432ec4[_0x139be9(0xc8)](this[_0x139be9(0x107)]({'threadId':_0x5e5ae5,..._0x59c903}));return _0x4352b3&&_0x432ec4[_0x139be9(0xf1)](_0x4352b3),_0x1e8ad4||!_0x432ec4[_0x139be9(0xc9)]?Promise[_0x139be9(0xb2)]():this[_0x139be9(0xf8)]({'channelId':_0xf305fc,'threadId':_0x5e5ae5});}[_0x54b4c3(0xf8)]({channelId:_0xc291ac,threadId:_0x5837c2}){const _0x355347=_0x54b4c3;if(!this[_0x355347(0xb9)](_0x5837c2))throw new _0xab03fb(_0x355347(0x13f),this);const _0x538c53=this[_0x355347(0xdb)](_0x5837c2);if(_0x538c53[_0x355347(0xb0)]=!0x0,!this[_0x355347(0xdc)]||_0x355347(0x141)!=typeof this[_0x355347(0xdc)][_0x355347(0xc5)])return Promise[_0x355347(0xb2)]();const {id:_0xf02f0f,comments:_0x22bcae,resolvedAt:_0x7b29b9,resolvedBy:_0x5863ff,context:_0x47e5cf,attributes:_0x4b450e}=_0x538c53,_0x4099cf=this[_0x355347(0x145)][_0x355347(0x124)][_0x355347(0x130)](_0x355347(0xd8)),_0x1f7b99=_0x4099cf[_0x355347(0x10b)](_0x1c378f(this[_0x355347(0x145)][_0x355347(0x153)],_0x355347(0x12e)));return this[_0x355347(0xdc)][_0x355347(0xc5)]({'channelId':_0xc291ac,'threadId':_0xf02f0f,'comments':_0x22bcae[_0x355347(0x104)](_0x7927cf=>_0x7927cf[_0x355347(0x179)]()),'resolvedAt':_0x7b29b9,'resolvedBy':_0x5863ff?_0x5863ff['id']:_0x5863ff,'context':_0x47e5cf,'attributes':_0x4b450e})[_0x355347(0xeb)](({comments:_0x570d8e})=>{const _0x211d95=_0x355347;_0x4099cf[_0x211d95(0x138)](_0x1f7b99);for(const _0x43d4b3 of _0x570d8e)this[_0x211d95(0x164)]({'channelId':_0xc291ac,'threadId':_0x5837c2,'commentId':_0x43d4b3[_0x211d95(0x137)],'createdAt':_0x43d4b3[_0x211d95(0x16f)],'isFromAdapter':!0x0});})[_0x355347(0xf3)](_0x4b94f0=>{const _0x12922c=_0x355347;throw console[_0x12922c(0x15e)](_0x4b94f0),new _0xab03fb(_0x12922c(0x10e),this);});}[_0x54b4c3(0xb7)]({threadId:_0x18d12a,target:_0x389f24}){const _0x2ecea=_0x54b4c3,_0x22d049=this[_0x2ecea(0xdb)](_0x18d12a);if(!_0x22d049)throw new _0xab03fb(_0x2ecea(0x12f),this);const _0x302c6f=this[_0x2ecea(0x145)][_0x2ecea(0x124)][_0x2ecea(0x130)](_0x2ecea(0xd8)),_0x78055a=this[_0x2ecea(0x145)][_0x2ecea(0x124)][_0x2ecea(0x130)](_0xa29510),_0xfdc218=this[_0x2ecea(0x147)](_0x22d049),_0x12a90e=new _0x2e358c(_0x22d049,_0xfdc218);let _0x141947=null;_0xfdc218['on'](_0x2ecea(0xa2),(_0x84de0a,_0x35683a,_0x4016a9)=>{const _0x26f161=_0x2ecea;_0x4016a9?_0x141947=_0x302c6f[_0x26f161(0x10b)](_0x1c378f(this[_0x26f161(0x145)][_0x26f161(0x153)],_0x26f161(0x12e))):_0x141947&&(_0x302c6f[_0x26f161(0x138)](_0x141947),_0x141947=null);}),this[_0x2ecea(0x127)][_0x2ecea(0xdd)](_0x22d049,_0x12a90e),this[_0x2ecea(0x11f)][_0x2ecea(0xdd)](_0xfdc218,_0x12a90e);const _0x16cc77=new _0x3f1ee0(this[_0x2ecea(0x145)][_0x2ecea(0x153)],_0xfdc218);_0x16cc77[_0x2ecea(0x14f)](_0x2ecea(0xc9))['to'](_0xfdc218),_0x16cc77[_0x2ecea(0x14f)](_0x2ecea(0xa3))['to'](_0xfdc218,_0x2ecea(0xa3),_0xfdc218,_0x2ecea(0xc9),(_0x46977e,_0x253929)=>_0x46977e||!_0x253929),_0x16cc77[_0x2ecea(0x14f)](_0x2ecea(0xed))['to'](_0xfdc218),_0x16cc77[_0x2ecea(0xef)]=_0x2ecea(0x132);const _0x21bb00=new _0x2fddb5({'view':_0x16cc77,'target':_0x389f24,'type':_0x2ecea(0x132),'isVisible':!_0x22d049[_0x2ecea(0xa9)]&&!!(_0x2ecea(0x141)==typeof _0x389f24?_0x389f24():_0x389f24)});return _0xfdc218['on'](_0x2ecea(0x152),()=>{const _0x2a3e3c=_0x2ecea;_0x21bb00[_0x2a3e3c(0xdf)](_0x2a3e3c(0x152));}),this[_0x2ecea(0x167)](_0xfdc218,_0x21bb00),_0x78055a[_0x2ecea(0x10b)](_0x21bb00),_0x21bb00;}[_0x54b4c3(0x167)](_0x2b3991,_0x5520c0){const _0x43aa68=_0x54b4c3;this[_0x43aa68(0x134)](_0x2b3991,_0x43aa68(0x11a),(_0x144f2d,_0x38504b)=>{const _0x1e3a65=_0x43aa68,_0x1fd77a=_0x38504b['ui'][_0x1e3a65(0xf6)][_0x1e3a65(0xee)][_0x1e3a65(0xce)];_0x5520c0[_0x1e3a65(0x182)][_0x1e3a65(0x10b)](_0x1fd77a),this[_0x1e3a65(0x145)]instanceof _0x360649&&this[_0x1e3a65(0x145)]['ui'][_0x1e3a65(0x14d)][_0x1e3a65(0x10b)](_0x1fd77a);},{'priority':_0x43aa68(0xbf)}),this[_0x43aa68(0x134)](_0x2b3991,_0x43aa68(0xb1),(_0x4768fb,_0x593f07)=>{const _0x3dc287=_0x43aa68,_0xfe5b71=_0x593f07['ui'][_0x3dc287(0xf6)][_0x3dc287(0xee)][_0x3dc287(0xce)];_0x5520c0[_0x3dc287(0x182)][_0x3dc287(0xe4)](_0xfe5b71)&&_0x5520c0[_0x3dc287(0x182)][_0x3dc287(0x138)](_0xfe5b71),this[_0x3dc287(0x145)]instanceof _0x360649&&this[_0x3dc287(0x145)]['ui'][_0x3dc287(0x14d)][_0x3dc287(0x138)](_0xfe5b71);});}[_0x54b4c3(0x115)](_0x1d5768){const _0x452ce8=_0x54b4c3;this[_0x452ce8(0x181)](_0x1d5768,_0x452ce8(0x11a)),this[_0x452ce8(0x181)](_0x1d5768,_0x452ce8(0xb1));}[_0x54b4c3(0x147)](_0x4896b8){const _0x1d9c1d=_0x54b4c3,_0x219d87=this[_0x1d9c1d(0x145)][_0x1d9c1d(0x124)][_0x1d9c1d(0x130)](_0x17909a),{config:_0xa5d407,locale:_0x275545}=this[_0x1d9c1d(0x145)],_0x77703a=_0x46a897(_0xa5d407[_0x1d9c1d(0x130)](_0x1d9c1d(0x153)),_0x275545);return new(0x0,(_0xa5d407[_0x1d9c1d(0x130)](_0x1d9c1d(0x136)))[(_0x1d9c1d(0x13d))])(_0x275545,_0x4896b8,_0x219d87['me'],{'editorConfig':{..._0xa5d407[_0x1d9c1d(0x130)](_0x1d9c1d(0x146)),'licenseKey':this[_0x1d9c1d(0x145)][_0x1d9c1d(0x10f)][_0x1d9c1d(0x130)](_0x1d9c1d(0xfb))},'copyMarkers':_0xa5d407[_0x1d9c1d(0x130)](_0x1d9c1d(0x112)),'maxCommentsWhenCollapsed':_0xa5d407[_0x1d9c1d(0x130)](_0x1d9c1d(0xcd)),'maxThreadTotalWeight':_0xa5d407[_0x1d9c1d(0x130)](_0x1d9c1d(0xc2)),'maxCommentCharsWhenCollapsed':_0xa5d407[_0x1d9c1d(0x130)](_0x1d9c1d(0x12c)),'formatDateTime':_0x77703a,'CommentView':_0xa5d407[_0x1d9c1d(0x130)](_0x1d9c1d(0x136))[_0x1d9c1d(0x9b)]});}[_0x54b4c3(0x135)]({threadId:_0x5cee31,channelId:_0x2b64ad,resolvedAt:_0x172d97,resolvedBy:_0x583bb6,isFromAdapter:_0x52c959}){const _0x320f7a=_0x54b4c3;if(!this[_0x320f7a(0xb9)](_0x5cee31))throw new _0xab03fb(_0x320f7a(0x13f),null,{'threadId':_0x5cee31});const _0x2d6a0f=this[_0x320f7a(0xdb)](_0x5cee31);if(_0x2d6a0f[_0x320f7a(0xbc)])throw new _0xab03fb(_0x320f7a(0xb6),null,{'threadId':_0x5cee31});const _0x5a5a36=this[_0x320f7a(0x145)][_0x320f7a(0x124)][_0x320f7a(0x130)](_0x17909a);if(_0x2d6a0f[_0x320f7a(0x126)]=_0x5a5a36[_0x320f7a(0xde)](_0x583bb6),_0x2d6a0f[_0x320f7a(0x155)]=_0x172d97,_0x52c959||!this[_0x320f7a(0xdc)]||_0x320f7a(0x141)!=typeof this[_0x320f7a(0xdc)][_0x320f7a(0x183)])return Promise[_0x320f7a(0xb2)]();const _0x2b8355=this[_0x320f7a(0x145)][_0x320f7a(0x124)][_0x320f7a(0x130)](_0x320f7a(0xd8)),_0x86c42a=_0x2b8355[_0x320f7a(0x10b)](_0x1c378f(this[_0x320f7a(0x145)][_0x320f7a(0x153)],_0x320f7a(0x12e)));return this[_0x320f7a(0xdc)][_0x320f7a(0x183)]({'channelId':_0x2b64ad,'threadId':_0x5cee31})[_0x320f7a(0xeb)](({resolvedAt:_0x4332f4,resolvedBy:_0x50a2a8})=>{const _0x1c518f=_0x320f7a;_0x2b8355[_0x1c518f(0x138)](_0x86c42a),_0x2d6a0f[_0x1c518f(0x126)]['id']!==_0x50a2a8&&(_0x2d6a0f[_0x1c518f(0x126)]=_0x5a5a36[_0x1c518f(0xde)](_0x50a2a8)),_0x2d6a0f[_0x1c518f(0x155)]=_0x4332f4;})[_0x320f7a(0xf3)](_0x4df215=>{const _0x361a84=_0x320f7a;throw console[_0x361a84(0x15e)](_0x4df215),new _0xab03fb(_0x361a84(0x125),this);});}[_0x54b4c3(0x168)]({threadId:_0x14cc6a,channelId:_0x5d1184,isFromAdapter:_0x529d34}){const _0x206f61=_0x54b4c3;if(!this[_0x206f61(0xb9)](_0x14cc6a))throw new _0xab03fb(_0x206f61(0x13f),null,{'threadId':_0x14cc6a});const _0x554443=this[_0x206f61(0xdb)](_0x14cc6a);if(!_0x554443[_0x206f61(0xbc)])throw new _0xab03fb(_0x206f61(0x166),null,{'threadId':_0x14cc6a});if(_0x554443[_0x206f61(0x126)]=null,_0x554443[_0x206f61(0x155)]=null,_0x529d34||!this[_0x206f61(0xdc)]||_0x206f61(0x141)!=typeof this[_0x206f61(0xdc)][_0x206f61(0x14b)])return Promise[_0x206f61(0xb2)]();const _0x5b9e2b=this[_0x206f61(0x145)][_0x206f61(0x124)][_0x206f61(0x130)](_0x206f61(0xd8)),_0xc52d26=_0x5b9e2b[_0x206f61(0x10b)](_0x1c378f(this[_0x206f61(0x145)][_0x206f61(0x153)],_0x206f61(0x12e)));return this[_0x206f61(0xdc)][_0x206f61(0x14b)]({'channelId':_0x5d1184,'threadId':_0x14cc6a})[_0x206f61(0xeb)](()=>_0x5b9e2b[_0x206f61(0x138)](_0xc52d26))[_0x206f61(0xf3)](_0x15020d=>{const _0x3b0426=_0x206f61;throw console[_0x3b0426(0x15e)](_0x15020d),new _0xab03fb(_0x3b0426(0xe5),this);});}[_0x54b4c3(0x9f)]({threadId:_0x590f42,isFromAdapter:_0x4f2f2a}){const _0x1c00c2=_0x54b4c3,_0x451a22=this[_0x1c00c2(0xdb)](_0x590f42);if(!_0x451a22)throw new _0xab03fb(_0x1c00c2(0xec),this);if(this[_0x1c00c2(0x10c)](_0x590f42),this[_0x1c00c2(0x105)][_0x1c00c2(0x184)](_0x590f42),!_0x451a22[_0x1c00c2(0x169)]||_0x4f2f2a||!this[_0x1c00c2(0xdc)]||_0x1c00c2(0x141)!=typeof this[_0x1c00c2(0xdc)][_0x1c00c2(0xfe)])return Promise[_0x1c00c2(0xb2)]();const _0x2671c2=this[_0x1c00c2(0x145)][_0x1c00c2(0x124)][_0x1c00c2(0x130)](_0x1c00c2(0xd8)),{channelId:_0x24011d}=_0x451a22,_0x1f6506=_0x2671c2[_0x1c00c2(0x10b)](_0x1c378f(this[_0x1c00c2(0x145)][_0x1c00c2(0x153)],_0x1c00c2(0x12e)));return this[_0x1c00c2(0xdc)][_0x1c00c2(0xfe)]({'channelId':_0x24011d,'threadId':_0x590f42})[_0x1c00c2(0xeb)](()=>_0x2671c2[_0x1c00c2(0x138)](_0x1f6506))[_0x1c00c2(0xf3)](_0x29ccb9=>{const _0x3b31a2=_0x1c00c2;throw console[_0x3b31a2(0x15e)](_0x29ccb9),new _0xab03fb(_0x3b31a2(0x16b),this);});}[_0x54b4c3(0xb8)]({threadId:_0x537f40,unlinkedAt:_0x24ff64,context:_0x2ec414,attributes:_0x48a394,isFromAdapter:_0x3d0f01}){const _0x1efd4b=_0x54b4c3;if(_0x1efd4b(0x12d)!=typeof _0x537f40)throw new _0xab03fb(_0x1efd4b(0x143),null,{'threadId':_0x537f40});if(!this[_0x1efd4b(0xb9)](_0x537f40))throw new _0xab03fb(_0x1efd4b(0x13f),null,{'threadId':_0x537f40});const _0x1509a7=this[_0x1efd4b(0xdb)](_0x537f40);let _0x358e05=!0x1;if(void 0x0!==_0x2ec414&&_0x1509a7[_0x1efd4b(0x145)]!==_0x2ec414&&(_0x1509a7[_0x1efd4b(0x145)]=_0x2ec414,_0x358e05=!0x0),void 0x0!==_0x24ff64&&_0x1509a7[_0x1efd4b(0xad)]!==_0x24ff64&&(_0x1509a7[_0x1efd4b(0xad)]=_0x24ff64,_0x358e05=!0x0),_0x48a394&&!_0x1681c8(_0x48a394,_0x1509a7[_0x1efd4b(0xf9)])&&(_0x1509a7[_0x1efd4b(0xf9)]=_0x48a394,_0x358e05=!0x0),!_0x358e05)return Promise[_0x1efd4b(0xb2)]();if(!_0x1509a7[_0x1efd4b(0x169)]||_0x3d0f01||!this[_0x1efd4b(0xdc)]||_0x1efd4b(0x141)!=typeof this[_0x1efd4b(0xdc)][_0x1efd4b(0x11d)])return Promise[_0x1efd4b(0xb2)]();const _0x2b7214=this[_0x1efd4b(0x145)][_0x1efd4b(0x124)][_0x1efd4b(0x130)](_0x1efd4b(0xd8)),{channelId:_0xbbdd62}=_0x1509a7,_0x11c8e4=_0x2b7214[_0x1efd4b(0x10b)](_0x1c378f(this[_0x1efd4b(0x145)][_0x1efd4b(0x153)],_0x1efd4b(0x12e)));return this[_0x1efd4b(0xdc)][_0x1efd4b(0x11d)]({'channelId':_0xbbdd62,'threadId':_0x537f40,'context':_0x2ec414,'unlinkedAt':_0x24ff64,'attributes':_0x48a394})[_0x1efd4b(0xeb)](()=>_0x2b7214[_0x1efd4b(0x138)](_0x11c8e4))[_0x1efd4b(0xf3)](_0x108e79=>{const _0x17b16f=_0x1efd4b;throw console[_0x17b16f(0x15e)](_0x108e79),new _0xab03fb(_0x17b16f(0x13c),this);});}[_0x54b4c3(0x10c)](_0x27cb1b){const _0x2d075c=_0x54b4c3,_0x4ac3d1=this[_0x2d075c(0x145)][_0x2d075c(0x124)][_0x2d075c(0x130)](_0xa29510),_0x5d4cab=this[_0x2d075c(0xdb)](_0x27cb1b);if(_0x5d4cab[_0x2d075c(0xd3)]=!0x1,this[_0x2d075c(0x127)][_0x2d075c(0xe4)](_0x5d4cab)){const _0x42765d=this[_0x2d075c(0x127)][_0x2d075c(0x130)](_0x5d4cab),_0x221092=_0x42765d[_0x2d075c(0xf6)],_0x379913=_0x4ac3d1[_0x2d075c(0xa1)](_0x221092);this[_0x2d075c(0x127)][_0x2d075c(0x184)](_0x5d4cab),this[_0x2d075c(0x11f)][_0x2d075c(0x184)](_0x221092),_0x379913&&_0x4ac3d1[_0x2d075c(0x138)](_0x379913),_0x42765d[_0x2d075c(0xda)](),_0x221092[_0x2d075c(0xda)]()[_0x2d075c(0xeb)](()=>{const _0x369f54=_0x2d075c;this[_0x369f54(0x115)](_0x221092);});}}[_0x54b4c3(0xd2)]({threadId:_0x443a4d,resolvedAt:_0x32f22d,unlinkedAt:_0x555ed4}){const _0x125c41=_0x54b4c3,_0xc0cb39=!!_0x32f22d,_0x59053a=this[_0x125c41(0x145)][_0x125c41(0x124)][_0x125c41(0x130)](_0xa29510),_0x57d778=this[_0x125c41(0xdb)](_0x443a4d);if(this[_0x125c41(0x127)][_0x125c41(0xe4)](_0x57d778)){const _0x55a451=this[_0x125c41(0x127)][_0x125c41(0x130)](_0x57d778)[_0x125c41(0xf6)],_0x11957b=_0x59053a[_0x125c41(0xa1)](_0x55a451);_0x11957b&&(_0xc0cb39&&_0x59053a[_0x125c41(0x17f)](_0x11957b),_0x555ed4?_0x11957b[_0x125c41(0xfd)]=!0x1:_0x11957b[_0x125c41(0xf7)]());}}[_0x54b4c3(0x111)](_0x355c33){const _0x54b945=_0x54b4c3,_0x31ef91=this[_0x54b945(0x145)][_0x54b945(0x124)][_0x54b945(0x130)](_0x17909a),_0x348dc1=_0x34f1d7(_0x54b945(0x17e)+_0x355c33),_0x43dfa2=_0x31ef91[_0x54b945(0xde)](_0x348dc1);return _0x43dfa2||_0x31ef91[_0x54b945(0x15b)]({'id':_0x348dc1,'name':_0x355c33});}[_0x54b4c3(0x107)]({threadId:_0x39a671,commentId:_0x2e2c56=_0x621fd7(),content:_0x1d669a,authorId:_0x393a9f,createdAt:_0xde6046,attributes:_0x18eed5}){const _0x9b41a4=_0x54b4c3;if(_0x9b41a4(0x12d)!=typeof _0x2e2c56)throw new _0xab03fb(_0x9b41a4(0x14e));if(_0x9b41a4(0x12d)!=typeof _0x393a9f)throw new _0xab03fb(_0x9b41a4(0x114));if(_0x9b41a4(0x12d)!=typeof _0x1d669a||!_0x1d669a[_0x9b41a4(0x109)]())throw new _0xab03fb(_0x9b41a4(0xcf));const _0x3dca6e=this[_0x9b41a4(0x145)][_0x9b41a4(0x124)][_0x9b41a4(0x130)](_0x17909a)[_0x9b41a4(0xde)](_0x393a9f);if(!_0x3dca6e)throw new _0xab03fb(_0x9b41a4(0xb4),null,{'authorId':_0x393a9f});let _0x4ccce0=null,_0x1a6c3e=_0xde6046;return _0x18eed5?.[_0x9b41a4(0x9d)]&&(_0x4ccce0=this[_0x9b41a4(0x111)](_0x18eed5[_0x9b41a4(0x9d)][_0x9b41a4(0x129)]),_0x1a6c3e=new Date(_0x18eed5[_0x9b41a4(0x9d)][_0x9b41a4(0x16f)])),new Comment(this,{'threadId':_0x39a671,'id':_0x2e2c56,'author':_0x4ccce0||_0x3dca6e,'creator':_0x3dca6e,'content':_0x1d669a,'createdAt':_0xde6046,'authoredAt':_0x1a6c3e,'attributes':_0x18eed5});}[_0x54b4c3(0x122)](_0x23761c){const _0x38947c=_0x54b4c3;let {threadId:_0x4ec39c,content:_0x6ae5a3,attributes:_0x2aaea6,isFromAdapter:_0x4dff77}=_0x23761c;const _0x4fb245=this[_0x38947c(0xdb)](_0x23761c[_0x38947c(0x128)]);if(!_0x4fb245)throw new _0xab03fb(_0x38947c(0xd5),this);const _0x335b8b=this[_0x38947c(0x107)](_0x23761c),{id:_0xb96092}=_0x335b8b;if(_0x4fb245[_0x38947c(0xc8)](_0x335b8b),_0x4dff77||!this[_0x38947c(0xdc)]||_0x38947c(0x141)!=typeof this[_0x38947c(0xdc)][_0x38947c(0xba)]||!_0x4fb245[_0x38947c(0x169)])return Promise[_0x38947c(0xb2)]();const _0x1cd4aa=this[_0x38947c(0x145)][_0x38947c(0x124)][_0x38947c(0x130)](_0x38947c(0xd8)),{channelId:_0x204d11}=_0x4fb245,_0x496edc=_0x1cd4aa[_0x38947c(0x10b)](_0x1c378f(this[_0x38947c(0x145)][_0x38947c(0x153)],_0x38947c(0x12e)));return _0x2aaea6||(_0x2aaea6={}),this[_0x38947c(0xdc)][_0x38947c(0xba)]({'channelId':_0x204d11,'threadId':_0x4ec39c,'commentId':_0xb96092,'content':_0x6ae5a3,'attributes':_0x2aaea6})[_0x38947c(0xeb)](_0x588e2d=>{const _0x1da6f9=_0x38947c;_0x1cd4aa[_0x1da6f9(0x138)](_0x496edc),_0x588e2d&&this[_0x1da6f9(0x164)]({'channelId':_0x204d11,'threadId':_0x4ec39c,'commentId':_0xb96092,'createdAt':_0x588e2d[_0x1da6f9(0x16f)],'isFromAdapter':!0x0});})[_0x38947c(0xf3)](_0x273829=>{const _0x125967=_0x38947c;throw console[_0x125967(0x15e)](_0x273829),new _0xab03fb(_0x125967(0x172),this);});}[_0x54b4c3(0x164)]({threadId:_0x20bb5d,commentId:_0x54e80e,content:_0x3c5539,createdAt:_0x44371c,attributes:_0x3eb0e7,isFromAdapter:_0x1052b2}){const _0x3e3277=_0x54b4c3;if(void 0x0!==_0x3c5539&&(_0x3e3277(0x12d)!=typeof _0x3c5539||!_0x3c5539[_0x3e3277(0x109)]()[_0x3e3277(0xc9)]))throw new _0xab03fb(_0x3e3277(0xa8));const _0x9d2ba0=this[_0x3e3277(0xdb)](_0x20bb5d),_0x385c4c=_0x9d2ba0[_0x3e3277(0x150)](_0x54e80e);if(!_0x385c4c)throw new _0xab03fb(_0x3e3277(0x17c),this);let _0x3141b5=!0x1;if(_0x3c5539&&_0x3c5539!==_0x385c4c[_0x3e3277(0x148)]&&(_0x385c4c[_0x3e3277(0x154)]||_0x1052b2)&&(_0x385c4c[_0x3e3277(0x148)]=_0x3c5539,_0x3141b5=!0x0),_0x44371c&&_0x44371c!==_0x385c4c[_0x3e3277(0x16f)]&&(_0x385c4c[_0x3e3277(0x16f)]=_0x44371c,_0x385c4c[_0x3e3277(0xf9)]&&_0x385c4c[_0x3e3277(0xf9)][_0x3e3277(0x9d)]||(_0x385c4c[_0x3e3277(0x13a)]=_0x44371c),_0x3141b5=!0x0),_0x3eb0e7&&!_0x1681c8(_0x3eb0e7,_0x385c4c[_0x3e3277(0xf9)])&&(_0x385c4c[_0x3e3277(0xf9)]=_0x3eb0e7,_0x3141b5=!0x0),!_0x3141b5)return Promise[_0x3e3277(0xb2)]();if(_0x9d2ba0[_0x3e3277(0xdf)](_0x3e3277(0xfc)),_0x1052b2||!this[_0x3e3277(0xdc)]||_0x3e3277(0x141)!=typeof this[_0x3e3277(0xdc)][_0x3e3277(0x15d)])return Promise[_0x3e3277(0xb2)]();const _0x485e41=this[_0x3e3277(0x145)][_0x3e3277(0x124)][_0x3e3277(0x130)](_0x3e3277(0xd8)),{channelId:_0xabf65a}=this[_0x3e3277(0xdb)](_0x385c4c[_0x3e3277(0x128)]),_0x4352b9=_0x485e41[_0x3e3277(0x10b)](_0x1c378f(this[_0x3e3277(0x145)][_0x3e3277(0x153)],_0x3e3277(0x12e)));return this[_0x3e3277(0xdc)][_0x3e3277(0x15d)]({'channelId':_0xabf65a,'threadId':_0x20bb5d,'commentId':_0x54e80e,'content':_0x3c5539,'attributes':_0x3eb0e7})[_0x3e3277(0xeb)](()=>_0x485e41[_0x3e3277(0x138)](_0x4352b9))[_0x3e3277(0xf3)](_0x8629=>{const _0x15cbc8=_0x3e3277;throw console[_0x15cbc8(0x15e)](_0x8629),new _0xab03fb(_0x15cbc8(0x100),this);});}[_0x54b4c3(0x118)]({threadId:_0x49de51,commentId:_0x2b9696,isFromAdapter:_0x305459}){const _0x129ec2=_0x54b4c3,_0x35298f=this[_0x129ec2(0xdb)](_0x49de51),_0x4d4072=_0x35298f[_0x129ec2(0x150)](_0x2b9696);if(!_0x4d4072)throw new _0xab03fb(_0x129ec2(0x176),this);if(_0x35298f[_0x129ec2(0xd9)](_0x4d4072),_0x305459||!this[_0x129ec2(0xdc)]||_0x129ec2(0x141)!=typeof this[_0x129ec2(0xdc)][_0x129ec2(0x160)])return Promise[_0x129ec2(0xb2)]();const _0x6e760b=this[_0x129ec2(0x145)][_0x129ec2(0x124)][_0x129ec2(0x130)](_0x129ec2(0xd8)),{channelId:_0x5d0d52}=_0x35298f,_0xcf087f=_0x6e760b[_0x129ec2(0x10b)](_0x1c378f(this[_0x129ec2(0x145)][_0x129ec2(0x153)],_0x129ec2(0x12e)));return this[_0x129ec2(0xdc)][_0x129ec2(0x160)]({'channelId':_0x5d0d52,'threadId':_0x49de51,'commentId':_0x2b9696})[_0x129ec2(0xeb)](()=>_0x6e760b[_0x129ec2(0x138)](_0xcf087f))[_0x129ec2(0xf3)](_0x36e878=>{const _0x199d08=_0x129ec2;throw console[_0x199d08(0x15e)](_0x36e878),new _0xab03fb(_0x199d08(0x161),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x1b4247=_0x344c;(function(_0x198e73,_0x1a1b65){const _0x6d2902=_0x344c,_0x55d9bd=_0x198e73();while(!![]){try{const _0x340457=-parseInt(_0x6d2902(0x20b))/0x1+-parseInt(_0x6d2902(0x1bf))/0x2+-parseInt(_0x6d2902(0x27d))/0x3+parseInt(_0x6d2902(0x246))/0x4+-parseInt(_0x6d2902(0x1c1))/0x5*(-parseInt(_0x6d2902(0x1ef))/0x6)+parseInt(_0x6d2902(0x1e6))/0x7+-parseInt(_0x6d2902(0x266))/0x8*(parseInt(_0x6d2902(0x1ee))/0x9);if(_0x340457===_0x1a1b65)break;else _0x55d9bd['push'](_0x55d9bd['shift']());}catch(_0x5ce728){_0x55d9bd['push'](_0x55d9bd['shift']());}}}(_0x1cb5,0x38a85));import{PendingActions as _0x4c3c43,ContextPlugin as _0x313555,Editor as _0x4a182c}from'ckeditor5/src/core.js';import{Collection as _0x556a67,uid as _0x2bed46,CKEditorError as _0x418a1d,ObservableMixin as _0x46bdf9}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x410cc9,hashObject as _0x8af621,Users as _0x50caad}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x3361b1,isEqual as _0x53a820,set as _0x43c41a,unset as _0x292e24}from'es-toolkit/compat';import{CommentThreadController as _0x2c78da}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x4a56e8}from'./ui/view/commentthreadview.js';function _0x344c(_0x2f252e,_0x44b429){const _0x1cb5a1=_0x1cb5();return _0x344c=function(_0x344c11,_0x2f33bc){_0x344c11=_0x344c11-0x198;let _0x5aeae2=_0x1cb5a1[_0x344c11];return _0x5aeae2;},_0x344c(_0x2f252e,_0x44b429);}import{CommentView as _0x5dc236}from'./ui/view/commentview.js';import{getTranslation as _0x521c4b}from'../utils/common-translations.js';function _0x1cb5(){const _0x538c85=['commentsrepository-remove-comment-thread-internal-error','_findOptimalIndex','commentsrepository-update-comment-internal-error','max','delete','2550492zBjrnc','resolve','isFromAdapter','openNewCommentThread','bodyCollectionContainer','values','commentThreadInputView','_adapter','203571YoFYan','24yMUkbZ','commentsrepository-adapter-already-set','external:','pluginName','toJSON','comments.maxCommentsWhenCollapsed','type','commentsrepository-missing-comment-thread','updateComment','removeComment','view','_addCommentThread','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','_updateComment','comment','hasCommentThread','push','commentsrepository-update-comment-invalid-content','get','stopListening','isReadOnly','commentsrepository-remove-comment-missing-comment-thread','fetchCommentThread','addComment','_submitCommentThread','deactivateAll','getCommentThread','error','323522cIqDNl','define','createElement','_threadToController','change:authoredAt','commentId','_removeActiveAnnotation','isDirty','update','commentsrepository-missing-target','commentInputView','_removeCommentThread','_updateCommentThread','switchReadOnly','commentsrepository-invalid-comment-authorid','setActiveCommentThread','isActive','editorReady','commentsrepository-resolved-comment-thread','focusTracker','comments','_isSubmitted','canComment','_createCommentThreadView','CommentView','filter','innerView','commentsrepository-invalid-commentid','isRemovable','isPremiumPlugin','refreshVisibility','set','noChannel','activate','_addComment','setPermissions','function','attachTo','commentsrepository-update-comment-missing-comment-thread','content','unlinkedAt','lowest','commentUpdated','commentsrepository-active-not-attached','trim','getUser','comments.CommentView','removeAttribute','getByInnerView','once','commentsrepository-add-comment-to-missing-comment-thread','_getExternalAuthor','commentsrepository-remove-comment-internal-error','commentsrepository-reopen-comment-thread','change:activeAnnotations','setAttribute','resolveCommentThread','focus','string','1755868sGVrSB','PendingActions','addUser','getComment','_createNewComment','weight','write','CommentsRepository','destroy','commentsrepository-duplicated-comment-thread-id','_repository','div','getIndex','config','editorDestroyed','commentsrepository-get-comment-invalid-id','commentsrepository-update-comment-thread-internal-error','setContext','_reopenCommentThread','getCommentThreads','getPermissions','context','map','creator','resolvedAt','author','reopen','admin','authoredAt','length','change:_readOnlyChannels','_detachCommentThread','8nRIhcC','commentsrepository-update-missing-comment','comments.copyMarkers','textContent','requires','commentsrepository-reopen-comment-thread-internal-error','model','focusableElements','_threads','commentsrepository-remove-missing-comment','isResolved','remove','_update','getCommentThreadForAnnotation','threadId','catch','updateCommentThread','then','submit','commentsrepository-active-missing-comment-thread','commentsrepository-invalid-comment-thread-id','commentsrepository-add-comment-internal-error','listenTo','549648hCoLsh','comments.editorConfig','commentsrepository-add-comment-user-not-exists','commentsrepository-resolve-comment-thread-internal-error','modifyAll','commentsListView','_viewToController','getTime','innerHTML','@external','isVisible','setUnlinkedAt','isEditable','activeCommentThread','_readOnlyChannels','resolvedBy','authorName','comments.CommentThreadView','locale','has','createdAt','body','_resolveCommentThread','removeCommentThread','commentsrepository-invalid-comment-content','commentsrepository-add-comment-thread-internal-error','commentsrepository-fetch-comment-thread','getAnnotationForCommentThread','_bindAnnotationToEditors','change:_permissions','bind','_hasTargetInContent','comments.maxCommentCharsWhenCollapsed','isOfficialPlugin','isExternal','change:isDirty','assign','fire','_permissions','init','archivedAt','593642JDEcxd','CommentThreadView','318655AeCKLj','isAttached','PENDING_ACTION_COMMENT_THREAD','_updateActiveAnnotation','createCommentThreadController','_removeComment','commentsrepository-attach-missing-comment-thread','isResolvable','addCommentThread','_remove','commentsrepository-remove-missing-comment-thread','add','commentsrepository-missing-thread-and-adapter-method','_add','reopenCommentThread','isSubmitted','escape','comments.maxThreadTotalWeight','from','submitCommentThread','_isAttached','attributes','highest','licenseKey','adapter','plugins','reduce','find','channelId','_unbindEditors','_attachCommentThread','warn'];_0x1cb5=function(){return _0x538c85;};return _0x1cb5();}import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x5a6418}from'../annotations/view/annotationview.js';import{Annotation as _0x42f20b}from'../annotations/annotation.js';import{Annotations as _0x2d7904}from'../annotations/annotations.js';const _t=Symbol(_0x1b4247(0x22b)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x313555{[_0x1b4247(0x26e)];[_0x1b4247(0x20e)];[_0x1b4247(0x19c)];static get[_0x1b4247(0x26a)](){return[_0x2d7904,_0x4c3c43,_0x50caad];}static get[_0x1b4247(0x1f2)](){const _0x4edad9=_0x1b4247;return _0x4edad9(0x24d);}static get[_0x1b4247(0x1b7)](){return!0x0;}static get[_0x1b4247(0x228)](){return!0x0;}constructor(_0x1d9797){const _0x423cd4=_0x1b4247;super(_0x1d9797),this[_0x423cd4(0x26e)]=new Map(),this[_0x423cd4(0x20e)]=new Map(),this[_0x423cd4(0x19c)]=new Map(),this[_0x423cd4(0x22a)](_0x423cd4(0x1a4),new Set()),this[_0x423cd4(0x22a)](_0x423cd4(0x1bc),new Map());const _0x51e755=this[_0x423cd4(0x25b)][_0x423cd4(0x253)];_0x51e755[_0x423cd4(0x20c)](_0x423cd4(0x1f4),0x2),_0x51e755[_0x423cd4(0x20c)](_0x423cd4(0x1d2),0x1f4),_0x51e755[_0x423cd4(0x20c)](_0x423cd4(0x1b6),0x8c),_0x51e755[_0x423cd4(0x20c)](_0x423cd4(0x1a7),_0x4a56e8),_0x51e755[_0x423cd4(0x20c)](_0x423cd4(0x239),_0x5dc236),_0x51e755[_0x423cd4(0x201)](_0x423cd4(0x27e))||console[_0x423cd4(0x1e0)](_0x423cd4(0x1fb));}[_0x1b4247(0x1bd)](){const _0x236e03=_0x1b4247,_0x99b05b=this[_0x236e03(0x25b)][_0x236e03(0x1da)][_0x236e03(0x201)](_0x2d7904);this[_0x236e03(0x22a)](_0x236e03(0x1a3),null),this['on'](_0x236e03(0x1c9),(_0x2e59b0,_0x3a6a1b)=>this[_0x236e03(0x1fa)](_0x3a6a1b)),this['on'](_0x236e03(0x1d4),(_0x345cb2,_0x53f39c)=>this[_0x236e03(0x207)](_0x53f39c)),this['on'](_0x236e03(0x243),(_0x147472,_0xfecdcb)=>this[_0x236e03(0x1ac)](_0xfecdcb)),this['on'](_0x236e03(0x243),(_0x401372,_0x24f303)=>this[_0x236e03(0x1c4)](_0x24f303),{'priority':_0x236e03(0x234)}),this['on'](_0x236e03(0x1cf),(_0x300286,_0x526848)=>this[_0x236e03(0x258)](_0x526848)),this['on'](_0x236e03(0x1cf),(_0x4e81c3,_0x1dc288)=>this[_0x236e03(0x1c4)](_0x1dc288),{'priority':_0x236e03(0x234)}),this['on'](_0x236e03(0x1ad),(_0x1a60d4,_0x402aa9)=>this[_0x236e03(0x216)](_0x402aa9)),this['on'](_0x236e03(0x276),(_0x93860a,_0x12d6c0)=>this[_0x236e03(0x217)](_0x12d6c0)),this['on'](_0x236e03(0x276),(_0x44e33c,_0x19a540)=>this[_0x236e03(0x1c4)](_0x19a540),{'priority':_0x236e03(0x234)}),this['on'](_0x236e03(0x206),(_0x1a75a6,_0x20402a)=>this[_0x236e03(0x22d)](_0x20402a)),this['on'](_0x236e03(0x1f7),(_0x3af867,_0x5525fc)=>this[_0x236e03(0x1fc)](_0x5525fc)),this['on'](_0x236e03(0x1f8),(_0x3d0d09,_0x4502bd)=>this[_0x236e03(0x1c6)](_0x4502bd)),this['on'](_0x236e03(0x206),(_0x2852d4,{threadId:_0x5f4cb1,isFromAdapter:_0x2739db})=>{const _0x453086=_0x236e03;if(_0x2739db)return;const _0xd66f58=this[_0x453086(0x209)](_0x5f4cb1),_0x1c181e=_0xd66f58&&this[_0x453086(0x20e)][_0x453086(0x201)](_0xd66f58);_0x1c181e&&_0x1c181e[_0x453086(0x1f9)][_0x453086(0x19b)][_0x453086(0x244)](-0x1);},{'priority':_0x236e03(0x234)}),this[_0x236e03(0x27c)](_0x99b05b,_0x236e03(0x241),(_0x5a1c1f,_0x1811cc,_0x43c323)=>{const _0x535536=_0x236e03,_0x25e838=Array[_0x535536(0x1d3)](_0x43c323)[_0x535536(0x25c)](_0x354a10=>this[_0x535536(0x19c)][_0x535536(0x201)](_0x354a10[_0x535536(0x225)]))[_0x535536(0x224)](Boolean)[0x0];this[_0x535536(0x1a3)]=_0x25e838?_0x25e838[_0x535536(0x26c)]:null;});}set[_0x1b4247(0x1d9)](_0x378a71){const _0x3adef1=_0x1b4247;if(this[_0x3adef1(0x1ed)])throw new _0x418a1d(_0x3adef1(0x1f0));this[_0x3adef1(0x1ed)]=_0x378a71;}get[_0x1b4247(0x1d9)](){const _0x4e8155=_0x1b4247;return this[_0x4e8155(0x1ed)];}[_0x1b4247(0x1c9)]({channelId:_0x2ec376=_t,threadId:_0x51aacf=_0x2bed46(),comments:_0x3fbcd2=[],unlinkedAt:_0x6ce779=null,resolvedAt:_0x431a81=null,resolvedBy:_0x5cf2e5=null,target:_0x183875=null,context:_0x23a370=null,attributes:_0xad2339={},isResolvable:_0x223b4f=!0x0,isSubmitted:_0x95aeba=!0x1,isFromAdapter:_0x3fc444=!0x1}={}){const _0x430650=_0x1b4247;return this[_0x430650(0x1bb)](Nt(_0x430650(0x1c9),_0x2ec376),{'channelId':_0x2ec376,'threadId':_0x51aacf,'comments':_0x3fbcd2,'unlinkedAt':_0x6ce779,'resolvedAt':_0x431a81,'resolvedBy':_0x5cf2e5,'target':_0x183875,'context':_0x23a370,'attributes':_0xad2339,'isFromAdapter':_0x3fc444,'isResolvable':_0x223b4f,'isSubmitted':_0x95aeba}),this[_0x430650(0x209)](_0x51aacf);}[_0x1b4247(0x1e9)]({channelId:_0x2e6acb=_t,threadId:_0x39f846=_0x2bed46(),target:_0x87338a,context:_0x2e233c=null,isResolvable:_0x1d1b67=!0x0}){const _0x447390=_0x1b4247;if(this[_0x447390(0x1a4)][_0x447390(0x1a9)](_0x2e6acb)||this[_0x447390(0x1a4)][_0x447390(0x1a9)](void 0x0))return null;if(!_0x87338a)throw new _0x418a1d(_0x447390(0x214));const _0x356be1=this[_0x447390(0x1c9)]({'channelId':_0x2e6acb,'threadId':_0x39f846,'target':_0x87338a,'context':_0x2e233c,'isResolvable':_0x1d1b67});if(!_0x356be1)return null;const _0x33c7b7=this[_0x447390(0x20e)][_0x447390(0x201)](_0x356be1),_0x3aa7f1=_0x33c7b7[_0x447390(0x1f9)][_0x447390(0x1ec)][_0x447390(0x215)],_0x207d28=this[_0x447390(0x25b)][_0x447390(0x1da)][_0x447390(0x201)](_0x2d7904),_0x5bac04=_0x207d28[_0x447390(0x23b)](_0x33c7b7[_0x447390(0x1f9)]);return _0x207d28[_0x447390(0x22c)](_0x5bac04),_0x3aa7f1[_0x447390(0x23c)](_0x447390(0x21c),()=>_0x3aa7f1[_0x447390(0x244)]()),_0x356be1;}[_0x1b4247(0x1fe)](_0x4fa483){const _0x587fc0=_0x1b4247;if(_0x587fc0(0x245)!=typeof _0x4fa483)throw new _0x418a1d(_0x587fc0(0x27a));return this[_0x587fc0(0x26e)][_0x587fc0(0x1a9)](_0x4fa483);}[_0x1b4247(0x276)]({channelId:_0x4583a9=_t,threadId:_0x3d30e3,context:_0x501298,unlinkedAt:_0x628920,attributes:_0x2181ec,isFromAdapter:_0x3b4628=!0x1}){const _0x1d3b12=_0x1b4247;return this[_0x1d3b12(0x1bb)](Nt(_0x1d3b12(0x276),_0x4583a9),{'channelId':_0x4583a9,'threadId':_0x3d30e3,'context':_0x501298,'unlinkedAt':_0x628920,'attributes':_0x2181ec,'isFromAdapter':_0x3b4628}),this[_0x1d3b12(0x209)](_0x3d30e3);}[_0x1b4247(0x209)](_0xb035e3){const _0x3958b3=_0x1b4247;if(_0x3958b3(0x245)!=typeof _0xb035e3)throw new _0x418a1d(_0x3958b3(0x27a));return this[_0x3958b3(0x26e)][_0x3958b3(0x201)](_0xb035e3);}[_0x1b4247(0x205)]({channelId:_0xa6866d,threadId:_0x80a289}={}){const _0x845a97=_0x1b4247,_0x1c9432=this[_0x845a97(0x209)](_0x80a289);if(_0x1c9432)return Promise[_0x845a97(0x1e7)](_0x1c9432);if(!this[_0x845a97(0x1d9)])return Promise[_0x845a97(0x1e7)](void 0x0);if(_0x845a97(0x22f)!=typeof this[_0x845a97(0x1d9)][_0x845a97(0x209)])throw new _0x418a1d(_0x845a97(0x1cd),this[_0x845a97(0x25b)]);return this[_0x845a97(0x1d9)][_0x845a97(0x209)]({'channelId':_0xa6866d,'threadId':_0x80a289})[_0x845a97(0x277)](_0x5802e2=>this[_0x845a97(0x1fe)](_0x80a289)?this[_0x845a97(0x209)](_0x80a289):_0x5802e2?this[_0x845a97(0x1c9)](Object[_0x845a97(0x1ba)]({'isFromAdapter':!0x0,'channelId':_0xa6866d},_0x5802e2)):void 0x0)[_0x845a97(0x275)](_0x2adcbb=>{const _0x1dd780=_0x845a97;throw console[_0x1dd780(0x20a)](_0x2adcbb),new _0x418a1d(_0x1dd780(0x1b0),this[_0x1dd780(0x25b)]);});}[_0x1b4247(0x259)]({channelId:_0x222cd7,skipNotAttached:_0x463ff1=!0x1,skipEmpty:_0x3ad34b=!0x1,toJSON:_0xef07d3=!0x1}={}){const _0x10374c=_0x1b4247,_0x1af2c2=[];for(const _0xbb79d1 of this[_0x10374c(0x26e)][_0x10374c(0x1eb)]())_0x222cd7&&_0xbb79d1[_0x10374c(0x1dd)]!==_0x222cd7||_0x463ff1&&!_0xbb79d1[_0x10374c(0x1c2)]||_0x3ad34b&&0x0===_0xbb79d1[_0x10374c(0x263)]||_0x1af2c2[_0x10374c(0x1ff)](_0xbb79d1);return _0xef07d3?_0x1af2c2[_0x10374c(0x25c)](_0x56cc0f=>_0x56cc0f[_0x10374c(0x1f3)]()):_0x1af2c2;}[_0x1b4247(0x1b1)](_0x36a4b1){const _0x593426=_0x1b4247,_0x3d0dd9=this[_0x593426(0x20e)][_0x593426(0x201)](_0x36a4b1);if(!_0x3d0dd9)return null;return this[_0x593426(0x25b)][_0x593426(0x1da)][_0x593426(0x201)](_0x2d7904)[_0x593426(0x23b)](_0x3d0dd9[_0x593426(0x1f9)])||null;}[_0x1b4247(0x273)](_0x1c79fc){const _0x110196=_0x1b4247,_0xa8e7f5=this[_0x110196(0x19c)][_0x110196(0x201)](_0x1c79fc[_0x110196(0x225)]);return _0xa8e7f5?_0xa8e7f5[_0x110196(0x26c)]:null;}[_0x1b4247(0x21a)](_0x3b3dac){const _0x2c92ea=_0x1b4247,_0x46a4df=this[_0x2c92ea(0x25b)][_0x2c92ea(0x1da)][_0x2c92ea(0x201)](_0x2d7904);if(!_0x3b3dac)return void(this[_0x2c92ea(0x1a3)]&&_0x46a4df[_0x2c92ea(0x208)]());const _0x551f50=this[_0x2c92ea(0x209)](_0x3b3dac);if(!_0x551f50)throw new _0x418a1d(_0x2c92ea(0x279),null,{'threadId':_0x3b3dac});if(!this[_0x2c92ea(0x20e)][_0x2c92ea(0x1a9)](_0x551f50))throw new _0x418a1d(_0x2c92ea(0x236),null,{'threadId':_0x3b3dac});const _0x26da0f=_0x46a4df[_0x2c92ea(0x23b)](this[_0x2c92ea(0x20e)][_0x2c92ea(0x201)](_0x551f50)[_0x2c92ea(0x1f9)]);_0x46a4df[_0x2c92ea(0x22c)](_0x26da0f);}[_0x1b4247(0x218)](_0x30aab9,_0x2af406){const _0x4ccd31=_0x1b4247;_0x30aab9?this[_0x4ccd31(0x1a4)][_0x4ccd31(0x1cc)](_0x2af406):this[_0x4ccd31(0x1a4)][_0x4ccd31(0x1e5)](_0x2af406),this[_0x4ccd31(0x1bb)](_0x4ccd31(0x264),_0x4ccd31(0x1a4),this[_0x4ccd31(0x1a4)],this[_0x4ccd31(0x1a4)]);}[_0x1b4247(0x203)](_0x2fc1ed){const _0x44d094=_0x1b4247;return this[_0x44d094(0x1a4)][_0x44d094(0x1a9)](_0x2fc1ed)||this[_0x44d094(0x1a4)][_0x44d094(0x1a9)](void 0x0);}[_0x1b4247(0x1c5)](_0x557ceb,_0x4d728b){return new _0x2c78da(_0x557ceb,_0x4d728b);}[_0x1b4247(0x22e)](_0x27811c,_0xf37e05=_t){const _0x4f1c92=_0x1b4247;this[_0x4f1c92(0x1bc)][_0x4f1c92(0x22a)](_0xf37e05,_0x27811c),this[_0x4f1c92(0x1bb)](_0x4f1c92(0x1b3),_0x4f1c92(0x1bc),this[_0x4f1c92(0x1bc)],this[_0x4f1c92(0x1bc)]);}[_0x1b4247(0x25a)](_0xe4167f=_t){const _0x962c3b=_0x1b4247;return this[_0x962c3b(0x1bc)][_0x962c3b(0x1a9)](_0xe4167f)?this[_0x962c3b(0x1bc)][_0x962c3b(0x201)](_0xe4167f):bt;}[_0x1b4247(0x1fa)]({channelId:_0x4b9294,threadId:_0x3cc6d7,comments:_0x349602,unlinkedAt:_0x154f27,resolvedAt:_0x19a3d1,resolvedBy:_0x310f27,target:_0x306f7a,context:_0x2e68b9,attributes:_0x2e9702,isFromAdapter:_0x1452ec,isResolvable:_0x4cac46,isSubmitted:_0x458fac}){const _0x43c95a=_0x1b4247;if(_0x43c95a(0x245)!=typeof _0x3cc6d7)throw new _0x418a1d(_0x43c95a(0x27a),null,{'threadId':_0x3cc6d7});if(this[_0x43c95a(0x1fe)](_0x3cc6d7))throw new _0x418a1d(_0x43c95a(0x24f),null,{'threadId':_0x3cc6d7});const _0x1900d2=new CommentThread(this,{'channelId':_0x4b9294,'id':_0x3cc6d7,'context':_0x2e68b9,'attributes':_0x2e9702,'unlinkedAt':_0x154f27,'resolvedAt':_0x19a3d1,'resolvedBy':_0x310f27?this[_0x43c95a(0x25b)][_0x43c95a(0x1da)][_0x43c95a(0x201)](_0x50caad)[_0x43c95a(0x238)](_0x310f27):null,'isResolvable':_0x4cac46,'isSubmitted':_0x458fac||_0x1452ec});this[_0x43c95a(0x26e)][_0x43c95a(0x22a)](_0x3cc6d7,_0x1900d2);for(const _0x3123e6 of _0x349602)_0x1900d2[_0x43c95a(0x1ce)](this[_0x43c95a(0x24a)]({'threadId':_0x3cc6d7,..._0x3123e6}));return _0x306f7a&&_0x1900d2[_0x43c95a(0x230)](_0x306f7a),_0x1452ec||!_0x1900d2[_0x43c95a(0x263)]?Promise[_0x43c95a(0x1e7)]():this[_0x43c95a(0x207)]({'channelId':_0x4b9294,'threadId':_0x3cc6d7});}[_0x1b4247(0x207)]({channelId:_0x390ac5,threadId:_0x1cb8b2}){const _0x290751=_0x1b4247;if(!this[_0x290751(0x1fe)](_0x1cb8b2))throw new _0x418a1d(_0x290751(0x1f6),this);const _0xeb3ee0=this[_0x290751(0x209)](_0x1cb8b2);if(_0xeb3ee0[_0x290751(0x220)]=!0x0,!this[_0x290751(0x1d9)]||_0x290751(0x22f)!=typeof this[_0x290751(0x1d9)][_0x290751(0x1c9)])return Promise[_0x290751(0x1e7)]();const {id:_0xbd3986,comments:_0xe3c47f,resolvedAt:_0xcb0e70,resolvedBy:_0x1d4b4b,context:_0x357ba1,attributes:_0x295d5a}=_0xeb3ee0,_0x7caacc=this[_0x290751(0x25b)][_0x290751(0x1da)][_0x290751(0x201)](_0x290751(0x247)),_0x2e91c9=_0x7caacc[_0x290751(0x1cc)](_0x521c4b(this[_0x290751(0x25b)][_0x290751(0x1a8)],_0x290751(0x1c3)));return this[_0x290751(0x1d9)][_0x290751(0x1c9)]({'channelId':_0x390ac5,'threadId':_0xbd3986,'comments':_0xe3c47f[_0x290751(0x25c)](_0x18ed24=>_0x18ed24[_0x290751(0x1f3)]()),'resolvedAt':_0xcb0e70,'resolvedBy':_0x1d4b4b?_0x1d4b4b['id']:_0x1d4b4b,'context':_0x357ba1,'attributes':_0x295d5a})[_0x290751(0x277)](({comments:_0x32442e})=>{const _0x1173e4=_0x290751;_0x7caacc[_0x1173e4(0x271)](_0x2e91c9);for(const _0x4aa073 of _0x32442e)this[_0x1173e4(0x1fc)]({'channelId':_0x390ac5,'threadId':_0x1cb8b2,'commentId':_0x4aa073[_0x1173e4(0x210)],'createdAt':_0x4aa073[_0x1173e4(0x1aa)],'isFromAdapter':!0x0});})[_0x290751(0x275)](_0x4d7c18=>{const _0x1be428=_0x290751;throw console[_0x1be428(0x20a)](_0x4d7c18),new _0x418a1d(_0x1be428(0x1af),this);});}[_0x1b4247(0x1df)]({threadId:_0xb054bb,target:_0x3365ab}){const _0x5aa34e=_0x1b4247,_0x45c7ab=this[_0x5aa34e(0x209)](_0xb054bb);if(!_0x45c7ab)throw new _0x418a1d(_0x5aa34e(0x1c7),this);const _0x53dcea=this[_0x5aa34e(0x25b)][_0x5aa34e(0x1da)][_0x5aa34e(0x201)](_0x5aa34e(0x247)),_0x50e44c=this[_0x5aa34e(0x25b)][_0x5aa34e(0x1da)][_0x5aa34e(0x201)](_0x2d7904),_0x271356=this[_0x5aa34e(0x222)](_0x45c7ab),_0x7d9a37=new _0x2c78da(_0x45c7ab,_0x271356);let _0x11ea53=null;_0x271356['on'](_0x5aa34e(0x1b9),(_0x42f937,_0x5e75bd,_0x222712)=>{const _0x5e7868=_0x5aa34e;_0x222712?_0x11ea53=_0x53dcea[_0x5e7868(0x1cc)](_0x521c4b(this[_0x5e7868(0x25b)][_0x5e7868(0x1a8)],_0x5e7868(0x1c3))):_0x11ea53&&(_0x53dcea[_0x5e7868(0x271)](_0x11ea53),_0x11ea53=null);}),this[_0x5aa34e(0x20e)][_0x5aa34e(0x22a)](_0x45c7ab,_0x7d9a37),this[_0x5aa34e(0x19c)][_0x5aa34e(0x22a)](_0x271356,_0x7d9a37);const _0x2f565f=new _0x5a6418(this[_0x5aa34e(0x25b)][_0x5aa34e(0x1a8)],_0x271356);_0x2f565f[_0x5aa34e(0x1b4)](_0x5aa34e(0x263))['to'](_0x271356),_0x2f565f[_0x5aa34e(0x1b4)](_0x5aa34e(0x212))['to'](_0x271356,_0x5aa34e(0x212),_0x271356,_0x5aa34e(0x263),(_0x1f4f3d,_0x2e9ddb)=>_0x1f4f3d||!_0x2e9ddb),_0x2f565f[_0x5aa34e(0x1b4)](_0x5aa34e(0x21b))['to'](_0x271356),_0x2f565f[_0x5aa34e(0x1f5)]=_0x5aa34e(0x1fd);const _0x5bca7e=new _0x42f20b({'view':_0x2f565f,'target':_0x3365ab,'type':_0x5aa34e(0x1fd),'isVisible':!_0x45c7ab[_0x5aa34e(0x1be)]&&!!(_0x5aa34e(0x22f)==typeof _0x3365ab?_0x3365ab():_0x3365ab)});return _0x271356['on'](_0x5aa34e(0x1d1),()=>{const _0x4b0feb=_0x5aa34e;_0x5bca7e[_0x4b0feb(0x1bb)](_0x4b0feb(0x1d1));}),this[_0x5aa34e(0x1b2)](_0x271356,_0x5bca7e),_0x50e44c[_0x5aa34e(0x1cc)](_0x5bca7e),_0x5bca7e;}[_0x1b4247(0x1b2)](_0x74e63f,_0x450271){const _0x420a75=_0x1b4247;this[_0x420a75(0x27c)](_0x74e63f,_0x420a75(0x21c),(_0x5a90d7,_0x431ee2)=>{const _0x1288ca=_0x420a75,_0x4e2fe7=_0x431ee2['ui'][_0x1288ca(0x1f9)][_0x1288ca(0x1ab)][_0x1288ca(0x1ea)];_0x450271[_0x1288ca(0x26d)][_0x1288ca(0x1cc)](_0x4e2fe7),this[_0x1288ca(0x25b)]instanceof _0x4a182c&&this[_0x1288ca(0x25b)]['ui'][_0x1288ca(0x21e)][_0x1288ca(0x1cc)](_0x4e2fe7);},{'priority':_0x420a75(0x1d7)}),this[_0x420a75(0x27c)](_0x74e63f,_0x420a75(0x254),(_0x52d16b,_0xa9ef88)=>{const _0x9057=_0x420a75,_0x4ab98f=_0xa9ef88['ui'][_0x9057(0x1f9)][_0x9057(0x1ab)][_0x9057(0x1ea)];_0x450271[_0x9057(0x26d)][_0x9057(0x1a9)](_0x4ab98f)&&_0x450271[_0x9057(0x26d)][_0x9057(0x271)](_0x4ab98f),this[_0x9057(0x25b)]instanceof _0x4a182c&&this[_0x9057(0x25b)]['ui'][_0x9057(0x21e)][_0x9057(0x271)](_0x4ab98f);});}[_0x1b4247(0x1de)](_0x47e0b6){const _0x2fa33c=_0x1b4247;this[_0x2fa33c(0x202)](_0x47e0b6,_0x2fa33c(0x21c)),this[_0x2fa33c(0x202)](_0x47e0b6,_0x2fa33c(0x254));}[_0x1b4247(0x222)](_0x3f5da9){const _0x10e616=_0x1b4247,_0x28350b=this[_0x10e616(0x25b)][_0x10e616(0x1da)][_0x10e616(0x201)](_0x50caad),{config:_0x24f813,locale:_0x3770bd}=this[_0x10e616(0x25b)],_0x39510b=_0x410cc9(_0x24f813[_0x10e616(0x201)](_0x10e616(0x1a8)),_0x3770bd);return new(0x0,(_0x24f813[_0x10e616(0x201)](_0x10e616(0x21f)))[(_0x10e616(0x1c0))])(_0x3770bd,_0x3f5da9,_0x28350b['me'],{'editorConfig':{..._0x24f813[_0x10e616(0x201)](_0x10e616(0x27e)),'licenseKey':this[_0x10e616(0x25b)][_0x10e616(0x253)][_0x10e616(0x201)](_0x10e616(0x1d8))},'copyMarkers':_0x24f813[_0x10e616(0x201)](_0x10e616(0x268)),'maxCommentsWhenCollapsed':_0x24f813[_0x10e616(0x201)](_0x10e616(0x1f4)),'maxThreadTotalWeight':_0x24f813[_0x10e616(0x201)](_0x10e616(0x1d2)),'maxCommentCharsWhenCollapsed':_0x24f813[_0x10e616(0x201)](_0x10e616(0x1b6)),'formatDateTime':_0x39510b,'CommentView':_0x24f813[_0x10e616(0x201)](_0x10e616(0x21f))[_0x10e616(0x223)]});}[_0x1b4247(0x1ac)]({threadId:_0x2a0335,channelId:_0x11e39d,resolvedAt:_0x23db2e,resolvedBy:_0x532483,isFromAdapter:_0x3a1563}){const _0x22fca8=_0x1b4247;if(!this[_0x22fca8(0x1fe)](_0x2a0335))throw new _0x418a1d(_0x22fca8(0x1f6),null,{'threadId':_0x2a0335});const _0x436ba6=this[_0x22fca8(0x209)](_0x2a0335);if(_0x436ba6[_0x22fca8(0x270)])throw new _0x418a1d(_0x22fca8(0x21d),null,{'threadId':_0x2a0335});const _0x438744=this[_0x22fca8(0x25b)][_0x22fca8(0x1da)][_0x22fca8(0x201)](_0x50caad);if(_0x436ba6[_0x22fca8(0x1a5)]=_0x438744[_0x22fca8(0x238)](_0x532483),_0x436ba6[_0x22fca8(0x25e)]=_0x23db2e,_0x3a1563||!this[_0x22fca8(0x1d9)]||_0x22fca8(0x22f)!=typeof this[_0x22fca8(0x1d9)][_0x22fca8(0x243)])return Promise[_0x22fca8(0x1e7)]();const _0x5349b8=this[_0x22fca8(0x25b)][_0x22fca8(0x1da)][_0x22fca8(0x201)](_0x22fca8(0x247)),_0x244aa8=_0x5349b8[_0x22fca8(0x1cc)](_0x521c4b(this[_0x22fca8(0x25b)][_0x22fca8(0x1a8)],_0x22fca8(0x1c3)));return this[_0x22fca8(0x1d9)][_0x22fca8(0x243)]({'channelId':_0x11e39d,'threadId':_0x2a0335})[_0x22fca8(0x277)](({resolvedAt:_0x239717,resolvedBy:_0x33ebaa})=>{const _0x2d9857=_0x22fca8;_0x5349b8[_0x2d9857(0x271)](_0x244aa8),_0x436ba6[_0x2d9857(0x1a5)]['id']!==_0x33ebaa&&(_0x436ba6[_0x2d9857(0x1a5)]=_0x438744[_0x2d9857(0x238)](_0x33ebaa)),_0x436ba6[_0x2d9857(0x25e)]=_0x239717;})[_0x22fca8(0x275)](_0x2b8b76=>{const _0x795e42=_0x22fca8;throw console[_0x795e42(0x20a)](_0x2b8b76),new _0x418a1d(_0x795e42(0x199),this);});}[_0x1b4247(0x258)]({threadId:_0x51c49e,channelId:_0x2cc992,isFromAdapter:_0x4f7e45}){const _0x2ea4a6=_0x1b4247;if(!this[_0x2ea4a6(0x1fe)](_0x51c49e))throw new _0x418a1d(_0x2ea4a6(0x1f6),null,{'threadId':_0x51c49e});const _0x19ae32=this[_0x2ea4a6(0x209)](_0x51c49e);if(!_0x19ae32[_0x2ea4a6(0x270)])throw new _0x418a1d(_0x2ea4a6(0x240),null,{'threadId':_0x51c49e});if(_0x19ae32[_0x2ea4a6(0x1a5)]=null,_0x19ae32[_0x2ea4a6(0x25e)]=null,_0x4f7e45||!this[_0x2ea4a6(0x1d9)]||_0x2ea4a6(0x22f)!=typeof this[_0x2ea4a6(0x1d9)][_0x2ea4a6(0x1cf)])return Promise[_0x2ea4a6(0x1e7)]();const _0x401779=this[_0x2ea4a6(0x25b)][_0x2ea4a6(0x1da)][_0x2ea4a6(0x201)](_0x2ea4a6(0x247)),_0x2b833b=_0x401779[_0x2ea4a6(0x1cc)](_0x521c4b(this[_0x2ea4a6(0x25b)][_0x2ea4a6(0x1a8)],_0x2ea4a6(0x1c3)));return this[_0x2ea4a6(0x1d9)][_0x2ea4a6(0x1cf)]({'channelId':_0x2cc992,'threadId':_0x51c49e})[_0x2ea4a6(0x277)](()=>_0x401779[_0x2ea4a6(0x271)](_0x2b833b))[_0x2ea4a6(0x275)](_0x1c37f5=>{const _0x179ac4=_0x2ea4a6;throw console[_0x179ac4(0x20a)](_0x1c37f5),new _0x418a1d(_0x179ac4(0x26b),this);});}[_0x1b4247(0x216)]({threadId:_0x36c27e,isFromAdapter:_0x553afb}){const _0x1ae7a4=_0x1b4247,_0x1fbb6a=this[_0x1ae7a4(0x209)](_0x36c27e);if(!_0x1fbb6a)throw new _0x418a1d(_0x1ae7a4(0x1cb),this);if(this[_0x1ae7a4(0x265)](_0x36c27e),this[_0x1ae7a4(0x26e)][_0x1ae7a4(0x1e5)](_0x36c27e),!_0x1fbb6a[_0x1ae7a4(0x1d0)]||_0x553afb||!this[_0x1ae7a4(0x1d9)]||_0x1ae7a4(0x22f)!=typeof this[_0x1ae7a4(0x1d9)][_0x1ae7a4(0x1ad)])return Promise[_0x1ae7a4(0x1e7)]();const _0x6dffb8=this[_0x1ae7a4(0x25b)][_0x1ae7a4(0x1da)][_0x1ae7a4(0x201)](_0x1ae7a4(0x247)),{channelId:_0x277c75}=_0x1fbb6a,_0x3e8cd9=_0x6dffb8[_0x1ae7a4(0x1cc)](_0x521c4b(this[_0x1ae7a4(0x25b)][_0x1ae7a4(0x1a8)],_0x1ae7a4(0x1c3)));return this[_0x1ae7a4(0x1d9)][_0x1ae7a4(0x1ad)]({'channelId':_0x277c75,'threadId':_0x36c27e})[_0x1ae7a4(0x277)](()=>_0x6dffb8[_0x1ae7a4(0x271)](_0x3e8cd9))[_0x1ae7a4(0x275)](_0x5f4a72=>{const _0x372e34=_0x1ae7a4;throw console[_0x372e34(0x20a)](_0x5f4a72),new _0x418a1d(_0x372e34(0x1e1),this);});}[_0x1b4247(0x217)]({threadId:_0x4cbc4b,unlinkedAt:_0x76d1ac,context:_0x42e2a9,attributes:_0x3b977d,isFromAdapter:_0x5ce245}){const _0x4ddc32=_0x1b4247;if(_0x4ddc32(0x245)!=typeof _0x4cbc4b)throw new _0x418a1d(_0x4ddc32(0x27a),null,{'threadId':_0x4cbc4b});if(!this[_0x4ddc32(0x1fe)](_0x4cbc4b))throw new _0x418a1d(_0x4ddc32(0x1f6),null,{'threadId':_0x4cbc4b});const _0x2ca005=this[_0x4ddc32(0x209)](_0x4cbc4b);let _0x4f942c=!0x1;if(void 0x0!==_0x42e2a9&&_0x2ca005[_0x4ddc32(0x25b)]!==_0x42e2a9&&(_0x2ca005[_0x4ddc32(0x25b)]=_0x42e2a9,_0x4f942c=!0x0),void 0x0!==_0x76d1ac&&_0x2ca005[_0x4ddc32(0x233)]!==_0x76d1ac&&(_0x2ca005[_0x4ddc32(0x233)]=_0x76d1ac,_0x4f942c=!0x0),_0x3b977d&&!_0x53a820(_0x3b977d,_0x2ca005[_0x4ddc32(0x1d6)])&&(_0x2ca005[_0x4ddc32(0x1d6)]=_0x3b977d,_0x4f942c=!0x0),!_0x4f942c)return Promise[_0x4ddc32(0x1e7)]();if(!_0x2ca005[_0x4ddc32(0x1d0)]||_0x5ce245||!this[_0x4ddc32(0x1d9)]||_0x4ddc32(0x22f)!=typeof this[_0x4ddc32(0x1d9)][_0x4ddc32(0x276)])return Promise[_0x4ddc32(0x1e7)]();const _0x5ed43a=this[_0x4ddc32(0x25b)][_0x4ddc32(0x1da)][_0x4ddc32(0x201)](_0x4ddc32(0x247)),{channelId:_0x188526}=_0x2ca005,_0x16aa78=_0x5ed43a[_0x4ddc32(0x1cc)](_0x521c4b(this[_0x4ddc32(0x25b)][_0x4ddc32(0x1a8)],_0x4ddc32(0x1c3)));return this[_0x4ddc32(0x1d9)][_0x4ddc32(0x276)]({'channelId':_0x188526,'threadId':_0x4cbc4b,'context':_0x42e2a9,'unlinkedAt':_0x76d1ac,'attributes':_0x3b977d})[_0x4ddc32(0x277)](()=>_0x5ed43a[_0x4ddc32(0x271)](_0x16aa78))[_0x4ddc32(0x275)](_0x3099df=>{const _0x5e9396=_0x4ddc32;throw console[_0x5e9396(0x20a)](_0x3099df),new _0x418a1d(_0x5e9396(0x256),this);});}[_0x1b4247(0x265)](_0x2a77a2){const _0x113774=_0x1b4247,_0x517262=this[_0x113774(0x25b)][_0x113774(0x1da)][_0x113774(0x201)](_0x2d7904),_0x5796f2=this[_0x113774(0x209)](_0x2a77a2);if(_0x5796f2[_0x113774(0x1d5)]=!0x1,this[_0x113774(0x20e)][_0x113774(0x1a9)](_0x5796f2)){const _0xa6f534=this[_0x113774(0x20e)][_0x113774(0x201)](_0x5796f2),_0xc404cc=_0xa6f534[_0x113774(0x1f9)],_0x4d2e81=_0x517262[_0x113774(0x23b)](_0xc404cc);this[_0x113774(0x20e)][_0x113774(0x1e5)](_0x5796f2),this[_0x113774(0x19c)][_0x113774(0x1e5)](_0xc404cc),_0x4d2e81&&_0x517262[_0x113774(0x271)](_0x4d2e81),_0xa6f534[_0x113774(0x24e)](),_0xc404cc[_0x113774(0x24e)]()[_0x113774(0x277)](()=>{const _0x3684e5=_0x113774;this[_0x3684e5(0x1de)](_0xc404cc);});}}[_0x1b4247(0x1c4)]({threadId:_0x5f5d63,resolvedAt:_0x779ef,unlinkedAt:_0x7764e3}){const _0x6031ca=_0x1b4247,_0x27ef4d=!!_0x779ef,_0xb9e6a8=this[_0x6031ca(0x25b)][_0x6031ca(0x1da)][_0x6031ca(0x201)](_0x2d7904),_0x2e43dc=this[_0x6031ca(0x209)](_0x5f5d63);if(this[_0x6031ca(0x20e)][_0x6031ca(0x1a9)](_0x2e43dc)){const _0x443369=this[_0x6031ca(0x20e)][_0x6031ca(0x201)](_0x2e43dc)[_0x6031ca(0x1f9)],_0x4526fb=_0xb9e6a8[_0x6031ca(0x23b)](_0x443369);_0x4526fb&&(_0x27ef4d&&_0xb9e6a8[_0x6031ca(0x211)](_0x4526fb),_0x7764e3?_0x4526fb[_0x6031ca(0x1a0)]=!0x1:_0x4526fb[_0x6031ca(0x229)]());}}[_0x1b4247(0x23e)](_0x5abb7e){const _0x4cfbdd=_0x1b4247,_0x9ca681=this[_0x4cfbdd(0x25b)][_0x4cfbdd(0x1da)][_0x4cfbdd(0x201)](_0x50caad),_0x2e85e0=_0x8af621(_0x4cfbdd(0x1f1)+_0x5abb7e),_0x497306=_0x9ca681[_0x4cfbdd(0x238)](_0x2e85e0);return _0x497306||_0x9ca681[_0x4cfbdd(0x248)]({'id':_0x2e85e0,'name':_0x5abb7e});}[_0x1b4247(0x24a)]({threadId:_0x169d31,commentId:_0x392b6c=_0x2bed46(),content:_0x38f6d8,authorId:_0xe60269,createdAt:_0x236dfd,attributes:_0x95a0cc}){const _0x4ee936=_0x1b4247;if(_0x4ee936(0x245)!=typeof _0x392b6c)throw new _0x418a1d(_0x4ee936(0x226));if(_0x4ee936(0x245)!=typeof _0xe60269)throw new _0x418a1d(_0x4ee936(0x219));if(_0x4ee936(0x245)!=typeof _0x38f6d8||!_0x38f6d8[_0x4ee936(0x237)]())throw new _0x418a1d(_0x4ee936(0x1ae));const _0x1e13e7=this[_0x4ee936(0x25b)][_0x4ee936(0x1da)][_0x4ee936(0x201)](_0x50caad)[_0x4ee936(0x238)](_0xe60269);if(!_0x1e13e7)throw new _0x418a1d(_0x4ee936(0x198),null,{'authorId':_0xe60269});let _0x87c87c=null,_0xec0f25=_0x236dfd;return _0x95a0cc?.[_0x4ee936(0x19f)]&&(_0x87c87c=this[_0x4ee936(0x23e)](_0x95a0cc[_0x4ee936(0x19f)][_0x4ee936(0x1a6)]),_0xec0f25=new Date(_0x95a0cc[_0x4ee936(0x19f)][_0x4ee936(0x1aa)])),new Comment(this,{'threadId':_0x169d31,'id':_0x392b6c,'author':_0x87c87c||_0x1e13e7,'creator':_0x1e13e7,'content':_0x38f6d8,'createdAt':_0x236dfd,'authoredAt':_0xec0f25,'attributes':_0x95a0cc});}[_0x1b4247(0x22d)](_0x407384){const _0x32b0af=_0x1b4247;let {threadId:_0x5138ba,content:_0x338d2d,attributes:_0x56dcc2,isFromAdapter:_0x4a50b3}=_0x407384;const _0x11e555=this[_0x32b0af(0x209)](_0x407384[_0x32b0af(0x274)]);if(!_0x11e555)throw new _0x418a1d(_0x32b0af(0x23d),this);const _0x14fef1=this[_0x32b0af(0x24a)](_0x407384),{id:_0x2922db}=_0x14fef1;if(_0x11e555[_0x32b0af(0x1ce)](_0x14fef1),_0x4a50b3||!this[_0x32b0af(0x1d9)]||_0x32b0af(0x22f)!=typeof this[_0x32b0af(0x1d9)][_0x32b0af(0x206)]||!_0x11e555[_0x32b0af(0x1d0)])return Promise[_0x32b0af(0x1e7)]();const _0xd96006=this[_0x32b0af(0x25b)][_0x32b0af(0x1da)][_0x32b0af(0x201)](_0x32b0af(0x247)),{channelId:_0x1f7294}=_0x11e555,_0x108002=_0xd96006[_0x32b0af(0x1cc)](_0x521c4b(this[_0x32b0af(0x25b)][_0x32b0af(0x1a8)],_0x32b0af(0x1c3)));return _0x56dcc2||(_0x56dcc2={}),this[_0x32b0af(0x1d9)][_0x32b0af(0x206)]({'channelId':_0x1f7294,'threadId':_0x5138ba,'commentId':_0x2922db,'content':_0x338d2d,'attributes':_0x56dcc2})[_0x32b0af(0x277)](_0x27ece1=>{const _0x1f4d88=_0x32b0af;_0xd96006[_0x1f4d88(0x271)](_0x108002),_0x27ece1&&this[_0x1f4d88(0x1fc)]({'channelId':_0x1f7294,'threadId':_0x5138ba,'commentId':_0x2922db,'createdAt':_0x27ece1[_0x1f4d88(0x1aa)],'isFromAdapter':!0x0});})[_0x32b0af(0x275)](_0x3594cb=>{const _0x7c3325=_0x32b0af;throw console[_0x7c3325(0x20a)](_0x3594cb),new _0x418a1d(_0x7c3325(0x27b),this);});}[_0x1b4247(0x1fc)]({threadId:_0x5e2257,commentId:_0x5ec1e5,content:_0x56b61b,createdAt:_0x13e689,attributes:_0x17dcaf,isFromAdapter:_0x5541ec}){const _0x22b170=_0x1b4247;if(void 0x0!==_0x56b61b&&(_0x22b170(0x245)!=typeof _0x56b61b||!_0x56b61b[_0x22b170(0x237)]()[_0x22b170(0x263)]))throw new _0x418a1d(_0x22b170(0x200));const _0x4b1211=this[_0x22b170(0x209)](_0x5e2257),_0x5d5269=_0x4b1211[_0x22b170(0x249)](_0x5ec1e5);if(!_0x5d5269)throw new _0x418a1d(_0x22b170(0x267),this);let _0x37d9c5=!0x1;if(_0x56b61b&&_0x56b61b!==_0x5d5269[_0x22b170(0x232)]&&(_0x5d5269[_0x22b170(0x1a2)]||_0x5541ec)&&(_0x5d5269[_0x22b170(0x232)]=_0x56b61b,_0x37d9c5=!0x0),_0x13e689&&_0x13e689!==_0x5d5269[_0x22b170(0x1aa)]&&(_0x5d5269[_0x22b170(0x1aa)]=_0x13e689,_0x5d5269[_0x22b170(0x1d6)]&&_0x5d5269[_0x22b170(0x1d6)][_0x22b170(0x19f)]||(_0x5d5269[_0x22b170(0x262)]=_0x13e689),_0x37d9c5=!0x0),_0x17dcaf&&!_0x53a820(_0x17dcaf,_0x5d5269[_0x22b170(0x1d6)])&&(_0x5d5269[_0x22b170(0x1d6)]=_0x17dcaf,_0x37d9c5=!0x0),!_0x37d9c5)return Promise[_0x22b170(0x1e7)]();if(_0x4b1211[_0x22b170(0x1bb)](_0x22b170(0x235)),_0x5541ec||!this[_0x22b170(0x1d9)]||_0x22b170(0x22f)!=typeof this[_0x22b170(0x1d9)][_0x22b170(0x1f7)])return Promise[_0x22b170(0x1e7)]();const _0x25e6ae=this[_0x22b170(0x25b)][_0x22b170(0x1da)][_0x22b170(0x201)](_0x22b170(0x247)),{channelId:_0x198e2c}=this[_0x22b170(0x209)](_0x5d5269[_0x22b170(0x274)]),_0xc00a39=_0x25e6ae[_0x22b170(0x1cc)](_0x521c4b(this[_0x22b170(0x25b)][_0x22b170(0x1a8)],_0x22b170(0x1c3)));return this[_0x22b170(0x1d9)][_0x22b170(0x1f7)]({'channelId':_0x198e2c,'threadId':_0x5e2257,'commentId':_0x5ec1e5,'content':_0x56b61b,'attributes':_0x17dcaf})[_0x22b170(0x277)](()=>_0x25e6ae[_0x22b170(0x271)](_0xc00a39))[_0x22b170(0x275)](_0x1b4457=>{const _0x4a499b=_0x22b170;throw console[_0x4a499b(0x20a)](_0x1b4457),new _0x418a1d(_0x4a499b(0x1e3),this);});}[_0x1b4247(0x1c6)]({threadId:_0x4a637a,commentId:_0x24c7a5,isFromAdapter:_0x5c57c4}){const _0x2f169f=_0x1b4247,_0x4c34c3=this[_0x2f169f(0x209)](_0x4a637a),_0x9b6490=_0x4c34c3[_0x2f169f(0x249)](_0x24c7a5);if(!_0x9b6490)throw new _0x418a1d(_0x2f169f(0x26f),this);if(_0x4c34c3[_0x2f169f(0x1ca)](_0x9b6490),_0x5c57c4||!this[_0x2f169f(0x1d9)]||_0x2f169f(0x22f)!=typeof this[_0x2f169f(0x1d9)][_0x2f169f(0x1f8)])return Promise[_0x2f169f(0x1e7)]();const _0x3c8a8a=this[_0x2f169f(0x25b)][_0x2f169f(0x1da)][_0x2f169f(0x201)](_0x2f169f(0x247)),{channelId:_0x3db1c0}=_0x4c34c3,_0x385c7e=_0x3c8a8a[_0x2f169f(0x1cc)](_0x521c4b(this[_0x2f169f(0x25b)][_0x2f169f(0x1a8)],_0x2f169f(0x1c3)));return this[_0x2f169f(0x1d9)][_0x2f169f(0x1f8)]({'channelId':_0x3db1c0,'threadId':_0x4a637a,'commentId':_0x24c7a5})[_0x2f169f(0x277)](()=>_0x3c8a8a[_0x2f169f(0x271)](_0x385c7e))[_0x2f169f(0x275)](_0x1833ff=>{const _0x4c6c69=_0x2f169f;throw console[_0x4c6c69(0x20a)](_0x1833ff),new _0x418a1d(_0x4c6c69(0x23f),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x46bdf9(){[_0x1b4247(0x1dd)];['id'];[_0x1b4247(0x1d5)];[_0x1b4247(0x220)];[_0x1b4247(0x21f)];[_0x1b4247(0x250)];constructor(_0x41ffb3,_0x2d4071){const _0x14ac66=_0x1b4247;super();const _0x143d86=_0x2d4071[_0x14ac66(0x1c8)];this[_0x14ac66(0x1dd)]=_0x2d4071[_0x14ac66(0x1dd)],this['id']=_0x2d4071['id'],this[_0x14ac66(0x21f)]=new _0x556a67(),this[_0x14ac66(0x250)]=_0x41ffb3,this[_0x14ac66(0x1d5)]=!0x1,this[_0x14ac66(0x220)]=_0x2d4071[_0x14ac66(0x1d0)],this[_0x14ac66(0x22a)](_0x14ac66(0x1b5),!0x0),this[_0x14ac66(0x1b4)](_0x14ac66(0x203))['to'](_0x41ffb3,_0x14ac66(0x1bc),_0x41ffb3,_0x14ac66(0x1a4),()=>_0x41ffb3[_0x14ac66(0x203)](this[_0x14ac66(0x1dd)])),this[_0x14ac66(0x1b4)](_0x14ac66(0x227))['to'](_0x41ffb3,_0x14ac66(0x1bc),()=>_0x41ffb3[_0x14ac66(0x25a)](this[_0x14ac66(0x1dd)])[_0x14ac66(0x261)]),this[_0x14ac66(0x1b4)](_0x14ac66(0x221))['to'](_0x41ffb3,_0x14ac66(0x1bc),()=>{const _0x163c69=_0x14ac66,_0x386fd4=_0x41ffb3[_0x163c69(0x25a)](this[_0x163c69(0x1dd)]);return _0x386fd4[_0x163c69(0x24c)]||_0x386fd4[_0x163c69(0x261)];}),this[_0x14ac66(0x1b4)](_0x14ac66(0x1c8))['to'](_0x41ffb3,_0x14ac66(0x1bc),()=>_0x143d86&&_0x41ffb3[_0x14ac66(0x25a)](this[_0x14ac66(0x1dd)])[_0x14ac66(0x1e7)]),this[_0x14ac66(0x22a)](_0x14ac66(0x25b),_0x2d4071[_0x14ac66(0x25b)]),this[_0x14ac66(0x1b4)](_0x14ac66(0x1be))['to'](this,_0x14ac66(0x25e),this,_0x14ac66(0x233),(_0x299a87,_0x451ba4)=>_0x299a87?_0x451ba4?_0x299a87<_0x451ba4?_0x299a87:_0x451ba4:_0x299a87:_0x451ba4),this[_0x14ac66(0x22a)](_0x14ac66(0x233),_0x2d4071[_0x14ac66(0x233)]||null),this[_0x14ac66(0x22a)](_0x14ac66(0x25e),_0x2d4071[_0x14ac66(0x25e)]||null),this[_0x14ac66(0x22a)](_0x14ac66(0x1a5),_0x2d4071[_0x14ac66(0x1a5)]||null),this[_0x14ac66(0x1b4)](_0x14ac66(0x270))['to'](this,_0x14ac66(0x25e),_0x39eb78=>!!_0x39eb78),this[_0x14ac66(0x22a)](_0x14ac66(0x1d6),_0x2d4071[_0x14ac66(0x1d6)]||{});}get[_0x1b4247(0x24b)](){const _0x357516=_0x1b4247;return Array[_0x357516(0x1d3)](this[_0x357516(0x21f)])[_0x357516(0x1db)]((_0x585c68,_0x32cd3d)=>_0x585c68+_0x32cd3d[_0x357516(0x24b)],0x0);}get[_0x1b4247(0x263)](){const _0x533c5a=_0x1b4247;return this[_0x533c5a(0x21f)][_0x533c5a(0x263)];}get[_0x1b4247(0x1c2)](){const _0x1d0744=_0x1b4247;return this[_0x1d0744(0x1d5)];}get[_0x1b4247(0x1d0)](){const _0x214389=_0x1b4247;return this[_0x214389(0x220)];}[_0x1b4247(0x278)](){const _0x2f9382=_0x1b4247,{channelId:_0x2d61c7,id:_0x4da217}=this;this[_0x2f9382(0x250)][_0x2f9382(0x1bb)](Nt(_0x2f9382(0x1d4),_0x2d61c7),{'channelId':_0x2d61c7,'threadId':_0x4da217});}[_0x1b4247(0x1a1)](_0x324787){const _0x47d33a=_0x1b4247;this[_0x47d33a(0x272)]({'unlinkedAt':_0x324787});}[_0x1b4247(0x1e7)]({resolvedAt:_0x4c4529=new Date(),resolvedBy:_0x24d39d='',isFromAdapter:_0x179a60=!0x1}={}){const _0x33df3c=_0x1b4247,_0x46297d=this[_0x33df3c(0x250)][_0x33df3c(0x25b)][_0x33df3c(0x1da)][_0x33df3c(0x201)](_0x50caad)['me'],{channelId:_0x37f4aa,id:_0xdb06c5}=this;this[_0x33df3c(0x250)][_0x33df3c(0x1bb)](Nt(_0x33df3c(0x243),_0x37f4aa),{'channelId':_0x37f4aa,'threadId':_0xdb06c5,'resolvedAt':_0x4c4529,'resolvedBy':_0x24d39d||_0x46297d['id'],'isFromAdapter':_0x179a60});}[_0x1b4247(0x260)]({isFromAdapter:_0x2c8c88=!0x1}={}){const _0xcb60a=_0x1b4247,{channelId:_0x27fc28,id:_0x3fae59}=this;this[_0xcb60a(0x250)][_0xcb60a(0x1bb)](Nt(_0xcb60a(0x1cf),_0x27fc28),{'channelId':_0x27fc28,'threadId':_0x3fae59,'isFromAdapter':_0x2c8c88});}[_0x1b4247(0x257)](_0x15f309){const _0x331cde=_0x1b4247;this[_0x331cde(0x25b)]||this[_0x331cde(0x272)]({'context':_0x15f309});}[_0x1b4247(0x242)](_0x54b0c4,_0x153fd6){const _0x2a4e92=_0x1b4247,_0x2c0a71=_0x3361b1(this[_0x2a4e92(0x1d6)]);_0x43c41a(_0x2c0a71,_0x54b0c4,_0x153fd6),this[_0x2a4e92(0x272)]({'attributes':_0x2c0a71});}[_0x1b4247(0x23a)](_0x203542){const _0x4bbb3a=_0x1b4247,_0x2da88a=_0x3361b1(this[_0x4bbb3a(0x1d6)]);_0x292e24(_0x2da88a,_0x203542),this[_0x4bbb3a(0x272)]({'attributes':_0x2da88a});}[_0x1b4247(0x271)]({isFromAdapter:_0x384dd5=!0x1}={}){const _0x439530=_0x1b4247,{channelId:_0x3dfa7,id:_0x3d02be}=this;this[_0x439530(0x250)][_0x439530(0x1bb)](Nt(_0x439530(0x1ad),_0x3dfa7),{'channelId':_0x3dfa7,'threadId':_0x3d02be,'isFromAdapter':_0x384dd5});}[_0x1b4247(0x230)](_0x98358d){const _0x2e59c8=_0x1b4247;return this[_0x2e59c8(0x250)][_0x2e59c8(0x1df)]({'threadId':this['id'],'target':_0x98358d});}[_0x1b4247(0x206)](_0x4e6bd7){const _0x1e094a=_0x1b4247,{channelId:_0x36fb09,id:_0x23289f}=this;this[_0x1e094a(0x250)][_0x1e094a(0x1bb)](Nt(_0x1e094a(0x206),_0x36fb09,_0x23289f),Object[_0x1e094a(0x1ba)]({'channelId':_0x36fb09,'threadId':_0x23289f},_0x4e6bd7));}[_0x1b4247(0x249)](_0x5c3e45){const _0xad0931=_0x1b4247;if(_0xad0931(0x245)!=typeof _0x5c3e45)throw new _0x418a1d(_0xad0931(0x255),null,{'commentId':_0x5c3e45});return this[_0xad0931(0x21f)][_0xad0931(0x201)](_0x5c3e45);}[_0x1b4247(0x1f3)](){const _0x23f0ba=_0x1b4247;return{'threadId':this['id'],'context':this[_0x23f0ba(0x25b)],'unlinkedAt':this[_0x23f0ba(0x233)],'resolvedAt':this[_0x23f0ba(0x25e)],'resolvedBy':this[_0x23f0ba(0x1a5)]?this[_0x23f0ba(0x1a5)]['id']:null,'archivedAt':this[_0x23f0ba(0x1be)],'comments':this[_0x23f0ba(0x21f)][_0x23f0ba(0x25c)](_0x1235b4=>_0x1235b4[_0x23f0ba(0x1f3)]()),'attributes':this[_0x23f0ba(0x1d6)]};}[_0x1b4247(0x1ce)](_0x1f6bfe){const _0x5c23bf=_0x1b4247;return this[_0x5c23bf(0x27c)](_0x1f6bfe,_0x5c23bf(0x20f),()=>{const _0x286877=_0x5c23bf,_0x1c26de=this[_0x286877(0x1e2)](_0x1f6bfe),_0x2cabc3=this[_0x286877(0x21f)];_0x1c26de-0x1!=_0x2cabc3[_0x286877(0x252)](_0x1f6bfe)&&_0x1c26de+0x1!=_0x2cabc3[_0x286877(0x252)](_0x1f6bfe)&&(this[_0x286877(0x1ca)](_0x1f6bfe),this[_0x286877(0x1ce)](_0x1f6bfe));}),this[_0x5c23bf(0x21f)][_0x5c23bf(0x1cc)](_0x1f6bfe,this[_0x5c23bf(0x1e2)](_0x1f6bfe));}[_0x1b4247(0x272)](_0x3d0e01){const _0x3549f1=_0x1b4247,{channelId:_0x5e332a,id:_0x2eae23}=this;this[_0x3549f1(0x250)][_0x3549f1(0x1bb)](Nt(_0x3549f1(0x276),_0x5e332a),{..._0x3d0e01,'channelId':_0x5e332a,'threadId':_0x2eae23});}[_0x1b4247(0x1ca)](_0x36a629){const _0x3b71ad=_0x1b4247;return this[_0x3b71ad(0x202)](_0x36a629),_0x36a629[_0x3b71ad(0x24e)](),this[_0x3b71ad(0x21f)][_0x3b71ad(0x271)](_0x36a629);}[_0x1b4247(0x1e2)](_0xf1c53d){const _0xd8c2fb=_0x1b4247,_0x583263=this[_0xd8c2fb(0x21f)][_0xd8c2fb(0x1dc)](_0xb7bfe5=>new Date(_0xb7bfe5[_0xd8c2fb(0x262)])[_0xd8c2fb(0x19d)]()>new Date(_0xf1c53d[_0xd8c2fb(0x262)])[_0xd8c2fb(0x19d)]());return _0x583263?this[_0xd8c2fb(0x21f)][_0xd8c2fb(0x252)](_0x583263):this[_0xd8c2fb(0x263)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x46bdf9(){['id'];[_0x1b4247(0x274)];[_0x1b4247(0x25f)];[_0x1b4247(0x25d)];[_0x1b4247(0x1b8)];[_0x1b4247(0x1aa)];[_0x1b4247(0x250)];constructor(_0x2faf75,_0x19aee8){const _0x4f19e3=_0x1b4247;super();const _0x3db15a=_0x2faf75[_0x4f19e3(0x25b)][_0x4f19e3(0x1da)][_0x4f19e3(0x201)](_0x50caad)['me'],_0x51a694=_0x2faf75[_0x4f19e3(0x209)](_0x19aee8[_0x4f19e3(0x274)]),_0x3bcd09=0x0===_0x51a694[_0x4f19e3(0x21f)][_0x4f19e3(0x263)],_0x50b319=_0x3db15a===_0x19aee8[_0x4f19e3(0x25f)];this['id']=_0x19aee8['id'],this[_0x4f19e3(0x274)]=_0x19aee8[_0x4f19e3(0x274)],this[_0x4f19e3(0x25f)]=_0x19aee8[_0x4f19e3(0x25f)],this[_0x4f19e3(0x25d)]=_0x19aee8[_0x4f19e3(0x25d)],this[_0x4f19e3(0x1b8)]=Boolean(_0x19aee8[_0x4f19e3(0x1d6)]&&_0x19aee8[_0x4f19e3(0x1d6)][_0x4f19e3(0x19f)]),this[_0x4f19e3(0x22a)](_0x4f19e3(0x232),_0x19aee8[_0x4f19e3(0x232)]),this[_0x4f19e3(0x1aa)]=_0x19aee8[_0x4f19e3(0x1aa)]||new Date(),this[_0x4f19e3(0x22a)](_0x4f19e3(0x262),_0x19aee8[_0x4f19e3(0x262)]||new Date()),this[_0x4f19e3(0x1b4)](_0x4f19e3(0x25e))['to'](_0x51a694,_0x4f19e3(0x25e)),this[_0x4f19e3(0x22a)](_0x4f19e3(0x1d6),_0x19aee8[_0x4f19e3(0x1d6)]||{}),this[_0x4f19e3(0x1b4)](_0x4f19e3(0x1a2))['to'](_0x2faf75,_0x4f19e3(0x1bc),()=>{const _0x508e3a=_0x4f19e3,_0x30507f=_0x2faf75[_0x508e3a(0x25a)](_0x51a694[_0x508e3a(0x1dd)])[_0x508e3a(0x24c)],_0x5dcb1d=_0x2faf75[_0x508e3a(0x25a)](_0x51a694[_0x508e3a(0x1dd)])[_0x508e3a(0x19a)];return _0x50b319&&_0x30507f||!_0x50b319&&_0x5dcb1d;}),this[_0x4f19e3(0x1b4)](_0x4f19e3(0x227))['to'](_0x51a694,_0x4f19e3(0x227),_0x2faf75,_0x4f19e3(0x1bc),_0x2ce505=>{const _0x4bf22d=_0x4f19e3,_0x2ac40b=_0x2faf75[_0x4bf22d(0x25a)](_0x51a694[_0x4bf22d(0x1dd)])[_0x4bf22d(0x24c)],_0x5ec2eb=_0x2faf75[_0x4bf22d(0x25a)](_0x51a694[_0x4bf22d(0x1dd)])[_0x4bf22d(0x19a)];return _0x50b319&&_0x2ac40b||_0x2ce505&&_0x3bcd09||!_0x50b319&&_0x5ec2eb&&!_0x3bcd09;}),this[_0x4f19e3(0x1b4)](_0x4f19e3(0x203))['to'](_0x51a694,_0x4f19e3(0x203)),this[_0x4f19e3(0x250)]=_0x2faf75;}get[_0x1b4247(0x24b)](){const _0x544997=_0x1b4247;return Math[_0x544997(0x1e4)](function(_0x3e2303){const _0x4b5cf9=_0x544997,_0x3426c5=document[_0x4b5cf9(0x20d)](_0x4b5cf9(0x251));return _0x3426c5[_0x4b5cf9(0x19e)]=_0x3e2303,_0x3426c5[_0x4b5cf9(0x269)][_0x4b5cf9(0x263)];}(this[_0x544997(0x232)]),0xc8);}[_0x1b4247(0x213)](_0x3a7bda){const _0x420943=_0x1b4247,{threadId:_0x45f922,id:_0x390670}=this;if(!this[_0x420943(0x250)][_0x420943(0x1fe)](_0x45f922))throw new _0x418a1d(_0x420943(0x231),this);const {channelId:_0x421883}=this[_0x420943(0x250)][_0x420943(0x209)](_0x45f922);this[_0x420943(0x250)][_0x420943(0x1bb)](Nt(_0x420943(0x1f7),_0x421883,_0x45f922),{'channelId':_0x421883,'threadId':_0x45f922,'commentId':_0x390670,..._0x3a7bda});}[_0x1b4247(0x242)](_0x2fa7c8,_0x599b00){const _0x429a76=_0x1b4247,_0xdf198a=_0x3361b1(this[_0x429a76(0x1d6)]);_0x43c41a(_0xdf198a,_0x2fa7c8,_0x599b00),this[_0x429a76(0x213)]({'attributes':_0xdf198a});}[_0x1b4247(0x23a)](_0x154abc){const _0x466bd7=_0x1b4247,_0x248a4c=_0x3361b1(this[_0x466bd7(0x1d6)]);_0x292e24(_0x248a4c,_0x154abc),this[_0x466bd7(0x213)]({'attributes':_0x248a4c});}[_0x1b4247(0x271)](_0x2f637b={}){const _0x326daa=_0x1b4247;if(!_0x2f637b[_0x326daa(0x1e8)]&&!this[_0x326daa(0x227)])return;const {threadId:_0x4bf97e,id:_0x3edc64}=this;if(!this[_0x326daa(0x250)][_0x326daa(0x1fe)](_0x4bf97e))throw new _0x418a1d(_0x326daa(0x204),this);const {channelId:_0x185eb9}=this[_0x326daa(0x250)][_0x326daa(0x209)](_0x4bf97e);this[_0x326daa(0x250)][_0x326daa(0x1bb)](Nt(_0x326daa(0x1f8),_0x185eb9,_0x4bf97e),{'channelId':_0x185eb9,'threadId':_0x4bf97e,'commentId':_0x3edc64,..._0x2f637b});}[_0x1b4247(0x1f3)](){const _0xde25da=_0x1b4247;return{'commentId':this['id'],'content':this[_0xde25da(0x232)],'createdAt':this[_0xde25da(0x1aa)],'authorId':this[_0xde25da(0x25d)]['id'],'attributes':this[_0xde25da(0x1d6)]};}[_0x1b4247(0x24e)](){const _0xfc7f47=_0x1b4247;this[_0xfc7f47(0x202)]();}}function Nt(_0x51834b,..._0x55ceb0){for(const _0x20c61b of _0x55ceb0)void 0x0!==_0x20c61b&&(_0x51834b+=':'+String(_0x20c61b));return _0x51834b;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x22fe(){const _0x2ed1ca=['isEnabled','set','hasContent','addSourceCollector','getAllMarkersForId','_licenseKeyCheckInterval','listenTo','_showLicenseError','find','27395NDgyLm','10186NoBBMp','getCommentThread','componentFactory','from','expired','config','menuBar:comment','bind','1848viBLDD','3340gLNoZc','786dFenpx','activeMarker','16659QzoOjx','editor','execute','featureNotAllowed','_viewToController','domainLimit','Comments','get','2104GGZlIL','comment:','focus','commentsLicenseKeyDomainLimit','init','isOfficialPlugin','locale','editing','CommentsListView','hasCommentThread','usageLimit','CommentsUI','pluginName','7431KdTqEV','model','plugins','highest','destroy','isPremiumPlugin','licenseKey','commentsLicenseKeyInvalid','tooltip','CommentThreadInputView','16VBssAh','commentsLicenseKeyNotAllowed','stop','commentsLicenseKeyValid','commands','view','push','length','hasMarkerForId','905362cHeAOa','map','has','addComment','low','_createUIButton','evaluationLimit','2167109vjdZNP','isFocused','Comment','requires','comment','removeCommentThread','focusTracker','innerView','addCommentThread','commentsLicenseKeyEvaluationLimit','_threadToController','invalid','getRange','change:activeAnnotations','add','commentsLicenseKeyUsageLimit','commentsLicenseKeyExpired'];_0x22fe=function(){return _0x2ed1ca;};return _0x22fe();}const _0x38bfe5=_0x5866;(function(_0x5b0183,_0x44d039){const _0x213cd6=_0x5866,_0xa95f34=_0x5b0183();while(!![]){try{const _0x3ff421=-parseInt(_0x213cd6(0x117))/0x1+-parseInt(_0x213cd6(0xf5))/0x2+-parseInt(_0x213cd6(0xe2))/0x3*(parseInt(_0x213cd6(0xec))/0x4)+-parseInt(_0x213cd6(0x116))/0x5*(-parseInt(_0x213cd6(0x121))/0x6)+-parseInt(_0x213cd6(0xfc))/0x7+-parseInt(_0x213cd6(0xd5))/0x8*(-parseInt(_0x213cd6(0x123))/0x9)+-parseInt(_0x213cd6(0x120))/0xa*(parseInt(_0x213cd6(0x11f))/0xb);if(_0x3ff421===_0x44d039)break;else _0xa95f34['push'](_0xa95f34['shift']());}catch(_0x351d29){_0xa95f34['push'](_0xa95f34['shift']());}}}(_0x22fe,0x59608));import{Plugin as _0x301742}from'ckeditor5/src/core.js';import{IconAddComment as _0x19f9e1}from'ckeditor5/src/icons.js';function _0x5866(_0x1d4b81,_0x495117){const _0x22fed0=_0x22fe();return _0x5866=function(_0x5866b5,_0xde2f14){_0x5866b5=_0x5866b5-0xd0;let _0xfb5a7c=_0x22fed0[_0x5866b5];return _0xfb5a7c;},_0x5866(_0x1d4b81,_0x495117);}import{CommentsRepository as _0x4d65f9}from'./commentsrepository.js';import{CommentsEditing as _0x358c3b}from'./commentsediting.js';import{EditorAnnotations as _0x1d26d7}from'../annotations/editorannotations.js';import{ButtonView as _0x1bb6f5,MenuBarMenuListItemButtonView as _0x1173ab}from'ckeditor5/src/ui.js';import{Annotations as _0x23f58f}from'../annotations/annotations.js';import{CommentsListView as _0x17ee57}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x573dde}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x58affd}from'../utils/common-translations.js';export class CommentsUI extends _0x301742{[_0x38bfe5(0xe8)];[_0x38bfe5(0x112)];static get[_0x38bfe5(0xe1)](){const _0x1140f3=_0x38bfe5;return _0x1140f3(0xe0);}static get[_0x38bfe5(0xda)](){return!0x0;}static get[_0x38bfe5(0xe7)](){return!0x0;}static get[_0x38bfe5(0xff)](){return[_0x4d65f9,_0x358c3b,_0x1d26d7,_0x23f58f];}get[_0x38bfe5(0xdd)](){return _0x17ee57;}get[_0x38bfe5(0xeb)](){return _0x573dde;}[_0x38bfe5(0xd9)](){const _0x3f399c=_0x38bfe5,_0x1ab82b=this[_0x3f399c(0x124)],_0xfd2e77=_0x1ab82b[_0x3f399c(0xe4)][_0x3f399c(0xd4)](_0x4d65f9),_0x1f08a5=_0x1ab82b[_0x3f399c(0xe4)][_0x3f399c(0xd4)](_0x358c3b),_0x14ef59=_0x1ab82b[_0x3f399c(0xe4)][_0x3f399c(0xd4)](_0x23f58f),_0x17328a=_0x1ab82b[_0x3f399c(0xe4)][_0x3f399c(0xd4)](_0x1d26d7);_0x1ab82b['ui'][_0x3f399c(0x119)][_0x3f399c(0x10a)](_0x3f399c(0x100),()=>{const _0x5ddfba=_0x3f399c,_0xac2fb9=this[_0x5ddfba(0xfa)](_0x1bb6f5);return _0xac2fb9[_0x5ddfba(0xea)]=!0x0,_0xac2fb9;}),_0x1ab82b['ui'][_0x3f399c(0x119)][_0x3f399c(0x10a)](_0x3f399c(0x11d),()=>this[_0x3f399c(0xfa)](_0x1173ab)),_0x17328a[_0x3f399c(0x110)](()=>{const _0x2f82ea=_0x3f399c,_0x463258=[];for(const [_0x38a484,_0x4466d8]of _0xfd2e77[_0x2f82ea(0x106)]){const _0x135b86=_0x1f08a5[_0x2f82ea(0x111)](_0x38a484['id']),_0x269086=_0x135b86[_0x2f82ea(0xf6)](_0x44a6ce=>_0x44a6ce[_0x2f82ea(0x108)]());_0x135b86[_0x2f82ea(0xf3)]>0x0&&_0x463258[_0x2f82ea(0xf2)]([_0x4466d8[_0x2f82ea(0xf1)],_0x269086]);}return _0x463258;}),this[_0x3f399c(0x113)](_0x14ef59,_0x3f399c(0x109),(_0x162cb3,_0x59f444,_0x455fa6)=>{const _0x12181f=_0x3f399c,_0x53b5cd=Array[_0x12181f(0x11a)](_0x455fa6)[_0x12181f(0xf6)](_0x5e5d7c=>_0x5e5d7c[_0x12181f(0x103)])[_0x12181f(0x115)](_0x54e770=>_0xfd2e77[_0x12181f(0xd1)][_0x12181f(0xf7)](_0x54e770));if(!_0x53b5cd)return void(_0x1f08a5[_0x12181f(0x122)]=null);const _0x51a4b1=_0xfd2e77[_0x12181f(0xd1)][_0x12181f(0xd4)](_0x53b5cd)[_0x12181f(0xe3)]['id'],_0x45c930=_0x12181f(0xd6)+_0x51a4b1;_0x51a4b1&&_0x1f08a5[_0x12181f(0xf4)](_0x51a4b1)?_0x1f08a5[_0x12181f(0x122)]=_0x45c930:_0x1f08a5[_0x12181f(0x122)]&&(_0x1f08a5[_0x12181f(0x122)]=null);}),this[_0x3f399c(0x113)](_0xfd2e77,_0x3f399c(0x101),(_0x19a603,{threadId:_0x16b28a,isFromAdapter:_0x4d24f7})=>{const _0x299cb0=_0x3f399c;!_0x4d24f7&&_0x1ab82b['ui'][_0x299cb0(0x102)][_0x299cb0(0xfd)]&&_0x1f08a5[_0x299cb0(0xf4)](_0x16b28a)&&_0x1ab82b[_0x299cb0(0xdc)][_0x299cb0(0xf1)][_0x299cb0(0xd7)]();},{'priority':_0x3f399c(0xe5)}),this[_0x3f399c(0x113)](_0xfd2e77,_0x3f399c(0xf8),(_0x4222e1,{threadId:_0x29006b,isFromAdapter:_0x239437})=>{const _0x3ed49d=_0x3f399c;if(_0x239437||!_0x1f08a5[_0x3ed49d(0xf4)](_0x29006b)||!_0xfd2e77[_0x3ed49d(0xde)](_0x29006b))return;0x1===_0xfd2e77[_0x3ed49d(0x118)](_0x29006b)[_0x3ed49d(0xf3)]&&(_0x1ab82b[_0x3ed49d(0xdc)][_0x3ed49d(0xf1)][_0x3ed49d(0xd7)](),_0x4222e1[_0x3ed49d(0xee)]());},{'priority':_0x3f399c(0xf9)}),this[_0x3f399c(0xe8)]=this[_0x3f399c(0x124)][_0x3f399c(0x11c)][_0x3f399c(0xd4)](_0x3f399c(0xe8));const _0x55eba1=this[_0x3f399c(0x124)];this[_0x3f399c(0x112)]=setInterval(()=>{const _0x313210=_0x3f399c;let _0x191413;for(const _0x5cb1dc in _0x55eba1){const _0x27ea1a=_0x5cb1dc,_0x5c3757=_0x55eba1[_0x27ea1a];if(_0x313210(0xef)==_0x5c3757||_0x313210(0xe9)==_0x5c3757||_0x313210(0x10c)==_0x5c3757||_0x313210(0xd8)==_0x5c3757||_0x313210(0xed)==_0x5c3757||_0x313210(0x105)==_0x5c3757||_0x313210(0x10b)==_0x5c3757){delete _0x55eba1[_0x27ea1a],_0x191413=_0x5c3757,clearInterval(this[_0x313210(0x112)]),this[_0x313210(0x112)]=void 0x0;break;}}_0x313210(0xe9)==_0x191413&&_0x55eba1[_0x313210(0x114)](_0x313210(0x107)),_0x313210(0x10c)==_0x191413&&_0x55eba1[_0x313210(0x114)](_0x313210(0x11b)),_0x313210(0xd8)==_0x191413&&_0x55eba1[_0x313210(0x114)](_0x313210(0xd2)),_0x313210(0xed)==_0x191413&&_0x55eba1[_0x313210(0x114)](_0x313210(0xd0),_0x313210(0xd3)),_0x313210(0x105)==_0x191413&&_0x55eba1[_0x313210(0x114)](_0x313210(0xfb)),_0x313210(0x10b)==_0x191413&&_0x55eba1[_0x313210(0x114)](_0x313210(0xdf));},0x3e8);}[_0x38bfe5(0xe6)](){const _0x3f494c=_0x38bfe5;super[_0x3f494c(0xe6)](),this[_0x3f494c(0x112)]&&clearInterval(this[_0x3f494c(0x112)]);}[_0x38bfe5(0xfa)](_0x35e507){const _0x5793ee=_0x38bfe5,_0x3bce7f=this[_0x5793ee(0x124)],_0x7156ae=new _0x35e507(_0x3bce7f[_0x5793ee(0xdb)]),_0x52c4b7=_0x3bce7f[_0x5793ee(0xf0)][_0x5793ee(0xd4)](_0x5793ee(0x104));return _0x7156ae[_0x5793ee(0x10e)]({'label':_0x58affd(_0x3bce7f[_0x5793ee(0xdb)],_0x5793ee(0xfe)),'icon':_0x19f9e1}),_0x7156ae[_0x5793ee(0x11e)](_0x5793ee(0x10d))['to'](_0x52c4b7,_0x5793ee(0x10d),_0x52c4b7,_0x5793ee(0x10f),(_0x26cb35,_0x13d3a9)=>_0x26cb35&&_0x13d3a9),this[_0x5793ee(0x113)](_0x7156ae,_0x5793ee(0x125),()=>{const _0x27f159=_0x5793ee;_0x52c4b7[_0x27f159(0x125)]();}),_0x7156ae;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x40d4de=_0x175c;(function(_0x3c91a0,_0x30fd11){const _0x1f446f=_0x175c,_0x735685=_0x3c91a0();while(!![]){try{const _0x44501e=parseInt(_0x1f446f(0x8e))/0x1+-parseInt(_0x1f446f(0x90))/0x2+-parseInt(_0x1f446f(0x84))/0x3*(parseInt(_0x1f446f(0x73))/0x4)+-parseInt(_0x1f446f(0x87))/0x5+parseInt(_0x1f446f(0x7f))/0x6+-parseInt(_0x1f446f(0x8f))/0x7+-parseInt(_0x1f446f(0x7d))/0x8*(-parseInt(_0x1f446f(0x7b))/0x9);if(_0x44501e===_0x30fd11)break;else _0x735685['push'](_0x735685['shift']());}catch(_0xc110b4){_0x735685['push'](_0x735685['shift']());}}}(_0x5323,0xedb22));import{Plugin as _0x4774f1}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0xe4696f,ClipboardMarkersUtils as _0x5bde56}from'ckeditor5/src/clipboard.js';function _0x175c(_0x3921bb,_0xe468e2){const _0x53236a=_0x5323();return _0x175c=function(_0x175c65,_0x3d75f9){_0x175c65=_0x175c65-0x69;let _0x472094=_0x53236a[_0x175c65];return _0x472094;},_0x175c(_0x3921bb,_0xe468e2);}export class CommentsClipboard extends _0x4774f1{constructor(_0x4c011b){const _0x574e0d=_0x175c;super(_0x4c011b),this[_0x574e0d(0x75)][_0x574e0d(0x82)][_0x574e0d(0x7a)](_0x574e0d(0x71),_0x574e0d(0x78));}static get[_0x40d4de(0x76)](){return[_0x5bde56,_0xe4696f];}[_0x40d4de(0x74)](){const _0x4e3404=_0x40d4de,_0x547263=this[_0x4e3404(0x75)][_0x4e3404(0x83)][_0x4e3404(0x77)](_0x4e3404(0x89));this[_0x4e3404(0x80)](),this[_0x4e3404(0x6d)](_0x547263,_0x4e3404(0x7c),(_0x43919e,_0x28e75b)=>this[_0x4e3404(0x8b)](_0x28e75b[_0x4e3404(0x85)][_0x4e3404(0x8a)]),{'priority':_0x4e3404(0x91)});}[_0x40d4de(0x8b)](_0x268166){const _0x1f529e=_0x40d4de;if(!this[_0x1f529e(0x75)][_0x1f529e(0x83)][_0x1f529e(0x6b)](_0x1f529e(0x8d)))return _0x268166;const _0x5c24a9=this[_0x1f529e(0x75)][_0x1f529e(0x83)][_0x1f529e(0x77)](_0x1f529e(0x8d));for(const _0x348fd1 of _0x268166[_0x1f529e(0x69)]()){const [_0x14110e,_0x30b447]=_0x348fd1[_0x1f529e(0x81)](':');_0x1f529e(0x88)!=_0x14110e||_0x5c24a9[_0x1f529e(0x7e)](_0x30b447)||_0x268166[_0x1f529e(0x6a)](_0x348fd1);}return _0x268166;}[_0x40d4de(0x80)](){const _0x2adfc9=_0x40d4de,_0x5af349=this[_0x2adfc9(0x75)][_0x2adfc9(0x83)][_0x2adfc9(0x77)](_0x2adfc9(0x8c)),_0x241a7a=this[_0x2adfc9(0x70)](this[_0x2adfc9(0x75)][_0x2adfc9(0x82)][_0x2adfc9(0x77)](_0x2adfc9(0x71)));_0x241a7a&&_0x5af349[_0x2adfc9(0x6f)](_0x2adfc9(0x88),_0x241a7a);}[_0x40d4de(0x70)](_0x4f81f7){const _0x3f7460=_0x40d4de;switch(_0x4f81f7){case _0x3f7460(0x6c):return{'allowedActions':_0x3f7460(0x72),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x3f7460(0x78):return{'allowedActions':[_0x3f7460(0x6e),_0x3f7460(0x86)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x3f7460(0x79):return null;default:return null;}}}function _0x5323(){const _0x1acf5f=['afterInit','editor','requires','get','default','never','define','27117585usjuir','contentInsertion','8rwWcAV','hasCommentThread','7584144yHSLYW','_registerMarkerInClipboardPipeline','split','config','plugins','6qwRIbf','content','dragstart','3315825PNjDtQ','comment','ClipboardPipeline','markers','_removeMarkersWithoutThreads','ClipboardMarkersUtils','CommentsRepository','553825awIdFR','9619540zCGNnd','403238GeLhvA','highest','keys','delete','has','always','listenTo','cut','_registerMarkerToCopy','_mapCommentsCopyConfigToRegisterConfiguration','comments.copyMarkers','all','3236616pepbPx'];_0x5323=function(){return _0x1acf5f;};return _0x5323();}
|