1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5499],{77975:function(e,a,t){"use strict";var n,i=t(52983);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}a.Z=function(e){return i.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:17.694,height:17.694},e),n||(n=i.createElement("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round","data-name":"Icon feather-search"},i.createElement("path",{d:"M15.155 7.828A7.328 7.328 0 1 1 7.828.5a7.328 7.328 0 0 1 7.328 7.328Z","data-name":"Path 715"}),i.createElement("path",{d:"m16.987 16.987-3.984-3.984","data-name":"Path 716"}))))}},47900:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return S}});var n,i,l=t(97458),o=t(31536),s=t(40511),r=t(2638),c=t.n(r),d=t(11579),h=t(52983),u=t(35212),m=t(71212),p=t(74743),v=t(86919),_=t(94021),f=t(76142),g=t(38461),x=t.n(g),b=t(55408),j=t.n(b),B=t(38399),y=t(89070);function w(){return(w=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var P=function(e){return h.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:20.742,height:20.742},e),n||(n=h.createElement("g",{fill:"none",stroke:"#444f56",strokeLinecap:"round",strokeLinejoin:"round","data-name":"Icon feather-compass"},h.createElement("path",{d:"M20.242 10.371A9.871 9.871 0 1 1 10.371.5a9.871 9.871 0 0 1 9.871 9.871Z","data-name":"Path 1179"}),h.createElement("path",{d:"m14.557 6.186-2.093 6.278-6.278 2.093 2.093-6.278Z","data-name":"Path 1180"}))))};function Z(){return(Z=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var k=function(e){return h.createElement("svg",Z({xmlns:"http://www.w3.org/2000/svg",width:21.891,height:19.137},e),i||(i=h.createElement("g",{fill:"#444f56","data-name":"Group 1629"},h.createElement("path",{d:"M9.578 7.859v-.572a.713.713 0 0 1 .8-.8c.068 0 .136-.007.219-.011v-.652c-.082-.005-.163-.014-.244-.014H8.02c-.388 0-.488-.1-.489-.5 0-.45-.087-.535-.543-.535H5.856A1.01 1.01 0 0 1 4.8 3.712v-.984H3.445v1c.054.016.118.035.183.056a.676.676 0 0 1 .483.635c.007.2-.009.4.008.6a.3.3 0 0 0 .118.209 1.065 1.065 0 0 1 .563.967c0 .2.006.4 0 .6a.339.339 0 0 1-.38.367H.4a.344.344 0 0 1-.39-.381 9.305 9.305 0 0 1 0-.647.993.993 0 0 1 .538-.882.225.225 0 0 0 .148-.248 3.1 3.1 0 0 1 0-.323c0-.628.1-.765.688-.964v-1.91A1.025 1.025 0 0 1 2.512.676H4.782c.059-.277-.08-.684.374-.672.414.011.3.384.351.671.182 0 .365.01.544-.007.05 0 .115-.084.134-.142A.679.679 0 0 1 6.9-.007h8.108a.685.685 0 0 1 .719.529.262.262 0 0 0 .176.146 3.827 3.827 0 0 0 .5.007c.059-.277-.071-.7.395-.67.4.022.285.382.323.658.081 0 .161.012.243.012h2.056a1.019 1.019 0 0 1 1.108 1.1v1.894a.21.21 0 0 0 .01.045c.582.207.674.338.674.959a1.187 1.187 0 0 1 0 .161.4.4 0 0 0 .241.476.786.786 0 0 1 .415.634 6.638 6.638 0 0 1 .023.9c-.008.212-.156.315-.4.315h-3.95c-.313 0-.427-.118-.43-.435v-.508a1.07 1.07 0 0 1 .562-.991.32.32 0 0 0 .12-.208 2.618 2.618 0 0 0 .006-.392c0-.564.129-.74.673-.9v-.988h-1.361v.943a1.015 1.015 0 0 1-1.077 1.089H14.81c-.314 0-.426.123-.43.439v.115c0 .368-.109.475-.486.476h-2.577v.678h.284a.7.7 0 0 1 .73.726c.007.206 0 .412 0 .644.143 0 .265.007.385 0a.8.8 0 0 1 .745.37q1.966 2.667 3.942 5.325 1.306 1.762 2.614 3.522a.832.832 0 0 1 .182.553c-.012.338 0 .677 0 1.016 0 .39-.1.492-.491.492H2.228c-.423 0-.516-.092-.516-.512 0-.331.009-.662 0-.993a.832.832 0 0 1 .181-.553q3.125-4.207 6.243-8.419c.1-.136.209-.267.3-.409a.793.793 0 0 1 .78-.392c.112.02.225.012.362.012Zm9.574 9.233c-.057-.083-.082-.122-.109-.159q-3.057-4.129-6.12-8.253a.4.4 0 0 0-.285-.129c-1.117-.009-2.233 0-3.35-.01a.393.393 0 0 0-.359.184q-3 4.067-6.018 8.128c-.048.065-.091.134
1-.162.238h5.484a.312.312 0 0 1 .314.308.313.313 0 0 1-.283.358 1.375 1.375 0 0 1-.253.013h-5.6v.659h17.073v-.659h-5.595a1.153 1.153 0 0 1-.32-.03.269.269 0 0 1-.213-.333.7.7 0 0 1 .26-.3c.056-.041.164-.014.249-.014h5.284ZM15.042.698H6.855v2.021h8.188ZM5.481 2.74v.9c0 .359.106.46.474.462.431 0 .863-.008 1.293.008a.989.989 0 0 1 .934.787l.051.218h5.427c.186-.781.482-1.012 1.283-1.013h1.063c.2 0 .385-.068.4-.3.019-.35.005-.7.005-1.059h-.651c-.166.544-.343.674-.9.674H7.144c-.668 0-.781-.075-1.008-.678Zm14.354 1V1.825c0-.363-.1-.465-.47-.466h-2.056c-.066 0-.132.011-.2.017v.665h1.53c.417 0 .515.1.516.52V3.74ZM4.784 1.387a.306.306 0 0 0-.077-.025c-.761 0-1.521-.007-2.282 0-.247 0-.36.13-.362.383v1.89a.45.45 0 0 0 .023.1h.652V2.577c0-.448.091-.538.541-.538h1.5ZM.691 6.467h3.418c0-.117.006-.217 0-.315a.319.319 0 0 0-.334-.338q-1.373-.008-2.747 0a.32.32 0 0 0-.334.338c-.008.102-.002.201-.002.318Zm20.492.012c.074-.559-.022-.672-.556-.672h-2.332c-.455 0-.6.208-.469.671Zm-19.8-1.37h2.026v-.655H1.383Zm17.1 0h2.019v-.66h-2.019Zm-6.864 2.08h-1.346v.653h1.346Zm4.129-5.163h.646v-.653h-.646Zm-10.258 0h.646v-.654H5.49Z","data-name":"Path 1181"}),h.createElement("path",{d:"M10.939 16.743a3.418 3.418 0 0 1-3.409-3.43 3.429 3.429 0 0 1 3.417-3.4 3.428 3.428 0 0 1 3.421 3.447 3.419 3.419 0 0 1-3.429 3.383Zm-2.721-3.406a2.744 2.744 0 0 0 2.74 2.729 2.742 2.742 0 0 0 2.723-2.746 2.742 2.742 0 0 0-2.736-2.729 2.741 2.741 0 0 0-2.727 2.746Z","data-name":"Path 1182"}),h.createElement("path",{d:"M11.971 13.333a1.025 1.025 0 0 1-1.032 1.021 1.024 1.024 0 0 1-1.01-1.043A1.028 1.028 0 0 1 10.95 12.3a1.027 1.027 0 0 1 1.021 1.033Zm-.687-.015a.335.335 0 0 0-.339-.329.335.335 0 0 0-.329.361.341.341 0 0 0 .35.32.342.342 0 0 0 .318-.352Z","data-name":"Path 1183"}),h.createElement("path",{d:"M9.513 14.357a.346.346 0 0 1-.34.336.347.347 0 0 1-.343-.333.352.352 0 0 1 .352-.349.35.35 0 0 1 .331.346Z","data-name":"Path 1184"}),h.createElement("path",{d:"M12.721 14.011a.354.354 0 0 1 .347.332.347.347 0 0 1-.326.35.345.345 0 0 1-.357-.34.352.352 0 0 1 .336-.342Z","data-name":"Path 1185"}),h.createElement("path",{d:"M8.895 12.989a.345.345 0 0 1 .343.332.348.348 0 0 1-.349.35.355.355 0 0 1-.333-.346.349.349 0 0 1 .339-.336Z","data-name":"Path 1186"}),h.createElement("path",{d:"M12.994 12.988a.347.347 0 0 1 .349.327.352.352 0 0 1-.346.355.349.349 0 0 1-.336-.341.345.345 0 0 1 .333-.341Z","data-name":"Path 1187"}),h.createElement("path",{d:"M9.171 11.966a.341.341 0 0 1 .342.33.343.343 0 0 1-.352.344.346.346 0 0 1-.331-.343.344.344 0 0 1 .341-.331Z","data-name":"Path 1188"}),h.createElement("path",{d:"M12.714 12.641a.343.343 0 0 1-.329-.344.339.339 0 0 1 .364-.33.342.342 0 0 1 .318.353.347.347 0 0 1-.353.321Z","data-name":"Path 1189"}),h.createElement("path",{d:"M9.921 15.44a.334.334 0 0 1-.338-.331.34.34 0 0 1 .353-.342.332.332 0 0 1 .323.345.33.33 0 0 1-.338.328Z","data-name":"Path 1190"}),h.createElement("path",{d:"M11.971 15.44a.329.329 0 0 1-.333-.333.333.333 0 0 1 .328-.34.34.34 0 0 1 .347.348.332.332 0 0 1-.342.325Z","data-name":"Path 1191"}),h.createElement("path",{d:"M10.259 11.557a.328.328 0 0 1-.335.33.334.334 0 0 1-.341-.328.335.335 0 0 1 .35-.342.327.327 0 0 1 .326.34Z","data-name":"Path 1192"}),h.createElement("path",{d:"M12.314 11.553a.333.333 0 0 1-.333.335.329.329 0 0 1-.342-.323.328.328 0 0 1 .342-.346.334.334 0 0 1 .333.334Z","data-name":"Path 1193"}),h.createElement("path",{d:"M10.938 15.712a.328.328 0 0 1-.324-.341.334.334 0 0 1 .334-.334.334.334 0 0 1 .334.356.327.327 0 0 1-.344.319Z","data-name":"Path 1194"}),h.createElement("path",{d:"M11.284 11.283a.325.325 0 0 1-.341.329.324.324 0 0 1-.328-.341.324.324 0 0 1 .34-.328.324.324 0 0 1 .329.34Z","data-name":"Path 1195"}))))},N=t(77975),M=t(99558),T=t.n(M);function E(){let{acf:{information:{general:{address:e,telephone:a},site:{yext_pub_id:t},times:{opening_times:n}}}}=(0,o.FC)();return e&&a?(0,l.jsxs)("div",{className:T().infoBar,children:[(0,l.jsxs)("div",{className:"font-secondary ".concat(T().infoContainer),children:[(0,l.jsxs)("div",{className:T().addressBox,children:[(0,l.jsx)(P,{title:"Location Map Icon"}),(0,l.jsx)(p.Z,{href:"/our-pub?scroll=4",children:e})]}),(0,l.jsxs)("a",{href:"tel:".concat(a),className:T().phoneBox,children:[(0,l.jsx)(k,{title:"Telephone Icon"}),(0,l.jsx)("span",{children:a})]}),n&&(0,l.jsx)("div",{className:T().openTimeBox,children:(0,l.jsx)(p.Z,{href:"?scroll=opentimes",className:T().addressContainer,onClick:()=>(0,y.Z)({event:"we_are_open"}),children:(0,l.jsx)(B.Z,{})})})]}),t&&(0,l.jsx)("div",{className:T().searchContainer,children:(0,l.jsx)(j(),{href:"/results?query=&context=%7B%22pub%22%3A%22".concat(t,"%22%7D&verticalUrl=faqs.html"),"aria-label":"Search Results Page",children:(0,l.jsx)(N.Z,{})})})]}):null}var I=t(59134),C=t.n(I);function S(e){let{button:a,enableVideo:t,gallery:n,heading:i,hideScroll:r,position:g,postId:b,subheading:j,video:B}=e,{slug:y}=(0,o.Tt)(),w=(0,d.useRouter)(),P=(0,h.useRef)(),Z=(0,h.useRef)(null),k="/"===w.asPath.split("?")[0],N=(0,o.O_)(b),M=(0,o.FC)(),T=k?"h2":"h1";return(null==n?void 0:n.length)||i||j?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"container flush",children:[("/"===w.asPath||w.asPath.includes("/home")||w.asPath.includes("y_source"))&&(0,l.jsx)(E,{}),t&&(0,l.jsxs)("div",{className:C().content,children:[(0,l.jsx)("div",{className:C().title,children:(0,l.jsxs)(T,{children:[(0,l.jsx)("span",{className:C().subheading,children:j}),j&&i&&" ",(0,l.jsx)("span",{className:C().heading,children:i})]})}),a.link_text&&a.link_url&&(0,l.jsx)("div",{className:C().buttons,children:(0,l.jsx)(p.Z,{href:(0,f.Z)("".concat(a.link_url),M),className:"button button-scooped button-filled",children:(0,l.jsxs)(l.Fragment,{children:["revere"===y&&(0,l.jsx)("span",{className:"button-scooped-inner"}),(0,l.jsx)("span",{className:"button-scooped-outer button-filled-outer",children:(0,l.jsx)("span",{className:"button-scooped-text",children:a.link_text})})]})})})]}),!r&&("/"===w.asPath||w.asPath.includes("/home")||w.asPath.includes("y_source"))&&(0,l.jsxs)("div",{className:C().control,onClick:()=>{let e=document.querySelector('[data-position="2"]');e&&e.scrollIntoView({behavior:"smooth"})},onKeyDown:e=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null!==Z.current&&Z.current.click())},ref:Z,role:"button",tabIndex:0,"aria-label":"Scroll down",children:[(0,l.jsx)("span",{className:"text-s ".concat(C().controlText),children:"Scroll"}),(0,l.jsx)("span",{className:C().scrollLine})]}),t?(0,l.jsx)("div",{className:C().media,children:(0,l.jsx)(_.Z,{videoId:B.videoId,videoPlayer:B.videoPlayer,fallbackImage:B.fallbackImage})}):(null==n?void 0:n.length)&&(0,l.jsx)("div",{className:C().media,children:(0,l.jsxs)(m.tq,{slidesPerView:"auto",enabled:n.length>1,speed:900,autoplay:n.length>1&&{delay:5e3},modules:[u.tl,u.pt],pagination:{el:".swiper-pagination-banner-t3",clickable:!0},onBeforeInit:e=>{P.current=e},className:C().slider,"data-main-banner":"".concat("/"===w.asPath||w.asPath.includes("/home")||w.asPath.includes("y_source")?"home":"block"),children:[n.length>1&&(0,l.jsx)("div",{className:"swiper-pagination-banner-t3"}),null==n?void 0:n.map((e,a)=>{var t,n,o,r,d,h,u,v,_,b,B,P;let Z=null==N?void 0:N.find(e=>{var t,n,i;return Number(null===(i=e.acf)||void 0===i?void 0:null===(n=i.information)||void 0===n?void 0:null===(t=n.settings)||void 0===t?void 0:t.slide_index)===a+1}),T=0!==a||1!==g||k?"h2":"h1";return(0,l.jsxs)(m.o5,{className:C().slide,children:[(0,l.jsxs)("div",{className:C().content,children:[(0,l.jsx)("div",{className:C().title,children:(0,l.jsxs)(T,{children:[(0,l.jsx)("span",{className:"".concat(C().subheading," ").concat("/"===w.asPath||w.asPath.includes("/home")||w.asPath.includes("y_source")?C().subheadingHome:"").trim(),children:(null==Z?void 0:null===(o=Z.acf)||void 0===o?void 0:null===(n=o.information)||void 0===n?void 0:null===(t=n.content)||void 0===t?void 0:t.subtitle)||e.subtitle}),e.subtitle&&e.title&&" ",(0,l.jsx)("span",{className:"".concat(C().heading," ").concat("/"===w.asPath||w.asPath.includes("/home")||w.asPath.includes("y_source")?C().headingHome:"").trim(),children:(null==Z?void 0:null===(h=Z.acf)||void 0===h?void 0:null===(d=h.information)||void 0===d?void 0:null===(r=d.content)||void 0===r?void 0:r.title)||e.title})]})}),e.galleryButton.link_text&&e.galleryButton.link_url&&(0,l.jsx)("div",{className:C().buttons,children:(0,l.jsx)(p.Z,{href:"".concat((0,f.Z)(null==Z?void 0:null===(_=Z.acf)||void 0===_?void 0:null===(v=_.information)||void 0===v?void 0:null===(u=v.content)||void 0===u?void 0:u.galleryButton.link_url,M)||(0,f.Z)(e.galleryButton.link_url,M)),className:"button button-scooped button-filled",children:(0,l.jsxs)(l.Fragment,{children:["revere"===y&&(0,l.jsx)("span",{className:"button-scooped-inner"}),(0,l.jsx)("span",{className:"button-scooped-outer button-filled-outer",children:(0,l.jsx)("span",{className:"button-scooped-text",children:(null==Z?void 0:null===(P=Z.acf)||void 0===P?void 0:null===(B=P.information)||void 0===B?void 0:null===(b=B.content)||void 0===b?void 0:b.galleryButton.link_text)||e.galleryButton.link_text})})]})})})]}),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:C().overlay}),(0,l.jsxs)(l.Fragment,{children:[e.image&&(0,l.jsx)(s.ZP,{className:"".concat(C().image," ").concat((null==Z?void 0:Z.acf.information.content.mobileImage)||e.mobileImage?x().hiddenImage:"").trim(),src:(null==Z?void 0:Z.acf.information.content.image)||e.image,params:[{width:375,height:636},{width:750,height:1272},{width:1125,height:625},{width:1440,height:800},{width:1920,height:1067}],width:"375",height:"636",preload:1===g&&0===a||void 0,Preloader:1===g&&0===a?c():void 0,loading:1===g&&0!==a?"lazy":void 0,fetchPriority:1===g&&0===a?"high":void 0,alt:"".concat(j," ").concat(i)}),e.mobileImage&&(0,l.jsx)(s.ZP,{className:"".concat(C().image," ").concat(x().overrideImage),src:(null==Z?void 0:Z.acf.information.content.mobileImage)||e.mobileImage,params:[{width:375,height:636},{width:750,height:1272}],width:"375",height:"636",alt:"".concat(j," ").concat(i)})]})]})]},"image-".concat(a+1))})]})})]}),(0,l.jsx)(v.Z,{})]}):null}t(2525)},38399:function(e,a,t){"use strict";t.d(a,{Z:function(){return c}});var n=t(97458),i=t(31536),l=t(52983),o=t(62310),s=t(78287),r=t.n(s);function c(){let{acf:{information:{times:{opening_times:e}}}}=(0,i.FC)(),{todaysOpeningTimes:a,isCurrentlyOpen:t,openingTimeDisplay:s}=function(e){let a=["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],t=new Date().getDay(),n=a[t],i=e[n.toLowerCase()],o=a[(t+1)%7],s=e[o.toLowerCase()],[r,c]=(0,l.useState)(!1),[d,h]=(0,l.useState)(""),[u,m]=(0,l.useState)(""),[p,v]=(0,l.useState)(""),[_,f]=(0,l.useState)("");return(0,l.useEffect)(()=>{let e=new Date,a=e=>{if(!e||!e.includes(":"))return"";let[a,t]=e.split(":").map(e=>e.trim()),n=12>parseInt(a,10)?"am":"pm",i=parseInt(a,10),l=parseInt(t,10);return(0===i?i=12:i>12&&(i-=12),"00"!==t||11===i&&1===l)?"".concat(i,":").concat(t).concat(n):"".concat(i).concat(n)};if(i&&"closed"===i.toLowerCase()){s&&"closed"!==s.toLowerCase()?(f(a(s.split(/[â-]/)[0])),v(s.split(/[â-]/)[0])):f("closed"),c(!1);return}if(i){let[a,t]=i.split(/[â-]/)[0].split(":").map(Number),[n,l]=i.split(/[â-]/)[1].split(":").map(Number),o=new Date;o.setHours(a,t);let r=new Date;(n<a||n===a&&l<t)&&r.setDate(r.getDate()+1),r.setHours(n,l),c(e>=o&&e<=r),h(i.split(/[â-]/)[0]),m(i.split(/[â-]/)[1]),e>r&&s&&"closed"!==s.toLowerCase()&&(h(s.split(/[â-]/)[0]),m(s.split(/[â-]/)[1]))}s&&"closed"!==s.toLowerCase()?v(s.split(/[â-]/)[0]):v(""),r?f(a(u)):e.getTime()<new Date().setHours(24,0,0,0)?f(a(d)):f(a(p))},[i,s,r,u,d,p]),{openingTimeDisplay:_,todaysOpeningTimes:i,isCurrentlyOpen:r}}(e);return(0,n.jsx)(n.Fragment,{children:a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("span",{className:"text-bold ".concat(r().openText),children:[t?"We Are Open!":"Currently Closed"," "]}),"closed"!==a&&(0,n.jsxs)("span",{className:r().openTime,children:[t?"Today until":"We open at"," ",s,(0,n.jsx)(o.Z,{title:"Right Arrow Icon"})]})]})})}},86919:function(e,a,t){"use strict";t.d(a,{Z:function(){return _}});var n,i,l,o,s=t(97458),r=t(31536),c=t(11579),d=t(52983),h=t(89070);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}var m=function(e){return d.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:94,height:34,fill:"none"},e),n||(n=d.createElement("g",{fill:"#fff",clipPath:"url(#trees_svg__a)"},d.createElement("path",{d:"M8.926 23.87H3.86l6.5-6.413H6.5l7.72-8.051h-3.307L18.493 2l7.594 7.393h-3.306l7.72 8.051h-3.86l6.5 6.414h-5.067L37 30.94s-11.315-2.506-18.506-2.506c-7.192 0-18.507 2.506-18.507 2.506l8.927-7.071h.012Z"}),d.createElement("path",{d:"M18.645 29.527h-4.652s.968 3.485 4.652 3.485c3.683 0 4.438-3.485 4.438-3.485h-4.438Z"}))),i||(i=d.createElement("g",{fill:"#fff",clipPath:"url(#trees_svg__b)"},d.createElement("path",{d:"M45.825 11.993h-2.739L46.6 8.476h-2.087l4.173-4.415h-1.787L50.997 0 55.1 4.054h-1.787l4.173 4.415H55.4l3.514 3.517h-2.739L61 15.871s-6.116-1.374-10.003-1.374c-3.888 0-10.004 1.374-10.004 1.374l4.825-3.878h.007Z"}),d.createElement("path",{d:"M51.078 15.095h-2.514s.523 1.912 2.514 1.912c1.991 0 2.4-1.912 2.4-1.912h-2.4Z"}))),l||(l=d.createElement("g",{fill:"#fff",clipPath:"url(#trees_svg__c)"},d.createElement("path",{d:"M71.237 26.637H67.13l5.27-5.172H69.27l6.26-6.493h-2.682L78.995 9l6.157 5.962H82.47l6.259 6.493H85.6l5.27 5.172h-4.108L94 32.34s-9.174-2.02-15.005-2.02c-5.83 0-15.005 2.02-15.005 2.02l7.237-5.702h.01Z"}),d.createElement("path",{d:"M79.117 31.199h-3.771s.784 2.811 3.771 2.811 3.599-2.811 3.599-2.811h-3.599Z"}))),o||(o=d.createElement("defs",null,d.createElement("clipPath",{id:"trees_svg__a"},d.createElement("path",{fill:"#fff",d:"M37 2H0v31h37z"})),d.createElement("clipPath",{id:"trees_svg__b"},d.createElement("path",{fill:"#fff",d:"M61 0H41v17h20z"})),d.createElement("clipPath",{id:"trees_svg__c"},d.createElement("path",{fill:"#fff",d:"M94 9H64v25h30z"})))))},p=t(18547),v=t.n(p);function _(e){var a;let{hideStripBar:t,isDesktop:n}=e,{acf:{information:{appearance:{template:i},times:{seasonal_times:l,seasonalBarPosition:o}}}}=(0,r.FC)(),{slug:u}=(0,r.Tt)(),p=(0,c.useRouter)(),_=null==l?void 0:null===(a=l.occasion_heading)||void 0===a?void 0:a.toLowerCase().includes("christmas"),f=(0,d.useCallback)(()=>{let e=document.querySelector('[data-position="'.concat(o,'"]'));e&&(e.scrollIntoView({behavior:"auto",block:"start"}),(0,h.Z)({event:"we_are_open"}))},[o]);return(0,s.jsx)("div",{className:"container flush ".concat(v().stripBar," ").concat("/our-pub"===p.asPath||p.asPath.includes("/our-pub")?v().containerSpacing:"").trim(),"data-hide-strip":t,"data-template":i,"data-desktop":n,"data-format":u,children:(0,s.jsx)("div",{className:v().bar,children:!!(l&&l.opening_times.length&&"/"===p.asPath||p.asPath.includes("/home")||p.asPath.includes("y_source"))&&(0,s.jsx)("div",{className:v().seasonalBar,"data-christmas":_,children:(0,s.jsxs)("div",{className:v().seasonalBarContent,children:[_&&(0,s.jsx)(m,{}),(0,s.jsxs)("button",{className:"font-secondary ".concat(v().seasonalBarLink),onClick:f,children:["View ".concat(l.occasion_heading)," ",(0,s.jsx)("span",{children:"Opening Times"})]}),_&&(0,s.jsx)(m,{})]})})})})}},94021:function(e,a,t){"use strict";t.d(a,{Z:function(){return u}});var n=t(97458),i=t(40511),l=t(37048),o=t(2638),s=t.n(o),r=t(52983),c=t(29957),d=t(12094),h=t.n(d);function u(e){let{fallbackImage:a,isPlay:t=!0,playSound:o,position:d=0,showPlayIcon:u=!1,videoId:m,videoPlayer:p}=e,[v,_]=(0,r.useState)(!1),f=(0,r.useRef)(null);return(0,r.useEffect)(()=>{var e;let a=null===(e=f.current)||void 0===e?void 0:e.internalPlayer;t?null==a||a.playVideo():null==a||a.pauseVideo()},[t]),(0,n.jsxs)(n.Fragment,{children:[a&&(0,n.jsx)(i.ZP,{className:"image-full-size image-cover ".concat(h().fallback,"\n ").concat(v?h().hide:"").trim(),params:[{width:375,height:636},{width:750,height:1272},{width:1125,height:625},{width:1440,height:800},{width:1920,height:1067}],src:a,alt:"video fallback image",width:"375",height:"636",preload:1===d||void 0,Preloader:1===d?s():void 0,loading:d>1?"lazy":void 0}),"vimeo"===p&&m&&(0,n.jsxs)(n.Fragment,{children:[u&&(0,n.jsx)("div",{className:"".concat(h().videoIcon," ").concat(h().vimeoIcon)}),(0,n.jsx)(l.Z,{className:h().video,video:m,controls:!1,muted:!o,loop:!0,autoplay:t,onReady:()=>_(!0),paused:!t})]}),"youtube"===p&&m&&(0,n.jsxs)(n.Fragment,{children:[u&&(0,n.jsx)("div",{className:"".concat(h().videoIcon," ").concat(h().youtubeIcon)}),(0,n.jsx)(c.Z,{className:h().video,opts:{playerVars:{autoplay:t?1:0,mute:1,loop:1,playlist:m,controls:0,modestbranding:1}},videoId:m,onReady:e=>{t&&e.target.playVideo(),_(!0)},ref:f})]})]})}},99558:function(e){e.exports={breakpoint:"1280px",infoBar:"T3InfoBar_infoBar__fvyGy",infoContainer:"T3InfoBar_infoContainer__WYlns",openTimeBox:"T3InfoBar_openTimeBox__uakzq",addressBox:"T3InfoBar_addressBox__F5FAS",phoneBox:"T3InfoBar_phoneBox__cBqRV",searchContainer:"T3InfoBar_searchContainer__oHfe_"}},59134:function(e){e.exports={breakpoint:"820px",bar:"T3MainBannerBlock_bar__WvDd_",stripBar:"T3MainBannerBlock_stripBar__ByU9J",containerSpacing:"T3MainBannerBlock_containerSpacing__Owgw9",control:"T3MainBannerBlock_control__dF0oJ",controlText:"T3MainBannerBlock_controlText__AsIiT",scrollLine:"T3MainBannerBlock_scrollLine__AjYc5",media:"T3MainBannerBlock_media__W4DW4",slider:"T3MainBannerBlock_slider__QRYqa",slide:"T3MainBannerBlock_slide__c6sUA",image:"T3MainBannerBlock_image__FAvfD",content:"T3MainBannerBlock_content__pfCBK",title:"T3MainBannerBlock_title___NBrl",subheading:"T3MainBannerBlock_subheading__t8yT2",buttons:"T3MainBannerBlock_buttons__7_qfj",overlay:"T3MainBannerBlock_overlay__5MpbT",heading:"T3MainBannerBlock_heading__EfK89"}},78287:function(e){e.exports={openText:"PubOpenTime_openText__s8UpH",openTime:"PubOpenTime_openTime__10d2Z"}},18547:function(e){e.exports={seasonalBarContent:"SeasonalStripBar_seasonalBarContent__OGYl5",bar:"SeasonalStripBar_bar__WRTRj",stripBar:"SeasonalStripBar_stripBar__tT8d0",containerSpacing:"SeasonalStripBar_containerSpacing__exBTU",seasonalBarLink:"SeasonalStripBar_seasonalBarLink__nlCs8",seasonalBar:"SeasonalStripBar_seasonalBar__vrzjp"}},12094:function(e){e.exports={fallback:"Video_fallback__lXUeC",hide:"Video_hide__dMBuH",video:"Video_video__KYz0l",videoIcon:"Video_videoIcon__VdboE",vimeoIcon:"Video_vimeoIcon__LogGU",youtubeIcon:"Video_youtubeIcon__9rngS"}},38461:function(e){e.exports={overrideImage:"MainBanner_overrideImage__22lm_",hiddenImage:"MainBanner_hiddenImage__Ul6Rw"}}}]);
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.