PageSourceSearch

https://www.eatwellonline.com/_next/static/chunks/9426-e249e56ef0a20eb9.js

js eatwellonline.com collected 2026-10-08 11:32:39 UTC 53,226 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9426],{13994:(e,s,l)=>{"use strict";l.d(s,{default:()=>i});var t=l(95155),a=l(12115),r=l(98937),n=l.n(r);let i=e=>{let{words:s,interval:l=100,className:r=""}=e,[i,o]=(0,a.useState)(0),[c,d]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=setInterval(()=>{d(!0),setTimeout(()=>{o(e=>e===s.length-1?0:e+1),d(!1)},50)},l);return()=>clearInterval(e)},[s.length,l]),(0,t.jsx)("span",{className:"".concat(n().container," ").concat(r),children:(0,t.jsx)("span",{className:"".concat(n().word," ").concat(c?n().fadeOut:n().fadeIn),children:s[i]},i)})}},17037:(e,s,l)=>{"use strict";l.d(s,{ScrollArea:()=>n,ScrollBar:()=>i});var t=l(95155);l(12115);var a=l(59034),r=l(64269);function n(e){let{className:s,children:l,...n}=e;return(0,t.jsxs)(a.bL,{"data-slot":"scroll-area",className:(0,r.cn)("relative",s),...n,children:[(0,t.jsx)(a.LM,{"data-slot":"scroll-area-viewport",className:"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",children:l}),(0,t.jsx)(i,{}),(0,t.jsx)(a.OK,{})]})}function i(e){let{className:s,orientation:l="vertical",...n}=e;return(0,t.jsx)(a.VM,{"data-slot":"scroll-area-scrollbar",orientation:l,className:(0,r.cn)("flex touch-none p-px transition-colors select-none","vertical"===l&&"h-full w-2.5 border-l border-l-transparent","horizontal"===l&&"h-2.5 flex-col border-t border-t-transparent",s),...n,children:(0,t.jsx)(a.lr,{"data-slot":"scroll-area-thumb",className:"bg-border relative flex-1 rounded-full"})})}},33893:(e,s,l)=>{"use strict";l.d(s,{default:()=>r});var t=l(95155),a=l(75648);function r(e){let{widgetUrl:s}=e;return(0,t.jsx)("div",{className:"",children:(0,t.jsx)(a.Cs,{url:s,styles:{height:"690px",minWidth:"320px"}})})}},37808:(e,s,l)=>{"use strict";l.r(s),l.d(s,{Carousel:()=>x,CarouselContent:()=>m,CarouselItem:()=>h,CarouselNext:()=>j,CarouselPrevious:()=>p});var t=l(95155),a=l(12115),r=l(68072),n=l(35626),i=l(52987),o=l(64269),c=l(3998);let d=a.createContext(null);function u(){let e=a.useContext(d);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function x(e){let{orientation:s="horizontal",opts:l,setApi:n,plugins:i,className:c,children:u,...x}=e,[m,h]=(0,r.A)({...l,axis:"horizontal"===s?"x":"y"},i),[p,j]=a.useState(!1),[f,g]=a.useState(!1),b=a.useCallback(e=>{e&&(j(e.canScrollPrev()),g(e.canScrollNext()))},[]),v=a.useCallback(()=>{null==h||h.scrollPrev()},[h]),N=a.useCallback(()=>{null==h||h.scrollNext()},[h]),w=a.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),N())},[v,N]);return a.useEffect(()=>{h&&n&&n(h)},[h,n]),a.useEffect(()=>{if(h)return b(h),h.on("reInit",b),h.on("select",b),()=>{null==h||h.off("select",b)}},[h,b]),(0,t.jsx)(d.Provider,{value:{carouselRef:m,api:h,opts:l,orientation:s||((null==l?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:N,canScrollPrev:p,canScrollNext:f},children:(0,t.jsx)("div",{onKeyDownCapture:w,className:(0,o.cn)("relative",c),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...x,children:u})})}function m(e){let{className:s,...l}=e,{carouselRef:a,orientation:r}=u();return(0,t.jsx)("div",{ref:a,className:"overflow-hidden","data-slot":"carousel-content",children:(0,t.jsx)("div",{className:(0,o.cn)("flex","horizontal"===r?"-ml-4":"-mt-4 flex-col",s),...l})})}function h(e){let{className:s,...l}=e,{orientation:a}=u();return(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,o.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===a?"pl-4":"pt-4",s),...l})}function p(e){let{className:s,variant:l="outline",size:a="icon",...r}=e,{orientation:i,scrollPrev:d,canScrollPrev:x}=u();return(0,t.jsxs)(c.$,{"data-slot":"carousel-previous",variant:l,size:a,className:(0,o.cn)("absolute size-8 rounded-full","horizontal"===i?"top-1/2 -left-12 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!x,onClick:d,...r,children:[(0,t.jsx)(n.A,{}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}function j(e){let{className:s,variant:l="outline",size:a="icon",...r}=e,{orientation:n,scrollNext:d,canScrollNext:x}=u();return(0,t.jsxs)(c.$,{"data-slot":"carousel-next",variant:l,size:a,className:(0,o.cn)("absolute size-8 rounded-full","horizontal"===n?"top-1/2 -right-12 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!x,onClick:d,...r,children:[(0,t.jsx)(i.A,{}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})}},43489:(e,s,l)=>{"use strict";l.d(s,{default:()=>S});var t=l(95155),a=l(66942),r=l(16485),n=l(5282),i=l(22544),o=l(15653),c=l(12115),d=l(64269),u=l(3998),x=l(50276),m=l(43281),h=l(65142),p=l(11186),j=l(26333),f=l(4249),g=l(18720),b=l(86948),v=l(18332),N=l(35299),w=l(76784),y=l(20063),k=l(75900);let C=o.Ik({name:o.Yj().min(2,{message:"Name is required"}),phone:o.Yj().min(10,{message:"Phone number is required"}),email:o.Yj().email({message:"Please enter a valid email address"}),guestCount:o.Yj().min(1,{message:"Please select or enter guest count"}),eventDate:o.p6().optional(),source:o.Yj().optional()}),A=[{value:"1-25",label:"1-25 guests"},{value:"26-50",label:"26-50 guests"},{value:"51-100",label:"51-100 guests"},{value:"101-150",label:"101-150 guests"},{value:"151-200",label:"151-200 guests"},{value:"201+",label:"201+ guests"}];function S(e){let{headline:s,description:l}=e,[o,S]=(0,c.useState)(!1),[I,z]=(0,c.useState)(null),M=(0,y.usePathname)(),P=(0,i.mN)({resolver:(0,a.u)(C),defaultValues:{name:"",phone:"",email:"",guestCount:"",source:M||""}});async function R(e){S(!0),z(null);let s="https://submit-form.com/e7AqMKKvb";if(!s){console.error("Formspark URL is not configured."),z("The form is not configured correctly. Please contact support."),S(!1);return}
1try{let l=e.eventDate?(0,n.GP)(e.eventDate,"MM/dd/yyyy"):"Not specified",t={Source:e.source,"Form Type":"Holiday Party Quote Request",Name:e.name,Phone:e.phone,Email:e.email,"Guest Count":e.guestCount,"Event Date":l,_email:{subject:"Holiday Party Quote Request - ".concat(e.name)}},a=await fetch(s,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)});if(a.ok)(0,g.oR)("Success! We'll call you back shortly with your custom quote."),(0,w.sendGAEvent)("event","conversion_event_holiday_quote_request",{}),P.reset();else{let e=await a.json(),s=e.message||e.error||"There was an error submitting the form. Please try again.";z(s),(0,g.oR)("Submission Error: ".concat(s))}}catch(s){console.error("Form submission error:",s);let e="There was a network error. Please check your connection and try again.";z(e),(0,g.oR)(e)}finally{S(!1)}}return(0,t.jsxs)(b.Zp,{className:"border-ew-green/50 mx-auto w-full max-w-2xl py-10",children:[(0,t.jsxs)(b.aR,{className:"text-center",children:[(0,t.jsx)(b.ZB,{className:"text-2xl font-bold md:text-3xl",children:(0,t.jsx)(k.$,{field:s})}),(0,t.jsx)(b.BT,{className:"mt-3 text-base md:text-lg",children:(0,t.jsx)(k.$,{field:l})})]}),(0,t.jsxs)(b.Wu,{children:[I&&(0,t.jsx)(v.Fc,{variant:"destructive",className:"mb-6",children:(0,t.jsx)(v.TN,{children:I})}),(0,t.jsx)(m.lV,{...P,children:(0,t.jsxs)("form",{onSubmit:P.handleSubmit(R),className:"space-y-6",id:"HolidayQuoteForm",children:[(0,t.jsx)(m.zB,{control:P.control,name:"name",render:e=>{let{field:s}=e;return(0,t.jsxs)(m.eI,{children:[(0,t.jsxs)(m.lR,{className:"flex items-center",children:["Name ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(m.MJ,{children:(0,t.jsx)(h.p,{placeholder:"Your full name",...s})}),(0,t.jsx)(m.C5,{})]})}}),(0,t.jsx)(m.zB,{control:P.control,name:"phone",render:e=>{let{field:s}=e;return(0,t.jsxs)(m.eI,{children:[(0,t.jsxs)(m.lR,{className:"flex items-center",children:["Phone Number ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(m.MJ,{children:(0,t.jsx)(h.p,{placeholder:"(555) 123-4567",...s})}),(0,t.jsx)(m.Rr,{children:"We'll use this to call you back with your quote"}),(0,t.jsx)(m.C5,{})]})}}),(0,t.jsx)(m.zB,{control:P.control,name:"email",render:e=>{let{field:s}=e;return(0,t.jsxs)(m.eI,{children:[(0,t.jsxs)(m.lR,{className:"flex items-center",children:["Email ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(m.MJ,{children:(0,t.jsx)(h.p,{placeholder:"[email protected]",...s})}),(0,t.jsx)(m.C5,{})]})}}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6 md:grid-cols-2",children:[(0,t.jsx)(m.zB,{control:P.control,name:"guestCount",render:e=>{let{field:s}=e;return(0,t.jsxs)(m.eI,{children:[(0,t.jsxs)(m.lR,{className:"flex items-center",children:["Estimated Guest Count"," ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsxs)(p.l6,{onValueChange:s.onChange,value:s.value,children:[(0,t.jsx)(m.MJ,{children:(0,t.jsx)(p.bq,{children:(0,t.jsx)(p.yv,{placeholder:"Select guest count range"})})}),(0,t.jsx)(p.gC,{children:A.map(e=>(0,t.jsx)(p.eb,{value:e.value,children:e.label},e.value))})]}),(0,t.jsx)(m.C5,{})]})}}),(0,t.jsx)(m.zB,{control:P.control,name:"eventDate",render:e=>{let{field:s}=e;return(0,t.jsxs)(m.eI,{className:"flex flex-col",children:[(0,t.jsx)(m.lR,{children:"Desired Event Date (Optional)"}),(0,t.jsxs)(j.AM,{children:[(0,t.jsx)(j.Wv,{asChild:!0,children:(0,t.jsx)(m.MJ,{children:(0,t.jsxs)(u.$,{variant:"outline",className:(0,d.cn)("w-full pl-3 text-left font-normal",!s.value&&"text-muted-foreground"),children:[s.value?(0,n.GP)(s.value,"MM/dd/yyyy"):(0,t.jsx)("span",{children:"Select a date (if known)"}),(0,t.jsx)(r.A,{className:"ml-auto h-4 w-4 opacity-50"})]})})}),(0,t.jsx)(j.hl,{className:"w-auto p-0",align:"start",children:(0,t.jsx)(x.V,{mode:"single",selected:s.value,onSelect:s.onChange,disabled:e=>e<new Date,initialFocus:!0})})]}),(0,t.jsx)(m.Rr,{children:"Helps us check availability faster"}),(0,t.jsx)(m.C5,{})]})}})]}),(0,t.jsx)("div",{className:"flex flex-col items-center pt-4",children:(0,t.jsx)(u.$,{type:"submit",disabled:o,size:"lg",className:"w-full rounded-full px-8 py-6 text-lg font-bold sm:w-auto",children:o?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(N.A,{className:"mr-2 h-5 w-5 animate-spin"}),"Submitting..."]}):"Get My Free Quote Now"})})]})}),(0,t.jsx)(f.l,{})]})]})}},49865:(e,s,l)=>{"use strict";l.d(s,{default:()=>I});var t=l(95155),a=l(66942),r=l(22544),n=l(15653),i=l(12115),o=l(20063),c=l(3998),d=l(43281),u=l(65142),x=l(31120),m=l(11186),h=l(69600),p=l(5917),j=l(64269);function f(e){let{className:s,...l}=e;return(0,t.jsx)(h.bL,{"data-slot":"checkbox",className:(0,j.cn)("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",s),...l,children:(0,t.jsx)(h.C1,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:(0,t.jsx)(p.A,{className:"size-3.5"})})})}var g=l(40773),b=l(99051);function v(e){let{className:s,...l}=e;return(0,t.jsx)(g.bL,{"data-slot":"radio-group",className:(0,j.cn)("grid gap-3",s),...l})}function N(e){let{className:s,...l}=e;return(0,t.jsx)(g.q7,{"data-slot":"radio-group-item",className:(0,j.cn)("border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",s),...l,children:(0,t.jsx)(g.C1,{"data-slot":"radio-group-indicator",className:"relative flex items-center justify-center",children:(0,t.jsx)(b.A,{className:"fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2"})})})}var w=l(4249),y=l(18720),k=l(86948),C=l(18332),A=l(35299);let S=[{value:"server",label:"Server"},{value:"kitchen-staff",label:"Kitchen Staff"},{value:"office-team",label:"Office Team"},{value:"event-coordinator",label:"Event Coordinator"},{value:"bartender",label:"Bartender"},{value:"delivery-driver",label:"Delivery Driver"},{value:"other",label:"Other"}];function I(e){let{alwaysFullForm:s=!1}=e,[l,h]=(0,i.useState)(!1),[p,j]=(0,i.useState)(null),g=function(e){if(!e)return"";let s=e.replace(/[\u0000-\u001F\u007F]/g,"").trim();return""===s||s.length>80||S.some(e=>e.value===s)?"":s}((0,o.useSearchParams)().get("position")),b=g&&!s?"quick":"full",I="quick"===b,z
1=(0,r.mN)({resolver:(0,a.u)(function(e){let s=function(s){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return"full"===e?n.Yj().min(l,{message:s}):n.Yj().optional()};return n.Ik({firstName:n.Yj().min(2,{message:"First name is required"}),lastName:n.Yj().min(2,{message:"Last name is required"}),email:n.Yj().email({message:"Please enter a valid email address"}),phone:n.Yj().min(10,{message:"Phone number is required"}),streetAddress:s("Street address is required"),city:s("City is required"),state:s("State is required"),zipCode:s("ZIP code is required",5),position:n.Yj().min(1,{message:"Position of interest is required"}),availability:n.Yj().min(10,{message:"Please describe your availability"}),transportation:n.k5(["yes","no"],{required_error:"Please select whether you have reliable transportation"}),legalToWork:n.k5(["yes","no"],{required_error:"Please confirm your work authorization status"}),experience:n.Yj().min(10,{message:"Please describe your relevant experience"}),whyWorkHere:s("Please tell us why you want to work for eat well",10),referenceName:n.Yj().optional(),referenceRelationship:n.Yj().optional(),referencePhone:n.Yj().optional(),referenceEmail:n.Yj().optional(),backgroundCheck:"full"===e?n.zM().refine(e=>!0===e,{message:"You must consent to a background check"}):n.zM().optional(),additionalInfo:n.Yj().optional()})}(b)),defaultValues:{firstName:"",lastName:"",email:"",phone:"",streetAddress:"",city:"",state:"",zipCode:"",position:g,availability:"",transportation:void 0,legalToWork:void 0,experience:"",whyWorkHere:"",referenceName:"",referenceRelationship:"",referencePhone:"",referenceEmail:"",backgroundCheck:!1,additionalInfo:""}});async function M(e){h(!0),j(null);try{let s={"First Name":e.firstName,"Last Name":e.lastName,"Full Name":"".concat(e.firstName," ").concat(e.lastName),Email:e.email,Phone:e.phone,Address:I?"Not provided":"".concat(e.streetAddress,", ").concat(e.city,", ").concat(e.state," ").concat(e.zipCode),"Position of Interest":e.position,Availability:e.availability,"Reliable Transportation":"yes"===e.transportation?"Yes":"No","Legal to Work":"yes"===e.legalToWork?"Yes":"No","Previous Experience":e.experience,"Why Work Here":I?"Not provided":e.whyWorkHere,"Reference Name":e.referenceName||"Not provided","Reference Relationship":e.referenceRelationship||"Not provided","Reference Phone":e.referencePhone||"Not provided","Reference Email":e.referenceEmail||"Not provided","Background Check Consent":I?"Not provided":e.backgroundCheck?"Yes":"No","Additional Information":e.additionalInfo||"None",_email:{subject:"New Employment Application - ".concat(e.firstName," ").concat(e.lastName)}},l=await fetch("https://submit-form.com/Lj5ZsccJH",{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)}),t=await l.json();l.ok?((0,y.oR)("Application Submitted: Thank you for your interest in eat well! We'll be in touch soon."),z.reset()):(j(t.error||"There was an error submitting your application. Please try again."),(0,y.oR)("Submission Error: There was a problem submitting your application. Please try again."))}catch(e){console.error("Form submission error:",e),j("There was a network error. Please check your connection and try again."),(0,y.oR)("Network Error: There was a problem connecting to the server. Please try again.")}finally{h(!1)}}return(0,t.jsx)("div",{className:"mx-auto max-w-4xl space-y-8",children:(0,t.jsx)(k.Zp,{className:"border-0 shadow-none",children:(0,t.jsxs)(k.Wu,{children:[p&&(0,t.jsx)(C.Fc,{variant:"destructive",className:"mb-6",children:(0,t.jsx)(C.TN,{children:p})}),(0,t.jsx)(d.lV,{...z,children:(0,t.jsxs)("form",{onSubmit:z.handleSubmit(M),className:"space-y-6",id:"ApplicationForm",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsxs)("span",{className:"text-sm font-medium",children:["Name ",(0,t.jsx)("span",{className:"text-red-500",children:"*"})]})}),(0,t.jsxs)("div",{className:"grid grid-cols-2 gap-4 lg:grid-cols-1",children:[(0,t.jsx)(d.zB,{control:z.control,name:"firstName",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsx)(d.MJ,{className:"w-full lg:w-3/4",children:(0,t.jsx)(u.p,{placeholder:"First",...s})}
1),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsx)(d.zB,{control:z.control,name:"lastName",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsx)(d.MJ,{className:"w-full lg:w-3/4",children:(0,t.jsx)(u.p,{placeholder:"Last",...s})}),(0,t.jsx)(d.C5,{})]})}})]})]}),(0,t.jsx)(d.zB,{control:z.control,name:"email",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsxs)(d.lR,{className:"flex items-center",children:["Email Address ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(d.MJ,{className:"w-full sm:w-3/4",children:(0,t.jsx)(u.p,{type:"email",...s})}),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsx)(d.zB,{control:z.control,name:"phone",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsxs)(d.lR,{className:"flex items-center",children:["Phone Number ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(d.MJ,{className:"w-full sm:w-3/4",children:(0,t.jsx)(u.p,{type:"tel",...s})}),(0,t.jsx)(d.C5,{})]})}}),!I&&(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsxs)("span",{className:"text-sm font-medium",children:["Address ",(0,t.jsx)("span",{className:"text-red-500",children:"*"})]})}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsx)(d.zB,{control:z.control,name:"streetAddress",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsx)(d.MJ,{className:"w-full lg:w-3/4",children:(0,t.jsx)(u.p,{placeholder:"Street Address",...s})}),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-4 lg:grid-cols-2",children:[(0,t.jsx)("div",{className:"lg:col-span-2",children:(0,t.jsx)(d.zB,{control:z.control,name:"city",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsx)(d.MJ,{className:"w-full lg:w-3/4",children:(0,t.jsx)(u.p,{placeholder:"City",...s})}),(0,t.jsx)(d.C5,{})]})}})}),(0,t.jsx)(d.zB,{control:z.control,name:"state",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsxs)(m.l6,{onValueChange:s.onChange,defaultValue:s.value,children:[(0,t.jsx)(d.MJ,{className:"w-full",children:(0,t.jsx)(m.bq,{children:(0,t.jsx)(m.yv,{placeholder:"State"})})}),(0,t.jsxs)(m.gC,{children:[(0,t.jsx)(m.eb,{value:"AL",children:"Alabama"}),(0,t.jsx)(m.eb,{value:"AK",children:"Alaska"}),(0,t.jsx)(m.eb,{value:"AZ",children:"Arizona"}),(0,t.jsx)(m.eb,{value:"AR",children:"Arkansas"}),(0,t.jsx)(m.eb,{value:"CA",children:"California"}),(0,t.jsx)(m.eb,{value:"CO",children:"Colorado"}),(0,t.jsx)(m.eb,{value:"CT",children:"Connecticut"}),(0,t.jsx)(m.eb,{value:"DE",children:"Delaware"}),(0,t.jsx)(m.eb,{value:"FL",children:"Florida"}),(0,t.jsx)(m.eb,{value:"GA",children:"Georgia"}),(0,t.jsx)(m.eb,{value:"HI",children:"Hawaii"}),(0,t.jsx)(m.eb,{value:"ID",children:"Idaho"}),(0,t.jsx)(m.eb,{value:"IL",children:"Illinois"}),(0,t.jsx)(m.eb,{value:"IN",children:"Indiana"}),(0,t.jsx)(m.eb,{value:"IA",children:"Iowa"}),(0,t.jsx)(m.eb,{value:"KS",children:"Kansas"}),(0,t.jsx)(m.eb,{value:"KY",children:"Kentucky"}),(0,t.jsx)(m.eb,{value:"LA",children:"Louisiana"}),(0,t.jsx)(m.eb,{value:"ME",children:"Maine"}),(0,t.jsx)(m.eb,{value:"MD",children:"Maryland"}),(0,t.jsx)(m.eb,{value:"MA",children:"Massachusetts"}),(0,t.jsx)(m.eb,{value:"MI",children:"Michigan"}),(0,t.jsx)(m.eb,{value:"MN",children:"Minnesota"}),(0,t.jsx)(m.eb,{value:"MS",children:"Mississippi"}),(0,t.jsx)(m.eb,{value:"MO",children:"Missouri"}),(0,t.jsx)(m.eb,{value:"MT",children:"Montana"}),(0,t.jsx)(m.eb,{value:"NE",children:"Nebraska"}),(0,t.jsx)(m.eb,{value:"NV",children:"Nevada"}),(0,t.jsx)(m.eb,{value:"NH",children:"New Hampshire"}),(0,t.jsx)(m.eb,{value:"NJ",children:"New Jersey"}),(0,t.jsx)(m.eb,{value:"NM",children:"New Mexico"}),(0,t.jsx)(m.eb,{value:"NY",children:"New York"}),(0,t.jsx)(m.eb,{value:"NC",children:"North Carolina"}),(0,t.jsx)(m.eb,{value:"ND",children:"North Dakota"}),(0,t.jsx)(m.eb,{value:"OH",children:"Ohio"}),(0,t.jsx)(m.eb,{value:"OK",children:"Oklahoma"}),(0,t.jsx)(m.eb,{value:"OR",children:"Oregon"}),(0,t.jsx)(m.eb,{value:"PA",children:"Pennsylvania"}),(0,t.jsx)(m.eb,{value:"RI",children:"Rhode Island"}),(0,t.jsx)(m.eb,{value:"SC",children:"South Carolina"}),(0,t.jsx)(m.eb,{value:"SD",children:"South Dakota"}),(0,t.jsx)(m.eb,{value:"TN",children:"Tennessee"}),(0,t.jsx)(m.eb,{value:"TX",children:"Texas"}),(0,t.jsx)(m.eb,{value:"UT",children:"Utah"}),(0,t.jsx)(m.eb,{value:"VT",children:"Vermont"}),(0,t.jsx)(m.eb,{value:"VA",children:"Virginia"}),(0,t.jsx)(m.eb,{value:"WA",children:"Washington"}),(0,t.jsx)(m.eb,{value:"WV",children:"West Virginia"}),(0,t.jsx)(m.eb,{value:"WI",children:"Wisconsin"}),(0,t.jsx)(m.eb,{value:"WY",children:"Wyoming"})]})]}
1),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsx)(d.zB,{control:z.control,name:"zipCode",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsx)(d.MJ,{children:(0,t.jsx)(u.p,{placeholder:"ZIP Code",...s})}),(0,t.jsx)(d.C5,{})]})}})]})]})]}),(0,t.jsx)(d.zB,{control:z.control,name:"position",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsxs)(d.lR,{className:"flex items-center",children:["Position of Interest"," ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsxs)(m.l6,{onValueChange:s.onChange,value:s.value,children:[(0,t.jsx)(d.MJ,{className:"w-full sm:w-3/4",children:(0,t.jsx)(m.bq,{children:(0,t.jsx)(m.yv,{placeholder:"Select position"})})}),(0,t.jsxs)(m.gC,{children:[g&&(0,t.jsx)(m.eb,{value:g,children:g}),S.map(e=>(0,t.jsx)(m.eb,{value:e.value,children:e.label},e.value))]})]}),g&&(0,t.jsx)(d.Rr,{children:"Pre-selected from the role you clicked. You can change it if you meant a different one."}),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsx)(d.zB,{control:z.control,name:"availability",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsxs)(d.lR,{className:"flex items-center",children:["Availability ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(d.MJ,{children:(0,t.jsx)(x.T,{placeholder:"Please describe your availability (days, times, etc.)",rows:3,className:"resize-none",...s})}),(0,t.jsx)(d.Rr,{children:"Please include days of the week, times, and any restrictions."}),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsx)(d.zB,{control:z.control,name:"transportation",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{className:"space-y-3",children:[(0,t.jsxs)(d.lR,{className:"flex items-center",children:["Do you have reliable transportation?"," ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(d.MJ,{children:(0,t.jsxs)(v,{onValueChange:s.onChange,defaultValue:s.value,className:"flex flex-row space-x-6",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(N,{value:"yes",id:"transport-yes"}),(0,t.jsx)(d.lR,{htmlFor:"transport-yes",children:"Yes"})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(N,{value:"no",id:"transport-no"}),(0,t.jsx)(d.lR,{htmlFor:"transport-no",children:"No"})]})]})}),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsx)(d.zB,{control:z.control,name:"legalToWork",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{className:"space-y-3",children:[(0,t.jsxs)(d.lR,{className:"flex items-center",children:["Are you legally authorized to work in the United States?"," ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(d.MJ,{children:(0,t.jsxs)(v,{onValueChange:s.onChange,defaultValue:s.value,className:"flex flex-row space-x-6",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(N,{value:"yes",id:"legal-yes"}),(0,t.jsx)(d.lR,{htmlFor:"legal-yes",children:"Yes"})]}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(N,{value:"no",id:"legal-no"}),(0,t.jsx)(d.lR,{htmlFor:"legal-no",children:"No"})]})]})}),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsx)(d.zB,{control:z.control,name:"experience",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsxs)(d.lR,{className:"flex items-center",children:["Previous Experience"," ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(d.MJ,{children:(0,t.jsx)(x.T,{placeholder:"Please describe your relevant work experience, especially in food service, hospitality, or events",rows:4,className:"resize-none",...s})}),(0,t.jsx)(d.Rr,{children:"Include any relevant work experience that would be helpful for this position."}),(0,t.jsx)(d.C5,{})]})}}),!I&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.zB,{control:z.control,name:"whyWorkHere",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsxs)(d.lR,{className:"flex items-center",children:["Why do you want to work for eat well?"," ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(d.MJ,{children:(0,t.jsx)(x.T,{placeholder:"Tell us what interests you about working with our team",rows:3,className:"resize-none",...s})}
1),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("span",{className:"text-sm font-medium",children:"Professional Reference"}),(0,t.jsx)("p",{className:"mt-1 text-sm text-gray-600",children:"Please provide contact information for a professional reference."})]}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-1",children:[(0,t.jsx)(d.zB,{control:z.control,name:"referenceName",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsx)(d.MJ,{className:"w-full lg:w-3/4",children:(0,t.jsx)(u.p,{placeholder:"Reference Name",...s})}),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsx)(d.zB,{control:z.control,name:"referenceRelationship",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsx)(d.MJ,{className:"w-full lg:w-3/4",children:(0,t.jsx)(u.p,{placeholder:"Relationship (e.g., Former supervisor)",...s})}),(0,t.jsx)(d.C5,{})]})}})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-1",children:[(0,t.jsx)(d.zB,{control:z.control,name:"referencePhone",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsx)(d.MJ,{className:"w-full lg:w-3/4",children:(0,t.jsx)(u.p,{placeholder:"Reference Phone",type:"tel",...s})}),(0,t.jsx)(d.C5,{})]})}}),(0,t.jsx)(d.zB,{control:z.control,name:"referenceEmail",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsx)(d.MJ,{className:"w-full lg:w-3/4",children:(0,t.jsx)(u.p,{placeholder:"Reference Email",type:"email",...s})}),(0,t.jsx)(d.C5,{})]})}})]})]})]}),(0,t.jsx)(d.zB,{control:z.control,name:"backgroundCheck",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{className:"flex flex-row items-start space-y-0 space-x-3",children:[(0,t.jsx)(d.MJ,{children:(0,t.jsx)(f,{checked:s.value,onCheckedChange:s.onChange})}),(0,t.jsxs)("div",{className:"space-y-1 leading-none",children:[(0,t.jsxs)(d.lR,{className:"flex items-center",children:["I consent to a background check if offered employment"," ",(0,t.jsx)("span",{className:"ml-1 text-red-500",children:"*"})]}),(0,t.jsx)(d.C5,{})]})]})}}),(0,t.jsx)(d.zB,{control:z.control,name:"additionalInfo",render:e=>{let{field:s}=e;return(0,t.jsxs)(d.eI,{children:[(0,t.jsx)(d.lR,{children:"Additional Comments"}),(0,t.jsx)(d.MJ,{children:(0,t.jsx)(x.T,{placeholder:"Any additional information you'd like to share",rows:3,className:"resize-none",...s})}),(0,t.jsx)(d.C5,{})]})}})]}),I&&(0,t.jsx)("p",{className:"text-ew-black/70 text-sm font-thin",children:"We only need the essentials to get started. If it looks like a fit, we’ll follow up for the rest."}),(0,t.jsx)(c.$,{type:"submit",disabled:l,children:l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.A,{className:"mr-2 h-4 w-4 animate-spin"}),"SUBMITTING..."]}):"SUBMIT APPLICATION"})]})}),(0,t.jsx)(w.l,{})]})})})}},51176:(e,s,l)=>{"use strict";l.d(s,{default:()=>r});var t=l(95155),a=l(12115);function r(){let[e,s]=(0,a.useState)(""),[l,r]=(0,a.useState)(""),[n,i]=(0,a.useState)(""),[o,c]=(0,a.useState)("idle"),[d,u]=(0,a.useState)(""),x=async t=>{t.preventDefault(),c("loading"),u("");try{let t=await fetch("/api/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,firstName:l,lastName:n})}),a=await t.json();t.ok?(c("success"),u("\uD83C\uDF89 Success! Your holiday menu is ready to download below. We've also sent a copy to your email."),s(""),r(""),i("")):(c("error"),u(a.error||"Something went wrong"))}catch(e){c("error"),u("Network error. Please try again.")}};return(0,t.jsx)("div",{className:"mx-auto w-full max-w-lg",children:(0,t.jsxs)("div",{className:"p-8",children:[(0,t.jsxs)("div",{className:"mb-8 text-center",children:[(0,t.jsx)("div",{className:"mb-4 inline-block rounded-full bg-red-600 px-4 py-1 text-sm font-semibold text-white",children:"Limited Availability"}),(0,t.jsx)("h2",{className:"text-ew-black mb-3 font-serif text-4xl",children:"Holiday Party Sample Menu"}),(0,t.jsx)("p",{className:"text-gray-700",children:"Download our exclusive holiday menu with seasonal ideas perfect for your celebrations"})]}),(0,t.jsxs)("form",{onSubmit:x,className:"space-y-5",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"firstName",className:"mb-2 block text-sm font-semibold text-gray-700",children:"First Name"}
1),(0,t.jsx)("input",{type:"text",id:"firstName",value:l,onChange:e=>r(e.target.value),className:"w-full rounded-lg border-2 border-gray-200 px-4 py-3 transition-colors focus:border-red-500 focus:ring-2 focus:ring-red-500",placeholder:"John"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"lastName",className:"mb-2 block text-sm font-semibold text-gray-700",children:"Last Name"}),(0,t.jsx)("input",{type:"text",id:"lastName",value:n,onChange:e=>i(e.target.value),className:"w-full rounded-lg border-2 border-gray-200 px-4 py-3 transition-colors focus:border-red-500 focus:ring-2 focus:ring-red-500",placeholder:"Doe"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:"email",className:"mb-2 block text-sm font-semibold text-gray-700",children:["Email Address ",(0,t.jsx)("span",{className:"text-red-600",children:"*"})]}),(0,t.jsx)("input",{type:"email",id:"email",value:e,onChange:e=>s(e.target.value),required:!0,className:"w-full rounded-lg border-2 border-gray-200 px-4 py-3 transition-colors focus:border-red-500 focus:ring-2 focus:ring-red-500",placeholder:"[email protected]"})]}),(0,t.jsx)("button",{type:"submit",disabled:"loading"===o,className:"w-full transform rounded-lg bg-red-200 from-red-600 to-white px-6 py-4 font-bold text-red-600 shadow-lg transition-all duration-200 hover:-translate-y-0.5 hover:bg-gradient-to-r hover:from-red-700 hover:to-red-50 hover:text-white hover:shadow-xl disabled:transform-none disabled:cursor-not-allowed disabled:from-gray-400 disabled:to-gray-400",children:"loading"===o?(0,t.jsxs)("span",{className:"flex items-center justify-center",children:[(0,t.jsxs)("svg",{className:"mr-3 -ml-1 h-5 w-5 animate-spin text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Subscribing..."]}):"\uD83C\uDF81 Get Holiday Menu"}),d&&(0,t.jsx)("div",{className:"rounded-lg border-2 p-4 ".concat("success"===o?"border-green-200 bg-green-50 text-green-800":"border-red-200 bg-red-50 text-red-800"),children:(0,t.jsxs)("div",{className:"flex items-start",children:[(0,t.jsx)("span",{className:"mr-2 text-xl",children:"success"===o?"✓":"⚠"}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsx)("p",{className:"mb-3 font-medium",children:d}),"success"===o&&(0,t.jsxs)("a",{href:"https://mcusercontent.com/2930fc1fe5971ac85d901a748/files/85359863-0546-6f83-3087-244eba435603/sample_holiday_menu_carnegie_columbia_tusculum.pdf",download:!0,className:"inline-flex items-center gap-2 rounded-lg bg-green-600 px-6 py-3 font-semibold text-white transition-colors hover:bg-green-700",target:"_blank",children:[(0,t.jsx)("svg",{className:"h-5 w-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),"Download Menu Now"]})]})]})})]}),(0,t.jsx)("p",{className:"mt-6 text-center text-xs text-gray-500",children:"We respect your privacy. Unsubscribe anytime. No spam, just delicious updates."})]})})}},58603:(e,s,l)=>{"use strict";l.r(s),l.d(s,{default:()=>t});let t={src:"/_next/static/media/eat_well_20th_anniversary.d66f1a57.png",height:464,width:494,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAKlBMVEX9/f1MaXH9/f3+/v7+/v78/Pz9/f3+/v7+/v74+Pj+/v77+/v+/v79/f2UShUAAAAADnRSTlOOAG26pSt7zT0MX0jgU8YT+O4AAAAJcEhZcwAAFiUAABYlAUlSJPAAAAA2SURBVHicBcGHAQAwCMMwhzC6/r+3EpLO89nEWTYviPA4p+mwM/MCzQwbgorcoop1W0JaUNIHKYcBCW9INXoAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8}},63588:(e,s,l)=>{"use strict";l.r(s),l.d(s,{ImageCarousel:()=>m});var t=l(95155),a=l(12115),r=l(64269),n=l(37808),i=l(688),o=l(71700),c=l(85921),d=l(53511),u=l(75900),x=l(79495);function m(e){let{dotsInside:s=!1,className:l,aspectRatio:m="video",showArrows:h,autoplay:p=!1,showAutoplayControls:j=!1,slides:f}=e,[g,b]=a.useState(),[v,N]=a.useState(0),[w,y]=a.useState(0),[k,C]=a.useState(!1),A=a.useRef((0,o.A)("boolean"==typeof p?{delay:5e3,stopOn
1Interaction:!0}:{delay:5e3,stopOnInteraction:!0,...p}));a.useEffect(()=>{g&&(y(g.scrollSnapList().length),N(g.selectedScrollSnap()),g.on("select",()=>{N(g.selectedScrollSnap())}))},[g]);let S=a.useCallback(()=>{g&&p&&(k?(A.current.play(),C(!1)):(A.current.stop(),C(!0)))},[g,p,k]),I={square:"aspect-square",video:"aspect-video",wide:"aspect-[21/9]",auto:"aspect-auto"},z=e=>{null==g||g.scrollTo(e)},M=a.useMemo(()=>{if(p)return[A.current]},[p]);return(0,t.jsxs)("div",{className:(0,r.cn)("relative",l),children:[(0,t.jsxs)(n.Carousel,{setApi:b,className:"w-full",plugins:M,children:[(0,t.jsx)(n.CarouselContent,{children:f&&f.length>0&&f.map((e,s)=>(0,t.jsx)(n.CarouselItem,{children:(0,t.jsxs)("div",{className:(0,r.cn)("dark relative overflow-hidden",I[m]),children:[(0,t.jsxs)("div",{className:"absolute bottom-0 z-10 mx-6 w-full max-w-2xl p-10 md:mx-20 md:mb-10 lg:mb-42 lg:p-0",children:[x.YD(e.headline)&&(0,t.jsx)("div",{className:"font-display theme-dark-head:text-white text-3xl font-thin uppercase sm:text-5xl md:max-w-lg md:text-6xl lg:max-w-xl lg:text-8xl",children:(0,t.jsx)(u.$,{field:e.headline})}),x.YD(e.subline)&&(0,t.jsx)("div",{className:"text-ew-green lg:text-ew-black theme-dark-head:lg:text-ew-green max-w-md pt-4 text-lg leading-normal tracking-widest uppercase sm:text-2xl lg:max-w-3xl lg:leading-snug",children:(0,t.jsx)(u.$,{field:e.subline})})]}),(0,t.jsx)(i.PrismicNextImage,{field:e.image,className:"object-cover",fill:!0,priority:0===s}),e.add_gradient&&"dark"==e.gradient_color&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"to-ew-black/90 absolute top-0 h-[400px] w-full bg-linear-to-t from-transparent lg:h-[200px]"}),(0,t.jsx)("div",{className:"to-ew-black/90 absolute bottom-0 h-[400px] w-full bg-linear-to-b from-transparent lg:h-[600px]"})]}),e.add_gradient&&"white"==e.gradient_color&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"theme-dark-head:to-ew-black theme-dark-head:lg:via-none absolute top-0 h-[400px] w-full lg:h-[200px] lg:bg-linear-to-t lg:from-transparent lg:via-white/90 lg:to-white/20"}),(0,t.jsx)("div",{className:"theme-dark-head:to-ew-black/90 theme-dark-head:lg:via-none absolute bottom-0 h-[400px] w-full lg:h-[600px] lg:bg-linear-to-b lg:from-transparent lg:via-white/90 lg:to-white/20"})]})]})},s))}),h&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.CarouselPrevious,{className:"hover:text-ew-black/50 left-2 border border-white/50 bg-transparent text-white/80 hover:border-white hover:bg-white"}),(0,t.jsx)(n.CarouselNext,{className:"hover:text-ew-black/50 right-2 border border-white/50 bg-transparent text-white/80 hover:border-white hover:bg-white"})]}),s&&w>1&&(0,t.jsx)("div",{className:"absolute right-0 bottom-4 left-0 z-50 flex justify-center gap-2",children:Array.from({length:w}).map((e,s)=>(0,t.jsx)("button",{className:(0,r.cn)("h-2 w-2 rounded-full transition-all",v===s?"scale-125 bg-white":"bg-white/50"),onClick:()=>z(s),"aria-label":"Go to slide ".concat(s+1)},s))}),p&&j&&(0,t.jsx)("button",{onClick:S,className:"absolute right-4 bottom-4 z-10 rounded-full bg-black/50 p-2 text-white transition-colors hover:bg-black/70","aria-label":k?"Play slideshow":"Pause slideshow",children:k?(0,t.jsx)(c.A,{className:"h-4 w-4"}):(0,t.jsx)(d.A,{className:"h-4 w-4"})})]}),!s&&w>0&&(0,t.jsx)("div",{className:"my-4 flex justify-center gap-2 bg-red-200",children:Array.from({length:w}).map((e,s)=>(0,t.jsx)("button",{className:(0,r.cn)("h-2 w-2 rounded-full transition-all",v===s?"bg-ew-black/20 scale-125":"border-ew-black/20 border"),onClick:()=>z(s),"aria-label":"Go to slide ".concat(s+1)},s))})]})}},88570:(e,s,l)=>{"use strict";l.d(s,{default:()=>r});var t=l(95155),a=l(12115);function r(e){let{backgroundImageUrl:s,videoUrl:l,buttonLabel:r}=e,[i,o]=(0,a.useState)(!1);return(0,t.jsx)("div",{className:"mb-10",children:(0,t.jsxs)("section",{className:"relative h-60 w-full overflow-hidden md:h-[400px]",children:[(0,t.jsx)("div",{className:"absolute inset-0 h-full w-full bg-cover bg-center",style:{backgroundImage:"url(".concat(s,")")}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/40"}),(0,t.jsx)("div",{className:"relative z-10 flex h-full flex-col items-center justify-center px-4 text-white",children:!i&&l&&(0,t.jsxs)("button",{onClick:()=>o(!0),className:"flex items-center gap-3 rounded-full bg-white/75 px-6 py-3 text-black transition-all hover:bg-gray-100",children:[(0,t.jsx)("svg",{className:"h-6 w-6",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})}),(0,t.jsx)("span",{className:"font-medium",children:r})]})}),i&&(0,t.jsx)(n,{videoUrl:l,onClose:()=>o(!1)})]})})}function n(e){let{videoUrl:s,onClose:l}=e;return(0,t.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/95 p-4",onClick:l,children:[(0,t.jsx)("button",{className:"absolute top-4 right-4 z-10 text-4xl text-white hover:text-gray-300",onClick:l,children:"\xd7"}),(0,t.jsx)("div",{className:"relative aspect-[9/16] w-full max-w-md",onClick:e=>e.stopPropagation(),children:(0,t.jsx)("video",{autoPlay:!0,controls:!0,playsInl
1ine:!0,className:"h-full w-full rounded-lg",onEnded:l,children:(0,t.jsx)("source",{src:s,type:"video/mp4"})})})]})}},92629:(e,s,l)=>{"use strict";l.d(s,{default:()=>k});var t=l(95155),a=l(12115),r=l(44989),n=l(43569),i=l(12229),o=l(3998);let c={locality:"Newport",region:"KY"},d=[{locality:"Cincinnati",region:"OH"},c,{locality:"Covington",region:"KY"}],u={hq:{label:"Newport, KY",places:[c]},commissary:{label:"Newport, KY",places:[c]},newport:{label:"Newport, KY",places:[c]},kitchen:{label:"Newport, KY",places:[c]},offsite:{label:"Greater Cincinnati",places:d},catering:{label:"Greater Cincinnati",places:d},events:{label:"Greater Cincinnati",places:d},tristate:{label:"Greater Cincinnati",places:d}},x={label:"Greater Cincinnati",places:d};function m(e){let s=e.location.trim();if(""===s)return x;let l=u[s.toLowerCase().replace(/[^a-z]/g,"")];if(l)return l;let t=s.split(/[;/|]/).map(e=>e.trim()).filter(Boolean).map(e=>{let[s,l]=e.split(",").map(e=>e.trim());return{locality:s,region:null!=l?l:""}}).filter(e=>""!==e.locality);return 0===t.length?x:{label:t.map(e=>e.region?"".concat(e.locality,", ").concat(e.region):e.locality).join(" \xb7 "),places:t}}function h(e,s){if(!/\/employment\/application\/?($|[?#])/i.test(e))return e;try{let l=new URL(e);return l.searchParams.set("position",s),l.toString()}catch(s){return e}}function p(e){let s=e.applyLink.trim();return s?/^https?:\/\//i.test(s)?h(s,e.title):/^mailto:/i.test(s)?s:s.includes("@")&&!s.includes(" ")?"mailto:".concat(s,"?subject=").concat(encodeURIComponent("Application: ".concat(e.title))):h("https://".concat(s),e.title):null}function j(e,s){return[...new Set(e.map(e=>e[s]).filter(Boolean))].sort((e,s)=>e.localeCompare(s))}function f(e){let{children:s}=e;return(0,t.jsx)("div",{className:"text-ew-black/80 prose prose-p:font-thin prose-headings:pt-4 prose-headings:text-base prose-a:font-thin prose-a:text-ew-green prose-a:hover:text-ew-accent prose-a:underline-offset-4 relative text-pretty",children:s})}function g(e,s){return e.split(/(\*\*[^*]+\*\*)/g).map((e,l)=>{let r="".concat(s,"-").concat(l);return e.startsWith("**")&&e.endsWith("**")&&e.length>4?(0,t.jsx)("strong",{children:e.slice(2,-2)},r):(0,t.jsx)(a.Fragment,{children:e},r)})}function b(e){let{description:s,className:l}=e,r=s.split(/\r?\n/),n=[];for(let e of r){if(""===e.trim()){n.push({kind:"paragraph",lines:[]});continue}let s=n[n.length-1];if(function(e){let s=e.trim();return s.startsWith("**")&&s.endsWith("**")&&!s.slice(2,-2).includes("**")}(e)){n.push({kind:"heading",text:e.trim().slice(2,-2)});continue}if(/^\s*[-*•]\s+/.test(e)){let l=e.replace(/^\s*[-*•]\s+/,"");(null==s?void 0:s.kind)==="list"?s.lines.push(l):n.push({kind:"list",lines:[l]});continue}(null==s?void 0:s.kind)==="paragraph"&&s.lines.length>0?s.lines.push(e):n.push({kind:"paragraph",lines:[e]})}return(0,t.jsx)(f,{children:(0,t.jsx)("div",{className:l,children:n.map((e,s)=>"heading"===e.kind?(0,t.jsx)("h3",{className:"font-display text-ew-black mt-6 mb-2 text-sm tracking-widest uppercase",children:e.text},s):"list"===e.kind?(0,t.jsx)("ul",{className:"my-3 list-disc pl-5",children:e.lines.map((e,l)=>(0,t.jsx)("li",{className:"font-thin",children:g(e,"".concat(s,"-").concat(l))},l))},s):0===e.lines.length?null:(0,t.jsx)("p",{className:"my-3 font-thin",children:e.lines.map((e,l)=>(0,t.jsxs)(a.Fragment,{children:[l>0&&(0,t.jsx)("br",{}),g(e,"".concat(s,"-").concat(l))]},l))},s))})})}function v(e){let{children:s}=e;return(0,t.jsx)("span",{className:"bg-ew-green/20 text-ew-black my-1 inline-flex items-center rounded-full px-3 py-1 text-xs font-medium",children:s})}function N(e){let{label:s,value:l,options:a,onChange:r}=e;return 0===a.length?null:(0,t.jsxs)("label",{className:"border-ew-black/25 flex flex-col border-b pb-1",children:[(0,t.jsx)("span",{className:"sr-only",children:s}),(0,t.jsxs)("select",{value:l,onChange:e=>r(e.target.value),className:"font-display text-ew-black focus-visible:outline-ew-green cursor-pointer appearance-none bg-transparent py-1 pr-6 text-sm tracking-widest uppercase focus-visible:outline-2 focus-visible:outline-offset-4",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5L6 8.5L10 4.5' stroke='%23222305' stroke-width='1.5' fill='none'/%3E%3C/svg%3E\")",backgroundRepeat:"no-repeat",backgroundPosition:"right center",backgroundSize:"12px"},children:[(0,t.jsx)("option",{value:"",children:s}),a.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})]})}function w(e){let{job:s,onOpen:l}=e,a=p(s);return(0,t.jsxs)("div",{className:"group border-ew-black/20 hover:border-ew-green relative flex h-full flex-col rounded-lg border bg-white p-6 shadow-xs transition duration-200 hover:shadow-lg",children:[(0,t.jsx)("h3",{className:"text-ew-black group-hover:text-ew-green font-serif text-2xl italic transition-colors",children:(0,t.jsxs)("button",{type:"button",onClick:l,className:"focus-visible:outline-ew-green text-left focus-visible:outline-2 focus-visible:outline-offset-4",children:[(0,t.jsx)("span",{className:"absolute inset-0 rounded-lg","aria-hidden":"true"}),s.title]})}),s.department&&(0,t.jsx)("p",{className:"font-display text-ew-green-dark mt-2 text-xs tracking-widest uppercase",children:s.department}),s.description&&(0,t.jsx)("p",{className:"text-ew-black/70 mt-3 line-clamp-2 text-base leading-relaxed font-thin",children:s.description.replace(/\*\*/g,"").split(/\r?\n/).map(e=>e.replace(/^\s*[-*•]\s+/,"")).filter(e=>""!==e.trim()).join(" ").replace(/\s+/g," ").trim()}),(0,t.jsxs)("div",{className:"mt-4 flex flex-wrap gap-x-2",children:[(0,t.jsx)(v,{children:m(s).label}),s.type&&(0,t.jsx)(v,{children:s.type})]}),(0,t.jsxs)("div",{className:"mt-auto flex items-center justify-between gap-4 pt-6",children:[(0,t.jsxs)("span",{className:"text-ew-black/80 group-hover:text-ew-green flex items-center gap-2 text-base font-light transition-colors",children:["View details",(0,t.jsx)(i.A,{size:18,strokeWidth:1.5,className:"mt-0.5 transition-transform duration-200 group-hover:translate-x-1"})]}),a&&(0,t.jsx)(o.$,{asChild:!0,size:"sm",className:"relative z-10",children:(0,t.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",children:"Apply"})})]})]})}function y(e){let{job:s,onClose:l}=e,a=s?p(s):null;return(0,t.jsxs)(r.lG,{open:null!==s,onClose:l,className:"relative z-50",children:[(0,t.jsx)(r.Xi,{transition:!0,className:"bg-ew-black/60 fixed inset-0 backdrop-blur-sm transition duration-200 data-closed:opacity-0"}),(0,t.jsx)("div",{className:"fixed inset-0 flex w-screen items-end justify-center p-0 sm:items-center sm:p-6",children:(0,t.jsx)(r.Lj,{transition:!0,className:"max-h-[90vh] w-full max-w-3xl overflow-y-auto bg-white p-6 shadow-xl transition duration-200 data-closed:translate-y-4 data-closed:opacity-0 sm:p-10",children:s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(r.L3,{className:"text-ew-black font-serif text-3xl italic sm:text-4xl",children:s.title}),s.department&&(0,t.jsx)("p",{className:"font-display text-ew-green-dark mt-2 text-xs tracking-widest uppercase",children:s.department})]}),(0,t.jsx)("button",{type:"button",onClick:l,"aria-label":"Close",className:"text-ew-black/60 hover:text-ew-black focus-visible:outline-ew-green shrink-0 focus-visible:outline-2 focus-visible:outline-offset-4",children:(0,t.jsx)(n.A,{className:"size-6"})})]}),(0,t.jsxs)("div",{className:"mt-4 flex flex-wrap gap-x-2",children:[(0,t.jsx)(v,{children:m(s).label}),s.type&&(0,t.jsx)(v,{children:s.type})]}),s.description&&(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(b,{description:s.description})}),a&&(0,t.jsx)("div",{className:"border-ew-black/15 mt-8 border-t pt-6",children:(0,t.jsx)(o.$,{asChild:!0,size:"xl",children:(0,t.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",children:"Apply for this role"})})})]})})})]})}function k(e){let{jobs:s,emptyMessage:l,presetDepartment:r="",showFilters:n=!0,totalCount:i}=e,[c,d]=(0,a.useState)(""),[u,x]=(0,a.useState)(""),[m,h]=(0,a.useState)(null),p=(0,a.useMemo)(()=>s.filter(e=>(function(e,s){let l=s.trim().toLowerCase();return""===l||e.department.trim().toLowerCase()===l})(e,r)),[s,r]),f=""!==r.trim(),g=(0,a.useMemo)(()=>j(p,"department"),[p]),b=(0,a.useMemo)(()=>j(p,"type"),[p]),v=(0,a.useMemo)(()=>p.filter(e=>
1(""===c||e.department===c)&&(""===u||e.type===u)),[p,c,u]),k=""!==c||""!==u;return 0===p.length?(0,t.jsx)("p",{className:"text-ew-black/70 py-12 text-center font-thin",children:l}):(0,t.jsxs)("div",{children:[n&&(0,t.jsxs)("div",{className:"flex flex-wrap items-end gap-x-8 gap-y-4",children:[!f&&(0,t.jsx)(N,{label:"Department",value:c,options:g,onChange:d}),(0,t.jsx)(N,{label:"Type",value:u,options:b,onChange:x}),k&&(0,t.jsx)(o.$,{variant:"outline",size:"sm",onClick:()=>{d(""),x("")},children:"Reset all"})]}),(0,t.jsx)("p",{"aria-live":"polite",className:"font-display text-ew-black/60 text-xs tracking-widest uppercase ".concat(n?"mt-8":"mt-6"),children:void 0!==i&&i>v.length?"Showing ".concat(v.length," of ").concat(i," open roles"):"".concat(v.length," ").concat(1===v.length?"open role":"open roles")}),0===v.length?(0,t.jsx)("p",{className:"text-ew-black/70 py-12 text-center font-thin",children:"No openings match those filters."}):(0,t.jsx)("div",{className:"mt-6 grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3",children:v.map((e,s)=>(0,t.jsx)(w,{job:e,onOpen:()=>h(e)},"".concat(e.title,"-").concat(s)))}),(0,t.jsx)(y,{job:m,onClose:()=>h(null)})]})}},98937:e=>{e.exports={container:"RotatingWords_container__dt5_O",fadeIn:"RotatingWords_fadeIn__1FO83",fadeOut:"RotatingWords_fadeOut__pld66",slideUp:"RotatingWords_slideUp__9Y7Du",slideDown:"RotatingWords_slideDown__sPtlI",scaleIn:"RotatingWords_scaleIn__XZS_C",scaleOut:"RotatingWords_scaleOut__rWWGW"}},99558:(e,s,l)=>{"use strict";l.r(s),l.d(s,{default:()=>n});var t=l(95155),a=l(12115),r=l(75900);let n=e=>{let{slice:s}=e,[l,n]=(0,a.useState)(""),[i,o]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[u,x]=(0,a.useState)("idle"),[m,h]=(0,a.useState)(""),p=async e=>{e.preventDefault(),x("loading"),h("");try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:l,firstName:i,lastName:c,tag:"Corporate Delivery"})}),s=await e.json();e.ok?(x("success"),h("Successfully subscribed! Check your email."),n(""),o(""),d("")):(x("error"),h(s.error||"Something went wrong"))}catch(e){x("error"),h("Network error. Please try again.")}};return(0,t.jsx)("section",{"data-slice-type":s.slice_type,"data-slice-variation":s.variation,children:(0,t.jsx)("div",{className:"bg-white py-16 sm:py-24",children:(0,t.jsx)("div",{className:"mx-auto max-w-7xl sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"bg-ew-black relative isolate overflow-hidden px-6 py-24 shadow-2xl sm:px-24 xl:py-32",children:[(0,t.jsx)("div",{className:"mx-auto max-w-3xl text-center font-serif text-4xl text-white italic sm:text-5xl",children:(0,t.jsx)(r.$,{field:s.primary.headline})}),(0,t.jsx)("div",{className:"text-ew-green mx-auto mt-6 max-w-lg text-center text-lg",children:(0,t.jsx)(r.$,{field:s.primary.description})}),(0,t.jsx)("form",{className:"mx-auto mt-10",onSubmit:p,children:(0,t.jsxs)("div",{className:"mx-auto max-w-md",children:[(0,t.jsxs)("div",{className:"flex justify-between gap-x-4",children:[(0,t.jsx)("input",{name:"firstName",type:"text",value:i,onChange:e=>o(e.target.value),placeholder:"First Name",disabled:"loading"===u,className:"min-w-0 flex-auto rounded-md bg-white/5 px-3.5 py-2 text-base text-white outline-1 -outline-offset-1 outline-white/10 placeholder:text-white/60 focus:outline-2 focus:-outline-offset-2 focus:outline-white disabled:opacity-50 sm:text-sm/6"}),(0,t.jsx)("input",{name:"lastName",type:"text",value:c,onChange:e=>d(e.target.value),placeholder:"Last Name",disabled:"loading"===u,className:"min-w-0 flex-auto rounded-md bg-white/5 px-3.5 py-2 text-base text-white outline-1 -outline-offset-1 outline-white/10 placeholder:text-white/60 focus:outline-2 focus:-outline-offset-2 focus:outline-white disabled:opacity-50 sm:text-sm/6"})]}),(0,t.jsxs)("div",{className:"mt-4 flex gap-x-4",children:[(0,t.jsx)("label",{htmlFor:"email",className:"sr-only",children:"Email address"}),(0,t.jsx)("input",{id:"email",name:"email",type:"email",value:l,onChange:e=>n(e.target.value),required:!0,placeholder:"Enter your email",autoComplete:"email",disabled:"loading"===u,className:"min-w-0 flex-auto rounded-md bg-white/5 px-3.5 py-2 text-base text-white outline-1 -outline-offset-1 outline-white/10 placeholder:text-white/60 focus:outline-2 focus:-outline-offset-2 focus:outline-white disabled:opacity-50 sm:text-sm/6"}),(0,t.jsx)("button",{type:"submit",disabled:"loading"===u,className:"flex-none rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-xs hover:bg-gray-100 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white disabled:cursor-not-allowed disabled:opacity-50",children:"loading"===u?"...":"Subscribe"})]}),m&&(0,t.jsx)("div",{className:"mt-4 rounded-md px-4 py-3 text-sm ".concat("success"===u?"bg-green-500/10 text-green-400":"bg-red-500/10 text-red-400"),children:m})]})}),(0,t.jsx)("div",{className:"prose prose-a:text-ew-green mx-auto mt-10 text-center text-sm text-white/60",children:(0,t.jsx)(r.$,{field:s.primary.footnote})})]})})})})}}}]);

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.