@ckeditor/ckeditor5-comments 47.3.0-alpha.0 → 47.3.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/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 _0x56dbb7=_0x5316;(function(_0x23d30f,_0x4e2b75){const _0x7664e6=_0x5316,_0x5bbcaf=_0x23d30f();while(!![]){try{const _0x384355=-parseInt(_0x7664e6(0x12d))/0x1*(parseInt(_0x7664e6(0x10e))/0x2)+-parseInt(_0x7664e6(0xd9))/0x3+parseInt(_0x7664e6(0xbc))/0x4*(parseInt(_0x7664e6(0x148))/0x5)+-parseInt(_0x7664e6(0xf0))/0x6*(parseInt(_0x7664e6(0x114))/0x7)+-parseInt(_0x7664e6(0xb8))/0x8+parseInt(_0x7664e6(0x12a))/0x9+-parseInt(_0x7664e6(0xb6))/0xa*(-parseInt(_0x7664e6(0xca))/0xb);if(_0x384355===_0x4e2b75)break;else _0x5bbcaf['push'](_0x5bbcaf['shift']());}catch(_0x54c22e){_0x5bbcaf['push'](_0x5bbcaf['shift']());}}}(_0x67e0,0x7ddff));import{Plugin as _0x19277b}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x387fc7,scrollViewportToShowTarget as _0x282f58,uid as _0x4c5ff7}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x1cc58c}from'./commentsrepository.js';function _0x5316(_0x240f00,_0x28cf68){const _0x67e0c7=_0x67e0();return _0x5316=function(_0x531638,_0x583964){_0x531638=_0x531638-0xaf;let _0x93588c=_0x67e0c7[_0x531638];return _0x93588c;},_0x5316(_0x240f00,_0x28cf68);}import{AddCommentThreadCommand as _0x116d6f}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x516765,getAllMarkersDomElementsSorted as _0x553b1e,FOCUS_ANNOTATION_KEYSTROKE as _0x342ad0,Users as _0xefd6ea}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x367308}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x286199}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x412950}from'./integrations/importword.js';function _0x67e0(){const _0x5ae338=['1555cZDUea','hasMarkerForId','differ','ignoreResolvedComments','change:isReadOnly','addMarker:','consumable','unlinkedAt','getAttribute','removeCommentThread','join','markerToHighlight','activeMarker','$graveyard','change','_initializeMarkerConverters','removeMarker:','commands','remove','90wTyomz','_handleInitialThreads','6176048lOHNok','getChangedMarkers','getWalker','low','11936dnPawx','pluginName','enqueueChange','editor','$textProxy','config','comments','length','forEach','_handleThreadMarker','createPositionBefore','getByInnerView','plugins','ariaLiveAnnouncer','1628583xcKqdH','reconvertMarker','name','size','ck-comment-marker--active','ready','get','init','href','isPremiumPlugin','change:activeMarker','reopenCommentThread','_threads','LEAVE_COMMENT_ANNOUNCEMENT','hasCommentThread','971268cbVfJy','destroy','getItems','state','upcast','setUnlinkedAt','isOfficialPlugin','consume','createElement','isEqual','editingDowncast','listenTo','context','editing','dataDowncast','comment:','_initAriaMarkerChangeAnnouncements','newRange','_attachMarkerToThread','CommentsEditing','isThreadsLoadingPaused','filter','isSubmitted','18EcKDvG','startsWith','render','_detachCommentThread','model','fetchCommentThread','comment','from','_threadToController','item','focus','_getTextContext','resolveCommentThread','getAllMarkersForId','$marker','markers','view','hasDomSelection','destroyed','_attachArchivedThread','announce','_reconvertMarkers','for','end','add','author','rootName','affectsData','registerAnnotation','first','2VLJlfK','ck-comment-marker','createRange','refreshVisibility','requires','getCommentThread','938308jbsBqr','markerName','dataToMarker','markerToData','fromCharCode','clear','_getTargetForId','switchReadOnly','isAttached','_handleMarkerAddAndRemove','document','root','conversion','collaboration.channelId','channelId','registerPostFixer','then','data','elementToElement','addCommentThread','change:isThreadsLoadingPaused','afterInit','662283xEjjRV','isObject','managedUsingOperations','320611mXwPoa','getRange','isResolved','_hasTargetInContent','openNewCommentThread','text','substring','set','start','locale','push','showCommentHighlights','updateMarker','scrollToThreadMarker','hasContent','getCommentThreads','addComment','group','removeMarker','isCollapsed','delete','setContext','schema','ENTER_COMMENT_ANNOUNCEMENT','attachTo','map','once'];_0x67e0=function(){return _0x5ae338;};return _0x67e0();}import{CommentsClipboard as _0x45ee2c}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x393555}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x499e15}from'../annotations/annotations.js';import{getTranslation as _0x35d523}from'../utils/common-translations.js';import{splitMarkerName as _0x526402}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x19277b{static get[_0x56dbb7(0x112)](){return[_0x1cc58c,_0x367308,_0xefd6ea,_0x286199,_0x412950,_0x45ee2c,_0x393555];}static get[_0x56dbb7(0xbd)](){const _0x511424=_0x56dbb7;return _0x511424(0xec);}static get[_0x56dbb7(0xdf)](){return!0x0;}static get[_0x56dbb7(0xd3)](){return!0x0;}constructor(_0x344738){const _0x26d51c=_0x56dbb7;super(_0x344738),this[_0x26d51c(0x134)](_0x26d51c(0xed),!0x0),_0x344738[_0x26d51c(0x125)][_0x26d51c(0x147)](_0x26d51c(0xcf),()=>this[_0x26d51c(0xed)]=!0x1),this[_0x26d51c(0x134)](_0x26d51c(0xaf),null),this['on'](_0x26d51c(0xd4),(_0x383892,_0x14eaa5,_0x2be519,_0x356eca)=>{const _0x4593f3=_0x26d51c,_0x54b6ee=_0x344738[_0x4593f3(0xc8)][_0x4593f3(0xd0)](_0x1cc58c),_0x494f9a=_0x2be519?_0x526402(_0x2be519)['id']:null;_0x344738[_0x4593f3(0xf4)][_0x4593f3(0xb1)](()=>{const _0x2c8876=_0x4593f3;if(_0x494f9a){const _0x5f0847=this[_0x2c8876(0xfd)](_0x494f9a);for(const _0x5a7166 of _0x5f0847)_0x344738[_0x2c8876(0xe6)][_0x2c8876(0xcb)](_0x5a7166);}if(_0x356eca){const {id:_0x56299d}=_0x526402(_0x356eca),_0x35b436=_0x54b6ee[_0x2c8876(0x113)](_0x56299d);if(_0x35b436&&_0x35b436[_0x2c8876(0x14f)])return;if(_0x35b436&&!_0x35b436[_0x2c8876(0x11c)])return;const _0x3c8ade=this[_0x2c8876(0xfd)](_0x56299d);for(const _0x138644 of _0x3c8ade)_0x344738[_0x2c8876(0xe6)][_0x2c8876(0xcb)](_0x138644);}}),_0x494f9a&&this[_0x4593f3(0x13a)](_0x494f9a);}),this[_0x26d51c(0xe9)]();}[_0x56dbb7(0xd1)](){const _0x26ff19=_0x56dbb7,_0x32b10c=this[_0x26ff19(0xbf)],_0x4a0ece=_0x32b10c[_0x26ff19(0xc8)][_0x26ff19(0xd0)](_0x1cc58c),_0x3bfb2c=_0x32b10c[_0x26ff19(0xc1)][_0x26ff19(0xd0)](_0x26ff19(0x121)),_0x36b668=_0x4a0ece[_0x26ff19(0x13c)]()[_0x26ff19(0xee)](_0x2b62ed=>_0x2b62ed[_0x26ff19(0x122)]!==_0x3bfb2c);_0x32b10c[_0x26ff19(0xb4)][_0x26ff19(0x108)](_0x26ff19(0x127),new _0x116d6f(_0x32b10c)),this[_0x26ff19(0xe4)](_0x32b10c,_0x26ff19(0x14c),(_0x1f5872,_0x5be2a8,_0x3570ba)=>{const _0x5361c6=_0x26ff19;_0x4a0ece[_0x5361c6(0x11b)](_0x3570ba,_0x32b10c[_0x5361c6(0xc1)][_0x5361c6(0xd0)](_0x5361c6(0x121)));}),this[_0x26ff19(0xe4)](_0x4a0ece,dt(_0x26ff19(0x127),_0x3bfb2c),(_0x2902f1,{threadId:_0x21cd23})=>{const _0x3a8987=_0x26ff19,_0x73a8be=this[_0x3a8987(0xbf)][_0x3a8987(0xc8)][_0x3a8987(0xd0)](_0x1cc58c)[_0x3a8987(0x113)](_0x21cd23);_0x73a8be?.[_0x3a8987(0x14f)]&&this[_0x3a8987(0x103)](_0x21cd23);}),this[_0x26ff19(0xe4)](_0x4a0ece,dt(_0x26ff19(0x151),_0x3bfb2c),(_0x1de460,{threadId:_0x38b22a})=>{const _0x346c3a=_0x26ff19;_0x32b10c[_0x346c3a(0xf4)][_0x346c3a(0xbe)]({'isUndoable':!0x1},_0x57d892=>{const _0x544dc0=_0x346c3a,_0x4d4df2=this[_0x544dc0(0xfd)](_0x38b22a);for(const _0x638b35 of _0x4d4df2)_0x57d892[_0x544dc0(0x13f)](_0x638b35);});}),this[_0x26ff19(0xe4)](_0x4a0ece,dt(_0x26ff19(0xfc),_0x3bfb2c),(_0x6b4f35,{threadId:_0x78d2a5})=>{const _0x51253f=_0x26ff19;(this[_0x51253f(0x105)](_0x78d2a5),this[_0x51253f(0xbf)][_0x51253f(0xe6)][_0x51253f(0x100)][_0x51253f(0x101)])&&(this[_0x51253f(0xbf)][_0x51253f(0xc8)][_0x51253f(0xd0)](_0x1cc58c)[_0x51253f(0x113)](_0x78d2a5)[_0x51253f(0x14f)]||this[_0x51253f(0xbf)][_0x51253f(0xe6)][_0x51253f(0x100)][_0x51253f(0xfa)]());},{'priority':_0x26ff19(0xbb)}),this[_0x26ff19(0xe4)](_0x4a0ece,dt(_0x26ff19(0xd5),_0x3bfb2c),(_0x555b1f,{threadId:_0x48233f})=>{const _0x1b7a15=_0x26ff19;this[_0x1b7a15(0x105)](_0x48233f);},{'priority':_0x26ff19(0xbb)}),this[_0x26ff19(0xe4)](_0x4a0ece,dt(_0x26ff19(0x13d),_0x3bfb2c),(_0x3cab4f,{threadId:_0x4a071d,isFromAdapter:_0xc775eb})=>{const _0x2099ca=_0x26ff19,_0x4ceeb3=this[_0x2099ca(0xfd)](_0x4a071d);if(_0xc775eb||0x0==_0x4ceeb3[_0x2099ca(0xc3)]||!_0x4a0ece[_0x2099ca(0xd8)](_0x4a071d))return;0x1===_0x4a0ece[_0x2099ca(0x113)](_0x4a071d)[_0x2099ca(0xc3)]&&_0x32b10c[_0x2099ca(0xf4)][_0x2099ca(0xbe)]({'isUndoable':!0x1},_0x2298c0=>{const _0xb243c0=_0x2099ca;for(const _0x24cc26 of _0x4ceeb3)_0x2298c0[_0xb243c0(0x139)](_0x24cc26,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x26ff19(0xbb)}),this[_0x26ff19(0xb2)](),this[_0x26ff19(0x11d)](),this[_0x26ff19(0xb7)](_0x36b668);}[_0x56dbb7(0x129)](){!async function(_0x73659a){const _0x2a18f1=_0x3a4baf([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]),_0x47007e=0x73460ab3,_0x5d436d=0x73417083^_0x47007e,_0x2ea8f0=window[_0x3a4baf([0x44,0x61,0x74,0x65])][_0x3a4baf([0x6e,0x6f,0x77])](),_0x270374=_0x73659a[_0x3a4baf([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3a6e39=new window[(_0x3a4baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x37106a=>{_0x270374[_0x3a4baf([0x6f,0x6e,0x63,0x65])](_0x3a4baf([0x72,0x65,0x61,0x64,0x79]),_0x37106a);}),_0x562c86={[_0x3a4baf([0x6b,0x74,0x79])]:_0x3a4baf([0x45,0x43]),[_0x3a4baf([0x75,0x73,0x65])]:_0x3a4baf([0x73,0x69,0x67]),[_0x3a4baf([0x63,0x72,0x76])]:_0x3a4baf([0x50,0x2d,0x32,0x35,0x36]),[_0x3a4baf([0x78])]:_0x3a4baf([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]),[_0x3a4baf([0x79])]:_0x3a4baf([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]),[_0x3a4baf([0x61,0x6c,0x67])]:_0x3a4baf([0x45,0x53,0x32,0x35,0x36])},_0x18083a=_0x270374[_0x3a4baf([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a4baf([0x67,0x65,0x74])](_0x3a4baf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x355d55(){let _0x2d2225,_0x1168a2=null,_0xf29f8f=null;try{if(_0x18083a==_0x3a4baf([0x47,0x50,0x4c]))return _0x3a4baf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2d2225=_0x4b79f0(),!_0x2d2225)return _0x3a4baf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2d2225[_0x3a4baf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf29f8f=_0x3b43de(_0x2d2225[_0x3a4baf([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2d2225[_0x3a4baf([0x6a,0x74,0x69])])),await _0x2ce3a3()?_0x4239f1()?_0x866dbc()?_0x3a4baf([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x11bee0()?(_0x2d2225[_0x3a4baf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a4baf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1168a2=_0x619064(_0x3a4baf([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2d2225[_0x3a4baf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a4baf([0x74,0x72,0x69,0x61,0x6c])&&(_0x1168a2=_0x619064(_0x3a4baf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x31cea8()):_0x3a4baf([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a4baf([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a4baf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a4baf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x866dbc(){const _0x40e39a=[_0x3a4baf([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a4baf([0x74,0x72,0x69,0x61,0x6c])][_0x3a4baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2d2225[_0x3a4baf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2ea8f0/0x3e8:0xe10*_0x5d436d;return _0x2d2225[_0x3a4baf([0x65,0x78,0x70])]<_0x40e39a;}function _0x4239f1(){const _0x5c66a6=_0x2d2225[_0x3a4baf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x5c66a6)return!0x1;if(_0x5c66a6[_0x3a4baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a4baf([0x2a])))return!0x0;if(_0x5c66a6[_0x3a4baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a4baf([0x43,0x4d,0x54])))return!0x0;if(_0x5c66a6[_0x3a4baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a4baf([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x5e0011())return!0x0;if(_0x5c66a6[_0x3a4baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a4baf([0x52,0x43,0x4d,0x54]))){if(_0x120a9f())return!0x0;if(_0x3a4fb5()||_0x395a00())return!0x0;}return!0x1;}function _0x11bee0(){const _0x58e425=_0x5316,_0xa416d0=_0x2d2225[_0x3a4baf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xa416d0||0x0==_0xa416d0[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5f1959}=new URL(window[_0x3a4baf([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x58e425(0xd2)]);if(_0xa416d0[_0x3a4baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f1959))return!0x0;const _0xca5fce=_0x5f1959[_0x3a4baf([0x73,0x70,0x6c,0x69,0x74])](_0x3a4baf([0x2e]));return _0xa416d0[_0x3a4baf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5bd145=>_0x5bd145[_0x3a4baf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a4baf([0x2a])))[_0x3a4baf([0x6d,0x61,0x70])](_0x1a0185=>_0x1a0185[_0x3a4baf([0x73,0x70,0x6c,0x69,0x74])](_0x3a4baf([0x2e])))[_0x3a4baf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x315f34=>_0x315f34[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xca5fce[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a4baf([0x6d,0x61,0x70])](_0x5a8e25=>Array(_0xca5fce[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5a8e25[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a4baf([0x66,0x69,0x6c,0x6c])](_0x5a8e25[0x0]===_0x3a4baf([0x2a])?_0x3a4baf([0x2a]):'')[_0x3a4baf([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5a8e25))[_0x3a4baf([0x73,0x6f,0x6d,0x65])](_0x1cb101=>_0xca5fce[_0x3a4baf([0x65,0x76,0x65,0x72,0x79])]((_0xc748bd,_0x2a3b32)=>_0x1cb101[_0x2a3b32]===_0xc748bd||_0x1cb101[_0x2a3b32]===_0x3a4baf([0x2a])));}function _0x31cea8(){return _0x1168a2&&_0xf29f8f?new window[(_0x3a4baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x356219,_0x4570c5)=>{_0x1168a2[_0x3a4baf([0x74,0x68,0x65,0x6e])](_0x356219,_0x4570c5),_0xf29f8f[_0x3a4baf([0x74,0x68,0x65,0x6e])](_0x365d8e=>{_0x365d8e!=_0x3a4baf([0x56,0x61,0x6c,0x69,0x64])&&_0x356219(_0x365d8e);},_0x4570c5);}):_0x1168a2||_0xf29f8f||_0x3a4baf([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3b43de(_0x1a5e34,_0x5870b5){return new window[(_0x3a4baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d6e74=>{if(_0x112126())return _0x5d6e74(_0x3a4baf([0x56,0x61,0x6c,0x69,0x64]));_0x56f7c4(),_0x270374[_0x3a4baf([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a4baf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51a037=!0x1;const _0x1f0275=_0x4c5ff7();function _0x2774d4(_0x19da1e){return!!_0x19da1e&&(typeof _0x19da1e===_0x3a4baf([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19da1e===_0x3a4baf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19da1e[_0x3a4baf([0x74,0x68,0x65,0x6e])]===_0x3a4baf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19da1e[_0x3a4baf([0x63,0x61,0x74,0x63,0x68])]===_0x3a4baf([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4a41d6(_0x5dece6){_0x40c448(_0x5dece6)[_0x3a4baf([0x74,0x68,0x65,0x6e])](_0x26adf5=>{if(!_0x26adf5||_0x26adf5[_0x3a4baf([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a4baf([0x6f,0x6b]))return _0x3a4baf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5ace40(_0x570d80(_0x1f0275+_0x5870b5))!=_0x26adf5[_0x3a4baf([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a4baf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a4baf([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a4baf([0x74,0x68,0x65,0x6e])](_0x5abc2d=>(_0x8b5682(),_0x5abc2d),()=>{const _0x33f395=_0x53d360();return null==_0x33f395?(_0x8b5682(),_0x3a4baf([0x56,0x61,0x6c,0x69,0x64])):_0x3a4baf(_0x2ea8f0-_0x33f395>(0x574a8eb3^_0x47007e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a4baf([0x74,0x68,0x65,0x6e])](_0x5d6e74)[_0x3a4baf([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5d6e74(_0x3a4baf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2ca03d=0x7370e433^_0x47007e;function _0x8b5682(){const _0x40cd74=_0x3a4baf([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ace40(_0x570d80(_0x1a5e34)),_0x12b3a4=_0x4ad323(_0x5ace40(window[_0x3a4baf([0x4d,0x61,0x74,0x68])][_0x3a4baf([0x63,0x65,0x69,0x6c])](_0x2ea8f0/_0x2ca03d)));window[_0x3a4baf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a4baf([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x40cd74,_0x12b3a4);}function _0x53d360(){const _0x22987d=_0x3a4baf([0x6c,0x6c,0x63,0x74,0x2d])+_0x5ace40(_0x570d80(_0x1a5e34)),_0x4ddeae=window[_0x3a4baf([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a4baf([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22987d);return _0x4ddeae?window[_0x3a4baf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ad323(_0x4ddeae),0x10)*_0x2ca03d:null;}function _0x40c448(_0x3a355c){return new window[(_0x3a4baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d9b54,_0x4ed934)=>{_0x3a355c[_0x3a4baf([0x74,0x68,0x65,0x6e])](_0x3d9b54,_0x4ed934),window[_0x3a4baf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4ed934,0x7347de73^_0x47007e);});}}_0x270374[_0x3a4baf([0x6f,0x6e])](_0x3a4baf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xf46662,_0x42e360)=>{if(_0x42e360[0x0]!=_0x1a5e34)return _0x5d6e74(_0x3a4baf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x42e360[0x1]={..._0x42e360[0x1],[_0x3a4baf([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1f0275};},{[_0x3a4baf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a4baf([0x68,0x69,0x67,0x68])}),_0x270374[_0x3a4baf([0x6f,0x6e])](_0x3a4baf([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x44fbc7=>{_0x2774d4(_0x44fbc7[_0x3a4baf([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51a037=!0x0,_0x4a41d6(_0x44fbc7[_0x3a4baf([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a4baf([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a4baf([0x6c,0x6f,0x77])}),_0x3a6e39[_0x3a4baf([0x74,0x68,0x65,0x6e])](()=>{_0x51a037||_0x5d6e74(_0x3a4baf([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x112126(){return _0x270374[_0x3a4baf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a4baf([0x76,0x69,0x65,0x77])][_0x3a4baf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a4baf([0x61,0x75,0x74,0x6f]);}function _0x56f7c4(){_0x270374[_0x3a4baf([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a4baf([0x76,0x69,0x65,0x77])][_0x3a4baf([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a4baf([0x61,0x75,0x74,0x6f]);}}function _0x619064(_0x2d7fc3){const _0x3a1417=[new window[(_0x3a4baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2dc882=>setTimeout(_0x2dc882,0x734f347f^_0x47007e)),_0x3a6e39[_0x3a4baf([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a4baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f56b0=>{let _0x4771c8=0x0;_0x270374[_0x3a4baf([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a4baf([0x6f,0x6e])](_0x3a4baf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x598dd9,_0x20a06a)=>{_0x20a06a[0x0][_0x3a4baf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4771c8++,_0x4771c8==(0x73460b4b^_0x47007e)&&(_0x3f56b0(),_0x598dd9[_0x3a4baf([0x6f,0x66,0x66])]());});}))];return window[_0x3a4baf([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a4baf([0x72,0x61,0x63,0x65])](_0x3a1417)[_0x3a4baf([0x74,0x68,0x65,0x6e])](()=>_0x2d7fc3);}async function _0x4d05b5(){await _0x3a6e39,_0x270374[_0x3a4baf([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a4baf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xf1f350,_0x270374[_0x3a4baf([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a4baf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xf1f350,_0x270374[_0x3a4baf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a4baf([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5e0011(){return window[_0x3a4baf([0x67,0x6c,0x6f,0x62])]&&window[_0x3a4baf([0x67,0x6c,0x6f,0x62])][_0x3a4baf([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x120a9f(){return _0x4c69d8(_0x3a4baf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4f9d7c(_0x3a4baf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3a4baf([0x73,0x74,0x61,0x74,0x65])]==_0x3a4baf([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x3a4fb5(){return _0x4c69d8(_0x3a4baf([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 _0x395a00(){return _0x4c69d8(_0x3a4baf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x24ca8b(_0xf20f56){const _0x24a59b=_0x13bd0a();_0x270374[_0x24a59b]=_0x3a4baf([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf20f56,_0xf20f56!=_0x3a4baf([0x56,0x61,0x6c,0x69,0x64])&&_0x4d05b5();}function _0x13bd0a(){const _0x36d650=window[_0x3a4baf([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a4baf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a4baf([0x6e,0x6f,0x77])]())[_0x3a4baf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a4baf([0x2e]),'');let _0x30816b=_0x3a4baf([0x4b]);for(let _0x4525c1=0x0;_0x4525c1<_0x36d650[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4525c1+=0x2){let _0x22e8b0=window[_0x3a4baf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36d650[_0x3a4baf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4525c1,_0x4525c1+0x2));_0x22e8b0>=_0x2a18f1[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22e8b0-=_0x2a18f1[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x30816b+=_0x2a18f1[_0x22e8b0];}return _0x30816b;}function _0x4b79f0(){const _0x96c5fb=_0x18083a[_0x3a4baf([0x73,0x70,0x6c,0x69,0x74])](_0x3a4baf([0x2e]));if(0x3!=_0x96c5fb[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3debcf(_0x96c5fb[0x1]);function _0x3debcf(_0x1a2fdc){const _0x2a030e=_0x3eb2cd(_0x1a2fdc);return _0x2a030e&&_0x51c04a()?_0x2a030e:null;function _0x51c04a(){const _0x1506f8=_0x2a030e[_0x3a4baf([0x6a,0x74,0x69])],_0x5457b9=window[_0x3a4baf([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1506f8[_0x3a4baf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1506f8[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1c719f={..._0x2a030e,[_0x3a4baf([0x6a,0x74,0x69])]:_0x1506f8[_0x3a4baf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1506f8[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1c719f[_0x3a4baf([0x76,0x63])],_0x570d80(_0x1c719f)==_0x5457b9;}}}async function _0x2ce3a3(){let _0x123ae8=!0x0;try{const _0x2ad0aa=_0x18083a[_0x3a4baf([0x73,0x70,0x6c,0x69,0x74])](_0x3a4baf([0x2e])),[_0x86d53c,_0x6c0fd4,_0x49d845]=_0x2ad0aa;return _0x32cf6a(_0x86d53c),await _0x206c6d(_0x86d53c,_0x6c0fd4,_0x49d845),_0x123ae8;}catch{return!0x1;}function _0x32cf6a(_0x505384){const _0x51f99b=_0x3eb2cd(_0x505384);_0x51f99b&&_0x51f99b[_0x3a4baf([0x61,0x6c,0x67])]==_0x3a4baf([0x45,0x53,0x32,0x35,0x36])||(_0x123ae8=!0x1);}async function _0x206c6d(_0x4d50cb,_0x41d2fa,_0x57640c){const _0x39bbb4=window[_0x3a4baf([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a4baf([0x66,0x72,0x6f,0x6d])](_0x513f05(_0x57640c),_0x1fc09f=>_0x1fc09f[_0x3a4baf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x904390=new window[(_0x3a4baf([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a4baf([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d50cb+_0x3a4baf([0x2e])+_0x41d2fa),_0x2cb7b8=window[_0x3a4baf([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a4baf([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2cb7b8)return;const _0xd5f37a=await _0x2cb7b8[_0x3a4baf([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a4baf([0x6a,0x77,0x6b]),_0x562c86,{[_0x3a4baf([0x6e,0x61,0x6d,0x65])]:_0x3a4baf([0x45,0x43,0x44,0x53,0x41]),[_0x3a4baf([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a4baf([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a4baf([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2cb7b8[_0x3a4baf([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a4baf([0x6e,0x61,0x6d,0x65])]:_0x3a4baf([0x45,0x43,0x44,0x53,0x41]),[_0x3a4baf([0x68,0x61,0x73,0x68])]:{[_0x3a4baf([0x6e,0x61,0x6d,0x65])]:_0x3a4baf([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd5f37a,_0x39bbb4,_0x904390)||(_0x123ae8=!0x1);}}function _0x3eb2cd(_0x12814a){return _0x12814a[_0x3a4baf([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a4baf([0x65,0x79]))?JSON[_0x3a4baf([0x70,0x61,0x72,0x73,0x65])](_0x513f05(_0x12814a)):null;}function _0x513f05(_0x4d9939){return window[_0x3a4baf([0x61,0x74,0x6f,0x62])](_0x4d9939[_0x3a4baf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a4baf([0x2b]))[_0x3a4baf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a4baf([0x2f])));}function _0x570d80(_0x42e16b){let _0x4ed596=0x1505;function _0x59c4e0(_0x453f46){for(let _0x5555b8=0x0;_0x5555b8<_0x453f46[_0x3a4baf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5555b8++){const _0x4d1bd3=_0x453f46[_0x3a4baf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5555b8);_0x4ed596=(_0x4ed596<<0x5)+_0x4ed596+_0x4d1bd3,_0x4ed596&=_0x4ed596;}}function _0x1d6b39(_0x4ffb64){Array[_0x3a4baf([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4ffb64)?_0x4ffb64[_0x3a4baf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d6b39):_0x4ffb64&&typeof _0x4ffb64==_0x3a4baf([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a4baf([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4ffb64)[_0x3a4baf([0x73,0x6f,0x72,0x74])]()[_0x3a4baf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x49bbf9,_0x29da8e])=>{_0x59c4e0(_0x49bbf9),_0x1d6b39(_0x29da8e);}):_0x59c4e0(window[_0x3a4baf([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4ffb64));}return _0x1d6b39(_0x42e16b),_0x4ed596>>>0x0;}function _0x5ace40(_0x2b1f37){return _0x2b1f37[_0x3a4baf([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a4baf([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a4baf([0x30]));}function _0x4ad323(_0xf5d3a5){return _0xf5d3a5[_0x3a4baf([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a4baf([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a4baf([0x6a,0x6f,0x69,0x6e])]('');}function _0x4c69d8(_0x114f40){return _0x270374[_0x3a4baf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3a4baf([0x68,0x61,0x73])](_0x114f40);}function _0x4f9d7c(_0x1fc91f){return _0x270374[_0x3a4baf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3a4baf([0x67,0x65,0x74])](_0x1fc91f);}function _0xf1f350(){}function _0x3a4baf(_0x45da91){const _0x501197=_0x5316;return _0x45da91[_0x501197(0x146)](_0x2b4f8c=>String[_0x501197(0x118)](_0x2b4f8c))[_0x501197(0x152)]('');}_0x24ca8b(await _0x355d55());}(this);}[_0x56dbb7(0xda)](){const _0x31cd7f=_0x56dbb7,_0x2d1710=this[_0x31cd7f(0xbf)][_0x31cd7f(0xc8)][_0x31cd7f(0xd0)](_0x1cc58c),_0x11cdee=this[_0x31cd7f(0xbf)][_0x31cd7f(0xc1)][_0x31cd7f(0xd0)](_0x31cd7f(0x121));for(const _0x2123c9 of _0x2d1710[_0x31cd7f(0x13c)]({'channelId':_0x11cdee}))_0x2d1710[_0x31cd7f(0xf3)](_0x2123c9['id']),_0x2d1710[_0x31cd7f(0xd6)][_0x31cd7f(0x141)](_0x2123c9['id']);super[_0x31cd7f(0xda)]();}[_0x56dbb7(0x149)](_0x2e43e4){const _0x141810=_0x56dbb7;return this[_0x141810(0xfd)](_0x2e43e4)[_0x141810(0xc3)]>0x0;}[_0x56dbb7(0xfd)](_0x377719){const _0x2ba3e8=_0x56dbb7,_0x5795a4=[];for(const _0x5be268 of this[_0x2ba3e8(0xbf)][_0x2ba3e8(0xf4)][_0x2ba3e8(0xff)])_0x5be268[_0x2ba3e8(0xcc)][_0x2ba3e8(0xf1)](_0x2ba3e8(0xe8)+_0x377719)&&_0x5795a4[_0x2ba3e8(0x137)](_0x5be268);return _0x5795a4;}[_0x56dbb7(0x13a)](_0x470d79){setTimeout(()=>{const _0x2e3677=_0x5316,_0x5d971f=this[_0x2e3677(0x11a)](_0x470d79);if(!_0x5d971f)return;this[_0x2e3677(0xaf)]&&_0x526402(this[_0x2e3677(0xaf)])['id']===_0x470d79&&_0x282f58({'target':_0x5d971f[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x56dbb7(0x105)](_0x4e8013){const _0x2df305=_0x56dbb7;this[_0x2df305(0xbf)][_0x2df305(0xf4)][_0x2df305(0xb1)](()=>{const _0xa05e1=_0x2df305;for(const _0xbd26cd of this[_0xa05e1(0xfd)](_0x4e8013))this[_0xa05e1(0xbf)][_0xa05e1(0xe6)][_0xa05e1(0xcb)](_0xbd26cd);});}[_0x56dbb7(0x103)](_0x8fb6ef){const _0x3e127d=_0x56dbb7,_0x4d5895=this[_0x3e127d(0xbf)][_0x3e127d(0xc8)][_0x3e127d(0xd0)](_0x1cc58c),_0x3e39ed=this[_0x3e127d(0xbf)][_0x3e127d(0xc8)][_0x3e127d(0xd0)](_0x367308),_0x116e77=_0x4d5895[_0x3e127d(0x113)](_0x8fb6ef);if(!_0x116e77[_0x3e127d(0x11c)]){const _0x52d652=_0x116e77[_0x3e127d(0x145)](()=>this[_0x3e127d(0x11a)](_0x116e77['id']));_0x3e39ed[_0x3e127d(0x10c)](_0x52d652),_0x116e77[_0x3e127d(0x130)]=!0x1;}}[_0x56dbb7(0xb2)](){const _0x5af0ba=_0x56dbb7,_0x16893e=this[_0x5af0ba(0xbf)],_0xcf8b7=_0x16893e[_0x5af0ba(0xc8)][_0x5af0ba(0xd0)](_0xefd6ea);_0x16893e[_0x5af0ba(0x120)][_0x5af0ba(0x106)](_0x5af0ba(0xe3))[_0x5af0ba(0x153)]({'model':_0x5af0ba(0xf6),'view':(_0x4a504a,_0x590f65)=>{const _0x1f06d9=_0x5af0ba,{id:_0xb0fd65}=_0x526402(_0x4a504a[_0x1f06d9(0x115)]),_0x2f04c2=_0x16893e[_0x1f06d9(0xc8)][_0x1f06d9(0xd0)](_0x1cc58c)[_0x1f06d9(0x113)](_0xb0fd65),_0x461600=this[_0x1f06d9(0xaf)]&&_0x526402(this[_0x1f06d9(0xaf)])['id']===_0xb0fd65;let _0x560075;if(_0x2f04c2&&_0x2f04c2[_0x1f06d9(0x12f)]&&!_0x461600&&_0x4a504a[_0x1f06d9(0xf9)])return _0x590f65[_0x1f06d9(0x14e)][_0x1f06d9(0xe0)](_0x4a504a[_0x1f06d9(0xf9)],_0x1f06d9(0x14d)+_0x4a504a[_0x1f06d9(0x115)]),_0x590f65[_0x1f06d9(0x14e)][_0x1f06d9(0xe0)](_0x4a504a[_0x1f06d9(0xf9)],_0x1f06d9(0xb3)+_0x4a504a[_0x1f06d9(0x115)]),null;const _0x401f13=[_0x1f06d9(0x10f)];return _0x461600&&_0x401f13[_0x1f06d9(0x137)](_0x1f06d9(0xce)),_0x560075=_0x2f04c2?.[_0x1f06d9(0xc3)]?_0x2f04c2[_0x1f06d9(0xc2)][_0x1f06d9(0x10d)][_0x1f06d9(0x109)]['id']:_0xcf8b7['me']['id'],{'classes':_0x401f13,'attributes':{'data-comment':_0xb0fd65,'data-author-id':_0x560075}};}}),_0x16893e[_0x5af0ba(0x120)][_0x5af0ba(0x106)](_0x5af0ba(0xe7))[_0x5af0ba(0x117)]({'model':_0x5af0ba(0xf6),'view':(_0x4f7d02,{options:_0xcadc6b})=>{const _0x1c4d57=_0x5af0ba;if(_0xcadc6b[_0x1c4d57(0x138)])return null;const _0x34386c=_0x16893e[_0x1c4d57(0xc8)][_0x1c4d57(0xd0)](_0x1cc58c),_0x5a1c67=_0x16893e[_0x1c4d57(0xf4)][_0x1c4d57(0xff)][_0x1c4d57(0xd0)](_0x4f7d02),{id:_0x187bae,part:_0x9f6de3}=_0x526402(_0x4f7d02);return _0x5a1c67&&!_0x5a1c67[_0x1c4d57(0x10b)]||_0xcadc6b[_0x1c4d57(0x14b)]&&_0x34386c[_0x1c4d57(0x113)](_0x187bae)?.[_0x1c4d57(0x12f)]?null:{'group':_0x1c4d57(0xf6),'name':_0x9f6de3?_0x187bae+':'+_0x9f6de3:_0x187bae};}}),_0x16893e[_0x5af0ba(0x120)][_0x5af0ba(0x106)](_0x5af0ba(0xdd))[_0x5af0ba(0x126)]({'view':{'name':_0x5af0ba(0xf6),'attributes':{'id':/^\w/}},'model':(_0x48e073,{writer:_0x13586c})=>_0x13586c[_0x5af0ba(0xe1)](_0x5af0ba(0xfe),{'data-name':_0x5af0ba(0xe8)+_0x48e073[_0x5af0ba(0x150)]('id')})}),_0x16893e[_0x5af0ba(0x120)][_0x5af0ba(0x106)](_0x5af0ba(0xdd))[_0x5af0ba(0x116)]({'view':_0x5af0ba(0xf6)});}[_0x56dbb7(0x11d)](){const _0x28f2f9=_0x56dbb7,_0x5b4e13=this[_0x28f2f9(0xbf)],_0x13330e=_0x5b4e13[_0x28f2f9(0xc8)][_0x28f2f9(0xd0)](_0x1cc58c),_0x2b8375=new Set(),_0xeccfa3=new Set();_0x5b4e13[_0x28f2f9(0xf4)][_0x28f2f9(0x11e)][_0x28f2f9(0x123)](_0x2a9318=>{const _0x552d97=_0x28f2f9;let _0x259cc8=!0x1;for(const {name:_0x14432a,data:_0x1e78e9}of _0x5b4e13[_0x552d97(0xf4)][_0x552d97(0x11e)][_0x552d97(0x14a)][_0x552d97(0xb9)]()){const {group:_0x3d874b,id:_0x556463}=_0x526402(_0x14432a);let _0x1400d1=_0x1e78e9[_0x552d97(0xea)];if(_0x552d97(0xf6)!==_0x3d874b||!_0x1400d1)continue;const _0x150761=_0x552d97(0xb0)===_0x1400d1[_0x552d97(0x11f)][_0x552d97(0x10a)];_0x150761||(_0x1400d1=ht(_0x1400d1,_0x5b4e13[_0x552d97(0xf4)]),!_0x1400d1||_0x1400d1[_0x552d97(0x140)]||!_0x1e78e9[_0x552d97(0xea)]||_0x1400d1[_0x552d97(0xe2)](_0x1e78e9[_0x552d97(0xea)]))?_0x5b4e13[_0x552d97(0xf4)][_0x552d97(0x13b)](_0x1400d1)&&!_0x150761?this[_0x552d97(0xed)]?_0x2b8375[_0x552d97(0x108)](_0x14432a):this[_0x552d97(0xc5)](_0x14432a,_0x556463):(_0xeccfa3[_0x552d97(0x108)](_0x14432a),_0x2b8375[_0x552d97(0x141)](_0x14432a),_0x2a9318[_0x552d97(0x13f)](_0x14432a),_0x259cc8=!0x0):(_0x2a9318[_0x552d97(0x139)](_0x14432a,{'range':_0x1400d1}),_0x259cc8=!0x0);}return _0x259cc8;}),this['on'](_0x28f2f9(0x128),(_0x382854,_0x541f26,_0x286b87)=>{const _0x4ccedc=_0x28f2f9;if(!_0x286b87&&_0x2b8375[_0x4ccedc(0xcd)])for(const _0x23d6c0 of _0x2b8375){const {id:_0xcfa561}=_0x526402(_0x23d6c0);_0x2b8375[_0x4ccedc(0x141)](_0x23d6c0),_0x5b4e13[_0x4ccedc(0xf4)][_0x4ccedc(0xff)][_0x4ccedc(0xd0)](_0x23d6c0)&&this[_0x4ccedc(0xc5)](_0x23d6c0,_0xcfa561);}}),this[_0x28f2f9(0xe4)](_0x5b4e13[_0x28f2f9(0xf4)][_0x28f2f9(0x11e)],_0x28f2f9(0xb1),()=>{const _0x37708c=_0x28f2f9;for(const {name:_0x5a6f1b,data:{newRange:_0xa2a515}}of _0x5b4e13[_0x37708c(0xf4)][_0x37708c(0x11e)][_0x37708c(0x14a)][_0x37708c(0xb9)]()){const {group:_0x3a7381,id:_0x56819a}=_0x526402(_0x5a6f1b);if(_0x37708c(0xf6)!==_0x3a7381)continue;const _0x1b36d7=_0x13330e[_0x37708c(0x113)](_0x56819a),_0x1662ca=this[_0x37708c(0x149)](_0x56819a);_0x1b36d7&&(!_0x1b36d7[_0x37708c(0x130)]&&_0xa2a515&&_0x5b4e13[_0x37708c(0xe6)][_0x37708c(0x100)][_0x37708c(0x147)](_0x37708c(0xf2),()=>{const _0x22ff83=_0x37708c,_0x2317a4=_0x5b4e13[_0x22ff83(0xc8)][_0x22ff83(0xd0)](_0x499e15),_0x522125=_0x13330e[_0x22ff83(0xf8)][_0x22ff83(0xd0)](_0x1b36d7)[_0x22ff83(0x100)];_0x2317a4[_0x22ff83(0xc7)](_0x522125)[_0x22ff83(0x111)]();},{'priority':_0x37708c(0xbb)}),_0x1b36d7[_0x37708c(0x130)]=_0x1662ca||!!_0xa2a515),_0xa2a515||(_0xeccfa3[_0x37708c(0x108)](_0x5a6f1b),_0x2b8375[_0x37708c(0x141)](_0x5a6f1b));}for(const _0x3d815b of _0xeccfa3){const {id:_0x26baee}=_0x526402(_0x3d815b),_0x2847b1=_0x13330e[_0x37708c(0x113)](_0x26baee);if(_0x2b8375[_0x37708c(0x141)](_0x3d815b),!_0x2847b1)continue;const _0x29e7af=this[_0x37708c(0x149)](_0x26baee);_0x29e7af||_0x2847b1[_0x37708c(0xef)]?_0x29e7af||_0x2847b1[_0x37708c(0x14f)]||_0x2847b1[_0x37708c(0xde)](new Date()):_0x2847b1[_0x37708c(0xb5)]();}_0xeccfa3[_0x37708c(0x119)]();});}[_0x56dbb7(0xb7)](_0x277854){const _0xf38aa2=_0x56dbb7;_0x277854[_0xf38aa2(0xc4)](_0x44344d=>{const _0x4a9648=_0xf38aa2;_0x44344d[_0x4a9648(0x14f)]&&this[_0x4a9648(0x103)](_0x44344d['id']);});}[_0x56dbb7(0x11a)](_0xe28dcf){const _0x9daabf=_0x56dbb7,_0x1698ec=this[_0x9daabf(0xbf)],_0x2e275e=this[_0x9daabf(0xfd)](_0xe28dcf);return _0x553b1e(_0x1698ec[_0x9daabf(0xe6)],_0x2e275e);}[_0x56dbb7(0xfb)](_0x1fefca){const _0x1bf53f=_0x56dbb7,_0x257a63=this[_0x1bf53f(0xfd)](_0x1fefca);let _0x2dddbe='',_0x263e0a=!0x1;for(const _0xe518a1 of _0x257a63){const _0x4b9357=_0xe518a1[_0x1bf53f(0x12e)]();for(const _0x576b7d of Array[_0x1bf53f(0xf7)](_0x4b9357[_0x1bf53f(0xdb)]()))_0x576b7d['is'](_0x1bf53f(0xc0))?(_0x2dddbe&&_0x263e0a&&(_0x2dddbe+='\x20',_0x263e0a=!0x1),_0x2dddbe+=_0x576b7d[_0x1bf53f(0x125)]):_0x263e0a=!0x0;_0x263e0a=!0x0;}return _0x2dddbe[_0x1bf53f(0x133)](0x0,0x96);}[_0x56dbb7(0xeb)](_0x50ffde,_0x3d113d){const _0x4bc575=_0x56dbb7,_0x55e927=this[_0x4bc575(0xbf)],_0x2490cb=_0x55e927[_0x4bc575(0xc8)][_0x4bc575(0xd0)](_0x1cc58c);let _0x87bc03=_0x2490cb[_0x4bc575(0x113)](_0x3d113d);const _0x27e368=_0x55e927[_0x4bc575(0xc1)][_0x4bc575(0xd0)](_0x4bc575(0x121)),_0x3324f1=_0x55e927[_0x4bc575(0xc8)][_0x4bc575(0xd0)](_0x367308);if(_0x87bc03&&(_0x87bc03[_0x4bc575(0x14f)]&&_0x87bc03[_0x4bc575(0xde)](null),_0x87bc03[_0x4bc575(0x11c)]))return _0x87bc03;return!this[_0x4bc575(0xfd)](_0x3d113d)[0x0][_0x4bc575(0x12c)]?_0x55e927[_0x4bc575(0xe6)][_0x4bc575(0x100)][_0x4bc575(0x147)](_0x4bc575(0xf2),()=>{const _0x47c972=_0x4bc575;if(_0x2490cb[_0x47c972(0x113)](_0x3d113d))return;const _0x50f03c=_0x55e927[_0x47c972(0xc8)][_0x47c972(0xd0)](_0x499e15);_0x87bc03=_0x2490cb[_0x47c972(0x131)]({'channelId':_0x27e368,'threadId':_0x3d113d,'target':()=>this[_0x47c972(0x11a)](_0x3d113d),'context':{'type':_0x47c972(0x132),'value':this[_0x47c972(0xfb)](_0x3d113d)}});const _0x431e87=_0x2490cb[_0x47c972(0xf8)][_0x47c972(0xd0)](_0x87bc03)[_0x47c972(0x100)],_0xe7b096=_0x50f03c[_0x47c972(0xc7)](_0x431e87);_0xe7b096&&_0x3324f1[_0x47c972(0x10c)](_0xe7b096);},{'priority':_0x4bc575(0xbb)}):_0x2490cb[_0x4bc575(0xf5)]({'channelId':_0x27e368,'threadId':_0x3d113d})[_0x4bc575(0x124)](_0x4cc106=>{const _0x1b4e49=_0x4bc575;if(_0x1b4e49(0x102)!==_0x55e927[_0x1b4e49(0xdc)]){if(_0x87bc03=_0x4cc106,_0x87bc03&&!_0x87bc03[_0x1b4e49(0x11c)]){const _0x331c96=_0x87bc03[_0x1b4e49(0x145)](()=>this[_0x1b4e49(0x11a)](_0x3d113d));_0x3324f1[_0x1b4e49(0x10c)](_0x331c96),_0x87bc03[_0x1b4e49(0x12f)]&&this[_0x1b4e49(0x105)](_0x3d113d);}else{if(!_0x87bc03){const _0x35bcdb=this[_0x1b4e49(0xfd)](_0x3d113d);_0x55e927[_0x1b4e49(0xf4)][_0x1b4e49(0xb1)](_0x4b2889=>{const _0x1fa567=_0x1b4e49;for(const _0x59da34 of _0x35bcdb)_0x4b2889[_0x1fa567(0x13f)](_0x59da34);});}}}}),_0x87bc03;}[_0x56dbb7(0xc5)](_0x4ab23a,_0x202059){const _0xab8a81=_0x56dbb7,_0x4cf4b1=this[_0xab8a81(0xeb)](_0x4ab23a,_0x202059);_0x4cf4b1&&!_0x4cf4b1[_0xab8a81(0xe5)]&&_0x4cf4b1[_0xab8a81(0x142)]({'type':_0xab8a81(0x132),'value':this[_0xab8a81(0xfb)](_0x202059)});}[_0x56dbb7(0xe9)](){const _0x1112df=_0x56dbb7,_0x4a0ee3=this[_0x1112df(0xbf)];_0x516765(_0x4a0ee3[_0x1112df(0xf4)],({left:_0x20e25b,entered:_0x25d60e})=>{const _0x1fe94b=_0x1112df;for(const _0x14a5c2 of _0x20e25b)if(mt(_0x14a5c2)){_0x4a0ee3['ui'][_0x1fe94b(0xc9)][_0x1fe94b(0x104)](_0x35d523(_0x4a0ee3[_0x1fe94b(0x136)],_0x1fe94b(0xd7)));break;}for(const _0x56ef09 of _0x25d60e)if(mt(_0x56ef09)){_0x4a0ee3['ui'][_0x1fe94b(0xc9)][_0x1fe94b(0x104)](_0x35d523(_0x4a0ee3[_0x1fe94b(0x136)],_0x1fe94b(0x144),_0x387fc7(_0x342ad0)));break;}});}}function dt(_0x1fe0f0,_0x1426d5){return _0x1426d5?_0x1fe0f0+':'+_0x1426d5:_0x1fe0f0;}function ht(_0x7204db,_0x5abd04){const _0x428345=_0x56dbb7,_0x362766=_0x5abd04[_0x428345(0x143)],_0x55bf63=_0x5abd04[_0x428345(0x110)](_0x7204db[_0x428345(0x135)]);for(const _0x3b1577 of _0x7204db[_0x428345(0xba)]()){const {type:_0x5ad900,item:_0x19e44a,nextPosition:_0x196d9d}=_0x3b1577;if(_0x428345(0x132)===_0x5ad900||_0x362766[_0x428345(0x12b)](_0x19e44a)){const _0xe3a3dd=_0x5abd04[_0x428345(0xc6)](_0x19e44a);_0x55bf63[_0x428345(0x140)]&&(_0x55bf63[_0x428345(0x135)]=_0xe3a3dd),_0x55bf63[_0x428345(0x107)]=_0x196d9d;}}return _0x55bf63;}function mt(_0x32defa){const _0x1ecfdb=_0x56dbb7;return _0x1ecfdb(0xf6)===_0x526402(_0x32defa[_0x1ecfdb(0xcc)])[_0x1ecfdb(0x13e)];}
|
|
23
|
+
function _0x288f(_0x1538a8,_0x2663c5){const _0x14cffa=_0x14cf();return _0x288f=function(_0x288ff4,_0x5b1c4e){_0x288ff4=_0x288ff4-0x1df;let _0x58a988=_0x14cffa[_0x288ff4];return _0x58a988;},_0x288f(_0x1538a8,_0x2663c5);}const _0x173b56=_0x288f;(function(_0xac0cd1,_0xf22da2){const _0x4104c6=_0x288f,_0x347333=_0xac0cd1();while(!![]){try{const _0x873051=parseInt(_0x4104c6(0x23d))/0x1*(-parseInt(_0x4104c6(0x1ea))/0x2)+parseInt(_0x4104c6(0x1f3))/0x3*(-parseInt(_0x4104c6(0x214))/0x4)+parseInt(_0x4104c6(0x1df))/0x5+parseInt(_0x4104c6(0x24d))/0x6*(-parseInt(_0x4104c6(0x245))/0x7)+-parseInt(_0x4104c6(0x206))/0x8+parseInt(_0x4104c6(0x225))/0x9+parseInt(_0x4104c6(0x230))/0xa;if(_0x873051===_0xf22da2)break;else _0x347333['push'](_0x347333['shift']());}catch(_0x136b60){_0x347333['push'](_0x347333['shift']());}}}(_0x14cf,0xd8e7f));import{Plugin as _0x1ea073}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x149865,scrollViewportToShowTarget as _0x36c883,uid as _0x28b448}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x3d6e1e}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x2414f8}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x248181,getAllMarkersDomElementsSorted as _0x272688,FOCUS_ANNOTATION_KEYSTROKE as _0x110555,Users as _0x1b76cc}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x32ebc4}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x72d2fd}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x2475de}from'./integrations/importword.js';import{CommentsClipboard as _0x500f90}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x2b10c2}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0xaef2b5}from'../annotations/annotations.js';import{getTranslation as _0x7a52c8}from'../utils/common-translations.js';import{splitMarkerName as _0x16b9e8}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x1ea073{static get[_0x173b56(0x21e)](){return[_0x3d6e1e,_0x32ebc4,_0x1b76cc,_0x72d2fd,_0x2475de,_0x500f90,_0x2b10c2];}static get[_0x173b56(0x26f)](){const _0x5a7785=_0x173b56;return _0x5a7785(0x219);}static get[_0x173b56(0x267)](){return!0x0;}static get[_0x173b56(0x1e4)](){return!0x0;}constructor(_0x230d37){const _0xf603c5=_0x173b56;super(_0x230d37),this[_0xf603c5(0x281)](_0xf603c5(0x23c),!0x0),_0x230d37[_0xf603c5(0x255)][_0xf603c5(0x265)](_0xf603c5(0x236),()=>this[_0xf603c5(0x23c)]=!0x1),this[_0xf603c5(0x281)](_0xf603c5(0x1ff),null),this['on'](_0xf603c5(0x251),(_0x2ad053,_0x302c2e,_0x16e866,_0x4099a9)=>{const _0x2d5d5e=_0xf603c5,_0x1c3f45=_0x230d37[_0x2d5d5e(0x228)][_0x2d5d5e(0x266)](_0x3d6e1e),_0x5c95f0=_0x16e866?_0x16b9e8(_0x16e866)['id']:null;_0x230d37[_0x2d5d5e(0x204)][_0x2d5d5e(0x27d)](()=>{const _0x324a29=_0x2d5d5e;if(_0x5c95f0){const _0x4d766d=this[_0x324a29(0x263)](_0x5c95f0);for(const _0xa096dd of _0x4d766d)_0x230d37[_0x324a29(0x1ec)][_0x324a29(0x235)](_0xa096dd);}if(_0x4099a9){const {id:_0x1db967}=_0x16b9e8(_0x4099a9),_0x4d9fb9=_0x1c3f45[_0x324a29(0x209)](_0x1db967);if(_0x4d9fb9&&_0x4d9fb9[_0x324a29(0x231)])return;if(_0x4d9fb9&&!_0x4d9fb9[_0x324a29(0x237)])return;const _0x1e7e9c=this[_0x324a29(0x263)](_0x1db967);for(const _0x17dc08 of _0x1e7e9c)_0x230d37[_0x324a29(0x1ec)][_0x324a29(0x235)](_0x17dc08);}}),_0x5c95f0&&this[_0x2d5d5e(0x201)](_0x5c95f0);}),this[_0xf603c5(0x27f)]();}[_0x173b56(0x24e)](){const _0x3fc960=_0x173b56,_0x3931d1=this[_0x3fc960(0x25b)],_0x4e8a51=_0x3931d1[_0x3fc960(0x228)][_0x3fc960(0x266)](_0x3d6e1e),_0x3af237=_0x3931d1[_0x3fc960(0x22a)][_0x3fc960(0x266)](_0x3fc960(0x1fd)),_0x39345c=_0x4e8a51[_0x3fc960(0x259)]()[_0x3fc960(0x26b)](_0x15e21b=>_0x15e21b[_0x3fc960(0x25a)]!==_0x3af237);_0x3931d1[_0x3fc960(0x22b)][_0x3fc960(0x232)](_0x3fc960(0x221),new _0x2414f8(_0x3931d1)),this[_0x3fc960(0x1ee)](_0x3931d1,_0x3fc960(0x24c),(_0x24616d,_0x5c126,_0x32423f)=>{const _0x1fd615=_0x3fc960;_0x4e8a51[_0x1fd615(0x273)](_0x32423f,_0x3931d1[_0x1fd615(0x22a)][_0x1fd615(0x266)](_0x1fd615(0x1fd)));}),this[_0x3fc960(0x1ee)](_0x4e8a51,dt(_0x3fc960(0x221),_0x3af237),(_0x26439a,{threadId:_0x3f8c2c})=>{const _0x47a63c=_0x3fc960,_0x24a12b=this[_0x47a63c(0x25b)][_0x47a63c(0x228)][_0x47a63c(0x266)](_0x3d6e1e)[_0x47a63c(0x209)](_0x3f8c2c);_0x24a12b?.[_0x47a63c(0x231)]&&this[_0x47a63c(0x1f0)](_0x3f8c2c);}),this[_0x3fc960(0x1ee)](_0x4e8a51,dt(_0x3fc960(0x279),_0x3af237),(_0x44fc80,{threadId:_0x10fee8})=>{const _0x3b29b4=_0x3fc960;_0x3931d1[_0x3b29b4(0x204)][_0x3b29b4(0x242)]({'isUndoable':!0x1},_0x5cd90e=>{const _0x449355=_0x3b29b4,_0x2d3c14=this[_0x449355(0x263)](_0x10fee8);for(const _0x57daf2 of _0x2d3c14)_0x5cd90e[_0x449355(0x256)](_0x57daf2);});}),this[_0x3fc960(0x1ee)](_0x4e8a51,dt(_0x3fc960(0x1e1),_0x3af237),(_0x30658f,{threadId:_0xbc8aa9})=>{const _0x20c504=_0x3fc960;(this[_0x20c504(0x243)](_0xbc8aa9),this[_0x20c504(0x25b)][_0x20c504(0x1ec)][_0x20c504(0x27b)][_0x20c504(0x26c)])&&(this[_0x20c504(0x25b)][_0x20c504(0x228)][_0x20c504(0x266)](_0x3d6e1e)[_0x20c504(0x209)](_0xbc8aa9)[_0x20c504(0x231)]||this[_0x20c504(0x25b)][_0x20c504(0x1ec)][_0x20c504(0x27b)][_0x20c504(0x21d)]());},{'priority':_0x3fc960(0x280)}),this[_0x3fc960(0x1ee)](_0x4e8a51,dt(_0x3fc960(0x27a),_0x3af237),(_0x589ce1,{threadId:_0x3f316a})=>{const _0x2bad94=_0x3fc960;this[_0x2bad94(0x243)](_0x3f316a);},{'priority':_0x3fc960(0x280)}),this[_0x3fc960(0x1ee)](_0x4e8a51,dt(_0x3fc960(0x23e),_0x3af237),(_0x1de212,{threadId:_0xd7c7f1,isFromAdapter:_0x13d69f})=>{const _0x27ef0a=_0x3fc960,_0x12acb7=this[_0x27ef0a(0x263)](_0xd7c7f1);if(_0x13d69f||0x0==_0x12acb7[_0x27ef0a(0x21a)]||!_0x4e8a51[_0x27ef0a(0x250)](_0xd7c7f1))return;0x1===_0x4e8a51[_0x27ef0a(0x209)](_0xd7c7f1)[_0x27ef0a(0x21a)]&&_0x3931d1[_0x27ef0a(0x204)][_0x27ef0a(0x242)]({'isUndoable':!0x1},_0x9e8c58=>{const _0x4bcce1=_0x27ef0a;for(const _0x41f8cf of _0x12acb7)_0x9e8c58[_0x4bcce1(0x20b)](_0x41f8cf,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3fc960(0x280)}),this[_0x3fc960(0x24f)](),this[_0x3fc960(0x262)](),this[_0x3fc960(0x21c)](_0x39345c);}[_0x173b56(0x254)](){!async function(_0x1b204c){const _0xe99fb2=_0x40a60a([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]),_0x57415e=0x73460ab3,_0x3cbeef=0x734170fb^_0x57415e,_0x218c82=window[_0x40a60a([0x44,0x61,0x74,0x65])][_0x40a60a([0x6e,0x6f,0x77])](),_0x525e90=_0x1b204c[_0x40a60a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d9f59=new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x165771=>{_0x525e90[_0x40a60a([0x6f,0x6e,0x63,0x65])](_0x40a60a([0x72,0x65,0x61,0x64,0x79]),_0x165771);}),_0x1ed215={[_0x40a60a([0x6b,0x74,0x79])]:_0x40a60a([0x45,0x43]),[_0x40a60a([0x75,0x73,0x65])]:_0x40a60a([0x73,0x69,0x67]),[_0x40a60a([0x63,0x72,0x76])]:_0x40a60a([0x50,0x2d,0x32,0x35,0x36]),[_0x40a60a([0x78])]:_0x40a60a([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]),[_0x40a60a([0x79])]:_0x40a60a([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]),[_0x40a60a([0x61,0x6c,0x67])]:_0x40a60a([0x45,0x53,0x32,0x35,0x36])},_0x5dbd35=_0x525e90[_0x40a60a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x40a60a([0x67,0x65,0x74])](_0x40a60a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3a4abe(){let _0x9a197b,_0x3af108=null,_0x59529d=null;try{if(_0x5dbd35==_0x40a60a([0x47,0x50,0x4c]))return _0x40a60a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9a197b=_0x21df0c(),!_0x9a197b)return _0x40a60a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9a197b[_0x40a60a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x59529d=_0x1dc802(_0x9a197b[_0x40a60a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9a197b[_0x40a60a([0x6a,0x74,0x69])])),await _0x899a3c()?_0x4c8dd5()?_0x4de53d()?_0x40a60a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x480713()?(_0x9a197b[_0x40a60a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40a60a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3af108=_0x328539(_0x40a60a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x9a197b[_0x40a60a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x40a60a([0x74,0x72,0x69,0x61,0x6c])&&(_0x3af108=_0x328539(_0x40a60a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4d8de4()):_0x40a60a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x40a60a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x40a60a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x40a60a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4de53d(){const _0x2caee4=[_0x40a60a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x40a60a([0x74,0x72,0x69,0x61,0x6c])][_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9a197b[_0x40a60a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x218c82/0x3e8:0xe10*_0x3cbeef;return _0x9a197b[_0x40a60a([0x65,0x78,0x70])]<_0x2caee4;}function _0x4c8dd5(){const _0x1b9f4e=_0x9a197b[_0x40a60a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1b9f4e)return!0x1;if(_0x1b9f4e[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a60a([0x2a])))return!0x0;if(_0x1b9f4e[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a60a([0x43,0x4d,0x54])))return!0x0;if(_0x1b9f4e[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a60a([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x4eb2e9())return!0x0;if(_0x1b9f4e[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a60a([0x52,0x43,0x4d,0x54]))){if(_0x58b54e())return!0x0;if(_0x257ebd()||_0x293071())return!0x0;}return!0x1;}function _0x480713(){const _0x578553=_0x288f,_0x5f2fac=_0x9a197b[_0x40a60a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5f2fac||0x0==_0x5f2fac[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3b96d0}=new URL(window[_0x40a60a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x578553(0x1fe)]);if(_0x5f2fac[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b96d0))return!0x0;const _0x38c648=_0x3b96d0[_0x40a60a([0x73,0x70,0x6c,0x69,0x74])](_0x40a60a([0x2e]));return _0x5f2fac[_0x40a60a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x40561d=>_0x40561d[_0x40a60a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40a60a([0x2a])))[_0x40a60a([0x6d,0x61,0x70])](_0x109d3b=>_0x109d3b[_0x40a60a([0x73,0x70,0x6c,0x69,0x74])](_0x40a60a([0x2e])))[_0x40a60a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x366005=>_0x366005[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x38c648[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40a60a([0x6d,0x61,0x70])](_0x32bec1=>Array(_0x38c648[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x32bec1[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x40a60a([0x66,0x69,0x6c,0x6c])](_0x32bec1[0x0]===_0x40a60a([0x2a])?_0x40a60a([0x2a]):'')[_0x40a60a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x32bec1))[_0x40a60a([0x73,0x6f,0x6d,0x65])](_0x356a81=>_0x38c648[_0x40a60a([0x65,0x76,0x65,0x72,0x79])]((_0x5c6ca5,_0x2ffe0f)=>_0x356a81[_0x2ffe0f]===_0x5c6ca5||_0x356a81[_0x2ffe0f]===_0x40a60a([0x2a])));}function _0x4d8de4(){return _0x3af108&&_0x59529d?new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1abfde,_0x1528ca)=>{_0x3af108[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x1abfde,_0x1528ca),_0x59529d[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x1a9a7d=>{_0x1a9a7d!=_0x40a60a([0x56,0x61,0x6c,0x69,0x64])&&_0x1abfde(_0x1a9a7d);},_0x1528ca);}):_0x3af108||_0x59529d||_0x40a60a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1dc802(_0x541776,_0x6c96d9){return new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27bc00=>{if(_0x167f3b())return _0x27bc00(_0x40a60a([0x56,0x61,0x6c,0x69,0x64]));_0x2cbabf(),_0x525e90[_0x40a60a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x40a60a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2a8828=!0x1;const _0x1ecd41=_0x28b448();function _0x329165(_0x3525f0){return!!_0x3525f0&&(typeof _0x3525f0===_0x40a60a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3525f0===_0x40a60a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3525f0[_0x40a60a([0x74,0x68,0x65,0x6e])]===_0x40a60a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3525f0[_0x40a60a([0x63,0x61,0x74,0x63,0x68])]===_0x40a60a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c838a(_0x2443f2){_0x3c46b1(_0x2443f2)[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x324ecf=>{if(!_0x324ecf||_0x324ecf[_0x40a60a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x40a60a([0x6f,0x6b]))return _0x40a60a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40348e(_0x2a4f62(_0x1ecd41+_0x6c96d9))!=_0x324ecf[_0x40a60a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x40a60a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x40a60a([0x56,0x61,0x6c,0x69,0x64]);})[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x4973c6=>(_0x3e7459(),_0x4973c6),()=>{const _0x546dcf=_0xb211de();return null==_0x546dcf?(_0x3e7459(),_0x40a60a([0x56,0x61,0x6c,0x69,0x64])):_0x40a60a(_0x218c82-_0x546dcf>(0x574a8eb3^_0x57415e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x27bc00)[_0x40a60a([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27bc00(_0x40a60a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e7ca0=0x7370e433^_0x57415e;function _0x3e7459(){const _0x1d7065=_0x40a60a([0x6c,0x6c,0x63,0x74,0x2d])+_0x40348e(_0x2a4f62(_0x541776)),_0x5bb9b1=_0x454f75(_0x40348e(window[_0x40a60a([0x4d,0x61,0x74,0x68])][_0x40a60a([0x63,0x65,0x69,0x6c])](_0x218c82/_0x3e7ca0)));window[_0x40a60a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40a60a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1d7065,_0x5bb9b1);}function _0xb211de(){const _0x52bcac=_0x40a60a([0x6c,0x6c,0x63,0x74,0x2d])+_0x40348e(_0x2a4f62(_0x541776)),_0x2c8107=window[_0x40a60a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x40a60a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52bcac);return _0x2c8107?window[_0x40a60a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x454f75(_0x2c8107),0x10)*_0x3e7ca0:null;}function _0x3c46b1(_0x49b022){return new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1d5f4f,_0x2529e8)=>{_0x49b022[_0x40a60a([0x74,0x68,0x65,0x6e])](_0x1d5f4f,_0x2529e8),window[_0x40a60a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2529e8,0x7347de73^_0x57415e);});}}_0x525e90[_0x40a60a([0x6f,0x6e])](_0x40a60a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x419d6e,_0xa32cfe)=>{if(_0xa32cfe[0x0]!=_0x541776)return _0x27bc00(_0x40a60a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa32cfe[0x1]={..._0xa32cfe[0x1],[_0x40a60a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1ecd41};},{[_0x40a60a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40a60a([0x68,0x69,0x67,0x68])}),_0x525e90[_0x40a60a([0x6f,0x6e])](_0x40a60a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xf91352=>{_0x329165(_0xf91352[_0x40a60a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2a8828=!0x0,_0x3c838a(_0xf91352[_0x40a60a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x40a60a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x40a60a([0x6c,0x6f,0x77])}),_0x1d9f59[_0x40a60a([0x74,0x68,0x65,0x6e])](()=>{_0x2a8828||_0x27bc00(_0x40a60a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x167f3b(){return _0x525e90[_0x40a60a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40a60a([0x76,0x69,0x65,0x77])][_0x40a60a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x40a60a([0x61,0x75,0x74,0x6f]);}function _0x2cbabf(){_0x525e90[_0x40a60a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x40a60a([0x76,0x69,0x65,0x77])][_0x40a60a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x40a60a([0x61,0x75,0x74,0x6f]);}}function _0x328539(_0x59be8b){const _0x1a0747=[new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50fc55=>setTimeout(_0x50fc55,0x734f347f^_0x57415e)),_0x1d9f59[_0x40a60a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc234fb=>{let _0xaca145=0x0;_0x525e90[_0x40a60a([0x6d,0x6f,0x64,0x65,0x6c])][_0x40a60a([0x6f,0x6e])](_0x40a60a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x25a8b8,_0x1a9af6)=>{_0x1a9af6[0x0][_0x40a60a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xaca145++,_0xaca145==(0x73460b4b^_0x57415e)&&(_0xc234fb(),_0x25a8b8[_0x40a60a([0x6f,0x66,0x66])]());});}))];return window[_0x40a60a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x40a60a([0x72,0x61,0x63,0x65])](_0x1a0747)[_0x40a60a([0x74,0x68,0x65,0x6e])](()=>_0x59be8b);}async function _0x505a2a(){await _0x1d9f59,_0x525e90[_0x40a60a([0x6d,0x6f,0x64,0x65,0x6c])][_0x40a60a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x269d30,_0x525e90[_0x40a60a([0x6d,0x6f,0x64,0x65,0x6c])][_0x40a60a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x269d30,_0x525e90[_0x40a60a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x40a60a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4eb2e9(){return window[_0x40a60a([0x67,0x6c,0x6f,0x62])]&&window[_0x40a60a([0x67,0x6c,0x6f,0x62])][_0x40a60a([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x58b54e(){return _0x1ca26c(_0x40a60a([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x520916(_0x40a60a([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x40a60a([0x73,0x74,0x61,0x74,0x65])]==_0x40a60a([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x257ebd(){return _0x1ca26c(_0x40a60a([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 _0x293071(){return _0x1ca26c(_0x40a60a([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x6a17d6(_0x238c65){const _0x10cc76=_0x24b225();_0x525e90[_0x10cc76]=_0x40a60a([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x238c65,_0x238c65!=_0x40a60a([0x56,0x61,0x6c,0x69,0x64])&&_0x505a2a();}function _0x24b225(){const _0x12604f=window[_0x40a60a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x40a60a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x40a60a([0x6e,0x6f,0x77])]())[_0x40a60a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x40a60a([0x2e]),'');let _0x33995d=_0x40a60a([0x4b]);for(let _0x4ea11f=0x0;_0x4ea11f<_0x12604f[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4ea11f+=0x2){let _0x319700=window[_0x40a60a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x12604f[_0x40a60a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4ea11f,_0x4ea11f+0x2));_0x319700>=_0xe99fb2[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x319700-=_0xe99fb2[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33995d+=_0xe99fb2[_0x319700];}return _0x33995d;}function _0x21df0c(){const _0xff11ac=_0x5dbd35[_0x40a60a([0x73,0x70,0x6c,0x69,0x74])](_0x40a60a([0x2e]));if(0x3!=_0xff11ac[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x19fca1(_0xff11ac[0x1]);function _0x19fca1(_0x2b8e6e){const _0x437863=_0x362b9b(_0x2b8e6e);return _0x437863&&_0x4ea14b()?_0x437863:null;function _0x4ea14b(){const _0x13ce92=_0x437863[_0x40a60a([0x6a,0x74,0x69])],_0x4118ae=window[_0x40a60a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13ce92[_0x40a60a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13ce92[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xf884bf={..._0x437863,[_0x40a60a([0x6a,0x74,0x69])]:_0x13ce92[_0x40a60a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13ce92[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xf884bf[_0x40a60a([0x76,0x63])],_0x2a4f62(_0xf884bf)==_0x4118ae;}}}async function _0x899a3c(){let _0x5614b0=!0x0;try{const _0x37ec10=_0x5dbd35[_0x40a60a([0x73,0x70,0x6c,0x69,0x74])](_0x40a60a([0x2e])),[_0x37b437,_0x29fe58,_0x44506b]=_0x37ec10;return _0x26e9af(_0x37b437),await _0x151191(_0x37b437,_0x29fe58,_0x44506b),_0x5614b0;}catch{return!0x1;}function _0x26e9af(_0xc744f2){const _0x2fbc91=_0x362b9b(_0xc744f2);_0x2fbc91&&_0x2fbc91[_0x40a60a([0x61,0x6c,0x67])]==_0x40a60a([0x45,0x53,0x32,0x35,0x36])||(_0x5614b0=!0x1);}async function _0x151191(_0x4d0593,_0x107063,_0x21523b){const _0x529fd3=window[_0x40a60a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x40a60a([0x66,0x72,0x6f,0x6d])](_0x29957d(_0x21523b),_0x3f587f=>_0x3f587f[_0x40a60a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2209d7=new window[(_0x40a60a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x40a60a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4d0593+_0x40a60a([0x2e])+_0x107063),_0x3a4ac9=window[_0x40a60a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x40a60a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3a4ac9)return;const _0x4dd41b=await _0x3a4ac9[_0x40a60a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x40a60a([0x6a,0x77,0x6b]),_0x1ed215,{[_0x40a60a([0x6e,0x61,0x6d,0x65])]:_0x40a60a([0x45,0x43,0x44,0x53,0x41]),[_0x40a60a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x40a60a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x40a60a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3a4ac9[_0x40a60a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x40a60a([0x6e,0x61,0x6d,0x65])]:_0x40a60a([0x45,0x43,0x44,0x53,0x41]),[_0x40a60a([0x68,0x61,0x73,0x68])]:{[_0x40a60a([0x6e,0x61,0x6d,0x65])]:_0x40a60a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4dd41b,_0x529fd3,_0x2209d7)||(_0x5614b0=!0x1);}}function _0x362b9b(_0x25fc88){return _0x25fc88[_0x40a60a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x40a60a([0x65,0x79]))?JSON[_0x40a60a([0x70,0x61,0x72,0x73,0x65])](_0x29957d(_0x25fc88)):null;}function _0x29957d(_0xd455ed){return window[_0x40a60a([0x61,0x74,0x6f,0x62])](_0xd455ed[_0x40a60a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x40a60a([0x2b]))[_0x40a60a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x40a60a([0x2f])));}function _0x2a4f62(_0x44a537){let _0x5adab0=0x1505;function _0x128a3b(_0x11a558){for(let _0x2c5e68=0x0;_0x2c5e68<_0x11a558[_0x40a60a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c5e68++){const _0x55867a=_0x11a558[_0x40a60a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c5e68);_0x5adab0=(_0x5adab0<<0x5)+_0x5adab0+_0x55867a,_0x5adab0&=_0x5adab0;}}function _0x91fb3c(_0x467929){Array[_0x40a60a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x467929)?_0x467929[_0x40a60a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x91fb3c):_0x467929&&typeof _0x467929==_0x40a60a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x40a60a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x467929)[_0x40a60a([0x73,0x6f,0x72,0x74])]()[_0x40a60a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3b2def,_0xe26c1])=>{_0x128a3b(_0x3b2def),_0x91fb3c(_0xe26c1);}):_0x128a3b(window[_0x40a60a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x467929));}return _0x91fb3c(_0x44a537),_0x5adab0>>>0x0;}function _0x40348e(_0x138afd){return _0x138afd[_0x40a60a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x40a60a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x40a60a([0x30]));}function _0x454f75(_0x16167f){return _0x16167f[_0x40a60a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x40a60a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x40a60a([0x6a,0x6f,0x69,0x6e])]('');}function _0x1ca26c(_0x4732bd){return _0x525e90[_0x40a60a([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x40a60a([0x68,0x61,0x73])](_0x4732bd);}function _0x520916(_0x33fbf1){return _0x525e90[_0x40a60a([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x40a60a([0x67,0x65,0x74])](_0x33fbf1);}function _0x269d30(){}function _0x40a60a(_0x31b69f){const _0x2c9576=_0x288f;return _0x31b69f[_0x2c9576(0x1e8)](_0x5c476d=>String[_0x2c9576(0x249)](_0x5c476d))[_0x2c9576(0x1e7)]('');}_0x6a17d6(await _0x3a4abe());}(this);}[_0x173b56(0x208)](){const _0x1911e5=_0x173b56,_0x46f084=this[_0x1911e5(0x25b)][_0x1911e5(0x228)][_0x1911e5(0x266)](_0x3d6e1e),_0x3822c3=this[_0x1911e5(0x25b)][_0x1911e5(0x22a)][_0x1911e5(0x266)](_0x1911e5(0x1fd));for(const _0x1d3f4c of _0x46f084[_0x1911e5(0x259)]({'channelId':_0x3822c3}))_0x46f084[_0x1911e5(0x239)](_0x1d3f4c['id']),_0x46f084[_0x1911e5(0x213)][_0x1911e5(0x1f5)](_0x1d3f4c['id']);super[_0x1911e5(0x208)]();}[_0x173b56(0x205)](_0x25897f){const _0x283b90=_0x173b56;return this[_0x283b90(0x263)](_0x25897f)[_0x283b90(0x21a)]>0x0;}[_0x173b56(0x263)](_0x4f010f){const _0x217580=_0x173b56,_0x8d89bd=[];for(const _0x267848 of this[_0x217580(0x25b)][_0x217580(0x204)][_0x217580(0x226)])_0x267848[_0x217580(0x1eb)][_0x217580(0x229)](_0x217580(0x1f8)+_0x4f010f)&&_0x8d89bd[_0x217580(0x22d)](_0x267848);return _0x8d89bd;}[_0x173b56(0x201)](_0x524943){setTimeout(()=>{const _0x5a012a=_0x288f,_0x4989eb=this[_0x5a012a(0x224)](_0x524943);if(!_0x4989eb)return;this[_0x5a012a(0x1ff)]&&_0x16b9e8(this[_0x5a012a(0x1ff)])['id']===_0x524943&&_0x36c883({'target':_0x4989eb[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x173b56(0x243)](_0x341a1a){const _0x13601f=_0x173b56;this[_0x13601f(0x25b)][_0x13601f(0x204)][_0x13601f(0x27d)](()=>{const _0x340a9f=_0x13601f;for(const _0x2af97c of this[_0x340a9f(0x263)](_0x341a1a))this[_0x340a9f(0x25b)][_0x340a9f(0x1ec)][_0x340a9f(0x235)](_0x2af97c);});}[_0x173b56(0x1f0)](_0x444464){const _0x5510c0=_0x173b56,_0x450da6=this[_0x5510c0(0x25b)][_0x5510c0(0x228)][_0x5510c0(0x266)](_0x3d6e1e),_0x32441e=this[_0x5510c0(0x25b)][_0x5510c0(0x228)][_0x5510c0(0x266)](_0x32ebc4),_0x3118e4=_0x450da6[_0x5510c0(0x209)](_0x444464);if(!_0x3118e4[_0x5510c0(0x237)]){const _0x3944c5=_0x3118e4[_0x5510c0(0x257)](()=>this[_0x5510c0(0x224)](_0x3118e4['id']));_0x32441e[_0x5510c0(0x25d)](_0x3944c5),_0x3118e4[_0x5510c0(0x26d)]=!0x1;}}[_0x173b56(0x24f)](){const _0x2739d8=_0x173b56,_0x176e3b=this[_0x2739d8(0x25b)],_0x4a0047=_0x176e3b[_0x2739d8(0x228)][_0x2739d8(0x266)](_0x1b76cc);_0x176e3b[_0x2739d8(0x261)][_0x2739d8(0x211)](_0x2739d8(0x260))[_0x2739d8(0x24a)]({'model':_0x2739d8(0x271),'view':(_0x4fb68,_0x1d5330)=>{const _0x5d10e8=_0x2739d8,{id:_0x2705f7}=_0x16b9e8(_0x4fb68[_0x5d10e8(0x238)]),_0x8c1eb1=_0x176e3b[_0x5d10e8(0x228)][_0x5d10e8(0x266)](_0x3d6e1e)[_0x5d10e8(0x209)](_0x2705f7),_0x390397=this[_0x5d10e8(0x1ff)]&&_0x16b9e8(this[_0x5d10e8(0x1ff)])['id']===_0x2705f7;let _0x2dc437;if(_0x8c1eb1&&_0x8c1eb1[_0x5d10e8(0x277)]&&!_0x390397&&_0x4fb68[_0x5d10e8(0x268)])return _0x1d5330[_0x5d10e8(0x240)][_0x5d10e8(0x1fc)](_0x4fb68[_0x5d10e8(0x268)],_0x5d10e8(0x264)+_0x4fb68[_0x5d10e8(0x238)]),_0x1d5330[_0x5d10e8(0x240)][_0x5d10e8(0x1fc)](_0x4fb68[_0x5d10e8(0x268)],_0x5d10e8(0x1f4)+_0x4fb68[_0x5d10e8(0x238)]),null;const _0x152ece=[_0x5d10e8(0x1e0)];return _0x390397&&_0x152ece[_0x5d10e8(0x22d)](_0x5d10e8(0x203)),_0x2dc437=_0x8c1eb1?.[_0x5d10e8(0x21a)]?_0x8c1eb1[_0x5d10e8(0x272)][_0x5d10e8(0x25c)][_0x5d10e8(0x21f)]['id']:_0x4a0047['me']['id'],{'classes':_0x152ece,'attributes':{'data-comment':_0x2705f7,'data-author-id':_0x2dc437}};}}),_0x176e3b[_0x2739d8(0x261)][_0x2739d8(0x211)](_0x2739d8(0x26a))[_0x2739d8(0x1e2)]({'model':_0x2739d8(0x271),'view':(_0x101703,{options:_0x3a45ce})=>{const _0x69af3=_0x2739d8;if(_0x3a45ce[_0x69af3(0x27c)])return null;const _0xa9a65b=_0x176e3b[_0x69af3(0x228)][_0x69af3(0x266)](_0x3d6e1e),_0x53bce9=_0x176e3b[_0x69af3(0x204)][_0x69af3(0x226)][_0x69af3(0x266)](_0x101703),{id:_0x336cfa,part:_0x3b3012}=_0x16b9e8(_0x101703);return _0x53bce9&&!_0x53bce9[_0x69af3(0x212)]||_0x3a45ce[_0x69af3(0x1e9)]&&_0xa9a65b[_0x69af3(0x209)](_0x336cfa)?.[_0x69af3(0x277)]?null:{'group':_0x69af3(0x271),'name':_0x3b3012?_0x336cfa+':'+_0x3b3012:_0x336cfa};}}),_0x176e3b[_0x2739d8(0x261)][_0x2739d8(0x211)](_0x2739d8(0x25f))[_0x2739d8(0x207)]({'view':{'name':_0x2739d8(0x271),'attributes':{'id':/^\w/}},'model':(_0xb3edc,{writer:_0x3680b3})=>_0x3680b3[_0x2739d8(0x1fb)](_0x2739d8(0x247),{'data-name':_0x2739d8(0x1f8)+_0xb3edc[_0x2739d8(0x1f9)]('id')})}),_0x176e3b[_0x2739d8(0x261)][_0x2739d8(0x211)](_0x2739d8(0x25f))[_0x2739d8(0x220)]({'view':_0x2739d8(0x271)});}[_0x173b56(0x262)](){const _0x3e7863=_0x173b56,_0x45e0e5=this[_0x3e7863(0x25b)],_0x2366e4=_0x45e0e5[_0x3e7863(0x228)][_0x3e7863(0x266)](_0x3d6e1e),_0x568361=new Set(),_0x253477=new Set();_0x45e0e5[_0x3e7863(0x204)][_0x3e7863(0x25e)][_0x3e7863(0x1f6)](_0x47996e=>{const _0x176728=_0x3e7863;let _0x29da34=!0x1;for(const {name:_0x2ed38c,data:_0x195018}of _0x45e0e5[_0x176728(0x204)][_0x176728(0x25e)][_0x176728(0x244)][_0x176728(0x222)]()){const {group:_0x2d915a,id:_0x2941a0}=_0x16b9e8(_0x2ed38c);let _0x5e4874=_0x195018[_0x176728(0x253)];if(_0x176728(0x271)!==_0x2d915a||!_0x5e4874)continue;const _0x5deeb6=_0x176728(0x22f)===_0x5e4874[_0x176728(0x215)][_0x176728(0x275)];_0x5deeb6||(_0x5e4874=ht(_0x5e4874,_0x45e0e5[_0x176728(0x204)]),!_0x5e4874||_0x5e4874[_0x176728(0x26e)]||!_0x195018[_0x176728(0x253)]||_0x5e4874[_0x176728(0x278)](_0x195018[_0x176728(0x253)]))?_0x45e0e5[_0x176728(0x204)][_0x176728(0x241)](_0x5e4874)&&!_0x5deeb6?this[_0x176728(0x23c)]?_0x568361[_0x176728(0x232)](_0x2ed38c):this[_0x176728(0x22e)](_0x2ed38c,_0x2941a0):(_0x253477[_0x176728(0x232)](_0x2ed38c),_0x568361[_0x176728(0x1f5)](_0x2ed38c),_0x47996e[_0x176728(0x256)](_0x2ed38c),_0x29da34=!0x0):(_0x47996e[_0x176728(0x20b)](_0x2ed38c,{'range':_0x5e4874}),_0x29da34=!0x0);}return _0x29da34;}),this['on'](_0x3e7863(0x210),(_0x47bdf2,_0x2adcd2,_0x9f9912)=>{const _0x169b28=_0x3e7863;if(!_0x9f9912&&_0x568361[_0x169b28(0x20a)])for(const _0x287253 of _0x568361){const {id:_0x4cf800}=_0x16b9e8(_0x287253);_0x568361[_0x169b28(0x1f5)](_0x287253),_0x45e0e5[_0x169b28(0x204)][_0x169b28(0x226)][_0x169b28(0x266)](_0x287253)&&this[_0x169b28(0x22e)](_0x287253,_0x4cf800);}}),this[_0x3e7863(0x1ee)](_0x45e0e5[_0x3e7863(0x204)][_0x3e7863(0x25e)],_0x3e7863(0x27d),()=>{const _0x1d3793=_0x3e7863;for(const {name:_0x5bcf5a,data:{newRange:_0x429693}}of _0x45e0e5[_0x1d3793(0x204)][_0x1d3793(0x25e)][_0x1d3793(0x244)][_0x1d3793(0x222)]()){const {group:_0x13b3ba,id:_0x422a31}=_0x16b9e8(_0x5bcf5a);if(_0x1d3793(0x271)!==_0x13b3ba)continue;const _0x50aac3=_0x2366e4[_0x1d3793(0x209)](_0x422a31),_0x3cab9f=this[_0x1d3793(0x205)](_0x422a31);_0x50aac3&&(!_0x50aac3[_0x1d3793(0x26d)]&&_0x429693&&_0x45e0e5[_0x1d3793(0x1ec)][_0x1d3793(0x27b)][_0x1d3793(0x265)](_0x1d3793(0x282),()=>{const _0x5792b5=_0x1d3793,_0x1c29b=_0x45e0e5[_0x5792b5(0x228)][_0x5792b5(0x266)](_0xaef2b5),_0x28b207=_0x2366e4[_0x5792b5(0x200)][_0x5792b5(0x266)](_0x50aac3)[_0x5792b5(0x27b)];_0x1c29b[_0x5792b5(0x258)](_0x28b207)[_0x5792b5(0x270)]();},{'priority':_0x1d3793(0x280)}),_0x50aac3[_0x1d3793(0x26d)]=_0x3cab9f||!!_0x429693),_0x429693||(_0x253477[_0x1d3793(0x232)](_0x5bcf5a),_0x568361[_0x1d3793(0x1f5)](_0x5bcf5a));}for(const _0x39927a of _0x253477){const {id:_0x4a446c}=_0x16b9e8(_0x39927a),_0x189859=_0x2366e4[_0x1d3793(0x209)](_0x4a446c);if(_0x568361[_0x1d3793(0x1f5)](_0x39927a),!_0x189859)continue;const _0x38d504=this[_0x1d3793(0x205)](_0x4a446c);_0x38d504||_0x189859[_0x1d3793(0x269)]?_0x38d504||_0x189859[_0x1d3793(0x231)]||_0x189859[_0x1d3793(0x218)](new Date()):_0x189859[_0x1d3793(0x276)]();}_0x253477[_0x1d3793(0x246)]();});}[_0x173b56(0x21c)](_0x260a8d){const _0xff30ee=_0x173b56;_0x260a8d[_0xff30ee(0x1fa)](_0xd32a8a=>{const _0x1f8270=_0xff30ee;_0xd32a8a[_0x1f8270(0x231)]&&this[_0x1f8270(0x1f0)](_0xd32a8a['id']);});}[_0x173b56(0x224)](_0x1cecf3){const _0x33b626=_0x173b56,_0x8ccfff=this[_0x33b626(0x25b)],_0x4aaca9=this[_0x33b626(0x263)](_0x1cecf3);return _0x272688(_0x8ccfff[_0x33b626(0x1ec)],_0x4aaca9);}[_0x173b56(0x227)](_0x54810b){const _0x896df1=_0x173b56,_0xc47665=this[_0x896df1(0x263)](_0x54810b);let _0x4be016='',_0x5437e1=!0x1;for(const _0x5b52a8 of _0xc47665){const _0x1a4350=_0x5b52a8[_0x896df1(0x23a)]();for(const _0x564b79 of Array[_0x896df1(0x1f2)](_0x1a4350[_0x896df1(0x1e6)]()))_0x564b79['is'](_0x896df1(0x20e))?(_0x4be016&&_0x5437e1&&(_0x4be016+='\x20',_0x5437e1=!0x1),_0x4be016+=_0x564b79[_0x896df1(0x255)]):_0x5437e1=!0x0;_0x5437e1=!0x0;}return _0x4be016[_0x896df1(0x1f7)](0x0,0x96);}[_0x173b56(0x1e5)](_0x188208,_0x3e2e08){const _0x134b43=_0x173b56,_0x5028d7=this[_0x134b43(0x25b)],_0x15a6d8=_0x5028d7[_0x134b43(0x228)][_0x134b43(0x266)](_0x3d6e1e);let _0x2efceb=_0x15a6d8[_0x134b43(0x209)](_0x3e2e08);const _0x248162=_0x5028d7[_0x134b43(0x22a)][_0x134b43(0x266)](_0x134b43(0x1fd)),_0x35539a=_0x5028d7[_0x134b43(0x228)][_0x134b43(0x266)](_0x32ebc4);if(_0x2efceb&&(_0x2efceb[_0x134b43(0x231)]&&_0x2efceb[_0x134b43(0x218)](null),_0x2efceb[_0x134b43(0x237)]))return _0x2efceb;return!this[_0x134b43(0x263)](_0x3e2e08)[0x0][_0x134b43(0x216)]?_0x5028d7[_0x134b43(0x1ec)][_0x134b43(0x27b)][_0x134b43(0x265)](_0x134b43(0x282),()=>{const _0xbb6958=_0x134b43;if(_0x15a6d8[_0xbb6958(0x209)](_0x3e2e08))return;const _0x46a166=_0x5028d7[_0xbb6958(0x228)][_0xbb6958(0x266)](_0xaef2b5);_0x2efceb=_0x15a6d8[_0xbb6958(0x233)]({'channelId':_0x248162,'threadId':_0x3e2e08,'target':()=>this[_0xbb6958(0x224)](_0x3e2e08),'context':{'type':_0xbb6958(0x20d),'value':this[_0xbb6958(0x227)](_0x3e2e08)}});const _0x44f59d=_0x15a6d8[_0xbb6958(0x200)][_0xbb6958(0x266)](_0x2efceb)[_0xbb6958(0x27b)],_0x558103=_0x46a166[_0xbb6958(0x258)](_0x44f59d);_0x558103&&_0x35539a[_0xbb6958(0x25d)](_0x558103);},{'priority':_0x134b43(0x280)}):_0x15a6d8[_0x134b43(0x22c)]({'channelId':_0x248162,'threadId':_0x3e2e08})[_0x134b43(0x1ef)](_0x322bbd=>{const _0x4e4deb=_0x134b43;if(_0x4e4deb(0x202)!==_0x5028d7[_0x4e4deb(0x1f1)]){if(_0x2efceb=_0x322bbd,_0x2efceb&&!_0x2efceb[_0x4e4deb(0x237)]){const _0x65a207=_0x2efceb[_0x4e4deb(0x257)](()=>this[_0x4e4deb(0x224)](_0x3e2e08));_0x35539a[_0x4e4deb(0x25d)](_0x65a207),_0x2efceb[_0x4e4deb(0x277)]&&this[_0x4e4deb(0x243)](_0x3e2e08);}else{if(!_0x2efceb){const _0x36af08=this[_0x4e4deb(0x263)](_0x3e2e08);_0x5028d7[_0x4e4deb(0x204)][_0x4e4deb(0x27d)](_0x4ad938=>{const _0x244aff=_0x4e4deb;for(const _0xa1d7ee of _0x36af08)_0x4ad938[_0x244aff(0x256)](_0xa1d7ee);});}}}}),_0x2efceb;}[_0x173b56(0x22e)](_0x504207,_0x1319f){const _0x4ce554=_0x173b56,_0x3a7ba2=this[_0x4ce554(0x1e5)](_0x504207,_0x1319f);_0x3a7ba2&&!_0x3a7ba2[_0x4ce554(0x248)]&&_0x3a7ba2[_0x4ce554(0x23f)]({'type':_0x4ce554(0x20d),'value':this[_0x4ce554(0x227)](_0x1319f)});}[_0x173b56(0x27f)](){const _0x2f9768=_0x173b56,_0x25c075=this[_0x2f9768(0x25b)];_0x248181(_0x25c075[_0x2f9768(0x204)],({left:_0x45c5bd,entered:_0x39f9f6})=>{const _0x374607=_0x2f9768;for(const _0x2d5621 of _0x45c5bd)if(mt(_0x2d5621)){_0x25c075['ui'][_0x374607(0x20c)][_0x374607(0x20f)](_0x7a52c8(_0x25c075[_0x374607(0x24b)],_0x374607(0x1e3)));break;}for(const _0x746d64 of _0x39f9f6)if(mt(_0x746d64)){_0x25c075['ui'][_0x374607(0x20c)][_0x374607(0x20f)](_0x7a52c8(_0x25c075[_0x374607(0x24b)],_0x374607(0x27e),_0x149865(_0x110555)));break;}});}}function dt(_0x9a8216,_0x54d946){return _0x54d946?_0x9a8216+':'+_0x54d946:_0x9a8216;}function ht(_0x2d8f8e,_0x107337){const _0x1da917=_0x173b56,_0x1c0b0f=_0x107337[_0x1da917(0x223)],_0x2509af=_0x107337[_0x1da917(0x252)](_0x2d8f8e[_0x1da917(0x23b)]);for(const _0x4a9ac6 of _0x2d8f8e[_0x1da917(0x234)]()){const {type:_0x40f9d4,item:_0x2a35ba,nextPosition:_0x429b21}=_0x4a9ac6;if(_0x1da917(0x20d)===_0x40f9d4||_0x1c0b0f[_0x1da917(0x21b)](_0x2a35ba)){const _0x35dbb9=_0x107337[_0x1da917(0x1ed)](_0x2a35ba);_0x2509af[_0x1da917(0x26e)]&&(_0x2509af[_0x1da917(0x23b)]=_0x35dbb9),_0x2509af[_0x1da917(0x217)]=_0x429b21;}}return _0x2509af;}function mt(_0x11d723){const _0x275515=_0x173b56;return _0x275515(0x271)===_0x16b9e8(_0x11d723[_0x275515(0x1eb)])[_0x275515(0x274)];}function _0x14cf(){const _0xecae0=['plugins','startsWith','config','commands','fetchCommentThread','push','_handleThreadMarker','$graveyard','9200120amkrHU','unlinkedAt','add','openNewCommentThread','getWalker','reconvertMarker','ready','isAttached','markerName','_detachCommentThread','getRange','start','isThreadsLoadingPaused','3eizXht','addComment','setContext','consumable','hasContent','enqueueChange','_reconvertMarkers','differ','1579697TwBgIX','clear','$marker','context','fromCharCode','markerToHighlight','locale','change:isReadOnly','18rUpKsW','init','_initializeMarkerConverters','hasCommentThread','change:activeMarker','createRange','newRange','afterInit','data','removeMarker','attachTo','getByInnerView','getCommentThreads','channelId','editor','first','registerAnnotation','document','upcast','editingDowncast','conversion','_handleMarkerAddAndRemove','getAllMarkersForId','addMarker:','once','get','isOfficialPlugin','item','isSubmitted','dataDowncast','filter','hasDomSelection','_hasTargetInContent','isCollapsed','pluginName','refreshVisibility','comment','comments','switchReadOnly','group','rootName','remove','isResolved','isEqual','removeCommentThread','reopenCommentThread','view','showCommentHighlights','change','ENTER_COMMENT_ANNOUNCEMENT','_initAriaMarkerChangeAnnouncements','low','set','render','3818745RXtIwa','ck-comment-marker','resolveCommentThread','markerToData','LEAVE_COMMENT_ANNOUNCEMENT','isPremiumPlugin','_attachMarkerToThread','getItems','join','map','ignoreResolvedComments','79906hprORi','name','editing','createPositionBefore','listenTo','then','_attachArchivedThread','state','from','231SwgRtl','removeMarker:','delete','registerPostFixer','substring','comment:','getAttribute','forEach','createElement','consume','collaboration.channelId','href','activeMarker','_threadToController','scrollToThreadMarker','destroyed','ck-comment-marker--active','model','hasMarkerForId','9348944BDAXYC','elementToElement','destroy','getCommentThread','size','updateMarker','ariaLiveAnnouncer','text','$textProxy','announce','change:isThreadsLoadingPaused','for','affectsData','_threads','13484nFecWO','root','managedUsingOperations','end','setUnlinkedAt','CommentsEditing','length','isObject','_handleInitialThreads','focus','requires','author','dataToMarker','addCommentThread','getChangedMarkers','schema','_getTargetForId','12867687qmqrRd','markers','_getTextContext'];_0x14cf=function(){return _0xecae0;};return _0x14cf();}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xae2009=_0x4a1a;(function(_0xf45905,_0x5a546e){const _0xd553b8=_0x4a1a,_0x5d2303=_0xf45905();while(!![]){try{const _0x29c34c=parseInt(_0xd553b8(0x178))/0x1+parseInt(_0xd553b8(0x164))/0x2+parseInt(_0xd553b8(0x182))/0x3*(parseInt(_0xd553b8(0xe6))/0x4)+parseInt(_0xd553b8(0xf5))/0x5*(parseInt(_0xd553b8(0xf1))/0x6)+parseInt(_0xd553b8(0x16f))/0x7+-parseInt(_0xd553b8(0x183))/0x8*(parseInt(_0xd553b8(0x1a5))/0x9)+-parseInt(_0xd553b8(0x161))/0xa;if(_0x29c34c===_0x5a546e)break;else _0x5d2303['push'](_0x5d2303['shift']());}catch(_0x2fce3a){_0x5d2303['push'](_0x5d2303['shift']());}}}(_0xf02a,0x41b1c));import{PendingActions as _0x5e014e,ContextPlugin as _0x1bedff,Editor as _0x560519}from'ckeditor5/src/core.js';import{Collection as _0x3d3540,uid as _0x300475,CKEditorError as _0x38720a,ObservableMixin as _0x4fe23f}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x34a3d3,hashObject as _0x38b3c8,Users as _0x5b422c}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x26724f,isEqual as _0x595f77,set as _0x2643b3,unset as _0xcd8d21}from'es-toolkit/compat';import{CommentThreadController as _0x282700}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x370ffa}from'./ui/view/commentthreadview.js';import{CommentView as _0x39c012}from'./ui/view/commentview.js';import{getTranslation as _0x7c5afb}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';function _0xf02a(){const _0x126594=['change:authoredAt','commentsrepository-update-comment-missing-comment-thread','deactivateAll','commentsrepository-add-comment-to-missing-comment-thread','attachTo','_hasTargetInContent','write','locale','model','_threadToController','remove','commentsrepository-remove-missing-comment','canComment','commentsrepository-update-comment-thread-internal-error','trim','licenseKey','author','setUnlinkedAt','listenTo','innerView','fetchCommentThread','setPermissions','commentsListView','isRemovable','_removeComment','commentsrepository-remove-comment-thread-internal-error','openNewCommentThread','fire','_addCommentThread','_addComment','submitCommentThread','comments.maxCommentsWhenCollapsed','commentsrepository-resolve-comment-thread-internal-error','_viewToController','_updateActiveAnnotation','_bindAnnotationToEditors','commentsrepository-invalid-comment-thread-id','bind','adapter','threadId','editorReady','channelId','_submitCommentThread','comments.editorConfig','_update','14002860meUoWv','getByInnerView','assign','681460gNVZZt','comments.CommentView','commentsrepository-attach-missing-comment-thread','_readOnlyChannels','map','commentsrepository-fetch-comment-thread','commentsrepository-update-missing-comment','commentsrepository-active-not-attached','_isSubmitted','change:activeAnnotations','_removeActiveAnnotation','3705394qyODUA','creator','from','function','noChannel','div','_findOptimalIndex','commentsrepository-update-comment-internal-error','body','284443PtoIrE','values','_permissions','getCommentThreads','commentUpdated','commentsrepository-resolved-comment-thread','_isAttached','comment','comments.copyMarkers','_removeCommentThread','9rCEGBy','664744WcRuAr','removeCommentThread','add','authorName','content','bodyCollectionContainer','_unbindEditors','isOfficialPlugin','type','addComment','set','refreshVisibility','removeComment','commentsrepository-missing-comment-thread','isResolvable','updateCommentThread','focus','commentsrepository-reopen-comment-thread-internal-error','comments','string','unlinkedAt','_resolveCommentThread','commentsrepository-add-comment-user-not-exists','_remove','_attachCommentThread','commentId','innerHTML','error','resolveCommentThread','commentsrepository-remove-comment-missing-comment-thread','createdAt','reopen','commentsrepository-invalid-comment-content','comments.CommentThreadView','18OXNrwn','addCommentThread','@external','getCommentThread','filter','once','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','admin','commentsrepository-active-missing-comment-thread','commentsrepository-get-comment-invalid-id','lowest','then','highest','createCommentThreadController','getComment','CommentThreadView','archivedAt','getUser','has','_updateComment','commentsrepository-add-comment-internal-error','getAnnotationForCommentThread','plugins','getTime','setContext','PENDING_ACTION_COMMENT_THREAD','isExternal','focusableElements','commentsrepository-update-comment-invalid-content','_reopenCommentThread','isAttached','get','removeAttribute','commentsrepository-remove-comment-internal-error','getIndex','_add','isFromAdapter','warn','PendingActions','isPremiumPlugin','commentsrepository-invalid-comment-authorid','283644GmWWMM','isReadOnly','CommentsRepository','comments.maxCommentCharsWhenCollapsed','view','authoredAt','isResolved','getPermissions','change:isDirty','_repository','commentsrepository-adapter-already-set','26508rljVTq','comments.maxThreadTotalWeight','_createCommentThreadView','hasCommentThread','530LuSIFf','change:_readOnlyChannels','context','isSubmitted','pluginName','commentsrepository-missing-thread-and-adapter-method','commentsrepository-invalid-commentid','_adapter','isActive','init','commentsrepository-remove-missing-comment-thread','requires','weight','update','activate','_threads','commentThreadInputView','createElement','_detachCommentThread','_getExternalAuthor','CommentView','push','isDirty','commentsrepository-reopen-comment-thread','activeCommentThread','_createNewComment','submit','commentsrepository-duplicated-comment-thread-id','updateComment','resolvedBy','_updateCommentThread','isEditable','commentsrepository-missing-target','external:','switchReadOnly','isVisible','modifyAll','setActiveCommentThread','editorDestroyed','find','toJSON','destroy','escape','resolvedAt','setAttribute','stopListening','textContent','addUser','getCommentThreadForAnnotation','commentInputView','resolve','commentsrepository-add-comment-thread-internal-error','length','define','delete','catch','change:_permissions','config','max','reduce','attributes','focusTracker','reopenCommentThread'];_0xf02a=function(){return _0x126594;};return _0xf02a();}function _0x4a1a(_0x31b414,_0x1ba04d){const _0xf02ab5=_0xf02a();return _0x4a1a=function(_0x4a1a95,_0x466d3e){_0x4a1a95=_0x4a1a95-0xd5;let _0xc007da=_0xf02ab5[_0x4a1a95];return _0xc007da;},_0x4a1a(_0x31b414,_0x1ba04d);}import'../../theme/commentinput.css';import{AnnotationView as _0x589ea5}from'../annotations/view/annotationview.js';import{Annotation as _0x357ad1}from'../annotations/annotation.js';import{Annotations as _0x33493a}from'../annotations/annotations.js';const _t=Symbol(_0xae2009(0x173)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x1bedff{[_0xae2009(0x104)];[_0xae2009(0x13d)];[_0xae2009(0x155)];static get[_0xae2009(0x100)](){return[_0x33493a,_0x5e014e,_0x5b422c];}static get[_0xae2009(0xf9)](){const _0x3aa186=_0xae2009;return _0x3aa186(0xe8);}static get[_0xae2009(0x18a)](){return!0x0;}static get[_0xae2009(0xe4)](){return!0x0;}constructor(_0x26dabc){const _0x11e305=_0xae2009;super(_0x26dabc),this[_0x11e305(0x104)]=new Map(),this[_0x11e305(0x13d)]=new Map(),this[_0x11e305(0x155)]=new Map(),this[_0x11e305(0x18d)](_0x11e305(0x167),new Set()),this[_0x11e305(0x18d)](_0x11e305(0x17a),new Map());const _0x490169=this[_0x11e305(0xf7)][_0x11e305(0x12e)];_0x490169[_0x11e305(0x12a)](_0x11e305(0x153),0x2),_0x490169[_0x11e305(0x12a)](_0x11e305(0xf2),0x1f4),_0x490169[_0x11e305(0x12a)](_0x11e305(0xe9),0x8c),_0x490169[_0x11e305(0x12a)](_0x11e305(0x1a4),_0x370ffa),_0x490169[_0x11e305(0x12a)](_0x11e305(0x165),_0x39c012),_0x490169[_0x11e305(0xdc)](_0x11e305(0x15f))||console[_0x11e305(0xe2)](_0x11e305(0x1ab));}[_0xae2009(0xfe)](){const _0x420bfe=_0xae2009,_0x3950bc=this[_0x420bfe(0xf7)][_0x420bfe(0x1bb)][_0x420bfe(0xdc)](_0x33493a);this[_0x420bfe(0x18d)](_0x420bfe(0x10d),null),this['on'](_0x420bfe(0x1a6),(_0x145788,_0x48506c)=>this[_0x420bfe(0x150)](_0x48506c)),this['on'](_0x420bfe(0x152),(_0x1facd5,_0x1936f8)=>this[_0x420bfe(0x15e)](_0x1936f8)),this['on'](_0x420bfe(0x19f),(_0x210562,_0x1ac6e6)=>this[_0x420bfe(0x198)](_0x1ac6e6)),this['on'](_0x420bfe(0x19f),(_0x426b2c,_0x5cf5b7)=>this[_0x420bfe(0x156)](_0x5cf5b7),{'priority':_0x420bfe(0x1af)}),this['on'](_0x420bfe(0x133),(_0x4fd2c6,_0x2cfebb)=>this[_0x420bfe(0xda)](_0x2cfebb)),this['on'](_0x420bfe(0x133),(_0x44a728,_0x14b12d)=>this[_0x420bfe(0x156)](_0x14b12d),{'priority':_0x420bfe(0x1af)}),this['on'](_0x420bfe(0x184),(_0x59346e,_0x3f91a0)=>this[_0x420bfe(0x181)](_0x3f91a0)),this['on'](_0x420bfe(0x192),(_0x18e524,_0x1118e1)=>this[_0x420bfe(0x113)](_0x1118e1)),this['on'](_0x420bfe(0x192),(_0x5cab9e,_0x25e23f)=>this[_0x420bfe(0x156)](_0x25e23f),{'priority':_0x420bfe(0x1af)}),this['on'](_0x420bfe(0x18c),(_0x47960e,_0x4ab173)=>this[_0x420bfe(0x151)](_0x4ab173)),this['on'](_0x420bfe(0x111),(_0x23afd5,_0x450f54)=>this[_0x420bfe(0x1b8)](_0x450f54)),this['on'](_0x420bfe(0x18f),(_0x5db82d,_0x19514a)=>this[_0x420bfe(0x14c)](_0x19514a)),this['on'](_0x420bfe(0x18c),(_0x6d4ffa,{threadId:_0xdb4cc4,isFromAdapter:_0x4f113f})=>{const _0x210fd0=_0x420bfe;if(_0x4f113f)return;const _0x6d116d=this[_0x210fd0(0x1a8)](_0xdb4cc4),_0x3edcbd=_0x6d116d&&this[_0x210fd0(0x13d)][_0x210fd0(0xdc)](_0x6d116d);_0x3edcbd&&_0x3edcbd[_0x210fd0(0xea)][_0x210fd0(0x14a)][_0x210fd0(0x193)](-0x1);},{'priority':_0x420bfe(0x1af)}),this[_0x420bfe(0x146)](_0x3950bc,_0x420bfe(0x16d),(_0x4f21ad,_0x18660c,_0x4440e3)=>{const _0x303cb1=_0x420bfe,_0xafbe87=Array[_0x303cb1(0x171)](_0x4440e3)[_0x303cb1(0x168)](_0x5407f7=>this[_0x303cb1(0x155)][_0x303cb1(0xdc)](_0x5407f7[_0x303cb1(0x147)]))[_0x303cb1(0x1a9)](Boolean)[0x0];this[_0x303cb1(0x10d)]=_0xafbe87?_0xafbe87[_0x303cb1(0x13c)]:null;});}set[_0xae2009(0x15a)](_0x23d43e){const _0x492fcd=_0xae2009;if(this[_0x492fcd(0xfc)])throw new _0x38720a(_0x492fcd(0xf0));this[_0x492fcd(0xfc)]=_0x23d43e;}get[_0xae2009(0x15a)](){const _0x28c9ef=_0xae2009;return this[_0x28c9ef(0xfc)];}[_0xae2009(0x1a6)]({channelId:_0x107ca=_t,threadId:_0x12ab0c=_0x300475(),comments:_0x3d8d4e=[],unlinkedAt:_0x33bfd4=null,resolvedAt:_0x55584d=null,resolvedBy:_0x2e906e=null,target:_0x3d069c=null,context:_0x193d14=null,attributes:_0x34a837={},isResolvable:_0x42c222=!0x0,isSubmitted:_0x104411=!0x1,isFromAdapter:_0x3c7a89=!0x1}={}){const _0x553b02=_0xae2009;return this[_0x553b02(0x14f)](Nt(_0x553b02(0x1a6),_0x107ca),{'channelId':_0x107ca,'threadId':_0x12ab0c,'comments':_0x3d8d4e,'unlinkedAt':_0x33bfd4,'resolvedAt':_0x55584d,'resolvedBy':_0x2e906e,'target':_0x3d069c,'context':_0x193d14,'attributes':_0x34a837,'isFromAdapter':_0x3c7a89,'isResolvable':_0x42c222,'isSubmitted':_0x104411}),this[_0x553b02(0x1a8)](_0x12ab0c);}[_0xae2009(0x14e)]({channelId:_0x22d669=_t,threadId:_0x33dd8b=_0x300475(),target:_0x5adf70,context:_0x1ca2c8=null,isResolvable:_0x5e09cd=!0x0}){const _0x51d7e=_0xae2009;if(this[_0x51d7e(0x167)][_0x51d7e(0x1b7)](_0x22d669)||this[_0x51d7e(0x167)][_0x51d7e(0x1b7)](void 0x0))return null;if(!_0x5adf70)throw new _0x38720a(_0x51d7e(0x115));const _0x3edcf4=this[_0x51d7e(0x1a6)]({'channelId':_0x22d669,'threadId':_0x33dd8b,'target':_0x5adf70,'context':_0x1ca2c8,'isResolvable':_0x5e09cd});if(!_0x3edcf4)return null;const _0x1d4a2b=this[_0x51d7e(0x13d)][_0x51d7e(0xdc)](_0x3edcf4),_0x15f1ca=_0x1d4a2b[_0x51d7e(0xea)][_0x51d7e(0x105)][_0x51d7e(0x126)],_0x2723ff=this[_0x51d7e(0xf7)][_0x51d7e(0x1bb)][_0x51d7e(0xdc)](_0x33493a),_0x12cf25=_0x2723ff[_0x51d7e(0x162)](_0x1d4a2b[_0x51d7e(0xea)]);return _0x2723ff[_0x51d7e(0x103)](_0x12cf25),_0x15f1ca[_0x51d7e(0x1aa)](_0x51d7e(0x15c),()=>_0x15f1ca[_0x51d7e(0x193)]()),_0x3edcf4;}[_0xae2009(0xf4)](_0x52488f){const _0x3a7407=_0xae2009;if(_0x3a7407(0x196)!=typeof _0x52488f)throw new _0x38720a(_0x3a7407(0x158));return this[_0x3a7407(0x104)][_0x3a7407(0x1b7)](_0x52488f);}[_0xae2009(0x192)]({channelId:_0x20b686=_t,threadId:_0x3eadf1,context:_0x158a0e,unlinkedAt:_0x19bb07,attributes:_0x1f9ee3,isFromAdapter:_0x559603=!0x1}){const _0xfa74f4=_0xae2009;return this[_0xfa74f4(0x14f)](Nt(_0xfa74f4(0x192),_0x20b686),{'channelId':_0x20b686,'threadId':_0x3eadf1,'context':_0x158a0e,'unlinkedAt':_0x19bb07,'attributes':_0x1f9ee3,'isFromAdapter':_0x559603}),this[_0xfa74f4(0x1a8)](_0x3eadf1);}[_0xae2009(0x1a8)](_0x3bcd06){const _0x3c9ad0=_0xae2009;if(_0x3c9ad0(0x196)!=typeof _0x3bcd06)throw new _0x38720a(_0x3c9ad0(0x158));return this[_0x3c9ad0(0x104)][_0x3c9ad0(0xdc)](_0x3bcd06);}[_0xae2009(0x148)]({channelId:_0x36361e,threadId:_0x1358e5}={}){const _0x32f34d=_0xae2009,_0x34d2c1=this[_0x32f34d(0x1a8)](_0x1358e5);if(_0x34d2c1)return Promise[_0x32f34d(0x127)](_0x34d2c1);if(!this[_0x32f34d(0x15a)])return Promise[_0x32f34d(0x127)](void 0x0);if(_0x32f34d(0x172)!=typeof this[_0x32f34d(0x15a)][_0x32f34d(0x1a8)])throw new _0x38720a(_0x32f34d(0xfa),this[_0x32f34d(0xf7)]);return this[_0x32f34d(0x15a)][_0x32f34d(0x1a8)]({'channelId':_0x36361e,'threadId':_0x1358e5})[_0x32f34d(0x1b0)](_0x1cca60=>this[_0x32f34d(0xf4)](_0x1358e5)?this[_0x32f34d(0x1a8)](_0x1358e5):_0x1cca60?this[_0x32f34d(0x1a6)](Object[_0x32f34d(0x163)]({'isFromAdapter':!0x0,'channelId':_0x36361e},_0x1cca60)):void 0x0)[_0x32f34d(0x12c)](_0x2f6e7f=>{const _0x32abc8=_0x32f34d;throw console[_0x32abc8(0x19e)](_0x2f6e7f),new _0x38720a(_0x32abc8(0x169),this[_0x32abc8(0xf7)]);});}[_0xae2009(0x17b)]({channelId:_0x578b2a,skipNotAttached:_0x517966=!0x1,skipEmpty:_0x567b5e=!0x1,toJSON:_0x292922=!0x1}={}){const _0x52635c=_0xae2009,_0x2f54b1=[];for(const _0x3783bd of this[_0x52635c(0x104)][_0x52635c(0x179)]())_0x578b2a&&_0x3783bd[_0x52635c(0x15d)]!==_0x578b2a||_0x517966&&!_0x3783bd[_0x52635c(0xdb)]||_0x567b5e&&0x0===_0x3783bd[_0x52635c(0x129)]||_0x2f54b1[_0x52635c(0x10a)](_0x3783bd);return _0x292922?_0x2f54b1[_0x52635c(0x168)](_0x21d5b1=>_0x21d5b1[_0x52635c(0x11d)]()):_0x2f54b1;}[_0xae2009(0x1ba)](_0x14a093){const _0x3e25b0=_0xae2009,_0x3e21ff=this[_0x3e25b0(0x13d)][_0x3e25b0(0xdc)](_0x14a093);if(!_0x3e21ff)return null;return this[_0x3e25b0(0xf7)][_0x3e25b0(0x1bb)][_0x3e25b0(0xdc)](_0x33493a)[_0x3e25b0(0x162)](_0x3e21ff[_0x3e25b0(0xea)])||null;}[_0xae2009(0x125)](_0x35a47a){const _0x322488=_0xae2009,_0x54d63b=this[_0x322488(0x155)][_0x322488(0xdc)](_0x35a47a[_0x322488(0x147)]);return _0x54d63b?_0x54d63b[_0x322488(0x13c)]:null;}[_0xae2009(0x11a)](_0x154347){const _0x1ffcd2=_0xae2009,_0x19adb5=this[_0x1ffcd2(0xf7)][_0x1ffcd2(0x1bb)][_0x1ffcd2(0xdc)](_0x33493a);if(!_0x154347)return void(this[_0x1ffcd2(0x10d)]&&_0x19adb5[_0x1ffcd2(0x136)]());const _0x4282a3=this[_0x1ffcd2(0x1a8)](_0x154347);if(!_0x4282a3)throw new _0x38720a(_0x1ffcd2(0x1ad),null,{'threadId':_0x154347});if(!this[_0x1ffcd2(0x13d)][_0x1ffcd2(0x1b7)](_0x4282a3))throw new _0x38720a(_0x1ffcd2(0x16b),null,{'threadId':_0x154347});const _0x4a9df2=_0x19adb5[_0x1ffcd2(0x162)](this[_0x1ffcd2(0x13d)][_0x1ffcd2(0xdc)](_0x4282a3)[_0x1ffcd2(0xea)]);_0x19adb5[_0x1ffcd2(0x103)](_0x4a9df2);}[_0xae2009(0x117)](_0xe9c8e7,_0xf2987e){const _0x478160=_0xae2009;_0xe9c8e7?this[_0x478160(0x167)][_0x478160(0x185)](_0xf2987e):this[_0x478160(0x167)][_0x478160(0x12b)](_0xf2987e),this[_0x478160(0x14f)](_0x478160(0xf6),_0x478160(0x167),this[_0x478160(0x167)],this[_0x478160(0x167)]);}[_0xae2009(0xe7)](_0x4fb424){const _0x4c04bc=_0xae2009;return this[_0x4c04bc(0x167)][_0x4c04bc(0x1b7)](_0x4fb424)||this[_0x4c04bc(0x167)][_0x4c04bc(0x1b7)](void 0x0);}[_0xae2009(0x1b2)](_0x91f4d3,_0x651d3a){return new _0x282700(_0x91f4d3,_0x651d3a);}[_0xae2009(0x149)](_0x10c5c7,_0x41280a=_t){const _0x3601b6=_0xae2009;this[_0x3601b6(0x17a)][_0x3601b6(0x18d)](_0x41280a,_0x10c5c7),this[_0x3601b6(0x14f)](_0x3601b6(0x12d),_0x3601b6(0x17a),this[_0x3601b6(0x17a)],this[_0x3601b6(0x17a)]);}[_0xae2009(0xed)](_0x34bad0=_t){const _0x4a1469=_0xae2009;return this[_0x4a1469(0x17a)][_0x4a1469(0x1b7)](_0x34bad0)?this[_0x4a1469(0x17a)][_0x4a1469(0xdc)](_0x34bad0):bt;}[_0xae2009(0x150)]({channelId:_0x53d2fb,threadId:_0x417b63,comments:_0x5b5c8f,unlinkedAt:_0x5cb9c2,resolvedAt:_0x9a54b9,resolvedBy:_0x3036f9,target:_0x5eb936,context:_0x300cc7,attributes:_0x59a1fc,isFromAdapter:_0x911abd,isResolvable:_0x2910e9,isSubmitted:_0x58646d}){const _0x861c66=_0xae2009;if(_0x861c66(0x196)!=typeof _0x417b63)throw new _0x38720a(_0x861c66(0x158),null,{'threadId':_0x417b63});if(this[_0x861c66(0xf4)](_0x417b63))throw new _0x38720a(_0x861c66(0x110),null,{'threadId':_0x417b63});const _0x42e787=new CommentThread(this,{'channelId':_0x53d2fb,'id':_0x417b63,'context':_0x300cc7,'attributes':_0x59a1fc,'unlinkedAt':_0x5cb9c2,'resolvedAt':_0x9a54b9,'resolvedBy':_0x3036f9?this[_0x861c66(0xf7)][_0x861c66(0x1bb)][_0x861c66(0xdc)](_0x5b422c)[_0x861c66(0x1b6)](_0x3036f9):null,'isResolvable':_0x2910e9,'isSubmitted':_0x58646d||_0x911abd});this[_0x861c66(0x104)][_0x861c66(0x18d)](_0x417b63,_0x42e787);for(const _0xdee155 of _0x5b5c8f)_0x42e787[_0x861c66(0xe0)](this[_0x861c66(0x10e)]({'threadId':_0x417b63,..._0xdee155}));return _0x5eb936&&_0x42e787[_0x861c66(0x138)](_0x5eb936),_0x911abd||!_0x42e787[_0x861c66(0x129)]?Promise[_0x861c66(0x127)]():this[_0x861c66(0x15e)]({'channelId':_0x53d2fb,'threadId':_0x417b63});}[_0xae2009(0x15e)]({channelId:_0x3edf1b,threadId:_0x1ca571}){const _0x18f0dc=_0xae2009;if(!this[_0x18f0dc(0xf4)](_0x1ca571))throw new _0x38720a(_0x18f0dc(0x190),this);const _0x9abc79=this[_0x18f0dc(0x1a8)](_0x1ca571);if(_0x9abc79[_0x18f0dc(0x16c)]=!0x0,!this[_0x18f0dc(0x15a)]||_0x18f0dc(0x172)!=typeof this[_0x18f0dc(0x15a)][_0x18f0dc(0x1a6)])return Promise[_0x18f0dc(0x127)]();const {id:_0x369c9c,comments:_0x6a516b,resolvedAt:_0x17b4ba,resolvedBy:_0x3206b8,context:_0x4cc886,attributes:_0x490758}=_0x9abc79,_0x3cd33c=this[_0x18f0dc(0xf7)][_0x18f0dc(0x1bb)][_0x18f0dc(0xdc)](_0x18f0dc(0xe3)),_0x7a65e5=_0x3cd33c[_0x18f0dc(0x185)](_0x7c5afb(this[_0x18f0dc(0xf7)][_0x18f0dc(0x13b)],_0x18f0dc(0xd6)));return this[_0x18f0dc(0x15a)][_0x18f0dc(0x1a6)]({'channelId':_0x3edf1b,'threadId':_0x369c9c,'comments':_0x6a516b[_0x18f0dc(0x168)](_0x17dc8e=>_0x17dc8e[_0x18f0dc(0x11d)]()),'resolvedAt':_0x17b4ba,'resolvedBy':_0x3206b8?_0x3206b8['id']:_0x3206b8,'context':_0x4cc886,'attributes':_0x490758})[_0x18f0dc(0x1b0)](({comments:_0x32c14e})=>{const _0x5980fd=_0x18f0dc;_0x3cd33c[_0x5980fd(0x13e)](_0x7a65e5);for(const _0x27e320 of _0x32c14e)this[_0x5980fd(0x1b8)]({'channelId':_0x3edf1b,'threadId':_0x1ca571,'commentId':_0x27e320[_0x5980fd(0x19c)],'createdAt':_0x27e320[_0x5980fd(0x1a1)],'isFromAdapter':!0x0});})[_0x18f0dc(0x12c)](_0x45adfe=>{const _0x45c78a=_0x18f0dc;throw console[_0x45c78a(0x19e)](_0x45adfe),new _0x38720a(_0x45c78a(0x128),this);});}[_0xae2009(0x19b)]({threadId:_0xedb600,target:_0x5a9777}){const _0x271bd1=_0xae2009,_0x24b307=this[_0x271bd1(0x1a8)](_0xedb600);if(!_0x24b307)throw new _0x38720a(_0x271bd1(0x166),this);const _0x1d1952=this[_0x271bd1(0xf7)][_0x271bd1(0x1bb)][_0x271bd1(0xdc)](_0x271bd1(0xe3)),_0x1af3d4=this[_0x271bd1(0xf7)][_0x271bd1(0x1bb)][_0x271bd1(0xdc)](_0x33493a),_0x1a43d7=this[_0x271bd1(0xf3)](_0x24b307),_0x49307a=new _0x282700(_0x24b307,_0x1a43d7);let _0x5de51a=null;_0x1a43d7['on'](_0x271bd1(0xee),(_0x306e24,_0x1cf699,_0x35c01d)=>{const _0x2cc323=_0x271bd1;_0x35c01d?_0x5de51a=_0x1d1952[_0x2cc323(0x185)](_0x7c5afb(this[_0x2cc323(0xf7)][_0x2cc323(0x13b)],_0x2cc323(0xd6))):_0x5de51a&&(_0x1d1952[_0x2cc323(0x13e)](_0x5de51a),_0x5de51a=null);}),this[_0x271bd1(0x13d)][_0x271bd1(0x18d)](_0x24b307,_0x49307a),this[_0x271bd1(0x155)][_0x271bd1(0x18d)](_0x1a43d7,_0x49307a);const _0x3b6e89=new _0x589ea5(this[_0x271bd1(0xf7)][_0x271bd1(0x13b)],_0x1a43d7);_0x3b6e89[_0x271bd1(0x159)](_0x271bd1(0x129))['to'](_0x1a43d7),_0x3b6e89[_0x271bd1(0x159)](_0x271bd1(0x10b))['to'](_0x1a43d7,_0x271bd1(0x10b),_0x1a43d7,_0x271bd1(0x129),(_0x177153,_0x567736)=>_0x177153||!_0x567736),_0x3b6e89[_0x271bd1(0x159)](_0x271bd1(0xfd))['to'](_0x1a43d7),_0x3b6e89[_0x271bd1(0x18b)]=_0x271bd1(0x17f);const _0x1b984e=new _0x357ad1({'view':_0x3b6e89,'target':_0x5a9777,'type':_0x271bd1(0x17f),'isVisible':!_0x24b307[_0x271bd1(0x1b5)]&&!!(_0x271bd1(0x172)==typeof _0x5a9777?_0x5a9777():_0x5a9777)});return _0x1a43d7['on'](_0x271bd1(0x11f),()=>{const _0x5509be=_0x271bd1;_0x1b984e[_0x5509be(0x14f)](_0x5509be(0x11f));}),this[_0x271bd1(0x157)](_0x1a43d7,_0x1b984e),_0x1af3d4[_0x271bd1(0x185)](_0x1b984e),_0x1b984e;}[_0xae2009(0x157)](_0x308269,_0x23fd8e){const _0x3aa062=_0xae2009;this[_0x3aa062(0x146)](_0x308269,_0x3aa062(0x15c),(_0x52083a,_0x195598)=>{const _0x50c1d6=_0x3aa062,_0x43fa6a=_0x195598['ui'][_0x50c1d6(0xea)][_0x50c1d6(0x177)][_0x50c1d6(0x188)];_0x23fd8e[_0x50c1d6(0xd8)][_0x50c1d6(0x185)](_0x43fa6a),this[_0x50c1d6(0xf7)]instanceof _0x560519&&this[_0x50c1d6(0xf7)]['ui'][_0x50c1d6(0x132)][_0x50c1d6(0x185)](_0x43fa6a);},{'priority':_0x3aa062(0x1b1)}),this[_0x3aa062(0x146)](_0x308269,_0x3aa062(0x11b),(_0x34b333,_0x53db2c)=>{const _0x349a4b=_0x3aa062,_0x1b9a2e=_0x53db2c['ui'][_0x349a4b(0xea)][_0x349a4b(0x177)][_0x349a4b(0x188)];_0x23fd8e[_0x349a4b(0xd8)][_0x349a4b(0x1b7)](_0x1b9a2e)&&_0x23fd8e[_0x349a4b(0xd8)][_0x349a4b(0x13e)](_0x1b9a2e),this[_0x349a4b(0xf7)]instanceof _0x560519&&this[_0x349a4b(0xf7)]['ui'][_0x349a4b(0x132)][_0x349a4b(0x13e)](_0x1b9a2e);});}[_0xae2009(0x189)](_0x29e18c){const _0x39251f=_0xae2009;this[_0x39251f(0x122)](_0x29e18c,_0x39251f(0x15c)),this[_0x39251f(0x122)](_0x29e18c,_0x39251f(0x11b));}[_0xae2009(0xf3)](_0x4ac44a){const _0x55b866=_0xae2009,_0x45b78a=this[_0x55b866(0xf7)][_0x55b866(0x1bb)][_0x55b866(0xdc)](_0x5b422c),{config:_0x5c89a8,locale:_0x10f900}=this[_0x55b866(0xf7)],_0x31e775=_0x34a3d3(_0x5c89a8[_0x55b866(0xdc)](_0x55b866(0x13b)),_0x10f900);return new(0x0,(_0x5c89a8[_0x55b866(0xdc)](_0x55b866(0x195)))[(_0x55b866(0x1b4))])(_0x10f900,_0x4ac44a,_0x45b78a['me'],{'editorConfig':{..._0x5c89a8[_0x55b866(0xdc)](_0x55b866(0x15f)),'licenseKey':this[_0x55b866(0xf7)][_0x55b866(0x12e)][_0x55b866(0xdc)](_0x55b866(0x143))},'copyMarkers':_0x5c89a8[_0x55b866(0xdc)](_0x55b866(0x180)),'maxCommentsWhenCollapsed':_0x5c89a8[_0x55b866(0xdc)](_0x55b866(0x153)),'maxThreadTotalWeight':_0x5c89a8[_0x55b866(0xdc)](_0x55b866(0xf2)),'maxCommentCharsWhenCollapsed':_0x5c89a8[_0x55b866(0xdc)](_0x55b866(0xe9)),'formatDateTime':_0x31e775,'CommentView':_0x5c89a8[_0x55b866(0xdc)](_0x55b866(0x195))[_0x55b866(0x109)]});}[_0xae2009(0x198)]({threadId:_0x51bc43,channelId:_0x2dbcf4,resolvedAt:_0x3e61f7,resolvedBy:_0x215708,isFromAdapter:_0xde5de0}){const _0x37ac11=_0xae2009;if(!this[_0x37ac11(0xf4)](_0x51bc43))throw new _0x38720a(_0x37ac11(0x190),null,{'threadId':_0x51bc43});const _0x5cbcca=this[_0x37ac11(0x1a8)](_0x51bc43);if(_0x5cbcca[_0x37ac11(0xec)])throw new _0x38720a(_0x37ac11(0x17d),null,{'threadId':_0x51bc43});const _0x559dc1=this[_0x37ac11(0xf7)][_0x37ac11(0x1bb)][_0x37ac11(0xdc)](_0x5b422c);if(_0x5cbcca[_0x37ac11(0x112)]=_0x559dc1[_0x37ac11(0x1b6)](_0x215708),_0x5cbcca[_0x37ac11(0x120)]=_0x3e61f7,_0xde5de0||!this[_0x37ac11(0x15a)]||_0x37ac11(0x172)!=typeof this[_0x37ac11(0x15a)][_0x37ac11(0x19f)])return Promise[_0x37ac11(0x127)]();const _0x121df5=this[_0x37ac11(0xf7)][_0x37ac11(0x1bb)][_0x37ac11(0xdc)](_0x37ac11(0xe3)),_0x5d2463=_0x121df5[_0x37ac11(0x185)](_0x7c5afb(this[_0x37ac11(0xf7)][_0x37ac11(0x13b)],_0x37ac11(0xd6)));return this[_0x37ac11(0x15a)][_0x37ac11(0x19f)]({'channelId':_0x2dbcf4,'threadId':_0x51bc43})[_0x37ac11(0x1b0)](({resolvedAt:_0x367862,resolvedBy:_0x5e518f})=>{const _0x5d10ca=_0x37ac11;_0x121df5[_0x5d10ca(0x13e)](_0x5d2463),_0x5cbcca[_0x5d10ca(0x112)]['id']!==_0x5e518f&&(_0x5cbcca[_0x5d10ca(0x112)]=_0x559dc1[_0x5d10ca(0x1b6)](_0x5e518f)),_0x5cbcca[_0x5d10ca(0x120)]=_0x367862;})[_0x37ac11(0x12c)](_0x3fe73d=>{const _0x263a93=_0x37ac11;throw console[_0x263a93(0x19e)](_0x3fe73d),new _0x38720a(_0x263a93(0x154),this);});}[_0xae2009(0xda)]({threadId:_0x13024e,channelId:_0x293d83,isFromAdapter:_0x2c52e0}){const _0xf35cb4=_0xae2009;if(!this[_0xf35cb4(0xf4)](_0x13024e))throw new _0x38720a(_0xf35cb4(0x190),null,{'threadId':_0x13024e});const _0xa1eb50=this[_0xf35cb4(0x1a8)](_0x13024e);if(!_0xa1eb50[_0xf35cb4(0xec)])throw new _0x38720a(_0xf35cb4(0x10c),null,{'threadId':_0x13024e});if(_0xa1eb50[_0xf35cb4(0x112)]=null,_0xa1eb50[_0xf35cb4(0x120)]=null,_0x2c52e0||!this[_0xf35cb4(0x15a)]||_0xf35cb4(0x172)!=typeof this[_0xf35cb4(0x15a)][_0xf35cb4(0x133)])return Promise[_0xf35cb4(0x127)]();const _0x2b50e2=this[_0xf35cb4(0xf7)][_0xf35cb4(0x1bb)][_0xf35cb4(0xdc)](_0xf35cb4(0xe3)),_0x2f627e=_0x2b50e2[_0xf35cb4(0x185)](_0x7c5afb(this[_0xf35cb4(0xf7)][_0xf35cb4(0x13b)],_0xf35cb4(0xd6)));return this[_0xf35cb4(0x15a)][_0xf35cb4(0x133)]({'channelId':_0x293d83,'threadId':_0x13024e})[_0xf35cb4(0x1b0)](()=>_0x2b50e2[_0xf35cb4(0x13e)](_0x2f627e))[_0xf35cb4(0x12c)](_0x35c4a2=>{const _0x198f5f=_0xf35cb4;throw console[_0x198f5f(0x19e)](_0x35c4a2),new _0x38720a(_0x198f5f(0x194),this);});}[_0xae2009(0x181)]({threadId:_0x125894,isFromAdapter:_0x230c81}){const _0x410bef=_0xae2009,_0x5881d1=this[_0x410bef(0x1a8)](_0x125894);if(!_0x5881d1)throw new _0x38720a(_0x410bef(0xff),this);if(this[_0x410bef(0x107)](_0x125894),this[_0x410bef(0x104)][_0x410bef(0x12b)](_0x125894),!_0x5881d1[_0x410bef(0xf8)]||_0x230c81||!this[_0x410bef(0x15a)]||_0x410bef(0x172)!=typeof this[_0x410bef(0x15a)][_0x410bef(0x184)])return Promise[_0x410bef(0x127)]();const _0x4e83eb=this[_0x410bef(0xf7)][_0x410bef(0x1bb)][_0x410bef(0xdc)](_0x410bef(0xe3)),{channelId:_0x3be456}=_0x5881d1,_0x15d127=_0x4e83eb[_0x410bef(0x185)](_0x7c5afb(this[_0x410bef(0xf7)][_0x410bef(0x13b)],_0x410bef(0xd6)));return this[_0x410bef(0x15a)][_0x410bef(0x184)]({'channelId':_0x3be456,'threadId':_0x125894})[_0x410bef(0x1b0)](()=>_0x4e83eb[_0x410bef(0x13e)](_0x15d127))[_0x410bef(0x12c)](_0x4ceb16=>{const _0x667a69=_0x410bef;throw console[_0x667a69(0x19e)](_0x4ceb16),new _0x38720a(_0x667a69(0x14d),this);});}[_0xae2009(0x113)]({threadId:_0x5b5ac0,unlinkedAt:_0x1b0172,context:_0x5ec890,attributes:_0x3da0bd,isFromAdapter:_0x217138}){const _0x1710a6=_0xae2009;if(_0x1710a6(0x196)!=typeof _0x5b5ac0)throw new _0x38720a(_0x1710a6(0x158),null,{'threadId':_0x5b5ac0});if(!this[_0x1710a6(0xf4)](_0x5b5ac0))throw new _0x38720a(_0x1710a6(0x190),null,{'threadId':_0x5b5ac0});const _0x1f2b1c=this[_0x1710a6(0x1a8)](_0x5b5ac0);let _0xc3a871=!0x1;if(void 0x0!==_0x5ec890&&_0x1f2b1c[_0x1710a6(0xf7)]!==_0x5ec890&&(_0x1f2b1c[_0x1710a6(0xf7)]=_0x5ec890,_0xc3a871=!0x0),void 0x0!==_0x1b0172&&_0x1f2b1c[_0x1710a6(0x197)]!==_0x1b0172&&(_0x1f2b1c[_0x1710a6(0x197)]=_0x1b0172,_0xc3a871=!0x0),_0x3da0bd&&!_0x595f77(_0x3da0bd,_0x1f2b1c[_0x1710a6(0x131)])&&(_0x1f2b1c[_0x1710a6(0x131)]=_0x3da0bd,_0xc3a871=!0x0),!_0xc3a871)return Promise[_0x1710a6(0x127)]();if(!_0x1f2b1c[_0x1710a6(0xf8)]||_0x217138||!this[_0x1710a6(0x15a)]||_0x1710a6(0x172)!=typeof this[_0x1710a6(0x15a)][_0x1710a6(0x192)])return Promise[_0x1710a6(0x127)]();const _0x3ceea3=this[_0x1710a6(0xf7)][_0x1710a6(0x1bb)][_0x1710a6(0xdc)](_0x1710a6(0xe3)),{channelId:_0x4cb04d}=_0x1f2b1c,_0x1a5614=_0x3ceea3[_0x1710a6(0x185)](_0x7c5afb(this[_0x1710a6(0xf7)][_0x1710a6(0x13b)],_0x1710a6(0xd6)));return this[_0x1710a6(0x15a)][_0x1710a6(0x192)]({'channelId':_0x4cb04d,'threadId':_0x5b5ac0,'context':_0x5ec890,'unlinkedAt':_0x1b0172,'attributes':_0x3da0bd})[_0x1710a6(0x1b0)](()=>_0x3ceea3[_0x1710a6(0x13e)](_0x1a5614))[_0x1710a6(0x12c)](_0x39bc7f=>{const _0x1b8947=_0x1710a6;throw console[_0x1b8947(0x19e)](_0x39bc7f),new _0x38720a(_0x1b8947(0x141),this);});}[_0xae2009(0x107)](_0x5c6553){const _0x7ae9dc=_0xae2009,_0x4c5411=this[_0x7ae9dc(0xf7)][_0x7ae9dc(0x1bb)][_0x7ae9dc(0xdc)](_0x33493a),_0x4d77ab=this[_0x7ae9dc(0x1a8)](_0x5c6553);if(_0x4d77ab[_0x7ae9dc(0x17e)]=!0x1,this[_0x7ae9dc(0x13d)][_0x7ae9dc(0x1b7)](_0x4d77ab)){const _0x4fe08a=this[_0x7ae9dc(0x13d)][_0x7ae9dc(0xdc)](_0x4d77ab),_0x2edecb=_0x4fe08a[_0x7ae9dc(0xea)],_0x38f72b=_0x4c5411[_0x7ae9dc(0x162)](_0x2edecb);this[_0x7ae9dc(0x13d)][_0x7ae9dc(0x12b)](_0x4d77ab),this[_0x7ae9dc(0x155)][_0x7ae9dc(0x12b)](_0x2edecb),_0x38f72b&&_0x4c5411[_0x7ae9dc(0x13e)](_0x38f72b),_0x4fe08a[_0x7ae9dc(0x11e)](),_0x2edecb[_0x7ae9dc(0x11e)]()[_0x7ae9dc(0x1b0)](()=>{const _0x2c0165=_0x7ae9dc;this[_0x2c0165(0x189)](_0x2edecb);});}}[_0xae2009(0x156)]({threadId:_0x47c2ae,resolvedAt:_0x5dff02,unlinkedAt:_0x159f03}){const _0x5d5573=_0xae2009,_0x5a814c=!!_0x5dff02,_0x1602a9=this[_0x5d5573(0xf7)][_0x5d5573(0x1bb)][_0x5d5573(0xdc)](_0x33493a),_0x1d648c=this[_0x5d5573(0x1a8)](_0x47c2ae);if(this[_0x5d5573(0x13d)][_0x5d5573(0x1b7)](_0x1d648c)){const _0x1aab81=this[_0x5d5573(0x13d)][_0x5d5573(0xdc)](_0x1d648c)[_0x5d5573(0xea)],_0x102a3a=_0x1602a9[_0x5d5573(0x162)](_0x1aab81);_0x102a3a&&(_0x5a814c&&_0x1602a9[_0x5d5573(0x16e)](_0x102a3a),_0x159f03?_0x102a3a[_0x5d5573(0x118)]=!0x1:_0x102a3a[_0x5d5573(0x18e)]());}}[_0xae2009(0x108)](_0x53d74c){const _0xf32c52=_0xae2009,_0x275100=this[_0xf32c52(0xf7)][_0xf32c52(0x1bb)][_0xf32c52(0xdc)](_0x5b422c),_0x376e94=_0x38b3c8(_0xf32c52(0x116)+_0x53d74c),_0x334869=_0x275100[_0xf32c52(0x1b6)](_0x376e94);return _0x334869||_0x275100[_0xf32c52(0x124)]({'id':_0x376e94,'name':_0x53d74c});}[_0xae2009(0x10e)]({threadId:_0x31fb2b,commentId:_0x41dbe4=_0x300475(),content:_0x598936,authorId:_0x1e1101,createdAt:_0x347383,attributes:_0x315ccb}){const _0x3aa8b8=_0xae2009;if(_0x3aa8b8(0x196)!=typeof _0x41dbe4)throw new _0x38720a(_0x3aa8b8(0xfb));if(_0x3aa8b8(0x196)!=typeof _0x1e1101)throw new _0x38720a(_0x3aa8b8(0xe5));if(_0x3aa8b8(0x196)!=typeof _0x598936||!_0x598936[_0x3aa8b8(0x142)]())throw new _0x38720a(_0x3aa8b8(0x1a3));const _0x5870ab=this[_0x3aa8b8(0xf7)][_0x3aa8b8(0x1bb)][_0x3aa8b8(0xdc)](_0x5b422c)[_0x3aa8b8(0x1b6)](_0x1e1101);if(!_0x5870ab)throw new _0x38720a(_0x3aa8b8(0x199),null,{'authorId':_0x1e1101});let _0x512bbd=null,_0x34bd97=_0x347383;return _0x315ccb?.[_0x3aa8b8(0x1a7)]&&(_0x512bbd=this[_0x3aa8b8(0x108)](_0x315ccb[_0x3aa8b8(0x1a7)][_0x3aa8b8(0x186)]),_0x34bd97=new Date(_0x315ccb[_0x3aa8b8(0x1a7)][_0x3aa8b8(0x1a1)])),new Comment(this,{'threadId':_0x31fb2b,'id':_0x41dbe4,'author':_0x512bbd||_0x5870ab,'creator':_0x5870ab,'content':_0x598936,'createdAt':_0x347383,'authoredAt':_0x34bd97,'attributes':_0x315ccb});}[_0xae2009(0x151)](_0x3568ba){const _0xe092e6=_0xae2009;let {threadId:_0x23b1b5,content:_0x1c4463,attributes:_0x104f80,isFromAdapter:_0x1ae540}=_0x3568ba;const _0x3216b3=this[_0xe092e6(0x1a8)](_0x3568ba[_0xe092e6(0x15b)]);if(!_0x3216b3)throw new _0x38720a(_0xe092e6(0x137),this);const _0x376557=this[_0xe092e6(0x10e)](_0x3568ba),{id:_0x731a95}=_0x376557;if(_0x3216b3[_0xe092e6(0xe0)](_0x376557),_0x1ae540||!this[_0xe092e6(0x15a)]||_0xe092e6(0x172)!=typeof this[_0xe092e6(0x15a)][_0xe092e6(0x18c)]||!_0x3216b3[_0xe092e6(0xf8)])return Promise[_0xe092e6(0x127)]();const _0x184792=this[_0xe092e6(0xf7)][_0xe092e6(0x1bb)][_0xe092e6(0xdc)](_0xe092e6(0xe3)),{channelId:_0x315dd5}=_0x3216b3,_0x263b1e=_0x184792[_0xe092e6(0x185)](_0x7c5afb(this[_0xe092e6(0xf7)][_0xe092e6(0x13b)],_0xe092e6(0xd6)));return _0x104f80||(_0x104f80={}),this[_0xe092e6(0x15a)][_0xe092e6(0x18c)]({'channelId':_0x315dd5,'threadId':_0x23b1b5,'commentId':_0x731a95,'content':_0x1c4463,'attributes':_0x104f80})[_0xe092e6(0x1b0)](_0x5cd960=>{const _0x5491da=_0xe092e6;_0x184792[_0x5491da(0x13e)](_0x263b1e),_0x5cd960&&this[_0x5491da(0x1b8)]({'channelId':_0x315dd5,'threadId':_0x23b1b5,'commentId':_0x731a95,'createdAt':_0x5cd960[_0x5491da(0x1a1)],'isFromAdapter':!0x0});})[_0xe092e6(0x12c)](_0x173fe0=>{const _0xfd38fc=_0xe092e6;throw console[_0xfd38fc(0x19e)](_0x173fe0),new _0x38720a(_0xfd38fc(0x1b9),this);});}[_0xae2009(0x1b8)]({threadId:_0x1c1296,commentId:_0x12a5cb,content:_0x505cc9,createdAt:_0x1d74a7,attributes:_0x1893c2,isFromAdapter:_0x45d271}){const _0x10f045=_0xae2009;if(void 0x0!==_0x505cc9&&(_0x10f045(0x196)!=typeof _0x505cc9||!_0x505cc9[_0x10f045(0x142)]()[_0x10f045(0x129)]))throw new _0x38720a(_0x10f045(0xd9));const _0x5dbfcd=this[_0x10f045(0x1a8)](_0x1c1296),_0x7478d7=_0x5dbfcd[_0x10f045(0x1b3)](_0x12a5cb);if(!_0x7478d7)throw new _0x38720a(_0x10f045(0x16a),this);let _0x5b0b24=!0x1;if(_0x505cc9&&_0x505cc9!==_0x7478d7[_0x10f045(0x187)]&&(_0x7478d7[_0x10f045(0x114)]||_0x45d271)&&(_0x7478d7[_0x10f045(0x187)]=_0x505cc9,_0x5b0b24=!0x0),_0x1d74a7&&_0x1d74a7!==_0x7478d7[_0x10f045(0x1a1)]&&(_0x7478d7[_0x10f045(0x1a1)]=_0x1d74a7,_0x7478d7[_0x10f045(0x131)]&&_0x7478d7[_0x10f045(0x131)][_0x10f045(0x1a7)]||(_0x7478d7[_0x10f045(0xeb)]=_0x1d74a7),_0x5b0b24=!0x0),_0x1893c2&&!_0x595f77(_0x1893c2,_0x7478d7[_0x10f045(0x131)])&&(_0x7478d7[_0x10f045(0x131)]=_0x1893c2,_0x5b0b24=!0x0),!_0x5b0b24)return Promise[_0x10f045(0x127)]();if(_0x5dbfcd[_0x10f045(0x14f)](_0x10f045(0x17c)),_0x45d271||!this[_0x10f045(0x15a)]||_0x10f045(0x172)!=typeof this[_0x10f045(0x15a)][_0x10f045(0x111)])return Promise[_0x10f045(0x127)]();const _0x422dd1=this[_0x10f045(0xf7)][_0x10f045(0x1bb)][_0x10f045(0xdc)](_0x10f045(0xe3)),{channelId:_0x2f6540}=this[_0x10f045(0x1a8)](_0x7478d7[_0x10f045(0x15b)]),_0x26a46d=_0x422dd1[_0x10f045(0x185)](_0x7c5afb(this[_0x10f045(0xf7)][_0x10f045(0x13b)],_0x10f045(0xd6)));return this[_0x10f045(0x15a)][_0x10f045(0x111)]({'channelId':_0x2f6540,'threadId':_0x1c1296,'commentId':_0x12a5cb,'content':_0x505cc9,'attributes':_0x1893c2})[_0x10f045(0x1b0)](()=>_0x422dd1[_0x10f045(0x13e)](_0x26a46d))[_0x10f045(0x12c)](_0x24a794=>{const _0x3ad2b5=_0x10f045;throw console[_0x3ad2b5(0x19e)](_0x24a794),new _0x38720a(_0x3ad2b5(0x176),this);});}[_0xae2009(0x14c)]({threadId:_0x2b15b8,commentId:_0x5ce6a2,isFromAdapter:_0x4555ba}){const _0x52b19e=_0xae2009,_0x80b716=this[_0x52b19e(0x1a8)](_0x2b15b8),_0x31cd2c=_0x80b716[_0x52b19e(0x1b3)](_0x5ce6a2);if(!_0x31cd2c)throw new _0x38720a(_0x52b19e(0x13f),this);if(_0x80b716[_0x52b19e(0x19a)](_0x31cd2c),_0x4555ba||!this[_0x52b19e(0x15a)]||_0x52b19e(0x172)!=typeof this[_0x52b19e(0x15a)][_0x52b19e(0x18f)])return Promise[_0x52b19e(0x127)]();const _0x37f357=this[_0x52b19e(0xf7)][_0x52b19e(0x1bb)][_0x52b19e(0xdc)](_0x52b19e(0xe3)),{channelId:_0x4ca04e}=_0x80b716,_0x3151b1=_0x37f357[_0x52b19e(0x185)](_0x7c5afb(this[_0x52b19e(0xf7)][_0x52b19e(0x13b)],_0x52b19e(0xd6)));return this[_0x52b19e(0x15a)][_0x52b19e(0x18f)]({'channelId':_0x4ca04e,'threadId':_0x2b15b8,'commentId':_0x5ce6a2})[_0x52b19e(0x1b0)](()=>_0x37f357[_0x52b19e(0x13e)](_0x3151b1))[_0x52b19e(0x12c)](_0x4beda2=>{const _0x10eb8c=_0x52b19e;throw console[_0x10eb8c(0x19e)](_0x4beda2),new _0x38720a(_0x10eb8c(0xde),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
function _0xf607(){const _0x54e2e8=['_threadToController','_addCommentThread','toJSON','stopListening','set','_attachCommentThread','isDirty','resolvedAt','commentsrepository-active-not-attached','removeComment','resolveCommentThread','isResolvable','author','change:isDirty','change:_readOnlyChannels','_viewToController','setAttribute','warn','change:_permissions','comments.editorConfig','@external','getCommentThreads','commentsrepository-add-comment-user-not-exists','lowest','resolve','getUser','_getExternalAuthor','_removeComment','comments','commentsrepository-active-missing-comment-thread','PENDING_ACTION_COMMENT_THREAD','commentInputView','attributes','comments.CommentView','resolvedBy','_reopenCommentThread','isOfficialPlugin','getCommentThreadForAnnotation','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','editorReady','createCommentThreadController','_bindAnnotationToEditors','requires','view','comment','getCommentThread','_add','addComment','innerHTML','map','_detachCommentThread','isPremiumPlugin','PendingActions','addCommentThread','_resolveCommentThread','isActive','reopen','remove','commentsrepository-remove-comment-missing-comment-thread','getComment','_isAttached','bodyCollectionContainer','_submitCommentThread','getIndex','commentsrepository-missing-comment-thread','commentsrepository-update-comment-internal-error','delete','archivedAt','attachTo','unlinkedAt','comments.CommentThreadView','setUnlinkedAt','isEditable','catch','updateComment','commentsrepository-adapter-already-set','commentsrepository-resolved-comment-thread','licenseKey','_remove','focusTracker','createdAt','commentsrepository-resolve-comment-thread-internal-error','commentsrepository-invalid-commentid','getByInnerView','activeCommentThread','focusableElements','commentsrepository-add-comment-to-missing-comment-thread','then','4200861TLRPLn','get','commentsrepository-add-comment-internal-error','setActiveCommentThread','has','focus','push','commentsrepository-update-comment-missing-comment-thread','submit','commentsrepository-remove-missing-comment','updateCommentThread','commentsrepository-remove-comment-internal-error','listenTo','fire','_adapter','isResolved','setContext','5YCndex','comments.maxCommentCharsWhenCollapsed','noChannel','model','editorDestroyed','threadId','_removeCommentThread','getAnnotationForCommentThread','find','12364qtQyjf','escape','destroy','commentsrepository-remove-comment-thread-internal-error','commentsrepository-add-comment-thread-internal-error','4ZpYTdl','creator','admin','modifyAll','authorName','commentsrepository-missing-target','commentUpdated','_isSubmitted','CommentView','type','reduce','getPermissions','innerView','change:authoredAt','string','isExternal','commentsrepository-update-missing-comment','createElement','canComment','commentThreadInputView','260apTiAb','607978GIgnhj','commentsrepository-invalid-comment-content','bind','trim','_findOptimalIndex','authoredAt','_createNewComment','commentId','_unbindEditors','_permissions','content','addUser','5581048lgtIqe','_createCommentThreadView','commentsrepository-get-comment-invalid-id','adapter','openNewCommentThread','channelId','activate','commentsrepository-update-comment-invalid-content','reopenCommentThread','isFromAdapter','comments.maxCommentsWhenCollapsed','removeAttribute','refreshVisibility','isReadOnly','function','commentsrepository-fetch-comment-thread','context','config','removeCommentThread','weight','hasCommentThread','submitCommentThread','max','commentsrepository-remove-missing-comment-thread','12938418FRZMfe','textContent','commentsrepository-attach-missing-comment-thread','commentsrepository-reopen-comment-thread-internal-error','_threads','deactivateAll','locale','_readOnlyChannels','_updateCommentThread','commentsrepository-reopen-comment-thread','plugins','filter','switchReadOnly','div','commentsrepository-invalid-comment-authorid','73576QAKGEk','CommentsRepository','pluginName','error','4109382DxfsDt','commentsrepository-update-comment-thread-internal-error','isAttached','write','isSubmitted','assign','change:activeAnnotations','_hasTargetInContent','add','isRemovable','_repository','_updateActiveAnnotation','values','commentsListView','update','_removeActiveAnnotation','external:','_addComment','commentsrepository-duplicated-comment-thread-id','isVisible','body','getTime','_update','length','once','define','setPermissions','commentsrepository-missing-thread-and-adapter-method','201fvBUAO','highest','init','from','CommentThreadView','commentsrepository-invalid-comment-thread-id','comments.copyMarkers','fetchCommentThread','_updateComment','comments.maxThreadTotalWeight'];_0xf607=function(){return _0x54e2e8;};return _0xf607();}const _0x1058e0=_0x2fb6;(function(_0x3be549,_0x3cbbed){const _0x4e4c0e=_0x2fb6,_0x1a7f48=_0x3be549();while(!![]){try{const _0x207754=-parseInt(_0x4e4c0e(0x114))/0x1*(-parseInt(_0x4e4c0e(0xff))/0x2)+-parseInt(_0x4e4c0e(0x167))/0x3*(parseInt(_0x4e4c0e(0x147))/0x4)+-parseInt(_0x4e4c0e(0x1da))/0x5*(parseInt(_0x4e4c0e(0x14b))/0x6)+-parseInt(_0x4e4c0e(0x1c9))/0x7+parseInt(_0x4e4c0e(0x120))/0x8+parseInt(_0x4e4c0e(0x138))/0x9+-parseInt(_0x4e4c0e(0x113))/0xa*(parseInt(_0x4e4c0e(0x1e3))/0xb);if(_0x207754===_0x3cbbed)break;else _0x1a7f48['push'](_0x1a7f48['shift']());}catch(_0x4c45cf){_0x1a7f48['push'](_0x1a7f48['shift']());}}}(_0xf607,0xc46c3));import{PendingActions as _0x5eaaa1,ContextPlugin as _0x4d0ba1,Editor as _0x55bab1}from'ckeditor5/src/core.js';import{Collection as _0x4cf71a,uid as _0x417b7d,CKEditorError as _0x38e8fb,ObservableMixin as _0x4d3b17}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x248b65,hashObject as _0x2ad631,Users as _0x9db1fc}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x281b88,isEqual as _0xdfad98,set as _0x4abe96,unset as _0x429a56}from'es-toolkit/compat';import{CommentThreadController as _0x2ac20e}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x5242d3}from'./ui/view/commentthreadview.js';import{CommentView as _0x520592}from'./ui/view/commentview.js';import{getTranslation as _0x59f0ce}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x48f904}from'../annotations/view/annotationview.js';import{Annotation as _0x547de1}from'../annotations/annotation.js';import{Annotations as _0x158a1c}from'../annotations/annotations.js';const _t=Symbol(_0x1058e0(0x1dc)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x4d0ba1{[_0x1058e0(0x13c)];[_0x1058e0(0x171)];[_0x1058e0(0x180)];static get[_0x1058e0(0x19b)](){return[_0x158a1c,_0x5eaaa1,_0x9db1fc];}static get[_0x1058e0(0x149)](){const _0x1f4bcb=_0x1058e0;return _0x1f4bcb(0x148);}static get[_0x1058e0(0x195)](){return!0x0;}static get[_0x1058e0(0x1a4)](){return!0x0;}constructor(_0x4c359c){const _0x4a0a72=_0x1058e0;super(_0x4c359c),this[_0x4a0a72(0x13c)]=new Map(),this[_0x4a0a72(0x171)]=new Map(),this[_0x4a0a72(0x180)]=new Map(),this[_0x4a0a72(0x175)](_0x4a0a72(0x13f),new Set()),this[_0x4a0a72(0x175)](_0x4a0a72(0x11d),new Map());const _0x421e36=this[_0x4a0a72(0x130)][_0x4a0a72(0x131)];_0x421e36[_0x4a0a72(0x164)](_0x4a0a72(0x12a),0x2),_0x421e36[_0x4a0a72(0x164)](_0x4a0a72(0x170),0x1f4),_0x421e36[_0x4a0a72(0x164)](_0x4a0a72(0x1db),0x8c),_0x421e36[_0x4a0a72(0x164)](_0x4a0a72(0x1b7),_0x5242d3),_0x421e36[_0x4a0a72(0x164)](_0x4a0a72(0x192),_0x520592),_0x421e36[_0x4a0a72(0x1ca)](_0x4a0a72(0x184))||console[_0x4a0a72(0x182)](_0x4a0a72(0x197));}[_0x1058e0(0x169)](){const _0x378b48=_0x1058e0,_0x457574=this[_0x378b48(0x130)][_0x378b48(0x142)][_0x378b48(0x1ca)](_0x158a1c);this[_0x378b48(0x175)](_0x378b48(0x1c5),null),this['on'](_0x378b48(0x1a6),(_0x1a2e13,_0x562bad)=>this[_0x378b48(0x172)](_0x562bad)),this['on'](_0x378b48(0x135),(_0x1ac5f6,_0x4ec992)=>this[_0x378b48(0x1af)](_0x4ec992)),this['on'](_0x378b48(0x17b),(_0x108022,_0x2452a4)=>this[_0x378b48(0x1a7)](_0x2452a4)),this['on'](_0x378b48(0x17b),(_0x4433d1,_0x563b60)=>this[_0x378b48(0x156)](_0x563b60),{'priority':_0x378b48(0x188)}),this['on'](_0x378b48(0x128),(_0x5958b0,_0x889cb6)=>this[_0x378b48(0x194)](_0x889cb6)),this['on'](_0x378b48(0x128),(_0xf3dea2,_0x27a4ad)=>this[_0x378b48(0x156)](_0x27a4ad),{'priority':_0x378b48(0x188)}),this['on'](_0x378b48(0x132),(_0x2f28e0,_0x4861a5)=>this[_0x378b48(0x1e0)](_0x4861a5)),this['on'](_0x378b48(0x1d3),(_0x352a7e,_0x3b6eaa)=>this[_0x378b48(0x140)](_0x3b6eaa)),this['on'](_0x378b48(0x1d3),(_0xaf2514,_0x4c16fb)=>this[_0x378b48(0x156)](_0x4c16fb),{'priority':_0x378b48(0x188)}),this['on'](_0x378b48(0x1a0),(_0x3205a6,_0x3b49f9)=>this[_0x378b48(0x15c)](_0x3b49f9)),this['on'](_0x378b48(0x1bb),(_0xc2fa84,_0x49fd50)=>this[_0x378b48(0x16f)](_0x49fd50)),this['on'](_0x378b48(0x17a),(_0x323d81,_0xdd93e6)=>this[_0x378b48(0x18c)](_0xdd93e6)),this['on'](_0x378b48(0x1a0),(_0x4b3ea6,{threadId:_0x1e474a,isFromAdapter:_0x32fa9f})=>{const _0x3e7c88=_0x378b48;if(_0x32fa9f)return;const _0x5458c7=this[_0x3e7c88(0x19e)](_0x1e474a),_0x24b415=_0x5458c7&&this[_0x3e7c88(0x171)][_0x3e7c88(0x1ca)](_0x5458c7);_0x24b415&&_0x24b415[_0x3e7c88(0x19c)][_0x3e7c88(0x158)][_0x3e7c88(0x1ce)](-0x1);},{'priority':_0x378b48(0x188)}),this[_0x378b48(0x1d5)](_0x457574,_0x378b48(0x151),(_0x24d746,_0x5f1ce3,_0x2a5fb0)=>{const _0x5d3f62=_0x378b48,_0x2e16ce=Array[_0x5d3f62(0x16a)](_0x2a5fb0)[_0x5d3f62(0x1a2)](_0x179041=>this[_0x5d3f62(0x180)][_0x5d3f62(0x1ca)](_0x179041[_0x5d3f62(0x10b)]))[_0x5d3f62(0x143)](Boolean)[0x0];this[_0x5d3f62(0x1c5)]=_0x2e16ce?_0x2e16ce[_0x5d3f62(0x1dd)]:null;});}set[_0x1058e0(0x123)](_0x28ce76){const _0x588c0c=_0x1058e0;if(this[_0x588c0c(0x1d7)])throw new _0x38e8fb(_0x588c0c(0x1bc));this[_0x588c0c(0x1d7)]=_0x28ce76;}get[_0x1058e0(0x123)](){const _0x49c326=_0x1058e0;return this[_0x49c326(0x1d7)];}[_0x1058e0(0x1a6)]({channelId:_0x59f28e=_t,threadId:_0x7ac71=_0x417b7d(),comments:_0x3062aa=[],unlinkedAt:_0x461341=null,resolvedAt:_0x5d35c3=null,resolvedBy:_0x3166b8=null,target:_0xea1630=null,context:_0x27a771=null,attributes:_0x4bd7ac={},isResolvable:_0x378d92=!0x0,isSubmitted:_0x5d0c1a=!0x1,isFromAdapter:_0x139eb2=!0x1}={}){const _0x1e8ee9=_0x1058e0;return this[_0x1e8ee9(0x1d6)](Nt(_0x1e8ee9(0x1a6),_0x59f28e),{'channelId':_0x59f28e,'threadId':_0x7ac71,'comments':_0x3062aa,'unlinkedAt':_0x461341,'resolvedAt':_0x5d35c3,'resolvedBy':_0x3166b8,'target':_0xea1630,'context':_0x27a771,'attributes':_0x4bd7ac,'isFromAdapter':_0x139eb2,'isResolvable':_0x378d92,'isSubmitted':_0x5d0c1a}),this[_0x1e8ee9(0x19e)](_0x7ac71);}[_0x1058e0(0x124)]({channelId:_0x4f92a6=_t,threadId:_0xf8816a=_0x417b7d(),target:_0x5390aa,context:_0x3ca3d8=null,isResolvable:_0xf2228c=!0x0}){const _0x594ac0=_0x1058e0;if(this[_0x594ac0(0x13f)][_0x594ac0(0x1cd)](_0x4f92a6)||this[_0x594ac0(0x13f)][_0x594ac0(0x1cd)](void 0x0))return null;if(!_0x5390aa)throw new _0x38e8fb(_0x594ac0(0x104));const _0x3fac87=this[_0x594ac0(0x1a6)]({'channelId':_0x4f92a6,'threadId':_0xf8816a,'target':_0x5390aa,'context':_0x3ca3d8,'isResolvable':_0xf2228c});if(!_0x3fac87)return null;const _0x45f8d8=this[_0x594ac0(0x171)][_0x594ac0(0x1ca)](_0x3fac87),_0xb08136=_0x45f8d8[_0x594ac0(0x19c)][_0x594ac0(0x112)][_0x594ac0(0x190)],_0x54fd4b=this[_0x594ac0(0x130)][_0x594ac0(0x142)][_0x594ac0(0x1ca)](_0x158a1c),_0x24be0b=_0x54fd4b[_0x594ac0(0x1c4)](_0x45f8d8[_0x594ac0(0x19c)]);return _0x54fd4b[_0x594ac0(0x126)](_0x24be0b),_0xb08136[_0x594ac0(0x163)](_0x594ac0(0x198),()=>_0xb08136[_0x594ac0(0x1ce)]()),_0x3fac87;}[_0x1058e0(0x134)](_0x5af0f1){const _0x1b8feb=_0x1058e0;if(_0x1b8feb(0x10d)!=typeof _0x5af0f1)throw new _0x38e8fb(_0x1b8feb(0x16c));return this[_0x1b8feb(0x13c)][_0x1b8feb(0x1cd)](_0x5af0f1);}[_0x1058e0(0x1d3)]({channelId:_0x5c37a7=_t,threadId:_0x1d424a,context:_0x528a35,unlinkedAt:_0xe98d1c,attributes:_0x5b7ddc,isFromAdapter:_0x3cc6cc=!0x1}){const _0x3cc4a7=_0x1058e0;return this[_0x3cc4a7(0x1d6)](Nt(_0x3cc4a7(0x1d3),_0x5c37a7),{'channelId':_0x5c37a7,'threadId':_0x1d424a,'context':_0x528a35,'unlinkedAt':_0xe98d1c,'attributes':_0x5b7ddc,'isFromAdapter':_0x3cc6cc}),this[_0x3cc4a7(0x19e)](_0x1d424a);}[_0x1058e0(0x19e)](_0x309452){const _0x35f883=_0x1058e0;if(_0x35f883(0x10d)!=typeof _0x309452)throw new _0x38e8fb(_0x35f883(0x16c));return this[_0x35f883(0x13c)][_0x35f883(0x1ca)](_0x309452);}[_0x1058e0(0x16e)]({channelId:_0x23098c,threadId:_0x1a127e}={}){const _0x4f7a6d=_0x1058e0,_0x4251c4=this[_0x4f7a6d(0x19e)](_0x1a127e);if(_0x4251c4)return Promise[_0x4f7a6d(0x189)](_0x4251c4);if(!this[_0x4f7a6d(0x123)])return Promise[_0x4f7a6d(0x189)](void 0x0);if(_0x4f7a6d(0x12e)!=typeof this[_0x4f7a6d(0x123)][_0x4f7a6d(0x19e)])throw new _0x38e8fb(_0x4f7a6d(0x166),this[_0x4f7a6d(0x130)]);return this[_0x4f7a6d(0x123)][_0x4f7a6d(0x19e)]({'channelId':_0x23098c,'threadId':_0x1a127e})[_0x4f7a6d(0x1c8)](_0x5b2343=>this[_0x4f7a6d(0x134)](_0x1a127e)?this[_0x4f7a6d(0x19e)](_0x1a127e):_0x5b2343?this[_0x4f7a6d(0x1a6)](Object[_0x4f7a6d(0x150)]({'isFromAdapter':!0x0,'channelId':_0x23098c},_0x5b2343)):void 0x0)[_0x4f7a6d(0x1ba)](_0x52126d=>{const _0x48aec0=_0x4f7a6d;throw console[_0x48aec0(0x14a)](_0x52126d),new _0x38e8fb(_0x48aec0(0x12f),this[_0x48aec0(0x130)]);});}[_0x1058e0(0x186)]({channelId:_0x4a6883,skipNotAttached:_0x4bac9d=!0x1,skipEmpty:_0x4d7de8=!0x1,toJSON:_0x194c35=!0x1}={}){const _0x24ed43=_0x1058e0,_0xd0039b=[];for(const _0x1dffc9 of this[_0x24ed43(0x13c)][_0x24ed43(0x157)]())_0x4a6883&&_0x1dffc9[_0x24ed43(0x125)]!==_0x4a6883||_0x4bac9d&&!_0x1dffc9[_0x24ed43(0x14d)]||_0x4d7de8&&0x0===_0x1dffc9[_0x24ed43(0x162)]||_0xd0039b[_0x24ed43(0x1cf)](_0x1dffc9);return _0x194c35?_0xd0039b[_0x24ed43(0x1a2)](_0x595433=>_0x595433[_0x24ed43(0x173)]()):_0xd0039b;}[_0x1058e0(0x1e1)](_0xb0d621){const _0x58a177=_0x1058e0,_0x37a8b3=this[_0x58a177(0x171)][_0x58a177(0x1ca)](_0xb0d621);if(!_0x37a8b3)return null;return this[_0x58a177(0x130)][_0x58a177(0x142)][_0x58a177(0x1ca)](_0x158a1c)[_0x58a177(0x1c4)](_0x37a8b3[_0x58a177(0x19c)])||null;}[_0x1058e0(0x196)](_0x42d958){const _0x40b290=_0x1058e0,_0x48ab81=this[_0x40b290(0x180)][_0x40b290(0x1ca)](_0x42d958[_0x40b290(0x10b)]);return _0x48ab81?_0x48ab81[_0x40b290(0x1dd)]:null;}[_0x1058e0(0x1cc)](_0x13d5c3){const _0x3639f7=_0x1058e0,_0x3aea13=this[_0x3639f7(0x130)][_0x3639f7(0x142)][_0x3639f7(0x1ca)](_0x158a1c);if(!_0x13d5c3)return void(this[_0x3639f7(0x1c5)]&&_0x3aea13[_0x3639f7(0x13d)]());const _0x1accfb=this[_0x3639f7(0x19e)](_0x13d5c3);if(!_0x1accfb)throw new _0x38e8fb(_0x3639f7(0x18e),null,{'threadId':_0x13d5c3});if(!this[_0x3639f7(0x171)][_0x3639f7(0x1cd)](_0x1accfb))throw new _0x38e8fb(_0x3639f7(0x179),null,{'threadId':_0x13d5c3});const _0x241284=_0x3aea13[_0x3639f7(0x1c4)](this[_0x3639f7(0x171)][_0x3639f7(0x1ca)](_0x1accfb)[_0x3639f7(0x19c)]);_0x3aea13[_0x3639f7(0x126)](_0x241284);}[_0x1058e0(0x144)](_0x1186e1,_0x477ff2){const _0x27aab0=_0x1058e0;_0x1186e1?this[_0x27aab0(0x13f)][_0x27aab0(0x153)](_0x477ff2):this[_0x27aab0(0x13f)][_0x27aab0(0x1b3)](_0x477ff2),this[_0x27aab0(0x1d6)](_0x27aab0(0x17f),_0x27aab0(0x13f),this[_0x27aab0(0x13f)],this[_0x27aab0(0x13f)]);}[_0x1058e0(0x12d)](_0x1efc3){const _0x343a7e=_0x1058e0;return this[_0x343a7e(0x13f)][_0x343a7e(0x1cd)](_0x1efc3)||this[_0x343a7e(0x13f)][_0x343a7e(0x1cd)](void 0x0);}[_0x1058e0(0x199)](_0x1369df,_0x9e4295){return new _0x2ac20e(_0x1369df,_0x9e4295);}[_0x1058e0(0x165)](_0x2f0e39,_0x4d5c9a=_t){const _0x198352=_0x1058e0;this[_0x198352(0x11d)][_0x198352(0x175)](_0x4d5c9a,_0x2f0e39),this[_0x198352(0x1d6)](_0x198352(0x183),_0x198352(0x11d),this[_0x198352(0x11d)],this[_0x198352(0x11d)]);}[_0x1058e0(0x10a)](_0x55b095=_t){const _0x3a8192=_0x1058e0;return this[_0x3a8192(0x11d)][_0x3a8192(0x1cd)](_0x55b095)?this[_0x3a8192(0x11d)][_0x3a8192(0x1ca)](_0x55b095):bt;}[_0x1058e0(0x172)]({channelId:_0x560d76,threadId:_0x26a86e,comments:_0x265ba6,unlinkedAt:_0x41aac5,resolvedAt:_0x453ee3,resolvedBy:_0x1295c5,target:_0x358a80,context:_0x1d6912,attributes:_0x47b1de,isFromAdapter:_0x5bcd29,isResolvable:_0x57db56,isSubmitted:_0x42cd7}){const _0x2d5088=_0x1058e0;if(_0x2d5088(0x10d)!=typeof _0x26a86e)throw new _0x38e8fb(_0x2d5088(0x16c),null,{'threadId':_0x26a86e});if(this[_0x2d5088(0x134)](_0x26a86e))throw new _0x38e8fb(_0x2d5088(0x15d),null,{'threadId':_0x26a86e});const _0x12648c=new CommentThread(this,{'channelId':_0x560d76,'id':_0x26a86e,'context':_0x1d6912,'attributes':_0x47b1de,'unlinkedAt':_0x41aac5,'resolvedAt':_0x453ee3,'resolvedBy':_0x1295c5?this[_0x2d5088(0x130)][_0x2d5088(0x142)][_0x2d5088(0x1ca)](_0x9db1fc)[_0x2d5088(0x18a)](_0x1295c5):null,'isResolvable':_0x57db56,'isSubmitted':_0x42cd7||_0x5bcd29});this[_0x2d5088(0x13c)][_0x2d5088(0x175)](_0x26a86e,_0x12648c);for(const _0x162650 of _0x265ba6)_0x12648c[_0x2d5088(0x19f)](this[_0x2d5088(0x11a)]({'threadId':_0x26a86e,..._0x162650}));return _0x358a80&&_0x12648c[_0x2d5088(0x1b5)](_0x358a80),_0x5bcd29||!_0x12648c[_0x2d5088(0x162)]?Promise[_0x2d5088(0x189)]():this[_0x2d5088(0x1af)]({'channelId':_0x560d76,'threadId':_0x26a86e});}[_0x1058e0(0x1af)]({channelId:_0x249822,threadId:_0x35a520}){const _0x311449=_0x1058e0;if(!this[_0x311449(0x134)](_0x35a520))throw new _0x38e8fb(_0x311449(0x1b1),this);const _0x12debc=this[_0x311449(0x19e)](_0x35a520);if(_0x12debc[_0x311449(0x106)]=!0x0,!this[_0x311449(0x123)]||_0x311449(0x12e)!=typeof this[_0x311449(0x123)][_0x311449(0x1a6)])return Promise[_0x311449(0x189)]();const {id:_0x58d2be,comments:_0xe606fe,resolvedAt:_0x5f5808,resolvedBy:_0x45256a,context:_0xf009c1,attributes:_0xf8a4b}=_0x12debc,_0x59e708=this[_0x311449(0x130)][_0x311449(0x142)][_0x311449(0x1ca)](_0x311449(0x1a5)),_0x48f11c=_0x59e708[_0x311449(0x153)](_0x59f0ce(this[_0x311449(0x130)][_0x311449(0x13e)],_0x311449(0x18f)));return this[_0x311449(0x123)][_0x311449(0x1a6)]({'channelId':_0x249822,'threadId':_0x58d2be,'comments':_0xe606fe[_0x311449(0x1a2)](_0x7bd591=>_0x7bd591[_0x311449(0x173)]()),'resolvedAt':_0x5f5808,'resolvedBy':_0x45256a?_0x45256a['id']:_0x45256a,'context':_0xf009c1,'attributes':_0xf8a4b})[_0x311449(0x1c8)](({comments:_0x232e10})=>{const _0x58dad2=_0x311449;_0x59e708[_0x58dad2(0x1aa)](_0x48f11c);for(const _0x13b324 of _0x232e10)this[_0x58dad2(0x16f)]({'channelId':_0x249822,'threadId':_0x35a520,'commentId':_0x13b324[_0x58dad2(0x11b)],'createdAt':_0x13b324[_0x58dad2(0x1c1)],'isFromAdapter':!0x0});})[_0x311449(0x1ba)](_0x342633=>{const _0x23aec3=_0x311449;throw console[_0x23aec3(0x14a)](_0x342633),new _0x38e8fb(_0x23aec3(0xfe),this);});}[_0x1058e0(0x176)]({threadId:_0xfc3a2b,target:_0x183eef}){const _0x2dd564=_0x1058e0,_0x559063=this[_0x2dd564(0x19e)](_0xfc3a2b);if(!_0x559063)throw new _0x38e8fb(_0x2dd564(0x13a),this);const _0x235742=this[_0x2dd564(0x130)][_0x2dd564(0x142)][_0x2dd564(0x1ca)](_0x2dd564(0x1a5)),_0x57ffe7=this[_0x2dd564(0x130)][_0x2dd564(0x142)][_0x2dd564(0x1ca)](_0x158a1c),_0x247be6=this[_0x2dd564(0x121)](_0x559063),_0x2b1848=new _0x2ac20e(_0x559063,_0x247be6);let _0xdff11e=null;_0x247be6['on'](_0x2dd564(0x17e),(_0x1c2c3e,_0x349d41,_0x2acf73)=>{const _0x2c161f=_0x2dd564;_0x2acf73?_0xdff11e=_0x235742[_0x2c161f(0x153)](_0x59f0ce(this[_0x2c161f(0x130)][_0x2c161f(0x13e)],_0x2c161f(0x18f))):_0xdff11e&&(_0x235742[_0x2c161f(0x1aa)](_0xdff11e),_0xdff11e=null);}),this[_0x2dd564(0x171)][_0x2dd564(0x175)](_0x559063,_0x2b1848),this[_0x2dd564(0x180)][_0x2dd564(0x175)](_0x247be6,_0x2b1848);const _0x2f058a=new _0x48f904(this[_0x2dd564(0x130)][_0x2dd564(0x13e)],_0x247be6);_0x2f058a[_0x2dd564(0x116)](_0x2dd564(0x162))['to'](_0x247be6),_0x2f058a[_0x2dd564(0x116)](_0x2dd564(0x177))['to'](_0x247be6,_0x2dd564(0x177),_0x247be6,_0x2dd564(0x162),(_0x18d9ee,_0xd192f7)=>_0x18d9ee||!_0xd192f7),_0x2f058a[_0x2dd564(0x116)](_0x2dd564(0x1a8))['to'](_0x247be6),_0x2f058a[_0x2dd564(0x108)]=_0x2dd564(0x19d);const _0x118029=new _0x547de1({'view':_0x2f058a,'target':_0x183eef,'type':_0x2dd564(0x19d),'isVisible':!_0x559063[_0x2dd564(0x1b4)]&&!!(_0x2dd564(0x12e)==typeof _0x183eef?_0x183eef():_0x183eef)});return _0x247be6['on'](_0x2dd564(0x1e4),()=>{const _0x487ff1=_0x2dd564;_0x118029[_0x487ff1(0x1d6)](_0x487ff1(0x1e4));}),this[_0x2dd564(0x19a)](_0x247be6,_0x118029),_0x57ffe7[_0x2dd564(0x153)](_0x118029),_0x118029;}[_0x1058e0(0x19a)](_0x34ee09,_0x416b80){const _0x4be885=_0x1058e0;this[_0x4be885(0x1d5)](_0x34ee09,_0x4be885(0x198),(_0x296c73,_0x18418b)=>{const _0x5e4a6b=_0x4be885,_0x528655=_0x18418b['ui'][_0x5e4a6b(0x19c)][_0x5e4a6b(0x15f)][_0x5e4a6b(0x1ae)];_0x416b80[_0x5e4a6b(0x1c6)][_0x5e4a6b(0x153)](_0x528655),this[_0x5e4a6b(0x130)]instanceof _0x55bab1&&this[_0x5e4a6b(0x130)]['ui'][_0x5e4a6b(0x1c0)][_0x5e4a6b(0x153)](_0x528655);},{'priority':_0x4be885(0x168)}),this[_0x4be885(0x1d5)](_0x34ee09,_0x4be885(0x1de),(_0x21450b,_0x1eef46)=>{const _0x589321=_0x4be885,_0x57e7f1=_0x1eef46['ui'][_0x589321(0x19c)][_0x589321(0x15f)][_0x589321(0x1ae)];_0x416b80[_0x589321(0x1c6)][_0x589321(0x1cd)](_0x57e7f1)&&_0x416b80[_0x589321(0x1c6)][_0x589321(0x1aa)](_0x57e7f1),this[_0x589321(0x130)]instanceof _0x55bab1&&this[_0x589321(0x130)]['ui'][_0x589321(0x1c0)][_0x589321(0x1aa)](_0x57e7f1);});}[_0x1058e0(0x11c)](_0x3a9166){const _0x4acaf2=_0x1058e0;this[_0x4acaf2(0x174)](_0x3a9166,_0x4acaf2(0x198)),this[_0x4acaf2(0x174)](_0x3a9166,_0x4acaf2(0x1de));}[_0x1058e0(0x121)](_0x18438b){const _0x46200f=_0x1058e0,_0x4a79fb=this[_0x46200f(0x130)][_0x46200f(0x142)][_0x46200f(0x1ca)](_0x9db1fc),{config:_0x421d77,locale:_0xb7d0e0}=this[_0x46200f(0x130)],_0xad83ab=_0x248b65(_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x13e)),_0xb7d0e0);return new(0x0,(_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x18d)))[(_0x46200f(0x16b))])(_0xb7d0e0,_0x18438b,_0x4a79fb['me'],{'editorConfig':{..._0x421d77[_0x46200f(0x1ca)](_0x46200f(0x184)),'licenseKey':this[_0x46200f(0x130)][_0x46200f(0x131)][_0x46200f(0x1ca)](_0x46200f(0x1be))},'copyMarkers':_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x16d)),'maxCommentsWhenCollapsed':_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x12a)),'maxThreadTotalWeight':_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x170)),'maxCommentCharsWhenCollapsed':_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x1db)),'formatDateTime':_0xad83ab,'CommentView':_0x421d77[_0x46200f(0x1ca)](_0x46200f(0x18d))[_0x46200f(0x107)]});}[_0x1058e0(0x1a7)]({threadId:_0x34d765,channelId:_0x4c13e8,resolvedAt:_0x48d0c1,resolvedBy:_0x1db4cf,isFromAdapter:_0x379737}){const _0x4a22aa=_0x1058e0;if(!this[_0x4a22aa(0x134)](_0x34d765))throw new _0x38e8fb(_0x4a22aa(0x1b1),null,{'threadId':_0x34d765});const _0x14a559=this[_0x4a22aa(0x19e)](_0x34d765);if(_0x14a559[_0x4a22aa(0x1d8)])throw new _0x38e8fb(_0x4a22aa(0x1bd),null,{'threadId':_0x34d765});const _0xb43ea9=this[_0x4a22aa(0x130)][_0x4a22aa(0x142)][_0x4a22aa(0x1ca)](_0x9db1fc);if(_0x14a559[_0x4a22aa(0x193)]=_0xb43ea9[_0x4a22aa(0x18a)](_0x1db4cf),_0x14a559[_0x4a22aa(0x178)]=_0x48d0c1,_0x379737||!this[_0x4a22aa(0x123)]||_0x4a22aa(0x12e)!=typeof this[_0x4a22aa(0x123)][_0x4a22aa(0x17b)])return Promise[_0x4a22aa(0x189)]();const _0x16f46d=this[_0x4a22aa(0x130)][_0x4a22aa(0x142)][_0x4a22aa(0x1ca)](_0x4a22aa(0x1a5)),_0x5b9c34=_0x16f46d[_0x4a22aa(0x153)](_0x59f0ce(this[_0x4a22aa(0x130)][_0x4a22aa(0x13e)],_0x4a22aa(0x18f)));return this[_0x4a22aa(0x123)][_0x4a22aa(0x17b)]({'channelId':_0x4c13e8,'threadId':_0x34d765})[_0x4a22aa(0x1c8)](({resolvedAt:_0x47c705,resolvedBy:_0x247e3a})=>{const _0x30a8cd=_0x4a22aa;_0x16f46d[_0x30a8cd(0x1aa)](_0x5b9c34),_0x14a559[_0x30a8cd(0x193)]['id']!==_0x247e3a&&(_0x14a559[_0x30a8cd(0x193)]=_0xb43ea9[_0x30a8cd(0x18a)](_0x247e3a)),_0x14a559[_0x30a8cd(0x178)]=_0x47c705;})[_0x4a22aa(0x1ba)](_0x5d092e=>{const _0x50d460=_0x4a22aa;throw console[_0x50d460(0x14a)](_0x5d092e),new _0x38e8fb(_0x50d460(0x1c2),this);});}[_0x1058e0(0x194)]({threadId:_0x1327fa,channelId:_0x17228d,isFromAdapter:_0x33f0f3}){const _0xcf147e=_0x1058e0;if(!this[_0xcf147e(0x134)](_0x1327fa))throw new _0x38e8fb(_0xcf147e(0x1b1),null,{'threadId':_0x1327fa});const _0x5c8af5=this[_0xcf147e(0x19e)](_0x1327fa);if(!_0x5c8af5[_0xcf147e(0x1d8)])throw new _0x38e8fb(_0xcf147e(0x141),null,{'threadId':_0x1327fa});if(_0x5c8af5[_0xcf147e(0x193)]=null,_0x5c8af5[_0xcf147e(0x178)]=null,_0x33f0f3||!this[_0xcf147e(0x123)]||_0xcf147e(0x12e)!=typeof this[_0xcf147e(0x123)][_0xcf147e(0x128)])return Promise[_0xcf147e(0x189)]();const _0x555a43=this[_0xcf147e(0x130)][_0xcf147e(0x142)][_0xcf147e(0x1ca)](_0xcf147e(0x1a5)),_0x3ccae1=_0x555a43[_0xcf147e(0x153)](_0x59f0ce(this[_0xcf147e(0x130)][_0xcf147e(0x13e)],_0xcf147e(0x18f)));return this[_0xcf147e(0x123)][_0xcf147e(0x128)]({'channelId':_0x17228d,'threadId':_0x1327fa})[_0xcf147e(0x1c8)](()=>_0x555a43[_0xcf147e(0x1aa)](_0x3ccae1))[_0xcf147e(0x1ba)](_0x3a226e=>{const _0xc87287=_0xcf147e;throw console[_0xc87287(0x14a)](_0x3a226e),new _0x38e8fb(_0xc87287(0x13b),this);});}[_0x1058e0(0x1e0)]({threadId:_0x40fe96,isFromAdapter:_0x58e2ca}){const _0x545218=_0x1058e0,_0x4152ce=this[_0x545218(0x19e)](_0x40fe96);if(!_0x4152ce)throw new _0x38e8fb(_0x545218(0x137),this);if(this[_0x545218(0x1a3)](_0x40fe96),this[_0x545218(0x13c)][_0x545218(0x1b3)](_0x40fe96),!_0x4152ce[_0x545218(0x14f)]||_0x58e2ca||!this[_0x545218(0x123)]||_0x545218(0x12e)!=typeof this[_0x545218(0x123)][_0x545218(0x132)])return Promise[_0x545218(0x189)]();const _0x317a67=this[_0x545218(0x130)][_0x545218(0x142)][_0x545218(0x1ca)](_0x545218(0x1a5)),{channelId:_0x538844}=_0x4152ce,_0x15b210=_0x317a67[_0x545218(0x153)](_0x59f0ce(this[_0x545218(0x130)][_0x545218(0x13e)],_0x545218(0x18f)));return this[_0x545218(0x123)][_0x545218(0x132)]({'channelId':_0x538844,'threadId':_0x40fe96})[_0x545218(0x1c8)](()=>_0x317a67[_0x545218(0x1aa)](_0x15b210))[_0x545218(0x1ba)](_0xbaeb6f=>{const _0x332d9f=_0x545218;throw console[_0x332d9f(0x14a)](_0xbaeb6f),new _0x38e8fb(_0x332d9f(0xfd),this);});}[_0x1058e0(0x140)]({threadId:_0x5d7e55,unlinkedAt:_0x3cee1f,context:_0x287110,attributes:_0x1297cf,isFromAdapter:_0x5c7f0c}){const _0x14c78f=_0x1058e0;if(_0x14c78f(0x10d)!=typeof _0x5d7e55)throw new _0x38e8fb(_0x14c78f(0x16c),null,{'threadId':_0x5d7e55});if(!this[_0x14c78f(0x134)](_0x5d7e55))throw new _0x38e8fb(_0x14c78f(0x1b1),null,{'threadId':_0x5d7e55});const _0x5256be=this[_0x14c78f(0x19e)](_0x5d7e55);let _0x4ecc8c=!0x1;if(void 0x0!==_0x287110&&_0x5256be[_0x14c78f(0x130)]!==_0x287110&&(_0x5256be[_0x14c78f(0x130)]=_0x287110,_0x4ecc8c=!0x0),void 0x0!==_0x3cee1f&&_0x5256be[_0x14c78f(0x1b6)]!==_0x3cee1f&&(_0x5256be[_0x14c78f(0x1b6)]=_0x3cee1f,_0x4ecc8c=!0x0),_0x1297cf&&!_0xdfad98(_0x1297cf,_0x5256be[_0x14c78f(0x191)])&&(_0x5256be[_0x14c78f(0x191)]=_0x1297cf,_0x4ecc8c=!0x0),!_0x4ecc8c)return Promise[_0x14c78f(0x189)]();if(!_0x5256be[_0x14c78f(0x14f)]||_0x5c7f0c||!this[_0x14c78f(0x123)]||_0x14c78f(0x12e)!=typeof this[_0x14c78f(0x123)][_0x14c78f(0x1d3)])return Promise[_0x14c78f(0x189)]();const _0x3c7d49=this[_0x14c78f(0x130)][_0x14c78f(0x142)][_0x14c78f(0x1ca)](_0x14c78f(0x1a5)),{channelId:_0x4aab13}=_0x5256be,_0x34a362=_0x3c7d49[_0x14c78f(0x153)](_0x59f0ce(this[_0x14c78f(0x130)][_0x14c78f(0x13e)],_0x14c78f(0x18f)));return this[_0x14c78f(0x123)][_0x14c78f(0x1d3)]({'channelId':_0x4aab13,'threadId':_0x5d7e55,'context':_0x287110,'unlinkedAt':_0x3cee1f,'attributes':_0x1297cf})[_0x14c78f(0x1c8)](()=>_0x3c7d49[_0x14c78f(0x1aa)](_0x34a362))[_0x14c78f(0x1ba)](_0x4a8e65=>{const _0x5624eb=_0x14c78f;throw console[_0x5624eb(0x14a)](_0x4a8e65),new _0x38e8fb(_0x5624eb(0x14c),this);});}[_0x1058e0(0x1a3)](_0x58bc60){const _0x317e5b=_0x1058e0,_0x46539e=this[_0x317e5b(0x130)][_0x317e5b(0x142)][_0x317e5b(0x1ca)](_0x158a1c),_0xdf8ef=this[_0x317e5b(0x19e)](_0x58bc60);if(_0xdf8ef[_0x317e5b(0x1ad)]=!0x1,this[_0x317e5b(0x171)][_0x317e5b(0x1cd)](_0xdf8ef)){const _0x3ab48d=this[_0x317e5b(0x171)][_0x317e5b(0x1ca)](_0xdf8ef),_0x2c7cd3=_0x3ab48d[_0x317e5b(0x19c)],_0x385ac4=_0x46539e[_0x317e5b(0x1c4)](_0x2c7cd3);this[_0x317e5b(0x171)][_0x317e5b(0x1b3)](_0xdf8ef),this[_0x317e5b(0x180)][_0x317e5b(0x1b3)](_0x2c7cd3),_0x385ac4&&_0x46539e[_0x317e5b(0x1aa)](_0x385ac4),_0x3ab48d[_0x317e5b(0xfc)](),_0x2c7cd3[_0x317e5b(0xfc)]()[_0x317e5b(0x1c8)](()=>{const _0x49c8db=_0x317e5b;this[_0x49c8db(0x11c)](_0x2c7cd3);});}}[_0x1058e0(0x156)]({threadId:_0x569416,resolvedAt:_0x1afa57,unlinkedAt:_0x6d716b}){const _0x56e3ba=_0x1058e0,_0x1418b9=!!_0x1afa57,_0x2d96bd=this[_0x56e3ba(0x130)][_0x56e3ba(0x142)][_0x56e3ba(0x1ca)](_0x158a1c),_0x5f2d49=this[_0x56e3ba(0x19e)](_0x569416);if(this[_0x56e3ba(0x171)][_0x56e3ba(0x1cd)](_0x5f2d49)){const _0x4a9083=this[_0x56e3ba(0x171)][_0x56e3ba(0x1ca)](_0x5f2d49)[_0x56e3ba(0x19c)],_0x26db4b=_0x2d96bd[_0x56e3ba(0x1c4)](_0x4a9083);_0x26db4b&&(_0x1418b9&&_0x2d96bd[_0x56e3ba(0x15a)](_0x26db4b),_0x6d716b?_0x26db4b[_0x56e3ba(0x15e)]=!0x1:_0x26db4b[_0x56e3ba(0x12c)]());}}[_0x1058e0(0x18b)](_0x4b18c8){const _0x1a2d8f=_0x1058e0,_0x430e53=this[_0x1a2d8f(0x130)][_0x1a2d8f(0x142)][_0x1a2d8f(0x1ca)](_0x9db1fc),_0x2c2037=_0x2ad631(_0x1a2d8f(0x15b)+_0x4b18c8),_0x365a84=_0x430e53[_0x1a2d8f(0x18a)](_0x2c2037);return _0x365a84||_0x430e53[_0x1a2d8f(0x11f)]({'id':_0x2c2037,'name':_0x4b18c8});}[_0x1058e0(0x11a)]({threadId:_0x2db880,commentId:_0x2fa48d=_0x417b7d(),content:_0x22b8ae,authorId:_0xf87c13,createdAt:_0x442a24,attributes:_0x279439}){const _0x428cae=_0x1058e0;if(_0x428cae(0x10d)!=typeof _0x2fa48d)throw new _0x38e8fb(_0x428cae(0x1c3));if(_0x428cae(0x10d)!=typeof _0xf87c13)throw new _0x38e8fb(_0x428cae(0x146));if(_0x428cae(0x10d)!=typeof _0x22b8ae||!_0x22b8ae[_0x428cae(0x117)]())throw new _0x38e8fb(_0x428cae(0x115));const _0x3cba80=this[_0x428cae(0x130)][_0x428cae(0x142)][_0x428cae(0x1ca)](_0x9db1fc)[_0x428cae(0x18a)](_0xf87c13);if(!_0x3cba80)throw new _0x38e8fb(_0x428cae(0x187),null,{'authorId':_0xf87c13});let _0x472898=null,_0xb1f204=_0x442a24;return _0x279439?.[_0x428cae(0x185)]&&(_0x472898=this[_0x428cae(0x18b)](_0x279439[_0x428cae(0x185)][_0x428cae(0x103)]),_0xb1f204=new Date(_0x279439[_0x428cae(0x185)][_0x428cae(0x1c1)])),new Comment(this,{'threadId':_0x2db880,'id':_0x2fa48d,'author':_0x472898||_0x3cba80,'creator':_0x3cba80,'content':_0x22b8ae,'createdAt':_0x442a24,'authoredAt':_0xb1f204,'attributes':_0x279439});}[_0x1058e0(0x15c)](_0x7c77eb){const _0x6aaece=_0x1058e0;let {threadId:_0x4a128e,content:_0x3542a7,attributes:_0xd5ce00,isFromAdapter:_0x4db193}=_0x7c77eb;const _0x599c11=this[_0x6aaece(0x19e)](_0x7c77eb[_0x6aaece(0x1df)]);if(!_0x599c11)throw new _0x38e8fb(_0x6aaece(0x1c7),this);const _0x5f2ef8=this[_0x6aaece(0x11a)](_0x7c77eb),{id:_0x2e6dd9}=_0x5f2ef8;if(_0x599c11[_0x6aaece(0x19f)](_0x5f2ef8),_0x4db193||!this[_0x6aaece(0x123)]||_0x6aaece(0x12e)!=typeof this[_0x6aaece(0x123)][_0x6aaece(0x1a0)]||!_0x599c11[_0x6aaece(0x14f)])return Promise[_0x6aaece(0x189)]();const _0x1c272f=this[_0x6aaece(0x130)][_0x6aaece(0x142)][_0x6aaece(0x1ca)](_0x6aaece(0x1a5)),{channelId:_0x295478}=_0x599c11,_0x22697a=_0x1c272f[_0x6aaece(0x153)](_0x59f0ce(this[_0x6aaece(0x130)][_0x6aaece(0x13e)],_0x6aaece(0x18f)));return _0xd5ce00||(_0xd5ce00={}),this[_0x6aaece(0x123)][_0x6aaece(0x1a0)]({'channelId':_0x295478,'threadId':_0x4a128e,'commentId':_0x2e6dd9,'content':_0x3542a7,'attributes':_0xd5ce00})[_0x6aaece(0x1c8)](_0x1a88ed=>{const _0x46e47f=_0x6aaece;_0x1c272f[_0x46e47f(0x1aa)](_0x22697a),_0x1a88ed&&this[_0x46e47f(0x16f)]({'channelId':_0x295478,'threadId':_0x4a128e,'commentId':_0x2e6dd9,'createdAt':_0x1a88ed[_0x46e47f(0x1c1)],'isFromAdapter':!0x0});})[_0x6aaece(0x1ba)](_0x52333b=>{const _0x1eb390=_0x6aaece;throw console[_0x1eb390(0x14a)](_0x52333b),new _0x38e8fb(_0x1eb390(0x1cb),this);});}[_0x1058e0(0x16f)]({threadId:_0x842665,commentId:_0x35b2d7,content:_0x2031f5,createdAt:_0x10d9f0,attributes:_0x1c8483,isFromAdapter:_0x7e94ec}){const _0x556c92=_0x1058e0;if(void 0x0!==_0x2031f5&&(_0x556c92(0x10d)!=typeof _0x2031f5||!_0x2031f5[_0x556c92(0x117)]()[_0x556c92(0x162)]))throw new _0x38e8fb(_0x556c92(0x127));const _0x218807=this[_0x556c92(0x19e)](_0x842665),_0x5dbf7f=_0x218807[_0x556c92(0x1ac)](_0x35b2d7);if(!_0x5dbf7f)throw new _0x38e8fb(_0x556c92(0x10f),this);let _0x3e935b=!0x1;if(_0x2031f5&&_0x2031f5!==_0x5dbf7f[_0x556c92(0x11e)]&&(_0x5dbf7f[_0x556c92(0x1b9)]||_0x7e94ec)&&(_0x5dbf7f[_0x556c92(0x11e)]=_0x2031f5,_0x3e935b=!0x0),_0x10d9f0&&_0x10d9f0!==_0x5dbf7f[_0x556c92(0x1c1)]&&(_0x5dbf7f[_0x556c92(0x1c1)]=_0x10d9f0,_0x5dbf7f[_0x556c92(0x191)]&&_0x5dbf7f[_0x556c92(0x191)][_0x556c92(0x185)]||(_0x5dbf7f[_0x556c92(0x119)]=_0x10d9f0),_0x3e935b=!0x0),_0x1c8483&&!_0xdfad98(_0x1c8483,_0x5dbf7f[_0x556c92(0x191)])&&(_0x5dbf7f[_0x556c92(0x191)]=_0x1c8483,_0x3e935b=!0x0),!_0x3e935b)return Promise[_0x556c92(0x189)]();if(_0x218807[_0x556c92(0x1d6)](_0x556c92(0x105)),_0x7e94ec||!this[_0x556c92(0x123)]||_0x556c92(0x12e)!=typeof this[_0x556c92(0x123)][_0x556c92(0x1bb)])return Promise[_0x556c92(0x189)]();const _0xc2aa64=this[_0x556c92(0x130)][_0x556c92(0x142)][_0x556c92(0x1ca)](_0x556c92(0x1a5)),{channelId:_0x404c55}=this[_0x556c92(0x19e)](_0x5dbf7f[_0x556c92(0x1df)]),_0x2f7bd1=_0xc2aa64[_0x556c92(0x153)](_0x59f0ce(this[_0x556c92(0x130)][_0x556c92(0x13e)],_0x556c92(0x18f)));return this[_0x556c92(0x123)][_0x556c92(0x1bb)]({'channelId':_0x404c55,'threadId':_0x842665,'commentId':_0x35b2d7,'content':_0x2031f5,'attributes':_0x1c8483})[_0x556c92(0x1c8)](()=>_0xc2aa64[_0x556c92(0x1aa)](_0x2f7bd1))[_0x556c92(0x1ba)](_0x365353=>{const _0x291789=_0x556c92;throw console[_0x291789(0x14a)](_0x365353),new _0x38e8fb(_0x291789(0x1b2),this);});}[_0x1058e0(0x18c)]({threadId:_0x1477bb,commentId:_0x6aba80,isFromAdapter:_0x3b9ff4}){const _0x236112=_0x1058e0,_0x5f1678=this[_0x236112(0x19e)](_0x1477bb),_0x7dc5e0=_0x5f1678[_0x236112(0x1ac)](_0x6aba80);if(!_0x7dc5e0)throw new _0x38e8fb(_0x236112(0x1d2),this);if(_0x5f1678[_0x236112(0x1bf)](_0x7dc5e0),_0x3b9ff4||!this[_0x236112(0x123)]||_0x236112(0x12e)!=typeof this[_0x236112(0x123)][_0x236112(0x17a)])return Promise[_0x236112(0x189)]();const _0xb059f2=this[_0x236112(0x130)][_0x236112(0x142)][_0x236112(0x1ca)](_0x236112(0x1a5)),{channelId:_0x6331bd}=_0x5f1678,_0x13bd80=_0xb059f2[_0x236112(0x153)](_0x59f0ce(this[_0x236112(0x130)][_0x236112(0x13e)],_0x236112(0x18f)));return this[_0x236112(0x123)][_0x236112(0x17a)]({'channelId':_0x6331bd,'threadId':_0x1477bb,'commentId':_0x6aba80})[_0x236112(0x1c8)](()=>_0xb059f2[_0x236112(0x1aa)](_0x13bd80))[_0x236112(0x1ba)](_0x38fbba=>{const _0x4ce58=_0x236112;throw console[_0x4ce58(0x14a)](_0x38fbba),new _0x38e8fb(_0x4ce58(0x1d4),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x4d3b17(){[_0x1058e0(0x125)];['id'];[_0x1058e0(0x1ad)];[_0x1058e0(0x106)];[_0x1058e0(0x18d)];[_0x1058e0(0x155)];constructor(_0x23f999,_0x12b1e2){const _0x379dfe=_0x1058e0;super();const _0x2aba92=_0x12b1e2[_0x379dfe(0x17c)];this[_0x379dfe(0x125)]=_0x12b1e2[_0x379dfe(0x125)],this['id']=_0x12b1e2['id'],this[_0x379dfe(0x18d)]=new _0x4cf71a(),this[_0x379dfe(0x155)]=_0x23f999,this[_0x379dfe(0x1ad)]=!0x1,this[_0x379dfe(0x106)]=_0x12b1e2[_0x379dfe(0x14f)],this[_0x379dfe(0x175)](_0x379dfe(0x152),!0x0),this[_0x379dfe(0x116)](_0x379dfe(0x12d))['to'](_0x23f999,_0x379dfe(0x11d),_0x23f999,_0x379dfe(0x13f),()=>_0x23f999[_0x379dfe(0x12d)](this[_0x379dfe(0x125)])),this[_0x379dfe(0x116)](_0x379dfe(0x154))['to'](_0x23f999,_0x379dfe(0x11d),()=>_0x23f999[_0x379dfe(0x10a)](this[_0x379dfe(0x125)])[_0x379dfe(0x101)]),this[_0x379dfe(0x116)](_0x379dfe(0x111))['to'](_0x23f999,_0x379dfe(0x11d),()=>{const _0x5a822d=_0x379dfe,_0x33609a=_0x23f999[_0x5a822d(0x10a)](this[_0x5a822d(0x125)]);return _0x33609a[_0x5a822d(0x14e)]||_0x33609a[_0x5a822d(0x101)];}),this[_0x379dfe(0x116)](_0x379dfe(0x17c))['to'](_0x23f999,_0x379dfe(0x11d),()=>_0x2aba92&&_0x23f999[_0x379dfe(0x10a)](this[_0x379dfe(0x125)])[_0x379dfe(0x189)]),this[_0x379dfe(0x175)](_0x379dfe(0x130),_0x12b1e2[_0x379dfe(0x130)]),this[_0x379dfe(0x116)](_0x379dfe(0x1b4))['to'](this,_0x379dfe(0x178),this,_0x379dfe(0x1b6),(_0x99171,_0x302765)=>_0x99171?_0x302765?_0x99171<_0x302765?_0x99171:_0x302765:_0x99171:_0x302765),this[_0x379dfe(0x175)](_0x379dfe(0x1b6),_0x12b1e2[_0x379dfe(0x1b6)]||null),this[_0x379dfe(0x175)](_0x379dfe(0x178),_0x12b1e2[_0x379dfe(0x178)]||null),this[_0x379dfe(0x175)](_0x379dfe(0x193),_0x12b1e2[_0x379dfe(0x193)]||null),this[_0x379dfe(0x116)](_0x379dfe(0x1d8))['to'](this,_0x379dfe(0x178),_0xec33cf=>!!_0xec33cf),this[_0x379dfe(0x175)](_0x379dfe(0x191),_0x12b1e2[_0x379dfe(0x191)]||{});}get[_0x1058e0(0x133)](){const _0xb95bb7=_0x1058e0;return Array[_0xb95bb7(0x16a)](this[_0xb95bb7(0x18d)])[_0xb95bb7(0x109)]((_0x1f1b34,_0x4ab93a)=>_0x1f1b34+_0x4ab93a[_0xb95bb7(0x133)],0x0);}get[_0x1058e0(0x162)](){const _0x4d6f2f=_0x1058e0;return this[_0x4d6f2f(0x18d)][_0x4d6f2f(0x162)];}get[_0x1058e0(0x14d)](){const _0x495cc4=_0x1058e0;return this[_0x495cc4(0x1ad)];}get[_0x1058e0(0x14f)](){const _0x1b94dd=_0x1058e0;return this[_0x1b94dd(0x106)];}[_0x1058e0(0x1d1)](){const _0x47a417=_0x1058e0,{channelId:_0x20a13b,id:_0x1d921c}=this;this[_0x47a417(0x155)][_0x47a417(0x1d6)](Nt(_0x47a417(0x135),_0x20a13b),{'channelId':_0x20a13b,'threadId':_0x1d921c});}[_0x1058e0(0x1b8)](_0x249440){const _0x398e3b=_0x1058e0;this[_0x398e3b(0x161)]({'unlinkedAt':_0x249440});}[_0x1058e0(0x189)]({resolvedAt:_0x40e43f=new Date(),resolvedBy:_0x1e310b='',isFromAdapter:_0x3df2f0=!0x1}={}){const _0x1a03e5=_0x1058e0,_0x410bbc=this[_0x1a03e5(0x155)][_0x1a03e5(0x130)][_0x1a03e5(0x142)][_0x1a03e5(0x1ca)](_0x9db1fc)['me'],{channelId:_0x2578ec,id:_0x2d179b}=this;this[_0x1a03e5(0x155)][_0x1a03e5(0x1d6)](Nt(_0x1a03e5(0x17b),_0x2578ec),{'channelId':_0x2578ec,'threadId':_0x2d179b,'resolvedAt':_0x40e43f,'resolvedBy':_0x1e310b||_0x410bbc['id'],'isFromAdapter':_0x3df2f0});}[_0x1058e0(0x1a9)]({isFromAdapter:_0x24a289=!0x1}={}){const _0x406b5e=_0x1058e0,{channelId:_0x247b00,id:_0x15460b}=this;this[_0x406b5e(0x155)][_0x406b5e(0x1d6)](Nt(_0x406b5e(0x128),_0x247b00),{'channelId':_0x247b00,'threadId':_0x15460b,'isFromAdapter':_0x24a289});}[_0x1058e0(0x1d9)](_0x475a77){const _0x318165=_0x1058e0;this[_0x318165(0x130)]||this[_0x318165(0x161)]({'context':_0x475a77});}[_0x1058e0(0x181)](_0x36794d,_0x1f0c7a){const _0x46e0d0=_0x1058e0,_0x1dee6e=_0x281b88(this[_0x46e0d0(0x191)]);_0x4abe96(_0x1dee6e,_0x36794d,_0x1f0c7a),this[_0x46e0d0(0x161)]({'attributes':_0x1dee6e});}[_0x1058e0(0x12b)](_0x445311){const _0x257239=_0x1058e0,_0x33a613=_0x281b88(this[_0x257239(0x191)]);_0x429a56(_0x33a613,_0x445311),this[_0x257239(0x161)]({'attributes':_0x33a613});}[_0x1058e0(0x1aa)]({isFromAdapter:_0x5a271b=!0x1}={}){const _0x161d6e=_0x1058e0,{channelId:_0x328d3a,id:_0x5e7da1}=this;this[_0x161d6e(0x155)][_0x161d6e(0x1d6)](Nt(_0x161d6e(0x132),_0x328d3a),{'channelId':_0x328d3a,'threadId':_0x5e7da1,'isFromAdapter':_0x5a271b});}[_0x1058e0(0x1b5)](_0x2a3f58){const _0xcc5303=_0x1058e0;return this[_0xcc5303(0x155)][_0xcc5303(0x176)]({'threadId':this['id'],'target':_0x2a3f58});}[_0x1058e0(0x1a0)](_0x5825f9){const _0x2f5381=_0x1058e0,{channelId:_0x6e08bb,id:_0x356059}=this;this[_0x2f5381(0x155)][_0x2f5381(0x1d6)](Nt(_0x2f5381(0x1a0),_0x6e08bb,_0x356059),Object[_0x2f5381(0x150)]({'channelId':_0x6e08bb,'threadId':_0x356059},_0x5825f9));}[_0x1058e0(0x1ac)](_0x48ae52){const _0x4585de=_0x1058e0;if(_0x4585de(0x10d)!=typeof _0x48ae52)throw new _0x38e8fb(_0x4585de(0x122),null,{'commentId':_0x48ae52});return this[_0x4585de(0x18d)][_0x4585de(0x1ca)](_0x48ae52);}[_0x1058e0(0x173)](){const _0x16a32d=_0x1058e0;return{'threadId':this['id'],'context':this[_0x16a32d(0x130)],'unlinkedAt':this[_0x16a32d(0x1b6)],'resolvedAt':this[_0x16a32d(0x178)],'resolvedBy':this[_0x16a32d(0x193)]?this[_0x16a32d(0x193)]['id']:null,'archivedAt':this[_0x16a32d(0x1b4)],'comments':this[_0x16a32d(0x18d)][_0x16a32d(0x1a2)](_0x55900d=>_0x55900d[_0x16a32d(0x173)]()),'attributes':this[_0x16a32d(0x191)]};}[_0x1058e0(0x19f)](_0x1bdc58){const _0x421cd8=_0x1058e0;return this[_0x421cd8(0x1d5)](_0x1bdc58,_0x421cd8(0x10c),()=>{const _0x229b00=_0x421cd8,_0x119111=this[_0x229b00(0x118)](_0x1bdc58),_0x2a920a=this[_0x229b00(0x18d)];_0x119111-0x1!=_0x2a920a[_0x229b00(0x1b0)](_0x1bdc58)&&_0x119111+0x1!=_0x2a920a[_0x229b00(0x1b0)](_0x1bdc58)&&(this[_0x229b00(0x1bf)](_0x1bdc58),this[_0x229b00(0x19f)](_0x1bdc58));}),this[_0x421cd8(0x18d)][_0x421cd8(0x153)](_0x1bdc58,this[_0x421cd8(0x118)](_0x1bdc58));}[_0x1058e0(0x161)](_0x5d2cd6){const _0x4bf47f=_0x1058e0,{channelId:_0x7bc385,id:_0x9041d3}=this;this[_0x4bf47f(0x155)][_0x4bf47f(0x1d6)](Nt(_0x4bf47f(0x1d3),_0x7bc385),{..._0x5d2cd6,'channelId':_0x7bc385,'threadId':_0x9041d3});}[_0x1058e0(0x1bf)](_0x3e09c9){const _0xef0f71=_0x1058e0;return this[_0xef0f71(0x174)](_0x3e09c9),_0x3e09c9[_0xef0f71(0xfc)](),this[_0xef0f71(0x18d)][_0xef0f71(0x1aa)](_0x3e09c9);}[_0x1058e0(0x118)](_0x5da4ee){const _0x1da344=_0x1058e0,_0x3e23d0=this[_0x1da344(0x18d)][_0x1da344(0x1e2)](_0x4dd352=>new Date(_0x4dd352[_0x1da344(0x119)])[_0x1da344(0x160)]()>new Date(_0x5da4ee[_0x1da344(0x119)])[_0x1da344(0x160)]());return _0x3e23d0?this[_0x1da344(0x18d)][_0x1da344(0x1b0)](_0x3e23d0):this[_0x1da344(0x162)];}}function _0x2fb6(_0x21c171,_0x1e7943){const _0xf60738=_0xf607();return _0x2fb6=function(_0x2fb68,_0x2c5c3a){_0x2fb68=_0x2fb68-0xfc;let _0x437298=_0xf60738[_0x2fb68];return _0x437298;},_0x2fb6(_0x21c171,_0x1e7943);}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x4d3b17(){['id'];[_0x1058e0(0x1df)];[_0x1058e0(0x17d)];[_0x1058e0(0x100)];[_0x1058e0(0x10e)];[_0x1058e0(0x1c1)];[_0x1058e0(0x155)];constructor(_0x467a57,_0x21335c){const _0x4104bc=_0x1058e0;super();const _0x23af80=_0x467a57[_0x4104bc(0x130)][_0x4104bc(0x142)][_0x4104bc(0x1ca)](_0x9db1fc)['me'],_0x5a0bb9=_0x467a57[_0x4104bc(0x19e)](_0x21335c[_0x4104bc(0x1df)]),_0x19bbe2=0x0===_0x5a0bb9[_0x4104bc(0x18d)][_0x4104bc(0x162)],_0x2b1b37=_0x23af80===_0x21335c[_0x4104bc(0x17d)];this['id']=_0x21335c['id'],this[_0x4104bc(0x1df)]=_0x21335c[_0x4104bc(0x1df)],this[_0x4104bc(0x17d)]=_0x21335c[_0x4104bc(0x17d)],this[_0x4104bc(0x100)]=_0x21335c[_0x4104bc(0x100)],this[_0x4104bc(0x10e)]=Boolean(_0x21335c[_0x4104bc(0x191)]&&_0x21335c[_0x4104bc(0x191)][_0x4104bc(0x185)]),this[_0x4104bc(0x175)](_0x4104bc(0x11e),_0x21335c[_0x4104bc(0x11e)]),this[_0x4104bc(0x1c1)]=_0x21335c[_0x4104bc(0x1c1)]||new Date(),this[_0x4104bc(0x175)](_0x4104bc(0x119),_0x21335c[_0x4104bc(0x119)]||new Date()),this[_0x4104bc(0x116)](_0x4104bc(0x178))['to'](_0x5a0bb9,_0x4104bc(0x178)),this[_0x4104bc(0x175)](_0x4104bc(0x191),_0x21335c[_0x4104bc(0x191)]||{}),this[_0x4104bc(0x116)](_0x4104bc(0x1b9))['to'](_0x467a57,_0x4104bc(0x11d),()=>{const _0x5dfa60=_0x4104bc,_0x4d4db4=_0x467a57[_0x5dfa60(0x10a)](_0x5a0bb9[_0x5dfa60(0x125)])[_0x5dfa60(0x14e)],_0x19afeb=_0x467a57[_0x5dfa60(0x10a)](_0x5a0bb9[_0x5dfa60(0x125)])[_0x5dfa60(0x102)];return _0x2b1b37&&_0x4d4db4||!_0x2b1b37&&_0x19afeb;}),this[_0x4104bc(0x116)](_0x4104bc(0x154))['to'](_0x5a0bb9,_0x4104bc(0x154),_0x467a57,_0x4104bc(0x11d),_0x3f2268=>{const _0x252710=_0x4104bc,_0x14309a=_0x467a57[_0x252710(0x10a)](_0x5a0bb9[_0x252710(0x125)])[_0x252710(0x14e)],_0xe7001f=_0x467a57[_0x252710(0x10a)](_0x5a0bb9[_0x252710(0x125)])[_0x252710(0x102)];return _0x2b1b37&&_0x14309a||_0x3f2268&&_0x19bbe2||!_0x2b1b37&&_0xe7001f&&!_0x19bbe2;}),this[_0x4104bc(0x116)](_0x4104bc(0x12d))['to'](_0x5a0bb9,_0x4104bc(0x12d)),this[_0x4104bc(0x155)]=_0x467a57;}get[_0x1058e0(0x133)](){const _0x538f1c=_0x1058e0;return Math[_0x538f1c(0x136)](function(_0xa743de){const _0x226bf8=_0x538f1c,_0x438fac=document[_0x226bf8(0x110)](_0x226bf8(0x145));return _0x438fac[_0x226bf8(0x1a1)]=_0xa743de,_0x438fac[_0x226bf8(0x139)][_0x226bf8(0x162)];}(this[_0x538f1c(0x11e)]),0xc8);}[_0x1058e0(0x159)](_0xeef277){const _0x395bb3=_0x1058e0,{threadId:_0x5e363b,id:_0x25b226}=this;if(!this[_0x395bb3(0x155)][_0x395bb3(0x134)](_0x5e363b))throw new _0x38e8fb(_0x395bb3(0x1d0),this);const {channelId:_0x298bdf}=this[_0x395bb3(0x155)][_0x395bb3(0x19e)](_0x5e363b);this[_0x395bb3(0x155)][_0x395bb3(0x1d6)](Nt(_0x395bb3(0x1bb),_0x298bdf,_0x5e363b),{'channelId':_0x298bdf,'threadId':_0x5e363b,'commentId':_0x25b226,..._0xeef277});}[_0x1058e0(0x181)](_0x3d712c,_0x376b3e){const _0x272534=_0x1058e0,_0x1233ff=_0x281b88(this[_0x272534(0x191)]);_0x4abe96(_0x1233ff,_0x3d712c,_0x376b3e),this[_0x272534(0x159)]({'attributes':_0x1233ff});}[_0x1058e0(0x12b)](_0x5793ba){const _0x46c2bf=_0x1058e0,_0x253326=_0x281b88(this[_0x46c2bf(0x191)]);_0x429a56(_0x253326,_0x5793ba),this[_0x46c2bf(0x159)]({'attributes':_0x253326});}[_0x1058e0(0x1aa)](_0x44285e={}){const _0x1c22e1=_0x1058e0;if(!_0x44285e[_0x1c22e1(0x129)]&&!this[_0x1c22e1(0x154)])return;const {threadId:_0x10e75a,id:_0x51d3a8}=this;if(!this[_0x1c22e1(0x155)][_0x1c22e1(0x134)](_0x10e75a))throw new _0x38e8fb(_0x1c22e1(0x1ab),this);const {channelId:_0x334603}=this[_0x1c22e1(0x155)][_0x1c22e1(0x19e)](_0x10e75a);this[_0x1c22e1(0x155)][_0x1c22e1(0x1d6)](Nt(_0x1c22e1(0x17a),_0x334603,_0x10e75a),{'channelId':_0x334603,'threadId':_0x10e75a,'commentId':_0x51d3a8,..._0x44285e});}[_0x1058e0(0x173)](){const _0x1fe5f3=_0x1058e0;return{'commentId':this['id'],'content':this[_0x1fe5f3(0x11e)],'createdAt':this[_0x1fe5f3(0x1c1)],'authorId':this[_0x1fe5f3(0x100)]['id'],'attributes':this[_0x1fe5f3(0x191)]};}[_0x1058e0(0xfc)](){const _0x1be202=_0x1058e0;this[_0x1be202(0x174)]();}}function Nt(_0x1f0c26,..._0xece080){for(const _0xe156cd of _0xece080)void 0x0!==_0xe156cd&&(_0x1f0c26+=':'+String(_0xe156cd));return _0x1f0c26;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x5c67e6=_0x47df;function _0x5214(){const _0x5edd2a=['isOfficialPlugin','commentsLicenseKeyTrialLimit','listenTo','editor','Comments','comment:','licenseKey','removeCommentThread','4761393rKIzvE','destroy','innerView','getRange','change:activeAnnotations','view','stop','highest','5SKxRGf','commentsLicenseKeyValid','commentsLicenseKeyUsageLimit','config','push','isPremiumPlugin','commentsLicenseKeyDomainLimit','pluginName','commentsLicenseKeyEvaluationLimit','11wOlJOF','1056LzDOeA','Comment','addComment','invalid','domainLimit','hasCommentThread','expired','isEnabled','commands','menuBar:comment','isFocused','36327730nhxEKX','editing','length','CommentsUI','model','low','commentsLicenseKeyExpired','getCommentThread','_showLicenseError','locale','featureNotAllowed','get','plugins','addCommentThread','componentFactory','587RjaHLm','commentsLicenseKeyNotAllowed','1996844mYGDWn','trialLimit','commentsLicenseKeyInvalid','bind','comment','has','activeMarker','add','CommentsListView','_licenseKeyCheckInterval','_createUIButton','tooltip','3856272gdCgCU','_viewToController','_threadToController','addSourceCollector','hasContent','113364ziItnK','requires','11436YHYscX','focus','hasMarkerForId','focusTracker','map','evaluationLimit','execute','init','from','CommentThreadInputView','getAllMarkersForId','734cFrQsr','usageLimit','set','find'];_0x5214=function(){return _0x5edd2a;};return _0x5214();}(function(_0x28a43e,_0x3645cf){const _0x52ca2a=_0x47df,_0x45e14f=_0x28a43e();while(!![]){try{const _0x435c79=parseInt(_0x52ca2a(0xfd))/0x1*(parseInt(_0x52ca2a(0x11d))/0x2)+parseInt(_0x52ca2a(0xd1))/0x3+-parseInt(_0x52ca2a(0xff))/0x4*(-parseInt(_0x52ca2a(0xd9))/0x5)+-parseInt(_0x52ca2a(0x112))/0x6+parseInt(_0x52ca2a(0x10b))/0x7+parseInt(_0x52ca2a(0xe3))/0x8*(parseInt(_0x52ca2a(0x110))/0x9)+-parseInt(_0x52ca2a(0xee))/0xa*(parseInt(_0x52ca2a(0xe2))/0xb);if(_0x435c79===_0x3645cf)break;else _0x45e14f['push'](_0x45e14f['shift']());}catch(_0x1bcdf5){_0x45e14f['push'](_0x45e14f['shift']());}}}(_0x5214,0xd7014));import{Plugin as _0x184251}from'ckeditor5/src/core.js';import{IconAddComment as _0x1a04ec}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x33e1bb}from'./commentsrepository.js';function _0x47df(_0x358140,_0x69d5dd){const _0x52143c=_0x5214();return _0x47df=function(_0x47df16,_0x5be974){_0x47df16=_0x47df16-0xc6;let _0x40ad82=_0x52143c[_0x47df16];return _0x40ad82;},_0x47df(_0x358140,_0x69d5dd);}import{CommentsEditing as _0x58dc99}from'./commentsediting.js';import{EditorAnnotations as _0x29a4cc}from'../annotations/editorannotations.js';import{ButtonView as _0x7bc6bc,MenuBarMenuListItemButtonView as _0xd29efa}from'ckeditor5/src/ui.js';import{Annotations as _0x465dfa}from'../annotations/annotations.js';import{CommentsListView as _0x5e9b98}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x393969}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x10c877}from'../utils/common-translations.js';export class CommentsUI extends _0x184251{[_0x5c67e6(0xcf)];[_0x5c67e6(0x108)];static get[_0x5c67e6(0xe0)](){const _0x159574=_0x5c67e6;return _0x159574(0xf1);}static get[_0x5c67e6(0xc9)](){return!0x0;}static get[_0x5c67e6(0xde)](){return!0x0;}static get[_0x5c67e6(0x111)](){return[_0x33e1bb,_0x58dc99,_0x29a4cc,_0x465dfa];}get[_0x5c67e6(0x107)](){return _0x5e9b98;}get[_0x5c67e6(0x11b)](){return _0x393969;}[_0x5c67e6(0x119)](){const _0x3820a7=_0x5c67e6,_0x198b37=this[_0x3820a7(0xcc)],_0x16e425=_0x198b37[_0x3820a7(0xfa)][_0x3820a7(0xf9)](_0x33e1bb),_0x3f338c=_0x198b37[_0x3820a7(0xfa)][_0x3820a7(0xf9)](_0x58dc99),_0x338885=_0x198b37[_0x3820a7(0xfa)][_0x3820a7(0xf9)](_0x465dfa),_0x219532=_0x198b37[_0x3820a7(0xfa)][_0x3820a7(0xf9)](_0x29a4cc);_0x198b37['ui'][_0x3820a7(0xfc)][_0x3820a7(0x106)](_0x3820a7(0x103),()=>{const _0x57b6c7=_0x3820a7,_0x11202d=this[_0x57b6c7(0x109)](_0x7bc6bc);return _0x11202d[_0x57b6c7(0x10a)]=!0x0,_0x11202d;}),_0x198b37['ui'][_0x3820a7(0xfc)][_0x3820a7(0x106)](_0x3820a7(0xec),()=>this[_0x3820a7(0x109)](_0xd29efa)),_0x219532[_0x3820a7(0x10e)](()=>{const _0x4459c0=_0x3820a7,_0x1c5d8f=[];for(const [_0x1ca675,_0x565e58]of _0x16e425[_0x4459c0(0x10d)]){const _0x103311=_0x3f338c[_0x4459c0(0x11c)](_0x1ca675['id']),_0x69dac7=_0x103311[_0x4459c0(0x116)](_0x3f4f2e=>_0x3f4f2e[_0x4459c0(0xd4)]());_0x103311[_0x4459c0(0xf0)]>0x0&&_0x1c5d8f[_0x4459c0(0xdd)]([_0x565e58[_0x4459c0(0xd6)],_0x69dac7]);}return _0x1c5d8f;}),this[_0x3820a7(0xcb)](_0x338885,_0x3820a7(0xd5),(_0x385a85,_0x62c523,_0x183ee7)=>{const _0x417be8=_0x3820a7,_0x500a2c=Array[_0x417be8(0x11a)](_0x183ee7)[_0x417be8(0x116)](_0x46364b=>_0x46364b[_0x417be8(0xd3)])[_0x417be8(0xc8)](_0x5f10f0=>_0x16e425[_0x417be8(0x10c)][_0x417be8(0x104)](_0x5f10f0));if(!_0x500a2c)return void(_0x3f338c[_0x417be8(0x105)]=null);const _0x2c379a=_0x16e425[_0x417be8(0x10c)][_0x417be8(0xf9)](_0x500a2c)[_0x417be8(0xf2)]['id'],_0x11e1d7=_0x417be8(0xce)+_0x2c379a;_0x2c379a&&_0x3f338c[_0x417be8(0x114)](_0x2c379a)?_0x3f338c[_0x417be8(0x105)]=_0x11e1d7:_0x3f338c[_0x417be8(0x105)]&&(_0x3f338c[_0x417be8(0x105)]=null);}),this[_0x3820a7(0xcb)](_0x16e425,_0x3820a7(0xd0),(_0x5db645,{threadId:_0x3ef550,isFromAdapter:_0x3fd6e6})=>{const _0x2299e2=_0x3820a7;!_0x3fd6e6&&_0x198b37['ui'][_0x2299e2(0x115)][_0x2299e2(0xed)]&&_0x3f338c[_0x2299e2(0x114)](_0x3ef550)&&_0x198b37[_0x2299e2(0xef)][_0x2299e2(0xd6)][_0x2299e2(0x113)]();},{'priority':_0x3820a7(0xd8)}),this[_0x3820a7(0xcb)](_0x16e425,_0x3820a7(0xe5),(_0x5cfdf3,{threadId:_0x4dacd4,isFromAdapter:_0x3f13ff})=>{const _0x538377=_0x3820a7;if(_0x3f13ff||!_0x3f338c[_0x538377(0x114)](_0x4dacd4)||!_0x16e425[_0x538377(0xe8)](_0x4dacd4))return;0x1===_0x16e425[_0x538377(0xf5)](_0x4dacd4)[_0x538377(0xf0)]&&(_0x198b37[_0x538377(0xef)][_0x538377(0xd6)][_0x538377(0x113)](),_0x5cfdf3[_0x538377(0xd7)]());},{'priority':_0x3820a7(0xf3)}),this[_0x3820a7(0xcf)]=this[_0x3820a7(0xcc)][_0x3820a7(0xdc)][_0x3820a7(0xf9)](_0x3820a7(0xcf));const _0x57b1c8=this[_0x3820a7(0xcc)];this[_0x3820a7(0x108)]=setInterval(()=>{const _0x213c7e=_0x3820a7;let _0xdf20e;for(const _0x346933 in _0x57b1c8){const _0x18a3fb=_0x346933,_0x27ac6d=_0x57b1c8[_0x18a3fb];if(_0x213c7e(0xda)==_0x27ac6d||_0x213c7e(0x101)==_0x27ac6d||_0x213c7e(0xf4)==_0x27ac6d||_0x213c7e(0xdf)==_0x27ac6d||_0x213c7e(0xfe)==_0x27ac6d||_0x213c7e(0xe1)==_0x27ac6d||_0x213c7e(0xca)==_0x27ac6d||_0x213c7e(0xdb)==_0x27ac6d){delete _0x57b1c8[_0x18a3fb],_0xdf20e=_0x27ac6d,clearInterval(this[_0x213c7e(0x108)]),this[_0x213c7e(0x108)]=void 0x0;break;}}_0x213c7e(0x101)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0xe6)),_0x213c7e(0xf4)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0xe9)),_0x213c7e(0xdf)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0xe7)),_0x213c7e(0xfe)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0xf8),_0x213c7e(0xcd)),_0x213c7e(0xe1)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0x117)),_0x213c7e(0xca)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0x100)),_0x213c7e(0xdb)==_0xdf20e&&_0x57b1c8[_0x213c7e(0xf6)](_0x213c7e(0xc6));},0x3e8);}[_0x5c67e6(0xd2)](){const _0x408739=_0x5c67e6;super[_0x408739(0xd2)](),this[_0x408739(0x108)]&&clearInterval(this[_0x408739(0x108)]);}[_0x5c67e6(0x109)](_0x88d018){const _0x4da517=_0x5c67e6,_0x1a1939=this[_0x4da517(0xcc)],_0x27dfef=new _0x88d018(_0x1a1939[_0x4da517(0xf7)]),_0x55f5be=_0x1a1939[_0x4da517(0xeb)][_0x4da517(0xf9)](_0x4da517(0xfb));return _0x27dfef[_0x4da517(0xc7)]({'label':_0x10c877(_0x1a1939[_0x4da517(0xf7)],_0x4da517(0xe4)),'icon':_0x1a04ec}),_0x27dfef[_0x4da517(0x102)](_0x4da517(0xea))['to'](_0x55f5be,_0x4da517(0xea),_0x55f5be,_0x4da517(0x10f),(_0x1247f2,_0x259c36)=>_0x1247f2&&_0x259c36),this[_0x4da517(0xcb)](_0x27dfef,_0x4da517(0x118),()=>{const _0x2a691d=_0x4da517;_0x55f5be[_0x2a691d(0x118)]();}),_0x27dfef;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x42f3a5=_0x49e0;(function(_0x12a32e,_0x57b4b6){const _0x325667=_0x49e0,_0x1c17d1=_0x12a32e();while(!![]){try{const _0x1b7e5a=-parseInt(_0x325667(0xf1))/0x1+-parseInt(_0x325667(0x107))/0x2*(parseInt(_0x325667(0x101))/0x3)+-parseInt(_0x325667(0xf8))/0x4*(-parseInt(_0x325667(0x114))/0x5)+-parseInt(_0x325667(0x100))/0x6*(-parseInt(_0x325667(0x113))/0x7)+parseInt(_0x325667(0x10c))/0x8+parseInt(_0x325667(0xfe))/0x9*(-parseInt(_0x325667(0xfa))/0xa)+-parseInt(_0x325667(0x110))/0xb;if(_0x1b7e5a===_0x57b4b6)break;else _0x1c17d1['push'](_0x1c17d1['shift']());}catch(_0x4c65fc){_0x1c17d1['push'](_0x1c17d1['shift']());}}}(_0x16d9,0x1ab74));import{Plugin as _0x140da8}from'ckeditor5/src/core.js';function _0x49e0(_0x256db1,_0x33a565){const _0x16d9e8=_0x16d9();return _0x49e0=function(_0x49e020,_0x143077){_0x49e020=_0x49e020-0xf0;let _0x47281b=_0x16d9e8[_0x49e020];return _0x47281b;},_0x49e0(_0x256db1,_0x33a565);}function _0x16d9(){const _0x5143e8=['split','579480DmDNiL','hasCommentThread','config','_mapCommentsCopyConfigToRegisterConfiguration','1039269llKEnA','afterInit','never','134792evpdWU','556190uzLvSt','ClipboardMarkersUtils','_removeMarkersWithoutThreads','_registerMarkerToCopy','CommentsRepository','markers','listenTo','comments.copyMarkers','3295UfYhrk','highest','_registerMarkerInClipboardPipeline','default','always','ClipboardPipeline','all','4dOaSHK','editor','23930ZDbQXd','cut','dragstart','keys','216nMHJsV','requires','60vyWVvh','334797tJFucu','plugins','comment','content','get','delete','2YyXjFO','has','contentInsertion','define'];_0x16d9=function(){return _0x5143e8;};return _0x16d9();}import{ClipboardPipeline as _0x205026,ClipboardMarkersUtils as _0x47782a}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x140da8{constructor(_0x127b1a){const _0x328f02=_0x49e0;super(_0x127b1a),this[_0x328f02(0xf9)][_0x328f02(0x10e)][_0x328f02(0x10a)](_0x328f02(0xf0),_0x328f02(0xf4));}static get[_0x42f3a5(0xff)](){return[_0x47782a,_0x205026];}[_0x42f3a5(0x111)](){const _0x5a49ca=_0x42f3a5,_0x181ad7=this[_0x5a49ca(0xf9)][_0x5a49ca(0x102)][_0x5a49ca(0x105)](_0x5a49ca(0xf6));this[_0x5a49ca(0xf3)](),this[_0x5a49ca(0x11a)](_0x181ad7,_0x5a49ca(0x109),(_0x113339,_0x179a26)=>this[_0x5a49ca(0x116)](_0x179a26[_0x5a49ca(0x104)][_0x5a49ca(0x119)]),{'priority':_0x5a49ca(0xf2)});}[_0x42f3a5(0x116)](_0x5555f7){const _0x24fa29=_0x42f3a5;if(!this[_0x24fa29(0xf9)][_0x24fa29(0x102)][_0x24fa29(0x108)](_0x24fa29(0x118)))return _0x5555f7;const _0x4c66b1=this[_0x24fa29(0xf9)][_0x24fa29(0x102)][_0x24fa29(0x105)](_0x24fa29(0x118));for(const _0x5c741b of _0x5555f7[_0x24fa29(0xfd)]()){const [_0x2c50b8,_0x1ef73d]=_0x5c741b[_0x24fa29(0x10b)](':');_0x24fa29(0x103)!=_0x2c50b8||_0x4c66b1[_0x24fa29(0x10d)](_0x1ef73d)||_0x5555f7[_0x24fa29(0x106)](_0x5c741b);}return _0x5555f7;}[_0x42f3a5(0xf3)](){const _0x462f76=_0x42f3a5,_0x3f07b8=this[_0x462f76(0xf9)][_0x462f76(0x102)][_0x462f76(0x105)](_0x462f76(0x115)),_0x8a4645=this[_0x462f76(0x10f)](this[_0x462f76(0xf9)][_0x462f76(0x10e)][_0x462f76(0x105)](_0x462f76(0xf0)));_0x8a4645&&_0x3f07b8[_0x462f76(0x117)](_0x462f76(0x103),_0x8a4645);}[_0x42f3a5(0x10f)](_0x53a538){const _0xa7051b=_0x42f3a5;switch(_0x53a538){case _0xa7051b(0xf5):return{'allowedActions':_0xa7051b(0xf7),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0xa7051b(0xf4):return{'allowedActions':[_0xa7051b(0xfb),_0xa7051b(0xfc)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0xa7051b(0x112):return null;default:return null;}}}
|