1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7695],{53129:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/events",function(){return t(81554)}])},34314:function(e,n,t){"use strict";var i=t(85893);t(67294);var o=t(37958),a=t(60990),l=t(96788),s=t(52857),r=t(64347),d=t(95639);n.Z=function(e){let{open:n,onClose:t,title:c,children:v,loading:u=!1}=e;return(0,i.jsx)(o.ZP,{anchor:"right",open:n,onClose:t,sx:{"& .MuiDrawer-paper":{width:{xs:"90%",md:"60%"},borderTopLeftRadius:"8px"}},children:(0,i.jsxs)(a.Z,{sx:{display:"flex",flexDirection:"column",height:"100%"},children:[(0,i.jsxs)(a.Z,{sx:{background:"linear-gradient(to right, #307fc1, #54c6dbb3)",padding:2,display:"flex",alignItems:"center",justifyContent:"space-between",height:"70px",borderTopLeftRadius:"8px"},children:[(0,i.jsx)(l.Z,{variant:"h5",sx:{fontWeight:"bold",color:"#fff"},children:c}),(0,i.jsx)(s.Z,{onClick:t,children:(0,i.jsx)(d.Z,{sx:{color:"#fff"}})})]}),u?(0,i.jsxs)(a.Z,{width:"100%",children:[(0,i.jsx)(r.Z,{height:100,animation:"wave"}),(0,i.jsx)(r.Z,{height:100,animation:"wave"}),(0,i.jsx)(r.Z,{height:100,animation:"wave"}),(0,i.jsx)(r.Z,{height:100,animation:"wave"}),(0,i.jsx)(r.Z,{height:100,animation:"wave"})]}):v]})})}},9493:function(e,n,t){"use strict";var i=t(20567),o=t(14932),a=t(85893),l=t(67294);n.Z=function(e){var n;let{links:t,size:s="96",containerSize:r}=e,[d,c]=(0,l.useState)({});return(0,a.jsx)("div",{className:"social-media-links",children:null==t?void 0:null===(n=t.filter(e=>"image"!==e.linkname))||void 0===n?void 0:n.map((e,n)=>{var t;return(0,a.jsx)("a",{href:(t=e.url||e.value,/^https?:\/\//i.test(t)?t:"https://www.".concat(t)),target:"_blank",rel:"noopener noreferrer",children:d[n]?(0,a.jsx)("span",{children:e.linkname}):(0,a.jsx)("img",{style:{height:"".concat(r||s,"px")},src:"/logos/".concat(e.linkname.toLowerCase().replace(/\s+/g,"-"),"-").concat(s,".png"),alt:e.linkname,onError:()=>{c(e=>(0,o._)((0,i._)({},e),{[n]:!0}))}})},n)})})}},81554:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return E}});var i=t(20567),o=t(85893),a=t(11163),l=t(25675),s=t.n(l),r=t(97578),d=t(69504),c=t(9008),v=t.n(c);t(39828),t(75435);var u=t(34314),m=t(60990),h=t(56912),x=t(96788),p=t(97182),g=t(61769),j=t(64347),f=t(9493),y=t(86441),b=t(62352),w=t(36410),_=t(65664),Z=t(37546);let k=(e,n)=>{let t=(e||"").trim(),i=(n||"").trim();if(t.includes(",")){let[e,n]=t.split(",").map(e=>e.trim());!i&&n&&(i=n),t=e}return i&&i.length<=3&&(i=i.toUpperCase()),{town:t,state:i}},D=e=>{let{venue:n,loading:t=!1}=e;return(0,o.jsx)(o.Fragment,{children:t?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(j.Z,{height:50,animation:"wave"}),(0,o.jsx)(j.Z,{height:50,animation:"wave"}),(0,o.jsx)(j.Z,{height:50,animation:"wave"})]}):(0,o.jsxs)(m.Z,{sx:{display:"flex",justifyContent:"center",gap:2,flexDirection:"column"},children:[(0,o.jsx)(m.Z,{children:(0,o.jsx)("h3",{children:(0,o.jsx)("a",{href:"/venues".concat(null==n?void 0:n.internallink),children:null==n?void 0:n.venue_name})})}),(null==n?void 0:n.lat)&&(null==n?void 0:n.lon)&&(0,o.jsx)(m.Z,{sx:{width:"100%"},children:(0,o.jsx)(_.Z,{markers:[n]})})]})})};var E=!0;n.default=function(e){var n,t,l,c,j,_,E,S,U,C,L,F,P,M,T,I,W,N,O,V,q,B,A,z,R,H,X;let J=(0,a.useRouter)(),{eventId:K}=J.query,[Y]=(0,w.mr)(),G=(J.query.location||"").toString(),Q=(J.query.when||"").toString(),$=(J.query.date||"").toString(),{town:ee,state:en}=k(J.query.town,J.query.state),et=()=>{let e=(0,i._)({},J.query);delete e.eventId,J.push({pathname:J.pathname,query:e})},ei=e.event&&{"@context":"http://schema.org","@type":"Event",name:e.event.title,startDate:e.event.main_date,endDate:e.event.endDate||function(e){if(e)return new Date(new Date(e).getTime()+144e5).toISOString()}(e.event.main_date),eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",eventStatus:"https://schema.org/EventScheduled",location:{"@type":"Place",name:null===(n=e.eventVenue)||void 0===n?void 0:n.venue_name,address:{"@type":"PostalAddress",addressLocality:null===(t=e.eventVenue)||void 0===t?void 0:t.venue_city,addressRegion:null===(l=e.eventVenue)||void 0===l?void 0:l.venue_state,postalCode:(null===(c=e.eventVenue)||void 0===c?void 0:c.VENUE_ZIP)||"",addressCountry:"US"}},image:[e.event.imageUrl||"https://webtunes.com/images/1x1/webtunes.jpg",e.event.imageAlt||"https://webtunes.com/images/4x3/webtunes.jpg",e.event.imageBanner||"https://webtunes.com/images/16x9/webtunes.jpg"],description:e.event.description||e.event.title,offers:e.event.ticket_url&&e.event.ticket_url.startsWith("http")?{"@type":"Offer",url:e.event.ticket_url,priceCurrency:"USD",availability:"https://schema.org/InStock",validFrom:e.event.main_date}:void 0,performer:e.event.bands&&e.event.bands.length>0?{"@type":"Person",name:e.event.bands[0].bandname||e.event.title||"Unknown Performer",url:e.event.bands[0].internallink?"https://webtunes.com/bands/".concat(e.event.bands[0].internallink):"https://webtunes.com"}:{"@type":"Person",name:e.event.title||"Unknown Performer",url:"https://webtunes.com"},organizer:{"@type":"Organization",name:null===(j=e.eventVenue)||void 0===j?void 0:j.venue_name,url:"https://webtunes.com"}};if(!K)return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(v(),{children:[(0,o.jsx)("title",{children:"Live Music Events | Webtunes"}),(0,o.jsx)("meta",{name:"description",content:"Browse ".concat(e.eventCount>
10?"".concat(e.eventCount.toLocaleString(),"+ "):"","upcoming live music events by date, location, venue, or band. Updated daily on Webtunes.")}),(0,o.jsx)("meta",{name:"keywords",content:"Live music, Concerts, Events, Local bands, Venues, Webtunes"}),(0,o.jsx)("meta",{property:"og:title",content:"Live Music Events | Webtunes"}),(0,o.jsx)("meta",{property:"og:description",content:"Discover live music events happening near you. Filter by city, venue, or artist."}),(0,o.jsx)("link",{rel:"canonical",href:"https://webtunes.com/events"})]}),(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"CollectionPage",name:"Live Music Events",description:"A curated list of live music events near you.",url:"https://webtunes.com/events"})}}),(0,o.jsxs)("div",{children:["long-island"===G&&(0,o.jsx)(m.Z,{sx:{px:{xs:2,sm:3},pt:1.5,pb:0},children:(0,o.jsx)(g.Z,{href:"/events/long-island/outdoors",underline:"hover",sx:{fontSize:"0.85rem",color:"text.secondary",display:"inline-flex",alignItems:"center",gap:.5},children:"\uD83C\uDFD6ï¸ Browse outdoor & waterfront venues â"})}),(0,o.jsx)(d.Z,{initialLocation:G,initialWhen:Q,initialTown:ee,initialState:en,initialFilters:"tonight"===$?{tonightOnly:!0}:"weekend"===$?{weekendOnly:!0}:{},ignoreSavedFilters:!0,forcedFilters:{}})]})]});{if(!e.event||!e.eventVenue)return(0,o.jsx)("p",{children:"Loading..."});let n=(0,Z.WU)(new Date(null===(_=e.event)||void 0===_?void 0:_.main_date),"MMMM d, yyyy 'at' h:mm a");return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(v(),{children:[(0,o.jsx)("title",{children:"".concat(null===(E=e.event)||void 0===E?void 0:E.title," at ").concat(null===(S=e.event)||void 0===S?void 0:S.venue_name," on ").concat(n)}),(0,o.jsx)("meta",{name:"description",content:"".concat(null===(U=e.event)||void 0===U?void 0:U.title," at ").concat(null===(C=e.event)||void 0===C?void 0:C.venue_name," on ").concat(null===(L=e.event)||void 0===L?void 0:L.main_date)}),(0,o.jsx)("meta",{name:"keywords",content:"".concat(null===(F=e.event)||void 0===F?void 0:F.title," at ").concat(null===(P=e.event)||void 0===P?void 0:P.venue_name,", Live Music, ").concat(null===(M=e.event)||void 0===M?void 0:M.main_date)}),(0,o.jsx)("meta",{property:"og:title",content:"".concat(null===(T=e.event)||void 0===T?void 0:T.title," at ").concat(null===(I=e.event)||void 0===I?void 0:I.venue_name," on ").concat(null===(W=e.event)||void 0===W?void 0:W.main_date)}),(0,o.jsx)("meta",{property:"og:description",content:"".concat(null===(N=e.event)||void 0===N?void 0:N.title," at ").concat(null===(O=e.event)||void 0===O?void 0:O.venue_name," on ").concat(null===(V=e.event)||void 0===V?void 0:V.main_date)})]}),ei&&(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(ei)}}),(0,o.jsxs)(u.Z,{open:!0,eventId:null===(q=e.event)||void 0===q?void 0:q.eventId,onClose:()=>{et()},title:null===(B=e.event)||void 0===B?void 0:B.title,children:[e.event?(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)(m.Z,{sx:{padding:2,flex:1,overflowY:"auto",overflowX:"hidden"},children:[(0,o.jsx)(m.Z,{sx:{width:"100%",display:"flex",justifyContent:"center",mb:5,height:(null===(A=e.event)||void 0===A?void 0:A.imageUrl)?"250px":"0",overflow:"hidden"},children:(null===(z=e.event)||void 0===z?void 0:z.imageUrl)&&(0,o.jsx)(m.Z,{sx:{position:"relative",width:"100%",height:"100%"},children:(0,r.jK)(e.event.imageUrl)?(0,o.jsx)(m.Z,{component:"img",src:e.event.imageUrl,alt:"Event Photo",loading:"lazy",style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover"}}):(0,o.jsx)(s(),{src:e.event.imageUrl?e.event.imageUrl:"https://via.placeholder.com/1100x250?text=Cover+Photo",alt:"Event Photo",fill:!0,style:{objectFit:"cover"},priority:!0})})}),(0,o.jsx)("h4",{style:{textDecoration:"underline",fontWeight:"bold"},children:"Event Details"}),[{label:"Title",name:"title",sortable:!0},{label:"Description",name:"eventdescription",component:{type:"html"}},{label:"Event Date",name:"main_date",sortable:!0,component:{type:"dateTime"}},{label:"Modified Date",name:"modifieddate",sortable:!0,component:{type:"dateTime"}},{label:"Event Type",name:"eventtype"},{label:"Buy Tickets",name:"ticket_url"}].map((n,t)=>(0,o.jsxs)(y.ah,{children:[(0,o.jsx)(y.ku,{children:n.label}),(0,o.jsx)(y.gH,{children:"ticket_url"===n.name&&e.event[n.name]?(0,o.jsx)("a",{href:e.event[n.name],target:"_blank",rel:"noopener noreferrer",children:e.event[n.name]}):(null==n?void 0:n.component)?(0,b.kD)(n,e.event,en):e.event[n.name]||"-"})]},t+n.name)),(null===(H=e.event)||void 0===H?void 0:null===(R=H.bands)||void 0===R?void 0:R.length)>0&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(h.Z,{sx:{my:2}}),(0,o.jsx)(x.Z,{textAlign:"left",sx:{fontWeight:"bold"},children:"Bands Playing:"}),e.event.bands.map((e,n)=>(0,o.jsx)(m.Z,{sx:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",width:"150px"},children:(0,o.jsxs)("a",{href:"/bands".concat(e.internallink||""),style:{textDecoration:"none",color:"inherit"},children:[(0,o.jsx)(m.Z,{sx:{position:"relative",width:"100%",height:"150px"},children:(0,r.jK)(e.imageUrl)?(0,o.jsx)(m.Z,{component:"img",src:e.imageUrl,alt:e.bandname||"Unknown Band",loading:"lazy",style:{position:"absolute",inset:0,width:"100%",height:"100%",objectFit:"cover",borderRadius:"8px"}}):(0,o.jsx)(s(),{src:e.imageUrl||"/images/random/defaultband.jpg",alt:e.bandname||"Unknown Band",fill:!0,style:{objectFit:"cover",borderRadius:"8px"},sizes:"150px"})}),(0,o.jsx)(x.Z,{sx:{mt:1},children:e.bandname||"Unknown Band"})]})}
1,n))]}),(0,o.jsx)(h.Z,{sx:{my:2}}),(0,o.jsx)("h4",{style:{textDecoration:"underline",fontWeight:"bold"},children:"Event Location"}),(0,o.jsx)(D,{venue:e.eventVenue,loading:e.venueLoading})]})}):(0,o.jsx)(p.Z,{}),(0,o.jsx)(h.Z,{}),(0,o.jsx)(m.Z,{sx:{padding:2},children:(0,o.jsx)(f.Z,{links:null===(X=e.event)||void 0===X?void 0:X.socialLinks})})]})]})}}}},function(e){e.O(0,[2634,8573,7018,4642,9190,7249,1165,6664,3574,9683,5664,2212,9504,2888,9774,179],function(){return e(e.s=53129)}),_N_E=e.O()}]); 2//# sourceMappingURL=events-fe7ec9893d2fd210.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.