PageSourceSearch

https://cpgio.com/assets/golf-outing-2026-dNzdm443.js

js cpgio.com collected 2026-10-09 23:29:34 UTC 52,021 bytes, 4 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RiveContest-DWoiAdL-.js","assets/vendor-react-BQobPn2Z.js","assets/vendor-commonjs-helpers-De8WaMV9.js"])))=>i.map(i=>d[i]);
2import{j as e,r as l}from"./vendor-react-BQobPn2Z.js";import{e as oe,H as ie}from"./index-CtLIdj0S.js";import{b as F}from"./vendor-router-C23-jnjR.js";import{_ as ce}from"./admin-export-C610b6Gt.js";import"./vendor-commonjs-helpers-De8WaMV9.js";import"./vendor-react-dom-BVmTabbt.js";import"./vendor-radix-CoRXDypy.js";import"./vendor-charts-nXCWwiWB.js";import"./vendor-query-mhhVZALn.js";import"./vendor-posthog-BfjysNwK.js";const n={name:"CPGIO Golf Outing",year:2026,edition:"6th Annual",date:"Thursday, August 27, 2026",dayOfWeek:"Thursday",venueName:"Eaglewood Resort & Spa",venueAddress:"1401 Nordic Road, Itasca, IL 60143",venueUrl:"https://www.eaglewoodresort.com/",format:"18 holes, shotgun start, scramble",dressCode:"Golf attire required",pricePerPerson:"$150",rsvpBy:"August 1, 2026",tagline:"One day on the course with the partners who make CPGIO run.",questionsContact:{name:"Tom",phone:"773.517.9974"},intro:"Every year we trade the dashboards for a day outside with the brands we operate for. Good golf, real conversation, and a cause worth showing up for."},de=[{time:"10:30 AM",title:"Registration and check-in",detail:"Check-in runs 10:30 to 11:15 AM. Coffee, range balls, and bag drop."},{time:"11:30 AM",title:"Shotgun start",detail:"18 holes, scramble format. Foursomes posted at check-in."},{time:"On course",title:"Lunch and drinks",detail:"Lunch and refreshments served on the course as you play."},{time:"At dinner",title:"Phil's Friends moment",detail:"A short pause to talk about the cause we are playing for and how the day gives back."},{time:"4:00 PM",title:"Dinner and awards",detail:"Dinner and awards run 4:00 to 8:00 PM. Trophies, contest winners, raffles, and a few words from the team."}],_=[{name:"Newell",domain:"newellbrands.com",logo:"/golf/partners/newell.png"},{name:"Church & Dwight",domain:"churchdwight.com",logo:"/golf/partners/church-dwight.png"},{name:"Reynolds",domain:"reynoldsbrands.com",logo:"/golf/partners/reynolds.png"},{name:"S.C. Johnson",domain:"scjohnson.com",logo:"/golf/partners/sc-johnson.png"},{name:"Our Home",domain:"eatourhome.com",logo:"/golf/partners/our-home.jpg"},{name:"Nestlé",domain:"nestle.com",logo:"/golf/partners/nestle.png"},{name:"Signature Bank",domain:"signatureny.com",logo:"/golf/partners/signature-bank.jpg"},{name:"McCormick",domain:"mccormick.com",logo:"/golf/partners/mccormick.webp"}],z=[{tier:"Platinum",price:"$3,000",group:"package",summary:"Four players, dinner, and top billing across the course.",includes:["Golf course access for four players and dinner","One large 3x5 sign on holes 1 and 18","Logo displayed on the carts","Co-branded golf balls provided","Promotional items in the gift bags","CPGIO Holiday Gift Basket Program","Verbal recognition at dinner"],featured:!0,paymentUrl:""},{tier:"Gold",price:"$2,500",group:"package",summary:"Four players, dinner, and signage across the front and back nine.",includes:["Golf course access for four players and dinner","Two signs on holes 2 through 17","Logo displayed on the carts","Promotional items in the gift bags","CPGIO Holiday Gift Basket Program","Verbal recognition at dinner"],paymentUrl:""},{tier:"Silver",price:"$2,000",group:"package",summary:"Four players, dinner, and a brand presence on the course.",includes:["Golf course access for four players and dinner","Two signs on holes 2 through 17","Logo displayed on the carts","Promotional items in the gift bags","Verbal recognition at dinner"],paymentUrl:""},{tier:"Long Drive Sponsor",price:"$1,000",group:"contest",summary:"Own the longest drive hole.",includes:["One banner sign at the Long Drive hole"],slotsAvailable:1,paymentUrl:""},{tier:"Longest Putt Sponsor",price:"$1,000",group:"contest",summary:"Own the longest putt hole.",includes:["One banner sign at the Longest Putt hole"],slotsAvailable:1},{tier:"Closest to the Pin Sponsor",price:"$1,000",group:"contest",summary:"Own the closest to the pin hole.",includes:["One banner sign at the Closest to the Pin hole"],slotsAvailable:1},{tier:"Cart Sponsor",price:"$1,000",group:"contest",summary:"Your name riding the course all day.",includes:["Company name displayed on selected carts"]}],d={name:"Phil's Friends",kicker:"Who we play for",blurb:"Phil's Friends brings hope to people facing cancer through free, customized care packages, heartfelt support, and prayer. Their mission is simple: remind patients and their families that they are never alone in the fight.",packageDescription:"CPGIO assembles those care packages right out of our warehouse on the southwest side of the building. Each one carries a Bible, hand drawn notes, and small wholesome items meant to lift someone's spirits on a hard day. The work happens steps from where we ship for our brands.",howItHelps:"Playing in the outing and sponsoring a hole supports the packages directly. Every partner in the field is part of that.",impact:[{value:"70,313",label:"Care packages delivered"},{value:"1,145,000",label:"Cards of hope delivered"},{value:"2.1M",label:"Volunteer hours"}],donationUrl:"https://philsfriends.org/give/",websiteUrl:"https://philsfriends.org"}
2,me=[{section:"hero",placeholderLabel:"DRONE / DAWN / OPENING HOLE",alt:"Aerial view of the golf course green and fairway",mood:"dawn",src:"/golf/hero-golf-course.webp"},{section:"schedule",placeholderLabel:"DRONE / DAY / FAIRWAY",alt:"Fairway from above during the day",mood:"detail"},{section:"charity",placeholderLabel:"PHIL'S FRIENDS / CARE PACKAGES",alt:"Phil's Friends hand-decorated care packages assembled at the CPGIO warehouse",mood:"night",src:"/golf/phils-friends/care-packages.webp"},{section:"footer",placeholderLabel:"DRONE / DUSK / 18TH GREEN",alt:"The finishing hole at dusk",mood:"night"}],g={name:"The Golf Club at Eaglewood",established:"1932",designer:"Charles Maddox",par:"Par 72",description:"A timeless Chicagoland course steeped in heritage. Rolling greens, majestic trees, and sparkling lakes, with fully stocked hospitality carts on course and the Prairie River Bar and Patio at the turn.",amenities:["Par 72 championship layout, playing since 1932","Golf and Resort Pro Shop","Hospitality carts throughout the course","Prairie River Bar and Patio","Callaway XR club rental available","On-site resort and spa for overnight stays"],proShopPhone:"(630) 773-3510",mapUrl:"https://www.google.com/maps/search/?api=1&query=Eaglewood+Resort+%26+Spa+1401+Nordic+Road+Itasca+IL+60143",websiteUrl:"https://www.eaglewoodresort.com/golf.htm"},v={kicker:"On the course",title:"Holes presented by the brands we run",blurb:"Each signature hole is presented by a CPGIO partner, with their product sampled right on the tee. Real brand moments between shots, and a swag bag stocked by the brands in the field.",riveSrc:"",contests:[{name:"Longest Drive",detail:"Bragging rights on the signature par 5.",icon:"drive"},{name:"Closest to the Pin",detail:"One swing, one shot at glory.",icon:"pin"},{name:"Hole-in-One",detail:"A sponsor-backed prize waiting on a par 3.",icon:"ace"},{name:"Putting Contest",detail:"Roll one true before the shotgun start.",icon:"putt"}]},ge=[{name:"Mulligan Pack",price:"TBD",detail:"Three mulligans for your foursome. A small donation that buys a few do-overs.",paymentUrl:""},{name:"Raffle Entries",price:"TBD",detail:"Prizes from the brands in the field. Proceeds support Phil's Friends.",paymentUrl:""}],C={kicker:"Prizes and awards",title:"Win the day, give back to the cause",blurb:"Play well and you might take home some hardware. Everything that is not a trophy gives back to Phil's Friends.",items:[{name:"1st, 2nd & 3rd place",detail:"Trophies for the top three foursomes, handed out at the awards dinner."},{name:"Contest prizes",detail:"Sponsored prizes for Longest Drive, Closest to the Pin, and Longest Putt."},{name:"Raffles",detail:"Prizes stocked by the brands in the field. Proceeds support Phil's Friends."},{name:"50/50 baskets",detail:"Win-win baskets where half the pot goes home with you and half supports the cause."},{name:"Blind auction",detail:"Bid on standout items through the day, with proceeds benefiting Phil's Friends."}]},pe=[{src:"/golf/outing-2025/photo-01.jpg?v=3",alt:"Guests together at the dinner table"},{src:"/golf/outing-2025/photo-02.jpg?v=3",alt:"A foursome on the tee at the Signature Bank hole"},{src:"/golf/outing-2025/photo-03.jpg?v=3",alt:"Teammates at the clubhouse dinner table"},{src:"/golf/outing-2025/photo-04.jpg?v=3",alt:"The course and clubhouse patio from above"},{src:"/golf/outing-2025/photo-05.jpg?v=3",alt:"A CPGIO host bringing wine to the dinner"},{src:"/golf/outing-2025/photo-06.jpg?v=3",alt:"The registration and raffle table crew"},{src:"/golf/outing-2025/photo-07.jpg?v=3",alt:"Two players on the clubhouse patio"},{src:"/golf/outing-2025/photo-08.jpg?v=3",alt:"A foursome group photo by the clubhouse"},{src:"/golf/outing-2025/photo-09.jpg?v=3",alt:"A pair at the McCormick sponsor sign"}];function Q(t){return me.find(r=>r.section===t)}const xe={dawn:"from-[#1b2a3a] via-[#2a3f4f] to-[#caa66a]/40",night:"from-[#05070b] via-[#0b1220] to-[#11202b]",detail:"from-[#0e1a17] via-[#13302a] to-[#148575]/30"};function V({photo:t,className:r="",priority:a=!1,sizes:o="100vw"}){return t.src?e.jsx("div",{className:`overflow-hidden ${r}`,children:e.jsx("img",{src:t.src,alt:t.alt,loading:a?"eager":"lazy",fetchpriority:a?"high":void 0,sizes:o,className:"absolute inset-0 h-full w-full object-cover"})}):e.jsxs("div",{className:`relative overflow-hidden bg-gradient-to-br ${xe[t.mood]} ${r}`,role:"img","aria-label":`${t.alt} (placeholder, photography to come)`,children:[e.jsx("div",{className:"absolute inset-0 opacity-[0.07]",style:{backgroundImage:"linear-gradient(to right, #fff 1px, transparent 1px), linear-gradient(to bottom, #fff 1px, transparent 1px)",backgroundSize:"48px 48px"}}),e.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-3 px-6 text-center",children:[e.jsx("span",{className:"font-mono text-[0.7rem] tracking-[0.2em] text-white/70",children:t.placeholderL
2abel}),e.jsx("span",{className:"font-mono text-[0.62rem] tracking-[0.18em] text-white/40",children:"PHOTOGRAPHY TO COME"})]})]})}function J({dark:t=!1}){return e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("img",{src:"/golf/cpgio-logo.png",alt:"CPGIO",width:32,height:32,className:t?"invert":""}),e.jsx("span",{className:`font-display text-[1.25rem] font-extrabold tracking-[-0.02em] ${t?"text-golf-ink-text":"text-golf-fg"}`,children:"CPGIO"})]})}const he=[{slug:"jack-ross",name:"Jack Ross",title:"Associate Director, Growth",ownerId:"62975133",email:"[email protected]",accounts:["Carbona","Galderma","Tabasco","Libman","Church & Dwight (A&H)"],confirmed:!0},{slug:"owner-61101223",name:"TBD",ownerId:"61101223",accounts:["CHD Touchland (DTC, TikTok)","Batiste","Oxiclean"],confirmed:!1},{slug:"owner-31467497",name:"TBD",ownerId:"31467497",accounts:["Church & Dwight ShoppingGives","ARRID 3P","The Last Jug","Prepared Hero"],confirmed:!1},{slug:"owner-59501591",name:"TBD",ownerId:"59501591",accounts:["Biore","Litehouse Inc.","Conair Group","Saje Natural Wellness"],confirmed:!1},{slug:"owner-77631103",name:"TBD",ownerId:"77631103",accounts:["Waterpik (Best Buy)","McCormick"],confirmed:!1},{slug:"owner-60560475",name:"TBD",ownerId:"60560475",accounts:["La Preferida (Seller Central)"],confirmed:!1},{slug:"owner-61079014",name:"TBD",ownerId:"61079014",accounts:["La Preferida (Faire)"],confirmed:!1},{slug:"owner-80144756",name:"TBD",ownerId:"80144756",accounts:["Inka Crops (Walmart)"],confirmed:!1},{slug:"owner-61574345",name:"TBD",ownerId:"61574345",accounts:["Our Home (Walmart)"],confirmed:!1},{slug:"owner-61574347",name:"TBD",ownerId:"61574347",accounts:["WoodWick","Yankee Candle (Faire)"],confirmed:!1},{slug:"owner-61574945",name:"TBD",ownerId:"61574945",accounts:["O'Ceder (Chewy)"],confirmed:!1},{slug:"owner-61574350",name:"TBD",ownerId:"61574350",accounts:["Mrs. Meyer's (TikTok)"],confirmed:!1}];function Y(t){if(t)return he.find(r=>r.slug===t.toLowerCase())}function ue(t){return t.confirmed?t.name:t.slug}function fe(){const[t]=F(),r=Y(t.get("am"));return!r||!r.confirmed?null:e.jsxs("span",{className:"hidden items-center gap-2 rounded-full border border-white/20 bg-white/5 px-3 py-1.5 font-mono text-[0.62rem] uppercase tracking-[0.14em] text-white/80 backdrop-blur-sm sm:inline-flex",children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-golf-live","aria-hidden":!0}),"Invited by ",r.name]})}function be(){const t=Q("hero");return e.jsxs("header",{className:"relative isolate flex min-h-[100svh] flex-col overflow-hidden text-golf-ink-text",children:[t&&e.jsx(V,{photo:t,priority:!0,className:"absolute inset-0 -z-20 h-full w-full",sizes:"100vw"}),e.jsx("div",{className:"absolute inset-0 -z-10 bg-gradient-to-t from-golf-ink-deep via-golf-ink-deep/45 to-transparent"}),e.jsx("div",{className:"absolute inset-0 -z-10 bg-gradient-to-r from-golf-ink-deep/60 via-golf-ink-deep/10 to-transparent"}),e.jsx("div",{className:"absolute inset-x-0 top-0 -z-10 h-32 bg-gradient-to-b from-black/45 to-transparent"}),e.jsxs("div",{className:"mx-auto flex w-full max-w-6xl items-center justify-between px-6 py-7",children:[e.jsx(J,{dark:!0}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx(l.Suspense,{fallback:null,children:e.jsx(fe,{})}),e.jsxs("span",{className:"hidden font-mono text-[0.68rem] uppercase tracking-[0.16em] text-white/70 md:inline",children:[n.dayOfWeek,", Aug 27"]}),e.jsx("a",{href:"#signup",className:"inline-flex min-h-[44px] items-center rounded-full bg-golf-primary px-5 font-mono text-[0.7rem] uppercase tracking-[0.14em] text-white transition hover:bg-golf-primary-bright",children:"Reserve your spot"})]})]}),e.jsx("div",{className:"mx-auto flex w-full max-w-6xl flex-1 flex-col justify-end px-6 pb-14",children:e.jsxs("div",{className:"hero-rise max-w-3xl",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"h-px w-8 bg-golf-live","aria-hidden":!0}),e.jsxs("span",{className:"kicker !text-golf-live",children:[n.edition," Client Outing / ",n.year]})]}),e.jsxs("h1",{className:"font-display mt-5 text-5xl font-black leading-[0.95] tracking-[-0.02em] drop-shadow-sm sm:text-7xl",children:[n.name," ",e.jsx("span",{className:"text-golf-live",children:n.year})]}),e.jsx("p",{className:"mt-6 max-w-lg text-lg leading-relaxed text-white/85",children:n.tagline}),e.jsxs("div",{className:"mt-9 flex flex-wrap items-center gap-3",children:[e.jsx("a",{href:"#signup",className:"inline-flex min-h-[44px] items-center rounded-full bg-golf-primary px-7 font-mono text-[0.72rem] uppercase tracking-[0.14em] text-white transition hover:bg-golf-primary-bright",children:"Reserve your spot"}),e.jsx("a",{href:"#sponsorship",className:"inline-flex min-h-[44px] items-center rounded-full border border-white/35 bg-white/5 px-7 font-mono text-[0.72rem] uppercase tracking-[0.14em] text-white/90 backdrop-blur-sm transition hover:border-white/70",children:"Sponsor a hole"})]})]})}),e.jsx("div",{className:"border-t border-white/10 bg-golf-ink/55 backdrop-blur-md",children:e.jsxs("dl",{className:"mx-auto grid max-w-6xl grid-cols-2 divide-x divide-white/10 sm:grid-cols-4",children:[e.jsx(S,{label:"Date",value:`${n.dayOfWeek}, Aug 27, 2026`}),e.jsx(S,{label:"Venue",value:n.venueName}),e.jsx(S,{label:"Format",value:"Shotgun / Scramble"}),e.jsx(S,{label:"Playing for",value:d.name,accent:!0})]})}),e.jsxs("div",{className:"pointer-events-none absolute bottom-[5.5rem] right-6 hidden flex-col items-center gap-2 sm:flex",children:[e.jsx("span",{className:"font-mono text-[0.58rem] uppercase tracking-[0.2em] text-white/55",children:"Scroll"}),e.jsx("span",{className:"scroll-nudge h-7 w-px bg-white/40","aria-hidden":!0})]})]})}function S({label:t,value:r,accent:a=!1}){return e.jsxs("div",{className:"px-5 py-4 sm:px-6 sm:py-5",children:[e.jsx("dt",{className:"font-mono text-[0.6rem] uppercase tracking-[0.18em] text-white/45",children:t}),e.jsx("dd",{className:`font-display mt-1.5 text-sm font-bold sm:text-base ${a?"text-golf-live":"text-white"}`,children:r})]})}function p({kicker:t,title:r,lede:a,dark:o=!1}){return e.jsxs("div",{children:[e.jsx("span",{className:`kicker ${o?"!text-golf-live":""}`,children:t}),e.jsx("h2",{className:`font-display mt-4 max-w-2xl text-3xl font-black leading-[1.05] tracking-[-0.02em] sm:text-4xl ${o?"text-golf-ink-text":"text-golf-fg"}`,children:r}),a&&e.jsx("p",{className:`mt-4 text-lg leading-relaxed ${o?"text-golf-ink-muted":"text-golf-muted"}`,children:a})]})}const A=Array.from({length:18},(t,r)=>{const a=r+1;return{number:a,img:`/golf/holes/hole-${String(a).padStart(2,"0")}.jpg`}});function je(){const[t,r]=oe({loop:!0}),[a,o]=l.useState(0),c=l.useCallback(()=>{r&&o(r.selectedScrollSnap())},[r]);return l.useEffect(()=>{r&&(c(),r.on("select",c),r.on("reInit",c))},[r,c]),e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsxs("span",{className:"mb-8 flex items-center gap-3 font-mono text-[0.66rem] uppercase tracking-[0.16em] text-golf-muted",children:[e.jsx("span",{className:"h-px w-8 bg-golf-primary","aria-hidden":!0}),"Preview every hole"]}),e.jsx("div",{className:"relative shrink-0 rounded-[3.4rem] border border-white/10 bg-gradient-to-b from-zinc-700 via-zinc-800 to-black p-[3px] shadow-2xl",children:e.jsx("div",{className:"rounded-[3.25rem] bg-black p-2.5",children:e.jsxs("div",{className:"relative aspect-[300/650] w-[min(300px,76vw)] overflow-hidden rounded-[2.6rem] bg-golf-ink-deep",children:[e.jsx("div",{className:"pointer-events-none absolute left-1/2 top-3 z-30 h-[26px] w-[92px] -translate-x-1/2 roun
2ded-full bg-black"}),e.jsx("div",{className:"h-full w-full overflow-hidden",ref:t,children:e.jsx("div",{className:"flex h-full",children:A.map(i=>e.jsx(ve,{hole:i},i.number))})}),e.jsx("button",{type:"button","aria-label":"Previous hole",onClick:()=>r==null?void 0:r.scrollPrev(),className:"absolute left-2 top-1/2 z-30 grid h-11 w-11 -translate-y-1/2 place-items-center rounded-full bg-black/45 text-white backdrop-blur-sm transition hover:bg-black/70",children:"‹"}),e.jsx("button",{type:"button","aria-label":"Next hole",onClick:()=>r==null?void 0:r.scrollNext(),className:"absolute right-2 top-1/2 z-30 grid h-11 w-11 -translate-y-1/2 place-items-center rounded-full bg-black/45 text-white backdrop-blur-sm transition hover:bg-black/70",children:"›"})]})})}),e.jsx("div",{className:"mt-8 flex flex-col gap-3",children:[{label:"Front 9",holes:A.slice(0,9)},{label:"Back Nine",holes:A.slice(9)}].map(i=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"w-20 shrink-0 whitespace-nowrap text-right font-mono text-[0.62rem] uppercase tracking-[0.14em] text-golf-muted",children:i.label}),e.jsx("div",{className:"grid grid-cols-3 gap-2 sm:grid-cols-9",children:i.holes.map(h=>{const y=h.number-1,k=y===a;return e.jsx("button",{type:"button","aria-label":`Go to hole ${h.number}`,onClick:()=>r==null?void 0:r.scrollTo(y),className:`grid h-11 w-11 place-items-center rounded-full font-mono text-[0.72rem] font-bold transition ${k?"bg-golf-primary text-white":"border border-golf-border text-golf-muted hover:border-golf-primary hover:text-golf-primary"}`,children:h.number},h.number)})})]},i.label))})]})}function ve({hole:t}){return e.jsx("div",{className:"relative h-full min-w-0 shrink-0 grow-0 basis-full overflow-hidden bg-golf-ink-deep",children:e.jsx("img",{src:t.img,alt:`Hole ${t.number} aerial preview`,loading:"lazy",className:"h-full w-full object-cover"})})}function ye(){return e.jsxs("section",{id:"course",className:"mx-auto max-w-6xl px-6 py-24",children:[e.jsx(p,{kicker:"The Course",title:g.name,lede:g.description}),e.jsxs("div",{className:"mt-12 grid gap-10 lg:grid-cols-2 lg:items-start",children:[e.jsxs("div",{children:[e.jsxs("dl",{className:"grid grid-cols-3 gap-px overflow-hidden rounded-xl border border-golf-border bg-golf-border",children:[e.jsx(T,{label:"Established",value:g.established}
2),e.jsx(T,{label:"Designer",value:g.designer}),e.jsx(T,{label:"Layout",value:g.par})]}),e.jsx("ul",{className:"mt-6 grid gap-2.5",children:g.amenities.map(t=>e.jsxs("li",{className:"flex gap-2.5 text-sm text-golf-fg/80",children:[e.jsx("span",{className:"mt-1.5 h-1 w-3 shrink-0 rounded-full bg-golf-primary","aria-hidden":!0}),t]},t))})]}),e.jsxs("figure",{className:"overflow-hidden rounded-2xl border border-golf-border bg-golf-bg",children:[e.jsx("img",{src:"/golf/course/scorecard.jpg",alt:"The Golf Club at Eaglewood scorecard, Par 72",className:"h-auto w-full"}),e.jsxs("figcaption",{className:"flex flex-wrap items-center justify-between gap-2 border-t border-golf-border px-5 py-4",children:[e.jsx("span",{className:"font-mono text-[0.62rem] uppercase tracking-[0.16em] text-golf-primary",children:"Scorecard"}),e.jsx("span",{className:"font-mono text-[0.62rem] uppercase tracking-[0.12em] text-golf-muted",children:"Par 72 · 6,017 yds (Black) · Out 35 / In 37"})]})]})]}),e.jsxs("div",{className:"mt-10 flex flex-wrap items-center gap-x-8 gap-y-3 border-t border-golf-border pt-6",children:[e.jsx("span",{className:"font-mono text-[0.7rem] uppercase tracking-[0.14em] text-golf-muted",children:n.venueAddress}),e.jsx("a",{href:g.mapUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex min-h-[40px] items-center font-mono text-[0.7rem] uppercase tracking-[0.14em] text-golf-primary underline-offset-4 hover:underline",children:"Directions"}),e.jsx("a",{href:g.websiteUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex min-h-[40px] items-center font-mono text-[0.7rem] uppercase tracking-[0.14em] text-golf-primary underline-offset-4 hover:underline",children:"Course details"}),e.jsxs("span",{className:"font-mono text-[0.7rem] uppercase tracking-[0.14em] text-golf-muted",children:["Pro shop ",g.proShopPhone]})]}),e.jsx("div",{className:"mt-16",children:e.jsx(je,{})})]})}function T({label:t,value:r}){return e.jsxs("div",{className:"bg-golf-bg px-5 py-6",children:[e.jsx("dt",{className:"font-mono text-[0.58rem] uppercase tracking-[0.16em] text-golf-muted",children:t}),e.jsx("dd",{className:"font-display mt-2 text-lg font-extrabold leading-tight tracking-[-0.01em]",children:r})]})}function ke(){return e.jsxs("section",{id:"schedule",className:"mx-auto max-w-6xl px-6 py-24",children:[e.jsx(p,{kicker:"The Day",title:"One round, start to finish",lede:"From check-in to the awards dinner, here is how the day runs."}),e.jsxs("ol",{className:"relative mt-14 border-l border-golf-border",children:[e.jsx("span",{className:"cs-timeline-ball","aria-hidden":!0}),de.map((t,r)=>e.jsxs("li",{className:"relative pl-8 pb-10 last:pb-0",children:[e.jsx("span",{className:`absolute -left-[7px] top-1.5 h-3.5 w-3.5 rounded-full border-2 ${t.feature?"border-golf-primary bg-golf-primary":"border-golf-border bg-golf-bg"}`,"aria-hidden":!0}),e.jsxs("div",{className:"flex flex-col gap-1 sm:flex-row sm:items-baseline sm:gap-6",children:[e.jsx("span",{className:"font-mono text-[0.72rem] uppercase tracking-[0.16em] text-golf-muted sm:w-24 sm:shrink-0",children:t.time}),e.jsxs("div",{children:[e.jsx("h3",{className:`font-display text-xl font-bold tracking-[-0.01em] ${t.feature?"text-golf-primary":"text-golf-fg"}`,children:t.title}),e.jsx("p",{className:"mt-1 max-w-xl text-golf-muted",children:t.detail})]})]})]},r))]})]})}const we={drive:"M46 59 Q 84 4 122 56",pin:"M46 59 Q 74 16 102 57",ace:"M46 59 Q 82 10 110 59",putt:"M46 60 Q 73 57 99 60"};function D({icon:t}){const r=t==="putt";return e.jsxs("svg",{viewBox:"0 0 130 70",className:"h-16 w-full text-golf-fg/30 transition-colors duration-300 group-hover:text-golf-primary",role:"img","aria-hidden":"true",children:[e.jsx("path",{className:"cs-trail",d:we[t],fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsxs("g",{className:"cs-divot",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",fill:"none",children:[e.jsx("line",{x1:"42",y1:"61",x2:"39",y2:"56"}),e.jsx("line",{x1:"45",y1:"61",x2:"44.5",y2:"55"}),e.jsx("line",{x1:"48",y1:"61",x2:"50",y2:"57"})]}),e.jsxs("g",{className:"cs-sketch",stroke:"currentColor",strokeWidth:"3.2",strokeLinecap:"round",strokeLinejoin:"round",fill:"none",children:[e.jsx("path",{d:"M7 62 Q 65 60 123 62",strokeWidth:"2",strokeOpacity:"0.4"}),t==="pin"&&e.jsx(U,{poleX:106}),t==="ace"&&e.jsxs(e.Fragment,{children:[e.jsx(U,{poleX:110}
2),e.jsx("ellipse",{cx:"110",cy:"61",rx:"6.5",ry:"2.2",fill:"currentColor",fillOpacity:"0.28",stroke:"none"})]}),r&&e.jsx("ellipse",{cx:"100",cy:"61",rx:"6.5",ry:"2.6",fill:"currentColor",fillOpacity:"0.28",stroke:"none"}),e.jsx("path",{d:"M30 45 C 26 51, 23 57, 22 62"}),e.jsx("path",{d:"M30 45 C 34 51, 36 57, 37 62"}),e.jsx("circle",{cx:"22",cy:"62",r:"2.5",fill:"currentColor",stroke:"none"}),e.jsx("circle",{cx:"37",cy:"62",r:"2.5",fill:"currentColor",stroke:"none"}),e.jsxs("g",{className:"cs-body",children:[e.jsx("path",{d:"M30 45 C 31 39, 32 34, 33.5 31"}),e.jsx("circle",{cx:"36",cy:"25",r:"5",fill:"currentColor",stroke:"none"})]}),r?e.jsxs("g",{className:"cs-club-putt",children:[e.jsx("path",{d:"M33.5 31 C 36 36, 39 42, 40.5 45"}),e.jsx("line",{x1:"40.5",y1:"45",x2:"47",y2:"59"}),e.jsx("circle",{cx:"40.5",cy:"45",r:"2.4",fill:"currentColor",stroke:"none"})]}):e.jsxs("g",{className:"cs-arm",children:[e.jsx("path",{d:"M33.5 31 C 36 36, 39 42, 40.5 45"}),e.jsx("circle",{cx:"40.5",cy:"45",r:"2.4",fill:"currentColor",stroke:"none"}),e.jsx("g",{className:"cs-club",children:e.jsx("line",{x1:"40.5",y1:"45",x2:"48",y2:"60"})})]})]}),e.jsx("circle",{className:`cs-ball cs-ball-${t}`,cx:"46",cy:"59",r:"3",fill:"currentColor"})]})}function U({poleX:t}){return e.jsxs(e.Fragment,{children:[e.jsx("line",{x1:t,y1:"61",x2:t,y2:"16"}),e.jsx("path",{className:"cs-flag",d:`M${t} 16 Q ${t+7} 18 ${t+12} 21 Q ${t+7} 23 ${t} 25 Z`,fill:"currentColor",stroke:"none"})]})}const Ne=l.lazy(()=>ce(()=>import("./RiveContest-DWoiAdL-.js"),__vite__mapDeps([0,1,2])));function Ce({contest:t,index:r}){const[a,o]=l.useState(!1),c=!!v.riveSrc;return e.jsxs("div",{className:"cs-card group rounded-xl border border-golf-border bg-golf-bg p-6 transition duration-300 hover:-translate-y-1 hover:border-golf-primary/50 hover:bg-golf-primary/5 hover:shadow-[0_16px_36px_-18px_rgba(20,133,117,0.45)]",onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:[e.jsx("span",{className:"font-mono text-[0.7rem] tabular-nums text-golf-muted transition-colors group-hover:text-golf-primary",children:String(r+1).padStart(2,"0")}),e.jsx("h3",{className:"font-display mt-3 text-lg font-bold tracking-[-0.01em] transition-colors group-hover:text-golf-primary",children:t.name}),e.jsx("p",{className:"mt-1.5 text-sm text-golf-muted",children:t.detail}),e.jsx("div",{className:"mt-5 border-t border-golf-border/70 pt-2 transition-colors group-hover:border-golf-primary/20",children:c?e.jsx(l.Suspense,{fallback:e.jsx(D,{icon:t.icon}),children:e.jsx(Ne,{src:v.riveSrc,artboard:t.icon,hovered:a,fallback:e.jsx(D,{icon:t.icon})})}):e.jsx(D,{icon:t.icon})})]})}function Se(){return e.jsx("svg",{"aria-hidden":"true",width:"0",height:"0",className:"absolute",style:{position:"absolute"},children:e.jsx("defs",{children:[2,9,15].map((t,r)=>e.jsxs("filter",{id:`cs-boil-${r}`,x:"-20%",y:"-25%",width:"140%",height:"170%",children:[e.jsx("feTurbulence",{type:"fractalNoise",baseFrequency:"0.02",numOctaves:"2",seed:t,result:"n"}),e.jsx("feDisplacementMap",{in:"SourceGraphic",in2:"n",scale:"2"})]},r))})})}function Pe(){return e.jsxs("section",{id:"experience",className:"bg-golf-surface",children:[e.jsx(Se,{}),e.jsxs("div",{className:"mx-auto max-w-6xl px-6 py-24",children:[e.jsx(p,{kicker:v.kicker,title:v.title,lede:v.blurb}),e.jsxs("div",{className:"mt-14",children:[e.jsx("span",{className:"font-mono text-[0.7rem] uppercase tracking-[0.16em] text-golf-primary",children:"Contests"}),e.jsx("div",{className:"mt-6 grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4",children:v.contests.map((t,r)=>e.jsx(Ce,{contest:t,index:r},t.name))})]})]})]})}function $e({name:t,logo:r,variant:a}){const[o,c]=l.useState(!1),i=r&&!o;return a==="card"?e.jsx("span",{className:"flex h-10 w-28 items-center justify-start",children:i?e.jsx("img",{src:r,alt:t,onError:()=>c(!0),className:"max-h-10 max-w-full object-contain object-left"}):e.jsx("span",{className:"flex h-10 w-10 items-center justify-center rounded bg-golf-primary/10 font-display text-sm font-extrabold text-golf-primary",children:t.slice(0,2).toUpperCase()})}):i?e.jsx("img",{src:r,alt:t,onError:()=>c(!0),className:"max-h-16 max-w-[78%] object-contain"}):e.jsx("span",{className:"font-display text-base font-bold tracking-[-0.01em] text-golf-fg/80",children:t})}function Oe(){return e.jsx("section",{id:"partners",className:"bg-golf-surface",children:e.jsxs("div",{className:"mx-auto max-w-6xl px-6 py-24",children:[e.jsx(p,{kicker:"The Field",title:"Previous attendees & supporters",lede:"Brands that have joined us on the course and supported the day in past years."}),e.jsx("div",{className:"mt-14 grid gap-px overflow-hidden rounded-xl border border-golf-border bg-golf-border",style:{gridTemplateColumns:`repeat(${Math.min(_.length,4)}, minmax(0, 1fr))`},children:_.map(t=>e.jsx(Ae,{partner:t}
2,t.name))})]})})}function Ae({partner:t}){return e.jsx("div",{className:"flex min-h-24 items-center justify-center bg-golf-bg px-4 py-8 text-center",children:e.jsx($e,{name:t.name,logo:t.logo,variant:"plate"})})}function Te({tier:t,kind:r,className:a,label:o="Sponsor this"}){const[c]=F(),i=new URLSearchParams(c.toString());return i.set("role","sponsor"),i.delete("tier"),i.delete("addon"),i.set(r==="addon"?"addon":"tier",t),e.jsx("a",{href:`?${i.toString()}#signup`,className:a,children:o})}function De(){const t=z.filter(a=>a.group==="package"),r=z.filter(a=>a.group==="contest");return e.jsxs("section",{id:"sponsorship",className:"mx-auto max-w-6xl px-6 py-24",children:[e.jsx(p,{kicker:"Sponsorship",title:"Put your brand on the course",lede:"Sponsoring a hole or the day puts your brand in front of the full field and supports Phil's Friends at the same time."}),e.jsx(W,{children:"Golf packages · four players and dinner"}),e.jsx("div",{className:"grid grid-cols-1 gap-5 md:grid-cols-3",children:t.map(a=>e.jsx(q,{sponsor:a},a.tier))}),e.jsx(W,{children:"Hole and contest sponsors · $1,000 each"}),e.jsx("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4",children:r.map(a=>e.jsx(q,{sponsor:a},a.tier))})]})}function W({children:t}){return e.jsxs("div",{className:"mb-6 mt-14 flex items-center gap-3 first:mt-14",children:[e.jsx("span",{className:"h-px w-8 bg-golf-primary","aria-hidden":!0}),e.jsx("span",{className:"font-mono text-[0.66rem] uppercase tracking-[0.16em] text-golf-muted",children:t})]})}function q({sponsor:t}){return e.jsxs("div",{className:`flex flex-col rounded-2xl border p-6 ${t.featured?"border-golf-primary bg-golf-ink text-golf-ink-text":"border-golf-border bg-golf-bg"}`,children:[t.featured&&e.jsx("span",{className:"mb-4 inline-block w-fit rounded-full bg-golf-primary px-3 py-1 font-mono text-[0.6rem] uppercase tracking-[0.14em] text-white",children:"Headline"}),e.jsx("h3",{className:"font-display text-xl font-extrabold tracking-[-0.01em]",children:t.tier}),e.jsx("p",{className:`mt-1 text-sm ${t.featured?"text-golf-ink-muted":"text-golf-muted"}`,children:t.summary}),e.jsxs("div",{className:"mt-5 font-display text-2xl font-black",children:[t.price,t.price==="TBD"&&e.jsx("span",{className:"ml-2 align-middle font-mono text-[0.6rem] uppercase tracking-[0.14em] text-golf-muted",children:"pricing to come"})]}),t.deposit&&e.jsxs("p",{className:`mt-1 font-mono text-[0.62rem] uppercase tracking-[0.12em] ${t.featured?"text-golf-ink-muted":"text-golf-muted"}`,children:[t.deposit," · paid securely via HubSpot"]}),e.jsx("ul",{className:"mt-5 flex flex-1 flex-col gap-2.5",children:t.includes.map(r=>e.jsxs("li",{className:`flex gap-2.5 text-sm ${t.featured?"text-golf-ink-text/90":"text-golf-fg/80"}`,children:[e.jsx("span",{className:"mt-1.5 h-1 w-3 shrink-0 rounded-full bg-golf-primary","aria-hidden":!0}),r]},r))}),typeof t.slotsAvailable=="number"&&e.jsxs("p",{className:`mt-5 font-mono text-[0.62rem] uppercase tracking-[0.14em] ${t.featured?"text-golf-live":"text-golf-muted"}`,children:[t.slotsAvailable," ",t.slotsAvailable===1?"spot":"spots"," available"]}),e.jsx(l.Suspense,{fallback:e.jsx("span",{className:"mt-6 h-10 rounded-full bg-golf-surface","aria-hidden":!0}),children:e.jsx(Te,{tier:t.tier,kind:t.group==="contest"?"addon":"package",label:t.group==="contest"?"Add this":"Sponsor this",className:`mt-6 inline-flex min-h-[44px] items-center justify-center rounded-full px-5 text-center font-mono text-[0.7rem] uppercase tracking-[0.14em] transition ${t.featured?"bg-golf-primary text-white hover:bg-golf-primary-bright":"border border-golf-fg/15 text-golf-fg hover:border-golf-primary hover:text-golf-primary"}`})}),t.flow==="quote"?e.jsx("p",{className:`mt-2.5 text-center font-mono text-[0.6rem] uppercase tracking-[0.12em] ${t.featured?"text-golf-ink-muted":"text-golf-muted"}`,children:"Deposit + e-signature sent by our team"}):t.paymentUrl&&e.jsx("a",{href:t.paymentUrl,className:`mt-2.5 text-center font-mono text-[0.62rem] uppercase tracking-[0.12em] underline-offset-4 transition hover:underline ${t.featured?"text-golf-live":"text-golf-primary"}`,children:"Pay deposit through HubSpot"})]})}function Le(){return e.jsxs("section",{id:"prizes",className:"mx-auto max-w-6xl px-6 py-24",children:[e.jsx(p,{kicker:C.kicker,title:C.title,lede:C.blurb}),e.jsx("ul",{className:"mt-12 grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:C.items.map((t,r)=>e.jsxs("li",{className:"flex flex-col rounded-2xl border border-golf-border bg-golf-bg p-6",children:[e.jsx("span",{className:"font-mono text-[0.66rem] uppercase tracking-[0.16em] text-golf-muted",children:String(r+1).padStart(2,"0")}),e.jsx("h3",{className:"mt-3 font-display text-xl font-extrabold tracking-[-0.01em]",children:t.name}),e.jsx("p",{className:"mt-2 text-sm text-golf-muted",children:t.detail})]},t.name))}),e.jsxs("p",{className:"mt-8 font-mono text-[0.66rem] uppercase tracking-[0.14em] text-golf-muted",children:["Raffles, 50/50, and the blind auction give back to ",d.name,"."]})]})}function Ie(){return e.jsxs("section",{id:"extras",className:"mx-auto max-w-6xl px-6 py-24",children:[e.jsx(p,{kicker:"Extras",title:"Add a little to the day",lede:`Small extras that make the round more fun and give back. Raffle proceeds supp
2ort ${d.name}.`}),e.jsx("div",{className:"mt-12 grid gap-5 sm:grid-cols-2",children:ge.map(t=>e.jsxs("div",{className:"flex flex-col rounded-2xl border border-golf-border bg-golf-bg p-6",children:[e.jsxs("div",{className:"flex items-baseline justify-between gap-4",children:[e.jsx("h3",{className:"font-display text-xl font-extrabold tracking-[-0.01em]",children:t.name}),e.jsx("span",{className:"font-display text-lg font-black",children:t.price==="TBD"?e.jsx("span",{className:"font-mono text-[0.6rem] uppercase tracking-[0.14em] text-golf-muted",children:"pricing to come"}):t.price})]}),e.jsx("p",{className:"mt-2 flex-1 text-sm text-golf-muted",children:t.detail}),t.paymentUrl?e.jsx("a",{href:t.paymentUrl,className:"mt-6 rounded-full bg-golf-primary px-5 py-2.5 text-center font-mono text-[0.7rem] uppercase tracking-[0.14em] text-white transition hover:bg-golf-primary-bright",children:"Buy through HubSpot"}):e.jsx("span",{className:"mt-6 rounded-full border border-dashed border-golf-border px-5 py-2.5 text-center font-mono text-[0.62rem] uppercase tracking-[0.12em] text-golf-muted",children:"Available at check-in"})]},t.name))})]})}const Fe=["A Bible","Hand drawn cards of hope","Small wholesome comforts"];function Ge(){const t=Q("charity");return e.jsxs("section",{id:"charity",className:"relative isolate overflow-hidden bg-golf-ink-deep text-golf-ink-text",children:[e.jsx("div",{className:"absolute inset-0 -z-10 bg-[radial-gradient(60%_50%_at_28%_18%,rgba(34,211,167,0.12),transparent_70%)]"}),e.jsxs("div",{className:"mx-auto max-w-6xl px-6 py-28 sm:py-32",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("span",{className:"h-px w-8 bg-golf-live","aria-hidden":!0}),e.jsx("span",{className:"kicker !text-golf-live",children:d.kicker})]}),e.jsxs("h2",{className:"font-display mt-6 whitespace-nowrap text-[clamp(1rem,4.3vw,3.25rem)] font-black leading-[1.05] tracking-[-0.02em]",children:["Cancer is strong. ",e.jsx("span",{className:"text-golf-live",children:"Hope is stronger."})]}),e.jsxs("div",{className:"mt-14 grid gap-12 lg:grid-cols-[1.1fr_0.9fr]",children:[e.jsxs("div",{className:"flex flex-col gap-7",children:[e.jsx("p",{className:"max-w-xl text-lg leading-relaxed text-golf-ink-text/85",children:d.blurb}),e.jsx("blockquote",{className:"border-l-2 border-golf-live pl-5 text-lg leading-relaxed text-golf-ink-text/90",children:d.packageDescription}),e.jsx("p",{className:"text-golf-ink-muted",children:d.howItHelps}),e.jsxs("div",{className:"mt-1 flex flex-wrap gap-4",children:[e.jsx("a",{href:d.donationUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex min-h-[44px] items-center rounded-full bg-golf-primary px-7 font-mono text-[0.72rem] uppercase tracking-[0.14em] text-white transition hover:bg-golf-primary-bright",children:"Donate to Phil's Friends"}),e.jsx("a",{href:d.websiteUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex min-h-[44px] items-center rounded-full border border-white/25 px-7 font-mono text-[0.72rem] uppercase tracking-[0.14em] text-white/90 transition hover:border-white/60",children:"Learn about the cause"})]})]}),e.jsxs("div",{className:"self-start overflow-hidden rounded-2xl border border-white/10 bg-white/[0.03] backdrop-blur-sm",children:[t&&e.jsx("div",{className:"relative aspect-[4/3] w-full",children:e.jsx(V,{photo:t,className:"absolute inset-0 h-full w-full",sizes:"(min-width: 1024px) 40vw, 100vw"})}),e.jsxs("div",{className:"p-6",children:[e.jsx("p",{className:"font-mono text-[0.62rem] uppercase tracking-[0.16em] text-golf-live",children:"What is inside"}),e.jsx("ul",{className:"mt-4 flex flex-col gap-2.5",children:Fe.map(r=>e.jsxs("li",{className:"flex items-center gap-3 text-golf-ink-text/90",children:[e.jsx("span",{className:"h-1 w-3 shrink-0 rounded-full bg-golf-live","aria-hidden":!0}),r]},r))})]})]})]}),e.jsxs("div",{className:"mt-16 border-t border-white/10 pt-10",children:[e.jsx("p",{className:"font-mono text-[0.62rem] uppercase tracking-[0.18em] text-golf-ink-muted",children:"Phil's Friends, by the numbers"}),e.jsx("dl",{className:"mt-6 grid grid-cols-1 gap-px overflow-hidden rounded-xl border border-white/10 bg-white/10 sm:grid-cols-3",children:d.impact.map(r=>e.jsxs("div",{className:"bg-golf-ink px-6 py-7",children:[e.jsx("dt",{className:"sr-only",children:r.label}),e.jsxs("dd",{children:[e.jsx("span",{className:"font-mono text-4xl font-bold tracking-[-0.03em] text-golf-live tabular-nums sm:text-5xl",children:r.value}),e.jsx("span",{className:"mt-2 block text-sm text-golf-ink-muted",children:r.label})]})]},r.label))})]})]})]})}function Re(){return e.jsx("section",{id:"outing-2025",className:"bg-golf-bg",children:e.jsxs("div",{className:"mx-auto max-w-6xl px-6 py-24",children:[e.jsx(p,{kicker:"Golf Outing '25",title:"Last year on the course",lede:"A look back at the 2025 outing: the foursomes, the dinner, and the day that gave back."}),e.jsx("div",{className:"mt-12 columns-1 gap-4 sm:columns-2 lg:columns-3 [column-fill:_balance]",children:pe.map(t=>e.jsx("figure",{className:"mb-4 break-inside-avoid overflow-hidden rounded-2xl border border-golf-border bg-golf-bg shadow-[0_14px_34px_-16px_rgba(10,15,13,0.45)]",children:e.jsx("img",{src:t.src,alt:t.alt,loading:"lazy",className:"block w-full"})},t.src))})]})})}const L=[{value:"Platinum $3,000",label:"Platinum ($3,000)",tier:"Platinum",price:3e3},{value:"Gold $2,500",label:"Gold ($2,500)",tier:"Gold",price:2500},{value:"Silver $2,000",label:"Silver ($2,000)",tier:"Silver",price:2e3}],I=[{value:"Long Drive Sponsor $1000",label:"Long Drive Sponsor",tier:"Long Drive Sponsor",price:1e3},{value:"Longest Putt Sponsor $1000",label:"Longest Putt Sponsor",tier:"Longest Putt Sponsor",price:1e3},{value:"Closest to the Pin Sponsor $1000",label:"Closest to the Pin Sponsor",tier:"Closest to the Pin Sponsor",price:1e3},{value:"Cart Sponsor $1000",label:"Cart Sponsor",tier:"Cart Sponsor",price:1e3}];function Be(){var H;const[t]=F(),r=Y(t.get("am")),a=t.get("tier"),o=t.get("addon"),[c,i]=l.useState(""),[h,y]=l.useState(""),[k,K]=l.useState(""),[G,Z]=l.useState(""),[R,X]=l.useState(""),[B,ee]=l.useState(4),[P,te]=l.useState(()=>{var s;return((s=L.find(m=>m.tier===a))==null?void 0:s.value)??""}),[$,re]=l.useState(()=>I.filter(s=>s.tier===o).map(s=>s.value)),[w,se]=l.useState(""),[N,O]=l.useState("idle"),[ae,E]=l.useState(""),ne=s=>re(m=>m.includes(s)?m.filter(f=>f!==s):[...m,s]),M=(((H=L.find(s=>s.value===P))==null?void 0:H.price)??0)+I.filter(s=>$.includes(s.value)).reduce((s,m)=>s+m.price,0);async function le(s){s.preventDefault(),O("sending"),E("");const m=r?`${w?w+`
3
4`:""}Invited by: ${ue(r)}`:w;try{const f=await fetch("/api/golf-register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({firstname:c,lastname:h,company:k,email:G,phone:R,attendees:String(B),package:P,addons:$,message:m,pageUri:typeof window<"u"?window.location.href:""})});if(!f.ok){const j=await f.json().catch(()=>({}));throw new Error((j==null?void 0:j.detail)||(j==null?void 0:j.error)||"Submission failed")}O("sent"),fetch("/api/form-hubspot-mappings/golf-outing-2026/track-submission",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({success:!0})}).catch(()=>{})}catch(f){O("error"),E(f instanceof Error?f.message:"Something went wrong")}}if(N==="sent")return e.jsxs("div",{className:"rounded-xl border border-golf-primary/30 bg-golf-primary/5 p-6",children:[e.jsx("p",{className:"font-display text-lg font-bold text-golf-fg",children:"You're on the list."}),e.jsxs("p",{className:"mt-2 text-sm text-golf-muted",children:["Thanks",c?`, ${c}`:"",". We have your registration and will follow up with the details. See you on August 27 at Eaglewood."]})]});const x="block text-sm font-semibold text-golf-fg",u="mt-1.5 w-full rounded-lg border border-golf-border bg-golf-bg px-3 py-3 text-base text-golf-fg outline-none focus:border-golf-primary";return e.jsxs("form",{onSubmit:le,className:"space-y-5",children:[r&&r.confirmed&&e.jsxs("div",{className:"rounded-lg border border-golf-primary/30 bg-golf-primary/5 px-4 py-3 font-mono text-[0.7rem] uppercase tracking-[0.12em] text-golf-primary",children:["Invited by ",r.name]}),e.jsxs("fieldset",{className:"rounded-xl border border-golf-border bg-golf-surface/60 p-4",children:[e.jsx("legend",{className:"px-1 font-mono text-[0.62rem] uppercase tracking-[0.16em] text-golf-muted",children:"Sponsorship (optional)"}),e.jsx("label",{className:x,htmlFor:"reg-package",children:"Put your brand on the course"}),e.jsxs("select",{id:"reg-package",value:P,onChange:s=>te(s.target.value),className:`${u} h-12`,children:[e.jsx("option",{value:"",children:"No Sponsorship"}),L.map(s=>e.jsx("option",{value:s.value,children:s.label},s.value))]}),e.jsx("span",{className:"mt-4 block text-sm font-semibold text-golf-fg",children:"Hole & contest add-ons"}),e.jsx("div",{className:"mt-1",children:I.map(s=>
4e.jsxs("label",{className:"flex min-h-[44px] cursor-pointer items-center gap-3 text-sm text-golf-fg",children:[e.jsx("input",{type:"checkbox",checked:$.includes(s.value),onChange:()=>ne(s.value),className:"h-5 w-5 shrink-0 accent-golf-primary"}),e.jsxs("span",{children:[s.label," ",e.jsx("span",{className:"text-golf-muted",children:"· $1,000"})]})]},s.value))}),M>0&&e.jsxs("div",{className:"mt-3 flex items-center justify-between border-t border-golf-border pt-3 font-mono text-[0.7rem] uppercase tracking-[0.14em]",children:[e.jsx("span",{className:"text-golf-muted",children:"Estimated total"}),e.jsxs("span",{className:"font-bold text-golf-primary",children:["$",M.toLocaleString("en-US")]})]})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2",children:[e.jsxs("div",{children:[e.jsx("label",{className:x,htmlFor:"reg-first",children:"First name"}),e.jsx("input",{id:"reg-first",required:!0,value:c,onChange:s=>i(s.target.value),className:u,autoComplete:"given-name"})]}),e.jsxs("div",{children:[e.jsx("label",{className:x,htmlFor:"reg-last",children:"Last name"}),e.jsx("input",{id:"reg-last",required:!0,value:h,onChange:s=>y(s.target.value),className:u,autoComplete:"family-name"})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:x,htmlFor:"reg-company",children:"Company / brand"}),e.jsx("input",{id:"reg-company",required:!0,value:k,onChange:s=>K(s.target.value),className:u,autoComplete:"organization"})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-5 sm:grid-cols-2",children:[e.jsxs("div",{children:[e.jsx("label",{className:x,htmlFor:"reg-email",children:"Email"}),e.jsx("input",{id:"reg-email",type:"email",required:!0,value:G,onChange:s=>Z(s.target.value),className:u,autoComplete:"email"})]}),e.jsxs("div",{children:[e.jsx("label",{className:x,htmlFor:"reg-phone",children:"Phone"}),e.jsx("input",{id:"reg-phone",type:"tel",required:!0,value:R,onChange:s=>X(s.target.value),className:u,autoComplete:"tel"})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:x,children:"# of golfers / attendees"}),e.jsx(Ee,{value:B,onChange:ee})]}),e.jsxs("div",{children:[e.jsx("label",{className:x,htmlFor:"reg-message",children:"Anything else"}),e.jsx("textarea",{id:"reg-message",rows:2,value:w,onChange:s=>se(s.target.value),className:`${u} min-h-[84px]`})]}),N==="error"&&e.jsxs("p",{className:"text-sm text-golf-neg",children:[ae||"Something went wrong."," Please try again or email"," ",e.jsx("a",{href:"mailto:[email protected]",className:"underline",children:"[email protected]"}),"."]}),e.jsx("button",{type:"submit",disabled:N==="sending",className:"flex min-h-[48px] w-full items-center justify-center rounded-full bg-golf-primary px-6 font-mono text-[0.72rem] uppercase tracking-[0.14em] text-white transition hover:bg-golf-primary-bright disabled:opacity-60",children:N==="sending"?"Submitting...":"Reserve your spot"}),e.jsx("p",{className:"text-center font-mono text-[0.58rem] uppercase tracking-[0.12em] text-golf-muted",children:"Submits to CPGIO. We follow up with details."})]})}function Ee({value:t,onChange:r}){const a=o=>Math.max(1,Math.min(40,o));return e.jsxs("div",{className:"mt-1.5 inline-flex items-center gap-px overflow-hidden rounded-lg border border-golf-border",children:[e.jsx("button",{type:"button",onClick:()=>r(a(t-1)),className:"flex h-11 w-11 items-center justify-center text-lg text-golf-fg transition hover:bg-golf-surface","aria-label":"Fewer",children:"−"}),e.jsx("input",{type:"number",min:1,max:40,value:t,onChange:o=>r(a(Number(o.target.value)||1)),className:"h-11 w-16 border-x border-golf-border bg-golf-bg text-center font-mono text-base tabular-nums outline-none"}),e.jsx("button",{type:"button",onClick:()=>r(a(t+1)),className:"flex h-11 w-11 items-center justify-center text-lg text-golf-fg transition hover:bg-golf-surface","aria-label":"More",children:"+"})]})}function Me(){return e.jsx("section",{id:"signup",className:"bg-golf-surface",children:e.jsxs("div",{className:"mx-auto grid max-w-6xl gap-12 px-6 py-24 lg:grid-cols-2",children:[e.jsxs("div",{className:"lg:sticky lg:top-16 lg:self-start",children:[e.jsx(p,{kicker:"Reserve your spot",title:"Join us on the course",lede:n.intro}),e.jsxs("dl",{className:"mt-8 space-y-4",children:[e.jsx(b,{label:"When",value:n.date}),e.jsx(b,{label:"Where",value:`${n.venueName}, ${n.venueAddress}`,href:n.venueUrl}),e.jsx(b,{label:"Cost",value:`${n.pricePerPerson} per person`}),e.jsx(b,{label:"Format",value:n.format}),e.jsx(b,{label:"Dress",value:n.dressCode}),e.jsx(b,{label:"RSVP by",value:n.rsvpBy}),e.jsx(b,{label:"Questions",value:`${n.questionsContact.name}, ${n.questionsContact.phone}`,href:`tel:${n.questionsContact.phone.replace(/[^0-9]/g,"")}`})]})]}),e.jsx("div",{className:"rounded-2xl border border-golf-border bg-golf-bg p-6 sm:p-8",children:e.jsx(l.Suspense,{fallback:e.jsx("div",{className:"text-sm text-golf-muted",children:"Loading..."}),children:e.jsx(Be,{})})})]})})}function b({label:t,value:r,href:a}){return e.jsxs("div",{className:"flex items-baseline gap-4 border-b border-golf-border pb-3",children:[e.jsx("dt",{className:"w-20 shrink-0 font-mono text-[0.62rem] uppercase tracking-[0.16em] text-golf-muted",children:t}),e.jsx("dd",{className:"font-display font-semibold text-golf-fg",children:a?e.jsx("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"inline-flex min-h-[40px] items-center underline decoration-golf-border underline-offset-4 transition hover:decoration-golf-primary hover:text-golf-primary",children:r}):r})]})}function He(){return e.jsx("footer",{className:"bg-golf-ink-deep text-golf-ink-text",children:e.jsxs("div",{className:"mx-auto max-w-6xl px-6 py-16",children:[e.jsxs("div",{className:"flex flex-col justify-between gap-8 sm:flex-row sm:items-end",children:[e.jsxs("div",{children:[e.jsx(J,{dark:!0}),e.jsxs("p",{className:"mt-4 max-w-sm text-sm text-golf-ink-muted",children:[n.name," ",n.year,". ",n.tagline]}),e.jsxs("p",{className:"mt-4 font-mono text-[0.62rem] uppercase tracking-[0.14em] text-golf-live",children:["RSVP by ",n.rsvpBy]}),e.jsxs("p",{className:"mt-1.5 font-mono text-[0.62rem] uppercase tracking-[0.14em] text-golf-ink-muted",children:["Questions? ",n.questionsContact.name," ",e.jsx("a",{href:`tel:${n.questionsContact.phone.replace(/[^0-9]/g,"")}`,className:"inline-flex min-h-[40px] items-center transition hover:text-golf-live",children:n.questionsContact.phone})]})]}),e.jsxs("div",{className:"flex flex-col gap-2 font-mono text-[0.7rem] uppercase tracking-[0.14em] text-golf-ink-muted",children:[e.jsx("a",{href:"#signup",className:"inline-flex min-h-[40px] items-center transition hover:text-golf-live",children:"Reserve your spot"}),e.jsx("a",{href:"#sponsorship",className:"inline-flex min-h-[40px] items-center transition hover:text-golf-live",children:"Sponsor a hole"}),e.jsx("a",{href:d.websiteUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex min-h-[40px] items-center transition hover:text-golf-live",children:d.name})]})]}),e.jsxs("div",{className:"mt-12 border-t border-golf-ink-rule pt-6 font-mono text-[0.62rem] uppercase tracking-[0.14em] text-golf-ink-muted",children:["CPGIO / ",n.year," / Playing for ",d.name]})]})})}function Ze(){const t=`${n.name} ${n.year}`;return e.jsxs("div",{className:"golf-outing flex min-h-screen flex-col bg-golf-bg text-golf-fg",children:[e.jsxs(ie,{children:[e.jsx("title",{children:t}),e.jsx("meta",{name:"description",content:n.tagline}),e.jsx("meta",{name:"robots",content:"noindex, nofollow"}),e.jsx("meta",{property:"og:title",content:t}),e.jsx("meta",{property:"og:description",content:n.tagline}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:site_name",content:"CPGIO"}
4),e.jsx("link",{rel:"preconnect",href:"https://api.fontshare.com",crossOrigin:""}),e.jsx("link",{href:"https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700,800,900&display=swap",rel:"stylesheet"}),e.jsx("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),e.jsx("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),e.jsx("link",{href:"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;600;700&display=swap",rel:"stylesheet"})]}),e.jsxs("main",{className:"flex-1",children:[e.jsx(be,{}),e.jsx(ye,{}),e.jsx(ke,{}),e.jsx(Pe,{}),e.jsx(Oe,{}),e.jsx(De,{}),e.jsx(Le,{}),e.jsx(Ie,{}),e.jsx(Ge,{}),e.jsx(Re,{}),e.jsx(Me,{}),e.jsx(He,{})]})]})}export{Ze as default};

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.