"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[23],{71:(e,t,i)=>{i.d(t,{a:()=>c,b:()=>r,c:()=>o});var l=i(0),s=i(72),a=i(73),n=i(5);function o({featured_items_list:e,device:t}){const i="mobile"===t?1500:1800;return(0,l.jsx)("section",{className:a.a.wrapper,children:e.map(((e,t)=>"image"===e.image.type&&e.image.url?e.button_cta?(0,l.jsxs)("a",{className:a.a.collection,href:e.link_destination,"aria-label":`${e.title}: ${e.subtitle}; ${e.button_cta}`,children:[(0,l.jsx)("div",{className:a.a.collectionImageWrapper,children:(0,l.jsx)(n.a,{src:e.image.url,initialWidth:400,cssClass:a.a.collectionImage,alt:e.title,fullSizeWidth:i,width:e.image.width,height:e.image.height})}),(0,l.jsxs)("div",{className:a.a.collectionContent,children:[(0,l.jsx)("p",{className:a.a.collectionSubtitle,children:e.subtitle}),(0,l.jsx)("p",{className:a.a.collectionTitle,children:e.title}),(0,l.jsxs)("div",{"aria-label":`${e.title}: ${e.subtitle}; ${e.button_cta}`,className:`${a.a.collectionButton} `,children:[e.button_cta,(0,l.jsx)(r,{})]})]})]}):(0,l.jsx)("div",{className:s.a.featuredItem,children:(0,l.jsxs)("a",{href:e.link_destination,class:s.a.link,"data-orly-type":e.type,"data-orly-parent-handle":e.parentHandle,"data-orly-handle":e.handle,children:[(0,l.jsx)("div",{className:s.a.imageContainer,children:(0,l.jsx)(n.a,{src:e.image.url,initialWidth:400,cssClass:s.a.image,alt:e.title,fullSizeWidth:i,width:1600,height:2400})}),(0,l.jsxs)("div",{className:s.a.textOverlay,children:[(0,l.jsx)("p",{className:s.a.subtitle,children:e.subtitle}),(0,l.jsx)("p",{className:s.a.title,children:e.title})]})]})},t):null))})}function r(){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[(0,l.jsx)("path",{d:"M2.10278 8.91895L16.2615 8.91895",stroke:"white","stroke-width":"1.19286","stroke-linecap":"round"}),(0,l.jsx)("path",{d:"M11.5939 13.6045L15.9769 9.34657C16.218 9.11234 16.218 8.72522 15.9769 8.49098L11.5939 4.23306",stroke:"white","stroke-width":"1.19286","stroke-linecap":"round"})]})}function c(){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[(0,l.jsx)("path",{d:"M15.8972 8.91895L1.73852 8.91895",stroke:"white","stroke-width":"1.19286","stroke-linecap":"round"}),(0,l.jsx)("path",{d:"M6.40608 4.23306L2.02313 8.49098C1.78205 8.72522 1.78205 9.11234 2.02313 9.34657L6.40608 13.6045",stroke:"white","stroke-width":"1.19286","stroke-linecap":"round"})]})}},5:(e,t,i)=>{i.d(t,{a:()=>n,b:()=>o});var l=i(0),s=i(6),a=i(2);function n({src:e,initialWidth:t,fullSizeWidth:i,cssClass:s,alt:n,width:r,height:c,style:d}){var h;const u=(0,a.useRef)(null),[m,p]=(0,a.useState)(!1),g=o(e,t,i,m);return(0,a.useEffect)((()=>{var e;!m&&(null===(e=u.current)||void 0===e?void 0:e.complete)&&p(!0)}),[null===(h=u.current)||void 0===h?void 0:h.complete]),r&&c?(0,l.jsx)("img",{ref:u,loading:"lazy",src:g,onLoadStart:()=>p(!0),onLoad:()=>p(!0),class:s,alt:null!=n?n:"",width:r,height:c,style:d}):(0,l.jsx)("img",{src:g,class:s,alt:null!=n?n:"",style:d})}function o(e,t,i,l=!0){const n=(0,s.b)(e,t),o=(0,s.b)(e,i),[r,c]=(0,a.useState)({}),d=(0,a.useMemo)((()=>r[o]?o:n),[e,t,i,r]);return(0,a.useEffect)((()=>{if(l&&document&&d!==o){const e=document.createElement("img");e.src=o,e.onload=()=>c(Object.assign(Object.assign({},r),{[o]:!0}))}}),[l,o]),d}},6:(e,t,i)=>{i.d(t,{a:()=>a,b:()=>s});var l=i(13);function s(e,t,i){return(e=(0,l.getFastImage)(e,t,i)).replace("/fl_progressive:steep/","/")}function a(e){var t,i,l;if(e)return"type"in e?"image"===e.type&&e.url?Object.assign(Object.assign({},e),{url:s(e.url),altText:null!==(t=e.altText)&&void 0!==t?t:""}):void 0:"__typename"in e&&"MediaImage"===e.__typename&&(null===(i=e.image)||void 0===i?void 0:i.url)?{url:s(null===(l=e.image)||void 0===l?void 0:l.url),altText:"",height:void 0,width:void 0}:void 0}(0,l.setConfig)([{folder:"bare",template:"https://cdn.shopify.com/s/files/1/0576/5120/0113/"},{folder:"stamped",template:"https://cdn.stamped.io/uploads/photos/"},{folder:"comfrt",template:"https://cdn.shopify.com/s/files/1/0569/4029/8284/"},{folder:"3bn",template:"https://cdn.shopify.com/s/files/1/0179/2309/"}])}}]);