1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9002],{45:(e,t,n)=>{"use strict";n.d(t,{default:()=>l});var a=n(2115),r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},s=n(4250);let i=(0,a.createContext)({}),l=(0,a.forwardRef)((e,t)=>{var n,l,o;let{color:c,size:d,strokeWidth:m,absoluteStrokeWidth:h,className:u="",children:p,iconNode:g,...x}=e,{size:f=24,strokeWidth:b=2,absoluteStrokeWidth:y=!1,color:v="currentColor",className:w=""}=null!=(n=(0,a.useContext)(i))?n:{},j=(null!=h?h:y)?24*Number(null!=m?m:b)/Number(null!=d?d:f):null!=m?m:b;return(0,a.createElement)("svg",{ref:t,...r,width:null!=(l=null!=d?d:f)?l:r.width,height:null!=(o=null!=d?d:f)?o:r.height,stroke:null!=c?c:v,strokeWidth:j,className:(0,s.z)("lucide",w,u),...!p&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(x)&&{"aria-hidden":"true"},...x},[...g.map(e=>{let[t,n]=e;return(0,a.createElement)(t,n)}),...Array.isArray(p)?p:[p]])})},108:(e,t,n)=>{"use strict";n.d(t,{RelationshipToolFrame:()=>s});var a=n(5155),r=n(2115);function s(e){let{html:t,title:n}=e,s=(0,r.useRef)(null),[i,l]=(0,r.useState)(620);return(0,r.useEffect)(()=>{let e=e=>{var t,n;if(e.source!==(null==(t=s.current)?void 0:t.contentWindow)||(null==(n=e.data)?void 0:n.type)!=="relationship-tool-height")return;let a=e.data.height;"number"==typeof a&&Number.isFinite(a)&&l(Math.max(320,Math.min(6e3,Math.ceil(a))))};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[]),(0,a.jsx)("iframe",{ref:s,title:n,srcDoc:t,sandbox:"allow-scripts",referrerPolicy:"no-referrer",loading:"lazy",width:"100%",height:i,onLoad:()=>{var e,t;return null==(t=s.current)||null==(e=t.contentWindow)?void 0:e.postMessage({type:"relationship-tool-measure"},"*")},className:"block w-full border-0","data-relationship-tool-frame":!0})}},544:(e,t,n)=>{"use strict";n.d(t,{ScreeningDecisionTool:()=>f});var a=n(5155),r=n(2115),s=n(2619),i=n.n(s),l=n(8867),o=n(3185);let c=(0,o.A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),d=(0,o.A)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),m={alcohol:{title:"Compare AUDIT, CAGE, and MAST",explanation:"Alcohol questionnaires measure different timeframes and types of risk. AUDIT is usually the broadest starting point for recent hazardous or harmful drinking patterns.",href:"/addiction/screening/alcohol-test/",anchor:"Compare alcohol screening tests"},drugs:{title:"Use a drug-focused screen",explanation:"DAST-10 asks about drug-related problems over the past 12 months. It excludes alcohol and does not measure whether a substance is present today.",href:"/addiction/screening/dast/",anchor:"Review the DAST-10"},multiple:{title:"Use a multi-substance screen",explanation:"ASSIST separates risk across alcohol, tobacco, cannabis, stimulants, opioids, and other substance categories instead of collapsing them into one score.",href:"/addiction/screening/assist/",anchor:"Review the ASSIST"},youth:{title:"Use an age-appropriate youth screen",explanation:"CRAFFT is designed for adolescents and young adults and includes riding, driving, and social-risk questions that adult tools do not cover.",href:"/addiction/screening/crafft-screening-test/",anchor:"Review the CRAFFT screen"},exposure:{title:"Choose a biological test by specimen and timing",explanation:"Breath testing estimates current alcohol concentration; oral-fluid testing detects selected drugs or metabolites. Neither result diagnoses addiction.",href:"/addiction/screening/saliva-oral-fluid-drug-test/",anchor:"Compare oral-fluid testing"},mental:{title:"Use a condition-specific mental-health screen",explanation:"Depression, anxiety, bipolar, trauma, and suicide-risk screens measure psychiatric symptom patterns. A positive result still requires clinical evaluation.",href:"/mental-health-conditions/screening-tests/",anchor:"Compare mental-health screening tests"},assessment:{title:"Move from screening to assessment",explanation:"A full assessment examines symptoms, safety, medical and psychiatric history, functioning, environment, and treatment needs. It is broader than any questionnaire score.",href:"/addiction/screening/free-drug-and-alcohol-addiction-assessment/",anchor:"Review the assessment process"}},h={prevention:{title:"Prevention feedback may be the next step",explanation:"A lower-risk result can lead to clear feedback, protective choices, and repeat screening when circumstances change. It does not require an automatic treatment referral."},brief:{title:"Brief intervention fits an emerging concern",explanation:"A trained professional can discuss the result, connect substance use with the person's goals, and agree on a practical change or follow-up plan."},assessment:{title:"A fuller clinical assessment is appropriate",explanation:"Persistent harm, loss of control, withdrawal, overdose exposure, or substantial impairment calls for diagnostic and level-of-care assessment rather than another score alone.",href:"/addiction/screening/free-drug-and-alcohol-addiction-assessment/",anchor:"See what an assessment covers"},mental:{title:"Add mental-health screening and evaluation",explanation:"Mood, anxiety, trauma, psychosis, or suicide-risk symptoms require their own screening and clinical evaluation alongside the substance-use response.",href:"/mental-health-conditions/screening-tests/",anchor:"Compare mental-health screening tools"},urgent:{title:"Address immediate safety before screening",explanation:"Possible overdose, severe withdrawal, dangerous intoxication, suicidal intent, or another medical emergency needs immediate emergency evaluation. Call 911 in the United States."}};function u(e){let{recommendation:t,onReset:n}=e,s=(0,r.useRef)(null);return(0,r.useEffect)(()=>{var e;return null==(e=s.current)?void 0:e.focus()}
1,[]),(0,a.jsx)("div",{ref:s,tabIndex:-1,className:"mt-6 rounded-lg border border-accent-200 bg-accent-50 p-5 outline-none focus-visible:ring-2 focus-visible:ring-accent-600","aria-live":"polite",children:(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)(l.A,{className:"mt-0.5 h-5 w-5 flex-none text-accent-700","aria-hidden":"true"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-[family-name:var(--font-family-heading)] text-xl font-bold text-primary-950",children:t.title}),(0,a.jsx)("p",{className:"mt-2 text-sm leading-6 text-neutral-700",children:t.explanation}),(0,a.jsxs)("div",{className:"mt-4 flex flex-wrap items-center gap-4",children:[t.href&&t.anchor&&(0,a.jsxs)(i(),{href:t.href,className:"inline-flex items-center gap-2 font-semibold text-accent-800 hover:text-accent-900",children:[t.anchor,(0,a.jsx)(c,{className:"h-4 w-4","aria-hidden":"true"})]}),(0,a.jsxs)("button",{type:"button",onClick:n,className:"inline-flex min-h-11 items-center gap-2 text-sm font-semibold text-neutral-600 hover:text-primary-950",children:[(0,a.jsx)(d,{className:"h-4 w-4","aria-hidden":"true"}),"Start over"]})]})]})]})})}function p(e){let{id:t}=e,[n,s]=(0,r.useState)(""),[i,l]=(0,r.useState)(""),o="screening-tool-finder"===t;return(0,a.jsxs)("form",{onSubmit:function(e){e.preventDefault(),n&&l(n)},children:[(0,a.jsxs)("fieldset",{children:[(0,a.jsx)("legend",{className:"font-[family-name:var(--font-family-heading)] text-2xl font-bold text-primary-950",children:o?"Which screening path fits the question?":"What can follow an SBIRT screen?"}),(0,a.jsx)("p",{className:"mt-3 max-w-2xl text-sm leading-6 text-neutral-700",children:o?"Choose the question you need answered. The comparison is of purpose only; it does not administer a test or produce a diagnosis.":"Choose the finding that best describes the situation. This educational pathway does not replace clinical judgment or emergency care."}),(0,a.jsx)("div",{className:"mt-5 grid gap-3 sm:grid-cols-2",children:(o?[["alcohol","Alcohol-use pattern"],["drugs","Drug-related problems"],["multiple","Several substances"],["youth","Adolescent or young adult"],["exposure","Recent substance exposure"],["mental","Mental-health symptoms"],["assessment","Diagnosis or treatment needs"]]:[["prevention","Lower-risk result"],["brief","Emerging or moderate concern"],["assessment","Persistent harm or loss of control"],["mental","Mental-health symptoms are present"],["urgent","Immediate safety concern"]]).map(e=>{let[r,i]=e;return(0,a.jsxs)("label",{className:"flex min-h-12 cursor-pointer items-center gap-3 rounded-md border px-4 py-3 text-sm font-semibold transition-colors ".concat(n===r?"border-accent-700 bg-accent-50 text-primary-950":"border-neutral-200 bg-neutral-50 text-neutral-700 hover:border-accent-400 hover:bg-white"),children:[(0,a.jsx)("input",{type:"radio",name:t,value:r,checked:n===r,onChange:e=>{s(e.target.value),l("")},className:"h-4 w-4 accent-accent-700"}),i]},r)})})]}),(0,a.jsx)("button",{type:"submit",disabled:!n,className:"mt-5 min-h-11 rounded-md bg-primary-950 px-5 py-3 text-sm font-semibold text-white disabled:cursor-not-allowed disabled:opacity-40",children:"Show the appropriate path"}),i&&(0,a.jsx)(u,{recommendation:(o?m:h)[i],onReset:()=>{s(""),l("")}})]})}function g(){let[e,t]=(0,r.useState)(""),[n,s]=(0,r.useState)(""),[i,l]=(0,r.useState)(null);return(0,a.jsxs)("form",{onSubmit:function(t){t.preventDefault();let a=Number(n);e&&Number.isFinite(a)&&!(a<0)&&l(a>=1?{title:"This response warrants follow-up",explanation:"Reporting ".concat(a," day").concat(1===a?"":"s"," at the ").concat(e,"-drink threshold is a positive NIAAA single-question screen. It does not diagnose alcohol use disorder; a clinician asks about drinking pattern, symptoms, safety, and medical context next."),href:"/addiction/screening/free-drug-and-alcohol-addiction-assessment/",anchor:"See what follow-up assessment covers"}:{title:"No heavy-drinking day was reported",explanation:"This response is negative on the single-question screen. It does not rule out medication interactions, pregnancy-related risk, lower-level alcohol harm, or a concern that deserves clinical discussion."})},children:[(0,a.jsxs)("fieldset",{children:[(0,a.jsx)("legend",{className:"font-[family-name:var
1(--font-family-heading)] text-2xl font-bold text-primary-950",children:"NIAAA single-question adult alcohol screen"}),(0,a.jsx)("p",{className:"mt-3 text-sm leading-6 text-neutral-700",children:"Select the NIAAA threshold a clinician would use, then enter how many times it occurred in the past year. This is a screening result, not a diagnosis."}),(0,a.jsx)("div",{className:"mt-5 grid gap-3 sm:grid-cols-2",children:[["4","4 or more drinks in a day (threshold for women)"],["5","5 or more drinks in a day (threshold for men)"]].map(n=>{let[r,s]=n;return(0,a.jsxs)("label",{className:"flex min-h-12 cursor-pointer items-center gap-3 rounded-md border px-4 py-3 text-sm font-semibold ".concat(e===r?"border-accent-700 bg-accent-50":"border-neutral-200 bg-neutral-50"),children:[(0,a.jsx)("input",{type:"radio",name:"alcohol-threshold",value:r,checked:e===r,onChange:e=>{t(e.target.value),l(null)},className:"h-4 w-4 accent-accent-700"}),s]},r)})})]}),(0,a.jsx)("label",{htmlFor:"niaaa-heavy-drinking-days",className:"mt-5 block text-sm font-semibold text-primary-950",children:"How many times in the past year?"}),(0,a.jsx)("input",{id:"niaaa-heavy-drinking-days",type:"number",min:"0",inputMode:"numeric",value:n,onChange:e=>{s(e.target.value),l(null)},className:"mt-2 min-h-11 w-full max-w-40 rounded-md border border-neutral-300 px-3 py-2"}),(0,a.jsx)("button",{type:"submit",disabled:!e||""===n,className:"mt-5 min-h-11 rounded-md bg-primary-950 px-5 py-3 text-sm font-semibold text-white disabled:cursor-not-allowed disabled:opacity-40",children:"View screening result"}),i&&(0,a.jsx)(u,{recommendation:i,onReset:()=>{t(""),s(""),l(null)}})]})}function x(){let e=["Substances, amounts, routes, and last use","Current medications and medical conditions","Withdrawal, overdose, or other immediate safety concerns","Mood, anxiety, trauma, sleep, or psychosis symptoms","Work, school, family, legal, and daily-function effects","Insurance, transportation, scheduling, and treatment preferences"],[t,n]=(0,r.useState)([]);return(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-[family-name:var(--font-family-heading)] text-2xl font-bold text-primary-950",children:"Prepare for a substance-use assessment"}),(0,a.jsx)("p",{className:"mt-3 text-sm leading-6 text-neutral-700",children:"Check the information you can bring to the conversation. You do not need every item before asking for help, and nothing is submitted or stored."}),(0,a.jsxs)("fieldset",{className:"mt-5 grid gap-3",children:[(0,a.jsx)("legend",{className:"sr-only",children:"Assessment preparation checklist"}),e.map(e=>(0,a.jsxs)("label",{className:"flex min-h-12 cursor-pointer items-start gap-3 rounded-md border border-neutral-200 bg-neutral-50 px-4 py-3 text-sm leading-6 text-neutral-700",children:[(0,a.jsx)("input",{type:"checkbox",checked:t.includes(e),onChange:()=>n(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]),className:"mt-1 h-4 w-4 accent-accent-700"}),e]},e))]}),(0,a.jsxs)("p",{className:"mt-4 text-sm font-semibold text-accent-800","aria-live":"polite",children:[t.length," of ",e.length," topics ready"]})]})}function f(e){let{id:t}=e;return(0,a.jsxs)("section",{className:"my-10 rounded-lg border border-primary-100 bg-white p-6 shadow-sm md:p-8","data-screening-interactive":t,children:[(0,a.jsx)("p",{className:"mb-2 text-xs font-semibold uppercase text-accent-700",children:"Interactive guide"}),"screening-tool-finder"===t||"sbirt-next-step"===t?(0,a.jsx)(p,{id:t}):"niaaa-single-alcohol-screen"===t?(0,a.jsx)(g,{}):(0,a.jsx)(x,{})]})}},3185:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var a=n(2115),r=n(4250);let s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var i=n(45);let l=(e,t)=>{let n=(0,a.forwardRef)((n,l)=>{let{className:o,...c}=n;return(0,a.createElement)(i.default,{ref:l,iconNode:t,className:(0,r.z)("lucide-".concat(s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),o),...c})});return n.displayName=s(e),n}},4250:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});let a=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];
1return t.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim()}},4358:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a=(0,n(3185).A)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]])},4504:(e,t,n)=>{"use strict";n.d(t,{AddictionPagesGrid:()=>l});var a=n(5155),r=n(2115),s=n(2619),i=n.n(s);function l(e){let{pages:t}=e,[n,s]=(0,r.useState)(!1);return(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3",children:t.map((e,t)=>(0,a.jsxs)(i(),{href:"/addiction/".concat(e.slugPath,"/"),className:"group ".concat(!n&&t>=24?"hidden":"flex"," items-center justify-between rounded-xl border border-neutral-200 bg-white p-4 hover:border-accent-400 hover:shadow-sm transition-all"),children:[(0,a.jsx)("p",{className:"font-[family-name:var(--font-family-heading)] font-semibold text-primary-900 text-sm leading-snug group-hover:text-accent-600 transition-colors",children:e.title}),(0,a.jsx)("span",{className:"flex-shrink-0 ml-3 text-accent-400 group-hover:text-accent-600 transition-colors",children:"â"})]},e.slugPath))}),!n&&t.length>24&&(0,a.jsxs)("div",{className:"mt-8 text-center",children:[(0,a.jsxs)("button",{onClick:()=>s(!0),className:"inline-flex items-center gap-2 px-8 py-3.5 rounded-lg border-2 border-accent-500 text-accent-600 font-semibold hover:bg-accent-50 transition-colors",children:["Show All ",t.length," Topics",(0,a.jsx)("span",{className:"text-lg leading-none",children:"â"})]}),(0,a.jsxs)("p",{className:"mt-2 text-sm text-neutral-600",children:["Showing ",24," of ",t.length," topics"]})]}),n&&(0,a.jsx)("div",{className:"mt-8 text-center",children:(0,a.jsx)("button",{onClick:()=>s(!1),className:"text-sm text-neutral-600 hover:text-neutral-800 underline underline-offset-2",children:"Show less"})})]})}},4923:(e,t,n)=>{"use strict";n.d(t,{EditorialArticleToc:()=>l});var a=n(5155),r=n(2115),s=n(4358);let i=(0,n(3185).A)("arrow-up",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);function l(e){var t,n;let{links:l}=e,[o,c]=(0,r.useState)(null!=(n=null==(t=l[0])?void 0:t.id)?n:"");if((0,r.useEffect)(()=>{let e=l.map(e=>{let{id:t}=e;return document.getElementById(t)}).filter(Boolean),t=new IntersectionObserver(e=>{let t=e.filter(e=>e.isIntersecting).sort((e,t)=>e.boundingClientRect.top-t.boundingClientRect.top);t[0]&&c(t[0].target.id)},{rootMargin:"-18% 0% -68% 0%",threshold:0});return e.forEach(e=>t.observe(e)),()=>t.disconnect()},[l]),l.length<3)return null;let d=(0,a.jsx)("ol",{className:"space-y-1.5",children:l.map((e,t)=>{let{id:n,label:r}=e;return(0,a.jsx)("li",{children:(0,a.jsxs)("a",{href:"#".concat(n),onClick:e=>((e,t)=>{let n=document.getElementById(t);n&&(e.preventDefault(),n.scrollIntoView({behavior:"smooth",block:"start"}),window.history.replaceState(null,"","#".concat(t)),c(t))})(e,n),"aria-current":o===n?"location":void 0,className:"grid grid-cols-[1.25rem_1fr] gap-2 border-l-2 py-1.5 pl-3 text-[13px] leading-snug transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-500 ".concat(o===n?"border-accent-500 font-semibold text-primary-950":"border-neutral-200 text-neutral-600 hover:border-primary-300 hover:text-primary-900"),children:[(0,a.jsx)("span",{className:"font-[family-name:var(--font-family-mono)] text-[10px] text-neutral-600",children:String(t+1).padStart(2,"0")}),(0,a.jsx)("span",{children:r})]})},n)})});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("nav",{"aria-label":"In this guide",className:"lg:hidden",children:(0,a.jsxs)("details",{className:"group mb-8 rounded-lg border border-neutral-200 bg-white",children:[(0,a.jsxs)("summary",{className:"flex min-h-12 cursor-pointer items-center gap-3 px-4 py-3 font-semibold text-primary-950",children:[(0,a.jsx)(s.A,{className:"h-4 w-4 text-accent-600","aria-hidden":"true"}),"In this guide"]}),(0,a.jsx)("div",{className:"max-h-80 overflow-y-auto border-t border-neutral-100 px-4 py-4",children:d})]})}),(0,a.jsxs)("nav",{"aria-label":"In this guide",className:"hidden lg:block",children:[(0,a.jsxs)("div",{className:"mb-4 flex items-center gap-2 border-b border-neutral-200 pb-3",children:[(0,a.jsx)(s.A,{className:"h-4 w-4 text-accent-600","aria-hidden":"true"}),(0,a.jsx)("p",{className:"text-sm font-bold text-primary-950",children:"In this guide"})]}),d,(0,a.jsxs)("a",{href:"#article-top",className:"mt-5 inline-flex items-center gap-2 text-xs font-semibold text-accent-700 hover:text-accent-800 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-500",children:[(0,a.jsx)(i,{className:"h-3.5 w-3.5","aria-hidden":"true"}),"Back to top"]}
1)]})]})}},5591:(e,t,n)=>{Promise.resolve().then(n.bind(n,45)),Promise.resolve().then(n.t.bind(n,2619,23)),Promise.resolve().then(n.bind(n,4504)),Promise.resolve().then(n.bind(n,4923)),Promise.resolve().then(n.bind(n,108)),Promise.resolve().then(n.bind(n,544)),Promise.resolve().then(n.bind(n,9361))},8867:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});let a=(0,n(3185).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},9361:(e,t,n)=>{"use strict";n.d(t,{SectionJumpLinks:()=>i});var a=n(5155),r=n(4358),s=n(2115);function i(e){let{links:t,variant:n="select"}=e,[i,l]=(0,s.useState)("");(0,s.useEffect)(()=>{let e=t.map(e=>{let{id:t}=e;return document.getElementById(t)}).filter(Boolean),n=new IntersectionObserver(e=>{let t=e.filter(e=>e.isIntersecting).sort((e,t)=>e.boundingClientRect.top-t.boundingClientRect.top);t.length>0&&l(t[0].target.id)},{rootMargin:"-20% 0% -60% 0%",threshold:0});return e.forEach(e=>n.observe(e)),()=>n.disconnect()},[t]);let o=e=>{let t=document.getElementById(e);if(!t)return;let n=t.getBoundingClientRect().top+window.scrollY-80;window.scrollTo({top:n,behavior:"smooth"}),window.history.replaceState(null,"","#".concat(e)),l(e)};return"section-grid"===n?(0,a.jsx)("nav",{"aria-label":"Page sections",className:"border-b border-neutral-200 bg-white lg:sticky lg:top-[69px] lg:z-30 lg:bg-white/95 lg:backdrop-blur-sm",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:flex lg:items-center lg:gap-5 lg:px-8",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 border-b border-neutral-100 py-3 lg:border-b-0 lg:py-0",children:[(0,a.jsx)(r.A,{"aria-hidden":"true",className:"h-4 w-4 text-accent-600",strokeWidth:2}),(0,a.jsx)("span",{className:"whitespace-nowrap font-[family-name:var(--font-family-mono)] text-[11px] font-semibold uppercase tracking-[0.16em] text-primary-900",children:"On this page"})]}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-x-2 gap-y-1 py-3 lg:flex lg:flex-1 lg:justify-end lg:gap-1 lg:py-2",children:t.map(e=>{let{label:t,id:n}=e,r=i===n;return(0,a.jsx)("a",{href:"#".concat(n),onClick:e=>{e.preventDefault(),o(n)},"aria-current":r?"location":void 0,className:"flex min-h-11 items-center border-l-2 px-3 py-2 text-[13px] font-semibold leading-snug transition-colors lg:min-h-10 lg:border-b-2 lg:border-l-0 lg:px-3 ".concat(r?"border-accent-500 bg-accent-50 text-primary-900 lg:bg-transparent":"border-neutral-200 text-neutral-600 hover:border-accent-400 hover:bg-neutral-50 hover:text-primary-900 lg:border-transparent"),children:t},n)})})]})}):(0,a.jsx)("nav",{"aria-label":"Page sections",className:"sticky top-0 z-30 border-b border-neutral-200 bg-white/95 backdrop-blur-sm",children:(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-4 py-2 sm:px-6 lg:px-8",children:[(0,a.jsx)("label",{htmlFor:"page-section-select",className:"sr-only",children:"Jump to a section"}),(0,a.jsxs)("select",{id:"page-section-select",value:i,onChange:e=>{o(e.target.value)},className:"min-h-11 w-full max-w-2xl rounded-md border border-neutral-300 bg-white px-3 py-2 text-sm font-medium text-primary-900","aria-label":"Jump to a section",children:[(0,a.jsx)("option",{value:"",disabled:!0,children:"On this page"}),t.map(e=>{let{label:t,id:n}=e;return(0,a.jsx)("option",{value:n,children:t},n)})]})]})})}}},e=>{e.O(0,[2619,8441,1255,7358],()=>e(e.s=5591)),_N_E=e.O()}]);
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.