"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[35],{107:(e,s,i)=>{var a=i(0);i(1);var r=i(3),l=i(6);const{wrapper:t,wrapperRedirect:c,wrapperRedirectPurchase:n,wrapperRedirectButton:o}={wrapper:"mhuCnOd3",wrapperRedirect:"iiOSNIJp",wrapperRedirectPurchase:"piR06r8H",wrapperRedirectButton:"bUDEorxc"},d=({handle:e,label:s,discountText:i})=>(0,a.jsx)("div",Object.assign({className:t},{children:(0,a.jsxs)("a",Object.assign({className:c,href:`collections/${e}`},{children:[(0,a.jsx)("div",{className:n,dangerouslySetInnerHTML:{__html:i}}),(0,a.jsx)("div",Object.assign({className:o},{children:(0,a.jsx)("p",{children:s})}))]}))}));var p=i(4);const{wrapperImage:h,wrapperVideo:m,wrapperVideoFill:u,wrapper:w,wrapperMaxWidth:g,wrapperArrow:j,mobileHomeHeroImage:x}={wrapper:"O7jw49JX",wrapperMaxWidth:"quSwDI7_",wrapperImage:"sEiePxMD",wrapperArrow:"QZyYr2OD",wrapperVideo:"zZMbt8B3",wrapperVideoFill:"QUkF3wVF",mobileHomeHeroImage:"JZCUCgNK",wrapperPromotionBannerDiscount:"UUBHElwP"};(0,p.createEntrypoint)("hp_hero_images_feature",(({alt:e,handle:s,src:i,promotionBannerHome:t,isMobile:c,hpMobileRedirectArrow:n,isHeroWidthLimited:o})=>(0,a.jsxs)("section",Object.assign({className:(0,r.a)(w,c&&x),id:"homeHero"},{children:[t&&c&&(0,a.jsxs)("div",{children:[(0,a.jsx)("a",Object.assign({className:(0,r.a)(o&&g),href:s,onClick:()=>{(0,p.logOutcome)(`heroImageClick${c?"Mobile":"Desktop"}${(null==i?void 0:i.includes(".mp4"))||(null==i?void 0:i.includes(".gif"))?"Video":"Image"}`)}},{children:i.includes(".mp4")||i.includes(".gif")?(0,a.jsx)("video",Object.assign({style:{maxHeight:c?"unset":"100dvh"},className:(0,r.a)(m,o&&u),controls:!1,autoPlay:!0,loop:!0,muted:!0,playsInline:!0},{children:(0,a.jsx)("source",{src:i,type:"video/mp4"})})):(0,a.jsxs)("div",Object.assign({style:{width:"100%"}},{children:[(0,a.jsx)("img",{src:i,alt:e,className:h}),"enabled"===n&&(0,a.jsx)("div",Object.assign({className:j},{children:(0,a.jsxs)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"19",height:"10",viewBox:"0 0 19 10",fill:"none"},{children:[(0,a.jsx)("path",{d:"M13.5938 0.388916L18.1196 4.91478L13.5938 9.44064",stroke:"white"}),(0,a.jsx)("path",{d:"M0.84375 5.12329H17.9186",stroke:"white"})]}))}))]}))})),(0,a.jsx)(d,{discountText:t.discount_text,handle:t.discount_button_redirect.handle,label:t.discount_button_label})]}),!(t&&c)&&(0,a.jsx)("a",Object.assign({href:s,className:(0,r.a)(o&&g),onClick:()=>{(0,p.logOutcome)(`heroImageClick${c?"Mobile":"Desktop"}${(null==i?void 0:i.includes(".mp4"))||(null==i?void 0:i.includes(".gif"))?"Video":"Image"}`)}},{children:i.includes(".mp4")||i.includes(".gif")?(0,a.jsx)("video",Object.assign({style:{maxHeight:c?"unset":"100dvh"},className:(0,r.a)(m,o&&u),controls:!1,autoPlay:!0,loop:!0,muted:!0,playsInline:!0},{children:(0,a.jsx)("source",{src:i,type:"video/mp4"})})):(0,a.jsxs)("div",Object.assign({style:{width:"100%"}},{children:[(0,a.jsx)("img",{src:i,alt:e,className:h,style:{maxHeight:c?"unset":"100dvh"}}),"enabled"===n&&(0,a.jsx)("div",Object.assign({className:j},{children:(0,a.jsx)(l.X,{})}))]}))}))]}))))}},e=>{e.O(0,[1,2,4,3,5],(()=>(107,e(e.s=107)))),e.O()}]);