1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[88],{53222(z,v,t){t.d(v,{A:()=>D});var e=t(48322),x=t(97154),i=t.n(x),E=t(88194);const N=E.default.li` 2 ${({theme:{colors:o}})=>(0,E.css)` 3 margin: 0; 4 padding: 0; 5 list-style-type: none; 6 .relatedArticleCard__image { 7 height: 200px; 8 9 @media only screen and (min-width: 450px) { 10 height: 160px; 11 } 12 } 13 14 .relatedArticleCard__title { 15 margin-top: 1.6rem; 16 margin-bottom: 0; 17 color: ${o.primary.purple}; 18 text-decoration: underline; 19 } 20 `} 21`;var r=t(54670),T=t(42704);const s=({title:o,uri:w,image:f,fallbackImage:y,className:S})=>o?e.createElement(N,{className:S},e.createElement(T.A,{href:w},(f||y)&&e.createElement(r.A,{className:"relatedArticleCard__image",source:f||y,height:384,quality:70,format:"webp",isBackground:!0}),o&&e.createElement("h4",{className:"relatedArticleCard__title"},o))):null;s.propTypes={title:i().string,uri:i().string,image:i().string,fallbackImage:i().string,className:i().string};const D=s},82948(z,v,t){t.r(v),t.d(v,{default:()=>q});var e=t(48322),x=t(97154),i=t.n(x),E=t(18045),b=t(77610),N=t(40424),r=t(71114),T=t(80030),s=t(42704),D=t(77957),o=t(42965),w=t(9),f=t(12924),y=t(87597),S=t(40627),R=t(50969),V=t(5084),j=t(54151),k=t(67740),I=t(74564),F=t(87023),W=t(75737);const K={composerProps:({composer:n})=>(0,F.FL)(n,W.A),id:"sys.id",slug:"sys.slug",eventCategory:"eventCategory.sys.id",eventDuration:{eventStartDateTime:{$path:"eventDate",$formatting:n=>(0,I.Ay)(n,"d MMMM yyyy, h:mmtt").replace("AM",a=>a.toLowerCase()).replace("PM",a=>a.toLowerCase()).replace(":00",a=>{const d=n.indexOf(a);return n.slice(d,3)})},eventEndDateTime:{$path:"eventEndDate",$formatting:n=>(0,I.Ay)(n,"d MMMM yyyy, h:mmtt").replace("AM",a=>a.toLowerCase()).replace("PM",a=>a.toLowerCase()).replace(":00",a=>{const d=n.indexOf(a);return n.slice(d,3)})},repeatEvent:"repeatEvent",weekdays:"weekdays"},eventInfo:{location:"location",price:"price",submittedBy:"submittedBy"},eventImage:{src:"metaImage.img.asset.sys.uri",fallbackaImage:"",altText:"metaImage.img.altText"},gettingThere:{walkingDirections:"walkingDirections",drivingDirections:"drivingDirections",publicTransportDirections:"publicTransportDirections",cyclingDirections:"cyclingDirections"},socialEmbed:{items:{$path:"globalSocialEmbed",$formatting:n=>n?{twitterName:n.displayTweeterName,height:n.heightForTwitterTimeline,facebookUrl:n.facebookURL,facebookTextButton:n.facebookTextButton}:null}}};var A=t(88194);const C=A.default.div` 22 ${({theme:{colors:n,mediaQueries:a}})=>(0,A.css)` 23 padding: 36px 0; 24 25 .content { 26 margin-bottom: 2.4rem; 27 } 28 .getting-there { 29 margin-top: 8rem; 30 } 31 @media only screen and (min-width: ${a.medium}) { 32 .getting-there 33 margin-top 0; 34 } 35 } 36 .paging-container { 37 margin-top: 36px; 38 position: relative; 39 40 a { 41 position: absolute; 42 font-size: 24px; 43 text-decoration: underline; 44 &.next { 45 right: 0; 46 } 47 &.prev { 48 left: 0; 49 } 50 } 51 } 52 53 .eventInfo { 54 display: flex; 55 flex-direction: column-reverse; 56 row-gap: 2.4rem; 57 58 @media only screen and (min-width: ${a.medium}) { 59 flex-direction: row; 60 margin-bottom: 5.4rem; 61 } 62 } 63 64 .eventInfo__container { 65 .eventInfo__list { 66 display: flex; 67 flex-direction: column; 68 list-style-type: none; 69 @media only screen and (min-width: ${a.medium}) { 70 flex-wrap: nowrap; 71 flex-direction: column; 72 padding: 0; 73 margin: 0; 74 } 75 } 76 .eventInfo__item { 77 box-sizing: border-box; 78 @media only screen and (min-width: ${a.medium}) { 79 display: flex; 80 margin-bottom: 1.6rem; 81 } 82 } 83 } 84 .eventInfoContainer { 85 display: flex; 86 align-items: center; 87 margin-right: 1.6rem; 88 margin-bottom: 1.6rem; 89 @media only screen and (min-width: ${a.medium}) { 90 margin-bottom: 0; 91 } 92 h3 { 93 margin-bottom: 0rem; 94 font-size: 1.6rem; 95 font-weight: 600; 96 } 97 & > span { 98 background-color: ${n.primary.purple}; 99 border-radius: 50%; 100 display: inline-block; 101 height: 2.4rem; 102 margin-right: 1.6rem; 103 width: 2.4rem; 104 } 105 } 106 107 .aside-image { 108 width: 600px; 109 height: 290px; 110 object-fit: cover; 111 } 112 113 .composer__content { 114 h4 { 115 font-weight: 600; 116 margin-bottom: 1.6rem; 117 } 118 // apply the folllowing styles to every component inside the composer 119 .content > * { 120 margin-bottom: 2.6rem; 121 } 122 @media only screen and (min-width: ${a.medium}) { 123 .embed { 124 padding-bottom: 25%; 125 } 126 } 127 iframe { 128 height: 330px; 129 } 130 } 131 132 133 .gettingThere__container { 134 h3 { 135 font-size: 2rem; 136 font-weight: 600; 137 margin-bottom: 1.6rem; 138 } 139 140 ul { 141 display: flex; 142 flex-direction: column; 143 padding: 0; 144 margin: 0; 145 & > li { 146 padding: 0; 147 margin-bottom: 1rem; 148 text-indent: 0; 149 list-style-type: none; 150 text-decoration: underline; 151 a { 152 display: flex; 153 height: 44px; 154 align-items: center; 155 } 156 svg { 157 margin-right: 1.6rem; 158 width: 42px; 159 height: 42px; 160 } 161 } 162 } 163 } 164 165 .share__container { 166 padding: 0; 167 display: flex; 168 align-items: center; 169 margin-top: 2rem; 170 padding-top: 2rem; 171 border-top: 0.2rem dotted ${n.primary.purple}; 172 173 ul { 174 display: flex; 175 padding: 0; 176 & > li { 177 margin: 0; 178 padding: 0; 179 text-indent: 0; 180 list-style-type: none; 181 } 182 } 183 184 & > span { 185 margin-right: 1rem; 186 font-weight: 600; 187 } 188 189 @media print { 190 display: none; 191 } 192 } 193 194 .share__link { 195 display: inline-flex; 196 align-items: center; 197 padding: 1.6rem; 198 } 199 200 svg { 201 color: ${n.primary.black}; 202 } 203 `} 204`;C.defaultProps={theme:{}};const H=C;var G=t(90473),$=t(67443),Y=t(18122),J=t(31785),X=t(53222);const Z=A.default.div` 205 ${({theme:{colors:n,mediaQueries:a}})=>(0,A.css)` 206 margin-top: 3rem; 207 208 .relatedEvents__card-container { 209 display: flex; 210 flex-wrap: wrap; 211 justify-content: space-between; 212 } 213 214 .relatedEvents__card { 215 width: 100%; 216 margin-bottom: 2.4rem; 217 218 &:last-child { 219 margin-bottom: 0; 220 } 221 222 @media only screen and (min-width: 450px) { 223 width: calc(50% - 1.2rem); 224 } 225 226 @media only screen and (min-width: ${a.large}) { 227 width: calc(33.33% - 1.6rem); 228 } 229 } 230 `} 231`,P=({category:n,selfId:a,fallbackImage:d,className:m})=>{const[p,h]=(0,e.useState)();(0,e.useEffect)(()=>{h({id:$.WY.events,mapper:c=>(0,Y.A)(c),excludeIds:a?[a]:[],params:n?{[$.i4.category]:n}:{}})},[n,a]);var{isLoading:g,results:l}
231=(0,J.zK)(p);return!l||l.length===0?null:(l=l.filter(c=>c.id!==a),l=l.slice(0,3),e.createElement(Z,{className:m},e.createElement("h3",null,"Other upcoming events you may like"),e.createElement("div",{className:"relatedEvents__card-container"},l.map(c=>e.createElement(X.A,{key:c.id,className:"relatedEvents__card",title:c.title,uri:c.uri,image:c.image,fallbackImage:d})))))};P.propTypes={category:i().string,selfId:i().string,fallbackImage:i().string,className:i().string};const Q=P,L=({entry:n})=>{var a;if(!n)return null;const{composerProps:d,gettingThere:m,eventDuration:p,eventInfo:h,eventImage:g,fullwidth:l,id:c}=(0,b.Vs)(n,K),M=typeof window!="undefined"?new URLSearchParams(window.location.search):null,U=((a=M==null?void 0:M.get("date"))==null?void 0:a.replaceAll("-"," "))||"",B=(0,E.useSelector)(D.fn),[_,ee]=(0,e.useState)(""),[te,ne]=(0,e.useState)(""),[ae,re]=(0,e.useState)(""),[le,ie]=(0,e.useState)("");return(0,e.useEffect)(()=>{const u=location.origin+B;ee("https://www.facebook.com/sharer/sharer.php?u="+u),ne("https://twitter.com/intent/tweet?url="+u),re("https://www.linkedin.com/shareArticle?mini=true&url="+u),ie("https://api.whatsapp.com/send?text="+u)},[B]),e.createElement(N.A,null,e.createElement(H,null,e.createElement(r.f,null,e.createElement(r.f,null,e.createElement(r.V,{medium:12},e.createElement("h1",null,n.entryTitle))),e.createElement(r.f,{className:"eventInfo"},e.createElement(r.V,{medium:l?12:6},e.createElement("div",{className:"eventInfo__container"},e.createElement("ul",{className:"eventInfo__list"},e.createElement("li",{className:"eventInfo__item"},e.createElement("div",{className:"eventInfoContainer container__dateTime"},e.createElement("span",null,e.createElement(y.A,null)),e.createElement("div",{className:"dateTime__content"},e.createElement("h3",null,"Date and time:"),U||p.eventStartDateTime," ",(()=>{if(!p.eventStartDateTime)return"";const O=p.eventStartDateTime.match(/,\s*(\d{1,2}(?::\d{2})?[ap]m)/);return O?O[1]:""})()))),e.createElement("li",{className:"eventInfo__item"},e.createElement("div",{className:"eventInfoContainer container__price"},e.createElement("span",null,e.createElement(w.A,null)),e.createElement("div",{className:"price__content"},e.createElement("h3",null,"Price:"),h.price))),e.createElement("li",{className:"eventInfo__item"},e.createElement("div",{className:"eventInfoContainer container__location"},e.createElement("span",null,e.createElement(f.A,null)),e.createElement("div",{className:"location__content"},e.createElement("h3",null,"Location:"),h.location))),e.createElement("li",{className:"eventInfo__item"},e.createElement("div",{className:"eventInfoContainer container__submittedBy"},e.createElement("span",null,e.createElement(S.A,null)),e.createElement("div",{className:"submittedBy__content"},e.createElement("h3",null,"Type:"),h.submittedBy)))))),e.createElement(r.V,{medium:l?0:6},e.createElement("img",{src:(g==null?void 0:g.src)!=null?g==null?void 0:g.src:"/image-library/libraries-events-fallback-image.xbc2a2667.jpg",alt:g.altText,className:"aside-image"}))),e.createElement(r.f,{className:"composer__content"},e.createElement(r.V,{medium:12},d&&e.createElement(T.A,{className:"content",content:d}))),e.createElement(r.f,{className:"getting-there"},e.createElement(r.V,{medium:12},e.createElement("div",{className:"gettingThere__container"},Object.keys(m).length!==0&&e.createElement(e.Fragment,null,e.createElement("h3",null,"Getting there"),e.createElement("ul",null,m.walkingDirections&&e.createElement("li",null,e.createElement(s.A,{href:m.walkingDirections,className:"gettingThere__link"},e.createElement(R.A,null),"Walking directions")),m.drivingDirections&&e.createElement("li",null,e.createElement(s.A,{href:m.drivingDirections,className:"gettingThere__link"},e.createElement(k.A,null),"Driving directions")),m.publicTransportDirections&&e.createElement("li",null,e.createElement(s.A,{href:m.publicTransportDirections,className:"gettingThere__link"},e.createElement(V.A,null),"Public transport directions")),m.cyclingDirections&&e.createElement("li",null,e.createElement(s.A,{href:m.cyclingDirections,className:"gettingThere__link"},e.createElement(j.A,null),"Cycling directions"))))))),e.createElement(r.f,null,e.createElement(r.V,null,e.createElement(Q,{selfId:c}))),e.createElement(r.f,{className:"share__container"},e.createElement(r.V,{medium:12},e.createElement("span",null,"Share... "),e.createElement("ul",null,e.createElement("li",null,e.createElement(s.A,{href:_,className:"share__link"},e.createElement(o.A,{name:"facebook",size:16}))),e.createElement("li",null,e.createElement(s.A,{href:ae,className:"share__link"},e.createElement(o.A,{name:"linkedin",size:16}))),e.createElement("li",null,e.createElement(s.A,{href:te,className:"share__link"},e.createElement(o.A,{name:"twitter",size:18}))),e.createElement("li",null,e.createElement(s.A,{href:le,className:"share__link"},e.createElement(o.A,{name:"whatsapp",size:16})))))))))};L.propTypes={entry:i().object,fallbackImage:i().string};const q=(0,G.A)(L)}}]);
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.