@ckeditor/ckeditor5-comments 47.2.0-alpha.2 → 47.2.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +18 -18
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x16c653=_0x46b1;(function(_0x466961,_0x202168){const _0x706887=_0x46b1,_0x426b70=_0x466961();while(!![]){try{const _0x5d28b0=-parseInt(_0x706887(0x270))/0x1*(-parseInt(_0x706887(0x20e))/0x2)+parseInt(_0x706887(0x246))/0x3*(-parseInt(_0x706887(0x271))/0x4)+parseInt(_0x706887(0x1ff))/0x5+parseInt(_0x706887(0x24b))/0x6*(parseInt(_0x706887(0x1ed))/0x7)+-parseInt(_0x706887(0x228))/0x8*(-parseInt(_0x706887(0x204))/0x9)+-parseInt(_0x706887(0x248))/0xa*(-parseInt(_0x706887(0x1df))/0xb)+-parseInt(_0x706887(0x202))/0xc*(parseInt(_0x706887(0x212))/0xd);if(_0x5d28b0===_0x202168)break;else _0x426b70['push'](_0x426b70['shift']());}catch(_0x25779d){_0x426b70['push'](_0x426b70['shift']());}}}(_0x9a9f,0xeb369));import{Plugin as _0x758e77}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x51d5cb,scrollViewportToShowTarget as _0x2704ac,uid as _0x15eb86}from'ckeditor5/src/utils.js';function _0x9a9f(){const _0x51bac5=['clear','comments','switchReadOnly','commands','upcast','config','differ','name','map','_initAriaMarkerChangeAnnouncements','push','unlinkedAt','change:activeMarker','markerToHighlight','3479896UkjpgO','then','change:isReadOnly','$marker','newRange','_getTextContext','resolveCommentThread','substring','context','first','collaboration.channelId','href','isSubmitted','model','author','comment:','view','isAttached','channelId','attachTo','hasMarkerForId','LEAVE_COMMENT_ANNOUNCEMENT','state','createElement','getRange','_attachMarkerToThread','rootName','hasDomSelection','set','length','11490BCnDYF','document','610IUhLgI','fromCharCode','conversion','6ZAxKfY','listenTo','editingDowncast','focus','afterInit','_handleThreadMarker','remove','editing','size','dataDowncast','once','getByInnerView','getAllMarkersForId','removeCommentThread','showCommentHighlights','group','pluginName','addComment','getChangedMarkers','fetchCommentThread','ariaLiveAnnouncer','consume','managedUsingOperations','filter','isResolved','item','getCommentThread','_initializeMarkerConverters','start','markers','schema','destroy','get','render','_getTargetForId','dataToMarker','plugins','6MaruoG','1484OxiVbg','updateMarker','getAttribute','registerPostFixer','isOfficialPlugin','scrollToThreadMarker','announce','getCommentThreads','requires','for','reconvertMarker','createRange','_handleInitialThreads','elementToElement','createPositionBefore','destroyed','isEqual','isCollapsed','hasCommentThread','enqueueChange','_hasTargetInContent','104225UACwsW','_threads','refreshVisibility','setUnlinkedAt','from','removeMarker:','addMarker:','delete','ignoreResolvedComments','startsWith','markerToData','editor','hasContent','setContext','10691534HUgCWY','openNewCommentThread','consumable','_threadToController','CommentsEditing','registerAnnotation','locale','getItems','_reconvertMarkers','ck-comment-marker--active','change:isThreadsLoadingPaused','init','_attachArchivedThread','addCommentThread','isThreadsLoadingPaused','_handleMarkerAddAndRemove','end','isObject','8201265ZDuSCV','activeMarker','$graveyard','15996Qsbwor','reopenCommentThread','27xekKkw','ENTER_COMMENT_ANNOUNCEMENT','root','markerName','ready','change','_detachCommentThread','add','$textProxy','getWalker','200776quKFXO','low','ck-comment-marker','isPremiumPlugin','31876LpVxgy','text','join','data','comment','removeMarker','forEach','affectsData'];_0x9a9f=function(){return _0x51bac5;};return _0x9a9f();}import{CommentsRepository as _0x11c0ea}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x8061b1}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x127939,getAllMarkersDomElementsSorted as _0x12d021,FOCUS_ANNOTATION_KEYSTROKE as _0x9fe190,Users as _0x52f659}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x465605}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x60560}from'./integrations/commentsrestrictededitingmode.js';function _0x46b1(_0x2d0e79,_0x153c87){const _0x9a9f19=_0x9a9f();return _0x46b1=function(_0x46b17a,_0x2bba65){_0x46b17a=_0x46b17a-0x1de;let _0x20181d=_0x9a9f19[_0x46b17a];return _0x20181d;},_0x46b1(_0x2d0e79,_0x153c87);}import{CommentsImportWord as _0x317b2f}from'./integrations/importword.js';import{CommentsClipboard as _0x2a2885}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x18ec3c}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x372046}from'../annotations/annotations.js';import{getTranslation as _0x24a0ad}from'../utils/common-translations.js';import{splitMarkerName as _0x4a8a9e}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x758e77{static get[_0x16c653(0x279)](){return[_0x11c0ea,_0x465605,_0x52f659,_0x60560,_0x317b2f,_0x2a2885,_0x18ec3c];}static get[_0x16c653(0x25b)](){const _0x41afb9=_0x16c653;return _0x41afb9(0x1f1);}static get[_0x16c653(0x275)](){return!0x0;}static get[_0x16c653(0x211)](){return!0x0;}constructor(_0x43ef21){const _0x5519d0=_0x16c653;super(_0x43ef21),this[_0x5519d0(0x244)](_0x5519d0(0x1fb),!0x0),_0x43ef21[_0x5519d0(0x215)][_0x5519d0(0x255)](_0x5519d0(0x208),()=>this[_0x5519d0(0x1fb)]=!0x1),this[_0x5519d0(0x244)](_0x5519d0(0x200),null),this['on'](_0x5519d0(0x226),(_0x435bdc,_0x373976,_0x37ca70,_0x13bcdf)=>{const _0x4e2fe3=_0x5519d0,_0x29c4a3=_0x43ef21[_0x4e2fe3(0x26f)][_0x4e2fe3(0x26b)](_0x11c0ea),_0x214db5=_0x37ca70?_0x4a8a9e(_0x37ca70)['id']:null;_0x43ef21[_0x4e2fe3(0x235)][_0x4e2fe3(0x209)](()=>{const _0x29e8e4=_0x4e2fe3;if(_0x214db5){const _0x27a229=this[_0x29e8e4(0x257)](_0x214db5);for(const _0xa25186 of _0x27a229)_0x43ef21[_0x29e8e4(0x252)][_0x29e8e4(0x27b)](_0xa25186);}if(_0x13bcdf){const {id:_0x2bddcd}=_0x4a8a9e(_0x13bcdf),_0x406baf=_0x29c4a3[_0x29e8e4(0x265)](_0x2bddcd);if(_0x406baf&&_0x406baf[_0x29e8e4(0x225)])return;if(_0x406baf&&!_0x406baf[_0x29e8e4(0x239)])return;const _0x5e5715=this[_0x29e8e4(0x257)](_0x2bddcd);for(const _0x390636 of _0x5e5715)_0x43ef21[_0x29e8e4(0x252)][_0x29e8e4(0x27b)](_0x390636);}}),_0x214db5&&this[_0x4e2fe3(0x276)](_0x214db5);}),this[_0x5519d0(0x223)]();}[_0x16c653(0x1f8)](){const _0x5aeecd=_0x16c653,_0x20be4a=this[_0x5aeecd(0x1ea)],_0x1c3e86=_0x20be4a[_0x5aeecd(0x26f)][_0x5aeecd(0x26b)](_0x11c0ea),_0x36120f=_0x20be4a[_0x5aeecd(0x21f)][_0x5aeecd(0x26b)](_0x5aeecd(0x232)),_0x445c6d=_0x1c3e86[_0x5aeecd(0x278)]()[_0x5aeecd(0x262)](_0x59e585=>_0x59e585[_0x5aeecd(0x23a)]!==_0x36120f);_0x20be4a[_0x5aeecd(0x21d)][_0x5aeecd(0x20b)](_0x5aeecd(0x1fa),new _0x8061b1(_0x20be4a)),this[_0x5aeecd(0x24c)](_0x20be4a,_0x5aeecd(0x22a),(_0x2dc9fb,_0x1f6676,_0xcabfdf)=>{const _0x36f672=_0x5aeecd;_0x1c3e86[_0x36f672(0x21c)](_0xcabfdf,_0x20be4a[_0x36f672(0x21f)][_0x36f672(0x26b)](_0x36f672(0x232)));}),this[_0x5aeecd(0x24c)](_0x1c3e86,dt(_0x5aeecd(0x1fa),_0x36120f),(_0xb2c4f0,{threadId:_0x59cd84})=>{const _0xc14844=_0x5aeecd,_0x4c6936=this[_0xc14844(0x1ea)][_0xc14844(0x26f)][_0xc14844(0x26b)](_0x11c0ea)[_0xc14844(0x265)](_0x59cd84);_0x4c6936?.[_0xc14844(0x225)]&&this[_0xc14844(0x1f9)](_0x59cd84);}),this[_0x5aeecd(0x24c)](_0x1c3e86,dt(_0x5aeecd(0x258),_0x36120f),(_0x3cd7c0,{threadId:_0x15e86b})=>{const _0x4ef990=_0x5aeecd;_0x20be4a[_0x4ef990(0x235)][_0x4ef990(0x284)]({'isUndoable':!0x1},_0xedfe4d=>{const _0x294bce=_0x4ef990,_0x29ff99=this[_0x294bce(0x257)](_0x15e86b);for(const _0x283696 of _0x29ff99)_0xedfe4d[_0x294bce(0x217)](_0x283696);});}),this[_0x5aeecd(0x24c)](_0x1c3e86,dt(_0x5aeecd(0x22e),_0x36120f),(_0x5b7e2c,{threadId:_0x31e941})=>{const _0x16fa60=_0x5aeecd;(this[_0x16fa60(0x1f5)](_0x31e941),this[_0x16fa60(0x1ea)][_0x16fa60(0x252)][_0x16fa60(0x238)][_0x16fa60(0x243)])&&(this[_0x16fa60(0x1ea)][_0x16fa60(0x26f)][_0x16fa60(0x26b)](_0x11c0ea)[_0x16fa60(0x265)](_0x31e941)[_0x16fa60(0x225)]||this[_0x16fa60(0x1ea)][_0x16fa60(0x252)][_0x16fa60(0x238)][_0x16fa60(0x24e)]());},{'priority':_0x5aeecd(0x20f)}),this[_0x5aeecd(0x24c)](_0x1c3e86,dt(_0x5aeecd(0x203),_0x36120f),(_0x1f3614,{threadId:_0x29def0})=>{const _0xe959e0=_0x5aeecd;this[_0xe959e0(0x1f5)](_0x29def0);},{'priority':_0x5aeecd(0x20f)}),this[_0x5aeecd(0x24c)](_0x1c3e86,dt(_0x5aeecd(0x25c),_0x36120f),(_0x152125,{threadId:_0x13bb81,isFromAdapter:_0x19f2a4})=>{const _0x122241=_0x5aeecd,_0x476c7a=this[_0x122241(0x257)](_0x13bb81);if(_0x19f2a4||0x0==_0x476c7a[_0x122241(0x245)]||!_0x1c3e86[_0x122241(0x283)](_0x13bb81))return;0x1===_0x1c3e86[_0x122241(0x265)](_0x13bb81)[_0x122241(0x245)]&&_0x20be4a[_0x122241(0x235)][_0x122241(0x284)]({'isUndoable':!0x1},_0x4cb43b=>{const _0x4cbeeb=_0x122241;for(const _0x2c9929 of _0x476c7a)_0x4cb43b[_0x4cbeeb(0x272)](_0x2c9929,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x5aeecd(0x20f)}),this[_0x5aeecd(0x266)](),this[_0x5aeecd(0x1fc)](),this[_0x5aeecd(0x27d)](_0x445c6d);}[_0x16c653(0x24f)](){!async function(_0x38fc15){const _0x16726c=_0x51a471([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]),_0x142928=0x73460ab3,_0x4c4f06=0x73417d73^_0x142928,_0x1cb566=window[_0x51a471([0x44,0x61,0x74,0x65])][_0x51a471([0x6e,0x6f,0x77])](),_0x3f23d4=_0x38fc15[_0x51a471([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21aadc=new window[(_0x51a471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xffcbdb=>{_0x3f23d4[_0x51a471([0x6f,0x6e,0x63,0x65])](_0x51a471([0x72,0x65,0x61,0x64,0x79]),_0xffcbdb);}),_0x230612={[_0x51a471([0x6b,0x74,0x79])]:_0x51a471([0x45,0x43]),[_0x51a471([0x75,0x73,0x65])]:_0x51a471([0x73,0x69,0x67]),[_0x51a471([0x63,0x72,0x76])]:_0x51a471([0x50,0x2d,0x32,0x35,0x36]),[_0x51a471([0x78])]:_0x51a471([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]),[_0x51a471([0x79])]:_0x51a471([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]),[_0x51a471([0x61,0x6c,0x67])]:_0x51a471([0x45,0x53,0x32,0x35,0x36])},_0x2108f3=_0x3f23d4[_0x51a471([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x51a471([0x67,0x65,0x74])](_0x51a471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5cba24(){let _0x1b0705,_0xf26e1=null,_0x39a5ff=null;try{if(_0x2108f3==_0x51a471([0x47,0x50,0x4c]))return _0x51a471([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1b0705=_0x13de40(),!_0x1b0705)return _0x51a471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1b0705[_0x51a471([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39a5ff=_0x191312(_0x1b0705[_0x51a471([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1b0705[_0x51a471([0x6a,0x74,0x69])])),await _0x2d4965()?_0x130bfc()?_0x359958()?_0x51a471([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x590c08()?(_0x1b0705[_0x51a471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51a471([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf26e1=_0x4d2483(_0x51a471([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1b0705[_0x51a471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x51a471([0x74,0x72,0x69,0x61,0x6c])&&(_0xf26e1=_0x4d2483(_0x51a471([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x218dcc()):_0x51a471([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x51a471([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x51a471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x51a471([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x359958(){const _0x142ee3=[_0x51a471([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x51a471([0x74,0x72,0x69,0x61,0x6c])][_0x51a471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1b0705[_0x51a471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1cb566/0x3e8:0xe10*_0x4c4f06;return _0x1b0705[_0x51a471([0x65,0x78,0x70])]<_0x142ee3;}function _0x130bfc(){const _0xa83f60=_0x1b0705[_0x51a471([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0xa83f60)return!0x1;if(_0xa83f60[_0x51a471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51a471([0x2a])))return!0x0;if(_0xa83f60[_0x51a471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51a471([0x43,0x4d,0x54])))return!0x0;if(_0xa83f60[_0x51a471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51a471([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x595e18())return!0x0;if(_0xa83f60[_0x51a471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51a471([0x52,0x43,0x4d,0x54]))){if(_0x36f49b())return!0x0;if(_0x2709c5()||_0x3e288b())return!0x0;}return!0x1;}function _0x590c08(){const _0x4e8a5f=_0x46b1,_0x21800c=_0x1b0705[_0x51a471([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x21800c||0x0==_0x21800c[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x383766}=new URL(window[_0x51a471([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x4e8a5f(0x233)]);if(_0x21800c[_0x51a471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x383766))return!0x0;const _0x358a32=_0x383766[_0x51a471([0x73,0x70,0x6c,0x69,0x74])](_0x51a471([0x2e]));return _0x21800c[_0x51a471([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fe8a0=>_0x4fe8a0[_0x51a471([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51a471([0x2a])))[_0x51a471([0x6d,0x61,0x70])](_0x21582b=>_0x21582b[_0x51a471([0x73,0x70,0x6c,0x69,0x74])](_0x51a471([0x2e])))[_0x51a471([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x16476e=>_0x16476e[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x358a32[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51a471([0x6d,0x61,0x70])](_0x341b50=>Array(_0x358a32[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x341b50[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x51a471([0x66,0x69,0x6c,0x6c])](_0x341b50[0x0]===_0x51a471([0x2a])?_0x51a471([0x2a]):'')[_0x51a471([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x341b50))[_0x51a471([0x73,0x6f,0x6d,0x65])](_0x235776=>_0x358a32[_0x51a471([0x65,0x76,0x65,0x72,0x79])]((_0x2c90ff,_0x501ca6)=>_0x235776[_0x501ca6]===_0x2c90ff||_0x235776[_0x501ca6]===_0x51a471([0x2a])));}function _0x218dcc(){return _0xf26e1&&_0x39a5ff?new window[(_0x51a471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4fd9f7,_0x25bb53)=>{_0xf26e1[_0x51a471([0x74,0x68,0x65,0x6e])](_0x4fd9f7,_0x25bb53),_0x39a5ff[_0x51a471([0x74,0x68,0x65,0x6e])](_0x1d9e30=>{_0x1d9e30!=_0x51a471([0x56,0x61,0x6c,0x69,0x64])&&_0x4fd9f7(_0x1d9e30);},_0x25bb53);}):_0xf26e1||_0x39a5ff||_0x51a471([0x56,0x61,0x6c,0x69,0x64]);}}function _0x191312(_0x2ffbf0,_0x3865ca){return new window[(_0x51a471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x14afcb=>{if(_0x3dbb5f())return _0x14afcb(_0x51a471([0x56,0x61,0x6c,0x69,0x64]));_0x1c1a0d(),_0x3f23d4[_0x51a471([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x51a471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x20e141=!0x1;const _0x2f1a49=_0x15eb86();function _0x49d495(_0xa1e8d7){return!!_0xa1e8d7&&(typeof _0xa1e8d7===_0x51a471([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xa1e8d7===_0x51a471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xa1e8d7[_0x51a471([0x74,0x68,0x65,0x6e])]===_0x51a471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xa1e8d7[_0x51a471([0x63,0x61,0x74,0x63,0x68])]===_0x51a471([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x477712(_0xb6fee6){_0x5a96a3(_0xb6fee6)[_0x51a471([0x74,0x68,0x65,0x6e])](_0x4ed6e0=>{if(!_0x4ed6e0||_0x4ed6e0[_0x51a471([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x51a471([0x6f,0x6b]))return _0x51a471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c0be2(_0x438071(_0x2f1a49+_0x3865ca))!=_0x4ed6e0[_0x51a471([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x51a471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x51a471([0x56,0x61,0x6c,0x69,0x64]);})[_0x51a471([0x74,0x68,0x65,0x6e])](_0x5def80=>(_0x5dee92(),_0x5def80),()=>{const _0x48d776=_0x3cb915();return null==_0x48d776?(_0x5dee92(),_0x51a471([0x56,0x61,0x6c,0x69,0x64])):_0x51a471(_0x1cb566-_0x48d776>(0x574a8eb3^_0x142928)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x51a471([0x74,0x68,0x65,0x6e])](_0x14afcb)[_0x51a471([0x63,0x61,0x74,0x63,0x68])](()=>{_0x14afcb(_0x51a471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x137823=0x7370e433^_0x142928;function _0x5dee92(){const _0x5d56e8=_0x51a471([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c0be2(_0x438071(_0x2ffbf0)),_0x4d2201=_0x588537(_0x3c0be2(window[_0x51a471([0x4d,0x61,0x74,0x68])][_0x51a471([0x63,0x65,0x69,0x6c])](_0x1cb566/_0x137823)));window[_0x51a471([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51a471([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5d56e8,_0x4d2201);}function _0x3cb915(){const _0x38fc62=_0x51a471([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c0be2(_0x438071(_0x2ffbf0)),_0x482651=window[_0x51a471([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x51a471([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x38fc62);return _0x482651?window[_0x51a471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x588537(_0x482651),0x10)*_0x137823:null;}function _0x5a96a3(_0x4aac03){return new window[(_0x51a471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2371c2,_0x22ac52)=>{_0x4aac03[_0x51a471([0x74,0x68,0x65,0x6e])](_0x2371c2,_0x22ac52),window[_0x51a471([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x22ac52,0x7347de73^_0x142928);});}}_0x3f23d4[_0x51a471([0x6f,0x6e])](_0x51a471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x538a44,_0x15f39e)=>{if(_0x15f39e[0x0]!=_0x2ffbf0)return _0x14afcb(_0x51a471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x15f39e[0x1]={..._0x15f39e[0x1],[_0x51a471([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2f1a49};},{[_0x51a471([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51a471([0x68,0x69,0x67,0x68])}),_0x3f23d4[_0x51a471([0x6f,0x6e])](_0x51a471([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x54c4e2=>{_0x49d495(_0x54c4e2[_0x51a471([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x20e141=!0x0,_0x477712(_0x54c4e2[_0x51a471([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x51a471([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x51a471([0x6c,0x6f,0x77])}),_0x21aadc[_0x51a471([0x74,0x68,0x65,0x6e])](()=>{_0x20e141||_0x14afcb(_0x51a471([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3dbb5f(){return _0x3f23d4[_0x51a471([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51a471([0x76,0x69,0x65,0x77])][_0x51a471([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x51a471([0x61,0x75,0x74,0x6f]);}function _0x1c1a0d(){_0x3f23d4[_0x51a471([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x51a471([0x76,0x69,0x65,0x77])][_0x51a471([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x51a471([0x61,0x75,0x74,0x6f]);}}function _0x4d2483(_0x4f3018){const _0x59cd22=[new window[(_0x51a471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x457229=>setTimeout(_0x457229,0x734f347f^_0x142928)),_0x21aadc[_0x51a471([0x74,0x68,0x65,0x6e])](()=>new window[(_0x51a471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2326fc=>{let _0x4e0288=0x0;_0x3f23d4[_0x51a471([0x6d,0x6f,0x64,0x65,0x6c])][_0x51a471([0x6f,0x6e])](_0x51a471([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5e97b2,_0x5139f4)=>{_0x5139f4[0x0][_0x51a471([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4e0288++,_0x4e0288==(0x73460b4b^_0x142928)&&(_0x2326fc(),_0x5e97b2[_0x51a471([0x6f,0x66,0x66])]());});}))];return window[_0x51a471([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x51a471([0x72,0x61,0x63,0x65])](_0x59cd22)[_0x51a471([0x74,0x68,0x65,0x6e])](()=>_0x4f3018);}async function _0x3891ac(){await _0x21aadc,_0x3f23d4[_0x51a471([0x6d,0x6f,0x64,0x65,0x6c])][_0x51a471([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdc9faf,_0x3f23d4[_0x51a471([0x6d,0x6f,0x64,0x65,0x6c])][_0x51a471([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdc9faf,_0x3f23d4[_0x51a471([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x51a471([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x595e18(){return window[_0x51a471([0x67,0x6c,0x6f,0x62])]&&window[_0x51a471([0x67,0x6c,0x6f,0x62])][_0x51a471([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x36f49b(){return _0x3c3699(_0x51a471([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x55451e(_0x51a471([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x51a471([0x73,0x74,0x61,0x74,0x65])]==_0x51a471([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x2709c5(){return _0x3c3699(_0x51a471([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 _0x3e288b(){return _0x3c3699(_0x51a471([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x5654af(_0x23b8f0){const _0xa1262d=_0x5b2a21();_0x3f23d4[_0xa1262d]=_0x51a471([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x23b8f0,_0x23b8f0!=_0x51a471([0x56,0x61,0x6c,0x69,0x64])&&_0x3891ac();}function _0x5b2a21(){const _0x46a7a5=window[_0x51a471([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x51a471([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x51a471([0x6e,0x6f,0x77])]())[_0x51a471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x51a471([0x2e]),'');let _0x2a4765=_0x51a471([0x4b]);for(let _0x18e7fe=0x0;_0x18e7fe<_0x46a7a5[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x18e7fe+=0x2){let _0x33a975=window[_0x51a471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x46a7a5[_0x51a471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x18e7fe,_0x18e7fe+0x2));_0x33a975>=_0x16726c[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x33a975-=_0x16726c[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a4765+=_0x16726c[_0x33a975];}return _0x2a4765;}function _0x13de40(){const _0x58bd35=_0x2108f3[_0x51a471([0x73,0x70,0x6c,0x69,0x74])](_0x51a471([0x2e]));if(0x3!=_0x58bd35[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x262f16(_0x58bd35[0x1]);function _0x262f16(_0x5c075b){const _0x15b17e=_0x1ce175(_0x5c075b);return _0x15b17e&&_0xf7b38c()?_0x15b17e:null;function _0xf7b38c(){const _0x4b519a=_0x15b17e[_0x51a471([0x6a,0x74,0x69])],_0x27d952=window[_0x51a471([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b519a[_0x51a471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b519a[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x256599={..._0x15b17e,[_0x51a471([0x6a,0x74,0x69])]:_0x4b519a[_0x51a471([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b519a[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x256599[_0x51a471([0x76,0x63])],_0x438071(_0x256599)==_0x27d952;}}}async function _0x2d4965(){let _0x173734=!0x0;try{const _0x52a74f=_0x2108f3[_0x51a471([0x73,0x70,0x6c,0x69,0x74])](_0x51a471([0x2e])),[_0x4eb439,_0x53a77d,_0x218087]=_0x52a74f;return _0x367d5b(_0x4eb439),await _0x215d55(_0x4eb439,_0x53a77d,_0x218087),_0x173734;}catch{return!0x1;}function _0x367d5b(_0x5ee321){const _0x322961=_0x1ce175(_0x5ee321);_0x322961&&_0x322961[_0x51a471([0x61,0x6c,0x67])]==_0x51a471([0x45,0x53,0x32,0x35,0x36])||(_0x173734=!0x1);}async function _0x215d55(_0x12829a,_0x1c22d7,_0x14e290){const _0x46c5a1=window[_0x51a471([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x51a471([0x66,0x72,0x6f,0x6d])](_0x37ce5e(_0x14e290),_0x355d78=>_0x355d78[_0x51a471([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x439660=new window[(_0x51a471([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x51a471([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x12829a+_0x51a471([0x2e])+_0x1c22d7),_0x40c538=window[_0x51a471([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x51a471([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x40c538)return;const _0xec2c87=await _0x40c538[_0x51a471([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x51a471([0x6a,0x77,0x6b]),_0x230612,{[_0x51a471([0x6e,0x61,0x6d,0x65])]:_0x51a471([0x45,0x43,0x44,0x53,0x41]),[_0x51a471([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x51a471([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x51a471([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x40c538[_0x51a471([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x51a471([0x6e,0x61,0x6d,0x65])]:_0x51a471([0x45,0x43,0x44,0x53,0x41]),[_0x51a471([0x68,0x61,0x73,0x68])]:{[_0x51a471([0x6e,0x61,0x6d,0x65])]:_0x51a471([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xec2c87,_0x46c5a1,_0x439660)||(_0x173734=!0x1);}}function _0x1ce175(_0x1e8c69){return _0x1e8c69[_0x51a471([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x51a471([0x65,0x79]))?JSON[_0x51a471([0x70,0x61,0x72,0x73,0x65])](_0x37ce5e(_0x1e8c69)):null;}function _0x37ce5e(_0x5dd37b){return window[_0x51a471([0x61,0x74,0x6f,0x62])](_0x5dd37b[_0x51a471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x51a471([0x2b]))[_0x51a471([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x51a471([0x2f])));}function _0x438071(_0x47b5d8){let _0x12a9cc=0x1505;function _0xe088b8(_0x591663){for(let _0x5d89f7=0x0;_0x5d89f7<_0x591663[_0x51a471([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d89f7++){const _0x2a13e9=_0x591663[_0x51a471([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5d89f7);_0x12a9cc=(_0x12a9cc<<0x5)+_0x12a9cc+_0x2a13e9,_0x12a9cc&=_0x12a9cc;}}function _0x405828(_0x23ff9e){Array[_0x51a471([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23ff9e)?_0x23ff9e[_0x51a471([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x405828):_0x23ff9e&&typeof _0x23ff9e==_0x51a471([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x51a471([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23ff9e)[_0x51a471([0x73,0x6f,0x72,0x74])]()[_0x51a471([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x426969,_0x16592a])=>{_0xe088b8(_0x426969),_0x405828(_0x16592a);}):_0xe088b8(window[_0x51a471([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23ff9e));}return _0x405828(_0x47b5d8),_0x12a9cc>>>0x0;}function _0x3c0be2(_0x28c693){return _0x28c693[_0x51a471([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x51a471([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x51a471([0x30]));}function _0x588537(_0x11c4ac){return _0x11c4ac[_0x51a471([0x73,0x70,0x6c,0x69,0x74])]('')[_0x51a471([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x51a471([0x6a,0x6f,0x69,0x6e])]('');}function _0x3c3699(_0x3439fa){return _0x3f23d4[_0x51a471([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x51a471([0x68,0x61,0x73])](_0x3439fa);}function _0x55451e(_0x130a8d){return _0x3f23d4[_0x51a471([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x51a471([0x67,0x65,0x74])](_0x130a8d);}function _0xdc9faf(){}function _0x51a471(_0x382ea2){const _0x5b3b15=_0x46b1;return _0x382ea2[_0x5b3b15(0x222)](_0x47a8bf=>String[_0x5b3b15(0x249)](_0x47a8bf))[_0x5b3b15(0x214)]('');}_0x5654af(await _0x5cba24());}(this);}[_0x16c653(0x26a)](){const _0x51dd1d=_0x16c653,_0x3a770f=this[_0x51dd1d(0x1ea)][_0x51dd1d(0x26f)][_0x51dd1d(0x26b)](_0x11c0ea),_0x3dff40=this[_0x51dd1d(0x1ea)][_0x51dd1d(0x21f)][_0x51dd1d(0x26b)](_0x51dd1d(0x232));for(const _0x43c021 of _0x3a770f[_0x51dd1d(0x278)]({'channelId':_0x3dff40}))_0x3a770f[_0x51dd1d(0x20a)](_0x43c021['id']),_0x3a770f[_0x51dd1d(0x1e0)][_0x51dd1d(0x1e6)](_0x43c021['id']);super[_0x51dd1d(0x26a)]();}[_0x16c653(0x23c)](_0x251809){const _0x4b9ff1=_0x16c653;return this[_0x4b9ff1(0x257)](_0x251809)[_0x4b9ff1(0x245)]>0x0;}[_0x16c653(0x257)](_0x1bdb0e){const _0x35e3bd=_0x16c653,_0x4e48f5=[];for(const _0x202fba of this[_0x35e3bd(0x1ea)][_0x35e3bd(0x235)][_0x35e3bd(0x268)])_0x202fba[_0x35e3bd(0x221)][_0x35e3bd(0x1e8)](_0x35e3bd(0x237)+_0x1bdb0e)&&_0x4e48f5[_0x35e3bd(0x224)](_0x202fba);return _0x4e48f5;}[_0x16c653(0x276)](_0x16e5b9){setTimeout(()=>{const _0x5eb52b=_0x46b1,_0x37dcc8=this[_0x5eb52b(0x26d)](_0x16e5b9);if(!_0x37dcc8)return;this[_0x5eb52b(0x200)]&&_0x4a8a9e(this[_0x5eb52b(0x200)])['id']===_0x16e5b9&&_0x2704ac({'target':_0x37dcc8[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x16c653(0x1f5)](_0x266fc5){const _0x17ba39=_0x16c653;this[_0x17ba39(0x1ea)][_0x17ba39(0x235)][_0x17ba39(0x209)](()=>{const _0x2f1862=_0x17ba39;for(const _0x241315 of this[_0x2f1862(0x257)](_0x266fc5))this[_0x2f1862(0x1ea)][_0x2f1862(0x252)][_0x2f1862(0x27b)](_0x241315);});}[_0x16c653(0x1f9)](_0x2a8cf7){const _0x1f5ee0=_0x16c653,_0x4fa350=this[_0x1f5ee0(0x1ea)][_0x1f5ee0(0x26f)][_0x1f5ee0(0x26b)](_0x11c0ea),_0xadc5ba=this[_0x1f5ee0(0x1ea)][_0x1f5ee0(0x26f)][_0x1f5ee0(0x26b)](_0x465605),_0x5ab7db=_0x4fa350[_0x1f5ee0(0x265)](_0x2a8cf7);if(!_0x5ab7db[_0x1f5ee0(0x239)]){const _0x486254=_0x5ab7db[_0x1f5ee0(0x23b)](()=>this[_0x1f5ee0(0x26d)](_0x5ab7db['id']));_0xadc5ba[_0x1f5ee0(0x1f2)](_0x486254),_0x5ab7db[_0x1f5ee0(0x1de)]=!0x1;}}[_0x16c653(0x266)](){const _0x11db3e=_0x16c653,_0x45340d=this[_0x11db3e(0x1ea)],_0xd6cfb9=_0x45340d[_0x11db3e(0x26f)][_0x11db3e(0x26b)](_0x52f659);_0x45340d[_0x11db3e(0x24a)][_0x11db3e(0x27a)](_0x11db3e(0x24d))[_0x11db3e(0x227)]({'model':_0x11db3e(0x216),'view':(_0xd51ff6,_0x26f2e5)=>{const _0x3d9c77=_0x11db3e,{id:_0x1d5f91}=_0x4a8a9e(_0xd51ff6[_0x3d9c77(0x207)]),_0x1172d3=_0x45340d[_0x3d9c77(0x26f)][_0x3d9c77(0x26b)](_0x11c0ea)[_0x3d9c77(0x265)](_0x1d5f91),_0x5d1b99=this[_0x3d9c77(0x200)]&&_0x4a8a9e(this[_0x3d9c77(0x200)])['id']===_0x1d5f91;let _0x4a6a1d;if(_0x1172d3&&_0x1172d3[_0x3d9c77(0x263)]&&!_0x5d1b99&&_0xd51ff6[_0x3d9c77(0x264)])return _0x26f2e5[_0x3d9c77(0x1ef)][_0x3d9c77(0x260)](_0xd51ff6[_0x3d9c77(0x264)],_0x3d9c77(0x1e5)+_0xd51ff6[_0x3d9c77(0x207)]),_0x26f2e5[_0x3d9c77(0x1ef)][_0x3d9c77(0x260)](_0xd51ff6[_0x3d9c77(0x264)],_0x3d9c77(0x1e4)+_0xd51ff6[_0x3d9c77(0x207)]),null;const _0x5d9280=[_0x3d9c77(0x210)];return _0x5d1b99&&_0x5d9280[_0x3d9c77(0x224)](_0x3d9c77(0x1f6)),_0x4a6a1d=_0x1172d3?.[_0x3d9c77(0x245)]?_0x1172d3[_0x3d9c77(0x21b)][_0x3d9c77(0x231)][_0x3d9c77(0x236)]['id']:_0xd6cfb9['me']['id'],{'classes':_0x5d9280,'attributes':{'data-comment':_0x1d5f91,'data-author-id':_0x4a6a1d}};}}),_0x45340d[_0x11db3e(0x24a)][_0x11db3e(0x27a)](_0x11db3e(0x254))[_0x11db3e(0x1e9)]({'model':_0x11db3e(0x216),'view':(_0x321e42,{options:_0x5f2b15})=>{const _0x392194=_0x11db3e;if(_0x5f2b15[_0x392194(0x259)])return null;const _0x3278e9=_0x45340d[_0x392194(0x26f)][_0x392194(0x26b)](_0x11c0ea),_0x1f1e14=_0x45340d[_0x392194(0x235)][_0x392194(0x268)][_0x392194(0x26b)](_0x321e42),{id:_0x366ed1,part:_0x529316}=_0x4a8a9e(_0x321e42);return _0x1f1e14&&!_0x1f1e14[_0x392194(0x219)]||_0x5f2b15[_0x392194(0x1e7)]&&_0x3278e9[_0x392194(0x265)](_0x366ed1)?.[_0x392194(0x263)]?null:{'group':_0x392194(0x216),'name':_0x529316?_0x366ed1+':'+_0x529316:_0x366ed1};}}),_0x45340d[_0x11db3e(0x24a)][_0x11db3e(0x27a)](_0x11db3e(0x21e))[_0x11db3e(0x27e)]({'view':{'name':_0x11db3e(0x216),'attributes':{'id':/^\w/}},'model':(_0x4ac02b,{writer:_0x406b16})=>_0x406b16[_0x11db3e(0x23f)](_0x11db3e(0x22b),{'data-name':_0x11db3e(0x237)+_0x4ac02b[_0x11db3e(0x273)]('id')})}),_0x45340d[_0x11db3e(0x24a)][_0x11db3e(0x27a)](_0x11db3e(0x21e))[_0x11db3e(0x26e)]({'view':_0x11db3e(0x216)});}[_0x16c653(0x1fc)](){const _0x4ffb8d=_0x16c653,_0x262acf=this[_0x4ffb8d(0x1ea)],_0x18932=_0x262acf[_0x4ffb8d(0x26f)][_0x4ffb8d(0x26b)](_0x11c0ea),_0x2a4564=new Set(),_0x261c0d=new Set();_0x262acf[_0x4ffb8d(0x235)][_0x4ffb8d(0x247)][_0x4ffb8d(0x274)](_0x11f89a=>{const _0x2850bb=_0x4ffb8d;let _0x3b31ea=!0x1;for(const {name:_0x424326,data:_0x51910e}of _0x262acf[_0x2850bb(0x235)][_0x2850bb(0x247)][_0x2850bb(0x220)][_0x2850bb(0x25d)]()){const {group:_0x4969b8,id:_0x4d4538}=_0x4a8a9e(_0x424326);let _0x164941=_0x51910e[_0x2850bb(0x22c)];if(_0x2850bb(0x216)!==_0x4969b8||!_0x164941)continue;const _0x1b936b=_0x2850bb(0x201)===_0x164941[_0x2850bb(0x206)][_0x2850bb(0x242)];_0x1b936b||(_0x164941=ht(_0x164941,_0x262acf[_0x2850bb(0x235)]),!_0x164941||_0x164941[_0x2850bb(0x282)]||!_0x51910e[_0x2850bb(0x22c)]||_0x164941[_0x2850bb(0x281)](_0x51910e[_0x2850bb(0x22c)]))?_0x262acf[_0x2850bb(0x235)][_0x2850bb(0x1eb)](_0x164941)&&!_0x1b936b?this[_0x2850bb(0x1fb)]?_0x2a4564[_0x2850bb(0x20b)](_0x424326):this[_0x2850bb(0x250)](_0x424326,_0x4d4538):(_0x261c0d[_0x2850bb(0x20b)](_0x424326),_0x2a4564[_0x2850bb(0x1e6)](_0x424326),_0x11f89a[_0x2850bb(0x217)](_0x424326),_0x3b31ea=!0x0):(_0x11f89a[_0x2850bb(0x272)](_0x424326,{'range':_0x164941}),_0x3b31ea=!0x0);}return _0x3b31ea;}),this['on'](_0x4ffb8d(0x1f7),(_0x22035c,_0x18d559,_0x75738a)=>{const _0x5120e3=_0x4ffb8d;if(!_0x75738a&&_0x2a4564[_0x5120e3(0x253)])for(const _0x1720e1 of _0x2a4564){const {id:_0x10613d}=_0x4a8a9e(_0x1720e1);_0x2a4564[_0x5120e3(0x1e6)](_0x1720e1),_0x262acf[_0x5120e3(0x235)][_0x5120e3(0x268)][_0x5120e3(0x26b)](_0x1720e1)&&this[_0x5120e3(0x250)](_0x1720e1,_0x10613d);}}),this[_0x4ffb8d(0x24c)](_0x262acf[_0x4ffb8d(0x235)][_0x4ffb8d(0x247)],_0x4ffb8d(0x209),()=>{const _0x37480a=_0x4ffb8d;for(const {name:_0x1ccaf9,data:{newRange:_0xc45975}}of _0x262acf[_0x37480a(0x235)][_0x37480a(0x247)][_0x37480a(0x220)][_0x37480a(0x25d)]()){const {group:_0x5cac23,id:_0x8fe7f}=_0x4a8a9e(_0x1ccaf9);if(_0x37480a(0x216)!==_0x5cac23)continue;const _0x4f5ba5=_0x18932[_0x37480a(0x265)](_0x8fe7f),_0x3f96bf=this[_0x37480a(0x23c)](_0x8fe7f);_0x4f5ba5&&(!_0x4f5ba5[_0x37480a(0x1de)]&&_0xc45975&&_0x262acf[_0x37480a(0x252)][_0x37480a(0x238)][_0x37480a(0x255)](_0x37480a(0x26c),()=>{const _0xf88b80=_0x37480a,_0x36b750=_0x262acf[_0xf88b80(0x26f)][_0xf88b80(0x26b)](_0x372046),_0x557235=_0x18932[_0xf88b80(0x1f0)][_0xf88b80(0x26b)](_0x4f5ba5)[_0xf88b80(0x238)];_0x36b750[_0xf88b80(0x256)](_0x557235)[_0xf88b80(0x1e1)]();},{'priority':_0x37480a(0x20f)}),_0x4f5ba5[_0x37480a(0x1de)]=_0x3f96bf||!!_0xc45975),_0xc45975||(_0x261c0d[_0x37480a(0x20b)](_0x1ccaf9),_0x2a4564[_0x37480a(0x1e6)](_0x1ccaf9));}for(const _0x332c of _0x261c0d){const {id:_0xc0fe0a}=_0x4a8a9e(_0x332c),_0x4527e7=_0x18932[_0x37480a(0x265)](_0xc0fe0a);if(_0x2a4564[_0x37480a(0x1e6)](_0x332c),!_0x4527e7)continue;const _0x32964e=this[_0x37480a(0x23c)](_0xc0fe0a);_0x32964e||_0x4527e7[_0x37480a(0x234)]?_0x32964e||_0x4527e7[_0x37480a(0x225)]||_0x4527e7[_0x37480a(0x1e2)](new Date()):_0x4527e7[_0x37480a(0x251)]();}_0x261c0d[_0x37480a(0x21a)]();});}[_0x16c653(0x27d)](_0x3f3298){const _0x56a053=_0x16c653;_0x3f3298[_0x56a053(0x218)](_0x50b6e9=>{const _0x4a7fd7=_0x56a053;_0x50b6e9[_0x4a7fd7(0x225)]&&this[_0x4a7fd7(0x1f9)](_0x50b6e9['id']);});}[_0x16c653(0x26d)](_0x22d1cd){const _0x904462=_0x16c653,_0x31459f=this[_0x904462(0x1ea)],_0x3bbf46=this[_0x904462(0x257)](_0x22d1cd);return _0x12d021(_0x31459f[_0x904462(0x252)],_0x3bbf46);}[_0x16c653(0x22d)](_0x210a5b){const _0x1842a0=_0x16c653,_0x10402b=this[_0x1842a0(0x257)](_0x210a5b);let _0x2fd7b4='',_0x5a6240=!0x1;for(const _0x287122 of _0x10402b){const _0x368e9d=_0x287122[_0x1842a0(0x240)]();for(const _0x1f7b09 of Array[_0x1842a0(0x1e3)](_0x368e9d[_0x1842a0(0x1f4)]()))_0x1f7b09['is'](_0x1842a0(0x20c))?(_0x2fd7b4&&_0x5a6240&&(_0x2fd7b4+='\x20',_0x5a6240=!0x1),_0x2fd7b4+=_0x1f7b09[_0x1842a0(0x215)]):_0x5a6240=!0x0;_0x5a6240=!0x0;}return _0x2fd7b4[_0x1842a0(0x22f)](0x0,0x96);}[_0x16c653(0x241)](_0xc2b8b,_0x236a86){const _0x1455cc=_0x16c653,_0x485669=this[_0x1455cc(0x1ea)],_0x562445=_0x485669[_0x1455cc(0x26f)][_0x1455cc(0x26b)](_0x11c0ea);let _0x24df00=_0x562445[_0x1455cc(0x265)](_0x236a86);const _0x328460=_0x485669[_0x1455cc(0x21f)][_0x1455cc(0x26b)](_0x1455cc(0x232)),_0x40f775=_0x485669[_0x1455cc(0x26f)][_0x1455cc(0x26b)](_0x465605);if(_0x24df00&&(_0x24df00[_0x1455cc(0x225)]&&_0x24df00[_0x1455cc(0x1e2)](null),_0x24df00[_0x1455cc(0x239)]))return _0x24df00;return!this[_0x1455cc(0x257)](_0x236a86)[0x0][_0x1455cc(0x261)]?_0x485669[_0x1455cc(0x252)][_0x1455cc(0x238)][_0x1455cc(0x255)](_0x1455cc(0x26c),()=>{const _0x4f268f=_0x1455cc;if(_0x562445[_0x4f268f(0x265)](_0x236a86))return;const _0x4ee1f1=_0x485669[_0x4f268f(0x26f)][_0x4f268f(0x26b)](_0x372046);_0x24df00=_0x562445[_0x4f268f(0x1ee)]({'channelId':_0x328460,'threadId':_0x236a86,'target':()=>this[_0x4f268f(0x26d)](_0x236a86),'context':{'type':_0x4f268f(0x213),'value':this[_0x4f268f(0x22d)](_0x236a86)}});const _0x1363f6=_0x562445[_0x4f268f(0x1f0)][_0x4f268f(0x26b)](_0x24df00)[_0x4f268f(0x238)],_0x28f0df=_0x4ee1f1[_0x4f268f(0x256)](_0x1363f6);_0x28f0df&&_0x40f775[_0x4f268f(0x1f2)](_0x28f0df);},{'priority':_0x1455cc(0x20f)}):_0x562445[_0x1455cc(0x25e)]({'channelId':_0x328460,'threadId':_0x236a86})[_0x1455cc(0x229)](_0x38cf4f=>{const _0xb2fc43=_0x1455cc;if(_0xb2fc43(0x280)!==_0x485669[_0xb2fc43(0x23e)]){if(_0x24df00=_0x38cf4f,_0x24df00&&!_0x24df00[_0xb2fc43(0x239)]){const _0x35bbfd=_0x24df00[_0xb2fc43(0x23b)](()=>this[_0xb2fc43(0x26d)](_0x236a86));_0x40f775[_0xb2fc43(0x1f2)](_0x35bbfd),_0x24df00[_0xb2fc43(0x263)]&&this[_0xb2fc43(0x1f5)](_0x236a86);}else{if(!_0x24df00){const _0xc801d4=this[_0xb2fc43(0x257)](_0x236a86);_0x485669[_0xb2fc43(0x235)][_0xb2fc43(0x209)](_0x592c02=>{const _0xe2b279=_0xb2fc43;for(const _0x1833f7 of _0xc801d4)_0x592c02[_0xe2b279(0x217)](_0x1833f7);});}}}}),_0x24df00;}[_0x16c653(0x250)](_0x1d162c,_0x529539){const _0x20bd4f=_0x16c653,_0x3252f6=this[_0x20bd4f(0x241)](_0x1d162c,_0x529539);_0x3252f6&&!_0x3252f6[_0x20bd4f(0x230)]&&_0x3252f6[_0x20bd4f(0x1ec)]({'type':_0x20bd4f(0x213),'value':this[_0x20bd4f(0x22d)](_0x529539)});}[_0x16c653(0x223)](){const _0x491c78=_0x16c653,_0x2ec5e6=this[_0x491c78(0x1ea)];_0x127939(_0x2ec5e6[_0x491c78(0x235)],({left:_0x2fe13e,entered:_0x538282})=>{const _0x4525aa=_0x491c78;for(const _0x4f7bd4 of _0x2fe13e)if(mt(_0x4f7bd4)){_0x2ec5e6['ui'][_0x4525aa(0x25f)][_0x4525aa(0x277)](_0x24a0ad(_0x2ec5e6[_0x4525aa(0x1f3)],_0x4525aa(0x23d)));break;}for(const _0x4e3480 of _0x538282)if(mt(_0x4e3480)){_0x2ec5e6['ui'][_0x4525aa(0x25f)][_0x4525aa(0x277)](_0x24a0ad(_0x2ec5e6[_0x4525aa(0x1f3)],_0x4525aa(0x205),_0x51d5cb(_0x9fe190)));break;}});}}function dt(_0x5bcb81,_0x9cc768){return _0x9cc768?_0x5bcb81+':'+_0x9cc768:_0x5bcb81;}function ht(_0x383400,_0x269552){const _0x45dadc=_0x16c653,_0x97d6b9=_0x269552[_0x45dadc(0x269)],_0x476325=_0x269552[_0x45dadc(0x27c)](_0x383400[_0x45dadc(0x267)]);for(const _0x3d3c0c of _0x383400[_0x45dadc(0x20d)]()){const {type:_0x26402a,item:_0x589a1b,nextPosition:_0xf58e9b}=_0x3d3c0c;if(_0x45dadc(0x213)===_0x26402a||_0x97d6b9[_0x45dadc(0x1fe)](_0x589a1b)){const _0x280272=_0x269552[_0x45dadc(0x27f)](_0x589a1b);_0x476325[_0x45dadc(0x282)]&&(_0x476325[_0x45dadc(0x267)]=_0x280272),_0x476325[_0x45dadc(0x1fd)]=_0xf58e9b;}}return _0x476325;}function mt(_0x1445f3){const _0x3f7ae0=_0x16c653;return _0x3f7ae0(0x216)===_0x4a8a9e(_0x1445f3[_0x3f7ae0(0x221)])[_0x3f7ae0(0x25a)];}
|
|
23
|
+
const _0x48a82a=_0x40b5;(function(_0x481ab5,_0x513ba7){const _0x475ee4=_0x40b5,_0x71b6e4=_0x481ab5();while(!![]){try{const _0x33ce84=-parseInt(_0x475ee4(0x1a9))/0x1*(-parseInt(_0x475ee4(0x1fa))/0x2)+parseInt(_0x475ee4(0x194))/0x3*(-parseInt(_0x475ee4(0x1ea))/0x4)+parseInt(_0x475ee4(0x1dd))/0x5*(-parseInt(_0x475ee4(0x1cf))/0x6)+-parseInt(_0x475ee4(0x1a0))/0x7+parseInt(_0x475ee4(0x1be))/0x8+parseInt(_0x475ee4(0x1c2))/0x9*(parseInt(_0x475ee4(0x1e8))/0xa)+-parseInt(_0x475ee4(0x1ef))/0xb*(-parseInt(_0x475ee4(0x1f4))/0xc);if(_0x33ce84===_0x513ba7)break;else _0x71b6e4['push'](_0x71b6e4['shift']());}catch(_0xce22ec){_0x71b6e4['push'](_0x71b6e4['shift']());}}}(_0x560c,0x4a534));import{Plugin as _0x269dcb}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x59b8d6,scrollViewportToShowTarget as _0x55aad5,uid as _0x658b7b}from'ckeditor5/src/utils.js';import{CommentsRepository as _0xe6e2f9}from'./commentsrepository.js';function _0x560c(){const _0x3292cd=['removeMarker','requires','then','delete','remove','hasCommentThread','getAllMarkersForId','getWalker','_threads','once','isOfficialPlugin','ready','listenTo','3810JUqWxN','rootName','low','refreshVisibility','_handleInitialThreads','ENTER_COMMENT_ANNOUNCEMENT','addComment','fromCharCode','getRange','substring','conversion','10Shmwjm','getChangedMarkers','1079404zBKxNB','destroy','getCommentThreads','getByInnerView','render','32758XUhNbK','href','addMarker:','push','first','2028sbJmzB','channelId','getAttribute','activeMarker','author','startsWith','27332elbhLr','data','_reconvertMarkers','for','markers','dataDowncast','unlinkedAt','config','from','isSubmitted','scrollToThreadMarker','addCommentThread','hasContent','upcast','map','ck-comment-marker','_handleThreadMarker','hasDomSelection','isObject','change:isReadOnly','removeCommentThread','_attachArchivedThread','comments','state','comment:','root','_initAriaMarkerChangeAnnouncements','markerName','attachTo','registerPostFixer','registerAnnotation','reopenCommentThread','_getTextContext','editingDowncast','end','$marker','ariaLiveAnnouncer','name','commands','_attachMarkerToThread','start','affectsData','isResolved','afterInit','change:activeMarker','resolveCommentThread','_handleMarkerAddAndRemove','collaboration.channelId','view','ck-comment-marker--active','markerToData','fetchCommentThread','enqueueChange','document','_initializeMarkerConverters','change:isThreadsLoadingPaused','dataToMarker','updateMarker','_hasTargetInContent','createElement','differ','pluginName','filter','managedUsingOperations','3PQZdUb','hasMarkerForId','locale','forEach','_getTargetForId','length','text','editor','LEAVE_COMMENT_ANNOUNCEMENT','join','$graveyard','schema','2549617uOBYIB','_detachCommentThread','reconvertMarker','newRange','isCollapsed','group','add','set','showCommentHighlights','3NdIZVm','CommentsEditing','focus','clear','isThreadsLoadingPaused','$textProxy','change','removeMarker:','editing','model','size','getItems','item','createRange','ignoreResolvedComments','getCommentThread','isAttached','markerToHighlight','comment','openNewCommentThread','consumable','4774688lGKKKZ','destroyed','init','consume','1921086JLKWqy','setUnlinkedAt','_threadToController','context','setContext','createPositionBefore','announce','isEqual','elementToElement','isPremiumPlugin','switchReadOnly','plugins','get','3276tADkFs'];_0x560c=function(){return _0x3292cd;};return _0x560c();}import{AddCommentThreadCommand as _0xfec57a}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x301d9b,getAllMarkersDomElementsSorted as _0x337972,FOCUS_ANNOTATION_KEYSTROKE as _0xe9ee80,Users as _0x33e619}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x227bc6}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x3917d6}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x5ea370}from'./integrations/importword.js';import{CommentsClipboard as _0x4b6196}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x466c1d}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x116392}from'../annotations/annotations.js';import{getTranslation as _0xdd1f78}from'../utils/common-translations.js';import{splitMarkerName as _0x308279}from'../utils/splitmarkername.js';function _0x40b5(_0x56b155,_0x33cecf){const _0x560c37=_0x560c();return _0x40b5=function(_0x40b526,_0x1b98cb){_0x40b526=_0x40b526-0x188;let _0x2fe9d4=_0x560c37[_0x40b526];return _0x2fe9d4;},_0x40b5(_0x56b155,_0x33cecf);}export class CommentsEditing extends _0x269dcb{static get[_0x48a82a(0x1d1)](){return[_0xe6e2f9,_0x227bc6,_0x33e619,_0x3917d6,_0x5ea370,_0x4b6196,_0x466c1d];}static get[_0x48a82a(0x191)](){const _0x29d491=_0x48a82a;return _0x29d491(0x1aa);}static get[_0x48a82a(0x1da)](){return!0x0;}static get[_0x48a82a(0x1cb)](){return!0x0;}constructor(_0xb4c89a){const _0x286f16=_0x48a82a;super(_0xb4c89a),this[_0x286f16(0x1a7)](_0x286f16(0x1ad),!0x0),_0xb4c89a[_0x286f16(0x1fb)][_0x286f16(0x1d9)](_0x286f16(0x1db),()=>this[_0x286f16(0x1ad)]=!0x1),this[_0x286f16(0x1a7)](_0x286f16(0x1f7),null),this['on'](_0x286f16(0x226),(_0x22c882,_0x293f7b,_0x52c3bd,_0x55f723)=>{const _0x1a6c87=_0x286f16,_0x41185a=_0xb4c89a[_0x1a6c87(0x1cd)][_0x1a6c87(0x1ce)](_0xe6e2f9),_0x5a2af0=_0x52c3bd?_0x308279(_0x52c3bd)['id']:null;_0xb4c89a[_0x1a6c87(0x1b2)][_0x1a6c87(0x1af)](()=>{const _0xeb5b4b=_0x1a6c87;if(_0x5a2af0){const _0x27cb2e=this[_0xeb5b4b(0x1d6)](_0x5a2af0);for(const _0x4ca297 of _0x27cb2e)_0xb4c89a[_0xeb5b4b(0x1b1)][_0xeb5b4b(0x1a2)](_0x4ca297);}if(_0x55f723){const {id:_0x1ceac9}=_0x308279(_0x55f723),_0x4c667c=_0x41185a[_0xeb5b4b(0x1b8)](_0x1ceac9);if(_0x4c667c&&_0x4c667c[_0xeb5b4b(0x200)])return;if(_0x4c667c&&!_0x4c667c[_0xeb5b4b(0x1b9)])return;const _0x2633c2=this[_0xeb5b4b(0x1d6)](_0x1ceac9);for(const _0x44db8a of _0x2633c2)_0xb4c89a[_0xeb5b4b(0x1b1)][_0xeb5b4b(0x1a2)](_0x44db8a);}}),_0x5a2af0&&this[_0x1a6c87(0x204)](_0x5a2af0);}),this[_0x286f16(0x214)]();}[_0x48a82a(0x1c0)](){const _0xfee44b=_0x48a82a,_0x1eab8c=this[_0xfee44b(0x19b)],_0x3a8e7b=_0x1eab8c[_0xfee44b(0x1cd)][_0xfee44b(0x1ce)](_0xe6e2f9),_0x3d29fa=_0x1eab8c[_0xfee44b(0x201)][_0xfee44b(0x1ce)](_0xfee44b(0x229)),_0x3b36ef=_0x3a8e7b[_0xfee44b(0x1ec)]()[_0xfee44b(0x192)](_0x2fff77=>_0x2fff77[_0xfee44b(0x1f5)]!==_0x3d29fa);_0x1eab8c[_0xfee44b(0x220)][_0xfee44b(0x1a6)](_0xfee44b(0x205),new _0xfec57a(_0x1eab8c)),this[_0xfee44b(0x1dc)](_0x1eab8c,_0xfee44b(0x20d),(_0x8780f8,_0x589d9a,_0x3ba040)=>{const _0x1f97fa=_0xfee44b;_0x3a8e7b[_0x1f97fa(0x1cc)](_0x3ba040,_0x1eab8c[_0x1f97fa(0x201)][_0x1f97fa(0x1ce)](_0x1f97fa(0x229)));}),this[_0xfee44b(0x1dc)](_0x3a8e7b,dt(_0xfee44b(0x205),_0x3d29fa),(_0x2288b4,{threadId:_0x228786})=>{const _0x272231=_0xfee44b,_0x2592a3=this[_0x272231(0x19b)][_0x272231(0x1cd)][_0x272231(0x1ce)](_0xe6e2f9)[_0x272231(0x1b8)](_0x228786);_0x2592a3?.[_0x272231(0x200)]&&this[_0x272231(0x20f)](_0x228786);}),this[_0xfee44b(0x1dc)](_0x3a8e7b,dt(_0xfee44b(0x20e),_0x3d29fa),(_0x5b66ac,{threadId:_0x328141})=>{const _0x22d330=_0xfee44b;_0x1eab8c[_0x22d330(0x1b2)][_0x22d330(0x188)]({'isUndoable':!0x1},_0x6f84d3=>{const _0x378680=_0x22d330,_0xde5f23=this[_0x378680(0x1d6)](_0x328141);for(const _0x5c5d2d of _0xde5f23)_0x6f84d3[_0x378680(0x1d0)](_0x5c5d2d);});}),this[_0xfee44b(0x1dc)](_0x3a8e7b,dt(_0xfee44b(0x227),_0x3d29fa),(_0x1b6368,{threadId:_0x4f9e14})=>{const _0x5051c5=_0xfee44b;(this[_0x5051c5(0x1fc)](_0x4f9e14),this[_0x5051c5(0x19b)][_0x5051c5(0x1b1)][_0x5051c5(0x22a)][_0x5051c5(0x20b)])&&(this[_0x5051c5(0x19b)][_0x5051c5(0x1cd)][_0x5051c5(0x1ce)](_0xe6e2f9)[_0x5051c5(0x1b8)](_0x4f9e14)[_0x5051c5(0x200)]||this[_0x5051c5(0x19b)][_0x5051c5(0x1b1)][_0x5051c5(0x22a)][_0x5051c5(0x1ab)]());},{'priority':_0xfee44b(0x1df)}),this[_0xfee44b(0x1dc)](_0x3a8e7b,dt(_0xfee44b(0x219),_0x3d29fa),(_0x53994d,{threadId:_0x5ca0ba})=>{const _0x36afb9=_0xfee44b;this[_0x36afb9(0x1fc)](_0x5ca0ba);},{'priority':_0xfee44b(0x1df)}),this[_0xfee44b(0x1dc)](_0x3a8e7b,dt(_0xfee44b(0x1e3),_0x3d29fa),(_0x2b1f0e,{threadId:_0x24698e,isFromAdapter:_0x5bc8dc})=>{const _0x50e607=_0xfee44b,_0x14e023=this[_0x50e607(0x1d6)](_0x24698e);if(_0x5bc8dc||0x0==_0x14e023[_0x50e607(0x199)]||!_0x3a8e7b[_0x50e607(0x1d5)](_0x24698e))return;0x1===_0x3a8e7b[_0x50e607(0x1b8)](_0x24698e)[_0x50e607(0x199)]&&_0x1eab8c[_0x50e607(0x1b2)][_0x50e607(0x188)]({'isUndoable':!0x1},_0x2cb567=>{const _0x2d632e=_0x50e607;for(const _0x2f3e83 of _0x14e023)_0x2cb567[_0x2d632e(0x18d)](_0x2f3e83,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0xfee44b(0x1df)}),this[_0xfee44b(0x18a)](),this[_0xfee44b(0x228)](),this[_0xfee44b(0x1e1)](_0x3b36ef);}[_0x48a82a(0x225)](){!async function(_0x2b4029){const _0x4fbe12=_0x4fff2e([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]),_0x38ecbe=0x73460ab3,_0x352da0=0x73417d43^_0x38ecbe,_0x1fa1f1=window[_0x4fff2e([0x44,0x61,0x74,0x65])][_0x4fff2e([0x6e,0x6f,0x77])](),_0x50c05c=_0x2b4029[_0x4fff2e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x547391=new window[(_0x4fff2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50fb01=>{_0x50c05c[_0x4fff2e([0x6f,0x6e,0x63,0x65])](_0x4fff2e([0x72,0x65,0x61,0x64,0x79]),_0x50fb01);}),_0x39e3f0={[_0x4fff2e([0x6b,0x74,0x79])]:_0x4fff2e([0x45,0x43]),[_0x4fff2e([0x75,0x73,0x65])]:_0x4fff2e([0x73,0x69,0x67]),[_0x4fff2e([0x63,0x72,0x76])]:_0x4fff2e([0x50,0x2d,0x32,0x35,0x36]),[_0x4fff2e([0x78])]:_0x4fff2e([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]),[_0x4fff2e([0x79])]:_0x4fff2e([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]),[_0x4fff2e([0x61,0x6c,0x67])]:_0x4fff2e([0x45,0x53,0x32,0x35,0x36])},_0x190428=_0x50c05c[_0x4fff2e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4fff2e([0x67,0x65,0x74])](_0x4fff2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x589c0e(){let _0x2190f4,_0x53a6e5=null,_0x497bfd=null;try{if(_0x190428==_0x4fff2e([0x47,0x50,0x4c]))return _0x4fff2e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2190f4=_0xc1c060(),!_0x2190f4)return _0x4fff2e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2190f4[_0x4fff2e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x497bfd=_0x590c4f(_0x2190f4[_0x4fff2e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2190f4[_0x4fff2e([0x6a,0x74,0x69])])),await _0x163430()?_0x5f22bb()?_0x557f7c()?_0x4fff2e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x539e8f()?(_0x2190f4[_0x4fff2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fff2e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x53a6e5=_0x156714(_0x4fff2e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2190f4[_0x4fff2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4fff2e([0x74,0x72,0x69,0x61,0x6c])&&(_0x53a6e5=_0x156714(_0x4fff2e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x58ac76()):_0x4fff2e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4fff2e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4fff2e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4fff2e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x557f7c(){const _0x26bbaf=[_0x4fff2e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4fff2e([0x74,0x72,0x69,0x61,0x6c])][_0x4fff2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2190f4[_0x4fff2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1fa1f1/0x3e8:0xe10*_0x352da0;return _0x2190f4[_0x4fff2e([0x65,0x78,0x70])]<_0x26bbaf;}function _0x5f22bb(){const _0x4c3b9d=_0x2190f4[_0x4fff2e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x4c3b9d)return!0x1;if(_0x4c3b9d[_0x4fff2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fff2e([0x2a])))return!0x0;if(_0x4c3b9d[_0x4fff2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fff2e([0x43,0x4d,0x54])))return!0x0;if(_0x4c3b9d[_0x4fff2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fff2e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x5c18b9())return!0x0;if(_0x4c3b9d[_0x4fff2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fff2e([0x52,0x43,0x4d,0x54]))){if(_0x3e7131())return!0x0;if(_0x2e9ba5()||_0xadf57())return!0x0;}return!0x1;}function _0x539e8f(){const _0x40c1b3=_0x40b5,_0x4fb7da=_0x2190f4[_0x4fff2e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4fb7da||0x0==_0x4fb7da[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5da764}=new URL(window[_0x4fff2e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x40c1b3(0x1f0)]);if(_0x4fb7da[_0x4fff2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5da764))return!0x0;const _0x2bb9fe=_0x5da764[_0x4fff2e([0x73,0x70,0x6c,0x69,0x74])](_0x4fff2e([0x2e]));return _0x4fb7da[_0x4fff2e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x535ef0=>_0x535ef0[_0x4fff2e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fff2e([0x2a])))[_0x4fff2e([0x6d,0x61,0x70])](_0xbabdcf=>_0xbabdcf[_0x4fff2e([0x73,0x70,0x6c,0x69,0x74])](_0x4fff2e([0x2e])))[_0x4fff2e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a4470=>_0x4a4470[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2bb9fe[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4fff2e([0x6d,0x61,0x70])](_0x20d5ce=>Array(_0x2bb9fe[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x20d5ce[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4fff2e([0x66,0x69,0x6c,0x6c])](_0x20d5ce[0x0]===_0x4fff2e([0x2a])?_0x4fff2e([0x2a]):'')[_0x4fff2e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x20d5ce))[_0x4fff2e([0x73,0x6f,0x6d,0x65])](_0x50ebf9=>_0x2bb9fe[_0x4fff2e([0x65,0x76,0x65,0x72,0x79])]((_0x4672bf,_0x5931c4)=>_0x50ebf9[_0x5931c4]===_0x4672bf||_0x50ebf9[_0x5931c4]===_0x4fff2e([0x2a])));}function _0x58ac76(){return _0x53a6e5&&_0x497bfd?new window[(_0x4fff2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xc8f7cd,_0x4ff71f)=>{_0x53a6e5[_0x4fff2e([0x74,0x68,0x65,0x6e])](_0xc8f7cd,_0x4ff71f),_0x497bfd[_0x4fff2e([0x74,0x68,0x65,0x6e])](_0x53adc9=>{_0x53adc9!=_0x4fff2e([0x56,0x61,0x6c,0x69,0x64])&&_0xc8f7cd(_0x53adc9);},_0x4ff71f);}):_0x53a6e5||_0x497bfd||_0x4fff2e([0x56,0x61,0x6c,0x69,0x64]);}}function _0x590c4f(_0x3918db,_0x310962){return new window[(_0x4fff2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b1163=>{if(_0xab90b())return _0x5b1163(_0x4fff2e([0x56,0x61,0x6c,0x69,0x64]));_0x26c183(),_0x50c05c[_0x4fff2e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4fff2e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1f5482=!0x1;const _0x3317b3=_0x658b7b();function _0x1eb6fb(_0x19a346){return!!_0x19a346&&(typeof _0x19a346===_0x4fff2e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x19a346===_0x4fff2e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x19a346[_0x4fff2e([0x74,0x68,0x65,0x6e])]===_0x4fff2e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x19a346[_0x4fff2e([0x63,0x61,0x74,0x63,0x68])]===_0x4fff2e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3d4726(_0x523273){_0x4da1cb(_0x523273)[_0x4fff2e([0x74,0x68,0x65,0x6e])](_0x331087=>{if(!_0x331087||_0x331087[_0x4fff2e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4fff2e([0x6f,0x6b]))return _0x4fff2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xbed13a(_0x3358f2(_0x3317b3+_0x310962))!=_0x331087[_0x4fff2e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4fff2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4fff2e([0x56,0x61,0x6c,0x69,0x64]);})[_0x4fff2e([0x74,0x68,0x65,0x6e])](_0x1d37a3=>(_0x4183b8(),_0x1d37a3),()=>{const _0x45e827=_0xf52688();return null==_0x45e827?(_0x4183b8(),_0x4fff2e([0x56,0x61,0x6c,0x69,0x64])):_0x4fff2e(_0x1fa1f1-_0x45e827>(0x574a8eb3^_0x38ecbe)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4fff2e([0x74,0x68,0x65,0x6e])](_0x5b1163)[_0x4fff2e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5b1163(_0x4fff2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x551d72=0x7370e433^_0x38ecbe;function _0x4183b8(){const _0x27d63f=_0x4fff2e([0x6c,0x6c,0x63,0x74,0x2d])+_0xbed13a(_0x3358f2(_0x3918db)),_0xc2e894=_0x95faee(_0xbed13a(window[_0x4fff2e([0x4d,0x61,0x74,0x68])][_0x4fff2e([0x63,0x65,0x69,0x6c])](_0x1fa1f1/_0x551d72)));window[_0x4fff2e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fff2e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x27d63f,_0xc2e894);}function _0xf52688(){const _0x52d052=_0x4fff2e([0x6c,0x6c,0x63,0x74,0x2d])+_0xbed13a(_0x3358f2(_0x3918db)),_0x552955=window[_0x4fff2e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4fff2e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52d052);return _0x552955?window[_0x4fff2e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x95faee(_0x552955),0x10)*_0x551d72:null;}function _0x4da1cb(_0x39cc2f){return new window[(_0x4fff2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3eb480,_0x141d8c)=>{_0x39cc2f[_0x4fff2e([0x74,0x68,0x65,0x6e])](_0x3eb480,_0x141d8c),window[_0x4fff2e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x141d8c,0x7347de73^_0x38ecbe);});}}_0x50c05c[_0x4fff2e([0x6f,0x6e])](_0x4fff2e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x26fd0c,_0x178353)=>{if(_0x178353[0x0]!=_0x3918db)return _0x5b1163(_0x4fff2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x178353[0x1]={..._0x178353[0x1],[_0x4fff2e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3317b3};},{[_0x4fff2e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fff2e([0x68,0x69,0x67,0x68])}),_0x50c05c[_0x4fff2e([0x6f,0x6e])](_0x4fff2e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x476fad=>{_0x1eb6fb(_0x476fad[_0x4fff2e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1f5482=!0x0,_0x3d4726(_0x476fad[_0x4fff2e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4fff2e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4fff2e([0x6c,0x6f,0x77])}),_0x547391[_0x4fff2e([0x74,0x68,0x65,0x6e])](()=>{_0x1f5482||_0x5b1163(_0x4fff2e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xab90b(){return _0x50c05c[_0x4fff2e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fff2e([0x76,0x69,0x65,0x77])][_0x4fff2e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4fff2e([0x61,0x75,0x74,0x6f]);}function _0x26c183(){_0x50c05c[_0x4fff2e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4fff2e([0x76,0x69,0x65,0x77])][_0x4fff2e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4fff2e([0x61,0x75,0x74,0x6f]);}}function _0x156714(_0x532da1){const _0x2c472c=[new window[(_0x4fff2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x153230=>setTimeout(_0x153230,0x734f347f^_0x38ecbe)),_0x547391[_0x4fff2e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4fff2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4a3a77=>{let _0x249cd0=0x0;_0x50c05c[_0x4fff2e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fff2e([0x6f,0x6e])](_0x4fff2e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xcfb313,_0x1ee533)=>{_0x1ee533[0x0][_0x4fff2e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x249cd0++,_0x249cd0==(0x73460b4b^_0x38ecbe)&&(_0x4a3a77(),_0xcfb313[_0x4fff2e([0x6f,0x66,0x66])]());});}))];return window[_0x4fff2e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4fff2e([0x72,0x61,0x63,0x65])](_0x2c472c)[_0x4fff2e([0x74,0x68,0x65,0x6e])](()=>_0x532da1);}async function _0x2cb80b(){await _0x547391,_0x50c05c[_0x4fff2e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fff2e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12c057,_0x50c05c[_0x4fff2e([0x6d,0x6f,0x64,0x65,0x6c])][_0x4fff2e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12c057,_0x50c05c[_0x4fff2e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4fff2e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5c18b9(){return window[_0x4fff2e([0x67,0x6c,0x6f,0x62])]&&window[_0x4fff2e([0x67,0x6c,0x6f,0x62])][_0x4fff2e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x3e7131(){return _0x1bb6bd(_0x4fff2e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xcefa86(_0x4fff2e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4fff2e([0x73,0x74,0x61,0x74,0x65])]==_0x4fff2e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x2e9ba5(){return _0x1bb6bd(_0x4fff2e([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 _0xadf57(){return _0x1bb6bd(_0x4fff2e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x284733(_0x5ef33b){const _0x21f05d=_0x2e7c06();_0x50c05c[_0x21f05d]=_0x4fff2e([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5ef33b,_0x5ef33b!=_0x4fff2e([0x56,0x61,0x6c,0x69,0x64])&&_0x2cb80b();}function _0x2e7c06(){const _0xc73834=window[_0x4fff2e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4fff2e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4fff2e([0x6e,0x6f,0x77])]())[_0x4fff2e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4fff2e([0x2e]),'');let _0x50d390=_0x4fff2e([0x4b]);for(let _0x112bae=0x0;_0x112bae<_0xc73834[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x112bae+=0x2){let _0x29f509=window[_0x4fff2e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xc73834[_0x4fff2e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x112bae,_0x112bae+0x2));_0x29f509>=_0x4fbe12[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29f509-=_0x4fbe12[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50d390+=_0x4fbe12[_0x29f509];}return _0x50d390;}function _0xc1c060(){const _0x30a465=_0x190428[_0x4fff2e([0x73,0x70,0x6c,0x69,0x74])](_0x4fff2e([0x2e]));if(0x3!=_0x30a465[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x573d0b(_0x30a465[0x1]);function _0x573d0b(_0x445a4d){const _0x1ebc99=_0x308a4e(_0x445a4d);return _0x1ebc99&&_0xcc244d()?_0x1ebc99:null;function _0xcc244d(){const _0x314517=_0x1ebc99[_0x4fff2e([0x6a,0x74,0x69])],_0x556f97=window[_0x4fff2e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x314517[_0x4fff2e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x314517[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x43149d={..._0x1ebc99,[_0x4fff2e([0x6a,0x74,0x69])]:_0x314517[_0x4fff2e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x314517[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x43149d[_0x4fff2e([0x76,0x63])],_0x3358f2(_0x43149d)==_0x556f97;}}}async function _0x163430(){let _0x325b88=!0x0;try{const _0x4ee38c=_0x190428[_0x4fff2e([0x73,0x70,0x6c,0x69,0x74])](_0x4fff2e([0x2e])),[_0x36c035,_0x1784bf,_0x24e0cc]=_0x4ee38c;return _0xd9095d(_0x36c035),await _0x372c5b(_0x36c035,_0x1784bf,_0x24e0cc),_0x325b88;}catch{return!0x1;}function _0xd9095d(_0x3cca20){const _0x2f5925=_0x308a4e(_0x3cca20);_0x2f5925&&_0x2f5925[_0x4fff2e([0x61,0x6c,0x67])]==_0x4fff2e([0x45,0x53,0x32,0x35,0x36])||(_0x325b88=!0x1);}async function _0x372c5b(_0x4b924c,_0x178da3,_0x2e9ce6){const _0x2081e2=window[_0x4fff2e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4fff2e([0x66,0x72,0x6f,0x6d])](_0x7cc79d(_0x2e9ce6),_0x3f5a36=>_0x3f5a36[_0x4fff2e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x38f701=new window[(_0x4fff2e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4fff2e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4b924c+_0x4fff2e([0x2e])+_0x178da3),_0x9636e=window[_0x4fff2e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4fff2e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9636e)return;const _0x223155=await _0x9636e[_0x4fff2e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4fff2e([0x6a,0x77,0x6b]),_0x39e3f0,{[_0x4fff2e([0x6e,0x61,0x6d,0x65])]:_0x4fff2e([0x45,0x43,0x44,0x53,0x41]),[_0x4fff2e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4fff2e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4fff2e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9636e[_0x4fff2e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4fff2e([0x6e,0x61,0x6d,0x65])]:_0x4fff2e([0x45,0x43,0x44,0x53,0x41]),[_0x4fff2e([0x68,0x61,0x73,0x68])]:{[_0x4fff2e([0x6e,0x61,0x6d,0x65])]:_0x4fff2e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x223155,_0x2081e2,_0x38f701)||(_0x325b88=!0x1);}}function _0x308a4e(_0x1889c3){return _0x1889c3[_0x4fff2e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4fff2e([0x65,0x79]))?JSON[_0x4fff2e([0x70,0x61,0x72,0x73,0x65])](_0x7cc79d(_0x1889c3)):null;}function _0x7cc79d(_0x235a0c){return window[_0x4fff2e([0x61,0x74,0x6f,0x62])](_0x235a0c[_0x4fff2e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4fff2e([0x2b]))[_0x4fff2e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4fff2e([0x2f])));}function _0x3358f2(_0x1d1c6f){let _0xb9786f=0x1505;function _0x30348a(_0x3eb71e){for(let _0x415180=0x0;_0x415180<_0x3eb71e[_0x4fff2e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x415180++){const _0x10cf0e=_0x3eb71e[_0x4fff2e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x415180);_0xb9786f=(_0xb9786f<<0x5)+_0xb9786f+_0x10cf0e,_0xb9786f&=_0xb9786f;}}function _0x1f0669(_0x56be67){Array[_0x4fff2e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x56be67)?_0x56be67[_0x4fff2e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f0669):_0x56be67&&typeof _0x56be67==_0x4fff2e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4fff2e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x56be67)[_0x4fff2e([0x73,0x6f,0x72,0x74])]()[_0x4fff2e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44687d,_0x792638])=>{_0x30348a(_0x44687d),_0x1f0669(_0x792638);}):_0x30348a(window[_0x4fff2e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x56be67));}return _0x1f0669(_0x1d1c6f),_0xb9786f>>>0x0;}function _0xbed13a(_0x373386){return _0x373386[_0x4fff2e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4fff2e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4fff2e([0x30]));}function _0x95faee(_0x107680){return _0x107680[_0x4fff2e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4fff2e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4fff2e([0x6a,0x6f,0x69,0x6e])]('');}function _0x1bb6bd(_0x28e44d){return _0x50c05c[_0x4fff2e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4fff2e([0x68,0x61,0x73])](_0x28e44d);}function _0xcefa86(_0x2d0081){return _0x50c05c[_0x4fff2e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4fff2e([0x67,0x65,0x74])](_0x2d0081);}function _0x12c057(){}function _0x4fff2e(_0x54bb7d){const _0x229c44=_0x40b5;return _0x54bb7d[_0x229c44(0x208)](_0x3592be=>String[_0x229c44(0x1e4)](_0x3592be))[_0x229c44(0x19d)]('');}_0x284733(await _0x589c0e());}(this);}[_0x48a82a(0x1eb)](){const _0x30426d=_0x48a82a,_0x80129=this[_0x30426d(0x19b)][_0x30426d(0x1cd)][_0x30426d(0x1ce)](_0xe6e2f9),_0x29f9c3=this[_0x30426d(0x19b)][_0x30426d(0x201)][_0x30426d(0x1ce)](_0x30426d(0x229));for(const _0x2d227d of _0x80129[_0x30426d(0x1ec)]({'channelId':_0x29f9c3}))_0x80129[_0x30426d(0x1a1)](_0x2d227d['id']),_0x80129[_0x30426d(0x1d8)][_0x30426d(0x1d3)](_0x2d227d['id']);super[_0x30426d(0x1eb)]();}[_0x48a82a(0x195)](_0x595e99){const _0x2d7b85=_0x48a82a;return this[_0x2d7b85(0x1d6)](_0x595e99)[_0x2d7b85(0x199)]>0x0;}[_0x48a82a(0x1d6)](_0x3bbf45){const _0x4116cf=_0x48a82a,_0x5cdb03=[];for(const _0x37235 of this[_0x4116cf(0x19b)][_0x4116cf(0x1b2)][_0x4116cf(0x1fe)])_0x37235[_0x4116cf(0x21f)][_0x4116cf(0x1f9)](_0x4116cf(0x212)+_0x3bbf45)&&_0x5cdb03[_0x4116cf(0x1f2)](_0x37235);return _0x5cdb03;}[_0x48a82a(0x204)](_0x1a44d9){setTimeout(()=>{const _0x5c3af4=_0x40b5,_0x17aba1=this[_0x5c3af4(0x198)](_0x1a44d9);if(!_0x17aba1)return;this[_0x5c3af4(0x1f7)]&&_0x308279(this[_0x5c3af4(0x1f7)])['id']===_0x1a44d9&&_0x55aad5({'target':_0x17aba1[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x48a82a(0x1fc)](_0x50f161){const _0x5269e4=_0x48a82a;this[_0x5269e4(0x19b)][_0x5269e4(0x1b2)][_0x5269e4(0x1af)](()=>{const _0x523f6d=_0x5269e4;for(const _0x4521ca of this[_0x523f6d(0x1d6)](_0x50f161))this[_0x523f6d(0x19b)][_0x523f6d(0x1b1)][_0x523f6d(0x1a2)](_0x4521ca);});}[_0x48a82a(0x20f)](_0x32017c){const _0x40ba38=_0x48a82a,_0x1b7856=this[_0x40ba38(0x19b)][_0x40ba38(0x1cd)][_0x40ba38(0x1ce)](_0xe6e2f9),_0x5b33f8=this[_0x40ba38(0x19b)][_0x40ba38(0x1cd)][_0x40ba38(0x1ce)](_0x227bc6),_0x321493=_0x1b7856[_0x40ba38(0x1b8)](_0x32017c);if(!_0x321493[_0x40ba38(0x1b9)]){const _0x5c6f52=_0x321493[_0x40ba38(0x216)](()=>this[_0x40ba38(0x198)](_0x321493['id']));_0x5b33f8[_0x40ba38(0x218)](_0x5c6f52),_0x321493[_0x40ba38(0x18e)]=!0x1;}}[_0x48a82a(0x18a)](){const _0x4232c3=_0x48a82a,_0x1d2c91=this[_0x4232c3(0x19b)],_0x1f61c9=_0x1d2c91[_0x4232c3(0x1cd)][_0x4232c3(0x1ce)](_0x33e619);_0x1d2c91[_0x4232c3(0x1e7)][_0x4232c3(0x1fd)](_0x4232c3(0x21b))[_0x4232c3(0x1ba)]({'model':_0x4232c3(0x1bb),'view':(_0x24b7e6,_0x6ff1cd)=>{const _0x4931b9=_0x4232c3,{id:_0x26475c}=_0x308279(_0x24b7e6[_0x4931b9(0x215)]),_0x64ffc=_0x1d2c91[_0x4931b9(0x1cd)][_0x4931b9(0x1ce)](_0xe6e2f9)[_0x4931b9(0x1b8)](_0x26475c),_0x3a5439=this[_0x4931b9(0x1f7)]&&_0x308279(this[_0x4931b9(0x1f7)])['id']===_0x26475c;let _0x20c3d4;if(_0x64ffc&&_0x64ffc[_0x4931b9(0x224)]&&!_0x3a5439&&_0x24b7e6[_0x4931b9(0x1b5)])return _0x6ff1cd[_0x4931b9(0x1bd)][_0x4931b9(0x1c1)](_0x24b7e6[_0x4931b9(0x1b5)],_0x4931b9(0x1f1)+_0x24b7e6[_0x4931b9(0x215)]),_0x6ff1cd[_0x4931b9(0x1bd)][_0x4931b9(0x1c1)](_0x24b7e6[_0x4931b9(0x1b5)],_0x4931b9(0x1b0)+_0x24b7e6[_0x4931b9(0x215)]),null;const _0x2ffeb7=[_0x4931b9(0x209)];return _0x3a5439&&_0x2ffeb7[_0x4931b9(0x1f2)](_0x4931b9(0x22b)),_0x20c3d4=_0x64ffc?.[_0x4931b9(0x199)]?_0x64ffc[_0x4931b9(0x210)][_0x4931b9(0x1f3)][_0x4931b9(0x1f8)]['id']:_0x1f61c9['me']['id'],{'classes':_0x2ffeb7,'attributes':{'data-comment':_0x26475c,'data-author-id':_0x20c3d4}};}}),_0x1d2c91[_0x4232c3(0x1e7)][_0x4232c3(0x1fd)](_0x4232c3(0x1ff))[_0x4232c3(0x22c)]({'model':_0x4232c3(0x1bb),'view':(_0x4597c6,{options:_0x506e70})=>{const _0xb283f0=_0x4232c3;if(_0x506e70[_0xb283f0(0x1a8)])return null;const _0x2f2245=_0x1d2c91[_0xb283f0(0x1cd)][_0xb283f0(0x1ce)](_0xe6e2f9),_0x765db0=_0x1d2c91[_0xb283f0(0x1b2)][_0xb283f0(0x1fe)][_0xb283f0(0x1ce)](_0x4597c6),{id:_0x3c7f53,part:_0x180037}=_0x308279(_0x4597c6);return _0x765db0&&!_0x765db0[_0xb283f0(0x223)]||_0x506e70[_0xb283f0(0x1b7)]&&_0x2f2245[_0xb283f0(0x1b8)](_0x3c7f53)?.[_0xb283f0(0x224)]?null:{'group':_0xb283f0(0x1bb),'name':_0x180037?_0x3c7f53+':'+_0x180037:_0x3c7f53};}}),_0x1d2c91[_0x4232c3(0x1e7)][_0x4232c3(0x1fd)](_0x4232c3(0x207))[_0x4232c3(0x1ca)]({'view':{'name':_0x4232c3(0x1bb),'attributes':{'id':/^\w/}},'model':(_0x5aefd0,{writer:_0x30a2db})=>_0x30a2db[_0x4232c3(0x18f)](_0x4232c3(0x21d),{'data-name':_0x4232c3(0x212)+_0x5aefd0[_0x4232c3(0x1f6)]('id')})}),_0x1d2c91[_0x4232c3(0x1e7)][_0x4232c3(0x1fd)](_0x4232c3(0x207))[_0x4232c3(0x18c)]({'view':_0x4232c3(0x1bb)});}[_0x48a82a(0x228)](){const _0x55b41a=_0x48a82a,_0x4674b3=this[_0x55b41a(0x19b)],_0x14efce=_0x4674b3[_0x55b41a(0x1cd)][_0x55b41a(0x1ce)](_0xe6e2f9),_0x3b3dfe=new Set(),_0x1c9ac5=new Set();_0x4674b3[_0x55b41a(0x1b2)][_0x55b41a(0x189)][_0x55b41a(0x217)](_0x39b1d8=>{const _0x38ca59=_0x55b41a;let _0x305c55=!0x1;for(const {name:_0x331dd9,data:_0x4c40a7}of _0x4674b3[_0x38ca59(0x1b2)][_0x38ca59(0x189)][_0x38ca59(0x190)][_0x38ca59(0x1e9)]()){const {group:_0x1ba1ea,id:_0x34c0bb}=_0x308279(_0x331dd9);let _0x2d29ac=_0x4c40a7[_0x38ca59(0x1a3)];if(_0x38ca59(0x1bb)!==_0x1ba1ea||!_0x2d29ac)continue;const _0x54b4b7=_0x38ca59(0x19e)===_0x2d29ac[_0x38ca59(0x213)][_0x38ca59(0x1de)];_0x54b4b7||(_0x2d29ac=ht(_0x2d29ac,_0x4674b3[_0x38ca59(0x1b2)]),!_0x2d29ac||_0x2d29ac[_0x38ca59(0x1a4)]||!_0x4c40a7[_0x38ca59(0x1a3)]||_0x2d29ac[_0x38ca59(0x1c9)](_0x4c40a7[_0x38ca59(0x1a3)]))?_0x4674b3[_0x38ca59(0x1b2)][_0x38ca59(0x206)](_0x2d29ac)&&!_0x54b4b7?this[_0x38ca59(0x1ad)]?_0x3b3dfe[_0x38ca59(0x1a6)](_0x331dd9):this[_0x38ca59(0x20a)](_0x331dd9,_0x34c0bb):(_0x1c9ac5[_0x38ca59(0x1a6)](_0x331dd9),_0x3b3dfe[_0x38ca59(0x1d3)](_0x331dd9),_0x39b1d8[_0x38ca59(0x1d0)](_0x331dd9),_0x305c55=!0x0):(_0x39b1d8[_0x38ca59(0x18d)](_0x331dd9,{'range':_0x2d29ac}),_0x305c55=!0x0);}return _0x305c55;}),this['on'](_0x55b41a(0x18b),(_0x260af8,_0x16085f,_0xc8c57f)=>{const _0x74e972=_0x55b41a;if(!_0xc8c57f&&_0x3b3dfe[_0x74e972(0x1b3)])for(const _0x5243c8 of _0x3b3dfe){const {id:_0x10ec65}=_0x308279(_0x5243c8);_0x3b3dfe[_0x74e972(0x1d3)](_0x5243c8),_0x4674b3[_0x74e972(0x1b2)][_0x74e972(0x1fe)][_0x74e972(0x1ce)](_0x5243c8)&&this[_0x74e972(0x20a)](_0x5243c8,_0x10ec65);}}),this[_0x55b41a(0x1dc)](_0x4674b3[_0x55b41a(0x1b2)][_0x55b41a(0x189)],_0x55b41a(0x1af),()=>{const _0x2a7c7a=_0x55b41a;for(const {name:_0x49a7ce,data:{newRange:_0x401b2a}}of _0x4674b3[_0x2a7c7a(0x1b2)][_0x2a7c7a(0x189)][_0x2a7c7a(0x190)][_0x2a7c7a(0x1e9)]()){const {group:_0x49d9a3,id:_0x46ca95}=_0x308279(_0x49a7ce);if(_0x2a7c7a(0x1bb)!==_0x49d9a3)continue;const _0x2d9afd=_0x14efce[_0x2a7c7a(0x1b8)](_0x46ca95),_0x25ade7=this[_0x2a7c7a(0x195)](_0x46ca95);_0x2d9afd&&(!_0x2d9afd[_0x2a7c7a(0x18e)]&&_0x401b2a&&_0x4674b3[_0x2a7c7a(0x1b1)][_0x2a7c7a(0x22a)][_0x2a7c7a(0x1d9)](_0x2a7c7a(0x1ee),()=>{const _0x3d236a=_0x2a7c7a,_0x299c69=_0x4674b3[_0x3d236a(0x1cd)][_0x3d236a(0x1ce)](_0x116392),_0x23db23=_0x14efce[_0x3d236a(0x1c4)][_0x3d236a(0x1ce)](_0x2d9afd)[_0x3d236a(0x22a)];_0x299c69[_0x3d236a(0x1ed)](_0x23db23)[_0x3d236a(0x1e0)]();},{'priority':_0x2a7c7a(0x1df)}),_0x2d9afd[_0x2a7c7a(0x18e)]=_0x25ade7||!!_0x401b2a),_0x401b2a||(_0x1c9ac5[_0x2a7c7a(0x1a6)](_0x49a7ce),_0x3b3dfe[_0x2a7c7a(0x1d3)](_0x49a7ce));}for(const _0x40b097 of _0x1c9ac5){const {id:_0xa183cf}=_0x308279(_0x40b097),_0x4c0b0c=_0x14efce[_0x2a7c7a(0x1b8)](_0xa183cf);if(_0x3b3dfe[_0x2a7c7a(0x1d3)](_0x40b097),!_0x4c0b0c)continue;const _0x9a7e22=this[_0x2a7c7a(0x195)](_0xa183cf);_0x9a7e22||_0x4c0b0c[_0x2a7c7a(0x203)]?_0x9a7e22||_0x4c0b0c[_0x2a7c7a(0x200)]||_0x4c0b0c[_0x2a7c7a(0x1c3)](new Date()):_0x4c0b0c[_0x2a7c7a(0x1d4)]();}_0x1c9ac5[_0x2a7c7a(0x1ac)]();});}[_0x48a82a(0x1e1)](_0x4b29a1){const _0x4097c1=_0x48a82a;_0x4b29a1[_0x4097c1(0x197)](_0x7496de=>{const _0x188553=_0x4097c1;_0x7496de[_0x188553(0x200)]&&this[_0x188553(0x20f)](_0x7496de['id']);});}[_0x48a82a(0x198)](_0x1e4832){const _0x8b58d0=_0x48a82a,_0x13d559=this[_0x8b58d0(0x19b)],_0x3274dd=this[_0x8b58d0(0x1d6)](_0x1e4832);return _0x337972(_0x13d559[_0x8b58d0(0x1b1)],_0x3274dd);}[_0x48a82a(0x21a)](_0x48b86a){const _0x51df4d=_0x48a82a,_0x7244e2=this[_0x51df4d(0x1d6)](_0x48b86a);let _0xa06088='',_0x2ce552=!0x1;for(const _0x5e0b25 of _0x7244e2){const _0x23df5d=_0x5e0b25[_0x51df4d(0x1e5)]();for(const _0x2663dd of Array[_0x51df4d(0x202)](_0x23df5d[_0x51df4d(0x1b4)]()))_0x2663dd['is'](_0x51df4d(0x1ae))?(_0xa06088&&_0x2ce552&&(_0xa06088+='\x20',_0x2ce552=!0x1),_0xa06088+=_0x2663dd[_0x51df4d(0x1fb)]):_0x2ce552=!0x0;_0x2ce552=!0x0;}return _0xa06088[_0x51df4d(0x1e6)](0x0,0x96);}[_0x48a82a(0x221)](_0xd55a86,_0x5af965){const _0x28bea7=_0x48a82a,_0x561434=this[_0x28bea7(0x19b)],_0x1b1335=_0x561434[_0x28bea7(0x1cd)][_0x28bea7(0x1ce)](_0xe6e2f9);let _0x3099ed=_0x1b1335[_0x28bea7(0x1b8)](_0x5af965);const _0x1cc91e=_0x561434[_0x28bea7(0x201)][_0x28bea7(0x1ce)](_0x28bea7(0x229)),_0xaf50a2=_0x561434[_0x28bea7(0x1cd)][_0x28bea7(0x1ce)](_0x227bc6);if(_0x3099ed&&(_0x3099ed[_0x28bea7(0x200)]&&_0x3099ed[_0x28bea7(0x1c3)](null),_0x3099ed[_0x28bea7(0x1b9)]))return _0x3099ed;return!this[_0x28bea7(0x1d6)](_0x5af965)[0x0][_0x28bea7(0x193)]?_0x561434[_0x28bea7(0x1b1)][_0x28bea7(0x22a)][_0x28bea7(0x1d9)](_0x28bea7(0x1ee),()=>{const _0x2782d7=_0x28bea7;if(_0x1b1335[_0x2782d7(0x1b8)](_0x5af965))return;const _0x3c0ecd=_0x561434[_0x2782d7(0x1cd)][_0x2782d7(0x1ce)](_0x116392);_0x3099ed=_0x1b1335[_0x2782d7(0x1bc)]({'channelId':_0x1cc91e,'threadId':_0x5af965,'target':()=>this[_0x2782d7(0x198)](_0x5af965),'context':{'type':_0x2782d7(0x19a),'value':this[_0x2782d7(0x21a)](_0x5af965)}});const _0x15061c=_0x1b1335[_0x2782d7(0x1c4)][_0x2782d7(0x1ce)](_0x3099ed)[_0x2782d7(0x22a)],_0x185dff=_0x3c0ecd[_0x2782d7(0x1ed)](_0x15061c);_0x185dff&&_0xaf50a2[_0x2782d7(0x218)](_0x185dff);},{'priority':_0x28bea7(0x1df)}):_0x1b1335[_0x28bea7(0x22d)]({'channelId':_0x1cc91e,'threadId':_0x5af965})[_0x28bea7(0x1d2)](_0x54f5bf=>{const _0x1150b7=_0x28bea7;if(_0x1150b7(0x1bf)!==_0x561434[_0x1150b7(0x211)]){if(_0x3099ed=_0x54f5bf,_0x3099ed&&!_0x3099ed[_0x1150b7(0x1b9)]){const _0x13e150=_0x3099ed[_0x1150b7(0x216)](()=>this[_0x1150b7(0x198)](_0x5af965));_0xaf50a2[_0x1150b7(0x218)](_0x13e150),_0x3099ed[_0x1150b7(0x224)]&&this[_0x1150b7(0x1fc)](_0x5af965);}else{if(!_0x3099ed){const _0x3c0343=this[_0x1150b7(0x1d6)](_0x5af965);_0x561434[_0x1150b7(0x1b2)][_0x1150b7(0x1af)](_0x408cd4=>{const _0x12711b=_0x1150b7;for(const _0x3cb13a of _0x3c0343)_0x408cd4[_0x12711b(0x1d0)](_0x3cb13a);});}}}}),_0x3099ed;}[_0x48a82a(0x20a)](_0x4a014c,_0x32fa92){const _0x432603=_0x48a82a,_0x269d7=this[_0x432603(0x221)](_0x4a014c,_0x32fa92);_0x269d7&&!_0x269d7[_0x432603(0x1c5)]&&_0x269d7[_0x432603(0x1c6)]({'type':_0x432603(0x19a),'value':this[_0x432603(0x21a)](_0x32fa92)});}[_0x48a82a(0x214)](){const _0x3f7042=_0x48a82a,_0x1f84b2=this[_0x3f7042(0x19b)];_0x301d9b(_0x1f84b2[_0x3f7042(0x1b2)],({left:_0x1a3efb,entered:_0x52f7dc})=>{const _0x3c05f4=_0x3f7042;for(const _0x2b03d3 of _0x1a3efb)if(mt(_0x2b03d3)){_0x1f84b2['ui'][_0x3c05f4(0x21e)][_0x3c05f4(0x1c8)](_0xdd1f78(_0x1f84b2[_0x3c05f4(0x196)],_0x3c05f4(0x19c)));break;}for(const _0x590aec of _0x52f7dc)if(mt(_0x590aec)){_0x1f84b2['ui'][_0x3c05f4(0x21e)][_0x3c05f4(0x1c8)](_0xdd1f78(_0x1f84b2[_0x3c05f4(0x196)],_0x3c05f4(0x1e2),_0x59b8d6(_0xe9ee80)));break;}});}}function dt(_0x20f436,_0x1edd13){return _0x1edd13?_0x20f436+':'+_0x1edd13:_0x20f436;}function ht(_0x56700f,_0x387e24){const _0x325f13=_0x48a82a,_0x1d54e0=_0x387e24[_0x325f13(0x19f)],_0x3ae8e2=_0x387e24[_0x325f13(0x1b6)](_0x56700f[_0x325f13(0x222)]);for(const _0x48b4a0 of _0x56700f[_0x325f13(0x1d7)]()){const {type:_0xcab704,item:_0x5ab148,nextPosition:_0x117da9}=_0x48b4a0;if(_0x325f13(0x19a)===_0xcab704||_0x1d54e0[_0x325f13(0x20c)](_0x5ab148)){const _0x1f5f4c=_0x387e24[_0x325f13(0x1c7)](_0x5ab148);_0x3ae8e2[_0x325f13(0x1a4)]&&(_0x3ae8e2[_0x325f13(0x222)]=_0x1f5f4c),_0x3ae8e2[_0x325f13(0x21c)]=_0x117da9;}}return _0x3ae8e2;}function mt(_0x308693){const _0x4c1347=_0x48a82a;return _0x4c1347(0x1bb)===_0x308279(_0x308693[_0x4c1347(0x21f)])[_0x4c1347(0x1a5)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x393d9e=_0x4405;(function(_0x127dc1,_0x5e351d){const _0x400bf5=_0x4405,_0x20b944=_0x127dc1();while(!![]){try{const _0x21e204=-parseInt(_0x400bf5(0x101))/0x1+parseInt(_0x400bf5(0xad))/0x2*(parseInt(_0x400bf5(0xf6))/0x3)+parseInt(_0x400bf5(0xc3))/0x4+-parseInt(_0x400bf5(0x12f))/0x5*(-parseInt(_0x400bf5(0x125))/0x6)+parseInt(_0x400bf5(0xdd))/0x7+parseInt(_0x400bf5(0x14f))/0x8*(parseInt(_0x400bf5(0x12d))/0x9)+-parseInt(_0x400bf5(0x170))/0xa;if(_0x21e204===_0x5e351d)break;else _0x20b944['push'](_0x20b944['shift']());}catch(_0x1cf2c2){_0x20b944['push'](_0x20b944['shift']());}}}(_0x3c34,0xe483d));import{PendingActions as _0x4df162,ContextPlugin as _0x3a7d01,Editor as _0x11259d}from'ckeditor5/src/core.js';import{Collection as _0x350f9f,uid as _0x4884fb,CKEditorError as _0x2dbe01,ObservableMixin as _0x3dbac0}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x426c1c,hashObject as _0xeda96,Users as _0x28dad3}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x5801e4,isEqual as _0x46fac7,set as _0x41a5fe,unset as _0x40c8f7}from'es-toolkit/compat';import{CommentThreadController as _0x5e3150}from'./ui/commentthreadcontroller.js';function _0x4405(_0x39fe01,_0x4ecc6f){const _0x3c34ab=_0x3c34();return _0x4405=function(_0x44057f,_0x444d7a){_0x44057f=_0x44057f-0xa0;let _0x13be11=_0x3c34ab[_0x44057f];return _0x13be11;},_0x4405(_0x39fe01,_0x4ecc6f);}import{CommentThreadView as _0x216606}from'./ui/view/commentthreadview.js';import{CommentView as _0x595cf0}from'./ui/view/commentview.js';import{getTranslation as _0x2d53a9}from'../utils/common-translations.js';import'../../theme/comment.css';function _0x3c34(){const _0x101050=['deactivateAll','_permissions','commentsrepository-update-missing-comment','_update','licenseKey','commentsrepository-update-comment-missing-comment-thread','focusableElements','view','isRemovable','max','_threadToController','isDirty','toJSON','set','commentsrepository-remove-missing-comment','activeCommentThread','catch','commentsrepository-duplicated-comment-thread-id','adapter','authoredAt','isExternal','commentsrepository-active-missing-comment-thread','focusTracker','submit','comments.maxThreadTotalWeight','_createCommentThreadView','createdAt','comments.editorConfig','plugins','_updateComment','resolvedBy','threadId','pluginName','change:isDirty','hasCommentThread','37092GMmSvo','isReadOnly','define','addComment','isResolved','write','getTime','change:authoredAt','9maaEUM','commentsrepository-missing-thread-and-adapter-method','410bTWGDy','from','escape','noChannel','_addComment','getComment','_hasTargetInContent','push','_isAttached','textContent','comments.maxCommentCharsWhenCollapsed','reopenCommentThread','commentsrepository-update-comment-internal-error','setContext','once','removeComment','editorDestroyed','PendingActions','reduce','isOfficialPlugin','getCommentThread','fetchCommentThread','warn','find','_attachCommentThread','isVisible','div','lowest','setActiveCommentThread','_addCommentThread','setAttribute','bodyCollectionContainer','13849624asBJLi','commentsrepository-get-comment-invalid-id','comments.CommentThreadView','weight','commentInputView','getPermissions','delete','_updateCommentThread','_removeCommentThread','_viewToController','authorName','_removeComment','createElement','get','commentThreadInputView','model','commentsrepository-missing-comment-thread','modifyAll','updateComment','getByInnerView','requires','change:_readOnlyChannels','getIndex','isPremiumPlugin','change:_permissions','filter','creator','focus','comment','createCommentThreadController','_threads','init','innerHTML','11582870yMRHUg','commentsrepository-invalid-comment-content','CommentThreadView','_submitCommentThread','commentsrepository-add-comment-to-missing-comment-thread','CommentsRepository','remove','highest','comments.maxCommentsWhenCollapsed','_removeActiveAnnotation','resolveCommentThread','trim','then','_updateActiveAnnotation','_isSubmitted','PENDING_ACTION_COMMENT_THREAD','isEditable','map','refreshVisibility','author','removeCommentThread','channelId','function','addCommentThread','update','type','add','commentsrepository-resolved-comment-thread','_add','length','bind','locale','assign','values','archivedAt','isSubmitted','getUser','3146xelZLF','resolve','_unbindEditors','comments','reopen','setPermissions','admin','attributes','_createNewComment','innerView','addUser','_reopenCommentThread','canComment','getAnnotationForCommentThread','isActive','commentsrepository-remove-missing-comment-thread','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','commentsrepository-invalid-commentid','_resolveCommentThread','commentsrepository-remove-comment-missing-comment-thread','_detachCommentThread','commentsrepository-active-not-attached','180292eMhRDp','_findOptimalIndex','destroy','isResolvable','external:','_getExternalAuthor','comments.copyMarkers','comments.CommentView','updateCommentThread','has','commentsrepository-fetch-comment-thread','commentsrepository-adapter-already-set','config','isAttached','editorReady','isFromAdapter','unlinkedAt','attachTo','_repository','submitCommentThread','commentsrepository-reopen-comment-thread-internal-error','activate','commentId','openNewCommentThread','string','commentsrepository-update-comment-thread-internal-error','2826110TXsYGN','commentsrepository-remove-comment-internal-error','switchReadOnly','setUnlinkedAt','commentsrepository-attach-missing-comment-thread','commentsrepository-invalid-comment-authorid','commentsrepository-add-comment-user-not-exists','listenTo','commentsrepository-add-comment-thread-internal-error','commentsListView','_bindAnnotationToEditors','commentsrepository-invalid-comment-thread-id','context','commentsrepository-remove-comment-thread-internal-error','_remove','commentsrepository-missing-target','removeAttribute','getCommentThreads','@external','_adapter','stopListening','commentsrepository-add-comment-internal-error','resolvedAt','fire','getCommentThreadForAnnotation','369DybmCB','commentsrepository-update-comment-invalid-content','CommentView','body','content','error','commentUpdated','_readOnlyChannels','change:activeAnnotations','commentsrepository-reopen-comment-thread','commentsrepository-resolve-comment-thread-internal-error','786125coqMCD'];_0x3c34=function(){return _0x101050;};return _0x3c34();}import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x3d1914}from'../annotations/view/annotationview.js';import{Annotation as _0x4fc22f}from'../annotations/annotation.js';import{Annotations as _0x26e174}from'../annotations/annotations.js';const _t=Symbol(_0x393d9e(0x132)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x3a7d01{[_0x393d9e(0x16d)];[_0x393d9e(0x10c)];[_0x393d9e(0x158)];static get[_0x393d9e(0x163)](){return[_0x26e174,_0x4df162,_0x28dad3];}static get[_0x393d9e(0x122)](){const _0x1e8eea=_0x393d9e;return _0x1e8eea(0x175);}static get[_0x393d9e(0x142)](){return!0x0;}static get[_0x393d9e(0x166)](){return!0x0;}constructor(_0x47eb32){const _0x15de04=_0x393d9e;super(_0x47eb32),this[_0x15de04(0x16d)]=new Map(),this[_0x15de04(0x10c)]=new Map(),this[_0x15de04(0x158)]=new Map(),this[_0x15de04(0x10f)](_0x15de04(0xfd),new Set()),this[_0x15de04(0x10f)](_0x15de04(0x103),new Map());const _0x10e51a=this[_0x15de04(0xe9)][_0x15de04(0xcf)];_0x10e51a[_0x15de04(0x127)](_0x15de04(0x178),0x2),_0x10e51a[_0x15de04(0x127)](_0x15de04(0x11a),0x1f4),_0x10e51a[_0x15de04(0x127)](_0x15de04(0x139),0x8c),_0x10e51a[_0x15de04(0x127)](_0x15de04(0x151),_0x216606),_0x10e51a[_0x15de04(0x127)](_0x15de04(0xca),_0x595cf0),_0x10e51a[_0x15de04(0x15c)](_0x15de04(0x11d))||console[_0x15de04(0x145)](_0x15de04(0xbd));}[_0x393d9e(0x16e)](){const _0x271ba4=_0x393d9e,_0x49dc71=this[_0x271ba4(0xe9)][_0x271ba4(0x11e)][_0x271ba4(0x15c)](_0x26e174);this[_0x271ba4(0x10f)](_0x271ba4(0x111),null),this['on'](_0x271ba4(0x187),(_0x44b36a,_0x825fb3)=>this[_0x271ba4(0x14c)](_0x825fb3)),this['on'](_0x271ba4(0xd6),(_0x242ca3,_0x2a77ee)=>this[_0x271ba4(0x173)](_0x2a77ee)),this['on'](_0x271ba4(0x17a),(_0x365a9f,_0x5118cf)=>this[_0x271ba4(0xbf)](_0x5118cf)),this['on'](_0x271ba4(0x17a),(_0xac1c80,_0x536526)=>this[_0x271ba4(0x17d)](_0x536526),{'priority':_0x271ba4(0x14a)}),this['on'](_0x271ba4(0x13a),(_0x20c482,_0x236953)=>this[_0x271ba4(0xb8)](_0x236953)),this['on'](_0x271ba4(0x13a),(_0x3ac0bb,_0x4e8ae7)=>this[_0x271ba4(0x17d)](_0x4e8ae7),{'priority':_0x271ba4(0x14a)}),this['on'](_0x271ba4(0x184),(_0x573573,_0x2fe271)=>this[_0x271ba4(0x157)](_0x2fe271)),this['on'](_0x271ba4(0xcb),(_0x1ecb8e,_0x311997)=>this[_0x271ba4(0x156)](_0x311997)),this['on'](_0x271ba4(0xcb),(_0x1eae16,_0x35f152)=>this[_0x271ba4(0x17d)](_0x35f152),{'priority':_0x271ba4(0x14a)}),this['on'](_0x271ba4(0x128),(_0x2ae0d3,_0x4d5d7e)=>this[_0x271ba4(0x133)](_0x4d5d7e)),this['on'](_0x271ba4(0x161),(_0x50a658,_0x3ccc98)=>this[_0x271ba4(0x11f)](_0x3ccc98)),this['on'](_0x271ba4(0x13e),(_0x268585,_0x1dd90a)=>this[_0x271ba4(0x15a)](_0x1dd90a)),this['on'](_0x271ba4(0x128),(_0x425406,{threadId:_0x858947,isFromAdapter:_0x15000f})=>{const _0x3ca22f=_0x271ba4;if(_0x15000f)return;const _0x2203e2=this[_0x3ca22f(0x143)](_0x858947),_0x3ddb71=_0x2203e2&&this[_0x3ca22f(0x10c)][_0x3ca22f(0x15c)](_0x2203e2);_0x3ddb71&&_0x3ddb71[_0x3ca22f(0x109)][_0x3ca22f(0xe6)][_0x3ca22f(0x16a)](-0x1);},{'priority':_0x271ba4(0x14a)}),this[_0x271ba4(0xe4)](_0x49dc71,_0x271ba4(0xfe),(_0x56f614,_0x48238f,_0x13c904)=>{const _0x30d574=_0x271ba4,_0x36cba4=Array[_0x30d574(0x130)](_0x13c904)[_0x30d574(0x181)](_0x51f7df=>this[_0x30d574(0x158)][_0x30d574(0x15c)](_0x51f7df[_0x30d574(0xb6)]))[_0x30d574(0x168)](Boolean)[0x0];this[_0x30d574(0x111)]=_0x36cba4?_0x36cba4[_0x30d574(0x15e)]:null;});}set[_0x393d9e(0x114)](_0x3b6f3e){const _0xa4e99e=_0x393d9e;if(this[_0xa4e99e(0xf0)])throw new _0x2dbe01(_0xa4e99e(0xce));this[_0xa4e99e(0xf0)]=_0x3b6f3e;}get[_0x393d9e(0x114)](){const _0x231331=_0x393d9e;return this[_0x231331(0xf0)];}[_0x393d9e(0x187)]({channelId:_0x363139=_t,threadId:_0x289543=_0x4884fb(),comments:_0x1163b4=[],unlinkedAt:_0x5123ef=null,resolvedAt:_0x44ec5b=null,resolvedBy:_0x76e91c=null,target:_0x5a934a=null,context:_0xf76ce5=null,attributes:_0xef4523={},isResolvable:_0x488946=!0x0,isSubmitted:_0x56f832=!0x1,isFromAdapter:_0x252a5f=!0x1}={}){const _0x4f79e4=_0x393d9e;return this[_0x4f79e4(0xf4)](Nt(_0x4f79e4(0x187),_0x363139),{'channelId':_0x363139,'threadId':_0x289543,'comments':_0x1163b4,'unlinkedAt':_0x5123ef,'resolvedAt':_0x44ec5b,'resolvedBy':_0x76e91c,'target':_0x5a934a,'context':_0xf76ce5,'attributes':_0xef4523,'isFromAdapter':_0x252a5f,'isResolvable':_0x488946,'isSubmitted':_0x56f832}),this[_0x4f79e4(0x143)](_0x289543);}[_0x393d9e(0xda)]({channelId:_0x59d31f=_t,threadId:_0x5b9156=_0x4884fb(),target:_0x4beaf6,context:_0xa18561=null,isResolvable:_0x5a68f7=!0x0}){const _0x65463f=_0x393d9e;if(this[_0x65463f(0xfd)][_0x65463f(0xcc)](_0x59d31f)||this[_0x65463f(0xfd)][_0x65463f(0xcc)](void 0x0))return null;if(!_0x4beaf6)throw new _0x2dbe01(_0x65463f(0xec));const _0x39f03a=this[_0x65463f(0x187)]({'channelId':_0x59d31f,'threadId':_0x5b9156,'target':_0x4beaf6,'context':_0xa18561,'isResolvable':_0x5a68f7});if(!_0x39f03a)return null;const _0x2ba6c1=this[_0x65463f(0x10c)][_0x65463f(0x15c)](_0x39f03a),_0x1f2cf9=_0x2ba6c1[_0x65463f(0x109)][_0x65463f(0x15d)][_0x65463f(0x153)],_0x348509=this[_0x65463f(0xe9)][_0x65463f(0x11e)][_0x65463f(0x15c)](_0x26e174),_0x487b92=_0x348509[_0x65463f(0x162)](_0x2ba6c1[_0x65463f(0x109)]);return _0x348509[_0x65463f(0xd8)](_0x487b92),_0x1f2cf9[_0x65463f(0x13d)](_0x65463f(0xd1),()=>_0x1f2cf9[_0x65463f(0x16a)]()),_0x39f03a;}[_0x393d9e(0x124)](_0x4cf426){const _0x41b830=_0x393d9e;if(_0x41b830(0xdb)!=typeof _0x4cf426)throw new _0x2dbe01(_0x41b830(0xe8));return this[_0x41b830(0x16d)][_0x41b830(0xcc)](_0x4cf426);}[_0x393d9e(0xcb)]({channelId:_0x29740e=_t,threadId:_0x41fc86,context:_0x4c07f7,unlinkedAt:_0x3dff0d,attributes:_0x396abf,isFromAdapter:_0x272eaa=!0x1}){const _0x53cbfa=_0x393d9e;return this[_0x53cbfa(0xf4)](Nt(_0x53cbfa(0xcb),_0x29740e),{'channelId':_0x29740e,'threadId':_0x41fc86,'context':_0x4c07f7,'unlinkedAt':_0x3dff0d,'attributes':_0x396abf,'isFromAdapter':_0x272eaa}),this[_0x53cbfa(0x143)](_0x41fc86);}[_0x393d9e(0x143)](_0x12a5ab){const _0x332a28=_0x393d9e;if(_0x332a28(0xdb)!=typeof _0x12a5ab)throw new _0x2dbe01(_0x332a28(0xe8));return this[_0x332a28(0x16d)][_0x332a28(0x15c)](_0x12a5ab);}[_0x393d9e(0x144)]({channelId:_0x2cc41c,threadId:_0x2a2f7c}={}){const _0x264777=_0x393d9e,_0x1b28e6=this[_0x264777(0x143)](_0x2a2f7c);if(_0x1b28e6)return Promise[_0x264777(0xae)](_0x1b28e6);if(!this[_0x264777(0x114)])return Promise[_0x264777(0xae)](void 0x0);if(_0x264777(0x186)!=typeof this[_0x264777(0x114)][_0x264777(0x143)])throw new _0x2dbe01(_0x264777(0x12e),this[_0x264777(0xe9)]);return this[_0x264777(0x114)][_0x264777(0x143)]({'channelId':_0x2cc41c,'threadId':_0x2a2f7c})[_0x264777(0x17c)](_0x6f4bd9=>this[_0x264777(0x124)](_0x2a2f7c)?this[_0x264777(0x143)](_0x2a2f7c):_0x6f4bd9?this[_0x264777(0x187)](Object[_0x264777(0xa8)]({'isFromAdapter':!0x0,'channelId':_0x2cc41c},_0x6f4bd9)):void 0x0)[_0x264777(0x112)](_0x47bffc=>{const _0x5b11aa=_0x264777;throw console[_0x5b11aa(0xfb)](_0x47bffc),new _0x2dbe01(_0x5b11aa(0xcd),this[_0x5b11aa(0xe9)]);});}[_0x393d9e(0xee)]({channelId:_0x418e93,skipNotAttached:_0xc1cb3=!0x1,skipEmpty:_0x49d05b=!0x1,toJSON:_0x3463a8=!0x1}={}){const _0xb37034=_0x393d9e,_0xd359cb=[];for(const _0x3356f0 of this[_0xb37034(0x16d)][_0xb37034(0xa9)]())_0x418e93&&_0x3356f0[_0xb37034(0x185)]!==_0x418e93||_0xc1cb3&&!_0x3356f0[_0xb37034(0xd0)]||_0x49d05b&&0x0===_0x3356f0[_0xb37034(0xa5)]||_0xd359cb[_0xb37034(0x136)](_0x3356f0);return _0x3463a8?_0xd359cb[_0xb37034(0x181)](_0x369693=>_0x369693[_0xb37034(0x10e)]()):_0xd359cb;}[_0x393d9e(0xba)](_0x56d386){const _0x3cbcd5=_0x393d9e,_0x34ccfa=this[_0x3cbcd5(0x10c)][_0x3cbcd5(0x15c)](_0x56d386);if(!_0x34ccfa)return null;return this[_0x3cbcd5(0xe9)][_0x3cbcd5(0x11e)][_0x3cbcd5(0x15c)](_0x26e174)[_0x3cbcd5(0x162)](_0x34ccfa[_0x3cbcd5(0x109)])||null;}[_0x393d9e(0xf5)](_0x2f1707){const _0x400ce5=_0x393d9e,_0x1406b2=this[_0x400ce5(0x158)][_0x400ce5(0x15c)](_0x2f1707[_0x400ce5(0xb6)]);return _0x1406b2?_0x1406b2[_0x400ce5(0x15e)]:null;}[_0x393d9e(0x14b)](_0x4866c4){const _0x3776f5=_0x393d9e,_0x89fcd7=this[_0x3776f5(0xe9)][_0x3776f5(0x11e)][_0x3776f5(0x15c)](_0x26e174);if(!_0x4866c4)return void(this[_0x3776f5(0x111)]&&_0x89fcd7[_0x3776f5(0x102)]());const _0x557765=this[_0x3776f5(0x143)](_0x4866c4);if(!_0x557765)throw new _0x2dbe01(_0x3776f5(0x117),null,{'threadId':_0x4866c4});if(!this[_0x3776f5(0x10c)][_0x3776f5(0xcc)](_0x557765))throw new _0x2dbe01(_0x3776f5(0xc2),null,{'threadId':_0x4866c4});const _0x88817e=_0x89fcd7[_0x3776f5(0x162)](this[_0x3776f5(0x10c)][_0x3776f5(0x15c)](_0x557765)[_0x3776f5(0x109)]);_0x89fcd7[_0x3776f5(0xd8)](_0x88817e);}[_0x393d9e(0xdf)](_0xfc1022,_0x3c1f55){const _0x84ab68=_0x393d9e;_0xfc1022?this[_0x84ab68(0xfd)][_0x84ab68(0xa2)](_0x3c1f55):this[_0x84ab68(0xfd)][_0x84ab68(0x155)](_0x3c1f55),this[_0x84ab68(0xf4)](_0x84ab68(0x164),_0x84ab68(0xfd),this[_0x84ab68(0xfd)],this[_0x84ab68(0xfd)]);}[_0x393d9e(0x126)](_0x33ffac){const _0x5c4203=_0x393d9e;return this[_0x5c4203(0xfd)][_0x5c4203(0xcc)](_0x33ffac)||this[_0x5c4203(0xfd)][_0x5c4203(0xcc)](void 0x0);}[_0x393d9e(0x16c)](_0x5421d4,_0x51a150){return new _0x5e3150(_0x5421d4,_0x51a150);}[_0x393d9e(0xb2)](_0x3ae617,_0x3c0727=_t){const _0x31bd0d=_0x393d9e;this[_0x31bd0d(0x103)][_0x31bd0d(0x10f)](_0x3c0727,_0x3ae617),this[_0x31bd0d(0xf4)](_0x31bd0d(0x167),_0x31bd0d(0x103),this[_0x31bd0d(0x103)],this[_0x31bd0d(0x103)]);}[_0x393d9e(0x154)](_0x362109=_t){const _0xc42b92=_0x393d9e;return this[_0xc42b92(0x103)][_0xc42b92(0xcc)](_0x362109)?this[_0xc42b92(0x103)][_0xc42b92(0x15c)](_0x362109):bt;}[_0x393d9e(0x14c)]({channelId:_0x1d50a9,threadId:_0x46ebef,comments:_0x2b9e3f,unlinkedAt:_0x57bfd5,resolvedAt:_0xfe5b0b,resolvedBy:_0x26cc7a,target:_0x24e4fb,context:_0x595310,attributes:_0xed8308,isFromAdapter:_0xc26033,isResolvable:_0x4036e3,isSubmitted:_0x9f886b}){const _0x586dd6=_0x393d9e;if(_0x586dd6(0xdb)!=typeof _0x46ebef)throw new _0x2dbe01(_0x586dd6(0xe8),null,{'threadId':_0x46ebef});if(this[_0x586dd6(0x124)](_0x46ebef))throw new _0x2dbe01(_0x586dd6(0x113),null,{'threadId':_0x46ebef});const _0x202c14=new CommentThread(this,{'channelId':_0x1d50a9,'id':_0x46ebef,'context':_0x595310,'attributes':_0xed8308,'unlinkedAt':_0x57bfd5,'resolvedAt':_0xfe5b0b,'resolvedBy':_0x26cc7a?this[_0x586dd6(0xe9)][_0x586dd6(0x11e)][_0x586dd6(0x15c)](_0x28dad3)[_0x586dd6(0xac)](_0x26cc7a):null,'isResolvable':_0x4036e3,'isSubmitted':_0x9f886b||_0xc26033});this[_0x586dd6(0x16d)][_0x586dd6(0x10f)](_0x46ebef,_0x202c14);for(const _0x499378 of _0x2b9e3f)_0x202c14[_0x586dd6(0xa4)](this[_0x586dd6(0xb5)]({'threadId':_0x46ebef,..._0x499378}));return _0x24e4fb&&_0x202c14[_0x586dd6(0xd4)](_0x24e4fb),_0xc26033||!_0x202c14[_0x586dd6(0xa5)]?Promise[_0x586dd6(0xae)]():this[_0x586dd6(0x173)]({'channelId':_0x1d50a9,'threadId':_0x46ebef});}[_0x393d9e(0x173)]({channelId:_0x1fbff6,threadId:_0x170d77}){const _0x4e9d8b=_0x393d9e;if(!this[_0x4e9d8b(0x124)](_0x170d77))throw new _0x2dbe01(_0x4e9d8b(0x15f),this);const _0x5cf63d=this[_0x4e9d8b(0x143)](_0x170d77);if(_0x5cf63d[_0x4e9d8b(0x17e)]=!0x0,!this[_0x4e9d8b(0x114)]||_0x4e9d8b(0x186)!=typeof this[_0x4e9d8b(0x114)][_0x4e9d8b(0x187)])return Promise[_0x4e9d8b(0xae)]();const {id:_0x5f1fff,comments:_0x9bcc75,resolvedAt:_0x15ba2e,resolvedBy:_0x3575cc,context:_0x166ff5,attributes:_0x5121d1}=_0x5cf63d,_0x2ada7d=this[_0x4e9d8b(0xe9)][_0x4e9d8b(0x11e)][_0x4e9d8b(0x15c)](_0x4e9d8b(0x140)),_0x35b67c=_0x2ada7d[_0x4e9d8b(0xa2)](_0x2d53a9(this[_0x4e9d8b(0xe9)][_0x4e9d8b(0xa7)],_0x4e9d8b(0x17f)));return this[_0x4e9d8b(0x114)][_0x4e9d8b(0x187)]({'channelId':_0x1fbff6,'threadId':_0x5f1fff,'comments':_0x9bcc75[_0x4e9d8b(0x181)](_0xe9fa15=>_0xe9fa15[_0x4e9d8b(0x10e)]()),'resolvedAt':_0x15ba2e,'resolvedBy':_0x3575cc?_0x3575cc['id']:_0x3575cc,'context':_0x166ff5,'attributes':_0x5121d1})[_0x4e9d8b(0x17c)](({comments:_0x4c34e0})=>{const _0x4958ea=_0x4e9d8b;_0x2ada7d[_0x4958ea(0x176)](_0x35b67c);for(const _0x2d19dd of _0x4c34e0)this[_0x4958ea(0x11f)]({'channelId':_0x1fbff6,'threadId':_0x170d77,'commentId':_0x2d19dd[_0x4958ea(0xd9)],'createdAt':_0x2d19dd[_0x4958ea(0x11c)],'isFromAdapter':!0x0});})[_0x4e9d8b(0x112)](_0x12bbcc=>{const _0x39bd6b=_0x4e9d8b;throw console[_0x39bd6b(0xfb)](_0x12bbcc),new _0x2dbe01(_0x39bd6b(0xe5),this);});}[_0x393d9e(0x147)]({threadId:_0x570e75,target:_0x46c586}){const _0x5a240b=_0x393d9e,_0x2b2617=this[_0x5a240b(0x143)](_0x570e75);if(!_0x2b2617)throw new _0x2dbe01(_0x5a240b(0xe1),this);const _0x20368d=this[_0x5a240b(0xe9)][_0x5a240b(0x11e)][_0x5a240b(0x15c)](_0x5a240b(0x140)),_0x3dfae1=this[_0x5a240b(0xe9)][_0x5a240b(0x11e)][_0x5a240b(0x15c)](_0x26e174),_0x1170d3=this[_0x5a240b(0x11b)](_0x2b2617),_0x4057a2=new _0x5e3150(_0x2b2617,_0x1170d3);let _0xf99c7a=null;_0x1170d3['on'](_0x5a240b(0x123),(_0x5c4b82,_0x549a26,_0x186953)=>{const _0x344a7d=_0x5a240b;_0x186953?_0xf99c7a=_0x20368d[_0x344a7d(0xa2)](_0x2d53a9(this[_0x344a7d(0xe9)][_0x344a7d(0xa7)],_0x344a7d(0x17f))):_0xf99c7a&&(_0x20368d[_0x344a7d(0x176)](_0xf99c7a),_0xf99c7a=null);}),this[_0x5a240b(0x10c)][_0x5a240b(0x10f)](_0x2b2617,_0x4057a2),this[_0x5a240b(0x158)][_0x5a240b(0x10f)](_0x1170d3,_0x4057a2);const _0x2a4309=new _0x3d1914(this[_0x5a240b(0xe9)][_0x5a240b(0xa7)],_0x1170d3);_0x2a4309[_0x5a240b(0xa6)](_0x5a240b(0xa5))['to'](_0x1170d3),_0x2a4309[_0x5a240b(0xa6)](_0x5a240b(0x10d))['to'](_0x1170d3,_0x5a240b(0x10d),_0x1170d3,_0x5a240b(0xa5),(_0x54e1ee,_0x1acfe7)=>_0x54e1ee||!_0x1acfe7),_0x2a4309[_0x5a240b(0xa6)](_0x5a240b(0xbb))['to'](_0x1170d3),_0x2a4309[_0x5a240b(0xa1)]=_0x5a240b(0x16b);const _0x42e575=new _0x4fc22f({'view':_0x2a4309,'target':_0x46c586,'type':_0x5a240b(0x16b),'isVisible':!_0x2b2617[_0x5a240b(0xaa)]&&!!(_0x5a240b(0x186)==typeof _0x46c586?_0x46c586():_0x46c586)});return _0x1170d3['on'](_0x5a240b(0x131),()=>{const _0x11f2c0=_0x5a240b;_0x42e575[_0x11f2c0(0xf4)](_0x11f2c0(0x131));}),this[_0x5a240b(0xe7)](_0x1170d3,_0x42e575),_0x3dfae1[_0x5a240b(0xa2)](_0x42e575),_0x42e575;}[_0x393d9e(0xe7)](_0x315b13,_0x2e16d3){const _0x5ce5fc=_0x393d9e;this[_0x5ce5fc(0xe4)](_0x315b13,_0x5ce5fc(0xd1),(_0x3f04fa,_0x5a7fef)=>{const _0x3e5549=_0x5ce5fc,_0x162d28=_0x5a7fef['ui'][_0x3e5549(0x109)][_0x3e5549(0xf9)][_0x3e5549(0x14e)];_0x2e16d3[_0x3e5549(0x108)][_0x3e5549(0xa2)](_0x162d28),this[_0x3e5549(0xe9)]instanceof _0x11259d&&this[_0x3e5549(0xe9)]['ui'][_0x3e5549(0x118)][_0x3e5549(0xa2)](_0x162d28);},{'priority':_0x5ce5fc(0x177)}),this[_0x5ce5fc(0xe4)](_0x315b13,_0x5ce5fc(0x13f),(_0x1fabff,_0x469360)=>{const _0x5caebb=_0x5ce5fc,_0x5d6452=_0x469360['ui'][_0x5caebb(0x109)][_0x5caebb(0xf9)][_0x5caebb(0x14e)];_0x2e16d3[_0x5caebb(0x108)][_0x5caebb(0xcc)](_0x5d6452)&&_0x2e16d3[_0x5caebb(0x108)][_0x5caebb(0x176)](_0x5d6452),this[_0x5caebb(0xe9)]instanceof _0x11259d&&this[_0x5caebb(0xe9)]['ui'][_0x5caebb(0x118)][_0x5caebb(0x176)](_0x5d6452);});}[_0x393d9e(0xaf)](_0x4b3e9d){const _0x3d5b82=_0x393d9e;this[_0x3d5b82(0xf1)](_0x4b3e9d,_0x3d5b82(0xd1)),this[_0x3d5b82(0xf1)](_0x4b3e9d,_0x3d5b82(0x13f));}[_0x393d9e(0x11b)](_0x4beed8){const _0x4467c9=_0x393d9e,_0x570fb9=this[_0x4467c9(0xe9)][_0x4467c9(0x11e)][_0x4467c9(0x15c)](_0x28dad3),{config:_0x564a27,locale:_0x1ad4be}=this[_0x4467c9(0xe9)],_0x517d57=_0x426c1c(_0x564a27[_0x4467c9(0x15c)](_0x4467c9(0xa7)),_0x1ad4be);return new(0x0,(_0x564a27[_0x4467c9(0x15c)](_0x4467c9(0xb0)))[(_0x4467c9(0x172))])(_0x1ad4be,_0x4beed8,_0x570fb9['me'],{'editorConfig':{..._0x564a27[_0x4467c9(0x15c)](_0x4467c9(0x11d)),'licenseKey':this[_0x4467c9(0xe9)][_0x4467c9(0xcf)][_0x4467c9(0x15c)](_0x4467c9(0x106))},'copyMarkers':_0x564a27[_0x4467c9(0x15c)](_0x4467c9(0xc9)),'maxCommentsWhenCollapsed':_0x564a27[_0x4467c9(0x15c)](_0x4467c9(0x178)),'maxThreadTotalWeight':_0x564a27[_0x4467c9(0x15c)](_0x4467c9(0x11a)),'maxCommentCharsWhenCollapsed':_0x564a27[_0x4467c9(0x15c)](_0x4467c9(0x139)),'formatDateTime':_0x517d57,'CommentView':_0x564a27[_0x4467c9(0x15c)](_0x4467c9(0xb0))[_0x4467c9(0xf8)]});}[_0x393d9e(0xbf)]({threadId:_0x3331dc,channelId:_0x203b17,resolvedAt:_0x3551cb,resolvedBy:_0x5deca6,isFromAdapter:_0x5b9c0c}){const _0x50cadd=_0x393d9e;if(!this[_0x50cadd(0x124)](_0x3331dc))throw new _0x2dbe01(_0x50cadd(0x15f),null,{'threadId':_0x3331dc});const _0x4b0610=this[_0x50cadd(0x143)](_0x3331dc);if(_0x4b0610[_0x50cadd(0x129)])throw new _0x2dbe01(_0x50cadd(0xa3),null,{'threadId':_0x3331dc});const _0x2d7dba=this[_0x50cadd(0xe9)][_0x50cadd(0x11e)][_0x50cadd(0x15c)](_0x28dad3);if(_0x4b0610[_0x50cadd(0x120)]=_0x2d7dba[_0x50cadd(0xac)](_0x5deca6),_0x4b0610[_0x50cadd(0xf3)]=_0x3551cb,_0x5b9c0c||!this[_0x50cadd(0x114)]||_0x50cadd(0x186)!=typeof this[_0x50cadd(0x114)][_0x50cadd(0x17a)])return Promise[_0x50cadd(0xae)]();const _0x73b221=this[_0x50cadd(0xe9)][_0x50cadd(0x11e)][_0x50cadd(0x15c)](_0x50cadd(0x140)),_0x58e4bc=_0x73b221[_0x50cadd(0xa2)](_0x2d53a9(this[_0x50cadd(0xe9)][_0x50cadd(0xa7)],_0x50cadd(0x17f)));return this[_0x50cadd(0x114)][_0x50cadd(0x17a)]({'channelId':_0x203b17,'threadId':_0x3331dc})[_0x50cadd(0x17c)](({resolvedAt:_0x337a0c,resolvedBy:_0x2820be})=>{const _0x2f4286=_0x50cadd;_0x73b221[_0x2f4286(0x176)](_0x58e4bc),_0x4b0610[_0x2f4286(0x120)]['id']!==_0x2820be&&(_0x4b0610[_0x2f4286(0x120)]=_0x2d7dba[_0x2f4286(0xac)](_0x2820be)),_0x4b0610[_0x2f4286(0xf3)]=_0x337a0c;})[_0x50cadd(0x112)](_0x18a464=>{const _0x5c3e3a=_0x50cadd;throw console[_0x5c3e3a(0xfb)](_0x18a464),new _0x2dbe01(_0x5c3e3a(0x100),this);});}[_0x393d9e(0xb8)]({threadId:_0x445d30,channelId:_0x27d086,isFromAdapter:_0x4359cc}){const _0x31eccf=_0x393d9e;if(!this[_0x31eccf(0x124)](_0x445d30))throw new _0x2dbe01(_0x31eccf(0x15f),null,{'threadId':_0x445d30});const _0x5410dd=this[_0x31eccf(0x143)](_0x445d30);if(!_0x5410dd[_0x31eccf(0x129)])throw new _0x2dbe01(_0x31eccf(0xff),null,{'threadId':_0x445d30});if(_0x5410dd[_0x31eccf(0x120)]=null,_0x5410dd[_0x31eccf(0xf3)]=null,_0x4359cc||!this[_0x31eccf(0x114)]||_0x31eccf(0x186)!=typeof this[_0x31eccf(0x114)][_0x31eccf(0x13a)])return Promise[_0x31eccf(0xae)]();const _0x4119f7=this[_0x31eccf(0xe9)][_0x31eccf(0x11e)][_0x31eccf(0x15c)](_0x31eccf(0x140)),_0x5d02d1=_0x4119f7[_0x31eccf(0xa2)](_0x2d53a9(this[_0x31eccf(0xe9)][_0x31eccf(0xa7)],_0x31eccf(0x17f)));return this[_0x31eccf(0x114)][_0x31eccf(0x13a)]({'channelId':_0x27d086,'threadId':_0x445d30})[_0x31eccf(0x17c)](()=>_0x4119f7[_0x31eccf(0x176)](_0x5d02d1))[_0x31eccf(0x112)](_0x2e546d=>{const _0x12bf0e=_0x31eccf;throw console[_0x12bf0e(0xfb)](_0x2e546d),new _0x2dbe01(_0x12bf0e(0xd7),this);});}[_0x393d9e(0x157)]({threadId:_0x58630c,isFromAdapter:_0x2bd05e}){const _0x294541=_0x393d9e,_0x105123=this[_0x294541(0x143)](_0x58630c);if(!_0x105123)throw new _0x2dbe01(_0x294541(0xbc),this);if(this[_0x294541(0xc1)](_0x58630c),this[_0x294541(0x16d)][_0x294541(0x155)](_0x58630c),!_0x105123[_0x294541(0xab)]||_0x2bd05e||!this[_0x294541(0x114)]||_0x294541(0x186)!=typeof this[_0x294541(0x114)][_0x294541(0x184)])return Promise[_0x294541(0xae)]();const _0x1a293b=this[_0x294541(0xe9)][_0x294541(0x11e)][_0x294541(0x15c)](_0x294541(0x140)),{channelId:_0x45d126}=_0x105123,_0x23abfd=_0x1a293b[_0x294541(0xa2)](_0x2d53a9(this[_0x294541(0xe9)][_0x294541(0xa7)],_0x294541(0x17f)));return this[_0x294541(0x114)][_0x294541(0x184)]({'channelId':_0x45d126,'threadId':_0x58630c})[_0x294541(0x17c)](()=>_0x1a293b[_0x294541(0x176)](_0x23abfd))[_0x294541(0x112)](_0x5beec6=>{const _0x5a352c=_0x294541;throw console[_0x5a352c(0xfb)](_0x5beec6),new _0x2dbe01(_0x5a352c(0xea),this);});}[_0x393d9e(0x156)]({threadId:_0x2a34ec,unlinkedAt:_0x56f2dc,context:_0x942313,attributes:_0x5c3fd3,isFromAdapter:_0x1fa6c8}){const _0x1c5309=_0x393d9e;if(_0x1c5309(0xdb)!=typeof _0x2a34ec)throw new _0x2dbe01(_0x1c5309(0xe8),null,{'threadId':_0x2a34ec});if(!this[_0x1c5309(0x124)](_0x2a34ec))throw new _0x2dbe01(_0x1c5309(0x15f),null,{'threadId':_0x2a34ec});const _0x5f233a=this[_0x1c5309(0x143)](_0x2a34ec);let _0x496113=!0x1;if(void 0x0!==_0x942313&&_0x5f233a[_0x1c5309(0xe9)]!==_0x942313&&(_0x5f233a[_0x1c5309(0xe9)]=_0x942313,_0x496113=!0x0),void 0x0!==_0x56f2dc&&_0x5f233a[_0x1c5309(0xd3)]!==_0x56f2dc&&(_0x5f233a[_0x1c5309(0xd3)]=_0x56f2dc,_0x496113=!0x0),_0x5c3fd3&&!_0x46fac7(_0x5c3fd3,_0x5f233a[_0x1c5309(0xb4)])&&(_0x5f233a[_0x1c5309(0xb4)]=_0x5c3fd3,_0x496113=!0x0),!_0x496113)return Promise[_0x1c5309(0xae)]();if(!_0x5f233a[_0x1c5309(0xab)]||_0x1fa6c8||!this[_0x1c5309(0x114)]||_0x1c5309(0x186)!=typeof this[_0x1c5309(0x114)][_0x1c5309(0xcb)])return Promise[_0x1c5309(0xae)]();const _0x3b00bf=this[_0x1c5309(0xe9)][_0x1c5309(0x11e)][_0x1c5309(0x15c)](_0x1c5309(0x140)),{channelId:_0x31da76}=_0x5f233a,_0x5e5b0d=_0x3b00bf[_0x1c5309(0xa2)](_0x2d53a9(this[_0x1c5309(0xe9)][_0x1c5309(0xa7)],_0x1c5309(0x17f)));return this[_0x1c5309(0x114)][_0x1c5309(0xcb)]({'channelId':_0x31da76,'threadId':_0x2a34ec,'context':_0x942313,'unlinkedAt':_0x56f2dc,'attributes':_0x5c3fd3})[_0x1c5309(0x17c)](()=>_0x3b00bf[_0x1c5309(0x176)](_0x5e5b0d))[_0x1c5309(0x112)](_0x571b06=>{const _0xc73712=_0x1c5309;throw console[_0xc73712(0xfb)](_0x571b06),new _0x2dbe01(_0xc73712(0xdc),this);});}[_0x393d9e(0xc1)](_0x3acdf7){const _0xbd5f5=_0x393d9e,_0x5bc1c1=this[_0xbd5f5(0xe9)][_0xbd5f5(0x11e)][_0xbd5f5(0x15c)](_0x26e174),_0x19db80=this[_0xbd5f5(0x143)](_0x3acdf7);if(_0x19db80[_0xbd5f5(0x137)]=!0x1,this[_0xbd5f5(0x10c)][_0xbd5f5(0xcc)](_0x19db80)){const _0x27803f=this[_0xbd5f5(0x10c)][_0xbd5f5(0x15c)](_0x19db80),_0x2b2638=_0x27803f[_0xbd5f5(0x109)],_0x28211d=_0x5bc1c1[_0xbd5f5(0x162)](_0x2b2638);this[_0xbd5f5(0x10c)][_0xbd5f5(0x155)](_0x19db80),this[_0xbd5f5(0x158)][_0xbd5f5(0x155)](_0x2b2638),_0x28211d&&_0x5bc1c1[_0xbd5f5(0x176)](_0x28211d),_0x27803f[_0xbd5f5(0xc5)](),_0x2b2638[_0xbd5f5(0xc5)]()[_0xbd5f5(0x17c)](()=>{const _0x3a74a0=_0xbd5f5;this[_0x3a74a0(0xaf)](_0x2b2638);});}}[_0x393d9e(0x17d)]({threadId:_0x47e166,resolvedAt:_0x2e3949,unlinkedAt:_0x116682}){const _0x254da6=_0x393d9e,_0x4596e7=!!_0x2e3949,_0x3eb99b=this[_0x254da6(0xe9)][_0x254da6(0x11e)][_0x254da6(0x15c)](_0x26e174),_0x32e9bb=this[_0x254da6(0x143)](_0x47e166);if(this[_0x254da6(0x10c)][_0x254da6(0xcc)](_0x32e9bb)){const _0x165f75=this[_0x254da6(0x10c)][_0x254da6(0x15c)](_0x32e9bb)[_0x254da6(0x109)],_0x40156c=_0x3eb99b[_0x254da6(0x162)](_0x165f75);_0x40156c&&(_0x4596e7&&_0x3eb99b[_0x254da6(0x179)](_0x40156c),_0x116682?_0x40156c[_0x254da6(0x148)]=!0x1:_0x40156c[_0x254da6(0x182)]());}}[_0x393d9e(0xc8)](_0x5bc6a2){const _0x1a6e03=_0x393d9e,_0x437b79=this[_0x1a6e03(0xe9)][_0x1a6e03(0x11e)][_0x1a6e03(0x15c)](_0x28dad3),_0x4fb91a=_0xeda96(_0x1a6e03(0xc7)+_0x5bc6a2),_0x3e30ea=_0x437b79[_0x1a6e03(0xac)](_0x4fb91a);return _0x3e30ea||_0x437b79[_0x1a6e03(0xb7)]({'id':_0x4fb91a,'name':_0x5bc6a2});}[_0x393d9e(0xb5)]({threadId:_0x1064c2,commentId:_0x29053a=_0x4884fb(),content:_0x1a728a,authorId:_0x3de602,createdAt:_0x24f83b,attributes:_0x4b81c1}){const _0x2fe866=_0x393d9e;if(_0x2fe866(0xdb)!=typeof _0x29053a)throw new _0x2dbe01(_0x2fe866(0xbe));if(_0x2fe866(0xdb)!=typeof _0x3de602)throw new _0x2dbe01(_0x2fe866(0xe2));if(_0x2fe866(0xdb)!=typeof _0x1a728a||!_0x1a728a[_0x2fe866(0x17b)]())throw new _0x2dbe01(_0x2fe866(0x171));const _0xe52bb3=this[_0x2fe866(0xe9)][_0x2fe866(0x11e)][_0x2fe866(0x15c)](_0x28dad3)[_0x2fe866(0xac)](_0x3de602);if(!_0xe52bb3)throw new _0x2dbe01(_0x2fe866(0xe3),null,{'authorId':_0x3de602});let _0x432e84=null,_0x142560=_0x24f83b;return _0x4b81c1?.[_0x2fe866(0xef)]&&(_0x432e84=this[_0x2fe866(0xc8)](_0x4b81c1[_0x2fe866(0xef)][_0x2fe866(0x159)]),_0x142560=new Date(_0x4b81c1[_0x2fe866(0xef)][_0x2fe866(0x11c)])),new Comment(this,{'threadId':_0x1064c2,'id':_0x29053a,'author':_0x432e84||_0xe52bb3,'creator':_0xe52bb3,'content':_0x1a728a,'createdAt':_0x24f83b,'authoredAt':_0x142560,'attributes':_0x4b81c1});}[_0x393d9e(0x133)](_0x407112){const _0x52c954=_0x393d9e;let {threadId:_0x303d38,content:_0x175232,attributes:_0x36ae49,isFromAdapter:_0x417378}=_0x407112;const _0x217da6=this[_0x52c954(0x143)](_0x407112[_0x52c954(0x121)]);if(!_0x217da6)throw new _0x2dbe01(_0x52c954(0x174),this);const _0x1ee323=this[_0x52c954(0xb5)](_0x407112),{id:_0x4ac32b}=_0x1ee323;if(_0x217da6[_0x52c954(0xa4)](_0x1ee323),_0x417378||!this[_0x52c954(0x114)]||_0x52c954(0x186)!=typeof this[_0x52c954(0x114)][_0x52c954(0x128)]||!_0x217da6[_0x52c954(0xab)])return Promise[_0x52c954(0xae)]();const _0x70e85=this[_0x52c954(0xe9)][_0x52c954(0x11e)][_0x52c954(0x15c)](_0x52c954(0x140)),{channelId:_0x1f4071}=_0x217da6,_0x31918a=_0x70e85[_0x52c954(0xa2)](_0x2d53a9(this[_0x52c954(0xe9)][_0x52c954(0xa7)],_0x52c954(0x17f)));return _0x36ae49||(_0x36ae49={}),this[_0x52c954(0x114)][_0x52c954(0x128)]({'channelId':_0x1f4071,'threadId':_0x303d38,'commentId':_0x4ac32b,'content':_0x175232,'attributes':_0x36ae49})[_0x52c954(0x17c)](_0x681bff=>{const _0x17eb71=_0x52c954;_0x70e85[_0x17eb71(0x176)](_0x31918a),_0x681bff&&this[_0x17eb71(0x11f)]({'channelId':_0x1f4071,'threadId':_0x303d38,'commentId':_0x4ac32b,'createdAt':_0x681bff[_0x17eb71(0x11c)],'isFromAdapter':!0x0});})[_0x52c954(0x112)](_0xee9cd4=>{const _0x1a0f89=_0x52c954;throw console[_0x1a0f89(0xfb)](_0xee9cd4),new _0x2dbe01(_0x1a0f89(0xf2),this);});}[_0x393d9e(0x11f)]({threadId:_0x49c60f,commentId:_0x41eb47,content:_0x3896d1,createdAt:_0x47d7e8,attributes:_0x5de8fd,isFromAdapter:_0x5715a4}){const _0x25ea5d=_0x393d9e;if(void 0x0!==_0x3896d1&&(_0x25ea5d(0xdb)!=typeof _0x3896d1||!_0x3896d1[_0x25ea5d(0x17b)]()[_0x25ea5d(0xa5)]))throw new _0x2dbe01(_0x25ea5d(0xf7));const _0x2e59e3=this[_0x25ea5d(0x143)](_0x49c60f),_0x58a02b=_0x2e59e3[_0x25ea5d(0x134)](_0x41eb47);if(!_0x58a02b)throw new _0x2dbe01(_0x25ea5d(0x104),this);let _0x4c1a81=!0x1;if(_0x3896d1&&_0x3896d1!==_0x58a02b[_0x25ea5d(0xfa)]&&(_0x58a02b[_0x25ea5d(0x180)]||_0x5715a4)&&(_0x58a02b[_0x25ea5d(0xfa)]=_0x3896d1,_0x4c1a81=!0x0),_0x47d7e8&&_0x47d7e8!==_0x58a02b[_0x25ea5d(0x11c)]&&(_0x58a02b[_0x25ea5d(0x11c)]=_0x47d7e8,_0x58a02b[_0x25ea5d(0xb4)]&&_0x58a02b[_0x25ea5d(0xb4)][_0x25ea5d(0xef)]||(_0x58a02b[_0x25ea5d(0x115)]=_0x47d7e8),_0x4c1a81=!0x0),_0x5de8fd&&!_0x46fac7(_0x5de8fd,_0x58a02b[_0x25ea5d(0xb4)])&&(_0x58a02b[_0x25ea5d(0xb4)]=_0x5de8fd,_0x4c1a81=!0x0),!_0x4c1a81)return Promise[_0x25ea5d(0xae)]();if(_0x2e59e3[_0x25ea5d(0xf4)](_0x25ea5d(0xfc)),_0x5715a4||!this[_0x25ea5d(0x114)]||_0x25ea5d(0x186)!=typeof this[_0x25ea5d(0x114)][_0x25ea5d(0x161)])return Promise[_0x25ea5d(0xae)]();const _0x440068=this[_0x25ea5d(0xe9)][_0x25ea5d(0x11e)][_0x25ea5d(0x15c)](_0x25ea5d(0x140)),{channelId:_0x141484}=this[_0x25ea5d(0x143)](_0x58a02b[_0x25ea5d(0x121)]),_0x13735f=_0x440068[_0x25ea5d(0xa2)](_0x2d53a9(this[_0x25ea5d(0xe9)][_0x25ea5d(0xa7)],_0x25ea5d(0x17f)));return this[_0x25ea5d(0x114)][_0x25ea5d(0x161)]({'channelId':_0x141484,'threadId':_0x49c60f,'commentId':_0x41eb47,'content':_0x3896d1,'attributes':_0x5de8fd})[_0x25ea5d(0x17c)](()=>_0x440068[_0x25ea5d(0x176)](_0x13735f))[_0x25ea5d(0x112)](_0x5a0169=>{const _0x16ae74=_0x25ea5d;throw console[_0x16ae74(0xfb)](_0x5a0169),new _0x2dbe01(_0x16ae74(0x13b),this);});}[_0x393d9e(0x15a)]({threadId:_0x5f41e5,commentId:_0x2e3bc6,isFromAdapter:_0x40e613}){const _0x11bd86=_0x393d9e,_0x237963=this[_0x11bd86(0x143)](_0x5f41e5),_0x1371c7=_0x237963[_0x11bd86(0x134)](_0x2e3bc6);if(!_0x1371c7)throw new _0x2dbe01(_0x11bd86(0x110),this);if(_0x237963[_0x11bd86(0xeb)](_0x1371c7),_0x40e613||!this[_0x11bd86(0x114)]||_0x11bd86(0x186)!=typeof this[_0x11bd86(0x114)][_0x11bd86(0x13e)])return Promise[_0x11bd86(0xae)]();const _0x16f469=this[_0x11bd86(0xe9)][_0x11bd86(0x11e)][_0x11bd86(0x15c)](_0x11bd86(0x140)),{channelId:_0x514229}=_0x237963,_0xb3752e=_0x16f469[_0x11bd86(0xa2)](_0x2d53a9(this[_0x11bd86(0xe9)][_0x11bd86(0xa7)],_0x11bd86(0x17f)));return this[_0x11bd86(0x114)][_0x11bd86(0x13e)]({'channelId':_0x514229,'threadId':_0x5f41e5,'commentId':_0x2e3bc6})[_0x11bd86(0x17c)](()=>_0x16f469[_0x11bd86(0x176)](_0xb3752e))[_0x11bd86(0x112)](_0x3c1521=>{const _0x43ec78=_0x11bd86;throw console[_0x43ec78(0xfb)](_0x3c1521),new _0x2dbe01(_0x43ec78(0xde),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x7e11e8=_0x3fe9;(function(_0x382712,_0x2bf185){const _0x4b2b70=_0x3fe9,_0x155902=_0x382712();while(!![]){try{const _0x39dd02=-parseInt(_0x4b2b70(0x16e))/0x1*(parseInt(_0x4b2b70(0x12d))/0x2)+parseInt(_0x4b2b70(0x1c1))/0x3+parseInt(_0x4b2b70(0x199))/0x4+parseInt(_0x4b2b70(0xf3))/0x5+-parseInt(_0x4b2b70(0xf1))/0x6*(-parseInt(_0x4b2b70(0x15d))/0x7)+parseInt(_0x4b2b70(0x14a))/0x8+parseInt(_0x4b2b70(0xf8))/0x9*(-parseInt(_0x4b2b70(0x158))/0xa);if(_0x39dd02===_0x2bf185)break;else _0x155902['push'](_0x155902['shift']());}catch(_0x16b418){_0x155902['push'](_0x155902['shift']());}}}(_0x5e5d,0xc6896));function _0x3fe9(_0x234863,_0x2f0376){const _0x5e5d41=_0x5e5d();return _0x3fe9=function(_0x3fe98b,_0x23a8e0){_0x3fe98b=_0x3fe98b-0xdf;let _0x361ec8=_0x5e5d41[_0x3fe98b];return _0x361ec8;},_0x3fe9(_0x234863,_0x2f0376);}import{PendingActions as _0x1a0858,ContextPlugin as _0x35af8d,Editor as _0x2b7330}from'ckeditor5/src/core.js';import{Collection as _0x5a1289,uid as _0x52e48a,CKEditorError as _0x1c5663,ObservableMixin as _0x3a797b}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x24ee10,hashObject as _0x21fcd1,Users as _0x467838}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x587394,isEqual as _0x2e0f3a,set as _0x414972,unset as _0x29d6a6}from'es-toolkit/compat';import{CommentThreadController as _0x392e25}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x2714f2}from'./ui/view/commentthreadview.js';import{CommentView as _0x2ef97c}from'./ui/view/commentview.js';import{getTranslation as _0x1c081b}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';function _0x5e5d(){const _0x4bdf6a=['external:','textContent','canComment','commentsrepository-remove-comment-missing-comment-thread','refreshVisibility','assign','getUser','25710YNRGcD','error','model','commentsrepository-add-comment-internal-error','switchReadOnly','7doXwsh','change:_permissions','getIndex','CommentView','max','_repository','_readOnlyChannels','resolve','isOfficialPlugin','content','@external','_bindAnnotationToEditors','isReadOnly','once','openNewCommentThread','commentsrepository-update-comment-missing-comment-thread','highest','1aQpFGL','commentsrepository-get-comment-invalid-id','fetchCommentThread','type','commentsrepository-add-comment-user-not-exists','editorReady','commentsrepository-active-not-attached','find','_unbindEditors','getCommentThread','commentInputView','resolvedAt','_add','weight','change:isDirty','commentsrepository-invalid-comment-thread-id','_remove','from','commentsrepository-resolve-comment-thread-internal-error','isRemovable','push','_removeComment','unlinkedAt','stopListening','reopen','update','comments.CommentThreadView','_permissions','requires','commentsrepository-fetch-comment-thread','bodyCollectionContainer','licenseKey','getPermissions','commentsrepository-update-comment-invalid-content','isSubmitted','_addCommentThread','listenTo','_isAttached','creator','has','view','_updateActiveAnnotation','CommentThreadView','3347376lENyOv','commentsrepository-duplicated-comment-thread-id','authoredAt','commentsrepository-reopen-comment-thread','filter','_addComment','commentUpdated','_removeActiveAnnotation','destroy','_hasTargetInContent','attachTo','focus','getComment','write','define','plugins','setUnlinkedAt','removeAttribute','commentsrepository-add-comment-thread-internal-error','commentThreadInputView','length','add','getAnnotationForCommentThread','commentsrepository-reopen-comment-thread-internal-error','init','remove','reopenCommentThread','pluginName','author','commentsrepository-remove-comment-thread-internal-error','getTime','isAttached','catch','_removeCommentThread','_threadToController','body','function','commentsrepository-invalid-comment-content','locale','submit','2128557SNueed','commentsrepository-adapter-already-set','channelId','admin','_attachCommentThread','isDirty','isFromAdapter','setContext','_threads','commentsrepository-remove-missing-comment-thread','comments','isExternal','_createCommentThreadView','activeCommentThread','modifyAll','_findOptimalIndex','isVisible','createElement','commentsrepository-missing-thread-and-adapter-method','resolveCommentThread','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','addCommentThread','get','isActive','5667654hhToIz','comments.maxCommentCharsWhenCollapsed','3747765tbyuwk','commentsrepository-update-missing-comment','archivedAt','PendingActions','map','8892THnUxB','escape','isPremiumPlugin','commentId','commentsrepository-remove-missing-comment','_update','delete','_viewToController','lowest','_createNewComment','deactivateAll','setActiveCommentThread','createdAt','attributes','_isSubmitted','comments.copyMarkers','reduce','removeComment','commentsListView','commentsrepository-missing-comment-thread','activate','change:_readOnlyChannels','commentsrepository-missing-target','focusTracker','_resolveCommentThread','authorName','set','div','isEditable','_adapter','fire','submitCommentThread','isResolved','updateComment','PENDING_ACTION_COMMENT_THREAD','removeCommentThread','focusableElements','comments.editorConfig','toJSON','comments.CommentView','then','innerHTML','commentsrepository-invalid-commentid','commentsrepository-update-comment-thread-internal-error','comments.maxThreadTotalWeight','getByInnerView','commentsrepository-attach-missing-comment-thread','innerView','bind','config','_reopenCommentThread','_getExternalAuthor','commentsrepository-active-missing-comment-thread','2263790lnYbHE','comments.maxCommentsWhenCollapsed','commentsrepository-invalid-comment-authorid','commentsrepository-remove-comment-internal-error','addUser','comment','getCommentThreads','resolvedBy','editorDestroyed','hasCommentThread','string','adapter','setPermissions','change:activeAnnotations','updateCommentThread','warn','isResolvable','trim','noChannel','addComment','getCommentThreadForAnnotation','createCommentThreadController','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-resolved-comment-thread','context','setAttribute','change:authoredAt','_updateCommentThread','_detachCommentThread','9957792GvDHYe','CommentsRepository','values','_updateComment','threadId','_submitCommentThread','commentsrepository-update-comment-internal-error'];_0x5e5d=function(){return _0x4bdf6a;};return _0x5e5d();}import{AnnotationView as _0x3aa08e}from'../annotations/view/annotationview.js';import{Annotation as _0x114bdc}from'../annotations/annotation.js';import{Annotations as _0x3a41b8}from'../annotations/annotations.js';const _t=Symbol(_0x7e11e8(0x13f)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x35af8d{[_0x7e11e8(0xe1)];[_0x7e11e8(0x1bb)];[_0x7e11e8(0xff)];static get[_0x7e11e8(0x18a)](){return[_0x3a41b8,_0x1a0858,_0x467838];}static get[_0x7e11e8(0x1b4)](){const _0x211863=_0x7e11e8;return _0x211863(0x14b);}static get[_0x7e11e8(0x165)](){return!0x0;}static get[_0x7e11e8(0xfa)](){return!0x0;}constructor(_0x466b1a){const _0x4a3cfc=_0x7e11e8;super(_0x466b1a),this[_0x4a3cfc(0xe1)]=new Map(),this[_0x4a3cfc(0x1bb)]=new Map(),this[_0x4a3cfc(0xff)]=new Map(),this[_0x4a3cfc(0x112)](_0x4a3cfc(0x163),new Set()),this[_0x4a3cfc(0x112)](_0x4a3cfc(0x189),new Map());const _0x242481=this[_0x4a3cfc(0x145)][_0x4a3cfc(0x129)];_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x12e),0x2),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x124),0x1f4),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0xf2),0x8c),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x188),_0x2714f2),_0x242481[_0x4a3cfc(0x1a7)](_0x4a3cfc(0x11f),_0x2ef97c),_0x242481[_0x4a3cfc(0xef)](_0x4a3cfc(0x11d))||console[_0x4a3cfc(0x13c)](_0x4a3cfc(0xed));}[_0x7e11e8(0x1b1)](){const _0x574600=_0x7e11e8,_0x34a1ba=this[_0x574600(0x145)][_0x574600(0x1a8)][_0x574600(0xef)](_0x3a41b8);this[_0x574600(0x112)](_0x574600(0xe6),null),this['on'](_0x574600(0xee),(_0x161354,_0x114e4e)=>this[_0x574600(0x191)](_0x114e4e)),this['on'](_0x574600(0x117),(_0x3f5ec9,_0x3bee9a)=>this[_0x574600(0x14f)](_0x3bee9a)),this['on'](_0x574600(0xec),(_0x2b5b0a,_0x4330e6)=>this[_0x574600(0x110)](_0x4330e6)),this['on'](_0x574600(0xec),(_0x336134,_0x5d5e98)=>this[_0x574600(0x197)](_0x5d5e98),{'priority':_0x574600(0x100)}),this['on'](_0x574600(0x1b3),(_0x218644,_0x36774e)=>this[_0x574600(0x12a)](_0x36774e)),this['on'](_0x574600(0x1b3),(_0x351446,_0xa7a00b)=>this[_0x574600(0x197)](_0xa7a00b),{'priority':_0x574600(0x100)}),this['on'](_0x574600(0x11b),(_0x5a21a4,_0x271ce3)=>this[_0x574600(0x1ba)](_0x271ce3)),this['on'](_0x574600(0x13b),(_0xa9912a,_0x25d512)=>this[_0x574600(0x148)](_0x25d512)),this['on'](_0x574600(0x13b),(_0x58420e,_0x16fc32)=>this[_0x574600(0x197)](_0x16fc32),{'priority':_0x574600(0x100)}),this['on'](_0x574600(0x140),(_0x1c344a,_0x3615f9)=>this[_0x574600(0x19e)](_0x3615f9)),this['on'](_0x574600(0x119),(_0x2aeb8f,_0x1ca280)=>this[_0x574600(0x14d)](_0x1ca280)),this['on'](_0x574600(0x109),(_0x4038bc,_0x37e6e6)=>this[_0x574600(0x183)](_0x37e6e6)),this['on'](_0x574600(0x140),(_0x3dc1b2,{threadId:_0x442d62,isFromAdapter:_0x18d09d})=>{const _0x358258=_0x574600;if(_0x18d09d)return;const _0x8abc4f=this[_0x358258(0x177)](_0x442d62),_0x3ab130=_0x8abc4f&&this[_0x358258(0x1bb)][_0x358258(0xef)](_0x8abc4f);_0x3ab130&&_0x3ab130[_0x358258(0x196)][_0x358258(0x10a)][_0x358258(0x1a4)](-0x1);},{'priority':_0x574600(0x100)}),this[_0x574600(0x192)](_0x34a1ba,_0x574600(0x13a),(_0x51386e,_0x4352a9,_0xdaa427)=>{const _0x4f6a13=_0x574600,_0x5699e4=Array[_0x4f6a13(0x17f)](_0xdaa427)[_0x4f6a13(0xf7)](_0x5d0c57=>this[_0x4f6a13(0xff)][_0x4f6a13(0xef)](_0x5d0c57[_0x4f6a13(0x127)]))[_0x4f6a13(0x19d)](Boolean)[0x0];this[_0x4f6a13(0xe6)]=_0x5699e4?_0x5699e4[_0x4f6a13(0x15a)]:null;});}set[_0x7e11e8(0x138)](_0x389618){const _0x3465d0=_0x7e11e8;if(this[_0x3465d0(0x115)])throw new _0x1c5663(_0x3465d0(0x1c2));this[_0x3465d0(0x115)]=_0x389618;}get[_0x7e11e8(0x138)](){const _0x55abe2=_0x7e11e8;return this[_0x55abe2(0x115)];}[_0x7e11e8(0xee)]({channelId:_0x3c91d3=_t,threadId:_0x56cafb=_0x52e48a(),comments:_0x4d0896=[],unlinkedAt:_0x3efb70=null,resolvedAt:_0x31c4e1=null,resolvedBy:_0x2b2b06=null,target:_0x1f17c0=null,context:_0x113887=null,attributes:_0x34af63={},isResolvable:_0x1b12c0=!0x0,isSubmitted:_0x4a90c4=!0x1,isFromAdapter:_0x2b5b80=!0x1}={}){const _0x54877d=_0x7e11e8;return this[_0x54877d(0x116)](Nt(_0x54877d(0xee),_0x3c91d3),{'channelId':_0x3c91d3,'threadId':_0x56cafb,'comments':_0x4d0896,'unlinkedAt':_0x3efb70,'resolvedAt':_0x31c4e1,'resolvedBy':_0x2b2b06,'target':_0x1f17c0,'context':_0x113887,'attributes':_0x34af63,'isFromAdapter':_0x2b5b80,'isResolvable':_0x1b12c0,'isSubmitted':_0x4a90c4}),this[_0x54877d(0x177)](_0x56cafb);}[_0x7e11e8(0x16b)]({channelId:_0x402913=_t,threadId:_0x2ce7fa=_0x52e48a(),target:_0x2778a8,context:_0x40da4b=null,isResolvable:_0x30cc8b=!0x0}){const _0x2b07ab=_0x7e11e8;if(this[_0x2b07ab(0x163)][_0x2b07ab(0x195)](_0x402913)||this[_0x2b07ab(0x163)][_0x2b07ab(0x195)](void 0x0))return null;if(!_0x2778a8)throw new _0x1c5663(_0x2b07ab(0x10e));const _0x25b5ff=this[_0x2b07ab(0xee)]({'channelId':_0x402913,'threadId':_0x2ce7fa,'target':_0x2778a8,'context':_0x40da4b,'isResolvable':_0x30cc8b});if(!_0x25b5ff)return null;const _0x2901a8=this[_0x2b07ab(0x1bb)][_0x2b07ab(0xef)](_0x25b5ff),_0x54304e=_0x2901a8[_0x2b07ab(0x196)][_0x2b07ab(0x1ac)][_0x2b07ab(0x178)],_0x4482c4=this[_0x2b07ab(0x145)][_0x2b07ab(0x1a8)][_0x2b07ab(0xef)](_0x3a41b8),_0x21fb02=_0x4482c4[_0x2b07ab(0x125)](_0x2901a8[_0x2b07ab(0x196)]);return _0x4482c4[_0x2b07ab(0x10c)](_0x21fb02),_0x54304e[_0x2b07ab(0x16a)](_0x2b07ab(0x173),()=>_0x54304e[_0x2b07ab(0x1a4)]()),_0x25b5ff;}[_0x7e11e8(0x136)](_0x46ade2){const _0x4b6550=_0x7e11e8;if(_0x4b6550(0x137)!=typeof _0x46ade2)throw new _0x1c5663(_0x4b6550(0x17d));return this[_0x4b6550(0xe1)][_0x4b6550(0x195)](_0x46ade2);}[_0x7e11e8(0x13b)]({channelId:_0x58a8ab=_t,threadId:_0x2e2296,context:_0x278365,unlinkedAt:_0x497db8,attributes:_0x59cd92,isFromAdapter:_0x2a78fe=!0x1}){const _0x48d797=_0x7e11e8;return this[_0x48d797(0x116)](Nt(_0x48d797(0x13b),_0x58a8ab),{'channelId':_0x58a8ab,'threadId':_0x2e2296,'context':_0x278365,'unlinkedAt':_0x497db8,'attributes':_0x59cd92,'isFromAdapter':_0x2a78fe}),this[_0x48d797(0x177)](_0x2e2296);}[_0x7e11e8(0x177)](_0x2d7fc2){const _0x5eb65b=_0x7e11e8;if(_0x5eb65b(0x137)!=typeof _0x2d7fc2)throw new _0x1c5663(_0x5eb65b(0x17d));return this[_0x5eb65b(0xe1)][_0x5eb65b(0xef)](_0x2d7fc2);}[_0x7e11e8(0x170)]({channelId:_0x35a9f2,threadId:_0x20a4db}={}){const _0xe20742=_0x7e11e8,_0x547d39=this[_0xe20742(0x177)](_0x20a4db);if(_0x547d39)return Promise[_0xe20742(0x164)](_0x547d39);if(!this[_0xe20742(0x138)])return Promise[_0xe20742(0x164)](void 0x0);if(_0xe20742(0x1bd)!=typeof this[_0xe20742(0x138)][_0xe20742(0x177)])throw new _0x1c5663(_0xe20742(0xeb),this[_0xe20742(0x145)]);return this[_0xe20742(0x138)][_0xe20742(0x177)]({'channelId':_0x35a9f2,'threadId':_0x20a4db})[_0xe20742(0x120)](_0x2caa71=>this[_0xe20742(0x136)](_0x20a4db)?this[_0xe20742(0x177)](_0x20a4db):_0x2caa71?this[_0xe20742(0xee)](Object[_0xe20742(0x156)]({'isFromAdapter':!0x0,'channelId':_0x35a9f2},_0x2caa71)):void 0x0)[_0xe20742(0x1b9)](_0xb6f9ce=>{const _0x1e1390=_0xe20742;throw console[_0x1e1390(0x159)](_0xb6f9ce),new _0x1c5663(_0x1e1390(0x18b),this[_0x1e1390(0x145)]);});}[_0x7e11e8(0x133)]({channelId:_0x61526b,skipNotAttached:_0x314594=!0x1,skipEmpty:_0x49fbce=!0x1,toJSON:_0x5ca12a=!0x1}={}){const _0x114640=_0x7e11e8,_0x4e89f9=[];for(const _0x2ffe87 of this[_0x114640(0xe1)][_0x114640(0x14c)]())_0x61526b&&_0x2ffe87[_0x114640(0x1c3)]!==_0x61526b||_0x314594&&!_0x2ffe87[_0x114640(0x1b8)]||_0x49fbce&&0x0===_0x2ffe87[_0x114640(0x1ad)]||_0x4e89f9[_0x114640(0x182)](_0x2ffe87);return _0x5ca12a?_0x4e89f9[_0x114640(0xf7)](_0x108807=>_0x108807[_0x114640(0x11e)]()):_0x4e89f9;}[_0x7e11e8(0x1af)](_0x43d00e){const _0x2f1d53=_0x7e11e8,_0x11fc76=this[_0x2f1d53(0x1bb)][_0x2f1d53(0xef)](_0x43d00e);if(!_0x11fc76)return null;return this[_0x2f1d53(0x145)][_0x2f1d53(0x1a8)][_0x2f1d53(0xef)](_0x3a41b8)[_0x2f1d53(0x125)](_0x11fc76[_0x2f1d53(0x196)])||null;}[_0x7e11e8(0x141)](_0x3a5f67){const _0x1dea42=_0x7e11e8,_0x548e62=this[_0x1dea42(0xff)][_0x1dea42(0xef)](_0x3a5f67[_0x1dea42(0x127)]);return _0x548e62?_0x548e62[_0x1dea42(0x15a)]:null;}[_0x7e11e8(0x103)](_0x5ca65f){const _0x183d01=_0x7e11e8,_0xe57b9b=this[_0x183d01(0x145)][_0x183d01(0x1a8)][_0x183d01(0xef)](_0x3a41b8);if(!_0x5ca65f)return void(this[_0x183d01(0xe6)]&&_0xe57b9b[_0x183d01(0x102)]());const _0x5a4527=this[_0x183d01(0x177)](_0x5ca65f);if(!_0x5a4527)throw new _0x1c5663(_0x183d01(0x12c),null,{'threadId':_0x5ca65f});if(!this[_0x183d01(0x1bb)][_0x183d01(0x195)](_0x5a4527))throw new _0x1c5663(_0x183d01(0x174),null,{'threadId':_0x5ca65f});const _0x599b39=_0xe57b9b[_0x183d01(0x125)](this[_0x183d01(0x1bb)][_0x183d01(0xef)](_0x5a4527)[_0x183d01(0x196)]);_0xe57b9b[_0x183d01(0x10c)](_0x599b39);}[_0x7e11e8(0x15c)](_0x2564bc,_0x50db0a){const _0x4148ea=_0x7e11e8;_0x2564bc?this[_0x4148ea(0x163)][_0x4148ea(0x1ae)](_0x50db0a):this[_0x4148ea(0x163)][_0x4148ea(0xfe)](_0x50db0a),this[_0x4148ea(0x116)](_0x4148ea(0x10d),_0x4148ea(0x163),this[_0x4148ea(0x163)],this[_0x4148ea(0x163)]);}[_0x7e11e8(0x169)](_0x30c82f){const _0x39268c=_0x7e11e8;return this[_0x39268c(0x163)][_0x39268c(0x195)](_0x30c82f)||this[_0x39268c(0x163)][_0x39268c(0x195)](void 0x0);}[_0x7e11e8(0x142)](_0x4bca57,_0x11c5e6){return new _0x392e25(_0x4bca57,_0x11c5e6);}[_0x7e11e8(0x139)](_0x35cd12,_0x415683=_t){const _0xf1331e=_0x7e11e8;this[_0xf1331e(0x189)][_0xf1331e(0x112)](_0x415683,_0x35cd12),this[_0xf1331e(0x116)](_0xf1331e(0x15e),_0xf1331e(0x189),this[_0xf1331e(0x189)],this[_0xf1331e(0x189)]);}[_0x7e11e8(0x18e)](_0x13eccc=_t){const _0x249208=_0x7e11e8;return this[_0x249208(0x189)][_0x249208(0x195)](_0x13eccc)?this[_0x249208(0x189)][_0x249208(0xef)](_0x13eccc):bt;}[_0x7e11e8(0x191)]({channelId:_0x19fa15,threadId:_0x3c4bc2,comments:_0x4f0edc,unlinkedAt:_0x307e5b,resolvedAt:_0x249e4a,resolvedBy:_0x3e2174,target:_0x3afbf0,context:_0x37d867,attributes:_0xf6b26,isFromAdapter:_0x54918e,isResolvable:_0x401e63,isSubmitted:_0x4aa46d}){const _0x3e1b3e=_0x7e11e8;if(_0x3e1b3e(0x137)!=typeof _0x3c4bc2)throw new _0x1c5663(_0x3e1b3e(0x17d),null,{'threadId':_0x3c4bc2});if(this[_0x3e1b3e(0x136)](_0x3c4bc2))throw new _0x1c5663(_0x3e1b3e(0x19a),null,{'threadId':_0x3c4bc2});const _0x1e04a9=new CommentThread(this,{'channelId':_0x19fa15,'id':_0x3c4bc2,'context':_0x37d867,'attributes':_0xf6b26,'unlinkedAt':_0x307e5b,'resolvedAt':_0x249e4a,'resolvedBy':_0x3e2174?this[_0x3e1b3e(0x145)][_0x3e1b3e(0x1a8)][_0x3e1b3e(0xef)](_0x467838)[_0x3e1b3e(0x157)](_0x3e2174):null,'isResolvable':_0x401e63,'isSubmitted':_0x4aa46d||_0x54918e});this[_0x3e1b3e(0xe1)][_0x3e1b3e(0x112)](_0x3c4bc2,_0x1e04a9);for(const _0xe8cce2 of _0x4f0edc)_0x1e04a9[_0x3e1b3e(0x17a)](this[_0x3e1b3e(0x101)]({'threadId':_0x3c4bc2,..._0xe8cce2}));return _0x3afbf0&&_0x1e04a9[_0x3e1b3e(0x1a3)](_0x3afbf0),_0x54918e||!_0x1e04a9[_0x3e1b3e(0x1ad)]?Promise[_0x3e1b3e(0x164)]():this[_0x3e1b3e(0x14f)]({'channelId':_0x19fa15,'threadId':_0x3c4bc2});}[_0x7e11e8(0x14f)]({channelId:_0x580d82,threadId:_0x386f87}){const _0xdbc77c=_0x7e11e8;if(!this[_0xdbc77c(0x136)](_0x386f87))throw new _0x1c5663(_0xdbc77c(0x10b),this);const _0x4d0537=this[_0xdbc77c(0x177)](_0x386f87);if(_0x4d0537[_0xdbc77c(0x106)]=!0x0,!this[_0xdbc77c(0x138)]||_0xdbc77c(0x1bd)!=typeof this[_0xdbc77c(0x138)][_0xdbc77c(0xee)])return Promise[_0xdbc77c(0x164)]();const {id:_0x191d6b,comments:_0x8cdbb3,resolvedAt:_0x39e4cc,resolvedBy:_0x5c8271,context:_0x2fb000,attributes:_0x334114}=_0x4d0537,_0x3d5dff=this[_0xdbc77c(0x145)][_0xdbc77c(0x1a8)][_0xdbc77c(0xef)](_0xdbc77c(0xf6)),_0x5ec2b4=_0x3d5dff[_0xdbc77c(0x1ae)](_0x1c081b(this[_0xdbc77c(0x145)][_0xdbc77c(0x1bf)],_0xdbc77c(0x11a)));return this[_0xdbc77c(0x138)][_0xdbc77c(0xee)]({'channelId':_0x580d82,'threadId':_0x191d6b,'comments':_0x8cdbb3[_0xdbc77c(0xf7)](_0x3eb864=>_0x3eb864[_0xdbc77c(0x11e)]()),'resolvedAt':_0x39e4cc,'resolvedBy':_0x5c8271?_0x5c8271['id']:_0x5c8271,'context':_0x2fb000,'attributes':_0x334114})[_0xdbc77c(0x120)](({comments:_0x1b1187})=>{const _0x20f9f9=_0xdbc77c;_0x3d5dff[_0x20f9f9(0x1b2)](_0x5ec2b4);for(const _0x2b2e9e of _0x1b1187)this[_0x20f9f9(0x14d)]({'channelId':_0x580d82,'threadId':_0x386f87,'commentId':_0x2b2e9e[_0x20f9f9(0xfb)],'createdAt':_0x2b2e9e[_0x20f9f9(0x104)],'isFromAdapter':!0x0});})[_0xdbc77c(0x1b9)](_0x2149d1=>{const _0x32ccba=_0xdbc77c;throw console[_0x32ccba(0x159)](_0x2149d1),new _0x1c5663(_0x32ccba(0x1ab),this);});}[_0x7e11e8(0x1c5)]({threadId:_0x59a108,target:_0x5029d7}){const _0x4f1a80=_0x7e11e8,_0x27dc20=this[_0x4f1a80(0x177)](_0x59a108);if(!_0x27dc20)throw new _0x1c5663(_0x4f1a80(0x126),this);const _0x1807e9=this[_0x4f1a80(0x145)][_0x4f1a80(0x1a8)][_0x4f1a80(0xef)](_0x4f1a80(0xf6)),_0xbcc511=this[_0x4f1a80(0x145)][_0x4f1a80(0x1a8)][_0x4f1a80(0xef)](_0x3a41b8),_0x2a75bf=this[_0x4f1a80(0xe5)](_0x27dc20),_0x29d0c7=new _0x392e25(_0x27dc20,_0x2a75bf);let _0x361798=null;_0x2a75bf['on'](_0x4f1a80(0x17c),(_0x440986,_0x4a4b3a,_0x2ee612)=>{const _0x49dc8a=_0x4f1a80;_0x2ee612?_0x361798=_0x1807e9[_0x49dc8a(0x1ae)](_0x1c081b(this[_0x49dc8a(0x145)][_0x49dc8a(0x1bf)],_0x49dc8a(0x11a))):_0x361798&&(_0x1807e9[_0x49dc8a(0x1b2)](_0x361798),_0x361798=null);}),this[_0x4f1a80(0x1bb)][_0x4f1a80(0x112)](_0x27dc20,_0x29d0c7),this[_0x4f1a80(0xff)][_0x4f1a80(0x112)](_0x2a75bf,_0x29d0c7);const _0x4b7b26=new _0x3aa08e(this[_0x4f1a80(0x145)][_0x4f1a80(0x1bf)],_0x2a75bf);_0x4b7b26[_0x4f1a80(0x128)](_0x4f1a80(0x1ad))['to'](_0x2a75bf),_0x4b7b26[_0x4f1a80(0x128)](_0x4f1a80(0x1c6))['to'](_0x2a75bf,_0x4f1a80(0x1c6),_0x2a75bf,_0x4f1a80(0x1ad),(_0x1eea1f,_0x5060d8)=>_0x1eea1f||!_0x5060d8),_0x4b7b26[_0x4f1a80(0x128)](_0x4f1a80(0xf0))['to'](_0x2a75bf),_0x4b7b26[_0x4f1a80(0x171)]=_0x4f1a80(0x132);const _0x4971da=new _0x114bdc({'view':_0x4b7b26,'target':_0x5029d7,'type':_0x4f1a80(0x132),'isVisible':!_0x27dc20[_0x4f1a80(0xf5)]&&!!(_0x4f1a80(0x1bd)==typeof _0x5029d7?_0x5029d7():_0x5029d7)});return _0x2a75bf['on'](_0x4f1a80(0xf9),()=>{const _0x495017=_0x4f1a80;_0x4971da[_0x495017(0x116)](_0x495017(0xf9));}),this[_0x4f1a80(0x168)](_0x2a75bf,_0x4971da),_0xbcc511[_0x4f1a80(0x1ae)](_0x4971da),_0x4971da;}[_0x7e11e8(0x168)](_0x249539,_0x14c80a){const _0x1f81cc=_0x7e11e8;this[_0x1f81cc(0x192)](_0x249539,_0x1f81cc(0x173),(_0x6741d,_0xd2c3aa)=>{const _0x4c225d=_0x1f81cc,_0x11d681=_0xd2c3aa['ui'][_0x4c225d(0x196)][_0x4c225d(0x1bc)][_0x4c225d(0x18c)];_0x14c80a[_0x4c225d(0x11c)][_0x4c225d(0x1ae)](_0x11d681),this[_0x4c225d(0x145)]instanceof _0x2b7330&&this[_0x4c225d(0x145)]['ui'][_0x4c225d(0x10f)][_0x4c225d(0x1ae)](_0x11d681);},{'priority':_0x1f81cc(0x16d)}),this[_0x1f81cc(0x192)](_0x249539,_0x1f81cc(0x135),(_0x391377,_0x24cf16)=>{const _0x15cbc9=_0x1f81cc,_0x1f8c36=_0x24cf16['ui'][_0x15cbc9(0x196)][_0x15cbc9(0x1bc)][_0x15cbc9(0x18c)];_0x14c80a[_0x15cbc9(0x11c)][_0x15cbc9(0x195)](_0x1f8c36)&&_0x14c80a[_0x15cbc9(0x11c)][_0x15cbc9(0x1b2)](_0x1f8c36),this[_0x15cbc9(0x145)]instanceof _0x2b7330&&this[_0x15cbc9(0x145)]['ui'][_0x15cbc9(0x10f)][_0x15cbc9(0x1b2)](_0x1f8c36);});}[_0x7e11e8(0x176)](_0x463c94){const _0x4b62b6=_0x7e11e8;this[_0x4b62b6(0x185)](_0x463c94,_0x4b62b6(0x173)),this[_0x4b62b6(0x185)](_0x463c94,_0x4b62b6(0x135));}[_0x7e11e8(0xe5)](_0x1bc1b0){const _0x1308d6=_0x7e11e8,_0x5e6e79=this[_0x1308d6(0x145)][_0x1308d6(0x1a8)][_0x1308d6(0xef)](_0x467838),{config:_0xcaffb5,locale:_0x1e83b0}=this[_0x1308d6(0x145)],_0x20c941=_0x24ee10(_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x1bf)),_0x1e83b0);return new(0x0,(_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0xe3)))[(_0x1308d6(0x198))])(_0x1e83b0,_0x1bc1b0,_0x5e6e79['me'],{'editorConfig':{..._0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x11d)),'licenseKey':this[_0x1308d6(0x145)][_0x1308d6(0x129)][_0x1308d6(0xef)](_0x1308d6(0x18d))},'copyMarkers':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x107)),'maxCommentsWhenCollapsed':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x12e)),'maxThreadTotalWeight':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0x124)),'maxCommentCharsWhenCollapsed':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0xf2)),'formatDateTime':_0x20c941,'CommentView':_0xcaffb5[_0x1308d6(0xef)](_0x1308d6(0xe3))[_0x1308d6(0x160)]});}[_0x7e11e8(0x110)]({threadId:_0x1eaadd,channelId:_0x23b6ad,resolvedAt:_0x35cbd9,resolvedBy:_0x115c6f,isFromAdapter:_0x5a97fb}){const _0x2a848c=_0x7e11e8;if(!this[_0x2a848c(0x136)](_0x1eaadd))throw new _0x1c5663(_0x2a848c(0x10b),null,{'threadId':_0x1eaadd});const _0x59fef3=this[_0x2a848c(0x177)](_0x1eaadd);if(_0x59fef3[_0x2a848c(0x118)])throw new _0x1c5663(_0x2a848c(0x144),null,{'threadId':_0x1eaadd});const _0x368ec2=this[_0x2a848c(0x145)][_0x2a848c(0x1a8)][_0x2a848c(0xef)](_0x467838);if(_0x59fef3[_0x2a848c(0x134)]=_0x368ec2[_0x2a848c(0x157)](_0x115c6f),_0x59fef3[_0x2a848c(0x179)]=_0x35cbd9,_0x5a97fb||!this[_0x2a848c(0x138)]||_0x2a848c(0x1bd)!=typeof this[_0x2a848c(0x138)][_0x2a848c(0xec)])return Promise[_0x2a848c(0x164)]();const _0x4e1f09=this[_0x2a848c(0x145)][_0x2a848c(0x1a8)][_0x2a848c(0xef)](_0x2a848c(0xf6)),_0x36102f=_0x4e1f09[_0x2a848c(0x1ae)](_0x1c081b(this[_0x2a848c(0x145)][_0x2a848c(0x1bf)],_0x2a848c(0x11a)));return this[_0x2a848c(0x138)][_0x2a848c(0xec)]({'channelId':_0x23b6ad,'threadId':_0x1eaadd})[_0x2a848c(0x120)](({resolvedAt:_0x378991,resolvedBy:_0x5387b3})=>{const _0x3bbc12=_0x2a848c;_0x4e1f09[_0x3bbc12(0x1b2)](_0x36102f),_0x59fef3[_0x3bbc12(0x134)]['id']!==_0x5387b3&&(_0x59fef3[_0x3bbc12(0x134)]=_0x368ec2[_0x3bbc12(0x157)](_0x5387b3)),_0x59fef3[_0x3bbc12(0x179)]=_0x378991;})[_0x2a848c(0x1b9)](_0x20e1a1=>{const _0x112106=_0x2a848c;throw console[_0x112106(0x159)](_0x20e1a1),new _0x1c5663(_0x112106(0x180),this);});}[_0x7e11e8(0x12a)]({threadId:_0x12a93b,channelId:_0x1fd19e,isFromAdapter:_0x59640e}){const _0x390265=_0x7e11e8;if(!this[_0x390265(0x136)](_0x12a93b))throw new _0x1c5663(_0x390265(0x10b),null,{'threadId':_0x12a93b});const _0x16a787=this[_0x390265(0x177)](_0x12a93b);if(!_0x16a787[_0x390265(0x118)])throw new _0x1c5663(_0x390265(0x19c),null,{'threadId':_0x12a93b});if(_0x16a787[_0x390265(0x134)]=null,_0x16a787[_0x390265(0x179)]=null,_0x59640e||!this[_0x390265(0x138)]||_0x390265(0x1bd)!=typeof this[_0x390265(0x138)][_0x390265(0x1b3)])return Promise[_0x390265(0x164)]();const _0x3070dd=this[_0x390265(0x145)][_0x390265(0x1a8)][_0x390265(0xef)](_0x390265(0xf6)),_0x5db1c5=_0x3070dd[_0x390265(0x1ae)](_0x1c081b(this[_0x390265(0x145)][_0x390265(0x1bf)],_0x390265(0x11a)));return this[_0x390265(0x138)][_0x390265(0x1b3)]({'channelId':_0x1fd19e,'threadId':_0x12a93b})[_0x390265(0x120)](()=>_0x3070dd[_0x390265(0x1b2)](_0x5db1c5))[_0x390265(0x1b9)](_0x3dfc45=>{const _0x4a7c86=_0x390265;throw console[_0x4a7c86(0x159)](_0x3dfc45),new _0x1c5663(_0x4a7c86(0x1b0),this);});}[_0x7e11e8(0x1ba)]({threadId:_0x57f354,isFromAdapter:_0x309056}){const _0x181afc=_0x7e11e8,_0x25aa85=this[_0x181afc(0x177)](_0x57f354);if(!_0x25aa85)throw new _0x1c5663(_0x181afc(0xe2),this);if(this[_0x181afc(0x149)](_0x57f354),this[_0x181afc(0xe1)][_0x181afc(0xfe)](_0x57f354),!_0x25aa85[_0x181afc(0x190)]||_0x309056||!this[_0x181afc(0x138)]||_0x181afc(0x1bd)!=typeof this[_0x181afc(0x138)][_0x181afc(0x11b)])return Promise[_0x181afc(0x164)]();const _0x51ea41=this[_0x181afc(0x145)][_0x181afc(0x1a8)][_0x181afc(0xef)](_0x181afc(0xf6)),{channelId:_0x4b6a93}=_0x25aa85,_0x5195f9=_0x51ea41[_0x181afc(0x1ae)](_0x1c081b(this[_0x181afc(0x145)][_0x181afc(0x1bf)],_0x181afc(0x11a)));return this[_0x181afc(0x138)][_0x181afc(0x11b)]({'channelId':_0x4b6a93,'threadId':_0x57f354})[_0x181afc(0x120)](()=>_0x51ea41[_0x181afc(0x1b2)](_0x5195f9))[_0x181afc(0x1b9)](_0x11c46f=>{const _0x401de4=_0x181afc;throw console[_0x401de4(0x159)](_0x11c46f),new _0x1c5663(_0x401de4(0x1b6),this);});}[_0x7e11e8(0x148)]({threadId:_0x495d0d,unlinkedAt:_0x9b8fd1,context:_0x7a9dcf,attributes:_0xf236b0,isFromAdapter:_0x4442f3}){const _0x3be7f3=_0x7e11e8;if(_0x3be7f3(0x137)!=typeof _0x495d0d)throw new _0x1c5663(_0x3be7f3(0x17d),null,{'threadId':_0x495d0d});if(!this[_0x3be7f3(0x136)](_0x495d0d))throw new _0x1c5663(_0x3be7f3(0x10b),null,{'threadId':_0x495d0d});const _0x1f9f65=this[_0x3be7f3(0x177)](_0x495d0d);let _0x264ef4=!0x1;if(void 0x0!==_0x7a9dcf&&_0x1f9f65[_0x3be7f3(0x145)]!==_0x7a9dcf&&(_0x1f9f65[_0x3be7f3(0x145)]=_0x7a9dcf,_0x264ef4=!0x0),void 0x0!==_0x9b8fd1&&_0x1f9f65[_0x3be7f3(0x184)]!==_0x9b8fd1&&(_0x1f9f65[_0x3be7f3(0x184)]=_0x9b8fd1,_0x264ef4=!0x0),_0xf236b0&&!_0x2e0f3a(_0xf236b0,_0x1f9f65[_0x3be7f3(0x105)])&&(_0x1f9f65[_0x3be7f3(0x105)]=_0xf236b0,_0x264ef4=!0x0),!_0x264ef4)return Promise[_0x3be7f3(0x164)]();if(!_0x1f9f65[_0x3be7f3(0x190)]||_0x4442f3||!this[_0x3be7f3(0x138)]||_0x3be7f3(0x1bd)!=typeof this[_0x3be7f3(0x138)][_0x3be7f3(0x13b)])return Promise[_0x3be7f3(0x164)]();const _0x16e7b2=this[_0x3be7f3(0x145)][_0x3be7f3(0x1a8)][_0x3be7f3(0xef)](_0x3be7f3(0xf6)),{channelId:_0x3768f8}=_0x1f9f65,_0x26ad03=_0x16e7b2[_0x3be7f3(0x1ae)](_0x1c081b(this[_0x3be7f3(0x145)][_0x3be7f3(0x1bf)],_0x3be7f3(0x11a)));return this[_0x3be7f3(0x138)][_0x3be7f3(0x13b)]({'channelId':_0x3768f8,'threadId':_0x495d0d,'context':_0x7a9dcf,'unlinkedAt':_0x9b8fd1,'attributes':_0xf236b0})[_0x3be7f3(0x120)](()=>_0x16e7b2[_0x3be7f3(0x1b2)](_0x26ad03))[_0x3be7f3(0x1b9)](_0x2c8b8f=>{const _0x3f2e6b=_0x3be7f3;throw console[_0x3f2e6b(0x159)](_0x2c8b8f),new _0x1c5663(_0x3f2e6b(0x123),this);});}[_0x7e11e8(0x149)](_0x40261b){const _0xeb02f=_0x7e11e8,_0x34e608=this[_0xeb02f(0x145)][_0xeb02f(0x1a8)][_0xeb02f(0xef)](_0x3a41b8),_0x212fc7=this[_0xeb02f(0x177)](_0x40261b);if(_0x212fc7[_0xeb02f(0x193)]=!0x1,this[_0xeb02f(0x1bb)][_0xeb02f(0x195)](_0x212fc7)){const _0x376a8b=this[_0xeb02f(0x1bb)][_0xeb02f(0xef)](_0x212fc7),_0x2f2998=_0x376a8b[_0xeb02f(0x196)],_0x5dcf3f=_0x34e608[_0xeb02f(0x125)](_0x2f2998);this[_0xeb02f(0x1bb)][_0xeb02f(0xfe)](_0x212fc7),this[_0xeb02f(0xff)][_0xeb02f(0xfe)](_0x2f2998),_0x5dcf3f&&_0x34e608[_0xeb02f(0x1b2)](_0x5dcf3f),_0x376a8b[_0xeb02f(0x1a1)](),_0x2f2998[_0xeb02f(0x1a1)]()[_0xeb02f(0x120)](()=>{const _0x3786bb=_0xeb02f;this[_0x3786bb(0x176)](_0x2f2998);});}}[_0x7e11e8(0x197)]({threadId:_0x502e2d,resolvedAt:_0x580c8f,unlinkedAt:_0x40daf8}){const _0x4c2509=_0x7e11e8,_0x1c2afe=!!_0x580c8f,_0x49b34b=this[_0x4c2509(0x145)][_0x4c2509(0x1a8)][_0x4c2509(0xef)](_0x3a41b8),_0x306760=this[_0x4c2509(0x177)](_0x502e2d);if(this[_0x4c2509(0x1bb)][_0x4c2509(0x195)](_0x306760)){const _0x2c699c=this[_0x4c2509(0x1bb)][_0x4c2509(0xef)](_0x306760)[_0x4c2509(0x196)],_0x1119e2=_0x49b34b[_0x4c2509(0x125)](_0x2c699c);_0x1119e2&&(_0x1c2afe&&_0x49b34b[_0x4c2509(0x1a0)](_0x1119e2),_0x40daf8?_0x1119e2[_0x4c2509(0xe9)]=!0x1:_0x1119e2[_0x4c2509(0x155)]());}}[_0x7e11e8(0x12b)](_0x1cf9b4){const _0x2d9d9f=_0x7e11e8,_0x13080e=this[_0x2d9d9f(0x145)][_0x2d9d9f(0x1a8)][_0x2d9d9f(0xef)](_0x467838),_0xafd8d1=_0x21fcd1(_0x2d9d9f(0x151)+_0x1cf9b4),_0x2ab855=_0x13080e[_0x2d9d9f(0x157)](_0xafd8d1);return _0x2ab855||_0x13080e[_0x2d9d9f(0x131)]({'id':_0xafd8d1,'name':_0x1cf9b4});}[_0x7e11e8(0x101)]({threadId:_0x53557e,commentId:_0x3aeb67=_0x52e48a(),content:_0x6f15f8,authorId:_0x1ff3f4,createdAt:_0x24df52,attributes:_0x180946}){const _0x548733=_0x7e11e8;if(_0x548733(0x137)!=typeof _0x3aeb67)throw new _0x1c5663(_0x548733(0x122));if(_0x548733(0x137)!=typeof _0x1ff3f4)throw new _0x1c5663(_0x548733(0x12f));if(_0x548733(0x137)!=typeof _0x6f15f8||!_0x6f15f8[_0x548733(0x13e)]())throw new _0x1c5663(_0x548733(0x1be));const _0x35e102=this[_0x548733(0x145)][_0x548733(0x1a8)][_0x548733(0xef)](_0x467838)[_0x548733(0x157)](_0x1ff3f4);if(!_0x35e102)throw new _0x1c5663(_0x548733(0x172),null,{'authorId':_0x1ff3f4});let _0x7ff4e0=null,_0x182b54=_0x24df52;return _0x180946?.[_0x548733(0x167)]&&(_0x7ff4e0=this[_0x548733(0x12b)](_0x180946[_0x548733(0x167)][_0x548733(0x111)]),_0x182b54=new Date(_0x180946[_0x548733(0x167)][_0x548733(0x104)])),new Comment(this,{'threadId':_0x53557e,'id':_0x3aeb67,'author':_0x7ff4e0||_0x35e102,'creator':_0x35e102,'content':_0x6f15f8,'createdAt':_0x24df52,'authoredAt':_0x182b54,'attributes':_0x180946});}[_0x7e11e8(0x19e)](_0x33f7e5){const _0x917fe9=_0x7e11e8;let {threadId:_0xa9f80f,content:_0x33387e,attributes:_0x1beeeb,isFromAdapter:_0x280845}=_0x33f7e5;const _0x16ee7a=this[_0x917fe9(0x177)](_0x33f7e5[_0x917fe9(0x14e)]);if(!_0x16ee7a)throw new _0x1c5663(_0x917fe9(0x143),this);const _0x570740=this[_0x917fe9(0x101)](_0x33f7e5),{id:_0x5a7ebb}=_0x570740;if(_0x16ee7a[_0x917fe9(0x17a)](_0x570740),_0x280845||!this[_0x917fe9(0x138)]||_0x917fe9(0x1bd)!=typeof this[_0x917fe9(0x138)][_0x917fe9(0x140)]||!_0x16ee7a[_0x917fe9(0x190)])return Promise[_0x917fe9(0x164)]();const _0x1d1428=this[_0x917fe9(0x145)][_0x917fe9(0x1a8)][_0x917fe9(0xef)](_0x917fe9(0xf6)),{channelId:_0x160c39}=_0x16ee7a,_0x5e5504=_0x1d1428[_0x917fe9(0x1ae)](_0x1c081b(this[_0x917fe9(0x145)][_0x917fe9(0x1bf)],_0x917fe9(0x11a)));return _0x1beeeb||(_0x1beeeb={}),this[_0x917fe9(0x138)][_0x917fe9(0x140)]({'channelId':_0x160c39,'threadId':_0xa9f80f,'commentId':_0x5a7ebb,'content':_0x33387e,'attributes':_0x1beeeb})[_0x917fe9(0x120)](_0x9a2b76=>{const _0x42146f=_0x917fe9;_0x1d1428[_0x42146f(0x1b2)](_0x5e5504),_0x9a2b76&&this[_0x42146f(0x14d)]({'channelId':_0x160c39,'threadId':_0xa9f80f,'commentId':_0x5a7ebb,'createdAt':_0x9a2b76[_0x42146f(0x104)],'isFromAdapter':!0x0});})[_0x917fe9(0x1b9)](_0x3be4fc=>{const _0x622dd3=_0x917fe9;throw console[_0x622dd3(0x159)](_0x3be4fc),new _0x1c5663(_0x622dd3(0x15b),this);});}[_0x7e11e8(0x14d)]({threadId:_0x1c72d3,commentId:_0x5f4d70,content:_0x1277ed,createdAt:_0x4a201f,attributes:_0x26810e,isFromAdapter:_0x53b698}){const _0x14f083=_0x7e11e8;if(void 0x0!==_0x1277ed&&(_0x14f083(0x137)!=typeof _0x1277ed||!_0x1277ed[_0x14f083(0x13e)]()[_0x14f083(0x1ad)]))throw new _0x1c5663(_0x14f083(0x18f));const _0x15bb20=this[_0x14f083(0x177)](_0x1c72d3),_0x19757e=_0x15bb20[_0x14f083(0x1a5)](_0x5f4d70);if(!_0x19757e)throw new _0x1c5663(_0x14f083(0xf4),this);let _0x5a03fb=!0x1;if(_0x1277ed&&_0x1277ed!==_0x19757e[_0x14f083(0x166)]&&(_0x19757e[_0x14f083(0x114)]||_0x53b698)&&(_0x19757e[_0x14f083(0x166)]=_0x1277ed,_0x5a03fb=!0x0),_0x4a201f&&_0x4a201f!==_0x19757e[_0x14f083(0x104)]&&(_0x19757e[_0x14f083(0x104)]=_0x4a201f,_0x19757e[_0x14f083(0x105)]&&_0x19757e[_0x14f083(0x105)][_0x14f083(0x167)]||(_0x19757e[_0x14f083(0x19b)]=_0x4a201f),_0x5a03fb=!0x0),_0x26810e&&!_0x2e0f3a(_0x26810e,_0x19757e[_0x14f083(0x105)])&&(_0x19757e[_0x14f083(0x105)]=_0x26810e,_0x5a03fb=!0x0),!_0x5a03fb)return Promise[_0x14f083(0x164)]();if(_0x15bb20[_0x14f083(0x116)](_0x14f083(0x19f)),_0x53b698||!this[_0x14f083(0x138)]||_0x14f083(0x1bd)!=typeof this[_0x14f083(0x138)][_0x14f083(0x119)])return Promise[_0x14f083(0x164)]();const _0x56a4a9=this[_0x14f083(0x145)][_0x14f083(0x1a8)][_0x14f083(0xef)](_0x14f083(0xf6)),{channelId:_0x58b79b}=this[_0x14f083(0x177)](_0x19757e[_0x14f083(0x14e)]),_0x510507=_0x56a4a9[_0x14f083(0x1ae)](_0x1c081b(this[_0x14f083(0x145)][_0x14f083(0x1bf)],_0x14f083(0x11a)));return this[_0x14f083(0x138)][_0x14f083(0x119)]({'channelId':_0x58b79b,'threadId':_0x1c72d3,'commentId':_0x5f4d70,'content':_0x1277ed,'attributes':_0x26810e})[_0x14f083(0x120)](()=>_0x56a4a9[_0x14f083(0x1b2)](_0x510507))[_0x14f083(0x1b9)](_0x2ad52b=>{const _0x17ee8f=_0x14f083;throw console[_0x17ee8f(0x159)](_0x2ad52b),new _0x1c5663(_0x17ee8f(0x150),this);});}[_0x7e11e8(0x183)]({threadId:_0x320daa,commentId:_0x333470,isFromAdapter:_0x13cbf3}){const _0x565fb3=_0x7e11e8,_0x26e0c7=this[_0x565fb3(0x177)](_0x320daa),_0x1aaf44=_0x26e0c7[_0x565fb3(0x1a5)](_0x333470);if(!_0x1aaf44)throw new _0x1c5663(_0x565fb3(0xfc),this);if(_0x26e0c7[_0x565fb3(0x17e)](_0x1aaf44),_0x13cbf3||!this[_0x565fb3(0x138)]||_0x565fb3(0x1bd)!=typeof this[_0x565fb3(0x138)][_0x565fb3(0x109)])return Promise[_0x565fb3(0x164)]();const _0x3aae32=this[_0x565fb3(0x145)][_0x565fb3(0x1a8)][_0x565fb3(0xef)](_0x565fb3(0xf6)),{channelId:_0xe7f155}=_0x26e0c7,_0x3b9ddc=_0x3aae32[_0x565fb3(0x1ae)](_0x1c081b(this[_0x565fb3(0x145)][_0x565fb3(0x1bf)],_0x565fb3(0x11a)));return this[_0x565fb3(0x138)][_0x565fb3(0x109)]({'channelId':_0xe7f155,'threadId':_0x320daa,'commentId':_0x333470})[_0x565fb3(0x120)](()=>_0x3aae32[_0x565fb3(0x1b2)](_0x3b9ddc))[_0x565fb3(0x1b9)](_0x91ef09=>{const _0x263be4=_0x565fb3;throw console[_0x263be4(0x159)](_0x91ef09),new _0x1c5663(_0x263be4(0x130),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x3a797b(){[_0x7e11e8(0x1c3)];['id'];[_0x7e11e8(0x193)];[_0x7e11e8(0x106)];[_0x7e11e8(0xe3)];[_0x7e11e8(0x162)];constructor(_0x569523,_0x8d8040){const _0x1869b1=_0x7e11e8;super();const _0x3f109d=_0x8d8040[_0x1869b1(0x13d)];this[_0x1869b1(0x1c3)]=_0x8d8040[_0x1869b1(0x1c3)],this['id']=_0x8d8040['id'],this[_0x1869b1(0xe3)]=new _0x5a1289(),this[_0x1869b1(0x162)]=_0x569523,this[_0x1869b1(0x193)]=!0x1,this[_0x1869b1(0x106)]=_0x8d8040[_0x1869b1(0x190)],this[_0x1869b1(0x112)](_0x1869b1(0x1a2),!0x0),this[_0x1869b1(0x128)](_0x1869b1(0x169))['to'](_0x569523,_0x1869b1(0x189),_0x569523,_0x1869b1(0x163),()=>_0x569523[_0x1869b1(0x169)](this[_0x1869b1(0x1c3)])),this[_0x1869b1(0x128)](_0x1869b1(0x181))['to'](_0x569523,_0x1869b1(0x189),()=>_0x569523[_0x1869b1(0x18e)](this[_0x1869b1(0x1c3)])[_0x1869b1(0x1c4)]),this[_0x1869b1(0x128)](_0x1869b1(0x153))['to'](_0x569523,_0x1869b1(0x189),()=>{const _0x3e5668=_0x1869b1,_0x41a35d=_0x569523[_0x3e5668(0x18e)](this[_0x3e5668(0x1c3)]);return _0x41a35d[_0x3e5668(0x1a6)]||_0x41a35d[_0x3e5668(0x1c4)];}),this[_0x1869b1(0x128)](_0x1869b1(0x13d))['to'](_0x569523,_0x1869b1(0x189),()=>_0x3f109d&&_0x569523[_0x1869b1(0x18e)](this[_0x1869b1(0x1c3)])[_0x1869b1(0x164)]),this[_0x1869b1(0x112)](_0x1869b1(0x145),_0x8d8040[_0x1869b1(0x145)]),this[_0x1869b1(0x128)](_0x1869b1(0xf5))['to'](this,_0x1869b1(0x179),this,_0x1869b1(0x184),(_0x442bf7,_0x361711)=>_0x442bf7?_0x361711?_0x442bf7<_0x361711?_0x442bf7:_0x361711:_0x442bf7:_0x361711),this[_0x1869b1(0x112)](_0x1869b1(0x184),_0x8d8040[_0x1869b1(0x184)]||null),this[_0x1869b1(0x112)](_0x1869b1(0x179),_0x8d8040[_0x1869b1(0x179)]||null),this[_0x1869b1(0x112)](_0x1869b1(0x134),_0x8d8040[_0x1869b1(0x134)]||null),this[_0x1869b1(0x128)](_0x1869b1(0x118))['to'](this,_0x1869b1(0x179),_0x36db1f=>!!_0x36db1f),this[_0x1869b1(0x112)](_0x1869b1(0x105),_0x8d8040[_0x1869b1(0x105)]||{});}get[_0x7e11e8(0x17b)](){const _0x41e821=_0x7e11e8;return Array[_0x41e821(0x17f)](this[_0x41e821(0xe3)])[_0x41e821(0x108)]((_0x2ea3d2,_0x51e84f)=>_0x2ea3d2+_0x51e84f[_0x41e821(0x17b)],0x0);}get[_0x7e11e8(0x1ad)](){const _0x42b937=_0x7e11e8;return this[_0x42b937(0xe3)][_0x42b937(0x1ad)];}get[_0x7e11e8(0x1b8)](){const _0x33d8e4=_0x7e11e8;return this[_0x33d8e4(0x193)];}get[_0x7e11e8(0x190)](){const _0xe058a3=_0x7e11e8;return this[_0xe058a3(0x106)];}[_0x7e11e8(0x1c0)](){const _0x6cfa0a=_0x7e11e8,{channelId:_0x225c1c,id:_0x227065}=this;this[_0x6cfa0a(0x162)][_0x6cfa0a(0x116)](Nt(_0x6cfa0a(0x117),_0x225c1c),{'channelId':_0x225c1c,'threadId':_0x227065});}[_0x7e11e8(0x1a9)](_0x291cd8){const _0x5df5fc=_0x7e11e8;this[_0x5df5fc(0xfd)]({'unlinkedAt':_0x291cd8});}[_0x7e11e8(0x164)]({resolvedAt:_0x415ae2=new Date(),resolvedBy:_0x7b6315='',isFromAdapter:_0x41a4e4=!0x1}={}){const _0x34c5f2=_0x7e11e8,_0xbbed7=this[_0x34c5f2(0x162)][_0x34c5f2(0x145)][_0x34c5f2(0x1a8)][_0x34c5f2(0xef)](_0x467838)['me'],{channelId:_0x4f08e0,id:_0x1b7c86}=this;this[_0x34c5f2(0x162)][_0x34c5f2(0x116)](Nt(_0x34c5f2(0xec),_0x4f08e0),{'channelId':_0x4f08e0,'threadId':_0x1b7c86,'resolvedAt':_0x415ae2,'resolvedBy':_0x7b6315||_0xbbed7['id'],'isFromAdapter':_0x41a4e4});}[_0x7e11e8(0x186)]({isFromAdapter:_0x12f3fa=!0x1}={}){const _0x18843c=_0x7e11e8,{channelId:_0x37cd2f,id:_0xbb5c46}=this;this[_0x18843c(0x162)][_0x18843c(0x116)](Nt(_0x18843c(0x1b3),_0x37cd2f),{'channelId':_0x37cd2f,'threadId':_0xbb5c46,'isFromAdapter':_0x12f3fa});}[_0x7e11e8(0xe0)](_0x433be1){const _0x122781=_0x7e11e8;this[_0x122781(0x145)]||this[_0x122781(0xfd)]({'context':_0x433be1});}[_0x7e11e8(0x146)](_0x858e4e,_0x3bdd1c){const _0x5244da=_0x7e11e8,_0x4c5af0=_0x587394(this[_0x5244da(0x105)]);_0x414972(_0x4c5af0,_0x858e4e,_0x3bdd1c),this[_0x5244da(0xfd)]({'attributes':_0x4c5af0});}[_0x7e11e8(0x1aa)](_0x34a702){const _0x1d4fdc=_0x7e11e8,_0x159205=_0x587394(this[_0x1d4fdc(0x105)]);_0x29d6a6(_0x159205,_0x34a702),this[_0x1d4fdc(0xfd)]({'attributes':_0x159205});}[_0x7e11e8(0x1b2)]({isFromAdapter:_0x19c9ea=!0x1}={}){const _0x2e048d=_0x7e11e8,{channelId:_0x47384f,id:_0x255082}=this;this[_0x2e048d(0x162)][_0x2e048d(0x116)](Nt(_0x2e048d(0x11b),_0x47384f),{'channelId':_0x47384f,'threadId':_0x255082,'isFromAdapter':_0x19c9ea});}[_0x7e11e8(0x1a3)](_0x303e6e){const _0x371264=_0x7e11e8;return this[_0x371264(0x162)][_0x371264(0x1c5)]({'threadId':this['id'],'target':_0x303e6e});}[_0x7e11e8(0x140)](_0xd6a250){const _0x16514b=_0x7e11e8,{channelId:_0x116975,id:_0x53e16a}=this;this[_0x16514b(0x162)][_0x16514b(0x116)](Nt(_0x16514b(0x140),_0x116975,_0x53e16a),Object[_0x16514b(0x156)]({'channelId':_0x116975,'threadId':_0x53e16a},_0xd6a250));}[_0x7e11e8(0x1a5)](_0x5d13fd){const _0x35fbfe=_0x7e11e8;if(_0x35fbfe(0x137)!=typeof _0x5d13fd)throw new _0x1c5663(_0x35fbfe(0x16f),null,{'commentId':_0x5d13fd});return this[_0x35fbfe(0xe3)][_0x35fbfe(0xef)](_0x5d13fd);}[_0x7e11e8(0x11e)](){const _0x1f2a95=_0x7e11e8;return{'threadId':this['id'],'context':this[_0x1f2a95(0x145)],'unlinkedAt':this[_0x1f2a95(0x184)],'resolvedAt':this[_0x1f2a95(0x179)],'resolvedBy':this[_0x1f2a95(0x134)]?this[_0x1f2a95(0x134)]['id']:null,'archivedAt':this[_0x1f2a95(0xf5)],'comments':this[_0x1f2a95(0xe3)][_0x1f2a95(0xf7)](_0x13d705=>_0x13d705[_0x1f2a95(0x11e)]()),'attributes':this[_0x1f2a95(0x105)]};}[_0x7e11e8(0x17a)](_0xf5d86d){const _0x454b4f=_0x7e11e8;return this[_0x454b4f(0x192)](_0xf5d86d,_0x454b4f(0x147),()=>{const _0xc5ff7c=_0x454b4f,_0x2daf52=this[_0xc5ff7c(0xe8)](_0xf5d86d),_0x2e4a9b=this[_0xc5ff7c(0xe3)];_0x2daf52-0x1!=_0x2e4a9b[_0xc5ff7c(0x15f)](_0xf5d86d)&&_0x2daf52+0x1!=_0x2e4a9b[_0xc5ff7c(0x15f)](_0xf5d86d)&&(this[_0xc5ff7c(0x17e)](_0xf5d86d),this[_0xc5ff7c(0x17a)](_0xf5d86d));}),this[_0x454b4f(0xe3)][_0x454b4f(0x1ae)](_0xf5d86d,this[_0x454b4f(0xe8)](_0xf5d86d));}[_0x7e11e8(0xfd)](_0x170fa2){const _0x3c9673=_0x7e11e8,{channelId:_0x2f0da,id:_0x175846}=this;this[_0x3c9673(0x162)][_0x3c9673(0x116)](Nt(_0x3c9673(0x13b),_0x2f0da),{..._0x170fa2,'channelId':_0x2f0da,'threadId':_0x175846});}[_0x7e11e8(0x17e)](_0x1511ca){const _0x4767a5=_0x7e11e8;return this[_0x4767a5(0x185)](_0x1511ca),_0x1511ca[_0x4767a5(0x1a1)](),this[_0x4767a5(0xe3)][_0x4767a5(0x1b2)](_0x1511ca);}[_0x7e11e8(0xe8)](_0x38988f){const _0x595276=_0x7e11e8,_0x1eedc3=this[_0x595276(0xe3)][_0x595276(0x175)](_0x36d9a6=>new Date(_0x36d9a6[_0x595276(0x19b)])[_0x595276(0x1b7)]()>new Date(_0x38988f[_0x595276(0x19b)])[_0x595276(0x1b7)]());return _0x1eedc3?this[_0x595276(0xe3)][_0x595276(0x15f)](_0x1eedc3):this[_0x595276(0x1ad)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x3a797b(){['id'];[_0x7e11e8(0x14e)];[_0x7e11e8(0x1b5)];[_0x7e11e8(0x194)];[_0x7e11e8(0xe4)];[_0x7e11e8(0x104)];[_0x7e11e8(0x162)];constructor(_0x1abc35,_0x5769c1){const _0x4e1df5=_0x7e11e8;super();const _0x1c2ae1=_0x1abc35[_0x4e1df5(0x145)][_0x4e1df5(0x1a8)][_0x4e1df5(0xef)](_0x467838)['me'],_0xbd8d3=_0x1abc35[_0x4e1df5(0x177)](_0x5769c1[_0x4e1df5(0x14e)]),_0x5eaf05=0x0===_0xbd8d3[_0x4e1df5(0xe3)][_0x4e1df5(0x1ad)],_0xc093ba=_0x1c2ae1===_0x5769c1[_0x4e1df5(0x1b5)];this['id']=_0x5769c1['id'],this[_0x4e1df5(0x14e)]=_0x5769c1[_0x4e1df5(0x14e)],this[_0x4e1df5(0x1b5)]=_0x5769c1[_0x4e1df5(0x1b5)],this[_0x4e1df5(0x194)]=_0x5769c1[_0x4e1df5(0x194)],this[_0x4e1df5(0xe4)]=Boolean(_0x5769c1[_0x4e1df5(0x105)]&&_0x5769c1[_0x4e1df5(0x105)][_0x4e1df5(0x167)]),this[_0x4e1df5(0x112)](_0x4e1df5(0x166),_0x5769c1[_0x4e1df5(0x166)]),this[_0x4e1df5(0x104)]=_0x5769c1[_0x4e1df5(0x104)]||new Date(),this[_0x4e1df5(0x112)](_0x4e1df5(0x19b),_0x5769c1[_0x4e1df5(0x19b)]||new Date()),this[_0x4e1df5(0x128)](_0x4e1df5(0x179))['to'](_0xbd8d3,_0x4e1df5(0x179)),this[_0x4e1df5(0x112)](_0x4e1df5(0x105),_0x5769c1[_0x4e1df5(0x105)]||{}),this[_0x4e1df5(0x128)](_0x4e1df5(0x114))['to'](_0x1abc35,_0x4e1df5(0x189),()=>{const _0x3efd56=_0x4e1df5,_0x587199=_0x1abc35[_0x3efd56(0x18e)](_0xbd8d3[_0x3efd56(0x1c3)])[_0x3efd56(0x1a6)],_0x290a8c=_0x1abc35[_0x3efd56(0x18e)](_0xbd8d3[_0x3efd56(0x1c3)])[_0x3efd56(0xe7)];return _0xc093ba&&_0x587199||!_0xc093ba&&_0x290a8c;}),this[_0x4e1df5(0x128)](_0x4e1df5(0x181))['to'](_0xbd8d3,_0x4e1df5(0x181),_0x1abc35,_0x4e1df5(0x189),_0x5c7905=>{const _0x5a9d7f=_0x4e1df5,_0x5d82f8=_0x1abc35[_0x5a9d7f(0x18e)](_0xbd8d3[_0x5a9d7f(0x1c3)])[_0x5a9d7f(0x1a6)],_0x25991d=_0x1abc35[_0x5a9d7f(0x18e)](_0xbd8d3[_0x5a9d7f(0x1c3)])[_0x5a9d7f(0xe7)];return _0xc093ba&&_0x5d82f8||_0x5c7905&&_0x5eaf05||!_0xc093ba&&_0x25991d&&!_0x5eaf05;}),this[_0x4e1df5(0x128)](_0x4e1df5(0x169))['to'](_0xbd8d3,_0x4e1df5(0x169)),this[_0x4e1df5(0x162)]=_0x1abc35;}get[_0x7e11e8(0x17b)](){const _0x7e9b5d=_0x7e11e8;return Math[_0x7e9b5d(0x161)](function(_0x58ed63){const _0x32e44e=_0x7e9b5d,_0x55d382=document[_0x32e44e(0xea)](_0x32e44e(0x113));return _0x55d382[_0x32e44e(0x121)]=_0x58ed63,_0x55d382[_0x32e44e(0x152)][_0x32e44e(0x1ad)];}(this[_0x7e9b5d(0x166)]),0xc8);}[_0x7e11e8(0x187)](_0xcf4c63){const _0x57ce99=_0x7e11e8,{threadId:_0x396a41,id:_0x32bcb1}=this;if(!this[_0x57ce99(0x162)][_0x57ce99(0x136)](_0x396a41))throw new _0x1c5663(_0x57ce99(0x16c),this);const {channelId:_0x59f5d7}=this[_0x57ce99(0x162)][_0x57ce99(0x177)](_0x396a41);this[_0x57ce99(0x162)][_0x57ce99(0x116)](Nt(_0x57ce99(0x119),_0x59f5d7,_0x396a41),{'channelId':_0x59f5d7,'threadId':_0x396a41,'commentId':_0x32bcb1,..._0xcf4c63});}[_0x7e11e8(0x146)](_0x35fce4,_0x25f6a7){const _0x1baf98=_0x7e11e8,_0x22e82e=_0x587394(this[_0x1baf98(0x105)]);_0x414972(_0x22e82e,_0x35fce4,_0x25f6a7),this[_0x1baf98(0x187)]({'attributes':_0x22e82e});}[_0x7e11e8(0x1aa)](_0x490ea6){const _0x5a93ce=_0x7e11e8,_0x4789b1=_0x587394(this[_0x5a93ce(0x105)]);_0x29d6a6(_0x4789b1,_0x490ea6),this[_0x5a93ce(0x187)]({'attributes':_0x4789b1});}[_0x7e11e8(0x1b2)](_0x28dc3a={}){const _0x4a8e18=_0x7e11e8;if(!_0x28dc3a[_0x4a8e18(0xdf)]&&!this[_0x4a8e18(0x181)])return;const {threadId:_0x453d3b,id:_0x26a488}=this;if(!this[_0x4a8e18(0x162)][_0x4a8e18(0x136)](_0x453d3b))throw new _0x1c5663(_0x4a8e18(0x154),this);const {channelId:_0x357c60}=this[_0x4a8e18(0x162)][_0x4a8e18(0x177)](_0x453d3b);this[_0x4a8e18(0x162)][_0x4a8e18(0x116)](Nt(_0x4a8e18(0x109),_0x357c60,_0x453d3b),{'channelId':_0x357c60,'threadId':_0x453d3b,'commentId':_0x26a488,..._0x28dc3a});}[_0x7e11e8(0x11e)](){const _0x1279b6=_0x7e11e8;return{'commentId':this['id'],'content':this[_0x1279b6(0x166)],'createdAt':this[_0x1279b6(0x104)],'authorId':this[_0x1279b6(0x194)]['id'],'attributes':this[_0x1279b6(0x105)]};}[_0x7e11e8(0x1a1)](){const _0x1e7f93=_0x7e11e8;this[_0x1e7f93(0x185)]();}}function Nt(_0x439f98,..._0x50a472){for(const _0x26c40e of _0x50a472)void 0x0!==_0x26c40e&&(_0x439f98+=':'+String(_0x26c40e));return _0x439f98;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x54b988=_0x24bf;(function(_0x378b89,_0x639429){const _0x33996b=_0x24bf,_0x50eda3=_0x378b89();while(!![]){try{const _0x4acceb=parseInt(_0x33996b(0x1ce))/0x1*(-parseInt(_0x33996b(0x1b4))/0x2)+parseInt(_0x33996b(0x19e))/0x3*(-parseInt(_0x33996b(0x19c))/0x4)+parseInt(_0x33996b(0x1a2))/0x5*(-parseInt(_0x33996b(0x18d))/0x6)+parseInt(_0x33996b(0x1a7))/0x7+-parseInt(_0x33996b(0x19b))/0x8+parseInt(_0x33996b(0x1aa))/0x9*(-parseInt(_0x33996b(0x1b5))/0xa)+parseInt(_0x33996b(0x1a0))/0xb*(parseInt(_0x33996b(0x1d8))/0xc);if(_0x4acceb===_0x639429)break;else _0x50eda3['push'](_0x50eda3['shift']());}catch(_0x115da9){_0x50eda3['push'](_0x50eda3['shift']());}}}(_0x1943,0x9fe87));import{Plugin as _0x497284}from'ckeditor5/src/core.js';function _0x24bf(_0x1a23ae,_0x58984f){const _0x1943b3=_0x1943();return _0x24bf=function(_0x24bff8,_0x4711c1){_0x24bff8=_0x24bff8-0x186;let _0x105b01=_0x1943b3[_0x24bff8];return _0x105b01;},_0x24bf(_0x1a23ae,_0x58984f);}import{IconAddComment as _0x11d848}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x351695}from'./commentsrepository.js';import{CommentsEditing as _0x45550a}from'./commentsediting.js';import{EditorAnnotations as _0x5a4b78}from'../annotations/editorannotations.js';import{ButtonView as _0xd283a5,MenuBarMenuListItemButtonView as _0x125d1c}from'ckeditor5/src/ui.js';import{Annotations as _0xbf2565}from'../annotations/annotations.js';import{CommentsListView as _0x5329bf}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x1d0525}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x311670}from'../utils/common-translations.js';function _0x1943(){const _0x54aa71=['config','listenTo','isOfficialPlugin','2bZCjBH','107230wWcOCF','length','commentsLicenseKeyUsageLimit','commentsLicenseKeyInvalid','hasMarkerForId','comment:','commentsLicenseKeyTrialLimit','addComment','focus','domainLimit','init','commands','evaluationLimit','expired','comment','activeMarker','_threadToController','find','CommentThreadInputView','locale','commentsLicenseKeyExpired','hasCommentThread','hasContent','menuBar:comment','push','574767eCGemT','_licenseKeyCheckInterval','change:activeAnnotations','getAllMarkersForId','featureNotAllowed','_showLicenseError','highest','requires','isEnabled','stop','348aVEnMg','CommentsUI','low','trialLimit','Comment','editor','getRange','componentFactory','commentsLicenseKeyDomainLimit','view','isPremiumPlugin','tooltip','licenseKey','map','66jGecjT','isFocused','getCommentThread','commentsLicenseKeyNotAllowed','innerView','_createUIButton','commentsLicenseKeyValid','Comments','focusTracker','pluginName','usageLimit','from','plugins','addCommentThread','4220312twEGzJ','20684VTguuH','_viewToController','150whihNz','commentsLicenseKeyEvaluationLimit','1093422uaPRmP','destroy','580390OXHZhG','model','addSourceCollector','removeCommentThread','add','3320639RIGYeC','set','has','54HnShPy','bind','CommentsListView','invalid','get','execute','editing'];_0x1943=function(){return _0x54aa71;};return _0x1943();}export class CommentsUI extends _0x497284{[_0x54b988(0x18b)];[_0x54b988(0x1cf)];static get[_0x54b988(0x196)](){const _0x141aa1=_0x54b988;return _0x141aa1(0x1d9);}static get[_0x54b988(0x1b3)](){return!0x0;}static get[_0x54b988(0x189)](){return!0x0;}static get[_0x54b988(0x1d5)](){return[_0x351695,_0x45550a,_0x5a4b78,_0xbf2565];}get[_0x54b988(0x1ac)](){return _0x5329bf;}get[_0x54b988(0x1c7)](){return _0x1d0525;}[_0x54b988(0x1bf)](){const _0x5340e8=_0x54b988,_0x319c75=this[_0x5340e8(0x1dd)],_0x2b6078=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0x351695),_0x10d126=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0x45550a),_0x4dfb19=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0xbf2565),_0x4aca02=_0x319c75[_0x5340e8(0x199)][_0x5340e8(0x1ae)](_0x5a4b78);_0x319c75['ui'][_0x5340e8(0x186)][_0x5340e8(0x1a6)](_0x5340e8(0x1c3),()=>{const _0x491e21=_0x5340e8,_0x19b6c8=this[_0x491e21(0x192)](_0xd283a5);return _0x19b6c8[_0x491e21(0x18a)]=!0x0,_0x19b6c8;}),_0x319c75['ui'][_0x5340e8(0x186)][_0x5340e8(0x1a6)](_0x5340e8(0x1cc),()=>this[_0x5340e8(0x192)](_0x125d1c)),_0x4aca02[_0x5340e8(0x1a4)](()=>{const _0x1d0391=_0x5340e8,_0x430ef4=[];for(const [_0x550b40,_0x465e52]of _0x2b6078[_0x1d0391(0x1c5)]){const _0x58bed9=_0x10d126[_0x1d0391(0x1d1)](_0x550b40['id']),_0x22a4f9=_0x58bed9[_0x1d0391(0x18c)](_0x35e12f=>_0x35e12f[_0x1d0391(0x1de)]());_0x58bed9[_0x1d0391(0x1b6)]>0x0&&_0x430ef4[_0x1d0391(0x1cd)]([_0x465e52[_0x1d0391(0x188)],_0x22a4f9]);}return _0x430ef4;}),this[_0x5340e8(0x1b2)](_0x4dfb19,_0x5340e8(0x1d0),(_0x4e45a5,_0x16445c,_0x224e19)=>{const _0x2fdf9c=_0x5340e8,_0x296608=Array[_0x2fdf9c(0x198)](_0x224e19)[_0x2fdf9c(0x18c)](_0x570a5c=>_0x570a5c[_0x2fdf9c(0x191)])[_0x2fdf9c(0x1c6)](_0x21c9f3=>_0x2b6078[_0x2fdf9c(0x19d)][_0x2fdf9c(0x1a9)](_0x21c9f3));if(!_0x296608)return void(_0x10d126[_0x2fdf9c(0x1c4)]=null);const _0x2e68f9=_0x2b6078[_0x2fdf9c(0x19d)][_0x2fdf9c(0x1ae)](_0x296608)[_0x2fdf9c(0x1a3)]['id'],_0x33592a=_0x2fdf9c(0x1ba)+_0x2e68f9;_0x2e68f9&&_0x10d126[_0x2fdf9c(0x1b9)](_0x2e68f9)?_0x10d126[_0x2fdf9c(0x1c4)]=_0x33592a:_0x10d126[_0x2fdf9c(0x1c4)]&&(_0x10d126[_0x2fdf9c(0x1c4)]=null);}),this[_0x5340e8(0x1b2)](_0x2b6078,_0x5340e8(0x1a5),(_0x1c5068,{threadId:_0x5b418a,isFromAdapter:_0x39eb86})=>{const _0x4c350e=_0x5340e8;!_0x39eb86&&_0x319c75['ui'][_0x4c350e(0x195)][_0x4c350e(0x18e)]&&_0x10d126[_0x4c350e(0x1b9)](_0x5b418a)&&_0x319c75[_0x4c350e(0x1b0)][_0x4c350e(0x188)][_0x4c350e(0x1bd)]();},{'priority':_0x5340e8(0x1d4)}),this[_0x5340e8(0x1b2)](_0x2b6078,_0x5340e8(0x1bc),(_0x396691,{threadId:_0x37caf0,isFromAdapter:_0x568c48})=>{const _0x2754c5=_0x5340e8;if(_0x568c48||!_0x10d126[_0x2754c5(0x1b9)](_0x37caf0)||!_0x2b6078[_0x2754c5(0x1ca)](_0x37caf0))return;0x1===_0x2b6078[_0x2754c5(0x18f)](_0x37caf0)[_0x2754c5(0x1b6)]&&(_0x319c75[_0x2754c5(0x1b0)][_0x2754c5(0x188)][_0x2754c5(0x1bd)](),_0x396691[_0x2754c5(0x1d7)]());},{'priority':_0x5340e8(0x1da)}),this[_0x5340e8(0x18b)]=this[_0x5340e8(0x1dd)][_0x5340e8(0x1b1)][_0x5340e8(0x1ae)](_0x5340e8(0x18b));const _0x106971=this[_0x5340e8(0x1dd)];this[_0x5340e8(0x1cf)]=setInterval(()=>{const _0x3d6b57=_0x5340e8;let _0x157e9f;for(const _0x2f4fee in _0x106971){const _0x3819ab=_0x2f4fee,_0x148450=_0x106971[_0x3819ab];if(_0x3d6b57(0x193)==_0x148450||_0x3d6b57(0x1b8)==_0x148450||_0x3d6b57(0x1c9)==_0x148450||_0x3d6b57(0x187)==_0x148450||_0x3d6b57(0x190)==_0x148450||_0x3d6b57(0x19f)==_0x148450||_0x3d6b57(0x1bb)==_0x148450||_0x3d6b57(0x1b7)==_0x148450){delete _0x106971[_0x3819ab],_0x157e9f=_0x148450,clearInterval(this[_0x3d6b57(0x1cf)]),this[_0x3d6b57(0x1cf)]=void 0x0;break;}}_0x3d6b57(0x1b8)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1ad)),_0x3d6b57(0x1c9)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1c2)),_0x3d6b57(0x187)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1be)),_0x3d6b57(0x190)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1d2),_0x3d6b57(0x194)),_0x3d6b57(0x19f)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1c1)),_0x3d6b57(0x1bb)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x1db)),_0x3d6b57(0x1b7)==_0x157e9f&&_0x106971[_0x3d6b57(0x1d3)](_0x3d6b57(0x197));},0x3e8);}[_0x54b988(0x1a1)](){const _0x43c13f=_0x54b988;super[_0x43c13f(0x1a1)](),this[_0x43c13f(0x1cf)]&&clearInterval(this[_0x43c13f(0x1cf)]);}[_0x54b988(0x192)](_0x41ebc6){const _0x2d6e83=_0x54b988,_0x1bcc4c=this[_0x2d6e83(0x1dd)],_0x4690e9=new _0x41ebc6(_0x1bcc4c[_0x2d6e83(0x1c8)]),_0x4b1f4a=_0x1bcc4c[_0x2d6e83(0x1c0)][_0x2d6e83(0x1ae)](_0x2d6e83(0x19a));return _0x4690e9[_0x2d6e83(0x1a8)]({'label':_0x311670(_0x1bcc4c[_0x2d6e83(0x1c8)],_0x2d6e83(0x1dc)),'icon':_0x11d848}),_0x4690e9[_0x2d6e83(0x1ab)](_0x2d6e83(0x1d6))['to'](_0x4b1f4a,_0x2d6e83(0x1cb)),this[_0x2d6e83(0x1b2)](_0x4690e9,_0x2d6e83(0x1af),()=>{const _0x8c0e85=_0x2d6e83;_0x4b1f4a[_0x8c0e85(0x1af)]();}),_0x4690e9;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x1acb28=_0x45de;(function(_0x30629d,_0x458480){const _0x244733=_0x45de,_0x513289=_0x30629d();while(!![]){try{const _0x2d890c=-parseInt(_0x244733(0xbd))/0x1*(-parseInt(_0x244733(0xcb))/0x2)+parseInt(_0x244733(0xcd))/0x3+-parseInt(_0x244733(0xb0))/0x4+parseInt(_0x244733(0xd3))/0x5*(parseInt(_0x244733(0xb9))/0x6)+-parseInt(_0x244733(0xca))/0x7+parseInt(_0x244733(0xad))/0x8+-parseInt(_0x244733(0xc0))/0x9;if(_0x2d890c===_0x458480)break;else _0x513289['push'](_0x513289['shift']());}catch(_0x1d8d0f){_0x513289['push'](_0x513289['shift']());}}}(_0x403b,0x820b7));import{Plugin as _0x344d55}from'ckeditor5/src/core.js';function _0x403b(){const _0x406b92=['never','listenTo','comments.copyMarkers','editor','15nqmyQJ','delete','default','4430888IiJFFl','ClipboardMarkersUtils','content','3705144XgfWio','_removeMarkersWithoutThreads','_registerMarkerToCopy','plugins','always','hasCommentThread','config','dragstart','all','226806wBOhBp','highest','split','comment','318485FKMLGS','_registerMarkerInClipboardPipeline','keys','1377801QnfJiN','has','define','markers','_mapCommentsCopyConfigToRegisterConfiguration','CommentsRepository','contentInsertion','ClipboardPipeline','afterInit','requires','67879EzhbsA','2mUBOhx','cut','1907958JtSNVt','get'];_0x403b=function(){return _0x406b92;};return _0x403b();}import{ClipboardPipeline as _0x3ddb3a,ClipboardMarkersUtils as _0x2226d1}from'ckeditor5/src/clipboard.js';function _0x45de(_0x512132,_0x3966a1){const _0x403b23=_0x403b();return _0x45de=function(_0x45de4f,_0x3c0cb3){_0x45de4f=_0x45de4f-0xac;let _0x4abd44=_0x403b23[_0x45de4f];return _0x4abd44;},_0x45de(_0x512132,_0x3966a1);}export class CommentsClipboard extends _0x344d55{constructor(_0x303943){const _0x2d4c02=_0x45de;super(_0x303943),this[_0x2d4c02(0xd2)][_0x2d4c02(0xb6)][_0x2d4c02(0xc2)](_0x2d4c02(0xd1),_0x2d4c02(0xac));}static get[_0x1acb28(0xc9)](){return[_0x2226d1,_0x3ddb3a];}[_0x1acb28(0xc8)](){const _0x250cf7=_0x1acb28,_0x342a77=this[_0x250cf7(0xd2)][_0x250cf7(0xb3)][_0x250cf7(0xce)](_0x250cf7(0xc7));this[_0x250cf7(0xbe)](),this[_0x250cf7(0xd0)](_0x342a77,_0x250cf7(0xc6),(_0x58b7a5,_0x4fed76)=>this[_0x250cf7(0xb1)](_0x4fed76[_0x250cf7(0xaf)][_0x250cf7(0xc3)]),{'priority':_0x250cf7(0xba)});}[_0x1acb28(0xb1)](_0x740446){const _0xd2d718=_0x1acb28;if(!this[_0xd2d718(0xd2)][_0xd2d718(0xb3)][_0xd2d718(0xc1)](_0xd2d718(0xc5)))return _0x740446;const _0x225303=this[_0xd2d718(0xd2)][_0xd2d718(0xb3)][_0xd2d718(0xce)](_0xd2d718(0xc5));for(const _0x24717d of _0x740446[_0xd2d718(0xbf)]()){const [_0x219c59,_0x2e8c53]=_0x24717d[_0xd2d718(0xbb)](':');_0xd2d718(0xbc)!=_0x219c59||_0x225303[_0xd2d718(0xb5)](_0x2e8c53)||_0x740446[_0xd2d718(0xd4)](_0x24717d);}return _0x740446;}[_0x1acb28(0xbe)](){const _0x3ad439=_0x1acb28,_0x4cff3a=this[_0x3ad439(0xd2)][_0x3ad439(0xb3)][_0x3ad439(0xce)](_0x3ad439(0xae)),_0x576dca=this[_0x3ad439(0xc4)](this[_0x3ad439(0xd2)][_0x3ad439(0xb6)][_0x3ad439(0xce)](_0x3ad439(0xd1)));_0x576dca&&_0x4cff3a[_0x3ad439(0xb2)](_0x3ad439(0xbc),_0x576dca);}[_0x1acb28(0xc4)](_0x16973c){const _0xac7df0=_0x1acb28;switch(_0x16973c){case _0xac7df0(0xb4):return{'allowedActions':_0xac7df0(0xb8),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0xac7df0(0xac):return{'allowedActions':[_0xac7df0(0xcc),_0xac7df0(0xb7)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0xac7df0(0xcf):return null;default:return null;}}}
|