@ckeditor/ckeditor5-comments 47.0.0-alpha.6 → 47.0.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +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 _0x525cf5=_0x4308;(function(_0x18a34c,_0x1e3d19){const _0x16440c=_0x4308,_0x2a4860=_0x18a34c();while(!![]){try{const _0x4e63ae=parseInt(_0x16440c(0x1de))/0x1+-parseInt(_0x16440c(0x1ca))/0x2+-parseInt(_0x16440c(0x197))/0x3*(parseInt(_0x16440c(0x1bd))/0x4)+parseInt(_0x16440c(0x194))/0x5+-parseInt(_0x16440c(0x1b9))/0x6+parseInt(_0x16440c(0x1c3))/0x7+parseInt(_0x16440c(0x19d))/0x8;if(_0x4e63ae===_0x1e3d19)break;else _0x2a4860['push'](_0x2a4860['shift']());}catch(_0x5d4968){_0x2a4860['push'](_0x2a4860['shift']());}}}(_0x320d,0x5d8a8));import{Plugin as _0x2be53b}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x2c6767,scrollViewportToShowTarget as _0x3e50f5,uid as _0x347d78}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x5bf593}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x11ce15}from'./addcommentthreadcommand.js';function _0x4308(_0x58f797,_0x4d85b1){const _0x320dd7=_0x320d();return _0x4308=function(_0x430892,_0x5b30ff){_0x430892=_0x430892-0x18e;let _0x39cf79=_0x320dd7[_0x430892];return _0x39cf79;},_0x4308(_0x58f797,_0x4d85b1);}import{surroundingMarkersDetector as _0x25eac1,getAllMarkersDomElementsSorted as _0x5d22c4,FOCUS_ANNOTATION_KEYSTROKE as _0x50582f,Users as _0x4919dd}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x320d(){const _0x14c267=['for','showCommentHighlights','removeMarker','locale','collaboration.channelId','requires','add','init','isObject','1777266OCYqqY','change:isThreadsLoadingPaused','_attachMarkerToThread','getByInnerView','924032HAkMJn','low','destroyed','editing','model','getAllMarkersForId','3154830IQofHV','focus','getItems','group','isOfficialPlugin','_hasTargetInContent','_handleMarkerAddAndRemove','1416706JnmHGX','_reconvertMarkers','delete','_getTargetForId','unlinkedAt','setContext','start','consumable','reopenCommentThread','set','listenTo','_threads','join','href','length','size','state','setUnlinkedAt','item','markers','465722eAIAJj','_getTextContext','push','context','text','_attachArchivedThread','createElement','change:activeMarker','addMarker:','hasDomSelection','newRange','updateMarker','_detachCommentThread','consume','isThreadsLoadingPaused','destroy','getAttribute','commands','schema','rootName','ck-comment-marker','getChangedMarkers','reconvertMarker','comment','registerPostFixer','from','_threadToController','getWalker','markerToData','addComment','dataDowncast','then','change:isReadOnly','addCommentThread','view','differ','_initializeMarkerConverters','activeMarker','getRange','createRange','remove','get','plugins','isResolved','elementToElement','render','filter','name','$textProxy','LEAVE_COMMENT_ANNOUNCEMENT','affectsData','createPositionBefore','editor','data','switchReadOnly','root','forEach','markerToHighlight','markerName','fetchCommentThread','CommentsEditing','ck-comment-marker--active','getCommentThreads','channelId','enqueueChange','comment:','ariaLiveAnnouncer','editingDowncast','_handleInitialThreads','ready','clear','end','map','hasCommentThread','isCollapsed','change','dataToMarker','refreshVisibility','conversion','ENTER_COMMENT_ANNOUNCEMENT','document','once','removeMarker:','managedUsingOperations','afterInit','removeCommentThread','ignoreResolvedComments','_handleThreadMarker','2773895WMblfh','openNewCommentThread','_initAriaMarkerChangeAnnouncements','6PzGCWq','announce','resolveCommentThread','isSubmitted','$marker','attachTo','3028264RfomtU','isPremiumPlugin','upcast','scrollToThreadMarker','isAttached','hasContent','hasMarkerForId','fromCharCode','getCommentThread','first','$graveyard','comments','isEqual','config','registerAnnotation','pluginName','author','startsWith','substring'];_0x320d=function(){return _0x14c267;};return _0x320d();}import{EditorAnnotations as _0x46f0e2}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x35b691}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x48ea59}from'./integrations/importword.js';import{CommentsClipboard as _0x82b030}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x776e16}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x2ac10b}from'../annotations/annotations.js';import{getTranslation as _0x10fe31}from'../utils/common-translations.js';import{splitMarkerName as _0x5badf9}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x2be53b{static get[_0x525cf5(0x1b5)](){return[_0x5bf593,_0x46f0e2,_0x4919dd,_0x35b691,_0x48ea59,_0x82b030,_0x776e16];}static get[_0x525cf5(0x1ac)](){const _0x9b5eec=_0x525cf5;return _0x9b5eec(0x21a);}static get[_0x525cf5(0x1c7)](){return!0x0;}static get[_0x525cf5(0x19e)](){return!0x0;}constructor(_0x5bdb84){const _0x5f0309=_0x525cf5;super(_0x5bdb84),this[_0x5f0309(0x1d3)](_0x5f0309(0x1ec),!0x0),_0x5bdb84[_0x5f0309(0x213)][_0x5f0309(0x22f)](_0x5f0309(0x223),()=>this[_0x5f0309(0x1ec)]=!0x1),this[_0x5f0309(0x1d3)](_0x5f0309(0x203),null),this['on'](_0x5f0309(0x1e5),(_0x24caa8,_0x2bcada,_0x3654bd,_0x1629f0)=>{const _0x290c15=_0x5f0309,_0x1c2c2c=_0x5bdb84[_0x290c15(0x208)][_0x290c15(0x207)](_0x5bf593),_0x1cd747=_0x3654bd?_0x5badf9(_0x3654bd)['id']:null;_0x5bdb84[_0x290c15(0x1c1)][_0x290c15(0x229)](()=>{const _0x31d2d1=_0x290c15;if(_0x1cd747){const _0xafbbe7=this[_0x31d2d1(0x1c2)](_0x1cd747);for(const _0xd122d6 of _0xafbbe7)_0x5bdb84[_0x31d2d1(0x1c0)][_0x31d2d1(0x1f4)](_0xd122d6);}if(_0x1629f0){const {id:_0x55acf3}=_0x5badf9(_0x1629f0),_0x494d68=_0x1c2c2c[_0x31d2d1(0x1a5)](_0x55acf3);if(_0x494d68&&_0x494d68[_0x31d2d1(0x1ce)])return;if(_0x494d68&&!_0x494d68[_0x31d2d1(0x1a1)])return;const _0x244cd6=this[_0x31d2d1(0x1c2)](_0x55acf3);for(const _0x416d9c of _0x244cd6)_0x5bdb84[_0x31d2d1(0x1c0)][_0x31d2d1(0x1f4)](_0x416d9c);}}),_0x1cd747&&this[_0x290c15(0x1a0)](_0x1cd747);}),this[_0x5f0309(0x196)]();}[_0x525cf5(0x1b7)](){const _0x33ac37=_0x525cf5,_0x57a0cb=this[_0x33ac37(0x212)],_0x5c7d9a=_0x57a0cb[_0x33ac37(0x208)][_0x33ac37(0x207)](_0x5bf593),_0x3bb05b=_0x57a0cb[_0x33ac37(0x1aa)][_0x33ac37(0x207)](_0x33ac37(0x1b4)),_0x392600=_0x5c7d9a[_0x33ac37(0x21c)]()[_0x33ac37(0x20c)](_0x1a68a2=>_0x1a68a2[_0x33ac37(0x21d)]!==_0x3bb05b);_0x57a0cb[_0x33ac37(0x1ef)][_0x33ac37(0x1b6)](_0x33ac37(0x1ff),new _0x11ce15(_0x57a0cb)),this[_0x33ac37(0x1d4)](_0x57a0cb,_0x33ac37(0x1fe),(_0x4b9173,_0x34cc96,_0x72e0b4)=>{const _0x17d111=_0x33ac37;_0x5c7d9a[_0x17d111(0x214)](_0x72e0b4,_0x57a0cb[_0x17d111(0x1aa)][_0x17d111(0x207)](_0x17d111(0x1b4)));}),this[_0x33ac37(0x1d4)](_0x5c7d9a,dt(_0x33ac37(0x1ff),_0x3bb05b),(_0xc537ee,{threadId:_0x5c47ad})=>{const _0x5c5597=_0x33ac37,_0x1aaf8f=this[_0x5c5597(0x212)][_0x5c5597(0x208)][_0x5c5597(0x207)](_0x5bf593)[_0x5c5597(0x1a5)](_0x5c47ad);_0x1aaf8f?.[_0x5c5597(0x1ce)]&&this[_0x5c5597(0x1e3)](_0x5c47ad);}),this[_0x33ac37(0x1d4)](_0x5c7d9a,dt(_0x33ac37(0x191),_0x3bb05b),(_0x3ff053,{threadId:_0x4abde0})=>{const _0x267ce5=_0x33ac37;_0x57a0cb[_0x267ce5(0x1c1)][_0x267ce5(0x21e)]({'isUndoable':!0x1},_0x85fc71=>{const _0x3fdb8f=_0x267ce5,_0x4bd63a=this[_0x3fdb8f(0x1c2)](_0x4abde0);for(const _0x3e1fd6 of _0x4bd63a)_0x85fc71[_0x3fdb8f(0x1b2)](_0x3e1fd6);});}),this[_0x33ac37(0x1d4)](_0x5c7d9a,dt(_0x33ac37(0x199),_0x3bb05b),(_0x250cb3,{threadId:_0x512b3c})=>{const _0x595cc2=_0x33ac37;(this[_0x595cc2(0x1cb)](_0x512b3c),this[_0x595cc2(0x212)][_0x595cc2(0x1c0)][_0x595cc2(0x200)][_0x595cc2(0x1e7)])&&(this[_0x595cc2(0x212)][_0x595cc2(0x208)][_0x595cc2(0x207)](_0x5bf593)[_0x595cc2(0x1a5)](_0x512b3c)[_0x595cc2(0x1ce)]||this[_0x595cc2(0x212)][_0x595cc2(0x1c0)][_0x595cc2(0x200)][_0x595cc2(0x1c4)]());},{'priority':_0x33ac37(0x1be)}),this[_0x33ac37(0x1d4)](_0x5c7d9a,dt(_0x33ac37(0x1d2),_0x3bb05b),(_0x3f5209,{threadId:_0x331a3f})=>{const _0x1d7f37=_0x33ac37;this[_0x1d7f37(0x1cb)](_0x331a3f);},{'priority':_0x33ac37(0x1be)}),this[_0x33ac37(0x1d4)](_0x5c7d9a,dt(_0x33ac37(0x1fb),_0x3bb05b),(_0xc4069e,{threadId:_0x132f3a,isFromAdapter:_0x117f44})=>{const _0x582201=_0x33ac37,_0x133994=this[_0x582201(0x1c2)](_0x132f3a);if(_0x117f44||0x0==_0x133994[_0x582201(0x1d8)]||!_0x5c7d9a[_0x582201(0x227)](_0x132f3a))return;0x1===_0x5c7d9a[_0x582201(0x1a5)](_0x132f3a)[_0x582201(0x1d8)]&&_0x57a0cb[_0x582201(0x1c1)][_0x582201(0x21e)]({'isUndoable':!0x1},_0x39185e=>{const _0x28a611=_0x582201;for(const _0x1c279d of _0x133994)_0x39185e[_0x28a611(0x1e9)](_0x1c279d,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x33ac37(0x1be)}),this[_0x33ac37(0x202)](),this[_0x33ac37(0x1c9)](),this[_0x33ac37(0x222)](_0x392600);}[_0x525cf5(0x190)](){!async function(_0x140c34){const _0x426392=_0x5f16e0([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]),_0x88ed80=0x73460ab3,_0x232e5b=0x73417e73^_0x88ed80,_0x82cd86=window[_0x5f16e0([0x44,0x61,0x74,0x65])][_0x5f16e0([0x6e,0x6f,0x77])](),_0x242ebf=_0x140c34[_0x5f16e0([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5965a3=new window[(_0x5f16e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x28ea3f=>{_0x242ebf[_0x5f16e0([0x6f,0x6e,0x63,0x65])](_0x5f16e0([0x72,0x65,0x61,0x64,0x79]),_0x28ea3f);}),_0x16d081={[_0x5f16e0([0x6b,0x74,0x79])]:_0x5f16e0([0x45,0x43]),[_0x5f16e0([0x75,0x73,0x65])]:_0x5f16e0([0x73,0x69,0x67]),[_0x5f16e0([0x63,0x72,0x76])]:_0x5f16e0([0x50,0x2d,0x32,0x35,0x36]),[_0x5f16e0([0x78])]:_0x5f16e0([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]),[_0x5f16e0([0x79])]:_0x5f16e0([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]),[_0x5f16e0([0x61,0x6c,0x67])]:_0x5f16e0([0x45,0x53,0x32,0x35,0x36])},_0x2020d4=_0x242ebf[_0x5f16e0([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5f16e0([0x67,0x65,0x74])](_0x5f16e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x31b7a9(){let _0x111717,_0x4fe084=null,_0x2f61ec=null;try{if(_0x2020d4==_0x5f16e0([0x47,0x50,0x4c]))return _0x5f16e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x111717=_0xa7fd40(),!_0x111717)return _0x5f16e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x111717[_0x5f16e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f61ec=_0x5b3723(_0x111717[_0x5f16e0([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x111717[_0x5f16e0([0x6a,0x74,0x69])])),await _0x3740e2()?_0x860cec()?_0x2bd811()?_0x5f16e0([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2fd05d()?(_0x111717[_0x5f16e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f16e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4fe084=_0x2deebc(_0x5f16e0([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x111717[_0x5f16e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5f16e0([0x74,0x72,0x69,0x61,0x6c])&&(_0x4fe084=_0x2deebc(_0x5f16e0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x54f40e()):_0x5f16e0([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5f16e0([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5f16e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5f16e0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2bd811(){const _0x5aaad5=[_0x5f16e0([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5f16e0([0x74,0x72,0x69,0x61,0x6c])][_0x5f16e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x111717[_0x5f16e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x82cd86/0x3e8:0xe10*_0x232e5b;return _0x111717[_0x5f16e0([0x65,0x78,0x70])]<_0x5aaad5;}function _0x860cec(){const _0x2b686d=_0x111717[_0x5f16e0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x2b686d)return!0x1;if(_0x2b686d[_0x5f16e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f16e0([0x2a])))return!0x0;if(_0x2b686d[_0x5f16e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f16e0([0x43,0x4d,0x54])))return!0x0;if(_0x2b686d[_0x5f16e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f16e0([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x3490a6())return!0x0;if(_0x2b686d[_0x5f16e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f16e0([0x52,0x43,0x4d,0x54]))){if(_0x564265())return!0x0;if(_0x3de340()||_0xdc50be())return!0x0;}return!0x1;}function _0x2fd05d(){const _0x24894a=_0x4308,_0x583ca3=_0x111717[_0x5f16e0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x583ca3||0x0==_0x583ca3[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1fe50a}=new URL(window[_0x5f16e0([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x24894a(0x1d7)]);if(_0x583ca3[_0x5f16e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1fe50a))return!0x0;const _0x3ab051=_0x1fe50a[_0x5f16e0([0x73,0x70,0x6c,0x69,0x74])](_0x5f16e0([0x2e]));return _0x583ca3[_0x5f16e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dbe80=>_0x2dbe80[_0x5f16e0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f16e0([0x2a])))[_0x5f16e0([0x6d,0x61,0x70])](_0x5ee4f9=>_0x5ee4f9[_0x5f16e0([0x73,0x70,0x6c,0x69,0x74])](_0x5f16e0([0x2e])))[_0x5f16e0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x496d68=>_0x496d68[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3ab051[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f16e0([0x6d,0x61,0x70])](_0x564182=>Array(_0x3ab051[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x564182[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5f16e0([0x66,0x69,0x6c,0x6c])](_0x564182[0x0]===_0x5f16e0([0x2a])?_0x5f16e0([0x2a]):'')[_0x5f16e0([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x564182))[_0x5f16e0([0x73,0x6f,0x6d,0x65])](_0x54f18f=>_0x3ab051[_0x5f16e0([0x65,0x76,0x65,0x72,0x79])]((_0x313fb7,_0x27422b)=>_0x54f18f[_0x27422b]===_0x313fb7||_0x54f18f[_0x27422b]===_0x5f16e0([0x2a])));}function _0x54f40e(){return _0x4fe084&&_0x2f61ec?new window[(_0x5f16e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1f9719,_0x40b3f1)=>{_0x4fe084[_0x5f16e0([0x74,0x68,0x65,0x6e])](_0x1f9719,_0x40b3f1),_0x2f61ec[_0x5f16e0([0x74,0x68,0x65,0x6e])](_0x4e71dd=>{_0x4e71dd!=_0x5f16e0([0x56,0x61,0x6c,0x69,0x64])&&_0x1f9719(_0x4e71dd);},_0x40b3f1);}):_0x4fe084||_0x2f61ec||_0x5f16e0([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5b3723(_0x114549,_0xb1c782){return new window[(_0x5f16e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a4543=>{if(_0x4a7015())return _0x3a4543(_0x5f16e0([0x56,0x61,0x6c,0x69,0x64]));_0x335864(),_0x242ebf[_0x5f16e0([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5f16e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5df405=!0x1;const _0x1d3248=_0x347d78();function _0x498226(_0x46dfb5){return!!_0x46dfb5&&(typeof _0x46dfb5===_0x5f16e0([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x46dfb5===_0x5f16e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x46dfb5[_0x5f16e0([0x74,0x68,0x65,0x6e])]===_0x5f16e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x46dfb5[_0x5f16e0([0x63,0x61,0x74,0x63,0x68])]===_0x5f16e0([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x88caae(_0xce5110){_0x46ac6d(_0xce5110)[_0x5f16e0([0x74,0x68,0x65,0x6e])](_0x556ca4=>{if(!_0x556ca4||_0x556ca4[_0x5f16e0([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5f16e0([0x6f,0x6b]))return _0x5f16e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2e9045(_0x1007a5(_0x1d3248+_0xb1c782))!=_0x556ca4[_0x5f16e0([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5f16e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5f16e0([0x56,0x61,0x6c,0x69,0x64]);})[_0x5f16e0([0x74,0x68,0x65,0x6e])](_0x1cfd19=>(_0xa19020(),_0x1cfd19),()=>{const _0x45f063=_0x48e424();return null==_0x45f063?(_0xa19020(),_0x5f16e0([0x56,0x61,0x6c,0x69,0x64])):_0x5f16e0(_0x82cd86-_0x45f063>(0x574a8eb3^_0x88ed80)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5f16e0([0x74,0x68,0x65,0x6e])](_0x3a4543)[_0x5f16e0([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a4543(_0x5f16e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1bd9d1=0x7370e433^_0x88ed80;function _0xa19020(){const _0x2b16ff=_0x5f16e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e9045(_0x1007a5(_0x114549)),_0x58b069=_0x4577b9(_0x2e9045(window[_0x5f16e0([0x4d,0x61,0x74,0x68])][_0x5f16e0([0x63,0x65,0x69,0x6c])](_0x82cd86/_0x1bd9d1)));window[_0x5f16e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f16e0([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b16ff,_0x58b069);}function _0x48e424(){const _0x48a9b8=_0x5f16e0([0x6c,0x6c,0x63,0x74,0x2d])+_0x2e9045(_0x1007a5(_0x114549)),_0x44b565=window[_0x5f16e0([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5f16e0([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x48a9b8);return _0x44b565?window[_0x5f16e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4577b9(_0x44b565),0x10)*_0x1bd9d1:null;}function _0x46ac6d(_0x24617c){return new window[(_0x5f16e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x36c2dc,_0x3a5838)=>{_0x24617c[_0x5f16e0([0x74,0x68,0x65,0x6e])](_0x36c2dc,_0x3a5838),window[_0x5f16e0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3a5838,0x7347de73^_0x88ed80);});}}_0x242ebf[_0x5f16e0([0x6f,0x6e])](_0x5f16e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xcc93b4,_0x58737b)=>{if(_0x58737b[0x0]!=_0x114549)return _0x3a4543(_0x5f16e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x58737b[0x1]={..._0x58737b[0x1],[_0x5f16e0([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1d3248};},{[_0x5f16e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f16e0([0x68,0x69,0x67,0x68])}),_0x242ebf[_0x5f16e0([0x6f,0x6e])](_0x5f16e0([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x588b3e=>{_0x498226(_0x588b3e[_0x5f16e0([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5df405=!0x0,_0x88caae(_0x588b3e[_0x5f16e0([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5f16e0([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5f16e0([0x6c,0x6f,0x77])}),_0x5965a3[_0x5f16e0([0x74,0x68,0x65,0x6e])](()=>{_0x5df405||_0x3a4543(_0x5f16e0([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a7015(){return _0x242ebf[_0x5f16e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f16e0([0x76,0x69,0x65,0x77])][_0x5f16e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5f16e0([0x61,0x75,0x74,0x6f]);}function _0x335864(){_0x242ebf[_0x5f16e0([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5f16e0([0x76,0x69,0x65,0x77])][_0x5f16e0([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5f16e0([0x61,0x75,0x74,0x6f]);}}function _0x2deebc(_0x45897c){const _0x4be6cf=[new window[(_0x5f16e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x161210=>setTimeout(_0x161210,0x734f347f^_0x88ed80)),_0x5965a3[_0x5f16e0([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5f16e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x359dd0=>{let _0x2e1c26=0x0;_0x242ebf[_0x5f16e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f16e0([0x6f,0x6e])](_0x5f16e0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33f54a,_0xe123dc)=>{_0xe123dc[0x0][_0x5f16e0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e1c26++,_0x2e1c26==(0x73460b4b^_0x88ed80)&&(_0x359dd0(),_0x33f54a[_0x5f16e0([0x6f,0x66,0x66])]());});}))];return window[_0x5f16e0([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5f16e0([0x72,0x61,0x63,0x65])](_0x4be6cf)[_0x5f16e0([0x74,0x68,0x65,0x6e])](()=>_0x45897c);}async function _0x2cc67c(){await _0x5965a3,_0x242ebf[_0x5f16e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f16e0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4f0d71,_0x242ebf[_0x5f16e0([0x6d,0x6f,0x64,0x65,0x6c])][_0x5f16e0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4f0d71,_0x242ebf[_0x5f16e0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5f16e0([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3490a6(){return window[_0x5f16e0([0x67,0x6c,0x6f,0x62])]&&window[_0x5f16e0([0x67,0x6c,0x6f,0x62])][_0x5f16e0([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x564265(){return _0x1d26fc(_0x5f16e0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3d2c89(_0x5f16e0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5f16e0([0x73,0x74,0x61,0x74,0x65])]==_0x5f16e0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x3de340(){return _0x1d26fc(_0x5f16e0([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 _0xdc50be(){return _0x1d26fc(_0x5f16e0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x110ee2(_0x4e5a96){const _0x55d281=_0x59eafa();_0x242ebf[_0x55d281]=_0x5f16e0([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e5a96,_0x4e5a96!=_0x5f16e0([0x56,0x61,0x6c,0x69,0x64])&&_0x2cc67c();}function _0x59eafa(){const _0x32e514=window[_0x5f16e0([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5f16e0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5f16e0([0x6e,0x6f,0x77])]())[_0x5f16e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5f16e0([0x2e]),'');let _0x52e67c=_0x5f16e0([0x4b]);for(let _0x1f25d6=0x0;_0x1f25d6<_0x32e514[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f25d6+=0x2){let _0x528f31=window[_0x5f16e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x32e514[_0x5f16e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f25d6,_0x1f25d6+0x2));_0x528f31>=_0x426392[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x528f31-=_0x426392[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x52e67c+=_0x426392[_0x528f31];}return _0x52e67c;}function _0xa7fd40(){const _0x92ec67=_0x2020d4[_0x5f16e0([0x73,0x70,0x6c,0x69,0x74])](_0x5f16e0([0x2e]));if(0x3!=_0x92ec67[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x44de8f(_0x92ec67[0x1]);function _0x44de8f(_0x4af052){const _0x215630=_0x97acb9(_0x4af052);return _0x215630&&_0x55da0a()?_0x215630:null;function _0x55da0a(){const _0x2a6380=_0x215630[_0x5f16e0([0x6a,0x74,0x69])],_0x456741=window[_0x5f16e0([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2a6380[_0x5f16e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2a6380[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x87ace6={..._0x215630,[_0x5f16e0([0x6a,0x74,0x69])]:_0x2a6380[_0x5f16e0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2a6380[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x87ace6[_0x5f16e0([0x76,0x63])],_0x1007a5(_0x87ace6)==_0x456741;}}}async function _0x3740e2(){let _0x319849=!0x0;try{const _0x9d9d1c=_0x2020d4[_0x5f16e0([0x73,0x70,0x6c,0x69,0x74])](_0x5f16e0([0x2e])),[_0x3fb634,_0x19eac8,_0x5659be]=_0x9d9d1c;return _0x31b3e7(_0x3fb634),await _0x412c97(_0x3fb634,_0x19eac8,_0x5659be),_0x319849;}catch{return!0x1;}function _0x31b3e7(_0x33415a){const _0x27f1fe=_0x97acb9(_0x33415a);_0x27f1fe&&_0x27f1fe[_0x5f16e0([0x61,0x6c,0x67])]==_0x5f16e0([0x45,0x53,0x32,0x35,0x36])||(_0x319849=!0x1);}async function _0x412c97(_0x1ef018,_0x3c2211,_0x715d00){const _0x59f17f=window[_0x5f16e0([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5f16e0([0x66,0x72,0x6f,0x6d])](_0x356c73(_0x715d00),_0x23894b=>_0x23894b[_0x5f16e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x444e65=new window[(_0x5f16e0([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5f16e0([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1ef018+_0x5f16e0([0x2e])+_0x3c2211),_0x4f7186=window[_0x5f16e0([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5f16e0([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4f7186)return;const _0x27c016=await _0x4f7186[_0x5f16e0([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5f16e0([0x6a,0x77,0x6b]),_0x16d081,{[_0x5f16e0([0x6e,0x61,0x6d,0x65])]:_0x5f16e0([0x45,0x43,0x44,0x53,0x41]),[_0x5f16e0([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5f16e0([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5f16e0([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4f7186[_0x5f16e0([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5f16e0([0x6e,0x61,0x6d,0x65])]:_0x5f16e0([0x45,0x43,0x44,0x53,0x41]),[_0x5f16e0([0x68,0x61,0x73,0x68])]:{[_0x5f16e0([0x6e,0x61,0x6d,0x65])]:_0x5f16e0([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x27c016,_0x59f17f,_0x444e65)||(_0x319849=!0x1);}}function _0x97acb9(_0x43f64c){return _0x43f64c[_0x5f16e0([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5f16e0([0x65,0x79]))?JSON[_0x5f16e0([0x70,0x61,0x72,0x73,0x65])](_0x356c73(_0x43f64c)):null;}function _0x356c73(_0x481c07){return window[_0x5f16e0([0x61,0x74,0x6f,0x62])](_0x481c07[_0x5f16e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5f16e0([0x2b]))[_0x5f16e0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5f16e0([0x2f])));}function _0x1007a5(_0x42225e){let _0x5b6a58=0x1505;function _0x1b37cc(_0x3d124a){for(let _0x490aaa=0x0;_0x490aaa<_0x3d124a[_0x5f16e0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x490aaa++){const _0x3d2dc3=_0x3d124a[_0x5f16e0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x490aaa);_0x5b6a58=(_0x5b6a58<<0x5)+_0x5b6a58+_0x3d2dc3,_0x5b6a58&=_0x5b6a58;}}function _0x566661(_0x3f1554){Array[_0x5f16e0([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3f1554)?_0x3f1554[_0x5f16e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x566661):_0x3f1554&&typeof _0x3f1554==_0x5f16e0([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5f16e0([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3f1554)[_0x5f16e0([0x73,0x6f,0x72,0x74])]()[_0x5f16e0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3fd7be,_0x444828])=>{_0x1b37cc(_0x3fd7be),_0x566661(_0x444828);}):_0x1b37cc(window[_0x5f16e0([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3f1554));}return _0x566661(_0x42225e),_0x5b6a58>>>0x0;}function _0x2e9045(_0x4b017b){return _0x4b017b[_0x5f16e0([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5f16e0([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5f16e0([0x30]));}function _0x4577b9(_0x14ab71){return _0x14ab71[_0x5f16e0([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5f16e0([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5f16e0([0x6a,0x6f,0x69,0x6e])]('');}function _0x1d26fc(_0x2d9d7b){return _0x242ebf[_0x5f16e0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5f16e0([0x68,0x61,0x73])](_0x2d9d7b);}function _0x3d2c89(_0x243c99){return _0x242ebf[_0x5f16e0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5f16e0([0x67,0x65,0x74])](_0x243c99);}function _0x4f0d71(){}function _0x5f16e0(_0x468a8d){const _0x14eccd=_0x4308;return _0x468a8d[_0x14eccd(0x226)](_0x46ca86=>String[_0x14eccd(0x1a4)](_0x46ca86))[_0x14eccd(0x1d6)]('');}_0x110ee2(await _0x31b7a9());}(this);}[_0x525cf5(0x1ed)](){const _0x415e09=_0x525cf5,_0x482969=this[_0x415e09(0x212)][_0x415e09(0x208)][_0x415e09(0x207)](_0x5bf593),_0x56a94e=this[_0x415e09(0x212)][_0x415e09(0x1aa)][_0x415e09(0x207)](_0x415e09(0x1b4));for(const _0x3b956f of _0x482969[_0x415e09(0x21c)]({'channelId':_0x56a94e}))_0x482969[_0x415e09(0x1ea)](_0x3b956f['id']),_0x482969[_0x415e09(0x1d5)][_0x415e09(0x1cc)](_0x3b956f['id']);super[_0x415e09(0x1ed)]();}[_0x525cf5(0x1a3)](_0x36f8c3){const _0x5dcc87=_0x525cf5;return this[_0x5dcc87(0x1c2)](_0x36f8c3)[_0x5dcc87(0x1d8)]>0x0;}[_0x525cf5(0x1c2)](_0x52d2a7){const _0x31e156=_0x525cf5,_0x450570=[];for(const _0x1de578 of this[_0x31e156(0x212)][_0x31e156(0x1c1)][_0x31e156(0x1dd)])_0x1de578[_0x31e156(0x20d)][_0x31e156(0x1ae)](_0x31e156(0x21f)+_0x52d2a7)&&_0x450570[_0x31e156(0x1e0)](_0x1de578);return _0x450570;}[_0x525cf5(0x1a0)](_0x588a77){setTimeout(()=>{const _0x2c82a5=_0x4308,_0x5a9ef4=this[_0x2c82a5(0x1cd)](_0x588a77);if(!_0x5a9ef4)return;this[_0x2c82a5(0x203)]&&_0x5badf9(this[_0x2c82a5(0x203)])['id']===_0x588a77&&_0x3e50f5({'target':_0x5a9ef4[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x525cf5(0x1cb)](_0x5325e5){const _0x52a767=_0x525cf5;this[_0x52a767(0x212)][_0x52a767(0x1c1)][_0x52a767(0x229)](()=>{const _0x12203a=_0x52a767;for(const _0x2a5875 of this[_0x12203a(0x1c2)](_0x5325e5))this[_0x12203a(0x212)][_0x12203a(0x1c0)][_0x12203a(0x1f4)](_0x2a5875);});}[_0x525cf5(0x1e3)](_0x1fc3e7){const _0x1de795=_0x525cf5,_0x10b6e7=this[_0x1de795(0x212)][_0x1de795(0x208)][_0x1de795(0x207)](_0x5bf593),_0x271144=this[_0x1de795(0x212)][_0x1de795(0x208)][_0x1de795(0x207)](_0x46f0e2),_0x371dc5=_0x10b6e7[_0x1de795(0x1a5)](_0x1fc3e7);if(!_0x371dc5[_0x1de795(0x1a1)]){const _0x4ee91b=_0x371dc5[_0x1de795(0x19c)](()=>this[_0x1de795(0x1cd)](_0x371dc5['id']));_0x271144[_0x1de795(0x1ab)](_0x4ee91b),_0x371dc5[_0x1de795(0x1c8)]=!0x1;}}[_0x525cf5(0x202)](){const _0x410536=_0x525cf5,_0x23a4fb=this[_0x410536(0x212)],_0x23b196=_0x23a4fb[_0x410536(0x208)][_0x410536(0x207)](_0x4919dd);_0x23a4fb[_0x410536(0x22c)][_0x410536(0x1b0)](_0x410536(0x221))[_0x410536(0x217)]({'model':_0x410536(0x1f5),'view':(_0x3e8721,_0x179ac6)=>{const _0x2cf3fb=_0x410536,{id:_0x286d7d}=_0x5badf9(_0x3e8721[_0x2cf3fb(0x218)]),_0x427dcf=_0x23a4fb[_0x2cf3fb(0x208)][_0x2cf3fb(0x207)](_0x5bf593)[_0x2cf3fb(0x1a5)](_0x286d7d),_0x77059b=this[_0x2cf3fb(0x203)]&&_0x5badf9(this[_0x2cf3fb(0x203)])['id']===_0x286d7d;let _0x1fd561;if(_0x427dcf&&_0x427dcf[_0x2cf3fb(0x209)]&&!_0x77059b&&_0x3e8721[_0x2cf3fb(0x1dc)])return _0x179ac6[_0x2cf3fb(0x1d1)][_0x2cf3fb(0x1eb)](_0x3e8721[_0x2cf3fb(0x1dc)],_0x2cf3fb(0x1e6)+_0x3e8721[_0x2cf3fb(0x218)]),_0x179ac6[_0x2cf3fb(0x1d1)][_0x2cf3fb(0x1eb)](_0x3e8721[_0x2cf3fb(0x1dc)],_0x2cf3fb(0x18e)+_0x3e8721[_0x2cf3fb(0x218)]),null;const _0xd01846=[_0x2cf3fb(0x1f2)];return _0x77059b&&_0xd01846[_0x2cf3fb(0x1e0)](_0x2cf3fb(0x21b)),_0x1fd561=_0x427dcf?.[_0x2cf3fb(0x1d8)]?_0x427dcf[_0x2cf3fb(0x1a8)][_0x2cf3fb(0x1a6)][_0x2cf3fb(0x1ad)]['id']:_0x23b196['me']['id'],{'classes':_0xd01846,'attributes':{'data-comment':_0x286d7d,'data-author-id':_0x1fd561}};}}),_0x23a4fb[_0x410536(0x22c)][_0x410536(0x1b0)](_0x410536(0x1fc))[_0x410536(0x1fa)]({'model':_0x410536(0x1f5),'view':(_0x4430d9,{options:_0x2a2cce})=>{const _0x44b635=_0x410536;if(_0x2a2cce[_0x44b635(0x1b1)])return null;const _0x274d22=_0x23a4fb[_0x44b635(0x208)][_0x44b635(0x207)](_0x5bf593),_0x16ace6=_0x23a4fb[_0x44b635(0x1c1)][_0x44b635(0x1dd)][_0x44b635(0x207)](_0x4430d9),{id:_0x1f8205,part:_0x39163d}=_0x5badf9(_0x4430d9);return _0x16ace6&&!_0x16ace6[_0x44b635(0x210)]||_0x2a2cce[_0x44b635(0x192)]&&_0x274d22[_0x44b635(0x1a5)](_0x1f8205)?.[_0x44b635(0x209)]?null:{'group':_0x44b635(0x1f5),'name':_0x39163d?_0x1f8205+':'+_0x39163d:_0x1f8205};}}),_0x23a4fb[_0x410536(0x22c)][_0x410536(0x1b0)](_0x410536(0x19f))[_0x410536(0x20a)]({'view':{'name':_0x410536(0x1f5),'attributes':{'id':/^\w/}},'model':(_0x42aab8,{writer:_0x162c6a})=>_0x162c6a[_0x410536(0x1e4)](_0x410536(0x19b),{'data-name':_0x410536(0x21f)+_0x42aab8[_0x410536(0x1ee)]('id')})}),_0x23a4fb[_0x410536(0x22c)][_0x410536(0x1b0)](_0x410536(0x19f))[_0x410536(0x22a)]({'view':_0x410536(0x1f5)});}[_0x525cf5(0x1c9)](){const _0x378b05=_0x525cf5,_0x4ca1f0=this[_0x378b05(0x212)],_0x26bf68=_0x4ca1f0[_0x378b05(0x208)][_0x378b05(0x207)](_0x5bf593),_0x3196a7=new Set(),_0x2e8f11=new Set();_0x4ca1f0[_0x378b05(0x1c1)][_0x378b05(0x22e)][_0x378b05(0x1f6)](_0x136abb=>{const _0x1575b4=_0x378b05;let _0x44a555=!0x1;for(const {name:_0x5c886e,data:_0x260115}of _0x4ca1f0[_0x1575b4(0x1c1)][_0x1575b4(0x22e)][_0x1575b4(0x201)][_0x1575b4(0x1f3)]()){const {group:_0x21fcfd,id:_0x2c59e1}=_0x5badf9(_0x5c886e);let _0x4a2de3=_0x260115[_0x1575b4(0x1e8)];if(_0x1575b4(0x1f5)!==_0x21fcfd||!_0x4a2de3)continue;const _0x489882=_0x1575b4(0x1a7)===_0x4a2de3[_0x1575b4(0x215)][_0x1575b4(0x1f1)];_0x489882||(_0x4a2de3=ht(_0x4a2de3,_0x4ca1f0[_0x1575b4(0x1c1)]),!_0x4a2de3||_0x4a2de3[_0x1575b4(0x228)]||!_0x260115[_0x1575b4(0x1e8)]||_0x4a2de3[_0x1575b4(0x1a9)](_0x260115[_0x1575b4(0x1e8)]))?_0x4ca1f0[_0x1575b4(0x1c1)][_0x1575b4(0x1a2)](_0x4a2de3)&&!_0x489882?this[_0x1575b4(0x1ec)]?_0x3196a7[_0x1575b4(0x1b6)](_0x5c886e):this[_0x1575b4(0x193)](_0x5c886e,_0x2c59e1):(_0x2e8f11[_0x1575b4(0x1b6)](_0x5c886e),_0x3196a7[_0x1575b4(0x1cc)](_0x5c886e),_0x136abb[_0x1575b4(0x1b2)](_0x5c886e),_0x44a555=!0x0):(_0x136abb[_0x1575b4(0x1e9)](_0x5c886e,{'range':_0x4a2de3}),_0x44a555=!0x0);}return _0x44a555;}),this['on'](_0x378b05(0x1ba),(_0x35b80f,_0x55a5a9,_0x23b462)=>{const _0x722593=_0x378b05;if(!_0x23b462&&_0x3196a7[_0x722593(0x1d9)])for(const _0x241de0 of _0x3196a7){const {id:_0x4b965e}=_0x5badf9(_0x241de0);_0x3196a7[_0x722593(0x1cc)](_0x241de0),_0x4ca1f0[_0x722593(0x1c1)][_0x722593(0x1dd)][_0x722593(0x207)](_0x241de0)&&this[_0x722593(0x193)](_0x241de0,_0x4b965e);}}),this[_0x378b05(0x1d4)](_0x4ca1f0[_0x378b05(0x1c1)][_0x378b05(0x22e)],_0x378b05(0x229),()=>{const _0x4197d0=_0x378b05;for(const {name:_0x573600,data:{newRange:_0x5132e1}}of _0x4ca1f0[_0x4197d0(0x1c1)][_0x4197d0(0x22e)][_0x4197d0(0x201)][_0x4197d0(0x1f3)]()){const {group:_0x50d748,id:_0x221eeb}=_0x5badf9(_0x573600);if(_0x4197d0(0x1f5)!==_0x50d748)continue;const _0x311c0a=_0x26bf68[_0x4197d0(0x1a5)](_0x221eeb),_0x834d0c=this[_0x4197d0(0x1a3)](_0x221eeb);_0x311c0a&&(!_0x311c0a[_0x4197d0(0x1c8)]&&_0x5132e1&&_0x4ca1f0[_0x4197d0(0x1c0)][_0x4197d0(0x200)][_0x4197d0(0x22f)](_0x4197d0(0x20b),()=>{const _0x1c34c9=_0x4197d0,_0x5efef6=_0x4ca1f0[_0x1c34c9(0x208)][_0x1c34c9(0x207)](_0x2ac10b),_0x12cb5f=_0x26bf68[_0x1c34c9(0x1f8)][_0x1c34c9(0x207)](_0x311c0a)[_0x1c34c9(0x200)];_0x5efef6[_0x1c34c9(0x1bc)](_0x12cb5f)[_0x1c34c9(0x22b)]();},{'priority':_0x4197d0(0x1be)}),_0x311c0a[_0x4197d0(0x1c8)]=_0x834d0c||!!_0x5132e1),_0x5132e1||(_0x2e8f11[_0x4197d0(0x1b6)](_0x573600),_0x3196a7[_0x4197d0(0x1cc)](_0x573600));}for(const _0x34693c of _0x2e8f11){const {id:_0x225939}=_0x5badf9(_0x34693c),_0x13deac=_0x26bf68[_0x4197d0(0x1a5)](_0x225939);if(_0x3196a7[_0x4197d0(0x1cc)](_0x34693c),!_0x13deac)continue;const _0x53a7cd=this[_0x4197d0(0x1a3)](_0x225939);_0x53a7cd||_0x13deac[_0x4197d0(0x19a)]?_0x53a7cd||_0x13deac[_0x4197d0(0x1ce)]||_0x13deac[_0x4197d0(0x1db)](new Date()):_0x13deac[_0x4197d0(0x206)]();}_0x2e8f11[_0x4197d0(0x224)]();});}[_0x525cf5(0x222)](_0x1dd440){const _0x408442=_0x525cf5;_0x1dd440[_0x408442(0x216)](_0x4fd6c8=>{const _0x54b77f=_0x408442;_0x4fd6c8[_0x54b77f(0x1ce)]&&this[_0x54b77f(0x1e3)](_0x4fd6c8['id']);});}[_0x525cf5(0x1cd)](_0x2c4d71){const _0x46eccb=_0x525cf5,_0x22e199=this[_0x46eccb(0x212)],_0x28327d=this[_0x46eccb(0x1c2)](_0x2c4d71);return _0x5d22c4(_0x22e199[_0x46eccb(0x1c0)],_0x28327d);}[_0x525cf5(0x1df)](_0x5af928){const _0x631423=_0x525cf5,_0x18d641=this[_0x631423(0x1c2)](_0x5af928);let _0x5b577d='',_0x4df865=!0x1;for(const _0x1ecf97 of _0x18d641){const _0x3d0db3=_0x1ecf97[_0x631423(0x204)]();for(const _0x4a5fc4 of Array[_0x631423(0x1f7)](_0x3d0db3[_0x631423(0x1c5)]()))_0x4a5fc4['is'](_0x631423(0x20e))?(_0x5b577d&&_0x4df865&&(_0x5b577d+='\x20',_0x4df865=!0x1),_0x5b577d+=_0x4a5fc4[_0x631423(0x213)]):_0x4df865=!0x0;_0x4df865=!0x0;}return _0x5b577d[_0x631423(0x1af)](0x0,0x96);}[_0x525cf5(0x1bb)](_0x4e5ddb,_0x6eb9fc){const _0x43114b=_0x525cf5,_0x155bb2=this[_0x43114b(0x212)],_0x3f4511=_0x155bb2[_0x43114b(0x208)][_0x43114b(0x207)](_0x5bf593);let _0xe2ddd1=_0x3f4511[_0x43114b(0x1a5)](_0x6eb9fc);const _0x59cb83=_0x155bb2[_0x43114b(0x1aa)][_0x43114b(0x207)](_0x43114b(0x1b4)),_0x8ecba2=_0x155bb2[_0x43114b(0x208)][_0x43114b(0x207)](_0x46f0e2);if(_0xe2ddd1&&(_0xe2ddd1[_0x43114b(0x1ce)]&&_0xe2ddd1[_0x43114b(0x1db)](null),_0xe2ddd1[_0x43114b(0x1a1)]))return _0xe2ddd1;return!this[_0x43114b(0x1c2)](_0x6eb9fc)[0x0][_0x43114b(0x18f)]?_0x155bb2[_0x43114b(0x1c0)][_0x43114b(0x200)][_0x43114b(0x22f)](_0x43114b(0x20b),()=>{const _0x2ea217=_0x43114b;if(_0x3f4511[_0x2ea217(0x1a5)](_0x6eb9fc))return;const _0x4570f2=_0x155bb2[_0x2ea217(0x208)][_0x2ea217(0x207)](_0x2ac10b);_0xe2ddd1=_0x3f4511[_0x2ea217(0x195)]({'channelId':_0x59cb83,'threadId':_0x6eb9fc,'target':()=>this[_0x2ea217(0x1cd)](_0x6eb9fc),'context':{'type':_0x2ea217(0x1e2),'value':this[_0x2ea217(0x1df)](_0x6eb9fc)}});const _0x401d4a=_0x3f4511[_0x2ea217(0x1f8)][_0x2ea217(0x207)](_0xe2ddd1)[_0x2ea217(0x200)],_0x1dc201=_0x4570f2[_0x2ea217(0x1bc)](_0x401d4a);_0x1dc201&&_0x8ecba2[_0x2ea217(0x1ab)](_0x1dc201);},{'priority':_0x43114b(0x1be)}):_0x3f4511[_0x43114b(0x219)]({'channelId':_0x59cb83,'threadId':_0x6eb9fc})[_0x43114b(0x1fd)](_0x15ef91=>{const _0x52c90d=_0x43114b;if(_0x52c90d(0x1bf)!==_0x155bb2[_0x52c90d(0x1da)]){if(_0xe2ddd1=_0x15ef91,_0xe2ddd1&&!_0xe2ddd1[_0x52c90d(0x1a1)]){const _0x444a55=_0xe2ddd1[_0x52c90d(0x19c)](()=>this[_0x52c90d(0x1cd)](_0x6eb9fc));_0x8ecba2[_0x52c90d(0x1ab)](_0x444a55),_0xe2ddd1[_0x52c90d(0x209)]&&this[_0x52c90d(0x1cb)](_0x6eb9fc);}else{if(!_0xe2ddd1){const _0x50b3e0=this[_0x52c90d(0x1c2)](_0x6eb9fc);_0x155bb2[_0x52c90d(0x1c1)][_0x52c90d(0x229)](_0x519b03=>{const _0x54e181=_0x52c90d;for(const _0x11df48 of _0x50b3e0)_0x519b03[_0x54e181(0x1b2)](_0x11df48);});}}}}),_0xe2ddd1;}[_0x525cf5(0x193)](_0x4f0fa6,_0x186fe9){const _0x43b307=_0x525cf5,_0x3e7165=this[_0x43b307(0x1bb)](_0x4f0fa6,_0x186fe9);_0x3e7165&&!_0x3e7165[_0x43b307(0x1e1)]&&_0x3e7165[_0x43b307(0x1cf)]({'type':_0x43b307(0x1e2),'value':this[_0x43b307(0x1df)](_0x186fe9)});}[_0x525cf5(0x196)](){const _0x5b74fe=_0x525cf5,_0x47ed0a=this[_0x5b74fe(0x212)];_0x25eac1(_0x47ed0a[_0x5b74fe(0x1c1)],({left:_0x2736ab,entered:_0x455b0f})=>{const _0x519dc9=_0x5b74fe;for(const _0x59c4b3 of _0x2736ab)if(mt(_0x59c4b3)){_0x47ed0a['ui'][_0x519dc9(0x220)][_0x519dc9(0x198)](_0x10fe31(_0x47ed0a[_0x519dc9(0x1b3)],_0x519dc9(0x20f)));break;}for(const _0xb0003e of _0x455b0f)if(mt(_0xb0003e)){_0x47ed0a['ui'][_0x519dc9(0x220)][_0x519dc9(0x198)](_0x10fe31(_0x47ed0a[_0x519dc9(0x1b3)],_0x519dc9(0x22d),_0x2c6767(_0x50582f)));break;}});}}function dt(_0x69cce8,_0x4b014d){return _0x4b014d?_0x69cce8+':'+_0x4b014d:_0x69cce8;}function ht(_0x2c90c0,_0x91408b){const _0x3a3cce=_0x525cf5,_0x3c9d6b=_0x91408b[_0x3a3cce(0x1f0)],_0x503395=_0x91408b[_0x3a3cce(0x205)](_0x2c90c0[_0x3a3cce(0x1d0)]);for(const _0x591662 of _0x2c90c0[_0x3a3cce(0x1f9)]()){const {type:_0x583b47,item:_0x2fd990,nextPosition:_0x8330d5}=_0x591662;if(_0x3a3cce(0x1e2)===_0x583b47||_0x3c9d6b[_0x3a3cce(0x1b8)](_0x2fd990)){const _0x276e24=_0x91408b[_0x3a3cce(0x211)](_0x2fd990);_0x503395[_0x3a3cce(0x228)]&&(_0x503395[_0x3a3cce(0x1d0)]=_0x276e24),_0x503395[_0x3a3cce(0x225)]=_0x8330d5;}}return _0x503395;}function mt(_0x411805){const _0x2681fd=_0x525cf5;return _0x2681fd(0x1f5)===_0x5badf9(_0x411805[_0x2681fd(0x20d)])[_0x2681fd(0x1c6)];}
|
|
23
|
+
const _0x5cd110=_0x1369;(function(_0x41456f,_0x583cb7){const _0x2226b2=_0x1369,_0x2af653=_0x41456f();while(!![]){try{const _0x58efd4=parseInt(_0x2226b2(0xd3))/0x1*(parseInt(_0x2226b2(0xe1))/0x2)+parseInt(_0x2226b2(0xe7))/0x3+parseInt(_0x2226b2(0x14f))/0x4+-parseInt(_0x2226b2(0xeb))/0x5+-parseInt(_0x2226b2(0x159))/0x6+-parseInt(_0x2226b2(0x12e))/0x7*(-parseInt(_0x2226b2(0x108))/0x8)+parseInt(_0x2226b2(0x168))/0x9*(-parseInt(_0x2226b2(0xf8))/0xa);if(_0x58efd4===_0x583cb7)break;else _0x2af653['push'](_0x2af653['shift']());}catch(_0x8ba35d){_0x2af653['push'](_0x2af653['shift']());}}}(_0x2afa,0x6ed55));import{Plugin as _0x2e2c40}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x32aa3a,scrollViewportToShowTarget as _0x31b21e,uid as _0x623b3c}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x241b19}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x2e65c2}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x2ecf29,getAllMarkersDomElementsSorted as _0x3e8321,FOCUS_ANNOTATION_KEYSTROKE as _0x21ee67,Users as _0x4f83a0}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x473bf9}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0x14f75a}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x10267c}from'./integrations/importword.js';import{CommentsClipboard as _0x56d475}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x503569}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x21c57c}from'../annotations/annotations.js';import{getTranslation as _0x327209}from'../utils/common-translations.js';import{splitMarkerName as _0x3bf64d}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x2e2c40{static get[_0x5cd110(0x16d)](){return[_0x241b19,_0x473bf9,_0x4f83a0,_0x14f75a,_0x10267c,_0x56d475,_0x503569];}static get[_0x5cd110(0x13b)](){const _0x3dddc7=_0x5cd110;return _0x3dddc7(0x11a);}static get[_0x5cd110(0x10a)](){return!0x0;}static get[_0x5cd110(0x109)](){return!0x0;}constructor(_0x66aa6a){const _0x572ddc=_0x5cd110;super(_0x66aa6a),this[_0x572ddc(0x124)](_0x572ddc(0x126),!0x0),_0x66aa6a[_0x572ddc(0x10f)][_0x572ddc(0x11b)](_0x572ddc(0xf0),()=>this[_0x572ddc(0x126)]=!0x1),this[_0x572ddc(0x124)](_0x572ddc(0xf4),null),this['on'](_0x572ddc(0x102),(_0x3f1635,_0x3f0770,_0xee65c5,_0x468449)=>{const _0xba2000=_0x572ddc,_0x16bb71=_0x66aa6a[_0xba2000(0x162)][_0xba2000(0x172)](_0x241b19),_0x59b7eb=_0xee65c5?_0x3bf64d(_0xee65c5)['id']:null;_0x66aa6a[_0xba2000(0x104)][_0xba2000(0x129)](()=>{const _0x51b76b=_0xba2000;if(_0x59b7eb){const _0x26f76e=this[_0x51b76b(0xf7)](_0x59b7eb);for(const _0x120357 of _0x26f76e)_0x66aa6a[_0x51b76b(0x146)][_0x51b76b(0xe5)](_0x120357);}if(_0x468449){const {id:_0x3e969f}=_0x3bf64d(_0x468449),_0xbdcaeb=_0x16bb71[_0x51b76b(0xd7)](_0x3e969f);if(_0xbdcaeb&&_0xbdcaeb[_0x51b76b(0x117)])return;if(_0xbdcaeb&&!_0xbdcaeb[_0x51b76b(0x107)])return;const _0x638b3f=this[_0x51b76b(0xf7)](_0x3e969f);for(const _0x490dd5 of _0x638b3f)_0x66aa6a[_0x51b76b(0x146)][_0x51b76b(0xe5)](_0x490dd5);}}),_0x59b7eb&&this[_0xba2000(0x13c)](_0x59b7eb);}),this[_0x572ddc(0x139)]();}[_0x5cd110(0xd4)](){const _0xd12bf9=_0x5cd110,_0x39a6c8=this[_0xd12bf9(0x114)],_0x4c72eb=_0x39a6c8[_0xd12bf9(0x162)][_0xd12bf9(0x172)](_0x241b19),_0x1b3f06=_0x39a6c8[_0xd12bf9(0x123)][_0xd12bf9(0x172)](_0xd12bf9(0x127)),_0x1f831a=_0x4c72eb[_0xd12bf9(0x120)]()[_0xd12bf9(0x173)](_0x471ba2=>_0x471ba2[_0xd12bf9(0x145)]!==_0x1b3f06);_0x39a6c8[_0xd12bf9(0xf9)][_0xd12bf9(0x152)](_0xd12bf9(0x116),new _0x2e65c2(_0x39a6c8)),this[_0xd12bf9(0xea)](_0x39a6c8,_0xd12bf9(0x11e),(_0x5dfc04,_0x38ba0d,_0x47a1be)=>{const _0x2477a6=_0xd12bf9;_0x4c72eb[_0x2477a6(0xe8)](_0x47a1be,_0x39a6c8[_0x2477a6(0x123)][_0x2477a6(0x172)](_0x2477a6(0x127)));}),this[_0xd12bf9(0xea)](_0x4c72eb,dt(_0xd12bf9(0x116),_0x1b3f06),(_0x25d12d,{threadId:_0x2f4a0e})=>{const _0x2bc84c=_0xd12bf9,_0x1ecccb=this[_0x2bc84c(0x114)][_0x2bc84c(0x162)][_0x2bc84c(0x172)](_0x241b19)[_0x2bc84c(0xd7)](_0x2f4a0e);_0x1ecccb?.[_0x2bc84c(0x117)]&&this[_0x2bc84c(0x103)](_0x2f4a0e);}),this[_0xd12bf9(0xea)](_0x4c72eb,dt(_0xd12bf9(0x15f),_0x1b3f06),(_0x207a00,{threadId:_0x4a3775})=>{const _0xb41fe1=_0xd12bf9;_0x39a6c8[_0xb41fe1(0x104)][_0xb41fe1(0x163)]({'isUndoable':!0x1},_0x6768b7=>{const _0x368fae=_0xb41fe1,_0x3871ad=this[_0x368fae(0xf7)](_0x4a3775);for(const _0xd55003 of _0x3871ad)_0x6768b7[_0x368fae(0xf5)](_0xd55003);});}),this[_0xd12bf9(0xea)](_0x4c72eb,dt(_0xd12bf9(0x171),_0x1b3f06),(_0x1f6bb4,{threadId:_0x1adfb1})=>{const _0x506a73=_0xd12bf9;(this[_0x506a73(0x132)](_0x1adfb1),this[_0x506a73(0x114)][_0x506a73(0x146)][_0x506a73(0x138)][_0x506a73(0x164)])&&(this[_0x506a73(0x114)][_0x506a73(0x162)][_0x506a73(0x172)](_0x241b19)[_0x506a73(0xd7)](_0x1adfb1)[_0x506a73(0x117)]||this[_0x506a73(0x114)][_0x506a73(0x146)][_0x506a73(0x138)][_0x506a73(0x14d)]());},{'priority':_0xd12bf9(0xd6)}),this[_0xd12bf9(0xea)](_0x4c72eb,dt(_0xd12bf9(0x167),_0x1b3f06),(_0x5b323c,{threadId:_0x46c07c})=>{const _0x5d13e7=_0xd12bf9;this[_0x5d13e7(0x132)](_0x46c07c);},{'priority':_0xd12bf9(0xd6)}),this[_0xd12bf9(0xea)](_0x4c72eb,dt(_0xd12bf9(0x122),_0x1b3f06),(_0x503cca,{threadId:_0x28847f,isFromAdapter:_0x238355})=>{const _0x197227=_0xd12bf9,_0x3df257=this[_0x197227(0xf7)](_0x28847f);if(_0x238355||0x0==_0x3df257[_0x197227(0x100)]||!_0x4c72eb[_0x197227(0xe0)](_0x28847f))return;0x1===_0x4c72eb[_0x197227(0xd7)](_0x28847f)[_0x197227(0x100)]&&_0x39a6c8[_0x197227(0x104)][_0x197227(0x163)]({'isUndoable':!0x1},_0x38edb5=>{const _0x2e3a53=_0x197227;for(const _0x422ac7 of _0x3df257)_0x38edb5[_0x2e3a53(0xdb)](_0x422ac7,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0xd12bf9(0xd6)}),this[_0xd12bf9(0x155)](),this[_0xd12bf9(0x111)](),this[_0xd12bf9(0x140)](_0x1f831a);}[_0x5cd110(0xfd)](){!async function(_0xfbf296){const _0x2b1c7d=_0x5ccb42([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]),_0x47183c=0x73460ab3,_0x5a9f01=0x73417e43^_0x47183c,_0xda311d=window[_0x5ccb42([0x44,0x61,0x74,0x65])][_0x5ccb42([0x6e,0x6f,0x77])](),_0x3341cc=_0xfbf296[_0x5ccb42([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a7ab7=new window[(_0x5ccb42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4364a9=>{_0x3341cc[_0x5ccb42([0x6f,0x6e,0x63,0x65])](_0x5ccb42([0x72,0x65,0x61,0x64,0x79]),_0x4364a9);}),_0x3db193={[_0x5ccb42([0x6b,0x74,0x79])]:_0x5ccb42([0x45,0x43]),[_0x5ccb42([0x75,0x73,0x65])]:_0x5ccb42([0x73,0x69,0x67]),[_0x5ccb42([0x63,0x72,0x76])]:_0x5ccb42([0x50,0x2d,0x32,0x35,0x36]),[_0x5ccb42([0x78])]:_0x5ccb42([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]),[_0x5ccb42([0x79])]:_0x5ccb42([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]),[_0x5ccb42([0x61,0x6c,0x67])]:_0x5ccb42([0x45,0x53,0x32,0x35,0x36])},_0x17e82d=_0x3341cc[_0x5ccb42([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5ccb42([0x67,0x65,0x74])](_0x5ccb42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x13b31b(){let _0x560275,_0x1eec18=null,_0x3f169a=null;try{if(_0x17e82d==_0x5ccb42([0x47,0x50,0x4c]))return _0x5ccb42([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x560275=_0x491af7(),!_0x560275)return _0x5ccb42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x560275[_0x5ccb42([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3f169a=_0x1601c4(_0x560275[_0x5ccb42([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x560275[_0x5ccb42([0x6a,0x74,0x69])])),await _0x4b111a()?_0x21a84a()?_0x13a93f()?_0x5ccb42([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4253e1()?(_0x560275[_0x5ccb42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ccb42([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1eec18=_0x38b7d5(_0x5ccb42([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x560275[_0x5ccb42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5ccb42([0x74,0x72,0x69,0x61,0x6c])&&(_0x1eec18=_0x38b7d5(_0x5ccb42([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x492df3()):_0x5ccb42([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5ccb42([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5ccb42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5ccb42([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x13a93f(){const _0x48ee86=[_0x5ccb42([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5ccb42([0x74,0x72,0x69,0x61,0x6c])][_0x5ccb42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x560275[_0x5ccb42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xda311d/0x3e8:0xe10*_0x5a9f01;return _0x560275[_0x5ccb42([0x65,0x78,0x70])]<_0x48ee86;}function _0x21a84a(){const _0x7b1050=_0x560275[_0x5ccb42([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x7b1050)return!0x1;if(_0x7b1050[_0x5ccb42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ccb42([0x2a])))return!0x0;if(_0x7b1050[_0x5ccb42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ccb42([0x43,0x4d,0x54])))return!0x0;if(_0x7b1050[_0x5ccb42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ccb42([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x37aa4d())return!0x0;if(_0x7b1050[_0x5ccb42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ccb42([0x52,0x43,0x4d,0x54]))){if(_0x173301())return!0x0;if(_0x3d0d44()||_0x2b4b73())return!0x0;}return!0x1;}function _0x4253e1(){const _0x3f447c=_0x1369,_0x1d854e=_0x560275[_0x5ccb42([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1d854e||0x0==_0x1d854e[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x12cdb3}=new URL(window[_0x5ccb42([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x3f447c(0x137)]);if(_0x1d854e[_0x5ccb42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12cdb3))return!0x0;const _0x39e74e=_0x12cdb3[_0x5ccb42([0x73,0x70,0x6c,0x69,0x74])](_0x5ccb42([0x2e]));return _0x1d854e[_0x5ccb42([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5710e9=>_0x5710e9[_0x5ccb42([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5ccb42([0x2a])))[_0x5ccb42([0x6d,0x61,0x70])](_0xf1e873=>_0xf1e873[_0x5ccb42([0x73,0x70,0x6c,0x69,0x74])](_0x5ccb42([0x2e])))[_0x5ccb42([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x51326e=>_0x51326e[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x39e74e[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ccb42([0x6d,0x61,0x70])](_0x916586=>Array(_0x39e74e[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x916586[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5ccb42([0x66,0x69,0x6c,0x6c])](_0x916586[0x0]===_0x5ccb42([0x2a])?_0x5ccb42([0x2a]):'')[_0x5ccb42([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x916586))[_0x5ccb42([0x73,0x6f,0x6d,0x65])](_0x3fbb8e=>_0x39e74e[_0x5ccb42([0x65,0x76,0x65,0x72,0x79])]((_0x284355,_0x1ef155)=>_0x3fbb8e[_0x1ef155]===_0x284355||_0x3fbb8e[_0x1ef155]===_0x5ccb42([0x2a])));}function _0x492df3(){return _0x1eec18&&_0x3f169a?new window[(_0x5ccb42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c4658,_0x1ffb6)=>{_0x1eec18[_0x5ccb42([0x74,0x68,0x65,0x6e])](_0x1c4658,_0x1ffb6),_0x3f169a[_0x5ccb42([0x74,0x68,0x65,0x6e])](_0x260325=>{_0x260325!=_0x5ccb42([0x56,0x61,0x6c,0x69,0x64])&&_0x1c4658(_0x260325);},_0x1ffb6);}):_0x1eec18||_0x3f169a||_0x5ccb42([0x56,0x61,0x6c,0x69,0x64]);}}function _0x1601c4(_0x53594e,_0x336d72){return new window[(_0x5ccb42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20453e=>{if(_0x15dd84())return _0x20453e(_0x5ccb42([0x56,0x61,0x6c,0x69,0x64]));_0x59deb6(),_0x3341cc[_0x5ccb42([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5ccb42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x30c723=!0x1;const _0x165567=_0x623b3c();function _0x253344(_0x49ec16){return!!_0x49ec16&&(typeof _0x49ec16===_0x5ccb42([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x49ec16===_0x5ccb42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x49ec16[_0x5ccb42([0x74,0x68,0x65,0x6e])]===_0x5ccb42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x49ec16[_0x5ccb42([0x63,0x61,0x74,0x63,0x68])]===_0x5ccb42([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3981b7(_0x932b45){_0x340f4c(_0x932b45)[_0x5ccb42([0x74,0x68,0x65,0x6e])](_0x414917=>{if(!_0x414917||_0x414917[_0x5ccb42([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5ccb42([0x6f,0x6b]))return _0x5ccb42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0xc1db54(_0x3f823e(_0x165567+_0x336d72))!=_0x414917[_0x5ccb42([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5ccb42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5ccb42([0x56,0x61,0x6c,0x69,0x64]);})[_0x5ccb42([0x74,0x68,0x65,0x6e])](_0x4d590e=>(_0x40d634(),_0x4d590e),()=>{const _0x5984fb=_0x527ddc();return null==_0x5984fb?(_0x40d634(),_0x5ccb42([0x56,0x61,0x6c,0x69,0x64])):_0x5ccb42(_0xda311d-_0x5984fb>(0x574a8eb3^_0x47183c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5ccb42([0x74,0x68,0x65,0x6e])](_0x20453e)[_0x5ccb42([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20453e(_0x5ccb42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x17010c=0x7370e433^_0x47183c;function _0x40d634(){const _0x86011b=_0x5ccb42([0x6c,0x6c,0x63,0x74,0x2d])+_0xc1db54(_0x3f823e(_0x53594e)),_0x43bec6=_0x1c2dbd(_0xc1db54(window[_0x5ccb42([0x4d,0x61,0x74,0x68])][_0x5ccb42([0x63,0x65,0x69,0x6c])](_0xda311d/_0x17010c)));window[_0x5ccb42([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ccb42([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x86011b,_0x43bec6);}function _0x527ddc(){const _0x5a7ebc=_0x5ccb42([0x6c,0x6c,0x63,0x74,0x2d])+_0xc1db54(_0x3f823e(_0x53594e)),_0x120bbb=window[_0x5ccb42([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5ccb42([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a7ebc);return _0x120bbb?window[_0x5ccb42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c2dbd(_0x120bbb),0x10)*_0x17010c:null;}function _0x340f4c(_0x44f8dd){return new window[(_0x5ccb42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5bd5b8,_0x542d0f)=>{_0x44f8dd[_0x5ccb42([0x74,0x68,0x65,0x6e])](_0x5bd5b8,_0x542d0f),window[_0x5ccb42([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x542d0f,0x7347de73^_0x47183c);});}}_0x3341cc[_0x5ccb42([0x6f,0x6e])](_0x5ccb42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x48243d,_0x1630f2)=>{if(_0x1630f2[0x0]!=_0x53594e)return _0x20453e(_0x5ccb42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1630f2[0x1]={..._0x1630f2[0x1],[_0x5ccb42([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x165567};},{[_0x5ccb42([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ccb42([0x68,0x69,0x67,0x68])}),_0x3341cc[_0x5ccb42([0x6f,0x6e])](_0x5ccb42([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21fbcd=>{_0x253344(_0x21fbcd[_0x5ccb42([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x30c723=!0x0,_0x3981b7(_0x21fbcd[_0x5ccb42([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5ccb42([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5ccb42([0x6c,0x6f,0x77])}),_0x5a7ab7[_0x5ccb42([0x74,0x68,0x65,0x6e])](()=>{_0x30c723||_0x20453e(_0x5ccb42([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x15dd84(){return _0x3341cc[_0x5ccb42([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ccb42([0x76,0x69,0x65,0x77])][_0x5ccb42([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5ccb42([0x61,0x75,0x74,0x6f]);}function _0x59deb6(){_0x3341cc[_0x5ccb42([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5ccb42([0x76,0x69,0x65,0x77])][_0x5ccb42([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5ccb42([0x61,0x75,0x74,0x6f]);}}function _0x38b7d5(_0x3fd077){const _0x4608e9=[new window[(_0x5ccb42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x647ff6=>setTimeout(_0x647ff6,0x734f347f^_0x47183c)),_0x5a7ab7[_0x5ccb42([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5ccb42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5aad44=>{let _0x179ddc=0x0;_0x3341cc[_0x5ccb42([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ccb42([0x6f,0x6e])](_0x5ccb42([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54e50c,_0x472cbc)=>{_0x472cbc[0x0][_0x5ccb42([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x179ddc++,_0x179ddc==(0x73460b4b^_0x47183c)&&(_0x5aad44(),_0x54e50c[_0x5ccb42([0x6f,0x66,0x66])]());});}))];return window[_0x5ccb42([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5ccb42([0x72,0x61,0x63,0x65])](_0x4608e9)[_0x5ccb42([0x74,0x68,0x65,0x6e])](()=>_0x3fd077);}async function _0xabe905(){await _0x5a7ab7,_0x3341cc[_0x5ccb42([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ccb42([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x411c8f,_0x3341cc[_0x5ccb42([0x6d,0x6f,0x64,0x65,0x6c])][_0x5ccb42([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x411c8f,_0x3341cc[_0x5ccb42([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5ccb42([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x37aa4d(){return window[_0x5ccb42([0x67,0x6c,0x6f,0x62])]&&window[_0x5ccb42([0x67,0x6c,0x6f,0x62])][_0x5ccb42([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x173301(){return _0x5b577b(_0x5ccb42([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2cb60b(_0x5ccb42([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5ccb42([0x73,0x74,0x61,0x74,0x65])]==_0x5ccb42([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x3d0d44(){return _0x5b577b(_0x5ccb42([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 _0x2b4b73(){return _0x5b577b(_0x5ccb42([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x535c90(_0x553125){const _0x219ba4=_0x1a3337();_0x3341cc[_0x219ba4]=_0x5ccb42([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x553125,_0x553125!=_0x5ccb42([0x56,0x61,0x6c,0x69,0x64])&&_0xabe905();}function _0x1a3337(){const _0x1af777=window[_0x5ccb42([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5ccb42([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5ccb42([0x6e,0x6f,0x77])]())[_0x5ccb42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5ccb42([0x2e]),'');let _0x49b110=_0x5ccb42([0x4b]);for(let _0x2b45df=0x0;_0x2b45df<_0x1af777[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2b45df+=0x2){let _0x359725=window[_0x5ccb42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1af777[_0x5ccb42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b45df,_0x2b45df+0x2));_0x359725>=_0x2b1c7d[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x359725-=_0x2b1c7d[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x49b110+=_0x2b1c7d[_0x359725];}return _0x49b110;}function _0x491af7(){const _0x399c17=_0x17e82d[_0x5ccb42([0x73,0x70,0x6c,0x69,0x74])](_0x5ccb42([0x2e]));if(0x3!=_0x399c17[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4dac55(_0x399c17[0x1]);function _0x4dac55(_0x1ed478){const _0xfa42fc=_0x343ed1(_0x1ed478);return _0xfa42fc&&_0x1dc5c7()?_0xfa42fc:null;function _0x1dc5c7(){const _0x7d7b59=_0xfa42fc[_0x5ccb42([0x6a,0x74,0x69])],_0x3f48d5=window[_0x5ccb42([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x7d7b59[_0x5ccb42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x7d7b59[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0xd214bc={..._0xfa42fc,[_0x5ccb42([0x6a,0x74,0x69])]:_0x7d7b59[_0x5ccb42([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x7d7b59[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0xd214bc[_0x5ccb42([0x76,0x63])],_0x3f823e(_0xd214bc)==_0x3f48d5;}}}async function _0x4b111a(){let _0x518062=!0x0;try{const _0x102b07=_0x17e82d[_0x5ccb42([0x73,0x70,0x6c,0x69,0x74])](_0x5ccb42([0x2e])),[_0x234652,_0x448872,_0x4f4a62]=_0x102b07;return _0x1ed1e6(_0x234652),await _0x3522c0(_0x234652,_0x448872,_0x4f4a62),_0x518062;}catch{return!0x1;}function _0x1ed1e6(_0x38dac7){const _0x286a10=_0x343ed1(_0x38dac7);_0x286a10&&_0x286a10[_0x5ccb42([0x61,0x6c,0x67])]==_0x5ccb42([0x45,0x53,0x32,0x35,0x36])||(_0x518062=!0x1);}async function _0x3522c0(_0x528309,_0x54cf4b,_0x574dfd){const _0x1b1930=window[_0x5ccb42([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5ccb42([0x66,0x72,0x6f,0x6d])](_0xdb8f18(_0x574dfd),_0x3d11a9=>_0x3d11a9[_0x5ccb42([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5135c9=new window[(_0x5ccb42([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5ccb42([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x528309+_0x5ccb42([0x2e])+_0x54cf4b),_0x3146fb=window[_0x5ccb42([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5ccb42([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3146fb)return;const _0x490123=await _0x3146fb[_0x5ccb42([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5ccb42([0x6a,0x77,0x6b]),_0x3db193,{[_0x5ccb42([0x6e,0x61,0x6d,0x65])]:_0x5ccb42([0x45,0x43,0x44,0x53,0x41]),[_0x5ccb42([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5ccb42([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5ccb42([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3146fb[_0x5ccb42([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5ccb42([0x6e,0x61,0x6d,0x65])]:_0x5ccb42([0x45,0x43,0x44,0x53,0x41]),[_0x5ccb42([0x68,0x61,0x73,0x68])]:{[_0x5ccb42([0x6e,0x61,0x6d,0x65])]:_0x5ccb42([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x490123,_0x1b1930,_0x5135c9)||(_0x518062=!0x1);}}function _0x343ed1(_0xc13572){return _0xc13572[_0x5ccb42([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5ccb42([0x65,0x79]))?JSON[_0x5ccb42([0x70,0x61,0x72,0x73,0x65])](_0xdb8f18(_0xc13572)):null;}function _0xdb8f18(_0x579b91){return window[_0x5ccb42([0x61,0x74,0x6f,0x62])](_0x579b91[_0x5ccb42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5ccb42([0x2b]))[_0x5ccb42([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5ccb42([0x2f])));}function _0x3f823e(_0x3e4b14){let _0x57a848=0x1505;function _0x19b17e(_0x196ac5){for(let _0x326a17=0x0;_0x326a17<_0x196ac5[_0x5ccb42([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x326a17++){const _0x3c654d=_0x196ac5[_0x5ccb42([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x326a17);_0x57a848=(_0x57a848<<0x5)+_0x57a848+_0x3c654d,_0x57a848&=_0x57a848;}}function _0x1a85d4(_0x268890){Array[_0x5ccb42([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x268890)?_0x268890[_0x5ccb42([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a85d4):_0x268890&&typeof _0x268890==_0x5ccb42([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5ccb42([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x268890)[_0x5ccb42([0x73,0x6f,0x72,0x74])]()[_0x5ccb42([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2e4ef5,_0x55514c])=>{_0x19b17e(_0x2e4ef5),_0x1a85d4(_0x55514c);}):_0x19b17e(window[_0x5ccb42([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x268890));}return _0x1a85d4(_0x3e4b14),_0x57a848>>>0x0;}function _0xc1db54(_0x3c4a3e){return _0x3c4a3e[_0x5ccb42([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5ccb42([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5ccb42([0x30]));}function _0x1c2dbd(_0x4a683e){return _0x4a683e[_0x5ccb42([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5ccb42([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5ccb42([0x6a,0x6f,0x69,0x6e])]('');}function _0x5b577b(_0x4fb9a7){return _0x3341cc[_0x5ccb42([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5ccb42([0x68,0x61,0x73])](_0x4fb9a7);}function _0x2cb60b(_0x1e226e){return _0x3341cc[_0x5ccb42([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5ccb42([0x67,0x65,0x74])](_0x1e226e);}function _0x411c8f(){}function _0x5ccb42(_0x4b841a){const _0x2882bb=_0x1369;return _0x4b841a[_0x2882bb(0x143)](_0x22745e=>String[_0x2882bb(0x158)](_0x22745e))[_0x2882bb(0x119)]('');}_0x535c90(await _0x13b31b());}(this);}[_0x5cd110(0x153)](){const _0x5c3717=_0x5cd110,_0x5e0038=this[_0x5c3717(0x114)][_0x5c3717(0x162)][_0x5c3717(0x172)](_0x241b19),_0x201fab=this[_0x5c3717(0x114)][_0x5c3717(0x123)][_0x5c3717(0x172)](_0x5c3717(0x127));for(const _0x4bed6c of _0x5e0038[_0x5c3717(0x120)]({'channelId':_0x201fab}))_0x5e0038[_0x5c3717(0xec)](_0x4bed6c['id']),_0x5e0038[_0x5c3717(0xfa)][_0x5c3717(0xd9)](_0x4bed6c['id']);super[_0x5c3717(0x153)]();}[_0x5cd110(0x131)](_0x5599e4){const _0x3dd5c1=_0x5cd110;return this[_0x3dd5c1(0xf7)](_0x5599e4)[_0x3dd5c1(0x100)]>0x0;}[_0x5cd110(0xf7)](_0x130568){const _0x2f225b=_0x5cd110,_0xeab2ad=[];for(const _0x8efdc7 of this[_0x2f225b(0x114)][_0x2f225b(0x104)][_0x2f225b(0x157)])_0x8efdc7[_0x2f225b(0xde)][_0x2f225b(0x10e)](_0x2f225b(0x135)+_0x130568)&&_0xeab2ad[_0x2f225b(0xff)](_0x8efdc7);return _0xeab2ad;}[_0x5cd110(0x13c)](_0x415e2a){setTimeout(()=>{const _0xf5904c=_0x1369,_0x3241c8=this[_0xf5904c(0xf3)](_0x415e2a);if(!_0x3241c8)return;this[_0xf5904c(0xf4)]&&_0x3bf64d(this[_0xf5904c(0xf4)])['id']===_0x415e2a&&_0x31b21e({'target':_0x3241c8[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x5cd110(0x132)](_0x211516){const _0x111f94=_0x5cd110;this[_0x111f94(0x114)][_0x111f94(0x104)][_0x111f94(0x129)](()=>{const _0x2f547c=_0x111f94;for(const _0x1ce326 of this[_0x2f547c(0xf7)](_0x211516))this[_0x2f547c(0x114)][_0x2f547c(0x146)][_0x2f547c(0xe5)](_0x1ce326);});}[_0x5cd110(0x103)](_0x1ef716){const _0x3ceb0f=_0x5cd110,_0x5d997c=this[_0x3ceb0f(0x114)][_0x3ceb0f(0x162)][_0x3ceb0f(0x172)](_0x241b19),_0x43eba7=this[_0x3ceb0f(0x114)][_0x3ceb0f(0x162)][_0x3ceb0f(0x172)](_0x473bf9),_0x3c8f2d=_0x5d997c[_0x3ceb0f(0xd7)](_0x1ef716);if(!_0x3c8f2d[_0x3ceb0f(0x107)]){const _0x559c72=_0x3c8f2d[_0x3ceb0f(0x156)](()=>this[_0x3ceb0f(0xf3)](_0x3c8f2d['id']));_0x43eba7[_0x3ceb0f(0x133)](_0x559c72),_0x3c8f2d[_0x3ceb0f(0x174)]=!0x1;}}[_0x5cd110(0x155)](){const _0x17181c=_0x5cd110,_0x58adbc=this[_0x17181c(0x114)],_0x122474=_0x58adbc[_0x17181c(0x162)][_0x17181c(0x172)](_0x4f83a0);_0x58adbc[_0x17181c(0x110)][_0x17181c(0x141)](_0x17181c(0xe6))[_0x17181c(0x144)]({'model':_0x17181c(0x12c),'view':(_0x218389,_0x20323d)=>{const _0x35630e=_0x17181c,{id:_0x270b09}=_0x3bf64d(_0x218389[_0x35630e(0xd1)]),_0x5aa5cb=_0x58adbc[_0x35630e(0x162)][_0x35630e(0x172)](_0x241b19)[_0x35630e(0xd7)](_0x270b09),_0x289bf7=this[_0x35630e(0xf4)]&&_0x3bf64d(this[_0x35630e(0xf4)])['id']===_0x270b09;let _0x2e318e;if(_0x5aa5cb&&_0x5aa5cb[_0x35630e(0xfc)]&&!_0x289bf7&&_0x218389[_0x35630e(0xe3)])return _0x20323d[_0x35630e(0x16a)][_0x35630e(0xf6)](_0x218389[_0x35630e(0xe3)],_0x35630e(0x14b)+_0x218389[_0x35630e(0xd1)]),_0x20323d[_0x35630e(0x16a)][_0x35630e(0xf6)](_0x218389[_0x35630e(0xe3)],_0x35630e(0x113)+_0x218389[_0x35630e(0xd1)]),null;const _0x22766c=[_0x35630e(0xee)];return _0x289bf7&&_0x22766c[_0x35630e(0xff)](_0x35630e(0x118)),_0x2e318e=_0x5aa5cb?.[_0x35630e(0x100)]?_0x5aa5cb[_0x35630e(0x15d)][_0x35630e(0x15a)][_0x35630e(0x112)]['id']:_0x122474['me']['id'],{'classes':_0x22766c,'attributes':{'data-comment':_0x270b09,'data-author-id':_0x2e318e}};}}),_0x58adbc[_0x17181c(0x110)][_0x17181c(0x141)](_0x17181c(0x166))[_0x17181c(0xfb)]({'model':_0x17181c(0x12c),'view':(_0x496f0d,{options:_0x5ad67b})=>{const _0x39dcb9=_0x17181c;if(_0x5ad67b[_0x39dcb9(0xd8)])return null;const _0x2911ed=_0x58adbc[_0x39dcb9(0x162)][_0x39dcb9(0x172)](_0x241b19),_0x4734a1=_0x58adbc[_0x39dcb9(0x104)][_0x39dcb9(0x157)][_0x39dcb9(0x172)](_0x496f0d),{id:_0x503a05,part:_0x590e53}=_0x3bf64d(_0x496f0d);return _0x4734a1&&!_0x4734a1[_0x39dcb9(0x13e)]||_0x5ad67b[_0x39dcb9(0x15c)]&&_0x2911ed[_0x39dcb9(0xd7)](_0x503a05)?.[_0x39dcb9(0xfc)]?null:{'group':_0x39dcb9(0x12c),'name':_0x590e53?_0x503a05+':'+_0x590e53:_0x503a05};}}),_0x58adbc[_0x17181c(0x110)][_0x17181c(0x141)](_0x17181c(0xdd))[_0x17181c(0xed)]({'view':{'name':_0x17181c(0x12c),'attributes':{'id':/^\w/}},'model':(_0x13d57b,{writer:_0x48c73f})=>_0x48c73f[_0x17181c(0x12d)](_0x17181c(0x134),{'data-name':_0x17181c(0x135)+_0x13d57b[_0x17181c(0x16b)]('id')})}),_0x58adbc[_0x17181c(0x110)][_0x17181c(0x141)](_0x17181c(0xdd))[_0x17181c(0x151)]({'view':_0x17181c(0x12c)});}[_0x5cd110(0x111)](){const _0x58d41e=_0x5cd110,_0x14e345=this[_0x58d41e(0x114)],_0x2ef5e5=_0x14e345[_0x58d41e(0x162)][_0x58d41e(0x172)](_0x241b19),_0x3b1880=new Set(),_0x3703be=new Set();_0x14e345[_0x58d41e(0x104)][_0x58d41e(0x12a)][_0x58d41e(0x14c)](_0x4a6866=>{const _0x5633e5=_0x58d41e;let _0x2b6a59=!0x1;for(const {name:_0x1466d0,data:_0xe2741a}of _0x14e345[_0x5633e5(0x104)][_0x5633e5(0x12a)][_0x5633e5(0xe2)][_0x5633e5(0x115)]()){const {group:_0x57ea0e,id:_0x96507b}=_0x3bf64d(_0x1466d0);let _0x58be5a=_0xe2741a[_0x5633e5(0x101)];if(_0x5633e5(0x12c)!==_0x57ea0e||!_0x58be5a)continue;const _0x32ae2b=_0x5633e5(0x14a)===_0x58be5a[_0x5633e5(0x148)][_0x5633e5(0xfe)];_0x32ae2b||(_0x58be5a=ht(_0x58be5a,_0x14e345[_0x5633e5(0x104)]),!_0x58be5a||_0x58be5a[_0x5633e5(0x16e)]||!_0xe2741a[_0x5633e5(0x101)]||_0x58be5a[_0x5633e5(0x10d)](_0xe2741a[_0x5633e5(0x101)]))?_0x14e345[_0x5633e5(0x104)][_0x5633e5(0x10b)](_0x58be5a)&&!_0x32ae2b?this[_0x5633e5(0x126)]?_0x3b1880[_0x5633e5(0x152)](_0x1466d0):this[_0x5633e5(0x136)](_0x1466d0,_0x96507b):(_0x3703be[_0x5633e5(0x152)](_0x1466d0),_0x3b1880[_0x5633e5(0xd9)](_0x1466d0),_0x4a6866[_0x5633e5(0xf5)](_0x1466d0),_0x2b6a59=!0x0):(_0x4a6866[_0x5633e5(0xdb)](_0x1466d0,{'range':_0x58be5a}),_0x2b6a59=!0x0);}return _0x2b6a59;}),this['on'](_0x58d41e(0x170),(_0x333db9,_0x15384f,_0x19feea)=>{const _0x5e6e06=_0x58d41e;if(!_0x19feea&&_0x3b1880[_0x5e6e06(0x125)])for(const _0x939eca of _0x3b1880){const {id:_0x5c9a79}=_0x3bf64d(_0x939eca);_0x3b1880[_0x5e6e06(0xd9)](_0x939eca),_0x14e345[_0x5e6e06(0x104)][_0x5e6e06(0x157)][_0x5e6e06(0x172)](_0x939eca)&&this[_0x5e6e06(0x136)](_0x939eca,_0x5c9a79);}}),this[_0x58d41e(0xea)](_0x14e345[_0x58d41e(0x104)][_0x58d41e(0x12a)],_0x58d41e(0x129),()=>{const _0x42be26=_0x58d41e;for(const {name:_0x299f34,data:{newRange:_0x146422}}of _0x14e345[_0x42be26(0x104)][_0x42be26(0x12a)][_0x42be26(0xe2)][_0x42be26(0x115)]()){const {group:_0x390c28,id:_0x4497ad}=_0x3bf64d(_0x299f34);if(_0x42be26(0x12c)!==_0x390c28)continue;const _0x1de7a6=_0x2ef5e5[_0x42be26(0xd7)](_0x4497ad),_0x233178=this[_0x42be26(0x131)](_0x4497ad);_0x1de7a6&&(!_0x1de7a6[_0x42be26(0x174)]&&_0x146422&&_0x14e345[_0x42be26(0x146)][_0x42be26(0x138)][_0x42be26(0x11b)](_0x42be26(0x154),()=>{const _0x23f031=_0x42be26,_0x5317d6=_0x14e345[_0x23f031(0x162)][_0x23f031(0x172)](_0x21c57c),_0x5dddb1=_0x2ef5e5[_0x23f031(0x130)][_0x23f031(0x172)](_0x1de7a6)[_0x23f031(0x138)];_0x5317d6[_0x23f031(0x147)](_0x5dddb1)[_0x23f031(0x13f)]();},{'priority':_0x42be26(0xd6)}),_0x1de7a6[_0x42be26(0x174)]=_0x233178||!!_0x146422),_0x146422||(_0x3703be[_0x42be26(0x152)](_0x299f34),_0x3b1880[_0x42be26(0xd9)](_0x299f34));}for(const _0xacf84b of _0x3703be){const {id:_0xbf0bc6}=_0x3bf64d(_0xacf84b),_0x4be48b=_0x2ef5e5[_0x42be26(0xd7)](_0xbf0bc6);if(_0x3b1880[_0x42be26(0xd9)](_0xacf84b),!_0x4be48b)continue;const _0x1de15b=this[_0x42be26(0x131)](_0xbf0bc6);_0x1de15b||_0x4be48b[_0x42be26(0x11d)]?_0x1de15b||_0x4be48b[_0x42be26(0x117)]||_0x4be48b[_0x42be26(0xdc)](new Date()):_0x4be48b[_0x42be26(0x121)]();}_0x3703be[_0x42be26(0x169)]();});}[_0x5cd110(0x140)](_0x10031a){const _0x588e36=_0x5cd110;_0x10031a[_0x588e36(0xe4)](_0x2a0726=>{const _0x80f3f4=_0x588e36;_0x2a0726[_0x80f3f4(0x117)]&&this[_0x80f3f4(0x103)](_0x2a0726['id']);});}[_0x5cd110(0xf3)](_0x1503f8){const _0x4aadf8=_0x5cd110,_0x2ec5be=this[_0x4aadf8(0x114)],_0x2cfccc=this[_0x4aadf8(0xf7)](_0x1503f8);return _0x3e8321(_0x2ec5be[_0x4aadf8(0x146)],_0x2cfccc);}[_0x5cd110(0x11c)](_0x16762d){const _0x5b6377=_0x5cd110,_0x1f2b2f=this[_0x5b6377(0xf7)](_0x16762d);let _0x56f65d='',_0x73dcb1=!0x1;for(const _0x19af17 of _0x1f2b2f){const _0x393d9e=_0x19af17[_0x5b6377(0x150)]();for(const _0x2ed98a of Array[_0x5b6377(0x16f)](_0x393d9e[_0x5b6377(0x16c)]()))_0x2ed98a['is'](_0x5b6377(0x105))?(_0x56f65d&&_0x73dcb1&&(_0x56f65d+='\x20',_0x73dcb1=!0x1),_0x56f65d+=_0x2ed98a[_0x5b6377(0x10f)]):_0x73dcb1=!0x0;_0x73dcb1=!0x0;}return _0x56f65d[_0x5b6377(0xef)](0x0,0x96);}[_0x5cd110(0xd5)](_0x7077d7,_0x444db4){const _0x1f1a2e=_0x5cd110,_0x50e8d0=this[_0x1f1a2e(0x114)],_0x28dd84=_0x50e8d0[_0x1f1a2e(0x162)][_0x1f1a2e(0x172)](_0x241b19);let _0x3b0947=_0x28dd84[_0x1f1a2e(0xd7)](_0x444db4);const _0x395721=_0x50e8d0[_0x1f1a2e(0x123)][_0x1f1a2e(0x172)](_0x1f1a2e(0x127)),_0x37ba83=_0x50e8d0[_0x1f1a2e(0x162)][_0x1f1a2e(0x172)](_0x473bf9);if(_0x3b0947&&(_0x3b0947[_0x1f1a2e(0x117)]&&_0x3b0947[_0x1f1a2e(0xdc)](null),_0x3b0947[_0x1f1a2e(0x107)]))return _0x3b0947;return!this[_0x1f1a2e(0xf7)](_0x444db4)[0x0][_0x1f1a2e(0xe9)]?_0x50e8d0[_0x1f1a2e(0x146)][_0x1f1a2e(0x138)][_0x1f1a2e(0x11b)](_0x1f1a2e(0x154),()=>{const _0xecaa6c=_0x1f1a2e;if(_0x28dd84[_0xecaa6c(0xd7)](_0x444db4))return;const _0x3239c8=_0x50e8d0[_0xecaa6c(0x162)][_0xecaa6c(0x172)](_0x21c57c);_0x3b0947=_0x28dd84[_0xecaa6c(0x161)]({'channelId':_0x395721,'threadId':_0x444db4,'target':()=>this[_0xecaa6c(0xf3)](_0x444db4),'context':{'type':_0xecaa6c(0x106),'value':this[_0xecaa6c(0x11c)](_0x444db4)}});const _0x41745a=_0x28dd84[_0xecaa6c(0x130)][_0xecaa6c(0x172)](_0x3b0947)[_0xecaa6c(0x138)],_0x534f97=_0x3239c8[_0xecaa6c(0x147)](_0x41745a);_0x534f97&&_0x37ba83[_0xecaa6c(0x133)](_0x534f97);},{'priority':_0x1f1a2e(0xd6)}):_0x28dd84[_0x1f1a2e(0x128)]({'channelId':_0x395721,'threadId':_0x444db4})[_0x1f1a2e(0x13d)](_0x364d2c=>{const _0xb595ee=_0x1f1a2e;if(_0xb595ee(0xda)!==_0x50e8d0[_0xb595ee(0x13a)]){if(_0x3b0947=_0x364d2c,_0x3b0947&&!_0x3b0947[_0xb595ee(0x107)]){const _0x1ef1a0=_0x3b0947[_0xb595ee(0x156)](()=>this[_0xb595ee(0xf3)](_0x444db4));_0x37ba83[_0xb595ee(0x133)](_0x1ef1a0),_0x3b0947[_0xb595ee(0xfc)]&&this[_0xb595ee(0x132)](_0x444db4);}else{if(!_0x3b0947){const _0x8011e9=this[_0xb595ee(0xf7)](_0x444db4);_0x50e8d0[_0xb595ee(0x104)][_0xb595ee(0x129)](_0x141628=>{const _0x2e31aa=_0xb595ee;for(const _0x273663 of _0x8011e9)_0x141628[_0x2e31aa(0xf5)](_0x273663);});}}}}),_0x3b0947;}[_0x5cd110(0x136)](_0x555867,_0x4da2f6){const _0x42eeac=_0x5cd110,_0x599ca9=this[_0x42eeac(0xd5)](_0x555867,_0x4da2f6);_0x599ca9&&!_0x599ca9[_0x42eeac(0xf1)]&&_0x599ca9[_0x42eeac(0x165)]({'type':_0x42eeac(0x106),'value':this[_0x42eeac(0x11c)](_0x4da2f6)});}[_0x5cd110(0x139)](){const _0x3a9924=_0x5cd110,_0x5d0ba0=this[_0x3a9924(0x114)];_0x2ecf29(_0x5d0ba0[_0x3a9924(0x104)],({left:_0x2cc264,entered:_0x562caf})=>{const _0x53cf42=_0x3a9924;for(const _0x18b83c of _0x2cc264)if(mt(_0x18b83c)){_0x5d0ba0['ui'][_0x53cf42(0xf2)][_0x53cf42(0x142)](_0x327209(_0x5d0ba0[_0x53cf42(0x12b)],_0x53cf42(0x15b)));break;}for(const _0x51afe9 of _0x562caf)if(mt(_0x51afe9)){_0x5d0ba0['ui'][_0x53cf42(0xf2)][_0x53cf42(0x142)](_0x327209(_0x5d0ba0[_0x53cf42(0x12b)],_0x53cf42(0x15e),_0x32aa3a(_0x21ee67)));break;}});}}function _0x1369(_0x419aeb,_0x5c61bc){const _0x2afa05=_0x2afa();return _0x1369=function(_0x13691e,_0xe2031c){_0x13691e=_0x13691e-0xd1;let _0x32d89c=_0x2afa05[_0x13691e];return _0x32d89c;},_0x1369(_0x419aeb,_0x5c61bc);}function dt(_0x39b30c,_0x1c171e){return _0x1c171e?_0x39b30c+':'+_0x1c171e:_0x39b30c;}function ht(_0x45125e,_0x36d125){const _0x5871ab=_0x5cd110,_0x26e48d=_0x36d125[_0x5871ab(0x11f)],_0x56de31=_0x36d125[_0x5871ab(0x160)](_0x45125e[_0x5871ab(0xd2)]);for(const _0x5daa46 of _0x45125e[_0x5871ab(0x12f)]()){const {type:_0x2c81be,item:_0x139d70,nextPosition:_0xeaebe2}=_0x5daa46;if(_0x5871ab(0x106)===_0x2c81be||_0x26e48d[_0x5871ab(0x149)](_0x139d70)){const _0x19a99d=_0x36d125[_0x5871ab(0x10c)](_0x139d70);_0x56de31[_0x5871ab(0x16e)]&&(_0x56de31[_0x5871ab(0xd2)]=_0x19a99d),_0x56de31[_0x5871ab(0x14e)]=_0xeaebe2;}}return _0x56de31;}function _0x2afa(){const _0x591aeb=['_detachCommentThread','elementToElement','ck-comment-marker','substring','ready','context','ariaLiveAnnouncer','_getTargetForId','activeMarker','removeMarker','consume','getAllMarkersForId','10VvNhya','commands','_threads','markerToData','isResolved','afterInit','rootName','push','length','newRange','change:activeMarker','_attachArchivedThread','model','$textProxy','text','isAttached','8IaJfBm','isPremiumPlugin','isOfficialPlugin','hasContent','createPositionBefore','isEqual','startsWith','data','conversion','_handleMarkerAddAndRemove','author','removeMarker:','editor','getChangedMarkers','addCommentThread','unlinkedAt','ck-comment-marker--active','join','CommentsEditing','once','_getTextContext','isSubmitted','change:isReadOnly','schema','getCommentThreads','remove','addComment','config','set','size','isThreadsLoadingPaused','collaboration.channelId','fetchCommentThread','change','document','locale','comment','createElement','2125046eSlmfr','getWalker','_threadToController','hasMarkerForId','_reconvertMarkers','registerAnnotation','$marker','comment:','_handleThreadMarker','href','view','_initAriaMarkerChangeAnnouncements','state','pluginName','scrollToThreadMarker','then','affectsData','refreshVisibility','_handleInitialThreads','for','announce','map','markerToHighlight','channelId','editing','getByInnerView','root','isObject','$graveyard','addMarker:','registerPostFixer','focus','end','2045584uXOuhz','getRange','dataToMarker','add','destroy','render','_initializeMarkerConverters','attachTo','markers','fromCharCode','3187632yprntx','first','LEAVE_COMMENT_ANNOUNCEMENT','ignoreResolvedComments','comments','ENTER_COMMENT_ANNOUNCEMENT','removeCommentThread','createRange','openNewCommentThread','plugins','enqueueChange','hasDomSelection','setContext','dataDowncast','reopenCommentThread','3635559hyOBox','clear','consumable','getAttribute','getItems','requires','isCollapsed','from','change:isThreadsLoadingPaused','resolveCommentThread','get','filter','_hasTargetInContent','markerName','start','1YbPlkj','init','_attachMarkerToThread','low','getCommentThread','showCommentHighlights','delete','destroyed','updateMarker','setUnlinkedAt','upcast','name','group','hasCommentThread','1109770TuBaTJ','differ','item','forEach','reconvertMarker','editingDowncast','679467qAKLYe','switchReadOnly','managedUsingOperations','listenTo','1035760uPWxJj'];_0x2afa=function(){return _0x591aeb;};return _0x2afa();}function mt(_0x1a427f){const _0x5e01ed=_0x5cd110;return _0x5e01ed(0x12c)===_0x3bf64d(_0x1a427f[_0x5e01ed(0xde)])[_0x5e01ed(0xdf)];}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x388b39=_0x5244;(function(_0x4172c8,_0x5caa09){const _0x4bf0c1=_0x5244,_0x500b65=_0x4172c8();while(!![]){try{const _0x429703=parseInt(_0x4bf0c1(0x101))/0x1*(-parseInt(_0x4bf0c1(0x161))/0x2)+-parseInt(_0x4bf0c1(0xea))/0x3*(parseInt(_0x4bf0c1(0x14f))/0x4)+parseInt(_0x4bf0c1(0xdb))/0x5+parseInt(_0x4bf0c1(0x1ae))/0x6*(parseInt(_0x4bf0c1(0x1b3))/0x7)+-parseInt(_0x4bf0c1(0x1bb))/0x8+-parseInt(_0x4bf0c1(0x175))/0x9*(parseInt(_0x4bf0c1(0x12a))/0xa)+parseInt(_0x4bf0c1(0x128))/0xb;if(_0x429703===_0x5caa09)break;else _0x500b65['push'](_0x500b65['shift']());}catch(_0x152e59){_0x500b65['push'](_0x500b65['shift']());}}}(_0x18ef,0x4d351));import{PendingActions as _0x18138e,ContextPlugin as _0x802d5b,Editor as _0x1a24a2}from'ckeditor5/src/core.js';import{Collection as _0x18a57b,uid as _0x10ba03,CKEditorError as _0x51d5a2,ObservableMixin as _0x55decc}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x32979c,hashObject as _0x56c57b,Users as _0x519920}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x5ac2bf,isEqual as _0x7f09a3,set as _0x4d4a7f,unset as _0x55c186}from'es-toolkit/compat';import{CommentThreadController as _0x5e4f98}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x22ec04}from'./ui/view/commentthreadview.js';import{CommentView as _0x1e57ad}from'./ui/view/commentview.js';import{getTranslation as _0xa55fa5}from'../utils/common-translations.js';function _0x18ef(){const _0x144fcb=['commentsrepository-reopen-comment-thread-internal-error','locale','threadId','update','warn','255336vroyQr','plugins','type','commentsListView','_repository','commentsrepository-duplicated-comment-thread-id','_update','@external','refreshVisibility','3073080mQOkTo','comments.maxCommentsWhenCollapsed','deactivateAll','isActive','_addCommentThread','activate','commentsrepository-remove-comment-internal-error','editorReady','createElement','change:authoredAt','isVisible','comments.editorConfig','createCommentThreadController','commentsrepository-add-comment-thread-internal-error','delete','3RtdlPs','attributes','commentsrepository-invalid-comment-thread-id','resolveCommentThread','_hasTargetInContent','authorName','submit','_updateComment','set','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','_threadToController','hasCommentThread','editorDestroyed','commentsrepository-add-comment-to-missing-comment-thread','filter','addUser','context','creator','commentsrepository-missing-target','model','bodyCollectionContainer','resolve','comment','1bVrFfB','_resolveCommentThread','PendingActions','isResolved','find','resolvedAt','commentsrepository-remove-missing-comment','isResolvable','removeAttribute','catch','commentsrepository-active-missing-comment-thread','removeCommentThread','activeCommentThread','isEditable','setUnlinkedAt','licenseKey','length','isSubmitted','function','_viewToController','_isSubmitted','_createNewComment','CommentsRepository','values','comments.maxThreadTotalWeight','commentsrepository-add-comment-internal-error','weight','CommentThreadView','commentsrepository-remove-missing-comment-thread','commentsrepository-add-comment-user-not-exists','_readOnlyChannels','setActiveCommentThread','isReadOnly','error','getAnnotationForCommentThread','getUser','requires','_bindAnnotationToEditors','_add','1967504tlQsDJ','getByInnerView','10xdmIur','noChannel','reopenCommentThread','getPermissions','commentsrepository-attach-missing-comment-thread','fire','config','commentsrepository-update-missing-comment','commentUpdated','commentsrepository-update-comment-internal-error','getTime','change:isDirty','div','_removeActiveAnnotation','_isAttached','_reopenCommentThread','has','isExternal','textContent','CommentView','createdAt','assign','canComment','getComment','getCommentThreads','switchReadOnly','commentsrepository-invalid-commentid','pluginName','content','focusableElements','change:_permissions','commentsrepository-adapter-already-set','attachTo','_updateCommentThread','isOfficialPlugin','commentsrepository-update-comment-thread-internal-error','_findOptimalIndex','112948sUTovZ','commentsrepository-update-comment-missing-comment-thread','max','_removeCommentThread','innerView','fetchCommentThread','comments.CommentView','change:_readOnlyChannels','getCommentThread','commentsrepository-remove-comment-missing-comment-thread','highest','_submitCommentThread','_addComment','authoredAt','channelId','commentsrepository-reopen-comment-thread','author','adapter','217912IDgJMV','commentId','define','write','push','commentsrepository-remove-comment-thread-internal-error','_updateActiveAnnotation','commentsrepository-missing-thread-and-adapter-method','view','getIndex','commentInputView','getCommentThreadForAnnotation','updateCommentThread','innerHTML','isDirty','setContext','commentsrepository-resolve-comment-thread-internal-error','reduce','admin','resolvedBy','4150413PBdYok','external:','isPremiumPlugin','commentThreadInputView','from','modifyAll','_unbindEditors','change:activeAnnotations','commentsrepository-active-not-attached','commentsrepository-invalid-comment-content','addComment','submitCommentThread','setAttribute','focusTracker','escape','commentsrepository-resolved-comment-thread','commentsrepository-invalid-comment-authorid','init','map','_removeComment','listenTo','string','body','commentsrepository-get-comment-invalid-id','comments.maxCommentCharsWhenCollapsed','reopen','commentsrepository-update-comment-invalid-content','openNewCommentThread','updateComment','add','_getExternalAuthor','comments','_attachCommentThread','_createCommentThreadView','commentsrepository-fetch-comment-thread','addCommentThread','unlinkedAt','commentsrepository-missing-comment-thread','_permissions','comments.CommentThreadView','PENDING_ACTION_COMMENT_THREAD','get','trim','isFromAdapter','once','bind','toJSON','destroy','focus','_threads','setPermissions','_adapter','remove','removeComment','lowest','_remove','archivedAt','6852uPSCHP','isRemovable','isAttached','comments.copyMarkers','stopListening','938JBCkms','_detachCommentThread','then'];_0x18ef=function(){return _0x144fcb;};return _0x18ef();}import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x355953}from'../annotations/view/annotationview.js';import{Annotation as _0x3ad884}from'../annotations/annotation.js';import{Annotations as _0x25b891}from'../annotations/annotations.js';const _t=Symbol(_0x388b39(0x12b)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};function _0x5244(_0x2970d7,_0x132eea){const _0x18efbd=_0x18ef();return _0x5244=function(_0x524494,_0x1552c4){_0x524494=_0x524494-0xd8;let _0x352c2a=_0x18efbd[_0x524494];return _0x352c2a;},_0x5244(_0x2970d7,_0x132eea);}export class CommentsRepository extends _0x802d5b{[_0x388b39(0x1a6)];[_0x388b39(0xf4)];[_0x388b39(0x114)];static get[_0x388b39(0x125)](){return[_0x25b891,_0x18138e,_0x519920];}static get[_0x388b39(0x145)](){const _0x4a2539=_0x388b39;return _0x4a2539(0x117);}static get[_0x388b39(0x14c)](){return!0x0;}static get[_0x388b39(0x177)](){return!0x0;}constructor(_0x5217ca){const _0x2cb363=_0x388b39;super(_0x5217ca),this[_0x2cb363(0x1a6)]=new Map(),this[_0x2cb363(0xf4)]=new Map(),this[_0x2cb363(0x114)]=new Map(),this[_0x2cb363(0xf2)](_0x2cb363(0x11f),new Set()),this[_0x2cb363(0xf2)](_0x2cb363(0x19b),new Map());const _0x41fd11=this[_0x2cb363(0xfa)][_0x2cb363(0x130)];_0x41fd11[_0x2cb363(0x163)](_0x2cb363(0xdc),0x2),_0x41fd11[_0x2cb363(0x163)](_0x2cb363(0x119),0x1f4),_0x41fd11[_0x2cb363(0x163)](_0x2cb363(0x18d),0x8c),_0x41fd11[_0x2cb363(0x163)](_0x2cb363(0x19c),_0x22ec04),_0x41fd11[_0x2cb363(0x163)](_0x2cb363(0x155),_0x1e57ad),_0x41fd11[_0x2cb363(0x19e)](_0x2cb363(0xe6))||console[_0x2cb363(0x1ba)](_0x2cb363(0xf3));}[_0x388b39(0x186)](){const _0x5c3c14=_0x388b39,_0x518a72=this[_0x5c3c14(0xfa)][_0x5c3c14(0x1bc)][_0x5c3c14(0x19e)](_0x25b891);this[_0x5c3c14(0xf2)](_0x5c3c14(0x10d),null),this['on'](_0x5c3c14(0x198),(_0x33bf81,_0x4516d5)=>this[_0x5c3c14(0xdf)](_0x4516d5)),this['on'](_0x5c3c14(0x180),(_0x2a9e9c,_0x1e306b)=>this[_0x5c3c14(0x15a)](_0x1e306b)),this['on'](_0x5c3c14(0xed),(_0x5c3859,_0x50e43b)=>this[_0x5c3c14(0x102)](_0x50e43b)),this['on'](_0x5c3c14(0xed),(_0xc96c0b,_0x2b5d46)=>this[_0x5c3c14(0x167)](_0x2b5d46),{'priority':_0x5c3c14(0x1ab)}),this['on'](_0x5c3c14(0x12c),(_0x23ca6c,_0x3c7a66)=>this[_0x5c3c14(0x139)](_0x3c7a66)),this['on'](_0x5c3c14(0x12c),(_0x5bd026,_0x43bcaf)=>this[_0x5c3c14(0x167)](_0x43bcaf),{'priority':_0x5c3c14(0x1ab)}),this['on'](_0x5c3c14(0x10c),(_0x1db96f,_0x5a379c)=>this[_0x5c3c14(0x152)](_0x5a379c)),this['on'](_0x5c3c14(0x16d),(_0x284ff8,_0x20641d)=>this[_0x5c3c14(0x14b)](_0x20641d)),this['on'](_0x5c3c14(0x16d),(_0x625fee,_0x1de782)=>this[_0x5c3c14(0x167)](_0x1de782),{'priority':_0x5c3c14(0x1ab)}),this['on'](_0x5c3c14(0x17f),(_0x53495c,_0x4ffb92)=>this[_0x5c3c14(0x15b)](_0x4ffb92)),this['on'](_0x5c3c14(0x191),(_0x295916,_0x55ed33)=>this[_0x5c3c14(0xf1)](_0x55ed33)),this['on'](_0x5c3c14(0x1aa),(_0x13b062,_0x1e2a45)=>this[_0x5c3c14(0x188)](_0x1e2a45)),this['on'](_0x5c3c14(0x17f),(_0x57a9e0,{threadId:_0x43f3d2,isFromAdapter:_0x24f71a})=>{const _0x70e874=_0x5c3c14;if(_0x24f71a)return;const _0x18a31d=this[_0x70e874(0x157)](_0x43f3d2),_0x548c26=_0x18a31d&&this[_0x70e874(0xf4)][_0x70e874(0x19e)](_0x18a31d);_0x548c26&&_0x548c26[_0x70e874(0x169)][_0x70e874(0x1be)][_0x70e874(0x1a5)](-0x1);},{'priority':_0x5c3c14(0x1ab)}),this[_0x5c3c14(0x189)](_0x518a72,_0x5c3c14(0x17c),(_0x278aa7,_0x5bddfc,_0x51d6bc)=>{const _0x25fb6e=_0x5c3c14,_0xa26a2=Array[_0x25fb6e(0x179)](_0x51d6bc)[_0x25fb6e(0x187)](_0x87d058=>this[_0x25fb6e(0x114)][_0x25fb6e(0x19e)](_0x87d058[_0x25fb6e(0x153)]))[_0x25fb6e(0xf8)](Boolean)[0x0];this[_0x25fb6e(0x10d)]=_0xa26a2?_0xa26a2[_0x25fb6e(0xfd)]:null;});}set[_0x388b39(0x160)](_0x4e85c4){const _0x2c1cec=_0x388b39;if(this[_0x2c1cec(0x1a8)])throw new _0x51d5a2(_0x2c1cec(0x149));this[_0x2c1cec(0x1a8)]=_0x4e85c4;}get[_0x388b39(0x160)](){const _0x3df026=_0x388b39;return this[_0x3df026(0x1a8)];}[_0x388b39(0x198)]({channelId:_0x8c1007=_t,threadId:_0x345aee=_0x10ba03(),comments:_0x2e8aca=[],unlinkedAt:_0x54bcb6=null,resolvedAt:_0x533012=null,resolvedBy:_0x34c764=null,target:_0x1469c1=null,context:_0x31352a=null,attributes:_0x43c264={},isResolvable:_0x1e4672=!0x0,isSubmitted:_0x2021e4=!0x1,isFromAdapter:_0x385a13=!0x1}={}){const _0xcdf3a0=_0x388b39;return this[_0xcdf3a0(0x12f)](Nt(_0xcdf3a0(0x198),_0x8c1007),{'channelId':_0x8c1007,'threadId':_0x345aee,'comments':_0x2e8aca,'unlinkedAt':_0x54bcb6,'resolvedAt':_0x533012,'resolvedBy':_0x34c764,'target':_0x1469c1,'context':_0x31352a,'attributes':_0x43c264,'isFromAdapter':_0x385a13,'isResolvable':_0x1e4672,'isSubmitted':_0x2021e4}),this[_0xcdf3a0(0x157)](_0x345aee);}[_0x388b39(0x190)]({channelId:_0x5b13aa=_t,threadId:_0x4af55d=_0x10ba03(),target:_0x20ee3b,context:_0x3786d7=null,isResolvable:_0x19df7c=!0x0}){const _0x2d1e9e=_0x388b39;if(this[_0x2d1e9e(0x11f)][_0x2d1e9e(0x13a)](_0x5b13aa)||this[_0x2d1e9e(0x11f)][_0x2d1e9e(0x13a)](void 0x0))return null;if(!_0x20ee3b)throw new _0x51d5a2(_0x2d1e9e(0xfc));const _0x49fb87=this[_0x2d1e9e(0x198)]({'channelId':_0x5b13aa,'threadId':_0x4af55d,'target':_0x20ee3b,'context':_0x3786d7,'isResolvable':_0x19df7c});if(!_0x49fb87)return null;const _0x451dc=this[_0x2d1e9e(0xf4)][_0x2d1e9e(0x19e)](_0x49fb87),_0x528120=_0x451dc[_0x2d1e9e(0x169)][_0x2d1e9e(0x178)][_0x2d1e9e(0x16b)],_0x39d0d7=this[_0x2d1e9e(0xfa)][_0x2d1e9e(0x1bc)][_0x2d1e9e(0x19e)](_0x25b891),_0x30b7d9=_0x39d0d7[_0x2d1e9e(0x129)](_0x451dc[_0x2d1e9e(0x169)]);return _0x39d0d7[_0x2d1e9e(0xe0)](_0x30b7d9),_0x528120[_0x2d1e9e(0x1a1)](_0x2d1e9e(0xe2),()=>_0x528120[_0x2d1e9e(0x1a5)]()),_0x49fb87;}[_0x388b39(0xf5)](_0x5df393){const _0x4935ab=_0x388b39;if(_0x4935ab(0x18a)!=typeof _0x5df393)throw new _0x51d5a2(_0x4935ab(0xec));return this[_0x4935ab(0x1a6)][_0x4935ab(0x13a)](_0x5df393);}[_0x388b39(0x16d)]({channelId:_0x6890cd=_t,threadId:_0xfcd08f,context:_0x87b8f4,unlinkedAt:_0x5e1395,attributes:_0x13244f,isFromAdapter:_0x1ffe08=!0x1}){const _0xc7699f=_0x388b39;return this[_0xc7699f(0x12f)](Nt(_0xc7699f(0x16d),_0x6890cd),{'channelId':_0x6890cd,'threadId':_0xfcd08f,'context':_0x87b8f4,'unlinkedAt':_0x5e1395,'attributes':_0x13244f,'isFromAdapter':_0x1ffe08}),this[_0xc7699f(0x157)](_0xfcd08f);}[_0x388b39(0x157)](_0x3dae63){const _0x4b52c5=_0x388b39;if(_0x4b52c5(0x18a)!=typeof _0x3dae63)throw new _0x51d5a2(_0x4b52c5(0xec));return this[_0x4b52c5(0x1a6)][_0x4b52c5(0x19e)](_0x3dae63);}[_0x388b39(0x154)]({channelId:_0x5e3613,threadId:_0x52af0d}={}){const _0x1c161e=_0x388b39,_0x4c93e7=this[_0x1c161e(0x157)](_0x52af0d);if(_0x4c93e7)return Promise[_0x1c161e(0xff)](_0x4c93e7);if(!this[_0x1c161e(0x160)])return Promise[_0x1c161e(0xff)](void 0x0);if(_0x1c161e(0x113)!=typeof this[_0x1c161e(0x160)][_0x1c161e(0x157)])throw new _0x51d5a2(_0x1c161e(0x168),this[_0x1c161e(0xfa)]);return this[_0x1c161e(0x160)][_0x1c161e(0x157)]({'channelId':_0x5e3613,'threadId':_0x52af0d})[_0x1c161e(0x1b5)](_0x3a6f7d=>this[_0x1c161e(0xf5)](_0x52af0d)?this[_0x1c161e(0x157)](_0x52af0d):_0x3a6f7d?this[_0x1c161e(0x198)](Object[_0x1c161e(0x13f)]({'isFromAdapter':!0x0,'channelId':_0x5e3613},_0x3a6f7d)):void 0x0)[_0x1c161e(0x10a)](_0x53dabd=>{const _0x5a2bf2=_0x1c161e;throw console[_0x5a2bf2(0x122)](_0x53dabd),new _0x51d5a2(_0x5a2bf2(0x197),this[_0x5a2bf2(0xfa)]);});}[_0x388b39(0x142)]({channelId:_0x42c9bc,skipNotAttached:_0x563e93=!0x1,skipEmpty:_0x2b9ccd=!0x1,toJSON:_0x2c8314=!0x1}={}){const _0x167f2f=_0x388b39,_0x1c5e7c=[];for(const _0x4f269b of this[_0x167f2f(0x1a6)][_0x167f2f(0x118)]())_0x42c9bc&&_0x4f269b[_0x167f2f(0x15d)]!==_0x42c9bc||_0x563e93&&!_0x4f269b[_0x167f2f(0x1b0)]||_0x2b9ccd&&0x0===_0x4f269b[_0x167f2f(0x111)]||_0x1c5e7c[_0x167f2f(0x165)](_0x4f269b);return _0x2c8314?_0x1c5e7c[_0x167f2f(0x187)](_0x257c3a=>_0x257c3a[_0x167f2f(0x1a3)]()):_0x1c5e7c;}[_0x388b39(0x123)](_0x4df066){const _0x2b4bd6=_0x388b39,_0x445a5f=this[_0x2b4bd6(0xf4)][_0x2b4bd6(0x19e)](_0x4df066);if(!_0x445a5f)return null;return this[_0x2b4bd6(0xfa)][_0x2b4bd6(0x1bc)][_0x2b4bd6(0x19e)](_0x25b891)[_0x2b4bd6(0x129)](_0x445a5f[_0x2b4bd6(0x169)])||null;}[_0x388b39(0x16c)](_0x1d8932){const _0x55a393=_0x388b39,_0x2d44ca=this[_0x55a393(0x114)][_0x55a393(0x19e)](_0x1d8932[_0x55a393(0x153)]);return _0x2d44ca?_0x2d44ca[_0x55a393(0xfd)]:null;}[_0x388b39(0x120)](_0x675343){const _0xa02bad=_0x388b39,_0xa7ed6=this[_0xa02bad(0xfa)][_0xa02bad(0x1bc)][_0xa02bad(0x19e)](_0x25b891);if(!_0x675343)return void(this[_0xa02bad(0x10d)]&&_0xa7ed6[_0xa02bad(0xdd)]());const _0x2e9947=this[_0xa02bad(0x157)](_0x675343);if(!_0x2e9947)throw new _0x51d5a2(_0xa02bad(0x10b),null,{'threadId':_0x675343});if(!this[_0xa02bad(0xf4)][_0xa02bad(0x13a)](_0x2e9947))throw new _0x51d5a2(_0xa02bad(0x17d),null,{'threadId':_0x675343});const _0x3b040d=_0xa7ed6[_0xa02bad(0x129)](this[_0xa02bad(0xf4)][_0xa02bad(0x19e)](_0x2e9947)[_0xa02bad(0x169)]);_0xa7ed6[_0xa02bad(0xe0)](_0x3b040d);}[_0x388b39(0x143)](_0x5ee43a,_0x5d1d10){const _0x26aede=_0x388b39;_0x5ee43a?this[_0x26aede(0x11f)][_0x26aede(0x192)](_0x5d1d10):this[_0x26aede(0x11f)][_0x26aede(0xe9)](_0x5d1d10),this[_0x26aede(0x12f)](_0x26aede(0x156),_0x26aede(0x11f),this[_0x26aede(0x11f)],this[_0x26aede(0x11f)]);}[_0x388b39(0x121)](_0x4a781e){const _0x5371cd=_0x388b39;return this[_0x5371cd(0x11f)][_0x5371cd(0x13a)](_0x4a781e)||this[_0x5371cd(0x11f)][_0x5371cd(0x13a)](void 0x0);}[_0x388b39(0xe7)](_0x295159,_0x35e144){return new _0x5e4f98(_0x295159,_0x35e144);}[_0x388b39(0x1a7)](_0x38e987,_0x5b34a9=_t){const _0x40cfb0=_0x388b39;this[_0x40cfb0(0x19b)][_0x40cfb0(0xf2)](_0x5b34a9,_0x38e987),this[_0x40cfb0(0x12f)](_0x40cfb0(0x148),_0x40cfb0(0x19b),this[_0x40cfb0(0x19b)],this[_0x40cfb0(0x19b)]);}[_0x388b39(0x12d)](_0x4c1155=_t){const _0x2bc810=_0x388b39;return this[_0x2bc810(0x19b)][_0x2bc810(0x13a)](_0x4c1155)?this[_0x2bc810(0x19b)][_0x2bc810(0x19e)](_0x4c1155):bt;}[_0x388b39(0xdf)]({channelId:_0x219011,threadId:_0x3a4368,comments:_0x1f52ff,unlinkedAt:_0x343d4f,resolvedAt:_0x7cfa84,resolvedBy:_0x2e5870,target:_0x3fafdd,context:_0x5d0720,attributes:_0xfa69ec,isFromAdapter:_0x2d69e6,isResolvable:_0x49614d,isSubmitted:_0xf1888a}){const _0x2290b0=_0x388b39;if(_0x2290b0(0x18a)!=typeof _0x3a4368)throw new _0x51d5a2(_0x2290b0(0xec),null,{'threadId':_0x3a4368});if(this[_0x2290b0(0xf5)](_0x3a4368))throw new _0x51d5a2(_0x2290b0(0x1c0),null,{'threadId':_0x3a4368});const _0x202c76=new CommentThread(this,{'channelId':_0x219011,'id':_0x3a4368,'context':_0x5d0720,'attributes':_0xfa69ec,'unlinkedAt':_0x343d4f,'resolvedAt':_0x7cfa84,'resolvedBy':_0x2e5870?this[_0x2290b0(0xfa)][_0x2290b0(0x1bc)][_0x2290b0(0x19e)](_0x519920)[_0x2290b0(0x124)](_0x2e5870):null,'isResolvable':_0x49614d,'isSubmitted':_0xf1888a||_0x2d69e6});this[_0x2290b0(0x1a6)][_0x2290b0(0xf2)](_0x3a4368,_0x202c76);for(const _0x4e8d01 of _0x1f52ff)_0x202c76[_0x2290b0(0x127)](this[_0x2290b0(0x116)]({'threadId':_0x3a4368,..._0x4e8d01}));return _0x3fafdd&&_0x202c76[_0x2290b0(0x14a)](_0x3fafdd),_0x2d69e6||!_0x202c76[_0x2290b0(0x111)]?Promise[_0x2290b0(0xff)]():this[_0x2290b0(0x15a)]({'channelId':_0x219011,'threadId':_0x3a4368});}[_0x388b39(0x15a)]({channelId:_0x40fdcc,threadId:_0x24ba36}){const _0x3cd2be=_0x388b39;if(!this[_0x3cd2be(0xf5)](_0x24ba36))throw new _0x51d5a2(_0x3cd2be(0x19a),this);const _0xc4a8f8=this[_0x3cd2be(0x157)](_0x24ba36);if(_0xc4a8f8[_0x3cd2be(0x115)]=!0x0,!this[_0x3cd2be(0x160)]||_0x3cd2be(0x113)!=typeof this[_0x3cd2be(0x160)][_0x3cd2be(0x198)])return Promise[_0x3cd2be(0xff)]();const {id:_0x40563c,comments:_0x2c49ac,resolvedAt:_0x3941b2,resolvedBy:_0x579eb9,context:_0x10931e,attributes:_0x2eb213}=_0xc4a8f8,_0xb4c268=this[_0x3cd2be(0xfa)][_0x3cd2be(0x1bc)][_0x3cd2be(0x19e)](_0x3cd2be(0x103)),_0x8ec017=_0xb4c268[_0x3cd2be(0x192)](_0xa55fa5(this[_0x3cd2be(0xfa)][_0x3cd2be(0x1b7)],_0x3cd2be(0x19d)));return this[_0x3cd2be(0x160)][_0x3cd2be(0x198)]({'channelId':_0x40fdcc,'threadId':_0x40563c,'comments':_0x2c49ac[_0x3cd2be(0x187)](_0xa5e7d1=>_0xa5e7d1[_0x3cd2be(0x1a3)]()),'resolvedAt':_0x3941b2,'resolvedBy':_0x579eb9?_0x579eb9['id']:_0x579eb9,'context':_0x10931e,'attributes':_0x2eb213})[_0x3cd2be(0x1b5)](({comments:_0x25f037})=>{const _0x7c5a47=_0x3cd2be;_0xb4c268[_0x7c5a47(0x1a9)](_0x8ec017);for(const _0x538a79 of _0x25f037)this[_0x7c5a47(0xf1)]({'channelId':_0x40fdcc,'threadId':_0x24ba36,'commentId':_0x538a79[_0x7c5a47(0x162)],'createdAt':_0x538a79[_0x7c5a47(0x13e)],'isFromAdapter':!0x0});})[_0x3cd2be(0x10a)](_0x50ef81=>{const _0x2e35f9=_0x3cd2be;throw console[_0x2e35f9(0x122)](_0x50ef81),new _0x51d5a2(_0x2e35f9(0xe8),this);});}[_0x388b39(0x195)]({threadId:_0x16e0cd,target:_0xbfdc3}){const _0x3d300a=_0x388b39,_0x3f8def=this[_0x3d300a(0x157)](_0x16e0cd);if(!_0x3f8def)throw new _0x51d5a2(_0x3d300a(0x12e),this);const _0x2893ba=this[_0x3d300a(0xfa)][_0x3d300a(0x1bc)][_0x3d300a(0x19e)](_0x3d300a(0x103)),_0x3aa785=this[_0x3d300a(0xfa)][_0x3d300a(0x1bc)][_0x3d300a(0x19e)](_0x25b891),_0x591b85=this[_0x3d300a(0x196)](_0x3f8def),_0x2cbe6f=new _0x5e4f98(_0x3f8def,_0x591b85);let _0x2c64b0=null;_0x591b85['on'](_0x3d300a(0x135),(_0x1c49b2,_0x354182,_0x2658fa)=>{const _0x3042a6=_0x3d300a;_0x2658fa?_0x2c64b0=_0x2893ba[_0x3042a6(0x192)](_0xa55fa5(this[_0x3042a6(0xfa)][_0x3042a6(0x1b7)],_0x3042a6(0x19d))):_0x2c64b0&&(_0x2893ba[_0x3042a6(0x1a9)](_0x2c64b0),_0x2c64b0=null);}),this[_0x3d300a(0xf4)][_0x3d300a(0xf2)](_0x3f8def,_0x2cbe6f),this[_0x3d300a(0x114)][_0x3d300a(0xf2)](_0x591b85,_0x2cbe6f);const _0x3d21b4=new _0x355953(this[_0x3d300a(0xfa)][_0x3d300a(0x1b7)],_0x591b85);_0x3d21b4[_0x3d300a(0x1a2)](_0x3d300a(0x111))['to'](_0x591b85),_0x3d21b4[_0x3d300a(0x1a2)](_0x3d300a(0x16f))['to'](_0x591b85,_0x3d300a(0x16f),_0x591b85,_0x3d300a(0x111),(_0x511b51,_0x1b9858)=>_0x511b51||!_0x1b9858),_0x3d21b4[_0x3d300a(0x1a2)](_0x3d300a(0xde))['to'](_0x591b85),_0x3d21b4[_0x3d300a(0x1bd)]=_0x3d300a(0x100);const _0x31aa7a=new _0x3ad884({'view':_0x3d21b4,'target':_0xbfdc3,'type':_0x3d300a(0x100),'isVisible':!_0x3f8def[_0x3d300a(0x1ad)]&&!!(_0x3d300a(0x113)==typeof _0xbfdc3?_0xbfdc3():_0xbfdc3)});return _0x591b85['on'](_0x3d300a(0x183),()=>{const _0x25171=_0x3d300a;_0x31aa7a[_0x25171(0x12f)](_0x25171(0x183));}),this[_0x3d300a(0x126)](_0x591b85,_0x31aa7a),_0x3aa785[_0x3d300a(0x192)](_0x31aa7a),_0x31aa7a;}[_0x388b39(0x126)](_0x1393c4,_0x4dd98f){const _0x4d6830=_0x388b39;this[_0x4d6830(0x189)](_0x1393c4,_0x4d6830(0xe2),(_0x590229,_0x538693)=>{const _0x2a8164=_0x4d6830,_0x15e034=_0x538693['ui'][_0x2a8164(0x169)][_0x2a8164(0x18b)][_0x2a8164(0xfe)];_0x4dd98f[_0x2a8164(0x147)][_0x2a8164(0x192)](_0x15e034),this[_0x2a8164(0xfa)]instanceof _0x1a24a2&&this[_0x2a8164(0xfa)]['ui'][_0x2a8164(0x182)][_0x2a8164(0x192)](_0x15e034);},{'priority':_0x4d6830(0x159)}),this[_0x4d6830(0x189)](_0x1393c4,_0x4d6830(0xf6),(_0x51b005,_0x226e9f)=>{const _0x6550f3=_0x4d6830,_0x14b51e=_0x226e9f['ui'][_0x6550f3(0x169)][_0x6550f3(0x18b)][_0x6550f3(0xfe)];_0x4dd98f[_0x6550f3(0x147)][_0x6550f3(0x13a)](_0x14b51e)&&_0x4dd98f[_0x6550f3(0x147)][_0x6550f3(0x1a9)](_0x14b51e),this[_0x6550f3(0xfa)]instanceof _0x1a24a2&&this[_0x6550f3(0xfa)]['ui'][_0x6550f3(0x182)][_0x6550f3(0x1a9)](_0x14b51e);});}[_0x388b39(0x17b)](_0x14f2aa){const _0x1f6c8a=_0x388b39;this[_0x1f6c8a(0x1b2)](_0x14f2aa,_0x1f6c8a(0xe2)),this[_0x1f6c8a(0x1b2)](_0x14f2aa,_0x1f6c8a(0xf6));}[_0x388b39(0x196)](_0x57c4ed){const _0x1638ae=_0x388b39,_0x5b7786=this[_0x1638ae(0xfa)][_0x1638ae(0x1bc)][_0x1638ae(0x19e)](_0x519920),{config:_0x1b4505,locale:_0x3980cb}=this[_0x1638ae(0xfa)],_0x202688=_0x32979c(_0x1b4505[_0x1638ae(0x19e)](_0x1638ae(0x1b7)),_0x3980cb);return new(0x0,(_0x1b4505[_0x1638ae(0x19e)](_0x1638ae(0x194)))[(_0x1638ae(0x11c))])(_0x3980cb,_0x57c4ed,_0x5b7786['me'],{'editorConfig':{..._0x1b4505[_0x1638ae(0x19e)](_0x1638ae(0xe6)),'licenseKey':this[_0x1638ae(0xfa)][_0x1638ae(0x130)][_0x1638ae(0x19e)](_0x1638ae(0x110))},'copyMarkers':_0x1b4505[_0x1638ae(0x19e)](_0x1638ae(0x1b1)),'maxCommentsWhenCollapsed':_0x1b4505[_0x1638ae(0x19e)](_0x1638ae(0xdc)),'maxThreadTotalWeight':_0x1b4505[_0x1638ae(0x19e)](_0x1638ae(0x119)),'maxCommentCharsWhenCollapsed':_0x1b4505[_0x1638ae(0x19e)](_0x1638ae(0x18d)),'formatDateTime':_0x202688,'CommentView':_0x1b4505[_0x1638ae(0x19e)](_0x1638ae(0x194))[_0x1638ae(0x13d)]});}[_0x388b39(0x102)]({threadId:_0x5886a6,channelId:_0x165abd,resolvedAt:_0x30eb7d,resolvedBy:_0x16bb43,isFromAdapter:_0xe789a2}){const _0x404628=_0x388b39;if(!this[_0x404628(0xf5)](_0x5886a6))throw new _0x51d5a2(_0x404628(0x19a),null,{'threadId':_0x5886a6});const _0x551cd1=this[_0x404628(0x157)](_0x5886a6);if(_0x551cd1[_0x404628(0x104)])throw new _0x51d5a2(_0x404628(0x184),null,{'threadId':_0x5886a6});const _0x11464b=this[_0x404628(0xfa)][_0x404628(0x1bc)][_0x404628(0x19e)](_0x519920);if(_0x551cd1[_0x404628(0x174)]=_0x11464b[_0x404628(0x124)](_0x16bb43),_0x551cd1[_0x404628(0x106)]=_0x30eb7d,_0xe789a2||!this[_0x404628(0x160)]||_0x404628(0x113)!=typeof this[_0x404628(0x160)][_0x404628(0xed)])return Promise[_0x404628(0xff)]();const _0x308be8=this[_0x404628(0xfa)][_0x404628(0x1bc)][_0x404628(0x19e)](_0x404628(0x103)),_0x3ab418=_0x308be8[_0x404628(0x192)](_0xa55fa5(this[_0x404628(0xfa)][_0x404628(0x1b7)],_0x404628(0x19d)));return this[_0x404628(0x160)][_0x404628(0xed)]({'channelId':_0x165abd,'threadId':_0x5886a6})[_0x404628(0x1b5)](({resolvedAt:_0x3fc3c8,resolvedBy:_0x4f54a4})=>{const _0x16bff1=_0x404628;_0x308be8[_0x16bff1(0x1a9)](_0x3ab418),_0x551cd1[_0x16bff1(0x174)]['id']!==_0x4f54a4&&(_0x551cd1[_0x16bff1(0x174)]=_0x11464b[_0x16bff1(0x124)](_0x4f54a4)),_0x551cd1[_0x16bff1(0x106)]=_0x3fc3c8;})[_0x404628(0x10a)](_0x1290d7=>{const _0xde32bc=_0x404628;throw console[_0xde32bc(0x122)](_0x1290d7),new _0x51d5a2(_0xde32bc(0x171),this);});}[_0x388b39(0x139)]({threadId:_0x587692,channelId:_0x1ce34c,isFromAdapter:_0x2f9087}){const _0x141ae8=_0x388b39;if(!this[_0x141ae8(0xf5)](_0x587692))throw new _0x51d5a2(_0x141ae8(0x19a),null,{'threadId':_0x587692});const _0x5e7b0f=this[_0x141ae8(0x157)](_0x587692);if(!_0x5e7b0f[_0x141ae8(0x104)])throw new _0x51d5a2(_0x141ae8(0x15e),null,{'threadId':_0x587692});if(_0x5e7b0f[_0x141ae8(0x174)]=null,_0x5e7b0f[_0x141ae8(0x106)]=null,_0x2f9087||!this[_0x141ae8(0x160)]||_0x141ae8(0x113)!=typeof this[_0x141ae8(0x160)][_0x141ae8(0x12c)])return Promise[_0x141ae8(0xff)]();const _0x15e40a=this[_0x141ae8(0xfa)][_0x141ae8(0x1bc)][_0x141ae8(0x19e)](_0x141ae8(0x103)),_0x4b8860=_0x15e40a[_0x141ae8(0x192)](_0xa55fa5(this[_0x141ae8(0xfa)][_0x141ae8(0x1b7)],_0x141ae8(0x19d)));return this[_0x141ae8(0x160)][_0x141ae8(0x12c)]({'channelId':_0x1ce34c,'threadId':_0x587692})[_0x141ae8(0x1b5)](()=>_0x15e40a[_0x141ae8(0x1a9)](_0x4b8860))[_0x141ae8(0x10a)](_0x352c10=>{const _0x180a28=_0x141ae8;throw console[_0x180a28(0x122)](_0x352c10),new _0x51d5a2(_0x180a28(0x1b6),this);});}[_0x388b39(0x152)]({threadId:_0xb77dba,isFromAdapter:_0x249119}){const _0x2d482a=_0x388b39,_0x5d0e38=this[_0x2d482a(0x157)](_0xb77dba);if(!_0x5d0e38)throw new _0x51d5a2(_0x2d482a(0x11d),this);if(this[_0x2d482a(0x1b4)](_0xb77dba),this[_0x2d482a(0x1a6)][_0x2d482a(0xe9)](_0xb77dba),!_0x5d0e38[_0x2d482a(0x112)]||_0x249119||!this[_0x2d482a(0x160)]||_0x2d482a(0x113)!=typeof this[_0x2d482a(0x160)][_0x2d482a(0x10c)])return Promise[_0x2d482a(0xff)]();const _0x25f596=this[_0x2d482a(0xfa)][_0x2d482a(0x1bc)][_0x2d482a(0x19e)](_0x2d482a(0x103)),{channelId:_0x2db62d}=_0x5d0e38,_0x497ab1=_0x25f596[_0x2d482a(0x192)](_0xa55fa5(this[_0x2d482a(0xfa)][_0x2d482a(0x1b7)],_0x2d482a(0x19d)));return this[_0x2d482a(0x160)][_0x2d482a(0x10c)]({'channelId':_0x2db62d,'threadId':_0xb77dba})[_0x2d482a(0x1b5)](()=>_0x25f596[_0x2d482a(0x1a9)](_0x497ab1))[_0x2d482a(0x10a)](_0x5e9240=>{const _0x37e35c=_0x2d482a;throw console[_0x37e35c(0x122)](_0x5e9240),new _0x51d5a2(_0x37e35c(0x166),this);});}[_0x388b39(0x14b)]({threadId:_0x5b5495,unlinkedAt:_0x4065f9,context:_0x4b9dae,attributes:_0x49b0f8,isFromAdapter:_0x50691d}){const _0x16af27=_0x388b39;if(_0x16af27(0x18a)!=typeof _0x5b5495)throw new _0x51d5a2(_0x16af27(0xec),null,{'threadId':_0x5b5495});if(!this[_0x16af27(0xf5)](_0x5b5495))throw new _0x51d5a2(_0x16af27(0x19a),null,{'threadId':_0x5b5495});const _0x17d278=this[_0x16af27(0x157)](_0x5b5495);let _0x392f19=!0x1;if(void 0x0!==_0x4b9dae&&_0x17d278[_0x16af27(0xfa)]!==_0x4b9dae&&(_0x17d278[_0x16af27(0xfa)]=_0x4b9dae,_0x392f19=!0x0),void 0x0!==_0x4065f9&&_0x17d278[_0x16af27(0x199)]!==_0x4065f9&&(_0x17d278[_0x16af27(0x199)]=_0x4065f9,_0x392f19=!0x0),_0x49b0f8&&!_0x7f09a3(_0x49b0f8,_0x17d278[_0x16af27(0xeb)])&&(_0x17d278[_0x16af27(0xeb)]=_0x49b0f8,_0x392f19=!0x0),!_0x392f19)return Promise[_0x16af27(0xff)]();if(!_0x17d278[_0x16af27(0x112)]||_0x50691d||!this[_0x16af27(0x160)]||_0x16af27(0x113)!=typeof this[_0x16af27(0x160)][_0x16af27(0x16d)])return Promise[_0x16af27(0xff)]();const _0x21942a=this[_0x16af27(0xfa)][_0x16af27(0x1bc)][_0x16af27(0x19e)](_0x16af27(0x103)),{channelId:_0x4dc2ee}=_0x17d278,_0x270ba0=_0x21942a[_0x16af27(0x192)](_0xa55fa5(this[_0x16af27(0xfa)][_0x16af27(0x1b7)],_0x16af27(0x19d)));return this[_0x16af27(0x160)][_0x16af27(0x16d)]({'channelId':_0x4dc2ee,'threadId':_0x5b5495,'context':_0x4b9dae,'unlinkedAt':_0x4065f9,'attributes':_0x49b0f8})[_0x16af27(0x1b5)](()=>_0x21942a[_0x16af27(0x1a9)](_0x270ba0))[_0x16af27(0x10a)](_0x30ea49=>{const _0x20f9ae=_0x16af27;throw console[_0x20f9ae(0x122)](_0x30ea49),new _0x51d5a2(_0x20f9ae(0x14d),this);});}[_0x388b39(0x1b4)](_0x29f76b){const _0x4db7a4=_0x388b39,_0x282735=this[_0x4db7a4(0xfa)][_0x4db7a4(0x1bc)][_0x4db7a4(0x19e)](_0x25b891),_0x564496=this[_0x4db7a4(0x157)](_0x29f76b);if(_0x564496[_0x4db7a4(0x138)]=!0x1,this[_0x4db7a4(0xf4)][_0x4db7a4(0x13a)](_0x564496)){const _0x4505f7=this[_0x4db7a4(0xf4)][_0x4db7a4(0x19e)](_0x564496),_0x5a834f=_0x4505f7[_0x4db7a4(0x169)],_0x137d44=_0x282735[_0x4db7a4(0x129)](_0x5a834f);this[_0x4db7a4(0xf4)][_0x4db7a4(0xe9)](_0x564496),this[_0x4db7a4(0x114)][_0x4db7a4(0xe9)](_0x5a834f),_0x137d44&&_0x282735[_0x4db7a4(0x1a9)](_0x137d44),_0x4505f7[_0x4db7a4(0x1a4)](),_0x5a834f[_0x4db7a4(0x1a4)]()[_0x4db7a4(0x1b5)](()=>{const _0x4ed3b1=_0x4db7a4;this[_0x4ed3b1(0x17b)](_0x5a834f);});}}[_0x388b39(0x167)]({threadId:_0x4ad57c,resolvedAt:_0xda218c,unlinkedAt:_0x5bed47}){const _0x2827f6=_0x388b39,_0x2efa32=!!_0xda218c,_0x8f5f9a=this[_0x2827f6(0xfa)][_0x2827f6(0x1bc)][_0x2827f6(0x19e)](_0x25b891),_0x5a6546=this[_0x2827f6(0x157)](_0x4ad57c);if(this[_0x2827f6(0xf4)][_0x2827f6(0x13a)](_0x5a6546)){const _0x3d066e=this[_0x2827f6(0xf4)][_0x2827f6(0x19e)](_0x5a6546)[_0x2827f6(0x169)],_0x7b2c6d=_0x8f5f9a[_0x2827f6(0x129)](_0x3d066e);_0x7b2c6d&&(_0x2efa32&&_0x8f5f9a[_0x2827f6(0x137)](_0x7b2c6d),_0x5bed47?_0x7b2c6d[_0x2827f6(0xe5)]=!0x1:_0x7b2c6d[_0x2827f6(0xda)]());}}[_0x388b39(0x193)](_0x527b4d){const _0x3b32ca=_0x388b39,_0x4007c3=this[_0x3b32ca(0xfa)][_0x3b32ca(0x1bc)][_0x3b32ca(0x19e)](_0x519920),_0x629d3d=_0x56c57b(_0x3b32ca(0x176)+_0x527b4d),_0x3004c5=_0x4007c3[_0x3b32ca(0x124)](_0x629d3d);return _0x3004c5||_0x4007c3[_0x3b32ca(0xf9)]({'id':_0x629d3d,'name':_0x527b4d});}[_0x388b39(0x116)]({threadId:_0x2fda22,commentId:_0x52cc71=_0x10ba03(),content:_0xab712c,authorId:_0x43b03a,createdAt:_0x5ee7a0,attributes:_0x58327f}){const _0x31821d=_0x388b39;if(_0x31821d(0x18a)!=typeof _0x52cc71)throw new _0x51d5a2(_0x31821d(0x144));if(_0x31821d(0x18a)!=typeof _0x43b03a)throw new _0x51d5a2(_0x31821d(0x185));if(_0x31821d(0x18a)!=typeof _0xab712c||!_0xab712c[_0x31821d(0x19f)]())throw new _0x51d5a2(_0x31821d(0x17e));const _0x21b662=this[_0x31821d(0xfa)][_0x31821d(0x1bc)][_0x31821d(0x19e)](_0x519920)[_0x31821d(0x124)](_0x43b03a);if(!_0x21b662)throw new _0x51d5a2(_0x31821d(0x11e),null,{'authorId':_0x43b03a});let _0x59487c=null,_0x69109d=_0x5ee7a0;return _0x58327f?.[_0x31821d(0xd9)]&&(_0x59487c=this[_0x31821d(0x193)](_0x58327f[_0x31821d(0xd9)][_0x31821d(0xef)]),_0x69109d=new Date(_0x58327f[_0x31821d(0xd9)][_0x31821d(0x13e)])),new Comment(this,{'threadId':_0x2fda22,'id':_0x52cc71,'author':_0x59487c||_0x21b662,'creator':_0x21b662,'content':_0xab712c,'createdAt':_0x5ee7a0,'authoredAt':_0x69109d,'attributes':_0x58327f});}[_0x388b39(0x15b)](_0x4bfc4a){const _0x5641a8=_0x388b39;let {threadId:_0x2d84fd,content:_0x498cb2,attributes:_0x4bcc75,isFromAdapter:_0x1d11f2}=_0x4bfc4a;const _0x14f4f3=this[_0x5641a8(0x157)](_0x4bfc4a[_0x5641a8(0x1b8)]);if(!_0x14f4f3)throw new _0x51d5a2(_0x5641a8(0xf7),this);const _0x43ab9c=this[_0x5641a8(0x116)](_0x4bfc4a),{id:_0x1cef06}=_0x43ab9c;if(_0x14f4f3[_0x5641a8(0x127)](_0x43ab9c),_0x1d11f2||!this[_0x5641a8(0x160)]||_0x5641a8(0x113)!=typeof this[_0x5641a8(0x160)][_0x5641a8(0x17f)]||!_0x14f4f3[_0x5641a8(0x112)])return Promise[_0x5641a8(0xff)]();const _0x35aeb1=this[_0x5641a8(0xfa)][_0x5641a8(0x1bc)][_0x5641a8(0x19e)](_0x5641a8(0x103)),{channelId:_0x3e4625}=_0x14f4f3,_0x614b1d=_0x35aeb1[_0x5641a8(0x192)](_0xa55fa5(this[_0x5641a8(0xfa)][_0x5641a8(0x1b7)],_0x5641a8(0x19d)));return _0x4bcc75||(_0x4bcc75={}),this[_0x5641a8(0x160)][_0x5641a8(0x17f)]({'channelId':_0x3e4625,'threadId':_0x2d84fd,'commentId':_0x1cef06,'content':_0x498cb2,'attributes':_0x4bcc75})[_0x5641a8(0x1b5)](_0x2cf17b=>{const _0x5e58de=_0x5641a8;_0x35aeb1[_0x5e58de(0x1a9)](_0x614b1d),_0x2cf17b&&this[_0x5e58de(0xf1)]({'channelId':_0x3e4625,'threadId':_0x2d84fd,'commentId':_0x1cef06,'createdAt':_0x2cf17b[_0x5e58de(0x13e)],'isFromAdapter':!0x0});})[_0x5641a8(0x10a)](_0x2ef7b9=>{const _0x29bbaa=_0x5641a8;throw console[_0x29bbaa(0x122)](_0x2ef7b9),new _0x51d5a2(_0x29bbaa(0x11a),this);});}[_0x388b39(0xf1)]({threadId:_0x54afdf,commentId:_0x33d2d9,content:_0xe8dc37,createdAt:_0x315c5d,attributes:_0x289b2f,isFromAdapter:_0x22c104}){const _0x815235=_0x388b39;if(void 0x0!==_0xe8dc37&&(_0x815235(0x18a)!=typeof _0xe8dc37||!_0xe8dc37[_0x815235(0x19f)]()[_0x815235(0x111)]))throw new _0x51d5a2(_0x815235(0x18f));const _0x5c23bc=this[_0x815235(0x157)](_0x54afdf),_0x7ec72f=_0x5c23bc[_0x815235(0x141)](_0x33d2d9);if(!_0x7ec72f)throw new _0x51d5a2(_0x815235(0x131),this);let _0xc699f2=!0x1;if(_0xe8dc37&&_0xe8dc37!==_0x7ec72f[_0x815235(0x146)]&&(_0x7ec72f[_0x815235(0x10e)]||_0x22c104)&&(_0x7ec72f[_0x815235(0x146)]=_0xe8dc37,_0xc699f2=!0x0),_0x315c5d&&_0x315c5d!==_0x7ec72f[_0x815235(0x13e)]&&(_0x7ec72f[_0x815235(0x13e)]=_0x315c5d,_0x7ec72f[_0x815235(0xeb)]&&_0x7ec72f[_0x815235(0xeb)][_0x815235(0xd9)]||(_0x7ec72f[_0x815235(0x15c)]=_0x315c5d),_0xc699f2=!0x0),_0x289b2f&&!_0x7f09a3(_0x289b2f,_0x7ec72f[_0x815235(0xeb)])&&(_0x7ec72f[_0x815235(0xeb)]=_0x289b2f,_0xc699f2=!0x0),!_0xc699f2)return Promise[_0x815235(0xff)]();if(_0x5c23bc[_0x815235(0x12f)](_0x815235(0x132)),_0x22c104||!this[_0x815235(0x160)]||_0x815235(0x113)!=typeof this[_0x815235(0x160)][_0x815235(0x191)])return Promise[_0x815235(0xff)]();const _0x15f80d=this[_0x815235(0xfa)][_0x815235(0x1bc)][_0x815235(0x19e)](_0x815235(0x103)),{channelId:_0x3c3c45}=this[_0x815235(0x157)](_0x7ec72f[_0x815235(0x1b8)]),_0x21d923=_0x15f80d[_0x815235(0x192)](_0xa55fa5(this[_0x815235(0xfa)][_0x815235(0x1b7)],_0x815235(0x19d)));return this[_0x815235(0x160)][_0x815235(0x191)]({'channelId':_0x3c3c45,'threadId':_0x54afdf,'commentId':_0x33d2d9,'content':_0xe8dc37,'attributes':_0x289b2f})[_0x815235(0x1b5)](()=>_0x15f80d[_0x815235(0x1a9)](_0x21d923))[_0x815235(0x10a)](_0x32a703=>{const _0x2e160c=_0x815235;throw console[_0x2e160c(0x122)](_0x32a703),new _0x51d5a2(_0x2e160c(0x133),this);});}[_0x388b39(0x188)]({threadId:_0x227347,commentId:_0x212734,isFromAdapter:_0x5648bd}){const _0xec0b31=_0x388b39,_0x427c6a=this[_0xec0b31(0x157)](_0x227347),_0x2228b5=_0x427c6a[_0xec0b31(0x141)](_0x212734);if(!_0x2228b5)throw new _0x51d5a2(_0xec0b31(0x107),this);if(_0x427c6a[_0xec0b31(0x1ac)](_0x2228b5),_0x5648bd||!this[_0xec0b31(0x160)]||_0xec0b31(0x113)!=typeof this[_0xec0b31(0x160)][_0xec0b31(0x1aa)])return Promise[_0xec0b31(0xff)]();const _0x5402ae=this[_0xec0b31(0xfa)][_0xec0b31(0x1bc)][_0xec0b31(0x19e)](_0xec0b31(0x103)),{channelId:_0x23d8d6}=_0x427c6a,_0x118cd6=_0x5402ae[_0xec0b31(0x192)](_0xa55fa5(this[_0xec0b31(0xfa)][_0xec0b31(0x1b7)],_0xec0b31(0x19d)));return this[_0xec0b31(0x160)][_0xec0b31(0x1aa)]({'channelId':_0x23d8d6,'threadId':_0x227347,'commentId':_0x212734})[_0xec0b31(0x1b5)](()=>_0x5402ae[_0xec0b31(0x1a9)](_0x118cd6))[_0xec0b31(0x10a)](_0x2e551b=>{const _0x2d3d10=_0xec0b31;throw console[_0x2d3d10(0x122)](_0x2e551b),new _0x51d5a2(_0x2d3d10(0xe1),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x3481a3=_0x29ee;(function(_0x49334c,_0x589a4f){const _0x4b4892=_0x29ee,_0x3c041a=_0x49334c();while(!![]){try{const _0x59971b=-parseInt(_0x4b4892(0x21f))/0x1*(parseInt(_0x4b4892(0x235))/0x2)+parseInt(_0x4b4892(0x1c8))/0x3+parseInt(_0x4b4892(0x1d8))/0x4+-parseInt(_0x4b4892(0x1df))/0x5*(-parseInt(_0x4b4892(0x231))/0x6)+-parseInt(_0x4b4892(0x224))/0x7+parseInt(_0x4b4892(0x247))/0x8*(-parseInt(_0x4b4892(0x1be))/0x9)+parseInt(_0x4b4892(0x294))/0xa;if(_0x59971b===_0x589a4f)break;else _0x3c041a['push'](_0x3c041a['shift']());}catch(_0x47db99){_0x3c041a['push'](_0x3c041a['shift']());}}}(_0x5da5,0x23153));import{PendingActions as _0x452c41,ContextPlugin as _0x1f0a07,Editor as _0x1d1930}from'ckeditor5/src/core.js';import{Collection as _0x5d93de,uid as _0xf89985,CKEditorError as _0x1d4334,ObservableMixin as _0x24bfd6}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x53d016,hashObject as _0x34b086,Users as _0x3cbcd6}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x26123e,isEqual as _0x3a4dbb,set as _0x13c94f,unset as _0x2bd33a}from'es-toolkit/compat';import{CommentThreadController as _0x148b6a}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0xaf6d4e}from'./ui/view/commentthreadview.js';function _0x5da5(){const _0x2c1320=['commentsrepository-invalid-comment-authorid','change:_readOnlyChannels','@external','map','commentsrepository-resolve-comment-thread-internal-error','model','fire','getUser','view','reopen','commentsrepository-missing-comment-thread','PendingActions','isResolvable','commentsrepository-active-not-attached','setPermissions','_update','listenTo','refreshVisibility','resolveCommentThread','resolvedAt','toJSON','creator','archivedAt','20365obAtWY','change:activeAnnotations','removeCommentThread','_resolveCommentThread','isExternal','694057GSsHsw','commentsrepository-remove-missing-comment-thread','commentsrepository-duplicated-comment-thread-id','commentsrepository-update-missing-comment','_getExternalAuthor','from','getCommentThread','highest','focus','comments.maxThreadTotalWeight','commentsrepository-update-comment-missing-comment-thread','hasCommentThread','adapter','12zknJZh','commentsrepository-active-missing-comment-thread','config','admin','22xuYAZU','commentsListView','removeComment','commentThreadInputView','submit','editorReady','updateComment','authorName','isReadOnly','content','add','isOfficialPlugin','_findOptimalIndex','_readOnlyChannels','resolvedBy','length','isDirty','isRemovable','1527688GGgwBp','_detachCommentThread','find','getByInnerView','submitCommentThread','attachTo','isAttached','unlinkedAt','innerView','updateCommentThread','comments.editorConfig','_updateActiveAnnotation','setContext','isPremiumPlugin','catch','change:isDirty','_addComment','deactivateAll','createCommentThreadController','createElement','isSubmitted','get','isEditable','update','once','_removeComment','threadId','then','lowest','commentsrepository-remove-comment-thread-internal-error','canComment','commentsrepository-invalid-commentid','_threadToController','commentsrepository-update-comment-invalid-content','channelId','commentsrepository-invalid-comment-thread-id','set','addUser','getCommentThreads','resolve','locale','values','type','_threads','commentsrepository-resolved-comment-thread','CommentThreadView','filter','has','commentUpdated','attributes','max','comments.maxCommentsWhenCollapsed','createdAt','change:authoredAt','_createNewComment','stopListening','_unbindEditors','removeAttribute','delete','getCommentThreadForAnnotation','_adapter','modifyAll','commentsrepository-reopen-comment-thread-internal-error','setAttribute','setUnlinkedAt','commentsrepository-update-comment-internal-error','author','push','_permissions','warn','weight','commentInputView','openNewCommentThread','_reopenCommentThread','activate','pluginName','isResolved','1137000aUnxvx','commentsrepository-add-comment-to-missing-comment-thread','isVisible','PENDING_ACTION_COMMENT_THREAD','context','CommentsRepository','commentsrepository-attach-missing-comment-thread','string','commentsrepository-remove-missing-comment','remove','editorDestroyed','bodyCollectionContainer','noChannel','plugins','commentsrepository-reopen-comment-thread','assign','isActive','bind','9vuyVzX','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','write','trim','_hasTargetInContent','CommentView','getPermissions','reopenCommentThread','commentsrepository-add-comment-thread-internal-error','getTime','54330nBzdsg','reduce','error','comments','commentsrepository-remove-comment-missing-comment-thread','destroy','_addCommentThread','function','commentsrepository-missing-target','comments.CommentThreadView','activeCommentThread','focusableElements','requires','define','getAnnotationForCommentThread','textContent','1040280uHauNO','commentsrepository-update-comment-thread-internal-error','getIndex','commentsrepository-add-comment-user-not-exists','_repository','authoredAt','commentsrepository-add-comment-internal-error','664865aojqIu','_isAttached','_add','getComment','commentsrepository-remove-comment-internal-error','licenseKey','_removeActiveAnnotation','commentsrepository-adapter-already-set','commentsrepository-get-comment-invalid-id','_updateComment','comments.copyMarkers','innerHTML','addCommentThread','_isSubmitted','fetchCommentThread','init','_remove','addComment','commentsrepository-invalid-comment-content','_removeCommentThread','escape','commentId','comment','focusTracker','external:','_viewToController','_updateCommentThread','commentsrepository-fetch-comment-thread','comments.maxCommentCharsWhenCollapsed','setActiveCommentThread','commentsrepository-missing-thread-and-adapter-method','switchReadOnly','comments.CommentView','isFromAdapter','_bindAnnotationToEditors','_attachCommentThread','body','div','change:_permissions','_submitCommentThread','_createCommentThreadView'];_0x5da5=function(){return _0x2c1320;};return _0x5da5();}import{CommentView as _0x3cae3f}from'./ui/view/commentview.js';import{getTranslation as _0x29990e}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x27ac5d}from'../annotations/view/annotationview.js';import{Annotation as _0x5e4b04}from'../annotations/annotation.js';import{Annotations as _0x1822c5}from'../annotations/annotations.js';const _t=Symbol(_0x3481a3(0x1b8)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x1f0a07{[_0x3481a3(0x272)];[_0x3481a3(0x267)];[_0x3481a3(0x1f8)];static get[_0x3481a3(0x1d4)](){return[_0x1822c5,_0x452c41,_0x3cbcd6];}static get[_0x3481a3(0x292)](){const _0x5229fc=_0x3481a3;return _0x5229fc(0x299);}static get[_0x3481a3(0x240)](){return!0x0;}static get[_0x3481a3(0x254)](){return!0x0;}constructor(_0x19fcf9){const _0x1f1424=_0x3481a3;super(_0x19fcf9),this[_0x1f1424(0x272)]=new Map(),this[_0x1f1424(0x267)]=new Map(),this[_0x1f1424(0x1f8)]=new Map(),this[_0x1f1424(0x26b)](_0x1f1424(0x242),new Set()),this[_0x1f1424(0x26b)](_0x1f1424(0x28b),new Map());const _0x1ac8d5=this[_0x1f1424(0x298)][_0x1f1424(0x233)];_0x1ac8d5[_0x1f1424(0x1d5)](_0x1f1424(0x27a),0x2),_0x1ac8d5[_0x1f1424(0x1d5)](_0x1f1424(0x22d),0x1f4),_0x1ac8d5[_0x1f1424(0x1d5)](_0x1f1424(0x1fb),0x8c),_0x1ac8d5[_0x1f1424(0x1d5)](_0x1f1424(0x1d1),_0xaf6d4e),_0x1ac8d5[_0x1f1424(0x1d5)](_0x1f1424(0x1ff),_0x3cae3f),_0x1ac8d5[_0x1f1424(0x25c)](_0x1f1424(0x251))||console[_0x1f1424(0x28c)](_0x1f1424(0x1bf));}[_0x3481a3(0x1ee)](){const _0x9261f=_0x3481a3,_0x2d6763=this[_0x9261f(0x298)][_0x9261f(0x1b9)][_0x9261f(0x25c)](_0x1822c5);this[_0x9261f(0x26b)](_0x9261f(0x1d2),null),this['on'](_0x9261f(0x1eb),(_0x33d455,_0x4421e9)=>this[_0x9261f(0x1ce)](_0x4421e9)),this['on'](_0x9261f(0x24b),(_0x12d6ab,_0x3a4230)=>this[_0x9261f(0x206)](_0x3a4230)),this['on'](_0x9261f(0x21a),(_0x3a7728,_0x17d099)=>this[_0x9261f(0x222)](_0x17d099)),this['on'](_0x9261f(0x21a),(_0x11640a,_0x819a65)=>this[_0x9261f(0x252)](_0x819a65),{'priority':_0x9261f(0x263)}),this['on'](_0x9261f(0x1c5),(_0x43dc53,_0x25784e)=>this[_0x9261f(0x290)](_0x25784e)),this['on'](_0x9261f(0x1c5),(_0x574814,_0x2769d4)=>this[_0x9261f(0x252)](_0x2769d4),{'priority':_0x9261f(0x263)}),this['on'](_0x9261f(0x221),(_0x4a508c,_0x565422)=>this[_0x9261f(0x1f2)](_0x565422)),this['on'](_0x9261f(0x250),(_0x477a14,_0x21be9b)=>this[_0x9261f(0x1f9)](_0x21be9b)),this['on'](_0x9261f(0x250),(_0x1235e0,_0x159a52)=>this[_0x9261f(0x252)](_0x159a52),{'priority':_0x9261f(0x263)}),this['on'](_0x9261f(0x1f0),(_0x3b5e5a,_0x18165e)=>this[_0x9261f(0x257)](_0x18165e)),this['on'](_0x9261f(0x23b),(_0x5e81f5,_0x4dc8e2)=>this[_0x9261f(0x1e8)](_0x4dc8e2)),this['on'](_0x9261f(0x237),(_0x5048ba,_0x3fc372)=>this[_0x9261f(0x260)](_0x3fc372)),this['on'](_0x9261f(0x1f0),(_0x521c1e,{threadId:_0x9beaf8,isFromAdapter:_0x816bb0})=>{const _0x587268=_0x9261f;if(_0x816bb0)return;const _0x579ff9=this[_0x587268(0x22a)](_0x9beaf8),_0x35782a=_0x579ff9&&this[_0x587268(0x267)][_0x587268(0x25c)](_0x579ff9);_0x35782a&&_0x35782a[_0x587268(0x210)][_0x587268(0x236)][_0x587268(0x22c)](-0x1);},{'priority':_0x9261f(0x263)}),this[_0x9261f(0x218)](_0x2d6763,_0x9261f(0x220),(_0x5e4b66,_0x8637af,_0x46be30)=>{const _0x553452=_0x9261f,_0xc1b22f=Array[_0x553452(0x229)](_0x46be30)[_0x553452(0x20b)](_0x5653f4=>this[_0x553452(0x1f8)][_0x553452(0x25c)](_0x5653f4[_0x553452(0x24f)]))[_0x553452(0x275)](Boolean)[0x0];this[_0x553452(0x1d2)]=_0xc1b22f?_0xc1b22f[_0x553452(0x20d)]:null;});}set[_0x3481a3(0x230)](_0x4486da){const _0x559a05=_0x3481a3;if(this[_0x559a05(0x283)])throw new _0x1d4334(_0x559a05(0x1e6));this[_0x559a05(0x283)]=_0x4486da;}get[_0x3481a3(0x230)](){const _0x448540=_0x3481a3;return this[_0x448540(0x283)];}[_0x3481a3(0x1eb)]({channelId:_0xb30fbf=_t,threadId:_0x3e19a6=_0xf89985(),comments:_0x5af956=[],unlinkedAt:_0x518a1f=null,resolvedAt:_0x448a0d=null,resolvedBy:_0x772051=null,target:_0x19ccbe=null,context:_0x404bf9=null,attributes:_0x14674a={},isResolvable:_0x25349a=!0x0,isSubmitted:_0x514608=!0x1,isFromAdapter:_0x538dd0=!0x1}={}){const _0x14fdc3=_0x3481a3;return this[_0x14fdc3(0x20e)](Nt(_0x14fdc3(0x1eb),_0xb30fbf),{'channelId':_0xb30fbf,'threadId':_0x3e19a6,'comments':_0x5af956,'unlinkedAt':_0x518a1f,'resolvedAt':_0x448a0d,'resolvedBy':_0x772051,'target':_0x19ccbe,'context':_0x404bf9,'attributes':_0x14674a,'isFromAdapter':_0x538dd0,'isResolvable':_0x25349a,'isSubmitted':_0x514608}),this[_0x14fdc3(0x22a)](_0x3e19a6);}[_0x3481a3(0x28f)]({channelId:_0x3e0b73=_t,threadId:_0x229701=_0xf89985(),target:_0x50ba26,context:_0x28d21e=null,isResolvable:_0x62a08b=!0x0}){const _0x8259a1=_0x3481a3;if(this[_0x8259a1(0x242)][_0x8259a1(0x276)](_0x3e0b73)||this[_0x8259a1(0x242)][_0x8259a1(0x276)](void 0x0))return null;if(!_0x50ba26)throw new _0x1d4334(_0x8259a1(0x1d0));const _0x47ad6c=this[_0x8259a1(0x1eb)]({'channelId':_0x3e0b73,'threadId':_0x229701,'target':_0x50ba26,'context':_0x28d21e,'isResolvable':_0x62a08b});if(!_0x47ad6c)return null;const _0x5259de=this[_0x8259a1(0x267)][_0x8259a1(0x25c)](_0x47ad6c),_0x221d0c=_0x5259de[_0x8259a1(0x210)][_0x8259a1(0x238)][_0x8259a1(0x28e)],_0x323c41=this[_0x8259a1(0x298)][_0x8259a1(0x1b9)][_0x8259a1(0x25c)](_0x1822c5),_0x1563dd=_0x323c41[_0x8259a1(0x24a)](_0x5259de[_0x8259a1(0x210)]);return _0x323c41[_0x8259a1(0x291)](_0x1563dd),_0x221d0c[_0x8259a1(0x25f)](_0x8259a1(0x23a),()=>_0x221d0c[_0x8259a1(0x22c)]()),_0x47ad6c;}[_0x3481a3(0x22f)](_0x245cde){const _0x324a09=_0x3481a3;if(_0x324a09(0x29b)!=typeof _0x245cde)throw new _0x1d4334(_0x324a09(0x26a));return this[_0x324a09(0x272)][_0x324a09(0x276)](_0x245cde);}[_0x3481a3(0x250)]({channelId:_0x491794=_t,threadId:_0x124daa,context:_0x1727d8,unlinkedAt:_0x2d1c55,attributes:_0x22cb75,isFromAdapter:_0x5c3009=!0x1}){const _0x1ba765=_0x3481a3;return this[_0x1ba765(0x20e)](Nt(_0x1ba765(0x250),_0x491794),{'channelId':_0x491794,'threadId':_0x124daa,'context':_0x1727d8,'unlinkedAt':_0x2d1c55,'attributes':_0x22cb75,'isFromAdapter':_0x5c3009}),this[_0x1ba765(0x22a)](_0x124daa);}[_0x3481a3(0x22a)](_0x10e7aa){const _0x4300e7=_0x3481a3;if(_0x4300e7(0x29b)!=typeof _0x10e7aa)throw new _0x1d4334(_0x4300e7(0x26a));return this[_0x4300e7(0x272)][_0x4300e7(0x25c)](_0x10e7aa);}[_0x3481a3(0x1ed)]({channelId:_0x38129a,threadId:_0x30fa8a}={}){const _0x35c4f8=_0x3481a3,_0x54a16e=this[_0x35c4f8(0x22a)](_0x30fa8a);if(_0x54a16e)return Promise[_0x35c4f8(0x26e)](_0x54a16e);if(!this[_0x35c4f8(0x230)])return Promise[_0x35c4f8(0x26e)](void 0x0);if(_0x35c4f8(0x1cf)!=typeof this[_0x35c4f8(0x230)][_0x35c4f8(0x22a)])throw new _0x1d4334(_0x35c4f8(0x1fd),this[_0x35c4f8(0x298)]);return this[_0x35c4f8(0x230)][_0x35c4f8(0x22a)]({'channelId':_0x38129a,'threadId':_0x30fa8a})[_0x35c4f8(0x262)](_0x2f6f93=>this[_0x35c4f8(0x22f)](_0x30fa8a)?this[_0x35c4f8(0x22a)](_0x30fa8a):_0x2f6f93?this[_0x35c4f8(0x1eb)](Object[_0x35c4f8(0x1bb)]({'isFromAdapter':!0x0,'channelId':_0x38129a},_0x2f6f93)):void 0x0)[_0x35c4f8(0x255)](_0x3cbe3d=>{const _0x40ae17=_0x35c4f8;throw console[_0x40ae17(0x1ca)](_0x3cbe3d),new _0x1d4334(_0x40ae17(0x1fa),this[_0x40ae17(0x298)]);});}[_0x3481a3(0x26d)]({channelId:_0x365439,skipNotAttached:_0x10c75b=!0x1,skipEmpty:_0xbdc302=!0x1,toJSON:_0x5a6d2f=!0x1}={}){const _0x2847c8=_0x3481a3,_0x328af4=[];for(const _0x4a0013 of this[_0x2847c8(0x272)][_0x2847c8(0x270)]())_0x365439&&_0x4a0013[_0x2847c8(0x269)]!==_0x365439||_0x10c75b&&!_0x4a0013[_0x2847c8(0x24d)]||_0xbdc302&&0x0===_0x4a0013[_0x2847c8(0x244)]||_0x328af4[_0x2847c8(0x28a)](_0x4a0013);return _0x5a6d2f?_0x328af4[_0x2847c8(0x20b)](_0x5b6084=>_0x5b6084[_0x2847c8(0x21c)]()):_0x328af4;}[_0x3481a3(0x1d6)](_0x1b9a20){const _0x1d1f8d=_0x3481a3,_0x10a300=this[_0x1d1f8d(0x267)][_0x1d1f8d(0x25c)](_0x1b9a20);if(!_0x10a300)return null;return this[_0x1d1f8d(0x298)][_0x1d1f8d(0x1b9)][_0x1d1f8d(0x25c)](_0x1822c5)[_0x1d1f8d(0x24a)](_0x10a300[_0x1d1f8d(0x210)])||null;}[_0x3481a3(0x282)](_0x4668ea){const _0x2c3aec=_0x3481a3,_0x4c8889=this[_0x2c3aec(0x1f8)][_0x2c3aec(0x25c)](_0x4668ea[_0x2c3aec(0x24f)]);return _0x4c8889?_0x4c8889[_0x2c3aec(0x20d)]:null;}[_0x3481a3(0x1fc)](_0xfb6e11){const _0x564233=_0x3481a3,_0x2cb5a7=this[_0x564233(0x298)][_0x564233(0x1b9)][_0x564233(0x25c)](_0x1822c5);if(!_0xfb6e11)return void(this[_0x564233(0x1d2)]&&_0x2cb5a7[_0x564233(0x258)]());const _0x38ee83=this[_0x564233(0x22a)](_0xfb6e11);if(!_0x38ee83)throw new _0x1d4334(_0x564233(0x232),null,{'threadId':_0xfb6e11});if(!this[_0x564233(0x267)][_0x564233(0x276)](_0x38ee83))throw new _0x1d4334(_0x564233(0x215),null,{'threadId':_0xfb6e11});const _0x1cf11e=_0x2cb5a7[_0x564233(0x24a)](this[_0x564233(0x267)][_0x564233(0x25c)](_0x38ee83)[_0x564233(0x210)]);_0x2cb5a7[_0x564233(0x291)](_0x1cf11e);}[_0x3481a3(0x1fe)](_0x91ffdb,_0x1fb9fe){const _0x1ceb8f=_0x3481a3;_0x91ffdb?this[_0x1ceb8f(0x242)][_0x1ceb8f(0x23f)](_0x1fb9fe):this[_0x1ceb8f(0x242)][_0x1ceb8f(0x281)](_0x1fb9fe),this[_0x1ceb8f(0x20e)](_0x1ceb8f(0x209),_0x1ceb8f(0x242),this[_0x1ceb8f(0x242)],this[_0x1ceb8f(0x242)]);}[_0x3481a3(0x23d)](_0x2828ed){const _0x22bc39=_0x3481a3;return this[_0x22bc39(0x242)][_0x22bc39(0x276)](_0x2828ed)||this[_0x22bc39(0x242)][_0x22bc39(0x276)](void 0x0);}[_0x3481a3(0x259)](_0x2def23,_0x3b2bcb){return new _0x148b6a(_0x2def23,_0x3b2bcb);}[_0x3481a3(0x216)](_0x3ec2a3,_0x2e2044=_t){const _0xbb0f89=_0x3481a3;this[_0xbb0f89(0x28b)][_0xbb0f89(0x26b)](_0x2e2044,_0x3ec2a3),this[_0xbb0f89(0x20e)](_0xbb0f89(0x205),_0xbb0f89(0x28b),this[_0xbb0f89(0x28b)],this[_0xbb0f89(0x28b)]);}[_0x3481a3(0x1c4)](_0x5b46aa=_t){const _0x377493=_0x3481a3;return this[_0x377493(0x28b)][_0x377493(0x276)](_0x5b46aa)?this[_0x377493(0x28b)][_0x377493(0x25c)](_0x5b46aa):bt;}[_0x3481a3(0x1ce)]({channelId:_0x36ee51,threadId:_0x1171fc,comments:_0xee8d5f,unlinkedAt:_0x5794f8,resolvedAt:_0x433c11,resolvedBy:_0x3d0c93,target:_0xb7df7,context:_0x416be3,attributes:_0x55e545,isFromAdapter:_0x20f049,isResolvable:_0x29f7f0,isSubmitted:_0x481d26}){const _0x577460=_0x3481a3;if(_0x577460(0x29b)!=typeof _0x1171fc)throw new _0x1d4334(_0x577460(0x26a),null,{'threadId':_0x1171fc});if(this[_0x577460(0x22f)](_0x1171fc))throw new _0x1d4334(_0x577460(0x226),null,{'threadId':_0x1171fc});const _0x5beca0=new CommentThread(this,{'channelId':_0x36ee51,'id':_0x1171fc,'context':_0x416be3,'attributes':_0x55e545,'unlinkedAt':_0x5794f8,'resolvedAt':_0x433c11,'resolvedBy':_0x3d0c93?this[_0x577460(0x298)][_0x577460(0x1b9)][_0x577460(0x25c)](_0x3cbcd6)[_0x577460(0x20f)](_0x3d0c93):null,'isResolvable':_0x29f7f0,'isSubmitted':_0x481d26||_0x20f049});this[_0x577460(0x272)][_0x577460(0x26b)](_0x1171fc,_0x5beca0);for(const _0x7d90e7 of _0xee8d5f)_0x5beca0[_0x577460(0x1e1)](this[_0x577460(0x27d)]({'threadId':_0x1171fc,..._0x7d90e7}));return _0xb7df7&&_0x5beca0[_0x577460(0x24c)](_0xb7df7),_0x20f049||!_0x5beca0[_0x577460(0x244)]?Promise[_0x577460(0x26e)]():this[_0x577460(0x206)]({'channelId':_0x36ee51,'threadId':_0x1171fc});}[_0x3481a3(0x206)]({channelId:_0x1246d9,threadId:_0x340b5a}){const _0x33594b=_0x3481a3;if(!this[_0x33594b(0x22f)](_0x340b5a))throw new _0x1d4334(_0x33594b(0x212),this);const _0x1f179d=this[_0x33594b(0x22a)](_0x340b5a);if(_0x1f179d[_0x33594b(0x1ec)]=!0x0,!this[_0x33594b(0x230)]||_0x33594b(0x1cf)!=typeof this[_0x33594b(0x230)][_0x33594b(0x1eb)])return Promise[_0x33594b(0x26e)]();const {id:_0xa0259b,comments:_0x23a02c,resolvedAt:_0x39b640,resolvedBy:_0x33f27e,context:_0x3e84e9,attributes:_0x1b18a1}=_0x1f179d,_0x5ce3f4=this[_0x33594b(0x298)][_0x33594b(0x1b9)][_0x33594b(0x25c)](_0x33594b(0x213)),_0x22434d=_0x5ce3f4[_0x33594b(0x23f)](_0x29990e(this[_0x33594b(0x298)][_0x33594b(0x26f)],_0x33594b(0x297)));return this[_0x33594b(0x230)][_0x33594b(0x1eb)]({'channelId':_0x1246d9,'threadId':_0xa0259b,'comments':_0x23a02c[_0x33594b(0x20b)](_0x4d6283=>_0x4d6283[_0x33594b(0x21c)]()),'resolvedAt':_0x39b640,'resolvedBy':_0x33f27e?_0x33f27e['id']:_0x33f27e,'context':_0x3e84e9,'attributes':_0x1b18a1})[_0x33594b(0x262)](({comments:_0x1e07b4})=>{const _0x52768e=_0x33594b;_0x5ce3f4[_0x52768e(0x1b5)](_0x22434d);for(const _0x3fc7b5 of _0x1e07b4)this[_0x52768e(0x1e8)]({'channelId':_0x1246d9,'threadId':_0x340b5a,'commentId':_0x3fc7b5[_0x52768e(0x1f4)],'createdAt':_0x3fc7b5[_0x52768e(0x27b)],'isFromAdapter':!0x0});})[_0x33594b(0x255)](_0x49b615=>{const _0x2d92b8=_0x33594b;throw console[_0x2d92b8(0x1ca)](_0x49b615),new _0x1d4334(_0x2d92b8(0x1c6),this);});}[_0x3481a3(0x202)]({threadId:_0x5c470f,target:_0x579cbc}){const _0x2441f1=_0x3481a3,_0x2bd400=this[_0x2441f1(0x22a)](_0x5c470f);if(!_0x2bd400)throw new _0x1d4334(_0x2441f1(0x29a),this);const _0x294f16=this[_0x2441f1(0x298)][_0x2441f1(0x1b9)][_0x2441f1(0x25c)](_0x2441f1(0x213)),_0x210522=this[_0x2441f1(0x298)][_0x2441f1(0x1b9)][_0x2441f1(0x25c)](_0x1822c5),_0x4ad3c7=this[_0x2441f1(0x207)](_0x2bd400),_0x1be2ae=new _0x148b6a(_0x2bd400,_0x4ad3c7);let _0x5a8bef=null;_0x4ad3c7['on'](_0x2441f1(0x256),(_0xfbfebb,_0xef5678,_0x4c9c43)=>{const _0x409560=_0x2441f1;_0x4c9c43?_0x5a8bef=_0x294f16[_0x409560(0x23f)](_0x29990e(this[_0x409560(0x298)][_0x409560(0x26f)],_0x409560(0x297))):_0x5a8bef&&(_0x294f16[_0x409560(0x1b5)](_0x5a8bef),_0x5a8bef=null);}),this[_0x2441f1(0x267)][_0x2441f1(0x26b)](_0x2bd400,_0x1be2ae),this[_0x2441f1(0x1f8)][_0x2441f1(0x26b)](_0x4ad3c7,_0x1be2ae);const _0x2ce659=new _0x27ac5d(this[_0x2441f1(0x298)][_0x2441f1(0x26f)],_0x4ad3c7);_0x2ce659[_0x2441f1(0x1bd)](_0x2441f1(0x244))['to'](_0x4ad3c7),_0x2ce659[_0x2441f1(0x1bd)](_0x2441f1(0x245))['to'](_0x4ad3c7,_0x2441f1(0x245),_0x4ad3c7,_0x2441f1(0x244),(_0x3337a0,_0x1c5451)=>_0x3337a0||!_0x1c5451),_0x2ce659[_0x2441f1(0x1bd)](_0x2441f1(0x1bc))['to'](_0x4ad3c7),_0x2ce659[_0x2441f1(0x271)]=_0x2441f1(0x1f5);const _0x145eda=new _0x5e4b04({'view':_0x2ce659,'target':_0x579cbc,'type':_0x2441f1(0x1f5),'isVisible':!_0x2bd400[_0x2441f1(0x21e)]&&!!(_0x2441f1(0x1cf)==typeof _0x579cbc?_0x579cbc():_0x579cbc)});return _0x4ad3c7['on'](_0x2441f1(0x1f3),()=>{const _0x3d655b=_0x2441f1;_0x145eda[_0x3d655b(0x20e)](_0x3d655b(0x1f3));}),this[_0x2441f1(0x201)](_0x4ad3c7,_0x145eda),_0x210522[_0x2441f1(0x23f)](_0x145eda),_0x145eda;}[_0x3481a3(0x201)](_0x381606,_0x28ec80){const _0x3dc4b=_0x3481a3;this[_0x3dc4b(0x218)](_0x381606,_0x3dc4b(0x23a),(_0x1ad886,_0x5bc80b)=>{const _0x3ff625=_0x3dc4b,_0x42c3d8=_0x5bc80b['ui'][_0x3ff625(0x210)][_0x3ff625(0x203)][_0x3ff625(0x1b7)];_0x28ec80[_0x3ff625(0x1d3)][_0x3ff625(0x23f)](_0x42c3d8),this[_0x3ff625(0x298)]instanceof _0x1d1930&&this[_0x3ff625(0x298)]['ui'][_0x3ff625(0x1f6)][_0x3ff625(0x23f)](_0x42c3d8);},{'priority':_0x3dc4b(0x22b)}),this[_0x3dc4b(0x218)](_0x381606,_0x3dc4b(0x1b6),(_0x4446c3,_0x274046)=>{const _0x1c363f=_0x3dc4b,_0x555d31=_0x274046['ui'][_0x1c363f(0x210)][_0x1c363f(0x203)][_0x1c363f(0x1b7)];_0x28ec80[_0x1c363f(0x1d3)][_0x1c363f(0x276)](_0x555d31)&&_0x28ec80[_0x1c363f(0x1d3)][_0x1c363f(0x1b5)](_0x555d31),this[_0x1c363f(0x298)]instanceof _0x1d1930&&this[_0x1c363f(0x298)]['ui'][_0x1c363f(0x1f6)][_0x1c363f(0x1b5)](_0x555d31);});}[_0x3481a3(0x27f)](_0x10dcc5){const _0x2ead4c=_0x3481a3;this[_0x2ead4c(0x27e)](_0x10dcc5,_0x2ead4c(0x23a)),this[_0x2ead4c(0x27e)](_0x10dcc5,_0x2ead4c(0x1b6));}[_0x3481a3(0x207)](_0x52d76e){const _0x484936=_0x3481a3,_0x2b2186=this[_0x484936(0x298)][_0x484936(0x1b9)][_0x484936(0x25c)](_0x3cbcd6),{config:_0x57c2c1,locale:_0x15705b}=this[_0x484936(0x298)],_0x33a73c=_0x53d016(_0x57c2c1[_0x484936(0x25c)](_0x484936(0x26f)),_0x15705b);return new(0x0,(_0x57c2c1[_0x484936(0x25c)](_0x484936(0x1cb)))[(_0x484936(0x274))])(_0x15705b,_0x52d76e,_0x2b2186['me'],{'editorConfig':{..._0x57c2c1[_0x484936(0x25c)](_0x484936(0x251)),'licenseKey':this[_0x484936(0x298)][_0x484936(0x233)][_0x484936(0x25c)](_0x484936(0x1e4))},'copyMarkers':_0x57c2c1[_0x484936(0x25c)](_0x484936(0x1e9)),'maxCommentsWhenCollapsed':_0x57c2c1[_0x484936(0x25c)](_0x484936(0x27a)),'maxThreadTotalWeight':_0x57c2c1[_0x484936(0x25c)](_0x484936(0x22d)),'maxCommentCharsWhenCollapsed':_0x57c2c1[_0x484936(0x25c)](_0x484936(0x1fb)),'formatDateTime':_0x33a73c,'CommentView':_0x57c2c1[_0x484936(0x25c)](_0x484936(0x1cb))[_0x484936(0x1c3)]});}[_0x3481a3(0x222)]({threadId:_0x2a554b,channelId:_0x3bcde1,resolvedAt:_0x1df989,resolvedBy:_0x287536,isFromAdapter:_0x4980b8}){const _0x21afdb=_0x3481a3;if(!this[_0x21afdb(0x22f)](_0x2a554b))throw new _0x1d4334(_0x21afdb(0x212),null,{'threadId':_0x2a554b});const _0x211b73=this[_0x21afdb(0x22a)](_0x2a554b);if(_0x211b73[_0x21afdb(0x293)])throw new _0x1d4334(_0x21afdb(0x273),null,{'threadId':_0x2a554b});const _0x360b42=this[_0x21afdb(0x298)][_0x21afdb(0x1b9)][_0x21afdb(0x25c)](_0x3cbcd6);if(_0x211b73[_0x21afdb(0x243)]=_0x360b42[_0x21afdb(0x20f)](_0x287536),_0x211b73[_0x21afdb(0x21b)]=_0x1df989,_0x4980b8||!this[_0x21afdb(0x230)]||_0x21afdb(0x1cf)!=typeof this[_0x21afdb(0x230)][_0x21afdb(0x21a)])return Promise[_0x21afdb(0x26e)]();const _0x272d5a=this[_0x21afdb(0x298)][_0x21afdb(0x1b9)][_0x21afdb(0x25c)](_0x21afdb(0x213)),_0x3616=_0x272d5a[_0x21afdb(0x23f)](_0x29990e(this[_0x21afdb(0x298)][_0x21afdb(0x26f)],_0x21afdb(0x297)));return this[_0x21afdb(0x230)][_0x21afdb(0x21a)]({'channelId':_0x3bcde1,'threadId':_0x2a554b})[_0x21afdb(0x262)](({resolvedAt:_0x5e01c6,resolvedBy:_0x435dd8})=>{const _0xf6f0f8=_0x21afdb;_0x272d5a[_0xf6f0f8(0x1b5)](_0x3616),_0x211b73[_0xf6f0f8(0x243)]['id']!==_0x435dd8&&(_0x211b73[_0xf6f0f8(0x243)]=_0x360b42[_0xf6f0f8(0x20f)](_0x435dd8)),_0x211b73[_0xf6f0f8(0x21b)]=_0x5e01c6;})[_0x21afdb(0x255)](_0x48f954=>{const _0x2c390b=_0x21afdb;throw console[_0x2c390b(0x1ca)](_0x48f954),new _0x1d4334(_0x2c390b(0x20c),this);});}[_0x3481a3(0x290)]({threadId:_0xf8cf15,channelId:_0x54f663,isFromAdapter:_0x195549}){const _0x2b01b8=_0x3481a3;if(!this[_0x2b01b8(0x22f)](_0xf8cf15))throw new _0x1d4334(_0x2b01b8(0x212),null,{'threadId':_0xf8cf15});const _0x44d772=this[_0x2b01b8(0x22a)](_0xf8cf15);if(!_0x44d772[_0x2b01b8(0x293)])throw new _0x1d4334(_0x2b01b8(0x1ba),null,{'threadId':_0xf8cf15});if(_0x44d772[_0x2b01b8(0x243)]=null,_0x44d772[_0x2b01b8(0x21b)]=null,_0x195549||!this[_0x2b01b8(0x230)]||_0x2b01b8(0x1cf)!=typeof this[_0x2b01b8(0x230)][_0x2b01b8(0x1c5)])return Promise[_0x2b01b8(0x26e)]();const _0x27d801=this[_0x2b01b8(0x298)][_0x2b01b8(0x1b9)][_0x2b01b8(0x25c)](_0x2b01b8(0x213)),_0x34af84=_0x27d801[_0x2b01b8(0x23f)](_0x29990e(this[_0x2b01b8(0x298)][_0x2b01b8(0x26f)],_0x2b01b8(0x297)));return this[_0x2b01b8(0x230)][_0x2b01b8(0x1c5)]({'channelId':_0x54f663,'threadId':_0xf8cf15})[_0x2b01b8(0x262)](()=>_0x27d801[_0x2b01b8(0x1b5)](_0x34af84))[_0x2b01b8(0x255)](_0x1597d8=>{const _0x2a9edf=_0x2b01b8;throw console[_0x2a9edf(0x1ca)](_0x1597d8),new _0x1d4334(_0x2a9edf(0x285),this);});}[_0x3481a3(0x1f2)]({threadId:_0x458b35,isFromAdapter:_0x42ad6a}){const _0x4542e9=_0x3481a3,_0x1b8877=this[_0x4542e9(0x22a)](_0x458b35);if(!_0x1b8877)throw new _0x1d4334(_0x4542e9(0x225),this);if(this[_0x4542e9(0x248)](_0x458b35),this[_0x4542e9(0x272)][_0x4542e9(0x281)](_0x458b35),!_0x1b8877[_0x4542e9(0x25b)]||_0x42ad6a||!this[_0x4542e9(0x230)]||_0x4542e9(0x1cf)!=typeof this[_0x4542e9(0x230)][_0x4542e9(0x221)])return Promise[_0x4542e9(0x26e)]();const _0x45e597=this[_0x4542e9(0x298)][_0x4542e9(0x1b9)][_0x4542e9(0x25c)](_0x4542e9(0x213)),{channelId:_0x3a0676}=_0x1b8877,_0x15f161=_0x45e597[_0x4542e9(0x23f)](_0x29990e(this[_0x4542e9(0x298)][_0x4542e9(0x26f)],_0x4542e9(0x297)));return this[_0x4542e9(0x230)][_0x4542e9(0x221)]({'channelId':_0x3a0676,'threadId':_0x458b35})[_0x4542e9(0x262)](()=>_0x45e597[_0x4542e9(0x1b5)](_0x15f161))[_0x4542e9(0x255)](_0x9a132c=>{const _0x342a08=_0x4542e9;throw console[_0x342a08(0x1ca)](_0x9a132c),new _0x1d4334(_0x342a08(0x264),this);});}[_0x3481a3(0x1f9)]({threadId:_0x9049c3,unlinkedAt:_0x16d6b4,context:_0x4b4bc4,attributes:_0x32a57d,isFromAdapter:_0x392d86}){const _0x3be389=_0x3481a3;if(_0x3be389(0x29b)!=typeof _0x9049c3)throw new _0x1d4334(_0x3be389(0x26a),null,{'threadId':_0x9049c3});if(!this[_0x3be389(0x22f)](_0x9049c3))throw new _0x1d4334(_0x3be389(0x212),null,{'threadId':_0x9049c3});const _0x3a6ed3=this[_0x3be389(0x22a)](_0x9049c3);let _0x3d116c=!0x1;if(void 0x0!==_0x4b4bc4&&_0x3a6ed3[_0x3be389(0x298)]!==_0x4b4bc4&&(_0x3a6ed3[_0x3be389(0x298)]=_0x4b4bc4,_0x3d116c=!0x0),void 0x0!==_0x16d6b4&&_0x3a6ed3[_0x3be389(0x24e)]!==_0x16d6b4&&(_0x3a6ed3[_0x3be389(0x24e)]=_0x16d6b4,_0x3d116c=!0x0),_0x32a57d&&!_0x3a4dbb(_0x32a57d,_0x3a6ed3[_0x3be389(0x278)])&&(_0x3a6ed3[_0x3be389(0x278)]=_0x32a57d,_0x3d116c=!0x0),!_0x3d116c)return Promise[_0x3be389(0x26e)]();if(!_0x3a6ed3[_0x3be389(0x25b)]||_0x392d86||!this[_0x3be389(0x230)]||_0x3be389(0x1cf)!=typeof this[_0x3be389(0x230)][_0x3be389(0x250)])return Promise[_0x3be389(0x26e)]();const _0x133fbd=this[_0x3be389(0x298)][_0x3be389(0x1b9)][_0x3be389(0x25c)](_0x3be389(0x213)),{channelId:_0x489231}=_0x3a6ed3,_0x41f836=_0x133fbd[_0x3be389(0x23f)](_0x29990e(this[_0x3be389(0x298)][_0x3be389(0x26f)],_0x3be389(0x297)));return this[_0x3be389(0x230)][_0x3be389(0x250)]({'channelId':_0x489231,'threadId':_0x9049c3,'context':_0x4b4bc4,'unlinkedAt':_0x16d6b4,'attributes':_0x32a57d})[_0x3be389(0x262)](()=>_0x133fbd[_0x3be389(0x1b5)](_0x41f836))[_0x3be389(0x255)](_0x4d689f=>{const _0x2b301a=_0x3be389;throw console[_0x2b301a(0x1ca)](_0x4d689f),new _0x1d4334(_0x2b301a(0x1d9),this);});}[_0x3481a3(0x248)](_0x323cb8){const _0x28948f=_0x3481a3,_0x1b7d17=this[_0x28948f(0x298)][_0x28948f(0x1b9)][_0x28948f(0x25c)](_0x1822c5),_0x45efac=this[_0x28948f(0x22a)](_0x323cb8);if(_0x45efac[_0x28948f(0x1e0)]=!0x1,this[_0x28948f(0x267)][_0x28948f(0x276)](_0x45efac)){const _0x186c44=this[_0x28948f(0x267)][_0x28948f(0x25c)](_0x45efac),_0x49cd64=_0x186c44[_0x28948f(0x210)],_0x4d7350=_0x1b7d17[_0x28948f(0x24a)](_0x49cd64);this[_0x28948f(0x267)][_0x28948f(0x281)](_0x45efac),this[_0x28948f(0x1f8)][_0x28948f(0x281)](_0x49cd64),_0x4d7350&&_0x1b7d17[_0x28948f(0x1b5)](_0x4d7350),_0x186c44[_0x28948f(0x1cd)](),_0x49cd64[_0x28948f(0x1cd)]()[_0x28948f(0x262)](()=>{const _0x20522f=_0x28948f;this[_0x20522f(0x27f)](_0x49cd64);});}}[_0x3481a3(0x252)]({threadId:_0x4d12c4,resolvedAt:_0x1afbbd,unlinkedAt:_0xa44fc6}){const _0x2e0ae3=_0x3481a3,_0x21af2a=!!_0x1afbbd,_0x270824=this[_0x2e0ae3(0x298)][_0x2e0ae3(0x1b9)][_0x2e0ae3(0x25c)](_0x1822c5),_0x40409e=this[_0x2e0ae3(0x22a)](_0x4d12c4);if(this[_0x2e0ae3(0x267)][_0x2e0ae3(0x276)](_0x40409e)){const _0x2c1ab7=this[_0x2e0ae3(0x267)][_0x2e0ae3(0x25c)](_0x40409e)[_0x2e0ae3(0x210)],_0x4a6389=_0x270824[_0x2e0ae3(0x24a)](_0x2c1ab7);_0x4a6389&&(_0x21af2a&&_0x270824[_0x2e0ae3(0x1e5)](_0x4a6389),_0xa44fc6?_0x4a6389[_0x2e0ae3(0x296)]=!0x1:_0x4a6389[_0x2e0ae3(0x219)]());}}[_0x3481a3(0x228)](_0x441104){const _0x46d08b=_0x3481a3,_0x2230e8=this[_0x46d08b(0x298)][_0x46d08b(0x1b9)][_0x46d08b(0x25c)](_0x3cbcd6),_0x23bf7a=_0x34b086(_0x46d08b(0x1f7)+_0x441104),_0x401565=_0x2230e8[_0x46d08b(0x20f)](_0x23bf7a);return _0x401565||_0x2230e8[_0x46d08b(0x26c)]({'id':_0x23bf7a,'name':_0x441104});}[_0x3481a3(0x27d)]({threadId:_0x165297,commentId:_0x52b4eb=_0xf89985(),content:_0x46c5d8,authorId:_0x4538ec,createdAt:_0x1ef1e0,attributes:_0x1d3bf3}){const _0x2f12cf=_0x3481a3;if(_0x2f12cf(0x29b)!=typeof _0x52b4eb)throw new _0x1d4334(_0x2f12cf(0x266));if(_0x2f12cf(0x29b)!=typeof _0x4538ec)throw new _0x1d4334(_0x2f12cf(0x208));if(_0x2f12cf(0x29b)!=typeof _0x46c5d8||!_0x46c5d8[_0x2f12cf(0x1c1)]())throw new _0x1d4334(_0x2f12cf(0x1f1));const _0x353c40=this[_0x2f12cf(0x298)][_0x2f12cf(0x1b9)][_0x2f12cf(0x25c)](_0x3cbcd6)[_0x2f12cf(0x20f)](_0x4538ec);if(!_0x353c40)throw new _0x1d4334(_0x2f12cf(0x1db),null,{'authorId':_0x4538ec});let _0x2a1087=null,_0x399e09=_0x1ef1e0;return _0x1d3bf3?.[_0x2f12cf(0x20a)]&&(_0x2a1087=this[_0x2f12cf(0x228)](_0x1d3bf3[_0x2f12cf(0x20a)][_0x2f12cf(0x23c)]),_0x399e09=new Date(_0x1d3bf3[_0x2f12cf(0x20a)][_0x2f12cf(0x27b)])),new Comment(this,{'threadId':_0x165297,'id':_0x52b4eb,'author':_0x2a1087||_0x353c40,'creator':_0x353c40,'content':_0x46c5d8,'createdAt':_0x1ef1e0,'authoredAt':_0x399e09,'attributes':_0x1d3bf3});}[_0x3481a3(0x257)](_0x42421d){const _0xc35844=_0x3481a3;let {threadId:_0x156e95,content:_0x544bd9,attributes:_0x11217c,isFromAdapter:_0x531549}=_0x42421d;const _0x12d4ee=this[_0xc35844(0x22a)](_0x42421d[_0xc35844(0x261)]);if(!_0x12d4ee)throw new _0x1d4334(_0xc35844(0x295),this);const _0xe7c6cc=this[_0xc35844(0x27d)](_0x42421d),{id:_0x29895e}=_0xe7c6cc;if(_0x12d4ee[_0xc35844(0x1e1)](_0xe7c6cc),_0x531549||!this[_0xc35844(0x230)]||_0xc35844(0x1cf)!=typeof this[_0xc35844(0x230)][_0xc35844(0x1f0)]||!_0x12d4ee[_0xc35844(0x25b)])return Promise[_0xc35844(0x26e)]();const _0x4dba30=this[_0xc35844(0x298)][_0xc35844(0x1b9)][_0xc35844(0x25c)](_0xc35844(0x213)),{channelId:_0x85866d}=_0x12d4ee,_0xaeaee7=_0x4dba30[_0xc35844(0x23f)](_0x29990e(this[_0xc35844(0x298)][_0xc35844(0x26f)],_0xc35844(0x297)));return _0x11217c||(_0x11217c={}),this[_0xc35844(0x230)][_0xc35844(0x1f0)]({'channelId':_0x85866d,'threadId':_0x156e95,'commentId':_0x29895e,'content':_0x544bd9,'attributes':_0x11217c})[_0xc35844(0x262)](_0x40e89a=>{const _0xc31baa=_0xc35844;_0x4dba30[_0xc31baa(0x1b5)](_0xaeaee7),_0x40e89a&&this[_0xc31baa(0x1e8)]({'channelId':_0x85866d,'threadId':_0x156e95,'commentId':_0x29895e,'createdAt':_0x40e89a[_0xc31baa(0x27b)],'isFromAdapter':!0x0});})[_0xc35844(0x255)](_0x3f58a7=>{const _0xb58187=_0xc35844;throw console[_0xb58187(0x1ca)](_0x3f58a7),new _0x1d4334(_0xb58187(0x1de),this);});}[_0x3481a3(0x1e8)]({threadId:_0x4cc8e1,commentId:_0x4e9df9,content:_0x575575,createdAt:_0x35709c,attributes:_0x18efa8,isFromAdapter:_0x4459b6}){const _0x477c23=_0x3481a3;if(void 0x0!==_0x575575&&(_0x477c23(0x29b)!=typeof _0x575575||!_0x575575[_0x477c23(0x1c1)]()[_0x477c23(0x244)]))throw new _0x1d4334(_0x477c23(0x268));const _0x1e7c87=this[_0x477c23(0x22a)](_0x4cc8e1),_0x4ea784=_0x1e7c87[_0x477c23(0x1e2)](_0x4e9df9);if(!_0x4ea784)throw new _0x1d4334(_0x477c23(0x227),this);let _0x42e1d1=!0x1;if(_0x575575&&_0x575575!==_0x4ea784[_0x477c23(0x23e)]&&(_0x4ea784[_0x477c23(0x25d)]||_0x4459b6)&&(_0x4ea784[_0x477c23(0x23e)]=_0x575575,_0x42e1d1=!0x0),_0x35709c&&_0x35709c!==_0x4ea784[_0x477c23(0x27b)]&&(_0x4ea784[_0x477c23(0x27b)]=_0x35709c,_0x4ea784[_0x477c23(0x278)]&&_0x4ea784[_0x477c23(0x278)][_0x477c23(0x20a)]||(_0x4ea784[_0x477c23(0x1dd)]=_0x35709c),_0x42e1d1=!0x0),_0x18efa8&&!_0x3a4dbb(_0x18efa8,_0x4ea784[_0x477c23(0x278)])&&(_0x4ea784[_0x477c23(0x278)]=_0x18efa8,_0x42e1d1=!0x0),!_0x42e1d1)return Promise[_0x477c23(0x26e)]();if(_0x1e7c87[_0x477c23(0x20e)](_0x477c23(0x277)),_0x4459b6||!this[_0x477c23(0x230)]||_0x477c23(0x1cf)!=typeof this[_0x477c23(0x230)][_0x477c23(0x23b)])return Promise[_0x477c23(0x26e)]();const _0x3bdb6e=this[_0x477c23(0x298)][_0x477c23(0x1b9)][_0x477c23(0x25c)](_0x477c23(0x213)),{channelId:_0x360436}=this[_0x477c23(0x22a)](_0x4ea784[_0x477c23(0x261)]),_0x2fabdd=_0x3bdb6e[_0x477c23(0x23f)](_0x29990e(this[_0x477c23(0x298)][_0x477c23(0x26f)],_0x477c23(0x297)));return this[_0x477c23(0x230)][_0x477c23(0x23b)]({'channelId':_0x360436,'threadId':_0x4cc8e1,'commentId':_0x4e9df9,'content':_0x575575,'attributes':_0x18efa8})[_0x477c23(0x262)](()=>_0x3bdb6e[_0x477c23(0x1b5)](_0x2fabdd))[_0x477c23(0x255)](_0x56a559=>{const _0x5e0619=_0x477c23;throw console[_0x5e0619(0x1ca)](_0x56a559),new _0x1d4334(_0x5e0619(0x288),this);});}[_0x3481a3(0x260)]({threadId:_0x25b39f,commentId:_0x4b5c4d,isFromAdapter:_0x39a4a3}){const _0x5a7fa1=_0x3481a3,_0x4a087f=this[_0x5a7fa1(0x22a)](_0x25b39f),_0x3aa96c=_0x4a087f[_0x5a7fa1(0x1e2)](_0x4b5c4d);if(!_0x3aa96c)throw new _0x1d4334(_0x5a7fa1(0x1b4),this);if(_0x4a087f[_0x5a7fa1(0x1ef)](_0x3aa96c),_0x39a4a3||!this[_0x5a7fa1(0x230)]||_0x5a7fa1(0x1cf)!=typeof this[_0x5a7fa1(0x230)][_0x5a7fa1(0x237)])return Promise[_0x5a7fa1(0x26e)]();const _0x511756=this[_0x5a7fa1(0x298)][_0x5a7fa1(0x1b9)][_0x5a7fa1(0x25c)](_0x5a7fa1(0x213)),{channelId:_0x2acc42}=_0x4a087f,_0x432ee2=_0x511756[_0x5a7fa1(0x23f)](_0x29990e(this[_0x5a7fa1(0x298)][_0x5a7fa1(0x26f)],_0x5a7fa1(0x297)));return this[_0x5a7fa1(0x230)][_0x5a7fa1(0x237)]({'channelId':_0x2acc42,'threadId':_0x25b39f,'commentId':_0x4b5c4d})[_0x5a7fa1(0x262)](()=>_0x511756[_0x5a7fa1(0x1b5)](_0x432ee2))[_0x5a7fa1(0x255)](_0x29c7ab=>{const _0x494ba5=_0x5a7fa1;throw console[_0x494ba5(0x1ca)](_0x29c7ab),new _0x1d4334(_0x494ba5(0x1e3),this);});}}function _0x29ee(_0x3bf926,_0x284666){const _0x5da5fc=_0x5da5();return _0x29ee=function(_0x29ee7a,_0x18f6a6){_0x29ee7a=_0x29ee7a-0x1b4;let _0x294165=_0x5da5fc[_0x29ee7a];return _0x294165;},_0x29ee(_0x3bf926,_0x284666);}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x24bfd6(){[_0x3481a3(0x269)];['id'];[_0x3481a3(0x1e0)];[_0x3481a3(0x1ec)];[_0x3481a3(0x1cb)];[_0x3481a3(0x1dc)];constructor(_0x3ce152,_0x5ec80f){const _0x4fd3fc=_0x3481a3;super();const _0x42b4e0=_0x5ec80f[_0x4fd3fc(0x214)];this[_0x4fd3fc(0x269)]=_0x5ec80f[_0x4fd3fc(0x269)],this['id']=_0x5ec80f['id'],this[_0x4fd3fc(0x1cb)]=new _0x5d93de(),this[_0x4fd3fc(0x1dc)]=_0x3ce152,this[_0x4fd3fc(0x1e0)]=!0x1,this[_0x4fd3fc(0x1ec)]=_0x5ec80f[_0x4fd3fc(0x25b)],this[_0x4fd3fc(0x26b)](_0x4fd3fc(0x1c2),!0x0),this[_0x4fd3fc(0x1bd)](_0x4fd3fc(0x23d))['to'](_0x3ce152,_0x4fd3fc(0x28b),_0x3ce152,_0x4fd3fc(0x242),()=>_0x3ce152[_0x4fd3fc(0x23d)](this[_0x4fd3fc(0x269)])),this[_0x4fd3fc(0x1bd)](_0x4fd3fc(0x246))['to'](_0x3ce152,_0x4fd3fc(0x28b),()=>_0x3ce152[_0x4fd3fc(0x1c4)](this[_0x4fd3fc(0x269)])[_0x4fd3fc(0x234)]),this[_0x4fd3fc(0x1bd)](_0x4fd3fc(0x265))['to'](_0x3ce152,_0x4fd3fc(0x28b),()=>{const _0x5c7fe2=_0x4fd3fc,_0x5a9ad1=_0x3ce152[_0x5c7fe2(0x1c4)](this[_0x5c7fe2(0x269)]);return _0x5a9ad1[_0x5c7fe2(0x1c0)]||_0x5a9ad1[_0x5c7fe2(0x234)];}),this[_0x4fd3fc(0x1bd)](_0x4fd3fc(0x214))['to'](_0x3ce152,_0x4fd3fc(0x28b),()=>_0x42b4e0&&_0x3ce152[_0x4fd3fc(0x1c4)](this[_0x4fd3fc(0x269)])[_0x4fd3fc(0x26e)]),this[_0x4fd3fc(0x26b)](_0x4fd3fc(0x298),_0x5ec80f[_0x4fd3fc(0x298)]),this[_0x4fd3fc(0x1bd)](_0x4fd3fc(0x21e))['to'](this,_0x4fd3fc(0x21b),this,_0x4fd3fc(0x24e),(_0x20d0bb,_0x6ae2dd)=>_0x20d0bb?_0x6ae2dd?_0x20d0bb<_0x6ae2dd?_0x20d0bb:_0x6ae2dd:_0x20d0bb:_0x6ae2dd),this[_0x4fd3fc(0x26b)](_0x4fd3fc(0x24e),_0x5ec80f[_0x4fd3fc(0x24e)]||null),this[_0x4fd3fc(0x26b)](_0x4fd3fc(0x21b),_0x5ec80f[_0x4fd3fc(0x21b)]||null),this[_0x4fd3fc(0x26b)](_0x4fd3fc(0x243),_0x5ec80f[_0x4fd3fc(0x243)]||null),this[_0x4fd3fc(0x1bd)](_0x4fd3fc(0x293))['to'](this,_0x4fd3fc(0x21b),_0x11d8cb=>!!_0x11d8cb),this[_0x4fd3fc(0x26b)](_0x4fd3fc(0x278),_0x5ec80f[_0x4fd3fc(0x278)]||{});}get[_0x3481a3(0x28d)](){const _0x4bf554=_0x3481a3;return Array[_0x4bf554(0x229)](this[_0x4bf554(0x1cb)])[_0x4bf554(0x1c9)]((_0x4ca51b,_0x76758)=>_0x4ca51b+_0x76758[_0x4bf554(0x28d)],0x0);}get[_0x3481a3(0x244)](){const _0x2268fd=_0x3481a3;return this[_0x2268fd(0x1cb)][_0x2268fd(0x244)];}get[_0x3481a3(0x24d)](){const _0x2b0f46=_0x3481a3;return this[_0x2b0f46(0x1e0)];}get[_0x3481a3(0x25b)](){const _0x2369fc=_0x3481a3;return this[_0x2369fc(0x1ec)];}[_0x3481a3(0x239)](){const _0x50f124=_0x3481a3,{channelId:_0x33b23a,id:_0x1da937}=this;this[_0x50f124(0x1dc)][_0x50f124(0x20e)](Nt(_0x50f124(0x24b),_0x33b23a),{'channelId':_0x33b23a,'threadId':_0x1da937});}[_0x3481a3(0x287)](_0x525198){const _0x4f2cd3=_0x3481a3;this[_0x4f2cd3(0x217)]({'unlinkedAt':_0x525198});}[_0x3481a3(0x26e)]({resolvedAt:_0x27b140=new Date(),resolvedBy:_0x534a4b='',isFromAdapter:_0x5c0b94=!0x1}={}){const _0x5dad0f=_0x3481a3,_0x170e0a=this[_0x5dad0f(0x1dc)][_0x5dad0f(0x298)][_0x5dad0f(0x1b9)][_0x5dad0f(0x25c)](_0x3cbcd6)['me'],{channelId:_0x3ddd47,id:_0x58de6a}=this;this[_0x5dad0f(0x1dc)][_0x5dad0f(0x20e)](Nt(_0x5dad0f(0x21a),_0x3ddd47),{'channelId':_0x3ddd47,'threadId':_0x58de6a,'resolvedAt':_0x27b140,'resolvedBy':_0x534a4b||_0x170e0a['id'],'isFromAdapter':_0x5c0b94});}[_0x3481a3(0x211)]({isFromAdapter:_0x5e4c93=!0x1}={}){const _0x4b144e=_0x3481a3,{channelId:_0x4b0dc8,id:_0x3a9c5b}=this;this[_0x4b144e(0x1dc)][_0x4b144e(0x20e)](Nt(_0x4b144e(0x1c5),_0x4b0dc8),{'channelId':_0x4b0dc8,'threadId':_0x3a9c5b,'isFromAdapter':_0x5e4c93});}[_0x3481a3(0x253)](_0x34ad76){const _0x11b470=_0x3481a3;this[_0x11b470(0x298)]||this[_0x11b470(0x217)]({'context':_0x34ad76});}[_0x3481a3(0x286)](_0x29dfa6,_0x1432d1){const _0x105ea8=_0x3481a3,_0x157567=_0x26123e(this[_0x105ea8(0x278)]);_0x13c94f(_0x157567,_0x29dfa6,_0x1432d1),this[_0x105ea8(0x217)]({'attributes':_0x157567});}[_0x3481a3(0x280)](_0x4eff20){const _0x1732bd=_0x3481a3,_0x430eeb=_0x26123e(this[_0x1732bd(0x278)]);_0x2bd33a(_0x430eeb,_0x4eff20),this[_0x1732bd(0x217)]({'attributes':_0x430eeb});}[_0x3481a3(0x1b5)]({isFromAdapter:_0x501c8b=!0x1}={}){const _0x5a2fab=_0x3481a3,{channelId:_0x77f1b7,id:_0x57b14c}=this;this[_0x5a2fab(0x1dc)][_0x5a2fab(0x20e)](Nt(_0x5a2fab(0x221),_0x77f1b7),{'channelId':_0x77f1b7,'threadId':_0x57b14c,'isFromAdapter':_0x501c8b});}[_0x3481a3(0x24c)](_0x160e68){const _0x49053e=_0x3481a3;return this[_0x49053e(0x1dc)][_0x49053e(0x202)]({'threadId':this['id'],'target':_0x160e68});}[_0x3481a3(0x1f0)](_0x5bd597){const _0x1248a2=_0x3481a3,{channelId:_0x48c773,id:_0x427e81}=this;this[_0x1248a2(0x1dc)][_0x1248a2(0x20e)](Nt(_0x1248a2(0x1f0),_0x48c773,_0x427e81),Object[_0x1248a2(0x1bb)]({'channelId':_0x48c773,'threadId':_0x427e81},_0x5bd597));}[_0x3481a3(0x1e2)](_0x28a3b1){const _0x59ffb1=_0x3481a3;if(_0x59ffb1(0x29b)!=typeof _0x28a3b1)throw new _0x1d4334(_0x59ffb1(0x1e7),null,{'commentId':_0x28a3b1});return this[_0x59ffb1(0x1cb)][_0x59ffb1(0x25c)](_0x28a3b1);}[_0x3481a3(0x21c)](){const _0x53a79e=_0x3481a3;return{'threadId':this['id'],'context':this[_0x53a79e(0x298)],'unlinkedAt':this[_0x53a79e(0x24e)],'resolvedAt':this[_0x53a79e(0x21b)],'resolvedBy':this[_0x53a79e(0x243)]?this[_0x53a79e(0x243)]['id']:null,'archivedAt':this[_0x53a79e(0x21e)],'comments':this[_0x53a79e(0x1cb)][_0x53a79e(0x20b)](_0x510bdc=>_0x510bdc[_0x53a79e(0x21c)]()),'attributes':this[_0x53a79e(0x278)]};}[_0x3481a3(0x1e1)](_0x3dd315){const _0x30f0fb=_0x3481a3;return this[_0x30f0fb(0x218)](_0x3dd315,_0x30f0fb(0x27c),()=>{const _0x4c6937=_0x30f0fb,_0x2d988c=this[_0x4c6937(0x241)](_0x3dd315),_0x1af892=this[_0x4c6937(0x1cb)];_0x2d988c-0x1!=_0x1af892[_0x4c6937(0x1da)](_0x3dd315)&&_0x2d988c+0x1!=_0x1af892[_0x4c6937(0x1da)](_0x3dd315)&&(this[_0x4c6937(0x1ef)](_0x3dd315),this[_0x4c6937(0x1e1)](_0x3dd315));}),this[_0x30f0fb(0x1cb)][_0x30f0fb(0x23f)](_0x3dd315,this[_0x30f0fb(0x241)](_0x3dd315));}[_0x3481a3(0x217)](_0x3d9a21){const _0x369481=_0x3481a3,{channelId:_0x295c14,id:_0x4aefe2}=this;this[_0x369481(0x1dc)][_0x369481(0x20e)](Nt(_0x369481(0x250),_0x295c14),{..._0x3d9a21,'channelId':_0x295c14,'threadId':_0x4aefe2});}[_0x3481a3(0x1ef)](_0x291cbc){const _0x267c55=_0x3481a3;return this[_0x267c55(0x27e)](_0x291cbc),_0x291cbc[_0x267c55(0x1cd)](),this[_0x267c55(0x1cb)][_0x267c55(0x1b5)](_0x291cbc);}[_0x3481a3(0x241)](_0x139d51){const _0xbaeaa=_0x3481a3,_0xa6f87b=this[_0xbaeaa(0x1cb)][_0xbaeaa(0x249)](_0x2f8180=>new Date(_0x2f8180[_0xbaeaa(0x1dd)])[_0xbaeaa(0x1c7)]()>new Date(_0x139d51[_0xbaeaa(0x1dd)])[_0xbaeaa(0x1c7)]());return _0xa6f87b?this[_0xbaeaa(0x1cb)][_0xbaeaa(0x1da)](_0xa6f87b):this[_0xbaeaa(0x244)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x24bfd6(){['id'];[_0x3481a3(0x261)];[_0x3481a3(0x289)];[_0x3481a3(0x21d)];[_0x3481a3(0x223)];[_0x3481a3(0x27b)];[_0x3481a3(0x1dc)];constructor(_0x3a126b,_0x2f237e){const _0x310d34=_0x3481a3;super();const _0x523a46=_0x3a126b[_0x310d34(0x298)][_0x310d34(0x1b9)][_0x310d34(0x25c)](_0x3cbcd6)['me'],_0x5516ad=_0x3a126b[_0x310d34(0x22a)](_0x2f237e[_0x310d34(0x261)]),_0x1f23f7=0x0===_0x5516ad[_0x310d34(0x1cb)][_0x310d34(0x244)],_0x1e93cb=_0x523a46===_0x2f237e[_0x310d34(0x289)];this['id']=_0x2f237e['id'],this[_0x310d34(0x261)]=_0x2f237e[_0x310d34(0x261)],this[_0x310d34(0x289)]=_0x2f237e[_0x310d34(0x289)],this[_0x310d34(0x21d)]=_0x2f237e[_0x310d34(0x21d)],this[_0x310d34(0x223)]=Boolean(_0x2f237e[_0x310d34(0x278)]&&_0x2f237e[_0x310d34(0x278)][_0x310d34(0x20a)]),this[_0x310d34(0x26b)](_0x310d34(0x23e),_0x2f237e[_0x310d34(0x23e)]),this[_0x310d34(0x27b)]=_0x2f237e[_0x310d34(0x27b)]||new Date(),this[_0x310d34(0x26b)](_0x310d34(0x1dd),_0x2f237e[_0x310d34(0x1dd)]||new Date()),this[_0x310d34(0x1bd)](_0x310d34(0x21b))['to'](_0x5516ad,_0x310d34(0x21b)),this[_0x310d34(0x26b)](_0x310d34(0x278),_0x2f237e[_0x310d34(0x278)]||{}),this[_0x310d34(0x1bd)](_0x310d34(0x25d))['to'](_0x3a126b,_0x310d34(0x28b),()=>{const _0x95d57=_0x310d34,_0x18f807=_0x3a126b[_0x95d57(0x1c4)](_0x5516ad[_0x95d57(0x269)])[_0x95d57(0x1c0)],_0x40fe08=_0x3a126b[_0x95d57(0x1c4)](_0x5516ad[_0x95d57(0x269)])[_0x95d57(0x284)];return _0x1e93cb&&_0x18f807||!_0x1e93cb&&_0x40fe08;}),this[_0x310d34(0x1bd)](_0x310d34(0x246))['to'](_0x5516ad,_0x310d34(0x246),_0x3a126b,_0x310d34(0x28b),_0x314769=>{const _0x1939a2=_0x310d34,_0x301fe8=_0x3a126b[_0x1939a2(0x1c4)](_0x5516ad[_0x1939a2(0x269)])[_0x1939a2(0x1c0)],_0x4cdfb9=_0x3a126b[_0x1939a2(0x1c4)](_0x5516ad[_0x1939a2(0x269)])[_0x1939a2(0x284)];return _0x1e93cb&&_0x301fe8||_0x314769&&_0x1f23f7||!_0x1e93cb&&_0x4cdfb9&&!_0x1f23f7;}),this[_0x310d34(0x1bd)](_0x310d34(0x23d))['to'](_0x5516ad,_0x310d34(0x23d)),this[_0x310d34(0x1dc)]=_0x3a126b;}get[_0x3481a3(0x28d)](){const _0x307263=_0x3481a3;return Math[_0x307263(0x279)](function(_0x3adda6){const _0x8b7f5d=_0x307263,_0x1c5bf2=document[_0x8b7f5d(0x25a)](_0x8b7f5d(0x204));return _0x1c5bf2[_0x8b7f5d(0x1ea)]=_0x3adda6,_0x1c5bf2[_0x8b7f5d(0x1d7)][_0x8b7f5d(0x244)];}(this[_0x307263(0x23e)]),0xc8);}[_0x3481a3(0x25e)](_0x17d307){const _0x12af2c=_0x3481a3,{threadId:_0x286ca0,id:_0x4b33fc}=this;if(!this[_0x12af2c(0x1dc)][_0x12af2c(0x22f)](_0x286ca0))throw new _0x1d4334(_0x12af2c(0x22e),this);const {channelId:_0x4a6809}=this[_0x12af2c(0x1dc)][_0x12af2c(0x22a)](_0x286ca0);this[_0x12af2c(0x1dc)][_0x12af2c(0x20e)](Nt(_0x12af2c(0x23b),_0x4a6809,_0x286ca0),{'channelId':_0x4a6809,'threadId':_0x286ca0,'commentId':_0x4b33fc,..._0x17d307});}[_0x3481a3(0x286)](_0x9fd93d,_0x3b204c){const _0x2c18f5=_0x3481a3,_0x347183=_0x26123e(this[_0x2c18f5(0x278)]);_0x13c94f(_0x347183,_0x9fd93d,_0x3b204c),this[_0x2c18f5(0x25e)]({'attributes':_0x347183});}[_0x3481a3(0x280)](_0x16438e){const _0x40b06c=_0x3481a3,_0xdc13dc=_0x26123e(this[_0x40b06c(0x278)]);_0x2bd33a(_0xdc13dc,_0x16438e),this[_0x40b06c(0x25e)]({'attributes':_0xdc13dc});}[_0x3481a3(0x1b5)](_0x4a0d95={}){const _0x7325ef=_0x3481a3;if(!_0x4a0d95[_0x7325ef(0x200)]&&!this[_0x7325ef(0x246)])return;const {threadId:_0x4bd2bc,id:_0x7be6de}=this;if(!this[_0x7325ef(0x1dc)][_0x7325ef(0x22f)](_0x4bd2bc))throw new _0x1d4334(_0x7325ef(0x1cc),this);const {channelId:_0x258d67}=this[_0x7325ef(0x1dc)][_0x7325ef(0x22a)](_0x4bd2bc);this[_0x7325ef(0x1dc)][_0x7325ef(0x20e)](Nt(_0x7325ef(0x237),_0x258d67,_0x4bd2bc),{'channelId':_0x258d67,'threadId':_0x4bd2bc,'commentId':_0x7be6de,..._0x4a0d95});}[_0x3481a3(0x21c)](){const _0x1a9969=_0x3481a3;return{'commentId':this['id'],'content':this[_0x1a9969(0x23e)],'createdAt':this[_0x1a9969(0x27b)],'authorId':this[_0x1a9969(0x21d)]['id'],'attributes':this[_0x1a9969(0x278)]};}[_0x3481a3(0x1cd)](){const _0x290a44=_0x3481a3;this[_0x290a44(0x27e)]();}}function Nt(_0x5202e7,..._0xb28da5){for(const _0x2336c1 of _0xb28da5)void 0x0!==_0x2336c1&&(_0x5202e7+=':'+String(_0x2336c1));return _0x5202e7;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4f51f1=_0x52d8;(function(_0x6d2a05,_0x1c882b){const _0x2abda8=_0x52d8,_0x6fa8e4=_0x6d2a05();while(!![]){try{const _0x53133f=-parseInt(_0x2abda8(0x1fe))/0x1+parseInt(_0x2abda8(0x22b))/0x2+-parseInt(_0x2abda8(0x234))/0x3*(-parseInt(_0x2abda8(0x1e3))/0x4)+-parseInt(_0x2abda8(0x232))/0x5*(-parseInt(_0x2abda8(0x20c))/0x6)+parseInt(_0x2abda8(0x201))/0x7*(-parseInt(_0x2abda8(0x217))/0x8)+parseInt(_0x2abda8(0x214))/0x9+parseInt(_0x2abda8(0x216))/0xa*(-parseInt(_0x2abda8(0x21f))/0xb);if(_0x53133f===_0x1c882b)break;else _0x6fa8e4['push'](_0x6fa8e4['shift']());}catch(_0x3cd701){_0x6fa8e4['push'](_0x6fa8e4['shift']());}}}(_0x4faa,0xacb22));function _0x52d8(_0x5dd058,_0xe89a6e){const _0x4faa42=_0x4faa();return _0x52d8=function(_0x52d8f7,_0x507cb0){_0x52d8f7=_0x52d8f7-0x1de;let _0x3910de=_0x4faa42[_0x52d8f7];return _0x3910de;},_0x52d8(_0x5dd058,_0xe89a6e);}import{Plugin as _0x3c4971}from'ckeditor5/src/core.js';import{IconAddComment as _0x235288}from'ckeditor5/src/icons.js';import{CommentsRepository as _0x117c2b}from'./commentsrepository.js';function _0x4faa(){const _0x42acda=['focus','_licenseKeyCheckInterval','init','has','requires','model','licenseKey','2154yPVwkZ','bind','commentsLicenseKeyDomainLimit','activeMarker','isOfficialPlugin','isPremiumPlugin','isEnabled','_showLicenseError','9578277wkcDZs','stop','257930ugPbfz','433256TNGkMl','commentsLicenseKeyValid','hasContent','removeCommentThread','getRange','commentsLicenseKeyInvalid','set','tooltip','385KYuHfD','domainLimit','addComment','evaluationLimit','from','expired','Comments','commentsLicenseKeyNotAllowed','hasMarkerForId','getCommentThread','commentsLicenseKeyEvaluationLimit','menuBar:comment','1381254paMyqB','pluginName','commentsLicenseKeyUsageLimit','listenTo','trialLimit','plugins','editing','5190clHkyw','Comment','3KsqXJj','commands','view','addSourceCollector','hasCommentThread','highest','length','4198956QquWcU','push','_viewToController','get','_threadToController','commentsLicenseKeyExpired','innerView','comment','componentFactory','_createUIButton','getAllMarkersForId','locale','CommentsListView','destroy','commentsLicenseKeyTrialLimit','find','config','addCommentThread','CommentsUI','change:activeAnnotations','execute','add','map','CommentThreadInputView','invalid','comment:','featureNotAllowed','159062YezMpo','focusTracker','editor','182JVHDKU','low','isFocused','usageLimit'];_0x4faa=function(){return _0x42acda;};return _0x4faa();}import{CommentsEditing as _0x1e403f}from'./commentsediting.js';import{EditorAnnotations as _0x530a79}from'../annotations/editorannotations.js';import{ButtonView as _0x5ad535,MenuBarMenuListItemButtonView as _0x36fa91}from'ckeditor5/src/ui.js';import{Annotations as _0x3ca624}from'../annotations/annotations.js';import{CommentsListView as _0x5f0438}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0xe0c035}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x32786b}from'../utils/common-translations.js';export class CommentsUI extends _0x3c4971{[_0x4f51f1(0x20b)];[_0x4f51f1(0x206)];static get[_0x4f51f1(0x22c)](){const _0x4123c2=_0x4f51f1;return _0x4123c2(0x1f5);}static get[_0x4f51f1(0x210)](){return!0x0;}static get[_0x4f51f1(0x211)](){return!0x0;}static get[_0x4f51f1(0x209)](){return[_0x117c2b,_0x1e403f,_0x530a79,_0x3ca624];}get[_0x4f51f1(0x1ef)](){return _0x5f0438;}get[_0x4f51f1(0x1fa)](){return _0xe0c035;}[_0x4f51f1(0x207)](){const _0x305d1e=_0x4f51f1,_0x3169bc=this[_0x305d1e(0x200)],_0x23c4b9=_0x3169bc[_0x305d1e(0x230)][_0x305d1e(0x1e6)](_0x117c2b),_0x1f4ca2=_0x3169bc[_0x305d1e(0x230)][_0x305d1e(0x1e6)](_0x1e403f),_0x4bc021=_0x3169bc[_0x305d1e(0x230)][_0x305d1e(0x1e6)](_0x3ca624),_0x326262=_0x3169bc[_0x305d1e(0x230)][_0x305d1e(0x1e6)](_0x530a79);_0x3169bc['ui'][_0x305d1e(0x1eb)][_0x305d1e(0x1f8)](_0x305d1e(0x1ea),()=>{const _0x4302c5=_0x305d1e,_0x34bd50=this[_0x4302c5(0x1ec)](_0x5ad535);return _0x34bd50[_0x4302c5(0x21e)]=!0x0,_0x34bd50;}),_0x3169bc['ui'][_0x305d1e(0x1eb)][_0x305d1e(0x1f8)](_0x305d1e(0x22a),()=>this[_0x305d1e(0x1ec)](_0x36fa91)),_0x326262[_0x305d1e(0x1df)](()=>{const _0x56b755=_0x305d1e,_0x3fb44a=[];for(const [_0x48cf68,_0x1965f7]of _0x23c4b9[_0x56b755(0x1e7)]){const _0x5a0df9=_0x1f4ca2[_0x56b755(0x1ed)](_0x48cf68['id']),_0x129606=_0x5a0df9[_0x56b755(0x1f9)](_0x57c444=>_0x57c444[_0x56b755(0x21b)]());_0x5a0df9[_0x56b755(0x1e2)]>0x0&&_0x3fb44a[_0x56b755(0x1e4)]([_0x1965f7[_0x56b755(0x1de)],_0x129606]);}return _0x3fb44a;}),this[_0x305d1e(0x22e)](_0x4bc021,_0x305d1e(0x1f6),(_0x45fb35,_0x46933c,_0x192e30)=>{const _0x3948f6=_0x305d1e,_0x644ca7=Array[_0x3948f6(0x223)](_0x192e30)[_0x3948f6(0x1f9)](_0x5d7441=>_0x5d7441[_0x3948f6(0x1e9)])[_0x3948f6(0x1f2)](_0x554ee2=>_0x23c4b9[_0x3948f6(0x1e5)][_0x3948f6(0x208)](_0x554ee2));if(!_0x644ca7)return void(_0x1f4ca2[_0x3948f6(0x20f)]=null);const _0x27a080=_0x23c4b9[_0x3948f6(0x1e5)][_0x3948f6(0x1e6)](_0x644ca7)[_0x3948f6(0x20a)]['id'],_0x170df9=_0x3948f6(0x1fc)+_0x27a080;_0x27a080&&_0x1f4ca2[_0x3948f6(0x227)](_0x27a080)?_0x1f4ca2[_0x3948f6(0x20f)]=_0x170df9:_0x1f4ca2[_0x3948f6(0x20f)]&&(_0x1f4ca2[_0x3948f6(0x20f)]=null);}),this[_0x305d1e(0x22e)](_0x23c4b9,_0x305d1e(0x21a),(_0x5e9101,{threadId:_0x5a6cc2,isFromAdapter:_0x2c33e8})=>{const _0x7776c3=_0x305d1e;!_0x2c33e8&&_0x3169bc['ui'][_0x7776c3(0x1ff)][_0x7776c3(0x203)]&&_0x1f4ca2[_0x7776c3(0x227)](_0x5a6cc2)&&_0x3169bc[_0x7776c3(0x231)][_0x7776c3(0x1de)][_0x7776c3(0x205)]();},{'priority':_0x305d1e(0x1e1)}),this[_0x305d1e(0x22e)](_0x23c4b9,_0x305d1e(0x221),(_0x5015e5,{threadId:_0x5e0b3b,isFromAdapter:_0x219862})=>{const _0x4ea912=_0x305d1e;if(_0x219862||!_0x1f4ca2[_0x4ea912(0x227)](_0x5e0b3b)||!_0x23c4b9[_0x4ea912(0x1e0)](_0x5e0b3b))return;0x1===_0x23c4b9[_0x4ea912(0x228)](_0x5e0b3b)[_0x4ea912(0x1e2)]&&(_0x3169bc[_0x4ea912(0x231)][_0x4ea912(0x1de)][_0x4ea912(0x205)](),_0x5015e5[_0x4ea912(0x215)]());},{'priority':_0x305d1e(0x202)}),this[_0x305d1e(0x20b)]=this[_0x305d1e(0x200)][_0x305d1e(0x1f3)][_0x305d1e(0x1e6)](_0x305d1e(0x20b));const _0x3a2edc=this[_0x305d1e(0x200)];this[_0x305d1e(0x206)]=setInterval(()=>{const _0x5047e8=_0x305d1e;let _0x389fee;for(const _0x4b991f in _0x3a2edc){const _0x227d46=_0x4b991f,_0x5921dd=_0x3a2edc[_0x227d46];if(_0x5047e8(0x218)==_0x5921dd||_0x5047e8(0x21c)==_0x5921dd||_0x5047e8(0x1e8)==_0x5921dd||_0x5047e8(0x20e)==_0x5921dd||_0x5047e8(0x226)==_0x5921dd||_0x5047e8(0x229)==_0x5921dd||_0x5047e8(0x1f1)==_0x5921dd||_0x5047e8(0x22d)==_0x5921dd){delete _0x3a2edc[_0x227d46],_0x389fee=_0x5921dd,clearInterval(this[_0x5047e8(0x206)]),this[_0x5047e8(0x206)]=void 0x0;break;}}_0x5047e8(0x21c)==_0x389fee&&_0x3a2edc[_0x5047e8(0x213)](_0x5047e8(0x1fb)),_0x5047e8(0x1e8)==_0x389fee&&_0x3a2edc[_0x5047e8(0x213)](_0x5047e8(0x224)),_0x5047e8(0x20e)==_0x389fee&&_0x3a2edc[_0x5047e8(0x213)](_0x5047e8(0x220)),_0x5047e8(0x226)==_0x389fee&&_0x3a2edc[_0x5047e8(0x213)](_0x5047e8(0x1fd),_0x5047e8(0x225)),_0x5047e8(0x229)==_0x389fee&&_0x3a2edc[_0x5047e8(0x213)](_0x5047e8(0x222)),_0x5047e8(0x1f1)==_0x389fee&&_0x3a2edc[_0x5047e8(0x213)](_0x5047e8(0x22f)),_0x5047e8(0x22d)==_0x389fee&&_0x3a2edc[_0x5047e8(0x213)](_0x5047e8(0x204));},0x3e8);}[_0x4f51f1(0x1f0)](){const _0x49c10e=_0x4f51f1;super[_0x49c10e(0x1f0)](),this[_0x49c10e(0x206)]&&clearInterval(this[_0x49c10e(0x206)]);}[_0x4f51f1(0x1ec)](_0x2c6e6e){const _0x4acdc8=_0x4f51f1,_0x18a87c=this[_0x4acdc8(0x200)],_0x1571c6=new _0x2c6e6e(_0x18a87c[_0x4acdc8(0x1ee)]),_0x3a3020=_0x18a87c[_0x4acdc8(0x235)][_0x4acdc8(0x1e6)](_0x4acdc8(0x1f4));return _0x1571c6[_0x4acdc8(0x21d)]({'label':_0x32786b(_0x18a87c[_0x4acdc8(0x1ee)],_0x4acdc8(0x233)),'icon':_0x235288}),_0x1571c6[_0x4acdc8(0x20d)](_0x4acdc8(0x212))['to'](_0x3a3020,_0x4acdc8(0x219)),this[_0x4acdc8(0x22e)](_0x1571c6,_0x4acdc8(0x1f7),()=>{const _0x4caf86=_0x4acdc8;_0x3a3020[_0x4caf86(0x1f7)]();}),_0x1571c6;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x6add(){const _0x32ca78=['markers','9YhpmAY','contentInsertion','3111864WxODtv','editor','comments.copyMarkers','cut','2998170qJqqOw','11211440mkEvlS','dragstart','plugins','134KbIWun','_mapCommentsCopyConfigToRegisterConfiguration','5546808YjLutQ','15117nSGLFI','_removeMarkersWithoutThreads','content','default','always','delete','820145ISFFHm','ClipboardMarkersUtils','afterInit','has','hasCommentThread','define','config','get','all','split','28vwfPlw','_registerMarkerToCopy','listenTo','_registerMarkerInClipboardPipeline','7894180UnBGeP','requires','highest','CommentsRepository','keys','ClipboardPipeline','never','comment'];_0x6add=function(){return _0x32ca78;};return _0x6add();}const _0x234ea0=_0x4423;function _0x4423(_0x1e65a9,_0x436529){const _0x6addeb=_0x6add();return _0x4423=function(_0x442364,_0x3a79ee){_0x442364=_0x442364-0x1cf;let _0x353314=_0x6addeb[_0x442364];return _0x353314;},_0x4423(_0x1e65a9,_0x436529);}(function(_0x55a2a3,_0x49dab6){const _0x5631c5=_0x4423,_0x394262=_0x55a2a3();while(!![]){try{const _0x3d053e=parseInt(_0x5631c5(0x1f8))/0x1*(parseInt(_0x5631c5(0x1f5))/0x2)+-parseInt(_0x5631c5(0x1ed))/0x3+parseInt(_0x5631c5(0x1de))/0x4*(parseInt(_0x5631c5(0x1d4))/0x5)+parseInt(_0x5631c5(0x1f1))/0x6+parseInt(_0x5631c5(0x1e2))/0x7+-parseInt(_0x5631c5(0x1f7))/0x8+parseInt(_0x5631c5(0x1eb))/0x9*(-parseInt(_0x5631c5(0x1f2))/0xa);if(_0x3d053e===_0x49dab6)break;else _0x394262['push'](_0x394262['shift']());}catch(_0x212d20){_0x394262['push'](_0x394262['shift']());}}}(_0x6add,0xe4af6));import{Plugin as _0x31a096}from'ckeditor5/src/core.js';import{ClipboardPipeline as _0x392700,ClipboardMarkersUtils as _0x1a7d04}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x31a096{constructor(_0x4c535c){const _0x58a7fd=_0x4423;super(_0x4c535c),this[_0x58a7fd(0x1ee)][_0x58a7fd(0x1da)][_0x58a7fd(0x1d9)](_0x58a7fd(0x1ef),_0x58a7fd(0x1d1));}static get[_0x234ea0(0x1e3)](){return[_0x1a7d04,_0x392700];}[_0x234ea0(0x1d6)](){const _0x497838=_0x234ea0,_0x56401c=this[_0x497838(0x1ee)][_0x497838(0x1f4)][_0x497838(0x1db)](_0x497838(0x1e7));this[_0x497838(0x1e1)](),this[_0x497838(0x1e0)](_0x56401c,_0x497838(0x1ec),(_0x4aedaa,_0x89207d)=>this[_0x497838(0x1cf)](_0x89207d[_0x497838(0x1d0)][_0x497838(0x1ea)]),{'priority':_0x497838(0x1e4)});}[_0x234ea0(0x1cf)](_0x30ace4){const _0x3804d6=_0x234ea0;if(!this[_0x3804d6(0x1ee)][_0x3804d6(0x1f4)][_0x3804d6(0x1d7)](_0x3804d6(0x1e5)))return _0x30ace4;const _0x23704c=this[_0x3804d6(0x1ee)][_0x3804d6(0x1f4)][_0x3804d6(0x1db)](_0x3804d6(0x1e5));for(const _0x52cd96 of _0x30ace4[_0x3804d6(0x1e6)]()){const [_0x35959e,_0x469502]=_0x52cd96[_0x3804d6(0x1dd)](':');_0x3804d6(0x1e9)!=_0x35959e||_0x23704c[_0x3804d6(0x1d8)](_0x469502)||_0x30ace4[_0x3804d6(0x1d3)](_0x52cd96);}return _0x30ace4;}[_0x234ea0(0x1e1)](){const _0x34b13a=_0x234ea0,_0x236ada=this[_0x34b13a(0x1ee)][_0x34b13a(0x1f4)][_0x34b13a(0x1db)](_0x34b13a(0x1d5)),_0x46fba2=this[_0x34b13a(0x1f6)](this[_0x34b13a(0x1ee)][_0x34b13a(0x1da)][_0x34b13a(0x1db)](_0x34b13a(0x1ef)));_0x46fba2&&_0x236ada[_0x34b13a(0x1df)](_0x34b13a(0x1e9),_0x46fba2);}[_0x234ea0(0x1f6)](_0xc9ff14){const _0x395f11=_0x234ea0;switch(_0xc9ff14){case _0x395f11(0x1d2):return{'allowedActions':_0x395f11(0x1dc),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x395f11(0x1d1):return{'allowedActions':[_0x395f11(0x1f0),_0x395f11(0x1f3)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x395f11(0x1e8):return null;default:return null;}}}
|