1import{F as e,Ft as t,I as n,It as r,K as i,Kt as a,L as o,P as s,Qt as c,R as l,W as u,Xt as d,at as f,bt as p,gt as m,hn as h,yn as g}from"./CI1QfElZ.js";import{s as _}from"./B_8D-Bkj.js";import{f as v}from"./nN7mEdLy.js";import{n as y}from"./CkjYjo8o.js";import{t as b}from"./Ctl0WwoK.js";import{t as x}from"./BzqWgwDh.js";import{o as S}from"#entry";import{t as C}from"./BYQzBOV3.js";import{t as w}from"./BmQE8NXN.js";import{t as T}from"./wGKZP9PE.js";import{t as E}from"./CfJHu4YB.js";import{o as D}from"./BQFRs1_d.js";import{n as O,r as k,t as A}from"./CUMprxEW.js";var j=[`height`,`width`],M=Object.assign(i({__name:`IconSeating`,props:{width:{default:21},height:{default:12}},setup(t){let n=t;return(t,r)=>(m(),l(`svg`,{fill:`currentColor`,"view-box":`0 0 21 13`,height:t.$props.height,width:n.width,xmlns:`http://www.w3.org/2000/svg`},[...r[0]||=[e(`path`,{d:`m10.878 4.665a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm-3.637 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm10.909 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm-3.636 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm-10.909 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm5.455 3.181a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm-3.637 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm10.909 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm3.637 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm-7.273 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm-10.909 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm9.091 3.182a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm-3.637 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm10.909 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm-3.636 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm-10.909 0a.91.91 0 0 0 0 1.818.91.91 0 0 0 0-1.818zm16.591-10.908h-18.637a.682.682 0 0 0 0 1.363h18.637a.682.682 0 0 0 0-1.364z`,fill:`#000`},null,-1)]],8,j))}}),{__name:`IconSeating`}),N={IconHome:S,IconTicket:C,IconRestaurant:k,IconParking:O,IconHotel:A,IconSeating:M},P=(e,t,n)=>({linkText:e,componentIcon:{icon:N[t]},to:n}),F=e=>{if(!e)return[];if(e.venueNewUrl&&e.venueNewButtonText)return[P(e.venueNewButtonText,`IconHome`,e.venueNewUrl)];let t=e.venueUrl,n=[P(`Shows`,`IconTicket`,e.venueShowsUrl??t)];return e.venueHasRestaurants&&n.push(P(`Restaurants`,`IconRestaurant`,`${t}/dining`)),e.venueHasParking&&n.push(P(`Parking`,`IconParking`,`${t}/parking`)),e.venueHasHotels&&n.push(P(`Hotels`,`IconHotel`,`${t}/hotels`)),e.venueHasSeatingChart&&n.push(P(`Seating map`,`IconSeating`,`${t}/seating-chart`)),n},I={class:`title-sans title-sans--xl uppercase lg:mb-4 text-center`},L={key:0,class:`nl-md:hidden`},R={key:0,class:`bg-white text-black rounded font-body font-bold uppercase mb-2 lg:mb-4 mt-2 lg:-mt-1 px-1`},z={key:1,class:`flex flex-row items-center space-x-2`},B={class:`font-body leading-6 lg:leading-none`},V=Object.assign(i({__name:`MapNavigation`,props:{heading:{},headingLong:{},subHeading:{},venueUrl:{},categoryTag:{},navLinks:{}},setup(n){let r=n;return(i,a)=>{let s=x,c=b,d=T;return m(),l(`div`,null,[u(c,{to:`${n.venueUrl}#header`,class:`flex flex-col !text-white items-center bg-black rounded-t lg:clip-header py-2.5 lg:pt-4 lg:pb-8 px-8`},{default:t(()=>[e(`h1`,I,[e(`span`,{class:h({"md:hidden":r.headingLong})},g(r.heading),3),r.headingLong?(m(),l(`span`,L,g(r.headingLong),1)):o(``,!0)]),r.categoryTag?(m(),l(`span`,R,g(r.categoryTag),1)):o(``,!0),r.subHeading?(m(),l(`div`,z,[u(s,{class:`shrink-0 hidden lg:block text-white`,width:16,height:20}),e(`span`,B,g(r.subHeading),1)])):o(``,!0)]),_:1},8,[`to`]),e(`nav`,null,[u(d,{class:`hidden lg:flex`,"nav-links":r.navLinks},null,8,[`nav-links`])])])}}}),{__name:`MapNavigation`}),H={class:`relative nl-lg:bg-white lg:contents`},U={srcset:` 2 https://cdn.mytheatreland.com/images/misc/map_placeholder_606x398_03.jpg 606w, 3 https://cdn.mytheatreland.com/images/misc/map_placeholder_1600x708_03.jpg 1600w 4 `,sizes:`50vw`,src:`https://cdn.mytheatreland.com/images/misc/map_placeholder_606x398_03.jpg`,alt:`Map placeholder`,class:`absolute w-full h-full object-cover`},W={key:0,class:`lg:hidden`},G=Object.assign(i({__name:`BaseMap`,props:{venue:{},venuePage:{}},setup(t){let i=t,u=v(),g=s(()=>D(i.venue)?i.venue.ancillary??[]:[]),{mapRef:b}=i.venue?E(i.venue.detail.venueCoordinates.latitude&&+i.venue.detail.venueCoordinates.latitude,i.venue.detail.venueCoordinates.longitude&&+i.venue.detail.venueCoordinates.longitude,g,void 0,!0):E(void 0,void 0,d(i.venuePage?.venues||[]),i.venuePage?.initCoords),x=a(null),S=a(null);w(x,S);let C=s(()=>u.name&&[`venues-theater-index`,`venues`,`venues-category-category`].includes(u.name.toString())),O=s(()=>!!i.venue?.detail.venueHasChildren&&!!i.venue?.detail.venueChildren?.length),k=s(()=>O.value&&u.name===`venues-theater-index`),A=s(()=>O.value&&!k.value),j=s(()=>({heading:i.venue?.detail.venueName||i.venuePage?.heading||null,headingLong:i.venuePage?.headingLong,subHeading:i.venue?.detail.venueAddress||null,venueUrl:i.venue?.detail.venueUrl,categoryTag:i.venue?.detail.venueNewUrl?void 0:i.venue?.detail.venueSubHeading})),M=s(()=>i.venue&&F(i.venue.detail));return y({link:[{rel:`preload`,as:`image`,href:`https://cdn.mytheatreland.com/images/misc/map_placeholder_606x398_03.jpg`,imagesrcset:`https://cdn.mytheatreland.com/images/misc/map_placeholder_606x398_03.jpg 606w, https://cdn.mytheatreland.com/images/misc/map_placeholder_1600x708_03.jpg 1600w`,imagesizes:`50vw`,fetchpriority:`high`}]}),(t,a)=>{let s=V,u=T;return m(),l(`section`,H,[e(`div`,{ref_key:`mapContainer`,ref:x,class:`relative lg:hero-content--desktop col-span-2 !flex-col !flex nl-lg:px-5 nl-lg:pb-5 md:pt-5`},[i.venue?(m(),n(s,f({key:0},c(j),{class:`lg:hidden`}),null,16)):o(``,!0),e(`div`,{class:h([`lg:!absolute relative [&>div]:!relative top-0 left-0 w-full nl-md:aspect-square nl-md:max-h-128 lg:h-full lg:clip-map`,{"hidden md:block":c(k),"md:h-128":!c(O)||c(A)}])},[r(e(`img`,U,null,512),[[_,!t.$slots.mapOverride]]),r(e(`div`,null,[p(t.$slots,`mapOverride`)],512),[[_,!c(A)]]),r(e(`div`,{ref_key:`mapRef`,ref:b,class:h([`w-full h-full`,{"rounded-b":i.venuePage}])},null,2),[[_,!t.$slots.mapOverride||c(A)]])],2),i.venue?(m(),n(u,{key:1,id:`allShowsMobile`,class:`lg:hidden scroll-m-24`,"nav-links":c(M)},null,8,[`nav-links`])):o(``,!0),e(`div`,{id:`desktopOverview`,class:h([`empty:hidden nl-lg:hidden z-10`,c(O)?`lg:hero-content--info-full`:`lg:hero-content--info nl-xl:max-w-xs`])},[c(C)?p(t.$slots,`content`,{},void 0,void 0,0):o(``,!0)],2)],512),i.venuePage?o(``,!0):(m(),l(`div`,W,[p(t.$slots,`content`,{class:`p-5`})])),c(O)?o(``,!0):(m(),l(`div`,{key:1,ref_key:`desktopCTA`,ref:S,class:`hidden lg:hero-content--sticky-cta [grid-area:none/2/none/auto] lg:!w-[48%] xl:!w-[45%] h-fit`},[i.venue?(m(),n(s,f({key:0,"nav-links":c(M)},{...c(j),headingLong:void 0}),null,16,[`nav-links`])):o(``,!0)],512))])}}}),{__name:`MapBaseMap`}),K=e=>e.venueName.toLowerCase()===`venue to be announced`;export{M as i,G as n,F as r,K as 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.