PageSourceSearch

https://spothero.com/consumer-seo/_next/static/chunks/pages/event-packages-77e1c15a957f9754.js

js spothero.com collected 2026-09-24 08:30:16 UTC 16,768 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="268c6697-8878-4ff8-9626-fb4d2fbd41bb",e._sentryDebugIdIdentifier="sentry-dbid-268c6697-8878-4ff8-9626-fb4d2fbd41bb")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6898,5407,6256],{22651:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/event-packages",function(){return n(82494)}])},38147:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(97458);n(52983);var i=n(7862),a=n.n(i),s=n(92593);let ExtendedButton=function(){let{buttonText:e,inPageAnchor:t="",key:n=0,link:i="",linkTarget:a="",variant:o="primary",...l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=i?{asAnchor:!0,href:i,isExternal:"_blank"===a}:{onClick:()=>{window.document.getElementById(t).scrollIntoView({behavior:"smooth",block:"start"})}};return(0,r.jsx)(s.zx,{variant:o,...c,...l,children:(0,r.jsx)("span",{children:e})},n)};ExtendedButton.propTypes={buttonText:a().string.isRequired,inPageAnchor:a().string,key:a().oneOf([a().number,a().string]),link:a().string,linkTarget:a().string,variant:a().string,styleProps:a().any};var o=ExtendedButton},35407:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return FAQ}});var r=n(97458),i=n(52983),a=n(30493),s=n(89659),o=n(92593),l=n(23194),c=n(16364),d=n(60513),u=n(95311),g=n(98232),h=n(85141),x=n(76100),AccordionFAQ=e=>{let{defaultIndices:t=[],faqItems:n,faqTitle:i=""}=e,{interpolate:p}=(0,c.Z)();return(0,r.jsxs)(r.Fragment,{children:[i&&(0,r.jsx)(o.X6,{as:"h2",fontSize:"xl",marginBottom:5,children:p(i)}),(0,r.jsx)(d.U,{allowMultiple:!0,defaultIndex:t,variant:"contained",size:"lg",children:null==n?void 0:n.map((e,t)=>(0,r.jsxs)(u.Q,{borderBottom:"1px solid",borderColor:"gray.200",children:[(0,r.jsx)(s.xu,{children:(0,r.jsxs)(g.K,{children:[(0,r.jsx)(s.xu,{flex:"1",textAlign:"left",fontFamily:"body","data-testid":"accordion-faq-question-".concat(t),children:p(null==e?void 0:e.question)}),(0,r.jsx)(h.X,{})]})}),(0,r.jsx)(x.H,{"data-testid":"accordion-faq-answer-".concat(t),children:(0,r.jsx)(s.xu,{sx:{p:{fontSize:"sm"}},children:(0,r.jsx)(a.PrismicRichText,{field:null==e?void 0:e.answer,components:(0,l.pD)({lazyLoadImages:!1})})})})]},t))})]})},FAQ=e=>{let{slice:t,isMidFunnel:n}=e,{primary:{section_id:d,slice_theme:u,faq_title:g,is_accordion:h,is_expanded:x},items:p}=t,f=x?Array.from({length:p.length},(e,t)=>t):[],{textColor:m}=(0,l.ph)(u||"Light - Secondary"),{interpolate:b}=(0,c.Z)();return(0,r.jsx)(s.xu,{as:"section",id:d,"data-testid":"FAQAccordion",color:m,backgroundColor:"transparent",paddingY:n?0:{base:8,tablet:16},marginY:n?{base:8,desktop:12}:0,children:(0,r.jsx)(o.W2,{children:h?(0,r.jsx)(AccordionFAQ,{defaultIndices:f,faqItems:p,faqTitle:g}):(0,r.jsx)(o.rj,{children:(0,r.jsxs)(o.P4,{colStart:{base:0,desktop:3},colSpan:{base:12,desktop:8},children:[g&&(0,r.jsx)(o.X6,{as:"h2",textAlign:"center",marginBottom:{base:6,tablet:8},children:b(g)}),p.map((e,t)=>(0,r.jsxs)(i.Fragment,{children:[(0,r.jsx)(o.X6,{as:"h3",variant:"h3",marginBottom:"4",children:b(e.question)}),(0,r.jsx)(a.PrismicRichText,{field:e.answer,components:(0,l.pD)({paddingBottom:10})})]},t))]})})})})}},56256:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return h}});var r=n(97458);n(52983);var i=n(7862),a=n.n(i),s=n(30493),o=n(89659),l=n(92593),c=n(41483),d=n(38147),u=n(4182),g=n(23194);let FeaturedIcons=e=>{let{slice:t}=e,{primary:{section_id:n,slice_theme:i,number_of_columns:a,featured_icons_title:u,featured_icons_rich_text:h=[],title_alignment:x="center"},items:p}=t,{textColor:f,backgroundColor:m}=(0,g.ph)(i),b=new Map([["4",{base:"12 span",tablet:"6 span",desktop:"3 span"}],["3",{base:"12 span",tablet:"4 span"}]]),v="center"===x;return(0,r.jsx)(o.xu,{as:"section",id:n,color:f,backgroundColor:m,paddingTop:{base:8,tablet:16},paddingBottom:{base:8,tablet:16},children:(0,r.jsx)(l.W2,{children:(0,r.jsxs)(l.rj,{children:[u&&(0,r.jsxs)(l.P4,{colStart:v?{base:0,tablet:3}:{base:0,tablet:0},colSpan:v?{base:12,tablet:8}:{base:12,tablet:12},children:[(0,r.jsx)(l.X6,{as:"h2",textAlign:x,marginBottom:{base:6,tablet:8},children:u}),(0,r.jsx)(o.xu,{textAlign:"center",children:(0,r.jsx)(s.PrismicRichText,{field:(0,g.PC)(h),components:(0,g.pD)()})})]}),p.map((e,t)=>{var n,i,u;return(0,r.jsx)(l.P4,{gridColumn:b.get(a),marginBottom:{base:6,tablet:8},children:(0,r.jsxs)(c.k,{display:{base:"flex",tablet:"block"},alignItems:"center",textAlign:"center",children:[(null==e?void 0:null===(n=e.icon)||void 0===n?void 0:n.url)&&(0,r.jsx)(o.xu,{maxWidth:{base:16,tablet:32},maxHeight:{base:16,tablet:32},marginLeft:{base:0,tablet:"auto"},marginRight:{base:6,tablet:"auto"},marginBottom:{base:0,tablet:4},alignSelf:"flex-start",children:(0,r.jsx)(l.Ee,{src:e.icon.url,alt:null===(i=e.icon)||void 0===i?void 0:i.alt,height:"100%",width:"100%",lazyLoad:!0})}),(0,r.jsxs)(o.xu,{flex:"1",textAlign:{base:"left",tablet:"center"},children:[(null==e?void 0:e.column_title)&&(0,r.jsx)(l.X6,{as:"h3",variant:"h4",marginBottom:1,children:e.column_title}),(null==e?void 0:e.column_paragraph)&&(0,r.jsx)(s.PrismicRichText,{field:e.column_paragraph,components:(0,g.pD)()}),(null==e?void 0:e.cta_text)&&(0,r.jsx)(d.Z,{buttonText:e.cta_text,inPageAnchor:e.in_page_anchor,link:e.cta_external_link.url,linkTarget:null===(u=e.cta_external_link)||void 0===u?void 0:u.target,minWidth:40})]})]})},t)})]})})})};FeaturedIcons.propTypes={slice:a().shape({...u.x8,primary:a().shape({section_id:a().string,featured_icons_title:a().string,
1slice_theme:a().string.isRequired,number_of_columns:a().string.isRequired,title_alignment:a().string}).isRequired,items:a().arrayOf(a().shape({icon:u.mI,column_title:a().string,column_paragraph:a().array,cta_text:a().string,in_page_anchor:a().string,cta_external_link:a().shape({url:a().string,target:a().string})})).isRequired}).isRequired};var h=FeaturedIcons},62083:function(e,t,n){"use strict";n.d(t,{B:function(){return useInterpolation},s:function(){return InterpolationProvider}});var r=n(97458),i=n(52983);let a=i.createContext(null),InterpolationProvider=e=>{let{interpolations:t=null,children:n}=e,[s]=(0,i.useState)(t);return(0,r.jsx)(a.Provider,{value:s,children:n})},useInterpolation=()=>{let e=(0,i.useContext)(a);if(void 0===e)throw Error("useInterpolation must be used within a InterpolationProvider");return e}},16364:function(e,t,n){"use strict";n.d(t,{Z:function(){return use_prismic_interpolate_text}});let interpolateText=(e,t)=>{if(!t||!e||"string"!=typeof e)return e;for(let[n,r]of Object.entries(t))e=e.replace(RegExp(n,"g"),r);return e};var r=n(62083),use_prismic_interpolate_text=()=>{let e=(0,r.B)();return{interpolate:t=>interpolateText(t,e)}}},4182:function(e,t,n){"use strict";n.d(t,{a5:function(){return s},mI:function(){return o},Hz:function(){return l},x8:function(){return c}});var r=n(7862),i=n.n(r);let a=i().shape({link_type:i().string.isRequired,target:i().string,url:i().string}),s=i().shape({cta_external_link:a,in_page_anchor:i().string,cta_text:i().string,cta_variant:i().string}),o=i().shape({alt:i().string,copyright:i().string,dimensions:i().shape({height:i().number,width:i().number}),url:i().string,linkTo:a}),l=i().arrayOf(i().shape({spans:i().arrayOf(i().shape({end:i().number,start:i().number,type:i().string})),text:i().string,type:i().string})),c={slice_type:i().string.isRequired,primary:i().object.isRequired,items:i().array.isRequired}},82378:function(e,t,n){"use strict";var r=n(28977),i=n.n(r),a=n(13516),s=n.n(a),o=n(61732),l=n.n(o);i().extend(s()),i().extend(l()),t.Z=i()},53617:function(e,t,n){"use strict";n.d(t,{L:function(){return okOrThrow}});let FetchError=class FetchError extends Error{constructor(e,t,n,r){super(r||"fetch failed. Status: ".concat(e,". Status Text: ").concat(t,". URL: ").concat(n)),this.name="FetchError",this.status=e,this.statusText=t,this.url=n}};function okOrThrow(e){if(!e.ok)throw new FetchError(e.status,e.statusText,e.url,"fetch failed. Something went wrong. Status: ".concat(e.status,". URL: ").concat(e.url));return e}},80122:function(e,t,n){"use strict";function getCapturedReferrer(){try{var e,t,n;let r=null!==(n=null===(e=window.__SPOTHERO)||void 0===e?void 0:e.capturedReferrer)&&void 0!==n?n:null===(t=window.document)||void 0===t?void 0:t.referrer;return r||null}catch(e){return null}}n.d(t,{T:function(){return getCapturedReferrer}})},82494:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return P},default:function(){return EventPackagesVenuePage}});var r=n(97458),i=n(52983),a=n(68123),s=n(89659),o=n(92593),l=n(95720),c=n(41483),package_info_PackageInfo=e=>{let{title:t,description:n,eventCount:i}=e;return(0,r.jsxs)(c.k,{"data-testid":"PackageInfo",children:[(0,r.jsxs)(s.xu,{bgColor:"gray.100",width:{base:20,tablet:24}
1,height:{base:20,tablet:24},marginRight:4,borderRadius:"0.5rem",position:"relative",padding:{base:3,tablet:4},children:[(0,r.jsx)(o.Ee,{src:"https://spothero.cdn.prismic.io/spothero/Z6y6RpbqstJ9-iCS_event-package-tickets.svg",alt:"".concat(i," events in this package"),showLoader:!1}),(0,r.jsx)(s.xu,{bgColor:"gray.dark",borderRadius:"full",color:"white",position:"absolute",top:2,right:2,paddingX:2,variant:"body2","data-testid":"PackageInfo-count",fontWeight:"semibold",children:i})]}),(0,r.jsxs)(s.xu,{flex:"1",children:[(0,r.jsx)(o.X6,{as:"h3",variant:"h4",marginBottom:1,children:t}),(0,r.jsx)(o.xv,{marginBottom:{base:3,tablet:4},color:"gray.dark",fontSize:"sm",children:n})]})]})},summary_card_SummaryCard=e=>{let{title:t,description:n,eventCount:i,id:a,onViewClick:c}=e,d={id:a,title:t,description:n,eventCount:i};return(0,r.jsxs)(o.Zb,{marginY:4,children:[(0,r.jsx)(package_info_PackageInfo,{title:t,description:n,eventCount:i}),(0,r.jsxs)(s.xu,{textAlign:"right",marginTop:{base:4,tablet:0},children:[(0,r.jsx)(l.r,{marginRight:4,cursor:"pointer",onClick:()=>c(d),fontSize:"base",children:"View Package"}),(0,r.jsx)(o.zx,{as:"a",href:"/event-packages-search?id=".concat(a),children:"Choose Parking"})]})]})},d=n(56256),u=n(35407),g=n(23194),h=n(71635),x=n.n(h),p=n(2781),f=n(44717),m=n(80512),b=n(82378),event_info_EventInfo=e=>{let{event:t,timezone:n}=e,{title:i,starts:a,parkingWindow:l}=t,d=b.Z.utc(a).tz(n),u=b.Z.utc(null==l?void 0:l.starts).tz(n);return(0,r.jsxs)(c.k,{marginBottom:4,children:[(0,r.jsxs)(s.xu,{marginRight:4,alignSelf:"center",children:[(0,r.jsx)(o.xv,{color:"red.700",fontSize:"xs",fontWeight:"bold",textTransform:"uppercase",children:d.format("MMM")}),(0,r.jsx)(o.xv,{fontSize:"lg",fontWeight:"bold",lineHeight:"1",children:d.format("DD")})]}),(0,r.jsxs)(s.xu,{flex:"1",children:[(0,r.jsx)(o.X6,{as:"h3",variant:"h5",children:i}),(0,r.jsxs)(o.xv,{color:"gray.600",fontSize:"sm",children:["Parking: ",u.format("h:mm A")," → 1 hr after event end"]})]})]})},details_modal_DetailsModal=e=>{let{modalVisible:t,onHidden:n,activePackage:i,showFooterCTA:a}=e,{title:l,description:d,events:u,id:g}=(null==i?void 0:i.eventPackage)||{},{timezone:h}=(null==i?void 0:i.destination)||{},b=null==u?void 0:u.length,v=x()(u,[e=>e.starts.replace(/\D/g,"")]);return(0,r.jsxs)(o.u_,{isOpen:t,onClose:n,className:"DetailsModal","data-testid":"DetailsModal",children:[(0,r.jsx)(p.x,{textAlign:"center",children:"Package Details"}),(0,r.jsx)(f.f,{maxHeight:600,children:l?(0,r.jsxs)(c.k,{direction:"column",padding:4,children:[(0,r.jsx)(package_info_PackageInfo,{title:l,description:d,eventCount:b}),(0,r.jsx)(s.xu,{children:b?(0,r.jsxs)(s.xu,{marginY:4,paddingTop:4,borderTopWidth:"1px",borderColor:"gray.200",children:[(0,r.jsx)(o.X6,{as:"h3",variant:"h5",marginBottom:4,children:"Parking Included"}),(0,r.jsxs)(c.k,{backgroundColor:"gray.50",borderRadius:"0.5rem",padding:3,marginBottom:4,children:[(0,r.jsx)(s.xu,{width:8,height:8,marginRight:3,children:(0,r.jsx)(o.Ee,{src:"https://spothero.cdn.prismic.io/spothero/Z6y6RpbqstJ9-iCS_event-package-tickets.svg",alt:"Timer Icon",showLoader:!1})}),(0,r.jsxs)(o.xv,{flex:"1",fontSize:"xs",children:["No rush! Every parking reservation starts at least"," ",(0,r.jsx)("strong",{children:"1hr before"})," the event starts, and ends"," ",(0,r.jsx)("strong",{children:"1hr after"})," the event ends, even if it runs late."]})]}),v.map((e,t)=>(0,r.jsx)(event_info_EventInfo,{event:e,timezone:h},t))]}):(0,r.jsx)(o.X6,{as:"h3",textAlign:"center",children:"There are no events available for this package"})})]}):(0,r.jsx)(o.X6,{as:"h3",textAlign:"center",children:"Sorry, something went wrong loading the events"})}),a&&(0,r.jsx)(m.m,{children:(0,r.jsxs)(c.k,{flexDirection:"row-reverse",alignItems:"center",textAlign:{base:"center",tablet:"left"},display:{base:"block",tablet:"flex"},children:[(0,r.jsx)(o.zx,{as:"a",href:"/event-packages-search?id=".concat(g),marginBottom:{base:2,tablet:0},width:{base:"100%",tablet:"auto"},children:"Continue with Package"}),(0,r.jsx)(o.xv,{fontSize:"xs",color:"gray.600",marginRight:{base:0,tablet:4},children:"Next step: choose your parking"})]})})]})},v=n(36474),_=n(53617),j=n(30379),k=n(92783);let getEventsByEventPackageId=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v.spotheroV1ApiUrl;try{let n=new URL("".concat(t,"/event-packages/").concat(e,"/")),r=await fetch(n.href),i=await (0,_.L)(r).json();return j.default.camelizeKeys(i.data)}catch(e){return k.Tb(e),[]}};var y=n(91581),w=n(80122),event_packages_venue_EventPackagesVenue=e=>{var t,n,l,c;let{eventPackagesVenue:h,page:x,config:p}=e,[f,m]=(0,i.useState)(!1),toggleModalVisibility=()=>m(e=>!e),[b,v]=(0,i.useState)(null),{spotheroV1ApiUrl:_}=p;(0,i.useEffect)(()=>{!function(e){let{destination:t}
1=e,n={referrer:(0,w.T)(),city:t.city,destination_id:t.id,destination_name:t.title};y.Z.page({name:"Event Packages Landing",properties:n})}({destination:h.destination})},[]);let updateModal=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(e&&(null==e?void 0:e.id)){let t=await getEventsByEventPackageId(e.id,_);v(t)}else v(null);toggleModalVisibility()},j=null==x?void 0:null===(t=x.body)||void 0===t?void 0:t.find(e=>(null==e?void 0:e.slice_type)===g.N2.FEATURED_ICONS),k=null==x?void 0:null===(n=x.body)||void 0===n?void 0:n.find(e=>(null==e?void 0:e.slice_type)===g.N2.FAQ);return(0,r.jsxs)(s.xu,{as:"main",children:[(0,r.jsx)(s.xu,{as:"article",paddingBottom:{base:10,tablet:20},paddingTop:{base:24,tablet:20},paddingX:4,color:"white",bgColor:"primary.default",bgPosition:"center",bgRepeat:"no-repeat",bgSize:"cover",style:{backgroundImage:(null==x?void 0:null===(l=x.hero_background_image)||void 0===l?void 0:l.url)?"url('".concat(x.hero_background_image.url,"')"):void 0},children:(0,r.jsxs)(o.W2,{children:[(0,r.jsx)(s.xu,{width:16,height:16,borderRadius:"full",padding:4,bgColor:"primary.400",margin:"0 auto",display:{base:"none",tablet:"block"},children:(0,r.jsx)(a.Z,{})}),(0,r.jsx)(o.X6,{as:"h1",textAlign:"center",marginY:4,children:(0,r.jsxs)(s.xu,{as:"span",role:"text",children:[h.destination.title,(0,r.jsx)("br",{})," Parking Packages"]})}),(0,r.jsxs)(o.X6,{as:"h3",variant:"h4",textAlign:"center",marginY:4,children:["Book convenient parking at lots and garages near"," ",h.destination.title]})]})}),j&&(0,r.jsx)(d.default,{slice:j}),(0,r.jsx)(s.xu,{as:"section",paddingY:{base:6,tablet:8},bgColor:"gray.light",children:(0,r.jsx)(o.W2,{children:(0,r.jsx)(o.rj,{children:(0,r.jsx)(o.P4,{colStart:{base:0,desktop:3},colSpan:{base:12,desktop:8},children:(null==h?void 0:null===(c=h.event_packages)||void 0===c?void 0:c.length)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o.xv,{marginBottom:4,children:[h.event_packages.length," packages available"]}),h.event_packages.map((e,t)=>{let{title:n,description:i,event_count:a,id:s}=e;return(0,r.jsx)(summary_card_SummaryCard,{title:n,description:i,eventCount:a,id:s,onViewClick:updateModal},t)}),(0,r.jsx)(details_modal_DetailsModal,{modalVisible:f,activePackage:b,showFooterCTA:!0,onHidden:updateModal})]}):(0,r.jsx)(o.X6,{as:"h3",textAlign:"center",marginBottom:{base:3,tablet:4},children:"There are no event packages available for this venue."})})})})}),k&&(0,r.jsx)(u.default,{slice:k})]})},P=!0;function EventPackagesVenuePage(e){return(0,r.jsx)(event_packages_venue_EventPackagesVenue,{...e})}},40348:function(e,t,n){"use strict";var r=n(48412);t.default=void 0;var i=r(n(51274)),a=r(n(77734)),s=r(n(42876)),o=r(n(69107));t.default={querify:e=>(0,o.default)(e,(e,t)=>`${encodeURIComponent(t)}=${encodeURIComponent(e)}`).join("&"),getPartialMatchedProps(e,t){let n={};return(0,a.default)(e,(e,r)=>{(0,s.default)(r,t)&&(n[r]=e)}),n},camelizeKeys:e=>(0,i.default)(e)}},30379:function(e,t,n){e.exports=n(40348)}},function(e){e.O(0,[493,6653,9774,2888,179],function(){return e(e.s=22651)}),_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.