1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3609],{10262:(e,l,a)=>{a.d(l,{MSStartProjectBar:()=>r});var s=a(70393),t=a(86909),n=a(26877),i=a(49766);function r(e){let{bgColor:l="#4a2b27",textColor:a="#fdfcf8",heading:r="Working on a project?",body:o="Save products, share with clients, and request quotes â all in one place.",loginLabel:c="Log In",loginHref:d="/login",ctaLabel:x="Start a Project",ctaHref:u="/account/projects",ctaBgColor:m="#cdd7dc",ctaTextColor:p="#233528",className:f}=e;return(0,s.jsxs)("section",{className:(0,t.$)("block w-full min-w-full","flex flex-col gap-4 px-4 py-4 md:flex-row md:items-center md:justify-between md:gap-8 md:px-12 md:py-5",f),"data-component":"MSStartProjectBar","data-node-id":"895:49641",style:{backgroundColor:l,color:a,width:"100%"},children:[(0,s.jsxs)("div",{className:"flex items-center gap-4 md:flex-1 md:min-w-0",children:[(0,s.jsx)(n.g,{className:"shrink-0 text-[30px] leading-none",rotate:0}),(0,s.jsx)("p",{className:(0,t.$)(i.ZE.heading5),style:{...i.U5,color:a},children:r})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-3 md:flex-[2] md:flex-row md:items-center md:justify-end md:gap-6",children:[o&&(0,s.jsx)("p",{className:(0,t.$)(i.ZE.body,"opacity-80 md:flex-1 md:text-right"),style:{color:a},children:o}),(0,s.jsxs)("div",{className:"flex shrink-0 items-center gap-3",children:[c&&(0,s.jsx)("a",{className:(0,t.$)("border border-current transition-opacity hover:opacity-70",i.dB,i.ZE.button),href:d,style:{color:a},children:c}),x&&(0,s.jsx)("a",{className:(0,t.$)("transition-opacity hover:opacity-85",i.dB,i.ZE.button),href:u,style:{backgroundColor:m,color:p},children:x})]})]})]})}},21903:(e,l,a)=>{a.d(l,{MSBrandStory:()=>x});var s=a(70393),t=a(86909),n=a(60055),i=a(25425),r=a(45805),o=a(49766);let c={idle:"none",play:"auto",still:"metadata"};function d(e){let{src:l,poster:a}=e,t=(0,r.useRef)(null),[n,i]=(0,r.useState)("idle");return(0,r.useEffect)(()=>{let e=t.current;if(!e)return;let l=window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(l&&a)return;let s=l?"still":"play";if("undefined"==typeof IntersectionObserver)return void i(s);let n=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)&&(n.disconnect(),i(s))},{rootMargin:"300px 0px"});return n.observe(e),()=>n.disconnect()},[a]),(0,r.useEffect)(()=>{var e;"play"===n&&(null==(e=t.current)||e.play().catch(()=>void 0))},[n]),(0,s.jsx)("video",{"aria-hidden":!0,autoPlay:"play"===n,className:"absolute inset-0 h-full w-full object-cover",loop:!0,muted:!0,playsInline:!0,poster:a,preload:c[n],ref:t,src:"idle"===n?void 0:l})}function x(e){var l,a,r,c,x,u,m,p;let{backgroundVideoUrl:f,backgroundPoster:h,overlayOpacity:g=15,topImage:v,topImageMaxWidth:j=60,haikuLines:y,body:b="A premium, design-led bathware brand operating across New Zealand and Australia, working with the best architects, designers and developers to deliver complete bathroom solutions.",linkLabel:w="Our Story",linkHref:N="/about",bottomImage:k,bottomImageMaxWidth:S=200,bgColor:$="#f9f7f2",textColor:E="#233528",className:L}=e,Z=!!(f||(null==h?void 0:h.url)),M=Math.min(80,Math.max(0,g))/100;return(0,s.jsxs)("section",{className:(0,t.$)("relative block w-full min-w-full overflow-hidden","flex flex-col items-center justify-center gap-8 px-4 py-20 md:aspect-[1440/780] md:gap-12 md:px-12 md:py-0",L),"data-component":"MSBrandStory","data-node-id":"889:16793",style:{backgroundColor:$,color:E,width:"100%"},children:[Z&&(0,s.jsxs)(s.Fragment,{children:[f?(0,s.jsx)(d,{poster:null==h?void 0:h.url,src:f}):(null==h?void 0:h.url)&&(0,s.jsx)(i.default,{alt:"","aria-hidden":!0,className:"object-cover",fill:!0,priority:!0,sizes:"100vw",src:h.url,unoptimized:!0}),M>0&&(0,s.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0",style:{backgroundColor:"rgba(0, 0, 0, ".concat(M,")")}})]}),(0,s.jsxs)("div",{className:"relative z-10 flex flex-col items-center gap-8 md:gap-12",children:[(null==v?void 0:v.url)&&(0,s.jsx)("div",{className:"relative w-full",style:{maxWidth:"".concat(j,"px")},children:(0,s.jsx)(i.default,{alt:"",className:"h-auto w-full object-contain",height:null!=(x=null==(l=v.dimensions)?void 0:l.height)?x:60,src:v.url,unoptimized:!0,width:null!=(u=null==(a=v.dimensions)?void 0:a.width)?u:60})}),(0,s.jsxs)("div",{className:(0,t.$)("flex w-full flex-col items-center gap-6 text-center",(null==y?void 0:y.length)?"max-w-none":"max-w-[500px]"),children:[(null==y?void 0:y.length)?(0,s.jsx)("div",{className:"flex flex-col items-center gap-3 text-center lg:flex-row lg:gap-5 lg:whitespace-nowrap",children:y.map((e,l)=>(0,s.jsxs)("div",{className:"contents",children:[l>
10?(0,s.jsx)("span",{"aria-hidden":!0,className:"hidden text-[20px] leading-[24px] lg:block",style:{...o.U5,color:E},children:"^"}):null,(0,s.jsx)("span",{className:"text-[20px] leading-[24px]",style:{...o.U5,color:E},children:e})]},"".concat(e,"-").concat(String(l))))}):null,!(null==y?void 0:y.length)&&b&&(0,s.jsx)("p",{className:(0,t.$)(o.ZE.editorial),style:{...o.U5,color:E,whiteSpace:"pre-line"},children:b}),w&&(0,s.jsxs)("a",{className:(0,t.$)("inline-flex items-center gap-2 transition-opacity hover:opacity-70",o.ZE.button),href:N,style:{color:E},children:[(0,s.jsx)("span",{children:w}),(0,s.jsx)(n.A,{"aria-hidden":!0,className:"h-3.5 w-3.5",strokeWidth:1.5})]})]}),(null==k?void 0:k.url)&&(0,s.jsx)("div",{className:"relative w-full",style:{maxWidth:"".concat(S,"px")},children:(0,s.jsx)(i.default,{alt:"",className:"h-auto w-full object-contain",height:null!=(m=null==(r=k.dimensions)?void 0:r.height)?m:50,src:k.url,unoptimized:!0,width:null!=(p=null==(c=k.dimensions)?void 0:c.width)?p:200})})]})]})}},69253:(e,l,a)=>{a.d(l,{MSShowroomLocator:()=>d});var s=a(70393),t=a(86909),n=a(60055),i=a(25425),r=a(47304);let o=/\s*\(\s*see\s+(?:the\s+)?dates?\s+below\s*\)/giu;var c=a(49766);function d(e){let{heading:l="Visit a Showroom",outletLabel:a="Outlet Store",outletHref:d="/showrooms",locations:x,bgColor:u="#fdfcf8",textColor:m="#233528",className:p}=e,f=(Array.isArray(x)?x:[]).filter(e=>{var l;return(null==e?void 0:e.name)||(null==e||null==(l=e.image)?void 0:l.url)});return(0,s.jsxs)("section",{className:(0,t.$)("block w-full min-w-full","flex flex-col gap-8 px-4 py-12 md:gap-10 md:px-12 md:py-16",p),"data-component":"MSShowroomLocator","data-node-id":"1405:74092",style:{backgroundColor:u,color:m,width:"100%"},children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:items-center md:justify-between md:gap-8",children:[l&&(0,s.jsx)("h2",{className:(0,t.$)(c.ZE.heading2),style:{...c.U5,color:m},children:l}),a&&(0,s.jsxs)("p",{className:(0,t.$)(c.ZE.bodySmall,"shrink-0"),style:{color:"#949c96"},children:["Or visit the"," ",(0,s.jsxs)("a",{className:(0,t.$)("inline-flex items-center gap-1.5 font-semibold transition-opacity hover:opacity-70"),href:d,style:{color:m},.../^https?:\/\//.test(d)?{target:"_blank",rel:"noopener noreferrer"}:{},children:[(0,s.jsx)("span",{children:a}),(0,s.jsx)(n.A,{"aria-hidden":!0,className:"h-4 w-4",strokeWidth:1.5})]})]})]}),(0,s.jsx)(r.c,{className:"text-current"}),0===f.length?(0,s.jsx)("p",{className:(0,t.$)(c.ZE.body,"opacity-50"),children:"No showrooms configured â add showroom documents in Sanity Studio, or locations in the Makeswift inspector."}):(0,s.jsx)("div",{className:"grid grid-cols-1 gap-x-6 gap-y-10 md:grid-cols-3",children:f.map((e,l)=>{var a,r,d,x,u;let p=(null==e?void 0:e.infoHref)?"a":"div",f=Array.isArray(null==e?void 0:e.hoursLines)&&null!=(r=(u=e.hoursLines)?u.map(e=>e.replace(o,"").trim()).filter(Boolean):null)?r:[];return(0,s.jsxs)(p,{className:"group flex flex-col gap-5",href:null==e?void 0:e.infoHref,children:[(0,s.jsx)("div",{className:"relative aspect-[436/488] w-full overflow-hidden",style:{backgroundColor:"#F2EFE6"},children:(null==e||null==(a=e.image)?void 0:a.url)&&(0,s.jsx)(i.default,{alt:null!=(d=null==e?void 0:e.name)?d:"",className:"object-cover transition-transform duration-500 group-hover:scale-105",fill:!0,sizes:"(min-width: 768px) 33vw, 100vw",src:e.image.url,unoptimized:!0})}),(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(null==e?void 0:e.name)&&(0,s.jsx)("p",{className:(0,t.$)(c.ZE.heading3),style:{...c.U5,color:m},children:e.name}),(null==e?void 0:e.addressLabel)&&(0,s.jsx)("p",{className:(0,t.$)(c.ZE.bodySmall),style:{color:"#949c96"},children:e.addressLabel}),f.length>0&&(0,s.jsx)("div",{className:"flex flex-col",children:f.map((e,l)=>(0,s.jsx)("p",{className:(0,t.$)(c.ZE.bodySmall),style:{color:m},children:e},l))}),(null==e?void 0:e.infoHref)&&(0,s.jsxs)("span",{className:(0,t.$)("mt-1 inline-flex items-center gap-2 py-1 transition-opacity group-hover:opacity-70",c.ZE.button),style:{color:m},children:[(0,s.jsx)("span",{children:null!=(x=e.infoLabel)?x:"More info"}
1),(0,s.jsx)(n.A,{"aria-hidden":!0,className:"h-4 w-4",strokeWidth:1.5})]})]})]},l)})})]})}},77650:(e,l,a)=>{a.d(l,{ResourcesSection:()=>p});var s=a(70393),t=a(86909),n=a(45805),i=a(80424),r=a(22623);let o={fontFamily:'var(--font-family-material-serif, "Material Serif", serif)'},c="font-['Plus_Jakarta_Sans',sans-serif]",d=(0,t.$)(c,"inline-flex min-h-9 shrink-0 items-center justify-center gap-2 rounded-[2px] text-[10px] font-semibold leading-4 transition-colors","bg-[#233528] px-4 py-2 text-[#fdfcf8] hover:bg-[#37493a]"),x=(0,t.$)(c,"text-[10px] font-semibold uppercase leading-[14px] tracking-[2px]"),u=(0,t.$)(c,"text-[14px] leading-[21px] text-[#233528]"),m="motion-safe:animate-in motion-safe:fade-in motion-safe:duration-300";function p(e){var l,a,r,c;let{eyebrow:d,heading:p,body:g,defaultImage:v,items:j,initialIndex:y=null,emptyRowsMessage:b,id:w,className:N,dataNodeId:k}=e,[S,$]=(0,n.useState)(y),E=(0,n.useCallback)(e=>$(e),[]),L=w?"".concat(w,"-panel"):"resources-panel",Z=j.filter(e=>!!e.navLabel),M=null===S?null:null!=(a=Z[S])?a:null;return p?(0,s.jsxs)("section",{className:(0,t.$)("relative w-full bg-[#f9f7f2]",N),"data-component":"ResourcesSection","data-node-id":k,id:w,children:[(0,s.jsx)("div",{className:"absolute inset-x-0 top-0 h-px bg-[#e8e4d8]"}),(0,s.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-px bg-[#e8e4d8]"}),(0,s.jsxs)("div",{className:(0,t.$)("mx-auto w-full max-w-screen-2xl px-4 lg:px-12","flex flex-col gap-8 py-12 lg:min-h-[780px] lg:flex-row lg:gap-2"),children:[(0,s.jsxs)("div",{className:"flex w-full flex-col lg:flex-1 lg:pt-12",children:[(0,s.jsxs)("div",{className:"flex max-w-[500px] flex-col gap-4",children:[d?(0,s.jsx)("p",{className:(0,t.$)(x,"text-[#949c96]"),children:d}):null,(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsx)("h2",{className:"text-[30px] leading-[34px] text-[#233528]",style:o,children:p}),g?(0,s.jsx)("p",{className:u,children:g}):null]})]}),Z.length>0?(0,s.jsx)("ul",{className:"mt-8 flex flex-col gap-4 lg:mt-[97px]",children:Z.map((e,l)=>{var a;let t=l===S,n=null===S||t;return(0,s.jsx)("li",{children:(0,s.jsxs)("button",{"aria-controls":L,"aria-current":t?"true":void 0,className:"block h-6 text-left text-[18px] leading-[24px] text-[#233528] transition-opacity hover:opacity-70 focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-4 focus-visible:outline-[#233528]",onClick:()=>E(l),style:o,type:"button",children:[n?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(f,{}),"\xa0\xa0"]}):null,e.navLabel]})},null!=(a=e.navLabel)?a:l)})}):null,0===Z.length&&b?(0,s.jsx)("p",{className:(0,t.$)(u,"mt-8 opacity-50 lg:mt-[97px]"),children:b}):null]}),(0,s.jsx)("div",{"aria-label":p,"aria-live":"polite",className:"flex w-full shrink-0 flex-col lg:min-h-[684px] lg:w-[47.9911%]",id:L,role:"region",children:M?(0,s.jsxs)("div",{className:(0,t.$)(m,"flex flex-col items-end bg-[#f2efe6] p-6","lg:flex-1 lg:pb-12 lg:pl-12 lg:pr-5 lg:pt-5"),children:[(null==(l=M.panelImage)?void 0:l.url)?(0,s.jsx)(i.Image,{alt:null!=(r=M.panelImage.alt)?r:"",className:"h-[426px] w-[320px] max-w-none shrink-0 object-cover",height:426,src:M.panelImage.url,unoptimized:!0,width:320}):null,(0,s.jsxs)("div",{className:"mt-auto flex w-full flex-col gap-6 pt-8 lg:pt-0",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[M.panelEyebrow?(0,s.jsx)("p",{className:(0,t.$)(x,"text-[#233528]"),children:M.panelEyebrow}):null,(0,s.jsxs)("div",{className:"flex max-w-[450px] flex-col gap-6",children:[M.panelHeading?(0,s.jsx)("h3",{className:"text-[24px] leading-[28px] text-[#233528]",style:o,children:M.panelHeading}):null,M.panelBody?(0,s.jsx)("p",{className:u,children:M.panelBody}):null]})]}),M.ctaLabel?(0,s.jsx)(h,{href:M.ctaHref,label:M.ctaLabel}):null]})]},S):(0,s.jsx)("div",{className:(0,t.$)(m,"relative aspect-[645/684] w-full overflow-hidden bg-[#f2efe6]","lg:aspect-auto lg:flex-1"),children:(null==v?void 0:v.url)?(0,s.jsx)(i.Image,{alt:null!=(c=v.alt)?c:"",className:"object-cover",fill:!0,sizes:"(min-width: 1024px) 48vw, 100vw",src:v.url,unoptimized:!0}):null})})]})]}):null}function f(){return(0,s.jsx)("span",{"aria-hidden":!0,style:o,children:"^"})}function h(e){let{href:l,label:a}=e,n=(0,t.$)(d,"self-start");return l?(0,s.jsx)(r.Link,{className:n,href:l,children:a}):(0,s.jsx)("span",{className:n,children:a})}}}]);
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.