Loading
function(e,t,a){a.d(t,{x:()=>E});var s=a(627968);a(64700);var i=a(562708),n=a(877624),r=a(534514),l=a(834730),c=a(232582),o=a(821609),d=a(349288),u=a(212245),m=a(688810),A=a(139286),N=a(498470),g=a(637706),p=a(975841);let E=e=>{let{componentId:t,promotionBannerMarketingComponentFields:a}=e,{analyticsLocations:E}=(0,m.Ay)(),x=(0,u.p)();(0,A.A)({type:i.ImpressionTypes.VIEW,name:i.ImpressionNames.PREMIUM_MARKETING_COMPONENT,properties:{component_type:n.C.MARKETING_PAGE_BANNER,component_id:t}});let h=(0,N.h)({buttonAction:a.button?.buttonAction??c.dz.OPEN_TIER_2_PAYMENT_MODAL,deeplinkSection:a.button?.deeplinkSection,applicationId:a.button?.navigableStorefrontApplicationId?.value,analyticsLocations:E,analyticsLocation:x.location}),f=(0,g.a)(a.body),R=(0,g.C)(a.helpArticle,a.helpArticleId),{icon:C}=(0,N.x)({buttonAction:a.button?.buttonAction});return(0,s.jsxs)("div",{className:p.kL,children:[(0,s.jsx)("div",{className:p.LY,children:(0,s.jsx)("img",{src:a.assetUrl,className:p.ot,alt:""})}),(0,s.jsxs)("div",{className:p.IH,children:[(0,s.jsx)(r.D,{variant:"heading-md/semibold",color:"text-strong",children:a.header}),(0,s.jsxs)(l.E,{variant:"text-md/medium",color:"text-subtle",className:p.tb,children:[f,null!=R&&(0,s.jsxs)(s.Fragment,{children:["\xa0",(0,s.jsx)(d.Anchor,{className:p.$T,href:R.url,children:R.linkText})]})]})]}),null!=a.button&&(0,s.jsx)("div",{className:p.UD,children:(0,s.jsx)(o.$,{variant:"expressive",size:"md",onClick:h,text:a.button.copy,icon:C})})]})}}