1import{O as y,a6 as P,M,a9 as E,aj as F,ak as R,N as Z,a8 as q,aa as B,al as H,am as z,a7 as V,an as W,ao as O,ap as D,ab as K,aq as U,ar as G,as as J,b as Q,c as X,d as Y,u as h,a as tt,w as et,e as ot,o as nt,g as S,f as t,h as n,i as a,n as it,m as d,y as l,F as g,j as v,l as i,K as st,p as at,_ as ct,ag as lt,at as rt,r as mt,s as o,au as dt}from"./BGYZ8l1g.js";import{_ as _t}from"./AmkVmrXa.js";import{_ as pt}from"./DWW_96Sg.js";import{s as ut}from"./DK6Hgx1z.js";const ht=y` 2 fragment SectionAdditionalInformation on SectionAdditionalInformation { 3 __typename 4 sys { 5 id 6 } 7 title 8 headerLink { 9 ...Link 10 } 11 copy { 12 json 13 } 14 } 15`,St=y` 16 query ($preview: Boolean, $slug: String!) { 17 eventCollection(where: { slug: $slug }, preview: $preview, limit: 1) { 18 total 19 items { 20 __typename 21 sys { 22 id 23 } 24 slug 25 title 26 seo { 27 ...Seo 28 } 29 theme { 30 ...Theme 31 } 32 hideTicketingStickyModule 33 heroSection { 34 ...SectionHero 35 } 36 ctasCollection(limit: 5) { 37 total 38 items { 39 ...RichTextCta 40 } 41 } 42 atTheZooCollection(limit: 3) { 43 total 44 items { 45 sys { 46 id 47 } 48 title 49 } 50 } 51 locationNotAtTheZoo 52 planning { 53 json 54 } 55 openingHours { 56 json 57 } 58 prices { 59 json 60 } 61 ageRestrictions { 62 json 63 } 64 thumbnail { 65 ...ImageWithFocalPoint 66 } 67 hideThumbnail 68 overview { 69 title 70 copy { 71 json 72 } 73 } 74 informationCollection(limit: 8) { 75 total 76 items { 77 __typename 78 sys { 79 id 80 } 81 title 82 copy { 83 json 84 } 85 } 86 } 87 partners { 88 ...SectionSponsors 89 } 90 91 sponsorsCollection(limit: 4) { 92 total 93 items { 94 sys { 95 id 96 } 97 title 98 sponsorsCollection(limit: 10) { 99 total 100 items { 101 sys { 102 id 103 } 104 url 105 image { 106 ...Asset 107 } 108 } 109 } 110 } 111 } 112 113 additionalInformation { 114 ...SectionAdditionalInformation 115 } 116 117 contentCollection(limit: 9) { 118 total 119 items { 120 ... on SectionAnchor { 121 __typename 122 slug 123 } 124 125 ... on SectionAccordion { 126 ...SectionAccordion 127 } 128 129 ... on SectionCards { 130 ...SectionCards 131 } 132 133 ... on SectionLargeCards { 134 ...SectionLargeCards 135 } 136 137 ... on SectionTextCta { 138 ...SectionTextCta 139 } 140 141 ... on SectionAttractionsCarousel { 142 ...SectionAttractionsCarousel 143 } 144 145 ... on SectionMediaCarousel { 146 ...SectionMediaCarousel 147 } 148 } 149 } 150 } 151 } 152 } 153 154 ${P} 155 ${M} 156 ${E} 157 ${F} 158 ${R} 159 ${Z} 160 ${q} 161 ${B} 162 ${H} 163 ${z} 164 ${V} 165 166 ${W} 167 ${ht} 168 ${O} 169 ${D} 170 ${K} 171 ${U} 172 ${G} 173 ${J} 174`,gt={key:0,class:"page-event"},vt={class:"page-event__info container"},yt={class:"page-event__info-content"},ft={key:1,class:"page-event__info-accordions"},Ct={key:1,class:"page-event__info-partners"},$t={key:2,class:"page-event__info-additional-information"},kt={class:"page-event__info-sidebar"},Tt={class:"page-event__info-sidebar-wrapper"},At={key:0,class:"page-event__content"},wt={key:0,class:"page-event__content-inner"},Nt={__name:"[slug]",async setup(bt){let r,_;const f=Q(),C=X(),p=Y(),$=h(),{slug:k}=h().params,T=tt(),{page:e,content:u}=([r,_]=et(()=>T.fetchPageAndContent(St,{slug:k},"event")),r=await r,_(),r);return ot(e,s=>{f.setThemeColorForPage(s),ut(s)},{immediate:!0}),nt(()=>{C.isInitialLoad=!0;const s=$.hash;
174if(s){const m=document.querySelector(s);S.to(window,{duration:0,scrollTo:{y:m}})}else p.scrollLocked||S.to(window,{duration:0,scrollTo:0});p.scrollLocked=!1}),(s,m)=>{const A=at,w=ct,b=_t,I=dt,L=lt,j=rt,x=pt,N=mt;return t(e)?(o(),n("article",gt,[a(A,{class:it({"sticky-subnav--hidden":t(e).hideTicketingStickyModule})},null,8,["class"]),a(w,d({"back-link":{title:"Events",to:"/events"},title:t(e).heroSection?.title||t(e).title,type:t(e).heroSection?.type||"Tertiary"},t(e).heroSection),null,16,["title","type"]),l("div",vt,[l("div",yt,[t(e).overview?(o(),n(g,{key:0},[m[0]||(m[0]=l("p",{class:"page-event__info-eyebrow"},"Overview",-1)),t(e).overview?.title?(o(),v(b,{key:0,class:"page-event__info-overview",title:t(e).overview?.title,copy:t(e).overview?.copy},null,8,["title","copy"])):i("",!0),t(e).informationCollection.items&&t(e).informationCollection.items.length>0?(o(),n("ul",ft,[(o(!0),n(g,null,st(t(e).informationCollection.items,c=>(o(),v(I,{key:c.sys.id,title:c.title,copy:c.copy,tag:"li",variant:"module"},null,8,["title","copy"]))),128))])):i("",!0)],64)):i("",!0),t(e).partners?(o(),n("div",Ct,[a(L,d(t(e).partners,{variant:"module"}),null,16)])):i("",!0),t(e).additionalInformation?(o(),n("div",$t,[a(j,d(t(e).additionalInformation,{variant:"module"}),null,16)])):i("",!0)]),l("div",kt,[l("div",Tt,[a(x,{ctas:t(e).ctasCollection?.items||[],"at-the-zoo":t(e).atTheZooCollection.items.map(c=>c.title),locationNotAtTheZoo:t(e).locationNotAtTheZoo,date:t(e).planning,hours:t(e).openingHours,prices:t(e).prices,ages:t(e).ageRestrictions,thumbnail:t(e).thumbnail,"hide-thumbnail":t(e).hideThumbnail,sponsors:t(e).sponsorsCollection},null,8,["ctas","at-the-zoo","locationNotAtTheZoo","date","hours","prices","ages","thumbnail","hide-thumbnail","sponsors"])])])]),t(e).contentCollection.items?.length?(o(),n("div",At,[t(u)?(o(),n("div",wt,[a(N,{items:t(u)},null,8,["items"])])):i("",!0)])):i("",!0)])):i("",!0)}}};export{Nt 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.