1import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{i as t,r as n}from"./framework-BQUlGUOV.js";import{t as r}from"./link-DGTTmHR1.js";var i=e(n(),1),a=t();function o({ctaHref:e=`/signup`,ctaLabel:t=`Get Started Free`}={}){let[n,o]=(0,i.useState)(!1);return(0,a.jsxs)(`div`,{className:`md:hidden`,children:[(0,a.jsx)(`button`,{onClick:()=>o(!n),className:`p-2 text-zinc-400 hover:text-zinc-200 transition-colors`,"aria-label":n?`Close menu`:`Open menu`,"aria-expanded":n,children:n?(0,a.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,children:(0,a.jsx)(`path`,{d:`M18 6L6 18M6 6l12 12`})}):(0,a.jsx)(`svg`,{width:`20`,height:`20`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,children:(0,a.jsx)(`path`,{d:`M4 6h16M4 12h16M4 18h16`})})}),n&&(0,a.jsxs)(`div`,{className:`absolute left-0 right-0 top-full border-b border-zinc-800 bg-zinc-950 px-6 py-4 space-y-1 fade-enter`,children:[(0,a.jsx)(r,{href:`/updates`,onClick:()=>o(!1),className:`block py-2.5 text-sm text-zinc-400 hover:text-zinc-200 transition-colors`,children:`Updates`}),(0,a.jsx)(r,{href:`/resources/calculators`,onClick:()=>o(!1),className:`block py-2.5 text-sm text-zinc-400 hover:text-zinc-200 transition-colors`,children:`Calculators`}),(0,a.jsx)(r,{href:`/guides`,onClick:()=>o(!1),className:`block py-2.5 text-sm text-zinc-400 hover:text-zinc-200 transition-colors`,children:`Guides`}),(0,a.jsxs)(`div`,{className:`pt-2 border-t border-zinc-800/60 mt-2 flex gap-3`,children:[(0,a.jsx)(r,{href:`/login`,onClick:()=>o(!1),className:`flex-1 text-center py-2 text-sm text-zinc-400 hover:text-zinc-200 rounded-lg border border-zinc-800 transition-colors`,children:`Sign In`}),(0,a.jsx)(r,{href:e,onClick:()=>o(!1),className:`flex-1 text-center py-2 text-sm font-medium text-zinc-950 bg-cream hover:bg-cream/90 rounded-lg transition-colors`,children:t})]})]})]})}export{o as MobileMenu};
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.