"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[6325],{6325:function(e,t,a){a.r(t),a.d(t,{sc_payment_method_details:function(){return o}});var d=a(3029),i=a(2901),n=a(1346),o=function(){return(0,i.A)((function e(t){(0,d.A)(this,e),(0,n.r)(this,t),this.paymentMethod=void 0,this.editHandler=void 0}),[{key:"render",value:function(){var e,t,a,d,i,o,c,l,r,s;return(0,n.h)("sc-card",{key:"54bd46a83c1a787ef805a9d46d03252861ade682"},(0,n.h)("sc-flex",{key:"c03ca3273aa8ef7b48610a8e178982944fe507c8",alignItems:"center",justifyContent:"flex-start",style:{gap:"0.5em"}},(0,n.h)("sc-payment-method",{key:"b3fcb74ff9fa2a9139eb9735cfe54320fa19875c",paymentMethod:this.paymentMethod}),(0,n.h)("div",{key:"e47a8a2015a440054bf900804f0bd6f31bdc2aba"},!!(null===(t=null===(e=this.paymentMethod)||void 0===e?void 0:e.card)||void 0===t?void 0:t.exp_month)&&(0,n.h)("span",{key:"ef07b2f1e03a1639c0584ad4ab0522e9ee34d479"},
// Translators: %d/%d is month and year of expiration.
wp.i18n.sprintf(wp.i18n.__("Exp. %d/%d","surecart"),null===(d=null===(a=this.paymentMethod)||void 0===a?void 0:a.card)||void 0===d?void 0:d.exp_month,null===(o=null===(i=this.paymentMethod)||void 0===i?void 0:i.card)||void 0===o?void 0:o.exp_year)),!!(null===(l=null===(c=this.paymentMethod)||void 0===c?void 0:c.paypal_account)||void 0===l?void 0:l.email)&&(null===(s=null===(r=this.paymentMethod)||void 0===r?void 0:r.paypal_account)||void 0===s?void 0:s.email)),(0,n.h)("sc-button",{key:"8736b013b7b94655c0a8f794f85aa5ab164b021e",type:"text",circle:!0,onClick:this.editHandler},(0,n.h)("sc-icon",{key:"de2c99652340b18bb9d0a3fcf44468000888dde0",name:"edit-2"}))))}}])}()}}]);