1import{r as a,G as g,j as e,U as j,L as y,X as p,H as i,I as f,J as S,K as b,N as w,l as k,O as u,m as v}from"./main-BZn_dPrE.js";import{A as N,M as I,E as A,P as E,a as C}from"./PaidAdSuppressor-DMx8kDUH.js";import{A as l}from"./AdUnit-Cf8dvUHG.js";const D="hm_token",m="hntr.communityStrip.dismissed.v1";function H(){const[t,s]=a.useState(!1),r=g();if(a.useEffect(()=>{if(!(typeof window>"u"))try{if(localStorage.getItem(m)==="1"||!localStorage.getItem(D))return;s(!0)}catch{}},[]),!t||r.pathname.includes("/community"))return null;const n=()=>{try{localStorage.setItem(m,"1")}catch{}s(!1)};return e.jsx("div",{className:"mx-auto max-w-3xl px-3 pt-2",children:e.jsxs("div",{className:"flex items-center gap-2 rounded-md border border-border bg-muted/40 px-3 py-2 text-[12px]",children:[e.jsx(j,{className:"h-3.5 w-3.5 shrink-0 text-muted-foreground","aria-hidden":!0}),e.jsx("span",{className:"min-w-0 flex-1 truncate text-foreground/90",children:"Help verify signals â one click per alert."}),e.jsx(y,{to:"/community",className:"shrink-0 rounded border border-primary/40 bg-primary px-2 py-1 text-[11px] font-semibold text-primary-foreground hover:bg-primary/90",children:"Open"}),e.jsx("button",{type:"button",onClick:n,className:"shrink-0 rounded p-1 text-muted-foreground hover:text-foreground","aria-label":"Dismiss",children:e.jsx(p,{className:"h-3.5 w-3.5"})})]})})}function L(){const{isPaid:t}=i();return t?null:e.jsx("div",{className:"mx-auto my-3 max-w-5xl px-3",children:e.jsx(l,{placement:"banner",format:"auto",minHeight:90,wrapperClassName:"rounded-lg border border-border/50 bg-card/30 p-2"})})}function O(){const{isPaid:t}=i();return t?null:e.jsx(l,{placement:"sidebar",format:"auto",minHeight:600,style:{display:"block",width:300,height:600},fullWidthResponsive:!1,wrapperClassName:"rounded-lg border border-border/50 bg-card/30 p-2"})}const x="ad-sticky-dismissed";function P(){const t=f(),s=S({select:o=>o.location.pathname}),{isPaid:r}=i(),[n,d]=a.useState(!1),[h,c]=a.useState(!1);return a.useEffect(()=>{if(typeof window>"u")return;d(sessionStorage.getItem(x)==="1"),c(!!localStorage.getItem("rr.onboarded.v1"));const o=window.setInterval(()=>{localStorage.getItem("rr.onboarded.v1")&&c(!0)},1500);return()=>window.clearInterval(o)},[]),s==="/"||s.startsWith("/x9k2-console")||r||!b(t,"sticky")||n||!h?null:e.jsx("div",{"data-hntr-sticky-ad":"",className:"fixed inset-x-0 bottom-0 z-40 border-t border-border bg-card/95 backdrop-blur-md md:hidden",style:{paddingBottom:"env(safe-area-inset-bottom)"},role:"complementary","aria-label":"Advertisement",children:e.jsxs("div",{className:"relative flex items-center justify-center px-3 py-2",children:[e.jsx("button",{type:"button",onClick:()=>{sessionStorage.setItem(x,"1"),d(!0)},"aria-label":"Dismiss advertisement",className:"absolute right-1 top-1 rounded-full bg-background/80 p-1 text-muted-foreground hover:text-foreground",children:e.jsx(p,{className:"h-3 w-3"})}),e.jsx(l,{placement:"sticky",format:"auto",minHeight:60,label:!1,wrapperClassName:"w-full",style:{display:"block",height:60}})]})})}function _(){const{liveCount:t}=w.useLoaderData(),s=f(),r=b(s,"sidebar");return e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(N,{}),e.jsx(I,{}),e.jsx(A,{}),e.jsx(E,{}),e.jsx(k,{liveCount:t,showOutbreakStrip:!1,showOutbreakPill:!1}),e.jsx(C,{variant:"sticky"}),e.jsx(H,{}),e.jsx(L,{}),e.jsx("main",{children:r?e.jsxs("div",{className:"mx-auto flex max-w-6xl gap-6 px-3 lg:px-4",children:[e.jsx("div",{className:"min-w-0 flex-1",children:e.jsx(u,{})}),e.jsx("aside",{className:"sticky top-20 hidden h-fit w-[300px] shrink-0 self-start lg:block",children:e.jsx(O,{})})]}):e.jsx(u,{})}),e.jsx(v,{}),e.jsx(P,{})]})}export{_ as component};
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.