"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[70],{353:(e,t,l)=>{l.r(t),l.d(t,{default:()=>o});const o={imageContainer:"qpe182wA",image:"WcmUoMRO",textOverlay:"rrh0kNZn",shopButton:"MuH8cxmA",desktop_variant_a:"nIgbz0kD",mobile_variant_a:"pAyq4ol_",mobile_headline_bold:"WbhiSYKG"}},354:(e,t,l)=>{l.r(t),l.d(t,{default:()=>o});const o={wrapper:"m6Eeh9zF",picture:"Gh1tAynN",image:"yxTYcWeM",content:"wYEuByl6",title:"SYFAD4z3",button:"iy4nSATJ",button__transparent:"arI8COfu",button__mobile__label:"bksZtwNH",button__desktop__label:"QjX0TEoL",customers:"IiS7AyYh"}},351:(e,t,l)=>{const o=l(352);(0,l(1).createEntrypoint)("home_hero",o.Main)},175:function(e,t,l){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Home=function({mobileImage:e,mobile_image_width:t,desktopImage:l,desktop_image_width:o,headline:a,subhead:c,buttonText:h,device:_,ctaLink:m,isHeroLink:p,handle:f,type:b,mobile_cta:g,use_alt_center_alignment:x,desktop_button_color:y,desktop_button_text_color:j,desktop_text_color:v,mobile_button_color:k,mobile_button_text_color:w,mobile_text_color:C,mobile_style:M,desktop_style:N}){const T=p||!h;return"desktop"===_&&(x=!1),"image"===(null==l?void 0:l.type)&&l.url&&"image"===(null==e?void 0:e.type)&&e.url?((M||N)&&(x=!1),(0,n.jsxs)(u,{isEntireHeroLink:T,ctaLink:m,handle:f,type:b,use_alt_center_alignment:x,children:[(0,n.jsx)(d,{children:"desktop"===_?(0,n.jsx)(s.LazyImage,{src:l.url,initialWidth:800,width:l.width,height:l.height,cssClass:i.default.image,alt:"Hero",fullSizeWidth:Math.max(2e3,null!=o?o:2600)}):(0,n.jsx)(s.LazyImage,{src:e.url,initialWidth:400,width:e.width,height:e.height,cssClass:x?r.default.image:i.default.image,alt:"Hero",fullSizeWidth:Math.max(800,null!=t?t:1400)})}),(0,n.jsx)("style",{dangerouslySetInnerHTML:{__html:`\n .heroTextColor{\n color: ${v};\n }\n .heroButton, .heroButton:hover{\n color: ${j};\n background-color: ${y}\n }\n @media (max-width: 768px) {\n .heroTextColor{\n color: ${C};\n }\n .heroButton, .heroButton:hover{\n color: ${w};\n background-color: ${k};\n }\n }\n `}}),x?(0,n.jsxs)("div",{className:r.default.content,children:[(0,n.jsx)("h1",{className:`${r.default.title} heroTextColor`,children:a}),(0,n.jsx)("a",{href:m,children:(0,n.jsxs)("button",{className:`${r.default.button} heroButton`,children:[(0,n.jsx)("span",{className:`${r.default.button__mobile__label} heroButton`,children:g}),(0,n.jsx)("span",{className:`${r.default.button__desktop__label} heroButton`,children:h})]})})]}):(0,n.jsxs)("div",{className:[i.default.textOverlay,i.default[`mobile_${M}`],i.default[`desktop_${N}`]].join(" "),children:[(0,n.jsx)("h1",{class:"heroTextColor",children:a}),(0,n.jsx)("p",{class:"heroTextColor",children:c}),h&&(0,n.jsx)("a",{href:m,"data-orly-type":b,"data-orly-handle":f,children:(0,n.jsx)("button",{className:`${i.default.shopButton} heroButton`,children:h})})]})]})):null};const n=l(0),a=l(3),i=o(l(353)),r=o(l(354)),s=l(6);function d({children:e,use_alt_center_alignment:t}){return t?(0,n.jsx)("div",{className:r.default.picture}):(0,n.jsx)(a.Fragment,{children:e})}function u({isEntireHeroLink:e,ctaLink:t,handle:l,type:o,children:a,use_alt_center_alignment:s}){return s?(0,n.jsx)("section",{className:r.default.wrapper,children:a}):e?(0,n.jsx)("a",{href:t,"data-orly-type":o,"data-orly-handle":l,className:i.default.imageContainer,children:a}):(0,n.jsx)("div",{className:i.default.imageContainer,children:a})}},352:(e,t,l)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Main=function(e){return(0,o.jsx)(n.Home,Object.assign({},e))};const o=l(0),n=l(175)},4:(e,t,l)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getFastImage=n,t.convertImageMedia=function(e){var t,l,o;if(e)return"type"in e?"image"===e.type&&e.url?Object.assign(Object.assign({},e),{url:n(e.url),altText:null!==(t=e.altText)&&void 0!==t?t:""}):void 0:"__typename"in e&&"MediaImage"===e.__typename&&(null===(l=e.image)||void 0===l?void 0:l.url)?{url:n(null===(o=e.image)||void 0===o?void 0:o.url),altText:"",height:void 0,width:void 0}:void 0};const o=l(9);function n(e,t,l){return(e=(0,o.getFastImage)(e,t,l)).replace("/fl_progressive:steep/","/")}(0,o.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/"}])}},e=>{e.O(0,[1,2,9],(()=>e(e.s=351))),e.O()}]);