1import{f as e,l as t,u as n}from"./proxy-C5GI03iD.js";import{c as r}from"./api-BEFHdczY.js";import{o as i}from"./galleryImages-DfYVHwz8.js";import{_ as a}from"./index-FcAN4xFm.js";import{n as o,t as s}from"./PageSections-D3hgKSK_.js";var c=e(n(),1),l=t();function u(){let[e,t]=(0,c.useState)(null),[n,u]=(0,c.useState)(!0),[d,f]=(0,c.useState)(null);return(0,c.useEffect)(()=>{r().then(e=>{let n=(e.menuData||[]).find(e=>e.published!==!1&&(e.name||``).toLowerCase()===`event packages`);t(n||null)}).catch(()=>t(null)).finally(()=>u(!1))},[]),(0,l.jsxs)(`div`,{children:[(0,l.jsx)(s,{title:`Group Dining`,subtitle:`Celebrate with us`,backgroundImage:i}),(0,l.jsx)(o,{children:(0,l.jsxs)(`div`,{className:`max-w-4xl mx-auto`,children:[(0,l.jsx)(`p`,{className:`text-muted-foreground leading-relaxed mb-8 text-center font-body max-w-3xl mx-auto`,children:`With seating for 20 in a cozy and comfortable ambiance, Rustik's main upper space is the perfect setting for celebrating birthdays, job promotions, bridal showers, graduations and more.`}),(0,l.jsx)(`div`,{className:`text-center mb-16`,children:(0,l.jsx)(a,{to:`/book-event`,className:`inline-block px-10 py-4 bg-secondary text-secondary-foreground font-body font-semiboldr text-sm rounded-md hover:opacity-90 transition-opacity`,children:`Book Event`})}),(0,l.jsx)(`h2`,{className:`font-heading text-4xl text-center text-foreground mb-10 font-semibold`,children:`Event Packages`}),n?(0,l.jsx)(`div`,{className:`flex justify-center py-12`,children:(0,l.jsx)(`div`,{className:`w-8 h-8 border-2 border-primary border-t-transparent rounded-full animate-spin`})}):e?(0,l.jsxs)(l.Fragment,{children:[e.description&&(0,l.jsx)(`p`,{className:`text-muted-foreground text-center font-body mb-8 leading-relaxed`,children:e.description}),e.type===`structured`&&Array.isArray(e.sections)&&(0,l.jsx)(`div`,{className:`space-y-12`,children:[...e.sections].sort((e,t)=>(parseInt(e.order||`0`)||0)-(parseInt(t.order||`0`)||0)).map((e,t)=>(0,l.jsxs)(`div`,{children:[(0,l.jsx)(`h3`,{className:`font-heading text-2xl text-foreground mb-2 text-center font-semibold`,children:e.name}),e.description&&(0,l.jsx)(`p`,{className:`text-muted-foreground text-sm text-center mb-6 font-body italic`,children:e.description}),(0,l.jsx)(`div`,{className:`space-y-4`,children:(e.items||[]).filter(e=>e.active!==!1).map((e,t)=>(0,l.jsxs)(`div`,{className:`flex items-start gap-4 border-b border-border pb-4`,children:[e.photo?.url&&(0,l.jsx)(`button`,{onClick:()=>f(e.photo.full||e.photo.url),className:`shrink-0`,children:(0,l.jsx)(`img`,{src:e.photo.url,alt:e.name,className:`w-20 h-20 object-cover rounded-md cursor-pointer hover:opacity-80 transition-opacity`,loading:`lazy`})}),(0,l.jsxs)(`div`,{className:`flex-1 min-w-0`,children:[(0,l.jsxs)(`div`,{className:`flex items-baseline justify-between gap-3`,children:[(0,l.jsx)(`h4`,{className:`text-foreground font-body font-semibold text-base`,children:e.name}),e.cost?.price&&(0,l.jsx)(`span`,{className:`text-secondary font-heading text-lg shrink-0 font-semibold`,children:e.cost.price})]}),e.description&&(0,l.jsx)(`p`,{className:`text-muted-foreground text-sm mt-1 font-body leading-relaxed`,children:e.description})]})]},t))})]},t))}),e.type===`pdf`&&e.preview&&(0,l.jsx)(`div`,{className:`text-center`,children:(0,l.jsx)(`img`,{src:e.preview,alt:e.name,className:`max-w-md mx-auto rounded-md shadow-sm`})}),e.disclaimer&&(0,l.jsx)(`p`,{className:`text-muted-foreground text-xs text-center font-body italic mt-8`,children:e.disclaimer}),(0,l.jsx)(`div`,{className:`text-center mt-12`,children:(0,l.jsx)(a,{to:`/book-event`,className:`inline-block px-10 py-4 bg-secondary text-secondary-foreground font-body font-semiboldr text-sm rounded-md hover:opacity-90 transition-opacity`,children:`Book Event`})})]}):(0,l.jsx)(`p`,{className:`text-center text-muted-foreground font-body py-8`,children:`Event packages coming soon.`})]})}),d&&(0,l.jsx)(`div`,{className:`fixed inset-0 z-50 bg-black/90 flex items-center justify-center p-4`,onClick:()=>f(null),children:(0,l.jsx)(`img`,{src:d,alt:`Event package item`,className:`max-w-full max-h-[90vh] object-contain rounded-md`})})]})}export{u as t};
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.