 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


    if isEdited(formValues)
      return formValues

    card = paymentValues.get 'groupCreditCard'

