!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="470ca846-41a9-46ff-a66b-f45bf034e45d",e._sentryDebugIdIdentifier="sentry-dbid-470ca846-41a9-46ff-a66b-f45bf034e45d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3782,4997,4709,5164,2614,6173,2998,4889,3528,2678,8604,5346],{72121:function(e,t,r){Promise.resolve().then(r.bind(r,80763)),Promise.resolve().then(r.bind(r,38290)),Promise.resolve().then(r.bind(r,42481)),Promise.resolve().then(r.bind(r,21307)),Promise.resolve().then(r.bind(r,33214)),Promise.resolve().then(r.bind(r,65255)),Promise.resolve().then(r.bind(r,71969)),Promise.resolve().then(r.bind(r,59643)),Promise.resolve().then(r.bind(r,99646)),Promise.resolve().then(r.bind(r,84176)),Promise.resolve().then(r.bind(r,7890)),Promise.resolve().then(r.bind(r,75170)),Promise.resolve().then(r.bind(r,24997)),Promise.resolve().then(r.bind(r,20036)),Promise.resolve().then(r.bind(r,85385)),Promise.resolve().then(r.bind(r,44709)),Promise.resolve().then(r.bind(r,47009)),Promise.resolve().then(r.bind(r,35164)),Promise.resolve().then(r.bind(r,72614)),Promise.resolve().then(r.bind(r,96173)),Promise.resolve().then(r.bind(r,84949)),Promise.resolve().then(r.bind(r,82998)),Promise.resolve().then(r.bind(r,11556)),Promise.resolve().then(r.bind(r,20362)),Promise.resolve().then(r.bind(r,86871)),Promise.resolve().then(r.bind(r,64889)),Promise.resolve().then(r.bind(r,2722)),Promise.resolve().then(r.bind(r,83528)),Promise.resolve().then(r.bind(r,72678)),Promise.resolve().then(r.bind(r,58604)),Promise.resolve().then(r.bind(r,15346)),Promise.resolve().then(r.bind(r,81690)),Promise.resolve().then(r.bind(r,50386)),Promise.resolve().then(r.bind(r,61527)),Promise.resolve().then(r.t.bind(r,87706,23)),Promise.resolve().then(r.t.bind(r,34074,23)),Promise.resolve().then(r.bind(r,25048)),Promise.resolve().then(r.bind(r,46670)),Promise.resolve().then(r.bind(r,55225))},80763:function(e,t,r){"use strict";r.d(t,{ClientContextProvider:function(){return n}});var i=r(44581),s=r(71969);function n(e){return(0,i.jsx)(s.ClientContext.Provider,{value:e,children:e.children})}},42481:function(e,t,r){"use strict";r.d(t,{ProductSearchBoxContext:function(){return n},ProductSearchBoxProvider:function(){return l}});var i=r(44581),s=r(33726);let n=(0,s.createContext)(null);function l(e){let{children:t}=e,[r,l]=(0,s.useState)(!1),[o,a]=(0,s.useState)(!1);(0,s.useEffect)(()=>{document.addEventListener("keydown",e=>{"k"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),w())})},[]);let c=(0,s.useRef)(null),d=(0,s.useRef)(null),u=(0,s.useRef)(null);function w(){a(!0);let{current:e}=d;e&&(e.open||e.showModal())}return(0,i.jsx)(n.Provider,{value:{open:w,close:function(){let{current:e}=d;e&&e.open&&e.close()},focus:function(){var e;if(!(null==d?void 0:null===(e=d.current)||void 0===e?void 0:e.open))return;let{current:t}=c;if(!t)return;let r=t.querySelector("input");null==r||r.focus()},reset:function(){var e;if(!(null==d?void 0:null===(e=d.current)||void 0===e?void 0:e.open))return;let{current:t}=c;t&&t.reset()},modal:c,dialog:d,resetBtn:u,available:r,setAvailable:l,loaded:o},children:t})}},33214:function(e,t,r){"use strict";r.d(t,{useArticles:function(){return n}});var i=r(86437),s=r(33726);function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"blog",t=arguments.length>1?arguments[1]:void 0,[r,n]=(0,s.useState)([]);return t=(t=Array.isArray(t)?t:[t]).map(e=>(0,i.hH)(e)).join(","),(0,s.useEffect)(()=>{fetch("/api/articles?slug=".concat(e).concat(t.length?"&tags=".concat(t):"")).then(e=>e.json()).then(e=>{let{articles:t}=e;return n(null!=t?t:[])})},[e,t]),r}},65255:function(e,t,r){"use strict";r.d(t,{useBrandNames:function(){return s}});var i=r(33726);function s(){let[e,t]=(0,i.useState)([]);return(0,i.useEffect)(()=>{fetch("/api/products/brands").then(e=>e.json()).then(e=>{let{brands:r}=e;return t(r)})},[]),e}},4223:function(e,t,r){"use strict";r.d(t,{n:function(){return s}});var i=r(33726);let s=e=>{let[t,r]=(0,i.useState)("#030712"),[s,n]=(0,i.useState)("#91A398");return(0,i.useEffect)(()=>{var t;let i=window.getComputedStyle(document.documentElement);r(null!==(t=i.getPropertyValue("--cta-color").trim())&&void 0!==t?t:"#2563eb");let s=e?i.getPropertyValue(e).trim():void 0;e&&s&&n(s)},[]),{ctaColor:t,chatColor:s}}},59643:function(e,t,r){"use strict";r.d(t,{useProductSearch:function(){return n}});var i=r(86437),s=r(33726);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,[r,n]=(0,s.useState)({products:[],total:0,loading:!0});return e=(e=Array.isArray(e="function"==typeof e?e():e)?e.join("&"):e).startsWith("?")?e:"?".concat(e),(0,s.useEffect)(()=>{if((0,i.AS)(e))n(e=>({...e,loading:!0}));else{n(e=>({...e,loading:!1}));return}let r=new AbortController,s=r.signal;return fetch("/api/products/search".concat(e,"&numResults=").concat(t),{signal:s}).then(e=>e.json()).then(e=>{s.aborted||n({...e,loading:!1})}).catch(e=>{s.aborted||(console.error(e),n(e=>({...e,loading:!1})))}),()=>{r.abort()}},[e,t]),r}},99646:function(e,t,r){"use strict";r.d(t,{useProductSearchBox:function(){return n}});var i=r(33726),s=r(42481);let n=()=>(0,i.useContext)(s.ProductSearchBoxContext)},7890:function(e,t,r){"use strict";r.d(t,{useTypes:function(){return s}});var i=r(33726);function s(){let[e,t]=(0,i.useState)([]);return(0,i.useEffect)(()=>{fetch("/api/products/types").then(e=>e.json()).then(e=>{let{types:r}=e;return t(r)})},[]),e}},75170:function(e,t,r){"use strict";r.d(t,{AccordionItem:function(){return o}});var i=r(44581),s=r(33726),n=r(37574),l=r.n(n);let o=e=>{let{headerclass:t,panelclass:r,header:n,panel:o,icon:a}=e,[c,d]=(0,s.useState)(!1);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{role:"button",tabIndex:0,onClick:function(){d(()=>!c)},className:"".concat(t||""," tw-cursor-pointer"),children:[n,a&&(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:a}})]}),(0,i.jsx)("div",{className:l()("".concat(r||""),{"tw-block":c,"tw-hidden":!c}),children:o})]})}},24997:function(e,t,r){"use strict";r.r(t),r.d(t,{AccordionMenu:function(){return d},ArrowIcon:function(){return u},default:function(){return w}});var i=r(44581),s=r(33726),n=r(13981),l=r(37574),o=r.n(l),a=r(49861),c=e=>{let{filteredMenu:t,menuItems:r,menuNameIncludeLowercase:s,setFilteredMenu:n,ArrowIcon:l}=e;if(t){var c;return(0,i.jsx)("ul",{className:"!tw-list-none tw-block !tw-m-0",children:null===(c=t.children)||void 0===c?void 0:c.filter(e=>{let{hideInMenu:t}=e;return!t}).map((e,t)=>(0,i.jsx)("li",{className:"!tw-text-[var(--cta-color,#030712)] hover:!tw-text-[var(--hover-color,#111827)] !tw-font-bold",children:(0,i.jsx)(a.W,{depthLevel:0,menu:e})},t))})}return(0,i.jsx)("ul",{className:o()("tw-top-0 tw-left-0 tw-h-full tw-min-h-screen tw-w-full tw-z-[9999] !tw-m-0 !tw-pb-8 tw-overflow-y_auto tw-overscroll_contain tw-bg-white !tw-list-none tw-transition-transform"),children:r.filter(e=>{let{hideInMenu:t,isVisible:r}=e;return!t&&r}).map(e=>s(e,"products")?(0,i.jsx)("li",{className:"tw-m-0",children:(0,i.jsxs)("div",{"aria-hidden":"true",className:"tw-flex tw-items-center tw-justify-between tw-p-4 tw-cursor-pointer",onClick:()=>n(e),children:[e.name,(0,i.jsx)(l,{className:"tw-w-2 tw-rotate-90"})]})},e.name):null)})};function d(e){let t=(e,t)=>{var r,i;return null!==(i=null===(r=e.name)||void 0===r?void 0:r.toLowerCase().includes(t))&&void 0!==i&&i},r=["products","flooring","shop"],[l,o]=(0,s.useState)(e.menuItems.find(e=>r.some(r=>t(e,r)))||null);return(0,s.useEffect)(()=>{var e;l&&(null===(e=l.children)||void 0===e?void 0:e.length)||o(null)},[l]),(0,i.jsx)("nav",{id:"accordion-menu",className:e.className,children:e.isMobileDevice?(0,i.jsx)(c,{filteredMenu:l,menuItems:e.menuItems,menuNameIncludeLowercase:t,setFilteredMenu:o,ArrowIcon:u}):(0,i.jsx)("ul",{className:e.className,children:e.menuItems.map((t,r)=>t.hideInMenu?null:(0,i.jsx)(n.Z,{items:t,depthLevel:0,className:e.className},r))})})}function u(e){return(0,i.jsx)("svg",{viewBox:"0 0 320 512",...e,children:(0,i.jsx)("path",{fill:"currentColor",d:"M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"})})}r(74927);var w=d},20036:function(e,t,r){"use strict";r.r(t),r.d(t,{ActonSubmitButton:function(){return o}});var i=r(44581),s=r(71969),n=r(33726),l=r(20787);let o=e=>{let{formId:t,onclick:r,...o}=e,a=(0,s.useClientContext)().recaptcha,c=(0,n.useRef)(null),d=a.Enabled&&null!=a.SiteKey;return(0,i.jsxs)(i.Fragment,{children:[d&&(0,i.jsx)(l.Z,{ref:c,sitekey:a.SiteKey,className:"g-recaptcha",style:{maxWidth:"304px",margin:"10px auto"}}),(0,i.jsx)("input",{...o,onClick:()=>{if(d){var e;let t=null===(e=c.current)||void 0===e?void 0:e.getValue();if(null==t||""===t){alert('Please select "I\'m not a robot" to proceed');return}}switch(r){case"validateForm()":validateForm();break;case"doSubmitCamp(document.getElementById('".concat(t,"'))"):doSubmitCamp(document.getElementById(t));break;default:doSubmit(document.getElementById(t))}}})]})};t.default=o},85385:function(e,t,r){"use strict";r.r(t),r.d(t,{BroadlumeLogo:function(){return a}});var i=r(44581),s=r(62707),n=r(71969);let l={src:"https://res.cloudinary.com/force/image/upload/f_auto,q_auto,w_810,h_145/c_limit,w_810/v1/ff/powered-by-ff-light?_a=BAVAS1AO0"},o=[(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"flooring software"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"flooring software"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites",children:"flooring website company"})]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/seo",children:"flooring seo"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"flooring estimating software"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/digital-advertising",children:"flooring digital marketing"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/digital-advertising",children:"flooring marketing"})," ","company"]}),(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites",children:"Websites for flooring retailers"}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"flooring business software"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/lead-management",children:"flooring CRM"})," ","& website company"]}),(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"Software for flooring businesses"}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"flooring software company"})]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/seo",children:"flooring SEO company"})]}),(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites",children:"Websites for flooring dealers"}),(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"Flooring business management software company"}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"Floor covering software"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"flooring software program"})]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites",children:"flooring website design"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:["The",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"best flooring software"})]}),(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"Retail flooring software"}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"Flooring estimate software"})," ","& websites"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"flooring store software"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/lead-management",children:"flooring CRM software"})," ","& websites"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/flooring-visualizer",children:"flooring visualizer"})," ","& website company"]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software/inventory-management",children:"Flooring inventory management"})," ","& websites"]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software/integrated-accounting",children:"Flooring accounting"})," ","& websites"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/digital-advertising",children:"flooring advertising"})," ","& website company"]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/flooring-visualizer",children:["Flooring visualizer software"," "]}),"& websites"]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"Flooring management software"})," ","& websites"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"flooring retailer software"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software",children:"Software for flooring"})," ","stores"]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software/inventory-management",children:"Flooring inventory software"})," ","& websites"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/digital-advertising",children:"flooring digital advertising"})," ","company"]}),(0,i.jsxs)(i.Fragment,{children:["Websites &"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/lead-management",children:"lead management for flooring"})]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software/schedule-a-demo-flooring-product-pricing-software",children:"Flooring showroom pricing"})," ","& websites"]}),(0,i.jsxs)(i.Fragment,{children:["Flooring"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software/schedule-a-demo-flooring-product-pricing-software",children:"showroom pricing"})," ","& websites"]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/retail-selling-system/in-store-visualization",children:"In-store flooring visualizer"})," ","& website company"]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/flooring-software/job-costing",children:"Flooring job costing"})," ","& websites"]}),(0,i.jsxs)(i.Fragment,{children:["A"," ",(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/products/websites/digital-advertising",children:"flooring leads"})," ","& website company"]}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/digital-retailing",children:"Digital retailing"})," ","for flooring"]}),(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"https://www.broadlume.com/digital-retailing",children:"Digital retailing for flooring"}),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("a",{style:{fontSize:"inherit",color:"inherit"},href:"retail lead management",children:"Retail lead management"})," ","& websites"]})],a=e=>{var t,r,a,c,d;let u=(0,n.useClientContext)(),w=null!==(r=e.subtitle)&&void 0!==r?r:function(e){let t=new s.Z(e).nextInt(0,o.length-1);return o[t]}(null!==(t=u.clientId)&&void 0!==t?t:0);return(0,i.jsxs)("figure",{className:"tw-flex tw-flex-col tw-items-center",children:[(0,i.jsx)("a",{href:e.linkHref,title:e.title,target:"_blank",rel:"noreferrer",children:(0,i.jsx)("img",{src:null!==(a=e.imgSrc)&&void 0!==a?a:l.src,alt:null!==(c=e.alt)&&void 0!==c?c:e.title,title:null!==(d=e.title)&&void 0!==d?d:e.alt})}),(0,i.jsx)("figcaption",{className:"tw-text-[8px] tw-text-[#EEA820] tw-mt-1.5",children:w})]})};t.default=a},44709:function(e,t,r){"use strict";r.r(t);var i=r(44581),s=r(47696);t.default=e=>(0,i.jsx)(s.bz,{...e})},47009:function(e,t,r){"use strict";r.r(t),r.d(t,{DatePickerInput:function(){return l}});var i=r(44581),s=r(22114),n=r(33726);r(48789);let l=e=>{var t;let l=Object.keys(JSON.parse(null!==(t=null==e?void 0:e.dates)&&void 0!==t?t:"{}")),[o,a]=(0,n.useState)(null),c=(0,s.default)(()=>Promise.all([r.e(2126),r.e(751)]).then(r.t.bind(r,69903,23)),{loadableGenerated:{webpack:()=>[69903]}});return(0,i.jsx)(c,{dateFormat:e.isNFD?"MM/dd/yyyy":"yyyy-MM-dd",id:e.id,name:e.name,className:e.className,selected:o,onChange:e=>a(e),placeholderText:o?void 0:"Preferred Date",filterDate:e=>{let t=e.getDay().toString();return!l.includes(t)},minDate:null==e?void 0:e.minDate})};t.default=l},35164:function(e,t,r){"use strict";r.r(t),r.d(t,{FaderCarousel:function(){return n}});var i=r(44581),s=r(33726);let n=e=>{let{autoplayspeed:t}=e,r=(0,s.useRef)(null);return(0,s.useEffect)(()=>{var e,i,s;let n=0,l=null!==(i=null===(e=r.current)||void 0===e?void 0:e.children.length)&&void 0!==i?i:0;if(l<=1){(null===(s=r.current)||void 0===s?void 0:s.children[n]).style.opacity="1";return}setInterval(()=>{var e,t;n===l&&(n=0);let i=null===(e=r.current)||void 0===e?void 0:e.children[n],s=null===(t=r.current)||void 0===t?void 0:t.childNodes[n+1===l?0:n+1];i&&s&&(i.style.opacity="0",s.style.opacity="1",n++)},Number(t)||1e3)},[t]),(0,i.jsx)("div",{ref:r,className:"tw-relative tw-h-full ".concat(e.containerclass),children:e.children})};t.default=n},72614:function(e,t,r){"use strict";r.r(t),r.d(t,{FeaturedProducts:function(){return c},default:function(){return u}});var i=r(44581),s=r(59643),n=r(79257);function l(){return(0,i.jsx)("div",{className:"tw-overflow-hidden tw-rounded-md tw-border tw-border-solid tw-border-gray-300",children:(0,i.jsxs)("div",{className:"tw-justify-between tw-overflow-hidden tw-rounded tw-bg-white",children:[(0,i.jsx)("div",{className:"tw-mb-4 tw-flex tw-h-[290px] tw-items-center tw-justify-center tw-rounded tw-bg-gray-300",children:(0,i.jsx)("svg",{className:"tw-h-10 tw-w-10 tw-text-gray-200","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 20"})}),(0,i.jsx)("div",{className:"tw-flex tw-h-full tw-flex-col",children:(0,i.jsx)("div",{className:"tw-flex tw-flex-1 tw-flex-col",children:(0,i.jsxs)("div",{className:"tw-space-y-2 tw-p-4 tw-pb-6",children:[(0,i.jsxs)("div",{className:"tw-flex tw-flex-wrap tw-items-center tw-justify-between tw-gap-1 tw-text-sm tw-font-semibold tw-text-gray-700",children:[(0,i.jsx)("div",{className:"tw-h-2.5 tw-w-[40%] tw-rounded-full tw-bg-gray-200"}),(0,i.jsx)("div",{className:"tw-h-2.5 tw-w-[40%] tw-rounded-full tw-bg-gray-200"}),(0,i.jsxs)("div",{className:"tw-mt-5 tw-flex tw-h-auto tw-w-full tw-flex-col",children:[(0,i.jsx)("div",{className:"tw-mb-1 tw-h-2.5 tw-w-[35%] tw-rounded-full tw-bg-gray-200"}),(0,i.jsx)("div",{className:"tw-mt-1 tw-h-2.5 tw-w-[60%] tw-rounded-full tw-bg-gray-200"})]})]}),(0,i.jsx)("div",{className:"tw-flex tw-h-auto tw-w-full",children:(0,i.jsx)("div",{className:"tw-mt-3 tw-h-9 tw-w-28 tw-rounded-md tw-border tw-bg-gray-200 tw-px-3"})})]})})})]})})}var o=r(86437);let a=(0,r(22114).default)(()=>Promise.all([r.e(3296),r.e(3622),r.e(4949)]).then(r.bind(r,84949)),{loadableGenerated:{webpack:()=>[84949]}}),c=e=>{let{arrowposition:t,query:r,count:c=4,feature:u,upids:w,skus:m,type:h,brand:p,excludeUpid:f,className:x,gridclassname:v,itemclassname:g,sort:b,display:j="",arrows:y,autoPlay:N,autoplayspeed:_,centermode:S,containerclass:I,customtransition:k,dotlistclass:C,infinite:P,items:z,itemclass:F,partialvisible:L,partialvisibilitygutter:M,renderdotsoutside:A,responsive:B,showdots:D,slidestoslide:E,sliderclass:R,transitionduration:T,removeArrowOnDeviceType:U,children:V}=e,G=(0,s.useProductSearch)(()=>r||h||p?(u&&(r=d(r,"feature",u)),f&&(r=d(r,"excludeUpid",f)),w&&(r=d(r,"upids",w)),m&&(r=d(r,"skus",m)),h&&(r=d(r,"type",h)),p&&(r=d(r,"brand",p)),b&&(r+="&sort=".concat(b)),r):"",Number(c)||5),W=G.loading?Array(Number(c||4)).fill(""):(null==G?void 0:G.products)||[],O={arrows:y||"true",arrowposition:t,removeArrowOnDeviceType:U||"md",autoPlay:N||!1,infinite:P||"false",itemclass:F||"!tw-px-2",partialvisible:L||"true",responsive:(0,o.pM)(B)?B:JSON.stringify({md:{breakpoint:{max:767,min:0},items:1,partialVisibilityGutter:Number(M)||40,slidesToSlide:1},lg:{breakpoint:{max:1023,min:768},items:1,partialVisibilityGutter:Number(M)||40,slidesToSlide:1},xl:{breakpoint:{max:1279,min:1024},items:Number(z)||4,partialVisibilityGutter:Number(M)||40,slidesToSlide:Number(E)||2},"2xl":{breakpoint:{max:99999,min:1280},items:Number(z)||4,partialVisibilityGutter:Number(M)||40,slidesToSlide:Number(E)||3}})};return(0,i.jsx)("div",{className:"featured-products ".concat(x||""),children:"carousel"===j?(0,i.jsx)(i.Fragment,{children:G.loading?(0,i.jsx)("div",{className:"tw-max-w-full tw-overflow-hidden",children:(0,i.jsxs)("div",{className:"tw-animate-pulse tw-min-w-[1280px] tw-grid tw-gap-4 tw-grid-cols-4",children:[(0,i.jsx)(l,{}),(0,i.jsx)(l,{}),(0,i.jsx)(l,{}),(0,i.jsx)(l,{})]})}):(0,i.jsx)(a,{autoplayspeed:_,centermode:S,containerclass:I,customtransition:k,dotlistclass:C,renderdotsoutside:A,showdots:D,slidestoslide:E,sliderclass:R,transitionduration:T,children:V,...O,children:W.map((e,t)=>(0,i.jsx)("div",{"data-cy":"featured-product-item",className:"featured-products__item tw-h-full tw-border-solid tw-border tw-border-gray-300 tw-rounded-md tw-overflow-hidden ".concat(g||""),children:(0,i.jsx)(n.ProductCard,{product:e,loadShopifyScript:!0})},t))})}):(0,i.jsx)("div",{"data-cy":"featured-products-list",className:"featured-products__grid tw-grid sm:tw-grid-cols-2 lg:tw-grid-cols-4 tw-gap-4 ".concat(v||""),children:null==W?void 0:W.map((e,t)=>(0,i.jsx)("div",{"data-cy":"featured-product-item",className:"featured-products__item tw-border-solid tw-border tw-border-gray-300 tw-rounded-md tw-overflow-hidden ".concat(g||""),children:G.loading?(0,i.jsx)(l,{}):(0,i.jsx)(n.ProductCard,{product:e,loadShopifyScript:!0})},t))})})},d=(e,t,r)=>{if(null!=r){let i=Array.isArray(r)?null==r?void 0:r.join(","):r,s="".concat(t,"=").concat(i);e=e?"".concat(e,"&").concat(s):s}return e};var u=c},96173:function(e,t,r){"use strict";r.r(t),r.d(t,{FormNotes:function(){return n}});var i=r(44581),s=r(33726);let n=e=>{let[t,r]=(0,s.useState)("");return(0,s.useEffect)(()=>{var e;r(JSON.stringify(JSON.parse(null!==(e=localStorage.getItem("favourites"))&&void 0!==e?e:"[]").map(e=>{var t,r,i;return{productName:null!==(t=null==e?void 0:e.productName)&&void 0!==t?t:"",colorName:null!==(r=null==e?void 0:e.colorName)&&void 0!==r?r:"",brandName:null!==(i=null==e?void 0:e.brandName)&&void 0!==i?i:""}})))},[]),(0,i.jsx)("input",{...e,value:t})};t.default=n},84949:function(e,t,r){"use strict";r.r(t),r.d(t,{Gallery:function(){return a}});var i=r(44581),s=r(86437);r(34748);var n=r(37574),l=r.n(n);let o=(0,r(22114).default)(()=>r.e(5231).then(r.bind(r,95231)),{loadableGenerated:{webpack:()=>[95231]}});function a(e){let{arrows:t,arrowposition:r,autoPlay:n,autoplay:a,autoplayinterval:c,autoplayspeed:d,centermode:u,containerclass:w,customtransition:m,dotlistclass:h,infinite:p,numberperrow:f,items:x,itemclass:v,partialvisible:g,partialvisibilitygutter:b,removeArrowOnDeviceType:j,renderdotsoutside:y,responsive:N,bullets:_,showdots:S,numbertoscroll:I,slidestoslide:k,sliderclass:C,transitionduration:P,presentation:z,children:F}=e,L=l()({"tw-opacity-80 tw-absolute tw-bg-black tw-py-2":null==r||"inside"===r,"tw-opacity-100 tw-absolute tw-bg-black tw-py-2 tw--mx-6":"outside"===r,"":"inside"!==r&&"outside"!==r}),M=e=>{let{onClick:t,direction:s}=e;return(0,i.jsx)("button",{className:l()(L,"!tw-bg-white","!tw-rounded-full","!tw-w-[2.5rem]","!tw-h-[2.5rem]","tw-flex","tw-items-center","tw-justify-center",{"tw-left-[1.5rem]":"left"===s&&"outside"===r,"tw-left-[20px]":"left"===s&&"outside"!==r,"tw-right-[1.5rem]":"right"===s&&"outside"===r,"tw-right-[20px]":"right"===s&&"outside"!==r}),onClick:t,children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",className:"tw-w-6 tw-h-6 tw-text-black !tw-fill-black",children:(0,i.jsx)("path",{d:"left"===s?"M7.4 238.6c-4.7 4.5-7.4 10.8-7.4 17.4s2.7 12.8 7.4 17.4l176 168c9.6 9.2 24.8 8.8 33.9-.8s8.8-24.8-.8-33.9L83.9 280H424c13.3 0 24-10.7 24-24s-10.7-24-24-24H83.9l133.6-126.6c9.6-9.2 9.9-24.3.8-33.9s-24.3-9.9-33.9-.8l-176 168z":"M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z"})})})},A={arrows:!!(0,s.yB)(t),customLeftArrow:(0,i.jsx)(M,{direction:"left"}),customRightArrow:(0,i.jsx)(M,{direction:"right"}),autoPlay:!!((0,s.yB)(a)||!0===n||(0,s.yB)(c)),autoPlaySpeed:3e3,centerMode:!!(0,s.yB)(u),containerClass:w||"",customTransition:m||"transform 1000ms ease-in-out",dotListClass:h||"",infinite:!!(0,s.yB)(p)||void 0===p,itemClass:"".concat(Number(x)>1||Number(f)>1?"tw-px-4":""," ").concat(v||""),partialVisible:!!(0,s.yB)(g),renderDotsOutside:!!(0,s.yB)(y),removeArrowOnDeviceType:Array.isArray(j)?j:(null==j?void 0:j.split(","))||["mobile","tablet"],showDots:!!((0,s.yB)(S)||(0,s.yB)(_)),slidesToSlide:1,ssr:!1,sliderClass:"".concat("carousel"===z?"tw-items-center":""," ").concat(C||""),transitionDuration:Number(P)?Number(P):1e3,responsive:{md:{breakpoint:{max:767,min:0},items:1,partialVisibilityGutter:Number(b)||0},lg:{breakpoint:{max:1023,min:768},items:1,partialVisibilityGutter:Number(b)||0},xl:{breakpoint:{max:1279,min:1024},items:Number(f)||Number(x)||1,partialVisibilityGutter:Number(b)||0,slidesToSlide:Number(k)||1},"2xl":{breakpoint:{max:99999,min:1280},items:Number(f)||Number(x)||1,partialVisibilityGutter:Number(b)||0,slidesToSlide:Number(k)||1}},children:void 0};return Number(c)&&(A.autoPlaySpeed=1e3*Number(c)),Number(d)&&(A.autoPlaySpeed=Number(d)),Number(I)&&(A.slidesToSlide=Number(I)),Number(k)&&(A.slidesToSlide=Number(k)),(0,s.pM)(N)&&(A.responsive={...A.responsive,...JSON.parse(N||"")}),"outside"===r?(0,i.jsx)("div",{className:"tw-relative tw-overflow-hidden tw-px-[4rem]",children:(0,i.jsx)(o,{className:"!tw-position-unset tw-m-auto tw-mw-[1200px]",...A,children:F})}):(0,i.jsx)(o,{...A,children:F})}t.default=a},82998:function(e,t,r){"use strict";r.r(t),r.d(t,{GoogleMap:function(){return o}});var i=r(44581),s=r(71969),n=r(37574),l=r.n(n);let o=e=>{let t=(0,s.useClientContext)(),r=e.address?e.address:e.fulladdr;if(!r){var n,o;r=null!==(o=null===(n=t.tokens.find(e=>"address"===e.TokenName))||void 0===n?void 0:n.Replacement)&&void 0!==o?o:""}let a="https://www.google.com/maps?q=".concat(encodeURIComponent(r),"&output=embed");return(0,i.jsx)("div",{className:l()("".concat(e.className," ").concat(e.containerclassname||""," tw-h-full")),children:(0,i.jsx)("iframe",{src:a,title:r,className:"tw-h-auto tw-max-h-full tw-w-full tw-aspect-video tw-border-0",loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",frameBorder:"0",allowFullScreen:!0})})};t.default=o},11556:function(e,t,r){"use strict";r.r(t),r.d(t,{Masonrygallery:function(){return o}});var i=r(44581),s=r(33726),n=r(24151),l=r(44142);function o(e){let[t,r]=(0,s.useState)(!1),o=()=>{r(!0)},a={default:parseInt(e.itemsperrow),1200:parseInt(e.itemsperrow),980:parseInt(e.itemsperrow)-1,700:parseInt(e.itemsperrow)-2,500:1};return(0,i.jsxs)("div",{className:"tw-relative ",children:[!t&&(0,i.jsx)("div",{className:"loading_div",children:(0,i.jsx)("div",{className:"tw-border-none waiting_gif tw-bg-center tw-bg-no-repeat",style:{background:'url("/msgloading.gif")'}})}),(0,i.jsx)(n.Z,{breakpointCols:a,className:"".concat(e.id,"_masonry-gallery wookmark-initialised tw-flex"),columnClassName:"".concat(e.id,"_grid_item !tw-shadow-none"),children:e.elementsToRender.map((t,r)=>(0,i.jsxs)("div",{title:t.title,children:[(0,i.jsx)(l.default,{onLoad:o,src:t.src,alt:t.title,title:t.title,className:"!tw-w-[98%] !tw-relative",fill:!0}),("show_titles"===e.showtitles||"true"===e.showtitles)&&(0,i.jsx)("div",{className:"tw-mt-1 tw-ml-1",children:t.title})]},r))}),(0,i.jsx)("div",{className:"clear_div tw-clear-both tw-h-0 ",children:"\xa0"})]})}t.default=o},20362:function(e,t,r){"use strict";r.d(t,{MenuItemBase:function(){return n}});var i=r(44581),s=r(16477);let n=e=>{let{attribs:t,className:r,name:n}=e,{text:l,href:o}=t;if("phoneto"===t.type){let e=/^tel:\s*(?:\+?1\s*)?\(?(\d{3})\)?[-.\s]*(\d{3})[-.\s]*(\d{4})$/.test(t.href)?t.href:"tel:".concat(t.href);return(0,i.jsx)("nav",{role:"navigation",children:(0,i.jsx)("ul",{id:"ul_".concat(n),className:"accord ".concat(r),children:(0,i.jsx)("li",{id:"li_".concat(n),children:(0,i.jsxs)("a",{role:"menuitem",style:{display:"block"},className:"".concat(r,"_item"),onClick:t=>(t.preventDefault(),window.open(e,"_self"),!1),href:e,"aria-label":"Link to ".concat(l),"data-ctm-watch-id":"1","data-ctm-tracked":"1","data-observe":"1","data-observer-id":"0","data-ctm-remark":"1",children:[(0,i.jsx)("div",{className:"".concat(r,"_txt"),style:{float:"left"},children:l}),(0,i.jsx)("div",{style:{clear:"both"}})]})})})})}return"Schedule an estimate"===t.text?(0,i.jsx)("nav",{role:"navigation",children:(0,i.jsx)("ul",{id:"ul_".concat(n),className:"accord ".concat(r),children:(0,i.jsx)("li",{id:"li_".concat(n),children:(0,i.jsxs)("a",{role:"menuitem",style:{display:"block"},className:"".concat(r,"_item"),onClick:e=>(e.preventDefault(),window.open(o,"_self"),!1),href:o,"aria-label":"Link to ".concat(l),"data-ctm-watch-id":"1","data-ctm-tracked":"1","data-observe":"1","data-observer-id":"0","data-ctm-remark":"1",children:[(0,i.jsx)("div",{className:"".concat(r,"_txt"),style:{float:"left"},children:l}),(0,i.jsx)("div",{style:{clear:"both"}})]})})})}):(0,i.jsx)(s.ListItem,{href:o,text:l,className:r},o)}},64889:function(e,t,r){"use strict";r.r(t),r.d(t,{PrintCouponButton:function(){return n}});var i=r(44581);function s(){window.print()}r(49181);let n=e=>(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("button",{className:"printCoupon",onClick:s,children:"Print Coupon"})});t.default=n},2722:function(e,t,r){"use strict";r.d(t,{ProductDetails:function(){return T}});var i=r(44581),s=r(71969),n=r(33726),l=r(773);let o=e=>{let{productInfo:t}=e,r=(0,s.useClientContext)();return(0,i.jsx)(l.BetterButton,{label:"Add to Cart",labelClassName:"tw-text-sm",btnStyle:"primary",attributes:{id:"adhawk-shopify-camilyo-marketplace-add-to-cart","data-product-handle":t.UPID,"data-universal-retailer-id":r.universalRetailerId}})};var a=e=>{let{files:t}=e,[r,s]=(0,n.useState)(!1);return(0,i.jsxs)("div",{className:"tw-relative tw-max-w-max tw-mt-3",children:[(0,i.jsx)(l.BetterButton,{className:"tw-p-2 tw-font-semibold",btnStyle:"simple",icon:'\n          <svg class="'.concat(r?"tw-rotate-90":"",'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512"><path d="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"/></svg>  \n        '),iconSize:"2",iconClassName:"tw-order-1",label:"Downloadable Resources",labelClassName:"tw-text-sm",attributes:{onClick:()=>s(!r),"aria-expanded":r}}),r&&(0,i.jsx)("div",{className:"tw-absolute tw-top-full tw-right-2 tw-w-44 tw-mt-px tw-p-2 tw-bg-white tw-shadow-lg",children:t.map((e,t)=>{let{label:r,file:s}=e;return(0,i.jsxs)("a",{href:s.startsWith("http://")||s.startsWith("https://")?s:"".concat("https://images.floorforce.com/Textures/").concat(s),target:"_blank",rel:"noopener noreferrer",className:"tw-flex tw-gap-2 tw-items-center tw-p-2 tw-text-sm tw-text-gray-800 hover:tw-bg-gray-100 focus:tw-outline-none focus:tw-bg-gray-100 tw-font-sans",children:[(0,i.jsx)("svg",{className:"tw-w-4 tw-fill-gray-950",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,i.jsx)("path",{d:"M64 464l48 0 0 48-48 0c-35.3 0-64-28.7-64-64L0 64C0 28.7 28.7 0 64 0L229.5 0c17 0 33.3 6.7 45.3 18.7l90.5 90.5c12 12 18.7 28.3 18.7 45.3L384 304l-48 0 0-144-80 0c-17.7 0-32-14.3-32-32l0-80L64 48c-8.8 0-16 7.2-16 16l0 384c0 8.8 7.2 16 16 16zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z"})}),r]},t)})})]})},c=r(72614),d=r(17866),u=r(65460);r(79694);var w=r(44142);let m=e=>{let{id:t,title:r,children:s,className:n,description:l}=e;return(0,i.jsxs)("div",{id:t,className:n,children:[(0,i.jsx)("h2",{className:"!tw-text-2xl !tw-m-0",children:r}),l&&(0,i.jsx)("p",{className:"!tw-text-base !tw-mt-2",children:l}),s]})},h=e=>{let{specs:t,productInfo:r}=e,s=p(t,"Durability"),n=p(t,"EnvironmentallyFriendlyCertification"),l=p(t,"WaterProtection"),o=p(t,"PetFriendly"),a=p(t,"LimitedWarrantyResidential"),c=p(t,"LimitedWarrantyCommercial"),d=r.countryOfOrigin,u=r.productType,h=p(t,"LuxuryVinylWearLayer"),f=p(t,"SpecialCareRequirements"),x=p(t,"FadeResistanceUVCoating"),v=p(t,"MoldingType"),g=p(t,"RadiantHeatApproved"),b=[{value:"FloorScore",iconSrc:"https://res.cloudinary.com/force/image/upload/w_auto,h_60,f_auto,q_auto/catalog/FSU-icon-library-white-bg/floorscore.png",iconAlt:"FloorScore",certificationText:"Indoor Air Quality Certification"},{value:"GreenGuard Gold",iconSrc:"https://res.cloudinary.com/force/image/upload/w_auto,h_60,f_auto,q_auto/catalog/FSU-icon-library-white-bg/GreenGuard-Gold.png",iconAlt:"GreenGuard Gold",certificationText:"Certified for low chemical emissions"},{value:"LEED",iconSrc:"https://res.cloudinary.com/force/image/upload/w_auto,h_60,f_auto,q_auto/catalog/FSU-icon-library-white-bg/leed.png",iconAlt:"LEED",certificationText:"Energy efficiency Certification"},{value:"GreenGuard",iconSrc:"https://res.cloudinary.com/force/image/upload/w_auto,h_60,f_auto,q_auto/catalog/FSU-icon-library-white-bg/GreenGuard.png",iconAlt:"GreenGuard",certificationText:"Certified for low chemical emissions"}],j="Luxury Vinyl"===u||"Hardwood"===u;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:"tw-flex tw-flex-wrap tw-gap-4 tw-mt-5",children:[s&&j&&(0,i.jsxs)("div",{children:[(()=>{let e=[],t=parseInt(s||"0",10);for(let r=1;r<=5;r++)t===r&&e.push((0,i.jsx)("div",{className:"icon_attribute icon_scores ff_background_center tw-flex",id:"icon_durability_rating_".concat(r)},"icon_durability_rating_".concat(r)));return e})(),(0,i.jsxs)("p",{children:["Durability Rating: ",s," out of 5"]})]}),"Water Resistant"===l&&j&&(0,i.jsxs)("div",{className:"tw-max-w-[150px]",children:[(0,i.jsx)("div",{id:"icon_luxury_vinyl_water_protection_water_resistant",className:"icon_attribute tw-flex"}),(0,i.jsx)("p",{children:l})]}),l&&"Luxury Vinyl"===u&&(0,i.jsxs)("div",{className:"tw-max-w-[150px]",children:[(0,i.jsx)("div",{id:"icon_luxury_vinyl_water_protection_standard",className:"icon_attribute tw-flex"}),(0,i.jsx)("p",{children:l})]}),o&&j&&(0,i.jsxs)("div",{className:"tw-max-w-[150px]",children:[(0,i.jsx)("div",{className:"icon_attribute tw-flex",id:"icon_petfriendly"}),(0,i.jsx)("p",{children:"Pet Friendly"})]}),a&&j&&(0,i.jsxs)("div",{className:"tw-max-w-[150px]",children:[(0,i.jsx)("div",{className:"icon_attribute tw-flex",id:"icon_warranty_residential"}),(0,i.jsxs)("p",{children:["Residential Warranty: ",a]})]}),c&&j&&(0,i.jsxs)("div",{className:"tw-max-w-[150px]",children:[(0,i.jsx)("div",{className:"icon_attribute tw-flex",id:"icon_warranty_commercial"}),(0,i.jsxs)("p",{children:["Commercial Warranty: ",c]})]}),d&&j&&(0,i.jsxs)("div",{className:"tw-max-w-[150px]",children:[(0,i.jsx)("div",{className:"icon_attribute tw-flex",id:"icon_made_in_usa"}),(0,i.jsxs)("p",{children:["Made in ",d]})]}),n&&j&&(0,i.jsx)("div",{className:"tw-max-w-[150px]",children:(()=>{let e=b.find(e=>e.value===n);if(e){let{iconSrc:t,iconAlt:r,certificationText:s}=e;return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"attribute_icons icon_attribute",children:(0,i.jsx)(w.default,{alt:r,src:t,className:"mr-2",fill:!0})}),(0,i.jsx)("p",{children:s})]})}return null})()}),h&&j&&(0,i.jsxs)("div",{className:"tw-max-w-[150px]",children:[(0,i.jsx)("div",{id:"icon_wear_layer_".concat(h.replace(" mil","")),className:"icon_attribute tw-flex"}),(0,i.jsxs)("p",{children:["Wear Layer: ",h]})]}),f&&j&&(0,i.jsxs)("div",{className:"tw-max-w-[150px]",children:["Caster wheels"===f&&(0,i.jsx)("div",{className:"icon_attribute tw-flex",id:"icon_care_requirement_caster_wheels"}),"Vacuum"===f&&j&&(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"icon_attribute tw-flex",id:"icon_care_requirement_vacuum"}),(0,i.jsxs)("p",{children:["Care: ",f]})]})]}),x&&"Luxury Vinyl"===u&&(0,i.jsxs)("div",{className:"tw-max-w-[150px]",children:[(0,i.jsx)("div",{className:"icon_attribute tw-flex",id:"icon_luxury_vinyl_fade_resistance_uv_coating"}),(0,i.jsx)("p",{children:"Fade Resistance (UV Coating)"})]}),g&&j&&(0,i.jsxs)("div",{className:"tw-max-w-[150px]",children:[(0,i.jsx)("div",{className:"icon_attribute tw-flex",id:"icon_luxury_vinyl_radiant_heat_approved"}),(0,i.jsx)("p",{children:"Radiant Heat Approved"})]})]}),v&&j&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"tw-mt-[3rem] tw-mb-[1rem] !tw-max-w-screen-xl",children:(0,i.jsx)("div",{className:"!tw-max-w-screen-xl tw-space-y-16",children:(0,i.jsx)(m,{id:"pxm-moldings",title:"Moldings",className:"tw-text-left"})})}),(0,i.jsxs)("div",{id:"icon_moldings_available_matching",className:"icons_checkboxes_value",children:[(0,i.jsxs)("div",{id:"icon_moldings_available_t_wrapper",className:"ff_inline_component",children:[(0,i.jsx)("div",{id:"icon_moldings_available_t",className:"icon_attribute ff_background_center"}),(0,i.jsx)("p",{children:"T Molding"}),(0,i.jsx)("p",{style:{display:"none"},children:"[[shop:product:attribute:luxury_vinyl_molding_options]]"})]}),(0,i.jsxs)("div",{id:"icon_moldings_available_reducer_wrapper",className:"ff_inline_component",children:[(0,i.jsx)("div",{id:"icon_moldings_available_reducer",className:"icon_attribute ff_background_center"}),(0,i.jsx)("p",{children:"Reducer"})]}),(0,i.jsxs)("div",{id:"icon_moldings_available_flush_stairnosing_wrapper",className:"ff_inline_component",children:[(0,i.jsx)("div",{id:"icon_moldings_available_flush_stairnosing",className:"icon_attribute ff_background_center"}),(0,i.jsx)("p",{children:"Flush Stairnosing"})]}),(0,i.jsxs)("div",{id:"icon_moldings_available_end_cap_wrapper",className:"ff_inline_component",children:[(0,i.jsx)("div",{id:"icon_moldings_available_end_cap",className:"icon_attribute ff_background_center"}),(0,i.jsx)("p",{children:"End Cap"})]})]})]})]})},p=(e,t)=>{let r=e.find(e=>e.key===t);return null==r?void 0:r.value};var f=r(37574),x=r.n(f),v=r(79005),g=r(54490),b=r(77566);let j=e=>{let t=(0,n.useRef)(null),r=(0,n.useRef)(null),s=(0,v.B)(),[l,o]=(0,n.useState)(!1),[a,c]=(0,n.useState)(""),d=(0,n.useMemo)(()=>{var t,r;return null==s?void 0:s.find({UPID:null!==(r=null==e?void 0:null===(t=e.productInfo)||void 0===t?void 0:t.UPID)&&void 0!==r?r:""})},[null==s?void 0:s.favouriteProducts,null==e?void 0:e.productInfo]),u=e.src.includes("res.cloudinary.com")?e.src.replace("https://images.floorforce.com/Textures/",""):e.src;return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{ref:t,onMouseMove:e=>{if(null==r.current||null==t.current)return;let i=r.current.naturalHeight/r.current.naturalWidth,s=t.current.getBoundingClientRect(),n=e.clientX-s.left,l=e.clientY-s.top,o="".concat(n/(t.current.clientWidth/100),"%"),a="".concat(l/(t.current.clientWidth*i/100),"%");Object.assign(t.current.style,{backgroundPosition:"".concat(o," ").concat(a),backgroundSize:"".concat(r.current.naturalWidth,"px")})},onMouseLeave:()=>{null!=t.current&&Object.assign(t.current.style,{backgroundPosition:"center",backgroundSize:"cover"})},style:{backgroundImage:"url(".concat(u,")"),height:"400px",width:"100%",backgroundSize:"cover",backgroundPosition:"center"},title:"".concat(e.productInfo.productName," by ").concat(e.productInfo.brandName," - ").concat(e.productInfo.colorName)}),(0,i.jsx)(g.$,{btnClass:"!tw-absolute !tw-top-[2.5%] !tw-right-[2.5%]",isFavourite:d,onClick:()=>{(null==s?void 0:s.addRemoveProductsFromFav)&&(s.addRemoveProductsFromFav(e.productInfo),d||(c("Product added to favorites"),o(!0)))}}),(0,i.jsx)("img",{src:u,ref:r,alt:"".concat(e.productInfo.productName," by ").concat(e.productInfo.brandName," - ").concat(e.productInfo.colorName),height:448,width:400,style:{backgroundImage:"url(".concat(u,")"),height:"448px",width:"100%",display:"none"}}),(0,i.jsx)(b.Z,{open:l,message:a,onClose:()=>o(!1),severity:"success"})]})},y=e=>{var t,r,s;let l=null!==(r=e.productInfo.swatches.find(t=>t.colorName===e.productInfo.colorName))&&void 0!==r?r:e.productInfo.swatches[0],o=[null==l?void 0:l.imageURL,...null!==(s=null===(t=e.productInfo)||void 0===t?void 0:t.roomscenes)&&void 0!==s?s:[]],[a,c]=(0,n.useState)(null==l?void 0:l.imageURL),[d,u]=(0,n.useState)(a);return(0,i.jsx)("div",{children:(0,i.jsxs)("div",{className:"tw-relative",children:[(0,i.jsx)(j,{src:a,productInfo:e.productInfo}),(0,i.jsx)("ul",{className:"tw-flex tw-flex-wrap tw-gap-0.5 !tw-m-0 !tw-mt-2 tw-p-0 !tw-list-none",children:(null==o?void 0:o.length)>1&&(null==o?void 0:o.map(e=>(0,i.jsx)("li",{className:"tw-relative",children:(0,i.jsx)(w.default,{onMouseLeave:()=>c(d),onMouseEnter:()=>c(e),onClick:()=>{u(e),c(e)},style:{height:"48px",width:"48px"},className:x()("tw-p-0.5 tw-shrink-0 tw-border-solid tw-border-2 tw-border-transparent tw-rounded-md tw-gap-x-3 tw-cursor-pointer",{"!tw-border-[var(--cta-color,#030712)]":e===a}),src:e.includes("res.cloudinary.com")?e.replace("https://images.floorforce.com/Textures/",""):e,alt:null==l?void 0:l.colorName,height:48,width:48})},e)))})]})})},N=e=>(0,i.jsx)(i.Fragment,{children:e.unitPrice||e.pricePerBox?(0,i.jsxs)("div",{className:"!tw-mt-8 tw-flex tw-items-center tw-gap-4",children:[(0,i.jsx)("div",{className:"tw-flex tw-items-center tw-gap-1.5",children:e.unitPrice&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"tw-text-3xl tw-font-bold tw-leading-none tw-text-gray-800",children:"$"+e.unitPrice.toFixed(2)}),"/",(0,i.jsx)("div",{className:"tw-relative tw-text-xs tw-text-gray-800 tw-font-bold tw-leading-none",children:e.priceDescription})]})}),e.pricePerBox&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"tw-h-8 tw-w-px tw-bg-gray-300"}),(0,i.jsxs)("div",{className:"tw-flex tw-items-center tw-gap-1.5",children:[(0,i.jsx)("div",{className:"tw-text-3xl tw-font-bold tw-leading-none tw-text-gray-800",children:"$"+e.pricePerBox.toFixed(2)}),"/",(0,i.jsx)("div",{className:"tw-relative tw-text-xs tw-text-gray-800 tw-font-bold tw-leading-none",children:"Case"})]})]}),!e.unitPrice&&e.pricingMessage&&(0,i.jsx)("div",{className:"!tw-mt-6",children:(0,i.jsx)("div",{className:"tw-text-xl tw-leading-none",children:e.pricingMessage})})]}):(0,i.jsx)("div",{className:"!tw-mt-6 tw-text-xl tw-leading-none tw-font-semibold",children:"Call for Price"})});var _=r(87143),S=r(76715),I=r(86437);let k=e=>{let{specs:t}=e;return t=t.filter(e=>{let{value:t}=e;return t}),(0,i.jsx)("div",{"data-cy":"spec-table",className:"tw-mt-6 tw-w-full tw-border-collapse! tw-border-spacing-0!",children:t.filter(e=>{let{value:t}=e;return t&&"false"!==t&&"No"!==t}).map((e,r)=>{let s=e.value;"Brand"===e.key?s=(0,_.S)(e.value):"Product Line"===e.key&&(s=(0,S._)(e.value));let l={["data-".concat((0,I.hH)(e.key))]:s};return(0,n.createElement)("div",{...l,key:"".concat(e.key,"-").concat(s),className:x()("tw-h-12 tw-flex tw-border-solid tw-border-0 tw-border-b tw-border-gray-300",{"tw-border-transparent":t.length-1===r}),children:[(0,i.jsx)("div",{className:"tw-max-w-full tw-w-80 tw-px-2 tw-flex tw-items-center tw-text-gray-500 tw-text-sm md:tw-text-base",children:e.key}),(0,i.jsx)("div",{className:"tw-bg-white tw-w-full tw-pl-4 tw-flex tw-items-center tw-font-semibold tw-text-sm md:tw-text-base tw-border-solid tw-border-0 tw-border-l tw-border-gray-300",children:"true"===s?"Yes":s})]})})})},C=e=>{let{id:t,title:r,children:s,className:n,description:l}=e;return(0,i.jsxs)("div",{id:t,className:n,children:[(0,i.jsx)("h2",{className:"!tw-text-2xl !tw-m-0 !tw-text-left ".concat(l?"":"!tw-mb-4"),children:r}),l&&(0,i.jsx)("p",{className:"!tw-text-base !tw-mt-1 !tw-mb-4",children:l}),(0,i.jsx)("div",{children:s})]})};var P=r(79257);let z=e=>{let{tip:t,children:r,show:s,position:o="top-center",showX:a=!1}=e,[c,d]=(0,n.useState)(s);return(0,n.useEffect)(()=>{d(s)},[s,d]),(0,i.jsxs)("div",{role:"tooltip",className:x()("tooltip tw-absolute tw-max-w-48 tw-w-max tw-py-0.5 tw-px-1.5 tw-text-xs tw-text-white tw-font-semibold tw-bg-gray-800 tw-rounded-md",{"tw-opacity-100 tw-visible":c,"tw-opacity-0 tw-hidden":!c,"tw-bottom-[calc(100%+4px)] tw-left-0 md:tw-left-1/2 md:-tw-translate-x-1/2":"top-center"===o,"tw-bottom-[calc(100%+4px)] tw-left-0":"top-left"===o,"tw-bottom-[calc(100%+4px)] tw-right-0":"top-right"===o}),children:[(0,i.jsxs)("div",{className:"tw-flex tw-gap-1.5",children:[(0,i.jsx)("div",{className:"tooltip__tip",children:t||r}),a&&(0,i.jsx)(l.BetterButton,{icon:'<svg class="tw-fill-white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M345 137c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-119 119L73 103c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l119 119L39 375c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l119-119L311 409c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-119-119L345 137z"/></svg>',iconSize:"2",btnStyle:"simple",className:"tooltip__close",attributes:{type:"button",onClick:()=>d(!1)}})]}),(0,i.jsx)("div",{className:x()({"tw-w-3 tw-h-3 tw-absolute tw-bottom-[-6px] tw-left-1 md:tw-left-1/2 md:-tw-translate-x-1/2":"top-center"===o,"tw-w-3 tw-h-3 tw-absolute tw-bottom-[-6px] tw-left-1":"top-left"===o,"tw-w-3 tw-h-3 tw-absolute tw-bottom-[-6px] tw-right-1":"top-right"===o}),children:(0,i.jsx)("svg",{className:"tw-fill-gray-800 tw-w-full",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:(0,i.jsx)("path",{d:"M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"})})})]})};var F=r(1033),L=r.n(F);let M=e=>{let{swatches:t,activeSwatch:r,showColorLabel:s=!0,swatchSize:l=48}=e,o=L()(t,e=>e.colorName),[a,c]=(0,n.useState)(null);return(0,i.jsxs)("div",{children:[s&&(0,i.jsxs)("div",{"data-cy":"product-color",className:"tw-mb-1 tw-font-semibold tw-text-sm tw-text-gray-500",children:["Color:"," ",(0,i.jsx)("span",{className:"tw-font-normal tw-text-black",children:r})]}),(0,i.jsx)("ul",{"data-cy":"swatch-list",className:"tw-flex tw-flex-wrap tw-gap-0.5 !tw-m-0 !tw-mt-2 tw-p-0 !tw-list-none",children:o.map((e,t)=>(0,i.jsxs)("li",{onMouseLeave:()=>c(null),onMouseEnter:()=>c(t),title:e.colorName,className:"tw-relative",children:[(0,i.jsx)(z,{tip:e.colorName,show:t===a}),(0,i.jsx)(P.o,{product:{slug:e.slug,sku:e.sku},className:"tw-block tw-leading-none",children:(0,i.jsx)(w.default,{style:{height:l+"px",width:l+"px"},className:x()("tw-p-0.5 tw-shrink-0 tw-border-solid tw-border-2 tw-border-transparent tw-rounded-md",{"!tw-border-[var(--cta-color,#030712)]":e.colorName===r}),src:e.imageURL.includes("res.cloudinary.com")?e.imageURL.replace("https://images.floorforce.com/Textures/",""):e.imageURL,alt:e.colorName,height:l,width:l})})]},e.colorName))})]})};var A=r(6365);r(6291);var B=r(4223);let D=e=>{let[t,r]=(0,n.useState)(!1),[s,o]=(0,n.useState)(!1),[a,c]=(0,n.useState)(!1),[u,m]=(0,n.useState)(null),[h,p]=(0,n.useState)(e.productInfo),f=(0,n.useRef)(null),{ctaColor:v}=(0,B.n)();(0,n.useEffect)(()=>{let e=e=>{"Escape"===e.key&&r(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[]),(0,n.useEffect)(()=>{e.isMobileDevice&&o(!0)},[e.isMobileDevice]);let g=()=>{var e;r(!t),(null===(e=window)||void 0===e?void 0:e.vizLoader)&&window.vizLoader.sendEvent("forceResize")},b=t=>{p({...e.productInfo,colorName:t.colorName,UPID:t.UPID})},j=e=>{var t;(null===(t=window)||void 0===t?void 0:t.vizLoader)&&(window.vizLoader.sendEvent("setProduct",e.UPID),b(e),h.UPID!==e.UPID&&(c(!0),setTimeout(()=>{c(!1)},500)))},y=x()({"tw-fixed tw-inset-0 tw-z-[999999999999] tw-p-4 tw-pt-6 md:tw-p-8 tw-bg-black/80":t}),N=x()("tw-flex tw-aspect-square md:tw-aspect-video",{"md:tw-max-h-[calc(100vh-7rem)] md:tw-mx-auto tw-overflow-hidden":t}),_=L()(e.productInfo.swatches,"colorName"),S=_.filter(e=>{let{hasSample:t}=e;return t});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(A.default,{src:"https://viz.broadlu.me/dist/visualiserLoader_v2.7.js",strategy:"lazyOnload",onReady:()=>{try{window.vizLoader=new window.visualiserLoader("visID",e.DealerAPIKey,{},{limitroom:!0,product:e.upid,mode:"full",type:"sku",accent:v,logo:"",showwelcome:0,startmenu:0},!1)}catch(e){console.error(e)}}}),(0,i.jsx)("div",{ref:f,onClick:e=>{if(t&&e.target===f.current){var i;r(!1),(null===(i=window)||void 0===i?void 0:i.vizLoader)&&window.vizLoader.sendEvent("forceResize")}},className:y,role:"presentation",children:(0,i.jsxs)("div",{className:"tw-relative tw-bg-white tw-rounded-md tw-border-solid tw-border tw-border-[#EFEFEF]",onMouseEnter:()=>!e.isMobileDevice&&o(!0),onMouseLeave:()=>!e.isMobileDevice&&o(!1),children:[(0,i.jsx)("div",{id:"visID",className:N}),(0,i.jsxs)("div",{className:"tw-w-full tw-mx-auto tw-px-1 md:tw-px-4 tw-py-1 tw-bg-[#EFEFEF] tw-border-solid tw-border-0 tw-border-t tw-border-gray-300 tw-rounded-b-md",children:[(0,i.jsxs)("div",{className:"tw-flex tw-items-start tw-justify-between tw-gap-12",children:[(0,i.jsx)("ul",{className:"tw-flex tw-flex-wrap tw-justify-start tw-gap-0.5 !tw-m-0 tw-p-0 !tw-list-none",children:_.filter(e=>{let{hasVisualization:t}=e;return t}).map((e,t)=>(0,i.jsxs)("li",{onClick:()=>j(e),onMouseLeave:()=>m(null),onMouseEnter:()=>m(t),role:"button",title:e.colorName,className:"tw-cursor-pointer tw-relative tw-h-9 tw-w-9 tw-leading-none",children:[(0,i.jsx)(z,{tip:e.colorName,show:t===u,position:"top-center"}),(0,i.jsx)(w.default,{className:x()("tw-p-0.5 tw-shrink-0 tw-border-solid tw-border-2 tw-border-transparent tw-rounded-md",{"!tw-border-[var(--cta-color,#030712)]":e.colorName===h.colorName}),src:e.imageURL.includes("res.cloudinary.com")?e.imageURL.replace("https://images.floorforce.com/Textures/",""):e.imageURL,alt:e.colorName,height:36,width:36})]},e.colorName))}),!e.isMobileDevice&&(0,i.jsx)(l.BetterButton,{btnStyle:t?"neutral":"simple",icon:t?"":'<svg\n                class="tw-w-4"\n                xmlns="http://www.w3.org/2000/svg"\n                viewBox="0 0 448 512"\n              >\n                <path\n                  class="tw-fill-gray-600"\n                  d="M32 32C14.3 32 0 46.3 0 64v96c0 17.7 14.3 32 32 32s32-14.3 32-32V96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zM64 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V352zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32h64v64c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H320zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32V352z"\n                />\n              </svg>',iconSize:"4",label:t?"ESC":"",className:"tw-h-8 tw-font-semibold",replaceClass:{"!tw-px-6":"!tw-px-3","!tw-text-sm":t?"!tw-text-[11px]":"!tw-text-sm"},labelClassName:t?"!tw-text-[11px] tw-leading-none":"!tw-text-sm",attributes:{type:"button",onClick:()=>g()}})]}),S.length>0&&(0,i.jsx)("div",{className:x()({"tw-hidden":!s,"tw-block":s},"web-visualizer__samples md:tw-absolute md:tw-top-4 md:tw-left-4 md:tw-bg-white/80 md:tw-rounded-md"),children:(0,i.jsx)("div",{className:"tw-p-1 tw-pb-1 md:tw-p-4",children:S.map(t=>(0,i.jsx)(d.L,{loadScript:!1,scriptStrategy:"lazyOnload",samplePrice:e.productInfo.samplePrice,productInfo:t,visible:h.UPID===t.UPID,isLoading:a},t.UPID))})})]})]})})]})},E=e=>{var t,r,s,n;return(0,i.jsx)("div",{children:e.productInfo.sizes&&e.productInfo.sizes.filter(e=>e.Name).length>0&&(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:"tw-font-semibold tw-text-sm tw-text-gray-500",children:["Available Size",(null===(t=e.productInfo.sizes)||void 0===t?void 0:t.length)>1?"s":"",":",(null===(r=e.productInfo.sizes)||void 0===r?void 0:r.length)===1&&(0,i.jsxs)("span",{className:"tw-font-normal tw-text-black",children:[" ",e.productInfo.sizes[0].Name]})]}),(null===(s=e.productInfo.sizes)||void 0===s?void 0:s.length)>1&&(0,i.jsxs)("div",{className:"tw-relative tw-mt-2",children:[(0,i.jsx)("select",{className:"tw-h-12 tw-w-full tw-border tw-border-gray-300 tw-rounded !tw-bg-white tw-p-3 tw-text-sm tw-leading-5 tw-appearance-none",onChange:t=>{let{target:r}=t;return e.setSpecs(e=>{let t=[...e],i=t.findIndex(e=>"Dimensions"===e.key);return -1!==i?t[i]={key:"Dimensions",value:r.value}:t.push({key:"Dimensions",value:r.value}),t})},children:null===(n=e.productInfo.sizes)||void 0===n?void 0:n.map(e=>(0,i.jsx)("option",{children:e.Name},e.SizeId))}),(0,i.jsx)("svg",{className:"tw-w-3 tw-absolute tw-right-3 tw-top-1/2 -tw-translate-y-1/2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,i.jsx)("path",{className:"tw-fill-gray-500",d:"M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"})})]})]})})};var R=r(1086);let T=e=>{var t,r,w,m,p,f,x,v,g;let[b,j]=(0,n.useState)(e.productInfo.specs),I=e.productInfo.productType.toLowerCase(),P=null!==(x=null===(t=(0,s.useClientContext)().tokens.find(e=>"ff-viz-api-token"===e.TokenName))||void 0===t?void 0:t.Replacement)&&void 0!==x?x:"",z=(null===(r=e.productInfo.specs.find(e=>"ColorTones"===e.key))||void 0===r?void 0:r.value)||null,F=(null===(w=e.productInfo.specs.find(e=>"ColorRange"===e.key))||void 0===w?void 0:w.value)||null,L="type=".concat(e.productInfo.productType);z&&(L+="&color-tones=".concat(encodeURIComponent(z))),F&&(L+="&color-range=".concat(encodeURIComponent(F)));let A=null!==(v=null==e?void 0:null===(m=e.productInfo)||void 0===m?void 0:m.tags)&&void 0!==v?v:[];return A=A.filter(e=>"Order_Sample"!==e),(0,i.jsxs)("div",{className:"pdp",children:[(0,i.jsx)("section",{className:"pdp__top-section tw-py-8 tw-pb-12 tw-bg-gray-100",children:(0,i.jsxs)("div",{className:"tw-container !tw-max-w-screen-xl",children:[(0,i.jsxs)("div",{className:"pdp__backlink tw-mb-6 tw-flex tw-items-center tw-justify-between",children:[(0,i.jsxs)("a",{className:"tw-flex tw-items-center tw-gap-2 !tw-text-sm !tw-text-gray-500 hover:!tw-text-gray-600",href:"/p/".concat(I.toLowerCase().replace(" ","-")),"aria-label":"Link to page all ".concat(I," flooring"),children:[(0,i.jsx)("svg",{className:"tw-w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",children:(0,i.jsx)("path",{className:"tw-fill-gray-500",d:"M7.4 273.4C2.7 268.8 0 262.6 0 256s2.7-12.8 7.4-17.4l176-168c9.6-9.2 24.8-8.8 33.9 .8s8.8 24.8-.8 33.9L83.9 232 424 232c13.3 0 24 10.7 24 24s-10.7 24-24 24L83.9 280 216.6 406.6c9.6 9.2 9.9 24.3 .8 33.9s-24.3 9.9-33.9 .8l-176-168z"})}),"View All ",e.productInfo.productType]}),(0,i.jsx)(u.R,{})]}),(0,i.jsxs)("div",{className:"pdp__top-section-grid tw-min-0 tw-grid md:tw-grid-cols-2 lg:tw-grid-cols-5 tw-gap-6 md:tw-gap-12",children:[(0,i.jsxs)("div",{className:"pdp__top-section-col-1 lg:tw-col-span-2",children:[e.isMobileDevice&&(0,i.jsxs)("div",{className:"pdp__info --mobile tw-mb-6",children:[(0,i.jsxs)("h1",{"data-testid":"headline",className:"!tw-text-3xl !tw-text-left",children:[e.productInfo.productName," by"," ",(0,_.S)(e.productInfo.brandName)]}),(0,i.jsxs)("div",{className:"tw-mt-1 tw-flex tw-items-center tw-gap-2 tw-text-xs tw-text-gray-500",children:[(0,i.jsx)("span",{children:e.productInfo.productType})," |",(0,i.jsxs)("span",{children:["SKU# ",e.productInfo.sku]})]})]}),(0,i.jsx)("div",{className:"pdp__gallery",children:(0,i.jsx)(y,{productInfo:e.productInfo,setSpecs:j})})]}),(0,i.jsxs)("div",{className:"pdp__top-section-col-2 tw-min-w-0 lg:tw-col-span-3 md:tw-mt-2 tw-space-y-3",children:[!e.isMobileDevice&&(0,i.jsxs)("div",{className:"pdp__info --desktop",children:[(0,i.jsxs)("h1",{"data-testid":"headline",className:"!tw-text-3xl !tw-text-left",children:[(0,S._)(e.productInfo.productName)," by"," ",(0,_.S)(e.productInfo.brandName)]}),(0,i.jsxs)("div",{className:"tw-mt-2 tw-flex tw-items-center tw-gap-2 tw-text-sm tw-text-gray-500",children:[(0,i.jsx)("span",{"data-testid":"product-type",children:e.productInfo.productType})," ","|",(0,i.jsxs)("span",{"data-testid":"sku",children:["SKU# ",e.productInfo.sku]})]}),(0,i.jsx)("div",{className:"product-tags tw-mt-3 -tw-ml-1",children:(null==A?void 0:A.length)?(0,i.jsx)(R.U,{isOpen:!0,tags:A}):null})]}),e.productInfo.description&&(0,i.jsx)("p",{"data-testid":"product-description",className:"!tw-text-base",children:e.productInfo.description}),e.productInfo.additionalMessage&&(0,i.jsx)("div",{className:"!tw-mt-3",children:(0,i.jsx)("div",{className:"tw-mt-2 tw-mb-4 tw-flex tw-items-center tw-gap-2 tw-text-sm",children:e.productInfo.additionalMessage})}),(0,i.jsx)("div",{className:"pdp__swatches",children:(0,i.jsx)(M,{swatches:e.productInfo.swatches,activeSwatch:e.productInfo.colorName})}),(0,i.jsx)("div",{className:"pdp__size-select",children:(0,i.jsx)(E,{productInfo:e.productInfo,setSpecs:j})}),(0,i.jsx)("div",{className:"pdp__price",children:(0,i.jsx)(N,{unitPrice:e.productInfo.unitPrice,pricePerBox:e.productInfo.pricePerBox,priceDescription:e.productInfo.priceDescription,pricingMessage:e.productInfo.pricingMessage,additionalMessage:e.productInfo.additionalMessage})}),(0,i.jsxs)("div",{className:"pdp__ctas tw-flex tw-gap-2 tw-flex-wrap !tw-mt-8",children:[e.productInfo.hasCommerce&&"Carpet Tile"===e.productInfo.productType&&(0,i.jsx)(o,{productInfo:e.productInfo}),e.productInfo.hasSample&&(0,i.jsx)(d.L,{productInfo:e.productInfo,samplePrice:e.productInfo.samplePrice,loadScript:!1}),e.productInfo.hasVisualization&&P&&(0,i.jsx)(l.BetterButton,{label:"See in my room",labelClassName:"tw-text-sm",btnStyle:!e.productInfo.hasSample&&e.productInfo.hasVisualization?"primary":"neutral",attributes:{id:"see-in-my-room-button",onClick:()=>{var e;null===(e=document.getElementById("visualizer"))||void 0===e||e.scrollIntoView({behavior:"smooth"})}}}),(0,i.jsx)(l.BetterButton,{label:"Request more info",labelClassName:"tw-text-sm",btnStyle:e.productInfo.hasSample||e.productInfo.hasVisualization?"neutral":"primary",attributes:{onClick:()=>{var e;null===(e=document.getElementById("request-form"))||void 0===e||e.scrollIntoView({behavior:"smooth"})}}})]}),(e.productInfo.brochureLink||e.productInfo.careInstructionFile)&&(0,i.jsx)("div",{children:(0,i.jsx)(a,{files:[e.productInfo.brochureLink&&{label:"Brochure",file:e.productInfo.brochureLink},e.productInfo.careInstructionFile&&{label:"Warranty",file:e.productInfo.careInstructionFile}].filter(Boolean)})})]}),e.pdpContentTopSection&&(0,i.jsx)("div",{className:"pdp__top-section-col-3","data-token-generated":"PDPContentTopSection",children:e.pdpContentTopSection})]})]})}),(0,i.jsx)("section",{className:"pdp__middle-section",children:(0,i.jsxs)("div",{className:"tw-container !tw-max-w-screen-xl tw-space-y-8 lg:tw-space-y-12 tw-py-8 md:tw-py-12",children:[e.productInfo.hasVisualization&&P&&(0,i.jsx)(C,{id:"visualizer",title:"See in my room",description:"Transform your room in real-time by uploading a photo now",className:"pdp__visualizer visualizer-wrapper tw-text-left",children:(0,i.jsx)(D,{DealerAPIKey:P,upid:(null===(p=e.productInfo)||void 0===p?void 0:p.UPID)||"",productInfo:e.productInfo,isMobileDevice:e.isMobileDevice})}),"Proximity Mills"===(0,_.S)(e.productInfo.brandName)?(0,i.jsxs)("section",{className:"pdp__fsu tw-pb-8 md:tw-pb-12",children:[(0,i.jsx)("div",{id:"broadstreet-pxm-video",dangerouslySetInnerHTML:{__html:"<broadstreet-zone zone-id=\"90164\" keywords='{foreignId}'></broadstreet-zone>"}}),"Luxury Vinyl"===e.productInfo.productType||"Hardwood"===e.productInfo.productType?(0,i.jsx)("div",{className:"!tw-max-w-screen-xl tw-mt-[3rem] tw-mb-[1rem]",children:(0,i.jsx)("div",{className:"!tw-max-w-screen-xl tw-space-y-16",children:(0,i.jsx)(C,{id:"pxm-features-benefits",title:"Features and benefits",className:"tw-text-left",children:(0,i.jsx)(h,{specs:b,productInfo:e.productInfo})})})}):null]}):null,(null==b?void 0:b.length)>0&&(0,i.jsx)(C,{title:"Specifications",className:"pdp__specs",children:(0,i.jsx)(k,{specs:b})}),(0,i.jsx)("section",{className:"pdp__content-marketing",children:e.pdpMarketingComponent}),(0,i.jsx)(C,{"data-cy":"similar-products",title:"Similar Products",className:"pdp__similar-products",children:(0,i.jsx)(c.FeaturedProducts,{excludeUpid:null!==(g=null==e?void 0:null===(f=e.productInfo)||void 0===f?void 0:f.UPID)&&void 0!==g?g:"",query:L})})]})}),(0,i.jsx)("section",{className:"pdp__bottom-section tw-bg-gray-100 tw-py-8 md:tw-py-12",children:(0,i.jsx)("div",{className:"tw-container !tw-max-w-screen-xl",children:(0,i.jsx)(C,{"data-cy":"request-form",id:"request-form",className:"pdp__form tw-max-w-screen-md",title:"Request more info",children:(0,i.jsx)("div",{children:e.actonForm})})})})]})}},83528:function(e,t,r){"use strict";r.r(t),r.d(t,{ProductSearchBox:function(){return a}});var i=r(44581),s=r(33726),n=r(773),l=r(99646),o=r(86437);function a(e){let t=(0,l.useProductSearchBox)();(0,s.useEffect)(()=>{(null==t?void 0:t.available)||null==t||t.setAvailable(!0)},[t]);let[r,a]=(0,s.useState)("");return(0,s.useEffect)(()=>{if(window.navigator.userAgent.toLowerCase().includes("mac")){a("⌘K");return}if(window.navigator.userAgent.toLowerCase().includes("windows")){a("Ctrl K");return}},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:"tw-hidden md:tw-block",children:(0,i.jsx)(n.BetterButton,{label:"<span>".concat(e.title||"Search Products","</span> ").concat((0,o.iA)(e.hidekeyboardshortcut)?r:""),labelClassName:"tw-flex-1 tw-flex tw-justify-between tw-gap-4 tw-text-xs",btnStyle:"neutral",icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path class="tw-fill-gray-500" d="M368 208A160 160 0 1 0 48 208a160 160 0 1 0 320 0zM337.1 371.1C301.7 399.2 256.8 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 48.8-16.8 93.7-44.9 129.1L505 471c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L337.1 371.1z" /></svg>',iconSize:"4",attributes:{type:"button",onClick:()=>null==t?void 0:t.open()},className:"tw-h-9 !tw-rounded-md",replaceClass:{"!tw-w-max":"!tw-w-full","!tw-px-6":"!tw-px-3 !tw-pr-4","!tw-text-sm":"!tw-text-xs","!tw-text-gray-950":"!tw-text-gray-500","!tw-border-gray-700":"!tw-border-gray-400"}})}),(0,i.jsx)("div",{className:"tw-block sm:tw-hidden",onClick:()=>null==t?void 0:t.open(),onKeyDown:e=>{},role:"button",tabIndex:0,children:(0,i.jsx)("img",{alt:"search",className:"md:tw-hidden",loading:"lazy",width:"32",height:"32",decoding:"async",style:{color:"transparent",maxWidth:"100%",maxHeight:"100%",height:"auto"},src:(null==e?void 0:e.imgSrc)&&(null==e?void 0:e.imgSrc)!==""?e.imgSrc:"https://res.cloudinary.com/force/image/upload/f_auto,q_auto,w_32,h_32/c_limit,w_32/v1518471186/icons/icon_search2?_a=BAVAS1E60"})})]})}t.default=a},72678:function(e,t,r){"use strict";r.r(t),r.d(t,{SourceInput:function(){return n}});var i=r(44581),s=r(33726);let n=e=>{let[t,r]=(0,s.useState)("");return(0,s.useEffect)(()=>{r(window.location.href)},[]),(0,i.jsx)("input",{...e,value:t})};t.default=n},58604:function(e,t,r){"use strict";r.r(t),r.d(t,{SwiperLink:function(){return s}});var i=r(44581);let s=e=>{let{children:t,...r}=e;return(0,i.jsx)("a",{...r,onClick:e=>{"prev"===r.name?SwipeHandler.prevSwipe(e.target):SwipeHandler.nextSwipe(e.target)},children:t})};t.default=s},15346:function(e,t,r){"use strict";r.r(t),r.d(t,{TabComponent:function(){return n}});var i=r(44581),s=r(33726);function n(e){let[t,r]=(0,s.useState)("0"),n=e=>{r(e.target.id)};return(0,i.jsxs)("div",{className:e.className,children:[(0,i.jsx)("div",{className:e.headerClassName,children:e.headerContainers.map((e,t)=>(0,i.jsx)("a",{id:"".concat(t),className:e.className,rel:e.rel,style:{width:"auto",display:"inline-block"},onClick:n,children:e.content},t))}),(0,i.jsx)("div",{className:e.contentClassName,children:e.contentContainers.map((e,r)=>(0,i.jsx)("div",{className:e.className,style:{overflow:"hidden",height:"100%",display:"".concat(t==="".concat(r)?"block":"none")},children:e.content},r))})]})}t.default=n},16477:function(e,t,r){"use strict";r.r(t),r.d(t,{DynamicMenu:function(){return n},ListItem:function(){return s},VerticalMultiMenu:function(){return l}});var i=r(44581);function s(e){return(0,i.jsx)("li",{children:(0,i.jsx)("a",{role:"menuitem",href:e.href,className:"tw-block ".concat(e.className," ").concat(e.className,"_item"),children:(0,i.jsx)("div",{className:"".concat(e.className,"_txt"),children:e.text})},e.href)})}function n(e){let{menuItems:t,sitemapstartlevel:r,sitemapentrypoint:n,sitemapdepth:l}=e,o=n.split(":").map(e=>parseInt(e)),a=t.filter(e=>{let{position:t}=e;return t===o[1]})[0];if(!a)return null;function c(e){let{hideInMenu:t,isVisible:r}=e;return!t&&r}return o.length>2&&(null==a?void 0:a.children)&&(a=a.children[o[2]]),(0,i.jsxs)(i.Fragment,{children:["0"===r&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s,{href:a.alias,text:a.name,className:e.className}),parseInt(l)>1&&a.children&&a.children.filter(c).map(t=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s,{href:t.alias,text:t.name,className:e.className},t.alias),parseInt(l)>2&&t.children&&t.children.filter(c).map(t=>(0,i.jsx)(s,{href:t.alias,text:t.name,className:e.className},t.alias))]}))]}),"1"===r&&a.children&&a.children.filter(c).map(t=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s,{href:t.alias,text:t.name,className:e.className},t.alias),parseInt(l)>1&&t.children&&t.children.filter(c).map(t=>(0,i.jsx)(s,{href:t.alias,text:t.name,className:e.className},t.alias))]}))]})}function l(e){let t=e.sitemapentrypoint.includes("p:"),{elementsToRender:r}=e;return(0,i.jsx)("nav",{role:"navigation",children:(0,i.jsx)("ul",{id:e.id,className:"".concat(e.className," !tw-list-none !tw-p-0 !tw-m-0"),children:t?(0,i.jsx)(n,{...e}):(0,i.jsx)(i.Fragment,{children:Array.isArray(r)&&r.filter(e=>{let{props:t}=e;return t&&(null==t?void 0:t.attribs)}).map(t=>{var r;if(!(null===(r=t.props)||void 0===r?void 0:r.attribs))return null;let{href:n="",text:l=""}=t.props.attribs;return(0,i.jsx)(s,{href:n,text:l,className:null==e?void 0:e.className},n)})})})})}t.default=l},79694:function(){},6291:function(){},74927:function(){},49181:function(){}},function(e){e.O(0,[3296,3622,7706,7975,9313,7696,5899,3445,9257,6871,7205,327,1744],function(){return e(e.s=72121)}),_N_E=e.O()}]);