PageSourceSearch

https://www.homerundugout.com/_next/static/chunks/pages/upcoming-events-d26522a2698ad3ed.js

js homerundugout.com collected 2026-10-06 18:37:16 UTC 11,098 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3780],{20379:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/upcoming-events",function(){return a(11696)}])},11696:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return L}});var s=a(85893),l=a(67294),n=a(2962),i=a(25675),r=a.n(i),o=a(41664),c=a.n(o),d=a(30120),m=a(44182),x=a(53924),h=a(35619);let p="Events Calendar — Concerts, Watch Parties & Live Music | Home Run Dugout Katy, TX",g="Everything happening at Home Run Dugout in Katy, TX — live concerts and themed nights plus every Astros, Texans, Rockets, and World Cup game on TVs and our big screen. 1220 Grand West Blvd, Katy, TX 77449.",f="https://www.homerundugout.com/upcoming-events",u={MLB:"#EB6E1F",NBA:"#CE1141",NFL:"#A71930",FIFA:"#00813C"},b={FIFA:"World Cup"},w=[{key:"ALL",label:"Everything"},{key:"EVENTS",label:"Concerts & Events"},{key:"FIFA",label:"World Cup"},{key:"MLB",label:"Astros"},{key:"NBA",label:"Rockets"},{key:"NFL",label:"Texans"}],y=e=>d.ou.fromISO(e,{zone:"utc"}).setZone("America/Chicago"),k=e=>{let{href:t,children:a,className:l}=e;return t.startsWith("http")?(0,s.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:l,children:a}):(0,s.jsx)(c(),{href:t,className:l,children:a})},j=e=>{let{item:t}=e;return(0,s.jsxs)("article",{className:"group relative flex flex-col overflow-hidden rounded-2xl bg-white shadow-lg ring-1 ring-eyeblack/5",children:[(0,s.jsxs)("div",{className:"relative aspect-[16/10] overflow-hidden bg-eyeblack/5",children:[(0,s.jsx)(r(),{src:t.image||"/images/placeholder.jpg",alt:t.title,fill:!0,sizes:"(max-width: 1024px) 100vw, 33vw",className:"object-cover transition-transform duration-500 group-hover:scale-105"}
1),(0,s.jsx)("span",{className:"absolute left-4 top-4 rounded-full bg-crackerjack px-3 py-1 text-sm font-wide font-semibold text-white shadow",children:y(t.iso).toFormat("ccc, LLL d")})]}),(0,s.jsxs)("div",{className:"flex flex-1 flex-col p-6",children:[(0,s.jsx)("h3",{className:"font-wide text-2xl font-semibold tracking-tight text-eyeblack",children:t.title}),t.description&&(0,s.jsx)("p",{className:"mt-3 text-base leading-7 text-gray-600",children:t.description.split("<br>")[0]}),t.link&&(0,s.jsx)("div",{className:"mt-auto pt-6",children:(0,s.jsx)(k,{href:t.link,className:"inline-flex items-center rounded-md bg-eyeblack px-5 py-2.5 text-base font-wide font-semibold text-white transition-all hover:bg-crackerjack",children:t.buttonText})})]})]})},N=e=>{let{src:t}=e;return t?(0,s.jsx)("img",{src:t,alt:"",width:20,height:20,loading:"lazy",className:"h-5 w-5 object-contain"}):null},v=e=>{var t,a;let{item:l}=e,n=y(l.iso),i="game"===l.kind,r=i&&l.league?u[l.league]:"#aa612e",o=i&&l.teamShort&&l.opponentShort&&l.homeAway?(0,x.fs)({teamShort:l.teamShort,teamLogo:null!==(t=l.teamLogo)&&void 0!==t?t:null,opponentShort:l.opponentShort,opponentLogo:null!==(a=l.opponentLogo)&&void 0!==a?a:null,homeAway:l.homeAway}):null,c="home"===l.homeAway?"vs":"@";return(0,s.jsxs)("div",{className:"flex flex-col gap-3 rounded-xl bg-white p-4 ring-1 ring-eyeblack/5 transition-all hover:shadow-md sm:flex-row sm:items-center sm:gap-4",children:[(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 items-start gap-3 sm:items-center sm:gap-4",children:[(0,s.jsxs)("div",{className:"flex h-16 w-16 shrink-0 flex-col items-center justify-center rounded-lg bg-eyeblack text-white",children:[(0,s.jsx)("span",{className:"text-[0.65rem] uppercase font-wide tracking-wide text-white/60",children:n.toFormat("ccc")}),(0,s.jsx)("span",{className:"text-2xl font-wide font-semibold leading-none",children:n.toFormat("d")})]}),(0,s.jsx)("div",{className:"min-w-0 flex-1",children:i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1",children:[(0,s.jsx)("span",{className:"shrink-0 rounded-full px-2 py-0.5 text-[0.7rem] font-wide font-semibold uppercase tracking-wide text-white",style:{backgroundColor:r},children:l.league?b[l.league]||l.league:""}),(0,s.jsx)("span",{className:"flex flex-wrap items-center gap-x-1.5 gap-y-1 font-wide font-semibold text-eyeblack",children:o?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,s.jsx)(N,{src:o.away.logo}),o.away.name]}),(0,s.jsx)("span",{className:"text-crackerjack",children:c}),(0,s.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,s.jsx)(N,{src:o.home.logo}),o.home.name]})]}):l.title})]}),(0,s.jsxs)("div",{className:"mt-1 text-sm text-gray-500",children:[n.toFormat("h:mm a")," CT"]})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1",children:[(0,s.jsx)("span",{className:"shrink-0 rounded-full bg-crackerjack px-2 py-0.5 text-[0.7rem] font-wide font-semibold uppercase tracking-wide text-white",children:"Event"}),(0,s.jsx)("span",{className:"font-wide font-semibold text-eyeblack break-words",children:l.title})]}),l.description?(0,s.jsx)("div",{className:"mt-1 text-sm text-gray-500 break-words",children:l.description.split("<br>")[0]}):null]})})]}),!i&&l.link?(0,s.jsx)("div",{className:"shrink-0 pl-[4.75rem] sm:pl-0",children:(0,s.jsx)(k,{href:l.link,className:"inline-flex rounded-md bg-eyeblack px-3 py-1.5 text-sm font-wide font-semibold text-white transition-all hover:bg-crackerjack",children:l.buttonText})}):null]})};var L=!0;t.default=e=>{let{items:t}=e,[a,i]=(0,l.useState)("ALL"),r=(0,l.useMemo)(()=>t.filter(e=>"event"===e.kind),[t]),o=(0,l.useMemo)(()=>{let e=new Set(t.filter(e=>"game"===e.kind).map(e=>e.league)),a=t.some(e=>"event"===e.kind);return w.filter(t=>"ALL"===t.key||"EVENTS"===t.key&&a||e.has(t.key))},[t]),d=(0,l.useMemo)(()=>"ALL"===a?t:"EVENTS"===a?t.filter(e=>"event"===e.kind):t.filter(e=>"game"===e.kind&&e.league===a),[a,t]),x=(0,l.useMemo)(()=>{let e=[];for(let t of d){let a=y(t.iso).toFormat("LLLL yyyy"),s=e.find(e=>e.label===a);s?s.rows.push(t):e.push({label:a,rows:[t]})}return e},[d]),u=t.map(e=>({name:"game"===e.kind?"".concat(e.title," Watch Party"):e.title,startDate:e.iso,image:e.image||void 0,url:e.link?e.link.startsWith("http")?e.link:"".concat(h._O).concat(e.link):f})),b=[(0,h.ij)([{name:"Home",url:"/"},{name:"Events Calendar",url:"/upcoming-events"}])];u.length>0&&b.unshift((0,h.uM)(u));let k=(0,h.gV)(...b);return(0,s.jsxs)(m.Z,{children:[(0,s.jsx)(n.PB,{title:p,description:g,canonical:f,o
1penGraph:{url:f,title:p,description:g}}),(0,s.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(k)}}),(0,s.jsx)("div",{className:"bg-eyeblack",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 py-16 lg:py-20",children:[(0,s.jsx)("p",{className:"font-wide font-semibold uppercase tracking-[0.2em] text-crackerjack text-sm",children:"Katy, TX \xb7 What's On"}),(0,s.jsx)("h1",{className:"mt-3 lg:text-7xl text-4xl font-wide font-semibold text-white",children:"The Calendar"}),(0,s.jsx)("p",{className:"mt-5 text-lg text-white/75 max-w-2xl",children:"Concerts and themed nights, plus every Astros, Texans, Rockets, and World Cup game on TVs and our big screen."})]})}),0===t.length?(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 py-20",children:(0,s.jsxs)("div",{className:"rounded-2xl bg-gray-50 ring-1 ring-eyeblack/5 px-8 py-14 text-center",children:[(0,s.jsx)("h2",{className:"text-3xl font-wide font-semibold text-eyeblack",children:"More coming soon"}),(0,s.jsx)("p",{className:"mt-3 text-eyeblack/70 max-w-2xl mx-auto",children:"We're lining up the next round of concerts, themed nights, and game-day watch parties. Come early and grab the beer garden."}),(0,s.jsxs)("div",{className:"mt-8 flex flex-wrap justify-center gap-4",children:[(0,s.jsx)(c(),{href:"/beer-garden-katy",className:"inline-flex items-center rounded-md bg-crackerjack px-6 py-3 text-lg font-wide font-semibold text-white shadow-sm hover:bg-eyeblack transition-all",children:"Beer Garden"}),(0,s.jsx)(c(),{href:"/sports-bar-katy",className:"inline-flex items-center rounded-md bg-eyeblack px-6 py-3 text-lg font-wide font-semibold text-white shadow-sm hover:bg-crackerjack transition-all",children:"Sports Bar"})]})]})}):(0,s.jsx)("div",{className:"bg-gray-50",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 py-14 lg:py-20",children:[r.length>0&&(0,s.jsxs)("section",{className:"mb-16",children:[(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-3",children:[(0,s.jsx)("span",{className:"inline-block h-3 w-3 rounded-full bg-crackerjack"}),(0,s.jsx)("h2",{className:"font-wide font-semibold uppercase tracking-[0.15em] text-eyeblack text-sm",children:"Don't Miss"})]}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:r.map(e=>(0,s.jsx)(j,{item:e},e.id))})]}),(0,s.jsxs)("section",{children:[(0,s.jsxs)("div",{className:"mb-6 flex flex-col md:flex-row md:items-end md:justify-between gap-4",children:[(0,s.jsx)("h2",{className:"font-wide text-3xl font-semibold text-eyeblack",children:"What's Coming Up"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:o.map(e=>{let t=a===e.key;return(0,s.jsx)("button",{type:"button",onClick:()=>i(e.key),className:"rounded-full px-4 py-1.5 text-sm font-wide font-semibold transition-all ".concat(t?"bg-eyeblack text-white":"bg-white text-eyeblack hover:bg-eyeblack hover:text-white"),children:e.label},e.key)})})]}),x.map(e=>(0,s.jsxs)("div",{className:"mb-10",children:[(0,s.jsxs)("div",{className:"mb-4 flex items-center gap-4",children:[(0,s.jsx)("h3",{className:"font-wide text-xl font-semibold text-eyeblack/80",children:e.label}),(0,s.jsx)("span",{className:"h-px flex-1 bg-eyeblack/15"})]}),(0,s.jsx)("div",{className:"space-y-3",children:e.rows.map(e=>(0,s.jsx)(v,{item:e},"".concat(e.kind,"-").concat(e.id)))})]},e.label))]})]})}),(0,s.jsx)("div",{className:"bg-eyeblack",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-6 lg:px-8 py-14 flex flex-col md:flex-row md:items-center md:justify-between gap-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h2",{className:"font-wide text-3xl font-semibold text-white",children:"Make it a night"}),(0,s.jsx)("p",{className:"mt-2 text-white/75 max-w-xl",children:"Whatever's on the calendar, make it a full night — sports on our TVs and big screen, the beer garden, and a swing in the batting bays."})]}),(0,s.jsx)(c(),{href:"/plan-a-visit/single-bay-reservation",className:"inline-flex w-fit items-center rounded-md bg-crackerjack px-7 py-3 text-lg font-wide font-semibold text-white shadow-sm transition-all hover:bg-white hover:text-eyeblack",children:"Reserve a Bay"})]})})]})}},53924:function(e,t,a){"use strict";a.d(t,{P$:function(){return l},fs:function(){return s}});let s=e=>{let t={name:e.teamShort,logo:e.teamLogo},a={name:e.opponentShort,logo:e.opponentLogo};return"home"===e.homeAway?{away:a,home:t}:{away:t,home:a}},l=e=>{let{away:t,home:a}=s(e),l="home"===e.homeAway?"vs.":"@";return"".concat(t.name," ").concat(l," ").concat(a.name)}}},function(e){e.O(0,[3662,3061,9363,120,4182,2888,9774,179],function(){return e(e.s=20379)}),_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.