Build 555975stable
Module 421094
710 characters · in 6c84c70b226fa2cf.jsDependencies
Source Raw
function(e,t,n){n.d(t,{K:()=>s});var l=n(627968),r=n(64700),i=n(376843),a=n(375708);let s=e=>{let{handlePaymentSourceAdd:t,isTrial:n,isDiscount:s,disabled:o,hasEntitlements:u,eligiblePaymentGateways:c,label:d=a.intl.string(a.t["u+Cw58"]),shouldUseUnifiedCheckoutUI:p,paymentSourceDropdownClassName:m,paymentSourceDropdownPrependOption:h,location:A="PremiumSubscriptionReview"}=e,C=r.useMemo(()=>({newPaymentMethodOptionLabel:u&&!n?a.intl.string(a.t.IGU7El):null,isTrial:n,paymentGatewayRestrictions:c,shouldUseUnifiedCheckoutUI:p,className:m,prependOption:h}),[u,n,c,p,m,h]);return(0,l.jsx)(i.N,{label:d,disabled:o,onPaymentSourceAdd:t,additionalPaymentSourceDropdownProps:C,location:A,hideCurrencySelect:s})}}