"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[113],{90113:function(e,t,n){n.r(t),n.d(t,{default:function(){return v}});var r=n(85893);n(67294);var i=n(28889),o=n(53890),a=n(41120),l=n(22318),s=n(18463),c=n(79912);let d=(0,a.Z)({root:{backgroundColor:"#FEF0DC",padding:16},highlightItem:{display:"flex",alignItems:"flex-start","&:not(:last-child)":{marginBottom:16.5}},bulletPoint:{marginRight:8,lineHeight:1.5,flexShrink:0},textContainer:{flex:1},title:{marginBottom:16.5}}),h=e=>{let{highlights:t,photos:n,definitions:a}=e,h=d();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Z,{className:h.title,variant:"h6",component:"h5",children:"Quick Hits"}),(0,r.jsx)(s.Z,{className:h.root,children:(0,r.jsx)(c.Z,{children:t.map((e,t)=>(0,r.jsxs)(i.Z,{className:h.highlightItem,children:[(0,r.jsx)(l.Z,{className:h.bulletPoint,variant:"body2",component:"span",children:"•"}),(0,r.jsx)(i.Z,{className:h.textContainer,children:(0,r.jsx)(l.Z,{children:(0,r.jsx)(o.Z,{onHoverText:!0,photos:n,children:e})})})]},t))})})]})};var p=n(27959),u=n(50743),g=n(61201),x=n(951),m=n(64566),b=n(48565);let f=(0,a.Z)({root:{backgroundColor:"#FEF0DC",padding:16,boxShadow:"0px 4px 6px rgba(0, 0, 0, 0.1)",borderRadius:"12px"},content:{padding:16},highlightItem:{display:"flex",alignItems:"flex-start","&:not(:last-child)":{marginBottom:16.5}},bulletPoint:{marginRight:8,lineHeight:1.5,flexShrink:0},textContainer:{flex:1},title:{marginBottom:16.5},media:{height:"400px",width:"400px",margin:"16px auto 0 auto","@media (max-width: 600px)":{width:"100%",height:"auto",paddingTop:"100%"}},accordionContainer:{backgroundColor:"#FFF6EB",borderRadius:"8px",padding:16},accordion:{backgroundColor:"#FFF6EB",boxShadow:"none",borderRadius:"8px"},accordionSummary:{backgroundColor:"#FFF6EB","&:hover":{backgroundColor:"#FCEFE3"}},accordionDetails:{backgroundColor:"#FFF6EB"},text:{color:"#5A4A3B"}}),Z=e=>{let{menuDescription:t,dishes:n,photos:a,definitions:d}=e,h=f(),Z=(0,b.Z)(t);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.Z,{className:h.title,variant:"h6",component:"h5",children:"Menu Deep Dive"}),(0,r.jsx)(s.Z,{className:h.root,children:(0,r.jsxs)(c.Z,{className:h.content,children:[(0,r.jsx)(i.Z,{className:h.highlightItem,children:(0,r.jsx)(i.Z,{className:h.textContainer,children:Z.map(e=>(0,r.jsx)(l.Z,{className:h.text,children:(0,r.jsx)(o.Z,{onHoverText:!0,photos:a,children:e})},e))})}),(0,r.jsx)(i.Z,{className:h.accordionContainer,children:n.map((e,t)=>(0,r.jsxs)(p.Z,{className:h.accordion,children:[(0,r.jsx)(u.Z,{expandIcon:(0,r.jsx)(m.Z,{}),"aria-controls":"panel".concat(t,"-content"),id:"panel".concat(t,"-header"),className:h.accordionSummary,children:(0,r.jsx)(l.Z,{variant:"body1",className:h.text,children:e.name})}),(0,r.jsx)(g.Z,{className:h.accordionDetails,children:(0,r.jsxs)(i.Z,{children:[(0,r.jsx)(l.Z,{variant:"body2",paragraph:!0,className:h.text,children:e.description}),e.photos&&e.photos.length>0&&(0,r.jsx)(i.Z,{mt:2,children:(0,r.jsx)(x.Z,{className:h.media,image:e.photos[0].url,title:e.name})})]})})]},t))})]})})]})},j=e=>{let{highlights:t,menuDescription:n,dishes:o,definitions:a,photos:l}=e;return(0,r.jsxs)(i.Z,{children:[t&&(0,r.jsx)(h,{highlights:t,definitions:a,photos:l}),n&&(0,r.jsx)(Z,{menuDescription:n,dishes:o})]})};var v=j},9495:function(e,t,n){n.d(t,{Z:function(){return p}});var r=n(85893),i=n(67294),o=n(88438),a=n(23831),l=n(18463),s=n(85518),c=n(86631),d=function(e){let[t,n]=(0,i.useState)(1);return(0,i.useEffect)(()=>{if(!e)return;let t=!0;return a.Z.getSize(e,(e,r)=>{t&&n(e/r)}),()=>{t=!1}},[e]),t};let h=e=>{let{pic:t,activePic:n}=e,h=d(t),[p,u]=(0,i.useState)(!0),g=()=>{u(!1)};return t?s.tq?(0,r.jsx)(o.Z,{children:(0,r.jsx)(c.Z,{open:p,onClose:g,fullWidth:!0,maxWidth:"lg",PaperProps:{style:{overflow:"hidden"}},children:(0,r.jsx)(a.Z,{source:{uri:t},style:{width:"100%",aspectRatio:h}})})}):(0,r.jsx)(l.Z,{style:{padding:10,borderRadius:20,marginLeft:20,zIndex:99},children:(0,r.jsx)(a.Z,{source:{uri:t},style:{width:450,aspectRatio:h,borderRadius:20}})}):null};var p=h},53890:function(e,t,n){n.d(t,{Z:function(){return j}});var r=n(85893),i=n(67294),o=n(71724),a=n(78322),l=n(40408),s=n(90698),c=n(52387),d=n(41120),h=n(9495),p=n(88438),u=n(22318),g=n(55517),x=n(18463);let m=e=>{let{definition:t,word:n}=e;return(0,r.jsx)(p.Z,{style:{margin:5},children:(0,r.jsxs)(x.Z,{style:{padding:10,borderRadius:20,maxWidth:300,zIndex:10},children:[(0,r.jsx)(u.Z,{variant:"overline",children:n}),(0,r.jsx)(g.Z,{style:{marginLeft:20,marginRight:20,marginBottom:5}}),(0,r.jsx)(u.Z,{variant:"body2",children:t})]})})},b=(0,d.Z)(e=>({popover:{pointerEvents:"none",maxHeight:"80vh"},paper:{padding:e.spacing(.25),borderRadius:20,backgroundColor:"transparent",boxShadow:"none"}})),f=e=>{let{text:t,photos:n=[],definitions:o=[]}=e,a=n&&n.find(e=>e.caption&&e.caption.toLowerCase()==t.toLowerCase())?n.find(e=>e.caption&&e.caption.toLowerCase()==t.toLowerCase()).url:null,l=o?o.find(e=>e.word.toLowerCase()==t.toLowerCase()):null,[s,d]=(0,i.useState)(null),p=b(),[u,g]=(0,i.useState)({vertical:"top",horizontal:"left"}),x=(0,i.useRef)(null);(0,i.useEffect)(()=>{if(s&&x.current){let e=window.innerHeight,{top:t,bottom:n}=x.current.getBoundingClientRect(),r=(t+n)/2/e*100;r<40?g({vertical:"top",horizontal:"left"}):r>60?g({vertical:"bottom",horizontal:"left"}):g({vertical:"center",horizontal:"left"})}},[s]);let f=e=>{(l||a)&&d(e.currentTarget)},Z=()=>{d(null)};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{onMouseEnter:f,onMouseLeave:Z,id:t,ref:x,children:t}),(a||l)&&(0,r.jsx)(c.ZP,{id:"mouse-over-popover",className:p.popover,open:!!s,anchorEl:s,classes:{paper:p.paper},anchorOrigin:{vertical:"middle",horizontal:"right"},transformOrigin:u,onClose:Z,disableRestoreFocus:!0,children:a?(0,r.jsx)(h.Z,{pic:a}):l?(0,r.jsx)(m,{definition:l.definition,word:t}):null})]})},Z=e=>{let{children:t,navigation:n,highlights:i=[],onHoverText:c,onPressText:d,photos:h,useParagraphFont:p,big:u,bigFirstSentence:g,definitions:x=[],skinny:m}=e,b={url:{color:"web"==o.Z.OS?"blue":"#5AC8FA"},email:{color:"blue"},italic:{fontStyle:"italic"},underline:{textDecorationLine:"underline",color:"rgb(18, 78, 157)"},bold:{fontWeight:"bold",fontFamily:p?"Poppins_700Bold":"inherit"},removeTrail:{color:"inherit"},highlight:{backgroundColor:"orange",padding:2,borderRadius:5,color:"white"},paragraph:{fontFamily:"Poppins_400Regular",fontSize:14,letterSpacing:.25,lineHeight:20,marginVertical:2},bigFirst:{fontSize:g?"1.3rem":"inherit"}},Z=e=>c?(0,r.jsx)("span",{children:(0,r.jsx)(f,{photos:h,text:(0,s.parse)(e).text,definitions:x||void 0})}):(0,s.parse)(e).text,j=e=>{let t=e.match(/href="([^"]*")/g).pop(),r=t.match(/\"(.*?)\"/),i=r[0][1];if(t.includes("/spots/")){if("web"==o.Z.OS)window.open(t.match(/"(.*?)"/).pop(),"blank");else{let e=t.split("/").pop();n.push("IndividualVenue",{name:e.slice(0,-1).replace("_"," ")})}}else"/"==i&&t.includes("/specials")?"web"==o.Z.OS?window.open(t.match(/"(.*?)"/).pop(),"blank"):n.navigate("Big List"):"web"==o.Z.OS&&t.match(/"(.*?)"/).pop().toLowerCase().includes("drinkersedition")?window.open(t.match(/"(.*?)"/).pop(),"blank"):a.Z.openURL(t.match(/"(.*?)"/).pop())},v=p?[{pattern:/<i>(.|\n)*?<\/i>/,style:b.italic,renderText:Z},{pattern:/<b>(.|\n)*?<\/b>/,style:b.bold,renderText:Z},{pattern:/<strong>(.|\n)*?<\/strong>/,style:b.bold,renderText:Z},{pattern:/<a[^>]*>([^<]+)<\/a>/,style:b.url,renderText:Z,onPress:j},{pattern:/&lt;a[^>]*>([^<]+)&gt;/,style:b.url,renderText:Z,onPress:j},{pattern:/.*/,style:b.paragraph}]:[...i.map(e=>({pattern:new RegExp("".concat(e.replace(/\*/g,""))),style:b.highlight,renderText:Z})),...x.map(e=>({pattern:RegExp(e.word,"i"),style:b.underline,renderText:Z})),{pattern:/<b>(.|\n)*?<\/b>/,style:b.bold,renderText:Z},{pattern:/(.|\n)*?<\/b>/,style:b.removeTrail,renderText:Z},{pattern:/<i>(.|\n)*?<\/i>/,style:b.italic,renderText:Z},{pattern:/<strong>(.|\n)*?<\/strong>/,style:b.bold,renderText:Z},{pattern:/<a[^>]*>([^<]+)<\/a>/,style:b.url,renderText:Z,onPress:j},{pattern:/&lt;a[^>]*>([^<]+)&gt;/,style:b.url,renderText:Z,onPress:j},{pattern:/^([^.|?|!]+)/,style:b.bigFirst,renderText:Z}];return(0,r.jsx)(l.Z,{parse:v,style:"web"==o.Z.OS?{fontFamily:"Poppins",fontSize:u?"1.2rem":"1rem",fontWeight:400,lineHeight:1.5}:null,children:t})};var j=Z}}]);