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GAA0C,IAA7BD,EAAgBC,GAGxD,IAAIC,EAAuB,CAACC,EAA4BpQ,KACvD,IAGIkP,EAAUgB,GAHTV,EAAUa,EAAaC,GAAWtQ,EAGhBxG,EAAI,EAC3B,GAAGgW,EAASe,MAAMzM,GAAgC,IAAxBmM,EAAgBnM,KAAa,CACtD,IAAIoL,KAAYmB,EACZpB,EAAoB/U,EAAEmW,EAAanB,KACrCD,EAAoBI,EAAEH,GAAYmB,EAAYnB,IAGhD,GAAGoB,EAAS,IAAIf,EAASe,EAAQrB,EAClC,CAEA,IADGmB,GAA4BA,EAA2BpQ,GACrDxG,EAAIgW,EAASjW,OAAQC,IACzB0W,EAAUV,EAAShW,GAChByV,EAAoB/U,EAAE+V,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOjB,EAAoBK,EAAEC,EAAO,EAGjCiB,EAAqBC,KAAkC,4BAAIA,KAAkC,6BAAK,GACtGD,EAAmB9V,QAAQyV,EAAqBnT,KAAK,KAAM,IAC3DwT,EAAmBlW,KAAO6V,EAAqBnT,KAAK,KAAMwT,EAAmBlW,KAAK0C,KAAKwT,G,KC7CvF,IAAIE,EAAsBzB,EAAoBK,OAAEzO,EAAW,CAAC,KAAK,IAAOoO,EAAoB,OAC5FyB,EAAsBzB,EAAoBK,EAAEoB,I","sources":["webpack://wcStripeModules/webpack/runtime/chunk loaded","webpack://wcStripeModules/./assets/js/frontend/checkout/checkout-gateway.js","webpack://wcStripeModules/./assets/js/frontend/checkout/index.js","webpack://wcStripeModules/./assets/js/frontend/checkout/local-checkout-gateway.js","webpack://wcStripeModules/./assets/js/frontend/checkout/payment-methods.js","webpack://wcStripeModules/external window \"jQuery\"","webpack://wcStripeModules/external window \"regeneratorRuntime\"","webpack://wcStripeModules/external window [\"wc_stripe\"]","webpack://wcStripeModules/external window [\"wp\",\"hooks\"]","webpack://wcStripeModules/webpack/bootstrap","webpack://wcStripeModules/webpack/runtime/hasOwnProperty shorthand","webpack://wcStripeModules/webpack/runtime/jsonp chunk loading","webpack://wcStripeModules/webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","import {BaseGateway, CheckoutGateway as StripeCheckoutGateway} from '@paymentplugins/wc-stripe';\nimport $ from 'jquery';\nimport {applyFilters} from '@wordpress/hooks';\nimport debounce from 'debounce';\n\nfunction Gateway(params, elementSelector) {\n this.elementSelector = elementSelector;\n BaseGateway.call(this, params);\n StripeCheckoutGateway.call(this);\n};\n\nGateway.prototype = Object.assign(Gateway.prototype, BaseGateway.prototype, StripeCheckoutGateway.prototype);\n\nclass CheckoutGateway extends Gateway {\n\n constructor(params, elementSelector) {\n super(params, elementSelector);\n this.setupIntent = null;\n this.paymentMethodType = null;\n this.paymentElementComplete = false;\n }\n\n initialize() {\n window.addEventListener('hashchange', this.handleHashChange.bind(this));\n $(document.body).on('click', '#place_order', this.handlePlaceOrder.bind(this));\n $(document.body).on('change', `[name=\"${this.gateway_id}_saved_method_key\"]`, debounce(this.maybeInitializeInstallments.bind(this), 250));\n $(document.body).on(`wc_stripe_saved_method_${this.gateway_id}`, debounce(this.maybeInitializeInstallments.bind(this), 250));\n $(document.body).on('change', '[name=\"billing_email\"], [name=\"billing_phone\"], [name=\"billing_first_name\"], [name=\"billing_last_name\"]', this.onFieldChange.bind(this));\n $(document.body).on('change', '#createaccount', this.onCreateAccountChange.bind(this));\n $(document.body).on('change', `[name=\"${this.gateway_id}_save_source_key\"]`, this.onChangeSavePayment.bind(this));\n\n this.createPaymentElement();\n this.mountPaymentElement();\n this.initializeSetupIntent();\n this.onCreateAccountChange();\n }\n\n disable_payment_button() {\n $('#place_order').prop('disabled', true);\n }\n\n enable_payment_button() {\n $('#place_order').prop('disabled', false);\n }\n\n createPaymentElement() {\n if (!this.elements || this.paymentElement) {\n return;\n }\n this.paymentElement = this.elements.create('payment', {\n fields: {\n billingDetails: this.is_current_page('checkout') ?\n {\n\n address: 'never',\n name: $('#billing_first_name').length ? 'never' : 'auto',\n email: $('#billing_email').length ? 'never' : 'auto',\n phone: $('#billing_phone').length ? 'never' : 'auto',\n } : 'auto'\n },\n wallets: {applePay: 'never', googlePay: 'never'},\n defaultValues: {\n billingDetails: {\n name: this.fields.get('billing_first_name') + ' ' + this.fields.get('billing_last_name'),\n email: this.fields.get('billing_email'),\n phone: this.fields.get('billing_phone')\n }\n },\n ...this.params.paymentElementOptions\n });\n this.paymentElement.on('change', this.onPaymentElementChange.bind(this));\n this.paymentElement.on('loaderror', this.onPaymentElementLoadError.bind(this));\n }\n\n mountPaymentElement() {\n try {\n if (this.paymentElement && $(this.elementSelector).length) {\n this.paymentElement.unmount();\n this.paymentElement.mount(this.elementSelector);\n }\n } catch (error) {\n //console.log(`Notice: ${this.gateway_id}, `, error);\n }\n }\n\n /**\n * Return true if the mode is 'payment'.\n * @returns {boolean}\n */\n isPaymentMode() {\n return this.params.elementOptions.mode === 'payment';\n }\n\n isSubscriptionMode() {\n return this.params.elementOptions.mode === 'subscription';\n }\n\n isSetupMode() {\n return this.params.elementOptions.mode === 'setup';\n }\n\n shouldCreatePaymentMethod() {\n return applyFilters(\n 'wc_stripe_should_create_payment_method',\n ['card', 'link'].includes(this.paymentMethodType),\n this\n );\n }\n\n get_element_options() {\n let options = {\n ...((this.isPaymentMode() || this.isSubscriptionMode()) && {\n amount: 100,\n }),\n currency: this.params.currency.toLowerCase(),\n ...this.params.elementOptions,\n };\n let data = {};\n if (this.has_gateway_data()) {\n data.currency = this.get_currency().toLowerCase();\n if (this.isPaymentMode() || this.isSubscriptionMode()) {\n data.amount = this.get_total_price_cents();\n // precaution to prevent any JS validation errors\n if (data.amount <= 0) {\n data.amount = 100;\n }\n }\n }\n return {\n ...options,\n ...data\n }\n }\n\n updated_checkout(e, data) {\n this.updatePaymentElement(data);\n this.mountPaymentElement();\n this.handleInstallments();\n this.initializeSetupIntent();\n }\n\n onPaymentElementChange(event) {\n const {value = null, complete = false} = event;\n this.paymentElementComplete = complete;\n if (value?.type) {\n this.paymentMethodType = value.type;\n this.setPaymentMethodType(value.type);\n }\n this.handleInstallments();\n this.onCreateAccountChange();\n }\n\n isPaymentElementComplete() {\n return this.paymentElementComplete;\n }\n\n updatePaymentElement(data = null) {\n if (data && data?.fragments?.['.wc-stripe-element-options']) {\n try {\n const options = JSON.parse(window.atob(decodeURIComponent(data.fragments['.wc-stripe-element-options'])));\n if (this.params.elementOptions.mode !== options.mode) {\n this.params.elementOptions = {\n ...this.params.elementOptions,\n ...options\n };\n if (this.elements) {\n this.elements.update(this.get_element_options());\n }\n }\n } catch (error) {\n }\n }\n }\n\n getHashParameterArgs() {\n let match = window.location.hash.match(/#response=(.+)/);\n let args = null;\n if (match) {\n args = JSON.parse(window.atob(decodeURIComponent(match[1])));\n }\n return args;\n }\n\n handleHashChange(e) {\n const match = window.location.hash.match(/response=(.*)/);\n if (match) {\n try {\n const obj = JSON.parse(window.atob(decodeURIComponent(match[1])));\n if (obj && obj.hasOwnProperty('client_secret')) {\n if (this.is_gateway_selected()) {\n history.pushState({}, '', window.location.pathname);\n if (obj.type === 'payment_intent') {\n this.processPaymentIntent(obj);\n } else {\n this.processSetupIntent(obj);\n }\n }\n }\n } catch (err) {\n\n }\n }\n return true;\n }\n\n handlePlaceOrder(e) {\n if (this.is_gateway_selected()) {\n if (!this.is_saved_method_selected()) {\n e.preventDefault();\n this.disable_payment_button();\n this.fields.syncCheckoutFieldsWithDOM();\n this.elements.submit().then(async response => {\n if (response.error) {\n return this.submit_error(response.error);\n }\n if ((this.isPaymentMode() || this.isSubscriptionMode()) && this.shouldCreatePaymentMethod()) {\n if (!this.validateCheckoutFields()) {\n return this.submit_error(this.validationErrors);\n }\n return this.stripe.createPaymentMethod({\n elements: this.elements,\n params: {\n billing_details: {\n name: '',\n phone: '',\n email: '',\n ...this.get_billing_details()\n }\n }\n }).then(response => {\n if (response.error) {\n return this.submit_error(response.error);\n }\n if (this.is_current_page('order_pay')) {\n this.set_nonce(response.paymentMethod.id);\n this.process_order_pay();\n } else {\n this.on_token_received(response.paymentMethod);\n }\n }).catch((error) => {\n if (error?.message && error.message.indexOf('fields.billing_details') > -1) {\n if (error.message.indexOf('fields.billing_details.phone') > -1) {\n return this.submit_error({code: 'billing_details.phone.required'});\n }\n return this.submit_error({code: 'required_fields'});\n }\n return this.submit_error(error);\n });\n } else {\n if (this.isSetupMode()) {\n if (this.shouldCreatePaymentMethod() && !this.validateCheckoutFields()) {\n return this.submit_error(this.validationErrors);\n }\n if (!this.setupIntent) {\n await this.initializeSetupIntent(true);\n }\n\n if (this.setupIntent.status !== 'succeeded') {\n return this.processSetupIntent({\n client_secret: this.setupIntent.client_secret,\n confirmParams: this.params.confirmParams\n });\n }\n }\n if (this.is_current_page('order_pay')) {\n return this.process_order_pay();\n }\n this.payment_token_received = true;\n this.get_form().trigger('submit');\n }\n }).catch(error => {\n this.enable_payment_button();\n return this.submit_error(error);\n }).finally(() => {\n this.enable_payment_button();\n });\n }\n }\n }\n\n on_token_received(paymentMethod) {\n this.payment_token_received = true;\n this.set_nonce(paymentMethod.id);\n this.setPaymentMethodType(paymentMethod.type);\n this.get_form().trigger('submit');\n }\n\n setPaymentMethodType(type) {\n $('#_stripe_payment_method_type').val(type);\n }\n\n handle_next_action(data) {\n if (data.type === 'payment_intent') {\n this.processPaymentIntent(data);\n } else {\n this.processSetupIntent(data);\n }\n }\n\n processPaymentIntent(data) {\n this.stripe.confirmPayment({\n ...(!this.is_saved_method_selected() && {\n elements: this.elements\n }),\n clientSecret: data.client_secret,\n redirect: 'if_required',\n confirmParams: {\n return_url: data.return_url,\n payment_method_data: {\n billing_details: data.billing_details || this.get_billing_details()\n },\n ...(data.confirmation_args && data.confirmation_args)\n }\n }).then(response => {\n if (response.error) {\n this.payment_token_received = false;\n return this.submit_error(response.error);\n }\n let redirect = decodeURI(data.return_url);\n redirect += '&' + $.param({\n '_stripe_local_payment': this.gateway_id,\n payment_intent: response.paymentIntent.id,\n payment_intent_client_secret: response.paymentIntent.client_secret\n });\n\n if (['promptpay', 'swish', 'paynow', 'cashapp'].includes(this.paymentMethodType)) {\n if (response.paymentIntent.status === 'requires_action') {\n return this.get_form().unblock().removeClass('processing');\n }\n if (response.paymentIntent.status === 'requires_payment_method') {\n this.get_form().unblock().removeClass('processing');\n return this.submit_error({code: response.paymentIntent.last_payment_error.code});\n }\n }\n\n window.location.href = redirect;\n }).catch(error => {\n return this.submit_error(error);\n })\n }\n\n processSetupIntent(data = null) {\n return this.stripe.confirmSetup({\n elements: this.elements,\n clientSecret: data.client_secret,\n redirect: 'if_required',\n ...(data && {\n confirmParams: {\n ...(data.return_url && {\n return_url: data.return_url\n }),\n payment_method_data: {\n billing_details: this.get_billing_details()\n },\n ...(data.confirmParams && data.confirmParams)\n }\n })\n }).then(response => {\n if (response.error) {\n this.payment_token_received = false;\n return this.submit_error(response.error);\n }\n this.setupIntent = response.setupIntent;\n this.payment_token_received = true;\n this.set_nonce(response.setupIntent.payment_method);\n this.set_intent(response.setupIntent.id);\n\n this.get_form().trigger('submit');\n }).catch(error => {\n return this.submit_error(error);\n });\n }\n\n handleInstallments() {\n if (this.installmentsEnabled()) {\n this.maybeShowInstallments();\n if (this.paymentElementComplete && this.isCardPaymentType()) {\n this.initializeInstallments();\n }\n }\n }\n\n isCardPaymentType() {\n return this.paymentMethodType === 'card';\n }\n\n maybeShowInstallments() {\n if (this.is_saved_method_selected()) {\n if (this.savedPaymentTokenGatewayId === 'stripe_cc') {\n this.showInstallments();\n } else {\n this.hideInstallments();\n }\n } else {\n if (this.isCardPaymentType()) {\n this.showInstallments();\n } else {\n this.hideInstallments();\n }\n }\n }\n\n showInstallments() {\n $(this.container).find('.wc-stripe-installment-container').show();\n }\n\n hideInstallments() {\n $(this.container).find('.wc-stripe-installment-container').hide();\n }\n\n installmentsEnabled() {\n if (this.has_gateway_data()) {\n const data = this.get_gateway_data();\n return !!data?.installments?.enabled;\n }\n return false;\n }\n\n maybeInitializeInstallments() {\n if (this.installmentsEnabled() && this.is_saved_method_selected()) {\n this.savedPaymentTokenGatewayId = $(`${this.saved_method_selector} option:selected`).data('gateway');\n if (this.savedPaymentTokenGatewayId === 'stripe_cc') {\n this.initializeInstallments(this.get_selected_payment_method());\n }\n this.maybeShowInstallments();\n }\n }\n\n async initializeInstallments(paymentMethodId = null) {\n if (paymentMethodId) {\n this.showInstallmentLoader();\n try {\n await this.fetchInstallmentPlans(paymentMethodId);\n } catch (error) {\n console.log(error);\n } finally {\n this.hideInstallmentLoader();\n }\n } else {\n try {\n await this.elements.submit();\n const response = await this.stripe.createPaymentMethod({\n elements: this.elements,\n params: {\n billing_details: this.get_billing_details()\n }\n });\n if (!response.error) {\n await this.initializeInstallments(response.paymentMethod.id);\n }\n } catch (error) {\n this.hideInstallmentLoader();\n } finally {\n }\n }\n }\n\n fetchPaymentIntent(paymentMethodId) {\n return new Promise((resolve, reject) => {\n let url = this.params.routes.create_payment_intent;\n let order_pay = false;\n if (this.is_current_page('order_pay')) {\n url = this.params.routes.order_create_payment_intent;\n order_pay = true;\n }\n $.ajax({\n url: url,\n method: 'POST',\n dataType: 'json',\n data: !order_pay ? {\n ...this.serialize_fields(),\n payment_method_id: paymentMethodId,\n payment_method: 'stripe_cc',\n page_id: this.get_page()\n } : {\n payment_method_id: paymentMethodId,\n payment_method: 'stripe_cc',\n order_id: this.get_gateway_data().order.id,\n order_key: this.get_gateway_data().order.key\n },\n beforeSend: this.ajax_before_send.bind(this)\n }).done((response) => {\n if (response.code) {\n reject(response);\n } else {\n resolve(response);\n }\n }).fail((xhr) => {\n reject()\n });\n })\n }\n\n async fetchInstallmentPlans(paymentMethodId) {\n try {\n const response = await this.fetchPaymentIntent(paymentMethodId);\n if (response.installments_html) {\n $('.wc-stripe-installment-container').replaceWith(response.installments_html);\n }\n } catch (error) {\n return this.submit_error(error);\n }\n }\n\n showInstallmentLoader() {\n $('.wc-stripe-installment-options').addClass('loading-installments');\n const $option = $('[name=\"_stripe_installment_plan\"] option:selected').eq(0);\n $option.text(this.params.installments.loading);\n $('.wc-stripe-installment-loader').show();\n }\n\n hideInstallmentLoader() {\n $('.wc-stripe-installment-options').removeClass('loading-installments');\n $('.wc-stripe-installment-loader').hide();\n }\n\n initializeSetupIntent(throwError = false) {\n if (this.isSetupMode() && !this.setupIntent) {\n return this.create_setup_intent({context: this.get_page()}).then(response => {\n if (response.intent) {\n this.setupIntent = response.intent;\n }\n }).catch(error => {\n if (throwError) {\n throw error;\n }\n });\n }\n }\n\n show_payment_button() {\n this.show_place_order();\n }\n\n hide_place_order() {\n }\n\n onFieldChange(e) {\n if (this.paymentElement) {\n this.paymentElement.update({\n defaultValues: {\n billingDetails: {\n name: $('#billing_first_name').val() + ' ' + $('#billing_last_name').val(),\n email: $('#billing_email').val(),\n phone: $('#billing_phone').val()\n }\n }\n })\n }\n }\n\n validateCheckoutFields() {\n this.validationErrors = [];\n if (this.validationErrors.length === 0 && $('[name=\"terms\"]').length && $('[name=\"terms\"]').is(':visible')) {\n if (!$('[name=\"terms\"]').is(':checked')) {\n this.validationErrors.push(this.params.messages.terms);\n }\n }\n return this.validationErrors.length === 0;\n }\n\n validateAddressFields() {\n const requiredFields = $('form.checkout .validate-required').filter(':visible');\n // loop through the required fields\n for (const field of requiredFields) {\n const $input = $(field).find('input.input-text');\n if ($input.attr('name') === 'terms') {\n continue;\n }\n if ($input.attr('type') === 'checkbox') {\n if (!$input.is(':checked')) {\n this.validationErrors.push(this.getRequiredFieldError($input));\n }\n } else if ($input.val() === '') {\n this.validationErrors.push(this.getRequiredFieldError($input));\n }\n }\n }\n\n getRequiredFieldError($input) {\n const name = $input.attr('name');\n if (name in wc_stripe_checkout_fields && wc_stripe_checkout_fields[name].label) {\n let label = wc_stripe_checkout_fields[name].label;\n const match = name.match(/^(billing)|^(shipping)/);\n if (match && match[0]) {\n const prefix = `${match[0]}_label`;\n label = wc_stripe_messages[prefix].replace('%s', label);\n }\n return wc_stripe_messages.required_field.replace('%s', `${label}`)\n }\n }\n\n onCreateAccountChange() {\n if ($('#createaccount').length) {\n if ($('#createaccount').is(':checked') && ['card', 'link', 'sepa', 'us_bank_account', 'ideal'].includes(this.paymentMethodType)) {\n this.show_save_card();\n } else {\n this.hide_save_card();\n }\n }\n }\n\n onChangeSavePayment(e) {\n const $el = $(e.currentTarget);\n let mode = this.params.elementOptions.mode;\n if ($el.is(':checked')) {\n mode = 'subscription';\n } else {\n mode = 'payment';\n }\n if (this.elements && mode !== this.params.elementOptions.mode) {\n this.params.elementOptions.mode = mode;\n this.elements.update({mode});\n }\n }\n\n process_order_pay(e = null) {\n if (this.is_gateway_selected() && !this.is_saved_method_selected()) {\n if (e) {\n e.preventDefault();\n }\n return super.process_order_pay(e);\n }\n }\n\n onPaymentElementLoadError(event) {\n const {error = null} = event;\n if (error) {\n console.log(`${this.gateway_id} could not load: Reason: `, error.message);\n }\n }\n\n}\n\nexport default CheckoutGateway;","export {default as CheckoutGateway} from './checkout-gateway';\nexport {default as LocalCheckoutGateway} from './local-checkout-gateway';\nexport * from './payment-methods';","import $ from 'jquery';\nimport CheckoutGateway from './checkout-gateway';\n\nclass LocalCheckoutGateway extends CheckoutGateway {\n\n constructor(...props) {\n super(...props);\n this.maybeHideGateway();\n this.processRedirectParams();\n }\n\n create_stripe_elements() {\n if (!this.elements) {\n if (this.isActive()) {\n this.elements = super.create_stripe_elements();\n } else {\n return null;\n }\n }\n return this.elements;\n }\n\n maybeHideGateway() {\n if (!this.isActive()) {\n $(this.container).hide();\n if (this.is_gateway_selected()) {\n $('li[class*=\"payment_method_stripe_\"]').filter(':visible').eq(0).find('[name=\"payment_method\"]').prop('checked', true).trigger('click');\n }\n } else {\n $(this.container).show();\n }\n }\n\n isActive() {\n return $('#wc_stripe_local_payment_' + this.gateway_id).data('active');\n }\n\n updated_checkout(e, data) {\n this.create_stripe_elements();\n this.createPaymentElement();\n super.updated_checkout(e, data);\n this.maybeHideGateway();\n }\n\n onPaymentElementLoadError(event) {\n const {error} = event;\n $(this.elementSelector).append(error.message);\n this.paymentElement = null;\n }\n\n async processRedirectParams() {\n const args = this.getHashParameterArgs();\n if (args) {\n // fetch the intent and check its status\n const {client_secret, gateway_id} = args;\n try {\n if (this.gateway_id === gateway_id || this.is_gateway_selected()) {\n const response = await this.stripe.retrievePaymentIntent(client_secret);\n if (response.paymentIntent && response.paymentIntent.status === 'requires_action') {\n if (response.paymentIntent.next_action?.type === 'redirect_to_url') {\n window.location = response.paymentIntent.next_action.redirect_to_url.url;\n }\n }\n }\n } catch (error) {\n console.log(error);\n }\n }\n }\n}\n\nexport default LocalCheckoutGateway;","const paymentMethods = {};\n\nexport const registerPaymentMethod = (paymentMethod) => {\n paymentMethods[paymentMethod.gateway_id] = paymentMethod;\n}\n\nexport const getPaymentMethods = () => paymentMethods;\n\nexport const getPaymentMethod = (id) => paymentMethods[id] ? paymentMethods[id] : null;","module.exports = window[\"jQuery\"];","module.exports = window[\"regeneratorRuntime\"];","module.exports = window[\"wc_stripe\"];","module.exports = window[\"wp\"][\"hooks\"];","// 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// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t682: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkwcStripeModules\"] = self[\"webpackChunkwcStripeModules\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [96], () => (__webpack_require__(327)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","_wcStripe","require","_jquery","_interopRequireDefault","_hooks","_debounce","_arrayLikeToArray","arr","len","length","i","arr2","Array","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","forEach","_defineProperty2","default","getOwnPropertyDescriptors","defineProperties","defineProperty","_callSuper","_getPrototypeOf2","_possibleConstructorReturn2","_isNativeReflectConstruct","Reflect","construct","constructor","Boolean","prototype","valueOf","call","Gateway","params","elementSelector","this","BaseGateway","StripeCheckoutGateway","assign","CheckoutGateway","_Gateway","_this","_classCallCheck2","setupIntent","paymentMethodType","paymentElementComplete","_inherits2","_createClass2","key","value","window","addEventListener","handleHashChange","bind","$","document","body","on","handlePlaceOrder","concat","gateway_id","debounce","maybeInitializeInstallments","onFieldChange","onCreateAccountChange","onChangeSavePayment","createPaymentElement","mountPaymentElement","initializeSetupIntent","prop","elements","paymentElement","create","fields","billingDetails","is_current_page","address","name","email","phone","wallets","applePay","googlePay","defaultValues","get","paymentElementOptions","onPaymentElementChange","onPaymentElementLoadError","unmount","mount","error","elementOptions","mode","applyFilters","includes","options","isPaymentMode","isSubscriptionMode","amount","currency","toLowerCase","data","has_gateway_data","get_currency","get_total_price_cents","updatePaymentElement","handleInstallments","event","_event$value","_event$complete","complete","type","setPaymentMethodType","_data$fragments","undefined","fragments","JSON","parse","atob","decodeURIComponent","update","get_element_options","match","location","hash","args","obj","hasOwnProperty","is_gateway_selected","history","pushState","pathname","processPaymentIntent","processSetupIntent","err","_this2","is_saved_method_selected","preventDefault","disable_payment_button","syncCheckoutFieldsWithDOM","submit","then","_ref","_asyncToGenerator2","_regenerator","mark","_callee","response","wrap","_context","prev","next","abrupt","submit_error","shouldCreatePaymentMethod","validateCheckoutFields","validationErrors","stripe","createPaymentMethod","billing_details","get_billing_details","set_nonce","paymentMethod","id","process_order_pay","on_token_received","catch","message","indexOf","code","isSetupMode","status","client_secret","confirmParams","payment_token_received","get_form","trigger","stop","_x","enable_payment_button","finally","val","_this3","confirmPayment","clientSecret","redirect","return_url","payment_method_data","confirmation_args","decodeURI","param","payment_intent","paymentIntent","payment_intent_client_secret","unblock","removeClass","last_payment_error","href","_this4","confirmSetup","payment_method","set_intent","installmentsEnabled","maybeShowInstallments","isCardPaymentType","initializeInstallments","savedPaymentTokenGatewayId","showInstallments","hideInstallments","container","find","show","hide","_data$installments","get_gateway_data","installments","enabled","saved_method_selector","get_selected_payment_method","_initializeInstallments","_callee2","paymentMethodId","_args2","_context2","showInstallmentLoader","fetchInstallmentPlans","t0","console","log","hideInstallmentLoader","finish","sent","t1","_this5","Promise","resolve","reject","url","routes","create_payment_intent","order_pay","order_create_payment_intent","ajax","method","dataType","payment_method_id","order_id","order","order_key","serialize_fields","page_id","get_page","beforeSend","ajax_before_send","done","fail","xhr","_fetchInstallmentPlans","_callee3","_context3","fetchPaymentIntent","installments_html","replaceWith","_x2","addClass","eq","text","loading","_this6","throwError","create_setup_intent","context","intent","show_place_order","is","messages","terms","_step","_iterator","allowArrayLike","it","Symbol","iterator","isArray","minLen","n","toString","slice","from","test","_unsupportedIterableToArray","F","s","_e","f","TypeError","normalCompletion","didErr","step","_e2","return","_createForOfIteratorHelper","field","$input","attr","getRequiredFieldError","wc_stripe_checkout_fields","label","prefix","wc_stripe_messages","replace","required_field","show_save_card","hide_save_card","$el","currentTarget","_get2","_event$error","exports","_checkoutGateway","_localCheckoutGateway","_paymentMethods","_exportNames","LocalCheckoutGateway","_CheckoutGateway","_len","props","_key","maybeHideGateway","processRedirectParams","isActive","create_stripe_elements","append","_processRedirectParams","_response$paymentInte","getHashParameterArgs","retrievePaymentIntent","next_action","redirect_to_url","paymentMethods","module","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","m","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","every","splice","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}