"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[42],{279:(e,t,n)=>{var o=n(0),r=n(2),a=n(308);const{wrapper:s,wrapperTopRight:i,wrapperTopLeft:p,wrapperTopCenter:l,wrapperCenter:c,wrapperTitle:w,wrapperDescription:u,wrapperButton:b,wrapperInfo:x,alignTextToCenter:d}={wrapper:"wHl5YK_f",wrapperTopRight:"ZYHC9w71",wrapperTopLeft:"v4OcY4sH",wrapperTopCenter:"vLMxPiAs",wrapperCenter:"MaUu6kGv",wrapperInfo:"ip6L3uI0",wrapperTitle:"RWlR8U7u",wrapperDescription:"FEv669y9",wrapperButton:"DqgaY4Ry",alignTextToCenter:"HToI7Evj",wrapperBottomLeft:"b7G1xO4C"},T=({heroTitle:e,heroSubtitle:t,textColor:n,contentPosition:T,buttonText:h,buttonLink:C,buttonColor:g,buttonTextColor:m,newContentPositionMobile:j,newContentPositionDesktop:v})=>{const k=T||"",f=(0,r.useMemo)((()=>{let e=p,t="";return"top-right"===k&&(e=i),"top-center"===k&&(e=l),"center-center"===k&&(e=c,t=d),"top-left"===k&&(e=p),{containerPosition:e,alignText:t}}),[k]),{containerPosition:I,alignText:y}=f;return(0,o.jsx)("div",Object.assign({className:(0,a.a)(s,I)},{children:(0,o.jsxs)("div",Object.assign({className:x},{children:[(0,o.jsx)("h1",{className:(0,a.a)(w,y),style:{color:n},dangerouslySetInnerHTML:{__html:e}}),(0,o.jsx)("p",{className:(0,a.a)(u,y),style:{color:n},dangerouslySetInnerHTML:{__html:t}}),(0,o.jsx)("a",{className:(0,a.a)(b,y),style:{backgroundColor:g,color:m},href:C,dangerouslySetInnerHTML:{__html:h}})]}))}))},{wrapper:h}={wrapper:"Sih7sxsU"},C=({navItemLink:e,navItemText:t})=>(0,o.jsx)("a",Object.assign({href:e,className:h},{children:t})),{wrapper:g}={wrapper:"wHYlSyuX"},m=({navItems:e})=>{const t=e&&e.length>0;return(0,o.jsx)("div",Object.assign({className:g},{children:t&&e.map(((e,t)=>(0,o.jsx)(C,Object.assign({},e),t)))}))},{wrapper:j,wrapperImage:v}={wrapper:"Lv56Dbkj",wrapperImage:"CnN0WdZ8"};(0,n(3).createEntrypoint)("new-hero-feature",(({backgroundImage:e,heroSubtitle:t,heroTitle:n,textColor:a,contentPosition:s,buttonText:i,buttonLink:p,buttonColor:l,buttonTextColor:c,navItems:w,newContentPositionMobile:u,newContentPositionDesktop:b})=>((0,r.useEffect)((()=>{var e;"undefined"!=typeof window&&(null===(e=null===window||void 0===window?void 0:window.loyaltylion)||void 0===e||e.init({token:"1c7cdc57823bc119aade27c5e375b239"}))}),[]),(0,o.jsxs)("section",Object.assign({className:j},{children:[(0,o.jsx)("div",Object.assign({className:v,style:{backgroundImage:`url(${e})`}},{children:(0,o.jsx)(T,{heroTitle:n,heroSubtitle:t,textColor:a,contentPosition:s,buttonText:i,buttonLink:p,buttonColor:l,buttonTextColor:c,newContentPositionMobile:u,newContentPositionDesktop:b})})),(0,o.jsx)(m,{navItems:w})]})))))}},e=>{e.O(0,[1,2,3],(()=>(279,e(e.s=279)))),e.O()}]);