1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1368],{704:(e,t,l)=>{"use strict";l.d(t,{MortgageQuoteOverpayment:()=>o});var a=l(85664),s=l(63276),r=l(34989),n=l(96777),i=l(1269);function o(e){let{index:t,section:l,theme:o,mortgageQuoteId:d}=e,{topPadding:c,bottomPadding:m}=l,u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=u.current;if(!e||document.getElementById("mqoverpaymentcalculator"))return;let t=document.createElement("script");return t.id="mqoverpaymentcalculator",t.src="https://frontend.mortgage-quote.me/calculators/overpayment/mq-overpayment-calc.js?id=".concat(d),e.appendChild(t),()=>{var e,t;null==(e=document.getElementById("mqoverpaymentcalculator"))||e.remove(),null==(t=document.getElementById("mqoverpaymentcontainer"))||t.remove()}},[d]),(0,a.jsx)("section",{className:(0,n.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,i.rf)(c,m),children:(0,a.jsx)("div",{className:(0,n.cn)((0,r.c)({theme:o})),children:(0,a.jsx)("div",{ref:u})})})})}},1327:(e,t,l)=>{"use strict";l.r(t),l.d(t,{VideoPlayer:()=>r});var a=l(85664),s=l(11654);function r(e){let{controls:t=!0,playing:l=!0,videoUrl:r}=e;return(0,a.jsx)(s.A,{controls:t,height:"100%",playing:l,src:r,width:"100%"})}},3968:(e,t,l)=>{"use strict";l.d(t,{FormGable:()=>m});var a=l(85664),s=l(36338),r=l(3008),n=l(48306),i=l(96777),o=l(1269);let d=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(5934)]).then(l.bind(l,25934)).then(e=>({default:e.FormContact})),{loadableGenerated:{webpack:()=>[25934]},ssr:!1}),c=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(7588),l.e(6334),l.e(2718),l.e(2963),l.e(8560),l.e(4834),l.e(327)]).then(l.bind(l,20327)).then(e=>({default:e.FormCustom})),{loadableGenerated:{webpack:()=>[20327]},ssr:!1});function m(e){var t,l;let{agentsByBranch:s,form:m,gtmEvent:u,lettingsDisabled:x,offices:h,salesDisabled:p,section:g,theme:v}=e,{bottomPadding:f,image:b,title:j,topPadding:y}=g;return(0,a.jsx)("div",{className:"relative",children:(0,a.jsxs)("div",{className:"relative flex flex-wrap",children:[!!(null==b?void 0:b.sourceUrl)&&(0,a.jsx)("div",{className:"w-full lg:w-1/2",children:(0,a.jsx)("div",{className:"ui-media relative h-[37vh] overflow-hidden lg:sticky lg:inset-y-0 lg:h-full",children:(0,a.jsx)(r.default,{alt:null!=j?j:"",blurDataURL:null!=(l=b.dataUrl)?l:void 0,className:"absolute inset-0 size-full object-cover object-center",fill:!0,placeholder:b.dataUrl?"blur":"empty",priority:!0,src:b.sourceUrl})})}),(0,a.jsx)("div",{className:(0,i.cn)("w-full px-20 md:px-40 lg:w-1/2 lg:px-60",(0,o.rf)(y,f)),children:(0,a.jsxs)("div",{className:"relative",children:[!m&&(0,a.jsx)(d,{agentsByBranch:s,gtmEvent:u,largerSpacing:!0,lettingsDisabled:x,offices:h,salesDisabled:p,selectedBranch:null==(t=g.office)?void 0:t.title,selectedInterest:g.interestedIn,theme:v,title:j?(0,a.jsx)("h2",{className:(0,i.cn)("mb-25",(0,n.D)({heading:"h1sm",theme:v})),dangerouslySetInnerHTML:{__html:j}}):void 0}),!!m&&(0,a.jsx)(c,{form:m,gtmEvent:u,theme:v,title:j?(0,a.jsx)("h2",{className:(0,i.cn)("mb-25",(0,n.D)({heading:"h1sm",theme:v})),dangerouslySetInnerHTML:{__html:j}}):void 0})]})})]})})}},4625:(e,t,l)=>{"use strict";l.r(t),l.d(t,{AnimatedNumber:()=>m,AnimatedNumberInView:()=>u});var a=l(85664),s=l(94878),r=l(40438),n=l(10117),i=l(59867),o=l(63276),d=l(96777);function c(e){return Number.parseFloat(e.toFixed(1)).toLocaleString(void 0,{maximumFractionDigits:1,minimumFractionDigits:0})}function m(e){let{className:t,prefix:l,springOptions:i,suffix:m,value:u}=e,x=(0,s.z)(u,i),h=(0,r.G)(x,c);return(0,o.useEffect)(()=>{x.set(u)},[x,u]),(0,a.jsxs)("span",{className:(0,d.cn)("inline-flex items-center tabular-nums",t),children:[l,(0,a.jsx)(n.P.span,{className:"tabular-nums",children:h}),m]})}function u(e){let{alignment:t,className:l,prefix:s,springOptions:r,suffix:n,value:c}=e,[u,x]=(0,o.useState)(0),h=(0,o.useRef)(null);return(0,i.W)(h)&&0===u&&x(c),(0,a.jsx)("div",{className:(0,d.cn)("flex w-full items-center justify-center","left"===t?"lg:justify-start":"right"===t?"lg:justify-end":"lg:justify-center"),ref:h,children:(0,a.jsx)(m,{className:l,prefix:s,springOptions:r||{bounce:0,duration:5e3},suffix:n,value:u})})}},5301:(e,t,l)=>{"use strict";l.d(t,{FeaturedServicesFascia:()=>x});var a=l(85664),s=l(3008),r=l(74348),n=l(48306),i=l(79602),o=l(17213),d=l(57560),c=l(96777);function m(e){let{index:t,section:l}=e,{button:m,content:u,pretitle:x,services:h,title:p,textColorLeftSide:g,textColorRightSide:v}=l;return(0,a.jsx)(i.Carousel,{settings:{autoplay:!0,autoplaySpeed:5e3,responsive:[{breakpoint:768,settings:{variableWidth:!1}}],variableWidth:!0},showOverflow:!0,children:(0,a.jsxs)("div",{className:"flex flex-wrap",children:[(0,a.jsxs)("div",{className:"relative z-1 w-full pt-50 md:w-1/2 md:pt-70 lg:pt-90",style:{color:g||void 0},children:[!!x&&(0,a.jsx)("h3",{className:"mb-15 font-semibold text-14 text-white tracking-[0.6px] md:text-16",dangerouslySetInnerHTML:{__html:x},style:{color:g||void 0}}
1),!!p&&0!==t&&(0,a.jsx)("h2",{className:(0,c.cn)("mb-30 text-balance text-white",(0,n.D)({heading:"h1sm",theme:"fascia"})),dangerouslySetInnerHTML:{__html:p},style:{color:g||void 0}}),!!p&&0===t&&(0,a.jsx)("h1",{className:(0,c.cn)("mb-30 text-balance text-white",(0,n.D)({heading:"h1sm",theme:"fascia"})),dangerouslySetInnerHTML:{__html:p},style:{color:g||void 0}}),!!u&&(0,a.jsx)("div",{className:"apex-content mx-auto max-w-[480px] text-pretty text-white leading-[1.88] md:mx-0",dangerouslySetInnerHTML:{__html:u},style:{color:g||void 0}}),(0,a.jsx)("div",{className:"mt-30 hidden md:block lg:mt-40",children:null==h?void 0:h.map((e,t)=>{var l,s,r;return(0,a.jsx)("div",{className:"mb-10 lg:mb-20",children:(0,a.jsx)(i.CarouselPaging,{activeClassName:"text-secondary",className:"appearance-none font-bold text-16 leading-[1.88] transition-all lg:text-18",inactiveClassName:"text-white hover:text-secondary",index:t,children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:null!=(r=null==e||null==(l=e.service)?void 0:l.title)?r:""}})})},null==e||null==(s=e.service)?void 0:s.title)})}),!!(null==m?void 0:m.url)&&(0,a.jsx)("div",{className:"mt-30 lg:mt-60",children:(0,a.jsx)(o.z,{href:m.url,openNewTab:"_blank"===m.target,size:"md",theme:"fascia",variant:"secondary",children:m.title})})]}),(0,a.jsxs)("div",{className:"w-full md:w-1/2",style:{color:v||void 0},children:[(0,a.jsx)("div",{className:"-mx-18 mt-50 text-left md:mt-80 lg:mt-120 xl:mt-150 2xl:mt-170",children:(0,a.jsx)(i.CarouselContent,{children:null==h?void 0:h.map(e=>{var t,l,r,n,o,c,m,u,x,h;return(0,a.jsx)(i.CarouselItem,{style:{width:"480px"},children:(0,a.jsx)("div",{className:"px-18",children:(0,a.jsxs)(d.S,{className:"group relative block w-full overflow-hidden",href:null!=(m=null==e||null==(t=e.service)?void 0:t.url)?m:"",openNewTab:(null==e||null==(l=e.service)?void 0:l.target)==="_blank",children:[(0,a.jsx)("div",{className:"relative h-0 w-full overflow-hidden pb-[50%]",children:!!(null==e||null==(r=e.image)?void 0:r.sourceUrl)&&(0,a.jsx)(s.default,{alt:null!=(u=null==(n=e.service)?void 0:n.title)?u:"",blurDataURL:null!=(x=e.image.dataUrl)?x:void 0,className:"object-cover object-center transition-all duration-2000 group-hover:scale-110",fill:!0,placeholder:e.image.dataUrl?"blur":"empty",sizes:"420px",src:e.image.sourceUrl})}),!!(null==e||null==(o=e.service)?void 0:o.title)&&(0,a.jsx)("h3",{className:"relative max-w-[340px] pt-44 font-bold text-22 text-white leading-tight tracking-[0.23px] decoration-secondary underline-offset-4 group-hover:underline lg:text-24",dangerouslySetInnerHTML:{__html:e.service.title},style:{color:v||void 0}}),!!(null==e?void 0:e.description)&&(0,a.jsx)("div",{className:"relative mt-15 max-w-[340px] text-16 text-white leading-[1.88]",dangerouslySetInnerHTML:{__html:e.description},style:{color:v||void 0}})]})})},null!=(h=null==e||null==(c=e.service)?void 0:c.title)?h:"")})})}),(0,a.jsxs)("div",{className:"relative z-10 mt-80 flex items-center justify-between md:justify-start [&_li]:flex",children:[(0,a.jsxs)("div",{className:"-ml-2 flex items-center",children:[(0,a.jsx)(i.Q8,{className:"text-[#58739c] transition-all hover:text-secondary",children:(0,a.jsx)(r.I,{className:"size-26",name:"lucide/arrow-left"})}),(0,a.jsx)(i.Oj,{className:"ml-10 text-[#58739c] transition-all hover:text-secondary",children:(0,a.jsx)(r.I,{className:"size-26",name:"lucide/arrow-right"})})]}),(0,a.jsx)("ul",{className:"ml-20 flex items-center justify-center md:justify-start lg:ml-30",children:null==h?void 0:h.map((e,t)=>{var l;return(0,a.jsx)(i.CarouselPaging,{activeClassName:"bg-secondary",className:"mx-7 size-16 appearance-none rounded-full transition-all md:mr-0 md:ml-20",inactiveClassName:"bg-white/20",index:t},null==e||null==(l=e.service)?void 0:l.title)})})]})]})]})})}var u=l(34989);function x(e){let{index:t,section:l}=e,{backgroundColorLeftSide:s,textColorLeftSide:r,backgroundColorRightSide:n,textColorRightSide:i}=l;return(0,a.jsxs)("div",{className:"bg-tertiary pb-50 text-white md:pb-100 xl:pb-130 [&_.slick-slide.slick-current]:opacity-100 [&_.slick-slide:hover]:opacity-100 [&_.slick-slide]:opacity-40 [&_.slick-slide]:transition-all",style:{backgroundColor:n||void 0,color:i||void 0},children:[(0,a.jsx)("div",{className:"absolute inset-y-0 left-0 z-1 hidden w-[46%] bg-primary md:block lg:w-[42%]",style:{backgroundColor:s||void 0}}
1),(0,a.jsx)("div",{className:(0,c.cn)("text-center md:text-left",(0,u.c)({theme:"fascia"})),style:{color:r||void 0},children:(0,a.jsx)(m,{index:t,section:l})})]})}},7149:(e,t,l)=>{"use strict";l.d(t,{LandingLeadForm:()=>i});var a=l(85664),s=l(36338);let r=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(5934)]).then(l.bind(l,25934)).then(e=>({default:e.FormContact})),{loadableGenerated:{webpack:()=>[25934]},ssr:!1}),n=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(7588),l.e(6334),l.e(2718),l.e(2963),l.e(8560),l.e(4834),l.e(327)]).then(l.bind(l,20327)).then(e=>({default:e.FormCustom})),{loadableGenerated:{webpack:()=>[20327]},ssr:!1});function i(e){let{agentsByBranch:t,form:l,formDescription:s,formEyebrow:i,formFootnoteLink:o,formFootnoteText:d,formReassurances:c,formTitle:m,gtmEvent:u,interestedIn:x,lettingsDisabled:h,offices:p,salesDisabled:g,selectedBranch:v,theme:f}=e;return(0,a.jsxs)("div",{className:"ui-card scroll-mt-header-height-mob rounded-12 border border-secondary/30 bg-cream p-24 text-foreground shadow-[0_30px_80px_-20px_rgba(0,0,0,0.5)] sm:p-32 md:scroll-mt-header-height",id:"lead-form",children:[(!!i||!!m||!!s)&&(0,a.jsxs)("div",{className:"mb-20",children:[!!i&&(0,a.jsx)("p",{className:"mb-8 font-semibold text-10 text-secondary uppercase tracking-[0.2em]",children:i}),!!m&&(0,a.jsx)("h2",{className:"font-heading text-24 text-primary leading-tight sm:text-28",children:m}),!!s&&(0,a.jsx)("p",{className:"mt-8 text-14 text-muted-foreground leading-relaxed",children:s})]}),l?(0,a.jsx)(n,{form:l,gtmEvent:u,submitClasses:"w-full",submitVariant:"secondary",theme:f}):(0,a.jsx)(r,{agentsByBranch:t,gtmEvent:u,lettingsDisabled:h,office
1s:p,salesDisabled:g,selectedBranch:v,selectedInterest:x,submitClasses:"w-full",submitVariant:"secondary",theme:f}),!!(null==c?void 0:c.length)&&(0,a.jsx)("ul",{className:"mt-16 flex flex-wrap items-center justify-center gap-x-16 gap-y-4 text-11 text-muted-foreground",children:c.map(e=>(0,a.jsxs)("li",{children:["â ",null==e?void 0:e.text]},null==e?void 0:e.text))}),!!d&&(0,a.jsxs)("p",{className:"mt-16 text-center text-11 text-muted-foreground leading-relaxed",children:[d," ",!!(null==o?void 0:o.url)&&(0,a.jsx)("a",{className:"font-medium text-secondary hover:underline",href:o.url,children:o.title})]})]})}},10073:(e,t,l)=>{"use strict";l.d(t,{Features:()=>x});var a=l(85664),s=l(3008),r=l(15863),n=l(84087),i=l(17213),o=l(96777);function d(e){var t,l,d,c,m,u;let{feature:x,index:h,showShapes:p,step:g,theme:v}=e,{inView:f,ref:b}=(0,r.Wx)({threshold:.2,triggerOnce:!0});return(0,a.jsxs)("div",{className:(0,o.cn)("ui-card flex h-full flex-col",("chalet"===v||x.backgroundColor)&&"pb-25","chalet"===v&&x.backgroundColor&&"lg:pb-35","duplex"===v&&"relative overflow-hidden rounded-30 border-3 border-white px-20 pt-310 pb-45 shadow-testimonial md:px-35"),ref:b,style:{backgroundColor:null!=(c=x.backgroundColor)?c:"#fff"},children:[!!p&&"apex"===v&&(0,a.jsxs)("div",{className:"relative mx-auto mb-20 size-48 md:mx-0 lg:mb-30",children:[(0,a.jsx)("div",{className:(0,o.cn)("absolute size-36 bg-primary",(1===h||4===h||7===h)&&"top-12",(2===h||5===h||8===h)&&"left-12")}),(0,a.jsx)("div",{className:(0,o.cn)("absolute size-36 bg-secondary",(0===h||3===h||6===h)&&"top-12 left-12",(1===h||4===h||7===h)&&"left-12",(2===h||5===h||8===h)&&"top-12")})]}),!!(null==(t=x.image)?void 0:t.sourceUrl)&&(0,a.jsxs)(n.d,{className:(0,o.cn)("mb-33","duplex"===v&&"absolute inset-x-0 top-0"),inView:f,step:g,children:[(0,a.jsx)("div",{className:(0,o.cn)("relative h-230 overflow-hidden","beam"===v&&"rounded-12","duplex"===v&&"rounded-t-30 lg:h-265","fascia"===v&&"md:h-360"),children:(0,a.jsx)(s.default,{alt:null!=(m=x.title)?m:"",blurDataURL:null!=(u=x.image.dataUrl)?u:void 0,className:"absolute inset-0 size-full object-cover object-center",fill:!0,placeholder:x.image.dataUrl?"blur":"empty",src:x.image.sourceUrl})}),"duplex"===v&&(0,a.jsx)("div",{className:"ui-card absolute inset-0 rounded-20 shadow-menu-item md:rounded-30"})]}),!!x.title&&(0,a.jsx)("h3",{className:(0,o.cn)("font-body font-bold text-20 text-primary leading-normal tracking-[0.06px] lg:text-22 xl:text-24",("chalet"===v||x.backgroundColor)&&"px-25","chalet"===v&&!(null==(l=x.image)?void 0:l.sourceUrl)&&"pt-20"),dangerouslySetInnerHTML:{__html:x.title}}),!!x.content&&(0,a.jsx)("div",{className:(0,o.cn)("prose mt-10 max-w-full text-black md:mt-20","beam"===v&&"text-17 leading-[1.76470588]",("chalet"===v||x.backgroundColor)&&"px-25","chalet"===v&&"lg:prose-lg leading-[1.77]"),dangerouslySetInnerHTML:{__html:x.content}}),!!(null==(d=x.button)?void 0:d.url)&&(0,a.jsx)("div",{className:(0,o.cn)("mt-auto pt-20 md:pt-30",("chalet"===v||x.backgroundColor)&&"px-25"),children:(0,a.jsx)(i.z,{href:x.button.url,openNewTab:"_blank"===x.button.target,size:"apex"===v||"chalet"===v||"fascia"===v?"md":"default",theme:v,variant:"fascia"===v?"secondary":"ghostPrimary",children:x.button.title})})]})}var c=l(34989),m=l(48306),u=l(1269);function x(e){let{index:t,section:l,theme:s}=e,{backgroundColor:r,bottomPadding:n,features:i,showShapes:x,title:h,topPadding:p}=l;return(0,a.jsx)("section",{className:(0,o.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,u.rf)(p,n),style:{backgroundColor:"fascia"!==s&&r?r:void 0},children:(0,a.jsxs)("div",{className:(0,o.cn)("fascia"===s?"px-20":(0,c.c)({size:"duplex"===s?"lg":"default",theme:s})),children:[!!h&&(0,a.jsx)("h2",{className:(0,o.cn)("text-center","duplex"===s&&'before:-translate-x-1/2 pt-26 before:absolute before:top-0 before:left-1/2 before:h-8 before:w-54 before:bg-secondary before:content-[""]',(0,m.D)({heading:"h1sm",theme:s})),dangerouslySetInnerHTML:{__html:h}}),(0,a.jsx)("div",{className:(0,o.cn)("ui-card","duplex"===s?"-mx-20 px-20 pt-20 pb-14 md:pt-50 lg:mx-0 lg:rounded-30 lg:px-50 lg:pt-70 lg:pb-34 xl:px-65":"",h&&"mt-40 md:mt-65",!h&&"chalet"!==s&&"lg:mt-80","chalet"===s&&"-mb-15"),style:{backgroundColor:"fascia"===s&&r?r:void 0},children:(0,a.jsx)("div",{className:(0,o.cn)("relative flex flex-wrap justify-center","duplex"===s||"fascia"===s?"-mx-18":"chalet"===s?"-mx-7":"-mx-15 lg:-mx-35"),children:null==i?void 0:i.map((e,t)=>(0,a.jsx)("div",{className:(0,o.cn)("relative w-full",(!(null==e?void 0:e.width)||"default"===e.width)&&("duplex"===s?"md:w-1/2":"md:w-1/3"),(null==e?void 0:e.width)==="one-twelth"&&"md:w-1/12",(null==e?void 0:e.width)==="two-twelths"&&"md:w-2/12",(null==e?void 0:e.width)==="three-twelths"&&"md:w-3/12",(null==e?void 0:e.width)==="four-twelths"&&"md:w-4/12",(null==e?void 0:e.width)==="five-twelths"&&"md:w-5/12",(null==e?void 0:e.width)==="six-twelths"&&"md:w-6/12",(null==e?void 0:e.width)==="seven-twelths"&&"md:w-7/12",(null==e?void 0:e.width)==="eight-twelths"&&"md:w-8/12",(null==e?void 0:e.width)==="nine-twelths"&&"md:w-9/12",(null==e?void 0:e.width)==="ten-twelths"&&"md:w-10/12",(null==e?void 0:e.width)==="eleven-twelths"&&"md:w-11/12","duplex"===s||"fascia"===s?"mb-36 px-18"
1:"chalet"===s?"mb-15 px-7":"mb-40 px-15 md:mb-50 lg:px-35"),children:!!e&&(0,a.jsx)(d,{feature:e,index:t,showShapes:!!x,step:"duplex"===s?t%2==0?"1":"2":t%3==0?"1":t%3==1?"2":"3",theme:s})},null==e?void 0:e.title))})})]})})})}},11176:(e,t,l)=>{"use strict";l.d(t,{GuestySearchWidget:()=>c});var a=l(85664),s=l(63276);l(35922);var r=l(34989),n=l(96777),i=l(1269);let o="guesty-search-bar-widget",d="https://s3.amazonaws.com/guesty-frontend-production/search-bar-production.css";function c(e){let{index:t,section:l,theme:c}=e,{bottomPadding:m,color:u,siteUrl:x,topPadding:h,widgetId:p}=l;return((0,s.useEffect)(()=>{if(!x)return;let e=()=>{var e;null==(e=window.GuestySearchBarWidget)||e.create({color:null!=u?u:void 0,siteUrl:x}).catch(e=>{console.error("[Guesty Embedded Widget]:",e.message)})};if(!document.querySelector('link[href="'.concat(d,'"]'))){let e=document.createElement("link");e.rel="stylesheet",e.href=d,e.media="all",document.head.appendChild(e)}let t=document.getElementById(o);if(t)return window.GuestySearchBarWidget?e():t.addEventListener("load",e),()=>{t.removeEventListener("load",e)};let l=document.createElement("script");return l.id=o,l.src="https://s3.amazonaws.com/guesty-frontend-production/search-bar-production.js",l.async=!0,l.addEventListener("load",e),document.head.appendChild(l),()=>{l.removeEventListener("load",e)}},[u,x]),x)?(0,a.jsx)("section",{className:(0,n.cn)("relative bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,i.rf)(h,m),children:(0,a.jsx)("div",{className:(0,r.c)({theme:c}),children:(0,a.jsx)("div",{className:"guesty-search-widget rounded-2xl border border-black/10 bg-white p-20 shadow-[0_8px_30px_rgba(0,0,0,0.08)] md:p-30",children:(0,a.jsx)("div",{id:"search-widget_".concat(null!=p?p:"default")})})})})}):null}},14887:(e,t,l)=>{"use strict";l.d(t,{SearchBarFascia:()=>c});var a=l(85664),s=l(89309),r=l(63276),n=l(74348),i=l(16172),o=l(96777),d=l(15179);function c(e){let{defaultView:t,disableLettingsDepartment:l,disableSalesDepartment:c,hideSoldLetToggleDefaultValue:m,listingsDefaultType:u}=e,x=(0,s.useRouter)(),[h,p]=(0,r.useState)(""),[g,v]=(0,r.useState)(u),[f,b]=(0,r.useState)("/properties/".concat(u,"/"));return(0,r.useEffect)(()=>{b((0,d.YQ)({defaultView:t,department:["for-sale","to-rent"].includes(g)?g:"for-sale",hide:m?"completed":"",location:h,showOnly:["new-homes","period-homes"].includes(g)?g:void 0}))},[t,g,h,m]),(0,a.jsx)("div",{className:"relative mx-auto max-w-[800px]",children:(0,a.jsxs)("div",{className:"flex flex-wrap",children:[(0,a.jsxs)("div",{className:"relative grow",children:[(0,a.jsx)("input",{autoComplete:"off",className:"block w-full border-2 border-white py-17 pr-15 pl-40 text-left text-16 leading-none shadow-none outline-none transition-all duration-300 placeholder:text-placeholder hover:border-secondary focus:border-secondary focus:shadow-none focus:outline-none focus:ring-0 md:max-h-54 md:min-h-54 md:border-r-0 md:py-12 md:pr-25 md:pl-50 md:text-16 lg:py-12",id:"search",name:"search",onChange:e=>{p(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&x.push(f)},placeholder:"Search by address or postcode",type:"text",value:h}),(0,a.jsx)("button",{className:(0,o.cn)("absolute inset-y-0 right-160 hidden items-center text-[#e0e5eb] transition-all md:flex",""!==h?"visible opacity-100 hover:opacity-75":"invisible opacity-0"),onClick:()=>{p("")},type:"button",children:(0,a.jsx)(n.I,{className:"size-24",name:"heroicons/x-circle-solid"})}),(0,a.jsx)(n.I,{className:"-translate-y-1/2 pointer-events-none absolute top-1/2 left-10 size-20 md:left-15",name:"lucide/search"})]}),!(c&&l)&&(0,a.jsxs)("div",{className:"flex w-full md:w-auto",children:[!c&&(0,a.jsx)(i.$,{className:(0,o.cn)("relative mt-10 flex items-center md:mt-0 md:ml-20 md:w-auto",l?"w-full":"w-[calc(50%-7px)]"),icon:"search",onClick:()=>{v("for-sale"),x.push((0,d.YQ)({defaultView:t,department:"for-sale",hide:m?"completed":"",location:h}))},onMouseEnter:()=>{v("for-sale")},size:"lg",theme:"fascia",variant:"secondary",children:(0,a.jsx)("span",{children:l?"Search":"Buy"})}),!l&&(0,a.jsx)(i.$,{className:(0,o.cn)("relative mt-10 ml-14 flex items-center md:mt-0 md:ml-20 md:w-auto",c?"w-full":"w-[calc(50%-7px)]"),icon:"search",onClick:()=>{v("to-rent"),x.push((0,d.YQ)({defaultView:t,department:"to-rent",hide:m?"completed":"",location:h}
1))},onMouseEnter:()=>{v("to-rent")},size:"lg",theme:"fascia",variant:"secondary",children:(0,a.jsx)("span",{children:c?"Search":"Rent"})})]})]})})}},15393:(e,t,l)=>{"use strict";l.r(t),l.d(t,{SearchBarBeam:()=>h});var a=l(85664),s=l(55243),r=l(1323),n=l(89309),i=l(63276),o=l(3589),d=l(74348),c=l(17213),m=l(39741),u=l(96777),x=l(15179);function h(e){let{defaultView:t,disableLettingsDepartment:l,disableSalesDepartment:h,hideSoldLetToggleDefaultValue:p,listingsDefaultType:g,showBlobs:v,showNewHomesToggle:f,showPeriodHomesToggle:b}=e,j=(0,n.useRouter)(),[y,w]=(0,i.useState)(""),[N,k]=(0,i.useState)(g),[_,S]=(0,i.useState)("/properties/".concat(g,"/")),C=[...m.Uk,f&&{text:"New",value:"new-homes"},b&&{text:"Period",value:"period-homes"}].filter(Boolean);(0,i.useEffect)(()=>{S((0,x.YQ)({defaultView:t,department:["for-sale","to-rent"].includes(N)?N:"for-sale",hide:p?"completed":"",location:y,showOnly:["new-homes","period-homes"].includes(N)?N:void 0}))},[N,y,p,t]);let I=(0,o.DE)();return(0,a.jsxs)("div",{className:"relative mt-30 flex flex-wrap items-center md:mt-45 md:flex-nowrap lg:mt-70",children:[!!v&&(0,a.jsx)("svg",{className:"absolute top-8 left-100 md:left-[168px]",height:"131",width:"190",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{className:"fill-green-2",d:"M5.329 96.322C-18.396 71.858 42.65-5.922 79.278.36c36.626 6.281 144.946 51.571 99.965 103.082-44.98 51.51-147.656 19.957-173.914-7.12Z",fillRule:"evenodd"})}),(0,a.jsxs)("div",{className:"relative grow",children:[(0,a.jsx)("input",{autoComplete:"off",className:"block w-full rounded-8 border-2 border-bordergray py-10 pr-110 pl-15 text-14 leading-[1.76470588] tracking-[0.4px] shadow-none outline-none transition-all duration-300 placeholder:text-placeholder hover:border-secondary focus:border-secondary focus:shadow-none focus:outline-none focus:ring-0 md:rounded-r-none md:border-r-0 md:pr-[150px] md:pl-28 md:font-bold md:text-17 lg:py-13",id:"search",name:"search",onChange:e=>{w(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&j.push(_)},placeholder:"Search by address or postcode",type:"text",value:y}),!!I&&!h&&!l&&(0,a.jsx)(s.W1,{as:"div",className:"-translate-y-1/2 absolute top-1/2 right-5 z-10 md:right-15",children:e=>{var t;let{open:l}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(s.IU,{className:"relative z-10 inline-flex min-w-[110px] items-center justify-end bg-white py-10 text-left font-bold text-14 text-primary leading-[24px] tracking-[0.4px] outline-none ring-0 transition-all duration-300 focus:outline-none md:min-w-[130px] md:text-16 xl:text-18",children:[(0,a.jsx)("span",{className:"truncate",children:null==(t=C.find(e=>e.value===N))?void 0:t.text}),(0,a.jsx)(d.I,{className:(0,u.cn)("relative top-1 ml-5 size-18 text-primary transition-transform md:ml-10 md:size-24",l?"rotate-180":"rotate-0"),name:"lucide/chevron-down"})]}),(0,a.jsx)(r.e,{enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(s.c,{className:"-translate-x-1/2 absolute left-1/2 z-20 mt-8 max-h-[240px] w-[160px] origin-top-right overflow-x-hidden overflow-y-scroll rounded-8 bg-white py-12 shadow-input focus:outline-none",children:C.map(e=>(0,a.jsx)(s.Dr,{children:(0,a.jsxs)("button",{className:"flex w-full items-center pr-20 pl-12 text-17 text-black leading-[36px] hover:bg-secondary hover:text-white",onClick:()=>{k(e.value)},type:"button",children:[(0,a.jsx)("span",{children:(0,a.jsx)(d.I,{className:(0,u.cn)("size-24 text-current",N===e.value?"opacity-100":"opacity-0"),name:"lucide/check"})}),(0,a.jsx)("span",{className:"ml-12",children:e.text})]})},e.value))})})]})}})]}),(0,a.jsx)(c.z,{className:"md:!rounded-l-none relative mt-10 w-full md:mt-0 md:w-auto",href:_,size:"lg",children:(0,a.jsx)("span",{children:"Search"})})]})}},15675:(e,t,l)=>{"use strict";l.d(t,{BranchMapDuplex:()=>g});var a=l(85664),s=l(36338),r=l(3008),n=l(63276),i=l(34989),o=l(41784),d=l(48306),c=l(16172),m=l(17213),u=l(46550),x=l(96777);let h=(0,s.default)(()=>Promise.all([l.e(1768),l.e(5493),l.e(1574)]).then(l.bind(l,1574)).then(e=>({default:e.MapWithOffset})),{loadableGenerated:{webpack:()=>[1574]},ssr:!1}),p=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(5934)]).then(l.bind(l,25934)).then(e=>({default:e.FormContact})),{loadableGenerated:{webpack:()=>[25934]},ssr:!1});function g(e){var t,l;let{agentsByBranch:s,enableDynamicMaps:g,gtmEvent:v,lettingsDisabled:f,offices:b,salesDisabled:j,section:y}=e,{address:w,button:N,emailAddress:k,formTitle:_,image:S,location:C,phoneNumber:I,sectionTitle:L,title:M}=y,{inView:T,ref:z}
1=(0,u.M)(),B=(0,n.useRef)(null),[P,H]=(0,n.useState)(!1);return(0,a.jsx)("div",{ref:z,children:(0,a.jsxs)("div",{className:(0,i.c)({theme:"duplex"}),children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex w-full flex-wrap items-baseline text-center md:flex-nowrap md:text-left lg:w-auto",children:[!!L&&(0,a.jsx)("h2",{className:"mr-10 w-full font-semibold text-20 text-primary leading-tight tracking-[0.06px] md:mr-20 md:w-auto md:text-22 lg:text-24",dangerouslySetInnerHTML:{__html:L}}),!!w&&(0,a.jsx)("div",{className:"mt-10 w-full text-balance text-12 tracking-[0.03px] md:mt-0 md:w-auto md:text-14",dangerouslySetInnerHTML:{__html:w}})]}),!!_&&(0,a.jsx)("div",{className:"hidden w-1/3 lg:block",children:(0,a.jsx)(c.$,{className:"w-full",onClick:()=>{H(!P)},size:"lg",theme:"duplex",variant:"primary",children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:P?"Hide Form":_}})})})]}),(0,a.jsxs)("div",{className:"relative mt-30 overflow-hidden rounded-30 shadow-testimonial lg:mt-50",ref:B,children:[(0,a.jsx)("div",{className:"-translate-y-1/2 absolute top-1/2 left-35 z-10 hidden w-[376px] max-w-full lg:block",children:(0,a.jsxs)("div",{className:"group relative h-full overflow-hidden rounded-30 bg-gray shadow-testimonial transition-all duration-300 hover:bg-white hover:shadow-md",children:[(0,a.jsx)("div",{className:"relative isolate h-225 w-full shrink-0 overflow-hidden shadow-header",children:!!(null==S?void 0:S.sourceUrl)&&(0,a.jsx)(r.default,{alt:null!=M?M:"",blurDataURL:null!=(l=S.dataUrl)?l:void 0,className:"absolute inset-0 size-full object-cover object-center",fill:!0,placeholder:S.dataUrl?"blur":"empty",src:S.sourceUrl})}),(0,a.jsxs)("div",{className:"px-35 pt-30 pb-35",children:[!!M&&(0,a.jsx)("h3",{className:(0,x.cn)((0,d.D)({heading:"h3",theme:"duplex"})),dangerouslySetInnerHTML:{__html:M}}),(0,a.jsxs)("div",{className:"relative mt-15 truncate text-15 lg:text-16",children:[!!I&&(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"t:"})," ",(0,a.jsx)("a",{className:"c-linkline c-linkline--alt text-primary",dangerouslySetInnerHTML:{__html:I},href:"tel:".concat(I),rel:"noopener noreferrer",target:"_blank"})]}),!!k&&(0,a.jsxs)("div",{className:"mt-10",children:[(0,a.jsx)("strong",{children:"e:"})," ",(0,a.jsx)("a",{className:"c-linkline c-linkline--alt text-primary",dangerouslySetInnerHTML:{__html:k},href:"mailto:".concat(k),rel:"noopener noreferrer",target:"_blank"})]})]}),!!(null==N?void 0:N.url)&&(0,a.jsx)("div",{className:"mt-30",children:(0,a.jsx)(m.z,{href:N.url,openNewTab:"_blank"===N.target,size:"lg",theme:"duplex",variant:"secondary",children:N.title})})]})]})}),!!(null==C?void 0:C.latitude)&&!!C.longitude&&(0,a.jsxs)("div",{className:"relative h-[360px] overflow-hidden rounded-t-30 border-5 border-white bg-gray shadow-testimonial md:h-[540px] lg:h-[670px] lg:rounded-b-30",children:[!!g&&!!T&&(0,a.jsx)(h,{center:{lat:C.latitude,lng:C.longitude},markers:[{lat:C.latitude,lng:C.longitude}],theme:"duplex"}),!g&&(0,a.jsx)(o.M,{center:{lat:C.latitude,lng:C.longitude},theme:"duplex"})]}),!!T&&(0,a.jsx)("div",{className:(0,x.cn)("isolate flex flex-col justify-center rounded-b-30 bg-white px-15 py-25 shadow-testimonial transition-all duration-300 lg:absolute lg:inset-y-0 lg:right-0 lg:w-1/3 lg:rounded-r-30 lg:rounded-l-20 lg:px-25",P?"translate-x-0 opacity-100":"lg:translate-x-full lg:opacity-0"),children:(0,a.jsx)(p,{agentsByBranch:s,gtmEvent:v,lettingsDisabled:f,offices:b,salesDisabled:j,scrollRef:B,selectedBranch:null==(t=y.office)?void 0:t.title,selectedInterest:y.interestedIn,submitClasses:"w-full",theme:"duplex"})})]})]})})}},17009:(e,t,l)=>{"use strict";l.d(t,{BranchDetailsGable:()=>h});var a=l(85664),s=l(36338),r=l(3008),n=l(63276),i=l(41784),o=l(48306),d=l(46550),c=l(96777),m=l(1269);let u=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(5934)]).then(l.bind(l,25934)).then(e=>({default:e.FormContact})),{loadableGenerated:{webpack:()=>[25934]},ssr:!1}),x=(0,s.default)(()=>Promise.all([l.e(1768),l.e(5493),l.e(1574)]).then(l.bind(l,1574)).then(e=>({default:e.MapWithOffset})),{loadableGenerated:{webpack:()=>[1574]},ssr:!1});function h(e){var t,l;let{agentsByBranch:s,enableDynamicMaps:h,gtmEvent:p,lettingsDisabled:g,offices:v,salesDisabled:f,section:b}=e,{bottomPadding:j,content:y,formTitle:w,intro:N,location:k,locationContent:_,locationImage:S,locationName:C,openingHours:I,subSectionContent:L,subSectionTitle:M,title:T,topPadding:z}=b,{inView:B,ref:P}=(0,d.M)(),H=(0,n.useRef)(null);return(0,a.jsxs)("div",{className:(0,m.rf)(z,j),ref:P,children:[(0,a.jsx)("div",{className:"mx-auto max-w-[1620px] px-20 lg:px-30",children:(!!N||!!T||!!y)&&(0,a.jsxs)("div",{className:"flex flex-wrap pb-40 xl:pb-70",children:[(0,a.jsxs)("div",{className:"w-full md:w-7/12 md:pr-20 lg:pr-35",children:[!!N&&(0,a.jsx)("h3",{className:(0,o.D)({heading:"h2",theme:"gable"}),dangerouslySetInnerHTML:{__html:N}}),!!T&&(0,a.jsx)("h3",{className:(0,o.D)({heading:"h2",theme:"gable"}),dangerouslySetInnerHTML:{__html:T}}),!!y&&(0,a.jsx)("div",{className:"apex-content mt-30 max-w-[740px] leading-[1.77] lg:text-18",dangerouslySetInnerHTML:{__html:y}})]}),(0,a.jsxs)("div",{className:"mt-30 w-full md:mt-0 md:w-5/12 md:pl-20 lg:pl-25",children:[!!M&&(0,a.jsx)("h3",{className:(0,o.D)({heading:"h2",theme:"gable"}),dangerouslySetInnerHTML:{__html:M}}),!!L&&(0,a.jsx)("div",{className:"apex-content mt-30 leading-[1.77] lg:text-18",dangerouslySetInnerHTML:{__html:L}}),!!I&&(0,a.jsxs)("div",{className:"mt-30 lg:mt-50 xl:mt-70",children:[(0,a.jsx)("h3",{className:(0,o.D)({heading:"h2",theme:"gable"}),children:"Opening hours"}),(0,a.jsx)("div",{className:"mt-20",children:I.map((e,t)=>
1(0,a.jsxs)("div",{className:(0,c.cn)("relative flex items-center justify-between py-9 pr-25 pl-45 text-16 md:text-18",t%2==0&&"bg-bordergray/50"),children:[(0,a.jsx)("span",{className:"absolute top-20 left-20 size-8 rounded-full bg-secondary"}),!!(null==e?void 0:e.day)&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:e.day}}),!!(null==e?void 0:e.openingHours)&&(0,a.jsx)("div",{className:"min-w-150 md:min-w-230",dangerouslySetInnerHTML:{__html:e.openingHours}})]},null==e?void 0:e.day))})]})]})]})}),(0,a.jsx)("div",{className:(0,c.cn)("relative min-h-[676px] overflow-hidden border-bordergray border-t xl:min-h-[741px]",(!!N||!!T||!!y||M||L||I)&&"mt-40 md:mt-50"),children:(0,a.jsxs)("div",{className:"flex flex-wrap",ref:H,children:[(0,a.jsx)("div",{className:"w-full 3xl:px-80 px-20 py-50 text-left md:w-1/2 md:px-30 md:py-80 lg:py-120 xl:py-180 2xl:px-50",children:(0,a.jsxs)("div",{className:"mx-auto max-w-[720px]",children:[!!w&&(0,a.jsx)("h2",{className:(0,c.cn)("mb-40",(0,o.D)({heading:"h2",theme:"gable"})),dangerouslySetInnerHTML:{__html:w}}),(0,a.jsx)("div",{className:"mt-25",children:!!B&&(0,a.jsx)(u,{agentsByBranch:s,gtmEvent:p,lettingsDisabled:g,offices:v,salesDisabled:f,scrollRef:H,selectedBranch:null==(t=b.office)?void 0:t.title,selectedInterest:b.interestedIn,submitClasses:"w-full",theme:"gable",wide:!0})})]})}),(0,a.jsx)("div",{className:"w-full md:w-1/2",children:(0,a.jsxs)("div",{className:"relative h-400 md:h-full",children:[!!h&&!!B&&!!(null==k?void 0:k.latitude)&&!!k.longitude&&(0,a.jsx)(x,{center:{lat:k.latitude,lng:k.longitude},markers:[{lat:k.latitude,lng:k.longitude}],theme:"gable"}
1),!h&&!!(null==k?void 0:k.latitude)&&!!k.longitude&&(0,a.jsx)(i.M,{center:{lat:k.latitude,lng:k.longitude},theme:"gable"}),!!h&&(0,a.jsxs)("div",{className:"chalet-location-box !left-auto !right-1/2 absolute z-10 hidden flex-col justify-end bg-white 2xl:flex",children:[(0,a.jsx)("div",{className:"relative h-250",children:!!(null==S?void 0:S.sourceUrl)&&(0,a.jsx)(r.default,{alt:null!=C?C:"",blurDataURL:null!=(l=S.dataUrl)?l:void 0,className:"absolute inset-0 size-full object-cover object-center",fill:!0,placeholder:S.dataUrl?"blur":"empty",src:S.sourceUrl})}),(0,a.jsxs)("div",{className:"relative w-full px-30 pt-22 pb-30",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-gray opacity-90"}),(0,a.jsxs)("div",{className:"relative",children:[!!C&&(0,a.jsx)("h2",{className:"font-body font-bold text-16 uppercase tracking-[2.06px]",dangerouslySetInnerHTML:{__html:C}}),!!_&&(0,a.jsx)("div",{className:"text-15 leading-[1.77] lg:text-16 [&_a]:text-primary [&_a]:hover:underline [&_p]:mt-10",dangerouslySetInnerHTML:{__html:_}})]})]})]})]})})]})})]})}},22260:(e,t,l)=>{"use strict";l.d(t,{BranchDetailsClientChalet:()=>h});var a=l(85664),s=l(36338),r=l(3008),n=l(63276),i=l(34989),o=l(41784),d=l(46550),c=l(96777),m=l(1269);let u=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(5934)]).then(l.bind(l,25934)).then(e=>({default:e.FormContact})),{loadableGenerated:{webpack:()=>[25934]},ssr:!1}),x=(0,s.default)(()=>Promise.all([l.e(1768),l.e(5493),l.e(1574)]).then(l.bind(l,1574)).then(e=>({default:e.MapWithOffset})),{loadableGenerated:{webpack:()=>[1574]},ssr:!1});function h(e){var t,l;let{agentsByBranch:s,enableDynamicMaps:h,gtmEvent:p,lettingsDisabled:g,offices:v,salesDisabled:f,section:b,theme:j}=e,{bottomPadding:y,content:w,formTitle:N,intro:k,location:_,locationContent:S,locationImage:C,locationName:I,openingHours:L,subSectionContent:M,subSectionTitle:T,title:z,topPadding:B}=b,{inView:P,ref:H}=(0,d.M)(),D=(0,n.useRef)(null);return(0,a.jsxs)("div",{className:(0,m.rf)(B,y),ref:H,children:[(0,a.jsxs)("div",{className:(0,i.c)({theme:j}),children:[(!!k||!!z||!!w)&&(0,a.jsxs)("div",{className:"flex flex-wrap",children:[(0,a.jsx)("div",{className:"w-full md:w-1/3 md:pr-20 lg:pr-35",children:!!k&&(0,a.jsx)("div",{className:"text-20 md:text-26 lg:text-30",dangerouslySetInnerHTML:{__html:k}})}),(0,a.jsxs)("div",{className:"mt-30 w-full md:mt-0 md:w-2/3 md:pl-20 lg:pl-25",children:[!!z&&(0,a.jsx)("h3",{className:"font-body font-bold text-24 tracking-[0.6px]",dangerouslySetInnerHTML:{__html:z}}),!!w&&(0,a.jsx)("div",{className:"apex-content mt-30 leading-[1.77] lg:text-18",dangerouslySetInnerHTML:{__html:w}})]})]}),(0,a.jsxs)("div",{className:(0,c.cn)("flex flex-wrap",(!!k||!!z||!!w)&&"pt-40 md:pt-50"),children:[(0,a.jsxs)("div",{className:"w-full md:w-1/3 md:pr-20 lg:pr-35",children:[!!T&&(0,a.jsx)("h3",{className:"font-body font-bold text-24 tracking-[0.6px]",dangerouslySetInnerHTML:{__html:T}}),!!M&&(0,a.jsx)("div",{className:"apex-content mt-30 leading-[1.77] lg:text-18",dangerouslySetInnerHTML:{__html:M}})]}),!!L&&(0,a.jsxs)("div",{className:"mt-30 w-full md:mt-0 md:w-2/3 md:pl-20 lg:pl-25",children:[(0,a.jsx)("h3",{className:"flex flex-wrap items-baseline font-body font-bold text-24 tracking-60 md:flex-nowrap",children:"Opening hours"}),(0,a.jsx)("div",{className:"mt-20",children:L.map((e,t)=>(0,a.jsxs)("div",{className:(0,c.cn)("relative flex items-center justify-between py-9 pr-25 pl-45 text-16 md:text-18",t%2!=0&&"bg-gray"),children:[(0,a.jsx)("span",{className:"absolute top-20 left-20 size-8 rounded-full bg-secondary"}),!!(null==e?void 0:e.day)&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:e.day}}),!!(null==e?void 0:e.openingHours)&&(0,a.jsx)("div",{className:"min-w-150 md:min-w-230",dangerouslySetInnerHTML:{__html:e.openingHours}})]},null==e?void 0:e.day))})]})]})]}),(0,a.jsxs)("div",{className:(0,c.cn)("relative min-h-[676px] overflow-hidden xl:min-h-[741px]",(!!k||!!z||!!w||T||M||L)&&"mt-40 md:mt-50"),children:[(0,a.jsx)("div",{className:(0,i.c)({theme:j}),children:(0,a.jsx)("div",{className:"flex flex-wrap",ref:D,children:(0,a.jsxs)("div",{className:"w-full xl:w-1/3 xl:pr-30",children:[!!N&&(0,a.jsx)("h2",{className:"mb-40 font-body font-bold text-20 text-primary md:text-24",dangerouslySetInnerHTML:{__html:N}}),(0,a.jsx)("div",{className:"mt-25",children:!!P&&(0,a.jsx)(u,{agentsByBranch:s,gtmEvent:p,lettingsDisabled:g,offices:v,salesDisabled:f,scrollRef:D,selectedBranch:null==(t=b.office)?void 0:t.t
1itle,selectedInterest:b.interestedIn,submitClasses:"w-full",theme:j})})]})})}),(0,a.jsxs)("div",{className:"chalet-location-map relative xl:absolute xl:inset-y-0 xl:right-0",children:[(0,a.jsx)("h2",{className:"mt-35 mb-40 pl-20 font-body font-bold text-20 text-primary md:text-24 xl:mt-0 xl:pl-0",children:"Location"}),(0,a.jsxs)("div",{className:"relative h-[600px] xl:h-[665px]",children:[!!h&&!!P&&!!(null==_?void 0:_.latitude)&&!!_.longitude&&(0,a.jsx)(x,{center:{lat:_.latitude,lng:_.longitude},markers:[{lat:_.latitude,lng:_.longitude}],theme:j}),!h&&!!(null==_?void 0:_.latitude)&&!!_.longitude&&(0,a.jsx)(o.M,{center:{lat:_.latitude,lng:_.longitude},theme:j}),!!h&&(0,a.jsxs)("div",{className:"chalet-location-box absolute z-10 flex h-[460px] flex-col justify-end bg-white",children:[(0,a.jsx)("div",{className:"absolute inset-0",children:!!(null==C?void 0:C.sourceUrl)&&(0,a.jsx)(r.default,{alt:null!=I?I:"",blurDataURL:null!=(l=C.dataUrl)?l:void 0,className:"absolute inset-0 size-full object-cover object-center",fill:!0,placeholder:C.dataUrl?"blur":"empty",src:C.sourceUrl})}),(0,a.jsxs)("div",{className:"relative w-full px-30 pt-22 pb-30",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-gray opacity-90"}),(0,a.jsxs)("div",{className:"relative",children:[!!I&&(0,a.jsx)("h2",{className:"font-body font-bold text-16 uppercase tracking-[2.06px]",dangerouslySetInnerHTML:{__html:I}}),!!S&&(0,a.jsx)("div",{className:"text-15 leading-[1.77] lg:text-16 [&_a]:text-primary [&_a]:hover:underline [&_p]:mt-10",dangerouslySetInnerHTML:{__html:S}})]})]})]})]})]})]})]})}},23346:(e,t,l)=>{"use strict";l.d(t,{CalculatorsClient:()=>m});var a=l(85664),s=l(36338),r=l(46550);let n=(0,s.default)(()=>Promise.all([l.e(7155),l.e(3673)]).then(l.bind(l,87155)).then(e=>({default:e.Calculators})),{loadableGenerated:{webpack:()=>[87155]},ssr:!1}),i=(0,s.default)(()=>l.e(6162).then(l.bind(l,96162)).then(e=>({default:e.MortgageCalculator})),{loadableGenerated:{webpack:()=>[96162]},ssr:!1}),o=(0,s.default)(()=>l.e(7893).then(l.bind(l,17893)).then(e=>({default:e.MortgageCalculatorDuplex})),{loadableGenerated:{webpack:()=>[17893]},ssr:!1}),d=(0,s.default)(()=>l.e(5651).then(l.bind(l,15651)).then(e=>({default:e.YieldCalculator})),{loadableGenerated:{webpack:()=>[15651]},ssr:!1}),c=(0,s.default)(()=>l.e(1354).then(l.bind(l,51354)).then(e=>({default:e.YieldCalculatorDuplex})),{loadableGenerated:{webpack:()=>[51354]},ssr:!1});function m(e){var t,l,s;let{section:m,theme:u}=e,{calculators:x,department:h,mortgageEnquiryContent:p,mortgageEnquiryLink:g,mortgageRatesLocation:v}=m,{inView:f,ref:b}=(0,r.M)();return(0,a.jsxs)("div",{ref:b,children:[!!f&&"duplex"===u&&"mortgage"===x&&(0,a.jsx)(o,{hideTitle:!0,isCommercial:"commercial"===h,mortgageEnquiryContent:p,mortgageEnquiryLink:g,price:0,stampDutyLocation:null!=(t=null==v?void 0:v.toLowerCase())?t:""}),!!f&&"duplex"!==u&&"mortgage"===x&&(0,a.jsx)(i,{hideTitle:!0,isCommercial:"commercial"===h,isStandalone:!0,mortgageEnquiryContent:p,mortgageEnquiryLink:g,price:0,stampDutyLocation:null!=(l=null==v?void 0:v.toLowerCase())?l:"",theme:u}),!!f&&"duplex"===u&&"yield"===x&&(0,a.jsx)(c,{price:0}),!!f&&"duplex"!==u&&"yield"===x&&(0,a.jsx)(d,{price:0,theme:u}),!!f&&"both"===x&&(0,a.jsx)(n,{hideTitle:!0,isCommercial:"commercial"===h,mortgageEnquiryContent:p,mortgageEnquiryLink:g,price:0,stampDutyLocation:null!=(s=null==v?void 0:v.toLowerCase())?s:"",theme:u})]})}},23925:(e,t,l)=>{"use strict";l.d(t,{FeaturedTestimonialsGridClient:()=>u});var a=l(85664),s=l(3008),r=l(63276),n=l(74348),i=l(67308),o=l(17213),d=l(81534),c=l(96777),m=l(1269);function u(e){var t,l;let{index:u,section:x,testimonials:h,theme:p}=e,{bottomPadding:g,button:v,topPadding:f}=x,[b,j]=(0,r.useState)(null);return(0,d.Q)(null!==b),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("section",{className:(0,c.cn)("relative overflow-hidden bg-white",0===u?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,m.rf)(f,g),children:(0,a.jsxs)("div",{className:"beam-container",children:[(0,a.jsx)("div",{className:"-mx-12 flex flex-wrap",children:h.map(e=>(0,a.jsx)("div",{className:"mb-10 w-full px-12 md:mb-20 md:w-1/2 lg:mb-30",children:(0,a.jsx)(i.TestimonialCardSmallBeam,{expandedTestimonialSet:j,testimonial:e})},e.id))}),!!(null==v?void 0:v.url)&&(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)(o.z,{href:v.url,size:"apex"===p||"chalet"===p?"md":"default",target:null!=(t=v.target)?t:"",theme:p,variant:"secondary",children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:null!=(l=v.title)?l:""}})})})]})})}),!!b&&(0,a.jsxs)("div",{className:"fixed inset-0 z-100 flex items-center justify-center bg-black/95",children:[(0,a.jsx)("button",{"aria-label":"Close Mod
1al",className:"absolute inset-0",onClick:()=>{j(null)},type:"button"}),(0,a.jsxs)("div",{className:"relative h-screen w-[980px] max-w-full overflow-y-scroll px-30 py-50 text-white md:h-auto lg:px-50",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(n.I,{className:"size-60 text-white",name:"bi/solid-quote-alt"}),!!b.content&&(0,a.jsx)("div",{className:"lg:prose-lg xl:prose-xl mt-20 max-w-full font-heading prose-headings:font-medium prose-headings:text-primary text-white leading-[1.7] text-opacity-80 lg:mt-30 xl:mt-35",dangerouslySetInnerHTML:{__html:b.content}})]}),(0,a.jsxs)("div",{className:"relative mt-auto flex items-center pt-30",children:[(0,a.jsxs)("div",{className:"relative mr-15 flex size-42 items-center justify-center overflow-hidden rounded-full bg-white text-black",children:[(0,a.jsx)(n.I,{className:"size-42",name:"lucide/circle-user"}),!!b.featuredImage&&(0,a.jsx)(s.default,{alt:b.name,className:"absolute inset-0 size-full object-cover object-center",fill:!0,src:b.featuredImage})]}),(0,a.jsx)("div",{className:"font-bold text-16 text-white leading-[1.7] text-opacity-80 md:text-18 xl:text-20",dangerouslySetInnerHTML:{__html:b.name}})]})]}),(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute top-30 right-30 size-20 text-white transition-all duration-300 hover:opacity-75 lg:top-60 lg:right-60",onClick:()=>{j(null)},type:"button",children:(0,a.jsx)("svg",{"aria-hidden":"true","data-icon":"times","data-prefix":"fal",height:"25",viewBox:"0 0 320 512",width:"25",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z",fill:"currentColor"})})})]})]})}},24154:(e,t,l)=>{"use strict";l.d(t,{MortgageQuoteMaximumBtlLoan:()=>o});var a=l(85664),s=l(63276),r=l(34989),n=l(96777),i=l(1269);function o(e){let{index:t,section:l,theme:o,mortgageQuoteId:d}=e,{topPadding:c,bottomPadding:m}=l,u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=u.current;if(!e||document.getElementById("mqbtlmaxmortgagecalculator"))return;let t=document.createElement("script");return t.id="mqbtlmaxmortgagecalculator",t.src="https://frontend.mortgage-quote.me/calculators/btl-max-mortgage/mq-btl-max-mortgage-calc.js?id=".concat(d),e.appendChild(t),()=>{var e,t;null==(e=document.getElementById("mqbtlmaxmortgagecalculator"))||e.remove(),null==(t=document.getElementById("mq-btl-max-mortgage-calc"))||t.remove()}},[d]),(0,a.jsx)("section",{className:(0,n.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,i.rf)(c,m),children:(0,a.jsx)("div",{className:(0,n.cn)((0,r.c)({theme:o})),children:(0,a.jsx)("div",{ref:u})})})})}},28068:(e,t,l)=>{"use strict";l.d(t,{ZooplaValuationInitializer:()=>r});var a=l(85664),s=l(2712);let r=e=>{let{zooplaId:t}=e;return(0,a.jsx)(s.default,{onReady:()=>{document.dispatchEvent(new Event("zvtManualTrigger"))},src:"https://api.zooplavaluations.co.uk/resource/widgetiframeloader?key=".concat(t),type:"text/javascript"})}},30064:(e,t,l)=>{"use strict";l.d(t,{FormBeam:()=>u});var a=l(85664),s=l(36338),r=l(3008),n=l(34989),i=l(48306),o=l(96777),d=l(1269);let c=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(5934)]).then(l.bind(l,25934)).then(e=>({default:e.FormContact})),{loadableGenerated:{webpack:()=>[25934]},ssr:!1}),m=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(7588),l.e(6334),l.e(2718),l.e(2963),l.e(8560),l.e(4834),l.e(327)]).then(l.bind(l,20327)).then(e=>({default:e.FormCustom})),{loadableGenerated:{webpack:()=>[20327]},ssr:!1});function u(e){var t,l;let{agentsByBranch:s,form:u,gtmEvent:x,lettingsDisabled:h,office
1s:p,salesDisabled:g,section:v,showBlobs:f}=e,{bottomPadding:b,image:j,title:y,topPadding:w}=v;return(0,a.jsx)("div",{className:(0,d.rf)(w,b),children:(0,a.jsx)("div",{className:(0,n.c)({theme:"beam"}),children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"ui-card rounded-12 bg-gray px-20 py-40 md:max-w-[90%] md:pt-60 md:pr-205 md:pb-80 md:pl-35 lg:max-w-[790px] lg:pl-100",children:(0,a.jsxs)("div",{className:"mt-30 md:max-w-[320px] lg:max-w-[86%] xl:max-w-full",children:[!u&&(0,a.jsx)(c,{agentsByBranch:s,gtmEvent:x,lettingsDisabled:h,offices:p,salesDisabled:g,selectedBranch:null==(t=v.office)?void 0:t.title,selectedInterest:v.interestedIn,theme:"beam",title:y?(0,a.jsx)("h2",{className:(0,o.cn)("mb-25",(0,i.D)({heading:"h3",theme:"beam"})),dangerouslySetInnerHTML:{__html:y}}):void 0}),!!u&&(0,a.jsx)(m,{form:u,gtmEvent:x,theme:"beam",title:y?(0,a.jsx)("h2",{className:(0,o.cn)("mb-25",(0,i.D)({heading:"h3",theme:"beam"})),dangerouslySetInnerHTML:{__html:y}}):void 0})]})}),(0,a.jsxs)("div",{className:"ui-media absolute inset-y-80 right-0 hidden w-[calc(33.333%+100px)] rounded-20 md:block",children:[(0,a.jsxs)("div",{className:"ui-media absolute inset-0 isolate overflow-hidden rounded-20",children:[!!(null==j?void 0:j.sourceUrl)&&(0,a.jsx)(r.default,{alt:null!=y?y:"",blurDataURL:null!=(l=j.dataUrl)?l:void 0,className:"absolute inset-0 size-full object-cover object-center",fill:!0,placeholder:j.dataUrl?"blur":"empty",src:j.sourceUrl}),(0,a.jsx)("div",{className:"absolute inset-0 bg-primary/20"})]}),!!f&&(0,a.jsxs)("svg",{className:"-top-58 absolute right-46",height:"117",width:"104",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{className:"fill-primary",d:"M2.917 90.39C-10.07 71.617 23.346 11.935 43.394 16.755c20.048 4.82 79.339 39.572 54.718 79.097-24.621 39.525-80.822 15.313-95.195-5.464z"}),(0,a.jsx)("g",{transform:"rotate(95 71.5 26.5)",children:(0,a.jsx)("path",{className:"fill-secondary",d:"M47.016 37.566C40.602 29.147 57.097 2.536 66.997 4.69c9.9 2.154 39.179 17.677 27.024 35.323-12.154 17.647-39.906 6.831-47.005-2.447z"})})]})]})]})})})}},30785:(e,t,l)=>{"use strict";l.r(t),l.d(t,{HeroBackground:()=>x});var a=l(85664),s=l(3008),r=l(63276);let n=/Safari/,i=/Chrome/,o=/iPad|iPhone|iPod/,d=/Mobi|Android/i,c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{respectReducedMotion:t=!0,timeout:l=2e3,debug:a=!1}=e,[s,c]=(0,r.useState)({canAutoplay:!1}),m=(0,r.useMemo)(()=>{var e,l,a,s;return!!t&&null!=(s=null==(l=(a=window).matchMedia)||null==(e=l.call(a,"(prefers-reduced-motion: reduce)"))?void 0:e.matches)&&s},[t]),u=(0,r.useMemo)(()=>{let e=navigator.userAgent,t=n.test(e)&&!i.test(e);return{isSafari:t,isIOS:o.test(e)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,isMobile:d.test(e)}},[]);return(0,r.useEffect)(()=>{let e,t=!1,s=null,r=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return a&&console.info("[useCanAutoplay]",...t)},n=()=>{s&&(s.pause(),s.removeAttribute("src"),s.load(),s.remove(),s=null),e&&clearTimeout(e)},i=async()=>{if(m)return r("Blocked by prefers-reduced-motion"),{canAutoplay:!1,reason:"prefers-reduced-motion"};if("userActivation"in navigator&&!navigator.userActivation.hasBeenActive&&(r("No user activation detected"),u.isIOS&&u.isSafari)){let e=navigator.connection;if(e&&!0===e.saveData)return r("iOS Safari with data saver mode detected"),{canAutoplay:!1,reason:"ios-data-saver"};let t=navigator.getBattery;if(t)try{let e=await t();if(e.level<.2&&!e.charging)return r("Low battery detected on iOS"),{canAutoplay:!1,reason:"ios-low-battery"}}catch(e){r("Battery API error:",e)}}return new Promise(t=>{(s=document.createElement("video")).muted=!0,s.playsInline=!0,s.preload="none",s.loop=!0,s.setAttribute("webkit-playsinline","true"),Object.assign(s.style,{position:"fixed",width:"1px",height:"1px",top:"-9999px",left:"-9999px",opacity:"0",pointerEvents:"none",visibility:"hidden"});let a=!1,n=e=>{a||(a=!0,t(e))};e=setTimeout(()=>{r("Autoplay test timed out"),n({canAutoplay:!1,reason:"timeout"})},l),s.addEventListener("play",()=>{r("Play event fired");let e=0,t=()=>{e++,s&&!s.paused?(r("Video confirmed playing (not paused)"),n({canAutoplay:!0})):e<5?setTimeout(t,50):(r("Video not actually playing despite play event"),n({canAutoplay:!1,reason:"play-failed"}))};setTimeout(t,50)},{once:!0}),s.addEventListener("error",e=>{r("Video error:",e),n({canAutoplay:!1,reason:"video-error"})},{once:!0}),document.body.appendChild(s),s.src="data:video/webm;base64,GkXfo0AgQoaBAUL3gQFC8oEEQvOBCEKCQAR3ZWJtQoeBAkKFgQIYU4BnQI0VSalmQCgq17FAAw9CQE2AQAZ3aGFtbXlXQUAGd2hhbW15RIlACECPQAAAAAAAFlSua0AxrkAu14EBY8WBAZyBACK1nEADdW5khkAFVl9WUDglhohAA1ZQOIOBAeBABrCBCLqBCB9DtnVAIueBAKNAHIEAAIAwAQCdASoIAAgAAUAmJaQAA3AA/vz0AAA=";let i=s.play();i?i.then(()=>{r("Play promise resolved")}
1).catch(e=>{if(r("Play promise rejected:",e.name,e.message),"NotAllowedError"===e.name){var t;let l=(null==(t=e.message)?void 0:t.toLowerCase())||"";l.includes("user activation")||l.includes("gesture")?n({canAutoplay:!1,reason:"user-activation-required"}):l.includes("policy")?n({canAutoplay:!1,reason:"autoplay-policy"}):n({canAutoplay:!1,reason:"not-allowed"})}else n({canAutoplay:!1,reason:"play-rejected"})}):(r("No play promise returned"),n({canAutoplay:!1,reason:"no-play-promise"}))})},o=setTimeout(async()=>{try{let e=await i();t||(r("Final result:",e),c(e))}catch(e){r("Detection failed:",e),t||c({canAutoplay:!1,reason:"detection-error"})}finally{n()}},10);return()=>{t=!0,clearTimeout(o),n()}},[m,l,a,u]),s.canAutoplay};var m=l(96777),u=l(54242);function x(e){var t,l;let{section:r}=e,{iframeVideoUrl:n,image:i,imageTransition:o,overlayColor:d,overlayOpacity:x,title:h,video:p,videoQualityOverwrite:g,imageMobile:v,videoMobile:f,videoQualityOverwriteMobile:b,iframeVideoUrlMobile:j}=r,y=c({respectReducedMotion:!1,debug:!0});return(0,a.jsxs)("div",{className:"absolute inset-0 overflow-hidden",children:[!!(null==v?void 0:v.sourceUrl)&&(0,a.jsx)(s.default,{alt:(0,u.$J)(null!=h?h:""),blurDataURL:null!=(t=v.dataUrl)?t:void 0,className:(0,m.cn)("object-cover object-center md:hidden","panLeftRight"===o&&"!inset-y-0 !left-0 !right-auto !w-[200%] max-w-[200%] animate-hero-pan","panRightLeft"===o&&"!inset-y-0 !left-0 !right-auto !w-[200%] max-w-[200%] animate-hero-pan-reverse","zoomOut"===o&&"scale-150 animate-hero-zoom-out","panZoomOut"===o&&"!inset-y-0 !left-0 !right-auto !w-[200%] max-w-[200%] scale-150 animate-hero-ken","panReverseZoomOut"===o&&"!inset-y-0 !left-0 !right-auto !w-[200%] max-w-[200%] scale-150 animate-hero-ken-reverse"),fill:!0,placeholder:v.dataUrl?"blur":"empty",priority:!0,sizes:"panLeftRight"===o||"panZoomOut"===o||"panRightLeft"===o||"panReverseZoomOut"===o?"200vw":"100vw",src:v.sourceUrl}),!!(null==i?void 0:i.sourceUrl)&&(0,a.jsx)(s.default,{alt:(0,u.$J)(null!=h?h:""),blurDataURL:null!=(l=i.dataUrl)?l:void 0,className:(0,m.cn)("object-cover object-center","panLeftRight"===o&&"!inset-y-0 !left-0 !right-auto !w-[200%] max-w-[200%] animate-hero-pan","panRightLeft"===o&&"!inset-y-0 !left-0 !right-auto !w-[200%] max-w-[200%] animate-hero-pan-reverse","zoomOut"===o&&"scale-150 animate-hero-zoom-out","panZoomOut"===o&&"!inset-y-0 !left-0 !right-auto !w-[200%] max-w-[200%] scale-150 animate-hero-ken","panReverseZoomOut"===o&&"!inset-y-0 !left-0 !right-auto !w-[200%] max-w-[200%] scale-150 animate-hero-ken-reverse",(null==v?void 0:v.sourceUrl)&&"hidden md:block"),fill:!0,placeholder:i.dataUrl?"blur":"empty",priority:!0,sizes:"panLeftRight"===o||"panZoomOut"===o||"panRightLeft"===o||"panReverseZoomOut"===o?"200vw":"100vw",src:i.sourceUrl}),!!(null==f?void 0:f.mediaItemUrl)&&!j&&y&&(0,a.jsx)("video",{autoPlay:!0,className:"absolute inset-0 size-full object-cover object-center md:hidden",controls:!1,loop:!0,muted:!0,playsInline:!0,preload:"auto",src:"https://res.cloudinary.com/estate-track/video/fetch/q_".concat(null!=b?b:"auto",",vc_vp9,w_1600,c_limit,f_auto/").concat(f.mediaItemUrl)}),!!(null==p?void 0:p.mediaItemUrl)&&!n&&y&&(0,a.jsx)("video",{autoPlay:!0,className:(0,m.cn)("absolute inset-0 size-full object-cover object-center",!!(null==f?void 0:f.mediaItemUrl)&&!j&&"hidden md:block"),controls:!1,loop:!0,muted:!0,playsInline:!0,preload:"auto",src:"https://res.cloudinary.com/estate-track/video/fetch/q_".concat(null!=g?g:"auto",",vc_vp9,w_1600,c_limit,f_auto/").concat(p.mediaItemUrl)}),!!j&&y&&(0,a.jsx)("iframe",{allow:"accelerometer;gyroscope;autoplay;encrypted-media;picture-in-picture;",className:"absolute inset-0 h-full min-h-full w-full min-w-full border-none object-cover object-center md:hidden",src:j,title:"Background Video"}),!!n&&y&&(0,a.jsx)("iframe",{allow:"accelerometer;gyroscope;autoplay;encrypted-media;picture-in-picture;",className:(0,m.cn)("absolute inset-0 h-full min-h-full w-full min-w-full border-none object-cover object-center",!!j&&"hidden md:block"),src:n,title:"Background Video"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black/50",style:{backgroundColor:null!=d?d:void 0,opacity:null!=x?x:void 0}})]})}},31062:(e,t,l)=>{"use strict";l.r(t),l.d(t,{FeaturedPropertiesClient:()=>g});var a=l(85664),s=l(36338),r=l(34989),n=l(48306),i=l(17213),o=l(96777),d=l(1269);let c=(0,s.default)(()=>Promise.all([l.e(2305),l.e(6559)]).then(l.bind(l,26559)).then(e=>({default:e.PropertiesSliderBeam})),{loadableGenerated:{webpack:()=>[26559]}}),m=(0,s.default)(()=>Promise.all([l.e(9016),l.e(8090)]).then(l.bind(l,8090)).then(e=>({default:e.PropertiesSliderApex})),{loadableGenerated:{webpack:()=>[8090]}}),u=(0,s.default)(()=>l.e(4239).then(l.bind(l,4239)).then(e=>({default:e.PropertiesSliderChalet})),{loadableGenerated:{webpack:()=>[4239]}}),x=(0,s.default)(()=>l.e(7205).then(l.bind(l,77205)).then(e=>({default:e.PropertiesSliderFascia})),{loadableGenerated:{webpack:()=>[77205]}}),h=(0,s.default)(()=>l.e(5137).then(l.bind(l,85137)).then(e=>({default:e.PropertiesSliderGable})),{loadableGenerated:{webpack:()=>[85137]}}),p=(0,s.default)(()=>l.e(4244).then(l.bind(l,24244)).then(e=>({default:e.PropertiesSliderDuplex})),{loadableGenerated:{webpack:()=>[24244]}});function g(e){var t;let{currentCommercialLettingsProperties:l,currentCommercialSalesProperties:s,currentLetProperties:g,currentLettingsProperties:v,currentSalesProperties:f,currentSoldProperties:b,fasciaPropertyCardBackgroun
1dColor:j,fasciaPropertyCardTextColor:y,hideNewlyListedBadge:w,index:N,mobileLayoutStacked:k=!1,section:_,showBlobs:S,theme:C}=e,{backgroundColor:I,bottomPadding:L,button:M,centerTitle:T,commercialLettingsDepartment:z,commercialSalesDepartment:B,content:P,defaultTab:H,letProperties:D,lettingsDepartment:E,pretitle:A,salesDepartment:U,soldProperties:F,textColor:q,title:R,topPadding:G}=_;return(0,a.jsx)("section",{className:(0,o.cn)("relative overflow-hidden bg-white",0===N?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsxs)("div",{className:(0,d.rf)(G,L),children:[!!R&&"fascia"!==C&&"duplex"!==C&&"gable"!==C&&(0,a.jsx)("div",{className:(0,o.cn)("relative z-10",(0,r.c)({theme:C})),children:(0,a.jsx)("h2",{className:(0,o.cn)("text-center",(0,n.D)({heading:"h1sm",theme:C}),!T&&"md:text-left","beam"===C?"mb-30 md:mb-50":"mb-7","beam"===C&&T&&"lg:mb-60","chalet"===C&&"mb-25 md:mb-35 lg:mb-40"),dangerouslySetInnerHTML:{__html:R}})}),"beam"===C&&(0,a.jsx)(c,{centerTitle:!!T,commercialLettingsDepartment:!!z,commercialLettingsProperties:l.slice(0,12),commercialSalesDepartment:!!B,commercialSalesProperties:s.slice(0,12),defaultTab:null!=H?H:"sales",hideNewlyListedBadge:w,letDepartment:!!D,letProperties:g.slice(0,12),lettingsDepartment:!!E,lettingsProperties:v.slice(0,12),mobileLayoutStacked:k,salesDepartment:!!U,salesProperties:f.slice(0,12),showBlobs:S,soldDepartment:!!F,soldProperties:b.slice(0,12)}),"apex"===C&&(0,a.jsx)(m,{centerTitle:!!T,commercialLettingsDepartment:!!z,commercialLettingsProperties:l.slice(0,12),commercialSalesDepartment:!!B,commercialSalesProperties:s.slice(0,12),defaultTab:null!=H?H:"sales",hideNewlyListedBadge:w,letDepartment:!!D,letProperties:g.slice(0,12),lettingsDepartment:!!E,lettingsProperties:v.slice(0,12),mobileLayoutStacked:k,salesDepartment:!!U,salesProperties:f.slice(0,12),showBlobs:S,soldDepartment:!!F,soldProperties:b.slice(0,12)}),"chalet"===C&&(0,a.jsx)(u,{centerTitle:!!T,commercialLettingsDepartment:!!z,commercialLettingsProperties:l.slice(0,12),commercialSalesDepartment:!!B,commercialSalesProperties:s.slice(0,12),defaultTab:null!=H?H:"sales",hideNewlyListedBadge:w,letDepartment:!!D,letProperties:g.slice(0,12),lettingsDepartment:!!E,lettingsProperties:v.slice(0,12),salesDepartment:!!U,salesProperties:f.slice(0,12),showBlobs:S,soldDepartment:!!F,soldProperties:b.slice(0,12)}),"gable"===C&&(0,a.jsx)(h,{backgroundColor:I,centerTitle:!!T,commercialLettingsDepartment:!!z,commercialLettingsProperties:l.slice(0,12),commercialSalesDepartment:!!B,commercialSalesProperties:s.slice(0,12),content:P,defaultTab:null!=H?H:"sales",hideNewlyListedBadge:w,letDepartment:!!D,letProperties:g.slice(0,12),lettingsDepartment:!!E,lettingsProperties:v.slice(0,12),pretitle:A,salesDepartment:!!U,salesProperties:f.slice(0,12),showBlobs:S,soldDepartment:!!F,soldProperties:b.slice(0,12),textColor:q,title:R}),"fascia"===C&&(0,a.jsx)(x,{centerTitle:!!T,commercialLettingsDepartment:!!z,commercialLettingsProperties:l.slice(0,12),commercialSalesDepartment:!!B,commercialSalesProperties:s.slice(0,12),defaultTab:null!=H?H:"sales",fasciaPropertyCardBackgroundColor:j,fasciaPropertyCardTextColor:y,hideNewlyListedBadge:w,letDepartment:!!D,letProperties:g.slice(0,12),lettingsDepartment:!!E,lettingsProperties:v.slice(0,12),pretitle:A,salesDepartment:!!U,salesProperties:f.slice(0,12),showBlobs:S,soldDepartment:!!F,soldProperties:b.slice(0,12),title:R}),"duplex"===C&&(0,a.jsx)(p,{centerTitle:!!T,commercialLettingsDepartment:!!z,commercialLettingsProperties:l.slice(0,12),commercialSalesDepartment:!!B,commercialSalesProperties:s.slice(0,12),defaultTab:null!=H?H:"sales",hideNewlyListedBadge:w,letDepartment:!!D,letProperties:g.slice(0,12),lettingsDepartment:!!E,lettingsProperties:v.slice(0,12),pretitle:A,salesDepartment:!!U,salesProperties:f.slice(0,12),showBlobs:S,soldDepartment:!!F,soldProperties:b.slice(0,12),title:R}),!!(null==M?void 0:M.url)&&!!M.title&&(0,a.jsx)("div",{className:(0,o.cn)("apex"===C&&"bg-gray"),children:(0,a.jsx)("div",{className:(0,o.cn)("text-center","apex"===C?"pb-50 lg:pb-70":"chalet"!==C?"pt-40":"",(0,r.c)({theme:C})),children:(0,a.jsx)(i.z,{href:M.url,size:"chalet"===C||"apex"===C||"duplex"===C?"md":"default",target:null!=(t=M.target)?t:"_self",theme:C,variant:"beam"===C?"secondary":"primary",children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:M.title}})})})})]})})}},32042:(e,t,l)=>{"use strict";
1l.d(t,{MortgageQuoteLendersCarousel:()=>o});var a=l(85664),s=l(63276),r=l(34989),n=l(96777),i=l(1269);function o(e){let{index:t,section:l,theme:o,mortgageQuoteId:d}=e,{topPadding:c,bottomPadding:m}=l,u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=u.current;if(!e||document.getElementById("mqlenderscarousel"))return;let t=document.createElement("script");return t.id="mqlenderscarousel",t.src="https://frontend.mortgage-quote.me/calculators/carousel/mq-lenders-carousel.js?id=".concat(d,"&theme=greyscale&pause=false&hover=true"),e.appendChild(t),()=>{var e,t;null==(e=document.getElementById("mqlenderscarousel"))||e.remove(),null==(t=document.getElementById("mqlenderscarouselcontainer"))||t.remove()}},[d]),(0,a.jsx)("section",{className:(0,n.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,i.rf)(c,m),children:(0,a.jsx)("div",{className:(0,n.cn)((0,r.c)({theme:o})),children:(0,a.jsx)("div",{ref:u})})})})}},32060:(e,t,l)=>{"use strict";l.d(t,{BranchDetailsClient:()=>u});var a=l(85664),s=l(36338),r=l(63276),n=l(34989),i=l(48306),o=l(46550),d=l(96777),c=l(1269);let m=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(5934)]).then(l.bind(l,25934)).then(e=>({default:e.FormContact})),{loadableGenerated:{webpack:()=>[25934]},ssr:!1});function u(e){var t;let{agentsByBranch:l,gtmEvent:s,lettingsDisabled:u,offices:x,salesDisabled:h,section:p,theme:g}=e,{bottomPadding:v,content:f,formTitle:b,intro:j,openingHours:y,subSectionContent:w,subSectionTitle:N,title:k,topPadding:_}=p,{inView:S,ref:C}=(0,o.M)(),I=(0,r.useRef)(null);return(0,a.jsx)("div",{className:(0,c.rf)(_,v),ref:C,children:(0,a.jsx)("div",{className:(0,n.c)({theme:g}),children:(0,a.jsxs)("div",{className:"-mx-15 flex flex-wrap",children:[(0,a.jsxs)("div",{className:(0,d.cn)("flex w-full flex-col px-15","beam"===g?"md:w-7/12":"md:w-1/2 md:pt-30"),children:[!!k&&(0,a.jsx)("h2",{className:(0,i.D)({heading:"h1sm",theme:g}),dangerouslySetInnerHTML:{__html:k}}),!!j&&(0,a.jsx)("div",{className:"mt-25 w-full font-heading font-semibold text-18 text-primary leading-normal tracking-30 md:text-20 lg:mt-30 lg:text-22 xl:text-24",dangerouslySetInnerHTML:{__html:j}}),!!f&&(0,a.jsx)("div",{className:(0,d.cn)("mt-25","beam"===g?"beam-content":"apex-content text-18 leading-[1.66]"),dangerouslySetInnerHTML:{__html:f}}),!!N&&(0,a.jsx)("h3",{className:(0,d.cn)("mt-40 lg:mt-65","apex"===g&&"lg:text-24",(0,i.D)({heading:"h3",theme:g})),dangerouslySetInnerHTML:{__html:N}}),!!w&&(0,a.jsx)("div",{className:(0,d.cn)("mt-25","beam"===g&&"beam-content","apex"===g&&"apex-content text-18 leading-[1.66] lg:mt-30"),dangerouslySetInnerHTML:{__html:w}}),!!y&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h3",{className:(0,d.cn)("mt-auto pt-40 lg:pt-65","apex"===g&&"lg:text-24",(0,i.D)({heading:"h3",theme:g})),children:"Opening Hours"}),(0,a.jsx)("div",{className:"mt-25 max-w-[585px]",children:y.map((e,t)=>(0,a.jsxs)("div",{className:(0,d.cn)('relative flex py-12 pr-25 pl-42 text-15 text-black leading-[23px] after:absolute after:top-19 after:left-13 after:size-9 after:bg-secondary after:content-[""] md:text-17',"beam"===g&&t%2==0||"apex"===g&&t%2!=0?"":"bg-gray","beam"===g&&"rounded-12"),children:[!!(null==e?void 0:e.day)&&(0,a.jsx)("div",{className:"w-1/2 pr-10 text-15 lg:w-2/3 xl:text-16",dangerouslySetInnerHTML:{__html:e.day}}),!!(null==e?void 0:e.openingHours)&&(0,a.jsx)("div",{className:"w-1/2 text-15 lg:w-1/3 xl:text-16",dangerouslySetInnerHTML:{__html:e.openingHours}})]},null==e?void 0:e.day))})]})]}),(0,a.jsx)("div",{className:(0,d.cn)("mt-40 w-full px-15 md:mt-0","beam"===g?"md:w-5/12":"md:w-1/2"),ref:I,children:(0,a.jsx)("div",{className:(0,d.cn)("bg-gray px-25 pb-40 lg:px-35","beam"===g?"rounded-12 pt-25":"mx-auto max-w-[480px] pt-40 md:mr-0 md:ml-auto xl:px-45"),children:!!S&&(0,a.jsx)(m,{agentsByBranch:l,gtmEvent:s,lettingsDisabled:u,offices:x,salesDisabled:h,scrollRef:I,selectedBranch:null==(t=p.office)?void 0:t.title,selectedInterest:p.interestedIn,submitClasses:"w-full",theme:g,title:b?(0,a.jsx)("h3",{className:(0,d.cn)("mb-25",(0,i.D)({heading:"beam"===g?"h3":"h2",theme:g})),dangerouslySetInnerHTML:{__html:b}}):void 0})})})]})})})}},32444:(e,t,l)=>{"use strict";l.d(t,{LocationOverview:()=>m});var a=l(85664),s=l(36338),r=l(34989),n=l(48306),i=l(46550),o=l(96777),d=l(1269);let c=(0,s.default)(()=>Promise.all([l.e(1768),l.e(5493),l.e(6557)]).then(l.bind(l,36557)).then(e=>({default:e.MapWithPOIs})),{loadableGenerated:{webpack:()=>[36557]},ssr:!1});function m(e){let{index:t,section:l,theme:s}=e,{bottomPadding:m,location:u,title:x,topPadding:h}=l,{inView:p,ref:g}=(0,i.M)();return(0,a.jsx)("section",{className:(0,o.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),ref:g,children:(0,a.jsxs)("div",{className:(0,d.rf)(h,m),children:[(0,a.jsx)("div",{className:(0,r.c)({theme:s}),children:!!x&&(0,a.jsx)("h2",{className:(0,n.D)({heading:"h1sm",theme:s}),dangerouslySetInnerHTML:{__html:x}})}),!!(null==u?void 0:u.latitude)&&!!u.longitude&&(0,a.jsx)("div",{className:"beam"===s?(0,r.c)({theme:s}):"",children:(0,a.jsx)("div",{className:(0,o.cn)("relative mt-30 h-[420px] overflow-hidden bg-gray shadow-map lg:h-[700px]","beam"===s&&"md:rounded-20"),children:!!p&&(0,a.jsx)(c,{center:{lat:u.latitude,lng:u.longitude},markers:[{lat:u.latitude,lng:u.longitude}]})})})]})})}},33834:(e,t,l)=>{"use strict";l.d(t,{SearchBarDuplex:()=>h});var a=l(85664),s=l(55243),r=l(1323),n=l(89309),i=l(63276),o=l(3589),d=l(74348),c=l(17213),m=l(39741),u=l(96777),x=l(15179);function h(e){let{defaultView:t,disableLettingsDepartment:l,disableSalesDepartment:h,hideSoldLetToggleDefaultValue:p,listingsDefaultType:g}=e,v=(0,n.useRouter)(),[f,b]=(0,i.useState)(""),[j,y]=(0,i.useState)(g),[w,N]=(0,i.useState)("/properties/".concat(g,"/")),k=m.Uk;(0,i.useEffect)(()=>{N((0,x.YQ)({defaultView:t,department:["for-sale","to-rent"].includes(j)?j:"for-sale",hide:p?"completed":"",location:f,showOnly:["new-homes","period-homes"].includes(j)?j:void 0}))},[t,j,f,p]);let _=(0,o.DE)();return(0,a.jsxs)("div",{className:"relative mt-30 flex flex-wrap items-center rounded-full shadow-testimonial md:mt-45 md:flex-nowrap md:bg-white md:p-10 md:pl-30 lg:mt-70 lg:items-stretch lg:pl-45",children:[(0,a.jsxs)("div",{className:"relative grow text-left",children:[(0,a.jsx)("label",{className:"mt-10 hidden w-full font-semibold text-16 text-primary leading-normal tracking-[0.7px] lg:block",htmlFor:"search",children:"Location"}),(0,a.jsx)("input",{autoComplete:"off",className:"block w-full rounded-full border-transparent border-x-0 border-t-0 border-b-2 px-25 py-11 text-left text-16 leading-[26px] tracking-[0.26px] shadow-searchbar outline-none transition-all duration-300 hover:border-secondary hover:outline-none focus:border-secondary focus:shadow-none focus:outline-none focus:ring-0 md:rounded-none md:px-0 md:pt-6 md:pb-5 md:text-18 md:shadow-none lg:mt-4 lg:mb-5 lg:pt-10 lg:text-21",id:"search",name:"search",onChange:e=>{b(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&v.push(w)},placeholder:"Search by address or postcode",type:"text",value:f}
1),!!_&&!h&&!l&&(0,a.jsxs)("div",{className:"md:-translate-y-1/2 z-10 mt-12 rounded-full bg-white px-25 md:absolute md:top-1/2 md:right-0 md:mt-0 md:rounded-none md:pr-0 md:pl-20",children:[(0,a.jsx)("label",{className:"mt-6 hidden w-full font-semibold text-16 text-primary leading-normal tracking-[0.7px] lg:block",htmlFor:"search",children:"Type"}),(0,a.jsx)(s.W1,{as:"div",className:"lg:mt-4",children:e=>{var t;let{open:l}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(s.IU,{className:"relative z-10 inline-flex w-full min-w-90 items-center justify-between bg-white pt-10 pb-8 text-left text-16 text-primary leading-[32px] tracking-[0.26px] outline-none ring-0 transition-all duration-300 focus:outline-none md:w-auto md:justify-start md:text-18 md:leading-[26px] xl:text-21",children:[(0,a.jsx)("span",{className:"truncate",children:null==(t=k.find(e=>e.value===j))?void 0:t.text}),(0,a.jsx)(d.I,{className:(0,u.cn)("relative top-1 ml-5 size-18 text-primary transition-transform md:ml-10 md:size-24",l?"rotate-180":"rotate-0"),name:"lucide/chevron-down"})]}),(0,a.jsx)(r.e,{enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,a.jsx)(s.c,{className:"-translate-x-1/2 absolute left-1/2 z-20 mt-8 max-h-240 w-160 origin-top-right overflow-x-hidden overflow-y-scroll rounded-15 border border-gray bg-white py-12 shadow-testimonial focus:outline-none",children:k.map(e=>(0,a.jsx)(s.Dr,{children:(0,a.jsxs)("button",{className:"flex w-full items-center pr-20 pl-12 text-17 text-black leading-[36px] hover:bg-secondary hover:text-white",onClick:()=>{y(e.value)},type:"button",children:[(0,a.jsx)("span",{children:(0,a.jsx)(d.I,{className:(0,u.cn)("size-24 text-current",j===e.value?"opacity-100":"opacity-0"),name:"lucide/check"})}),(0,a.jsx)("span",{className:"ml-12",children:e.text})]})},e.value))})})]})}})]})]}),(0,a.jsx)(c.z,{className:"!flex !rounded-full !text-18 md:!text-20 lg:!text-22 relative mt-10 w-full items-center md:mt-0 md:ml-40 md:w-auto lg:ml-50",href:w,size:"lg",theme:"duplex",variant:"primary",children:(0,a.jsx)("span",{children:"Search"})})]})}},33894:(e,t,l)=>{"use strict";l.d(t,{LandingFaqAccordion:()=>n});var a=l(85664),s=l(63276),r=l(96777);function n(e){let{items:t}=e,[l,n]=(0,s.useState)(null);return(0,a.jsx)("div",{className:"divide-y divide-border border-border border-y",children:null==t?void 0:t.map((e,t)=>{let s=l===t;return(0,a.jsxs)("div",{children:[(0,a.jsxs)("button",{"aria-expanded":s,className:"group flex w-full items-center justify-between gap-24 py-20 text-left",onClick:()=>n(s?null:t),type:"button",children:[(0,a.jsx)("span",{className:"font-heading text-18 text-primary transition sm:text-20",children:null==e?void 0:e.question}),(0,a.jsx)("span",{className:(0,r.cn)("flex-shrink-0 text-24 leading-none transition-transform duration-300",s?"rotate-45 text-secondary":"text-primary"),children:"+"})]}),(0,a.jsx)("div",{className:(0,r.cn)("grid transition-[grid-template-rows] duration-300 ease-out",s?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,a.jsx)("div",{className:"overflow-hidden",children:!!(null==e?void 0:e.answer)&&(0,a.jsx)("div",{className:(0,r.cn)("pr-48 pb-24 text-14 text-muted-foreground leading-relaxed transition-opacity duration-300 sm:text-16",s?"opacity-100":"opacity-0"),dangerouslySetInnerHTML:{__html:e.answer}})})})]},null==e?void 0:e.question)})})}},34444:(e,t,l)=>{"use strict";l.d(t,{l:()=>i});var a=l(85664),s=l(8173),r=l(74348),n=l(96777);let i=e=>{var t,l;let{error:i,hideIcons:o,label:d,onChange:c,options:m,simple:u=!1,size:x="default",theme:h="beam",value:p,ref:g,...v}=e,f=null==(t=m.find(e=>e.value===p))?void 0:t.text,b=null==(l=m.find(e=>""===e.value))?void 0:l.text,j=null!=b?b:d;return(0,a.jsxs)("div",{className:(0,n.cn)("relative transition-all",i&&!u&&"mb-38",!(i||u)&&"mb-2"),children:[!u&&(0,a.jsx)("div",{className:(0,n.cn)("group absolute flex items-center justify-between border-warning/10 border-x border-b bg-warning/5 px-10 py-5 text-11 text-warning shadow-sm transition-all duration-300",i&&"visible top-full opacity-100",!i&&"invisible top-0 opacity-0","beam"===h||"duplex"===h?"left-10 rounded-b-6":"inset-x-0"),children:null==i?void 0:i.message}),(0,a.jsxs)(s.bL,{onValueChange:c,value:p,...v,children:[(0,a.jsxs)(s.l9,{"aria-label":j,className:(0,n.cn)("group relative flex w-full appearance-none items-center justify-between border-2 bg-absolute-white text-left text-black tracking-[0.4px] shadow-none outline-none transition-all duration-300 placeholder:text-placeholder focus:z-20 focus:shadow-input-focus focus:outline-none",!(i||u)&&"border-bordergray ring-0 ring-green-1/20 hover:border-green-1 hover:ring-2 focus:border-green-2 focus:ring-4 focus:ring-green-1/20 aria-[expanded=true]:border-green-2 aria-[expanded=true]:ring-4 aria-[expanded=true]:ring-green-1/20",
1i&&!u&&"border-warning/40 ring-2 ring-warning/20 focus:border-warning/60 focus:ring-4 focus:ring-warning/20",u&&"border-white ring-secondary/40 hover:z-30 hover:ring-1 aria-[expanded=true]:z-30 aria-[expanded=true]:ring-2","beam"===h&&"rounded-8 text-16 leading-[24px]",("apex"===h||"chalet"===h||"gable"===h)&&!u&&"default"===x&&"text-18 leading-[28px]","fascia"===h&&!u&&"default"===x&&"text-18 leading-[28px] lg:leading-[34px]",("apex"===h||"chalet"===h||"fascia"===h||"gable"===h)&&u&&"text-16 leading-[21px]","small"===x&&"text-14 leading-[24px]","duplex"!==h&&"default"===x&&"py-10","duplex"!==h&&"View"!==d&&"pr-10 pl-14","duplex"===h&&"rounded-10 pt-29 pb-7 text-15","duplex"===h&&"View"!==d&&"pr-12 pl-14"),ref:g,children:["duplex"===h&&(0,a.jsx)("span",{className:"pointer-events-none absolute inset-x-14 top-0 pt-8 font-semibold text-12 text-black tracking-[0.3px]",dangerouslySetInnerHTML:{__html:d}}),(0,a.jsxs)("span",{className:(0,n.cn)("flex w-full items-center justify-between truncate","duplex"===h?"font-medium text-black/60":""!==p?"text-black":"text-black/60"),children:[(0,a.jsx)(s.WT,{"aria-label":p,placeholder:j,children:f}),(0,a.jsx)(s.In,{className:(0,n.cn)("text-primary","beam"!==h&&"chalet"!==h&&"duplex"!==h&&"absolute inset-y-0 right-0 flex w-49 items-center justify-center bg-absolute-white","beam"!==h&&"chalet"!==h&&"duplex"!==h&&"fascia"!==h&&!u&&"border-bordergray border-l",u&&"!text-secondary"),children:(0,a.jsx)(r.I,{className:(0,n.cn)("beam"===h||"chalet"===h?"size-20":"size-15 lg:size-20","beam"!==h&&"transition-transform group-aria-[expanded=true]:rotate-180"),name:"lucide/chevron-down"})})]})]}),(0,a.jsx)(s.ZL,{children:(0,a.jsx)(s.UC,{className:(0,n.cn)("relative z-150","beam"!==h&&"w-[var(--radix-select-trigger-width)]"),position:"beam"===h?"item-aligned":"popper",children:(0,a.jsx)(s.LM,{className:(0,n.cn)("max-h-[420px] max-w-[96vw] border border-bordergray shadow-duplexselect","fascia"===h||"gable"===h?"bg-gray-1":"bg-tertiary","beam"===h?"rounded-15 p-8":"duplex"===h?"rounded-10 p-4":"p-2"),children:(0,a.jsx)(s.YJ,{children:m.filter(e=>""!==e.value).map(e=>(0,a.jsxs)(s.q7,{className:(0,n.cn)("hover:!text-white focus:!text-white relative cursor-pointer radix-disabled:cursor-not-allowed overflow-hidden border-b bg-white py-10 pr-20 pl-30 radix-disabled:text-black/40 text-16 leading-[1.33] last:border-b-0 hover:bg-secondary focus:bg-secondary focus:outline-none","beam"===h&&"first:rounded-t-10 last:rounded-b-10","duplex"===h&&"first:rounded-t-8 last:rounded-b-8",("apex"===h||"chalet"===h||"fascia"===h||"gable"===h)&&"radix-disabled:hidden","fascia"!==h?"border-tertiary":"border-gray","gable"===h&&"!border-bordergray","all-houses"===e.value&&"peer",("detached-house"===e.value||"semi-detached-house"===e.value||"terraced-house"===e.value)&&"peer-sibling"),disabled:""===e.value,value:e.value,children:[(0,a.jsx)(s.p4,{children:"Property Type"!==d||"0"===e.value||o?e.text:(0,a.jsxs)("div",{className:"flex w-full items-center justify-between font-body",children:[e.text,(0,a.jsxs)("div",{className:"relative flex w-26 items-center justify-center lg:w-30",children:["all-houses"===e.value&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.I,{className:"h-21 w-24",name:"custom/detached"}),(0,a.jsx)("span",{className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2",children:(0,a.jsx)(r.I,{className:"h-13 w-16",name:"lucide/check"})})]}),"detached-house"===e.value&&(0,a.jsx)(r.I,{className:"h-21 w-24",name:"custom/detached"}),"semi-detached-house"===e.value&&(0,a.jsx)(r.I,{className:"h-21 w-24",name:"custom/semi-detached"}),"terraced-house"===e.value&&(0,a.jsx)(r.I,{className:"h-21 w-26",name:"custom/terraced"}),"flat"===e.value&&(0,a.jsx)(r.I,{className:"h-21 w-16",name:"custom/flat"}),"studio"===e.value&&(0,a.jsx)(r.I,{className:"h-28 w-22",name:"custom/studio"}),"bungalow"===e.value&&(0,a.jsx)(r.I,{className:"h-21 w-30",name:"custom/bungalow"}),"land"===e.value&&(0,a.jsx)(r.I,{className:"h-23 w-26",name:"custom/land"}),"commercial"===e.value&&(0,a.jsx)(r.I,{className:"h-21 w-26",name:"custom/commercial"}),"student-let"===e.value&&(0,a.jsx)(r.I,{className:"h-30 w-30",name:"custom/student-let"}),"park-homes"===e.value&&(0,a.jsx)(r.I,{className:"h-26 w-32",name:"custom/park-homes"})]})]})}),(0,a.jsx)(s.VF,{className:"absolute inset-y-0 left-8 inline-flex items-center",children:(0,a.jsx)(r.I,{className:"size-[1em]",name:"lucide/check"})}),"Property Type"===d&&(0,a.jsx)("div",{className:(0,n.cn)("-translate-x-full absolute inset-y-0 left-0 w-4 bg-secondary transition-transform",("detached-house"===e.value||"semi-detached-house"===e.value||"terraced-house"===e.value)&&"peer-hover-sibling:translate-x-0")})]},e.value))})})})})]})]})};i.displayName="Select"},35498:(e,t,l)=>{"use strict";l.d(t,{MortgageQuoteStampDuty:()=>o});var a=l(85664),s=l(63276),r=l(34989),n=l(96777),i=l(1269);function o(e){let{index:t,section:l,theme:o,mortgageQuoteId:d}=e,{topPadding:c,bottomPadding:m}=l,u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=u.current;if(!e||document.getElementById("mqstampdutycalculator"))return;let t=document.createElement("script");return t.id="mqstampdutycalculator",t.src="https://frontend.mortgage-quote.me/calculators/stampduty/mq-stamp-duty-calc.js?id=".concat(d),e.appendChild(t),()=>{var e,t;
1null==(e=document.getElementById("mqstampdutycalculator"))||e.remove(),null==(t=document.getElementById("mqstampdutycontainer"))||t.remove()}},[d]),(0,a.jsx)("section",{className:(0,n.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,i.rf)(c,m),children:(0,a.jsx)("div",{className:(0,n.cn)((0,r.c)({theme:o})),children:(0,a.jsx)("div",{ref:u})})})})}},35922:()=>{},36422:(e,t,l)=>{"use strict";l.d(t,{MortgageQuoteBestBuy:()=>c});var a=l(85664),s=l(89309),r=l(2712),n=l(63276),i=l(34989),o=l(96777),d=l(1269);function c(e){let{index:t,section:l,theme:c,mortgageQuoteId:m}=e,{topPadding:u,bottomPadding:x}=l,h=(0,s.usePathname)();return(0,n.useEffect)(()=>{var e,t;"function"==typeof(null==(e=window)?void 0:e.mqBestBuyTableReInitScript)&&(null==(t=window)||t.mqBestBuyTableReInitScript())},[h]),(0,a.jsxs)("section",{className:(0,o.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:[(0,a.jsx)("div",{className:(0,d.rf)(u,x),children:(0,a.jsx)("div",{className:(0,o.cn)((0,i.c)({theme:c})),children:(0,a.jsx)("div",{id:"mqbestbuytablecontainer"})})}),(0,a.jsx)(r.default,{id:"mqbestbuytable",src:"https://frontend.mortgage-quote.me/calculators/bestbuytable/mq-bestbuytable.js?id=".concat(m,"&propertyvalue=200000&loanamount=100000"),strategy:"afterInteractive"})]})}},37674:(e,t,l)=>{"use strict";l.d(t,{i:()=>i});var a=l(85664),s=l(3008),r=l(17213),n=l(96777);function i(e){var t,l;let{teamMember:i,theme:o}=e;return(0,a.jsxs)("div",{className:(0,n.cn)("ui-card group relative flex flex-col justify-between overflow-hidden px-20 py-50 text-center transition-all duration-300 hover:bg-white md:min-h-[530px]","duplex"===o?"rounded-30 bg-tertiary hover:shadow-testimonial":"bg-gray hover:shadow-[0_20px_60px_0_rgba(0,0,0,0.2)]"),children:[(0,a.jsxs)("div",{children:[!!i.role&&(0,a.jsx)("div",{className:(0,n.cn)("font-bold text-primary uppercase leading-none tracking-[1.33px]","fascia"===o?"text-12":"text-14"),dangerouslySetInnerHTML:{__html:i.role}}),!!i.name&&(0,a.jsx)("div",{className:"mt-5 font-bold text-20 leading-tight tracking-[0.06px] md:text-22 lg:text-24",dangerouslySetInnerHTML:{__html:i.name}})]}),!!i.image&&(0,a.jsx)("div",{className:(0,n.cn)("relative mx-auto mt-30 mb-20 size-[150px] overflow-hidden rounded-full md:mt-50 md:mb-30 md:size-[210px]","duplex"===o?"shadow-card":"shadow-testimonial"),children:(0,a.jsx)(s.default,{alt:i.name,className:"absolute inset-0 size-full object-cover object-center",fill:!0,sizes:"150px",src:i.image})}),(0,a.jsxs)("div",{className:"relative",children:[!!i.emailAddress&&(0,a.jsx)("div",{className:"relative truncate text-15 transition-all duration-300 group-hover:opacity-0 lg:text-16",dangerouslySetInnerHTML:{__html:i.emailAddress}}),!!i.phoneNumber&&(0,a.jsx)("div",{className:"relative mt-10 truncate text-15 transition-all duration-300 group-hover:opacity-0 lg:text-16",dangerouslySetInnerHTML:{__html:i.phoneNumber}}),!!((null==(t=i.customButton)?void 0:t.url)||i.emailAddress)&&(0,a.jsx)("div",{className:"flex items-center justify-center pt-20 transition-all duration-300 lg:absolute lg:inset-0 lg:pt-0 lg:opacity-0 lg:group-hover:opacity-100",children:(null==(l=i.customButton)?void 0:l.url)?(0,a.jsx)(r.z,{href:i.customButton.url,size:"lg",theme:o,variant:"secondary",children:i.customButton.title}):i.emailAddress?(0,a.jsx)(r.z,{href:"mailto:".concat(i.emailAddress),rel:"noopener",size:"lg",target:"_blank",theme:o,variant:"secondary",children:"Contact Me"}):null})]})]})}},39969:(e,t,l)=>{"use strict";l.d(t,{EstasWidget:()=>i});var a=l(85664),s=l(63276),r=l(96777),n=l(1269);function i(e){let{index:t,section:l}=e,{bottomPadding:i,key:o,topPadding:d}=l;return(0,s.useEffect)(()=>{if(window.estasWidgetFn||(window["ESTAS-Widget"]="estasWidgetFn",window.estasWidgetFn=function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];window.estasWidgetFn.q||(window.estasWidgetFn.q=[]),window.estasWidgetFn.q.push(t)}),!document.getElementById("estasWidgetFn")){var e;let t=document.createElement("script");t.id="estasWidgetFn",t.src="https://www.theestas.com/assets/js/min/widget.bundle.js",t.async=!0;
1let l=document.getElementsByTagName("script")[0];null==l||null==(e=l.parentNode)||e.insertBefore(t,l)}window.estasWidgetFn("init",{el:"estas-widget-target",floatingWidget:!1,key:o,minimumRating:1,name:"name",showComments:!0,showPhil:!0})},[o]),(0,a.jsx)("section",{className:(0,r.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,n.rf)(d,i),children:(0,a.jsx)("div",{className:"estas-widget-default",id:"estas-widget-target"})})})}},40656:(e,t,l)=>{"use strict";l.d(t,{VideoGalleryClient:()=>d});var a=l(85664),s=l(3008),r=l(63276),n=l(74348),i=l(1327),o=l(96777);function d(e){var t,l,d,c,m;let{className:u,theme:x,video:h}=e,[p,g]=(0,r.useState)(!1),v=null==(t=h.thumbnail)?void 0:t.sourceUrl;return(0,a.jsxs)("div",{className:(0,o.cn)("group",u),children:[(0,a.jsx)("div",{className:(0,o.cn)("relative isolate aspect-h-9 aspect-w-16 overflow-hidden",("beam"===x||"duplex"===x)&&"rounded-10"),children:v?(0,a.jsxs)(a.Fragment,{children:[p&&(0,a.jsx)(i.VideoPlayer,{controls:!0,playing:p,videoUrl:h.videoUrl}),(0,a.jsxs)("button",{className:(0,o.cn)("absolute inset-0 transition-all",p?"invisible opacity-0":""),onClick:()=>{g(!0)},type:"button",children:[(0,a.jsx)(s.default,{alt:null!=(c=h.title)?c:"Video thumbnail",blurDataURL:null!=(m=null==(l=h.thumbnail)?void 0:l.dataUrl)?m:void 0,className:"object-cover object-center",fill:!0,placeholder:(null==(d=h.thumbnail)?void 0:d.dataUrl)?"blur":"empty",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 25vw",src:v}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black/30 transition-colors group-hover:bg-black/50"}),(0,a.jsx)("div",{className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2 flex size-40 items-center justify-center rounded-full bg-warning text-white lg:size-50",children:(0,a.jsx)(n.I,{className:"relative left-2 size-20 lg:size-24",name:"lucide/play"})})]})]}):(0,a.jsx)(i.VideoPlayer,{controls:!0,playing:!1,videoUrl:h.videoUrl})}),!!h.title&&(0,a.jsx)("h3",{className:"mt-12 line-clamp-2 font-bold text-14 leading-snug lg:mt-16 lg:text-18 xl:text-20",children:h.title})]})}},41269:(e,t,l)=>{"use strict";l.d(t,{FeaturedServicesApex:()=>h});var a=l(85664),s=l(3008),r=l(15863),n=l(74348),i=l(34989),o=l(84087),d=l(75423),c=l(48306),m=l(17213),u=l(57560),x=l(96777);function h(e){let{index:t,section:l}=e,{button:h,content:p,overlayColor:g,overlayOpacity:v,services:f,title:b,titleIcon:j,titleIconHeight:y,titleIconWidth:w}=l,{inView:N,ref:k}=(0,r.Wx)({threshold:.2,triggerOnce:!0});return(0,a.jsxs)("div",{ref:k,children:[(0,a.jsxs)("div",{className:(0,i.c)({size:"xs",theme:"apex"}),children:[!!(null==j?void 0:j.sourceUrl)&&!!y&&!!w&&(0,a.jsx)("div",{className:"mb-20",children:(0,a.jsx)(s.default,{alt:null!=b?b:"",className:"mx-auto block",height:y,src:j.sourceUrl,width:w})}),!!b&&0!==t&&(0,a.jsx)(d.l,{inView:N,step:"1",children:(0,a.jsx)("h2",{className:(0,x.cn)("text-center",(0,c.D)({heading:"h1sm",theme:"apex"})),dangerouslySetInnerHTML:{__html:b}})}),!!b&&0===t&&(0,a.jsx)(d.l,{inView:N,step:"1",children:(0,a.jsx)("h1",{className:(0,x.cn)("text-center",(0,c.D)({heading:"h1sm",theme:"apex"}),"xl:text-60"),dangerouslySetInnerHTML:{__html:b}})}),!!p&&(0,a.jsx)("div",{className:(0,x.cn)("apex-content -mx-10 mt-30 text-center",0===t?"text-18 leading-[1.363] md:text-20 lg:text-22":"text-18 leading-[1.875]"),dangerouslySetInnerHTML:{__html:p}}),!!(null==h?void 0:h.url)&&(0,a.jsx)("div",{className:"pt-30 text-center lg:pt-40",children:(0,a.jsx)(m.z,{href:h.url,openNewTab:"_blank"===h.target,size:"md",theme:"apex",variant:"ghostPrimary",children:h.title})})]}),(0,a.jsx)("div",{className:(0,i.c)({theme:"apex"}),children:(0,a.jsx)("div",{className:(0,x.cn)("-mx-10 lg:-mx-15 flex flex-wrap",(b||p||(null==h?void 0:h.url))&&"pt-50 lg:pt-75"),children:null==f?void 0:f.map((e,t)=>{var l,r,i,d,c,m,x,h,p;return(0,a.jsx)("div",{className:"mb-20 w-full px-10 sm:w-1/2 md:w-1/3 lg:mb-30 lg:px-15",children:(0,a.jsx)(o.d,{inView:N,step:"".concat(t+1),children:(0,a.jsxs)(u.S,{className:"group relative block size-full min-h-155 overflow-hidden md:min-
1h-265",href:null!=(x=null==e||null==(l=e.service)?void 0:l.url)?x:"",openNewTab:(null==e||null==(r=e.service)?void 0:r.target)==="_blank",children:[(0,a.jsx)("div",{className:"absolute inset-0 transition-all duration-2000 group-hover:scale-110",children:!!(null==e||null==(i=e.image)?void 0:i.sourceUrl)&&(0,a.jsx)(s.default,{alt:null!=(h=null==(d=e.service)?void 0:d.title)?h:"",blurDataURL:null!=(p=e.image.dataUrl)?p:void 0,className:"object-cover object-center",fill:!0,placeholder:e.image.dataUrl?"blur":"empty",sizes:"(min-width: 768px) 50vw, (min-width: 1024px) 33vw, (min-width: 1250px) 400px, calc(100vw - 40px)",src:e.image.sourceUrl})}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black opacity-25",style:{backgroundColor:null!=g?g:void 0,opacity:null!=v?v:void 0}}),!!(null==e||null==(c=e.service)?void 0:c.title)&&(0,a.jsx)("h3",{className:"relative max-w-320 px-20 pt-24 font-bold text-22 text-white leading-tight tracking-44 lg:px-24 lg:text-24",dangerouslySetInnerHTML:{__html:e.service.title}}),!!(null==e?void 0:e.description)&&(0,a.jsx)("div",{className:"relative mt-15 hidden max-w-[320px] translate-y-10 px-24 text-16 text-white leading-normal opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100 md:block",dangerouslySetInnerHTML:{__html:e.description}}),(0,a.jsxs)("div",{className:"absolute right-0 bottom-15 size-48 overflow-hidden text-white md:bottom-30",children:[(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-secondary transition-all duration-300 group-hover:translate-x-full",children:(0,a.jsx)(n.I,{className:"size-24",name:"lucide/chevron-right"})}),(0,a.jsx)("div",{className:"-translate-x-full absolute inset-0 flex items-center justify-center bg-primary transition-all duration-300 group-hover:translate-x-0",children:(0,a.jsx)(n.I,{className:"size-24",name:"lucide/chevron-right"})})]})]})})},null==e||null==(m=e.service)?void 0:m.title)})})})]})}},41784:(e,t,l)=>{"use strict";l.d(t,{M:()=>n});var a=l(85664),s=l(63276),r=l(96777);function n(e){let{center:t,theme:l}=e,[n,i]=(0,s.useState)(!1);function o(){i(!0)}return(0,s.useEffect)(()=>(window.addEventListener("blur",o),()=>{window.removeEventListener("blur",o)}),[]),(0,a.jsx)("div",{className:(0,r.cn)("gable"===l&&"h-full"),children:(0,a.jsxs)("div",{className:(0,r.cn)("[&_iframe]:h-full] relative h-360 overflow-hidden bg-gray shadow-map [&_iframe]:absolute [&_iframe]:inset-0 [&_iframe]:w-full","beam"===l&&"rounded-20 lg:h-700","apex"===l&&"lg:h-600","fascia"===l&&"lg:h-700","chalet"===l&&"lg:h-600 xl:h-665","gable"===l?"h-full":"md:h-540","duplex"===l&&"lg:h-670"),children:[(0,a.jsx)("iframe",{className:"absolute inset-0 size-full",loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",src:"https://www.google.com/maps/embed/v1/place?key=AIzaSyAs75wJxf7DhoExULCV2PnRdfQ8r7IrdD8&zoom=16¢er=".concat(t.lat.toString(),",").concat(t.lng.toString(),"&q=").concat(t.lat.toString(),",").concat(t.lng.toString(),"}"),title:"Google Maps"}),(0,a.jsx)("img",{alt:"Marker",className:(0,r.cn)("-translate-x-1/2 -translate-y-1/2 absolute top-[calc(50%-30px)] left-1/2 h-66 w-45",n&&"hidden"),src:"/api/svgs/marker-active.svg"})]})})}},42832:(e,t,l)=>{"use strict";l.d(t,{Callout:()=>x});var a=l(85664),s=l(23634),r=l(10117),n=l(3008),i=l(63276),o=l(48306),d=l(17213),c=l(96777),m=l(1269),u=l(20508);function x(e){var t;let{index:l,section:x,theme:h}=e,{bottomPadding:p,button:g,content:v,fullScreen:f,image:b,innerBottomPadding:j,innerTopPadding:y,overwriteButtonStyle:w,title:N,topPadding:k}=x,_=(0,i.useRef)(null),{scrollYProgress:S}=(0,s.L)({offset:["start end","end start"],target:_}),C=(0,u.d)(S,50);return(0,a.jsx)("section",{className:(0,c.cn)("relative overflow-hidden bg-white",0===l?"pt-header-height-mob md:pt-header-height":""),ref:_,children:(0,a.jsx)("div",{className:(0,m.rf)(k,p),children:(0,a.jsx)("div",{className:(0,c.cn)("chalet"===h&&"px-14 pb-14"),children:(0,a.jsxs)("div",{className:(0,c.cn)("relative overflow-hidden",f&&"flex min-h-svh flex-col justify-center",(0,m.N$)(y,j,"pt-50 md:pt-120","pb-50 md:pb-120")),children:[!!(null==b?void 0:b.sourceUrl)&&(0,a.jsx)(r.P.div,{className:"-inset-y-50 absolute inset-x-0 isolate",style:{y:C},children:(0,a.jsx)(n.default,{alt:null!=N?N:"",blurDataURL:null!=(t=b.dataUrl)?t:void 0,className:"absolute inset-0 size-full object-cover object-center",fill:!0,placeholder:b.dataUrl?"blur":"empty",src:b.sourceUrl})}),(0,a.jsx)("div",{className:"absolute inset-0 bg-bggray/60"}),(0,a.jsxs)("div",{className:"beam-container relative",children:[!!N&&(0,a.jsx)("h2",{className:(0,
1c.cn)("text-white",(0,o.D)({heading:"h1sm",theme:h})),dangerouslySetInnerHTML:{__html:N}}),!!v&&(0,a.jsx)("div",{className:(0,c.cn)("!text-white max-w-[790px]",N&&"mt-30","beam"===h?"beam-content":"apex-content md:text-18 lg:text-20","apex"===h&&"leading-[1.66]","chalet"===h&&"leading-[1.77]"),dangerouslySetInnerHTML:{__html:v}}),!!(null==g?void 0:g.url)&&(0,a.jsx)("div",{className:"mt-40",children:(0,a.jsx)(d.z,{href:g.url,openNewTab:"_blank"===g.target,size:"apex"===h||"chalet"===h?"md":"default",theme:h,variant:"primary"===w?"primary":"ghostWhite"===w?"ghostWhite":"ghostSecondary"===w?"ghostSecondary":"ghostPrimary"===w?"ghostPrimary":"secondary",children:g.title})})]})]})})})})}},43361:(e,t,l)=>{"use strict";l.d(t,{AccordionGable:()=>c});var a=l(85664),s=l(10117),r=l(3008),n=l(63276),i=l(48306),o=l(96777);function d(e){let{content:t,title:l}=e,[r,i]=(0,n.useState)(!1);return(0,a.jsxs)("button",{className:"relative block w-full border-bordergray border-b text-left outline-none transition-all duration-300 hover:z-10",onClick:()=>{i(!r)},type:"button",children:[(0,a.jsxs)("div",{className:"relative w-full py-25 font-bold font-heading text-19 leading-[1.33333333] md:text-21 lg:text-23",children:[(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:l}}),(0,a.jsx)("div",{className:(0,o.cn)('-translate-y-1/2 absolute top-1/2 right-25 size-16 transition-all before:absolute before:inset-x-0 before:top-[calc(50%-1px)] before:h-2 before:w-16 before:bg-black before:content-[""] after:absolute after:inset-x-0 after:top-[calc(50%-1px)] after:h-2 after:w-16 after:bg-black after:transition-all after:content-[""]',r?"after:rotate-0":"after:rotate-90")})]}),(0,a.jsx)(s.P.div,{animate:{height:r?"auto":0},className:"overflow-hidden",initial:!1,children:(0,a.jsx)("div",{className:"md:prose-md prose lg:prose-lg max-w-full pt-15 pb-30",dangerouslySetInnerHTML:{__html:t}})})]})}function c(e){var t,l;let{section:s}=e,{image:n,items:c,pretitle:m,title:u}=s;return(0,a.jsxs)("div",{className:"relative overflow-hidden",children:[!!(null==n?void 0:n.sourceUrl)&&(0,a.jsx)("div",{className:"absolute top-0 right-0 hidden h-[1200px] w-1/2 md:block",children:(0,a.jsx)(r.default,{alt:null!=u?u:"",blurDataURL:null!=(t=n.dataUrl)?t:void 0,className:"object-cover object-center",fill:!0,placeholder:n.dataUrl?"blur":"empty",src:n.sourceUrl})}),(0,a.jsx)("div",{className:"mx-auto max-w-[1620px] px-20 lg:px-30",children:(0,a.jsxs)("div",{className:"flex flex-wrap",children:[!!(null==n?void 0:n.sourceUrl)&&(0,a.jsx)("div",{className:"relative h-240 w-full md:hidden",children:(0,a.jsx)(r.default,{alt:null!=u?u:"",blurDataURL:null!=(l=n.dataUrl)?l:void 0,className:"object-cover object-center",fill:!0,placeholder:n.dataUrl?"blur":"empty",src:n.sourceUrl})}),(0,a.jsxs)("div",{className:"w-full pt-50 md:w-1/2 md:py-80 md:pr-50 lg:py-120",children:[!!m&&(0,a.jsx)("h3",{className:(0,o.cn)("hidden md:block","mb-15 max-w-[920px] font-body font-normal text-14 uppercase tracking-[0.6px] md:text-16"),dangerouslySetInnerHTML:{__html:m}}),!!u&&(0,a.jsx)("h2",{className:(0,o.cn)("hidden md:block",(0,i.D)({heading:"h2",theme:"gable"})),dangerouslySetInnerHTML:{__html:u}}),(0,a.jsx)("div",{className:"mt-40 border-bordergray border-t",children:null==c?void 0:c.map(e=>(null==e?void 0:e.title)&&e.content?(0,a.jsx)(d,{content:e.content,title:e.title},e.title):null)})]})]})})]})}},44501:(e,t,l)=>{"use strict";l.d(t,{FixedFeeSliderClient:()=>c});var a=l(85664),s=l(63276),r=l(17213),n=l(62017),i=l(96777);function o(e){let{className:t,defaultValue:l,value:r,min:o=0,max:d=100,...c}=e,m=(0,s.useMemo)(()=>Array.isArray(r)?r:Array.isArray(l)?l:[o,d],[r,l,o,d]);return(0,a.jsxs)(n.bL,{className:(0,i.cn)("relative flex w-full touch-none select-none items-center data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col data-[disabled]:opacity-50",t),"data-slot":"slider",defaultValue:l,max:d,min:o,value:r,...c,children:[(0,a.jsx)(n.CC,{className:(0,i.cn)("relative grow overflow-hidden rounded-full bg-[#f5f5f5] data-[orientation=horizontal]:h-6 data-[orientation=vertical]:h-full data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-6"),"data-slot":"slider-track",children:(0,a.jsx)(n.Q6,{className:(0,i.cn)("absolute bg-primary data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"),"data-slot":"slider-range"})}),Array.from({length:m.length},(e,t)=>(0,a.jsx)(n.zi,{className:"block size-16 shrink-0 rounded-full border border-primary bg-primary shadow-sm ring-ring/50 transition-[color,box-shadow] hover:ring-4 focus-visible:outline-hidden focu
1s-visible:ring-4 disabled:pointer-events-none disabled:opacity-50","data-slot":"slider-thumb"},t))]})}var d=l(86757);function c(e){var t,l;let{section:n,theme:c}=e,{minPrice:m,defaultPrice:u,maxPrice:x,percentageFee:h,ourFixedFee:p,button:g}=n,[v,f]=(0,s.useState)([u||3e5]),[b,j]=(0,s.useState)([h||1.3]),[y,w]=(0,s.useState)(!1),N=(0,s.useMemo)(()=>{let e=v[0]||u||3e5;return Math.max(0,(b[0]||h||1.3)/100*e*1.2-(p||950))},[v,b,h,p,u]);return(0,a.jsxs)("div",{className:(0,i.cn)("mx-auto max-w-4xl rounded-2xl border border-black/10 bg-white p-32 shadow-sm md:p-48","duplex"===c&&"rounded-30"),children:[(0,a.jsxs)("div",{className:"mb-32 text-center lg:mb-45",children:[(0,a.jsx)("h3",{className:"mb-16 text-20 md:text-28",children:"You would save"}),(0,a.jsx)("div",{className:"font-bold text-48 text-primary leading-none md:text-58",children:(0,d.$g)(N)})]}),(0,a.jsxs)("div",{className:"space-y-32",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"mb-16 flex items-center justify-between",children:[(0,a.jsx)("span",{className:"font-medium text-15 md:text-18",children:"Property selling price"}),(0,a.jsx)("span",{className:"font-bold text-18",children:(0,d.$g)(v[0]||u||3e5)})]}),(0,a.jsx)(o,{className:"w-full",max:x||1e6,min:m||1e5,onValueChange:f,step:1e4,value:v})]}),y&&(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"mb-16 flex items-center justify-between",children:[(0,a.jsx)("span",{className:"font-medium text-15 md:text-18",children:"Estate agent fee"}),(0,a.jsxs)("span",{className:"font-bold text-lg",children:[null==(t=b[0])?void 0:t.toFixed(1),"% + 20% VAT"]})]}),(0,a.jsx)(o,{className:"w-full",max:3,min:.5,onValueChange:j,step:.1,value:b})]})]}),(0,a.jsxs)("div",{className:"mt-35 text-center lg:mt-50 xl:mt-60",children:[(0,a.jsxs)("p",{className:"mb-24 text-black/70",children:["*Calculation based on our best value fixed fee of"," ",(0,d.$g)(p||950)," inc. VAT."]}),!!g&&(0,a.jsx)("div",{className:"mb-24",children:(0,a.jsx)(r.z,{href:g.url||"#",openNewTab:"_blank"===g.target,size:"md",theme:c,variant:"primary",children:(0,a.jsx)("span",{children:g.title||"Get a free property valuation"})})}),(0,a.jsxs)("button",{className:"text-green-600 underline hover:text-green-700",onClick:()=>w(!y),type:"button",children:["Change ",null==(l=b[0])?void 0:l.toFixed(1),"% comparison fee"]})]})]})}},45046:(e,t,l)=>{"use strict";l.d(t,{MortgageQuoteComparison:()=>c});var a=l(85664),s=l(89309),r=l(2712),n=l(63276),i=l(34989),o=l(96777),d=l(1269);function c(e){let{index:t,section:l,theme:c,mortgageQuoteId:m}=e,{topPadding:u,bottomPadding:x}=l,h=(0,s.usePathname)();return(0,n.useEffect)(()=>{var e,t;window.mqFilterConfig={defaults:{propertyValue:2e5,amountToBorrow:16e4,mortgageTerm:25,repaymentMethod:"repayment",purchaseOption:"purchase",rateType:"fixed",initialPeriod:"2_years",location:"england",mortgageType:"residential",firstTimeBuyer:!1},lenderFocus:"",showMortgageTypes:"residential_and_btl",uniqueLenders:!1,showProductsOnLoad:!0,roundFigures:!1},"function"==typeof(null==(e=window)?void 0:e.mqFilterReInitScript)&&(null==(t=window)||t.mqFilterReInitScript())},[h]),(0,a.jsxs)("section",{className:(0,o.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:[(0,a.jsx)("div",{className:(0,d.rf)(u,x),children:(0,a.jsx)("div",{className:(0,o.cn)((0,i.c)({theme:c})),children:(0,a.jsx)("div",{id:"mq-filter-table"})})}),(0,a.jsx)(r.default,{"data-company-id":m,id:"mqfilter",src:"https://frontend.mortgage-quote.me/calculators/filter/v1/mqfilter.js",strategy:"afterInteractive"})]})}},45080:(e,t,l)=>{"use strict";l.d(t,{SearchBarApex:()=>u});var a=l(85664),s=l(89309),r=l(63276),n=l(74348),i=l(17213),o=l(34444),d=l(39741),c=l(96777),m=l(15179);function u(e){let{defaultView:t,disableLettingsDepartment:l,disableSalesDepartment:u,hideSoldLetToggleDefaultValue:x,listingsDefaultType:h,maxPricesLettings:p,maxPricesSales:g,minPricesLettings:v,minPricesSales:f,showNewHomesToggle:b,showPeriodHomesToggle:j}=e,y=(0,s.useRouter)(),[w,N]=(0,r.useState)(""),[k,_]=(0,r.useState)(h),[S,C]=(0,r.useState)(!1),[I,L]=(0,r.useState)("/properties/".concat(h,"/")),[M,T]=(0,r.useState)("for-sale"===h?f:v),[z,B]=(0,r.useState)("for-sale"===h?g:p),[P,H]=(0,r.useState)("0"),[D,E]=(0,r.useState)("0"),[A,U]=(0,r.useState)("0"),[F,q]=(0,r.useState)("0");return(0,r.useEffect)(()=>{"to-rent"===k?(T(v),B(p)):(T(f),B(g)),H("0"),E("0")},[p,g,v,f,k]),(0,r.useEffect)(()=>{""===w&&U("0")},[w]),(0,r.useEffect)(()=>{L((0,m.YQ)({defaultView:t,department:["for-sale","to-rent"].includes(k)?k:"for-sale",hide:x?"completed":"",location:w,maxPrice:D,minBeds:F,minPrice:P,radius:""!==w?A:"0",showOnly:["new-homes","period-homes"].includes(k)?k:void 0}))},[t,k,w,P,D,F,A,x]),(0,a.jsxs)("div",{className:"relative",children:[!(u||l)&&(0,a.jsxs)("div",{className:"flex items-center justify-center md:justify-start",children:[(0,a.jsxs)("div",{className:"relative w-full overflow-hidden px-15 md:w-auto md:pl-30",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/75"}),(0,a.jsxs)("label",{className:"relative block cursor-pointer py-4 font-bold font-heading text-18 text-white leading-loose [0.6px] md:py-8 md:text-22",htmlFor:"property-type-buy",children:["Buy",(0,a.jsx)("span",{className:(0,
1c.cn)("absolute inset-x-0 bottom-0 h-6 bg-secondary transition-opacity","for-sale"===k?"opacity-100":"opacity-0")})]}),(0,a.jsx)("input",{className:"absolute left-[-9999px]",id:"property-type-buy",name:"property-type",onChange:e=>{e.target.checked&&_(e.target.value)},type:"radio",value:"for-sale"})]}),(0,a.jsxs)("div",{className:"relative w-full overflow-hidden px-30 md:w-auto md:pl-15",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black opacity-75"}),(0,a.jsxs)("label",{className:"relative block cursor-pointer py-4 font-bold font-heading text-18 text-white leading-loose tracking-60 md:py-8 md:text-22",htmlFor:"property-type-rent",children:["Rent",(0,a.jsx)("span",{className:(0,c.cn)("absolute inset-x-0 bottom-0 h-6 bg-secondary transition-opacity","to-rent"===k?"opacity-100":"opacity-0")})]}),(0,a.jsx)("input",{className:"absolute left-[-9999px]",id:"property-type-rent",name:"property-type",onChange:e=>{e.target.checked&&_(e.target.value)},type:"radio",value:"to-rent"})]}),!!b&&(0,a.jsxs)("div",{className:"relative w-full overflow-hidden px-30 md:w-auto md:pl-15",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black opacity-75"}),(0,a.jsxs)("label",{className:"relative block cursor-pointer py-4 font-bold font-heading text-18 text-white leading-loose tracking-60 md:py-8 md:text-22",htmlFor:"property-type-new-homes",children:["New",(0,a.jsx)("span",{className:(0,c.cn)("absolute inset-x-0 bottom-0 h-6 bg-secondary transition-opacity","new-homes"===k?"opacity-100":"opacity-0")})]}),(0,a.jsx)("input",{className:"absolute left-[-9999px]",id:"property-type-new-homes",name:"property-type",onChange:e=>{e.target.checked&&_(e.target.value)},type:"radio",value:"new-homes"})]}),!!j&&(0,a.jsxs)("div",{className:"relative w-full overflow-hidden px-30 md:w-auto md:pl-15",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black opacity-75"}),(0,a.jsxs)("label",{className:"relative block cursor-pointer py-4 font-bold font-heading text-18 text-white leading-loose tracking-60 md:py-8 md:text-22",htmlFor:"property-type-period-homes",children:["Period",(0,a.jsx)("span",{className:(0,c.cn)("absolute inset-x-0 bottom-0 h-6 bg-secondary transition-opacity","period-homes"===k?"opacity-100":"opacity-0")})]}),(0,a.jsx)("input",{className:"absolute left-[-9999px]",id:"property-type-period-homes",name:"property-type",onChange:e=>{e.target.checked&&_(e.target.value)},type:"radio",value:"period-homes"})]})]}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center",children:[(0,a.jsxs)("div",{className:"relative grow",children:[(0,a.jsx)("input",{autoComplete:"off",className:"block w-full border-2 border-white px-15 py-17 text-center text-16 leading-none shadow-none outline-none transition-all duration-300 placeholder:text-placeholder hover:border-secondary focus:border-secondary focus:shadow-none focus:outline-none focus:ring-0 md:max-h-59 md:min-h-59 md:border-r-0 md:py-15 md:pr-[150px] md:pl-25 md:text-left md:text-18 lg:py-15",id:"search",name:"search",onChange:e=>{N(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&y.push(I)},placeholder:"Search by address or postcode",type:"text",value:w}),(0,a.jsx)("button",{className:(0,c.cn)("absolute inset-y-0 right-160 hidden items-center text-[#e0e5eb] transition-all md:flex",""!==w?"visible opacity-100 hover:opacity-75":"invisible opacity-0"),onClick:()=>{N("")},type:"button",children:(0,a.jsx)(n.I,{className:"size-24",name:"heroicons/x-circle-solid"})}),(0,a.jsx)("div",{className:"absolute inset-y-0 right-0 hidden items-center pr-25 md:pr-35 lg:flex",children:(0,a.jsx)("button",{className:"c-linkline font-heading text-18 text-secondary leading-normal tracking-[0.6px]",onClick:()=>{C(!S)},type:"button",children:(0,a.jsxs)("span",{className:"inline-block",children:[S?"Hide":"Show"," Filters"]})})})]}),(0,a.jsx)(i.z,{className:"relative mt-10 w-full md:mt-0 md:w-auto",href:I,icon:"search",size:"lg",theme:"apex",variant:"secondary",children:(0,a.jsx)("span",{children:"Search"})}),(0,a.jsxs)("div",{className:(0,c.cn)("hidden w-[calc(100%-210px)] border-bordergray border-t transition-all lg:flex",S?"visible opacity-100":"invisible opacity-0"),children:[(0,a.jsxs)("div",{className:"group relative w-1/4 border-bordergray border-r hover:z-30",children:[(0,a.jsx)(o.l,{label:"Radius",onChange:e=>{U(e)},options:d.yr,simple:!0,theme:"apex",value:A}
1),(0,a.jsx)("div",{className:(0,c.cn)("absolute inset-0 cursor-not-allowed",""!==w?"invisible opacity-0":"visible opacity-1")}),(0,a.jsxs)("div",{className:(0,c.cn)("-translate-y-1/2 invisible absolute top-1/2 left-full translate-x-5 cursor-pointer whitespace-nowrap rounded-4 bg-secondary px-10 py-5 text-12 text-white opacity-0 shadow-md transition-all duration-300 group-hover:visible group-hover:translate-x-10 group-hover:opacity-100",""!==w?"hidden":"hidden lg:block"),children:["Address required",(0,a.jsx)("div",{className:"-translate-y-1/2 absolute top-1/2 right-full size-0 border-transparent border-y-[6.5px] border-r-[7px] border-r-secondary border-l-0"})]})]}),(0,a.jsx)("div",{className:"w-1/4 border-bordergray border-r",children:(0,a.jsx)(o.l,{label:"Min Price",onChange:e=>{H(e)},options:M,simple:!0,theme:"apex",value:P})}),(0,a.jsx)("div",{className:"w-1/4 border-bordergray border-r",children:(0,a.jsx)(o.l,{label:"Max Price",onChange:e=>{E(e)},options:z,simple:!0,theme:"apex",value:D})}),(0,a.jsx)("div",{className:"w-1/4",children:(0,a.jsx)(o.l,{label:"Min Beds",onChange:e=>{q(e)},options:d.jQ,simple:!0,theme:"apex",value:F})})]})]})]})}},49944:(e,t,l)=>{"use strict";l.d(t,{FeesComparison:()=>u});var a=l(85664),s=l(10117),r=l(63276),n=l(74348),i=l(34989),o=l(81534),d=l(96777),c=l(1269),m=l(69368);function u(e){let{index:t,section:l,theme:u}=e,{bottomPadding:x,featuresHideToggleLabel:h,featuresShowToggleLabel:p,midSectionCallout:g,midSectionCalloutBackgroundColor:v,midSectionCalloutTextColor:f,options:b,topPadding:j}=l,[y,w]=(0,r.useState)(!1),[N,k]=(0,r.useState)(null),[_,S]=(0,r.useState)(null),C=(0,r.useRef)(null);(0,o.Q)(null!==_);let I=(null==b?void 0:b.reduce((e,t)=>{if(null==t?void 0:t.features){let l=t.features.map(e=>({content:(null==e?void 0:e.content)||"",title:(null==e?void 0:e.title)||""}));e.push(l)}return e},[]))||[];function L(e){let t=(0,m.Yv)(e);S(t);let l=document.getElementById(t),a=null==l?void 0:l.offsetTop;if(a){var s;null==(s=C.current)||s.scrollTo({behavior:"smooth",top:a})}}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("section",{className:(0,d.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsxs)("div",{className:(0,c.rf)(j,x),children:[(0,a.jsx)("div",{className:(0,d.cn)((0,i.c)({theme:u})),children:(0,a.jsx)("div",{className:"-mx-3 flex flex-wrap",children:null==b?void 0:b.map((e,t)=>{var l,r;return(0,a.jsxs)("div",{className:"w-full border-white border-x-3 px-25 py-35 text-center md:w-1/3",style:{backgroundColor:null!=(l=null==e?void 0:e.backgroundColor)?l:void 0,color:null!=(r=null==e?void 0:e.textColor)?r:void 0},children:[!!(null==e?void 0:e.title)&&(0,a.jsx)("h3",{className:"font-bold font-heading text-24 text-current leading-tight lg:text-28",dangerouslySetInnerHTML:{__html:e.title}}),!!(null==e?void 0:e.subtitle)&&(0,a.jsx)("h4",{className:"mt-20 font-bold font-heading text-18 text-current lg:text-20",dangerouslySetInnerHTML:{__html:e.subtitle}}),!!(null==e?void 0:e.content)&&(0,a.jsx)("div",{className:"apex-content prose mx-auto mt-20 max-w-270 prose-strong:text-current text-current",dangerouslySetInnerHTML:{__html:e.content}}),!!(null==e?void 0:e.price)&&(0,a.jsx)("div",{className:"mt-20 font-bold font-heading text-24 text-current leading-tight lg:text-28",dangerouslySetInnerHTML:{__html:e.price}}),!!(null==e?void 0:e.priceSubtitle)&&(0,a.jsx)("div",{className:"font-bold font-heading text-18 text-current underline",dangerouslySetInnerHTML:{__html:e.priceSubtitle}}),!!I.length&&(0,a.jsxs)("div",{className:"mx-auto max-w-270 pt-40 md:hidden",children:[(0,a.jsx)(s.P.div,{animate:{height:N===(null==e?void 0:e.title)?"auto":0},className:"overflow-hidden",initial:!1,children:(0,a.jsxs)("div",{className:"pb-40",children:[!!(null==e?void 0:e.featuresDescription)&&(0,a.jsx)("div",{className:"apex-content prose mx-auto max-w-270 text-current",dangerouslySetInnerHTML:{__html:e.featuresDescription}}),(0,a.jsx)("div",{className:"mx-auto mt-20 max-w-320 text-left lg:pl-30 xl:pl-50",children:I.slice(0,t+1).map((e,t)=>{var l,s;return(0,a.jsxs)("div",{className:"",children:[t>0&&(0,a.jsx)("div",{className:"py-20 text-center",children:(0,a.jsx)(n.I,{className:"size-30 text-secondary",name:"lucide/plus"})}),e.map(e=>(0,a.jsx)("div",{className:"mb-12",children:(0,a.jsx)("button",{className:"text-left text-current leading-tight underline underline-offset-4 hover:no-underline",dangerouslySetInnerHTML:{__html:e.title},onClick:()=>{L(e.title)},type:"button"})},e.title))]},null!=(s=null==(l=e[0])?void 0:l.title)?s:"")})})]})}),(0,a.jsx)("div",{className:"mt-auto",children:(0,a.jsx)("button",{className:"font-bold text-current underline underline-offset-4 hover:no-underline",dangerouslySetInnerHTML:{__html:N===(null==e?void 0:e.title)?h||"Hide service details":p||"See what's included"},onClick:()=>{var t;k(N===(null==e?void 0:e.title)?null:null!=(t=null==e?void 0:e.title)?t:null)},type:"button"})})]})]},(null==e?void 0:e.title)||"")})})}),!!g&&(0,a.jsx)("div",{className:"hidden py-15 text-center md:block lg:py-20",style:{backgroundColor:null!=v?v:void 0,color:null!=f?f:void 0},children:(0,a.jsx)("div",{className:(0,i.c)({theme:u}),children:(0,a.jsx)("div",{className:"font-bold font-heading text-20 lg:text-24",dangerouslySetInnerHTML:{__html:g}})})}),!!I.length&&(0,a.jsx)("div",{className:(0,d.cn)((0,i.c)({theme:u}),"hidden md:block"),children:(0,a.jsx)("div",{className:"-mx-3 flex flex-wrap",children:null==b?void 0:b.map((e,t)=>{var l,r;return(0,a.jsxs)("div",{className:"flex w-1/3 flex-col border-white border-x-3 px-25 py-35 text-center",style:{backgroundColor:null!=(l=null==e?void 0:e.backgroundColor)?l:void 0,color:null!=(r=null==e?void 0:e.textColor)?r:void 0},children:[(0,a.jsx)(s.P.div,{animate:{height:y?"auto":0},className:"overflow-hidden",initial:!1,children:(0,a.jsxs)("div",{className:"pb-40",children:[!!(null==e?void 0:e.featuresDescription)&&(0,a.jsx)("div",{className:"apex-content prose mx-auto max-w-270 text-current",dangerouslySetInnerHTML:{__html:e.featuresDescription}}),(0,a.jsx)("div",{className:"mx-auto mt-20 max-w-320 text-left lg:pl-30 xl:pl-50",children:I.slice(0,t+1).map((e,t)=>{var l,s;return(0,a.jsxs)("div",{className:"",children:[t>0&&(0,a.jsx)("div",{className:"py-20 text-center",children:(0,a.jsx)(n.I,{className:"size-30 text-secondary",name:"lucide/plus"})}),e.map(e=>(0,a.jsx)("div",{className:"mb-12",children:(0,a.jsx)("button",{className:"text-left text-current leading-tight underline underline-offset-4 hover:no-underline",dangerouslySetInnerHTML:{__html:e.title},onClick:()=>{L(e.title)},type:"button"})},e.title))]},null!=(s=null==(l=e[0])?void 0:l.title)?s:"")})})]})}),(0,a.jsx)("div",{className:"mt-auto",children:(0,a.jsx)("button",{className:"font-bold text-current underline underline-offset-4 hover:no-underline",dangerouslySetInnerHTML:{__html:y?h||"Hide service details":p||"See what's included"},onClick:()=>{w(!y)},type:"button"})})]},(null==e?void 0:e.title)||"")})})})]})}),(0,a.jsxs)("div",{className:(0,d.cn)("fixed inset-0 z-100 h-screen bg-white",_?"visible opacity-100":"invisible opacity-0"),children:[(0,a.jsx)("div",{className:"relative h-screen w-full overflow-y-scroll text-black",ref:C,children:(0,a.jsx)("div",{className:"mx-auto max-w-[720px] bg-white px-25 pt-50 pb-[100vh]",children:null==b?void 0:b.map((e,t)=>{var l,s,r,n,i,o;return(0,a.jsxs)("div",{className:"pb-40",children:[t>0&&(0,a.jsxs)("h3",{className:"border-black/10 border-b pb-20 font-bold font-heading text-24 text-current leading-tight lg:text-28",children:["Only ",null!=(n=null==e?void 0:e.title)?n:""," ",(null==(l=b[t+1])?void 0:l.title)?"and ".concat(null!=(i=null==(s=b[t+1])?void 0:s.title)?i:""):""]}),null==e||null==(r=e.features)?void 0:r.map(e=>{var t,l,s,r,n;
1return(0,a.jsxs)("div",{className:"pt-20",id:(0,m.Yv)(null!=(t=null==e?void 0:e.title)?t:""),children:[(0,a.jsx)("div",{className:(0,d.cn)("font-bold font-heading text-18 text-current lg:text-20",_===(0,m.Yv)(null!=(l=null==e?void 0:e.title)?l:"")?"text-secondary":"text-current"),dangerouslySetInnerHTML:{__html:null!=(s=null==e?void 0:e.title)?s:""}}),(0,a.jsx)("div",{className:"apex-content prose mt-20 max-w-full text-current",dangerouslySetInnerHTML:{__html:null!=(r=null==e?void 0:e.content)?r:""}})]},null!=(n=null==e?void 0:e.title)?n:"")})]},null!=(o=null==e?void 0:e.title)?o:"")})})}),(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute top-30 right-30 size-20 text-black transition-all duration-300 hover:opacity-75 lg:top-60 lg:right-60",onClick:()=>{S(null)},type:"button",children:(0,a.jsx)("svg",{"aria-hidden":"true","data-icon":"times","data-prefix":"fal",height:"25",viewBox:"0 0 320 512",width:"25",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z",fill:"currentColor"})})})]})]})}},50887:(e,t,l)=>{"use strict";l.d(t,{FeaturedTestimonialsAlternativeBeam:()=>g});var a=l(85664),s=l(3008),r=l(76392),n=l.n(r),i=l(63276),o=l(3589),d=l(74348),c=l(31682),m=l(77991),u=l(79602),x=l(81534),h=l(96777),p=l(1269);function g(e){let{bottomPadding:t,button:l,index:r,roundedSquares:g,testimonialsData:v,topPadding:f}=e,[b,j]=(0,i.useState)(null);(0,x.Q)(null!==b);let y=(0,o.DE)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("section",{className:(0,h.cn)("relative overflow-hidden bg-white",0===r?"pt-header-height-mob md:pt-header-height":""),children:[(0,a.jsx)("div",{className:(0,p.rf)(f,t),children:(0,a.jsx)("div",{className:"beam-container",children:(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsxs)("div",{className:"mt-22 flex flex-wrap items-center justify-center",children:[(0,a.jsx)("div",{className:"w-full text-17 leading-[1.76470588] md:w-auto",children:"Average customer rating:"}),(0,a.jsxs)("div",{className:"flex w-full items-center justify-center py-5 md:w-auto md:py-0",children:[(0,a.jsx)("div",{className:"flex items-center md:ml-15",children:(0,a.jsx)(m.h,{rating:v.averageRating||5})}),(0,a.jsxs)("span",{className:"mx-15 font-bold text-16 text-primary tracking-[0.06px] md:text-18 lg:text-19 xl:text-22 2xl:text-24",children:[v.averageRating,"/5"]})]}),(0,a.jsxs)("div",{className:"text-17 leading-[1.76470588]",children:["based on ",(0,a.jsx)("strong",{children:v.totalNumber})," ","customer reviews from ",v.platforms]})]}),!!(null==l?void 0:l.url)&&!!l.title&&(0,a.jsx)("div",{className:"mt-30 text-center lg:mt-40",children:(0,a.jsx)(n(),{className:"c-beam-button c-beam-button--secondary xl:!px-70",href:l.url,children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:l.title}})})})]})})}),!!y&&(0,a.jsx)("div",{className:"beam-container-sm md:pt-5 lg:pt-25",children:(0,a.jsx)("div",{className:"-mx-35 relative",children:(0,a.jsx)(u.Carousel,{className:"pb-80 lg:pb-140",settings:{appendDots:e=>(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"flex items-center justify-center",children:e})}),autoplay:!0,autoplaySpeed:5e3,customPaging:e=>(0,a.jsx)("button",{"aria-label":"Slide to Property ".concat((e+1).toString()),className:"mx-4 block size-16 appearance-none rounded-full bg-primary/20 transition-all md:mx-6 [.slick-active>&]:w-40 [.slick-active>&]:bg-secondary",type:"button"}),dots:!0,dotsClass:"absolute inset-x-0 -bottom-50 z-10",slidesToScroll:1,slidesToShow:1},showOverflow:!0,children:(0,a.jsx)(u.CarouselContent,{children:v.testimonials.map(e=>(0,a.jsx)(u.CarouselItem,{className:"px-35",children:(0,a.jsx)(c.V,{expandedTestimonialSet:j,roundedSquares:g,testimonial:e})},e.id))})})})})]}),!!b&&(0,a.jsxs)("div",{className:"fixed inset-0 z-100 flex items-center justify-center bg-black/95",children:[(0,a.jsx)("button",{"aria-label":"Close Mod
1al",className:"absolute inset-0",onClick:()=>{j(null)},type:"button"}),(0,a.jsxs)("div",{className:"relative h-screen w-[980px] max-w-full overflow-y-scroll px-30 py-50 text-white md:h-auto lg:px-50",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(d.I,{className:"size-60 text-white",name:"bi/solid-quote-alt"}),!!b.content&&(0,a.jsx)("div",{className:"lg:prose-lg xl:prose-xl mt-20 max-w-full font-heading prose-headings:font-medium prose-headings:text-primary text-white leading-[1.7] text-opacity-80 lg:mt-30 xl:mt-35",dangerouslySetInnerHTML:{__html:b.content}})]}),(0,a.jsxs)("div",{className:"relative mt-auto flex items-center pt-30",children:[(0,a.jsxs)("div",{className:"relative mr-15 flex size-42 items-center justify-center overflow-hidden rounded-full bg-white text-black",children:[(0,a.jsx)(d.I,{className:"size-42",name:"lucide/circle-user"}),!!b.featuredImage&&(0,a.jsx)(s.default,{alt:b.name,className:"absolute inset-0 size-full object-cover object-center",fill:!0,src:b.featuredImage})]}),(0,a.jsx)("div",{className:"font-bold text-16 text-white leading-[1.7] text-opacity-80 md:text-18 xl:text-20",dangerouslySetInnerHTML:{__html:b.name}})]})]}),(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute top-30 right-30 size-20 text-white transition-all duration-300 hover:opacity-75 lg:top-60 lg:right-60",onClick:()=>{j(null)},type:"button",children:(0,a.jsx)("svg",{"aria-hidden":"true","data-icon":"times","data-prefix":"fal",height:"25",viewBox:"0 0 320 512",width:"25",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z",fill:"currentColor"})})})]})]})}},52518:(e,t,l)=>{"use strict";l.d(t,{MortgageQuoteWidget:()=>o});var a=l(85664),s=l(63276),r=l(34989),n=l(96777),i=l(1269);function o(e){let{index:t,section:l,theme:o,mortgageQuoteId:d}=e,{topPadding:c,bottomPadding:m}=l,u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{var e,t,l;let a=u.current;if(!a)return;let s=window;delete s.mortgageQuoteRunning,null==(e=document.getElementById("mortgageplanlist"))||e.remove(),null==(t=document.getElementById("planlistcontainer"))||t.remove(),null==(l=document.getElementById("mqcontainer"))||l.remove();let r=document.createElement("script");r.id="mortgageplanlist",r.src="https://frontend.mortgage-quote.me/calculators/mq/mq.js?id=".concat(d,"&_t=").concat(Date.now()),a.appendChild(r)},[d]),(0,a.jsx)("section",{className:(0,n.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,i.rf)(c,m),children:(0,a.jsx)("div",{className:(0,n.cn)((0,r.c)({theme:o})),children:(0,a.jsx)("div",{ref:u})})})})}},56363:(e,t,l)=>{"use strict";l.d(t,{LandingReviewsCarousel:()=>o});var a=l(85664),s=l(2712),r=l(63276);let n="reviewsio-carousel-widget",i={carousel_type:"default",lang:"en",options:{general:{enable_auto_scroll:1e4,max_reviews:"20",min_reviews:"1",review_type:"company"},header:{enable_overall_stars:!0,rating_decimal_places:2},reviews:{disable_same_customer:!0,enable_customer_location:!0,enable_customer_name:!0,enable_ratings:!0,enable_review_date:!0,enable_verified_badge:!0,hide_empty_reviews:!0,min_review_percent:4}},sku:"",store:"robert-ellis",styles_carousel:"CarouselWidget--sideHeader"};function o(){let e=(0,r.useCallback)(()=>{let e=window.carouselInlineWidget,t=document.getElementById(n);if(e&&t&&!(t.childElementCount>0))return new e(n,i)},[]);return(0,r.useEffect)(()=>{e()},[e]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("link",{href:"https://assets.reviews.io/css/widgets/carousel-widget.css",rel:"stylesheet"}),(0,a.jsx)("link",{href:"https://assets.reviews.io/iconfont/reviewsio-icons/style.css",rel:"stylesheet"}),(0,a.jsx)("div",{className:"min-h-[280px]",id:n}),(0,a.jsx)(s.default,{onLoad:e,src:"https://widget.reviews.co.uk/carousel-inline-iframeless/dist.js",
1strategy:"afterInteractive"})]})}},57479:(e,t,l)=>{"use strict";l.d(t,{PageWrapper:()=>d});var a=l(85664),s=l(63276),r=l(3589),n=l(61043),i=l(58004);function o(e){let{blue:t,green:l,red:a}=(0,i.A)(e);return"".concat(a.toString()," ").concat(l.toString()," ").concat(t.toString())}function d(e){let{children:t,customDarkLogo:l,customLogo:i,customLogoDesktopMaxWidth:d,customLogoMobileMaxWidth:c,customFooterBackgroundColor:m,customHeaderOverlayBackgroundColor:u,customPrimaryColor:x,customSecondaryColor:h,customTopBarBackgroundColor:p,floatingButtonLink:g=null,hasMinimalHeader:v=!1,hasOpaqueHeader:f}=e,b=n.C.use.opaqueHeaderSet(),j=n.C.use.minimalHeaderSet(),y=n.C.use.floatingButtonLinkSet(),w=n.C.use.topBarVisibleSet(),N=n.C.use.customLogoSet(),k=n.C.use.customDarkLogoSet(),_=n.C.use.customLogoMobileMaxWidthSet(),S=n.C.use.customLogoDesktopMaxWidthSet(),C=n.C.use.customFooterBackgroundColorSet(),I=n.C.use.customHeaderOverlayBackgroundColorSet(),L=n.C.use.customPrimaryColorSet(),M=n.C.use.customSecondaryColorSet(),T=n.C.use.customTopBarBackgroun
1dColorSet();(0,r.Es)(()=>(b(f),j(v),y(g),v&&w(!1),N(i),k(l),_(c),S(d),C(m),I(u),L(x),M(h),T(p),()=>{j(!1),y(null)}),[l,k,i,m,C,u,I,d,S,c,_,N,x,L,h,M,p,T,g,y,v,f,j,b,w]);let z=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=document.documentElement;z.current={"--color-primary":e.style.getPropertyValue("--color-primary"),"--color-secondary":e.style.getPropertyValue("--color-secondary"),"--btn-secondary-bg":e.style.getPropertyValue("--btn-secondary-bg"),"--btn-header-bg":e.style.getPropertyValue("--btn-header-bg"),"--btn-header-hover-txt":e.style.getPropertyValue("--btn-header-hover-txt"),"--color-header-ov-bg":e.style.getPropertyValue("--color-header-ov-bg"),"--color-topbar-bg":e.style.getPropertyValue("--color-topbar-bg"),"--color-footer-bg":e.style.getPropertyValue("--color-footer-bg")}},[]),(0,s.useEffect)(()=>{let e=document.documentElement;if(x){let t=o(x);e.style.setProperty("--color-primary",t)}if(h){let t=o(h);e.style.setProperty("--color-secondary",t),e.style.setProperty("--btn-secondary-bg",t),e.style.setProperty("--btn-header-bg",t),e.style.setProperty("--btn-header-hover-txt",t)}return u&&e.style.setProperty("--color-header-ov-bg",o(u)),p&&e.style.setProperty("--color-topbar-bg",o(p)),m&&e.style.setProperty("--color-footer-bg",o(m)),()=>{var t,l,a,s,r,n,i,o;z.current&&(x&&e.style.setProperty("--color-primary",null!=(t=z.current["--color-primary"])?t:""),h&&(e.style.setProperty("--color-secondary",null!=(l=z.current["--color-secondary"])?l:""),e.style.setProperty("--btn-secondary-bg",null!=(a=z.current["--btn-secondary-bg"])?a:""),e.style.setProperty("--btn-header-bg",null!=(s=z.current["--btn-header-bg"])?s:""),e.style.setProperty("--btn-header-hover-txt",null!=(r=z.current["--btn-header-hover-txt"])?r:"")),u&&e.style.setProperty("--color-header-ov-bg",null!=(n=z.current["--color-header-ov-bg"])?n:""),p&&e.style.setProperty("--color-topbar-bg",null!=(i=z.current["--color-topbar-bg"])?i:""),m&&e.style.setProperty("--color-footer-bg",null!=(o=z.current["--color-footer-bg"])?o:""))}},[m,u,x,h,p]),(0,a.jsxs)(a.Fragment,{children:[!!v&&(0,a.jsx)("div",{"data-minimal-header":"",hidden:!0}),t]})}},57560:(e,t,l)=>{"use strict";l.d(t,{S:()=>i});var a=l(85664),s=l(76392),r=l.n(s),n=l(19417);let i=e=>{let{children:t,className:l,href:s,nextLinkProps:i,openNewTab:o,ref:d,...c}=e;return(void 0!==o?o:s&&!s.startsWith("/")&&!s.startsWith("#"))?(0,a.jsx)("a",{href:s,ref:d,rel:"noopener noreferrer",target:"_blank",...c,className:l,children:(0,a.jsx)("span",{children:t})}):(0,a.jsx)(r(),{className:l,href:s.replace(n._.NEXT_PUBLIC_WORDPRESS_BACKEND,""),ref:d,...c,...i,children:(0,a.jsx)("span",{children:t})})};i.displayName="NextLink"},58604:(e,t,l)=>{"use strict";l.d(t,{FeaturedTestimonialsAlternativeDuplex:()=>p});var a=l(85664),s=l(3008),r=l(63276),n=l(3589),i=l(74348),o=l(34989),d=l(19845),c=l(79602),m=l(17213),u=l(81534),x=l(96777),h=l(1269);function p(e){let{bottomPadding:t,button:l,index:p,testimonialsData:g,topPadding:v}=e,[f,b]=(0,r.useState)(null);(0,u.Q)(null!==f);let j=(0,n.DE)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("section",{className:(0,x.cn)("relative overflow-hidden bg-white",0===p?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,h.rf)(v,t),children:!!j&&(0,a.jsx)("div",{className:"relative overflow-hidden bg-white pb-20 md:pb-60 lg:pb-90",children:(0,a.jsxs)("div",{className:(0,o.c)({theme:"duplex"}),children:[(0,a.jsx)("div",{className:"-mx-10 md:-mx-25 lg:-mx-45 [&_.slick-track]:!flex relative [&_.slick-slide]:h-[inherit]",children:(0,a.jsxs)(c.Carousel,{settings:{autoplay:!0,autoplaySpeed:5e3,responsive:[{breakpoint:1024,settings:{slidesToScroll:1,slidesToShow:1}}],slidesToScroll:2,slidesToShow:2},showOverflow:!0,children:[(0,a.jsx)(c.CarouselContent,{children:g.testimonials.map(e=>(0,a.jsx)(c.CarouselItem,{className:"h-full",children:(0,a.jsx)("div",{className:"px-10 pt-20 pb-5 md:px-25 lg:px-45",children:(0,a.jsx)(d.TestimonialCardDuplex,{expandedTestimonialSet:b,testimonial:e})})},e.id))}),(0,a.jsxs)("div",{className:"-bottom-60 lg:-bottom-90 absolute inset-x-0 z-10 flex items-center justify-center px-10 md:justify-between md:px-25 lg:px-45",children:[(0,a.jsxs)("div",{className:"-ml-2 flex items-center lg:ml-25",children:[(0,a.jsx)(c.Q8,{className:"text-black/10 transition-all hover:text-secondary",children:(0,a.jsx)(i.I,{className:"size-26",name:"lucide/arrow-left"})}),(0,a.jsx)(c.Oj,{className:"ml-10 text-black/10 transition-all hover:text-secondary",children:(0,a.jsx)(i.I,{className:"size-26",name:"lucide/arrow-right"})})]}),(0,a.jsx)("ul",{className:"hidden items-center justify-center md:flex md:justify-start lg:pr-30",children:g.testimonials.map((e,t)=>(0,a.jsx)(c.CarouselPaging,{activeClassName:"w-45 bg-secondary","aria-label":"Slide to Property ".concat((t+1).toString()),className:"mx-4 h-6 appearance-none transition-all md:mr-0 md:ml-17",inactiveClassName:"w-16 bg-black/10",index:t,type:"button"},e.id))})]})]})}),!!(null==l?void 0:l.url)&&!!l.title&&(0,a.jsx)("div",{className:"mt-80 w-full text-center md:hidden",children:(0,a.jsx)(m.z,{href:l.url,size:"md",theme:"duplex",variant:"primary",children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:l.title}}
1)})})]})})})}),!!f&&(0,a.jsxs)("div",{className:"fixed inset-0 z-100 flex items-center justify-center bg-black/95",children:[(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute inset-0",onClick:()=>{b(null)},type:"button"}),(0,a.jsxs)("div",{className:"relative h-screen w-[980px] max-w-full overflow-y-scroll px-30 py-50 text-white md:h-auto lg:px-50",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(i.I,{className:"size-60 text-white",name:"bi/solid-quote-alt"}),!!f.content&&(0,a.jsx)("div",{className:"lg:prose-lg xl:prose-xl mt-20 max-w-full font-heading prose-headings:font-medium prose-headings:text-primary text-white leading-[1.7] text-opacity-80 lg:mt-30 xl:mt-35",dangerouslySetInnerHTML:{__html:f.content}})]}),(0,a.jsxs)("div",{className:"relative mt-auto flex items-center pt-30",children:[(0,a.jsxs)("div",{className:"relative mr-15 flex size-42 items-center justify-center overflow-hidden rounded-full bg-white text-black",children:[(0,a.jsx)(i.I,{className:"size-52",name:"lucide/circle-user"}),!!f.featuredImage&&(0,a.jsx)(s.default,{alt:f.name,className:"absolute inset-0 size-full object-cover object-center",fill:!0,src:f.featuredImage})]}),(0,a.jsx)("div",{className:"font-bold text-16 text-white leading-[1.7] text-opacity-80 md:text-18 xl:text-20",dangerouslySetInnerHTML:{__html:f.name}})]})]}),(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute top-30 right-30 size-20 text-white transition-all duration-300 hover:opacity-75 lg:top-60 lg:right-60",onClick:()=>{b(null)},type:"button",children:(0,a.jsx)("svg",{"aria-hidden":"true","data-icon":"times","data-prefix":"fal",height:"25",viewBox:"0 0 320 512",width:"25",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z",fill:"currentColor"})})})]})]})}},60750:(e,t,l)=>{"use strict";l.d(t,{FeaturedVideoClient:()=>d});var a=l(85664),s=l(3008),r=l(63276),n=l(74348),i=l(1327),o=l(96777);function d(e){var t;let{section:l,theme:d}=e,{videoEmbed:c,videoThumbnail:m}=l,[u,x]=(0,r.useState)(!1);return(0,a.jsx)("div",{className:"relative",children:(0,a.jsxs)("div",{className:(0,o.cn)("relative isolate aspect-h-9 aspect-w-16 overflow-hidden","beam"===d&&"rounded-20","duplex"===d&&"rounded-30 border-3 border-white shadow-testimonial","ui-media"),children:[!!c&&!!u&&(0,a.jsx)(i.VideoPlayer,{controls:!0,playing:u,videoUrl:c}),!!(null==m?void 0:m.sourceUrl)&&(0,a.jsxs)("button",{className:(0,o.cn)("group absolute inset-0 transition-all",u?"invisible opacity-0":""),onClick:()=>{x(!0)},type:"button",children:[(0,a.jsx)(s.default,{alt:"Video Thumbnail",blurDataURL:null!=(t=m.dataUrl)?t:void 0,className:"object-cover object-center",fill:!0,placeholder:m.dataUrl?"blur":"empty",src:m.sourceUrl}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black/30 transition-colors group-hover:bg-black/50"}),(0,a.jsx)("div",{className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2 flex size-50 items-center justify-center rounded-full bg-warning text-white lg:size-90",children:(0,a.jsx)(n.I,{className:"relative left-4 size-40",name:"lucide/play"})})]})]})})}},61043:(e,t,l)=>{"use strict";l.d(t,{C:()=>i});var a=l(22686),s=l(96590);let r={customDarkLogo:null,customLogo:null,customLogoDesktopMaxWidth:null,customLogoMobileMaxWidth:null,customFooterBackgroundColor:null,customHeaderOverlayBackgroundColor:null,customPrimaryColor:null,customSecondaryColor:null,customTopBarBackgroun
1dColor:null,floatingButtonLink:null,minimalHeader:!1,opaqueHeader:!1,pageIsLoading:!1,showFilters:!1,showPropertySearchDrawer:!1,showSparky:!1,topBarVisible:!1},n=(0,a.v)()(e=>({...r,customDarkLogoSet:t=>{e({customDarkLogo:t})},customLogoDesktopMaxWidthSet:t=>{e({customLogoDesktopMaxWidth:t})},customLogoMobileMaxWidthSet:t=>{e({customLogoMobileMaxWidth:t})},customLogoSet:t=>{e({customLogo:t})},customFooterBackgroundColorSet:t=>{e({customFooterBackgroundColor:t})},customHeaderOverlayBackgroundColorSet:t=>{e({customHeaderOverlayBackgroundColor:t})},customPrimaryColorSet:t=>{e({customPrimaryColor:t})},customSecondaryColorSet:t=>{e({customSecondaryColor:t})},customTopBarBackgroundColorSet:t=>{e({customTopBarBackgroundColor:t})},floatingButtonLinkSet:t=>{e({floatingButtonLink:t})},minimalHeaderSet:t=>{e({minimalHeader:t})},opaqueHeaderSet:t=>{e({opaqueHeader:t})},pageIsLoadingSet:t=>{e({pageIsLoading:t})},showFiltersSet:t=>{e({showFilters:t})},showPropertySearchDrawerSet:t=>{e({showPropertySearchDrawer:t})},showSparkySet:t=>{e({showSparky:t})},topBarVisibleSet:t=>{e({topBarVisible:t})}})),i=(0,s.L)(n)},63339:(e,t,l)=>{"use strict";l.d(t,{Counters:()=>c});var a=l(85664),s=l(67293),r=l(34989),n=l(48306),i=l(46550),o=l(96777),d=l(1269);function c(e){let{index:t,section:l,theme:c}=e,{bottomPadding:m,content:u,counters:x,title:h,topPadding:p}=l,{inView:g,ref:v}=(0,i.M)();return(0,a.jsx)("section",{className:(0,o.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,d.rf)(p,m),children:(0,a.jsx)("div",{className:(0,o.cn)("mx-auto max-w-[1350px] text-center","beam"===c&&"rounded-20 bg-gray"),children:(0,a.jsxs)("div",{className:(0,r.c)({theme:c}),children:[(0,a.jsx)("div",{className:(0,o.cn)("pt-60","beam"===c?"pb-50 md:pt-90 md:pb-60 lg:pb-120":"pb-35 md:pt-75"),children:(0,a.jsxs)("div",{className:"mx-auto max-w-[790px] text-center",children:[0===t&&h?(0,a.jsx)("h1",{className:(0,n.D)({heading:"beam"===c?"h1":"h1sm",theme:c}),dangerouslySetInnerHTML:{__html:h}}):h?(0,a.jsx)("h2",{className:(0,n.D)({heading:"beam"===c?"h1":"h1sm",theme:c}),dangerouslySetInnerHTML:{__html:h}}):null,!!u&&(0,a.jsx)("div",{className:(0,o.cn)("beam"===c&&"mt-20 text-20 leading-normal tracking-[0.06px] md:text-24",("apex"===c||"chalet"===c)&&"mt-30 text-18 leading-relaxed"),dangerouslySetInnerHTML:{__html:u}})]})}),(0,a.jsx)("div",{className:(0,o.cn)("pb-30","beam"===c?"md:pb-80":"md:pb-40"),ref:v,children:(0,a.jsx)("div",{className:"-mx-30 flex flex-wrap justify-center",children:null==x?void 0:x.map((e,t)=>(0,a.jsxs)("div",{className:(0,o.cn)("mb-40 w-full px-30 md:w-1/2 lg:w-1/3",("apex"===c||"chalet"===c)&&"circular-apex"),children:[!!(null==e?void 0:e.title)&&(0,a.jsx)("div",{className:"font-bold text-18 text-primary leading-normal tracking-[0.06px] md:text-22 lg:text-24",dangerouslySetInnerHTML:{__html:e.title}}),!!(null==e?void 0:e.content)&&("apex"===c||"chalet"===c)&&(0,a.jsx)("div",{className:"mx-auto max-w-230 pt-10 text-16 lg:pt-19 lg:text-18",dangerouslySetInnerHTML:{__html:e.content}}),(0,a.jsx)("div",{className:(0,o.cn)("pt-20","beam"===c?"pb-20 lg:py-35":"lg:pt-40"),children:!!(null==e?void 0:e.percentage)&&(0,a.jsxs)("div",{className:(0,o.cn)("relative mx-auto","beam"===c&&"size-235",("apex"===c||"chalet"===c)&&"size-185"),children:[(0,a.jsx)(s.QF,{strokeWidth:"beam"===c?13:6,value:g?Number(e.percentage):0}),(0,a.jsxs)("div",{className:(0,o.cn)("-mt-2 -translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2 font-bold font-heading","beam"
1===c&&"text-52 text-secondary tracking-[0.12px]",("apex"===c||"chalet"===c)&&"text-34",("apex"===c||"chalet"===c)&&0===t&&"text-secondary",("apex"===c||"chalet"===c)&&1===t&&"text-green-3",("apex"===c||"chalet"===c)&&2===t&&"text-primary"),children:[e.percentage,"%"]})]})}),!!(null==e?void 0:e.content)&&"beam"===c&&(0,a.jsx)("div",{className:"mx-auto max-w-[235px] text-17 text-black leading-[1.76470588] tracking-[0.28px]",dangerouslySetInnerHTML:{__html:e.content}})]},null==e?void 0:e.title))})})]})})})})}},63490:(e,t,l)=>{"use strict";l.d(t,{FeaturedTestimonialsAlternativeApex:()=>p});var a=l(85664),s=l(3008),r=l(63276),n=l(3589),i=l(74348),o=l(34989),d=l(69764),c=l(79602),m=l(17213),u=l(81534),x=l(96777),h=l(1269);function p(e){let{bottomPadding:t,button:l,index:p,testimonialsData:g,topPadding:v}=e,[f,b]=(0,r.useState)(null);(0,u.Q)(null!==f);let j=(0,n.DE)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("section",{className:(0,x.cn)("relative overflow-hidden bg-white",0===p?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,h.rf)(v,t),children:!!j&&(0,a.jsx)("div",{className:"bg-gray py-50 lg:pt-80 lg:pb-60",children:(0,a.jsx)("div",{className:(0,o.c)({theme:"apex"}),children:(0,a.jsx)(c.Carousel,{settings:{autoplay:!0,autoplaySpeed:5e3,responsive:[{breakpoint:1180,settings:{slidesToShow:3}},{breakpoint:1024,settings:{slidesToShow:2}},{breakpoint:768,settings:{slidesToShow:1}}],slidesToScroll:1,slidesToShow:4},showOverflow:!0,children:(0,a.jsxs)("div",{className:"-mx-10 lg:-mx-15",children:[!!(null==l?void 0:l.url)&&(0,a.jsxs)("div",{className:"flex items-center justify-center pb-20 lg:pb-40",children:[(0,a.jsx)(c.Q8,{className:"flex size-56 items-center justify-center border border-primary bg-white text-primary transition-colors hover:bg-primary hover:text-white",children:(0,a.jsx)(i.I,{className:"size-36",name:"lucide/chevron-left"})}),(0,a.jsx)(c.Oj,{className:"flex h-56 w-55 items-center justify-center border-primary border-y border-r bg-white text-primary transition-colors hover:bg-primary hover:text-white",children:(0,a.jsx)(i.I,{className:"size-36",name:"lucide/chevron-right"})})]}),(0,a.jsx)(c.CarouselContent,{children:g.testimonials.map((e,t)=>(0,a.jsx)(c.CarouselItem,{children:(0,a.jsx)("div",{className:(0,x.cn)("px-10 pb-15 lg:px-15 lg:pb-24",(0===t||4===t||7===t)&&"lg:pt-35",(1===t||5===t||8===t)&&"lg:pt-95",(3===t||6===t||9===t)&&"lg:pt-60"),children:(0,a.jsx)(d.TestimonialCardApex,{expandedTestimonialSet:b,testimonial:e})})},e.id))}),!(null==l?void 0:l.url)&&(0,a.jsxs)("div",{className:"flex items-center justify-center pt-30 md:pt-50 lg:pt-60",children:[(0,a.jsx)(c.Q8,{className:"flex size-56 items-center justify-center border border-primary bg-white text-primary transition-colors hover:bg-primary hover:text-white",children:(0,a.jsx)(i.I,{className:"size-36",name:"lucide/chevron-left"})}),(0,a.jsx)(c.Oj,{className:"flex h-56 w-55 items-center justify-center border-primary border-y border-r bg-white text-primary transition-colors hover:bg-primary hover:text-white",children:(0,a.jsx)(i.I,{className:"size-36",name:"lucide/chevron-right"})})]}),!!(null==l?void 0:l.url)&&!!l.title&&(0,a.jsx)("div",{className:"mt-15 w-full text-center md:mt-40 lg:mt-60",children:(0,a.jsx)(m.z,{href:l.url,size:"md",theme:"apex",variant:"primary",children:(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:l.title}})})})]})})})})})}),!!f&&(0,a.jsxs)("div",{className:"fixed inset-0 z-100 flex items-center justify-center bg-black/95",children:[(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute inset-0",onClick:()=>{b(null)},type:"button"}),(0,a.jsxs)("div",{className:"relative h-screen w-[980px] max-w-full overflow-y-scroll px-30 py-50 text-white md:h-auto lg:px-50",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(i.I,{className:"size-60 text-white",name:"bi/solid-quote-alt"}),!!f.content&&(0,a.jsx)("div",{className:"lg:prose-lg xl:prose-xl mt-20 max-w-full font-heading prose-headings:font-medium prose-headings:text-primary text-white leading-[1.7] text-opacity-80 lg:mt-30 xl:mt-35",dangerouslySetInnerHTML:{__html:f.content}})]}),(0,a.jsxs)("div",{className:"relative mt-auto flex items-center pt-30",children:[(0,a.jsxs)("div",{className:"relative mr-15 flex size-42 items-center justify-center overflow-hidden rounded-full bg-white text-black",children:[(0,a.jsx)(i.I,{className:"size-52",name:"lucide/circle-user"}),!!f.featuredImage&&(0,a.jsx)(s.default,{alt:f.name,className:"absolute inset-0 size-full object-cover object-center",fill:!0,src:f.featuredImage})]}),(0,a.jsx)("div",{className:"font-bold text-16 text-white leading-[1.7] text-opacity-80 md:text-18 xl:text-20",dangerouslySetInnerHTML:{__html:f.name}})]})]}
1),(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute top-30 right-30 size-20 text-white transition-all duration-300 hover:opacity-75 lg:top-60 lg:right-60",onClick:()=>{b(null)},type:"button",children:(0,a.jsx)("svg",{"aria-hidden":"true","data-icon":"times","data-prefix":"fal",height:"25",viewBox:"0 0 320 512",width:"25",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z",fill:"currentColor"})})})]})]})}},64102:(e,t,l)=>{"use strict";l.d(t,{SellingPerformanceClient:()=>d});var a=l(85664),s=l(63276),r=l(34989),n=l(48306),i=l(96777);let o=["bg-foreground/80","bg-foreground/60","bg-foreground/45","bg-foreground
1/35","bg-foreground/25"];function d(e){let{allAreasLabel:t,areas:l,cardHeading:d,cardSubheading:c,filterLabel:m,rowEyebrow:u,showFilters:x,theme:h}=e,[p,g]=(0,s.useState)("all"),[v,f]=(0,s.useState)({}),b=(0,s.useRef)({}),j=(0,s.useRef)(null),y=(0,s.useRef)(new Map),w=(0,s.useCallback)(()=>{j.current||(j.current=setInterval(()=>{let e=performance.now(),t=!1,l={};for(let[a,s]of Object.entries(b.current)){let r=Math.min(1,(e-s)/1300);l[a]=1-(1-r)**3,r<1&&(t=!0)}f(e=>({...e,...l})),!t&&j.current&&(clearInterval(j.current),j.current=null)},33))},[]),N=(0,s.useCallback)(e=>{e in b.current||(b.current[e]=performance.now(),f(t=>({...t,[e]:0})),w())},[w]);(0,s.useEffect)(()=>{let e=new IntersectionObserver(t=>{for(let l of t)if(l.isIntersecting){let t=l.target.getAttribute("data-area");t&&N(t),e.unobserve(l.target)}},{threshold:.15});for(let t of y.current.values())e.observe(t);return()=>e.disconnect()},[N]),(0,s.useEffect)(()=>()=>{j.current&&clearInterval(j.current)},[]);let k="all"===p?l:l.filter(e=>e.id===p),_=[{id:"all",name:t}].concat(l.map(e=>({id:e.id,name:e.name})));return(0,a.jsxs)("div",{children:[x&&l.length>1&&(0,a.jsx)("div",{className:"mt-32 border-border border-y bg-white lg:mt-48",children:(0,a.jsxs)("div",{className:(0,i.cn)((0,r.c)({theme:h}),"flex flex-wrap items-center gap-8 py-16"),children:[(0,a.jsx)("span",{className:"mr-4 font-semibold text-13 text-muted-foreground",children:m}),_.map(e=>{let t=p===e.id;return(0,a.jsx)("button",{className:(0,i.cn)("rounded-full px-16 py-8 font-semibold text-13 transition",t?"bg-secondary text-white":"bg-muted text-foreground hover:text-secondary"),onClick:()=>g(e.id),type:"button",children:e.name},e.id)})]})}),(0,a.jsx)("div",{className:(0,i.cn)((0,r.c)({theme:h}),"mt-16 lg:mt-24"),children:k.map(e=>{var t;let l=[...e.agents].sort((e,t)=>t.sold-e.sold),s=l.reduce((e,t)=>Math.max(e,t.sold),0),r=null!=(t=v[e.id])?t:1;return(0,a.jsxs)("div",{className:"flex flex-col gap-32 border-border border-b py-40 last:border-b-0 lg:flex-row lg:items-center lg:gap-56 lg:py-52","data-area":e.id,ref:t=>{t?y.current.set(e.id,t):y.current.delete(e.id)},children:[(0,a.jsxs)("div",{className:"lg:flex-1",children:[!!u&&(0,a.jsx)("p",{className:"mb-10 font-bold text-12 text-secondary uppercase tracking-[0.14em]",children:u}),(0,a.jsxs)("h3",{className:(0,i.cn)((0,n.D)({heading:"h2",theme:h}),"!font-extrabold before:!left-0 before:!translate-x-0"),children:["Properties Sold in"," ",(0,a.jsx)("span",{className:"text-secondary",children:e.name})]}),!!e.subtitle&&(0,a.jsx)("div",{className:"mt-6 font-heading font-semibold text-18 text-muted-foreground",children:e.subt
1itle}),!!e.caption&&(0,a.jsx)("div",{className:"mt-16 max-w-sm text-13 text-muted-foreground italic leading-relaxed [&_p+p]:mt-8",dangerouslySetInnerHTML:{__html:e.caption}})]}),(0,a.jsxs)("div",{className:"rounded-18 border border-border bg-white p-24 shadow-[0_8px_30px_rgba(0,0,0,0.05)] lg:flex-[1.25] lg:p-32",children:[(0,a.jsxs)("div",{className:"mb-22 flex items-baseline justify-between",children:[(0,a.jsx)("div",{className:"font-bold font-heading text-15 text-foreground",children:d}),(0,a.jsx)("div",{className:"text-12 text-muted-foreground",children:c})]}),(0,a.jsx)("ul",{className:"space-y-16",children:l.map((e,t)=>{var l;let n=s>0?e.sold/s*100:0,d=e.highlight?"bg-secondary":null!=(l=o[Math.min(t,o.length-1)])?l:"bg-foreground/40";return(0,a.jsxs)("li",{className:"grid grid-cols-[auto_1fr_auto] items-center gap-x-12 gap-y-10 sm:flex sm:gap-14",children:[(0,a.jsx)("span",{className:(0,i.cn)("flex size-28 flex-none items-center justify-center rounded-full font-bold text-12",e.highlight?"bg-secondary text-white":"bg-muted text-muted-foreground"),children:t+1}),(0,a.jsx)("span",{className:(0,i.cn)("min-w-0 truncate font-semibold text-14 sm:w-84 sm:flex-none",e.highlight?"text-secondary":"text-foreground"),children:e.name}),(0,a.jsx)("span",{className:(0,i.cn)("flex-none text-right font-bold text-17 sm:order-last sm:w-56",e.highlight?"text-secondary":"text-foreground"),children:Math.round(e.s
1old*r).toLocaleString("en-GB")}),(0,a.jsx)("span",{className:"col-span-3 h-28 overflow-hidden rounded-full bg-muted sm:col-span-1 sm:h-32 sm:flex-1",children:(0,a.jsx)("span",{className:(0,i.cn)("block h-full rounded-full",d),style:{width:"".concat((n*r).toFixed(2),"%")}})})]},"".concat(e.name,"-").concat(e.sold))})})]})]},e.id)})})]})}},64712:(e,t,l)=>{"use strict";l.d(t,{BranchMapClient:()=>x});var a=l(85664),s=l(36338),r=l(3008),n=l(34989),i=l(41784),o=l(48306),d=l(17213),c=l(46550),m=l(96777);let u=(0,s.default)(()=>Promise.all([l.e(1768),l.e(5493),l.e(1574)]).then(l.bind(l,1574)).then(e=>({default:e.MapWithOffset})),{loadableGenerated:{webpack:()=>[1574]},ssr:!1});function x(e){var t;let{enableDynamicMaps:l,section:s,theme:x}=e,{address:h,button:p,emailAddress:g,image:v,location:f,phoneNumber:b,sectionTitle:j,title:y}=s,{inView:w,ref:N}=(0,c.M)();return(0,a.jsxs)("div",{ref:N,children:[!!j&&(0,a.jsxs)("div",{className:(0,n.c)({theme:x}),children:[(0,a.jsx)("h2",{className:(0,m.cn)("mt-20","fascia"!==x&&"mb-30 text-center md:mb-40 lg:mb-50","fascia"===x?"mb-10 font-body font-medium text-16 uppercase tracking-[0.75px] md:mb-30":(0,o.D)({heading:"h1sm",theme:x})),dangerouslySetInnerHTML:{__html:j}}),"fascia"===x&&!!h&&(0,a.jsx)("h3",{className:"mb-20 font-bold text-18 md:mb-40 md:pt-8 md:text-20 md:leading-none lg:mb-60 lg:text-24 xl:mb-70",dangerouslySetInnerHTML:{__html:h}})]}),(0,a.jsx)("div",{className:(0,m.cn)("beam"===x&&(0,n.c)({size:"lg",theme:x})),children:(0,a.jsxs)("div",{className:"relative",children:[!!l&&(0,a.jsxs)("div",{className:(0,m.cn)("lg:-translate-y-1/2 relative z-10 mx-auto mb-20 hidden w-full flex-wrap bg-white lg:absolute lg:top-1/2 lg:mx-0 lg:flex-nowrap lg:shadow-poi","fascia"===x?"max-w-445 lg:block":"max-w-585 lg:flex","beam"===x&&"rounded-20 p-25 lg:left-90",("apex"===x||"chalet"===x||"fascia"===x)&&"lg:left-20 xl:left-[calc((100vw-1200px)/2)]"),children:[(0,a.jsx)("div",{className:(0,m.cn)("relative isolate w-full shrink-0 overflow-hidden shadow-header","beam"===x&&"h-200 rounded-12 lg:mr-30 lg:h-auto lg:w-180",("apex"===x||"chalet"===x)&&"h-200 md:h-auto md:w-205","fascia"===x&&"h-200 md:h-265"),children:!!(null==v?void 0:v.sourceUrl)&&(0,a.jsx)(r.default,{alt:null!=y?y:"",blurDataURL:null!=(t=v.dataUrl)?t:void 0,className:"absolute inset-0 size-full object-cover object-center",fill:!0,placeholder:v.dataUrl?"blur":"empty",src:v.sourceUrl})}),(0,a.jsxs)("div",{className:(0,m.cn)("beam"===x&&"mt-30 lg:mt-0",("apex"===x||"chalet"===x)&&"p-30","fascia"===x&&"relative p-30 lg:py-40"),children:["fascia"===x&&(0,a.jsx)("div",{className:"absolute inset-0 bg-tertiary/15"}),!!y&&(0,a.jsx)("h3",{className:(0,m.cn)((0,o.D)({heading:"h3",theme:x}),("apex"===x||"chalet"===x)&&"text-20 lg:text-22 xl:text-30","fascia"===x&&"relative font-bold text-20 lg:text-24"),dangerouslySetInnerHTML:{__html:y}}),!!h&&"fascia"!==x&&(0,a.jsx)("div",{className:(0,m.cn)("relative mt-5 text-17",("apex"===x||"chalet"===x)&&"lg:text-18"),dangerouslySetInnerHTML:{__html:h}}),(0,a.jsxs)("div",{className:(0,m.cn)("relative mt-20 leading-relaxed","fascia"===x?"text-16 leading-[1.88]":"text-15 md:mt-30"),children:[!!b&&(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"t:"})," ",(0,a.jsx)("a",{className:"c-linkline text-primary",dangerouslySetInnerHTML:{__html:b},href:"tel:".concat(b),rel:"noopener noreferrer",target:"_blank"})]}),!!g&&(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:"e:"})," ",(0,a.jsx)("a",{className:"c-linkline text-primary",dangerouslySetInnerHTML:{__html:g},href:"mailto:".concat(g),rel:"noopener noreferrer",target:"_blank"})]})]}),!!h&&"fascia"===x&&(0,a.jsx)("div",{className:(0,m.cn)("relative mt-20 text-16 leading-[1.88]"),dangerouslySetInnerHTML:{__html:h}}),!!(null==p?void 0:p.url)&&(0,a.jsx)("div",{className:"mt-30",children:(0,a.jsx)(d.z,{href:p.url,openNewTab:"_blank"===p.target,size:"apex"===x||"chalet"===x?"md":"default",theme:x,variant:"secondary",children:p.title})})]})]}),!!(null==f?void 0:f.latitude)&&!!f.longitude&&(0,a.jsxs)("div",{className:(0,m.cn)("relative h-360 overflow-hidden bg-gray md:h-540","beam"===x&&"rounded-20 lg:h-700","fascia"===x&&"lg:h-700",("apex"===x||"chalet"===x)&&"lg:h-600"),children:[!!l&&!!w&&(0,a.jsx)(u,{center:{lat:f.latitude,lng:f.longitude},markers:[{lat:f.latitude,lng:f.longitude}],theme:x}),!l&&(0,a.jsx)(i.M,{center:{lat:f.latitude,lng:f.longitude},theme:x})]})]})})]})}},64855:(e,t,l)=>{"use strict";l.d(t,{TeamMembersDuplex:()=>o});var a=l(85664),s=l(63276),r=l(37674),n=l(34444),i=l(96777);function o(e){let{hideBranchFilter:t=!1,teamMembers:l,theme:o}
1=e,[d,c]=(0,s.useState)("All Branches"),m=new Set(["All Branches",...l.flatMap(e=>e.offices).filter(Boolean)]),u=Array.from(m).map(e=>({text:e,value:e}));return(0,a.jsxs)("div",{className:"",children:[!t&&m.size>2&&(0,a.jsxs)("div",{className:"-mx-12 flex flex-wrap items-center justify-between",children:[(0,a.jsx)("h2",{className:(0,i.cn)("hidden w-1/2 grow text-left font-bold text-20 text-primary leading-none tracking-[0.08px] md:block lg:w-2/3","duplex"===o?"px-24 lg:text-26 xl:text-32":"px-12 lg:text-24"),dangerouslySetInnerHTML:{__html:d}}),(0,a.jsx)("div",{className:(0,i.cn)("mt-20 w-full md:mt-0 md:w-1/2 lg:w-1/3","duplex"===o?"px-24":"px-12"),children:(0,a.jsx)(n.l,{label:"Change Branch",onChange:e=>{c(e)},options:u,theme:o,value:d})})]}),(0,a.jsx)("div",{className:(0,i.cn)("-mx-12 flex flex-wrap justify-center",!t&&m.size>1&&"mt-35",!t&&"duplex"===o&&m.size>1&&"lg:mt-50"),children:l.filter(e=>"All Branches"===d||e.offices.includes(d)).map(e=>(0,a.jsx)("div",{className:"mb-24 w-full px-12 md:w-1/2 lg:w-1/3",children:(0,a.jsx)(r.i,{teamMember:e,theme:o})},e.id))})]})}},67308:(e,t,l)=>{"use strict";l.r(t),l.d(t,{TestimonialCardSmallBeam:()=>c});var a=l(85664),s=l(17334),r=l(3008),n=l(74348),i=l(11145),o=l(77991),d=l(54242);function c(e){let{expandedTestimonialSet:t,testimonial:l}=e,c=(0,d.W5)(l.content,260);return(0,a.jsx)("div",{className:"group relative rounded-20 border border-transparent bg-gray px-24 pt-25 pb-30 text-left transition-all duration-300 hover:border-secondary/20 hover:shadow-header lg:px-35 lg:pt-35 lg:pb-40 xl:px-40",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsxs)("div",{className:"relative flex size-42 shrink-0 items-center justify-center overflow-hidden rounded-full bg-white text-black/60",children:[(0,a.jsx)(n.I,{className:"size-42",name:"lucide/circle-user"}),!!l.featuredImage&&(0,a.jsx)(r.default,{alt:l.name,className:"absolute inset-0 size-full object-cover object-center",height:42,src:l.featuredImage,width:42})]}),(0,a.jsxs)("div",{className:"ml-10 text-17 leading-normal",children:[(0,a.jsx)("div",{className:"font-semibold",dangerouslySetInnerHTML:{__html:l.name}}),(0,a.jsx)("div",{className:"text-15 text-black/60",dangerouslySetInnerHTML:{__html:(0,s.GP)(l.date,"LLL dd, y")}})]})]}),!!l.content&&(0,a.jsxs)("div",{className:"mt-30 text-pretty text-16 italic leading-[1.8] md:text-17 lg:text-20",children:[(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:c}}),c.length!==(0,d.$J)(l.content).length&&(0,a.jsxs)(a.Fragment,{children:["..."," ",(0,a.jsx)("button",{className:"c-linkline c-linkline--alt text-16 text-primary italic leading-[1.8] md:text-17 lg:text-20",onClick:()=>{t(l)},type:"button",children:"Read More"})]})]}),(0,a.jsxs)("div",{className:"mt-25 flex items-center justify-between lg:mt-55",children:[(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)(o.h,{rating:l.rating,size:"default"})}),(0,a.jsx)("span",{children:!!l.platform&&(0,a.jsx)(i.F,{platform:l.platform,size:"default"})})]})]})})}},67327:(e,t,l)=>{"use strict";l.d(t,{HomewiseCalculator:()=>u});var a=l(85664),s=l(63276),r=l(34989),n=l(96777),i=l(1269);let o=/(\w+)\s*:\s*(['"])(.*?)\2/g,d=new Set(["targetSelector"]);function c(e){let t={};for(let[l,a]of e)d.has(l)||("string"==typeof a||"number"==typeof a||"boolean"==typeof a)&&(t[l]=String(a));return t}let m="homewise-calculator-widget";function u(e){let{index:t,section:l,theme:d}=e,{bottomPadding:u,topPadding:x,widgetConfig:h}=l,p="homewise-calculator-".concat(t);return((0,s.useEffect)(()=>{let e=function(e){let t=null==e?void 0:e.trim();if(!t)return{};try{let e=JSON.parse(t);if(e&&"object"==typeof e&&!Array.isArray(e))return c(Object.entries(e))}catch(e){}return c(Array.from(t.matchAll(o),e=>{var t,l;return[null!=(t=e[1])?t:"",null!=(l=e[3])?l:""]}))}(h);if(0===Object.keys(e).length)return;let t=[],l=()=>{let l=document.getElementById(p);if(!(l&&window.renderHomewiseCalculator))return;l.replaceChildren();let a=new Set(document.body.children);try{window.renderHomewiseCalculator({...e,targetSelector:"#".concat(p)})}catch(e){console.error("[Homewise Calculator Widget]:",e)}t=Array.from(document.body.children).filter(e=>!a.has(e))},a=()=>{var e;
1for(let e of t)e.remove();null==(e=document.getElementById(p))||e.replaceChildren()},s=document.getElementById(m);if(s)return window.renderHomewiseCalculator?l():s.addEventListener("load",l),()=>{s.removeEventListener("load",l),a()};let r=document.createElement("script");return r.id=m,r.src="https://d1u3sgxx46o1nj.cloudfront.net/homewise-calculator-widget.js",r.async=!0,r.addEventListener("load",l),document.head.appendChild(r),()=>{r.removeEventListener("load",l),a()}},[p,h]),h)?(0,a.jsx)("section",{className:(0,n.cn)("relative bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,i.rf)(x,u),children:(0,a.jsx)("div",{className:(0,r.c)({theme:d}),children:(0,a.jsx)("div",{id:p})})})}):null}},68468:(e,t,l)=>{"use strict";l.r(t),l.d(t,{TodaysOpeningHours:()=>i});var a=l(85664),s=l(63276),r=l(96777);let n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];function i(e){let{children:t,className:l,openingHours:i}=e,[o,d]=(0,s.useState)(null);return((0,s.useEffect)(()=>{var e;let t=n[new Date().getDay()],l=null==i?void 0:i.find(e=>(null==e?void 0:e.day)===t);d(null!=(e=null==l?void 0:l.openingHours)?e:null)},[i]),o)?(0,a.jsxs)("div",{className:(0,r.cn)(l),children:[t,o]}):null}},69025:(e,t,l)=>{"use strict";l.d(t,{ClickToPlayVideo:()=>d});var a=l(85664),s=l(3008),r=l(63276),n=l(74348),i=l(1327),o=l(96777);function d(e){var t;let{className:l,thumbnail:d,videoUrl:c}=e,[m,u]=(0,r.useState)(!1);return(0,a.jsx)("div",{className:(0,o.cn)("ui-media relative isolate aspect-h-9 aspect-w-16 overflow-hidden",l),children:(null==d?void 0:d.sourceUrl)?(0,a.jsxs)(a.Fragment,{children:[!!m&&(0,a.jsx)(i.VideoPlayer,{controls:!0,playing:m,videoUrl:c}),(0,a.jsxs)("button",{className:(0,o.cn)("group absolute inset-0 transition-all",m?"invisible opacity-0":""),onClick:()=>{u(!0)},type:"button",children:[(0,a.jsx)(s.default,{alt:"Video Thumbnail",blurDataURL:null!=(t=d.dataUrl)?t:void 0,className:"object-cover object-center",fill:!0,placeholder:d.dataUrl?"blur":"empty",src:d.sourceUrl}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black/30 transition-colors group-hover:bg-black/50"}),(0,a.jsx)("div",{className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2 flex size-50 items-center justify-center rounded-full bg-warning text-white lg:size-90",children:(0,a.jsx)(n.I,{className:"relative left-4 size-40",name:"lucide/play"})})]})]}):(0,a.jsx)(i.VideoPlayer,{controls:!0,playing:!1,videoUrl:c})})}},69289:(e,t,l)=>{"use strict";l.d(t,{FormApex:()=>u});var a=l(85664),s=l(36338),r=l(3008),n=l(34989),i=l(48306),o=l(96777),d=l(1269);let c=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(5934)]).then(l.bind(l,25934)).then(e=>({default:e.FormContact})),{loadableGenerated:{webpack:()=>[25934]},ssr:!1}),m=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(7588),l.e(6334),l.e(2718),l.e(2963),l.e(8560),l.e(4834),l.e(327)]).then(l.bind(l,20327)).then(e=>({default:e.FormCustom})),{loadableGenerated:{webpack:()=>[20327]},ssr:!1});function u(e){var t,l;let{agentsByBranch:s,form:u,gtmEvent:x,lettingsDisabled:h,office
1s:p,salesDisabled:g,section:v,showBlobs:f,theme:b}=e,{bottomPadding:j,image:y,title:w,topPadding:N}=v;return(0,a.jsx)("div",{className:(0,o.cn)("bg-gray",(0,d.rf)(N,j)),children:(0,a.jsx)("div",{className:(0,n.c)({theme:b}),children:(0,a.jsxs)("div",{className:"flex flex-wrap",children:[(0,a.jsx)("div",{className:"relative py-50 md:w-1/2 md:pt-65 md:pl-20 lg:pt-95 lg:pl-70 xl:pb-100 xl:pl-100",children:(0,a.jsxs)("div",{className:"relative",children:[!u&&(0,a.jsx)(c,{agentsByBranch:s,gtmEvent:x,largerSpacing:!0,lettingsDisabled:h,offices:p,salesDisabled:g,selectedBranch:null==(t=v.office)?void 0:t.title,selectedInterest:v.interestedIn,theme:b,title:w?(0,a.jsx)("h2",{className:(0,o.cn)("mb-25",(0,i.D)({heading:"h1sm",theme:b})),dangerouslySetInnerHTML:{__html:w}}):void 0}),!!u&&(0,a.jsx)(m,{form:u,gtmEvent:x,theme:b,title:w?(0,a.jsx)("h2",{className:(0,o.cn)("mb-25",(0,i.D)({heading:"h1sm",theme:b})),dangerouslySetInnerHTML:{__html:w}}):void 0})]})}),(0,a.jsx)("div",{className:"relative hidden w-1/2 pt-20 pl-40 md:block lg:pt-40 lg:pl-60 xl:pt-95 xl:pl-100",children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"ui-media relative h-[690px] w-full overflow-hidden shadow-md",children:!!(null==y?void 0:y.sourceUrl)&&(0,a.jsx)(r.default,{alt:null!=w?w:"",blurDataURL:null!=(l=y.dataUrl)?l:void 0,className:"absolute inset-0 size-full object-cover object-center",fill:!0,placeholder:y.dataUrl?"blur":"empty",src:y.sourceUrl})}),!!f&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute bottom-0 left-75 size-96 bg-primary"}),(0,a.jsx)("div",{className:"-bottom-27 absolute left-50 size-54 bg-secondary"})]})]})})]})})})}},72387:(e,t,l)=>{"use strict";l.d(t,{SearchBarGable:()=>c});var a=l(85664),s=l(89309),r=l(63276),n=l(74348),i=l(16172),o=l(96777),d=l(15179);function c(e){let{defaultView:t,disableLettingsDepartment:l,disableSalesDepartment:c,hideSoldLetToggleDefaultValue:m,listingsDefaultType:u}=e,x=(0,s.useRouter)(),[h,p]=(0,r.useState)(""),[g,v]=(0,r.useState)(u),[f,b]=(0,r.useState)("/properties/".concat(u,"/"));return(0,r.useEffect)(()=>{b((0,d.YQ)({defaultView:t,department:["for-sale","to-rent"].includes(g)?g:"for-sale",hide:m?"completed":"",location:h,showOnly:["new-homes","period-homes"].includes(g)?g:void 0}))},[t,g,h,m]),(0,a.jsx)("div",{className:"relative max-w-[740px]",children:(0,a.jsxs)("div",{className:"flex flex-wrap",children:[(0,a.jsxs)("div",{className:"relative grow",children:[(0,a.jsx)("input",{autoComplete:"off",className:"block w-full border-2 border-white py-17 pr-15 pl-40 text-left text-16 leading-none shadow-none outline-none transition-all duration-300 placeholder:text-placeholder hover:border-secondary focus:border-secondary focus:shadow-none focus:outline-none focus:ring-0 md:max-h-54 md:min-h-54 md:border-r-0 md:py-12 md:pr-25 md:pl-50 md:text-16 lg:py-12",id:"search",name:"search",onChange:e=>{p(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&x.push(f)},placeholder:"Search by address or postcode",type:"text",value:h}),(0,a.jsx)("button",{className:(0,o.cn)("absolute inset-y-0 right-160 hidden items-center text-[#e0e5eb] transition-all md:flex",""!==h?"visible opacity-100 hover:opacity-75":"invisible opacity-0"),onClick:()=>{p("")},type:"button",children:(0,a.jsx)(n.I,{className:"size-24",name:"heroicons/x-circle-solid"})}),(0,a.jsx)(n.I,{className:"-translate-y-1/2 pointer-events-none absolute top-1/2 left-10 size-20 md:left-15",name:"lucide/search"})]}),!(c&&l)&&(0,a.jsxs)("div",{className:"flex w-full md:w-auto",children:[!c&&(0,a.jsx)(i.$,{className:(0,o.cn)("relative mt-10 flex items-center md:mt-0 md:ml-20 md:w-auto",l?"w-full":"w-[calc(50%-7px)]"),icon:"search",onClick:()=>{v("for-sale"),x.push((0,d.YQ)({defaultView:t,department:"for-sale",hide:m?"completed":"",location:h}))},onMouseEnter:()=>{v("for-sale")},size:"lg",theme:"fascia",variant:"secondary",children:(0,a.jsx)("span",{children:l?"Search":"Buy"})}),!l&&(0,a.jsx)(i.$,{className:(0,o.cn)("relative mt-10 flex items-center md:mt-0 md:ml-20 md:w-auto",c?"w-full":"ml-14 w-[calc(50%-7px)]"),icon:"search",onClick:()=>{v("to-rent"),x.push((0,d.YQ)({defaultView:t,department:"to-rent",hide:m?"completed":"",location:h}
1))},onMouseEnter:()=>{v("to-rent")},size:"lg",theme:"fascia",variant:"secondary",children:(0,a.jsx)("span",{children:c?"Search":"Rent"})})]})]})})}},73571:(e,t,l)=>{"use strict";l.d(t,{ExitDraftButton:()=>n});var a=l(85664),s=l(89309),r=l(17213);function n(){let e=(0,s.usePathname)();return(0,a.jsx)(r.z,{className:"!fixed right-40 bottom-40 z-150 shadow-lg",href:"/api/draft/disable?path=".concat(e),nextLinkProps:{prefetch:!1},children:"Exit Draft Mode"})}},75144:(e,t,l)=>{"use strict";l.d(t,{MortgageQuoteCapitalRepayment:()=>o});var a=l(85664),s=l(63276),r=l(34989),n=l(96777),i=l(1269);function o(e){let{index:t,section:l,theme:o,mortgageQuoteId:d}=e,{topPadding:c,bottomPadding:m}=l,u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=u.current;if(!e||document.getElementById("mqcapitalcalculator"))return;let t=document.createElement("script");return t.id="mqcapitalcalculator",t.src="https://frontend.mortgage-quote.me/calculators/capital/mq-capital-calc.js?id=".concat(d),e.appendChild(t),()=>{let e=document.getElementById("mqcapitalcalculator"),t=document.getElementById("mqcapitalcontainer");null==e||e.remove(),null==t||t.remove()}},[d]),(0,a.jsx)("section",{className:(0,n.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,i.rf)(c,m),children:(0,a.jsx)("div",{className:(0,n.cn)((0,r.c)({theme:o})),children:(0,a.jsx)("div",{ref:u})})})})}},76108:(e,t,l)=>{"use strict";l.d(t,{AccordionClient:()=>i});var a=l(85664),s=l(36338),r=l(96777);let n=(0,s.default)(()=>l.e(3388).then(l.bind(l,73388)).then(e=>({default:e.AccordionItem})),{loadableGenerated:{webpack:()=>[73388]}});function i(e){let{items:t,theme:l}=e;return(0,a.jsx)("div",{className:(0,r.cn)("mb-5","duplex"===l&&"relative overflow-hidden rounded-20 border border-bordergray"),children:null==t?void 0:t.map((e,t)=>(null==e?void 0:e.title)&&e.content?(0,a.jsx)(n,{alternative:t%2==0,content:e.content,title:e.title},e.title):null)})}},77768:(e,t,l)=>{"use strict";l.d(t,{Gallery:()=>d});var a=l(85664),s=l(36338),r=l(48306),n=l(96777),i=l(1269);let o=(0,s.default)(()=>l.e(8628).then(l.bind(l,78628)).then(e=>({default:e.GalleryClient})),{loadableGenerated:{webpack:()=>[78628]},ssr:!1});function d(e){let{index:t,section:l,theme:s}=e,{backgroundColor:d,bottomPadding:c,gallery:m,title:u,topPadding:x}=l;return(0,a.jsx)("section",{className:(0,n.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsxs)("div",{className:(0,i.rf)(x,c),style:{backgroundColor:null!=d?d:void 0},children:[!!u&&(0,a.jsx)("h2",{className:(0,n.cn)("mb-30 text-center text-28 lg:mb-50 lg:text-42",(0,r.D)({heading:"h1sm",theme:s})),dangerouslySetInnerHTML:{__html:u}}),!!m&&(0,a.jsx)(o,{gallery:m,theme:s})]})})}},78430:(e,t,l)=>{"use strict";l.d(t,{MortgageQuoteBtlRental:()=>o});var a=l(85664),s=l(63276),r=l(34989),n=l(96777),i=l(1269);function o(e){let{index:t,section:l,theme:o,mortgageQuoteId:d}=e,{topPadding:c,bottomPadding:m}=l,u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=u.current;if(!e||document.getElementById("mqbtlmaxrentcalculator"))return;let t=document.createElement("script");return t.id="mqbtlmaxrentcalculator",t.src="https://frontend.mortgage-quote.me/calculators/btl-max-rent/mq-btl-max-rent-calc.js?id=".concat(d),e.appendChild(t),()=>{var e,t;null==(e=document.getElementById("mqbtlmaxrentcalculator"))||e.remove(),null==(t=document.getElementById("mq-btl-max-rent-calc"))||t.remove()}},[d]),(0,a.jsx)("section",{className:(0,n.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,i.rf)(c,m),children:(0,a.jsx)("div",{className:(0,n.cn)((0,r.c)({theme:o})),children:(0,a.jsx)("div",{ref:u})})})})}},80274:(e,t,l)=>{"use strict";l.d(t,{YoutubeChannelVideosClient:()=>d});var a=l(85664),s=l(3008),r=l(63276),n=l(74348),i=l(1327),o=l(96777);function d(e){let{className:t,theme:l,video:d}=e,[c,m]=(0,r.useState)(!1),u="https://www.youtube.com/watch?v=".concat(d.id);return(0,a.jsxs)("div",{className:(0,o.cn)("group",t),children:[(0,a.jsxs)("div",{className:(0,o.cn)("relative isolate aspect-h-9 aspect-w-16 overflow-hidden",("beam"===l||"duplex"===l)&&"rounded-10"),children:[c&&(0,a.jsx)(i.VideoPlayer,{controls:!0,playing:c,videoUrl:u}),(0,a.jsxs)("button",{className:(0,o.cn)("absolute inset-0 transition-all",c?"invisible opacity-0":""),onClick:()=>{m(!0)},type:"button",children:[(0,a.jsx)(s.default,{alt:d.title,className:"object-cover object-center",fill:!0,sizes:"(max-width: 640px) 100v
1w, (max-width: 1024px) 50vw, 25vw",src:d.thumbnail}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black/30 transition-colors group-hover:bg-black/50"}),(0,a.jsx)("div",{className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2 flex size-40 items-center justify-center rounded-full bg-warning text-white lg:size-50",children:(0,a.jsx)(n.I,{className:"relative left-2 size-20 lg:size-24",name:"lucide/play"})})]})]}),(0,a.jsx)("h3",{className:"mt-12 line-clamp-2 font-bold text-14 leading-snug lg:mt-16 lg:text-18 xl:text-20",children:d.title})]})}},82192:(e,t,l)=>{"use strict";l.d(t,{IntroSection:()=>m});var a=l(85664),s=l(3008),r=l(15863),n=l(75423),i=l(48306),o=l(17213),d=l(96777),c=l(1269);function m(e){let{index:t,section:l,theme:m}=e,{backgroundColor:u,bottomPadding:x,button:h,buttonSecondary:p,content:g,largerTitle:v,overwriteTextAlignmentDesktop:f,overwriteTextAlignmentMobile:b,pretitle:j,title:y,titleIcon:w,titleIconHeight:N,titleIconWidth:k,topPadding:_}=l,{inView:S,ref:C}=(0,r.Wx)({threshold:.4,triggerOnce:!0}),I=(0,d.cn)("left"===b?"text-left":"text-center","left"===f?"md:text-left":"md:text-center");return(0,a.jsx)("section",{className:(0,d.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),style:{backgroundColor:null!=u?u:"#fff"},children:(0,a.jsx)("div",{className:(0,c.rf)(_,x),children:(0,a.jsxs)("div",{className:(0,d.cn)("gable"!==m&&"px-20"),ref:C,children:[!!j&&(0,a.jsx)("h3",{className:(0,d.cn)(I,"mb-15 font-body font-normal text-14 uppercase tracking-[0.6px] md:text-16","gable"===m&&"mx-auto max-w-[1620px] px-20 lg:px-30"),dangerouslySetInnerHTML:{__html:j}}),!!(null==w?void 0:w.sourceUrl)&&!!N&&!!k&&(0,a.jsx)("div",{className:"mb-20",children:(0,a.jsx)(s.default,{alt:null!=y?y:"",className:"mx-auto block",height:N,src:w.sourceUrl,width:k})}),!!y&&(0,a.jsx)("div",{className:(0,d.cn)("mx-auto",I,"chalet"!==m&&("duplex"!==m||(null==h?void 0:h.url))?"gable"===m?"mx-auto max-w-[1620px] px-20 lg:px-30":h?"max-w-[890px]":"max-w-[820px]":"max-w-[920px]"),children:(0,a.jsx)(n.l,{inView:0===t||S,step:"1",children:0===t?(0,a.jsx)("h1",{className:(0,d.cn)("text-primary",(0,i.D)({heading:"chalet"===m||"fascia"===m?"h1sm":"duplex"===m?"h2":"h1",theme:m}),"duplex"===m&&'before:-translate-x-1/2 pt-26 before:absolute before:top-0 before:left-1/2 before:h-8 before:w-54 before:bg-secondary before:content-[""]',"duplex"===m&&I.includes("md:text-center")&&"md:before:!left-1/2 md:before:!-translate-x-1/2"),dangerouslySetInnerHTML:{__html:y}}):(0,a.jsx)("h2",{className:(0,d.cn)("text-balance text-primary",(0,i.D)({heading:v&&"fascia"!==m?"h1":v||"fascia"===m||"duplex"===m?v?"h1sm":"h2":"h1sm",theme:m}),"duplex"===m&&((null==w?void 0:w.sourceUrl)?"before:hidden":'before:!left-1/2 before:!-translate-x-1/2 pt-26 before:absolute before:top-0 before:h-8 before:w-54 before:bg-secondary before:content-[""]')),dangerouslySetInnerHTML:{__html:y}})})}),!!(g||(null==h?void 0:h.url)||(null==p?void 0:p.url))&&(0,a.jsxs)("div",{className:(0,d.cn)("mx-auto",I,"gable"===m?"mx-auto max-w-[1620px] px-20 lg:px-30":"chalet"===m?"max-w-[935px]":"duplex"===m?"max-w-[1160px] text-balance":"fascia"===m?"max-w-[1160px] text-pretty":"max-w-[810px] text-pretty"),children:[!!g&&(0,a.jsx)(n.l,{className:(0,d.cn)("duplex"===m&&"mt-30 md:mt-35","fascia"===m&&"mt-20 md:mt-30 lg:mt-40",h&&"duplex"!==m&&"mt-40",!h&&"duplex"!==m&&"mt-20",!h&&"apex"===m&&"md:mt-30","chalet"===m&&"md:mt-30 lg:mt-50","gable"===m&&"mt-30"),inView:0===t||S,step:"2",children:(0,a.jsx)("div",{className:"gable"===m?"apex-content max-w-[920px] text-18 leading-[1.66]":"duplex"===m?"font-medium text-18 leading-[1.75] tracking-[0.06px] md:text-20 lg:px-20 lg:text-22 xl:text-24":"fascia"===m?0===t||v?"font-medium text-18 leading-[1.75] tracking-[0.06px] md:text-20 lg:px-20 lg:text-22 xl:text-24":"apex-content leading-[1.88]":(0,d.cn)(h&&"beam"===m&&"beam-content",!h&&"beam"===m&&"text-18 leading-normal tracking-[0.06px] md:text-20 lg:text-24",h&&"apex"===m&&"apex-content text-18 leading-relaxed",!h&&"apex"===m&&"apex-content text-18 leading-relaxed lg:text-20","chalet"===m&&"apex-content leading-[1.77] md:text-18"),dangerouslySetInnerHTML:{__html:g}})}),!!((null==h?void 0:h.url)||(null==p?void 0:p.url))&&(0,a.jsx)("div",{className:(0,d.cn)("pb-20",(!!y||!!g)&&"mt-50"),children:(0,a.jsx)(n.l,{inView:0===t||S,step:"3",children:(0,a.jsxs)("div",{className:(0,d.cn)("flex flex-wrap items-center space-y-15 md:space-x-20 md:space-y-0",I.includes("text-center")&&"justify-center"),children:[!!(null==h?void 0:h.url)&&!!h.title&&(0,a.jsx)(o.z,{className:"w-full md:w-auto",href:h.url,openNewTab:"_blank"===h.target,size:"apex"===m||"chalet"===m||"gable"===m?"md":"duplex"===m?"lg":"default",theme:m,variant:"ghostPrimary",children:h.title}),!!(null==p?void 0:p.url)&&!!p.title&&(0,a.jsx)(o.z,{className:"w-full md:w-auto",href:p.url,openNewTab:"_blank"===p.target,size:"apex"===m||"chalet"===m||"gable"===m?"md":"duplex"===m?"lg":"default",theme:m,variant:"secondary",children:p.title})]})})})]})]})})})}},84087:(e,t,l)=>{"use strict";l.d(t,{d:()=>n});var a=l(85664),s=l(96777),r=l(20508);function n(e){let{children:t,className:l,inView:n,step:i}=e;return(0,a.jsx)("div",{className:l,children:(0,a.jsx)("div",{className:(0,s.cn)("relative h-full md:overflow-hidden md:duration-1000 md:ease-reveal",n?"":"md:translate-y-[101%]",(0,r.l)(i)),children:(0,a.jsx)("div",{className:(0,s.cn)("relative h-full md:overflow-hidden md:duration-1000 md:ease-reveal",n?"":"md:translate-y-[-101%]",(0,r.l)(i)),children:(0,a.jsx)("div",{className:(0,s.cn)("relative h-full md:overflow-hidden md:duration-1000 md:ease-reveal",n?"":"md:translate-y-[20%]",(0,r.l)(i)),children:t})})})})}},84148:(e,t,l)=>{"use strict";l.d(t,{FeaturedVideoTestimonialsClient:()=>x});var a=l(85664),s=l(63276),r=l(1327),n=l(17334),i=l(3008),o=l(74348);function d(e){let{showModalSet:t,testimonial:l,videoUrlSet:s}=e,{content:r,date:d,thumbnail:c,title:m,video:u}=l;return(0,a.jsxs)("button",{className:"group relative mb-100 block w-full rounded-20 border border-transparent bg-gray pb-55 text-center transition-all duration-300 hover:border-secondary/20 hover:shadow-header",onClick:function(){s(u),t(!0)},type:"button",children:[(0,a.jsxs)("div",{className:"relative isolate h-[205px] overflow-hidden rounded-t-20",children:[!!c&&(0,a.jsx)(i.default,{alt:m,className:"absolute inset-0 size-full object-cover object-center",fill:!0,src:c}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black opacity-0 transition-opacity duration-300 group-hover:opacity-40"}),(0,a.jsxs)("div",{className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2 flex items-center justify-center",children:[(0,a.jsx)("span",{className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2 size-30 rounded-full bg-white"}),(0,a.jsx)(o.I,{className:"relative size-75 text-secondary",name:"heroicons/play-circle-solid"})]})]}),!!r&&(0,a.jsx)("div",{className:"px-25 pt-25 text-16 text-black leading-normal tracking-[0.27px]",dangerouslySetInnerHTML:{__html:r}}
1),(0,a.jsxs)("div",{className:"-translate-x-1/2 absolute top-[calc(100%-21px)] left-1/2",children:[!!m&&(0,a.jsx)("div",{className:"mt-8 text-center font-bold text-16 lg:text-18",dangerouslySetInnerHTML:{__html:m}}),(0,a.jsx)("div",{className:"text-center text-14",dangerouslySetInnerHTML:{__html:(0,n.GP)(new Date(d),"LLL dd, y")}})]})]},m)}var c=l(81534),m=l(96777),u=l(1269);function x(e){let{index:t,section:l,testimonials:n}=e,{bottomPadding:i,topPadding:o}=l,[x,h]=(0,s.useState)(null),[p,g]=(0,s.useState)(!1),{setLocked:v}=(0,c.Q)();return(0,s.useEffect)(()=>{v(p)},[p,v]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("section",{className:(0,m.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,u.rf)(o,i),children:(0,a.jsx)("div",{className:"beam-container",children:(0,a.jsx)("div",{className:"-mx-10 xl:-mx-30 flex flex-wrap",children:n.map(e=>(0,a.jsx)("div",{className:"mb-0 w-full px-10 md:mb-20 md:w-1/2 lg:w-1/3 xl:px-30",children:(0,a.jsx)(d,{showModalSet:g,testimonial:e,videoUrlSet:h})},e.title))})})})}),!!x&&(0,a.jsxs)("div",{className:(0,m.cn)("fixed inset-0 z-100 flex items-center justify-center transition-all duration-300",p?"visible opacity-100":"invisible opacity-0"),children:[(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute inset-0 bg-primary opacity-95",onClick:()=>{g(!1),h(null)},type:"button"}),(0,a.jsx)("div",{className:"relative w-[980px] max-w-full p-30 lg:p-50",children:(0,a.jsx)("div",{className:"relative isolate aspect-h-9 aspect-w-16 overflow-hidden rounded-20",children:!!p&&(0,a.jsx)(r.VideoPlayer,{videoUrl:x})})}),(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute top-30 right-30 size-20 text-white transition-all duration-300 hover:opacity-75 lg:top-60 lg:right-60",onClick:()=>{g(!1),h(null)},type:"button",children:(0,a.jsx)("svg",{"aria-hidden":"true","data-icon":"times","data-prefix":"fal",focusable:"false",height:"25",role:"img",viewBox:"0 0 320 512",width:"25",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z",fill:"currentColor"})})})]})]})}},84406:(e,t,l)=>{"use strict";l.d(t,{LandingCtaPrimaryButton:()=>s});var a=l(85664);function s(e){let{children:t,href:l,target:s}=e,r=l.startsWith("#");return(0,a.jsx)("a",{className:"ui-button bg-secondary px-28 py-14 font-medium text-white shadow-sm transition hover:brightness-110 active:scale-[0.98]",href:l,onClick:r?e=>{e.preventDefault(),window.scrollTo({behavior:"smooth",top:0})}:void 0,rel:"_blank"===s?"noopener":void 0,target:s||void 0,children:t})}},85040:(e,t,l)=>{"use strict";l.d(t,{MortgageQuoteBorrowAmount:()=>o});var a=l(85664),s=l(63276),r=l(34989),n=l(96777),i=l(1269);function o(e){let{index:t,section:l,theme:o,mortgageQuoteId:d}=e,{topPadding:c,bottomPadding:m}=l,u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=u.current;if(!e||document.getElementById("mqborrowcalculator"))return;let t=document.createElement("script");return t.id="mqborrowcalculator",t.src="https://frontend.mortgage-quote.me/calculators/borrow/mq-borrow-calc.js?id=".concat(d),e.appendChild(t),()=>{var e,t;null==(e=document.getElementById("mqborrowcalculator"))||e.remove(),null==(t=document.getElementById("mqborrowcontainer"))||t.remove()}},[d]),(0,a.jsx)("section",{className:(0,n.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,i.rf)(c,m),children:(0,a.jsx)("div",{className:(0,n.cn)((0,r.c)({theme:o})),children:(0,a.jsx)("div",{ref:u})})})})}},85095:(e,t,l)=>{"use strict";l.d(t,{TestimonialsGridClient:()=>y});var a=l(85664),s=l(36338),r=l(3008),n=l(63276),i=l(74348),o=l(34989),d=l(77991),c=l(48306),m=l(16172),u=l(81534),x=l(96777),h=l(1269);let p=(0,s.default)(()=>Promise.resolve().then(l.bind(l,69764)).then(e=>({default:e.TestimonialCardApex})),{loadableGenerated:{webpack:()=>[69764]}}),g=(0,s.default)(()=>Promise.resolve().then(l.bind(l,95658)).then(e=>({default:e.TestimonialCardGable})),{loadableGenerated:{webpack:()=>[95658]}}),v=(0,s.default)(()=>Promise.resolve().then(l.bind(l,64978)).then(e=>({default:e.TestimonialCardChalet})),{loadableGenerated:{webpack:()=>[64978]}}),f=(0,s.default)(()=>Promise.resolve().then(l.bind(l,19845)).then(e=>({default:e.TestimonialCardDuplex})),{loadableGenerated:{webpack:()=>[19845]}}),b=(0,s.default)(()=>Promise.resolve().then(l.bind(l,80920)).then(e=>({default:e.TestimonialCardFascia})),{loadableGenerated:{webpack:()=>[80920]}}),j=(0,s.default)(()=>Promise.resolve().then(l.bind(l,67308)).then(e=>({default:e.TestimonialCardSmallBeam})),{loadableGenerated:{webpack:()=>[67308]}});function y(e){let{bottomPadding:t,hideTestimonialsQuotesIcon:l,index:s,introBackgroun
1dColor:y,introTextColor:w,testimonialsData:N,theme:k,topPadding:_}=e,S="gable"===k?N.testimonials.slice(1):N.testimonials,C="gable"===k?N.testimonials[0]:null,I="gable"===k?S.slice(1):S,L="duplex"===k||"fascia"===k||"gable"===k||"beam"===k?2:3,M=function(e,t){let l=[],a=[],s=[];e.forEach((e,r)=>{r%t==0?l.push(e):r%t==1?a.push(e):s.push(e)});let r=[l,a];return 3===t&&r.push(s),r}(I,L),[T,z]=(0,n.useState)(null);(0,u.Q)(null!==T);let B="gable"===k?5:3,[P,H]=(0,n.useState)(B);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("section",{className:(0,x.cn)("relative overflow-hidden bg-white",0===s&&"gable"!==k?"pt-header-height-mob md:pt-header-height":""),children:["gable"===k&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"bg-primary pt-header-height-mob text-white md:pt-header-height",style:{backgroundColor:null!=y?y:void 0,color:null!=w?w:void 0},children:(0,a.jsx)("div",{className:"pt-20 pb-40 md:pt-40 lg:pt-80 lg:pb-75",children:(0,a.jsxs)("div",{className:"mx-auto max-w-[1620px] px-20 lg:px-30",children:[(0,a.jsxs)("div",{className:"flex items-center py-15 font-body font-normal text-14 uppercase tracking-[0.6px] md:text-16",children:[(0,a.jsx)("span",{className:"mr-10",children:"Average rating:"}),(0,a.jsx)(d.h,{rating:N.averageRating||5,size:"default"}),(0,a.jsxs)("div",{className:"ml-10",children:[(0,a.jsx)("span",{className:"font-bold",children:N.averageRating}),"/5"]})]}),(0,a.jsx)("h1",{className:(0,x.cn)("pb-20 text-white md:pb-30",(0,c.D)({heading:"h1",theme:"gable"})),style:{color:null!=w?w:void 0},children:"Testimonials"}),(0,a.jsxs)("div",{className:"prose-md prose md:prose-lg lg:prose-xl max-w-[920px] text-balance font-medium text-white",style:{color:null!=w?w:void 0},children:["based on"," ",(0,a.jsx)("strong",{className:"text-white",style:{color:null!=w?w:void 0},children:N.totalNumber})," ","customer reviews from ",N.platforms]})]})})}),(0,a.jsxs)("div",{className:"relative pb-50 lg:pb-110",children:[(0,a.jsx)("div",{className:"absolute inset-x-0 top-0 h-180 bg-primary",style:{backgroundColor:null!=y?y:void 0}}),(0,a.jsx)("div",{className:"relative mx-auto max-w-[1620px] px-20 lg:px-30",children:(0,a.jsx)("div",{className:"bg-white px-35 py-50 shadow-cardsm md:px-55",children:!!C&&(0,a.jsx)(g,{expandedTestimonialSet:z,inlineMeta:!0,isFeatured:!0,testimonial:C})})})]})]}),(0,a.jsx)("div",{className:(0,x.cn)((0,h.rf)(_,t),"apex"===k&&"bg-gray pt-50 lg:pt-70"),children:(0,a.jsxs)("div",{className:"chalet"===k?"px-7":"gable"===k?"mx-auto max-w-[1620px] px-20 lg:px-30":(0,o.c)({theme:k}),children:[("chalet"===k||"duplex"===k||"fascia"===k||"beam"===k)&&(0,a.jsxs)("div",{className:(0,x.cn)("pb-40 text-center lg:pb-60 2xl:pb-70",(0,o.c)({theme:k})),children:[(0,a.jsxs)("div",{className:(0,x.cn)("flex flex-wrap items-center justify-center","fascia"!==k&&"mt-30"),children:[(0,a.jsx)("div",{className:(0,x.cn)("mb-15 w-full text-18 leading-[1.66] md:mr-10 md:mb-0 md:w-auto",("duplex"===k||"fascia"===k)&&"font-medium tracking-[0.06px] md:text-22 lg:text-24"),children:"Average customer rating:"}),(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)(d.h,{rating:N.averageRating||5,size:"duplex"===k||"fascia"===k?"large":"default"})}),(0,a.jsxs)("span",{className:(0,x.cn)("ml-10 leading-none","duplex"===k?"font-medium text-18 tracking-[0.06px] md:text-22 lg:text-24":"text-30"),children:[(0,a.jsx)("span",{className:"font-bold",children:N.averageRating}),"/5"]})]}),(0,a.jsxs)("div",{className:(0,x.cn)("duplex"===k?"mt-25 text-16 tracking-[0.04px]":"mt-20 text-18 leading-[1.66]"),children:["based on ",(0,a.jsx)("strong",{children:N.totalNumber})," ","customer reviews from ",N.platforms]})]}),(0,a.jsxs)("div",{className:(0,x.cn)("flex flex-wrap","chalet"!==k&&"fascia"!==k&&"gable"!==k&&"-mx-10 lg:-mx-20","gable"===k&&"-mx-20 lg:-mx-30 xl:-mx-45",("fascia"===k||"beam"===k)&&"-mx-12"),children:["chalet"===k&&S.slice(0,3*P).map((e,t)=>(0,a.jsx)("div",{className:(0,x.cn)("mb-15 w-full grow px-7",0!==t&&"md:w-1/2",t>2&&"2xl:w-1/3"),children:(0,a.jsx)(v,{expandedTestimonialSet:z,hideTestimonialsQuotesIcon:l,inlineMeta:!0,testimonial:e})},e.id)),"chalet"!==k&&M.map(e=>{var t,l;return(0,a.jsx)("div",{className:(0,x.cn)("w-full md:w-1/2","fascia"===k||"beam"===k?"px-12":"gable"!==k?"px-10 lg:px-20":"","duplex"!==k&&"fascia"!==k&&"gable"!==k&&"beam"!==k&&"lg:w-1/3","gable"===k&&"px-20 lg:px-30 xl:px-45","apex"===k&&"mb-50 lg:mb-70"),children:e.slice(0,P).map(e=>"beam"===k?(0,a.jsx)("div",{className:"mb-24",children:(0,a.jsx)(j,{expandedTestimonialSet:z,testimonial:e})},e.id):"duplex"===k?(0,a.jsx)("div",{className:"mb-50",children:(0,a.jsx)(f,{expandedTestimonialSet:z,testimonial:e})},e.id):"fascia"===k?(0,a.jsx)("div",{className:"mb-24",children:(0,a.jsx)(b,{expandedTestimonialSet:z,testimonial:e})},e.id):"apex"===k?(0,a.jsx)("div",{className:"mb-50 lg:mb-70",children:(0,a.jsx)(p,{expandedTestimonialSet:z,testimonial:e})},e.id):"gable"===k?(0,a.jsx)("div",{className:"mb-60 border-white border-b lg:mb-110",children:(0,a.jsx)(g,{expandedTestimonialSet:z,testimonial:e})},e.id):null)},"testimonials-".concat(null!=(l=null==(t=e[0])?void 0:t.id)?l:"","}"))})]}),S.length>P*L&&(0,a.jsx)("div",{className:(0,x.cn)("flex justify-center pb-40","apex"===k&&"-mt-20 lg:-mt-40","chalet"===k&&"pt-20 md:pb-70","duplex"===k&&"pt-20","fascia"===k&&"pt-20 lg:pt-30"),children:(0,a.jsx)(m.$,{onClick:()=>{H(P+B)},size:"chalet"===k||"apex"===k?"md":"lg",theme:k,type:"button",variant:"chalet"===k||"gable"===k?"ghostPrimary":"primary",children:"Load More"})})]})})]}),!!T&&(0,a.jsxs)("div",{className:"fixed inset-0 z-100 flex items-center justify-center bg-black/95",children:[(0,a.jsx)("button",{"aria-label":"Close Mod
1al",className:"absolute inset-0",onClick:()=>{z(null)},type:"button"}),(0,a.jsxs)("div",{className:"relative h-screen w-[980px] max-w-full overflow-y-scroll px-30 py-50 text-white md:h-auto lg:px-50",children:[(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)(i.I,{className:"size-60 text-white",name:"bi/solid-quote-alt"}),!!T.content&&(0,a.jsx)("div",{className:"lg:prose-lg xl:prose-xl mt-20 max-w-full font-heading prose-headings:font-medium prose-headings:text-primary text-white leading-[1.7] text-opacity-80 lg:mt-30 xl:mt-35",dangerouslySetInnerHTML:{__html:T.content}})]}),(0,a.jsxs)("div",{className:"relative mt-auto flex items-center pt-30",children:[(0,a.jsxs)("div",{className:"relative mr-15 flex size-42 items-center justify-center overflow-hidden rounded-full bg-white text-black",children:[(0,a.jsx)(i.I,{className:"size-42",name:"lucide/circle-user"}),!!T.featuredImage&&(0,a.jsx)(r.default,{alt:T.name,className:"absolute inset-0 size-full object-cover object-center",fill:!0,src:T.featuredImage})]}),!!T.name&&(0,a.jsx)("div",{className:"font-bold text-16 text-white leading-[1.7] text-opacity-80 md:text-18 xl:text-20",dangerouslySetInnerHTML:{__html:T.name}})]})]}),(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute top-30 right-30 size-20 text-white transition-all duration-300 hover:opacity-75 lg:top-60 lg:right-60",onClick:()=>{z(null)},type:"button",children:(0,a.jsx)("svg",{"aria-hidden":"true","data-icon":"times","data-prefix":"fal",height:"25",viewBox:"0 0 320 512",width:"25",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z",fill:"currentColor"})})})]})]})}},88985:(e,t,l)=>{"use strict";l.d(t,{TrustVerifiedWidget:()=>i});var a=l(85664),s=l(63276),r=l(96777),n=l(1269);function i(e){let{index:t,section:l}=e,{bottomPadding:i,key:o,topPadding:d}=l;return(0,s.useEffect)(()=>{if(o&&!document.getElementById("verify-trusted-widget-script")){var e;let t=document.createElement("script");return t.src="https://admin.verifytrusted.com/loader.js?".concat(o),t.async=!0,t.id="verify-trusted-widget-script",null==(e=document.getElementById("verify-trusted-widget"))||e.appendChild(t),()=>{var e;null==(e=document.getElementById("verify-trusted-widget"))||e.appendChild(t)}}},[o]),(0,a.jsx)("section",{className:(0,r.cn)("relative overflow-hidden bg-white",0===t?"pt-header-height-mob md:pt-header-height":""),children:(0,a.jsx)("div",{className:(0,n.rf)(d,i),children:(0,a.jsx)("div",{id:"verify-trusted-widget"})})})}},91366:(e,t,l)=>{"use strict";l.d(t,{TeamSliderLazy:()=>v});var a=l(85664),s=l(3008),r=l(76392),n=l.n(r),i=l(17213),o=l(96777);function d(e){var t,l,r;let{size:d,teamMember:c}=e;return(0,a.jsxs)("div",{className:"flex h-full flex-col",children:[(0,a.jsxs)("div",{className:(0,o.cn)("ui-card relative flex min-h-[335px] flex-col justify-between overflow-hidden px-20 py-30 text-white lg:px-30 lg:pb-40","large"===d&&"lg:min-h-[420px]"),children:[(0,a.jsxs)("div",{className:"absolute inset-0 transition-all duration-4000 group-hover:scale-110",children:[!!c.image&&(0,a.jsx)(s.default,{alt:c.name,className:"absolute inset-0 size-full object-cover object-center",fill:!0,src:c.image}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black opacity-50"})]}),(0,a.jsxs)("div",{className:"relative",children:[!!c.name&&(0,a.jsx)("h3",{className:"font-semibold text-20 text-white lg:text-22 xl:text-24",dangerouslySetInnerHTML:{__html:c.name}}),!!c.role&&(0,a.jsx)("div",{className:"text-16 tracking-[0.11px]",dangerouslySetInnerHTML:{__html:c.role}})]}),(0,a.jsxs)("div",{className:"relative",children:[!!c.phoneNumber&&(0,a.jsxs)("div",{className:"relative truncate text-15 xl:text-16 2xl:text-18",children:[(0,a.jsx)("strong",{children:"t:"})," ",(0,a.jsx)("a",{className:"text-white hover:underline",dangerouslySetInnerHTML:{__html:c.phoneNumber},href:"tel:".concat(c.phoneNumber),rel:"noopener noreferrer",target:"_blank"})]}),!!c.emailAddress&&(0,a.jsxs)("div",{className:"relative truncate text-15 xl:text-16 2xl:text-18",children:[(0,a.jsx)("strong",{children:"e:"})," ",(0,a.jsx)("a",{className:"text-white hover:underline",dangerouslySetInnerHTML:{__html:c.emailAddress},href:"mailto:".concat(c.emailAddress),rel:"noopener noreferrer",target:"_blank"})]}),!!(null==(t=c.customButton)?void 0:t.url)&&!!c.customButton.title&&(0,a.jsx)("div",{className:"mt-20",children:(0,a.jsx)(n(),{className:(0,i.r)({size:"md",theme:"apex",variant:"ghostWhite"}),href:c.customButton.url,target:c.customButton.target,children:(0,a.jsx)("span",{className:"relative",dangerouslySetInnerHTML:{__html:c.customButton.title}})})}),!((null==(l=c.customButton)?void 0:l.url)||(null==(r=c.customButton)?void 0:r.title))&&!!c.emailAddress&&(0,a.jsx)("div",{className:"mt-20",children:(0,a.jsx)("a",{className:(0,i.r)({size:"md",theme:"apex",variant:"ghostWhite"}),href:"mailto:".concat(c.emailAddress),rel:"noopener noreferrer",target:"_blank",children:(0,a.jsx)("span",{className:"relative",children:"Contact Me"})})})]})]}),"large"===d&&!!c.description&&!c.bioToggle&&(0,a.jsx)("div",{className:"w-full grow bg-gray px-20 py-30 font-normal text-16 leading-[1.75] lg:px-26 lg:pb-40",dangerouslySetInnerHTML:{__html:c.description}})]})}function c(e){var t;
1let{roundedSquares:l,shape:r,size:n,teamMember:d}=e,c="",m="",u="";return"first"===r&&"large"===n?(c="w-[350px]",m="h-[337px]",u="url(#teamMemberLarge1ClipPath)"):"second"===r&&"large"===n?(c="w-[331px]",m="h-[342px]",u="url(#teamMemberLarge2ClipPath)"):"third"===r&&"large"===n?(c="w-[344px]",m="h-[344px]",u="url(#teamMemberLarge3ClipPath)"):"first"===r&&"small"===n?(c="w-[228px]",m="h-[219px]",u="url(#teamMemberSmall1ClipPath)"):"second"===r&&"small"===n?(c="w-[217px]",m="h-[224px]",u="url(#teamMemberSmall2ClipPath)"):"third"===r&&"small"===n&&(c="w-[225px]",m="h-[224px]",u="url(#teamMemberSmall3ClipPath)"),(0,a.jsxs)("div",{className:"relative pb-40 text-center",children:[(0,a.jsx)("div",{className:(0,o.cn)("large"===n?"h-[344px]":"h-[224px]"),children:(0,a.jsx)("div",{className:(0,o.cn)("ui-media relative mx-auto origin-top",!l&&c,!l&&m,"large"===n&&!l&&"scale-75 lg:scale-100",l&&"relative h-full overflow-hidden rounded-20 border border-bordergray"),style:{clipPath:l?"none":u},children:!!d.image&&(0,a.jsx)(s.default,{alt:d.name,className:"absolute inset-0 size-full object-cover object-center transition-all duration-300 group-hover:blur-sm",fill:!0,src:d.image})})}),!!d.name&&(0,a.jsx)("h3",{className:(0,o.cn)("beam-h3","large"===n?"-mt-50 lg:mt-20":"mt-20"),dangerouslySetInnerHTML:{__html:d.name}}),!!d.role&&(0,a.jsx)("div",{className:"mt-6 text-16 text-black leading-snug tracking-[0.27px]",dangerouslySetInnerHTML:{__html:d.role}}),"large"===n&&!!d.description&&!d.bioToggle&&(0,a.jsx)("div",{className:"mx-auto mt-22 max-w-[304px] text-16 text-bggray/50 leading-snug tracking-[0.27px]",dangerouslySetInnerHTML:{__html:d.description}}),!!d.phoneNumber&&(0,a.jsxs)("div",{className:"mt-25 text-17 text-bggray leading-[1.76470588]",children:[(0,a.jsx)("strong",{children:"t:"})," ",(0,a.jsx)("a",{className:"c-linkline text-primary",dangerouslySetInnerHTML:{__html:d.phoneNumber},href:"tel:".concat(d.phoneNumber),rel:"noopener noreferrer",target:"_blank"})]}),!!d.emailAddress&&(0,a.jsxs)("div",{className:"mt-5 text-17 text-bggray leading-[1.76470588]",children:[(0,a.jsx)("strong",{children:"e:"})," ",(0,a.jsx)("a",{className:"c-linkline text-primary",dangerouslySetInnerHTML:{__html:d.emailAddress},href:"mailto:".concat(d.emailAddress),rel:"noopener noreferrer",target:"_blank"})]}),(null==(t=d.customButton)?void 0:t.url)&&d.customButton.title?(0,a.jsx)("div",{className:"mt-25",children:(0,a.jsx)(i.z,{className:"c-beam-button c-beam-button--ghost-primary",href:d.customButton.url,theme:"beam",variant:"ghostPrimary",children:(0,a.jsx)("span",{children:d.customButton.title})})}):d.emailAddress?(0,a.jsx)("div",{className:"mt-25",children:(0,a.jsx)("a",{className:"c-beam-button c-beam-button--ghost-primary",href:"mailto:".concat(d.emailAddress),rel:"noopener noreferrer",target:"_blank",children:(0,a.jsx)("span",{children:"Contact Me"})})}):null]})}function m(e){var t,l,r;let{fullImages:d,size:c,teamMember:m}=e;return(0,a.jsx)("div",{className:(0,o.cn)("h-full transition-all",!d&&("large"===c?"bg-gray hover:shadow-lg":"hover:bg-gray/40")),children:(0,a.jsxs)("div",{className:"ui-card relative flex h-full flex-col overflow-hidden",children:[(0,a.jsx)("div",{className:(0,o.cn)("ui-media relative min-h-[285px] overflow-hidden","large"===c&&"lg:min-h-[420px]"),children:(0,a.jsx)("div",{className:"absolute inset-0 transition-all duration-4000 group-hover:scale-110",children:!!m.image&&(0,a.jsx)(s.default,{alt:m.name,className:(0,o.cn)("absolute inset-0 size-full object-center",d?"object-contain":"object-cover"),fill:!0,src:m.image})})}),(0,a.jsxs)("div",{className:(0,o.cn)("relative flex grow flex-col pt-25 pb-35 md:pt-30","small"===c?"px-14":"px-24 lg:pt-35",d&&"text-center"),children:[!!m.name&&(0,a.jsx)("h3",{className:"font-bold text-18 tracking-[0.06px]",dangerouslySetInnerHTML:{__html:m.name}}),!!m.role&&(0,a.jsx)("div",{className:"mt-5 text-16 opacity-70",dangerouslySetInnerHTML:{__html:m.role}}),"large"===c&&!!m.description&&!m.bioToggle&&(0,a.jsx)("div",{className:"mt-25 font-normal text-16 leading-[1.77]",dangerouslySetInnerHTML:{__html:m.description}}),(0,a.jsxs)("div",{className:(0,o.cn)("large"===c&&"mt-20 pr-15"),children:[!!m.phoneNumber&&(0,a.jsxs)("div",{className:"relative mt-10 truncate text-15 md:mt-15 xl:text-16",children:[(0,a.jsx)("strong",{children:"t:"})," ",(0,a.jsx)("a",{className:"hover:underline",dangerouslySetInnerHTML:{__html:m.phoneNumber},href:"tel:".concat(m.phoneNumber),rel:"noopener noreferrer",target:"_blank"})]}),!!m.emailAddress&&(0,a.jsxs)("div",{className:"relative truncate text-15 xl:text-16",children:[(0,a.jsx)("strong",{children:"e:"})," ",(0,a.jsx)("a",{className:"hover:underline",dangerouslySetInnerHTML:{__html:m.emailAddress},href:"mailto:".concat(m.emailAddress),rel:"noopener noreferrer",target:"_blank"})]})]}),(0,a.jsxs)("div",{className:"mt-auto shrink-0",children:[!!(null==(t=m.customButton)?void 0:t.url)&&!!m.customButton.title&&(0,a.jsx)("div",{className:"mt-20",children:(0,a.jsx)(n(),{className:(0,i.r)({size:"md",theme:"chalet",variant:"ghostPrimary"}),href:m.customButton.url,target:m.customButton.target,children:(0,a.jsx)("span",{className:"relative",dangerouslySetInnerHTML:{__html:m.customButton.title}})})}),!((null==(l=m.customButton)?void 0:l.url)||(null==(r=m.customButton)?void 0:r.title))&&!!m.emailAddress&&(0,a.jsx)("div",{className:"mt-30",children:(0,a.jsx)("a",{className:(0,i.r)({size:"md",theme:"chalet",variant:"ghostPrimary"}),href:"mailto:".concat(m.emailAddress),rel:"noopener noreferrer",target:"_blank",children:(0,a.jsx)("span",{className:"relative",children:"Contact Me"})})})]})]})]})})}var u=l(37674),x=l(79602);function h(e){let{fullImages:t,roundedSquares:l,teamMembers:s,theme:r}=e;return(0,a.jsx)("div",{className:(0,o.cn)("relative","fascia"===r?"-mx-15":"-mx-30"),children:(0,a.jsx)(x.Carousel,{className:"pb-40",settings:{appendDots:e=>(0,a.jsx)("div",{children:(0,a.jsx)("ul",{className:"flex items-center justify-center",children:e})}),customPaging:e=>(0,a.jsx)("button",{"aria-label":"Slide to Property ".concat((e+1).toString()),className:(0,o.cn)("mx-4 block appearance-none transition-all md:mx-6",("beam"===r||"duplex"===r)&&"size-16 rounded-full bg-primary/20 [.slick-active>&]:w-40 [.slick-active>&]:bg-secondary",("apex"===r||"chalet"===r||"fascia"===r)&&"h-9 w-12 bg-primary/20 [.slick-active>&]:w-20 [.slick-active>&]:bg-primary"),type:"button"}),dots:!0,dotsClass:"absolute inset-x-0 -bottom-46 z-10",responsive:[{breakpoint:1024,settings:{slidesToShow:2}},{breakpoint:768,settings:{slidesToShow:1}}],slidesToScroll:1,slidesToShow:3},showOverflow:!0,children:(0,a.jsx)(x.CarouselContent,{children:s.map(e=>(0,a.jsx)(x.CarouselItem,{children:(0,a.jsxs)("div",{className:(0,o.cn)("fascia"===r?"px-15":"px-30"),children:["beam"===r&&(0,a.jsx)(c,{roundedSquares:l,shape:"first",size:"small",teamMember:e}),("duplex"===r||"fascia"===r)&&(0,a.jsx)(u.i,{teamMember:e,theme:r}),"apex"===r&&(0,a.jsx)(d,{size:"small",teamMember:e}),"chalet"===r&&(0,a.jsx)(m,{fullImages:t,size:"small",teamMember:e})]})},e.id))})})})}var p=l(48306),g=l(1269);
1function v(e){let{roundedSquares:t,section:l,teamMembers:s,theme:r}=e,{bottomPadding:n,title:i,topPadding:d,fullImages:c}=l;return(0,a.jsx)("div",{className:(0,g.rf)(d,n),children:(0,a.jsxs)("div",{className:"beam-container pb-50",children:[!!i&&(0,a.jsx)("h2",{className:(0,o.cn)("mb-30 text-center md:mb-40",(0,p.D)({heading:"h1sm",theme:r}),"beam"===r&&"lg:mb-50 xl:mb-70"),dangerouslySetInnerHTML:{__html:i}}),(0,a.jsx)(h,{fullImages:!!c,roundedSquares:t,teamMembers:s,theme:r})]})})}},92462:(e,t,l)=>{"use strict";l.d(t,{SimpleFormClient:()=>u});var a=l(85664),s=l(36338),r=l(34989),n=l(48306),i=l(46550),o=l(96777),d=l(1269);let c=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(7588),l.e(6334),l.e(2718),l.e(2963),l.e(8560),l.e(4834),l.e(327)]).then(l.bind(l,20327)).then(e=>({default:e.FormCustom})),{loadableGenerated:{webpack:()=>[20327]},ssr:!1}),m=(0,s.default)(()=>Promise.all([l.e(3136),l.e(7239),l.e(5934)]).then(l.bind(l,25934)).then(e=>({default:e.FormContact})),{loadableGenerated:{webpack:()=>[25934]},ssr:!1});function u(e){var t;let{agentsByBranch:l,form:s,gtmEvent:u,labelsTextColor:x,lettingsDisabled:h,office
1s:p,salesDisabled:g,section:v,theme:f}=e,{backgroundColor:b,bottomPadding:j,pretitle:y,textColor:w,title:N,topPadding:k}=v,{inView:_,ref:S}=(0,i.M)();return(0,a.jsx)("div",{className:(0,o.cn)((0,d.rf)(k,j),"apex"===f&&"bg-gray"),ref:S,style:{backgroundColor:b||"#fff"},children:(0,a.jsxs)("div",{className:(0,o.cn)("fascia"===f?(0,r.c)({theme:f}):"mx-auto max-w-[790px]"),children:[!!y&&(0,a.jsx)("h3",{className:"mb-15 text-center font-semibold text-14 tracking-[0.6px] md:text-16",dangerouslySetInnerHTML:{__html:y},style:{color:w||void 0}}),!!N&&(0,a.jsx)("h2",{className:(0,o.cn)("mb-30 text-balance text-center md:mb-40",(0,n.D)({heading:"h1sm",theme:"fascia"})),dangerouslySetInnerHTML:{__html:N},style:{color:w||void 0}}),(0,a.jsx)("div",{className:(0,o.cn)("fascia"!==f&&"px-20 md:px-30","chalet"!==f&&"duplex"!==f&&!N&&!y&&"py-30 md:pt-80 md:pb-110","beam"===f&&"rounded-12 bg-gray"),children:(0,a.jsxs)("div",{className:(0,o.cn)("mx-auto","chalet"===f||"duplex"===f?"max-w-[785px]":"fascia"!==f?"max-w-[585px]":""),children:[!!_&&!s&&(0,a.jsx)(m,{agentsByBranch:l,gtmEvent:u,labelsTextColor:x,largerSpacing:"fascia"===f,lettingsDisabled:h,office
1s:p,salesDisabled:g,selectedBranch:null==(t=v.office)?void 0:t.title,selectedInterest:v.interestedIn,submitClasses:(0,o.cn)("duplex"!==f&&"fascia"!==f&&"w-full"),textColor:w,theme:f}),!!_&&!!s&&(0,a.jsx)(c,{centerTitles:!0,form:s,gtmEvent:u,labelsTextColor:x,submitClasses:"w-full",theme:f})]})})]})})}},92476:(e,t,l)=>{"use strict";l.d(t,{FeaturedServicesChalet:()=>p});var a=l(85664),s=l(36338),r=l(3008),n=l(76392),i=l.n(n),o=l(63276),d=l(74348),c=l(34989),m=l(48306),u=l(17213),x=l(96777);let h=(0,s.default)(()=>Promise.resolve().then(l.bind(l,1327)).then(e=>({default:e.VideoPlayer})),{loadableGenerated:{webpack:()=>[1327]},ssr:!1});function p(e){let{index:t,section:l}=e,{button:s,centerServicesTitles:n,content:p,overlayColor:g,overlayOpacity:v,services:f,title:b,titleIcon:j,titleIconHeight:y,titleIconWidth:w}=l,[N,k]=(0,o.useState)(null);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,c.c)({size:"xs",theme:"chalet"}),children:[!!(null==j?void 0:j.sourceUrl)&&!!y&&!!w&&(0,a.jsx)("div",{className:"mb-20",children:(0,a.jsx)(r.default,{alt:null!=b?b:"",className:"mx-auto block",height:y,src:j.sourceUrl,width:w})}),!!b&&0!==t&&(0,a.jsx)("h2",{className:(0,x.cn)("text-center",(0,m.D)({heading:"h1sm",theme:"chalet"})),dangerouslySetInnerHTML:{__html:b}}),!!b&&0===t&&(0,a.jsx)("h1",{className:(0,x.cn)("text-center",(0,m.D)({heading:"h1sm",theme:"chalet"}),"xl:text-60"),dangerouslySetInnerHTML:{__html:b}}),!!p&&(0,a.jsx)("div",{className:(0,x.cn)("chalet-content -mx-10 mt-30 text-center",0===t?"text-18 leading-[1.363] md:text-20 lg:text-22":"text-18 leading-[1.875]"),dangerouslySetInnerHTML:{__html:p}}),!!(null==s?void 0:s.url)&&(0,a.jsx)("div",{className:"pt-30 text-center lg:pt-40",children:(0,a.jsx)(u.z,{href:s.url,openNewTab:"_blank"===s.target,size:"md",theme:"chalet",variant:"ghostPrimary",children:s.title})})]}),(0,a.jsx)("div",{className:"relative px-7",children:(0,a.jsx)("div",{className:(0,x.cn)("flex flex-wrap",(b||p||(null==s?void 0:s.url))&&"pt-30 lg:pt-45"),children:null==f?void 0:f.map(e=>{var t,l,s,o,c,m,u,h,p;return(0,a.jsx)("div",{className:"mb-14 w-full px-7 sm:w-1/2 lg:w-1/3",children:(0,a.jsxs)("div",{className:"group relative",children:[(0,a.jsxs)(i(),{className:"relative flex size-full min-h-155 flex-col justify-between overflow-hidden md:min-h-265 xl:min-h-[335px]",href:null!=(u=null==e||null==(t=e.service)?void 0:t.url)?u:"",target:(null==e||null==(l=e.service)?void 0:l.target)==="_blank"?"_blank":void 0,children:[(0,a.jsxs)("div",{className:"absolute inset-0 transition-all duration-4000 group-hover:scale-110",children:[!!(null==e||null==(s=e.image)?void 0:s.sourceUrl)&&(0,a.jsx)(r.default,{alt:null!=(h=null==(o=e.service)?void 0:o.title)?h:"",blurDataURL:null!=(p=e.image.dataUrl)?p:void 0,className:"object-cover object-center",fill:!0,placeholder:e.image.dataUrl?"blur":"empty",sizes:"(min-width: 768px) 50vw, (min-width: 1024px) 33vw, (min-width: 1250px) 400px, calc(100vw - 40px)",src:e.image.sourceUrl}),(0,a.jsx)("div",{className:"absolute inset-0 bg-black opacity-25 transition-all group-hover:opacity-40",style:{backgroundColor:null!=g?g:void 0,opacity:null!=v?v:void 0}}),!!(null==e?void 0:e.videoUrl)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent"}),(0,a.jsx)("div",{className:"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2 flex size-50 items-center justify-center rounded-full bg-warning text-white lg:size-90",children:(0,a.jsx)(d.I,{className:"relative left-4 size-40",name:"lucide/play"})})]})]}),!!(null==e?void 0:e.description)&&(0,a.jsx)("div",{className:(0,x.cn)("mb-15 hidden translate-y-10 px-24 pt-25 text-16 text-white leading-normal tracking-[0.1px] opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100 md:block lg:text-18",n?"absolute inset-x-0 bottom-0 max-w-full px-20 pb-25 text-center":"relative max-w-[320px]"),dangerouslySetInnerHTML:{__html:e.description}}),!!(null==e||null==(c=e.service)?void 0:c.title)&&(0,a.jsx)("h3",{className:(0,x.cn)("max-w-[320px] px-20 pt-24 pb-30 font-heading font-normal text-22 text-white leading-tight tracking-[0.44px] lg:px-24 xl:text-30",!e.videoUrl&&"mt-auto",n?"-translate-x-1/2 -translate-y-1/2 absolute top-1/2 left-1/2":"relative"),dangerouslySetInnerHTML:{__html:e.service.title}}
1)]}),!!(null==e?void 0:e.videoUrl)&&(0,a.jsx)("button",{className:"absolute inset-0",onClick:()=>{e.videoUrl&&k(e.videoUrl)},type:"button"})]})},null==e||null==(m=e.service)?void 0:m.title)})})}),!!N&&(0,a.jsxs)("div",{className:"fixed inset-0 z-100 flex items-center justify-center bg-black/95",children:[(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute inset-0",onClick:()=>{k(null)},type:"button"}),(0,a.jsx)("div",{className:"relative h-auto w-[980px] max-w-full overflow-y-scroll px-30 py-50 text-white lg:px-50",children:(0,a.jsx)("div",{className:"relative isolate aspect-h-9 aspect-w-16 overflow-hidden",children:(0,a.jsx)(h,{controls:!0,playing:!0,videoUrl:N})})}),(0,a.jsx)("button",{"aria-label":"Close Modal",className:"absolute top-30 right-30 size-20 text-white transition-all duration-300 hover:opacity-75 lg:top-60 lg:right-60",onClick:()=>{k(null)},type:"button",children:(0,a.jsx)("svg",{"aria-hidden":"true","data-icon":"times","data-prefix":"fal",height:"25",viewBox:"0 0 320 512",width:"25",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M193.94 256 296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z",fill:"currentColor"})})})]})]})}}}]);
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.