PageSourceSearch

https://webtunes.com/_next/static/chunks/pages/venues/[internalLink]-10fdb9aee15371a1.js

js webtunes.com collected 2026-10-08 15:21:00 UTC 40,029 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[591],{2600:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/venues/[internalLink]",function(){return n(80896)}])},32602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let o=n(20567),r=n(14932);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return d},noSSR:function(){return s}});let a=n(38754);n(85893),n(67294);let l=a._(n(35491));function i(e){return{default:(null==e?void 0:e.default)||e}}function s(e,t){return delete t.webpack,delete t.modules,e(t)}function d(e,t){let n=l.default,a={loading:e=>{let{error:t,isLoading:n,pastDelay:o}=e;return null}};e instanceof Promise?a.loader=()=>e:"function"==typeof e?a.loader=e:"object"==typeof e&&(a=o._({},a,e));let d=(a=o._({},a,t)).loader;return(a.loadableGenerated&&(a=o._({},a,a.loadableGenerated),delete a.loadableGenerated),"boolean"!=typeof a.ssr||a.ssr)?n(r._(o._({},a),{loader:()=>null!=d?d().then(i):Promise.resolve(i(()=>null))})):(delete a.webpack,delete a.modules,s(n,a))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1159:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return o}});let o=n(38754)._(n(67294)).default.createContext(null)},35491:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let o=n(20567),r=n(14932);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let a=n(38754)._(n(67294)),l=n(1159),i=[],s=[],d=!1;function u(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=o._(r._(o._({},this._state),{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading}),e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function h(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function r(){if(!o){let t=new c(e,n);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!d){let e=n.webpack?n.webpack():n.modules;e&&s.push(t=>{for(let n of e)if(t.includes(n))return r()})}function i(e,t){!function(){r();let e=a.default.useContext(l.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let i=a.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),a.default.useMemo(()=>{var t;return i.loading||i.error?a.default.createElement(n.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:o.retry}):i.loaded?a.default.createElement((t=i.loaded)&&t.default?t.default:t,e):null},[e,i])}return i.preload=()=>r(),i.displayName="LoadableComponent",a.default.forwardRef(i)}(u,e)}function m(e,t){let n=[];for(;e.length;){let o=e.pop();n.push(o(t))}return Promise.all(n).then(()=>
1{if(e.length)return m(e,t)})}h.preloadAll=()=>new Promise((e,t)=>{m(i).then(e,t)}),h.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(d=!0,t());m(s,e).then(n,n)})),window.__NEXT_PRELOADREADY=h.preloadReady;let p=h},95492:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var o=n(85893),r=n(67294),a=n(13771),l=n(60990),i=n(96788);let s=[{emoji:"\uD83E\uDE91",label:"Lightweight beach chair",url:"https://amzn.to/4tEsznM"},{emoji:"☂️",label:"Beach umbrella (shade for daytime sets)",url:"https://amzn.to/41pPEig"},{emoji:"\uD83C\uDFD6️",label:"Beach blanket (lawn seating or groups)",url:"https://amzn.to/3Q0ufJW"},{emoji:"\uD83E\uDD9F",label:"Bug spray (essential for night shows near water)",url:"https://amzn.to/3Q5B252"},{emoji:"\uD83C\uDF2C️",label:"Portable neck fan (hot summer days)",url:"https://amzn.to/3NWBAK1"}];function d(e){let{forecastHigh:t=null}=e,[n,d]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let e=new Date().getMonth();if(e>=3&&e<=8){d(!0);return}if(null!==t){t>=70&&d(!0);return}(0,a.O)(40.6776,-73.4179).then(e=>{var t,n;let o=null==e?void 0:null===(n=e.daily)||void 0===n?void 0:null===(t=n.temperature_2m_max)||void 0===t?void 0:t[0];"number"==typeof o&&o>=70&&d(!0)}).catch(()=>{})},[t]),n)?(0,o.jsxs)(l.Z,{sx:{backgroundColor:"#f0f7f4",border:"1px solid #c8e6c9",borderRadius:2,px:{xs:2,md:2.5},py:1.75,mb:3},children:[(0,o.jsx)(i.Z,{variant:"body2",sx:{fontWeight:700,fontSize:"0.88rem",mb:1.25,color:"#1b5e20"},children:"\uD83C\uDF05 Heading to an outdoor show? Here’s what to bring:"}),(0,o.jsxs)(l.Z,{component:"ul",sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},flexWrap:"wrap",gap:{xs:.75,sm:1.5},listStyle:"none",p:0,m:0,alignItems:{sm:"center"}},children:[s.map(e=>{let{emoji:t,label:n,url:r}=e;return(0,o.jsx)(l.Z,{component:"li",sx:{flexShrink:0},children:(0,o.jsxs)(l.Z,{component:"a",href:r,target:"_blank",rel:"nofollow sponsored noopener",sx:{display:"inline-flex",alignItems:"center",gap:.5,fontSize:"0.82rem",color:"#1b5e20",textDecoration:"none",fontWeight:500,"&:hover":{textDecoration:"underline",color:"#2e7d32"}},children:[(0,o.jsx)("span",{children:t}),(0,o.jsx)("span",{children:n})]})},r)}),(0,o.jsx)(l.Z,{component:"li","aria-hidden":"true",sx:{display:{xs:"none",sm:"block"},color:"#81c784",flexShrink:0},children:"\xb7"}),(0,o.jsx)(l.Z,{component:"li",sx:{flexShrink:0},children:(0,o.jsx)(l.Z,{component:"a",href:"https://amzn.to/4tFyYiL",target:"_blank",rel:"nofollow sponsored noopener",sx:{display:"inline-flex",alignItems:"center",gap:.5,fontSize:"0.82rem",color:"#1565c0",textDecoration:"none",fontWeight:600,"&:hover":{textDecoration:"underline"}},children:"\uD83D\uDC49 See more beach gear →"})})]})]}):null}},9493:function(e,t,n){"use strict";var o=n(20567),r=n(14932),a=n(85893),l=n(67294);t.Z=function(e){var t;let{links:n,size:i="96",containerSize:s}=e,[d,u]=(0,l.useState)({});return(0,a.jsx)("div",{className:"social-media-links",children:null==n?void 0:null===(t=n.filter(e=>"image"!==e.linkname))||void 0===t?void 0:t.map((e,t)=>{var n;return(0,a.jsx)("a",{href:(n=e.url||e.value,/^https?:\/\//i.test(n)?n:"https://www.".concat(n)),target:"_blank",rel:"noopener noreferrer",children:d[t]?(0,a.jsx)("span",{children:e.linkname}):(0,a.jsx)("img",{style:{height:"".concat(s||i,"px")},src:"/logos/".concat(e.linkname.toLowerCase().replace(/\s+/g,"-"),"-").concat(i,".png"),alt:e.linkname,onError:()=>{u(e=>(0,r._)((0,o._)({},e),{[t]:!0}))}})},t)})})}},13771:function(e,t,n){"use strict";async function o(e,t,n){let o=parseFloat(e),r=parseFloat(t);if(isNaN(o)||isNaN(r))throw Error("fetchNWSWeather: invalid coordinates lat=".concat(e," lon=").concat(t));let a="/api/weather?lat=".concat(o.toFixed(4),"&lon=").concat(r.toFixed(4)),l=await fetch(a,n?{signal:n}:void 0);if(!l.ok)throw Error("Weather API ".concat(l.status));return l.json()}n.d(t,{O:function(){return o}})},80896:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return H},default:function(){return G}});var o=n(20567),r=n(14932),a=n(85893),l=n(67294),i=n(11163),s=n(41664),d=n.n(s),u=n(5152),c=n.n(u),h=n(60990),m=n(96788),p=n(84677),f=n(81873),v=n(10018),x=n(65806),g=n(12166);n(86441);var b=n(65664),y=n(9493),_=n(72212),w=n(62352),j=n(75435),D=n(39828),k=n(9008),C=n.n(k),E=n(79177);let S=e=>e?(0,E.Y6)(e)||e:null,Z=e=>{if(!e)return null;if("number"==typeof e.latitude&&"number"==typeof e.longitude)return{lat:e.latitude,lng:e.longitude};if("number"==typeof e.lat&&("number"==typeof e.lng||"number"==typeof e.lon)){var t;return{lat:Number(e.lat),lng:Number(null!==(t=e.lng)&&void 0!==t?t:e.lon)}}return null},P=e=>{try{if(!e)return null;let t="string"==typeof e?new Date(e):e.toDate?e.toDate():new Date(e),n=t.getTimezoneOffset(),o=n>0?"-":"+",r=e=>
1"".concat(Math.floor(Math.abs(e))).padStart(2,"0"),a=r(Math.floor(Math.abs(n)/60)),l=r(Math.abs(n)%60),i=new Date(t.getTime()-6e4*n).toISOString().slice(0,19);return"".concat(i).concat(o).concat(a,":").concat(l)}catch(e){return null}},F=(e,t,n)=>{var a;let l="https://webtunes.com/venues/".concat(n),i=(null==e?void 0:e.venue_name)||"Venue",s={"@type":"PostalAddress",streetAddress:(null==e?void 0:e.address1)||"",addressLocality:(null==e?void 0:e.venue_city)||"",addressRegion:(null==e?void 0:e.venue_state)||"",postalCode:(null==e?void 0:e.VENUE_ZIP)||"",addressCountry:"US"},d=[...Array.isArray(null==e?void 0:e.socialMediaLinks)?e.socialMediaLinks.map(e=>"string"==typeof e?e:null==e?void 0:e.url).filter(Boolean):[],...(null==e?void 0:e.placeId)?["https://maps.google.com/?cid=".concat(e.placeId)]:[]],u=(0,o._)({"@context":"https://schema.org","@type":"MusicVenue",name:i,url:l,image:(null==e?void 0:e.imageUrl)||"https://webtunes.com/images/random/defaultband.jpg",address:s},(null==e?void 0:e.lat)&&(null==e?void 0:e.lon)?{geo:{"@type":"GeoCoordinates",latitude:e.lat,longitude:e.lon}}:{},(null==e?void 0:null===(a=e.description)||void 0===a?void 0:a.trim())?{description:e.description.trim()}:{},d.length?{sameAs:d}:{}),c=(t||[]).map(t=>{var n,a,d,u;let c=P(t.main_date);if(!c)return null;let h=(null==t?void 0:null===(a=t.bands)||void 0===a?void 0:null===(n=a[0])||void 0===n?void 0:n.bandname)||(null==t?void 0:t.title)||"Performer",m=(null==t?void 0:null===(u=t.bands)||void 0===u?void 0:null===(d=u[0])||void 0===d?void 0:d.internallink)?"https://webtunes.com/bands/".concat(t.bands[0].internallink):void 0;return(0,r._)((0,o._)((0,r._)((0,o._)((0,r._)((0,o._)({"@type":"MusicEvent",name:t.title||"".concat(h," at ").concat(i),startDate:c},t.end_date?{endDate:P(t.end_date)}:{}),{eventStatus:"https://schema.org/EventScheduled",eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",location:{"@type":"MusicVenue",name:i,address:s}}),t.imageUrl?{image:t.imageUrl}:{image:"https://webtunes.com/images/random/defaultband.jpg"},t.eventdescription?{description:t.eventdescription}:{}),{organizer:{"@type":"Organization",name:i,url:(null==e?void 0:e.venue_url)||l}}),h?{performer:(0,o._)({"@type":"MusicGroup",name:h},m?{url:m}:{})}:{},t.ticket_url?{offers:{"@type":"Offer",url:t.ticket_url,availability:"https://schema.org/InStock"}}:{}),{url:"https://webtunes.com/events/".concat(t.id)})}).filter(Boolean);return{venueSchema:u,itemListSchema:c.length>0?{"@context":"https://schema.org","@type":"ItemList",name:"Upcoming events at ".concat(i),itemListElement:c.map((e,t)=>({"@type":"ListItem",position:t+1,item:e}))}:null,breadcrumbs:{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://webtunes.com/"},{"@type":"ListItem",position:2,name:"Venues",item:"https://webtunes.com/venues"},{"@type":"ListItem",position:3,name:i,item:l}]}}};var M=n(54996),W=n(95492),L=n(97578),I=n(13771),O=n(55361);c()(()=>Promise.all([n.e(8573),n.e(1188)]).then(n.bind(n,71188)),{loadableGenerated:{webpack:()=>[71188]},ssr:!1});let N=c()(()=>n.e(1238).then(n.bind(n,11238)),{loadableGenerated:{webpack:()=>[11238]},ssr:!1}),A={attr_beach:{backgroundColor:"#FFF3C4",color:"#1a1a1a"},attr_waterfront:{backgroundColor:"#DBEAFE",color:"#1a1a1a"},attr_outdoor_patio:{backgroundColor:"#FEF9C3",color:"#1a1a1a"},attr_outdoor_events:{backgroundColor:"#DCFCE7",color:"#1a1a1a"},attr_dinner_entertainment:{backgroundColor:"#EDE9FE",color:"#1a1a1a"},attr_vineyard:{backgroundColor:"#FCE7F3",color:"#1a1a1a"}},R={126:"romilos",576:"brewers",1932:"rockwell-brewery",219:"office",1142:"rumorreel",1406:"seasiderest",1150:"seasalt",1687:"fadeleys",317:"taproom-farmingdale",306:"ramsheadtavern",520:"stan-joes-saloon"},T=[{label:"Venue",name:"venue_name",sortable:!0},{label:"Address",name:"address1"},{label:"City",name:"venue_city"}],z={skip:0,take:20},B=e=>{if(!(null==e?void 0:e.venue_city))return{url:"/events",label:"Events"};let t=String(e.venue_city).toLowerCase(),n=String(e.venue_state||"").toUpperCase();return["new york","brooklyn","queens","bronx","staten island"].includes(t)?{url:"/events/new-yor
1k-city",label:"NYC Events"}:"baltimore"===t?{url:"/events/baltimore",label:"Baltimore Events"}:"annapolis"===t?{url:"/events/annapolis",label:"Annapolis Events"}:"ocean city"===t&&"MD"===n?{url:"/events/ocean-city-md",label:"Ocean City Events"}:"rehoboth beach"===t&&"DE"===n?{url:"/events/rehoboth-beach-de",label:"Rehoboth Beach Events"}:"lewes"===t&&"DE"===n?{url:"/events/lewes-de",label:"Lewes Events"}:"NY"===n&&(t.includes("island")||t.includes("long"))?{url:"/events/long-island",label:"Long Island Events"}:{url:"/events",label:"Events"}};function V(e){let{title:t,bodyLines:n,ctaLabel:o}=e,[r,i]=l.useState(""),[s,d]=l.useState(null),[u,c]=l.useState(!1),f=async e=>{e.preventDefault(),c(!0);try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:r})});d(e.ok?"success":"error")}catch(e){d("error")}finally{c(!1)}};return(0,a.jsxs)(h.Z,{sx:{mb:3,p:2.5,borderRadius:2,border:"1.5px solid #fbbf24",backgroundColor:"#fffbeb",boxShadow:"0 1px 4px rgba(0,0,0,0.07)"},children:[(0,a.jsx)(m.Z,{variant:"subtitle1",sx:{fontWeight:700,mb:1},children:t}),n.map((e,t)=>(0,a.jsx)(m.Z,{variant:"body2",sx:{color:"text.secondary",mb:.5},children:e},t)),"success"===s?(0,a.jsx)(m.Z,{variant:"body2",sx:{mt:1.5,color:"success.main",fontWeight:600},children:"You're on the list — we'll email you the moment it's announced."}):(0,a.jsxs)(h.Z,{component:"form",onSubmit:f,sx:{mt:1.5,display:"flex",gap:1,flexWrap:"wrap"},children:[(0,a.jsx)("input",{type:"email",required:!0,placeholder:"[email protected]",value:r,onChange:e=>i(e.target.value),style:{flex:"1 1 200px",padding:"8px 12px",borderRadius:6,border:"1px solid #d1d5db",fontSize:14,outline:"none"}}),(0,a.jsx)(p.Z,{type:"submit",variant:"contained",size:"small",disabled:u,sx:{fontWeight:600,whiteSpace:"nowrap"},children:u?"…":o||"Notify me"})]}),"error"===s&&(0,a.jsx)(m.Z,{variant:"caption",sx:{color:"error.main",mt:.5,display:"block"},children:"Something went wrong — please try again."})]})}let U=e=>{var t,n,s;let{venue:u,events:c,internalLink:k,canonicalSlug:E,nearbyVenues:P=[],nearbyIndoor:U=[]}=e,[H,G]=(0,l.useState)(!1),[J,Y]=(0,l.useState)(null),[q,X]=(0,l.useState)(!1),K=(0,i.useRouter)(),Q=K.asPath,$="https://webtunes.com/venues/".concat(E);(0,l.useEffect)(()=>{if(K.isReady&&k&&R[k]){let e=R[k];K.replace("/venues/".concat(e),void 0,{shallow:!1});return}},[K.isReady,k]);let[ee,et]=(0,l.useState)({showPastEvents:!1,allEvents:null!=c?c:[],loading:!1,currentPage:0,pagination:z});(0,l.useEffect)(()=>G(!0),[]),(0,l.useEffect)(()=>{(null==u?void 0:u.venue_name)&&E&&(0,O.P)({url:"/venues/".concat(E),label:u.venue_name,type:"venue"})},[E]),(0,l.useEffect)(()=>{var e,t;let n=E||k;console.log("[Firestore][VenuePage] /venues/".concat(n," — page visit summary:\n")+"  • Venue + events data: served from SSG/ISR (0 Firestore reads this visit)\n"+"  • Upcoming events pre-loaded by getStaticProps: ".concat(null!==(e=null==c?void 0:c.length)&&void 0!==e?e:0," event doc(s)\n")+"  • Nearby venues: pre-loaded in getStaticProps (".concat(null!==(t=null==P?void 0:P.length)&&void 0!==t?t:0," venue(s), 0 client reads)\n")+'  • fetchPastEvents: 0 reads until "Show Past Events" is clicked')},[E]),(0,l.useEffect)(()=>{if(!((null==u?void 0:u.attr_beach)||(null==u?void 0:u.attr_waterfront)||(null==u?void 0:u.attr_outdoor_events)||(null==u?void 0:u.attr_outdoor_patio)||(null==u?void 0:u.attr_vineyard)))return;let e=null==u?void 0:u.lat,t=null==u?void 0:u.lon;e&&t&&(0,I.O)(e,t).then(e=>Y(e)).catch(()=>{})},[null==u?void 0:u.id]),(0,l.useEffect)(()=>{et({showPastEvents:!1,allEvents:null!=c?c:[],loading:!1,currentPage:0,pagination:z})},[c,null==u?void 0:u.id]);let en=(0,L.nf)({storagePath:(null==u?void 0:u.imagePath)||(null==u?void 0:u.storagePath),imageUrl:null==u?void 0:u.imageUrl,fallback:null}),eo=(0,L.Ni)({storagePath:(null==u?void 0:u.imagePath)||(null==u?void 0:u.storagePath),imageUrl:null==u?void 0:u.imageUrl,fallback:null}),er=(()=>{let e=new URLSearchParams;e.set("name",(null==u?void 0:u.venue_name)||""),e.set("city",(null==u?void 0:u.venue_city)||""),e.set("state",(null==u?void 0:u.venue_state)||""),(null==u?void 0:u.lat)&&e.set("lat",u.lat),(null==u?void 0:u.lon)&&e.set("lon",u.lon);let t=null==c?void 0:c[0];
1if((null==t?void 0:t.title)&&(e.set("event",t.title),t.main_date)){let n=new Date(t.main_date);e.set("eventDate",n.toLocaleDateString("en-US",{month:"short",day:"numeric"}))}return"".concat("https://webtunes.com/api/og/venue","?").concat(e.toString())})(),ea=(()=>{var e;if(null==u?void 0:u.seo_description)return u.seo_description;let t=(null==u?void 0:u.venue_name)||"Venue",n="".concat((null==u?void 0:u.venue_city)||"",", ").concat((null==u?void 0:u.venue_state)||""),o=null!==(e=null==c?void 0:c.length)&&void 0!==e?e:0,r=[];for(let e of(c||[]).slice(0,6)){for(let t of e.bands||[]){let e=(t.bandname||"").trim();if(e&&!r.includes(e)&&r.push(e),r.length>=3)break}if(r.length>=3)break}if(o>=10){let e="".concat(o," upcoming concerts at ").concat(t," in ").concat(n," — live music updated daily.");if(r.length>=2){let t=r.slice(0,2).join(", "),n="".concat(e," ").concat(t," and more performing soon.");if(n.length<=155)return n}return e.length<=155?e:e.slice(0,154)+"…"}if(o>=3){let e="Upcoming live music at ".concat(t," in ").concat(n,". See the full schedule of concerts and shows — updated daily on Webtunes.");return e.length<=155?e:e.slice(0,154)+"…"}let a="Live music schedule for ".concat(t," in ").concat(n,". Browse upcoming events and concerts on Webtunes.");return a.length<=155?a:a.slice(0,154)+"…"})(),el=(()=>{if(null==u?void 0:u.seo_title)return u.seo_title;let e=(null==u?void 0:u.venue_name)||"Venue",t="".concat((null==u?void 0:u.venue_city)||"",", ").concat((null==u?void 0:u.venue_state)||"");return"".concat(e," Live Music & Event Schedule | ").concat(t," | Webtunes")})(),ei=(()=>{if(null==u?void 0:u.seo_title)return u.seo_title;let e=(null==u?void 0:u.venue_name)||"Venue";return"".concat(e," — Live Music & Event Schedule | Webtunes")})(),{venueSchema:es,itemListSchema:ed,breadcrumbs:eu}=F(u,c,E),ec=(0,a.jsxs)(C(),{children:[(0,a.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,a.jsx)("title",{children:el}),(0,a.jsx)("meta",{name:"description",content:ea},"description"),(0,a.jsx)("link",{rel:"canonical",href:$}),(0,a.jsx)("meta",{property:"og:url",content:$},"og:url"),(0,a.jsx)("meta",{property:"og:title",content:ei},"og:title"),(0,a.jsx)("meta",{property:"og:description",content:ea},"og:description"),(0,a.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,a.jsx)("meta",{property:"og:image",content:er},"og:image"),(0,a.jsx)("meta",{property:"og:image:width",content:"1200"},"og:image:width"),(0,a.jsx)("meta",{property:"og:image:height",content:"630"},"og:image:height"),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitter:card"),(0,a.jsx)("meta",{name:"twitter:title",content:ei},"twitter:title"),(0,a.jsx)("meta",{name:"twitter:description",content:ea},"twitter:description"),(0,a.jsx)("meta",{name:"twitter:image",content:er},"twitter:image"),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(es)}}),ed&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(ed)}}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(eu)}})]});if(!H)return(0,a.jsxs)(a.Fragment,{children:[ec,(0,a.jsx)("div",{children:"Loading..."})]});let eh=async()=>{et(e=>(0,r._)((0,o._)({},e),{loading:!0}));try{let e=(0,D.hJ)(j.db,"events"),t=new Date,n=(0,D.IO)(e,(0,D.ar)("venue","==",u.id),(0,D.ar)("main_date","<",D.EK.fromDate(t)),(0,D.Xo)("main_date","desc"),(0,D.b9)(50)),a=await (0,D.PL)(n);console.log("[Firestore][fetchPastEvents] /venues/".concat(E," — ").concat(a.docs.length," past event doc(s) read"));let l=a.docs.map(e=>(0,o._)({id:e.id},function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakSet;if(null==t)return t;if("function"==typeof t.toDate||(null==t?void 0:t._seconds))return S(t);if("number"==typeof t.latitude&&"number"==typeof t.longitude)return Z(t);if(Array.isArray(t)){if(n.has(t))return;return n.add(t),t.map(t=>e(t,n))}if("object"==typeof t){if(n.has(t))return;n.add(t);let o={};for(let[r,a]of Object.entries(t))"embedding"!==r&&"embeddingText"!==r&&"venueRef"!==r&&"_firestore"!==r&&"_converter"!==r&&"_ref"!==r&&"ref"!==r&&"parent"!==r&&("main_date"===r||"modifieddate"===r||"embeddingUpdatedAt"===r?o[r]=S(a):"geopoint"===r||"coordinates"===r?o[r]=Z(a):o[r]=e(a,n));return o}return t}(e.data())));et(e=>(0,r._)((0,o._)({},e),{allEvents:l,loading:!1,currentPage:0,pagination:z}))}catch(e){console.error("Error fetching past events:",e),et(e=>(0,r._)((0,o._)({},e),{loading:!1}))}},em=B(u),ep=encodeURIComponent("".concat((null==u?void 0:u.venue_name)||""," ").concat((null==u?void 0:u.address1)||""," ").concat((null==u?void 0:u.venue_city)||""," ").concat((null==u?void 0:u.venue_state)||""," ").concat((null==u?void 0:u.VENUE_ZIP)||""));return(0,a.jsxs)(a.Fragment,{children:[ec,(0,a.jsx)(h.Z,{sx:{backgroundColor:"#f3f4f6",minHeight:"100vh",py:4},children:(0,a.jsxs)(h.Z,{sx:{maxWidth:1100,mx:"auto",px:{xs:2,md:0}},children:[(0,a.jsxs)(h.Z,{sx:{mb:2,display:"flex",alignItems:"center",gap:1,flexWrap:"wrap"},children:[(0,a.jsx)(d(),{href:"/",style:{textDecoration:"none",color:"#1976d2"},children:"Home"}),(0,a.jsx)("span",{children:"/"}),(0,a.jsx)(d(),{href:em.url,style:{textDecoration:"none",color:"#1976d2"},children:em.label}),(0,a.jsx)("span",{children:"/"}),(0,a.jsx)(m.Z,{variant:"body2",sx:{fontWeight:600,maxWidth:"100%"},children:null==u?void 0:u.venue_name})]}),(0,a.jsx)(h.Z,{sx:{mb:3,display:"flex",alignItems:"center",gap:2},children:(0,a.jsx)(p.Z,{onClick:()=>K.back(),variant:"outlined",size:"small",sx:{textTransform:"none"},children:"Back"})}),(0,a.jsxs)(h.Z,{sx:{mb:4,p:{xs:3,md:4},borderRadius:2,background:"linear-gradient(135deg, #334e65, #446b87)",color:"white",display:"flex",flexDirection:{xs:"column",md:"row"},gap:3},children:[(eo||en)&&(0,a.jsx)(h.Z,{component:"img",src:eo||en,alt:"".concat(u.venue_name," photo"),sx:{width:{xs:"100%",md:260},height:{xs:180,md:200},objectFit:"cover",borderRadius:1.5,flexShrink:0}}),(0,a.jsxs)(h.Z,{sx:{flex:1,minWidth:0},children:[(0,a.jsx)(m.Z,{component:"h1",variant:"h3",sx:{fontWeight:700,mb:1,fontSize:{xs:"1.9rem",md:"2.3rem"}},children:null==u?void 0:u.venue_name}),(0,a.jsxs)(m.Z,{sx:{mb:1},children:[null==u?void 0:u.venue_city,", ",null==u?void 0:u.venue_state," ",null==u?void 0:u.VENUE_ZIP]}),(null==u?void 0:u.description)&&(0,a.jsx)(m.Z,{variant:"body2",sx:{mb:2,maxWidth:"40rem",lineHeight:1.6,whiteSpace:"pre-wrap"},children:u.description}),(()=>{let e=[{key:"attr_beach",label:"\uD83C\uDFD6️ Beach"},{key:"attr_waterfront",label:"\uD83C\uDF0A Waterfront"},{key:"attr_outdoor_patio",label:"☀️ Outdoor Patio"},{key:"attr_outdoor_events",label:"\uD83C\uDF3F Outdoor Events"},{key:"attr_dinner_entertainment",label:"\uD83C\uDF7D️ Dinner Entertainment"},{key:"attr_vineyard",label:"\uD83C\uDF77 Vineyard"}].filter(e=>{let{key:t}=e;return null==u?void 0:u[t]});return e.length?(0,a.jsx)(h.Z,{sx:{display:"flex",flexWrap:"wrap",gap:.75,mb:2},children:e.map(e=>{let{key:t,label:n}=e;return(0,a.jsx)(f.Z,{label:n,size:"small",sx:(0,o._)({fontSize:"0.78rem",borderRadius:"12px"},A[t])},t)})}):null})(),(()=>{var e,t,n;let o=null==u?void 0:null===(e=u.venue_url)||void 0===e?void 0:e.toLowerCase().includes("facebook.com"),r=null==u?void 0:null===(t=u.socialMediaLinks)||void 0===t?void 0:t.some(e=>{var t;return null===(t=e.url)||void 0===t?void 0:t.toLowerCase().includes("facebook.com")}),l=(null==u?void 0:u.venue_url)&&!(o&&r);return(0,a.jsxs)(h.Z,{sx:{display:"flex",flexWrap:"wrap",gap:1.5,alignItems:"center",mt:1},children:[l&&(0,a.jsx)(p.Z,{component:"a",href:u.venue_url,target:"_blank",rel:"noopener noreferrer",variant:"outlined",size:"small",sx:{color:"white",borderColor:"rgba(255,255,255,0.6)",textTransform:"none","&:hover":{borderColor:"white",backgroundColor:"rgba(255,255,255,0.1)"}},children:"Visit Website"}),(null==u?void 0:null===(n=u.socialMediaLinks)||void 0===n?void 0:n.length)>0&&(0,a.jsx)(h.Z,{sx:{ml:{xs:0,md:1}},children:(0,a.jsx)(y.Z,{size:"48",links:u.socialMediaLinks.filter(e=>e.linkname&&e.url&&"image"!==e.linkname).map(e=>({linkname:e.linkname,url:e.url}))})})]})})()]})]}),(null==u?void 0:u.venue_state)==="NY"&&!["new york","brooklyn","queens","bronx","staten island"].includes(((null==u?void 0:u.venue_city)||"").toLowerCase())&&((null==u?void 0:u.attr_beach)||(null==u?void 0:u.attr_waterfront)||(null==u?void 0:u.attr_outdoor_patio)||(null==u?void 0:u.attr_outdoor_events))&&(0,a.jsx)(h.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:2,mb:3,px:2.5,py:1.5,borderRadius:2,border:"1px solid",borderColor:"info.light",backgroundColor:"rgba(13, 79, 110, 0.06)"},children:(0,a.jsxs)(m.Z,{variant:"body2",sx:{color:"text.secondary"},children:["\uD83C\uDF0A Part of the"," ",(0,a.jsx)(d(),{href:"/events/long-island/outdoors",style:{color:"#1976d2",fontWeight:600},children:"Long Island Outdoor Music Guide"})]})}),((null==u?void 0:u.attr_beach)||(null==u?void 0:u.attr_waterfront))&&!q&&(()=>{let e=function(e){var t;let n=new Date,o=n.getFullYear(),r=n.getMonth(),a=n.getDate(),l=function(e){let t=e%19,n=Math.floor(e/100),o=e%100,r=(19*t+n-Math.floor(n/4)-Math.floor((n-Math.floor((n+8)/25)+1)/3)+15)%30,a=(32+n%4*2+2*Math.floor(o/4)-r-o%4)%7,l=Math.floor((t+11*r+22*a)/451);return new Date(e,Math.floor((r+a-7*l+114)/31)-1,(r+a-7*l+114)%31+1)}(o),i=new Date(o,l.getMonth(),l.getDate()-1);if(l.getMonth(),l.getDate(),r===i.getMonth()&&a>=i.getDate()&&a<=l.getDate())return{type:"holiday",message:"\uD83D\uDC23 Easter weekend brings big crowds to Long Island — expect heavier traffic near beach bars and waterfront venues."};if(4===r){let e=function(e,t){let n=new Date(e,5,0);for(;1!==n.getDay();)n.setDate(n.getDate()-1);return n.getDate()}(o,0);if(a>=e-2&&a<=e)return{type:"holiday",message:"\uD83D\uDE97 Memorial Day weekend traffic is heavy all over Long Island — arrive early or take back roads to your outdoor show."}}if(6===r&&a>=2&&a<=6)return{type:"holiday",message:"\uD83C\uDF86 July 4th weekend brings major crowds to Long Island beaches and waterfront venues — plan extra travel time."};if(8===r){let e=function(e,t){let n=new Date(e,8,1);for(;1!==n.getDay();)n.setDate(n.getDate()+1);return n.getDate()}(o,0);if(a>=e-2&&a<=e)return{type:"holiday",message:"\uD83D\uDEA6 Labor Day weekend draws big crowds to Long Island beach bars — leave early and check traffic before heading out."}}if(3===r&&a>=25&&a<=27)return{type:"carshow",message:"\uD83D\uDE98 The Long Island car show is this weekend — expect extra traffic near Amityville and South Shore outdoor venues. Allow extra time."};let s=n.getDay();if((0===s||6===s)&&(null==e?void 0:null===(t=e.current_weather)||void 0===t?void 0:t.temperature)>=80){let t=Math.round(e.current_weather.temperature);return{type:"heatweekend",message:"☀️ It's ".concat(t,"\xb0F and gorgeous — beach bars and waterfront venues will be packed today. Arrive early for parking.")}}return null}(J);return e?(0,a.jsx)(v.Z,{severity:"warning",onClose:()=>X(!0),sx:{mb:3,borderRadius:2},children:e.message}):null})(),((null==u?void 0:u.attr_beach)||(null==u?void 0:u.attr_waterfront)||(null==u?void 0:u.attr_outdoor_patio)||(null==u?void 0:u.attr_outdoor_events))&&(0,a.jsx)(W.Z,{forecastHigh:null!==(s=null==J?void 0:null===(n=J.hourly)||void 0===n?void 0:null===(t=n.temperature_2m)||void 0===t?void 0:t[12])&&void 0!==s?s:null}),(0,a.jsxs)(h.Z,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"minmax(0, 2fr) minmax(0, 1.4fr)"},gap:3,alignItems:"flex-start"},children:[(0,a.jsxs)(h.Z,{sx:{gridColumn:{md:"1"},gridRow:{md:"1 / -1"}},children:[((null==u?void 0:u.attr_beach)||(null==u?void 0:u.attr_waterfront))&&J&&(()=>{var e,t,n,o;let r=null==J?void 0:null===(e=J.hourly)||void 0===e?void 0:e.temperature_2m,l=(null==J?void 0:null===(t=J.current_weather)||void 0===t?void 0:t.temperature)!=null?Math.round(J.current_weather.temperature):null,i=r?Math.round(r[12]):null,s=r?Math.round(r[20]):null,d=new Date().getHours()>=18,u=d?l:i,c=null!==u?u>
1=75?{emoji:"\uD83D\uDC55",text:"Perfect outdoor music weather right now"}:u>=65?{emoji:"\uD83E\uDDE5",text:"Light jacket recommended"}:u>=55?{emoji:"\uD83E\uDDE5",text:"Bring a warm jacket"}:{emoji:"\uD83E\uDDE5",text:"Bundle up tonight"}:null,p=null!==s?s>=75?{emoji:"\uD83D\uDC55",text:"Still perfect at 8pm"}:s>=65?{emoji:"\uD83E\uDDE5",text:"Bring a light jacket for 8pm"}:s>=55?{emoji:"\uD83E\uDDE5",text:"Warm jacket needed by 8pm"}:{emoji:"\uD83E\uDDE5",text:"Bundle up tonight"}:null,f=p&&!d&&p.text!==(null==c?void 0:c.text),v=null==J?void 0:null===(n=J.hourly)||void 0===n?void 0:n.windspeed_10m,x=v?Math.round(Math.max(...v.slice(12,23))):null,g=null!=x?x>=25?{emoji:"\uD83D\uDCA8",text:"⚠️ High winds expected",detail:"".concat(x,"mph+")}:x>=20?{emoji:"\uD83D\uDCA8",text:"Windy — dress accordingly",detail:"".concat(x,"mph")}:x>=15?{emoji:"\uD83D\uDCA8",text:"Breezy conditions",detail:"".concat(x,"mph")}:null:null,b=null==J?void 0:null===(o=J.hourly)||void 0===o?void 0:o.precipitation_probability,y=(b?Math.max(...b.slice(12,23)):0)>=40||null!=x&&x>=25;return c?(0,a.jsxs)(h.Z,{sx:{mb:2,px:2,py:1.5,borderRadius:2,backgroundColor:"#fff",boxShadow:"0 1px 3px rgba(15,23,42,0.08)"},children:[(0,a.jsxs)(m.Z,{variant:"body2",sx:{fontWeight:600,color:"text.secondary",mb:.5},children:["\uD83C\uDF21️ ",d?"Now: ".concat(u,"\xb0F"):"High: ".concat(i,"\xb0F \xb7 8pm: ").concat(s,"\xb0F")]}),(0,a.jsxs)(m.Z,{variant:"body2",sx:{color:"text.secondary"},children:[c.emoji," ",c.text]}),g&&(0,a.jsxs)(m.Z,{variant:"body2",sx:{color:"text.secondary"},children:[g.emoji," ",g.text," — ",g.detail]}),f&&(0,a.jsxs)(m.Z,{variant:"body2",sx:{color:"text.secondary"},children:[p.emoji," ",p.text]}),y&&(0,a.jsx)(m.Z,{variant:"body2",sx:{color:"text.secondary",mt:.5},children:"\uD83D\uDCDE Check with venue before heading out"})]}):null})(),"jones-beach-bandshell"===E&&(0,a.jsx)(V,{title:"\uD83C\uDFB8 Jones Beach Bandshell 2026",bodyLines:["Browsing past shows? The 2026 summer schedule typically drops in late June.","We’ll post it the moment it’s announced — be the first to know:"],ctaLabel:"Notify me when 2026 schedule drops"}),(0,a.jsx)(x.Z,{control:(0,a.jsx)(g.Z,{checked:ee.showPastEvents,onChange:()=>{let e=!ee.showPastEvents;et(t=>(0,r._)((0,o._)({},t),{showPastEvents:e,currentPage:0,pagination:z})),e?eh():et(e=>(0,r._)((0,o._)({},e),{allEvents:c}))}}),label:"Show Past Events",sx:{mb:1}}),(0,a.jsx)(m.Z,{variant:"h6",sx:{mt:1,mb:2},children:ee.showPastEvents?"Past Events":"Upcoming Events"}),(0,a.jsx)(_.Z,{data:(()=>{let{skip:e,take:t}=ee.pagination;return ee.allEvents.slice(e,e+t)})(),showIndicators:!0,totalCount:ee.allEvents.length,showCompactDesign:!1,showImage:!0,isMainView:!1,setPaginationProps:(e,t)=>et(n=>(0,r._)((0,o._)({},n),{pagination:{skip:e,take:t}})),currentPage:ee.currentPage,setCurrentPage:e=>et(t=>(0,r._)((0,o._)({},t),{currentPage:e})),from:Q,type:"venue",displayMode:"venue-context"}),ee.loading&&(0,a.jsx)(m.Z,{sx:{mt:2},children:"Loading..."})]}),(0,a.jsxs)(h.Z,{sx:{order:{xs:-1,md:0},gridColumn:{md:"2"},gridRow:{md:"1 / -1"},display:"flex",flexDirection:"column",gap:2,position:{md:"sticky"},top:{md:"20px"},alignSelf:{md:"start"},overflowY:"visible"},children:[(0,a.jsxs)(h.Z,{sx:{borderRadius:2,backgroundColor:"#ffffff",boxShadow:"0 1px 3px rgba(15, 23, 42, 0.1)",p:2},children:[(0,a.jsx)(m.Z,{variant:"subtitle1",sx:{mb:1.5,fontWeight:600},children:"Today's Weather"}),(0,a.jsx)(N,{lat:null==u?void 0:u.lat,lon:null==u?void 0:u.lon,isOutdoor:!!((null==u?void 0:u.attr_beach)||(null==u?void 0:u.attr_waterfront)||(null==u?void 0:u.attr_outdoor_patio)||(null==u?void 0:u.attr_outdoor_events))})]}),(0,a.jsxs)(h.Z,{sx:{display:"flex",flexDirection:"column",gap:2},children:[(0,a.jsxs)(h.Z,{sx:{borderRadius:2,backgroundColor:"#ffffff",boxShadow:"0 1px 3px rgba(15, 23, 42, 0.1)",p:2},children:[(0,a.jsx)(m.Z,{variant:"subtitle1",sx:{mb:1,fontWeight:600},children:"Venue Details"}),T.map((e,t)=>(0,a.jsxs)(h.Z,{sx:{mb:.5},children:[(0,a.jsx)(m.Z,{variant:"caption",sx:{fontWeight:600,color:"text.secondary"},children:e.label}),(0,a.jsx)(m.Z,{variant:"body2",children:(null==e?void 0:e.component)?(0,w.kD)(e,u):u[e.name]})]},"".concat(e.name,"-").concat(t))),(0,a.jsx)(h.Z,{sx:{mt:1.5},children:(0,a.jsx)(p.Z,{component:"a",href:"https://www.google.com/maps/search/?api=1&query=".concat(ep),target:"_blank",rel:"noopener noreferrer",size:"small",variant:"outlined",sx:{textTransform:"none"},children:"Open in Google Maps"})})]}),(0,a.jsx)(h.Z,{children:(0,a.jsx)(M.Z,{slot:"6551168657"})}),(0,a.jsxs)(h.Z,{sx:{borderRadius:2,overflow:"hidden",backgroundColor:"#ffffff",boxShadow:"0 1px 3px rgba(15, 23, 42, 0.1)",p:1.5},children:[(0,a.jsx)(m.Z,{variant:"subtitle1",sx:{mb:1,fontWeight:600},children:"Map"}),(0,a.jsx)(b.Z,{markers:[u],centerProp:{lng:null==u?void 0:u.lon,lat:null==u?void 0:u.lat},height:"260px"})]}),(0,a.jsxs)(h.Z,{sx:{borderRadius:2,backgroundColor:"#ffffff",boxShadow:"0 1px 3px rgba(15, 23, 42, 0.1)",p:2,display:"flex",flexDirection:"column",gap:1.5},children:[(0,a.jsx)(m.Z,{variant:"caption",sx:{color:"text.disabled",alignSelf:"flex-end",lineHeight:1},children:"Ad"}),(0,a.jsxs)(h.Z,{sx:{display:"flex",gap:1.5,alignItems:"flex-start"},children:[(0,a.jsx)(h.Z,{component:"a",href:"https://amzn.to/4x11nlD",target:"_blank",rel:"noopener noreferrer sponsored",sx:{flexShrink:0,textDecoration:"none"},children:(0,a.jsx)(h.Z,{component:"img",src:"/images/owala.jpg",alt:"Owala FreeSip Insulated Stainless Steel Water Bottle with Straw",sx:{width:80,height:180,borderRadius:1.5,objectFit:"contain"}})}),(0,a.jsxs)(m.Z,{variant:"body1",sx:{fontWeight:600,color:"text.primary",lineHeight:1.5},children:["Owala FreeSip Insulated Stainless Steel Water Bottle with Straw.",(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),"BPA-Free Sports Water Bottle.",(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),"Great for Travel, 24 Oz, Denim"]})]}),(0,a.jsx)(p.Z,{component:"a",href:"https://amzn.to/4x11nlD",target:"_blank",rel:"noopener noreferrer sponsored",variant:"contained",size:"small",fullWidth:!0,sx:{backgroundColor:"#FF9900",color:"#111",fontWeight:700,textTransform:"none","&:hover":{backgroundColor:"#e68a00"}},children:"Shop on Amazon →"})]})]})]})]}),P.length>0&&(()=>{var e;let t={attr_beach:"\uD83C\uDFD6️ Beach",attr_waterfront:"\uD83C\uDF0A Waterfront",attr_outdoor_events:"\uD83C\uDF3F Outdoor",attr_outdoor_patio:"☀️ Patio",attr_vineyard:"\uD83C\uDF77 Vineyard"},n=new Set(["attr_beach","attr_waterfront","attr_outdoor_events","attr_outdoor_patio","attr_vineyard"].filter(e=>null==u?void 0:u[e])),r=function(e){var t,n;if(!(null==e?void 0:null===(t=e.hourly)||void 0===t?void 0:t.weathercode)||!(null==e?void 0:null===(n=e.hourly)||void 0===n?void 0:n.time))return!1;let o=new Date().toISOString().split("T")[0],r=e.hourly.time.findIndex(e=>e==="".concat(o,"T20:00"));return -1!==r&&e.hourly.weathercode[r]>=51}(J),l=null==J?void 0:null===(e=J.hourly)||void 0===e?void 0:e.windspeed_10m,i=l?Math.round(Math.max(...l.slice(12,23))):0,s=r||i>=25,c=(null==u?void 0:u.venue_name)||"this venue",p=s?"Weather may be rough — call ahead before heading out":(null==u?void 0:u.attr_beach)&&(null==u?void 0:u.attr_waterfront)?"Beach bars and waterfront spots near ".concat(c):(null==u?void 0:u.attr_beach)?"Beach bars near ".concat(c):(null==u?void 0:u.attr_waterfront)?"Waterfront venues near ".concat(c):(null==u?void 0:u.attr_vineyard)?"Vineyards and outdoor venues near ".concat(c):"Outdoor venues near ".concat(c),v=e=>(0,a.jsx)(h.Z,{sx:{display:"grid",gridTemplateColumns:{xs:"repeat(2, 1fr)",sm:"repeat(3, 1fr)",md:"repeat(6, 1fr)"},gap:2},children:e.map((e,r)=>{let l=(e.internallink||"").replace(/\//g,""),i=[...e.attrs.filter(e=>n.has(e)),...e.attrs.filter(e=>!n.has(e))];return(0,a.jsx)(d(),{href:"/venues/".concat(l),style:{textDecoration:"none"},children:(0,a.jsxs)(h.Z,{sx:{borderRadius:2,overflow:"hidden",backgroundColor:"#fff",boxShadow:"0 1px 3px rgba(15,23,42,0.1)",height:"100%",display:"flex",flexDirection:"column",transition:"box-shadow 0.15s","&:hover":{boxShadow:"0 4px 12px rgba(15,23,42,0.15)"}},children:[(0,a.jsxs)(h.Z,{sx:{position:"relative"},children:[e.imageUrl?(0,a.jsx)(h.Z,{component:"img",src:e.imageUrl,alt:e.venue_name,sx:{width:"100%",height:80,objectFit:"cover",display:"block"}}):(0,a.jsx)(h.Z,{sx:{width:"100%",height:80,backgroundColor:"#e5e7eb"}}),0===r&&(0,a.jsx)(h.Z,{sx:{position:"absolute",top:6,left:6,backgroundColor:"#1976d2",color:"#fff",fontSize:"0.6rem",fontWeight:700,px:.75,py:.25,borderRadius:1,lineHeight:1.4},children:"Closest"})]}),(0,a.jsxs)(h.Z,{sx:{p:1.25,flex:1,display:"flex",flexDirection:"column",gap:.5},children:[(0,a.jsx)(m.Z,{variant:"body2",sx:{fontWeight:700,fontSize:"0.78rem",lineHeight:1.3,color:"text.primary"},children:e.venue_name}),(0,a.jsxs)(m.Z,{variant:"caption",sx:{color:"text.secondary"},children:[e.venue_city," \xb7 ",e.distance," mi"]}),e.eventCount>0&&(0,a.jsxs)(m.Z,{variant:"caption",sx:{color:"#1976d2",fontWeight:600},children:[e.eventCount," upcoming ",1===e.eventCount?"event":"events"]}),(0,a.jsx)(h.Z,{sx:{display:"flex",flexWrap:"wrap",gap:.4,mt:.25},children:i.map(e=>(0,a.jsx)(f.Z,{label:t[e],size:"small",sx:(0,o._)({fontSize:"0.65rem",he
1ight:18},A[e])},e))})]})]})},e.id)})});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(h.Z,{sx:{mt:4},children:[(0,a.jsx)(m.Z,{variant:"h6",sx:{mb:.5,fontWeight:700},children:s?"\uD83C\uDF3F Nearby Outdoor Venues":"\uD83C\uDF34 More Places Like This Nearby"}),(0,a.jsx)(m.Z,{variant:"body2",sx:{mb:2,color:"text.secondary"},children:p}),v(P)]}),s&&U.length>0&&(0,a.jsxs)(h.Z,{sx:{mt:4},children:[(0,a.jsx)(m.Z,{variant:"h6",sx:{mb:.5,fontWeight:700},children:"\uD83C\uDFE0 Indoor Venues Nearby"}),(0,a.jsxs)(m.Z,{variant:"body2",sx:{mb:2,color:"text.secondary"},children:[r?"Skip the rain":"Skip the wind"," — indoor music near ",c]}),v(U)]})]})})(),(0,a.jsx)(h.Z,{sx:{mt:4,pt:3,borderTop:"1px solid #e5e7eb",textAlign:"center"},children:(0,a.jsxs)(m.Z,{variant:"body2",sx:{color:"text.secondary"},children:["Is this your venue?"," ",(0,a.jsx)(d(),{href:"/contact?subject=".concat(encodeURIComponent("Venue Update: ".concat((null==u?void 0:u.venue_name)||""))),style:{color:"#1976d2",fontWeight:600},children:"Claim it or update your listing →"})]})})]})})]})};var H=!0;function G(e){return(0,a.jsx)(U,(0,o._)({},e))}},5152:function(e,t,n){e.exports=n(32602)}},function(e){e.O(0,[2634,7018,4642,9190,7249,1165,18,5664,2212,2888,9774,179],function(){return e(e.s=2600)}),_N_E=e.O()}]);
2//# sourceMappingURL=[internalLink]-10fdb9aee15371a1.js.map

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.