/* @flow */
/* eslint unicorn/filename-case: 0, import/unambiguous: 0, import/no-commonjs: 0 */

const globals = require('./globals');

module.exports = {
    buttons: {
        entry:        './src/interface/button',
        setupHandler: 'setupButtons',
        globals
    },
    marks: {
        entry: './src/interface/marks',
        globals
    },
    wallet: {
        entry: './src/interface/wallet',
        globals
    },
    fields: {
        entry: './src/interface/fields',
        globals
    }
};

@@ -100,38 +100,756 @@
 nst 
-globals = require('./globals')
+%7B FUNDING, CARD %7D = require('@paypal/sdk-constants');%0A%0Aconst globals = require('./globals');%0A%0Aconst SMART_FUNDING_SOURCES = %5B%0A    FUNDING.PAYPAL,%0A    FUNDING.VENMO,%0A    FUNDING.ITAU,%0A    FUNDING.CREDIT,%0A    FUNDING.PAYLATER,%0A    FUNDING.IDEAL,%0A    FUNDING.SEPA,%0A    FUNDING.BANCONTACT,%0A    FUNDING.GIROPAY,%0A    FUNDING.EPS,%0A    FUNDING.SOFORT,%0A    FUNDING.MYBANK,%0A    FUNDING.BLIK,%0A    FUNDING.P24,%0A    FUNDING.ZIMPLER,%0A    FUNDING.WECHATPAY,%0A    FUNDING.PAYU,%0A    FUNDING.VERKKOPANKKI,%0A    FUNDING.TRUSTLY,%0A    FUNDING.OXXO,%0A    FUNDING.BOLETO,%0A    FUNDING.MAXIMA,%0A    FUNDING.MERCADOPAGO,%0A    FUNDING.CARD%0A%5D;%0A%0Aconst SMART_CARDS = %5B%0A    CARD.VISA,%0A    CARD.MASTERCARD,%0A    CARD.AMEX,%0A    CARD.DISCOVER,%0A    CARD.HIPER,%0A    CARD.ELO,%0A    CARD.JCB%0A%5D
 ;%0A%0Am
@@ -903,16 +903,18 @@
         
+  
 './src/i
@@ -952,16 +952,18 @@
 Handler:
+  
  'setupB
@@ -978,32 +978,116 @@
 %0A        globals
+,%0A        fundingSources: SMART_FUNDING_SOURCES,%0A        cards:          SMART_CARDS
 %0A    %7D,%0A    mark
@@ -1097,32 +1097,41 @@
 %7B%0A        entry:
+         
  './src/interfac
@@ -1147,32 +1147,116 @@
 %0A        globals
+,%0A        fundingSources: SMART_FUNDING_SOURCES,%0A        cards:          SMART_CARDS
 %0A    %7D,%0A    wall
@@ -1345,32 +1345,41 @@
 %7B%0A        entry:
+         
  './src/interfac
@@ -1400,22 +1400,106 @@
      globals
+,%0A        fundingSources: SMART_FUNDING_SOURCES,%0A        cards:          SMART_CARDS
 %0A    %7D%0A%7D;%0A

Add funding and cards to __sdk__ config