PageSourceSearch

https://www.theculinistas.com/_next/static/chunks/6032-1a901ff7ab3c23e5.js

js theculinistas.com collected 2026-10-04 16:34:41 UTC 96,715 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6032],{85732:function(e,l,t){t.d(l,{D:function(){return d}});var a=t(97458);t(52983);var i=t(14517),r=t(35031),s=t(15783);function d(e){let{className:l,title:t,backgroundColor:d=s.bG.NavyLight,textColor:o=s.bG.Navy}=e,n=(0,r.M)("bg",d),c=(0,r.M)("text",o);return(0,a.jsx)("header",{className:(0,i.Z)(l,c,n,"pb-[100px] pt-[150px] text-center md:pb-[150px] md:pt-[210px]"),children:(0,a.jsx)("h1",{className:"editorial-32 md:editorial-98 px-[20px] md:px-[30px]",children:t})})}},46032:function(e,l,t){t.d(l,{y:function(){return e4}});var a,i=t(97458),r=t(14517),s=t(39957),d=t(35031),o=t(52983);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(this,arguments)}var c=function(e){return o.createElement("svg",n({width:12,height:12,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=o.createElement("path",{d:"m5.897.388 5.722 5.721-5.722 5.722-.779-.772 4.403-4.403H.312V5.563h9.209L5.118 1.16l.78-.772Z"})))},m=t(42424),x=t.n(m),p=t(77413),h=t.n(p),u=t(23377),f=t(92156),b=t(19634);function g(e){let{data:l}=e,{backgroundColor:t,description:a,fontColor:n,title:m,cta:h,withCta:g}=l,v=(0,p.useRouter)(),j=(0,d.M)("bg",t),w=(0,d.M)("text",n),y=(0,d.M)("fill",n),N=(0,d.M)("border",n),[C,k]=o.useState([]),{fetchPostings:M,isFetching:Z,isFetchingFinished:L}=(0,u.w)(),S=(0,b.R)(v.asPath)===f.y.becomeACulinistaChef(),I=S?"Chef App":"Open App";return((0,o.useEffect)(()=>{S||C.length||Z||L||M(I).then(e=>{e&&k(e.filter(e=>e.state.includes("published")))})},[M,S,Z,L,C.length,I]),S)?null:(0,i.jsx)("div",{id:l.componentId,className:(0,r.Z)(j,w,"helvetica-14-500 flex justify-center"),children:(0,i.jsxs)("div",{className:(0,r.Z)("flex min-h-[610px] w-full max-w-[1750px] flex-col items-center justify-items-center gap-11 md:grid md:min-h-[745px] md:grid-cols-[2fr_3fr] md:gap-0"),children:[(0,i.jsxs)("div",{className:"md:min- mx-10 mt-12 flex flex-col gap-6 self-center text-center md:mx-8 md:mt-64 md:max-w-[435px] md:gap-10 md:self-start",children:[m&&(0,i.jsx)("p",{className:"editorial-32 md:editorial-48 px-2 md:px-0",children:m}),a&&(0,i.jsx)("p",{className:"garamond-16 md:garamond-18",children:a})]}),(0,i.jsxs)("div",{className:"flex w-full flex-col items-center justify-center md:px-8",children:[(0,i.jsxs)("ul",{className:"w-full max-w-[558px]",children:[!Z&&0===C.length&&(0,i.jsx)("li",{className:(0,r.Z)(N,"w-full px-10 md:px-8"),children:(0,i.jsx)("p",{children:"No open positions at the moment"})}),C.length>0&&C.map(e=>(0,i.jsx)("li",{className:(0,r.Z)(N,"w-full border-b border-opacity-40 py-6 px-10 md:py-8 md:px-8"),children:(0,i.jsxs)(x(),{className:"flex flex-row items-center justify-between",href:"".concat((0,b.R)(v.asPath),"?form=posting&postingId=").concat(e.id),scroll:!1,shallow:!0,children:[(0,i.jsx)("p",{children:e.text}),(0,i.jsx)(s.k,{icon:(0,i.jsx)(c,{}),size:14,className:(0,r.Z)(y,{"md:rotate-[-30deg]":"Open App"===I})})]})},e.id))]}),g&&h&&(0,i.jsx)("p",{className:"w-full max-w-[558px] pt-7 pb-[72px] pl-10 underline md:pb-0 md:pt-10 md:pl-0",children:(0,i.jsx)(x(),{href:h.href,scroll:v.asPath.split("#")[0]===h.href,children:h.label})})]})]})})}t(6241);var v=t(75793),j=t(54100),w=t.n(j),y=t(15783),N=t(66860);function C(e){let{className:l,data:t}=e,{title:a,byline:s,image:o,rows:n,layoutInverted:c}=t,m=(0,d.M)("border",y.bG.CulinistaBlack);return(0,i.jsx)("section",{id:t.componentId,className:(0,r.Z)(m,l,"flex justify-center text-ar-culinista-black md:min-h-[650px] lg:h-screen lg:max-h-[calc(100vh-60px)]"),children:(0,i.jsxs)(v.m,{className:(0,r.Z)(m,"flex w-full flex-col-reverse md:border-x-0 lg:h-full lg:flex-row lg:border-x",{"lg:flex-row-reverse":c}),children:[(0,i.jsxs)("div",{className:(0,r.Z)(m,"mx-auto my-0 flex flex-[3] flex-col border-opacity-40 lg:justify-between lg:border-r",{"lg:border-r-0 lg:border-l":c}),children:[(0,i.jsxs)("div",{className:(0,r.Z)("my-[60px] w-full px-[20px] text-center md:px-[35px] lg:flex lg:flex-1 lg:flex-col lg:justify-center",{"lg:mt-[40%]":n.length>4}),children:[a&&(0,i.jsx)("p",{className:"helvetica-12-500 md:helvetica-14-500 mb-[20px]",dangerouslySetInnerHTML:{__html:(0,N.v)(a)}}),s&&(0,i.jsx)("h2",{className:"editorial-22 md:editorial-32",dangerouslySetInnerHTML:{__html:(0,N.v)(s)}})]}),n.length>0&&(0,i.jsx)("ul",{className:(0,r.Z)("flex flex-col px-[20px] pb-5 md:px-0 lg:pb-0",{"lg:ml-0 lg:-mr-[30px]":c}),children:n.map(e=>{let{id:l,description:t,title:a}=e;return(0,i.jsxs)("li",{className:(0,r.Z)(m,"flex flex-col items-center border-t border-opacity-40 p-[20px] text-center md:items-start md:text-start lg:flex-row lg:gap-[30px] xl:p-[30px]"),children:[(0,i.jsx)("p",{className:"helvetica-14-500 mb-[10px] flex-1 lg:mb-0 3xl:whitespace-nowrap",children:a}),(0,i.jsx)("p",{className:"garamond-16 md:garamond-18 lg:align-self-end flex-[2] lg:ml-auto",children:t})]},l)})})]}),(null==o?void 0:o.url)&&(0,i.jsx)("div",{className:(0,r.Z)("min-h-[400px] flex-[4]"),children:(0,i.jsx)("div",{className:(0,r.Z)("w-full, h-full px-5 lg:px-[30px]",{"lg:pr-[30px]":c}),children:(0,i.jsx)("div",{className:"relative h-full w-full",children:(0,i.jsx)(w(),{className:"mb-[60px] object-cover object-center lg:mb-0",src:o.url,alt:o.alt||"",blurDataURL:o.metadata.lqip,placeholder:"blur",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 50vw"})})})})]})})}var k=t(85517),M=t(78778),Z=t(1137),L=t(43359);function S(e){var l,t;let{className:a="",data:n}=e,{backgroundColor:c,fontColor:m,quotes:x,title:p}=n,h=(0,L.a)(768),[u,f]=(0,o.useState)(null!==(t=null==x?void 0:null===(l=x[0])||void 0===l?void 0:l.id)&&void 0!==t?t:""),b=e=>{f(e.currentTarget.id)};(0,o.useEffect)(()=>{let e=x.findIndex(e=>e.id===u)+1,l=setTimeout(()=>
1{x.length&&(e!==x.length?f(x[e].id):f(x[0].id))},8e3);return()=>clearTimeout(l)},[x,u]);let g=h?.65:.8,j={visible:{x:0,opacity:1,transition:{duration:g,delay:g}},hidden:{x:"110%",opacity:0,transition:{duration:g}}},y={visible:{x:0,opacity:1,transition:{duration:g,delay:g}},hidden:{x:-28,opacity:0,transition:{duration:g}}},N={visible:{x:0,transition:{duration:g,delay:g}},hidden:{x:-28,transition:{duration:g}}},C=(0,d.M)("border",m),S=(0,d.M)("border-r",m),I=(0,d.M)("border-t",m),T=(0,d.M)("text",m),E=(0,d.M)("bg",c),R=(0,d.M)("fill",m);return(0,i.jsx)("div",{id:n.componentId,className:(0,r.Z)(a,E,T,"flex justify-center"),children:(0,i.jsxs)(v.m,{className:C,children:[h&&(0,i.jsx)("p",{className:"helvetica-12-400 mx-5 py-10",children:p}),(0,i.jsxs)("div",{className:"helvetica-12-400 md:helvetica-14-500 mx-5 flex min-h-[572px] flex-col-reverse justify-between overflow-x-hidden md:mx-0 md:min-h-[750px] md:flex-row md:justify-start",children:[(0,i.jsxs)("div",{className:(0,r.Z)(S,"flex flex-col justify-between pb-2 md:w-1/3 md:border-r md:border-opacity-40 md:pb-0 md:pt-12"),children:[!h&&(0,i.jsx)("p",{className:"px-8",children:p}),(0,i.jsx)("div",{children:x.map(e=>(0,i.jsxs)("button",{disabled:e.id===u,type:"button",onClick:b,id:e.id,className:(0,r.Z)(I,"flex h-10 w-full flex-row items-center gap-2 border-t border-opacity-40 py-3 md:pl-8 md:first:border-t-0"),children:[(0,i.jsx)(M.E.div,{initial:e.id===u?"visible":"hidden",animate:e.id===u?"visible":"hidden",variants:y,children:(0,i.jsx)(s.k,{icon:(0,i.jsx)(k.Z,{}),size:20,className:(0,r.Z)(R)})},"icon_".concat(e.id)),(0,i.jsxs)(M.E.div,{initial:e.id===u?"visible":"hidden",animate:e.id===u?"visible":"hidden",variants:N,className:"flex flex-row items-center gap-1",children:[(0,i.jsx)("p",{children:e.author.name}),e.author.title&&(0,i.jsx)("p",{className:"helvetica-12-500 md:helvetica-14-400",children:e.author.title})]},"author_".concat(e.id))]},e.id))})]}),(0,i.jsx)("div",{className:" md:w-2/3 ",children:(0,i.jsxs)("div",{className:"md:pl-8 md:pr-8 md:pt-12 ",children:[!h&&(0,i.jsxs)("div",{className:"flex pb-24 ",children:[(0,i.jsx)("p",{className:"helvetica-12-500 md:helvetica-14-400 w-1/3",children:"Services Provided"}),(0,i.jsx)(Z.M,{initial:!1,mode:"wait",children:(0,i.jsx)(M.E.p,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:g},className:"w-2/3",children:x.find(e=>e.id===u).author.servicesProvided.filter(e=>e).map(e=>e.title).join(", ")},u)})]}),(0,i.jsx)("div",{className:"grid grid-cols-1 grid-rows-1",children:x.map(e=>(0,i.jsxs)(M.E.div,{variants:j,initial:e.id===u?"visible":"hidden",animate:e.id===u?"visible":"hidden",className:"col-start-1 row-start-1 md:flex",children:[(0,i.jsx)("div",{className:"md:w-1/3",children:(0,i.jsx)(w(),{alt:e.author.image.alt,src:e.author.image.url,blurDataURL:e.author.image.metadata.lqip,placeholder:"blur",width:112,height:128})}),(0,i.jsx)("h3",{className:" editorial-22 md:editorial-32 pb-10 pt-3 md:w-2/3 md:pt-0",children:e.quote})]},"quote_".concat(e.id)))})]})})]})]})})}function I(e){let{logo:l,children:t}=e;return l.link?(0,i.jsx)(x(),{href:l.link,target:"_blank",rel:"noopener noreferrer",className:"flex gap-[30px] md:gap-5",children:t}):t}function T(e){let{data:l}=e,{logos:t,title:a}=l,{currentCycleIndex:r,cycles:s,resetCurrentCyclesIndex:d,isAnimated:n}=function(e,l,t,a,i){let r=(0,L.a)(1024),[s,d]=(0,o.useState)(0),n=r?3:4,c=a>n,m=Number.isInteger(a/n)?a/n:a,x=Array.from(Array(m).keys()).map(e=>Array.from(Array(n).keys()).map(l=>(e*n+l)%a)),p=(0,o.useCallback)(()=>d(e=>e===m-1?0:e+1),[m]);return(0,o.useEffect)(()=>{let e=setInterval(()=>{c&&p()},5e3);return()=>clearInterval(e)},[p,c,5e3]),{currentCycleIndex:s,cycles:x,resetCurrentCyclesIndex:()=>d(e=>e>m-1?0:e),isAnimated:c}}(0,0,0,t.length,0),c=(0,o.useMemo)(()=>{var e;return n?null===(e=s[r])||void 0===e?void 0:e.map(e=>t[e]):t},[r,s,n,t]);return(0,i.jsxs)("section",{id:l.componentId,className:"my-10 flex w-full max-w-[1750px] flex-col gap-3 self-center text-ar-culinista-black md:my-24",children:[(0,i.jsx)("p",{className:"helvetica-12-500 self-center font-bold md:hidden",children:a}),(0,i.jsxs)(Z.M,{mode:"wait",initial:n,onExitComplete:d,children:[c&&c.length>0,(0,i.jsx)(M.E.div,{className:"h-13 flex justify-center gap-7 px-8 py-4 md:h-7 md:gap-14 md:p-0 lg:gap-[120px]",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},children:null==c?void 0:c.map(e=>(0,i.jsxs)(I,{logo:e,children:[e.title&&(0,i.jsx)("p",{className:"helvetica-10-500 hidden md:flex md:items-center",children:e.title}),(0,i.jsx)(w(),{src:e.logo.url,alt:e.logo.alt||"",width:e.logo.metadata.width,height:e.logo.metadata.height,blurDataURL:e.logo.metadata.lqip,placeholder:"blur",className:"h-5 w-[auto] max-w-none md:h-7",onLoad:e=>{e.currentTarget.style.backgroundImage="none"}})]},e.id))},null==c?void 0:c.map(e=>e.id).toString())]})]})}var E=t(18844);function R(e){let{className:l="",data:t}=e,{title:a,description:s,backgroundColor:o,textColor:n,cta:c}=t;return(0,i.jsx)("div",{id:t.componentId,className:(0,r.Z)((0,d.M)("bg",o),(0,d.M)("text",n),l,"flex justify-center py-[60px] lg:py-[115px]"),children:(0,i.jsxs)("div",{className:"flex max-w-[496px] flex-col items-center gap-[30px] px-[20px] lg:px-0",children:[(0,i.jsx)("p",{className:"editorial-24 lg:editorial-32",children:a}),(0,i.jsx)("p",{className:"garamond-18 text-center",children:s}),c&&(0,i.jsx)(E.k,{href:null==c?void 0:c.href,backgroundColor:c.backgroundColor,textColor:c.textColor,className:"min-w-[200px] py-[12px]",children:c.label})]})})}var _=t(49511);function G(e){let{data:l}=e,{faqs:t,title:a,backgroundColor:s,fontColor:o,borderColor:n,withBottomBorder:c,withTopBorder:m,cta:x}=l,p=(0,d.M)("border",n);return(0,i.jsx)("div",{id:l.componentId,className:(0,r.Z)(p,(0,d.M)("bg",s),(0,d.M)("text",o),{"border-t border-opacity-40":m,"border-b border-opacity-40":c}),children:(0,i.jsxs)("div",{className:"mx-auto flex max-w-[1750px] flex-col justify-between py-[60px] lg:flex-row lg:px-[30px]",children:[(0,i.jsx)("p",{className:"helvetica-12-500 lg:editorial-32 flex-[3] pb-[30px] pl-10 lg:pb-0 lg:pl-0",children:a}),(0,i.jsxs)("div",{className:"flex-[4]",children:[t.map((e,l)=>(0,i.jsx)(_.Y,{className:(0,r.Z)("border-opacity-20 px-10 py-5 md:px-10 lg:border-opacity-40 lg:pr-12 lg:pl-0",p,{"lg:border-t-0":0===l}),labelClassName:"editorial-16 lg:helvetica-14-500",bodyClassName:"garamond-16 text-base lg:text-lg px-10 md:px-10 pb-5 pt-0 lg:pl-0 xs:pr-10 xl:!pr-20",iconClassName:"self-start mt-1",richTextBody:e.answer,label:e.question},e.id)),x&&(0,i.jsx)("div",{className:(0,r.Z)("border-t border-opacity-20 lg:border-opacity-40",p),children:(0,i.jsx)(E.k,{className:"my-[30px] ml-10 w-min min-w-0 px-5 py-3 text-xs md:text-sm lg:ml-0",href:x.href,textColor:x.textColor,backgroundColor:x.backgroundColor,children:x.label})})]})]})})}var P=t(21967);function z(e){var l;let{className:t,data:a}=e,{centered:s,title:o,fontColor:n,cta:c,media:m,withCta:x}=a,p=(0,L.a)(768),{user:h}=(0,P.jJ)();return(0,i.jsxs)("header",{id:a.componentId,className:(0,r.Z)(t,(0,d.M)("text",n),"relative flex h-[475px] flex-col items-center justify-center overflow-hidden md:h-[800px]",{"md:justify-start":!s}),children:[(0,i.jsxs)("div",{className:"absolute left-0 top-0 h-full w-full ",children:["image"===m.type&&(0,i.jsx)(w(),{priority:!0,className:"absolute left-0 top-0 h-full w-full object-cover object-center",src:p&&(null===(l=m.mobileImage)||void 0===l?void 0:l.url)?m.mobileImage.url:m.image.url,alt:m.image.alt||"",blurDataURL:m.image.metadata.lqip,placeholder:"blur",fill:!0,sizes:"(max-width: 768px) 100vw,   (max-width: 1200px) 50vw,   50vw"}),"video"===m.type&&(0,i.jsx)("video",{autoPlay:!0,className:"absolute left-0 top-0 h-full w-full object-cover object-center",preload:"auto",loop:!0,muted:!0,playsInline:!0,controls:!1,src:"".concat(m.video.url,"#t=0.1")})]}),(0,i.jsxs)("div",{className:(0,r.Z)("z-[1] mx-auto my-0 flex h-full w-full max-w-[1014px] flex-col items-center px-10 text-center",{"justify-start":!s,"justify-center":s,"mt-[45%] lg:mt-[25%]":!s&&h.isLoggedIn&&h.isAuthorized,"mt-[25%] md:mt-[11%]":!s&&(!h.isLoggedIn||!h.isAuthorized)}),children:[(0,i.jsx)("h1",{className:"editorial-32 md:editorial-56",children:o}),x&&c&&(0,i.jsx)(E.k,{href:c.href,backgroundColor:c.backgroundColor,textColor:c.textColor,className:"helvetica-12-500 md:helvetica-14-500 mt-[20px] min-w-[137px] px-3 py-[10px] md:min-w-[176px] md:px-[22px] md:py-[14px]",children:c.label})]})]})}function F(e){let{data:l}=e,{header:t,contactInfo:a,image:s,backgroundColor:o,textColor:n}=l;return(0,i.jsx)("header",{id:l.componentId,className:(0,r.Z)((0,d.M)("bg",o),(0,d.M)("text",n),"lg:px-[40px]"),children:(0,i.jsxs)("div",{className:"w-full",children:[(0,i.jsx)("h2",{className:"editorial-48 lg:editorial-56 flex justify-center px-5 pb-10 pt-[70px] lg:pt-[150px] lg:pb-[150px]",children:t}),(0,i.jsx)("ul",{className:"mx-auto mb-10 max-w-[1440px] divide-y px-5 lg:mb-2 lg:flex lg:divide-x lg:divide-y-0 lg:px-0",children:a.map(e=>{let{title:l,email:t}=e;return(0,i.jsxs)("li",{className:(0,r.Z)((0,d.M)("border",n),"w-full border-opacity-40 py-5 px-2.5 first:pt-0 last:pb-0 lg:py-0 lg:px-4 first:lg:pl-0 last:lg:pr-0"),children:[(0,i.jsx)("h6",{className:"editorial-22 lg:editorial-32 pb-2 lg:text-center",children:l}),(0,i.jsx)(x(),{href:"mailto:".concat(t),className:"helvetica-14-500 helvetica-18 lg:mx-auto lg:mb-[130px] lg:flex lg:w-fit lg:justify-center",children:t})]},"".concat(l+t))})}),s&&s.url&&(0,i.jsx)(v.m,{className:"relative !mx-auto aspect-1 overflow-hidden !border-none md:aspect-[4/3] lg:aspect-[16/9]",children:(0,i.jsx)(w(),{priority:!0,className:"object-cover px-5 pb-5 lg:px-0 lg:pb-[60px]",src:s.url,alt:s.alt||"",blurDataURL:s.metadata.lqip,placeholder:"blur",fill:!0})})]})})}var q=t(6722);function W(e){let{className:l="",data:t}=e,{firstColumnTitle:a,secondColumnTitle:s,image:o,rows:n,masterKey:c}=t,m=(0,L.a)(1024)?336:540,x=(0,d.M)("border",y.bG.CulinistaBlack);return(0,i.jsx)("section",{id:t.componentId,className:(0,r.Z)(l,(0,d.M)("text",y.bG.CulinistaBlack),"flex justify-center"),children:(0,i.jsxs)(v.m,{className:(0,r.Z)(x,"flex w-full flex-col-reverse items-center px-5 lg:flex-row lg:justify-center lg:px-0 lg:py-[60px]",{"lg:items-center":!a&&n.length<4,"lg:items-start":!a&&n.length>=4}),children:[o&&(0,i.jsx)(w(),{src:o.url,alt:o.alt||"",width:m,height:m,blurDataURL:o.metadata.lqip,placeholder:"blur",sizes:"(max-width: 768px) 100vw,   50vw,   33vw",className:(0,r.Z)(null==c?void 0:c.mask,"my-[30px] min-w-[336px] md:max-h-[540px] md:min-w-[540px] lg:my-0 lg:mr-[50px] lg:ml-[30px]")}),(0,i.jsxs)("div",{className:"flex flex-col items-center lg:items-start",children:[a&&(0,i.jsxs)("div",{className:"helvetica-12-500 lg:helvetica-14-500 flex gap-[100px] py-[30px] lg:py-0 lg:pb-[40px]",children:[(0,i.jsx)("p",{className:"min-w-[84px] lg:min-w-[220px]",children:a}),s&&(0,i.jsx)("p",{children:s})]}),(0,i.jsx)("ul",{children:n.map(e=>(0,i.jsxs)("li",{className:(0,r.Z)(x,"border-b border-opacity-20 py-5 lg:pr-[30px] xl:flex xl:gap-[30px] xl:py-[50px] xl:pr-[60px] last:xl:border-none last:xl:pb-0"),children:[(0,i.jsx)("h3",{className:"editorial-22 lg:editorial-32 mb-2.5 lg:min-w-[290px]",children:e.title}),(0,i.jsx)(q.i,{value:e.description,className:"garamond-18",fontVariant:"small"})]},e.title))})]})]})})}var D=t(1530),B=t(35889),O=t(15192),K=t(26484),H=t(24662),U=t(91326);let V=(e,l)=>l;function A(e,l){if(l&&!U.Dt)return(0,H.H)(e,l.map(V),l,{mixer:(e,l)=>(0,K.interpolate)(e,l,{maxSegmentLength:.4})})}var X=t(93427);let J={flavor:"M 5 2.511719 C 5 2.1875 4.789062 1.910156 4.5 1.816406 L 4.5 0.5 L 3.507812 0.5 L 3.671875 0 L 1.34375 0 L 1.507812 0.5 L 0.5 0.5 L 0.5 1.816406 C 0.210938 1.910156 0 2.1875 0 2.511719 C 0 2.835938 0.210938 3.109375 0.5 3.203125 L 0.5 4.503906 L 1.507812 4.503906 L 1.34375 5 L 3.671875 5 L 3.507812 4.503906 L 4.5 4.503906 L 4.5 3.203125 C 4.789062 3.109375 5 2.835938 5 2.511719 Z M 5 2.511719",formula:"M 5 2.5 C 5 2.25 4.882812 2.03125 4.703125 1.886719 C 4.882812 1.746094 5 1.523438 5 1.277344 C 5 0.851562 4.65625 0.503906 4.234375 0.5 L 3.507812 0.5 L 3.671875 0 L 1.34375 0 L 1.507812 0.5 L 0.765625 0.5 C 0.34375 0.503906 0 0.851562 0 1.277344 C 0 1.523438 0.117188 1.746094 0.296875 1.886719 C 0.117188 2.03125 0 2.25 0 2.5 C 0 2.746094 0.117188 2.96875 0.296875 3.109375 C 0.117188 3.253906 0 3.476562 0 3.722656 C 0 4.148438 0.34375 4.496094 0.765625 4.5 L 1.507812 4.5 L 1.34375 5 L 3.671875 5 L 3.503906 4.5 L 4.234375 4.5 C 4.65625 4.496094 5 4.148438 5 3.722656 C 5 3.472656 4.882812 3.253906 4.703125 3.109375 C 4.882812 2.96875 5 2.746094 5 2.5 Z M 5 2.5",health:"M 1.5 4.496094 L 1.335938 5 L 3.664062 5 L 3.5 4.496094 L 4.5 4.496094 L 4.5 3.496094 L 5 3.496094 L 5 1.496094 L 4.5 1.496094 L 4.5 0.496094 L 3.5 0.496094 L 3.664062 0 L 1.335938 0 L 1.5 0.496094 L 0.5 0.496094 L 0.5 1.496094 L 0 1.496094 L 0 3.496094 L 0.5 3.496094 L 0.5 4.496094 Z M 1.5 4.496094",hospital
1ity:"M 1.34375 0 L 3.652344 0 C 3.582031 0.226562 3.40625 0.398438 3.1875 0.46875 C 3.820312 0.683594 4.316406 1.179688 4.53125 1.8125 C 4.597656 1.589844 4.769531 1.414062 5 1.339844 L 5 3.648438 C 4.773438 3.578125 4.597656 3.402344 4.53125 3.183594 C 4.316406 3.8125 3.820312 4.3125 3.1875 4.527344 C 3.40625 4.597656 3.582031 4.769531 3.652344 4.996094 L 1.34375 4.996094 C 1.414062 4.769531 1.59375 4.597656 1.8125 4.527344 C 1.179688 4.3125 0.683594 3.8125 0.46875 3.183594 C 0.402344 3.402344 0.226562 3.578125 0 3.648438 L 0 1.339844 C 0.230469 1.414062 0.402344 1.589844 0.472656 1.8125 C 0.683594 1.179688 1.183594 0.683594 1.8125 0.46875 C 1.59375 0.398438 1.417969 0.226562 1.34375 0 Z M 1.34375 0",lessMess:"M 1.5 4.5 L 1.335938 5 L 3.664062 5 L 3.5 4.5 C 4.359375 4.28125 5 3.46875 5 2.5 C 5 1.53125 4.359375 0.71875 3.5 0.5 L 3.664062 0 L 1.335938 0 L 1.5 0.503906 C 0.640625 0.722656 0 1.53125 0 2.5 C 0 3.46875 0.640625 4.28125 1.5 4.5 Z M 1.5 4.5",style:"M 1.5 4.503906 L 1.335938 5 L 3.664062 5 L 3.5 4.503906 L 4.5 4.503906 L 5 3.003906 L 4.5 2.503906 L 5 2 L 4.5 0.5 L 3.5 0.5 L 3.664062 0 L 1.335938 0 L 1.5 0.5 L 0.5 0.5 L 0 2 L 0.507812 2.503906 L 0 3 L 0.507812 4.503906 Z M 1.5 4.503906",sustainability:"M 4.628906 2.5 C 4.859375 2.28125 5 1.976562 5 1.640625 C 5 0.984375 4.46875 0.453125 3.816406 0.453125 C 3.707031 0.453125 3.597656 0.46875 3.5 0.496094 L 3.664062 0 L 1.332031 0 L 1.496094 0.496094 C 1.398438 0.46875 1.292969 0.453125 1.183594 0.453125 C 0.53125 0.453125 0 0.984375 0 1.640625 C 0 1.976562 0.144531 2.285156 0.371094 2.5 C 0.144531 2.714844 0 3.023438 0 3.359375 C 0 4.015625 0.53125 4.546875 1.183594 4.546875 C 1.292969 4.546875 1.398438 4.53125 1.496094 4.503906 L 1.332031 5 L 3.664062 5 L 3.496094 4.5 C 3.597656 4.527344 3.703125 4.542969 3.816406 4.542969 C 4.46875 4.542969 5 4.011719 5 3.355469 C 5 3.019531 4.859375 2.714844 4.632812 2.5 Z M 4.628906 2.5",timing:"M 1.5 4.5 L 1.332031 5 L 3.664062 5 L 3.496094 4.5 L 5 4.5 C 5 3.671875 4.578125 2.941406 3.933594 2.5 C 4.578125 2.058594 5 1.328125 5 0.5 L 3.5 0.5 L 3.664062 0 L 1.332031 0 L 1.496094 0.5 L 0 0.5 C 0 1.328125 0.421875 2.058594 1.066406 2.5 C 0.421875 2.941406 0 3.671875 0 4.5 Z M 1.5 4.5"};function Y(e){let{keys:l}=e,t=(0,o.useMemo)(()=>l.map(e=>({...e,tailwindFillClass:(0,d.M)("fill",e.fontColor),tailwindTextClass:(0,d.M)("text",e.fontColor),tailwindBackgroundClass:(0,d.M)("bg",e.backgroundColor),path:J[e.masterKey.mask]})),[l]),a=(0,d.M)("border",y.bG.CulinistaBlack),[n,c]=(0,o.useState)(null),[m,x]=(0,o.useState)(-1),p=[...t.map(e=>e.path),t[0].path],h=(0,B.c)(m),u=A(h,p),f=e=>{c(e.currentTarget.id);let l=t.findIndex(l=>l.id===e.currentTarget.id),a=(0,O.j)(h,l,{duration:.8,ease:"easeInOut",onComplete:()=>{l===p.length-1?(h.set(0),x(-1)):x(l)}});return()=>{a.stop()}},b={hidden:{opacity:0,transition:{duration:.4}},visible:{opacity:1,transition:{duration:.4,delay:.4}}};return(0,i.jsx)(Z.M,{mode:"popLayout",children:(0,i.jsxs)(M.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.4},className:(0,r.Z)(a,"flex w-full flex-row border-y border-opacity-40"),children:[(0,i.jsx)("div",{className:(0,r.Z)(a,"flex-1 border-r border-opacity-40"),children:t.map(e=>(0,i.jsxs)("button",{id:e.id,disabled:n===e.id,type:"button",onClick:f,className:(0,r.Z)(a,"flex h-[67px] w-full flex-row items-center gap-3 border-b border-opacity-40 px-5 last:border-b-0"),children:[(0,i.jsx)("svg",{width:"27",height:"27",children:(0,i.jsx)("path",{className:e.id===n?e.tailwindFillClass:"fill-ar-culinista-black opacity-40",d:t.find(l=>l.id===e.id).path,transform:"scale(5.4, 5.4)"})}),null===n&&(0,i.jsx)("p",{className:"helvetica-14-500 opacity-40",children:e.masterKey.title})]},e.id))}),n&&(0,i.jsxs)(M.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4},className:"relative flex w-full flex-col items-center justify-center p-8 text-center",children:[(0,i.jsx)("button",{type:"button",className:"absolute left-[calc(100%-54px)] top-0 p-5",onClick:()=>c(null),children:(0,i.jsx)(s.k,{width:12,height:12,icon:(0,i.jsx)(X.Z,{})})}),U.Dt?(0,i.jsx)(Z.M,{mode:"wait",children:(0,i.jsx)(M.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.4},children:(0,i.jsx)("svg",{width:"165",height:"165",children:(0,i.jsx)("g",{transform:"scale(33, 33)",children:(0,i.jsx)("path",{className:(0,r.Z)(t.find(e=>e.id===n).tailwindFillClass),d:t.find(e=>e.id===n).path})})})},n)}):(0,i.jsx)("svg",{width:"165",height:"165",children:(0,i.jsx)("g",{transform:"scale(33, 33)",children:(0,i.jsx)(M.E.path,{className:(0,r.Z)(t.find(e=>e.id===n).tailwindFillClass,"transition-colors duration-[800ms]"),d:u})})}),(0,i.jsx)("div",{className:"grid grid-cols-1 grid-rows-1",children:t.map(e=>(0,i.jsxs)(M.E.div,{initial:n===e.id?"visible":"hidden",animate:n===e.id?"visible":"hidden",variants:b,className:"col-start-1 row-start-1",children:[(0,i.jsx)("p",{className:(0,r.Z)(t.find(l=>l.id===e.id).tailwindTextClass,"editorial-24 pt-5"),children:e.masterKey.title}),(0,i.jsx)("p",{className:"garamond-16 pt-6",children:e.masterKey.description})]},e.id))})]})]},null!==n?"active":"inactive")})}var Q=t(53460);function $(e){let{keys:l}=e,t=(0,D.i)(),[a,s]=(0,o.useState)(null),[n,c]=(0,o.useState)(null),m=l.map(e=>({...e,tailwindFillClass:(0,d.M)("fill",e.fontColor),tailwindTextClass:(0,d.M)("text",e.fontColor),tailwindBackgroundClass:(0,d.M)("bg",e.backgroundColor),path:Q.a[e.masterKey.mask]})),x=(0,d.M)("border-r",y.bG.CulinistaBlack),p=(0,d.M)("bg",y.bG.White),h=t.width<1280,u=e=>()=>{s(e)},f=()=>{s(null)};return(0,o.useEffect)(()=>{a&&c(document.getElementById(a).offsetWidth-48.5)},[a]),(0,i.jsx)("div",{className:"grid w-full grid-cols-2 gap-y-28 xl:grid-cols-4",children:m.map(e=>(0,i.jsxs)("div",{id:e.id,className:"grid grid-cols-1 grid-rows-1",children:[(0,i.jsxs)("div",{id:"key_".concat(e.id),className:(0,r.Z)(x,"px-auto col-start-1 row-start-1 mt-12 flex flex-col items-center border-l border-r border-l-white border-opacity-40",{"border-r-white":!((m.findIndex(l=>l.id===e.id)+1)%(h?2:4))||m.findIndex(l=>l.id===e.id)+1===m.length}),onPointerOver:u(e.id),onPointerOut:f,children:[(0,i.jsx)("svg",{width:"65",height:"65",children:(0,i.jsx)("path",{className:(0,r.Z)(e.tailwindFillClass,"self-center"),d:e.path,transform:"scale(0.65, 0.65)"})}),(0,i.jsx)("p",{className:(0,r.Z)(e.tailwindTextClass,"editorial-32 pt-8"),children:e.masterKey.title})]}),(0,i.jsx)(Z.M,{children:a===e.id&&(0,i.jsxs)(M.E.div,{style:{width:"".concat(n,"px")},initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},className:(0,r.Z)(p,"absolute z-10 col-start-1 row-start-1 mx-6 flex flex-col items-center px-6 pt-12 pb-16 shadow-[1px_1px_8px_4px_rgba(0,0,0,0.1)]"),onPointerOver:u(e.id),onPointerOut:f,children:[(0,i.jsx)("svg",{width:"65",height:"65",children:(0,i.jsx)("path",{className:(0,r.Z)(e.tailwindFillClass,"self-center"),d:e.path,transform:"scale(0.65, 0.65)"})}),(0,i.jsx)("p",{className:(0,r.Z)(e.tailwindTextClass,"editorial-32 pt-8"),children:e.masterKey.title}),(0,i.jsx)("p",{className:"garamond-18 pt-12",children:e.masterKey.description})]})})]},e.id))})}function ee(e){let{data:l}=e,{title:t,description:a,items:s}=l,o=(0,d.M)("bg",y.bG.White),n=(0,d.M)("text",y.bG.CulinistaBlack),c=(0,D.i)().width<768;return(0,i.jsx)("div",{id:l.componentId,className:(0,r.Z)(o,n,"flex justify-center"),children:(0,i.jsxs)("div",{className:"flex w-full max-w-[1750px] flex-col items-center self-center overflow-hidden pt-10 text-center md:py-[150px] md:px-8",children:[(0,i.jsx)("p",{className:"helvetica-12-500 md:helvetica-14-500 px-8 pb-5 md:px-96 md:pb-10",children:t}),(0,i.jsx)("p",{className:"editorial-22 md:editorial-32 px-8 pb-11 md:px-60 md:pb-[120px]",children:a}),!c&&(0,i.jsx)($,{keys:s}),c&&(0,i.jsx)(Y,{keys:s})]})})}function el(e){let{id:l,overview:t,title:a,keys:n}=e,c=(0,o.useMemo)(()=>n.map(e=>({...e,tailwindFillClass:(0,d.M)("fill",e.fontColor),tailwindTextClass:(0,d.M)("text",e.fontColor),tailwindBackgroundClass:(0,d.M)("bg",e.backgroundColor),path:J[e.masterKey.mask]})),[n]),m=(0,d.M)("border",y.bG.CulinistaBlack),x=(0,d.M)("bg",t.backgroundColor),p=(0,d.M)("text",t.fontColor),[h,u]=(0,o.useState)(null),[f,b]=(0,o.useState)(-1),g=c.length>0?[...c.map(e=>e.path),c[0].path]:null,v=(0,B.c)(f),j=A(v,g),w=e=>{u(e.currentTarget.id);let l=c.findIndex(l=>l.id===e.currentTarget.id),t=(0,O.j)(v,l,{duration:.8,ease:"easeInOut",onComplete:()=>{l===g.length-1?(v.set(0),b(-1)):b(l)}});return()=>{t.stop()}},N={hidden:{opacity:0,transition:{duration:.4}},visible:{opacity:1,transition:{duration:.4,delay:.4}}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{id:l,className:(0,r.Z)(x,p,"flex flex-col items-center justify-center py-11 px-7 text-center"),children:[(0,i.jsx)("p",{className:"helvetica-12-500 pb-8",children:a}),(0,i.jsx)("p",{className:"editorial-32 pb-5",children:t.title}),(0,i.jsx)("p",{className:"editorial-22",children:t.description})]}),(0,i.jsx)(Z.M,{mode:"popLayout",children:(0,i.jsxs)(M.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.4},className:(0,r.Z)(m,"flex w-full flex-row border-y border-opacity-40"),children:[(0,i.jsx)("div",{className:(0,r.Z)(m,"flex-1 border-r border-opacity-40"),children:c&&c.length>0&&c.map(e=>(0,i.jsxs)("button",{id:e.id,disabled:h===e.id,type:"button",onClick:w,className:(0,r.Z)(m,"flex h-[67px] w-full flex-row items-center gap-3 border-b border-opacity-40 px-5 last:border-b-0"),children:[(0,i.jsx)("svg",{width:"27",height:"27",children:(0,i.jsx)("path",{className:e.id===h?e.tailwindFillClass:"fill-ar-culinista-black opacity-40",d:c.find(l=>l.id===e.id).path,transform:"scale(5.4, 5.4)"})}),null===h&&(0,i.jsx)("p",{className:"helvetica-14-500 opacity-40",children:e.masterKey.title})]},e.id))}),h&&(0,i.jsxs)(M.E.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.4},className:"relative flex w-full flex-col items-center justify-center p-8 text-center",children:[(0,i.jsx)("button",{type:"button",className:"absolute left-[calc(100%-54px)] top-0 p-5",onClick:()=>u(null),children:(0,i.jsx)(s.k,{width:12,height:12,icon:(0,i.jsx)(X.Z,{})})}),U.Dt?(0,i.jsx)(Z.M,{mode:"wait",children:(0,i.jsx)(M.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.4},children:(0,i.jsx)("svg",{width:"165",height:"165",children:(0,i.jsx)("g",{transform:"scale(33, 33)",children:(0,i.jsx)("path",{className:(0,r.Z)(c.find(e=>e.id===h).tailwindFillClass),d:c.find(e=>e.id===h).path})})})},h)}):(0,i.jsx)("svg",{width:"165",height:"165",children:(0,i.jsx)("g",{transform:"scale(33, 33)",children:(0,i.jsx)(M.E.path,{className:(0,r.Z)(c.find(e=>e.id===h).tailwindFillClass,"transition-colors duration-[800ms]"),d:j})})}),(0,i.jsx)("div",{className:"grid grid-cols-1 grid-rows-1",children:c.map(e=>(0,i.jsxs)(M.E.div,{initial:h===e.id?"visible":"hidden",animate:h===e.id?"visible":"hidden",variants:N,className:"col-start-1 row-start-1",children:[(0,i.jsx)("p",{className:(0,r.Z)(c.find(l=>l.id===e.id).tailwindTextClass,"editorial-24 pt-5"),children:e.masterKey.title}),(0,i.jsx)("p",{className:"garamond-16 pt-6",children:e.masterKey.description})]},e.id))})]})]},null!==h?"active":"inactive")})]})}function et(e){let{id:l,overview:t,title:a,keys:n}=e,c=null==n?void 0:n.map(e=>({...e,tailwindFillClass:(0,d.M)("fill",e.fontColor),tailwindTextClass:(0,d.M)("text",e.fontColor),tailwindBackgroundClass:(0,d.M)("bg",e.backgroundColor),path:J[e.masterKey.mask]})),m=(0,d.M)("border",y.bG.CulinistaBlack),x=(0,d.M)("fill",y.bG.CulinistaBlack),p=(0,d.M)("bg",t.backgroundColor),h=(0,d.M)("text",t.fontColor),[u,f]=(0,o.useState)(t.id),[b,g]=(0,o.useState)(-1),j=(0,o.useMemo)(()=>c.length>0?[...c.map(e=>e.path),c[0].path]:null,[c]),w=(0,B.c)(b),N=A(w,j),C=e=>{f(e.currentTarget.id);let l=c.findIndex(l=>l.id===e.currentTarget.id),t=(0,O.j)(w,l,{duration:.8,ease:"easeInOut",onComplete:()=>{l===j.length-1?(w.set(0),g(-1)):g(l)}});return()=>t.stop()};(0,o.useEffect)(()=>{if(!j)return;let e=b+1,l=c.findIndex(e=>e.id===u)+1,a=setTimeout(()=>{l!==c.length?f(c[l].id):f(t.id);let a=(0,O.j)(w,e,{duration:.8,ease:"easeInOut",onComplete:()=>{b===j.length-2?(w.set(0),g(-1)):g(b+1)}});return()=>a.stop()},3500);return()=>clearTimeout(a)},[u,c,t.id,b,j,w]);let L={hidden:{opacity:0,transition:{duration:.4}},visible:{opacity:1,transition:{duration:.4,delay:.4}}};return(0,i.jsx)("div",{id:l,className:(0,r.Z)(m,"flex justify-center border-b border-opacity-40"),children:(0,i.jsxs)(v.m,{className:(0,r.Z)(m,"flex min-h-[800px] flex-row"),children:[(0,i.jsxs)("div",{className:(0,r.Z)(m,"helvetica-14-500 flex w-1/3 flex-col justify-between border-r border-opacity-40"),children:[(0,i.jsx)("div",{className:"pt-10 pl-10",children:a}),(0,i.jsxs)("div",{children:[(0,i.jsxs)("button",{id:t.id,disabled:u===t.id,type:"button",onClick:C,className:(0,r.Z)(m,"flex h-11 w-full flex-row items-center gap-5 border-b border-opacity-40 pl-10"),children:[(0,i.jsx)(M.E.div,{initial:!1,animate:u===t.id?"visible":"hidden",variants:L,children:(0,i.jsx)(s.k,{icon:(0,i.jsx)(k.Z,{}),size:20,className:x})},t.id),(0,i.jsx)("p",{children:"Overview"})]},t.id),c&&c.length>0&&c.map(e=>(0,i.jsxs)("button",{id:e.id,disabled:u===e.id,type:"button",onClick:C,className:(0,r.Z)(m,"flex h-11 w-full flex-row items-center gap-5 border-b border-opacity-40 pl-10 last:border-b-0"),children:[(0,i.jsx)(M.E.svg,{initial:!1,animate:u===e.id?"visible":"hidden",variants:L,width:"20",height:"20",children:(0,i.jsx)("path",{className:(0,r.Z)(e.tailwindFillClass),d:c.find(l=>l.id===e.id).path,transform:"scale(4, 4)"})},"key_".concat(e.id)),(0,i.jsx)("p",{children:e.masterKey.title})]},e.id))]})]}),(0,i.jsx)("div",{className:"mx-8 grid w-2/3 grid-cols-1 grid-rows-1",children:(0,i.jsx)(Z.M,{mode:"popLayout",children:u===t.id?(0,i.jsxs)(M.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.4},className:(0,r.Z)(p,h,"col-start-1 row-start-1 flex flex-col items-center justify-center px-[100px] text-center transition-colors duration-[800ms]"),children:[(0,i.jsx)("p",{className:"editorial-56 pb-16",children:t.title}),(0,i.jsx)("p",{className:"editorial-32",children:t.description})]},t.id):(0,i.jsxs)(M.E.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.4},className:(0,r.Z)(c.find(e=>e.id===u).tailwindBackgroundClass,"col-start-1 row-start-1 flex w-full flex-col items-center justify-center px-[100px] text-center transition-colors duration-[800ms]"),children:[(0,i.jsx)("svg",{width:"267",height:"267",children:(0,i.jsx)("g",{transform:"scale(53.4, 53.4)",children:(0,i.jsx)(M.E.path,{className:(0,r.Z)(c.find(e=>e.id===u).tailwindFillClass,"transition-colors duration-[800ms]"),d:N})})}),(0,i.jsx)("div",{className:"grid grid-cols-1 grid-rows-1",children:c.map(e=>(0,i.jsxs)(M.E.div,{initial:u===e.id?"visible":"hidden",animate:u===e.id?"visible":"hidden",variants:L,className:(0,r.Z)(c.find(l=>l.id===e.id).tailwindTextClass,"col-start-1 row-start-1"),children:[(0,i.jsx)("p",{className:"helvetica-18 py-10",children:e.masterKey.title}),(0,i.jsx)("p",{className:"editorial-32",children:e.masterKey.description})]},e.id))})]},"key")})})]})})}let ea={id:"overview",backgroundColor:y.bG.RedLight,fontColor:y.bG.Red,title:"We teach the way we cook.",description:"These eight master keys are the foundation of every recipe and menu we create. Understanding these keys means understanding how to cook effortlessly and with confidence, so you can sit down to every meal feeling free, triumphant, and adored."};function ei(e){let{data:l}=e,{title:t,items:a,overviewTitle:r,overviewDescription:s}=l,d=(0,L.a)(768);return(0,i.jsxs)(i.Fragment,{children:[!d&&(0,i.jsx)(et,{id:l.componentId,overview:{...ea,title:r,description:s},title:t,keys:a}),d&&(0,i.jsx)(el,{id:l.componentId,overview:{...ea,title:r,description:s},title:t,keys:a})]})}function er(e){let{data:l,className:t}=e,{backgroundColor:a=y.bG.Transparent,textColor:s=y.bG.CulinistaBlack,items:n,withTopBorder:c}=l,m=(0,d.M)("bg",a),x=(0,d.M)("text",s),p=(0,d.M)("border",s),h=(0,o.useRef)(null),[u,f]=(0,o.useState)(2),[b,g]=(0,o.useState)(0),v=(0,D.i)();(0,o.useEffect)(()=>{let e=v.width-b;if(e>0&&b>0&&f(Math.ceil(e/b)+1),e<0){f(2);let e=20*Math.abs(b/v.width)+20;h.current.children[0]&&h.current.children[1]&&(h.current.children[0].style.animationDuration="".concat(e,"s"),h.current.children[1].style.animationDuration="".concat(e,"s"))}},[v,b]);let j=e=>{g(null==e?void 0:e.offsetWidth)};return(0,i.jsx)("div",{ref:h,className:(0,r.Z)("relative flex w-full gap-x-5 overflow-hidden py-12 sm:py-[120px] md:gap-x-10",t,m,x,p,{"border-t border-opacity-40":c}),children:[0,1].map(e=>(0,i.jsx)("span",{className:"flex min-w-full flex-shrink-0 animate-marquee-left-20 gap-x-5 md:gap-x-10",children:Array.from({length:u},(e,l)=>(0,i.jsx)("span",{className:"flex flex-shrink-0 gap-x-5 md:gap-x-10",ref:j,children:[...n].map(e=>(0,i.jsxs)("span",{className:"flex flex-row items-center gap-x-2.5 md:gap-x-5",children:[(0,i.jsx)("span",{className:"helvetica-12-500 sm:helvetica-10-500",children:e.subt
1itle}),(0,i.jsx)("span",{className:"editorial-22 md:editorial-32 uppercase",children:e.label})]},e.id))},"marquee-wrapper-".concat(l)))},"text-marquee-container-".concat(e)))})}var es=t(91512),ed=t(99783);function eo(e){let{className:l,data:t}=e,{title:a,description:n,media:c,backgroundColor:m,textColor:x,footerTitle:p,footerDescription:h,borderColor:u,masterKey:f,withBottomBorder:b,withTopBorder:g,cta:j}=t,y=(0,L.a)(1024),C=(0,d.M)("border",u),k=(0,o.useRef)(null),M=(0,es.Y)(k);return(0,o.useEffect)(()=>{"video"!==c.type||c.isExternalVideo||(M?k.current.play():k.current.pause())},[c.isExternalVideo,c.type,M]),(0,i.jsx)("section",{id:t.componentId,className:(0,r.Z)(l,C,(0,d.M)("bg",m),(0,d.M)("text",x),"flex min-h-[600px] justify-center overflow-hidden md:flex lg:min-h-[930px]",{"border-t border-opacity-40":g,"border-b border-opacity-40":b}),children:(0,i.jsxs)(v.m,{className:(0,r.Z)(C,"flex w-full flex-col md:px-0 lg:grid lg:grid-cols-[4fr_3fr]",{"flex-col-reverse":!j,"py-10 lg:py-0":j}),children:[(0,i.jsx)("div",{className:(0,r.Z)(C,"relative mx-[20px] mb-[20px] min-h-[335px] md:pt-0 lg:m-0 lg:mb-0 lg:w-full lg:border-r lg:border-opacity-40"),children:(0,i.jsxs)("div",{className:(0,r.Z)("mx-auto h-full",{"w-fit":!("video"===c.type&&c.isExternalVideo)&&"image"!==c.type,"w-full":"video"===c.type&&c.isExternalVideo||"image"===c.type}),children:["image"===c.type&&(0,i.jsx)("div",{className:"h-full w-full lg:px-[30px]",children:(0,i.jsx)("div",{className:"relative h-full w-full",children:(0,i.jsx)(w(),{priority:!0,className:"absolute left-0 top-0 h-full w-full object-cover object-center md:static ",src:c.image.url,alt:c.image.alt||"",blurDataURL:c.image.metadata.lqip,placeholder:"blur",fill:!0,sizes:"(max-width: 768px) 100vw,   (max-width: 1200px) 50vw,   20vw"})})}),"video"===c.type&&!c.isExternalVideo&&(0,i.jsx)("video",{preload:"auto",loop:!0,muted:!0,playsInline:!0,ref:k,controls:!1,className:"absolute left-0 top-0 h-full w-full object-cover object-center md:static lg:px-[30px]",src:"".concat(c.video.url,"#t=0.1")}),"video"===c.type&&c.isExternalVideo&&(0,i.jsx)(ed.Z,{url:y&&c.mobileVideoUrl?c.mobileVideoUrl:c.videoUrl,width:"100%",height:"100%",playing:!0,muted:!0,controls:!1,loop:!0,playsinline:!0})]})}),(0,i.jsxs)("div",{className:(0,r.Z)("z-[1] mx-auto my-0 flex w-full flex-col items-center justify-center pt-[30px] lg:pt-0",{"pt-[60px]":!j}),children:[(0,i.jsxs)("div",{className:"flex w-full flex-col items-center lg:h-full lg:justify-center",children:[f&&(0,i.jsx)(s.k,{className:"mb-10 lg:mb-[30px]",icon:(0,i.jsx)("svg",{children:(0,i.jsx)("path",{d:Q.a[f.mask],transform:"scale(0.2, 0.2)",fill:"currentColor"})}),size:20}),(0,i.jsxs)("div",{className:(0,r.Z)("[&>*:nth-child(2)]:editorial-22 [&>*:nth-child(2)]:lg:editorial-32 flex max-w-[500px] flex-col items-center [&>*:nth-child(2)]:text-center",{"[&>*:nth-child(2)]:garamond-18 [&>*:nth-child(2)]:lg:garamond-18":j}),children:[(0,i.jsx)("p",{className:(0,r.Z)("pb-5 lg:pb-[30px]",{"editorial-32 lg:editorial-32":j,"helvetica-12-500 lg:helvetica-14-500":!j}),dangerouslySetInnerHTML:{__html:(0,N.v)(a)}}),(0,i.jsx)(q.i,{value:n,className:(0,r.Z)("px-10 lg:px-[30px] lg:pb-0",{"pb-0":j,"pb-10":!j}),tag:j?"p":"h2"}),j&&(0,i.jsx)(E.k,{href:null==j?void 0:j.href,backgroundColor:j.backgroundColor,textColor:j.textColor,className:"mt-[30px]",children:j.label})]})]}),p&&h&&(0,i.jsxs)("section",{className:(0,r.Z)(C,"helvetica-12-500 lg:helvetica-14-500 w-full gap-x-[30px] border-t border-opacity-40 px-5 pb-[30px] lg:flex lg:justify-between lg:p-[30px]"),children:[(0,i.jsx)("h6",{className:"pb-[30px] pt-[60px] lg:min-w-[30%] lg:max-w-[30%] lg:py-0",children:p}),(0,i.jsx)("ul",{className:"lg:w-full lg:max-w-[360px]",children:h.map(e=>(0,i.jsx)("li",{className:(0,r.Z)(C,"border-b border-opacity-40 py-[9px] text-start first:pt-0 last:border-none last:pb-0 lg:py-3"),children:e},e))})]})]})]})})}var en=t(43652),ec=t(90015),em=t(23634);function ex(e){var l,t,a,n,c,m,x,h;let u;let g,v,{menu:j,dish:N,cookingClass:C,variant:S,type:I,backgroundColor:T,fontColor:E,logoColor:R}=e,{sitePlaceholderImage:_}=(0,ec.K)(),G="dishes"!==I&&(0,d.M)("bg",T),P="dishes"!==I&&(0,d.M)("text",E),z=(0,d.M)("border",y.bG.White),F=C||j||N,[q,W]=(0,o.useState)(null),D=(0,L.a)(768),B=(0,p.useRouter)(),O=(0,b.R)(B.asPath);D&&"dishes"===I?(g=216,v=273):D&&"dishes"!==I?(g=282,v=252):D||"dishes"!==I?(g=427,v=380):(g=282,v=370);let K=(0,em.y)(null===(l=F.image)||void 0===l?void 0:l.url);return(0,o.useEffect)(()=>
1{if("menus"===I){let e=j.slug.current;B.prefetch(f.y.menu(e,O))}if("cookingClasses"===I){let e=C.slug.current;B.prefetch(f.y.cookingClass(e,O))}},[null==C?void 0:C.slug,O,null==j?void 0:j.slug,B,I]),(0,i.jsxs)("button",{onClick:()=>{if("menus"===I){let e=j.slug.current;B.push(f.y.menu(e,O),void 0,{scroll:!1})}if("cookingClasses"===I){let e=C.slug.current;B.push(f.y.cookingClass(e,O),void 0,{scroll:!1})}},type:"button",onPointerOver:(u=F.id,()=>{W(u)}),onPointerOut:()=>{W(null)},className:(0,r.Z)(G,P,z,"relative flex flex-col",{"min-h-[442px] w-[282px] min-w-[282px] cursor-pointer md:min-h-[620px] md:w-[427px] md:min-w-[427px] ":"dishes"!==I,"min-h-[473px] w-[240px] min-w-[240px] basis-full cursor-default border-l border-opacity-40 px-3 last:border-r md:min-h-[700px] md:min-w-[330px] md:border-b md:border-t md:px-6 md:pb-5 md:pt-11 first:md:min-w-[386px] first:md:pl-20 last:md:min-w-[386px] last:md:border-r last:md:pr-20":"dishes"===I,"first:md:border-l-0 last:md:border-r-0":"rightToLeft"!==S&&"dishes"===I,"md:border-b-0 md:border-t-0 md:pt-14 first:md:min-w-[330px] first:md:pl-6":"default"!==S&&"dishes"===I}),children:[(0,i.jsx)(w(),{src:(null===(t=F.image)||void 0===t?void 0:t.url)?K:_.url,alt:(null===(a=F.image)||void 0===a?void 0:a.alt)?F.image.alt:_.alt,width:(null===(n=F.image)||void 0===n?void 0:n.metadata.width)?g:_.metadata.width,height:(null===(c=F.image)||void 0===c?void 0:c.metadata.height)?v:_.metadata.height,blurDataURL:(null===(m=F.image)||void 0===m?void 0:m.metadata.lqip)?null===(x=F.image)||void 0===x?void 0:x.metadata.lqip:"",placeholder:(null===(h=F.image)||void 0===h?void 0:h.url)?"blur":"empty",className:(0,r.Z)("self-center",{"h-[252px] w-[282px] md:h-[380px] md:w-[427px]":"dishes"!==I,"h-[273px] w-[216px] md:h-[370px] md:w-[282px]":"dishes"===I})}),(0,i.jsx)(Z.M,{children:"dishes"!==I&&F.id===q&&(0,i.jsx)(M.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},className:"absolute right-5 top-[220px] md:top-[348px]",children:(0,i.jsx)(s.k,{icon:(0,i.jsx)(k.Z,{}),size:64,className:(0,d.M)("text",R)})},F.id)}),"menus"===I&&(0,i.jsxs)("div",{className:"helvetica-10-500 flex flex-row gap-5 px-5 pb-20 pt-5 md:px-8 md:pb-24 md:pt-8",children:[(0,i.jsx)("p",{children:"Menu"}),j.qualifier&&(0,i.jsx)("p",{className:"helvetica-10-400",children:j.qualifier})]}),"cookingClasses"===I&&(0,i.jsx)("div",{className:"helvetica-10-500 flex flex-row gap-5 px-5 pb-20 pt-5 md:px-8 md:pb-24 md:pt-8",children:(0,i.jsx)("p",{children:"Cooking Class"})}),(0,i.jsx)("p",{className:(0,r.Z)("dishes"!==I&&'before:float-right before:h-6 before:h-[50px] md:before:h-8 md:before:w-20 before:content-[""]',"directionLeftToRight pb-5 md:pb-8",{"editorial-24 md:editorial-32-uppercase  pl-16 pr-5 text-left indent-[-44px] uppercase md:pl-24 md:pr-8 md:indent-[-64px]":"dishes"!==I,"editorial-18 md:editorial-24 max-w-[282px] self-center pt-8 text-center md:max-w-[330px] md:px-4 md:pb-3":"dishes"===I}),children:F.title}),"dishes"===I&&(0,i.jsxs)("div",{className:"flex h-full max-w-[282px] flex-col justify-between self-center px-4 text-center md:max-w-[330px]",children:[(0,i.jsx)("p",{className:"garamond-14 pb-5",children:N.ingredients}),(0,i.jsx)("div",{className:"helvetica-10-400 flex flex-row justify-center",children:N.diets.map(e=>(0,i.jsx)(i.Fragment,{children:(null==e?void 0:e.abbreviation)&&(0,i.jsx)("div",{className:(0,r.Z)(z,"border-l border-opacity-40 px-3 py-1 first:border-l-0 md:border-b md:border-t first:md:border-l last:md:border-r",{"first:md:border-r":"rightToLeft"===S,"last:md:border-r-0":"rightToLeft"===S&&N.diets.length>1}),children:e.abbreviation},e.title)}))})]})]},F.id)}function ep(e){let{title:l,cta:t,withCta:a,variant:o,type:n,fontColor:c,backgroundColor:m}=e,x=(0,d.M)("fill",c),p=(0,d.M)("bg",m),h=(0,d.M)("text",c),u=(0,d.M)("border-t",y.bG.White),f=(0,d.M)("border-b",y.bG.White);return(0,i.jsxs)("div",{className:(0,r.Z)(p,h,u,f,"flex w-[282px] min-w-[282px] flex-col justify-center",{"min-h-[442px] md:min-h-[620px] md:w-[427px] md:min-w-[427px]":"dishes"!==n,"min-h-[473px] md:min-h-[700px] md:min-w-[330px] md:border-t md:border-b md:border-opacity-40":"dishes"===n,"md:mr-14":"leftToRight"===o&&"dishes"===n,"md:ml-14":"rightToLeft"===o&&"dish","md:min-w-[386px] md:bg-clip-content md:pr-14":"default"===o&&"dishes"===n}),children:[(0,i.jsx)(s.k,{icon:(0,i.jsx)(k.Z,{}),size:24,className:(0,r.Z)(x,"mb-10 self-center")}),(0,i.jsx)("p",{className:"directionLeftToRight editorial-22 md:editorial-24 mb-8 w-[282px] self-center px-8 md:px-0",children:l}),a&&(0,i.jsx)(E.k,{href:t.href,backgroundColor:t&&(null==t?void 0:t.backgroundColor)?t.backgroundColor:c,textColor:t&&(null==t?void 0:t.textColor)?t.textColor:m,variant:E.$.EndSlide,children:t.label})]},"endCard")}function eh(e){let{dishesGroups:l,menusGroups:t,cookingClassesGroups:a,variant:s,type:n,backgroundColor:c,textColor:m}=e,x=(0,o.useRef)(),p=(0,L.a)(768),h=(0,en.J)(x),[u,f]=(0,o.useState)("leftToRight"===s?0:75),[b,g]=(0,o.useState)(!1),[v,j]=(0,o.useState)(0),w=(0,d.M)("bg",c),y=(0,d.M)("fill",m),N=()=>{g(!1)};return(0,o.useEffect)(()=>{f(p||"leftToRight"===s?0:75)},[p,s]),(0,o.useEffect)(()=>(document.addEventListener("mouseup",N),()=>{document.removeEventListener("mouseup",N)}),[b]),(0,i.jsxs)("div",{onMouseMove:e=>{if(!b)return;let l=x.current,t=e.clientX-v,a=l.clientWidth,i=(l.scrollWidth-a)/.5,r=p||"leftToRight"===s?Math.max(Math.min(75,(l.scrollLeft+t/a*i)/i*150),0
1):Math.max(Math.min(0,(l.scrollLeft+t/a*i)/i*150),-75);f(p||"leftToRight"===s?r:r+75),l.scrollLeft+=t/a*i,j(e.clientX)},children:[(0,i.jsxs)("div",{ref:x,onScroll:()=>{let e=x.current,l=(e.scrollWidth-e.clientWidth)/.5,t=e.scrollLeft/l*150;f(p||"leftToRight"===s?t:t+75)},className:(0,r.Z)("scrollbar-hidden flex flex-row justify-start overflow-x-auto overflow-y-hidden",{"justify-around":!h,"gap-4 px-4 md:px-14":"dishes"!==n,"px-5 md:px-0":"dishes"===n,reverse:"rightToLeft"===s,"md:pl-[618px]":"leftToRight"===s&&"dishes"!==n,"md:pl-[521px]":"leftToRight"===s&&"dishes"===n,"md:pr-[618px]":"rightToLeft"===s&&"dishes"!==n,"md:pr-[521px]":"rightToLeft"===s&&"dishes"===n}),children:["cookingClasses"===n&&(0,i.jsxs)(i.Fragment,{children:[a[0].items.map((e,l)=>(0,i.jsx)(ex,{cookingClass:e,variant:s,type:n,backgroundColor:a[0].backgroundColor,fontColor:a[0].textColor,logoColor:a[0].logoColor},"".concat(e.id+l))),a[0].hasLastSlide&&(0,i.jsx)(ep,{title:a[0].lastSlide.title,cta:a[0].lastSlide.cta,fontColor:a[0].lastSlide.fontColor||c,backgroundColor:a[0].lastSlide.backgroundColor||m,variant:s,type:n,withCta:a[0].lastSlide.withCta})]}),"menus"===n&&(0,i.jsxs)(i.Fragment,{children:[t[0].items.map((e,l)=>(0,i.jsx)(ex,{menu:e,variant:s,type:n,backgroundColor:t[0].backgroundColor,fontColor:t[0].textColor,logoColor:t[0].logoColor},"".concat(e.id+l))),t[0].hasLastSlide&&(0,i.jsx)(ep,{title:t[0].lastSlide.title,cta:t[0].lastSlide.cta,fontColor:t[0].lastSlide.fontColor||c,backgroundColor:t[0].lastSlide.backgroundColor||m,variant:s,type:n,withCta:t[0].lastSlide.withCta})]}),"dishes"===n&&(0,i.jsxs)(i.Fragment,{children:[l[0].items.map((e,l)=>(0,i.jsx)(ex,{dish:e,variant:s,type:n,backgroundColor:m,fontColor:c},"".concat(e.id+l))),l[0].hasLastSlide&&(0,i.jsx)(ep,{title:l[0].lastSlide.title,cta:l[0].lastSlide.cta,fontColor:l[0].lastSlide.fontColor||c,backgroundColor:l[0].lastSlide.backgroundColor||m,variant:s,type:n,withCta:l[0].lastSlide.withCta})]})]}),h&&(0,i.jsxs)("div",{className:(0,r.Z)(w,"relative mx-5 mt-[30px] mb-10 h-[30px] overflow-x-auto  md:mx-14 md:mt-16 md:mb-20",{"md:ml-[618px]":"leftToRight"===s&&"dishes"!==n,"md:ml-[521px]":"leftToRight"===s&&"dishes"===n,"md:mr-[618px]":"rightToLeft"===s&&"dishes"!==n,"md:mr-[521px]":"rightToLeft"===s&&"dishes"===n}),children:[(0,i.jsx)("div",{"aria-label":"scrollbar",className:(0,r.Z)("absolute top-[15px] h-px w-full bg-white bg-opacity-40")}),(0,i.jsxs)("button",{type:"button","aria-label":"scrollbar",className:"bg-opacity-4 absolute grid h-full cursor-pointer grid-cols-1 grid-rows-1",style:{width:"25%",left:"".concat(u,"%")},onMouseDown:e=>{g(!0),j(e.clientX)},children:[(0,i.jsx)("div",{"aria-label":"scrollbar",className:(0,r.Z)("absolute top-[15px] h-0.5 w-full cursor-pointer bg-white bg-opacity-40")}),!p&&(0,i.jsx)("div",{"aria-label":"scrollbar",className:"absolute left-[calc(50%-15px)] cursor-pointer",children:(0,i.jsx)("svg",{width:30,height:30,children:(0,i.jsx)("path",{className:(0,r.Z)(y),d:Q.a.formula,transform:"scale(0.30, 0.30)"})})})]})]})]})}let eu=o.forwardRef((e,l)=>{let{variant:t,type:a,backgroundColor:s,textColor:n,activeGroup:c,activeGroupId:m}=e,x=(0,L.a)(768),p=(0,en.J)(l,m),[h,u]=(0,o.useState)(0),[f,b]=(0,o.useState)(!1),[g,v]=(0,o.useState)(0),j=(0,d.M)("bg",s),w=(0,d.M)("fill",n),y="dishes"!==a?null==c?void 0:c.textColor:s,N="dishes"!==a?null==c?void 0:c.backgroundColor:n,C="dishes"!==a?null==c?void 0:c.logoColor:null,k=()=>{b(!1)};return(0,o.useEffect)(()=>{u(0)},[m]),(0,o.useEffect)(()=>(document.addEventListener("mouseup",k),()=>{document.removeEventListener("mouseup",k)}),[f]),(0,i.jsxs)(M.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},onMouseMove:e=>{if(!f)return;let t=l.current,a=e.clientX-g,i=t.clientWidth,r=(t.scrollWidth-i)/.75;u(Math.max(Math.min(75,(t.scrollLeft+a/i*r)/r*100),0)),t.scrollLeft+=a/i*r,v(e.clientX)},children:[(0,i.jsxs)("div",{ref:l,onScroll:()=>{let e=l.current,t=(e.scrollWidth-e.clientWidth)/.75;u(e.scrollLeft/t*100)},className:(0,r.Z)("scrollbar-hidden flex flex-row justify-start overflow-x-auto overflow-y-hidden ",{"justify-center pb-10 md:pb-20":!p,"gap-5 px-4 md:px-14":"dishes"!==a,"px-5 md:px-0":"dishes"===a}),children:["cookingClasses"===a&&c&&(0,i.jsxs)(i.Fragment,{children:[c.items.map(e=>(0,i.jsx)(ex,{cookingClass:e,variant:t,type:a,fontColor:y,backgroundColor:N,logoColor:C},e.id)),c.hasLastSlide&&(0,i.jsx)(ep,{title:c.lastSlide.title,cta:c.lastSlide.cta,fontColor:c.lastSlide.fontColor||s,backgroundColor:c.lastSlide.backgroundColor||n,variant:t,type:a,withCta:c.lastSlide.withCta})]}),"menus"===a&&c&&(0,i.jsxs)(i.Fragment,{children:[c.items.map(e=>(0,i.jsx)(ex,{menu:e,variant:t,type:a,fontColor:y,backgroundColor:N,logoColor:C},e.id)),c.hasLastSlide&&(0,i.jsx)(ep,{title:c.lastSlide.title,cta:c.lastSlide.cta,fontColor:c.lastSlide.fontColor||s,backgroundColor:c.lastSlide.backgroundColor||n,variant:t,type:a,withCta:c.lastSlide.withCta})]}),"dishes"===a&&c&&(0,i.jsxs)(i.Fragment,{children:[c.items.map(e=>(0,i.jsx)(ex,{dish:e,variant:t,type:a,fontColor:y,backgroundColor:N},e.id)),c.hasLastSlide&&(0,i.jsx)(ep,{title:c.lastSlide.title,cta:c.lastSlide.cta,fontColor:c.lastSlide.fontColor||s,backgroundColor:c.lastSlide.backgroundColor||n,variant:t,type:a,withCta:c.lastSlide.withCta})]})]}),p&&(0,i.jsxs)("div",{className:(0,r.Z)(j,"relative mx-5 mt-[30px] mb-10 h-[30px] overflow-x-auto  md:mx-14 md:mt-16 md:mb-20"),children:[(0,i.jsx)("div",{"aria-label":"scrollbar",className:(0,r.Z)("absolute top-[15px] h-px w-full bg-white bg-opacity-40")}),(0,i.jsxs)("button",{type:"button","aria-label":"scrollbar",className:"bg-opacity-4 absolute grid h-full cursor-pointer grid-cols-1 grid-rows-1",style:{width:"25%",left:"".concat(h,"%")},onMouseDown:e=>{b(!0),v(e.clientX)},children:[(0,i.jsx)("div",{"aria-label":"scrollbar",className:(0,r.Z)("absolute top-[15px] h-0.5 w-full cursor-pointer bg-white bg-opacity-40")}),!x&&(0,i.jsx)("div",{"aria-label":"scrollbar",className:"absolute left-[calc(50%-15px)] cursor-pointer",children:(0,i.jsx)("svg",{width:30,height:30,children:(0,i.jsx)("path",{className:(0,r.Z)(w),d:Q.a.formula,transform:"scale(0.30, 0.30)"})})})]})]})]},m)});function ef(e){var l;let{dishesGroups:t,menusGroups:a,cookingClassesGroups:s,variant:d,type:n,backgroundColor:c,textColor:m}=e,x=(0,o.useRef)(),p=[];"dishes"===n?p=t.filter(e=>e.items.length>0):"menus"===n?p=a.filter(e=>e.items.length>0):"cookingClasses"===n&&(p=s.filter(e=>e.items.length>0));let[h,u]=(0,o.useState)(null===(l=p[0])||void 0===l?void 0:l.id),f=p[p.findIndex(e=>e.id===h)],b=e=>{u(e.currentTarget.id)};return(0,i.jsxs)(i.Fragment,{children:[p.length>1&&(0,i.jsx)("div",{className:"scrollbar-hidden flex flex-row gap-3 overflow-x-auto whitespace-nowrap px-5 pb-6 md:mx-auto md:max-w-full md:gap-8 md:px-8 md:pb-10",children:p.map(e=>(0,i.jsx)("button",{disabled:e.id===h,onClick:b,id:e.id,className:(0,r.Z)("helvetica-14-500 md:helvetica-16-500",{"border-b border-white text-white opacity-100":e.id===h,"opacity-70":"default"===d&&("dishes"===n&&t.length>1||"dishes"!==n&&a.length>1)&&m===y.bG.White}),type:"button",children:e.title},e.id))}),(0,i.jsx)(Z.M,{mode:"popLayout",initial:!1,children:(0,i.jsx)(eu,{variant:d,type:n,backgroundColor:c,textColor:m,activeGroup:f,activeGroupId:h,ref:x})})]})}function eb(e){let{data:l}=e,{backgroundColor:t,textColor:a,title:s,byline:o,dishesGroups:n,menusGroups:c,cookingClassesGroups:m,withCta:x,cta:p,variant:h,masterKey:u,type:f}=l,b=(0,d.M)("bg",t),g=(0,d.M)("text",a),v=(0,d.M)("fill",a),j=(0,d.M)("border-l",y.bG.White),w=(0,d.M)("border-r",y.bG.White);return(0,i.jsxs)("div",{id:l.componentId,className:(0,r.Z)(b,g,"helvetica-12-500 md:helvetica-14-500 relative flex flex-col pt-14 text-center",{"md:pt-24":"default"===h,"md:pt-0":"default"!==h&&"dishes"===f}),children:[(0,i.jsxs)("div",{className:(0,r.Z)(b,j,w,"mx-5 flex flex-col items-center self-center",{"md:absolute md:top-0 md:z-10 md:mx-0 md:h-full md:w-[477px] md:justify-center md:border-r md:border-l md:border-opacity-40":"default"!==h,"md:px-12":"dishes"===f,"md:px-5":"dishes"!==f,"md:left-8":"leftToRight"===h,"md:right-8":"rightToLeft"===h}),children:[u&&(0,i.jsx)("svg",{width:20,height:20,className:"mb-10 md:mb-8",children:(0,i.jsx)("path",{transform:"scale(0.2, 0.2)",className:v,d:Q.a[u.mask]})}),(0,i.jsx)("p",{className:(0,r.Z)("max-w-[315px] pb-5 md:max-w-[900px] md:pb-8",{"opacity-70":"default"===h&&("dishes"===f&&n.length>1||"menus"===f&&c.length>1)&&a===y.bG.White}),children:s}),(0,i.jsx)(q.i,{className:(0,r.Z)("editorial-22 md:editorial-32 max-w-[315px] pb-14 decoration-2 md:max-w-[900px] md:pb-20",{"opacity-70":"default"===h&&("dishes"===f&&n.length>1||"menus"===f&&c.length>1)&&a===y.bG.White}),value:o})]}),"default"===h&&(0,i.jsx)(ef,{dishesGroups:n,menusGroups:c,cookingClassesGroups:m,variant:h,backgroundColor:t,textColor:a,type:f}
1),"default"!==h&&(0,i.jsx)(eh,{dishesGroups:n,menusGroups:c,cookingClassesGroups:m,variant:h,backgroundColor:t,textColor:a,type:f}),x&&(0,i.jsx)(E.k,{href:p.href,className:"helvetica-14-500 mb-20 flex h-10 w-52 self-center",backgroundColor:p.backgroundColor?p.backgroundColor:a,textColor:p.textColor?p.textColor:t,children:p.label})]})}function eg(e){let{data:l}=e,{backgroundColor:t,textColor:a,title:s,logos:o}=l,n=(0,d.M)("bg",t),c=(0,d.M)("text",a),m=(0,d.M)("border",y.bG.CulinistaBlack);return(0,i.jsxs)("div",{id:l.componentId,className:(0,r.Z)(n,c),children:[(0,i.jsx)("p",{className:(0,r.Z)(m,"helvetica-12-500 md:helvetica-14-500 border-t border-b border-opacity-40 pt-8 pb-10 text-center md:pt-10"),children:s}),(0,i.jsx)("div",{className:(0,r.Z)(m,"flex min-h-[60px] flex-col flex-wrap items-center justify-center gap-9 border-b border-opacity-40 pt-5 pb-10 md:flex-row md:gap-x-[120px] md:pt-10"),children:o.map(e=>(0,i.jsx)("div",{className:"h-[60px]",children:(0,i.jsx)(w(),{src:e.url,alt:e.alt,width:e.metadata.width,height:e.metadata.height,blurDataURL:e.metadata.lqip,placeholder:"blur",className:"h-full w-auto",onLoad:e=>{e.currentTarget.style.backgroundImage="none"}})},e.url))})]})}function ev(e){let{className:l="",data:t}=e,{title:a,backgroundColor:s,textColor:o,bordersColor:n,media:c,header:m,footer:x,cta:p,breadCrumbs:h}=t;return(0,i.jsx)("header",{id:t.componentId,className:(0,r.Z)(l,(0,d.M)("bg",s),(0,d.M)("text",o),(0,d.M)("border-r",n),"flex h-[75vh] min-h-[600px] justify-center overflow-hidden md:h-[800px]"),children:(0,i.jsxs)(v.m,{className:(0,r.Z)((0,d.M)("border-r",n),(0,d.M)("border-l",n),"flex w-full flex-col-reverse lg:flex-row-reverse"),children:[(0,i.jsxs)("div",{className:(0,r.Z)((0,d.M)("border-l",n),"relative mb-16 min-h-[300px] flex-1 lg:mb-0 lg:flex-[4] lg:border-l lg:border-opacity-40"),children:[c.image&&!c.video&&(0,i.jsx)("div",{className:"h-full w-full px-5 md:px-[30px] md:pt-0",children:(0,i.jsx)("div",{className:"relative h-full w-full",children:(0,i.jsx)(w(),{priority:!0,className:"mb-5 mr-0 mt-10 object-cover object-center lg:mb-0 lg:mt-0 ",src:c.image.url,alt:c.image.alt||"",fill:!0,placeholder:"blur",blurDataURL:c.image.metadata.lqip,sizes:"(max-width: 768px) 100vw,   (max-width: 1200px) 50vw,   50vw"})})}),c.video&&!c.image&&(0,i.jsx)("video",{autoPlay:!0,preload:"auto",loop:!0,muted:!0,playsInline:!0,controls:!1,className:"absolute left-0 top-0 h-full object-cover object-center md:static",src:"".concat(c.video,"#t=0.1")})]}),(0,i.jsxs)("div",{className:"relative z-[1] mx-auto my-0 flex w-full flex-col items-center justify-center text-center lg:flex-[3]",children:[h&&(0,i.jsx)("div",{className:"helvetica-12-400 absolute left-2 top-0",children:(0,i.jsx)(q.i,{className:(0,r.Z)("[&>p]:flex [&>p]:gap-3","[&>p>a>span]:cursor-pointer [&>p>a]:opacity-60","[&>p>em]:helvetica-12-400 [&>p>em]:opacity-60","[&>p>strong]:helvetica-12-400"),value:h,fontVariant:"small"})}),(0,i.jsxs)("span",{className:"max-w-[293px] px-5 pt-[30px] sm:max-w-[513px] lg:px-[30px]",children:[m&&(0,i.jsx)("span",{className:"helvetica-14-500 mb-[30px] block",dangerouslySetInnerHTML:{__html:(0,N.v)(m)}}),a&&(0,i.jsx)("h1",{className:"editorial-32 md:editorial-56",dangerouslySetInnerHTML:{__html:(0,N.v)(a,"large")}}),x&&(0,i.jsx)("h2",{className:"garamond-18 mt-[30px]",dangerouslySetInnerHTML:{__html:(0,N.v)(x,"small")}}),p&&(0,i.jsx)(E.k,{href:null==p?void 0:p.href,backgroundColor:p.backgroundColor,textColor:p.textColor,className:"mx-auto mt-[30px] w-52 py-3",children:p.label})]})]})]})})}function ej(e){let{className:l,data:t}=e,{title:a,text:s,backgroundColor:o,fontColor:n,bordersColor:c,news:m,services:h}=t,u=(0,p.useRouter)();return(0,i.jsx)("section",{id:t.componentId,className:(0,r.Z)(l,"flex h-full justify-center",(0,d.M)("bg",o),(0,d.M)("text",n)),children:(0,i.jsxs)(v.m,{className:(0,r.Z)((0,d.M)("border-r",c),(0,d.M)("border-l",c),"flex h-full flex-col md:flex-row"),children:[(0,i.jsxs)("aside",{className:(0,r.Z)("border-r border-opacity-40 pt-[45px] text-center md:w-2/3 md:pt-[93px] lg:w-1/3",(0,d.M)("border-r",c)),children:[(0,i.jsxs)("div",{className:(0,r.Z)("border-opacity-40 px-[30px] md:border-b",(0,d.M)("border-b",c)),children:[(0,i.jsx)("h2",{className:"helvetica-12-500 md:helvetica-14-500 mb-[30px]",children:a}),(0,i.jsx)(q.i,{className:(0,r.Z)("garamond-16 md:garamond-18 mb-7 md:mb-[60px]","[&>*:nth-child(2)]:helvetica-12-500 [&>*:nth-child(2)]:helvetica-12-500 [&>*:nth-child(2)]:md:helvetica-14-500 [&>*:nth-child(2)]:mt-10 [&>*:nth-child(2)]:md:mt-[60px] "),value:s,fontVariant:"small"})]}),(0,i.jsx)("ul",{className:"hidden md:block",children:m.map(e=>{let{title:l,id:t,link:a}=e;return(0,i.jsx)("li",{className:(0,r.Z)("relative border-b border-opacity-40 py-5 px-[30px]",(0,d.M)("border-b",c)),children:(0,i.jsxs)(x(),{href:a||"",scroll:u.asPath.split("#")[0]===a,children:[(0,i.jsx)("p",{className:(0,r.Z)('before:content-[" "] before:block before:h-[7px] before:w-[7px] before:rounded-full before:bg-ar-yellow',"helvetica-14-500 mb-3 flex items-center justify-center gap-2"),children:"News"}),(0,i.jsx)("p",{className:"helvetica-14-400",children:l})]})},t)})})]}),(0,i.jsx)("div",{className:(0,r.Z)((0,d.M)("border-b",c),"mb-5 w-full border-b border-opacity-40 p-5 md:mb-0 md:border-b-0 md:pb-[85px] md:pt-[95px] lg:pr-[35px] lg:pl-[115px]"),children:(0,i.jsx)("ul",{className:"grid items-start gap-x-[25px] gap-y-5 md:gap-y-[60px] lg:grid-cols-2",children:h.map(e=>{let{id:l,image:t,service:{title:a,byline:s}
1,link:o}=e;return(0,i.jsx)("li",{className:(0,r.Z)("relative flex w-full justify-center text-center transition-all hover:opacity-70",'after:content-[" "] after:content-[" "] after:absolute after:top-0 after:left-0 after:-ml-5 after:block after:w-[calc(100%+40px)] after:border-t after:border-opacity-40 md:after:border-t-0',(0,d.M)("after:border-t",c)),children:(0,i.jsx)("div",{className:"max-w-[420px]",children:(0,i.jsxs)(x(),{href:o,scroll:u.asPath.split("#")[0]===o,className:"flex flex-col-reverse md:block md:text-left",children:[(0,i.jsx)("div",{className:"relative max-h-[364px] min-h-[364px] w-full object-cover object-center md:h-full md:max-h-[400px] md:min-h-[400px] xl:max-h-[450px] xl:min-h-[450px]",children:(null==t?void 0:t.url)&&(0,i.jsx)(w(),{className:"object-cover object-center",src:t.url,alt:t.alt||"",blurDataURL:t.metadata.lqip,placeholder:"blur",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 20vw",fill:!0})}),(0,i.jsxs)("div",{className:"flex flex-col items-center text-center md:mb-0 md:px-14",children:[(0,i.jsx)("p",{className:"editorial-32 mt-5",children:a}),(0,i.jsx)("p",{className:"garamond-16 lg:garamond-18 mt-2 max-w-[278px] md:mt-[5px] md:max-w-none",children:s})]})]})})},l)})})})]})})}function ew(e){let{data:l}=e,t=(0,o.useRef)([]),a=(0,o.useRef)([]),s=(0,D.i)().width<768;(0,o.useEffect)(()=>{let e=t.current[0].getBoundingClientRect().width,l=t.current.map(e=>window?+window.getComputedStyle(e,null).getPropertyValue("padding-left").replace("px",""):0),i=a.current.map((e,t)=>e.getBoundingClientRect().width+l[t]);t.current.forEach((t,a)=>{if(i[a]>=e){let r=i[a]+65-e;t.style.paddingLeft="".concat(l[a]-r,"px")}})},[]);let{backgroundColor:n,bordersColor:c,byline:m,textColor:x,title:p,keys:h,quotes:u}=l;return(0,i.jsx)("section",{id:l.componentId,className:(0,r.Z)((0,d.M)("bg",n),(0,d.M)("text",x)),children:(0,i.jsxs)("div",{className:"mx-auto my-0 w-full max-w-[1147px] px-[20px] pt-[75px] pb-[85px] md:pb-[120px] md:pt-[100px] xl:px-0",children:[(0,i.jsxs)("div",{className:"mb-[80px] text-center md:mb-[62px]",children:[(0,i.jsx)("h2",{className:"helvetica-12-500 md:helvetica-14-500 mb-[20px]",children:p}),(0,i.jsx)(q.i,{value:m,className:"editorial-22 md:editorial-32 mx-auto max-w-[930px] text-center decoration-2"})]}),(0,i.jsxs)("ul",{children:[h&&h.length>0&&h.map((e,l)=>{let{id:o,masterKey:{mask:n},title:m,fillColor:x,description:p}=e;return(0,i.jsx)("li",{ref:e=>t.current.push(e),className:(0,r.Z)((0,d.M)("border",c),"border-t border-opacity-40 last:border-b"),children:(0,i.jsx)(_.Y,{richTextBody:p,className:(0,r.Z)("border-t-0 px-0 py-5 md:py-[30px] md:pr-[35px]",{"md:pl-[0%]":l%5==0,"md:pl-[20%]":l%5==1||4,"md:pl-[9%]":l%5==2,"md:pl-[29%]":l%5==3}),labelClassName:"px-0 pt-0 pb-5 md:pb-[30px] max-w-[558px]",answerClassName:(0,r.Z)({"md:pl-[0%]":l%5==0,"md:pl-[20%]":l%5==1||4,"md:pl-[9%]":l%5==2,"md:pl-[29%]":l%5==3}),children:(0,i.jsxs)("div",{ref:e=>a.current.push(e),className:"flex items-center gap-2.5",children:[(0,i.jsx)("div",{className:"h-6 w-6 md:h-[30px] md:w-9",children:(0,i.jsx)("svg",{width:s?"24":"30",height:s?"24":"30",children:(0,i.jsx)("path",{className:(0,d.M)("fill",x),d:Q.a[n],transform:s?"scale(0.24, 0.24)":"scale(0.30, 0.30)"})})}),(0,i.jsx)("p",{className:"editorial-18 md:editorial-32 pt-[5px] text-start uppercase md:pt-[9px] md:text-center",children:m})]})})},o)}),u&&u.length>0&&u.map((e,l)=>{let{id:s,title:o,name:n,description:m}=e;return(0,i.jsx)("li",{ref:e=>t.current.push(e),className:(0,r.Z)("border-t border-opacity-40 last:border-b",(0,d.M)("border",c)),children:(0,i.jsx)(_.Y,{richTextBody:m,className:(0,r.Z)("border-t-0 px-0 py-5 md:py-[30px] md:pr-[35px]",{"md:pl-[0%]":l%5==0,"md:pl-[20%]":l%5==1||4,"md:pl-[9%]":l%5==2,"md:pl-[29%]":l%5==3}),labelClassName:"px-0 pt-0 pb-5 md:pb-[30px] max-w-[558px]",answerClassName:(0,r.Z)({"md:pl-[0%]":l%5==0,"md:pl-[20%]":l%5==1||4,"md:pl-[9%]":l%5==2,"md:pl-[29%]":l%5==3}),children:(0,i.jsxs)("div",{ref:e=>a.current.push(e),className:"flex flex-col items-start gap-2.5 md:flex-row md:items-center",children:[(0,i.jsx)("p",{className:"helvetica-12-500 md:helvetica-14-500 whitespace-nowrap",children:n}),(0,i.jsx)("p",{className:"editorial-18 md:editorial-32 pt-1 text-start uppercase md:whitespace-nowrap md:text-center",children:o})]})})},s)})]})]})})}var ey={src:"/_next/static/media/logo.ccb4f96f.gif",height:500,width:500,blurWidth:0,blurHeight:0};function eN(e){let{infoElement:l,className:t,children:a,onPointerOver:r,onPointerOut:s}=e;return l.withCta?(0,i.jsx)(x(),{className:t,href:l.cta.href,onPointerOver:r,onPointerOut:s,scroll:!1,children:a}):(0,i.jsx)("div",{className:t,children:a})}function eC(e){let{data:l}=e,{contentRaw:t,cta:a,keyType:s,masterKey:n,items:c,withCta:m,variant:x}=l,p=(0,o.useRef)([]),h=(0,o.useRef)([]),u=(0,D.i)(),[f,b]=(0,o.useState)(null),g=u.width<768,j=g?30:44,
1N=(0,d.M)("bg",y.bG.CulinistaBlack),C=e=>()=>{b(e)},k=()=>{b(null)};return(0,o.useEffect)(()=>{if(u.width<768)p.current.forEach(e=>{e&&(e.style.height="auto")}),h.current.forEach(e=>{e&&(e.style.height="auto")});else{let e=p.current.map(e=>(null==e?void 0:e.offsetHeight)||0),l=h.current.map(e=>(null==e?void 0:e.offsetHeight)||0),t=Math.max(...e),a=Math.max(...l);p.current.forEach(e=>{e&&(e.style.height="".concat(t,"px"))}),h.current.forEach(e=>{e&&(e.style.height="".concat(a,"px"))})}},[u.width]),(0,i.jsxs)(v.m,{id:l.componentId,className:(0,r.Z)("flex w-[calc(100%-60px)] flex-col  items-center self-center pt-9 md:border-opacity-20 md:pt-16",{"md:pt-16":"none"===s,"md:pt-20":"none"!==s,"md:border-none":"richText"===x}),children:["none"!==s&&("single"===s&&n?(0,i.jsx)("svg",{width:j,height:j,className:"mb-7 md:mb-11",children:(0,i.jsx)("path",{className:(0,d.M)("fill",n.keyColor),transform:"scale(0.".concat(j,", 0.").concat(j,")"),d:Q.a[n.mask],fill:"currentColor"})}):(0,i.jsx)(w(),{className:"mb-7 md:mb-11",src:ey,alt:"Logo",width:j,height:j})),(0,i.jsx)(q.i,{className:(0,r.Z)("underline-size-2 editorial-28 md:editorial-56 mb-7 max-w-[1266px] px-5 text-center text-ar-culinista-black md:mb-24"),value:t,tag:"h2",fontVariant:"large"}),(0,i.jsx)("div",{className:(0,r.Z)("space-between flex w-full flex-col text-ar-culinista-black md:flex-row",{"md:mb-24":m,"mb-14 md:mb-40":!m}),children:c.map((e,l)=>(0,i.jsxs)(o.Fragment,{children:[(0,i.jsx)("div",{className:(0,r.Z)("h-px w-auto bg-black opacity-20 md:h-auto md:w-px",N,{hidden:0===l&&!g||"richText"===x,"md:hidden":0===l,"md:block":"richText"===x})}),(0,i.jsx)(eN,{infoElement:e,className:(0,r.Z)("flex flex-1 justify-center px-5"),onPointerOver:C(e.id),onPointerOut:k,children:(0,i.jsxs)("div",{className:"align-center flex max-w-xs flex-col items-center px-5 py-8 text-center md:px-0 md:py-0",children:["richText"===x?(0,i.jsx)(i.Fragment,{children:e.content&&(0,i.jsx)(q.i,{value:e.content,className:"editorial-32"})}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{ref:e=>p.current.push(e),className:(0,r.Z)("helvetica-14-500 md:helvetica-16",{"mb-1.5 md:mb-14":!!e.footer,"mb-3.5 md:mb-5":!e.footer}),children:e.title}),e.footer&&g&&(0,i.jsx)("p",{className:(0,r.Z)("helvetica-14-500 mb-2.5 opacity-40"),children:e.footer}),(0,i.jsx)("p",{ref:e=>h.current.push(e),className:(0,r.Z)("garamond-16 md:garamond-18"),children:e.description})]}),e.footer&&!g&&(0,i.jsx)("p",{className:(0,r.Z)("helvetica-14-500 mt-16"),children:e.footer}),e.withCta&&(0,i.jsx)("p",{className:(0,r.Z)((0,d.M)("text",e.cta.textColor?e.cta.textColor:y.bG.CulinistaBlack),"helvetica-12-500 md:helvetica-14-500 transition-all duration-300",{"opacity-100":g||f===e.id,"opacity-0":!g&&f!==e.id,"pt-5":!e.footer||e.footer&&g,"pt-10":e.footer}),children:e.cta.label})]})})]},e.id))}),m&&a&&(0,i.jsx)(E.k,{className:"helvetica-12-500 md:helvetica-14-500 mb-9 md:mb-16",backgroundColor:a.backgroundColor,textColor:a.textColor,href:a.href,children:a.label})]})}var ek=t(7025);function eM(e){let{data:l}=e,{description:t,fontColor:a,image:s,title:o}=l,n=(0,d.M)("text",a);return(0,i.jsxs)("div",{id:l.componentId,className:(0,r.Z)(n,"relative flex h-screen flex-col items-center justify-center overflow-hidden text-center md:justify-start"),children:[(0,i.jsx)("div",{className:"absolute top-0 left-0 h-full w-full ",children:s&&(0,i.jsx)(w(),{className:"absolute top-0 left-0 h-full w-full object-cover object-center",src:s.url,alt:s.alt,blurDataURL:s.metadata.lqip,placeholder:"blur",fill:!0})}),(0,i.jsxs)("div",{className:"z-10 flex max-w-full flex-col items-center gap-6 md:mt-[21vh] md:gap-10 md:px-10",children:[(0,i.jsx)("h1",{className:"editorial-32 md:editorial-56 max-w-[293px] md:max-w-[824px]",dangerouslySetInnerHTML:{__html:(0,N.v)(o,"large")}}),(0,i.jsx)("p",{className:"helvetica-12-500 md:garamond-18 max-w-[300px] md:max-w-[452px]",children:t}),(0,i.jsx)("div",{className:"max-w-[335px] pt-2 md:w-full md:max-w-[824px] md:pt-10",children:(0,i.jsx)(ek.T,{theme:a})})]})]})}function eZ(e){let{className:l,data:t}=e,{title:a,byline:s,text:o,fontColor:n,backgroundColor:c}=t,m=(0,d.M)("text",n),x=(0,d.M)("bg",c);return(0,i.jsx)("section",{id:t.componentId,className:(0,r.Z)(l,m,x,"pb-5 pt-10 md:pt-[100px] md:pb-[90px]"),children:(0,i.jsxs)("div",{className:"mx-auto my-0 max-w-[1204px] px-[30px]",children:[(0,i.jsx)("h2",{className:"helvetica-14-500 text-center",children:a}),(0,i.jsx)("p",{className:"editorial-22 md:editorial-48 md:mt-60px my-[20px] text-center md:mb-[90px] md:mt-[60px]",children:s}),(0,i.jsx)(q.i,{value:o,className:"garamond-16 md:garamond-18 min-h-[240px] gap-[42px] text-center md:columns-2 md:text-left [&>p]:mb-5 md:[&>p]:mb-[30px]",fontVariant:"small"})]})})}var eL=t(63730);function eS(e){let{data:l}=e,{title:t,backgroundColor:a,description:s,textColor:n}=l,c=(0,d.M)("text",n),m=(0,d.M)("bg",a),[x,p]=(0,o.useState)();return(0,o.useEffect)(()=>{let e=document.getElementById("WelcomeMessage");e&&p(e)},[]),(0,i.jsx)(i.Fragment,{children:x&&eL.createPortal((0,i.jsx)("header",{id:l.componentId,className:(0,r.Z)(c,m,"flex justify-center py-12 px-[30px] md:py-16"),children:(0,i.jsxs)("div",{className:"flex max-w-[755px] flex-col items-center gap-6",children:[(0,i.jsx)("p",{className:"helvetica-12-500 md:helvetica-14-500",children:t}),(0,i.jsx)("h2",{className:"editorial-22 md:editorial-28 pb-3 text-center md:pb-10",children:s})]})}),x)})}function eI(e){var l,t;let{data:a}=e,{backgroundColor:o,quote:n,textColor:c}=a,m=(0,d.M)("text",c),x=(0,d.M)("fill",c),p=(0,d.M)("bg",o);return(0,i.jsx)("div",{id:a.componentId,className:(0,r.Z)(m,p,"flex justify-center py-[60px] px-[30px] lg:py-[120px]"),children:(0,i.jsxs)("div",{className:"flex max-w-[1080px] flex-col items-center gap-10 lg:gap-[60px]",children:[(0,i.jsx)(s.k,{icon:(0,i.jsx)(k.Z,{}),size:40,className:x}),(0,i.jsx)("p",{className:"editorial-22 lg:editorial-32 text-center",children:null==n?void 0:n.quote}),(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"helvetica-12-500 lg:helvetica-14-500 text-center",children:null==n?void 0:null===(l=n.author)||void 0===l?void 0:l.name}),(0,i.jsx)("p",{className:"helvetica-12-400 lg:helvetica-14-400 text-center",children:null==n?void 0:null===(t=n.author)||void 0===t?void 0:t.t
1itle})]})]})})}function eT(e){var l;let{data:t}=e,{backgroundColor:a,image:s,infoElements:o,title:n,variant:c,fontColor:m,description:h,cta:u,withCta:f,mainInfoElement:b}=t,g=(0,p.useRouter)(),j=(0,d.M)("text",m),N=(0,d.M)("bg",a),C=(0,d.M)("border",y.bG.CulinistaBlack);return(0,i.jsxs)("div",{id:t.componentId,className:(0,r.Z)(j,N,"flex flex-col items-center"),children:[(0,i.jsxs)("div",{className:(0,r.Z)(C,"flex w-full flex-col items-center gap-7 border-b border-opacity-40 px-5 pb-10 pt-10 text-center md:gap-10 md:px-[30px] md:pb-14 md:pt-28 lg:px-36",{"gap-10 pb-10 md:gap-20 md:pb-28":"aboutPage"===c}),children:[(0,i.jsx)("p",{className:"editorial-32 md:editorial-56 max-w-[934px] px-2",children:n}),!!h&&(0,i.jsx)("p",{className:"editorial-22 md:editorial-24 max-w-[734px]",children:h}),f&&u&&u.label&&(0,i.jsx)(E.k,{href:u.href,className:"helvetica-12-500 md:helvetica-14-500 mb-3 h-8 min-w-[136px] md:mb-0 md:h-10 md:w-40",backgroundColor:u.backgroundColor,textColor:u.textColor,children:u.label}),(0,i.jsx)("div",{className:"relative h-full max-h-[752px] w-full max-w-[1143px]",children:s&&(0,i.jsx)(w(),{priority:!0,className:"object-cover object-center",src:s.url,alt:s.alt,blurDataURL:s.metadata.lqip,placeholder:"blur",width:1143,height:752})})]}),(0,i.jsx)(v.m,{className:(0,r.Z)(C,{"flex flex-col lg:grid lg:grid-cols-[43fr_57fr]":"becomeChef"===c,"mb-10 flex flex-col md:mb-0 md:flex-row":"aboutPage"===c}),children:"becomeChef"===c?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:(0,r.Z)(C,"flex flex-col items-center justify-center gap-6 border-b border-opacity-40 px-[30px] py-10 text-center md:border-b-0 md:px-24 md:py-24 lg:border-r"),children:b&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{className:"editorial-32",children:b.title}),(0,i.jsx)("p",{className:"garamond-16 md:garamond-18",children:b.description}),b.withCta&&b.cta&&(0,i.jsx)(E.k,{href:null==b?void 0:null===(l=b.cta)||void 0===l?void 0:l.href,className:"helvetica-12-500 md:helvetica-14-500 h-8 min-w-[76px] md:h-10 md:w-40",backgroundColor:b.cta.backgroundColor?b.cta.backgroundColor:u.backgroundColor,textColor:b.cta.textColor?b.cta.textColor:u.textColor,children:b.cta.label})]})}),(0,i.jsx)("div",{className:"px-0 pb-10 pt-0 md:grid md:grid-cols-2 md:gap-x-12 md:gap-y-14 md:px-8 md:pb-20 md:pt-20 lg:gap-x-36",children:(o||[]).map(e=>{var l;return(0,i.jsxs)("div",{className:(0,r.Z)(C,"flex flex-col gap-y-5 border-b border-opacity-40 px-[30px] py-10 text-center md:gap-y-4 md:border-b-0 md:px-0 md:py-0 md:text-left"),children:[(0,i.jsx)("p",{className:"helvetica-14-500",children:e.title}),(0,i.jsx)("p",{className:"garamond-16 md:garamond-18",children:e.description}),e.withCta&&(null===(l=e.cta)||void 0===l?void 0:l.href)&&(0,i.jsx)(x(),{href:e.cta.href,className:"helvetica-12-500 md:helvetica-14-500 underline",scroll:g.asPath.split("#")[0]===e.cta.href,children:e.cta.label})]},e.id)})})]}):(o||[]).map(e=>{var l;return(0,i.jsxs)("div",{className:(0,r.Z)(C,"flex basis-full flex-col items-center justify-between gap-10 border-b border-opacity-40 px-[30px] py-10 text-center md:gap-16 md:border-b-0 md:border-r md:px-20 md:py-20 last:md:border-r-0"),children:[(0,i.jsx)("p",{className:"helvetica-12-500 md:helvetica-14-500",children:e.title}),(0,i.jsx)("p",{className:"editorial-22 md:editorial-24",children:e.description}),e.withCta&&(null===(l=e.cta)||void 0===l?void 0:l.href)&&(0,i.jsx)(x(),{href:e.cta.href,className:"helvetica-12-500 md:helvetica-14-500 underline",scroll:g.asPath.split("#")[0]===e.cta.href,children:e.cta.label})]},e.id)})})]})}function eE(e){let{data:l}=e,{content:t}=l;return(0,i.jsx)("section",{className:"flex justify-center",children:(0,i.jsx)(q.i,{id:l.componentId,value:t,className:(0,r.Z)("underline-size-2 max-w-[990px] py-14 px-5 text-center text-ar-culinista-black sm:py-24 [&>p]:inline-table","[&>h1]:editorial-26 md:[&>h1]:editorial-48 [&>h1]:mb-5 [&>h1]:mt-[40px]","[&>h2]:editorial-32 [&>h2]:mb-5 [&>h2]:mt-[35px]","[&>h3]:garamond-22 [&>h3]:mb-4 [&>h3]:mt-[30px]","[&>h4]:garamond-20 [&>h4]:mb-4 [&>h4]:mt-[25px]","[&>h5]:garamond-18 [&>h5]:mb-3 [&>h5]:mt-[20px]","[&>h6]:garamond-16 [&>h6]:mb-3 [&>h6]:mt-[20px]","[&>ul]:ml-[25px] [&>ul]:list-outside [&>ul]:list-disc","[&>ul>li]:mb-5","[&>ol]:ml-5 [&>ol]:list-inside [&>ol]:list-decimal","[&>p>strong]:helvetica-14-500","[&>p]:helvetica-14-400 [&>p]:mb-[20px]")})})}function eR(e){var l;let{data:t}=e,a=(0,L.a)(768)&&t.mobileImage?t.mobileImage:t.image;return(0,i.jsx)("div",{id:t.componentId,className:"relative h-[400px] md:h-[800px]",children:a&&(0,i.jsx)(w(),{priority:!0,className:"h-full w-full object-cover object-center",src:a.url,alt:a.alt||"",blurDataURL:null===(l=a.metadata)||void 0===l?void 0:l.lqip,placeholder:"blur",fill:!0})})}var e_=t(923),eG=t(43396);function eP(e){let{founder:l}=e,t=(0,o.useRef)(),a=(0,en.J)(t),s=(0,eG.d)(t);return(0,i.jsxs)("div",{className:"mb-[80px]",children:[(0,i.jsxs)("div",{ref:t,className:"scrollbar-hidden flex gap-5 overflow-x-auto px-5 pb-10",children:[l.menu&&l.menu.menu&&(0,i.jsx)(e_._,{className:(0,r.Z)("mt-5 min-w-[282px]"),imageClassName:"min-h-[282px]",qualifierClassName:"md:px-8 md:pb-24 md:pt-8",titleClassName:"md:pb-8 md:pl-24 md:pr-8 md:indent-[-64px]",menu:{id:l.menu.menu.id,slug:l.menu.menu.slug,backgroundColor:l.menu.backgroundColor,fontColor:l.menu.fontColor,title:l.menu.menu.title,qualifier:l.menu.menu.qualifier,image:l.menu.menu.image}}),(0,i.jsx)(e_._,{className:(0,r.Z)("mt-5 min-w-[282px]"),keyMask:{id:l.id,backgroundColor:l.keyMask.backgroundColor,fontColor:l.keyMask.fontColor,title:l.keyMask.title,de
1scription:l.keyMask.description,footer:l.keyMask.footer,keyMask:l.keyMask.masterKey.mask}})]}),a&&(0,i.jsx)("div",{className:"w-100% relative mx-5 h-[2px] bg-ar-brown bg-opacity-30",children:(0,i.jsx)("div",{className:"absolute h-full w-1/4 bg-ar-brown",style:{left:"".concat(s,"%")}})})]})}function ez(e){let{data:l}=e,{title:t,backgroundColor:a,fontColor:s,founders:o}=l,n=(0,d.M)("bg",a),c=(0,d.M)("text",s),m=(0,d.M)("border",y.bG.CulinistaBlack),x=(0,L.a)(1024);return(0,i.jsxs)("div",{id:l.componentId,className:(0,r.Z)(n,c,"flex flex-col items-center"),children:[(0,i.jsx)("p",{className:"helvetica-12-500 lg:helvetica-14-500 px-8 pt-6 pb-6 text-center lg:pb-8 lg:pt-8",children:t}),(0,i.jsx)("div",{className:"w-full",children:o.length>0&&o.map(e=>{var l;return(0,i.jsxs)("div",{className:(0,r.Z)(m,"flex flex-col gap-x-8 border-t border-opacity-40 lg:justify-around lg:px-8 odd:lg:flex-row even:lg:flex-row-reverse 3xl:justify-center"),children:[(0,i.jsx)(e_._,{className:"basis-1/3 border-b border-opacity-40 md:mx-auto md:max-w-[80%] lg:mx-0 lg:min-h-[637px] lg:max-w-[440px] lg:border-r lg:border-l lg:border-b-0",about:{id:e.id,backgroundColor:e.about.backgroundColor,fontColor:e.about.fontColor,title:e.about.title,primaryDescription:e.about.primaryDescription,secondaryDescription:e.about.secondaryDescription}}),x?(0,i.jsx)(eP,{founder:e}):(0,i.jsxs)(i.Fragment,{children:[e.menu&&e.menu.menu&&(0,i.jsx)(e_._,{className:(0,r.Z)("mx-5 mt-5 min-h-[492px] max-w-[335px] basis-1/3 self-center lg:mx-0 lg:mb-9 lg:min-h-[637px] lg:max-w-[440px]",{"lg:mb-20":o[o.length-1].id===e.id}),imageClassName:"min-h-[298px] lg:min-h-[392px]",titleClassName:"lg:editorial-32-uppercase",menu:{id:e.menu.menu.id,slug:e.menu.menu.slug,backgroundColor:e.menu.backgroundColor,fontColor:e.menu.fontColor,title:e.menu.menu.title,qualifier:e.menu.menu.qualifier,image:e.menu.menu.image}}),(0,i.jsx)(e_._,{className:(0,r.Z)("mx-5 mb-5 mt-5 min-h-[492px] max-w-[335px] basis-1/3 self-center lg:mx-0 lg:mb-9 lg:min-h-[637px] lg:max-w-[440px]",{"lg:mb-20":o[o.length-1].id===e.id}),keyMask:{id:e.id,backgroundColor:e.keyMask.backgroundColor,fontColor:e.keyMask.fontColor,title:e.keyMask.title,description:e.keyMask.description,footer:e.keyMask.footer,keyMask:null===(l=e.keyMask.masterKey)||void 0===l?void 0:l.mask}})]})]},e.id)})})]})}function eF(e){let{className:l,children:t,link:a}=e;return a?(0,i.jsx)(x(),{className:l,href:a,target:"_blank",children:t}):(0,i.jsx)(i.Fragment,{children:t})}function eq(e){let{data:l}=e,{backgroundColor:t,link:a,fontColor:s,title:n,bylineRaw:c,masterKeys:m}=l,x=null==m?void 0:m.map(e=>({...e,tailwindBackgroundClass:(0,d.M)("bg",e.keyColor)})),p=(0,d.M)("bg",t),h=(0,d.M)("text",s),u=(0,d.M)("text",y.bG.White),f=(0,d.M)("border",y.bG.CulinistaBlack),[b,g]=(0,o.useState)({width:null,height:null}),j=(0,L.a)(768),N=j?1/3*(b.width<1750?b.width:1750):1/7*(b.width<1750?b.width:1750),C=j?2/3*(b.width<1750?b.width:1750):2/7*(b.width<1750?b.width:1750),k=j?C-16:C-24,S=(x.length-1)*N+C,I=x.length%2!=0,T=m.length?x[Math.floor(m.length/2)].id:0,[E,R]=(0,o.useState)(T),[_,G]=(0,o.useState)(0),[P,z]=(0,o.useState)(0),[F,W]=(0,o.useState)(0),[D,B]=(0,o.useState)(0),[O,K]=(0,o.useState)(!1),H=()=>{let e=setTimeout(()=>{K(!1)},800);return()=>clearTimeout(e)},U=(0,o.useCallback)(()=>{K(!0);let e=x.findIndex(e=>e.id===E)+1;m.length&&(_&&x[x.findIndex(e=>e.id===T)-1].id===E&&W(e=>e+1),G(e=>e+(x[x.length-1].id!==E?100/(x.length+(I?1:2)):200/(x.length+(I?1:2)))),e!==x.length?R(x[e].id):R(x[0].id),P!==x.length-1?z(e=>e+1):z(0),H())},[E,_,P,I,m.length,T,x]),V=(0,o.useCallback)(()=>{K(!0);let e=x.findIndex(e=>e.id===E)-1;m.length&&(x[x.findIndex(e=>e.id===T)].id===E&&W(e=>e-1),G(e=>e-(x[0].id!==E?100/(x.length+(I?1:2)):200/(x.length+(I?1:2)))),-1!==e?R(x[e].id):R(x[x.length-1].id),0!==P?z(e=>e-1):z(x.length-1),H())},[E,P,I,m.length,T,x]);function A(){B(e=>e+1),g({width:window.innerWidth,height:window.innerHeight})}(0,o.useEffect)(()=>{let e=setTimeout(()=>{U()},3e3);return()=>clearTimeout(e)},[E,U,x]),(0,o.useEffect)(()=>{A()},[]),(0,o.useEffect)(()=>(j||window.addEventListener("resize",A),()=>window.removeEventListener("resize",A)),[j]);let X={initial:{x:S*F,transition:{duration:0}},animate:{x:S*(F+1),transition:{duration:0}}},J={visible:{width:"".concat(k,"px"),height:"".concat(k,"px"),opacity:1,transition:{duration:.8}},hidden:{width:"".concat(N,"px"),height:"".concat(N,"px"),opacity:0,transition:{duration:.8}}},Y={visible:{scale:1,transition:{duration:.8}},hidden:{scale:.5,transition:{duration:.8}}};return(0,i.jsx)("div",{id:l.componentId,className:(0,r.Z)(p,h,"flex justify-center overflow-x-hidden"),children:(0,i.jsx)(v.m,{className:(0,r.Z)(f,"max-w-full md:mx-auto 4xl:mx-[30px] 4xl:max-w-[1750px]"),children:(0,i.jsxs)("div",{className:"flex flex-col items-center overflow-x-hidden pt-10 md:pt-16",children:[(0,i.jsx)("p",{className:"helvetica-12-500 md:helvetica-14-500 pb-7 ",children:n}),(0,i.jsx)(q.i,{value:c,className:" underline-size-2 editorial-24 md:editorial-32 max-w-[335px] text-center md:max-w-[569px]"}),(0,i.jsx)(Z.M,{mode:"popLayout",children:(0,i.jsxs)(M.E.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.3,delay:1.5},className:"relative",children:[(0,i.jsxs)("div",{style:{height:k},className:"absolute inset-0 m-auto flex w-full max-w-[1750px] flex-row",children:[(0,i.jsx)("button",{type:"button",className:"z-10 min-h-full w-full focus:outline-none",onClick:V,disabled:O,"aria-label":"backward"}),(0,i.jsx)("div",{style:{minWidth:C},className:"min-h-full shrink"}),(0,i.jsx)("button",{type:"button",className:"z-10 min-h-full w-full focus:outline-none",onClick:U,disabled:O,"aria-label":"forward"})]}),(0,i.jsx)(M.E.div,{initial:!1,animate:"animate",variants:{animate:{x:"".concat(-_,"%"),transition:{duration:.8}}},style:{minHeight:"".concat(k,"px"),minWidth:I?"".concat(S,"px"):"".concat(S+N,"px"),paddingRight:I?0:"".concat(N,"px")},className:"my-12 flex flex-row items-center justify-center md:my-24",children:x.map(e=>(0,i.jsx)(M.E.div,{initial:!1,animate:P>x.findIndex(l=>l.id===e.id)?"animate":"initial",variants:X,className:(0,r.Z)((0,d.M)("border",t),e.mask,e.tailwindBackgroundClass,"grid grid-cols-1 grid-rows-1 border-t-[0.001px] transition-[margin] duration-[800] md:border-t-0",{"mx-2 md:mx-3":E===e.id}),children:(0,i.jsx)(M.E.div,{initial:"hidden",animate:E===e.id?"visible":"hidden",variants:J,transition:{duration:.8},style:{minWidth:"".concat(N,"px"),minHeight:"".concat(N,"px")},className:"relative z-10 col-start-1 row-start-1 mx-0 grid grid-cols-1 grid-rows-1 md:mx-0",children:(0,i.jsxs)(eF,{className:"relative z-10 col-start-1 row-start-1 mx-0 grid grid-cols-1 grid-rows-1 md:mx-0",link:E===e.id?a:null,children:[(0,i.jsx)(M.E.p,{initial:"hidden",animate:E===e.id?"visible":"hidden",variants:Y,transition:{duration:.8},className:(0,r.Z)(u,"editorial-32 md:editorial-48 relative z-10 col-start-1 row-start-1 self-center text-center "),children:e.title},"title_".concat(e.id)),e.image&&(0,i.jsx)(w(),{alt:e.image.alt,src:e.image.url,blurDataURL:e.image.metadata.lqip,placeholder:"blur",fill:!0,className:(0,r.Z)("col-start-1 row-start-1")})]})},"image_".concat(e.id))},e.id))})]},D)})]})})})}function eW(e){let{href:l,className:t,children:a,onPointerOver:r,onPointerOut:s}=e;return l?(0,i.jsx)(x(),{className:t,href:l,onPointerOver:r,onPointerOut:s,scroll:!1,children:a}):(0,i.jsx)("div",{className:t,children:a})}function eD(e){let{data:l}=e,{componentId:t,title:a,primaryColor:s,secondaryColor:n,services:c,submitButton:m}=l,x=(0,D.i)(),[p,h]=(0,o.useState)(null),u=x.width<768,b=(0,d.M)("text",s),g=(0,d.M)("bg",n),v=(0,d.M)("border",s),j=e=>()=>{h(e)},w=()=>{h(null)};return(0,i.jsxs)("section",{id:t,className:(0,r.Z)(b,g,"flex flex-col items-center gap-10 py-10 px-5 md:gap-[100px] md:px-[30px] md:py-[100px]"),children:[a&&(0,i.jsx)("p",{className:"editorial-22 md:editorial-32",children:a}),c&&c.length>0&&(0,i.jsx)("ul",{className:"flex flex-col md:flex-row",children:c.map(e=>{var l;return(0,i.jsxs)(eW,{href:null===(l=e.cta)||void 0===l?void 0:l.href,className:(0,r.Z)(v,"flex max-w-[335px] flex-1 flex-col items-center justify-between gap-4 border-b border-opacity-20 py-5 px-5 text-center first:pt-0 last:border-b-0 last:pb-0 md:max-w-[320px] md:border-b-0 md:border-r md:py-0 md:px-9 md:last:border-r-0"),onPointerOver:j(e.id),onPointerOut:w,children:[(e.title||e.description)&&(0,i.jsxs)("div",{className:"flex flex-col gap-2.5 md:gap-4",children:[e.title&&(0,i.jsx)("p",{className:(0,r.Z)("helvetica-14-500 md:helvetica-18"),children:e.title}),e.description&&(0,i.jsx)("p",{className:(0,r.Z)("garamond-16 md:garamond-18"),children:e.description})]}),!u&&e.cta&&(0,i.jsx)("p",{className:(0,r.Z)("helvetica-14-500 transition-all duration-300",{"opacity-100":p===e.id,"opacity-0":p!==e.id}),children:e.cta.label})]},e.id)})}),m&&(0,i.jsx)(E.k,{className:"helvetica-14-500 max-h-10 min-w-[203px] max-w-[203px] ",textColor:m.primaryColor,backgroundColor:m.secondaryColor,href:f.y.giftCardsCheckout(),children:m.label})]})}function eB(e){let{data:l}=e,{componentId:t,description:a,primaryColor:s,secondaryColor:o,withTopBorder:n,topBorderColor:c,withBottomBorder:m,bottomBorderColor:x}=l,p=(0,d.M)("text",s),h=(0,d.M)("bg",o),u=(0,d.M)("border-t",c),f=(0,d.M)("border-b",x);return(0,i.jsx)("section",{id:t,className:(0,r.Z)(h,p,u,f,"border-opacity-40 py-5 md:py-[30px]",{"border-t":n,"border-b":m}),children:(0,i.jsx)(q.i,{value:a,className:(0,r.Z)("mx-auto max-w-[1750px] px-5 text-center md:px-[30px]","[&>h1]:editorial-22 md:[&>h1]:editorial-32 [&>h1]:pb-5 md:[&>h1]:pb-10","[&>h2]:helvetica-12-500 md:[&>h2]:helvetica-14-500 [&>h2]:pb-3 [&>h2]:leading-[140%] md:[&>h2]:pb-5 md:[&>h2]:leading-[140%]","[&>h3]:editorial-18 md:[&>h3]:editorial-24 [&>h3]:pb-5","[&>h4]:helvetica-12-400 md:[&>h4]:helvetica-14-400 [&>h4]:pb-5 [&>h4]:pt-[10px] md:[&>h4]:pt-0","[&>ul]:garamond-14 md:[&>ul]:garamond-18 [&>ul]:ml-6 [&>ul]:list-outside [&>ul]:list-disc","[&>ul>li]:pb-3","[&>ul]:garamond-14 md:[&>ol]:garamond-18 [&>ol]:ml-6 [&>ol]:list-outside [&>ol]:list-decimal","[&>ol>li]:pb-3","[&>p]:garamond-14 md:[&>p]:garamond-18 [&>p]:pb-[10px] md:[&>p]:pb-5","last-child-no-padding","[&>p>a>span]:decoration-1 [&>p>a>span]:underline-offset-2","[&>ul>li>a>span]:decoration-1 [&>ul>li>a>span]:underline-offset-2","[&>ol>li>a>span]:decoration-1 [&>ol>li>a>span]:underline-offset-2"),fontVariant:"small"})})}var eO=t(99068),eK=t(98680),eH=t(57399),eU=t(84918),eV=t(11392),eA=t(74870),eX=t(32786),eJ=t(49122),eY=t(26903);let eQ=(0,eO.Ry)().shape({serviceType:(0,eO.Z_)().required("Please fill out field above."),zipCode:(0,eO.Z_)().typeError("Please fill out field above.").required("Please fill out field above.")});function e$(e){let{data:l}=e,{title:t,primaryColor:a,secondaryColor:s,media:n,description:c,submitButton:m,servicesInput:x,zipCodeInput:p}=l,[u]=(0,eJ._bl)({}),b=(0,L.a)(1024),[g,j]=(0,o.useState)(!1),{register:y,handleSubmit:N,control:C,setError:k}=(0,eK.cI)({resolver:(0,eH.X)(eQ)}),{fieldState:{error:M}}=(0,eK.bc)({name:"zipCode",control:C}),Z=(0,d.M)("text",a),S=(0,d.M)("bg",s),I=(0,d.M)("border",a),T=(0,d.M)("placeholder:text",a),R=async e=>{let{serviceType:l,zipCode:t}=e;try{var a;j(!0);let e=await u({variables:{zipCode:t}});if((null===(a=e.data)||void 0===a?void 0:a.locationType)===eJ._iy.OutOfSupportedArea)throw Error("Invalid zip code");localStorage.setItem(eA.Ou,JSON.stringify({serviceType:l,zipCode:t})),h().push(f.y.giftCardsCheckout())}catch(e){"Invalid zip code"===e.message&&k("zipCode",{message:'Looks like we don’t service your area. Please reach out via <a class="underline"  href="'.concat(f.y.inquiry(f.y.bookingOrder(),{service:(0,eY.u)(eJ.UW4.Placement)}),'">this form</a> or explore our custom services.')})}j(!1)};(0,o.useEffect)(()=>{h().prefetch(f.y.giftCardsCheckout())},[]);let _=(0,i.jsxs)("form",{onSubmit:N(R),className:"my-5 flex w-full max-w-[404px] flex-col gap-[30px] self-center px-5 md:px-[30px] lg:mb-0 lg:mt-8 lg:self-start lg:px-0",children:[(0,i.jsx)(eU.h,{...y("serviceType"),control:C,options:eX.b,placeholder:x.placeholder,label:"".concat(x.label," *"),showLabel:!0,primaryColor:a,secondaryColor:s,hoverColor:a,variant:"giftCardsHero"}),(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"helvetica-14-500 mb-5",children:"".concat(p.label," *")}),(0,i.jsx)(eV.K,{...y("zipCode"),variant:eV.l.GiftCardsHero,className:(0,r.Z)(T,Z,"white-autofill"),placeholder:p.placeholder,primaryColor:a,errors:{zipCode:M}})]}),(0,i.jsx)(E.k,{type:"submit",className:"helvetica-14-500 max-h-10 min-w-[169px] max-w-[169px] self-center lg:self-start",textColor:m.primaryColor,backgroundColor:m.secondaryColor,loading:g,children:m.label})]});return(0,i.jsx)("header",{id:l.componentId,className:(0,r.Z)(Z,S,I,"flex min-h-[600px] justify-center lg:h-[800
1px]"),children:(0,i.jsxs)(v.m,{className:(0,r.Z)(I,"flex w-full flex-col-reverse lg:flex-row-reverse"),children:[b&&_,(0,i.jsxs)("div",{className:(0,r.Z)(I,"relative mb-16 min-h-[400px] flex-1 lg:mb-0 lg:flex-[4] lg:border-l lg:border-opacity-40"),children:[n.image&&!n.video&&(0,i.jsx)("div",{className:"h-full w-full px-5 md:px-[30px] md:pt-0",children:(0,i.jsx)("div",{className:"relative h-full w-full",children:(0,i.jsx)(w(),{priority:!0,className:"mb-5 mr-0 mt-10 object-cover object-center lg:mb-0 lg:mt-0 ",src:n.image.url,alt:n.image.alt||"",fill:!0,placeholder:"blur",blurDataURL:n.image.metadata.lqip,sizes:"(max-width: 768px) 100vw,   (max-width: 1200px) 50vw,   50vw"})})}),n.video&&!n.image&&(0,i.jsx)("video",{autoPlay:!0,preload:"auto",loop:!0,muted:!0,playsInline:!0,controls:!1,className:"absolute left-0 top-0 h-full object-cover object-center md:static",src:"".concat(n.video,"#t=0.1")})]}),(0,i.jsx)("div",{className:"z-[1] mx-auto my-0 flex w-full flex-col items-center justify-center lg:flex-[3]",children:(0,i.jsxs)("div",{className:"mx-5 mt-[60px] flex max-w-[293px] flex-col gap-5 text-center lg:mx-[30px] lg:mt-0 lg:max-w-full lg:text-left",children:[t&&(0,i.jsx)("h1",{className:"editorial-32 lg:editorial-48 max-w-[280px] lg:max-w-[401px]",children:t}),c&&(0,i.jsx)("p",{className:"garamond-16 lg:garamond-18 max-w-[469px]",children:c}),!b&&_]})})]})})}function e0(e){let{data:l}=e,{title:t,description:a,keyType:s,masterKey:o,withBottomBorder:n}=l,c=(0,L.a)(768)?30:44;return(0,i.jsx)("section",{id:l.componentId,className:(0,r.Z)("flex justify-center",{"border-b border-ar-culinista-black border-opacity-40":n}),children:(0,i.jsxs)(v.m,{className:"flex w-[calc(100%-60px)] flex-col items-center gap-7 self-center border-ar-culinista-black border-opacity-40 py-9 md:gap-11 md:px-7 md:py-20",children:["none"!==s&&("single"===s&&o?(0,i.jsx)("svg",{width:c,height:c,children:(0,i.jsx)("path",{className:(0,d.M)("fill",o.keyColor),transform:"scale(0.".concat(c,", 0.").concat(c,")"),d:Q.a[o.mask],fill:"currentColor"})}):(0,i.jsx)(w(),{src:ey,alt:"Logo",width:c,height:c})),(0,i.jsx)(q.i,{className:(0,r.Z)("[&>h2>a>span]:underline-size-2 editorial-28 md:editorial-56 max-w-[1226px] text-center text-ar-culinista-black"),value:t,tag:"h2",fontVariant:"large"}),(0,i.jsx)(q.i,{className:(0,r.Z)("editorial-18 md:editorial-24 text-center text-ar-culinista-black"),value:a})]})})}function e1(e){let{components:l}=e;return(0,i.jsx)(i.Fragment,{children:l.map(e=>{switch(null==e?void 0:e.componentName){case"AboutFounders":return(0,i.jsx)(ez,{data:e},e.id);case"ChefApplication":return(0,i.jsx)(g,{data:e},e.id);case"ChefModule":return(0,i.jsx)(C,{data:e},e.id);case"ClientQuote":return(0,i.jsx)(S,{data:e},e.id);case"CompaniesLogos":return(0,i.jsx)(T,{data:e},e.id);case"CtaWithText":return(0,i.jsx)(R,{data:e},e.id);case"CulinistaKitchenNewsletter":return(0,i.jsx)(eM,{data:e},e.id);case"Faq":return(0,i.jsx)(G,{data:e},e.id);case"FullWidthHero":return(0,i.jsx)(z,{data:e},e.id);case"GetInTouchHero":return(0,i.jsx)(F,{data:e},e.id);case"HowItWorks":return(0,i.jsx)(W,{data:e},e.id);case"KeysDescription":return(0,i.jsx)(ee,{data:e},e.id);case"KeysSlider":return(0,i.jsx)(ei,{data:e},e.id);case"Marquee":return(0,i.jsx)(er,{data:e},e.id);case"MediaWithText":return(0,i.jsx)(eo,{data:e},e.id);case"MenuSlider":return(0,i.jsx)(eb,{data:e},e.id);case"PureImage":return(0,i.jsx)(eR,{data:e},e.id);case"RestaurantLogos":return(0,i.jsx)(eg,{data:e},e.id);case"RichTextBlock":return(0,i.jsx)(eE,{data:e},e.id);case"Hero":return(0,i.jsx)(ev,{data:e},e.id);case"Services Module":return(0,i.jsx)(ej,{data:e},e.id);case"ShapedImagesWithQuote":return(0,i.jsx)(eq,{data:e},e.id);case"SingleQuote":return(0,i.jsx)(eI,{data:e},e.id);case"StaggeredList":return(0,i.jsx)(ew,{data:e},e.id);case"SubPagesHero":return(0,i.jsx)(eT,{data:e},e.id);case"ThreeColumnsInfo":return(0,i.jsx)(eC,{data:e},e.id);case"TwoColumnsText":return(0,i.jsx)(eZ,{data:e},e.id);case"WelcomeMessage":return(0,i.jsx)(eS,{data:e},e.id);case"GiftCardsServices":return(0,i.jsx)(eD,{data:e},e.id);case"SingleLineCopy":return(0,i.jsx)(eB,{data:e},e.id);case"GiftCardsHero":return(0,i.jsx)(e$,{data:e},e.id);case"TextHeadlineWithKey":return(0,i.jsx)(e0,{data:e},e.id);default:return null}})})}var e5=t(85732),e2=t(5037);function e4(e){var l,t,a,s;let{pageData:d}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e2.U,{title:null===(l=d.metaData)||void 0===l?void 0:l.title,de
1scription:null===(t=d.metaData)||void 0===t?void 0:t.description,images:(null===(a=d.metaData)||void 0===a?void 0:a.image)?[null===(s=d.metaData)||void 0===s?void 0:s.image]:[],noIndex:!d.seo}),d.isComposable?(0,i.jsx)(e1,{components:d.components}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e5.D,{title:d.title,backgroundColor:d.heroBackgroundColor,textColor:d.heroTextColor}),(0,i.jsx)("div",{className:"mx-auto my-0 w-full max-w-[910px] px-5 pb-36 pt-6 md:px-[30px] lg:min-h-[667px] lg:px-0",children:(0,i.jsx)(q.i,{value:d.text,className:(0,r.Z)("garamond-14 lg:garamond-18","[&>h1]:editorial-48 [&>h1]:mb-5 [&>h1]:mt-[40px]","[&>h2]:editorial-32 [&>h2]:mb-5 [&>h2]:mt-[35px]","[&>h3]:garamond-22 [&>h3]:mb-4 [&>h3]:mt-[30px]","[&>h4]:garamond-20 [&>h4]:mb-4 [&>h4]:mt-[25px]","[&>h5]:garamond-18 [&>h5]:mb-3 [&>h5]:mt-[20px]","[&>h6]:garamond-16 [&>h6]:mb-3 [&>h6]:mt-[20px]","[&>ul]:ml-[25px] [&>ul]:list-outside [&>ul]:list-disc","[&>ul>li]:mb-5","[&>ol]:ml-5 [&>ol]:list-inside [&>ol]:list-decimal","[&>p>strong]:helvetica-14-500","[&>p]:helvetica-14-400 [&>p]:mb-[20px]"),fontVariant:"small"})})]})]})}},5037:function(e,l,t){t.d(l,{U:function(){return d}});var a=t(97458);t(52983);var i=t(74870),r=t(37249),s=t(90015);function d(e){let{title:l,description:t,images:d,article:o,recipe:n,noIndex:c,openGraphTitle:m,openGraphDescription:x}=e,{siteName:p,siteDescription:h}=(0,s.K)(),u={noIndex:c,description:t||h,images:d||i.nI.images,url:i.nI.url,siteName:p,ogTitle:"".concat(i.nI.siteName," | ").concat(l||i.nI.title)},f=Array.isArray(u.images)?u.images.filter(e=>!!e&&"object"==typeof e&&"string"==typeof e.url&&!!e.url).map(e=>({url:e.url,alt:e.alt||u.description||i.nI.description})):[],b=null,g=null;return o&&(b={url:"",title:"",images:[],datePublished:"",authorName:"",description:""}),n&&(g={name:"",description:"",authorName:"",ingredients:[],instructions:[]}),(0,a.jsxs)(a.Fragment,{children:[b&&(0,a.jsx)(r.dX,{...b}),g&&(0,a.jsx)(r.P8,{...g}),(0,a.jsx)(r.PB,{title:l,titleTemplate:"%s | ".concat(u.siteName),defaultTitle:"".concat(i.nI.title," | ").concat(u.siteName),description:u.description,noindex:c,nofollow:c,openGraph:{url:u.url,title:m||u.ogTitle,description:x||u.description,images:f.length?f:void 0,siteName:i.nI.siteName,locale:"en_US"},twitter:{site:i.nI.twitterSite,cardType:"summary_large_image"}})]})}}}]);

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.