Module 897904

1,699 characters · in 39b15c6418aa214d.js
Dependencies
Source Raw
function(e,t,n){n.d(t,{fs:()=>S,XG:()=>I,Uf:()=>P});var l=n(627968);n(64700);var r=n(503698),i=n.n(r),a=n(939249),s=n(789645),o=n(534514),u=n(834730),c=n(241524),d=n(166532),p=n(19311),m=n(482132),h=n(4126),A=n(376747),E=n(375708),C=n(702361),y=n(575650),_=n(938430);let S=e=>{let{step:t,onClose:n}=e,r=(0,c.A)(A.T);return t===d.pn.CONFIRM||t===d.pn.BENEFITS?(0,l.jsx)("div",{}):(0,l.jsxs)("div",{className:i()(C.N1,y.GI),children:[!r&&(0,l.jsx)("div",{className:C.oZ,"aria-hidden":"true",children:(0,l.jsx)("img",{src:"/assets/6a6a49ffafe96618.svg",alt:"",className:C.F0})}),(0,l.jsx)(a.D,{className:C.G3,onClick:()=>n(),"aria-label":E.intl.string(E.t.cpT0Cq),children:(0,l.jsx)(s.P,{size:"md",color:"currentColor",className:C.ut})})]})},P=e=>{let{icon:t,storeListingBenefits:n,skuBenefits:r,application:i,title:a,subtitle:s,description:o}=e;return null==i?null:(0,l.jsx)("div",{className:C.RP,children:(0,l.jsxs)(h.$K,{children:[(0,l.jsx)(h.KF,{application:i,asset:t}),(0,l.jsx)(h.kj,{children:a}),(0,l.jsx)(h.ri,{}),(0,l.jsx)(h.Mx,{title:s,description:o}),(0,l.jsx)(h.iH,{applicationId:i.id,storeListingBenefits:n,skuBenefits:r})]})})};function I(e){let{tierName:t,onConfirm:n,subscription:r}=e;return(0,l.jsxs)("div",{className:C.NV,children:[(0,l.jsx)("img",{src:_,alt:"",width:300,height:126}),(0,l.jsx)(o.D,{className:C.i1,variant:"heading-xl/extrabold",color:"text-strong",children:E.intl.format(E.t.wLFT6z,{tier:t})}),(0,l.jsx)(u.E,{className:C.sT,variant:"text-md/medium",color:"text-default",children:E.intl.format(E.t.OsAK9h,{timestamp:r?.currentPeriodEnd})}),(0,l.jsx)(m.UX,{children:(0,l.jsx)(p.Ay,{onPrimary:n,primaryCTA:p.ti.CONTINUE,primaryText:E.intl.string(E.t["JtWl+a"])})})]})}}