1import{r as x,j as e,L as n,c as N,w as u}from"./index-BiXu8FMX.js";import{c as y,i as h,B as g,L as o,I as d}from"./index-D3Dvtaho.js";import{X as k,q as w,f as S,e as C,c as F,u as P,D as T,r as H,M,a as I,b as L,d as O,k as D,S as B,g as E,h as q,i as A,j as c,p as G}from"./select-6oGEAdA8.js";const z=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],R=y("car",z),V="/assets/pitch-logo-BSJl-74u.png",v=[{to:"/",label:"Home"},{to:"/gallery",label:"The Ivy Gallery"},{to:"/spaces",label:"The PITCH Ecosystem"}];function Y(){const[l,r]=x.useState(!1);return e.jsxs("header",{className:"sticky top-0 z-50 backdrop-blur-md bg-background/85 border-b border-border/70",children:[e.jsxs("div",{className:"mx-auto max-w-6xl px-4 sm:px-6 lg:px-10 h-16 lg:h-20 flex items-center justify-between gap-4",children:[e.jsxs(n,{to:"/",className:"text-navy flex items-center gap-2 sm:gap-3 shrink-0","aria-label":"The Pitch â Home",onClick:()=>r(!1),children:[e.jsx("img",{src:V,alt:"",className:"h-8 w-8 lg:h-10 lg:w-10 object-contain"}),e.jsx(h,{size:"text-xl lg:text-2xl"})]}),e.jsx("nav",{className:"hidden lg:flex items-center gap-7 xl:gap-9",children:v.map(s=>e.jsx(n,{to:s.to,className:"text-[11px] uppercase tracking-[0.2em] font-medium text-[color:var(--navy-mid)] hover:text-navy transition-colors whitespace-nowrap",activeProps:{className:"text-navy"},activeOptions:{exact:s.to==="/"},children:s.label},s.to))}),e.jsx("div",{className:"hidden lg:block shrink-0",children:e.jsx(n,{to:"/book",className:"btn-carol
1ina inline-flex items-center px-5 py-2.5 text-[11px] font-semibold tracking-[0.2em] uppercase rounded-full whitespace-nowrap",children:"START BOOKING"})}),e.jsx("button",{className:"lg:hidden p-2 -mr-2 text-navy",onClick:()=>r(!l),"aria-label":"Menu","aria-expanded":l,children:l?e.jsx(k,{className:"w-6 h-6"}):e.jsx(w,{className:"w-6 h-6"})})]}),l&&e.jsx("div",{className:"lg:hidden border-t border-border bg-background",children:e.jsxs("div",{className:"px-4 sm:px-6 py-4 flex flex-col gap-1",children:[v.map(s=>e.jsx(n,{to:s.to,onClick:()=>r(!1),className:"text-sm font-medium text-foreground py-3 px-2 rounded-md hover:bg-muted/50 transition-colors",activeProps:{className:"text-carolina-deep"},activeOptions:{exact:s.to==="/"},children:s.label},s.to)),e.jsx(n,{to:"/book",onClick:()=>r(!1),className:"mt-3 inline-flex justify-center btn-carolina rounded-full px-5 py-3 text-sm font-semibold",children:"START BOOKING"})]})})]})}function W(){return e.jsx("section",{id:"visit","aria-label":"Visit The Pitch",className:"border-t border-border bg-gradient-hero",children:e.jsxs("div",{className:"mx-auto max-w-6xl px-6 lg:px-10 py-20",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-10",children:[e.jsx("span",{className:"w-12 h-px bg-carolina"}),e.jsx("span",{className:"text-[10px] uppercase tracking-[0.3em] font-bold text-carolina-deep",children:"Visit"})]}),e.jsxs("div",{className:"grid md:grid-cols-3 gap-6",children:[e.jsxs(m,{icon:e.jsx(S,{className:"w-5 h-5"}),title:"Location",children:[e.jsxs("p",{className:"text-[color:var(--navy-mid)] font-light leading-relaxed",children:["462 W Franklin Street",e.jsx("br",{}),"Chapel Hill, NC 27516"]}),e.jsx("a",{href:"https://maps.google.com/?q=462+W+Franklin+Street+Chapel+Hill+NC+27516",target:"_blank",rel:"noreferrer",className:"mt-5 inline-block text-[11px] font-bold uppercase tracking-[0.2em] text-carolina-deep border-b border-carolina pb-1 hover:text-navy hover:border-navy transition-colors",children:"Get directions"})]}),e.jsx(m,{icon:e.jsx(C,{className:"w-5 h-5"}),title:"Hours",children:e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.25em] font-bold text-carolina mb-2",children:"Coffee Shop â Summer Hours"}),e.jsx("ul",{className:"space-y-1 text-sm font-light text-[color:var(--navy-mid)]",children:e.jsxs("li",{className:"flex justify-between gap-4",children:[e.jsx("span",{className:"text-navy",children:"Monday â Friday"}),e.jsx("span",{children:"8:00 AM â 12:00 PM"})]})})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.25em] font-bold text-carolina mb-2",children:"Building Open to Public"}),e.jsx("ul",{className:"space-y-1 text-sm font-light text-[color:var(--navy-mid)]",children:e.jsxs("li",{className:"flex justify-between gap-4",children:[e.jsx("span",{className:"text-navy",children:"Monday â Friday"}),e.jsx("span",{children:"9:00 AM â 6:00 PM"})]})})]})]})}),e.jsx(m,{icon:e.jsx(R,{className:"w-5 h-5"}),title:"Parking",children:e.jsxs("div",{className:"space-y-4 text-[color:var(--navy-mid)] font-light leading-relaxed",children:[e.jsx("p",{children:"Free two-hour street parking is available along Franklin Street and nearby side streets. Be mindful of posted time limits and residential zones."}),e.jsxs("p",{children:[e.jsx("span",{className:"text-navy font-medium",children:"Rear lot:"})," Permit-restricted parking only."]})]})})]})]})})}function m({icon:l,title:r,children:s}){return e.jsxs("div",{className:"bg-card border border-border rounded-2xl p-8 shadow-soft hover:shadow-card hover:border-carolina transition-all",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[e.jsx("span",{className:"w-10 h-10 rounded-full bg-gradient-carolina text-white flex items-center justify-center",children:l}),e.jsx("h3",{className:"font-display text-2xl text-navy",children:r})]}),s]})}const J=F({method:"POST"}).handler(N("cab3e282302e0dd0e3a863458e8520c12c9da4d47bbce2ef4b08e84abce0e7c1"));function _(){const l=P(J),[r,s]=x.useState(!1),[p,j]=x.useState(!1),[a,i]=x.useState({firstName:"",lastName:"",email:"",ph
1one:"",referralSource:""});async function f(t){t.preventDefault(),j(!0);try{await l({data:{firstName:a.firstName,lastName:a.lastName,email:a.email,phone:a.phone,source:typeof window<"u"?window.location.pathname:"",referralSource:a.referralSource}}),u.success("Welcome to the PITCH Family! We'll be in touch soon."),i({firstName:"",lastName:"",email:"",phone:"",referralSource:""}),s(!1)}catch(b){console.error(b),u.error("Something went wrong. Please try again.")}finally{j(!1)}}return e.jsx("section",{className:"border-t border-border bg-cream",children:e.jsxs("div",{className:"mx-auto max-w-6xl px-6 lg:px-10 py-16 text-center",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-carolina-deep font-semibold",children:"Stay Connected"}),e.jsx("h3",{className:"mt-4 font-serif text-3xl md:text-4xl text-navy",children:"Join the PITCH Family"}),e.jsx("p",{className:"mt-4 text-sm md:text-base text-[color:var(--navy-mid)] font-light max-w-xl mx-auto",children:"Stay connected with events, openings, and stories from The PITCH."}),e.jsxs(T,{open:r,onOpenChange:s,children:[e.jsx("div",{className:"flex justify-center mt-8",children:e.jsx(H,{asChild:!0,children:e.jsxs(g,{className:"btn-carol
1ina shadow-glow uppercase tracking-[0.2em] text-xs px-10 py-7 flex items-center gap-3",children:[e.jsx(M,{className:"w-4 h-4"}),"Join the PITCH Family"]})})}),e.jsxs(I,{className:"sm:max-w-md",children:[e.jsxs(L,{children:[e.jsx(O,{className:"font-serif text-2xl text-navy",children:"Join the PITCH Family"}),e.jsx(D,{children:"Share your info and we'll keep you in the loop."})]}),e.jsxs("form",{onSubmit:f,className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(o,{htmlFor:"nl-first",children:"First Name"}),e.jsx(d,{id:"nl-first",required:!0,maxLength:80,value:a.firstName,onChange:t=>i({...a,firstName:t.target.value})})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"nl-last",children:"Last Name"}),e.jsx(d,{id:"nl-last",required:!0,maxLength:80,value:a.lastName,onChange:t=>i({...a,lastName:t.target.value})})]})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"nl-email",children:"Email"}),e.jsx(d,{id:"nl-email",type:"email",required:!0,maxLength:200,value:a.email,onChange:t=>i({...a,email:t.target.value})})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"nl-phone",children:"Phone Number"}),e.jsx(d,{id:"nl-phone",type:"tel",required:!0,maxLength:40,value:a.phone,onChange:t=>i({...a,phone:t.target.value})})]}),e.jsxs("div",{children:[e.jsx(o,{htmlFor:"nl-referral",children:"How did you hear about us?"}),e.jsxs(B,{value:a.referralSource,onValueChange:t=>i({...a,referralSource:t}),children:[e.jsx(E,{id:"nl-referral",children:e.jsx(q,{placeholder:"Select an option"})}),e.jsxs(A,{children:[e.jsx(c,{value:"Google Search",children:"Google Search"}),e.jsx(c,{value:"Social Media",children:"Social Media"}),e.jsx(c,{value:"Friend or Family",children:"Friend or Family"}),e.jsx(c,{value:"Event or Pop-up",children:"Event or Pop-up"}),e.jsx(c,{value:"Local Advertisement",children:"Local Advertisement"}),e.jsx(c,{value:"Other",children:"Other"})]})]})]}),e.jsx(G,{children:e.jsx(g,{type:"submit",disabled:p,className:"w-full bg-navy hover:bg-navy/90 text-white uppercase tracking-[0.2em] text-xs",children:p?"Submitting...":"Sign Me Up"})})]})]})]})]})})}function Q({hideVisitSection:l=!1,hideNewsletter:r=!1}){return e.jsxs(e.Fragment,{children:[!l&&e.jsx(W,{}),!r&&e.jsx(_,{}),e.jsxs("footer",{className:"border-t border-border bg-background",children:[e.jsxs("div",{className:"mx-auto max-w-6xl px-6 lg:px-10 py-20 grid gap-12 md:grid-cols-4",children:[e.jsxs("div",{className:"md:col-span-2",children:[e.jsx("div",{className:"text-navy",children:e.jsx(h,{size:"text-2xl"})}),e.jsx("p",{className:"mt-4 text-sm text-[color:var(--navy-mid)] font-light leading-relaxed max-w-sm",children:"Chapel Hill's modern hub for events, coffee, podcasts, workspace, and community. Book the space. Build the moment."})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-[10px] uppercase tracking-[0.25em] font-bold text-navy",children:"Explore"}),e.jsxs("ul",{className:"mt-5 space-y-3 text-sm font-light text-[color:var(--navy-mid)]",children:[e.jsx("li",{children:e.jsx(n,{to:"/",className:"hover:text-carolina-deep transition-colors",children:"Home"})}),e.jsx("li",{children:e.jsx(n,{to:"/gallery",className:"hover:text-carolina-deep transition-colors",children:"The Ivy Gallery"})}),e.jsx("li",{children:e.jsx(n,{to:"/spaces",className:"hover:text-carolina-deep transition-colors",children:"The PITCH Ecosystem"})}),e.jsx("li",{children:e.jsx(n,{to:"/book",className:"hover:text-carolina-deep transition-colors",children:"Contact Us"})}),e.jsx("li",{children:e.jsx(n,{to:"/ops",className:"hover:text-carolina-deep transition-colors",children:"Employees & Partners"})})]})]}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-[10px] uppercase tracking-[0.25em] font-bold text-navy",children:"Contact"}),e.jsxs("ul",{className:"mt-5 space-y-3 text-sm font-light text-[color:var(--navy-mid)]",children:[e.jsx("li",{children:"462 W Franklin Street"}),e.jsx("li",{children:"Chapel Hill, NC 27516"}),e.jsx("li",{children:"[email protected]"}),e.jsx("li",{children:"(984) 364-8085"})]})]})]}),e.jsxs("div",{className:"border-t border-border py-8 text-center text-[10px] uppercase tracking-[0.25em] text-[color:var(--navy-mid)] flex items-center justify-center gap-2",children:[e.jsxs("span",{children:["© ",new Date().getFullYear()]})," ",e.jsx(h,{size:"text-sm"})]})]})]})}export{_ as N,Y as S,Q as a};
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.