@ckeditor/ckeditor5-comments 47.7.0 → 47.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/comments.js +1 -1
- package/dist/index.js +11 -11
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +19 -19
- package/src/annotations/annotation.js +2 -2
- package/src/annotations/annotationcollection.js +1 -1
- package/src/annotations/annotations.js +1 -1
- package/src/annotations/annotationsuis.js +1 -1
- package/src/annotations/editorannotations.js +1 -1
- package/src/annotations/inlineannotations.js +1 -1
- package/src/annotations/narrowsidebar.js +1 -1
- package/src/annotations/sidebar.js +1 -1
- package/src/annotations/view/annotationcounterbuttonview.js +1 -1
- package/src/annotations/view/annotationview.js +1 -1
- package/src/annotations/view/sidebaritemview.js +2 -2
- package/src/annotations/view/sidebarview.js +2 -2
- package/src/annotations/widesidebar.js +1 -1
- package/src/comments/addcommentthreadcommand.js +1 -1
- package/src/comments/commentsarchive.js +1 -1
- package/src/comments/commentsarchiveui.js +1 -1
- package/src/comments/commentsediting.js +1 -1
- package/src/comments/commentsrepository.js +3 -3
- package/src/comments/commentsui.js +1 -1
- package/src/comments/integrations/clipboard.js +1 -1
- package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
- package/src/comments/integrations/importword.js +1 -1
- package/src/comments/integrations/showcommenthighlights.js +1 -1
- package/src/comments/ui/commenteditor/commenteditor.js +2 -2
- package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
- package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
- package/src/comments/ui/commentthreadcontroller.js +2 -2
- package/src/comments/ui/view/basecommentthreadview.js +1 -1
- package/src/comments/ui/view/basecommentview.js +1 -1
- package/src/comments/ui/view/collapsedcommentsview.js +1 -1
- package/src/comments/ui/view/commentcontentview.js +1 -1
- package/src/comments/ui/view/commentinputview.js +1 -1
- package/src/comments/ui/view/commentsarchiveview.js +1 -1
- package/src/comments/ui/view/commentslistview.js +1 -1
- package/src/comments/ui/view/commentthreadheadercontextview.js +1 -1
- package/src/comments/ui/view/commentthreadheaderview.js +1 -1
- package/src/comments/ui/view/commentthreadinputview.js +1 -1
- package/src/comments/ui/view/commentthreadview.js +2 -2
- package/src/comments/ui/view/commentview.js +2 -2
- package/src/comments.js +1 -1
- package/src/commentsonly.js +1 -1
- package/src/index.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/src/utils/createmutationobserver.js +1 -1
- package/src/utils/splitmarkername.js +1 -1
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xa2b57a=_0x3e4d;(function(_0x298329,_0x33a92b){const _0x58ecf5=_0x3e4d,_0xac900a=_0x298329();while(!![]){try{const _0x192a5c=-parseInt(_0x58ecf5(0x1bf))/0x1*(-parseInt(_0x58ecf5(0x1b6))/0x2)+-parseInt(_0x58ecf5(0x19f))/0x3+-parseInt(_0x58ecf5(0x155))/0x4*(parseInt(_0x58ecf5(0x1d9))/0x5)+parseInt(_0x58ecf5(0x19d))/0x6*(-parseInt(_0x58ecf5(0x148))/0x7)+-parseInt(_0x58ecf5(0x13f))/0x8*(-parseInt(_0x58ecf5(0x14d))/0x9)+parseInt(_0x58ecf5(0x1db))/0xa*(parseInt(_0x58ecf5(0x1c4))/0xb)+parseInt(_0x58ecf5(0x141))/0xc;if(_0x192a5c===_0x33a92b)break;else _0xac900a['push'](_0xac900a['shift']());}catch(_0x31c4d7){_0xac900a['push'](_0xac900a['shift']());}}}(_0xda4c,0xea753));import{Plugin as _0x2359d7}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x1ce81d,scrollViewportToShowTarget as _0x176908,uid as _0x4f4044}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x962ebd}from'./commentsrepository.js';import{AddCommentThreadCommand as _0x426a44}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0xad1f24,getAllMarkersDomElementsSorted as _0x5b8788,FOCUS_ANNOTATION_KEYSTROKE as _0x1e9441,Users as _0x1d417f}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x2d3e44}from'../annotations/editorannotations.js';function _0x3e4d(_0x53016e,_0x48599b){const _0xda4c4c=_0xda4c();return _0x3e4d=function(_0x3e4d17,_0x50828a){_0x3e4d17=_0x3e4d17-0x13e;let _0xe952ea=_0xda4c4c[_0x3e4d17];return _0xe952ea;},_0x3e4d(_0x53016e,_0x48599b);}import{CommentsRestrictedEditingMode as _0x1b60b2}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x3d8e91}from'./integrations/importword.js';function _0xda4c(){const _0x7f17da=['_initializeMarkerConverters','addCommentThread','updateMarker','end','listenTo','_detachCommentThread','attachTo','setUnlinkedAt','size','929425pnmXxL','_threads','2488310YgWeFN','editor','_handleInitialThreads','isThreadsLoadingPaused','author','context','newRange','comment:','add','consumable','1160288yAhGRv','start','16968744bheokJ','getWalker','isPremiumPlugin','reconvertMarker','unlinkedAt','item','$marker','203xxAMmt','addComment','text','map','markers','108EsiPMr','editingDowncast','render','removeMarker:','change:isThreadsLoadingPaused','comment','fetchCommentThread','hasContent','32whKOMJ','ck-comment-marker--active','filter','removeMarker','join','schema','ready','getRange','LEAVE_COMMENT_ANNOUNCEMENT','channelId','href','locale','markerToHighlight','isCollapsed','change:activeMarker','model','substring','dataToMarker','data','setContext','getItems','managedUsingOperations','collaboration.channelId','get','isObject','afterInit','createRange','once','ck-comment-marker','root','from','ENTER_COMMENT_ANNOUNCEMENT','ignoreResolvedComments','length','change','for','registerPostFixer','registerAnnotation','createElement','getAllMarkersForId','group','getCommentThread','removeCommentThread','elementToElement','addMarker:','_attachArchivedThread','plugins','switchReadOnly','destroy','focus','clear','CommentsEditing','document','commands','isResolved','enqueueChange','markerName','_handleMarkerAddAndRemove','delete','isOfficialPlugin','getAttribute','pluginName','init','fromCharCode','isSubmitted','openNewCommentThread','createPositionBefore','_initAriaMarkerChangeAnnouncements','_hasTargetInContent','conversion','affectsData','resolveCommentThread','128130dnWRXm','forEach','3843732lMWNHB','first','startsWith','change:isReadOnly','_threadToController','getChangedMarkers','isEqual','comments','destroyed','showCommentHighlights','hasDomSelection','markerToData','then','name','consume','low','editing','set','_reconvertMarkers','isAttached','refreshVisibility','activeMarker','$textProxy','28198lHenXH','getCommentThreads','_attachMarkerToThread','differ','scrollToThreadMarker','hasMarkerForId','_getTargetForId','$graveyard','ariaLiveAnnouncer','67IdWtRz','reopenCommentThread','_handleThreadMarker','dataDowncast','remove','11aePSaX','announce','view','upcast','config','rootName','requires','getByInnerView','_getTextContext','state','hasCommentThread','push'];_0xda4c=function(){return _0x7f17da;};return _0xda4c();}import{CommentsClipboard as _0x5167c2}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x168e1c}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x130f86}from'../annotations/annotations.js';import{getTranslation as _0xb9c584}from'../utils/common-translations.js';import{splitMarkerName as _0x12e6c2}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x2359d7{static get[_0xa2b57a(0x1ca)](){return[_0x962ebd,_0x2d3e44,_0x1d417f,_0x1b60b2,_0x3d8e91,_0x5167c2,_0x168e1c];}static get[_0xa2b57a(0x192)](){const _0x33f717=_0xa2b57a;return _0x33f717(0x188);}static get[_0xa2b57a(0x190)](){return!0x0;}static get[_0xa2b57a(0x143)](){return!0x0;}constructor(_0x82fd00){const _0x4ecfdf=_0xa2b57a;super(_0x82fd00),this[_0x4ecfdf(0x1b0)](_0x4ecfdf(0x1de),!0x0),_0x82fd00[_0x4ecfdf(0x167)][_0x4ecfdf(0x170)](_0x4ecfdf(0x15b),()=>this[_0x4ecfdf(0x1de)]=!0x1),this[_0x4ecfdf(0x1b0)](_0x4ecfdf(0x1b4),null),this['on'](_0x4ecfdf(0x163),(_0x389789,_0x56a94c,_0x2451ae,_0x4511b5)=>{const _0x2dd80f=_0x4ecfdf,_0x5330ca=_0x82fd00[_0x2dd80f(0x183)][_0x2dd80f(0x16c)](_0x962ebd),_0x23336=_0x2451ae?_0x12e6c2(_0x2451ae)['id']:null;_0x82fd00[_0x2dd80f(0x164)][_0x2dd80f(0x177)](()=>{const _0x4b96f8=_0x2dd80f;if(_0x23336){const _0x43fe02=this[_0x4b96f8(0x17c)](_0x23336);for(const _0x3978fe of _0x43fe02)_0x82fd00[_0x4b96f8(0x1af)][_0x4b96f8(0x144)](_0x3978fe);}if(_0x4511b5){const {id:_0x1aa003}=_0x12e6c2(_0x4511b5),_0x32b6b3=_0x5330ca[_0x4b96f8(0x17e)](_0x1aa003);if(_0x32b6b3&&_0x32b6b3[_0x4b96f8(0x145)])return;if(_0x32b6b3&&!_0x32b6b3[_0x4b96f8(0x1b2)])return;const _0x4e4b19=this[_0x4b96f8(0x17c)](_0x1aa003);for(const _0x1a0a13 of _0x4e4b19)_0x82fd00[_0x4b96f8(0x1af)][_0x4b96f8(0x144)](_0x1a0a13);}}),_0x23336&&this[_0x2dd80f(0x1ba)](_0x23336);}),this[_0x4ecfdf(0x198)]();}[_0xa2b57a(0x193)](){const _0x2624a2=_0xa2b57a,_0x400a60=this[_0x2624a2(0x1dc)],_0x186e75=_0x400a60[_0x2624a2(0x183)][_0x2624a2(0x16c)](_0x962ebd),_0xbd4fe3=_0x400a60[_0x2624a2(0x1c8)][_0x2624a2(0x16c)](_0x2624a2(0x16b)),_0x4c1b01=_0x186e75[_0x2624a2(0x1b7)]()[_0x2624a2(0x157)](_0x48e8a0=>_0x48e8a0[_0x2624a2(0x15e)]!==_0xbd4fe3);_0x400a60[_0x2624a2(0x18a)][_0x2624a2(0x1e3)](_0x2624a2(0x1d1),new _0x426a44(_0x400a60)),this[_0x2624a2(0x1d4)](_0x400a60,_0x2624a2(0x1a2),(_0x4bff68,_0x34576d,_0x25320c)=>{const _0x313b53=_0x2624a2;_0x186e75[_0x313b53(0x184)](_0x25320c,_0x400a60[_0x313b53(0x1c8)][_0x313b53(0x16c)](_0x313b53(0x16b)));}),this[_0x2624a2(0x1d4)](_0x186e75,dt(_0x2624a2(0x1d1),_0xbd4fe3),(_0x122477,{threadId:_0x516280})=>{const _0x376e39=_0x2624a2,_0x1bcefb=this[_0x376e39(0x1dc)][_0x376e39(0x183)][_0x376e39(0x16c)](_0x962ebd)[_0x376e39(0x17e)](_0x516280);_0x1bcefb?.[_0x376e39(0x145)]&&this[_0x376e39(0x182)](_0x516280);}),this[_0x2624a2(0x1d4)](_0x186e75,dt(_0x2624a2(0x17f),_0xbd4fe3),(_0x18ef3d,{threadId:_0xb2f094})=>{const _0x5a9631=_0x2624a2;_0x400a60[_0x5a9631(0x164)][_0x5a9631(0x18c)]({'isUndoable':!0x1},_0x152020=>{const _0x10e46c=_0x5a9631,_0x51e8aa=this[_0x10e46c(0x17c)](_0xb2f094);for(const _0x7deaab of _0x51e8aa)_0x152020[_0x10e46c(0x158)](_0x7deaab);});}),this[_0x2624a2(0x1d4)](_0x186e75,dt(_0x2624a2(0x19c),_0xbd4fe3),(_0x6c7b87,{threadId:_0x645224})=>{const _0x2a38db=_0x2624a2;(this[_0x2a38db(0x1b1)](_0x645224),this[_0x2a38db(0x1dc)][_0x2a38db(0x1af)][_0x2a38db(0x1c6)][_0x2a38db(0x1a9)])&&(this[_0x2a38db(0x1dc)][_0x2a38db(0x183)][_0x2a38db(0x16c)](_0x962ebd)[_0x2a38db(0x17e)](_0x645224)[_0x2a38db(0x145)]||this[_0x2a38db(0x1dc)][_0x2a38db(0x1af)][_0x2a38db(0x1c6)][_0x2a38db(0x186)]());},{'priority':_0x2624a2(0x1ae)}),this[_0x2624a2(0x1d4)](_0x186e75,dt(_0x2624a2(0x1c0),_0xbd4fe3),(_0x259116,{threadId:_0x26caf0})=>{const _0x6d1f3d=_0x2624a2;this[_0x6d1f3d(0x1b1)](_0x26caf0);},{'priority':_0x2624a2(0x1ae)}),this[_0x2624a2(0x1d4)](_0x186e75,dt(_0x2624a2(0x149),_0xbd4fe3),(_0x3b9746,{threadId:_0xb5ee3a,isFromAdapter:_0x3646ed})=>{const _0x3c078b=_0x2624a2,_0x493386=this[_0x3c078b(0x17c)](_0xb5ee3a);if(_0x3646ed||0x0==_0x493386[_0x3c078b(0x176)]||!_0x186e75[_0x3c078b(0x1ce)](_0xb5ee3a))return;0x1===_0x186e75[_0x3c078b(0x17e)](_0xb5ee3a)[_0x3c078b(0x176)]&&_0x400a60[_0x3c078b(0x164)][_0x3c078b(0x18c)]({'isUndoable':!0x1},_0x453733=>{const _0x25de07=_0x3c078b;for(const _0x26b087 of _0x493386)_0x453733[_0x25de07(0x1d2)](_0x26b087,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x2624a2(0x1ae)}),this[_0x2624a2(0x1d0)](),this[_0x2624a2(0x18e)](),this[_0x2624a2(0x1dd)](_0x4c1b01);}[_0xa2b57a(0x16e)](){!async function(_0x210aa6){const _0x35f16b=_0xda0b15([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]),_0x2cc01c=0x73460ab3,_0xca9ff0=0x73418ddb^_0x2cc01c,_0x545f78=window[_0xda0b15([0x44,0x61,0x74,0x65])][_0xda0b15([0x6e,0x6f,0x77])](),_0x4e3f8a=_0x210aa6[_0xda0b15([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2352f1=new window[(_0xda0b15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x478320=>{_0x4e3f8a[_0xda0b15([0x6f,0x6e,0x63,0x65])](_0xda0b15([0x72,0x65,0x61,0x64,0x79]),_0x478320);}),_0x1f630c={[_0xda0b15([0x6b,0x74,0x79])]:_0xda0b15([0x45,0x43]),[_0xda0b15([0x75,0x73,0x65])]:_0xda0b15([0x73,0x69,0x67]),[_0xda0b15([0x63,0x72,0x76])]:_0xda0b15([0x50,0x2d,0x32,0x35,0x36]),[_0xda0b15([0x78])]:_0xda0b15([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]),[_0xda0b15([0x79])]:_0xda0b15([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]),[_0xda0b15([0x61,0x6c,0x67])]:_0xda0b15([0x45,0x53,0x32,0x35,0x36])},_0x584a9d=_0x4e3f8a[_0xda0b15([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xda0b15([0x67,0x65,0x74])](_0xda0b15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x11c949(){let _0x558fa4,_0x5d8a1b=null,_0x2e1177=null;try{if(_0x584a9d==_0xda0b15([0x47,0x50,0x4c]))return _0xda0b15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x558fa4=_0x4f6885(),!_0x558fa4)return _0xda0b15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x558fa4[_0xda0b15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2e1177=_0x2b0b62(_0x558fa4[_0xda0b15([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x558fa4[_0xda0b15([0x6a,0x74,0x69])])),await _0x3e5584()?_0x55b09d()?_0x2eea2d()?_0xda0b15([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x290c97()?(_0x558fa4[_0xda0b15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xda0b15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d8a1b=_0x32157a(_0xda0b15([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5caeb2()):_0xda0b15([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xda0b15([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xda0b15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xda0b15([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2eea2d(){const _0x28c7f4=[_0xda0b15([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xda0b15([0x74,0x72,0x69,0x61,0x6c])][_0xda0b15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x558fa4[_0xda0b15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x545f78/0x3e8:0xe10*_0xca9ff0;return _0x558fa4[_0xda0b15([0x65,0x78,0x70])]<_0x28c7f4;}function _0x55b09d(){const _0x1d69af=_0x558fa4[_0xda0b15([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x1d69af)return!0x1;if(_0x1d69af[_0xda0b15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda0b15([0x2a])))return!0x0;if(_0x1d69af[_0xda0b15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda0b15([0x43,0x4d,0x54])))return!0x0;if(_0x1d69af[_0xda0b15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda0b15([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x38af71())return!0x0;if(_0x1d69af[_0xda0b15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda0b15([0x52,0x43,0x4d,0x54]))){if(_0x561e1e())return!0x0;if(_0x4a9eca()||_0x46e94b())return!0x0;}return!0x1;}function _0x290c97(){const _0x5ef724=_0x3e4d,_0x1effdc=_0x558fa4[_0xda0b15([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1effdc||0x0==_0x1effdc[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x42554b}=new URL(window[_0xda0b15([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x5ef724(0x15f)]);if(_0x1effdc[_0xda0b15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x42554b))return!0x0;const _0x482a70=_0x42554b[_0xda0b15([0x73,0x70,0x6c,0x69,0x74])](_0xda0b15([0x2e]));return _0x1effdc[_0xda0b15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x256a65=>_0x256a65[_0xda0b15([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xda0b15([0x2a])))[_0xda0b15([0x6d,0x61,0x70])](_0x688fdc=>_0x688fdc[_0xda0b15([0x73,0x70,0x6c,0x69,0x74])](_0xda0b15([0x2e])))[_0xda0b15([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x48d7ee=>_0x48d7ee[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x482a70[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xda0b15([0x6d,0x61,0x70])](_0x34c16d=>Array(_0x482a70[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34c16d[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xda0b15([0x66,0x69,0x6c,0x6c])](_0x34c16d[0x0]===_0xda0b15([0x2a])?_0xda0b15([0x2a]):'')[_0xda0b15([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34c16d))[_0xda0b15([0x73,0x6f,0x6d,0x65])](_0x5b5351=>_0x482a70[_0xda0b15([0x65,0x76,0x65,0x72,0x79])]((_0x10db79,_0x50dbfe)=>_0x5b5351[_0x50dbfe]===_0x10db79||_0x5b5351[_0x50dbfe]===_0xda0b15([0x2a])));}function _0x5caeb2(){return _0x5d8a1b&&_0x2e1177?new window[(_0xda0b15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x417705,_0x344e43)=>{_0x5d8a1b[_0xda0b15([0x74,0x68,0x65,0x6e])](_0x417705,_0x344e43),_0x2e1177[_0xda0b15([0x74,0x68,0x65,0x6e])](_0x3fffed=>{_0x3fffed!=_0xda0b15([0x56,0x61,0x6c,0x69,0x64])&&_0x417705(_0x3fffed);},_0x344e43);}):_0x5d8a1b||_0x2e1177||_0xda0b15([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b0b62(_0x5e8676,_0x75f945){return new window[(_0xda0b15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x696e7d=>{if(_0x2e35bf())return _0x696e7d(_0xda0b15([0x56,0x61,0x6c,0x69,0x64]));_0x1d5489(),_0x4e3f8a[_0xda0b15([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xda0b15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1df5c5=!0x1;const _0x1b6498=_0x4f4044();function _0x3e6ba9(_0x4f49d7){return!!_0x4f49d7&&(typeof _0x4f49d7===_0xda0b15([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f49d7===_0xda0b15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f49d7[_0xda0b15([0x74,0x68,0x65,0x6e])]===_0xda0b15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f49d7[_0xda0b15([0x63,0x61,0x74,0x63,0x68])]===_0xda0b15([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27b1fe(_0x30b5ae){_0x3efaad(_0x30b5ae)[_0xda0b15([0x74,0x68,0x65,0x6e])](_0x42ec88=>{if(!_0x42ec88||_0x42ec88[_0xda0b15([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xda0b15([0x6f,0x6b]))return _0xda0b15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x60de11(_0x18ae74(_0x1b6498+_0x75f945))!=_0x42ec88[_0xda0b15([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xda0b15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xda0b15([0x56,0x61,0x6c,0x69,0x64]);})[_0xda0b15([0x74,0x68,0x65,0x6e])](_0x5a9eee=>(_0x5b8c87(),_0x5a9eee),()=>{const _0x47f714=_0x12beb1();return null==_0x47f714?(_0x5b8c87(),_0xda0b15([0x56,0x61,0x6c,0x69,0x64])):_0xda0b15(_0x545f78-_0x47f714>(0x574a8eb3^_0x2cc01c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xda0b15([0x74,0x68,0x65,0x6e])](_0x696e7d)[_0xda0b15([0x63,0x61,0x74,0x63,0x68])](()=>{_0x696e7d(_0xda0b15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a64a4=0x7370e433^_0x2cc01c;function _0x5b8c87(){const _0x1ed3ef=_0xda0b15([0x6c,0x6c,0x63,0x74,0x2d])+_0x60de11(_0x18ae74(_0x5e8676)),_0x94c102=_0x540e32(_0x60de11(window[_0xda0b15([0x4d,0x61,0x74,0x68])][_0xda0b15([0x63,0x65,0x69,0x6c])](_0x545f78/_0x3a64a4)));window[_0xda0b15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xda0b15([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ed3ef,_0x94c102);}function _0x12beb1(){const _0x2fc592=_0xda0b15([0x6c,0x6c,0x63,0x74,0x2d])+_0x60de11(_0x18ae74(_0x5e8676)),_0x159080=window[_0xda0b15([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xda0b15([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2fc592);return _0x159080?window[_0xda0b15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x540e32(_0x159080),0x10)*_0x3a64a4:null;}function _0x3efaad(_0x1ea0c5){return new window[(_0xda0b15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1c5749,_0x522c62)=>{_0x1ea0c5[_0xda0b15([0x74,0x68,0x65,0x6e])](_0x1c5749,_0x522c62),window[_0xda0b15([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x522c62,0x7347de73^_0x2cc01c);});}}_0x4e3f8a[_0xda0b15([0x6f,0x6e])](_0xda0b15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xe31dc8,_0x2f17f4)=>{if(_0x2f17f4[0x0]!=_0x5e8676)return _0x696e7d(_0xda0b15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2f17f4[0x1]={..._0x2f17f4[0x1],[_0xda0b15([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b6498};},{[_0xda0b15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xda0b15([0x68,0x69,0x67,0x68])}),_0x4e3f8a[_0xda0b15([0x6f,0x6e])](_0xda0b15([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4957c5=>{_0x3e6ba9(_0x4957c5[_0xda0b15([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1df5c5=!0x0,_0x27b1fe(_0x4957c5[_0xda0b15([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xda0b15([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xda0b15([0x6c,0x6f,0x77])}),_0x2352f1[_0xda0b15([0x74,0x68,0x65,0x6e])](()=>{_0x1df5c5||_0x696e7d(_0xda0b15([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2e35bf(){return _0x4e3f8a[_0xda0b15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xda0b15([0x76,0x69,0x65,0x77])][_0xda0b15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xda0b15([0x61,0x75,0x74,0x6f]);}function _0x1d5489(){_0x4e3f8a[_0xda0b15([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xda0b15([0x76,0x69,0x65,0x77])][_0xda0b15([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xda0b15([0x61,0x75,0x74,0x6f]);}}function _0x32157a(_0x5be69a){const _0x48603f=[new window[(_0xda0b15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x552153=>setTimeout(_0x552153,0x734f347f^_0x2cc01c)),_0x2352f1[_0xda0b15([0x74,0x68,0x65,0x6e])](()=>new window[(_0xda0b15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x26ee2a=>{let _0x438b40=0x0;_0x4e3f8a[_0xda0b15([0x6d,0x6f,0x64,0x65,0x6c])][_0xda0b15([0x6f,0x6e])](_0xda0b15([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4e9b9b,_0x29bd5c)=>{_0x29bd5c[0x0][_0xda0b15([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x438b40++,_0x438b40==(0x73460f5b^_0x2cc01c)&&(_0x26ee2a(),_0x4e9b9b[_0xda0b15([0x6f,0x66,0x66])]());});}))];return window[_0xda0b15([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xda0b15([0x72,0x61,0x63,0x65])](_0x48603f)[_0xda0b15([0x74,0x68,0x65,0x6e])](()=>_0x5be69a);}async function _0x1dff1(){await _0x2352f1,_0x4e3f8a[_0xda0b15([0x6d,0x6f,0x64,0x65,0x6c])][_0xda0b15([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4dd3ac,_0x4e3f8a[_0xda0b15([0x6d,0x6f,0x64,0x65,0x6c])][_0xda0b15([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4dd3ac,_0x4e3f8a[_0xda0b15([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xda0b15([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x38af71(){return window[_0xda0b15([0x67,0x6c,0x6f,0x62])]&&window[_0xda0b15([0x67,0x6c,0x6f,0x62])][_0xda0b15([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x561e1e(){return _0x236006(_0xda0b15([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1ec76b(_0xda0b15([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0xda0b15([0x73,0x74,0x61,0x74,0x65])]==_0xda0b15([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x4a9eca(){return _0x236006(_0xda0b15([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 _0x46e94b(){return _0x236006(_0xda0b15([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x32766d(_0x5aadf6){const _0x3115be=_0xe9e4fe();_0x4e3f8a[_0x3115be]=_0xda0b15([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5aadf6,_0x5aadf6!=_0xda0b15([0x56,0x61,0x6c,0x69,0x64])&&_0x1dff1();}function _0xe9e4fe(){const _0x1abdff=window[_0xda0b15([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xda0b15([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xda0b15([0x6e,0x6f,0x77])]())[_0xda0b15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xda0b15([0x2e]),'');let _0x46cd65=_0xda0b15([0x4b]);for(let _0x35ea7a=0x0;_0x35ea7a<_0x1abdff[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35ea7a+=0x2){let _0x41e4a3=window[_0xda0b15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1abdff[_0xda0b15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35ea7a,_0x35ea7a+0x2));_0x41e4a3>=_0x35f16b[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x41e4a3-=_0x35f16b[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x46cd65+=_0x35f16b[_0x41e4a3];}return _0x46cd65;}function _0x4f6885(){const _0xb9f56f=_0x584a9d[_0xda0b15([0x73,0x70,0x6c,0x69,0x74])](_0xda0b15([0x2e]));if(0x3!=_0xb9f56f[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x41d26f(_0xb9f56f[0x1]);function _0x41d26f(_0x56bd69){const _0x21ad0f=_0xfed823(_0x56bd69);return _0x21ad0f&&_0x748718()?_0x21ad0f:null;function _0x748718(){const _0x5cab31=_0x21ad0f[_0xda0b15([0x6a,0x74,0x69])],_0x4758cc=window[_0xda0b15([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cab31[_0xda0b15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cab31[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x6d17f1={..._0x21ad0f,[_0xda0b15([0x6a,0x74,0x69])]:_0x5cab31[_0xda0b15([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5cab31[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x6d17f1[_0xda0b15([0x76,0x63])],_0x18ae74(_0x6d17f1)==_0x4758cc;}}}async function _0x3e5584(){let _0x56732e=!0x0;try{const _0x514a09=_0x584a9d[_0xda0b15([0x73,0x70,0x6c,0x69,0x74])](_0xda0b15([0x2e])),[_0x31ac95,_0x40e425,_0x4bb19d]=_0x514a09;return _0x549eb6(_0x31ac95),await _0x616c7e(_0x31ac95,_0x40e425,_0x4bb19d),_0x56732e;}catch{return!0x1;}function _0x549eb6(_0x5b10a0){const _0x2aed38=_0xfed823(_0x5b10a0);_0x2aed38&&_0x2aed38[_0xda0b15([0x61,0x6c,0x67])]==_0xda0b15([0x45,0x53,0x32,0x35,0x36])||(_0x56732e=!0x1);}async function _0x616c7e(_0x13b6ad,_0x669aa5,_0x44ff60){const _0x1f68c3=window[_0xda0b15([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xda0b15([0x66,0x72,0x6f,0x6d])](_0x437bbf(_0x44ff60),_0x430d1b=>_0x430d1b[_0xda0b15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4913f1=new window[(_0xda0b15([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xda0b15([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13b6ad+_0xda0b15([0x2e])+_0x669aa5),_0x498edd=window[_0xda0b15([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xda0b15([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x498edd)return;const _0x29033d=await _0x498edd[_0xda0b15([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xda0b15([0x6a,0x77,0x6b]),_0x1f630c,{[_0xda0b15([0x6e,0x61,0x6d,0x65])]:_0xda0b15([0x45,0x43,0x44,0x53,0x41]),[_0xda0b15([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xda0b15([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xda0b15([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x498edd[_0xda0b15([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xda0b15([0x6e,0x61,0x6d,0x65])]:_0xda0b15([0x45,0x43,0x44,0x53,0x41]),[_0xda0b15([0x68,0x61,0x73,0x68])]:{[_0xda0b15([0x6e,0x61,0x6d,0x65])]:_0xda0b15([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x29033d,_0x1f68c3,_0x4913f1)||(_0x56732e=!0x1);}}function _0xfed823(_0x44d385){return _0x44d385[_0xda0b15([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xda0b15([0x65,0x79]))?JSON[_0xda0b15([0x70,0x61,0x72,0x73,0x65])](_0x437bbf(_0x44d385)):null;}function _0x437bbf(_0x8ad045){return window[_0xda0b15([0x61,0x74,0x6f,0x62])](_0x8ad045[_0xda0b15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xda0b15([0x2b]))[_0xda0b15([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xda0b15([0x2f])));}function _0x18ae74(_0x19f621){let _0x326a12=0x1505;function _0x1af7ed(_0x50d668){for(let _0x58cf5d=0x0;_0x58cf5d<_0x50d668[_0xda0b15([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58cf5d++){const _0x384c8b=_0x50d668[_0xda0b15([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58cf5d);_0x326a12=(_0x326a12<<0x5)+_0x326a12+_0x384c8b,_0x326a12&=_0x326a12;}}function _0x13c657(_0x3e83ba){Array[_0xda0b15([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3e83ba)?_0x3e83ba[_0xda0b15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x13c657):_0x3e83ba&&typeof _0x3e83ba==_0xda0b15([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xda0b15([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3e83ba)[_0xda0b15([0x73,0x6f,0x72,0x74])]()[_0xda0b15([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x39b457,_0x37bff5])=>{_0x1af7ed(_0x39b457),_0x13c657(_0x37bff5);}):_0x1af7ed(window[_0xda0b15([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3e83ba));}return _0x13c657(_0x19f621),_0x326a12>>>0x0;}function _0x60de11(_0x39c1b7){return _0x39c1b7[_0xda0b15([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xda0b15([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xda0b15([0x30]));}function _0x540e32(_0x112b6e){return _0x112b6e[_0xda0b15([0x73,0x70,0x6c,0x69,0x74])]('')[_0xda0b15([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xda0b15([0x6a,0x6f,0x69,0x6e])]('');}function _0x236006(_0x149212){return _0x4e3f8a[_0xda0b15([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xda0b15([0x68,0x61,0x73])](_0x149212);}function _0x1ec76b(_0x3e6290){return _0x4e3f8a[_0xda0b15([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0xda0b15([0x67,0x65,0x74])](_0x3e6290);}function _0x4dd3ac(){}function _0xda0b15(_0x1bccae){const _0x11ca50=_0x3e4d;return _0x1bccae[_0x11ca50(0x14b)](_0x3aef93=>String[_0x11ca50(0x194)](_0x3aef93))[_0x11ca50(0x159)]('');}_0x32766d(await _0x11c949());}(this);}[_0xa2b57a(0x185)](){const _0x34b104=_0xa2b57a,_0x3540f4=this[_0x34b104(0x1dc)][_0x34b104(0x183)][_0x34b104(0x16c)](_0x962ebd),_0x1fb412=this[_0x34b104(0x1dc)][_0x34b104(0x1c8)][_0x34b104(0x16c)](_0x34b104(0x16b));for(const _0x2cb908 of _0x3540f4[_0x34b104(0x1b7)]({'channelId':_0x1fb412}))_0x3540f4[_0x34b104(0x1d5)](_0x2cb908['id']),_0x3540f4[_0x34b104(0x1da)][_0x34b104(0x18f)](_0x2cb908['id']);super[_0x34b104(0x185)]();}[_0xa2b57a(0x1bb)](_0x1590c3){const _0x497ccb=_0xa2b57a;return this[_0x497ccb(0x17c)](_0x1590c3)[_0x497ccb(0x176)]>0x0;}[_0xa2b57a(0x17c)](_0x141dd1){const _0x2bf9c3=_0xa2b57a,_0xfa9dc6=[];for(const _0x2c7546 of this[_0x2bf9c3(0x1dc)][_0x2bf9c3(0x164)][_0x2bf9c3(0x14c)])_0x2c7546[_0x2bf9c3(0x1ac)][_0x2bf9c3(0x1a1)](_0x2bf9c3(0x1e2)+_0x141dd1)&&_0xfa9dc6[_0x2bf9c3(0x1cf)](_0x2c7546);return _0xfa9dc6;}[_0xa2b57a(0x1ba)](_0x5d08c2){setTimeout(()=>{const _0x4652a8=_0x3e4d,_0x567a9f=this[_0x4652a8(0x1bc)](_0x5d08c2);if(!_0x567a9f)return;this[_0x4652a8(0x1b4)]&&_0x12e6c2(this[_0x4652a8(0x1b4)])['id']===_0x5d08c2&&_0x176908({'target':_0x567a9f[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0xa2b57a(0x1b1)](_0x28c4e8){const _0x5e9e9d=_0xa2b57a;this[_0x5e9e9d(0x1dc)][_0x5e9e9d(0x164)][_0x5e9e9d(0x177)](()=>{const _0x4515c1=_0x5e9e9d;for(const _0x11830e of this[_0x4515c1(0x17c)](_0x28c4e8))this[_0x4515c1(0x1dc)][_0x4515c1(0x1af)][_0x4515c1(0x144)](_0x11830e);});}[_0xa2b57a(0x182)](_0x1db823){const _0x2da111=_0xa2b57a,_0x5bd2fc=this[_0x2da111(0x1dc)][_0x2da111(0x183)][_0x2da111(0x16c)](_0x962ebd),_0x17acc3=this[_0x2da111(0x1dc)][_0x2da111(0x183)][_0x2da111(0x16c)](_0x2d3e44),_0x47892a=_0x5bd2fc[_0x2da111(0x17e)](_0x1db823);if(!_0x47892a[_0x2da111(0x1b2)]){const _0xdf6800=_0x47892a[_0x2da111(0x1d6)](()=>this[_0x2da111(0x1bc)](_0x47892a['id']));_0x17acc3[_0x2da111(0x17a)](_0xdf6800),_0x47892a[_0x2da111(0x199)]=!0x1;}}[_0xa2b57a(0x1d0)](){const _0x3cad9=_0xa2b57a,_0x1a4b1c=this[_0x3cad9(0x1dc)],_0x262dea=_0x1a4b1c[_0x3cad9(0x183)][_0x3cad9(0x16c)](_0x1d417f);_0x1a4b1c[_0x3cad9(0x19a)][_0x3cad9(0x178)](_0x3cad9(0x14e))[_0x3cad9(0x161)]({'model':_0x3cad9(0x152),'view':(_0x234f71,_0x45f94b)=>{const _0x52b4e6=_0x3cad9,{id:_0xf5784a}=_0x12e6c2(_0x234f71[_0x52b4e6(0x18d)]),_0x5321da=_0x1a4b1c[_0x52b4e6(0x183)][_0x52b4e6(0x16c)](_0x962ebd)[_0x52b4e6(0x17e)](_0xf5784a),_0x541bb2=this[_0x52b4e6(0x1b4)]&&_0x12e6c2(this[_0x52b4e6(0x1b4)])['id']===_0xf5784a;let _0x1c88b2;if(_0x5321da&&_0x5321da[_0x52b4e6(0x18b)]&&!_0x541bb2&&_0x234f71[_0x52b4e6(0x146)])return _0x45f94b[_0x52b4e6(0x13e)][_0x52b4e6(0x1ad)](_0x234f71[_0x52b4e6(0x146)],_0x52b4e6(0x181)+_0x234f71[_0x52b4e6(0x18d)]),_0x45f94b[_0x52b4e6(0x13e)][_0x52b4e6(0x1ad)](_0x234f71[_0x52b4e6(0x146)],_0x52b4e6(0x150)+_0x234f71[_0x52b4e6(0x18d)]),null;const _0x5835e0=[_0x52b4e6(0x171)];return _0x541bb2&&_0x5835e0[_0x52b4e6(0x1cf)](_0x52b4e6(0x156)),_0x1c88b2=_0x5321da?.[_0x52b4e6(0x176)]?_0x5321da[_0x52b4e6(0x1a6)][_0x52b4e6(0x1a0)][_0x52b4e6(0x1df)]['id']:_0x262dea['me']['id'],{'classes':_0x5835e0,'attributes':{'data-comment':_0xf5784a,'data-author-id':_0x1c88b2}};}}),_0x1a4b1c[_0x3cad9(0x19a)][_0x3cad9(0x178)](_0x3cad9(0x1c2))[_0x3cad9(0x1aa)]({'model':_0x3cad9(0x152),'view':(_0x37f69d,{options:_0x83145c})=>{const _0x1ebdbc=_0x3cad9;if(_0x83145c[_0x1ebdbc(0x1a8)])return null;const _0x3d93c4=_0x1a4b1c[_0x1ebdbc(0x183)][_0x1ebdbc(0x16c)](_0x962ebd),_0x1b6fea=_0x1a4b1c[_0x1ebdbc(0x164)][_0x1ebdbc(0x14c)][_0x1ebdbc(0x16c)](_0x37f69d),{id:_0x3df879,part:_0x372de1}=_0x12e6c2(_0x37f69d);return _0x1b6fea&&!_0x1b6fea[_0x1ebdbc(0x19b)]||_0x83145c[_0x1ebdbc(0x175)]&&_0x3d93c4[_0x1ebdbc(0x17e)](_0x3df879)?.[_0x1ebdbc(0x18b)]?null:{'group':_0x1ebdbc(0x152),'name':_0x372de1?_0x3df879+':'+_0x372de1:_0x3df879};}}),_0x1a4b1c[_0x3cad9(0x19a)][_0x3cad9(0x178)](_0x3cad9(0x1c7))[_0x3cad9(0x180)]({'view':{'name':_0x3cad9(0x152),'attributes':{'id':/^\w/}},'model':(_0x5694bc,{writer:_0x159d40})=>_0x159d40[_0x3cad9(0x17b)](_0x3cad9(0x147),{'data-name':_0x3cad9(0x1e2)+_0x5694bc[_0x3cad9(0x191)]('id')})}),_0x1a4b1c[_0x3cad9(0x19a)][_0x3cad9(0x178)](_0x3cad9(0x1c7))[_0x3cad9(0x166)]({'view':_0x3cad9(0x152)});}[_0xa2b57a(0x18e)](){const _0x58acd3=_0xa2b57a,_0x2345a7=this[_0x58acd3(0x1dc)],_0x531f77=_0x2345a7[_0x58acd3(0x183)][_0x58acd3(0x16c)](_0x962ebd),_0x500f7a=new Set(),_0x1c9221=new Set();_0x2345a7[_0x58acd3(0x164)][_0x58acd3(0x189)][_0x58acd3(0x179)](_0x4fb6ce=>{const _0x3d283e=_0x58acd3;let _0x3d71b6=!0x1;for(const {name:_0x24ab9d,data:_0x23f723}of _0x2345a7[_0x3d283e(0x164)][_0x3d283e(0x189)][_0x3d283e(0x1b9)][_0x3d283e(0x1a4)]()){const {group:_0x10fea2,id:_0x1e05c7}=_0x12e6c2(_0x24ab9d);let _0x3c9345=_0x23f723[_0x3d283e(0x1e1)];if(_0x3d283e(0x152)!==_0x10fea2||!_0x3c9345)continue;const _0x31caa2=_0x3d283e(0x1bd)===_0x3c9345[_0x3d283e(0x172)][_0x3d283e(0x1c9)];_0x31caa2||(_0x3c9345=ht(_0x3c9345,_0x2345a7[_0x3d283e(0x164)]),!_0x3c9345||_0x3c9345[_0x3d283e(0x162)]||!_0x23f723[_0x3d283e(0x1e1)]||_0x3c9345[_0x3d283e(0x1a5)](_0x23f723[_0x3d283e(0x1e1)]))?_0x2345a7[_0x3d283e(0x164)][_0x3d283e(0x154)](_0x3c9345)&&!_0x31caa2?this[_0x3d283e(0x1de)]?_0x500f7a[_0x3d283e(0x1e3)](_0x24ab9d):this[_0x3d283e(0x1c1)](_0x24ab9d,_0x1e05c7):(_0x1c9221[_0x3d283e(0x1e3)](_0x24ab9d),_0x500f7a[_0x3d283e(0x18f)](_0x24ab9d),_0x4fb6ce[_0x3d283e(0x158)](_0x24ab9d),_0x3d71b6=!0x0):(_0x4fb6ce[_0x3d283e(0x1d2)](_0x24ab9d,{'range':_0x3c9345}),_0x3d71b6=!0x0);}return _0x3d71b6;}),this['on'](_0x58acd3(0x151),(_0x5de383,_0x3b2acd,_0x26918f)=>{const _0x290fb9=_0x58acd3;if(!_0x26918f&&_0x500f7a[_0x290fb9(0x1d8)])for(const _0x142c84 of _0x500f7a){const {id:_0x4ad7b1}=_0x12e6c2(_0x142c84);_0x500f7a[_0x290fb9(0x18f)](_0x142c84),_0x2345a7[_0x290fb9(0x164)][_0x290fb9(0x14c)][_0x290fb9(0x16c)](_0x142c84)&&this[_0x290fb9(0x1c1)](_0x142c84,_0x4ad7b1);}}),this[_0x58acd3(0x1d4)](_0x2345a7[_0x58acd3(0x164)][_0x58acd3(0x189)],_0x58acd3(0x177),()=>{const _0x3701e1=_0x58acd3;for(const {name:_0x43fa8a,data:{newRange:_0x1c3a1a}}of _0x2345a7[_0x3701e1(0x164)][_0x3701e1(0x189)][_0x3701e1(0x1b9)][_0x3701e1(0x1a4)]()){const {group:_0x5d7a86,id:_0x527f25}=_0x12e6c2(_0x43fa8a);if(_0x3701e1(0x152)!==_0x5d7a86)continue;const _0x3a1dac=_0x531f77[_0x3701e1(0x17e)](_0x527f25),_0x2c5872=this[_0x3701e1(0x1bb)](_0x527f25);_0x3a1dac&&(!_0x3a1dac[_0x3701e1(0x199)]&&_0x1c3a1a&&_0x2345a7[_0x3701e1(0x1af)][_0x3701e1(0x1c6)][_0x3701e1(0x170)](_0x3701e1(0x14f),()=>{const _0x74419d=_0x3701e1,_0x304911=_0x2345a7[_0x74419d(0x183)][_0x74419d(0x16c)](_0x130f86),_0x58fe1a=_0x531f77[_0x74419d(0x1a3)][_0x74419d(0x16c)](_0x3a1dac)[_0x74419d(0x1c6)];_0x304911[_0x74419d(0x1cb)](_0x58fe1a)[_0x74419d(0x1b3)]();},{'priority':_0x3701e1(0x1ae)}),_0x3a1dac[_0x3701e1(0x199)]=_0x2c5872||!!_0x1c3a1a),_0x1c3a1a||(_0x1c9221[_0x3701e1(0x1e3)](_0x43fa8a),_0x500f7a[_0x3701e1(0x18f)](_0x43fa8a));}for(const _0x22e706 of _0x1c9221){const {id:_0x4828dd}=_0x12e6c2(_0x22e706),_0x3cc414=_0x531f77[_0x3701e1(0x17e)](_0x4828dd);if(_0x500f7a[_0x3701e1(0x18f)](_0x22e706),!_0x3cc414)continue;const _0x6f6d64=this[_0x3701e1(0x1bb)](_0x4828dd);_0x6f6d64||_0x3cc414[_0x3701e1(0x195)]?_0x6f6d64||_0x3cc414[_0x3701e1(0x145)]||_0x3cc414[_0x3701e1(0x1d7)](new Date()):_0x3cc414[_0x3701e1(0x1c3)]();}_0x1c9221[_0x3701e1(0x187)]();});}[_0xa2b57a(0x1dd)](_0x52b81b){const _0x19e3b9=_0xa2b57a;_0x52b81b[_0x19e3b9(0x19e)](_0x332115=>{const _0x59d8f8=_0x19e3b9;_0x332115[_0x59d8f8(0x145)]&&this[_0x59d8f8(0x182)](_0x332115['id']);});}[_0xa2b57a(0x1bc)](_0xcb0132){const _0x468d92=_0xa2b57a,_0x12ed09=this[_0x468d92(0x1dc)],_0x6a0f0=this[_0x468d92(0x17c)](_0xcb0132);return _0x5b8788(_0x12ed09[_0x468d92(0x1af)],_0x6a0f0);}[_0xa2b57a(0x1cc)](_0x5e6e71){const _0x5f292b=_0xa2b57a,_0x1323e8=this[_0x5f292b(0x17c)](_0x5e6e71);let _0x45b546='',_0x4b7143=!0x1;for(const _0xeb27c3 of _0x1323e8){const _0x757bd4=_0xeb27c3[_0x5f292b(0x15c)]();for(const _0x53b7f9 of Array[_0x5f292b(0x173)](_0x757bd4[_0x5f292b(0x169)]()))_0x53b7f9['is'](_0x5f292b(0x1b5))?(_0x45b546&&_0x4b7143&&(_0x45b546+='\x20',_0x4b7143=!0x1),_0x45b546+=_0x53b7f9[_0x5f292b(0x167)]):_0x4b7143=!0x0;_0x4b7143=!0x0;}return _0x45b546[_0x5f292b(0x165)](0x0,0x96);}[_0xa2b57a(0x1b8)](_0xd666fd,_0x4e9a21){const _0x2605b1=_0xa2b57a,_0x72d6c7=this[_0x2605b1(0x1dc)],_0x3a76d8=_0x72d6c7[_0x2605b1(0x183)][_0x2605b1(0x16c)](_0x962ebd);let _0x2ea6aa=_0x3a76d8[_0x2605b1(0x17e)](_0x4e9a21);const _0x339e3f=_0x72d6c7[_0x2605b1(0x1c8)][_0x2605b1(0x16c)](_0x2605b1(0x16b)),_0x50c344=_0x72d6c7[_0x2605b1(0x183)][_0x2605b1(0x16c)](_0x2d3e44);if(_0x2ea6aa&&(_0x2ea6aa[_0x2605b1(0x145)]&&_0x2ea6aa[_0x2605b1(0x1d7)](null),_0x2ea6aa[_0x2605b1(0x1b2)]))return _0x2ea6aa;return!this[_0x2605b1(0x17c)](_0x4e9a21)[0x0][_0x2605b1(0x16a)]?_0x72d6c7[_0x2605b1(0x1af)][_0x2605b1(0x1c6)][_0x2605b1(0x170)](_0x2605b1(0x14f),()=>{const _0x2d3720=_0x2605b1;if(_0x3a76d8[_0x2d3720(0x17e)](_0x4e9a21))return;const _0x24a556=_0x72d6c7[_0x2d3720(0x183)][_0x2d3720(0x16c)](_0x130f86);_0x2ea6aa=_0x3a76d8[_0x2d3720(0x196)]({'channelId':_0x339e3f,'threadId':_0x4e9a21,'target':()=>this[_0x2d3720(0x1bc)](_0x4e9a21),'context':{'type':_0x2d3720(0x14a),'value':this[_0x2d3720(0x1cc)](_0x4e9a21)}});const _0x1843e5=_0x3a76d8[_0x2d3720(0x1a3)][_0x2d3720(0x16c)](_0x2ea6aa)[_0x2d3720(0x1c6)],_0x29dd60=_0x24a556[_0x2d3720(0x1cb)](_0x1843e5);_0x29dd60&&_0x50c344[_0x2d3720(0x17a)](_0x29dd60);},{'priority':_0x2605b1(0x1ae)}):_0x3a76d8[_0x2605b1(0x153)]({'channelId':_0x339e3f,'threadId':_0x4e9a21})[_0x2605b1(0x1ab)](_0x4463c9=>{const _0x158565=_0x2605b1;if(_0x158565(0x1a7)!==_0x72d6c7[_0x158565(0x1cd)]){if(_0x2ea6aa=_0x4463c9,_0x2ea6aa&&!_0x2ea6aa[_0x158565(0x1b2)]){const _0x19fcbe=_0x2ea6aa[_0x158565(0x1d6)](()=>this[_0x158565(0x1bc)](_0x4e9a21));_0x50c344[_0x158565(0x17a)](_0x19fcbe),_0x2ea6aa[_0x158565(0x18b)]&&this[_0x158565(0x1b1)](_0x4e9a21);}else{if(!_0x2ea6aa){const _0x1feea3=this[_0x158565(0x17c)](_0x4e9a21);_0x72d6c7[_0x158565(0x164)][_0x158565(0x177)](_0x237e87=>{const _0x19f8b5=_0x158565;for(const _0x45672e of _0x1feea3)_0x237e87[_0x19f8b5(0x158)](_0x45672e);});}}}}),_0x2ea6aa;}[_0xa2b57a(0x1c1)](_0x28fb06,_0x59832c){const _0xbafc81=_0xa2b57a,_0x535569=this[_0xbafc81(0x1b8)](_0x28fb06,_0x59832c);_0x535569&&!_0x535569[_0xbafc81(0x1e0)]&&_0x535569[_0xbafc81(0x168)]({'type':_0xbafc81(0x14a),'value':this[_0xbafc81(0x1cc)](_0x59832c)});}[_0xa2b57a(0x198)](){const _0x530ebf=_0xa2b57a,_0x2207cb=this[_0x530ebf(0x1dc)];_0xad1f24(_0x2207cb[_0x530ebf(0x164)],({left:_0x5c42fe,entered:_0x596352})=>{const _0x4c59f7=_0x530ebf;for(const _0x3c405f of _0x5c42fe)if(mt(_0x3c405f)){_0x2207cb['ui'][_0x4c59f7(0x1be)][_0x4c59f7(0x1c5)](_0xb9c584(_0x2207cb[_0x4c59f7(0x160)],_0x4c59f7(0x15d)));break;}for(const _0x183ff4 of _0x596352)if(mt(_0x183ff4)){_0x2207cb['ui'][_0x4c59f7(0x1be)][_0x4c59f7(0x1c5)](_0xb9c584(_0x2207cb[_0x4c59f7(0x160)],_0x4c59f7(0x174),_0x1ce81d(_0x1e9441)));break;}});}}function dt(_0x284a69,_0x808444){return _0x808444?_0x284a69+':'+_0x808444:_0x284a69;}function ht(_0xc18460,_0x21e464){const _0x3fcab9=_0xa2b57a,_0x78363=_0x21e464[_0x3fcab9(0x15a)],_0x2033c2=_0x21e464[_0x3fcab9(0x16f)](_0xc18460[_0x3fcab9(0x140)]);for(const _0x14a270 of _0xc18460[_0x3fcab9(0x142)]()){const {type:_0x19cef2,item:_0x461b1f,nextPosition:_0x2b6c0d}=_0x14a270;if(_0x3fcab9(0x14a)===_0x19cef2||_0x78363[_0x3fcab9(0x16d)](_0x461b1f)){const _0x5a3c83=_0x21e464[_0x3fcab9(0x197)](_0x461b1f);_0x2033c2[_0x3fcab9(0x162)]&&(_0x2033c2[_0x3fcab9(0x140)]=_0x5a3c83),_0x2033c2[_0x3fcab9(0x1d3)]=_0x2b6c0d;}}return _0x2033c2;}function mt(_0x2003ea){const _0x4665f7=_0xa2b57a;return _0x4665f7(0x152)===_0x12e6c2(_0x2003ea[_0x4665f7(0x1ac)])[_0x4665f7(0x17d)];}
|
|
23
|
+
const _0x449192=_0x561e;(function(_0x4b8185,_0x57f32b){const _0x4edb20=_0x561e,_0x1af533=_0x4b8185();while(!![]){try{const _0x483c18=-parseInt(_0x4edb20(0x14c))/0x1*(-parseInt(_0x4edb20(0x192))/0x2)+-parseInt(_0x4edb20(0x1c9))/0x3+-parseInt(_0x4edb20(0x180))/0x4*(parseInt(_0x4edb20(0x1a7))/0x5)+-parseInt(_0x4edb20(0x12c))/0x6*(parseInt(_0x4edb20(0x1ba))/0x7)+parseInt(_0x4edb20(0x190))/0x8*(parseInt(_0x4edb20(0x1af))/0x9)+parseInt(_0x4edb20(0x167))/0xa*(-parseInt(_0x4edb20(0x196))/0xb)+-parseInt(_0x4edb20(0x19a))/0xc;if(_0x483c18===_0x57f32b)break;else _0x1af533['push'](_0x1af533['shift']());}catch(_0x4c5fa8){_0x1af533['push'](_0x1af533['shift']());}}}(_0x419a,0xabbdf));import{Plugin as _0x13fa5d}from'ckeditor5/src/core.js';import{getEnvKeystrokeText as _0x389777,scrollViewportToShowTarget as _0x495138,uid as _0x1b7a45}from'ckeditor5/src/utils.js';import{CommentsRepository as _0x27d974}from'./commentsrepository.js';function _0x561e(_0x48247f,_0x5dec3f){const _0x419a95=_0x419a();return _0x561e=function(_0x561e26,_0x33b5d9){_0x561e26=_0x561e26-0x12a;let _0x30a25a=_0x419a95[_0x561e26];return _0x30a25a;},_0x561e(_0x48247f,_0x5dec3f);}import{AddCommentThreadCommand as _0x30836f}from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x533f00,getAllMarkersDomElementsSorted as _0x56a5d3,FOCUS_ANNOTATION_KEYSTROKE as _0x3277ec,Users as _0x221b57}from'ckeditor5-collaboration/src/collaboration-core.js';import{EditorAnnotations as _0x4d573b}from'../annotations/editorannotations.js';import{CommentsRestrictedEditingMode as _0xe5ba81}from'./integrations/commentsrestrictededitingmode.js';import{CommentsImportWord as _0x55d3b5}from'./integrations/importword.js';import{CommentsClipboard as _0x13c0b7}from'./integrations/clipboard.js';import{ShowCommentHighlights as _0x5d2ba6}from'./integrations/showcommenthighlights.js';import'../../theme/commentmarker.css';import{Annotations as _0x500d41}from'../annotations/annotations.js';import{getTranslation as _0xd54c5b}from'../utils/common-translations.js';import{splitMarkerName as _0xbfbbdb}from'../utils/splitmarkername.js';export class CommentsEditing extends _0x13fa5d{static get[_0x449192(0x184)](){return[_0x27d974,_0x4d573b,_0x221b57,_0xe5ba81,_0x55d3b5,_0x13c0b7,_0x5d2ba6];}static get[_0x449192(0x1b4)](){const _0x2fa2ab=_0x449192;return _0x2fa2ab(0x165);}static get[_0x449192(0x172)](){return!0x0;}static get[_0x449192(0x19b)](){return!0x0;}constructor(_0x14c177){const _0x35b195=_0x449192;super(_0x14c177),this[_0x35b195(0x182)](_0x35b195(0x17d),!0x0),_0x14c177[_0x35b195(0x197)][_0x35b195(0x171)](_0x35b195(0x17a),()=>this[_0x35b195(0x17d)]=!0x1),this[_0x35b195(0x182)](_0x35b195(0x183),null),this['on'](_0x35b195(0x15c),(_0x2488cb,_0x1a00bb,_0x853b9c,_0x117103)=>{const _0x431d30=_0x35b195,_0x55906c=_0x14c177[_0x431d30(0x160)][_0x431d30(0x18a)](_0x27d974),_0x16e746=_0x853b9c?_0xbfbbdb(_0x853b9c)['id']:null;_0x14c177[_0x431d30(0x1ac)][_0x431d30(0x14f)](()=>{const _0x1172c3=_0x431d30;if(_0x16e746){const _0x4366ee=this[_0x1172c3(0x15e)](_0x16e746);for(const _0x145759 of _0x4366ee)_0x14c177[_0x1172c3(0x142)][_0x1172c3(0x166)](_0x145759);}if(_0x117103){const {id:_0x5ab298}=_0xbfbbdb(_0x117103),_0x3f0c11=_0x55906c[_0x1172c3(0x18e)](_0x5ab298);if(_0x3f0c11&&_0x3f0c11[_0x1172c3(0x193)])return;if(_0x3f0c11&&!_0x3f0c11[_0x1172c3(0x1a8)])return;const _0x4c7d7e=this[_0x1172c3(0x15e)](_0x5ab298);for(const _0x4e873c of _0x4c7d7e)_0x14c177[_0x1172c3(0x142)][_0x1172c3(0x166)](_0x4e873c);}}),_0x16e746&&this[_0x431d30(0x191)](_0x16e746);}),this[_0x35b195(0x187)]();}[_0x449192(0x1bf)](){const _0x2835e7=_0x449192,_0x26129f=this[_0x2835e7(0x1ca)],_0x529528=_0x26129f[_0x2835e7(0x160)][_0x2835e7(0x18a)](_0x27d974),_0xf806f5=_0x26129f[_0x2835e7(0x146)][_0x2835e7(0x18a)](_0x2835e7(0x16f)),_0x334b72=_0x529528[_0x2835e7(0x147)]()[_0x2835e7(0x1c5)](_0x5dd04a=>_0x5dd04a[_0x2835e7(0x12f)]!==_0xf806f5);_0x26129f[_0x2835e7(0x137)][_0x2835e7(0x144)](_0x2835e7(0x17f),new _0x30836f(_0x26129f)),this[_0x2835e7(0x199)](_0x26129f,_0x2835e7(0x1bd),(_0xcb7d5f,_0x87c69a,_0x3f77f8)=>{const _0x5b73db=_0x2835e7;_0x529528[_0x5b73db(0x173)](_0x3f77f8,_0x26129f[_0x5b73db(0x146)][_0x5b73db(0x18a)](_0x5b73db(0x16f)));}),this[_0x2835e7(0x199)](_0x529528,dt(_0x2835e7(0x17f),_0xf806f5),(_0x4b4439,{threadId:_0x49ae56})=>{const _0x57f222=_0x2835e7,_0x51ca3a=this[_0x57f222(0x1ca)][_0x57f222(0x160)][_0x57f222(0x18a)](_0x27d974)[_0x57f222(0x18e)](_0x49ae56);_0x51ca3a?.[_0x57f222(0x193)]&&this[_0x57f222(0x17b)](_0x49ae56);}),this[_0x2835e7(0x199)](_0x529528,dt(_0x2835e7(0x143),_0xf806f5),(_0x363d5a,{threadId:_0x518db3})=>{const _0x2f5cfa=_0x2835e7;_0x26129f[_0x2f5cfa(0x1ac)][_0x2f5cfa(0x145)]({'isUndoable':!0x1},_0x43cee0=>{const _0x3e70a9=_0x2f5cfa,_0x3ead66=this[_0x3e70a9(0x15e)](_0x518db3);for(const _0x8f6ffb of _0x3ead66)_0x43cee0[_0x3e70a9(0x1bb)](_0x8f6ffb);});}),this[_0x2835e7(0x199)](_0x529528,dt(_0x2835e7(0x134),_0xf806f5),(_0x362964,{threadId:_0x16d750})=>{const _0x454ebe=_0x2835e7;(this[_0x454ebe(0x130)](_0x16d750),this[_0x454ebe(0x1ca)][_0x454ebe(0x142)][_0x454ebe(0x198)][_0x454ebe(0x1c6)])&&(this[_0x454ebe(0x1ca)][_0x454ebe(0x160)][_0x454ebe(0x18a)](_0x27d974)[_0x454ebe(0x18e)](_0x16d750)[_0x454ebe(0x193)]||this[_0x454ebe(0x1ca)][_0x454ebe(0x142)][_0x454ebe(0x198)][_0x454ebe(0x13d)]());},{'priority':_0x2835e7(0x168)}),this[_0x2835e7(0x199)](_0x529528,dt(_0x2835e7(0x1a5),_0xf806f5),(_0x27faaf,{threadId:_0x516bfc})=>{const _0x1a503e=_0x2835e7;this[_0x1a503e(0x130)](_0x516bfc);},{'priority':_0x2835e7(0x168)}),this[_0x2835e7(0x199)](_0x529528,dt(_0x2835e7(0x16d),_0xf806f5),(_0x200a97,{threadId:_0x86efbb,isFromAdapter:_0x253fae})=>{const _0x3f0bbe=_0x2835e7,_0x318535=this[_0x3f0bbe(0x15e)](_0x86efbb);if(_0x253fae||0x0==_0x318535[_0x3f0bbe(0x1a4)]||!_0x529528[_0x3f0bbe(0x12b)](_0x86efbb))return;0x1===_0x529528[_0x3f0bbe(0x18e)](_0x86efbb)[_0x3f0bbe(0x1a4)]&&_0x26129f[_0x3f0bbe(0x1ac)][_0x3f0bbe(0x145)]({'isUndoable':!0x1},_0x1fbd28=>{const _0x29aaa5=_0x3f0bbe;for(const _0x578f46 of _0x318535)_0x1fbd28[_0x29aaa5(0x15d)](_0x578f46,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x2835e7(0x168)}),this[_0x2835e7(0x18c)](),this[_0x2835e7(0x1c7)](),this[_0x2835e7(0x176)](_0x334b72);}[_0x449192(0x19f)](){!async function(_0xe2a92b){const _0x1951a9=_0x3a424e([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]),_0x25eddd=0x73460ab3,_0x2a9c42=0x734182a3^_0x25eddd,_0x249db3=window[_0x3a424e([0x44,0x61,0x74,0x65])][_0x3a424e([0x6e,0x6f,0x77])](),_0xd8c3fa=_0xe2a92b[_0x3a424e([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x59814a=new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x539467=>{_0xd8c3fa[_0x3a424e([0x6f,0x6e,0x63,0x65])](_0x3a424e([0x72,0x65,0x61,0x64,0x79]),_0x539467);}),_0x15b3cc={[_0x3a424e([0x6b,0x74,0x79])]:_0x3a424e([0x45,0x43]),[_0x3a424e([0x75,0x73,0x65])]:_0x3a424e([0x73,0x69,0x67]),[_0x3a424e([0x63,0x72,0x76])]:_0x3a424e([0x50,0x2d,0x32,0x35,0x36]),[_0x3a424e([0x78])]:_0x3a424e([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]),[_0x3a424e([0x79])]:_0x3a424e([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]),[_0x3a424e([0x61,0x6c,0x67])]:_0x3a424e([0x45,0x53,0x32,0x35,0x36])},_0x256772=_0xd8c3fa[_0x3a424e([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3a424e([0x67,0x65,0x74])](_0x3a424e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x414cc0(){let _0x3a3e6b,_0x3425ce=null,_0x82f84e=null;try{if(_0x256772==_0x3a424e([0x47,0x50,0x4c]))return _0x3a424e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a3e6b=_0x4a65d7(),!_0x3a3e6b)return _0x3a424e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a3e6b[_0x3a424e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x82f84e=_0xa773a7(_0x3a3e6b[_0x3a424e([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a3e6b[_0x3a424e([0x6a,0x74,0x69])])),await _0x23848f()?_0x27f4c7()?_0x58468d()?_0x3a424e([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x21d4dd()?(_0x3a3e6b[_0x3a424e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3a424e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3425ce=_0x493584(_0x3a424e([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x51a97e()):_0x3a424e([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3a424e([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3a424e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3a424e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x58468d(){const _0x26b593=[_0x3a424e([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3a424e([0x74,0x72,0x69,0x61,0x6c])][_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a3e6b[_0x3a424e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x249db3/0x3e8:0xe10*_0x2a9c42;return _0x3a3e6b[_0x3a424e([0x65,0x78,0x70])]<_0x26b593;}function _0x27f4c7(){const _0x41b73e=_0x3a3e6b[_0x3a424e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];if(!_0x41b73e)return!0x1;if(_0x41b73e[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a424e([0x2a])))return!0x0;if(_0x41b73e[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a424e([0x43,0x4d,0x54])))return!0x0;if(_0x41b73e[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a424e([0x54,0x52,0x49,0x4c,0x49,0x55,0x4d]))&&_0x3c54d8())return!0x0;if(_0x41b73e[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a424e([0x52,0x43,0x4d,0x54]))){if(_0x2d42eb())return!0x0;if(_0x198fa8()||_0x31a361())return!0x0;}return!0x1;}function _0x21d4dd(){const _0x36895b=_0x561e,_0x40ffde=_0x3a3e6b[_0x3a424e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x40ffde||0x0==_0x40ffde[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4b3959}=new URL(window[_0x3a424e([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])][_0x36895b(0x16c)]);if(_0x40ffde[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4b3959))return!0x0;const _0x4060a8=_0x4b3959[_0x3a424e([0x73,0x70,0x6c,0x69,0x74])](_0x3a424e([0x2e]));return _0x40ffde[_0x3a424e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11f071=>_0x11f071[_0x3a424e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a424e([0x2a])))[_0x3a424e([0x6d,0x61,0x70])](_0x2f8163=>_0x2f8163[_0x3a424e([0x73,0x70,0x6c,0x69,0x74])](_0x3a424e([0x2e])))[_0x3a424e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44f18d=>_0x44f18d[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4060a8[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a424e([0x6d,0x61,0x70])](_0x5ca6e1=>Array(_0x4060a8[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5ca6e1[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3a424e([0x66,0x69,0x6c,0x6c])](_0x5ca6e1[0x0]===_0x3a424e([0x2a])?_0x3a424e([0x2a]):'')[_0x3a424e([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5ca6e1))[_0x3a424e([0x73,0x6f,0x6d,0x65])](_0xe259cd=>_0x4060a8[_0x3a424e([0x65,0x76,0x65,0x72,0x79])]((_0x2affef,_0x135122)=>_0xe259cd[_0x135122]===_0x2affef||_0xe259cd[_0x135122]===_0x3a424e([0x2a])));}function _0x51a97e(){return _0x3425ce&&_0x82f84e?new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d4227,_0x597f90)=>{_0x3425ce[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x3d4227,_0x597f90),_0x82f84e[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x358c29=>{_0x358c29!=_0x3a424e([0x56,0x61,0x6c,0x69,0x64])&&_0x3d4227(_0x358c29);},_0x597f90);}):_0x3425ce||_0x82f84e||_0x3a424e([0x56,0x61,0x6c,0x69,0x64]);}}function _0xa773a7(_0xefc0f,_0x5174ca){return new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x43528a=>{if(_0x48e864())return _0x43528a(_0x3a424e([0x56,0x61,0x6c,0x69,0x64]));_0x20c61e(),_0xd8c3fa[_0x3a424e([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3a424e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x587b54=!0x1;const _0x599f25=_0x1b7a45();function _0x56a724(_0x1b2cc8){return!!_0x1b2cc8&&(typeof _0x1b2cc8===_0x3a424e([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1b2cc8===_0x3a424e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1b2cc8[_0x3a424e([0x74,0x68,0x65,0x6e])]===_0x3a424e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1b2cc8[_0x3a424e([0x63,0x61,0x74,0x63,0x68])]===_0x3a424e([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3fad74(_0x5754e9){_0x4406a9(_0x5754e9)[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x528fcd=>{if(!_0x528fcd||_0x528fcd[_0x3a424e([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3a424e([0x6f,0x6b]))return _0x3a424e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x14aa23(_0x527138(_0x599f25+_0x5174ca))!=_0x528fcd[_0x3a424e([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3a424e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3a424e([0x56,0x61,0x6c,0x69,0x64]);})[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x100bd6=>(_0x2a7f30(),_0x100bd6),()=>{const _0x3bb5eb=_0x400afb();return null==_0x3bb5eb?(_0x2a7f30(),_0x3a424e([0x56,0x61,0x6c,0x69,0x64])):_0x3a424e(_0x249db3-_0x3bb5eb>(0x574a8eb3^_0x25eddd)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x43528a)[_0x3a424e([0x63,0x61,0x74,0x63,0x68])](()=>{_0x43528a(_0x3a424e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3a7eea=0x7370e433^_0x25eddd;function _0x2a7f30(){const _0x216e2a=_0x3a424e([0x6c,0x6c,0x63,0x74,0x2d])+_0x14aa23(_0x527138(_0xefc0f)),_0x2d3c4f=_0x28b2f2(_0x14aa23(window[_0x3a424e([0x4d,0x61,0x74,0x68])][_0x3a424e([0x63,0x65,0x69,0x6c])](_0x249db3/_0x3a7eea)));window[_0x3a424e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a424e([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x216e2a,_0x2d3c4f);}function _0x400afb(){const _0x172c63=_0x3a424e([0x6c,0x6c,0x63,0x74,0x2d])+_0x14aa23(_0x527138(_0xefc0f)),_0x35bc62=window[_0x3a424e([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3a424e([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x172c63);return _0x35bc62?window[_0x3a424e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x28b2f2(_0x35bc62),0x10)*_0x3a7eea:null;}function _0x4406a9(_0x4d645d){return new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x275363,_0x21ed39)=>{_0x4d645d[_0x3a424e([0x74,0x68,0x65,0x6e])](_0x275363,_0x21ed39),window[_0x3a424e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x21ed39,0x7347de73^_0x25eddd);});}}_0xd8c3fa[_0x3a424e([0x6f,0x6e])](_0x3a424e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x496a9d,_0x54fd5a)=>{if(_0x54fd5a[0x0]!=_0xefc0f)return _0x43528a(_0x3a424e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x54fd5a[0x1]={..._0x54fd5a[0x1],[_0x3a424e([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x599f25};},{[_0x3a424e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a424e([0x68,0x69,0x67,0x68])}),_0xd8c3fa[_0x3a424e([0x6f,0x6e])](_0x3a424e([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c7fdf=>{_0x56a724(_0x2c7fdf[_0x3a424e([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x587b54=!0x0,_0x3fad74(_0x2c7fdf[_0x3a424e([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3a424e([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3a424e([0x6c,0x6f,0x77])}),_0x59814a[_0x3a424e([0x74,0x68,0x65,0x6e])](()=>{_0x587b54||_0x43528a(_0x3a424e([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48e864(){return _0xd8c3fa[_0x3a424e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a424e([0x76,0x69,0x65,0x77])][_0x3a424e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3a424e([0x61,0x75,0x74,0x6f]);}function _0x20c61e(){_0xd8c3fa[_0x3a424e([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3a424e([0x76,0x69,0x65,0x77])][_0x3a424e([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3a424e([0x61,0x75,0x74,0x6f]);}}function _0x493584(_0x581803){const _0xe99d7a=[new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5afafb=>setTimeout(_0x5afafb,0x734f347f^_0x25eddd)),_0x59814a[_0x3a424e([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47aea6=>{let _0x499fc2=0x0;_0xd8c3fa[_0x3a424e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a424e([0x6f,0x6e])](_0x3a424e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xafa127,_0x12791f)=>{_0x12791f[0x0][_0x3a424e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x499fc2++,_0x499fc2==(0x73460f5b^_0x25eddd)&&(_0x47aea6(),_0xafa127[_0x3a424e([0x6f,0x66,0x66])]());});}))];return window[_0x3a424e([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3a424e([0x72,0x61,0x63,0x65])](_0xe99d7a)[_0x3a424e([0x74,0x68,0x65,0x6e])](()=>_0x581803);}async function _0x5877b3(){await _0x59814a,_0xd8c3fa[_0x3a424e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a424e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4e36e9,_0xd8c3fa[_0x3a424e([0x6d,0x6f,0x64,0x65,0x6c])][_0x3a424e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4e36e9,_0xd8c3fa[_0x3a424e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3a424e([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3c54d8(){return window[_0x3a424e([0x67,0x6c,0x6f,0x62])]&&window[_0x3a424e([0x67,0x6c,0x6f,0x62])][_0x3a424e([0x74,0x72,0x69,0x6c,0x69,0x75,0x6d,0x56,0x65,0x72,0x73,0x69,0x6f,0x6e])];}function _0x2d42eb(){return _0x305346(_0x3a424e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x36758a(_0x3a424e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3a424e([0x73,0x74,0x61,0x74,0x65])]==_0x3a424e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64]);}function _0x198fa8(){return _0x305346(_0x3a424e([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 _0x31a361(){return _0x305346(_0x3a424e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]));}function _0x544ef1(_0x34d629){const _0x590542=_0x38029a();_0xd8c3fa[_0x590542]=_0x3a424e([0x63,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x34d629,_0x34d629!=_0x3a424e([0x56,0x61,0x6c,0x69,0x64])&&_0x5877b3();}function _0x38029a(){const _0x436c1a=window[_0x3a424e([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3a424e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3a424e([0x6e,0x6f,0x77])]())[_0x3a424e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3a424e([0x2e]),'');let _0x27ef21=_0x3a424e([0x4b]);for(let _0x404a20=0x0;_0x404a20<_0x436c1a[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x404a20+=0x2){let _0x4a6c3e=window[_0x3a424e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x436c1a[_0x3a424e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x404a20,_0x404a20+0x2));_0x4a6c3e>=_0x1951a9[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4a6c3e-=_0x1951a9[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27ef21+=_0x1951a9[_0x4a6c3e];}return _0x27ef21;}function _0x4a65d7(){const _0x48859c=_0x256772[_0x3a424e([0x73,0x70,0x6c,0x69,0x74])](_0x3a424e([0x2e]));if(0x3!=_0x48859c[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x8a0805(_0x48859c[0x1]);function _0x8a0805(_0x1d586e){const _0x58b8f1=_0x3786be(_0x1d586e);return _0x58b8f1&&_0x83227f()?_0x58b8f1:null;function _0x83227f(){const _0x4b7d1f=_0x58b8f1[_0x3a424e([0x6a,0x74,0x69])],_0x1710fa=window[_0x3a424e([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b7d1f[_0x3a424e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4b7d1f[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58d847={..._0x58b8f1,[_0x3a424e([0x6a,0x74,0x69])]:_0x4b7d1f[_0x3a424e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4b7d1f[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58d847[_0x3a424e([0x76,0x63])],_0x527138(_0x58d847)==_0x1710fa;}}}async function _0x23848f(){let _0x209bc5=!0x0;try{const _0x1c877e=_0x256772[_0x3a424e([0x73,0x70,0x6c,0x69,0x74])](_0x3a424e([0x2e])),[_0x570e1e,_0x58f723,_0x163e9f]=_0x1c877e;return _0x11649a(_0x570e1e),await _0x2e7fe7(_0x570e1e,_0x58f723,_0x163e9f),_0x209bc5;}catch{return!0x1;}function _0x11649a(_0x256148){const _0x14fa7f=_0x3786be(_0x256148);_0x14fa7f&&_0x14fa7f[_0x3a424e([0x61,0x6c,0x67])]==_0x3a424e([0x45,0x53,0x32,0x35,0x36])||(_0x209bc5=!0x1);}async function _0x2e7fe7(_0xd923cd,_0x49a80a,_0x49fd15){const _0x19f253=window[_0x3a424e([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3a424e([0x66,0x72,0x6f,0x6d])](_0x95c374(_0x49fd15),_0x1d5fcb=>_0x1d5fcb[_0x3a424e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1e979c=new window[(_0x3a424e([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3a424e([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xd923cd+_0x3a424e([0x2e])+_0x49a80a),_0x1af618=window[_0x3a424e([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3a424e([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1af618)return;const _0xdf2e89=await _0x1af618[_0x3a424e([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3a424e([0x6a,0x77,0x6b]),_0x15b3cc,{[_0x3a424e([0x6e,0x61,0x6d,0x65])]:_0x3a424e([0x45,0x43,0x44,0x53,0x41]),[_0x3a424e([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3a424e([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3a424e([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1af618[_0x3a424e([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3a424e([0x6e,0x61,0x6d,0x65])]:_0x3a424e([0x45,0x43,0x44,0x53,0x41]),[_0x3a424e([0x68,0x61,0x73,0x68])]:{[_0x3a424e([0x6e,0x61,0x6d,0x65])]:_0x3a424e([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xdf2e89,_0x19f253,_0x1e979c)||(_0x209bc5=!0x1);}}function _0x3786be(_0xcd26a0){return _0xcd26a0[_0x3a424e([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3a424e([0x65,0x79]))?JSON[_0x3a424e([0x70,0x61,0x72,0x73,0x65])](_0x95c374(_0xcd26a0)):null;}function _0x95c374(_0x2d63bd){return window[_0x3a424e([0x61,0x74,0x6f,0x62])](_0x2d63bd[_0x3a424e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3a424e([0x2b]))[_0x3a424e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3a424e([0x2f])));}function _0x527138(_0xe543cf){let _0x110b0a=0x1505;function _0x2fef8a(_0x4dfe82){for(let _0x221b35=0x0;_0x221b35<_0x4dfe82[_0x3a424e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x221b35++){const _0x3e4488=_0x4dfe82[_0x3a424e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x221b35);_0x110b0a=(_0x110b0a<<0x5)+_0x110b0a+_0x3e4488,_0x110b0a&=_0x110b0a;}}function _0x5f4ddb(_0x5384e7){Array[_0x3a424e([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5384e7)?_0x5384e7[_0x3a424e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5f4ddb):_0x5384e7&&typeof _0x5384e7==_0x3a424e([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3a424e([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5384e7)[_0x3a424e([0x73,0x6f,0x72,0x74])]()[_0x3a424e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1173ca,_0x546c53])=>{_0x2fef8a(_0x1173ca),_0x5f4ddb(_0x546c53);}):_0x2fef8a(window[_0x3a424e([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5384e7));}return _0x5f4ddb(_0xe543cf),_0x110b0a>>>0x0;}function _0x14aa23(_0x4a295d){return _0x4a295d[_0x3a424e([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3a424e([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3a424e([0x30]));}function _0x28b2f2(_0xe3b391){return _0xe3b391[_0x3a424e([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3a424e([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3a424e([0x6a,0x6f,0x69,0x6e])]('');}function _0x305346(_0x27caa5){return _0xd8c3fa[_0x3a424e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3a424e([0x68,0x61,0x73])](_0x27caa5);}function _0x36758a(_0x5f9938){return _0xd8c3fa[_0x3a424e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3a424e([0x67,0x65,0x74])](_0x5f9938);}function _0x4e36e9(){}function _0x3a424e(_0x370c88){const _0x58c55c=_0x561e;return _0x370c88[_0x58c55c(0x1c1)](_0x32192b=>String[_0x58c55c(0x195)](_0x32192b))[_0x58c55c(0x1ad)]('');}_0x544ef1(await _0x414cc0());}(this);}[_0x449192(0x12a)](){const _0x1b952c=_0x449192,_0x58a73e=this[_0x1b952c(0x1ca)][_0x1b952c(0x160)][_0x1b952c(0x18a)](_0x27d974),_0x687b1a=this[_0x1b952c(0x1ca)][_0x1b952c(0x146)][_0x1b952c(0x18a)](_0x1b952c(0x16f));for(const _0x57d2d5 of _0x58a73e[_0x1b952c(0x147)]({'channelId':_0x687b1a}))_0x58a73e[_0x1b952c(0x13f)](_0x57d2d5['id']),_0x58a73e[_0x1b952c(0x1b2)][_0x1b952c(0x1b7)](_0x57d2d5['id']);super[_0x1b952c(0x12a)]();}[_0x449192(0x159)](_0xcf381e){const _0x5c714b=_0x449192;return this[_0x5c714b(0x15e)](_0xcf381e)[_0x5c714b(0x1a4)]>0x0;}[_0x449192(0x15e)](_0x3ed0cb){const _0x1ae569=_0x449192,_0x5e9a0d=[];for(const _0x2ace84 of this[_0x1ae569(0x1ca)][_0x1ae569(0x1ac)][_0x1ae569(0x12d)])_0x2ace84[_0x1ae569(0x13c)][_0x1ae569(0x16e)](_0x1ae569(0x1cb)+_0x3ed0cb)&&_0x5e9a0d[_0x1ae569(0x1ab)](_0x2ace84);return _0x5e9a0d;}[_0x449192(0x191)](_0x20a07b){setTimeout(()=>{const _0x5a812f=_0x561e,_0x44f3da=this[_0x5a812f(0x1b6)](_0x20a07b);if(!_0x44f3da)return;this[_0x5a812f(0x183)]&&_0xbfbbdb(this[_0x5a812f(0x183)])['id']===_0x20a07b&&_0x495138({'target':_0x44f3da[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x449192(0x130)](_0x36de9f){const _0x1c025b=_0x449192;this[_0x1c025b(0x1ca)][_0x1c025b(0x1ac)][_0x1c025b(0x14f)](()=>{const _0x317147=_0x1c025b;for(const _0x56c871 of this[_0x317147(0x15e)](_0x36de9f))this[_0x317147(0x1ca)][_0x317147(0x142)][_0x317147(0x166)](_0x56c871);});}[_0x449192(0x17b)](_0x3a8aae){const _0x5a375c=_0x449192,_0x1af265=this[_0x5a375c(0x1ca)][_0x5a375c(0x160)][_0x5a375c(0x18a)](_0x27d974),_0x1864d0=this[_0x5a375c(0x1ca)][_0x5a375c(0x160)][_0x5a375c(0x18a)](_0x4d573b),_0x2a1052=_0x1af265[_0x5a375c(0x18e)](_0x3a8aae);if(!_0x2a1052[_0x5a375c(0x1a8)]){const _0x402f21=_0x2a1052[_0x5a375c(0x169)](()=>this[_0x5a375c(0x1b6)](_0x2a1052['id']));_0x1864d0[_0x5a375c(0x189)](_0x402f21),_0x2a1052[_0x5a375c(0x179)]=!0x1;}}[_0x449192(0x18c)](){const _0xe57c41=_0x449192,_0xa832af=this[_0xe57c41(0x1ca)],_0x5a7b01=_0xa832af[_0xe57c41(0x160)][_0xe57c41(0x18a)](_0x221b57);_0xa832af[_0xe57c41(0x1a9)][_0xe57c41(0x1c8)](_0xe57c41(0x154))[_0xe57c41(0x138)]({'model':_0xe57c41(0x181),'view':(_0x5cad9c,_0x1c31fd)=>{const _0x44fbd5=_0xe57c41,{id:_0x3cc173}=_0xbfbbdb(_0x5cad9c[_0x44fbd5(0x15f)]),_0x29a6ac=_0xa832af[_0x44fbd5(0x160)][_0x44fbd5(0x18a)](_0x27d974)[_0x44fbd5(0x18e)](_0x3cc173),_0x583b0d=this[_0x44fbd5(0x183)]&&_0xbfbbdb(this[_0x44fbd5(0x183)])['id']===_0x3cc173;let _0x929a20;if(_0x29a6ac&&_0x29a6ac[_0x44fbd5(0x1a1)]&&!_0x583b0d&&_0x5cad9c[_0x44fbd5(0x1aa)])return _0x1c31fd[_0x44fbd5(0x140)][_0x44fbd5(0x1bc)](_0x5cad9c[_0x44fbd5(0x1aa)],_0x44fbd5(0x19d)+_0x5cad9c[_0x44fbd5(0x15f)]),_0x1c31fd[_0x44fbd5(0x140)][_0x44fbd5(0x1bc)](_0x5cad9c[_0x44fbd5(0x1aa)],_0x44fbd5(0x1c2)+_0x5cad9c[_0x44fbd5(0x15f)]),null;const _0x2fefe0=[_0x44fbd5(0x1cd)];return _0x583b0d&&_0x2fefe0[_0x44fbd5(0x1ab)](_0x44fbd5(0x18f)),_0x929a20=_0x29a6ac?.[_0x44fbd5(0x1a4)]?_0x29a6ac[_0x44fbd5(0x136)][_0x44fbd5(0x14b)][_0x44fbd5(0x186)]['id']:_0x5a7b01['me']['id'],{'classes':_0x2fefe0,'attributes':{'data-comment':_0x3cc173,'data-author-id':_0x929a20}};}}),_0xa832af[_0xe57c41(0x1a9)][_0xe57c41(0x1c8)](_0xe57c41(0x162))[_0xe57c41(0x12e)]({'model':_0xe57c41(0x181),'view':(_0x204dce,{options:_0x5130f5})=>{const _0x598c11=_0xe57c41;if(_0x5130f5[_0x598c11(0x1b5)])return null;const _0x1425e9=_0xa832af[_0x598c11(0x160)][_0x598c11(0x18a)](_0x27d974),_0x2cdc79=_0xa832af[_0x598c11(0x1ac)][_0x598c11(0x12d)][_0x598c11(0x18a)](_0x204dce),{id:_0xbc22cb,part:_0x133059}=_0xbfbbdb(_0x204dce);return _0x2cdc79&&!_0x2cdc79[_0x598c11(0x1be)]||_0x5130f5[_0x598c11(0x1b8)]&&_0x1425e9[_0x598c11(0x18e)](_0xbc22cb)?.[_0x598c11(0x1a1)]?null:{'group':_0x598c11(0x181),'name':_0x133059?_0xbc22cb+':'+_0x133059:_0xbc22cb};}}),_0xa832af[_0xe57c41(0x1a9)][_0xe57c41(0x1c8)](_0xe57c41(0x153))[_0xe57c41(0x177)]({'view':{'name':_0xe57c41(0x181),'attributes':{'id':/^\w/}},'model':(_0x2f98de,{writer:_0xaf67c8})=>_0xaf67c8[_0xe57c41(0x18d)](_0xe57c41(0x170),{'data-name':_0xe57c41(0x1cb)+_0x2f98de[_0xe57c41(0x1ae)]('id')})}),_0xa832af[_0xe57c41(0x1a9)][_0xe57c41(0x1c8)](_0xe57c41(0x153))[_0xe57c41(0x157)]({'view':_0xe57c41(0x181)});}[_0x449192(0x1c7)](){const _0x55b04b=_0x449192,_0x3a9fad=this[_0x55b04b(0x1ca)],_0x1d3054=_0x3a9fad[_0x55b04b(0x160)][_0x55b04b(0x18a)](_0x27d974),_0x3ad2c8=new Set(),_0x28e43c=new Set();_0x3a9fad[_0x55b04b(0x1ac)][_0x55b04b(0x16b)][_0x55b04b(0x135)](_0x3bed7a=>{const _0x40ac9f=_0x55b04b;let _0x428e0a=!0x1;for(const {name:_0x1083ec,data:_0x36dbfa}of _0x3a9fad[_0x40ac9f(0x1ac)][_0x40ac9f(0x16b)][_0x40ac9f(0x194)][_0x40ac9f(0x1b9)]()){const {group:_0x5cf240,id:_0x5f5819}=_0xbfbbdb(_0x1083ec);let _0x240771=_0x36dbfa[_0x40ac9f(0x1c3)];if(_0x40ac9f(0x181)!==_0x5cf240||!_0x240771)continue;const _0xa5000f=_0x40ac9f(0x1a0)===_0x240771[_0x40ac9f(0x1b0)][_0x40ac9f(0x158)];_0xa5000f||(_0x240771=ht(_0x240771,_0x3a9fad[_0x40ac9f(0x1ac)]),!_0x240771||_0x240771[_0x40ac9f(0x151)]||!_0x36dbfa[_0x40ac9f(0x1c3)]||_0x240771[_0x40ac9f(0x188)](_0x36dbfa[_0x40ac9f(0x1c3)]))?_0x3a9fad[_0x40ac9f(0x1ac)][_0x40ac9f(0x1ce)](_0x240771)&&!_0xa5000f?this[_0x40ac9f(0x17d)]?_0x3ad2c8[_0x40ac9f(0x144)](_0x1083ec):this[_0x40ac9f(0x14d)](_0x1083ec,_0x5f5819):(_0x28e43c[_0x40ac9f(0x144)](_0x1083ec),_0x3ad2c8[_0x40ac9f(0x1b7)](_0x1083ec),_0x3bed7a[_0x40ac9f(0x1bb)](_0x1083ec),_0x428e0a=!0x0):(_0x3bed7a[_0x40ac9f(0x15d)](_0x1083ec,{'range':_0x240771}),_0x428e0a=!0x0);}return _0x428e0a;}),this['on'](_0x55b04b(0x1a6),(_0x285e16,_0x21812c,_0x4d11aa)=>{const _0x3649be=_0x55b04b;if(!_0x4d11aa&&_0x3ad2c8[_0x3649be(0x150)])for(const _0x148ace of _0x3ad2c8){const {id:_0x15ccd2}=_0xbfbbdb(_0x148ace);_0x3ad2c8[_0x3649be(0x1b7)](_0x148ace),_0x3a9fad[_0x3649be(0x1ac)][_0x3649be(0x12d)][_0x3649be(0x18a)](_0x148ace)&&this[_0x3649be(0x14d)](_0x148ace,_0x15ccd2);}}),this[_0x55b04b(0x199)](_0x3a9fad[_0x55b04b(0x1ac)][_0x55b04b(0x16b)],_0x55b04b(0x14f),()=>{const _0x4bc0f6=_0x55b04b;for(const {name:_0x291711,data:{newRange:_0x4b41bd}}of _0x3a9fad[_0x4bc0f6(0x1ac)][_0x4bc0f6(0x16b)][_0x4bc0f6(0x194)][_0x4bc0f6(0x1b9)]()){const {group:_0x5148ec,id:_0x17f3ee}=_0xbfbbdb(_0x291711);if(_0x4bc0f6(0x181)!==_0x5148ec)continue;const _0xedc41d=_0x1d3054[_0x4bc0f6(0x18e)](_0x17f3ee),_0x5d51d1=this[_0x4bc0f6(0x159)](_0x17f3ee);_0xedc41d&&(!_0xedc41d[_0x4bc0f6(0x179)]&&_0x4b41bd&&_0x3a9fad[_0x4bc0f6(0x142)][_0x4bc0f6(0x198)][_0x4bc0f6(0x171)](_0x4bc0f6(0x14e),()=>{const _0x982b9b=_0x4bc0f6,_0x2e2688=_0x3a9fad[_0x982b9b(0x160)][_0x982b9b(0x18a)](_0x500d41),_0x28ea97=_0x1d3054[_0x982b9b(0x175)][_0x982b9b(0x18a)](_0xedc41d)[_0x982b9b(0x198)];_0x2e2688[_0x982b9b(0x149)](_0x28ea97)[_0x982b9b(0x1b1)]();},{'priority':_0x4bc0f6(0x168)}),_0xedc41d[_0x4bc0f6(0x179)]=_0x5d51d1||!!_0x4b41bd),_0x4b41bd||(_0x28e43c[_0x4bc0f6(0x144)](_0x291711),_0x3ad2c8[_0x4bc0f6(0x1b7)](_0x291711));}for(const _0x150ccd of _0x28e43c){const {id:_0x5e5f68}=_0xbfbbdb(_0x150ccd),_0x3b1f71=_0x1d3054[_0x4bc0f6(0x18e)](_0x5e5f68);if(_0x3ad2c8[_0x4bc0f6(0x1b7)](_0x150ccd),!_0x3b1f71)continue;const _0x2face3=this[_0x4bc0f6(0x159)](_0x5e5f68);_0x2face3||_0x3b1f71[_0x4bc0f6(0x16a)]?_0x2face3||_0x3b1f71[_0x4bc0f6(0x193)]||_0x3b1f71[_0x4bc0f6(0x131)](new Date()):_0x3b1f71[_0x4bc0f6(0x14a)]();}_0x28e43c[_0x4bc0f6(0x163)]();});}[_0x449192(0x176)](_0x37551b){const _0x561b6b=_0x449192;_0x37551b[_0x561b6b(0x155)](_0x1f158e=>{const _0xcb6fb7=_0x561b6b;_0x1f158e[_0xcb6fb7(0x193)]&&this[_0xcb6fb7(0x17b)](_0x1f158e['id']);});}[_0x449192(0x1b6)](_0x291731){const _0xa301fa=_0x449192,_0x36c141=this[_0xa301fa(0x1ca)],_0x51e300=this[_0xa301fa(0x15e)](_0x291731);return _0x56a5d3(_0x36c141[_0xa301fa(0x142)],_0x51e300);}[_0x449192(0x19e)](_0x3ea4d4){const _0xd3d762=_0x449192,_0x5808e2=this[_0xd3d762(0x15e)](_0x3ea4d4);let _0x3c2c11='',_0x563a43=!0x1;for(const _0x5770e2 of _0x5808e2){const _0xdd4841=_0x5770e2[_0xd3d762(0x152)]();for(const _0x24fec4 of Array[_0xd3d762(0x17c)](_0xdd4841[_0xd3d762(0x1b3)]()))_0x24fec4['is'](_0xd3d762(0x15b))?(_0x3c2c11&&_0x563a43&&(_0x3c2c11+='\x20',_0x563a43=!0x1),_0x3c2c11+=_0x24fec4[_0xd3d762(0x197)]):_0x563a43=!0x0;_0x563a43=!0x0;}return _0x3c2c11[_0xd3d762(0x18b)](0x0,0x96);}[_0x449192(0x185)](_0x434f71,_0x41867b){const _0xbfd65=_0x449192,_0x11800e=this[_0xbfd65(0x1ca)],_0x14f668=_0x11800e[_0xbfd65(0x160)][_0xbfd65(0x18a)](_0x27d974);let _0x3eb063=_0x14f668[_0xbfd65(0x18e)](_0x41867b);const _0x238811=_0x11800e[_0xbfd65(0x146)][_0xbfd65(0x18a)](_0xbfd65(0x16f)),_0x5238dd=_0x11800e[_0xbfd65(0x160)][_0xbfd65(0x18a)](_0x4d573b);if(_0x3eb063&&(_0x3eb063[_0xbfd65(0x193)]&&_0x3eb063[_0xbfd65(0x131)](null),_0x3eb063[_0xbfd65(0x1a8)]))return _0x3eb063;return!this[_0xbfd65(0x15e)](_0x41867b)[0x0][_0xbfd65(0x156)]?_0x11800e[_0xbfd65(0x142)][_0xbfd65(0x198)][_0xbfd65(0x171)](_0xbfd65(0x14e),()=>{const _0x3e7c46=_0xbfd65;if(_0x14f668[_0x3e7c46(0x18e)](_0x41867b))return;const _0x4bb561=_0x11800e[_0x3e7c46(0x160)][_0x3e7c46(0x18a)](_0x500d41);_0x3eb063=_0x14f668[_0x3e7c46(0x133)]({'channelId':_0x238811,'threadId':_0x41867b,'target':()=>this[_0x3e7c46(0x1b6)](_0x41867b),'context':{'type':_0x3e7c46(0x148),'value':this[_0x3e7c46(0x19e)](_0x41867b)}});const _0x40742c=_0x14f668[_0x3e7c46(0x175)][_0x3e7c46(0x18a)](_0x3eb063)[_0x3e7c46(0x198)],_0x2d2e94=_0x4bb561[_0x3e7c46(0x149)](_0x40742c);_0x2d2e94&&_0x5238dd[_0x3e7c46(0x189)](_0x2d2e94);},{'priority':_0xbfd65(0x168)}):_0x14f668[_0xbfd65(0x1c4)]({'channelId':_0x238811,'threadId':_0x41867b})[_0xbfd65(0x178)](_0x1454d2=>{const _0x5a8b99=_0xbfd65;if(_0x5a8b99(0x13b)!==_0x11800e[_0x5a8b99(0x1a3)]){if(_0x3eb063=_0x1454d2,_0x3eb063&&!_0x3eb063[_0x5a8b99(0x1a8)]){const _0x456e7e=_0x3eb063[_0x5a8b99(0x169)](()=>this[_0x5a8b99(0x1b6)](_0x41867b));_0x5238dd[_0x5a8b99(0x189)](_0x456e7e),_0x3eb063[_0x5a8b99(0x1a1)]&&this[_0x5a8b99(0x130)](_0x41867b);}else{if(!_0x3eb063){const _0xef261f=this[_0x5a8b99(0x15e)](_0x41867b);_0x11800e[_0x5a8b99(0x1ac)][_0x5a8b99(0x14f)](_0x5236a4=>{const _0x596849=_0x5a8b99;for(const _0x2dea4a of _0xef261f)_0x5236a4[_0x596849(0x1bb)](_0x2dea4a);});}}}}),_0x3eb063;}[_0x449192(0x14d)](_0x496499,_0x2f1fe0){const _0x26f585=_0x449192,_0x1f3587=this[_0x26f585(0x185)](_0x496499,_0x2f1fe0);_0x1f3587&&!_0x1f3587[_0x26f585(0x1cf)]&&_0x1f3587[_0x26f585(0x19c)]({'type':_0x26f585(0x148),'value':this[_0x26f585(0x19e)](_0x2f1fe0)});}[_0x449192(0x187)](){const _0x5c0989=_0x449192,_0x5c194e=this[_0x5c0989(0x1ca)];_0x533f00(_0x5c194e[_0x5c0989(0x1ac)],({left:_0x1ca572,entered:_0x58081c})=>{const _0x3c5d07=_0x5c0989;for(const _0x546f69 of _0x1ca572)if(mt(_0x546f69)){_0x5c194e['ui'][_0x3c5d07(0x1cc)][_0x3c5d07(0x164)](_0xd54c5b(_0x5c194e[_0x3c5d07(0x161)],_0x3c5d07(0x141)));break;}for(const _0x25d97c of _0x58081c)if(mt(_0x25d97c)){_0x5c194e['ui'][_0x3c5d07(0x1cc)][_0x3c5d07(0x164)](_0xd54c5b(_0x5c194e[_0x3c5d07(0x161)],_0x3c5d07(0x174),_0x389777(_0x3277ec)));break;}});}}function dt(_0x4a3b66,_0x5166cf){return _0x5166cf?_0x4a3b66+':'+_0x5166cf:_0x4a3b66;}function ht(_0x146862,_0x111ae6){const _0x1f477f=_0x449192,_0x2f2828=_0x111ae6[_0x1f477f(0x139)],_0x15e41b=_0x111ae6[_0x1f477f(0x132)](_0x146862[_0x1f477f(0x17e)]);for(const _0x464642 of _0x146862[_0x1f477f(0x1c0)]()){const {type:_0x446c71,item:_0x46560f,nextPosition:_0x282a91}=_0x464642;if(_0x1f477f(0x148)===_0x446c71||_0x2f2828[_0x1f477f(0x13e)](_0x46560f)){const _0x1b1c68=_0x111ae6[_0x1f477f(0x1a2)](_0x46560f);_0x15e41b[_0x1f477f(0x151)]&&(_0x15e41b[_0x1f477f(0x17e)]=_0x1b1c68),_0x15e41b[_0x1f477f(0x13a)]=_0x282a91;}}return _0x15e41b;}function mt(_0x19b48b){const _0x4b4649=_0x449192;return _0x4b4649(0x181)===_0xbfbbdb(_0x19b48b[_0x4b4649(0x13c)])[_0x4b4649(0x15a)];}function _0x419a(){const _0x5042f5=['getWalker','map','removeMarker:','newRange','fetchCommentThread','filter','hasDomSelection','_handleMarkerAddAndRemove','for','91413rRqKMn','editor','comment:','ariaLiveAnnouncer','ck-comment-marker','hasContent','context','destroy','hasCommentThread','6DJkvTP','markers','markerToData','channelId','_reconvertMarkers','setUnlinkedAt','createRange','openNewCommentThread','resolveCommentThread','registerPostFixer','comments','commands','markerToHighlight','schema','end','destroyed','name','focus','isObject','_detachCommentThread','consumable','LEAVE_COMMENT_ANNOUNCEMENT','editing','removeCommentThread','add','enqueueChange','config','getCommentThreads','text','getByInnerView','remove','first','345qQXObv','_handleThreadMarker','render','change','size','isCollapsed','getRange','upcast','editingDowncast','forEach','managedUsingOperations','dataToMarker','rootName','hasMarkerForId','group','$textProxy','change:activeMarker','updateMarker','getAllMarkersForId','markerName','plugins','locale','dataDowncast','clear','announce','CommentsEditing','reconvertMarker','10tGHiDO','low','attachTo','isSubmitted','document','href','addComment','startsWith','collaboration.channelId','$marker','once','isOfficialPlugin','switchReadOnly','ENTER_COMMENT_ANNOUNCEMENT','_threadToController','_handleInitialThreads','elementToElement','then','_hasTargetInContent','ready','_attachArchivedThread','from','isThreadsLoadingPaused','start','addCommentThread','4LekacI','comment','set','activeMarker','requires','_attachMarkerToThread','author','_initAriaMarkerChangeAnnouncements','isEqual','registerAnnotation','get','substring','_initializeMarkerConverters','createElement','getCommentThread','ck-comment-marker--active','7832eNCFzd','scrollToThreadMarker','5438zPmqjM','unlinkedAt','differ','fromCharCode','3228401KjLjJN','data','view','listenTo','9602532dZunRn','isPremiumPlugin','setContext','addMarker:','_getTextContext','afterInit','$graveyard','isResolved','createPositionBefore','state','length','reopenCommentThread','change:isThreadsLoadingPaused','1122295iIhJxa','isAttached','conversion','item','push','model','join','getAttribute','11277XyGrGi','root','refreshVisibility','_threads','getItems','pluginName','showCommentHighlights','_getTargetForId','delete','ignoreResolvedComments','getChangedMarkers','788585HEmvGO','removeMarker','consume','change:isReadOnly','affectsData','init'];_0x419a=function(){return _0x5042f5;};return _0x419a();}
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x1db62c=_0x2791;(function(_0x189e4e,_0x4a67b0){const _0x13feb8=_0x2791,_0x1baa14=_0x189e4e();while(!![]){try{const _0x1f3feb=parseInt(_0x13feb8(0x1d0))/0x1*(-parseInt(_0x13feb8(0x231))/0x2)+-parseInt(_0x13feb8(0x21b))/0x3*(parseInt(_0x13feb8(0x258))/0x4)+-parseInt(_0x13feb8(0x20e))/0x5+-parseInt(_0x13feb8(0x1f9))/0x6+parseInt(_0x13feb8(0x280))/0x7+-parseInt(_0x13feb8(0x25d))/0x8+parseInt(_0x13feb8(0x1b3))/0x9*(parseInt(_0x13feb8(0x210))/0xa);if(_0x1f3feb===_0x4a67b0)break;else _0x1baa14['push'](_0x1baa14['shift']());}catch(_0x3d5e70){_0x1baa14['push'](_0x1baa14['shift']());}}}(_0x41de,0x5a76b));import{PendingActions as _0x326490,ContextPlugin as _0x2351bf,Editor as _0x354775}from'ckeditor5/src/core.js';import{Collection as _0x1902d2,uid as _0x1cdbea,CKEditorError as _0x2ed2ee,ObservableMixin as _0x5154ad}from'ckeditor5/src/utils.js';import{getDateTimeFormatter as _0x1d6930,hashObject as _0x5eab29,Users as _0x160744}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x2a42df,isEqual as _0x32070a,set as _0x52c70f,unset as _0x1ab017}from'es-toolkit/compat';import{CommentThreadController as _0xa4d20a}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x3ee8d9}from'./ui/view/commentthreadview.js';function _0x41de(){const _0x33f4a7=['updateComment','focus','getIndex','assign','getAnnotationForCommentThread','createdAt','write','catch','change:isDirty','commentsrepository-remove-comment-thread-internal-error','getComment','_getExternalAuthor','commentsrepository-adapter-already-set','getPermissions','lowest','CommentsRepository','CommentThreadView','_createCommentThreadView','commentsrepository-active-not-attached','addCommentThread','isActive','isAttached','createCommentThreadController','warn','authoredAt','9608NlVcye','_addCommentThread','authorName','commentsrepository-update-comment-internal-error','getTime','5838248EJyvPw','addUser','isSubmitted','commentsrepository-add-comment-to-missing-comment-thread','commentsrepository-invalid-comment-content','commentsrepository-add-comment-thread-internal-error','comments.copyMarkers','isVisible','isFromAdapter','hasCommentThread','destroy','_update','then','removeAttribute','commentsrepository-update-comment-missing-comment-thread','author','commentsrepository-resolved-comment-thread','_reopenCommentThread','editorReady','isExternal','commentsrepository-resolve-comment-thread-internal-error','isResolvable','update','_detachCommentThread','commentsrepository-duplicated-comment-thread-id','max','canComment','channelId','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','_removeCommentThread','isEditable','commentsrepository-attach-missing-comment-thread','has','_resolveCommentThread','_threads','4625138CdShan','commentsrepository-invalid-commentid','refreshVisibility','innerHTML','_adapter','bodyCollectionContainer','commentId','_updateActiveAnnotation','switchReadOnly','isOfficialPlugin','setPermissions','from','locale','isDirty','focusTracker','_permissions','div','comments.editorConfig','_removeComment','weight','focusableElements','resolvedBy','_createNewComment','comments.CommentView','removeCommentThread','attributes','change:activeAnnotations','3094515CRexXQ','function','resolve','PendingActions','resolvedAt','_viewToController','comments.maxCommentCharsWhenCollapsed','fire','isReadOnly','addComment','commentsrepository-missing-thread-and-adapter-method','archivedAt','activeCommentThread','PENDING_ACTION_COMMENT_THREAD','find','listenTo','getUser','comments.maxCommentsWhenCollapsed','_unbindEditors','highest','error','admin','setAttribute','commentsrepository-update-missing-comment','pluginName','init','commentsrepository-update-comment-invalid-content','bind','_removeActiveAnnotation','2FClQhv','setActiveCommentThread','updateCommentThread','commentsrepository-fetch-comment-thread','comments.maxThreadTotalWeight','toJSON','view','commentInputView','noChannel','editorDestroyed','commentsrepository-remove-comment-missing-comment-thread','commentsrepository-missing-target','attachTo','_readOnlyChannels','plugins','commentsrepository-invalid-comment-authorid','commentsrepository-missing-comment-thread','_isAttached','once','getCommentThread','change:authoredAt','isPremiumPlugin','_updateCommentThread','_submitCommentThread','commentsrepository-add-comment-internal-error','push','removeComment','change:_readOnlyChannels','unlinkedAt','fetchCommentThread','config','commentsrepository-get-comment-invalid-id','comments','deactivateAll','_updateComment','commentsrepository-remove-missing-comment','commentsrepository-add-comment-user-not-exists','external:','activate','_hasTargetInContent','resolveCommentThread','1369056AJPhBn','_add','innerView','type','getByInnerView','_remove','_repository','licenseKey','stopListening','_isSubmitted','reopenCommentThread','get','reopen','body','commentsrepository-update-comment-thread-internal-error','comment','set','change:_permissions','setContext','createElement','trim','2934715szJtpi','_threadToController','70BDEXTa','delete','@external','getCommentThreadForAnnotation','_findOptimalIndex','modifyAll','commentThreadInputView','submit','commentsrepository-active-missing-comment-thread','CommentView','submitCommentThread','732UGkeFX','getCommentThreads','requires','model','creator','_attachCommentThread','isResolved','escape','_bindAnnotationToEditors','adapter','comments.CommentThreadView','remove','commentsrepository-remove-comment-internal-error','values','setUnlinkedAt','_addComment','isRemovable','string','commentsrepository-remove-missing-comment-thread','map','content','textContent','566052AuwZVT','add','commentsrepository-reopen-comment-thread','define','commentsrepository-invalid-comment-thread-id','commentUpdated','openNewCommentThread','filter','threadId','commentsListView','context','reduce','length','commentsrepository-reopen-comment-thread-internal-error'];_0x41de=function(){return _0x33f4a7;};return _0x41de();}import{CommentView as _0x29ec0c}from'./ui/view/commentview.js';import{getTranslation as _0x19a29b}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0xdb7b0}from'../annotations/view/annotationview.js';import{Annotation as _0x1afbdc}from'../annotations/annotation.js';function _0x2791(_0x43b755,_0x191f81){const _0x41de2f=_0x41de();return _0x2791=function(_0x27919a,_0x13d62f){_0x27919a=_0x27919a-0x1ae;let _0x52bd65=_0x41de2f[_0x27919a];return _0x52bd65;},_0x2791(_0x43b755,_0x191f81);}import{Annotations as _0x5e251c}from'../annotations/annotations.js';const _t=Symbol(_0x1db62c(0x1d8)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x2351bf{[_0x1db62c(0x27f)];[_0x1db62c(0x20f)];[_0x1db62c(0x1b8)];static get[_0x1db62c(0x21d)](){return[_0x5e251c,_0x326490,_0x160744];}static get[_0x1db62c(0x1cb)](){const _0x4a78d9=_0x1db62c;return _0x4a78d9(0x24e);}static get[_0x1db62c(0x289)](){return!0x0;}static get[_0x1db62c(0x1e5)](){return!0x0;}constructor(_0x4ea48f){const _0x224dc4=_0x1db62c;super(_0x4ea48f),this[_0x224dc4(0x27f)]=new Map(),this[_0x224dc4(0x20f)]=new Map(),this[_0x224dc4(0x1b8)]=new Map(),this[_0x224dc4(0x209)](_0x224dc4(0x1dd),new Set()),this[_0x224dc4(0x209)](_0x224dc4(0x28f),new Map());const _0x591717=this[_0x224dc4(0x23b)][_0x224dc4(0x1ee)];_0x591717[_0x224dc4(0x234)](_0x224dc4(0x1c4),0x2),_0x591717[_0x224dc4(0x234)](_0x224dc4(0x1d4),0x1f4),_0x591717[_0x224dc4(0x234)](_0x224dc4(0x1b9),0x8c),_0x591717[_0x224dc4(0x234)](_0x224dc4(0x225),_0x3ee8d9),_0x591717[_0x224dc4(0x234)](_0x224dc4(0x1af),_0x29ec0c),_0x591717[_0x224dc4(0x204)](_0x224dc4(0x291))||console[_0x224dc4(0x256)](_0x224dc4(0x279));}[_0x1db62c(0x1cc)](){const _0x361bfb=_0x1db62c,_0x3e633e=this[_0x361bfb(0x23b)][_0x361bfb(0x1de)][_0x361bfb(0x204)](_0x5e251c);this[_0x361bfb(0x209)](_0x361bfb(0x1bf),null),this['on'](_0x361bfb(0x252),(_0x1d6639,_0x1e14e3)=>this[_0x361bfb(0x259)](_0x1e14e3)),this['on'](_0x361bfb(0x21a),(_0x433020,_0x1a72bf)=>this[_0x361bfb(0x1e7)](_0x1a72bf)),this['on'](_0x361bfb(0x1f8),(_0x3c7ae6,_0x5eef4e)=>this[_0x361bfb(0x27e)](_0x5eef4e)),this['on'](_0x361bfb(0x1f8),(_0x264e94,_0x49664d)=>this[_0x361bfb(0x287)](_0x49664d),{'priority':_0x361bfb(0x24d)}),this['on'](_0x361bfb(0x203),(_0x2146ae,_0x2987aa)=>this[_0x361bfb(0x26e)](_0x2987aa)),this['on'](_0x361bfb(0x203),(_0x3d98c8,_0x8597a7)=>this[_0x361bfb(0x287)](_0x8597a7),{'priority':_0x361bfb(0x24d)}),this['on'](_0x361bfb(0x1b0),(_0x4312e4,_0x40a0d4)=>this[_0x361bfb(0x27a)](_0x40a0d4)),this['on'](_0x361bfb(0x1d2),(_0x87d3e,_0x2d03da)=>this[_0x361bfb(0x1e6)](_0x2d03da)),this['on'](_0x361bfb(0x1d2),(_0x3e307b,_0x5a4bbc)=>this[_0x361bfb(0x287)](_0x5a4bbc),{'priority':_0x361bfb(0x24d)}),this['on'](_0x361bfb(0x1bc),(_0x1adbec,_0x5c3dea)=>this[_0x361bfb(0x22a)](_0x5c3dea)),this['on'](_0x361bfb(0x23f),(_0x1c91ad,_0x47e28f)=>this[_0x361bfb(0x1f2)](_0x47e28f)),this['on'](_0x361bfb(0x1ea),(_0x4f8b46,_0x3068f4)=>this[_0x361bfb(0x292)](_0x3068f4)),this['on'](_0x361bfb(0x1bc),(_0x154a4e,{threadId:_0x42ee6b,isFromAdapter:_0xc7658d})=>{const _0x4555c3=_0x361bfb;if(_0xc7658d)return;const _0x36c75d=this[_0x4555c3(0x1e3)](_0x42ee6b),_0x34b10f=_0x36c75d&&this[_0x4555c3(0x20f)][_0x4555c3(0x204)](_0x36c75d);_0x34b10f&&_0x34b10f[_0x4555c3(0x1d6)][_0x4555c3(0x23a)][_0x4555c3(0x240)](-0x1);},{'priority':_0x361bfb(0x24d)}),this[_0x361bfb(0x1c2)](_0x3e633e,_0x361bfb(0x1b2),(_0x2a310b,_0x3eca4f,_0x5f5de4)=>{const _0x9b931b=_0x361bfb,_0x203092=Array[_0x9b931b(0x28b)](_0x5f5de4)[_0x9b931b(0x22e)](_0x44a0fe=>this[_0x9b931b(0x1b8)][_0x9b931b(0x204)](_0x44a0fe[_0x9b931b(0x1fb)]))[_0x9b931b(0x238)](Boolean)[0x0];this[_0x9b931b(0x1bf)]=_0x203092?_0x203092[_0x9b931b(0x21e)]:null;});}set[_0x1db62c(0x224)](_0x1bfe7){const _0x304101=_0x1db62c;if(this[_0x304101(0x284)])throw new _0x2ed2ee(_0x304101(0x24b));this[_0x304101(0x284)]=_0x1bfe7;}get[_0x1db62c(0x224)](){const _0xa120cf=_0x1db62c;return this[_0xa120cf(0x284)];}[_0x1db62c(0x252)]({channelId:_0x3a2c60=_t,threadId:_0x4f1459=_0x1cdbea(),comments:_0x385617=[],unlinkedAt:_0x4b6cb0=null,resolvedAt:_0x2bb94e=null,resolvedBy:_0x3b59e4=null,target:_0x33f9f5=null,context:_0x4ce548=null,attributes:_0x3433ac={},isResolvable:_0x11b9b4=!0x0,isSubmitted:_0x417c4c=!0x1,isFromAdapter:_0x4e280b=!0x1}={}){const _0xfdb53=_0x1db62c;return this[_0xfdb53(0x1ba)](Nt(_0xfdb53(0x252),_0x3a2c60),{'channelId':_0x3a2c60,'threadId':_0x4f1459,'comments':_0x385617,'unlinkedAt':_0x4b6cb0,'resolvedAt':_0x2bb94e,'resolvedBy':_0x3b59e4,'target':_0x33f9f5,'context':_0x4ce548,'attributes':_0x3433ac,'isFromAdapter':_0x4e280b,'isResolvable':_0x11b9b4,'isSubmitted':_0x417c4c}),this[_0xfdb53(0x1e3)](_0x4f1459);}[_0x1db62c(0x237)]({channelId:_0x9f5af1=_t,threadId:_0x2bce18=_0x1cdbea(),target:_0x56b425,context:_0x24dd28=null,isResolvable:_0x1865f1=!0x0}){const _0x1712cb=_0x1db62c;if(this[_0x1712cb(0x1dd)][_0x1712cb(0x27d)](_0x9f5af1)||this[_0x1712cb(0x1dd)][_0x1712cb(0x27d)](void 0x0))return null;if(!_0x56b425)throw new _0x2ed2ee(_0x1712cb(0x1db));const _0x491257=this[_0x1712cb(0x252)]({'channelId':_0x9f5af1,'threadId':_0x2bce18,'target':_0x56b425,'context':_0x24dd28,'isResolvable':_0x1865f1});if(!_0x491257)return null;const _0x44683e=this[_0x1712cb(0x20f)][_0x1712cb(0x204)](_0x491257),_0x3e7080=_0x44683e[_0x1712cb(0x1d6)][_0x1712cb(0x216)][_0x1712cb(0x1d7)],_0x4685cc=this[_0x1712cb(0x23b)][_0x1712cb(0x1de)][_0x1712cb(0x204)](_0x5e251c),_0x59943e=_0x4685cc[_0x1712cb(0x1fd)](_0x44683e[_0x1712cb(0x1d6)]);return _0x4685cc[_0x1712cb(0x1f6)](_0x59943e),_0x3e7080[_0x1712cb(0x1e2)](_0x1712cb(0x26f),()=>_0x3e7080[_0x1712cb(0x240)]()),_0x491257;}[_0x1db62c(0x266)](_0x58bd77){const _0x5daca9=_0x1db62c;if(_0x5daca9(0x22c)!=typeof _0x58bd77)throw new _0x2ed2ee(_0x5daca9(0x235));return this[_0x5daca9(0x27f)][_0x5daca9(0x27d)](_0x58bd77);}[_0x1db62c(0x1d2)]({channelId:_0x271f2c=_t,threadId:_0x4131ca,context:_0x4c0dc1,unlinkedAt:_0xf96686,attributes:_0x2b3518,isFromAdapter:_0x246ad9=!0x1}){const _0x2d2ec7=_0x1db62c;return this[_0x2d2ec7(0x1ba)](Nt(_0x2d2ec7(0x1d2),_0x271f2c),{'channelId':_0x271f2c,'threadId':_0x4131ca,'context':_0x4c0dc1,'unlinkedAt':_0xf96686,'attributes':_0x2b3518,'isFromAdapter':_0x246ad9}),this[_0x2d2ec7(0x1e3)](_0x4131ca);}[_0x1db62c(0x1e3)](_0x532654){const _0x427792=_0x1db62c;if(_0x427792(0x22c)!=typeof _0x532654)throw new _0x2ed2ee(_0x427792(0x235));return this[_0x427792(0x27f)][_0x427792(0x204)](_0x532654);}[_0x1db62c(0x1ed)]({channelId:_0x178e43,threadId:_0x4bbe69}={}){const _0x213d6b=_0x1db62c,_0x140ab2=this[_0x213d6b(0x1e3)](_0x4bbe69);if(_0x140ab2)return Promise[_0x213d6b(0x1b5)](_0x140ab2);if(!this[_0x213d6b(0x224)])return Promise[_0x213d6b(0x1b5)](void 0x0);if(_0x213d6b(0x1b4)!=typeof this[_0x213d6b(0x224)][_0x213d6b(0x1e3)])throw new _0x2ed2ee(_0x213d6b(0x1bd),this[_0x213d6b(0x23b)]);return this[_0x213d6b(0x224)][_0x213d6b(0x1e3)]({'channelId':_0x178e43,'threadId':_0x4bbe69})[_0x213d6b(0x269)](_0x5d89bc=>this[_0x213d6b(0x266)](_0x4bbe69)?this[_0x213d6b(0x1e3)](_0x4bbe69):_0x5d89bc?this[_0x213d6b(0x252)](Object[_0x213d6b(0x242)]({'isFromAdapter':!0x0,'channelId':_0x178e43},_0x5d89bc)):void 0x0)[_0x213d6b(0x246)](_0x5be778=>{const _0x469d84=_0x213d6b;throw console[_0x469d84(0x1c7)](_0x5be778),new _0x2ed2ee(_0x469d84(0x1d3),this[_0x469d84(0x23b)]);});}[_0x1db62c(0x21c)]({channelId:_0x5e6bc8,skipNotAttached:_0x3894cb=!0x1,skipEmpty:_0x2c8d8f=!0x1,toJSON:_0x537bcd=!0x1}={}){const _0x36b2d2=_0x1db62c,_0x515e6e=[];for(const _0x453a6c of this[_0x36b2d2(0x27f)][_0x36b2d2(0x228)]())_0x5e6bc8&&_0x453a6c[_0x36b2d2(0x278)]!==_0x5e6bc8||_0x3894cb&&!_0x453a6c[_0x36b2d2(0x254)]||_0x2c8d8f&&0x0===_0x453a6c[_0x36b2d2(0x23d)]||_0x515e6e[_0x36b2d2(0x1e9)](_0x453a6c);return _0x537bcd?_0x515e6e[_0x36b2d2(0x22e)](_0x2078b9=>_0x2078b9[_0x36b2d2(0x1d5)]()):_0x515e6e;}[_0x1db62c(0x243)](_0x44b007){const _0xa53564=_0x1db62c,_0x3a1b38=this[_0xa53564(0x20f)][_0xa53564(0x204)](_0x44b007);if(!_0x3a1b38)return null;return this[_0xa53564(0x23b)][_0xa53564(0x1de)][_0xa53564(0x204)](_0x5e251c)[_0xa53564(0x1fd)](_0x3a1b38[_0xa53564(0x1d6)])||null;}[_0x1db62c(0x213)](_0x988b11){const _0x54fc66=_0x1db62c,_0x543aec=this[_0x54fc66(0x1b8)][_0x54fc66(0x204)](_0x988b11[_0x54fc66(0x1fb)]);return _0x543aec?_0x543aec[_0x54fc66(0x21e)]:null;}[_0x1db62c(0x1d1)](_0x57d458){const _0x2b62dd=_0x1db62c,_0x52469f=this[_0x2b62dd(0x23b)][_0x2b62dd(0x1de)][_0x2b62dd(0x204)](_0x5e251c);if(!_0x57d458)return void(this[_0x2b62dd(0x1bf)]&&_0x52469f[_0x2b62dd(0x1f1)]());const _0x57fb25=this[_0x2b62dd(0x1e3)](_0x57d458);if(!_0x57fb25)throw new _0x2ed2ee(_0x2b62dd(0x218),null,{'threadId':_0x57d458});if(!this[_0x2b62dd(0x20f)][_0x2b62dd(0x27d)](_0x57fb25))throw new _0x2ed2ee(_0x2b62dd(0x251),null,{'threadId':_0x57d458});const _0x549538=_0x52469f[_0x2b62dd(0x1fd)](this[_0x2b62dd(0x20f)][_0x2b62dd(0x204)](_0x57fb25)[_0x2b62dd(0x1d6)]);_0x52469f[_0x2b62dd(0x1f6)](_0x549538);}[_0x1db62c(0x288)](_0x3dcf92,_0x2d1968){const _0x542000=_0x1db62c;_0x3dcf92?this[_0x542000(0x1dd)][_0x542000(0x232)](_0x2d1968):this[_0x542000(0x1dd)][_0x542000(0x211)](_0x2d1968),this[_0x542000(0x1ba)](_0x542000(0x1eb),_0x542000(0x1dd),this[_0x542000(0x1dd)],this[_0x542000(0x1dd)]);}[_0x1db62c(0x1bb)](_0x3e8724){const _0xf16061=_0x1db62c;return this[_0xf16061(0x1dd)][_0xf16061(0x27d)](_0x3e8724)||this[_0xf16061(0x1dd)][_0xf16061(0x27d)](void 0x0);}[_0x1db62c(0x255)](_0x11cd38,_0x5ea878){return new _0xa4d20a(_0x11cd38,_0x5ea878);}[_0x1db62c(0x28a)](_0x17e704,_0x8ac547=_t){const _0x6c336c=_0x1db62c;this[_0x6c336c(0x28f)][_0x6c336c(0x209)](_0x8ac547,_0x17e704),this[_0x6c336c(0x1ba)](_0x6c336c(0x20a),_0x6c336c(0x28f),this[_0x6c336c(0x28f)],this[_0x6c336c(0x28f)]);}[_0x1db62c(0x24c)](_0x5bca89=_t){const _0x1fb57b=_0x1db62c;return this[_0x1fb57b(0x28f)][_0x1fb57b(0x27d)](_0x5bca89)?this[_0x1fb57b(0x28f)][_0x1fb57b(0x204)](_0x5bca89):bt;}[_0x1db62c(0x259)]({channelId:_0x1f8cb5,threadId:_0x1d71b7,comments:_0x26eaac,unlinkedAt:_0x4fbec8,resolvedAt:_0x12a9c6,resolvedBy:_0xa01957,target:_0x2e7654,context:_0x46856a,attributes:_0x3b1f03,isFromAdapter:_0xc9e1ca,isResolvable:_0x33c5de,isSubmitted:_0x1c6e87}){const _0x1767e5=_0x1db62c;if(_0x1767e5(0x22c)!=typeof _0x1d71b7)throw new _0x2ed2ee(_0x1767e5(0x235),null,{'threadId':_0x1d71b7});if(this[_0x1767e5(0x266)](_0x1d71b7))throw new _0x2ed2ee(_0x1767e5(0x275),null,{'threadId':_0x1d71b7});const _0x350893=new CommentThread(this,{'channelId':_0x1f8cb5,'id':_0x1d71b7,'context':_0x46856a,'attributes':_0x3b1f03,'unlinkedAt':_0x4fbec8,'resolvedAt':_0x12a9c6,'resolvedBy':_0xa01957?this[_0x1767e5(0x23b)][_0x1767e5(0x1de)][_0x1767e5(0x204)](_0x160744)[_0x1767e5(0x1c3)](_0xa01957):null,'isResolvable':_0x33c5de,'isSubmitted':_0x1c6e87||_0xc9e1ca});this[_0x1767e5(0x27f)][_0x1767e5(0x209)](_0x1d71b7,_0x350893);for(const _0x1de614 of _0x26eaac)_0x350893[_0x1767e5(0x1fa)](this[_0x1767e5(0x1ae)]({'threadId':_0x1d71b7,..._0x1de614}));return _0x2e7654&&_0x350893[_0x1767e5(0x1dc)](_0x2e7654),_0xc9e1ca||!_0x350893[_0x1767e5(0x23d)]?Promise[_0x1767e5(0x1b5)]():this[_0x1767e5(0x1e7)]({'channelId':_0x1f8cb5,'threadId':_0x1d71b7});}[_0x1db62c(0x1e7)]({channelId:_0x411da2,threadId:_0xeff160}){const _0x50f295=_0x1db62c;if(!this[_0x50f295(0x266)](_0xeff160))throw new _0x2ed2ee(_0x50f295(0x1e0),this);const _0x52961e=this[_0x50f295(0x1e3)](_0xeff160);if(_0x52961e[_0x50f295(0x202)]=!0x0,!this[_0x50f295(0x224)]||_0x50f295(0x1b4)!=typeof this[_0x50f295(0x224)][_0x50f295(0x252)])return Promise[_0x50f295(0x1b5)]();const {id:_0x41a2a9,comments:_0x3dbbbd,resolvedAt:_0x34a69e,resolvedBy:_0x56f2d9,context:_0x41da70,attributes:_0x8a11bb}=_0x52961e,_0x970c5f=this[_0x50f295(0x23b)][_0x50f295(0x1de)][_0x50f295(0x204)](_0x50f295(0x1b6)),_0x8fd766=_0x970c5f[_0x50f295(0x232)](_0x19a29b(this[_0x50f295(0x23b)][_0x50f295(0x28c)],_0x50f295(0x1c0)));return this[_0x50f295(0x224)][_0x50f295(0x252)]({'channelId':_0x411da2,'threadId':_0x41a2a9,'comments':_0x3dbbbd[_0x50f295(0x22e)](_0x13387c=>_0x13387c[_0x50f295(0x1d5)]()),'resolvedAt':_0x34a69e,'resolvedBy':_0x56f2d9?_0x56f2d9['id']:_0x56f2d9,'context':_0x41da70,'attributes':_0x8a11bb})[_0x50f295(0x269)](({comments:_0xbd9377})=>{const _0xfc224c=_0x50f295;_0x970c5f[_0xfc224c(0x226)](_0x8fd766);for(const _0x4b038f of _0xbd9377)this[_0xfc224c(0x1f2)]({'channelId':_0x411da2,'threadId':_0xeff160,'commentId':_0x4b038f[_0xfc224c(0x286)],'createdAt':_0x4b038f[_0xfc224c(0x244)],'isFromAdapter':!0x0});})[_0x50f295(0x246)](_0x11f5a1=>{const _0x4193c2=_0x50f295;throw console[_0x4193c2(0x1c7)](_0x11f5a1),new _0x2ed2ee(_0x4193c2(0x262),this);});}[_0x1db62c(0x220)]({threadId:_0x592923,target:_0x12f98f}){const _0x2c4ad2=_0x1db62c,_0x41254c=this[_0x2c4ad2(0x1e3)](_0x592923);if(!_0x41254c)throw new _0x2ed2ee(_0x2c4ad2(0x27c),this);const _0x53b8d0=this[_0x2c4ad2(0x23b)][_0x2c4ad2(0x1de)][_0x2c4ad2(0x204)](_0x2c4ad2(0x1b6)),_0x42cec7=this[_0x2c4ad2(0x23b)][_0x2c4ad2(0x1de)][_0x2c4ad2(0x204)](_0x5e251c),_0x3115cf=this[_0x2c4ad2(0x250)](_0x41254c),_0xcfd3a4=new _0xa4d20a(_0x41254c,_0x3115cf);let _0x48db09=null;_0x3115cf['on'](_0x2c4ad2(0x247),(_0x36346b,_0x5dbbbd,_0x52ca4a)=>{const _0x33dd0c=_0x2c4ad2;_0x52ca4a?_0x48db09=_0x53b8d0[_0x33dd0c(0x232)](_0x19a29b(this[_0x33dd0c(0x23b)][_0x33dd0c(0x28c)],_0x33dd0c(0x1c0))):_0x48db09&&(_0x53b8d0[_0x33dd0c(0x226)](_0x48db09),_0x48db09=null);}),this[_0x2c4ad2(0x20f)][_0x2c4ad2(0x209)](_0x41254c,_0xcfd3a4),this[_0x2c4ad2(0x1b8)][_0x2c4ad2(0x209)](_0x3115cf,_0xcfd3a4);const _0x5419e1=new _0xdb7b0(this[_0x2c4ad2(0x23b)][_0x2c4ad2(0x28c)],_0x3115cf);_0x5419e1[_0x2c4ad2(0x1ce)](_0x2c4ad2(0x23d))['to'](_0x3115cf),_0x5419e1[_0x2c4ad2(0x1ce)](_0x2c4ad2(0x28d))['to'](_0x3115cf,_0x2c4ad2(0x28d),_0x3115cf,_0x2c4ad2(0x23d),(_0x4740bb,_0x2949df)=>_0x4740bb||!_0x2949df),_0x5419e1[_0x2c4ad2(0x1ce)](_0x2c4ad2(0x253))['to'](_0x3115cf),_0x5419e1[_0x2c4ad2(0x1fc)]=_0x2c4ad2(0x208);const _0x86a22e=new _0x1afbdc({'view':_0x5419e1,'target':_0x12f98f,'type':_0x2c4ad2(0x208),'isVisible':!_0x41254c[_0x2c4ad2(0x1be)]&&!!(_0x2c4ad2(0x1b4)==typeof _0x12f98f?_0x12f98f():_0x12f98f)});return _0x3115cf['on'](_0x2c4ad2(0x222),()=>{const _0x599c9c=_0x2c4ad2;_0x86a22e[_0x599c9c(0x1ba)](_0x599c9c(0x222));}),this[_0x2c4ad2(0x223)](_0x3115cf,_0x86a22e),_0x42cec7[_0x2c4ad2(0x232)](_0x86a22e),_0x86a22e;}[_0x1db62c(0x223)](_0x396126,_0x446eaa){const _0x4720f8=_0x1db62c;this[_0x4720f8(0x1c2)](_0x396126,_0x4720f8(0x26f),(_0x1ad2e2,_0x44c347)=>{const _0x440421=_0x4720f8,_0x1c8c53=_0x44c347['ui'][_0x440421(0x1d6)][_0x440421(0x206)][_0x440421(0x285)];_0x446eaa[_0x440421(0x294)][_0x440421(0x232)](_0x1c8c53),this[_0x440421(0x23b)]instanceof _0x354775&&this[_0x440421(0x23b)]['ui'][_0x440421(0x28e)][_0x440421(0x232)](_0x1c8c53);},{'priority':_0x4720f8(0x1c6)}),this[_0x4720f8(0x1c2)](_0x396126,_0x4720f8(0x1d9),(_0x40249f,_0x514457)=>{const _0x457b02=_0x4720f8,_0x1d3734=_0x514457['ui'][_0x457b02(0x1d6)][_0x457b02(0x206)][_0x457b02(0x285)];_0x446eaa[_0x457b02(0x294)][_0x457b02(0x27d)](_0x1d3734)&&_0x446eaa[_0x457b02(0x294)][_0x457b02(0x226)](_0x1d3734),this[_0x457b02(0x23b)]instanceof _0x354775&&this[_0x457b02(0x23b)]['ui'][_0x457b02(0x28e)][_0x457b02(0x226)](_0x1d3734);});}[_0x1db62c(0x1c5)](_0x5d4156){const _0x2869a8=_0x1db62c;this[_0x2869a8(0x201)](_0x5d4156,_0x2869a8(0x26f)),this[_0x2869a8(0x201)](_0x5d4156,_0x2869a8(0x1d9));}[_0x1db62c(0x250)](_0x42c01d){const _0x509864=_0x1db62c,_0x4d6f22=this[_0x509864(0x23b)][_0x509864(0x1de)][_0x509864(0x204)](_0x160744),{config:_0xd1c8f3,locale:_0x1669dc}=this[_0x509864(0x23b)],_0x1d39b7=_0x1d6930(_0xd1c8f3[_0x509864(0x204)](_0x509864(0x28c)),_0x1669dc);return new(0x0,(_0xd1c8f3[_0x509864(0x204)](_0x509864(0x1f0)))[(_0x509864(0x24f))])(_0x1669dc,_0x42c01d,_0x4d6f22['me'],{'editorConfig':{..._0xd1c8f3[_0x509864(0x204)](_0x509864(0x291)),'licenseKey':this[_0x509864(0x23b)][_0x509864(0x1ee)][_0x509864(0x204)](_0x509864(0x200))},'copyMarkers':_0xd1c8f3[_0x509864(0x204)](_0x509864(0x263)),'maxCommentsWhenCollapsed':_0xd1c8f3[_0x509864(0x204)](_0x509864(0x1c4)),'maxThreadTotalWeight':_0xd1c8f3[_0x509864(0x204)](_0x509864(0x1d4)),'maxCommentCharsWhenCollapsed':_0xd1c8f3[_0x509864(0x204)](_0x509864(0x1b9)),'formatDateTime':_0x1d39b7,'CommentView':_0xd1c8f3[_0x509864(0x204)](_0x509864(0x1f0))[_0x509864(0x219)]});}[_0x1db62c(0x27e)]({threadId:_0x5f26d9,channelId:_0x52c74b,resolvedAt:_0x17695a,resolvedBy:_0x42c698,isFromAdapter:_0x9701d9}){const _0x1315c4=_0x1db62c;if(!this[_0x1315c4(0x266)](_0x5f26d9))throw new _0x2ed2ee(_0x1315c4(0x1e0),null,{'threadId':_0x5f26d9});const _0x51db8b=this[_0x1315c4(0x1e3)](_0x5f26d9);if(_0x51db8b[_0x1315c4(0x221)])throw new _0x2ed2ee(_0x1315c4(0x26d),null,{'threadId':_0x5f26d9});const _0x4973b2=this[_0x1315c4(0x23b)][_0x1315c4(0x1de)][_0x1315c4(0x204)](_0x160744);if(_0x51db8b[_0x1315c4(0x295)]=_0x4973b2[_0x1315c4(0x1c3)](_0x42c698),_0x51db8b[_0x1315c4(0x1b7)]=_0x17695a,_0x9701d9||!this[_0x1315c4(0x224)]||_0x1315c4(0x1b4)!=typeof this[_0x1315c4(0x224)][_0x1315c4(0x1f8)])return Promise[_0x1315c4(0x1b5)]();const _0x1e18b1=this[_0x1315c4(0x23b)][_0x1315c4(0x1de)][_0x1315c4(0x204)](_0x1315c4(0x1b6)),_0x3069d3=_0x1e18b1[_0x1315c4(0x232)](_0x19a29b(this[_0x1315c4(0x23b)][_0x1315c4(0x28c)],_0x1315c4(0x1c0)));return this[_0x1315c4(0x224)][_0x1315c4(0x1f8)]({'channelId':_0x52c74b,'threadId':_0x5f26d9})[_0x1315c4(0x269)](({resolvedAt:_0x37cd39,resolvedBy:_0x58822b})=>{const _0x5e38e7=_0x1315c4;_0x1e18b1[_0x5e38e7(0x226)](_0x3069d3),_0x51db8b[_0x5e38e7(0x295)]['id']!==_0x58822b&&(_0x51db8b[_0x5e38e7(0x295)]=_0x4973b2[_0x5e38e7(0x1c3)](_0x58822b)),_0x51db8b[_0x5e38e7(0x1b7)]=_0x37cd39;})[_0x1315c4(0x246)](_0x37e475=>{const _0x376a2c=_0x1315c4;throw console[_0x376a2c(0x1c7)](_0x37e475),new _0x2ed2ee(_0x376a2c(0x271),this);});}[_0x1db62c(0x26e)]({threadId:_0x3d7002,channelId:_0x1d257e,isFromAdapter:_0x455efd}){const _0x1a4d88=_0x1db62c;if(!this[_0x1a4d88(0x266)](_0x3d7002))throw new _0x2ed2ee(_0x1a4d88(0x1e0),null,{'threadId':_0x3d7002});const _0x19a1f6=this[_0x1a4d88(0x1e3)](_0x3d7002);if(!_0x19a1f6[_0x1a4d88(0x221)])throw new _0x2ed2ee(_0x1a4d88(0x233),null,{'threadId':_0x3d7002});if(_0x19a1f6[_0x1a4d88(0x295)]=null,_0x19a1f6[_0x1a4d88(0x1b7)]=null,_0x455efd||!this[_0x1a4d88(0x224)]||_0x1a4d88(0x1b4)!=typeof this[_0x1a4d88(0x224)][_0x1a4d88(0x203)])return Promise[_0x1a4d88(0x1b5)]();const _0x18709a=this[_0x1a4d88(0x23b)][_0x1a4d88(0x1de)][_0x1a4d88(0x204)](_0x1a4d88(0x1b6)),_0x385b88=_0x18709a[_0x1a4d88(0x232)](_0x19a29b(this[_0x1a4d88(0x23b)][_0x1a4d88(0x28c)],_0x1a4d88(0x1c0)));return this[_0x1a4d88(0x224)][_0x1a4d88(0x203)]({'channelId':_0x1d257e,'threadId':_0x3d7002})[_0x1a4d88(0x269)](()=>_0x18709a[_0x1a4d88(0x226)](_0x385b88))[_0x1a4d88(0x246)](_0x177955=>{const _0x5240a1=_0x1a4d88;throw console[_0x5240a1(0x1c7)](_0x177955),new _0x2ed2ee(_0x5240a1(0x23e),this);});}[_0x1db62c(0x27a)]({threadId:_0x3dec50,isFromAdapter:_0x29750b}){const _0x1343a1=_0x1db62c,_0x5665d2=this[_0x1343a1(0x1e3)](_0x3dec50);if(!_0x5665d2)throw new _0x2ed2ee(_0x1343a1(0x22d),this);if(this[_0x1343a1(0x274)](_0x3dec50),this[_0x1343a1(0x27f)][_0x1343a1(0x211)](_0x3dec50),!_0x5665d2[_0x1343a1(0x25f)]||_0x29750b||!this[_0x1343a1(0x224)]||_0x1343a1(0x1b4)!=typeof this[_0x1343a1(0x224)][_0x1343a1(0x1b0)])return Promise[_0x1343a1(0x1b5)]();const _0x48a528=this[_0x1343a1(0x23b)][_0x1343a1(0x1de)][_0x1343a1(0x204)](_0x1343a1(0x1b6)),{channelId:_0x5b2a6a}=_0x5665d2,_0x532ef2=_0x48a528[_0x1343a1(0x232)](_0x19a29b(this[_0x1343a1(0x23b)][_0x1343a1(0x28c)],_0x1343a1(0x1c0)));return this[_0x1343a1(0x224)][_0x1343a1(0x1b0)]({'channelId':_0x5b2a6a,'threadId':_0x3dec50})[_0x1343a1(0x269)](()=>_0x48a528[_0x1343a1(0x226)](_0x532ef2))[_0x1343a1(0x246)](_0x3df481=>{const _0x55c062=_0x1343a1;throw console[_0x55c062(0x1c7)](_0x3df481),new _0x2ed2ee(_0x55c062(0x248),this);});}[_0x1db62c(0x1e6)]({threadId:_0x553e54,unlinkedAt:_0x80af6d,context:_0x3aba5d,attributes:_0x43f7ad,isFromAdapter:_0x190241}){const _0x1bea5d=_0x1db62c;if(_0x1bea5d(0x22c)!=typeof _0x553e54)throw new _0x2ed2ee(_0x1bea5d(0x235),null,{'threadId':_0x553e54});if(!this[_0x1bea5d(0x266)](_0x553e54))throw new _0x2ed2ee(_0x1bea5d(0x1e0),null,{'threadId':_0x553e54});const _0x3ce05b=this[_0x1bea5d(0x1e3)](_0x553e54);let _0x371100=!0x1;if(void 0x0!==_0x3aba5d&&_0x3ce05b[_0x1bea5d(0x23b)]!==_0x3aba5d&&(_0x3ce05b[_0x1bea5d(0x23b)]=_0x3aba5d,_0x371100=!0x0),void 0x0!==_0x80af6d&&_0x3ce05b[_0x1bea5d(0x1ec)]!==_0x80af6d&&(_0x3ce05b[_0x1bea5d(0x1ec)]=_0x80af6d,_0x371100=!0x0),_0x43f7ad&&!_0x32070a(_0x43f7ad,_0x3ce05b[_0x1bea5d(0x1b1)])&&(_0x3ce05b[_0x1bea5d(0x1b1)]=_0x43f7ad,_0x371100=!0x0),!_0x371100)return Promise[_0x1bea5d(0x1b5)]();if(!_0x3ce05b[_0x1bea5d(0x25f)]||_0x190241||!this[_0x1bea5d(0x224)]||_0x1bea5d(0x1b4)!=typeof this[_0x1bea5d(0x224)][_0x1bea5d(0x1d2)])return Promise[_0x1bea5d(0x1b5)]();const _0x505958=this[_0x1bea5d(0x23b)][_0x1bea5d(0x1de)][_0x1bea5d(0x204)](_0x1bea5d(0x1b6)),{channelId:_0x5e93f2}=_0x3ce05b,_0x5a35f9=_0x505958[_0x1bea5d(0x232)](_0x19a29b(this[_0x1bea5d(0x23b)][_0x1bea5d(0x28c)],_0x1bea5d(0x1c0)));return this[_0x1bea5d(0x224)][_0x1bea5d(0x1d2)]({'channelId':_0x5e93f2,'threadId':_0x553e54,'context':_0x3aba5d,'unlinkedAt':_0x80af6d,'attributes':_0x43f7ad})[_0x1bea5d(0x269)](()=>_0x505958[_0x1bea5d(0x226)](_0x5a35f9))[_0x1bea5d(0x246)](_0x593c24=>{const _0x3aa9a1=_0x1bea5d;throw console[_0x3aa9a1(0x1c7)](_0x593c24),new _0x2ed2ee(_0x3aa9a1(0x207),this);});}[_0x1db62c(0x274)](_0x309683){const _0x2fac21=_0x1db62c,_0x4cbbea=this[_0x2fac21(0x23b)][_0x2fac21(0x1de)][_0x2fac21(0x204)](_0x5e251c),_0x387104=this[_0x2fac21(0x1e3)](_0x309683);if(_0x387104[_0x2fac21(0x1e1)]=!0x1,this[_0x2fac21(0x20f)][_0x2fac21(0x27d)](_0x387104)){const _0x551dc8=this[_0x2fac21(0x20f)][_0x2fac21(0x204)](_0x387104),_0x35bc79=_0x551dc8[_0x2fac21(0x1d6)],_0x2c5d09=_0x4cbbea[_0x2fac21(0x1fd)](_0x35bc79);this[_0x2fac21(0x20f)][_0x2fac21(0x211)](_0x387104),this[_0x2fac21(0x1b8)][_0x2fac21(0x211)](_0x35bc79),_0x2c5d09&&_0x4cbbea[_0x2fac21(0x226)](_0x2c5d09),_0x551dc8[_0x2fac21(0x267)](),_0x35bc79[_0x2fac21(0x267)]()[_0x2fac21(0x269)](()=>{const _0x5d4843=_0x2fac21;this[_0x5d4843(0x1c5)](_0x35bc79);});}}[_0x1db62c(0x287)]({threadId:_0x21c168,resolvedAt:_0x31e899,unlinkedAt:_0x221e44}){const _0x1af4a1=_0x1db62c,_0x1c367b=!!_0x31e899,_0x315af8=this[_0x1af4a1(0x23b)][_0x1af4a1(0x1de)][_0x1af4a1(0x204)](_0x5e251c),_0x18bd77=this[_0x1af4a1(0x1e3)](_0x21c168);if(this[_0x1af4a1(0x20f)][_0x1af4a1(0x27d)](_0x18bd77)){const _0x2c112b=this[_0x1af4a1(0x20f)][_0x1af4a1(0x204)](_0x18bd77)[_0x1af4a1(0x1d6)],_0xe69427=_0x315af8[_0x1af4a1(0x1fd)](_0x2c112b);_0xe69427&&(_0x1c367b&&_0x315af8[_0x1af4a1(0x1cf)](_0xe69427),_0x221e44?_0xe69427[_0x1af4a1(0x264)]=!0x1:_0xe69427[_0x1af4a1(0x282)]());}}[_0x1db62c(0x24a)](_0x1d1a03){const _0x2ee33b=_0x1db62c,_0x4c8309=this[_0x2ee33b(0x23b)][_0x2ee33b(0x1de)][_0x2ee33b(0x204)](_0x160744),_0x148515=_0x5eab29(_0x2ee33b(0x1f5)+_0x1d1a03),_0x284402=_0x4c8309[_0x2ee33b(0x1c3)](_0x148515);return _0x284402||_0x4c8309[_0x2ee33b(0x25e)]({'id':_0x148515,'name':_0x1d1a03});}[_0x1db62c(0x1ae)]({threadId:_0x31c50c,commentId:_0xe7d8ab=_0x1cdbea(),content:_0x548d4b,authorId:_0x41e8ae,createdAt:_0x18b738,attributes:_0x205abe}){const _0x3244a1=_0x1db62c;if(_0x3244a1(0x22c)!=typeof _0xe7d8ab)throw new _0x2ed2ee(_0x3244a1(0x281));if(_0x3244a1(0x22c)!=typeof _0x41e8ae)throw new _0x2ed2ee(_0x3244a1(0x1df));if(_0x3244a1(0x22c)!=typeof _0x548d4b||!_0x548d4b[_0x3244a1(0x20d)]())throw new _0x2ed2ee(_0x3244a1(0x261));const _0x3ba103=this[_0x3244a1(0x23b)][_0x3244a1(0x1de)][_0x3244a1(0x204)](_0x160744)[_0x3244a1(0x1c3)](_0x41e8ae);if(!_0x3ba103)throw new _0x2ed2ee(_0x3244a1(0x1f4),null,{'authorId':_0x41e8ae});let _0x5c3b0d=null,_0x40b9aa=_0x18b738;return _0x205abe?.[_0x3244a1(0x212)]&&(_0x5c3b0d=this[_0x3244a1(0x24a)](_0x205abe[_0x3244a1(0x212)][_0x3244a1(0x25a)]),_0x40b9aa=new Date(_0x205abe[_0x3244a1(0x212)][_0x3244a1(0x244)])),new Comment(this,{'threadId':_0x31c50c,'id':_0xe7d8ab,'author':_0x5c3b0d||_0x3ba103,'creator':_0x3ba103,'content':_0x548d4b,'createdAt':_0x18b738,'authoredAt':_0x40b9aa,'attributes':_0x205abe});}[_0x1db62c(0x22a)](_0x16b8af){const _0x38f8db=_0x1db62c;let {threadId:_0x53fd8c,content:_0x277d80,attributes:_0x1aa21f,isFromAdapter:_0x16ab3a}=_0x16b8af;const _0x4377f4=this[_0x38f8db(0x1e3)](_0x16b8af[_0x38f8db(0x239)]);if(!_0x4377f4)throw new _0x2ed2ee(_0x38f8db(0x260),this);const _0x918fb1=this[_0x38f8db(0x1ae)](_0x16b8af),{id:_0x4620b0}=_0x918fb1;if(_0x4377f4[_0x38f8db(0x1fa)](_0x918fb1),_0x16ab3a||!this[_0x38f8db(0x224)]||_0x38f8db(0x1b4)!=typeof this[_0x38f8db(0x224)][_0x38f8db(0x1bc)]||!_0x4377f4[_0x38f8db(0x25f)])return Promise[_0x38f8db(0x1b5)]();const _0x54f2e4=this[_0x38f8db(0x23b)][_0x38f8db(0x1de)][_0x38f8db(0x204)](_0x38f8db(0x1b6)),{channelId:_0x521c10}=_0x4377f4,_0x4ad8b1=_0x54f2e4[_0x38f8db(0x232)](_0x19a29b(this[_0x38f8db(0x23b)][_0x38f8db(0x28c)],_0x38f8db(0x1c0)));return _0x1aa21f||(_0x1aa21f={}),this[_0x38f8db(0x224)][_0x38f8db(0x1bc)]({'channelId':_0x521c10,'threadId':_0x53fd8c,'commentId':_0x4620b0,'content':_0x277d80,'attributes':_0x1aa21f})[_0x38f8db(0x269)](_0x3acb76=>{const _0x4b8495=_0x38f8db;_0x54f2e4[_0x4b8495(0x226)](_0x4ad8b1),_0x3acb76&&this[_0x4b8495(0x1f2)]({'channelId':_0x521c10,'threadId':_0x53fd8c,'commentId':_0x4620b0,'createdAt':_0x3acb76[_0x4b8495(0x244)],'isFromAdapter':!0x0});})[_0x38f8db(0x246)](_0x421c28=>{const _0x598f41=_0x38f8db;throw console[_0x598f41(0x1c7)](_0x421c28),new _0x2ed2ee(_0x598f41(0x1e8),this);});}[_0x1db62c(0x1f2)]({threadId:_0xab4322,commentId:_0x4aebd1,content:_0x5aefc,createdAt:_0x3f62db,attributes:_0x24a5da,isFromAdapter:_0x6c5218}){const _0x29f8a7=_0x1db62c;if(void 0x0!==_0x5aefc&&(_0x29f8a7(0x22c)!=typeof _0x5aefc||!_0x5aefc[_0x29f8a7(0x20d)]()[_0x29f8a7(0x23d)]))throw new _0x2ed2ee(_0x29f8a7(0x1cd));const _0xb15048=this[_0x29f8a7(0x1e3)](_0xab4322),_0xb65d0d=_0xb15048[_0x29f8a7(0x249)](_0x4aebd1);if(!_0xb65d0d)throw new _0x2ed2ee(_0x29f8a7(0x1ca),this);let _0x432ae2=!0x1;if(_0x5aefc&&_0x5aefc!==_0xb65d0d[_0x29f8a7(0x22f)]&&(_0xb65d0d[_0x29f8a7(0x27b)]||_0x6c5218)&&(_0xb65d0d[_0x29f8a7(0x22f)]=_0x5aefc,_0x432ae2=!0x0),_0x3f62db&&_0x3f62db!==_0xb65d0d[_0x29f8a7(0x244)]&&(_0xb65d0d[_0x29f8a7(0x244)]=_0x3f62db,_0xb65d0d[_0x29f8a7(0x1b1)]&&_0xb65d0d[_0x29f8a7(0x1b1)][_0x29f8a7(0x212)]||(_0xb65d0d[_0x29f8a7(0x257)]=_0x3f62db),_0x432ae2=!0x0),_0x24a5da&&!_0x32070a(_0x24a5da,_0xb65d0d[_0x29f8a7(0x1b1)])&&(_0xb65d0d[_0x29f8a7(0x1b1)]=_0x24a5da,_0x432ae2=!0x0),!_0x432ae2)return Promise[_0x29f8a7(0x1b5)]();if(_0xb15048[_0x29f8a7(0x1ba)](_0x29f8a7(0x236)),_0x6c5218||!this[_0x29f8a7(0x224)]||_0x29f8a7(0x1b4)!=typeof this[_0x29f8a7(0x224)][_0x29f8a7(0x23f)])return Promise[_0x29f8a7(0x1b5)]();const _0x57c5e8=this[_0x29f8a7(0x23b)][_0x29f8a7(0x1de)][_0x29f8a7(0x204)](_0x29f8a7(0x1b6)),{channelId:_0x5e35b9}=this[_0x29f8a7(0x1e3)](_0xb65d0d[_0x29f8a7(0x239)]),_0x4d2c72=_0x57c5e8[_0x29f8a7(0x232)](_0x19a29b(this[_0x29f8a7(0x23b)][_0x29f8a7(0x28c)],_0x29f8a7(0x1c0)));return this[_0x29f8a7(0x224)][_0x29f8a7(0x23f)]({'channelId':_0x5e35b9,'threadId':_0xab4322,'commentId':_0x4aebd1,'content':_0x5aefc,'attributes':_0x24a5da})[_0x29f8a7(0x269)](()=>_0x57c5e8[_0x29f8a7(0x226)](_0x4d2c72))[_0x29f8a7(0x246)](_0x3e6f9d=>{const _0x50d94a=_0x29f8a7;throw console[_0x50d94a(0x1c7)](_0x3e6f9d),new _0x2ed2ee(_0x50d94a(0x25b),this);});}[_0x1db62c(0x292)]({threadId:_0x34a47b,commentId:_0x3981c7,isFromAdapter:_0x46b0a3}){const _0x5c4427=_0x1db62c,_0x1bc0f8=this[_0x5c4427(0x1e3)](_0x34a47b),_0x1a8975=_0x1bc0f8[_0x5c4427(0x249)](_0x3981c7);if(!_0x1a8975)throw new _0x2ed2ee(_0x5c4427(0x1f3),this);if(_0x1bc0f8[_0x5c4427(0x1fe)](_0x1a8975),_0x46b0a3||!this[_0x5c4427(0x224)]||_0x5c4427(0x1b4)!=typeof this[_0x5c4427(0x224)][_0x5c4427(0x1ea)])return Promise[_0x5c4427(0x1b5)]();const _0xd42504=this[_0x5c4427(0x23b)][_0x5c4427(0x1de)][_0x5c4427(0x204)](_0x5c4427(0x1b6)),{channelId:_0x4bfebb}=_0x1bc0f8,_0x5ed106=_0xd42504[_0x5c4427(0x232)](_0x19a29b(this[_0x5c4427(0x23b)][_0x5c4427(0x28c)],_0x5c4427(0x1c0)));return this[_0x5c4427(0x224)][_0x5c4427(0x1ea)]({'channelId':_0x4bfebb,'threadId':_0x34a47b,'commentId':_0x3981c7})[_0x5c4427(0x269)](()=>_0xd42504[_0x5c4427(0x226)](_0x5ed106))[_0x5c4427(0x246)](_0x376ce6=>{const _0xf322b4=_0x5c4427;throw console[_0xf322b4(0x1c7)](_0x376ce6),new _0x2ed2ee(_0xf322b4(0x227),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const _0x563a64=_0xc508;(function(_0x2f3bdd,_0x3c7bcb){const _0x1fdabd=_0xc508,_0x2b7f49=_0x2f3bdd();while(!![]){try{const _0xaf3f17=-parseInt(_0x1fdabd(0x128))/0x1*(-parseInt(_0x1fdabd(0xcf))/0x2)+-parseInt(_0x1fdabd(0x14e))/0x3*(parseInt(_0x1fdabd(0x154))/0x4)+parseInt(_0x1fdabd(0x10b))/0x5+parseInt(_0x1fdabd(0x191))/0x6*(-parseInt(_0x1fdabd(0xc6))/0x7)+parseInt(_0x1fdabd(0x102))/0x8+-parseInt(_0x1fdabd(0xca))/0x9*(parseInt(_0x1fdabd(0xd4))/0xa)+-parseInt(_0x1fdabd(0xc5))/0xb*(parseInt(_0x1fdabd(0xf2))/0xc);if(_0xaf3f17===_0x3c7bcb)break;else _0x2b7f49['push'](_0x2b7f49['shift']());}catch(_0x1944b7){_0x2b7f49['push'](_0x2b7f49['shift']());}}}(_0x2d1a,0xb5d1a));import{PendingActions as _0x113498,ContextPlugin as _0x152e27,Editor as _0x1a797c}from'ckeditor5/src/core.js';import{Collection as _0x3de8d6,uid as _0x2a8010,CKEditorError as _0x687c02,ObservableMixin as _0x28afdc}from'ckeditor5/src/utils.js';function _0x2d1a(){const _0x1ff499=['commentsrepository-invalid-comment-authorid','locale','channelId','_updateCommentThread','commentsrepository-resolved-comment-thread','then','textContent','focusableElements','_createCommentThreadView','_detachCommentThread','attributes','commentsrepository-invalid-comment-content','commentsrepository-add-comment-user-not-exists','addComment','define','comments','comments.CommentThreadView','commentsrepository-remove-missing-comment','modifyAll','141468jHxVKe','CommentView','commentsrepository-get-comment-invalid-id','_createNewComment','setContext','commentsrepository-invalid-commentid','add','_removeActiveAnnotation','focus','_add','content','createdAt','from','removeAttribute','comments.maxThreadTotalWeight','commentsrepository-reopen-comment-thread-internal-error','_adapter','length','_repository','change:authoredAt','lowest','authorName','_isAttached','CommentThreadView','filter','@external','_remove','change:isDirty','canComment','comments.editorConfig','change:_readOnlyChannels','values','hasCommentThread','commentsrepository-update-comment-internal-error','bind','_updateActiveAnnotation','isResolvable','commentsrepository-remove-comment-internal-error','133227UUcWbt','commentsrepository-add-comment-to-missing-comment-thread','_updateComment','assign','change:activeAnnotations','comments.CommentView','8SSuJhd','_bindAnnotationToEditors','isAttached','isEditable','CommentsRepository','function','commentsrepository-missing-target','get','init','view','resolvedAt','commentId','commentsrepository-duplicated-comment-thread-id','licenseKey','commentsrepository-adapter-already-set','commentsrepository-attach-missing-comment-thread','_update','_permissions','Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.','body','resolve','config','threadId','openNewCommentThread','admin','model','comments.copyMarkers','getByInnerView','getCommentThread','getUser','isOfficialPlugin','stopListening','update','commentsrepository-active-missing-comment-thread','submitCommentThread','updateComment','commentsrepository-update-missing-comment','plugins','set','createCommentThreadController','commentsrepository-missing-comment-thread','isRemovable','getCommentThreads','write','_addComment','setActiveCommentThread','activate','PendingActions','switchReadOnly','change:_permissions','PENDING_ACTION_COMMENT_THREAD','isVisible','warn','commentsrepository-update-comment-thread-internal-error','commentsrepository-resolve-comment-thread-internal-error','commentsListView','_removeCommentThread','commentsrepository-invalid-comment-thread-id','editorDestroyed','_addCommentThread','commentsrepository-remove-missing-comment-thread','6FekDJh','getTime','commentThreadInputView','removeCommentThread','comments.maxCommentsWhenCollapsed','_readOnlyChannels','getComment','commentInputView','remove','once','destroy','listenTo','_reopenCommentThread','activeCommentThread','submit','noChannel','_unbindEditors','map','bodyCollectionContainer','commentsrepository-reopen-comment-thread','reopen','editorReady','innerView','reopenCommentThread','isResolved','push','commentsrepository-missing-thread-and-adapter-method','deactivateAll','isFromAdapter','_resolveCommentThread','77uZPLvt','4350353kdoMiL','catch','isSubmitted','trim','9qPlLyv','commentUpdated','isExternal','pluginName','getPermissions','8SUkqce','isDirty','find','isReadOnly','string','8291190UJfAep','updateCommentThread','_threads','type','max','fire','commentsrepository-remove-comment-missing-comment-thread','fetchCommentThread','highest','getCommentThreadForAnnotation','addCommentThread','createElement','reduce','_attachCommentThread','commentsrepository-remove-comment-thread-internal-error','getIndex','setAttribute','commentsrepository-fetch-comment-thread','authoredAt','adapter','commentsrepository-add-comment-thread-internal-error','_viewToController','_submitCommentThread','context','resolvedBy','addUser','removeComment','_hasTargetInContent','creator','delete','809688HcCgLL','_isSubmitted','_findOptimalIndex','isPremiumPlugin','commentsrepository-add-comment-internal-error','attachTo','author','_getExternalAuthor','_threadToController','innerHTML','external:','escape','resolveCommentThread','commentsrepository-active-not-attached','isActive','has','7166056rMlyOE','setPermissions','weight','archivedAt','unlinkedAt','div','toJSON','error','focusTracker','6474175Rmbxpq','commentsrepository-update-comment-invalid-content','requires','comment','refreshVisibility','getAnnotationForCommentThread','setUnlinkedAt','_removeComment','commentsrepository-update-comment-missing-comment-thread','comments.maxCommentCharsWhenCollapsed'];_0x2d1a=function(){return _0x1ff499;};return _0x2d1a();}import{getDateTimeFormatter as _0x586e08,hashObject as _0x113e13,Users as _0x4ecbd7}from'ckeditor5-collaboration/src/collaboration-core.js';import{cloneDeep as _0x1bc804,isEqual as _0x4efd5b,set as _0x2f1fd5,unset as _0x1358af}from'es-toolkit/compat';function _0xc508(_0x4f8f5b,_0x4e8936){const _0x2d1aa4=_0x2d1a();return _0xc508=function(_0xc5080e,_0x17200c){_0xc5080e=_0xc5080e-0xbf;let _0x224d88=_0x2d1aa4[_0xc5080e];return _0x224d88;},_0xc508(_0x4f8f5b,_0x4e8936);}import{CommentThreadController as _0x308781}from'./ui/commentthreadcontroller.js';import{CommentThreadView as _0x554633}from'./ui/view/commentthreadview.js';import{CommentView as _0x5eb85b}from'./ui/view/commentview.js';import{getTranslation as _0x131ebb}from'../utils/common-translations.js';import'../../theme/comment.css';import'../../theme/commentthread.css';import'../../theme/commentinput.css';import{AnnotationView as _0x5dc41b}from'../annotations/view/annotationview.js';import{Annotation as _0x5b2e95}from'../annotations/annotation.js';import{Annotations as _0x343c16}from'../annotations/annotations.js';const _t=Symbol(_0x563a64(0x1a0)),bt={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0};export class CommentsRepository extends _0x152e27{[_0x563a64(0xd6)];[_0x563a64(0xfa)];[_0x563a64(0xe9)];static get[_0x563a64(0x10d)](){return[_0x343c16,_0x113498,_0x4ecbd7];}static get[_0x563a64(0xcd)](){const _0x38bf1c=_0x563a64;return _0x38bf1c(0x158);}static get[_0x563a64(0x172)](){return!0x0;}static get[_0x563a64(0xf5)](){return!0x0;}constructor(_0x1853a4){const _0x301f72=_0x563a64;super(_0x1853a4),this[_0x301f72(0xd6)]=new Map(),this[_0x301f72(0xfa)]=new Map(),this[_0x301f72(0xe9)]=new Map(),this[_0x301f72(0x17a)](_0x301f72(0x196),new Set()),this[_0x301f72(0x17a)](_0x301f72(0x165),new Map());const _0x367774=this[_0x301f72(0xeb)][_0x301f72(0x169)];_0x367774[_0x301f72(0x123)](_0x301f72(0x195),0x2),_0x367774[_0x301f72(0x123)](_0x301f72(0x136),0x1f4),_0x367774[_0x301f72(0x123)](_0x301f72(0x114),0x8c),_0x367774[_0x301f72(0x123)](_0x301f72(0x125),_0x554633),_0x367774[_0x301f72(0x123)](_0x301f72(0x153),_0x5eb85b),_0x367774[_0x301f72(0x15b)](_0x301f72(0x145))||console[_0x301f72(0x188)](_0x301f72(0x166));}[_0x563a64(0x15c)](){const _0xf4d7d6=_0x563a64,_0x3b5450=this[_0xf4d7d6(0xeb)][_0xf4d7d6(0x179)][_0xf4d7d6(0x15b)](_0x343c16);this[_0xf4d7d6(0x17a)](_0xf4d7d6(0x19e),null),this['on'](_0xf4d7d6(0xde),(_0x4e569d,_0x381a4e)=>this[_0xf4d7d6(0x18f)](_0x381a4e)),this['on'](_0xf4d7d6(0x176),(_0x5bc63f,_0x28117e)=>this[_0xf4d7d6(0xea)](_0x28117e)),this['on'](_0xf4d7d6(0xfe),(_0x1c8307,_0x25a982)=>this[_0xf4d7d6(0xc4)](_0x25a982)),this['on'](_0xf4d7d6(0xfe),(_0x1cfa7c,_0x2a7dfe)=>this[_0xf4d7d6(0x14b)](_0x2a7dfe),{'priority':_0xf4d7d6(0x13c)}),this['on'](_0xf4d7d6(0x1a8),(_0x2b30d7,_0x3f326d)=>this[_0xf4d7d6(0x19d)](_0x3f326d)),this['on'](_0xf4d7d6(0x1a8),(_0x425dcc,_0x10146d)=>this[_0xf4d7d6(0x14b)](_0x10146d),{'priority':_0xf4d7d6(0x13c)}),this['on'](_0xf4d7d6(0x194),(_0x4726a9,_0x2dfac9)=>this[_0xf4d7d6(0x18c)](_0x2dfac9)),this['on'](_0xf4d7d6(0xd5),(_0x217a7b,_0x564752)=>this[_0xf4d7d6(0x118)](_0x564752)),this['on'](_0xf4d7d6(0xd5),(_0x4e1eac,_0xecf74c)=>this[_0xf4d7d6(0x14b)](_0xecf74c),{'priority':_0xf4d7d6(0x13c)}),this['on'](_0xf4d7d6(0x122),(_0x537293,_0x55a49f)=>this[_0xf4d7d6(0x180)](_0x55a49f)),this['on'](_0xf4d7d6(0x177),(_0x49c7f7,_0x3b15c3)=>this[_0xf4d7d6(0x150)](_0x3b15c3)),this['on'](_0xf4d7d6(0xee),(_0x17792a,_0xcdb36d)=>this[_0xf4d7d6(0x112)](_0xcdb36d)),this['on'](_0xf4d7d6(0x122),(_0x466d0b,{threadId:_0x628a54,isFromAdapter:_0x449cf8})=>{const _0x2614b5=_0xf4d7d6;if(_0x449cf8)return;const _0x89cecc=this[_0x2614b5(0x170)](_0x628a54),_0x5bd74f=_0x89cecc&&this[_0x2614b5(0xfa)][_0x2614b5(0x15b)](_0x89cecc);_0x5bd74f&&_0x5bd74f[_0x2614b5(0x15d)][_0x2614b5(0x18b)][_0x2614b5(0x130)](-0x1);},{'priority':_0xf4d7d6(0x13c)}),this[_0xf4d7d6(0x19c)](_0x3b5450,_0xf4d7d6(0x152),(_0x17c4ce,_0x393276,_0x12385d)=>{const _0x46eee8=_0xf4d7d6,_0x3f40a5=Array[_0x46eee8(0x134)](_0x12385d)[_0x46eee8(0x1a2)](_0x31a931=>this[_0x46eee8(0xe9)][_0x46eee8(0x15b)](_0x31a931[_0x46eee8(0x1a7)]))[_0x46eee8(0x140)](Boolean)[0x0];this[_0x46eee8(0x19e)]=_0x3f40a5?_0x3f40a5[_0x46eee8(0x16d)]:null;});}set[_0x563a64(0xe7)](_0x2fb6f8){const _0x44fe27=_0x563a64;if(this[_0x44fe27(0x138)])throw new _0x687c02(_0x44fe27(0x162));this[_0x44fe27(0x138)]=_0x2fb6f8;}get[_0x563a64(0xe7)](){const _0xa65746=_0x563a64;return this[_0xa65746(0x138)];}[_0x563a64(0xde)]({channelId:_0x383bb3=_t,threadId:_0x4fdf03=_0x2a8010(),comments:_0x15866e=[],unlinkedAt:_0x29a397=null,resolvedAt:_0xca6fde=null,resolvedBy:_0x4d8fc7=null,target:_0x402ba2=null,context:_0x1aba46=null,attributes:_0x3957fa={},isResolvable:_0x16a289=!0x0,isSubmitted:_0x57823e=!0x1,isFromAdapter:_0x144c46=!0x1}={}){const _0xd2bfa4=_0x563a64;return this[_0xd2bfa4(0xd9)](Nt(_0xd2bfa4(0xde),_0x383bb3),{'channelId':_0x383bb3,'threadId':_0x4fdf03,'comments':_0x15866e,'unlinkedAt':_0x29a397,'resolvedAt':_0xca6fde,'resolvedBy':_0x4d8fc7,'target':_0x402ba2,'context':_0x1aba46,'attributes':_0x3957fa,'isFromAdapter':_0x144c46,'isResolvable':_0x16a289,'isSubmitted':_0x57823e}),this[_0xd2bfa4(0x170)](_0x4fdf03);}[_0x563a64(0x16b)]({channelId:_0x4c8721=_t,threadId:_0x34380e=_0x2a8010(),target:_0x351621,context:_0x254dae=null,isResolvable:_0x3c403c=!0x0}){const _0x374125=_0x563a64;if(this[_0x374125(0x196)][_0x374125(0x101)](_0x4c8721)||this[_0x374125(0x196)][_0x374125(0x101)](void 0x0))return null;if(!_0x351621)throw new _0x687c02(_0x374125(0x15a));const _0x54f64a=this[_0x374125(0xde)]({'channelId':_0x4c8721,'threadId':_0x34380e,'target':_0x351621,'context':_0x254dae,'isResolvable':_0x3c403c});if(!_0x54f64a)return null;const _0x124fc5=this[_0x374125(0xfa)][_0x374125(0x15b)](_0x54f64a),_0x4983f8=_0x124fc5[_0x374125(0x15d)][_0x374125(0x193)][_0x374125(0x198)],_0x347791=this[_0x374125(0xeb)][_0x374125(0x179)][_0x374125(0x15b)](_0x343c16),_0x3d156b=_0x347791[_0x374125(0x16f)](_0x124fc5[_0x374125(0x15d)]);return _0x347791[_0x374125(0x182)](_0x3d156b),_0x4983f8[_0x374125(0x19a)](_0x374125(0x1a6),()=>_0x4983f8[_0x374125(0x130)]()),_0x54f64a;}[_0x563a64(0x148)](_0x345f94){const _0x4caafa=_0x563a64;if(_0x4caafa(0xd3)!=typeof _0x345f94)throw new _0x687c02(_0x4caafa(0x18d));return this[_0x4caafa(0xd6)][_0x4caafa(0x101)](_0x345f94);}[_0x563a64(0xd5)]({channelId:_0x6b36c5=_t,threadId:_0x55f1c0,context:_0x1fd478,unlinkedAt:_0x218cb7,attributes:_0x35f523,isFromAdapter:_0x17ca94=!0x1}){const _0x573f3d=_0x563a64;return this[_0x573f3d(0xd9)](Nt(_0x573f3d(0xd5),_0x6b36c5),{'channelId':_0x6b36c5,'threadId':_0x55f1c0,'context':_0x1fd478,'unlinkedAt':_0x218cb7,'attributes':_0x35f523,'isFromAdapter':_0x17ca94}),this[_0x573f3d(0x170)](_0x55f1c0);}[_0x563a64(0x170)](_0x490fa1){const _0x3cca6f=_0x563a64;if(_0x3cca6f(0xd3)!=typeof _0x490fa1)throw new _0x687c02(_0x3cca6f(0x18d));return this[_0x3cca6f(0xd6)][_0x3cca6f(0x15b)](_0x490fa1);}[_0x563a64(0xdb)]({channelId:_0xb1f5f0,threadId:_0x33f280}={}){const _0x5a8571=_0x563a64,_0x29c569=this[_0x5a8571(0x170)](_0x33f280);if(_0x29c569)return Promise[_0x5a8571(0x168)](_0x29c569);if(!this[_0x5a8571(0xe7)])return Promise[_0x5a8571(0x168)](void 0x0);if(_0x5a8571(0x159)!=typeof this[_0x5a8571(0xe7)][_0x5a8571(0x170)])throw new _0x687c02(_0x5a8571(0xc1),this[_0x5a8571(0xeb)]);return this[_0x5a8571(0xe7)][_0x5a8571(0x170)]({'channelId':_0xb1f5f0,'threadId':_0x33f280})[_0x5a8571(0x11a)](_0x17ab8c=>this[_0x5a8571(0x148)](_0x33f280)?this[_0x5a8571(0x170)](_0x33f280):_0x17ab8c?this[_0x5a8571(0xde)](Object[_0x5a8571(0x151)]({'isFromAdapter':!0x0,'channelId':_0xb1f5f0},_0x17ab8c)):void 0x0)[_0x5a8571(0xc7)](_0x370f7a=>{const _0x30c2a5=_0x5a8571;throw console[_0x30c2a5(0x109)](_0x370f7a),new _0x687c02(_0x30c2a5(0xe5),this[_0x30c2a5(0xeb)]);});}[_0x563a64(0x17e)]({channelId:_0x107094,skipNotAttached:_0x35769c=!0x1,skipEmpty:_0x3b13ce=!0x1,toJSON:_0x27567e=!0x1}={}){const _0x5b51af=_0x563a64,_0x4f2011=[];for(const _0x440bc0 of this[_0x5b51af(0xd6)][_0x5b51af(0x147)]())_0x107094&&_0x440bc0[_0x5b51af(0x117)]!==_0x107094||_0x35769c&&!_0x440bc0[_0x5b51af(0x156)]||_0x3b13ce&&0x0===_0x440bc0[_0x5b51af(0x139)]||_0x4f2011[_0x5b51af(0xc0)](_0x440bc0);return _0x27567e?_0x4f2011[_0x5b51af(0x1a2)](_0x433c77=>_0x433c77[_0x5b51af(0x108)]()):_0x4f2011;}[_0x563a64(0x110)](_0x1d7008){const _0x51528f=_0x563a64,_0x3c8513=this[_0x51528f(0xfa)][_0x51528f(0x15b)](_0x1d7008);if(!_0x3c8513)return null;return this[_0x51528f(0xeb)][_0x51528f(0x179)][_0x51528f(0x15b)](_0x343c16)[_0x51528f(0x16f)](_0x3c8513[_0x51528f(0x15d)])||null;}[_0x563a64(0xdd)](_0x9e4210){const _0x6d23fe=_0x563a64,_0x5228ba=this[_0x6d23fe(0xe9)][_0x6d23fe(0x15b)](_0x9e4210[_0x6d23fe(0x1a7)]);return _0x5228ba?_0x5228ba[_0x6d23fe(0x16d)]:null;}[_0x563a64(0x181)](_0x536a77){const _0x4ab735=_0x563a64,_0x1d483b=this[_0x4ab735(0xeb)][_0x4ab735(0x179)][_0x4ab735(0x15b)](_0x343c16);if(!_0x536a77)return void(this[_0x4ab735(0x19e)]&&_0x1d483b[_0x4ab735(0xc2)]());const _0x251b0d=this[_0x4ab735(0x170)](_0x536a77);if(!_0x251b0d)throw new _0x687c02(_0x4ab735(0x175),null,{'threadId':_0x536a77});if(!this[_0x4ab735(0xfa)][_0x4ab735(0x101)](_0x251b0d))throw new _0x687c02(_0x4ab735(0xff),null,{'threadId':_0x536a77});const _0xf0ebcf=_0x1d483b[_0x4ab735(0x16f)](this[_0x4ab735(0xfa)][_0x4ab735(0x15b)](_0x251b0d)[_0x4ab735(0x15d)]);_0x1d483b[_0x4ab735(0x182)](_0xf0ebcf);}[_0x563a64(0x184)](_0x3c8467,_0x329d18){const _0x35c07d=_0x563a64;_0x3c8467?this[_0x35c07d(0x196)][_0x35c07d(0x12e)](_0x329d18):this[_0x35c07d(0x196)][_0x35c07d(0xf1)](_0x329d18),this[_0x35c07d(0xd9)](_0x35c07d(0x146),_0x35c07d(0x196),this[_0x35c07d(0x196)],this[_0x35c07d(0x196)]);}[_0x563a64(0xd2)](_0x3e7d3e){const _0x4b4d02=_0x563a64;return this[_0x4b4d02(0x196)][_0x4b4d02(0x101)](_0x3e7d3e)||this[_0x4b4d02(0x196)][_0x4b4d02(0x101)](void 0x0);}[_0x563a64(0x17b)](_0x3ebeab,_0x5ac110){return new _0x308781(_0x3ebeab,_0x5ac110);}[_0x563a64(0x103)](_0x1c1dbc,_0x277fce=_t){const _0x44469f=_0x563a64;this[_0x44469f(0x165)][_0x44469f(0x17a)](_0x277fce,_0x1c1dbc),this[_0x44469f(0xd9)](_0x44469f(0x185),_0x44469f(0x165),this[_0x44469f(0x165)],this[_0x44469f(0x165)]);}[_0x563a64(0xce)](_0x293f0f=_t){const _0x3920b6=_0x563a64;return this[_0x3920b6(0x165)][_0x3920b6(0x101)](_0x293f0f)?this[_0x3920b6(0x165)][_0x3920b6(0x15b)](_0x293f0f):bt;}[_0x563a64(0x18f)]({channelId:_0x2e43eb,threadId:_0x1ec94f,comments:_0x42b063,unlinkedAt:_0x3da92c,resolvedAt:_0xcda431,resolvedBy:_0x2b7a94,target:_0x3ba4c8,context:_0x269e53,attributes:_0x303edd,isFromAdapter:_0x1460b3,isResolvable:_0x515194,isSubmitted:_0x55e452}){const _0x4ead52=_0x563a64;if(_0x4ead52(0xd3)!=typeof _0x1ec94f)throw new _0x687c02(_0x4ead52(0x18d),null,{'threadId':_0x1ec94f});if(this[_0x4ead52(0x148)](_0x1ec94f))throw new _0x687c02(_0x4ead52(0x160),null,{'threadId':_0x1ec94f});const _0x1b2cd1=new CommentThread(this,{'channelId':_0x2e43eb,'id':_0x1ec94f,'context':_0x269e53,'attributes':_0x303edd,'unlinkedAt':_0x3da92c,'resolvedAt':_0xcda431,'resolvedBy':_0x2b7a94?this[_0x4ead52(0xeb)][_0x4ead52(0x179)][_0x4ead52(0x15b)](_0x4ecbd7)[_0x4ead52(0x171)](_0x2b7a94):null,'isResolvable':_0x515194,'isSubmitted':_0x55e452||_0x1460b3});this[_0x4ead52(0xd6)][_0x4ead52(0x17a)](_0x1ec94f,_0x1b2cd1);for(const _0x113df4 of _0x42b063)_0x1b2cd1[_0x4ead52(0x131)](this[_0x4ead52(0x12b)]({'threadId':_0x1ec94f,..._0x113df4}));return _0x3ba4c8&&_0x1b2cd1[_0x4ead52(0xf7)](_0x3ba4c8),_0x1460b3||!_0x1b2cd1[_0x4ead52(0x139)]?Promise[_0x4ead52(0x168)]():this[_0x4ead52(0xea)]({'channelId':_0x2e43eb,'threadId':_0x1ec94f});}[_0x563a64(0xea)]({channelId:_0x41a2ce,threadId:_0x409fc8}){const _0x479aef=_0x563a64;if(!this[_0x479aef(0x148)](_0x409fc8))throw new _0x687c02(_0x479aef(0x17c),this);const _0x216f9e=this[_0x479aef(0x170)](_0x409fc8);if(_0x216f9e[_0x479aef(0xf3)]=!0x0,!this[_0x479aef(0xe7)]||_0x479aef(0x159)!=typeof this[_0x479aef(0xe7)][_0x479aef(0xde)])return Promise[_0x479aef(0x168)]();const {id:_0x155f79,comments:_0x26a4f6,resolvedAt:_0xd30c11,resolvedBy:_0x5baa71,context:_0x34da02,attributes:_0x3b2c2c}=_0x216f9e,_0x3651ba=this[_0x479aef(0xeb)][_0x479aef(0x179)][_0x479aef(0x15b)](_0x479aef(0x183)),_0xb875b7=_0x3651ba[_0x479aef(0x12e)](_0x131ebb(this[_0x479aef(0xeb)][_0x479aef(0x116)],_0x479aef(0x186)));return this[_0x479aef(0xe7)][_0x479aef(0xde)]({'channelId':_0x41a2ce,'threadId':_0x155f79,'comments':_0x26a4f6[_0x479aef(0x1a2)](_0x15a24a=>_0x15a24a[_0x479aef(0x108)]()),'resolvedAt':_0xd30c11,'resolvedBy':_0x5baa71?_0x5baa71['id']:_0x5baa71,'context':_0x34da02,'attributes':_0x3b2c2c})[_0x479aef(0x11a)](({comments:_0x2faa26})=>{const _0x11b68c=_0x479aef;_0x3651ba[_0x11b68c(0x199)](_0xb875b7);for(const _0x57641a of _0x2faa26)this[_0x11b68c(0x150)]({'channelId':_0x41a2ce,'threadId':_0x409fc8,'commentId':_0x57641a[_0x11b68c(0x15f)],'createdAt':_0x57641a[_0x11b68c(0x133)],'isFromAdapter':!0x0});})[_0x479aef(0xc7)](_0x585ab8=>{const _0x414320=_0x479aef;throw console[_0x414320(0x109)](_0x585ab8),new _0x687c02(_0x414320(0xe8),this);});}[_0x563a64(0xe1)]({threadId:_0x948734,target:_0x124fa4}){const _0x5e70ce=_0x563a64,_0x5f12ae=this[_0x5e70ce(0x170)](_0x948734);if(!_0x5f12ae)throw new _0x687c02(_0x5e70ce(0x163),this);const _0x45d9ef=this[_0x5e70ce(0xeb)][_0x5e70ce(0x179)][_0x5e70ce(0x15b)](_0x5e70ce(0x183)),_0x4f841d=this[_0x5e70ce(0xeb)][_0x5e70ce(0x179)][_0x5e70ce(0x15b)](_0x343c16),_0x3a25f4=this[_0x5e70ce(0x11d)](_0x5f12ae),_0x4f660a=new _0x308781(_0x5f12ae,_0x3a25f4);let _0x22b623=null;_0x3a25f4['on'](_0x5e70ce(0x143),(_0x1aae64,_0x3bef5d,_0x2bad3a)=>{const _0x45a71b=_0x5e70ce;_0x2bad3a?_0x22b623=_0x45d9ef[_0x45a71b(0x12e)](_0x131ebb(this[_0x45a71b(0xeb)][_0x45a71b(0x116)],_0x45a71b(0x186))):_0x22b623&&(_0x45d9ef[_0x45a71b(0x199)](_0x22b623),_0x22b623=null);}),this[_0x5e70ce(0xfa)][_0x5e70ce(0x17a)](_0x5f12ae,_0x4f660a),this[_0x5e70ce(0xe9)][_0x5e70ce(0x17a)](_0x3a25f4,_0x4f660a);const _0x4edc8e=new _0x5dc41b(this[_0x5e70ce(0xeb)][_0x5e70ce(0x116)],_0x3a25f4);_0x4edc8e[_0x5e70ce(0x14a)](_0x5e70ce(0x139))['to'](_0x3a25f4),_0x4edc8e[_0x5e70ce(0x14a)](_0x5e70ce(0xd0))['to'](_0x3a25f4,_0x5e70ce(0xd0),_0x3a25f4,_0x5e70ce(0x139),(_0x36322d,_0x5b98a9)=>_0x36322d||!_0x5b98a9),_0x4edc8e[_0x5e70ce(0x14a)](_0x5e70ce(0x100))['to'](_0x3a25f4),_0x4edc8e[_0x5e70ce(0xd7)]=_0x5e70ce(0x10e);const _0x5d6598=new _0x5b2e95({'view':_0x4edc8e,'target':_0x124fa4,'type':_0x5e70ce(0x10e),'isVisible':!_0x5f12ae[_0x5e70ce(0x105)]&&!!(_0x5e70ce(0x159)==typeof _0x124fa4?_0x124fa4():_0x124fa4)});return _0x3a25f4['on'](_0x5e70ce(0xfd),()=>{const _0x41b333=_0x5e70ce;_0x5d6598[_0x41b333(0xd9)](_0x41b333(0xfd));}),this[_0x5e70ce(0x155)](_0x3a25f4,_0x5d6598),_0x4f841d[_0x5e70ce(0x12e)](_0x5d6598),_0x5d6598;}[_0x563a64(0x155)](_0x181fe1,_0x49eefd){const _0x2afb6e=_0x563a64;this[_0x2afb6e(0x19c)](_0x181fe1,_0x2afb6e(0x1a6),(_0x332990,_0x40b6c7)=>{const _0x325911=_0x2afb6e,_0x53f9e6=_0x40b6c7['ui'][_0x325911(0x15d)][_0x325911(0x167)][_0x325911(0x1a3)];_0x49eefd[_0x325911(0x11c)][_0x325911(0x12e)](_0x53f9e6),this[_0x325911(0xeb)]instanceof _0x1a797c&&this[_0x325911(0xeb)]['ui'][_0x325911(0x10a)][_0x325911(0x12e)](_0x53f9e6);},{'priority':_0x2afb6e(0xdc)}),this[_0x2afb6e(0x19c)](_0x181fe1,_0x2afb6e(0x18e),(_0x34adfb,_0x26f23f)=>{const _0x304e35=_0x2afb6e,_0x2715a8=_0x26f23f['ui'][_0x304e35(0x15d)][_0x304e35(0x167)][_0x304e35(0x1a3)];_0x49eefd[_0x304e35(0x11c)][_0x304e35(0x101)](_0x2715a8)&&_0x49eefd[_0x304e35(0x11c)][_0x304e35(0x199)](_0x2715a8),this[_0x304e35(0xeb)]instanceof _0x1a797c&&this[_0x304e35(0xeb)]['ui'][_0x304e35(0x10a)][_0x304e35(0x199)](_0x2715a8);});}[_0x563a64(0x1a1)](_0x524c16){const _0x2214f0=_0x563a64;this[_0x2214f0(0x173)](_0x524c16,_0x2214f0(0x1a6)),this[_0x2214f0(0x173)](_0x524c16,_0x2214f0(0x18e));}[_0x563a64(0x11d)](_0x145202){const _0x573002=_0x563a64,_0x387047=this[_0x573002(0xeb)][_0x573002(0x179)][_0x573002(0x15b)](_0x4ecbd7),{config:_0x550841,locale:_0x39af9a}=this[_0x573002(0xeb)],_0x28f30c=_0x586e08(_0x550841[_0x573002(0x15b)](_0x573002(0x116)),_0x39af9a);return new(0x0,(_0x550841[_0x573002(0x15b)](_0x573002(0x124)))[(_0x573002(0x13f))])(_0x39af9a,_0x145202,_0x387047['me'],{'editorConfig':{..._0x550841[_0x573002(0x15b)](_0x573002(0x145)),'licenseKey':this[_0x573002(0xeb)][_0x573002(0x169)][_0x573002(0x15b)](_0x573002(0x161))},'copyMarkers':_0x550841[_0x573002(0x15b)](_0x573002(0x16e)),'maxCommentsWhenCollapsed':_0x550841[_0x573002(0x15b)](_0x573002(0x195)),'maxThreadTotalWeight':_0x550841[_0x573002(0x15b)](_0x573002(0x136)),'maxCommentCharsWhenCollapsed':_0x550841[_0x573002(0x15b)](_0x573002(0x114)),'formatDateTime':_0x28f30c,'CommentView':_0x550841[_0x573002(0x15b)](_0x573002(0x124))[_0x573002(0x129)]});}[_0x563a64(0xc4)]({threadId:_0x1f665f,channelId:_0x248ad8,resolvedAt:_0x525b9c,resolvedBy:_0x434f49,isFromAdapter:_0xb7f795}){const _0x338f0a=_0x563a64;if(!this[_0x338f0a(0x148)](_0x1f665f))throw new _0x687c02(_0x338f0a(0x17c),null,{'threadId':_0x1f665f});const _0x51de73=this[_0x338f0a(0x170)](_0x1f665f);if(_0x51de73[_0x338f0a(0xbf)])throw new _0x687c02(_0x338f0a(0x119),null,{'threadId':_0x1f665f});const _0x48365e=this[_0x338f0a(0xeb)][_0x338f0a(0x179)][_0x338f0a(0x15b)](_0x4ecbd7);if(_0x51de73[_0x338f0a(0xec)]=_0x48365e[_0x338f0a(0x171)](_0x434f49),_0x51de73[_0x338f0a(0x15e)]=_0x525b9c,_0xb7f795||!this[_0x338f0a(0xe7)]||_0x338f0a(0x159)!=typeof this[_0x338f0a(0xe7)][_0x338f0a(0xfe)])return Promise[_0x338f0a(0x168)]();const _0x337fc4=this[_0x338f0a(0xeb)][_0x338f0a(0x179)][_0x338f0a(0x15b)](_0x338f0a(0x183)),_0x369f2d=_0x337fc4[_0x338f0a(0x12e)](_0x131ebb(this[_0x338f0a(0xeb)][_0x338f0a(0x116)],_0x338f0a(0x186)));return this[_0x338f0a(0xe7)][_0x338f0a(0xfe)]({'channelId':_0x248ad8,'threadId':_0x1f665f})[_0x338f0a(0x11a)](({resolvedAt:_0x22c9e5,resolvedBy:_0x245fa9})=>{const _0x58504c=_0x338f0a;_0x337fc4[_0x58504c(0x199)](_0x369f2d),_0x51de73[_0x58504c(0xec)]['id']!==_0x245fa9&&(_0x51de73[_0x58504c(0xec)]=_0x48365e[_0x58504c(0x171)](_0x245fa9)),_0x51de73[_0x58504c(0x15e)]=_0x22c9e5;})[_0x338f0a(0xc7)](_0x37dae4=>{const _0x1c26cd=_0x338f0a;throw console[_0x1c26cd(0x109)](_0x37dae4),new _0x687c02(_0x1c26cd(0x18a),this);});}[_0x563a64(0x19d)]({threadId:_0x409a7f,channelId:_0xccacc6,isFromAdapter:_0x253dc4}){const _0x1d20b4=_0x563a64;if(!this[_0x1d20b4(0x148)](_0x409a7f))throw new _0x687c02(_0x1d20b4(0x17c),null,{'threadId':_0x409a7f});const _0x10e9f5=this[_0x1d20b4(0x170)](_0x409a7f);if(!_0x10e9f5[_0x1d20b4(0xbf)])throw new _0x687c02(_0x1d20b4(0x1a4),null,{'threadId':_0x409a7f});if(_0x10e9f5[_0x1d20b4(0xec)]=null,_0x10e9f5[_0x1d20b4(0x15e)]=null,_0x253dc4||!this[_0x1d20b4(0xe7)]||_0x1d20b4(0x159)!=typeof this[_0x1d20b4(0xe7)][_0x1d20b4(0x1a8)])return Promise[_0x1d20b4(0x168)]();const _0x239635=this[_0x1d20b4(0xeb)][_0x1d20b4(0x179)][_0x1d20b4(0x15b)](_0x1d20b4(0x183)),_0x3f7464=_0x239635[_0x1d20b4(0x12e)](_0x131ebb(this[_0x1d20b4(0xeb)][_0x1d20b4(0x116)],_0x1d20b4(0x186)));return this[_0x1d20b4(0xe7)][_0x1d20b4(0x1a8)]({'channelId':_0xccacc6,'threadId':_0x409a7f})[_0x1d20b4(0x11a)](()=>_0x239635[_0x1d20b4(0x199)](_0x3f7464))[_0x1d20b4(0xc7)](_0xd2930e=>{const _0x594e69=_0x1d20b4;throw console[_0x594e69(0x109)](_0xd2930e),new _0x687c02(_0x594e69(0x137),this);});}[_0x563a64(0x18c)]({threadId:_0xd56cd7,isFromAdapter:_0x3a806d}){const _0x56c3d3=_0x563a64,_0x360fab=this[_0x56c3d3(0x170)](_0xd56cd7);if(!_0x360fab)throw new _0x687c02(_0x56c3d3(0x190),this);if(this[_0x56c3d3(0x11e)](_0xd56cd7),this[_0x56c3d3(0xd6)][_0x56c3d3(0xf1)](_0xd56cd7),!_0x360fab[_0x56c3d3(0xc8)]||_0x3a806d||!this[_0x56c3d3(0xe7)]||_0x56c3d3(0x159)!=typeof this[_0x56c3d3(0xe7)][_0x56c3d3(0x194)])return Promise[_0x56c3d3(0x168)]();const _0x2d449e=this[_0x56c3d3(0xeb)][_0x56c3d3(0x179)][_0x56c3d3(0x15b)](_0x56c3d3(0x183)),{channelId:_0x3661a0}=_0x360fab,_0x977224=_0x2d449e[_0x56c3d3(0x12e)](_0x131ebb(this[_0x56c3d3(0xeb)][_0x56c3d3(0x116)],_0x56c3d3(0x186)));return this[_0x56c3d3(0xe7)][_0x56c3d3(0x194)]({'channelId':_0x3661a0,'threadId':_0xd56cd7})[_0x56c3d3(0x11a)](()=>_0x2d449e[_0x56c3d3(0x199)](_0x977224))[_0x56c3d3(0xc7)](_0x4ed2e8=>{const _0x2d0291=_0x56c3d3;throw console[_0x2d0291(0x109)](_0x4ed2e8),new _0x687c02(_0x2d0291(0xe2),this);});}[_0x563a64(0x118)]({threadId:_0x18990a,unlinkedAt:_0x400040,context:_0x22bc25,attributes:_0x2624b3,isFromAdapter:_0x15b271}){const _0x50aea5=_0x563a64;if(_0x50aea5(0xd3)!=typeof _0x18990a)throw new _0x687c02(_0x50aea5(0x18d),null,{'threadId':_0x18990a});if(!this[_0x50aea5(0x148)](_0x18990a))throw new _0x687c02(_0x50aea5(0x17c),null,{'threadId':_0x18990a});const _0x2cfe11=this[_0x50aea5(0x170)](_0x18990a);let _0x36f4a0=!0x1;if(void 0x0!==_0x22bc25&&_0x2cfe11[_0x50aea5(0xeb)]!==_0x22bc25&&(_0x2cfe11[_0x50aea5(0xeb)]=_0x22bc25,_0x36f4a0=!0x0),void 0x0!==_0x400040&&_0x2cfe11[_0x50aea5(0x106)]!==_0x400040&&(_0x2cfe11[_0x50aea5(0x106)]=_0x400040,_0x36f4a0=!0x0),_0x2624b3&&!_0x4efd5b(_0x2624b3,_0x2cfe11[_0x50aea5(0x11f)])&&(_0x2cfe11[_0x50aea5(0x11f)]=_0x2624b3,_0x36f4a0=!0x0),!_0x36f4a0)return Promise[_0x50aea5(0x168)]();if(!_0x2cfe11[_0x50aea5(0xc8)]||_0x15b271||!this[_0x50aea5(0xe7)]||_0x50aea5(0x159)!=typeof this[_0x50aea5(0xe7)][_0x50aea5(0xd5)])return Promise[_0x50aea5(0x168)]();const _0x436c85=this[_0x50aea5(0xeb)][_0x50aea5(0x179)][_0x50aea5(0x15b)](_0x50aea5(0x183)),{channelId:_0x229185}=_0x2cfe11,_0x34c402=_0x436c85[_0x50aea5(0x12e)](_0x131ebb(this[_0x50aea5(0xeb)][_0x50aea5(0x116)],_0x50aea5(0x186)));return this[_0x50aea5(0xe7)][_0x50aea5(0xd5)]({'channelId':_0x229185,'threadId':_0x18990a,'context':_0x22bc25,'unlinkedAt':_0x400040,'attributes':_0x2624b3})[_0x50aea5(0x11a)](()=>_0x436c85[_0x50aea5(0x199)](_0x34c402))[_0x50aea5(0xc7)](_0x3b217d=>{const _0x1c87fa=_0x50aea5;throw console[_0x1c87fa(0x109)](_0x3b217d),new _0x687c02(_0x1c87fa(0x189),this);});}[_0x563a64(0x11e)](_0x4e5338){const _0xce3cbc=_0x563a64,_0x52b0db=this[_0xce3cbc(0xeb)][_0xce3cbc(0x179)][_0xce3cbc(0x15b)](_0x343c16),_0x577e2f=this[_0xce3cbc(0x170)](_0x4e5338);if(_0x577e2f[_0xce3cbc(0x13e)]=!0x1,this[_0xce3cbc(0xfa)][_0xce3cbc(0x101)](_0x577e2f)){const _0x38ee1a=this[_0xce3cbc(0xfa)][_0xce3cbc(0x15b)](_0x577e2f),_0x526055=_0x38ee1a[_0xce3cbc(0x15d)],_0x396fe4=_0x52b0db[_0xce3cbc(0x16f)](_0x526055);this[_0xce3cbc(0xfa)][_0xce3cbc(0xf1)](_0x577e2f),this[_0xce3cbc(0xe9)][_0xce3cbc(0xf1)](_0x526055),_0x396fe4&&_0x52b0db[_0xce3cbc(0x199)](_0x396fe4),_0x38ee1a[_0xce3cbc(0x19b)](),_0x526055[_0xce3cbc(0x19b)]()[_0xce3cbc(0x11a)](()=>{const _0x17c3e4=_0xce3cbc;this[_0x17c3e4(0x1a1)](_0x526055);});}}[_0x563a64(0x14b)]({threadId:_0x5cd1fe,resolvedAt:_0x4cad05,unlinkedAt:_0x480503}){const _0x275fb5=_0x563a64,_0x46961f=!!_0x4cad05,_0x3c7b5f=this[_0x275fb5(0xeb)][_0x275fb5(0x179)][_0x275fb5(0x15b)](_0x343c16),_0x2b323e=this[_0x275fb5(0x170)](_0x5cd1fe);if(this[_0x275fb5(0xfa)][_0x275fb5(0x101)](_0x2b323e)){const _0x26d802=this[_0x275fb5(0xfa)][_0x275fb5(0x15b)](_0x2b323e)[_0x275fb5(0x15d)],_0x10ebc6=_0x3c7b5f[_0x275fb5(0x16f)](_0x26d802);_0x10ebc6&&(_0x46961f&&_0x3c7b5f[_0x275fb5(0x12f)](_0x10ebc6),_0x480503?_0x10ebc6[_0x275fb5(0x187)]=!0x1:_0x10ebc6[_0x275fb5(0x10f)]());}}[_0x563a64(0xf9)](_0xdf6c23){const _0x3361a0=_0x563a64,_0x9b9b67=this[_0x3361a0(0xeb)][_0x3361a0(0x179)][_0x3361a0(0x15b)](_0x4ecbd7),_0x1058a3=_0x113e13(_0x3361a0(0xfc)+_0xdf6c23),_0x28038f=_0x9b9b67[_0x3361a0(0x171)](_0x1058a3);return _0x28038f||_0x9b9b67[_0x3361a0(0xed)]({'id':_0x1058a3,'name':_0xdf6c23});}[_0x563a64(0x12b)]({threadId:_0x563fc7,commentId:_0x2c4600=_0x2a8010(),content:_0x28a5f3,authorId:_0x416e7d,createdAt:_0x598e11,attributes:_0x3f991b}){const _0x1d2a06=_0x563a64;if(_0x1d2a06(0xd3)!=typeof _0x2c4600)throw new _0x687c02(_0x1d2a06(0x12d));if(_0x1d2a06(0xd3)!=typeof _0x416e7d)throw new _0x687c02(_0x1d2a06(0x115));if(_0x1d2a06(0xd3)!=typeof _0x28a5f3||!_0x28a5f3[_0x1d2a06(0xc9)]())throw new _0x687c02(_0x1d2a06(0x120));const _0x304c74=this[_0x1d2a06(0xeb)][_0x1d2a06(0x179)][_0x1d2a06(0x15b)](_0x4ecbd7)[_0x1d2a06(0x171)](_0x416e7d);if(!_0x304c74)throw new _0x687c02(_0x1d2a06(0x121),null,{'authorId':_0x416e7d});let _0x1a5354=null,_0x3add7d=_0x598e11;return _0x3f991b?.[_0x1d2a06(0x141)]&&(_0x1a5354=this[_0x1d2a06(0xf9)](_0x3f991b[_0x1d2a06(0x141)][_0x1d2a06(0x13d)]),_0x3add7d=new Date(_0x3f991b[_0x1d2a06(0x141)][_0x1d2a06(0x133)])),new Comment(this,{'threadId':_0x563fc7,'id':_0x2c4600,'author':_0x1a5354||_0x304c74,'creator':_0x304c74,'content':_0x28a5f3,'createdAt':_0x598e11,'authoredAt':_0x3add7d,'attributes':_0x3f991b});}[_0x563a64(0x180)](_0x23fe0b){const _0x5ce865=_0x563a64;let {threadId:_0x2b27bd,content:_0x3b5a30,attributes:_0x4cf68,isFromAdapter:_0x578b58}=_0x23fe0b;const _0x4230cc=this[_0x5ce865(0x170)](_0x23fe0b[_0x5ce865(0x16a)]);if(!_0x4230cc)throw new _0x687c02(_0x5ce865(0x14f),this);const _0x15eab1=this[_0x5ce865(0x12b)](_0x23fe0b),{id:_0x401a6b}=_0x15eab1;if(_0x4230cc[_0x5ce865(0x131)](_0x15eab1),_0x578b58||!this[_0x5ce865(0xe7)]||_0x5ce865(0x159)!=typeof this[_0x5ce865(0xe7)][_0x5ce865(0x122)]||!_0x4230cc[_0x5ce865(0xc8)])return Promise[_0x5ce865(0x168)]();const _0x5372da=this[_0x5ce865(0xeb)][_0x5ce865(0x179)][_0x5ce865(0x15b)](_0x5ce865(0x183)),{channelId:_0x227f1b}=_0x4230cc,_0x408250=_0x5372da[_0x5ce865(0x12e)](_0x131ebb(this[_0x5ce865(0xeb)][_0x5ce865(0x116)],_0x5ce865(0x186)));return _0x4cf68||(_0x4cf68={}),this[_0x5ce865(0xe7)][_0x5ce865(0x122)]({'channelId':_0x227f1b,'threadId':_0x2b27bd,'commentId':_0x401a6b,'content':_0x3b5a30,'attributes':_0x4cf68})[_0x5ce865(0x11a)](_0x122d95=>{const _0x3cf8c2=_0x5ce865;_0x5372da[_0x3cf8c2(0x199)](_0x408250),_0x122d95&&this[_0x3cf8c2(0x150)]({'channelId':_0x227f1b,'threadId':_0x2b27bd,'commentId':_0x401a6b,'createdAt':_0x122d95[_0x3cf8c2(0x133)],'isFromAdapter':!0x0});})[_0x5ce865(0xc7)](_0x4b64a9=>{const _0x478b4b=_0x5ce865;throw console[_0x478b4b(0x109)](_0x4b64a9),new _0x687c02(_0x478b4b(0xf6),this);});}[_0x563a64(0x150)]({threadId:_0xd462cf,commentId:_0x92d365,content:_0x41c0a6,createdAt:_0x24e2b7,attributes:_0x543d61,isFromAdapter:_0x3daddd}){const _0xb65e64=_0x563a64;if(void 0x0!==_0x41c0a6&&(_0xb65e64(0xd3)!=typeof _0x41c0a6||!_0x41c0a6[_0xb65e64(0xc9)]()[_0xb65e64(0x139)]))throw new _0x687c02(_0xb65e64(0x10c));const _0xde2fb7=this[_0xb65e64(0x170)](_0xd462cf),_0x2afac4=_0xde2fb7[_0xb65e64(0x197)](_0x92d365);if(!_0x2afac4)throw new _0x687c02(_0xb65e64(0x178),this);let _0x4e3058=!0x1;if(_0x41c0a6&&_0x41c0a6!==_0x2afac4[_0xb65e64(0x132)]&&(_0x2afac4[_0xb65e64(0x157)]||_0x3daddd)&&(_0x2afac4[_0xb65e64(0x132)]=_0x41c0a6,_0x4e3058=!0x0),_0x24e2b7&&_0x24e2b7!==_0x2afac4[_0xb65e64(0x133)]&&(_0x2afac4[_0xb65e64(0x133)]=_0x24e2b7,_0x2afac4[_0xb65e64(0x11f)]&&_0x2afac4[_0xb65e64(0x11f)][_0xb65e64(0x141)]||(_0x2afac4[_0xb65e64(0xe6)]=_0x24e2b7),_0x4e3058=!0x0),_0x543d61&&!_0x4efd5b(_0x543d61,_0x2afac4[_0xb65e64(0x11f)])&&(_0x2afac4[_0xb65e64(0x11f)]=_0x543d61,_0x4e3058=!0x0),!_0x4e3058)return Promise[_0xb65e64(0x168)]();if(_0xde2fb7[_0xb65e64(0xd9)](_0xb65e64(0xcb)),_0x3daddd||!this[_0xb65e64(0xe7)]||_0xb65e64(0x159)!=typeof this[_0xb65e64(0xe7)][_0xb65e64(0x177)])return Promise[_0xb65e64(0x168)]();const _0x4982be=this[_0xb65e64(0xeb)][_0xb65e64(0x179)][_0xb65e64(0x15b)](_0xb65e64(0x183)),{channelId:_0x324e71}=this[_0xb65e64(0x170)](_0x2afac4[_0xb65e64(0x16a)]),_0x56c2a8=_0x4982be[_0xb65e64(0x12e)](_0x131ebb(this[_0xb65e64(0xeb)][_0xb65e64(0x116)],_0xb65e64(0x186)));return this[_0xb65e64(0xe7)][_0xb65e64(0x177)]({'channelId':_0x324e71,'threadId':_0xd462cf,'commentId':_0x92d365,'content':_0x41c0a6,'attributes':_0x543d61})[_0xb65e64(0x11a)](()=>_0x4982be[_0xb65e64(0x199)](_0x56c2a8))[_0xb65e64(0xc7)](_0x2087c0=>{const _0x506fd2=_0xb65e64;throw console[_0x506fd2(0x109)](_0x2087c0),new _0x687c02(_0x506fd2(0x149),this);});}[_0x563a64(0x112)]({threadId:_0x5bd082,commentId:_0x2c6d95,isFromAdapter:_0x48adc0}){const _0x6f1148=_0x563a64,_0x8a2ba=this[_0x6f1148(0x170)](_0x5bd082),_0x21b3c4=_0x8a2ba[_0x6f1148(0x197)](_0x2c6d95);if(!_0x21b3c4)throw new _0x687c02(_0x6f1148(0x126),this);if(_0x8a2ba[_0x6f1148(0x142)](_0x21b3c4),_0x48adc0||!this[_0x6f1148(0xe7)]||_0x6f1148(0x159)!=typeof this[_0x6f1148(0xe7)][_0x6f1148(0xee)])return Promise[_0x6f1148(0x168)]();const _0x11433f=this[_0x6f1148(0xeb)][_0x6f1148(0x179)][_0x6f1148(0x15b)](_0x6f1148(0x183)),{channelId:_0x9d4086}=_0x8a2ba,_0x4ae05e=_0x11433f[_0x6f1148(0x12e)](_0x131ebb(this[_0x6f1148(0xeb)][_0x6f1148(0x116)],_0x6f1148(0x186)));return this[_0x6f1148(0xe7)][_0x6f1148(0xee)]({'channelId':_0x9d4086,'threadId':_0x5bd082,'commentId':_0x2c6d95})[_0x6f1148(0x11a)](()=>_0x11433f[_0x6f1148(0x199)](_0x4ae05e))[_0x6f1148(0xc7)](_0x4eab7d=>{const _0x2ff6f8=_0x6f1148;throw console[_0x2ff6f8(0x109)](_0x4eab7d),new _0x687c02(_0x2ff6f8(0x14d),this);});}}export class CommentThread extends/* #__PURE__ -- @preserve */
|
|
24
|
+
_0x28afdc(){[_0x563a64(0x117)];['id'];[_0x563a64(0x13e)];[_0x563a64(0xf3)];[_0x563a64(0x124)];[_0x563a64(0x13a)];constructor(_0x15e5a4,_0x2f314e){const _0x51d846=_0x563a64;super();const _0x1469ca=_0x2f314e[_0x51d846(0x14c)];this[_0x51d846(0x117)]=_0x2f314e[_0x51d846(0x117)],this['id']=_0x2f314e['id'],this[_0x51d846(0x124)]=new _0x3de8d6(),this[_0x51d846(0x13a)]=_0x15e5a4,this[_0x51d846(0x13e)]=!0x1,this[_0x51d846(0xf3)]=_0x2f314e[_0x51d846(0xc8)],this[_0x51d846(0x17a)](_0x51d846(0xef),!0x0),this[_0x51d846(0x14a)](_0x51d846(0xd2))['to'](_0x15e5a4,_0x51d846(0x165),_0x15e5a4,_0x51d846(0x196),()=>_0x15e5a4[_0x51d846(0xd2)](this[_0x51d846(0x117)])),this[_0x51d846(0x14a)](_0x51d846(0x17d))['to'](_0x15e5a4,_0x51d846(0x165),()=>_0x15e5a4[_0x51d846(0xce)](this[_0x51d846(0x117)])[_0x51d846(0x16c)]),this[_0x51d846(0x14a)](_0x51d846(0x144))['to'](_0x15e5a4,_0x51d846(0x165),()=>{const _0x241bdd=_0x51d846,_0x207767=_0x15e5a4[_0x241bdd(0xce)](this[_0x241bdd(0x117)]);return _0x207767[_0x241bdd(0x17f)]||_0x207767[_0x241bdd(0x16c)];}),this[_0x51d846(0x14a)](_0x51d846(0x14c))['to'](_0x15e5a4,_0x51d846(0x165),()=>_0x1469ca&&_0x15e5a4[_0x51d846(0xce)](this[_0x51d846(0x117)])[_0x51d846(0x168)]),this[_0x51d846(0x17a)](_0x51d846(0xeb),_0x2f314e[_0x51d846(0xeb)]),this[_0x51d846(0x14a)](_0x51d846(0x105))['to'](this,_0x51d846(0x15e),this,_0x51d846(0x106),(_0x42b9d6,_0x368aad)=>_0x42b9d6?_0x368aad?_0x42b9d6<_0x368aad?_0x42b9d6:_0x368aad:_0x42b9d6:_0x368aad),this[_0x51d846(0x17a)](_0x51d846(0x106),_0x2f314e[_0x51d846(0x106)]||null),this[_0x51d846(0x17a)](_0x51d846(0x15e),_0x2f314e[_0x51d846(0x15e)]||null),this[_0x51d846(0x17a)](_0x51d846(0xec),_0x2f314e[_0x51d846(0xec)]||null),this[_0x51d846(0x14a)](_0x51d846(0xbf))['to'](this,_0x51d846(0x15e),_0x36aa69=>!!_0x36aa69),this[_0x51d846(0x17a)](_0x51d846(0x11f),_0x2f314e[_0x51d846(0x11f)]||{});}get[_0x563a64(0x104)](){const _0x3d6175=_0x563a64;return Array[_0x3d6175(0x134)](this[_0x3d6175(0x124)])[_0x3d6175(0xe0)]((_0x30d54c,_0x3d8547)=>_0x30d54c+_0x3d8547[_0x3d6175(0x104)],0x0);}get[_0x563a64(0x139)](){const _0x1459d4=_0x563a64;return this[_0x1459d4(0x124)][_0x1459d4(0x139)];}get[_0x563a64(0x156)](){const _0x1fc84a=_0x563a64;return this[_0x1fc84a(0x13e)];}get[_0x563a64(0xc8)](){const _0x5980fc=_0x563a64;return this[_0x5980fc(0xf3)];}[_0x563a64(0x19f)](){const _0x8218ef=_0x563a64,{channelId:_0x5b4583,id:_0x2059c6}=this;this[_0x8218ef(0x13a)][_0x8218ef(0xd9)](Nt(_0x8218ef(0x176),_0x5b4583),{'channelId':_0x5b4583,'threadId':_0x2059c6});}[_0x563a64(0x111)](_0x46c609){const _0x3ea20b=_0x563a64;this[_0x3ea20b(0x164)]({'unlinkedAt':_0x46c609});}[_0x563a64(0x168)]({resolvedAt:_0x364c8d=new Date(),resolvedBy:_0x1c8384='',isFromAdapter:_0x3ff6dc=!0x1}={}){const _0x41ae8d=_0x563a64,_0xdf384f=this[_0x41ae8d(0x13a)][_0x41ae8d(0xeb)][_0x41ae8d(0x179)][_0x41ae8d(0x15b)](_0x4ecbd7)['me'],{channelId:_0x5daf6c,id:_0x554586}=this;this[_0x41ae8d(0x13a)][_0x41ae8d(0xd9)](Nt(_0x41ae8d(0xfe),_0x5daf6c),{'channelId':_0x5daf6c,'threadId':_0x554586,'resolvedAt':_0x364c8d,'resolvedBy':_0x1c8384||_0xdf384f['id'],'isFromAdapter':_0x3ff6dc});}[_0x563a64(0x1a5)]({isFromAdapter:_0x29b871=!0x1}={}){const _0x575435=_0x563a64,{channelId:_0x502a81,id:_0xb53238}=this;this[_0x575435(0x13a)][_0x575435(0xd9)](Nt(_0x575435(0x1a8),_0x502a81),{'channelId':_0x502a81,'threadId':_0xb53238,'isFromAdapter':_0x29b871});}[_0x563a64(0x12c)](_0x321bac){const _0x1691ea=_0x563a64;this[_0x1691ea(0xeb)]||this[_0x1691ea(0x164)]({'context':_0x321bac});}[_0x563a64(0xe4)](_0x1e469c,_0x1ae395){const _0x1da08d=_0x563a64,_0x2ddf65=_0x1bc804(this[_0x1da08d(0x11f)]);_0x2f1fd5(_0x2ddf65,_0x1e469c,_0x1ae395),this[_0x1da08d(0x164)]({'attributes':_0x2ddf65});}[_0x563a64(0x135)](_0x4e50c0){const _0x1a2661=_0x563a64,_0x4d6162=_0x1bc804(this[_0x1a2661(0x11f)]);_0x1358af(_0x4d6162,_0x4e50c0),this[_0x1a2661(0x164)]({'attributes':_0x4d6162});}[_0x563a64(0x199)]({isFromAdapter:_0x252ded=!0x1}={}){const _0x1aff55=_0x563a64,{channelId:_0x4e0c9c,id:_0x265b6c}=this;this[_0x1aff55(0x13a)][_0x1aff55(0xd9)](Nt(_0x1aff55(0x194),_0x4e0c9c),{'channelId':_0x4e0c9c,'threadId':_0x265b6c,'isFromAdapter':_0x252ded});}[_0x563a64(0xf7)](_0x300881){const _0x246475=_0x563a64;return this[_0x246475(0x13a)][_0x246475(0xe1)]({'threadId':this['id'],'target':_0x300881});}[_0x563a64(0x122)](_0x3acea9){const _0x3c6ee6=_0x563a64,{channelId:_0x1590cb,id:_0x3063d4}=this;this[_0x3c6ee6(0x13a)][_0x3c6ee6(0xd9)](Nt(_0x3c6ee6(0x122),_0x1590cb,_0x3063d4),Object[_0x3c6ee6(0x151)]({'channelId':_0x1590cb,'threadId':_0x3063d4},_0x3acea9));}[_0x563a64(0x197)](_0x1988c7){const _0x12b8e7=_0x563a64;if(_0x12b8e7(0xd3)!=typeof _0x1988c7)throw new _0x687c02(_0x12b8e7(0x12a),null,{'commentId':_0x1988c7});return this[_0x12b8e7(0x124)][_0x12b8e7(0x15b)](_0x1988c7);}[_0x563a64(0x108)](){const _0x37866c=_0x563a64;return{'threadId':this['id'],'context':this[_0x37866c(0xeb)],'unlinkedAt':this[_0x37866c(0x106)],'resolvedAt':this[_0x37866c(0x15e)],'resolvedBy':this[_0x37866c(0xec)]?this[_0x37866c(0xec)]['id']:null,'archivedAt':this[_0x37866c(0x105)],'comments':this[_0x37866c(0x124)][_0x37866c(0x1a2)](_0x1ceb8d=>_0x1ceb8d[_0x37866c(0x108)]()),'attributes':this[_0x37866c(0x11f)]};}[_0x563a64(0x131)](_0x36d85a){const _0x39214e=_0x563a64;return this[_0x39214e(0x19c)](_0x36d85a,_0x39214e(0x13b),()=>{const _0x4eea7c=_0x39214e,_0x38f750=this[_0x4eea7c(0xf4)](_0x36d85a),_0x322642=this[_0x4eea7c(0x124)];_0x38f750-0x1!=_0x322642[_0x4eea7c(0xe3)](_0x36d85a)&&_0x38f750+0x1!=_0x322642[_0x4eea7c(0xe3)](_0x36d85a)&&(this[_0x4eea7c(0x142)](_0x36d85a),this[_0x4eea7c(0x131)](_0x36d85a));}),this[_0x39214e(0x124)][_0x39214e(0x12e)](_0x36d85a,this[_0x39214e(0xf4)](_0x36d85a));}[_0x563a64(0x164)](_0x5aea1){const _0x67a9f6=_0x563a64,{channelId:_0x10c68e,id:_0x27fa6c}=this;this[_0x67a9f6(0x13a)][_0x67a9f6(0xd9)](Nt(_0x67a9f6(0xd5),_0x10c68e),{..._0x5aea1,'channelId':_0x10c68e,'threadId':_0x27fa6c});}[_0x563a64(0x142)](_0x1e78b6){const _0x5403e1=_0x563a64;return this[_0x5403e1(0x173)](_0x1e78b6),_0x1e78b6[_0x5403e1(0x19b)](),this[_0x5403e1(0x124)][_0x5403e1(0x199)](_0x1e78b6);}[_0x563a64(0xf4)](_0x1ead30){const _0x2f4c5e=_0x563a64,_0x3a6a56=this[_0x2f4c5e(0x124)][_0x2f4c5e(0xd1)](_0x5a4c78=>new Date(_0x5a4c78[_0x2f4c5e(0xe6)])[_0x2f4c5e(0x192)]()>new Date(_0x1ead30[_0x2f4c5e(0xe6)])[_0x2f4c5e(0x192)]());return _0x3a6a56?this[_0x2f4c5e(0x124)][_0x2f4c5e(0xe3)](_0x3a6a56):this[_0x2f4c5e(0x139)];}}export class Comment extends/* #__PURE__ -- @preserve */
|
|
25
|
+
_0x28afdc(){['id'];[_0x563a64(0x16a)];[_0x563a64(0xf8)];[_0x563a64(0xf0)];[_0x563a64(0xcc)];[_0x563a64(0x133)];[_0x563a64(0x13a)];constructor(_0x5e4f37,_0x384944){const _0x1dc040=_0x563a64;super();const _0x519f62=_0x5e4f37[_0x1dc040(0xeb)][_0x1dc040(0x179)][_0x1dc040(0x15b)](_0x4ecbd7)['me'],_0xd808af=_0x5e4f37[_0x1dc040(0x170)](_0x384944[_0x1dc040(0x16a)]),_0x6dad4c=0x0===_0xd808af[_0x1dc040(0x124)][_0x1dc040(0x139)],_0x506717=_0x519f62===_0x384944[_0x1dc040(0xf8)];this['id']=_0x384944['id'],this[_0x1dc040(0x16a)]=_0x384944[_0x1dc040(0x16a)],this[_0x1dc040(0xf8)]=_0x384944[_0x1dc040(0xf8)],this[_0x1dc040(0xf0)]=_0x384944[_0x1dc040(0xf0)],this[_0x1dc040(0xcc)]=Boolean(_0x384944[_0x1dc040(0x11f)]&&_0x384944[_0x1dc040(0x11f)][_0x1dc040(0x141)]),this[_0x1dc040(0x17a)](_0x1dc040(0x132),_0x384944[_0x1dc040(0x132)]),this[_0x1dc040(0x133)]=_0x384944[_0x1dc040(0x133)]||new Date(),this[_0x1dc040(0x17a)](_0x1dc040(0xe6),_0x384944[_0x1dc040(0xe6)]||new Date()),this[_0x1dc040(0x14a)](_0x1dc040(0x15e))['to'](_0xd808af,_0x1dc040(0x15e)),this[_0x1dc040(0x17a)](_0x1dc040(0x11f),_0x384944[_0x1dc040(0x11f)]||{}),this[_0x1dc040(0x14a)](_0x1dc040(0x157))['to'](_0x5e4f37,_0x1dc040(0x165),()=>{const _0x5513de=_0x1dc040,_0x57cb67=_0x5e4f37[_0x5513de(0xce)](_0xd808af[_0x5513de(0x117)])[_0x5513de(0x17f)],_0x334659=_0x5e4f37[_0x5513de(0xce)](_0xd808af[_0x5513de(0x117)])[_0x5513de(0x127)];return _0x506717&&_0x57cb67||!_0x506717&&_0x334659;}),this[_0x1dc040(0x14a)](_0x1dc040(0x17d))['to'](_0xd808af,_0x1dc040(0x17d),_0x5e4f37,_0x1dc040(0x165),_0x1d880f=>{const _0x5c03b7=_0x1dc040,_0x30fe58=_0x5e4f37[_0x5c03b7(0xce)](_0xd808af[_0x5c03b7(0x117)])[_0x5c03b7(0x17f)],_0x14390c=_0x5e4f37[_0x5c03b7(0xce)](_0xd808af[_0x5c03b7(0x117)])[_0x5c03b7(0x127)];return _0x506717&&_0x30fe58||_0x1d880f&&_0x6dad4c||!_0x506717&&_0x14390c&&!_0x6dad4c;}),this[_0x1dc040(0x14a)](_0x1dc040(0xd2))['to'](_0xd808af,_0x1dc040(0xd2)),this[_0x1dc040(0x13a)]=_0x5e4f37;}get[_0x563a64(0x104)](){const _0x1cb70f=_0x563a64;return Math[_0x1cb70f(0xd8)](function(_0x403201){const _0x155aac=_0x1cb70f,_0x3baf7b=document[_0x155aac(0xdf)](_0x155aac(0x107));return _0x3baf7b[_0x155aac(0xfb)]=_0x403201,_0x3baf7b[_0x155aac(0x11b)][_0x155aac(0x139)];}(this[_0x1cb70f(0x132)]),0xc8);}[_0x563a64(0x174)](_0x11a573){const _0x34ccb2=_0x563a64,{threadId:_0x1d2b90,id:_0x3efb03}=this;if(!this[_0x34ccb2(0x13a)][_0x34ccb2(0x148)](_0x1d2b90))throw new _0x687c02(_0x34ccb2(0x113),this);const {channelId:_0x106625}=this[_0x34ccb2(0x13a)][_0x34ccb2(0x170)](_0x1d2b90);this[_0x34ccb2(0x13a)][_0x34ccb2(0xd9)](Nt(_0x34ccb2(0x177),_0x106625,_0x1d2b90),{'channelId':_0x106625,'threadId':_0x1d2b90,'commentId':_0x3efb03,..._0x11a573});}[_0x563a64(0xe4)](_0x2d9604,_0x2c6e4f){const _0x313cc8=_0x563a64,_0x5011ab=_0x1bc804(this[_0x313cc8(0x11f)]);_0x2f1fd5(_0x5011ab,_0x2d9604,_0x2c6e4f),this[_0x313cc8(0x174)]({'attributes':_0x5011ab});}[_0x563a64(0x135)](_0x33393d){const _0x1d0feb=_0x563a64,_0x4450f8=_0x1bc804(this[_0x1d0feb(0x11f)]);_0x1358af(_0x4450f8,_0x33393d),this[_0x1d0feb(0x174)]({'attributes':_0x4450f8});}[_0x563a64(0x199)](_0x5e5635={}){const _0x16e617=_0x563a64;if(!_0x5e5635[_0x16e617(0xc3)]&&!this[_0x16e617(0x17d)])return;const {threadId:_0x401382,id:_0x148677}=this;if(!this[_0x16e617(0x13a)][_0x16e617(0x148)](_0x401382))throw new _0x687c02(_0x16e617(0xda),this);const {channelId:_0x2c6e26}=this[_0x16e617(0x13a)][_0x16e617(0x170)](_0x401382);this[_0x16e617(0x13a)][_0x16e617(0xd9)](Nt(_0x16e617(0xee),_0x2c6e26,_0x401382),{'channelId':_0x2c6e26,'threadId':_0x401382,'commentId':_0x148677,..._0x5e5635});}[_0x563a64(0x108)](){const _0x36d3b3=_0x563a64;return{'commentId':this['id'],'content':this[_0x36d3b3(0x132)],'createdAt':this[_0x36d3b3(0x133)],'authorId':this[_0x36d3b3(0xf0)]['id'],'attributes':this[_0x36d3b3(0x11f)]};}[_0x563a64(0x19b)](){const _0x51940b=_0x563a64;this[_0x51940b(0x173)]();}}function Nt(_0x6028c5,..._0x1bf0f1){for(const _0x205822 of _0x1bf0f1)void 0x0!==_0x205822&&(_0x6028c5+=':'+String(_0x205822));return _0x6028c5;}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x252979=_0x1bfa;(function(_0x30b1da,_0x4a194c){const _0x28afbc=_0x1bfa,_0x205c8f=_0x30b1da();while(!![]){try{const _0x250ced=-parseInt(_0x28afbc(0x136))/0x1+-parseInt(_0x28afbc(0x119))/0x2*(parseInt(_0x28afbc(0x13a))/0x3)+-parseInt(_0x28afbc(0x14c))/0x4*(parseInt(_0x28afbc(0x159))/0x5)+-parseInt(_0x28afbc(0x12b))/0x6+parseInt(_0x28afbc(0x142))/0x7*(parseInt(_0x28afbc(0x12a))/0x8)+-parseInt(_0x28afbc(0x15c))/0x9*(-parseInt(_0x28afbc(0x10f))/0xa)+parseInt(_0x28afbc(0x151))/0xb;if(_0x250ced===_0x4a194c)break;else _0x205c8f['push'](_0x205c8f['shift']());}catch(_0x550d57){_0x205c8f['push'](_0x205c8f['shift']());}}}(_0x2c34,0x95413));import{Plugin as _0x4c4a14}from'ckeditor5/src/core.js';import{IconAddComment as _0x2c04ce}from'ckeditor5/src/icons.js';function _0x1bfa(_0x469eee,_0x4875fc){const _0x2c347d=_0x2c34();return _0x1bfa=function(_0x1bfaba,_0x35641a){_0x1bfaba=_0x1bfaba-0x10a;let _0x179fc4=_0x2c347d[_0x1bfaba];return _0x179fc4;},_0x1bfa(_0x469eee,_0x4875fc);}import{CommentsRepository as _0x1463c3}from'./commentsrepository.js';import{CommentsEditing as _0x5b1374}from'./commentsediting.js';import{EditorAnnotations as _0x577a35}from'../annotations/editorannotations.js';import{ButtonView as _0xc399ca,MenuBarMenuListItemButtonView as _0x39790f}from'ckeditor5/src/ui.js';function _0x2c34(){const _0x5f3208=['map','innerView','plugins','componentFactory','getCommentThread','low','addSourceCollector','382452wgQwPq','commentsLicenseKeyEvaluationLimit','change:activeAnnotations','invalid','_threadToController','featureNotAllowed','config','editor','stop','requires','376636IIgpRj','_licenseKeyCheckInterval','commands','push','isFocused','6207817ZAXHBJ','activeMarker','model','isPremiumPlugin','editing','init','pluginName','has','25HNRBVh','comment','from','7646823criprC','_viewToController','getRange','removeCommentThread','focusTracker','execute','highest','commentsLicenseKeyUsageLimit','hasCommentThread','10pKNpEk','view','CommentsUI','locale','listenTo','isEnabled','Comments','domainLimit','length','comment:','543238AOnzXy','evaluationLimit','commentsLicenseKeyValid','add','bind','usageLimit','commentsLicenseKeyInvalid','_showLicenseError','commentsLicenseKeyDomainLimit','hasMarkerForId','menuBar:comment','set','destroy','Comment','expired','CommentThreadInputView','tooltip','120elySUH','4840494WfpLni','_createUIButton','getAllMarkersForId','addCommentThread','addComment','commentsLicenseKeyNotAllowed','commentsLicenseKeyExpired','licenseKey','find','CommentsListView','focus','73024hzbwpL','hasContent','isOfficialPlugin','get','3AHIEmM'];_0x2c34=function(){return _0x5f3208;};return _0x2c34();}import{Annotations as _0x1e4b5e}from'../annotations/annotations.js';import{CommentsListView as _0x5a9ee1}from'./ui/view/commentslistview.js';import{CommentThreadInputView as _0x4d52dd}from'./ui/view/commentthreadinputview.js';import{getTranslation as _0x12b777}from'../utils/common-translations.js';export class CommentsUI extends _0x4c4a14{[_0x252979(0x132)];[_0x252979(0x14d)];static get[_0x252979(0x157)](){const _0x1ccc0c=_0x252979;return _0x1ccc0c(0x111);}static get[_0x252979(0x138)](){return!0x0;}static get[_0x252979(0x154)](){return!0x0;}static get[_0x252979(0x14b)](){return[_0x1463c3,_0x5b1374,_0x577a35,_0x1e4b5e];}get[_0x252979(0x134)](){return _0x5a9ee1;}get[_0x252979(0x128)](){return _0x4d52dd;}[_0x252979(0x156)](){const _0x374693=_0x252979,_0x885f16=this[_0x374693(0x149)],_0x2719f5=_0x885f16[_0x374693(0x13d)][_0x374693(0x139)](_0x1463c3),_0x58ecac=_0x885f16[_0x374693(0x13d)][_0x374693(0x139)](_0x5b1374),_0x102e69=_0x885f16[_0x374693(0x13d)][_0x374693(0x139)](_0x1e4b5e),_0x2dcb52=_0x885f16[_0x374693(0x13d)][_0x374693(0x139)](_0x577a35);_0x885f16['ui'][_0x374693(0x13e)][_0x374693(0x11c)](_0x374693(0x15a),()=>{const _0x2ebc44=_0x374693,_0x231fbd=this[_0x2ebc44(0x12c)](_0xc399ca);return _0x231fbd[_0x2ebc44(0x129)]=!0x0,_0x231fbd;}),_0x885f16['ui'][_0x374693(0x13e)][_0x374693(0x11c)](_0x374693(0x123),()=>this[_0x374693(0x12c)](_0x39790f)),_0x2dcb52[_0x374693(0x141)](()=>{const _0x1d8a96=_0x374693,_0x357468=[];for(const [_0x2acda8,_0x27bf1d]of _0x2719f5[_0x1d8a96(0x146)]){const _0x183f49=_0x58ecac[_0x1d8a96(0x12d)](_0x2acda8['id']),_0x1a9209=_0x183f49[_0x1d8a96(0x13b)](_0x1169b1=>_0x1169b1[_0x1d8a96(0x15e)]());_0x183f49[_0x1d8a96(0x117)]>0x0&&_0x357468[_0x1d8a96(0x14f)]([_0x27bf1d[_0x1d8a96(0x110)],_0x1a9209]);}return _0x357468;}),this[_0x374693(0x113)](_0x102e69,_0x374693(0x144),(_0x35b516,_0x4f17ff,_0x1c29d2)=>{const _0x528c1d=_0x374693,_0x5cfa2d=Array[_0x528c1d(0x15b)](_0x1c29d2)[_0x528c1d(0x13b)](_0x3a6054=>_0x3a6054[_0x528c1d(0x13c)])[_0x528c1d(0x133)](_0x527599=>_0x2719f5[_0x528c1d(0x15d)][_0x528c1d(0x158)](_0x527599));if(!_0x5cfa2d)return void(_0x58ecac[_0x528c1d(0x152)]=null);const _0x39e4d4=_0x2719f5[_0x528c1d(0x15d)][_0x528c1d(0x139)](_0x5cfa2d)[_0x528c1d(0x153)]['id'],_0x599003=_0x528c1d(0x118)+_0x39e4d4;_0x39e4d4&&_0x58ecac[_0x528c1d(0x122)](_0x39e4d4)?_0x58ecac[_0x528c1d(0x152)]=_0x599003:_0x58ecac[_0x528c1d(0x152)]&&(_0x58ecac[_0x528c1d(0x152)]=null);}),this[_0x374693(0x113)](_0x2719f5,_0x374693(0x15f),(_0x4d0ca7,{threadId:_0x3e2212,isFromAdapter:_0xb4fb38})=>{const _0x21acae=_0x374693;!_0xb4fb38&&_0x885f16['ui'][_0x21acae(0x10a)][_0x21acae(0x150)]&&_0x58ecac[_0x21acae(0x122)](_0x3e2212)&&_0x885f16[_0x21acae(0x155)][_0x21acae(0x110)][_0x21acae(0x135)]();},{'priority':_0x374693(0x10c)}),this[_0x374693(0x113)](_0x2719f5,_0x374693(0x12f),(_0x34d2fb,{threadId:_0x5ce369,isFromAdapter:_0xa3c3a8})=>{const _0xf99526=_0x374693;if(_0xa3c3a8||!_0x58ecac[_0xf99526(0x122)](_0x5ce369)||!_0x2719f5[_0xf99526(0x10e)](_0x5ce369))return;0x1===_0x2719f5[_0xf99526(0x13f)](_0x5ce369)[_0xf99526(0x117)]&&(_0x885f16[_0xf99526(0x155)][_0xf99526(0x110)][_0xf99526(0x135)](),_0x34d2fb[_0xf99526(0x14a)]());},{'priority':_0x374693(0x140)}),this[_0x374693(0x132)]=this[_0x374693(0x149)][_0x374693(0x148)][_0x374693(0x139)](_0x374693(0x132));const _0x508755=this[_0x374693(0x149)];this[_0x374693(0x14d)]=setInterval(()=>{const _0x10ae3d=_0x374693;let _0x17ac8b;for(const _0x214a58 in _0x508755){const _0x3c1de0=_0x214a58,_0x1649b=_0x508755[_0x3c1de0];if(_0x10ae3d(0x11b)==_0x1649b||_0x10ae3d(0x11f)==_0x1649b||_0x10ae3d(0x131)==_0x1649b||_0x10ae3d(0x121)==_0x1649b||_0x10ae3d(0x130)==_0x1649b||_0x10ae3d(0x143)==_0x1649b||_0x10ae3d(0x10d)==_0x1649b){delete _0x508755[_0x3c1de0],_0x17ac8b=_0x1649b,clearInterval(this[_0x10ae3d(0x14d)]),this[_0x10ae3d(0x14d)]=void 0x0;break;}}_0x10ae3d(0x11f)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x145)),_0x10ae3d(0x131)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x127)),_0x10ae3d(0x121)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x116)),_0x10ae3d(0x130)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x147),_0x10ae3d(0x115)),_0x10ae3d(0x143)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x11a)),_0x10ae3d(0x10d)==_0x17ac8b&&_0x508755[_0x10ae3d(0x120)](_0x10ae3d(0x11e));},0x3e8);}[_0x252979(0x125)](){const _0x5d893e=_0x252979;super[_0x5d893e(0x125)](),this[_0x5d893e(0x14d)]&&clearInterval(this[_0x5d893e(0x14d)]);}[_0x252979(0x12c)](_0x4dcef1){const _0x41ed61=_0x252979,_0x366656=this[_0x41ed61(0x149)],_0x487217=new _0x4dcef1(_0x366656[_0x41ed61(0x112)]),_0x32beb6=_0x366656[_0x41ed61(0x14e)][_0x41ed61(0x139)](_0x41ed61(0x12e));return _0x487217[_0x41ed61(0x124)]({'label':_0x12b777(_0x366656[_0x41ed61(0x112)],_0x41ed61(0x126)),'icon':_0x2c04ce}),_0x487217[_0x41ed61(0x11d)](_0x41ed61(0x114))['to'](_0x32beb6,_0x41ed61(0x114),_0x32beb6,_0x41ed61(0x137),(_0x131f15,_0x28109e)=>_0x131f15&&_0x28109e),this[_0x41ed61(0x113)](_0x487217,_0x41ed61(0x10b),()=>{const _0x2116ae=_0x41ed61;_0x32beb6[_0x2116ae(0x10b)]();}),_0x487217;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x374dc7=_0x4d7b;(function(_0x789a70,_0x15b4fe){const _0x3d7e31=_0x4d7b,_0x355951=_0x789a70();while(!![]){try{const _0x1a0759=-parseInt(_0x3d7e31(0x8b))/0x1*(parseInt(_0x3d7e31(0x83))/0x2)+parseInt(_0x3d7e31(0x6f))/0x3*(-parseInt(_0x3d7e31(0x92))/0x4)+-parseInt(_0x3d7e31(0x84))/0x5+-parseInt(_0x3d7e31(0x88))/0x6+-parseInt(_0x3d7e31(0x74))/0x7+-parseInt(_0x3d7e31(0x79))/0x8*(parseInt(_0x3d7e31(0x81))/0x9)+parseInt(_0x3d7e31(0x8e))/0xa*(parseInt(_0x3d7e31(0x73))/0xb);if(_0x1a0759===_0x15b4fe)break;else _0x355951['push'](_0x355951['shift']());}catch(_0x4c63da){_0x355951['push'](_0x355951['shift']());}}}(_0x5c39,0xb2f7d));import{Plugin as _0x37d05b}from'ckeditor5/src/core.js';function _0x4d7b(_0x2e1e5b,_0x26182c){const _0x5c39c5=_0x5c39();return _0x4d7b=function(_0x4d7b05,_0x37ba5d){_0x4d7b05=_0x4d7b05-0x6f;let _0x2ff8cf=_0x5c39c5[_0x4d7b05];return _0x2ff8cf;},_0x4d7b(_0x2e1e5b,_0x26182c);}import{ClipboardPipeline as _0x2c48f8,ClipboardMarkersUtils as _0x1bbace}from'ckeditor5/src/clipboard.js';export class CommentsClipboard extends _0x37d05b{constructor(_0x49d2e2){const _0x26ad66=_0x4d7b;super(_0x49d2e2),this[_0x26ad66(0x7b)][_0x26ad66(0x76)][_0x26ad66(0x71)](_0x26ad66(0x94),_0x26ad66(0x99));}static get[_0x374dc7(0x82)](){return[_0x1bbace,_0x2c48f8];}[_0x374dc7(0x98)](){const _0x30815a=_0x374dc7,_0x10023c=this[_0x30815a(0x7b)][_0x30815a(0x70)][_0x30815a(0x7a)](_0x30815a(0x89));this[_0x30815a(0x8a)](),this[_0x30815a(0x77)](_0x10023c,_0x30815a(0x7c),(_0x2db096,_0xb52b89)=>this[_0x30815a(0x8f)](_0xb52b89[_0x30815a(0x96)][_0x30815a(0x7d)]),{'priority':_0x30815a(0x93)});}[_0x374dc7(0x8f)](_0x535521){const _0x4ffa32=_0x374dc7;if(!this[_0x4ffa32(0x7b)][_0x4ffa32(0x70)][_0x4ffa32(0x72)](_0x4ffa32(0x8c)))return _0x535521;const _0x46d79f=this[_0x4ffa32(0x7b)][_0x4ffa32(0x70)][_0x4ffa32(0x7a)](_0x4ffa32(0x8c));for(const _0x279e2d of _0x535521[_0x4ffa32(0x86)]()){const [_0x605b23,_0x4874a2]=_0x279e2d[_0x4ffa32(0x95)](':');_0x4ffa32(0x7e)!=_0x605b23||_0x46d79f[_0x4ffa32(0x87)](_0x4874a2)||_0x535521[_0x4ffa32(0x90)](_0x279e2d);}return _0x535521;}[_0x374dc7(0x8a)](){const _0x1272ce=_0x374dc7,_0x440f9b=this[_0x1272ce(0x7b)][_0x1272ce(0x70)][_0x1272ce(0x7a)](_0x1272ce(0x75)),_0x2508ba=this[_0x1272ce(0x80)](this[_0x1272ce(0x7b)][_0x1272ce(0x76)][_0x1272ce(0x7a)](_0x1272ce(0x94)));_0x2508ba&&_0x440f9b[_0x1272ce(0x97)](_0x1272ce(0x7e),_0x2508ba);}[_0x374dc7(0x80)](_0x2e1fb0){const _0x58cbb0=_0x374dc7;switch(_0x2e1fb0){case _0x58cbb0(0x91):return{'allowedActions':_0x58cbb0(0x85),'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case _0x58cbb0(0x99):return{'allowedActions':[_0x58cbb0(0x78),_0x58cbb0(0x7f)],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};case _0x58cbb0(0x8d):return null;default:return null;}}}function _0x5c39(){const _0x4ef697=['_registerMarkerToCopy','afterInit','default','651ibxaLb','plugins','define','has','99FFEymr','8151199IQVZqQ','ClipboardMarkersUtils','config','listenTo','cut','5598152LrxwHx','get','editor','contentInsertion','markers','comment','dragstart','_mapCommentsCopyConfigToRegisterConfiguration','9UVHlfL','requires','146NtuFUR','2290045GPIjXG','all','keys','hasCommentThread','6843924JkeAdj','ClipboardPipeline','_registerMarkerInClipboardPipeline','3067xYoYXd','CommentsRepository','never','6272480UkYtPe','_removeMarkersWithoutThreads','delete','always','22588YBPsuT','highest','comments.copyMarkers','split','content'];_0x5c39=function(){return _0x4ef697;};return _0x5c39();}
|