<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{h as b,L as k,o as L,M,g as E,e as F,N as U,O}from"./CqxB2d_1.js";import{u as P,_ as z,a as V,b as j,c as W}from"./Dv9qzpKg.js";import{_ as G}from"./BVIVlUfn.js";import{k as K,b as y,C as H,Y as J,l as Q,R as r,U as f,Q as m,W as l,P as v,V as a,u as d,N as p,X as h,Z as X,O as i,H as Y,a7 as Z}from"./D1O54JYS.js";async function q(...t){const s=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&amp;&amp;t.unshift(s);const[n,c,u]=t;if(!n||typeof n!="string")throw new TypeError("[nuxt] [callOnce] key must be a string: "+n);if(c!==void 0&amp;&amp;typeof c!="function")throw new Error("[nuxt] [callOnce] fn must be a function: "+c);const o=b();(u==null?void 0:u.mode)==="navigation"&amp;&amp;o.hooks.hookOnce("page:start",()=&gt;{o.payload.once.delete(n)}),!o.payload.once.has(n)&amp;&amp;(o._once||(o._once={}),o._once[n]=o._once[n]||c()||!0,await o._once[n],o.payload.once.add(n),delete o._once[n])}const _=async(t,s)=&gt;{const n=k(`randomIdentifier-${s}`,()=&gt;"hero");return await q(`randomIdentifier-${s}`,()=&gt;{t&amp;&amp;t.length&gt;0&amp;&amp;(n.value=t[Math.floor(Math.random()*t.length)].padStart(2,"0"))},"$lFNTJGz0MS"),n},ee={class:"flex bg-white rounded overflow-hidden"},te=["data-url"],ne={key:1,src:M,alt:"Loading spinner",class:"rounded-full"},oe={key:1,class:"absolute bg-white rounded font-body font-bold m-4 px-1"},ae={key:1,class:"font-sans-italic text-xs pt-2"},ce=K({__name:"ShowCTA",props:{content:{},eventId:{},grid:{type:Boolean},contextCard:{type:Boolean},ymal:{type:Boolean},showShareDeleteButtons:{type:Boolean},hideAllButtons:{type:Boolean},headingComponent:{}},async setup(t){let s,n;const{$removeFromWishlist:c}=b(),u=E(),o=y(null);H(()=&gt;{o.value=window.location.origin+t.content.moreInfoFullLink});const w=y(!1),I=async()=&gt;{w.value=!0,t.eventId&amp;&amp;t.content.venueId&amp;&amp;await c({event_id:t.eventId,venue_id:t.content.venueId})},C=([s,n]=J(()=&gt;_(t.content.eventImageIndexes,t.eventId)),s=await s,n(),s),B=k(`backupImageIdentifier-${t.eventId}-${t.content.eventStartDate}-${t.content.eventName}`,()=&gt;!t.content.eventImageIndexes||t.content.eventImageIndexes.length===0?t.content.eventImageBackup||u.public.BACKUP_IMAGES[Math.floor(Math.random()*u.public.BACKUP_IMAGES.length)]:null),S=Q(()=&gt;t.grid?"(min-width: 330px) 290px, (min-width: 601px) 562px, (min-width: 768px) 334px, (min-width: 1024px) 220px, (min-width: 1280px) 262px, (min-width: 1600px) 336px, 100vw":t.contextCard?"(min-width: 1700px) 359px, (min-width: 1040px) 21.88vw, 100vw":"(min-width: 1580px) 290px, (min-width: 1280px) calc(7.14vw + 179px), (min-width: 1060px) calc(25vw - 28px), (min-width: 1020px) calc(-290vw + 3248px), (min-width: 780px) calc(25.91vw + 31px), calc(100vw - 40px)");return P(),t.showShareDeleteButtons&amp;&amp;o&amp;&amp;L({script:[{src:"https://platform-api.sharethis.com/js/sharethis.js#property=#{property?._id}&amp;product=custom-share-buttons&amp;source=platform",type:"text/javascript",key:"sharethisCustomButton",defer:!0}]}),(e,ie)=&gt;{const $=U,g=F,T=W,N=O,x=G,A=z,R=V,D=j;return i(),r("article",ee,[f("div",{class:a(["relative flex grow-0 lg:shrink-0",{"md:max-w-[33%]":!e.grid,"w-full":e.grid}])},[m(g,{to:e.content.moreInfoFullLink||e.content.ticketsUrl||void 0,class:"w-full h-full"},{default:v(()=&gt;[m($,{"srcset-resolutions":["333x219","606x398","1023x672","1279x840","1599x1050","1818x1194"],"event-id":e.eventId,sizes:d(S),identifier:d(C),class:a([e.grid?"":"md:!w-auto h-full md:clip-show-widget-grid","object-cover rounded clip-widget aspect-fugardImage h-auto w-full"]),alt:e.content.imageAltTag||`${e.content.showTitle}`+(e.ymal?"":` at ${e.content.venueName}`),backup:d(B),loading:e.content.imageLoading,"fetch-priority":e.content.imageFetchPriority},null,8,["event-id","sizes","identifier","class","alt","backup","loading","fetch-priority"])]),_:1},8,["to"]),e.showShareDeleteButtons?(i(),r("div",{key:0,class:a(["flex flex-row absolute top-0 right-0 m-4 gap-2",{"left-auto right-0":!e.grid}])},[d(o)?(i(),r("button",{key:0,"data-network":"sharethis","data-url":d(o),class:"st-custom-button flex shrink-0 bg-white opacity-75 hover:opacity-90 transition-opacity duration-300 rounded-full w-9 h-9"},[m(T,{class:"m-2"})],8,te)):l("",!0),f("button",{class:a(["flex shrink-0 bg-white opacity-75 hover:opacity-90 transition-opacity duration-300 rounded-full w-9 h-9",{"!opacity-100":d(w)}]),onClick:I},[d(w)?(i(),r("img",ne)):(i(),p(N,{key:0,class:"m-2"}))],2)],2)):l("",!0),e.content.categoryTag?(i(),r("span",oe,h(e.content.categoryTag),1)):l("",!0)],2),f("div",{class:a(["flex flex-col grow basis-[fit-content] w-full",e.grid?"p-4":"w-fit md:flex-row md:pl-5"])},[m(g,{to:e.content.moreInfoFullLink||e.content.ticketsUrl||void 0,class:a(["flex grow basis-0 flex-col",{"items-center":e.grid,"flex-col items-center md:items-start md:text-start md:w-1/2 nl-md:pt-5 my-auto":!e.grid}])},{default:v(()=&gt;[e.content.showTitle?(i(),p(Z(e.headingComponent||"h3"),{key:0,class:a(["title-sans title-sans--lg lg:title-sans--xl uppercase text-black",{"mb-2":!e.content.showRating,"text-center":e.grid}])},{default:v(()=&gt;[Y(h(e.content.showTitle),1)]),_:1},8,["class"])):l("",!0),e.content.showRating?(i(),p(x,{key:1,rating:e.content.showRating,small:e.grid&amp;&amp;!e.ymal&amp;&amp;!e.contextCard,class:a(["pb-3 pt-3",{"w-auto !p-1":e.contextCard,"w-auto !p-1 mt-2 mb-2.5":e.ymal,"mx-auto":e.grid}])},null,8,["rating","small","class"])):l("",!0),f("div",{class:a({"my-auto":e.ymal})},[e.content.showExcerpt?(i(),r("p",{key:0,class:a(["font-body text-black [display:-webkit-box] [-webkit-box-orient:vertical] [-webkit-line-clamp:3] overflow-hidden",{"font-sans-italic before:content-['“'] before:font-bold after:content-['”'] after:font-bold":e.contextCard||e.ymal}])},h(e.content.showExcerpt),3)):l("",!0),e.content.showExcerptAttribution?(i(),r("p",ae,h(e.content.showExcerptAttribution),1)):l("",!0)],2)]),_:1},8,["to","class"]),f("div",{class:a(["contents",{"!flex flex-col md:w-1/2 pt-5 md:pt-0 md:pl-5":!e.grid}])},[m(A,{class:a(["bg-gray-100 rounded px-4",{"order-first mb-5":e.ymal,"mt-4":e.grid}]),"formatted-date":e.content.formattedDate,venue:e.content.venueName,"venue-url":e.content.venueRoute,"show-price":!e.ymal,"min-price":e.content.minPrice?+e.content.minPrice:null,"tickets-page-url":e.content.ticketsUrl,"hide-price-override":e.ymal},null,8,["class","formatted-date","venue","venue-url","show-price","min-price","tickets-page-url","hide-price-override"]),X(e.$slots,"default"),e.hideAllButtons?l("",!0):(i(),r("div",{key:0,class:a(["flex flex-wrap whitespace-nowrap gap-5 pt-4 mt-auto",{"!pt-2":e.contextCard}])},[e.ymal&amp;&amp;e.content.venueId&amp;&amp;(e.content.eventName||e.content.showTitle)&amp;&amp;e.eventId?(i(),p(R,{key:0,class:"flex-1","button-text":{add:"Wishlist",remove:"Remove"},"event-id":e.eventId,"venue-id":e.content.venueId,"event-name":e.content.eventName||e.content.showTitle},null,8,["event-id","venue-id","event-name"])):l("",!0),m(D,{ymal:e.ymal,"short-text":"","pri-button-to":e.content.ticketsUrl,"has-inventory":e.content.hasInventory,"sec-button-text":e.contextCard?"Read more":"More info","sec-button-to":e.content.moreInfoFullLink,"event-id":e.eventId,"event-start-date":e.content.eventStartDate,"venue-id":e.content.venueId,"event-name":e.content.showTitle||e.content.eventName,class:a(["w-full [&amp;_span]:ml-auto",{"!contents flex-1":e.ymal}])},null,8,["ymal","pri-button-to","has-inventory","sec-button-text","sec-button-to","event-id","event-start-date","venue-id","event-name","class"])],2))],2)],2)])}}});export{ce as _,_ as u};
</pre></body></html>