PageSourceSearch

https://togather.com/_public/_next/static/chunks/pages/suppliers/%5Bslug%5D-f63222cd086587e2.js

js togather.com collected 2026-10-02 07:50:54 UTC 78,544 bytes, 1,307 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2145],{11827:(e,i,t)=>{"use strict";t.d(i,{p:()=>d});var r=t(37876),a=t(14232),s=t(67628);let n=s.I4.div`
2  display: block;
3  position: relative;
4  width: 100%;
5`,o=s.I4.input`
6  ${({theme:e,fontColor:i,fontStyle:t,width:r,maxWidth:a,hasIcon:n})=>`
7    padding: 0;
8    border: 0;
9    border-radius: 0;
10    -webkit-appearance: none;
11    -moz-appearance: none;
12    appearance: none;
13    outline: 0;
14
15    &:-moz-any(select):-moz-focusring {
16      color: transparent;
17      text-shadow: 0 0 0 #000;
18    }
19
20    width: ${r};
21    height: ${(0,s.a8)(50)};
22    padding-left: ${n?(0,s.a8)(50):(0,s.a8)(12)};
23    background-color: ${e.colors.white};
24    font-variant-ligatures: no-contextual;
25    border: ${(0,s.a8)(1)} solid ${e.colors.mediumGrey};
26    border-radius: ${e.radii[1]};
27    font-color: ${e.colors[i]};
28    ${(0,s.XC)(e,t)};
29    max-width: ${a};
30  `}
31`,l=s.I4.div`
32  position: absolute;
33  left: ${(0,s.a8)(15)};
34  top: 50%;
35  transform: translateY(-50%);
36`,d=(0,a.forwardRef)(({type:e="text",placeholder:i,fontColor:t="black",bg:a,fontStyle:d="bodyMedium",height:c=(0,s.a8)(40),width:p="100%",maxWidth:u="100%",field:m,form:g={touched:[]},icon:h,innerRef:x,ariaLabel:f,readOnly:y,...b},v)=>{let $=m.name,j={type:e,placeholder:i,bg:a,fontColor:t,fontStyle:d,height:c,width:p,maxWidth:u,error:g.touched[$]&&g.errors[$],ref:x??v,"aria-label":f,readOnly:y,hasIcon:!!h,...m};return(0,r.jsxs)(n,{...b,children:[h&&(0,r.jsx)(l,{children:(0,r.jsx)(s.In,{name:h,size:24,fill:"mediumGrey"})}),(0,r.jsx)(o,{...j,autoComplete:"off"})]})});d.displayName="Input"},17011:(e,i,t)=>{"use strict";t.d(i,{V:()=>a});var r,a=((r={}).EVENT_REQUEST="event-request",r.BROWSE="browse",r)},20994:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/suppliers/[slug]",function(){return t(64513)}])},21510:(e,i,t)=>{"use strict";t.d(i,{A:()=>r});let r={Digby:{name:"Digby",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/digby.jpg"},Emily:{name:"Emily",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/emily.jpg"},George:{name:"George",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/george.jpg"},Hugo:{name:"Hugo",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/hugo.jpg"},Josh:{name:"Josh",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/josh.jpg"},Laurence:{name:"Laurence",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/laurence.jpg"},Liv:{name:"Liv",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/liv.jpg"},Mel:{name:"Mel",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/mel.jpg"},Phil:{name:"Phil",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/phil.jpg"},Rory:{name:"Rory",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/am-rory.jpg"},Seb:{name:"Seb",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/am-seb.jpg"},Victoria:{name:"Victoria",image:"https://s3.eu-west-2.amazonaws.com/assets.feast-it.com/am-victoria.jpg"}}},36122:(e,i,t)=>{"use strict";function r(e){return"food"===e}function a(e){return"drink"===e}function s(e){return"venues"===e}function n(e){return"audio_visual"===e}t.d(i,{BM:()=>s,Mw:()=>r,WJ:()=>a,kC:()=>n})},47493:(e,i,t)=>{"use strict";t.r(i),t.d(i,{default:()=>a});var r=t(2193);function a({src:e,width:i,quality:t}){return(0,r.eS)(e,{enabled:(0,r.t2)(),auto:"format",fit:"max",width:i,quality:t??50})}},51441:(e,i,t)=>{"use strict";t.d(i,{Q:()=>o});var r=t(37876);t(14232);var a=t(67628),s=t(33759);let n=(0,a.I4)(s.N)`
37  ${({theme:e})=>`
38    display: flex;
39    flex-direction: row;
40    align-items: center;
41    gap: ${e.spacing[3]};
42
43    padding: ${e.spacing[3]} ${e.spacing[6]};
44    border-bottom: ${(0,a.a8)(1)} solid ${e.colors.mediumGrey};
45
46    ${(0,a.Bi)(e.breakpoints.small)} {
47      padding: ${e.spacing[3]} ${e.spacing[9]};
48    }
49
50    ${(0,a.Bi)(e.breakpoints.medium)} {
51      padding: ${e.spacing[3]} ${e.spacing[10]};
52    }
53
54    &:hover p,
55    &:hover svg {
56      color: ${e.colors.black};
57    }
58  `}
59  );
60`;function o(e){return(0,r.jsxs)(n,{href:e.href,children:[(0,r.jsx)(a.In,{name:"ArrowLeftSmall",fill:"darkGrey",size:20}),(0,r.jsx)(a.EY,{style:"bodyBoldMedium",color:"darkGrey",children:e.text})]})}},62762:(e,i,t)=>{"use strict";t.d(i,{l:()=>n});var r=t(92109),a=t(65323),s=t(90856);function n(e){let{events:i}=(0,a.I)(),{user:t}=(0,r.u)(),{eventId:n,requestId:o}=e.query,l=i.find(e=>e.id===n),d=l?.event_requests.find(e=>e.id===o),c=d?.categories_tier2.name;return{isBrowseFromEventRequest:!!d,event:{id:n,name:(0,s.y3)(l,t?.firstName)},eventRequest:{id:o,tier2:c}}}},64513:(e,i,t)=>{"use strict";t.r(i),t.d(i,{__N_SSP:()=>tP,default:()=>tD});var r=t(37876),a=t(14232),s=t(8788),n=t(91071),o=t(45105),l=t.n(o),d=t(2193),c=t(47048);function p({supplier:e}){if(!e||!e.name||!e.slug||!e.description)return(0,r.jsx)(r.Fragment,{});let i=`https://togather.com/suppliers/${e.slug}`,t=e.images?.[0]?.url?(0,d.WX)(e.images[0].url,!0):void 0,a=()=>e.items&&0!==e.items.length?{"@type":"Menu",name:`${e.name} Menu`,description:`Full menu from ${e.name}`,hasMenuSection:e.items.map(e=>({"@type":"MenuSection",name:e.title||"Menu Section",hasMenuItem:(e.items||[]).map(e=>({"@type":"MenuItem",name:e.name||"Menu Item",...e.description&&{description:e.description}}))}))}:null,s=()=>
60{if(null===e.base_price||void 0===e.base_price)return null;let i="https://togather.com/enquiry",t=new URLSearchParams;return e.tier1&&t.append("tier1",e.tier1),e.slug&&t.append("supplier",e.slug),{"@type":"ReserveAction",name:"Request a Quote",target:{"@type":"EntryPoint",urlTemplate:t.toString()?`${i}?${t.toString()}`:i,actionPlatform:["https://schema.org/DesktopWebPlatform","https://schema.org/MobileWebPlatform"]},priceSpecification:{"@type":"PriceSpecification",price:e.base_price.toString(),priceCurrency:"GBP",valueAddedTaxIncluded:!0,description:"Starting price per guest"}}},n=()=>null===e.base_price||void 0===e.base_price?null:{"@type":"Offer",priceSpecification:{"@type":"PriceSpecification",name:"Starting Price Per Guest",price:e.base_price.toString(),priceCurrency:"GBP",description:"Prices are an estimate and may vary based on package and event size."}},o="https://togather.com",p=`${o}/suppliers/${e.slug}`,u=`${o}/suppliers/${e.slug}#webpage`,m=e.reviews&&0!==e.reviews.length?e.reviews.slice(0,3).map(e=>{let i=new Date().toISOString().split("T")[0];if(e.reviewsExternalEvent?.date){let t=e.reviewsExternalEvent.date;try{let e=new Date(t);isNaN(e.getTime())||(i=e.toISOString().split("T")[0])}catch(e){}}return{"@type":"Review",author:{"@type":"Person",name:e.reviewsExternalEvent?.userFullName||"Anonymous"},datePublished:i,reviewBody:e.fieldPublicComment||"",reviewRating:{"@type":"Rating",ratingValue:(e.averageRating||5).toString()}}}):[],g=e.tier1?({venues:["EventVenue","Place"],venue:["EventVenue","Place"],"event-venue":["EventVenue","Place"],"event-space":["EventVenue","Place"],"mobile-bars":["BarOrPub"],"mobile-bar":["BarOrPub"],bar:["BarOrPub"],drinks:["BarOrPub"],drink:["BarOrPub"],photographers:["ProfessionalService","Organization"],photographer:["ProfessionalService","Organization"],photography:["ProfessionalService","Organization"],photo:["ProfessionalService","Organization"],catering:["FoodEstablishment"],food:["FoodEstablishment"],"food-truck":["FoodEstablishment"],"street-food":["FoodEstablishment"],"food-service":["FoodEstablishment"],staff:["EmploymentAgency"],staffing:["EmploymentAgency"],florists:["Florist"],florist:["Florist"],audio_visual:["ProfessionalService","Organization"],"audio-visual":["ProfessionalService","Organization"],marquees_tents:["LocalBusiness"],"marquees-tents":["LocalBusiness"],marquee:["LocalBusiness"],tent:["LocalBusiness"],virtual:["ProfessionalService","Organization"]})[e.tier1.toLowerCase().trim().replace(/\s+/g,"-").replace(/^the-/,"").replace(/-+/g,"-")]||["LocalBusiness"]:["LocalBusiness"],h=g[0],x={"@context":"https://schema.org","@graph":[{"@type":g.length>1?g:h,"@id":p,name:e.name,url:i,image:t,description:e.description,address:{"@type":"PostalAddress",addressLocality:e.location_city||"London",addressRegion:"England",addressCountry:"GB",streetAddress:[e.location_line_1,e.location_line_2].filter(Boolean).join(", "),postalCode:e.postcode},...s()&&{potentialAction:s()},...a()&&{hasMenu:a()},servesCuisine:(()=>{if(e.tier2&&e.tier2.length>0&&e.tier2[0].name)return e.tier2[0].name;switch(e.tier1?.toLowerCase()){case"food":return"International";case"drink":case"drinks":return"Beverages";default:return e.tier1||"Food & Beverage"}})(),...n()&&{makesOffer:n()},...e.rating?.overall&&e.reviewCount&&{aggregateRating:{"@type":"AggregateRating",ratingValue:e.rating.overall.toString(),reviewCount:e.reviewCount.toString()}},...m.length>0&&e.rating?.overall&&e.reviewCount&&{review:m},brand:{"@type":"Brand",name:e.name,url:i}},{"@type":"WebPage","@id":u,name:`${e.name} | Togather`,url:i,inLanguage:"en-GB",reviewedBy:{"@type":"Organization",name:"Togather",sameAs:c.y.siteUrl}}]};return(0,r.jsx)(l(),{id:"supplier-structured-data-script",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(x)}},`supplier-structured-data-script-${i}`)}var u=t(89099),m=t(54587),g=t.n(m),h=t(67628),x=t(41815),f=t(50595),y=t(43863),b=t(53464),v=t(67958),$=t(81230),j=t(11827),w=t(33759);let k=h.I4.div(({theme:e})=>`
61    padding: ${e.spacing[4]} 0;
62
63    ${(0,h.Bi)(e.breakpoints.small)} {
64      padding: ${e.spacing[6]} 0;
65    }
66  `),I=h.I4.div(({theme:e})=>`
67    display: flex;
68    flex-direction: column;
69    margin-top: ${e.spacing[3]};
70    
71    ${(0,h.Bi)(e.breakpoints.medium)} {
72      flex-direction: row;
73    }
74  `),S=h.I4.div`
75  margin-top: ${({theme:e})=>e.spacing[9]};
76`,B=h.I4.div(({theme:e})=>`
77    display: flex;
78    align-items: center;
79    margin-top: ${e.spacing[2]};
80
81    div:first-child {
82      margin-right: ${e.spacing[2]};
83    }
84  `),E=h.I4.div(({theme:e})=>`
85    width: 100%;
86    margin-top: ${e.spacing[4]};
87
88    ${(0,h.Bi)(e.breakpoints.medium)} {
89      width: ${(0,h.a8)(100)};
90      margin-left: ${e.spacing[4]};
91      margin-top: 0;
92    }
93  `),C=h.I4.div(({theme:e})=>`
94    &:hover svg {
95      color: ${e.colors.darkGrey};
96    }
97  `);function M(e){let[i,t]=(0,a.useState)(!1),s=(0,a.useCallback)(i=>{(0,b.Gu)(y.tM,{"Share Type":i,Supplier:e.name})},[e.name]),n=(0,v.d)(h.$7.breakpoints.medium);return(0,r.jsx)(h.aF,{open:e.open,handleClose:e.handleClose,children:(0,r.jsxs)(k,{children:[(0,r.jsx)(h.EY,{as:"h1",style:n?"headingLarge":"headingMobileLarge",color:"black",children:e.title}),(0,r.jsxs)(I,{children:[(0,r.jsx)(j.p,{field:{name:"share-input",value:e.shareOptions.inputLink(e.slug)},readOnly:!0}),(0,r.jsx)(E,{children:(0,r.jsx)(h.$n,{variant:"solid",color:"black",onClick:()=>{t(!0),navigator.clipboard.writeText(e.shareOptions.inputLink(e.slug)),s("Copy")},isFullWidth:!0,children:i?e.copyButton.copied:e.copyButton.isNotCopied})})]}),(0,r.jsxs)(S,{children:[(0,r.jsx)(h.EY,{style:"bodyBoldMedium",children:e.shareOptions.title}),(0,r.jsxs)(B,{children:[(0,r.jsx)(C,{title:e.shareOptions.whatsapp.title,onClick:()=>s("WhatsApp"),children:(0,r.jsx)(w.N,{href:e.shareOptions.whatsapp.link(e.slug),target:"_blank",rel:"noopener noreferrer",children:(0,r.jsx)(h.In,{name:"Whatsapp",size:24,fill:"black"})})}),(0,r.jsx)(C,{title:e.shareOptions.email.title,onClick:()=>s("Email"),children:(0,r.jsx)(w.N,{href:e.shareOptions.email.link(e.slug),children:(0,r.jsx)(h.In,{name:"Email",size:26,fill:"black"})})})]})]})]})})}let q=h.I4.section`
98  position: relative;
99  overflow: hidden;
100  display: flex;
101  justify-content: center;
102  background-color: ${({theme:e})=>e.colors.black};
103`,R=h.I4.div(({theme:e})=>`
104    position: absolute;
105    z-index: 1;
106    top: ${e.spacing[4]};
107    right: ${e.spacing[4]};
108    display: flex;
109
110    button:first-child {
111      margin-right: ${e.spacing[4]};
112    }
113
114    ${(0,h.Bi)(e.breakpoints.small)} {
115      right: ${e.spacing[8]};
116    }
117
118    ${(0,h.Bi)(e.breakpoints.medium)} {
119      top: ${e.spacing[7]};
120      right: ${e.spacing[9]};
121    }
122  `),_=h.I4.div(({theme:e,hasMultipleImages:i})=>`
123    display: grid;
124    padding: ${e.spacing[4]};
125    grid-template-rows: 1fr 1fr;
126    grid-gap: ${e.spacing[4]};
127    background-color: ${e.colors.black};
128
129    ${(0,h.Bi)(e.breakpoints.medium)} { 
130      ${i&&"grid-template-columns: 2fr 1fr"};
131      height: 50vh;
132      min-height: ${(0,h.a8)(400)};
133      max-height: ${(0,h.a8)(400)};
134    }
135
136    ${(0,h.Bi)(e.breakpoints.large)} { 
137      ${i&&"grid-template-columns: 2fr 1fr 1fr"};
138      height: 60vh;
139      max-height: ${(0,h.a8)(568)};
140    }
141  `),z=h.I4.div`
142  position: relative;
143  width: 100%;
144  height: 320px;
145
146  img {
147    object-fit: cover;
148    width: 100%;
149  }
150
151  * {
152    height: 100%;
153    object-position: center;
154  }
155`,T=h.I4.div(({theme:e})=>`
156    position: relative;
157    width: 100%;
158    height: 100%;
159
160    img {
161      object-fit: cover;
162    }
163
164    > * {
165      transition: ${e.transitions.short};
166    }
167
168    &:hover {
169      > * {
170        opacity: 0.8;
171      }
172    }
173
174    * {
175      height: 100%;
176      object-position: center;
177    }
178  `),P=h.I4.div(({theme:e,isFirst:i})=>`
179    background: ${e.colors.black};
180    cursor: pointer;
181    overflow: hidden;
182    position: relative;
183
184    ${i&&`
185      grid-column: 1;
186      grid-row: 1 / span 2;
187    `}
188  `),D=h.I4.div(({theme:e})=>`
189    display: none;
190
191    ${(0,h.Bi)(e.breakpoints.medium)} {
192      display: flex;
193    }
194  `),L=h.I4.div(({theme:e})=>`
195    position: relative;
196    overflow: hidden;
197
198    max-height: 100%;
199    width: 100%;
200
201    ${(0,h.Bi)(e.breakpoints.medium)} {
202      display: none;
203    }
204  `);function F(e){let i=(0,u.useRouter)(),[t,s]=(0,a.useState)(!1),[n,o]=(0,a.useState)(!1),[l,c]=(0,a.useState)(!1),p=(0,a.useRef)(!1),{data:m}=(0,$.mLx)({skip:!e.isLoggedIn}),[j]=(0,$.s7S)({awaitRefetchQueries:!0,refetchQueries:[$.isZ]}),[w]=(0,$.GS2)({awaitRefetchQueries:!0,refetchQueries:[$.isZ]}),k=(0,v.d)(h.$7.breakpoints.large)?e.images.slice(0,5):e.images.slice(0,3),I=k.length>1,S=()=>{p.current||(p.current=!0,e.onPrimaryImageReady?.())},B=(e,i)=>i?(0,d.au)(e):(0,d.x3)(e);return(0,a.useEffect)(()=>{e.isLoggedIn&&m?.usersMe&&(o(m.usersMe.favourites.some(i=>i.uuid===e.uuid)),c(!0))},[e.isLoggedIn,e.uuid,m]),(0,r.jsxs)(q,{children:[(0,r.jsxs)(R,{children:[(0,r.jsx)(h.$n,{variant:"solid",color:"white",icon:"Share",onClick:()=>s(!0),children:e.shareButton}),(0,r.jsx)(h.$n,{variant:"solid",color:"white",onClick:()=>
204{if(!e.isLoggedIn){let t=i.asPath;(0,b.Gu)(y.hg,{event:"Favourite Added",properties:{Supplier:e.name,"# of Suppliers Favourited":1},loggedIn:!1}),window.location.href=(0,x.ZT)(f.R.login,{redirect:t})}l&&(n?w({variables:{supplierId:e.uuid}}).then(()=>{o(!1)}):j({variables:{supplierId:e.uuid}}).then(()=>{o(!0)}))},icon:n?"HeartSolid":"HeartOutline",children:n?e.favouriteButton.favourited:e.favouriteButton.isNotFavourited}),(0,r.jsx)(M,{open:t,handleClose:()=>s(!1),name:e.name,slug:e.slug,...e.shareModal})]}),(0,r.jsx)(L,{children:(0,r.jsx)(h.FN,{dotOptions:{display:!1},arrowOptions:{size:48,display:h.tB.ALWAYS_ON,color:"black",padding:16},children:e.images.map((i,t)=>(0,r.jsx)(z,{children:(0,r.jsx)(g(),{src:B(i.src,0===t),width:500,height:500,alt:`Hero image for supplier ${e.name}`,"aria-label":`Hero image for supplier ${e.name}`,priority:0===t,loading:0===t?"eager":"lazy",fetchPriority:0===t?"high":void 0,sizes:"100vw",unoptimized:!0,onLoad:0===t?S:void 0})},`hero-carousel-image-${i.id}`))})}),(0,r.jsx)(D,{children:(0,r.jsx)(_,{hasMultipleImages:I,children:k.map((i,t)=>{let a=0===t,s=a?1e3:500,n=a?1e3:500;return(0,r.jsx)(P,{isFirst:a,role:"button",onClick:i.onClick,children:(0,r.jsx)(T,{children:(0,r.jsx)(g(),{src:B(i.src,a),width:s,height:n,alt:`Hero image for supplier ${e.name}`,"aria-label":`Hero image for supplier ${e.name}`,priority:a,loading:a?"eager":"lazy",fetchPriority:a?"high":void 0,sizes:a?"(max-width: 1024px) 100vw, 66vw":"(max-width: 1024px) 50vw, 33vw",unoptimized:!0,onLoad:a?S:void 0})})},`hero-image-${i.src}`)})})})]})}var A=t(51441),Y=t(17011);function G(e){let{href:i,text:t}=(0,a.useMemo)(()=>(e=>{let{event:i,eventRequest:t,isBrowseFromEventRequest:r}=e.context;return i.id&&t.id&&e.query.breadcrumb!==Y.V.BROWSE?{href:e.eventRequestBacklink.link(i.id,t.id),text:e.eventRequestBacklink.text}:{href:(0,x.ZT)(e.normalBacklink.link,{...e.query,breadcrumb:void 0,slug:void 0,quoteId:void 0}),text:r?`Browse ${t.tier2} Suppliers for ${i.name}`:e.normalBacklink.text}})(e),[e]);return Object.values(Y.V).includes(e.query.breadcrumb)?(0,r.jsx)(A.Q,{href:i,text:t}):null}var N=t(59574),O=t.n(N),U=t(75174);let V=h.I4.div`
205  overflow: hidden;
206  display: flex;
207  flex-direction: column;
208  height: 100%;
209
210  padding: ${({theme:e})=>`${e.spacing[10]} 0 ${e.spacing[5]}`};
211
212  ${({theme:e})=>(0,h.Bi)(e.breakpoints.medium)} {
213    padding: ${({theme:e})=>`${e.spacing[10]} ${e.spacing[3]}`};
214  }
215
216  .flickity-enabled {
217    position: relative;
218    height: 100%;
219
220    &:focus {
221      outline: none;
222    }
223  }
224
225  .flickity-viewport {
226    overflow: hidden;
227    position: relative;
228  }
229
230  .flickity-slider {
231    position: absolute;
232    width: 100%;
233    height: 100%;
234  }
235
236  .flickity-enabled.is-draggable {
237    -webkit-tap-highlight-color: transparent;
238    tap-highlight-color: transparent;
239    -webkit-user-select: none;
240    -moz-user-select: none;
241    -ms-user-select: none;
242    user-select: none;
243  }
244
245  .flickity-enabled.is-draggable .flickity-viewport {
246    cursor: move;
247    cursor: -webkit-grab;
248    cursor: grab;
249  }
250
251  .flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
252    cursor: -webkit-grabbing;
253    cursor: grabbing;
254  }
255`,W=h.I4.div`
256  display: block;
257  width: 100%;
258  height: 100%;
259
260  img {
261    position: absolute;
262    width: 100%;
263    height: 100%;
264    object-fit: contain;
265    object-position: center;
266  }
267`,Q=h.I4.div`
268  position: relative;
269  flex-shrink: 0;
270  width: 100%;
271  max-width: ${(0,h.a8)(360)};
272  margin: ${({theme:e})=>e.spacing[8]} auto 0;
273
274  ${({theme:e})=>(0,h.Bi)(e.breakpoints.medium)} {
275    max-width: ${(0,h.a8)(540)};
276  }
277
278  ${({scrollable:e})=>!e&&`
279    display: flex;
280    justify-content: center;
281  `}
282
283  ${({scrollable:e,theme:i})=>e&&`
284    &::before,
285    &::after {
286      content: '';
287      position: absolute;
288      z-index: 1;
289      top: 0;
290      bottom: 0;
291      width: ${(0,h.a8)(50)};
292      pointer-events: none;
293    }
294
295    &::before {
296      left: 0;
297      background: linear-gradient(to right,
298        ${i.colors.white}, rgba(127, 17, 224, 0)
299      );
300    }
301
302    &::after {
303      right: 0;
304      background: linear-gradient(to left,
305        ${i.colors.white}, rgba(127, 17, 224, 0)
306      );
307    }
308  `}
309`,H=h.I4.div`
310  flex: 1;
311  overflow: hidden;
312
313  .flickity-viewport {
314    height: 100% !important;
315  }
316
317  .flickity-prev-next-button {
318    overflow: visible;
319    background: none;
320    border: 0;
321    border-radius: 0;
322    outline: 0;
323    font-family: inherit;
324    font-size: inherit;
325    color: inherit;
326    cursor: pointer;
327    text-decoration: none;
328    display: none;
329
330    &::-moz-focus-inner {
331      border: 0;
332      padding: 0;
333    }
334
335    position: absolute;
336    top: 50%;
337    width: ${(0,h.a8)(48)};
338    height: ${(0,h.a8)(48)};
339    padding: 0;
340    transform: translateY(-50%);
341    transition: opacity ${({theme:e})=>e.transitions.medium};
342
343    ${({theme:e})=>(0,h.Bi)(e.breakpoints.medium)} {
344      display: block;
345    }
346
347    &::before {
348      content: "";
349      display: block;
350      width: ${(0,h.a8)(44)};
351      height: ${(0,h.a8)(44)};
352      margin: 0 auto;
353      border-radius: 50%;
354      background: ${({theme:e})=>e.colors.white};
355    }
356
357    &::after {
358      content: "";
359      position: absolute;
360      top: 50%;
361      left: 50%;
362      width: ${(0,h.a8)(18)};
363      height: ${(0,h.a8)(18)};
364      border: 3px solid ${({theme:e})=>e.colors.black};
365      transform-origin: 0% 0%;
366      transform: rotate(45deg) translate(-50%, -50%);
367    }
368
369    &:hover::after {
370      border-color: ${({theme:e})=>e.colors.mediumBlue};
371    }
372
373    &.previous {
374      left: 0;
375
376      &::after {
377        left: 58%;
378        border-top: 0;
379        border-right: 0;
380      }
381    }
382
383    &.next {
384      right: 0;
385
386      &::after {
387        left: 42%;
388        border-bottom: 0;
389        border-left: 0;
390      }
391    }
392  }
393
394  &:hover {
395    .flickity-prev-next-button {
396      opacity: 1;
397    }
398  }
399
400  .flickity-button-icon {
401    display: none;
402  }
403`;var X=t(2015);function Z(e){let[i,t]=(0,a.useState)(!1),[s,n]=(0,a.useState)(e.isSelected??!1);(0,a.useEffect)(()=>{e.isSelected&&n(!0)},[e.isSelected]);let o=(0,d.au)((e=>{try{return decodeURI(e)}catch(i){return(0,X.l2)(i),e}})(e.src));return s?(0,r.jsx)(U.P.div,{initial:{opacity:0}
403,animate:{opacity:+!!i},children:(0,r.jsx)(g(),{src:o,width:1200,height:800,alt:"Gallery image",onLoad:()=>t(!0),sizes:e.isDesktop?"80vw":"100vw",unoptimized:!0})}):null}let J=h.I4.div`
404  display: inline-flex;
405  width: ${(0,h.a8)(80)};
406  height: ${(0,h.a8)(80)};
407  margin: 0 ${({theme:e})=>e.spacing[1]};
408  border-radius: ${({theme:e})=>e.radii[0]};
409  overflow: hidden;
410  opacity: ${({hasImages:e})=>e?"1":"0.5"};
411  transition: opacity ${({theme:e})=>e.transitions.medium};
412  cursor: pointer;
413  user-select: none;
414
415  ${({isSelected:e})=>e&&`
416    opacity: 1;
417  `}
418
419  &:hover,
420  &.is-selected {
421    opacity: 1;
422  }
423`;function K(e){return(0,r.jsx)(r.Fragment,{children:e.images.map((i,t)=>(0,r.jsx)(J,{role:"button",onClick:()=>e.selectImage(t),isSelected:e.index===t,hasImages:!!e.images.length,children:(0,r.jsx)(g(),{src:(0,d.x3)(i.src),width:80,height:80,alt:"Supplier image","aria-label":"Supplier image",loading:"lazy",unoptimized:!0,style:{objectFit:"cover"}})},`gallery-image-${i.id}`))})}function ee({initialIndex:e=0,...i}){let t=(0,v.d)(h.$7.breakpoints.medium),[s,n]=(0,a.useState)(e),[o,l]=(0,a.useState)(!1),d=(0,a.useRef)(null),c=(0,a.useRef)(null),p=!t||i.images.length>6;(0,a.useEffect)(()=>{d.current&&d.current.on("change",e=>{n(e),p&&c.current&&c.current.select(e)})},[p]),(0,a.useEffect)(()=>{c.current&&c.current.on("ready",()=>{window.dispatchEvent(new Event("resize")),l(!0)})},[]);let u={initialIndex:e,wrapAround:!0,pageDots:!1,disableImagesLoaded:!0},m={index:s,images:i.images,selectImage:e=>{n(e),d.current.select(e)}};return(0,r.jsx)(h.aF,{handleClose:i.handleClose,variant:h.dx.FULLSCREEN,transition:!1,open:!0,children:(0,r.jsxs)(V,{children:[(0,r.jsx)(H,{children:(0,r.jsx)(O(),{options:u,flickityRef:e=>{d.current=e},children:i.images.map((e,i)=>(0,r.jsx)(W,{children:(0,r.jsx)(Z,{src:e.src,isSelected:i===s,isDesktop:t})},`gallery-image-${e.id}`))})}),(0,r.jsx)(Q,{scrollable:p,children:p?(0,r.jsx)(U.P.div,{initial:{opacity:0}
423,animate:{opacity:+!!o},children:(0,r.jsx)(O(),{options:{...u,prevNextButtons:!1,draggable:!1},flickityRef:e=>{c.current=e},children:(0,r.jsx)(K,{...m})})}):(0,r.jsx)(K,{...m})})]})})}function ei(e){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(G,{query:e.query,context:e.context,...e.breadcrumbs}),(0,r.jsx)(F,{images:e.images,name:e.name,slug:e.slug,uuid:e.uuid,user:e.user,isLoggedIn:e.isLoggedIn,onPrimaryImageReady:e.onPrimaryImageReady,...e.hero}),e.galleryIsVisible&&(0,r.jsx)(ee,{images:e.images,initialIndex:e.galleryIndex,handleClose:()=>e.setGalleryIsVisible(!1)})]})}let et=h.I4.text(({theme:e,color:i})=>`
424    ${(0,h.XC)(e,"bodyMedium",i??"black")}
425    
426    white-space: pre-line;
427  `),er=h.I4.div(({theme:e})=>`
428    margin-top: ${e.spacing[6]};
429  `);function ea(e){let[i,t]=a.useState(!1),s=a.useMemo(()=>(0,x.rc)(e.text,e.limit,!0),[e.text,e.limit]);return(0,r.jsxs)(r.Fragment,{children:[e.renderHtml?(0,r.jsx)(h.EY,{color:e.color??"black",style:"bodyMedium",children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:i?e.text:s}})}):(0,r.jsx)(et,{color:e.color??"black",children:i?e.text:s}),e.text!==s&&(0,r.jsx)(er,{children:(0,r.jsx)(h.$n,{variant:"solid",color:"black",icon:i?"ArrowUpSmall":"ArrowDownSmall",iconPosition:"end",onClick:()=>t(!i),children:i?"Read less":"Read more"})})]})}var es=t(89113);let en=h.I4.div(({theme:e})=>`
430    display: flex;
431    justify-content: space-between;
432
433    padding-bottom: ${e.spacing[6]};
434
435    ${(0,h.Bi)(e.breakpoints.medium)} {
436      padding-bottom: ${e.spacing[8]};
437    }
438  `),eo=h.I4.div`
439  flex: 1;
440`,el=h.I4.div(({theme:e})=>`
441    display: flex;
442    align-items: center;
443    margin-top: ${e.spacing[4]};
444
445    ${(0,h.Bi)(e.breakpoints.medium)} {
446      margin-top: ${e.spacing[9]};
447    }
448  `),ed=h.I4.div(({theme:e})=>`
449    margin-top: ${e.spacing[5]}; 
450    display: grid;
451    grid-template-columns: repeat(3, 1fr);
452    width: 100%;
453
454    ${(0,h.Bi)(e.breakpoints.medium)} {
455      display: flex;
456      flex-wrap: wrap;
457      align-items: center;
458    }
459  `),ec=h.I4.div(({theme:e})=>`
460    display: flex;
461    align-items: center;
462    margin-right: ${e.spacing[4]}; 
463    margin-top: ${e.spacing[3]}; 
464
465    ${(0,h.Bi)(e.breakpoints.medium)} {
466      margin-right: ${e.spacing[6]}; 
467    }
468  `),ep=h.I4.div(({theme:e})=>`
469    margin-right: ${e.spacing[2]}; 
470  `),eu=h.I4.div(({theme:e})=>`
471    display: flex;
472    margin-bottom: ${e.spacing[6]}; 
473  `),em=h.I4.div(({theme:e})=>`
474    flex-shrink: 0;
475    height: ${(0,h.a8)(48)};
476    width: ${(0,h.a8)(48)};
477    overflow: hidden;
478    margin-left: ${e.spacing[2]};
479    border-radius: ${e.radii.round};
480    border: ${(0,h.a8)(2)} solid ${e.colors.mediumGrey};
481
482    img {
483      height: 100%;
484      object-fit: cover;
485      object-position: center;
486    }
487
488    ${(0,h.Bi)(e.breakpoints.medium)} {
489      height: ${(0,h.a8)(70)};
490      width: ${(0,h.a8)(70)};
491    }
492  `),eg=h.I4.div(({theme:e})=>`
493    margin: 0 ${e.spacing[2]};
494  `),eh=h.I4.div(({theme:e})=>`
495    margin-bottom: ${e.spacing[1]};
496  `),ex=h.I4.div(({theme:e})=>`
497    display: flex;
498    margin-right: ${e.spacing[6]};
499  `),ef=h.I4.div(({theme:e})=>`
500    margin-right: ${e.spacing[2]};
501  `),ey=h.I4.div(({theme:e,hasCapacity:i})=>`
502    margin-right: ${i?e.spacing[2]:0};
503  `),eb=h.I4.div(({theme:e})=>`
504    border-top: ${(0,h.a8)(1)} solid ${e.colors.mediumGrey};
505    padding-top: ${e.spacing[6]};
506
507    ${(0,h.Bi)(e.breakpoints.medium)} {
508      border-top: none;
509      padding-top: ${e.spacing[8]};
510    }
511  `),ev=h.I4.div(({theme:e})=>`
512    margin-top: ${e.spacing[6]};
513  `),e$=h.I4.div(({theme:e})=>`
514    p {
515      margin-top: ${e.spacing[4]};
516      position: relative;
517
518      white-space: pre-line;
519    }
520  `),ej=h.I4.div(({theme:e})=>`
521    margin-right: ${e.spacing[2]};
522  `),ew=h.I4.button(({theme:e})=>`
523    overflow: visible;
524    padding: 0;
525    background: none;
526    border: 0;
527    border-radius: 0;
528    outline: 0;
529    font-family: inherit;
530    font-size: inherit;
531    color: inherit;
532    cursor: pointer;
533    text-decoration: none;
534
535    &::-moz-focus-inner {
536      border: 0;
537      padding: 0;
538    }
539
540    white-space: nowrap;
541
542    ${(0,h.XC)(e,"bodyMedium","darkGrey")}
543
544    &:hover {
545      color: ${e.colors.black};
546    }
547  `),ek=h.I4.div(({theme:e})=>`
548    display: flex;
549    gap: ${e.spacing[1]};
550  `);var eI=t(21510);let eS=h.I4.div(({theme:e})=>`
551    display: grid;
552    grid-template-columns: 100%;
553    margin-bottom: ${e.spacing[9]};
554    margin-top: ${e.spacing[9]};
555    padding-bottom: ${e.spacing[9]};
556
557    ${(0,h.Bi)(e.breakpoints.medium)} {
558      grid-template-columns: 1fr 1fr;
559      padding-bottom: ${e.spacing[0]};
560    }
561  `),eB=h.I4.div(({theme:e})=>`
562    margin-bottom: ${e.spacing[4]};
563
564    ${(0,h.Bi)(e.breakpoints.medium)} {
565      padding-right: ${e.spacing[8]};
566      margin-bottom: 0;
567    }
568  `),eE=h.I4.div(({theme:e})=>`
569    position: relative;
570    margin: ${e.spacing[4]} 0;
571    display: flex;
572  `),eC=h.I4.p(({theme:e})=>`
573    ${(0,h.XC)(e,"bodyMedium","mediumBlue")}
574    
575    position: relative;
576    line-height: ${(0,h.a8)(64)};
577    font-size: ${(0,h.a8)(80)};
578  `),eM=h.I4.p(({theme:e})=>`
579    position: relative;
580    ${(0,h.XC)(e,"bodyMedium","black")}
581
582    &:after {
583      content: '”';
584    }
585  `),eq=h.I4.div`
586  display: flex;
587  align-items: center;
588`,eR=h.I4.div(({theme:e})=>`
589      width: ${(0,h.a8)(75)};
590      height: ${(0,h.a8)(75)};
591      border-radius: ${e.radii.round};
592      border: ${(0,h.a8)(2)} solid ${e.colors.mediumGrey};
593      overflow: hidden;
594      margin-right: ${e.spacing[6]};
595      box-sizing: border-box;
596
597      img {
598        object-fit: cover;
599        object-position: center;
600        width: 100%;
601        height: 100%;
602      }
603    `),e_=h.I4.div(({theme:e})=>`
604    position: relative;
605    width: 100%;
606    padding: ${e.spacing[2]};
607
608    ${(0,h.Bi)(e.breakpoints.medium)} {
609      padding: 0;
610    }
611  `),ez=h.I4.div`
612  max-height: ${(0,h.a8)(242)};
613  transform: rotate(-3deg);
614  height: 100%;
615
616  img {
617    object-fit: cover;
618    object-position: center;
619    width: 100%;
620    height: 100%;
621  }
622`,eT=h.I4.div(({theme:e})=>`
623    position: absolute;
624    left: ${(0,h.a8)(60)};
625    top: ${(0,h.a8)(200)};
626    padding: ${e.spacing[5]};
627    width: 85%;
628    background-color: ${e.colors.black};
629    transform: rotate(3deg);
630  `);function eP(e){let{quote:i,highlight:t,team_member_name:a}=e.recommendation,s=eI.A[a],n=e.images?.[0],o=`${e.heading} ${e.name}`;return(0,r.jsxs)(eS,{children:[(0,r.jsxs)(eB,{children:[(0,r.jsx)(h.EY,{as:"h2",style:"headingSmall",color:"black",children:o}),(0,r.jsxs)(eE,{children:[(0,r.jsx)(eC,{children:"“"}),(0,r.jsx)(eM,{children:i})]}),(0,r.jsxs)(eq,{children:[(0,r.jsx)(eR,{children:(0,r.jsx)(g(),{src:s.image,height:75,width:75,alt:"Image of Togather team member","aria-label":"Image of Togather team member",loading:"lazy",quality:20})}),(0,r.jsxs)("div",{children:[(0,r.jsx)(h.EY,{style:"bodyMedium",color:"black",children:e.teamMember}),(0,r.jsx)(h.EY,{style:"bodyBoldMedium",color:"black",children:s.name})]})]})]}),(0,r.jsxs)(e_,{children:[n&&(0,r.jsx)(ez,{children:(0,r.jsx)(g(),{src:(0,d.x3)(n.src),width:300,height:220,alt:"Supplier image","aria-label":"Supplier image",loading:"lazy",unoptimized:!0})}),(0,r.jsxs)(eT,{children:[(0,r.jsx)(h.EY,{color:"white",style:"bodyBoldMedium",children:e.highlights}),(0,r.jsx)(h.EY,{color:"white",style:"bodyMedium",children:t})]})]})]})}let eD=h.I4.div(({theme:e})=>`
631  padding: ${e.spacing[5]} 0;
632  gap: ${e.spacing[2]};
633  display: flex;
634  align-items: center;
635
636  ${(0,h.Bi)(e.breakpoints.small)} {
637    gap: ${e.spacing[5]};
638  }
639`),eL=(0,h.I4)(g())(`
640  border-radius: 50%; 
641  max-width: 50px;
642  max-height: 50px;
643`);function eF(e){let i,t,a,s,n=(i=e.supplierName.slice(-1).toLowerCase().charCo
643deAt(0)-97,a=Math.floor(i/Math.ceil(26/(t=["Seb","Liv","Josh","Emily"]).length)),(s=eI.A[t[a]])||eI.A.Liv),o=(0,v.d)(h.$7.breakpoints.small);return(0,r.jsxs)(eD,{children:[(0,r.jsx)(eL,{src:n.image,width:50,height:50,alt:"Supplier image"}),(0,r.jsxs)("div",{children:[(0,r.jsx)(h.EY,{as:"p",style:o?"bodyBoldMedium":"bodyBoldSmall",color:"black",children:"Every one of our suppliers is handpicked"}),(0,r.jsxs)(h.EY,{as:"p",style:o?"bodyMedium":"bodySmall",color:"black",children:["This one was picked by ",n.name]})]})]})}function eA(e){let i=(0,v.d)(h.$7.breakpoints.medium),t=1===e.reviewCount?`1 ${e.introText.reviews.singular}`:`${e.reviewCount.toString()} ${e.introText.reviews.multiple}`;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(en,{children:[(0,r.jsxs)(eo,{children:[(0,r.jsx)(eh,{children:(0,r.jsx)(h.EY,{color:"black",style:i?"display":"displayMobile",as:"h1",children:e.name})}),(0,r.jsx)(h.EY,{style:i?"headingBoldExtraSmall":"headingBoldMobileExtraSmall",color:"darkGrey",children:e.descriptor}),e.location_city&&(0,r.jsx)(h.EY,{style:i?"headingBoldExtraSmall":"headingBoldMobileExtraSmall",color:"darkGrey",as:"span",children:(0,r.jsxs)(ek,{children:[(0,r.jsx)(h.In,{name:"Location",fill:"darkGrey",size:22}),(0,x.Sn)(e.location_city)]})}),!!e.rating&&!!e.reviewCount&&(0,r.jsxs)(el,{children:[(0,r.jsx)(h.EY,{style:"headingBoldExtraSmall",color:"black",children:e.rating.toFixed(1)}),(0,r.jsx)(eg,{children:(0,r.jsx)(es.A,{rating:e.rating,width:(0,h.a8)(152)})}),(0,r.jsx)(ew,{onClick:e.scrollToReviews,children:t})]}),!!e.dietary.length&&(0,r.jsx)(ed,{children:e.dietary.map(e=>(0,r.jsxs)(ec,{children:[(0,r.jsx)(ep,{children:(0,r.jsx)(h.In,{name:h.He[e.toUpperCase().replace(" ","_")],fill:"mediumGreen",size:24})}),(0,r.jsx)(h.EY,{style:"bodyExtraSmall",color:"darkGrey",children:e})]},`dietary-item-${e}`))})]}),!!e.avatar&&(0,r.jsx)(em,{children:(0,r.jsx)(g(),{src:(0,d.x3)(e.avatar),width:75,height:75,alt:"Supplier avatar","aria-label":"Supplier avatar",loading:"lazy",unoptimized:!0})})]}),e.recommendation&&e.shouldLoadDeferredSections&&(0,r.jsx)(eP,{name:e.name,recommendation:e.recommendation,images:e.images,heading:e.recommendationProps.heading,highlights:e.recommendationProps.highlights,teamMember:e.recommendationProps.teamMember}),!e.recommendation&&(0,r.jsx)(eF,{supplierName:e.name}),(!!e.minimumSpend||!!e.capacity)&&(0,r.jsxs)(eu,{children:[!!e.minimumSpend&&(0,r.jsxs)(ex,{children:[(0,r.jsx)(ef,{children:(0,r.jsx)(h.EY,{color:"darkGrey",style:"bodyBoldMedium",children:e.introText.spend.priceFrom})}),(0,r.jsx)(ey,{hasCapacity:!!e.capacity,children:(0,r.jsx)(h.EY,{color:"mediumBlue",style:"bodyBoldMedium",children:`${e.introText.spend.currency}${e.minimumSpend}`})})]}),!!e.capacity&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ej,{children:(0,r.jsx)(h.EY,{color:"darkGrey",style:"bodyBoldMedium",children:e.introText.capacity})}),(0,r.jsx)(h.EY,{color:"mediumBlue",style:"bodyBoldMedium",children:e.capacity.max===e.capacity.min?e.capacity.max:`${e.capacity.min} - ${e.capacity.max}`})]})]}),(0,r.jsxs)(eb,{children:[(0,r.jsx)(h.EY,{style:"headingSmall",color:"black",as:"h2",children:`${e.introText.description} ${e.name}`}),(0,r.jsxs)(e$,{children:[i&&e.plaintextSupplierDescription&&(0,r.jsx)(h.EY,{style:"bodyMedium",color:"black",children:e.description}),i&&!e.plaintextSupplierDescription&&(0,r.jsx)(h.EY,{color:"black",style:"bodyMedium",children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e.description}})}),!i&&(0,r.jsx)(ev,{children:(0,r.jsx)(ea,{text:e.description,limit:240,renderHtml:!e.plaintextSupplierDescription})})]})]})]})}let eY=h.I4.section(({theme:e,firstSection:i})=>`
644    padding: 0 ${e.spacing[6]};
645    margin-bottom: ${e.spacing[9]};
646    margin-top: ${e.spacing[9]};
647    max-width: ${(0,h.a8)(1060)};
648    position: relative;
649    z-index: 1;
650
651    ${(0,h.Bi)(e.breakpoints.medium)} {
652      margin-top: ${e.spacing[11]};
653      margin-bottom: ${e.spacing[11]};
654      padding: 0 ${e.spacing[8]};
655    }
656
657    ${i&&`
658      margin-top: ${e.spacing[4]};
659      `}
660  `),eG=h.I4.div(({theme:e})=>`
661    display: grid;
662
663    ${(0,h.Bi)(e.breakpoints.large)} {
664      grid-template-columns: repeat(10, 1fr);
665    }
666  `),eN=h.I4.div(({theme:e})=>`
667    ${(0,h.Bi)(e.breakpoints.large)} {
668      grid-column: 1 / span 7;
669    }
670  `);function eO(e){return(0,r.jsx)(eY,{firstSection:e.firstSection,children:(0,r.jsx)(eG,{children:(0,r.jsx)(eN,{
670children:e.children})})})}let eU=h.I4.div`
671  display: grid;
672  grid-template-columns: repeat(6, 1fr);
673  grid-gap: ${({theme:e})=>e.spacing[2]};
674`,eV=h.I4.div`
675  grid-column: ${({isFirstRow:e})=>e?"span 2":"span 3"};
676`,eW=h.I4.div(({theme:e,isLastItem:i})=>`
677    position: relative;
678    background: ${e.colors.black};
679    cursor: pointer;
680    width: 100%;
681    height: 100%;
682    max-height: ${(0,h.a8)(120)};
683
684    ${(0,h.Bi)(e.breakpoints.small)} {
685      max-height: ${(0,h.a8)(264)};
686    }
687
688    img {
689      height: 100%;
690      width: 100%;
691      object-fit: cover;
692      object-position: center;
693      transition: ${e.transitions.short};
694    }
695
696    &:hover {
697      img {
698        opacity: 0.8;
699      }
700    }
701
702    ${i&&`
703      img {
704        opacity: 0.3;
705      }
706
707      &:hover {
708        img {
709          opacity: 0.2;
710        }
711      }
712    `}
713  `);h.I4.div`
714  position: absolute;
715  z-index: 1;
716  top: 50%;
717  left: 50%;
718  transform: translate(-50%, -50%);
719`,h.I4.span`
720  display: flex;
721  align-items: center;
722  white-space: nowrap;
723
724  &::after {
725    content: "";
726    margin-left: ${({theme:e})=>e.spacing[1]};
727  }
728`;let eQ=h.I4.div(({theme:e})=>`
729    position: absolute;
730    top: 0;
731    left: 0;
732    display: flex;
733    justify-content: center;
734    align-items: center;
735    height: 100%;
736    width: 100%;
737    z-index: 1;
738    padding: ${e.spacing[6]};
739
740    ${(0,h.Bi)(e.breakpoints.small)} {
741      padding: 0;
742    }
743
744    p {
745      &::after {
746        content: "";
747        margin-left: ${e.spacing[1]};
748      }
749    }
750
751  `);function eH(e){let i=e.imageIndex+1,t=e.imageIndex>=2,a=i===e.totalPreviewImages,s=(0,v.d)(h.$7.breakpoints.medium);return(0,r.jsx)(eV,{isFirstRow:t,children:(0,r.jsxs)(eW,{role:"button",onClick:e.image.onClick,isLastItem:a,"aria-label":e.thumbnailAriaLabel(i),children:[(0,r.jsx)(g(),{src:(0,d.x3)(e.image.src),width:300,height:220,alt:"Supplier image","aria-label":"Supplier image",loading:"lazy",unoptimized:!0}),a&&(0,r.jsxs)(eQ,{children:[(0,r.jsx)(h.EY,{color:"white",style:s?"headingBoldExtraSmall":"headingBoldMobileExtraSmall",children:e.seeTotalImages(e.totalImages)}),(0,r.jsx)(h.In,{size:24,fill:"white",name:"TriangleDown"})]})]})},`supplier-gallery-${e.image.id}`)}function eX(e){let i=e.images.slice(0,5);return(0,r.jsx)(eO,{children:(0,r.jsx)(eU,{children:i.map((t,a)=>(0,r.jsx)(eH,{image:t,imageIndex:a,totalImages:e.images.length,totalPreviewImages:i.length,seeTotalImages:e.seeTotalImages,thumbnailAriaLabel:e.thumbnailAriaLabel},`gallery-image-${t.id}`))})})}var eZ=t(18847);let eJ=t.n(eZ)()(()=>t.e(4568).then(t.bind(t,14568)),{loadableGenerated:{webpack:()=>[14568]},ssr:!1}),eK=h.I4.div`
752  position: relative;
753  background-color: ${({theme:e})=>e.colors.black};
754  padding-top: 56.25%; /* Player ratio: 100 / (1280 / 720) */
755`,e0=(0,h.I4)(eJ)`
756  position: absolute;
757  top: 0;
758  left: 0;
759`;function e1(e){let i=a.useCallback(()=>(0,b.Gu)(y.Lu,{supplier:e.name,source:"Profile"}),[e.name]),t=!!e.videoUrl.includes("vimeo");return(0,r.jsx)(eO,{children:(0,r.jsx)(eK,{children:(0,r.jsx)(e0,{width:"100%",height:"100%",url:e.videoUrl,controls:t,onPlay:i})})})}var e4=t(95881);let e2=h.I4.div(({theme:e})=>`
760    padding-top: ${e.spacing[6]};
761    display: flex;
762    flex-direction: column;
763    gap: ${e.spacing[4]};
764  `),e8=h.I4.div(({theme:e})=>`
765    display: flex;
766    align-items: center;
767    justify-content: space-between;
768    border-radius: ${e.radii[1]};
769    padding: ${e.spacing[4]};
770    background-color: ${e.colors.white};
771  `),e5=h.I4.div(({theme:e})=>`
772    padding-right: ${e.spacing[4]};
773  `),e3=h.I4.div(({theme:e})=>`
774    margin-bottom: ${e.spacing[2]};
775  `),e6=h.I4.h3`
776  ${({theme:e})=>(0,h.XC)(e,"bodyBoldMedium")}
777`,e7=h.I4.div(({theme:e})=>`
778    height: ${(0,h.a8)(100)};
779    width: ${(0,h.a8)(100)};
780    overflow: hidden;
781    flex-shrink: 0;
782    border-radius: ${e.radii[0]};
783
784    ${(0,h.Bi)(e.breakpoints.medium)} {
785      width: ${(0,h.a8)(150)};
786      height: ${(0,h.a8)(150)};
787    }
788
789    img {
790      height: 100%;
791      width: 100%;
792      object-fit: cover;
793      object-position: center;
794    }
795  `),e9=(0,h.I4)(h.EY)`
796  white-space: pre-wrap;
797`;function ie(e){return(0,r.jsxs)(e8,{children:[(0,r.jsxs)(e5,{children:[(0,r.jsx)(e3,{children:(0,r.jsx)(e6,{children:e.item.name})}),(0,r.jsx)(e9,{color:"darkGrey",style:"bodySmall",children:e.item.description})]}),e.item.image&&(0,r.jsx)(e7,{children:(0,r.jsx)(g(),{src:(0,d.x3)(e.item.image.url),width:150,height:150,alt:"Supplier menu item image","aria-label":"Supplier menu item image",loading:"lazy",unoptimized:!0})})]})}let ii=h.I4.section(({theme:e,firstSection:i})=>`
798    padding: 0;
799    max-width: ${(0,h.a8)(1060)};
800    position: relative;
801    z-index: 1;
802
803    display: grid;
804
805    ${(0,h.Bi)(e.breakpoints.large)} {
806      padding: 0 ${e.spacing[8]};
807      grid-template-columns: repeat(10, 1fr);
808    }
809
810    ${i&&`
811      margin-top: ${e.spacing[4]};
812      `}
813  `),it=h.I4.div(({theme:e})=>`
814    padding: ${e.spacing[4]} ${e.spacing[6]};
815    width: 100vw;
816
817    ${(0,h.Bi)(e.breakpoints.small)} {
818      grid-column: 1 / span 7;
819      min-width: 0;
820      border-radius: ${e.radii[1]};
821      width: 100%;
822    }
823
824    background-color: ${e.colors.lightGrey};
825  `);function ir(e){return(0,r.jsx)(ii,{children:(0,r.jsx)(it,{children:(0,r.jsx)("div",{children:e.children})})})}function ia(e){return(0,r.jsx)(e4.B,{children:(0,r.jsx)(ir,{children:(0,r.jsx)(h.tU,{darkTheme:!0,items:e.items.map(e=>({name:e.title,id:`item-group-${e.order}`,content:(0,r.jsx)(e2,{children:e.items.map(e=>(0,r.jsx)(e4.B,{children:(0,r.jsx)(ie,{item:e})},`item-${e.order}`))})}))})})})}var is=t(8557),io=t(58353);function il({supplier:e,reviewSectionRef:i}){let{reviews:t,isLoading:s,page:n,fetchReviews:o}=function(e,i=[]){let[t,r]=(0,a.useState)([]),[s,n]=(0,a.useState)(!0),[o,l]=(0,a.useState)(0),d=(0,a.useMemo)(()=>[...i].sort((e,i)=>{let t=e.updated?new Date(e.updated).getTime():0;return(i.updated?new Date(i.updated).getTime():0)-t}).reduce((e,{reviewsExternalEvent:i,quotes:t,source:r,averageRating:a,fieldPublicComment:s,authenticated:n})=>{if(r===$.iNo.Booking){let i=t?.event_requests?.events,{firstName:r,lastName:o}=i?.users??{};return[...e,{author:r&&o?`${r} ${o}`:"Anonymous",eventDate:i?.date??(0,io.m8)("2019-08-08",new Date).toISOString(),eventType:i?.type??"Corporate",rating:a,text:s,verified:n}]}return[...e,{author:i?.userFullName?`${i?.userFullName}`:"Anonymous",eventDate:i?.date??(0,io.m8)("2019-08-08",new Date).toISOString(),eventType:i?.eventType??"Corporate",rating:a,text:s,verified:n}]},[]),[i]),c=(0,a.useCallback)(async(i,t)=>{o===i||(l(i),n(!0),t&&e.current.scrollIntoView({behavior:"smooth"}),r((0,is.yk)(d,i,5)),setTimeout(()=>{n(!1)},400))},[d,e,o]);return(0,a.useEffect)(()=>{c(1,!1)},[i]),{reviews:t,isLoading:s,page:o,fetchReviews:c}}(i,e?.reviews);return(0,is.cD)(t)?(0,r.jsx)(eO,{children:(0,r.jsx)(h.Kf,{reviewCount:e.reviewCount,ratings:e?.rating??{},reviewSectionRef:i,isLoading:s,page:n,reviews:t,fetchReviews:o})}):null}var id=t(85484);let ic=h.I4.div`
826  height: ${(0,h.a8)(400)};
827`,ip=h.I4.div(({theme:e})=>`
828    padding-bottom: ${e.spacing[2]}
829  `);function iu({center:e,children:i}){let t=a.useRef(null),[s,n]=a.useState(null);return a.useEffect(()=>{t.current&&!s&&n(new google.maps.Map(t.current,{center:e,zoom:16,scrollwheel:!1}))},[t,s,e]),(0,r.jsx)(ic,{ref:t,id:"map",children:a.Children.map(i,e=>a.isValidElement(e)?a.cloneElement(e,{map:s}):e)})}function im(e){let[i,t]=a.useState();return a.useEffect(()=>(i||t(new google.maps.Marker),()=>{i&&i.setMap(null)}),[i]),a.useEffect(()=>{i&&i.setOptions(e)},[i,e]),null}function ig(e){let i=`${e.supplier.location_line_1}, ${e.supplier.location_city}, ${e.supplier.postcode}`;return(0,r.jsx)(eO,{children:(0,r.jsxs)("div",{onClick:()=>{(0,b.Gu)(y._B,{supplier:e.supplier})},children:[(0,r.jsx)(ip,{children:(0,r.jsx)(h.EY,{style:"bodyMedium",color:"black",children:i})}),(0,r.jsx)(id.mO,{apiKey:"AIzaSyA70IihEsZOm2c-uGv-e8_ASbT4QCDyqOE",children:(0,r.jsx)(iu,{center:e.supplier.coordinates,children:(0,r.jsx)(im,{position:e.supplier.coordinates})})})]})})}let ih=h.I4.div(({theme:e})=>`
830    padding-bottom: ${e.spacing[3]};
831  `),ix=h.I4.div`
832  position: relative;
833`;function iy(e){let i=(0,v.d)(h.$7.breakpoints.medium);return(0,r.jsx)(eO,{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ih,{children:(0,r.jsx)(h.EY,{style:i?"headingSmall":"headingMobileSmall",color:"black",children:e.heading})}),(0,r.jsx)(ix,{children:(0,r.jsx)("iframe",{title:"Virtual Tour",width:"100%",height:"480",src:`${e.matterportUrl}&nt=1&tourcta=2&mt=0&mls=1`,allowFullScreen:!0})})]})})}let ib=h.I4.div`
834  background: ${({theme:e})=>e.colors.black};
835  border-radius: ${({theme:e})=>e.radii[1]};
836  height: 100%;
837  opacity: 0;
838  position: absolute;
839  top: 0;
840  transition: ${({theme:e})=>e.transitions.short};
841  width: 100%;
842
843  &:hover {
844    opacity: 0.2;
845  }
846`,iv=h.I4.div(({theme:e})=>`
847    border-radius: ${e.radii[1]};
848    padding: ${e.spacing[4]};
849    background-color: ${e.colors.white};
850    margin-bottom: ${e.spacing[2]};
851  `),i$=h.I4.div(({theme:e})=>`
852    display: flex;
853    flex-direction: column;
854    align-items: flex-start;
855    justify-content: space-between;
856
857    ${(0,h.Bi)(e.breakpoints.small)} {
858      flex-direction: row;
859    }
860  `),ij=h.I4.div(({theme:e,isImageryAvailable:i})=>`
861    display: flex;
862    flex-direction: column;
863    order: 2;
864
865    h3 {
866      margin-bottom: ${e.spacing[2]};
867    }
868
869    ${(0,h.Bi)(e.breakpoints.small)} {
870      order: 1;
871      ${i&&`margin-right: ${e.spacing[4]}`}
872    }
873  `),iw=h.I4.div(({theme:e})=>`
874    display: flex;
875    margin-top: ${e.spacing[4]};
876  `),ik=h.I4.div(({theme:e})=>`
877    margin-right: ${e.spacing[1]};
878  `),iI=h.I4.div(({theme:e})=>`
879    cursor: pointer;
880    position: relative;
881    flex-shrink: 0;
882    order: 1;
883    width: 100%;
884    margin-bottom: ${e.spacing[4]};
885
886    ${(0,h.Bi)(e.breakpoints.small)} {
887      margin-bottom: 0;
888      width: ${(0,h.a8)(150)}
889    }
890
891    ${(0,h.Bi)(e.breakpoints.medium)} {
892      order: 2;
893    }
894
895    img {
896      crop: center;
897      fit: crop;
898      height: ${(0,h.a8)(150)}
899    }
900  `),iS=h.I4.div(({theme:e})=>`
901    border-radius: ${e.radii[1]};
902    height: ${(0,h.a8)(150)};
903    width: 100%;
904    overflow: hidden;
905
906    ${(0,h.Bi)(e.breakpoints.small)} {
907      height: ${(0,h.a8)(160)};
908      width: ${(0,h.a8)(150)};
909    }
910
911    img {
912      height: 100%;
913      width: 100%;
914      object-fit: cover;
915      object-position: center;
916    }
917  `),iB=h.I4.div(({theme:e})=>`
918    position: absolute;
919    bottom: 0;
920    width: 100%;
921    z-index: 1;
922    background-color: ${e.colors.black};
923    padding: ${e.spacing[1]};
924    border-bottom-left-radius: ${e.radii[1]};
925    border-bottom-right-radius: ${e.radii[1]};
926    display: flex;
927    justify-content: center;
928  `),iE=h.I4.div(({theme:e})=>`
929    margin-top: ${e.spacing[4]};
930    padding-top: ${e.spacing[4]};
931    border-top: ${(0,h.a8)(1)} solid #BAC8DB;
932
933    h4 {
934      margin-bottom: ${e.spacing[4]};
935    }
936  `),iC=h.I4.div(({theme:e})=>`
937    display: grid;
938    grid-gap: ${e.spacing[4]};
939    grid-template-columns: 1fr 1fr;
940
941    ${(0,h.Bi)(e.breakpoints.small)} {
942      grid-template-columns: repeat(3, 1fr);
943    }
944
945    ${(0,h.Bi)(e.breakpoints.medium)} {
946      grid-template-columns: repeat(4, 1fr);
947    }
948
949    ${(0,h.Bi)(e.breakpoints.extraLarge)} {
950      grid-template-columns: repeat(5, 1fr);
951    }
952  `),iM=h.I4.div(({theme:e})=>`
953    display: flex;
954    align-items: center;
955
956    svg {
957      margin-right: ${e.spacing[2]};
958    }
959  `),iq=h.I4.p(({theme:e})=>`
960    ${(0,h.XC)(e,"bodySmall","darkGrey")}
961
962    white-space: pre-wrap;
963  `);function iR(e){let[i,t]=(0,a.useState)(!1),s=!!e.space.images.length,n=e.space.images.map(e=>({src:e})),o=n.length,l=1===o?"1 image":`${o} images`,c=e.spaceText.spend.currency+e.space.minSpend;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(iv,{children:[(0,r.jsxs)(i$,{children:[(0,r.jsxs)(ij,{isImageryAvailable:s,children:[(0,r.jsx)(h.EY,{as:"h3",color:"black",style:"bodyBoldMedium",children:e.space.name}),(0,r.jsx)(iq,{children:e.space.description}),0!==e.space.minSpend&&(0,r.jsxs)(iw,{children:[(0,r.jsx)(ik,{children:(0,r.jsx)(h.EY,{color:"black",style:"bodyBoldMedium",children:e.spaceText.spend.priceFrom})}),(0,r.jsx)(h.EY,{color:"mediumBlue",style:"bodyBoldMedium",children:c})]})]}),s&&(0,r.jsxs)(iI,{onClick:()=>t(!0),children:[(0,r.jsx)(iS,{children:(0,r.jsx)(g(),{src:(0,d.x3)(n[0].src),height:160,width:500,alt:"Venue image","aria-label":"Venue image",loading:"lazy",unoptimized:!0})}),(0,r.jsx)(iB,{children:(0,r.jsx)(h.EY,{color:"white",style:"bodySmall",children:l})}),(0,r.jsx)(ib,{})]})]}),!!e.space.capacities.length&&(0,r.jsxs)(iE,{children:[(0,r.jsx)(h.EY,{as:"h4",color:"black",style:"bodyBoldMedium",children:e.spaceText.capacity}),(0,r.jsx)(iC,{children:e.space.capacities.map(e=>(0,r.jsxs)(iM,{children:[(0,r.jsx)(h.In,{fill:"mediumBlue",name:e.format,size:24}),(0,r.jsxs)(h.EY,{color:"black",style:"bodySmall",children:[e.maxCapacity,"\xa0"]}),(0,r.jsx)(h.EY,{color:"darkGrey",style:"bodySmall",children:e.format})]},`capcity-${e.format.toString()}`))})]})]}),i&&(0,r.jsx)(ee,{images:n,handleClose:()=>t(!1)})]})}let i_=h.I4.div(({theme:e})=>`
964    padding-top: ${e.spacing[6]};
965    display: flex;
966    flex-direction: column;
967    gap: ${e.spacing[4]};
968  `);function iz(e){return(0,r.jsx)(e4.B,{children:(0,r.jsx)(ir,{children:(0,r.jsx)(h.tU,{darkTheme:!0,items:e.spaces.map(i=>({name:i.name,id:`space-group-${i.order}`,content:(0,r.jsx)(i_,{children:i.spaces.map(i=>(0,r.jsx)(e4.B,{children:(0,r.jsx)(iR,{space:i,spaceText:e.spaceText})},`space-${i.order}`))})}))})})})}var iT=t(23042),iP=t(12319),iD=t(79966),iL=t(74018);let iF="Check out this cool event supplier I found!",iA={metaData:{title:"Book on Togather",schemaType:"Supplier",path:f.R.supplierProfile},header:{breadcrumbs:{normalBacklink:{text:"Back to browse",link:f.R.browse},eventRequestBacklink:{text:"Back to request",link:f.R.customerEventRequest}},hero:{shareButton:"Share",favouriteButton:{favourited:"Favourited",isNotFavourited:"Favourite"},shareModal:{title:"Share profile",copyButton:{copied:"Copied",isNotCopied:"Copy"},shareOptions:{title:"Or share using one of these channels:",inputLink:e=>`https://togather.com${f.R.supplierProfile(e)}`,whatsapp:{title:"Share by WhatsApp",link:e=>`https://wa.me/?text=${iF} https://togather.com ${f.R.supplierProfile(e)}`},email:{title:"Share by email",link:e=>`mailto:?subject=${iF}&body=${iF} https://togather.com ${f.R.supplierProfile(e)}`}}}}},profileDetails:{supplierProfileUrl:f.R.supplierProfile,supplierDocs:{error:"There was a problem with your request. Please get in touch.",heading:"Supplier documents & certificates",documentButton:"View",profileButton:"View Profile"},intro:{reviews:{singular:"Review",multiple:"Reviews"},spend:{priceFrom:"From",currency:"\xa3"},capacity:"Capacity",description:"About"}
968,venueSpaces:{spend:{priceFrom:"From",currency:"\xa3"},capacity:"Capacity"},venueMatterport:{heading:"Virtual Tour"},reviews:{header:{heading:"Review",headingMultiple:"Reviews",quality:"Quality",value:"Value for money",friendliness:"Friendliness",professionalism:"Professionalism"},review:{bookedBy:"booked this supplier for a",verifiedBooking:"Verified booking"}},recommendation:{heading:"Why we love",teamMember:"Loved by Togather member",highlights:"Highlights"},gallery:{seeTotalImages:e=>`See ${e} images`,thumbnailAriaLabel:e=>`View image ${e} in image gallery`}}},iY=["Your payment is held safely until after your successful event","Flexible monthly payment plan, with deposits from 10%","Best in-class protection in the event of a cancellation","Replacement supplier guarantee via Protect+"],iG=["A dedicated venue expert will handle your booking","Every venue has been handpicked","We negotiate on your behalf","Book your venue, food & drink in one place"],iN=h.I4.div`
969  ${({theme:e})=>`
970    background-color: ${e.colors.lightGrey};
971    border-radius: ${e.radii[1]};
972    padding: ${e.spacing[6]} ${e.spacing[3]};
973    display: flex;
974    flex-direction: column;
975    align-items: center;
976    gap: ${(0,h.a8)(10)};
977    text-align: center;
978    align-self: center;
979    width: calc(100vw - ${e.spacing[6]});
980    
981    ${(0,h.Bi)(e.breakpoints.small)} {
982        align-self: stretch;
983        width: 100%;
984    }
985 `};
986`,iO=h.I4.ul`
987  text-align: left;
988  width: 100%;
989  max-width: ${(0,h.a8)(400)};
990  display: flex;
991  flex-direction: column;
992  gap: ${(0,h.a8)(10)};
993`,iU=h.I4.li`
994  ${({theme:e})=>`
995    display: flex;
996    gap: ${e.spacing[2]};
997  `};
998`;function iV({children:e}){return(0,r.jsxs)(iU,{children:[(0,r.jsx)(h.In,{name:"Tick",size:24,fill:"mediumBlue"}),(0,r.jsx)(h.EY,{style:"bodySmall",color:"black",as:"span",children:e})]})}function iW({isVenuesSupplier:e}){return(0,r.jsxs)(iN,{children:[(0,r.jsx)(h.In,{name:"Togather",size:32,fill:"black"}),(0,r.jsx)(h.EY,{style:"headingExtraSmall",color:"black",as:"h3",children:"Why book with Togather?"}),(0,r.jsx)(iO,{children:(e?iG:iY).map((e,i)=>(0,r.jsx)(iV,{children:e},i))})]})}let iQ=h.I4.div(({theme:e})=>`
999    display: flex;
1000    align-items: center;
1001    background-color: ${e.colors.togatherBlue};
1002    padding: ${e.spacing[4]};
1003
1004    svg {
1005      margin-right: ${e.spacing[2]};
1006    }
1007    
1008    ${(0,h.Bi)(e.breakpoints.small)} {
1009      border-radius: 0 0 ${e.radii[1]} ${e.radii[1]};
1010    }
1011  `);function iH({activeQuotesNo:e,supplierName:i}){return(0,r.jsxs)(iQ,{children:[(0,r.jsx)(h.In,{name:"ArrowRight",fill:"black",size:22}),(0,r.jsxs)(h.EY,{style:"bodyMedium",children:[(0,r.jsxs)(h.EY,{style:"bodyBoldMedium",color:"black",as:"span",children:[e,"\xa0"]}),(0,r.jsxs)(r.Fragment,{children:["people are reviewing quotes from ",i," right now!"]})]})]})}let iX=h.I4.div(({theme:e})=>`
1012    display: flex;
1013    flex-direction: column;
1014    overflow: hidden;
1015    
1016    ${(0,h.Bi)(e.breakpoints.small)} {
1017      border-radius: ${e.radii[1]};
1018    }
1019
1020    ${(0,h.Bi)(e.breakpoints.large)} {
1021      border: ${(0,h.a8)(1)} solid ${e.colors.mediumGrey}; 
1022    }
1023  `),iZ=h.I4.div(({theme:e})=>`
1024    display: flex;
1025    justify-content: center;
1026    padding: ${e.spacing[4]};
1027    background: ${e.colors.black};
1028
1029    ${(0,h.Bi)(e.breakpoints.small)} {
1030      border-radius: ${e.radii[1]} ${e.radii[1]} 0 0;
1031    }
1032
1033    ${(0,h.Bi)(e.breakpoints.large)} {
1034      justify-content: start;
1035    }
1036    
1037    h2 {
1038      margin: 0;
1039      overflow: hidden;
1040      text-overflow: ellipsis;
1041    }
1042  `),iJ=h.I4.div(({theme:e,isTextCentred:i,isActiveQuotesVisible:t})=>`
1043    display: flex;
1044    flex-direction: column;
1045    justify-content: center;
1046    align-items: center;
1047    padding: ${e.spacing[4]};
1048    gap: ${e.spacing[4]};
1049    background: ${e.colors.white};
1050    text-align: ${i?"center":"left"};
1051
1052    ${(0,h.Bi)(e.breakpoints.small)} {
1053      border-radius: ${t?0:`0 0 ${e.radii[1]} ${e.radii[1]}`};
1054    }
1055    
1056    p {
1057      margin: 0;
1058      width: 100%;
1059      overflow: hidden;
1060      overflow-wrap: break-word;
1061    }
1062  `),iK=h.I4.div(({theme:e})=>`
1063    display: flex;
1064    flex-direction: column;
1065    gap: ${e.spacing[4]};
1066    width: 100%;
1067  `);function i0({supplierName:e,text:i,isTextCentred:t,isPushTextVisible:a,activeQuotesNo:s,children:n,basePrice:o}){return(0,r.jsxs)(iX,{children:[(0,r.jsx)(iZ,{children:(0,r.jsxs)(h.EY,{as:"h2",style:"headingBoldExtraSmall",color:"white",children:["Book ",e]})}),(0,r.jsxs)(iJ,{isTextCentred:t,isActiveQuotesVisible:!!s,children:[(0,r.jsx)(h.EY,{style:"bodyBoldMedium",color:"black",children:i}),(0,r.jsx)(h.ZB,{price:o,textProps:{style:"bodyBoldMedium",color:"black"}}),(0,r.jsx)(iK,{children:n}),a&&(0,r.jsx)(h.EY,{style:"bodyBoldSmall",color:"black",as:"span",children:"It only takes 2 minutes!"})]}),s>=10&&(0,r.jsx)(iH,{activeQuotesNo:s,supplierName:e})]})}let i1=async(e,i)=>{let{data:t}=await i.get(`/event-requests/${e}`);return t},i4=async(e,i,t)=>{let r=await i1(e,t);return r?.preferred_suppliers?.includes(i)||!1};var i2=t(63731),i8=t(9234);let i5=h.I4.div`
1068  ${({theme:e})=>(0,i8.css)`
1069    width: 100%;
1070    display: flex;
1071    flex-direction: column;
1072    gap: ${e.spacing[6]};
1073    padding-top: ${e.spacing[6]};
1074    text-align: center;
1075    align-items: center;
1076
1077    ${(0,h.Bi)(e.breakpoints.small)} {
1078      padding-top: 0;
1079    }
1080  `}
1081`,i3=h.I4.div`
1082  ${({theme:e})=>(0,i8.css)`
1083    display: flex;
1084    flex-direction: row;
1085    gap: ${e.spacing[4]};
1086  `}
1087`;function i6({heading:e,description:i,handleDialogClose:t,handleDialogCancel:a,isModalOpen:s}){return(0,r.jsx)(e4.B,{children:(0,r.jsx)(h.aF,{variant:h.dx.STANDARD,open:s,handleClose:a,children:(0,r.jsxs)(i5,{children:[(0,r.jsx)(h.In,{fill:"black",name:"Phone",size:64}),(0,r.jsx)("header",{children:(0,r.jsx)(h.DZ,{as:"h3",style:"headingMedium",color:"black",children:e})}),(0,r.jsx)(h.wv,{condition:!!i,children:(0,r.jsx)(h.EY,{style:"bodyMedium",color:"darkGrey",children:i})}),(0,r.jsxs)(i3,{children:[(0,r.jsx)(h.$n,{variant:"solid",color:"mediumBlue",onClick:()=>t(),children:"That's fine"}),(0,r.jsx)(h.$n,{type:"button",variant:"outline",color:"black",onClick:()=>t(f.R.settings),children:"Review my settings"})]})]})})})}var i7=t(93811),i9=t(36122);let te=(e,i)=>{localStorage.setItem(e,JSON.stringify(i))};var ti=t(39951),tt=t(90577);function tr({supplier:e,eventRequest:i,activeQuotesNo:t}){let[s,n]=(0,a.useState)(!1),[o,l]=(0,a.useState)(!1),[d,c]=(0,a.useState)(i?.preferred_suppliers?.includes(e.uuid)||!1),{addNotification:p}=(0,h.E$)(),{openModal:u,closeModal:m,isModalOpen:g}=(0,i7.A)(),{storedLocalStorageValue:x,setLocalStorageValue:f}=((e,i={})=>{let[t,r]=(0,a.useState)(()=>{try{return JSON.parse(localStorage.getItem(e))||i}catch(e){return(0,X.l2)(e),i}});return{storedLocalStorageValue:t,setLocalStorageValue:t=>{try{r(t),te(e,t)}catch(t){(0,X.l2)(t),r(i),te(e,i)}}}})(ti.S$,!1),[y]=(0,$.zHt)();(0,a.useEffect)(()=>{let t=async()=>{try{let t=await i4(i.id,e.uuid,i2.F);c(t)}catch(e){(0,X.l2)(e,{message:"Failed to update if quote was requested"}),c(!1),n(!1)}};s&&o&&t().catch(e=>{(0,X.l2)(Error("Failed to update quote requested status",e))})},[i,o,s,e.uuid]);let b=async()=>{n(!0);try{let t=await y({variables:{supplierUuid:e.uuid,requestUuid:i.uuid}});t?.data?.createDirectRequest?.uuid&&((0,tt.Gf)({requestUuid:i.uuid,supplierUuid:e.uuid}),l(!0))}catch(e){n(!1),(0,X.l2)(e,{message:"createDirectRequest failed"}),p({type:"error",message:"We're sorry, your request wasn't submitted. Please try again.",closeButtonColor:"black"})}},v=async()=>{!x&&(0,i9.BM)(i.tier2.parent)?u():await b()},j=async e=>{await b(),f(!0),e?window.location.href=e:m()};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i6,{heading:"Venues you request can give you a call directly",description:"To get the details right first time, some Venues like to understand your needs over the phone before sending a quote.",handleDialogClose:j,handleDialogCancel:m,isModalOpen:g}),(0,r.jsx)(i0,{supplierName:e.name,text:s||d?`We've contacted ${e.name} about your event - you should hear from them soon`:`Request a quote from ${e.name} for this event`,activeQuotesNo:t,basePrice:(0,iD.I7)(e.tier1,e.base_price),children:(0,r.jsx)(h.$n,{color:"mediumBlue",variant:"solid",onClick:v,isFullWidth:!0,isDisabled:s||d,"data-testid":"request-quote-button",children:"Request a quote"})})]})}var ta=t(92109),ts=t(65323);let tn=h.I4.div(({theme:e})=>(0,i8.css)`
1088    display: flex;
1089    flex-direction: column;
1090    gap: ${e.spacing[3]};
1091
1092    max-height: 100%;
1093    overflow-y: auto;
1094  `),to=h.I4.div(({theme:e})=>(0,i8.css)`
1095    display: flex;
1096    flex-direction: column;
1097    margin-bottom: ${e.spacing[3]};
1098    gap: ${e.spacing[2]};
1099
1100    h2 {
1101      padding-right: ${e.spacing[10]};
1102    }
1103  `),tl=h.I4.ul(({theme:e})=>(0,i8.css)`
1104    display: flex;
1105    flex-direction: column;
1106    gap: ${e.spacing[4]};
1107  `),td=h.I4.li(({theme:e})=>(0,i8.css)`
1108    display: flex;
1109    flex-direction: row;
1110    align-items: center;
1111
1112    gap: ${e.spacing[3]};
1113    padding: ${e.spacing[4]};
1114    min-height: 78px;
1115
1116    border: 1px solid ${e.colors.mediumGrey};
1117    border-radius: 8px;
1118
1119    cursor: pointer;
1120
1121    &:hover {
1122      background: ${e.colors.lightGrey};
1123    }
1124  `),tc=(0,h.I4)(h.EY)`
1125  flex: 1 1 auto;
1126`,tp=(0,h.I4)(td)`
1127  padding: 0;
1128`,tu=(0,h.I4)(h.N_)(({theme:e})=>(0,i8.css)`
1129    display: flex;
1130    flex-direction: row;
1131    align-items: center;
1132
1133    gap: ${e.spacing[3]};
1134    padding: ${e.spacing[4]};
1135
1136    height: 100%;
1137    width: 100%;
1138  `);var tm=t(36011),tg=t(90856);function th({events:e,supplier:i,user:t,onEventSelected:s}){let n=(0,a.useMemo)(()=>(0,x.ZT)(f.R.enquiryForm,{supplier:i.slug}),[i]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(to,{children:[(0,r.jsx)(h.DZ,{style:"headingMedium",as:"h2",children:"Which event is this quote for?"}),(0,r.jsx)(h.EY,{style:"headingExtraSmall",color:"darkGrey",children:"Choose an existing event or create a new one"})]}),(0,r.jsxs)(tl,{children:[e.map(e=>(0,r.jsxs)(td,{onClick:()=>s(e.id),children:[(0,r.jsx)(h.In,{name:tm.F[e.type],size:24,fill:"black"}),(0,r.jsxs)("div",{children:[(0,r.jsx)(h.EY,{style:"bodyBoldMedium",children:(0,tg.y3)(e,t.firstName)}),(0,r.jsx)(h.EY,{style:"bodySmall",color:"darkGrey",children:(0,io.hy)((0,tg.bh)(e))})]})]},e.id)),(0,r.jsx)(tp,{children:(0,r.jsxs)(tu,{href:n,children:[(0,r.jsx)(h.In,{name:"Add",size:24,fill:"mediumBlue"}),(0,r.jsx)(h.EY,{style:"bodyBoldMedium",children:"Add Event"})]})},"new-event")]})]})}function tx({event:e,supplier:i,onEventRequestSelected:t}){let s=(0,a.useMemo)(()=>(0,x.ZT)(f.R.enquiryForm,{eventId:e.id,supplier:i.slug}),[i,e]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(to,{children:[(0,r.jsx)(h.DZ,{style:"headingMedium",as:"h2",children:"You have a request for this event, would you like to add it to this one?"}),(0,r.jsx)(h.EY,{style:"headingExtraSmall",color:"darkGrey",children:"Choose an existing request or create a new one"})]}),(0,r.jsxs)(tl,{children:[e.event_requests?.map(a=>{let s=a.preferred_suppliers.includes(i.uuid),n=a.categories_tier2.name,o=`${n} request ${e.event_requests.filter(e=>e.categories_tier2.name===n).length>1?`(${a.tags[0]})`:""}`;return(0,r.jsxs)(td,{onClick:()=>t(a.uuid),children:[(0,r.jsx)(h.In,{name:c.y.icons.tier1[a.categories_tier2.parent],size:24,fill:s?"mediumGrey":"black"}),(0,r.jsx)(tc,{style:"bodyBoldMedium",color:s?"mediumGrey":"black",children:o}),s&&(0,r.jsx)(h.EY,{style:"bodyBoldMedium",color:"mediumGrey",children:"requested"})]},a.id)}),(0,r.jsx)(tp,{children:(0,r.jsxs)(tu,{href:s,children:[(0,r.jsx)(h.In,{name:"Add",size:24,fill:"mediumBlue"}),(0,r.jsxs)(h.EY,{style:"bodyBoldMedium",children:["Add additional ",i.tier2[0].name.toLocaleLowerCase()," ","request"]})]})},"new-event")]})]})}function tf({supplier:e,isModalOpen:i,closeModal:t}){let{upcomingEvents:s,refetchEvents:n}=(0,ts.I)(),{user:o}=(0,ta.u)(),{addNotification:l}=(0,h.E$)(),[d]=(0,$.zHt)(),[c,p]=(0,a.useState)(null),u=(0,a.useMemo)(()=>s.find(e=>e.id===c),[c,s]),m=async i=>{let t=await d({variables:{requestUuid:i,supplierUuid:e.uuid}});t?.data?.createDirectRequest?.uuid?((0,tt.Gf)({requestUuid:i,supplierUuid:e.uuid}),l({type:"success",message:`${e.name} has been sent a request for a quote`,closeButtonColor:"white",color:"white"}),g(),n()):l({type:"error",message:`We couldn't send ${e.name} a request for a quote, please retry later`,bg:"red",closeButtonColor:"white",color:"white"})},g=()=>{p(null),t()};return(0,r.jsx)(h.aF,{open:i,handleClose:g,children:(0,r.jsx)(tn,{children:c?(0,r.jsx)(tx,{event:u,supplier:e,onEventRequestSelected:m}):(0,r.jsx)(th,{events:s,supplier:e,user:o,onEventSelected:e=>p(e)})})})}function ty({supplier:e,activeQuotesNo:i}){let{openModal:t,closeModal:a,isModalOpen:s}=(0,i7.A)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i0,{supplierName:e.name,text:`Request a quote from ${e.name} for one of your existing requests or create a new request`,activeQuotesNo:i,basePrice:(0,iD.I7)(e.tier1,e.base_price),children:(0,r.jsx)(h.$n,{color:"mediumBlue",variant:"solid",onClick:t,is
1138FullWidth:!0,children:"Request a quote"})}),(0,r.jsx)(tf,{isModalOpen:s,closeModal:a,supplier:e})]})}function tb(e){return e.eventRequest?(0,r.jsx)(tr,{...e}):(0,r.jsx)(ty,{supplier:e.supplier,activeQuotesNo:e.activeQuotesNo})}let tv=h.I4.div`
1139  position: absolute;
1140  margin-top: ${({marginTop:e})=>(0,h.a8)(e)};
1141`,t$=(0,h.I4)(U.P.div)`
1142  position: sticky;
1143  z-index: 1;
1144  top: ${(0,h.a8)(24)};
1145  display: flex;
1146  flex-direction: column;
1147  gap: ${({theme:e})=>e.spacing[5]};
1148`;h.I4.div(({theme:e})=>`
1149
1150  ${(0,h.Bi)(e.breakpoints.small)} {
1151    border-radius: ${e.radii[1]};
1152  }
1153
1154  ${(0,h.Bi)(e.breakpoints.large)} {
1155    border: ${(0,h.a8)(1)} solid ${e.colors.mediumGrey}; 
1156  }
1157
1158    & + & {
1159      margin-top: ${({theme:e})=>e.spacing[4]};
1160    }
1161  `),h.I4.div(({theme:e})=>`
1162    padding: ${e.spacing[4]};
1163    background: ${e.colors.white};
1164  `),h.I4.div(({theme:e})=>`
1165    display: flex;
1166    justify-content: center;
1167    padding: ${e.spacing[4]};
1168    background: ${e.colors.black};
1169
1170    ${(0,h.Bi)(e.breakpoints.small)} {
1171      border-radius: ${e.radii[1]} ${e.radii[1]} 0 0;
1172    }
1173
1174    ${(0,h.Bi)(e.breakpoints.large)} {
1175      justify-content: start;
1176    }
1177  `),h.I4.div(({theme:e})=>`
1178    display: flex;
1179    flex-direction: column;
1180    justify-content: center;
1181    align-items: center;
1182    padding: 0 ${e.spacing[4]} ${e.spacing[4]} ${e.spacing[4]};
1183    background: ${e.colors.white};
1184
1185    ${(0,h.Bi)(e.breakpoints.small)} {
1186      border-radius: 0 0 ${e.radii[1]} ${e.radii[1]};
1187    }
1188    
1189    form {
1190      width: 100%;
1191    }
1192  `);let tj=(0,h.I4)(U.P.div)(({theme:e})=>`
1193    position: fixed;
1194    z-index: 5;
1195    bottom: 0;
1196    left: 0;
1197    right: 0;
1198    border-top: ${(0,h.a8)(1)} solid ${e.colors.togatherBlue};
1199    background: ${e.colors.white};
1200    padding: ${e.spacing[5]} ${e.spacing[4]};
1201
1202    ${(0,h.Bi)(e.breakpoints.small)} {
1203      padding: ${e.spacing[5]} ${e.spacing[8]};
1204    }
1205
1206    ${(0,h.Bi)(e.breakpoints.medium)} {
1207      padding: ${e.spacing[5]} ${e.spacing[9]};
1208    }
1209
1210    ${(0,h.Bi)(e.breakpoints.large)} {
1211      display: none;
1212    }
1213  `),tw=async e=>{let{data:i}=await i2.F.get(`/bookings-v2/${e}/getConversation`);if(i?.uuid)return f.R.conversation(i?.uuid)};function tk({supplierName:e,eventId:i,quoteId:t,requestId:s,activeQuotesNo:n}){let[o,l]=(0,a.useState)(null);return(0,a.useEffect)(()=>{(async()=>{l(await tw(t))})()},[t]),(0,r.jsxs)(i0,{supplierName:e,text:`You have a quote from ${e}`,activeQuotesNo:n,isTextCentred:!0,children:[(0,r.jsx)(h.z9,{href:f.R.customerQuote(i,s,t),color:"mediumBlue",variant:"solid",isFullWidth:!0,children:"View quote"}),(0,r.jsx)(h.z9,{href:o,color:"mediumBlue",variant:"outline",isFullWidth:!0,children:"Message supplier"})]})}function tI({supplierName:e,enquiryParams:i,activeQuotesNo:t,basePrice:a}){return(0,r.jsx)(i0,{supplierName:e,text:`Tell us about your event to get a quote from ${e} and other handpicked suppliers on Togather.`,activeQuotesNo:t,isPushTextVisible:!0,basePrice:a,children:(0,r.jsx)(h.z9,{href:(0,x.ZT)(f.R.enquiryForm,{...i}),color:"mediumBlue",variant:"solid",isFullWidth:!0,children:"Request a quote"})})}function tS(e){let{upcomingEvents:i,hasLoadedEvents:t}=(0,ts.I)(),[s,n]=(0,a.useState)(0),[o,l]=(0,iP.Wx)({threshold:0}),d=(0,a.useRef)(null),c={supplier:e.query.slug,tags:(0,iL._j)(e.query["tags[]"]),postcode:e.query.postcode,date:e.query.date},{eventId:p,requestId:u,quoteId:m}=e.query;(0,a.useEffect)(()=>{(async()=>{n(await (0,iD.mK)(e.supplier.uuid))})().catch(e=>(0,X.l2)(e))},[e.supplier.uuid]);let g=e.isLoggedIn&&m&&p&&u,x=e.isLoggedIn&&i.length>0,f=0===i.length;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(tv,{ref:d,marginTop:-80}),(0,r.jsx)(iT.N,{children:(0,r.jsx)(h.wv,{condition:t||!e.isLoggedIn,children:(0,r.jsxs)(t$,{initial:{y:"20px",opacity:0},animate:{y:0,opacity:1},exit:{opacity:0},ref:o,children:[g&&(0,r.jsx)(tk,{supplierName:e.supplier?.name,requestId:u,eventId:p,quoteId:m,activeQuotesNo:s}),x&&!m&&(0,r.jsx)(tb,{supplier:e.supplier,eventRequest:e.eventRequest,activeQuotesNo:s}),f&&(0,r.jsx)(tI,{supplierName:e.supplier.name,enquiryParams:c,activeQuotesNo:s,basePrice:(0,iD.I7)(e.supplier.tier1,e.supplier.base_price)}),(0,r.jsx)(iW,{isVenuesSupplier:"venues"===e.supplier.tier1})]})})}),(0,r.jsx)(iT.N,{children:!l&&(0,r.jsx)(tj,{initial:{bottom:-140},animate:{bottom:0},exit:{bottom:-140},children:(0,r.jsx)(h.$n,{color:"mediumBlue",variant:"solid",size:"large",onClick:()=>{d.current.scrollIntoView({behavior:"smooth"})},isFullWidth:!0,children:"Request a quote"})})})]})}let tB=h.I4.div`
1214  display: grid;
1215  justify-content: center;
1216  z-index: 0;
1217`,tE=h.I4.div(({theme:e,isRightColumn:i})=>`
1218    z-index: 1;
1219
1220    ${(0,h.Bi)(e.breakpoints.large)} {
1221      grid-row: 1;
1222      grid-column: 1;
1223      z-index: 0;
1224      ${i&&`
1225        margin-left: auto;
1226        width: min-content;
1227      `}
1228    }
1229  `),tC=h.I4.aside(({theme:e})=>`
1230    height: 100%;
1231    padding: ${e.spacing[8]} 0;
1232
1233    ${(0,h.Bi)(e.breakpoints.small)} {
1234      background-color: ${e.colors.lightGrey};
1235      padding: ${e.spacing[8]} ${e.spacing[8]};
1236    }
1237
1238    ${(0,h.Bi)(e.breakpoints.medium)} {
1239      padding: ${e.spacing[8]} ${e.spacing[9]};
1240    }
1241
1242    ${(0,h.Bi)(e.breakpoints.large)} {
1243      background-color: transparent;
1244      margin-top: ${(0,h.a8)(-160)};
1245      padding: 0;
1246    }
1247  `),tM=h.I4.div(({theme:e})=>`
1248    display: grid;
1249    height: 100%;
1250    max-width: ${(0,h.a8)(1060)};
1251    z-index: 0;
1252    position: relative;
1253
1254    ${(0,h.Bi)(e.breakpoints.large)} {
1255      width: ${(0,h.a8)(295)};
1256    }
1257  `),tq=h.I4.div(({theme:e})=>`
1258    height: 100%;
1259
1260    ${(0,h.Bi)(e.breakpoints.large)} {
1261      grid-column: 8 / span 3;
1262    }
1263  `);function tR(e){let i,t,s="venues"===e.supplier.tier1?((i=[]).push((0,r.jsx)(ig,{supplier:e.supplier}
1263,"venue-map")),e.spaces?.length&&i.push((0,r.jsx)(iz,{spaces:e.spaces,spaceText:e.venueSpaces})),e.supplier.matterportUrl&&i.push((0,r.jsx)(iy,{matterportUrl:e.supplier.matterportUrl,...e.venueMatterport},"venue-matterport")),e.supplier.videoUrl&&i.push((0,r.jsx)(e1,{name:e.supplier.name,videoUrl:e.supplier.videoUrl},"venue-video")),e.supplier.reviewCount&&i.push((0,r.jsx)(il,{supplier:e.supplier,reviewSectionRef:e.reviewSectionRef},"venue-reviews")),e.supplier.images?.length>=6&&i.push(e.shouldLoadDeferredSections?(0,r.jsx)(eX,{images:e.supplier.images,seeTotalImages:e.gallery.seeTotalImages,thumbnailAriaLabel:e.gallery.thumbnailAriaLabel},"venue-gallery"):null),i):(t=[],e.supplier.videoUrl&&t.push((0,r.jsx)(e1,{name:e.supplier.name,videoUrl:e.supplier.videoUrl},"supplier-video")),e.supplier.images?.length>=6&&t.push(e.shouldLoadDeferredSections?(0,r.jsx)(eX,{images:e.supplier.images,seeTotalImages:e.gallery.seeTotalImages,thumbnailAriaLabel:e.gallery.thumbnailAriaLabel},"supplier-gallery"):null),e.supplier.items?.length&&t.push((0,r.jsx)(ia,{items:e.supplier.items},"supplier-items")),e.supplier.reviewCount&&t.push((0,r.jsx)(il,{supplier:e.supplier,reviewSectionRef:e.reviewSectionRef},"supplier-reviews")),t);return(0,r.jsxs)(tB,{children:[(0,r.jsxs)(tE,{children:[(0,r.jsx)(eO,{firstSection:!0,children:(0,r.jsx)(eA,{name:e.supplier.name,avatar:e.supplier.avatar,description:e.supplier.description,rating:e.supplier.rating?.overall,reviewCount:e.supplier.reviewCount,dietary:e.supplier.dietary,descriptor:e.supplier.descriptor,scrollToReviews:e.scrollToReviews,plaintextSupplierDescription:e.plaintextSupplierDescriptions,minimumSpend:e.minimumSpend,capacity:e.capacity,introText:e.intro,images:e.supplier.images,recommendation:e.supplier.recommendation,recommendationProps:{...e.recommendation},location_city:e.supplier.location_city,shouldLoadDeferredSections:e.shouldLoadDeferredSections})}),(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)(h.y$,{color:"mediumBlue",size:64}
1263),children:s.filter(Boolean).map(e=>e)})]}),(0,r.jsx)(a.Suspense,{fallback:(0,r.jsx)(h.y$,{color:"mediumBlue",size:64}),children:(0,r.jsx)(tE,{isRightColumn:!0,children:(0,r.jsx)(tC,{children:(0,r.jsx)(tM,{children:(0,r.jsx)(tq,{children:(0,r.jsx)(tS,{supplier:e.supplier,eventRequest:e.eventRequest,query:e.query,user:e.user,isLoggedIn:e.isLoggedIn,pathname:e.pathname})})})})})})]})}var t_=t(73331),tz=t(56156),tT=t(62762),tP=!0;let tD=e=>{let{user:i,isLoggedIn:t}=(0,a.useContext)(tz.Rs),[o,l]=(0,a.useState)(!1),c=(0,tT.l)(e),{supplier:m,spaces:g,galleryIsVisible:h,setGalleryIsVisible:f,galleryIndex:y,minimumSpend:b,capacity:v,scrollToReviews:$,reviewSectionRef:j,pathname:w}=function(e){var i;let t,r,s=(0,u.useRouter)().asPath,n=(i=e.supplierData,t=[],i?.space_groups?.forEach(e=>{let i=[];e?.venue_spaces.forEach(e=>{let t=[];e.space_tags.forEach(e=>{t.push({format:e.tags.name,maxCapacity:e.max_capacity})});let r=e?.supplier_images_spaces?.map(e=>e.supplier_images.url?(0,d.WX)(e.supplier_images.url):null).filter(e=>null!=e&&""!==e)??[];i.push({capacities:t,description:e.description,images:r,minSpend:(0,t_.denominationToCurrency)(e.min_spend_pennies),name:e.name,order:e.order})});let r=(0,iL.Ul)(i,"order").filter(e=>!!e.description?.length&&!!e.name?.length);t.push({name:e.title,order:e.order,spaces:r})}),(0,iL.Ul)(t,"order").filter(e=>!!e.spaces.length)),[o,l]=(0,a.useState)(!1),[c,p]=(0,a.useState)(0),m=(0,a.useRef)(null),g=(0,a.useMemo)(()=>({uuid:e.supplierData?.uuid,name:e.supplierData?.name,slug:e.supplierData?.slug,avatar:"string"==typeof e.supplierData?.profile_picture?(0,d.WX)(e.supplierData.profile_picture):e.supplierData?.profile_picture,description:e.supplierData?.description,descriptor:e.supplierData?.tagline,images:(e.supplierData?.images??[])?.map((e,i)=>({src:e.url?(0,d.WX)(e.url):"",onClick:()=>((e=0)=>{p(e),l(!0)})(i),id:e.id})),rating:e.supplierData?.rating,reviews:e.supplierData?.reviews,reviewCount:e.supplierData?.reviewCount,dietary:e.supplierData?.dietary,logistics:e.supplierData?.setup_details,recommendation:e.supplierData?.recommendation,matterportUrl:e.supplierData?.matterport_url,videoUrl:e.supplierData?.video_url,items:(0,iL.Ul)((e.supplierData?.items||[]).map(e=>({...e,items:(0,iL.Ul)([...e.items],"order")})),"order"),tier1:e.supplierData?.tier1,tier2:e.supplierData?.tier2,coordinates:{lat:e.supplierData?.coordinates.lat,lng:e.supplierData?.coordinates.lon},location_line_1:e.supplierData?.location_line_1,location_line_2:e.supplierData?.location_line_2,location_city:e.supplierData?.location_city,postcode:e.supplierData?.postcode,base_price:e.supplierData?.base_price}),[e.supplierData]);return{galleryIsVisible:o,setGalleryIsVisible:l,galleryIndex:c,supplier:g,isVenueSupplier:"venues"===g.tier1,spaces:n,minimumSpend:(r=Math.min(...n.map(e=>Math.min(...e.spaces.reduce((e,i)=>[...e,i.minSpend],[])))))===1/0||0===r?void 0:r,capacity:(e=>{let i=e.map(e=>e.spaces.map(e=>e.capacities.reduce((e,i)=>[...e,i.maxCapacity],[]))).flat(2),t=Math.max(...i),r=Math.min(...i);if(t!==-1/0||r!==1/0)return{max:t,min:r}})(n),reviewSectionRef:m,scrollToReviews:()=>{m.current.scrollIntoView({behavior:"smooth"})},pathname:s}}(e);return(0,a.useEffect)(()=>{if(o)return;let e=window.setTimeout(()=>{l(!0)},1200);return()=>window.clearTimeout(e)},[o]),(0,r.jsxs)(s.P,{showFooter:!0,showHeader:!0,children:[(0,r.jsx)(n.W,{title:iA.metaData.title,subtitle:`${m.name.replaceAll('"',"")} - ${m.descriptor?.replaceAll('"',"")}`,description:(0,x.$J)(m.description).replaceAll('"',""),image:m.images?.[0]?.src,averageRating:m.rating?.overall&&m.rating?.overall>0?m.rating?.overall:4.9,reviewCount:m.reviewCount||680,schemaType:iA.metaData.schemaType,path:iA.metaData.path(m.slug)}),(0,r.jsx)(p,{supplier:e.supplierData}),(0,r.jsx)(ei,{images:m.images,name:m.name,slug:m.slug,uuid:m.uuid,galleryIndex:y,galleryIsVisible:h,setGalleryIsVisible:f,user:i,isLoggedIn:t,query:e.query,context:c,onPrimaryImageReady:()=>l(!0),...iA.header}),(0,r.jsx)(tR,{supplier:m,spaces:g,scrollToReviews:$,plaintextSupplierDescriptions:!0,minimumSpend:b,capacity:v,supplierProfileUrl:iA.profileDetails.supplierProfileUrl,reviewSectionRef:j,eventRequest:e.eventRequest,user:i,isLoggedIn:t,query:e.query,pathname:w,shouldLoadDeferredSections:o,...iA.profileDetails})]})}},79966:(e,i,t)=>{"use strict";t.d(i,{I7:()=>o,NF:()=>s,mK:()=>n}),t(4103);var r=t(30404),a=t(63731);let s=async e=>a.F.get(`/suppliers/slug/${e}`),n=async e=>a.F.get(`/suppliers/${e}/activity`).then(({data:e})=>e?.rollingQuoteCount).catch(()=>null),o=(e,i)=>r.ep.includes(e)||!i?null:i},89113:(e,i,t)=>{"use strict";t.d(i,{A:()=>l});var r=t(37876),a=t(14232),s=t(67628);let n=s.I4.div`
1264  ${({width:e})=>`width: ${e}`};
1265  display: flex;
1266  justify-content: space-between;
1267`,o=s.I4.div(({size:e})=>`
1268    height: ${(0,s.a8)(e)};
1269    width: ${(0,s.a8)(e)};
1270  `);function l({rating:e=0,color:i="mediumYellow",size:t=24,...l}){let[d,c]=a.useState([]);return(0,a.useEffect)(()=>{c((e=>{let i=Math.round(2*e)/2,t=[];for(let e=0;e<5;e++)i===e+.5?t.push("StarHalf"):i>e?t.push("StarFull"):t.push("StarOutline");return t})(e))},[e]),(0,r.jsx)(n,{...l,children:d.map((e,a)=>"StarOutline"===e?(0,r.jsx)(o,{size:t},`${String(e)}${a}`):(0,r.jsx)(s.In,{name:e,fill:i,size:t},`${String(e)}${a}`))})}},90856:(e,i,t)=>{"use strict";t.d(i,{bh:()=>r,y3:()=>a});let r=e=>e.date??e.eventDate??e.timings?.date??null,a=(e,i)=>e?.custom_event_name??`${i}'s ${e?.type}`},91071:(e,i,t)=>{"use strict";t.d(i,{W:()=>d});var r=t(37876);t(14232);var a=t(77328),s=t.n(a),n=t(45105),o=t.n(n),l=t(47048);function d({title:e="Togather",subtitle:i,description:t="Discover, compare and easily book high quality street food caterers for your event.",image:a="https://images.prismic.io/togather-public/6865703a-ad7c-42a1-837c-eb4a7755f79b_Meta+Image.png",path:n="",type:d="website",averageRating:c=4.9,schemaType:p="LocalBusiness",reviewCount:u=680,noIndexNoFollow:m=!1}){let g=`${l.y.siteUrl}${n}`,h=i?`${i} - ${e}`:e,x=`
1271  {
1272    "@context": "https://schema.org",
1273    "@type": "${p}",
1274    "aggregateRating": {
1275      "@type": "AggregateRating",
1276      "ratingValue": "${c}",
1277      "reviewCount": "${u}"
1278    },
1279    "name": "Togather",
1280    "description": "${t}",
1281    "url": "${g}",
1282    ${"Product"!==p?`"currenciesAccepted": "GBP",
1283          "paymentAccepted": "Credit Card, Debit Card, PayPal",
1284          "openingHours": "Mo-Su",
1285          "address": {
1286            "@type": "PostalAddress",
1287            "addressLocality": "London",
1288            "addressCountry": "GB",
1289            "postalCode": "E1 5JL",
1290            "streetAddress": "68-80 Hanbury Street"
1291          },`:""}
1292    "sameAs": [
1293      "https://www.facebook.com/togathereventsuk",
1294      "https://twitter.com/togatherevents",
1295      "https://uk.linkedin.com/company/togatherevents",
1296      "https://www.instagram.com/togatherevents_/"
1297    ],
1298    "image": [
1299      "${a}"
1300    ]
1301    ${"Product"===p?`,
1302      "brand": {
1303        "@type": "Service",
1304        "name": "Togather"
1305      }`:""}
1306  }
1307`,f=l.y.noIndexNoFollow||m;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(s(),{children:[(0,r.jsx)("title",{children:h}),f&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"}),(0,r.jsx)("meta",{name:"description",content:t}),(0,r.jsx)("meta",{property:"og:title",content:h}),(0,r.jsx)("meta",{property:"og:description",content:t}),(0,r.jsx)("meta",{property:"og:image",content:a}),(0,r.jsx)("meta",{property:"og:type",content:d}),(0,r.jsx)("meta",{property:"og:url",content:g}),(0,r.jsx)("meta",{property:"og:site_name",content:"Togather"}),(0,r.jsx)("meta",{name:"facebook-domain-verification",content:"rhl9vedef2uwjuhubv5kcxzmddp1kf"}),(0,r.jsx)("link",{rel:"canonical",href:g}),(0,r.jsx)("link",{rel:"alternate",hrefLang:"en-gb",href:g})]}),"Supplier"!==p&&(0,r.jsx)(o(),{id:"structured-data-script",type:"application/ld+json",dangerouslySetInnerHTML:{__html:x}},`structured-data-script-${g}`)]})}},93811:(e,i,t)=>{"use strict";t.d(i,{A:()=>a});var r=t(14232);let a=()=>{let[e,i]=(0,r.useState)(!1),t=(0,r.useCallback)(()=>i(!1),[]);return{openModal:(0,r.useCallback)(()=>i(!0),[]),closeModal:t,isModalOpen:e}}},95881:(e,i,t)=>{"use strict";t.d(i,{B:()=>n});var r=t(37876),a=t(54180),s=t(67628);function n({children:e}){return(0,r.jsx)(a.ThemeProvider,{theme:s.$7,children:e})}}},e=>{e.O(0,[2414,4587,1651,4768,8788,636,6593,8792],()=>e(e.s=20994)),_N_E=e.O()}]);

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.