1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="d1ba0587-50b0-d6f1-9686-6eba3136fb65")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,149891,876165,e=>{"use strict";var t=e.i(478902),s=e.i(389959),a=e.i(197649),n=e.i(695287),l=e.i(930253);e.i(523121);var r=e.i(749309),o=e.i(945785);e.i(48058);var i=e.i(875542),d=e.i(957873),c=e.i(25),u=e.i(489040),m=e.i(751911),h=e.i(876348),p=e.i(91596),f=e.i(500045),x=e.i(447394),j=e.i(798240),v=e.i(396902),g=e.i(623690),y=e.i(465149),C=e.i(241431),k=e.i(593296),_=e.i(722010),b=e.i(761201);e.i(824158);var N=e.i(778888);e.i(555831);var w=e.i(808660),q=e.i(601010),R=e.i(263397);let S=(0,n.observer)(function({collapsible:e,isFocused:s,quickPost:n,handleToggleCollapse:l,isTopLevel:r,hasRecThresholdBackground:i,commentSeenEnabled:d,children:c}){return!e||s?(0,t.jsx)("div",{className:(0,a.default)("_1ymgdnq1",s?"_1ymgdnq2":void 0),children:c}):(0,t.jsx)(o.default,{collapsed:n.collapsed,onToggleCollapsed:l,topLevel:r,className:n.collapsed?void 0:(0,a.default)("_1ymgdnq6",i?"_1ymgdnq7":(0,f.shouldHighlightCommentAsUnread)(d,"seen"in n?n.seen:void 0)?"_1ymgdnq8":void 0),children:c})}),I=(0,n.observer)(function(e){var n;let o,A,L,{quickPost:T,onReply:D,index:E,depth:P,onToggleCollapsed:U,onDelete:z,onEdit:F,onToggleRec:B,onReject:M,onReport:O,disableReplies:$,showReplyFeed:V="all",collapsible:H=!0,allowRevealIgnored:Z,isAncestor:K=!1,onClickLoadMoreReplies:W}=e,{repliesStore:Y,contentStore:J}=(0,k.useStore)(),G=Z??!!Y.focusedReply,{viewer:Q}=(0,g.useCyclone)(),X=(0,f.useCommentSeenEnabled)(),{cycloneConfig:ee}=(0,v.useConfigContext)(),et=(0,j.useCurrentCycloneCommunity)(),es=ee.commentRecThreshold,ea=Y.root,[en,el]=(0,s.useState)(!1),er=0===P,[eo,ei]=(0,s.useState)("create"),ed=(0,s.useCallback)(()=>{Y.showHidden(T.id)},[Y,T.id]),ec=(0,s.useRef)(null),eu=T.id===Y.focusedReply?.id,em=H&&!eu&&!T.collapsed&&T.recs>=es,eh=em||eu?"primaryText":"default",ep=T.id===Y.traversalFocusContentID,ef=T.author?.id===(!!ea&&"author"in ea&&ea.author?.id),[ex,ej]=(0,s.useState)(!1);(0,s.useEffect)(()=>{if(Q){let e=(0,p.canViewerEdit)(Q.id,T);if(e){ej(!0);let t=setTimeout(()=>ej(!1),e.remaining);return()=>clearTimeout(t)}}},[Q,T]);let ev=!!Q?.ignoredUsers?.some(e=>e.id===T.author?.id),eg=(o=(n={rootAncestorID:T.rootAncestorID,parentID:T.parentID,authorName:T.author?.username,depth:P??0,isAncestor:K,isFocused:eu}).isAncestor?"Ancestor: ":0===n.depth?"":`Thread level ${n.depth}: `,A=n.rootAncestorID===n.parentID?"Comment":"Reply",L=n.isFocused?"Highlighted ":"",`${o}${L}${A} by ${n.authorName??"Unknown author"}`),ey=Y.nestedSocketPermitted?Y.websocketReplyFeeds.get(T.id):[],eC=ey&&ey.length>0,ek=(0,s.useCallback)(()=>{U?.(T.id)},[U,T.id]),e_=(0,s.useCallback)(()=>{$||el(e=>!e)},[$,el]),eb=(0,s.useCallback)(()=>{ei("edit"),el(!0)},[]),eN=(0,s.useCallback)(()=>{"edit"===eo&&ei("create"),el(!1)},[el,eo]),ew=(0,s.useCallback)(e=>{"edit"===eo&&(ei("create"),e&&F&&F(e)),"create"===eo&&e&&D&&D(e),el(!1)},[eo,F,D,el]),{compositionSet:eq}=(0,y.useContentLocationContext)(),eR=eq.get(T.type),{includeStaffBadge:eS}=(0,b.getStaffBadgeProps)({composition:eR,role:T.author?.role}),eI="just-posted"===V?Y.replyFeeds.get(T.id)?.filter(e=>e.justPostedByViewer):Y.replyFeeds.get(T.id),eA=(0,s.useCallback)(e=>{ec.current&&X&&Q&&ec.current.contains(e.target)&&Y.traversalFocusContentID!==T.id&&(!1===T.seen&&T.rootAncestorID&&Q.token&&T.author?.id!==Q.id&&(0,C.markSeen)(ee.serverURL,et.cycloneCommunityId,T.rootAncestorID,[T.id],Q.token,J),Y.traversalFocusContentID=T.id)},[X,Q,Y,T.id,T.seen,T.rootAncestorID,T.author?.id,ee.serverURL,et.cycloneCommunityId,J]);if(T.modStatus===_.ContentModerationStatus.Rejected)return(0,t.jsx)(h.default,{id:T.id,text:"This post has been removed."});if(T.modStatus===_.ContentModerationStatus.Pending)return(0,t.jsx)(h.default,{id:T.id,text:"Your comment has been submitted and will be reviewed by a moderator"});if(T.deletedAt)return(0,t.jsx)(h.default,{id:T.id,text:"This post has been deleted by its author."});if(ev&&!T.showHidden)return(0,t.jsx)(h.default,{id:T.id,text:"This comment is hidden because you ignored this user.",allowReveal:G,onReveal:ed});let eL=0===P&&0!==E&&!T.collapsed,eT=7===P?P:(P??0)+1;return(0,t.jsxs)(t.Fragment,{children:[eL&&(0,t.jsx)("hr",{className:"_1ymgdnq4"}),(0,t.jsxs)("div",{ref:ec,id:T.id,role:"article",tabIndex:-1,onFocus:eA,className:"_1ymgdnq9","aria-label":eg,children:[(!en||"edit"!==eo)&&(0,t.jsx)(u.default,{level:P,className:(0,a.default)(X&&ep&&"_1ymgdnqa",X&&P&&P>0&&"_1ymgdnqb"),children:(0,t.jsxs)(S,{collapsible:H,isFocused:eu,quickPost:T,handleToggleCollapse:ek,isTopLevel:er,hasRecThresholdBackgroun
2d:em,commentSeenEnabled:X,children:[(0,t.jsx)(d.default,{quickPost:T,includeStaffBadge:eS,isOP:ef,collapsed:T.collapsed,onEdit:eb,showEditButton:ex,colorScheme:eh}),!T.collapsed&&(0,t.jsxs)(t.Fragment,{children:[T.parentID&&T.parentID!==T.rootAncestorID&&(0,t.jsx)(m.default,{disabled:0===P&&!Y.expandedAncestors,parentId:T.parentID,parentAuthorName:J.get(T.parentID)?.author?.username||""}),T.body&&!(0,R.isEmptyHtml)(T.body)&&(0,t.jsx)(N.default,{className:"_1ymgdnq0 _12grc8k2 _12grc8k1",html:T.body,component:"div",filterForCookieConsent:!0,interactiveSpoilers:!0}),T.attachments&&T.attachments.length>0&&(0,t.jsx)("div",{className:"_1ymgdnq5",children:(0,t.jsx)(l.default,{attachments:T.attachments,type:w.AttachmentDisplayType.medium,contentID:T.id,allowUnfurlMedia:!0})}),(0,t.jsx)(i.default,{contentObject:T,onEdit:F,onClickReplyCount:e_,onRec:B,onDelete:z,onReject:M,onReport:O,disableReplies:$,colorScheme:eh})]})]})}),en&&(0,t.jsxs)("div",{className:"_1ymgdnq3",children:["create"===eo&&(0,t.jsxs)("div",{className:"_1ymgdnqc",children:[(0,t.jsx)(q.default,{className:"_1ymgdnqd",fill:"transparent",stroke:"currentColor"})," ","Replying to"," ",(0,t.jsx)("span",{className:"_1ymgdnqe",children:T.author?.username||"Unknown"})]}),"edit"===eo&&(0,t.jsxs)("div",{className:"_1ymgdnqf",children:[(0,t.jsx)("span",{className:"_1ymgdnqg",children:T.author?.username||"Unknown"}),(0,t.jsx)(c.default,{className:"_1ymgdnqh",createdAt:T.createdAt})]}),(0,t.jsx)(r.CommentsComposer,{parent:"create"===eo?T:void 0,onSubmit:ew,mode:eo,onCancel:eN,editPost:"edit"===eo?T:void 0,autoFocus:!0,placeholderText:"create"===eo?"Write a reply":"Edit comment"})]})]}),!T.collapsed&&eI&&eI.map((t,a)=>(0,s.createElement)(I,{...e,depth:eT,quickPost:t,index:a,key:t.id,showReplyFeed:V})),!T.collapsed&&!!eC&&(0,t.jsx)(u.default,{noBorder:!0,level:eT,children:(0,t.jsx)(x.default,{displayType:"outlined",text:"Show More Replies",color:"primary",fullWidth:!0,size:"large",onClick:()=>{W&&W(T.id)}})})]})});e.s(["default",0,I],876165),e.s([],149891)},241431,e=>{"use strict";var t=e.i(509727),s=e.i(645904);let a=async(e,a,n,l,r,o)=>{if(0===l.length)return[];for(let e of l){let t=o.get(e);t&&o.insert({...t,seen:!0})}let i=new URL("/api",e).toString(),d=await (0,s.makeRequest)(i,t.markSeenMutation,{communityID:a,rootID:n,contentIDs:l},r);if(d.errors||!d.data)return null;let c=d.data.markSeen;for(let e of c){let t=o.get(e.contentID);t&&o.insert({...t,seen:e.seen})}return c};e.s(["markSeen",0,a])},452756,945785,875542,48058,25,957873,489040,751911,876348,500045,e=>{"use strict";function t(e,s={}){let a=document.getElementById(e);if(a){if(s.customScrollContainer)a.scrollIntoView();else{var n;let e=s.offset??0,t=document.getElementById("sticky-nav");if(t){let s=window.getComputedStyle(t);"0"!==s.getPropertyValue("opacity")&&"none"!==s.getPropertyValue("display")&&(e+=t.offsetHeight)}window.scrollTo({top:(n=window,a.getBoundingClientRect().top+n.scrollY-e)})}return a}return null}e.s(["scrollToId",0,t],452756);var s=e.i(478902),a=e.i(197649),n=e.i(389959),l=e.i(732962),r=e.i(537582),o="_10vtsf55";e.s(["default",0,({collapsed:e,onToggleCollapsed:t,className:i,topLevel:d,children:c})=>{let[u,m]=n.default.useState(!1),h=(0,n.useCallback)(()=>{m(!0),t?.()},[t]),p=(0,n.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),h())},[h]);return n.default.useEffect(()=>{m(!1)},[e]),(0,s.jsxs)("div",{className:(0,a.default)(i,"_10vtsf50",u&&"_10vtsf51",{_10vtsf52:e,_10vtsf53:!e,_10vtsf54:d}),onClick:e?h:void 0,onKeyDown:e?p:void 0,tabIndex:e?0:void 0,role:e?"button":void 0,"aria-label":e?"Expand comment":void 0,children:[(0,s.jsx)("div",{className:"_10vtsf56",children:e?(0,s.jsx)(l.default,{className:o}):(0,s.jsx)("button",{onClick:h,"aria-label":"Collapse comment",children:(0,s.jsx)(r.default,{className:o})})}),(0,s.jsx)("div",{className:"_10vtsf57",children:c})]})}],945785);var i=e.i(695287),d=e.i(447394);e.i(409844);var c=e.i(477673);let u=({className:e,width:t=24,height:a=24})=>(0,s.jsxs)("svg",{viewBox:"-0.25 -0.25 24.5 24.5",xmlns:"http://www.w3.org/2000/svg",className:e,width:t,height:a,children:[(0,s.jsx)("path",{d:"M1.500 11.250 A3.750 3.750 0 1 0 9.000 11.250 A3.750 3.750 0 1 0 1.500 11.250 Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M15.000 6.000 A3.750 3.750 0 1 0 22.500 6.000 A3.750 3.750 0 1 0 15.000 6.000 Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M15.000 18.000 A3.750 3.750 0 1 0 22.500 18.000 A3.750 3.750 0 1 0 15.000 18.000 Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M8.746 9.891L15.254 7.36",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}
2),(0,s.jsx)("path",{d:"M8.605 12.928L15.395 16.323",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]});var m=e.i(153702),h=e.i(740494);let p=({contentObject:e,className:t,classNameButtonText:a})=>{let n=(0,h.getCycloneContentPostPath)(e);return n?(0,s.jsx)(m.default,{url:n,popoverVariant:"coral",trigger:(0,s.jsxs)("span",{className:t,children:[(0,s.jsx)("span",{children:(0,s.jsx)(u,{width:12,height:12})}),(0,s.jsx)("span",{className:a,children:"Share"})]})}):null};var f=e.i(971131);let x=({children:e})=>{let[t,s]=(0,n.useState)(null);return((0,n.useEffect)(()=>{s(document.body)},[]),t)?(0,f.createPortal)(e,t):null},j=({className:e,width:t=24,height:a=24})=>(0,s.jsxs)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:e,width:t,height:a,children:[(0,s.jsx)("path",{d:"M0.75 23.25L0.75 0.75",stroke:"currentColor",fill:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M.75,17.708l3.154-.97a9.61,9.61,0,0,1,7.864,1A9.615,9.615,0,0,0,19.447,18.8l2.987-.854a1.125,1.125,0,0,0,.816-1.082V5.137a1.126,1.126,0,0,0-1.434-1.082l-2.369.677a9.615,9.615,0,0,1-7.679-1.056,9.61,9.61,0,0,0-7.864-1L.75,3.645",stroke:"currentColor",fill:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})]});var v=e.i(267418),g=e.i(395721),y=e.i(210982),C=e.i(623690),k=e.i(465149);e.i(872025);var _=e.i(19562);e.i(586831);var b=e.i(89693);e.i(634344);var N=e.i(274280),w=e.i(601010),q=e.i(980603),R="_1mjqtpn3",S={default:"_1mjqtpn6",primaryText:"_1mjqtpn7"},I="_1mjqtpn9";let A=(0,i.observer)(function({contentObject:e,onClickReplyCount:t,onRec:l,onDelete:r,onPin:o,onUnpin:i,onReject:u,onReport:m,onOpenOrCloseReplies:h,pinnedContentID:f,disableReplies:A,colorScheme:L="default"}){let T=(0,y.useAnalytics)(),[D,E]=(0,n.useState)(null),[P,U]=(0,n.useState)("reply"),{compositionSet:z}=(0,k.useContentLocationContext)(),F=z.get(e.type),{viewerBans:B,viewerSuspensions:M,viewerHasUnacknowledgedWarning:O,viewer:$}=(0,C.useCyclone)(),V=!!$&&"isReported"in e&&e.isReported,H=B.length>0,Z=M.length>0,K=(0,g.isUserStaff)($),W=(0,n.useCallback)(()=>{E(null)},[]),Y=(0,n.useCallback)(()=>{if(m){if(!$){U("report"),E("login");return}E("report")}},[m,$]),J=(0,n.useCallback)(e=>{T?.emit({event:"coral_comment",coral_comment:{action:"report"}}),m?.(e)},[T,m]),G=(0,n.useCallback)(()=>{if(t&&!A&&F?.canReply){if(!$){U("reply"),E("login");return}t()}},[t,A,F?.canReply,$]),Q=(0,n.useCallback)(t=>{if(t.preventDefault(),t.stopPropagation(),l){if(!$){U("rec"),E("login");return}T?.emit({event:"coral_comment",coral_comment:{action:"respect"}}),l(e).then(()=>{t.stopPropagation()})}},[T,e,l,$]),X=(0,n.useCallback)((e,t)=>{h&&h(e,t)},[h]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x,{children:(0,s.jsxs)(N.default,{visible:!!D,onClose:W,size:"medium",children:["login"===D&&(0,s.jsx)(b.default,{logo:(0,s.jsx)(_.default,{}),source:P}),"report"===D&&m&&(0,s.jsx)("div",{className:"_1mjqtpn0",children:(0,s.jsx)(v.ReportForm,{contentObjectID:e.id,communityID:e.community?.id,onCancel:W,onReport:J})})]})}),(0,s.jsxs)("div",{className:(0,a.default)("_1mjqtpn1",S[L],K&&"_1mjqtpn8"),children:[(0,s.jsxs)("div",{className:"_1mjqtpn2",children:["recs"in e&&(0,s.jsx)(d.default,{className:(0,a.default)("_1mjqtpna _1mjqtpn3",e.isRecced&&"_1mjqtpn4"),text:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"_1mjqtpnb _1mjqtpn9",children:`Rec${e.isRecced?"'d":""}`}),e.recs&&e.recs>0?(0,s.jsx)("span",{className:"_1mjqtpnc",children:e.recs}):null]}),iconLeft:(0,s.jsx)(q.default,{className:e.isRecced?"_1mjqtpne":"_1mjqtpnd",filled:!!e.isRecced}),active:!!e.isRecced,displayType:"flat",onClick:Q,disabled:!(!H&&!Z&&!O)}),(0,s.jsx)(d.default,{className:R,text:"Reply",textClassName:I,iconLeft:(0,s.jsx)(w.default,{width:12,height:12}),displayType:"flat",onClick:G,disabled:!(!H&&!Z&&!O)||A}),(0,s.jsx)(p,{contentObject:e,className:(0,a.default)(R,"_1mjqtpn5"),classNameButtonText:I}),K&&!!F?.showObjectActions&&(0,s.jsx)(c.default,{onPin:o,onUnpin:i,onDelete:r,onReject:u,onReport:m,onOpenOrCloseReplies:X,contentObject:e,pinnedContentID:f})]}),(0,s.jsx)("div",{children:(0,s.jsx)(d.default,{className:(0,a.default)(R,V&&"_1mjqtpnf"),disabled:!(!H&&!Z&&!O)||V,text:V?"Reported":"Report",textClassName:I,iconLeft:(0,s.jsx)(j,{width:12,height:12,className:(0,a.default)(V&&"_1mjqtpng")}),displayType:"flat",onClick:Y})})]})]})});e.s(["default",0,A],875542),e.s([],48058);var L=e.i(576164);let T=(e,t,a)=>"second"===t&&"ago"===a?(0,s.jsx)("span",{children:"Just now"}):`${e} ${t}${1===e?"":"s"} ${"from now"===a?"noSuffix":a}`;e.i(379067);var D=e.i(533329);let E=({className:e,createdAt:t})=>
2{let[l,r]=(0,n.useState)(!1),o=(0,n.useCallback)(()=>{r(e=>!e)},[]),i=(0,n.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(r(e=>!e),e.preventDefault(),e.stopPropagation())},[]);return(0,s.jsx)("span",{className:(0,a.default)("_1f1yvym0",e),onClick:o,onKeyDown:i,role:"button",tabIndex:0,children:l?(0,s.jsx)(D.default,{timestamp:t,format:"coralAbsolute"}):(0,s.jsx)(L.default,{date:t,formatter:T})})};e.s(["default",0,E],25);let P=({className:e})=>(0,s.jsx)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,s.jsxs)("g",{id:"Plant--Streamline-Ultimate",children:[(0,s.jsx)("path",{d:"M10.87 7.85v0.6a0.51 0.51 0 0 0 0.2 0.41 6.81 6.81 0 0 1 2.74 4.61 0.48 0.48 0 0 0 0.26 0.38 0.47 0.47 0 0 0 0.46 0 5.84 5.84 0 0 0 3.17 -5.18 0.5 0.5 0 0 0 -0.5 -0.5 5.82 5.82 0 0 0 -3.92 1.51 0.23 0.23 0 0 1 -0.26 0 0.24 0.24 0 0 1 -0.15 -0.23V7.86a1 1 0 0 1 0.13 -0.54 5.79 5.79 0 0 0 -0.8 -7.17 0.5 0.5 0 0 0 -0.71 0 5.79 5.79 0 0 0 -0.8 7.17 1 1 0 0 1 0.18 0.53Z",fill:"currentcolor"}),(0,s.jsx)("path",{d:"M12.87 16.78v-2.41A5.85 5.85 0 0 0 7 8.53a0.51 0.51 0 0 0 -0.5 0.5 5.84 5.84 0 0 0 3.7 5.43 1 1 0 0 1 0.64 0.93v2.33a0.26 0.26 0 0 1 -0.16 0.23 0.25 0.25 0 0 1 -0.27 -0.05 7.66 7.66 0 0 0 -5.51 -2.33 0.75 0.75 0 0 0 -0.75 0.75 7.69 7.69 0 0 0 5.59 7.39 0.48 0.48 0 0 0 0.42 -0.08 0.47 0.47 0 0 0 0.19 -0.38 8.67 8.67 0 0 1 2.23 -5.8 1 1 0 0 0 0.29 -0.67Z",fill:"currentcolor"}),(0,s.jsx)("path",{d:"M19.07 15.57a7.69 7.69 0 0 0 -7.69 7.68 0.75 0.75 0 0 0 0.75 0.75 7.7 7.7 0 0 0 7.69 -7.68 0.75 0.75 0 0 0 -0.75 -0.75Z",fill:"currentcolor"})]})});var U=e.i(262653),z=e.i(678506);let F=({quickPost:e,cancelIgnore:t,confirmIgnore:a})=>{if(!e.author)return null;let n=(0,g.isUserStaff)(e.author);return(0,s.jsxs)("div",{className:"_1dsa1h00",children:[(0,s.jsxs)("div",{className:"_1dsa1h01",children:["Ignore ",e.author.username,"?"]}),(0,s.jsx)("div",{className:"_1dsa1h02",children:"When you ignore a commenter, all comments they wrote on the site will be hidden from you. You can undo this later from your Account Preferences."}),(0,s.jsxs)("div",{className:"_1dsa1h03",children:[(0,s.jsx)(d.default,{uppercase:!0,displayType:"outlined",text:"Cancel",onClick:t}),!n&&(0,s.jsx)(d.default,{uppercase:!0,displayType:"primary",color:"primary",text:"Ignore",onClick:a})]})]})};var B=e.i(396902),M=e.i(67655);let O=({quickPost:e,canIgnore:t,startIgnore:a})=>{let{communityConfig:{communityOrigin:n}}=(0,B.useConfigContext)();return e.author?(0,s.jsxs)("div",{className:"xtkal30",children:[(0,s.jsx)("div",{className:"xtkal31",children:e.author.username}),(0,s.jsxs)("div",{className:"xtkal32",children:["Member since:"," ",new Date(e.author.createdAt).toLocaleString("en-US",{year:"numeric",month:"long",day:"numeric"})]}),(0,s.jsxs)("div",{className:"xtkal33",children:[e.author.profileURL&&(0,s.jsx)(d.default,{uppercase:!0,displayType:"outlined",text:"Profile",href:(0,M.getRelativeURL)(e.author.profileURL,n),target:"_blank",rel:"noopener noreferrer"}),t&&(0,s.jsx)(d.default,{uppercase:!0,displayType:"outlined",text:"Ignore",onClick:a})]})]}):null},$=({quickPost:e,Trigger:t})=>{let{viewer:a,ignoreUser:l}=(0,C.useCyclone)(),r=(0,y.useAnalytics)(),[o,i]=(0,n.useState)("main"),d=(0,n.useCallback)(()=>{i("main")},[]),c=(0,n.useCallback)(()=>{i("ignoreUser")},[]),u=(0,n.useCallback)(()=>{l(e.author.id),d(),m.current?.close(),r?.emit({event:"coral_comment",coral_comment:{action:"ignore_user"}})},[r,l,e.author,d]),m=(0,n.useRef)(null),h=a?.ignoredUsers?.some(t=>t.id===e.author?.id),p=(0,g.isUserStaff)(e.author),f=a?.id===e.author?.id,x=!!a&&!f&&!h&&!p;return e.author?(0,s.jsxs)(z.default,{actionsRef:m,align:"start",side:"bottom",sideOffset:8,variant:"coral",Trigger:t,onOpenChange:d,children:[(0,s.jsx)(U.Popover.Arrow,{className:"_1fabcip1"}),(0,s.jsxs)("div",{className:"_1fabcip0",children:["main"===o&&(0,s.jsx)(O,{quickPost:e,startIgnore:c,canIgnore:x}),"ignoreUser"===o&&(0,s.jsx)(F,{quickPost:e,cancelIgnore:d,confirmIgnore:u})]})]}):null};e.i(977082);var V=e.i(239981),H=e.i(349254),Z="_1848z1s4",K={default:"_1848z1s5",primaryText:"_1848z1s6"},W="_1848z1sa";e.s(["default",0,({quickPost:e,includeStaffBadge:t,collapsed:l,onEdit:r,showEditButton:o,colorScheme:i="default"})=>{let d=(0,n.useMemo)(()=>e.author&&Date.now()-new Date(e.author.createdAt).getTime()<0,[e.author]);return(0,s.jsxs)("div",{className:(0,a.clsx)("_1848z1s0",K[i],{_1848z1s1:l}),children:[(0,s.jsxs)("div",{className:"_1848z1s2",children:[(0,s.jsx)("div",{className:"_1848z1s7",children:e.author&&(0,s.jsxs)(s.Fragment,{children:[!l&&(0,s.jsx)($,{quickPost:e,Trigger:(0,s.jsx)("span",{className:Z,children:e.author.username})}),l&&(0,s.jsx)("span",{className:Z,children:e.author.username}),d&&(0,s.jsx)("span",{title:"New commenter, say hi",className:"_1848z1sb",children:(0,s.jsx)(P,{className:"_1848z1sc"})})]})}),(0,s.jsxs)("div",{className:"_1848z1s8",children:[t&&(0,s.jsx)("div",{className:"_1848z1sd",children:(0,s.jsx)("span",{className:"_1848z1se",children:"Staff"})}),l&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"_1848z1s9",children:(0,s.jsx)(L.default,{date:e.createdAt,formatter:T})}),e.isEdited&&(0,s.jsx)("span",{className:W,children:"(Edited)"})]}),!l&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(E,{createdAt:e.createdAt}),e.isEdited&&(0,s.jsx)("span",{className:W,children:"(Edited)"})]})]})]}),!l&&(0,s.jsxs)("div",{className:"_1848z1s3",children:[o&&(0,s.jsxs)("button",{className:"_1848z1sf",onClick:r,children:[(0,s.jsx)(H.default,{className:"_1848z1sg"}),"Edit"]}),(0,s.jsx)(V.default,{username:e.author?.username,avatarSize:"medium",avatarUrl:e.author?.avatar,fallbackColorScheme:i})]})]})}],957873);
2let Y=["","_9q63nb1","_9q63nb2","_9q63nb3","_9q63nb4","_9q63nb5","_9q63nb6","_9q63nb7","_9q63nb8"];e.s(["default",0,e=>(0,s.jsx)("div",{className:(0,a.default)(e.className,function(e=0){if(!(e in Y))throw Error(`Indent level ${e} does not exist`);return Y[e]}(e.level),{_9q63nb0:!e.noBorder&&(e.level??0)>0}),children:e.children})],489040);var J=e.i(591370);let G=({className:e})=>(0,s.jsx)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{d:"M9.709,6.837a1.5,1.5,0,0,0-2.6-1.018L1.648,11.733a1.5,1.5,0,0,0,0,2.034l5.458,5.914a1.5,1.5,0,0,0,2.6-1.018V15.75h6a7.5,7.5,0,0,1,7.5,7.5v-6a7.5,7.5,0,0,0-7.5-7.5h-6Z",fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})});e.s(["default",0,({parentId:e,parentAuthorName:l,className:r,disabled:o})=>{let i=(0,n.useCallback)(()=>{if(!e)return;let s=t(e);s?s.focus():(0,J.captureException)(Error(`Expected to find parent comment with id ${e} but could not`))},[e]);return(0,s.jsxs)("button",{className:(0,a.default)(r,"_1eoto7p0"),onClick:i,type:"button",disabled:o,children:[(0,s.jsx)(G,{className:"_1eoto7p1"}),(0,s.jsxs)("span",{children:["In reply to ",(0,s.jsx)("span",{className:"_1eoto7p2",children:l})]})]})}],751911),e.s(["default",0,({text:e,allowReveal:t,onReveal:a,...n})=>(0,s.jsxs)("div",{...n,children:[(0,s.jsx)("hr",{className:"_19a9ytz0"}),(0,s.jsxs)("div",{className:"_19a9ytz1",children:[e,t&&(0,s.jsx)(d.default,{uppercase:!0,className:"_19a9ytz2",displayType:"outlined",text:"Show Comment",onClick:a})]})]})],876348);var Q=e.i(593296);e.s(["shouldHighlightCommentAsUnread",0,function(e,t){return e&&!1===t},"useCommentSeenEnabled",0,function(){var e,t,s;let{viewer:a}=(0,C.useCyclone)(),{repliesStore:n}=(0,Q.useStore)(),{context:{location:l}}=(0,k.useContentLocationContext)();return e=a?.token,t=l===k.ContentLocation.ArticleBody,s=n.loadedWithToken,!!e&&t&&null!==s}],500045)}]); 3 4//# debugId=d1ba0587-50b0-d6f1-9686-6eba3136fb65 5//# sourceMappingURL=0gbvhcny77wfe.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.