"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[29],{91:function(e,t,i){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=i(0),r=i(3),s=n(i(36)),a=i(375),o=n(i(284)),c=n(i(6));t.default=function({domainId:e,rid:t=null,pageType:i=null}){const[n,d]=(0,s.default)({triggerOnce:!0,rootMargin:"200px 0px"});return(0,r.useEffect)((()=>{d&&function(){if(t)return(0,a.loadConverCartImmediately)(e,{id:t,ccEvent:`${i}Viewed`});(0,a.loadConverCartImmediately)(e)}()}),[d]),(0,l.jsx)("div",Object.assign({ref:n},{children:d&&(0,l.jsx)("div",Object.assign({className:o.default.grid},{children:(0,l.jsxs)(c.default,{children:[(0,l.jsx)("div",{className:"index-section"}),(0,l.jsx)("div",Object.assign({className:"shopify-section index-section"},{children:(0,l.jsx)("div",Object.assign({"data-section-type":"promo-grid"},{children:(0,l.jsx)("div",{className:"page-width"})}))}))]})}))}))}},85:function(e,t,i){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PromoBlock=t.SimplePromoBlock=t.translateHorizontalAlignment=t.translateVerticalAlignment=void 0;const l=i(0),r=i(28),s=n(i(1)),a=n(i(10)),o=n(i(9)),c=n(i(269)),d=i(7),m=n(i(18)),u=n(i(41));function h(e){switch(null==e?void 0:e.toLowerCase()){case"top":return"justify-start";case"bottom":return"justify-end";default:return"justify-center"}}function f(e){switch(null==e?void 0:e.toLowerCase()){case"left":return"items-start text-left";case"right":return"items-end text-right";default:return"items-center text-center"}}function g(e){switch(null==e?void 0:e.toLowerCase()){case"top center":return"object-top";case"top left":return"object-left-top";case"top right":return"object-right-top";case"center":return"object-center";case"left":return"object-left";case"right":return"object-right";case"bottom center":return"object-bottom";case"bottom left":return"object-left-bottom";case"bottom right":return"object-right-bottom";default:return""}}t.translateVerticalAlignment=h,t.translateHorizontalAlignment=f;const x=({condition:e,wrap:t,children:i})=>e?t(i):i;function j({image:e,alt:t,href:i,condition:n,verticalAlignment:r,horizontalAlignment:a,numberOfBlocks:o,height:m,idx:u,children:j,priority:b,useOverlay:v=!1,isMobile:p}){const y=h(r),O=f(a);return(0,l.jsx)("div",Object.assign({className:(0,s.default)("relative block w-full overflow-hidden",u>0&&"mt-2.5 md:mt-5 lg:mt-0 lg:ml-5")},{children:(0,l.jsxs)(x,Object.assign({condition:n,wrap:e=>("string"==typeof i&&i.startsWith("https://"),(0,l.jsx)("a",Object.assign({href:i},{children:e})))},{children:[(0,l.jsx)("img",{className:(0,s.default)("absolute left-0 top-0 w-full h-full object-cover",v&&c.default.imgUseOverlay,g(e.focalPoint)),sizes:90/o+"vw",src:(0,d.getImageUrl)(e.url,p?500:1500),alt:t,loading:"eager",width:e.width,height:e.height,style:e.style}),(0,l.jsx)("div",Object.assign({className:(0,s.default)(`flex flex-col ${O} ${y} p-5 h-full text-white`,"md:py-10",c.default.content,v&&c.default.contentUseOverlay),style:{"--desktopMinHeight":`${m}px`}},{children:j}))]}))}))}t.SimplePromoBlock=function({text:e,image:t,link:i,verticalAlignment:n,horizontalAlignment:r,textSize:s="Medium",numberOfBlocks:a=1,height:c=460,idx:d,priority:m}){return(0,l.jsx)(j,Object.assign({image:t,alt:e||header,href:i,condition:i,verticalAlignment:n,horizontalAlignment:r,numberOfBlocks:a,idx:d,priority:m,height:c},{children:(0,l.jsx)(u.default,{children:e&&(0,l.jsx)(o.default,Object.assign({component:(h={large:"h1",medium:"h2",small:"h3"},h[s.toLowerCase()]),color:"white"},{children:e}))})}));var h},t.PromoBlock=function({heading:e,subheading:t,fullText:i,text:n,image:c,ctaStyle:d,button1:h,button2:f,verticalAlignment:g,horizontalAlignment:x,textSize:b="Medium",numberOfBlocks:v=1,height:p=600,idx:y,addFrame:O,useOverlay:w=!1,priority:k,isMobile:C}){const A="Inverse"===d,N=!A;function _(e){return e[b.toLowerCase()]}c.style=O?{outline:"2px solid white",outlineOffset:"-10px"}:null,w&&(b="Small");const z=w?"black":"white";return(0,l.jsx)(j,Object.assign({image:c,alt:e,href:null==h?void 0:h.link,condition:h&&!f,verticalAlignment:g,horizontalAlignment:x,numberOfBlocks:v,idx:y,priority:k,height:p,useOverlay:w,isMobile:C},{children:(0,l.jsx)(u.default,{children:(0,l.jsxs)("div",Object.assign({className:(0,s.default)(w&&"md:mx-20 p-4 bg-white")},{children:[(0,l.jsx)("div",Object.assign({className:(0,s.default)("mb-3 tracking-extrawide",w?"text-black":"text-white",_({large:"text-lg md:text-xl",medium:"text-xs md:text-lg",small:"text-xxs md:text-sm"}))},{children:t})),(0,l.jsx)(o.default,Object.assign({component:_({large:"h1",medium:"h2",small:"h3"}),color:z},{children:e})),i&&(0,l.jsx)("div",Object.assign({className:"my-1 whitespace-pre-line md:my-2"},{children:(0,l.jsx)(m.default,Object.assign({color:z,size:_({large:"xlarge",medium:"large",small:"normal"}),component:"div"},{children:(0,r.documentToReactComponents)(i)}))})),n&&(0,l.jsx)("div",Object.assign({className:"my-1 whitespace-pre-line md:my-2"},{children:(0,l.jsx)(m.default,Object.assign({color:z,size:_({large:"xlarge",medium:"large",small:"normal"}),component:"div"},{children:n}))})),(0,l.jsxs)("div",Object.assign({className:(0,s.default)("flex flex-col justify-center mt-1.5","sm:flex-row sm:space-x-3")},{children:[h&&h.text&&(0,l.jsx)("div",Object.assign({className:"my-1.5"},{children:(0,l.jsx)(a.default,Object.assign({href:f&&h.link,variant:A?"inverse":"primary",shineOnHover:N},{children:h.text}))})),f&&(0,l.jsx)("div",Object.assign({className:"my-1.5"},{children:(0,l.jsx)(a.default,Object.assign({href:f.link,variant:A?"inverse":"primary",shineOnHover:N},{children:f.text}))}))]}))]}))})}))}},375:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.loadConverCartImmediately=t.loadConvertCart=void 0;const n=i(110);function l(e){return{src:`https://cdn.convertcart.com/${e}f.js`,id:"convercart-script",timeout:1e4,anonymous:!1}}t.loadConvertCart=function(e){(0,n.loadScriptWithDelay)(l(e))},t.loadConverCartImmediately=function(e,t,i=(()=>{})){(0,n.loadScript)(l(e),(()=>{t&&function({id:e,ccEvent:t}){window.ccart.context.memQ.publish({action:"send",arg:{ccEvent:t,id:e,src:"scraping"}})}(t),i()}))}}}]);