PageSourceSearch

https://tickets.empiretheatre.com.au/web/_next/static/chunks/599-3946e8e465e9d5f6.js

js empiretheatre.com.au collected 2026-09-25 19:54:03 UTC 53,301 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[599],{13175:(e,t,s)=>{s.d(t,{r:()=>v});var i=s(50979),n=s(60890),l=s(57177),a=s(70365),o=s(59489),r=s.n(o),c=s(32634),d=s(48474),m=s(49232),h=s(62900);let v=e=>{var t,s,o,v;let{t:u}=(0,a.Bd)(["event","common"]),{organization:x}=(0,d.hn)(),g=e.event,p=e.seller.localeSettings.defaultLanguage,f=[g.name,g.location.locationName,g.location.locationCity,u("common:metas.keywords.tickets",{lng:p}),u("common:metas.keywords.buyOnline",{lng:p})];g.seoSettings&&g.seoSettings.tags&&(f=g.seoSettings.tags.length<6?f.concat(g.seoSettings.tags):g.seoSettings.tags);let y=f.join(),j=(0,m.br)(),b="https://".concat((null==j?void 0:j.primary)||(null==j?void 0:j.host)||h.J.DEFAULT_DOMAIN(),"/event/").concat(null!=(s=g.url)?s:g._id).concat(e.shopId?"/".concat(e.shopId):""),N=c.A.asPlainString(g.description),S="".concat(g.name," ").concat(u("event:metas.description",{when:n.pw.for(g).formatDate(g.start),location:g.location.locationName,city:g.location.locationCity,lng:p,organizationName:null!=(o=null==x?void 0:x.name)?o:"vivenu"})," ").concat(N.substring(0,160),"..."),w="".concat(u("event:metas.title",{lng:p})," ").concat(g.name," | ").concat(null!=(v=null==x?void 0:x.name)?v:"vivenu");return g.seoSettings&&(g.seoSettings.description&&""!=g.seoSettings.description&&(S=g.seoSettings.description),g.seoSettings.title&&""!=g.seoSettings.title&&(w=g.seoSettings.title)),(0,i.jsxs)(r(),{children:[(0,i.jsx)("title",{children:w}),!(0,l.O_)(h.J.ENVIRONMENT())||(null==(t=g.seoSettings)?void 0:t.noIndex)||e.noIndex?(0,i.jsx)("meta",{name:"robots",content:"noindex, nofollow"}):(0,i.jsx)("meta",{name:"robots",content:"index, follow"}),(0,i.jsx)("meta",{name:"title",content:w}),(0,l.O_)(h.J.ENVIRONMENT())&&(0,i.jsx)("link",{rel:"canonical",href:b}),(0,i.jsx)("meta",{name:"keywords",content:y}),(0,i.jsx)("meta",{name:"description",content:S}),(0,i.jsx)("meta",{property:"og:title",content:g.name}),(0,i.jsx)("meta",{property:"og:description",content:S}),(0,i.jsx)("meta",{property:"og:image",content:g.image})]})}},18048:(e,t,s)=>{s.d(t,{A:()=>v});var i=s(50979),n=s(43551),l=s(60890),a=s(19836),o=s(16599),r=s.n(o),c=s(25963),d=s(74652),m=s(44878),h=s(62435);class v extends c.Component{componentDidMount(){this.fetchEvents()}componentDidUpdate(e){e.event._id!=this.props.event._id&&this.fetchEvents()}async fetchEvents(){try{var e,t,s;let i=(0,a.$)(this.props.seller)&&null!=(s=null==(t=this.props.event.upsellSettings)||null==(e=t.crossSells)?void 0:e.eventIds)?s:[],o=i.length>0?await (0,n.h)(this.props.event.sellerId,i,null===d.Ru||void 0===d.Ru?void 0:d.Ru.language,l.rL.getStartOfDayIsoWithTimezone(this.props.seller.localeSettings)):await m.A.fetchRecommendations(this.props.event._id,null===d.Ru||void 0===d.Ru?void 0:d.Ru.language);this.events=o,this.forceUpdate()}catch(e){console.error(e)}}renderEvents(){var e;return null==(e=this.events)?void 0:e.map(e=>(0,i.jsx)(h.u,{event:e},e._id))}render(){return this.events?0==this.events.length?null:(0,i.jsxs)("div",{className:"mt-36",children:[(0,i.jsxs)("div",{className:"mb-12 vi-flex",children:[(0,i.jsx)("h3",{className:"mt-0 mb-0",children:this.props.title}),(0,i.jsx)(r(),{href:this.props.sellerBaseURL,className:"medium vi-text-sm vi-ms-auto",children:this.props.allEventsTitle})]}),(0,i.jsx)("div",{className:"vi-grid md:vi-grid-cols-3 vi-gap-4",children:this.renderEvents()})]}):(0,i.jsx)("h3",{children:this.props.title})}constructor(...e){super(...e),this.events=null}}},19836:(e,t,s)=>{s.d(t,{$:()=>n});var i=s(92343);function n(e){return(0,i.$m)(e)}},20599:(e,t,s)=>{s.d(t,{u:()=>eW});var i,n=s(50979),l=s(64582),a=s(25963);let o={bottom:0,height:0,left:0,right:0,top:0,width:0,x:0,y:0},r=()=>{let[e,t]=(0,a.useState)(0),[s,i]=(0,a.useState)(window.document?document.body.getBoundingClientRect():o),[n,l]=(0,a.useState)(s.top),[r,c]=(0,a.useState)(s.left),[d,m]=(0,a.useState)(),h=()=>{i(window.document?document.body.getBoundingClientRect():o),l(-s.top),c(s.left),m(e>-s.top?"down":"up"),t(-s.top)};return(0,a.useEffect)(()=>(window.addEventListener("scroll",h),()=>{window.removeEventListener("scroll",h)})),{scrollY:n,scrollX:r,scrollDirection:d}};var c=s(31809),d=s(94208),m=s(60890),h=s(56122),v=s(43561),u=s(75931),x=s(35066),g=s(68129);class p{hide(){}shouldOpenInModal(){return!(g.A.isEdgeOrIE()||g.A.isMobile.any()||window.self!==window.top)}openUrl(e){if(g.A.isEdgeOrIE())return void window.open(e).focus();let t="boxOnly=true",s=e.includes("?")?e+"&"+t:e+"?"+t;window.open(s,"_self").focus()}onShow(){if(!this.isOpen){let{overflow:e,height:t,width:s}=document.body.style;this.initialBodyStyle={overflow:e,height:t,width:s},this.isOpen=!0}document.body.style.overflow="hidden",document.body.style.height="100vh",document.body.style.width="100vw"}onHide(){this.isOpen=!1,document.body.style.overflow=this.initialBodyStyle.overflow,document.body.style.height=this.initialBodyStyle.height,document.body.style.width=this.initialBodyStyle.width}messageListener(){window.addEventListener("message",e=>{let t=document.getElementById("sellmodal-anchor");if("close"===e.data)this.hide();else if("scrollTop"===e.data)t.scrollTop=0;else if(e.data.type&&"newHeight"===e.data.type)try{t.style.height=e.data.height+"px",t.style.height=e.data.height+"px"}catch(e){console.error(e)}else if(e.data.type&&"redirect"===e.data.type)try{let t=e.data.url;if(g.A.isEdgeOrIE()){let e=window.open(t);null==e||e.focus();return}let s=window.open(t,"_self");null==s||s.focus();return}catch(e){console.error(e)}})}constructor(){this.isOpen=!1,this.baseUrl="https://vivenu.com",this.initialBodyStyle={}}}class f extends p{getUrl(e){let{baseUrl:t=this.baseUrl,id:s,embedded:i,lang:n,channel:l,shop:a,preselect:o,testing:r,boxOnly:c,cookieConsent:d,meta:m,coupon:h}=e,v=t+"/checkout/"+s,u={underShop:a,preselect:null==o?void 0:o.join(","),embedded:i,lang:n,channel:l,testing:r,boxOnly:c,coupon:h};"object"==typeof d&&null!==d&&(u.cookie_consent=Object.entries(d).filter(e=>{let[,t]=e;return t}).map(e=>{let[t]=e;return t}).join(","));let g=x.B.toQueryString(u);return"object"==typeof m&&null!==m&&(g="".concat(g).concat(g?"&":"").concat(Object.entries(m).map(e=>{let[t,s]=e;return"meta[".concat(t,"]=").concat(s)}).join("&"))),g?[v,g].join("?"):v}}var y=s(18474),j=s(19836),b=s(6397),N=s(70365),S=s(59489),w=s.n(S),k=s(16599),I=s.n(k),A=s(55450),C=s(94452),O=s(47582),D=s(39123),E=s(53447),T=s(49232),_=s(43918),L=s(10625),M=s(62900),U=s(72710),B=s(13175),R=s(67808),P=s(24172),F=s(66981),z=s(39386),J=s(67899);let Y=a.lazy(()=>s.e(8480).then(s.bind(s,8480)));class H extends a.Component{componentDidMount(){J.UY.onCookiesConsent.subscribe(this.handleForceUpdate)}componentWillUnmount(){J.UY.onCookiesConsent.unsubscribe(this.handleForceUpdate)}render(){let e=this.props.t;return J.UY.hasAccepted(J.JH.MARKETING,this.props.sellerId)?(0,n.jsx)(a.Suspense,{fallback:(0,n.jsx)("div",{className:"video-placeholder"}),children:(0,n.jsx)(Y,{videoId:this.props.id,opts:this.opts})}):(0,n.jsx)("div",{className:"video-placeholder vi-flex vi-justify-center vi-items-center",children:(0,n.jsx)(z.$,{variant:"outline",size:"sm",onClick:this.activateAllCookies,children:e("cookie
1:cookieConsent.acceptAllCookies")})})}constructor(...e){super(...e),this.opts={height:"480px",width:"100%"},this.handleForceUpdate=this.forceUpdate.bind(this),this.activateAllCookies=()=>{let e={[J.JH.FUNCTIONAL]:!0,[J.JH.PERFORMANCE]:!0,[J.JH.MARKETING]:!0};J.UY.writeConsent(e,this.props.sellerId),J.UY.hideCookieBanner.notify()}}}let q=(0,F.C)(["cookie"])(H);var W=s(32634),G=s(42386),K=s(4142),Q=s(17492),V=s(61155),$=s(36040),X=s(14941);let Z=e=>{let[t,s]=(0,a.useState)(null),{t:i}=(0,N.Bd)("event");return e.gallery&&0!=e.gallery.length?(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{className:"h3",children:i("event:headings.gallery")}),(0,n.jsx)("div",{className:"event-gallery",children:e.gallery.map((e,t)=>(0,n.jsx)("div",{className:"gallery-item",onClick:()=>s(t),children:(0,n.jsx)("img",{src:M.J.CDN_URL()+"/image?url="+e.image+"&width=240&forceJPEG=true",alt:e.title})}))}),null!==t&&(0,n.jsx)(ee,{gallery:e.gallery,openIdx:t,setOpenIdx:e=>s(e),onClose:()=>s(null)})]}):null};class ee extends a.Component{render(){if(!this.props.gallery||0==this.props.gallery.length)return null;let e=this.props,t=e.gallery[e.openIdx];return(0,n.jsxs)("div",{className:"gallery-modal",children:[(0,n.jsx)(X.R,{}),(0,n.jsxs)("div",{className:"close-button",onClick:()=>this.props.onClose(),children:[(0,n.jsx)("div",{className:"stripe one"}),(0,n.jsx)("div",{className:"stripe two"})]}),(0,n.jsxs)("div",{className:"gallery-image",children:[(0,n.jsx)("img",{src:M.J.CDN_URL()+"/image?url="+t.image+"&forceJPEG=true",alt:t.title}),(0,n.jsxs)("div",{className:"gallery-image-caption-container",children:[(t.title||t.description)&&(0,n.jsxs)("div",{className:"gallery-image-information",children:[(0,n.jsx)("div",{className:"gallery-image-title vi-line-clamp-2",children:t.title}),(0,n.jsx)("div",{className:"gallery-image-description vi-line-clamp-3",children:t.description})]}),t.copyright&&(0,n.jsxs)("div",{className:"gallery-image-copyright vi-line-clamp-1",children:["\xa9 ",t.copyright]})]})]}),(0,n.jsx)("div",{className:"gallery-other-images",children:e.gallery.map((t,s)=>(0,n.jsx)("div",{className:"gallery-image-small "+(s==e.openIdx?"selected":""),onClick:()=>e.setOpenIdx(s),children:(0,n.jsx)("img",{src:M.J.CDN_URL()+"/image?url="+t.image+"&width=240",alt:t.title})}))})]})}}var et=s(42510);function es(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(e=>null==e?void 0:e.trim()).filter(et.z)}var ei=s(65153),en=s(36001).Buffer;s(23727),function(e){e.scale=2,e.zoom=14,e.size="640x360",e.darkStyle="style=feature:all|element:labels.text.fill|color:0x333333|lightness:24&style=feature:all|element:labels.text.stroke|visibility:on|color:0x000000&style=feature:all|element:labels.icon|visibility:off&style=feature:administrative|element:geometry.fill|color:0x000000|lightness:8&style=feature:administrative|element:geometry.stroke|color:0x000000|lightness:4|weight:1.2&style=feature:landscape|element:geometry|color:0x000000|lightness:3&style=feature:poi|element:geometry|color:0x000000|lightness:6&style=feature:road.highway|element:geometry.fill|color:0x000000|lightness:15&style=feature:road.highway|element:geometry.stroke|color:0x000000|lightness:15|weight:0.2&style=feature:road.arterial|element:geometry|color:0x000000|lightness:15&style=feature:road.local|element:geometry|color:0x000000|lightness:10&style=feature:transit|element:geometry|color:0x000000|lightness:22&style=feature:water|element:geometry|color:0x000000|lightness:11",e.removeWebSafe=function(e){return e.replace(/-/g,"+").replace(/_/g,"/")},e.makeWebSafe=function(e){return e.replace(/\+/g,"-").replace(/\//g,"_")},e.decodeBase64Hash=function(e){return en.from?en.from(e,"base64"):new en(e,"base64")},e.encodeBase64Hash=function(e,t){return ei.createHmac("sha1",e).update(t).digest("base64")},e.getSignedStaticMapUrl=function(t,s){let i=function(e,t){throw Error()}(0,0),n=function(t,s){var i,n;let l="".concat(null==(i=t.geoCode)?void 0:i.lat,",").concat(null==(n=t.geoCode)?void 0:n.lng),a="black"===s?"&style=".concat(e.darkStyle):"";return"/maps/api/staticmap?center=".concat(l,"&zoom=").concat(e.zoom,"&size=").concat(e.size,"&maptype=roadmap&").concat("markers=color:red%7C".concat(l),"&key=").concat(M.J.GOOGLE_MAPS_API_KEY()).concat(null!=a?a:"","&scale=").concat(e.scale)}(t,s);return"https://maps.googleapis.com".concat(n,"&signature=").concat(i)},e.getMapsLinkUrl=function(e){let t=function(e,t){var s;let{name:i,street:n,city:l,postal:a,country:o}=e,r=[null==(s=t.withName)||s?i:null,n,es([a,l]).join(" "),o].filter(et.z);return es(r).join(" ")}({name:e.locationName,street:e.locationStreet,city:e.locationCity,postal:e.locationPostal,country:e.locationCountry},{withName:!0});return"https://www.google.com/maps/search/?api=1&query=".concat(encodeURIComponent(t))}}(i||(i={}));var el=s(29172);let ea=M.J.applyParametersToUrl,eo=e=>{let{t}=(0,N.Bd)("event"),{event:s}=e,l=i.getMapsLinkUrl(s.location),[o,r]=(0,a.useState)(null);return(0,a.useEffect)(()=>{(async()=>{try{let{lat:e,lng:t}=s.location.geoCode,{pageStyle:i}=s,n={lat:encodeURIComponent(e),lng:encodeURIComponent(t),pageStyle:i},l="/web/api/googleMapsUrl/".concat(s._id),a=ea(n,l),o=await fetch(a);if(!o.ok)throw Error();let c=await o.json();c.signedStaticUrl&&r(c.signedStaticUrl)}catch(e){}})()},[s]),(0,n.jsxs)("div",{className:"event-map",children:[(0,n.jsx)("h2",{className:"h3",children:t("event:eventMap.location")}),(0,n.jsxs)("div",{className:"event-map-holder vi-flex vi-flex-wrap vi-justify-start vi-flex-row w-100",title:t("event:eventMap.map"),children:[(0,n.jsx)("div",{className:"vi-p-4 vi-flex-1 col-md-4 vi-flex-row vi-flex vi-gap-3 vi-flex-wrap",children:(0,n.jsx)("div",{children:(0,n.jsxs)(el.p,{href:l,rel:"noopener noreferrer",children:[(0,n.jsx)("div",{className:"text vi-text-lg vi-font-semibold mb-0",children:s.location.locationName}),(0,n.jsx)("div",{className:"text mb-0",children:s.location.locationStreet}),(0,n.jsx)("div",{className:"text mb-0",children:(0,v.G)(s.location)}),s.location.locationCountry&&(0,n.jsx)("div",{className:"text mb-0",children:t("countries:".concat(s.location.locationCountry))})]})})}),o&&(0,n.jsx)("div",{className:"col-md-8 p-0 vi-object-cover",children:(0,n.jsx)(el.p,{href:l,rel:"noopener noreferrer",children:(0,n.jsx)(C.Ay,{height:360,children:(0,n.jsx)("img",{src:o,alt:"event map"})})})})]})]})};var er=s(79412),ec=s(32734),ed=s(69107),em=s(78621),eh=s(46473),ev=s(8524),eu=s(99615),ex=s(44878),eg=s(42202),ep=s(73810),ef=s(3978),ey=s(42814);let ej=e=>{var t;let{mutate:s}=(0,ev.iX)(),{availability:i,isLoading:l,isError:o}=function(e,t,s){let{data:i,error:n}=(0,ev.Ay)(s?"/api/events/public/availabilities/"+e+"?shopId="+t:null,()=>ex.A.fetchAvailabilities(e,t));return{availability:i,isLoading:!n&&!i,isError:n}}(e.event._id,e.shop.shopId,e.shop.saleStatus==em.a.onSale||null!=(t=eh.b.soldOutButReservationPossible({saleStatus:e.shop.saleStatus,reservationSettings:e.event.reservationSettings}))&&t),r=(0,T.br)(),{t:c,i18n:m}=(0,N.Bd)("event");(0,ep.R)(E.A.get());let h=(0,a.useCallback)(()=>{E.A.get().isLoggedIn()&&s("/api/events/public/availabilities/"+e.event._id+"?shopId="+e.shop.shopId)},[e.event,e.shop]),v=ed.N.resolve(e.seller,e.event,e.shop)===ec.g.PreventCheckout;(0,ep.R)(E.A.get().onLogin,h);let u=()=>{var t;return(0,n.jsx)("button",{className:"btn w100 caps accent-bg",onClick:()=>e.onBuyTicketsClick(),children:(null==(t=e.event.customTextConfig)?void 0:t.buyTicketsCTA)?e.event.customTextConfig.buyTicketsCTA:c("event:saleArea.onSaleButton")})},x=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:c("event:enforceAccountFallback.ticketSaleOnlyForLoggedInUser")}),(0,n.jsx)("button",{className:"btn default w100",onClick:()=>E.A.get().requestLogin(e.seller,null!=r?r:void 0),children:c("common:login")})]});
1return v&&!E.A.get().isAuthenticationActive(e.seller)?null:(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"buyticket-holder",children:(t=>{var s;if(v&&!E.A.get().customer)return x();if(e.hasShops&&!(null==(s=e.shop)?void 0:s.shopId)||eh.b.soldOutButReservationPossible({saleStatus:e.shop.saleStatus,reservationSettings:e.event.reservationSettings}))return u();switch(t){case em.a.onSale:return(()=>{var t;return l?(0,n.jsx)("div",{style:{height:"44px",paddingTop:"12px",textAlign:"center"},children:(0,n.jsx)(d.g,{icon:er.sq,spin:!0})}):(null==i?void 0:i.checkout.reason)=="UNAUTHENTICATED"?x():(null==i?void 0:i.checkout.reason)=="NOT_IN_SEGMENT"?(0,n.jsx)(ef.A,{type:"warning",role:"status",children:c("event:enforceAccountFallback.ticketSaleNotNow")}):(null==(t=eu.X.shared.checkout)?void 0:t.items.some(t=>t.eventId==e.event._id))?(0,n.jsx)("button",{className:"btn w100 caps accent-bg",onClick:()=>e.onBuyTicketsClick(),children:c("event:saleArea.editButton")}):(null==i?void 0:i.checkout.reason)=="EVENT_CUSTOMER_LIMIT_REACHED"||(null==i?void 0:i.checkout.reason)=="EVENT_SERIES_CUSTOMER_LIMIT_REACHED"?(0,n.jsx)(ef.A,{type:"warning",role:"status",children:c("event:saleArea.quotaExceeded")}):(null==i?void 0:i.checkout.allowed)?u():void 0})();case em.a.soldOut:return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"text semi large mb-0",children:c("event:saleArea.statusSoldOut")}),(0,n.jsx)("div",{className:"text  muted",children:c("event:saleArea.soldOut.description")}),(0,n.jsx)(ey.r,{event:{saleStatus:e.shop.saleStatus,sellerId:e.seller._id,soldOutFallback:e.event.soldOutFallback}})]});case em.a.past:return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"text semi large",children:c("event:saleArea.statusPast")})});case em.a.planned:return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"text semi large",children:c("event:saleArea.statusPlanned")}),e.event.showCountdown?(0,n.jsx)("h2",{className:"mb-0 mt-0 semi",children:(0,n.jsx)(eg.A,{until:new Date(e.shop.sellStart),onDone:()=>window.location.reload()})}):null]})}})(e.shop.saleStatus)})})};var eb=s(18048);let eN=e=>{let t=e.event,{scrollX:s,scrollY:i,scrollDirection:l}=r(),{t:a,i18n:o}=(0,N.Bd)("event"),c=m.pw.for(t),x=(()=>{let{showEndDate:e,showStartDate:s,showStartTime:i,showEndTime:l,showRange:o}=(0,h.k)(t),r=m.pw.isSameDay(t.start,t.end);return o&&r?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"text mb-0",children:c.formatDate(t.start)}),(0,n.jsxs)("div",{className:"text small muted",children:[(0,n.jsxs)("span",{id:"cx-sticky-event-info-box-time-start",children:[c.weekDayShort(t.start)," ",i&&c.formatTimeOnly(t.start)]}),l&&(0,n.jsxs)(n.Fragment,{children:[" - ",(0,n.jsx)("span",{id:"cx-sticky-event-info-box-time-end",children:c.formatTimeOnly(t.end)})]})]})]}):e||s?(0,n.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:".75rem 2rem",alignItems:"center"},children:[s&&(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"0"},children:[e&&(0,n.jsx)("div",{className:"text xsmall muted",children:a("event:start")}),(0,n.jsx)("div",{className:"text mb-0",children:c.formatDate(t.start)}),(0,n.jsxs)("div",{id:"cx-sticky-event-info-box-time-start",className:"text small muted",children:[c.weekDayShort(t.start)," ",i&&c.formatTimeOnly(t.start)]})]}),e&&(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"0"},children:[(0,n.jsx)("div",{className:"text xsmall muted",children:a("event:end")}),(0,n.jsx)("div",{className:"text mb-0",children:c.formatDate(t.end)}),(0,n.jsxs)("div",{id:"cx-sticky-event-info-box-time-end",className:"text small muted",children:[c.weekDayShort(t.end)," ",l&&c.formatTimeOnly(t.end)]})]})]}):void 0})();return(0,n.jsxs)("div",{className:"event-info-holder",children:[(0,n.jsxs)("div",{className:"event-info "+(i>510?"msticky":""),children:[t.styleOptions.hideStartingPrice?null:(0,n.jsxs)("div",{className:"from-holder",children:[(0,n.jsx)("div",{className:"text small  muted mb-0 medium",children:a("event:saleArea.ticketsFrom")}),(0,n.jsx)("div",{className:"text semi",children:(0,u.N8)(o.language,e.shop.startingPrice,e.seller.currency)})]}),(0,n.jsxs)("div",{className:"folded "+(i>510?"open":"closed"),children:[(0,n.jsx)("div",{className:"text large semi mb-0",children:t.name}),(0,n.jsx)("div",{className:"text muted-2",children:t.location.locationName})]}),(0,n.jsx)(ej,{event:e.event,shop:e.shop,seller:e.seller,hasShops:e.hasShops,onBuyTicketsClick:e.onBuyTicketsClick})]}),x&&(0,n.jsxs)("div",{className:"iconwithtextblock mt-24",children:[(0,n.jsx)("div",{className:"icon",children:(0,n.jsx)(d.g,{icon:["fal","calendar"]})}),(0,n.jsx)("div",{className:"textblock",children:x})]}),!t.styleOptions.hideLocationAddress&&(0,n.jsxs)("div",{className:"iconwithtextblock"+(x?"":" mt-24"),children:[(0,n.jsx)("div",{className:"icon",children:(0,n.jsx)(d.g,{icon:["fal","location-circle"]})}),(0,n.jsxs)("div",{className:"textblock",children:[(0,n.jsx)("div",{className:"text mb-0",children:t.location.locationName}),(0,n.jsx)("div",{className:"text small muted",children:t.location.locationStreet}),(0,n.jsx)("div",{className:"text small muted",children:(0,v.G)(t.location)}),t.location.locationCountry&&(0,n.jsx)("div",{className:"text small muted",children:a("countries:".concat(t.location.locationCountry))})]})]}),t.styleOptions.hideStartingPrice?null:(0,n.jsxs)("div",{className:"iconwithtextblock",children:[(0,n.jsx)("div",{className:"icon",children:(0,n.jsx)(d.g,{icon:["fal","ticket"]})}),(0,n.jsx)("div",{className:"textblock",children:(0,n.jsx)("div",{className:"text mb-0",children:a("event:saleArea.from",{price:(0,u.N8)(o.language,e.shop.startingPrice,e.seller.currency)})})})]})]})};var eS=s(48996),ew=s(44332),ek=s(15249),eI=s.n(ek);class eA{getNumberOfRepeatedEvents(e){return this.repetitionsDates=[],this.getDates(e).length}setTime(e,t,s){let i=eI().tz(t,s);return eI().tz(e,s).set({hours:i.hours(),minutes:i.minutes(),seconds:i.seconds(),milliseconds:i.milliseconds()})}setTimeByTimeOfDay(e,t,s){return eI().tz(e,s).set({hours:t.hour,minutes:t.minute,seconds:0,milliseconds:0})}getFromDay(e){return"unit"in this.repetitionSettings?this.setTime(this.repetitionSettings.from,this.repetitionSettings.startTime,e):this.setTimeByTimeOfDay(this.repetitionSettings.from,this.repetitionSettings.time,e)}getToDay(e){return"unit"in this.repetitionSettings?this.setTime(this.repetitionSettings.to,this.repetitionSettings.endTime,e):this.setTimeByTimeOfDay(this.repetitionSettings.to,this.repetitionSettings.time,e)}sortDates(e,t){return e.getTime()-t.getTime()}constructor(e){this.repetitionSettings=e,this.repetitionsDates=[]}}class eC extends eA{getDates(e){let t=this.getFromDay(e),s=this.getToDay(e);for(;t.isSameOrBefore(s);t.add(this.repetitionSettings.every,"day"))this.repetitionsDates.push(t.toDate());return this.repetitionsDates}}class eO extends eA{getDates(e){let t=this.getFromDay(e),s=this.getToDay(e),i=s.clone().endOf("week");for(let e=0;e<=i.diff(t,"weeks");e+=this.repetitionSettings.every){var n;
1null==(n=this.repetitionSettings.repeatsOn)||n.forEach(i=>{let n=t.clone().add(e,"weeks").day(ew.Am[i]);n.isSameOrAfter(t)&&n.isSameOrBefore(s)&&this.repetitionsDates.push(n.toDate())})}return this.repetitionsDates.sort(this.sortDates),this.repetitionsDates}}var eD=s(50421),eE=s(2213),eT=s(93594),e_=s(9260),eL=s(39361),eM=s(25307),eU=s(63824),eB=s(86577),eR=function(e){return e.right="ArrowRight",e.left="ArrowLeft",e.up="ArrowUp",e.down="ArrowDown",e}(eR||{});let eP=Object.values(eR);function eF(e){return eI()(e).format("YYYY-MM-DD")}function ez(e){let{events:t,selectedItem:s,event:i,onItemClick:l,...o}=e,{t:r}=(0,N.Bd)("event"),c=o.month,h=o.selectedDate,v=(0,a.useRef)(null),u=m.rL.getTimezoneOffset({timezone:o.timezone}),x=eI()().localeData(),g=x.firstDayOfWeek(),p=(0,a.useMemo)(()=>{let e=[];for(let t=0;t<7;t++){let s=(t+g)%7,i=x.weekdaysShort()[s];e.push(i)}return e},[x]),f=(0,a.useMemo)(()=>{var e;let t=[],s=eI()(c).startOf("month").startOf("week").toDate(),i=eI()(c).endOf("month").toDate(),n=null!=(e=Object.values(ew.sE)[x.firstDayOfWeek()])?e:ew.sE.SUNDAY;for(let e of new eO({from:s,to:i,every:1,unit:ew.ot.WEEK,startTime:s,endTime:i,repeatsOn:[n]}).getDates(Intl.DateTimeFormat().resolvedOptions().timeZone)){let s=eI()(e).endOf("week").toDate(),i=new eC({from:e,to:s,every:1,unit:ew.ot.DAY,startTime:e,endTime:s}).getDates(eI().tz.guess());t.push(i)}return t},[c,x]),y=(0,a.useMemo)(()=>f.flat(),[f]),j=(0,a.useMemo)(()=>{let e=new Map;return null==t||t.forEach(t=>{let s=m.rL.getTimezoneOffset({timezone:o.timezone},t.start),i=eF(eI()(t.start).add(s,"minutes").toDate());e.has(i)||e.set(i,[]),e.get(i).push(t)}),e},[t]),b=e=>{var t,s;null==l||l(void 0),null==(t=o.onSelectedDateChange)||t.call(o,void 0),null==(s=o.onMonthChange)||s.call(o,e)},S=null,w=h&&j.get(eF(h));return(0,n.jsxs)("div",{className:"vi-flex vi-flex-col vi-items-center vi-gap-4",children:[(0,n.jsxs)("div",{className:"vi-flex vi-w-full vi-max-w-md vi-items-center vi-justify-between",children:[(0,n.jsx)("button",{"aria-label":r("event:eventCalendar.previousMonth"),className:"vi-p-2 vi-rounded-full vi-bg-third dark:vi-bg-prim",onClick:()=>{b(eI()(c).clone().subtract(1,"months").toDate())},children:(0,n.jsx)(e_.A,{className:"vi-h-5 vi-w-5"})}),(0,n.jsx)("h3",{className:"vi-text-lg vi-font-semibold","aria-live":"polite",children:eI()(c).format("MMMM YYYY")}),(0,n.jsx)("button",{"aria-label":r("event:eventCalendar.nextMonth"),className:"vi-p-2 vi-rounded-full vi-bg-third dark:vi-bg-prim",onClick:()=>{b(eI()(c).clone().add(1,"months").toDate())},children:(0,n.jsx)(eL.A,{className:"vi-h-5 vi-w-5"})})]}),(0,n.jsxs)("div",{role:"grid",ref:v,className:"vi-grid vi-w-full vi-max-w-md vi-gap-0 vi-text-center vi-text-xs sm:vi-text-sm",children:[(0,n.jsx)("div",{role:"row","aria-hidden":"true",className:"vi-grid vi-grid-cols-7 vi-w-full vi-max-w-md",children:p.map(e=>(0,n.jsx)("div",{role:"columnheader",className:"vi-font-medium vi-py-1",children:e},e))}),(0,n.jsxs)("div",{className:"vi-relative",children:[f.map(e=>(0,n.jsx)("div",{role:"row",className:(0,eD.A)("vi-grid vi-grid-cols-7 vi-w-full vi-max-w-md",{"vi-opacity-50":o.isLoading}),children:e.map(e=>{let t=j.get(eF(e)),s=(e=>{let t=j.get(eF(e));if(!(null==t?void 0:t.length))return;if(t.every(e=>!e.availabilityIndicator))return t.some(e=>e.saleStatus===em.a.onSale)?eE.B.green:void 0;let s=t.filter(e=>e.saleStatus===em.a.onSale);if(s.length)return s.some(e=>e.availabilityIndicator===eE.B.green)?eE.B.green:s.some(e=>e.availabilityIndicator===eE.B.yellow)?eE.B.yellow:eE.B.red})(e),i=eI()(e).isSame(c,"month"),a=h&&eI()(e).isSame(h,"day"),d=(null==t?void 0:t.length)&&i,m="aria-desc-"+eF(e),u=-1;return d&&(a||!h&&!S)&&(u=0,S=e),(0,n.jsx)("button",{role:"gridcell",tabIndex:u,"aria-label":eI()(e).format("dddd, Do MMMM, YYYY"),"aria-describedby":m,"aria-selected":a,"data-date":eF(e),disabled:!d,onClick:()=>{d&&(e=>{var t;if(e===h)return;let s=j.get(eF(e)),i=(null==s?void 0:s.length)===1?s[0]:void 0,n=(null==i?void 0:i.saleStatus)===em.a.onSale?i._id:void 0;null==l||l(n),null==(t=o.onSelectedDateChange)||t.call(o,e)})(e)},onKeyDown:t=>{let s=t.key;eP.includes(s)&&(t.preventDefault(),((e,t,s)=>{var i;let n=eI()(t),l=y.filter(e=>{let t=j.get(eF(e)),s=eI()(e).isSame(c,"month");return(null==t?void 0:t.length)&&s}),a=!0;do"ArrowRight"===e?n=n.add(1,"days"):"ArrowLeft"===e?n=n.subtract(1,"days"):"ArrowDown"===e?n=n.add(1,"weeks"):"ArrowUp"===e&&(n=n.subtract(1,"weeks")),a=n.isSame(c,"month");while(!l.some(e=>n.isSame(e,"day"))&&a);let o=eF(n),r=null==(i=v.current)?void 0:i.querySelector('[data-date="'.concat(o,'"]'));r&&(s.tabIndex=-1,r.tabIndex=0,r.focus())})(s,e,t.target))},className:(0,eD.A)("vi-flex vi-aspect-square vi-flex-col vi-items-center vi-justify-center vi-rounded-lg vi-p-1 vi-m-[1px]",{"hover:vi-bg-third":d,"vi-bg-third vi-text-third-foreground dark:vi-bg-prim dark:vi-text-prim":a,"vi-opacity-40":!d}
1),children:i&&(0,n.jsxs)("div",{"aria-hidden":!0,className:"vi-flex vi-flex-col vi-justify-center vi-items-center",children:[(0,n.jsx)("span",{className:"vi-text-sm sm:vi-text-base",children:eI()(e).format("D")}),!!s&&(0,n.jsx)("span",{className:(0,eD.A)("vi-mt-0.5 vi-h-2 vi-w-2 vi-rounded-full",(e=>{switch(e){case eE.B.green:return"vi-bg-emerald-500";case eE.B.yellow:return"vi-bg-yellow-400";case eE.B.red:return"vi-bg-rose-500"}})(s))}),(0,n.jsx)("span",{id:m,className:"vi-sr-only",children:null==s?r("common:availabilityIndicator.noTicketsAvailable"):s===eE.B.green?r("common:availabilityIndicator.ticketsAvailable"):s===eE.B.yellow?r("common:availabilityIndicator.lessTicketsAvailable"):r("common:availabilityIndicator.almostSoldOut")})]})},e.toISOString())})},e[0].toISOString())),o.isLoading&&(0,n.jsx)("div",{className:"vi-absolute vi-top-0 vi-left-0 vi-w-full vi-h-full vi-rounded vi-flex vi-justify-center vi-items-center",children:(0,n.jsx)(d.g,{size:"2x",icon:eS.sqy,spin:!0})})]})]}),(null==t?void 0:t.length)===0&&(0,n.jsx)("span",{className:"vi-block vi-w-full vi-text-center",children:r("event:headings.noDatesAvailable")}),w&&w.length>0&&(0,n.jsxs)("div",{className:"vi-w-full vi-max-w-md",children:[w.length>1&&(0,n.jsx)("h3",{id:"selectTime",className:"vi-mt-3 vi-mb-2",children:r("event:headings.selectTime")}),(0,n.jsx)("div",{role:"listbox","aria-labelledby":"selectTime",children:w.map(e=>(0,n.jsx)(eJ,{isSelected:s===e._id,event:e,rootEvent:i,onItemClick:e=>null==l?void 0:l(e)},e._id))}),0!==u&&(0,n.jsx)("div",{className:"vi-flex vi-items-center vi-gap-2 vi-text-xs muted vi-mt-4",children:r("event:eventCalendar.timeZoneNotice")})]})]})}let eJ=e=>{var t;let{t:s,i18n:i}=(0,N.Bd)("event"),l="".concat(e.event._id,"-descriptor");return(0,n.jsxs)("a",{role:"option","aria-selected":e.isSelected,"aria-disabled":e.event.saleStatus!==em.a.onSale,tabIndex:0,className:(0,eD.A)("event-recurrence-selector-item no-decoration vi-rounded-lg md:vi-rounded-none vi-mb-2 md:vi-mb-0 md:vi-border-b-[var(--third-bg)] md:vi-border-b-[1px]",{active:e.isSelected,"vi-cursor-default":e.event.saleStatus!==em.a.onSale,"vi-cursor-pointer":e.event.saleStatus===em.a.onSale}),onClick:t=>{t.preventDefault(),t.stopPropagation(),e.event.saleStatus===em.a.onSale&&e.onItemClick(e.event._id)},href:eT.O.getURL(e.event),children:[(0,n.jsx)("div",{id:l,children:(0,n.jsx)(eB.GW,{rootEvent:e.rootEvent,event:e.event})}),(0,n.jsxs)("div",{className:"ml-auto",style:{display:"flex",height:"100%",flexDirection:"column"},children:[e.event.saleStatus===em.a.onSale&&(0,n.jsxs)(n.Fragment,{children:[!(null==(t=e.event.styleOptions)?void 0:t.hideStartingPrice)&&(0,n.jsxs)("div",{className:"text small muted mb-0 medium ml-auto",style:{alignSelf:"flex-start"},children:[s("event:saleArea.from")," ",(0,u.N8)(i.language,e.event.startingPrice,e.event.currency)]}),e.event.availabilityIndicator&&(0,n.jsx)("div",{style:{display:"flex",height:"100%",alignItems:"start",marginRight:"-4px",textAlign:"end"},children:(0,n.jsx)(eU.i,{indicator:e.event.availabilityIndicator})})]}),e.event.saleStatus===em.a.soldOut&&(0,n.jsx)("div",{className:"text vi-text-sm medium mb-0",children:s("event:saleArea.statusSoldOut")}),e.event.saleStatus===em.a.past&&(0,n.jsx)("div",{className:"text vi-text-sm medium mb-0",children:s("event:saleArea.statusPast")}),e.event.saleStatus===em.a.planned&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"text vi-text-sm mb-0",children:s("event:saleArea.statusPlanned")}),e.rootEvent.showCountdown&&(0,n.jsx)("div",{className:"text vi-text-sm mb-0 vi-font-bold",children:(0,n.jsx)(eg.A,{until:new Date(e.event.sellStart)})})]})]})]})},eY=e=>{var t,s;let{t:i}=(0,N.Bd)("event"),l=(0,A.useRouter)(),o=e.event,r=o.timezone||(null==(t=e.seller.localeSettings)?void 0:t.timezone);m.rL.getTimezoneOffset({timezone:r});let[c,d]=(0,a.useState)(!1),[h,v]=(0,a.useState)(void 0),[u,x]=(0,a.useState)(void 0),[g,p]=(0,a.useState)(void 0),[f,y]=(0,a.useState)(void 0),j=(0,a.useRef)(new Set),b=(0,a.useRef)(null==(s=l.query.eventId)?void 0:s.toString());async function S(){let t=new Date,s=t;try{let i,[n,l]=await Promise.all([ex.A.fetchPublicEventListings({sellerId:e.seller._id,rootId:e.event._id,underShopId:e.underShopId,endMin:m.rL.getStartOfDayIsoWithTimezone({t
1imezone:r}),top:1}),b.current?ex.A.fetchPublicEventListingById(b.current,{underShopId:e.underShopId}).catch(()=>null):Promise.resolve(null)]);l&&new Date(l.end)>=t?i=l:(i=n[0],b.current=void 0);let a=0,o=t;i&&(a=m.rL.getTimezoneOffset({timezone:r},i.start),o=new Date(i.start)),s=eI()(o).add(a,"minutes").startOf("month").toDate()}catch(e){console.error(e)}v(s),w(s)}async function w(t){try{let s=eI()().tz(r),i=eI()(t).tz(r,!0),n=eI()(t).endOf("month").tz(r,!0);if(s.isAfter(n))return;let l=eF(i.toDate());if(j.current.has(l))return;d(!0);let a=s>i?s.toDate():i.toDate(),o=await ex.A.fetchPublicEventListings({sellerId:e.seller._id,rootId:e.event._id,underShopId:e.underShopId,endMin:m.rL.getStartOfDayIsoWithTimezone({timezone:r},a),startMax:n.toISOString(),top:1e3});if(j.current.add(l),y(e=>e?[...e,...o]:o),b.current){let e=o.find(e=>e._id===b.current);if(e){let t=m.rL.getTimezoneOffset({timezone:r},e.start),s=eI()(e.start).add(t,"minutes").toDate();x(s),e.saleStatus===em.a.onSale&&p(e._id),b.current=void 0}}}catch(e){console.error(e)}finally{d(!1)}}if((0,a.useEffect)(()=>{o&&(function(){var e;j.current=new Set,b.current=null==(e=l.query.eventId)?void 0:e.toString(),y(void 0),x(void 0),p(void 0),v(void 0)}(),S())},[o]),!h)return null;let k=()=>(0,n.jsx)(ez,{selectedItem:g,month:h,selectedDate:u,event:o,events:f,timezone:r,isLoading:c,onItemClick:p,onMonthChange:e=>{v(e),w(e)},onSelectedDateChange:x}),I=()=>{var t;return(0,n.jsx)("button",{className:"btn w100 accent-bg",disabled:!g,onClick:()=>{g&&(e.onPresentCheckoutClick(g),e.onClose())},children:(null==(t=o.customTextConfig)?void 0:t.buyTicketsCTA)?o.customTextConfig.buyTicketsCTA:i("event:saleArea.onSaleButton")})};return(0,n.jsxs)(n.Fragment,{children:[!e.showModal&&(0,n.jsx)("section",{"aria-describedby":"selectDate",className:"md:vi-sticky vi-static vi-top-4 vi-mb-6 vi-mt-[84px]",children:(0,n.jsx)("div",{children:(0,n.jsxs)("div",{className:"event-recurrence-selector vi-py-[2px] vi-px-4 vi-bg-prim dark:vi-bg-third md:vi-shadow-md md:vi-rounded-md ",children:[(0,n.jsx)("h3",{id:"selectDate",className:"vi-mt-4 vi-mb-2",children:i("event:headings.selectDate")}),k(),(0,n.jsx)("div",{className:"event-recurrence-selector-footer",children:I()})]})})}),e.showModal&&(0,n.jsxs)(eM.p,{onClose:e.onClose,children:[(0,n.jsx)(eM.p.Header,{title:i("event:headings.selectDate")}),(0,n.jsx)(eM.p.Content,{children:k()}),(0,n.jsx)(eM.p.Footer,{children:(0,n.jsx)("div",{className:"vi-w-full",children:I()})})]})]})},eH=e=>e.isRootEvent?(0,n.jsx)("div",{className:"container",children:(0,n.jsxs)("div",{className:"row",children:[(0,n.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-8",children:e.children}),(0,n.jsx)("div",{className:"col-sm-12 col-md-6 col-lg-4 event-reccurence-sticky",children:e.renderChildEventSelector()})]})}):(0,n.jsx)(n.Fragment,{children:e.children}),eq=new f,eW=e=>{var t,s,i,o,x,g,p;let f=e.event,S=f.eventType===b.Bx.root,{t:k,i18n:F}=(0,N.Bd)("event");(0,a.useEffect)(()=>{(async()=>{let t=L.A.withPreferences({country:e.seller.locationCountry});null==t||t.init({...f.tracking,eventId:f._id},e.seller.shopSettings.tracking,(0,j.$)(e.seller)),t.ttsootu("event",f._id,e.seller._id)})()},[e.event]),(0,a.useEffect)(()=>{K.v.applyCheckoutStyling({theme:f.pageStyle,accentColor:f.accentColor,sellerInfo:e.seller}),document.body.classList.add("event-body")},[e.event]);let{checkout:z}=(0,Q.p)(),[Y,H]=(0,a.useState)(""),[X,ee]=(0,a.useState)(!1),[et,es]=(0,a.useState)(!1),[ei,en]=(0,a.useState)(e.shop.shopId),[el,ea]=(0,a.useState)(),[er,ec]=(0,a.useState)(!1),[ed,em]=(0,a.useState)(null),eh=(0,D.DK)(t=>{"ready-to-close"===t.data.type&&(ew(),en((null==el?void 0:el.length)!==1||e.shop.shopId?e.shop.shopId:el[0]._id))});(0,a.useEffect)(()=>(window.addEventListener("message",eh),()=>{window.removeEventListener("message",eh)}),[eh]),(0,a.useEffect)(()=>{X?eq.onShow():eq.onHide()},[X]),(0,a.useEffect)(()=>{if(!z||e.shop.shopId)return;let t=z.items.find(t=>!!t.shopId&&t.eventId===e.event._id);t&&en(t.shopId)},[e.event,e.shop,z]);let ev=async()=>{if(E.A.get().isLoggedIn()){var t;let s=await R.A.getUnderShopsForEvent(e.event._id,F.language);ea(s.shops),(null==(t=s.shops)?void 0:t.length)!==1||ei||en(s.shops[0]._id)}};(0,a.useEffect)(()=>{var t;ev(),(null==(t=e.channelInfo)?void 0:t.shopId)&&en(e.channelInfo.shopId);let s=()=>{ev()};return E.A.get().onLogin.subscribe(s),()=>{E.A.get().onLogin.unsubscribe(s)}},[e.event]);let eu=()=>!el||el.length<=1||el.some(e=>e._id===ei)||!!ei,ex=()=>
1{if(J.UY.hideCookieBanner.notify(),eu())return ep();ec(!0)},eg=e=>{ec(!1),e&&(en(e),ep(e,S?ed:void 0))},ep=async(t,s)=>{var i,n;let l=eq.getUrl({baseUrl:"",id:s||f._id,channel:null==(i=e.channelInfo)?void 0:i.channelId,shop:t||ei||(null==(n=e.channelInfo)?void 0:n.shopId)});if(!eq.shouldOpenInModal())return eq.openUrl(l);H(l),ee(!0),eq.messageListener()},ef=(0,a.useRef)(null),ey=(0,a.useRef)(null);(0,a.useEffect)(()=>{var e,t;return null==(t=ef.current)||null==(e=t.contentWindow)||e.document.addEventListener("keydown",eS),()=>{var e,t;null==(t=ef.current)||null==(e=t.contentWindow)||e.document.removeEventListener("keydown",eS)}},[ef.current]);let eS=e=>{switch(e.keyCode){case 27:var t,s;if(null==(s=ef.current)||null==(t=s.contentWindow)?void 0:t.document.getElementsByClassName("esc-trap"))break;ek()}},ew=()=>{ee(!1),es(!1),J.UY.showCookieBanner.notify()};async function ek(){var e,t;null==(t=ef.current)||null==(e=t.contentWindow)||e.postMessage(c.y.REQUEST_CLOSE_MSG,"*")}let eI=(0,A.useRouter)(),[eA,eC]=(0,a.useState)("true"===eI.query.recurrenceSelection),eO=(0,T.br)(),eD=(0,T.oU)({_id:e.seller._id,url:e.seller.url},eO),eE=m.pw.for(f),{scrollY:eT}=r(),{showEndDate:e_,showEndTime:eL,showStartDate:eM,showStartTime:eU,showRange:eB}=(0,h.k)(f),eR=m.pw.isSameDay(f.start,f.end),eP=(()=>{if(!S&&(eM||e_))return eB&&eR?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"text mb-0",children:eE.formatDate(f.start)}),(0,n.jsxs)("div",{className:"text small muted",children:[(0,n.jsxs)("span",{id:"cx-sticky-event-info-box-time-start",children:[eE.weekDayShort(f.start)," ",eU&&eE.formatTimeOnly(f.start)]}),eL&&(0,n.jsxs)(n.Fragment,{children:[" - ",(0,n.jsx)("span",{id:"cx-sticky-event-info-box-time-end",children:eE.formatTimeOnly(f.end)})]})]})]}):(0,n.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:".75rem 2rem",alignItems:"center"},children:[eM&&(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"0"},children:[e_&&(0,n.jsx)("div",{className:"text xsmall muted",children:k("event:start")}),(0,n.jsx)("div",{className:"text mb-0",children:eE.formatDate(f.start)}),(0,n.jsxs)("div",{id:"cx-sticky-event-info-box-time-start",className:"text small muted",children:[eE.weekDayShort(f.start)," ",eU&&eE.formatTimeOnly(f.start)]})]}),e_&&(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"0"},children:[(0,n.jsx)("div",{className:"text xsmall muted",children:k("event:end")}),(0,n.jsx)("div",{className:"text mb-0",children:eE.formatDate(f.end)}),(0,n.jsxs)("div",{id:"cx-sticky-event-info-box-time-end",className:"text small muted",children:[eE.weekDayShort(f.end)," ",eL&&eE.formatTimeOnly(f.end)]})]})]})})(),eF="https://".concat((null==eO?void 0:eO.primary)||(null==eO?void 0:eO.host)||M.J.DEFAULT_DOMAIN())+"/event/".concat(null!=(p=f.url)?p:f._id);return(0,n.jsxs)(n.Fragment,{children:[(null==(t=f.customSettings)?void 0:t.customEventPageHTML)&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:f.customSettings.customEventPageHTML}}),(null==(s=f.customSettings)?void 0:s.customEventPageCSS)&&(0,n.jsx)(w(),{children:(0,n.jsx)("style",{children:f.customSettings.customEventPageCSS})}),(0,n.jsx)(_.u,{withForceRefresh:!0}),(0,n.jsx)("a",{className:"visually-hidden skip-header",href:"#main-container",children:k("common:skipHeader")}),(0,n.jsxs)($.v,{hideAccountPill:!E.A.get().isAuthenticationActive(e.seller),children:[(0,n.jsxs)("div",{className:"event",children:[!S&&(0,n.jsx)(w(),{children:(0,n.jsx)("script",{...(0,O.QQ)({"@context":"https://schema.org","@type":"Event",location:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:f.location.locationCity,addressRegion:f.location.locationCity,postalCode:f.location.locationPostal,streetAddress:f.location.locationStreet},name:f.location.locationName},name:f.name,offers:{"@type":"Offer",price:e.shop.startingPrice,priceCurrency:e.seller.currency,url:eF,validFrom:M.J.toISOString(e.shop.sellStart),availability:"http://schema.org/OnlineOnly"},description:W.A.asPlainString(f.description),eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",eventStatus:"https://schema.org/EventScheduled",organizer:{"@type":"Organization",name:e.seller.name,url:"https://".concat((null==eO?void 0:eO.primary)||(null==eO?void 0:eO.host)||M.J.DEFAULT_DOMAIN()+"/seller/"+e.seller.url)},image:f.image,url:eF,startDate:M.J.toISOString(f.start),endDate:M.J.toISOString(f.end)})})}),(0,n.jsx)(B.r,{event:f,seller:e.seller,noIndex:!!e.shop.shopId,shopId:e.shop.shopId}),f.image&&(0,n.jsxs)("div",{className:["event-header-bg",S?"root-page":""].join(" "),children:[(0,n.jsx)("img",{alt:f.name,style:{objectFit:"cover",objectPosition:"center center"},...(0,U.i)(f.image,{width:600,blur:150})}),(0,n.jsx)("div",{className:"rel-bottom-overlay"})]}),(0,n.jsxs)(eH,{isRootEvent:S,renderChildEventSelector:()=>S?(0,n.jsx)(eY,{event:f,underShopId:ei,seller:e.seller,showModal:eA,onClose:()=>eC(!1),onPresentCheckoutClick:e=>{if(J.UY.hideCookieBanner.notify(),eu())return ep(void 0,e);em(e),ec(!0)}}):null,children:[(0,n.jsx)("header",{className:"event-header",children:(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)("div",{className:"brand",children:(null==(i=e.seller.brandingSettings)?void 0:i.customLogo)?(0,n.jsx)("a",{href:M.J.getValidUrl(e.seller.brandingSettings.shopLogoUrl||eD),children:(0,n.jsx)("img",{className:"w-[120px]",...(0,U.i)(e.seller.brandingSettings.customLogo,{width:120,forceJPEG:!1}),alt:e.seller.name})}):(0,n.jsx)(G.A,{})}),f.image&&(0,n.jsx)("div",{className:"row",children:(0,n.jsx)("div",{className:"hero-image-container vi-aspect-w-event-header-width vi-aspect-h-event-header-height",children:(0,n.jsx)("img",{...(0,U.i)(f.image,{width:1240}),alt:f.name,className:"vi-object-cover"})})})]})}),(0,n.jsx)("main",{className:"main container",id:"main-container",tabIndex:-1,
1children:(0,n.jsxs)("div",{className:"row vi-mt-8",children:[(0,n.jsxs)("div",{style:{minWidth:0},className:S?"relative":"col-md-8",children:[e.event.styleOptions&&"1vs1"==e.event.styleOptions.headerStyle&&(0,n.jsxs)("div",{className:"onevsone",children:[(0,n.jsx)("img",{className:"brand-one",src:M.J.CDN_URL()+"/image?url="+e.event.styleOptions.brandOne+"&height=160",alt:"Brand 1"}),(0,n.jsx)("img",{className:"brand-two",src:M.J.CDN_URL()+"/image?url="+e.event.styleOptions.brandTwo+"&height=160",alt:"Brand 2"})]}),(0,n.jsx)("h1",{className:"vi-mb-2 vi-mt-0",children:f.name}),f.slogan&&(0,n.jsx)("div",{className:"text large muted",children:f.slogan}),S&&(0,n.jsx)("div",{className:["event-reccurence-inline",eT>460?"msticky":""].join(" "),children:(0,n.jsx)("button",{className:"btn w100 caps accent-bg",onClick:()=>eC(!0),children:k("event:headings.selectDate")})}),!S&&(0,n.jsxs)("div",{className:"sale-area",children:[eP&&(0,n.jsxs)("div",{className:"iconwithtextblock mt-24",children:[(0,n.jsx)("div",{className:"icon",children:(0,n.jsx)(d.g,{icon:["fal","calendar"]})}),(0,n.jsx)("div",{className:"textblock",children:eP})]}),!f.styleOptions.hideLocationAddress&&(0,n.jsxs)("div",{className:"iconwithtextblock"+(eP?"":" mt-24"),children:[(0,n.jsx)("div",{className:"icon",children:(0,n.jsx)(d.g,{icon:["fal","location-circle"]})}),(0,n.jsxs)("div",{className:"textblock",children:[(0,n.jsx)("div",{className:"text mb-0",children:f.location.locationName}),(0,n.jsx)("div",{className:"text small muted",children:f.location.locationStreet}),(0,n.jsx)("div",{className:"text small muted",children:(0,v.G)(f.location)}),(null==f?void 0:f.location.locationCountry)&&(0,n.jsx)("div",{className:"text small muted",children:k("countries:".concat(f.location.locationCountry))})]})]}),f.styleOptions.hideStartingPrice?null:(0,n.jsxs)("div",{className:"iconwithtextblock",children:[(0,n.jsx)("div",{className:"icon",children:(0,n.jsx)(d.g,{icon:["fal","ticket"]})}),(0,n.jsx)("div",{className:"textblock",children:(0,n.jsx)("div",{className:"text mb-0",children:k("event:saleArea.from",{price:(0,u.N8)(F.language,e.shop.startingPrice,e.seller.currency)})})})]}),(0,n.jsx)(ej,{event:e.event,shop:e.shop,seller:e.seller,hasShops:(null==el?void 0:el.length)>0,onBuyTicketsClick:()=>ex()})]}),(0,n.jsxs)("div",{className:"vi-flex vi-flex-col vi-space-y-6",children:[(0,n.jsxs)("div",{className:"text muted mb-0",children:[e.shop.ticketShopHeaderText&&(0,n.jsx)("div",{className:"ticket-shop-text-box",children:(0,n.jsx)(W.A,{text:e.shop.ticketShopHeaderText})}),(0,n.jsx)(W.A,{text:f.description})]}),(()=>{if(!S&&(eM||e_))return(0,n.jsxs)("div",{className:"event-section-date",children:[(0,n.jsx)("h2",{className:"h3",children:k(eB||eM?"event:headings.date":"event:headings.endDate")}),eM&&f.start&&(0,n.jsx)(P.u,{date:f.start,tz:eE.options.tz}),e_&&!eR&&(0,n.jsxs)(n.Fragment,{children:[eB&&(0,n.jsx)(d.g,{icon:["fal","chevron-right"],className:"directional-rotated-img",style:{margin:"24px 20px",fontSize:"22px"}}),f.end&&(0,n.jsx)(P.u,{date:f.end,tz:eE.options.tz})]}),f.checkinInformation&&f.checkinInformation.checkinStarts&&(0,n.jsxs)("div",{className:"dateindicator ml-12",children:[(0,n.jsx)("span",{className:"date-label",children:k("event:headings.checkIn")}),(0,n.jsx)("span",{className:"hour",children:eE.formatTimeOnly(f.checkinInformation.checkinStarts)})]})]})})(),f.video&&f.video.youtubeID&&(0,n.jsxs)("div",{children:[(0,n.jsx)("h2",{className:"h3",children:k("event:headings.video")}),(0,n.jsx)(C.Ay,{height:485,children:(0,n.jsx)(q,{id:f.video.youtubeID,sellerId:f.sellerId})})]}),(null==(o=f.gallery)?void 0:o.length)>0&&(0,n.jsx)(C.Ay,{height:170,children:(0,n.jsx)(Z,{gallery:f.gallery})}),f.styleOptions.hideLocationMap?null:(0,n.jsx)(eo,{event:f})]})]}),!S&&(0,n.jsx)("div",{className:"col-md-4",children:(0,n.jsx)(eN,{event:f,seller:e.seller,shop:e.shop,onBuyTicketsClick:()=>ex(),hasShops:(null==el?void 0:el.length)>0})})]})})]}),(0,n.jsxs)("section",{children:[(0,n.jsxs)("div",{className:"container mt-36 event-section-seller seller-box",children:[(0,n.jsxs)(I(),{href:M.J.getValidUrl(e.seller.brandingSettings.shopLogoUrl||eD),children:[e.seller.image&&(0,n.jsx)("img",{className:"seller-image",width:54,height:54,alt:e.seller.name,"aria-hidden":!0,src:M.J.CDN_URL()+"/image?url="+e.seller.image+"&width=120"}),(0,n.jsx)("h3",{className:"h4",children:e.seller.name})]}),(0,n.jsx)("div",{className:"vi-text-sm muted vi-mt-3",children:(0,n.jsx)(W.A,{text:e.seller.description})})]}),f.showOtherEvents&&(0,n.jsx)(C.Ay,{height:650,offset:250,placeholder:(0,n.jsx)("h3",{children:k("event:headings.moreEventsFromSeller",{sellerName:e.seller.name})}),children:(0,n.jsx)("div",{className:"container event-section-other-events",children:(0,n.jsx)("div",{className:"row",children:(0,n.jsx)("div",{className:"col-md-12",children:(0,n.jsx)(eb.A,{title:k("event:headings.moreEventsFromSeller",{sellerName:e.seller.name}),allEventsTitle:k("event:organizer.allEvents"),sellerBaseURL:eD,event:f,seller:e.seller})})})})})]}),(0,n.jsx)(V.d,{seller:{_id:e.seller._id,name:e.seller.name,url:e.seller.url,locationCountry:e.seller.locationCountry},eventName:f.name}),(0,n.jsx)(J.DL,{tracking:f.tracking}),X?(0,n.jsxs)("div",{className:"checkout-presenter "+(et?"loaded ":" "),role:"dialog","aria-modal":!0,"aria-labelledby":"
1checkout-description",children:[et?null:(0,n.jsx)("div",{className:"seatmap-loading-indicator",children:(0,n.jsx)("div",{className:"loading-indicator-inner",children:(0,n.jsx)("div",{className:"loading-indicator-bar"})})}),(0,n.jsx)("object",{onLoad:()=>void es(!0),id:"sellmodal-anchor",ref:ef,data:Y,title:k("event:checkoutPresenter.title"),"aria-label":k("event:checkoutPresenter.title")}),(0,n.jsx)("div",{className:"visually-hidden",id:"checkout-description",children:k("event:checkoutPresenter.description")}),(0,n.jsx)("div",{ref:ey,children:(0,n.jsxs)("button",{className:"close-button",onClick:()=>ek(),title:k("common:close"),children:[(0,n.jsx)("div",{className:"stripe one"}),(0,n.jsx)("div",{className:"stripe two"})]})}),!!ef.current&&(0,n.jsx)(y.A,{containerElements:[null==(x=ef.current.contentDocument)?void 0:x.querySelector("body > div"),null==(g=ef.current.contentDocument)?void 0:g.querySelector(".undershop-selection"),...ey.current?[ey.current]:[]],focusTrapOptions:{onDeactivate:()=>ek()}})]}):null]}),el&&er?(0,n.jsx)(l.A,{type:l.q.bottom,onClose:()=>eg(void 0),title:k("event:underShopModal.heading"),ariaDescribedBy:"undershop-description",children:(0,n.jsxs)("div",{className:"undershop-selection",children:[(0,n.jsx)("p",{className:"text small muted",id:"undershop-description",children:k("event:underShopModal.description")}),(0,n.jsx)("div",{className:"undershop-selection-inner",children:el.map(e=>(0,n.jsxs)("button",{type:"button",className:"selection-item btn bordered w100",onClick:()=>eg(e._id),children:[e.name,(0,n.jsx)("span",{className:"icon",children:(0,n.jsx)(d.g,{icon:["fal","chevron-right"],className:"directional-rotated-img"})})]},e._id))})]})}):null]})]})}},24172:(e,t,s)=>{s.d(t,{u:()=>a});var i=s(50979),n=s(15249),l=s.n(n);let a=e=>{let t=l()(e.date);return e.tz&&(t=t.tz(e.tz)),(0,i.jsxs)("div",{className:"dateindicator",children:[(0,i.jsx)("span",{className:"month vi-mb-0 vi-text-[#de3333] dark:vi-text-[#ef4444]",children:t.format("MMM")}),(0,i.jsx)("span",{className:"date",children:t.format("DD")})]})}},31809:(e,t,s)=>{var i;s.d(t,{y:()=>i}),function(e){e.REQUEST_CLOSE_MSG={type:"request-close"},e.READY_TO_CLOSE_MSG={type:"ready-to-close"}}(i||(i={}))},42814:(e,t,s)=>{s.d(t,{r:()=>o});var i=s(50979),n=s(6397),l=s(70365),a=s(29172);let o=e=>{let{t}=(0,l.Bd)("event"),s=e.event;return s.soldOutFallback?(0,i.jsxs)("div",{className:"sold-out-fallback",children:[s.soldOutFallback.soldOutFallbackType==n.L4.default?(0,i.jsx)("a",{className:"btn w100 caps default",href:"/seller/"+s.sellerId,children:t("event:saleArea.soldOut.buttons.default")}):null,s.soldOutFallback.soldOutFallbackType==n.L4.moreInformation?(0,i.jsx)(a.p,{href:s.soldOutFallback.soldOutFallbackLink,className:"btn w100 caps default",rel:"nofollow",children:t("event:saleArea.soldOut.buttons.moreInformation")}):null,s.soldOutFallback.soldOutFallbackType==n.L4.waitingList?(0,i.jsx)(a.p,{href:s.soldOutFallback.soldOutFallbackLink,className:"btn w100 caps default",rel:"nofollow",children:t("event:saleArea.soldOut.buttons.waitingList")}):null]}):null}},43551:(e,t,s)=>{s.d(t,{h:()=>l});var i=s(44878),n=s(18185);let l=async(e,t,s,l)=>{let a=await i.A.fetchPublicEventListings({sellerId:e,eventIds:t,locale:s,endMin:l}),o=n.M(t,a,(e,t)=>e===t._id);return o.length?[...a,...await Promise.all(o.map(e=>i.A.fetchPublicEvent(e,s)))]:a}},43918:(e,t,s)=>{s.d(t,{u:()=>a});var i=s(25963),n=s(33387),l=s(62900);function a(e){return(0,i.useEffect)(()=>{let t=setTimeout(()=>o(e.withForceRefresh),2500),s=setInterval(()=>o(e.withForceRefresh),3e4);return()=>{clearTimeout(t),clearInterval(s)}},[]),null}function o(e){let t=n.X.getCookie("vi_wq"),s=l.J.Q_URL()+"/ping?host="+window.location.host;t&&(s+="&id=".concat(t)),fetch(s,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"same-origin"}).then(async t=>{let s=await t.json();
1s.id&&n.X.setCookie("vi_wq",s.id,1),e&&!0==s.pq&&window.location.reload()}).catch(e=>{console.error(e)})}},57177:(e,t,s)=>{s.d(t,{O_:()=>i}),s(23727);function i(e){return"prod"===e}},62435:(e,t,s)=>{s.d(t,{u:()=>p});var i=s(50979),n=s(24172),l=s(60890),a=s(56122),o=s(75931),r=s(93594),c=s(6397),d=s(78621),m=s(70365),h=s(16599),v=s.n(h),u=s(72710),x=s(63824),g=s(86577);let p=e=>{let{t,i18n:s}=(0,m.Bd)("event"),h=e.event,p=h.eventType===c.Bx.root,f=(0,a.YP)(h),y=l.pw.for(e.event),{showEndDate:j,showStartDate:b}=(0,a.k)(h),N=l.pw.isSameDay(h.start,h.end),S=b&&(!j||N);return(0,i.jsx)(v(),{href:(()=>{var e;return f?r.O.getURL(h):"/event/".concat(null!=(e=h.url)?e:h._id)})(),title:h.name,className:"other-event-box-link",children:(0,i.jsxs)("div",{className:"other-event-box",children:[(0,i.jsx)("div",{className:"vi-aspect-w-event-header-width vi-aspect-h-event-header-height",children:h.image?(0,i.jsx)("img",{...(0,u.i)(h.image,{width:380}),alt:h.name,className:"vi-object-cover"}):(0,i.jsx)("div",{})}),(0,i.jsx)("div",{className:"from",children:p||h.styleOptions.hideStartingPrice||f&&h.saleStatus==d.a.soldOut||!f?null:(0,o.N8)(s.language,h.startingPrice,h.currency)}),!p&&h.styleOptions.showAvailabilityIndicator&&f&&h.availabilityIndicator&&!(0,a.R6)(h)&&(0,i.jsx)(x.i,{indicator:h.availabilityIndicator,soldOut:h.saleStatus==d.a.soldOut,salesPlanned:h.saleStatus==d.a.planned,salesEnded:h.saleStatus==d.a.past}),(0,i.jsxs)("div",{className:"inner",children:[!p&&S&&(0,i.jsx)(n.u,{date:h.start,tz:y.options.tz}),(0,i.jsxs)("div",{className:"right",children:[!p&&!S&&(0,i.jsx)(g.pR,{event:h}),(0,i.jsx)("div",{className:"text medium mb-0 mt-0",children:h.name}),(0,i.jsx)("div",{className:"text muted small mb-0",children:f?h.locationName:h.location.locationName})]})]})]})})}},69107:(e,t,s)=>{s.d(t,{N:()=>l});var i=s(32734),n=s(12120);class l{static resolveFromItems(e){return e.filter(e=>e.planId).length>0?i.g.PreventDetailsStep:void 0}static resolve(e,t,s){var l,a,o,r;if(null==s||null==(l=s.accountSettings)?void 0:l.enforceAuthentication)return s.accountSettings.enforceAuthentication;if(t){if(n.U.triggers(t))return i.g.PreventCheckout;if(null==(o=t.accountSettings)?void 0:o.enforceAuthentication)return t.accountSettings.enforceAuthentication;if(null==(r=t.accountSettings)?void 0:r.enforceAccounts)return i.g.PreventCheckout}return(null==(a=e.shopSettings)?void 0:a.enforceAuthentication)||i.g.Disabled}}},93594:(e,t,s)=>{s.d(t,{O:()=>i});class i{static getURL(e){let t=()=>e.underShopId?"/"+e.underShopId:"";return e.url?"/event/"+e.url+t():"/event/"+e._id+t()}}}}]);

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.