1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{n as t,t as n}from"./jsx-runtime-D3F0h15I.js";import{c as r,s as i}from"./react-intl-CZJDGRhA.js";import{l as a}from"./initial_state-IJJyCPA3.js";import{W as o}from"./poll-rj_1n99k.js";import{xt as s}from"./render-DyBowztl.js";import{s as c}from"./react-router-D0L-bsDO.js";import{o as l}from"./typed_functions-D7HVi0V_.js";import{t as u}from"./confirmation_modal-CBRtU41r.js";import{n as d}from"./useAccountId-CsGAc3EP.js";var f=e(t()),p=n(),m=i({title:{id:`confirmations.hide_featured_tab.title`,defaultMessage:`Hide "Featured" tab?`},intro:{id:`confirmations.hide_featured_tab.intro`,defaultMessage:`You can change this at any time under <i>Edit profile > Profile tab settings</i>.`},message:{id:`confirmations.hide_featured_tab.message`,defaultMessage:`This will hide the tab for users on {serverName} and other servers running the latest version of Mastodon. Other displays may vary.`},confirm:{id:`confirmations.hide_featured_tab.confirm`,defaultMessage:`Hide tab`}}),h=({onClose:e})=>{let t=r(),n=l(),i=c(),h=d(),{acct:g}=o(h)??{},_=(0,f.useCallback)(()=>{n(s({show_featured:!1})),i.push(`/@${g}`)},[g,n,i]);return(0,p.jsx)(u,{title:t.formatMessage(m.title),extraContent:(0,p.jsxs)(`div`,{className:`prose`,children:[(0,p.jsx)(`p`,{children:t.formatMessage(m.intro,{i:e=>(0,p.jsx)(`i`,{children:e})})}),(0,p.jsx)(`p`,{children:t.formatMessage(m.message,{serverName:a})})]}),confirm:t.formatMessage(m.confirm),onConfirm:_,onClose:e})};export{h as ConfirmHideFeaturedTabModal}; 2//# sourceMappingURL=hide_featured_tab-4wVSrm0B.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.