Loading
function(e,t,n){n.d(t,{b:()=>N});var l=n(627968);n(64700);var r=n(503698),i=n.n(r),s=n(877624),a=n(17928),o=n(978656),u=n(834730),c=n(937008),d=n(807098),E=n(412260),m=n(380619),h=n(375708),A=n(756974);function N(){let{claimableRewards:e}=(0,c.Pv)(),t=(0,a.bG)([E.A],()=>{let e=E.A.getMarketingComponentByType(s.C.GIFT_PLAN_SELECTION_CARD_BANNER);return null==e||"giftPlanSelectionCardBanner"!==e.properties.properties.oneofKind?null:e.properties.properties.giftPlanSelectionCardBanner}),n=(0,d.T)(t?.bannerAsset),r=(0,d.T)(t?.avatarAsset),N=t?.assetVariant===o.Y.LARGE_TILTED;if(null==t||null==e||0===e.length)return null;let I=(0,m.gc)(n),_=t?.gradient,S=null!=_&&null!=_.colors&&_.colors.length>=2?(0,m.K5)({gradient:_.colors,angle:_.angle??void 0}):void 0,C=(0,m.x)(I,S);return(0,l.jsxs)("div",{className:A.kL,style:C,children:[(0,l.jsxs)("div",{className:A.V_,children:[(0,l.jsx)(u.E,{variant:"text-md/bold",color:"text-overlay-light",children:h.intl.string(h.t.OEtqpm)}),(0,l.jsx)(u.E,{variant:"text-md/medium",color:"text-overlay-light",children:h.intl.formatToPlainString(h.t["2h5M+X"],{availableCount:e.length})})]}),null!=r&&(0,l.jsx)("div",{className:A.R3,children:(0,l.jsx)("img",{alt:"gift promotion reward",src:r,className:i()(A.my,{[A.R_]:N})})})]})}}