1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1424],{12689:(e,t,l)=>{Promise.resolve().then(l.bind(l,92751)),Promise.resolve().then(l.t.bind(l,77264,23)),Promise.resolve().then(l.t.bind(l,82233,23)),Promise.resolve().then(l.bind(l,70749)),Promise.resolve().then(l.bind(l,2594)),Promise.resolve().then(l.bind(l,58931)),Promise.resolve().then(l.bind(l,14664)),Promise.resolve().then(l.bind(l,1686)),Promise.resolve().then(l.bind(l,28266)),Promise.resolve().then(l.bind(l,75673)),Promise.resolve().then(l.bind(l,38331)),Promise.resolve().then(l.bind(l,32202)),Promise.resolve().then(l.bind(l,95316)),Promise.resolve().then(l.bind(l,89356)),Promise.resolve().then(l.bind(l,31958)),Promise.resolve().then(l.bind(l,70882)),Promise.resolve().then(l.bind(l,71861)),Promise.resolve().then(l.bind(l,97542)),Promise.resolve().then(l.bind(l,6858)),Promise.resolve().then(l.bind(l,57666)),Promise.resolve().then(l.bind(l,82549)),Promise.resolve().then(l.bind(l,61871)),Promise.resolve().then(l.bind(l,81496)),Promise.resolve().then(l.bind(l,49511)),Promise.resolve().then(l.bind(l,58159)),Promise.resolve().then(l.bind(l,30042)),Promise.resolve().then(l.bind(l,57939)),Promise.resolve().then(l.bind(l,20536)),Promise.resolve().then(l.bind(l,33788)),Promise.resolve().then(l.bind(l,62477)),Promise.resolve().then(l.bind(l,61677)),Promise.resolve().then(l.bind(l,14583)),Promise.resolve().then(l.bind(l,8157)),Promise.resolve().then(l.bind(l,33821)),Promise.resolve().then(l.bind(l,27179)),Promise.resolve().then(l.bind(l,59692)),Promise.resolve().then(l.bind(l,95111)),Promise.resolve().then(l.bind(l,80646)),Promise.resolve().then(l.bind(l,55252))},15465:(e,t,l)=>{"use strict";l.d(t,{E:()=>n});var s=l(37020),i=l(79017);l(23792);let n=e=>{let{className:t,...l}=e;return(0,s.jsx)("div",{className:(0,i.cn)("animate-pulse bg-black/10",t),...l})}},26151:(e,t,l)=>{"use strict";function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"partially",l=e.getBoundingClientRect(),s=l.top,i=l.bottom,n=l.height;return"completely"===t?s>=0&&i<=window.innerHeight:"majority"===t?s>=-(n/2)&&i<=window.innerHeight+n/2:s<window.innerHeight&&i>=0}l.d(t,{M:()=>s})},27179:(e,t,l)=>{"use strict";l.d(t,{FadeInSection:()=>n});var s=l(37020),i=l(23792);function n(e){let{children:t,oneShot:l=!1}=e,[n,a]=i.useState(!l),r=i.useRef(null);return i.useEffect(()=>{let e=new IntersectionObserver(e=>{e.forEach(e=>{let{isIntersecting:t}=e;(!l||t)&&a(e.isIntersecting)})}),t=r.current;return t&&e.observe(t),()=>{t&&e.unobserve(t)}},[l]),(0,s.jsx)("div",{className:"fade-in-section ".concat(n?"is-visible":""),ref:r,children:t})}},55252:(e,t,l)=>{"use strict";l.d(t,{default:()=>h});var s=l(37020),i=l(56205),n=l(15465),a=l(23881),r=l(26151),d=l(92786),o=l(93033),c=l(23792);function h(){let e,t=[{id:"mobile-1",title:"Explore hundreds of restaurants and bars to see whatâs nearby.",src:(e=(0,o.c3)("Asset"))("phone_browse_venues"),svg:{fill:"#F18257",d:"M620.667 215.146L275.623 88.5007C226.729 70.5543 172.903 96.6485 155.401 146.784L31.8893 500.581C14.3869 550.716 39.8354 605.908 88.7301 623.854L433.773 750.499C482.668 768.446 536.494 742.352 553.996 692.216L677.508 338.419C695.01 288.284 669.562 233.093 620.667 215.146Z"}},{id:"mobile-2",title:"Redeem an exclusive dine-in offer to activate the EatClub digital card.",src:e("redeem_a_deal"),svg:{fill:"#F7CF50",d:"M466.571 106.593L110.818 194.096C60.4062 206.496 29.591 257.415 41.9907 307.827L129.494 663.58C141.893 713.992 192.812 744.807 243.225 732.408L598.977 644.905C649.39 632.505 680.205 581.586 667.805 531.174L580.302 175.421C567.902 125.009 516.983 94.1935 466.571 106.593Z"}},{id:"mobile-3",title:"Tap and pay with the EatClub digital card and get your offer magically deducted from the total bill, including booze \uD83D\uDE42",src:e("tap_to_pay"),svg:{fill:"#EFECA8",d:"M486.779 172.845L86.8731 340.683C39.0033 360.774 16.4839 415.867 36.5746 463.736L100.419 615.857C120.509 663.727 175.602 686.246 223.472 666.155L623.377 498.317C671.247 478.227 693.766 423.134 673.676 375.264L609.832 223.144C589.741 175.274 534.648 152.755 486.779 172.845Z"},additionalSvg:(0,s.jsxs)("g",{children:[(0,s.jsxs)("g",{children:[(0,s.jsx)("rect",{x:"489.92",y:"635.063",width:"180.9",height:"115.283",rx:"57.6416",fill:"#96ABE2"}),(0,s.jsx)("rect",{x:"489.92",y:"635.063",width:"180.9",height:"115.283",rx:"57.6416",stroke:"black"}),(0,s.jsx)("path",{d:"M598.275 724.856L565.13 722.769C561.738 722.643 554.5 720.948 552.676 715.175C550.397 707.959 538.207 706.996 528.882 697.481C519.885 687.366 527.42 686.559 532.312 687.42L548.193 688.01L566.289 691.575L598.275 724.856Z",fill:"#7D8FBF"}),(0,s.jsx)("path",{d:"M558.936 696.562C566.256 697.766 570.888 703.685 573.696 709.279C574.474 710.83 576.679 710.88 577.078 709.192C579.842 697.485 568.629 688.548 561.188 685.897C560.177 685.536 559.127 686.17 558.845 687.206L557.034 693.84C556.688 695.105 557.642 696.35 558.936 696.562Z",fill:"#92925A",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M598.321 724.016C611.792 723.094 638.736 717.112 639.387 716.406C640.039 715.699 639.624 705.911 639.336 701.105C639.381 702.237 636.579 703.011 635.172 703.257L597.715 709.021L597.904 713.69L598.321 724.016ZM598.321 724.016L574.233 709.97C573.012 705.486 569.203 692.094 564.413 691.381C559.624 690.668 557.424 693.741 556.923 695.367L551.682 691.895C550.622 691.371 548.481 689.815 548.398 687.778C548.316 685.741 548.358 672.76 548.389 666.524",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M639.387 716.406C640.039 715.699 639.624 705.911 639.336 701.105C639.381 702.237 636.579 703.011 635.172 703.257L597.715 709.021C582.017 696.904 550.175 671.44 548.389 666.524C548.358 672.76 548.316 685.741 548.398 687.778C548.481 689.815 550.622 691.371 5
151.682 691.895L556.923 695.367C557.424 693.741 559.624 690.668 564.413 691.381C569.203 692.094 573.012 705.486 574.233 709.97L598.321 724.016C611.792 723.094 638.736 717.112 639.387 716.406Z",fill:"#E5E5AD"}),(0,s.jsx)("path",{d:"M598.321 724.016C611.792 723.094 638.736 717.112 639.387 716.406C640.039 715.699 639.624 705.911 639.336 701.105C639.381 702.237 636.579 703.011 635.172 703.257L597.715 709.021M598.321 724.016L574.233 709.97C573.012 705.486 569.203 692.094 564.413 691.381C559.624 690.668 557.424 693.741 556.923 695.367L551.682 691.895C550.622 691.371 548.481 689.815 548.398 687.778C548.316 685.741 548.358 672.76 548.389 666.524C550.175 671.44 582.017 696.904 597.715 709.021M598.321 724.016L597.904 713.69L597.715 709.021",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M592.618 665.877L638.431 699.752C640.858 701.547 637.738 702.729 635.875 703.096C625.06 704.022 602.244 708.457 599.535 708.689C596.827 708.921 596.95 708.371 593.627 706.07C580.234 696.796 552.33 671.753 549.664 668.702C546.198 664.736 551.198 664.497 552.687 664.18C560.836 663.104 578.474 662.655 582.027 661.668C585.581 660.682 590.569 664.063 592.618 665.877Z",fill:"#FCFCCF",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M604.774 682.036L608.479 681.577C608.96 681.518 609.446 681.635 609.847 681.906L610.642 682.445C612.153 683.469 611.614 685.816 609.808 686.079L606.086 686.622C605.539 686.702 604.982 686.551 604.55 686.205L603.771 685.584C602.388 684.479 603.017 682.254 604.774 682.036Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M612.381 687.963L616.087 687.504C616.568 687.444 617.054 687.561 617.455 687.833L618.249 688.371C619.76 689.396 619.222 691.743 617.415 692.006L613.694 692.549C613.146 692.629 612.59 692.478 612.157 692.132L611.379 691.511C609.995 690.406 610.624 688.181 612.381 687.963Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M620.576 694.433L624.282 693.974C624.763 693.914 625.249 694.031 625.65 694.303L626.444 694.841C627.955 695.865 627.417 698.212 625.611 698.476L621.889 699.018C621.341 699.098 620.785 698.947 620.352 698.602L619.574 697.98C618.191 696.875 618.819 694.65 620.576 694.433Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M592.959 684.214L596.665 683.755C597.146 683.695 597.632 683.812 598.033 684.084L598.827 684.622C600.338 685.647 599.8 687.994 597.993 688.257L594.272 688.8C593.724 688.88 593.168 688.729 592.735 688.383L591.957 687.761C590.574 686.657 591.202 684.432 592.959 684.214Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M600.567 690.141L604.272 689.682C604.753 689.622 605.239 689.739 605.64 690.011L606.434 690.549C607.946 691.573 607.407 693.92 605.601 694.184L601.879 694.726C601.332 694.806 600.775 694.655 600.343 694.31L599.564 693.688C598.181 692.583 598.81 690.358 600.567 690.141Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M608.764 696.61L612.47 696.151C612.95 696.092 613.437 696.209 613.838 696.481L614.632 697.019C616.143 698.043 615.605 700.39 613.798 700.653L610.077 701.196C609.529 701.276 608.972 701.125 608.54 700.78L607.762 700.158C606.378 699.053 607.007 696.828 608.764 696.61Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M581.145 686.392L584.85 685.933C585.331 685.873 585.817 685.99 586.219 686.262L587.013 686.8C588.524 687.824 587.985 690.171 586.179 690.435L582.458 690.977C581.91 691.057 581.353 690.906 580.921 690.561L580.142 689.939C578.759 688.834 579.388 686.609 581.145 686.392Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M588.752 692.318L592.458 691.859C592.939 691.8 593.425 691.917 593.826 692.189L594.62 692.727C596.131 693.751 595.593 696.098 593.786 696.361L590.065 696.904C589.517 696.984 588.961 696.833 588.528 696.488L587.75 695.866C586.367 694.761 586.995 692.536 588.752 692.318Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M596.949 698.789L600.655 698.33C601.136 698.27 601.622 698.387 602.023 698.659L602.817 699.198C604.328 700.222 603.79 702.569 601.984 702.832L598.262 703.375C597.714 703.455 597.158 703.304 596.725 702.958L595.947 702.337C594.564 701.232 595.192 699.007 596.949 698.789Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M588.666 667.951L599.632 675.923C602.692 678.148 600.65 678.676 599.247 678.661C592.114 679.775 577.505 682.065 576.129 682.318C574.753 682.572 573.058 681.865 572.382 681.48C568.81 678.819 561.199 673.021 559.34 671.
1116C557.481 669.211 559.158 668.648 560.229 668.605C567.382 667.986 582.132 666.73 583.911 666.658C585.691 666.586 587.823 667.49 588.666 667.951Z",fill:"#F7CF50",stroke:"black",strokeWidth:"2"})]}),(0,s.jsx)("path",{d:"M557.523 267.869C586.641 267.869 616.211 272.624 640.507 289.998C680.926 318.902 690.567 364.328 692.717 411.361C693.779 434.604 692.477 454.099 677.907 473.138C667.502 486.733 653.877 499.178 637.049 503.911C634.621 504.594 626.966 507.132 625.639 503.392C624.097 499.045 624.484 492.285 626.33 488.121C635.233 468.047 662.271 474.703 673.239 489.158C680.434 498.641 681.559 512.145 682.344 523.561C683.407 539.022 684.089 555.366 681.883 570.758C677.473 601.536 657.602 634.965 625.498 657.919",stroke:"black",strokeWidth:"3",strokeLinecap:"round"}),(0,s.jsx)("g",{children:(0,s.jsx)("path",{d:"M627.408 641.096C627.408 647.553 625.267 652.713 622.617 658.346C621.919 659.829 636.078 660.81 638.498 660.81",stroke:"black",strokeWidth:"3",strokeLinecap:"round"})})]})},{id:"mobile-4",title:"You can also enjoy takeaway by ordering in-app and picking up when read.",src:"/videos/takeaway.mp4",svg:{fill:"#D9D5F0",d:"M599.929 271.957L271.298 145.968C222.824 127.385 168.462 151.616 149.878 200.09L55.7472 445.624C37.1633 494.098 61.3945 548.46 109.869 567.044L438.499 693.032C486.974 711.616 541.336 687.385 559.919 638.91L654.051 393.377C672.634 344.902 648.403 290.54 599.929 271.957Z"},supportsTakeaway:!0}],l=(0,a.r)(),n=t.filter(e=>!e.supportsTakeaway||l.supportsTakeaway),[d,h]=(0,c.useState)(n[0]),u=(0,c.useCallback)(()=>{n.map(e=>{let{id:t}=e;return document.getElementById(t)}).some(e=>{if(null!==e){let t=(0,r.M)(e,"majority");if(t&&(null==d?void 0:d.id)!==e.id){let t=n.find(t=>t.id===e.id);h(null!=t?t:null)}return t}})||h(null)},[d,n]);return(0,c.useEffect)(()=>(window.addEventListener("scroll",u),()=>{window.removeEventListener("scroll",u)}),[u]),(0,s.jsx)("div",{className:"bg-[#F1ECDA]",children:(0,s.jsx)(i.m,{size:"3xl",children:(0,s.jsxs)("div",{className:"py-12 lg:py-28",children:[(0,s.jsxs)("h2",{className:"text-3xl max-w-[740px]",children:[(0,s.jsx)("span",{className:"-md:hidden",children:"â"}),"Tap, pay and save with offers magically deducted from the total bill."]}),(0,s.jsx)("div",{children:n.map((e,t)=>{let l=e.id===(null==d?void 0:d.id);return(0,s.jsx)(x,{step:e,isInView:l,stepNum:t+1},e.id)})})]})})})}let x=e=>{let{step:t,isInView:l,stepNum:i}=e,a=(0,c.useRef)(null),[r,o]=(0,c.useState)(!1),[h,x]=(0,c.useState)(0);(0,c.useEffect)(()=>{a.current&&(a.current.currentTime=0,l?a.current.play().catch(e=>{d.v.error(e)}):a.current.pause())},[l]);let u=(0,c.useRef)(null),C=(0,c.useRef)(null),[p,m]=(0,c.useState)({height:0,width:0}),g=()=>{var e;let t=null==(e=C.current)?void 0:e.getBoundingClientRect();t&&m({height:t.height,width:t.width})},f=(0,c.useCallback)(()=>{g()},[]);return(0,c.useEffect)(()=>{g()},[]),(0,c.useEffect)(()=>(window.addEventListener("resize",f),()=>{window.removeEventListener("resize",f)}),[f]),(0,s.jsxs)("div",{className:"transition-opacity duration-400 max-w-[480px] flex flex-col gap-8 items-center justify-center mt-24 mx-auto",style:{opacity:l?1:.4},id:t.id,children:[(0,s.jsx)("div",{className:"flex items-center justify-center h-full w-full",children:(0,s.jsxs)("div",{className:"max-w-[709px] max-h-[839px] h-full w-full relative transition-all",children:[(0,s.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 709 838",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{ref:u,d:"M663.321 0.308594H45.8781C20.5403 0.308594 0 23.5759 0 52.2776V786.34C0 815.041 20.5403 838.309 45.8781 838.309H663.321C688.659 838.309 709.199 815.041 709.199 786.34V52.2776C709.199 23.5759 688.659 0.308594 663.321 0.308594Z",fill:"none"}),(0,s.jsx)("path",{d:"M663.321 0.308594H45.8781C20.5403 0.308594 0 22.0358 0 48.8376V734.31C0 761.112 20.5403 782.839 45.8781 782.839H663.321C688.659 782.839 709.199 761.112 709.199 734.31V48.8376C709.199 22.0358 688.659 0.308594 663.321 0.308594Z",fill:"#EAE3CA"}),(0,s.jsx)("path",{...t.svg})]}),(0,s.jsx)("div",{className:"h-full w-full overflow-hidden absolute top-0 left-0 bottom-0 right-0 m-auto rounded-2xl z-20",style:{height:p.height,width:p.width},children:(0,s.jsx)("video",{ref:a,autoPlay:!0,muted:!0,playsInl
1ine:!0,preload:"true",src:null==t?void 0:t.src,className:"w-full h-full object-cover object-center",onPause:()=>o(!0),onPlay:()=>o(!1),onTimeUpdate:e=>{let t=e.currentTarget.currentTime/e.currentTarget.duration;isNaN(t)||x(t)}})}),(0,s.jsx)("div",{className:"absolute top-0 left-0 bottom-0 right-0 m-auto rounded-4xl z-10 bg-white",style:{height:p.height,width:p.width},children:(0,s.jsx)(n.E,{className:"absolute top-0 left-0 bottom-0 right-0 m-auto rounded-4xl z-10 bg-gray-200",style:{height:p.height,width:p.width}})}),(0,s.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 709 838",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute top-0 left-0 z-20",children:[(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M238.242 22.6637C214.072 21.3299 165.193 31.2668 163.045 81.6847C162.707 89.62 162.099 121.908 161.915 146.208C161.824 158.195 162.132 194.411 162.45 231.699C162.469 233.898 162.488 236.101 162.507 238.302L163.045 322.051C163.024 334.112 163.002 345.36 162.982 356.055C162.846 428.19 162.757 475.152 163.045 576.861C163.114 601.259 163.075 618.854 163.038 635.624C163 652.65 162.964 668.825 163.045 690.402C163.095 703.649 163.069 717.745 163.045 731.272C163.021 744.27 162.999 756.742 163.045 767.429C164.984 781.934 177.457 811.445 211.833 813.446C246.209 815.446 413.58 814.279 482.809 813.446C502.354 810.778 542.34 793.839 545.921 747.422C549.502 701.006 547.413 288.592 545.921 88.1874C545.921 59.0638 533.167 22.6637 487.451 22.6637H238.242ZM244.116 37.5507C211.764 37.55 179.183 45.84 177.184 94.4188C176.869 102.065 176.304 133.174 176.132 156.588C176.035 169.813 176.07 195.627 176.105 221.492C176.115 228.786 176.125 236.085 176.132 243.107V272.734C176.04 326.931 176.329 383.394 176.64 444.311C176.846 484.563 177.062 526.76 177.184 571.532C177.248 595.04 177.212 611.993 177.177 628.151C177.142 644.556 177.108 660.141 177.184 680.931C177.23 693.695 177.207 707.277 177.184 720.31C177.162 732.834 177.141 744.851 177.184 755.148C178.989 769.124 187.553 797.558 219.541 799.486C251.529 801.414 408.686 800.289 473.106 799.486C508.784 791.551 528.503 780.594 531.835 735.871C535.167 691.148 533.223 293.778 531.835 100.684C532.529 79.6398 531.835 37.5507 485.418 37.5507H244.116Z",fill:"black"}),(0,s.jsx)("path",{d:"M398.161 49.7338C398.388 49.4523 398.548 48.9516 398.66 48.3206C399.543 43.3413 400.951 38.4537 404.701 35.0605H303.867C307.769 38.4454 309.673 43.3623 309.956 48.52C310.027 49.8257 310.174 50.9048 310.451 51.4002C310.825 52.0693 310.933 52.685 311.477 53.2931C312.03 53.9116 312.655 54.1713 313.301 54.6844C314.643 55.7515 317.02 56.3019 318.674 56.7714C322.306 57.8028 326.855 57.0788 330.673 57.0788C333.2 57.0788 335.601 56.4964 338.147 56.4964C341.23 56.4964 344.313 56.2052 347.362 56.2052H359.394C366.647 56.2052 373.586 56.4964 380.805 56.4964H386.943C388.218 56.4964 389.618 56.4741 391.279 55.6488C394.186 54.8236 393.77 54.4109 395.149 53.5681C396.677 51.9352 397.545 50.4987 398.161 49.7338Z",fill:"black",stroke:"black",strokeWidth:"3",strokeLinecap:"round"})]}),(0,s.jsx)("path",{ref:C,fillRule:"evenodd",clipRule:"evenodd",d:"M244.115 37.5508C211.763 37.5501 179.182 45.8401 177.183 94.4189C176.868 102.065 176.303 133.174 176.131 156.588C176.034 169.813 176.069 195.627 176.105 221.492C176.114 228.786 176.124 236.085 176.131 243.107V272.734C176.039 326.931 176.328 383.394 176.639 444.311C176.845 484.563 177.061 526.76 177.183 571.532C177.247 595.04 177.211 611.993 177.176 628.151C177.141 644.556 177.108 660.141 177.183 680.931C177.229 693.695 177.206 707.277 177.183 720.31C177.161 732.834 177.14 744.851 177.183 755.148C178.988 769.124 187.552 797.558 219.54 799.486C251.529 801.414 408.685 800.289 473.105 799.486C508.783 791.551 528.502 780.594 531.834 735.871C535.166 691.148 533.222 293.778 531.834 100.684C532.528 79.6399 531.834 37.5508 485.417 37.5508H244.115Z"}),t.additionalSvg]})]})}),(0,s.jsxs)("div",{className:"flex items-baseline",children:[(0,s.jsxs)("div",{className:"text-[20px] leading-[28px]",children:["0",i]}),(0,s.jsxs)("div",{className:"ml-4 text-2xl",children:[t.title,(0,s.jsxs)("div",{className:"mt-4 flex items-center gap-3",children:[(0,s.jsx)("button",{className:"bg-white p-2 rounded-full shadow-sm flex items-center justify-center w-7 h-7",disabled:!l,onClick:()=>{var e,t,l;(null==(e=a.current)?void 0:e.paused)?null==(t=a.current)||t.play():null==(l=a.current)||l.pause()},children:l&&!r?(0,s.jsx)("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M9.10613 0.602614C9.65844 0.602572 10.1062 1.0503 10.1062 1.60261L10.1062 9.39662C10.1062 9.9489 9.65849 10.3966 9.1062 10.3966L1.3562 10.3966C0.803917 10.3966 0.356202 9.9489 0.356202 9.39662L0.356202 1.60319C0.356202 1.05093 0.803872 0.603232 1.35613 0.60319L9.10613 0.602614Z",fill:"black"})}):(0,s.jsx)("svg",{width:"9",height:"11",viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M8.5 4.63397C9.16667 5.01888 9.16667 5.98113 8.5 6.36603L1.75 10.2631C1.08333 10.648 0.25 10.1669 0.25 9.39711L0.250001 1.60289C0.250001 0.833085 1.08333 0.35196 1.75 0.73686L8.5 4.63397Z",fill:"black"})})}),(0,s.jsx)("div",{className:"w-[100px] h-2 outline outline-1 outline-black rounded-full relative over-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 h-2 bg-black w-4",style:{width:l?"".concat(100*h,"px"):0}})})]})]})]})]},t.id)}},59692:(e,t,l)=>{"use strict";l.d(t,{default:()=>p});var s=l(37020),i=l(13402),n=l(56205),a=l(27179),r=l(23881),d=l(15934),o=l(50252),c=l(94018);let h=(e,t)=>{let l=e.latitude,s=e.longitude,i=t.latitude;return 12742*Math.asin(Math.sqrt(.5-Math.cos(Math.PI/180*(i-l))/2+Math.cos(Math.PI/180*l)*Math.cos(Math.PI/180*i)*(1-Math.cos(Math.PI/180*(t.longitude-s)))/2))};
1var x=l(77264),u=l.n(x),C=l(23792);function p(e){var t,l;let{featuredRestaurants:h,restaurantRegions:x}=e,p=(0,d._)(),v=(0,r.r)(),{userState:w,userCoordinates:j}=(0,c.S)(),[b,k]=(0,C.useState)(null!=w?w:v.regions[0].state);(0,C.useEffect)(()=>{w&&k(w)},[w]);let L=f(h,v.regions,w,j).filter(e=>e.restaurants.length>0),M=L.find(e=>e.state===b),N=(0,C.useRef)(null),[y,A]=(0,C.useState)(!1),E=null!=(l=null==M?void 0:M.restaurants)?l:[],Z={infinite:E.length>1,slidesToShow:4,responsive:[{breakpoint:1441,settings:{slidesToShow:3}},{breakpoint:1025,settings:{slidesToShow:2}},{breakpoint:769,settings:{slidesToShow:1}}],afterChange:()=>p("customers_browse_featured_venues","engagement")},P=(0,o.PF)({sliderItems:E,sliderTemplate:"FeaturedRestaurantsSliderCard",sliderSettings:Z,swiperRef:N}),_=null==x?void 0:x.filter(e=>e.state===b).reduce((e,t)=>{var l;return e+(null!=(l=t.venueCount)?l:0)},0),W=null==(t=x.find(e=>e.state===b))?void 0:t.slug,F=null==M?void 0:M.stateFullName;return(0,s.jsx)("div",{className:"overflow-hidden bg-[#F1ECDA]",children:(0,s.jsx)(n.m,{size:"3xl",children:(0,s.jsxs)("div",{className:"py-12 lg:py-28",children:[(0,s.jsxs)("div",{className:"mb-6 sm:mb-12 flex items-end justify-between flex-wrap gap-4",children:[(0,s.jsx)(a.FadeInSection,{children:(0,s.jsxs)("p",{className:"text-3xl md:text-[44px] md:leading-[60px]",children:[(0,s.jsx)("span",{className:"-md:hidden",children:"â"}),"Explore ",_," restaurants",(0,s.jsx)("br",{}),"and bars in ",F]})}),(0,s.jsx)(u(),{href:"/venues/".concat(W),passHref:!0,className:"".concat(y?"disabled":""),children:(0,s.jsx)(i.$,{className:"border-black -md:hidden",icon:(0,s.jsx)("svg",{width:"28",height:"25",viewBox:"0 0 28 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M0 12.5H26.4255M26.4255 12.5L14.5955 1M26.4255 12.5L14.5955 24",stroke:"black"})}),iconPosition:"end",isLoading:y,onClick:()=>{A(!0)},round:!0,size:"lg",variant:"outline",children:"Explore"})})]}),(0,s.jsx)("div",{className:"w-full mx-auto",children:(0,s.jsxs)("div",{className:"w-full relative mx-auto",children:[(0,s.jsx)("div",{className:"w-full relative -mx-12 -lg:-mx-8 -md:-mx-3 customer-venues",children:P}),(0,s.jsxs)("div",{className:"mt-6 sm:mt-[48px] flex justify-between align-center flex-col-reverse sm:flex-row gap-4",children:[(0,s.jsx)("div",{className:"flex gap-7",children:L.length>1&&L.map((e,t)=>(0,s.jsx)("div",{onClick:()=>{var t;k(e.state),null==(t=N.current)||t.slickGoTo(0,!0)},className:"text-lg outline-none select-none cursor-pointer font-medium ".concat(b===e.state?"text-[#000000]":"text-[#929292]"," hover:text-[#000000]"),children:e.state},"eatclub-venues-".concat(t)))}),(0,s.jsxs)("div",{className:"flex gap-6 justify-between sm:justify-normal",children:[(0,o.Dn)({swiperRef:N,button:m}),(0,o.YQ)({swiperRef:N,button:g})]})]})]})})]})})})}let m=e=>{let{handleClick:t}=e;return(0,s.jsx)("button",{onClick:t,children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 24 24",fill:"none",style:{transform:"rotate(180deg)"},children:(0,s.jsx)("path",{d:"M11.5 1L23 12.5M23 12.5L11.5 24M23 12.5H0",stroke:"black"})})})},g=e=>{let{handleClick:t}=e;return(0,s.jsx)("button",{onClick:t,children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 24 24",fill:"none",children:(0,s.jsx)("path",{d:"M11.5 1L23 12.5M23 12.5L11.5 24M23 12.5H0",stroke:"black"})})})},f=(e,t,l,s)=>((e,t)=>{let l=new Set;return e.filter(e=>!l.has(e[t])&&l.add(e[t]))})(t,"state").map(t=>{let i=e.filter(e=>e.state===t.state).sort((e,i)=>{var n,a,r,d;let o={latitude:null!=(n=e.latitude)?n:0,longitude:null!=(a=e.longitude)?a:0},c={latitude:null!=(r=i.latitude)?r:0,longitude:null!=(d=i.longitude)?d:0};if(l===t.state&&s)return h(s,o)-h(s,c);{let e=t.coordinates;return h(e,o)-h(e,c)}});return{...t,restaurants:((e,t)=>{let l={};for(let t of e){var s;let e=Number(t.maxDiscount);l[e]=[...null!=(s=l[e])?s:[],t]}let i=Object.entries(l).map(e=>{let[t,l]=e;return{maxDiscount:t,restaurants:l}}).sort((e,t)=>Number(t.maxDiscount)-Number(e.maxDiscount)),n=[],a=t;for(let e of i){let t=Math.ceil(a/(i.length-n.length)),l=e.restaurants.slice(0,t);if(n.push(...l),(a-=l.length)<=0)break}return n.slice(0,t)})(i,7)}})},70882:(e,t,l)=>{"use strict";l.d(t,{default:()=>r});var s=l(37020),i=l(68758),n=l(75462),a=l(44697);function r(e){let{fullWidth:t=!1}=e,l=(0,a.T)();return(0,s.jsx)("div",{className:"cursor-pointer w-full mx-auto relative ".concat(t?"":"max-w-screen-3xl rounded-[48px] -md:rounded-[24px]"," bg-[#FAD14C]"),onClick:l,children:(0,s.jsx)("div",{className:"w-full py-14 px-4 -md:py-6",children:(0,s.jsxs)("div",{className:"w-full flex flex-row justify-between items-center -lg:flex-col",children:[(0,s.jsxs)("div",{className:"w-1/2 relative text-[#313131] text-[56px] lg:leading-[59px] px-10 -lg:w-full -lg:px-4 -xl:pr-4",children:[(0,s.jsx)("div",{className:"w-fit m-auto lg:hidden",children:(0,s.jsx)(d,{})}),(0,s.jsxs)("div",{className:"max-w-[460px] flex flex-col gap-2 -lg:hidden",children:[(0,s.jsxs)("div",{className:"flex flex-row items-center gap-4",children:[(0,s.jsx)("div",{children:"Download"}),(0,s.jsx)(d,{})]}),(0,s.jsx)("div",{children:"EatClub for free"})]}),(0,s.jsxs)("div",{className:"hidden -lg:block text-[16px] leading-[24px] text-[#313131] w-full -md:max-w-[180px] text-center mx-auto -tracking-[0.16px] mt-2",children:[(0,s.jsx)("span",{className:"font-[700]",children:"Download EatClub"})," now for the best offers!"]})]}),(0,s.jsxs)("div",{className:"w-1/2 flex flex-col pr-10 -xl:pr-0 -lg:w-full -xl:pl-4",children:[(0,s.jsx)("div",{className:"text-[18px] leading-[26px] text-[#313131] -tracking-[0.18px] -lg:hidden",children:(0,s.jsx)("div",{className:"grid -xl:grid-cols-1 grid-cols-2 gap-y-3",children:n.m0.map(e=>(0,s.jsxs)("div",{className:"flex flex-row gap-3",children:[(0,s.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("circle",{cx:"10",cy:"10",r:"9.5",stroke:"black"}),(0,s.jsx)("path",{d:"M5 10.5L7.17391 13L15 6",stroke:"#313113"})]}),(0,s.jsx)("div",{children:e})]},e))})}),(0,s.jsx)("div",{className:"w-full mt-6",children:(0,s.jsx)("div",{className:"flex flex-row gap-5 -lg:justify-center",children:(0,s.jsx)(i.aY,{})})})]})]})})})}let d=()=>
1(0,s.jsxs)("svg",{width:"77",height:"71",viewBox:"0 0 77 71",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M20.4972 18.734C18.3853 22.3571 14.1979 30.4085 14.3427 33.6284C14.4876 36.8483 19.2455 39.3679 21.6064 40.2251C20.8949 45.1289 19.1598 56.2128 17.9109 61.3182M17.9109 61.3182C13.9661 61.0708 6.936 60.7265 10.0738 63.051C18.5742 67.646 42.4936 68.0867 20.4903 61.7701M17.9109 61.3182L17.62 62.2968M20.4903 61.7701C21.0836 56.6978 22.5672 45.3628 23.7559 40.6017C23.6529 41.0274 32.3637 40.7953 32.9049 36.4367C34.0379 27.3122 32.2334 22.5649 31.6752 20.6923M20.4903 61.7701L20.3952 62.7295",stroke:"#313131",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M21.6071 40.2257C19.2463 39.3684 14.4884 36.8488 14.3435 33.6289C14.6779 32.2419 14.8138 31.6242 16.2972 28.4708C18.1514 24.5291 21.17 31.6517 25.8836 31.3139C29.6545 31.0437 31.6173 26.6297 32.2262 23.8921C32.6716 26.8241 33.5894 32.5347 32.9057 36.4373C32.3645 40.7958 23.6537 41.0279 23.7566 40.6023L21.6071 40.2257Z",fill:"#313131",stroke:"#313131",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M20.7116 18.7727C22.1445 20.1874 26.3332 22.5503 31.6247 20.6847C32.9515 19.7532 19.9123 16.6934 20.7116 18.7727Z",stroke:"#313131",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M44.0968 12.8005C47.6035 15.1004 54.9439 20.4369 56.2512 23.3831C57.5584 26.3292 54.4249 30.7073 52.6948 32.528C55.5198 36.5989 62.0188 45.7437 65.4148 49.7552M65.4148 49.7552C68.8346 47.7734 74.9722 44.328 73.2015 47.8084C67.6451 55.7139 46.4362 66.7825 63.3082 51.310
17M65.4148 49.7552L66.0744 50.5228M63.3082 51.3107C60.5137 47.0361 54.1276 37.5545 50.9392 33.8242C51.2214 34.1592 43.3225 37.8388 40.8931 34.1798C35.8072 26.5198 35.3036 21.4661 34.9675 19.5413M63.3082 51.3107L64.1803 52.6437",stroke:"#313131",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M43.9241 12.9293C43.2731 14.8348 40.5791 18.8186 35.0111 19.5105C33.4081 19.269 43.7115 10.7118 43.9241 12.9293Z",stroke:"#313131",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M43.1375 28.0815C38.113 28.154 36.1599 24.9972 35.8438 23.8882C37.3614 29.2116 39.7659 33.8267 41.8811 35.2381C44.3661 36.6205 50.2744 35.4795 53.1321 32.2079C56.7042 28.1184 56.6362 25.4178 56.3821 23.9111C56.1788 22.7058 55.6679 22.7394 54.9342 22.2174C47.7718 21.1007 48.2342 28.0079 43.1375 28.0815Z",fill:"#313131",stroke:"#313131",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M28.0429 15.4522C27.8369 15.4574 27.6249 15.3972 27.43 15.3396C26.4741 15.0571 25.548 14.6546 24.6249 14.2815C24.106 14.0717 23.4815 13.6236 22.9297 13.5376",stroke:"#313131",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M29.5669 12.1408C28.7658 10.3393 28.489 8.3742 27.7891 6.53955",stroke:"#313131",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M33.2124 11.5254C33.2967 9.99484 34.3002 8.60683 34.6219 7.12216",stroke:"#313131",strokeLinecap:"round"}),(0,s.jsx)("path",{d:"M36.2495 13.3807C37.2491 12.4832 38.3806 11.7133 39.4832 10.9477C39.6291 10.8464 39.7568 10.7287 39.8806 10.6015C40.045 10.4324 40.2261 10.1757 40.47 10.1346",stroke:"#313131",strokeLinecap:"round"})]})},80646:(e,t,l)=>{"use strict";l.d(t,{default:()=>x});var s=l(37020),i=l(56205),n=l(15465),a=l(27179),r=l(23881),d=l(26151),o=l(92786),c=l(93033),h=l(23792);function x(){let e,t=[{id:"1",title:"Explore hundreds of restaurants and bars to see whatâs nearby.",src:(e=(0,c.c3)("Asset"))("phone_browse_venues"),maxWidth:365,svg:{fill:"#F18257",d:"M620.667 215.146L275.623 88.5007C226.729 70.5543 172.903 96.6485 155.401 146.784L31.8893 500.581C14.3869 550.716 39.8354 605.908 88.7301 623.854L433.773 750.499C482.668 768.446 536.494 742.352 553.996 692.216L677.508 338.419C695.01 288.284 669.562 233.093 620.667 215.146Z"}},{id:"2",title:"Redeem an exclusive dine-in offer to activate the EatClub digital card.",src:e("redeem_a_deal"),maxWidth:360,svg:{fill:"#F7CF50",d:"M466.571 106.593L110.818 194.096C60.4062 206.496 29.591 257.415 41.9907 307.827L129.494 663.58C141.893 713.992 192.812 744.807 243.225 732.408L598.977 644.905C649.39 632.505 680.205 581.586 667.805 531.174L580.302 175.421C567.902 125.009 516.983 94.1935 466.571 106.593Z"}},{id:"3",title:"Tap and pay with the EatClub digital card and get your offer magically deducted from the total bill, including booze \uD83D\uDE42",src:e("tap_to_pay"),maxWidth:465,svg:{fill:"#EFECA8",d:"M486.779 172.845L86.8731 340.683C39.0033 360.774 16.4839 415.867 36.5746 463.736L100.419 615.857C120.509 663.727 175.602 686.246 223.472 666.155L623.377 498.317C671.247 478.227 693.766 423.134 673.676 375.264L609.832 223.144C589.741 175.274 534.648 152.755 486.779 172.845Z"},additionalSvg:(0,s.jsxs)("g",{children:[(0,s.jsxs)("g",{className:"tap-machine",children:[(0,s.jsx)("rect",{x:"489.92",y:"635.063",width:"180.9",height:"115.283",rx:"57.6416",fill:"#96ABE2"}),(0,s.jsx)("rect",{x:"489.92",y:"635.063",width:"180.9",height:"115.283",rx:"57.6416",stroke:"black"}),(0,s.jsx)("path",{d:"M598.275 724.856L565.13 722.769C561.738 722.643 554.5 720.948 552.676 715.175C550.397 707.959 538.207 706.996 528.882 697.481C519.885 687.366 527.42 686.559 532.312 687.42L548.193 688.01L566.289 691.575L598.275 724.856Z",fill:"#7D8FBF"}),(0,s.jsx)("path",{d:"M558.936 696.562C566.256 697.766 570.888 703.685 573.696 709.279C574.474 710.83 576.679 710.88 577.078 709.192C579.842 697.485 568.629 688.548 561.188 685.897C560.177 685.536 559.127 686.17 558.845 687.206L557.034 693.84C556.688 695.105 557.642 696.35 558.936 696.562Z",fill:"#92925A",stroke:"black",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M598.321 724.016C611.792 723.094 638.736 717.112 639.387 716.406C640.039 715.699 639.624 705.911 639.336 701.105C639.381 702.237 636.579 703.011 635.172 703.257L597.715 709.021L597.904 713.69L598.321 724.016ZM598.321 724.016L574.233 709.97C573.012 705.486 569.203 692.094 564.413 691.381C559.624 690.668 557.424 693.741 556.923 695.367L551.682 691.895C550.622 691.371 548.481 689.815 548.398 687.778C548.316 685.741 548.358 672.76 548.389 666.524",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M639.387 716.406C640.039 715.699 639.624 705.911 639.336 701.105C639.381 702.237 636.579 703.011 635.172 703.257L597.715 709.021C582.017 696.904 550.175 671.44 548.389 666.524C548.358 672.76 548.316 685.741 548.398 687.778C548.481 689.815 550.622 691.371 5
151.682 691.895L556.923 695.367C557.424 693.741 559.624 690.668 564.413 691.381C569.203 692.094 573.012 705.486 574.233 709.97L598.321 724.016C611.792 723.094 638.736 717.112 639.387 716.406Z",fill:"#E5E5AD"}),(0,s.jsx)("path",{d:"M598.321 724.016C611.792 723.094 638.736 717.112 639.387 716.406C640.039 715.699 639.624 705.911 639.336 701.105C639.381 702.237 636.579 703.011 635.172 703.257L597.715 709.021M598.321 724.016L574.233 709.97C573.012 705.486 569.203 692.094 564.413 691.381C559.624 690.668 557.424 693.741 556.923 695.367L551.682 691.895C550.622 691.371 548.481 689.815 548.398 687.778C548.316 685.741 548.358 672.76 548.389 666.524C550.175 671.44 582.017 696.904 597.715 709.021M598.321 724.016L597.904 713.69L597.715 709.021",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M592.618 665.877L638.431 699.752C640.858 701.547 637.738 702.729 635.875 703.096C625.06 704.022 602.244 708.457 599.535 708.689C596.827 708.921 596.95 708.371 593.627 706.07C580.234 696.796 552.33 671.753 549.664 668.702C546.198 664.736 551.198 664.497 552.687 664.18C560.836 663.104 578.474 662.655 582.027 661.668C585.581 660.682 590.569 664.063 592.618 665.877Z",fill:"#FCFCCF",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M604.774 682.036L608.479 681.577C608.96 681.518 609.446 681.635 609.847 681.906L610.642 682.445C612.153 683.469 611.614 685.816 609.808 686.079L606.086 686.622C605.539 686.702 604.982 686.551 604.55 686.205L603.771 685.584C602.388 684.479 603.017 682.254 604.774 682.036Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M612.381 687.963L616.087 687.504C616.568 687.444 617.054 687.561 617.455 687.833L618.249 688.371C619.76 689.396 619.222 691.743 617.415 692.006L613.694 692.549C613.146 692.629 612.59 692.478 612.157 692.132L611.379 691.511C609.995 690.406 610.624 688.181 612.381 687.963Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M620.576 694.433L624.282 693.974C624.763 693.914 625.249 694.031 625.65 694.303L626.444 694.841C627.955 695.865 627.417 698.212 625.611 698.476L621.889 699.018C621.341 699.098 620.785 698.947 620.352 698.602L619.574 697.98C618.191 696.875 618.819 694.65 620.576 694.433Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M592.959 684.214L596.665 683.755C597.146 683.695 597.632 683.812 598.033 684.084L598.827 684.622C600.338 685.647 599.8 687.994 597.993 688.257L594.272 688.8C593.724 688.88 593.168 688.729 592.735 688.383L591.957 687.761C590.574 686.657 591.202 684.432 592.959 684.214Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M600.567 690.141L604.272 689.682C604.753 689.622 605.239 689.739 605.64 690.011L606.434 690.549C607.946 691.573 607.407 693.92 605.601 694.184L601.879 694.726C601.332 694.806 600.775 694.655 600.343 694.31L599.564 693.688C598.181 692.583 598.81 690.358 600.567 690.141Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M608.764 696.61L612.47 696.151C612.95 696.092 613.437 696.209 613.838 696.481L614.632 697.019C616.143 698.043 615.605 700.39 613.798 700.653L610.077 701.196C609.529 701.276 608.972 701.125 608.54 700.78L607.762 700.158C606.378 699.053 607.007 696.828 608.764 696.61Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M581.145 686.392L584.85 685.933C585.331 685.873 585.817 685.99 586.219 686.262L587.013 686.8C588.524 687.824 587.985 690.171 586.179 690.435L582.458 690.977C581.91 691.057 581.353 690.906 580.921 690.561L580.142 689.939C578.759 688.834 579.388 686.609 581.145 686.392Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M588.752 692.318L592.458 691.859C592.939 691.8 593.425 691.917 593.826 692.189L594.62 692.727C596.131 693.751 595.593 696.098 593.786 696.361L590.065 696.904C589.517 696.984 588.961 696.833 588.528 696.488L587.75 695.866C586.367 694.761 586.995 692.536 588.752 692.318Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M596.949 698.789L600.655 698.33C601.136 698.27 601.622 698.387 602.023 698.659L602.817 699.198C604.328 700.222 603.79 702.569 601.984 702.832L598.262 703.375C597.714 703.455 597.158 703.304 596.725 702.958L595.947 702.337C594.564 701.232 595.192 699.007 596.949 698.789Z",fill:"white",stroke:"black",strokeWidth:"2"}),(0,s.jsx)("path",{d:"M588.666 667.951L599.632 675.923C602.692 678.148 600.65 678.676 599.247 678.661C592.114 679.775 577.505 682.065 576.129 682.318C574.753 682.572 573.058 681.865 572.382 681.48C568.81 678.819 561.199 673.021 559.34 671.
1116C557.481 669.211 559.158 668.648 560.229 668.605C567.382 667.986 582.132 666.73 583.911 666.658C585.691 666.586 587.823 667.49 588.666 667.951Z",fill:"#F7CF50",stroke:"black",strokeWidth:"2"})]}),(0,s.jsx)("path",{className:"arrow-path",d:"M557.523 267.869C586.641 267.869 616.211 272.624 640.507 289.998C680.926 318.902 690.567 364.328 692.717 411.361C693.779 434.604 692.477 454.099 677.907 473.138C667.502 486.733 653.877 499.178 637.049 503.911C634.621 504.594 626.966 507.132 625.639 503.392C624.097 499.045 624.484 492.285 626.33 488.121C635.233 468.047 662.271 474.703 673.239 489.158C680.434 498.641 681.559 512.145 682.344 523.561C683.407 539.022 684.089 555.366 681.883 570.758C677.473 601.536 657.602 634.965 625.498 657.919",stroke:"black",strokeWidth:"3",strokeLinecap:"round"}),(0,s.jsx)("g",{className:"arrow-end",children:(0,s.jsx)("path",{d:"M627.408 641.096C627.408 647.553 625.267 652.713 622.617 658.346C621.919 659.829 636.078 660.81 638.498 660.81",stroke:"black",strokeWidth:"3",strokeLinecap:"round"})})]})},{id:"4",title:"You can also enjoy takeaway by ordering in-app and picking up when ready.",src:"/videos/takeaway.mp4",maxWidth:400,svg:{fill:"#D9D5F0",d:"M599.929 271.957L271.298 145.968C222.824 127.385 168.462 151.616 149.878 200.09L55.7472 445.624C37.1633 494.098 61.3945 548.46 109.869 567.044L438.499 693.032C486.974 711.616 541.336 687.385 559.919 638.91L654.051 393.377C672.634 344.902 648.403 290.54 599.929 271.957Z"},supportsTakeaway:!0}],l={fill:"#EBE3C9",d:t[0].svg.d},x=t[0].src,u=(0,r.r)(),C=t.filter(e=>!e.supportsTakeaway||u.supportsTakeaway),[p,m]=(0,h.useState)(null),g=(0,h.useRef)(null),[f,v]=(0,h.useState)(!1),[w,j]=(0,h.useState)(0),b=(0,h.useCallback)(()=>{[...C.map(e=>{let{id:t}=e;return document.getElementById(t)})].reverse().some(e=>{if(null!==e){let t=(0,d.M)(e,"majority");if(t&&(null==p?void 0:p.id)!==e.id){let t=C.find(t=>t.id===e.id);m(null!=t?t:null)}return t}})||m(null)},[p,C]);(0,h.useEffect)(()=>(window.addEventListener("scroll",b),()=>{window.removeEventListener("scroll",b)}),[b]);let k=(0,h.useRef)(null),[L,M]=(0,h.useState)({height:0,width:0}),N=()=>{var e;let t=null==(e=k.current)?void 0:e.getBoundingClientRect();t&&M({height:t.height,width:t.width})},y=(0,h.useCallback)(()=>{N()},[]);return(0,h.useEffect)(()=>{N()},[y]),(0,h.useEffect)(()=>(window.addEventListener("resize",y),()=>{window.removeEventListener("resize",y)}),[y]),(0,h.useEffect)(()=>{g.current&&(g.current.currentTime=0,j(g.current.currentTime),null!==p?g.current.play().catch(e=>{o.v.error(e)}):g.current.pause())},[p]),(0,s.jsx)("div",{className:"bg-[#F1ECDA]",children:(0,s.jsx)(i.m,{size:"3xl",children:(0,s.jsxs)("div",{className:"py-12 lg:py-28",children:[(0,s.jsx)(a.FadeInSection,{children:(0,s.jsxs)("h2",{className:"text-[44px] leading-[52px] max-w-[740px]",children:[(0,s.jsx)("span",{className:"-md:hidden",children:"â"}),"Tap, pay and save with offers magically deducted from the total bill."]})}),(0,s.jsxs)("div",{className:"grid sm:grid-cols-2",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"h-[72vh]"}),C.map((e,t)=>{let l=e.id===(null==p?void 0:p.id);return(0,s.jsx)("div",{className:"h-[72vh] transition-opacity duration-400",style:{opacity:l?1:.4},id:e.id,children:(0,s.jsxs)("div",{className:"flex items-baseline",id:"".concat(e.id,"-text"),children:[(0,s.jsxs)("div",{className:"text-[20px] leading-[28px]",children:["0",t+1]}),(0,s.jsxs)("div",{className:"ml-8 text-[28px] leading-[40px] max-w-[365px]",style:{maxWidth:e.maxWidth},children:[e.title,(0,s.jsxs)("div",{className:"mt-10 flex items-center gap-3",children:[(0,s.jsx)("button",{className:"bg-white p-2 rounded-full shadow-sm flex items-center justify-center w-7 h-7",disabled:!l,onClick:()=>{if(g.current){let e=g.current;e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>e.HAVE_CURRENT_DATA?g.current.pause():g.current.play().catch(e=>{o.v.error(e)})}},children:l&&!f?(0,s.jsx)("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M9.10613 0.602614C9.65844 0.602572 10.1062 1.0503 10.1062 1.60261L10.1062 9.39662C10.1062 9.9489 9.65849 10.3966 9.1062 10.3966L1.3562 10.3966C0.803917 10.3966 0.356202 9.9489 0.356202 9.39662L0.356202 1.60319C0.356202 1.05093 0.803872 0.603232 1.35613 0.60319L9.10613 0.602614Z",fill:"black"})}):(0,s.jsx)("svg",{width:"9",height:"11",viewBox:"0 0 9 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M8.5 4.63397C9.16667 5.01888 9.16667 5.98113 8.5 6.36603L1.75 10.2631C1.08333 10.648 0.25 10.1669 0.25 9.39711L0.250001 1.60289C0.250001 0.833085 1.08333 0.35196 1.75 0.73686L8.5 4.63397Z",fill:"black"})})}),(0,s.jsx)("div",{className:"w-[100px] h-2 outline outline-1 outline-black rounded-full relative over-hidden",children:(0,s.jsx)("div",{className:"absolute left-0 right-0 h-2 bg-black w-4",style:{width:l?"".concat(100*w,"px"):0}})})]})]})]})},e.id)})]}),(0,s.jsxs)("div",{className:"h-screen sticky top-0 flex items-center justify-end py-28 gap-8",children:[(0,s.jsxs)("div",{className:"max-w-[709px] max-h-[838px] h-full w-full relative transition-all",style:{opacity:p?1:.4},children:[(0,s.jsx)("svg",{width:"100%",height:"100%",viewBox:"0 0 709 838",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute top-0 left-0",children:(0,s.jsx)("path",{...p?p.svg:l,className:"transition-all duration-500"})}),(0,s.jsx)("div",{className:"h-full w-full overflow-hidden absolute top-0 left-0 bottom-0 right-0 m-auto rounded-4xl z-20",style:{height:L.height,width:L.width},children:(0,s.jsx)("video",{ref:g,autoPlay:!0,muted:!0,playsInl
1ine:!0,preload:"true",src:p?p.src:x,className:"w-full h-full object-cover object-center",onPause:()=>v(!0),onPlay:()=>v(!1),onTimeUpdate:e=>{let t=e.currentTarget.currentTime/e.currentTarget.duration;isNaN(t)||j(t)}})}),(0,s.jsx)("div",{className:"absolute top-0 left-0 bottom-0 right-0 m-auto rounded-4xl z-10 bg-white",style:{height:L.height,width:L.width},children:(0,s.jsx)(n.E,{className:"absolute top-0 left-0 bottom-0 right-0 m-auto rounded-4xl z-10 bg-gray-200",style:{height:L.height,width:L.width}})}),(0,s.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 709 838",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute top-0 left-0 z-20",children:[(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M238.242 22.6637C214.072 21.3299 165.193 31.2668 163.045 81.6847C162.707 89.62 162.099 121.908 161.915 146.208C161.824 158.195 162.132 194.411 162.45 231.699C162.469 233.898 162.488 236.101 162.507 238.302L163.045 322.051C163.024 334.112 163.002 345.36 162.982 356.055C162.846 428.19 162.757 475.152 163.045 576.861C163.114 601.259 163.075 618.854 163.038 635.624C163 652.65 162.964 668.825 163.045 690.402C163.095 703.649 163.069 717.745 163.045 731.272C163.021 744.27 162.999 756.742 163.045 767.429C164.984 781.934 177.457 811.445 211.833 813.446C246.209 815.446 413.58 814.279 482.809 813.446C502.354 810.778 542.34 793.839 545.921 747.422C549.502 701.006 547.413 288.592 545.921 88.1874C545.921 59.0638 533.167 22.6637 487.451 22.6637H238.242ZM244.116 37.5507C211.764 37.55 179.183 45.84 177.184 94.4188C176.869 102.065 176.304 133.174 176.132 156.588C176.035 169.813 176.07 195.627 176.105 221.492C176.115 228.786 176.125 236.085 176.132 243.107V272.734C176.04 326.931 176.329 383.394 176.64 444.311C176.846 484.563 177.062 526.76 177.184 571.532C177.248 595.04 177.212 611.993 177.177 628.151C177.142 644.556 177.108 660.141 177.184 680.931C177.23 693.695 177.207 707.277 177.184 720.31C177.162 732.834 177.141 744.851 177.184 755.148C178.989 769.124 187.553 797.558 219.541 799.486C251.529 801.414 408.686 800.289 473.106 799.486C508.784 791.551 528.503 780.594 531.835 735.871C535.167 691.148 533.223 293.778 531.835 100.684C532.529 79.6398 531.835 37.5507 485.418 37.5507H244.116Z",fill:"black"}),(0,s.jsx)("path",{d:"M398.161 49.7338C398.388 49.4523 398.548 48.9516 398.66 48.3206C399.543 43.3413 400.951 38.4537 404.701 35.0605H303.867C307.769 38.4454 309.673 43.3623 309.956 48.52C310.027 49.8257 310.174 50.9048 310.451 51.4002C310.825 52.0693 310.933 52.685 311.477 53.2931C312.03 53.9116 312.655 54.1713 313.301 54.6844C314.643 55.7515 317.02 56.3019 318.674 56.7714C322.306 57.8028 326.855 57.0788 330.673 57.0788C333.2 57.0788 335.601 56.4964 338.147 56.4964C341.23 56.4964 344.313 56.2052 347.362 56.2052H359.394C366.647 56.2052 373.586 56.4964 380.805 56.4964H386.943C388.218 56.4964 389.618 56.4741 391.279 55.6488C394.186 54.8236 393.77 54.4109 395.149 53.5681C396.677 51.9352 397.545 50.4987 398.161 49.7338Z",fill:"black",stroke:"black",strokeWidth:"3",strokeLinecap:"round"})]}),(0,s.jsx)("path",{ref:k,fillRule:"evenodd",clipRule:"evenodd",d:"M244.115 37.5508C211.763 37.5501 179.182 45.8401 177.183 94.4189C176.868 102.065 176.303 133.174 176.131 156.588C176.034 169.813 176.069 195.627 176.105 221.492C176.114 228.786 176.124 236.085 176.131 243.107V272.734C176.039 326.931 176.328 383.394 176.639 444.311C176.845 484.563 177.061 526.76 177.183 571.532C177.247 595.04 177.211 611.993 177.176 628.151C177.141 644.556 177.108 660.141 177.183 680.931C177.229 693.695 177.206 707.277 177.183 720.31C177.161 732.834 177.14 744.851 177.183 755.148C178.988 769.124 187.552 797.558 219.54 799.486C251.529 801.414 408.685 800.289 473.105 799.486C508.783 791.551 528.502 780.594 531.834 735.871C535.166 691.148 533.222 293.778 531.834 100.684C532.528 79.6399 531.834 37.5508 485.417 37.5508H244.115Z"}),null==p?void 0:p.additionalSvg]})]}),(0,s.jsx)("div",{className:"flex flex-col gap-4 transition-opacity",style:{opacity:+!!p},children:C.map(e=>(0,s.jsx)("button",{className:"transition-opacity",onClick:()=>{let t=window.document.getElementById("".concat(e.id,"-text"));null==t||t.scrollIntoView({behavior:"auto",block:"center"})},style:{opacity:(null==p?void 0:p.id)===e.id?1:.2},children:(0,s.jsx)("svg",{width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("circle",{cx:"5.5",cy:"5.5",r:"5.5",fill:"#383838"})})},e.id))})]})]})]})})})}},95111:(e,t,l)=>{"use strict";l.d(t,{default:()=>w});var s=l(37020),i=l(13402),n=l(56205),a=l(53926),r=l(33508),d=l(23881),o=l(15934),c=l(94018),h=l(79017),x=l(28299),u=l(33264),C=l(93033),p=l(30872),m=l(77264),g=l.n(m),f=l(23792);let v=e=>{let{className:t}=e;return(0,s.jsx)("svg",{width:"17",height:"13",viewBox:"0 0 17 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,h.cn)("caret",t),children:(0,s.jsx)("path",{d:"M1 1L8.5 12L16 1",stroke:"black"})})};function w(e){var t;let l,{cuisines:a,restaurantRegions:h}=e,x=(0,o._)(),u=(0,d.r)(),[m,v]=(0,f.useState)(!1),{userRegion:w}=(0,c.S)(),[b,k]=(0,f.useState)(null!=w?w:""),[L,M]=(0,f.useState)("");(0,f.useEffect)(()=>{w&&k(w)},[w]);let N=h.reduce((e,t)=>
1{var l;return(null!=(l=t.venueCount)?l:0)+e},0),y=h.find(e=>e.slug===b),A=(l="/venues",1===u.regions.length?l="".concat(l,"/").concat(u.regions[0].slug):b.length>0&&(l="".concat(l,"/").concat(b)),L.length>0&&(l="".concat(l,"/").concat(L).concat(r.F.Cuisine)),l),E=null!=(t=null==y?void 0:y.venueCount)?t:N,Z=(0,C.c3)("Homepage");return(0,s.jsx)("div",{className:"bg-[#F1ECDA]",children:(0,s.jsx)(n.m,{size:"3xl",children:(0,s.jsxs)("div",{className:"py-12 grid gap-y-7 items-center xl:-mt-20 xl:min-h-screen xl:py-20 xl:grid-cols-[760px_auto]",children:[(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("h1",{className:"lg:text-[96px] lg:leading-[102px] max-w-[760px] text-[48px] leading-[48px] inline-flex flex-wrap items-center gap-y-0",children:Z("tag_line")}),(0,s.jsx)("h2",{className:"mt-7 xl:mt-10 lg:text-[30px] lg:leading-[38px] text-[22px] leading-[30px] max-w-[600px]",children:Z("description")}),u.regions.length>=2&&(0,s.jsx)(j,{activeRestaurantRegion:y,cuisineSlug:L,cuisines:a,regionSlug:b,setCuisineSlug:M,setRegionSlug:k}),(0,s.jsx)("div",{className:"mt-7 xl:mt-8",children:(0,s.jsx)(g(),{href:A,passHref:!0,className:"".concat(m?"disabled":""),children:(0,s.jsx)(i.$,{className:"border-black -md:w-full -md:justify-between",icon:(0,s.jsx)("svg",{width:"28",height:"25",viewBox:"0 0 28 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M0 12.5H26.4255M26.4255 12.5L14.5955 1M26.4255 12.5L14.5955 24",stroke:"black"})}),iconPosition:"end",isLoading:m,onClick:()=>{x("customers_landing_explore_venues","engagement","url",A),v(!0)},round:!0,size:"lg",variant:"outline",children:L||E<=10?"Explore":"Explore ".concat(Intl.NumberFormat().format(E)," venues")})})})]}),(0,s.jsx)("div",{className:"m-auto w-full -xl:order-first -xl:border -xl:border-[#0000001f] -xl:rounded-4xl overflow-hidden",children:(0,s.jsx)(p.default,{alt:"A customer tapping their ECPAY digital card to save 50% off their total bill.",height:0,priority:!0,sizes:"100vw",src:"/videos/homepage-animation.gif",style:{width:"100%",height:"auto"},width:0,unoptimized:!0})})]})})})}let j=e=>{var t;let{activeRestaurantRegion:l,cuisineSlug:i,cuisines:n,regionSlug:r,setCuisineSlug:c,setRegionSlug:h}=e,C=(0,o._)(),p=(0,d.r)(),m=(null!=(t=null==l?void 0:l.cuisines)?t:n).sort((e,t)=>{let l=e.label.toUpperCase(),s=t.label.toUpperCase();return l<s?-1:+(l>s)}),g=e=>{C("customers_landing_update_region","engagement","region",e),h(e)},w=e=>{C("customers_landing_update_cuisine","engagement","cuisine",e),c(e)};return(0,f.useEffect)(()=>{void 0!==i&&l&&(l.cuisines.map(e=>e.slug).includes(i)||c(""))},[l,i,c]),(0,s.jsxs)("div",{className:"mt-8 xl:mt-10 flex flex-col md:flex-row md:max-w-[540px] w-full rounded-full shadow-[0_2px_10px] shadow-black/10",children:[(0,s.jsxs)(u.bL,{children:[(0,s.jsx)(u.Mz,{asChild:!0,children:(0,s.jsxs)(u.l9,{className:"md:basis-1/2 inline-flex h-[60px] items-center gap-[16px] rounded-t-[24px] md:rounded-l-full bg-white px-[22px] text-[18px] leading-none outline-none hover:bg-[#f0f0f0] data-[state=open]:shadow-[0_0_0_1px] data-[state=open]:shadow-black [&[data-state=open]>svg.caret]:rotate-180","aria-label":"Region",children:[(0,s.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 27 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M22.5164 11.5485C22.5164 14.8213 21.0992 17.7609 18.8462 19.7844C16.8982 21.534 14.3274 22.597 11.5082 22.597C5.43018 22.597 0.5 17.6521 0.5 11.5485C0.5 5.44494 5.43019 0.5 11.5082 0.5C17.5862 0.5 22.5164 5.44494 22.5164 11.5485Z",stroke:"black"}),(0,s.jsx)("line",{x1:"19.3536",y1:"18.6464",x2:"26.1414",y2:"25.4343",stroke:"black"})]}),(e=>{var t;return""===e?"All cities":null==(t=p.regions.find(t=>t.slug===e))?void 0:t.label})(r),(0,s.jsx)(v,{className:"ml-auto"})]})}),(0,s.jsx)(u.ZL,{children:(0,s.jsxs)(u.UC,{align:"start",avoidCollisions:!1,className:"popover-content overflow-auto rounded-[24px] bg-white shadow-[0_2px_10px] shadow-black/10 z-30 p-2",collisionPadding:8,sideOffset:8,children:[(0,s.jsx)(u.bm,{asChild:!0,children:(0,s.jsx)(b,{onClick:()=>g(""),children:"All cities"})}),p.regions.map(e=>(0,s.jsx)(u.bm,{asChild:!0,children:(0,s.jsx)(b,{onClick:()=>g(e.slug),children:e.label})},e.slug))]})})]}),(0,s.jsx)(a.w,{orientation:"horizontal",className:"block md:hidden"}),(0,s.jsx)(a.w,{orientation:"vertical",className:"hidden md:block"}),(0,s.jsxs)(u.bL,{children:[(0,s.jsx)(u.Mz,{asChild:!0,children:(0,s.jsxs)(u.l9,{className:"md:basis-1/2 inline-flex h-[60px] items-center gap-[16px] rounded-b-[24px] md:rounded-r-full bg-white px-[22px] text-[18px] leading-none outline-none hover:bg-[#f0f0f0] data-[state=open]:shadow-[0_0_0_1px] data-[state=open]:shadow-black [&[data-state=open]>svg.caret]:rotate-180","aria-label":"Cuisine",children:[(e=>""===e?"All cuisines":(0,x.sK)(e))(i),(0,s.jsx)(v,{className:"ml-auto"})]})}),(0,s.jsx)(u.ZL,{children:(0,s.jsxs)(u.UC,{align:"end",avoidCollisions:!1,className:"popover-content overflow-auto rounded-[24px] bg-white shadow-[0_2px_10px] shadow-black/10 z-30 p-2",collisionPadding:8,sideOffset:8,children:[(0,s.jsx)(u.bm,{asChild:!0,children:(0,s.jsx)(b,{onClick:()=>w(""),children:"All cuisines"})}),m.map(e=>(0,s.jsx)(u.bm,{asChild:!0,children:(0,s.jsx)(b,{onClick:()=>w(e.slug),children:e.label})},e.slug))]})})]})]})},b=e=>{let{children:t,className:l,...i}=e;return(0,s.jsx)("button",{className:(0,h.cn)("relative flex h-[52px] select-none items-center rounded-xl px-[14px] text-[18px] leading-none hover:bg-[#F0F0F0] hover:outline-none w-full",l),...i,children:(0,s.jsx)("span",{children:t})})}},95316:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>s});let s={src:"/_next/static/media/marco-pierre-white.a9f1cc58.png",height:493,width:625,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAGCAMAAADJ2y/JAAAAMFBMVEWWlZTc2tq7urmPjo3X1dTNzMsXFhSGhYTi4OCnpqUpJybDwsFeXVxNS0mpqKdRT04ZtZWFAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAMElEQVR4nAXBiQGAIBAEsdn7AZX+uzVBmr5HTkTu9xuIUXMEaWbLBIuu7dnAU+XGDxt9AO0AgY4WAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:6}}},e=>{e.O(0,[3202,9793,9788,1234,8032,9097,3020,4931,2233,7264,3466,4113,5694,9471,2542,615,3182,4308,7862,4901,6931,1417,8993,9594,7358],()=>e(e.s=12689)),_N_E=e.O()}]);
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.