1import{e as C,_ as A}from"./C8lK0JLG.js";import{G as I,_ as L,d as P,b as q,H as F,A as Q,u as R,E as S,F as V}from"./BbljWYOn.js";import{f as y}from"./BLJ-XxQg.js";import{d as E,c as O,D as f,Y as s,O as l,Z as a,a6 as p,X as b,ab as i,ac as n,u as o,an as T,a9 as z,aa as G}from"./Cg3lYZ5M.js";import{e as X,_ as Y}from"./Ds8YeUAI.js";import{e as Z,u as j}from"./0V0SPzxZ.js";import{u as J}from"./BxZ0smEN.js";import{u as K}from"./CYiu5Nqq.js";import"./c0XqGb-s.js";import"./D4RgznJ7.js";import"./C4EUixI0.js";import"./CScJ0oPt.js";import"./R5MIsPFO.js";import"./BDP2lZ5P.js";import"./W2R4pVsr.js";import"./BUerhiqH.js";import"./BnQSOZpI.js";import"./DHAxkEOG.js";import"./CabMNY9-.js";import"./P2ahHQ9t.js";const M={class:"bg-neutral-3"},U={key:0,class:"flex flex-col gap-12"},W={key:1,class:"flex flex-col gap-12"},ee={key:2,class:"flex flex-col gap-12"},te={key:3,class:"flex flex-col gap-12"},oe=E({__name:"ExhibitionEventDetails",props:{type:{},name:{},website:{},location:{},eventAddress:{},exhibitionHallBoothNumber:{},startDate:{},endDate:{}},setup($){const u=I(),c=O(()=>u.meta.locale||"en");return(e,v)=>{const t=L,m=P,r=q;return s(),f("div",M,[l(o(F),{class:"flex flex-col py-48 lg:py-64 gap-32 xl:gap-64 lg:flex-row"},{default:a(()=>[e.startDate||e.endDate?(s(),f("div",U,[l(t,{semantic:"h5-style"},{default:a(()=>[i(n(e.$t("date.label")),1)]),_:1}),e.startDate&&e.endDate?(s(),b(m,{key:0},{default:a(()=>[i(n(o(y)(e.startDate,o(c)))+" - "+n(o(y)(e.endDate,o(c))),1)]),_:1})):e.startDate?(s(),b(m,{key:1},{default:a(()=>[i(n(o(y)(e.startDate,o(c))),1)]),_:1})):e.endDate?(s(),b(m,{key:2},{default:a(()=>[i(n(o(y)(e.endDate,o(c))),1)]),_:1})):p("",!0)])):p("",!0),e.location?(s(),f("div",W,[l(t,{semantic:"h5-style"},{default:a(()=>[i(n(e.$t("location.label")),1)]),_:1}),l(m,null,{default:a(()=>[i(n(e.location),1)]),_:1})])):p("",!0),e.exhibitionHallBoothNumber||e.eventAddress?(s(),f("div",ee,[l(t,{semantic:"h5-style"},{default:a(()=>[i(n(e.type==="exhibition"?e.$t("exhibition_hall.label"):e.$t("more_information.label")),1)]),_:1}),l(m,null,{default:a(()=>[i(n(e.type==="exhibition"?e.exhibitionHallBoothNumber:e.eventAddress),1)]),_:1})])):p("",!0),e.website?(s(),f("div",te,[l(t,{semantic:"h5-style"},{default:a(()=>[i(n(e.$t("more_information.link.label")),1)]),_:1}),l(r,{type:"text",theme:"light",icon:"i-tabler-arrow-narrow-right",to:e.website,"icon-position":"right",target:"_blank"},{default:a(()=>[i(n(e.$t("find_out_more.label")),1)]),_:1},8,["to"])])):p("",!0)]),_:1})])}}}),ae=Q(` 2 query exhibitionEventQuery($id: ItemId!, $locale: SiteLocale!) { 3 exhibitionEvent(filter: {id: {eq: $id}}, locale: $locale) { 4 id 5 name 6 ...exhibitionEventHero 7 ...exhibitionEventContent 8 9 type: exhibitionOrEvent 10 website 11 startDate 12 endDate 13 location 14 description { 15 links 16 value 17 } 18 exhibitionHallBoothNumber 19 eventAddress 20 } 21 } 22`,[X,C]),we=E({__name:"ExhibitionEventPage",async setup($){var g,x;let u,c;const{$getCurrentLocale:e}=R(),{getDefaultLayout:v}=J(),{meta:t,path:m}=K(),r=([u,c]=T(()=>V(ae,{variables:{id:t.id,locale:e()}})),u=await u,c(),u),k=Z((x=(g=r==null?void 0:r.value)==null?void 0:g.exhibitionEvent)==null?void 0:x.hero);return j({seo:t==null?void 0:t.seo,ogImageFallback:t==null?void 0:t.ogImageFallback,locale:t==null?void 0:t.locale,robots:t==null?void 0:t.robots,canonical:t==null?void 0:t.canonical,path:m,type:"website",lcpImage:k}),(ne,ie)=>{const w=A,H=oe,N=Y,B=S;return s(),b(B,{name:o(v)()},{hero:a(()=>{var d,_,h,D;return[(_=(d=o(r))==null?void 0:d.exhibitionEvent)!=null&&_.hero?(s(),b(w,{key:0,hero:(D=(h=o(r))==null?void 0:h.exhibitionEvent)==null?void 0:D.hero},null,8,["hero"])):p("",!0)]}),default:a(()=>{var d,_,h;return[l(H,z(G((d=o(r))==null?void 0:d.exhibitionEvent)),null,16),l(N,{content:((h=(_=o(r))==null?void 0:_.exhibitionEvent)==null?void 0:h.content)??[]},null,8,["content"])]}),_:1},8,["name"])}}});export{we 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.