1import{r as m,u as H,C as n,O as V,j as t,G as _,S as G,N as Q,Q as h,b as k,F as q}from"./index-Dnyn28Md.js";import{L as v}from"./LifecycleRibbon-D0GCCexI.js";const I={"Live Music":n.sunset,"Food & Social":"#8B5E3C","Sports & Outdoors":n.sage,Community:n.lakeBlue,"Arts & Culture":"#7B6BA0","Markets & Vendors":"#8B5E3C",Other:n.textMuted},Y=[{keys:["aeronautique","winery","wine","corks","kegs","highland","cherry creek","chateau","vineyard"],img:"/images/Explore-wineries.webp"},{keys:["nightlife","tavern","bar & grill","bar and grill","saloon","pub"],img:"/images/explore-nightlife.webp"},{keys:["food truck","foodtruck","wieners","taco","bbq truck"],img:"/images/foodtruck_hero.webp"},{keys:["lighthouse"],img:"/images/explore-lighthouse.webp"},{keys:["fishing","fish","bass","walleye","bluegill","ice fish"],img:"/images/explore-fishing.webp"},{keys:["irish hills","explore"],img:"/images/explore-Irish-hills.webp"},{keys:["devils lake","round lake","kayak","swim","boat","pontoon","waterski","jetski","paddle"],img:"/images/explore-devils-lake.webp"},{keys:["historic","museum","history","heritage","historical"],img:"/images/historic-hero.webp"},{keys:["village","community","festival","fair","flea market","vendor show","open house"],img:"/images/landlakes-hero.webp"},{keys:["music","concert","band","tribute","dj ","live at","performs"],img:"/images/happening-hero.webp"}],J={"Live Music":"/images/explore-nightlife.webp","Food & Social":"/images/foodtruck_hero.webp","Sports & Outdoors":"/images/explore-devils-lake.webp",Community:"/images/community-bg.webp","Arts & Culture":"/images/dispat
1ch-header-web.webp","Markets & Vendors":"/images/landlakes-hero.webp"};function U(i){if(i.imageUrl)return i.imageUrl;const r=`${i.name} ${i.location} ${i.description}`.toLowerCase();for(const{keys:s,img:e}of Y)if(s.some(p=>r.includes(p)))return e;return J[i.category]||"/images/happening-hero.webp"}function D(i){return i?new Date(i+"T00:00:00").toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"}):""}function R(i){return i?new Date(i+"T00:00:00").toLocaleDateString("en-US",{month:"short",day:"numeric"}):""}function K(i){if(!i)return"";const r=new Date(i+"T00:00:00");return{month:r.toLocaleDateString("en-US",{month:"short"}),day:r.getDate()}}function w(i){return i?new Date(i+"T23:59:59")<new Date:!1}function F(i){return String(i||"").replace(/\\/g,"\\\\").replace(/;/g,"\\;").replace(/,/g,"\\,").replace(/\n/g,"\\n")}function T(i){const r=s=>String(s).padStart(2,"0");return`${i.getFullYear()}${r(i.getMonth()+1)}${r(i.getDate())}T${r(i.getHours())}${r(i.getMinutes())}${r(i.getSeconds())}`}function X(i){if(!i.timeStart){const e=(i.date||"").replace(/-/g,""),p=i.dateEnd&&i.dateEnd!==i.date?i.dateEnd:i.date,d=new Date(p+"T00:00:00");d.setDate(d.getDate()+1);const c=u=>String(u).padStart(2,"0"),f=`${d.getFullYear()}${c(d.getMonth()+1)}${c(d.getDate())}`;return{allDay:!0,dtstart:e,dtend:f}}const r=new Date(`${i.date}T${i.timeStart}`);let s;return i.timeEnd?(s=new Date(`${i.date}T${i.timeEnd}`),s<=r&&(s=new Date(r.getTime()+2*60*60*1e3))):s=new Date(r.getTime()+2*60*60*1e3),{allDay:!1,dtstart:T(r),dtend:T(s)}}function Z(i,r,s){if(!(i!=null&&i.date))return;const{allDay:e,dtstart:p,dtend:d}=X(i),c=T(new Date).replace(/[-:]/g,""),f=`${r}@manitoubeachmichigan.com`,u=`${s}/events/${r}`,S=[i.description||"",`Details: ${u}`].filter(Boolean).join(` 2 3`),j=["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//Manitou Beach Michigan//Events//EN","CALSCALE:GREGORIAN","METHOD:PUBLISH","BEGIN:VEVENT",`UID:${f}`,`DTSTAMP:${c}`,e?`DTSTART;VALUE=DATE:${p}`:`DTSTART:${p}`,e?`DTEND;VALUE=DATE:${d}`:`DTEND:${d}`,`SUMMARY:${F(i.name)}`,...i.location?[`LOCATION:${F(i.location)}`]:[],...S?[`DESCRIPTION:${F(S)}`]:[],`URL:${u}`,"END:VEVENT","END:VCALENDAR"].join(`\r 4`),E=new Blob([j],{type:"text/calendar;charset=utf-8"}),g=URL.createObjectURL(E),x=document.createElement("a");x.href=g,x.download=`${(i.name||"event").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"")||"event"}.ics`,document.body.appendChild(x),x.click(),document.body.removeChild(x),setTimeout(()=>URL.revokeObjectURL(g),2e3)}function ee({event:i}){const r=I[i.category]||n.sage,{month:s,day:e}=K(i.date),p=U(i);return w(i.date)?null:t.jsxs(h,{to:`/events/${i.id}`,style:{textDecoration:"none",display:"block",borderRadius:10,overflow:"hidden",border:`1px solid ${n.sand}`,background:"#fff",transition:"box-shadow 0.2s"},onMouseEnter:c=>c.currentTarget.style.boxShadow="0 4px 20px rgba(0,0,0,0.1)",onMouseLeave:c=>c.currentTarget.style.boxShadow="none",children:[t.jsxs("div",{style:{height:110,position:"relative",overflow:"hidden",background:n.dusk},children:[t.jsx("img",{src:p,alt:i.name,style:{width:"100%",height:"100%",objectFit:"cover",opacity:.75},onError:c=>{c.target.src="/images/happening-hero.webp"}}),t.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(to bottom, transparent 40%, rgba(10,18,24,0.7))"}}),t.jsxs("div",{style:{position:"absolute",top:8,left:10,background:"#fff",borderRadius:6,padding:"3px 8px",textAlign:"center",minWidth:38},children:[t.jsx("div",{style:{fontSize:12,fontWeight:700,color:r,textTransform:"uppercase",letterSpacing:1,fontFamily:"'Libre Franklin', sans-serif"},children:s}),t.jsx("div",{style:{fontSize:17,fontWeight:700,color:n.dusk,lineHeight:1,fontFamily:"'Libre Baskerville', serif"},children:e})]})]}),t.jsxs("div",{style:{padding:"10px 12px 12px"},children:[t.jsx("div",{style:{fontSize:13,color:r,fontWeight:700,textTransform:"uppercase",letterSpacing:1.2,marginBottom:3,fontFamily:"'Libre Franklin', sans-serif"},children:i.category}),t.jsx("div",{style:{fontSize:15,fontWeight:600,color:n.dusk,lineHeight:1.3,marginBottom:4,fontFamily:"'Libre Baskerville', serif"},children:i.name}),i.location&&t.jsx("div",{style:{fontSize:13,color:n.textMuted,fontFamily:"'Libre Franklin', sans-serif"},children:i.location})]})]})}function ne(){var C;const[i,r]=m.useState(0),{eventId:s}=H(),[e,p]=m.useState(null),[d,c]=m.useState([]),[f,u]=m.useState(!0),[S,$]=m.useState(!1),[j,E]=m.useState([]),g="https://manitoubeachmichigan.com";m.useEffect(()=>{window.scrollTo(0,0),fetch(`/api/event-detail?id=${encodeURIComponent(s)}`).then(a=>a.json()).then(a=>{p(a.event||null),c(a.related||[]),u(!1)}).catch(()=>u(!1))},[s]),m.useEffect(()=>{fetch("/api/businesses").then(a=>a.json()).then(a=>{const o=[...a.premium||[],...a.featured||[],...a.enhanced||[],...a.free||[]];E(o)}).catch(()=>{})},[]);const x=()=>{const a=`${g}/events/${s}`;navigator.share&&e?navigator.share({title:e.name,text:`Check out ${e.name} at Manitou Beach`,url:a}):navigator.clipboard.writeText(a).then(()=>{$(!0),setTimeout(()=>$(!1),2500)})},B=a=>{window.location.href="/#"+a},y=e?w(e.date):!1,N=e?I[e.category]||n.sage:n.sage,L=e?U(e):"/images/happening-hero.webp",z=e==null?void 0:e.imageUrl,M=(()=>
4{if(!(e!=null&&e.location)||!j.length)return null;const a=e.location.toLowerCase();let o=null;for(const l of j){if(!l.name||l.name.length<4)continue;const b=l.name.toLowerCase();(a.includes(b)||b.includes(a))&&(!o||l.name.length>o.name.length)&&(o=l)}return o?{name:o.name,slug:V(o.name)}:null})(),O=e?`${e.name}${e.location?` at ${e.location}`:""}. ${e.date?D(e.date):""}${e.description?". "+e.description.slice(0,100):""}`:"Event details at Manitou Beach, Devils Lake Michigan.",P=e?{"@context":"https://schema.org","@type":"Event",name:e.name,startDate:e.date?`${e.date}${e.timeStart?"T"+e.timeStart:"T00:00:00"}`:void 0,endDate:e.date?`${e.date}${e.timeEnd?"T"+e.timeEnd:"T23:59:59"}`:void 0,eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",location:{"@type":"Place",name:e.location||"Manitou Beach, Michigan",address:{"@type":"PostalAddress",addressLocality:"Manitou Beach",addressRegion:"MI",addressCountry:"US"}},description:e.description||void 0,image:e.imageUrl||`${g}${L}`,url:`${g}/events/${s}`,organizer:e.organizerName?{"@type":"Organization",name:e.organizerName}:{"@type":"Organization",name:"Manitou Beach Michigan",url:"https://manitoubeachmichigan.com"},...e.ticketPrice?{offers:{"@type":"Offer",price:String(e.ticketPrice),priceCurrency:"USD",url:`${g}/events/${s}`,availability:"https://schema.org/InStock"}}:{}}:null;return t.jsxs("div",{style:{fontFamily:"'Libre Franklin', sans-serif",background:n.cream,color:n.text,minHeight:"100vh"},children:[t.jsx(_,{}),e&&t.jsx(G,{title:`${e.name} - Manitou Beach`,description:O,path:`/events/${s}`,ogImage:z?e.imageUrl:`${g}${L}`,ogType:"event",schema:[P,...e.geoFaq?[{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.geoFaq}]:[{"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:`When is ${e.name}
4?`,acceptedAnswer:{"@type":"Answer",text:`${e.name} takes place${e.date?" on "+e.date:""}${e.location?" at "+e.location:" in Manitou Beach, Michigan"}. For full details and schedule updates, visit manitoubeachmichigan.com.`}},{"@type":"Question",name:`Where is ${e.name} located?`,acceptedAnswer:{"@type":"Answer",text:`${e.name} is held at ${e.location||"Manitou Beach, Michigan"} in the Irish Hills region of Lenawee County, Michigan. Manitou Beach is located approximately 75 miles southwest of Detroit via US-23 South.`}},{"@type":"Question",name:`Is ${e.name} free to attend?`,acceptedAnswer:{"@type":"Answer",text:e.ticketPrice?`${e.name} has an admission price of $${e.ticketPrice}. Tickets and further information are available at manitoubeachmichigan.com.`:`${e.name} at Manitou Beach Michigan is free to attend. For the most current event details, visit manitoubeachmichigan.com.`}}]}]].filter(Boolean)}),t.jsx(Q,{activeSection:"",scrollTo:B,isSubPage:!0}),t.jsxs("div",{style:{paddingTop:72,minHeight:"100vh"},children:[f&&t.jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:400},children:t.jsx("div",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:18,color:n.textMuted},children:"Loading..."})}),!f&&!e&&t.jsxs("div",{style:{maxWidth:560,margin:"80px auto",padding:"0 24px",textAlign:"center"},children:[t.jsx("div",{style:{fontSize:48,marginBottom:16},children:"ðï¸"}),t.jsx("h1",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:26,color:n.dusk,margin:"0 0 12px"},children:"Event not found"}),t.jsx("p",{style:{color:n.textMuted,lineHeight:1.7,marginBottom:28},children:"This event may have been removed or the link might be wrong."}),t.jsx(h,{to:"/events",style:{display:"inline-block",background:n.dusk,color:n.cream,padding:"12px 28px",borderRadius:8,textDecoration:"none",fontWeight:600,fontSize:16},children:"See All Events"})]}),!f&&e&&t.jsxs(t.Fragment,{children:[t.jsxs("div",{style:{position:"relative",overflow:"hidden",background:n.night},className:"event-detail-hero",children:[t.jsx("img",{src:L,alt:e.name,style:{width:"100%",height:"100%",objectFit:"cover",opacity:y?.4:.72,position:"absolute",inset:0},onError:a=>{a.target.src="/images/happening-hero.webp"}}),t.jsx("div",{style:{position:"absolute",inset:0,background:"linear-gradient(160deg, rgba(10,18,24,0.25) 0%, rgba(10,18,24,0.82) 100%)"}}),t.jsxs("div",{style:{position:"relative",zIndex:2,maxWidth:760,margin:"0 auto",padding:"52px 28px 44px"},className:"event-detail-hero-content",children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,marginBottom:20,flexWrap:"wrap"},children:[t.jsx("span",{style:{background:N,color:"#fff",padding:"4px 14px",borderRadius:20,fontSize:13,fontWeight:700,letterSpacing:1.5,textTransform:"uppercase",fontFamily:"'Libre Franklin', sans-serif"},children:e.category}),v[e.lifecycle]&&t.jsx("span",{style:{background:v[e.lifecycle].color,color:"#fff",padding:"4px 14px",borderRadius:20,fontSize:13,fontWeight:800,letterSpacing:1.5,textTransform:"uppercase",fontFamily:"'Libre Franklin', sans-serif"},children:v[e.lifecycle].label}),y&&t.jsx("span",{style:{background:"rgba(255,255,255,0.15)",color:"rgba(255,255,255,0.8)",padding:"4px 14px",borderRadius:20,fontSize:13,letterSpacing:1.5,textTransform:"uppercase",fontFamily:"'Libre Franklin', sans-serif"},children:"Past Event"})]}),t.jsx("h1",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:36,fontWeight:700,color:"#fff",margin:"0 0 10px",lineHeight:1.15,textShadow:"0 2px 16px rgba(0,0,0,0.4)"},className:"event-detail-title",children:e.name}),v[e.lifecycle]&&e.changeNote&&t.jsx("p",{style:{margin:"0 0 16px",padding:"12px 16px",borderRadius:10,background:"rgba(255,255,255,0.1)",borderLeft:`3px solid ${v[e.lifecycle].color}`,color:"#fff",fontSize:17,lineHeight:1.6,fontFamily:"'Libre Franklin', sans-serif"},children:e.changeNote}),e.organizerName&&t.jsxs("p",{style:{margin:"0 0 24px",color:"rgba(255,255,255,0.72)",fontSize:17,fontFamily:"'Libre Franklin', sans-serif"},children:["Hosted by ",e.organizerName]}),t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:16,flexWrap:"wrap"},children:[e.date&&t.jsxs("span",{style:{color:"rgba(255,255,255,0.85)",fontSize:16,fontFamily:"'Libre Franklin', sans-serif",fontWeight:500},children:["ð
",D(e.date),e.timeStart?` · ${e.timeStart}`:""]}),t.jsx("button",{onClick:x,style:{background:"rgba(255,255,255,0.15)",border:"1px solid rgba(255,255,255,0.3)",color:"#fff",padding:"6px 16px",borderRadius:20,fontSize:14,fontWeight:600,cursor:"pointer",backdropFilter:"blur(8px)",fontFamily:"'Libre Franklin', sans-serif"},children:S?"â Copied":"â Share"}),e.date&&t.jsxs("button",{onClick:()=>{Z(e,s,g),r(a=>a+1),clearTimeout(window.__mbCalT),window.__mbCalT=setTimeout(()=>r(0),2600)},style:{background:"rgba(255,255,255,0.15)",border:"1px solid rgba(255,255,255,0.3)",color:"#fff",padding:"6px 16px",borderRadius:20,fontSize:14,fontWeight:600,cursor:"pointer",backdropFilter:"blur(8px)",fontFamily:"'Libre Franklin', sans-serif"},children:[t.jsx("span",{className:i?"mb-bobber is-dunk":"mb-bobber",children:"ð
"},i)," ",i?"Added to your calendar":"Add to Calendar"]})]})]})]}),t.jsxs("div",{style:{maxWidth:760,margin:"0 auto",padding:"32px 24px 0"},children:[y&&t.jsxs("div",{style:{background:n.warmWhite,border:`1px solid ${n.sand}`,borderRadius:10,padding:"16px 20px",marginBottom:28,display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:12},children:[t.jsxs("div",{children:[t.jsx("div",{style:{fontSize:16,fontWeight:600,color:n.dusk,marginBottom:2,fontFamily:"'Libre Baskerville', serif"},children:"This event has passed"}),t.jsxs("div",{style:{fontSize:15,color:n.textMuted},children:["It happened ",R(e.date),". Catch what's coming up next."]})]}),t.jsx(h,{to:"/events",style:{background:n.dusk,color:n.cream,padding:"9px 18px",borderRadius:8,textDecoration:"none",fontWeight:600,fontSize:15,whiteSpace:"nowrap"},children:"Upcoming Events â"})]}),t.jsx(k,{delay:0,children:t.jsxs("div",{style:{display:"grid",gap:14,marginBottom:28},className:"event-detail-grid",children:[e.date&&t.jsxs("div",{style:{background:"#fff",border:`1px solid ${n.sand}`,borderRadius:10,padding:"14px 18px"},children:[t.jsx("div",{style:{fontSize:13,color:n.textMuted,textTransform:"uppercase",letterSpacing:1.8,marginBottom:4,fontFamily:"'Libre Franklin', sans-serif"},children:"Date"}),t.jsx("div",{style:{fontSize:16,fontWeight:600,color:n.dusk,fontFamily:"'Libre Baskerville', serif"},children:D(e.date)}),e.dateEnd&&e.dateEnd!==e.date&&t.jsxs("div",{style:{fontSize:15,color:n.textMuted,marginTop:2},children:["through ",R(e.dateEnd)]})]}),t.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:14}
4,className:"event-detail-subgrid",children:[(e.timeStart||e.timeEnd)&&t.jsxs("div",{style:{background:"#fff",border:`1px solid ${n.sand}`,borderRadius:10,padding:"14px 18px"},children:[t.jsx("div",{style:{fontSize:13,color:n.textMuted,textTransform:"uppercase",letterSpacing:1.8,marginBottom:4,fontFamily:"'Libre Franklin', sans-serif"},children:"Time"}),t.jsxs("div",{style:{fontSize:16,fontWeight:600,color:n.dusk,fontFamily:"'Libre Baskerville', serif"},children:[e.timeStart,e.timeEnd?` - ${e.timeEnd}`:""]})]}),e.cost&&t.jsxs("div",{style:{background:"#fff",border:`1px solid ${n.sand}`,borderRadius:10,padding:"14px 18px"},children:[t.jsx("div",{style:{fontSize:13,color:n.textMuted,textTransform:"uppercase",letterSpacing:1.8,marginBottom:4,fontFamily:"'Libre Franklin', sans-serif"},children:"Cost"}),t.jsx("div",{style:{fontSize:16,fontWeight:600,color:n.dusk,fontFamily:"'Libre Baskerville', serif"},children:e.cost})]})]}),e.location&&t.jsxs("div",{style:{background:"#fff",border:`1px solid ${n.sand}`,borderRadius:10,padding:"14px 18px",display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:12},children:[t.jsxs("div",{children:[t.jsx("div",{style:{fontSize:13,color:n.textMuted,textTransform:"uppercase",letterSpacing:1.8,marginBottom:4,fontFamily:"'Libre Franklin', sans-serif"},children:"Location"}),M?t.jsxs(h,{to:`/business/${M.slug}`,style:{fontSize:16,fontWeight:600,color:n.lakeBlue,fontFamily:"'Libre Baskerville', serif",lineHeight:1.3,textDecoration:"none"},children:[e.location," ",t.jsx("span",{style:{fontSize:14,fontWeight:500},children:"â"})]}):t.jsx("div",{style:{fontSize:16,fontWeight:600,color:n.dusk,fontFamily:"'Libre Baskerville', serif",lineHeight:1.3},children:e.location})]}),t.jsx("a",{href:`https://maps.google.com/?q=${encodeURIComponent(e.location+" Manitou Beach Michigan")}`,target:"_blank",rel:"noreferrer",style:{background:n.lakeBlue,color:"#fff",padding:"8px 14px",borderRadius:8,textDecoration:"none",fontSize:14,fontWeight:600,whiteSpace:"nowrap",flexShrink:0},children:"Get directions"})]})]})}),e.description&&t.jsx(k,{delay:60,children:t.jsxs("div",{style:{marginBottom:32},children:[t.jsx("h2",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:20,color:n.dusk,margin:"0 0 12px"},children:"About this event"}),t.jsx("p",{style:{fontSize:16,lineHeight:1.85,color:n.text,margin:0,whiteSpace:"pre-wrap"},children:e.description}),(C=e.detailBlocks)==null?void 0:C.filter(a=>a!==e.description).map((a,o)=>t.jsx("p",{style:{fontSize:16,lineHeight:1.85,color:n.text,margin:"12px 0 0",whiteSpace:"pre-wrap"},children:a},o))]})}),(()=>{const a=[{key:"trucks",label:"Food trucks",link:o=>`/food-trucks/${o}`},{key:"entertainment",label:"Live music",link:null},{key:"vendors",label:"Vendors",link:null}].map(o=>{var l;return{...o,items:((l=e.lineup)==null?void 0:l[o.key])||[]}}).filter(o=>o.items.length);return a.length?t.jsx(k,{delay:90,children:t.jsxs("div",{style:{marginBottom:32},children:[t.jsx("h2",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:20,color:n.dusk,margin:"0 0 14px"},children:"Who's there"}),t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:18},children:a.map(o=>t.jsxs("div",{children:[t.jsx("div",{style:{fontSize:13,fontWeight:700,letterSpacing:1,textTransform:"uppercase",color:n.textMuted,marginBottom:8},children:o.label}),t.jsx("div",{style:{display:"flex",flexWrap:"wrap",gap:8},children:o.items.map((l,b)=>{const W=t.jsxs(t.Fragment,{children:[t.jsx("span",{style:{fontWeight:600},children:l.name}),l.times&&t.jsx("span",{style:{color:n.textMuted,fontWeight:500,marginLeft:7},children:l.times})]}),A={display:"inline-flex",alignItems:"center",background:l.slug?`${n.sage}12`:n.warmWhite,border:`1px solid ${l.slug?`${n.sage}44`:n.sand}`,borderRadius:20,padding:"8px 15px",fontSize:16,color:n.text,textDecoration:"none"};return o.link&&l.slug?t.jsx("a",{href:o.link(l.slug),style:A,children:W},b):t.jsx("span",{style:A,children:W},b)})})]},o.key))})]})}):null})(),!y&&(e.ticketsEnabled||e.rsvpEnabled||e.eventUrl)&&t.jsx(k,{delay:120,children:t.jsxs("div",{style:{display:"flex",gap:12,flexWrap:"wrap",marginBottom:36},children:[e.ticketsEnabled&&e.eventUrl&&t.jsxs("a",{href:e.eventUrl,target:"_blank",rel:"noreferrer",style:{background:n.sunset,color:"#fff",padding:"13px 28px",borderRadius:8,textDecoration:"none",fontWeight:700,fontSize:17}
4,children:[e.ctaLabel||"Get Tickets",e.ticketPrice?` · $${e.ticketPrice}`:""]}),e.rsvpEnabled&&t.jsx("a",{href:e.eventUrl||"#",target:"_blank",rel:"noreferrer",style:{background:n.dusk,color:"#fff",padding:"13px 28px",borderRadius:8,textDecoration:"none",fontWeight:700,fontSize:17},children:e.ctaLabel||"RSVP"}),e.eventUrl&&!e.ticketsEnabled&&!e.rsvpEnabled&&t.jsx("a",{href:e.eventUrl,target:"_blank",rel:"noreferrer",style:{background:n.lakeBlue,color:"#fff",padding:"13px 28px",borderRadius:8,textDecoration:"none",fontWeight:700,fontSize:17},children:e.ctaLabel||"More Info"})]})})]}),d.filter(a=>!w(a.date)).length>0&&t.jsx(k,{delay:0,children:t.jsx("div",{style:{background:n.warmWhite,borderTop:`1px solid ${n.sand}`,marginTop:16,padding:"36px 0 48px"},children:t.jsxs("div",{style:{maxWidth:760,margin:"0 auto",padding:"0 24px"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"baseline",justifyContent:"space-between",marginBottom:20,flexWrap:"wrap",gap:8},children:[t.jsx("h2",{style:{fontFamily:"'Libre Baskerville', serif",fontSize:20,color:n.dusk,margin:0},children:"More coming up at Manitou Beach"}),t.jsx(h,{to:"/events",style:{fontSize:15,color:n.lakeBlue,textDecoration:"none",fontWeight:600},children:"See all events â"})]}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:14},className:"event-related-grid",children:d.filter(a=>!w(a.date)).map(a=>t.jsx(ee,{event:a},a.id))})]})})}),!z&&!y&&t.jsx("div",{style:{maxWidth:760,margin:"0 auto",padding:"0 24px"},children:t.jsx(h,{to:"/submit-event",style:{fontSize:14,color:n.textMuted,textDecoration:"none"},children:"Is this your event? Add a photo & update details â"})}),t.jsxs("div",{style:{maxWidth:760,margin:"0 auto",padding:"12px 24px 60px",display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:12},children:[t.jsx(h,{to:"/events",style:{color:n.lakeBlue,textDecoration:"none",fontSize:16,fontWeight:600},children:"â All events"}),t.jsx(h,{to:"/submit-event",style:{color:n.textMuted,textDecoration:"none",fontSize:15},children:"Got an event? List it free â"})]})]})]}),t.jsx(q,{scrollTo:B}),t.jsx("style",{children:` 5 .event-detail-hero { height: 380px; } 6 .event-detail-hero-content { padding-top: 64px !important; padding-bottom: 48px !important; } 7 .event-detail-title { font-size: 36px !important; } 8 .event-detail-grid { grid-template-columns: 1fr; } 9 .event-detail-subgrid { grid-template-columns: 1fr 1fr; } 10 .event-related-grid { grid-template-columns: repeat(4, 1fr); } 11 12 @media (max-width: 768px) { 13 .event-related-grid { grid-template-columns: repeat(2, 1fr) !important; } 14 } 15 @media (max-width: 640px) { 16 .event-detail-hero { height: 280px !important; } 17 .event-detail-hero-content { padding-top: 40px !important; padding-bottom: 32px !important; } 18 .event-detail-title { font-size: 28px !important; } 19 .event-detail-subgrid { grid-template-columns: 1fr !important; } 20 .event-related-grid { grid-template-columns: repeat(2, 1fr) !important; } 21 } 22 `})]})}export{ne 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.