1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6559],{26559:(e,t,l)=>{l.r(t),l.d(t,{PropertiesSliderBeam:()=>c});var s=l(85664),n=l(63276),i=l(34989),a=l(2305),r=l(79602),o=l(96777);function c(e){let{centerTitle:t,commercialLettingsDepartment:l,commercialLettingsProperties:c,commercialSalesDepartment:m,commercialSalesProperties:d,defaultTab:x,hideNewlyListedBadge:p,letDepartment:g,letProperties:b,lettingsDepartment:u,lettingsProperties:h,mobileLayoutStacked:j=!1,salesDepartment:v,salesProperties:k,showBlobs:f,soldDepartment:y,soldProperties:N}=e,[C,_]=(0,n.useState)(x),[w,S]=(0,n.useState)("sales"===x?k:"lettings"===x?h:"sold"===x?N:"let"===x?b:"commercial-sales"===x?d:"commercial-lettings"===x?c:[]),T=[y,g,v,u,m,l].filter(e=>e).length>1;return(0,n.useEffect)(()=>{S("sales"===C?k:"lettings"===C?h:"sold"===C?N:"let"===C?b:"commercial-sales"===C?d:"commercial-lettings"===C?c:[])},[C,k,h,d,c,N,b]),(0,s.jsxs)(s.Fragment,{children:[!!T&&(0,s.jsx)("div",{className:(0,o.cn)("relative z-10",(0,i.c)({theme:"beam"})),children:(0,s.jsxs)("div",{className:(0,o.cn)("flex items-center justify-center",t?"":"md:justify-start"),children:[!!v&&(0,s.jsx)("button",{className:(0,o.cn)("beam-featured-properties__toggle relative mx-15 inline-block pb-17 font-bold text-18 text-secondary leading-normal tracking-[1px] md:mr-30 md:ml-0 md:text-20 lg:text-24","sales"===C?"is-active":""),onClick:()=>{_("sales")},type:"button",children:(0,s.jsx)("span",{children:"Buy"})}),!!y&&(0,s.jsx)("button",{className:(0,o.cn)("beam-featured-properties__toggle relative mx-15 inline-block pb-17 font-bold text-18 text-secondary leading-normal tracking-[1px] md:mr-30 md:ml-0 md:text-20 lg:text-24","sold"===C?"is-active":""),onClick:()=>{_("sold")},type:"button",children:(0,s.jsx)("span",{children:"Sold"})}),!!u&&(0,s.jsx)("button",{className:(0,o.cn)("beam-featured-properties__toggle relative mx-15 inline-block pb-17 font-bold text-18 text-secondary leading-normal tracking-[1px] md:mr-30 md:ml-0 md:text-20 lg:text-24","lettings"===C?"is-active":""),onClick:()=>{_("lettings")},type:"button",children:(0,s.jsx)("span",{children:"Rent"})}),!!g&&(0,s.jsx)("button",{className:(0,o.cn)("beam-featured-properties__toggle relative mx-15 inline-block pb-17 font-bold text-18 text-secondary leading-normal tracking-[1px] md:mr-30 md:ml-0 md:text-20 lg:text-24","let"===C?"is-active":""),onClick:()=>{_("let")},type:"button",children:(0,s.jsx)("span",{children:"Let"})}),!!m&&(0,s.jsx)("button",{className:(0,o.cn)("beam-featured-properties__toggle relative mx-15 inline-block pb-17 font-bold text-18 text-secondary leading-normal tracking-[1px] md:mr-30 md:ml-0 md:text-20 lg:text-24","commercial-sales"===C?"is-active":""),onClick:()=>{_("commercial-sales")},type:"button",children:(0,s.jsx)("span",{children:"Buy Commercial"})}),!!l&&(0,s.jsx)("button",{className:(0,o.cn)("beam-featured-properties__toggle relative mx-15 inline-block pb-17 font-bold text-18 text-secondary leading-normal tracking-[1px] md:mr-30 md:ml-0 md:text-20 lg:text-24","commercial-lettings"===C?"is-active":""),onClick:()=>{_("commercial-lettings")},type:"button",children:(0,s.jsx)("span",{children:"Rent Commercial"})})]})}),(0,s.jsx)("div",{className:"-mt-4 bg-gray",children:(0,s.jsxs)("div",{className:(0,o.cn)("relative pt-50 md:pt-80",(0,i.c)({theme:"beam"})),children:[(0,s.jsx)("div",{className:"-mx-15 lg:-mx-20 xl:-mx-30 2xl:-mx-40 relative",children:(0,s.jsx)(r.Carousel,{className:"pb-106",settings:{appendDots:e=>(0,s.jsx)("div",{children:(0,s.jsx)("ul",{className:"flex items-center justify-center",children:e})}),customPaging:e=>(0,s.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-56 z-10",infinite:w.length>3,responsive:[{breakpoint:1024,settings:{slidesToScroll:2,slidesToShow:2}},{breakpoint:768,settings:{slidesToScroll:1,slidesToShow:1}}],slidesToScroll:3,slidesToShow:3},showOverflow:!0,children:(0,s.jsx)(r.CarouselContent,{children:w.map(e=>(0,s.jsx)(r.CarouselItem,{className:"px-15 lg:px-20 xl:px-30 2xl:px-40",children:(0,s.jsx)(a.n,{hideNewlyListedBadge:p,mobileLayoutStacked:j,property:e})},e.slug))})})}),!!f&&(0,s.jsx)("svg",{className:"-top-47 pointer-events-none absolute right-[13.5%] hidden animate-spin md:block",height:"85",width:"96",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{className:"fill-green-1",d:"M24.49 10.175C52.256-7.25 73.784-2.188 89.077 25.36c15.268 26.087 3.601 44.707-35.001 55.858-57.903 16.726-71.23-44.904-29.584-71.042Z",fillRule:"evenodd"})})]})})]})}}}]);
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.