1/*! 2 * @version f517a5a-dev 3 * 4 */ 5(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{"/2PA":function(e,t,r){"use strict" 6var a=r("pVnL"),n=r.n(a),i=r("MVZn"),o=r.n(i),c=r("QILm"),s=r.n(c),l=r("q1tI"),d=r.n(l),u=r("17x9"),h=r.n(u),g=r("6JmB"),m=r("6Xkm"),p=r("lSNA"),A=r.n(p),f=r("KIZX"),y=r("Rozh"),b=r("Tkqx"),w=r("TSYQ"),v=r.n(w),O=["alt","classes","displayPlaceholder","height","imageHasError","imageIsLoaded","src","width"],_=function PlaceholderImage(e){var t,r=e.alt,a=e.classes,i=e.displayPlaceholder,o=e.height,c=e.imageHasError,l=e.imageIsLoaded,u=e.src,h=e.width,g=s()(e,O),m=Object(y.a)({displayPlaceholder:i,imageHasError:c,imageIsLoaded:l}).shouldRenderPlaceholder 7return d.a.createElement(b.a,n()({loading:"eager",height:o,width:h},g,{alt:r,className:v()(a.image,(t={},A()(t,a.placeholder,m),A()(t,a.placeholder_layoutOnly,!m),A()(t,a.placeholder_loaded,l),t)),src:u}))} 8_.propTypes={alt:u.string.isRequired,classes:Object(u.shape)({image:u.string,placeholder:u.string,placeholder_layoutOnly:u.string,placeholder_loaded:u.string}).isRequired,displayPlaceholder:u.bool,height:Object(u.oneOfType)([u.number,u.string]),imageHasError:u.bool,imageIsLoaded:u.bool,src:u.string,width:Object(u.oneOfType)([u.number,u.string])},_.defaultProps={src:f.a} 9var L=_,E=r("IT16"),I=["alt","className","fetchPriority","handleError","handleLoad","height","loading","resource","type","width","widths","ratio","explicitWidth","explicitHeight","fit"],j=function ResourceImage(e){var t=e.alt,r=e.className,a=e.fetchPriority,i=e.handleError,c=e.handleLoad,u=e.height,h=e.loading,g=e.resource,p=e.type,A=e.width,f=e.widths,y=e.ratio,b=e.explicitWidth,w=e.explicitHeight,v=e.fit,O=s()(e,I),_=Object(E.a)({generateSrcset:m.b,generateUrl:m.c,height:u,resource:g,type:p,width:A,widths:f,ratio:y}),L=_.sizes,j=_.src,S=_.srcSet,N=Object(l.useMemo)(function(){return b?Object(m.c)(g,p,v)(b,w):j},[w,b,v,g,j,p]),R=o()({},!isNaN(A||b/2)&&{width:A||b/2},!isNaN(u||w/2)&&{height:u||w/2}) 10return d.a.createElement("img",n()({loading:h||"lazy"},O,null!=a&&{fetchpriority:a},{alt:t,className:r,onError:i,onLoad:c,sizes:b||w?void 0:L,src:N,srcSet:b||w?void 0:S},R))} 11j.propTypes={alt:u.string.isRequired,className:u.string,handleError:u.func,handleLoad:u.func,resource:u.string.isRequired,height:Object(u.oneOfType)([u.number,u.string]),loading:u.string,type:u.string,width:Object(u.oneOfType)([u.number,u.string]),widths:Object(u.instanceOf)(Map)},j.defaultProps={type:"image-product"} 12var S=j,N=r("y1Xp"),R=r("LboF"),T=r.n(R),U=r("yxdx"),x={injectType:"singletonStyleTag",insert:"head",singleton:!0},P=(T()(U.a,x),U.a.locals||{}),k=["alt","classes","displayPlaceholder","height","onError","onLoad","placeholder","resource","src","type","width","widths","explicitWidth","explicitHeight","ratio","fit","loading"],C=function Image(e){var t=e.alt,r=e.classes,a=e.displayPlaceholder,i=e.height,c=e.onError,u=e.onLoad,h=e.placeholder,m=e.resource,p=e.src,A=e.type,f=e.width,y=e.widths,w=e.explicitWidth,v=e.explicitHeight,O=e.ratio,_=e.fit,E=e.loading,I=s()(e,k),j=Object(g.b)({onError:c,onLoad:u,width:f,widths:y,height:i,ratio:O}),R=j.handleError,T=j.handleImageLoad,U=j.hasError,x=j.isLoaded,C=j.resourceWidth,H=j.resourceHeight,V=Object(N.a)(P,r),M="".concat(V.root," ").concat(V.container),q=x?V.loaded:V.notLoaded,D="".concat(V.image," ").concat(q),z=Object(l.useRef)(),Q=o()({},!isNaN(H)&&H&&{height:H},!isNaN(f)&&f&&p&&{width:f},!isNaN(C)&&C&&!p&&{width:C}),B=p?d.a.createElement(b.a,n()({alt:t,className:D,handleError:R,handleLoad:T,src:p},Q,I,{loading:E})):d.a.createElement(S,n()({alt:t,className:D,handleError:R,handleLoad:T,resource:m,type:A,widths:y,explicitWidth:w,explicitHeight:v,ratio:O,fit:_},Q,I,{loading:E})),G=o()({},!isNaN(i||v/2)&&{height:i||v/2},!isNaN(C||w/2)&&{width:C||w/2}) 13return d.a.createElement("div",{className:M,ref:z},d.a.createElement(L,n()({alt:t,classes:V,displayPlaceholder:a,imageHasError:U,imageIsLoaded:x,src:h},G,I)),p||m?B:null)},H=function conditionallyRequiredString(e,t,r){return e.src||e.resource?h.a.checkPropTypes({resource:u.string,src:u.string},e,t,r):new Error("Missing both 'src' and 'resource' props in ".concat(r,". ").concat(r," needs at least one of these to be provided."))} 14C.propTypes={alt:u.string.isRequired,classes:Object(u.shape)({container:u.string,loaded:u.string,notLoaded:u.string,root:u.string}),displayPlaceholder:u.bool,height:Object(u.oneOfType)([u.number,u.string]),onError:u.func,onLoad:u.func,placeholder:u.string,resource:H,src:H,type:u.string,width:Object(u.oneOfType)([u.number,u.string]),widths:Object(u.instanceOf)(Map),ratio:u.number,explicitWidth:u.number,explicitHeight:u.number},C.defaultProps={displayPlaceholder:!0,ratio:m.a} 15t.a=C},"6JmB":function(e,t,r){"use strict" 16r.d(t,"a",function(){return o}
16),r.d(t,"b",function(){return c}) 17var a=r("J4zp"),n=r.n(a),i=r("q1tI"),o="default",c=function useImage(e){var t=e.onError,r=e.onLoad,a=e.width,c=e.widths,s=e.height,l=e.ratio,d=Object(i.useState)(!1),u=n()(d,2),h=u[0],g=u[1],m=Object(i.useState)(!1),p=n()(m,2),A=p[0],f=p[1],y=Object(i.useCallback)(function(){g(!0),"function"==typeof r&&r()},[r]),b=Object(i.useCallback)(function(){f(!0),"function"==typeof t&&t()},[t]),w=Object(i.useMemo)(function(){return a||(c?c.get(o):void 0)},[a,c]),v=Object(i.useMemo)(function(){return s||(w&&l?w/l:void 0)},[s,l,w]) 18return{handleError:b,handleImageLoad:y,hasError:A,isLoaded:h,resourceWidth:w,resourceHeight:v}}},"6Xkm":function(e,t,r){"use strict" 19r.d(t,"a",function(){return y}),r.d(t,"c",function(){return w}),r.d(t,"b",function(){return v}) 20var a=r("J4zp"),n=r.n(a),i=r("QILm"),o=r.n(i),c=r("Hupy"),s=["type"],l=new c.a,d=(globalThis.document||{}).documentElement,u="backend"===(d?d.dataset:{}).imageOptimizingOrigin,h=l.getItem("store_view_code")||"default",g={};[{code:"default",id:1,secure_base_media_url:"https://www.levolor.com/media/",store_name:"Levolor (Default Store View)",default_display_currency_code:"USD"},{code:"levolor_ca",id:3,secure_base_media_url:"https://www.levolor.ca/media/",store_name:"Levolor CA",default_display_currency_code:"USD"},{code:"partners",id:9,secure_base_media_url:"https://partners.levolor.com/media/",store_name:"Partners",default_display_currency_code:"USD"},{code:"installer_ca",id:10,secure_base_media_url:"https://installer.levolor.ca/media/",store_name:"Installer CA",default_display_currency_code:"USD"},{code:"installer",id:8,secure_base_media_url:"https://installer.levolor.com/media/",store_name:"Installer",default_display_currency_code:"USD"},{code:"directbuy",id:5,secure_base_media_url:"https://directbuy2.levolor.com/media/",store_name:"DirectBuy",default_display_currency_code:"USD"},{code:"employee",id:4,secure_base_media_url:"https://employeepurchase.levolor.com/media/",store_name:"Employee",default_display_currency_code:"USD"},{code:"exchange",id:2,secure_base_media_url:"https://exchange.levolor.com/media/",store_name:"Exchange",default_display_currency_code:"USD"}].forEach(function(e){g[e.code]=e.secure_base_media_url}) 21var m=l.getItem("store_view_secure_base_media_url")||g[h] 22m||(m="https://backend.test/media/") 23var p=/^(data|http|https)?:/i,A=(new Map).set("image-product","catalog/product/").set("image-category","catalog/category/").set("image-swatch","attribute/swatch/"),f=function makeOptimizedUrl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.type,a=o()(t,s) 24if(!r||!r.startsWith("image-"))return e 25var i=(globalThis.location||{}).origin,c=p.test(e),l=new URL(e,m) 26if(!c&&A.has(r)){var d=A.get(r) 27l.pathname.includes(d)||(l=new URL(function joinUrls(e,t){return(e.endsWith("/")?e.slice(0,-1):e)+"/"+(t.startsWith("/")?t.slice(1):t)}(d,e),m))}l.href.startsWith("https://www.levolor.com/")&&!u&&(l=new URL(l.href.slice("https://www.levolor.com/".length),i)) 28var h=new URLSearchParams(l.search) 29return h.set("auto","webp"),"png"===function getFileType(e){return e.pathname.split("/").reverse()[0].split(".").reverse()[0]}(l)?h.set("format","png"):h.set("format","pjpg"),Object.entries(a).forEach(function(e){var t=n()(e,2),r=t[0],a=t[1] 30null!=a&&h.set(r,a)}),l.search=h.toString(),l.origin===i?l.href.slice(l.origin.length):l.href},y=.8,b=new Map(Object.entries({ICON:40,THUMBNAIL:80,SMALL:160,REGULAR:320,LARGE:640,LARGER:960,XLARGE:1280,XXLARGE:1600,XXXLARGE:2560})),w=function generateUrl(e,t,r){return function(a,n){return f(e,{type:t,width:a||null,height:n||null,fit:r||"cover"})}},v=function generateSrcset(e,t,r){if(!e||!t)return"" 31var a=r||y,i=w(e,t) 32return Array.from(b,function(e){return n()(e,2)[1]}).map(function(e){return"".concat(i(e,Math.round(e/a))," ").concat(e,"w")}).join(",\n")}},AMlT:function(e,t,r){e.exports=r.p+"up-arrow-97j.svg"},IT16:function(e,t,r){"use strict" 33r.d(t,"a",function(){return c}) 34var a=r("J4zp"),n=r.n(a),i=r("q1tI"),o=r("6JmB") 35function _createForOfIteratorHelper(t,r){var a="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"] 36if(!a){if(Array.isArray(t)||(a=function _unsupportedIterableToArray(e,t){if(!e)return 37if("string"==typeof e)return _arrayLikeToArray(e,t) 38var r=Object.prototype.toString.call(e).slice(8,-1) 39"Object"===r&&e.constructor&&(r=e.constructor.name) 40if("Map"===r||"Set"===r)return Array.from(e) 41if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}(t))||r&&t&&"number"==typeof t.length){a&&(t=a) 42var i=0,o=function F(){} 43return{s:o,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,d=!1 44return{s:function s(){a=a.call(t)},n:function n(){var e=a.next() 45return l=e.done,e},e:function e(t){d=!0,c=t},f:function f(){try{l||null==a.return||a.return()}finally{if(d)throw c}}}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length) 46for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r] 47return a}var c=function useResourceImage(e){var t=e.generateSrcset,r=e.generateUrl,a=e.height,c=e.resource,s=e.type,l=e.width,d=e.widths,u=e.ratio,h=Object(i.useMemo)(function(){return r(c,s)(l,a)},[r,a,c,s,l]),g=Object(i.useMemo)(function(){return t(c,s,u)},[t,c,s,u]) 48return{sizes:Object(i.useMemo)(function(){if(!d)return l?"".concat(l,"px"):"" 49var e,t=[],r=_createForOfIteratorHelper(d) 50try{for(r.s();!(e=r.n()).done;){var a=n()(e.value,2),i=a[0],c=a[1] 51i!==o.a&&t.push("(max-width: ".concat(i,"px) ").concat(c,"px"))}}catch(e){r.e(e)}finally{r.f()}return t.push("".concat(d.get(o.a),"px")),t.join(", ")},[l,d]),src:h,srcSet:g}}},KIZX:function(e,t,r){"use strict" 52r.d(t,"a",function(){return a}) 53var a="data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc0JyBoZWlnaHQ9JzUnPj
53xyZWN0IHdpZHRoPSc0JyBoZWlnaHQ9JzUnIHN0eWxlPSdmaWxsOiBub25lJyAvPjwvc3ZnPg=="},Rozh:function(e,t,r){"use strict" 54r.d(t,"a",function(){return a}) 55var a=function usePlaceholderImage(e){var t=e.displayPlaceholder,r=e.imageHasError,a=e.imageIsLoaded 56return{shouldRenderPlaceholder:!(!t||a&&!r)}}},Rzvo:function(e,t,r){"use strict" 57var a=r("JPst"),n=r.n(a)()(function(e){return e[1]}) 58n.push([e.i,".image-root-ZSi {\n /*\n * For customization, we provide an empty root.\n * These styles will be applied to the image container.\n */\n}\n\n.image-container-dLP {\n position: relative;\n}\n\n.image-image-f-I {\n /*\n * For customization, we provide an empty image class.\n * These styles will be applied directly to the image itself.\n */\n}\n\n.image-loaded-GZ- {\n position: absolute;\n top: 0;\n left: 0;\n visibility: visible;\n}\n\n.image-notLoaded-thf {\n visibility: hidden;\n}\n\n.image-placeholder-XTV {\n background-color: rgb(var(--venia-global-color-gray));\n position: relative;\n top: 0;\n left: 0;\n}\n\n.image-placeholder_layoutOnly-KCq {\n background-color: unset;\n}\n",""]),n.locals={root:"image-root-ZSi",container:"image-container-dLP",image:"image-image-f-I",loaded:"image-loaded-GZ-",notLoaded:"image-notLoaded-thf image-loaded-GZ-",placeholder:"image-placeholder-XTV",placeholder_layoutOnly:"image-placeholder_layoutOnly-KCq image-placeholder-XTV"},t.a=n},ShN8:function(e,t,r){"use strict" 59var a=r("q1tI"),n=r.n(a),i=r("kriW"),o=r("UFbC") 60t.a=function SwatchDescription(e){var t=e.defaultDescription,r=Object(o.c)() 61return Object(a.useMemo)(function(){return r?n.a.createElement(i.a,{id:"company.swatchesDescription",defaultMessage:"Not sure what to buy? Order swatches here to compare and contrast materials and colors"}):t},[r,t])}},Tkqx:function(e,t,r){"use strict" 62var a=r("pVnL"),n=r.n(a),i=r("QILm"),o=r.n(i),c=r("q1tI"),s=r.n(c),l=r("17x9"),d=["alt","className","fetchPriority","handleError","handleLoad","height","loading","src","width"],u=function SimpleImage(e){var t=e.alt,r=e.className,a=e.fetchPriority,i=e.handleError,c=e.handleLoad,l=e.height,u=e.loading,h=e.src,g=e.width,m=o()(e,d) 63return s.a.createElement("img",n()({loading:u||"lazy"},m,null!=a&&{fetchpriority:a},{alt:t,className:r,height:l,onError:i,onLoad:c,src:h,width:g}))} 64u.propTypes={alt:l.string.isRequired,className:l.string,handleError:l.func,handleLoad:l.func,height:Object(l.oneOfType)([l.number,l.string]),loading:l.string,src:l.string.isRequired,width:Object(l.oneOfType)([l.number,l.string])},t.a=u},dqi2:function(e,t,r){"use strict" 65var a=r("pVnL"),n=r.n(a),i=r("QILm"),o=r.n(i),c=r("q1tI"),s=r.n(c),l=r("17x9"),d=["alt","className","handleError","handleLoad","height","src","width"],u=function SimpleImage(e){var t=e.alt,r=e.className,a=e.handleError,i=e.handleLoad,c=e.height,l=e.src,u=e.width,h=o()(e,d) 66return s.a.createElement("img",n()({loading:"lazy"},h,{alt:t,className:r,height:c,onError:a,onLoad:i,src:l,width:u}))} 67u.propTypes={alt:l.string.isRequired,className:l.string,handleError:l.func,handleLoad:l.func,height:Object(l.oneOfType)([l.number,l.string]),src:l.string.isRequired,width:Object(l.oneOfType)([l.number,l.string])},t.a=u},m6Hp:function(e,t,r){"use strict" 68r.d(t,"a",function(){return i}) 69var a=r("RIqP"),n=r.n(a),i=function getCssClasses(e,t){var r=(null==e?void 0:e.split(" "))||[],a=r.filter(function(e){return!!t[e]}).map(function(e){return t[e]}) 70return[].concat(n()(r),n()(a))}},"qqy+":function(e,t,r){"use strict" 71r.d(t,"e",function(){return a}),r.d(t,"a",function(){return n}),r.d(t,"f",function(){return i}),r.d(t,"d",function(){return o}),r.d(t,"c",function(){return c}),r.d(t,"b",function(){return s}) 72var a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAADCAQAAADxPw1zAAAADklEQVR42mNkgANGrEwAAGMABP93vXMAAAAASUVORK5CYII=",n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",i="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAECAQAAADsOj3LAAAADklEQVR42mNkgANGQkwAAJoABWH6GPAAAAAASUVORK5CYII=",o="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAQAAADIpIVQAAAADklEQVR42mNkgAJGIhgAALQABsHyMOcAAAAASUVORK5CYII=",c="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAQAAAAe/WZNAAAADklEQVR42mNkgAJGDAYAAFEABCaLYqoAAAAASUVORK5CYII=",s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAADCAQAAAAT4xYKAAAADklEQVR42mNkAAJGOAEAAC0ABNxMS2YAAAAASUVORK5CYII="},xQdG:function(e,t,r){"use strict" 73var a=r("q1tI"),n=r.n(a),i=r("kriW"),o=r("UFbC") 74t.a=function SwatchTitle(e){var t=e.defaultTitle,r=Object(o.c)() 75return Object(a.useMemo)(function(){return r?n.a.createElement(i.a,{id:"company.swatchesTitle",defaultMessage:"Order Swatches Here!"}):t},[r,t])}},yxdx:function(e,t,r){"use strict" 76var a=r("JPst"),n=r.n(a)()(function(e){return e[1]})
77n.push([e.i,".image-root-VhT {\n /*\n * For customization, we provide an empty root.\n * These styles will be applied to the image container.\n */\n}\n\n.image-container-u7w {\n position: relative;\n}\n\n.image-image-bAt {\n /*\n * For customization, we provide an empty image class.\n * These styles will be applied directly to the image itself.\n */\n}\n\n.image-loaded-jTo {\n position: absolute;\n top: 0;\n left: 0;\n visibility: visible;\n}\n\n.image-notLoaded-f6h {\n visibility: hidden;\n}\n\n.image-placeholder-gO3 {\n background-color: rgb(var(--levolor-global-color-gray-100));\n position: relative;\n top: 0;\n left: 0;\n}\n\n.image-placeholder_layoutOnly-fFR {\n background-color: unset;\n}\n",""]),n.locals={root:"image-root-VhT",container:"image-container-u7w",image:"image-image-bAt",loaded:"image-loaded-jTo",notLoaded:"image-notLoaded-f6h image-loaded-jTo",placeholder:"image-placeholder-gO3",placeholder_layoutOnly:"image-placeholder_layoutOnly-fFR image-placeholder-gO3"},t.a=n},zSka:function(e,t,r){"use strict" 78var a=r("J4zp"),n=r.n(a),i=r("q1tI"),o=r("UFbC"),c=r("gBRb"),s=r("NmLD") 79t.a=function useLazyLoadImage(e){var t=e.ref,r=e.url,a=e.image,l=Object(c.a)(o.ib),d=Object(i.useState)(""),u=n()(d,2),h=u[0],g=u[1],m=Object(s.a)({ref:t,stopObservingAfterInit:!0}) 80return Object(i.useEffect)(function(){if(a&&!l.has(r)){if(m){var e=new Image 81e.src=r,e.onload=function(){Object(o.ib)(new Set(Object(o.ib)()).add(r)),g(r)}}}else g(r)},[a,l,m,r]),{sourceLoaded:h}}}}])
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.