{"version":3,"file":"local-payment.js","mappings":"kCAAAA,EAAOC,QAAUC,OAAwB,gBAAmB,e,GCCxDC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaL,QAGrB,IAAID,EAASG,EAAyBE,GAAY,CAGjDJ,QAAS,CAAC,GAOX,OAHAO,EAAoBH,GAAUL,EAAQA,EAAOC,QAASG,GAG/CJ,EAAOC,OACf,C,MCtBA,IAAAQ,EAAAC,EAAA,KAEA,GAA8C,oBAAnCC,+BACP,IAAK,IAAMC,KAAKD,+BAA+BE,SAAU,CACrD,IAAMC,EAASH,+BAA+BE,SAASD,GACjDG,EAAU,IAAIC,EAAAA,qBAChBF,EAAM,4BAAAG,OACsBH,EAAOI,cAEvC,EAAAC,EAAAA,uBAAsBJ,EAC1B,C","sources":["webpack://wcStripeModules/external window [\"wcStripeModules\",\"checkoutModules\"]","webpack://wcStripeModules/webpack/bootstrap","webpack://wcStripeModules/./assets/js/frontend/local-payment.js"],"sourcesContent":["module.exports = window[\"wcStripeModules\"][\"checkoutModules\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","import {LocalCheckoutGateway, registerPaymentMethod} from '@paymentplugins/wc-stripe/checkout';\n\nif (typeof wc_stripe_local_payment_params !== 'undefined') {\n for (const i in wc_stripe_local_payment_params.gateways) {\n const params = wc_stripe_local_payment_params.gateways[i];\n const gateway = new LocalCheckoutGateway(\n params,\n `#wc_stripe_local_payment_${params.gateway_id}`\n );\n registerPaymentMethod(gateway);\n }\n}"],"names":["module","exports","window","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","_checkout","require","wc_stripe_local_payment_params","i","gateways","params","gateway","LocalCheckoutGateway","concat","gateway_id","registerPaymentMethod"],"sourceRoot":""}