 
     if isEdited(formValues)
       return formValues
-
-    # groupPlan = paymentValues.get 'groupPlan'
-    # return defaultValues()  unless groupPlan
 
     card = paymentValues.get 'groupCreditCard'
 

formatCardNumber = (last4) ->
  if last4 then "************#{last4}" else ''


defaultValues = ->
  return toImmutable
    number: ''
    expirationMonth: ''
    expirationYear: ''
    cvc: ''
    nickname: ''
    fullName: ''
    email: ''

module.exports = {
  values
  plainValues

]




isEmpty = (formValues) ->
  formValues.reduce (acc, value) ->
    acc and not value
