1import{q as v,ac as g,a3 as x}from"./DiZhURkQ.js";import{k,I as t,J as n,R as s,O as a,N as o,F as b,U as _,G as h,u as l,X as u,M as w,L as S}from"./wbHSvHwd.js";const p={key:0,class:"Representation__related"},B={key:0,class:"Representation__related-date"},L={key:1,class:"Representation__related-title"},M={key:1,class:"Representation__content"},O={class:"Representation__content-left"},T={key:0,class:"Representation__date"},j={key:0,class:"Representation__date-weekday"},D={key:1,class:"Representation__date-day"},N={key:1,class:"Representation__time"},A={class:"Representation__content-right"},C=["innerHTML"],E={key:1,class:"Representation__note"},I={class:"Representation__link-wrapper"},V={class:"Representation__link-text-wrapper"},F={class:"Representation__link-text"},G={class:"Representation__link-button"},z={__name:"Representation",props:{title:{type:String},date:{type:Object},hour:{type:Object},location:{type:Object},note:{type:String},link:{type:Object},isRelated:{type:Boolean,default:!1},isArchive:{type:Boolean,default:!1},relatedDate:{type:String},relatedTitle:{type:String}},setup(e){const c=e,y=k(()=>{var i;return["Representation",{"past-show-test":(i=c.date)==null?void 0:i.isPast}]}),r=k(()=>{var i;return["Representation__location",{"has-link":(i=c.location)==null?void 0:i.url}]});return(i,H)=>{var d;const R=v,m=g,f=x;return t(),n("div",{class:u(l(y))},[e.isRelated?(t(),n("div",p,[e.relatedDate?(t(),n("div",B,s(e.relatedDate),1)):a("",!0),e.relatedTitle?(t(),n("div",L,s(e.relatedTitle),1)):a("",!0)])):(t(),n("div",M,[o("div",O,[e.date?(t(),n("div",T,[e.date.weekday?(t(),n("p",j,s(e.date.weekday),1)):a("",!0),e.date.dayMonthShort?(t(),n("p",D,s(e.date.dayMonthShort),1)):a("",!0)])):a("",!0),(d=e.hour)!=null&&d.hour?(t(),n("p",N,s(e.hour.hour),1)):a("",!0)]),o("div",A,[e.location&&e.location.title?(t(),n(b,{key:0},[e.location.url?(t(),_(R,h({key:0,class:l(r)},e.location,{linkStyle:"btn-tertiary",hideExternalIcon:""}),null,16,["class"])):(t(),n("p",{key:1,class:u(l(r)),innerHTML:e.location.title},null,10,C))],64)):a("",!0),e.note?(t(),n("p",E,s(e.note),1)):a("",!0)])])),o("div",I,[e.link&&!e.isArchive?(t(),_(f,h({key:0,class:"Representation__link"},e.link,{hideExternalIcon:"",tracking:{event:"cta_billetterie",click_url:e.link.url||e.link.uri,click_text:e.link.label||e.link.title,internal:"false",cta_context:"Representation"}}),{default:w(()=>[o("span",V,[o("span",F,s(e.link.label),1)]),o("span",G,[S(m,{"aria-hidden":!0})])]),_:1},16,["tracking"])):a("",!0)])],2)}}};export{z as default};
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.